diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..315874f --- /dev/null +++ b/.gitignore @@ -0,0 +1,44 @@ +# Dependencies +node_modules +.pnp +.pnp.js + +# Build outputs +dist +.next +.turbo + +# Testing +coverage + +# Environment +.env +.env.local +.env.development.local +.env.test.local +.env.production.local + +# IDE +.idea +.vscode +*.swp +*.swo + +# OS +.DS_Store +Thumbs.db + +# Debug +npm-debug.log* +yarn-debug.log* +yarn-error.log* + +# Expo +*.expo +*.jks +*.p8 +*.p12 +*.key +*.mobileprovision +*.orig.* +web-build/ diff --git a/.next/dev/static/chunks/[next]_internal_font_google_geist_a71539c9_module_css_bad6b30c._.single.css b/.next/dev/static/chunks/[next]_internal_font_google_geist_a71539c9_module_css_bad6b30c._.single.css deleted file mode 100644 index 47a6c7b..0000000 --- a/.next/dev/static/chunks/[next]_internal_font_google_geist_a71539c9_module_css_bad6b30c._.single.css +++ /dev/null @@ -1,47 +0,0 @@ -/* [next]/internal/font/google/geist_a71539c9.module.css [app-client] (css) */ -@font-face { - font-family: Geist; - font-style: normal; - font-weight: 100 900; - font-display: swap; - src: url("../media/8a480f0b521d4e75-s.8e0177b5.woff2") format("woff2"); - unicode-range: U+301, U+400-45F, U+490-491, U+4B0-4B1, U+2116; -} - -@font-face { - font-family: Geist; - font-style: normal; - font-weight: 100 900; - font-display: swap; - src: url("../media/7178b3e590c64307-s.b97b3418.woff2") format("woff2"); - unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; -} - -@font-face { - font-family: Geist; - font-style: normal; - font-weight: 100 900; - font-display: swap; - src: url("../media/caa3a2e1cccd8315-s.p.853070df.woff2") format("woff2"); - unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; -} - -@font-face { - font-family: Geist Fallback; - src: local(Arial); - ascent-override: 95.94%; - descent-override: 28.16%; - line-gap-override: 0.0%; - size-adjust: 104.76%; -} - -.geist_a71539c9-module__T19VSG__className { - font-family: Geist, Geist Fallback; - font-style: normal; -} - -.geist_a71539c9-module__T19VSG__variable { - --font-geist-sans: "Geist", "Geist Fallback"; -} - -/*# sourceMappingURL=%5Bnext%5D_internal_font_google_geist_a71539c9_module_css_bad6b30c._.single.css.map*/ \ No newline at end of file diff --git a/.next/dev/static/chunks/[next]_internal_font_google_geist_a71539c9_module_css_bad6b30c._.single.css.map b/.next/dev/static/chunks/[next]_internal_font_google_geist_a71539c9_module_css_bad6b30c._.single.css.map deleted file mode 100644 index ec55474..0000000 --- a/.next/dev/static/chunks/[next]_internal_font_google_geist_a71539c9_module_css_bad6b30c._.single.css.map +++ /dev/null @@ -1,6 +0,0 @@ -{ - "version": 3, - "sources": [], - "sections": [ - {"offset": {"line": 1, "column": 0}, "map": {"version":3,"sources":["turbopack:///[next]/internal/font/google/geist_a71539c9.module.css"],"sourcesContent":["/* cyrillic */\n@font-face {\n font-family: 'Geist';\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(@vercel/turbopack-next/internal/font/google/font?{%22url%22:%22https://fonts.gstatic.com/s/geist/v4/gyByhwUxId8gMEwYGFWNOITddY4.woff2%22,%22preload%22:false,%22has_size_adjust%22:true}) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist';\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(@vercel/turbopack-next/internal/font/google/font?{%22url%22:%22https://fonts.gstatic.com/s/geist/v4/gyByhwUxId8gMEwSGFWNOITddY4.woff2%22,%22preload%22:false,%22has_size_adjust%22:true}) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist';\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(@vercel/turbopack-next/internal/font/google/font?{%22url%22:%22https://fonts.gstatic.com/s/geist/v4/gyByhwUxId8gMEwcGFWNOITd.woff2%22,%22preload%22:true,%22has_size_adjust%22:true}) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n@font-face {\n font-family: 'Geist Fallback';\n src: local(\"Arial\");\n ascent-override: 95.94%;\ndescent-override: 28.16%;\nline-gap-override: 0.00%;\nsize-adjust: 104.76%;\n\n}\n.className {\n font-family: 'Geist', 'Geist Fallback';\n font-style: normal;\n\n}\n.variable {\n --font-geist-sans: 'Geist', 'Geist Fallback';\n}\n"],"names":[],"mappings":"AACA;;;;;;;;;AASA;;;;;;;;;AASA;;;;;;;;;AAQA;;;;;;;;;AASA;;;;;AAKA","ignoreList":[0]}}] -} \ No newline at end of file diff --git a/.next/dev/static/chunks/[next]_internal_font_google_geist_mono_8d43a2aa_module_css_bad6b30c._.single.css b/.next/dev/static/chunks/[next]_internal_font_google_geist_mono_8d43a2aa_module_css_bad6b30c._.single.css deleted file mode 100644 index 665b9e5..0000000 --- a/.next/dev/static/chunks/[next]_internal_font_google_geist_mono_8d43a2aa_module_css_bad6b30c._.single.css +++ /dev/null @@ -1,47 +0,0 @@ -/* [next]/internal/font/google/geist_mono_8d43a2aa.module.css [app-client] (css) */ -@font-face { - font-family: Geist Mono; - font-style: normal; - font-weight: 100 900; - font-display: swap; - src: url("../media/4fa387ec64143e14-s.c1fdd6c2.woff2") format("woff2"); - unicode-range: U+301, U+400-45F, U+490-491, U+4B0-4B1, U+2116; -} - -@font-face { - font-family: Geist Mono; - font-style: normal; - font-weight: 100 900; - font-display: swap; - src: url("../media/bbc41e54d2fcbd21-s.799d8ef8.woff2") format("woff2"); - unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; -} - -@font-face { - font-family: Geist Mono; - font-style: normal; - font-weight: 100 900; - font-display: swap; - src: url("../media/797e433ab948586e-s.p.dbea232f.woff2") format("woff2"); - unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; -} - -@font-face { - font-family: Geist Mono Fallback; - src: local(Arial); - ascent-override: 74.67%; - descent-override: 21.92%; - line-gap-override: 0.0%; - size-adjust: 134.59%; -} - -.geist_mono_8d43a2aa-module__8Li5zG__className { - font-family: Geist Mono, Geist Mono Fallback; - font-style: normal; -} - -.geist_mono_8d43a2aa-module__8Li5zG__variable { - --font-geist-mono: "Geist Mono", "Geist Mono Fallback"; -} - -/*# sourceMappingURL=%5Bnext%5D_internal_font_google_geist_mono_8d43a2aa_module_css_bad6b30c._.single.css.map*/ \ No newline at end of file diff --git a/.next/dev/static/chunks/[next]_internal_font_google_geist_mono_8d43a2aa_module_css_bad6b30c._.single.css.map b/.next/dev/static/chunks/[next]_internal_font_google_geist_mono_8d43a2aa_module_css_bad6b30c._.single.css.map deleted file mode 100644 index 607a417..0000000 --- a/.next/dev/static/chunks/[next]_internal_font_google_geist_mono_8d43a2aa_module_css_bad6b30c._.single.css.map +++ /dev/null @@ -1,6 +0,0 @@ -{ - "version": 3, - "sources": [], - "sections": [ - {"offset": {"line": 1, "column": 0}, "map": {"version":3,"sources":["turbopack:///[next]/internal/font/google/geist_mono_8d43a2aa.module.css"],"sourcesContent":["/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(@vercel/turbopack-next/internal/font/google/font?{%22url%22:%22https://fonts.gstatic.com/s/geistmono/v4/or3nQ6H-1_WfwkMZI_qYFrMdmhHkjkotbA.woff2%22,%22preload%22:false,%22has_size_adjust%22:true}) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(@vercel/turbopack-next/internal/font/google/font?{%22url%22:%22https://fonts.gstatic.com/s/geistmono/v4/or3nQ6H-1_WfwkMZI_qYFrkdmhHkjkotbA.woff2%22,%22preload%22:false,%22has_size_adjust%22:true}) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(@vercel/turbopack-next/internal/font/google/font?{%22url%22:%22https://fonts.gstatic.com/s/geistmono/v4/or3nQ6H-1_WfwkMZI_qYFrcdmhHkjko.woff2%22,%22preload%22:true,%22has_size_adjust%22:true}) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n@font-face {\n font-family: 'Geist Mono Fallback';\n src: local(\"Arial\");\n ascent-override: 74.67%;\ndescent-override: 21.92%;\nline-gap-override: 0.00%;\nsize-adjust: 134.59%;\n\n}\n.className {\n font-family: 'Geist Mono', 'Geist Mono Fallback';\n font-style: normal;\n\n}\n.variable {\n --font-geist-mono: 'Geist Mono', 'Geist Mono Fallback';\n}\n"],"names":[],"mappings":"AACA;;;;;;;;;AASA;;;;;;;;;AASA;;;;;;;;;AAQA;;;;;;;;;AASA;;;;;AAKA","ignoreList":[0]}}] -} \ No newline at end of file diff --git a/.next/dev/static/chunks/[root-of-the-server]__28bc9c2a._.css b/.next/dev/static/chunks/[root-of-the-server]__28bc9c2a._.css deleted file mode 100644 index 35c339e..0000000 --- a/.next/dev/static/chunks/[root-of-the-server]__28bc9c2a._.css +++ /dev/null @@ -1,5701 +0,0 @@ -/* [next]/internal/font/google/geist_a71539c9.module.css [app-client] (css) */ -@font-face { - font-family: Geist; - font-style: normal; - font-weight: 100 900; - font-display: swap; - src: url("../media/8a480f0b521d4e75-s.8e0177b5.woff2") format("woff2"); - unicode-range: U+301, U+400-45F, U+490-491, U+4B0-4B1, U+2116; -} - -@font-face { - font-family: Geist; - font-style: normal; - font-weight: 100 900; - font-display: swap; - src: url("../media/7178b3e590c64307-s.b97b3418.woff2") format("woff2"); - unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; -} - -@font-face { - font-family: Geist; - font-style: normal; - font-weight: 100 900; - font-display: swap; - src: url("../media/caa3a2e1cccd8315-s.p.853070df.woff2") format("woff2"); - unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; -} - -@font-face { - font-family: Geist Fallback; - src: local(Arial); - ascent-override: 95.94%; - descent-override: 28.16%; - line-gap-override: 0.0%; - size-adjust: 104.76%; -} - -.geist_a71539c9-module__T19VSG__className { - font-family: Geist, Geist Fallback; - font-style: normal; -} - -.geist_a71539c9-module__T19VSG__variable { - --font-geist-sans: "Geist", "Geist Fallback"; -} - -/* [next]/internal/font/google/geist_mono_8d43a2aa.module.css [app-client] (css) */ -@font-face { - font-family: Geist Mono; - font-style: normal; - font-weight: 100 900; - font-display: swap; - src: url("../media/4fa387ec64143e14-s.c1fdd6c2.woff2") format("woff2"); - unicode-range: U+301, U+400-45F, U+490-491, U+4B0-4B1, U+2116; -} - -@font-face { - font-family: Geist Mono; - font-style: normal; - font-weight: 100 900; - font-display: swap; - src: url("../media/bbc41e54d2fcbd21-s.799d8ef8.woff2") format("woff2"); - unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; -} - -@font-face { - font-family: Geist Mono; - font-style: normal; - font-weight: 100 900; - font-display: swap; - src: url("../media/797e433ab948586e-s.p.dbea232f.woff2") format("woff2"); - unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; -} - -@font-face { - font-family: Geist Mono Fallback; - src: local(Arial); - ascent-override: 74.67%; - descent-override: 21.92%; - line-gap-override: 0.0%; - size-adjust: 134.59%; -} - -.geist_mono_8d43a2aa-module__8Li5zG__className { - font-family: Geist Mono, Geist Mono Fallback; - font-style: normal; -} - -.geist_mono_8d43a2aa-module__8Li5zG__variable { - --font-geist-mono: "Geist Mono", "Geist Mono Fallback"; -} - -/* [project]/app/globals.css [app-client] (css) */ -@layer properties { - @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) { - *, :before, :after, ::backdrop { - --tw-border-style: solid; - --tw-translate-x: 0; - --tw-translate-y: 0; - --tw-translate-z: 0; - --tw-rotate-x: initial; - --tw-rotate-y: initial; - --tw-rotate-z: initial; - --tw-skew-x: initial; - --tw-skew-y: initial; - --tw-space-y-reverse: 0; - --tw-divide-y-reverse: 0; - --tw-gradient-position: initial; - --tw-gradient-from: #0000; - --tw-gradient-via: #0000; - --tw-gradient-to: #0000; - --tw-gradient-stops: initial; - --tw-gradient-via-stops: initial; - --tw-gradient-from-position: 0%; - --tw-gradient-via-position: 50%; - --tw-gradient-to-position: 100%; - --tw-leading: initial; - --tw-font-weight: initial; - --tw-tracking: initial; - --tw-shadow: 0 0 #0000; - --tw-shadow-color: initial; - --tw-shadow-alpha: 100%; - --tw-inset-shadow: 0 0 #0000; - --tw-inset-shadow-color: initial; - --tw-inset-shadow-alpha: 100%; - --tw-ring-color: initial; - --tw-ring-shadow: 0 0 #0000; - --tw-inset-ring-color: initial; - --tw-inset-ring-shadow: 0 0 #0000; - --tw-ring-inset: initial; - --tw-ring-offset-width: 0px; - --tw-ring-offset-color: #fff; - --tw-ring-offset-shadow: 0 0 #0000; - --tw-outline-style: solid; - --tw-blur: initial; - --tw-brightness: initial; - --tw-contrast: initial; - --tw-grayscale: initial; - --tw-hue-rotate: initial; - --tw-invert: initial; - --tw-opacity: initial; - --tw-saturate: initial; - --tw-sepia: initial; - --tw-drop-shadow: initial; - --tw-drop-shadow-color: initial; - --tw-drop-shadow-alpha: 100%; - --tw-drop-shadow-size: initial; - --tw-backdrop-blur: initial; - --tw-backdrop-brightness: initial; - --tw-backdrop-contrast: initial; - --tw-backdrop-grayscale: initial; - --tw-backdrop-hue-rotate: initial; - --tw-backdrop-invert: initial; - --tw-backdrop-opacity: initial; - --tw-backdrop-saturate: initial; - --tw-backdrop-sepia: initial; - --tw-duration: initial; - --tw-ease: initial; - --tw-text-shadow-color: initial; - --tw-text-shadow-alpha: 100%; - --tw-content: ""; - --tw-scale-x: 1; - --tw-scale-y: 1; - --tw-scale-z: 1; - --radix-collapsible-content-height: 0px; - } - } -} - -@layer theme { - :root, :host { - --font-sans: var(--font-geist-sans); - --font-mono: var(--font-geist-mono); - --color-red-200: #ffcaca; - --color-red-300: #ffa3a3; - --color-amber-500: #f99c00; - --color-yellow-200: #fff085; - --color-green-100: #dcfce7; - --color-green-200: #b9f8cf; - --color-green-500: #00c758; - --color-green-800: #016630; - --color-emerald-500: #00bb7f; - --color-sky-500: #00a5ef; - --color-blue-200: #bedbff; - --color-violet-300: #c4b4ff; - --color-violet-400: #a685ff; - --color-fuchsia-500: #e12afb; - --color-neutral-100: #f5f5f5; - --color-neutral-200: #e5e5e5; - --color-neutral-300: #d4d4d4; - --color-neutral-400: #a1a1a1; - --color-neutral-500: #737373; - --color-neutral-700: #404040; - --color-neutral-800: #262626; - --color-neutral-900: #171717; - --color-black: #000; - --color-white: #fff; - --spacing: .25rem; - --breakpoint-sm: 40rem; - --container-sm: 24rem; - --container-2xl: 42rem; - --container-5xl: 64rem; - --text-xs: .75rem; - --text-xs--line-height: calc(1 / .75); - --text-sm: .875rem; - --text-sm--line-height: calc(1.25 / .875); - --text-base: 1rem; - --text-base--line-height: calc(1.5 / 1); - --text-lg: 1.125rem; - --text-lg--line-height: calc(1.75 / 1.125); - --text-xl: 1.25rem; - --text-xl--line-height: calc(1.75 / 1.25); - --text-2xl: 1.5rem; - --text-2xl--line-height: calc(2 / 1.5); - --text-3xl: 1.875rem; - --text-3xl--line-height: calc(2.25 / 1.875); - --text-4xl: 2.25rem; - --text-4xl--line-height: calc(2.5 / 2.25); - --text-5xl: 3rem; - --text-5xl--line-height: 1; - --text-6xl: 3.75rem; - --text-6xl--line-height: 1; - --text-7xl: 4.5rem; - --text-7xl--line-height: 1; - --font-weight-medium: 500; - --font-weight-semibold: 600; - --font-weight-bold: 700; - --tracking-tight: -.025em; - --leading-relaxed: 1.625; - --radius-sm: .25rem; - --radius-md: .375rem; - --radius-lg: .5rem; - --radius-xl: .75rem; - --radius-2xl: 1rem; - --radius-3xl: 1.5rem; - --animate-spin: spin 1s linear infinite; - --animate-pulse: pulse 2s cubic-bezier(.4, 0, .6, 1) infinite; - --blur-xs: 4px; - --blur-sm: 8px; - --blur-md: 12px; - --blur-lg: 16px; - --default-transition-duration: .15s; - --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1); - --default-font-family: var(--font-geist-sans); - --default-mono-font-family: var(--font-geist-mono); - --color-fd-background: #f5f5f5; - --color-fd-foreground: #0a0a0a; - --color-fd-muted: #f5f5f5; - --color-fd-muted-foreground: #737373; - --color-fd-popover: #fafafa; - --color-fd-popover-foreground: #272727; - --color-fd-card: #f1f1f1; - --color-fd-card-foreground: #0a0a0a; - --color-fd-border: #cccccc80; - --color-fd-primary: #171717; - --color-fd-primary-foreground: #fafafa; - --color-fd-secondary: #ededed; - --color-fd-secondary-foreground: #171717; - --color-fd-accent: #d1d1d180; - --color-fd-accent-foreground: #171717; - --color-fd-ring: #a3a3a3; - --color-fd-overlay: #0003; - --color-fd-info: #3080ff; - --color-fd-warning: #f99c00; - --color-fd-error: #fb2c36; - --color-fd-success: #00c758; - --color-fd-idea: #ee7e00; - --color-fd-diff-remove: #c80a641f; - --color-fd-diff-remove-symbol: #e60a64; - --color-fd-diff-add: #0eb4641a; - --color-fd-diff-add-symbol: #0ac864; - --animate-fd-fade-in: fd-fade-in .3s ease; - --animate-fd-fade-out: fd-fade-out .3s ease; - --animate-fd-dialog-in: fd-dialog-in .3s cubic-bezier(.16, 1, .3, 1); - --animate-fd-dialog-out: fd-dialog-out .3s cubic-bezier(.16, 1, .3, 1); - --animate-fd-popover-in: fd-popover-in .1s ease; - --animate-fd-popover-out: fd-popover-out .1s ease; - --animate-fd-enterFromLeft: fd-enterFromLeft .25s ease; - --animate-fd-enterFromRight: fd-enterFromRight .25s ease; - --animate-fd-sidebar-in: fd-sidebar-in .25s ease; - --animate-fd-sidebar-out: fd-sidebar-out .25s ease; - --animate-fd-exitToLeft: fd-exitToLeft .25s ease; - --animate-fd-exitToRight: fd-exitToRight .25s ease; - --animate-fd-collapsible-down: fd-collapsible-down .15s cubic-bezier(.45, 0, .55, 1); - --animate-fd-collapsible-up: fd-collapsible-up .15s cubic-bezier(.45, 0, .55, 1); - --animate-fd-accordion-down: fd-accordion-down .2s ease-out; - --animate-fd-accordion-up: fd-accordion-up .2s ease-out; - --animate-fd-nav-menu-in: fd-nav-menu-in .2s ease; - --animate-fd-nav-menu-out: fd-nav-menu-out .2s ease; - } - - @supports (color: lab(0% 0 0)) { - :root, :host { - --color-red-200: lab(86.017% 19.8815 7.75869); - --color-red-300: lab(76.5514% 36.4219 15.5335); - --color-amber-500: lab(72.7183% 31.8672 97.9407); - --color-yellow-200: lab(94.3433% -5.00426 52.9663); - --color-green-100: lab(96.186% -13.8464 6.52362); - --color-green-200: lab(92.4222% -26.4702 12.9427); - --color-green-500: lab(70.5521% -66.5147 45.8072); - --color-green-800: lab(37.4616% -36.7971 22.9692); - --color-emerald-500: lab(66.9756% -58.27 19.5419); - --color-sky-500: lab(63.3038% -18.433 -51.0407); - --color-blue-200: lab(86.15% -4.04379 -21.0797); - --color-violet-300: lab(76.7419% 18.391 -37.0706); - --color-violet-400: lab(62.8239% 34.9159 -60.0512); - --color-fuchsia-500: lab(56.4256% 83.132 -64.639); - --color-neutral-100: lab(96.52% -.0000596046 0); - --color-neutral-200: lab(90.952% -.0000596046 0); - --color-neutral-300: lab(84.92% 0 0); - --color-neutral-400: lab(66.128% -.0000298023 .0000119209); - --color-neutral-500: lab(48.496% 0 0); - --color-neutral-700: lab(27.036% 0 0); - --color-neutral-800: lab(15.204% 0 0); - --color-neutral-900: lab(7.78201% -.0000149012 0); - --color-fd-info: lab(54.1736% 13.3368 -74.6839); - --color-fd-warning: lab(72.7183% 31.8672 97.9407); - --color-fd-error: lab(55.4814% 75.0732 48.8528); - --color-fd-success: lab(70.5521% -66.5147 45.8072); - --color-fd-idea: lab(64.7587% 46.0756 133.272); - } - } -} - -@layer base { - *, :after, :before, ::backdrop { - box-sizing: border-box; - border: 0 solid; - margin: 0; - padding: 0; - } - - ::file-selector-button { - box-sizing: border-box; - border: 0 solid; - margin: 0; - padding: 0; - } - - html, :host { - -webkit-text-size-adjust: 100%; - tab-size: 4; - line-height: 1.5; - font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"); - font-feature-settings: var(--default-font-feature-settings, normal); - font-variation-settings: var(--default-font-variation-settings, normal); - -webkit-tap-highlight-color: transparent; - } - - hr { - height: 0; - color: inherit; - border-top-width: 1px; - } - - abbr:where([title]) { - -webkit-text-decoration: underline dotted; - text-decoration: underline dotted; - } - - h1, h2, h3, h4, h5, h6 { - font-size: inherit; - font-weight: inherit; - } - - a { - color: inherit; - -webkit-text-decoration: inherit; - -webkit-text-decoration: inherit; - text-decoration: inherit; - } - - b, strong { - font-weight: bolder; - } - - code, kbd, samp, pre { - font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace); - font-feature-settings: var(--default-mono-font-feature-settings, normal); - font-variation-settings: var(--default-mono-font-variation-settings, normal); - font-size: 1em; - } - - small { - font-size: 80%; - } - - sub, sup { - vertical-align: baseline; - font-size: 75%; - line-height: 0; - position: relative; - } - - sub { - bottom: -.25em; - } - - sup { - top: -.5em; - } - - table { - text-indent: 0; - border-color: inherit; - border-collapse: collapse; - } - - :-moz-focusring { - outline: auto; - } - - progress { - vertical-align: baseline; - } - - summary { - display: list-item; - } - - ol, ul, menu { - list-style: none; - } - - img, svg, video, canvas, audio, iframe, embed, object { - vertical-align: middle; - display: block; - } - - img, video { - max-width: 100%; - height: auto; - } - - button, input, select, optgroup, textarea { - font: inherit; - font-feature-settings: inherit; - font-variation-settings: inherit; - letter-spacing: inherit; - color: inherit; - opacity: 1; - background-color: #0000; - border-radius: 0; - } - - ::file-selector-button { - font: inherit; - font-feature-settings: inherit; - font-variation-settings: inherit; - letter-spacing: inherit; - color: inherit; - opacity: 1; - background-color: #0000; - border-radius: 0; - } - - :where(select:is([multiple], [size])) optgroup { - font-weight: bolder; - } - - :where(select:is([multiple], [size])) optgroup option { - padding-inline-start: 20px; - } - - ::file-selector-button { - margin-inline-end: 4px; - } - - ::placeholder { - opacity: 1; - } - - @supports (not ((-webkit-appearance: -apple-pay-button))) or (contain-intrinsic-size: 1px) { - ::placeholder { - color: currentColor; - } - - @supports (color: color-mix(in lab, red, red)) { - ::placeholder { - color: color-mix(in oklab, currentcolor 50%, transparent); - } - } - } - - textarea { - resize: vertical; - } - - ::-webkit-search-decoration { - -webkit-appearance: none; - } - - ::-webkit-date-and-time-value { - min-height: 1lh; - text-align: inherit; - } - - ::-webkit-datetime-edit { - display: inline-flex; - } - - ::-webkit-datetime-edit-fields-wrapper { - padding: 0; - } - - ::-webkit-datetime-edit { - padding-block: 0; - } - - ::-webkit-datetime-edit-year-field { - padding-block: 0; - } - - ::-webkit-datetime-edit-month-field { - padding-block: 0; - } - - ::-webkit-datetime-edit-day-field { - padding-block: 0; - } - - ::-webkit-datetime-edit-hour-field { - padding-block: 0; - } - - ::-webkit-datetime-edit-minute-field { - padding-block: 0; - } - - ::-webkit-datetime-edit-second-field { - padding-block: 0; - } - - ::-webkit-datetime-edit-millisecond-field { - padding-block: 0; - } - - ::-webkit-datetime-edit-meridiem-field { - padding-block: 0; - } - - ::-webkit-calendar-picker-indicator { - line-height: 1; - } - - :-moz-ui-invalid { - box-shadow: none; - } - - button, input:where([type="button"], [type="reset"], [type="submit"]) { - appearance: button; - } - - ::file-selector-button { - appearance: button; - } - - ::-webkit-inner-spin-button { - height: auto; - } - - ::-webkit-outer-spin-button { - height: auto; - } - - [hidden]:where(:not([hidden="until-found"])) { - display: none !important; - } - - *, :after, :before, ::backdrop { - border-color: var(--color-fd-border, currentColor); - } - - ::file-selector-button { - border-color: var(--color-fd-border, currentColor); - } - - body { - background-color: var(--color-fd-background); - color: var(--foreground); - background-color: var(--background); - } -} - -@layer components; - -@layer utilities { - .\@container { - container-type: inline-size; - } - - .pointer-events-auto { - pointer-events: auto; - } - - .pointer-events-none { - pointer-events: none; - } - - .invisible { - visibility: hidden; - } - - .visible { - visibility: visible; - } - - .fd-step:before { - background-color: var(--color-fd-secondary); - color: var(--color-fd-secondary-foreground); - content: counter(step); - counter-increment: step; - width: calc(var(--spacing) * 8); - height: calc(var(--spacing) * 8); - border-radius: 3.40282e38px; - justify-content: center; - align-items: center; - font-size: .875rem; - line-height: 1.25rem; - display: flex; - position: absolute; - inset-inline-start: calc(var(--spacing) * -4); - } - - .fd-steps { - counter-reset: step; - margin-left: calc(var(--spacing) * 2); - border-left-style: var(--tw-border-style); - padding-left: calc(var(--spacing) * 6); - border-left-width: 1px; - position: relative; - } - - @media (min-width: 40rem) { - .fd-steps { - margin-left: calc(var(--spacing) * 4); - } - - .fd-steps { - padding-left: calc(var(--spacing) * 7); - } - } - - .absolute { - position: absolute; - } - - .fixed { - position: fixed; - } - - .relative { - position: relative; - } - - .static { - position: static; - } - - .sticky { - position: sticky; - } - - .inset-0 { - inset: calc(var(--spacing) * 0); - } - - .inset-x-0 { - inset-inline: calc(var(--spacing) * 0); - } - - .inset-x-2 { - inset-inline: calc(var(--spacing) * 2); - } - - .inset-y-0 { - inset-block: calc(var(--spacing) * 0); - } - - .inset-y-2 { - inset-block: calc(var(--spacing) * 2); - } - - .start-0 { - inset-inline-start: calc(var(--spacing) * 0); - } - - .start-3 { - inset-inline-start: calc(var(--spacing) * 3); - } - - .start-4 { - inset-inline-start: calc(var(--spacing) * 4); - } - - .end-0 { - inset-inline-end: calc(var(--spacing) * 0); - } - - .end-2 { - inset-inline-end: calc(var(--spacing) * 2); - } - - .-top-1\.5 { - top: calc(var(--spacing) * -1.5); - } - - .top-\(--fd-docs-row-1\) { - top: var(--fd-docs-row-1); - } - - .top-\(--fd-docs-row-2\) { - top: var(--fd-docs-row-2); - } - - .top-\(--fd-docs-row-3\) { - top: var(--fd-docs-row-3); - } - - .top-\(--fd-top\) { - top: var(--fd-top); - } - - .top-0 { - top: calc(var(--spacing) * 0); - } - - .top-1 { - top: calc(var(--spacing) * 1); - } - - .top-1\.5 { - top: calc(var(--spacing) * 1.5); - } - - .top-1\/2 { - top: 50%; - } - - .top-2 { - top: calc(var(--spacing) * 2); - } - - .top-3 { - top: calc(var(--spacing) * 3); - } - - .top-4 { - top: calc(var(--spacing) * 4); - } - - .top-10 { - top: calc(var(--spacing) * 10); - } - - .top-\[calc\(--spacing\(4\)\+var\(--fd-docs-row-3\)\)\] { - top: calc(calc(var(--spacing) * 4) + var(--fd-docs-row-3)); - } - - .right-0 { - right: calc(var(--spacing) * 0); - } - - .right-2 { - right: calc(var(--spacing) * 2); - } - - .right-3 { - right: calc(var(--spacing) * 3); - } - - .right-4 { - right: calc(var(--spacing) * 4); - } - - .right-6 { - right: calc(var(--spacing) * 6); - } - - .right-8 { - right: calc(var(--spacing) * 8); - } - - .right-10 { - right: calc(var(--spacing) * 10); - } - - .-bottom-18 { - bottom: calc(var(--spacing) * -18); - } - - .bottom-0 { - bottom: calc(var(--spacing) * 0); - } - - .bottom-1 { - bottom: calc(var(--spacing) * 1); - } - - .bottom-1\.5 { - bottom: calc(var(--spacing) * 1.5); - } - - .bottom-4 { - bottom: calc(var(--spacing) * 4); - } - - .-left-\[81px\] { - left: -81px; - } - - .left-0 { - left: calc(var(--spacing) * 0); - } - - .left-1\/2 { - left: 50%; - } - - .left-10 { - left: calc(var(--spacing) * 10); - } - - .z-2 { - z-index: 2; - } - - .z-10 { - z-index: 10; - } - - .z-20 { - z-index: 20; - } - - .z-30 { - z-index: 30; - } - - .z-40 { - z-index: 40; - } - - .z-50 { - z-index: 50; - } - - .z-70 { - z-index: 70; - } - - .z-80 { - z-index: 80; - } - - .z-100 { - z-index: 100; - } - - .z-\[-1\] { - z-index: -1; - } - - .col-span-full { - grid-column: 1 / -1; - } - - .container { - width: 100%; - } - - @media (min-width: 40rem) { - .container { - max-width: 40rem; - } - } - - @media (min-width: 48rem) { - .container { - max-width: 48rem; - } - } - - @media (min-width: 64rem) { - .container { - max-width: 64rem; - } - } - - @media (min-width: 80rem) { - .container { - max-width: 80rem; - } - } - - @media (min-width: 96rem) { - .container { - max-width: 96rem; - } - } - - .m-0 { - margin: calc(var(--spacing) * 0); - } - - .m-2 { - margin: calc(var(--spacing) * 2); - } - - .m-5 { - margin: calc(var(--spacing) * 5); - } - - .m-10 { - margin: calc(var(--spacing) * 10); - } - - .m-auto { - margin: auto; - } - - .-mx-1 { - margin-inline: calc(var(--spacing) * -1); - } - - .-mx-px { - margin-inline: -1px; - } - - .mx-0\.5 { - margin-inline: calc(var(--spacing) * .5); - } - - .mx-2 { - margin-inline: calc(var(--spacing) * 2); - } - - .mx-4 { - margin-inline: calc(var(--spacing) * 4); - } - - .mx-5 { - margin-inline: calc(var(--spacing) * 5); - } - - .mx-auto { - margin-inline: auto; - } - - .my-0 { - margin-block: calc(var(--spacing) * 0); - } - - .my-0\! { - margin-block: calc(var(--spacing) * 0) !important; - } - - .my-1 { - margin-block: calc(var(--spacing) * 1); - } - - .my-2 { - margin-block: calc(var(--spacing) * 2); - } - - .my-4 { - margin-block: calc(var(--spacing) * 4); - } - - .my-5 { - margin-block: calc(var(--spacing) * 5); - } - - .my-6 { - margin-block: calc(var(--spacing) * 6); - } - - .my-8 { - margin-block: calc(var(--spacing) * 8); - } - - .my-auto { - margin-block: auto; - } - - .-ms-1\.5 { - margin-inline-start: calc(var(--spacing) * -1.5); - } - - .ms-2 { - margin-inline-start: calc(var(--spacing) * 2); - } - - .ms-auto { - margin-inline-start: auto; - } - - .ms-px { - margin-inline-start: 1px; - } - - .-me-0\.5 { - margin-inline-end: calc(var(--spacing) * -.5); - } - - .-me-1\.5 { - margin-inline-end: calc(var(--spacing) * -1.5); - } - - .-me-2 { - margin-inline-end: calc(var(--spacing) * -2); - } - - .me-1 { - margin-inline-end: calc(var(--spacing) * 1); - } - - .me-2 { - margin-inline-end: calc(var(--spacing) * 2); - } - - .me-auto { - margin-inline-end: auto; - } - - .prose { - color: var(--tw-prose-body); - max-width: none; - font-size: 1rem; - line-height: 1.75rem; - } - - .prose :where([class~="lead"]):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - color: var(--tw-prose-lead); - margin-top: 1.2em; - margin-bottom: 1.2em; - font-size: 1.25em; - line-height: 1.6; - } - - .prose :where(ul):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - margin-top: 1.25em; - margin-bottom: 1.25em; - padding-inline-start: 1rem; - list-style-type: disc; - } - - .prose :where(li):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - margin-top: .5em; - margin-bottom: .5em; - } - - .prose :where(ol > li):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - padding-inline-start: .375em; - } - - .prose :where(ul > li):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - padding-inline-start: 0; - } - - .prose :where(.prose > ul > li p):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - margin-top: .75em; - margin-bottom: .75em; - } - - .prose :where(.prose > ul > li > p:first-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - margin-top: 1.25em; - } - - .prose :where(.prose > ul > li > p:last-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - margin-bottom: 1.25em; - } - - .prose :where(.prose > ol > li > p:first-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - margin-top: 1.25em; - } - - .prose :where(.prose > ol > li > p:last-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - margin-bottom: 1.25em; - } - - .prose :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - margin-top: .75em; - margin-bottom: .75em; - } - - .prose :where(dl):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - margin-top: 1.25em; - margin-bottom: 1.25em; - } - - .prose :where(dt):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - color: var(--tw-prose-headings); - margin-top: 1.25em; - font-weight: 600; - } - - .prose :where(dd):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - margin-top: .5em; - padding-inline-start: 1.625em; - } - - .prose :where(hr):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - border-color: var(--tw-prose-hr); - border-top-width: 1px; - margin-top: 3em; - margin-bottom: 3em; - } - - .prose :where(p):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - margin-top: 1.25em; - margin-bottom: 1.25em; - } - - .prose :where(strong):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - color: var(--tw-prose-bold); - font-weight: 500; - } - - .prose :where(a strong):not(:where([class~="not-prose"], [class~="not-prose"] *)), .prose :where(blockquote strong):not(:where([class~="not-prose"], [class~="not-prose"] *)), .prose :where(thead th strong):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - color: inherit; - } - - .prose :where(ol):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - margin-top: 1.25em; - margin-bottom: 1.25em; - padding-inline-start: 1.625em; - list-style-type: decimal; - } - - .prose :where(ol[type="A"]):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - list-style-type: upper-alpha; - } - - .prose :where(ol[type="a"]):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - list-style-type: lower-alpha; - } - - .prose :where(ol[type="A" s]):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - list-style-type: upper-alpha; - } - - .prose :where(ol[type="a" s]):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - list-style-type: lower-alpha; - } - - .prose :where(ol[type="I"]):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - list-style-type: upper-roman; - } - - .prose :where(ol[type="i"]):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - list-style-type: lower-roman; - } - - .prose :where(ol[type="I" s]):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - list-style-type: upper-roman; - } - - .prose :where(ol[type="i" s]):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - list-style-type: lower-roman; - } - - .prose :where(ol[type="1"]):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - list-style-type: decimal; - } - - .prose :where(ol > li):not(:where([class~="not-prose"], [class~="not-prose"] *))::marker { - color: var(--tw-prose-counters); - font-weight: 400; - } - - .prose :where(ul > li):not(:where([class~="not-prose"], [class~="not-prose"] *))::marker { - color: var(--tw-prose-bullets); - } - - .prose :where(blockquote):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - color: var(--tw-prose-quotes); - border-inline-start-width: .25rem; - border-inline-start-color: var(--tw-prose-quote-borders); - quotes: "“""”""‘""’"; - margin-top: 1.6em; - margin-bottom: 1.6em; - padding-inline-start: 1em; - font-style: italic; - font-weight: 500; - } - - .prose :where(blockquote p:first-of-type):not(:where([class~="not-prose"], [class~="not-prose"] *)):before { - content: open-quote; - } - - .prose :where(blockquote p:last-of-type):not(:where([class~="not-prose"], [class~="not-prose"] *)):after { - content: close-quote; - } - - .prose :where(h1):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - color: var(--tw-prose-headings); - font-weight: 800; - font-size: var(--text-3xl); - margin-top: 0; - margin-bottom: .888889em; - line-height: 1.11111; - } - - .prose :where(h1 strong):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - color: inherit; - font-weight: 900; - } - - .prose :where(h2):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - color: var(--tw-prose-headings); - margin-top: 2em; - margin-bottom: 1em; - font-size: 1.5em; - font-weight: 600; - line-height: 1.33333; - } - - .prose :where(h2 strong):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - color: inherit; - font-weight: 800; - } - - .prose :where(h3):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - color: var(--tw-prose-headings); - margin-top: 1.6em; - margin-bottom: .6em; - font-size: 1.25em; - font-weight: 600; - line-height: 1.6; - } - - .prose :where(h3 strong):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - color: inherit; - font-weight: 700; - } - - .prose :where(h4):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - color: var(--tw-prose-headings); - margin-top: 1.5em; - margin-bottom: .5em; - font-weight: 600; - line-height: 1.5; - } - - .prose :where(h4 strong):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - color: inherit; - font-weight: 700; - } - - .prose :where(hr + *):not(:where([class~="not-prose"], [class~="not-prose"] *)), .prose :where(h2 + *):not(:where([class~="not-prose"], [class~="not-prose"] *)), .prose :where(h3 + *):not(:where([class~="not-prose"], [class~="not-prose"] *)), .prose :where(h4 + *):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - margin-top: 0; - } - - .prose :where(img):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - margin-top: 2em; - margin-bottom: 2em; - } - - .prose :where(picture):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - margin-top: 2em; - margin-bottom: 2em; - display: block; - } - - .prose :where(picture > img):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - margin-top: 0; - margin-bottom: 0; - } - - .prose :where(video):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - margin-top: 2em; - margin-bottom: 2em; - } - - .prose :where(kbd):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - padding-top: .1875em; - padding-inline-end: .375em; - padding-bottom: .1875em; - color: var(--tw-prose-kbd); - box-shadow: 0 0 0 1px var(--tw-prose-kbd-shadows), 0 3px 0 var(--tw-prose-kbd-shadows); - border-radius: .3125rem; - padding-inline-start: .375em; - font-family: inherit; - font-size: .875em; - font-weight: 500; - } - - .prose :where(code):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - border: 1px solid; - border-color: var(--color-fd-border); - background: var(--color-fd-muted); - color: var(--tw-prose-code); - border-radius: 5px; - padding: 3px; - font-size: 13px; - font-weight: 400; - } - - .prose :where(a code):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - color: inherit; - } - - .prose :where(h1 code):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - color: inherit; - font-size: var(--text-2xl); - } - - .prose :where(h2 code):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - color: inherit; - font-size: .875em; - } - - .prose :where(h3 code):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - color: inherit; - font-size: .9em; - } - - .prose :where(h4 code):not(:where([class~="not-prose"], [class~="not-prose"] *)), .prose :where(blockquote code):not(:where([class~="not-prose"], [class~="not-prose"] *)), .prose :where(thead th code):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - color: inherit; - } - - .prose :where(table):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - table-layout: auto; - border-collapse: separate; - border-spacing: 0; - background: var(--color-fd-card); - border-radius: var(--radius-lg); - border: 1px solid var(--color-fd-border); - width: 100%; - margin-top: 2em; - margin-bottom: 2em; - font-size: .875em; - line-height: 1.71429; - overflow: hidden; - } - - .prose :where(thead th):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - color: var(--tw-prose-headings); - font-weight: 600; - } - - .prose :where(figure):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - margin-top: 2em; - margin-bottom: 2em; - } - - .prose :where(figure > *):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - margin-top: 0; - margin-bottom: 0; - } - - .prose :where(figcaption):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - color: var(--tw-prose-captions); - margin-top: .857143em; - font-size: .875em; - line-height: 1.42857; - } - - .prose :where(a:not([data-card])):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - color: var(--tw-prose-links); - text-underline-offset: 3.5px; - text-decoration: underline; - -webkit-text-decoration-color: var(--color-fd-primary); - text-decoration-color: var(--color-fd-primary); - font-weight: 500; - text-decoration-thickness: 1.5px; - transition: opacity .2s; - } - - .prose :where(a:not([data-card]):hover):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - opacity: .8; - } - - .prose { - --tw-prose-body: #0a0a0ae6; - } - - @supports (color: color-mix(in lab, red, red)) { - .prose { - --tw-prose-body: color-mix(in oklab, var(--color-fd-foreground) 90%, transparent); - } - } - - .prose { - --tw-prose-headings: var(--color-fd-foreground); - --tw-prose-lead: var(--color-fd-foreground); - --tw-prose-links: var(--color-fd-foreground); - --tw-prose-bold: var(--color-fd-foreground); - --tw-prose-counters: var(--color-fd-muted-foreground); - --tw-prose-bullets: var(--color-fd-muted-foreground); - --tw-prose-hr: var(--color-fd-border); - --tw-prose-quotes: var(--color-fd-foreground); - --tw-prose-quote-borders: var(--color-fd-border); - --tw-prose-captions: var(--color-fd-foreground); - --tw-prose-code: var(--color-fd-foreground); - --tw-prose-th-borders: var(--color-fd-border); - --tw-prose-td-borders: var(--color-fd-border); - --tw-prose-kbd: var(--color-fd-foreground); - --tw-prose-kbd-shadows: #17171780; - } - - @supports (color: color-mix(in lab, red, red)) { - .prose { - --tw-prose-kbd-shadows: color-mix(in oklab, var(--color-fd-primary) 50%, transparent); - } - } - - .prose :where(.prose > :first-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - margin-top: 0; - } - - .prose :where(.prose > :last-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - margin-bottom: 0; - } - - .prose :where(th):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - text-align: start; - padding: calc(var(--spacing) * 2.5); - border-inline-start: 1px solid var(--color-fd-border); - background: var(--color-fd-muted); - } - - .prose :where(th:first-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - border-inline-start: none; - } - - .prose :where(th:not(tr:last-child *), td:not(tr:last-child *)):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - border-bottom: 1px solid var(--color-fd-border); - } - - .prose :where(td):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - text-align: start; - border-inline-start: 1px solid var(--color-fd-border); - padding: calc(var(--spacing) * 2.5); - } - - .prose :where(td:first-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - border-inline-start: none; - } - - .prose :where(tfoot th, tfoot td):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - border-top-width: 1px; - border-top-color: var(--tw-prose-th-borders); - } - - .prose :where(thead th, thead td):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - border-bottom-width: 1px; - border-bottom-color: var(--tw-prose-th-borders); - } - - .prose-no-margin > :first-child { - margin-top: 0; - } - - .prose-no-margin > :last-child { - margin-bottom: 0; - } - - .mt-1 { - margin-top: calc(var(--spacing) * 1); - } - - .mt-2 { - margin-top: calc(var(--spacing) * 2); - } - - .mt-6 { - margin-top: calc(var(--spacing) * 6); - } - - .mt-px { - margin-top: 1px; - } - - .-mb-px { - margin-bottom: -1px; - } - - .mb-0 { - margin-bottom: calc(var(--spacing) * 0); - } - - .mb-1 { - margin-bottom: calc(var(--spacing) * 1); - } - - .mb-1\.5 { - margin-bottom: calc(var(--spacing) * 1.5); - } - - .mb-2 { - margin-bottom: calc(var(--spacing) * 2); - } - - .mb-4 { - margin-bottom: calc(var(--spacing) * 4); - } - - .mb-6 { - margin-bottom: calc(var(--spacing) * 6); - } - - .mb-8 { - margin-bottom: calc(var(--spacing) * 8); - } - - .mb-10 { - margin-bottom: calc(var(--spacing) * 10); - } - - .mb-auto { - margin-bottom: auto; - } - - .ml-20 { - margin-left: calc(var(--spacing) * 20); - } - - .fd-scroll-container::-webkit-scrollbar { - width: 5px; - height: 5px; - } - - .fd-scroll-container::-webkit-scrollbar-thumb { - background: var(--color-fd-border); - border-radius: 5px; - } - - .fd-scroll-container::-webkit-scrollbar-track { - background: none; - } - - .fd-scroll-container::-webkit-scrollbar-corner { - display: none; - } - - .block { - display: block; - } - - .flex { - display: flex; - } - - .grid { - display: grid; - } - - .hidden { - display: none; - } - - .inline { - display: inline; - } - - .inline-flex { - display: inline-flex; - } - - .table { - display: table; - } - - .size-2 { - width: calc(var(--spacing) * 2); - height: calc(var(--spacing) * 2); - } - - .size-3 { - width: calc(var(--spacing) * 3); - height: calc(var(--spacing) * 3); - } - - .size-3\.5 { - width: calc(var(--spacing) * 3.5); - height: calc(var(--spacing) * 3.5); - } - - .size-4 { - width: calc(var(--spacing) * 4); - height: calc(var(--spacing) * 4); - } - - .size-4\.5 { - width: calc(var(--spacing) * 4.5); - height: calc(var(--spacing) * 4.5); - } - - .size-5 { - width: calc(var(--spacing) * 5); - height: calc(var(--spacing) * 5); - } - - .size-6\.5 { - width: calc(var(--spacing) * 6.5); - height: calc(var(--spacing) * 6.5); - } - - .size-8 { - width: calc(var(--spacing) * 8); - height: calc(var(--spacing) * 8); - } - - .size-9 { - width: calc(var(--spacing) * 9); - height: calc(var(--spacing) * 9); - } - - .size-10 { - width: calc(var(--spacing) * 10); - height: calc(var(--spacing) * 10); - } - - .size-14 { - width: calc(var(--spacing) * 14); - height: calc(var(--spacing) * 14); - } - - .size-15 { - width: calc(var(--spacing) * 15); - height: calc(var(--spacing) * 15); - } - - .size-16 { - width: calc(var(--spacing) * 16); - height: calc(var(--spacing) * 16); - } - - .size-24 { - width: calc(var(--spacing) * 24); - height: calc(var(--spacing) * 24); - } - - .size-40 { - width: calc(var(--spacing) * 40); - height: calc(var(--spacing) * 40); - } - - .size-full { - width: 100%; - height: 100%; - } - - .h-\(--fd-animated-height\) { - height: var(--fd-animated-height); - } - - .h-\(--fd-header-height\) { - height: var(--fd-header-height); - } - - .h-\(--fd-height\) { - height: var(--fd-height); - } - - .h-\(--fd-toc-popover-height\) { - height: var(--fd-toc-popover-height); - } - - .h-\(--radix-navigation-menu-viewport-height\) { - height: var(--radix-navigation-menu-viewport-height); - } - - .h-1\.5 { - height: calc(var(--spacing) * 1.5); - } - - .h-3\.5 { - height: calc(var(--spacing) * 3.5); - } - - .h-5 { - height: calc(var(--spacing) * 5); - } - - .h-6 { - height: calc(var(--spacing) * 6); - } - - .h-7 { - height: calc(var(--spacing) * 7); - } - - .h-9 { - height: calc(var(--spacing) * 9); - } - - .h-9\.5 { - height: calc(var(--spacing) * 9.5); - } - - .h-10 { - height: calc(var(--spacing) * 10); - } - - .h-14 { - height: calc(var(--spacing) * 14); - } - - .h-16 { - height: calc(var(--spacing) * 16); - } - - .h-20 { - height: calc(var(--spacing) * 20); - } - - .h-50 { - height: calc(var(--spacing) * 50); - } - - .h-56 { - height: calc(var(--spacing) * 56); - } - - .h-60 { - height: calc(var(--spacing) * 60); - } - - .h-64 { - height: calc(var(--spacing) * 64); - } - - .h-\[400px\] { - height: 400px; - } - - .h-\[600px\] { - height: 600px; - } - - .h-\[calc\(var\(--fd-docs-height\)-var\(--fd-docs-row-1\)\)\] { - height: calc(var(--fd-docs-height) - var(--fd-docs-row-1)); - } - - .h-\[calc\(var\(--fd-docs-height\)-var\(--fd-docs-row-2\)\)\] { - height: calc(var(--fd-docs-height) - var(--fd-docs-row-2)); - } - - .h-\[calc\(var\(--fd-docs-height\)-var\(--fd-docs-row-3\)\)\] { - height: calc(var(--fd-docs-height) - var(--fd-docs-row-3)); - } - - .h-fit { - height: fit-content; - } - - .h-full { - height: 100%; - } - - .h-px { - height: 1px; - } - - .max-h-\(--radix-popover-content-available-height\) { - max-height: var(--radix-popover-content-available-height); - } - - .max-h-32 { - max-height: calc(var(--spacing) * 32); - } - - .max-h-\[50vh\] { - max-height: 50vh; - } - - .max-h-\[80svh\] { - max-height: 80svh; - } - - .max-h-\[460px\] { - max-height: 460px; - } - - .max-h-\[600px\] { - max-height: 600px; - } - - .min-h-\(--fd-docs-height\) { - min-height: var(--fd-docs-height); - } - - .min-h-0 { - min-height: calc(var(--spacing) * 0); - } - - .min-h-50 { - min-height: calc(var(--spacing) * 50); - } - - .min-h-\[300px\] { - min-height: 300px; - } - - .min-h-\[350px\] { - min-height: 350px; - } - - .min-h-\[400px\] { - min-height: 400px; - } - - .min-h-full { - min-height: 100%; - } - - .min-h-screen { - min-height: 100vh; - } - - .min-h-svh { - min-height: 100svh; - } - - .w-\(--fd-sidebar-width\) { - width: var(--fd-sidebar-width); - } - - .w-\(--fd-toc-width\) { - width: var(--fd-toc-width); - } - - .w-\(--radix-popover-trigger-width\) { - width: var(--radix-popover-trigger-width); - } - - .w-0 { - width: calc(var(--spacing) * 0); - } - - .w-0\.5 { - width: calc(var(--spacing) * .5); - } - - .w-1\.5 { - width: calc(var(--spacing) * 1.5); - } - - .w-3\.5 { - width: calc(var(--spacing) * 3.5); - } - - .w-4 { - width: calc(var(--spacing) * 4); - } - - .w-5 { - width: calc(var(--spacing) * 5); - } - - .w-6 { - width: calc(var(--spacing) * 6); - } - - .w-7 { - width: calc(var(--spacing) * 7); - } - - .w-9 { - width: calc(var(--spacing) * 9); - } - - .w-10 { - width: calc(var(--spacing) * 10); - } - - .w-20 { - width: calc(var(--spacing) * 20); - } - - .w-28 { - width: calc(var(--spacing) * 28); - } - - .w-30 { - width: calc(var(--spacing) * 30); - } - - .w-40 { - width: calc(var(--spacing) * 40); - } - - .w-48 { - width: calc(var(--spacing) * 48); - } - - .w-60 { - width: calc(var(--spacing) * 60); - } - - .w-64 { - width: calc(var(--spacing) * 64); - } - - .w-72 { - width: calc(var(--spacing) * 72); - } - - .w-80 { - width: calc(var(--spacing) * 80); - } - - .w-96 { - width: calc(var(--spacing) * 96); - } - - .w-\[25\%\] { - width: 25%; - } - - .w-\[85\%\] { - width: 85%; - } - - .w-\[calc\(100\%-1rem\)\] { - width: calc(100% - 1rem); - } - - .w-fit { - width: fit-content; - } - - .w-full { - width: 100%; - } - - .w-max { - width: max-content; - } - - .w-px { - width: 1px; - } - - .w-sm { - width: var(--container-sm); - } - - .max-w-2xl { - max-width: var(--container-2xl); - } - - .max-w-30 { - max-width: calc(var(--spacing) * 30); - } - - .max-w-\[98vw\] { - max-width: 98vw; - } - - .max-w-\[240px\] { - max-width: 240px; - } - - .max-w-\[380px\] { - max-width: 380px; - } - - .max-w-\[900px\] { - max-width: 900px; - } - - .max-w-\[1200px\] { - max-width: 1200px; - } - - .max-w-\[1400px\] { - max-width: 1400px; - } - - .max-w-screen-sm { - max-width: var(--breakpoint-sm); - } - - .max-w-sm { - max-width: var(--container-sm); - } - - .min-w-0 { - min-width: calc(var(--spacing) * 0); - } - - .min-w-20 { - min-width: calc(var(--spacing) * 20); - } - - .min-w-28 { - min-width: calc(var(--spacing) * 28); - } - - .min-w-\[240px\] { - min-width: 240px; - } - - .min-w-fit { - min-width: fit-content; - } - - .min-w-full { - min-width: 100%; - } - - .flex-1 { - flex: 1; - } - - .shrink { - flex-shrink: 1; - } - - .shrink-0 { - flex-shrink: 0; - } - - .origin-\(--radix-popover-content-transform-origin\) { - transform-origin: var(--radix-popover-content-transform-origin); - } - - .origin-\[top_center\] { - transform-origin: top; - } - - .-translate-x-\(--fd-sidebar-width\) { - --tw-translate-x: calc(var(--fd-sidebar-width) * -1); - translate: var(--tw-translate-x) var(--tw-translate-y); - } - - .-translate-x-1\/2 { - --tw-translate-x: calc(calc(1 / 2 * 100%) * -1); - translate: var(--tw-translate-x) var(--tw-translate-y); - } - - .-translate-x-\[50\%\] { - --tw-translate-x: calc(50% * -1); - translate: var(--tw-translate-x) var(--tw-translate-y); - } - - .-translate-x-\[80\%\] { - --tw-translate-x: calc(80% * -1); - translate: var(--tw-translate-x) var(--tw-translate-y); - } - - .-translate-x-\[100\%\] { - --tw-translate-x: calc(100% * -1); - translate: var(--tw-translate-x) var(--tw-translate-y); - } - - .translate-x-2 { - --tw-translate-x: calc(var(--spacing) * 2); - translate: var(--tw-translate-x) var(--tw-translate-y); - } - - .translate-x-\[50\%\] { - --tw-translate-x: 50%; - translate: var(--tw-translate-x) var(--tw-translate-y); - } - - .translate-x-\[80\%\] { - --tw-translate-x: 80%; - translate: var(--tw-translate-x) var(--tw-translate-y); - } - - .translate-x-\[100\%\] { - --tw-translate-x: 100%; - translate: var(--tw-translate-x) var(--tw-translate-y); - } - - .-translate-y-1\/2 { - --tw-translate-y: calc(calc(1 / 2 * 100%) * -1); - translate: var(--tw-translate-x) var(--tw-translate-y); - } - - .-translate-y-full { - --tw-translate-y: -100%; - translate: var(--tw-translate-x) var(--tw-translate-y); - } - - .translate-y-\[10\%\] { - --tw-translate-y: 10%; - translate: var(--tw-translate-x) var(--tw-translate-y); - } - - .translate-y-\[20\%\] { - --tw-translate-y: 20%; - translate: var(--tw-translate-x) var(--tw-translate-y); - } - - .translate-y-\[25\%\] { - --tw-translate-y: 25%; - translate: var(--tw-translate-x) var(--tw-translate-y); - } - - .translate-y-full { - --tw-translate-y: 100%; - translate: var(--tw-translate-x) var(--tw-translate-y); - } - - .-rotate-90 { - rotate: -90deg; - } - - .rotate-130 { - rotate: 130deg; - } - - .rotate-180 { - rotate: 180deg; - } - - .transform { - transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, ); - } - - .animate-pulse { - animation: var(--animate-pulse); - } - - .animate-spin { - animation: var(--animate-spin); - } - - .cursor-pointer { - cursor: pointer; - } - - .scroll-m-24 { - scroll-margin: calc(var(--spacing) * 24); - } - - .scroll-m-28 { - scroll-margin: calc(var(--spacing) * 28); - } - - .scroll-mt-24 { - scroll-margin-top: calc(var(--spacing) * 24); - } - - .list-none { - list-style-type: none; - } - - .auto-cols-auto { - grid-auto-columns: auto; - } - - .auto-rows-auto { - grid-auto-rows: auto; - } - - .grid-cols-1 { - grid-template-columns: repeat(1, minmax(0, 1fr)); - } - - .grid-cols-2 { - grid-template-columns: repeat(2, minmax(0, 1fr)); - } - - .grid-cols-\[1fr\] { - grid-template-columns: 1fr; - } - - .grid-cols-\[1fr_3fr\] { - grid-template-columns: 1fr 3fr; - } - - .flex-col { - flex-direction: column; - } - - .flex-row { - flex-direction: row; - } - - .flex-row-reverse { - flex-direction: row-reverse; - } - - .flex-wrap { - flex-wrap: wrap; - } - - .items-center { - align-items: center; - } - - .items-end { - align-items: flex-end; - } - - .items-start { - align-items: flex-start; - } - - .justify-between { - justify-content: space-between; - } - - .justify-center { - justify-content: center; - } - - .justify-end { - justify-content: flex-end; - } - - .gap-0\.5 { - gap: calc(var(--spacing) * .5); - } - - .gap-1 { - gap: calc(var(--spacing) * 1); - } - - .gap-1\.5 { - gap: calc(var(--spacing) * 1.5); - } - - .gap-2 { - gap: calc(var(--spacing) * 2); - } - - .gap-2\.5 { - gap: calc(var(--spacing) * 2.5); - } - - .gap-3 { - gap: calc(var(--spacing) * 3); - } - - .gap-3\.5 { - gap: calc(var(--spacing) * 3.5); - } - - .gap-4 { - gap: calc(var(--spacing) * 4); - } - - .gap-5 { - gap: calc(var(--spacing) * 5); - } - - .gap-6 { - gap: calc(var(--spacing) * 6); - } - - .gap-10 { - gap: calc(var(--spacing) * 10); - } - - :where(.space-y-1\.5 > :not(:last-child)) { - --tw-space-y-reverse: 0; - margin-block-start: calc(calc(var(--spacing) * 1.5) * var(--tw-space-y-reverse)); - margin-block-end: calc(calc(var(--spacing) * 1.5) * calc(1 - var(--tw-space-y-reverse))); - } - - :where(.space-y-3 > :not(:last-child)) { - --tw-space-y-reverse: 0; - margin-block-start: calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse)); - margin-block-end: calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse))); - } - - :where(.space-y-4 > :not(:last-child)) { - --tw-space-y-reverse: 0; - margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse)); - margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse))); - } - - .gap-y-4 { - row-gap: calc(var(--spacing) * 4); - } - - :where(.divide-y > :not(:last-child)) { - --tw-divide-y-reverse: 0; - border-bottom-style: var(--tw-border-style); - border-top-style: var(--tw-border-style); - border-top-width: calc(1px * var(--tw-divide-y-reverse)); - border-bottom-width: calc(1px * calc(1 - var(--tw-divide-y-reverse))); - } - - :where(.divide-fd-border > :not(:last-child)) { - border-color: var(--color-fd-border); - } - - .truncate { - text-overflow: ellipsis; - white-space: nowrap; - overflow: hidden; - } - - .overflow-auto { - overflow: auto; - } - - .overflow-hidden { - overflow: hidden; - } - - .overflow-x-auto { - overflow-x: auto; - } - - .overflow-x-clip { - overflow-x: clip; - } - - .overflow-x-hidden { - overflow-x: hidden; - } - - .overflow-y-auto { - overflow-y: auto; - } - - .overflow-y-scroll { - overflow-y: scroll; - } - - .overscroll-contain { - overscroll-behavior: contain; - } - - .\!rounded-none { - border-radius: 0 !important; - } - - .rounded-2xl { - border-radius: var(--radius-2xl); - } - - .rounded-3xl { - border-radius: var(--radius-3xl); - } - - .rounded-\[4px\] { - border-radius: 4px; - } - - .rounded-\[5px\] { - border-radius: 5px; - } - - .rounded-\[12px\] { - border-radius: 12px; - } - - .rounded-\[15px\] { - border-radius: 15px; - } - - .rounded-\[inherit\] { - border-radius: inherit; - } - - .rounded-full { - border-radius: 3.40282e38px; - } - - .rounded-lg { - border-radius: var(--radius-lg); - } - - .rounded-md { - border-radius: var(--radius-md); - } - - .rounded-sm { - border-radius: var(--radius-sm); - } - - .rounded-xl { - border-radius: var(--radius-xl); - } - - .rounded-e-sm { - border-start-end-radius: var(--radius-sm); - border-end-end-radius: var(--radius-sm); - } - - .rounded-t-lg { - border-top-left-radius: var(--radius-lg); - border-top-right-radius: var(--radius-lg); - } - - .\!border-\[1px\] { - border-style: var(--tw-border-style) !important; - border-width: 1px !important; - } - - .border { - border-style: var(--tw-border-style); - border-width: 1px; - } - - .border-0 { - border-style: var(--tw-border-style); - border-width: 0; - } - - .border-s { - border-inline-start-style: var(--tw-border-style); - border-inline-start-width: 1px; - } - - .border-e { - border-inline-end-style: var(--tw-border-style); - border-inline-end-width: 1px; - } - - .border-t { - border-top-style: var(--tw-border-style); - border-top-width: 1px; - } - - .border-r { - border-right-style: var(--tw-border-style); - border-right-width: 1px; - } - - .border-b { - border-bottom-style: var(--tw-border-style); - border-bottom-width: 1px; - } - - .border-b-2 { - border-bottom-style: var(--tw-border-style); - border-bottom-width: 2px; - } - - .border-l { - border-left-style: var(--tw-border-style); - border-left-width: 1px; - } - - .\!border-neutral-200 { - border-color: var(--color-neutral-200) !important; - } - - .border-black\/5 { - border-color: #0000000d; - } - - @supports (color: color-mix(in lab, red, red)) { - .border-black\/5 { - border-color: color-mix(in oklab, var(--color-black) 5%, transparent); - } - } - - .border-black\/10 { - border-color: #0000001a; - } - - @supports (color: color-mix(in lab, red, red)) { - .border-black\/10 { - border-color: color-mix(in oklab, var(--color-black) 10%, transparent); - } - } - - .border-black\/30 { - border-color: #0000004d; - } - - @supports (color: color-mix(in lab, red, red)) { - .border-black\/30 { - border-color: color-mix(in oklab, var(--color-black) 30%, transparent); - } - } - - .border-black\/50 { - border-color: #00000080; - } - - @supports (color: color-mix(in lab, red, red)) { - .border-black\/50 { - border-color: color-mix(in oklab, var(--color-black) 50%, transparent); - } - } - - .border-fd-border { - border-color: var(--color-fd-border); - } - - .border-fd-foreground\/10 { - border-color: #0a0a0a1a; - } - - @supports (color: color-mix(in lab, red, red)) { - .border-fd-foreground\/10 { - border-color: color-mix(in oklab, var(--color-fd-foreground) 10%, transparent); - } - } - - .border-fd-primary { - border-color: var(--color-fd-primary); - } - - .border-green-200 { - border-color: var(--color-green-200); - } - - .border-neutral-200 { - border-color: var(--color-neutral-200); - } - - .border-neutral-300 { - border-color: var(--color-neutral-300); - } - - .border-neutral-300\/50 { - border-color: #d4d4d480; - } - - @supports (color: color-mix(in lab, red, red)) { - .border-neutral-300\/50 { - border-color: color-mix(in oklab, var(--color-neutral-300) 50%, transparent); - } - } - - .border-transparent { - border-color: #0000; - } - - .bg-\(--callout-color\)\/50 { - background-color: var(--callout-color); - } - - @supports (color: color-mix(in lab, red, red)) { - .bg-\(--callout-color\)\/50 { - background-color: color-mix(in oklab, var(--callout-color) 50%, transparent); - } - } - - .bg-\(--shiki-light-bg\) { - background-color: var(--shiki-light-bg); - } - - .bg-\[\#F0F0F0\] { - background-color: #f0f0f0; - } - - .bg-background { - background-color: var(--background); - } - - .bg-background\/50 { - background-color: var(--background); - } - - @supports (color: color-mix(in lab, red, red)) { - .bg-background\/50 { - background-color: color-mix(in oklab, var(--background) 50%, transparent); - } - } - - .bg-black { - background-color: var(--color-black); - } - - .bg-black\/5 { - background-color: #0000000d; - } - - @supports (color: color-mix(in lab, red, red)) { - .bg-black\/5 { - background-color: color-mix(in oklab, var(--color-black) 5%, transparent); - } - } - - .bg-black\/10 { - background-color: #0000001a; - } - - @supports (color: color-mix(in lab, red, red)) { - .bg-black\/10 { - background-color: color-mix(in oklab, var(--color-black) 10%, transparent); - } - } - - .bg-black\/80 { - background-color: #000c; - } - - @supports (color: color-mix(in lab, red, red)) { - .bg-black\/80 { - background-color: color-mix(in oklab, var(--color-black) 80%, transparent); - } - } - - .bg-blue-200 { - background-color: var(--color-blue-200); - } - - .bg-fd-accent { - background-color: var(--color-fd-accent); - } - - .bg-fd-background { - background-color: var(--color-fd-background); - } - - .bg-fd-background\/80 { - background-color: #f5f5f5cc; - } - - @supports (color: color-mix(in lab, red, red)) { - .bg-fd-background\/80 { - background-color: color-mix(in oklab, var(--color-fd-background) 80%, transparent); - } - } - - .bg-fd-border { - background-color: var(--color-fd-border); - } - - .bg-fd-card { - background-color: var(--color-fd-card); - } - - .bg-fd-foreground\/10 { - background-color: #0a0a0a1a; - } - - @supports (color: color-mix(in lab, red, red)) { - .bg-fd-foreground\/10 { - background-color: color-mix(in oklab, var(--color-fd-foreground) 10%, transparent); - } - } - - .bg-fd-muted { - background-color: var(--color-fd-muted); - } - - .bg-fd-overlay { - background-color: var(--color-fd-overlay); - } - - .bg-fd-popover { - background-color: var(--color-fd-popover); - } - - .bg-fd-popover\/60 { - background-color: #fafafa99; - } - - @supports (color: color-mix(in lab, red, red)) { - .bg-fd-popover\/60 { - background-color: color-mix(in oklab, var(--color-fd-popover) 60%, transparent); - } - } - - .bg-fd-primary { - background-color: var(--color-fd-primary); - } - - .bg-fd-primary\/10 { - background-color: #1717171a; - } - - @supports (color: color-mix(in lab, red, red)) { - .bg-fd-primary\/10 { - background-color: color-mix(in oklab, var(--color-fd-primary) 10%, transparent); - } - } - - .bg-fd-secondary { - background-color: var(--color-fd-secondary); - } - - .bg-fd-secondary\/50 { - background-color: #ededed80; - } - - @supports (color: color-mix(in lab, red, red)) { - .bg-fd-secondary\/50 { - background-color: color-mix(in oklab, var(--color-fd-secondary) 50%, transparent); - } - } - - .bg-green-100\/80 { - background-color: #dcfce7cc; - } - - @supports (color: color-mix(in lab, red, red)) { - .bg-green-100\/80 { - background-color: color-mix(in oklab, var(--color-green-100) 80%, transparent); - } - } - - .bg-green-200 { - background-color: var(--color-green-200); - } - - .bg-green-800 { - background-color: var(--color-green-800); - } - - .bg-neutral-100 { - background-color: var(--color-neutral-100); - } - - .bg-neutral-200 { - background-color: var(--color-neutral-200); - } - - .bg-neutral-200\/50 { - background-color: #e5e5e580; - } - - @supports (color: color-mix(in lab, red, red)) { - .bg-neutral-200\/50 { - background-color: color-mix(in oklab, var(--color-neutral-200) 50%, transparent); - } - } - - .bg-red-200 { - background-color: var(--color-red-200); - } - - .bg-red-300 { - background-color: var(--color-red-300); - } - - .bg-transparent { - background-color: #0000; - } - - .bg-violet-300 { - background-color: var(--color-violet-300); - } - - .bg-violet-400 { - background-color: var(--color-violet-400); - } - - .bg-white { - background-color: var(--color-white); - } - - .bg-white\/50 { - background-color: #ffffff80; - } - - @supports (color: color-mix(in lab, red, red)) { - .bg-white\/50 { - background-color: color-mix(in oklab, var(--color-white) 50%, transparent); - } - } - - .bg-yellow-200 { - background-color: var(--color-yellow-200); - } - - .bg-yellow-200\/40 { - background-color: #fff08566; - } - - @supports (color: color-mix(in lab, red, red)) { - .bg-yellow-200\/40 { - background-color: color-mix(in oklab, var(--color-yellow-200) 40%, transparent); - } - } - - .bg-gradient-to-t { - --tw-gradient-position: to top in oklab; - background-image: linear-gradient(var(--tw-gradient-stops)); - } - - .bg-\[radial-gradient\(\#e5e7eb_1px\,transparent_1px\)\] { - background-image: radial-gradient(#e5e7eb 1px, #0000 1px); - } - - .from-neutral-100 { - --tw-gradient-from: var(--color-neutral-100); - --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position)); - } - - .via-neutral-100\/40 { - --tw-gradient-via: #f5f5f566; - } - - @supports (color: color-mix(in lab, red, red)) { - .via-neutral-100\/40 { - --tw-gradient-via: color-mix(in oklab, var(--color-neutral-100) 40%, transparent); - } - } - - .via-neutral-100\/40 { - --tw-gradient-via-stops: var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position); - --tw-gradient-stops: var(--tw-gradient-via-stops); - } - - .to-transparent { - --tw-gradient-to: transparent; - --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position)); - } - - .mask-\[linear-gradient\(to_bottom\,transparent\,white_16px\,white_calc\(100\%-16px\)\,transparent\)\] { - -webkit-mask-image: linear-gradient(#0000, #fff 16px calc(100% - 16px), #0000); - mask-image: linear-gradient(#0000, #fff 16px calc(100% - 16px), #0000); - } - - .\[background-size\:16px_16px\] { - background-size: 16px 16px; - } - - .fill-\(--callout-color\) { - fill: var(--callout-color); - } - - .fill-emerald-500 { - fill: var(--color-emerald-500); - } - - .stroke-current\/25 { - stroke: currentColor; - } - - @supports (color: color-mix(in lab, red, red)) { - .stroke-current\/25 { - stroke: color-mix(in oklab, currentcolor 25%, transparent); - } - } - - .stroke-fd-foreground\/10 { - stroke: #0a0a0a1a; - } - - @supports (color: color-mix(in lab, red, red)) { - .stroke-fd-foreground\/10 { - stroke: color-mix(in oklab, var(--color-fd-foreground) 10%, transparent); - } - } - - .object-cover { - object-fit: cover; - } - - .p-0 { - padding: calc(var(--spacing) * 0); - } - - .p-0\.5 { - padding: calc(var(--spacing) * .5); - } - - .p-1 { - padding: calc(var(--spacing) * 1); - } - - .p-1\.5 { - padding: calc(var(--spacing) * 1.5); - } - - .p-2 { - padding: calc(var(--spacing) * 2); - } - - .p-3 { - padding: calc(var(--spacing) * 3); - } - - .p-4 { - padding: calc(var(--spacing) * 4); - } - - .p-5 { - padding: calc(var(--spacing) * 5); - } - - .p-8 { - padding: calc(var(--spacing) * 8); - } - - .p-10 { - padding: calc(var(--spacing) * 10); - } - - .px-1 { - padding-inline: calc(var(--spacing) * 1); - } - - .px-1\.5 { - padding-inline: calc(var(--spacing) * 1.5); - } - - .px-2 { - padding-inline: calc(var(--spacing) * 2); - } - - .px-2\.5 { - padding-inline: calc(var(--spacing) * 2.5); - } - - .px-3 { - padding-inline: calc(var(--spacing) * 3); - } - - .px-4 { - padding-inline: calc(var(--spacing) * 4); - } - - .px-5 { - padding-inline: calc(var(--spacing) * 5); - } - - .px-6 { - padding-inline: calc(var(--spacing) * 6); - } - - .px-10 { - padding-inline: calc(var(--spacing) * 10); - } - - .px-20 { - padding-inline: calc(var(--spacing) * 20); - } - - .py-0\.5 { - padding-block: calc(var(--spacing) * .5); - } - - .py-1 { - padding-block: calc(var(--spacing) * 1); - } - - .py-1\.5 { - padding-block: calc(var(--spacing) * 1.5); - } - - .py-2 { - padding-block: calc(var(--spacing) * 2); - } - - .py-2\.5 { - padding-block: calc(var(--spacing) * 2.5); - } - - .py-3 { - padding-block: calc(var(--spacing) * 3); - } - - .py-3\.5 { - padding-block: calc(var(--spacing) * 3.5); - } - - .py-5 { - padding-block: calc(var(--spacing) * 5); - } - - .py-6 { - padding-block: calc(var(--spacing) * 6); - } - - .py-10 { - padding-block: calc(var(--spacing) * 10); - } - - .py-12 { - padding-block: calc(var(--spacing) * 12); - } - - .py-px { - padding-block: 1px; - } - - .ps-1 { - padding-inline-start: calc(var(--spacing) * 1); - } - - .ps-2 { - padding-inline-start: calc(var(--spacing) * 2); - } - - .ps-2\.5 { - padding-inline-start: calc(var(--spacing) * 2.5); - } - - .ps-3 { - padding-inline-start: calc(var(--spacing) * 3); - } - - .ps-4 { - padding-inline-start: calc(var(--spacing) * 4); - } - - .ps-6 { - padding-inline-start: calc(var(--spacing) * 6); - } - - .ps-8 { - padding-inline-start: calc(var(--spacing) * 8); - } - - .pe-2 { - padding-inline-end: calc(var(--spacing) * 2); - } - - .pe-2\.5 { - padding-inline-end: calc(var(--spacing) * 2.5); - } - - .pe-4 { - padding-inline-end: calc(var(--spacing) * 4); - } - - .pt-0 { - padding-top: calc(var(--spacing) * 0); - } - - .pt-2 { - padding-top: calc(var(--spacing) * 2); - } - - .pt-3 { - padding-top: calc(var(--spacing) * 3); - } - - .pt-12 { - padding-top: calc(var(--spacing) * 12); - } - - .pt-20 { - padding-top: calc(var(--spacing) * 20); - } - - .pb-1\.5 { - padding-bottom: calc(var(--spacing) * 1.5); - } - - .pb-2 { - padding-bottom: calc(var(--spacing) * 2); - } - - .pb-5 { - padding-bottom: calc(var(--spacing) * 5); - } - - .text-center { - text-align: center; - } - - .text-end { - text-align: end; - } - - .text-start { - text-align: start; - } - - .font-mono { - font-family: var(--font-geist-mono); - } - - .text-2xl { - font-size: var(--text-2xl); - line-height: var(--tw-leading, var(--text-2xl--line-height)); - } - - .text-3xl { - font-size: var(--text-3xl); - line-height: var(--tw-leading, var(--text-3xl--line-height)); - } - - .text-4xl { - font-size: var(--text-4xl); - line-height: var(--tw-leading, var(--text-4xl--line-height)); - } - - .text-base { - font-size: var(--text-base); - line-height: var(--tw-leading, var(--text-base--line-height)); - } - - .text-lg { - font-size: var(--text-lg); - line-height: var(--tw-leading, var(--text-lg--line-height)); - } - - .text-sm { - font-size: var(--text-sm); - line-height: var(--tw-leading, var(--text-sm--line-height)); - } - - .text-xl { - font-size: var(--text-xl); - line-height: var(--tw-leading, var(--text-xl--line-height)); - } - - .text-xs { - font-size: var(--text-xs); - line-height: var(--tw-leading, var(--text-xs--line-height)); - } - - .text-\[0\.8125rem\] { - font-size: .8125rem; - } - - .text-\[0\.9375rem\] { - font-size: .9375rem; - } - - .text-\[1\.75em\] { - font-size: 1.75em; - } - - .text-\[11px\] { - font-size: 11px; - } - - .text-\[12px\] { - font-size: 12px; - } - - .leading-\[1\.05\] { - --tw-leading: 1.05; - line-height: 1.05; - } - - .leading-none { - --tw-leading: 1; - line-height: 1; - } - - .leading-relaxed { - --tw-leading: var(--leading-relaxed); - line-height: var(--leading-relaxed); - } - - .font-bold { - --tw-font-weight: var(--font-weight-bold); - font-weight: var(--font-weight-bold); - } - - .font-medium { - --tw-font-weight: var(--font-weight-medium); - font-weight: var(--font-weight-medium); - } - - .font-semibold { - --tw-font-weight: var(--font-weight-semibold); - font-weight: var(--font-weight-semibold); - } - - .tracking-tight { - --tw-tracking: var(--tracking-tight); - letter-spacing: var(--tracking-tight); - } - - .text-balance { - text-wrap: balance; - } - - .text-nowrap { - text-wrap: nowrap; - } - - .wrap-anywhere { - overflow-wrap: anywhere; - } - - .whitespace-nowrap { - white-space: nowrap; - } - - .text-\(--callout-color\) { - color: var(--callout-color); - } - - .text-amber-500 { - color: var(--color-amber-500); - } - - .text-black { - color: var(--color-black); - } - - .text-emerald-500 { - color: var(--color-emerald-500); - } - - .text-fd-accent-foreground { - color: var(--color-fd-accent-foreground); - } - - .text-fd-card { - color: var(--color-fd-card); - } - - .text-fd-card-foreground { - color: var(--color-fd-card-foreground); - } - - .text-fd-foreground { - color: var(--color-fd-foreground); - } - - .text-fd-foreground\/80 { - color: #0a0a0acc; - } - - @supports (color: color-mix(in lab, red, red)) { - .text-fd-foreground\/80 { - color: color-mix(in oklab, var(--color-fd-foreground) 80%, transparent); - } - } - - .text-fd-muted-foreground { - color: var(--color-fd-muted-foreground); - } - - .text-fd-muted-foreground\/50 { - color: #73737380; - } - - @supports (color: color-mix(in lab, red, red)) { - .text-fd-muted-foreground\/50 { - color: color-mix(in oklab, var(--color-fd-muted-foreground) 50%, transparent); - } - } - - .text-fd-popover-foreground { - color: var(--color-fd-popover-foreground); - } - - .text-fd-popover-foreground\/80 { - color: #272727cc; - } - - @supports (color: color-mix(in lab, red, red)) { - .text-fd-popover-foreground\/80 { - color: color-mix(in oklab, var(--color-fd-popover-foreground) 80%, transparent); - } - } - - .text-fd-primary { - color: var(--color-fd-primary); - } - - .text-fd-primary-foreground { - color: var(--color-fd-primary-foreground); - } - - .text-fd-primary\/50 { - color: #17171780; - } - - @supports (color: color-mix(in lab, red, red)) { - .text-fd-primary\/50 { - color: color-mix(in oklab, var(--color-fd-primary) 50%, transparent); - } - } - - .text-fd-secondary-foreground { - color: var(--color-fd-secondary-foreground); - } - - .text-foreground { - color: var(--foreground); - } - - .text-foreground\/70 { - color: var(--foreground); - } - - @supports (color: color-mix(in lab, red, red)) { - .text-foreground\/70 { - color: color-mix(in oklab, var(--foreground) 70%, transparent); - } - } - - .text-fuchsia-500 { - color: var(--color-fuchsia-500); - } - - .text-green-500 { - color: var(--color-green-500); - } - - .text-neutral-400 { - color: var(--color-neutral-400); - } - - .text-neutral-500 { - color: var(--color-neutral-500); - } - - .text-neutral-700 { - color: var(--color-neutral-700); - } - - .text-sky-500 { - color: var(--color-sky-500); - } - - .text-white { - color: var(--color-white); - } - - .line-through { - text-decoration-line: line-through; - } - - .underline { - text-decoration-line: underline; - } - - .antialiased { - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - } - - .opacity-0 { - opacity: 0; - } - - .shadow { - --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, #0000001a), 0 1px 2px -1px var(--tw-shadow-color, #0000001a); - box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow); - } - - .shadow-2xl { - --tw-shadow: 0 25px 50px -12px var(--tw-shadow-color, #00000040); - box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow); - } - - .shadow-lg { - --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, #0000001a), 0 4px 6px -4px var(--tw-shadow-color, #0000001a); - box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow); - } - - .shadow-md { - --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, #0000001a), 0 2px 4px -2px var(--tw-shadow-color, #0000001a); - box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow); - } - - .shadow-none { - --tw-shadow: 0 0 #0000; - box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow); - } - - .shadow-sm { - --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, #0000001a), 0 1px 2px -1px var(--tw-shadow-color, #0000001a); - box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow); - } - - .ring-1 { - --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor); - box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow); - } - - .shadow-black\/50 { - --tw-shadow-color: #00000080; - } - - @supports (color: color-mix(in lab, red, red)) { - .shadow-black\/50 { - --tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--color-black) 50%, transparent) var(--tw-shadow-alpha), transparent); - } - } - - .shadow-white { - --tw-shadow-color: #fff; - } - - @supports (color: color-mix(in lab, red, red)) { - .shadow-white { - --tw-shadow-color: color-mix(in oklab, var(--color-white) var(--tw-shadow-alpha), transparent); - } - } - - .ring-black\/10 { - --tw-ring-color: #0000001a; - } - - @supports (color: color-mix(in lab, red, red)) { - .ring-black\/10 { - --tw-ring-color: color-mix(in oklab, var(--color-black) 10%, transparent); - } - } - - .ring-black\/30 { - --tw-ring-color: #0000004d; - } - - @supports (color: color-mix(in lab, red, red)) { - .ring-black\/30 { - --tw-ring-color: color-mix(in oklab, var(--color-black) 30%, transparent); - } - } - - .ring-neutral-200 { - --tw-ring-color: var(--color-neutral-200); - } - - .ring-neutral-500 { - --tw-ring-color: var(--color-neutral-500); - } - - .outline { - outline-style: var(--tw-outline-style); - outline-width: 1px; - } - - .filter { - filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, ); - } - - .backdrop-blur-lg { - --tw-backdrop-blur: blur(var(--blur-lg)); - -webkit-backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, ); - backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, ); - } - - .backdrop-blur-md { - --tw-backdrop-blur: blur(var(--blur-md)); - -webkit-backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, ); - backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, ); - } - - .backdrop-blur-sm { - --tw-backdrop-blur: blur(var(--blur-sm)); - -webkit-backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, ); - backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, ); - } - - .backdrop-blur-xs { - --tw-backdrop-blur: blur(var(--blur-xs)); - -webkit-backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, ); - backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, ); - } - - .transition { - transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events; - transition-timing-function: var(--tw-ease, var(--default-transition-timing-function)); - transition-duration: var(--tw-duration, var(--default-transition-duration)); - } - - .transition-\[grid-template-columns\] { - transition-property: grid-template-columns; - transition-timing-function: var(--tw-ease, var(--default-transition-timing-function)); - transition-duration: var(--tw-duration, var(--default-transition-duration)); - } - - .transition-\[height\] { - transition-property: height; - transition-timing-function: var(--tw-ease, var(--default-transition-timing-function)); - transition-duration: var(--tw-duration, var(--default-transition-duration)); - } - - .transition-\[opacity\,translate\,color\] { - transition-property: opacity, translate, color; - transition-timing-function: var(--tw-ease, var(--default-transition-timing-function)); - transition-duration: var(--tw-duration, var(--default-transition-duration)); - } - - .transition-\[opacity\,translate\] { - transition-property: opacity, translate; - transition-timing-function: var(--tw-ease, var(--default-transition-timing-function)); - transition-duration: var(--tw-duration, var(--default-transition-duration)); - } - - .transition-\[top\,height\] { - transition-property: top, height; - transition-timing-function: var(--tw-ease, var(--default-transition-timing-function)); - transition-duration: var(--tw-duration, var(--default-transition-duration)); - } - - .transition-\[width\,height\] { - transition-property: width, height; - transition-timing-function: var(--tw-ease, var(--default-transition-timing-function)); - transition-duration: var(--tw-duration, var(--default-transition-duration)); - } - - .transition-\[width\,inset-block\,translate\,background-color\] { - transition-property: width, inset-block, translate, background-color; - transition-timing-function: var(--tw-ease, var(--default-transition-timing-function)); - transition-duration: var(--tw-duration, var(--default-transition-duration)); - } - - .transition-all { - transition-property: all; - transition-timing-function: var(--tw-ease, var(--default-transition-timing-function)); - transition-duration: var(--tw-duration, var(--default-transition-duration)); - } - - .transition-colors { - transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to; - transition-timing-function: var(--tw-ease, var(--default-transition-timing-function)); - transition-duration: var(--tw-duration, var(--default-transition-duration)); - } - - .transition-opacity { - transition-property: opacity; - transition-timing-function: var(--tw-ease, var(--default-transition-timing-function)); - transition-duration: var(--tw-duration, var(--default-transition-duration)); - } - - .transition-transform { - transition-property: transform, translate, scale, rotate; - transition-timing-function: var(--tw-ease, var(--default-transition-timing-function)); - transition-duration: var(--tw-duration, var(--default-transition-duration)); - } - - .duration-100 { - --tw-duration: .1s; - transition-duration: .1s; - } - - .duration-200 { - --tw-duration: .2s; - transition-duration: .2s; - } - - .duration-250 { - --tw-duration: .25s; - transition-duration: .25s; - } - - .duration-300 { - --tw-duration: .3s; - transition-duration: .3s; - } - - .duration-400 { - --tw-duration: .4s; - transition-duration: .4s; - } - - .ease-linear { - --tw-ease: linear; - transition-timing-function: linear; - } - - .outline-none { - --tw-outline-style: none; - outline-style: none; - } - - .select-none { - -webkit-user-select: none; - user-select: none; - } - - .\[--fd-docs-height\:100dvh\] { - --fd-docs-height: 100dvh; - } - - .\[--fd-header-height\:0px\] { - --fd-header-height: 0px; - } - - .\[--fd-layout-width\:1400px\] { - --fd-layout-width: 1400px; - } - - .\[--fd-sidebar-width\:0px\] { - --fd-sidebar-width: 0px; - } - - .\[--fd-toc-popover-height\:0px\] { - --fd-toc-popover-height: 0px; - } - - .\[--fd-toc-width\:0px\] { - --fd-toc-width: 0px; - } - - .\[grid-area\:header\] { - grid-area: header; - } - - .\[grid-area\:main\] { - grid-area: main; - } - - .\[grid-area\:sidebar\] { - grid-area: sidebar; - } - - .\[grid-area\:toc-popover\] { - grid-area: toc-popover; - } - - .\[grid-area\:toc\] { - grid-area: toc; - } - - .\[scrollbar-width\:none\] { - scrollbar-width: none; - } - - .text-shadow-2xs { - text-shadow: 0px 1px 0px var(--tw-text-shadow-color, #00000026); - } - - :is(.\*\:pointer-events-auto > *) { - pointer-events: auto; - } - - :is(.\*\:col-start-1 > *) { - grid-column-start: 1; - } - - :is(.\*\:row-start-1 > *) { - grid-row-start: 1; - } - - :is(.\*\:mx-auto > *) { - margin-inline: auto; - } - - :is(.\*\:my-auto > *) { - margin-block: auto; - } - - :is(.\*\:flex > *) { - display: flex; - } - - :is(.\*\:w-\(--fd-sidebar-width\) > *) { - width: var(--fd-sidebar-width); - } - - :is(.\*\:max-w-\(--fd-layout-width\) > *) { - max-width: var(--fd-layout-width); - } - - :is(.\*\:max-w-\[900px\] > *) { - max-width: 900px; - } - - :is(.\*\:max-w-\[1285px\] > *) { - max-width: 1285px; - } - - :is(.\*\:flex-col > *) { - flex-direction: column; - } - - :is(.\*\:border-b > *) { - border-bottom-style: var(--tw-border-style); - border-bottom-width: 1px; - } - - .not-last\:mb-2:not(:last-child) { - margin-bottom: calc(var(--spacing) * 2); - } - - @media (hover: hover) { - .group-hover\/code\:opacity-100:is(:where(.group\/code):hover *) { - opacity: 1; - } - } - - .group-data-\[state\=active\]\:bg-fd-primary:is(:where(.group)[data-state="active"] *) { - background-color: var(--color-fd-primary); - } - - .group-data-\[state\=open\]\:rotate-90:is(:where(.group)[data-state="open"] *) { - rotate: 90deg; - } - - .group-data-\[state\=open\]\:rotate-180:is(:where(.group)[data-state="open"] *) { - rotate: 180deg; - } - - @media (hover: hover) { - .peer-hover\:opacity-100:is(:where(.peer):hover ~ *) { - opacity: 1; - } - } - - .placeholder\:text-fd-muted-foreground::placeholder { - color: var(--color-fd-muted-foreground); - } - - .before\:absolute:before { - content: var(--tw-content); - position: absolute; - } - - .before\:inset-y-1:before { - content: var(--tw-content); - inset-block: calc(var(--spacing) * 1); - } - - .before\:start-2\.5:before { - content: var(--tw-content); - inset-inline-start: calc(var(--spacing) * 2.5); - } - - .before\:w-px:before { - content: var(--tw-content); - width: 1px; - } - - .before\:bg-fd-border:before { - content: var(--tw-content); - background-color: var(--color-fd-border); - } - - .before\:content-\[\'\'\]:before { - --tw-content: ""; - content: var(--tw-content); - } - - .first\:ms-0:first-child { - margin-inline-start: calc(var(--spacing) * 0); - } - - .first\:mt-0:first-child { - margin-top: calc(var(--spacing) * 0); - } - - .first\:pt-0:first-child { - padding-top: calc(var(--spacing) * 0); - } - - .last\:me-0:last-child { - margin-inline-end: calc(var(--spacing) * 0); - } - - .last\:rounded-b-xl:last-child { - border-bottom-right-radius: var(--radius-xl); - border-bottom-left-radius: var(--radius-xl); - } - - .last\:pb-0:last-child { - padding-bottom: calc(var(--spacing) * 0); - } - - :is(.\*\:last\:border-b-0 > *):last-child { - border-bottom-style: var(--tw-border-style); - border-bottom-width: 0; - } - - .empty\:mb-0:empty { - margin-bottom: calc(var(--spacing) * 0); - } - - .empty\:hidden:empty { - display: none; - } - - @media (hover: hover) { - .hover\:scale-105:hover { - --tw-scale-x: 105%; - --tw-scale-y: 105%; - --tw-scale-z: 105%; - scale: var(--tw-scale-x) var(--tw-scale-y); - } - } - - @media (hover: hover) { - .hover\:bg-black\/5:hover { - background-color: #0000000d; - } - - @supports (color: color-mix(in lab, red, red)) { - .hover\:bg-black\/5:hover { - background-color: color-mix(in oklab, var(--color-black) 5%, transparent); - } - } - } - - @media (hover: hover) { - .hover\:bg-fd-accent:hover { - background-color: var(--color-fd-accent); - } - } - - @media (hover: hover) { - .hover\:bg-fd-accent\/50:hover { - background-color: #d1d1d140; - } - - @supports (color: color-mix(in lab, red, red)) { - .hover\:bg-fd-accent\/50:hover { - background-color: color-mix(in oklab, var(--color-fd-accent) 50%, transparent); - } - } - } - - @media (hover: hover) { - .hover\:bg-fd-accent\/80:hover { - background-color: #d1d1d166; - } - - @supports (color: color-mix(in lab, red, red)) { - .hover\:bg-fd-accent\/80:hover { - background-color: color-mix(in oklab, var(--color-fd-accent) 80%, transparent); - } - } - } - - @media (hover: hover) { - .hover\:bg-fd-primary\/80:hover { - background-color: #171717cc; - } - - @supports (color: color-mix(in lab, red, red)) { - .hover\:bg-fd-primary\/80:hover { - background-color: color-mix(in oklab, var(--color-fd-primary) 80%, transparent); - } - } - } - - @media (hover: hover) { - .hover\:bg-neutral-100:hover { - background-color: var(--color-neutral-100); - } - } - - @media (hover: hover) { - .hover\:bg-neutral-200:hover { - background-color: var(--color-neutral-200); - } - } - - @media (hover: hover) { - .hover\:bg-neutral-200\/80:hover { - background-color: #e5e5e5cc; - } - - @supports (color: color-mix(in lab, red, red)) { - .hover\:bg-neutral-200\/80:hover { - background-color: color-mix(in oklab, var(--color-neutral-200) 80%, transparent); - } - } - } - - @media (hover: hover) { - .hover\:text-fd-accent-foreground:hover { - color: var(--color-fd-accent-foreground); - } - } - - @media (hover: hover) { - .hover\:text-fd-accent-foreground\/80:hover { - color: #171717cc; - } - - @supports (color: color-mix(in lab, red, red)) { - .hover\:text-fd-accent-foreground\/80:hover { - color: color-mix(in oklab, var(--color-fd-accent-foreground) 80%, transparent); - } - } - } - - @media (hover: hover) { - .hover\:text-fd-popover-foreground\/50:hover { - color: #27272780; - } - - @supports (color: color-mix(in lab, red, red)) { - .hover\:text-fd-popover-foreground\/50:hover { - color: color-mix(in oklab, var(--color-fd-popover-foreground) 50%, transparent); - } - } - } - - @media (hover: hover) { - .hover\:text-foreground:hover { - color: var(--foreground); - } - } - - @media (hover: hover) { - .hover\:text-neutral-700:hover { - color: var(--color-neutral-700); - } - } - - @media (hover: hover) { - .hover\:text-neutral-900:hover { - color: var(--color-neutral-900); - } - } - - @media (hover: hover) { - .hover\:opacity-80:hover { - opacity: .8; - } - } - - @media (hover: hover) { - .hover\:transition-none:hover { - transition-property: none; - } - } - - .focus-visible\:ring-2:focus-visible { - --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor); - box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow); - } - - .focus-visible\:ring-fd-ring:focus-visible { - --tw-ring-color: var(--color-fd-ring); - } - - .focus-visible\:outline-none:focus-visible { - --tw-outline-style: none; - outline-style: none; - } - - .focus-visible\:ring-inset:focus-visible { - --tw-ring-inset: inset; - } - - .active\:translate-x-\[96px\]:active { - --tw-translate-x: 96px; - translate: var(--tw-translate-x) var(--tw-translate-y); - } - - .active\:scale-95:active { - --tw-scale-x: 95%; - --tw-scale-y: 95%; - --tw-scale-z: 95%; - scale: var(--tw-scale-x) var(--tw-scale-y); - } - - .active\:rotate-45:active { - rotate: 45deg; - } - - .active\:bg-black\/5:active { - background-color: #0000000d; - } - - @supports (color: color-mix(in lab, red, red)) { - .active\:bg-black\/5:active { - background-color: color-mix(in oklab, var(--color-black) 5%, transparent); - } - } - - .active\:bg-neutral-100:active { - background-color: var(--color-neutral-100); - } - - .active\:text-black:active { - color: var(--color-black); - } - - .disabled\:pointer-events-none:disabled { - pointer-events: none; - } - - .disabled\:opacity-50:disabled { - opacity: .5; - } - - .has-focus-visible\:bg-fd-accent:has(:focus-visible) { - background-color: var(--color-fd-accent); - } - - .has-data-\[active\=true\]\:text-fd-primary:has([data-active="true"]) { - color: var(--color-fd-primary); - } - - :is(.\*\:has-\[\+\:last-child\[data-empty\=true\]\]\:border-b-0 > *):has( + :last-child[data-empty="true"]) { - border-bottom-style: var(--tw-border-style); - border-bottom-width: 0; - } - - .data-checked\:text-fd-accent-foreground[data-checked] { - color: var(--color-fd-accent-foreground); - } - - .data-\[active\=true\]\:bg-fd-primary\/10[data-active="true"] { - background-color: #1717171a; - } - - @supports (color: color-mix(in lab, red, red)) { - .data-\[active\=true\]\:bg-fd-primary\/10[data-active="true"] { - background-color: color-mix(in oklab, var(--color-fd-primary) 10%, transparent); - } - } - - .data-\[active\=true\]\:font-medium[data-active="true"] { - --tw-font-weight: var(--font-weight-medium); - font-weight: var(--font-weight-medium); - } - - .data-\[active\=true\]\:text-fd-primary[data-active="true"] { - color: var(--color-fd-primary); - } - - .data-\[active\=true\]\:before\:absolute[data-active="true"]:before { - content: var(--tw-content); - position: absolute; - } - - .data-\[active\=true\]\:before\:inset-y-2\.5[data-active="true"]:before { - content: var(--tw-content); - inset-block: calc(var(--spacing) * 2.5); - } - - .data-\[active\=true\]\:before\:start-2\.5[data-active="true"]:before { - content: var(--tw-content); - inset-inline-start: calc(var(--spacing) * 2.5); - } - - .data-\[active\=true\]\:before\:w-px[data-active="true"]:before { - content: var(--tw-content); - width: 1px; - } - - .data-\[active\=true\]\:before\:bg-fd-primary[data-active="true"]:before { - content: var(--tw-content); - background-color: var(--color-fd-primary); - } - - .data-\[active\=true\]\:before\:content-\[\'\'\][data-active="true"]:before { - --tw-content: ""; - content: var(--tw-content); - } - - @media (hover: hover) { - .data-\[active\=true\]\:hover\:transition-colors[data-active="true"]:hover { - transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to; - transition-timing-function: var(--tw-ease, var(--default-transition-timing-function)); - transition-duration: var(--tw-duration, var(--default-transition-duration)); - } - } - - .data-\[collapsed\=false\]\:hidden[data-collapsed="false"] { - display: none; - } - - :is(.\*\:data-\[empty\=true\]\:border-b-0 > *)[data-empty="true"] { - border-bottom-style: var(--tw-border-style); - border-bottom-width: 0; - } - - .data-\[motion\=from-end\]\:animate-fd-enterFromRight[data-motion="from-end"] { - animation: var(--animate-fd-enterFromRight); - } - - .data-\[motion\=from-start\]\:animate-fd-enterFromLeft[data-motion="from-start"] { - animation: var(--animate-fd-enterFromLeft); - } - - .data-\[motion\=to-end\]\:animate-fd-exitToRight[data-motion="to-end"] { - animation: var(--animate-fd-exitToRight); - } - - .data-\[motion\=to-start\]\:animate-fd-exitToLeft[data-motion="to-start"] { - animation: var(--animate-fd-exitToLeft); - } - - .data-\[state\=active\]\:border-fd-primary[data-state="active"] { - border-color: var(--color-fd-primary); - } - - .data-\[state\=active\]\:text-fd-primary[data-state="active"] { - color: var(--color-fd-primary); - } - - .data-\[state\=closed\]\:animate-fd-accordion-up[data-state="closed"] { - animation: var(--animate-fd-accordion-up); - } - - .data-\[state\=closed\]\:animate-fd-collapsible-up[data-state="closed"] { - animation: var(--animate-fd-collapsible-up); - } - - .data-\[state\=closed\]\:animate-fd-dialog-out[data-state="closed"] { - animation: var(--animate-fd-dialog-out); - } - - .data-\[state\=closed\]\:animate-fd-fade-out[data-state="closed"] { - animation: var(--animate-fd-fade-out); - } - - .data-\[state\=closed\]\:animate-fd-nav-menu-out[data-state="closed"] { - animation: var(--animate-fd-nav-menu-out); - } - - .data-\[state\=closed\]\:animate-fd-popover-out[data-state="closed"] { - animation: var(--animate-fd-popover-out); - } - - .data-\[state\=closed\]\:animate-fd-sidebar-out[data-state="closed"] { - animation: var(--animate-fd-sidebar-out); - } - - .data-\[state\=hidden\]\:animate-fd-fade-out[data-state="hidden"] { - animation: var(--animate-fd-fade-out); - } - - .data-\[state\=inactive\]\:hidden[data-state="inactive"] { - display: none; - } - - .data-\[state\=open\]\:animate-fd-accordion-down[data-state="open"] { - animation: var(--animate-fd-accordion-down); - } - - .data-\[state\=open\]\:animate-fd-collapsible-down[data-state="open"] { - animation: var(--animate-fd-collapsible-down); - } - - .data-\[state\=open\]\:animate-fd-dialog-in[data-state="open"] { - animation: var(--animate-fd-dialog-in); - } - - .data-\[state\=open\]\:animate-fd-fade-in[data-state="open"] { - animation: var(--animate-fd-fade-in); - } - - .data-\[state\=open\]\:animate-fd-nav-menu-in[data-state="open"] { - animation: var(--animate-fd-nav-menu-in); - } - - .data-\[state\=open\]\:animate-fd-popover-in[data-state="open"] { - animation: var(--animate-fd-popover-in); - } - - .data-\[state\=open\]\:animate-fd-sidebar-in[data-state="open"] { - animation: var(--animate-fd-sidebar-in); - } - - .data-\[state\=open\]\:bg-fd-accent[data-state="open"] { - background-color: var(--color-fd-accent); - } - - .data-\[state\=open\]\:bg-fd-accent\/50[data-state="open"] { - background-color: #d1d1d140; - } - - @supports (color: color-mix(in lab, red, red)) { - .data-\[state\=open\]\:bg-fd-accent\/50[data-state="open"] { - background-color: color-mix(in oklab, var(--color-fd-accent) 50%, transparent); - } - } - - .data-\[state\=open\]\:text-fd-accent-foreground[data-state="open"] { - color: var(--color-fd-accent-foreground); - } - - .data-\[transparent\=false\]\:bg-fd-background\/80[data-transparent="false"] { - background-color: #f5f5f5cc; - } - - @supports (color: color-mix(in lab, red, red)) { - .data-\[transparent\=false\]\:bg-fd-background\/80[data-transparent="false"] { - background-color: color-mix(in oklab, var(--color-fd-background) 80%, transparent); - } - } - - @media not (min-width: 80rem) { - .max-xl\:hidden { - display: none; - } - } - - @media not (min-width: 64rem) { - .max-lg\:flex { - display: flex; - } - } - - @media not (min-width: 64rem) { - .max-lg\:hidden { - display: none; - } - } - - @media not (min-width: 64rem) { - .max-lg\:rounded-b-2xl { - border-bottom-right-radius: var(--radius-2xl); - border-bottom-left-radius: var(--radius-2xl); - } - } - - @media not (min-width: 64rem) { - .max-lg\:shadow-lg { - --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, #0000001a), 0 4px 6px -4px var(--tw-shadow-color, #0000001a); - box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow); - } - } - - @media not (min-width: 48rem) { - .max-md\:flex { - display: flex; - } - } - - @media not (min-width: 48rem) { - .max-md\:hidden { - display: none; - } - } - - @media not (min-width: 48rem) { - .max-md\:rounded-md { - border-radius: var(--radius-md); - } - } - - @media not (min-width: 48rem) { - .max-md\:border { - border-style: var(--tw-border-style); - border-width: 1px; - } - } - - @media not (min-width: 48rem) { - .max-md\:bg-fd-secondary { - background-color: var(--color-fd-secondary); - } - } - - @media not (min-width: 48rem) { - .max-md\:p-1\.5 { - padding: calc(var(--spacing) * 1.5); - } - } - - @media not (min-width: 40rem) { - .max-sm\:mt-2 { - margin-top: calc(var(--spacing) * 2); - } - } - - @media not (min-width: 40rem) { - .max-sm\:hidden { - display: none; - } - } - - @media (min-width: 40rem) { - .sm\:mx-20 { - margin-inline: calc(var(--spacing) * 20); - } - } - - @media (min-width: 40rem) { - .sm\:hidden { - display: none; - } - } - - @media (min-width: 40rem) { - .sm\:flex-row { - flex-direction: row; - } - } - - @media (min-width: 40rem) { - .sm\:items-center { - align-items: center; - } - } - - @media (min-width: 40rem) { - .sm\:justify-end { - justify-content: flex-end; - } - } - - @media (min-width: 40rem) { - .sm\:text-2xl { - font-size: var(--text-2xl); - line-height: var(--tw-leading, var(--text-2xl--line-height)); - } - } - - @media (min-width: 40rem) { - .sm\:text-4xl { - font-size: var(--text-4xl); - line-height: var(--tw-leading, var(--text-4xl--line-height)); - } - } - - @media (min-width: 48rem) { - .md\:top-\[calc\(50\%-250px\)\] { - top: calc(50% - 250px); - } - } - - @media (min-width: 48rem) { - .md\:col-span-2 { - grid-column: span 2 / span 2; - } - } - - @media (min-width: 48rem) { - .md\:mx-auto { - margin-inline: auto; - } - } - - @media (min-width: 48rem) { - .md\:mb-auto { - margin-bottom: auto; - } - } - - @media (min-width: 48rem) { - .md\:block { - display: block; - } - } - - @media (min-width: 48rem) { - .md\:hidden { - display: none; - } - } - - @media (min-width: 48rem) { - .md\:size-5 { - width: calc(var(--spacing) * 5); - height: calc(var(--spacing) * 5); - } - } - - @media (min-width: 48rem) { - .md\:max-w-5xl { - max-width: var(--container-5xl); - } - } - - @media (min-width: 48rem) { - .md\:grid-cols-2 { - grid-template-columns: repeat(2, minmax(0, 1fr)); - } - } - - @media (min-width: 48rem) { - .md\:grid-cols-4 { - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - } - - @media (min-width: 48rem) { - .md\:grid-cols-\[1fr_1fr\] { - grid-template-columns: 1fr 1fr; - } - } - - @media (min-width: 48rem) { - .md\:gap-2 { - gap: calc(var(--spacing) * 2); - } - } - - @media (min-width: 48rem) { - .md\:gap-x-60 { - column-gap: calc(var(--spacing) * 60); - } - } - - @media (min-width: 48rem) { - .md\:p-10 { - padding: calc(var(--spacing) * 10); - } - } - - @media (min-width: 48rem) { - .md\:px-6 { - padding-inline: calc(var(--spacing) * 6); - } - } - - @media (min-width: 48rem) { - .md\:pt-8 { - padding-top: calc(var(--spacing) * 8); - } - } - - @media (min-width: 48rem) { - .md\:text-4xl { - font-size: var(--text-4xl); - line-height: var(--tw-leading, var(--text-4xl--line-height)); - } - } - - @media (min-width: 48rem) { - .md\:text-5xl { - font-size: var(--text-5xl); - line-height: var(--tw-leading, var(--text-5xl--line-height)); - } - } - - @media (min-width: 48rem) { - .md\:text-6xl { - font-size: var(--text-6xl); - line-height: var(--tw-leading, var(--text-6xl--line-height)); - } - } - - @media (min-width: 48rem) { - .has-data-\[collapsed\=true\]\:md\:flex:has([data-collapsed="true"]) { - display: flex; - } - } - - @media (min-width: 64rem) { - .lg\:mx-0 { - margin-inline: calc(var(--spacing) * 0); - } - } - - @media (min-width: 64rem) { - .lg\:mx-20 { - margin-inline: calc(var(--spacing) * 20); - } - } - - @media (min-width: 64rem) { - .lg\:hidden { - display: none; - } - } - - @media (min-width: 64rem) { - .lg\:grid-cols-3 { - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - } - - @media (min-width: 64rem) { - .lg\:flex-row { - flex-direction: row; - } - } - - @media (min-width: 64rem) { - .lg\:items-center { - align-items: center; - } - } - - @media (min-width: 64rem) { - .lg\:text-6xl { - font-size: var(--text-6xl); - line-height: var(--tw-leading, var(--text-6xl--line-height)); - } - } - - @media (min-width: 64rem) { - .lg\:text-7xl { - font-size: var(--text-7xl); - line-height: var(--tw-leading, var(--text-7xl--line-height)); - } - } - - @media (min-width: 80rem) { - .xl\:hidden { - display: none; - } - } - - @media (min-width: 80rem) { - .xl\:px-8 { - padding-inline: calc(var(--spacing) * 8); - } - } - - @media (min-width: 80rem) { - .xl\:pt-14 { - padding-top: calc(var(--spacing) * 14); - } - } - - @container not (min-width: 36rem) { - .\@max-xl\:hidden { - display: none; - } - } - - @container not (min-width: 32rem) { - .\@max-lg\:col-span-full { - grid-column: 1 / -1; - } - } - - .rtl\:-translate-x-2:where(:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi)), [dir="rtl"], [dir="rtl"] *) { - --tw-translate-x: calc(var(--spacing) * -2); - translate: var(--tw-translate-x) var(--tw-translate-y); - } - - .rtl\:translate-x-full:where(:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi)), [dir="rtl"], [dir="rtl"] *) { - --tw-translate-x: 100%; - translate: var(--tw-translate-x) var(--tw-translate-y); - } - - .rtl\:-scale-x-100:where(:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi)), [dir="rtl"], [dir="rtl"] *) { - --tw-scale-x: calc(100% * -1); - scale: var(--tw-scale-x) var(--tw-scale-y); - } - - .rtl\:rotate-180:where(:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi)), [dir="rtl"], [dir="rtl"] *) { - rotate: 180deg; - } - - .dark\:\!border-neutral-700:where(.dark, .dark *) { - border-color: var(--color-neutral-700) !important; - } - - .dark\:\!border-neutral-900:where(.dark, .dark *) { - border-color: var(--color-neutral-900) !important; - } - - .dark\:border-neutral-300:where(.dark, .dark *) { - border-color: var(--color-neutral-300); - } - - .dark\:border-neutral-700:where(.dark, .dark *) { - border-color: var(--color-neutral-700); - } - - .dark\:border-neutral-700\/50:where(.dark, .dark *) { - border-color: #40404080; - } - - @supports (color: color-mix(in lab, red, red)) { - .dark\:border-neutral-700\/50:where(.dark, .dark *) { - border-color: color-mix(in oklab, var(--color-neutral-700) 50%, transparent); - } - } - - .dark\:border-neutral-800:where(.dark, .dark *) { - border-color: var(--color-neutral-800); - } - - .dark\:border-neutral-900:where(.dark, .dark *) { - border-color: var(--color-neutral-900); - } - - .dark\:border-white\/10:where(.dark, .dark *) { - border-color: #ffffff1a; - } - - @supports (color: color-mix(in lab, red, red)) { - .dark\:border-white\/10:where(.dark, .dark *) { - border-color: color-mix(in oklab, var(--color-white) 10%, transparent); - } - } - - .dark\:bg-\(--shiki-dark-bg\):where(.dark, .dark *) { - background-color: var(--shiki-dark-bg); - } - - .dark\:bg-\[\#0c0c0c\]:where(.dark, .dark *) { - background-color: #0c0c0c; - } - - .dark\:bg-\[\#161616\]:where(.dark, .dark *) { - background-color: #161616; - } - - .dark\:bg-background\/30:where(.dark, .dark *) { - background-color: var(--background); - } - - @supports (color: color-mix(in lab, red, red)) { - .dark\:bg-background\/30:where(.dark, .dark *) { - background-color: color-mix(in oklab, var(--background) 30%, transparent); - } - } - - .dark\:bg-black:where(.dark, .dark *) { - background-color: var(--color-black); - } - - .dark\:bg-black\/50:where(.dark, .dark *) { - background-color: #00000080; - } - - @supports (color: color-mix(in lab, red, red)) { - .dark\:bg-black\/50:where(.dark, .dark *) { - background-color: color-mix(in oklab, var(--color-black) 50%, transparent); - } - } - - .dark\:bg-neutral-100:where(.dark, .dark *) { - background-color: var(--color-neutral-100); - } - - .dark\:bg-neutral-800:where(.dark, .dark *) { - background-color: var(--color-neutral-800); - } - - .dark\:bg-neutral-800\/50:where(.dark, .dark *) { - background-color: #26262680; - } - - @supports (color: color-mix(in lab, red, red)) { - .dark\:bg-neutral-800\/50:where(.dark, .dark *) { - background-color: color-mix(in oklab, var(--color-neutral-800) 50%, transparent); - } - } - - .dark\:bg-white:where(.dark, .dark *) { - background-color: var(--color-white); - } - - .dark\:bg-\[radial-gradient\(\#262626_1px\,transparent_1px\)\]:where(.dark, .dark *) { - background-image: radial-gradient(#262626 1px, #0000 1px); - } - - .dark\:from-\[\#161616\]:where(.dark, .dark *) { - --tw-gradient-from: #161616; - --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position)); - } - - .dark\:via-\[\#161616\]\/40:where(.dark, .dark *) { - --tw-gradient-via: #16161666; - --tw-gradient-via-stops: var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position); - --tw-gradient-stops: var(--tw-gradient-via-stops); - } - - @supports (color: lab(0% 0 0)) { - .dark\:via-\[\#161616\]\/40:where(.dark, .dark *) { - --tw-gradient-via: lab(7.24732% 0 -.00000298023 / .4); - } - } - - .dark\:to-transparent:where(.dark, .dark *) { - --tw-gradient-to: transparent; - --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position)); - } - - .dark\:text-black:where(.dark, .dark *) { - color: var(--color-black); - } - - .dark\:text-neutral-300:where(.dark, .dark *) { - color: var(--color-neutral-300); - } - - .dark\:text-neutral-400:where(.dark, .dark *) { - color: var(--color-neutral-400); - } - - .dark\:text-neutral-500:where(.dark, .dark *) { - color: var(--color-neutral-500); - } - - .dark\:text-white:where(.dark, .dark *) { - color: var(--color-white); - } - - .dark\:shadow-black\/10:where(.dark, .dark *) { - --tw-shadow-color: #0000001a; - } - - @supports (color: color-mix(in lab, red, red)) { - .dark\:shadow-black\/10:where(.dark, .dark *) { - --tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--color-black) 10%, transparent) var(--tw-shadow-alpha), transparent); - } - } - - .dark\:ring-black\/30:where(.dark, .dark *) { - --tw-ring-color: #0000004d; - } - - @supports (color: color-mix(in lab, red, red)) { - .dark\:ring-black\/30:where(.dark, .dark *) { - --tw-ring-color: color-mix(in oklab, var(--color-black) 30%, transparent); - } - } - - .dark\:ring-neutral-500:where(.dark, .dark *) { - --tw-ring-color: var(--color-neutral-500); - } - - .dark\:ring-neutral-700:where(.dark, .dark *) { - --tw-ring-color: var(--color-neutral-700); - } - - @media (hover: hover) { - .dark\:hover\:bg-neutral-800:where(.dark, .dark *):hover { - background-color: var(--color-neutral-800); - } - } - - @media (hover: hover) { - .dark\:hover\:bg-neutral-800\/80:where(.dark, .dark *):hover { - background-color: #262626cc; - } - - @supports (color: color-mix(in lab, red, red)) { - .dark\:hover\:bg-neutral-800\/80:where(.dark, .dark *):hover { - background-color: color-mix(in oklab, var(--color-neutral-800) 80%, transparent); - } - } - } - - @media (hover: hover) { - .dark\:hover\:bg-neutral-900:where(.dark, .dark *):hover { - background-color: var(--color-neutral-900); - } - } - - @media (hover: hover) { - .dark\:hover\:text-neutral-200:where(.dark, .dark *):hover { - color: var(--color-neutral-200); - } - } - - @media (hover: hover) { - .dark\:hover\:text-neutral-300:where(.dark, .dark *):hover { - color: var(--color-neutral-300); - } - } - - :is(#nd-docs-layout:has(.layout\:\[--fd-header-height\:--spacing\(14\)\]), #nd-notebook-layout:has(.layout\:\[--fd-header-height\:--spacing\(14\)\]), #nd-home-layout:has(.layout\:\[--fd-header-height\:--spacing\(14\)\])) { - --fd-header-height: calc(var(--spacing) * 14); - } - - @media not (min-width: 80rem) { - :is(#nd-docs-layout:has(.max-xl\:layout\:\[--fd-toc-popover-height\:--spacing\(10\)\]), #nd-notebook-layout:has(.max-xl\:layout\:\[--fd-toc-popover-height\:--spacing\(10\)\]), #nd-home-layout:has(.max-xl\:layout\:\[--fd-toc-popover-height\:--spacing\(10\)\])) { - --fd-toc-popover-height: calc(var(--spacing) * 10); - } - } - - @media not (min-width: 48rem) { - :is(#nd-docs-layout:has(.max-md\:layout\:\[--fd-header-height\:--spacing\(14\)\]), #nd-notebook-layout:has(.max-md\:layout\:\[--fd-header-height\:--spacing\(14\)\]), #nd-home-layout:has(.max-md\:layout\:\[--fd-header-height\:--spacing\(14\)\])) { - --fd-header-height: calc(var(--spacing) * 14); - } - } - - @media (min-width: 48rem) { - :is(#nd-docs-layout:has(.md\:layout\:\[--fd-sidebar-width\:268px\]), #nd-notebook-layout:has(.md\:layout\:\[--fd-sidebar-width\:268px\]), #nd-home-layout:has(.md\:layout\:\[--fd-sidebar-width\:268px\])) { - --fd-sidebar-width: 268px; - } - } - - @media (min-width: 64rem) { - :is(#nd-docs-layout:has(.lg\:layout\:\[--fd-header-height\:--spacing\(24\)\]), #nd-notebook-layout:has(.lg\:layout\:\[--fd-header-height\:--spacing\(24\)\]), #nd-home-layout:has(.lg\:layout\:\[--fd-header-height\:--spacing\(24\)\])) { - --fd-header-height: calc(var(--spacing) * 24); - } - } - - @media (min-width: 80rem) { - :is(#nd-docs-layout:has(.xl\:layout\:\[--fd-toc-width\:268px\]), #nd-notebook-layout:has(.xl\:layout\:\[--fd-toc-width\:268px\]), #nd-home-layout:has(.xl\:layout\:\[--fd-toc-width\:268px\])) { - --fd-toc-width: 268px; - } - } - - .\[\&_\.group\\\/code\]\:mb-0 .group\/code { - margin-bottom: calc(var(--spacing) * 0); - } - - .\[\&_\.group\\\/code\]\:rounded-none .group\/code { - border-radius: 0; - } - - .\[\&_\.group\\\/code\]\:border-0 .group\/code { - border-style: var(--tw-border-style); - border-width: 0; - } - - .\[\&_\.group\\\/code\]\:bg-transparent .group\/code { - background-color: #0000; - } - - .\[\&_\.group\\\/code\]\:shadow-none .group\/code { - --tw-shadow: 0 0 #0000; - box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow); - } - - .\[\&_svg\]\:size-3\.5 svg { - width: calc(var(--spacing) * 3.5); - height: calc(var(--spacing) * 3.5); - } - - .\[\&_svg\]\:size-4 svg { - width: calc(var(--spacing) * 4); - height: calc(var(--spacing) * 4); - } - - .\[\&_svg\]\:size-4\.5 svg { - width: calc(var(--spacing) * 4.5); - height: calc(var(--spacing) * 4.5); - } - - .\[\&_svg\]\:size-5 svg { - width: calc(var(--spacing) * 5); - height: calc(var(--spacing) * 5); - } - - .\[\&_svg\]\:size-5\.5 svg { - width: calc(var(--spacing) * 5.5); - height: calc(var(--spacing) * 5.5); - } - - .\[\&_svg\]\:size-full svg { - width: 100%; - height: 100%; - } - - .\[\&_svg\]\:shrink-0 svg { - flex-shrink: 0; - } - - .\[\&\>figure\:only-child\]\:-m-4 > figure:only-child { - margin: calc(var(--spacing) * -4); - } - - .\[\&\>figure\:only-child\]\:border-none > figure:only-child { - --tw-border-style: none; - border-style: none; - } -} - -.dark { - --color-fd-background: #121212; - --color-fd-foreground: #ebebeb; - --color-fd-muted: #212121; - --color-fd-muted-foreground: #b3b3b3cc; - --color-fd-popover: #1e1e1e; - --color-fd-popover-foreground: #dedede; - --color-fd-card: #191919; - --color-fd-card-foreground: #fafafa; - --color-fd-border: #6663; - --color-fd-primary: #fafafa; - --color-fd-primary-foreground: #171717; - --color-fd-secondary: #212121; - --color-fd-secondary-foreground: #ebebeb; - --color-fd-accent: #6868684d; - --color-fd-accent-foreground: #e6e6e6; - --color-fd-ring: #8c8c8c; - --color-fd-overlay: #0003; -} - -.dark #nd-sidebar { - --color-fd-muted: #292929; - --color-fd-secondary: #2e2e2e; - --color-fd-muted-foreground: #b8b8b8; -} - -.shiki:not(.not-fumadocs-codeblock *) { - --padding-left: calc(var(--spacing) * 4); - --padding-right: calc(var(--spacing) * 4); -} - -.shiki:not(.not-fumadocs-codeblock *) code span { - color: var(--shiki-light); -} - -.dark .shiki:not(.not-fumadocs-codeblock *) code span { - color: var(--shiki-dark); -} - -.line:is(pre *):is(.shiki *):not(.not-fumadocs-codeblock *) { - min-height: 1lh; - padding-left: var(--padding-left); - padding-right: var(--padding-right); - position: relative; -} - -.has-focused .line:is(pre *):is(.shiki *):not(.not-fumadocs-codeblock *):not(.focused) { - filter: blur(2px); - transition: filter .2s; -} - -.has-focused:hover .line:is(pre *):is(.shiki *):not(.not-fumadocs-codeblock *):not(.focused) { - filter: blur(); -} - -[data-line-numbers] .twoslash-meta-line:is(pre *):is(.shiki *):not(.not-fumadocs-codeblock *) { - padding-left: calc(var(--padding-left) + 7 * var(--spacing)); -} - -[data-line-numbers] .line:is(pre *):is(.shiki *):not(.not-fumadocs-codeblock *) { - counter-increment: line; - padding-left: calc(var(--padding-left) + 7 * var(--spacing)); -} - -[data-line-numbers] .line:is(pre *):is(.shiki *):not(.not-fumadocs-codeblock *):after { - content: counter(line); - color: var(--fd-counter-color, #737373); - position: absolute; -} - -@supports (color: color-mix(in lab, red, red)) { - [data-line-numbers] .line:is(pre *):is(.shiki *):not(.not-fumadocs-codeblock *):after { - color: color-mix(in oklab, var(--fd-counter-color, var(--color-fd-muted-foreground)) 60%, transparent); - } -} - -[data-line-numbers] .line:is(pre *):is(.shiki *):not(.not-fumadocs-codeblock *):after { - top: calc(var(--spacing) * 0); - left: calc(var(--spacing) * 4); -} - -.diff:is(pre *):is(.shiki *):not(.not-fumadocs-codeblock *):before { - left: calc(var(--spacing) * 1.5); - position: absolute; -} - -.diff.remove:is(pre *):is(.shiki *):not(.not-fumadocs-codeblock *) { - opacity: .7; - --fd-counter-color: var(--color-fd-diff-remove-symbol); - background-color: var(--color-fd-diff-remove); -} - -.diff.remove:is(pre *):is(.shiki *):not(.not-fumadocs-codeblock *):before { - content: "-"; - color: var(--color-fd-diff-remove-symbol); -} - -.diff.add:is(pre *):is(.shiki *):not(.not-fumadocs-codeblock *) { - --fd-counter-color: var(--color-fd-diff-add-symbol); - background-color: var(--color-fd-diff-add); -} - -.diff.add:is(pre *):is(.shiki *):not(.not-fumadocs-codeblock *):before { - content: "+"; - color: var(--color-fd-diff-add-symbol); -} - -.highlighted:is(pre *):is(.shiki *):not(.not-fumadocs-codeblock *) { - --fd-counter-color: var(--color-fd-primary); - padding-left: calc(var(--padding-left) - 2px); - border-left-style: var(--tw-border-style); - border-color: #17171780; - border-left-width: 2px; -} - -@supports (color: color-mix(in lab, red, red)) { - .highlighted:is(pre *):is(.shiki *):not(.not-fumadocs-codeblock *) { - border-color: color-mix(in oklab, var(--color-fd-primary) 50%, transparent); - } -} - -.highlighted:is(pre *):is(.shiki *):not(.not-fumadocs-codeblock *) { - background-color: #1717171a; -} - -@supports (color: color-mix(in lab, red, red)) { - .highlighted:is(pre *):is(.shiki *):not(.not-fumadocs-codeblock *) { - background-color: color-mix(in oklab, var(--color-fd-primary) 10%, transparent); - } -} - -.highlighted-word:is(pre *):is(.shiki *):not(.not-fumadocs-codeblock *) { - border-radius: var(--radius-md); - border-style: var(--tw-border-style); - border-width: 1px; - border-color: #1717174d; - margin-block: -1px; - padding: 1px; -} - -@supports (color: color-mix(in lab, red, red)) { - .highlighted-word:is(pre *):is(.shiki *):not(.not-fumadocs-codeblock *) { - border-color: color-mix(in oklab, var(--color-fd-primary) 30%, transparent); - } -} - -.highlighted-word:is(pre *):is(.shiki *):not(.not-fumadocs-codeblock *) { - background-color: #1717171a; -} - -@supports (color: color-mix(in lab, red, red)) { - .highlighted-word:is(pre *):is(.shiki *):not(.not-fumadocs-codeblock *) { - background-color: color-mix(in oklab, var(--color-fd-primary) 10%, transparent); - } -} - -.highlighted-word:is(pre *):is(.shiki *):not(.not-fumadocs-codeblock *) { - --tw-font-weight: var(--font-weight-medium); - font-weight: var(--font-weight-medium); -} - -:root { - --fd-sidebar-drawer-offset: 100%; -} - -[dir="rtl"] { - --fd-sidebar-drawer-offset: -100%; -} - -@property --radix-collapsible-content-height { - syntax: ""; - inherits: false; - initial-value: 0; -} - -:root { - --background: #fff; - --foreground: #171717; -} - -.dark { - --background: #000; - --foreground: #fafafa; - --card: #000; - --card-foreground: #fafafa; - --popover: #000; - --popover-foreground: #fafafa; - --primary: #fafafa; - --primary-foreground: #171717; - --secondary: #000; - --secondary-foreground: #fafafa; - --muted: #000; - --muted-foreground: #a1a1a1; - --accent: #000; - --accent-foreground: #fafafa; - --destructive: #82181a; - --destructive-foreground: #fb2c36; - --border: #1a1a1a; - --input: #1a1a1a; - --ring: #1a1a1a; - --chart-1: #1447e6; - --chart-2: #00bb7f; - --chart-3: #f99c00; - --chart-4: #ac4bff; - --chart-5: #ff2357; - --sidebar: #000; - --sidebar-foreground: #fafafa; - --sidebar-primary: #1447e6; - --sidebar-primary-foreground: #fafafa; - --sidebar-accent: #000; - --sidebar-accent-foreground: #fafafa; - --sidebar-border: #1a1a1a; - --sidebar-ring: #525252; -} - -@supports (color: lab(0% 0 0)) { - .dark { - --foreground: lab(98.26% 0 0); - --card-foreground: lab(98.26% 0 0); - --popover-foreground: lab(98.26% 0 0); - --primary: lab(98.26% 0 0); - --primary-foreground: lab(7.78201% -.0000149012 0); - --secondary-foreground: lab(98.26% 0 0); - --muted-foreground: lab(66.128% -.0000298023 .0000119209); - --accent-foreground: lab(98.26% 0 0); - --destructive: lab(28.5139% 44.5539 29.0463); - --destructive-foreground: lab(55.4814% 75.0732 48.8528); - --chart-1: lab(36.9089% 35.0961 -85.6872); - --chart-2: lab(66.9756% -58.27 19.5419); - --chart-3: lab(72.7183% 31.8672 97.9407); - --chart-4: lab(52.0183% 66.11 -78.2316); - --chart-5: lab(56.101% 79.4329 31.4532); - --sidebar-foreground: lab(98.26% 0 0); - --sidebar-primary: lab(36.9089% 35.0961 -85.6872); - --sidebar-primary-foreground: lab(98.26% 0 0); - --sidebar-accent-foreground: lab(98.26% 0 0); - --sidebar-ring: lab(34.924% 0 0); - } -} - -.card { - --offsetY: 0vmin; - --rotate: 0deg; - --translateX: 0vmin; - --translateY: 0vmin; - width: 30vmin; - height: 60vmin; - transform: rotate(var(--rotate)) translateX(var(--translateX)) translateY(calc(var(--offsetY) + var(--translateY))); - flex-shrink: 0; - transition: all .3s linear; - overflow: hidden; -} - -.card img { - object-fit: cover; - width: 100%; - height: 100%; -} - -.card:hover { - transition: all .3s linear; - scale: 1.05; -} - -.card:first-child { - --rotate: -20deg; - --translateX: 30vmin; - --translateY: 10vmin; - transform: rotate(var(--rotate)) translateX(var(--translateX)) translateY(calc(var(--offsetY) + var(--translateY))); -} - -.card:nth-child(2), .card:nth-child(3) { - transform: rotate(-5deg); -} - -.card:nth-child(5) { - --translate: 100px; - transform: rotate(5deg); -} - -.card:nth-child(6) { - transform: rotate(5deg); -} - -.card:nth-child(6):hover { - transform: rotate(-5deg) translateY(var(--translate)); -} - -.card:nth-child(7) { - transform: rotate(5deg); -} - -.card:hover + .card { - background-color: #8cff00; - transform: translateX(10vmin); -} - -.card:hover + .card + .card { - background-color: #00f; -} - -.card:has( + .card:hover) { - background-color: #8a2be2; - transform: translateX(-10vmin); -} - -.card:has(.card + .card:hover) { - background-color: #e305db; -} - -.list:first-child:hover { - font-size: 35px; - font-weight: bold; -} - -.list:nth-child(2):hover { - font-size: 35px; -} - -.list:nth-child(3):hover { - font-size: 35px; - font-weight: bold; -} - -@property --tw-border-style { - syntax: "*"; - inherits: false; - initial-value: solid; -} - -@property --tw-translate-x { - syntax: "*"; - inherits: false; - initial-value: 0; -} - -@property --tw-translate-y { - syntax: "*"; - inherits: false; - initial-value: 0; -} - -@property --tw-translate-z { - syntax: "*"; - inherits: false; - initial-value: 0; -} - -@property --tw-rotate-x { - syntax: "*"; - inherits: false -} - -@property --tw-rotate-y { - syntax: "*"; - inherits: false -} - -@property --tw-rotate-z { - syntax: "*"; - inherits: false -} - -@property --tw-skew-x { - syntax: "*"; - inherits: false -} - -@property --tw-skew-y { - syntax: "*"; - inherits: false -} - -@property --tw-space-y-reverse { - syntax: "*"; - inherits: false; - initial-value: 0; -} - -@property --tw-divide-y-reverse { - syntax: "*"; - inherits: false; - initial-value: 0; -} - -@property --tw-gradient-position { - syntax: "*"; - inherits: false -} - -@property --tw-gradient-from { - syntax: ""; - inherits: false; - initial-value: #0000; -} - -@property --tw-gradient-via { - syntax: ""; - inherits: false; - initial-value: #0000; -} - -@property --tw-gradient-to { - syntax: ""; - inherits: false; - initial-value: #0000; -} - -@property --tw-gradient-stops { - syntax: "*"; - inherits: false -} - -@property --tw-gradient-via-stops { - syntax: "*"; - inherits: false -} - -@property --tw-gradient-from-position { - syntax: ""; - inherits: false; - initial-value: 0%; -} - -@property --tw-gradient-via-position { - syntax: ""; - inherits: false; - initial-value: 50%; -} - -@property --tw-gradient-to-position { - syntax: ""; - inherits: false; - initial-value: 100%; -} - -@property --tw-leading { - syntax: "*"; - inherits: false -} - -@property --tw-font-weight { - syntax: "*"; - inherits: false -} - -@property --tw-tracking { - syntax: "*"; - inherits: false -} - -@property --tw-shadow { - syntax: "*"; - inherits: false; - initial-value: 0 0 #0000; -} - -@property --tw-shadow-color { - syntax: "*"; - inherits: false -} - -@property --tw-shadow-alpha { - syntax: ""; - inherits: false; - initial-value: 100%; -} - -@property --tw-inset-shadow { - syntax: "*"; - inherits: false; - initial-value: 0 0 #0000; -} - -@property --tw-inset-shadow-color { - syntax: "*"; - inherits: false -} - -@property --tw-inset-shadow-alpha { - syntax: ""; - inherits: false; - initial-value: 100%; -} - -@property --tw-ring-color { - syntax: "*"; - inherits: false -} - -@property --tw-ring-shadow { - syntax: "*"; - inherits: false; - initial-value: 0 0 #0000; -} - -@property --tw-inset-ring-color { - syntax: "*"; - inherits: false -} - -@property --tw-inset-ring-shadow { - syntax: "*"; - inherits: false; - initial-value: 0 0 #0000; -} - -@property --tw-ring-inset { - syntax: "*"; - inherits: false -} - -@property --tw-ring-offset-width { - syntax: ""; - inherits: false; - initial-value: 0; -} - -@property --tw-ring-offset-color { - syntax: "*"; - inherits: false; - initial-value: #fff; -} - -@property --tw-ring-offset-shadow { - syntax: "*"; - inherits: false; - initial-value: 0 0 #0000; -} - -@property --tw-outline-style { - syntax: "*"; - inherits: false; - initial-value: solid; -} - -@property --tw-blur { - syntax: "*"; - inherits: false -} - -@property --tw-brightness { - syntax: "*"; - inherits: false -} - -@property --tw-contrast { - syntax: "*"; - inherits: false -} - -@property --tw-grayscale { - syntax: "*"; - inherits: false -} - -@property --tw-hue-rotate { - syntax: "*"; - inherits: false -} - -@property --tw-invert { - syntax: "*"; - inherits: false -} - -@property --tw-opacity { - syntax: "*"; - inherits: false -} - -@property --tw-saturate { - syntax: "*"; - inherits: false -} - -@property --tw-sepia { - syntax: "*"; - inherits: false -} - -@property --tw-drop-shadow { - syntax: "*"; - inherits: false -} - -@property --tw-drop-shadow-color { - syntax: "*"; - inherits: false -} - -@property --tw-drop-shadow-alpha { - syntax: ""; - inherits: false; - initial-value: 100%; -} - -@property --tw-drop-shadow-size { - syntax: "*"; - inherits: false -} - -@property --tw-backdrop-blur { - syntax: "*"; - inherits: false -} - -@property --tw-backdrop-brightness { - syntax: "*"; - inherits: false -} - -@property --tw-backdrop-contrast { - syntax: "*"; - inherits: false -} - -@property --tw-backdrop-grayscale { - syntax: "*"; - inherits: false -} - -@property --tw-backdrop-hue-rotate { - syntax: "*"; - inherits: false -} - -@property --tw-backdrop-invert { - syntax: "*"; - inherits: false -} - -@property --tw-backdrop-opacity { - syntax: "*"; - inherits: false -} - -@property --tw-backdrop-saturate { - syntax: "*"; - inherits: false -} - -@property --tw-backdrop-sepia { - syntax: "*"; - inherits: false -} - -@property --tw-duration { - syntax: "*"; - inherits: false -} - -@property --tw-ease { - syntax: "*"; - inherits: false -} - -@property --tw-text-shadow-color { - syntax: "*"; - inherits: false -} - -@property --tw-text-shadow-alpha { - syntax: ""; - inherits: false; - initial-value: 100%; -} - -@property --tw-content { - syntax: "*"; - inherits: false; - initial-value: ""; -} - -@property --tw-scale-x { - syntax: "*"; - inherits: false; - initial-value: 1; -} - -@property --tw-scale-y { - syntax: "*"; - inherits: false; - initial-value: 1; -} - -@property --tw-scale-z { - syntax: "*"; - inherits: false; - initial-value: 1; -} - -@keyframes spin { - to { - transform: rotate(360deg); - } -} - -@keyframes pulse { - 50% { - opacity: .5; - } -} - -@keyframes fd-sidebar-in { - from { - transform: translateX(var(--fd-sidebar-drawer-offset)); - } -} - -@keyframes fd-sidebar-out { - to { - transform: translateX(var(--fd-sidebar-drawer-offset)); - } -} - -@keyframes fd-dialog-in { - from { - opacity: 0; - transform: scale(1.06); - } - - to { - transform: scale(1); - } -} - -@keyframes fd-dialog-out { - from { - transform: scale(1); - } - - to { - opacity: 0; - transform: scale(1.04); - } -} - -@keyframes fd-popover-in { - from { - opacity: 0; - transform: scale(.9); - } -} - -@keyframes fd-popover-out { - to { - opacity: 0; - transform: scale(.9); - } -} - -@keyframes fd-fade-in { - from { - opacity: 0; - } - - to { - opacity: 1; - } -} - -@keyframes fd-fade-out { - from { - opacity: 1; - } - - to { - opacity: 0; - } -} - -@keyframes fd-enterFromRight { - from { - opacity: 0; - transform: translateX(200px); - } - - to { - opacity: 1; - transform: translateX(0); - } -} - -@keyframes fd-enterFromLeft { - from { - opacity: 0; - transform: translateX(-200px); - } - - to { - opacity: 1; - transform: translateX(0); - } -} - -@keyframes fd-exitToRight { - from { - opacity: 1; - transform: translateX(0); - } - - to { - opacity: 0; - transform: translateX(200px); - } -} - -@keyframes fd-exitToLeft { - from { - opacity: 1; - transform: translateX(0); - } - - to { - opacity: 0; - transform: translateX(-200px); - } -} - -@keyframes fd-collapsible-down { - from { - opacity: 0; - height: 0; - } - - to { - height: var(--radix-collapsible-content-height); - } -} - -@keyframes fd-collapsible-up { - from { - height: var(--radix-collapsible-content-height); - } - - to { - opacity: 0; - height: 0; - } -} - -@keyframes fd-accordion-down { - from { - opacity: .5; - height: 0; - } - - to { - height: var(--radix-accordion-content-height); - } -} - -@keyframes fd-accordion-up { - from { - height: var(--radix-accordion-content-height); - } - - to { - opacity: .5; - height: 0; - } -} - -@keyframes fd-nav-menu-in { - from { - opacity: 0; - height: 0; - } - - to { - opacity: 1; - height: var(--radix-navigation-menu-viewport-height); - } -} - -@keyframes fd-nav-menu-out { - from { - opacity: 1; - height: var(--radix-navigation-menu-viewport-height); - } - - to { - opacity: 0; - height: 0; - } -} - -/*# sourceMappingURL=%5Broot-of-the-server%5D__28bc9c2a._.css.map*/ \ No newline at end of file diff --git a/.next/dev/static/chunks/[root-of-the-server]__28bc9c2a._.css.map b/.next/dev/static/chunks/[root-of-the-server]__28bc9c2a._.css.map deleted file mode 100644 index caae725..0000000 --- a/.next/dev/static/chunks/[root-of-the-server]__28bc9c2a._.css.map +++ /dev/null @@ -1,8 +0,0 @@ -{ - "version": 3, - "sources": [], - "sections": [ - {"offset": {"line": 1, "column": 0}, "map": {"version":3,"sources":["turbopack:///[next]/internal/font/google/geist_a71539c9.module.css"],"sourcesContent":["/* cyrillic */\n@font-face {\n font-family: 'Geist';\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(@vercel/turbopack-next/internal/font/google/font?{%22url%22:%22https://fonts.gstatic.com/s/geist/v4/gyByhwUxId8gMEwYGFWNOITddY4.woff2%22,%22preload%22:false,%22has_size_adjust%22:true}) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist';\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(@vercel/turbopack-next/internal/font/google/font?{%22url%22:%22https://fonts.gstatic.com/s/geist/v4/gyByhwUxId8gMEwSGFWNOITddY4.woff2%22,%22preload%22:false,%22has_size_adjust%22:true}) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist';\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(@vercel/turbopack-next/internal/font/google/font?{%22url%22:%22https://fonts.gstatic.com/s/geist/v4/gyByhwUxId8gMEwcGFWNOITd.woff2%22,%22preload%22:true,%22has_size_adjust%22:true}) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n@font-face {\n font-family: 'Geist Fallback';\n src: local(\"Arial\");\n ascent-override: 95.94%;\ndescent-override: 28.16%;\nline-gap-override: 0.00%;\nsize-adjust: 104.76%;\n\n}\n.className {\n font-family: 'Geist', 'Geist Fallback';\n font-style: normal;\n\n}\n.variable {\n --font-geist-sans: 'Geist', 'Geist Fallback';\n}\n"],"names":[],"mappings":"AACA;;;;;;;;;AASA;;;;;;;;;AASA;;;;;;;;;AAQA;;;;;;;;;AASA;;;;;AAKA","ignoreList":[0]}}, - {"offset": {"line": 47, "column": 0}, "map": {"version":3,"sources":["turbopack:///[next]/internal/font/google/geist_mono_8d43a2aa.module.css"],"sourcesContent":["/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(@vercel/turbopack-next/internal/font/google/font?{%22url%22:%22https://fonts.gstatic.com/s/geistmono/v4/or3nQ6H-1_WfwkMZI_qYFrMdmhHkjkotbA.woff2%22,%22preload%22:false,%22has_size_adjust%22:true}) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(@vercel/turbopack-next/internal/font/google/font?{%22url%22:%22https://fonts.gstatic.com/s/geistmono/v4/or3nQ6H-1_WfwkMZI_qYFrkdmhHkjkotbA.woff2%22,%22preload%22:false,%22has_size_adjust%22:true}) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(@vercel/turbopack-next/internal/font/google/font?{%22url%22:%22https://fonts.gstatic.com/s/geistmono/v4/or3nQ6H-1_WfwkMZI_qYFrcdmhHkjko.woff2%22,%22preload%22:true,%22has_size_adjust%22:true}) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n@font-face {\n font-family: 'Geist Mono Fallback';\n src: local(\"Arial\");\n ascent-override: 74.67%;\ndescent-override: 21.92%;\nline-gap-override: 0.00%;\nsize-adjust: 134.59%;\n\n}\n.className {\n font-family: 'Geist Mono', 'Geist Mono Fallback';\n font-style: normal;\n\n}\n.variable {\n --font-geist-mono: 'Geist Mono', 'Geist Mono Fallback';\n}\n"],"names":[],"mappings":"AACA;;;;;;;;;AASA;;;;;;;;;AASA;;;;;;;;;AAQA;;;;;;;;;AASA;;;;;AAKA","ignoreList":[0]}}, - {"offset": {"line": 93, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/app/globals.css"],"sourcesContent":["/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */\n@layer properties;\n@layer theme, base, components, utilities;\n@layer theme {\n :root, :host {\n --font-sans: var(--font-geist-sans);\n --font-mono: var(--font-geist-mono);\n --color-red-200: oklch(88.5% 0.062 18.334);\n --color-red-300: oklch(80.8% 0.114 19.571);\n --color-amber-500: oklch(76.9% 0.188 70.08);\n --color-yellow-200: oklch(94.5% 0.129 101.54);\n --color-green-100: oklch(96.2% 0.044 156.743);\n --color-green-200: oklch(92.5% 0.084 155.995);\n --color-green-500: oklch(72.3% 0.219 149.579);\n --color-green-800: oklch(44.8% 0.119 151.328);\n --color-emerald-500: oklch(69.6% 0.17 162.48);\n --color-sky-500: oklch(68.5% 0.169 237.323);\n --color-blue-200: oklch(88.2% 0.059 254.128);\n --color-violet-300: oklch(81.1% 0.111 293.571);\n --color-violet-400: oklch(70.2% 0.183 293.541);\n --color-fuchsia-500: oklch(66.7% 0.295 322.15);\n --color-neutral-100: oklch(97% 0 0);\n --color-neutral-200: oklch(92.2% 0 0);\n --color-neutral-300: oklch(87% 0 0);\n --color-neutral-400: oklch(70.8% 0 0);\n --color-neutral-500: oklch(55.6% 0 0);\n --color-neutral-700: oklch(37.1% 0 0);\n --color-neutral-800: oklch(26.9% 0 0);\n --color-neutral-900: oklch(20.5% 0 0);\n --color-black: #000;\n --color-white: #fff;\n --spacing: 0.25rem;\n --breakpoint-sm: 40rem;\n --container-sm: 24rem;\n --container-2xl: 42rem;\n --container-5xl: 64rem;\n --text-xs: 0.75rem;\n --text-xs--line-height: calc(1 / 0.75);\n --text-sm: 0.875rem;\n --text-sm--line-height: calc(1.25 / 0.875);\n --text-base: 1rem;\n --text-base--line-height: calc(1.5 / 1);\n --text-lg: 1.125rem;\n --text-lg--line-height: calc(1.75 / 1.125);\n --text-xl: 1.25rem;\n --text-xl--line-height: calc(1.75 / 1.25);\n --text-2xl: 1.5rem;\n --text-2xl--line-height: calc(2 / 1.5);\n --text-3xl: 1.875rem;\n --text-3xl--line-height: calc(2.25 / 1.875);\n --text-4xl: 2.25rem;\n --text-4xl--line-height: calc(2.5 / 2.25);\n --text-5xl: 3rem;\n --text-5xl--line-height: 1;\n --text-6xl: 3.75rem;\n --text-6xl--line-height: 1;\n --text-7xl: 4.5rem;\n --text-7xl--line-height: 1;\n --font-weight-medium: 500;\n --font-weight-semibold: 600;\n --font-weight-bold: 700;\n --tracking-tight: -0.025em;\n --leading-relaxed: 1.625;\n --radius-sm: 0.25rem;\n --radius-md: 0.375rem;\n --radius-lg: 0.5rem;\n --radius-xl: 0.75rem;\n --radius-2xl: 1rem;\n --radius-3xl: 1.5rem;\n --animate-spin: spin 1s linear infinite;\n --animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;\n --blur-xs: 4px;\n --blur-sm: 8px;\n --blur-md: 12px;\n --blur-lg: 16px;\n --default-transition-duration: 150ms;\n --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n --default-font-family: var(--font-geist-sans);\n --default-mono-font-family: var(--font-geist-mono);\n --color-fd-background: hsl(0, 0%, 96%);\n --color-fd-foreground: hsl(0, 0%, 3.9%);\n --color-fd-muted: hsl(0, 0%, 96.1%);\n --color-fd-muted-foreground: hsl(0, 0%, 45.1%);\n --color-fd-popover: hsl(0, 0%, 98%);\n --color-fd-popover-foreground: hsl(0, 0%, 15.1%);\n --color-fd-card: hsl(0, 0%, 94.7%);\n --color-fd-card-foreground: hsl(0, 0%, 3.9%);\n --color-fd-border: hsla(0, 0%, 80%, 50%);\n --color-fd-primary: hsl(0, 0%, 9%);\n --color-fd-primary-foreground: hsl(0, 0%, 98%);\n --color-fd-secondary: hsl(0, 0%, 93.1%);\n --color-fd-secondary-foreground: hsl(0, 0%, 9%);\n --color-fd-accent: hsla(0, 0%, 82%, 50%);\n --color-fd-accent-foreground: hsl(0, 0%, 9%);\n --color-fd-ring: hsl(0, 0%, 63.9%);\n --color-fd-overlay: hsla(0, 0%, 0%, 0.2);\n --color-fd-info: oklch(62.3% 0.214 259.815);\n --color-fd-warning: oklch(76.9% 0.188 70.08);\n --color-fd-error: oklch(63.7% 0.237 25.331);\n --color-fd-success: oklch(72.3% 0.219 149.579);\n --color-fd-idea: oklch(70.5% 0.209 60.849);\n --color-fd-diff-remove: rgba(200, 10, 100, 0.12);\n --color-fd-diff-remove-symbol: rgb(230, 10, 100);\n --color-fd-diff-add: rgba(14, 180, 100, 0.1);\n --color-fd-diff-add-symbol: rgb(10, 200, 100);\n --animate-fd-fade-in: fd-fade-in 300ms ease;\n --animate-fd-fade-out: fd-fade-out 300ms ease;\n --animate-fd-dialog-in: fd-dialog-in 300ms cubic-bezier(0.16, 1, 0.3, 1);\n --animate-fd-dialog-out: fd-dialog-out 300ms cubic-bezier(0.16, 1, 0.3, 1);\n --animate-fd-popover-in: fd-popover-in 100ms ease;\n --animate-fd-popover-out: fd-popover-out 100ms ease;\n --animate-fd-enterFromLeft: fd-enterFromLeft 250ms ease;\n --animate-fd-enterFromRight: fd-enterFromRight 250ms ease;\n --animate-fd-sidebar-in: fd-sidebar-in 250ms ease;\n --animate-fd-sidebar-out: fd-sidebar-out 250ms ease;\n --animate-fd-exitToLeft: fd-exitToLeft 250ms ease;\n --animate-fd-exitToRight: fd-exitToRight 250ms ease;\n --animate-fd-collapsible-down: fd-collapsible-down 150ms cubic-bezier(0.45, 0, 0.55, 1);\n --animate-fd-collapsible-up: fd-collapsible-up 150ms cubic-bezier(0.45, 0, 0.55, 1);\n --animate-fd-accordion-down: fd-accordion-down 200ms ease-out;\n --animate-fd-accordion-up: fd-accordion-up 200ms ease-out;\n --animate-fd-nav-menu-in: fd-nav-menu-in 200ms ease;\n --animate-fd-nav-menu-out: fd-nav-menu-out 200ms ease;\n }\n}\n@layer base {\n *, ::after, ::before, ::backdrop, ::file-selector-button {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n border: 0 solid;\n }\n html, :host {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n tab-size: 4;\n font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n font-feature-settings: var(--default-font-feature-settings, normal);\n font-variation-settings: var(--default-font-variation-settings, normal);\n -webkit-tap-highlight-color: transparent;\n }\n hr {\n height: 0;\n color: inherit;\n border-top-width: 1px;\n }\n abbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n h1, h2, h3, h4, h5, h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n a {\n color: inherit;\n -webkit-text-decoration: inherit;\n text-decoration: inherit;\n }\n b, strong {\n font-weight: bolder;\n }\n code, kbd, samp, pre {\n font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace);\n font-feature-settings: var(--default-mono-font-feature-settings, normal);\n font-variation-settings: var(--default-mono-font-variation-settings, normal);\n font-size: 1em;\n }\n small {\n font-size: 80%;\n }\n sub, sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n sub {\n bottom: -0.25em;\n }\n sup {\n top: -0.5em;\n }\n table {\n text-indent: 0;\n border-color: inherit;\n border-collapse: collapse;\n }\n :-moz-focusring {\n outline: auto;\n }\n progress {\n vertical-align: baseline;\n }\n summary {\n display: list-item;\n }\n ol, ul, menu {\n list-style: none;\n }\n img, svg, video, canvas, audio, iframe, embed, object {\n display: block;\n vertical-align: middle;\n }\n img, video {\n max-width: 100%;\n height: auto;\n }\n button, input, select, optgroup, textarea, ::file-selector-button {\n font: inherit;\n font-feature-settings: inherit;\n font-variation-settings: inherit;\n letter-spacing: inherit;\n color: inherit;\n border-radius: 0;\n background-color: transparent;\n opacity: 1;\n }\n :where(select:is([multiple], [size])) optgroup {\n font-weight: bolder;\n }\n :where(select:is([multiple], [size])) optgroup option {\n padding-inline-start: 20px;\n }\n ::file-selector-button {\n margin-inline-end: 4px;\n }\n ::placeholder {\n opacity: 1;\n }\n @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {\n ::placeholder {\n color: currentcolor;\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, currentcolor 50%, transparent);\n }\n }\n }\n textarea {\n resize: vertical;\n }\n ::-webkit-search-decoration {\n -webkit-appearance: none;\n }\n ::-webkit-date-and-time-value {\n min-height: 1lh;\n text-align: inherit;\n }\n ::-webkit-datetime-edit {\n display: inline-flex;\n }\n ::-webkit-datetime-edit-fields-wrapper {\n padding: 0;\n }\n ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {\n padding-block: 0;\n }\n ::-webkit-calendar-picker-indicator {\n line-height: 1;\n }\n :-moz-ui-invalid {\n box-shadow: none;\n }\n button, input:where([type=\"button\"], [type=\"reset\"], [type=\"submit\"]), ::file-selector-button {\n appearance: button;\n }\n ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {\n height: auto;\n }\n [hidden]:where(:not([hidden=\"until-found\"])) {\n display: none !important;\n }\n}\n@layer utilities {\n .\\@container {\n container-type: inline-size;\n }\n .pointer-events-auto {\n pointer-events: auto;\n }\n .pointer-events-none {\n pointer-events: none;\n }\n .invisible {\n visibility: hidden;\n }\n .visible {\n visibility: visible;\n }\n .fd-step {\n &:before {\n background-color: var(--color-fd-secondary);\n color: var(--color-fd-secondary-foreground);\n content: counter(step);\n counter-increment: step;\n justify-content: center;\n align-items: center;\n font-size: 0.875rem;\n line-height: 1.25rem;\n display: flex;\n position: absolute;\n inset-inline-start: calc(var(--spacing) * -4);\n width: calc(var(--spacing) * 8);\n height: calc(var(--spacing) * 8);\n border-radius: calc(infinity * 1px);\n }\n }\n .fd-steps {\n counter-reset: step;\n position: relative;\n margin-left: calc(var(--spacing) * 2);\n border-left-style: var(--tw-border-style);\n border-left-width: 1px;\n padding-left: calc(var(--spacing) * 6);\n @media (width >= 40rem) {\n margin-left: calc(var(--spacing) * 4);\n }\n @media (width >= 40rem) {\n padding-left: calc(var(--spacing) * 7);\n }\n }\n .absolute {\n position: absolute;\n }\n .fixed {\n position: fixed;\n }\n .relative {\n position: relative;\n }\n .static {\n position: static;\n }\n .sticky {\n position: sticky;\n }\n .inset-0 {\n inset: calc(var(--spacing) * 0);\n }\n .inset-x-0 {\n inset-inline: calc(var(--spacing) * 0);\n }\n .inset-x-2 {\n inset-inline: calc(var(--spacing) * 2);\n }\n .inset-y-0 {\n inset-block: calc(var(--spacing) * 0);\n }\n .inset-y-2 {\n inset-block: calc(var(--spacing) * 2);\n }\n .start-0 {\n inset-inline-start: calc(var(--spacing) * 0);\n }\n .start-3 {\n inset-inline-start: calc(var(--spacing) * 3);\n }\n .start-4 {\n inset-inline-start: calc(var(--spacing) * 4);\n }\n .end-0 {\n inset-inline-end: calc(var(--spacing) * 0);\n }\n .end-2 {\n inset-inline-end: calc(var(--spacing) * 2);\n }\n .-top-1\\.5 {\n top: calc(var(--spacing) * -1.5);\n }\n .top-\\(--fd-docs-row-1\\) {\n top: var(--fd-docs-row-1);\n }\n .top-\\(--fd-docs-row-2\\) {\n top: var(--fd-docs-row-2);\n }\n .top-\\(--fd-docs-row-3\\) {\n top: var(--fd-docs-row-3);\n }\n .top-\\(--fd-top\\) {\n top: var(--fd-top);\n }\n .top-0 {\n top: calc(var(--spacing) * 0);\n }\n .top-1 {\n top: calc(var(--spacing) * 1);\n }\n .top-1\\.5 {\n top: calc(var(--spacing) * 1.5);\n }\n .top-1\\/2 {\n top: calc(1/2 * 100%);\n }\n .top-2 {\n top: calc(var(--spacing) * 2);\n }\n .top-3 {\n top: calc(var(--spacing) * 3);\n }\n .top-4 {\n top: calc(var(--spacing) * 4);\n }\n .top-10 {\n top: calc(var(--spacing) * 10);\n }\n .top-\\[calc\\(--spacing\\(4\\)\\+var\\(--fd-docs-row-3\\)\\)\\] {\n top: calc(calc(var(--spacing) * 4) + var(--fd-docs-row-3));\n }\n .right-0 {\n right: calc(var(--spacing) * 0);\n }\n .right-2 {\n right: calc(var(--spacing) * 2);\n }\n .right-3 {\n right: calc(var(--spacing) * 3);\n }\n .right-4 {\n right: calc(var(--spacing) * 4);\n }\n .right-6 {\n right: calc(var(--spacing) * 6);\n }\n .right-8 {\n right: calc(var(--spacing) * 8);\n }\n .right-10 {\n right: calc(var(--spacing) * 10);\n }\n .-bottom-18 {\n bottom: calc(var(--spacing) * -18);\n }\n .bottom-0 {\n bottom: calc(var(--spacing) * 0);\n }\n .bottom-1 {\n bottom: calc(var(--spacing) * 1);\n }\n .bottom-1\\.5 {\n bottom: calc(var(--spacing) * 1.5);\n }\n .bottom-4 {\n bottom: calc(var(--spacing) * 4);\n }\n .-left-\\[81px\\] {\n left: calc(81px * -1);\n }\n .left-0 {\n left: calc(var(--spacing) * 0);\n }\n .left-1\\/2 {\n left: calc(1/2 * 100%);\n }\n .left-10 {\n left: calc(var(--spacing) * 10);\n }\n .z-2 {\n z-index: 2;\n }\n .z-10 {\n z-index: 10;\n }\n .z-20 {\n z-index: 20;\n }\n .z-30 {\n z-index: 30;\n }\n .z-40 {\n z-index: 40;\n }\n .z-50 {\n z-index: 50;\n }\n .z-70 {\n z-index: 70;\n }\n .z-80 {\n z-index: 80;\n }\n .z-100 {\n z-index: 100;\n }\n .z-\\[-1\\] {\n z-index: -1;\n }\n .col-span-full {\n grid-column: 1 / -1;\n }\n .container {\n width: 100%;\n @media (width >= 40rem) {\n max-width: 40rem;\n }\n @media (width >= 48rem) {\n max-width: 48rem;\n }\n @media (width >= 64rem) {\n max-width: 64rem;\n }\n @media (width >= 80rem) {\n max-width: 80rem;\n }\n @media (width >= 96rem) {\n max-width: 96rem;\n }\n }\n .m-0 {\n margin: calc(var(--spacing) * 0);\n }\n .m-2 {\n margin: calc(var(--spacing) * 2);\n }\n .m-5 {\n margin: calc(var(--spacing) * 5);\n }\n .m-10 {\n margin: calc(var(--spacing) * 10);\n }\n .m-auto {\n margin: auto;\n }\n .-mx-1 {\n margin-inline: calc(var(--spacing) * -1);\n }\n .-mx-px {\n margin-inline: -1px;\n }\n .mx-0\\.5 {\n margin-inline: calc(var(--spacing) * 0.5);\n }\n .mx-2 {\n margin-inline: calc(var(--spacing) * 2);\n }\n .mx-4 {\n margin-inline: calc(var(--spacing) * 4);\n }\n .mx-5 {\n margin-inline: calc(var(--spacing) * 5);\n }\n .mx-auto {\n margin-inline: auto;\n }\n .my-0 {\n margin-block: calc(var(--spacing) * 0);\n }\n .my-0\\! {\n margin-block: calc(var(--spacing) * 0) !important;\n }\n .my-1 {\n margin-block: calc(var(--spacing) * 1);\n }\n .my-2 {\n margin-block: calc(var(--spacing) * 2);\n }\n .my-4 {\n margin-block: calc(var(--spacing) * 4);\n }\n .my-5 {\n margin-block: calc(var(--spacing) * 5);\n }\n .my-6 {\n margin-block: calc(var(--spacing) * 6);\n }\n .my-8 {\n margin-block: calc(var(--spacing) * 8);\n }\n .my-auto {\n margin-block: auto;\n }\n .-ms-1\\.5 {\n margin-inline-start: calc(var(--spacing) * -1.5);\n }\n .ms-2 {\n margin-inline-start: calc(var(--spacing) * 2);\n }\n .ms-auto {\n margin-inline-start: auto;\n }\n .ms-px {\n margin-inline-start: 1px;\n }\n .-me-0\\.5 {\n margin-inline-end: calc(var(--spacing) * -0.5);\n }\n .-me-1\\.5 {\n margin-inline-end: calc(var(--spacing) * -1.5);\n }\n .-me-2 {\n margin-inline-end: calc(var(--spacing) * -2);\n }\n .me-1 {\n margin-inline-end: calc(var(--spacing) * 1);\n }\n .me-2 {\n margin-inline-end: calc(var(--spacing) * 2);\n }\n .me-auto {\n margin-inline-end: auto;\n }\n .prose {\n color: var(--tw-prose-body);\n max-width: none;\n font-size: 1rem;\n line-height: 1.75rem;\n :where([class~=\"lead\"]):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n font-size: 1.25em;\n line-height: 1.6;\n margin-top: 1.2em;\n margin-bottom: 1.2em;\n color: var(--tw-prose-lead);\n }\n :where(ul):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n padding-inline-start: 1rem;\n list-style-type: disc;\n margin-top: 1.25em;\n margin-bottom: 1.25em;\n }\n :where(li):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n margin-top: 0.5em;\n margin-bottom: 0.5em;\n }\n :where(ol > li):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n padding-inline-start: 0.375em;\n }\n :where(ul > li):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n padding-inline-start: 0;\n }\n :where(.prose > ul > li p):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n margin-top: 0.75em;\n margin-bottom: 0.75em;\n }\n :where(.prose > ul > li > p:first-child):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n margin-top: 1.25em;\n }\n :where(.prose > ul > li > p:last-child):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n margin-bottom: 1.25em;\n }\n :where(.prose > ol > li > p:first-child):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n margin-top: 1.25em;\n }\n :where(.prose > ol > li > p:last-child):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n margin-bottom: 1.25em;\n }\n :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n margin-top: 0.75em;\n margin-bottom: 0.75em;\n }\n :where(dl):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n margin-top: 1.25em;\n margin-bottom: 1.25em;\n }\n :where(dt):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n color: var(--tw-prose-headings);\n font-weight: 600;\n margin-top: 1.25em;\n }\n :where(dd):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n margin-top: 0.5em;\n padding-inline-start: 1.625em;\n }\n :where(hr):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n border-color: var(--tw-prose-hr);\n border-top-width: 1px;\n margin-top: 3em;\n margin-bottom: 3em;\n }\n :where(p):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n margin-top: 1.25em;\n margin-bottom: 1.25em;\n }\n :where(strong):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n color: var(--tw-prose-bold);\n font-weight: 500;\n }\n :where(a strong):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n color: inherit;\n }\n :where(blockquote strong):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n color: inherit;\n }\n :where(thead th strong):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n color: inherit;\n }\n :where(ol):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n list-style-type: decimal;\n margin-top: 1.25em;\n margin-bottom: 1.25em;\n padding-inline-start: 1.625em;\n }\n :where(ol[type=\"A\"]):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n list-style-type: upper-alpha;\n }\n :where(ol[type=\"a\"]):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n list-style-type: lower-alpha;\n }\n :where(ol[type=\"A\" s]):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n list-style-type: upper-alpha;\n }\n :where(ol[type=\"a\" s]):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n list-style-type: lower-alpha;\n }\n :where(ol[type=\"I\"]):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n list-style-type: upper-roman;\n }\n :where(ol[type=\"i\"]):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n list-style-type: lower-roman;\n }\n :where(ol[type=\"I\" s]):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n list-style-type: upper-roman;\n }\n :where(ol[type=\"i\" s]):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n list-style-type: lower-roman;\n }\n :where(ol[type=\"1\"]):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n list-style-type: decimal;\n }\n :where(ol > li):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *))::marker {\n font-weight: 400;\n color: var(--tw-prose-counters);\n }\n :where(ul > li):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *))::marker {\n color: var(--tw-prose-bullets);\n }\n :where(blockquote):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n margin-top: 1.6em;\n margin-bottom: 1.6em;\n padding-inline-start: 1em;\n font-weight: 500;\n font-style: italic;\n color: var(--tw-prose-quotes);\n border-inline-start-width: 0.25rem;\n border-inline-start-color: var(--tw-prose-quote-borders);\n quotes: \"\\201C\"\"\\201D\"\"\\2018\"\"\\2019\";\n }\n :where(blockquote p:first-of-type):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *))::before {\n content: open-quote;\n }\n :where(blockquote p:last-of-type):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *))::after {\n content: close-quote;\n }\n :where(h1):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n color: var(--tw-prose-headings);\n font-weight: 800;\n font-size: var(--text-3xl);\n margin-top: 0;\n margin-bottom: 0.8888889em;\n line-height: 1.1111111;\n }\n :where(h1 strong):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n font-weight: 900;\n color: inherit;\n }\n :where(h2):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n color: var(--tw-prose-headings);\n font-size: 1.5em;\n margin-top: 2em;\n margin-bottom: 1em;\n line-height: 1.3333333;\n font-weight: 600;\n }\n :where(h2 strong):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n font-weight: 800;\n color: inherit;\n }\n :where(h3):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n color: var(--tw-prose-headings);\n font-weight: 600;\n font-size: 1.25em;\n margin-top: 1.6em;\n margin-bottom: 0.6em;\n line-height: 1.6;\n }\n :where(h3 strong):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n font-weight: 700;\n color: inherit;\n }\n :where(h4):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n color: var(--tw-prose-headings);\n font-weight: 600;\n margin-top: 1.5em;\n margin-bottom: 0.5em;\n line-height: 1.5;\n }\n :where(h4 strong):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n font-weight: 700;\n color: inherit;\n }\n :where(hr + *):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n margin-top: 0;\n }\n :where(h2 + *):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n margin-top: 0;\n }\n :where(h3 + *):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n margin-top: 0;\n }\n :where(h4 + *):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n margin-top: 0;\n }\n :where(img):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n margin-top: 2em;\n margin-bottom: 2em;\n }\n :where(picture):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n display: block;\n margin-top: 2em;\n margin-bottom: 2em;\n }\n :where(picture > img):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n margin-top: 0;\n margin-bottom: 0;\n }\n :where(video):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n margin-top: 2em;\n margin-bottom: 2em;\n }\n :where(kbd):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n font-size: 0.875em;\n border-radius: 0.3125rem;\n padding-top: 0.1875em;\n padding-inline-end: 0.375em;\n padding-bottom: 0.1875em;\n padding-inline-start: 0.375em;\n font-weight: 500;\n font-family: inherit;\n color: var(--tw-prose-kbd);\n box-shadow: 0 0 0 1px var(--tw-prose-kbd-shadows),0 3px 0 var(--tw-prose-kbd-shadows);\n }\n :where(code):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n padding: 3px;\n border: solid 1px;\n font-size: 13px;\n border-color: var(--color-fd-border);\n border-radius: 5px;\n font-weight: 400;\n background: var(--color-fd-muted);\n color: var(--tw-prose-code);\n }\n :where(a code):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n color: inherit;\n }\n :where(h1 code):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n color: inherit;\n font-size: var(--text-2xl);\n }\n :where(h2 code):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n color: inherit;\n font-size: 0.875em;\n }\n :where(h3 code):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n color: inherit;\n font-size: 0.9em;\n }\n :where(h4 code):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n color: inherit;\n }\n :where(blockquote code):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n color: inherit;\n }\n :where(thead th code):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n color: inherit;\n }\n :where(table):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n font-size: 0.875em;\n line-height: 1.7142857;\n width: 100%;\n table-layout: auto;\n margin-top: 2em;\n margin-bottom: 2em;\n border-collapse: separate;\n border-spacing: 0;\n background: var(--color-fd-card);\n border-radius: var(--radius-lg);\n border: 1px solid var(--color-fd-border);\n overflow: hidden;\n }\n :where(thead th):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n color: var(--tw-prose-headings);\n font-weight: 600;\n }\n :where(figure):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n margin-top: 2em;\n margin-bottom: 2em;\n }\n :where(figure > *):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n margin-top: 0;\n margin-bottom: 0;\n }\n :where(figcaption):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n color: var(--tw-prose-captions);\n font-size: 0.875em;\n line-height: 1.4285714;\n margin-top: 0.8571429em;\n }\n :where(a:not([data-card])):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n color: var(--tw-prose-links);\n transition: opacity .2s;\n font-weight: 500;\n text-decoration: underline;\n text-underline-offset: 3.5px;\n text-decoration-color: var(--color-fd-primary);\n text-decoration-thickness: 1.5px;\n }\n :where(a:not([data-card]):hover):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n opacity: 80%;\n }\n --tw-prose-body: color-mix(in srgb, hsl(0, 0%, 3.9%) 90%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-prose-body: color-mix(in oklab, var(--color-fd-foreground) 90%, transparent);\n }\n --tw-prose-headings: var(--color-fd-foreground);\n --tw-prose-lead: var(--color-fd-foreground);\n --tw-prose-links: var(--color-fd-foreground);\n --tw-prose-bold: var(--color-fd-foreground);\n --tw-prose-counters: var(--color-fd-muted-foreground);\n --tw-prose-bullets: var(--color-fd-muted-foreground);\n --tw-prose-hr: var(--color-fd-border);\n --tw-prose-quotes: var(--color-fd-foreground);\n --tw-prose-quote-borders: var(--color-fd-border);\n --tw-prose-captions: var(--color-fd-foreground);\n --tw-prose-code: var(--color-fd-foreground);\n --tw-prose-th-borders: var(--color-fd-border);\n --tw-prose-td-borders: var(--color-fd-border);\n --tw-prose-kbd: var(--color-fd-foreground);\n --tw-prose-kbd-shadows: color-mix(in srgb, hsl(0, 0%, 9%) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-prose-kbd-shadows: color-mix(in oklab, var(--color-fd-primary) 50%, transparent);\n }\n :where(.prose > :first-child):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n margin-top: 0;\n }\n :where(.prose > :last-child):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n margin-bottom: 0;\n }\n :where(th):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n text-align: start;\n padding: calc(var(--spacing) * 2.5);\n border-inline-start: 1px solid var(--color-fd-border);\n background: var(--color-fd-muted);\n }\n :where(th:first-child):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n border-inline-start: none;\n }\n :where(th:not(tr:last-child *), td:not(tr:last-child *)):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n border-bottom: 1px solid var(--color-fd-border);\n }\n :where(td):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n text-align: start;\n border-inline-start: 1px solid var(--color-fd-border);\n padding: calc(var(--spacing) * 2.5);\n }\n :where(td:first-child):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n border-inline-start: none;\n }\n :where(tfoot th, tfoot td):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n border-top-width: 1px;\n border-top-color: var(--tw-prose-th-borders);\n }\n :where(thead th, thead td):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n border-bottom-width: 1px;\n border-bottom-color: var(--tw-prose-th-borders);\n }\n }\n .prose-no-margin {\n & > :first-child {\n margin-top: 0;\n }\n & > :last-child {\n margin-bottom: 0;\n }\n }\n .mt-1 {\n margin-top: calc(var(--spacing) * 1);\n }\n .mt-2 {\n margin-top: calc(var(--spacing) * 2);\n }\n .mt-6 {\n margin-top: calc(var(--spacing) * 6);\n }\n .mt-px {\n margin-top: 1px;\n }\n .-mb-px {\n margin-bottom: -1px;\n }\n .mb-0 {\n margin-bottom: calc(var(--spacing) * 0);\n }\n .mb-1 {\n margin-bottom: calc(var(--spacing) * 1);\n }\n .mb-1\\.5 {\n margin-bottom: calc(var(--spacing) * 1.5);\n }\n .mb-2 {\n margin-bottom: calc(var(--spacing) * 2);\n }\n .mb-4 {\n margin-bottom: calc(var(--spacing) * 4);\n }\n .mb-6 {\n margin-bottom: calc(var(--spacing) * 6);\n }\n .mb-8 {\n margin-bottom: calc(var(--spacing) * 8);\n }\n .mb-10 {\n margin-bottom: calc(var(--spacing) * 10);\n }\n .mb-auto {\n margin-bottom: auto;\n }\n .ml-20 {\n margin-left: calc(var(--spacing) * 20);\n }\n .fd-scroll-container {\n &::-webkit-scrollbar {\n width: 5px;\n height: 5px;\n }\n &::-webkit-scrollbar-thumb {\n border-radius: 5px;\n background: var(--color-fd-border);\n }\n &::-webkit-scrollbar-track {\n background: transparent;\n }\n &::-webkit-scrollbar-corner {\n display: none;\n }\n }\n .block {\n display: block;\n }\n .flex {\n display: flex;\n }\n .grid {\n display: grid;\n }\n .hidden {\n display: none;\n }\n .inline {\n display: inline;\n }\n .inline-flex {\n display: inline-flex;\n }\n .table {\n display: table;\n }\n .size-2 {\n width: calc(var(--spacing) * 2);\n height: calc(var(--spacing) * 2);\n }\n .size-3 {\n width: calc(var(--spacing) * 3);\n height: calc(var(--spacing) * 3);\n }\n .size-3\\.5 {\n width: calc(var(--spacing) * 3.5);\n height: calc(var(--spacing) * 3.5);\n }\n .size-4 {\n width: calc(var(--spacing) * 4);\n height: calc(var(--spacing) * 4);\n }\n .size-4\\.5 {\n width: calc(var(--spacing) * 4.5);\n height: calc(var(--spacing) * 4.5);\n }\n .size-5 {\n width: calc(var(--spacing) * 5);\n height: calc(var(--spacing) * 5);\n }\n .size-6\\.5 {\n width: calc(var(--spacing) * 6.5);\n height: calc(var(--spacing) * 6.5);\n }\n .size-8 {\n width: calc(var(--spacing) * 8);\n height: calc(var(--spacing) * 8);\n }\n .size-9 {\n width: calc(var(--spacing) * 9);\n height: calc(var(--spacing) * 9);\n }\n .size-10 {\n width: calc(var(--spacing) * 10);\n height: calc(var(--spacing) * 10);\n }\n .size-14 {\n width: calc(var(--spacing) * 14);\n height: calc(var(--spacing) * 14);\n }\n .size-15 {\n width: calc(var(--spacing) * 15);\n height: calc(var(--spacing) * 15);\n }\n .size-16 {\n width: calc(var(--spacing) * 16);\n height: calc(var(--spacing) * 16);\n }\n .size-24 {\n width: calc(var(--spacing) * 24);\n height: calc(var(--spacing) * 24);\n }\n .size-40 {\n width: calc(var(--spacing) * 40);\n height: calc(var(--spacing) * 40);\n }\n .size-full {\n width: 100%;\n height: 100%;\n }\n .h-\\(--fd-animated-height\\) {\n height: var(--fd-animated-height);\n }\n .h-\\(--fd-header-height\\) {\n height: var(--fd-header-height);\n }\n .h-\\(--fd-height\\) {\n height: var(--fd-height);\n }\n .h-\\(--fd-toc-popover-height\\) {\n height: var(--fd-toc-popover-height);\n }\n .h-\\(--radix-navigation-menu-viewport-height\\) {\n height: var(--radix-navigation-menu-viewport-height);\n }\n .h-1\\.5 {\n height: calc(var(--spacing) * 1.5);\n }\n .h-3\\.5 {\n height: calc(var(--spacing) * 3.5);\n }\n .h-5 {\n height: calc(var(--spacing) * 5);\n }\n .h-6 {\n height: calc(var(--spacing) * 6);\n }\n .h-7 {\n height: calc(var(--spacing) * 7);\n }\n .h-9 {\n height: calc(var(--spacing) * 9);\n }\n .h-9\\.5 {\n height: calc(var(--spacing) * 9.5);\n }\n .h-10 {\n height: calc(var(--spacing) * 10);\n }\n .h-14 {\n height: calc(var(--spacing) * 14);\n }\n .h-16 {\n height: calc(var(--spacing) * 16);\n }\n .h-20 {\n height: calc(var(--spacing) * 20);\n }\n .h-50 {\n height: calc(var(--spacing) * 50);\n }\n .h-56 {\n height: calc(var(--spacing) * 56);\n }\n .h-60 {\n height: calc(var(--spacing) * 60);\n }\n .h-64 {\n height: calc(var(--spacing) * 64);\n }\n .h-\\[400px\\] {\n height: 400px;\n }\n .h-\\[600px\\] {\n height: 600px;\n }\n .h-\\[calc\\(var\\(--fd-docs-height\\)-var\\(--fd-docs-row-1\\)\\)\\] {\n height: calc(var(--fd-docs-height) - var(--fd-docs-row-1));\n }\n .h-\\[calc\\(var\\(--fd-docs-height\\)-var\\(--fd-docs-row-2\\)\\)\\] {\n height: calc(var(--fd-docs-height) - var(--fd-docs-row-2));\n }\n .h-\\[calc\\(var\\(--fd-docs-height\\)-var\\(--fd-docs-row-3\\)\\)\\] {\n height: calc(var(--fd-docs-height) - var(--fd-docs-row-3));\n }\n .h-fit {\n height: fit-content;\n }\n .h-full {\n height: 100%;\n }\n .h-px {\n height: 1px;\n }\n .max-h-\\(--radix-popover-content-available-height\\) {\n max-height: var(--radix-popover-content-available-height);\n }\n .max-h-32 {\n max-height: calc(var(--spacing) * 32);\n }\n .max-h-\\[50vh\\] {\n max-height: 50vh;\n }\n .max-h-\\[80svh\\] {\n max-height: 80svh;\n }\n .max-h-\\[460px\\] {\n max-height: 460px;\n }\n .max-h-\\[600px\\] {\n max-height: 600px;\n }\n .min-h-\\(--fd-docs-height\\) {\n min-height: var(--fd-docs-height);\n }\n .min-h-0 {\n min-height: calc(var(--spacing) * 0);\n }\n .min-h-50 {\n min-height: calc(var(--spacing) * 50);\n }\n .min-h-\\[300px\\] {\n min-height: 300px;\n }\n .min-h-\\[350px\\] {\n min-height: 350px;\n }\n .min-h-\\[400px\\] {\n min-height: 400px;\n }\n .min-h-full {\n min-height: 100%;\n }\n .min-h-screen {\n min-height: 100vh;\n }\n .min-h-svh {\n min-height: 100svh;\n }\n .w-\\(--fd-sidebar-width\\) {\n width: var(--fd-sidebar-width);\n }\n .w-\\(--fd-toc-width\\) {\n width: var(--fd-toc-width);\n }\n .w-\\(--radix-popover-trigger-width\\) {\n width: var(--radix-popover-trigger-width);\n }\n .w-0 {\n width: calc(var(--spacing) * 0);\n }\n .w-0\\.5 {\n width: calc(var(--spacing) * 0.5);\n }\n .w-1\\.5 {\n width: calc(var(--spacing) * 1.5);\n }\n .w-3\\.5 {\n width: calc(var(--spacing) * 3.5);\n }\n .w-4 {\n width: calc(var(--spacing) * 4);\n }\n .w-5 {\n width: calc(var(--spacing) * 5);\n }\n .w-6 {\n width: calc(var(--spacing) * 6);\n }\n .w-7 {\n width: calc(var(--spacing) * 7);\n }\n .w-9 {\n width: calc(var(--spacing) * 9);\n }\n .w-10 {\n width: calc(var(--spacing) * 10);\n }\n .w-20 {\n width: calc(var(--spacing) * 20);\n }\n .w-28 {\n width: calc(var(--spacing) * 28);\n }\n .w-30 {\n width: calc(var(--spacing) * 30);\n }\n .w-40 {\n width: calc(var(--spacing) * 40);\n }\n .w-48 {\n width: calc(var(--spacing) * 48);\n }\n .w-60 {\n width: calc(var(--spacing) * 60);\n }\n .w-64 {\n width: calc(var(--spacing) * 64);\n }\n .w-72 {\n width: calc(var(--spacing) * 72);\n }\n .w-80 {\n width: calc(var(--spacing) * 80);\n }\n .w-96 {\n width: calc(var(--spacing) * 96);\n }\n .w-\\[25\\%\\] {\n width: 25%;\n }\n .w-\\[85\\%\\] {\n width: 85%;\n }\n .w-\\[calc\\(100\\%-1rem\\)\\] {\n width: calc(100% - 1rem);\n }\n .w-fit {\n width: fit-content;\n }\n .w-full {\n width: 100%;\n }\n .w-max {\n width: max-content;\n }\n .w-px {\n width: 1px;\n }\n .w-sm {\n width: var(--container-sm);\n }\n .max-w-2xl {\n max-width: var(--container-2xl);\n }\n .max-w-30 {\n max-width: calc(var(--spacing) * 30);\n }\n .max-w-\\[98vw\\] {\n max-width: 98vw;\n }\n .max-w-\\[240px\\] {\n max-width: 240px;\n }\n .max-w-\\[380px\\] {\n max-width: 380px;\n }\n .max-w-\\[900px\\] {\n max-width: 900px;\n }\n .max-w-\\[1200px\\] {\n max-width: 1200px;\n }\n .max-w-\\[1400px\\] {\n max-width: 1400px;\n }\n .max-w-screen-sm {\n max-width: var(--breakpoint-sm);\n }\n .max-w-sm {\n max-width: var(--container-sm);\n }\n .min-w-0 {\n min-width: calc(var(--spacing) * 0);\n }\n .min-w-20 {\n min-width: calc(var(--spacing) * 20);\n }\n .min-w-28 {\n min-width: calc(var(--spacing) * 28);\n }\n .min-w-\\[240px\\] {\n min-width: 240px;\n }\n .min-w-fit {\n min-width: fit-content;\n }\n .min-w-full {\n min-width: 100%;\n }\n .flex-1 {\n flex: 1;\n }\n .shrink {\n flex-shrink: 1;\n }\n .shrink-0 {\n flex-shrink: 0;\n }\n .origin-\\(--radix-popover-content-transform-origin\\) {\n transform-origin: var(--radix-popover-content-transform-origin);\n }\n .origin-\\[top_center\\] {\n transform-origin: top center;\n }\n .-translate-x-\\(--fd-sidebar-width\\) {\n --tw-translate-x: calc(var(--fd-sidebar-width) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-x-1\\/2 {\n --tw-translate-x: calc(calc(1/2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-x-\\[50\\%\\] {\n --tw-translate-x: calc(50% * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-x-\\[80\\%\\] {\n --tw-translate-x: calc(80% * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-x-\\[100\\%\\] {\n --tw-translate-x: calc(100% * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .translate-x-2 {\n --tw-translate-x: calc(var(--spacing) * 2);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .translate-x-\\[50\\%\\] {\n --tw-translate-x: 50%;\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .translate-x-\\[80\\%\\] {\n --tw-translate-x: 80%;\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .translate-x-\\[100\\%\\] {\n --tw-translate-x: 100%;\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-1\\/2 {\n --tw-translate-y: calc(calc(1/2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-full {\n --tw-translate-y: -100%;\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .translate-y-\\[10\\%\\] {\n --tw-translate-y: 10%;\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .translate-y-\\[20\\%\\] {\n --tw-translate-y: 20%;\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .translate-y-\\[25\\%\\] {\n --tw-translate-y: 25%;\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .translate-y-full {\n --tw-translate-y: 100%;\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-rotate-90 {\n rotate: calc(90deg * -1);\n }\n .rotate-130 {\n rotate: 130deg;\n }\n .rotate-180 {\n rotate: 180deg;\n }\n .transform {\n transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);\n }\n .animate-pulse {\n animation: var(--animate-pulse);\n }\n .animate-spin {\n animation: var(--animate-spin);\n }\n .cursor-pointer {\n cursor: pointer;\n }\n .scroll-m-24 {\n scroll-margin: calc(var(--spacing) * 24);\n }\n .scroll-m-28 {\n scroll-margin: calc(var(--spacing) * 28);\n }\n .scroll-mt-24 {\n scroll-margin-top: calc(var(--spacing) * 24);\n }\n .list-none {\n list-style-type: none;\n }\n .auto-cols-auto {\n grid-auto-columns: auto;\n }\n .auto-rows-auto {\n grid-auto-rows: auto;\n }\n .grid-cols-1 {\n grid-template-columns: repeat(1, minmax(0, 1fr));\n }\n .grid-cols-2 {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n .grid-cols-\\[1fr\\] {\n grid-template-columns: 1fr;\n }\n .grid-cols-\\[1fr_3fr\\] {\n grid-template-columns: 1fr 3fr;\n }\n .flex-col {\n flex-direction: column;\n }\n .flex-row {\n flex-direction: row;\n }\n .flex-row-reverse {\n flex-direction: row-reverse;\n }\n .flex-wrap {\n flex-wrap: wrap;\n }\n .items-center {\n align-items: center;\n }\n .items-end {\n align-items: flex-end;\n }\n .items-start {\n align-items: flex-start;\n }\n .justify-between {\n justify-content: space-between;\n }\n .justify-center {\n justify-content: center;\n }\n .justify-end {\n justify-content: flex-end;\n }\n .gap-0\\.5 {\n gap: calc(var(--spacing) * 0.5);\n }\n .gap-1 {\n gap: calc(var(--spacing) * 1);\n }\n .gap-1\\.5 {\n gap: calc(var(--spacing) * 1.5);\n }\n .gap-2 {\n gap: calc(var(--spacing) * 2);\n }\n .gap-2\\.5 {\n gap: calc(var(--spacing) * 2.5);\n }\n .gap-3 {\n gap: calc(var(--spacing) * 3);\n }\n .gap-3\\.5 {\n gap: calc(var(--spacing) * 3.5);\n }\n .gap-4 {\n gap: calc(var(--spacing) * 4);\n }\n .gap-5 {\n gap: calc(var(--spacing) * 5);\n }\n .gap-6 {\n gap: calc(var(--spacing) * 6);\n }\n .gap-10 {\n gap: calc(var(--spacing) * 10);\n }\n .space-y-1\\.5 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 1.5) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 1.5) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-3 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-4 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .gap-y-4 {\n row-gap: calc(var(--spacing) * 4);\n }\n .divide-y {\n :where(& > :not(:last-child)) {\n --tw-divide-y-reverse: 0;\n border-bottom-style: var(--tw-border-style);\n border-top-style: var(--tw-border-style);\n border-top-width: calc(1px * var(--tw-divide-y-reverse));\n border-bottom-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));\n }\n }\n .divide-fd-border {\n :where(& > :not(:last-child)) {\n border-color: var(--color-fd-border);\n }\n }\n .truncate {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .overflow-auto {\n overflow: auto;\n }\n .overflow-hidden {\n overflow: hidden;\n }\n .overflow-x-auto {\n overflow-x: auto;\n }\n .overflow-x-clip {\n overflow-x: clip;\n }\n .overflow-x-hidden {\n overflow-x: hidden;\n }\n .overflow-y-auto {\n overflow-y: auto;\n }\n .overflow-y-scroll {\n overflow-y: scroll;\n }\n .overscroll-contain {\n overscroll-behavior: contain;\n }\n .\\!rounded-none {\n border-radius: 0 !important;\n }\n .rounded-2xl {\n border-radius: var(--radius-2xl);\n }\n .rounded-3xl {\n border-radius: var(--radius-3xl);\n }\n .rounded-\\[4px\\] {\n border-radius: 4px;\n }\n .rounded-\\[5px\\] {\n border-radius: 5px;\n }\n .rounded-\\[12px\\] {\n border-radius: 12px;\n }\n .rounded-\\[15px\\] {\n border-radius: 15px;\n }\n .rounded-\\[inherit\\] {\n border-radius: inherit;\n }\n .rounded-full {\n border-radius: calc(infinity * 1px);\n }\n .rounded-lg {\n border-radius: var(--radius-lg);\n }\n .rounded-md {\n border-radius: var(--radius-md);\n }\n .rounded-sm {\n border-radius: var(--radius-sm);\n }\n .rounded-xl {\n border-radius: var(--radius-xl);\n }\n .rounded-e-sm {\n border-start-end-radius: var(--radius-sm);\n border-end-end-radius: var(--radius-sm);\n }\n .rounded-t-lg {\n border-top-left-radius: var(--radius-lg);\n border-top-right-radius: var(--radius-lg);\n }\n .\\!border-\\[1px\\] {\n border-style: var(--tw-border-style) !important;\n border-width: 1px !important;\n }\n .border {\n border-style: var(--tw-border-style);\n border-width: 1px;\n }\n .border-0 {\n border-style: var(--tw-border-style);\n border-width: 0px;\n }\n .border-s {\n border-inline-start-style: var(--tw-border-style);\n border-inline-start-width: 1px;\n }\n .border-e {\n border-inline-end-style: var(--tw-border-style);\n border-inline-end-width: 1px;\n }\n .border-t {\n border-top-style: var(--tw-border-style);\n border-top-width: 1px;\n }\n .border-r {\n border-right-style: var(--tw-border-style);\n border-right-width: 1px;\n }\n .border-b {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 1px;\n }\n .border-b-2 {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 2px;\n }\n .border-l {\n border-left-style: var(--tw-border-style);\n border-left-width: 1px;\n }\n .\\!border-neutral-200 {\n border-color: var(--color-neutral-200) !important;\n }\n .border-black\\/5 {\n border-color: color-mix(in srgb, #000 5%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-black) 5%, transparent);\n }\n }\n .border-black\\/10 {\n border-color: color-mix(in srgb, #000 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-black) 10%, transparent);\n }\n }\n .border-black\\/30 {\n border-color: color-mix(in srgb, #000 30%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-black) 30%, transparent);\n }\n }\n .border-black\\/50 {\n border-color: color-mix(in srgb, #000 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-black) 50%, transparent);\n }\n }\n .border-fd-border {\n border-color: var(--color-fd-border);\n }\n .border-fd-foreground\\/10 {\n border-color: color-mix(in srgb, hsl(0, 0%, 3.9%) 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-fd-foreground) 10%, transparent);\n }\n }\n .border-fd-primary {\n border-color: var(--color-fd-primary);\n }\n .border-green-200 {\n border-color: var(--color-green-200);\n }\n .border-neutral-200 {\n border-color: var(--color-neutral-200);\n }\n .border-neutral-300 {\n border-color: var(--color-neutral-300);\n }\n .border-neutral-300\\/50 {\n border-color: color-mix(in srgb, oklch(87% 0 0) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-neutral-300) 50%, transparent);\n }\n }\n .border-transparent {\n border-color: transparent;\n }\n .bg-\\(--callout-color\\)\\/50 {\n background-color: var(--callout-color);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--callout-color) 50%, transparent);\n }\n }\n .bg-\\(--shiki-light-bg\\) {\n background-color: var(--shiki-light-bg);\n }\n .bg-\\[\\#F0F0F0\\] {\n background-color: #F0F0F0;\n }\n .bg-background {\n background-color: var(--background);\n }\n .bg-background\\/50 {\n background-color: var(--background);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--background) 50%, transparent);\n }\n }\n .bg-black {\n background-color: var(--color-black);\n }\n .bg-black\\/5 {\n background-color: color-mix(in srgb, #000 5%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-black) 5%, transparent);\n }\n }\n .bg-black\\/10 {\n background-color: color-mix(in srgb, #000 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-black) 10%, transparent);\n }\n }\n .bg-black\\/80 {\n background-color: color-mix(in srgb, #000 80%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-black) 80%, transparent);\n }\n }\n .bg-blue-200 {\n background-color: var(--color-blue-200);\n }\n .bg-fd-accent {\n background-color: var(--color-fd-accent);\n }\n .bg-fd-background {\n background-color: var(--color-fd-background);\n }\n .bg-fd-background\\/80 {\n background-color: color-mix(in srgb, hsl(0, 0%, 96%) 80%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-fd-background) 80%, transparent);\n }\n }\n .bg-fd-border {\n background-color: var(--color-fd-border);\n }\n .bg-fd-card {\n background-color: var(--color-fd-card);\n }\n .bg-fd-foreground\\/10 {\n background-color: color-mix(in srgb, hsl(0, 0%, 3.9%) 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-fd-foreground) 10%, transparent);\n }\n }\n .bg-fd-muted {\n background-color: var(--color-fd-muted);\n }\n .bg-fd-overlay {\n background-color: var(--color-fd-overlay);\n }\n .bg-fd-popover {\n background-color: var(--color-fd-popover);\n }\n .bg-fd-popover\\/60 {\n background-color: color-mix(in srgb, hsl(0, 0%, 98%) 60%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-fd-popover) 60%, transparent);\n }\n }\n .bg-fd-primary {\n background-color: var(--color-fd-primary);\n }\n .bg-fd-primary\\/10 {\n background-color: color-mix(in srgb, hsl(0, 0%, 9%) 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-fd-primary) 10%, transparent);\n }\n }\n .bg-fd-secondary {\n background-color: var(--color-fd-secondary);\n }\n .bg-fd-secondary\\/50 {\n background-color: color-mix(in srgb, hsl(0, 0%, 93.1%) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-fd-secondary) 50%, transparent);\n }\n }\n .bg-green-100\\/80 {\n background-color: color-mix(in srgb, oklch(96.2% 0.044 156.743) 80%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-green-100) 80%, transparent);\n }\n }\n .bg-green-200 {\n background-color: var(--color-green-200);\n }\n .bg-green-800 {\n background-color: var(--color-green-800);\n }\n .bg-neutral-100 {\n background-color: var(--color-neutral-100);\n }\n .bg-neutral-200 {\n background-color: var(--color-neutral-200);\n }\n .bg-neutral-200\\/50 {\n background-color: color-mix(in srgb, oklch(92.2% 0 0) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-neutral-200) 50%, transparent);\n }\n }\n .bg-red-200 {\n background-color: var(--color-red-200);\n }\n .bg-red-300 {\n background-color: var(--color-red-300);\n }\n .bg-transparent {\n background-color: transparent;\n }\n .bg-violet-300 {\n background-color: var(--color-violet-300);\n }\n .bg-violet-400 {\n background-color: var(--color-violet-400);\n }\n .bg-white {\n background-color: var(--color-white);\n }\n .bg-white\\/50 {\n background-color: color-mix(in srgb, #fff 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-white) 50%, transparent);\n }\n }\n .bg-yellow-200 {\n background-color: var(--color-yellow-200);\n }\n .bg-yellow-200\\/40 {\n background-color: color-mix(in srgb, oklch(94.5% 0.129 101.54) 40%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-yellow-200) 40%, transparent);\n }\n }\n .bg-gradient-to-t {\n --tw-gradient-position: to top in oklab;\n background-image: linear-gradient(var(--tw-gradient-stops));\n }\n .bg-\\[radial-gradient\\(\\#e5e7eb_1px\\,transparent_1px\\)\\] {\n background-image: radial-gradient(#e5e7eb 1px,transparent 1px);\n }\n .from-neutral-100 {\n --tw-gradient-from: var(--color-neutral-100);\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .via-neutral-100\\/40 {\n --tw-gradient-via: color-mix(in srgb, oklch(97% 0 0) 40%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-gradient-via: color-mix(in oklab, var(--color-neutral-100) 40%, transparent);\n }\n --tw-gradient-via-stops: var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-via-stops);\n }\n .to-transparent {\n --tw-gradient-to: transparent;\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .mask-\\[linear-gradient\\(to_bottom\\,transparent\\,white_16px\\,white_calc\\(100\\%-16px\\)\\,transparent\\)\\] {\n mask-image: linear-gradient(to bottom,transparent,white 16px,white calc(100% - 16px),transparent);\n }\n .\\[background-size\\:16px_16px\\] {\n background-size: 16px 16px;\n }\n .fill-\\(--callout-color\\) {\n fill: var(--callout-color);\n }\n .fill-emerald-500 {\n fill: var(--color-emerald-500);\n }\n .stroke-current\\/25 {\n stroke: currentcolor;\n @supports (color: color-mix(in lab, red, red)) {\n stroke: color-mix(in oklab, currentcolor 25%, transparent);\n }\n }\n .stroke-fd-foreground\\/10 {\n stroke: color-mix(in srgb, hsl(0, 0%, 3.9%) 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n stroke: color-mix(in oklab, var(--color-fd-foreground) 10%, transparent);\n }\n }\n .object-cover {\n object-fit: cover;\n }\n .p-0 {\n padding: calc(var(--spacing) * 0);\n }\n .p-0\\.5 {\n padding: calc(var(--spacing) * 0.5);\n }\n .p-1 {\n padding: calc(var(--spacing) * 1);\n }\n .p-1\\.5 {\n padding: calc(var(--spacing) * 1.5);\n }\n .p-2 {\n padding: calc(var(--spacing) * 2);\n }\n .p-3 {\n padding: calc(var(--spacing) * 3);\n }\n .p-4 {\n padding: calc(var(--spacing) * 4);\n }\n .p-5 {\n padding: calc(var(--spacing) * 5);\n }\n .p-8 {\n padding: calc(var(--spacing) * 8);\n }\n .p-10 {\n padding: calc(var(--spacing) * 10);\n }\n .px-1 {\n padding-inline: calc(var(--spacing) * 1);\n }\n .px-1\\.5 {\n padding-inline: calc(var(--spacing) * 1.5);\n }\n .px-2 {\n padding-inline: calc(var(--spacing) * 2);\n }\n .px-2\\.5 {\n padding-inline: calc(var(--spacing) * 2.5);\n }\n .px-3 {\n padding-inline: calc(var(--spacing) * 3);\n }\n .px-4 {\n padding-inline: calc(var(--spacing) * 4);\n }\n .px-5 {\n padding-inline: calc(var(--spacing) * 5);\n }\n .px-6 {\n padding-inline: calc(var(--spacing) * 6);\n }\n .px-10 {\n padding-inline: calc(var(--spacing) * 10);\n }\n .px-20 {\n padding-inline: calc(var(--spacing) * 20);\n }\n .py-0\\.5 {\n padding-block: calc(var(--spacing) * 0.5);\n }\n .py-1 {\n padding-block: calc(var(--spacing) * 1);\n }\n .py-1\\.5 {\n padding-block: calc(var(--spacing) * 1.5);\n }\n .py-2 {\n padding-block: calc(var(--spacing) * 2);\n }\n .py-2\\.5 {\n padding-block: calc(var(--spacing) * 2.5);\n }\n .py-3 {\n padding-block: calc(var(--spacing) * 3);\n }\n .py-3\\.5 {\n padding-block: calc(var(--spacing) * 3.5);\n }\n .py-5 {\n padding-block: calc(var(--spacing) * 5);\n }\n .py-6 {\n padding-block: calc(var(--spacing) * 6);\n }\n .py-10 {\n padding-block: calc(var(--spacing) * 10);\n }\n .py-12 {\n padding-block: calc(var(--spacing) * 12);\n }\n .py-px {\n padding-block: 1px;\n }\n .ps-1 {\n padding-inline-start: calc(var(--spacing) * 1);\n }\n .ps-2 {\n padding-inline-start: calc(var(--spacing) * 2);\n }\n .ps-2\\.5 {\n padding-inline-start: calc(var(--spacing) * 2.5);\n }\n .ps-3 {\n padding-inline-start: calc(var(--spacing) * 3);\n }\n .ps-4 {\n padding-inline-start: calc(var(--spacing) * 4);\n }\n .ps-6 {\n padding-inline-start: calc(var(--spacing) * 6);\n }\n .ps-8 {\n padding-inline-start: calc(var(--spacing) * 8);\n }\n .pe-2 {\n padding-inline-end: calc(var(--spacing) * 2);\n }\n .pe-2\\.5 {\n padding-inline-end: calc(var(--spacing) * 2.5);\n }\n .pe-4 {\n padding-inline-end: calc(var(--spacing) * 4);\n }\n .pt-0 {\n padding-top: calc(var(--spacing) * 0);\n }\n .pt-2 {\n padding-top: calc(var(--spacing) * 2);\n }\n .pt-3 {\n padding-top: calc(var(--spacing) * 3);\n }\n .pt-12 {\n padding-top: calc(var(--spacing) * 12);\n }\n .pt-20 {\n padding-top: calc(var(--spacing) * 20);\n }\n .pb-1\\.5 {\n padding-bottom: calc(var(--spacing) * 1.5);\n }\n .pb-2 {\n padding-bottom: calc(var(--spacing) * 2);\n }\n .pb-5 {\n padding-bottom: calc(var(--spacing) * 5);\n }\n .text-center {\n text-align: center;\n }\n .text-end {\n text-align: end;\n }\n .text-start {\n text-align: start;\n }\n .font-mono {\n font-family: var(--font-geist-mono);\n }\n .text-2xl {\n font-size: var(--text-2xl);\n line-height: var(--tw-leading, var(--text-2xl--line-height));\n }\n .text-3xl {\n font-size: var(--text-3xl);\n line-height: var(--tw-leading, var(--text-3xl--line-height));\n }\n .text-4xl {\n font-size: var(--text-4xl);\n line-height: var(--tw-leading, var(--text-4xl--line-height));\n }\n .text-base {\n font-size: var(--text-base);\n line-height: var(--tw-leading, var(--text-base--line-height));\n }\n .text-lg {\n font-size: var(--text-lg);\n line-height: var(--tw-leading, var(--text-lg--line-height));\n }\n .text-sm {\n font-size: var(--text-sm);\n line-height: var(--tw-leading, var(--text-sm--line-height));\n }\n .text-xl {\n font-size: var(--text-xl);\n line-height: var(--tw-leading, var(--text-xl--line-height));\n }\n .text-xs {\n font-size: var(--text-xs);\n line-height: var(--tw-leading, var(--text-xs--line-height));\n }\n .text-\\[0\\.8125rem\\] {\n font-size: 0.8125rem;\n }\n .text-\\[0\\.9375rem\\] {\n font-size: 0.9375rem;\n }\n .text-\\[1\\.75em\\] {\n font-size: 1.75em;\n }\n .text-\\[11px\\] {\n font-size: 11px;\n }\n .text-\\[12px\\] {\n font-size: 12px;\n }\n .leading-\\[1\\.05\\] {\n --tw-leading: 1.05;\n line-height: 1.05;\n }\n .leading-none {\n --tw-leading: 1;\n line-height: 1;\n }\n .leading-relaxed {\n --tw-leading: var(--leading-relaxed);\n line-height: var(--leading-relaxed);\n }\n .font-bold {\n --tw-font-weight: var(--font-weight-bold);\n font-weight: var(--font-weight-bold);\n }\n .font-medium {\n --tw-font-weight: var(--font-weight-medium);\n font-weight: var(--font-weight-medium);\n }\n .font-semibold {\n --tw-font-weight: var(--font-weight-semibold);\n font-weight: var(--font-weight-semibold);\n }\n .tracking-tight {\n --tw-tracking: var(--tracking-tight);\n letter-spacing: var(--tracking-tight);\n }\n .text-balance {\n text-wrap: balance;\n }\n .text-nowrap {\n text-wrap: nowrap;\n }\n .wrap-anywhere {\n overflow-wrap: anywhere;\n }\n .whitespace-nowrap {\n white-space: nowrap;\n }\n .text-\\(--callout-color\\) {\n color: var(--callout-color);\n }\n .text-amber-500 {\n color: var(--color-amber-500);\n }\n .text-black {\n color: var(--color-black);\n }\n .text-emerald-500 {\n color: var(--color-emerald-500);\n }\n .text-fd-accent-foreground {\n color: var(--color-fd-accent-foreground);\n }\n .text-fd-card {\n color: var(--color-fd-card);\n }\n .text-fd-card-foreground {\n color: var(--color-fd-card-foreground);\n }\n .text-fd-foreground {\n color: var(--color-fd-foreground);\n }\n .text-fd-foreground\\/80 {\n color: color-mix(in srgb, hsl(0, 0%, 3.9%) 80%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, var(--color-fd-foreground) 80%, transparent);\n }\n }\n .text-fd-muted-foreground {\n color: var(--color-fd-muted-foreground);\n }\n .text-fd-muted-foreground\\/50 {\n color: color-mix(in srgb, hsl(0, 0%, 45.1%) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, var(--color-fd-muted-foreground) 50%, transparent);\n }\n }\n .text-fd-popover-foreground {\n color: var(--color-fd-popover-foreground);\n }\n .text-fd-popover-foreground\\/80 {\n color: color-mix(in srgb, hsl(0, 0%, 15.1%) 80%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, var(--color-fd-popover-foreground) 80%, transparent);\n }\n }\n .text-fd-primary {\n color: var(--color-fd-primary);\n }\n .text-fd-primary-foreground {\n color: var(--color-fd-primary-foreground);\n }\n .text-fd-primary\\/50 {\n color: color-mix(in srgb, hsl(0, 0%, 9%) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, var(--color-fd-primary) 50%, transparent);\n }\n }\n .text-fd-secondary-foreground {\n color: var(--color-fd-secondary-foreground);\n }\n .text-foreground {\n color: var(--foreground);\n }\n .text-foreground\\/70 {\n color: var(--foreground);\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, var(--foreground) 70%, transparent);\n }\n }\n .text-fuchsia-500 {\n color: var(--color-fuchsia-500);\n }\n .text-green-500 {\n color: var(--color-green-500);\n }\n .text-neutral-400 {\n color: var(--color-neutral-400);\n }\n .text-neutral-500 {\n color: var(--color-neutral-500);\n }\n .text-neutral-700 {\n color: var(--color-neutral-700);\n }\n .text-sky-500 {\n color: var(--color-sky-500);\n }\n .text-white {\n color: var(--color-white);\n }\n .line-through {\n text-decoration-line: line-through;\n }\n .underline {\n text-decoration-line: underline;\n }\n .antialiased {\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n .opacity-0 {\n opacity: 0%;\n }\n .shadow {\n --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-2xl {\n --tw-shadow: 0 25px 50px -12px var(--tw-shadow-color, rgb(0 0 0 / 0.25));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-lg {\n --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-md {\n --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-none {\n --tw-shadow: 0 0 #0000;\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-sm {\n --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .ring-1 {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-black\\/50 {\n --tw-shadow-color: color-mix(in srgb, #000 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--color-black) 50%, transparent) var(--tw-shadow-alpha), transparent);\n }\n }\n .shadow-white {\n --tw-shadow-color: #fff;\n @supports (color: color-mix(in lab, red, red)) {\n --tw-shadow-color: color-mix(in oklab, var(--color-white) var(--tw-shadow-alpha), transparent);\n }\n }\n .ring-black\\/10 {\n --tw-ring-color: color-mix(in srgb, #000 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-ring-color: color-mix(in oklab, var(--color-black) 10%, transparent);\n }\n }\n .ring-black\\/30 {\n --tw-ring-color: color-mix(in srgb, #000 30%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-ring-color: color-mix(in oklab, var(--color-black) 30%, transparent);\n }\n }\n .ring-neutral-200 {\n --tw-ring-color: var(--color-neutral-200);\n }\n .ring-neutral-500 {\n --tw-ring-color: var(--color-neutral-500);\n }\n .outline {\n outline-style: var(--tw-outline-style);\n outline-width: 1px;\n }\n .filter {\n filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);\n }\n .backdrop-blur-lg {\n --tw-backdrop-blur: blur(var(--blur-lg));\n -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n }\n .backdrop-blur-md {\n --tw-backdrop-blur: blur(var(--blur-md));\n -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n }\n .backdrop-blur-sm {\n --tw-backdrop-blur: blur(var(--blur-sm));\n -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n }\n .backdrop-blur-xs {\n --tw-backdrop-blur: blur(var(--blur-xs));\n -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n }\n .transition {\n transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-\\[grid-template-columns\\] {\n transition-property: grid-template-columns;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-\\[height\\] {\n transition-property: height;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-\\[opacity\\,translate\\,color\\] {\n transition-property: opacity,translate,color;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-\\[opacity\\,translate\\] {\n transition-property: opacity,translate;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-\\[top\\,height\\] {\n transition-property: top,height;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-\\[width\\,height\\] {\n transition-property: width,height;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-\\[width\\,inset-block\\,translate\\,background-color\\] {\n transition-property: width,inset-block,translate,background-color;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-all {\n transition-property: all;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-colors {\n transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-opacity {\n transition-property: opacity;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-transform {\n transition-property: transform, translate, scale, rotate;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .duration-100 {\n --tw-duration: 100ms;\n transition-duration: 100ms;\n }\n .duration-200 {\n --tw-duration: 200ms;\n transition-duration: 200ms;\n }\n .duration-250 {\n --tw-duration: 250ms;\n transition-duration: 250ms;\n }\n .duration-300 {\n --tw-duration: 300ms;\n transition-duration: 300ms;\n }\n .duration-400 {\n --tw-duration: 400ms;\n transition-duration: 400ms;\n }\n .ease-linear {\n --tw-ease: linear;\n transition-timing-function: linear;\n }\n .outline-none {\n --tw-outline-style: none;\n outline-style: none;\n }\n .select-none {\n -webkit-user-select: none;\n user-select: none;\n }\n .\\[--fd-docs-height\\:100dvh\\] {\n --fd-docs-height: 100dvh;\n }\n .\\[--fd-header-height\\:0px\\] {\n --fd-header-height: 0px;\n }\n .\\[--fd-layout-width\\:1400px\\] {\n --fd-layout-width: 1400px;\n }\n .\\[--fd-sidebar-width\\:0px\\] {\n --fd-sidebar-width: 0px;\n }\n .\\[--fd-toc-popover-height\\:0px\\] {\n --fd-toc-popover-height: 0px;\n }\n .\\[--fd-toc-width\\:0px\\] {\n --fd-toc-width: 0px;\n }\n .\\[grid-area\\:header\\] {\n grid-area: header;\n }\n .\\[grid-area\\:main\\] {\n grid-area: main;\n }\n .\\[grid-area\\:sidebar\\] {\n grid-area: sidebar;\n }\n .\\[grid-area\\:toc-popover\\] {\n grid-area: toc-popover;\n }\n .\\[grid-area\\:toc\\] {\n grid-area: toc;\n }\n .\\[scrollbar-width\\:none\\] {\n scrollbar-width: none;\n }\n .text-shadow-2xs {\n text-shadow: 0px 1px 0px var(--tw-text-shadow-color, rgb(0 0 0 / 0.15));\n }\n .\\*\\:pointer-events-auto {\n :is(& > *) {\n pointer-events: auto;\n }\n }\n .\\*\\:col-start-1 {\n :is(& > *) {\n grid-column-start: 1;\n }\n }\n .\\*\\:row-start-1 {\n :is(& > *) {\n grid-row-start: 1;\n }\n }\n .\\*\\:mx-auto {\n :is(& > *) {\n margin-inline: auto;\n }\n }\n .\\*\\:my-auto {\n :is(& > *) {\n margin-block: auto;\n }\n }\n .\\*\\:flex {\n :is(& > *) {\n display: flex;\n }\n }\n .\\*\\:w-\\(--fd-sidebar-width\\) {\n :is(& > *) {\n width: var(--fd-sidebar-width);\n }\n }\n .\\*\\:max-w-\\(--fd-layout-width\\) {\n :is(& > *) {\n max-width: var(--fd-layout-width);\n }\n }\n .\\*\\:max-w-\\[900px\\] {\n :is(& > *) {\n max-width: 900px;\n }\n }\n .\\*\\:max-w-\\[1285px\\] {\n :is(& > *) {\n max-width: 1285px;\n }\n }\n .\\*\\:flex-col {\n :is(& > *) {\n flex-direction: column;\n }\n }\n .\\*\\:border-b {\n :is(& > *) {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 1px;\n }\n }\n .not-last\\:mb-2 {\n &:not(*:last-child) {\n margin-bottom: calc(var(--spacing) * 2);\n }\n }\n .group-hover\\/code\\:opacity-100 {\n &:is(:where(.group\\/code):hover *) {\n @media (hover: hover) {\n opacity: 100%;\n }\n }\n }\n .group-data-\\[state\\=active\\]\\:bg-fd-primary {\n &:is(:where(.group)[data-state=\"active\"] *) {\n background-color: var(--color-fd-primary);\n }\n }\n .group-data-\\[state\\=open\\]\\:rotate-90 {\n &:is(:where(.group)[data-state=\"open\"] *) {\n rotate: 90deg;\n }\n }\n .group-data-\\[state\\=open\\]\\:rotate-180 {\n &:is(:where(.group)[data-state=\"open\"] *) {\n rotate: 180deg;\n }\n }\n .peer-hover\\:opacity-100 {\n &:is(:where(.peer):hover ~ *) {\n @media (hover: hover) {\n opacity: 100%;\n }\n }\n }\n .placeholder\\:text-fd-muted-foreground {\n &::placeholder {\n color: var(--color-fd-muted-foreground);\n }\n }\n .before\\:absolute {\n &::before {\n content: var(--tw-content);\n position: absolute;\n }\n }\n .before\\:inset-y-1 {\n &::before {\n content: var(--tw-content);\n inset-block: calc(var(--spacing) * 1);\n }\n }\n .before\\:start-2\\.5 {\n &::before {\n content: var(--tw-content);\n inset-inline-start: calc(var(--spacing) * 2.5);\n }\n }\n .before\\:w-px {\n &::before {\n content: var(--tw-content);\n width: 1px;\n }\n }\n .before\\:bg-fd-border {\n &::before {\n content: var(--tw-content);\n background-color: var(--color-fd-border);\n }\n }\n .before\\:content-\\[\\'\\'\\] {\n &::before {\n --tw-content: '';\n content: var(--tw-content);\n }\n }\n .first\\:ms-0 {\n &:first-child {\n margin-inline-start: calc(var(--spacing) * 0);\n }\n }\n .first\\:mt-0 {\n &:first-child {\n margin-top: calc(var(--spacing) * 0);\n }\n }\n .first\\:pt-0 {\n &:first-child {\n padding-top: calc(var(--spacing) * 0);\n }\n }\n .last\\:me-0 {\n &:last-child {\n margin-inline-end: calc(var(--spacing) * 0);\n }\n }\n .last\\:rounded-b-xl {\n &:last-child {\n border-bottom-right-radius: var(--radius-xl);\n border-bottom-left-radius: var(--radius-xl);\n }\n }\n .last\\:pb-0 {\n &:last-child {\n padding-bottom: calc(var(--spacing) * 0);\n }\n }\n .\\*\\:last\\:border-b-0 {\n :is(& > *) {\n &:last-child {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 0px;\n }\n }\n }\n .empty\\:mb-0 {\n &:empty {\n margin-bottom: calc(var(--spacing) * 0);\n }\n }\n .empty\\:hidden {\n &:empty {\n display: none;\n }\n }\n .hover\\:scale-105 {\n &:hover {\n @media (hover: hover) {\n --tw-scale-x: 105%;\n --tw-scale-y: 105%;\n --tw-scale-z: 105%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n }\n }\n .hover\\:bg-black\\/5 {\n &:hover {\n @media (hover: hover) {\n background-color: color-mix(in srgb, #000 5%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-black) 5%, transparent);\n }\n }\n }\n }\n .hover\\:bg-fd-accent {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-fd-accent);\n }\n }\n }\n .hover\\:bg-fd-accent\\/50 {\n &:hover {\n @media (hover: hover) {\n background-color: color-mix(in srgb, hsla(0, 0%, 82%, 50%) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-fd-accent) 50%, transparent);\n }\n }\n }\n }\n .hover\\:bg-fd-accent\\/80 {\n &:hover {\n @media (hover: hover) {\n background-color: color-mix(in srgb, hsla(0, 0%, 82%, 50%) 80%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-fd-accent) 80%, transparent);\n }\n }\n }\n }\n .hover\\:bg-fd-primary\\/80 {\n &:hover {\n @media (hover: hover) {\n background-color: color-mix(in srgb, hsl(0, 0%, 9%) 80%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-fd-primary) 80%, transparent);\n }\n }\n }\n }\n .hover\\:bg-neutral-100 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-neutral-100);\n }\n }\n }\n .hover\\:bg-neutral-200 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-neutral-200);\n }\n }\n }\n .hover\\:bg-neutral-200\\/80 {\n &:hover {\n @media (hover: hover) {\n background-color: color-mix(in srgb, oklch(92.2% 0 0) 80%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-neutral-200) 80%, transparent);\n }\n }\n }\n }\n .hover\\:text-fd-accent-foreground {\n &:hover {\n @media (hover: hover) {\n color: var(--color-fd-accent-foreground);\n }\n }\n }\n .hover\\:text-fd-accent-foreground\\/80 {\n &:hover {\n @media (hover: hover) {\n color: color-mix(in srgb, hsl(0, 0%, 9%) 80%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, var(--color-fd-accent-foreground) 80%, transparent);\n }\n }\n }\n }\n .hover\\:text-fd-popover-foreground\\/50 {\n &:hover {\n @media (hover: hover) {\n color: color-mix(in srgb, hsl(0, 0%, 15.1%) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, var(--color-fd-popover-foreground) 50%, transparent);\n }\n }\n }\n }\n .hover\\:text-foreground {\n &:hover {\n @media (hover: hover) {\n color: var(--foreground);\n }\n }\n }\n .hover\\:text-neutral-700 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-neutral-700);\n }\n }\n }\n .hover\\:text-neutral-900 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-neutral-900);\n }\n }\n }\n .hover\\:opacity-80 {\n &:hover {\n @media (hover: hover) {\n opacity: 80%;\n }\n }\n }\n .hover\\:transition-none {\n &:hover {\n @media (hover: hover) {\n transition-property: none;\n }\n }\n }\n .focus-visible\\:ring-2 {\n &:focus-visible {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n }\n .focus-visible\\:ring-fd-ring {\n &:focus-visible {\n --tw-ring-color: var(--color-fd-ring);\n }\n }\n .focus-visible\\:outline-none {\n &:focus-visible {\n --tw-outline-style: none;\n outline-style: none;\n }\n }\n .focus-visible\\:ring-inset {\n &:focus-visible {\n --tw-ring-inset: inset;\n }\n }\n .active\\:translate-x-\\[96px\\] {\n &:active {\n --tw-translate-x: 96px;\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n }\n .active\\:scale-95 {\n &:active {\n --tw-scale-x: 95%;\n --tw-scale-y: 95%;\n --tw-scale-z: 95%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n }\n .active\\:rotate-45 {\n &:active {\n rotate: 45deg;\n }\n }\n .active\\:bg-black\\/5 {\n &:active {\n background-color: color-mix(in srgb, #000 5%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-black) 5%, transparent);\n }\n }\n }\n .active\\:bg-neutral-100 {\n &:active {\n background-color: var(--color-neutral-100);\n }\n }\n .active\\:text-black {\n &:active {\n color: var(--color-black);\n }\n }\n .disabled\\:pointer-events-none {\n &:disabled {\n pointer-events: none;\n }\n }\n .disabled\\:opacity-50 {\n &:disabled {\n opacity: 50%;\n }\n }\n .has-focus-visible\\:bg-fd-accent {\n &:has(*:focus-visible) {\n background-color: var(--color-fd-accent);\n }\n }\n .has-data-\\[active\\=true\\]\\:text-fd-primary {\n &:has(*[data-active=\"true\"]) {\n color: var(--color-fd-primary);\n }\n }\n .\\*\\:has-\\[\\+\\:last-child\\[data-empty\\=true\\]\\]\\:border-b-0 {\n :is(& > *) {\n &:has(+:last-child[data-empty=true]) {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 0px;\n }\n }\n }\n .data-checked\\:text-fd-accent-foreground {\n &[data-checked] {\n color: var(--color-fd-accent-foreground);\n }\n }\n .data-\\[active\\=true\\]\\:bg-fd-primary\\/10 {\n &[data-active=\"true\"] {\n background-color: color-mix(in srgb, hsl(0, 0%, 9%) 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-fd-primary) 10%, transparent);\n }\n }\n }\n .data-\\[active\\=true\\]\\:font-medium {\n &[data-active=\"true\"] {\n --tw-font-weight: var(--font-weight-medium);\n font-weight: var(--font-weight-medium);\n }\n }\n .data-\\[active\\=true\\]\\:text-fd-primary {\n &[data-active=\"true\"] {\n color: var(--color-fd-primary);\n }\n }\n .data-\\[active\\=true\\]\\:before\\:absolute {\n &[data-active=\"true\"] {\n &::before {\n content: var(--tw-content);\n position: absolute;\n }\n }\n }\n .data-\\[active\\=true\\]\\:before\\:inset-y-2\\.5 {\n &[data-active=\"true\"] {\n &::before {\n content: var(--tw-content);\n inset-block: calc(var(--spacing) * 2.5);\n }\n }\n }\n .data-\\[active\\=true\\]\\:before\\:start-2\\.5 {\n &[data-active=\"true\"] {\n &::before {\n content: var(--tw-content);\n inset-inline-start: calc(var(--spacing) * 2.5);\n }\n }\n }\n .data-\\[active\\=true\\]\\:before\\:w-px {\n &[data-active=\"true\"] {\n &::before {\n content: var(--tw-content);\n width: 1px;\n }\n }\n }\n .data-\\[active\\=true\\]\\:before\\:bg-fd-primary {\n &[data-active=\"true\"] {\n &::before {\n content: var(--tw-content);\n background-color: var(--color-fd-primary);\n }\n }\n }\n .data-\\[active\\=true\\]\\:before\\:content-\\[\\'\\'\\] {\n &[data-active=\"true\"] {\n &::before {\n --tw-content: '';\n content: var(--tw-content);\n }\n }\n }\n .data-\\[active\\=true\\]\\:hover\\:transition-colors {\n &[data-active=\"true\"] {\n &:hover {\n @media (hover: hover) {\n transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n }\n }\n }\n .data-\\[collapsed\\=false\\]\\:hidden {\n &[data-collapsed=\"false\"] {\n display: none;\n }\n }\n .\\*\\:data-\\[empty\\=true\\]\\:border-b-0 {\n :is(& > *) {\n &[data-empty=\"true\"] {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 0px;\n }\n }\n }\n .data-\\[motion\\=from-end\\]\\:animate-fd-enterFromRight {\n &[data-motion=\"from-end\"] {\n animation: var(--animate-fd-enterFromRight);\n }\n }\n .data-\\[motion\\=from-start\\]\\:animate-fd-enterFromLeft {\n &[data-motion=\"from-start\"] {\n animation: var(--animate-fd-enterFromLeft);\n }\n }\n .data-\\[motion\\=to-end\\]\\:animate-fd-exitToRight {\n &[data-motion=\"to-end\"] {\n animation: var(--animate-fd-exitToRight);\n }\n }\n .data-\\[motion\\=to-start\\]\\:animate-fd-exitToLeft {\n &[data-motion=\"to-start\"] {\n animation: var(--animate-fd-exitToLeft);\n }\n }\n .data-\\[state\\=active\\]\\:border-fd-primary {\n &[data-state=\"active\"] {\n border-color: var(--color-fd-primary);\n }\n }\n .data-\\[state\\=active\\]\\:text-fd-primary {\n &[data-state=\"active\"] {\n color: var(--color-fd-primary);\n }\n }\n .data-\\[state\\=closed\\]\\:animate-fd-accordion-up {\n &[data-state=\"closed\"] {\n animation: var(--animate-fd-accordion-up);\n }\n }\n .data-\\[state\\=closed\\]\\:animate-fd-collapsible-up {\n &[data-state=\"closed\"] {\n animation: var(--animate-fd-collapsible-up);\n }\n }\n .data-\\[state\\=closed\\]\\:animate-fd-dialog-out {\n &[data-state=\"closed\"] {\n animation: var(--animate-fd-dialog-out);\n }\n }\n .data-\\[state\\=closed\\]\\:animate-fd-fade-out {\n &[data-state=\"closed\"] {\n animation: var(--animate-fd-fade-out);\n }\n }\n .data-\\[state\\=closed\\]\\:animate-fd-nav-menu-out {\n &[data-state=\"closed\"] {\n animation: var(--animate-fd-nav-menu-out);\n }\n }\n .data-\\[state\\=closed\\]\\:animate-fd-popover-out {\n &[data-state=\"closed\"] {\n animation: var(--animate-fd-popover-out);\n }\n }\n .data-\\[state\\=closed\\]\\:animate-fd-sidebar-out {\n &[data-state=\"closed\"] {\n animation: var(--animate-fd-sidebar-out);\n }\n }\n .data-\\[state\\=hidden\\]\\:animate-fd-fade-out {\n &[data-state=\"hidden\"] {\n animation: var(--animate-fd-fade-out);\n }\n }\n .data-\\[state\\=inactive\\]\\:hidden {\n &[data-state=\"inactive\"] {\n display: none;\n }\n }\n .data-\\[state\\=open\\]\\:animate-fd-accordion-down {\n &[data-state=\"open\"] {\n animation: var(--animate-fd-accordion-down);\n }\n }\n .data-\\[state\\=open\\]\\:animate-fd-collapsible-down {\n &[data-state=\"open\"] {\n animation: var(--animate-fd-collapsible-down);\n }\n }\n .data-\\[state\\=open\\]\\:animate-fd-dialog-in {\n &[data-state=\"open\"] {\n animation: var(--animate-fd-dialog-in);\n }\n }\n .data-\\[state\\=open\\]\\:animate-fd-fade-in {\n &[data-state=\"open\"] {\n animation: var(--animate-fd-fade-in);\n }\n }\n .data-\\[state\\=open\\]\\:animate-fd-nav-menu-in {\n &[data-state=\"open\"] {\n animation: var(--animate-fd-nav-menu-in);\n }\n }\n .data-\\[state\\=open\\]\\:animate-fd-popover-in {\n &[data-state=\"open\"] {\n animation: var(--animate-fd-popover-in);\n }\n }\n .data-\\[state\\=open\\]\\:animate-fd-sidebar-in {\n &[data-state=\"open\"] {\n animation: var(--animate-fd-sidebar-in);\n }\n }\n .data-\\[state\\=open\\]\\:bg-fd-accent {\n &[data-state=\"open\"] {\n background-color: var(--color-fd-accent);\n }\n }\n .data-\\[state\\=open\\]\\:bg-fd-accent\\/50 {\n &[data-state=\"open\"] {\n background-color: color-mix(in srgb, hsla(0, 0%, 82%, 50%) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-fd-accent) 50%, transparent);\n }\n }\n }\n .data-\\[state\\=open\\]\\:text-fd-accent-foreground {\n &[data-state=\"open\"] {\n color: var(--color-fd-accent-foreground);\n }\n }\n .data-\\[transparent\\=false\\]\\:bg-fd-background\\/80 {\n &[data-transparent=\"false\"] {\n background-color: color-mix(in srgb, hsl(0, 0%, 96%) 80%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-fd-background) 80%, transparent);\n }\n }\n }\n .max-xl\\:hidden {\n @media (width < 80rem) {\n display: none;\n }\n }\n .max-lg\\:flex {\n @media (width < 64rem) {\n display: flex;\n }\n }\n .max-lg\\:hidden {\n @media (width < 64rem) {\n display: none;\n }\n }\n .max-lg\\:rounded-b-2xl {\n @media (width < 64rem) {\n border-bottom-right-radius: var(--radius-2xl);\n border-bottom-left-radius: var(--radius-2xl);\n }\n }\n .max-lg\\:shadow-lg {\n @media (width < 64rem) {\n --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n }\n .max-md\\:flex {\n @media (width < 48rem) {\n display: flex;\n }\n }\n .max-md\\:hidden {\n @media (width < 48rem) {\n display: none;\n }\n }\n .max-md\\:rounded-md {\n @media (width < 48rem) {\n border-radius: var(--radius-md);\n }\n }\n .max-md\\:border {\n @media (width < 48rem) {\n border-style: var(--tw-border-style);\n border-width: 1px;\n }\n }\n .max-md\\:bg-fd-secondary {\n @media (width < 48rem) {\n background-color: var(--color-fd-secondary);\n }\n }\n .max-md\\:p-1\\.5 {\n @media (width < 48rem) {\n padding: calc(var(--spacing) * 1.5);\n }\n }\n .max-sm\\:mt-2 {\n @media (width < 40rem) {\n margin-top: calc(var(--spacing) * 2);\n }\n }\n .max-sm\\:hidden {\n @media (width < 40rem) {\n display: none;\n }\n }\n .sm\\:mx-20 {\n @media (width >= 40rem) {\n margin-inline: calc(var(--spacing) * 20);\n }\n }\n .sm\\:hidden {\n @media (width >= 40rem) {\n display: none;\n }\n }\n .sm\\:flex-row {\n @media (width >= 40rem) {\n flex-direction: row;\n }\n }\n .sm\\:items-center {\n @media (width >= 40rem) {\n align-items: center;\n }\n }\n .sm\\:justify-end {\n @media (width >= 40rem) {\n justify-content: flex-end;\n }\n }\n .sm\\:text-2xl {\n @media (width >= 40rem) {\n font-size: var(--text-2xl);\n line-height: var(--tw-leading, var(--text-2xl--line-height));\n }\n }\n .sm\\:text-4xl {\n @media (width >= 40rem) {\n font-size: var(--text-4xl);\n line-height: var(--tw-leading, var(--text-4xl--line-height));\n }\n }\n .md\\:top-\\[calc\\(50\\%-250px\\)\\] {\n @media (width >= 48rem) {\n top: calc(50% - 250px);\n }\n }\n .md\\:col-span-2 {\n @media (width >= 48rem) {\n grid-column: span 2 / span 2;\n }\n }\n .md\\:mx-auto {\n @media (width >= 48rem) {\n margin-inline: auto;\n }\n }\n .md\\:mb-auto {\n @media (width >= 48rem) {\n margin-bottom: auto;\n }\n }\n .md\\:block {\n @media (width >= 48rem) {\n display: block;\n }\n }\n .md\\:hidden {\n @media (width >= 48rem) {\n display: none;\n }\n }\n .md\\:size-5 {\n @media (width >= 48rem) {\n width: calc(var(--spacing) * 5);\n height: calc(var(--spacing) * 5);\n }\n }\n .md\\:max-w-5xl {\n @media (width >= 48rem) {\n max-width: var(--container-5xl);\n }\n }\n .md\\:grid-cols-2 {\n @media (width >= 48rem) {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n }\n .md\\:grid-cols-4 {\n @media (width >= 48rem) {\n grid-template-columns: repeat(4, minmax(0, 1fr));\n }\n }\n .md\\:grid-cols-\\[1fr_1fr\\] {\n @media (width >= 48rem) {\n grid-template-columns: 1fr 1fr;\n }\n }\n .md\\:gap-2 {\n @media (width >= 48rem) {\n gap: calc(var(--spacing) * 2);\n }\n }\n .md\\:gap-x-60 {\n @media (width >= 48rem) {\n column-gap: calc(var(--spacing) * 60);\n }\n }\n .md\\:p-10 {\n @media (width >= 48rem) {\n padding: calc(var(--spacing) * 10);\n }\n }\n .md\\:px-6 {\n @media (width >= 48rem) {\n padding-inline: calc(var(--spacing) * 6);\n }\n }\n .md\\:pt-8 {\n @media (width >= 48rem) {\n padding-top: calc(var(--spacing) * 8);\n }\n }\n .md\\:text-4xl {\n @media (width >= 48rem) {\n font-size: var(--text-4xl);\n line-height: var(--tw-leading, var(--text-4xl--line-height));\n }\n }\n .md\\:text-5xl {\n @media (width >= 48rem) {\n font-size: var(--text-5xl);\n line-height: var(--tw-leading, var(--text-5xl--line-height));\n }\n }\n .md\\:text-6xl {\n @media (width >= 48rem) {\n font-size: var(--text-6xl);\n line-height: var(--tw-leading, var(--text-6xl--line-height));\n }\n }\n .has-data-\\[collapsed\\=true\\]\\:md\\:flex {\n &:has(*[data-collapsed=\"true\"]) {\n @media (width >= 48rem) {\n display: flex;\n }\n }\n }\n .lg\\:mx-0 {\n @media (width >= 64rem) {\n margin-inline: calc(var(--spacing) * 0);\n }\n }\n .lg\\:mx-20 {\n @media (width >= 64rem) {\n margin-inline: calc(var(--spacing) * 20);\n }\n }\n .lg\\:hidden {\n @media (width >= 64rem) {\n display: none;\n }\n }\n .lg\\:grid-cols-3 {\n @media (width >= 64rem) {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n }\n }\n .lg\\:flex-row {\n @media (width >= 64rem) {\n flex-direction: row;\n }\n }\n .lg\\:items-center {\n @media (width >= 64rem) {\n align-items: center;\n }\n }\n .lg\\:text-6xl {\n @media (width >= 64rem) {\n font-size: var(--text-6xl);\n line-height: var(--tw-leading, var(--text-6xl--line-height));\n }\n }\n .lg\\:text-7xl {\n @media (width >= 64rem) {\n font-size: var(--text-7xl);\n line-height: var(--tw-leading, var(--text-7xl--line-height));\n }\n }\n .xl\\:hidden {\n @media (width >= 80rem) {\n display: none;\n }\n }\n .xl\\:px-8 {\n @media (width >= 80rem) {\n padding-inline: calc(var(--spacing) * 8);\n }\n }\n .xl\\:pt-14 {\n @media (width >= 80rem) {\n padding-top: calc(var(--spacing) * 14);\n }\n }\n .\\@max-xl\\:hidden {\n @container (width < 36rem) {\n display: none;\n }\n }\n .\\@max-lg\\:col-span-full {\n @container (width < 32rem) {\n grid-column: 1 / -1;\n }\n }\n .rtl\\:-translate-x-2 {\n &:where(:dir(rtl), [dir=\"rtl\"], [dir=\"rtl\"] *) {\n --tw-translate-x: calc(var(--spacing) * -2);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n }\n .rtl\\:translate-x-full {\n &:where(:dir(rtl), [dir=\"rtl\"], [dir=\"rtl\"] *) {\n --tw-translate-x: 100%;\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n }\n .rtl\\:-scale-x-100 {\n &:where(:dir(rtl), [dir=\"rtl\"], [dir=\"rtl\"] *) {\n --tw-scale-x: calc(100% * -1);\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n }\n .rtl\\:rotate-180 {\n &:where(:dir(rtl), [dir=\"rtl\"], [dir=\"rtl\"] *) {\n rotate: 180deg;\n }\n }\n .dark\\:\\!border-neutral-700 {\n &:where(.dark, .dark *) {\n border-color: var(--color-neutral-700) !important;\n }\n }\n .dark\\:\\!border-neutral-900 {\n &:where(.dark, .dark *) {\n border-color: var(--color-neutral-900) !important;\n }\n }\n .dark\\:border-neutral-300 {\n &:where(.dark, .dark *) {\n border-color: var(--color-neutral-300);\n }\n }\n .dark\\:border-neutral-700 {\n &:where(.dark, .dark *) {\n border-color: var(--color-neutral-700);\n }\n }\n .dark\\:border-neutral-700\\/50 {\n &:where(.dark, .dark *) {\n border-color: color-mix(in srgb, oklch(37.1% 0 0) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-neutral-700) 50%, transparent);\n }\n }\n }\n .dark\\:border-neutral-800 {\n &:where(.dark, .dark *) {\n border-color: var(--color-neutral-800);\n }\n }\n .dark\\:border-neutral-900 {\n &:where(.dark, .dark *) {\n border-color: var(--color-neutral-900);\n }\n }\n .dark\\:border-white\\/10 {\n &:where(.dark, .dark *) {\n border-color: color-mix(in srgb, #fff 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-white) 10%, transparent);\n }\n }\n }\n .dark\\:bg-\\(--shiki-dark-bg\\) {\n &:where(.dark, .dark *) {\n background-color: var(--shiki-dark-bg);\n }\n }\n .dark\\:bg-\\[\\#0c0c0c\\] {\n &:where(.dark, .dark *) {\n background-color: #0c0c0c;\n }\n }\n .dark\\:bg-\\[\\#161616\\] {\n &:where(.dark, .dark *) {\n background-color: #161616;\n }\n }\n .dark\\:bg-background\\/30 {\n &:where(.dark, .dark *) {\n background-color: var(--background);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--background) 30%, transparent);\n }\n }\n }\n .dark\\:bg-black {\n &:where(.dark, .dark *) {\n background-color: var(--color-black);\n }\n }\n .dark\\:bg-black\\/50 {\n &:where(.dark, .dark *) {\n background-color: color-mix(in srgb, #000 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-black) 50%, transparent);\n }\n }\n }\n .dark\\:bg-neutral-100 {\n &:where(.dark, .dark *) {\n background-color: var(--color-neutral-100);\n }\n }\n .dark\\:bg-neutral-800 {\n &:where(.dark, .dark *) {\n background-color: var(--color-neutral-800);\n }\n }\n .dark\\:bg-neutral-800\\/50 {\n &:where(.dark, .dark *) {\n background-color: color-mix(in srgb, oklch(26.9% 0 0) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-neutral-800) 50%, transparent);\n }\n }\n }\n .dark\\:bg-white {\n &:where(.dark, .dark *) {\n background-color: var(--color-white);\n }\n }\n .dark\\:bg-\\[radial-gradient\\(\\#262626_1px\\,transparent_1px\\)\\] {\n &:where(.dark, .dark *) {\n background-image: radial-gradient(#262626 1px,transparent 1px);\n }\n }\n .dark\\:from-\\[\\#161616\\] {\n &:where(.dark, .dark *) {\n --tw-gradient-from: #161616;\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n }\n .dark\\:via-\\[\\#161616\\]\\/40 {\n &:where(.dark, .dark *) {\n --tw-gradient-via: color-mix(in oklab, #161616 40%, transparent);\n --tw-gradient-via-stops: var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-via-stops);\n }\n }\n .dark\\:to-transparent {\n &:where(.dark, .dark *) {\n --tw-gradient-to: transparent;\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n }\n .dark\\:text-black {\n &:where(.dark, .dark *) {\n color: var(--color-black);\n }\n }\n .dark\\:text-neutral-300 {\n &:where(.dark, .dark *) {\n color: var(--color-neutral-300);\n }\n }\n .dark\\:text-neutral-400 {\n &:where(.dark, .dark *) {\n color: var(--color-neutral-400);\n }\n }\n .dark\\:text-neutral-500 {\n &:where(.dark, .dark *) {\n color: var(--color-neutral-500);\n }\n }\n .dark\\:text-white {\n &:where(.dark, .dark *) {\n color: var(--color-white);\n }\n }\n .dark\\:shadow-black\\/10 {\n &:where(.dark, .dark *) {\n --tw-shadow-color: color-mix(in srgb, #000 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--color-black) 10%, transparent) var(--tw-shadow-alpha), transparent);\n }\n }\n }\n .dark\\:ring-black\\/30 {\n &:where(.dark, .dark *) {\n --tw-ring-color: color-mix(in srgb, #000 30%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-ring-color: color-mix(in oklab, var(--color-black) 30%, transparent);\n }\n }\n }\n .dark\\:ring-neutral-500 {\n &:where(.dark, .dark *) {\n --tw-ring-color: var(--color-neutral-500);\n }\n }\n .dark\\:ring-neutral-700 {\n &:where(.dark, .dark *) {\n --tw-ring-color: var(--color-neutral-700);\n }\n }\n .dark\\:hover\\:bg-neutral-800 {\n &:where(.dark, .dark *) {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-neutral-800);\n }\n }\n }\n }\n .dark\\:hover\\:bg-neutral-800\\/80 {\n &:where(.dark, .dark *) {\n &:hover {\n @media (hover: hover) {\n background-color: color-mix(in srgb, oklch(26.9% 0 0) 80%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-neutral-800) 80%, transparent);\n }\n }\n }\n }\n }\n .dark\\:hover\\:bg-neutral-900 {\n &:where(.dark, .dark *) {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-neutral-900);\n }\n }\n }\n }\n .dark\\:hover\\:text-neutral-200 {\n &:where(.dark, .dark *) {\n &:hover {\n @media (hover: hover) {\n color: var(--color-neutral-200);\n }\n }\n }\n }\n .dark\\:hover\\:text-neutral-300 {\n &:where(.dark, .dark *) {\n &:hover {\n @media (hover: hover) {\n color: var(--color-neutral-300);\n }\n }\n }\n }\n .layout\\:\\[--fd-header-height\\:--spacing\\(14\\)\\] {\n #nd-docs-layout:has(&), #nd-notebook-layout:has(&), #nd-home-layout:has(&) {\n --fd-header-height: calc(var(--spacing) * 14);\n }\n }\n .max-xl\\:layout\\:\\[--fd-toc-popover-height\\:--spacing\\(10\\)\\] {\n @media (width < 80rem) {\n #nd-docs-layout:has(&), #nd-notebook-layout:has(&), #nd-home-layout:has(&) {\n --fd-toc-popover-height: calc(var(--spacing) * 10);\n }\n }\n }\n .max-md\\:layout\\:\\[--fd-header-height\\:--spacing\\(14\\)\\] {\n @media (width < 48rem) {\n #nd-docs-layout:has(&), #nd-notebook-layout:has(&), #nd-home-layout:has(&) {\n --fd-header-height: calc(var(--spacing) * 14);\n }\n }\n }\n .md\\:layout\\:\\[--fd-sidebar-width\\:268px\\] {\n @media (width >= 48rem) {\n #nd-docs-layout:has(&), #nd-notebook-layout:has(&), #nd-home-layout:has(&) {\n --fd-sidebar-width: 268px;\n }\n }\n }\n .lg\\:layout\\:\\[--fd-header-height\\:--spacing\\(24\\)\\] {\n @media (width >= 64rem) {\n #nd-docs-layout:has(&), #nd-notebook-layout:has(&), #nd-home-layout:has(&) {\n --fd-header-height: calc(var(--spacing) * 24);\n }\n }\n }\n .xl\\:layout\\:\\[--fd-toc-width\\:268px\\] {\n @media (width >= 80rem) {\n #nd-docs-layout:has(&), #nd-notebook-layout:has(&), #nd-home-layout:has(&) {\n --fd-toc-width: 268px;\n }\n }\n }\n .\\[\\&_\\.group\\\\\\/code\\]\\:mb-0 {\n & .group\\/code {\n margin-bottom: calc(var(--spacing) * 0);\n }\n }\n .\\[\\&_\\.group\\\\\\/code\\]\\:rounded-none {\n & .group\\/code {\n border-radius: 0;\n }\n }\n .\\[\\&_\\.group\\\\\\/code\\]\\:border-0 {\n & .group\\/code {\n border-style: var(--tw-border-style);\n border-width: 0px;\n }\n }\n .\\[\\&_\\.group\\\\\\/code\\]\\:bg-transparent {\n & .group\\/code {\n background-color: transparent;\n }\n }\n .\\[\\&_\\.group\\\\\\/code\\]\\:shadow-none {\n & .group\\/code {\n --tw-shadow: 0 0 #0000;\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n }\n .\\[\\&_svg\\]\\:size-3\\.5 {\n & svg {\n width: calc(var(--spacing) * 3.5);\n height: calc(var(--spacing) * 3.5);\n }\n }\n .\\[\\&_svg\\]\\:size-4 {\n & svg {\n width: calc(var(--spacing) * 4);\n height: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&_svg\\]\\:size-4\\.5 {\n & svg {\n width: calc(var(--spacing) * 4.5);\n height: calc(var(--spacing) * 4.5);\n }\n }\n .\\[\\&_svg\\]\\:size-5 {\n & svg {\n width: calc(var(--spacing) * 5);\n height: calc(var(--spacing) * 5);\n }\n }\n .\\[\\&_svg\\]\\:size-5\\.5 {\n & svg {\n width: calc(var(--spacing) * 5.5);\n height: calc(var(--spacing) * 5.5);\n }\n }\n .\\[\\&_svg\\]\\:size-full {\n & svg {\n width: 100%;\n height: 100%;\n }\n }\n .\\[\\&_svg\\]\\:shrink-0 {\n & svg {\n flex-shrink: 0;\n }\n }\n .\\[\\&\\>figure\\:only-child\\]\\:-m-4 {\n &>figure:only-child {\n margin: calc(var(--spacing) * -4);\n }\n }\n .\\[\\&\\>figure\\:only-child\\]\\:border-none {\n &>figure:only-child {\n --tw-border-style: none;\n border-style: none;\n }\n }\n}\n.dark {\n --color-fd-background: hsl(0, 0%, 7.04%);\n --color-fd-foreground: hsl(0, 0%, 92%);\n --color-fd-muted: hsl(0, 0%, 12.9%);\n --color-fd-muted-foreground: hsla(0, 0%, 70%, 0.8);\n --color-fd-popover: hsl(0, 0%, 11.6%);\n --color-fd-popover-foreground: hsl(0, 0%, 86.9%);\n --color-fd-card: hsl(0, 0%, 9.8%);\n --color-fd-card-foreground: hsl(0, 0%, 98%);\n --color-fd-border: hsla(0, 0%, 40%, 20%);\n --color-fd-primary: hsl(0, 0%, 98%);\n --color-fd-primary-foreground: hsl(0, 0%, 9%);\n --color-fd-secondary: hsl(0, 0%, 12.9%);\n --color-fd-secondary-foreground: hsl(0, 0%, 92%);\n --color-fd-accent: hsla(0, 0%, 40.9%, 30%);\n --color-fd-accent-foreground: hsl(0, 0%, 90%);\n --color-fd-ring: hsl(0, 0%, 54.9%);\n --color-fd-overlay: hsla(0, 0%, 0%, 0.2);\n}\n.dark #nd-sidebar {\n --color-fd-muted: hsl(0, 0%, 16%);\n --color-fd-secondary: hsl(0, 0%, 18%);\n --color-fd-muted-foreground: hsl(0, 0%, 72%);\n}\n.shiki:not(.not-fumadocs-codeblock *) {\n --padding-left: calc(var(--spacing) * 4);\n --padding-right: calc(var(--spacing) * 4);\n code span {\n color: var(--shiki-light);\n }\n}\n.dark .shiki:not(.not-fumadocs-codeblock *) {\n code span {\n color: var(--shiki-dark);\n }\n}\n:is(pre *):is(.shiki *):not(.not-fumadocs-codeblock *) {\n .line& {\n position: relative;\n min-height: 1lh;\n padding-left: var(--padding-left);\n padding-right: var(--padding-right);\n }\n .has-focused .line&:not(.focused) {\n filter: blur(2px);\n transition: filter 200ms;\n }\n .has-focused:hover .line&:not(.focused) {\n filter: blur(0);\n }\n [data-line-numbers] .twoslash-meta-line& {\n padding-left: calc(var(--padding-left) + 7 * var(--spacing));\n }\n [data-line-numbers] .line& {\n counter-increment: line;\n padding-left: calc(var(--padding-left) + 7 * var(--spacing));\n }\n [data-line-numbers] .line&::after {\n position: absolute;\n content: counter(line);\n color: var(--fd-counter-color, hsl(0, 0%, 45.1%));\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix( in oklab, var(--fd-counter-color, var(--color-fd-muted-foreground)) 60%, transparent );\n }\n top: calc(var(--spacing) * 0);\n left: calc(var(--spacing) * 4);\n }\n .diff&::before {\n position: absolute;\n left: calc(var(--spacing) * 1.5);\n }\n .diff.remove& {\n opacity: 0.7;\n --fd-counter-color: var(--color-fd-diff-remove-symbol);\n background-color: var(--color-fd-diff-remove);\n }\n .diff.remove&::before {\n content: '-';\n color: var(--color-fd-diff-remove-symbol);\n }\n .diff.add& {\n --fd-counter-color: var(--color-fd-diff-add-symbol);\n background-color: var(--color-fd-diff-add);\n }\n .diff.add&::before {\n content: '+';\n color: var(--color-fd-diff-add-symbol);\n }\n .highlighted& {\n --fd-counter-color: var(--color-fd-primary);\n padding-left: calc(var(--padding-left) - 2px);\n border-left-style: var(--tw-border-style);\n border-left-width: 2px;\n border-color: color-mix(in srgb, hsl(0, 0%, 9%) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-fd-primary) 50%, transparent);\n }\n background-color: color-mix(in srgb, hsl(0, 0%, 9%) 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-fd-primary) 10%, transparent);\n }\n }\n .highlighted-word& {\n padding: 1px;\n margin-block: -1px;\n border-radius: var(--radius-md);\n border-style: var(--tw-border-style);\n border-width: 1px;\n border-color: color-mix(in srgb, hsl(0, 0%, 9%) 30%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-fd-primary) 30%, transparent);\n }\n background-color: color-mix(in srgb, hsl(0, 0%, 9%) 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-fd-primary) 10%, transparent);\n }\n --tw-font-weight: var(--font-weight-medium);\n font-weight: var(--font-weight-medium);\n }\n}\n:root {\n --fd-sidebar-drawer-offset: 100%;\n}\n[dir='rtl'] {\n --fd-sidebar-drawer-offset: -100%;\n}\n@layer base {\n *, ::after, ::before, ::backdrop, ::file-selector-button {\n border-color: var(--color-fd-border, currentColor);\n }\n body {\n background-color: var(--color-fd-background);\n color: var(--color-fd-foreground);\n }\n}\n@property --radix-collapsible-content-height {\n syntax: '';\n inherits: false;\n initial-value: 0px;\n}\n:root {\n --background: #ffffff;\n --foreground: #171717;\n}\n.dark {\n --background: #000000;\n --foreground: oklch(0.985 0 0);\n --card: #000000;\n --card-foreground: oklch(0.985 0 0);\n --popover: #000000;\n --popover-foreground: oklch(0.985 0 0);\n --primary: oklch(0.985 0 0);\n --primary-foreground: oklch(0.205 0 0);\n --secondary: #000000;\n --secondary-foreground: oklch(0.985 0 0);\n --muted: #000000;\n --muted-foreground: oklch(0.708 0 0);\n --accent: #000000;\n --accent-foreground: oklch(0.985 0 0);\n --destructive: oklch(0.396 0.141 25.723);\n --destructive-foreground: oklch(0.637 0.237 25.331);\n --border: #1a1a1a;\n --input: #1a1a1a;\n --ring: #1a1a1a;\n --chart-1: oklch(0.488 0.243 264.376);\n --chart-2: oklch(0.696 0.17 162.48);\n --chart-3: oklch(0.769 0.188 70.08);\n --chart-4: oklch(0.627 0.265 303.9);\n --chart-5: oklch(0.645 0.246 16.439);\n --sidebar: #000000;\n --sidebar-foreground: oklch(0.985 0 0);\n --sidebar-primary: oklch(0.488 0.243 264.376);\n --sidebar-primary-foreground: oklch(0.985 0 0);\n --sidebar-accent: #000000;\n --sidebar-accent-foreground: oklch(0.985 0 0);\n --sidebar-border: #1a1a1a;\n --sidebar-ring: oklch(0.439 0 0);\n}\n@layer base {\n body {\n background-color: var(--background);\n color: var(--foreground);\n }\n}\n.card {\n --offsetY: 0vmin;\n --rotate: 0deg;\n --translateX: 0vmin;\n --translateY: 0vmin;\n width: 30vmin;\n height: 60vmin;\n overflow: hidden;\n flex-shrink: 0;\n transform: rotate(var(--rotate)) translateX(var(--translateX))\n translateY(calc(var(--offsetY)+ var(--translateY)));\n transition: all 0.3s linear;\n img {\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n &:hover {\n scale: 1.05;\n transition: all 0.3s linear;\n }\n}\n.card:nth-child(1) {\n --rotate: -20deg;\n --translateX: 30vmin;\n --translateY: 10vmin;\n transform: rotate(var(--rotate)) translateX(var(--translateX))\n translateY(calc(var(--offsetY)+ var(--translateY)));\n}\n.card:nth-child(2) {\n transform: rotate(-5deg);\n}\n.card:nth-child(3) {\n transform: rotate(-5deg);\n}\n.card:nth-child(5) {\n transform: rotate(5deg);\n --translate: 100px\n \n;\n}\n.card:nth-child(6) {\n transform: rotate(5deg);\n &:hover {\n transform: rotate(-5deg) translateY(var(--translate));\n }\n}\n.card:nth-child(7) {\n transform: rotate(5deg);\n}\n.card:hover + .card {\n background-color: rgb(140, 255, 0);\n transform: translateX(10vmin);\n}\n.card:hover + .card + .card {\n background-color: blue;\n}\n.card:has(+.card:hover) {\n background-color: blueviolet;\n transform: translateX(-10vmin);\n}\n.card:has( .card +.card:hover) {\n background-color: rgb(227, 5, 219);\n}\n.list:nth-child(1):hover {\n font-size: 35px;\n font-weight: bold;\n}\n.list:nth-child(2):hover {\n font-size: 35px;\n}\n.list:nth-child(3):hover {\n font-size: 35px;\n font-weight: bold;\n}\n@property --tw-border-style {\n syntax: \"*\";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-translate-x {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-y {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-z {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-rotate-x {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-rotate-y {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-rotate-z {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-skew-x {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-skew-y {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-space-y-reverse {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-divide-y-reverse {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-gradient-position {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-gradient-from {\n syntax: \"\";\n inherits: false;\n initial-value: #0000;\n}\n@property --tw-gradient-via {\n syntax: \"\";\n inherits: false;\n initial-value: #0000;\n}\n@property --tw-gradient-to {\n syntax: \"\";\n inherits: false;\n initial-value: #0000;\n}\n@property --tw-gradient-stops {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-gradient-via-stops {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-gradient-from-position {\n syntax: \"\";\n inherits: false;\n initial-value: 0%;\n}\n@property --tw-gradient-via-position {\n syntax: \"\";\n inherits: false;\n initial-value: 50%;\n}\n@property --tw-gradient-to-position {\n syntax: \"\";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-leading {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-font-weight {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-tracking {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-shadow-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-shadow-alpha {\n syntax: \"\";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-inset-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-shadow-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-inset-shadow-alpha {\n syntax: \"\";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-ring-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-ring-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-ring-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-inset-ring-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-ring-inset {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-ring-offset-width {\n syntax: \"\";\n inherits: false;\n initial-value: 0px;\n}\n@property --tw-ring-offset-color {\n syntax: \"*\";\n inherits: false;\n initial-value: #fff;\n}\n@property --tw-ring-offset-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-outline-style {\n syntax: \"*\";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-blur {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-brightness {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-contrast {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-grayscale {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-hue-rotate {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-invert {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-opacity {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-saturate {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-sepia {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-drop-shadow {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-drop-shadow-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-drop-shadow-alpha {\n syntax: \"\";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-drop-shadow-size {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-blur {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-brightness {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-contrast {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-grayscale {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-hue-rotate {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-invert {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-opacity {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-saturate {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-sepia {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-duration {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-ease {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-text-shadow-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-text-shadow-alpha {\n syntax: \"\";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-content {\n syntax: \"*\";\n initial-value: \"\";\n inherits: false;\n}\n@property --tw-scale-x {\n syntax: \"*\";\n inherits: false;\n initial-value: 1;\n}\n@property --tw-scale-y {\n syntax: \"*\";\n inherits: false;\n initial-value: 1;\n}\n@property --tw-scale-z {\n syntax: \"*\";\n inherits: false;\n initial-value: 1;\n}\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n@keyframes pulse {\n 50% {\n opacity: 0.5;\n }\n}\n@keyframes fd-sidebar-in {\n from {\n transform: translateX(var(--fd-sidebar-drawer-offset));\n }\n}\n@keyframes fd-sidebar-out {\n to {\n transform: translateX(var(--fd-sidebar-drawer-offset));\n }\n}\n@keyframes fd-dialog-in {\n from {\n transform: scale(1.06);\n opacity: 0;\n }\n to {\n transform: scale(1);\n }\n}\n@keyframes fd-dialog-out {\n from {\n transform: scale(1);\n }\n to {\n transform: scale(1.04);\n opacity: 0;\n }\n}\n@keyframes fd-popover-in {\n from {\n opacity: 0;\n transform: scale(0.9);\n }\n}\n@keyframes fd-popover-out {\n to {\n opacity: 0;\n transform: scale(0.9);\n }\n}\n@keyframes fd-fade-in {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n@keyframes fd-fade-out {\n from {\n opacity: 1;\n }\n to {\n opacity: 0;\n }\n}\n@keyframes fd-enterFromRight {\n from {\n opacity: 0;\n transform: translateX(200px);\n }\n to {\n opacity: 1;\n transform: translateX(0);\n }\n}\n@keyframes fd-enterFromLeft {\n from {\n opacity: 0;\n transform: translateX(-200px);\n }\n to {\n opacity: 1;\n transform: translateX(0);\n }\n}\n@keyframes fd-exitToRight {\n from {\n opacity: 1;\n transform: translateX(0);\n }\n to {\n opacity: 0;\n transform: translateX(200px);\n }\n}\n@keyframes fd-exitToLeft {\n from {\n opacity: 1;\n transform: translateX(0);\n }\n to {\n opacity: 0;\n transform: translateX(-200px);\n }\n}\n@keyframes fd-collapsible-down {\n from {\n height: 0;\n opacity: 0;\n }\n to {\n height: var(--radix-collapsible-content-height);\n }\n}\n@keyframes fd-collapsible-up {\n from {\n height: var(--radix-collapsible-content-height);\n }\n to {\n height: 0;\n opacity: 0;\n }\n}\n@keyframes fd-accordion-down {\n from {\n height: 0;\n opacity: 0.5;\n }\n to {\n height: var(--radix-accordion-content-height);\n }\n}\n@keyframes fd-accordion-up {\n from {\n height: var(--radix-accordion-content-height);\n }\n to {\n height: 0;\n opacity: 0.5;\n }\n}\n@keyframes fd-nav-menu-in {\n from {\n opacity: 0;\n height: 0px;\n }\n to {\n opacity: 1;\n height: var(--radix-navigation-menu-viewport-height);\n }\n}\n@keyframes fd-nav-menu-out {\n from {\n opacity: 1;\n height: var(--radix-navigation-menu-viewport-height);\n }\n to {\n opacity: 0;\n height: 0px;\n }\n}\n@layer properties {\n @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {\n *, ::before, ::after, ::backdrop {\n --tw-border-style: solid;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-translate-z: 0;\n --tw-rotate-x: initial;\n --tw-rotate-y: initial;\n --tw-rotate-z: initial;\n --tw-skew-x: initial;\n --tw-skew-y: initial;\n --tw-space-y-reverse: 0;\n --tw-divide-y-reverse: 0;\n --tw-gradient-position: initial;\n --tw-gradient-from: #0000;\n --tw-gradient-via: #0000;\n --tw-gradient-to: #0000;\n --tw-gradient-stops: initial;\n --tw-gradient-via-stops: initial;\n --tw-gradient-from-position: 0%;\n --tw-gradient-via-position: 50%;\n --tw-gradient-to-position: 100%;\n --tw-leading: initial;\n --tw-font-weight: initial;\n --tw-tracking: initial;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-color: initial;\n --tw-shadow-alpha: 100%;\n --tw-inset-shadow: 0 0 #0000;\n --tw-inset-shadow-color: initial;\n --tw-inset-shadow-alpha: 100%;\n --tw-ring-color: initial;\n --tw-ring-shadow: 0 0 #0000;\n --tw-inset-ring-color: initial;\n --tw-inset-ring-shadow: 0 0 #0000;\n --tw-ring-inset: initial;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-outline-style: solid;\n --tw-blur: initial;\n --tw-brightness: initial;\n --tw-contrast: initial;\n --tw-grayscale: initial;\n --tw-hue-rotate: initial;\n --tw-invert: initial;\n --tw-opacity: initial;\n --tw-saturate: initial;\n --tw-sepia: initial;\n --tw-drop-shadow: initial;\n --tw-drop-shadow-color: initial;\n --tw-drop-shadow-alpha: 100%;\n --tw-drop-shadow-size: initial;\n --tw-backdrop-blur: initial;\n --tw-backdrop-brightness: initial;\n --tw-backdrop-contrast: initial;\n --tw-backdrop-grayscale: initial;\n --tw-backdrop-hue-rotate: initial;\n --tw-backdrop-invert: initial;\n --tw-backdrop-opacity: initial;\n --tw-backdrop-saturate: initial;\n --tw-backdrop-sepia: initial;\n --tw-duration: initial;\n --tw-ease: initial;\n --tw-text-shadow-color: initial;\n --tw-text-shadow-alpha: 100%;\n --tw-content: \"\";\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-scale-z: 1;\n --radix-collapsible-content-height: 0px;\n }\n }\n}\n\n"],"names":[],"mappings":"AACA;EAy+IE;IACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAz+IJ;EAEE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAA;IAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAFF;EA4HE;;;;;;;EAAA;;;;;;;EAMA;;;;;;;;;;EASA;;;;;;EAKA;;;;;EAIA;;;;;EAIA;;;;;;;EAKA;;;;EAGA;;;;;;;EAMA;;;;EAGA;;;;;;;EAMA;;;;EAGA;;;;EAGA;;;;;;EAKA;;;;EAGA;;;;EAGA;;;;EAGA;;;;EAGA;;;;;EAIA;;;;;EAIA;;;;;;;;;;;EAAA;;;;;;;;;;;EAUA;;;;EAGA;;;;EAGA;;;;EAGA;;;;EAGA;IACE;;;;IAEE;MAAgD;;;;;;EAKpD;;;;EAGA;;;;EAGA;;;;;EAIA;;;;EAGA;;;;EAGA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;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at end of file diff --git a/.next/dev/static/chunks/[turbopack]_browser_dev_hmr-client_hmr-client_ts_956a0d3a._.js b/.next/dev/static/chunks/[turbopack]_browser_dev_hmr-client_hmr-client_ts_956a0d3a._.js deleted file mode 100644 index 9391c68..0000000 --- a/.next/dev/static/chunks/[turbopack]_browser_dev_hmr-client_hmr-client_ts_956a0d3a._.js +++ /dev/null @@ -1,13 +0,0 @@ -(globalThis.TURBOPACK || (globalThis.TURBOPACK = [])).push([typeof document === "object" ? document.currentScript : undefined, -"[turbopack]/browser/dev/hmr-client/hmr-client.ts [app-client] (ecmascript, async loader)", ((__turbopack_context__) => { - -__turbopack_context__.v((parentImport) => { - return Promise.all([ - "static/chunks/[turbopack]_browser_dev_hmr-client_hmr-client_ts_c8c997ce._.js", - "static/chunks/[turbopack]_browser_dev_hmr-client_hmr-client_ts_c7192189._.js" -].map((chunk) => __turbopack_context__.l(chunk))).then(() => { - return parentImport("[turbopack]/browser/dev/hmr-client/hmr-client.ts [app-client] (ecmascript)"); - }); -}); -}), -]); \ No newline at end of file diff --git a/.next/dev/static/chunks/[turbopack]_browser_dev_hmr-client_hmr-client_ts_956a0d3a._.js.map b/.next/dev/static/chunks/[turbopack]_browser_dev_hmr-client_hmr-client_ts_956a0d3a._.js.map deleted file mode 100644 index c15d7ec..0000000 --- a/.next/dev/static/chunks/[turbopack]_browser_dev_hmr-client_hmr-client_ts_956a0d3a._.js.map +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": 3, - "sources": [], - "sections": [] -} \ No newline at end of file diff --git a/.next/dev/static/chunks/[turbopack]_browser_dev_hmr-client_hmr-client_ts_c7192189._.js b/.next/dev/static/chunks/[turbopack]_browser_dev_hmr-client_hmr-client_ts_c7192189._.js deleted file mode 100644 index daf4855..0000000 --- a/.next/dev/static/chunks/[turbopack]_browser_dev_hmr-client_hmr-client_ts_c7192189._.js +++ /dev/null @@ -1,7 +0,0 @@ -(globalThis.TURBOPACK_CHUNK_LISTS || (globalThis.TURBOPACK_CHUNK_LISTS = [])).push({ - script: typeof document === "object" ? document.currentScript : undefined, - chunks: [ - "static/chunks/[turbopack]_browser_dev_hmr-client_hmr-client_ts_c8c997ce._.js" -], - source: "dynamic" -}); diff --git a/.next/dev/static/chunks/[turbopack]_browser_dev_hmr-client_hmr-client_ts_c8c997ce._.js b/.next/dev/static/chunks/[turbopack]_browser_dev_hmr-client_hmr-client_ts_c8c997ce._.js deleted file mode 100644 index d95b854..0000000 --- a/.next/dev/static/chunks/[turbopack]_browser_dev_hmr-client_hmr-client_ts_c8c997ce._.js +++ /dev/null @@ -1,467 +0,0 @@ -(globalThis.TURBOPACK || (globalThis.TURBOPACK = [])).push([typeof document === "object" ? document.currentScript : undefined, -"[turbopack]/browser/dev/hmr-client/hmr-client.ts [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -/// -/// -/// -/// -__turbopack_context__.s([ - "connect", - ()=>connect, - "setHooks", - ()=>setHooks, - "subscribeToUpdate", - ()=>subscribeToUpdate -]); -function connect({ addMessageListener, sendMessage, onUpdateError = console.error }) { - addMessageListener((msg)=>{ - switch(msg.type){ - case 'turbopack-connected': - handleSocketConnected(sendMessage); - break; - default: - try { - if (Array.isArray(msg.data)) { - for(let i = 0; i < msg.data.length; i++){ - handleSocketMessage(msg.data[i]); - } - } else { - handleSocketMessage(msg.data); - } - applyAggregatedUpdates(); - } catch (e) { - console.warn('[Fast Refresh] performing full reload\n\n' + "Fast Refresh will perform a full reload when you edit a file that's imported by modules outside of the React rendering tree.\n" + 'You might have a file which exports a React component but also exports a value that is imported by a non-React component file.\n' + 'Consider migrating the non-React component export to a separate file and importing it into both files.\n\n' + 'It is also possible the parent component of the component you edited is a class component, which disables Fast Refresh.\n' + 'Fast Refresh requires at least one parent function component in your React tree.'); - onUpdateError(e); - location.reload(); - } - break; - } - }); - const queued = globalThis.TURBOPACK_CHUNK_UPDATE_LISTENERS; - if (queued != null && !Array.isArray(queued)) { - throw new Error('A separate HMR handler was already registered'); - } - globalThis.TURBOPACK_CHUNK_UPDATE_LISTENERS = { - push: ([chunkPath, callback])=>{ - subscribeToChunkUpdate(chunkPath, sendMessage, callback); - } - }; - if (Array.isArray(queued)) { - for (const [chunkPath, callback] of queued){ - subscribeToChunkUpdate(chunkPath, sendMessage, callback); - } - } -} -const updateCallbackSets = new Map(); -function sendJSON(sendMessage, message) { - sendMessage(JSON.stringify(message)); -} -function resourceKey(resource) { - return JSON.stringify({ - path: resource.path, - headers: resource.headers || null - }); -} -function subscribeToUpdates(sendMessage, resource) { - sendJSON(sendMessage, { - type: 'turbopack-subscribe', - ...resource - }); - return ()=>{ - sendJSON(sendMessage, { - type: 'turbopack-unsubscribe', - ...resource - }); - }; -} -function handleSocketConnected(sendMessage) { - for (const key of updateCallbackSets.keys()){ - subscribeToUpdates(sendMessage, JSON.parse(key)); - } -} -// we aggregate all pending updates until the issues are resolved -const chunkListsWithPendingUpdates = new Map(); -function aggregateUpdates(msg) { - const key = resourceKey(msg.resource); - let aggregated = chunkListsWithPendingUpdates.get(key); - if (aggregated) { - aggregated.instruction = mergeChunkListUpdates(aggregated.instruction, msg.instruction); - } else { - chunkListsWithPendingUpdates.set(key, msg); - } -} -function applyAggregatedUpdates() { - if (chunkListsWithPendingUpdates.size === 0) return; - hooks.beforeRefresh(); - for (const msg of chunkListsWithPendingUpdates.values()){ - triggerUpdate(msg); - } - chunkListsWithPendingUpdates.clear(); - finalizeUpdate(); -} -function mergeChunkListUpdates(updateA, updateB) { - let chunks; - if (updateA.chunks != null) { - if (updateB.chunks == null) { - chunks = updateA.chunks; - } else { - chunks = mergeChunkListChunks(updateA.chunks, updateB.chunks); - } - } else if (updateB.chunks != null) { - chunks = updateB.chunks; - } - let merged; - if (updateA.merged != null) { - if (updateB.merged == null) { - merged = updateA.merged; - } else { - // Since `merged` is an array of updates, we need to merge them all into - // one, consistent update. - // Since there can only be `EcmascriptMergeUpdates` in the array, there is - // no need to key on the `type` field. - let update = updateA.merged[0]; - for(let i = 1; i < updateA.merged.length; i++){ - update = mergeChunkListEcmascriptMergedUpdates(update, updateA.merged[i]); - } - for(let i = 0; i < updateB.merged.length; i++){ - update = mergeChunkListEcmascriptMergedUpdates(update, updateB.merged[i]); - } - merged = [ - update - ]; - } - } else if (updateB.merged != null) { - merged = updateB.merged; - } - return { - type: 'ChunkListUpdate', - chunks, - merged - }; -} -function mergeChunkListChunks(chunksA, chunksB) { - const chunks = {}; - for (const [chunkPath, chunkUpdateA] of Object.entries(chunksA)){ - const chunkUpdateB = chunksB[chunkPath]; - if (chunkUpdateB != null) { - const mergedUpdate = mergeChunkUpdates(chunkUpdateA, chunkUpdateB); - if (mergedUpdate != null) { - chunks[chunkPath] = mergedUpdate; - } - } else { - chunks[chunkPath] = chunkUpdateA; - } - } - for (const [chunkPath, chunkUpdateB] of Object.entries(chunksB)){ - if (chunks[chunkPath] == null) { - chunks[chunkPath] = chunkUpdateB; - } - } - return chunks; -} -function mergeChunkUpdates(updateA, updateB) { - if (updateA.type === 'added' && updateB.type === 'deleted' || updateA.type === 'deleted' && updateB.type === 'added') { - return undefined; - } - if (updateA.type === 'partial') { - invariant(updateA.instruction, 'Partial updates are unsupported'); - } - if (updateB.type === 'partial') { - invariant(updateB.instruction, 'Partial updates are unsupported'); - } - return undefined; -} -function mergeChunkListEcmascriptMergedUpdates(mergedA, mergedB) { - const entries = mergeEcmascriptChunkEntries(mergedA.entries, mergedB.entries); - const chunks = mergeEcmascriptChunksUpdates(mergedA.chunks, mergedB.chunks); - return { - type: 'EcmascriptMergedUpdate', - entries, - chunks - }; -} -function mergeEcmascriptChunkEntries(entriesA, entriesB) { - return { - ...entriesA, - ...entriesB - }; -} -function mergeEcmascriptChunksUpdates(chunksA, chunksB) { - if (chunksA == null) { - return chunksB; - } - if (chunksB == null) { - return chunksA; - } - const chunks = {}; - for (const [chunkPath, chunkUpdateA] of Object.entries(chunksA)){ - const chunkUpdateB = chunksB[chunkPath]; - if (chunkUpdateB != null) { - const mergedUpdate = mergeEcmascriptChunkUpdates(chunkUpdateA, chunkUpdateB); - if (mergedUpdate != null) { - chunks[chunkPath] = mergedUpdate; - } - } else { - chunks[chunkPath] = chunkUpdateA; - } - } - for (const [chunkPath, chunkUpdateB] of Object.entries(chunksB)){ - if (chunks[chunkPath] == null) { - chunks[chunkPath] = chunkUpdateB; - } - } - if (Object.keys(chunks).length === 0) { - return undefined; - } - return chunks; -} -function mergeEcmascriptChunkUpdates(updateA, updateB) { - if (updateA.type === 'added' && updateB.type === 'deleted') { - // These two completely cancel each other out. - return undefined; - } - if (updateA.type === 'deleted' && updateB.type === 'added') { - const added = []; - const deleted = []; - const deletedModules = new Set(updateA.modules ?? []); - const addedModules = new Set(updateB.modules ?? []); - for (const moduleId of addedModules){ - if (!deletedModules.has(moduleId)) { - added.push(moduleId); - } - } - for (const moduleId of deletedModules){ - if (!addedModules.has(moduleId)) { - deleted.push(moduleId); - } - } - if (added.length === 0 && deleted.length === 0) { - return undefined; - } - return { - type: 'partial', - added, - deleted - }; - } - if (updateA.type === 'partial' && updateB.type === 'partial') { - const added = new Set([ - ...updateA.added ?? [], - ...updateB.added ?? [] - ]); - const deleted = new Set([ - ...updateA.deleted ?? [], - ...updateB.deleted ?? [] - ]); - if (updateB.added != null) { - for (const moduleId of updateB.added){ - deleted.delete(moduleId); - } - } - if (updateB.deleted != null) { - for (const moduleId of updateB.deleted){ - added.delete(moduleId); - } - } - return { - type: 'partial', - added: [ - ...added - ], - deleted: [ - ...deleted - ] - }; - } - if (updateA.type === 'added' && updateB.type === 'partial') { - const modules = new Set([ - ...updateA.modules ?? [], - ...updateB.added ?? [] - ]); - for (const moduleId of updateB.deleted ?? []){ - modules.delete(moduleId); - } - return { - type: 'added', - modules: [ - ...modules - ] - }; - } - if (updateA.type === 'partial' && updateB.type === 'deleted') { - // We could eagerly return `updateB` here, but this would potentially be - // incorrect if `updateA` has added modules. - const modules = new Set(updateB.modules ?? []); - if (updateA.added != null) { - for (const moduleId of updateA.added){ - modules.delete(moduleId); - } - } - return { - type: 'deleted', - modules: [ - ...modules - ] - }; - } - // Any other update combination is invalid. - return undefined; -} -function invariant(_, message) { - throw new Error(`Invariant: ${message}`); -} -const CRITICAL = [ - 'bug', - 'error', - 'fatal' -]; -function compareByList(list, a, b) { - const aI = list.indexOf(a) + 1 || list.length; - const bI = list.indexOf(b) + 1 || list.length; - return aI - bI; -} -const chunksWithIssues = new Map(); -function emitIssues() { - const issues = []; - const deduplicationSet = new Set(); - for (const [_, chunkIssues] of chunksWithIssues){ - for (const chunkIssue of chunkIssues){ - if (deduplicationSet.has(chunkIssue.formatted)) continue; - issues.push(chunkIssue); - deduplicationSet.add(chunkIssue.formatted); - } - } - sortIssues(issues); - hooks.issues(issues); -} -function handleIssues(msg) { - const key = resourceKey(msg.resource); - let hasCriticalIssues = false; - for (const issue of msg.issues){ - if (CRITICAL.includes(issue.severity)) { - hasCriticalIssues = true; - } - } - if (msg.issues.length > 0) { - chunksWithIssues.set(key, msg.issues); - } else if (chunksWithIssues.has(key)) { - chunksWithIssues.delete(key); - } - emitIssues(); - return hasCriticalIssues; -} -const SEVERITY_ORDER = [ - 'bug', - 'fatal', - 'error', - 'warning', - 'info', - 'log' -]; -const CATEGORY_ORDER = [ - 'parse', - 'resolve', - 'code generation', - 'rendering', - 'typescript', - 'other' -]; -function sortIssues(issues) { - issues.sort((a, b)=>{ - const first = compareByList(SEVERITY_ORDER, a.severity, b.severity); - if (first !== 0) return first; - return compareByList(CATEGORY_ORDER, a.category, b.category); - }); -} -const hooks = { - beforeRefresh: ()=>{}, - refresh: ()=>{}, - buildOk: ()=>{}, - issues: (_issues)=>{} -}; -function setHooks(newHooks) { - Object.assign(hooks, newHooks); -} -function handleSocketMessage(msg) { - sortIssues(msg.issues); - handleIssues(msg); - switch(msg.type){ - case 'issues': - break; - case 'partial': - // aggregate updates - aggregateUpdates(msg); - break; - default: - // run single update - const runHooks = chunkListsWithPendingUpdates.size === 0; - if (runHooks) hooks.beforeRefresh(); - triggerUpdate(msg); - if (runHooks) finalizeUpdate(); - break; - } -} -function finalizeUpdate() { - hooks.refresh(); - hooks.buildOk(); - // This is used by the Next.js integration test suite to notify it when HMR - // updates have been completed. - // TODO: Only run this in test environments (gate by `process.env.__NEXT_TEST_MODE`) - if (globalThis.__NEXT_HMR_CB) { - globalThis.__NEXT_HMR_CB(); - globalThis.__NEXT_HMR_CB = null; - } -} -function subscribeToChunkUpdate(chunkListPath, sendMessage, callback) { - return subscribeToUpdate({ - path: chunkListPath - }, sendMessage, callback); -} -function subscribeToUpdate(resource, sendMessage, callback) { - const key = resourceKey(resource); - let callbackSet; - const existingCallbackSet = updateCallbackSets.get(key); - if (!existingCallbackSet) { - callbackSet = { - callbacks: new Set([ - callback - ]), - unsubscribe: subscribeToUpdates(sendMessage, resource) - }; - updateCallbackSets.set(key, callbackSet); - } else { - existingCallbackSet.callbacks.add(callback); - callbackSet = existingCallbackSet; - } - return ()=>{ - callbackSet.callbacks.delete(callback); - if (callbackSet.callbacks.size === 0) { - callbackSet.unsubscribe(); - updateCallbackSets.delete(key); - } - }; -} -function triggerUpdate(msg) { - const key = resourceKey(msg.resource); - const callbackSet = updateCallbackSets.get(key); - if (!callbackSet) { - return; - } - for (const callback of callbackSet.callbacks){ - callback(msg); - } - if (msg.type === 'notFound') { - // This indicates that the resource which we subscribed to either does not exist or - // has been deleted. In either case, we should clear all update callbacks, so if a - // new subscription is created for the same resource, it will send a new "subscribe" - // message to the server. - // No need to send an "unsubscribe" message to the server, it will have already - // dropped the update stream before sending the "notFound" message. - updateCallbackSets.delete(key); - } -} -}), -]); - -//# sourceMappingURL=%5Bturbopack%5D_browser_dev_hmr-client_hmr-client_ts_c8c997ce._.js.map \ No newline at end of file diff --git a/.next/dev/static/chunks/[turbopack]_browser_dev_hmr-client_hmr-client_ts_c8c997ce._.js.map b/.next/dev/static/chunks/[turbopack]_browser_dev_hmr-client_hmr-client_ts_c8c997ce._.js.map deleted file mode 100644 index 23c83bc..0000000 --- a/.next/dev/static/chunks/[turbopack]_browser_dev_hmr-client_hmr-client_ts_c8c997ce._.js.map +++ /dev/null @@ -1,6 +0,0 @@ -{ - "version": 3, - "sources": [], - "sections": [ - {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["turbopack:///[turbopack]/browser/dev/hmr-client/hmr-client.ts"],"sourcesContent":["/// \r\n/// \r\n/// \r\n/// \r\n\r\ntype SendMessage = (msg: any) => void\r\nexport type WebSocketMessage =\r\n | {\r\n type: 'turbopack-connected'\r\n }\r\n | {\r\n type: 'turbopack-message'\r\n data: Record\r\n }\r\n\r\nexport type ClientOptions = {\r\n addMessageListener: (cb: (msg: WebSocketMessage) => void) => void\r\n sendMessage: SendMessage\r\n onUpdateError: (err: unknown) => void\r\n}\r\n\r\nexport function connect({\r\n addMessageListener,\r\n sendMessage,\r\n onUpdateError = console.error,\r\n}: ClientOptions) {\r\n addMessageListener((msg) => {\r\n switch (msg.type) {\r\n case 'turbopack-connected':\r\n handleSocketConnected(sendMessage)\r\n break\r\n default:\r\n try {\r\n if (Array.isArray(msg.data)) {\r\n for (let i = 0; i < msg.data.length; i++) {\r\n handleSocketMessage(msg.data[i] as ServerMessage)\r\n }\r\n } else {\r\n handleSocketMessage(msg.data as ServerMessage)\r\n }\r\n applyAggregatedUpdates()\r\n } catch (e: unknown) {\r\n console.warn(\r\n '[Fast Refresh] performing full reload\\n\\n' +\r\n \"Fast Refresh will perform a full reload when you edit a file that's imported by modules outside of the React rendering tree.\\n\" +\r\n 'You might have a file which exports a React component but also exports a value that is imported by a non-React component file.\\n' +\r\n 'Consider migrating the non-React component export to a separate file and importing it into both files.\\n\\n' +\r\n 'It is also possible the parent component of the component you edited is a class component, which disables Fast Refresh.\\n' +\r\n 'Fast Refresh requires at least one parent function component in your React tree.'\r\n )\r\n onUpdateError(e)\r\n location.reload()\r\n }\r\n break\r\n }\r\n })\r\n\r\n const queued = globalThis.TURBOPACK_CHUNK_UPDATE_LISTENERS\r\n if (queued != null && !Array.isArray(queued)) {\r\n throw new Error('A separate HMR handler was already registered')\r\n }\r\n globalThis.TURBOPACK_CHUNK_UPDATE_LISTENERS = {\r\n push: ([chunkPath, callback]: [ChunkListPath, UpdateCallback]) => {\r\n subscribeToChunkUpdate(chunkPath, sendMessage, callback)\r\n },\r\n }\r\n\r\n if (Array.isArray(queued)) {\r\n for (const [chunkPath, callback] of queued) {\r\n subscribeToChunkUpdate(chunkPath, sendMessage, callback)\r\n }\r\n }\r\n}\r\n\r\ntype UpdateCallbackSet = {\r\n callbacks: Set\r\n unsubscribe: () => void\r\n}\r\n\r\nconst updateCallbackSets: Map = new Map()\r\n\r\nfunction sendJSON(sendMessage: SendMessage, message: ClientMessage) {\r\n sendMessage(JSON.stringify(message))\r\n}\r\n\r\ntype ResourceKey = string\r\n\r\nfunction resourceKey(resource: ResourceIdentifier): ResourceKey {\r\n return JSON.stringify({\r\n path: resource.path,\r\n headers: resource.headers || null,\r\n })\r\n}\r\n\r\nfunction subscribeToUpdates(\r\n sendMessage: SendMessage,\r\n resource: ResourceIdentifier\r\n): () => void {\r\n sendJSON(sendMessage, {\r\n type: 'turbopack-subscribe',\r\n ...resource,\r\n })\r\n\r\n return () => {\r\n sendJSON(sendMessage, {\r\n type: 'turbopack-unsubscribe',\r\n ...resource,\r\n })\r\n }\r\n}\r\n\r\nfunction handleSocketConnected(sendMessage: SendMessage) {\r\n for (const key of updateCallbackSets.keys()) {\r\n subscribeToUpdates(sendMessage, JSON.parse(key))\r\n }\r\n}\r\n\r\n// we aggregate all pending updates until the issues are resolved\r\nconst chunkListsWithPendingUpdates: Map =\r\n new Map()\r\n\r\nfunction aggregateUpdates(msg: PartialServerMessage) {\r\n const key = resourceKey(msg.resource)\r\n let aggregated = chunkListsWithPendingUpdates.get(key)\r\n\r\n if (aggregated) {\r\n aggregated.instruction = mergeChunkListUpdates(\r\n aggregated.instruction,\r\n msg.instruction\r\n )\r\n } else {\r\n chunkListsWithPendingUpdates.set(key, msg)\r\n }\r\n}\r\n\r\nfunction applyAggregatedUpdates() {\r\n if (chunkListsWithPendingUpdates.size === 0) return\r\n hooks.beforeRefresh()\r\n for (const msg of chunkListsWithPendingUpdates.values()) {\r\n triggerUpdate(msg)\r\n }\r\n chunkListsWithPendingUpdates.clear()\r\n finalizeUpdate()\r\n}\r\n\r\nfunction mergeChunkListUpdates(\r\n updateA: ChunkListUpdate,\r\n updateB: ChunkListUpdate\r\n): ChunkListUpdate {\r\n let chunks\r\n if (updateA.chunks != null) {\r\n if (updateB.chunks == null) {\r\n chunks = updateA.chunks\r\n } else {\r\n chunks = mergeChunkListChunks(updateA.chunks, updateB.chunks)\r\n }\r\n } else if (updateB.chunks != null) {\r\n chunks = updateB.chunks\r\n }\r\n\r\n let merged\r\n if (updateA.merged != null) {\r\n if (updateB.merged == null) {\r\n merged = updateA.merged\r\n } else {\r\n // Since `merged` is an array of updates, we need to merge them all into\r\n // one, consistent update.\r\n // Since there can only be `EcmascriptMergeUpdates` in the array, there is\r\n // no need to key on the `type` field.\r\n let update = updateA.merged[0]\r\n for (let i = 1; i < updateA.merged.length; i++) {\r\n update = mergeChunkListEcmascriptMergedUpdates(\r\n update,\r\n updateA.merged[i]\r\n )\r\n }\r\n\r\n for (let i = 0; i < updateB.merged.length; i++) {\r\n update = mergeChunkListEcmascriptMergedUpdates(\r\n update,\r\n updateB.merged[i]\r\n )\r\n }\r\n\r\n merged = [update]\r\n }\r\n } else if (updateB.merged != null) {\r\n merged = updateB.merged\r\n }\r\n\r\n return {\r\n type: 'ChunkListUpdate',\r\n chunks,\r\n merged,\r\n }\r\n}\r\n\r\nfunction mergeChunkListChunks(\r\n chunksA: Record,\r\n chunksB: Record\r\n): Record {\r\n const chunks: Record = {}\r\n\r\n for (const [chunkPath, chunkUpdateA] of Object.entries(chunksA) as Array<\r\n [ChunkPath, ChunkUpdate]\r\n >) {\r\n const chunkUpdateB = chunksB[chunkPath]\r\n if (chunkUpdateB != null) {\r\n const mergedUpdate = mergeChunkUpdates(chunkUpdateA, chunkUpdateB)\r\n if (mergedUpdate != null) {\r\n chunks[chunkPath] = mergedUpdate\r\n }\r\n } else {\r\n chunks[chunkPath] = chunkUpdateA\r\n }\r\n }\r\n\r\n for (const [chunkPath, chunkUpdateB] of Object.entries(chunksB) as Array<\r\n [ChunkPath, ChunkUpdate]\r\n >) {\r\n if (chunks[chunkPath] == null) {\r\n chunks[chunkPath] = chunkUpdateB\r\n }\r\n }\r\n\r\n return chunks\r\n}\r\n\r\nfunction mergeChunkUpdates(\r\n updateA: ChunkUpdate,\r\n updateB: ChunkUpdate\r\n): ChunkUpdate | undefined {\r\n if (\r\n (updateA.type === 'added' && updateB.type === 'deleted') ||\r\n (updateA.type === 'deleted' && updateB.type === 'added')\r\n ) {\r\n return undefined\r\n }\r\n\r\n if (updateA.type === 'partial') {\r\n invariant(updateA.instruction, 'Partial updates are unsupported')\r\n }\r\n\r\n if (updateB.type === 'partial') {\r\n invariant(updateB.instruction, 'Partial updates are unsupported')\r\n }\r\n\r\n return undefined\r\n}\r\n\r\nfunction mergeChunkListEcmascriptMergedUpdates(\r\n mergedA: EcmascriptMergedUpdate,\r\n mergedB: EcmascriptMergedUpdate\r\n): EcmascriptMergedUpdate {\r\n const entries = mergeEcmascriptChunkEntries(mergedA.entries, mergedB.entries)\r\n const chunks = mergeEcmascriptChunksUpdates(mergedA.chunks, mergedB.chunks)\r\n\r\n return {\r\n type: 'EcmascriptMergedUpdate',\r\n entries,\r\n chunks,\r\n }\r\n}\r\n\r\nfunction mergeEcmascriptChunkEntries(\r\n entriesA: Record | undefined,\r\n entriesB: Record | undefined\r\n): Record {\r\n return { ...entriesA, ...entriesB }\r\n}\r\n\r\nfunction mergeEcmascriptChunksUpdates(\r\n chunksA: Record | undefined,\r\n chunksB: Record | undefined\r\n): Record | undefined {\r\n if (chunksA == null) {\r\n return chunksB\r\n }\r\n\r\n if (chunksB == null) {\r\n return chunksA\r\n }\r\n\r\n const chunks: Record = {}\r\n\r\n for (const [chunkPath, chunkUpdateA] of Object.entries(chunksA) as Array<\r\n [ChunkPath, EcmascriptMergedChunkUpdate]\r\n >) {\r\n const chunkUpdateB = chunksB[chunkPath]\r\n if (chunkUpdateB != null) {\r\n const mergedUpdate = mergeEcmascriptChunkUpdates(\r\n chunkUpdateA,\r\n chunkUpdateB\r\n )\r\n if (mergedUpdate != null) {\r\n chunks[chunkPath] = mergedUpdate\r\n }\r\n } else {\r\n chunks[chunkPath] = chunkUpdateA\r\n }\r\n }\r\n\r\n for (const [chunkPath, chunkUpdateB] of Object.entries(chunksB) as Array<\r\n [ChunkPath, EcmascriptMergedChunkUpdate]\r\n >) {\r\n if (chunks[chunkPath] == null) {\r\n chunks[chunkPath] = chunkUpdateB\r\n }\r\n }\r\n\r\n if (Object.keys(chunks).length === 0) {\r\n return undefined\r\n }\r\n\r\n return chunks\r\n}\r\n\r\nfunction mergeEcmascriptChunkUpdates(\r\n updateA: EcmascriptMergedChunkUpdate,\r\n updateB: EcmascriptMergedChunkUpdate\r\n): EcmascriptMergedChunkUpdate | undefined {\r\n if (updateA.type === 'added' && updateB.type === 'deleted') {\r\n // These two completely cancel each other out.\r\n return undefined\r\n }\r\n\r\n if (updateA.type === 'deleted' && updateB.type === 'added') {\r\n const added = []\r\n const deleted = []\r\n const deletedModules = new Set(updateA.modules ?? [])\r\n const addedModules = new Set(updateB.modules ?? [])\r\n\r\n for (const moduleId of addedModules) {\r\n if (!deletedModules.has(moduleId)) {\r\n added.push(moduleId)\r\n }\r\n }\r\n\r\n for (const moduleId of deletedModules) {\r\n if (!addedModules.has(moduleId)) {\r\n deleted.push(moduleId)\r\n }\r\n }\r\n\r\n if (added.length === 0 && deleted.length === 0) {\r\n return undefined\r\n }\r\n\r\n return {\r\n type: 'partial',\r\n added,\r\n deleted,\r\n }\r\n }\r\n\r\n if (updateA.type === 'partial' && updateB.type === 'partial') {\r\n const added = new Set([...(updateA.added ?? []), ...(updateB.added ?? [])])\r\n const deleted = new Set([\r\n ...(updateA.deleted ?? []),\r\n ...(updateB.deleted ?? []),\r\n ])\r\n\r\n if (updateB.added != null) {\r\n for (const moduleId of updateB.added) {\r\n deleted.delete(moduleId)\r\n }\r\n }\r\n\r\n if (updateB.deleted != null) {\r\n for (const moduleId of updateB.deleted) {\r\n added.delete(moduleId)\r\n }\r\n }\r\n\r\n return {\r\n type: 'partial',\r\n added: [...added],\r\n deleted: [...deleted],\r\n }\r\n }\r\n\r\n if (updateA.type === 'added' && updateB.type === 'partial') {\r\n const modules = new Set([\r\n ...(updateA.modules ?? []),\r\n ...(updateB.added ?? []),\r\n ])\r\n\r\n for (const moduleId of updateB.deleted ?? []) {\r\n modules.delete(moduleId)\r\n }\r\n\r\n return {\r\n type: 'added',\r\n modules: [...modules],\r\n }\r\n }\r\n\r\n if (updateA.type === 'partial' && updateB.type === 'deleted') {\r\n // We could eagerly return `updateB` here, but this would potentially be\r\n // incorrect if `updateA` has added modules.\r\n\r\n const modules = new Set(updateB.modules ?? [])\r\n\r\n if (updateA.added != null) {\r\n for (const moduleId of updateA.added) {\r\n modules.delete(moduleId)\r\n }\r\n }\r\n\r\n return {\r\n type: 'deleted',\r\n modules: [...modules],\r\n }\r\n }\r\n\r\n // Any other update combination is invalid.\r\n\r\n return undefined\r\n}\r\n\r\nfunction invariant(_: never, message: string): never {\r\n throw new Error(`Invariant: ${message}`)\r\n}\r\n\r\nconst CRITICAL = ['bug', 'error', 'fatal']\r\n\r\nfunction compareByList(list: any[], a: any, b: any) {\r\n const aI = list.indexOf(a) + 1 || list.length\r\n const bI = list.indexOf(b) + 1 || list.length\r\n return aI - bI\r\n}\r\n\r\nconst chunksWithIssues: Map = new Map()\r\n\r\nfunction emitIssues() {\r\n const issues = []\r\n const deduplicationSet = new Set()\r\n\r\n for (const [_, chunkIssues] of chunksWithIssues) {\r\n for (const chunkIssue of chunkIssues) {\r\n if (deduplicationSet.has(chunkIssue.formatted)) continue\r\n\r\n issues.push(chunkIssue)\r\n deduplicationSet.add(chunkIssue.formatted)\r\n }\r\n }\r\n\r\n sortIssues(issues)\r\n\r\n hooks.issues(issues)\r\n}\r\n\r\nfunction handleIssues(msg: ServerMessage): boolean {\r\n const key = resourceKey(msg.resource)\r\n let hasCriticalIssues = false\r\n\r\n for (const issue of msg.issues) {\r\n if (CRITICAL.includes(issue.severity)) {\r\n hasCriticalIssues = true\r\n }\r\n }\r\n\r\n if (msg.issues.length > 0) {\r\n chunksWithIssues.set(key, msg.issues)\r\n } else if (chunksWithIssues.has(key)) {\r\n chunksWithIssues.delete(key)\r\n }\r\n\r\n emitIssues()\r\n\r\n return hasCriticalIssues\r\n}\r\n\r\nconst SEVERITY_ORDER = ['bug', 'fatal', 'error', 'warning', 'info', 'log']\r\nconst CATEGORY_ORDER = [\r\n 'parse',\r\n 'resolve',\r\n 'code generation',\r\n 'rendering',\r\n 'typescript',\r\n 'other',\r\n]\r\n\r\nfunction sortIssues(issues: Issue[]) {\r\n issues.sort((a, b) => {\r\n const first = compareByList(SEVERITY_ORDER, a.severity, b.severity)\r\n if (first !== 0) return first\r\n return compareByList(CATEGORY_ORDER, a.category, b.category)\r\n })\r\n}\r\n\r\nconst hooks = {\r\n beforeRefresh: () => {},\r\n refresh: () => {},\r\n buildOk: () => {},\r\n issues: (_issues: Issue[]) => {},\r\n}\r\n\r\nexport function setHooks(newHooks: typeof hooks) {\r\n Object.assign(hooks, newHooks)\r\n}\r\n\r\nfunction handleSocketMessage(msg: ServerMessage) {\r\n sortIssues(msg.issues)\r\n\r\n handleIssues(msg)\r\n\r\n switch (msg.type) {\r\n case 'issues':\r\n // issues are already handled\r\n break\r\n case 'partial':\r\n // aggregate updates\r\n aggregateUpdates(msg)\r\n break\r\n default:\r\n // run single update\r\n const runHooks = chunkListsWithPendingUpdates.size === 0\r\n if (runHooks) hooks.beforeRefresh()\r\n triggerUpdate(msg)\r\n if (runHooks) finalizeUpdate()\r\n break\r\n }\r\n}\r\n\r\nfunction finalizeUpdate() {\r\n hooks.refresh()\r\n hooks.buildOk()\r\n\r\n // This is used by the Next.js integration test suite to notify it when HMR\r\n // updates have been completed.\r\n // TODO: Only run this in test environments (gate by `process.env.__NEXT_TEST_MODE`)\r\n if (globalThis.__NEXT_HMR_CB) {\r\n globalThis.__NEXT_HMR_CB()\r\n globalThis.__NEXT_HMR_CB = null\r\n }\r\n}\r\n\r\nfunction subscribeToChunkUpdate(\r\n chunkListPath: ChunkListPath,\r\n sendMessage: SendMessage,\r\n callback: UpdateCallback\r\n): () => void {\r\n return subscribeToUpdate(\r\n {\r\n path: chunkListPath,\r\n },\r\n sendMessage,\r\n callback\r\n )\r\n}\r\n\r\nexport function subscribeToUpdate(\r\n resource: ResourceIdentifier,\r\n sendMessage: SendMessage,\r\n callback: UpdateCallback\r\n) {\r\n const key = resourceKey(resource)\r\n let callbackSet: UpdateCallbackSet\r\n const existingCallbackSet = updateCallbackSets.get(key)\r\n if (!existingCallbackSet) {\r\n callbackSet = {\r\n callbacks: new Set([callback]),\r\n unsubscribe: subscribeToUpdates(sendMessage, resource),\r\n }\r\n updateCallbackSets.set(key, callbackSet)\r\n } else {\r\n existingCallbackSet.callbacks.add(callback)\r\n callbackSet = existingCallbackSet\r\n }\r\n\r\n return () => {\r\n callbackSet.callbacks.delete(callback)\r\n\r\n if (callbackSet.callbacks.size === 0) {\r\n callbackSet.unsubscribe()\r\n updateCallbackSets.delete(key)\r\n }\r\n }\r\n}\r\n\r\nfunction triggerUpdate(msg: ServerMessage) {\r\n const key = resourceKey(msg.resource)\r\n const callbackSet = updateCallbackSets.get(key)\r\n if (!callbackSet) {\r\n return\r\n }\r\n\r\n for (const callback of callbackSet.callbacks) {\r\n callback(msg)\r\n }\r\n\r\n if (msg.type === 'notFound') {\r\n // This indicates that the resource which we subscribed to either does not exist or\r\n // has been deleted. In either case, we should clear all update callbacks, so if a\r\n // new subscription is created for the same resource, it will send a new \"subscribe\"\r\n // message to the server.\r\n // No need to send an \"unsubscribe\" message to the server, it will have already\r\n // dropped the update stream before sending the \"notFound\" message.\r\n updateCallbackSets.delete(key)\r\n }\r\n}\r\n"],"names":[],"m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,WAAW,aAAa,GAAG;IAC7B;AACF;AAEA,SAAS,uBACP,aAA4B,EAC5B,WAAwB,EACxB,QAAwB;IAExB,OAAO,kBACL;QACE,MAAM;IACR,GACA,aACA;AAEJ;AAEO,SAAS,kBACd,QAA4B,EAC5B,WAAwB,EACxB,QAAwB;IAExB,MAAM,MAAM,YAAY;IACxB,IAAI;IACJ,MAAM,sBAAsB,mBAAmB,GAAG,CAAC;IACnD,IAAI,CAAC,qBAAqB;QACxB,cAAc;YACZ,WAAW,IAAI,IAAI;gBAAC;aAAS;YAC7B,aAAa,mBAAmB,aAAa;QAC/C;QACA,mBAAmB,GAAG,CAAC,KAAK;IAC9B,OAAO;QACL,oBAAoB,SAAS,CAAC,GAAG,CAAC;QAClC,cAAc;IAChB;IAEA,OAAO;QACL,YAAY,SAAS,CAAC,MAAM,CAAC;QAE7B,IAAI,YAAY,SAAS,CAAC,IAAI,KAAK,GAAG;YACpC,YAAY,WAAW;YACvB,mBAAmB,MAAM,CAAC;QAC5B;IACF;AACF;AAEA,SAAS,cAAc,GAAkB;IACvC,MAAM,MAAM,YAAY,IAAI,QAAQ;IACpC,MAAM,cAAc,mBAAmB,GAAG,CAAC;IAC3C,IAAI,CAAC,aAAa;QAChB;IACF;IAEA,KAAK,MAAM,YAAY,YAAY,SAAS,CAAE;QAC5C,SAAS;IACX;IAEA,IAAI,IAAI,IAAI,KAAK,YAAY;QAC3B,mFAAmF;QACnF,kFAAkF;QAClF,oFAAoF;QACpF,yBAAyB;QACzB,+EAA+E;QAC/E,mEAAmE;QACnE,mBAAmB,MAAM,CAAC;IAC5B;AACF","ignoreList":[0]}}] -} \ No newline at end of file diff --git a/.next/dev/static/chunks/_23a915ee._.js.map b/.next/dev/static/chunks/_23a915ee._.js.map deleted file mode 100644 index 0092ad9..0000000 --- a/.next/dev/static/chunks/_23a915ee._.js.map +++ /dev/null @@ -1,10 +0,0 @@ -{ - "version": 3, - "sources": [], - "sections": [ - {"offset": {"line": 13, "column": 0}, "map": {"version":3,"sources":["turbopack:///[turbopack]/shared/runtime-utils.ts"],"sourcesContent":["/**\r\n * This file contains runtime types and functions that are shared between all\r\n * TurboPack ECMAScript runtimes.\r\n *\r\n * It will be prepended to the runtime code of each runtime.\r\n */\r\n\r\n/* eslint-disable @typescript-eslint/no-unused-vars */\r\n\r\n/// \r\n\r\ntype EsmNamespaceObject = Record\r\n\r\n// @ts-ignore Defined in `dev-base.ts`\r\ndeclare function getOrInstantiateModuleFromParent(\r\n id: ModuleId,\r\n sourceModule: M\r\n): M\r\n\r\nconst REEXPORTED_OBJECTS = new WeakMap()\r\n\r\n/**\r\n * Constructs the `__turbopack_context__` object for a module.\r\n */\r\nfunction Context(\r\n this: TurbopackBaseContext,\r\n module: Module,\r\n exports: Exports\r\n) {\r\n this.m = module\r\n // We need to store this here instead of accessing it from the module object to:\r\n // 1. Make it available to factories directly, since we rewrite `this` to\r\n // `__turbopack_context__.e` in CJS modules.\r\n // 2. Support async modules which rewrite `module.exports` to a promise, so we\r\n // can still access the original exports object from functions like\r\n // `esmExport`\r\n // Ideally we could find a new approach for async modules and drop this property altogether.\r\n this.e = exports\r\n}\r\nconst contextPrototype = Context.prototype as TurbopackBaseContext\r\n\r\ntype ModuleContextMap = Record\r\n\r\ninterface ModuleContextEntry {\r\n id: () => ModuleId\r\n module: () => any\r\n}\r\n\r\ninterface ModuleContext {\r\n // require call\r\n (moduleId: string): Exports | EsmNamespaceObject\r\n\r\n // async import call\r\n import(moduleId: string): Promise\r\n\r\n keys(): ModuleId[]\r\n\r\n resolve(moduleId: string): ModuleId\r\n}\r\n\r\ntype GetOrInstantiateModuleFromParent = (\r\n moduleId: M['id'],\r\n parentModule: M\r\n) => M\r\n\r\ndeclare function getOrInstantiateRuntimeModule(\r\n chunkPath: ChunkPath,\r\n moduleId: ModuleId\r\n): Module\r\n\r\nconst hasOwnProperty = Object.prototype.hasOwnProperty\r\nconst toStringTag = typeof Symbol !== 'undefined' && Symbol.toStringTag\r\n\r\nfunction defineProp(\r\n obj: any,\r\n name: PropertyKey,\r\n options: PropertyDescriptor & ThisType\r\n) {\r\n if (!hasOwnProperty.call(obj, name)) Object.defineProperty(obj, name, options)\r\n}\r\n\r\nfunction getOverwrittenModule(\r\n moduleCache: ModuleCache,\r\n id: ModuleId\r\n): Module {\r\n let module = moduleCache[id]\r\n if (!module) {\r\n // This is invoked when a module is merged into another module, thus it wasn't invoked via\r\n // instantiateModule and the cache entry wasn't created yet.\r\n module = createModuleObject(id)\r\n moduleCache[id] = module\r\n }\r\n return module\r\n}\r\n\r\n/**\r\n * Creates the module object. Only done here to ensure all module objects have the same shape.\r\n */\r\nfunction createModuleObject(id: ModuleId): Module {\r\n return {\r\n exports: {},\r\n error: undefined,\r\n id,\r\n namespaceObject: undefined,\r\n }\r\n}\r\n\r\ntype BindingTag = 0\r\nconst BindingTag_Value = 0 as BindingTag\r\n\r\n// an arbitrary sequence of bindings as\r\n// - a prop name\r\n// - BindingTag_Value, a value to be bound directly, or\r\n// - 1 or 2 functions to bind as getters and sdetters\r\ntype EsmBindings = Array<\r\n string | BindingTag | (() => unknown) | ((v: unknown) => void) | unknown\r\n>\r\n\r\n/**\r\n * Adds the getters to the exports object.\r\n */\r\nfunction esm(exports: Exports, bindings: EsmBindings) {\r\n defineProp(exports, '__esModule', { value: true })\r\n if (toStringTag) defineProp(exports, toStringTag, { value: 'Module' })\r\n let i = 0\r\n while (i < bindings.length) {\r\n const propName = bindings[i++] as string\r\n const tagOrFunction = bindings[i++]\r\n if (typeof tagOrFunction === 'number') {\r\n if (tagOrFunction === BindingTag_Value) {\r\n defineProp(exports, propName, {\r\n value: bindings[i++],\r\n enumerable: true,\r\n writable: false,\r\n })\r\n } else {\r\n throw new Error(`unexpected tag: ${tagOrFunction}`)\r\n }\r\n } else {\r\n const getterFn = tagOrFunction as () => unknown\r\n if (typeof bindings[i] === 'function') {\r\n const setterFn = bindings[i++] as (v: unknown) => void\r\n defineProp(exports, propName, {\r\n get: getterFn,\r\n set: setterFn,\r\n enumerable: true,\r\n })\r\n } else {\r\n defineProp(exports, propName, {\r\n get: getterFn,\r\n enumerable: true,\r\n })\r\n }\r\n }\r\n }\r\n Object.seal(exports)\r\n}\r\n\r\n/**\r\n * Makes the module an ESM with exports\r\n */\r\nfunction esmExport(\r\n this: TurbopackBaseContext,\r\n bindings: EsmBindings,\r\n id: ModuleId | undefined\r\n) {\r\n let module: Module\r\n let exports: Module['exports']\r\n if (id != null) {\r\n module = getOverwrittenModule(this.c, id)\r\n exports = module.exports\r\n } else {\r\n module = this.m\r\n exports = this.e\r\n }\r\n module.namespaceObject = exports\r\n esm(exports, bindings)\r\n}\r\ncontextPrototype.s = esmExport\r\n\r\ntype ReexportedObjects = Record[]\r\nfunction ensureDynamicExports(\r\n module: Module,\r\n exports: Exports\r\n): ReexportedObjects {\r\n let reexportedObjects: ReexportedObjects | undefined =\r\n REEXPORTED_OBJECTS.get(module)\r\n\r\n if (!reexportedObjects) {\r\n REEXPORTED_OBJECTS.set(module, (reexportedObjects = []))\r\n module.exports = module.namespaceObject = new Proxy(exports, {\r\n get(target, prop) {\r\n if (\r\n hasOwnProperty.call(target, prop) ||\r\n prop === 'default' ||\r\n prop === '__esModule'\r\n ) {\r\n return Reflect.get(target, prop)\r\n }\r\n for (const obj of reexportedObjects!) {\r\n const value = Reflect.get(obj, prop)\r\n if (value !== undefined) return value\r\n }\r\n return undefined\r\n },\r\n ownKeys(target) {\r\n const keys = Reflect.ownKeys(target)\r\n for (const obj of reexportedObjects!) {\r\n for (const key of Reflect.ownKeys(obj)) {\r\n if (key !== 'default' && !keys.includes(key)) keys.push(key)\r\n }\r\n }\r\n return keys\r\n },\r\n })\r\n }\r\n return reexportedObjects\r\n}\r\n\r\n/**\r\n * Dynamically exports properties from an object\r\n */\r\nfunction dynamicExport(\r\n this: TurbopackBaseContext,\r\n object: Record,\r\n id: ModuleId | undefined\r\n) {\r\n let module: Module\r\n let exports: Exports\r\n if (id != null) {\r\n module = getOverwrittenModule(this.c, id)\r\n exports = module.exports\r\n } else {\r\n module = this.m\r\n exports = this.e\r\n }\r\n const reexportedObjects = ensureDynamicExports(module, exports)\r\n\r\n if (typeof object === 'object' && object !== null) {\r\n reexportedObjects.push(object)\r\n }\r\n}\r\ncontextPrototype.j = dynamicExport\r\n\r\nfunction exportValue(\r\n this: TurbopackBaseContext,\r\n value: any,\r\n id: ModuleId | undefined\r\n) {\r\n let module: Module\r\n if (id != null) {\r\n module = getOverwrittenModule(this.c, id)\r\n } else {\r\n module = this.m\r\n }\r\n module.exports = value\r\n}\r\ncontextPrototype.v = exportValue\r\n\r\nfunction exportNamespace(\r\n this: TurbopackBaseContext,\r\n namespace: any,\r\n id: ModuleId | undefined\r\n) {\r\n let module: Module\r\n if (id != null) {\r\n module = getOverwrittenModule(this.c, id)\r\n } else {\r\n module = this.m\r\n }\r\n module.exports = module.namespaceObject = namespace\r\n}\r\ncontextPrototype.n = exportNamespace\r\n\r\nfunction createGetter(obj: Record, key: string | symbol) {\r\n return () => obj[key]\r\n}\r\n\r\n/**\r\n * @returns prototype of the object\r\n */\r\nconst getProto: (obj: any) => any = Object.getPrototypeOf\r\n ? (obj) => Object.getPrototypeOf(obj)\r\n : (obj) => obj.__proto__\r\n\r\n/** Prototypes that are not expanded for exports */\r\nconst LEAF_PROTOTYPES = [null, getProto({}), getProto([]), getProto(getProto)]\r\n\r\n/**\r\n * @param raw\r\n * @param ns\r\n * @param allowExportDefault\r\n * * `false`: will have the raw module as default export\r\n * * `true`: will have the default property as default export\r\n */\r\nfunction interopEsm(\r\n raw: Exports,\r\n ns: EsmNamespaceObject,\r\n allowExportDefault?: boolean\r\n) {\r\n const bindings: EsmBindings = []\r\n let defaultLocation = -1\r\n for (\r\n let current = raw;\r\n (typeof current === 'object' || typeof current === 'function') &&\r\n !LEAF_PROTOTYPES.includes(current);\r\n current = getProto(current)\r\n ) {\r\n for (const key of Object.getOwnPropertyNames(current)) {\r\n bindings.push(key, createGetter(raw, key))\r\n if (defaultLocation === -1 && key === 'default') {\r\n defaultLocation = bindings.length - 1\r\n }\r\n }\r\n }\r\n\r\n // this is not really correct\r\n // we should set the `default` getter if the imported module is a `.cjs file`\r\n if (!(allowExportDefault && defaultLocation >= 0)) {\r\n // Replace the binding with one for the namespace itself in order to preserve iteration order.\r\n if (defaultLocation >= 0) {\r\n // Replace the getter with the value\r\n bindings.splice(defaultLocation, 1, BindingTag_Value, raw)\r\n } else {\r\n bindings.push('default', BindingTag_Value, raw)\r\n }\r\n }\r\n\r\n esm(ns, bindings)\r\n return ns\r\n}\r\n\r\nfunction createNS(raw: Module['exports']): EsmNamespaceObject {\r\n if (typeof raw === 'function') {\r\n return function (this: any, ...args: any[]) {\r\n return raw.apply(this, args)\r\n }\r\n } else {\r\n return Object.create(null)\r\n }\r\n}\r\n\r\nfunction esmImport(\r\n this: TurbopackBaseContext,\r\n id: ModuleId\r\n): Exclude {\r\n const module = getOrInstantiateModuleFromParent(id, this.m)\r\n\r\n // any ES module has to have `module.namespaceObject` defined.\r\n if (module.namespaceObject) return module.namespaceObject\r\n\r\n // only ESM can be an async module, so we don't need to worry about exports being a promise here.\r\n const raw = module.exports\r\n return (module.namespaceObject = interopEsm(\r\n raw,\r\n createNS(raw),\r\n raw && (raw as any).__esModule\r\n ))\r\n}\r\ncontextPrototype.i = esmImport\r\n\r\nfunction asyncLoader(\r\n this: TurbopackBaseContext,\r\n moduleId: ModuleId\r\n): Promise {\r\n const loader = this.r(moduleId) as (\r\n importFunction: EsmImport\r\n ) => Promise\r\n return loader(esmImport.bind(this))\r\n}\r\ncontextPrototype.A = asyncLoader\r\n\r\n// Add a simple runtime require so that environments without one can still pass\r\n// `typeof require` CommonJS checks so that exports are correctly registered.\r\nconst runtimeRequire =\r\n // @ts-ignore\r\n typeof require === 'function'\r\n ? // @ts-ignore\r\n require\r\n : function require() {\r\n throw new Error('Unexpected use of runtime require')\r\n }\r\ncontextPrototype.t = runtimeRequire\r\n\r\nfunction commonJsRequire(\r\n this: TurbopackBaseContext,\r\n id: ModuleId\r\n): Exports {\r\n return getOrInstantiateModuleFromParent(id, this.m).exports\r\n}\r\ncontextPrototype.r = commonJsRequire\r\n\r\n/**\r\n * Remove fragments and query parameters since they are never part of the context map keys\r\n *\r\n * This matches how we parse patterns at resolving time. Arguably we should only do this for\r\n * strings passed to `import` but the resolve does it for `import` and `require` and so we do\r\n * here as well.\r\n */\r\nfunction parseRequest(request: string): string {\r\n // Per the URI spec fragments can contain `?` characters, so we should trim it off first\r\n // https://datatracker.ietf.org/doc/html/rfc3986#section-3.5\r\n const hashIndex = request.indexOf('#')\r\n if (hashIndex !== -1) {\r\n request = request.substring(0, hashIndex)\r\n }\r\n\r\n const queryIndex = request.indexOf('?')\r\n if (queryIndex !== -1) {\r\n request = request.substring(0, queryIndex)\r\n }\r\n\r\n return request\r\n}\r\n/**\r\n * `require.context` and require/import expression runtime.\r\n */\r\nfunction moduleContext(map: ModuleContextMap): ModuleContext {\r\n function moduleContext(id: string): Exports {\r\n id = parseRequest(id)\r\n if (hasOwnProperty.call(map, id)) {\r\n return map[id].module()\r\n }\r\n\r\n const e = new Error(`Cannot find module '${id}'`)\r\n ;(e as any).code = 'MODULE_NOT_FOUND'\r\n throw e\r\n }\r\n\r\n moduleContext.keys = (): string[] => {\r\n return Object.keys(map)\r\n }\r\n\r\n moduleContext.resolve = (id: string): ModuleId => {\r\n id = parseRequest(id)\r\n if (hasOwnProperty.call(map, id)) {\r\n return map[id].id()\r\n }\r\n\r\n const e = new Error(`Cannot find module '${id}'`)\r\n ;(e as any).code = 'MODULE_NOT_FOUND'\r\n throw e\r\n }\r\n\r\n moduleContext.import = async (id: string) => {\r\n return await (moduleContext(id) as Promise)\r\n }\r\n\r\n return moduleContext\r\n}\r\ncontextPrototype.f = moduleContext\r\n\r\n/**\r\n * Returns the path of a chunk defined by its data.\r\n */\r\nfunction getChunkPath(chunkData: ChunkData): ChunkPath {\r\n return typeof chunkData === 'string' ? chunkData : chunkData.path\r\n}\r\n\r\nfunction isPromise(maybePromise: any): maybePromise is Promise {\r\n return (\r\n maybePromise != null &&\r\n typeof maybePromise === 'object' &&\r\n 'then' in maybePromise &&\r\n typeof maybePromise.then === 'function'\r\n )\r\n}\r\n\r\nfunction isAsyncModuleExt(obj: T): obj is AsyncModuleExt & T {\r\n return turbopackQueues in obj\r\n}\r\n\r\nfunction createPromise() {\r\n let resolve: (value: T | PromiseLike) => void\r\n let reject: (reason?: any) => void\r\n\r\n const promise = new Promise((res, rej) => {\r\n reject = rej\r\n resolve = res\r\n })\r\n\r\n return {\r\n promise,\r\n resolve: resolve!,\r\n reject: reject!,\r\n }\r\n}\r\n\r\n// Load the CompressedmoduleFactories of a chunk into the `moduleFactories` Map.\r\n// The CompressedModuleFactories format is\r\n// - 1 or more module ids\r\n// - a module factory function\r\n// So walking this is a little complex but the flat structure is also fast to\r\n// traverse, we can use `typeof` operators to distinguish the two cases.\r\nfunction installCompressedModuleFactories(\r\n chunkModules: CompressedModuleFactories,\r\n offset: number,\r\n moduleFactories: ModuleFactories,\r\n newModuleId?: (id: ModuleId) => void\r\n) {\r\n let i = offset\r\n while (i < chunkModules.length) {\r\n let moduleId = chunkModules[i] as ModuleId\r\n let end = i + 1\r\n // Find our factory function\r\n while (\r\n end < chunkModules.length &&\r\n typeof chunkModules[end] !== 'function'\r\n ) {\r\n end++\r\n }\r\n if (end === chunkModules.length) {\r\n throw new Error('malformed chunk format, expected a factory function')\r\n }\r\n // Each chunk item has a 'primary id' and optional additional ids. If the primary id is already\r\n // present we know all the additional ids are also present, so we don't need to check.\r\n if (!moduleFactories.has(moduleId)) {\r\n const moduleFactoryFn = chunkModules[end] as Function\r\n applyModuleFactoryName(moduleFactoryFn)\r\n newModuleId?.(moduleId)\r\n for (; i < end; i++) {\r\n moduleId = chunkModules[i] as ModuleId\r\n moduleFactories.set(moduleId, moduleFactoryFn)\r\n }\r\n }\r\n i = end + 1 // end is pointing at the last factory advance to the next id or the end of the array.\r\n }\r\n}\r\n\r\n// everything below is adapted from webpack\r\n// https://github.com/webpack/webpack/blob/6be4065ade1e252c1d8dcba4af0f43e32af1bdc1/lib/runtime/AsyncModuleRuntimeModule.js#L13\r\n\r\nconst turbopackQueues = Symbol('turbopack queues')\r\nconst turbopackExports = Symbol('turbopack exports')\r\nconst turbopackError = Symbol('turbopack error')\r\n\r\nconst enum QueueStatus {\r\n Unknown = -1,\r\n Unresolved = 0,\r\n Resolved = 1,\r\n}\r\n\r\ntype AsyncQueueFn = (() => void) & { queueCount: number }\r\ntype AsyncQueue = AsyncQueueFn[] & {\r\n status: QueueStatus\r\n}\r\n\r\nfunction resolveQueue(queue?: AsyncQueue) {\r\n if (queue && queue.status !== QueueStatus.Resolved) {\r\n queue.status = QueueStatus.Resolved\r\n queue.forEach((fn) => fn.queueCount--)\r\n queue.forEach((fn) => (fn.queueCount-- ? fn.queueCount++ : fn()))\r\n }\r\n}\r\n\r\ntype Dep = Exports | AsyncModulePromise | Promise\r\n\r\ntype AsyncModuleExt = {\r\n [turbopackQueues]: (fn: (queue: AsyncQueue) => void) => void\r\n [turbopackExports]: Exports\r\n [turbopackError]?: any\r\n}\r\n\r\ntype AsyncModulePromise = Promise & AsyncModuleExt\r\n\r\nfunction wrapDeps(deps: Dep[]): AsyncModuleExt[] {\r\n return deps.map((dep): AsyncModuleExt => {\r\n if (dep !== null && typeof dep === 'object') {\r\n if (isAsyncModuleExt(dep)) return dep\r\n if (isPromise(dep)) {\r\n const queue: AsyncQueue = Object.assign([], {\r\n status: QueueStatus.Unresolved,\r\n })\r\n\r\n const obj: AsyncModuleExt = {\r\n [turbopackExports]: {},\r\n [turbopackQueues]: (fn: (queue: AsyncQueue) => void) => fn(queue),\r\n }\r\n\r\n dep.then(\r\n (res) => {\r\n obj[turbopackExports] = res\r\n resolveQueue(queue)\r\n },\r\n (err) => {\r\n obj[turbopackError] = err\r\n resolveQueue(queue)\r\n }\r\n )\r\n\r\n return obj\r\n }\r\n }\r\n\r\n return {\r\n [turbopackExports]: dep,\r\n [turbopackQueues]: () => {},\r\n }\r\n })\r\n}\r\n\r\nfunction asyncModule(\r\n this: TurbopackBaseContext,\r\n body: (\r\n handleAsyncDependencies: (\r\n deps: Dep[]\r\n ) => Exports[] | Promise<() => Exports[]>,\r\n asyncResult: (err?: any) => void\r\n ) => void,\r\n hasAwait: boolean\r\n) {\r\n const module = this.m\r\n const queue: AsyncQueue | undefined = hasAwait\r\n ? Object.assign([], { status: QueueStatus.Unknown })\r\n : undefined\r\n\r\n const depQueues: Set = new Set()\r\n\r\n const { resolve, reject, promise: rawPromise } = createPromise()\r\n\r\n const promise: AsyncModulePromise = Object.assign(rawPromise, {\r\n [turbopackExports]: module.exports,\r\n [turbopackQueues]: (fn) => {\r\n queue && fn(queue)\r\n depQueues.forEach(fn)\r\n promise['catch'](() => {})\r\n },\r\n } satisfies AsyncModuleExt)\r\n\r\n const attributes: PropertyDescriptor = {\r\n get(): any {\r\n return promise\r\n },\r\n set(v: any) {\r\n // Calling `esmExport` leads to this.\r\n if (v !== promise) {\r\n promise[turbopackExports] = v\r\n }\r\n },\r\n }\r\n\r\n Object.defineProperty(module, 'exports', attributes)\r\n Object.defineProperty(module, 'namespaceObject', attributes)\r\n\r\n function handleAsyncDependencies(deps: Dep[]) {\r\n const currentDeps = wrapDeps(deps)\r\n\r\n const getResult = () =>\r\n currentDeps.map((d) => {\r\n if (d[turbopackError]) throw d[turbopackError]\r\n return d[turbopackExports]\r\n })\r\n\r\n const { promise, resolve } = createPromise<() => Exports[]>()\r\n\r\n const fn: AsyncQueueFn = Object.assign(() => resolve(getResult), {\r\n queueCount: 0,\r\n })\r\n\r\n function fnQueue(q: AsyncQueue) {\r\n if (q !== queue && !depQueues.has(q)) {\r\n depQueues.add(q)\r\n if (q && q.status === QueueStatus.Unresolved) {\r\n fn.queueCount++\r\n q.push(fn)\r\n }\r\n }\r\n }\r\n\r\n currentDeps.map((dep) => dep[turbopackQueues](fnQueue))\r\n\r\n return fn.queueCount ? promise : getResult()\r\n }\r\n\r\n function asyncResult(err?: any) {\r\n if (err) {\r\n reject((promise[turbopackError] = err))\r\n } else {\r\n resolve(promise[turbopackExports])\r\n }\r\n\r\n resolveQueue(queue)\r\n }\r\n\r\n body(handleAsyncDependencies, asyncResult)\r\n\r\n if (queue && queue.status === QueueStatus.Unknown) {\r\n queue.status = QueueStatus.Unresolved\r\n }\r\n}\r\ncontextPrototype.a = asyncModule\r\n\r\n/**\r\n * A pseudo \"fake\" URL object to resolve to its relative path.\r\n *\r\n * When UrlRewriteBehavior is set to relative, calls to the `new URL()` will construct url without base using this\r\n * runtime function to generate context-agnostic urls between different rendering context, i.e ssr / client to avoid\r\n * hydration mismatch.\r\n *\r\n * This is based on webpack's existing implementation:\r\n * https://github.com/webpack/webpack/blob/87660921808566ef3b8796f8df61bd79fc026108/lib/runtime/RelativeUrlRuntimeModule.js\r\n */\r\nconst relativeURL = function relativeURL(this: any, inputUrl: string) {\r\n const realUrl = new URL(inputUrl, 'x:/')\r\n const values: Record = {}\r\n for (const key in realUrl) values[key] = (realUrl as any)[key]\r\n values.href = inputUrl\r\n values.pathname = inputUrl.replace(/[?#].*/, '')\r\n values.origin = values.protocol = ''\r\n values.toString = values.toJSON = (..._args: Array) => inputUrl\r\n for (const key in values)\r\n Object.defineProperty(this, key, {\r\n enumerable: true,\r\n configurable: true,\r\n value: values[key],\r\n })\r\n}\r\nrelativeURL.prototype = URL.prototype\r\ncontextPrototype.U = relativeURL\r\n\r\n/**\r\n * Utility function to ensure all variants of an enum are handled.\r\n */\r\nfunction invariant(never: never, computeMessage: (arg: any) => string): never {\r\n throw new Error(`Invariant: ${computeMessage(never)}`)\r\n}\r\n\r\n/**\r\n * A stub function to make `require` available but non-functional in ESM.\r\n */\r\nfunction requireStub(_moduleId: ModuleId): never {\r\n throw new Error('dynamic usage of require is not supported')\r\n}\r\ncontextPrototype.z = requireStub\r\n\r\n// Make `globalThis` available to the module in a way that cannot be shadowed by a local variable.\r\ncontextPrototype.g = globalThis\r\n\r\ntype ContextConstructor = {\r\n new (module: Module, exports: Exports): TurbopackBaseContext\r\n}\r\n\r\nfunction applyModuleFactoryName(factory: Function) {\r\n // Give the module factory a nice name to improve stack traces.\r\n Object.defineProperty(factory, 'name', {\r\n value: 'module evaluation',\r\n })\r\n}\r\n"],"names":[],"mappings":"AAAA;;;;;CAKC,GAED,oDAAoD,GAEpD,6CAA6C;AAU7C,MAAM,qBAAqB,IAAI;AAE/B;;CAEC,GACD,SAAS,QAEP,MAAc,EACd,OAAgB;IAEhB,IAAI,CAAC,CAAC,GAAG;IACT,gFAAgF;IAChF,yEAAyE;IACzE,+CAA+C;IAC/C,8EAA8E;IAC9E,sEAAsE;IACtE,iBAAiB;IACjB,4FAA4F;IAC5F,IAAI,CAAC,CAAC,GAAG;AACX;AACA,MAAM,mBAAmB,QAAQ,SAAS;AA+B1C,MAAM,iBAAiB,OAAO,SAAS,CAAC,cAAc;AACtD,MAAM,cAAc,OAAO,WAAW,eAAe,OAAO,WAAW;AAEvE,SAAS,WACP,GAAQ,EACR,IAAiB,EACjB,OAA2C;IAE3C,IAAI,CAAC,eAAe,IAAI,CAAC,KAAK,OAAO,OAAO,cAAc,CAAC,KAAK,MAAM;AACxE;AAEA,SAAS,qBACP,WAAgC,EAChC,EAAY;IAEZ,IAAI,SAAS,WAAW,CAAC,GAAG;IAC5B,IAAI,CAAC,QAAQ;QACX,0FAA0F;QAC1F,4DAA4D;QAC5D,SAAS,mBAAmB;QAC5B,WAAW,CAAC,GAAG,GAAG;IACpB;IACA,OAAO;AACT;AAEA;;CAEC,GACD,SAAS,mBAAmB,EAAY;IACtC,OAAO;QACL,SAAS,CAAC;QACV,OAAO;QACP;QACA,iBAAiB;IACnB;AACF;AAGA,MAAM,mBAAmB;AAUzB;;CAEC,GACD,SAAS,IAAI,OAAgB,EAAE,QAAqB;IAClD,WAAW,SAAS,cAAc;QAAE,OAAO;IAAK;IAChD,IAAI,aAAa,WAAW,SAAS,aAAa;QAAE,OAAO;IAAS;IACpE,IAAI,IAAI;IACR,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,GAAG;AAErB,kGAAkG;AAClG,iBAAiB,CAAC,GAAG;AAMrB,SAAS,uBAAuB,OAAiB;IAC/C,+DAA+D;IAC/D,OAAO,cAAc,CAAC,SAAS,QAAQ;QACrC,OAAO;IACT;AACF","ignoreList":[0]}}, - {"offset": {"line": 514, "column": 0}, "map": {"version":3,"sources":["turbopack:///[turbopack]/browser/runtime/base/runtime-base.ts"],"sourcesContent":["/**\r\n * This file contains runtime types and functions that are shared between all\r\n * Turbopack *development* ECMAScript runtimes.\r\n *\r\n * It will be appended to the runtime code of each runtime right after the\r\n * shared runtime utils.\r\n */\r\n\r\n/* eslint-disable @typescript-eslint/no-unused-vars */\r\n\r\n/// \r\n/// \r\n\r\n// Used in WebWorkers to tell the runtime about the chunk base path\r\ndeclare var TURBOPACK_WORKER_LOCATION: string\r\n// Used in WebWorkers to tell the runtime about the chunk suffix\r\ndeclare var TURBOPACK_CHUNK_SUFFIX: string\r\n// Used in WebWorkers to tell the runtime about the current chunk url since it can't be detected via document.currentScript\r\n// Note it's stored in reversed order to use push and pop\r\ndeclare var TURBOPACK_NEXT_CHUNK_URLS: ChunkUrl[] | undefined\r\n\r\n// Injected by rust code\r\ndeclare var CHUNK_BASE_PATH: string\r\ndeclare var CHUNK_SUFFIX: string\r\n\r\ninterface TurbopackBrowserBaseContext extends TurbopackBaseContext {\r\n R: ResolvePathFromModule\r\n}\r\n\r\nconst browserContextPrototype =\r\n Context.prototype as TurbopackBrowserBaseContext\r\n\r\n// Provided by build or dev base\r\ndeclare function instantiateModule(\r\n id: ModuleId,\r\n sourceType: SourceType,\r\n sourceData: SourceData\r\n): Module\r\n\r\ntype RuntimeParams = {\r\n otherChunks: ChunkData[]\r\n runtimeModuleIds: ModuleId[]\r\n}\r\n\r\ntype ChunkRegistration = [\r\n chunkPath: ChunkScript,\r\n ...([RuntimeParams] | CompressedModuleFactories),\r\n]\r\n\r\ntype ChunkList = {\r\n script: ChunkListScript\r\n chunks: ChunkData[]\r\n source: 'entry' | 'dynamic'\r\n}\r\n\r\nenum SourceType {\r\n /**\r\n * The module was instantiated because it was included in an evaluated chunk's\r\n * runtime.\r\n * SourceData is a ChunkPath.\r\n */\r\n Runtime = 0,\r\n /**\r\n * The module was instantiated because a parent module imported it.\r\n * SourceData is a ModuleId.\r\n */\r\n Parent = 1,\r\n /**\r\n * The module was instantiated because it was included in a chunk's hot module\r\n * update.\r\n * SourceData is an array of ModuleIds or undefined.\r\n */\r\n Update = 2,\r\n}\r\n\r\ntype SourceData = ChunkPath | ModuleId | ModuleId[] | undefined\r\ninterface RuntimeBackend {\r\n registerChunk: (chunkPath: ChunkPath, params?: RuntimeParams) => void\r\n /**\r\n * Returns the same Promise for the same chunk URL.\r\n */\r\n loadChunkCached: (sourceType: SourceType, chunkUrl: ChunkUrl) => Promise\r\n loadWebAssembly: (\r\n sourceType: SourceType,\r\n sourceData: SourceData,\r\n wasmChunkPath: ChunkPath,\r\n edgeModule: () => WebAssembly.Module,\r\n importsObj: WebAssembly.Imports\r\n ) => Promise\r\n loadWebAssemblyModule: (\r\n sourceType: SourceType,\r\n sourceData: SourceData,\r\n wasmChunkPath: ChunkPath,\r\n edgeModule: () => WebAssembly.Module\r\n ) => Promise\r\n}\r\n\r\ninterface DevRuntimeBackend {\r\n reloadChunk?: (chunkUrl: ChunkUrl) => Promise\r\n unloadChunk?: (chunkUrl: ChunkUrl) => void\r\n restart: () => void\r\n}\r\n\r\nconst moduleFactories: ModuleFactories = new Map()\r\ncontextPrototype.M = moduleFactories\r\n\r\nconst availableModules: Map | true> = new Map()\r\n\r\nconst availableModuleChunks: Map | true> = new Map()\r\n\r\nfunction factoryNotAvailableMessage(\r\n moduleId: ModuleId,\r\n sourceType: SourceType,\r\n sourceData: SourceData\r\n): string {\r\n let instantiationReason\r\n switch (sourceType) {\r\n case SourceType.Runtime:\r\n instantiationReason = `as a runtime entry of chunk ${sourceData}`\r\n break\r\n case SourceType.Parent:\r\n instantiationReason = `because it was required from module ${sourceData}`\r\n break\r\n case SourceType.Update:\r\n instantiationReason = 'because of an HMR update'\r\n break\r\n default:\r\n invariant(\r\n sourceType,\r\n (sourceType) => `Unknown source type: ${sourceType}`\r\n )\r\n }\r\n return `Module ${moduleId} was instantiated ${instantiationReason}, but the module factory is not available.`\r\n}\r\n\r\nfunction loadChunk(\r\n this: TurbopackBrowserBaseContext,\r\n chunkData: ChunkData\r\n): Promise {\r\n return loadChunkInternal(SourceType.Parent, this.m.id, chunkData)\r\n}\r\nbrowserContextPrototype.l = loadChunk\r\n\r\nfunction loadInitialChunk(chunkPath: ChunkPath, chunkData: ChunkData) {\r\n return loadChunkInternal(SourceType.Runtime, chunkPath, chunkData)\r\n}\r\n\r\nasync function loadChunkInternal(\r\n sourceType: SourceType,\r\n sourceData: SourceData,\r\n chunkData: ChunkData\r\n): Promise {\r\n if (typeof chunkData === 'string') {\r\n return loadChunkPath(sourceType, sourceData, chunkData)\r\n }\r\n\r\n const includedList = chunkData.included || []\r\n const modulesPromises = includedList.map((included) => {\r\n if (moduleFactories.has(included)) return true\r\n return availableModules.get(included)\r\n })\r\n if (modulesPromises.length > 0 && modulesPromises.every((p) => p)) {\r\n // When all included items are already loaded or loading, we can skip loading ourselves\r\n await Promise.all(modulesPromises)\r\n return\r\n }\r\n\r\n const includedModuleChunksList = chunkData.moduleChunks || []\r\n const moduleChunksPromises = includedModuleChunksList\r\n .map((included) => {\r\n // TODO(alexkirsz) Do we need this check?\r\n // if (moduleFactories[included]) return true;\r\n return availableModuleChunks.get(included)\r\n })\r\n .filter((p) => p)\r\n\r\n let promise: Promise\r\n if (moduleChunksPromises.length > 0) {\r\n // Some module chunks are already loaded or loading.\r\n\r\n if (moduleChunksPromises.length === includedModuleChunksList.length) {\r\n // When all included module chunks are already loaded or loading, we can skip loading ourselves\r\n await Promise.all(moduleChunksPromises)\r\n return\r\n }\r\n\r\n const moduleChunksToLoad: Set = new Set()\r\n for (const moduleChunk of includedModuleChunksList) {\r\n if (!availableModuleChunks.has(moduleChunk)) {\r\n moduleChunksToLoad.add(moduleChunk)\r\n }\r\n }\r\n\r\n for (const moduleChunkToLoad of moduleChunksToLoad) {\r\n const promise = loadChunkPath(sourceType, sourceData, moduleChunkToLoad)\r\n\r\n availableModuleChunks.set(moduleChunkToLoad, promise)\r\n\r\n moduleChunksPromises.push(promise)\r\n }\r\n\r\n promise = Promise.all(moduleChunksPromises)\r\n } else {\r\n promise = loadChunkPath(sourceType, sourceData, chunkData.path)\r\n\r\n // Mark all included module chunks as loading if they are not already loaded or loading.\r\n for (const includedModuleChunk of includedModuleChunksList) {\r\n if (!availableModuleChunks.has(includedModuleChunk)) {\r\n availableModuleChunks.set(includedModuleChunk, promise)\r\n }\r\n }\r\n }\r\n\r\n for (const included of includedList) {\r\n if (!availableModules.has(included)) {\r\n // It might be better to race old and new promises, but it's rare that the new promise will be faster than a request started earlier.\r\n // In production it's even more rare, because the chunk optimization tries to deduplicate modules anyway.\r\n availableModules.set(included, promise)\r\n }\r\n }\r\n\r\n await promise\r\n}\r\n\r\nconst loadedChunk = Promise.resolve(undefined)\r\nconst instrumentedBackendLoadChunks = new WeakMap<\r\n Promise,\r\n Promise | typeof loadedChunk\r\n>()\r\n// Do not make this async. React relies on referential equality of the returned Promise.\r\nfunction loadChunkByUrl(\r\n this: TurbopackBrowserBaseContext,\r\n chunkUrl: ChunkUrl\r\n) {\r\n return loadChunkByUrlInternal(SourceType.Parent, this.m.id, chunkUrl)\r\n}\r\nbrowserContextPrototype.L = loadChunkByUrl\r\n\r\n// Do not make this async. React relies on referential equality of the returned Promise.\r\nfunction loadChunkByUrlInternal(\r\n sourceType: SourceType,\r\n sourceData: SourceData,\r\n chunkUrl: ChunkUrl\r\n): Promise {\r\n const thenable = BACKEND.loadChunkCached(sourceType, chunkUrl)\r\n let entry = instrumentedBackendLoadChunks.get(thenable)\r\n if (entry === undefined) {\r\n const resolve = instrumentedBackendLoadChunks.set.bind(\r\n instrumentedBackendLoadChunks,\r\n thenable,\r\n loadedChunk\r\n )\r\n entry = thenable.then(resolve).catch((cause) => {\r\n let loadReason: string\r\n switch (sourceType) {\r\n case SourceType.Runtime:\r\n loadReason = `as a runtime dependency of chunk ${sourceData}`\r\n break\r\n case SourceType.Parent:\r\n loadReason = `from module ${sourceData}`\r\n break\r\n case SourceType.Update:\r\n loadReason = 'from an HMR update'\r\n break\r\n default:\r\n invariant(\r\n sourceType,\r\n (sourceType) => `Unknown source type: ${sourceType}`\r\n )\r\n }\r\n let error = new Error(\r\n `Failed to load chunk ${chunkUrl} ${loadReason}${\r\n cause ? `: ${cause}` : ''\r\n }`,\r\n cause ? { cause } : undefined\r\n )\r\n error.name = 'ChunkLoadError'\r\n throw error\r\n })\r\n instrumentedBackendLoadChunks.set(thenable, entry)\r\n }\r\n\r\n return entry\r\n}\r\n\r\n// Do not make this async. React relies on referential equality of the returned Promise.\r\nfunction loadChunkPath(\r\n sourceType: SourceType,\r\n sourceData: SourceData,\r\n chunkPath: ChunkPath\r\n): Promise {\r\n const url = getChunkRelativeUrl(chunkPath)\r\n return loadChunkByUrlInternal(sourceType, sourceData, url)\r\n}\r\n\r\n/**\r\n * Returns an absolute url to an asset.\r\n */\r\nfunction resolvePathFromModule(\r\n this: TurbopackBaseContext,\r\n moduleId: string\r\n): string {\r\n const exported = this.r(moduleId)\r\n return exported?.default ?? exported\r\n}\r\nbrowserContextPrototype.R = resolvePathFromModule\r\n\r\n/**\r\n * no-op for browser\r\n * @param modulePath\r\n */\r\nfunction resolveAbsolutePath(modulePath?: string): string {\r\n return `/ROOT/${modulePath ?? ''}`\r\n}\r\nbrowserContextPrototype.P = resolveAbsolutePath\r\n\r\n/**\r\n * Returns a blob URL for the worker.\r\n * @param chunks list of chunks to load\r\n */\r\nfunction getWorkerBlobURL(chunks: ChunkPath[]): string {\r\n // It is important to reverse the array so when bootstrapping we can infer what chunk is being\r\n // evaluated by poping urls off of this array. See `getPathFromScript`\r\n let bootstrap = `self.TURBOPACK_WORKER_LOCATION = ${JSON.stringify(location.origin)};\r\nself.TURBOPACK_CHUNK_SUFFIX = ${JSON.stringify(CHUNK_SUFFIX)};\r\nself.TURBOPACK_NEXT_CHUNK_URLS = ${JSON.stringify(chunks.reverse().map(getChunkRelativeUrl), null, 2)};\r\nimportScripts(...self.TURBOPACK_NEXT_CHUNK_URLS.map(c => self.TURBOPACK_WORKER_LOCATION + c).reverse());`\r\n let blob = new Blob([bootstrap], { type: 'text/javascript' })\r\n return URL.createObjectURL(blob)\r\n}\r\nbrowserContextPrototype.b = getWorkerBlobURL\r\n\r\n/**\r\n * Instantiates a runtime module.\r\n */\r\nfunction instantiateRuntimeModule(\r\n moduleId: ModuleId,\r\n chunkPath: ChunkPath\r\n): Module {\r\n return instantiateModule(moduleId, SourceType.Runtime, chunkPath)\r\n}\r\n/**\r\n * Returns the URL relative to the origin where a chunk can be fetched from.\r\n */\r\nfunction getChunkRelativeUrl(chunkPath: ChunkPath | ChunkListPath): ChunkUrl {\r\n return `${CHUNK_BASE_PATH}${chunkPath\r\n .split('/')\r\n .map((p) => encodeURIComponent(p))\r\n .join('/')}${CHUNK_SUFFIX}` as ChunkUrl\r\n}\r\n\r\n/**\r\n * Return the ChunkPath from a ChunkScript.\r\n */\r\nfunction getPathFromScript(chunkScript: ChunkPath | ChunkScript): ChunkPath\r\nfunction getPathFromScript(\r\n chunkScript: ChunkListPath | ChunkListScript\r\n): ChunkListPath\r\nfunction getPathFromScript(\r\n chunkScript: ChunkPath | ChunkListPath | ChunkScript | ChunkListScript\r\n): ChunkPath | ChunkListPath {\r\n if (typeof chunkScript === 'string') {\r\n return chunkScript as ChunkPath | ChunkListPath\r\n }\r\n const chunkUrl =\r\n typeof TURBOPACK_NEXT_CHUNK_URLS !== 'undefined'\r\n ? TURBOPACK_NEXT_CHUNK_URLS.pop()!\r\n : chunkScript.getAttribute('src')!\r\n const src = decodeURIComponent(chunkUrl.replace(/[?#].*$/, ''))\r\n const path = src.startsWith(CHUNK_BASE_PATH)\r\n ? src.slice(CHUNK_BASE_PATH.length)\r\n : src\r\n return path as ChunkPath | ChunkListPath\r\n}\r\n\r\nconst regexJsUrl = /\\.js(?:\\?[^#]*)?(?:#.*)?$/\r\n/**\r\n * Checks if a given path/URL ends with .js, optionally followed by ?query or #fragment.\r\n */\r\nfunction isJs(chunkUrlOrPath: ChunkUrl | ChunkPath): boolean {\r\n return regexJsUrl.test(chunkUrlOrPath)\r\n}\r\n\r\nconst regexCssUrl = /\\.css(?:\\?[^#]*)?(?:#.*)?$/\r\n/**\r\n * Checks if a given path/URL ends with .css, optionally followed by ?query or #fragment.\r\n */\r\nfunction isCss(chunkUrl: ChunkUrl): boolean {\r\n return regexCssUrl.test(chunkUrl)\r\n}\r\n\r\nfunction loadWebAssembly(\r\n this: TurbopackBaseContext,\r\n chunkPath: ChunkPath,\r\n edgeModule: () => WebAssembly.Module,\r\n importsObj: WebAssembly.Imports\r\n): Promise {\r\n return BACKEND.loadWebAssembly(\r\n SourceType.Parent,\r\n this.m.id,\r\n chunkPath,\r\n edgeModule,\r\n importsObj\r\n )\r\n}\r\ncontextPrototype.w = loadWebAssembly\r\n\r\nfunction loadWebAssemblyModule(\r\n this: TurbopackBaseContext,\r\n chunkPath: ChunkPath,\r\n edgeModule: () => WebAssembly.Module\r\n): Promise {\r\n return BACKEND.loadWebAssemblyModule(\r\n SourceType.Parent,\r\n this.m.id,\r\n chunkPath,\r\n edgeModule\r\n )\r\n}\r\ncontextPrototype.u = loadWebAssemblyModule\r\n"],"names":[],"mappings":"AAAA;;;;;;CAMC,GAED,oDAAoD,GAEpD,6CAA6C;AAC7C,yDAAyD;AAEzD,mEAAmE;AAgBnE,MAAM,0BACJ,QAAQ,SAAS;AAyBnB,IAAA,AAAK,oCAAA;IACH;;;;GAIC;IAED;;;GAGC;IAED;;;;GAIC;WAhBE;EAAA;AAgDL,MAAM,kBAAmC,IAAI;AAC7C,iBAAiB,CAAC,GAAG;AAErB,MAAM,mBAAuD,IAAI;AAEjE,MAAM,wBAA6D,IAAI;AAEvE,SAAS,2BACP,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IAAI,eAAe,CAAC;AAC7B;AACA,wBAAwB,CAAC,GAAG;AAE5B;;CAEC,GACD,SAAS,yBACP,QAAkB,EAClB,SAAoB;IAEpB,OAAO,kBAAkB,aAA8B;AACzD;AACA;;CAEC,GACD,SAAS,oBAAoB,SAAoC;IAC/D,OAAO,GAAG,kBAAkB,UACzB,KAAK,CAAC,KACN,GAAG,CAAC,CAAC,IAAM,mBAAmB,IAC9B,IAAI,CAAC,OAAO,cAAc;AAC/B;AASA,SAAS,kBACP,WAAsE;IAEtE,IAAI,OAAO,gBAAgB,UAAU;QACnC,OAAO;IACT;IACA,MAAM,WACJ,OAAO,8BAA8B,cACjC,0BAA0B,GAAG,KAC7B,YAAY,YAAY,CAAC;IAC/B,MAAM,MAAM,mBAAmB,SAAS,OAAO,CAAC,WAAW;IAC3D,MAAM,OAAO,IAAI,UAAU,CAAC,mBACxB,IAAI,KAAK,CAAC,gBAAgB,MAAM,IAChC;IACJ,OAAO;AACT;AAEA,MAAM,aAAa;AACnB;;CAEC,GACD,SAAS,KAAK,cAAoC;IAChD,OAAO,WAAW,IAAI,CAAC;AACzB;AAEA,MAAM,cAAc;AACpB;;CAEC,GACD,SAAS,MAAM,QAAkB;IAC/B,OAAO,YAAY,IAAI,CAAC;AAC1B;AAEA,SAAS,gBAEP,SAAoB,EACpB,UAAoC,EACpC,UAA+B;IAE/B,OAAO,QAAQ,eAAe,IAE5B,IAAI,CAAC,CAAC,CAAC,EAAE,EACT,WACA,YACA;AAEJ;AACA,iBAAiB,CAAC,GAAG;AAErB,SAAS,sBAEP,SAAoB,EACpB,UAAoC;IAEpC,OAAO,QAAQ,qBAAqB,IAElC,IAAI,CAAC,CAAC,CAAC,EAAE,EACT,WACA;AAEJ;AACA,iBAAiB,CAAC,GAAG","ignoreList":[0]}}, - {"offset": {"line": 741, "column": 0}, "map": {"version":3,"sources":["turbopack:///[turbopack]/browser/runtime/base/dev-base.ts"],"sourcesContent":["/// \r\n/// \r\n/// \r\n\r\ninterface TurbopackDevContext extends TurbopackBrowserBaseContext {\r\n k: RefreshContext\r\n}\r\n\r\nconst devContextPrototype = Context.prototype as TurbopackDevContext\r\n\r\n/**\r\n * This file contains runtime types and functions that are shared between all\r\n * Turbopack *development* ECMAScript runtimes.\r\n *\r\n * It will be appended to the runtime code of each runtime right after the\r\n * shared runtime utils.\r\n */\r\n\r\n/* eslint-disable @typescript-eslint/no-unused-vars */\r\n\r\nconst devModuleCache: ModuleCache = Object.create(null)\r\ndevContextPrototype.c = devModuleCache\r\n\r\n// This file must not use `import` and `export` statements. Otherwise, it\r\n// becomes impossible to augment interfaces declared in ``d files\r\n// (e.g. `Module`). Hence, the need for `import()` here.\r\ntype RefreshRuntimeGlobals =\r\n import('@next/react-refresh-utils/dist/runtime').RefreshRuntimeGlobals\r\n\r\ndeclare var $RefreshHelpers$: RefreshRuntimeGlobals['$RefreshHelpers$']\r\ndeclare var $RefreshReg$: RefreshRuntimeGlobals['$RefreshReg$']\r\ndeclare var $RefreshSig$: RefreshRuntimeGlobals['$RefreshSig$']\r\ndeclare var $RefreshInterceptModuleExecution$: RefreshRuntimeGlobals['$RefreshInterceptModuleExecution$']\r\n\r\ntype RefreshContext = {\r\n register: RefreshRuntimeGlobals['$RefreshReg$']\r\n signature: RefreshRuntimeGlobals['$RefreshSig$']\r\n registerExports: typeof registerExportsAndSetupBoundaryForReactRefresh\r\n}\r\n\r\ntype RefreshHelpers = RefreshRuntimeGlobals['$RefreshHelpers$']\r\n\r\ntype ModuleFactory = (\r\n this: Module['exports'],\r\n context: TurbopackDevContext\r\n) => unknown\r\n\r\ninterface DevRuntimeBackend {\r\n reloadChunk?: (chunkUrl: ChunkUrl) => Promise\r\n unloadChunk?: (chunkUrl: ChunkUrl) => void\r\n restart: () => void\r\n}\r\n\r\nclass UpdateApplyError extends Error {\r\n name = 'UpdateApplyError'\r\n\r\n dependencyChain: ModuleId[]\r\n\r\n constructor(message: string, dependencyChain: ModuleId[]) {\r\n super(message)\r\n this.dependencyChain = dependencyChain\r\n }\r\n}\r\n\r\n/**\r\n * Module IDs that are instantiated as part of the runtime of a chunk.\r\n */\r\nconst runtimeModules: Set = new Set()\r\n\r\n/**\r\n * Map from module ID to the chunks that contain this module.\r\n *\r\n * In HMR, we need to keep track of which modules are contained in which so\r\n * chunks. This is so we don't eagerly dispose of a module when it is removed\r\n * from chunk A, but still exists in chunk B.\r\n */\r\nconst moduleChunksMap: Map> = new Map()\r\n/**\r\n * Map from a chunk path to all modules it contains.\r\n */\r\nconst chunkModulesMap: Map> = new Map()\r\n/**\r\n * Chunk lists that contain a runtime. When these chunk lists receive an update\r\n * that can't be reconciled with the current state of the page, we need to\r\n * reload the runtime entirely.\r\n */\r\nconst runtimeChunkLists: Set = new Set()\r\n/**\r\n * Map from a chunk list to the chunk paths it contains.\r\n */\r\nconst chunkListChunksMap: Map> = new Map()\r\n/**\r\n * Map from a chunk path to the chunk lists it belongs to.\r\n */\r\nconst chunkChunkListsMap: Map> = new Map()\r\n\r\n/**\r\n * Maps module IDs to persisted data between executions of their hot module\r\n * implementation (`hot.data`).\r\n */\r\nconst moduleHotData: Map = new Map()\r\n/**\r\n * Maps module instances to their hot module state.\r\n */\r\nconst moduleHotState: Map = new Map()\r\n/**\r\n * Modules that call `module.hot.invalidate()` (while being updated).\r\n */\r\nconst queuedInvalidatedModules: Set = new Set()\r\n\r\n/**\r\n * Gets or instantiates a runtime module.\r\n */\r\n// @ts-ignore\r\nfunction getOrInstantiateRuntimeModule(\r\n chunkPath: ChunkPath,\r\n moduleId: ModuleId\r\n): Module {\r\n const module = devModuleCache[moduleId]\r\n if (module) {\r\n if (module.error) {\r\n throw module.error\r\n }\r\n return module\r\n }\r\n\r\n // @ts-ignore\r\n return instantiateModule(moduleId, SourceType.Runtime, chunkPath)\r\n}\r\n\r\n/**\r\n * Retrieves a module from the cache, or instantiate it if it is not cached.\r\n */\r\n// @ts-ignore Defined in `runtime-utils.ts`\r\nconst getOrInstantiateModuleFromParent: GetOrInstantiateModuleFromParent<\r\n HotModule\r\n> = (id, sourceModule) => {\r\n if (!sourceModule.hot.active) {\r\n console.warn(\r\n `Unexpected import of module ${id} from module ${sourceModule.id}, which was deleted by an HMR update`\r\n )\r\n }\r\n\r\n const module = devModuleCache[id]\r\n\r\n if (sourceModule.children.indexOf(id) === -1) {\r\n sourceModule.children.push(id)\r\n }\r\n\r\n if (module) {\r\n if (module.error) {\r\n throw module.error\r\n }\r\n\r\n if (module.parents.indexOf(sourceModule.id) === -1) {\r\n module.parents.push(sourceModule.id)\r\n }\r\n\r\n return module\r\n }\r\n\r\n return instantiateModule(id, SourceType.Parent, sourceModule.id)\r\n}\r\n\r\nfunction DevContext(\r\n this: TurbopackDevContext,\r\n module: HotModule,\r\n exports: Exports,\r\n refresh: RefreshContext\r\n) {\r\n Context.call(this, module, exports)\r\n this.k = refresh\r\n}\r\nDevContext.prototype = Context.prototype\r\n\r\ntype DevContextConstructor = {\r\n new (\r\n module: HotModule,\r\n exports: Exports,\r\n refresh: RefreshContext\r\n ): TurbopackDevContext\r\n}\r\n\r\nfunction instantiateModule(\r\n moduleId: ModuleId,\r\n sourceType: SourceType,\r\n sourceData: SourceData\r\n): Module {\r\n // We are in development, this is always a string.\r\n let id = moduleId as string\r\n\r\n const moduleFactory = moduleFactories.get(id)\r\n if (typeof moduleFactory !== 'function') {\r\n // This can happen if modules incorrectly handle HMR disposes/updates,\r\n // e.g. when they keep a `setTimeout` around which still executes old code\r\n // and contains e.g. a `require(\"something\")` call.\r\n throw new Error(\r\n factoryNotAvailableMessage(id, sourceType, sourceData) +\r\n ' It might have been deleted in an HMR update.'\r\n )\r\n }\r\n\r\n const hotData = moduleHotData.get(id)!\r\n const { hot, hotState } = createModuleHot(id, hotData)\r\n\r\n let parents: ModuleId[]\r\n switch (sourceType) {\r\n case SourceType.Runtime:\r\n runtimeModules.add(id)\r\n parents = []\r\n break\r\n case SourceType.Parent:\r\n // No need to add this module as a child of the parent module here, this\r\n // has already been taken care of in `getOrInstantiateModuleFromParent`.\r\n parents = [sourceData as ModuleId]\r\n break\r\n case SourceType.Update:\r\n parents = (sourceData as ModuleId[]) || []\r\n break\r\n default:\r\n invariant(\r\n sourceType,\r\n (sourceType) => `Unknown source type: ${sourceType}`\r\n )\r\n }\r\n\r\n const module: HotModule = createModuleObject(id) as HotModule\r\n const exports = module.exports\r\n module.parents = parents\r\n module.children = []\r\n module.hot = hot\r\n\r\n devModuleCache[id] = module\r\n moduleHotState.set(module, hotState)\r\n\r\n // NOTE(alexkirsz) This can fail when the module encounters a runtime error.\r\n try {\r\n runModuleExecutionHooks(module, (refresh) => {\r\n const context = new (DevContext as any as DevContextConstructor)(\r\n module,\r\n exports,\r\n refresh\r\n )\r\n moduleFactory(context, module, exports)\r\n })\r\n } catch (error) {\r\n module.error = error as any\r\n throw error\r\n }\r\n\r\n if (module.namespaceObject && module.exports !== module.namespaceObject) {\r\n // in case of a circular dependency: cjs1 -> esm2 -> cjs1\r\n interopEsm(module.exports, module.namespaceObject)\r\n }\r\n\r\n return module\r\n}\r\n\r\nconst DUMMY_REFRESH_CONTEXT = {\r\n register: (_type: unknown, _id: unknown) => {},\r\n signature: () => (_type: unknown) => {},\r\n registerExports: (_module: unknown, _helpers: unknown) => {},\r\n}\r\n\r\n/**\r\n * NOTE(alexkirsz) Webpack has a \"module execution\" interception hook that\r\n * Next.js' React Refresh runtime hooks into to add module context to the\r\n * refresh registry.\r\n */\r\nfunction runModuleExecutionHooks(\r\n module: HotModule,\r\n executeModule: (ctx: RefreshContext) => void\r\n) {\r\n if (typeof globalThis.$RefreshInterceptModuleExecution$ === 'function') {\r\n const cleanupReactRefreshIntercept =\r\n globalThis.$RefreshInterceptModuleExecution$(module.id)\r\n try {\r\n executeModule({\r\n register: globalThis.$RefreshReg$,\r\n signature: globalThis.$RefreshSig$,\r\n registerExports: registerExportsAndSetupBoundaryForReactRefresh,\r\n })\r\n } finally {\r\n // Always cleanup the intercept, even if module execution failed.\r\n cleanupReactRefreshIntercept()\r\n }\r\n } else {\r\n // If the react refresh hooks are not installed we need to bind dummy functions.\r\n // This is expected when running in a Web Worker. It is also common in some of\r\n // our test environments.\r\n executeModule(DUMMY_REFRESH_CONTEXT)\r\n }\r\n}\r\n\r\n/**\r\n * This is adapted from https://github.com/vercel/next.js/blob/3466862d9dc9c8bb3131712134d38757b918d1c0/packages/react-refresh-utils/internal/ReactRefreshModule.runtime.ts\r\n */\r\nfunction registerExportsAndSetupBoundaryForReactRefresh(\r\n module: HotModule,\r\n helpers: RefreshHelpers\r\n) {\r\n const currentExports = module.exports\r\n const prevExports = module.hot.data.prevExports ?? null\r\n\r\n helpers.registerExportsForReactRefresh(currentExports, module.id)\r\n\r\n // A module can be accepted automatically based on its exports, e.g. when\r\n // it is a Refresh Boundary.\r\n if (helpers.isReactRefreshBoundary(currentExports)) {\r\n // Save the previous exports on update, so we can compare the boundary\r\n // signatures.\r\n module.hot.dispose((data) => {\r\n data.prevExports = currentExports\r\n })\r\n // Unconditionally accept an update to this module, we'll check if it's\r\n // still a Refresh Boundary later.\r\n module.hot.accept()\r\n\r\n // This field is set when the previous version of this module was a\r\n // Refresh Boundary, letting us know we need to check for invalidation or\r\n // enqueue an update.\r\n if (prevExports !== null) {\r\n // A boundary can become ineligible if its exports are incompatible\r\n // with the previous exports.\r\n //\r\n // For example, if you add/remove/change exports, we'll want to\r\n // re-execute the importing modules, and force those components to\r\n // re-render. Similarly, if you convert a class component to a\r\n // function, we want to invalidate the boundary.\r\n if (\r\n helpers.shouldInvalidateReactRefreshBoundary(\r\n helpers.getRefreshBoundarySignature(prevExports),\r\n helpers.getRefreshBoundarySignature(currentExports)\r\n )\r\n ) {\r\n module.hot.invalidate()\r\n } else {\r\n helpers.scheduleUpdate()\r\n }\r\n }\r\n } else {\r\n // Since we just executed the code for the module, it's possible that the\r\n // new exports made it ineligible for being a boundary.\r\n // We only care about the case when we were _previously_ a boundary,\r\n // because we already accepted this update (accidental side effect).\r\n const isNoLongerABoundary = prevExports !== null\r\n if (isNoLongerABoundary) {\r\n module.hot.invalidate()\r\n }\r\n }\r\n}\r\n\r\nfunction formatDependencyChain(dependencyChain: ModuleId[]): string {\r\n return `Dependency chain: ${dependencyChain.join(' -> ')}`\r\n}\r\n\r\nfunction computeOutdatedModules(\r\n added: Map,\r\n modified: Map\r\n): {\r\n outdatedModules: Set\r\n newModuleFactories: Map\r\n} {\r\n const newModuleFactories = new Map()\r\n\r\n for (const [moduleId, entry] of added) {\r\n if (entry != null) {\r\n newModuleFactories.set(moduleId, _eval(entry))\r\n }\r\n }\r\n\r\n const outdatedModules = computedInvalidatedModules(modified.keys())\r\n\r\n for (const [moduleId, entry] of modified) {\r\n newModuleFactories.set(moduleId, _eval(entry))\r\n }\r\n\r\n return { outdatedModules, newModuleFactories }\r\n}\r\n\r\nfunction computedInvalidatedModules(\r\n invalidated: Iterable\r\n): Set {\r\n const outdatedModules = new Set()\r\n\r\n for (const moduleId of invalidated) {\r\n const effect = getAffectedModuleEffects(moduleId)\r\n\r\n switch (effect.type) {\r\n case 'unaccepted':\r\n throw new UpdateApplyError(\r\n `cannot apply update: unaccepted module. ${formatDependencyChain(\r\n effect.dependencyChain\r\n )}.`,\r\n effect.dependencyChain\r\n )\r\n case 'self-declined':\r\n throw new UpdateApplyError(\r\n `cannot apply update: self-declined module. ${formatDependencyChain(\r\n effect.dependencyChain\r\n )}.`,\r\n effect.dependencyChain\r\n )\r\n case 'accepted':\r\n for (const outdatedModuleId of effect.outdatedModules) {\r\n outdatedModules.add(outdatedModuleId)\r\n }\r\n break\r\n // TODO(alexkirsz) Dependencies: handle dependencies effects.\r\n default:\r\n invariant(effect, (effect) => `Unknown effect type: ${effect?.type}`)\r\n }\r\n }\r\n\r\n return outdatedModules\r\n}\r\n\r\nfunction computeOutdatedSelfAcceptedModules(\r\n outdatedModules: Iterable\r\n): { moduleId: ModuleId; errorHandler: true | Function }[] {\r\n const outdatedSelfAcceptedModules: {\r\n moduleId: ModuleId\r\n errorHandler: true | Function\r\n }[] = []\r\n for (const moduleId of outdatedModules) {\r\n const module = devModuleCache[moduleId]\r\n const hotState = moduleHotState.get(module)!\r\n if (module && hotState.selfAccepted && !hotState.selfInvalidated) {\r\n outdatedSelfAcceptedModules.push({\r\n moduleId,\r\n errorHandler: hotState.selfAccepted,\r\n })\r\n }\r\n }\r\n return outdatedSelfAcceptedModules\r\n}\r\n\r\n/**\r\n * Adds, deletes, and moves modules between chunks. This must happen before the\r\n * dispose phase as it needs to know which modules were removed from all chunks,\r\n * which we can only compute *after* taking care of added and moved modules.\r\n */\r\nfunction updateChunksPhase(\r\n chunksAddedModules: Map>,\r\n chunksDeletedModules: Map>\r\n): { disposedModules: Set } {\r\n for (const [chunkPath, addedModuleIds] of chunksAddedModules) {\r\n for (const moduleId of addedModuleIds) {\r\n addModuleToChunk(moduleId, chunkPath)\r\n }\r\n }\r\n\r\n const disposedModules: Set = new Set()\r\n for (const [chunkPath, addedModuleIds] of chunksDeletedModules) {\r\n for (const moduleId of addedModuleIds) {\r\n if (removeModuleFromChunk(moduleId, chunkPath)) {\r\n disposedModules.add(moduleId)\r\n }\r\n }\r\n }\r\n\r\n return { disposedModules }\r\n}\r\n\r\nfunction disposePhase(\r\n outdatedModules: Iterable,\r\n disposedModules: Iterable\r\n): { outdatedModuleParents: Map> } {\r\n for (const moduleId of outdatedModules) {\r\n disposeModule(moduleId, 'replace')\r\n }\r\n\r\n for (const moduleId of disposedModules) {\r\n disposeModule(moduleId, 'clear')\r\n }\r\n\r\n // Removing modules from the module cache is a separate step.\r\n // We also want to keep track of previous parents of the outdated modules.\r\n const outdatedModuleParents = new Map()\r\n for (const moduleId of outdatedModules) {\r\n const oldModule = devModuleCache[moduleId]\r\n outdatedModuleParents.set(moduleId, oldModule?.parents)\r\n delete devModuleCache[moduleId]\r\n }\r\n\r\n // TODO(alexkirsz) Dependencies: remove outdated dependency from module\r\n // children.\r\n\r\n return { outdatedModuleParents }\r\n}\r\n\r\n/**\r\n * Disposes of an instance of a module.\r\n *\r\n * Returns the persistent hot data that should be kept for the next module\r\n * instance.\r\n *\r\n * NOTE: mode = \"replace\" will not remove modules from the devModuleCache\r\n * This must be done in a separate step afterwards.\r\n * This is important because all modules need to be disposed to update the\r\n * parent/child relationships before they are actually removed from the devModuleCache.\r\n * If this was done in this method, the following disposeModule calls won't find\r\n * the module from the module id in the cache.\r\n */\r\nfunction disposeModule(moduleId: ModuleId, mode: 'clear' | 'replace') {\r\n const module = devModuleCache[moduleId]\r\n if (!module) {\r\n return\r\n }\r\n\r\n const hotState = moduleHotState.get(module)!\r\n const data = {}\r\n\r\n // Run the `hot.dispose` handler, if any, passing in the persistent\r\n // `hot.data` object.\r\n for (const disposeHandler of hotState.disposeHandlers) {\r\n disposeHandler(data)\r\n }\r\n\r\n // This used to warn in `getOrInstantiateModuleFromParent` when a disposed\r\n // module is still importing other modules.\r\n module.hot.active = false\r\n\r\n moduleHotState.delete(module)\r\n\r\n // TODO(alexkirsz) Dependencies: delete the module from outdated deps.\r\n\r\n // Remove the disposed module from its children's parent list.\r\n // It will be added back once the module re-instantiates and imports its\r\n // children again.\r\n for (const childId of module.children) {\r\n const child = devModuleCache[childId]\r\n if (!child) {\r\n continue\r\n }\r\n\r\n const idx = child.parents.indexOf(module.id)\r\n if (idx >= 0) {\r\n child.parents.splice(idx, 1)\r\n }\r\n }\r\n\r\n switch (mode) {\r\n case 'clear':\r\n delete devModuleCache[module.id]\r\n moduleHotData.delete(module.id)\r\n break\r\n case 'replace':\r\n moduleHotData.set(module.id, data)\r\n break\r\n default:\r\n invariant(mode, (mode) => `invalid mode: ${mode}`)\r\n }\r\n}\r\n\r\nfunction applyPhase(\r\n outdatedSelfAcceptedModules: {\r\n moduleId: ModuleId\r\n errorHandler: true | Function\r\n }[],\r\n newModuleFactories: Map,\r\n outdatedModuleParents: Map>,\r\n reportError: (err: any) => void\r\n) {\r\n // Update module factories.\r\n for (const [moduleId, factory] of newModuleFactories.entries()) {\r\n applyModuleFactoryName(factory)\r\n moduleFactories.set(moduleId, factory)\r\n }\r\n\r\n // TODO(alexkirsz) Run new runtime entries here.\r\n\r\n // TODO(alexkirsz) Dependencies: call accept handlers for outdated deps.\r\n\r\n // Re-instantiate all outdated self-accepted modules.\r\n for (const { moduleId, errorHandler } of outdatedSelfAcceptedModules) {\r\n try {\r\n instantiateModule(\r\n moduleId,\r\n SourceType.Update,\r\n outdatedModuleParents.get(moduleId)\r\n )\r\n } catch (err) {\r\n if (typeof errorHandler === 'function') {\r\n try {\r\n errorHandler(err, { moduleId, module: devModuleCache[moduleId] })\r\n } catch (err2) {\r\n reportError(err2)\r\n reportError(err)\r\n }\r\n } else {\r\n reportError(err)\r\n }\r\n }\r\n }\r\n}\r\n\r\nfunction applyUpdate(update: PartialUpdate) {\r\n switch (update.type) {\r\n case 'ChunkListUpdate':\r\n applyChunkListUpdate(update)\r\n break\r\n default:\r\n invariant(update, (update) => `Unknown update type: ${update.type}`)\r\n }\r\n}\r\n\r\nfunction applyChunkListUpdate(update: ChunkListUpdate) {\r\n if (update.merged != null) {\r\n for (const merged of update.merged) {\r\n switch (merged.type) {\r\n case 'EcmascriptMergedUpdate':\r\n applyEcmascriptMergedUpdate(merged)\r\n break\r\n default:\r\n invariant(merged, (merged) => `Unknown merged type: ${merged.type}`)\r\n }\r\n }\r\n }\r\n\r\n if (update.chunks != null) {\r\n for (const [chunkPath, chunkUpdate] of Object.entries(\r\n update.chunks\r\n ) as Array<[ChunkPath, ChunkUpdate]>) {\r\n const chunkUrl = getChunkRelativeUrl(chunkPath)\r\n\r\n switch (chunkUpdate.type) {\r\n case 'added':\r\n BACKEND.loadChunkCached(SourceType.Update, chunkUrl)\r\n break\r\n case 'total':\r\n DEV_BACKEND.reloadChunk?.(chunkUrl)\r\n break\r\n case 'deleted':\r\n DEV_BACKEND.unloadChunk?.(chunkUrl)\r\n break\r\n case 'partial':\r\n invariant(\r\n chunkUpdate.instruction,\r\n (instruction) =>\r\n `Unknown partial instruction: ${JSON.stringify(instruction)}.`\r\n )\r\n break\r\n default:\r\n invariant(\r\n chunkUpdate,\r\n (chunkUpdate) => `Unknown chunk update type: ${chunkUpdate.type}`\r\n )\r\n }\r\n }\r\n }\r\n}\r\n\r\nfunction applyEcmascriptMergedUpdate(update: EcmascriptMergedUpdate) {\r\n const { entries = {}, chunks = {} } = update\r\n const { added, modified, chunksAdded, chunksDeleted } = computeChangedModules(\r\n entries,\r\n chunks\r\n )\r\n const { outdatedModules, newModuleFactories } = computeOutdatedModules(\r\n added,\r\n modified\r\n )\r\n const { disposedModules } = updateChunksPhase(chunksAdded, chunksDeleted)\r\n\r\n applyInternal(outdatedModules, disposedModules, newModuleFactories)\r\n}\r\n\r\nfunction applyInvalidatedModules(outdatedModules: Set) {\r\n if (queuedInvalidatedModules.size > 0) {\r\n computedInvalidatedModules(queuedInvalidatedModules).forEach((moduleId) => {\r\n outdatedModules.add(moduleId)\r\n })\r\n\r\n queuedInvalidatedModules.clear()\r\n }\r\n\r\n return outdatedModules\r\n}\r\n\r\nfunction applyInternal(\r\n outdatedModules: Set,\r\n disposedModules: Iterable,\r\n newModuleFactories: Map\r\n) {\r\n outdatedModules = applyInvalidatedModules(outdatedModules)\r\n\r\n const outdatedSelfAcceptedModules =\r\n computeOutdatedSelfAcceptedModules(outdatedModules)\r\n\r\n const { outdatedModuleParents } = disposePhase(\r\n outdatedModules,\r\n disposedModules\r\n )\r\n\r\n // we want to continue on error and only throw the error after we tried applying all updates\r\n let error: any\r\n\r\n function reportError(err: any) {\r\n if (!error) error = err\r\n }\r\n\r\n applyPhase(\r\n outdatedSelfAcceptedModules,\r\n newModuleFactories,\r\n outdatedModuleParents,\r\n reportError\r\n )\r\n\r\n if (error) {\r\n throw error\r\n }\r\n\r\n if (queuedInvalidatedModules.size > 0) {\r\n applyInternal(new Set(), [], new Map())\r\n }\r\n}\r\n\r\nfunction computeChangedModules(\r\n entries: Record,\r\n updates: Record\r\n): {\r\n added: Map\r\n modified: Map\r\n deleted: Set\r\n chunksAdded: Map>\r\n chunksDeleted: Map>\r\n} {\r\n const chunksAdded = new Map()\r\n const chunksDeleted = new Map()\r\n const added: Map = new Map()\r\n const modified = new Map()\r\n const deleted: Set = new Set()\r\n\r\n for (const [chunkPath, mergedChunkUpdate] of Object.entries(updates) as Array<\r\n [ChunkPath, EcmascriptMergedChunkUpdate]\r\n >) {\r\n switch (mergedChunkUpdate.type) {\r\n case 'added': {\r\n const updateAdded = new Set(mergedChunkUpdate.modules)\r\n for (const moduleId of updateAdded) {\r\n added.set(moduleId, entries[moduleId])\r\n }\r\n chunksAdded.set(chunkPath, updateAdded)\r\n break\r\n }\r\n case 'deleted': {\r\n // We could also use `mergedChunkUpdate.modules` here.\r\n const updateDeleted = new Set(chunkModulesMap.get(chunkPath))\r\n for (const moduleId of updateDeleted) {\r\n deleted.add(moduleId)\r\n }\r\n chunksDeleted.set(chunkPath, updateDeleted)\r\n break\r\n }\r\n case 'partial': {\r\n const updateAdded = new Set(mergedChunkUpdate.added)\r\n const updateDeleted = new Set(mergedChunkUpdate.deleted)\r\n for (const moduleId of updateAdded) {\r\n added.set(moduleId, entries[moduleId])\r\n }\r\n for (const moduleId of updateDeleted) {\r\n deleted.add(moduleId)\r\n }\r\n chunksAdded.set(chunkPath, updateAdded)\r\n chunksDeleted.set(chunkPath, updateDeleted)\r\n break\r\n }\r\n default:\r\n invariant(\r\n mergedChunkUpdate,\r\n (mergedChunkUpdate) =>\r\n `Unknown merged chunk update type: ${mergedChunkUpdate.type}`\r\n )\r\n }\r\n }\r\n\r\n // If a module was added from one chunk and deleted from another in the same update,\r\n // consider it to be modified, as it means the module was moved from one chunk to another\r\n // AND has new code in a single update.\r\n for (const moduleId of added.keys()) {\r\n if (deleted.has(moduleId)) {\r\n added.delete(moduleId)\r\n deleted.delete(moduleId)\r\n }\r\n }\r\n\r\n for (const [moduleId, entry] of Object.entries(entries)) {\r\n // Modules that haven't been added to any chunk but have new code are considered\r\n // to be modified.\r\n // This needs to be under the previous loop, as we need it to get rid of modules\r\n // that were added and deleted in the same update.\r\n if (!added.has(moduleId)) {\r\n modified.set(moduleId, entry)\r\n }\r\n }\r\n\r\n return { added, deleted, modified, chunksAdded, chunksDeleted }\r\n}\r\n\r\ntype ModuleEffect =\r\n | {\r\n type: 'unaccepted'\r\n dependencyChain: ModuleId[]\r\n }\r\n | {\r\n type: 'self-declined'\r\n dependencyChain: ModuleId[]\r\n moduleId: ModuleId\r\n }\r\n | {\r\n type: 'accepted'\r\n moduleId: ModuleId\r\n outdatedModules: Set\r\n }\r\n\r\nfunction getAffectedModuleEffects(moduleId: ModuleId): ModuleEffect {\r\n const outdatedModules: Set = new Set()\r\n\r\n type QueueItem = { moduleId?: ModuleId; dependencyChain: ModuleId[] }\r\n\r\n const queue: QueueItem[] = [\r\n {\r\n moduleId,\r\n dependencyChain: [],\r\n },\r\n ]\r\n\r\n let nextItem\r\n while ((nextItem = queue.shift())) {\r\n const { moduleId, dependencyChain } = nextItem\r\n\r\n if (moduleId != null) {\r\n if (outdatedModules.has(moduleId)) {\r\n // Avoid infinite loops caused by cycles between modules in the dependency chain.\r\n continue\r\n }\r\n\r\n outdatedModules.add(moduleId)\r\n }\r\n\r\n // We've arrived at the runtime of the chunk, which means that nothing\r\n // else above can accept this update.\r\n if (moduleId === undefined) {\r\n return {\r\n type: 'unaccepted',\r\n dependencyChain,\r\n }\r\n }\r\n\r\n const module = devModuleCache[moduleId]\r\n const hotState = moduleHotState.get(module)!\r\n\r\n if (\r\n // The module is not in the cache. Since this is a \"modified\" update,\r\n // it means that the module was never instantiated before.\r\n !module || // The module accepted itself without invalidating globalThis.\r\n // TODO is that right?\r\n (hotState.selfAccepted && !hotState.selfInvalidated)\r\n ) {\r\n continue\r\n }\r\n\r\n if (hotState.selfDeclined) {\r\n return {\r\n type: 'self-declined',\r\n dependencyChain,\r\n moduleId,\r\n }\r\n }\r\n\r\n if (runtimeModules.has(moduleId)) {\r\n queue.push({\r\n moduleId: undefined,\r\n dependencyChain: [...dependencyChain, moduleId],\r\n })\r\n continue\r\n }\r\n\r\n for (const parentId of module.parents) {\r\n const parent = devModuleCache[parentId]\r\n\r\n if (!parent) {\r\n // TODO(alexkirsz) Is this even possible?\r\n continue\r\n }\r\n\r\n // TODO(alexkirsz) Dependencies: check accepted and declined\r\n // dependencies here.\r\n\r\n queue.push({\r\n moduleId: parentId,\r\n dependencyChain: [...dependencyChain, moduleId],\r\n })\r\n }\r\n }\r\n\r\n return {\r\n type: 'accepted',\r\n moduleId,\r\n outdatedModules,\r\n }\r\n}\r\n\r\nfunction handleApply(chunkListPath: ChunkListPath, update: ServerMessage) {\r\n switch (update.type) {\r\n case 'partial': {\r\n // This indicates that the update is can be applied to the current state of the application.\r\n applyUpdate(update.instruction)\r\n break\r\n }\r\n case 'restart': {\r\n // This indicates that there is no way to apply the update to the\r\n // current state of the application, and that the application must be\r\n // restarted.\r\n DEV_BACKEND.restart()\r\n break\r\n }\r\n case 'notFound': {\r\n // This indicates that the chunk list no longer exists: either the dynamic import which created it was removed,\r\n // or the page itself was deleted.\r\n // If it is a dynamic import, we simply discard all modules that the chunk has exclusive access to.\r\n // If it is a runtime chunk list, we restart the application.\r\n if (runtimeChunkLists.has(chunkListPath)) {\r\n DEV_BACKEND.restart()\r\n } else {\r\n disposeChunkList(chunkListPath)\r\n }\r\n break\r\n }\r\n default:\r\n throw new Error(`Unknown update type: ${update.type}`)\r\n }\r\n}\r\n\r\nfunction createModuleHot(\r\n moduleId: ModuleId,\r\n hotData: HotData\r\n): { hot: Hot; hotState: HotState } {\r\n const hotState: HotState = {\r\n selfAccepted: false,\r\n selfDeclined: false,\r\n selfInvalidated: false,\r\n disposeHandlers: [],\r\n }\r\n\r\n const hot: Hot = {\r\n // TODO(alexkirsz) This is not defined in the HMR API. It was used to\r\n // decide whether to warn whenever an HMR-disposed module required other\r\n // modules. We might want to remove it.\r\n active: true,\r\n\r\n data: hotData ?? {},\r\n\r\n // TODO(alexkirsz) Support full (dep, callback, errorHandler) form.\r\n accept: (\r\n modules?: string | string[] | AcceptErrorHandler,\r\n _callback?: AcceptCallback,\r\n _errorHandler?: AcceptErrorHandler\r\n ) => {\r\n if (modules === undefined) {\r\n hotState.selfAccepted = true\r\n } else if (typeof modules === 'function') {\r\n hotState.selfAccepted = modules\r\n } else {\r\n throw new Error('unsupported `accept` signature')\r\n }\r\n },\r\n\r\n decline: (dep) => {\r\n if (dep === undefined) {\r\n hotState.selfDeclined = true\r\n } else {\r\n throw new Error('unsupported `decline` signature')\r\n }\r\n },\r\n\r\n dispose: (callback) => {\r\n hotState.disposeHandlers.push(callback)\r\n },\r\n\r\n addDisposeHandler: (callback) => {\r\n hotState.disposeHandlers.push(callback)\r\n },\r\n\r\n removeDisposeHandler: (callback) => {\r\n const idx = hotState.disposeHandlers.indexOf(callback)\r\n if (idx >= 0) {\r\n hotState.disposeHandlers.splice(idx, 1)\r\n }\r\n },\r\n\r\n invalidate: () => {\r\n hotState.selfInvalidated = true\r\n queuedInvalidatedModules.add(moduleId)\r\n },\r\n\r\n // NOTE(alexkirsz) This is part of the management API, which we don't\r\n // implement, but the Next.js React Refresh runtime uses this to decide\r\n // whether to schedule an update.\r\n status: () => 'idle',\r\n\r\n // NOTE(alexkirsz) Since we always return \"idle\" for now, these are no-ops.\r\n addStatusHandler: (_handler) => {},\r\n removeStatusHandler: (_handler) => {},\r\n\r\n // NOTE(jridgewell) Check returns the list of updated modules, but we don't\r\n // want the webpack code paths to ever update (the turbopack paths handle\r\n // this already).\r\n check: () => Promise.resolve(null),\r\n }\r\n\r\n return { hot, hotState }\r\n}\r\n\r\n/**\r\n * Removes a module from a chunk.\r\n * Returns `true` if there are no remaining chunks including this module.\r\n */\r\nfunction removeModuleFromChunk(\r\n moduleId: ModuleId,\r\n chunkPath: ChunkPath\r\n): boolean {\r\n const moduleChunks = moduleChunksMap.get(moduleId)!\r\n moduleChunks.delete(chunkPath)\r\n\r\n const chunkModules = chunkModulesMap.get(chunkPath)!\r\n chunkModules.delete(moduleId)\r\n\r\n const noRemainingModules = chunkModules.size === 0\r\n if (noRemainingModules) {\r\n chunkModulesMap.delete(chunkPath)\r\n }\r\n\r\n const noRemainingChunks = moduleChunks.size === 0\r\n if (noRemainingChunks) {\r\n moduleChunksMap.delete(moduleId)\r\n }\r\n\r\n return noRemainingChunks\r\n}\r\n\r\n/**\r\n * Disposes of a chunk list and its corresponding exclusive chunks.\r\n */\r\nfunction disposeChunkList(chunkListPath: ChunkListPath): boolean {\r\n const chunkPaths = chunkListChunksMap.get(chunkListPath)\r\n if (chunkPaths == null) {\r\n return false\r\n }\r\n chunkListChunksMap.delete(chunkListPath)\r\n\r\n for (const chunkPath of chunkPaths) {\r\n const chunkChunkLists = chunkChunkListsMap.get(chunkPath)!\r\n chunkChunkLists.delete(chunkListPath)\r\n\r\n if (chunkChunkLists.size === 0) {\r\n chunkChunkListsMap.delete(chunkPath)\r\n disposeChunk(chunkPath)\r\n }\r\n }\r\n\r\n // We must also dispose of the chunk list's chunk itself to ensure it may\r\n // be reloaded properly in the future.\r\n const chunkListUrl = getChunkRelativeUrl(chunkListPath)\r\n\r\n DEV_BACKEND.unloadChunk?.(chunkListUrl)\r\n\r\n return true\r\n}\r\n\r\n/**\r\n * Disposes of a chunk and its corresponding exclusive modules.\r\n *\r\n * @returns Whether the chunk was disposed of.\r\n */\r\nfunction disposeChunk(chunkPath: ChunkPath): boolean {\r\n const chunkUrl = getChunkRelativeUrl(chunkPath)\r\n // This should happen whether the chunk has any modules in it or not.\r\n // For instance, CSS chunks have no modules in them, but they still need to be unloaded.\r\n DEV_BACKEND.unloadChunk?.(chunkUrl)\r\n\r\n const chunkModules = chunkModulesMap.get(chunkPath)\r\n if (chunkModules == null) {\r\n return false\r\n }\r\n chunkModules.delete(chunkPath)\r\n\r\n for (const moduleId of chunkModules) {\r\n const moduleChunks = moduleChunksMap.get(moduleId)!\r\n moduleChunks.delete(chunkPath)\r\n\r\n const noRemainingChunks = moduleChunks.size === 0\r\n if (noRemainingChunks) {\r\n moduleChunksMap.delete(moduleId)\r\n disposeModule(moduleId, 'clear')\r\n availableModules.delete(moduleId)\r\n }\r\n }\r\n\r\n return true\r\n}\r\n\r\n/**\r\n * Adds a module to a chunk.\r\n */\r\nfunction addModuleToChunk(moduleId: ModuleId, chunkPath: ChunkPath) {\r\n let moduleChunks = moduleChunksMap.get(moduleId)\r\n if (!moduleChunks) {\r\n moduleChunks = new Set([chunkPath])\r\n moduleChunksMap.set(moduleId, moduleChunks)\r\n } else {\r\n moduleChunks.add(chunkPath)\r\n }\r\n\r\n let chunkModules = chunkModulesMap.get(chunkPath)\r\n if (!chunkModules) {\r\n chunkModules = new Set([moduleId])\r\n chunkModulesMap.set(chunkPath, chunkModules)\r\n } else {\r\n chunkModules.add(moduleId)\r\n }\r\n}\r\n\r\n/**\r\n * Marks a chunk list as a runtime chunk list. There can be more than one\r\n * runtime chunk list. For instance, integration tests can have multiple chunk\r\n * groups loaded at runtime, each with its own chunk list.\r\n */\r\nfunction markChunkListAsRuntime(chunkListPath: ChunkListPath) {\r\n runtimeChunkLists.add(chunkListPath)\r\n}\r\n\r\nfunction registerChunk(registration: ChunkRegistration) {\r\n const chunkPath = getPathFromScript(registration[0])\r\n let runtimeParams: RuntimeParams | undefined\r\n // When bootstrapping we are passed a single runtimeParams object so we can distinguish purely based on length\r\n if (registration.length === 2) {\r\n runtimeParams = registration[1] as RuntimeParams\r\n } else {\r\n runtimeParams = undefined\r\n installCompressedModuleFactories(\r\n registration as CompressedModuleFactories,\r\n /* offset= */ 1,\r\n moduleFactories,\r\n (id: ModuleId) => addModuleToChunk(id, chunkPath)\r\n )\r\n }\r\n return BACKEND.registerChunk(chunkPath, runtimeParams)\r\n}\r\n\r\n/**\r\n * Subscribes to chunk list updates from the update server and applies them.\r\n */\r\nfunction registerChunkList(chunkList: ChunkList) {\r\n const chunkListScript = chunkList.script\r\n const chunkListPath = getPathFromScript(chunkListScript)\r\n // The \"chunk\" is also registered to finish the loading in the backend\r\n BACKEND.registerChunk(chunkListPath as string as ChunkPath)\r\n globalThis.TURBOPACK_CHUNK_UPDATE_LISTENERS!.push([\r\n chunkListPath,\r\n handleApply.bind(null, chunkListPath),\r\n ])\r\n\r\n // Adding chunks to chunk lists and vice versa.\r\n const chunkPaths = new Set(chunkList.chunks.map(getChunkPath))\r\n chunkListChunksMap.set(chunkListPath, chunkPaths)\r\n for (const chunkPath of chunkPaths) {\r\n let chunkChunkLists = chunkChunkListsMap.get(chunkPath)\r\n if (!chunkChunkLists) {\r\n chunkChunkLists = new Set([chunkListPath])\r\n chunkChunkListsMap.set(chunkPath, chunkChunkLists)\r\n } else {\r\n chunkChunkLists.add(chunkListPath)\r\n }\r\n }\r\n\r\n if (chunkList.source === 'entry') {\r\n markChunkListAsRuntime(chunkListPath)\r\n }\r\n}\r\n\r\nglobalThis.TURBOPACK_CHUNK_UPDATE_LISTENERS ??= []\r\n"],"names":[],"mappings":"AAAA,2CAA2C;AAC3C,4CAA4C;AAC5C,4CAA4C;AAM5C,MAAM,sBAAsB,QAAQ,SAAS;AAE7C;;;;;;CAMC,GAED,oDAAoD,GAEpD,MAAM,iBAAyC,OAAO,MAAM,CAAC;AAC7D,oBAAoB,CAAC,GAAG;AAgCxB,MAAM,yBAAyB;IAC7B,OAAO,mBAAkB;IAEzB,gBAA2B;IAE3B,YAAY,OAAe,EAAE,eAA2B,CAAE;QACxD,KAAK,CAAC;QACN,IAAI,CAAC,eAAe,GAAG;IACzB;AACF;AAEA;;CAEC,GACD,MAAM,iBAAgC,IAAI;AAE1C;;;;;;CAMC,GACD,MAAM,kBAAiD,IAAI;AAC3D;;CAEC,GACD,MAAM,kBAAiD,IAAI;AAC3D;;;;CAIC,GACD,MAAM,oBAAwC,IAAI;AAClD;;CAEC,GACD,MAAM,qBAAyD,IAAI;AACnE;;CAEC,GACD,MAAM,qBAAyD,IAAI;AAEnE;;;CAGC,GACD,MAAM,gBAAwC,IAAI;AAClD;;CAEC,GACD,MAAM,iBAAwC,IAAI;AAClD;;CAEC,GACD,MAAM,2BAA0C,IAAI;AAEpD;;CAEC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C,WAAW;QACpC,OAAO;YACL,gBAAgB,GAAG,CAAC;QACtB;IACF;IAEA,IAAI,UAAU,MAAM,KAAK,SAAS;QAChC,uBAAuB;IACzB;AACF;AAEA,WAAW,gCAAgC,KAAK,EAAE","ignoreList":[0]}}, - {"offset": {"line": 1595, "column": 0}, "map": {"version":3,"sources":["turbopack:///[turbopack]/browser/runtime/dom/runtime-backend-dom.ts"],"sourcesContent":["/**\r\n * This file contains the runtime code specific to the Turbopack development\r\n * ECMAScript DOM runtime.\r\n *\r\n * It will be appended to the base development runtime code.\r\n */\r\n\r\n/* eslint-disable @typescript-eslint/no-unused-vars */\r\n\r\n/// \r\n/// \r\n\r\ntype ChunkResolver = {\r\n resolved: boolean\r\n loadingStarted: boolean\r\n resolve: () => void\r\n reject: (error?: Error) => void\r\n promise: Promise\r\n}\r\n\r\nlet BACKEND: RuntimeBackend\r\n\r\n/**\r\n * Maps chunk paths to the corresponding resolver.\r\n */\r\nconst chunkResolvers: Map = new Map()\r\n\r\n;(() => {\r\n BACKEND = {\r\n async registerChunk(chunkPath, params) {\r\n const chunkUrl = getChunkRelativeUrl(chunkPath)\r\n\r\n const resolver = getOrCreateResolver(chunkUrl)\r\n resolver.resolve()\r\n\r\n if (params == null) {\r\n return\r\n }\r\n\r\n for (const otherChunkData of params.otherChunks) {\r\n const otherChunkPath = getChunkPath(otherChunkData)\r\n const otherChunkUrl = getChunkRelativeUrl(otherChunkPath)\r\n\r\n // Chunk might have started loading, so we want to avoid triggering another load.\r\n getOrCreateResolver(otherChunkUrl)\r\n }\r\n\r\n // This waits for chunks to be loaded, but also marks included items as available.\r\n await Promise.all(\r\n params.otherChunks.map((otherChunkData) =>\r\n loadInitialChunk(chunkPath, otherChunkData)\r\n )\r\n )\r\n\r\n if (params.runtimeModuleIds.length > 0) {\r\n for (const moduleId of params.runtimeModuleIds) {\r\n getOrInstantiateRuntimeModule(chunkPath, moduleId)\r\n }\r\n }\r\n },\r\n\r\n /**\r\n * Loads the given chunk, and returns a promise that resolves once the chunk\r\n * has been loaded.\r\n */\r\n loadChunkCached(sourceType: SourceType, chunkUrl: ChunkUrl) {\r\n return doLoadChunk(sourceType, chunkUrl)\r\n },\r\n\r\n async loadWebAssembly(\r\n _sourceType: SourceType,\r\n _sourceData: SourceData,\r\n wasmChunkPath: ChunkPath,\r\n _edgeModule: () => WebAssembly.Module,\r\n importsObj: WebAssembly.Imports\r\n ): Promise {\r\n const req = fetchWebAssembly(wasmChunkPath)\r\n\r\n const { instance } = await WebAssembly.instantiateStreaming(\r\n req,\r\n importsObj\r\n )\r\n\r\n return instance.exports\r\n },\r\n\r\n async loadWebAssemblyModule(\r\n _sourceType: SourceType,\r\n _sourceData: SourceData,\r\n wasmChunkPath: ChunkPath,\r\n _edgeModule: () => WebAssembly.Module\r\n ): Promise {\r\n const req = fetchWebAssembly(wasmChunkPath)\r\n\r\n return await WebAssembly.compileStreaming(req)\r\n },\r\n }\r\n\r\n function getOrCreateResolver(chunkUrl: ChunkUrl): ChunkResolver {\r\n let resolver = chunkResolvers.get(chunkUrl)\r\n if (!resolver) {\r\n let resolve: () => void\r\n let reject: (error?: Error) => void\r\n const promise = new Promise((innerResolve, innerReject) => {\r\n resolve = innerResolve\r\n reject = innerReject\r\n })\r\n resolver = {\r\n resolved: false,\r\n loadingStarted: false,\r\n promise,\r\n resolve: () => {\r\n resolver!.resolved = true\r\n resolve()\r\n },\r\n reject: reject!,\r\n }\r\n chunkResolvers.set(chunkUrl, resolver)\r\n }\r\n return resolver\r\n }\r\n\r\n /**\r\n * Loads the given chunk, and returns a promise that resolves once the chunk\r\n * has been loaded.\r\n */\r\n function doLoadChunk(sourceType: SourceType, chunkUrl: ChunkUrl) {\r\n const resolver = getOrCreateResolver(chunkUrl)\r\n if (resolver.loadingStarted) {\r\n return resolver.promise\r\n }\r\n\r\n if (sourceType === SourceType.Runtime) {\r\n // We don't need to load chunks references from runtime code, as they're already\r\n // present in the DOM.\r\n resolver.loadingStarted = true\r\n\r\n if (isCss(chunkUrl)) {\r\n // CSS chunks do not register themselves, and as such must be marked as\r\n // loaded instantly.\r\n resolver.resolve()\r\n }\r\n\r\n // We need to wait for JS chunks to register themselves within `registerChunk`\r\n // before we can start instantiating runtime modules, hence the absence of\r\n // `resolver.resolve()` in this branch.\r\n\r\n return resolver.promise\r\n }\r\n\r\n if (typeof importScripts === 'function') {\r\n // We're in a web worker\r\n if (isCss(chunkUrl)) {\r\n // ignore\r\n } else if (isJs(chunkUrl)) {\r\n self.TURBOPACK_NEXT_CHUNK_URLS!.push(chunkUrl)\r\n importScripts(TURBOPACK_WORKER_LOCATION + chunkUrl)\r\n } else {\r\n throw new Error(\r\n `can't infer type of chunk from URL ${chunkUrl} in worker`\r\n )\r\n }\r\n } else {\r\n // TODO(PACK-2140): remove this once all filenames are guaranteed to be escaped.\r\n const decodedChunkUrl = decodeURI(chunkUrl)\r\n\r\n if (isCss(chunkUrl)) {\r\n const previousLinks = document.querySelectorAll(\r\n `link[rel=stylesheet][href=\"${chunkUrl}\"],link[rel=stylesheet][href^=\"${chunkUrl}?\"],link[rel=stylesheet][href=\"${decodedChunkUrl}\"],link[rel=stylesheet][href^=\"${decodedChunkUrl}?\"]`\r\n )\r\n if (previousLinks.length > 0) {\r\n // CSS chunks do not register themselves, and as such must be marked as\r\n // loaded instantly.\r\n resolver.resolve()\r\n } else {\r\n const link = document.createElement('link')\r\n link.rel = 'stylesheet'\r\n link.href = chunkUrl\r\n link.onerror = () => {\r\n resolver.reject()\r\n }\r\n link.onload = () => {\r\n // CSS chunks do not register themselves, and as such must be marked as\r\n // loaded instantly.\r\n resolver.resolve()\r\n }\r\n // Append to the `head` for webpack compatibility.\r\n document.head.appendChild(link)\r\n }\r\n } else if (isJs(chunkUrl)) {\r\n const previousScripts = document.querySelectorAll(\r\n `script[src=\"${chunkUrl}\"],script[src^=\"${chunkUrl}?\"],script[src=\"${decodedChunkUrl}\"],script[src^=\"${decodedChunkUrl}?\"]`\r\n )\r\n if (previousScripts.length > 0) {\r\n // There is this edge where the script already failed loading, but we\r\n // can't detect that. The Promise will never resolve in this case.\r\n for (const script of Array.from(previousScripts)) {\r\n script.addEventListener('error', () => {\r\n resolver.reject()\r\n })\r\n }\r\n } else {\r\n const script = document.createElement('script')\r\n script.src = chunkUrl\r\n // We'll only mark the chunk as loaded once the script has been executed,\r\n // which happens in `registerChunk`. Hence the absence of `resolve()` in\r\n // this branch.\r\n script.onerror = () => {\r\n resolver.reject()\r\n }\r\n // Append to the `head` for webpack compatibility.\r\n document.head.appendChild(script)\r\n }\r\n } else {\r\n throw new Error(`can't infer type of chunk from URL ${chunkUrl}`)\r\n }\r\n }\r\n\r\n resolver.loadingStarted = true\r\n return resolver.promise\r\n }\r\n\r\n function fetchWebAssembly(wasmChunkPath: ChunkPath) {\r\n return fetch(getChunkRelativeUrl(wasmChunkPath))\r\n }\r\n})()\r\n"],"names":[],"mappings":"AAAA;;;;;CAKC,GAED,oDAAoD,GAEpD,sEAAsE;AACtE,2DAA2D;AAU3D,IAAI;AAEJ;;CAEC,GACD,MAAM,iBAA+C,IAAI;AAExD,CAAC;IACA,UAAU;QACR,MAAM,eAAc,SAAS,EAAE,MAAM;YACnC,MAAM,WAAW,oBAAoB;YAErC,MAAM,WAAW,oBAAoB;YACrC,SAAS,OAAO;YAEhB,IAAI,UAAU,MAAM;gBAClB;YACF;YAEA,KAAK,MAAM,kBAAkB,OAAO,WAAW,CAAE;gBAC/C,MAAM,iBAAiB,aAAa;gBACpC,MAAM,gBAAgB,oBAAoB;gBAE1C,iFAAiF;gBACjF,oBAAoB;YACtB;YAEA,kFAAkF;YAClF,MAAM,QAAQ,GAAG,CACf,OAAO,WAAW,CAAC,GAAG,CAAC,CAAC,iBACtB,iBAAiB,WAAW;YAIhC,IAAI,OAAO,gBAAgB,CAAC,MAAM,GAAG,GAAG;gBACtC,KAAK,MAAM,YAAY,OAAO,gBAAgB,CAAE;oBAC9C,8BAA8B,WAAW;gBAC3C;YACF;QACF;QAEA;;;KAGC,GACD,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BACzE,wEAAwE;oBACxE,eAAe;oBACf,OAAO,OAAO,GAAG;wBACf,SAAS,MAAM;oBACjB;oBACA,kDAAkD;oBAClD,SAAS,IAAI,CAAC,WAAW,CAAC;gBAC5B;YACF,OAAO;gBACL,MAAM,IAAI,MAAM,CAAC,mCAAmC,EAAE,UAAU;YAClE;QACF;QAEA,SAAS,cAAc,GAAG;QAC1B,OAAO,SAAS,OAAO;IACzB;IAEA,SAAS,iBAAiB,aAAwB;QAChD,OAAO,MAAM,oBAAoB;IACnC;AACF,CAAC","ignoreList":[0]}}, - {"offset": {"line": 1757, "column": 0}, "map": {"version":3,"sources":["turbopack:///[turbopack]/browser/runtime/dom/dev-backend-dom.ts"],"sourcesContent":["/**\r\n * This file contains the runtime code specific to the Turbopack development\r\n * ECMAScript DOM runtime.\r\n *\r\n * It will be appended to the base development runtime code.\r\n */\r\n\r\n/* eslint-disable @typescript-eslint/no-unused-vars */\r\n\r\n/// \r\n/// \r\n/// \r\n/// \r\n\r\nlet DEV_BACKEND: DevRuntimeBackend\r\n;(() => {\r\n DEV_BACKEND = {\r\n unloadChunk(chunkUrl) {\r\n deleteResolver(chunkUrl)\r\n\r\n // TODO(PACK-2140): remove this once all filenames are guaranteed to be escaped.\r\n const decodedChunkUrl = decodeURI(chunkUrl)\r\n\r\n if (isCss(chunkUrl)) {\r\n const links = document.querySelectorAll(\r\n `link[href=\"${chunkUrl}\"],link[href^=\"${chunkUrl}?\"],link[href=\"${decodedChunkUrl}\"],link[href^=\"${decodedChunkUrl}?\"]`\r\n )\r\n for (const link of Array.from(links)) {\r\n link.remove()\r\n }\r\n } else if (isJs(chunkUrl)) {\r\n // Unloading a JS chunk would have no effect, as it lives in the JS\r\n // runtime once evaluated.\r\n // However, we still want to remove the script tag from the DOM to keep\r\n // the HTML somewhat consistent from the user's perspective.\r\n const scripts = document.querySelectorAll(\r\n `script[src=\"${chunkUrl}\"],script[src^=\"${chunkUrl}?\"],script[src=\"${decodedChunkUrl}\"],script[src^=\"${decodedChunkUrl}?\"]`\r\n )\r\n for (const script of Array.from(scripts)) {\r\n script.remove()\r\n }\r\n } else {\r\n throw new Error(`can't infer type of chunk from URL ${chunkUrl}`)\r\n }\r\n },\r\n\r\n reloadChunk(chunkUrl) {\r\n return new Promise((resolve, reject) => {\r\n if (!isCss(chunkUrl)) {\r\n reject(new Error('The DOM backend can only reload CSS chunks'))\r\n return\r\n }\r\n\r\n const decodedChunkUrl = decodeURI(chunkUrl)\r\n const previousLinks = document.querySelectorAll(\r\n `link[rel=stylesheet][href=\"${chunkUrl}\"],link[rel=stylesheet][href^=\"${chunkUrl}?\"],link[rel=stylesheet][href=\"${decodedChunkUrl}\"],link[rel=stylesheet][href^=\"${decodedChunkUrl}?\"]`\r\n )\r\n\r\n if (previousLinks.length === 0) {\r\n reject(new Error(`No link element found for chunk ${chunkUrl}`))\r\n return\r\n }\r\n\r\n const link = document.createElement('link')\r\n link.rel = 'stylesheet'\r\n\r\n if (navigator.userAgent.includes('Firefox')) {\r\n // Firefox won't reload CSS files that were previously loaded on the current page,\r\n // we need to add a query param to make sure CSS is actually reloaded from the server.\r\n //\r\n // I believe this is this issue: https://bugzilla.mozilla.org/show_bug.cgi?id=1037506\r\n //\r\n // Safari has a similar issue, but only if you have a `` tag\r\n // pointing to the same URL as the stylesheet: https://bugs.webkit.org/show_bug.cgi?id=187726\r\n link.href = `${chunkUrl}?ts=${Date.now()}`\r\n } else {\r\n link.href = chunkUrl\r\n }\r\n\r\n link.onerror = () => {\r\n reject()\r\n }\r\n link.onload = () => {\r\n // First load the new CSS, then remove the old ones. This prevents visible\r\n // flickering that would happen in-between removing the previous CSS and\r\n // loading the new one.\r\n for (const previousLink of Array.from(previousLinks))\r\n previousLink.remove()\r\n\r\n // CSS chunks do not register themselves, and as such must be marked as\r\n // loaded instantly.\r\n resolve()\r\n }\r\n\r\n // Make sure to insert the new CSS right after the previous one, so that\r\n // its precedence is higher.\r\n previousLinks[0].parentElement!.insertBefore(\r\n link,\r\n previousLinks[0].nextSibling\r\n )\r\n })\r\n },\r\n\r\n restart: () => self.location.reload(),\r\n }\r\n\r\n function deleteResolver(chunkUrl: ChunkUrl) {\r\n chunkResolvers.delete(chunkUrl)\r\n }\r\n})()\r\n\r\nfunction _eval({ code, url, map }: EcmascriptModuleEntry): ModuleFactory {\r\n code += `\\n\\n//# sourceURL=${encodeURI(\r\n location.origin + CHUNK_BASE_PATH + url + CHUNK_SUFFIX\r\n )}`\r\n if (map) {\r\n code += `\\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,${btoa(\r\n // btoa doesn't handle nonlatin characters, so escape them as \\x sequences\r\n // See https://stackoverflow.com/a/26603875\r\n unescape(encodeURIComponent(map))\r\n )}`\r\n }\r\n\r\n // eslint-disable-next-line no-eval\r\n return eval(code)\r\n}\r\n"],"names":[],"mappings":"AAAA;;;;;CAKC,GAED,oDAAoD,GAEpD,gDAAgD;AAChD,4CAA4C;AAC5C,iDAAiD;AACjD,0DAA0D;AAE1D,IAAI;AACH,CAAC;IACA,cAAc;QACZ,aAAY,QAAQ;YAClB,eAAe;YAEf,gFAAgF;YAChF,MAAM,kBAAkB,UAAU;YAElC,IAAI,MAAM,WAAW;gBACnB,MAAM,QAAQ,SAAS,gBAAgB,CACrC,CAAC,WAAW,EAAE,SAAS,eAAe,EAAE,SAAS,eAAe,EAAE,gBAAgB,eAAe,EAAE,gBAAgB,GAAG,CAAC;gBAEzH,KAAK,MAAM,QAAQ,MAAM,IAAI,CAAC,OAAQ;oBACpC,KAAK,MAAM;gBACb;YACF,OAAO,IAAI,KAAK,WAAW;gBACzB,mEAAmE;gBACnE,0BAA0B;gBAC1B,uEAAuE;gBACvE,4DAA4D;gBAC5D,MAAM,UAAU,SAAS,gBAAgB,CACvC,CAAC,YAAY,EAAE,SAAS,gBAAgB,EAAE,SAAS,gBAAgB,EAAE,gBAAgB,gBAAgB,EAAE,gBAAgB,GAAG,CAAC;gBAE7H,KAAK,MAAM,UAAU,MAAM,IAAI,CAAC,SAA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;IACrC;IAEA,SAAS,eAAe,QAAkB;QACxC,eAAe,MAAM,CAAC;IACxB;AACF,CAAC;AAED,SAAS,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAyB;IACtD,QAAQ,CAAC,kBAAkB,EAAE,UAC3B,SAAS,MAAM,GAAG,kBAAkB,MAAM,eACzC;IACH,IAAI,KAAK;QACP,QAAQ,CAAC,kEAAkE,EAAE,KAC3E,0EAA0E;QAC1E,2CAA2C;QAC3C,SAAS,mBAAmB,QAC3B;IACL;IAEA,mCAAmC;IACnC,OAAO,KAAK;AACd","ignoreList":[0]}}] -} \ No newline at end of file diff --git a/.next/dev/static/chunks/_a0ff3932._.js b/.next/dev/static/chunks/_a0ff3932._.js deleted file mode 100644 index dcd35a1..0000000 --- a/.next/dev/static/chunks/_a0ff3932._.js +++ /dev/null @@ -1,14 +0,0 @@ -(globalThis.TURBOPACK_CHUNK_LISTS || (globalThis.TURBOPACK_CHUNK_LISTS = [])).push({ - script: typeof document === "object" ? document.currentScript : undefined, - chunks: [ - "static/chunks/[turbopack]_browser_dev_hmr-client_hmr-client_ts_956a0d3a._.js", - "static/chunks/node_modules_next_dist_compiled_react-dom_1e674e59._.js", - "static/chunks/node_modules_next_dist_compiled_react-server-dom-turbopack_9212ccad._.js", - "static/chunks/node_modules_next_dist_compiled_next-devtools_index_1dd7fb59.js", - "static/chunks/node_modules_next_dist_compiled_a0e4c7b4._.js", - "static/chunks/node_modules_next_dist_client_17643121._.js", - "static/chunks/node_modules_next_dist_f3530cac._.js", - "static/chunks/node_modules_@swc_helpers_cjs_d80fb378._.js" -], - source: "entry" -}); diff --git a/.next/dev/static/chunks/_a9831282._.js b/.next/dev/static/chunks/_a9831282._.js deleted file mode 100644 index 7c83a20..0000000 --- a/.next/dev/static/chunks/_a9831282._.js +++ /dev/null @@ -1,1663 +0,0 @@ -(globalThis.TURBOPACK || (globalThis.TURBOPACK = [])).push([typeof document === "object" ? document.currentScript : undefined, -"[project]/src/sections/hero.tsx [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "default", - ()=>__TURBOPACK__default__export__ -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/jsx-dev-runtime.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$components$2f$motion$2f$proxy$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/components/motion/proxy.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$client$2f$app$2d$dir$2f$link$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/client/app-dir/link.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -; -var _s = __turbopack_context__.k.signature(); -"use client"; -; -; -; -function Hero() { - _s(); - const [text, setText] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"])('See UI'); - return /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { - className: " mx-5 lg:mx-0", - children: [ - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("h1", { - className: "block mt-2 text-muted-foreground font-medium text-3xl sm:text-4xl md:text-5xl lg:text-6xl tracking-tight leading-[1.05] text-shadow-2xs", - children: "Provided By Roukhood" - }, void 0, false, { - fileName: "[project]/src/sections/hero.tsx", - lineNumber: 11, - columnNumber: 21 - }, this), - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("h1", { - className: "text-4xl sm:text-2xl md:text-6xl lg:text-7xl font-bold tracking-tight text-foreground leading-[1.05] mb-6 text-balance ", - children: "Make Your Android Screens Better" - }, void 0, false, { - fileName: "[project]/src/sections/hero.tsx", - lineNumber: 14, - columnNumber: 21 - }, this), - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { - className: "flex items-center justify-center mx-auto", - children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { - className: "", - children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$client$2f$app$2d$dir$2f$link$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"], { - href: "docs/introduction", - children: [ - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$components$2f$motion$2f$proxy$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["motion"].button, { - className: "py-2 border bg-black/10 border-neutral-300 text-white px-5 rounded-lg", - children: "See UI" - }, void 0, false, { - fileName: "[project]/src/sections/hero.tsx", - lineNumber: 20, - columnNumber: 29 - }, this), - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$components$2f$motion$2f$proxy$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["motion"].button, { - whileHover: { - scale: 1.1 - }, - transition: { - duration: 0.3 - }, - className: "py-2 bg-black border border-neutral-300 dark:bg-white dark:text-black max-w-30 text-white px-5 rounded-lg relative top-2 -left-[81px] tracking-tight cursor-pointer", - onMouseEnter: ()=>{ - setTimeout(()=>{ - setText('Use UI'); - }, 400); - }, - onMouseLeave: ()=>setText('See UI'), - children: text - }, void 0, false, { - fileName: "[project]/src/sections/hero.tsx", - lineNumber: 23, - columnNumber: 29 - }, this) - ] - }, void 0, true, { - fileName: "[project]/src/sections/hero.tsx", - lineNumber: 19, - columnNumber: 28 - }, this) - }, void 0, false, { - fileName: "[project]/src/sections/hero.tsx", - lineNumber: 18, - columnNumber: 25 - }, this) - }, void 0, false, { - fileName: "[project]/src/sections/hero.tsx", - lineNumber: 17, - columnNumber: 21 - }, this) - ] - }, void 0, true, { - fileName: "[project]/src/sections/hero.tsx", - lineNumber: 10, - columnNumber: 8 - }, this); -} -_s(Hero, "KGm0kxxlXhB1tH3g26i+SoypUZ8="); -_c = Hero; -const __TURBOPACK__default__export__ = Hero; -var _c; -__turbopack_context__.k.register(_c, "Hero"); -if (typeof globalThis.$RefreshHelpers$ === 'object' && globalThis.$RefreshHelpers !== null) { - __turbopack_context__.k.registerExports(__turbopack_context__.m, globalThis.$RefreshHelpers$); -} -}), -"[project]/src/sections/animation-theme-component.tsx [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "ComponentCard", - ()=>ComponentCard, - "default", - ()=>__TURBOPACK__default__export__ -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/jsx-dev-runtime.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$lib$2f$utils$2f$cn$2e$ts__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/lib/utils/cn.ts [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$components$2f$motion$2f$proxy$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/components/motion/proxy.mjs [app-client] (ecmascript)"); -"use client"; -; -; -; -const demoUrl = [ - { - docsUrl: "/docs/button", - demoUrl: "https://sol-ui-krma.vercel.app/demo/ButtonDemo" - }, - { - docsUrl: "/docs/discrete-tabs", - demoUrl: "https://sol-ui-krma.vercel.app/demo/DiscreteTabsDemo" - }, - { - docsUrl: "/docs/profile", - demoUrl: "https://sol-ui-krma.vercel.app/demo/ProfileCardDemo" - }, - { - docsUrl: "/docs/card", - demoUrl: "https://sol-ui-krma.vercel.app/demo/CardDemo" - }, - { - docsUrl: "/docs/filter", - demoUrl: "https://sol-ui-krma.vercel.app/demo/FilterDemo", - className: " h-[400px] md:col-span-2" - } -]; -function AnimationThemeComponent() { - return /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { - className: "min-h-screen", - children: [ - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { - className: "py-5", - children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { - className: " py-0.5 rounded-[5px] flex items-center mx-2 sm:mx-20 gap-2", - children: [ - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$components$2f$motion$2f$proxy$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["motion"].button, { - className: " py-2 px-3 rounded-md ring-1 ring-black/30 dark:ring-neutral-500 cursor-pointer text-black dark:text-white", - children: "Checkout Some UI" - }, void 0, false, { - fileName: "[project]/src/sections/animation-theme-component.tsx", - lineNumber: 36, - columnNumber: 11 - }, this), - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$components$2f$motion$2f$proxy$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["motion"].button, { - className: " py-2 px-3 rounded-md ring-1 ring-black/30 dark:ring-neutral-500 cursor-pointer text-black dark:text-white", - children: "Open with Heart" - }, void 0, false, { - fileName: "[project]/src/sections/animation-theme-component.tsx", - lineNumber: 39, - columnNumber: 11 - }, this) - ] - }, void 0, true, { - fileName: "[project]/src/sections/animation-theme-component.tsx", - lineNumber: 35, - columnNumber: 9 - }, this) - }, void 0, false, { - fileName: "[project]/src/sections/animation-theme-component.tsx", - lineNumber: 34, - columnNumber: 7 - }, this), - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { - className: "grid grid-cols-1 md:grid-cols-4 gap-1 mx-auto", - children: demoUrl.map((el, id)=>{ - return /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(ComponentCard, { - demoSrc: el.demoUrl, - className: el.className - }, id, false, { - fileName: "[project]/src/sections/animation-theme-component.tsx", - lineNumber: 46, - columnNumber: 18 - }, this); - }) - }, void 0, false, { - fileName: "[project]/src/sections/animation-theme-component.tsx", - lineNumber: 44, - columnNumber: 7 - }, this) - ] - }, void 0, true, { - fileName: "[project]/src/sections/animation-theme-component.tsx", - lineNumber: 33, - columnNumber: 5 - }, this); -} -_c = AnimationThemeComponent; -const __TURBOPACK__default__export__ = AnimationThemeComponent; -const ComponentCard = ({ demoSrc, className })=>{ - return /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { - className: (0, __TURBOPACK__imported__module__$5b$project$5d2f$lib$2f$utils$2f$cn$2e$ts__$5b$app$2d$client$5d$__$28$ecmascript$29$__["cn"])("h-[600px] w-full flex items-center justify-center", className), - children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("iframe", { - src: demoSrc, - className: (0, __TURBOPACK__imported__module__$5b$project$5d2f$lib$2f$utils$2f$cn$2e$ts__$5b$app$2d$client$5d$__$28$ecmascript$29$__["cn"])(" h-full w-full flex items-center justify-center m-auto rounded-[15px] p-0.5 ring-1 ring-black/10") - }, void 0, false, { - fileName: "[project]/src/sections/animation-theme-component.tsx", - lineNumber: 58, - columnNumber: 9 - }, ("TURBOPACK compile-time value", void 0)) - }, void 0, false, { - fileName: "[project]/src/sections/animation-theme-component.tsx", - lineNumber: 57, - columnNumber: 7 - }, ("TURBOPACK compile-time value", void 0)); -}; -_c1 = ComponentCard; -var _c, _c1; -__turbopack_context__.k.register(_c, "AnimationThemeComponent"); -__turbopack_context__.k.register(_c1, "ComponentCard"); -if (typeof globalThis.$RefreshHelpers$ === 'object' && globalThis.$RefreshHelpers !== null) { - __turbopack_context__.k.registerExports(__turbopack_context__.m, globalThis.$RefreshHelpers$); -} -}), -"[project]/app/page.tsx [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "TrustedCompany", - ()=>TrustedCompany, - "default", - ()=>Home -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/jsx-dev-runtime.js [app-client] (ecmascript)"); -// import BottomToolbar from "@expo/app/components/BottomToolbar"; -// import { Button } from '@/components/ui/button' -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$use$2d$animation$2d$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/utils/use-animation-frame.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$value$2f$use$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/value/use-motion-value.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$value$2f$use$2d$scroll$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/value/use-scroll.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$value$2f$use$2d$spring$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/value/use-spring.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$value$2f$use$2d$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/value/use-transform.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$value$2f$use$2d$velocity$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/value/use-velocity.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$src$2f$sections$2f$hero$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/src/sections/hero.tsx [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$src$2f$sections$2f$animation$2d$theme$2d$component$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/src/sections/animation-theme-component.tsx [app-client] (ecmascript)"); -; -var _s = __turbopack_context__.k.signature(); -"use client"; -; -; -; -; -; -const TrustedCompany = ()=>{ - return /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { - className: " w-80 h-50 border border-neutral-300 bg-black/5 rounded-lg shadow p-5 ", - children: [ - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("h1", { - className: "text-xl font-bold tracking-tight text-foreground leading-[1.05] mb-2", - children: "Magma" - }, void 0, false, { - fileName: "[project]/app/page.tsx", - lineNumber: 28, - columnNumber: 7 - }, ("TURBOPACK compile-time value", void 0)), - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("p", { - className: "text-muted-foreground font-medium tracking-tight leading-[1.05] ", - children: [ - "We are using this for our latest ", - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("br", {}, void 0, false, { - fileName: "[project]/app/page.tsx", - lineNumber: 29, - columnNumber: 120 - }, ("TURBOPACK compile-time value", void 0)), - " ads ediote" - ] - }, void 0, true, { - fileName: "[project]/app/page.tsx", - lineNumber: 29, - columnNumber: 7 - }, ("TURBOPACK compile-time value", void 0)) - ] - }, void 0, true, { - fileName: "[project]/app/page.tsx", - lineNumber: 27, - columnNumber: 5 - }, ("TURBOPACK compile-time value", void 0)); -}; -_c = TrustedCompany; -function Home() { - _s(); - const { scrollY } = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$value$2f$use$2d$scroll$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useScroll"])(); - const scrollVelocity = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$value$2f$use$2d$velocity$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useVelocity"])(scrollY); - const base_speed = 40; - const smoothVelocity = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$value$2f$use$2d$spring$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useSpring"])(scrollVelocity, { - damping: 50, - stiffness: 400 - }); - const direction = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$value$2f$use$2d$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useTransform"])(smoothVelocity, { - "Home.useTransform[direction]": (v)=>{ - if (v > 0) return -1; - if (v < 0) return 1; - return -1; - } - }["Home.useTransform[direction]"]); - const lastY = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useRef"])(0); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useEffect"])({ - "Home.useEffect": ()=>{ - return scrollY.on('change', { - "Home.useEffect": (y)=>{ - const diff = y - lastY.current; - if (diff > 0) direction.set(-1); - else if (diff < 0) direction.set(1); - lastY.current = y; - } - }["Home.useEffect"]); - } - }["Home.useEffect"], [ - scrollY, - direction - ]); - const x1 = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$value$2f$use$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useMotionValue"])(0); - const x2 = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$value$2f$use$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useMotionValue"])(0); - const x3 = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$value$2f$use$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useMotionValue"])(0); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$use$2d$animation$2d$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useAnimationFrame"])({ - "Home.useAnimationFrame": (t, delta)=>{ - const autoMove = direction.get() * base_speed * (delta / 1000); - const movedBy = direction.get() * (delta / 30); - x1.set(x1.get() + movedBy + autoMove); - x2.set(x2.get() - movedBy - autoMove); - x3.set(x3.get() + movedBy * 0.7 + autoMove); - } - }["Home.useAnimationFrame"]); - const [themeComponent, setThemeComponent] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"])('white'); - const [activeId, setActiveId] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"])(2); - return /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Fragment"], { - children: [ - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { - className: " min-h-screen flex items-center justify-center ", - children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$src$2f$sections$2f$hero$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"], {}, void 0, false, { - fileName: "[project]/app/page.tsx", - lineNumber: 87, - columnNumber: 9 - }, this) - }, void 0, false, { - fileName: "[project]/app/page.tsx", - lineNumber: 86, - columnNumber: 7 - }, this), - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { - className: "min-h-50" - }, void 0, false, { - fileName: "[project]/app/page.tsx", - lineNumber: 89, - columnNumber: 7 - }, this), - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$src$2f$sections$2f$animation$2d$theme$2d$component$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"], {}, void 0, false, { - fileName: "[project]/app/page.tsx", - lineNumber: 90, - columnNumber: 7 - }, this), - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { - className: "min-h-50" - }, void 0, false, { - fileName: "[project]/app/page.tsx", - lineNumber: 91, - columnNumber: 7 - }, this) - ] - }, void 0, true); -} -_s(Home, "AF7W2fn/FCk1pgJE+mtPMoQwUdk=", false, function() { - return [ - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$value$2f$use$2d$scroll$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useScroll"], - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$value$2f$use$2d$velocity$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useVelocity"], - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$value$2f$use$2d$spring$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useSpring"], - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$value$2f$use$2d$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useTransform"], - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$value$2f$use$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useMotionValue"], - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$value$2f$use$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useMotionValue"], - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$value$2f$use$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useMotionValue"], - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$use$2d$animation$2d$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useAnimationFrame"] - ]; -}); -_c1 = Home; -var _c, _c1; -__turbopack_context__.k.register(_c, "TrustedCompany"); -__turbopack_context__.k.register(_c1, "Home"); -if (typeof globalThis.$RefreshHelpers$ === 'object' && globalThis.$RefreshHelpers !== null) { - __turbopack_context__.k.registerExports(__turbopack_context__.m, globalThis.$RefreshHelpers$); -} -}), -"[project]/node_modules/framer-motion/dist/es/utils/use-animation-frame.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "useAnimationFrame", - ()=>useAnimationFrame -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/frameloop/frame.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$context$2f$MotionConfigContext$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs [app-client] (ecmascript)"); -"use client"; -; -; -; -function useAnimationFrame(callback) { - const initialTimestamp = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useRef"])(0); - const { isStatic } = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useContext"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$context$2f$MotionConfigContext$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["MotionConfigContext"]); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useEffect"])({ - "useAnimationFrame.useEffect": ()=>{ - if (isStatic) return; - const provideTimeSinceStart = { - "useAnimationFrame.useEffect.provideTimeSinceStart": ({ timestamp, delta })=>{ - if (!initialTimestamp.current) initialTimestamp.current = timestamp; - callback(timestamp - initialTimestamp.current, delta); - } - }["useAnimationFrame.useEffect.provideTimeSinceStart"]; - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frame"].update(provideTimeSinceStart, true); - return ({ - "useAnimationFrame.useEffect": ()=>(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["cancelFrame"])(provideTimeSinceStart) - })["useAnimationFrame.useEffect"]; - } - }["useAnimationFrame.useEffect"], [ - callback - ]); -} -; -}), -"[project]/node_modules/framer-motion/dist/es/value/use-motion-value.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "useMotionValue", - ()=>useMotionValue -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$context$2f$MotionConfigContext$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$use$2d$constant$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/utils/use-constant.mjs [app-client] (ecmascript)"); -"use client"; -; -; -; -; -/** - * Creates a `MotionValue` to track the state and velocity of a value. - * - * Usually, these are created automatically. For advanced use-cases, like use with `useTransform`, you can create `MotionValue`s externally and pass them into the animated component via the `style` prop. - * - * ```jsx - * export const MyComponent = () => { - * const scale = useMotionValue(1) - * - * return - * } - * ``` - * - * @param initial - The initial state. - * - * @public - */ function useMotionValue(initial) { - const value = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$use$2d$constant$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useConstant"])({ - "useMotionValue.useConstant[value]": ()=>(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["motionValue"])(initial) - }["useMotionValue.useConstant[value]"]); - /** - * If this motion value is being used in static mode, like on - * the Framer canvas, force components to rerender when the motion - * value is updated. - */ const { isStatic } = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useContext"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$context$2f$MotionConfigContext$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["MotionConfigContext"]); - if (isStatic) { - const [, setLatest] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"])(initial); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useEffect"])({ - "useMotionValue.useEffect": ()=>value.on("change", setLatest) - }["useMotionValue.useEffect"], []); - } - return value; -} -; -}), -"[project]/node_modules/motion-dom/dist/es/scroll/observe.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "observeTimeline", - ()=>observeTimeline -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/frameloop/frame.mjs [app-client] (ecmascript)"); -; -function observeTimeline(update, timeline) { - let prevProgress; - const onFrame = ()=>{ - const { currentTime } = timeline; - const percentage = currentTime === null ? 0 : currentTime.value; - const progress = percentage / 100; - if (prevProgress !== progress) { - update(progress); - } - prevProgress = progress; - }; - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frame"].preUpdate(onFrame, true); - return ()=>(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["cancelFrame"])(onFrame); -} -; -}), -"[project]/node_modules/motion-dom/dist/es/resize/handle-element.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "resizeElement", - ()=>resizeElement -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$is$2d$svg$2d$element$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/utils/is-svg-element.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$resolve$2d$elements$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/utils/resolve-elements.mjs [app-client] (ecmascript)"); -; -; -const resizeHandlers = new WeakMap(); -let observer; -const getSize = (borderBoxAxis, svgAxis, htmlAxis)=>(target, borderBoxSize)=>{ - if (borderBoxSize && borderBoxSize[0]) { - return borderBoxSize[0][borderBoxAxis + "Size"]; - } else if ((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$is$2d$svg$2d$element$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isSVGElement"])(target) && "getBBox" in target) { - return target.getBBox()[svgAxis]; - } else { - return target[htmlAxis]; - } - }; -const getWidth = /*@__PURE__*/ getSize("inline", "width", "offsetWidth"); -const getHeight = /*@__PURE__*/ getSize("block", "height", "offsetHeight"); -function notifyTarget({ target, borderBoxSize }) { - resizeHandlers.get(target)?.forEach((handler)=>{ - handler(target, { - get width () { - return getWidth(target, borderBoxSize); - }, - get height () { - return getHeight(target, borderBoxSize); - } - }); - }); -} -function notifyAll(entries) { - entries.forEach(notifyTarget); -} -function createResizeObserver() { - if (typeof ResizeObserver === "undefined") return; - observer = new ResizeObserver(notifyAll); -} -function resizeElement(target, handler) { - if (!observer) createResizeObserver(); - const elements = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$resolve$2d$elements$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["resolveElements"])(target); - elements.forEach((element)=>{ - let elementHandlers = resizeHandlers.get(element); - if (!elementHandlers) { - elementHandlers = new Set(); - resizeHandlers.set(element, elementHandlers); - } - elementHandlers.add(handler); - observer?.observe(element); - }); - return ()=>{ - elements.forEach((element)=>{ - const elementHandlers = resizeHandlers.get(element); - elementHandlers?.delete(handler); - if (!elementHandlers?.size) { - observer?.unobserve(element); - } - }); - }; -} -; -}), -"[project]/node_modules/motion-dom/dist/es/resize/handle-window.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "resizeWindow", - ()=>resizeWindow -]); -const windowCallbacks = new Set(); -let windowResizeHandler; -function createWindowResizeHandler() { - windowResizeHandler = ()=>{ - const info = { - get width () { - return window.innerWidth; - }, - get height () { - return window.innerHeight; - } - }; - windowCallbacks.forEach((callback)=>callback(info)); - }; - window.addEventListener("resize", windowResizeHandler); -} -function resizeWindow(callback) { - windowCallbacks.add(callback); - if (!windowResizeHandler) createWindowResizeHandler(); - return ()=>{ - windowCallbacks.delete(callback); - if (!windowCallbacks.size && typeof windowResizeHandler === "function") { - window.removeEventListener("resize", windowResizeHandler); - windowResizeHandler = undefined; - } - }; -} -; -}), -"[project]/node_modules/motion-dom/dist/es/resize/index.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "resize", - ()=>resize -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$resize$2f$handle$2d$element$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/resize/handle-element.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$resize$2f$handle$2d$window$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/resize/handle-window.mjs [app-client] (ecmascript)"); -; -; -function resize(a, b) { - return typeof a === "function" ? (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$resize$2f$handle$2d$window$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["resizeWindow"])(a) : (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$resize$2f$handle$2d$element$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["resizeElement"])(a, b); -} -; -}), -"[project]/node_modules/framer-motion/dist/es/render/dom/scroll/info.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "createScrollInfo", - ()=>createScrollInfo, - "updateScrollInfo", - ()=>updateScrollInfo -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$progress$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/progress.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$velocity$2d$per$2d$second$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/velocity-per-second.mjs [app-client] (ecmascript)"); -; -/** - * A time in milliseconds, beyond which we consider the scroll velocity to be 0. - */ const maxElapsed = 50; -const createAxisInfo = ()=>({ - current: 0, - offset: [], - progress: 0, - scrollLength: 0, - targetOffset: 0, - targetLength: 0, - containerLength: 0, - velocity: 0 - }); -const createScrollInfo = ()=>({ - time: 0, - x: createAxisInfo(), - y: createAxisInfo() - }); -const keys = { - x: { - length: "Width", - position: "Left" - }, - y: { - length: "Height", - position: "Top" - } -}; -function updateAxisInfo(element, axisName, info, time) { - const axis = info[axisName]; - const { length, position } = keys[axisName]; - const prev = axis.current; - const prevTime = info.time; - axis.current = element[`scroll${position}`]; - axis.scrollLength = element[`scroll${length}`] - element[`client${length}`]; - axis.offset.length = 0; - axis.offset[0] = 0; - axis.offset[1] = axis.scrollLength; - axis.progress = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$progress$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["progress"])(0, axis.scrollLength, axis.current); - const elapsed = time - prevTime; - axis.velocity = elapsed > maxElapsed ? 0 : (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$velocity$2d$per$2d$second$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["velocityPerSecond"])(axis.current - prev, elapsed); -} -function updateScrollInfo(element, info, time) { - updateAxisInfo(element, "x", info, time); - updateAxisInfo(element, "y", info, time); - info.time = time; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/render/dom/scroll/offsets/inset.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "calcInset", - ()=>calcInset -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$is$2d$html$2d$element$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/utils/is-html-element.mjs [app-client] (ecmascript)"); -; -function calcInset(element, container) { - const inset = { - x: 0, - y: 0 - }; - let current = element; - while(current && current !== container){ - if ((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$is$2d$html$2d$element$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isHTMLElement"])(current)) { - inset.x += current.offsetLeft; - inset.y += current.offsetTop; - current = current.offsetParent; - } else if (current.tagName === "svg") { - /** - * This isn't an ideal approach to measuring the offset of tags. - * It would be preferable, given they behave like HTMLElements in most ways - * to use offsetLeft/Top. But these don't exist on . Likewise we - * can't use .getBBox() like most SVG elements as these provide the offset - * relative to the SVG itself, which for is usually 0x0. - */ const svgBoundingBox = current.getBoundingClientRect(); - current = current.parentElement; - const parentBoundingBox = current.getBoundingClientRect(); - inset.x += svgBoundingBox.left - parentBoundingBox.left; - inset.y += svgBoundingBox.top - parentBoundingBox.top; - } else if (current instanceof SVGGraphicsElement) { - const { x, y } = current.getBBox(); - inset.x += x; - inset.y += y; - let svg = null; - let parent = current.parentNode; - while(!svg){ - if (parent.tagName === "svg") { - svg = parent; - } - parent = current.parentNode; - } - current = svg; - } else { - break; - } - } - return inset; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/render/dom/scroll/offsets/edge.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "namedEdges", - ()=>namedEdges, - "resolveEdge", - ()=>resolveEdge -]); -const namedEdges = { - start: 0, - center: 0.5, - end: 1 -}; -function resolveEdge(edge, length, inset = 0) { - let delta = 0; - /** - * If we have this edge defined as a preset, replace the definition - * with the numerical value. - */ if (edge in namedEdges) { - edge = namedEdges[edge]; - } - /** - * Handle unit values - */ if (typeof edge === "string") { - const asNumber = parseFloat(edge); - if (edge.endsWith("px")) { - delta = asNumber; - } else if (edge.endsWith("%")) { - edge = asNumber / 100; - } else if (edge.endsWith("vw")) { - delta = asNumber / 100 * document.documentElement.clientWidth; - } else if (edge.endsWith("vh")) { - delta = asNumber / 100 * document.documentElement.clientHeight; - } else { - edge = asNumber; - } - } - /** - * If the edge is defined as a number, handle as a progress value. - */ if (typeof edge === "number") { - delta = length * edge; - } - return inset + delta; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/render/dom/scroll/offsets/offset.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "resolveOffset", - ()=>resolveOffset -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$scroll$2f$offsets$2f$edge$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/dom/scroll/offsets/edge.mjs [app-client] (ecmascript)"); -; -const defaultOffset = [ - 0, - 0 -]; -function resolveOffset(offset, containerLength, targetLength, targetInset) { - let offsetDefinition = Array.isArray(offset) ? offset : defaultOffset; - let targetPoint = 0; - let containerPoint = 0; - if (typeof offset === "number") { - /** - * If we're provided offset: [0, 0.5, 1] then each number x should become - * [x, x], so we default to the behaviour of mapping 0 => 0 of both target - * and container etc. - */ offsetDefinition = [ - offset, - offset - ]; - } else if (typeof offset === "string") { - offset = offset.trim(); - if (offset.includes(" ")) { - offsetDefinition = offset.split(" "); - } else { - /** - * If we're provided a definition like "100px" then we want to apply - * that only to the top of the target point, leaving the container at 0. - * Whereas a named offset like "end" should be applied to both. - */ offsetDefinition = [ - offset, - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$scroll$2f$offsets$2f$edge$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["namedEdges"][offset] ? offset : `0` - ]; - } - } - targetPoint = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$scroll$2f$offsets$2f$edge$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["resolveEdge"])(offsetDefinition[0], targetLength, targetInset); - containerPoint = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$scroll$2f$offsets$2f$edge$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["resolveEdge"])(offsetDefinition[1], containerLength); - return targetPoint - containerPoint; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/render/dom/scroll/offsets/presets.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "ScrollOffset", - ()=>ScrollOffset -]); -const ScrollOffset = { - Enter: [ - [ - 0, - 1 - ], - [ - 1, - 1 - ] - ], - Exit: [ - [ - 0, - 0 - ], - [ - 1, - 0 - ] - ], - Any: [ - [ - 1, - 0 - ], - [ - 0, - 1 - ] - ], - All: [ - [ - 0, - 0 - ], - [ - 1, - 1 - ] - ] -}; -; -}), -"[project]/node_modules/framer-motion/dist/es/render/dom/scroll/offsets/index.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "resolveOffsets", - ()=>resolveOffsets -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$interpolate$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/utils/interpolate.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$keyframes$2f$offsets$2f$default$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$clamp$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/clamp.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$scroll$2f$offsets$2f$inset$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/dom/scroll/offsets/inset.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$scroll$2f$offsets$2f$offset$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/dom/scroll/offsets/offset.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$scroll$2f$offsets$2f$presets$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/dom/scroll/offsets/presets.mjs [app-client] (ecmascript)"); -; -; -; -; -; -const point = { - x: 0, - y: 0 -}; -function getTargetSize(target) { - return "getBBox" in target && target.tagName !== "svg" ? target.getBBox() : { - width: target.clientWidth, - height: target.clientHeight - }; -} -function resolveOffsets(container, info, options) { - const { offset: offsetDefinition = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$scroll$2f$offsets$2f$presets$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["ScrollOffset"].All } = options; - const { target = container, axis = "y" } = options; - const lengthLabel = axis === "y" ? "height" : "width"; - const inset = target !== container ? (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$scroll$2f$offsets$2f$inset$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["calcInset"])(target, container) : point; - /** - * Measure the target and container. If they're the same thing then we - * use the container's scrollWidth/Height as the target, from there - * all other calculations can remain the same. - */ const targetSize = target === container ? { - width: container.scrollWidth, - height: container.scrollHeight - } : getTargetSize(target); - const containerSize = { - width: container.clientWidth, - height: container.clientHeight - }; - /** - * Reset the length of the resolved offset array rather than creating a new one. - * TODO: More reusable data structures for targetSize/containerSize would also be good. - */ info[axis].offset.length = 0; - /** - * Populate the offset array by resolving the user's offset definition into - * a list of pixel scroll offets. - */ let hasChanged = !info[axis].interpolate; - const numOffsets = offsetDefinition.length; - for(let i = 0; i < numOffsets; i++){ - const offset = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$scroll$2f$offsets$2f$offset$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["resolveOffset"])(offsetDefinition[i], containerSize[lengthLabel], targetSize[lengthLabel], inset[axis]); - if (!hasChanged && offset !== info[axis].interpolatorOffsets[i]) { - hasChanged = true; - } - info[axis].offset[i] = offset; - } - /** - * If the pixel scroll offsets have changed, create a new interpolator function - * to map scroll value into a progress. - */ if (hasChanged) { - info[axis].interpolate = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$interpolate$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["interpolate"])(info[axis].offset, (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$keyframes$2f$offsets$2f$default$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["defaultOffset"])(offsetDefinition), { - clamp: false - }); - info[axis].interpolatorOffsets = [ - ...info[axis].offset - ]; - } - info[axis].progress = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$clamp$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["clamp"])(0, 1, info[axis].interpolate(info[axis].current)); -} -; -}), -"[project]/node_modules/framer-motion/dist/es/render/dom/scroll/on-scroll-handler.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "createOnScrollHandler", - ()=>createOnScrollHandler -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$warn$2d$once$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/warn-once.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$scroll$2f$info$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/dom/scroll/info.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$scroll$2f$offsets$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/dom/scroll/offsets/index.mjs [app-client] (ecmascript)"); -; -; -; -function measure(container, target = container, info) { - /** - * Find inset of target within scrollable container - */ info.x.targetOffset = 0; - info.y.targetOffset = 0; - if (target !== container) { - let node = target; - while(node && node !== container){ - info.x.targetOffset += node.offsetLeft; - info.y.targetOffset += node.offsetTop; - node = node.offsetParent; - } - } - info.x.targetLength = target === container ? target.scrollWidth : target.clientWidth; - info.y.targetLength = target === container ? target.scrollHeight : target.clientHeight; - info.x.containerLength = container.clientWidth; - info.y.containerLength = container.clientHeight; - /** - * In development mode ensure scroll containers aren't position: static as this makes - * it difficult to measure their relative positions. - */ if ("TURBOPACK compile-time truthy", 1) { - if (container && target && target !== container) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$warn$2d$once$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["warnOnce"])(getComputedStyle(container).position !== "static", "Please ensure that the container has a non-static position, like 'relative', 'fixed', or 'absolute' to ensure scroll offset is calculated correctly."); - } - } -} -function createOnScrollHandler(element, onScroll, info, options = {}) { - return { - measure: (time)=>{ - measure(element, options.target, info); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$scroll$2f$info$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["updateScrollInfo"])(element, info, time); - if (options.offset || options.target) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$scroll$2f$offsets$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["resolveOffsets"])(element, info, options); - } - }, - notify: ()=>onScroll(info) - }; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/render/dom/scroll/track.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "scrollInfo", - ()=>scrollInfo -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$resize$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/resize/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/frameloop/frame.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$noop$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/noop.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$scroll$2f$info$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/dom/scroll/info.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$scroll$2f$on$2d$scroll$2d$handler$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/dom/scroll/on-scroll-handler.mjs [app-client] (ecmascript)"); -; -; -; -; -const scrollListeners = new WeakMap(); -const resizeListeners = new WeakMap(); -const onScrollHandlers = new WeakMap(); -const getEventTarget = (element)=>element === document.scrollingElement ? window : element; -function scrollInfo(onScroll, { container = document.scrollingElement, ...options } = {}) { - if (!container) return __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$noop$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["noop"]; - let containerHandlers = onScrollHandlers.get(container); - /** - * Get the onScroll handlers for this container. - * If one isn't found, create a new one. - */ if (!containerHandlers) { - containerHandlers = new Set(); - onScrollHandlers.set(container, containerHandlers); - } - /** - * Create a new onScroll handler for the provided callback. - */ const info = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$scroll$2f$info$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createScrollInfo"])(); - const containerHandler = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$scroll$2f$on$2d$scroll$2d$handler$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createOnScrollHandler"])(container, onScroll, info, options); - containerHandlers.add(containerHandler); - /** - * Check if there's a scroll event listener for this container. - * If not, create one. - */ if (!scrollListeners.has(container)) { - const measureAll = ()=>{ - for (const handler of containerHandlers){ - handler.measure(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frameData"].timestamp); - } - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frame"].preUpdate(notifyAll); - }; - const notifyAll = ()=>{ - for (const handler of containerHandlers){ - handler.notify(); - } - }; - const listener = ()=>__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frame"].read(measureAll); - scrollListeners.set(container, listener); - const target = getEventTarget(container); - window.addEventListener("resize", listener, { - passive: true - }); - if (container !== document.documentElement) { - resizeListeners.set(container, (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$resize$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["resize"])(container, listener)); - } - target.addEventListener("scroll", listener, { - passive: true - }); - listener(); - } - const listener = scrollListeners.get(container); - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frame"].read(listener, false, true); - return ()=>{ - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["cancelFrame"])(listener); - /** - * Check if we even have any handlers for this container. - */ const currentHandlers = onScrollHandlers.get(container); - if (!currentHandlers) return; - currentHandlers.delete(containerHandler); - if (currentHandlers.size) return; - /** - * If no more handlers, remove the scroll listener too. - */ const scrollListener = scrollListeners.get(container); - scrollListeners.delete(container); - if (scrollListener) { - getEventTarget(container).removeEventListener("scroll", scrollListener); - resizeListeners.get(container)?.(); - window.removeEventListener("resize", scrollListener); - } - }; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/render/dom/scroll/utils/get-timeline.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "getTimeline", - ()=>getTimeline -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$supports$2f$scroll$2d$timeline$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$scroll$2f$track$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/dom/scroll/track.mjs [app-client] (ecmascript)"); -; -; -const timelineCache = new Map(); -function scrollTimelineFallback(options) { - const currentTime = { - value: 0 - }; - const cancel = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$scroll$2f$track$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["scrollInfo"])((info)=>{ - currentTime.value = info[options.axis].progress * 100; - }, options); - return { - currentTime, - cancel - }; -} -function getTimeline({ source, container, ...options }) { - const { axis } = options; - if (source) container = source; - const containerCache = timelineCache.get(container) ?? new Map(); - timelineCache.set(container, containerCache); - const targetKey = options.target ?? "self"; - const targetCache = containerCache.get(targetKey) ?? {}; - const axisKey = axis + (options.offset ?? []).join(","); - if (!targetCache[axisKey]) { - targetCache[axisKey] = !options.target && (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$supports$2f$scroll$2d$timeline$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["supportsScrollTimeline"])() ? new ScrollTimeline({ - source: container, - axis - }) : scrollTimelineFallback({ - container, - ...options - }); - } - return targetCache[axisKey]; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/render/dom/scroll/attach-animation.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "attachToAnimation", - ()=>attachToAnimation -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$scroll$2f$observe$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/scroll/observe.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$scroll$2f$utils$2f$get$2d$timeline$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/dom/scroll/utils/get-timeline.mjs [app-client] (ecmascript)"); -; -; -function attachToAnimation(animation, options) { - const timeline = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$scroll$2f$utils$2f$get$2d$timeline$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getTimeline"])(options); - return animation.attachTimeline({ - timeline: options.target ? undefined : timeline, - observe: (valueAnimation)=>{ - valueAnimation.pause(); - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$scroll$2f$observe$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["observeTimeline"])((progress)=>{ - valueAnimation.time = valueAnimation.iterationDuration * progress; - }, timeline); - } - }); -} -; -}), -"[project]/node_modules/framer-motion/dist/es/render/dom/scroll/attach-function.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "attachToFunction", - ()=>attachToFunction -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$scroll$2f$observe$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/scroll/observe.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$scroll$2f$track$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/dom/scroll/track.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$scroll$2f$utils$2f$get$2d$timeline$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/dom/scroll/utils/get-timeline.mjs [app-client] (ecmascript)"); -; -; -; -/** - * If the onScroll function has two arguments, it's expecting - * more specific information about the scroll from scrollInfo. - */ function isOnScrollWithInfo(onScroll) { - return onScroll.length === 2; -} -function attachToFunction(onScroll, options) { - if (isOnScrollWithInfo(onScroll)) { - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$scroll$2f$track$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["scrollInfo"])((info)=>{ - onScroll(info[options.axis].progress, info); - }, options); - } else { - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$scroll$2f$observe$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["observeTimeline"])(onScroll, (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$scroll$2f$utils$2f$get$2d$timeline$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getTimeline"])(options)); - } -} -; -}), -"[project]/node_modules/framer-motion/dist/es/render/dom/scroll/index.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "scroll", - ()=>scroll -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$noop$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/noop.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$scroll$2f$attach$2d$animation$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/dom/scroll/attach-animation.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$scroll$2f$attach$2d$function$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/dom/scroll/attach-function.mjs [app-client] (ecmascript)"); -; -; -; -function scroll(onScroll, { axis = "y", container = document.scrollingElement, ...options } = {}) { - if (!container) return __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$noop$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["noop"]; - const optionsWithDefaults = { - axis, - container, - ...options - }; - return typeof onScroll === "function" ? (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$scroll$2f$attach$2d$function$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["attachToFunction"])(onScroll, optionsWithDefaults) : (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$scroll$2f$attach$2d$animation$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["attachToAnimation"])(onScroll, optionsWithDefaults); -} -; -}), -"[project]/node_modules/framer-motion/dist/es/value/use-scroll.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "useScroll", - ()=>useScroll -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$errors$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/errors.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$scroll$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/dom/scroll/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$use$2d$constant$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/utils/use-constant.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$use$2d$isomorphic$2d$effect$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs [app-client] (ecmascript)"); -"use client"; -; -; -; -; -; -; -const createScrollMotionValues = ()=>({ - scrollX: (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["motionValue"])(0), - scrollY: (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["motionValue"])(0), - scrollXProgress: (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["motionValue"])(0), - scrollYProgress: (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["motionValue"])(0) - }); -const isRefPending = (ref)=>{ - if (!ref) return false; - return !ref.current; -}; -function useScroll({ container, target, ...options } = {}) { - const values = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$use$2d$constant$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useConstant"])(createScrollMotionValues); - const scrollAnimation = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useRef"])(null); - const needsStart = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useRef"])(false); - const start = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useCallback"])({ - "useScroll.useCallback[start]": ()=>{ - scrollAnimation.current = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$scroll$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["scroll"])({ - "useScroll.useCallback[start]": (_progress, { x, y })=>{ - values.scrollX.set(x.current); - values.scrollXProgress.set(x.progress); - values.scrollY.set(y.current); - values.scrollYProgress.set(y.progress); - } - }["useScroll.useCallback[start]"], { - ...options, - container: container?.current || undefined, - target: target?.current || undefined - }); - return ({ - "useScroll.useCallback[start]": ()=>{ - scrollAnimation.current?.(); - } - })["useScroll.useCallback[start]"]; - } - }["useScroll.useCallback[start]"], [ - container, - target, - JSON.stringify(options.offset) - ]); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$use$2d$isomorphic$2d$effect$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useIsomorphicLayoutEffect"])({ - "useScroll.useIsomorphicLayoutEffect": ()=>{ - needsStart.current = false; - if (isRefPending(container) || isRefPending(target)) { - needsStart.current = true; - return; - } else { - return start(); - } - } - }["useScroll.useIsomorphicLayoutEffect"], [ - start - ]); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useEffect"])({ - "useScroll.useEffect": ()=>{ - if (needsStart.current) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$errors$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["invariant"])(!isRefPending(container), "Container ref is defined but not hydrated", "use-scroll-ref"); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$errors$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["invariant"])(!isRefPending(target), "Target ref is defined but not hydrated", "use-scroll-ref"); - return start(); - } else { - return; - } - } - }["useScroll.useEffect"], [ - start - ]); - return values; -} -; -}), -"[project]/node_modules/motion-dom/dist/es/value/spring-value.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "attachSpring", - ()=>attachSpring, - "springValue", - ()=>springValue -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$JSAnimation$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/JSAnimation.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$utils$2f$is$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/utils/is-motion-value.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/frameloop/frame.mjs [app-client] (ecmascript)"); -; -; -; -; -/** - * Create a `MotionValue` that animates to its latest value using a spring. - * Can either be a value or track another `MotionValue`. - * - * ```jsx - * const x = motionValue(0) - * const y = transformValue(() => x.get() * 2) // double x - * ``` - * - * @param transformer - A transform function. This function must be pure with no side-effects or conditional statements. - * @returns `MotionValue` - * - * @public - */ function springValue(source, options) { - const initialValue = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$utils$2f$is$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isMotionValue"])(source) ? source.get() : source; - const value = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["motionValue"])(initialValue); - attachSpring(value, source, options); - return value; -} -function attachSpring(value, source, options) { - const initialValue = value.get(); - let activeAnimation = null; - let latestValue = initialValue; - let latestSetter; - const unit = typeof initialValue === "string" ? initialValue.replace(/[\d.-]/g, "") : undefined; - const stopAnimation = ()=>{ - if (activeAnimation) { - activeAnimation.stop(); - activeAnimation = null; - } - }; - const startAnimation = ()=>{ - stopAnimation(); - activeAnimation = new __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$JSAnimation$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["JSAnimation"]({ - keyframes: [ - asNumber(value.get()), - asNumber(latestValue) - ], - velocity: value.getVelocity(), - type: "spring", - restDelta: 0.001, - restSpeed: 0.01, - ...options, - onUpdate: latestSetter - }); - }; - value.attach((v, set)=>{ - latestValue = v; - latestSetter = (latest)=>set(parseValue(latest, unit)); - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frame"].postRender(startAnimation); - }, stopAnimation); - if ((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$utils$2f$is$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isMotionValue"])(source)) { - const removeSourceOnChange = source.on("change", (v)=>value.set(parseValue(v, unit))); - const removeValueOnDestroy = value.on("destroy", removeSourceOnChange); - return ()=>{ - removeSourceOnChange(); - removeValueOnDestroy(); - }; - } - return stopAnimation; -} -function parseValue(v, unit) { - return unit ? v + unit : v; -} -function asNumber(v) { - return typeof v === "number" ? v : parseFloat(v); -} -; -}), -"[project]/node_modules/motion-dom/dist/es/utils/transform.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "transform", - ()=>transform -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$interpolate$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/utils/interpolate.mjs [app-client] (ecmascript)"); -; -function transform(...args) { - const useImmediate = !Array.isArray(args[0]); - const argOffset = useImmediate ? 0 : -1; - const inputValue = args[0 + argOffset]; - const inputRange = args[1 + argOffset]; - const outputRange = args[2 + argOffset]; - const options = args[3 + argOffset]; - const interpolator = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$interpolate$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["interpolate"])(inputRange, outputRange, options); - return useImmediate ? interpolator(inputValue) : interpolator; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/value/use-combine-values.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "useCombineMotionValues", - ()=>useCombineMotionValues -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/frameloop/frame.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$use$2d$isomorphic$2d$effect$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$value$2f$use$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/value/use-motion-value.mjs [app-client] (ecmascript)"); -"use client"; -; -; -; -function useCombineMotionValues(values, combineValues) { - /** - * Initialise the returned motion value. This remains the same between renders. - */ const value = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$value$2f$use$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useMotionValue"])(combineValues()); - /** - * Create a function that will update the template motion value with the latest values. - * This is pre-bound so whenever a motion value updates it can schedule its - * execution in Framesync. If it's already been scheduled it won't be fired twice - * in a single frame. - */ const updateValue = ()=>value.set(combineValues()); - /** - * Synchronously update the motion value with the latest values during the render. - * This ensures that within a React render, the styles applied to the DOM are up-to-date. - */ updateValue(); - /** - * Subscribe to all motion values found within the template. Whenever any of them change, - * schedule an update. - */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$use$2d$isomorphic$2d$effect$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useIsomorphicLayoutEffect"])({ - "useCombineMotionValues.useIsomorphicLayoutEffect": ()=>{ - const scheduleUpdate = { - "useCombineMotionValues.useIsomorphicLayoutEffect.scheduleUpdate": ()=>__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frame"].preRender(updateValue, false, true) - }["useCombineMotionValues.useIsomorphicLayoutEffect.scheduleUpdate"]; - const subscriptions = values.map({ - "useCombineMotionValues.useIsomorphicLayoutEffect.subscriptions": (v)=>v.on("change", scheduleUpdate) - }["useCombineMotionValues.useIsomorphicLayoutEffect.subscriptions"]); - return ({ - "useCombineMotionValues.useIsomorphicLayoutEffect": ()=>{ - subscriptions.forEach({ - "useCombineMotionValues.useIsomorphicLayoutEffect": (unsubscribe)=>unsubscribe() - }["useCombineMotionValues.useIsomorphicLayoutEffect"]); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["cancelFrame"])(updateValue); - } - })["useCombineMotionValues.useIsomorphicLayoutEffect"]; - } - }["useCombineMotionValues.useIsomorphicLayoutEffect"]); - return value; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/value/use-computed.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "useComputed", - ()=>useComputed -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$value$2f$use$2d$combine$2d$values$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/value/use-combine-values.mjs [app-client] (ecmascript)"); -"use client"; -; -; -function useComputed(compute) { - /** - * Open session of collectMotionValues. Any MotionValue that calls get() - * will be saved into this array. - */ __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["collectMotionValues"].current = []; - compute(); - const value = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$value$2f$use$2d$combine$2d$values$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useCombineMotionValues"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["collectMotionValues"].current, compute); - /** - * Synchronously close session of collectMotionValues. - */ __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["collectMotionValues"].current = undefined; - return value; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/value/use-transform.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "useTransform", - ()=>useTransform -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/utils/transform.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$use$2d$constant$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/utils/use-constant.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$value$2f$use$2d$combine$2d$values$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/value/use-combine-values.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$value$2f$use$2d$computed$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/value/use-computed.mjs [app-client] (ecmascript)"); -"use client"; -; -; -; -; -function useTransform(input, inputRangeOrTransformer, outputRange, options) { - if (typeof input === "function") { - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$value$2f$use$2d$computed$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useComputed"])(input); - } - const transformer = typeof inputRangeOrTransformer === "function" ? inputRangeOrTransformer : (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["transform"])(inputRangeOrTransformer, outputRange, options); - return Array.isArray(input) ? useListTransform(input, transformer) : useListTransform([ - input - ], { - "useTransform.useListTransform": ([latest])=>transformer(latest) - }["useTransform.useListTransform"]); -} -function useListTransform(values, transformer) { - const latest = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$use$2d$constant$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useConstant"])({ - "useListTransform.useConstant[latest]": ()=>[] - }["useListTransform.useConstant[latest]"]); - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$value$2f$use$2d$combine$2d$values$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useCombineMotionValues"])(values, { - "useListTransform.useCombineMotionValues": ()=>{ - latest.length = 0; - const numValues = values.length; - for(let i = 0; i < numValues; i++){ - latest[i] = values[i].get(); - } - return transformer(latest); - } - }["useListTransform.useCombineMotionValues"]); -} -; -}), -"[project]/node_modules/framer-motion/dist/es/value/use-spring.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "useSpring", - ()=>useSpring -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$spring$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/spring-value.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$utils$2f$is$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/utils/is-motion-value.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$context$2f$MotionConfigContext$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$value$2f$use$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/value/use-motion-value.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$value$2f$use$2d$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/value/use-transform.mjs [app-client] (ecmascript)"); -"use client"; -; -; -; -; -; -function useSpring(source, options = {}) { - const { isStatic } = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useContext"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$context$2f$MotionConfigContext$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["MotionConfigContext"]); - const getFromSource = ()=>(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$utils$2f$is$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isMotionValue"])(source) ? source.get() : source; - // isStatic will never change, allowing early hooks return - if (isStatic) { - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$value$2f$use$2d$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useTransform"])(getFromSource); - } - const value = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$value$2f$use$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useMotionValue"])(getFromSource()); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useInsertionEffect"])({ - "useSpring.useInsertionEffect": ()=>{ - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$spring$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["attachSpring"])(value, source, options); - } - }["useSpring.useInsertionEffect"], [ - value, - JSON.stringify(options) - ]); - return value; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/utils/use-motion-value-event.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "useMotionValueEvent", - ()=>useMotionValueEvent -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -"use client"; -; -function useMotionValueEvent(value, event, callback) { - /** - * useInsertionEffect will create subscriptions before any other - * effects will run. Effects run upwards through the tree so it - * can be that binding a useLayoutEffect higher up the tree can - * miss changes from lower down the tree. - */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useInsertionEffect"])({ - "useMotionValueEvent.useInsertionEffect": ()=>value.on(event, callback) - }["useMotionValueEvent.useInsertionEffect"], [ - value, - event, - callback - ]); -} -; -}), -"[project]/node_modules/framer-motion/dist/es/value/use-velocity.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "useVelocity", - ()=>useVelocity -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/frameloop/frame.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$use$2d$motion$2d$value$2d$event$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/utils/use-motion-value-event.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$value$2f$use$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/value/use-motion-value.mjs [app-client] (ecmascript)"); -"use client"; -; -; -; -/** - * Creates a `MotionValue` that updates when the velocity of the provided `MotionValue` changes. - * - * ```javascript - * const x = useMotionValue(0) - * const xVelocity = useVelocity(x) - * const xAcceleration = useVelocity(xVelocity) - * ``` - * - * @public - */ function useVelocity(value) { - const velocity = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$value$2f$use$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useMotionValue"])(value.getVelocity()); - const updateVelocity = ()=>{ - const latest = value.getVelocity(); - velocity.set(latest); - /** - * If we still have velocity, schedule an update for the next frame - * to keep checking until it is zero. - */ if (latest) __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frame"].update(updateVelocity); - }; - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$use$2d$motion$2d$value$2d$event$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useMotionValueEvent"])(value, "change", { - "useVelocity.useMotionValueEvent": ()=>{ - // Schedule an update to this value at the end of the current frame. - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frame"].update(updateVelocity, false, true); - } - }["useVelocity.useMotionValueEvent"]); - return velocity; -} -; -}), -]); - -//# sourceMappingURL=_a9831282._.js.map \ No newline at end of file diff --git a/.next/dev/static/chunks/_a9831282._.js.map b/.next/dev/static/chunks/_a9831282._.js.map deleted file mode 100644 index ab75327..0000000 --- a/.next/dev/static/chunks/_a9831282._.js.map +++ /dev/null @@ -1,35 +0,0 @@ -{ - "version": 3, - "sources": [], - "sections": [ - {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/src/sections/hero.tsx"],"sourcesContent":["\r\n\"use client\"\r\nimport { motion } from 'motion/react'\r\nimport Link from 'next/link'\r\nimport React, { useState } from 'react'\r\n\r\nfunction Hero() {\r\n const [text, setText] = useState('See UI')\r\n return (\r\n
\r\n

\r\n Provided By Roukhood\r\n

\r\n

\r\n Make Your Android Screens Better\r\n

\r\n
\r\n
\r\n \r\n \r\n See UI\r\n \r\n {\r\n setTimeout(() => {\r\n setText('Use UI')\r\n }, 400)\r\n }} onMouseLeave={() => setText('See UI')}>\r\n {\r\n text\r\n }\r\n \r\n \r\n
\r\n\r\n\r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default Hero"],"names":[],"mappings":";;;;;AAEA;AACA;AACA;;;AAHA;;;;AAKA,SAAS;;IACD,MAAM,CAAC,MAAM,QAAQ,GAAG,IAAA,yKAAQ,EAAC;IACvC,qBACK,6LAAC;QAAI,WAAU;;0BACF,6LAAC;gBAAG,WAAU;0BAA0I;;;;;;0BAGxJ,6LAAC;gBAAG,WAAU;0BAA0H;;;;;;0BAGxI,6LAAC;gBAAI,WAAU;0BACX,cAAA,6LAAC;oBAAI,WAAU;8BACZ,cAAA,6LAAC,0KAAI;wBAAC,MAAK;;0CACV,6LAAC,uMAAM,CAAC,MAAM;gCAAC,WAAU;0CAAwE;;;;;;0CAGjG,6LAAC,uMAAM,CAAC,MAAM;gCACV,YAAY;oCACR,OAAO;gCACX;gCAEA,YAAY;oCACR,UAAU;gCACd;gCACA,WAAU;gCAAsK,cAAc;oCAC1L,WAAW;wCACP,QAAQ;oCACZ,GAAG;gCACP;gCAAG,cAAc,IAAM,QAAQ;0CAE3B;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAUpC;GAxCS;KAAA;uCA0CM"}}, - {"offset": {"line": 110, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/src/sections/animation-theme-component.tsx"],"sourcesContent":["\"use client\";\r\n\r\n\r\nimport { cn } from \"@/lib/utils/cn\";\r\nimport { motion } from \"motion/react\";\r\n\r\nconst demoUrl = [\r\n {\r\n\r\n docsUrl: \"/docs/button\",\r\n demoUrl: \"https://sol-ui-krma.vercel.app/demo/ButtonDemo\",\r\n },\r\n {\r\n docsUrl: \"/docs/discrete-tabs\",\r\n demoUrl: \"https://sol-ui-krma.vercel.app/demo/DiscreteTabsDemo\",\r\n },\r\n {\r\n docsUrl: \"/docs/profile\",\r\n demoUrl: \"https://sol-ui-krma.vercel.app/demo/ProfileCardDemo\",\r\n },\r\n {\r\n docsUrl: \"/docs/card\",\r\n demoUrl: \"https://sol-ui-krma.vercel.app/demo/CardDemo\",\r\n },\r\n {\r\n docsUrl: \"/docs/filter\",\r\n demoUrl: \"https://sol-ui-krma.vercel.app/demo/FilterDemo\",\r\n className: \" h-[400px] md:col-span-2\"\r\n },\r\n];\r\nfunction AnimationThemeComponent() {\r\n return (\r\n
\r\n
\r\n
\r\n \r\n Checkout Some UI\r\n \r\n \r\n Open with Heart\r\n \r\n
\r\n
\r\n
\r\n {demoUrl.map((el, id) => {\r\n return \r\n })}\r\n
\r\n
\r\n );\r\n}\r\n\r\nexport default AnimationThemeComponent;\r\n\r\nexport const ComponentCard = ({ demoSrc , className}: { demoSrc: string , className ?: string}) => {\r\n return (\r\n
\r\n \r\n
\r\n );\r\n};\r\n"],"names":[],"mappings":";;;;;;;AAGA;AACA;AAJA;;;;AAMA,MAAM,UAAU;IACd;QAEE,SAAS;QACT,SAAS;IACX;IACA;QACE,SAAS;QACT,SAAS;IACX;IACA;QACE,SAAS;QACT,SAAS;IACX;IACA;QACE,SAAS;QACT,SAAS;IACX;IACA;QACE,SAAS;QACT,SAAS;QACT,WAAW;IACb;CACD;AACD,SAAS;IACP,qBACE,6LAAC;QAAI,WAAU;;0BACb,6LAAC;gBAAI,WAAU;0BACb,cAAA,6LAAC;oBAAI,WAAU;;sCACb,6LAAC,uMAAM,CAAC,MAAM;4BAAC,WAAU;sCAA6G;;;;;;sCAGtI,6LAAC,uMAAM,CAAC,MAAM;4BAAC,WAAU;sCAA8G;;;;;;;;;;;;;;;;;0BAK3I,6LAAC;gBAAI,WAAU;0BACZ,QAAQ,GAAG,CAAC,CAAC,IAAI;oBAChB,qBAAO,6LAAC;wBAAc,SAAS,GAAG,OAAO;wBAAW,WAAW,GAAG,SAAS;uBAA3B;;;;;gBAClD;;;;;;;;;;;;AAIR;KApBS;uCAsBM;AAER,MAAM,gBAAgB,CAAC,EAAE,OAAO,EAAG,SAAS,EAA2C;IAC5F,qBACI,6LAAC;QAAI,WAAW,IAAA,2HAAE,EAAC,qDAAsD;kBACvE,cAAA,6LAAC;YACC,KAAK;YACL,WAAW,IAAA,2HAAE,EAAC;;;;;;;;;;;AAIxB;MATa"}}, - {"offset": {"line": 236, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/app/page.tsx"],"sourcesContent":["\"use client\"\nimport Image from \"next/image\";\n// import BottomToolbar from \"@expo/app/components/BottomToolbar\";\n\n\n// import { Button } from '@/components/ui/button'\n\n\n\n\n\nimport React, { useState } from 'react'\nimport { motion, useAnimationFrame, useMotionValue, useScroll, useSpring, useTransform, useVelocity } from \"motion/react\";\nimport { useEffect, useRef } from \"react\";\nimport { cn } from \"@/lib/utils/cn\";\nimport Hero from \"@/src/sections/hero\";\nimport AnimationThemeComponent from \"@/src/sections/animation-theme-component\";\n// import CardAnimate from \"@/src/components/ui/card-animate\";\n// import { ComponentPreview } from \"@/src/components/docs/component-preview\";\n// import { ComponentContainer } from \"@/src/components/docs/component-container\";\n// import ComponentShow from \"@/src/sections/component-show\";\n\n\n\nexport const TrustedCompany = () => {\n return (\n
\n

Magma

\n

We are using this for our latest
ads ediote

\n {/*
\n \n
*/}\n
\n )\n}\nexport default function Home() {\n\n\n const { scrollY } = useScroll();\n const scrollVelocity = useVelocity(scrollY);\n\n const base_speed = 40;\n const smoothVelocity = useSpring(scrollVelocity, {\n damping: 50,\n stiffness: 400\n })\n\n const direction = useTransform(smoothVelocity, v => {\n if (v > 0) return -1;\n if (v < 0) return 1\n return -1\n })\n\n\n const lastY = useRef(0)\n useEffect(() => {\n return scrollY.on('change', (y) => {\n const diff = y - lastY.current\n\n if (diff > 0) direction.set(-1)\n else if (diff < 0) direction.set(1)\n lastY.current = y\n\n })\n }, [scrollY, direction])\n\n const x1 = useMotionValue(0);\n const x2 = useMotionValue(0)\n const x3 = useMotionValue(0)\n\n useAnimationFrame((t, delta) => {\n const autoMove = direction.get() * base_speed * (delta / 1000)\n const movedBy = direction.get() * (delta / 30)\n\n x1.set(x1.get() + movedBy + autoMove)\n x2.set(x2.get() - movedBy - autoMove)\n x3.set(x3.get() + movedBy * 0.7 + autoMove)\n })\n\n\n\n const [themeComponent, setThemeComponent] = useState('white')\n const [activeId, setActiveId] = useState(2)\n return (\n <>\n
\n \n
\n
\n \n
\n
\n \n );\n}\n"],"names":[],"mappings":";;;;;;;AAEA,kEAAkE;AAGlE,kDAAkD;AAMlD;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA;AACA;;;AAhBA;;;;;;AAwBO,MAAM,iBAAiB;IAC5B,qBACE,6LAAC;QAAI,WAAU;;0BACb,6LAAC;gBAAG,WAAU;0BAAuE;;;;;;0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AAC;IACrD,MAAM,CAAC,UAAU,YAAY,GAAG,IAAA,yKAAQ,EAAC;IACzC,qBACE;;0BACE,6LAAC;gBAAI,WAAU;0BACb,cAAA,6LAAC,sIAAI;;;;;;;;;;0BAEP,6LAAC;gBAAI,WAAU;;;;;;0BACf,6LAAC,iKAAuB;;;;;0BACxB,6LAAC;gBAAI,WAAU;;;;;;;;AAIrB;GA3DwB;;QAGF,yLAAS;QACN,6LAAW;QAGX,yLAAS;QAKd,+LAAY;QAmBnB,uMAAc;QACd,uMAAc;QACd,uMAAc;QAEzB,6MAAiB;;;MAnCK"}}, - {"offset": {"line": 403, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/utils/use-animation-frame.mjs"],"sourcesContent":["\"use client\";\nimport { frame, cancelFrame } from 'motion-dom';\nimport { useRef, useContext, useEffect } from 'react';\nimport { MotionConfigContext } from '../context/MotionConfigContext.mjs';\n\nfunction useAnimationFrame(callback) {\n const initialTimestamp = useRef(0);\n const { isStatic } = useContext(MotionConfigContext);\n useEffect(() => {\n if (isStatic)\n return;\n const provideTimeSinceStart = ({ timestamp, delta }) => {\n if (!initialTimestamp.current)\n initialTimestamp.current = timestamp;\n callback(timestamp - initialTimestamp.current, delta);\n };\n frame.update(provideTimeSinceStart, true);\n return () => cancelFrame(provideTimeSinceStart);\n }, [callback]);\n}\n\nexport { useAnimationFrame };\n"],"names":[],"mappings":";;;;AACA;AACA;AACA;AAHA;;;;AAKA,SAAS,kBAAkB,QAAQ;IAC/B,MAAM,mBAAmB,IAAA,uKAAM,EAAC;IAChC,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAA,2KAAU,EAAC,2MAAmB;IACnD,IAAA,0KAAS;uCAAC;YACN,IAAI,UACA;YACJ,MAAM;qEAAwB,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE;oBAC/C,IAAI,CAAC,iBAAiB,OAAO,EACzB,iBAAiB,OAAO,GAAG;oBAC/B,SAAS,YAAY,iBAAiB,OAAO,EAAE;gBACnD;;YACA,8KAAK,CAAC,MAAM,CAAC,uBAAuB;YACpC;+CAAO,IAAM,IAAA,oLAAW,EAAC;;QAC7B;sCAAG;QAAC;KAAS;AACjB","ignoreList":[0]}}, - {"offset": {"line": 440, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/value/use-motion-value.mjs"],"sourcesContent":["\"use client\";\nimport { motionValue } from 'motion-dom';\nimport { useContext, useState, useEffect } from 'react';\nimport { MotionConfigContext } from '../context/MotionConfigContext.mjs';\nimport { useConstant } from '../utils/use-constant.mjs';\n\n/**\n * Creates a `MotionValue` to track the state and velocity of a value.\n *\n * Usually, these are created automatically. For advanced use-cases, like use with `useTransform`, you can create `MotionValue`s externally and pass them into the animated component via the `style` prop.\n *\n * ```jsx\n * export const MyComponent = () => {\n * const scale = useMotionValue(1)\n *\n * return \n * }\n * ```\n *\n * @param initial - The initial state.\n *\n * @public\n */\nfunction useMotionValue(initial) {\n const value = useConstant(() => motionValue(initial));\n /**\n * If this motion value is being used in static mode, like on\n * the Framer canvas, force components to rerender when the motion\n * value is updated.\n */\n const { isStatic } = useContext(MotionConfigContext);\n if (isStatic) {\n const [, setLatest] = useState(initial);\n useEffect(() => value.on(\"change\", setLatest), []);\n }\n return value;\n}\n\nexport { useMotionValue };\n"],"names":[],"mappings":";;;;AACA;AACA;AACA;AACA;AAJA;;;;;AAMA;;;;;;;;;;;;;;;;CAgBC,GACD,SAAS,eAAe,OAAO;IAC3B,MAAM,QAAQ,IAAA,6LAAW;6CAAC,IAAM,IAAA,gLAAW,EAAC;;IAC5C;;;;KAIC,GACD,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAA,2KAAU,EAAC,2MAAmB;IACnD,IAAI,UAAU;QACV,MAAM,GAAG,UAAU,GAAG,IAAA,yKAAQ,EAAC;QAC/B,IAAA,0KAAS;wCAAC,IAAM,MAAM,EAAE,CAAC,UAAU;uCAAY,EAAE;IACrD;IACA,OAAO;AACX","ignoreList":[0]}}, - {"offset": {"line": 491, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/scroll/observe.mjs"],"sourcesContent":["import { frame, cancelFrame } from '../frameloop/frame.mjs';\n\nfunction observeTimeline(update, timeline) {\n let prevProgress;\n const onFrame = () => {\n const { currentTime } = timeline;\n const percentage = currentTime === null ? 0 : currentTime.value;\n const progress = percentage / 100;\n if (prevProgress !== progress) {\n update(progress);\n }\n prevProgress = progress;\n };\n frame.preUpdate(onFrame, true);\n return () => cancelFrame(onFrame);\n}\n\nexport { observeTimeline };\n"],"names":[],"mappings":";;;;AAAA;;AAEA,SAAS,gBAAgB,MAAM,EAAE,QAAQ;IACrC,IAAI;IACJ,MAAM,UAAU;QACZ,MAAM,EAAE,WAAW,EAAE,GAAG;QACxB,MAAM,aAAa,gBAAgB,OAAO,IAAI,YAAY,KAAK;QAC/D,MAAM,WAAW,aAAa;QAC9B,IAAI,iBAAiB,UAAU;YAC3B,OAAO;QACX;QACA,eAAe;IACnB;IACA,8KAAK,CAAC,SAAS,CAAC,SAAS;IACzB,OAAO,IAAM,IAAA,oLAAW,EAAC;AAC7B","ignoreList":[0]}}, - {"offset": {"line": 516, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/resize/handle-element.mjs"],"sourcesContent":["import { isSVGElement } from '../utils/is-svg-element.mjs';\nimport { resolveElements } from '../utils/resolve-elements.mjs';\n\nconst resizeHandlers = new WeakMap();\nlet observer;\nconst getSize = (borderBoxAxis, svgAxis, htmlAxis) => (target, borderBoxSize) => {\n if (borderBoxSize && borderBoxSize[0]) {\n return borderBoxSize[0][(borderBoxAxis + \"Size\")];\n }\n else if (isSVGElement(target) && \"getBBox\" in target) {\n return target.getBBox()[svgAxis];\n }\n else {\n return target[htmlAxis];\n }\n};\nconst getWidth = /*@__PURE__*/ getSize(\"inline\", \"width\", \"offsetWidth\");\nconst getHeight = /*@__PURE__*/ getSize(\"block\", \"height\", \"offsetHeight\");\nfunction notifyTarget({ target, borderBoxSize }) {\n resizeHandlers.get(target)?.forEach((handler) => {\n handler(target, {\n get width() {\n return getWidth(target, borderBoxSize);\n },\n get height() {\n return getHeight(target, borderBoxSize);\n },\n });\n });\n}\nfunction notifyAll(entries) {\n entries.forEach(notifyTarget);\n}\nfunction createResizeObserver() {\n if (typeof ResizeObserver === \"undefined\")\n return;\n observer = new ResizeObserver(notifyAll);\n}\nfunction resizeElement(target, handler) {\n if (!observer)\n createResizeObserver();\n const elements = resolveElements(target);\n elements.forEach((element) => {\n let elementHandlers = resizeHandlers.get(element);\n if (!elementHandlers) {\n elementHandlers = new Set();\n resizeHandlers.set(element, elementHandlers);\n }\n elementHandlers.add(handler);\n observer?.observe(element);\n });\n return () => {\n elements.forEach((element) => {\n const elementHandlers = resizeHandlers.get(element);\n elementHandlers?.delete(handler);\n if (!elementHandlers?.size) {\n observer?.unobserve(element);\n }\n });\n };\n}\n\nexport { resizeElement };\n"],"names":[],"mappings":";;;;AAAA;AACA;;;AAEA,MAAM,iBAAiB,IAAI;AAC3B,IAAI;AACJ,MAAM,UAAU,CAAC,eAAe,SAAS,WAAa,CAAC,QAAQ;QAC3D,IAAI,iBAAiB,aAAa,CAAC,EAAE,EAAE;YACnC,OAAO,aAAa,CAAC,EAAE,CAAE,gBAAgB,OAAQ;QACrD,OACK,IAAI,IAAA,gMAAY,EAAC,WAAW,aAAa,QAAQ;YAClD,OAAO,OAAO,OAAO,EAAE,CAAC,QAAQ;QACpC,OACK;YACD,OAAO,MAAM,CAAC,SAAS;QAC3B;IACJ;AACA,MAAM,WAAW,WAAW,GAAG,QAAQ,UAAU,SAAS;AAC1D,MAAM,YAAY,WAAW,GAAG,QAAQ,SAAS,UAAU;AAC3D,SAAS,aAAa,EAAE,MAAM,EAAE,aAAa,EAAE;IAC3C,eAAe,GAAG,CAAC,SAAS,QAAQ,CAAC;QACjC,QAAQ,QAAQ;YACZ,IAAI,SAAQ;gBACR,OAAO,SAAS,QAAQ;YAC5B;YACA,IAAI,UAAS;gBACT,OAAO,UAAU,QAAQ;YAC7B;QACJ;IACJ;AACJ;AACA,SAAS,UAAU,OAAO;IACtB,QAAQ,OAAO,CAAC;AACpB;AACA,SAAS;IACL,IAAI,OAAO,mBAAmB,aAC1B;IACJ,WAAW,IAAI,eAAe;AAClC;AACA,SAAS,cAAc,MAAM,EAAE,OAAO;IAClC,IAAI,CAAC,UACD;IACJ,MAAM,WAAW,IAAA,kMAAe,EAAC;IACjC,SAAS,OAAO,CAAC,CAAC;QACd,IAAI,kBAAkB,eAAe,GAAG,CAAC;QACzC,IAAI,CAAC,iBAAiB;YAClB,kBAAkB,IAAI;YACtB,eAAe,GAAG,CAAC,SAAS;QAChC;QACA,gBAAgB,GAAG,CAAC;QACpB,UAAU,QAAQ;IACtB;IACA,OAAO;QACH,SAAS,OAAO,CAAC,CAAC;YACd,MAAM,kBAAkB,eAAe,GAAG,CAAC;YAC3C,iBAAiB,OAAO;YACxB,IAAI,CAAC,iBAAiB,MAAM;gBACxB,UAAU,UAAU;YACxB;QACJ;IACJ;AACJ","ignoreList":[0]}}, - {"offset": {"line": 583, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/resize/handle-window.mjs"],"sourcesContent":["const windowCallbacks = new Set();\nlet windowResizeHandler;\nfunction createWindowResizeHandler() {\n windowResizeHandler = () => {\n const info = {\n get width() {\n return window.innerWidth;\n },\n get height() {\n return window.innerHeight;\n },\n };\n windowCallbacks.forEach((callback) => callback(info));\n };\n window.addEventListener(\"resize\", windowResizeHandler);\n}\nfunction resizeWindow(callback) {\n windowCallbacks.add(callback);\n if (!windowResizeHandler)\n createWindowResizeHandler();\n return () => {\n windowCallbacks.delete(callback);\n if (!windowCallbacks.size &&\n typeof windowResizeHandler === \"function\") {\n window.removeEventListener(\"resize\", windowResizeHandler);\n windowResizeHandler = undefined;\n }\n };\n}\n\nexport { resizeWindow };\n"],"names":[],"mappings":";;;;AAAA,MAAM,kBAAkB,IAAI;AAC5B,IAAI;AACJ,SAAS;IACL,sBAAsB;QAClB,MAAM,OAAO;YACT,IAAI,SAAQ;gBACR,OAAO,OAAO,UAAU;YAC5B;YACA,IAAI,UAAS;gBACT,OAAO,OAAO,WAAW;YAC7B;QACJ;QACA,gBAAgB,OAAO,CAAC,CAAC,WAAa,SAAS;IACnD;IACA,OAAO,gBAAgB,CAAC,UAAU;AACtC;AACA,SAAS,aAAa,QAAQ;IAC1B,gBAAgB,GAAG,CAAC;IACpB,IAAI,CAAC,qBACD;IACJ,OAAO;QACH,gBAAgB,MAAM,CAAC;QACvB,IAAI,CAAC,gBAAgB,IAAI,IACrB,OAAO,wBAAwB,YAAY;YAC3C,OAAO,mBAAmB,CAAC,UAAU;YACrC,sBAAsB;QAC1B;IACJ;AACJ","ignoreList":[0]}}, - {"offset": {"line": 619, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/resize/index.mjs"],"sourcesContent":["import { resizeElement } from './handle-element.mjs';\nimport { resizeWindow } from './handle-window.mjs';\n\nfunction resize(a, b) {\n return typeof a === \"function\" ? resizeWindow(a) : resizeElement(a, b);\n}\n\nexport { resize };\n"],"names":[],"mappings":";;;;AAAA;AACA;;;AAEA,SAAS,OAAO,CAAC,EAAE,CAAC;IAChB,OAAO,OAAO,MAAM,aAAa,IAAA,6LAAY,EAAC,KAAK,IAAA,+LAAa,EAAC,GAAG;AACxE","ignoreList":[0]}}, - {"offset": {"line": 635, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/dom/scroll/info.mjs"],"sourcesContent":["import { progress, velocityPerSecond } from 'motion-utils';\n\n/**\n * A time in milliseconds, beyond which we consider the scroll velocity to be 0.\n */\nconst maxElapsed = 50;\nconst createAxisInfo = () => ({\n current: 0,\n offset: [],\n progress: 0,\n scrollLength: 0,\n targetOffset: 0,\n targetLength: 0,\n containerLength: 0,\n velocity: 0,\n});\nconst createScrollInfo = () => ({\n time: 0,\n x: createAxisInfo(),\n y: createAxisInfo(),\n});\nconst keys = {\n x: {\n length: \"Width\",\n position: \"Left\",\n },\n y: {\n length: \"Height\",\n position: \"Top\",\n },\n};\nfunction updateAxisInfo(element, axisName, info, time) {\n const axis = info[axisName];\n const { length, position } = keys[axisName];\n const prev = axis.current;\n const prevTime = info.time;\n axis.current = element[`scroll${position}`];\n axis.scrollLength = element[`scroll${length}`] - element[`client${length}`];\n axis.offset.length = 0;\n axis.offset[0] = 0;\n axis.offset[1] = axis.scrollLength;\n axis.progress = progress(0, axis.scrollLength, axis.current);\n const elapsed = time - prevTime;\n axis.velocity =\n elapsed > maxElapsed\n ? 0\n : velocityPerSecond(axis.current - prev, elapsed);\n}\nfunction updateScrollInfo(element, info, time) {\n updateAxisInfo(element, \"x\", info, time);\n updateAxisInfo(element, \"y\", info, time);\n info.time = time;\n}\n\nexport { createScrollInfo, updateScrollInfo };\n"],"names":[],"mappings":";;;;;;AAAA;AAAA;;AAEA;;CAEC,GACD,MAAM,aAAa;AACnB,MAAM,iBAAiB,IAAM,CAAC;QAC1B,SAAS;QACT,QAAQ,EAAE;QACV,UAAU;QACV,cAAc;QACd,cAAc;QACd,cAAc;QACd,iBAAiB;QACjB,UAAU;IACd,CAAC;AACD,MAAM,mBAAmB,IAAM,CAAC;QAC5B,MAAM;QACN,GAAG;QACH,GAAG;IACP,CAAC;AACD,MAAM,OAAO;IACT,GAAG;QACC,QAAQ;QACR,UAAU;IACd;IACA,GAAG;QACC,QAAQ;QACR,UAAU;IACd;AACJ;AACA,SAAS,eAAe,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI;IACjD,MAAM,OAAO,IAAI,CAAC,SAAS;IAC3B,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAC,SAAS;IAC3C,MAAM,OAAO,KAAK,OAAO;IACzB,MAAM,WAAW,KAAK,IAAI;IAC1B,KAAK,OAAO,GAAG,OAAO,CAAC,CAAC,MAAM,EAAE,UAAU,CAAC;IAC3C,KAAK,YAAY,GAAG,OAAO,CAAC,CAAC,MAAM,EAAE,QAAQ,CAAC,GAAG,OAAO,CAAC,CAAC,MAAM,EAAE,QAAQ,CAAC;IAC3E,KAAK,MAAM,CAAC,MAAM,GAAG;IACrB,KAAK,MAAM,CAAC,EAAE,GAAG;IACjB,KAAK,MAAM,CAAC,EAAE,GAAG,KAAK,YAAY;IAClC,KAAK,QAAQ,GAAG,IAAA,yKAAQ,EAAC,GAAG,KAAK,YAAY,EAAE,KAAK,OAAO;IAC3D,MAAM,UAAU,OAAO;IACvB,KAAK,QAAQ,GACT,UAAU,aACJ,IACA,IAAA,mMAAiB,EAAC,KAAK,OAAO,GAAG,MAAM;AACrD;AACA,SAAS,iBAAiB,OAAO,EAAE,IAAI,EAAE,IAAI;IACzC,eAAe,SAAS,KAAK,MAAM;IACnC,eAAe,SAAS,KAAK,MAAM;IACnC,KAAK,IAAI,GAAG;AAChB","ignoreList":[0]}}, - {"offset": {"line": 696, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/dom/scroll/offsets/inset.mjs"],"sourcesContent":["import { isHTMLElement } from 'motion-dom';\n\nfunction calcInset(element, container) {\n const inset = { x: 0, y: 0 };\n let current = element;\n while (current && current !== container) {\n if (isHTMLElement(current)) {\n inset.x += current.offsetLeft;\n inset.y += current.offsetTop;\n current = current.offsetParent;\n }\n else if (current.tagName === \"svg\") {\n /**\n * This isn't an ideal approach to measuring the offset of tags.\n * It would be preferable, given they behave like HTMLElements in most ways\n * to use offsetLeft/Top. But these don't exist on . Likewise we\n * can't use .getBBox() like most SVG elements as these provide the offset\n * relative to the SVG itself, which for is usually 0x0.\n */\n const svgBoundingBox = current.getBoundingClientRect();\n current = current.parentElement;\n const parentBoundingBox = current.getBoundingClientRect();\n inset.x += svgBoundingBox.left - parentBoundingBox.left;\n inset.y += svgBoundingBox.top - parentBoundingBox.top;\n }\n else if (current instanceof SVGGraphicsElement) {\n const { x, y } = current.getBBox();\n inset.x += x;\n inset.y += y;\n let svg = null;\n let parent = current.parentNode;\n while (!svg) {\n if (parent.tagName === \"svg\") {\n svg = parent;\n }\n parent = current.parentNode;\n }\n current = svg;\n }\n else {\n break;\n }\n }\n return inset;\n}\n\nexport { calcInset };\n"],"names":[],"mappings":";;;;AAAA;;AAEA,SAAS,UAAU,OAAO,EAAE,SAAS;IACjC,MAAM,QAAQ;QAAE,GAAG;QAAG,GAAG;IAAE;IAC3B,IAAI,UAAU;IACd,MAAO,WAAW,YAAY,UAAW;QACrC,IAAI,IAAA,kMAAa,EAAC,UAAU;YACxB,MAAM,CAAC,IAAI,QAAQ,UAAU;YAC7B,MAAM,CAAC,IAAI,QAAQ,SAAS;YAC5B,UAAU,QAAQ,YAAY;QAClC,OACK,IAAI,QAAQ,OAAO,KAAK,OAAO;YAChC;;;;;;aAMC,GACD,MAAM,iBAAiB,QAAQ,qBAAqB;YACpD,UAAU,QAAQ,aAAa;YAC/B,MAAM,oBAAoB,QAAQ,qBAAqB;YACvD,MAAM,CAAC,IAAI,eAAe,IAAI,GAAG,kBAAkB,IAAI;YACvD,MAAM,CAAC,IAAI,eAAe,GAAG,GAAG,kBAAkB,GAAG;QACzD,OACK,IAAI,mBAAmB,oBAAoB;YAC5C,MAAM,EAAE,CAAC,EAAE,CAAC,EAAE,GAAG,QAAQ,OAAO;YAChC,MAAM,CAAC,IAAI;YACX,MAAM,CAAC,IAAI;YACX,IAAI,MAAM;YACV,IAAI,SAAS,QAAQ,UAAU;YAC/B,MAAO,CAAC,IAAK;gBACT,IAAI,OAAO,OAAO,KAAK,OAAO;oBAC1B,MAAM;gBACV;gBACA,SAAS,QAAQ,UAAU;YAC/B;YACA,UAAU;QACd,OACK;YACD;QACJ;IACJ;IACA,OAAO;AACX","ignoreList":[0]}}, - {"offset": {"line": 749, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/dom/scroll/offsets/edge.mjs"],"sourcesContent":["const namedEdges = {\n start: 0,\n center: 0.5,\n end: 1,\n};\nfunction resolveEdge(edge, length, inset = 0) {\n let delta = 0;\n /**\n * If we have this edge defined as a preset, replace the definition\n * with the numerical value.\n */\n if (edge in namedEdges) {\n edge = namedEdges[edge];\n }\n /**\n * Handle unit values\n */\n if (typeof edge === \"string\") {\n const asNumber = parseFloat(edge);\n if (edge.endsWith(\"px\")) {\n delta = asNumber;\n }\n else if (edge.endsWith(\"%\")) {\n edge = asNumber / 100;\n }\n else if (edge.endsWith(\"vw\")) {\n delta = (asNumber / 100) * document.documentElement.clientWidth;\n }\n else if (edge.endsWith(\"vh\")) {\n delta = (asNumber / 100) * document.documentElement.clientHeight;\n }\n else {\n edge = asNumber;\n }\n }\n /**\n * If the edge is defined as a number, handle as a progress value.\n */\n if (typeof edge === \"number\") {\n delta = length * edge;\n }\n return inset + delta;\n}\n\nexport { namedEdges, resolveEdge };\n"],"names":[],"mappings":";;;;;;AAAA,MAAM,aAAa;IACf,OAAO;IACP,QAAQ;IACR,KAAK;AACT;AACA,SAAS,YAAY,IAAI,EAAE,MAAM,EAAE,QAAQ,CAAC;IACxC,IAAI,QAAQ;IACZ;;;KAGC,GACD,IAAI,QAAQ,YAAY;QACpB,OAAO,UAAU,CAAC,KAAK;IAC3B;IACA;;KAEC,GACD,IAAI,OAAO,SAAS,UAAU;QAC1B,MAAM,WAAW,WAAW;QAC5B,IAAI,KAAK,QAAQ,CAAC,OAAO;YACrB,QAAQ;QACZ,OACK,IAAI,KAAK,QAAQ,CAAC,MAAM;YACzB,OAAO,WAAW;QACtB,OACK,IAAI,KAAK,QAAQ,CAAC,OAAO;YAC1B,QAAQ,AAAC,WAAW,MAAO,SAAS,eAAe,CAAC,WAAW;QACnE,OACK,IAAI,KAAK,QAAQ,CAAC,OAAO;YAC1B,QAAQ,AAAC,WAAW,MAAO,SAAS,eAAe,CAAC,YAAY;QACpE,OACK;YACD,OAAO;QACX;IACJ;IACA;;KAEC,GACD,IAAI,OAAO,SAAS,UAAU;QAC1B,QAAQ,SAAS;IACrB;IACA,OAAO,QAAQ;AACnB","ignoreList":[0]}}, - {"offset": {"line": 796, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/dom/scroll/offsets/offset.mjs"],"sourcesContent":["import { resolveEdge, namedEdges } from './edge.mjs';\n\nconst defaultOffset = [0, 0];\nfunction resolveOffset(offset, containerLength, targetLength, targetInset) {\n let offsetDefinition = Array.isArray(offset) ? offset : defaultOffset;\n let targetPoint = 0;\n let containerPoint = 0;\n if (typeof offset === \"number\") {\n /**\n * If we're provided offset: [0, 0.5, 1] then each number x should become\n * [x, x], so we default to the behaviour of mapping 0 => 0 of both target\n * and container etc.\n */\n offsetDefinition = [offset, offset];\n }\n else if (typeof offset === \"string\") {\n offset = offset.trim();\n if (offset.includes(\" \")) {\n offsetDefinition = offset.split(\" \");\n }\n else {\n /**\n * If we're provided a definition like \"100px\" then we want to apply\n * that only to the top of the target point, leaving the container at 0.\n * Whereas a named offset like \"end\" should be applied to both.\n */\n offsetDefinition = [offset, namedEdges[offset] ? offset : `0`];\n }\n }\n targetPoint = resolveEdge(offsetDefinition[0], targetLength, targetInset);\n containerPoint = resolveEdge(offsetDefinition[1], containerLength);\n return targetPoint - containerPoint;\n}\n\nexport { resolveOffset };\n"],"names":[],"mappings":";;;;AAAA;;AAEA,MAAM,gBAAgB;IAAC;IAAG;CAAE;AAC5B,SAAS,cAAc,MAAM,EAAE,eAAe,EAAE,YAAY,EAAE,WAAW;IACrE,IAAI,mBAAmB,MAAM,OAAO,CAAC,UAAU,SAAS;IACxD,IAAI,cAAc;IAClB,IAAI,iBAAiB;IACrB,IAAI,OAAO,WAAW,UAAU;QAC5B;;;;SAIC,GACD,mBAAmB;YAAC;YAAQ;SAAO;IACvC,OACK,IAAI,OAAO,WAAW,UAAU;QACjC,SAAS,OAAO,IAAI;QACpB,IAAI,OAAO,QAAQ,CAAC,MAAM;YACtB,mBAAmB,OAAO,KAAK,CAAC;QACpC,OACK;YACD;;;;aAIC,GACD,mBAAmB;gBAAC;gBAAQ,8MAAU,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC,CAAC;aAAC;QAClE;IACJ;IACA,cAAc,IAAA,+MAAW,EAAC,gBAAgB,CAAC,EAAE,EAAE,cAAc;IAC7D,iBAAiB,IAAA,+MAAW,EAAC,gBAAgB,CAAC,EAAE,EAAE;IAClD,OAAO,cAAc;AACzB","ignoreList":[0]}}, - {"offset": {"line": 843, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/dom/scroll/offsets/presets.mjs"],"sourcesContent":["const ScrollOffset = {\n Enter: [\n [0, 1],\n [1, 1],\n ],\n Exit: [\n [0, 0],\n [1, 0],\n ],\n Any: [\n [1, 0],\n [0, 1],\n ],\n All: [\n [0, 0],\n [1, 1],\n ],\n};\n\nexport { ScrollOffset };\n"],"names":[],"mappings":";;;;AAAA,MAAM,eAAe;IACjB,OAAO;QACH;YAAC;YAAG;SAAE;QACN;YAAC;YAAG;SAAE;KACT;IACD,MAAM;QACF;YAAC;YAAG;SAAE;QACN;YAAC;YAAG;SAAE;KACT;IACD,KAAK;QACD;YAAC;YAAG;SAAE;QACN;YAAC;YAAG;SAAE;KACT;IACD,KAAK;QACD;YAAC;YAAG;SAAE;QACN;YAAC;YAAG;SAAE;KACT;AACL","ignoreList":[0]}}, - {"offset": {"line": 894, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/dom/scroll/offsets/index.mjs"],"sourcesContent":["import { interpolate, defaultOffset } from 'motion-dom';\nimport { clamp } from 'motion-utils';\nimport { calcInset } from './inset.mjs';\nimport { resolveOffset } from './offset.mjs';\nimport { ScrollOffset } from './presets.mjs';\n\nconst point = { x: 0, y: 0 };\nfunction getTargetSize(target) {\n return \"getBBox\" in target && target.tagName !== \"svg\"\n ? target.getBBox()\n : { width: target.clientWidth, height: target.clientHeight };\n}\nfunction resolveOffsets(container, info, options) {\n const { offset: offsetDefinition = ScrollOffset.All } = options;\n const { target = container, axis = \"y\" } = options;\n const lengthLabel = axis === \"y\" ? \"height\" : \"width\";\n const inset = target !== container ? calcInset(target, container) : point;\n /**\n * Measure the target and container. If they're the same thing then we\n * use the container's scrollWidth/Height as the target, from there\n * all other calculations can remain the same.\n */\n const targetSize = target === container\n ? { width: container.scrollWidth, height: container.scrollHeight }\n : getTargetSize(target);\n const containerSize = {\n width: container.clientWidth,\n height: container.clientHeight,\n };\n /**\n * Reset the length of the resolved offset array rather than creating a new one.\n * TODO: More reusable data structures for targetSize/containerSize would also be good.\n */\n info[axis].offset.length = 0;\n /**\n * Populate the offset array by resolving the user's offset definition into\n * a list of pixel scroll offets.\n */\n let hasChanged = !info[axis].interpolate;\n const numOffsets = offsetDefinition.length;\n for (let i = 0; i < numOffsets; i++) {\n const offset = resolveOffset(offsetDefinition[i], containerSize[lengthLabel], targetSize[lengthLabel], inset[axis]);\n if (!hasChanged && offset !== info[axis].interpolatorOffsets[i]) {\n hasChanged = true;\n }\n info[axis].offset[i] = offset;\n }\n /**\n * If the pixel scroll offsets have changed, create a new interpolator function\n * to map scroll value into a progress.\n */\n if (hasChanged) {\n info[axis].interpolate = interpolate(info[axis].offset, defaultOffset(offsetDefinition), { clamp: false });\n info[axis].interpolatorOffsets = [...info[axis].offset];\n }\n info[axis].progress = clamp(0, 1, info[axis].interpolate(info[axis].current));\n}\n\nexport { resolveOffsets };\n"],"names":[],"mappings":";;;;AAAA;AAAA;AACA;AACA;AACA;AACA;;;;;;AAEA,MAAM,QAAQ;IAAE,GAAG;IAAG,GAAG;AAAE;AAC3B,SAAS,cAAc,MAA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AA,gNAAa,EAAC,mBAAmB;YAAE,OAAO;QAAM;QACxG,IAAI,CAAC,KAAK,CAAC,mBAAmB,GAAG;eAAI,IAAI,CAAC,KAAK,CAAC,MAAM;SAAC;IAC3D;IACA,IAAI,CAAC,KAAK,CAAC,QAAQ,GAAG,IAAA,mKAAK,EAAC,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO;AAC/E","ignoreList":[0]}}, - {"offset": {"line": 970, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/dom/scroll/on-scroll-handler.mjs"],"sourcesContent":["import { warnOnce } from 'motion-utils';\nimport { updateScrollInfo } from './info.mjs';\nimport { resolveOffsets } from './offsets/index.mjs';\n\nfunction measure(container, target = container, info) {\n /**\n * Find inset of target within scrollable container\n */\n info.x.targetOffset = 0;\n info.y.targetOffset = 0;\n if (target !== container) {\n let node = target;\n while (node && node !== container) {\n info.x.targetOffset += node.offsetLeft;\n info.y.targetOffset += node.offsetTop;\n node = node.offsetParent;\n }\n }\n info.x.targetLength =\n target === container ? target.scrollWidth : target.clientWidth;\n info.y.targetLength =\n target === container ? target.scrollHeight : target.clientHeight;\n info.x.containerLength = container.clientWidth;\n info.y.containerLength = container.clientHeight;\n /**\n * In development mode ensure scroll containers aren't position: static as this makes\n * it difficult to measure their relative positions.\n */\n if (process.env.NODE_ENV !== \"production\") {\n if (container && target && target !== container) {\n warnOnce(getComputedStyle(container).position !== \"static\", \"Please ensure that the container has a non-static position, like 'relative', 'fixed', or 'absolute' to ensure scroll offset is calculated correctly.\");\n }\n }\n}\nfunction createOnScrollHandler(element, onScroll, info, options = {}) {\n return {\n measure: (time) => {\n measure(element, options.target, info);\n updateScrollInfo(element, info, time);\n if (options.offset || options.target) {\n resolveOffsets(element, info, options);\n }\n },\n notify: () => onScroll(info),\n };\n}\n\nexport { createOnScrollHandler };\n"],"names":[],"mappings":";;;;AA4BQ;AA5BR;AACA;AACA;;;;AAEA,SAAS,QAAQ,SAAS,EAAE,SAAS,SAAS,EAAE,IAAI;IAChD;;KAEC,GACD,KAAK,CAAC,CAAC,YAAY,GAAG;IACtB,KAAK,CAAC,CAAC,YAAY,GAAG;IACtB,IAAI,WAAW,WAAW;QACtB,IAAI,OAAO;QACX,MAAO,QAAQ,SAAS,UAAW;YAC/B,KAAK,CAAC,CAAC,YAAY,IAAI,KAAK,UAAU;YACtC,KAAK,CAAC,CAAC,YAAY,IAAI,KAAK,SAAS;YACrC,OAAO,KAAK,YAAY;QAC5B;IACJ;IACA,KAAK,CAAC,CAAC,YAAY,GACf,WAAW,YAAY,OAAO,WAAW,GAAG,OAAO,WAAW;IAClE,KAAK,CAAC,CAAC,YAAY,GACf,WAAW,YAAY,OAAO,YAAY,GAAG,OAAO,YAAY;IACpE,KAAK,CAAC,CAAC,eAAe,GAAG,UAAU,WAAW;IAC9C,KAAK,CAAC,CAAC,eAAe,GAAG,UAAU,YAAY;IAC/C;;;KAGC,GACD,wCAA2C;QACvC,IAAI,aAAa,UAAU,WAAW,WAAW;YAC7C,IAAA,6KAAQ,EAAC,iBAAiB,WAAW,QAAQ,KAAK,UAAU;QAChE;IACJ;AACJ;AACA,SAAS,sBAAsB,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,UAAU,CAAC,CAAC;IAChE,OAAO;QACH,SAAS,CAAC;YACN,QAAQ,SAAS,QAAQ,MAAM,EAAE;YACjC,IAAA,yMAAgB,EAAC,SAAS,MAAM;YAChC,IAAI,QAAQ,MAAM,IAAI,QAAQ,MAAM,EAAE;gBAClC,IAAA,mNAAc,EAAC,SAAS,MAAM;YAClC;QACJ;QACA,QAAQ,IAAM,SAAS;IAC3B;AACJ","ignoreList":[0]}}, - {"offset": {"line": 1024, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/dom/scroll/track.mjs"],"sourcesContent":["import { resize, frame, cancelFrame, frameData } from 'motion-dom';\nimport { noop } from 'motion-utils';\nimport { createScrollInfo } from './info.mjs';\nimport { createOnScrollHandler } from './on-scroll-handler.mjs';\n\nconst scrollListeners = new WeakMap();\nconst resizeListeners = new WeakMap();\nconst onScrollHandlers = new WeakMap();\nconst getEventTarget = (element) => element === document.scrollingElement ? window : element;\nfunction scrollInfo(onScroll, { container = document.scrollingElement, ...options } = {}) {\n if (!container)\n return noop;\n let containerHandlers = onScrollHandlers.get(container);\n /**\n * Get the onScroll handlers for this container.\n * If one isn't found, create a new one.\n */\n if (!containerHandlers) {\n containerHandlers = new Set();\n onScrollHandlers.set(container, containerHandlers);\n }\n /**\n * Create a new onScroll handler for the provided callback.\n */\n const info = createScrollInfo();\n const containerHandler = createOnScrollHandler(container, onScroll, info, options);\n containerHandlers.add(containerHandler);\n /**\n * Check if there's a scroll event listener for this container.\n * If not, create one.\n */\n if (!scrollListeners.has(container)) {\n const measureAll = () => {\n for (const handler of containerHandlers) {\n handler.measure(frameData.timestamp);\n }\n frame.preUpdate(notifyAll);\n };\n const notifyAll = () => {\n for (const handler of containerHandlers) {\n handler.notify();\n }\n };\n const listener = () => frame.read(measureAll);\n scrollListeners.set(container, listener);\n const target = getEventTarget(container);\n window.addEventListener(\"resize\", listener, { passive: true });\n if (container !== document.documentElement) {\n resizeListeners.set(container, resize(container, listener));\n }\n target.addEventListener(\"scroll\", listener, { passive: true });\n listener();\n }\n const listener = scrollListeners.get(container);\n frame.read(listener, false, true);\n return () => {\n cancelFrame(listener);\n /**\n * Check if we even have any handlers for this container.\n */\n const currentHandlers = onScrollHandlers.get(container);\n if (!currentHandlers)\n return;\n currentHandlers.delete(containerHandler);\n if (currentHandlers.size)\n return;\n /**\n * If no more handlers, remove the scroll listener too.\n */\n const scrollListener = scrollListeners.get(container);\n scrollListeners.delete(container);\n if (scrollListener) {\n getEventTarget(container).removeEventListener(\"scroll\", scrollListener);\n resizeListeners.get(container)?.();\n window.removeEventListener(\"resize\", scrollListener);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IACJ;IACA,MAAM,WAAW,gBAAgB,GAAG,CAAC;IACrC,8KAAK,CAAC,IAAI,CAAC,UAAU,OAAO;IAC5B,OAAO;QACH,IAAA,oLAAW,EAAC;QACZ;;SAEC,GACD,MAAM,kBAAkB,iBAAiB,GAAG,CAAC;QAC7C,IAAI,CAAC,iBACD;QACJ,gBAAgB,MAAM,CAAC;QACvB,IAAI,gBAAgB,IAAI,EACpB;QACJ;;SAEC,GACD,MAAM,iBAAiB,gBAAgB,GAAG,CAAC;QAC3C,gBAAgB,MAAM,CAAC;QACvB,IAAI,gBAAgB;YAChB,eAAe,WAAW,mBAAmB,CAAC,UAAU;YACxD,gBAAgB,GAAG,CAAC;YACpB,OAAO,mBAAmB,CAAC,UAAU;QACzC;IACJ;AACJ","ignoreList":[0]}}, - {"offset": {"line": 1111, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/dom/scroll/utils/get-timeline.mjs"],"sourcesContent":["import { supportsScrollTimeline } from 'motion-dom';\nimport { scrollInfo } from '../track.mjs';\n\nconst timelineCache = new Map();\nfunction scrollTimelineFallback(options) {\n const currentTime = { value: 0 };\n const cancel = scrollInfo((info) => {\n currentTime.value = info[options.axis].progress * 100;\n }, options);\n return { currentTime, cancel };\n}\nfunction getTimeline({ source, container, ...options }) {\n const { axis } = options;\n if (source)\n container = source;\n const containerCache = timelineCache.get(container) ?? new Map();\n timelineCache.set(container, containerCache);\n const targetKey = options.target ?? \"self\";\n const targetCache = containerCache.get(targetKey) ?? {};\n const axisKey = axis + (options.offset ?? []).join(\",\");\n if (!targetCache[axisKey]) {\n targetCache[axisKey] =\n !options.target && supportsScrollTimeline()\n ? new ScrollTimeline({ source: container, axis })\n : scrollTimelineFallback({ container, ...options });\n }\n return targetCache[axisKey];\n}\n\nexport { getTimeline };\n"],"names":[],"mappings":";;;;AAAA;AACA;;;AAEA,MAAM,gBAAgB,IAAI;AAC1B,SAAS,uBAAuB,OAAO;IACnC,MAAM,cAAc;QAAE,OAAO;IAAE;IAC/B,MAAM,SAAS,IAAA,oMAAU,EAAC,CAAC;QACvB,YAAY,KAAK,GAAG,IAAI,CAAC,QAAQ,IAAI,CAAC,CAAC,QAAQ,GAAG;IACtD,GAAG;IACH,OAAO;QAAE;QAAa;IAAO;AACjC;AACA,SAAS,YAAY,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,SAAS;IAClD,MAAM,EAAE,IAAI,EAAE,GAAG;IACjB,IAAI,QACA,YAAY;IAChB,MAAM,iBAAiB,cAAc,GAAG,CAAC,cAAc,IAAI;IAC3D,cAAc,GAAG,CAAC,WAAW;IAC7B,MAAM,YAAY,QAAQ,MAAM,IAAI;IACpC,MAAM,cAAc,eAAe,GAAG,CAAC,cAAc,CAAC;IACtD,MAAM,UAAU,OAAO,CAAC,QAAQ,MAAM,IAAI,EAAE,EAAE,IAAI,CAAC;IACnD,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE;QACvB,WAAW,CAAC,QAAQ,GAChB,CAAC,QAAQ,MAAM,IAAI,IAAA,oNAAsB,MACnC,IAAI,eAAe;YAAE,QAAQ;YAAW;QAAK,KAC7C,uBAAuB;YAAE;YAAW,GAAG,OAAO;QAAC;IAC7D;IACA,OAAO,WAAW,CAAC,QAAQ;AAC/B","ignoreList":[0]}}, - {"offset": {"line": 1156, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/dom/scroll/attach-animation.mjs"],"sourcesContent":["import { observeTimeline } from 'motion-dom';\nimport { getTimeline } from './utils/get-timeline.mjs';\n\nfunction attachToAnimation(animation, options) {\n const timeline = getTimeline(options);\n return animation.attachTimeline({\n timeline: options.target ? undefined : timeline,\n observe: (valueAnimation) => {\n valueAnimation.pause();\n return observeTimeline((progress) => {\n valueAnimation.time =\n valueAnimation.iterationDuration * progress;\n }, timeline);\n },\n });\n}\n\nexport { attachToAnimation };\n"],"names":[],"mappings":";;;;AAAA;AACA;;;AAEA,SAAS,kBAAkB,SAAS,EAAE,OAAO;IACzC,MAAM,WAAW,IAAA,wNAAW,EAAC;IAC7B,OAAO,UAAU,cAAc,CAAC;QAC5B,UAAU,QAAQ,MAAM,GAAG,YAAY;QACvC,SAAS,CAAC;YACN,eAAe,KAAK;YACpB,OAAO,IAAA,uLAAe,EAAC,CAAC;gBACpB,eAAe,IAAI,GACf,eAAe,iBAAiB,GAAG;YAC3C,GAAG;QACP;IACJ;AACJ","ignoreList":[0]}}, - {"offset": {"line": 1181, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/dom/scroll/attach-function.mjs"],"sourcesContent":["import { observeTimeline } from 'motion-dom';\nimport { scrollInfo } from './track.mjs';\nimport { getTimeline } from './utils/get-timeline.mjs';\n\n/**\n * If the onScroll function has two arguments, it's expecting\n * more specific information about the scroll from scrollInfo.\n */\nfunction isOnScrollWithInfo(onScroll) {\n return onScroll.length === 2;\n}\nfunction attachToFunction(onScroll, options) {\n if (isOnScrollWithInfo(onScroll)) {\n return scrollInfo((info) => {\n onScroll(info[options.axis].progress, info);\n }, options);\n }\n else {\n return observeTimeline(onScroll, getTimeline(options));\n }\n}\n\nexport { attachToFunction };\n"],"names":[],"mappings":";;;;AAAA;AACA;AACA;;;;AAEA;;;CAGC,GACD,SAAS,mBAAmB,QAAQ;IAChC,OAAO,SAAS,MAAM,KAAK;AAC/B;AACA,SAAS,iBAAiB,QAAQ,EAAE,OAAO;IACvC,IAAI,mBAAmB,WAAW;QAC9B,OAAO,IAAA,oMAAU,EAAC,CAAC;YACf,SAAS,IAAI,CAAC,QAAQ,IAAI,CAAC,CAAC,QAAQ,EAAE;QAC1C,GAAG;IACP,OACK;QACD,OAAO,IAAA,uLAAe,EAAC,UAAU,IAAA,wNAAW,EAAC;IACjD;AACJ","ignoreList":[0]}}, - {"offset": {"line": 1211, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/dom/scroll/index.mjs"],"sourcesContent":["import { noop } from 'motion-utils';\nimport { attachToAnimation } from './attach-animation.mjs';\nimport { attachToFunction } from './attach-function.mjs';\n\nfunction scroll(onScroll, { axis = \"y\", container = document.scrollingElement, ...options } = {}) {\n if (!container)\n return noop;\n const optionsWithDefaults = { axis, container, ...options };\n return typeof onScroll === \"function\"\n ? attachToFunction(onScroll, optionsWithDefaults)\n : attachToAnimation(onScroll, optionsWithDefaults);\n}\n\nexport { scroll };\n"],"names":[],"mappings":";;;;AAAA;AACA;AACA;;;;AAEA,SAAS,OAAO,QAAQ,EAAE,EAAE,OAAO,GAAG,EAAE,YAAY,SAAS,gBAAgB,EAAE,GAAG,SAAS,GAAG,CAAC,CAAC;IAC5F,IAAI,CAAC,WACD,OAAO,iKAAI;IACf,MAAM,sBAAsB;QAAE;QAAM;QAAW,GAAG,OAAO;IAAC;IAC1D,OAAO,OAAO,aAAa,aACrB,IAAA,uNAAgB,EAAC,UAAU,uBAC3B,IAAA,yNAAiB,EAAC,UAAU;AACtC","ignoreList":[0]}}, - {"offset": {"line": 1235, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/value/use-scroll.mjs"],"sourcesContent":["\"use client\";\nimport { motionValue } from 'motion-dom';\nimport { invariant } from 'motion-utils';\nimport { useRef, useCallback, useEffect } from 'react';\nimport { scroll } from '../render/dom/scroll/index.mjs';\nimport { useConstant } from '../utils/use-constant.mjs';\nimport { useIsomorphicLayoutEffect } from '../utils/use-isomorphic-effect.mjs';\n\nconst createScrollMotionValues = () => ({\n scrollX: motionValue(0),\n scrollY: motionValue(0),\n scrollXProgress: motionValue(0),\n scrollYProgress: motionValue(0),\n});\nconst isRefPending = (ref) => {\n if (!ref)\n return false;\n return !ref.current;\n};\nfunction useScroll({ container, target, ...options } = {}) {\n const values = useConstant(createScrollMotionValues);\n const scrollAnimation = useRef(null);\n const needsStart = useRef(false);\n const start = useCallback(() => {\n scrollAnimation.current = scroll((_progress, { x, y, }) => {\n values.scrollX.set(x.current);\n values.scrollXProgress.set(x.progress);\n values.scrollY.set(y.current);\n values.scrollYProgress.set(y.progress);\n }, {\n ...options,\n container: container?.current || undefined,\n target: target?.current || undefined,\n });\n return () => {\n scrollAnimation.current?.();\n };\n }, [container, target, JSON.stringify(options.offset)]);\n useIsomorphicLayoutEffect(() => {\n needsStart.current = false;\n if (isRefPending(container) || isRefPending(target)) {\n needsStart.current = true;\n return;\n }\n else {\n return start();\n }\n }, [start]);\n useEffect(() => {\n if (needsStart.current) {\n invariant(!isRefPending(container), \"Container ref is defined but not hydrated\", \"use-scroll-ref\");\n invariant(!isRefPending(target), \"Target ref is defined but not hydrated\", \"use-scroll-ref\");\n return start();\n }\n else {\n return;\n }\n }, [start]);\n return values;\n}\n\nexport { useScroll };\n"],"names":[],"mappings":";;;;AACA;AACA;AACA;AACA;AACA;AACA;AANA;;;;;;;AAQA,MAAM,2BAA2B,IAAM,CAAC;QACpC,SAAS,IAAA,gLAAW,EAAC;QACrB,SAAS,IAAA,gLAAW,EAAC;QACrB,iBAAiB,IAAA,gLAAW,EAAC;QAC7B,iBAAiB,IAAA,gLAAW,EAAC;IACjC,CAAC;AACD,MAAM,eAAe,CAAC;IAClB,IAAI,CAAC,KACD,OAAO;IACX,OAAO,CAAC,IAAI,OAAO;AACvB;AACA,SAAS,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,SAAS,GAAG,CAAC,CAAC;IACrD,MAAM,SAAS,IAAA,6LAAW,EAAC;IAC3B,MAAM,kBAAkB,IAAA,uKAAM,EAAC;IAC/B,MAAM,aAAa,IAAA,uKAAM,EAAC;IAC1B,MAAM,QAAQ,IAAA,4KAAW;wCAAC;YACtB,gBAAgB,OAAO,GAAG,IAAA,gMAAM;gDAAC,CAAC,WAAW,EAAE,CAAC,EAAE,CAAC,EAAG;oBAClD,OAAO,OAAO,CAAC,GAAG,CAAC,EAAE,OAAO;oBAC5B,OAAO,eAAe,CAAC,GAAG,CAAC,EAAE,QAAQ;oBACrC,OAAO,OAAO,CAAC,GAAG,CAAC,EAAE,OAAO;oBAC5B,OAAO,eAAe,CAAC,GAAG,CAAC,EAAE,QAAQ;gBACzC;+CAAG;gBACC,GAAG,OAAO;gBACV,WAAW,WAAW,WAAW;gBACjC,QAAQ,QAAQ,WAAW;YAC/B;YACA;gDAAO;oBACH,gBAAgB,OAAO;gBAC3B;;QACJ;uCAAG;QAAC;QAAW;QAAQ,KAAK,SAAS,CAAC,QAAQ,MAAM;KAAE;IACtD,IAAA,uNAAyB;+CAAC;YACtB,WAAW,OAAO,GAAG;YACrB,IAAI,aAAa,cAAc,aAAa,SAAS;gBACjD,WAAW,OAAO,GAAG;gBACrB;YACJ,OACK;gBACD,OAAO;YACX;QACJ;8CAAG;QAAC;KAAM;IACV,IAAA,0KAAS;+BAAC;YACN,IAAI,WAAW,OAAO,EAAE;gBACpB,IAAA,wKAAS,EAAC,CAAC,aAAa,YAAY,6CAA6C;gBACjF,IAAA,wKAAS,EAAC,CAAC,aAAa,SAAS,0CAA0C;gBAC3E,OAAO;YACX,OACK;gBACD;YACJ;QACJ;8BAAG;QAAC;KAAM;IACV,OAAO;AACX","ignoreList":[0]}}, - {"offset": {"line": 1324, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/value/spring-value.mjs"],"sourcesContent":["import { motionValue } from './index.mjs';\nimport { JSAnimation } from '../animation/JSAnimation.mjs';\nimport { isMotionValue } from './utils/is-motion-value.mjs';\nimport { frame } from '../frameloop/frame.mjs';\n\n/**\n * Create a `MotionValue` that animates to its latest value using a spring.\n * Can either be a value or track another `MotionValue`.\n *\n * ```jsx\n * const x = motionValue(0)\n * const y = transformValue(() => x.get() * 2) // double x\n * ```\n *\n * @param transformer - A transform function. This function must be pure with no side-effects or conditional statements.\n * @returns `MotionValue`\n *\n * @public\n */\nfunction springValue(source, options) {\n const initialValue = isMotionValue(source) ? source.get() : source;\n const value = motionValue(initialValue);\n attachSpring(value, source, options);\n return value;\n}\nfunction attachSpring(value, source, options) {\n const initialValue = value.get();\n let activeAnimation = null;\n let latestValue = initialValue;\n let latestSetter;\n const unit = typeof initialValue === \"string\"\n ? initialValue.replace(/[\\d.-]/g, \"\")\n : undefined;\n const stopAnimation = () => {\n if (activeAnimation) {\n activeAnimation.stop();\n activeAnimation = null;\n }\n };\n const startAnimation = () => {\n stopAnimation();\n activeAnimation = new JSAnimation({\n keyframes: [asNumber(value.get()), asNumber(latestValue)],\n velocity: value.getVelocity(),\n type: \"spring\",\n restDelta: 0.001,\n restSpeed: 0.01,\n ...options,\n onUpdate: latestSetter,\n });\n };\n value.attach((v, set) => {\n latestValue = v;\n latestSetter = (latest) => set(parseValue(latest, unit));\n frame.postRender(startAnimation);\n }, stopAnimation);\n if (isMotionValue(source)) {\n const removeSourceOnChange = source.on(\"change\", (v) => value.set(parseValue(v, unit)));\n const removeValueOnDestroy = value.on(\"destroy\", removeSourceOnChange);\n return () => {\n removeSourceOnChange();\n removeValueOnDestroy();\n };\n }\n return stopAnimation;\n}\nfunction parseValue(v, unit) {\n return unit ? v + unit : v;\n}\nfunction asNumber(v) {\n return typeof v === \"number\" ? v : parseFloat(v);\n}\n\nexport { attachSpring, springValue };\n"],"names":[],"mappings":";;;;;;AAAA;AACA;AACA;AACA;;;;;AAEA;;;;;;;;;;;;;CAaC,GACD,SAAS,YAAY,MAAM,EAAE,OAAO;IAChC,MAAM,eAAe,IAAA,2MAAa,EAAC,UAAU,OAAO,GAAG,KAAK;IAC5D,MAAM,QAAQ,IAAA,gLAAW,EAAC;IAC1B,aAAa,OAAO,QAAQ;IAC5B,OAAO;AACX;AACA,SAAS,aAAa,KAAK,EAAE,MAAM,EAAE,OAAO;IACxC,MAAM,eAAe,MAAM,GAAG;IAC9B,IAAI,kBAAkB;IACtB,IAAI,cAAc;IAClB,IAAI;IACJ,MAAM,OAAO,OAAO,iBAAiB,WAC/B,aAAa,OAAO,CAAC,WAAW,MAChC;IACN,MAAM,gBAAgB;QAClB,IAAI,iBAAiB;YACjB,gBAAgB,IAAI;YACpB,kBAAkB;QACtB;IACJ;IACA,MAAM,iBAAiB;QACnB;QACA,kBAAkB,IAAI,0LAAW,CAAC;YAC9B,WAAW;gBAAC,SAAS,MAAM,GAAG;gBAAK,SAAS;aAAa;YACzD,UAAU,MAAM,WAAW;YAC3B,MAAM;YACN,WAAW;YACX,WAAW;YACX,GAAG,OAAO;YACV,UAAU;QACd;IACJ;IACA,MAAM,MAAM,CAAC,CAAC,GAAG;QACb,cAAc;QACd,eAAe,CAAC,SAAW,IAAI,WAAW,QAAQ;QAClD,8KAAK,CAAC,UAAU,CAAC;IACrB,GAAG;IACH,IAAI,IAAA,2MAAa,EAAC,SAAS;QACvB,MAAM,uBAAuB,OAAO,EAAE,CAAC,UAAU,CAAC,IAAM,MAAM,GAAG,CAAC,WAAW,GAAG;QAChF,MAAM,uBAAuB,MAAM,EAAE,CAAC,WAAW;QACjD,OAAO;YACH;YACA;QACJ;IACJ;IACA,OAAO;AACX;AACA,SAAS,WAAW,CAAC,EAAE,IAAI;IACvB,OAAO,OAAO,IAAI,OAAO;AAC7B;AACA,SAAS,SAAS,CAAC;IACf,OAAO,OAAO,MAAM,WAAW,IAAI,WAAW;AAClD","ignoreList":[0]}}, - {"offset": {"line": 1410, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/utils/transform.mjs"],"sourcesContent":["import { interpolate } from './interpolate.mjs';\n\nfunction transform(...args) {\n const useImmediate = !Array.isArray(args[0]);\n const argOffset = useImmediate ? 0 : -1;\n const inputValue = args[0 + argOffset];\n const inputRange = args[1 + argOffset];\n const outputRange = args[2 + argOffset];\n const options = args[3 + argOffset];\n const interpolator = interpolate(inputRange, outputRange, options);\n return useImmediate ? interpolator(inputValue) : interpolator;\n}\n\nexport { transform };\n"],"names":[],"mappings":";;;;AAAA;;AAEA,SAAS,UAAU,GAAG,IAAI;IACtB,MAAM,eAAe,CAAC,MAAM,OAAO,CAAC,IAAI,CAAC,EAAE;IAC3C,MAAM,YAAY,eAAe,IAAI,CAAC;IACtC,MAAM,aAAa,IAAI,CAAC,IAAI,UAAU;IACtC,MAAM,aAAa,IAAI,CAAC,IAAI,UAAU;IACtC,MAAM,cAAc,IAAI,CAAC,IAAI,UAAU;IACvC,MAAM,UAAU,IAAI,CAAC,IAAI,UAAU;IACnC,MAAM,eAAe,IAAA,sLAAW,EAAC,YAAY,aAAa;IAC1D,OAAO,eAAe,aAAa,cAAc;AACrD","ignoreList":[0]}}, - {"offset": {"line": 1431, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/value/use-combine-values.mjs"],"sourcesContent":["\"use client\";\nimport { cancelFrame, frame } from 'motion-dom';\nimport { useIsomorphicLayoutEffect } from '../utils/use-isomorphic-effect.mjs';\nimport { useMotionValue } from './use-motion-value.mjs';\n\nfunction useCombineMotionValues(values, combineValues) {\n /**\n * Initialise the returned motion value. This remains the same between renders.\n */\n const value = useMotionValue(combineValues());\n /**\n * Create a function that will update the template motion value with the latest values.\n * This is pre-bound so whenever a motion value updates it can schedule its\n * execution in Framesync. If it's already been scheduled it won't be fired twice\n * in a single frame.\n */\n const updateValue = () => value.set(combineValues());\n /**\n * Synchronously update the motion value with the latest values during the render.\n * This ensures that within a React render, the styles applied to the DOM are up-to-date.\n */\n updateValue();\n /**\n * Subscribe to all motion values found within the template. Whenever any of them change,\n * schedule an update.\n */\n useIsomorphicLayoutEffect(() => {\n const scheduleUpdate = () => frame.preRender(updateValue, false, true);\n const subscriptions = values.map((v) => v.on(\"change\", scheduleUpdate));\n return () => {\n subscriptions.forEach((unsubscribe) => unsubscribe());\n cancelFrame(updateValue);\n };\n });\n return value;\n}\n\nexport { useCombineMotionValues };\n"],"names":[],"mappings":";;;;AACA;AACA;AACA;AAHA;;;;AAKA,SAAS,uBAAuB,MAAM,EAAE,aAAa;IACjD;;KAEC,GACD,MAAM,QAAQ,IAAA,uMAAc,EAAC;IAC7B;;;;;KAKC,GACD,MAAM,cAAc,IAAM,MAAM,GAAG,CAAC;IACpC;;;KAGC,GACD;IACA;;;KAGC,GACD,IAAA,uNAAyB;4DAAC;YACtB,MAAM;mFAAiB,IAAM,8KAAK,CAAC,SAAS,CAAC,aAAa,OAAO;;YACjE,MAAM,gBAAgB,OAAO,GAAG;kFAAC,CAAC,IAAM,EAAE,EAAE,CAAC,UAAU;;YACvD;oEAAO;oBACH,cAAc,OAAO;4EAAC,CAAC,cAAgB;;oBACvC,IAAA,oLAAW,EAAC;gBAChB;;QACJ;;IACA,OAAO;AACX","ignoreList":[0]}}, - {"offset": {"line": 1484, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/value/use-computed.mjs"],"sourcesContent":["\"use client\";\nimport { collectMotionValues } from 'motion-dom';\nimport { useCombineMotionValues } from './use-combine-values.mjs';\n\nfunction useComputed(compute) {\n /**\n * Open session of collectMotionValues. Any MotionValue that calls get()\n * will be saved into this array.\n */\n collectMotionValues.current = [];\n compute();\n const value = useCombineMotionValues(collectMotionValues.current, compute);\n /**\n * Synchronously close session of collectMotionValues.\n */\n collectMotionValues.current = undefined;\n return value;\n}\n\nexport { useComputed };\n"],"names":[],"mappings":";;;;AACA;AACA;AAFA;;;AAIA,SAAS,YAAY,OAAO;IACxB;;;KAGC,GACD,wLAAmB,CAAC,OAAO,GAAG,EAAE;IAChC;IACA,MAAM,QAAQ,IAAA,iNAAsB,EAAC,wLAAmB,CAAC,OAAO,EAAE;IAClE;;KAEC,GACD,wLAAmB,CAAC,OAAO,GAAG;IAC9B,OAAO;AACX","ignoreList":[0]}}, - {"offset": {"line": 1510, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/value/use-transform.mjs"],"sourcesContent":["\"use client\";\nimport { transform } from 'motion-dom';\nimport { useConstant } from '../utils/use-constant.mjs';\nimport { useCombineMotionValues } from './use-combine-values.mjs';\nimport { useComputed } from './use-computed.mjs';\n\nfunction useTransform(input, inputRangeOrTransformer, outputRange, options) {\n if (typeof input === \"function\") {\n return useComputed(input);\n }\n const transformer = typeof inputRangeOrTransformer === \"function\"\n ? inputRangeOrTransformer\n : transform(inputRangeOrTransformer, outputRange, options);\n return Array.isArray(input)\n ? useListTransform(input, transformer)\n : useListTransform([input], ([latest]) => transformer(latest));\n}\nfunction useListTransform(values, transformer) {\n const latest = useConstant(() => []);\n return useCombineMotionValues(values, () => {\n latest.length = 0;\n const numValues = values.length;\n for (let i = 0; i < numValues; i++) {\n latest[i] = values[i].get();\n }\n return transformer(latest);\n });\n}\n\nexport { useTransform };\n"],"names":[],"mappings":";;;;AACA;AACA;AACA;AACA;AAJA;;;;;AAMA,SAAS,aAAa,KAAK,EAAE,uBAAuB,EAAE,WAAW,EAAE,OAAO;IACtE,IAAI,OAAO,UAAU,YAAY;QAC7B,OAAO,IAAA,6LAAW,EAAC;IACvB;IACA,MAAM,cAAc,OAAO,4BAA4B,aACjD,0BACA,IAAA,kLAAS,EAAC,yBAAyB,aAAa;IACtD,OAAO,MAAM,OAAO,CAAC,SACf,iBAAiB,OAAO,eACxB,iBAAiB;QAAC;KAAM;yCAAE,CAAC,CAAC,OAAO,GAAK,YAAY;;AAC9D;AACA,SAAS,iBAAiB,MAAM,EAAE,WAAW;IACzC,MAAM,SAAS,IAAA,6LAAW;gDAAC,IAAM,EAAE;;IACnC,OAAO,IAAA,iNAAsB,EAAC;mDAAQ;YAClC,OAAO,MAAM,GAAG;YAChB,MAAM,YAAY,OAAO,MAAM;YAC/B,IAAK,IAAI,IAAI,GAAG,IAAI,WAAW,IAAK;gBAChC,MAAM,CAAC,EAAE,GAAG,MAAM,CAAC,EAAE,CAAC,GAAG;YAC7B;YACA,OAAO,YAAY;QACvB;;AACJ","ignoreList":[0]}}, - {"offset": {"line": 1554, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/value/use-spring.mjs"],"sourcesContent":["\"use client\";\nimport { attachSpring, isMotionValue } from 'motion-dom';\nimport { useContext, useInsertionEffect } from 'react';\nimport { MotionConfigContext } from '../context/MotionConfigContext.mjs';\nimport { useMotionValue } from './use-motion-value.mjs';\nimport { useTransform } from './use-transform.mjs';\n\nfunction useSpring(source, options = {}) {\n const { isStatic } = useContext(MotionConfigContext);\n const getFromSource = () => (isMotionValue(source) ? source.get() : source);\n // isStatic will never change, allowing early hooks return\n if (isStatic) {\n return useTransform(getFromSource);\n }\n const value = useMotionValue(getFromSource());\n useInsertionEffect(() => {\n return attachSpring(value, source, options);\n }, [value, JSON.stringify(options)]);\n return value;\n}\n\nexport { useSpring };\n"],"names":[],"mappings":";;;;AACA;AAAA;AACA;AACA;AACA;AACA;AALA;;;;;;AAOA,SAAS,UAAU,MAAM,EAAE,UAAU,CAAC,CAAC;IACnC,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAA,2KAAU,EAAC,2MAAmB;IACnD,MAAM,gBAAgB,IAAO,IAAA,2MAAa,EAAC,UAAU,OAAO,GAAG,KAAK;IACpE,0DAA0D;IAC1D,IAAI,UAAU;QACV,OAAO,IAAA,+LAAY,EAAC;IACxB;IACA,MAAM,QAAQ,IAAA,uMAAc,EAAC;IAC7B,IAAA,mLAAkB;wCAAC;YACf,OAAO,IAAA,2LAAY,EAAC,OAAO,QAAQ;QACvC;uCAAG;QAAC;QAAO,KAAK,SAAS,CAAC;KAAS;IACnC,OAAO;AACX","ignoreList":[0]}}, - {"offset": {"line": 1593, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/utils/use-motion-value-event.mjs"],"sourcesContent":["\"use client\";\nimport { useInsertionEffect } from 'react';\n\nfunction useMotionValueEvent(value, event, callback) {\n /**\n * useInsertionEffect will create subscriptions before any other\n * effects will run. Effects run upwards through the tree so it\n * can be that binding a useLayoutEffect higher up the tree can\n * miss changes from lower down the tree.\n */\n useInsertionEffect(() => value.on(event, callback), [value, event, callback]);\n}\n\nexport { useMotionValueEvent };\n"],"names":[],"mappings":";;;;AACA;AADA;;AAGA,SAAS,oBAAoB,KAAK,EAAE,KAAK,EAAE,QAAQ;IAC/C;;;;;KAKC,GACD,IAAA,mLAAkB;kDAAC,IAAM,MAAM,EAAE,CAAC,OAAO;iDAAW;QAAC;QAAO;QAAO;KAAS;AAChF","ignoreList":[0]}}, - {"offset": {"line": 1619, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/value/use-velocity.mjs"],"sourcesContent":["\"use client\";\nimport { frame } from 'motion-dom';\nimport { useMotionValueEvent } from '../utils/use-motion-value-event.mjs';\nimport { useMotionValue } from './use-motion-value.mjs';\n\n/**\n * Creates a `MotionValue` that updates when the velocity of the provided `MotionValue` changes.\n *\n * ```javascript\n * const x = useMotionValue(0)\n * const xVelocity = useVelocity(x)\n * const xAcceleration = useVelocity(xVelocity)\n * ```\n *\n * @public\n */\nfunction useVelocity(value) {\n const velocity = useMotionValue(value.getVelocity());\n const updateVelocity = () => {\n const latest = value.getVelocity();\n velocity.set(latest);\n /**\n * If we still have velocity, schedule an update for the next frame\n * to keep checking until it is zero.\n */\n if (latest)\n frame.update(updateVelocity);\n };\n useMotionValueEvent(value, \"change\", () => {\n // Schedule an update to this value at the end of the current frame.\n frame.update(updateVelocity, false, true);\n });\n return velocity;\n}\n\nexport { useVelocity };\n"],"names":[],"mappings":";;;;AACA;AACA;AACA;AAHA;;;;AAKA;;;;;;;;;;CAUC,GACD,SAAS,YAAY,KAAK;IACtB,MAAM,WAAW,IAAA,uMAAc,EAAC,MAAM,WAAW;IACjD,MAAM,iBAAiB;QACnB,MAAM,SAAS,MAAM,WAAW;QAChC,SAAS,GAAG,CAAC;QACb;;;SAGC,GACD,IAAI,QACA,8KAAK,CAAC,MAAM,CAAC;IACrB;IACA,IAAA,qNAAmB,EAAC,OAAO;2CAAU;YACjC,oEAAoE;YACpE,8KAAK,CAAC,MAAM,CAAC,gBAAgB,OAAO;QACxC;;IACA,OAAO;AACX","ignoreList":[0]}}] -} \ No newline at end of file diff --git a/.next/dev/static/chunks/_bf213110._.js b/.next/dev/static/chunks/_bf213110._.js deleted file mode 100644 index ead23a2..0000000 --- a/.next/dev/static/chunks/_bf213110._.js +++ /dev/null @@ -1,713 +0,0 @@ -(globalThis.TURBOPACK || (globalThis.TURBOPACK = [])).push([typeof document === "object" ? document.currentScript : undefined, -"[project]/src/components/ui/navbar.tsx [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "default", - ()=>__TURBOPACK__default__export__ -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/jsx-dev-runtime.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$tabler$2f$icons$2d$react$2f$dist$2f$esm$2f$icons$2f$IconBrandGithub$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__IconBrandGithub$3e$__ = __turbopack_context__.i("[project]/node_modules/@tabler/icons-react/dist/esm/icons/IconBrandGithub.mjs [app-client] (ecmascript) "); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$tabler$2f$icons$2d$react$2f$dist$2f$esm$2f$icons$2f$IconSun$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__IconSun$3e$__ = __turbopack_context__.i("[project]/node_modules/@tabler/icons-react/dist/esm/icons/IconSun.mjs [app-client] (ecmascript) "); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$components$2f$AnimatePresence$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$components$2f$motion$2f$proxy$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/components/motion/proxy.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2d$themes$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next-themes/dist/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$client$2f$app$2d$dir$2f$link$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/client/app-dir/link.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -; -var _s = __turbopack_context__.k.signature(), _s1 = __turbopack_context__.k.signature(); -"use client"; -; -; -; -; -; -// Theme Toggle Component -const ThemeToggle = ()=>{ - _s(); - const { theme, setTheme, resolvedTheme } = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2d$themes$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useTheme"])(); - const [mounted, setMounted] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"])(false); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useEffect"])({ - "ThemeToggle.useEffect": ()=>{ - setMounted(true); - } - }["ThemeToggle.useEffect"], []); - if (!mounted) { - return null; - } - return /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { - onClick: ()=>setTheme(resolvedTheme === "light" ? "dark" : "light"), - className: "flex items-center justify-center w-9 h-9 rounded-full hover:bg-black/5 transition-colors text-foreground/70 hover:text-foreground", - "aria-label": "Toggle theme", - children: ("TURBOPACK compile-time truthy", 1) ? /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$tabler$2f$icons$2d$react$2f$dist$2f$esm$2f$icons$2f$IconSun$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__IconSun$3e$__["IconSun"], { - className: "w-5 h-5" - }, void 0, false, { - fileName: "[project]/src/components/ui/navbar.tsx", - lineNumber: 34, - columnNumber: 21 - }, ("TURBOPACK compile-time value", void 0)) : /*#__PURE__*/ "TURBOPACK unreachable" - }, void 0, false, { - fileName: "[project]/src/components/ui/navbar.tsx", - lineNumber: 29, - columnNumber: 9 - }, ("TURBOPACK compile-time value", void 0)); -}; -_s(ThemeToggle, "OPO4/Bwn/B3wErFIC5J6lGmQcgg=", false, function() { - return [ - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2d$themes$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useTheme"] - ]; -}); -_c = ThemeToggle; -function Navbar() { - _s1(); - const texts = [ - "beta", - "0.0.1" - ]; - const [index, setIndex] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"])(0); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useEffect"])({ - "Navbar.useEffect": ()=>{ - const interval = setInterval({ - "Navbar.useEffect.interval": ()=>{ - setIndex({ - "Navbar.useEffect.interval": (prev)=>(prev + 1) % texts.length - }["Navbar.useEffect.interval"]); - } - }["Navbar.useEffect.interval"], 3000); - return ({ - "Navbar.useEffect": ()=>{ - clearInterval(interval); - } - })["Navbar.useEffect"]; - } - }["Navbar.useEffect"], []); - return /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { - className: "p-2", - children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { - className: " max-w-2xl md:max-w-5xl mx-auto py-2 flex items-center justify-between ", - children: [ - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { - className: "flex gap-4 items-center ", - children: [ - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$client$2f$app$2d$dir$2f$link$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"], { - href: "/", - children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("h1", { - className: "text-2xl font-bold", - children: "SolUI" - }, void 0, false, { - fileName: "[project]/src/components/ui/navbar.tsx", - lineNumber: 63, - columnNumber: 25 - }, this) - }, void 0, false, { - fileName: "[project]/src/components/ui/navbar.tsx", - lineNumber: 62, - columnNumber: 21 - }, this), - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { - className: "border rounded-md bg-black/5 px-2 dark:border-neutral-300 relative overflow-hidden", - children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { - className: "relative", - children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$components$2f$AnimatePresence$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["AnimatePresence"], { - mode: "wait", - children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$components$2f$motion$2f$proxy$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["motion"].span, { - initial: { - y: "100%", - opacity: 0 - }, - animate: { - y: "0%", - opacity: 1 - }, - exit: { - y: "-100%", - opacity: 0 - }, - transition: { - duration: 0.5, - ease: "easeInOut" - }, - className: "relative h-full flex items-center justify-center text-center w-10", - children: texts[index] - }, texts[index], false, { - fileName: "[project]/src/components/ui/navbar.tsx", - lineNumber: 68, - columnNumber: 29 - }, this) - }, void 0, false, { - fileName: "[project]/src/components/ui/navbar.tsx", - lineNumber: 67, - columnNumber: 26 - }, this) - }, void 0, false, { - fileName: "[project]/src/components/ui/navbar.tsx", - lineNumber: 66, - columnNumber: 25 - }, this) - }, void 0, false, { - fileName: "[project]/src/components/ui/navbar.tsx", - lineNumber: 65, - columnNumber: 21 - }, this) - ] - }, void 0, true, { - fileName: "[project]/src/components/ui/navbar.tsx", - lineNumber: 60, - columnNumber: 17 - }, this), - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { - className: "flex lg:mx-20 gap-4 items-center", - children: [ - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("ul", { - children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$client$2f$app$2d$dir$2f$link$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"], { - href: "/docs/introduction", - children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("li", { - children: "docs" - }, void 0, false, { - fileName: "[project]/src/components/ui/navbar.tsx", - lineNumber: 88, - columnNumber: 29 - }, this) - }, void 0, false, { - fileName: "[project]/src/components/ui/navbar.tsx", - lineNumber: 87, - columnNumber: 25 - }, this) - }, void 0, false, { - fileName: "[project]/src/components/ui/navbar.tsx", - lineNumber: 86, - columnNumber: 21 - }, this), - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { - className: "flex items-center justify-center w-9 h-9 rounded-full hover:bg-black/5 transition-colors text-foreground/70 hover:text-foreground", - children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$client$2f$app$2d$dir$2f$link$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"], { - href: "https://github.com/satish-solera/sol-ui", - children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$tabler$2f$icons$2d$react$2f$dist$2f$esm$2f$icons$2f$IconBrandGithub$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__IconBrandGithub$3e$__["IconBrandGithub"], { - size: 18 - }, void 0, false, { - fileName: "[project]/src/components/ui/navbar.tsx", - lineNumber: 95, - columnNumber: 25 - }, this) - }, void 0, false, { - fileName: "[project]/src/components/ui/navbar.tsx", - lineNumber: 94, - columnNumber: 24 - }, this) - }, void 0, false, { - fileName: "[project]/src/components/ui/navbar.tsx", - lineNumber: 93, - columnNumber: 21 - }, this), - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("h1", { - children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(ThemeToggle, {}, void 0, false, { - fileName: "[project]/src/components/ui/navbar.tsx", - lineNumber: 99, - columnNumber: 25 - }, this) - }, void 0, false, { - fileName: "[project]/src/components/ui/navbar.tsx", - lineNumber: 98, - columnNumber: 21 - }, this) - ] - }, void 0, true, { - fileName: "[project]/src/components/ui/navbar.tsx", - lineNumber: 84, - columnNumber: 17 - }, this) - ] - }, void 0, true, { - fileName: "[project]/src/components/ui/navbar.tsx", - lineNumber: 58, - columnNumber: 13 - }, this) - }, void 0, false, { - fileName: "[project]/src/components/ui/navbar.tsx", - lineNumber: 57, - columnNumber: 9 - }, this); -} -_s1(Navbar, "c3fuAdVwNN91t4bNS1qBXl5hAWY="); -_c1 = Navbar; -const __TURBOPACK__default__export__ = Navbar; -var _c, _c1; -__turbopack_context__.k.register(_c, "ThemeToggle"); -__turbopack_context__.k.register(_c1, "Navbar"); -if (typeof globalThis.$RefreshHelpers$ === 'object' && globalThis.$RefreshHelpers !== null) { - __turbopack_context__.k.registerExports(__turbopack_context__.m, globalThis.$RefreshHelpers$); -} -}), -"[project]/lib/utils/cn.ts [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "cn", - ()=>cn -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$clsx$2f$dist$2f$clsx$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/clsx/dist/clsx.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$tailwind$2d$merge$2f$dist$2f$bundle$2d$mjs$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/tailwind-merge/dist/bundle-mjs.mjs [app-client] (ecmascript)"); -; -; -function cn(...inputs) { - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$tailwind$2d$merge$2f$dist$2f$bundle$2d$mjs$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["twMerge"])((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$clsx$2f$dist$2f$clsx$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["clsx"])(inputs)); -} -if (typeof globalThis.$RefreshHelpers$ === 'object' && globalThis.$RefreshHelpers !== null) { - __turbopack_context__.k.registerExports(__turbopack_context__.m, globalThis.$RefreshHelpers$); -} -}), -"[project]/src/components/ui/footer.tsx [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "BottomFooter", - ()=>BottomFooter, - "ScheduleCall", - ()=>ScheduleCall, - "SocialLink", - ()=>SocialLink, - "default", - ()=>__TURBOPACK__default__export__ -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/jsx-dev-runtime.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$lib$2f$utils$2f$cn$2e$ts__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/lib/utils/cn.ts [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$tabler$2f$icons$2d$react$2f$dist$2f$esm$2f$icons$2f$IconArrowBadgeLeft$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__IconArrowBadgeLeft$3e$__ = __turbopack_context__.i("[project]/node_modules/@tabler/icons-react/dist/esm/icons/IconArrowBadgeLeft.mjs [app-client] (ecmascript) "); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$tabler$2f$icons$2d$react$2f$dist$2f$esm$2f$icons$2f$IconBrandGithub$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__IconBrandGithub$3e$__ = __turbopack_context__.i("[project]/node_modules/@tabler/icons-react/dist/esm/icons/IconBrandGithub.mjs [app-client] (ecmascript) "); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$components$2f$motion$2f$proxy$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/components/motion/proxy.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$client$2f$app$2d$dir$2f$link$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/client/app-dir/link.js [app-client] (ecmascript)"); -"use client"; -; -; -; -; -; -function Footer() { - return /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("footer", { - className: "min-h-[400px] relative flex items-center ", - children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { - className: "grid grid-cols-[1fr] md:grid-cols-[1fr_1fr] mx-4 md:mx-auto md:gap-x-60 gap-5 ", - children: [ - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(ScheduleCall, {}, void 0, false, { - fileName: "[project]/src/components/ui/footer.tsx", - lineNumber: 13, - columnNumber: 17 - }, this), - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { - className: "md:block hidden", - children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(SocialLink, {}, void 0, false, { - fileName: "[project]/src/components/ui/footer.tsx", - lineNumber: 16, - columnNumber: 21 - }, this) - }, void 0, false, { - fileName: "[project]/src/components/ui/footer.tsx", - lineNumber: 15, - columnNumber: 17 - }, this), - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { - className: "md:hidden block grid grid-cols-2", - children: [ - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { - className: "flex items-center justify-center", - children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("ul", { - className: "w-sm h-fit py-5 px-10 ", - children: [ - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$client$2f$app$2d$dir$2f$link$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"], { - href: "/docs/introduction", - children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("li", { - className: (0, __TURBOPACK__imported__module__$5b$project$5d2f$lib$2f$utils$2f$cn$2e$ts__$5b$app$2d$client$5d$__$28$ecmascript$29$__["cn"])('list text-xl font-semibold '), - children: "docs" - }, void 0, false, { - fileName: "[project]/src/components/ui/footer.tsx", - lineNumber: 25, - columnNumber: 33 - }, this) - }, void 0, false, { - fileName: "[project]/src/components/ui/footer.tsx", - lineNumber: 24, - columnNumber: 29 - }, this), - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$client$2f$app$2d$dir$2f$link$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"], { - href: "https://x.com/SatishSolera", - children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("li", { - className: "list text-xl ", - children: "Twitter" - }, void 0, false, { - fileName: "[project]/src/components/ui/footer.tsx", - lineNumber: 30, - columnNumber: 33 - }, this) - }, void 0, false, { - fileName: "[project]/src/components/ui/footer.tsx", - lineNumber: 29, - columnNumber: 29 - }, this) - ] - }, void 0, true, { - fileName: "[project]/src/components/ui/footer.tsx", - lineNumber: 23, - columnNumber: 25 - }, this) - }, void 0, false, { - fileName: "[project]/src/components/ui/footer.tsx", - lineNumber: 22, - columnNumber: 21 - }, this), - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { - className: "", - children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$client$2f$app$2d$dir$2f$link$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"], { - href: "https://github.com/satish-solera/sol-ui", - children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$components$2f$motion$2f$proxy$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["motion"].div, { - className: "w-full h-full flex items-center justify-center cursor-pointer", - initial: { - scale: 1 - }, - whileHover: { - scale: 1.04 - }, - transition: { - duration: 0.3 - }, - children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$tabler$2f$icons$2d$react$2f$dist$2f$esm$2f$icons$2f$IconBrandGithub$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__IconBrandGithub$3e$__["IconBrandGithub"], { - size: 40, - className: " " - }, void 0, false, { - fileName: "[project]/src/components/ui/footer.tsx", - lineNumber: 53, - columnNumber: 33 - }, this) - }, void 0, false, { - fileName: "[project]/src/components/ui/footer.tsx", - lineNumber: 40, - columnNumber: 29 - }, this) - }, void 0, false, { - fileName: "[project]/src/components/ui/footer.tsx", - lineNumber: 39, - columnNumber: 25 - }, this) - }, void 0, false, { - fileName: "[project]/src/components/ui/footer.tsx", - lineNumber: 38, - columnNumber: 21 - }, this) - ] - }, void 0, true, { - fileName: "[project]/src/components/ui/footer.tsx", - lineNumber: 19, - columnNumber: 17 - }, this), - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(BottomFooter, {}, void 0, false, { - fileName: "[project]/src/components/ui/footer.tsx", - lineNumber: 62, - columnNumber: 17 - }, this) - ] - }, void 0, true, { - fileName: "[project]/src/components/ui/footer.tsx", - lineNumber: 12, - columnNumber: 13 - }, this) - }, void 0, false, { - fileName: "[project]/src/components/ui/footer.tsx", - lineNumber: 11, - columnNumber: 9 - }, this); -} -_c = Footer; -const __TURBOPACK__default__export__ = Footer; -const ScheduleCall = ()=>{ - return /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { - className: "relative h-64 w-72 bg-white dark:bg-black/50 rounded-2xl shadow-sm ring-1 ring-black/10 dark:ring-neutral-500 px-5 py-5 mx-auto", - children: [ - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { - className: "py-2 px-4 rounded-md shadow-sm shadow-white dark:shadow-black/10 ring-1 ring-black/10 dark:ring-neutral-500 dark:text-white text-black flex gap-2 items-center", - children: [ - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { - className: "size-2 dark:bg-white bg-black rounded-full" - }, void 0, false, { - fileName: "[project]/src/components/ui/footer.tsx", - lineNumber: 75, - columnNumber: 17 - }, ("TURBOPACK compile-time value", void 0)), - " Schedule a Call" - ] - }, void 0, true, { - fileName: "[project]/src/components/ui/footer.tsx", - lineNumber: 74, - columnNumber: 13 - }, ("TURBOPACK compile-time value", void 0)), - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("p", { - className: "text-black dark:text-white py-3", - children: [ - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("b", { - children: "Have a Project ? " - }, void 0, false, { - fileName: "[project]/src/components/ui/footer.tsx", - lineNumber: 78, - columnNumber: 17 - }, ("TURBOPACK compile-time value", void 0)), - " ", - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("br", {}, void 0, false, { - fileName: "[project]/src/components/ui/footer.tsx", - lineNumber: 78, - columnNumber: 42 - }, ("TURBOPACK compile-time value", void 0)), - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("span", { - className: "text-neutral-400", - children: "we would love to hear from you" - }, void 0, false, { - fileName: "[project]/src/components/ui/footer.tsx", - lineNumber: 79, - columnNumber: 17 - }, ("TURBOPACK compile-time value", void 0)) - ] - }, void 0, true, { - fileName: "[project]/src/components/ui/footer.tsx", - lineNumber: 77, - columnNumber: 13 - }, ("TURBOPACK compile-time value", void 0)), - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$client$2f$app$2d$dir$2f$link$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"], { - href: "https://cal.com/satish-solera-vcuclh/15min", - children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$components$2f$motion$2f$proxy$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["motion"].button, { - initial: { - scale: 1 - }, - whileHover: { - scale: 1.04 - }, - transition: { - duration: 0.3 - }, - className: "absolute bottom-0 right-0 size-15 dark:text-white text-black rounded-lg z-20 cursor-pointer", - children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$tabler$2f$icons$2d$react$2f$dist$2f$esm$2f$icons$2f$IconArrowBadgeLeft$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__IconArrowBadgeLeft$3e$__["IconArrowBadgeLeft"], { - size: 50, - className: "rotate-130 flex items-center justify-center mx-auto " - }, void 0, false, { - fileName: "[project]/src/components/ui/footer.tsx", - lineNumber: 94, - columnNumber: 17 - }, ("TURBOPACK compile-time value", void 0)) - }, void 0, false, { - fileName: "[project]/src/components/ui/footer.tsx", - lineNumber: 82, - columnNumber: 13 - }, ("TURBOPACK compile-time value", void 0)) - }, void 0, false, { - fileName: "[project]/src/components/ui/footer.tsx", - lineNumber: 81, - columnNumber: 13 - }, ("TURBOPACK compile-time value", void 0)), - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { - className: "absolute bottom-0 right-0 size-15 p-8 shadow-sm ring-1 ring-black/30 dark:ring-neutral-500 z-10", - style: { - borderRadius: '15px 0px 15px' - } - }, void 0, false, { - fileName: "[project]/src/components/ui/footer.tsx", - lineNumber: 97, - columnNumber: 13 - }, ("TURBOPACK compile-time value", void 0)) - ] - }, void 0, true, { - fileName: "[project]/src/components/ui/footer.tsx", - lineNumber: 73, - columnNumber: 9 - }, ("TURBOPACK compile-time value", void 0)); -}; -_c1 = ScheduleCall; -const SocialLink = ()=>{ - return /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { - className: "grid grid-cols-2 mx-auto gap-2", - children: [ - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { - className: "size-40 py-0.5 px-3 rounded-[5px] flex items-center justify-center", - children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("ul", { - className: "w-sm h-fit py-5 px-10 ", - children: [ - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$client$2f$app$2d$dir$2f$link$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"], { - href: "/docs/introduction", - children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("li", { - className: (0, __TURBOPACK__imported__module__$5b$project$5d2f$lib$2f$utils$2f$cn$2e$ts__$5b$app$2d$client$5d$__$28$ecmascript$29$__["cn"])('list text-xl font-semibold '), - children: "docs" - }, void 0, false, { - fileName: "[project]/src/components/ui/footer.tsx", - lineNumber: 114, - columnNumber: 25 - }, ("TURBOPACK compile-time value", void 0)) - }, void 0, false, { - fileName: "[project]/src/components/ui/footer.tsx", - lineNumber: 113, - columnNumber: 21 - }, ("TURBOPACK compile-time value", void 0)), - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$client$2f$app$2d$dir$2f$link$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"], { - href: "https://x.com/SatishSolera", - children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("li", { - className: "list text-xl ", - children: "Twitter" - }, void 0, false, { - fileName: "[project]/src/components/ui/footer.tsx", - lineNumber: 119, - columnNumber: 25 - }, ("TURBOPACK compile-time value", void 0)) - }, void 0, false, { - fileName: "[project]/src/components/ui/footer.tsx", - lineNumber: 118, - columnNumber: 21 - }, ("TURBOPACK compile-time value", void 0)) - ] - }, void 0, true, { - fileName: "[project]/src/components/ui/footer.tsx", - lineNumber: 112, - columnNumber: 17 - }, ("TURBOPACK compile-time value", void 0)) - }, void 0, false, { - fileName: "[project]/src/components/ui/footer.tsx", - lineNumber: 111, - columnNumber: 13 - }, ("TURBOPACK compile-time value", void 0)), - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { - className: "size-40 shadow ring-1 ring-neutral-200 py-0.5 px-3 rounded-[5px] bg-white ", - children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$client$2f$app$2d$dir$2f$link$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"], { - href: "https://github.com/satish-solera/sol-ui", - children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$components$2f$motion$2f$proxy$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["motion"].div, { - className: "w-full h-full flex items-center justify-center cursor-pointer", - initial: { - scale: 1 - }, - whileHover: { - scale: 1.04 - }, - transition: { - duration: 0.3 - }, - children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$tabler$2f$icons$2d$react$2f$dist$2f$esm$2f$icons$2f$IconBrandGithub$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__IconBrandGithub$3e$__["IconBrandGithub"], { - size: 40, - className: "text-black " - }, void 0, false, { - fileName: "[project]/src/components/ui/footer.tsx", - lineNumber: 142, - columnNumber: 25 - }, ("TURBOPACK compile-time value", void 0)) - }, void 0, false, { - fileName: "[project]/src/components/ui/footer.tsx", - lineNumber: 129, - columnNumber: 21 - }, ("TURBOPACK compile-time value", void 0)) - }, void 0, false, { - fileName: "[project]/src/components/ui/footer.tsx", - lineNumber: 128, - columnNumber: 17 - }, ("TURBOPACK compile-time value", void 0)) - }, void 0, false, { - fileName: "[project]/src/components/ui/footer.tsx", - lineNumber: 125, - columnNumber: 13 - }, ("TURBOPACK compile-time value", void 0)), - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { - className: "" - }, void 0, false, { - fileName: "[project]/src/components/ui/footer.tsx", - lineNumber: 146, - columnNumber: 13 - }, ("TURBOPACK compile-time value", void 0)), - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { - className: "w-40 h-20 shadow ring-1 ring-neutral-200 py-0.5 px-3 rounded-[5px] bg-white flex items-center justify-center p-0.5", - children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("a", { - href: "https://www.buymeacoffee.com/satishsolen", - children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("img", { - src: "https://img.buymeacoffee.com/button-api/?text=Buymeacoffee&emoji=&slug=satishsolen&button_colour=FFDD00&font_colour=000000&font_family=Cookie&outline_colour=000000&coffee_colour=ffffff" - }, void 0, false, { - fileName: "[project]/src/components/ui/footer.tsx", - lineNumber: 148, - columnNumber: 68 - }, ("TURBOPACK compile-time value", void 0)) - }, void 0, false, { - fileName: "[project]/src/components/ui/footer.tsx", - lineNumber: 148, - columnNumber: 17 - }, ("TURBOPACK compile-time value", void 0)) - }, void 0, false, { - fileName: "[project]/src/components/ui/footer.tsx", - lineNumber: 147, - columnNumber: 13 - }, ("TURBOPACK compile-time value", void 0)) - ] - }, void 0, true, { - fileName: "[project]/src/components/ui/footer.tsx", - lineNumber: 110, - columnNumber: 9 - }, ("TURBOPACK compile-time value", void 0)); -}; -_c2 = SocialLink; -const BottomFooter = ()=>{ - return /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { - className: "flex gap-2", - children: [ - [ - { - label: "2026", - href: "/" - }, - { - label: "sol-auth", - href: "https://github.com/satish-solera/sol-auth" - } - ].map((el, id)=>{ - return /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$client$2f$app$2d$dir$2f$link$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"], { - href: el.href, - children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { - className: "shadow ring-1 ring-neutral-500 py-0.5 px-3 rounded-[5px] cursor-pointer", - children: el.label - }, `id-${id}`, false, { - fileName: "[project]/src/components/ui/footer.tsx", - lineNumber: 168, - columnNumber: 29 - }, ("TURBOPACK compile-time value", void 0)) - }, id, false, { - fileName: "[project]/src/components/ui/footer.tsx", - lineNumber: 167, - columnNumber: 25 - }, ("TURBOPACK compile-time value", void 0)); - }), - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { - className: "w-28 md:hidden block items-center py-px", - children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("a", { - href: "https://www.buymeacoffee.com/satishsolen", - children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("img", { - src: "https://img.buymeacoffee.com/button-api/?text=Buymeacoffee&emoji=&slug=satishsolen&button_colour=FFDD00&font_colour=000000&font_family=Cookie&outline_colour=000000&coffee_colour=ffffff" - }, void 0, false, { - fileName: "[project]/src/components/ui/footer.tsx", - lineNumber: 180, - columnNumber: 80 - }, ("TURBOPACK compile-time value", void 0)) - }, void 0, false, { - fileName: "[project]/src/components/ui/footer.tsx", - lineNumber: 180, - columnNumber: 29 - }, ("TURBOPACK compile-time value", void 0)) - }, void 0, false, { - fileName: "[project]/src/components/ui/footer.tsx", - lineNumber: 179, - columnNumber: 16 - }, ("TURBOPACK compile-time value", void 0)) - ] - }, void 0, true, { - fileName: "[project]/src/components/ui/footer.tsx", - lineNumber: 163, - columnNumber: 9 - }, ("TURBOPACK compile-time value", void 0)); -}; -_c3 = BottomFooter; -var _c, _c1, _c2, _c3; -__turbopack_context__.k.register(_c, "Footer"); -__turbopack_context__.k.register(_c1, "ScheduleCall"); -__turbopack_context__.k.register(_c2, "SocialLink"); -__turbopack_context__.k.register(_c3, "BottomFooter"); -if (typeof globalThis.$RefreshHelpers$ === 'object' && globalThis.$RefreshHelpers !== null) { - __turbopack_context__.k.registerExports(__turbopack_context__.m, globalThis.$RefreshHelpers$); -} -}), -]); - -//# sourceMappingURL=_bf213110._.js.map \ No newline at end of file diff --git a/.next/dev/static/chunks/_bf213110._.js.map b/.next/dev/static/chunks/_bf213110._.js.map deleted file mode 100644 index 125d05d..0000000 --- a/.next/dev/static/chunks/_bf213110._.js.map +++ /dev/null @@ -1,8 +0,0 @@ -{ - "version": 3, - "sources": [], - "sections": [ - {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/src/components/ui/navbar.tsx"],"sourcesContent":["\r\n\"use client\"\r\n\r\nimport { IconBrandGithub, IconMoon, IconSun } from '@tabler/icons-react';\r\nimport { AnimatePresence, motion } from 'motion/react';\r\nimport { useTheme } from 'next-themes';\r\nimport Link from 'next/link';\r\n\r\nimport React, { useEffect, useState, useCallback } from 'react'\r\n\r\n\r\n// Theme Toggle Component\r\nconst ThemeToggle = () => {\r\n const { theme, setTheme, resolvedTheme } = useTheme()\r\n const [mounted, setMounted] = useState(false);\r\n\r\n useEffect(() => {\r\n setMounted(true);\r\n }, []\r\n )\r\n\r\n if (!mounted) {\r\n return null\r\n }\r\n\r\n\r\n\r\n return (\r\n setTheme(resolvedTheme === \"light\" ? \"dark\" : \"light\")}\r\n className=\"flex items-center justify-center w-9 h-9 rounded-full hover:bg-black/5 transition-colors text-foreground/70 hover:text-foreground\"\r\n aria-label=\"Toggle theme\"\r\n >\r\n {true ? : }\r\n \r\n )\r\n}\r\n\r\nfunction Navbar() {\r\n\r\n const texts = [\"beta\", \"0.0.1\"];\r\n\r\n const [index, setIndex] = useState(0);\r\n\r\n useEffect(() => {\r\n const interval = setInterval(() => {\r\n setIndex((prev) => (prev + 1) % texts.length)\r\n }, 3000)\r\n\r\n return () => {\r\n clearInterval(interval)\r\n }\r\n }, [])\r\n\r\n\r\n return (\r\n
\r\n
\r\n\r\n
\r\n {/* logo */}\r\n \r\n

SolUI

\r\n \r\n \r\n
\r\n\r\n\r\n
\r\n {/* navLinks */}\r\n
    \r\n \r\n
  • \r\n docs\r\n
  • \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n

\r\n \r\n

\r\n
\r\n\r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default Navbar"],"names":[],"mappings":";;;;;AAGA;AAAA;AACA;AAAA;AACA;AACA;AAEA;;;AAPA;;;;;;AAUA,yBAAyB;AACzB,MAAM,cAAc;;IAChB,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,GAAG,IAAA,+JAAQ;IACnD,MAAM,CAAC,SAAS,WAAW,GAAG,IAAA,yKAAQ,EAAC;IAEvC,IAAA,0KAAS;iCAAC;YACN,WAAW;QACf;gCAAG,EAAE;IAGL,IAAI,CAAC,SAAS;QACV,OAAO;IACX;IAIA,qBACI,6LAAC;QACG,SAAS,IAAM,SAAS,kBAAkB,UAAU,SAAS;QAC7D,WAAU;QACV,cAAW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AM;;;;;;;;;;;;;;;;sCAG3B,6LAAC;sCACG,cAAA,6LAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOzB;IAnES;MAAA;uCAqEM"}}, - {"offset": {"line": 243, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/lib/utils/cn.ts"],"sourcesContent":["import { type ClassValue, clsx } from \"clsx\";\r\nimport { twMerge } from \"tailwind-merge\";\r\n\r\nexport function cn(...inputs: ClassValue[]) {\r\n return twMerge(clsx(inputs));\r\n}\r\n"],"names":[],"mappings":";;;;AAAA;AACA;;;AAEO,SAAS,GAAG,GAAG,MAAoB;IACxC,OAAO,IAAA,yKAAO,EAAC,IAAA,gJAAI,EAAC;AACtB"}}, - {"offset": {"line": 261, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/src/components/ui/footer.tsx"],"sourcesContent":["\r\n\"use client\"\r\nimport { cn } from '@/lib/utils/cn'\r\nimport { IconArrowBadgeLeft, IconBrandGithub } from '@tabler/icons-react';\r\nimport { motion } from 'motion/react';\r\nimport Link from 'next/link';\r\n\r\n\r\nfunction Footer() {\r\n return (\r\n
\r\n
\r\n \r\n {/* desktop */}\r\n
\r\n \r\n
\r\n {/* mobile */}\r\n
\r\n\r\n {/* href list */}\r\n
\r\n
    \r\n \r\n
  • \r\n docs\r\n
  • \r\n \r\n \r\n
  • \r\n Twitter\r\n
  • \r\n \r\n
\r\n
\r\n\r\n {/* github */}\r\n
\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n
\r\n\r\n
\r\n\r\n \r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default Footer\r\n\r\n\r\nexport const ScheduleCall = () => {\r\n return (\r\n
\r\n \r\n

\r\n Have a Project ?
\r\n we would love to hear from you\r\n

\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n )\r\n}\r\n\r\n\r\nexport const SocialLink = () => {\r\n return (\r\n
\r\n
\r\n
    \r\n \r\n
  • \r\n docs\r\n
  • \r\n \r\n \r\n
  • \r\n Twitter\r\n
  • \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n\r\n {/*
\r\n \r\n Become Sponcer\r\n\r\n \r\n
*/}\r\n \r\n )\r\n}\r\n\r\nexport const BottomFooter = () => {\r\n return (\r\n
\r\n {\r\n [{ label: \"2026\", href: \"/\" }, { label: \"sol-auth\", href: \"https://github.com/satish-solera/sol-auth\" }].map((el, id) => {\r\n return (\r\n \r\n \r\n \r\n )\r\n })\r\n }\r\n\r\n
\r\n \r\n
\r\n
\r\n )\r\n}\r\n\r\n"],"names":[],"mappings":";;;;;;;;;;;AAEA;AACA;AAAA;AACA;AACA;AAJA;;;;;;AAOA,SAAS;IACL,qBACI,6LAAC;QAAO,WAAU;kBACd,cAAA,6LAAC;YAAI,WAAU;;8BACX,6LAAC;;;;;8BAED,6LAAC;oBAAI,WAAU;8BACX,cAAA,6LAAC;;;;;;;;;;8BAGL,6LAAC;oBAAI,WAAU;;sCAGX,6LAAC;4BAAI,WAAU;sCACX,cAAA,6LAAC;gCAAG,WAAU;;kDACV,6LAAC,0KAAI;wCAAC,MAAK;kDACP,cAAA,6LAAC;4CAAG,WAAW,IAAA,2HAAE,EAAC;sDAAiC;;;;;;;;;;;kDAIvD,6LAAC,0KAAI;wCAAC,MAAK;kDACP,cAAA,6LAAC;4CAAG,WAAU;sDAAgB;;;;;;;;;;;;;;;;;;;;;;sCAQ1C,6LAAC;4BAAI,WAAU;sCACX,cAAA,6LAAC,0KAAI;gCAAC,MAAK;0CACP,cAAA,6LAAC,uMAAM,CAAC,GAAG;oCAAC,WAAU;oCAClB,SAAS;wCACL,OAAO;oCACX;oCAEA,YAAY;wCACR,OAAO;oCACX;oCAGA,YAAY;wCACR,UAAU;oCACd;8CACA,cAAA,6LAAC,0PAAe;wCAAC,MAAM;wCAAI,WAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;8BASr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WAAU;;;;;;;;;;;;;;;;;;;;;0BAIjD,6LAAC;gBAAI,WAAU;;;;;;0BACf,6LAAC;gBAAI,WAAU;0BACX,cAAA,6LAAC;oBAAE,MAAK;8BAA2C,cAAA,6LAAC;wBAAI,KAAI;;;;;;;;;;;;;;;;;;;;;;AAW5E;MAnDa;AAqDN,MAAM,eAAe;IACxB,qBACI,6LAAC;QAAI,WAAU;;YAEP;gBAAC;oBAAE,OAAO;oBAAQ,MAAM;gBAAI;gBAAG;oBAAE,OAAO;oBAAY,MAAM;gBAA4C;aAAE,CAAC,GAAG,CAAC,CAAC,IAAI;gBAC9G,qBACI,6LAAC,0KAAI;oBAAC,MAAM,GAAG,IAAI;8BACf,cAAA,6LAAC;wBAAO,WAAU;kCAGV,GAAG,KAAK;uBAHiF,CAAC,GAAG,EAAE,IAAI;;;;;mBADrF;;;;;YASlC;0BAGD,6LAAC;gBAAI,WAAU;0BACF,cAAA,6LAAC;oBAAE,MAAK;8BAA2C,cAAA,6LAAC;wBAAI,KAAI;;;;;;;;;;;;;;;;;;;;;;AAIxF;MAvBa"}}] -} \ No newline at end of file diff --git a/.next/dev/static/chunks/app_globals_css_bad6b30c._.single.css b/.next/dev/static/chunks/app_globals_css_bad6b30c._.single.css deleted file mode 100644 index 33d4504..0000000 --- a/.next/dev/static/chunks/app_globals_css_bad6b30c._.single.css +++ /dev/null @@ -1,5609 +0,0 @@ -/* [project]/app/globals.css [app-client] (css) */ -@layer properties { - @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) { - *, :before, :after, ::backdrop { - --tw-border-style: solid; - --tw-translate-x: 0; - --tw-translate-y: 0; - --tw-translate-z: 0; - --tw-rotate-x: initial; - --tw-rotate-y: initial; - --tw-rotate-z: initial; - --tw-skew-x: initial; - --tw-skew-y: initial; - --tw-space-y-reverse: 0; - --tw-divide-y-reverse: 0; - --tw-gradient-position: initial; - --tw-gradient-from: #0000; - --tw-gradient-via: #0000; - --tw-gradient-to: #0000; - --tw-gradient-stops: initial; - --tw-gradient-via-stops: initial; - --tw-gradient-from-position: 0%; - --tw-gradient-via-position: 50%; - --tw-gradient-to-position: 100%; - --tw-leading: initial; - --tw-font-weight: initial; - --tw-tracking: initial; - --tw-shadow: 0 0 #0000; - --tw-shadow-color: initial; - --tw-shadow-alpha: 100%; - --tw-inset-shadow: 0 0 #0000; - --tw-inset-shadow-color: initial; - --tw-inset-shadow-alpha: 100%; - --tw-ring-color: initial; - --tw-ring-shadow: 0 0 #0000; - --tw-inset-ring-color: initial; - --tw-inset-ring-shadow: 0 0 #0000; - --tw-ring-inset: initial; - --tw-ring-offset-width: 0px; - --tw-ring-offset-color: #fff; - --tw-ring-offset-shadow: 0 0 #0000; - --tw-outline-style: solid; - --tw-blur: initial; - --tw-brightness: initial; - --tw-contrast: initial; - --tw-grayscale: initial; - --tw-hue-rotate: initial; - --tw-invert: initial; - --tw-opacity: initial; - --tw-saturate: initial; - --tw-sepia: initial; - --tw-drop-shadow: initial; - --tw-drop-shadow-color: initial; - --tw-drop-shadow-alpha: 100%; - --tw-drop-shadow-size: initial; - --tw-backdrop-blur: initial; - --tw-backdrop-brightness: initial; - --tw-backdrop-contrast: initial; - --tw-backdrop-grayscale: initial; - --tw-backdrop-hue-rotate: initial; - --tw-backdrop-invert: initial; - --tw-backdrop-opacity: initial; - --tw-backdrop-saturate: initial; - --tw-backdrop-sepia: initial; - --tw-duration: initial; - --tw-ease: initial; - --tw-text-shadow-color: initial; - --tw-text-shadow-alpha: 100%; - --tw-content: ""; - --tw-scale-x: 1; - --tw-scale-y: 1; - --tw-scale-z: 1; - --radix-collapsible-content-height: 0px; - } - } -} - -@layer theme { - :root, :host { - --font-sans: var(--font-geist-sans); - --font-mono: var(--font-geist-mono); - --color-red-200: #ffcaca; - --color-red-300: #ffa3a3; - --color-amber-500: #f99c00; - --color-yellow-200: #fff085; - --color-green-100: #dcfce7; - --color-green-200: #b9f8cf; - --color-green-500: #00c758; - --color-green-800: #016630; - --color-emerald-500: #00bb7f; - --color-sky-500: #00a5ef; - --color-blue-200: #bedbff; - --color-violet-300: #c4b4ff; - --color-violet-400: #a685ff; - --color-fuchsia-500: #e12afb; - --color-neutral-100: #f5f5f5; - --color-neutral-200: #e5e5e5; - --color-neutral-300: #d4d4d4; - --color-neutral-400: #a1a1a1; - --color-neutral-500: #737373; - --color-neutral-700: #404040; - --color-neutral-800: #262626; - --color-neutral-900: #171717; - --color-black: #000; - --color-white: #fff; - --spacing: .25rem; - --breakpoint-sm: 40rem; - --container-sm: 24rem; - --container-2xl: 42rem; - --container-5xl: 64rem; - --text-xs: .75rem; - --text-xs--line-height: calc(1 / .75); - --text-sm: .875rem; - --text-sm--line-height: calc(1.25 / .875); - --text-base: 1rem; - --text-base--line-height: calc(1.5 / 1); - --text-lg: 1.125rem; - --text-lg--line-height: calc(1.75 / 1.125); - --text-xl: 1.25rem; - --text-xl--line-height: calc(1.75 / 1.25); - --text-2xl: 1.5rem; - --text-2xl--line-height: calc(2 / 1.5); - --text-3xl: 1.875rem; - --text-3xl--line-height: calc(2.25 / 1.875); - --text-4xl: 2.25rem; - --text-4xl--line-height: calc(2.5 / 2.25); - --text-5xl: 3rem; - --text-5xl--line-height: 1; - --text-6xl: 3.75rem; - --text-6xl--line-height: 1; - --text-7xl: 4.5rem; - --text-7xl--line-height: 1; - --font-weight-medium: 500; - --font-weight-semibold: 600; - --font-weight-bold: 700; - --tracking-tight: -.025em; - --leading-relaxed: 1.625; - --radius-sm: .25rem; - --radius-md: .375rem; - --radius-lg: .5rem; - --radius-xl: .75rem; - --radius-2xl: 1rem; - --radius-3xl: 1.5rem; - --animate-spin: spin 1s linear infinite; - --animate-pulse: pulse 2s cubic-bezier(.4, 0, .6, 1) infinite; - --blur-xs: 4px; - --blur-sm: 8px; - --blur-md: 12px; - --blur-lg: 16px; - --default-transition-duration: .15s; - --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1); - --default-font-family: var(--font-geist-sans); - --default-mono-font-family: var(--font-geist-mono); - --color-fd-background: #f5f5f5; - --color-fd-foreground: #0a0a0a; - --color-fd-muted: #f5f5f5; - --color-fd-muted-foreground: #737373; - --color-fd-popover: #fafafa; - --color-fd-popover-foreground: #272727; - --color-fd-card: #f1f1f1; - --color-fd-card-foreground: #0a0a0a; - --color-fd-border: #cccccc80; - --color-fd-primary: #171717; - --color-fd-primary-foreground: #fafafa; - --color-fd-secondary: #ededed; - --color-fd-secondary-foreground: #171717; - --color-fd-accent: #d1d1d180; - --color-fd-accent-foreground: #171717; - --color-fd-ring: #a3a3a3; - --color-fd-overlay: #0003; - --color-fd-info: #3080ff; - --color-fd-warning: #f99c00; - --color-fd-error: #fb2c36; - --color-fd-success: #00c758; - --color-fd-idea: #ee7e00; - --color-fd-diff-remove: #c80a641f; - --color-fd-diff-remove-symbol: #e60a64; - --color-fd-diff-add: #0eb4641a; - --color-fd-diff-add-symbol: #0ac864; - --animate-fd-fade-in: fd-fade-in .3s ease; - --animate-fd-fade-out: fd-fade-out .3s ease; - --animate-fd-dialog-in: fd-dialog-in .3s cubic-bezier(.16, 1, .3, 1); - --animate-fd-dialog-out: fd-dialog-out .3s cubic-bezier(.16, 1, .3, 1); - --animate-fd-popover-in: fd-popover-in .1s ease; - --animate-fd-popover-out: fd-popover-out .1s ease; - --animate-fd-enterFromLeft: fd-enterFromLeft .25s ease; - --animate-fd-enterFromRight: fd-enterFromRight .25s ease; - --animate-fd-sidebar-in: fd-sidebar-in .25s ease; - --animate-fd-sidebar-out: fd-sidebar-out .25s ease; - --animate-fd-exitToLeft: fd-exitToLeft .25s ease; - --animate-fd-exitToRight: fd-exitToRight .25s ease; - --animate-fd-collapsible-down: fd-collapsible-down .15s cubic-bezier(.45, 0, .55, 1); - --animate-fd-collapsible-up: fd-collapsible-up .15s cubic-bezier(.45, 0, .55, 1); - --animate-fd-accordion-down: fd-accordion-down .2s ease-out; - --animate-fd-accordion-up: fd-accordion-up .2s ease-out; - --animate-fd-nav-menu-in: fd-nav-menu-in .2s ease; - --animate-fd-nav-menu-out: fd-nav-menu-out .2s ease; - } - - @supports (color: lab(0% 0 0)) { - :root, :host { - --color-red-200: lab(86.017% 19.8815 7.75869); - --color-red-300: lab(76.5514% 36.4219 15.5335); - --color-amber-500: lab(72.7183% 31.8672 97.9407); - --color-yellow-200: lab(94.3433% -5.00426 52.9663); - --color-green-100: lab(96.186% -13.8464 6.52362); - --color-green-200: lab(92.4222% -26.4702 12.9427); - --color-green-500: lab(70.5521% -66.5147 45.8072); - --color-green-800: lab(37.4616% -36.7971 22.9692); - --color-emerald-500: lab(66.9756% -58.27 19.5419); - --color-sky-500: lab(63.3038% -18.433 -51.0407); - --color-blue-200: lab(86.15% -4.04379 -21.0797); - --color-violet-300: lab(76.7419% 18.391 -37.0706); - --color-violet-400: lab(62.8239% 34.9159 -60.0512); - --color-fuchsia-500: lab(56.4256% 83.132 -64.639); - --color-neutral-100: lab(96.52% -.0000596046 0); - --color-neutral-200: lab(90.952% -.0000596046 0); - --color-neutral-300: lab(84.92% 0 0); - --color-neutral-400: lab(66.128% -.0000298023 .0000119209); - --color-neutral-500: lab(48.496% 0 0); - --color-neutral-700: lab(27.036% 0 0); - --color-neutral-800: lab(15.204% 0 0); - --color-neutral-900: lab(7.78201% -.0000149012 0); - --color-fd-info: lab(54.1736% 13.3368 -74.6839); - --color-fd-warning: lab(72.7183% 31.8672 97.9407); - --color-fd-error: lab(55.4814% 75.0732 48.8528); - --color-fd-success: lab(70.5521% -66.5147 45.8072); - --color-fd-idea: lab(64.7587% 46.0756 133.272); - } - } -} - -@layer base { - *, :after, :before, ::backdrop { - box-sizing: border-box; - border: 0 solid; - margin: 0; - padding: 0; - } - - ::file-selector-button { - box-sizing: border-box; - border: 0 solid; - margin: 0; - padding: 0; - } - - html, :host { - -webkit-text-size-adjust: 100%; - tab-size: 4; - line-height: 1.5; - font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"); - font-feature-settings: var(--default-font-feature-settings, normal); - font-variation-settings: var(--default-font-variation-settings, normal); - -webkit-tap-highlight-color: transparent; - } - - hr { - height: 0; - color: inherit; - border-top-width: 1px; - } - - abbr:where([title]) { - -webkit-text-decoration: underline dotted; - text-decoration: underline dotted; - } - - h1, h2, h3, h4, h5, h6 { - font-size: inherit; - font-weight: inherit; - } - - a { - color: inherit; - -webkit-text-decoration: inherit; - -webkit-text-decoration: inherit; - text-decoration: inherit; - } - - b, strong { - font-weight: bolder; - } - - code, kbd, samp, pre { - font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace); - font-feature-settings: var(--default-mono-font-feature-settings, normal); - font-variation-settings: var(--default-mono-font-variation-settings, normal); - font-size: 1em; - } - - small { - font-size: 80%; - } - - sub, sup { - vertical-align: baseline; - font-size: 75%; - line-height: 0; - position: relative; - } - - sub { - bottom: -.25em; - } - - sup { - top: -.5em; - } - - table { - text-indent: 0; - border-color: inherit; - border-collapse: collapse; - } - - :-moz-focusring { - outline: auto; - } - - progress { - vertical-align: baseline; - } - - summary { - display: list-item; - } - - ol, ul, menu { - list-style: none; - } - - img, svg, video, canvas, audio, iframe, embed, object { - vertical-align: middle; - display: block; - } - - img, video { - max-width: 100%; - height: auto; - } - - button, input, select, optgroup, textarea { - font: inherit; - font-feature-settings: inherit; - font-variation-settings: inherit; - letter-spacing: inherit; - color: inherit; - opacity: 1; - background-color: #0000; - border-radius: 0; - } - - ::file-selector-button { - font: inherit; - font-feature-settings: inherit; - font-variation-settings: inherit; - letter-spacing: inherit; - color: inherit; - opacity: 1; - background-color: #0000; - border-radius: 0; - } - - :where(select:is([multiple], [size])) optgroup { - font-weight: bolder; - } - - :where(select:is([multiple], [size])) optgroup option { - padding-inline-start: 20px; - } - - ::file-selector-button { - margin-inline-end: 4px; - } - - ::placeholder { - opacity: 1; - } - - @supports (not ((-webkit-appearance: -apple-pay-button))) or (contain-intrinsic-size: 1px) { - ::placeholder { - color: currentColor; - } - - @supports (color: color-mix(in lab, red, red)) { - ::placeholder { - color: color-mix(in oklab, currentcolor 50%, transparent); - } - } - } - - textarea { - resize: vertical; - } - - ::-webkit-search-decoration { - -webkit-appearance: none; - } - - ::-webkit-date-and-time-value { - min-height: 1lh; - text-align: inherit; - } - - ::-webkit-datetime-edit { - display: inline-flex; - } - - ::-webkit-datetime-edit-fields-wrapper { - padding: 0; - } - - ::-webkit-datetime-edit { - padding-block: 0; - } - - ::-webkit-datetime-edit-year-field { - padding-block: 0; - } - - ::-webkit-datetime-edit-month-field { - padding-block: 0; - } - - ::-webkit-datetime-edit-day-field { - padding-block: 0; - } - - ::-webkit-datetime-edit-hour-field { - padding-block: 0; - } - - ::-webkit-datetime-edit-minute-field { - padding-block: 0; - } - - ::-webkit-datetime-edit-second-field { - padding-block: 0; - } - - ::-webkit-datetime-edit-millisecond-field { - padding-block: 0; - } - - ::-webkit-datetime-edit-meridiem-field { - padding-block: 0; - } - - ::-webkit-calendar-picker-indicator { - line-height: 1; - } - - :-moz-ui-invalid { - box-shadow: none; - } - - button, input:where([type="button"], [type="reset"], [type="submit"]) { - appearance: button; - } - - ::file-selector-button { - appearance: button; - } - - ::-webkit-inner-spin-button { - height: auto; - } - - ::-webkit-outer-spin-button { - height: auto; - } - - [hidden]:where(:not([hidden="until-found"])) { - display: none !important; - } - - *, :after, :before, ::backdrop { - border-color: var(--color-fd-border, currentColor); - } - - ::file-selector-button { - border-color: var(--color-fd-border, currentColor); - } - - body { - background-color: var(--color-fd-background); - color: var(--foreground); - background-color: var(--background); - } -} - -@layer components; - -@layer utilities { - .\@container { - container-type: inline-size; - } - - .pointer-events-auto { - pointer-events: auto; - } - - .pointer-events-none { - pointer-events: none; - } - - .invisible { - visibility: hidden; - } - - .visible { - visibility: visible; - } - - .fd-step:before { - background-color: var(--color-fd-secondary); - color: var(--color-fd-secondary-foreground); - content: counter(step); - counter-increment: step; - width: calc(var(--spacing) * 8); - height: calc(var(--spacing) * 8); - border-radius: 3.40282e38px; - justify-content: center; - align-items: center; - font-size: .875rem; - line-height: 1.25rem; - display: flex; - position: absolute; - inset-inline-start: calc(var(--spacing) * -4); - } - - .fd-steps { - counter-reset: step; - margin-left: calc(var(--spacing) * 2); - border-left-style: var(--tw-border-style); - padding-left: calc(var(--spacing) * 6); - border-left-width: 1px; - position: relative; - } - - @media (min-width: 40rem) { - .fd-steps { - margin-left: calc(var(--spacing) * 4); - } - - .fd-steps { - padding-left: calc(var(--spacing) * 7); - } - } - - .absolute { - position: absolute; - } - - .fixed { - position: fixed; - } - - .relative { - position: relative; - } - - .static { - position: static; - } - - .sticky { - position: sticky; - } - - .inset-0 { - inset: calc(var(--spacing) * 0); - } - - .inset-x-0 { - inset-inline: calc(var(--spacing) * 0); - } - - .inset-x-2 { - inset-inline: calc(var(--spacing) * 2); - } - - .inset-y-0 { - inset-block: calc(var(--spacing) * 0); - } - - .inset-y-2 { - inset-block: calc(var(--spacing) * 2); - } - - .start-0 { - inset-inline-start: calc(var(--spacing) * 0); - } - - .start-3 { - inset-inline-start: calc(var(--spacing) * 3); - } - - .start-4 { - inset-inline-start: calc(var(--spacing) * 4); - } - - .end-0 { - inset-inline-end: calc(var(--spacing) * 0); - } - - .end-2 { - inset-inline-end: calc(var(--spacing) * 2); - } - - .-top-1\.5 { - top: calc(var(--spacing) * -1.5); - } - - .top-\(--fd-docs-row-1\) { - top: var(--fd-docs-row-1); - } - - .top-\(--fd-docs-row-2\) { - top: var(--fd-docs-row-2); - } - - .top-\(--fd-docs-row-3\) { - top: var(--fd-docs-row-3); - } - - .top-\(--fd-top\) { - top: var(--fd-top); - } - - .top-0 { - top: calc(var(--spacing) * 0); - } - - .top-1 { - top: calc(var(--spacing) * 1); - } - - .top-1\.5 { - top: calc(var(--spacing) * 1.5); - } - - .top-1\/2 { - top: 50%; - } - - .top-2 { - top: calc(var(--spacing) * 2); - } - - .top-3 { - top: calc(var(--spacing) * 3); - } - - .top-4 { - top: calc(var(--spacing) * 4); - } - - .top-10 { - top: calc(var(--spacing) * 10); - } - - .top-\[calc\(--spacing\(4\)\+var\(--fd-docs-row-3\)\)\] { - top: calc(calc(var(--spacing) * 4) + var(--fd-docs-row-3)); - } - - .right-0 { - right: calc(var(--spacing) * 0); - } - - .right-2 { - right: calc(var(--spacing) * 2); - } - - .right-3 { - right: calc(var(--spacing) * 3); - } - - .right-4 { - right: calc(var(--spacing) * 4); - } - - .right-6 { - right: calc(var(--spacing) * 6); - } - - .right-8 { - right: calc(var(--spacing) * 8); - } - - .right-10 { - right: calc(var(--spacing) * 10); - } - - .-bottom-18 { - bottom: calc(var(--spacing) * -18); - } - - .bottom-0 { - bottom: calc(var(--spacing) * 0); - } - - .bottom-1 { - bottom: calc(var(--spacing) * 1); - } - - .bottom-1\.5 { - bottom: calc(var(--spacing) * 1.5); - } - - .bottom-4 { - bottom: calc(var(--spacing) * 4); - } - - .-left-\[81px\] { - left: -81px; - } - - .left-0 { - left: calc(var(--spacing) * 0); - } - - .left-1\/2 { - left: 50%; - } - - .left-10 { - left: calc(var(--spacing) * 10); - } - - .z-2 { - z-index: 2; - } - - .z-10 { - z-index: 10; - } - - .z-20 { - z-index: 20; - } - - .z-30 { - z-index: 30; - } - - .z-40 { - z-index: 40; - } - - .z-50 { - z-index: 50; - } - - .z-70 { - z-index: 70; - } - - .z-80 { - z-index: 80; - } - - .z-100 { - z-index: 100; - } - - .z-\[-1\] { - z-index: -1; - } - - .col-span-full { - grid-column: 1 / -1; - } - - .container { - width: 100%; - } - - @media (min-width: 40rem) { - .container { - max-width: 40rem; - } - } - - @media (min-width: 48rem) { - .container { - max-width: 48rem; - } - } - - @media (min-width: 64rem) { - .container { - max-width: 64rem; - } - } - - @media (min-width: 80rem) { - .container { - max-width: 80rem; - } - } - - @media (min-width: 96rem) { - .container { - max-width: 96rem; - } - } - - .m-0 { - margin: calc(var(--spacing) * 0); - } - - .m-2 { - margin: calc(var(--spacing) * 2); - } - - .m-5 { - margin: calc(var(--spacing) * 5); - } - - .m-10 { - margin: calc(var(--spacing) * 10); - } - - .m-auto { - margin: auto; - } - - .-mx-1 { - margin-inline: calc(var(--spacing) * -1); - } - - .-mx-px { - margin-inline: -1px; - } - - .mx-0\.5 { - margin-inline: calc(var(--spacing) * .5); - } - - .mx-2 { - margin-inline: calc(var(--spacing) * 2); - } - - .mx-4 { - margin-inline: calc(var(--spacing) * 4); - } - - .mx-5 { - margin-inline: calc(var(--spacing) * 5); - } - - .mx-auto { - margin-inline: auto; - } - - .my-0 { - margin-block: calc(var(--spacing) * 0); - } - - .my-0\! { - margin-block: calc(var(--spacing) * 0) !important; - } - - .my-1 { - margin-block: calc(var(--spacing) * 1); - } - - .my-2 { - margin-block: calc(var(--spacing) * 2); - } - - .my-4 { - margin-block: calc(var(--spacing) * 4); - } - - .my-5 { - margin-block: calc(var(--spacing) * 5); - } - - .my-6 { - margin-block: calc(var(--spacing) * 6); - } - - .my-8 { - margin-block: calc(var(--spacing) * 8); - } - - .my-auto { - margin-block: auto; - } - - .-ms-1\.5 { - margin-inline-start: calc(var(--spacing) * -1.5); - } - - .ms-2 { - margin-inline-start: calc(var(--spacing) * 2); - } - - .ms-auto { - margin-inline-start: auto; - } - - .ms-px { - margin-inline-start: 1px; - } - - .-me-0\.5 { - margin-inline-end: calc(var(--spacing) * -.5); - } - - .-me-1\.5 { - margin-inline-end: calc(var(--spacing) * -1.5); - } - - .-me-2 { - margin-inline-end: calc(var(--spacing) * -2); - } - - .me-1 { - margin-inline-end: calc(var(--spacing) * 1); - } - - .me-2 { - margin-inline-end: calc(var(--spacing) * 2); - } - - .me-auto { - margin-inline-end: auto; - } - - .prose { - color: var(--tw-prose-body); - max-width: none; - font-size: 1rem; - line-height: 1.75rem; - } - - .prose :where([class~="lead"]):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - color: var(--tw-prose-lead); - margin-top: 1.2em; - margin-bottom: 1.2em; - font-size: 1.25em; - line-height: 1.6; - } - - .prose :where(ul):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - margin-top: 1.25em; - margin-bottom: 1.25em; - padding-inline-start: 1rem; - list-style-type: disc; - } - - .prose :where(li):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - margin-top: .5em; - margin-bottom: .5em; - } - - .prose :where(ol > li):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - padding-inline-start: .375em; - } - - .prose :where(ul > li):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - padding-inline-start: 0; - } - - .prose :where(.prose > ul > li p):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - margin-top: .75em; - margin-bottom: .75em; - } - - .prose :where(.prose > ul > li > p:first-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - margin-top: 1.25em; - } - - .prose :where(.prose > ul > li > p:last-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - margin-bottom: 1.25em; - } - - .prose :where(.prose > ol > li > p:first-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - margin-top: 1.25em; - } - - .prose :where(.prose > ol > li > p:last-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - margin-bottom: 1.25em; - } - - .prose :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - margin-top: .75em; - margin-bottom: .75em; - } - - .prose :where(dl):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - margin-top: 1.25em; - margin-bottom: 1.25em; - } - - .prose :where(dt):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - color: var(--tw-prose-headings); - margin-top: 1.25em; - font-weight: 600; - } - - .prose :where(dd):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - margin-top: .5em; - padding-inline-start: 1.625em; - } - - .prose :where(hr):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - border-color: var(--tw-prose-hr); - border-top-width: 1px; - margin-top: 3em; - margin-bottom: 3em; - } - - .prose :where(p):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - margin-top: 1.25em; - margin-bottom: 1.25em; - } - - .prose :where(strong):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - color: var(--tw-prose-bold); - font-weight: 500; - } - - .prose :where(a strong):not(:where([class~="not-prose"], [class~="not-prose"] *)), .prose :where(blockquote strong):not(:where([class~="not-prose"], [class~="not-prose"] *)), .prose :where(thead th strong):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - color: inherit; - } - - .prose :where(ol):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - margin-top: 1.25em; - margin-bottom: 1.25em; - padding-inline-start: 1.625em; - list-style-type: decimal; - } - - .prose :where(ol[type="A"]):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - list-style-type: upper-alpha; - } - - .prose :where(ol[type="a"]):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - list-style-type: lower-alpha; - } - - .prose :where(ol[type="A" s]):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - list-style-type: upper-alpha; - } - - .prose :where(ol[type="a" s]):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - list-style-type: lower-alpha; - } - - .prose :where(ol[type="I"]):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - list-style-type: upper-roman; - } - - .prose :where(ol[type="i"]):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - list-style-type: lower-roman; - } - - .prose :where(ol[type="I" s]):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - list-style-type: upper-roman; - } - - .prose :where(ol[type="i" s]):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - list-style-type: lower-roman; - } - - .prose :where(ol[type="1"]):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - list-style-type: decimal; - } - - .prose :where(ol > li):not(:where([class~="not-prose"], [class~="not-prose"] *))::marker { - color: var(--tw-prose-counters); - font-weight: 400; - } - - .prose :where(ul > li):not(:where([class~="not-prose"], [class~="not-prose"] *))::marker { - color: var(--tw-prose-bullets); - } - - .prose :where(blockquote):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - color: var(--tw-prose-quotes); - border-inline-start-width: .25rem; - border-inline-start-color: var(--tw-prose-quote-borders); - quotes: "“""”""‘""’"; - margin-top: 1.6em; - margin-bottom: 1.6em; - padding-inline-start: 1em; - font-style: italic; - font-weight: 500; - } - - .prose :where(blockquote p:first-of-type):not(:where([class~="not-prose"], [class~="not-prose"] *)):before { - content: open-quote; - } - - .prose :where(blockquote p:last-of-type):not(:where([class~="not-prose"], [class~="not-prose"] *)):after { - content: close-quote; - } - - .prose :where(h1):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - color: var(--tw-prose-headings); - font-weight: 800; - font-size: var(--text-3xl); - margin-top: 0; - margin-bottom: .888889em; - line-height: 1.11111; - } - - .prose :where(h1 strong):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - color: inherit; - font-weight: 900; - } - - .prose :where(h2):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - color: var(--tw-prose-headings); - margin-top: 2em; - margin-bottom: 1em; - font-size: 1.5em; - font-weight: 600; - line-height: 1.33333; - } - - .prose :where(h2 strong):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - color: inherit; - font-weight: 800; - } - - .prose :where(h3):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - color: var(--tw-prose-headings); - margin-top: 1.6em; - margin-bottom: .6em; - font-size: 1.25em; - font-weight: 600; - line-height: 1.6; - } - - .prose :where(h3 strong):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - color: inherit; - font-weight: 700; - } - - .prose :where(h4):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - color: var(--tw-prose-headings); - margin-top: 1.5em; - margin-bottom: .5em; - font-weight: 600; - line-height: 1.5; - } - - .prose :where(h4 strong):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - color: inherit; - font-weight: 700; - } - - .prose :where(hr + *):not(:where([class~="not-prose"], [class~="not-prose"] *)), .prose :where(h2 + *):not(:where([class~="not-prose"], [class~="not-prose"] *)), .prose :where(h3 + *):not(:where([class~="not-prose"], [class~="not-prose"] *)), .prose :where(h4 + *):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - margin-top: 0; - } - - .prose :where(img):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - margin-top: 2em; - margin-bottom: 2em; - } - - .prose :where(picture):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - margin-top: 2em; - margin-bottom: 2em; - display: block; - } - - .prose :where(picture > img):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - margin-top: 0; - margin-bottom: 0; - } - - .prose :where(video):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - margin-top: 2em; - margin-bottom: 2em; - } - - .prose :where(kbd):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - padding-top: .1875em; - padding-inline-end: .375em; - padding-bottom: .1875em; - color: var(--tw-prose-kbd); - box-shadow: 0 0 0 1px var(--tw-prose-kbd-shadows), 0 3px 0 var(--tw-prose-kbd-shadows); - border-radius: .3125rem; - padding-inline-start: .375em; - font-family: inherit; - font-size: .875em; - font-weight: 500; - } - - .prose :where(code):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - border: 1px solid; - border-color: var(--color-fd-border); - background: var(--color-fd-muted); - color: var(--tw-prose-code); - border-radius: 5px; - padding: 3px; - font-size: 13px; - font-weight: 400; - } - - .prose :where(a code):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - color: inherit; - } - - .prose :where(h1 code):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - color: inherit; - font-size: var(--text-2xl); - } - - .prose :where(h2 code):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - color: inherit; - font-size: .875em; - } - - .prose :where(h3 code):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - color: inherit; - font-size: .9em; - } - - .prose :where(h4 code):not(:where([class~="not-prose"], [class~="not-prose"] *)), .prose :where(blockquote code):not(:where([class~="not-prose"], [class~="not-prose"] *)), .prose :where(thead th code):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - color: inherit; - } - - .prose :where(table):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - table-layout: auto; - border-collapse: separate; - border-spacing: 0; - background: var(--color-fd-card); - border-radius: var(--radius-lg); - border: 1px solid var(--color-fd-border); - width: 100%; - margin-top: 2em; - margin-bottom: 2em; - font-size: .875em; - line-height: 1.71429; - overflow: hidden; - } - - .prose :where(thead th):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - color: var(--tw-prose-headings); - font-weight: 600; - } - - .prose :where(figure):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - margin-top: 2em; - margin-bottom: 2em; - } - - .prose :where(figure > *):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - margin-top: 0; - margin-bottom: 0; - } - - .prose :where(figcaption):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - color: var(--tw-prose-captions); - margin-top: .857143em; - font-size: .875em; - line-height: 1.42857; - } - - .prose :where(a:not([data-card])):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - color: var(--tw-prose-links); - text-underline-offset: 3.5px; - text-decoration: underline; - -webkit-text-decoration-color: var(--color-fd-primary); - text-decoration-color: var(--color-fd-primary); - font-weight: 500; - text-decoration-thickness: 1.5px; - transition: opacity .2s; - } - - .prose :where(a:not([data-card]):hover):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - opacity: .8; - } - - .prose { - --tw-prose-body: #0a0a0ae6; - } - - @supports (color: color-mix(in lab, red, red)) { - .prose { - --tw-prose-body: color-mix(in oklab, var(--color-fd-foreground) 90%, transparent); - } - } - - .prose { - --tw-prose-headings: var(--color-fd-foreground); - --tw-prose-lead: var(--color-fd-foreground); - --tw-prose-links: var(--color-fd-foreground); - --tw-prose-bold: var(--color-fd-foreground); - --tw-prose-counters: var(--color-fd-muted-foreground); - --tw-prose-bullets: var(--color-fd-muted-foreground); - --tw-prose-hr: var(--color-fd-border); - --tw-prose-quotes: var(--color-fd-foreground); - --tw-prose-quote-borders: var(--color-fd-border); - --tw-prose-captions: var(--color-fd-foreground); - --tw-prose-code: var(--color-fd-foreground); - --tw-prose-th-borders: var(--color-fd-border); - --tw-prose-td-borders: var(--color-fd-border); - --tw-prose-kbd: var(--color-fd-foreground); - --tw-prose-kbd-shadows: #17171780; - } - - @supports (color: color-mix(in lab, red, red)) { - .prose { - --tw-prose-kbd-shadows: color-mix(in oklab, var(--color-fd-primary) 50%, transparent); - } - } - - .prose :where(.prose > :first-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - margin-top: 0; - } - - .prose :where(.prose > :last-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - margin-bottom: 0; - } - - .prose :where(th):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - text-align: start; - padding: calc(var(--spacing) * 2.5); - border-inline-start: 1px solid var(--color-fd-border); - background: var(--color-fd-muted); - } - - .prose :where(th:first-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - border-inline-start: none; - } - - .prose :where(th:not(tr:last-child *), td:not(tr:last-child *)):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - border-bottom: 1px solid var(--color-fd-border); - } - - .prose :where(td):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - text-align: start; - border-inline-start: 1px solid var(--color-fd-border); - padding: calc(var(--spacing) * 2.5); - } - - .prose :where(td:first-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - border-inline-start: none; - } - - .prose :where(tfoot th, tfoot td):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - border-top-width: 1px; - border-top-color: var(--tw-prose-th-borders); - } - - .prose :where(thead th, thead td):not(:where([class~="not-prose"], [class~="not-prose"] *)) { - border-bottom-width: 1px; - border-bottom-color: var(--tw-prose-th-borders); - } - - .prose-no-margin > :first-child { - margin-top: 0; - } - - .prose-no-margin > :last-child { - margin-bottom: 0; - } - - .mt-1 { - margin-top: calc(var(--spacing) * 1); - } - - .mt-2 { - margin-top: calc(var(--spacing) * 2); - } - - .mt-6 { - margin-top: calc(var(--spacing) * 6); - } - - .mt-px { - margin-top: 1px; - } - - .-mb-px { - margin-bottom: -1px; - } - - .mb-0 { - margin-bottom: calc(var(--spacing) * 0); - } - - .mb-1 { - margin-bottom: calc(var(--spacing) * 1); - } - - .mb-1\.5 { - margin-bottom: calc(var(--spacing) * 1.5); - } - - .mb-2 { - margin-bottom: calc(var(--spacing) * 2); - } - - .mb-4 { - margin-bottom: calc(var(--spacing) * 4); - } - - .mb-6 { - margin-bottom: calc(var(--spacing) * 6); - } - - .mb-8 { - margin-bottom: calc(var(--spacing) * 8); - } - - .mb-10 { - margin-bottom: calc(var(--spacing) * 10); - } - - .mb-auto { - margin-bottom: auto; - } - - .ml-20 { - margin-left: calc(var(--spacing) * 20); - } - - .fd-scroll-container::-webkit-scrollbar { - width: 5px; - height: 5px; - } - - .fd-scroll-container::-webkit-scrollbar-thumb { - background: var(--color-fd-border); - border-radius: 5px; - } - - .fd-scroll-container::-webkit-scrollbar-track { - background: none; - } - - .fd-scroll-container::-webkit-scrollbar-corner { - display: none; - } - - .block { - display: block; - } - - .flex { - display: flex; - } - - .grid { - display: grid; - } - - .hidden { - display: none; - } - - .inline { - display: inline; - } - - .inline-flex { - display: inline-flex; - } - - .table { - display: table; - } - - .size-2 { - width: calc(var(--spacing) * 2); - height: calc(var(--spacing) * 2); - } - - .size-3 { - width: calc(var(--spacing) * 3); - height: calc(var(--spacing) * 3); - } - - .size-3\.5 { - width: calc(var(--spacing) * 3.5); - height: calc(var(--spacing) * 3.5); - } - - .size-4 { - width: calc(var(--spacing) * 4); - height: calc(var(--spacing) * 4); - } - - .size-4\.5 { - width: calc(var(--spacing) * 4.5); - height: calc(var(--spacing) * 4.5); - } - - .size-5 { - width: calc(var(--spacing) * 5); - height: calc(var(--spacing) * 5); - } - - .size-6\.5 { - width: calc(var(--spacing) * 6.5); - height: calc(var(--spacing) * 6.5); - } - - .size-8 { - width: calc(var(--spacing) * 8); - height: calc(var(--spacing) * 8); - } - - .size-9 { - width: calc(var(--spacing) * 9); - height: calc(var(--spacing) * 9); - } - - .size-10 { - width: calc(var(--spacing) * 10); - height: calc(var(--spacing) * 10); - } - - .size-14 { - width: calc(var(--spacing) * 14); - height: calc(var(--spacing) * 14); - } - - .size-15 { - width: calc(var(--spacing) * 15); - height: calc(var(--spacing) * 15); - } - - .size-16 { - width: calc(var(--spacing) * 16); - height: calc(var(--spacing) * 16); - } - - .size-24 { - width: calc(var(--spacing) * 24); - height: calc(var(--spacing) * 24); - } - - .size-40 { - width: calc(var(--spacing) * 40); - height: calc(var(--spacing) * 40); - } - - .size-full { - width: 100%; - height: 100%; - } - - .h-\(--fd-animated-height\) { - height: var(--fd-animated-height); - } - - .h-\(--fd-header-height\) { - height: var(--fd-header-height); - } - - .h-\(--fd-height\) { - height: var(--fd-height); - } - - .h-\(--fd-toc-popover-height\) { - height: var(--fd-toc-popover-height); - } - - .h-\(--radix-navigation-menu-viewport-height\) { - height: var(--radix-navigation-menu-viewport-height); - } - - .h-1\.5 { - height: calc(var(--spacing) * 1.5); - } - - .h-3\.5 { - height: calc(var(--spacing) * 3.5); - } - - .h-5 { - height: calc(var(--spacing) * 5); - } - - .h-6 { - height: calc(var(--spacing) * 6); - } - - .h-7 { - height: calc(var(--spacing) * 7); - } - - .h-9 { - height: calc(var(--spacing) * 9); - } - - .h-9\.5 { - height: calc(var(--spacing) * 9.5); - } - - .h-10 { - height: calc(var(--spacing) * 10); - } - - .h-14 { - height: calc(var(--spacing) * 14); - } - - .h-16 { - height: calc(var(--spacing) * 16); - } - - .h-20 { - height: calc(var(--spacing) * 20); - } - - .h-50 { - height: calc(var(--spacing) * 50); - } - - .h-56 { - height: calc(var(--spacing) * 56); - } - - .h-60 { - height: calc(var(--spacing) * 60); - } - - .h-64 { - height: calc(var(--spacing) * 64); - } - - .h-\[400px\] { - height: 400px; - } - - .h-\[600px\] { - height: 600px; - } - - .h-\[calc\(var\(--fd-docs-height\)-var\(--fd-docs-row-1\)\)\] { - height: calc(var(--fd-docs-height) - var(--fd-docs-row-1)); - } - - .h-\[calc\(var\(--fd-docs-height\)-var\(--fd-docs-row-2\)\)\] { - height: calc(var(--fd-docs-height) - var(--fd-docs-row-2)); - } - - .h-\[calc\(var\(--fd-docs-height\)-var\(--fd-docs-row-3\)\)\] { - height: calc(var(--fd-docs-height) - var(--fd-docs-row-3)); - } - - .h-fit { - height: fit-content; - } - - .h-full { - height: 100%; - } - - .h-px { - height: 1px; - } - - .max-h-\(--radix-popover-content-available-height\) { - max-height: var(--radix-popover-content-available-height); - } - - .max-h-32 { - max-height: calc(var(--spacing) * 32); - } - - .max-h-\[50vh\] { - max-height: 50vh; - } - - .max-h-\[80svh\] { - max-height: 80svh; - } - - .max-h-\[460px\] { - max-height: 460px; - } - - .max-h-\[600px\] { - max-height: 600px; - } - - .min-h-\(--fd-docs-height\) { - min-height: var(--fd-docs-height); - } - - .min-h-0 { - min-height: calc(var(--spacing) * 0); - } - - .min-h-50 { - min-height: calc(var(--spacing) * 50); - } - - .min-h-\[300px\] { - min-height: 300px; - } - - .min-h-\[350px\] { - min-height: 350px; - } - - .min-h-\[400px\] { - min-height: 400px; - } - - .min-h-full { - min-height: 100%; - } - - .min-h-screen { - min-height: 100vh; - } - - .min-h-svh { - min-height: 100svh; - } - - .w-\(--fd-sidebar-width\) { - width: var(--fd-sidebar-width); - } - - .w-\(--fd-toc-width\) { - width: var(--fd-toc-width); - } - - .w-\(--radix-popover-trigger-width\) { - width: var(--radix-popover-trigger-width); - } - - .w-0 { - width: calc(var(--spacing) * 0); - } - - .w-0\.5 { - width: calc(var(--spacing) * .5); - } - - .w-1\.5 { - width: calc(var(--spacing) * 1.5); - } - - .w-3\.5 { - width: calc(var(--spacing) * 3.5); - } - - .w-4 { - width: calc(var(--spacing) * 4); - } - - .w-5 { - width: calc(var(--spacing) * 5); - } - - .w-6 { - width: calc(var(--spacing) * 6); - } - - .w-7 { - width: calc(var(--spacing) * 7); - } - - .w-9 { - width: calc(var(--spacing) * 9); - } - - .w-10 { - width: calc(var(--spacing) * 10); - } - - .w-20 { - width: calc(var(--spacing) * 20); - } - - .w-28 { - width: calc(var(--spacing) * 28); - } - - .w-30 { - width: calc(var(--spacing) * 30); - } - - .w-40 { - width: calc(var(--spacing) * 40); - } - - .w-48 { - width: calc(var(--spacing) * 48); - } - - .w-60 { - width: calc(var(--spacing) * 60); - } - - .w-64 { - width: calc(var(--spacing) * 64); - } - - .w-72 { - width: calc(var(--spacing) * 72); - } - - .w-80 { - width: calc(var(--spacing) * 80); - } - - .w-96 { - width: calc(var(--spacing) * 96); - } - - .w-\[25\%\] { - width: 25%; - } - - .w-\[85\%\] { - width: 85%; - } - - .w-\[calc\(100\%-1rem\)\] { - width: calc(100% - 1rem); - } - - .w-fit { - width: fit-content; - } - - .w-full { - width: 100%; - } - - .w-max { - width: max-content; - } - - .w-px { - width: 1px; - } - - .w-sm { - width: var(--container-sm); - } - - .max-w-2xl { - max-width: var(--container-2xl); - } - - .max-w-30 { - max-width: calc(var(--spacing) * 30); - } - - .max-w-\[98vw\] { - max-width: 98vw; - } - - .max-w-\[240px\] { - max-width: 240px; - } - - .max-w-\[380px\] { - max-width: 380px; - } - - .max-w-\[900px\] { - max-width: 900px; - } - - .max-w-\[1200px\] { - max-width: 1200px; - } - - .max-w-\[1400px\] { - max-width: 1400px; - } - - .max-w-screen-sm { - max-width: var(--breakpoint-sm); - } - - .max-w-sm { - max-width: var(--container-sm); - } - - .min-w-0 { - min-width: calc(var(--spacing) * 0); - } - - .min-w-20 { - min-width: calc(var(--spacing) * 20); - } - - .min-w-28 { - min-width: calc(var(--spacing) * 28); - } - - .min-w-\[240px\] { - min-width: 240px; - } - - .min-w-fit { - min-width: fit-content; - } - - .min-w-full { - min-width: 100%; - } - - .flex-1 { - flex: 1; - } - - .shrink { - flex-shrink: 1; - } - - .shrink-0 { - flex-shrink: 0; - } - - .origin-\(--radix-popover-content-transform-origin\) { - transform-origin: var(--radix-popover-content-transform-origin); - } - - .origin-\[top_center\] { - transform-origin: top; - } - - .-translate-x-\(--fd-sidebar-width\) { - --tw-translate-x: calc(var(--fd-sidebar-width) * -1); - translate: var(--tw-translate-x) var(--tw-translate-y); - } - - .-translate-x-1\/2 { - --tw-translate-x: calc(calc(1 / 2 * 100%) * -1); - translate: var(--tw-translate-x) var(--tw-translate-y); - } - - .-translate-x-\[50\%\] { - --tw-translate-x: calc(50% * -1); - translate: var(--tw-translate-x) var(--tw-translate-y); - } - - .-translate-x-\[80\%\] { - --tw-translate-x: calc(80% * -1); - translate: var(--tw-translate-x) var(--tw-translate-y); - } - - .-translate-x-\[100\%\] { - --tw-translate-x: calc(100% * -1); - translate: var(--tw-translate-x) var(--tw-translate-y); - } - - .translate-x-2 { - --tw-translate-x: calc(var(--spacing) * 2); - translate: var(--tw-translate-x) var(--tw-translate-y); - } - - .translate-x-\[50\%\] { - --tw-translate-x: 50%; - translate: var(--tw-translate-x) var(--tw-translate-y); - } - - .translate-x-\[80\%\] { - --tw-translate-x: 80%; - translate: var(--tw-translate-x) var(--tw-translate-y); - } - - .translate-x-\[100\%\] { - --tw-translate-x: 100%; - translate: var(--tw-translate-x) var(--tw-translate-y); - } - - .-translate-y-1\/2 { - --tw-translate-y: calc(calc(1 / 2 * 100%) * -1); - translate: var(--tw-translate-x) var(--tw-translate-y); - } - - .-translate-y-full { - --tw-translate-y: -100%; - translate: var(--tw-translate-x) var(--tw-translate-y); - } - - .translate-y-\[10\%\] { - --tw-translate-y: 10%; - translate: var(--tw-translate-x) var(--tw-translate-y); - } - - .translate-y-\[20\%\] { - --tw-translate-y: 20%; - translate: var(--tw-translate-x) var(--tw-translate-y); - } - - .translate-y-\[25\%\] { - --tw-translate-y: 25%; - translate: var(--tw-translate-x) var(--tw-translate-y); - } - - .translate-y-full { - --tw-translate-y: 100%; - translate: var(--tw-translate-x) var(--tw-translate-y); - } - - .-rotate-90 { - rotate: -90deg; - } - - .rotate-130 { - rotate: 130deg; - } - - .rotate-180 { - rotate: 180deg; - } - - .transform { - transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, ); - } - - .animate-pulse { - animation: var(--animate-pulse); - } - - .animate-spin { - animation: var(--animate-spin); - } - - .cursor-pointer { - cursor: pointer; - } - - .scroll-m-24 { - scroll-margin: calc(var(--spacing) * 24); - } - - .scroll-m-28 { - scroll-margin: calc(var(--spacing) * 28); - } - - .scroll-mt-24 { - scroll-margin-top: calc(var(--spacing) * 24); - } - - .list-none { - list-style-type: none; - } - - .auto-cols-auto { - grid-auto-columns: auto; - } - - .auto-rows-auto { - grid-auto-rows: auto; - } - - .grid-cols-1 { - grid-template-columns: repeat(1, minmax(0, 1fr)); - } - - .grid-cols-2 { - grid-template-columns: repeat(2, minmax(0, 1fr)); - } - - .grid-cols-\[1fr\] { - grid-template-columns: 1fr; - } - - .grid-cols-\[1fr_3fr\] { - grid-template-columns: 1fr 3fr; - } - - .flex-col { - flex-direction: column; - } - - .flex-row { - flex-direction: row; - } - - .flex-row-reverse { - flex-direction: row-reverse; - } - - .flex-wrap { - flex-wrap: wrap; - } - - .items-center { - align-items: center; - } - - .items-end { - align-items: flex-end; - } - - .items-start { - align-items: flex-start; - } - - .justify-between { - justify-content: space-between; - } - - .justify-center { - justify-content: center; - } - - .justify-end { - justify-content: flex-end; - } - - .gap-0\.5 { - gap: calc(var(--spacing) * .5); - } - - .gap-1 { - gap: calc(var(--spacing) * 1); - } - - .gap-1\.5 { - gap: calc(var(--spacing) * 1.5); - } - - .gap-2 { - gap: calc(var(--spacing) * 2); - } - - .gap-2\.5 { - gap: calc(var(--spacing) * 2.5); - } - - .gap-3 { - gap: calc(var(--spacing) * 3); - } - - .gap-3\.5 { - gap: calc(var(--spacing) * 3.5); - } - - .gap-4 { - gap: calc(var(--spacing) * 4); - } - - .gap-5 { - gap: calc(var(--spacing) * 5); - } - - .gap-6 { - gap: calc(var(--spacing) * 6); - } - - .gap-10 { - gap: calc(var(--spacing) * 10); - } - - :where(.space-y-1\.5 > :not(:last-child)) { - --tw-space-y-reverse: 0; - margin-block-start: calc(calc(var(--spacing) * 1.5) * var(--tw-space-y-reverse)); - margin-block-end: calc(calc(var(--spacing) * 1.5) * calc(1 - var(--tw-space-y-reverse))); - } - - :where(.space-y-3 > :not(:last-child)) { - --tw-space-y-reverse: 0; - margin-block-start: calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse)); - margin-block-end: calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse))); - } - - :where(.space-y-4 > :not(:last-child)) { - --tw-space-y-reverse: 0; - margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse)); - margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse))); - } - - .gap-y-4 { - row-gap: calc(var(--spacing) * 4); - } - - :where(.divide-y > :not(:last-child)) { - --tw-divide-y-reverse: 0; - border-bottom-style: var(--tw-border-style); - border-top-style: var(--tw-border-style); - border-top-width: calc(1px * var(--tw-divide-y-reverse)); - border-bottom-width: calc(1px * calc(1 - var(--tw-divide-y-reverse))); - } - - :where(.divide-fd-border > :not(:last-child)) { - border-color: var(--color-fd-border); - } - - .truncate { - text-overflow: ellipsis; - white-space: nowrap; - overflow: hidden; - } - - .overflow-auto { - overflow: auto; - } - - .overflow-hidden { - overflow: hidden; - } - - .overflow-x-auto { - overflow-x: auto; - } - - .overflow-x-clip { - overflow-x: clip; - } - - .overflow-x-hidden { - overflow-x: hidden; - } - - .overflow-y-auto { - overflow-y: auto; - } - - .overflow-y-scroll { - overflow-y: scroll; - } - - .overscroll-contain { - overscroll-behavior: contain; - } - - .\!rounded-none { - border-radius: 0 !important; - } - - .rounded-2xl { - border-radius: var(--radius-2xl); - } - - .rounded-3xl { - border-radius: var(--radius-3xl); - } - - .rounded-\[4px\] { - border-radius: 4px; - } - - .rounded-\[5px\] { - border-radius: 5px; - } - - .rounded-\[12px\] { - border-radius: 12px; - } - - .rounded-\[15px\] { - border-radius: 15px; - } - - .rounded-\[inherit\] { - border-radius: inherit; - } - - .rounded-full { - border-radius: 3.40282e38px; - } - - .rounded-lg { - border-radius: var(--radius-lg); - } - - .rounded-md { - border-radius: var(--radius-md); - } - - .rounded-sm { - border-radius: var(--radius-sm); - } - - .rounded-xl { - border-radius: var(--radius-xl); - } - - .rounded-e-sm { - border-start-end-radius: var(--radius-sm); - border-end-end-radius: var(--radius-sm); - } - - .rounded-t-lg { - border-top-left-radius: var(--radius-lg); - border-top-right-radius: var(--radius-lg); - } - - .\!border-\[1px\] { - border-style: var(--tw-border-style) !important; - border-width: 1px !important; - } - - .border { - border-style: var(--tw-border-style); - border-width: 1px; - } - - .border-0 { - border-style: var(--tw-border-style); - border-width: 0; - } - - .border-s { - border-inline-start-style: var(--tw-border-style); - border-inline-start-width: 1px; - } - - .border-e { - border-inline-end-style: var(--tw-border-style); - border-inline-end-width: 1px; - } - - .border-t { - border-top-style: var(--tw-border-style); - border-top-width: 1px; - } - - .border-r { - border-right-style: var(--tw-border-style); - border-right-width: 1px; - } - - .border-b { - border-bottom-style: var(--tw-border-style); - border-bottom-width: 1px; - } - - .border-b-2 { - border-bottom-style: var(--tw-border-style); - border-bottom-width: 2px; - } - - .border-l { - border-left-style: var(--tw-border-style); - border-left-width: 1px; - } - - .\!border-neutral-200 { - border-color: var(--color-neutral-200) !important; - } - - .border-black\/5 { - border-color: #0000000d; - } - - @supports (color: color-mix(in lab, red, red)) { - .border-black\/5 { - border-color: color-mix(in oklab, var(--color-black) 5%, transparent); - } - } - - .border-black\/10 { - border-color: #0000001a; - } - - @supports (color: color-mix(in lab, red, red)) { - .border-black\/10 { - border-color: color-mix(in oklab, var(--color-black) 10%, transparent); - } - } - - .border-black\/30 { - border-color: #0000004d; - } - - @supports (color: color-mix(in lab, red, red)) { - .border-black\/30 { - border-color: color-mix(in oklab, var(--color-black) 30%, transparent); - } - } - - .border-black\/50 { - border-color: #00000080; - } - - @supports (color: color-mix(in lab, red, red)) { - .border-black\/50 { - border-color: color-mix(in oklab, var(--color-black) 50%, transparent); - } - } - - .border-fd-border { - border-color: var(--color-fd-border); - } - - .border-fd-foreground\/10 { - border-color: #0a0a0a1a; - } - - @supports (color: color-mix(in lab, red, red)) { - .border-fd-foreground\/10 { - border-color: color-mix(in oklab, var(--color-fd-foreground) 10%, transparent); - } - } - - .border-fd-primary { - border-color: var(--color-fd-primary); - } - - .border-green-200 { - border-color: var(--color-green-200); - } - - .border-neutral-200 { - border-color: var(--color-neutral-200); - } - - .border-neutral-300 { - border-color: var(--color-neutral-300); - } - - .border-neutral-300\/50 { - border-color: #d4d4d480; - } - - @supports (color: color-mix(in lab, red, red)) { - .border-neutral-300\/50 { - border-color: color-mix(in oklab, var(--color-neutral-300) 50%, transparent); - } - } - - .border-transparent { - border-color: #0000; - } - - .bg-\(--callout-color\)\/50 { - background-color: var(--callout-color); - } - - @supports (color: color-mix(in lab, red, red)) { - .bg-\(--callout-color\)\/50 { - background-color: color-mix(in oklab, var(--callout-color) 50%, transparent); - } - } - - .bg-\(--shiki-light-bg\) { - background-color: var(--shiki-light-bg); - } - - .bg-\[\#F0F0F0\] { - background-color: #f0f0f0; - } - - .bg-background { - background-color: var(--background); - } - - .bg-background\/50 { - background-color: var(--background); - } - - @supports (color: color-mix(in lab, red, red)) { - .bg-background\/50 { - background-color: color-mix(in oklab, var(--background) 50%, transparent); - } - } - - .bg-black { - background-color: var(--color-black); - } - - .bg-black\/5 { - background-color: #0000000d; - } - - @supports (color: color-mix(in lab, red, red)) { - .bg-black\/5 { - background-color: color-mix(in oklab, var(--color-black) 5%, transparent); - } - } - - .bg-black\/10 { - background-color: #0000001a; - } - - @supports (color: color-mix(in lab, red, red)) { - .bg-black\/10 { - background-color: color-mix(in oklab, var(--color-black) 10%, transparent); - } - } - - .bg-black\/80 { - background-color: #000c; - } - - @supports (color: color-mix(in lab, red, red)) { - .bg-black\/80 { - background-color: color-mix(in oklab, var(--color-black) 80%, transparent); - } - } - - .bg-blue-200 { - background-color: var(--color-blue-200); - } - - .bg-fd-accent { - background-color: var(--color-fd-accent); - } - - .bg-fd-background { - background-color: var(--color-fd-background); - } - - .bg-fd-background\/80 { - background-color: #f5f5f5cc; - } - - @supports (color: color-mix(in lab, red, red)) { - .bg-fd-background\/80 { - background-color: color-mix(in oklab, var(--color-fd-background) 80%, transparent); - } - } - - .bg-fd-border { - background-color: var(--color-fd-border); - } - - .bg-fd-card { - background-color: var(--color-fd-card); - } - - .bg-fd-foreground\/10 { - background-color: #0a0a0a1a; - } - - @supports (color: color-mix(in lab, red, red)) { - .bg-fd-foreground\/10 { - background-color: color-mix(in oklab, var(--color-fd-foreground) 10%, transparent); - } - } - - .bg-fd-muted { - background-color: var(--color-fd-muted); - } - - .bg-fd-overlay { - background-color: var(--color-fd-overlay); - } - - .bg-fd-popover { - background-color: var(--color-fd-popover); - } - - .bg-fd-popover\/60 { - background-color: #fafafa99; - } - - @supports (color: color-mix(in lab, red, red)) { - .bg-fd-popover\/60 { - background-color: color-mix(in oklab, var(--color-fd-popover) 60%, transparent); - } - } - - .bg-fd-primary { - background-color: var(--color-fd-primary); - } - - .bg-fd-primary\/10 { - background-color: #1717171a; - } - - @supports (color: color-mix(in lab, red, red)) { - .bg-fd-primary\/10 { - background-color: color-mix(in oklab, var(--color-fd-primary) 10%, transparent); - } - } - - .bg-fd-secondary { - background-color: var(--color-fd-secondary); - } - - .bg-fd-secondary\/50 { - background-color: #ededed80; - } - - @supports (color: color-mix(in lab, red, red)) { - .bg-fd-secondary\/50 { - background-color: color-mix(in oklab, var(--color-fd-secondary) 50%, transparent); - } - } - - .bg-green-100\/80 { - background-color: #dcfce7cc; - } - - @supports (color: color-mix(in lab, red, red)) { - .bg-green-100\/80 { - background-color: color-mix(in oklab, var(--color-green-100) 80%, transparent); - } - } - - .bg-green-200 { - background-color: var(--color-green-200); - } - - .bg-green-800 { - background-color: var(--color-green-800); - } - - .bg-neutral-100 { - background-color: var(--color-neutral-100); - } - - .bg-neutral-200 { - background-color: var(--color-neutral-200); - } - - .bg-neutral-200\/50 { - background-color: #e5e5e580; - } - - @supports (color: color-mix(in lab, red, red)) { - .bg-neutral-200\/50 { - background-color: color-mix(in oklab, var(--color-neutral-200) 50%, transparent); - } - } - - .bg-red-200 { - background-color: var(--color-red-200); - } - - .bg-red-300 { - background-color: var(--color-red-300); - } - - .bg-transparent { - background-color: #0000; - } - - .bg-violet-300 { - background-color: var(--color-violet-300); - } - - .bg-violet-400 { - background-color: var(--color-violet-400); - } - - .bg-white { - background-color: var(--color-white); - } - - .bg-white\/50 { - background-color: #ffffff80; - } - - @supports (color: color-mix(in lab, red, red)) { - .bg-white\/50 { - background-color: color-mix(in oklab, var(--color-white) 50%, transparent); - } - } - - .bg-yellow-200 { - background-color: var(--color-yellow-200); - } - - .bg-yellow-200\/40 { - background-color: #fff08566; - } - - @supports (color: color-mix(in lab, red, red)) { - .bg-yellow-200\/40 { - background-color: color-mix(in oklab, var(--color-yellow-200) 40%, transparent); - } - } - - .bg-gradient-to-t { - --tw-gradient-position: to top in oklab; - background-image: linear-gradient(var(--tw-gradient-stops)); - } - - .bg-\[radial-gradient\(\#e5e7eb_1px\,transparent_1px\)\] { - background-image: radial-gradient(#e5e7eb 1px, #0000 1px); - } - - .from-neutral-100 { - --tw-gradient-from: var(--color-neutral-100); - --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position)); - } - - .via-neutral-100\/40 { - --tw-gradient-via: #f5f5f566; - } - - @supports (color: color-mix(in lab, red, red)) { - .via-neutral-100\/40 { - --tw-gradient-via: color-mix(in oklab, var(--color-neutral-100) 40%, transparent); - } - } - - .via-neutral-100\/40 { - --tw-gradient-via-stops: var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position); - --tw-gradient-stops: var(--tw-gradient-via-stops); - } - - .to-transparent { - --tw-gradient-to: transparent; - --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position)); - } - - .mask-\[linear-gradient\(to_bottom\,transparent\,white_16px\,white_calc\(100\%-16px\)\,transparent\)\] { - -webkit-mask-image: linear-gradient(#0000, #fff 16px calc(100% - 16px), #0000); - mask-image: linear-gradient(#0000, #fff 16px calc(100% - 16px), #0000); - } - - .\[background-size\:16px_16px\] { - background-size: 16px 16px; - } - - .fill-\(--callout-color\) { - fill: var(--callout-color); - } - - .fill-emerald-500 { - fill: var(--color-emerald-500); - } - - .stroke-current\/25 { - stroke: currentColor; - } - - @supports (color: color-mix(in lab, red, red)) { - .stroke-current\/25 { - stroke: color-mix(in oklab, currentcolor 25%, transparent); - } - } - - .stroke-fd-foreground\/10 { - stroke: #0a0a0a1a; - } - - @supports (color: color-mix(in lab, red, red)) { - .stroke-fd-foreground\/10 { - stroke: color-mix(in oklab, var(--color-fd-foreground) 10%, transparent); - } - } - - .object-cover { - object-fit: cover; - } - - .p-0 { - padding: calc(var(--spacing) * 0); - } - - .p-0\.5 { - padding: calc(var(--spacing) * .5); - } - - .p-1 { - padding: calc(var(--spacing) * 1); - } - - .p-1\.5 { - padding: calc(var(--spacing) * 1.5); - } - - .p-2 { - padding: calc(var(--spacing) * 2); - } - - .p-3 { - padding: calc(var(--spacing) * 3); - } - - .p-4 { - padding: calc(var(--spacing) * 4); - } - - .p-5 { - padding: calc(var(--spacing) * 5); - } - - .p-8 { - padding: calc(var(--spacing) * 8); - } - - .p-10 { - padding: calc(var(--spacing) * 10); - } - - .px-1 { - padding-inline: calc(var(--spacing) * 1); - } - - .px-1\.5 { - padding-inline: calc(var(--spacing) * 1.5); - } - - .px-2 { - padding-inline: calc(var(--spacing) * 2); - } - - .px-2\.5 { - padding-inline: calc(var(--spacing) * 2.5); - } - - .px-3 { - padding-inline: calc(var(--spacing) * 3); - } - - .px-4 { - padding-inline: calc(var(--spacing) * 4); - } - - .px-5 { - padding-inline: calc(var(--spacing) * 5); - } - - .px-6 { - padding-inline: calc(var(--spacing) * 6); - } - - .px-10 { - padding-inline: calc(var(--spacing) * 10); - } - - .px-20 { - padding-inline: calc(var(--spacing) * 20); - } - - .py-0\.5 { - padding-block: calc(var(--spacing) * .5); - } - - .py-1 { - padding-block: calc(var(--spacing) * 1); - } - - .py-1\.5 { - padding-block: calc(var(--spacing) * 1.5); - } - - .py-2 { - padding-block: calc(var(--spacing) * 2); - } - - .py-2\.5 { - padding-block: calc(var(--spacing) * 2.5); - } - - .py-3 { - padding-block: calc(var(--spacing) * 3); - } - - .py-3\.5 { - padding-block: calc(var(--spacing) * 3.5); - } - - .py-5 { - padding-block: calc(var(--spacing) * 5); - } - - .py-6 { - padding-block: calc(var(--spacing) * 6); - } - - .py-10 { - padding-block: calc(var(--spacing) * 10); - } - - .py-12 { - padding-block: calc(var(--spacing) * 12); - } - - .py-px { - padding-block: 1px; - } - - .ps-1 { - padding-inline-start: calc(var(--spacing) * 1); - } - - .ps-2 { - padding-inline-start: calc(var(--spacing) * 2); - } - - .ps-2\.5 { - padding-inline-start: calc(var(--spacing) * 2.5); - } - - .ps-3 { - padding-inline-start: calc(var(--spacing) * 3); - } - - .ps-4 { - padding-inline-start: calc(var(--spacing) * 4); - } - - .ps-6 { - padding-inline-start: calc(var(--spacing) * 6); - } - - .ps-8 { - padding-inline-start: calc(var(--spacing) * 8); - } - - .pe-2 { - padding-inline-end: calc(var(--spacing) * 2); - } - - .pe-2\.5 { - padding-inline-end: calc(var(--spacing) * 2.5); - } - - .pe-4 { - padding-inline-end: calc(var(--spacing) * 4); - } - - .pt-0 { - padding-top: calc(var(--spacing) * 0); - } - - .pt-2 { - padding-top: calc(var(--spacing) * 2); - } - - .pt-3 { - padding-top: calc(var(--spacing) * 3); - } - - .pt-12 { - padding-top: calc(var(--spacing) * 12); - } - - .pt-20 { - padding-top: calc(var(--spacing) * 20); - } - - .pb-1\.5 { - padding-bottom: calc(var(--spacing) * 1.5); - } - - .pb-2 { - padding-bottom: calc(var(--spacing) * 2); - } - - .pb-5 { - padding-bottom: calc(var(--spacing) * 5); - } - - .text-center { - text-align: center; - } - - .text-end { - text-align: end; - } - - .text-start { - text-align: start; - } - - .font-mono { - font-family: var(--font-geist-mono); - } - - .text-2xl { - font-size: var(--text-2xl); - line-height: var(--tw-leading, var(--text-2xl--line-height)); - } - - .text-3xl { - font-size: var(--text-3xl); - line-height: var(--tw-leading, var(--text-3xl--line-height)); - } - - .text-4xl { - font-size: var(--text-4xl); - line-height: var(--tw-leading, var(--text-4xl--line-height)); - } - - .text-base { - font-size: var(--text-base); - line-height: var(--tw-leading, var(--text-base--line-height)); - } - - .text-lg { - font-size: var(--text-lg); - line-height: var(--tw-leading, var(--text-lg--line-height)); - } - - .text-sm { - font-size: var(--text-sm); - line-height: var(--tw-leading, var(--text-sm--line-height)); - } - - .text-xl { - font-size: var(--text-xl); - line-height: var(--tw-leading, var(--text-xl--line-height)); - } - - .text-xs { - font-size: var(--text-xs); - line-height: var(--tw-leading, var(--text-xs--line-height)); - } - - .text-\[0\.8125rem\] { - font-size: .8125rem; - } - - .text-\[0\.9375rem\] { - font-size: .9375rem; - } - - .text-\[1\.75em\] { - font-size: 1.75em; - } - - .text-\[11px\] { - font-size: 11px; - } - - .text-\[12px\] { - font-size: 12px; - } - - .leading-\[1\.05\] { - --tw-leading: 1.05; - line-height: 1.05; - } - - .leading-none { - --tw-leading: 1; - line-height: 1; - } - - .leading-relaxed { - --tw-leading: var(--leading-relaxed); - line-height: var(--leading-relaxed); - } - - .font-bold { - --tw-font-weight: var(--font-weight-bold); - font-weight: var(--font-weight-bold); - } - - .font-medium { - --tw-font-weight: var(--font-weight-medium); - font-weight: var(--font-weight-medium); - } - - .font-semibold { - --tw-font-weight: var(--font-weight-semibold); - font-weight: var(--font-weight-semibold); - } - - .tracking-tight { - --tw-tracking: var(--tracking-tight); - letter-spacing: var(--tracking-tight); - } - - .text-balance { - text-wrap: balance; - } - - .text-nowrap { - text-wrap: nowrap; - } - - .wrap-anywhere { - overflow-wrap: anywhere; - } - - .whitespace-nowrap { - white-space: nowrap; - } - - .text-\(--callout-color\) { - color: var(--callout-color); - } - - .text-amber-500 { - color: var(--color-amber-500); - } - - .text-black { - color: var(--color-black); - } - - .text-emerald-500 { - color: var(--color-emerald-500); - } - - .text-fd-accent-foreground { - color: var(--color-fd-accent-foreground); - } - - .text-fd-card { - color: var(--color-fd-card); - } - - .text-fd-card-foreground { - color: var(--color-fd-card-foreground); - } - - .text-fd-foreground { - color: var(--color-fd-foreground); - } - - .text-fd-foreground\/80 { - color: #0a0a0acc; - } - - @supports (color: color-mix(in lab, red, red)) { - .text-fd-foreground\/80 { - color: color-mix(in oklab, var(--color-fd-foreground) 80%, transparent); - } - } - - .text-fd-muted-foreground { - color: var(--color-fd-muted-foreground); - } - - .text-fd-muted-foreground\/50 { - color: #73737380; - } - - @supports (color: color-mix(in lab, red, red)) { - .text-fd-muted-foreground\/50 { - color: color-mix(in oklab, var(--color-fd-muted-foreground) 50%, transparent); - } - } - - .text-fd-popover-foreground { - color: var(--color-fd-popover-foreground); - } - - .text-fd-popover-foreground\/80 { - color: #272727cc; - } - - @supports (color: color-mix(in lab, red, red)) { - .text-fd-popover-foreground\/80 { - color: color-mix(in oklab, var(--color-fd-popover-foreground) 80%, transparent); - } - } - - .text-fd-primary { - color: var(--color-fd-primary); - } - - .text-fd-primary-foreground { - color: var(--color-fd-primary-foreground); - } - - .text-fd-primary\/50 { - color: #17171780; - } - - @supports (color: color-mix(in lab, red, red)) { - .text-fd-primary\/50 { - color: color-mix(in oklab, var(--color-fd-primary) 50%, transparent); - } - } - - .text-fd-secondary-foreground { - color: var(--color-fd-secondary-foreground); - } - - .text-foreground { - color: var(--foreground); - } - - .text-foreground\/70 { - color: var(--foreground); - } - - @supports (color: color-mix(in lab, red, red)) { - .text-foreground\/70 { - color: color-mix(in oklab, var(--foreground) 70%, transparent); - } - } - - .text-fuchsia-500 { - color: var(--color-fuchsia-500); - } - - .text-green-500 { - color: var(--color-green-500); - } - - .text-neutral-400 { - color: var(--color-neutral-400); - } - - .text-neutral-500 { - color: var(--color-neutral-500); - } - - .text-neutral-700 { - color: var(--color-neutral-700); - } - - .text-sky-500 { - color: var(--color-sky-500); - } - - .text-white { - color: var(--color-white); - } - - .line-through { - text-decoration-line: line-through; - } - - .underline { - text-decoration-line: underline; - } - - .antialiased { - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - } - - .opacity-0 { - opacity: 0; - } - - .shadow { - --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, #0000001a), 0 1px 2px -1px var(--tw-shadow-color, #0000001a); - box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow); - } - - .shadow-2xl { - --tw-shadow: 0 25px 50px -12px var(--tw-shadow-color, #00000040); - box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow); - } - - .shadow-lg { - --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, #0000001a), 0 4px 6px -4px var(--tw-shadow-color, #0000001a); - box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow); - } - - .shadow-md { - --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, #0000001a), 0 2px 4px -2px var(--tw-shadow-color, #0000001a); - box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow); - } - - .shadow-none { - --tw-shadow: 0 0 #0000; - box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow); - } - - .shadow-sm { - --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, #0000001a), 0 1px 2px -1px var(--tw-shadow-color, #0000001a); - box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow); - } - - .ring-1 { - --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor); - box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow); - } - - .shadow-black\/50 { - --tw-shadow-color: #00000080; - } - - @supports (color: color-mix(in lab, red, red)) { - .shadow-black\/50 { - --tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--color-black) 50%, transparent) var(--tw-shadow-alpha), transparent); - } - } - - .shadow-white { - --tw-shadow-color: #fff; - } - - @supports (color: color-mix(in lab, red, red)) { - .shadow-white { - --tw-shadow-color: color-mix(in oklab, var(--color-white) var(--tw-shadow-alpha), transparent); - } - } - - .ring-black\/10 { - --tw-ring-color: #0000001a; - } - - @supports (color: color-mix(in lab, red, red)) { - .ring-black\/10 { - --tw-ring-color: color-mix(in oklab, var(--color-black) 10%, transparent); - } - } - - .ring-black\/30 { - --tw-ring-color: #0000004d; - } - - @supports (color: color-mix(in lab, red, red)) { - .ring-black\/30 { - --tw-ring-color: color-mix(in oklab, var(--color-black) 30%, transparent); - } - } - - .ring-neutral-200 { - --tw-ring-color: var(--color-neutral-200); - } - - .ring-neutral-500 { - --tw-ring-color: var(--color-neutral-500); - } - - .outline { - outline-style: var(--tw-outline-style); - outline-width: 1px; - } - - .filter { - filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, ); - } - - .backdrop-blur-lg { - --tw-backdrop-blur: blur(var(--blur-lg)); - -webkit-backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, ); - backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, ); - } - - .backdrop-blur-md { - --tw-backdrop-blur: blur(var(--blur-md)); - -webkit-backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, ); - backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, ); - } - - .backdrop-blur-sm { - --tw-backdrop-blur: blur(var(--blur-sm)); - -webkit-backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, ); - backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, ); - } - - .backdrop-blur-xs { - --tw-backdrop-blur: blur(var(--blur-xs)); - -webkit-backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, ); - backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, ); - } - - .transition { - transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events; - transition-timing-function: var(--tw-ease, var(--default-transition-timing-function)); - transition-duration: var(--tw-duration, var(--default-transition-duration)); - } - - .transition-\[grid-template-columns\] { - transition-property: grid-template-columns; - transition-timing-function: var(--tw-ease, var(--default-transition-timing-function)); - transition-duration: var(--tw-duration, var(--default-transition-duration)); - } - - .transition-\[height\] { - transition-property: height; - transition-timing-function: var(--tw-ease, var(--default-transition-timing-function)); - transition-duration: var(--tw-duration, var(--default-transition-duration)); - } - - .transition-\[opacity\,translate\,color\] { - transition-property: opacity, translate, color; - transition-timing-function: var(--tw-ease, var(--default-transition-timing-function)); - transition-duration: var(--tw-duration, var(--default-transition-duration)); - } - - .transition-\[opacity\,translate\] { - transition-property: opacity, translate; - transition-timing-function: var(--tw-ease, var(--default-transition-timing-function)); - transition-duration: var(--tw-duration, var(--default-transition-duration)); - } - - .transition-\[top\,height\] { - transition-property: top, height; - transition-timing-function: var(--tw-ease, var(--default-transition-timing-function)); - transition-duration: var(--tw-duration, var(--default-transition-duration)); - } - - .transition-\[width\,height\] { - transition-property: width, height; - transition-timing-function: var(--tw-ease, var(--default-transition-timing-function)); - transition-duration: var(--tw-duration, var(--default-transition-duration)); - } - - .transition-\[width\,inset-block\,translate\,background-color\] { - transition-property: width, inset-block, translate, background-color; - transition-timing-function: var(--tw-ease, var(--default-transition-timing-function)); - transition-duration: var(--tw-duration, var(--default-transition-duration)); - } - - .transition-all { - transition-property: all; - transition-timing-function: var(--tw-ease, var(--default-transition-timing-function)); - transition-duration: var(--tw-duration, var(--default-transition-duration)); - } - - .transition-colors { - transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to; - transition-timing-function: var(--tw-ease, var(--default-transition-timing-function)); - transition-duration: var(--tw-duration, var(--default-transition-duration)); - } - - .transition-opacity { - transition-property: opacity; - transition-timing-function: var(--tw-ease, var(--default-transition-timing-function)); - transition-duration: var(--tw-duration, var(--default-transition-duration)); - } - - .transition-transform { - transition-property: transform, translate, scale, rotate; - transition-timing-function: var(--tw-ease, var(--default-transition-timing-function)); - transition-duration: var(--tw-duration, var(--default-transition-duration)); - } - - .duration-100 { - --tw-duration: .1s; - transition-duration: .1s; - } - - .duration-200 { - --tw-duration: .2s; - transition-duration: .2s; - } - - .duration-250 { - --tw-duration: .25s; - transition-duration: .25s; - } - - .duration-300 { - --tw-duration: .3s; - transition-duration: .3s; - } - - .duration-400 { - --tw-duration: .4s; - transition-duration: .4s; - } - - .ease-linear { - --tw-ease: linear; - transition-timing-function: linear; - } - - .outline-none { - --tw-outline-style: none; - outline-style: none; - } - - .select-none { - -webkit-user-select: none; - user-select: none; - } - - .\[--fd-docs-height\:100dvh\] { - --fd-docs-height: 100dvh; - } - - .\[--fd-header-height\:0px\] { - --fd-header-height: 0px; - } - - .\[--fd-layout-width\:1400px\] { - --fd-layout-width: 1400px; - } - - .\[--fd-sidebar-width\:0px\] { - --fd-sidebar-width: 0px; - } - - .\[--fd-toc-popover-height\:0px\] { - --fd-toc-popover-height: 0px; - } - - .\[--fd-toc-width\:0px\] { - --fd-toc-width: 0px; - } - - .\[grid-area\:header\] { - grid-area: header; - } - - .\[grid-area\:main\] { - grid-area: main; - } - - .\[grid-area\:sidebar\] { - grid-area: sidebar; - } - - .\[grid-area\:toc-popover\] { - grid-area: toc-popover; - } - - .\[grid-area\:toc\] { - grid-area: toc; - } - - .\[scrollbar-width\:none\] { - scrollbar-width: none; - } - - .text-shadow-2xs { - text-shadow: 0px 1px 0px var(--tw-text-shadow-color, #00000026); - } - - :is(.\*\:pointer-events-auto > *) { - pointer-events: auto; - } - - :is(.\*\:col-start-1 > *) { - grid-column-start: 1; - } - - :is(.\*\:row-start-1 > *) { - grid-row-start: 1; - } - - :is(.\*\:mx-auto > *) { - margin-inline: auto; - } - - :is(.\*\:my-auto > *) { - margin-block: auto; - } - - :is(.\*\:flex > *) { - display: flex; - } - - :is(.\*\:w-\(--fd-sidebar-width\) > *) { - width: var(--fd-sidebar-width); - } - - :is(.\*\:max-w-\(--fd-layout-width\) > *) { - max-width: var(--fd-layout-width); - } - - :is(.\*\:max-w-\[900px\] > *) { - max-width: 900px; - } - - :is(.\*\:max-w-\[1285px\] > *) { - max-width: 1285px; - } - - :is(.\*\:flex-col > *) { - flex-direction: column; - } - - :is(.\*\:border-b > *) { - border-bottom-style: var(--tw-border-style); - border-bottom-width: 1px; - } - - .not-last\:mb-2:not(:last-child) { - margin-bottom: calc(var(--spacing) * 2); - } - - @media (hover: hover) { - .group-hover\/code\:opacity-100:is(:where(.group\/code):hover *) { - opacity: 1; - } - } - - .group-data-\[state\=active\]\:bg-fd-primary:is(:where(.group)[data-state="active"] *) { - background-color: var(--color-fd-primary); - } - - .group-data-\[state\=open\]\:rotate-90:is(:where(.group)[data-state="open"] *) { - rotate: 90deg; - } - - .group-data-\[state\=open\]\:rotate-180:is(:where(.group)[data-state="open"] *) { - rotate: 180deg; - } - - @media (hover: hover) { - .peer-hover\:opacity-100:is(:where(.peer):hover ~ *) { - opacity: 1; - } - } - - .placeholder\:text-fd-muted-foreground::placeholder { - color: var(--color-fd-muted-foreground); - } - - .before\:absolute:before { - content: var(--tw-content); - position: absolute; - } - - .before\:inset-y-1:before { - content: var(--tw-content); - inset-block: calc(var(--spacing) * 1); - } - - .before\:start-2\.5:before { - content: var(--tw-content); - inset-inline-start: calc(var(--spacing) * 2.5); - } - - .before\:w-px:before { - content: var(--tw-content); - width: 1px; - } - - .before\:bg-fd-border:before { - content: var(--tw-content); - background-color: var(--color-fd-border); - } - - .before\:content-\[\'\'\]:before { - --tw-content: ""; - content: var(--tw-content); - } - - .first\:ms-0:first-child { - margin-inline-start: calc(var(--spacing) * 0); - } - - .first\:mt-0:first-child { - margin-top: calc(var(--spacing) * 0); - } - - .first\:pt-0:first-child { - padding-top: calc(var(--spacing) * 0); - } - - .last\:me-0:last-child { - margin-inline-end: calc(var(--spacing) * 0); - } - - .last\:rounded-b-xl:last-child { - border-bottom-right-radius: var(--radius-xl); - border-bottom-left-radius: var(--radius-xl); - } - - .last\:pb-0:last-child { - padding-bottom: calc(var(--spacing) * 0); - } - - :is(.\*\:last\:border-b-0 > *):last-child { - border-bottom-style: var(--tw-border-style); - border-bottom-width: 0; - } - - .empty\:mb-0:empty { - margin-bottom: calc(var(--spacing) * 0); - } - - .empty\:hidden:empty { - display: none; - } - - @media (hover: hover) { - .hover\:scale-105:hover { - --tw-scale-x: 105%; - --tw-scale-y: 105%; - --tw-scale-z: 105%; - scale: var(--tw-scale-x) var(--tw-scale-y); - } - } - - @media (hover: hover) { - .hover\:bg-black\/5:hover { - background-color: #0000000d; - } - - @supports (color: color-mix(in lab, red, red)) { - .hover\:bg-black\/5:hover { - background-color: color-mix(in oklab, var(--color-black) 5%, transparent); - } - } - } - - @media (hover: hover) { - .hover\:bg-fd-accent:hover { - background-color: var(--color-fd-accent); - } - } - - @media (hover: hover) { - .hover\:bg-fd-accent\/50:hover { - background-color: #d1d1d140; - } - - @supports (color: color-mix(in lab, red, red)) { - .hover\:bg-fd-accent\/50:hover { - background-color: color-mix(in oklab, var(--color-fd-accent) 50%, transparent); - } - } - } - - @media (hover: hover) { - .hover\:bg-fd-accent\/80:hover { - background-color: #d1d1d166; - } - - @supports (color: color-mix(in lab, red, red)) { - .hover\:bg-fd-accent\/80:hover { - background-color: color-mix(in oklab, var(--color-fd-accent) 80%, transparent); - } - } - } - - @media (hover: hover) { - .hover\:bg-fd-primary\/80:hover { - background-color: #171717cc; - } - - @supports (color: color-mix(in lab, red, red)) { - .hover\:bg-fd-primary\/80:hover { - background-color: color-mix(in oklab, var(--color-fd-primary) 80%, transparent); - } - } - } - - @media (hover: hover) { - .hover\:bg-neutral-100:hover { - background-color: var(--color-neutral-100); - } - } - - @media (hover: hover) { - .hover\:bg-neutral-200:hover { - background-color: var(--color-neutral-200); - } - } - - @media (hover: hover) { - .hover\:bg-neutral-200\/80:hover { - background-color: #e5e5e5cc; - } - - @supports (color: color-mix(in lab, red, red)) { - .hover\:bg-neutral-200\/80:hover { - background-color: color-mix(in oklab, var(--color-neutral-200) 80%, transparent); - } - } - } - - @media (hover: hover) { - .hover\:text-fd-accent-foreground:hover { - color: var(--color-fd-accent-foreground); - } - } - - @media (hover: hover) { - .hover\:text-fd-accent-foreground\/80:hover { - color: #171717cc; - } - - @supports (color: color-mix(in lab, red, red)) { - .hover\:text-fd-accent-foreground\/80:hover { - color: color-mix(in oklab, var(--color-fd-accent-foreground) 80%, transparent); - } - } - } - - @media (hover: hover) { - .hover\:text-fd-popover-foreground\/50:hover { - color: #27272780; - } - - @supports (color: color-mix(in lab, red, red)) { - .hover\:text-fd-popover-foreground\/50:hover { - color: color-mix(in oklab, var(--color-fd-popover-foreground) 50%, transparent); - } - } - } - - @media (hover: hover) { - .hover\:text-foreground:hover { - color: var(--foreground); - } - } - - @media (hover: hover) { - .hover\:text-neutral-700:hover { - color: var(--color-neutral-700); - } - } - - @media (hover: hover) { - .hover\:text-neutral-900:hover { - color: var(--color-neutral-900); - } - } - - @media (hover: hover) { - .hover\:opacity-80:hover { - opacity: .8; - } - } - - @media (hover: hover) { - .hover\:transition-none:hover { - transition-property: none; - } - } - - .focus-visible\:ring-2:focus-visible { - --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor); - box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow); - } - - .focus-visible\:ring-fd-ring:focus-visible { - --tw-ring-color: var(--color-fd-ring); - } - - .focus-visible\:outline-none:focus-visible { - --tw-outline-style: none; - outline-style: none; - } - - .focus-visible\:ring-inset:focus-visible { - --tw-ring-inset: inset; - } - - .active\:translate-x-\[96px\]:active { - --tw-translate-x: 96px; - translate: var(--tw-translate-x) var(--tw-translate-y); - } - - .active\:scale-95:active { - --tw-scale-x: 95%; - --tw-scale-y: 95%; - --tw-scale-z: 95%; - scale: var(--tw-scale-x) var(--tw-scale-y); - } - - .active\:rotate-45:active { - rotate: 45deg; - } - - .active\:bg-black\/5:active { - background-color: #0000000d; - } - - @supports (color: color-mix(in lab, red, red)) { - .active\:bg-black\/5:active { - background-color: color-mix(in oklab, var(--color-black) 5%, transparent); - } - } - - .active\:bg-neutral-100:active { - background-color: var(--color-neutral-100); - } - - .active\:text-black:active { - color: var(--color-black); - } - - .disabled\:pointer-events-none:disabled { - pointer-events: none; - } - - .disabled\:opacity-50:disabled { - opacity: .5; - } - - .has-focus-visible\:bg-fd-accent:has(:focus-visible) { - background-color: var(--color-fd-accent); - } - - .has-data-\[active\=true\]\:text-fd-primary:has([data-active="true"]) { - color: var(--color-fd-primary); - } - - :is(.\*\:has-\[\+\:last-child\[data-empty\=true\]\]\:border-b-0 > *):has( + :last-child[data-empty="true"]) { - border-bottom-style: var(--tw-border-style); - border-bottom-width: 0; - } - - .data-checked\:text-fd-accent-foreground[data-checked] { - color: var(--color-fd-accent-foreground); - } - - .data-\[active\=true\]\:bg-fd-primary\/10[data-active="true"] { - background-color: #1717171a; - } - - @supports (color: color-mix(in lab, red, red)) { - .data-\[active\=true\]\:bg-fd-primary\/10[data-active="true"] { - background-color: color-mix(in oklab, var(--color-fd-primary) 10%, transparent); - } - } - - .data-\[active\=true\]\:font-medium[data-active="true"] { - --tw-font-weight: var(--font-weight-medium); - font-weight: var(--font-weight-medium); - } - - .data-\[active\=true\]\:text-fd-primary[data-active="true"] { - color: var(--color-fd-primary); - } - - .data-\[active\=true\]\:before\:absolute[data-active="true"]:before { - content: var(--tw-content); - position: absolute; - } - - .data-\[active\=true\]\:before\:inset-y-2\.5[data-active="true"]:before { - content: var(--tw-content); - inset-block: calc(var(--spacing) * 2.5); - } - - .data-\[active\=true\]\:before\:start-2\.5[data-active="true"]:before { - content: var(--tw-content); - inset-inline-start: calc(var(--spacing) * 2.5); - } - - .data-\[active\=true\]\:before\:w-px[data-active="true"]:before { - content: var(--tw-content); - width: 1px; - } - - .data-\[active\=true\]\:before\:bg-fd-primary[data-active="true"]:before { - content: var(--tw-content); - background-color: var(--color-fd-primary); - } - - .data-\[active\=true\]\:before\:content-\[\'\'\][data-active="true"]:before { - --tw-content: ""; - content: var(--tw-content); - } - - @media (hover: hover) { - .data-\[active\=true\]\:hover\:transition-colors[data-active="true"]:hover { - transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to; - transition-timing-function: var(--tw-ease, var(--default-transition-timing-function)); - transition-duration: var(--tw-duration, var(--default-transition-duration)); - } - } - - .data-\[collapsed\=false\]\:hidden[data-collapsed="false"] { - display: none; - } - - :is(.\*\:data-\[empty\=true\]\:border-b-0 > *)[data-empty="true"] { - border-bottom-style: var(--tw-border-style); - border-bottom-width: 0; - } - - .data-\[motion\=from-end\]\:animate-fd-enterFromRight[data-motion="from-end"] { - animation: var(--animate-fd-enterFromRight); - } - - .data-\[motion\=from-start\]\:animate-fd-enterFromLeft[data-motion="from-start"] { - animation: var(--animate-fd-enterFromLeft); - } - - .data-\[motion\=to-end\]\:animate-fd-exitToRight[data-motion="to-end"] { - animation: var(--animate-fd-exitToRight); - } - - .data-\[motion\=to-start\]\:animate-fd-exitToLeft[data-motion="to-start"] { - animation: var(--animate-fd-exitToLeft); - } - - .data-\[state\=active\]\:border-fd-primary[data-state="active"] { - border-color: var(--color-fd-primary); - } - - .data-\[state\=active\]\:text-fd-primary[data-state="active"] { - color: var(--color-fd-primary); - } - - .data-\[state\=closed\]\:animate-fd-accordion-up[data-state="closed"] { - animation: var(--animate-fd-accordion-up); - } - - .data-\[state\=closed\]\:animate-fd-collapsible-up[data-state="closed"] { - animation: var(--animate-fd-collapsible-up); - } - - .data-\[state\=closed\]\:animate-fd-dialog-out[data-state="closed"] { - animation: var(--animate-fd-dialog-out); - } - - .data-\[state\=closed\]\:animate-fd-fade-out[data-state="closed"] { - animation: var(--animate-fd-fade-out); - } - - .data-\[state\=closed\]\:animate-fd-nav-menu-out[data-state="closed"] { - animation: var(--animate-fd-nav-menu-out); - } - - .data-\[state\=closed\]\:animate-fd-popover-out[data-state="closed"] { - animation: var(--animate-fd-popover-out); - } - - .data-\[state\=closed\]\:animate-fd-sidebar-out[data-state="closed"] { - animation: var(--animate-fd-sidebar-out); - } - - .data-\[state\=hidden\]\:animate-fd-fade-out[data-state="hidden"] { - animation: var(--animate-fd-fade-out); - } - - .data-\[state\=inactive\]\:hidden[data-state="inactive"] { - display: none; - } - - .data-\[state\=open\]\:animate-fd-accordion-down[data-state="open"] { - animation: var(--animate-fd-accordion-down); - } - - .data-\[state\=open\]\:animate-fd-collapsible-down[data-state="open"] { - animation: var(--animate-fd-collapsible-down); - } - - .data-\[state\=open\]\:animate-fd-dialog-in[data-state="open"] { - animation: var(--animate-fd-dialog-in); - } - - .data-\[state\=open\]\:animate-fd-fade-in[data-state="open"] { - animation: var(--animate-fd-fade-in); - } - - .data-\[state\=open\]\:animate-fd-nav-menu-in[data-state="open"] { - animation: var(--animate-fd-nav-menu-in); - } - - .data-\[state\=open\]\:animate-fd-popover-in[data-state="open"] { - animation: var(--animate-fd-popover-in); - } - - .data-\[state\=open\]\:animate-fd-sidebar-in[data-state="open"] { - animation: var(--animate-fd-sidebar-in); - } - - .data-\[state\=open\]\:bg-fd-accent[data-state="open"] { - background-color: var(--color-fd-accent); - } - - .data-\[state\=open\]\:bg-fd-accent\/50[data-state="open"] { - background-color: #d1d1d140; - } - - @supports (color: color-mix(in lab, red, red)) { - .data-\[state\=open\]\:bg-fd-accent\/50[data-state="open"] { - background-color: color-mix(in oklab, var(--color-fd-accent) 50%, transparent); - } - } - - .data-\[state\=open\]\:text-fd-accent-foreground[data-state="open"] { - color: var(--color-fd-accent-foreground); - } - - .data-\[transparent\=false\]\:bg-fd-background\/80[data-transparent="false"] { - background-color: #f5f5f5cc; - } - - @supports (color: color-mix(in lab, red, red)) { - .data-\[transparent\=false\]\:bg-fd-background\/80[data-transparent="false"] { - background-color: color-mix(in oklab, var(--color-fd-background) 80%, transparent); - } - } - - @media not (min-width: 80rem) { - .max-xl\:hidden { - display: none; - } - } - - @media not (min-width: 64rem) { - .max-lg\:flex { - display: flex; - } - } - - @media not (min-width: 64rem) { - .max-lg\:hidden { - display: none; - } - } - - @media not (min-width: 64rem) { - .max-lg\:rounded-b-2xl { - border-bottom-right-radius: var(--radius-2xl); - border-bottom-left-radius: var(--radius-2xl); - } - } - - @media not (min-width: 64rem) { - .max-lg\:shadow-lg { - --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, #0000001a), 0 4px 6px -4px var(--tw-shadow-color, #0000001a); - box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow); - } - } - - @media not (min-width: 48rem) { - .max-md\:flex { - display: flex; - } - } - - @media not (min-width: 48rem) { - .max-md\:hidden { - display: none; - } - } - - @media not (min-width: 48rem) { - .max-md\:rounded-md { - border-radius: var(--radius-md); - } - } - - @media not (min-width: 48rem) { - .max-md\:border { - border-style: var(--tw-border-style); - border-width: 1px; - } - } - - @media not (min-width: 48rem) { - .max-md\:bg-fd-secondary { - background-color: var(--color-fd-secondary); - } - } - - @media not (min-width: 48rem) { - .max-md\:p-1\.5 { - padding: calc(var(--spacing) * 1.5); - } - } - - @media not (min-width: 40rem) { - .max-sm\:mt-2 { - margin-top: calc(var(--spacing) * 2); - } - } - - @media not (min-width: 40rem) { - .max-sm\:hidden { - display: none; - } - } - - @media (min-width: 40rem) { - .sm\:mx-20 { - margin-inline: calc(var(--spacing) * 20); - } - } - - @media (min-width: 40rem) { - .sm\:hidden { - display: none; - } - } - - @media (min-width: 40rem) { - .sm\:flex-row { - flex-direction: row; - } - } - - @media (min-width: 40rem) { - .sm\:items-center { - align-items: center; - } - } - - @media (min-width: 40rem) { - .sm\:justify-end { - justify-content: flex-end; - } - } - - @media (min-width: 40rem) { - .sm\:text-2xl { - font-size: var(--text-2xl); - line-height: var(--tw-leading, var(--text-2xl--line-height)); - } - } - - @media (min-width: 40rem) { - .sm\:text-4xl { - font-size: var(--text-4xl); - line-height: var(--tw-leading, var(--text-4xl--line-height)); - } - } - - @media (min-width: 48rem) { - .md\:top-\[calc\(50\%-250px\)\] { - top: calc(50% - 250px); - } - } - - @media (min-width: 48rem) { - .md\:col-span-2 { - grid-column: span 2 / span 2; - } - } - - @media (min-width: 48rem) { - .md\:mx-auto { - margin-inline: auto; - } - } - - @media (min-width: 48rem) { - .md\:mb-auto { - margin-bottom: auto; - } - } - - @media (min-width: 48rem) { - .md\:block { - display: block; - } - } - - @media (min-width: 48rem) { - .md\:hidden { - display: none; - } - } - - @media (min-width: 48rem) { - .md\:size-5 { - width: calc(var(--spacing) * 5); - height: calc(var(--spacing) * 5); - } - } - - @media (min-width: 48rem) { - .md\:max-w-5xl { - max-width: var(--container-5xl); - } - } - - @media (min-width: 48rem) { - .md\:grid-cols-2 { - grid-template-columns: repeat(2, minmax(0, 1fr)); - } - } - - @media (min-width: 48rem) { - .md\:grid-cols-4 { - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - } - - @media (min-width: 48rem) { - .md\:grid-cols-\[1fr_1fr\] { - grid-template-columns: 1fr 1fr; - } - } - - @media (min-width: 48rem) { - .md\:gap-2 { - gap: calc(var(--spacing) * 2); - } - } - - @media (min-width: 48rem) { - .md\:gap-x-60 { - column-gap: calc(var(--spacing) * 60); - } - } - - @media (min-width: 48rem) { - .md\:p-10 { - padding: calc(var(--spacing) * 10); - } - } - - @media (min-width: 48rem) { - .md\:px-6 { - padding-inline: calc(var(--spacing) * 6); - } - } - - @media (min-width: 48rem) { - .md\:pt-8 { - padding-top: calc(var(--spacing) * 8); - } - } - - @media (min-width: 48rem) { - .md\:text-4xl { - font-size: var(--text-4xl); - line-height: var(--tw-leading, var(--text-4xl--line-height)); - } - } - - @media (min-width: 48rem) { - .md\:text-5xl { - font-size: var(--text-5xl); - line-height: var(--tw-leading, var(--text-5xl--line-height)); - } - } - - @media (min-width: 48rem) { - .md\:text-6xl { - font-size: var(--text-6xl); - line-height: var(--tw-leading, var(--text-6xl--line-height)); - } - } - - @media (min-width: 48rem) { - .has-data-\[collapsed\=true\]\:md\:flex:has([data-collapsed="true"]) { - display: flex; - } - } - - @media (min-width: 64rem) { - .lg\:mx-0 { - margin-inline: calc(var(--spacing) * 0); - } - } - - @media (min-width: 64rem) { - .lg\:mx-20 { - margin-inline: calc(var(--spacing) * 20); - } - } - - @media (min-width: 64rem) { - .lg\:hidden { - display: none; - } - } - - @media (min-width: 64rem) { - .lg\:grid-cols-3 { - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - } - - @media (min-width: 64rem) { - .lg\:flex-row { - flex-direction: row; - } - } - - @media (min-width: 64rem) { - .lg\:items-center { - align-items: center; - } - } - - @media (min-width: 64rem) { - .lg\:text-6xl { - font-size: var(--text-6xl); - line-height: var(--tw-leading, var(--text-6xl--line-height)); - } - } - - @media (min-width: 64rem) { - .lg\:text-7xl { - font-size: var(--text-7xl); - line-height: var(--tw-leading, var(--text-7xl--line-height)); - } - } - - @media (min-width: 80rem) { - .xl\:hidden { - display: none; - } - } - - @media (min-width: 80rem) { - .xl\:px-8 { - padding-inline: calc(var(--spacing) * 8); - } - } - - @media (min-width: 80rem) { - .xl\:pt-14 { - padding-top: calc(var(--spacing) * 14); - } - } - - @container not (min-width: 36rem) { - .\@max-xl\:hidden { - display: none; - } - } - - @container not (min-width: 32rem) { - .\@max-lg\:col-span-full { - grid-column: 1 / -1; - } - } - - .rtl\:-translate-x-2:where(:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi)), [dir="rtl"], [dir="rtl"] *) { - --tw-translate-x: calc(var(--spacing) * -2); - translate: var(--tw-translate-x) var(--tw-translate-y); - } - - .rtl\:translate-x-full:where(:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi)), [dir="rtl"], [dir="rtl"] *) { - --tw-translate-x: 100%; - translate: var(--tw-translate-x) var(--tw-translate-y); - } - - .rtl\:-scale-x-100:where(:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi)), [dir="rtl"], [dir="rtl"] *) { - --tw-scale-x: calc(100% * -1); - scale: var(--tw-scale-x) var(--tw-scale-y); - } - - .rtl\:rotate-180:where(:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi)), [dir="rtl"], [dir="rtl"] *) { - rotate: 180deg; - } - - .dark\:\!border-neutral-700:where(.dark, .dark *) { - border-color: var(--color-neutral-700) !important; - } - - .dark\:\!border-neutral-900:where(.dark, .dark *) { - border-color: var(--color-neutral-900) !important; - } - - .dark\:border-neutral-300:where(.dark, .dark *) { - border-color: var(--color-neutral-300); - } - - .dark\:border-neutral-700:where(.dark, .dark *) { - border-color: var(--color-neutral-700); - } - - .dark\:border-neutral-700\/50:where(.dark, .dark *) { - border-color: #40404080; - } - - @supports (color: color-mix(in lab, red, red)) { - .dark\:border-neutral-700\/50:where(.dark, .dark *) { - border-color: color-mix(in oklab, var(--color-neutral-700) 50%, transparent); - } - } - - .dark\:border-neutral-800:where(.dark, .dark *) { - border-color: var(--color-neutral-800); - } - - .dark\:border-neutral-900:where(.dark, .dark *) { - border-color: var(--color-neutral-900); - } - - .dark\:border-white\/10:where(.dark, .dark *) { - border-color: #ffffff1a; - } - - @supports (color: color-mix(in lab, red, red)) { - .dark\:border-white\/10:where(.dark, .dark *) { - border-color: color-mix(in oklab, var(--color-white) 10%, transparent); - } - } - - .dark\:bg-\(--shiki-dark-bg\):where(.dark, .dark *) { - background-color: var(--shiki-dark-bg); - } - - .dark\:bg-\[\#0c0c0c\]:where(.dark, .dark *) { - background-color: #0c0c0c; - } - - .dark\:bg-\[\#161616\]:where(.dark, .dark *) { - background-color: #161616; - } - - .dark\:bg-background\/30:where(.dark, .dark *) { - background-color: var(--background); - } - - @supports (color: color-mix(in lab, red, red)) { - .dark\:bg-background\/30:where(.dark, .dark *) { - background-color: color-mix(in oklab, var(--background) 30%, transparent); - } - } - - .dark\:bg-black:where(.dark, .dark *) { - background-color: var(--color-black); - } - - .dark\:bg-black\/50:where(.dark, .dark *) { - background-color: #00000080; - } - - @supports (color: color-mix(in lab, red, red)) { - .dark\:bg-black\/50:where(.dark, .dark *) { - background-color: color-mix(in oklab, var(--color-black) 50%, transparent); - } - } - - .dark\:bg-neutral-100:where(.dark, .dark *) { - background-color: var(--color-neutral-100); - } - - .dark\:bg-neutral-800:where(.dark, .dark *) { - background-color: var(--color-neutral-800); - } - - .dark\:bg-neutral-800\/50:where(.dark, .dark *) { - background-color: #26262680; - } - - @supports (color: color-mix(in lab, red, red)) { - .dark\:bg-neutral-800\/50:where(.dark, .dark *) { - background-color: color-mix(in oklab, var(--color-neutral-800) 50%, transparent); - } - } - - .dark\:bg-white:where(.dark, .dark *) { - background-color: var(--color-white); - } - - .dark\:bg-\[radial-gradient\(\#262626_1px\,transparent_1px\)\]:where(.dark, .dark *) { - background-image: radial-gradient(#262626 1px, #0000 1px); - } - - .dark\:from-\[\#161616\]:where(.dark, .dark *) { - --tw-gradient-from: #161616; - --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position)); - } - - .dark\:via-\[\#161616\]\/40:where(.dark, .dark *) { - --tw-gradient-via: #16161666; - --tw-gradient-via-stops: var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position); - --tw-gradient-stops: var(--tw-gradient-via-stops); - } - - @supports (color: lab(0% 0 0)) { - .dark\:via-\[\#161616\]\/40:where(.dark, .dark *) { - --tw-gradient-via: lab(7.24732% 0 -.00000298023 / .4); - } - } - - .dark\:to-transparent:where(.dark, .dark *) { - --tw-gradient-to: transparent; - --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position)); - } - - .dark\:text-black:where(.dark, .dark *) { - color: var(--color-black); - } - - .dark\:text-neutral-300:where(.dark, .dark *) { - color: var(--color-neutral-300); - } - - .dark\:text-neutral-400:where(.dark, .dark *) { - color: var(--color-neutral-400); - } - - .dark\:text-neutral-500:where(.dark, .dark *) { - color: var(--color-neutral-500); - } - - .dark\:text-white:where(.dark, .dark *) { - color: var(--color-white); - } - - .dark\:shadow-black\/10:where(.dark, .dark *) { - --tw-shadow-color: #0000001a; - } - - @supports (color: color-mix(in lab, red, red)) { - .dark\:shadow-black\/10:where(.dark, .dark *) { - --tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--color-black) 10%, transparent) var(--tw-shadow-alpha), transparent); - } - } - - .dark\:ring-black\/30:where(.dark, .dark *) { - --tw-ring-color: #0000004d; - } - - @supports (color: color-mix(in lab, red, red)) { - .dark\:ring-black\/30:where(.dark, .dark *) { - --tw-ring-color: color-mix(in oklab, var(--color-black) 30%, transparent); - } - } - - .dark\:ring-neutral-500:where(.dark, .dark *) { - --tw-ring-color: var(--color-neutral-500); - } - - .dark\:ring-neutral-700:where(.dark, .dark *) { - --tw-ring-color: var(--color-neutral-700); - } - - @media (hover: hover) { - .dark\:hover\:bg-neutral-800:where(.dark, .dark *):hover { - background-color: var(--color-neutral-800); - } - } - - @media (hover: hover) { - .dark\:hover\:bg-neutral-800\/80:where(.dark, .dark *):hover { - background-color: #262626cc; - } - - @supports (color: color-mix(in lab, red, red)) { - .dark\:hover\:bg-neutral-800\/80:where(.dark, .dark *):hover { - background-color: color-mix(in oklab, var(--color-neutral-800) 80%, transparent); - } - } - } - - @media (hover: hover) { - .dark\:hover\:bg-neutral-900:where(.dark, .dark *):hover { - background-color: var(--color-neutral-900); - } - } - - @media (hover: hover) { - .dark\:hover\:text-neutral-200:where(.dark, .dark *):hover { - color: var(--color-neutral-200); - } - } - - @media (hover: hover) { - .dark\:hover\:text-neutral-300:where(.dark, .dark *):hover { - color: var(--color-neutral-300); - } - } - - :is(#nd-docs-layout:has(.layout\:\[--fd-header-height\:--spacing\(14\)\]), #nd-notebook-layout:has(.layout\:\[--fd-header-height\:--spacing\(14\)\]), #nd-home-layout:has(.layout\:\[--fd-header-height\:--spacing\(14\)\])) { - --fd-header-height: calc(var(--spacing) * 14); - } - - @media not (min-width: 80rem) { - :is(#nd-docs-layout:has(.max-xl\:layout\:\[--fd-toc-popover-height\:--spacing\(10\)\]), #nd-notebook-layout:has(.max-xl\:layout\:\[--fd-toc-popover-height\:--spacing\(10\)\]), #nd-home-layout:has(.max-xl\:layout\:\[--fd-toc-popover-height\:--spacing\(10\)\])) { - --fd-toc-popover-height: calc(var(--spacing) * 10); - } - } - - @media not (min-width: 48rem) { - :is(#nd-docs-layout:has(.max-md\:layout\:\[--fd-header-height\:--spacing\(14\)\]), #nd-notebook-layout:has(.max-md\:layout\:\[--fd-header-height\:--spacing\(14\)\]), #nd-home-layout:has(.max-md\:layout\:\[--fd-header-height\:--spacing\(14\)\])) { - --fd-header-height: calc(var(--spacing) * 14); - } - } - - @media (min-width: 48rem) { - :is(#nd-docs-layout:has(.md\:layout\:\[--fd-sidebar-width\:268px\]), #nd-notebook-layout:has(.md\:layout\:\[--fd-sidebar-width\:268px\]), #nd-home-layout:has(.md\:layout\:\[--fd-sidebar-width\:268px\])) { - --fd-sidebar-width: 268px; - } - } - - @media (min-width: 64rem) { - :is(#nd-docs-layout:has(.lg\:layout\:\[--fd-header-height\:--spacing\(24\)\]), #nd-notebook-layout:has(.lg\:layout\:\[--fd-header-height\:--spacing\(24\)\]), #nd-home-layout:has(.lg\:layout\:\[--fd-header-height\:--spacing\(24\)\])) { - --fd-header-height: calc(var(--spacing) * 24); - } - } - - @media (min-width: 80rem) { - :is(#nd-docs-layout:has(.xl\:layout\:\[--fd-toc-width\:268px\]), #nd-notebook-layout:has(.xl\:layout\:\[--fd-toc-width\:268px\]), #nd-home-layout:has(.xl\:layout\:\[--fd-toc-width\:268px\])) { - --fd-toc-width: 268px; - } - } - - .\[\&_\.group\\\/code\]\:mb-0 .group\/code { - margin-bottom: calc(var(--spacing) * 0); - } - - .\[\&_\.group\\\/code\]\:rounded-none .group\/code { - border-radius: 0; - } - - .\[\&_\.group\\\/code\]\:border-0 .group\/code { - border-style: var(--tw-border-style); - border-width: 0; - } - - .\[\&_\.group\\\/code\]\:bg-transparent .group\/code { - background-color: #0000; - } - - .\[\&_\.group\\\/code\]\:shadow-none .group\/code { - --tw-shadow: 0 0 #0000; - box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow); - } - - .\[\&_svg\]\:size-3\.5 svg { - width: calc(var(--spacing) * 3.5); - height: calc(var(--spacing) * 3.5); - } - - .\[\&_svg\]\:size-4 svg { - width: calc(var(--spacing) * 4); - height: calc(var(--spacing) * 4); - } - - .\[\&_svg\]\:size-4\.5 svg { - width: calc(var(--spacing) * 4.5); - height: calc(var(--spacing) * 4.5); - } - - .\[\&_svg\]\:size-5 svg { - width: calc(var(--spacing) * 5); - height: calc(var(--spacing) * 5); - } - - .\[\&_svg\]\:size-5\.5 svg { - width: calc(var(--spacing) * 5.5); - height: calc(var(--spacing) * 5.5); - } - - .\[\&_svg\]\:size-full svg { - width: 100%; - height: 100%; - } - - .\[\&_svg\]\:shrink-0 svg { - flex-shrink: 0; - } - - .\[\&\>figure\:only-child\]\:-m-4 > figure:only-child { - margin: calc(var(--spacing) * -4); - } - - .\[\&\>figure\:only-child\]\:border-none > figure:only-child { - --tw-border-style: none; - border-style: none; - } -} - -.dark { - --color-fd-background: #121212; - --color-fd-foreground: #ebebeb; - --color-fd-muted: #212121; - --color-fd-muted-foreground: #b3b3b3cc; - --color-fd-popover: #1e1e1e; - --color-fd-popover-foreground: #dedede; - --color-fd-card: #191919; - --color-fd-card-foreground: #fafafa; - --color-fd-border: #6663; - --color-fd-primary: #fafafa; - --color-fd-primary-foreground: #171717; - --color-fd-secondary: #212121; - --color-fd-secondary-foreground: #ebebeb; - --color-fd-accent: #6868684d; - --color-fd-accent-foreground: #e6e6e6; - --color-fd-ring: #8c8c8c; - --color-fd-overlay: #0003; -} - -.dark #nd-sidebar { - --color-fd-muted: #292929; - --color-fd-secondary: #2e2e2e; - --color-fd-muted-foreground: #b8b8b8; -} - -.shiki:not(.not-fumadocs-codeblock *) { - --padding-left: calc(var(--spacing) * 4); - --padding-right: calc(var(--spacing) * 4); -} - -.shiki:not(.not-fumadocs-codeblock *) code span { - color: var(--shiki-light); -} - -.dark .shiki:not(.not-fumadocs-codeblock *) code span { - color: var(--shiki-dark); -} - -.line:is(pre *):is(.shiki *):not(.not-fumadocs-codeblock *) { - min-height: 1lh; - padding-left: var(--padding-left); - padding-right: var(--padding-right); - position: relative; -} - -.has-focused .line:is(pre *):is(.shiki *):not(.not-fumadocs-codeblock *):not(.focused) { - filter: blur(2px); - transition: filter .2s; -} - -.has-focused:hover .line:is(pre *):is(.shiki *):not(.not-fumadocs-codeblock *):not(.focused) { - filter: blur(); -} - -[data-line-numbers] .twoslash-meta-line:is(pre *):is(.shiki *):not(.not-fumadocs-codeblock *) { - padding-left: calc(var(--padding-left) + 7 * var(--spacing)); -} - -[data-line-numbers] .line:is(pre *):is(.shiki *):not(.not-fumadocs-codeblock *) { - counter-increment: line; - padding-left: calc(var(--padding-left) + 7 * var(--spacing)); -} - -[data-line-numbers] .line:is(pre *):is(.shiki *):not(.not-fumadocs-codeblock *):after { - content: counter(line); - color: var(--fd-counter-color, #737373); - position: absolute; -} - -@supports (color: color-mix(in lab, red, red)) { - [data-line-numbers] .line:is(pre *):is(.shiki *):not(.not-fumadocs-codeblock *):after { - color: color-mix(in oklab, var(--fd-counter-color, var(--color-fd-muted-foreground)) 60%, transparent); - } -} - -[data-line-numbers] .line:is(pre *):is(.shiki *):not(.not-fumadocs-codeblock *):after { - top: calc(var(--spacing) * 0); - left: calc(var(--spacing) * 4); -} - -.diff:is(pre *):is(.shiki *):not(.not-fumadocs-codeblock *):before { - left: calc(var(--spacing) * 1.5); - position: absolute; -} - -.diff.remove:is(pre *):is(.shiki *):not(.not-fumadocs-codeblock *) { - opacity: .7; - --fd-counter-color: var(--color-fd-diff-remove-symbol); - background-color: var(--color-fd-diff-remove); -} - -.diff.remove:is(pre *):is(.shiki *):not(.not-fumadocs-codeblock *):before { - content: "-"; - color: var(--color-fd-diff-remove-symbol); -} - -.diff.add:is(pre *):is(.shiki *):not(.not-fumadocs-codeblock *) { - --fd-counter-color: var(--color-fd-diff-add-symbol); - background-color: var(--color-fd-diff-add); -} - -.diff.add:is(pre *):is(.shiki *):not(.not-fumadocs-codeblock *):before { - content: "+"; - color: var(--color-fd-diff-add-symbol); -} - -.highlighted:is(pre *):is(.shiki *):not(.not-fumadocs-codeblock *) { - --fd-counter-color: var(--color-fd-primary); - padding-left: calc(var(--padding-left) - 2px); - border-left-style: var(--tw-border-style); - border-color: #17171780; - border-left-width: 2px; -} - -@supports (color: color-mix(in lab, red, red)) { - .highlighted:is(pre *):is(.shiki *):not(.not-fumadocs-codeblock *) { - border-color: color-mix(in oklab, var(--color-fd-primary) 50%, transparent); - } -} - -.highlighted:is(pre *):is(.shiki *):not(.not-fumadocs-codeblock *) { - background-color: #1717171a; -} - -@supports (color: color-mix(in lab, red, red)) { - .highlighted:is(pre *):is(.shiki *):not(.not-fumadocs-codeblock *) { - background-color: color-mix(in oklab, var(--color-fd-primary) 10%, transparent); - } -} - -.highlighted-word:is(pre *):is(.shiki *):not(.not-fumadocs-codeblock *) { - border-radius: var(--radius-md); - border-style: var(--tw-border-style); - border-width: 1px; - border-color: #1717174d; - margin-block: -1px; - padding: 1px; -} - -@supports (color: color-mix(in lab, red, red)) { - .highlighted-word:is(pre *):is(.shiki *):not(.not-fumadocs-codeblock *) { - border-color: color-mix(in oklab, var(--color-fd-primary) 30%, transparent); - } -} - -.highlighted-word:is(pre *):is(.shiki *):not(.not-fumadocs-codeblock *) { - background-color: #1717171a; -} - -@supports (color: color-mix(in lab, red, red)) { - .highlighted-word:is(pre *):is(.shiki *):not(.not-fumadocs-codeblock *) { - background-color: color-mix(in oklab, var(--color-fd-primary) 10%, transparent); - } -} - -.highlighted-word:is(pre *):is(.shiki *):not(.not-fumadocs-codeblock *) { - --tw-font-weight: var(--font-weight-medium); - font-weight: var(--font-weight-medium); -} - -:root { - --fd-sidebar-drawer-offset: 100%; -} - -[dir="rtl"] { - --fd-sidebar-drawer-offset: -100%; -} - -@property --radix-collapsible-content-height { - syntax: ""; - inherits: false; - initial-value: 0; -} - -:root { - --background: #fff; - --foreground: #171717; -} - -.dark { - --background: #000; - --foreground: #fafafa; - --card: #000; - --card-foreground: #fafafa; - --popover: #000; - --popover-foreground: #fafafa; - --primary: #fafafa; - --primary-foreground: #171717; - --secondary: #000; - --secondary-foreground: #fafafa; - --muted: #000; - --muted-foreground: #a1a1a1; - --accent: #000; - --accent-foreground: #fafafa; - --destructive: #82181a; - --destructive-foreground: #fb2c36; - --border: #1a1a1a; - --input: #1a1a1a; - --ring: #1a1a1a; - --chart-1: #1447e6; - --chart-2: #00bb7f; - --chart-3: #f99c00; - --chart-4: #ac4bff; - --chart-5: #ff2357; - --sidebar: #000; - --sidebar-foreground: #fafafa; - --sidebar-primary: #1447e6; - --sidebar-primary-foreground: #fafafa; - --sidebar-accent: #000; - --sidebar-accent-foreground: #fafafa; - --sidebar-border: #1a1a1a; - --sidebar-ring: #525252; -} - -@supports (color: lab(0% 0 0)) { - .dark { - --foreground: lab(98.26% 0 0); - --card-foreground: lab(98.26% 0 0); - --popover-foreground: lab(98.26% 0 0); - --primary: lab(98.26% 0 0); - --primary-foreground: lab(7.78201% -.0000149012 0); - --secondary-foreground: lab(98.26% 0 0); - --muted-foreground: lab(66.128% -.0000298023 .0000119209); - --accent-foreground: lab(98.26% 0 0); - --destructive: lab(28.5139% 44.5539 29.0463); - --destructive-foreground: lab(55.4814% 75.0732 48.8528); - --chart-1: lab(36.9089% 35.0961 -85.6872); - --chart-2: lab(66.9756% -58.27 19.5419); - --chart-3: lab(72.7183% 31.8672 97.9407); - --chart-4: lab(52.0183% 66.11 -78.2316); - --chart-5: lab(56.101% 79.4329 31.4532); - --sidebar-foreground: lab(98.26% 0 0); - --sidebar-primary: lab(36.9089% 35.0961 -85.6872); - --sidebar-primary-foreground: lab(98.26% 0 0); - --sidebar-accent-foreground: lab(98.26% 0 0); - --sidebar-ring: lab(34.924% 0 0); - } -} - -.card { - --offsetY: 0vmin; - --rotate: 0deg; - --translateX: 0vmin; - --translateY: 0vmin; - width: 30vmin; - height: 60vmin; - transform: rotate(var(--rotate)) translateX(var(--translateX)) translateY(calc(var(--offsetY) + var(--translateY))); - flex-shrink: 0; - transition: all .3s linear; - overflow: hidden; -} - -.card img { - object-fit: cover; - width: 100%; - height: 100%; -} - -.card:hover { - transition: all .3s linear; - scale: 1.05; -} - -.card:first-child { - --rotate: -20deg; - --translateX: 30vmin; - --translateY: 10vmin; - transform: rotate(var(--rotate)) translateX(var(--translateX)) translateY(calc(var(--offsetY) + var(--translateY))); -} - -.card:nth-child(2), .card:nth-child(3) { - transform: rotate(-5deg); -} - -.card:nth-child(5) { - --translate: 100px; - transform: rotate(5deg); -} - -.card:nth-child(6) { - transform: rotate(5deg); -} - -.card:nth-child(6):hover { - transform: rotate(-5deg) translateY(var(--translate)); -} - -.card:nth-child(7) { - transform: rotate(5deg); -} - -.card:hover + .card { - background-color: #8cff00; - transform: translateX(10vmin); -} - -.card:hover + .card + .card { - background-color: #00f; -} - -.card:has( + .card:hover) { - background-color: #8a2be2; - transform: translateX(-10vmin); -} - -.card:has(.card + .card:hover) { - background-color: #e305db; -} - -.list:first-child:hover { - font-size: 35px; - font-weight: bold; -} - -.list:nth-child(2):hover { - font-size: 35px; -} - -.list:nth-child(3):hover { - font-size: 35px; - font-weight: bold; -} - -@property --tw-border-style { - syntax: "*"; - inherits: false; - initial-value: solid; -} - -@property --tw-translate-x { - syntax: "*"; - inherits: false; - initial-value: 0; -} - -@property --tw-translate-y { - syntax: "*"; - inherits: false; - initial-value: 0; -} - -@property --tw-translate-z { - syntax: "*"; - inherits: false; - initial-value: 0; -} - -@property --tw-rotate-x { - syntax: "*"; - inherits: false -} - -@property --tw-rotate-y { - syntax: "*"; - inherits: false -} - -@property --tw-rotate-z { - syntax: "*"; - inherits: false -} - -@property --tw-skew-x { - syntax: "*"; - inherits: false -} - -@property --tw-skew-y { - syntax: "*"; - inherits: false -} - -@property --tw-space-y-reverse { - syntax: "*"; - inherits: false; - initial-value: 0; -} - -@property --tw-divide-y-reverse { - syntax: "*"; - inherits: false; - initial-value: 0; -} - -@property --tw-gradient-position { - syntax: "*"; - inherits: false -} - -@property --tw-gradient-from { - syntax: ""; - inherits: false; - initial-value: #0000; -} - -@property --tw-gradient-via { - syntax: ""; - inherits: false; - initial-value: #0000; -} - -@property --tw-gradient-to { - syntax: ""; - inherits: false; - initial-value: #0000; -} - -@property --tw-gradient-stops { - syntax: "*"; - inherits: false -} - -@property --tw-gradient-via-stops { - syntax: "*"; - inherits: false -} - -@property --tw-gradient-from-position { - syntax: ""; - inherits: false; - initial-value: 0%; -} - -@property --tw-gradient-via-position { - syntax: ""; - inherits: false; - initial-value: 50%; -} - -@property --tw-gradient-to-position { - syntax: ""; - inherits: false; - initial-value: 100%; -} - -@property --tw-leading { - syntax: "*"; - inherits: false -} - -@property --tw-font-weight { - syntax: "*"; - inherits: false -} - -@property --tw-tracking { - syntax: "*"; - inherits: false -} - -@property --tw-shadow { - syntax: "*"; - inherits: false; - initial-value: 0 0 #0000; -} - -@property --tw-shadow-color { - syntax: "*"; - inherits: false -} - -@property --tw-shadow-alpha { - syntax: ""; - inherits: false; - initial-value: 100%; -} - -@property --tw-inset-shadow { - syntax: "*"; - inherits: false; - initial-value: 0 0 #0000; -} - -@property --tw-inset-shadow-color { - syntax: "*"; - inherits: false -} - -@property --tw-inset-shadow-alpha { - syntax: ""; - inherits: false; - initial-value: 100%; -} - -@property --tw-ring-color { - syntax: "*"; - inherits: false -} - -@property --tw-ring-shadow { - syntax: "*"; - inherits: false; - initial-value: 0 0 #0000; -} - -@property --tw-inset-ring-color { - syntax: "*"; - inherits: false -} - -@property --tw-inset-ring-shadow { - syntax: "*"; - inherits: false; - initial-value: 0 0 #0000; -} - -@property --tw-ring-inset { - syntax: "*"; - inherits: false -} - -@property --tw-ring-offset-width { - syntax: ""; - inherits: false; - initial-value: 0; -} - -@property --tw-ring-offset-color { - syntax: "*"; - inherits: false; - initial-value: #fff; -} - -@property --tw-ring-offset-shadow { - syntax: "*"; - inherits: false; - initial-value: 0 0 #0000; -} - -@property --tw-outline-style { - syntax: "*"; - inherits: false; - initial-value: solid; -} - -@property --tw-blur { - syntax: "*"; - inherits: false -} - -@property --tw-brightness { - syntax: "*"; - inherits: false -} - -@property --tw-contrast { - syntax: "*"; - inherits: false -} - -@property --tw-grayscale { - syntax: "*"; - inherits: false -} - -@property --tw-hue-rotate { - syntax: "*"; - inherits: false -} - -@property --tw-invert { - syntax: "*"; - inherits: false -} - -@property --tw-opacity { - syntax: "*"; - inherits: false -} - -@property --tw-saturate { - syntax: "*"; - inherits: false -} - -@property --tw-sepia { - syntax: "*"; - inherits: false -} - -@property --tw-drop-shadow { - syntax: "*"; - inherits: false -} - -@property --tw-drop-shadow-color { - syntax: "*"; - inherits: false -} - -@property --tw-drop-shadow-alpha { - syntax: ""; - inherits: false; - initial-value: 100%; -} - -@property --tw-drop-shadow-size { - syntax: "*"; - inherits: false -} - -@property --tw-backdrop-blur { - syntax: "*"; - inherits: false -} - -@property --tw-backdrop-brightness { - syntax: "*"; - inherits: false -} - -@property --tw-backdrop-contrast { - syntax: "*"; - inherits: false -} - -@property --tw-backdrop-grayscale { - syntax: "*"; - inherits: false -} - -@property --tw-backdrop-hue-rotate { - syntax: "*"; - inherits: false -} - -@property --tw-backdrop-invert { - syntax: "*"; - inherits: false -} - -@property --tw-backdrop-opacity { - syntax: "*"; - inherits: false -} - -@property --tw-backdrop-saturate { - syntax: "*"; - inherits: false -} - -@property --tw-backdrop-sepia { - syntax: "*"; - inherits: false -} - -@property --tw-duration { - syntax: "*"; - inherits: false -} - -@property --tw-ease { - syntax: "*"; - inherits: false -} - -@property --tw-text-shadow-color { - syntax: "*"; - inherits: false -} - -@property --tw-text-shadow-alpha { - syntax: ""; - inherits: false; - initial-value: 100%; -} - -@property --tw-content { - syntax: "*"; - inherits: false; - initial-value: ""; -} - -@property --tw-scale-x { - syntax: "*"; - inherits: false; - initial-value: 1; -} - -@property --tw-scale-y { - syntax: "*"; - inherits: false; - initial-value: 1; -} - -@property --tw-scale-z { - syntax: "*"; - inherits: false; - initial-value: 1; -} - -@keyframes spin { - to { - transform: rotate(360deg); - } -} - -@keyframes pulse { - 50% { - opacity: .5; - } -} - -@keyframes fd-sidebar-in { - from { - transform: translateX(var(--fd-sidebar-drawer-offset)); - } -} - -@keyframes fd-sidebar-out { - to { - transform: translateX(var(--fd-sidebar-drawer-offset)); - } -} - -@keyframes fd-dialog-in { - from { - opacity: 0; - transform: scale(1.06); - } - - to { - transform: scale(1); - } -} - -@keyframes fd-dialog-out { - from { - transform: scale(1); - } - - to { - opacity: 0; - transform: scale(1.04); - } -} - -@keyframes fd-popover-in { - from { - opacity: 0; - transform: scale(.9); - } -} - -@keyframes fd-popover-out { - to { - opacity: 0; - transform: scale(.9); - } -} - -@keyframes fd-fade-in { - from { - opacity: 0; - } - - to { - opacity: 1; - } -} - -@keyframes fd-fade-out { - from { - opacity: 1; - } - - to { - opacity: 0; - } -} - -@keyframes fd-enterFromRight { - from { - opacity: 0; - transform: translateX(200px); - } - - to { - opacity: 1; - transform: translateX(0); - } -} - -@keyframes fd-enterFromLeft { - from { - opacity: 0; - transform: translateX(-200px); - } - - to { - opacity: 1; - transform: translateX(0); - } -} - -@keyframes fd-exitToRight { - from { - opacity: 1; - transform: translateX(0); - } - - to { - opacity: 0; - transform: translateX(200px); - } -} - -@keyframes fd-exitToLeft { - from { - opacity: 1; - transform: translateX(0); - } - - to { - opacity: 0; - transform: translateX(-200px); - } -} - -@keyframes fd-collapsible-down { - from { - opacity: 0; - height: 0; - } - - to { - height: var(--radix-collapsible-content-height); - } -} - -@keyframes fd-collapsible-up { - from { - height: var(--radix-collapsible-content-height); - } - - to { - opacity: 0; - height: 0; - } -} - -@keyframes fd-accordion-down { - from { - opacity: .5; - height: 0; - } - - to { - height: var(--radix-accordion-content-height); - } -} - -@keyframes fd-accordion-up { - from { - height: var(--radix-accordion-content-height); - } - - to { - opacity: .5; - height: 0; - } -} - -@keyframes fd-nav-menu-in { - from { - opacity: 0; - height: 0; - } - - to { - opacity: 1; - height: var(--radix-navigation-menu-viewport-height); - } -} - -@keyframes fd-nav-menu-out { - from { - opacity: 1; - height: var(--radix-navigation-menu-viewport-height); - } - - to { - opacity: 0; - height: 0; - } -} - -/*# sourceMappingURL=app_globals_css_bad6b30c._.single.css.map*/ \ No newline at end of file diff --git a/.next/dev/static/chunks/app_globals_css_bad6b30c._.single.css.map b/.next/dev/static/chunks/app_globals_css_bad6b30c._.single.css.map deleted file mode 100644 index 4c47f03..0000000 --- a/.next/dev/static/chunks/app_globals_css_bad6b30c._.single.css.map +++ /dev/null @@ -1,6 +0,0 @@ -{ - "version": 3, - "sources": [], - "sections": [ - {"offset": {"line": 1, "column": 0}, "map": {"version":3,"sources":["turbopack:///[project]/app/globals.css"],"sourcesContent":["/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */\n@layer properties;\n@layer theme, base, components, utilities;\n@layer theme {\n :root, :host {\n --font-sans: var(--font-geist-sans);\n --font-mono: var(--font-geist-mono);\n --color-red-200: oklch(88.5% 0.062 18.334);\n --color-red-300: oklch(80.8% 0.114 19.571);\n --color-amber-500: oklch(76.9% 0.188 70.08);\n --color-yellow-200: oklch(94.5% 0.129 101.54);\n --color-green-100: oklch(96.2% 0.044 156.743);\n --color-green-200: oklch(92.5% 0.084 155.995);\n --color-green-500: oklch(72.3% 0.219 149.579);\n --color-green-800: oklch(44.8% 0.119 151.328);\n --color-emerald-500: oklch(69.6% 0.17 162.48);\n --color-sky-500: oklch(68.5% 0.169 237.323);\n --color-blue-200: oklch(88.2% 0.059 254.128);\n --color-violet-300: oklch(81.1% 0.111 293.571);\n --color-violet-400: oklch(70.2% 0.183 293.541);\n --color-fuchsia-500: oklch(66.7% 0.295 322.15);\n --color-neutral-100: oklch(97% 0 0);\n --color-neutral-200: oklch(92.2% 0 0);\n --color-neutral-300: oklch(87% 0 0);\n --color-neutral-400: oklch(70.8% 0 0);\n --color-neutral-500: oklch(55.6% 0 0);\n --color-neutral-700: oklch(37.1% 0 0);\n --color-neutral-800: oklch(26.9% 0 0);\n --color-neutral-900: oklch(20.5% 0 0);\n --color-black: #000;\n --color-white: #fff;\n --spacing: 0.25rem;\n --breakpoint-sm: 40rem;\n --container-sm: 24rem;\n --container-2xl: 42rem;\n --container-5xl: 64rem;\n --text-xs: 0.75rem;\n --text-xs--line-height: calc(1 / 0.75);\n --text-sm: 0.875rem;\n --text-sm--line-height: calc(1.25 / 0.875);\n --text-base: 1rem;\n --text-base--line-height: calc(1.5 / 1);\n --text-lg: 1.125rem;\n --text-lg--line-height: calc(1.75 / 1.125);\n --text-xl: 1.25rem;\n --text-xl--line-height: calc(1.75 / 1.25);\n --text-2xl: 1.5rem;\n --text-2xl--line-height: calc(2 / 1.5);\n --text-3xl: 1.875rem;\n --text-3xl--line-height: calc(2.25 / 1.875);\n --text-4xl: 2.25rem;\n --text-4xl--line-height: calc(2.5 / 2.25);\n --text-5xl: 3rem;\n --text-5xl--line-height: 1;\n --text-6xl: 3.75rem;\n --text-6xl--line-height: 1;\n --text-7xl: 4.5rem;\n --text-7xl--line-height: 1;\n --font-weight-medium: 500;\n --font-weight-semibold: 600;\n --font-weight-bold: 700;\n --tracking-tight: -0.025em;\n --leading-relaxed: 1.625;\n --radius-sm: 0.25rem;\n --radius-md: 0.375rem;\n --radius-lg: 0.5rem;\n --radius-xl: 0.75rem;\n --radius-2xl: 1rem;\n --radius-3xl: 1.5rem;\n --animate-spin: spin 1s linear infinite;\n --animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;\n --blur-xs: 4px;\n --blur-sm: 8px;\n --blur-md: 12px;\n --blur-lg: 16px;\n --default-transition-duration: 150ms;\n --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n --default-font-family: var(--font-geist-sans);\n --default-mono-font-family: var(--font-geist-mono);\n --color-fd-background: hsl(0, 0%, 96%);\n --color-fd-foreground: hsl(0, 0%, 3.9%);\n --color-fd-muted: hsl(0, 0%, 96.1%);\n --color-fd-muted-foreground: hsl(0, 0%, 45.1%);\n --color-fd-popover: hsl(0, 0%, 98%);\n --color-fd-popover-foreground: hsl(0, 0%, 15.1%);\n --color-fd-card: hsl(0, 0%, 94.7%);\n --color-fd-card-foreground: hsl(0, 0%, 3.9%);\n --color-fd-border: hsla(0, 0%, 80%, 50%);\n --color-fd-primary: hsl(0, 0%, 9%);\n --color-fd-primary-foreground: hsl(0, 0%, 98%);\n --color-fd-secondary: hsl(0, 0%, 93.1%);\n --color-fd-secondary-foreground: hsl(0, 0%, 9%);\n --color-fd-accent: hsla(0, 0%, 82%, 50%);\n --color-fd-accent-foreground: hsl(0, 0%, 9%);\n --color-fd-ring: hsl(0, 0%, 63.9%);\n --color-fd-overlay: hsla(0, 0%, 0%, 0.2);\n --color-fd-info: oklch(62.3% 0.214 259.815);\n --color-fd-warning: oklch(76.9% 0.188 70.08);\n --color-fd-error: oklch(63.7% 0.237 25.331);\n --color-fd-success: oklch(72.3% 0.219 149.579);\n --color-fd-idea: oklch(70.5% 0.209 60.849);\n --color-fd-diff-remove: rgba(200, 10, 100, 0.12);\n --color-fd-diff-remove-symbol: rgb(230, 10, 100);\n --color-fd-diff-add: rgba(14, 180, 100, 0.1);\n --color-fd-diff-add-symbol: rgb(10, 200, 100);\n --animate-fd-fade-in: fd-fade-in 300ms ease;\n --animate-fd-fade-out: fd-fade-out 300ms ease;\n --animate-fd-dialog-in: fd-dialog-in 300ms cubic-bezier(0.16, 1, 0.3, 1);\n --animate-fd-dialog-out: fd-dialog-out 300ms cubic-bezier(0.16, 1, 0.3, 1);\n --animate-fd-popover-in: fd-popover-in 100ms ease;\n --animate-fd-popover-out: fd-popover-out 100ms ease;\n --animate-fd-enterFromLeft: fd-enterFromLeft 250ms ease;\n --animate-fd-enterFromRight: fd-enterFromRight 250ms ease;\n --animate-fd-sidebar-in: fd-sidebar-in 250ms ease;\n --animate-fd-sidebar-out: fd-sidebar-out 250ms ease;\n --animate-fd-exitToLeft: fd-exitToLeft 250ms ease;\n --animate-fd-exitToRight: fd-exitToRight 250ms ease;\n --animate-fd-collapsible-down: fd-collapsible-down 150ms cubic-bezier(0.45, 0, 0.55, 1);\n --animate-fd-collapsible-up: fd-collapsible-up 150ms cubic-bezier(0.45, 0, 0.55, 1);\n --animate-fd-accordion-down: fd-accordion-down 200ms ease-out;\n --animate-fd-accordion-up: fd-accordion-up 200ms ease-out;\n --animate-fd-nav-menu-in: fd-nav-menu-in 200ms ease;\n --animate-fd-nav-menu-out: fd-nav-menu-out 200ms ease;\n }\n}\n@layer base {\n *, ::after, ::before, ::backdrop, ::file-selector-button {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n border: 0 solid;\n }\n html, :host {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n tab-size: 4;\n font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n font-feature-settings: var(--default-font-feature-settings, normal);\n font-variation-settings: var(--default-font-variation-settings, normal);\n -webkit-tap-highlight-color: transparent;\n }\n hr {\n height: 0;\n color: inherit;\n border-top-width: 1px;\n }\n abbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n h1, h2, h3, h4, h5, h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n a {\n color: inherit;\n -webkit-text-decoration: inherit;\n text-decoration: inherit;\n }\n b, strong {\n font-weight: bolder;\n }\n code, kbd, samp, pre {\n font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace);\n font-feature-settings: var(--default-mono-font-feature-settings, normal);\n font-variation-settings: var(--default-mono-font-variation-settings, normal);\n font-size: 1em;\n }\n small {\n font-size: 80%;\n }\n sub, sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n sub {\n bottom: -0.25em;\n }\n sup {\n top: -0.5em;\n }\n table {\n text-indent: 0;\n border-color: inherit;\n border-collapse: collapse;\n }\n :-moz-focusring {\n outline: auto;\n }\n progress {\n vertical-align: baseline;\n }\n summary {\n display: list-item;\n }\n ol, ul, menu {\n list-style: none;\n }\n img, svg, video, canvas, audio, iframe, embed, object {\n display: block;\n vertical-align: middle;\n }\n img, video {\n max-width: 100%;\n height: auto;\n }\n button, input, select, optgroup, textarea, ::file-selector-button {\n font: inherit;\n font-feature-settings: inherit;\n font-variation-settings: inherit;\n letter-spacing: inherit;\n color: inherit;\n border-radius: 0;\n background-color: transparent;\n opacity: 1;\n }\n :where(select:is([multiple], [size])) optgroup {\n font-weight: bolder;\n }\n :where(select:is([multiple], [size])) optgroup option {\n padding-inline-start: 20px;\n }\n ::file-selector-button {\n margin-inline-end: 4px;\n }\n ::placeholder {\n opacity: 1;\n }\n @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {\n ::placeholder {\n color: currentcolor;\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, currentcolor 50%, transparent);\n }\n }\n }\n textarea {\n resize: vertical;\n }\n ::-webkit-search-decoration {\n -webkit-appearance: none;\n }\n ::-webkit-date-and-time-value {\n min-height: 1lh;\n text-align: inherit;\n }\n ::-webkit-datetime-edit {\n display: inline-flex;\n }\n ::-webkit-datetime-edit-fields-wrapper {\n padding: 0;\n }\n ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {\n padding-block: 0;\n }\n ::-webkit-calendar-picker-indicator {\n line-height: 1;\n }\n :-moz-ui-invalid {\n box-shadow: none;\n }\n button, input:where([type=\"button\"], [type=\"reset\"], [type=\"submit\"]), ::file-selector-button {\n appearance: button;\n }\n ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {\n height: auto;\n }\n [hidden]:where(:not([hidden=\"until-found\"])) {\n display: none !important;\n }\n}\n@layer utilities {\n .\\@container {\n container-type: inline-size;\n }\n .pointer-events-auto {\n pointer-events: auto;\n }\n .pointer-events-none {\n pointer-events: none;\n }\n .invisible {\n visibility: hidden;\n }\n .visible {\n visibility: visible;\n }\n .fd-step {\n &:before {\n background-color: var(--color-fd-secondary);\n color: var(--color-fd-secondary-foreground);\n content: counter(step);\n counter-increment: step;\n justify-content: center;\n align-items: center;\n font-size: 0.875rem;\n line-height: 1.25rem;\n display: flex;\n position: absolute;\n inset-inline-start: calc(var(--spacing) * -4);\n width: calc(var(--spacing) * 8);\n height: calc(var(--spacing) * 8);\n border-radius: calc(infinity * 1px);\n }\n }\n .fd-steps {\n counter-reset: step;\n position: relative;\n margin-left: calc(var(--spacing) * 2);\n border-left-style: var(--tw-border-style);\n border-left-width: 1px;\n padding-left: calc(var(--spacing) * 6);\n @media (width >= 40rem) {\n margin-left: calc(var(--spacing) * 4);\n }\n @media (width >= 40rem) {\n padding-left: calc(var(--spacing) * 7);\n }\n }\n .absolute {\n position: absolute;\n }\n .fixed {\n position: fixed;\n }\n .relative {\n position: relative;\n }\n .static {\n position: static;\n }\n .sticky {\n position: sticky;\n }\n .inset-0 {\n inset: calc(var(--spacing) * 0);\n }\n .inset-x-0 {\n inset-inline: calc(var(--spacing) * 0);\n }\n .inset-x-2 {\n inset-inline: calc(var(--spacing) * 2);\n }\n .inset-y-0 {\n inset-block: calc(var(--spacing) * 0);\n }\n .inset-y-2 {\n inset-block: calc(var(--spacing) * 2);\n }\n .start-0 {\n inset-inline-start: calc(var(--spacing) * 0);\n }\n .start-3 {\n inset-inline-start: calc(var(--spacing) * 3);\n }\n .start-4 {\n inset-inline-start: calc(var(--spacing) * 4);\n }\n .end-0 {\n inset-inline-end: calc(var(--spacing) * 0);\n }\n .end-2 {\n inset-inline-end: calc(var(--spacing) * 2);\n }\n .-top-1\\.5 {\n top: calc(var(--spacing) * -1.5);\n }\n .top-\\(--fd-docs-row-1\\) {\n top: var(--fd-docs-row-1);\n }\n .top-\\(--fd-docs-row-2\\) {\n top: var(--fd-docs-row-2);\n }\n .top-\\(--fd-docs-row-3\\) {\n top: var(--fd-docs-row-3);\n }\n .top-\\(--fd-top\\) {\n top: var(--fd-top);\n }\n .top-0 {\n top: calc(var(--spacing) * 0);\n }\n .top-1 {\n top: calc(var(--spacing) * 1);\n }\n .top-1\\.5 {\n top: calc(var(--spacing) * 1.5);\n }\n .top-1\\/2 {\n top: calc(1/2 * 100%);\n }\n .top-2 {\n top: calc(var(--spacing) * 2);\n }\n .top-3 {\n top: calc(var(--spacing) * 3);\n }\n .top-4 {\n top: calc(var(--spacing) * 4);\n }\n .top-10 {\n top: calc(var(--spacing) * 10);\n }\n .top-\\[calc\\(--spacing\\(4\\)\\+var\\(--fd-docs-row-3\\)\\)\\] {\n top: calc(calc(var(--spacing) * 4) + var(--fd-docs-row-3));\n }\n .right-0 {\n right: calc(var(--spacing) * 0);\n }\n .right-2 {\n right: calc(var(--spacing) * 2);\n }\n .right-3 {\n right: calc(var(--spacing) * 3);\n }\n .right-4 {\n right: calc(var(--spacing) * 4);\n }\n .right-6 {\n right: calc(var(--spacing) * 6);\n }\n .right-8 {\n right: calc(var(--spacing) * 8);\n }\n .right-10 {\n right: calc(var(--spacing) * 10);\n }\n .-bottom-18 {\n bottom: calc(var(--spacing) * -18);\n }\n .bottom-0 {\n bottom: calc(var(--spacing) * 0);\n }\n .bottom-1 {\n bottom: calc(var(--spacing) * 1);\n }\n .bottom-1\\.5 {\n bottom: calc(var(--spacing) * 1.5);\n }\n .bottom-4 {\n bottom: calc(var(--spacing) * 4);\n }\n .-left-\\[81px\\] {\n left: calc(81px * -1);\n }\n .left-0 {\n left: calc(var(--spacing) * 0);\n }\n .left-1\\/2 {\n left: calc(1/2 * 100%);\n }\n .left-10 {\n left: calc(var(--spacing) * 10);\n }\n .z-2 {\n z-index: 2;\n }\n .z-10 {\n z-index: 10;\n }\n .z-20 {\n z-index: 20;\n }\n .z-30 {\n z-index: 30;\n }\n .z-40 {\n z-index: 40;\n }\n .z-50 {\n z-index: 50;\n }\n .z-70 {\n z-index: 70;\n }\n .z-80 {\n z-index: 80;\n }\n .z-100 {\n z-index: 100;\n }\n .z-\\[-1\\] {\n z-index: -1;\n }\n .col-span-full {\n grid-column: 1 / -1;\n }\n .container {\n width: 100%;\n @media (width >= 40rem) {\n max-width: 40rem;\n }\n @media (width >= 48rem) {\n max-width: 48rem;\n }\n @media (width >= 64rem) {\n max-width: 64rem;\n }\n @media (width >= 80rem) {\n max-width: 80rem;\n }\n @media (width >= 96rem) {\n max-width: 96rem;\n }\n }\n .m-0 {\n margin: calc(var(--spacing) * 0);\n }\n .m-2 {\n margin: calc(var(--spacing) * 2);\n }\n .m-5 {\n margin: calc(var(--spacing) * 5);\n }\n .m-10 {\n margin: calc(var(--spacing) * 10);\n }\n .m-auto {\n margin: auto;\n }\n .-mx-1 {\n margin-inline: calc(var(--spacing) * -1);\n }\n .-mx-px {\n margin-inline: -1px;\n }\n .mx-0\\.5 {\n margin-inline: calc(var(--spacing) * 0.5);\n }\n .mx-2 {\n margin-inline: calc(var(--spacing) * 2);\n }\n .mx-4 {\n margin-inline: calc(var(--spacing) * 4);\n }\n .mx-5 {\n margin-inline: calc(var(--spacing) * 5);\n }\n .mx-auto {\n margin-inline: auto;\n }\n .my-0 {\n margin-block: calc(var(--spacing) * 0);\n }\n .my-0\\! {\n margin-block: calc(var(--spacing) * 0) !important;\n }\n .my-1 {\n margin-block: calc(var(--spacing) * 1);\n }\n .my-2 {\n margin-block: calc(var(--spacing) * 2);\n }\n .my-4 {\n margin-block: calc(var(--spacing) * 4);\n }\n .my-5 {\n margin-block: calc(var(--spacing) * 5);\n }\n .my-6 {\n margin-block: calc(var(--spacing) * 6);\n }\n .my-8 {\n margin-block: calc(var(--spacing) * 8);\n }\n .my-auto {\n margin-block: auto;\n }\n .-ms-1\\.5 {\n margin-inline-start: calc(var(--spacing) * -1.5);\n }\n .ms-2 {\n margin-inline-start: calc(var(--spacing) * 2);\n }\n .ms-auto {\n margin-inline-start: auto;\n }\n .ms-px {\n margin-inline-start: 1px;\n }\n .-me-0\\.5 {\n margin-inline-end: calc(var(--spacing) * -0.5);\n }\n .-me-1\\.5 {\n margin-inline-end: calc(var(--spacing) * -1.5);\n }\n .-me-2 {\n margin-inline-end: calc(var(--spacing) * -2);\n }\n .me-1 {\n margin-inline-end: calc(var(--spacing) * 1);\n }\n .me-2 {\n margin-inline-end: calc(var(--spacing) * 2);\n }\n .me-auto {\n margin-inline-end: auto;\n }\n .prose {\n color: var(--tw-prose-body);\n max-width: none;\n font-size: 1rem;\n line-height: 1.75rem;\n :where([class~=\"lead\"]):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n font-size: 1.25em;\n line-height: 1.6;\n margin-top: 1.2em;\n margin-bottom: 1.2em;\n color: var(--tw-prose-lead);\n }\n :where(ul):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n padding-inline-start: 1rem;\n list-style-type: disc;\n margin-top: 1.25em;\n margin-bottom: 1.25em;\n }\n :where(li):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n margin-top: 0.5em;\n margin-bottom: 0.5em;\n }\n :where(ol > li):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n padding-inline-start: 0.375em;\n }\n :where(ul > li):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n padding-inline-start: 0;\n }\n :where(.prose > ul > li p):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n margin-top: 0.75em;\n margin-bottom: 0.75em;\n }\n :where(.prose > ul > li > p:first-child):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n margin-top: 1.25em;\n }\n :where(.prose > ul > li > p:last-child):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n margin-bottom: 1.25em;\n }\n :where(.prose > ol > li > p:first-child):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n margin-top: 1.25em;\n }\n :where(.prose > ol > li > p:last-child):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n margin-bottom: 1.25em;\n }\n :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n margin-top: 0.75em;\n margin-bottom: 0.75em;\n }\n :where(dl):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n margin-top: 1.25em;\n margin-bottom: 1.25em;\n }\n :where(dt):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n color: var(--tw-prose-headings);\n font-weight: 600;\n margin-top: 1.25em;\n }\n :where(dd):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n margin-top: 0.5em;\n padding-inline-start: 1.625em;\n }\n :where(hr):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n border-color: var(--tw-prose-hr);\n border-top-width: 1px;\n margin-top: 3em;\n margin-bottom: 3em;\n }\n :where(p):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n margin-top: 1.25em;\n margin-bottom: 1.25em;\n }\n :where(strong):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n color: var(--tw-prose-bold);\n font-weight: 500;\n }\n :where(a strong):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n color: inherit;\n }\n :where(blockquote strong):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n color: inherit;\n }\n :where(thead th strong):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n color: inherit;\n }\n :where(ol):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n list-style-type: decimal;\n margin-top: 1.25em;\n margin-bottom: 1.25em;\n padding-inline-start: 1.625em;\n }\n :where(ol[type=\"A\"]):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n list-style-type: upper-alpha;\n }\n :where(ol[type=\"a\"]):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n list-style-type: lower-alpha;\n }\n :where(ol[type=\"A\" s]):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n list-style-type: upper-alpha;\n }\n :where(ol[type=\"a\" s]):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n list-style-type: lower-alpha;\n }\n :where(ol[type=\"I\"]):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n list-style-type: upper-roman;\n }\n :where(ol[type=\"i\"]):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n list-style-type: lower-roman;\n }\n :where(ol[type=\"I\" s]):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n list-style-type: upper-roman;\n }\n :where(ol[type=\"i\" s]):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n list-style-type: lower-roman;\n }\n :where(ol[type=\"1\"]):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n list-style-type: decimal;\n }\n :where(ol > li):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *))::marker {\n font-weight: 400;\n color: var(--tw-prose-counters);\n }\n :where(ul > li):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *))::marker {\n color: var(--tw-prose-bullets);\n }\n :where(blockquote):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n margin-top: 1.6em;\n margin-bottom: 1.6em;\n padding-inline-start: 1em;\n font-weight: 500;\n font-style: italic;\n color: var(--tw-prose-quotes);\n border-inline-start-width: 0.25rem;\n border-inline-start-color: var(--tw-prose-quote-borders);\n quotes: \"\\201C\"\"\\201D\"\"\\2018\"\"\\2019\";\n }\n :where(blockquote p:first-of-type):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *))::before {\n content: open-quote;\n }\n :where(blockquote p:last-of-type):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *))::after {\n content: close-quote;\n }\n :where(h1):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n color: var(--tw-prose-headings);\n font-weight: 800;\n font-size: var(--text-3xl);\n margin-top: 0;\n margin-bottom: 0.8888889em;\n line-height: 1.1111111;\n }\n :where(h1 strong):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n font-weight: 900;\n color: inherit;\n }\n :where(h2):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n color: var(--tw-prose-headings);\n font-size: 1.5em;\n margin-top: 2em;\n margin-bottom: 1em;\n line-height: 1.3333333;\n font-weight: 600;\n }\n :where(h2 strong):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n font-weight: 800;\n color: inherit;\n }\n :where(h3):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n color: var(--tw-prose-headings);\n font-weight: 600;\n font-size: 1.25em;\n margin-top: 1.6em;\n margin-bottom: 0.6em;\n line-height: 1.6;\n }\n :where(h3 strong):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n font-weight: 700;\n color: inherit;\n }\n :where(h4):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n color: var(--tw-prose-headings);\n font-weight: 600;\n margin-top: 1.5em;\n margin-bottom: 0.5em;\n line-height: 1.5;\n }\n :where(h4 strong):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n font-weight: 700;\n color: inherit;\n }\n :where(hr + *):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n margin-top: 0;\n }\n :where(h2 + *):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n margin-top: 0;\n }\n :where(h3 + *):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n margin-top: 0;\n }\n :where(h4 + *):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n margin-top: 0;\n }\n :where(img):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n margin-top: 2em;\n margin-bottom: 2em;\n }\n :where(picture):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n display: block;\n margin-top: 2em;\n margin-bottom: 2em;\n }\n :where(picture > img):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n margin-top: 0;\n margin-bottom: 0;\n }\n :where(video):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n margin-top: 2em;\n margin-bottom: 2em;\n }\n :where(kbd):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n font-size: 0.875em;\n border-radius: 0.3125rem;\n padding-top: 0.1875em;\n padding-inline-end: 0.375em;\n padding-bottom: 0.1875em;\n padding-inline-start: 0.375em;\n font-weight: 500;\n font-family: inherit;\n color: var(--tw-prose-kbd);\n box-shadow: 0 0 0 1px var(--tw-prose-kbd-shadows),0 3px 0 var(--tw-prose-kbd-shadows);\n }\n :where(code):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n padding: 3px;\n border: solid 1px;\n font-size: 13px;\n border-color: var(--color-fd-border);\n border-radius: 5px;\n font-weight: 400;\n background: var(--color-fd-muted);\n color: var(--tw-prose-code);\n }\n :where(a code):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n color: inherit;\n }\n :where(h1 code):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n color: inherit;\n font-size: var(--text-2xl);\n }\n :where(h2 code):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n color: inherit;\n font-size: 0.875em;\n }\n :where(h3 code):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n color: inherit;\n font-size: 0.9em;\n }\n :where(h4 code):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n color: inherit;\n }\n :where(blockquote code):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n color: inherit;\n }\n :where(thead th code):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n color: inherit;\n }\n :where(table):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n font-size: 0.875em;\n line-height: 1.7142857;\n width: 100%;\n table-layout: auto;\n margin-top: 2em;\n margin-bottom: 2em;\n border-collapse: separate;\n border-spacing: 0;\n background: var(--color-fd-card);\n border-radius: var(--radius-lg);\n border: 1px solid var(--color-fd-border);\n overflow: hidden;\n }\n :where(thead th):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n color: var(--tw-prose-headings);\n font-weight: 600;\n }\n :where(figure):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n margin-top: 2em;\n margin-bottom: 2em;\n }\n :where(figure > *):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n margin-top: 0;\n margin-bottom: 0;\n }\n :where(figcaption):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n color: var(--tw-prose-captions);\n font-size: 0.875em;\n line-height: 1.4285714;\n margin-top: 0.8571429em;\n }\n :where(a:not([data-card])):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n color: var(--tw-prose-links);\n transition: opacity .2s;\n font-weight: 500;\n text-decoration: underline;\n text-underline-offset: 3.5px;\n text-decoration-color: var(--color-fd-primary);\n text-decoration-thickness: 1.5px;\n }\n :where(a:not([data-card]):hover):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n opacity: 80%;\n }\n --tw-prose-body: color-mix(in srgb, hsl(0, 0%, 3.9%) 90%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-prose-body: color-mix(in oklab, var(--color-fd-foreground) 90%, transparent);\n }\n --tw-prose-headings: var(--color-fd-foreground);\n --tw-prose-lead: var(--color-fd-foreground);\n --tw-prose-links: var(--color-fd-foreground);\n --tw-prose-bold: var(--color-fd-foreground);\n --tw-prose-counters: var(--color-fd-muted-foreground);\n --tw-prose-bullets: var(--color-fd-muted-foreground);\n --tw-prose-hr: var(--color-fd-border);\n --tw-prose-quotes: var(--color-fd-foreground);\n --tw-prose-quote-borders: var(--color-fd-border);\n --tw-prose-captions: var(--color-fd-foreground);\n --tw-prose-code: var(--color-fd-foreground);\n --tw-prose-th-borders: var(--color-fd-border);\n --tw-prose-td-borders: var(--color-fd-border);\n --tw-prose-kbd: var(--color-fd-foreground);\n --tw-prose-kbd-shadows: color-mix(in srgb, hsl(0, 0%, 9%) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-prose-kbd-shadows: color-mix(in oklab, var(--color-fd-primary) 50%, transparent);\n }\n :where(.prose > :first-child):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n margin-top: 0;\n }\n :where(.prose > :last-child):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n margin-bottom: 0;\n }\n :where(th):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n text-align: start;\n padding: calc(var(--spacing) * 2.5);\n border-inline-start: 1px solid var(--color-fd-border);\n background: var(--color-fd-muted);\n }\n :where(th:first-child):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n border-inline-start: none;\n }\n :where(th:not(tr:last-child *), td:not(tr:last-child *)):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n border-bottom: 1px solid var(--color-fd-border);\n }\n :where(td):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n text-align: start;\n border-inline-start: 1px solid var(--color-fd-border);\n padding: calc(var(--spacing) * 2.5);\n }\n :where(td:first-child):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n border-inline-start: none;\n }\n :where(tfoot th, tfoot td):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n border-top-width: 1px;\n border-top-color: var(--tw-prose-th-borders);\n }\n :where(thead th, thead td):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)) {\n border-bottom-width: 1px;\n border-bottom-color: var(--tw-prose-th-borders);\n }\n }\n .prose-no-margin {\n & > :first-child {\n margin-top: 0;\n }\n & > :last-child {\n margin-bottom: 0;\n }\n }\n .mt-1 {\n margin-top: calc(var(--spacing) * 1);\n }\n .mt-2 {\n margin-top: calc(var(--spacing) * 2);\n }\n .mt-6 {\n margin-top: calc(var(--spacing) * 6);\n }\n .mt-px {\n margin-top: 1px;\n }\n .-mb-px {\n margin-bottom: -1px;\n }\n .mb-0 {\n margin-bottom: calc(var(--spacing) * 0);\n }\n .mb-1 {\n margin-bottom: calc(var(--spacing) * 1);\n }\n .mb-1\\.5 {\n margin-bottom: calc(var(--spacing) * 1.5);\n }\n .mb-2 {\n margin-bottom: calc(var(--spacing) * 2);\n }\n .mb-4 {\n margin-bottom: calc(var(--spacing) * 4);\n }\n .mb-6 {\n margin-bottom: calc(var(--spacing) * 6);\n }\n .mb-8 {\n margin-bottom: calc(var(--spacing) * 8);\n }\n .mb-10 {\n margin-bottom: calc(var(--spacing) * 10);\n }\n .mb-auto {\n margin-bottom: auto;\n }\n .ml-20 {\n margin-left: calc(var(--spacing) * 20);\n }\n .fd-scroll-container {\n &::-webkit-scrollbar {\n width: 5px;\n height: 5px;\n }\n &::-webkit-scrollbar-thumb {\n border-radius: 5px;\n background: var(--color-fd-border);\n }\n &::-webkit-scrollbar-track {\n background: transparent;\n }\n &::-webkit-scrollbar-corner {\n display: none;\n }\n }\n .block {\n display: block;\n }\n .flex {\n display: flex;\n }\n .grid {\n display: grid;\n }\n .hidden {\n display: none;\n }\n .inline {\n display: inline;\n }\n .inline-flex {\n display: inline-flex;\n }\n .table {\n display: table;\n }\n .size-2 {\n width: calc(var(--spacing) * 2);\n height: calc(var(--spacing) * 2);\n }\n .size-3 {\n width: calc(var(--spacing) * 3);\n height: calc(var(--spacing) * 3);\n }\n .size-3\\.5 {\n width: calc(var(--spacing) * 3.5);\n height: calc(var(--spacing) * 3.5);\n }\n .size-4 {\n width: calc(var(--spacing) * 4);\n height: calc(var(--spacing) * 4);\n }\n .size-4\\.5 {\n width: calc(var(--spacing) * 4.5);\n height: calc(var(--spacing) * 4.5);\n }\n .size-5 {\n width: calc(var(--spacing) * 5);\n height: calc(var(--spacing) * 5);\n }\n .size-6\\.5 {\n width: calc(var(--spacing) * 6.5);\n height: calc(var(--spacing) * 6.5);\n }\n .size-8 {\n width: calc(var(--spacing) * 8);\n height: calc(var(--spacing) * 8);\n }\n .size-9 {\n width: calc(var(--spacing) * 9);\n height: calc(var(--spacing) * 9);\n }\n .size-10 {\n width: calc(var(--spacing) * 10);\n height: calc(var(--spacing) * 10);\n }\n .size-14 {\n width: calc(var(--spacing) * 14);\n height: calc(var(--spacing) * 14);\n }\n .size-15 {\n width: calc(var(--spacing) * 15);\n height: calc(var(--spacing) * 15);\n }\n .size-16 {\n width: calc(var(--spacing) * 16);\n height: calc(var(--spacing) * 16);\n }\n .size-24 {\n width: calc(var(--spacing) * 24);\n height: calc(var(--spacing) * 24);\n }\n .size-40 {\n width: calc(var(--spacing) * 40);\n height: calc(var(--spacing) * 40);\n }\n .size-full {\n width: 100%;\n height: 100%;\n }\n .h-\\(--fd-animated-height\\) {\n height: var(--fd-animated-height);\n }\n .h-\\(--fd-header-height\\) {\n height: var(--fd-header-height);\n }\n .h-\\(--fd-height\\) {\n height: var(--fd-height);\n }\n .h-\\(--fd-toc-popover-height\\) {\n height: var(--fd-toc-popover-height);\n }\n .h-\\(--radix-navigation-menu-viewport-height\\) {\n height: var(--radix-navigation-menu-viewport-height);\n }\n .h-1\\.5 {\n height: calc(var(--spacing) * 1.5);\n }\n .h-3\\.5 {\n height: calc(var(--spacing) * 3.5);\n }\n .h-5 {\n height: calc(var(--spacing) * 5);\n }\n .h-6 {\n height: calc(var(--spacing) * 6);\n }\n .h-7 {\n height: calc(var(--spacing) * 7);\n }\n .h-9 {\n height: calc(var(--spacing) * 9);\n }\n .h-9\\.5 {\n height: calc(var(--spacing) * 9.5);\n }\n .h-10 {\n height: calc(var(--spacing) * 10);\n }\n .h-14 {\n height: calc(var(--spacing) * 14);\n }\n .h-16 {\n height: calc(var(--spacing) * 16);\n }\n .h-20 {\n height: calc(var(--spacing) * 20);\n }\n .h-50 {\n height: calc(var(--spacing) * 50);\n }\n .h-56 {\n height: calc(var(--spacing) * 56);\n }\n .h-60 {\n height: calc(var(--spacing) * 60);\n }\n .h-64 {\n height: calc(var(--spacing) * 64);\n }\n .h-\\[400px\\] {\n height: 400px;\n }\n .h-\\[600px\\] {\n height: 600px;\n }\n .h-\\[calc\\(var\\(--fd-docs-height\\)-var\\(--fd-docs-row-1\\)\\)\\] {\n height: calc(var(--fd-docs-height) - var(--fd-docs-row-1));\n }\n .h-\\[calc\\(var\\(--fd-docs-height\\)-var\\(--fd-docs-row-2\\)\\)\\] {\n height: calc(var(--fd-docs-height) - var(--fd-docs-row-2));\n }\n .h-\\[calc\\(var\\(--fd-docs-height\\)-var\\(--fd-docs-row-3\\)\\)\\] {\n height: calc(var(--fd-docs-height) - var(--fd-docs-row-3));\n }\n .h-fit {\n height: fit-content;\n }\n .h-full {\n height: 100%;\n }\n .h-px {\n height: 1px;\n }\n .max-h-\\(--radix-popover-content-available-height\\) {\n max-height: var(--radix-popover-content-available-height);\n }\n .max-h-32 {\n max-height: calc(var(--spacing) * 32);\n }\n .max-h-\\[50vh\\] {\n max-height: 50vh;\n }\n .max-h-\\[80svh\\] {\n max-height: 80svh;\n }\n .max-h-\\[460px\\] {\n max-height: 460px;\n }\n .max-h-\\[600px\\] {\n max-height: 600px;\n }\n .min-h-\\(--fd-docs-height\\) {\n min-height: var(--fd-docs-height);\n }\n .min-h-0 {\n min-height: calc(var(--spacing) * 0);\n }\n .min-h-50 {\n min-height: calc(var(--spacing) * 50);\n }\n .min-h-\\[300px\\] {\n min-height: 300px;\n }\n .min-h-\\[350px\\] {\n min-height: 350px;\n }\n .min-h-\\[400px\\] {\n min-height: 400px;\n }\n .min-h-full {\n min-height: 100%;\n }\n .min-h-screen {\n min-height: 100vh;\n }\n .min-h-svh {\n min-height: 100svh;\n }\n .w-\\(--fd-sidebar-width\\) {\n width: var(--fd-sidebar-width);\n }\n .w-\\(--fd-toc-width\\) {\n width: var(--fd-toc-width);\n }\n .w-\\(--radix-popover-trigger-width\\) {\n width: var(--radix-popover-trigger-width);\n }\n .w-0 {\n width: calc(var(--spacing) * 0);\n }\n .w-0\\.5 {\n width: calc(var(--spacing) * 0.5);\n }\n .w-1\\.5 {\n width: calc(var(--spacing) * 1.5);\n }\n .w-3\\.5 {\n width: calc(var(--spacing) * 3.5);\n }\n .w-4 {\n width: calc(var(--spacing) * 4);\n }\n .w-5 {\n width: calc(var(--spacing) * 5);\n }\n .w-6 {\n width: calc(var(--spacing) * 6);\n }\n .w-7 {\n width: calc(var(--spacing) * 7);\n }\n .w-9 {\n width: calc(var(--spacing) * 9);\n }\n .w-10 {\n width: calc(var(--spacing) * 10);\n }\n .w-20 {\n width: calc(var(--spacing) * 20);\n }\n .w-28 {\n width: calc(var(--spacing) * 28);\n }\n .w-30 {\n width: calc(var(--spacing) * 30);\n }\n .w-40 {\n width: calc(var(--spacing) * 40);\n }\n .w-48 {\n width: calc(var(--spacing) * 48);\n }\n .w-60 {\n width: calc(var(--spacing) * 60);\n }\n .w-64 {\n width: calc(var(--spacing) * 64);\n }\n .w-72 {\n width: calc(var(--spacing) * 72);\n }\n .w-80 {\n width: calc(var(--spacing) * 80);\n }\n .w-96 {\n width: calc(var(--spacing) * 96);\n }\n .w-\\[25\\%\\] {\n width: 25%;\n }\n .w-\\[85\\%\\] {\n width: 85%;\n }\n .w-\\[calc\\(100\\%-1rem\\)\\] {\n width: calc(100% - 1rem);\n }\n .w-fit {\n width: fit-content;\n }\n .w-full {\n width: 100%;\n }\n .w-max {\n width: max-content;\n }\n .w-px {\n width: 1px;\n }\n .w-sm {\n width: var(--container-sm);\n }\n .max-w-2xl {\n max-width: var(--container-2xl);\n }\n .max-w-30 {\n max-width: calc(var(--spacing) * 30);\n }\n .max-w-\\[98vw\\] {\n max-width: 98vw;\n }\n .max-w-\\[240px\\] {\n max-width: 240px;\n }\n .max-w-\\[380px\\] {\n max-width: 380px;\n }\n .max-w-\\[900px\\] {\n max-width: 900px;\n }\n .max-w-\\[1200px\\] {\n max-width: 1200px;\n }\n .max-w-\\[1400px\\] {\n max-width: 1400px;\n }\n .max-w-screen-sm {\n max-width: var(--breakpoint-sm);\n }\n .max-w-sm {\n max-width: var(--container-sm);\n }\n .min-w-0 {\n min-width: calc(var(--spacing) * 0);\n }\n .min-w-20 {\n min-width: calc(var(--spacing) * 20);\n }\n .min-w-28 {\n min-width: calc(var(--spacing) * 28);\n }\n .min-w-\\[240px\\] {\n min-width: 240px;\n }\n .min-w-fit {\n min-width: fit-content;\n }\n .min-w-full {\n min-width: 100%;\n }\n .flex-1 {\n flex: 1;\n }\n .shrink {\n flex-shrink: 1;\n }\n .shrink-0 {\n flex-shrink: 0;\n }\n .origin-\\(--radix-popover-content-transform-origin\\) {\n transform-origin: var(--radix-popover-content-transform-origin);\n }\n .origin-\\[top_center\\] {\n transform-origin: top center;\n }\n .-translate-x-\\(--fd-sidebar-width\\) {\n --tw-translate-x: calc(var(--fd-sidebar-width) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-x-1\\/2 {\n --tw-translate-x: calc(calc(1/2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-x-\\[50\\%\\] {\n --tw-translate-x: calc(50% * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-x-\\[80\\%\\] {\n --tw-translate-x: calc(80% * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-x-\\[100\\%\\] {\n --tw-translate-x: calc(100% * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .translate-x-2 {\n --tw-translate-x: calc(var(--spacing) * 2);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .translate-x-\\[50\\%\\] {\n --tw-translate-x: 50%;\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .translate-x-\\[80\\%\\] {\n --tw-translate-x: 80%;\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .translate-x-\\[100\\%\\] {\n --tw-translate-x: 100%;\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-1\\/2 {\n --tw-translate-y: calc(calc(1/2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-full {\n --tw-translate-y: -100%;\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .translate-y-\\[10\\%\\] {\n --tw-translate-y: 10%;\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .translate-y-\\[20\\%\\] {\n --tw-translate-y: 20%;\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .translate-y-\\[25\\%\\] {\n --tw-translate-y: 25%;\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .translate-y-full {\n --tw-translate-y: 100%;\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-rotate-90 {\n rotate: calc(90deg * -1);\n }\n .rotate-130 {\n rotate: 130deg;\n }\n .rotate-180 {\n rotate: 180deg;\n }\n .transform {\n transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);\n }\n .animate-pulse {\n animation: var(--animate-pulse);\n }\n .animate-spin {\n animation: var(--animate-spin);\n }\n .cursor-pointer {\n cursor: pointer;\n }\n .scroll-m-24 {\n scroll-margin: calc(var(--spacing) * 24);\n }\n .scroll-m-28 {\n scroll-margin: calc(var(--spacing) * 28);\n }\n .scroll-mt-24 {\n scroll-margin-top: calc(var(--spacing) * 24);\n }\n .list-none {\n list-style-type: none;\n }\n .auto-cols-auto {\n grid-auto-columns: auto;\n }\n .auto-rows-auto {\n grid-auto-rows: auto;\n }\n .grid-cols-1 {\n grid-template-columns: repeat(1, minmax(0, 1fr));\n }\n .grid-cols-2 {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n .grid-cols-\\[1fr\\] {\n grid-template-columns: 1fr;\n }\n .grid-cols-\\[1fr_3fr\\] {\n grid-template-columns: 1fr 3fr;\n }\n .flex-col {\n flex-direction: column;\n }\n .flex-row {\n flex-direction: row;\n }\n .flex-row-reverse {\n flex-direction: row-reverse;\n }\n .flex-wrap {\n flex-wrap: wrap;\n }\n .items-center {\n align-items: center;\n }\n .items-end {\n align-items: flex-end;\n }\n .items-start {\n align-items: flex-start;\n }\n .justify-between {\n justify-content: space-between;\n }\n .justify-center {\n justify-content: center;\n }\n .justify-end {\n justify-content: flex-end;\n }\n .gap-0\\.5 {\n gap: calc(var(--spacing) * 0.5);\n }\n .gap-1 {\n gap: calc(var(--spacing) * 1);\n }\n .gap-1\\.5 {\n gap: calc(var(--spacing) * 1.5);\n }\n .gap-2 {\n gap: calc(var(--spacing) * 2);\n }\n .gap-2\\.5 {\n gap: calc(var(--spacing) * 2.5);\n }\n .gap-3 {\n gap: calc(var(--spacing) * 3);\n }\n .gap-3\\.5 {\n gap: calc(var(--spacing) * 3.5);\n }\n .gap-4 {\n gap: calc(var(--spacing) * 4);\n }\n .gap-5 {\n gap: calc(var(--spacing) * 5);\n }\n .gap-6 {\n gap: calc(var(--spacing) * 6);\n }\n .gap-10 {\n gap: calc(var(--spacing) * 10);\n }\n .space-y-1\\.5 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 1.5) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 1.5) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-3 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-4 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .gap-y-4 {\n row-gap: calc(var(--spacing) * 4);\n }\n .divide-y {\n :where(& > :not(:last-child)) {\n --tw-divide-y-reverse: 0;\n border-bottom-style: var(--tw-border-style);\n border-top-style: var(--tw-border-style);\n border-top-width: calc(1px * var(--tw-divide-y-reverse));\n border-bottom-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));\n }\n }\n .divide-fd-border {\n :where(& > :not(:last-child)) {\n border-color: var(--color-fd-border);\n }\n }\n .truncate {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .overflow-auto {\n overflow: auto;\n }\n .overflow-hidden {\n overflow: hidden;\n }\n .overflow-x-auto {\n overflow-x: auto;\n }\n .overflow-x-clip {\n overflow-x: clip;\n }\n .overflow-x-hidden {\n overflow-x: hidden;\n }\n .overflow-y-auto {\n overflow-y: auto;\n }\n .overflow-y-scroll {\n overflow-y: scroll;\n }\n .overscroll-contain {\n overscroll-behavior: contain;\n }\n .\\!rounded-none {\n border-radius: 0 !important;\n }\n .rounded-2xl {\n border-radius: var(--radius-2xl);\n }\n .rounded-3xl {\n border-radius: var(--radius-3xl);\n }\n .rounded-\\[4px\\] {\n border-radius: 4px;\n }\n .rounded-\\[5px\\] {\n border-radius: 5px;\n }\n .rounded-\\[12px\\] {\n border-radius: 12px;\n }\n .rounded-\\[15px\\] {\n border-radius: 15px;\n }\n .rounded-\\[inherit\\] {\n border-radius: inherit;\n }\n .rounded-full {\n border-radius: calc(infinity * 1px);\n }\n .rounded-lg {\n border-radius: var(--radius-lg);\n }\n .rounded-md {\n border-radius: var(--radius-md);\n }\n .rounded-sm {\n border-radius: var(--radius-sm);\n }\n .rounded-xl {\n border-radius: var(--radius-xl);\n }\n .rounded-e-sm {\n border-start-end-radius: var(--radius-sm);\n border-end-end-radius: var(--radius-sm);\n }\n .rounded-t-lg {\n border-top-left-radius: var(--radius-lg);\n border-top-right-radius: var(--radius-lg);\n }\n .\\!border-\\[1px\\] {\n border-style: var(--tw-border-style) !important;\n border-width: 1px !important;\n }\n .border {\n border-style: var(--tw-border-style);\n border-width: 1px;\n }\n .border-0 {\n border-style: var(--tw-border-style);\n border-width: 0px;\n }\n .border-s {\n border-inline-start-style: var(--tw-border-style);\n border-inline-start-width: 1px;\n }\n .border-e {\n border-inline-end-style: var(--tw-border-style);\n border-inline-end-width: 1px;\n }\n .border-t {\n border-top-style: var(--tw-border-style);\n border-top-width: 1px;\n }\n .border-r {\n border-right-style: var(--tw-border-style);\n border-right-width: 1px;\n }\n .border-b {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 1px;\n }\n .border-b-2 {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 2px;\n }\n .border-l {\n border-left-style: var(--tw-border-style);\n border-left-width: 1px;\n }\n .\\!border-neutral-200 {\n border-color: var(--color-neutral-200) !important;\n }\n .border-black\\/5 {\n border-color: color-mix(in srgb, #000 5%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-black) 5%, transparent);\n }\n }\n .border-black\\/10 {\n border-color: color-mix(in srgb, #000 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-black) 10%, transparent);\n }\n }\n .border-black\\/30 {\n border-color: color-mix(in srgb, #000 30%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-black) 30%, transparent);\n }\n }\n .border-black\\/50 {\n border-color: color-mix(in srgb, #000 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-black) 50%, transparent);\n }\n }\n .border-fd-border {\n border-color: var(--color-fd-border);\n }\n .border-fd-foreground\\/10 {\n border-color: color-mix(in srgb, hsl(0, 0%, 3.9%) 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-fd-foreground) 10%, transparent);\n }\n }\n .border-fd-primary {\n border-color: var(--color-fd-primary);\n }\n .border-green-200 {\n border-color: var(--color-green-200);\n }\n .border-neutral-200 {\n border-color: var(--color-neutral-200);\n }\n .border-neutral-300 {\n border-color: var(--color-neutral-300);\n }\n .border-neutral-300\\/50 {\n border-color: color-mix(in srgb, oklch(87% 0 0) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-neutral-300) 50%, transparent);\n }\n }\n .border-transparent {\n border-color: transparent;\n }\n .bg-\\(--callout-color\\)\\/50 {\n background-color: var(--callout-color);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--callout-color) 50%, transparent);\n }\n }\n .bg-\\(--shiki-light-bg\\) {\n background-color: var(--shiki-light-bg);\n }\n .bg-\\[\\#F0F0F0\\] {\n background-color: #F0F0F0;\n }\n .bg-background {\n background-color: var(--background);\n }\n .bg-background\\/50 {\n background-color: var(--background);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--background) 50%, transparent);\n }\n }\n .bg-black {\n background-color: var(--color-black);\n }\n .bg-black\\/5 {\n background-color: color-mix(in srgb, #000 5%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-black) 5%, transparent);\n }\n }\n .bg-black\\/10 {\n background-color: color-mix(in srgb, #000 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-black) 10%, transparent);\n }\n }\n .bg-black\\/80 {\n background-color: color-mix(in srgb, #000 80%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-black) 80%, transparent);\n }\n }\n .bg-blue-200 {\n background-color: var(--color-blue-200);\n }\n .bg-fd-accent {\n background-color: var(--color-fd-accent);\n }\n .bg-fd-background {\n background-color: var(--color-fd-background);\n }\n .bg-fd-background\\/80 {\n background-color: color-mix(in srgb, hsl(0, 0%, 96%) 80%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-fd-background) 80%, transparent);\n }\n }\n .bg-fd-border {\n background-color: var(--color-fd-border);\n }\n .bg-fd-card {\n background-color: var(--color-fd-card);\n }\n .bg-fd-foreground\\/10 {\n background-color: color-mix(in srgb, hsl(0, 0%, 3.9%) 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-fd-foreground) 10%, transparent);\n }\n }\n .bg-fd-muted {\n background-color: var(--color-fd-muted);\n }\n .bg-fd-overlay {\n background-color: var(--color-fd-overlay);\n }\n .bg-fd-popover {\n background-color: var(--color-fd-popover);\n }\n .bg-fd-popover\\/60 {\n background-color: color-mix(in srgb, hsl(0, 0%, 98%) 60%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-fd-popover) 60%, transparent);\n }\n }\n .bg-fd-primary {\n background-color: var(--color-fd-primary);\n }\n .bg-fd-primary\\/10 {\n background-color: color-mix(in srgb, hsl(0, 0%, 9%) 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-fd-primary) 10%, transparent);\n }\n }\n .bg-fd-secondary {\n background-color: var(--color-fd-secondary);\n }\n .bg-fd-secondary\\/50 {\n background-color: color-mix(in srgb, hsl(0, 0%, 93.1%) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-fd-secondary) 50%, transparent);\n }\n }\n .bg-green-100\\/80 {\n background-color: color-mix(in srgb, oklch(96.2% 0.044 156.743) 80%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-green-100) 80%, transparent);\n }\n }\n .bg-green-200 {\n background-color: var(--color-green-200);\n }\n .bg-green-800 {\n background-color: var(--color-green-800);\n }\n .bg-neutral-100 {\n background-color: var(--color-neutral-100);\n }\n .bg-neutral-200 {\n background-color: var(--color-neutral-200);\n }\n .bg-neutral-200\\/50 {\n background-color: color-mix(in srgb, oklch(92.2% 0 0) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-neutral-200) 50%, transparent);\n }\n }\n .bg-red-200 {\n background-color: var(--color-red-200);\n }\n .bg-red-300 {\n background-color: var(--color-red-300);\n }\n .bg-transparent {\n background-color: transparent;\n }\n .bg-violet-300 {\n background-color: var(--color-violet-300);\n }\n .bg-violet-400 {\n background-color: var(--color-violet-400);\n }\n .bg-white {\n background-color: var(--color-white);\n }\n .bg-white\\/50 {\n background-color: color-mix(in srgb, #fff 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-white) 50%, transparent);\n }\n }\n .bg-yellow-200 {\n background-color: var(--color-yellow-200);\n }\n .bg-yellow-200\\/40 {\n background-color: color-mix(in srgb, oklch(94.5% 0.129 101.54) 40%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-yellow-200) 40%, transparent);\n }\n }\n .bg-gradient-to-t {\n --tw-gradient-position: to top in oklab;\n background-image: linear-gradient(var(--tw-gradient-stops));\n }\n .bg-\\[radial-gradient\\(\\#e5e7eb_1px\\,transparent_1px\\)\\] {\n background-image: radial-gradient(#e5e7eb 1px,transparent 1px);\n }\n .from-neutral-100 {\n --tw-gradient-from: var(--color-neutral-100);\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .via-neutral-100\\/40 {\n --tw-gradient-via: color-mix(in srgb, oklch(97% 0 0) 40%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-gradient-via: color-mix(in oklab, var(--color-neutral-100) 40%, transparent);\n }\n --tw-gradient-via-stops: var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-via-stops);\n }\n .to-transparent {\n --tw-gradient-to: transparent;\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .mask-\\[linear-gradient\\(to_bottom\\,transparent\\,white_16px\\,white_calc\\(100\\%-16px\\)\\,transparent\\)\\] {\n mask-image: linear-gradient(to bottom,transparent,white 16px,white calc(100% - 16px),transparent);\n }\n .\\[background-size\\:16px_16px\\] {\n background-size: 16px 16px;\n }\n .fill-\\(--callout-color\\) {\n fill: var(--callout-color);\n }\n .fill-emerald-500 {\n fill: var(--color-emerald-500);\n }\n .stroke-current\\/25 {\n stroke: currentcolor;\n @supports (color: color-mix(in lab, red, red)) {\n stroke: color-mix(in oklab, currentcolor 25%, transparent);\n }\n }\n .stroke-fd-foreground\\/10 {\n stroke: color-mix(in srgb, hsl(0, 0%, 3.9%) 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n stroke: color-mix(in oklab, var(--color-fd-foreground) 10%, transparent);\n }\n }\n .object-cover {\n object-fit: cover;\n }\n .p-0 {\n padding: calc(var(--spacing) * 0);\n }\n .p-0\\.5 {\n padding: calc(var(--spacing) * 0.5);\n }\n .p-1 {\n padding: calc(var(--spacing) * 1);\n }\n .p-1\\.5 {\n padding: calc(var(--spacing) * 1.5);\n }\n .p-2 {\n padding: calc(var(--spacing) * 2);\n }\n .p-3 {\n padding: calc(var(--spacing) * 3);\n }\n .p-4 {\n padding: calc(var(--spacing) * 4);\n }\n .p-5 {\n padding: calc(var(--spacing) * 5);\n }\n .p-8 {\n padding: calc(var(--spacing) * 8);\n }\n .p-10 {\n padding: calc(var(--spacing) * 10);\n }\n .px-1 {\n padding-inline: calc(var(--spacing) * 1);\n }\n .px-1\\.5 {\n padding-inline: calc(var(--spacing) * 1.5);\n }\n .px-2 {\n padding-inline: calc(var(--spacing) * 2);\n }\n .px-2\\.5 {\n padding-inline: calc(var(--spacing) * 2.5);\n }\n .px-3 {\n padding-inline: calc(var(--spacing) * 3);\n }\n .px-4 {\n padding-inline: calc(var(--spacing) * 4);\n }\n .px-5 {\n padding-inline: calc(var(--spacing) * 5);\n }\n .px-6 {\n padding-inline: calc(var(--spacing) * 6);\n }\n .px-10 {\n padding-inline: calc(var(--spacing) * 10);\n }\n .px-20 {\n padding-inline: calc(var(--spacing) * 20);\n }\n .py-0\\.5 {\n padding-block: calc(var(--spacing) * 0.5);\n }\n .py-1 {\n padding-block: calc(var(--spacing) * 1);\n }\n .py-1\\.5 {\n padding-block: calc(var(--spacing) * 1.5);\n }\n .py-2 {\n padding-block: calc(var(--spacing) * 2);\n }\n .py-2\\.5 {\n padding-block: calc(var(--spacing) * 2.5);\n }\n .py-3 {\n padding-block: calc(var(--spacing) * 3);\n }\n .py-3\\.5 {\n padding-block: calc(var(--spacing) * 3.5);\n }\n .py-5 {\n padding-block: calc(var(--spacing) * 5);\n }\n .py-6 {\n padding-block: calc(var(--spacing) * 6);\n }\n .py-10 {\n padding-block: calc(var(--spacing) * 10);\n }\n .py-12 {\n padding-block: calc(var(--spacing) * 12);\n }\n .py-px {\n padding-block: 1px;\n }\n .ps-1 {\n padding-inline-start: calc(var(--spacing) * 1);\n }\n .ps-2 {\n padding-inline-start: calc(var(--spacing) * 2);\n }\n .ps-2\\.5 {\n padding-inline-start: calc(var(--spacing) * 2.5);\n }\n .ps-3 {\n padding-inline-start: calc(var(--spacing) * 3);\n }\n .ps-4 {\n padding-inline-start: calc(var(--spacing) * 4);\n }\n .ps-6 {\n padding-inline-start: calc(var(--spacing) * 6);\n }\n .ps-8 {\n padding-inline-start: calc(var(--spacing) * 8);\n }\n .pe-2 {\n padding-inline-end: calc(var(--spacing) * 2);\n }\n .pe-2\\.5 {\n padding-inline-end: calc(var(--spacing) * 2.5);\n }\n .pe-4 {\n padding-inline-end: calc(var(--spacing) * 4);\n }\n .pt-0 {\n padding-top: calc(var(--spacing) * 0);\n }\n .pt-2 {\n padding-top: calc(var(--spacing) * 2);\n }\n .pt-3 {\n padding-top: calc(var(--spacing) * 3);\n }\n .pt-12 {\n padding-top: calc(var(--spacing) * 12);\n }\n .pt-20 {\n padding-top: calc(var(--spacing) * 20);\n }\n .pb-1\\.5 {\n padding-bottom: calc(var(--spacing) * 1.5);\n }\n .pb-2 {\n padding-bottom: calc(var(--spacing) * 2);\n }\n .pb-5 {\n padding-bottom: calc(var(--spacing) * 5);\n }\n .text-center {\n text-align: center;\n }\n .text-end {\n text-align: end;\n }\n .text-start {\n text-align: start;\n }\n .font-mono {\n font-family: var(--font-geist-mono);\n }\n .text-2xl {\n font-size: var(--text-2xl);\n line-height: var(--tw-leading, var(--text-2xl--line-height));\n }\n .text-3xl {\n font-size: var(--text-3xl);\n line-height: var(--tw-leading, var(--text-3xl--line-height));\n }\n .text-4xl {\n font-size: var(--text-4xl);\n line-height: var(--tw-leading, var(--text-4xl--line-height));\n }\n .text-base {\n font-size: var(--text-base);\n line-height: var(--tw-leading, var(--text-base--line-height));\n }\n .text-lg {\n font-size: var(--text-lg);\n line-height: var(--tw-leading, var(--text-lg--line-height));\n }\n .text-sm {\n font-size: var(--text-sm);\n line-height: var(--tw-leading, var(--text-sm--line-height));\n }\n .text-xl {\n font-size: var(--text-xl);\n line-height: var(--tw-leading, var(--text-xl--line-height));\n }\n .text-xs {\n font-size: var(--text-xs);\n line-height: var(--tw-leading, var(--text-xs--line-height));\n }\n .text-\\[0\\.8125rem\\] {\n font-size: 0.8125rem;\n }\n .text-\\[0\\.9375rem\\] {\n font-size: 0.9375rem;\n }\n .text-\\[1\\.75em\\] {\n font-size: 1.75em;\n }\n .text-\\[11px\\] {\n font-size: 11px;\n }\n .text-\\[12px\\] {\n font-size: 12px;\n }\n .leading-\\[1\\.05\\] {\n --tw-leading: 1.05;\n line-height: 1.05;\n }\n .leading-none {\n --tw-leading: 1;\n line-height: 1;\n }\n .leading-relaxed {\n --tw-leading: var(--leading-relaxed);\n line-height: var(--leading-relaxed);\n }\n .font-bold {\n --tw-font-weight: var(--font-weight-bold);\n font-weight: var(--font-weight-bold);\n }\n .font-medium {\n --tw-font-weight: var(--font-weight-medium);\n font-weight: var(--font-weight-medium);\n }\n .font-semibold {\n --tw-font-weight: var(--font-weight-semibold);\n font-weight: var(--font-weight-semibold);\n }\n .tracking-tight {\n --tw-tracking: var(--tracking-tight);\n letter-spacing: var(--tracking-tight);\n }\n .text-balance {\n text-wrap: balance;\n }\n .text-nowrap {\n text-wrap: nowrap;\n }\n .wrap-anywhere {\n overflow-wrap: anywhere;\n }\n .whitespace-nowrap {\n white-space: nowrap;\n }\n .text-\\(--callout-color\\) {\n color: var(--callout-color);\n }\n .text-amber-500 {\n color: var(--color-amber-500);\n }\n .text-black {\n color: var(--color-black);\n }\n .text-emerald-500 {\n color: var(--color-emerald-500);\n }\n .text-fd-accent-foreground {\n color: var(--color-fd-accent-foreground);\n }\n .text-fd-card {\n color: var(--color-fd-card);\n }\n .text-fd-card-foreground {\n color: var(--color-fd-card-foreground);\n }\n .text-fd-foreground {\n color: var(--color-fd-foreground);\n }\n .text-fd-foreground\\/80 {\n color: color-mix(in srgb, hsl(0, 0%, 3.9%) 80%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, var(--color-fd-foreground) 80%, transparent);\n }\n }\n .text-fd-muted-foreground {\n color: var(--color-fd-muted-foreground);\n }\n .text-fd-muted-foreground\\/50 {\n color: color-mix(in srgb, hsl(0, 0%, 45.1%) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, var(--color-fd-muted-foreground) 50%, transparent);\n }\n }\n .text-fd-popover-foreground {\n color: var(--color-fd-popover-foreground);\n }\n .text-fd-popover-foreground\\/80 {\n color: color-mix(in srgb, hsl(0, 0%, 15.1%) 80%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, var(--color-fd-popover-foreground) 80%, transparent);\n }\n }\n .text-fd-primary {\n color: var(--color-fd-primary);\n }\n .text-fd-primary-foreground {\n color: var(--color-fd-primary-foreground);\n }\n .text-fd-primary\\/50 {\n color: color-mix(in srgb, hsl(0, 0%, 9%) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, var(--color-fd-primary) 50%, transparent);\n }\n }\n .text-fd-secondary-foreground {\n color: var(--color-fd-secondary-foreground);\n }\n .text-foreground {\n color: var(--foreground);\n }\n .text-foreground\\/70 {\n color: var(--foreground);\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, var(--foreground) 70%, transparent);\n }\n }\n .text-fuchsia-500 {\n color: var(--color-fuchsia-500);\n }\n .text-green-500 {\n color: var(--color-green-500);\n }\n .text-neutral-400 {\n color: var(--color-neutral-400);\n }\n .text-neutral-500 {\n color: var(--color-neutral-500);\n }\n .text-neutral-700 {\n color: var(--color-neutral-700);\n }\n .text-sky-500 {\n color: var(--color-sky-500);\n }\n .text-white {\n color: var(--color-white);\n }\n .line-through {\n text-decoration-line: line-through;\n }\n .underline {\n text-decoration-line: underline;\n }\n .antialiased {\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n .opacity-0 {\n opacity: 0%;\n }\n .shadow {\n --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-2xl {\n --tw-shadow: 0 25px 50px -12px var(--tw-shadow-color, rgb(0 0 0 / 0.25));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-lg {\n --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-md {\n --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-none {\n --tw-shadow: 0 0 #0000;\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-sm {\n --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .ring-1 {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-black\\/50 {\n --tw-shadow-color: color-mix(in srgb, #000 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--color-black) 50%, transparent) var(--tw-shadow-alpha), transparent);\n }\n }\n .shadow-white {\n --tw-shadow-color: #fff;\n @supports (color: color-mix(in lab, red, red)) {\n --tw-shadow-color: color-mix(in oklab, var(--color-white) var(--tw-shadow-alpha), transparent);\n }\n }\n .ring-black\\/10 {\n --tw-ring-color: color-mix(in srgb, #000 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-ring-color: color-mix(in oklab, var(--color-black) 10%, transparent);\n }\n }\n .ring-black\\/30 {\n --tw-ring-color: color-mix(in srgb, #000 30%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-ring-color: color-mix(in oklab, var(--color-black) 30%, transparent);\n }\n }\n .ring-neutral-200 {\n --tw-ring-color: var(--color-neutral-200);\n }\n .ring-neutral-500 {\n --tw-ring-color: var(--color-neutral-500);\n }\n .outline {\n outline-style: var(--tw-outline-style);\n outline-width: 1px;\n }\n .filter {\n filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);\n }\n .backdrop-blur-lg {\n --tw-backdrop-blur: blur(var(--blur-lg));\n -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n }\n .backdrop-blur-md {\n --tw-backdrop-blur: blur(var(--blur-md));\n -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n }\n .backdrop-blur-sm {\n --tw-backdrop-blur: blur(var(--blur-sm));\n -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n }\n .backdrop-blur-xs {\n --tw-backdrop-blur: blur(var(--blur-xs));\n -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n }\n .transition {\n transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-\\[grid-template-columns\\] {\n transition-property: grid-template-columns;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-\\[height\\] {\n transition-property: height;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-\\[opacity\\,translate\\,color\\] {\n transition-property: opacity,translate,color;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-\\[opacity\\,translate\\] {\n transition-property: opacity,translate;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-\\[top\\,height\\] {\n transition-property: top,height;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-\\[width\\,height\\] {\n transition-property: width,height;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-\\[width\\,inset-block\\,translate\\,background-color\\] {\n transition-property: width,inset-block,translate,background-color;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-all {\n transition-property: all;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-colors {\n transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-opacity {\n transition-property: opacity;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-transform {\n transition-property: transform, translate, scale, rotate;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .duration-100 {\n --tw-duration: 100ms;\n transition-duration: 100ms;\n }\n .duration-200 {\n --tw-duration: 200ms;\n transition-duration: 200ms;\n }\n .duration-250 {\n --tw-duration: 250ms;\n transition-duration: 250ms;\n }\n .duration-300 {\n --tw-duration: 300ms;\n transition-duration: 300ms;\n }\n .duration-400 {\n --tw-duration: 400ms;\n transition-duration: 400ms;\n }\n .ease-linear {\n --tw-ease: linear;\n transition-timing-function: linear;\n }\n .outline-none {\n --tw-outline-style: none;\n outline-style: none;\n }\n .select-none {\n -webkit-user-select: none;\n user-select: none;\n }\n .\\[--fd-docs-height\\:100dvh\\] {\n --fd-docs-height: 100dvh;\n }\n .\\[--fd-header-height\\:0px\\] {\n --fd-header-height: 0px;\n }\n .\\[--fd-layout-width\\:1400px\\] {\n --fd-layout-width: 1400px;\n }\n .\\[--fd-sidebar-width\\:0px\\] {\n --fd-sidebar-width: 0px;\n }\n .\\[--fd-toc-popover-height\\:0px\\] {\n --fd-toc-popover-height: 0px;\n }\n .\\[--fd-toc-width\\:0px\\] {\n --fd-toc-width: 0px;\n }\n .\\[grid-area\\:header\\] {\n grid-area: header;\n }\n .\\[grid-area\\:main\\] {\n grid-area: main;\n }\n .\\[grid-area\\:sidebar\\] {\n grid-area: sidebar;\n }\n .\\[grid-area\\:toc-popover\\] {\n grid-area: toc-popover;\n }\n .\\[grid-area\\:toc\\] {\n grid-area: toc;\n }\n .\\[scrollbar-width\\:none\\] {\n scrollbar-width: none;\n }\n .text-shadow-2xs {\n text-shadow: 0px 1px 0px var(--tw-text-shadow-color, rgb(0 0 0 / 0.15));\n }\n .\\*\\:pointer-events-auto {\n :is(& > *) {\n pointer-events: auto;\n }\n }\n .\\*\\:col-start-1 {\n :is(& > *) {\n grid-column-start: 1;\n }\n }\n .\\*\\:row-start-1 {\n :is(& > *) {\n grid-row-start: 1;\n }\n }\n .\\*\\:mx-auto {\n :is(& > *) {\n margin-inline: auto;\n }\n }\n .\\*\\:my-auto {\n :is(& > *) {\n margin-block: auto;\n }\n }\n .\\*\\:flex {\n :is(& > *) {\n display: flex;\n }\n }\n .\\*\\:w-\\(--fd-sidebar-width\\) {\n :is(& > *) {\n width: var(--fd-sidebar-width);\n }\n }\n .\\*\\:max-w-\\(--fd-layout-width\\) {\n :is(& > *) {\n max-width: var(--fd-layout-width);\n }\n }\n .\\*\\:max-w-\\[900px\\] {\n :is(& > *) {\n max-width: 900px;\n }\n }\n .\\*\\:max-w-\\[1285px\\] {\n :is(& > *) {\n max-width: 1285px;\n }\n }\n .\\*\\:flex-col {\n :is(& > *) {\n flex-direction: column;\n }\n }\n .\\*\\:border-b {\n :is(& > *) {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 1px;\n }\n }\n .not-last\\:mb-2 {\n &:not(*:last-child) {\n margin-bottom: calc(var(--spacing) * 2);\n }\n }\n .group-hover\\/code\\:opacity-100 {\n &:is(:where(.group\\/code):hover *) {\n @media (hover: hover) {\n opacity: 100%;\n }\n }\n }\n .group-data-\\[state\\=active\\]\\:bg-fd-primary {\n &:is(:where(.group)[data-state=\"active\"] *) {\n background-color: var(--color-fd-primary);\n }\n }\n .group-data-\\[state\\=open\\]\\:rotate-90 {\n &:is(:where(.group)[data-state=\"open\"] *) {\n rotate: 90deg;\n }\n }\n .group-data-\\[state\\=open\\]\\:rotate-180 {\n &:is(:where(.group)[data-state=\"open\"] *) {\n rotate: 180deg;\n }\n }\n .peer-hover\\:opacity-100 {\n &:is(:where(.peer):hover ~ *) {\n @media (hover: hover) {\n opacity: 100%;\n }\n }\n }\n .placeholder\\:text-fd-muted-foreground {\n &::placeholder {\n color: var(--color-fd-muted-foreground);\n }\n }\n .before\\:absolute {\n &::before {\n content: var(--tw-content);\n position: absolute;\n }\n }\n .before\\:inset-y-1 {\n &::before {\n content: var(--tw-content);\n inset-block: calc(var(--spacing) * 1);\n }\n }\n .before\\:start-2\\.5 {\n &::before {\n content: var(--tw-content);\n inset-inline-start: calc(var(--spacing) * 2.5);\n }\n }\n .before\\:w-px {\n &::before {\n content: var(--tw-content);\n width: 1px;\n }\n }\n .before\\:bg-fd-border {\n &::before {\n content: var(--tw-content);\n background-color: var(--color-fd-border);\n }\n }\n .before\\:content-\\[\\'\\'\\] {\n &::before {\n --tw-content: '';\n content: var(--tw-content);\n }\n }\n .first\\:ms-0 {\n &:first-child {\n margin-inline-start: calc(var(--spacing) * 0);\n }\n }\n .first\\:mt-0 {\n &:first-child {\n margin-top: calc(var(--spacing) * 0);\n }\n }\n .first\\:pt-0 {\n &:first-child {\n padding-top: calc(var(--spacing) * 0);\n }\n }\n .last\\:me-0 {\n &:last-child {\n margin-inline-end: calc(var(--spacing) * 0);\n }\n }\n .last\\:rounded-b-xl {\n &:last-child {\n border-bottom-right-radius: var(--radius-xl);\n border-bottom-left-radius: var(--radius-xl);\n }\n }\n .last\\:pb-0 {\n &:last-child {\n padding-bottom: calc(var(--spacing) * 0);\n }\n }\n .\\*\\:last\\:border-b-0 {\n :is(& > *) {\n &:last-child {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 0px;\n }\n }\n }\n .empty\\:mb-0 {\n &:empty {\n margin-bottom: calc(var(--spacing) * 0);\n }\n }\n .empty\\:hidden {\n &:empty {\n display: none;\n }\n }\n .hover\\:scale-105 {\n &:hover {\n @media (hover: hover) {\n --tw-scale-x: 105%;\n --tw-scale-y: 105%;\n --tw-scale-z: 105%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n }\n }\n .hover\\:bg-black\\/5 {\n &:hover {\n @media (hover: hover) {\n background-color: color-mix(in srgb, #000 5%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-black) 5%, transparent);\n }\n }\n }\n }\n .hover\\:bg-fd-accent {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-fd-accent);\n }\n }\n }\n .hover\\:bg-fd-accent\\/50 {\n &:hover {\n @media (hover: hover) {\n background-color: color-mix(in srgb, hsla(0, 0%, 82%, 50%) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-fd-accent) 50%, transparent);\n }\n }\n }\n }\n .hover\\:bg-fd-accent\\/80 {\n &:hover {\n @media (hover: hover) {\n background-color: color-mix(in srgb, hsla(0, 0%, 82%, 50%) 80%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-fd-accent) 80%, transparent);\n }\n }\n }\n }\n .hover\\:bg-fd-primary\\/80 {\n &:hover {\n @media (hover: hover) {\n background-color: color-mix(in srgb, hsl(0, 0%, 9%) 80%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-fd-primary) 80%, transparent);\n }\n }\n }\n }\n .hover\\:bg-neutral-100 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-neutral-100);\n }\n }\n }\n .hover\\:bg-neutral-200 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-neutral-200);\n }\n }\n }\n .hover\\:bg-neutral-200\\/80 {\n &:hover {\n @media (hover: hover) {\n background-color: color-mix(in srgb, oklch(92.2% 0 0) 80%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-neutral-200) 80%, transparent);\n }\n }\n }\n }\n .hover\\:text-fd-accent-foreground {\n &:hover {\n @media (hover: hover) {\n color: var(--color-fd-accent-foreground);\n }\n }\n }\n .hover\\:text-fd-accent-foreground\\/80 {\n &:hover {\n @media (hover: hover) {\n color: color-mix(in srgb, hsl(0, 0%, 9%) 80%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, var(--color-fd-accent-foreground) 80%, transparent);\n }\n }\n }\n }\n .hover\\:text-fd-popover-foreground\\/50 {\n &:hover {\n @media (hover: hover) {\n color: color-mix(in srgb, hsl(0, 0%, 15.1%) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, var(--color-fd-popover-foreground) 50%, transparent);\n }\n }\n }\n }\n .hover\\:text-foreground {\n &:hover {\n @media (hover: hover) {\n color: var(--foreground);\n }\n }\n }\n .hover\\:text-neutral-700 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-neutral-700);\n }\n }\n }\n .hover\\:text-neutral-900 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-neutral-900);\n }\n }\n }\n .hover\\:opacity-80 {\n &:hover {\n @media (hover: hover) {\n opacity: 80%;\n }\n }\n }\n .hover\\:transition-none {\n &:hover {\n @media (hover: hover) {\n transition-property: none;\n }\n }\n }\n .focus-visible\\:ring-2 {\n &:focus-visible {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n }\n .focus-visible\\:ring-fd-ring {\n &:focus-visible {\n --tw-ring-color: var(--color-fd-ring);\n }\n }\n .focus-visible\\:outline-none {\n &:focus-visible {\n --tw-outline-style: none;\n outline-style: none;\n }\n }\n .focus-visible\\:ring-inset {\n &:focus-visible {\n --tw-ring-inset: inset;\n }\n }\n .active\\:translate-x-\\[96px\\] {\n &:active {\n --tw-translate-x: 96px;\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n }\n .active\\:scale-95 {\n &:active {\n --tw-scale-x: 95%;\n --tw-scale-y: 95%;\n --tw-scale-z: 95%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n }\n .active\\:rotate-45 {\n &:active {\n rotate: 45deg;\n }\n }\n .active\\:bg-black\\/5 {\n &:active {\n background-color: color-mix(in srgb, #000 5%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-black) 5%, transparent);\n }\n }\n }\n .active\\:bg-neutral-100 {\n &:active {\n background-color: var(--color-neutral-100);\n }\n }\n .active\\:text-black {\n &:active {\n color: var(--color-black);\n }\n }\n .disabled\\:pointer-events-none {\n &:disabled {\n pointer-events: none;\n }\n }\n .disabled\\:opacity-50 {\n &:disabled {\n opacity: 50%;\n }\n }\n .has-focus-visible\\:bg-fd-accent {\n &:has(*:focus-visible) {\n background-color: var(--color-fd-accent);\n }\n }\n .has-data-\\[active\\=true\\]\\:text-fd-primary {\n &:has(*[data-active=\"true\"]) {\n color: var(--color-fd-primary);\n }\n }\n .\\*\\:has-\\[\\+\\:last-child\\[data-empty\\=true\\]\\]\\:border-b-0 {\n :is(& > *) {\n &:has(+:last-child[data-empty=true]) {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 0px;\n }\n }\n }\n .data-checked\\:text-fd-accent-foreground {\n &[data-checked] {\n color: var(--color-fd-accent-foreground);\n }\n }\n .data-\\[active\\=true\\]\\:bg-fd-primary\\/10 {\n &[data-active=\"true\"] {\n background-color: color-mix(in srgb, hsl(0, 0%, 9%) 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-fd-primary) 10%, transparent);\n }\n }\n }\n .data-\\[active\\=true\\]\\:font-medium {\n &[data-active=\"true\"] {\n --tw-font-weight: var(--font-weight-medium);\n font-weight: var(--font-weight-medium);\n }\n }\n .data-\\[active\\=true\\]\\:text-fd-primary {\n &[data-active=\"true\"] {\n color: var(--color-fd-primary);\n }\n }\n .data-\\[active\\=true\\]\\:before\\:absolute {\n &[data-active=\"true\"] {\n &::before {\n content: var(--tw-content);\n position: absolute;\n }\n }\n }\n .data-\\[active\\=true\\]\\:before\\:inset-y-2\\.5 {\n &[data-active=\"true\"] {\n &::before {\n content: var(--tw-content);\n inset-block: calc(var(--spacing) * 2.5);\n }\n }\n }\n .data-\\[active\\=true\\]\\:before\\:start-2\\.5 {\n &[data-active=\"true\"] {\n &::before {\n content: var(--tw-content);\n inset-inline-start: calc(var(--spacing) * 2.5);\n }\n }\n }\n .data-\\[active\\=true\\]\\:before\\:w-px {\n &[data-active=\"true\"] {\n &::before {\n content: var(--tw-content);\n width: 1px;\n }\n }\n }\n .data-\\[active\\=true\\]\\:before\\:bg-fd-primary {\n &[data-active=\"true\"] {\n &::before {\n content: var(--tw-content);\n background-color: var(--color-fd-primary);\n }\n }\n }\n .data-\\[active\\=true\\]\\:before\\:content-\\[\\'\\'\\] {\n &[data-active=\"true\"] {\n &::before {\n --tw-content: '';\n content: var(--tw-content);\n }\n }\n }\n .data-\\[active\\=true\\]\\:hover\\:transition-colors {\n &[data-active=\"true\"] {\n &:hover {\n @media (hover: hover) {\n transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n }\n }\n }\n .data-\\[collapsed\\=false\\]\\:hidden {\n &[data-collapsed=\"false\"] {\n display: none;\n }\n }\n .\\*\\:data-\\[empty\\=true\\]\\:border-b-0 {\n :is(& > *) {\n &[data-empty=\"true\"] {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 0px;\n }\n }\n }\n .data-\\[motion\\=from-end\\]\\:animate-fd-enterFromRight {\n &[data-motion=\"from-end\"] {\n animation: var(--animate-fd-enterFromRight);\n }\n }\n .data-\\[motion\\=from-start\\]\\:animate-fd-enterFromLeft {\n &[data-motion=\"from-start\"] {\n animation: var(--animate-fd-enterFromLeft);\n }\n }\n .data-\\[motion\\=to-end\\]\\:animate-fd-exitToRight {\n &[data-motion=\"to-end\"] {\n animation: var(--animate-fd-exitToRight);\n }\n }\n .data-\\[motion\\=to-start\\]\\:animate-fd-exitToLeft {\n &[data-motion=\"to-start\"] {\n animation: var(--animate-fd-exitToLeft);\n }\n }\n .data-\\[state\\=active\\]\\:border-fd-primary {\n &[data-state=\"active\"] {\n border-color: var(--color-fd-primary);\n }\n }\n .data-\\[state\\=active\\]\\:text-fd-primary {\n &[data-state=\"active\"] {\n color: var(--color-fd-primary);\n }\n }\n .data-\\[state\\=closed\\]\\:animate-fd-accordion-up {\n &[data-state=\"closed\"] {\n animation: var(--animate-fd-accordion-up);\n }\n }\n .data-\\[state\\=closed\\]\\:animate-fd-collapsible-up {\n &[data-state=\"closed\"] {\n animation: var(--animate-fd-collapsible-up);\n }\n }\n .data-\\[state\\=closed\\]\\:animate-fd-dialog-out {\n &[data-state=\"closed\"] {\n animation: var(--animate-fd-dialog-out);\n }\n }\n .data-\\[state\\=closed\\]\\:animate-fd-fade-out {\n &[data-state=\"closed\"] {\n animation: var(--animate-fd-fade-out);\n }\n }\n .data-\\[state\\=closed\\]\\:animate-fd-nav-menu-out {\n &[data-state=\"closed\"] {\n animation: var(--animate-fd-nav-menu-out);\n }\n }\n .data-\\[state\\=closed\\]\\:animate-fd-popover-out {\n &[data-state=\"closed\"] {\n animation: var(--animate-fd-popover-out);\n }\n }\n .data-\\[state\\=closed\\]\\:animate-fd-sidebar-out {\n &[data-state=\"closed\"] {\n animation: var(--animate-fd-sidebar-out);\n }\n }\n .data-\\[state\\=hidden\\]\\:animate-fd-fade-out {\n &[data-state=\"hidden\"] {\n animation: var(--animate-fd-fade-out);\n }\n }\n .data-\\[state\\=inactive\\]\\:hidden {\n &[data-state=\"inactive\"] {\n display: none;\n }\n }\n .data-\\[state\\=open\\]\\:animate-fd-accordion-down {\n &[data-state=\"open\"] {\n animation: var(--animate-fd-accordion-down);\n }\n }\n .data-\\[state\\=open\\]\\:animate-fd-collapsible-down {\n &[data-state=\"open\"] {\n animation: var(--animate-fd-collapsible-down);\n }\n }\n .data-\\[state\\=open\\]\\:animate-fd-dialog-in {\n &[data-state=\"open\"] {\n animation: var(--animate-fd-dialog-in);\n }\n }\n .data-\\[state\\=open\\]\\:animate-fd-fade-in {\n &[data-state=\"open\"] {\n animation: var(--animate-fd-fade-in);\n }\n }\n .data-\\[state\\=open\\]\\:animate-fd-nav-menu-in {\n &[data-state=\"open\"] {\n animation: var(--animate-fd-nav-menu-in);\n }\n }\n .data-\\[state\\=open\\]\\:animate-fd-popover-in {\n &[data-state=\"open\"] {\n animation: var(--animate-fd-popover-in);\n }\n }\n .data-\\[state\\=open\\]\\:animate-fd-sidebar-in {\n &[data-state=\"open\"] {\n animation: var(--animate-fd-sidebar-in);\n }\n }\n .data-\\[state\\=open\\]\\:bg-fd-accent {\n &[data-state=\"open\"] {\n background-color: var(--color-fd-accent);\n }\n }\n .data-\\[state\\=open\\]\\:bg-fd-accent\\/50 {\n &[data-state=\"open\"] {\n background-color: color-mix(in srgb, hsla(0, 0%, 82%, 50%) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-fd-accent) 50%, transparent);\n }\n }\n }\n .data-\\[state\\=open\\]\\:text-fd-accent-foreground {\n &[data-state=\"open\"] {\n color: var(--color-fd-accent-foreground);\n }\n }\n .data-\\[transparent\\=false\\]\\:bg-fd-background\\/80 {\n &[data-transparent=\"false\"] {\n background-color: color-mix(in srgb, hsl(0, 0%, 96%) 80%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-fd-background) 80%, transparent);\n }\n }\n }\n .max-xl\\:hidden {\n @media (width < 80rem) {\n display: none;\n }\n }\n .max-lg\\:flex {\n @media (width < 64rem) {\n display: flex;\n }\n }\n .max-lg\\:hidden {\n @media (width < 64rem) {\n display: none;\n }\n }\n .max-lg\\:rounded-b-2xl {\n @media (width < 64rem) {\n border-bottom-right-radius: var(--radius-2xl);\n border-bottom-left-radius: var(--radius-2xl);\n }\n }\n .max-lg\\:shadow-lg {\n @media (width < 64rem) {\n --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n }\n .max-md\\:flex {\n @media (width < 48rem) {\n display: flex;\n }\n }\n .max-md\\:hidden {\n @media (width < 48rem) {\n display: none;\n }\n }\n .max-md\\:rounded-md {\n @media (width < 48rem) {\n border-radius: var(--radius-md);\n }\n }\n .max-md\\:border {\n @media (width < 48rem) {\n border-style: var(--tw-border-style);\n border-width: 1px;\n }\n }\n .max-md\\:bg-fd-secondary {\n @media (width < 48rem) {\n background-color: var(--color-fd-secondary);\n }\n }\n .max-md\\:p-1\\.5 {\n @media (width < 48rem) {\n padding: calc(var(--spacing) * 1.5);\n }\n }\n .max-sm\\:mt-2 {\n @media (width < 40rem) {\n margin-top: calc(var(--spacing) * 2);\n }\n }\n .max-sm\\:hidden {\n @media (width < 40rem) {\n display: none;\n }\n }\n .sm\\:mx-20 {\n @media (width >= 40rem) {\n margin-inline: calc(var(--spacing) * 20);\n }\n }\n .sm\\:hidden {\n @media (width >= 40rem) {\n display: none;\n }\n }\n .sm\\:flex-row {\n @media (width >= 40rem) {\n flex-direction: row;\n }\n }\n .sm\\:items-center {\n @media (width >= 40rem) {\n align-items: center;\n }\n }\n .sm\\:justify-end {\n @media (width >= 40rem) {\n justify-content: flex-end;\n }\n }\n .sm\\:text-2xl {\n @media (width >= 40rem) {\n font-size: var(--text-2xl);\n line-height: var(--tw-leading, var(--text-2xl--line-height));\n }\n }\n .sm\\:text-4xl {\n @media (width >= 40rem) {\n font-size: var(--text-4xl);\n line-height: var(--tw-leading, var(--text-4xl--line-height));\n }\n }\n .md\\:top-\\[calc\\(50\\%-250px\\)\\] {\n @media (width >= 48rem) {\n top: calc(50% - 250px);\n }\n }\n .md\\:col-span-2 {\n @media (width >= 48rem) {\n grid-column: span 2 / span 2;\n }\n }\n .md\\:mx-auto {\n @media (width >= 48rem) {\n margin-inline: auto;\n }\n }\n .md\\:mb-auto {\n @media (width >= 48rem) {\n margin-bottom: auto;\n }\n }\n .md\\:block {\n @media (width >= 48rem) {\n display: block;\n }\n }\n .md\\:hidden {\n @media (width >= 48rem) {\n display: none;\n }\n }\n .md\\:size-5 {\n @media (width >= 48rem) {\n width: calc(var(--spacing) * 5);\n height: calc(var(--spacing) * 5);\n }\n }\n .md\\:max-w-5xl {\n @media (width >= 48rem) {\n max-width: var(--container-5xl);\n }\n }\n .md\\:grid-cols-2 {\n @media (width >= 48rem) {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n }\n .md\\:grid-cols-4 {\n @media (width >= 48rem) {\n grid-template-columns: repeat(4, minmax(0, 1fr));\n }\n }\n .md\\:grid-cols-\\[1fr_1fr\\] {\n @media (width >= 48rem) {\n grid-template-columns: 1fr 1fr;\n }\n }\n .md\\:gap-2 {\n @media (width >= 48rem) {\n gap: calc(var(--spacing) * 2);\n }\n }\n .md\\:gap-x-60 {\n @media (width >= 48rem) {\n column-gap: calc(var(--spacing) * 60);\n }\n }\n .md\\:p-10 {\n @media (width >= 48rem) {\n padding: calc(var(--spacing) * 10);\n }\n }\n .md\\:px-6 {\n @media (width >= 48rem) {\n padding-inline: calc(var(--spacing) * 6);\n }\n }\n .md\\:pt-8 {\n @media (width >= 48rem) {\n padding-top: calc(var(--spacing) * 8);\n }\n }\n .md\\:text-4xl {\n @media (width >= 48rem) {\n font-size: var(--text-4xl);\n line-height: var(--tw-leading, var(--text-4xl--line-height));\n }\n }\n .md\\:text-5xl {\n @media (width >= 48rem) {\n font-size: var(--text-5xl);\n line-height: var(--tw-leading, var(--text-5xl--line-height));\n }\n }\n .md\\:text-6xl {\n @media (width >= 48rem) {\n font-size: var(--text-6xl);\n line-height: var(--tw-leading, var(--text-6xl--line-height));\n }\n }\n .has-data-\\[collapsed\\=true\\]\\:md\\:flex {\n &:has(*[data-collapsed=\"true\"]) {\n @media (width >= 48rem) {\n display: flex;\n }\n }\n }\n .lg\\:mx-0 {\n @media (width >= 64rem) {\n margin-inline: calc(var(--spacing) * 0);\n }\n }\n .lg\\:mx-20 {\n @media (width >= 64rem) {\n margin-inline: calc(var(--spacing) * 20);\n }\n }\n .lg\\:hidden {\n @media (width >= 64rem) {\n display: none;\n }\n }\n .lg\\:grid-cols-3 {\n @media (width >= 64rem) {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n }\n }\n .lg\\:flex-row {\n @media (width >= 64rem) {\n flex-direction: row;\n }\n }\n .lg\\:items-center {\n @media (width >= 64rem) {\n align-items: center;\n }\n }\n .lg\\:text-6xl {\n @media (width >= 64rem) {\n font-size: var(--text-6xl);\n line-height: var(--tw-leading, var(--text-6xl--line-height));\n }\n }\n .lg\\:text-7xl {\n @media (width >= 64rem) {\n font-size: var(--text-7xl);\n line-height: var(--tw-leading, var(--text-7xl--line-height));\n }\n }\n .xl\\:hidden {\n @media (width >= 80rem) {\n display: none;\n }\n }\n .xl\\:px-8 {\n @media (width >= 80rem) {\n padding-inline: calc(var(--spacing) * 8);\n }\n }\n .xl\\:pt-14 {\n @media (width >= 80rem) {\n padding-top: calc(var(--spacing) * 14);\n }\n }\n .\\@max-xl\\:hidden {\n @container (width < 36rem) {\n display: none;\n }\n }\n .\\@max-lg\\:col-span-full {\n @container (width < 32rem) {\n grid-column: 1 / -1;\n }\n }\n .rtl\\:-translate-x-2 {\n &:where(:dir(rtl), [dir=\"rtl\"], [dir=\"rtl\"] *) {\n --tw-translate-x: calc(var(--spacing) * -2);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n }\n .rtl\\:translate-x-full {\n &:where(:dir(rtl), [dir=\"rtl\"], [dir=\"rtl\"] *) {\n --tw-translate-x: 100%;\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n }\n .rtl\\:-scale-x-100 {\n &:where(:dir(rtl), [dir=\"rtl\"], [dir=\"rtl\"] *) {\n --tw-scale-x: calc(100% * -1);\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n }\n .rtl\\:rotate-180 {\n &:where(:dir(rtl), [dir=\"rtl\"], [dir=\"rtl\"] *) {\n rotate: 180deg;\n }\n }\n .dark\\:\\!border-neutral-700 {\n &:where(.dark, .dark *) {\n border-color: var(--color-neutral-700) !important;\n }\n }\n .dark\\:\\!border-neutral-900 {\n &:where(.dark, .dark *) {\n border-color: var(--color-neutral-900) !important;\n }\n }\n .dark\\:border-neutral-300 {\n &:where(.dark, .dark *) {\n border-color: var(--color-neutral-300);\n }\n }\n .dark\\:border-neutral-700 {\n &:where(.dark, .dark *) {\n border-color: var(--color-neutral-700);\n }\n }\n .dark\\:border-neutral-700\\/50 {\n &:where(.dark, .dark *) {\n border-color: color-mix(in srgb, oklch(37.1% 0 0) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-neutral-700) 50%, transparent);\n }\n }\n }\n .dark\\:border-neutral-800 {\n &:where(.dark, .dark *) {\n border-color: var(--color-neutral-800);\n }\n }\n .dark\\:border-neutral-900 {\n &:where(.dark, .dark *) {\n border-color: var(--color-neutral-900);\n }\n }\n .dark\\:border-white\\/10 {\n &:where(.dark, .dark *) {\n border-color: color-mix(in srgb, #fff 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-white) 10%, transparent);\n }\n }\n }\n .dark\\:bg-\\(--shiki-dark-bg\\) {\n &:where(.dark, .dark *) {\n background-color: var(--shiki-dark-bg);\n }\n }\n .dark\\:bg-\\[\\#0c0c0c\\] {\n &:where(.dark, .dark *) {\n background-color: #0c0c0c;\n }\n }\n .dark\\:bg-\\[\\#161616\\] {\n &:where(.dark, .dark *) {\n background-color: #161616;\n }\n }\n .dark\\:bg-background\\/30 {\n &:where(.dark, .dark *) {\n background-color: var(--background);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--background) 30%, transparent);\n }\n }\n }\n .dark\\:bg-black {\n &:where(.dark, .dark *) {\n background-color: var(--color-black);\n }\n }\n .dark\\:bg-black\\/50 {\n &:where(.dark, .dark *) {\n background-color: color-mix(in srgb, #000 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-black) 50%, transparent);\n }\n }\n }\n .dark\\:bg-neutral-100 {\n &:where(.dark, .dark *) {\n background-color: var(--color-neutral-100);\n }\n }\n .dark\\:bg-neutral-800 {\n &:where(.dark, .dark *) {\n background-color: var(--color-neutral-800);\n }\n }\n .dark\\:bg-neutral-800\\/50 {\n &:where(.dark, .dark *) {\n background-color: color-mix(in srgb, oklch(26.9% 0 0) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-neutral-800) 50%, transparent);\n }\n }\n }\n .dark\\:bg-white {\n &:where(.dark, .dark *) {\n background-color: var(--color-white);\n }\n }\n .dark\\:bg-\\[radial-gradient\\(\\#262626_1px\\,transparent_1px\\)\\] {\n &:where(.dark, .dark *) {\n background-image: radial-gradient(#262626 1px,transparent 1px);\n }\n }\n .dark\\:from-\\[\\#161616\\] {\n &:where(.dark, .dark *) {\n --tw-gradient-from: #161616;\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n }\n .dark\\:via-\\[\\#161616\\]\\/40 {\n &:where(.dark, .dark *) {\n --tw-gradient-via: color-mix(in oklab, #161616 40%, transparent);\n --tw-gradient-via-stops: var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-via-stops);\n }\n }\n .dark\\:to-transparent {\n &:where(.dark, .dark *) {\n --tw-gradient-to: transparent;\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n }\n .dark\\:text-black {\n &:where(.dark, .dark *) {\n color: var(--color-black);\n }\n }\n .dark\\:text-neutral-300 {\n &:where(.dark, .dark *) {\n color: var(--color-neutral-300);\n }\n }\n .dark\\:text-neutral-400 {\n &:where(.dark, .dark *) {\n color: var(--color-neutral-400);\n }\n }\n .dark\\:text-neutral-500 {\n &:where(.dark, .dark *) {\n color: var(--color-neutral-500);\n }\n }\n .dark\\:text-white {\n &:where(.dark, .dark *) {\n color: var(--color-white);\n }\n }\n .dark\\:shadow-black\\/10 {\n &:where(.dark, .dark *) {\n --tw-shadow-color: color-mix(in srgb, #000 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--color-black) 10%, transparent) var(--tw-shadow-alpha), transparent);\n }\n }\n }\n .dark\\:ring-black\\/30 {\n &:where(.dark, .dark *) {\n --tw-ring-color: color-mix(in srgb, #000 30%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-ring-color: color-mix(in oklab, var(--color-black) 30%, transparent);\n }\n }\n }\n .dark\\:ring-neutral-500 {\n &:where(.dark, .dark *) {\n --tw-ring-color: var(--color-neutral-500);\n }\n }\n .dark\\:ring-neutral-700 {\n &:where(.dark, .dark *) {\n --tw-ring-color: var(--color-neutral-700);\n }\n }\n .dark\\:hover\\:bg-neutral-800 {\n &:where(.dark, .dark *) {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-neutral-800);\n }\n }\n }\n }\n .dark\\:hover\\:bg-neutral-800\\/80 {\n &:where(.dark, .dark *) {\n &:hover {\n @media (hover: hover) {\n background-color: color-mix(in srgb, oklch(26.9% 0 0) 80%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-neutral-800) 80%, transparent);\n }\n }\n }\n }\n }\n .dark\\:hover\\:bg-neutral-900 {\n &:where(.dark, .dark *) {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-neutral-900);\n }\n }\n }\n }\n .dark\\:hover\\:text-neutral-200 {\n &:where(.dark, .dark *) {\n &:hover {\n @media (hover: hover) {\n color: var(--color-neutral-200);\n }\n }\n }\n }\n .dark\\:hover\\:text-neutral-300 {\n &:where(.dark, .dark *) {\n &:hover {\n @media (hover: hover) {\n color: var(--color-neutral-300);\n }\n }\n }\n }\n .layout\\:\\[--fd-header-height\\:--spacing\\(14\\)\\] {\n #nd-docs-layout:has(&), #nd-notebook-layout:has(&), #nd-home-layout:has(&) {\n --fd-header-height: calc(var(--spacing) * 14);\n }\n }\n .max-xl\\:layout\\:\\[--fd-toc-popover-height\\:--spacing\\(10\\)\\] {\n @media (width < 80rem) {\n #nd-docs-layout:has(&), #nd-notebook-layout:has(&), #nd-home-layout:has(&) {\n --fd-toc-popover-height: calc(var(--spacing) * 10);\n }\n }\n }\n .max-md\\:layout\\:\\[--fd-header-height\\:--spacing\\(14\\)\\] {\n @media (width < 48rem) {\n #nd-docs-layout:has(&), #nd-notebook-layout:has(&), #nd-home-layout:has(&) {\n --fd-header-height: calc(var(--spacing) * 14);\n }\n }\n }\n .md\\:layout\\:\\[--fd-sidebar-width\\:268px\\] {\n @media (width >= 48rem) {\n #nd-docs-layout:has(&), #nd-notebook-layout:has(&), #nd-home-layout:has(&) {\n --fd-sidebar-width: 268px;\n }\n }\n }\n .lg\\:layout\\:\\[--fd-header-height\\:--spacing\\(24\\)\\] {\n @media (width >= 64rem) {\n #nd-docs-layout:has(&), #nd-notebook-layout:has(&), #nd-home-layout:has(&) {\n --fd-header-height: calc(var(--spacing) * 24);\n }\n }\n }\n .xl\\:layout\\:\\[--fd-toc-width\\:268px\\] {\n @media (width >= 80rem) {\n #nd-docs-layout:has(&), #nd-notebook-layout:has(&), #nd-home-layout:has(&) {\n --fd-toc-width: 268px;\n }\n }\n }\n .\\[\\&_\\.group\\\\\\/code\\]\\:mb-0 {\n & .group\\/code {\n margin-bottom: calc(var(--spacing) * 0);\n }\n }\n .\\[\\&_\\.group\\\\\\/code\\]\\:rounded-none {\n & .group\\/code {\n border-radius: 0;\n }\n }\n .\\[\\&_\\.group\\\\\\/code\\]\\:border-0 {\n & .group\\/code {\n border-style: var(--tw-border-style);\n border-width: 0px;\n }\n }\n .\\[\\&_\\.group\\\\\\/code\\]\\:bg-transparent {\n & .group\\/code {\n background-color: transparent;\n }\n }\n .\\[\\&_\\.group\\\\\\/code\\]\\:shadow-none {\n & .group\\/code {\n --tw-shadow: 0 0 #0000;\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n }\n .\\[\\&_svg\\]\\:size-3\\.5 {\n & svg {\n width: calc(var(--spacing) * 3.5);\n height: calc(var(--spacing) * 3.5);\n }\n }\n .\\[\\&_svg\\]\\:size-4 {\n & svg {\n width: calc(var(--spacing) * 4);\n height: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&_svg\\]\\:size-4\\.5 {\n & svg {\n width: calc(var(--spacing) * 4.5);\n height: calc(var(--spacing) * 4.5);\n }\n }\n .\\[\\&_svg\\]\\:size-5 {\n & svg {\n width: calc(var(--spacing) * 5);\n height: calc(var(--spacing) * 5);\n }\n }\n .\\[\\&_svg\\]\\:size-5\\.5 {\n & svg {\n width: calc(var(--spacing) * 5.5);\n height: calc(var(--spacing) * 5.5);\n }\n }\n .\\[\\&_svg\\]\\:size-full {\n & svg {\n width: 100%;\n height: 100%;\n }\n }\n .\\[\\&_svg\\]\\:shrink-0 {\n & svg {\n flex-shrink: 0;\n }\n }\n .\\[\\&\\>figure\\:only-child\\]\\:-m-4 {\n &>figure:only-child {\n margin: calc(var(--spacing) * -4);\n }\n }\n .\\[\\&\\>figure\\:only-child\\]\\:border-none {\n &>figure:only-child {\n --tw-border-style: none;\n border-style: none;\n }\n }\n}\n.dark {\n --color-fd-background: hsl(0, 0%, 7.04%);\n --color-fd-foreground: hsl(0, 0%, 92%);\n --color-fd-muted: hsl(0, 0%, 12.9%);\n --color-fd-muted-foreground: hsla(0, 0%, 70%, 0.8);\n --color-fd-popover: hsl(0, 0%, 11.6%);\n --color-fd-popover-foreground: hsl(0, 0%, 86.9%);\n --color-fd-card: hsl(0, 0%, 9.8%);\n --color-fd-card-foreground: hsl(0, 0%, 98%);\n --color-fd-border: hsla(0, 0%, 40%, 20%);\n --color-fd-primary: hsl(0, 0%, 98%);\n --color-fd-primary-foreground: hsl(0, 0%, 9%);\n --color-fd-secondary: hsl(0, 0%, 12.9%);\n --color-fd-secondary-foreground: hsl(0, 0%, 92%);\n --color-fd-accent: hsla(0, 0%, 40.9%, 30%);\n --color-fd-accent-foreground: hsl(0, 0%, 90%);\n --color-fd-ring: hsl(0, 0%, 54.9%);\n --color-fd-overlay: hsla(0, 0%, 0%, 0.2);\n}\n.dark #nd-sidebar {\n --color-fd-muted: hsl(0, 0%, 16%);\n --color-fd-secondary: hsl(0, 0%, 18%);\n --color-fd-muted-foreground: hsl(0, 0%, 72%);\n}\n.shiki:not(.not-fumadocs-codeblock *) {\n --padding-left: calc(var(--spacing) * 4);\n --padding-right: calc(var(--spacing) * 4);\n code span {\n color: var(--shiki-light);\n }\n}\n.dark .shiki:not(.not-fumadocs-codeblock *) {\n code span {\n color: var(--shiki-dark);\n }\n}\n:is(pre *):is(.shiki *):not(.not-fumadocs-codeblock *) {\n .line& {\n position: relative;\n min-height: 1lh;\n padding-left: var(--padding-left);\n padding-right: var(--padding-right);\n }\n .has-focused .line&:not(.focused) {\n filter: blur(2px);\n transition: filter 200ms;\n }\n .has-focused:hover .line&:not(.focused) {\n filter: blur(0);\n }\n [data-line-numbers] .twoslash-meta-line& {\n padding-left: calc(var(--padding-left) + 7 * var(--spacing));\n }\n [data-line-numbers] .line& {\n counter-increment: line;\n padding-left: calc(var(--padding-left) + 7 * var(--spacing));\n }\n [data-line-numbers] .line&::after {\n position: absolute;\n content: counter(line);\n color: var(--fd-counter-color, hsl(0, 0%, 45.1%));\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix( in oklab, var(--fd-counter-color, var(--color-fd-muted-foreground)) 60%, transparent );\n }\n top: calc(var(--spacing) * 0);\n left: calc(var(--spacing) * 4);\n }\n .diff&::before {\n position: absolute;\n left: calc(var(--spacing) * 1.5);\n }\n .diff.remove& {\n opacity: 0.7;\n --fd-counter-color: var(--color-fd-diff-remove-symbol);\n background-color: var(--color-fd-diff-remove);\n }\n .diff.remove&::before {\n content: '-';\n color: var(--color-fd-diff-remove-symbol);\n }\n .diff.add& {\n --fd-counter-color: var(--color-fd-diff-add-symbol);\n background-color: var(--color-fd-diff-add);\n }\n .diff.add&::before {\n content: '+';\n color: var(--color-fd-diff-add-symbol);\n }\n .highlighted& {\n --fd-counter-color: var(--color-fd-primary);\n padding-left: calc(var(--padding-left) - 2px);\n border-left-style: var(--tw-border-style);\n border-left-width: 2px;\n border-color: color-mix(in srgb, hsl(0, 0%, 9%) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-fd-primary) 50%, transparent);\n }\n background-color: color-mix(in srgb, hsl(0, 0%, 9%) 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-fd-primary) 10%, transparent);\n }\n }\n .highlighted-word& {\n padding: 1px;\n margin-block: -1px;\n border-radius: var(--radius-md);\n border-style: var(--tw-border-style);\n border-width: 1px;\n border-color: color-mix(in srgb, hsl(0, 0%, 9%) 30%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-fd-primary) 30%, transparent);\n }\n background-color: color-mix(in srgb, hsl(0, 0%, 9%) 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-fd-primary) 10%, transparent);\n }\n --tw-font-weight: var(--font-weight-medium);\n font-weight: var(--font-weight-medium);\n }\n}\n:root {\n --fd-sidebar-drawer-offset: 100%;\n}\n[dir='rtl'] {\n --fd-sidebar-drawer-offset: -100%;\n}\n@layer base {\n *, ::after, ::before, ::backdrop, ::file-selector-button {\n border-color: var(--color-fd-border, currentColor);\n }\n body {\n background-color: var(--color-fd-background);\n color: var(--color-fd-foreground);\n }\n}\n@property --radix-collapsible-content-height {\n syntax: '';\n inherits: false;\n initial-value: 0px;\n}\n:root {\n --background: #ffffff;\n --foreground: #171717;\n}\n.dark {\n --background: #000000;\n --foreground: oklch(0.985 0 0);\n --card: #000000;\n --card-foreground: oklch(0.985 0 0);\n --popover: #000000;\n --popover-foreground: oklch(0.985 0 0);\n --primary: oklch(0.985 0 0);\n --primary-foreground: oklch(0.205 0 0);\n --secondary: #000000;\n --secondary-foreground: oklch(0.985 0 0);\n --muted: #000000;\n --muted-foreground: oklch(0.708 0 0);\n --accent: #000000;\n --accent-foreground: oklch(0.985 0 0);\n --destructive: oklch(0.396 0.141 25.723);\n --destructive-foreground: oklch(0.637 0.237 25.331);\n --border: #1a1a1a;\n --input: #1a1a1a;\n --ring: #1a1a1a;\n --chart-1: oklch(0.488 0.243 264.376);\n --chart-2: oklch(0.696 0.17 162.48);\n --chart-3: oklch(0.769 0.188 70.08);\n --chart-4: oklch(0.627 0.265 303.9);\n --chart-5: oklch(0.645 0.246 16.439);\n --sidebar: #000000;\n --sidebar-foreground: oklch(0.985 0 0);\n --sidebar-primary: oklch(0.488 0.243 264.376);\n --sidebar-primary-foreground: oklch(0.985 0 0);\n --sidebar-accent: #000000;\n --sidebar-accent-foreground: oklch(0.985 0 0);\n --sidebar-border: #1a1a1a;\n --sidebar-ring: oklch(0.439 0 0);\n}\n@layer base {\n body {\n background-color: var(--background);\n color: var(--foreground);\n }\n}\n.card {\n --offsetY: 0vmin;\n --rotate: 0deg;\n --translateX: 0vmin;\n --translateY: 0vmin;\n width: 30vmin;\n height: 60vmin;\n overflow: hidden;\n flex-shrink: 0;\n transform: rotate(var(--rotate)) translateX(var(--translateX))\n translateY(calc(var(--offsetY)+ var(--translateY)));\n transition: all 0.3s linear;\n img {\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n &:hover {\n scale: 1.05;\n transition: all 0.3s linear;\n }\n}\n.card:nth-child(1) {\n --rotate: -20deg;\n --translateX: 30vmin;\n --translateY: 10vmin;\n transform: rotate(var(--rotate)) translateX(var(--translateX))\n translateY(calc(var(--offsetY)+ var(--translateY)));\n}\n.card:nth-child(2) {\n transform: rotate(-5deg);\n}\n.card:nth-child(3) {\n transform: rotate(-5deg);\n}\n.card:nth-child(5) {\n transform: rotate(5deg);\n --translate: 100px\n \n;\n}\n.card:nth-child(6) {\n transform: rotate(5deg);\n &:hover {\n transform: rotate(-5deg) translateY(var(--translate));\n }\n}\n.card:nth-child(7) {\n transform: rotate(5deg);\n}\n.card:hover + .card {\n background-color: rgb(140, 255, 0);\n transform: translateX(10vmin);\n}\n.card:hover + .card + .card {\n background-color: blue;\n}\n.card:has(+.card:hover) {\n background-color: blueviolet;\n transform: translateX(-10vmin);\n}\n.card:has( .card +.card:hover) {\n background-color: rgb(227, 5, 219);\n}\n.list:nth-child(1):hover {\n font-size: 35px;\n font-weight: bold;\n}\n.list:nth-child(2):hover {\n font-size: 35px;\n}\n.list:nth-child(3):hover {\n font-size: 35px;\n font-weight: bold;\n}\n@property --tw-border-style {\n syntax: \"*\";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-translate-x {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-y {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-z {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-rotate-x {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-rotate-y {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-rotate-z {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-skew-x {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-skew-y {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-space-y-reverse {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-divide-y-reverse {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-gradient-position {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-gradient-from {\n syntax: \"\";\n inherits: false;\n initial-value: #0000;\n}\n@property --tw-gradient-via {\n syntax: \"\";\n inherits: false;\n initial-value: #0000;\n}\n@property --tw-gradient-to {\n syntax: \"\";\n inherits: false;\n initial-value: #0000;\n}\n@property --tw-gradient-stops {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-gradient-via-stops {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-gradient-from-position {\n syntax: \"\";\n inherits: false;\n initial-value: 0%;\n}\n@property --tw-gradient-via-position {\n syntax: \"\";\n inherits: false;\n initial-value: 50%;\n}\n@property --tw-gradient-to-position {\n syntax: \"\";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-leading {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-font-weight {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-tracking {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-shadow-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-shadow-alpha {\n syntax: \"\";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-inset-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-shadow-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-inset-shadow-alpha {\n syntax: \"\";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-ring-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-ring-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-ring-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-inset-ring-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-ring-inset {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-ring-offset-width {\n syntax: \"\";\n inherits: false;\n initial-value: 0px;\n}\n@property --tw-ring-offset-color {\n syntax: \"*\";\n inherits: false;\n initial-value: #fff;\n}\n@property --tw-ring-offset-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-outline-style {\n syntax: \"*\";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-blur {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-brightness {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-contrast {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-grayscale {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-hue-rotate {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-invert {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-opacity {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-saturate {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-sepia {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-drop-shadow {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-drop-shadow-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-drop-shadow-alpha {\n syntax: \"\";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-drop-shadow-size {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-blur {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-brightness {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-contrast {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-grayscale {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-hue-rotate {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-invert {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-opacity {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-saturate {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-sepia {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-duration {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-ease {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-text-shadow-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-text-shadow-alpha {\n syntax: \"\";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-content {\n syntax: \"*\";\n initial-value: \"\";\n inherits: false;\n}\n@property --tw-scale-x {\n syntax: \"*\";\n inherits: false;\n initial-value: 1;\n}\n@property --tw-scale-y {\n syntax: \"*\";\n inherits: false;\n initial-value: 1;\n}\n@property --tw-scale-z {\n syntax: \"*\";\n inherits: false;\n initial-value: 1;\n}\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n@keyframes pulse {\n 50% {\n opacity: 0.5;\n }\n}\n@keyframes fd-sidebar-in {\n from {\n transform: translateX(var(--fd-sidebar-drawer-offset));\n }\n}\n@keyframes fd-sidebar-out {\n to {\n transform: translateX(var(--fd-sidebar-drawer-offset));\n }\n}\n@keyframes fd-dialog-in {\n from {\n transform: scale(1.06);\n opacity: 0;\n }\n to {\n transform: scale(1);\n }\n}\n@keyframes fd-dialog-out {\n from {\n transform: scale(1);\n }\n to {\n transform: scale(1.04);\n opacity: 0;\n }\n}\n@keyframes fd-popover-in {\n from {\n opacity: 0;\n transform: scale(0.9);\n }\n}\n@keyframes fd-popover-out {\n to {\n opacity: 0;\n transform: scale(0.9);\n }\n}\n@keyframes fd-fade-in {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n@keyframes fd-fade-out {\n from {\n opacity: 1;\n }\n to {\n opacity: 0;\n }\n}\n@keyframes fd-enterFromRight {\n from {\n opacity: 0;\n transform: translateX(200px);\n }\n to {\n opacity: 1;\n transform: translateX(0);\n }\n}\n@keyframes fd-enterFromLeft {\n from {\n opacity: 0;\n transform: translateX(-200px);\n }\n to {\n opacity: 1;\n transform: translateX(0);\n }\n}\n@keyframes fd-exitToRight {\n from {\n opacity: 1;\n transform: translateX(0);\n }\n to {\n opacity: 0;\n transform: translateX(200px);\n }\n}\n@keyframes fd-exitToLeft {\n from {\n opacity: 1;\n transform: translateX(0);\n }\n to {\n opacity: 0;\n transform: translateX(-200px);\n }\n}\n@keyframes fd-collapsible-down {\n from {\n height: 0;\n opacity: 0;\n }\n to {\n height: var(--radix-collapsible-content-height);\n }\n}\n@keyframes fd-collapsible-up {\n from {\n height: var(--radix-collapsible-content-height);\n }\n to {\n height: 0;\n opacity: 0;\n }\n}\n@keyframes fd-accordion-down {\n from {\n height: 0;\n opacity: 0.5;\n }\n to {\n height: var(--radix-accordion-content-height);\n }\n}\n@keyframes fd-accordion-up {\n from {\n height: var(--radix-accordion-content-height);\n }\n to {\n height: 0;\n opacity: 0.5;\n }\n}\n@keyframes fd-nav-menu-in {\n from {\n opacity: 0;\n height: 0px;\n }\n to {\n opacity: 1;\n height: var(--radix-navigation-menu-viewport-height);\n }\n}\n@keyframes fd-nav-menu-out {\n from {\n opacity: 1;\n height: var(--radix-navigation-menu-viewport-height);\n }\n to {\n opacity: 0;\n height: 0px;\n }\n}\n@layer properties {\n @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {\n *, ::before, ::after, ::backdrop {\n --tw-border-style: solid;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-translate-z: 0;\n --tw-rotate-x: initial;\n --tw-rotate-y: initial;\n --tw-rotate-z: initial;\n --tw-skew-x: initial;\n --tw-skew-y: initial;\n --tw-space-y-reverse: 0;\n --tw-divide-y-reverse: 0;\n --tw-gradient-position: initial;\n --tw-gradient-from: #0000;\n --tw-gradient-via: #0000;\n --tw-gradient-to: #0000;\n --tw-gradient-stops: initial;\n --tw-gradient-via-stops: initial;\n --tw-gradient-from-position: 0%;\n --tw-gradient-via-position: 50%;\n --tw-gradient-to-position: 100%;\n --tw-leading: initial;\n --tw-font-weight: initial;\n --tw-tracking: initial;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-color: initial;\n --tw-shadow-alpha: 100%;\n --tw-inset-shadow: 0 0 #0000;\n --tw-inset-shadow-color: initial;\n --tw-inset-shadow-alpha: 100%;\n --tw-ring-color: initial;\n --tw-ring-shadow: 0 0 #0000;\n --tw-inset-ring-color: initial;\n --tw-inset-ring-shadow: 0 0 #0000;\n --tw-ring-inset: initial;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-outline-style: solid;\n --tw-blur: initial;\n --tw-brightness: initial;\n --tw-contrast: initial;\n --tw-grayscale: initial;\n --tw-hue-rotate: initial;\n --tw-invert: initial;\n --tw-opacity: initial;\n --tw-saturate: initial;\n --tw-sepia: initial;\n --tw-drop-shadow: initial;\n --tw-drop-shadow-color: initial;\n --tw-drop-shadow-alpha: 100%;\n --tw-drop-shadow-size: initial;\n --tw-backdrop-blur: initial;\n --tw-backdrop-brightness: initial;\n --tw-backdrop-contrast: initial;\n --tw-backdrop-grayscale: initial;\n --tw-backdrop-hue-rotate: initial;\n --tw-backdrop-invert: initial;\n --tw-backdrop-opacity: initial;\n --tw-backdrop-saturate: initial;\n --tw-backdrop-sepia: initial;\n --tw-duration: initial;\n --tw-ease: initial;\n --tw-text-shadow-color: initial;\n --tw-text-shadow-alpha: 100%;\n --tw-content: \"\";\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-scale-z: 1;\n --radix-collapsible-content-height: 0px;\n }\n }\n}\n\n"],"names":[],"mappings":"AACA;EAy+IE;IACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAz+IJ;EAEE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAA;IAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAFF;EA4HE;;;;;;;EAAA;;;;;;;EAMA;;;;;;;;;;EASA;;;;;;EAKA;;;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;;;;AAIA;;;;;;AAKA;;;;;;AAKA;;;;;;AAKA;;;;;;AAKA;;;;;;AAKA;;;;;;AAKA;;;;;;AAKA;;;;;;AAKA;;;;;;AAKA;;;;;;;;;;;AASA;;;;;;;;;;;AASA;;;;;;;AAMA;;;;;;;AAMA;;;;;;;;;;AAQA;;;;;;;;;;AAQA;;;;;;;;;;;;AAUA;;;;;;;;;;;;AAUA;;;;;;;;;;;;AAUA;;;;;;;;;;;;AAUA;;;;;;;;;;;AASA;;;;;;;;;;;AASA;;;;;;;;;;;AASA;;;;;;;;;;;AASA;;;;;;;;;;;;AAUA"}}] -} \ No newline at end of file diff --git a/.next/dev/static/chunks/app_layout_tsx_1cf6b850._.js b/.next/dev/static/chunks/app_layout_tsx_1cf6b850._.js deleted file mode 100644 index 22a7e89..0000000 --- a/.next/dev/static/chunks/app_layout_tsx_1cf6b850._.js +++ /dev/null @@ -1,10 +0,0 @@ -(globalThis.TURBOPACK_CHUNK_LISTS || (globalThis.TURBOPACK_CHUNK_LISTS = [])).push({ - script: typeof document === "object" ? document.currentScript : undefined, - chunks: [ - "static/chunks/[root-of-the-server]__28bc9c2a._.css", - "static/chunks/node_modules_fumadocs-ui_dist_components_dialog_search-default_643245d6.js", - "static/chunks/node_modules_b2cfbabb._.js", - "static/chunks/_bf213110._.js" -], - source: "dynamic" -}); diff --git a/.next/dev/static/chunks/app_page_tsx_707447f5._.js b/.next/dev/static/chunks/app_page_tsx_707447f5._.js deleted file mode 100644 index 0d0a0cb..0000000 --- a/.next/dev/static/chunks/app_page_tsx_707447f5._.js +++ /dev/null @@ -1,7 +0,0 @@ -(globalThis.TURBOPACK_CHUNK_LISTS || (globalThis.TURBOPACK_CHUNK_LISTS = [])).push({ - script: typeof document === "object" ? document.currentScript : undefined, - chunks: [ - "static/chunks/_a9831282._.js" -], - source: "dynamic" -}); diff --git a/.next/dev/static/chunks/node_modules_57225b64._.js b/.next/dev/static/chunks/node_modules_57225b64._.js deleted file mode 100644 index 866f958..0000000 --- a/.next/dev/static/chunks/node_modules_57225b64._.js +++ /dev/null @@ -1,6953 +0,0 @@ -(globalThis.TURBOPACK || (globalThis.TURBOPACK = [])).push([typeof document === "object" ? document.currentScript : undefined, -"[project]/node_modules/fumadocs-core/dist/search-DzqmOjzV.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "t", - ()=>createContentHighlighter -]); -//#region src/search/index.ts -function escapeRegExp(input) { - return input.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"); -} -function buildRegexFromQuery(q) { - const trimmed = q.trim(); - if (trimmed.length === 0) return null; - const terms = Array.from(new Set(trimmed.split(/\s+/).map((t)=>t.trim()).filter(Boolean))); - if (terms.length === 0) return null; - const escaped = terms.map(escapeRegExp).join("|"); - return new RegExp(`(${escaped})`, "gi"); -} -function createContentHighlighter(query) { - const regex = typeof query === "string" ? buildRegexFromQuery(query) : query; - return { - highlight (content) { - if (!regex) return [ - { - type: "text", - content - } - ]; - const out = []; - let i = 0; - for (const match of content.matchAll(regex)){ - if (i < match.index) out.push({ - type: "text", - content: content.substring(i, match.index) - }); - out.push({ - type: "text", - content: match[0], - styles: { - highlight: true - } - }); - i = match.index + match[0].length; - } - if (i < content.length) out.push({ - type: "text", - content: content.substring(i) - }); - return out; - } - }; -} -; - //# sourceMappingURL=search-DzqmOjzV.js.map -}), -"[project]/node_modules/fumadocs-core/dist/remove-undefined-Buxsprgu.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "t", - ()=>removeUndefined -]); -//#region src/utils/remove-undefined.ts -function removeUndefined(value, deep = false) { - const obj = value; - for(const key in obj){ - if (obj[key] === void 0) delete obj[key]; - if (!deep) continue; - const entry = obj[key]; - if (typeof entry === "object" && entry !== null) { - removeUndefined(entry, deep); - continue; - } - if (Array.isArray(entry)) for (const item of entry)removeUndefined(item, deep); - } - return value; -} -; - //# sourceMappingURL=remove-undefined-Buxsprgu.js.map -}), -"[project]/node_modules/@orama/orama/dist/browser/components/tokenizer/languages.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "SPLITTERS", - ()=>SPLITTERS, - "STEMMERS", - ()=>STEMMERS, - "SUPPORTED_LANGUAGES", - ()=>SUPPORTED_LANGUAGES, - "getLocale", - ()=>getLocale -]); -const STEMMERS = { - arabic: 'ar', - armenian: 'am', - bulgarian: 'bg', - czech: 'cz', - danish: 'dk', - dutch: 'nl', - english: 'en', - finnish: 'fi', - french: 'fr', - german: 'de', - greek: 'gr', - hungarian: 'hu', - indian: 'in', - indonesian: 'id', - irish: 'ie', - italian: 'it', - lithuanian: 'lt', - nepali: 'np', - norwegian: 'no', - portuguese: 'pt', - romanian: 'ro', - russian: 'ru', - serbian: 'rs', - slovenian: 'ru', - spanish: 'es', - swedish: 'se', - tamil: 'ta', - turkish: 'tr', - ukrainian: 'uk', - sanskrit: 'sk' -}; -const SPLITTERS = { - dutch: /[^A-Za-zàèéìòóù0-9_'-]+/gim, - english: /[^A-Za-zàèéìòóù0-9_'-]+/gim, - french: /[^a-z0-9äâàéèëêïîöôùüûœç-]+/gim, - italian: /[^A-Za-zàèéìòóù0-9_'-]+/gim, - norwegian: /[^a-z0-9_æøåÆØÅäÄöÖüÜ]+/gim, - portuguese: /[^a-z0-9à-úÀ-Ú]/gim, - russian: /[^a-z0-9а-яА-ЯёЁ]+/gim, - spanish: /[^a-z0-9A-Zá-úÁ-ÚñÑüÜ]+/gim, - swedish: /[^a-z0-9_åÅäÄöÖüÜ-]+/gim, - german: /[^a-z0-9A-ZäöüÄÖÜß]+/gim, - finnish: /[^a-z0-9äöÄÖ]+/gim, - danish: /[^a-z0-9æøåÆØÅ]+/gim, - hungarian: /[^a-z0-9áéíóöőúüűÁÉÍÓÖŐÚÜŰ]+/gim, - romanian: /[^a-z0-9ăâîșțĂÂÎȘȚ]+/gim, - serbian: /[^a-z0-9čćžšđČĆŽŠĐ]+/gim, - turkish: /[^a-z0-9çÇğĞıİöÖşŞüÜ]+/gim, - lithuanian: /[^a-z0-9ąčęėįšųūžĄČĘĖĮŠŲŪŽ]+/gim, - arabic: /[^a-z0-9أ-ي]+/gim, - nepali: /[^a-z0-9अ-ह]+/gim, - irish: /[^a-z0-9áéíóúÁÉÍÓÚ]+/gim, - indian: /[^a-z0-9अ-ह]+/gim, - armenian: /[^a-z0-9ա-ֆ]+/gim, - greek: /[^a-z0-9α-ωά-ώ]+/gim, - indonesian: /[^a-z0-9]+/gim, - ukrainian: /[^a-z0-9а-яА-ЯіїєІЇЄ]+/gim, - slovenian: /[^a-z0-9螚ȎŠ]+/gim, - bulgarian: /[^a-z0-9а-яА-Я]+/gim, - tamil: /[^a-z0-9அ-ஹ]+/gim, - sanskrit: /[^a-z0-9A-Zāīūṛḷṃṁḥśṣṭḍṇṅñḻḹṝ]+/gim, - czech: /[^A-Z0-9a-zěščřžýáíéúůóťďĚŠČŘŽÝÁÍÉÓÚŮŤĎ-]+/gim -}; -const SUPPORTED_LANGUAGES = Object.keys(STEMMERS); -function getLocale(language) { - return language !== undefined && SUPPORTED_LANGUAGES.includes(language) ? STEMMERS[language] : undefined; -} //# sourceMappingURL=languages.js.map -}), -"[project]/node_modules/@orama/orama/dist/browser/utils.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "MAX_ARGUMENT_FOR_STACK", - ()=>MAX_ARGUMENT_FOR_STACK, - "convertDistanceToMeters", - ()=>convertDistanceToMeters, - "flattenObject", - ()=>flattenObject, - "formatBytes", - ()=>formatBytes, - "formatNanoseconds", - ()=>formatNanoseconds, - "getDocumentProperties", - ()=>getDocumentProperties, - "getNanosecondTimeViaPerformance", - ()=>getNanosecondTimeViaPerformance, - "getNanosecondsTime", - ()=>getNanosecondsTime, - "getNested", - ()=>getNested, - "getOwnProperty", - ()=>getOwnProperty, - "getTokenFrequency", - ()=>getTokenFrequency, - "insertSortedValue", - ()=>insertSortedValue, - "intersect", - ()=>intersect, - "isAsyncFunction", - ()=>isAsyncFunction, - "isInsideNode", - ()=>isInsideNode, - "isInsideWebWorker", - ()=>isInsideWebWorker, - "isPromise", - ()=>isPromise, - "isServer", - ()=>isServer, - "removeVectorsFromHits", - ()=>removeVectorsFromHits, - "safeArrayPush", - ()=>safeArrayPush, - "setDifference", - ()=>setDifference, - "setIntersection", - ()=>setIntersection, - "setUnion", - ()=>setUnion, - "sleep", - ()=>sleep, - "sortTokenScorePredicate", - ()=>sortTokenScorePredicate, - "sprintf", - ()=>sprintf, - "uniqueId", - ()=>uniqueId -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/errors.js [app-client] (ecmascript)"); -; -const baseId = Date.now().toString().slice(5); -let lastId = 0; -const k = 1024; -const nano = BigInt(1e3); -const milli = BigInt(1e6); -const second = BigInt(1e9); -const isServer = typeof window === 'undefined'; -const MAX_ARGUMENT_FOR_STACK = 65535; -function safeArrayPush(arr, newArr) { - if (newArr.length < MAX_ARGUMENT_FOR_STACK) { - Array.prototype.push.apply(arr, newArr); - } else { - const newArrLength = newArr.length; - for(let i = 0; i < newArrLength; i += MAX_ARGUMENT_FOR_STACK){ - Array.prototype.push.apply(arr, newArr.slice(i, i + MAX_ARGUMENT_FOR_STACK)); - } - } -} -function sprintf(template, ...args) { - return template.replace(/%(?:(?\d+)\$)?(?-?\d*\.?\d*)(?[dfs])/g, function(...replaceArgs) { - const groups = replaceArgs[replaceArgs.length - 1]; - const { width: rawWidth, type, position } = groups; - const replacement = position ? args[Number.parseInt(position) - 1] : args.shift(); - const width = rawWidth === '' ? 0 : Number.parseInt(rawWidth); - switch(type){ - case 'd': - return replacement.toString().padStart(width, '0'); - case 'f': - { - let value = replacement; - const [padding, precision] = rawWidth.split('.').map((w)=>Number.parseFloat(w)); - if (typeof precision === 'number' && precision >= 0) { - value = value.toFixed(precision); - } - return typeof padding === 'number' && padding >= 0 ? value.toString().padStart(width, '0') : value.toString(); - } - case 's': - return width < 0 ? replacement.toString().padEnd(-width, ' ') : replacement.toString().padStart(width, ' '); - default: - return replacement; - } - }); -} -function formatBytes(bytes, decimals = 2) { - if (bytes === 0) { - return '0 Bytes'; - } - const dm = decimals < 0 ? 0 : decimals; - const sizes = [ - 'Bytes', - 'KB', - 'MB', - 'GB', - 'TB', - 'PB', - 'EB', - 'ZB', - 'YB' - ]; - const i = Math.floor(Math.log(bytes) / Math.log(k)); - return `${parseFloat((bytes / Math.pow(k, i)).toFixed(dm))} ${sizes[i]}`; -} -function isInsideWebWorker() { - // @ts-expect-error - WebWorker global scope - return typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope; -} -function isInsideNode() { - return typeof __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"] !== 'undefined' && __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"].release && __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"].release.name === 'node'; -} -function getNanosecondTimeViaPerformance() { - return BigInt(Math.floor(performance.now() * 1e6)); -} -function formatNanoseconds(value) { - if (typeof value === 'number') { - value = BigInt(value); - } - if (value < nano) { - return `${value}ns`; - } else if (value < milli) { - return `${value / nano}μs`; - } else if (value < second) { - return `${value / milli}ms`; - } - return `${value / second}s`; -} -function getNanosecondsTime() { - if (isInsideWebWorker()) { - return getNanosecondTimeViaPerformance(); - } - if (isInsideNode()) { - return __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"].hrtime.bigint(); - } - if (typeof __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"] !== 'undefined' && typeof __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"]?.hrtime?.bigint === 'function') { - return __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"].hrtime.bigint(); - } - if (typeof performance !== 'undefined') { - return getNanosecondTimeViaPerformance(); - } - // @todo: fallback to V8 native method to get microtime - return BigInt(0); -} -function uniqueId() { - return `${baseId}-${lastId++}`; -} -function getOwnProperty(object, property) { - // Checks if `hasOwn` method is defined avoiding errors with older Node.js versions - if (Object.hasOwn === undefined) { - return Object.prototype.hasOwnProperty.call(object, property) ? object[property] : undefined; - } - return Object.hasOwn(object, property) ? object[property] : undefined; -} -function getTokenFrequency(token, tokens) { - let count = 0; - for (const t of tokens){ - if (t === token) { - count++; - } - } - return count; -} -function insertSortedValue(arr, el, compareFn = sortTokenScorePredicate) { - let low = 0; - let high = arr.length; - let mid; - while(low < high){ - mid = low + high >>> 1; - if (compareFn(el, arr[mid]) < 0) { - high = mid; - } else { - low = mid + 1; - } - } - arr.splice(low, 0, el); - return arr; -} -function sortTokenScorePredicate(a, b) { - if (b[1] === a[1]) { - return a[0] - b[0]; - } - return b[1] - a[1]; -} -function intersect(arrays) { - if (arrays.length === 0) { - return []; - } else if (arrays.length === 1) { - return arrays[0]; - } - for(let i = 1; i < arrays.length; i++){ - if (arrays[i].length < arrays[0].length) { - const tmp = arrays[0]; - arrays[0] = arrays[i]; - arrays[i] = tmp; - } - } - const set = new Map(); - for (const elem of arrays[0]){ - set.set(elem, 1); - } - for(let i = 1; i < arrays.length; i++){ - let found = 0; - for (const elem of arrays[i]){ - const count = set.get(elem); - if (count === i) { - set.set(elem, count + 1); - found++; - } - } - if (found === 0) return []; - } - return arrays[0].filter((e)=>{ - const count = set.get(e); - if (count !== undefined) set.set(e, 0); - return count === arrays.length; - }); -} -function getDocumentProperties(doc, paths) { - const properties = {}; - const pathsLength = paths.length; - for(let i = 0; i < pathsLength; i++){ - const path = paths[i]; - const pathTokens = path.split('.'); - let current = doc; - const pathTokensLength = pathTokens.length; - for(let j = 0; j < pathTokensLength; j++){ - current = current[pathTokens[j]]; - // We found an object but we were supposed to be done - if (typeof current === 'object') { - if (current !== null && 'lat' in current && 'lon' in current && typeof current.lat === 'number' && typeof current.lon === 'number') { - current = properties[path] = current; - break; - } else if (!Array.isArray(current) && current !== null && j === pathTokensLength - 1) { - current = undefined; - break; - } - } else if ((current === null || typeof current !== 'object') && j < pathTokensLength - 1) { - // We can't recurse anymore but we were supposed to - current = undefined; - break; - } - } - if (typeof current !== 'undefined') { - properties[path] = current; - } - } - return properties; -} -function getNested(obj, path) { - const props = getDocumentProperties(obj, [ - path - ]); - return props[path]; -} -function flattenObject(obj, prefix = '') { - const result = {}; - for(const key in obj){ - const prop = `${prefix}${key}`; - const objKey = obj[key]; - if (typeof objKey === 'object' && objKey !== null) { - Object.assign(result, flattenObject(objKey, `${prop}.`)); - } else { - result[prop] = objKey; - } - } - return result; -} -const mapDistanceToMeters = { - cm: 0.01, - m: 1, - km: 1000, - ft: 0.3048, - yd: 0.9144, - mi: 1609.344 -}; -function convertDistanceToMeters(distance, unit) { - const ratio = mapDistanceToMeters[unit]; - if (ratio === undefined) { - throw new Error((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('INVALID_DISTANCE_SUFFIX', distance).message); - } - return distance * ratio; -} -function removeVectorsFromHits(searchResult, vectorProperties) { - searchResult.hits = searchResult.hits.map((result)=>({ - ...result, - document: { - ...result.document, - // Remove embeddings from the result - ...vectorProperties.reduce((acc, prop)=>{ - const path = prop.split('.'); - const lastKey = path.pop(); - let obj = acc; - for (const key of path){ - obj[key] = obj[key] ?? {}; - obj = obj[key]; - } - obj[lastKey] = null; - return acc; - }, result.document) - } - })); -} -function isPromise(obj) { - return !!obj && (typeof obj === 'object' || typeof obj === 'function') && typeof obj.then === 'function'; -} -function isAsyncFunction(func) { - if (Array.isArray(func)) { - return func.some((item)=>isAsyncFunction(item)); - } - return func?.constructor?.name === 'AsyncFunction'; -} -const withIntersection = 'intersection' in new Set(); -function setIntersection(...sets) { - // Fast path 1 - if (sets.length === 0) { - return new Set(); - } - // Fast path 2 - if (sets.length === 1) { - return sets[0]; - } - // Fast path 3 - if (sets.length === 2) { - const set1 = sets[0]; - const set2 = sets[1]; - if (withIntersection) { - return set1.intersection(set2); - } - const result = new Set(); - const base = set1.size < set2.size ? set1 : set2; - const other = base === set1 ? set2 : set1; - for (const value of base){ - if (other.has(value)) { - result.add(value); - } - } - return result; - } - // Slow path - // Find the smallest set - const min = { - index: 0, - size: sets[0].size - }; - for(let i = 1; i < sets.length; i++){ - if (sets[i].size < min.size) { - min.index = i; - min.size = sets[i].size; - } - } - if (withIntersection) { - let base = sets[min.index]; - for(let i = 0; i < sets.length; i++){ - if (i === min.index) { - continue; - } - base = base.intersection(sets[i]); - } - return base; - } - // manual implementation: - // intersect all sets with the smallest set - const base = sets[min.index]; - for(let i = 0; i < sets.length; i++){ - if (i === min.index) { - continue; - } - const other = sets[i]; - for (const value of base){ - if (!other.has(value)) { - base.delete(value); - } - } - } - return base; -} -const withUnion = 'union' in new Set(); -function setUnion(set1, set2) { - if (withUnion) { - if (set1) { - return set1.union(set2); - } - return set2; - } - if (!set1) { - return new Set(set2); - } - return new Set([ - ...set1, - ...set2 - ]); -} -function setDifference(set1, set2) { - const result = new Set(); - for (const value of set1){ - if (!set2.has(value)) { - result.add(value); - } - } - return result; -} -function sleep(ms) { - if (typeof SharedArrayBuffer !== 'undefined' && typeof Atomics !== 'undefined') { - const nil = new Int32Array(new SharedArrayBuffer(4)); - const valid = ms > 0 && ms < Infinity; - if (valid === false) { - if (typeof ms !== 'number' && typeof ms !== 'bigint') { - throw TypeError('sleep: ms must be a number'); - } - throw RangeError('sleep: ms must be a number that is greater than 0 but less than Infinity'); - } - Atomics.wait(nil, 0, 0, Number(ms)); - } else { - const valid = ms > 0 && ms < Infinity; - if (valid === false) { - if (typeof ms !== 'number' && typeof ms !== 'bigint') { - throw TypeError('sleep: ms must be a number'); - } - throw RangeError('sleep: ms must be a number that is greater than 0 but less than Infinity'); - } - const target = Date.now() + Number(ms); - while(target > Date.now()){ - /* empty */ } - } -} //# sourceMappingURL=utils.js.map -}), -"[project]/node_modules/@orama/orama/dist/browser/errors.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "createError", - ()=>createError -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$tokenizer$2f$languages$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/tokenizer/languages.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/utils.js [app-client] (ecmascript)"); -; -; -const allLanguages = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$tokenizer$2f$languages$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["SUPPORTED_LANGUAGES"].join('\n - '); -const errors = { - NO_LANGUAGE_WITH_CUSTOM_TOKENIZER: 'Do not pass the language option to create when using a custom tokenizer.', - LANGUAGE_NOT_SUPPORTED: `Language "%s" is not supported.\nSupported languages are:\n - ${allLanguages}`, - INVALID_STEMMER_FUNCTION_TYPE: `config.stemmer property must be a function.`, - MISSING_STEMMER: `As of version 1.0.0 @orama/orama does not ship non English stemmers by default. To solve this, please explicitly import and specify the "%s" stemmer from the package @orama/stemmers. See https://docs.orama.com/docs/orama-js/text-analysis/stemming for more information.`, - CUSTOM_STOP_WORDS_MUST_BE_FUNCTION_OR_ARRAY: 'Custom stop words array must only contain strings.', - UNSUPPORTED_COMPONENT: `Unsupported component "%s".`, - COMPONENT_MUST_BE_FUNCTION: `The component "%s" must be a function.`, - COMPONENT_MUST_BE_FUNCTION_OR_ARRAY_FUNCTIONS: `The component "%s" must be a function or an array of functions.`, - INVALID_SCHEMA_TYPE: `Unsupported schema type "%s" at "%s". Expected "string", "boolean" or "number" or array of them.`, - DOCUMENT_ID_MUST_BE_STRING: `Document id must be of type "string". Got "%s" instead.`, - DOCUMENT_ALREADY_EXISTS: `A document with id "%s" already exists.`, - DOCUMENT_DOES_NOT_EXIST: `A document with id "%s" does not exists.`, - MISSING_DOCUMENT_PROPERTY: `Missing searchable property "%s".`, - INVALID_DOCUMENT_PROPERTY: `Invalid document property "%s": expected "%s", got "%s"`, - UNKNOWN_INDEX: `Invalid property name "%s". Expected a wildcard string ("*") or array containing one of the following properties: %s`, - INVALID_BOOST_VALUE: `Boost value must be a number greater than, or less than 0.`, - INVALID_FILTER_OPERATION: `You can only use one operation per filter, you requested %d.`, - SCHEMA_VALIDATION_FAILURE: `Cannot insert document due schema validation failure on "%s" property.`, - INVALID_SORT_SCHEMA_TYPE: `Unsupported sort schema type "%s" at "%s". Expected "string" or "number".`, - CANNOT_SORT_BY_ARRAY: `Cannot configure sort for "%s" because it is an array (%s).`, - UNABLE_TO_SORT_ON_UNKNOWN_FIELD: `Unable to sort on unknown field "%s". Allowed fields: %s`, - SORT_DISABLED: `Sort is disabled. Please read the documentation at https://docs.orama.com/docs/orama-js for more information.`, - UNKNOWN_GROUP_BY_PROPERTY: `Unknown groupBy property "%s".`, - INVALID_GROUP_BY_PROPERTY: `Invalid groupBy property "%s". Allowed types: "%s", but given "%s".`, - UNKNOWN_FILTER_PROPERTY: `Unknown filter property "%s".`, - UNKNOWN_VECTOR_PROPERTY: `Unknown vector property "%s". Make sure the property exists in the schema and is configured as a vector.`, - INVALID_VECTOR_SIZE: `Vector size must be a number greater than 0. Got "%s" instead.`, - INVALID_VECTOR_VALUE: `Vector value must be a number greater than 0. Got "%s" instead.`, - INVALID_INPUT_VECTOR: `Property "%s" was declared as a %s-dimensional vector, but got a %s-dimensional vector instead.\nInput vectors must be of the size declared in the schema, as calculating similarity between vectors of different sizes can lead to unexpected results.`, - WRONG_SEARCH_PROPERTY_TYPE: `Property "%s" is not searchable. Only "string" properties are searchable.`, - FACET_NOT_SUPPORTED: `Facet doens't support the type "%s".`, - INVALID_DISTANCE_SUFFIX: `Invalid distance suffix "%s". Valid suffixes are: cm, m, km, mi, yd, ft.`, - INVALID_SEARCH_MODE: `Invalid search mode "%s". Valid modes are: "fulltext", "vector", "hybrid".`, - MISSING_VECTOR_AND_SECURE_PROXY: `No vector was provided and no secure proxy was configured. Please provide a vector or configure an Orama Secure Proxy to perform hybrid search.`, - MISSING_TERM: `"term" is a required parameter when performing hybrid search. Please provide a search term.`, - INVALID_VECTOR_INPUT: `Invalid "vector" property. Expected an object with "value" and "property" properties, but got "%s" instead.`, - PLUGIN_CRASHED: `A plugin crashed during initialization. Please check the error message for more information:`, - PLUGIN_SECURE_PROXY_NOT_FOUND: `Could not find '@orama/secure-proxy-plugin' installed in your Orama instance.\nPlease install it before proceeding with creating an answer session.\nRead more at https://docs.orama.com/docs/orama-js/plugins/plugin-secure-proxy#plugin-secure-proxy\n`, - PLUGIN_SECURE_PROXY_MISSING_CHAT_MODEL: `Could not find a chat model defined in the secure proxy plugin configuration.\nPlease provide a chat model before proceeding with creating an answer session.\nRead more at https://docs.orama.com/docs/orama-js/plugins/plugin-secure-proxy#plugin-secure-proxy\n`, - ANSWER_SESSION_LAST_MESSAGE_IS_NOT_ASSISTANT: `The last message in the session is not an assistant message. Cannot regenerate non-assistant messages.`, - PLUGIN_COMPONENT_CONFLICT: `The component "%s" is already defined. The plugin "%s" is trying to redefine it.` -}; -function createError(code, ...args) { - const error = new Error((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["sprintf"])(errors[code] ?? `Unsupported Orama Error code: ${code}`, ...args)); - error.code = code; - if ('captureStackTrace' in Error.prototype) { - Error.captureStackTrace(error); - } - return error; -} //# sourceMappingURL=errors.js.map -}), -"[project]/node_modules/@orama/orama/dist/browser/components/defaults.js [app-client] (ecmascript) ", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "formatElapsedTime", - ()=>formatElapsedTime, - "getDocumentIndexId", - ()=>getDocumentIndexId, - "getInnerType", - ()=>getInnerType, - "getVectorSize", - ()=>getVectorSize, - "isArrayType", - ()=>isArrayType, - "isGeoPointType", - ()=>isGeoPointType, - "isVectorType", - ()=>isVectorType, - "validateSchema", - ()=>validateSchema -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/errors.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/utils.js [app-client] (ecmascript)"); -; -; -; -function formatElapsedTime(n) { - return { - raw: Number(n), - formatted: (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["formatNanoseconds"])(n) - }; -} -function getDocumentIndexId(doc) { - if (doc.id) { - if (typeof doc.id !== 'string') { - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('DOCUMENT_ID_MUST_BE_STRING', typeof doc.id); - } - return doc.id; - } - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["uniqueId"])(); -} -function validateSchema(doc, schema) { - for (const [prop, type] of Object.entries(schema)){ - const value = doc[prop]; - if (typeof value === 'undefined') { - continue; - } - if (type === 'geopoint' && typeof value === 'object' && typeof value.lon === 'number' && typeof value.lat === 'number') { - continue; - } - if (type === 'enum' && (typeof value === 'string' || typeof value === 'number')) { - continue; - } - if (type === 'enum[]' && Array.isArray(value)) { - const valueLength = value.length; - for(let i = 0; i < valueLength; i++){ - if (typeof value[i] !== 'string' && typeof value[i] !== 'number') { - return prop + '.' + i; - } - } - continue; - } - if (isVectorType(type)) { - const vectorSize = getVectorSize(type); - if (!Array.isArray(value) || value.length !== vectorSize) { - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('INVALID_INPUT_VECTOR', prop, vectorSize, value.length); - } - continue; - } - if (isArrayType(type)) { - if (!Array.isArray(value)) { - return prop; - } - const expectedType = getInnerType(type); - const valueLength = value.length; - for(let i = 0; i < valueLength; i++){ - if (typeof value[i] !== expectedType) { - return prop + '.' + i; - } - } - continue; - } - if (typeof type === 'object') { - if (!value || typeof value !== 'object') { - return prop; - } - // using as ResultDocument is not exactly right but trying to be type-safe here is not useful - const subProp = validateSchema(value, type); - if (subProp) { - return prop + '.' + subProp; - } - continue; - } - if (typeof value !== type) { - return prop; - } - } - return undefined; -} -const IS_ARRAY_TYPE = { - string: false, - number: false, - boolean: false, - enum: false, - geopoint: false, - 'string[]': true, - 'number[]': true, - 'boolean[]': true, - 'enum[]': true -}; -const INNER_TYPE = { - 'string[]': 'string', - 'number[]': 'number', - 'boolean[]': 'boolean', - 'enum[]': 'enum' -}; -function isGeoPointType(type) { - return type === 'geopoint'; -} -function isVectorType(type) { - return typeof type === 'string' && /^vector\[\d+\]$/.test(type); -} -function isArrayType(type) { - return typeof type === 'string' && IS_ARRAY_TYPE[type]; -} -function getInnerType(type) { - return INNER_TYPE[type]; -} -function getVectorSize(type) { - const size = Number(type.slice(7, -1)); - switch(true){ - case isNaN(size): - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('INVALID_VECTOR_VALUE', type); - case size <= 0: - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('INVALID_VECTOR_SIZE', type); - default: - return size; - } -} //# sourceMappingURL=defaults.js.map -}), -"[project]/node_modules/@orama/orama/dist/browser/components/internal-document-id-store.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "createInternalDocumentIDStore", - ()=>createInternalDocumentIDStore, - "getDocumentIdFromInternalId", - ()=>getDocumentIdFromInternalId, - "getInternalDocumentId", - ()=>getInternalDocumentId, - "load", - ()=>load, - "save", - ()=>save -]); -function createInternalDocumentIDStore() { - return { - idToInternalId: new Map(), - internalIdToId: [], - save, - load - }; -} -function save(store) { - return { - internalIdToId: store.internalIdToId - }; -} -function load(orama, raw) { - const { internalIdToId } = raw; - orama.internalDocumentIDStore.idToInternalId.clear(); - orama.internalDocumentIDStore.internalIdToId = []; - const internalIdToIdLength = internalIdToId.length; - for(let i = 0; i < internalIdToIdLength; i++){ - const internalIdItem = internalIdToId[i]; - orama.internalDocumentIDStore.idToInternalId.set(internalIdItem, i + 1); - orama.internalDocumentIDStore.internalIdToId.push(internalIdItem); - } -} -function getInternalDocumentId(store, id) { - if (typeof id === 'string') { - const internalId = store.idToInternalId.get(id); - if (internalId) { - return internalId; - } - const currentId = store.idToInternalId.size + 1; - store.idToInternalId.set(id, currentId); - store.internalIdToId.push(id); - return currentId; - } - if (id > store.internalIdToId.length) { - return getInternalDocumentId(store, id.toString()); - } - return id; -} -function getDocumentIdFromInternalId(store, internalId) { - if (store.internalIdToId.length < internalId) { - throw new Error(`Invalid internalId ${internalId}`); - } - return store.internalIdToId[internalId - 1]; -} //# sourceMappingURL=internal-document-id-store.js.map -}), -"[project]/node_modules/@orama/orama/dist/browser/components/documents-store.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "count", - ()=>count, - "create", - ()=>create, - "createDocumentsStore", - ()=>createDocumentsStore, - "get", - ()=>get, - "getAll", - ()=>getAll, - "getMultiple", - ()=>getMultiple, - "load", - ()=>load, - "remove", - ()=>remove, - "save", - ()=>save, - "store", - ()=>store -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$internal$2d$document$2d$id$2d$store$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/internal-document-id-store.js [app-client] (ecmascript)"); -; -function create(_, sharedInternalDocumentStore) { - return { - sharedInternalDocumentStore, - docs: {}, - count: 0 - }; -} -function get(store, id) { - const internalId = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$internal$2d$document$2d$id$2d$store$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getInternalDocumentId"])(store.sharedInternalDocumentStore, id); - return store.docs[internalId]; -} -function getMultiple(store, ids) { - const idsLength = ids.length; - const found = Array.from({ - length: idsLength - }); - for(let i = 0; i < idsLength; i++){ - const internalId = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$internal$2d$document$2d$id$2d$store$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getInternalDocumentId"])(store.sharedInternalDocumentStore, ids[i]); - found[i] = store.docs[internalId]; - } - return found; -} -function getAll(store) { - return store.docs; -} -function store(store, id, internalId, doc) { - if (typeof store.docs[internalId] !== 'undefined') { - return false; - } - store.docs[internalId] = doc; - store.count++; - return true; -} -function remove(store, id) { - const internalId = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$internal$2d$document$2d$id$2d$store$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getInternalDocumentId"])(store.sharedInternalDocumentStore, id); - if (typeof store.docs[internalId] === 'undefined') { - return false; - } - delete store.docs[internalId]; - store.count--; - return true; -} -function count(store) { - return store.count; -} -function load(sharedInternalDocumentStore, raw) { - const rawDocument = raw; - return { - docs: rawDocument.docs, - count: rawDocument.count, - sharedInternalDocumentStore - }; -} -function save(store) { - return { - docs: store.docs, - count: store.count - }; -} -function createDocumentsStore() { - return { - create, - get, - getMultiple, - getAll, - store, - remove, - count, - load, - save - }; -} //# sourceMappingURL=documents-store.js.map -}), -"[project]/node_modules/@orama/orama/dist/browser/components/plugins.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "AVAILABLE_PLUGIN_HOOKS", - ()=>AVAILABLE_PLUGIN_HOOKS, - "getAllPluginsByHook", - ()=>getAllPluginsByHook -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/errors.js [app-client] (ecmascript)"); -; -const AVAILABLE_PLUGIN_HOOKS = [ - 'beforeInsert', - 'afterInsert', - 'beforeRemove', - 'afterRemove', - 'beforeUpdate', - 'afterUpdate', - 'beforeUpsert', - 'afterUpsert', - 'beforeSearch', - 'afterSearch', - 'beforeInsertMultiple', - 'afterInsertMultiple', - 'beforeRemoveMultiple', - 'afterRemoveMultiple', - 'beforeUpdateMultiple', - 'afterUpdateMultiple', - 'beforeUpsertMultiple', - 'afterUpsertMultiple', - 'beforeLoad', - 'afterLoad', - 'afterCreate' -]; -function getAllPluginsByHook(orama, hook) { - const pluginsToRun = []; - const pluginsLength = orama.plugins?.length; - if (!pluginsLength) { - return pluginsToRun; - } - for(let i = 0; i < pluginsLength; i++){ - try { - const plugin = orama.plugins[i]; - if (typeof plugin[hook] === 'function') { - pluginsToRun.push(plugin[hook]); - } - } catch (error) { - console.error('Caught error in getAllPluginsByHook:', error); - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('PLUGIN_CRASHED'); - } - } - return pluginsToRun; -} //# sourceMappingURL=plugins.js.map -}), -"[project]/node_modules/@orama/orama/dist/browser/components/hooks.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "FUNCTION_COMPONENTS", - ()=>FUNCTION_COMPONENTS, - "OBJECT_COMPONENTS", - ()=>OBJECT_COMPONENTS, - "SINGLE_OR_ARRAY_COMPONENTS", - ()=>SINGLE_OR_ARRAY_COMPONENTS, - "runAfterCreate", - ()=>runAfterCreate, - "runAfterSearch", - ()=>runAfterSearch, - "runBeforeSearch", - ()=>runBeforeSearch, - "runMultipleHook", - ()=>runMultipleHook, - "runSingleHook", - ()=>runSingleHook -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/utils.js [app-client] (ecmascript)"); -; -const OBJECT_COMPONENTS = [ - 'tokenizer', - 'index', - 'documentsStore', - 'sorter', - 'pinning' -]; -const FUNCTION_COMPONENTS = [ - 'validateSchema', - 'getDocumentIndexId', - 'getDocumentProperties', - 'formatElapsedTime' -]; -const SINGLE_OR_ARRAY_COMPONENTS = []; -function runSingleHook(hooks, orama, id, doc) { - const needAsync = hooks.some(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"]); - if (needAsync) { - return (async ()=>{ - for (const hook of hooks){ - await hook(orama, id, doc); - } - })(); - } else { - for (const hook of hooks){ - hook(orama, id, doc); - } - } -} -function runMultipleHook(hooks, orama, docsOrIds) { - const needAsync = hooks.some(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"]); - if (needAsync) { - return (async ()=>{ - for (const hook of hooks){ - await hook(orama, docsOrIds); - } - })(); - } else { - for (const hook of hooks){ - hook(orama, docsOrIds); - } - } -} -function runAfterSearch(hooks, db, params, language, results) { - const needAsync = hooks.some(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"]); - if (needAsync) { - return (async ()=>{ - for (const hook of hooks){ - await hook(db, params, language, results); - } - })(); - } else { - for (const hook of hooks){ - hook(db, params, language, results); - } - } -} -function runBeforeSearch(hooks, db, params, language) { - const needAsync = hooks.some(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"]); - if (needAsync) { - return (async ()=>{ - for (const hook of hooks){ - await hook(db, params, language); - } - })(); - } else { - for (const hook of hooks){ - hook(db, params, language); - } - } -} -function runAfterCreate(hooks, db) { - const needAsync = hooks.some(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"]); - if (needAsync) { - return (async ()=>{ - for (const hook of hooks){ - await hook(db); - } - })(); - } else { - for (const hook of hooks){ - hook(db); - } - } -} //# sourceMappingURL=hooks.js.map -}), -"[project]/node_modules/@orama/orama/dist/browser/trees/avl.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "AVLNode", - ()=>AVLNode, - "AVLTree", - ()=>AVLTree -]); -class AVLNode { - k; - v; - l = null; - r = null; - h = 1; - constructor(key, value){ - this.k = key; - this.v = new Set(value); - } - updateHeight() { - this.h = Math.max(AVLNode.getHeight(this.l), AVLNode.getHeight(this.r)) + 1; - } - static getHeight(node) { - return node ? node.h : 0; - } - getBalanceFactor() { - return AVLNode.getHeight(this.l) - AVLNode.getHeight(this.r); - } - rotateLeft() { - const newRoot = this.r; - this.r = newRoot.l; - newRoot.l = this; - this.updateHeight(); - newRoot.updateHeight(); - return newRoot; - } - rotateRight() { - const newRoot = this.l; - this.l = newRoot.r; - newRoot.r = this; - this.updateHeight(); - newRoot.updateHeight(); - return newRoot; - } - toJSON() { - return { - k: this.k, - v: Array.from(this.v), - l: this.l ? this.l.toJSON() : null, - r: this.r ? this.r.toJSON() : null, - h: this.h - }; - } - static fromJSON(json) { - const node = new AVLNode(json.k, json.v); - node.l = json.l ? AVLNode.fromJSON(json.l) : null; - node.r = json.r ? AVLNode.fromJSON(json.r) : null; - node.h = json.h; - return node; - } -} -class AVLTree { - root = null; - insertCount = 0; - constructor(key, value){ - if (key !== undefined && value !== undefined) { - this.root = new AVLNode(key, value); - } - } - insert(key, value, rebalanceThreshold = 1000) { - this.root = this.insertNode(this.root, key, value, rebalanceThreshold); - } - insertMultiple(key, value, rebalanceThreshold = 1000) { - for (const v of value){ - this.insert(key, v, rebalanceThreshold); - } - } - // Rebalance the tree if the insert count reaches the threshold. - // This will improve insertion performance since we won't be rebalancing the tree on every insert. - // When inserting docs using `insertMultiple`, the threshold will be set to the number of docs being inserted. - // We can force rebalancing the tree by setting the threshold to 1 (default). - rebalance() { - if (this.root) { - this.root = this.rebalanceNode(this.root); - } - } - toJSON() { - return { - root: this.root ? this.root.toJSON() : null, - insertCount: this.insertCount - }; - } - static fromJSON(json) { - const tree = new AVLTree(); - tree.root = json.root ? AVLNode.fromJSON(json.root) : null; - tree.insertCount = json.insertCount || 0; - return tree; - } - insertNode(node, key, value, rebalanceThreshold) { - if (node === null) { - return new AVLNode(key, [ - value - ]); - } - const path = []; - let current = node; - let parent = null; - while(current !== null){ - path.push({ - parent, - node: current - }); - if (key < current.k) { - if (current.l === null) { - current.l = new AVLNode(key, [ - value - ]); - path.push({ - parent: current, - node: current.l - }); - break; - } else { - parent = current; - current = current.l; - } - } else if (key > current.k) { - if (current.r === null) { - current.r = new AVLNode(key, [ - value - ]); - path.push({ - parent: current, - node: current.r - }); - break; - } else { - parent = current; - current = current.r; - } - } else { - // Key already exists - current.v.add(value); - /* - if (Array.isArray(current.v)) { - if (Array.isArray(value)) { - ;(current.v as any[]).push(...(value as V[])) - } else { - ;(current.v as any[]).push(value) - } - } else { - current.v = new Set([value]) - } - */ return node; - } - } - // Update heights and rebalance if necessary - let needRebalance = false; - if (this.insertCount++ % rebalanceThreshold === 0) { - needRebalance = true; - } - for(let i = path.length - 1; i >= 0; i--){ - const { parent, node: currentNode } = path[i]; - currentNode.updateHeight(); - if (needRebalance) { - const rebalancedNode = this.rebalanceNode(currentNode); - if (parent) { - if (parent.l === currentNode) { - parent.l = rebalancedNode; - } else if (parent.r === currentNode) { - parent.r = rebalancedNode; - } - } else { - // This is the root node - node = rebalancedNode; - } - } - } - return node; - } - rebalanceNode(node) { - const balanceFactor = node.getBalanceFactor(); - if (balanceFactor > 1) { - // Left heavy - if (node.l && node.l.getBalanceFactor() >= 0) { - // Left Left Case - return node.rotateRight(); - } else if (node.l) { - // Left Right Case - node.l = node.l.rotateLeft(); - return node.rotateRight(); - } - } - if (balanceFactor < -1) { - // Right heavy - if (node.r && node.r.getBalanceFactor() <= 0) { - // Right Right Case - return node.rotateLeft(); - } else if (node.r) { - // Right Left Case - node.r = node.r.rotateRight(); - return node.rotateLeft(); - } - } - return node; - } - find(key) { - const node = this.findNodeByKey(key); - return node ? node.v : null; - } - contains(key) { - return this.find(key) !== null; - } - getSize() { - let count = 0; - const stack = []; - let current = this.root; - while(current || stack.length > 0){ - while(current){ - stack.push(current); - current = current.l; - } - current = stack.pop(); - count++; - current = current.r; - } - return count; - } - isBalanced() { - if (!this.root) return true; - const stack = [ - this.root - ]; - while(stack.length > 0){ - const node = stack.pop(); - const balanceFactor = node.getBalanceFactor(); - if (Math.abs(balanceFactor) > 1) { - return false; - } - if (node.l) stack.push(node.l); - if (node.r) stack.push(node.r); - } - return true; - } - remove(key) { - this.root = this.removeNode(this.root, key); - } - removeDocument(key, id) { - const node = this.findNodeByKey(key); - if (!node) { - return; - } - if (node.v.size === 1) { - this.root = this.removeNode(this.root, key); - } else { - node.v = new Set([ - ...node.v.values() - ].filter((v)=>v !== id)); - } - } - findNodeByKey(key) { - let node = this.root; - while(node){ - if (key < node.k) { - node = node.l; - } else if (key > node.k) { - node = node.r; - } else { - return node; - } - } - return null; - } - removeNode(node, key) { - if (node === null) return null; - const path = []; - let current = node; - while(current !== null && current.k !== key){ - path.push(current); - if (key < current.k) { - current = current.l; - } else { - current = current.r; - } - } - if (current === null) { - // Key not found - return node; - } - // Node with only one child or no child - if (current.l === null || current.r === null) { - const child = current.l ? current.l : current.r; - if (path.length === 0) { - // Node to be deleted is root - node = child; - } else { - const parent = path[path.length - 1]; - if (parent.l === current) { - parent.l = child; - } else { - parent.r = child; - } - } - } else { - // Node with two children: Get the inorder successor - let successorParent = current; - let successor = current.r; - while(successor.l !== null){ - successorParent = successor; - successor = successor.l; - } - // Copy the successor's content to current node - current.k = successor.k; - current.v = successor.v; - // Delete the successor - if (successorParent.l === successor) { - successorParent.l = successor.r; - } else { - successorParent.r = successor.r; - } - current = successorParent; - } - // Update heights and rebalance - path.push(current); - for(let i = path.length - 1; i >= 0; i--){ - const currentNode = path[i]; - currentNode.updateHeight(); - const rebalancedNode = this.rebalanceNode(currentNode); - if (i > 0) { - const parent = path[i - 1]; - if (parent.l === currentNode) { - parent.l = rebalancedNode; - } else if (parent.r === currentNode) { - parent.r = rebalancedNode; - } - } else { - // Root node - node = rebalancedNode; - } - } - return node; - } - rangeSearch(min, max) { - const result = new Set(); - const stack = []; - let current = this.root; - while(current || stack.length > 0){ - while(current){ - stack.push(current); - current = current.l; - } - current = stack.pop(); - if (current.k >= min && current.k <= max) { - for (const value of current.v){ - result.add(value); - } - } - if (current.k > max) { - break; - } - current = current.r; - } - return result; - } - greaterThan(key, inclusive = false) { - const result = new Set(); - const stack = []; - let current = this.root; - while(current || stack.length > 0){ - while(current){ - stack.push(current); - current = current.r; // Traverse right subtree first - } - current = stack.pop(); - if (inclusive && current.k >= key || !inclusive && current.k > key) { - for (const value of current.v){ - result.add(value); - } - } else if (current.k <= key) { - break; // Since we're traversing in descending order, we can break early - } - current = current.l; - } - return result; - } - lessThan(key, inclusive = false) { - const result = new Set(); - const stack = []; - let current = this.root; - while(current || stack.length > 0){ - while(current){ - stack.push(current); - current = current.l; - } - current = stack.pop(); - if (inclusive && current.k <= key || !inclusive && current.k < key) { - for (const value of current.v){ - result.add(value); - } - } else if (current.k > key) { - break; // Since we're traversing in ascending order, we can break early - } - current = current.r; - } - return result; - } -} //# sourceMappingURL=avl.js.map -}), -"[project]/node_modules/@orama/orama/dist/browser/trees/flat.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "FlatTree", - ()=>FlatTree -]); -class FlatTree { - numberToDocumentId; - constructor(){ - this.numberToDocumentId = new Map(); - } - insert(key, value) { - if (this.numberToDocumentId.has(key)) { - this.numberToDocumentId.get(key).add(value); - } else { - this.numberToDocumentId.set(key, new Set([ - value - ])); - } - } - find(key) { - const idSet = this.numberToDocumentId.get(key); - return idSet ? Array.from(idSet) : null; - } - remove(key) { - this.numberToDocumentId.delete(key); - } - removeDocument(id, key) { - const idSet = this.numberToDocumentId.get(key); - if (idSet) { - idSet.delete(id); - if (idSet.size === 0) { - this.numberToDocumentId.delete(key); - } - } - } - contains(key) { - return this.numberToDocumentId.has(key); - } - getSize() { - let size = 0; - for (const idSet of this.numberToDocumentId.values()){ - size += idSet.size; - } - return size; - } - filter(operation) { - const operationKeys = Object.keys(operation); - if (operationKeys.length !== 1) { - throw new Error('Invalid operation'); - } - const operationType = operationKeys[0]; - switch(operationType){ - case 'eq': - { - const value = operation[operationType]; - const idSet = this.numberToDocumentId.get(value); - return idSet ? Array.from(idSet) : []; - } - case 'in': - { - const values = operation[operationType]; - const resultSet = new Set(); - for (const value of values){ - const idSet = this.numberToDocumentId.get(value); - if (idSet) { - for (const id of idSet){ - resultSet.add(id); - } - } - } - return Array.from(resultSet); - } - case 'nin': - { - const excludeValues = new Set(operation[operationType]); - const resultSet = new Set(); - for (const [key, idSet] of this.numberToDocumentId.entries()){ - if (!excludeValues.has(key)) { - for (const id of idSet){ - resultSet.add(id); - } - } - } - return Array.from(resultSet); - } - default: - throw new Error('Invalid operation'); - } - } - filterArr(operation) { - const operationKeys = Object.keys(operation); - if (operationKeys.length !== 1) { - throw new Error('Invalid operation'); - } - const operationType = operationKeys[0]; - switch(operationType){ - case 'containsAll': - { - const values = operation[operationType]; - const idSets = values.map((value)=>this.numberToDocumentId.get(value) ?? new Set()); - if (idSets.length === 0) return []; - const intersection = idSets.reduce((prev, curr)=>{ - return new Set([ - ...prev - ].filter((id)=>curr.has(id))); - }); - return Array.from(intersection); - } - case 'containsAny': - { - const values = operation[operationType]; - const idSets = values.map((value)=>this.numberToDocumentId.get(value) ?? new Set()); - if (idSets.length === 0) return []; - const union = idSets.reduce((prev, curr)=>{ - return new Set([ - ...prev, - ...curr - ]); - }); - return Array.from(union); - } - default: - throw new Error('Invalid operation'); - } - } - static fromJSON(json) { - if (!json.numberToDocumentId) { - throw new Error('Invalid Flat Tree JSON'); - } - const tree = new FlatTree(); - for (const [key, ids] of json.numberToDocumentId){ - tree.numberToDocumentId.set(key, new Set(ids)); - } - return tree; - } - toJSON() { - return { - numberToDocumentId: Array.from(this.numberToDocumentId.entries()).map(([key, idSet])=>[ - key, - Array.from(idSet) - ]) - }; - } -} //# sourceMappingURL=flat.js.map -}), -"[project]/node_modules/@orama/orama/dist/browser/components/levenshtein.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "boundedLevenshtein", - ()=>boundedLevenshtein, - "levenshtein", - ()=>levenshtein, - "syncBoundedLevenshtein", - ()=>syncBoundedLevenshtein -]); -/** - * Inspired by: - * https://github.com/Yomguithereal/talisman/blob/86ae55cbd040ff021d05e282e0e6c71f2dde21f8/src/metrics/levenshtein.js#L218-L340 - */ function _boundedLevenshtein(term, word, tolerance) { - // Handle base cases - if (tolerance < 0) return -1; - if (term === word) return 0; - const m = term.length; - const n = word.length; - // Special case for empty strings - if (m === 0) return n <= tolerance ? n : -1; - if (n === 0) return m <= tolerance ? m : -1; - // term = term.toLowerCase() - // word = word.toLowerCase() - const diff = Math.abs(m - n); - // Special case for prefixes - // If the searching word starts with the indexed word, return early. - if (term.startsWith(word)) { - // We just check if the remaining characters are within the tolerance - return diff <= tolerance ? diff : -1; - } - // If the indexed word starts with the searching word, return early. - if (word.startsWith(term)) { - // any prefixed word is within the tolerance - return 0; - } - // If the length difference is greater than the tolerance, return early - if (diff > tolerance) return -1; - // Initialize the matrix - const matrix = []; - for(let i = 0; i <= m; i++){ - matrix[i] = [ - i - ]; - for(let j = 1; j <= n; j++){ - matrix[i][j] = i === 0 ? j : 0; - } - } - // Fill the matrix - for(let i = 1; i <= m; i++){ - let rowMin = Infinity; - for(let j = 1; j <= n; j++){ - if (term[i - 1] === word[j - 1]) { - matrix[i][j] = matrix[i - 1][j - 1]; - } else { - matrix[i][j] = Math.min(matrix[i - 1][j] + 1, matrix[i][j - 1] + 1, matrix[i - 1][j - 1] + 1 // substitution - ); - } - rowMin = Math.min(rowMin, matrix[i][j]); - } - // Early termination if all values in this row exceed tolerance - if (rowMin > tolerance) { - return -1; - } - } - return matrix[m][n] <= tolerance ? matrix[m][n] : -1; -} -function boundedLevenshtein(term, w, tolerance) { - const distance = _boundedLevenshtein(term, w, tolerance); - return { - distance, - isBounded: distance >= 0 - }; -} -function syncBoundedLevenshtein(term, w, tolerance) { - const distance = _boundedLevenshtein(term, w, tolerance); - return { - distance, - isBounded: distance >= 0 - }; -} -function levenshtein(a, b) { - /* c8 ignore next 3 */ if (!a.length) { - return b.length; - } - /* c8 ignore next 3 */ if (!b.length) { - return a.length; - } - const swap = a; - if (a.length > b.length) { - a = b; - b = swap; - } - const row = Array.from({ - length: a.length + 1 - }, (_, i)=>i); - let val = 0; - for(let i = 1; i <= b.length; i++){ - let prev = i; - for(let j = 1; j <= a.length; j++){ - if (b[i - 1] === a[j - 1]) { - val = row[j - 1]; - } else { - val = Math.min(row[j - 1] + 1, Math.min(prev + 1, row[j] + 1)); - } - row[j - 1] = prev; - prev = val; - } - row[a.length] = prev; - } - return row[a.length]; -} //# sourceMappingURL=levenshtein.js.map -}), -"[project]/node_modules/@orama/orama/dist/browser/trees/radix.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "RadixNode", - ()=>RadixNode, - "RadixTree", - ()=>RadixTree -]); -/* eslint-disable @typescript-eslint/no-this-alias */ var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$levenshtein$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/levenshtein.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/utils.js [app-client] (ecmascript)"); -; -; -class RadixNode { - // Node key - k; - // Node subword - s; - // Node children - c = new Map(); - // Node documents - d = new Set(); - // Node end - e; - // Node word - w = ''; - constructor(key, subWord, end){ - this.k = key; - this.s = subWord; - this.e = end; - } - updateParent(parent) { - this.w = parent.w + this.s; - } - addDocument(docID) { - this.d.add(docID); - } - removeDocument(docID) { - return this.d.delete(docID); - } - findAllWords(output, term, exact, tolerance) { - const stack = [ - this - ]; - while(stack.length > 0){ - const node = stack.pop(); - if (node.e) { - const { w, d: docIDs } = node; - if (exact && w !== term) { - continue; - } - // check if _output[w] exists and then add the doc to it - // always check in own property to prevent access to inherited properties - // fix https://github.com/oramasearch/orama/issues/137 - if ((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getOwnProperty"])(output, w) !== null) { - if (tolerance) { - const difference = Math.abs(term.length - w.length); - if (difference <= tolerance && (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$levenshtein$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["syncBoundedLevenshtein"])(term, w, tolerance).isBounded) { - output[w] = []; - } else { - continue; - } - } else { - output[w] = []; - } - } - // check if _output[w] exists and then add the doc to it - // always check in own property to prevent access to inherited properties - // fix https://github.com/oramasearch/orama/issues/137 - if ((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getOwnProperty"])(output, w) != null && docIDs.size > 0) { - const docs = output[w]; - for (const docID of docIDs){ - if (!docs.includes(docID)) { - docs.push(docID); - } - } - } - } - if (node.c.size > 0) { - stack.push(...node.c.values()); - } - } - return output; - } - insert(word, docId) { - let node = this; - let i = 0; - const wordLength = word.length; - while(i < wordLength){ - const currentCharacter = word[i]; - const childNode = node.c.get(currentCharacter); - if (childNode) { - const edgeLabel = childNode.s; - const edgeLabelLength = edgeLabel.length; - let j = 0; - // Find the common prefix length between edgeLabel and the remaining word - while(j < edgeLabelLength && i + j < wordLength && edgeLabel[j] === word[i + j]){ - j++; - } - if (j === edgeLabelLength) { - // Edge label fully matches; proceed to the child node - node = childNode; - i += j; - if (i === wordLength) { - // The word is a prefix of an existing word - if (!childNode.e) { - childNode.e = true; - } - childNode.addDocument(docId); - return; - } - continue; - } - // Split the edgeLabel at the common prefix - const commonPrefix = edgeLabel.slice(0, j); - const newEdgeLabel = edgeLabel.slice(j); - const newWordLabel = word.slice(i + j); - // Create an intermediate node for the common prefix - const inbetweenNode = new RadixNode(commonPrefix[0], commonPrefix, false); - node.c.set(commonPrefix[0], inbetweenNode); - inbetweenNode.updateParent(node); - // Update the existing childNode - childNode.s = newEdgeLabel; - childNode.k = newEdgeLabel[0]; - inbetweenNode.c.set(newEdgeLabel[0], childNode); - childNode.updateParent(inbetweenNode); - if (newWordLabel) { - // Create a new node for the remaining part of the word - const newNode = new RadixNode(newWordLabel[0], newWordLabel, true); - newNode.addDocument(docId); - inbetweenNode.c.set(newWordLabel[0], newNode); - newNode.updateParent(inbetweenNode); - } else { - // The word ends at the inbetweenNode - inbetweenNode.e = true; - inbetweenNode.addDocument(docId); - } - return; - } else { - // No matching child; create a new node - const newNode = new RadixNode(currentCharacter, word.slice(i), true); - newNode.addDocument(docId); - node.c.set(currentCharacter, newNode); - newNode.updateParent(node); - return; - } - } - // If we reach here, the word already exists in the tree - if (!node.e) { - node.e = true; - } - node.addDocument(docId); - } - _findLevenshtein(term, index, tolerance, originalTolerance, output) { - const stack = [ - { - node: this, - index, - tolerance - } - ]; - while(stack.length > 0){ - const { node, index, tolerance } = stack.pop(); - if (node.w.startsWith(term)) { - node.findAllWords(output, term, false, 0); - continue; - } - if (tolerance < 0) { - continue; - } - if (node.e) { - const { w, d: docIDs } = node; - if (w) { - if ((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$levenshtein$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["syncBoundedLevenshtein"])(term, w, originalTolerance).isBounded) { - output[w] = []; - } - if ((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getOwnProperty"])(output, w) !== undefined && docIDs.size > 0) { - const docs = new Set(output[w]); - for (const docID of docIDs){ - docs.add(docID); - } - output[w] = Array.from(docs); - } - } - } - if (index >= term.length) { - continue; - } - const currentChar = term[index]; - // 1. If node has child matching term[index], push { node: childNode, index +1, tolerance } - if (node.c.has(currentChar)) { - const childNode = node.c.get(currentChar); - stack.push({ - node: childNode, - index: index + 1, - tolerance - }); - } - // 2. Push { node, index +1, tolerance -1 } (Delete operation) - stack.push({ - node: node, - index: index + 1, - tolerance: tolerance - 1 - }); - // 3. For each child: - for (const [character, childNode] of node.c){ - // a) Insert operation - stack.push({ - node: childNode, - index: index, - tolerance: tolerance - 1 - }); - // b) Substitute operation - if (character !== currentChar) { - stack.push({ - node: childNode, - index: index + 1, - tolerance: tolerance - 1 - }); - } - } - } - } - find(params) { - const { term, exact, tolerance } = params; - if (tolerance && !exact) { - const output = {}; - this._findLevenshtein(term, 0, tolerance, tolerance, output); - return output; - } else { - let node = this; - let i = 0; - const termLength = term.length; - while(i < termLength){ - const character = term[i]; - const childNode = node.c.get(character); - if (childNode) { - const edgeLabel = childNode.s; - const edgeLabelLength = edgeLabel.length; - let j = 0; - // Compare edge label with the term starting from position i - while(j < edgeLabelLength && i + j < termLength && edgeLabel[j] === term[i + j]){ - j++; - } - if (j === edgeLabelLength) { - // Full match of edge label; proceed to the child node - node = childNode; - i += j; - } else if (i + j === termLength) { - // The term ends in the middle of the edge label - FIX: this handles prefix matches like 'p' matching 'phone' - // Check if the term matches from the beginning of the edge label - if (j === termLength - i) { - // Term is a prefix of the edge label - if (exact) { - // Exact match required but term doesn't end at a node - return {}; - } else { - // Partial match; collect words starting from this node - const output = {}; - // Just call findAllWords on the child node to collect all words in this subtree - childNode.findAllWords(output, term, exact, tolerance); - return output; - } - } else { - // Mismatch found - return {}; - } - } else { - // Mismatch found - return {}; - } - } else { - // No matching child node - return {}; - } - } - // Term fully matched; collect words starting from this node - const output = {}; - node.findAllWords(output, term, exact, tolerance); - return output; - } - } - contains(term) { - let node = this; - let i = 0; - const termLength = term.length; - while(i < termLength){ - const character = term[i]; - const childNode = node.c.get(character); - if (childNode) { - const edgeLabel = childNode.s; - const edgeLabelLength = edgeLabel.length; - let j = 0; - while(j < edgeLabelLength && i + j < termLength && edgeLabel[j] === term[i + j]){ - j++; - } - if (j < edgeLabelLength) { - return false; - } - i += edgeLabelLength; - node = childNode; - } else { - return false; - } - } - return true; - } - removeWord(term) { - if (!term) { - return false; - } - let node = this; - const termLength = term.length; - const stack = []; - for(let i = 0; i < termLength; i++){ - const character = term[i]; - if (node.c.has(character)) { - const childNode = node.c.get(character); - stack.push({ - parent: node, - character - }); - i += childNode.s.length - 1; - node = childNode; - } else { - return false; - } - } - // Remove documents from the node - node.d.clear(); - node.e = false; - // Clean up any nodes that no longer lead to a word - while(stack.length > 0 && node.c.size === 0 && !node.e && node.d.size === 0){ - const { parent, character } = stack.pop(); - parent.c.delete(character); - node = parent; - } - return true; - } - removeDocumentByWord(term, docID, exact = true) { - if (!term) { - return true; - } - let node = this; - const termLength = term.length; - for(let i = 0; i < termLength; i++){ - const character = term[i]; - if (node.c.has(character)) { - const childNode = node.c.get(character); - i += childNode.s.length - 1; - node = childNode; - if (exact && node.w !== term) { - // Do nothing if the exact condition is not met. - } else { - node.removeDocument(docID); - } - } else { - return false; - } - } - return true; - } - static getCommonPrefix(a, b) { - const len = Math.min(a.length, b.length); - let i = 0; - while(i < len && a.charCodeAt(i) === b.charCodeAt(i)){ - i++; - } - return a.slice(0, i); - } - toJSON() { - return { - w: this.w, - s: this.s, - e: this.e, - k: this.k, - d: Array.from(this.d), - c: Array.from(this.c?.entries())?.map(([key, node])=>[ - key, - node.toJSON() - ]) - }; - } - static fromJSON(json) { - const node = new RadixNode(json.k, json.s, json.e); - node.w = json.w; - node.d = new Set(json.d); - node.c = new Map(json?.c?.map(([key, nodeJson])=>[ - key, - RadixNode.fromJSON(nodeJson) - ]) || []); - return node; - } -} -class RadixTree extends RadixNode { - constructor(){ - super('', '', false); - } - static fromJSON(json) { - const tree = new RadixTree(); - tree.w = json.w; - tree.s = json.s; - tree.e = json.e; - tree.k = json.k; - tree.d = new Set(json.d); - tree.c = new Map(json?.c?.map(([key, nodeJson])=>[ - key, - RadixNode.fromJSON(nodeJson) - ]) || []); - return tree; - } - toJSON() { - return super.toJSON(); - } -} //# sourceMappingURL=radix.js.map -}), -"[project]/node_modules/@orama/orama/dist/browser/trees/bkd.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "BKDTree", - ()=>BKDTree -]); -const K = 2; // 2D points -const EARTH_RADIUS = 6371e3; // Earth radius in meters -class BKDNode { - point; - docIDs; - left; - right; - parent; - constructor(point, docIDs){ - this.point = point; - this.docIDs = new Set(docIDs); - this.left = null; - this.right = null; - this.parent = null; - } - toJSON() { - return { - point: this.point, - docIDs: Array.from(this.docIDs), - left: this.left ? this.left.toJSON() : null, - right: this.right ? this.right.toJSON() : null - }; - } - static fromJSON(json, parent = null) { - const node = new BKDNode(json.point, json.docIDs); - node.parent = parent; - if (json.left) { - node.left = BKDNode.fromJSON(json.left, node); - } - if (json.right) { - node.right = BKDNode.fromJSON(json.right, node); - } - return node; - } -} -class BKDTree { - root; - nodeMap; - constructor(){ - this.root = null; - this.nodeMap = new Map(); - } - getPointKey(point) { - return `${point.lon},${point.lat}`; - } - insert(point, docIDs) { - const pointKey = this.getPointKey(point); - const existingNode = this.nodeMap.get(pointKey); - if (existingNode) { - docIDs.forEach((id)=>existingNode.docIDs.add(id)); - return; - } - const newNode = new BKDNode(point, docIDs); - this.nodeMap.set(pointKey, newNode); - if (this.root == null) { - this.root = newNode; - return; - } - let node = this.root; - let depth = 0; - // eslint-disable-next-line no-constant-condition - while(true){ - const axis = depth % K; - if (axis === 0) { - if (point.lon < node.point.lon) { - if (node.left == null) { - node.left = newNode; - newNode.parent = node; - return; - } - node = node.left; - } else { - if (node.right == null) { - node.right = newNode; - newNode.parent = node; - return; - } - node = node.right; - } - } else { - if (point.lat < node.point.lat) { - if (node.left == null) { - node.left = newNode; - newNode.parent = node; - return; - } - node = node.left; - } else { - if (node.right == null) { - node.right = newNode; - newNode.parent = node; - return; - } - node = node.right; - } - } - depth++; - } - } - contains(point) { - const pointKey = this.getPointKey(point); - return this.nodeMap.has(pointKey); - } - getDocIDsByCoordinates(point) { - const pointKey = this.getPointKey(point); - const node = this.nodeMap.get(pointKey); - if (node) { - return Array.from(node.docIDs); - } - return null; - } - removeDocByID(point, docID) { - const pointKey = this.getPointKey(point); - const node = this.nodeMap.get(pointKey); - if (node) { - node.docIDs.delete(docID); - if (node.docIDs.size === 0) { - this.nodeMap.delete(pointKey); - this.deleteNode(node); - } - } - } - deleteNode(node) { - const parent = node.parent; - const child = node.left ? node.left : node.right; - if (child) { - child.parent = parent; - } - if (parent) { - if (parent.left === node) { - parent.left = child; - } else if (parent.right === node) { - parent.right = child; - } - } else { - this.root = child; - if (this.root) { - this.root.parent = null; - } - } - } - searchByRadius(center, radius, inclusive = true, sort = 'asc', highPrecision = false) { - const distanceFn = highPrecision ? BKDTree.vincentyDistance : BKDTree.haversineDistance; - const stack = [ - { - node: this.root, - depth: 0 - } - ]; - const result = []; - while(stack.length > 0){ - const { node, depth } = stack.pop(); - if (node == null) continue; - const dist = distanceFn(center, node.point); - if (inclusive ? dist <= radius : dist > radius) { - result.push({ - point: node.point, - docIDs: Array.from(node.docIDs) - }); - } - if (node.left != null) { - stack.push({ - node: node.left, - depth: depth + 1 - }); - } - if (node.right != null) { - stack.push({ - node: node.right, - depth: depth + 1 - }); - } - } - if (sort) { - result.sort((a, b)=>{ - const distA = distanceFn(center, a.point); - const distB = distanceFn(center, b.point); - return sort.toLowerCase() === 'asc' ? distA - distB : distB - distA; - }); - } - return result; - } - searchByPolygon(polygon, inclusive = true, sort = null, highPrecision = false) { - const stack = [ - { - node: this.root, - depth: 0 - } - ]; - const result = []; - while(stack.length > 0){ - const { node, depth } = stack.pop(); - if (node == null) continue; - if (node.left != null) { - stack.push({ - node: node.left, - depth: depth + 1 - }); - } - if (node.right != null) { - stack.push({ - node: node.right, - depth: depth + 1 - }); - } - const isInsidePolygon = BKDTree.isPointInPolygon(polygon, node.point); - if (isInsidePolygon && inclusive || !isInsidePolygon && !inclusive) { - result.push({ - point: node.point, - docIDs: Array.from(node.docIDs) - }); - } - } - const centroid = BKDTree.calculatePolygonCentroid(polygon); - if (sort) { - const distanceFn = highPrecision ? BKDTree.vincentyDistance : BKDTree.haversineDistance; - result.sort((a, b)=>{ - const distA = distanceFn(centroid, a.point); - const distB = distanceFn(centroid, b.point); - return sort.toLowerCase() === 'asc' ? distA - distB : distB - distA; - }); - } - return result; - } - toJSON() { - return { - root: this.root ? this.root.toJSON() : null - }; - } - static fromJSON(json) { - const tree = new BKDTree(); - if (json.root) { - tree.root = BKDNode.fromJSON(json.root); - tree.buildNodeMap(tree.root); - } - return tree; - } - buildNodeMap(node) { - if (node == null) return; - const pointKey = this.getPointKey(node.point); - this.nodeMap.set(pointKey, node); - if (node.left) { - this.buildNodeMap(node.left); - } - if (node.right) { - this.buildNodeMap(node.right); - } - } - static calculatePolygonCentroid(polygon) { - let totalArea = 0; - let centroidX = 0; - let centroidY = 0; - const polygonLength = polygon.length; - for(let i = 0, j = polygonLength - 1; i < polygonLength; j = i++){ - const xi = polygon[i].lon; - const yi = polygon[i].lat; - const xj = polygon[j].lon; - const yj = polygon[j].lat; - const areaSegment = xi * yj - xj * yi; - totalArea += areaSegment; - centroidX += (xi + xj) * areaSegment; - centroidY += (yi + yj) * areaSegment; - } - totalArea /= 2; - const centroidCoordinate = 6 * totalArea; - centroidX /= centroidCoordinate; - centroidY /= centroidCoordinate; - return { - lon: centroidX, - lat: centroidY - }; - } - static isPointInPolygon(polygon, point) { - let isInside = false; - const x = point.lon; - const y = point.lat; - const polygonLength = polygon.length; - for(let i = 0, j = polygonLength - 1; i < polygonLength; j = i++){ - const xi = polygon[i].lon; - const yi = polygon[i].lat; - const xj = polygon[j].lon; - const yj = polygon[j].lat; - const intersect = yi > y !== yj > y && x < (xj - xi) * (y - yi) / (yj - yi) + xi; - if (intersect) isInside = !isInside; - } - return isInside; - } - static haversineDistance(coord1, coord2) { - const P = Math.PI / 180; - const lat1 = coord1.lat * P; - const lat2 = coord2.lat * P; - const deltaLat = (coord2.lat - coord1.lat) * P; - const deltaLon = (coord2.lon - coord1.lon) * P; - const a = Math.sin(deltaLat / 2) * Math.sin(deltaLat / 2) + Math.cos(lat1) * Math.cos(lat2) * Math.sin(deltaLon / 2) * Math.sin(deltaLon / 2); - const c = 2 * Math.atan2(Math.sqrt(a), Math.sqrt(1 - a)); - return EARTH_RADIUS * c; - } - static vincentyDistance(coord1, coord2) { - const a = 6378137; - const f = 1 / 298.257223563; - const b = (1 - f) * a; - const P = Math.PI / 180; - const lat1 = coord1.lat * P; - const lat2 = coord2.lat * P; - const deltaLon = (coord2.lon - coord1.lon) * P; - const U1 = Math.atan((1 - f) * Math.tan(lat1)); - const U2 = Math.atan((1 - f) * Math.tan(lat2)); - const sinU1 = Math.sin(U1); - const cosU1 = Math.cos(U1); - const sinU2 = Math.sin(U2); - const cosU2 = Math.cos(U2); - let lambda = deltaLon; - let prevLambda; - let iterationLimit = 1000; - let sinSigma; - let cosSigma; - let sigma; - let sinAlpha; - let cos2Alpha; - let cos2SigmaM; - do { - const sinLambda = Math.sin(lambda); - const cosLambda = Math.cos(lambda); - sinSigma = Math.sqrt(cosU2 * sinLambda * (cosU2 * sinLambda) + (cosU1 * sinU2 - sinU1 * cosU2 * cosLambda) * (cosU1 * sinU2 - sinU1 * cosU2 * cosLambda)); - if (sinSigma === 0) return 0; // co-incident points - cosSigma = sinU1 * sinU2 + cosU1 * cosU2 * cosLambda; - sigma = Math.atan2(sinSigma, cosSigma); - sinAlpha = cosU1 * cosU2 * sinLambda / sinSigma; - cos2Alpha = 1 - sinAlpha * sinAlpha; - cos2SigmaM = cosSigma - 2 * sinU1 * sinU2 / cos2Alpha; - if (isNaN(cos2SigmaM)) cos2SigmaM = 0; - const C = f / 16 * cos2Alpha * (4 + f * (4 - 3 * cos2Alpha)); - prevLambda = lambda; - lambda = deltaLon + (1 - C) * f * sinAlpha * (sigma + C * sinSigma * (cos2SigmaM + C * cosSigma * (-1 + 2 * cos2SigmaM * cos2SigmaM))); - }while (Math.abs(lambda - prevLambda) > 1e-12 && --iterationLimit > 0) - if (iterationLimit === 0) { - return NaN; - } - const uSquared = cos2Alpha * (a * a - b * b) / (b * b); - const A = 1 + uSquared / 16384 * (4096 + uSquared * (-768 + uSquared * (320 - 175 * uSquared))); - const B = uSquared / 1024 * (256 + uSquared * (-128 + uSquared * (74 - 47 * uSquared))); - const deltaSigma = B * sinSigma * (cos2SigmaM + B / 4 * (cosSigma * (-1 + 2 * cos2SigmaM * cos2SigmaM) - B / 6 * cos2SigmaM * (-3 + 4 * sinSigma * sinSigma) * (-3 + 4 * cos2SigmaM * cos2SigmaM))); - const s = b * A * (sigma - deltaSigma); - return s; - } -} //# sourceMappingURL=bkd.js.map -}), -"[project]/node_modules/@orama/orama/dist/browser/trees/bool.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "BoolNode", - ()=>BoolNode -]); -class BoolNode { - true; - false; - constructor(){ - this.true = new Set(); - this.false = new Set(); - } - insert(value, bool) { - if (bool) { - this.true.add(value); - } else { - this.false.add(value); - } - } - delete(value, bool) { - if (bool) { - this.true.delete(value); - } else { - this.false.delete(value); - } - } - getSize() { - return this.true.size + this.false.size; - } - toJSON() { - return { - true: Array.from(this.true), - false: Array.from(this.false) - }; - } - static fromJSON(json) { - const node = new BoolNode(); - node.true = new Set(json.true); - node.false = new Set(json.false); - return node; - } -} //# sourceMappingURL=bool.js.map -}), -"[project]/node_modules/@orama/orama/dist/browser/components/algorithms.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "BM25", - ()=>BM25, - "prioritizeTokenScores", - ()=>prioritizeTokenScores -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/errors.js [app-client] (ecmascript)"); -; -function prioritizeTokenScores(arrays, boost, threshold = 0, keywordsCount) { - if (boost === 0) { - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('INVALID_BOOST_VALUE'); - } - const tokenScoresMap = new Map(); - const mapsLength = arrays.length; - for(let i = 0; i < mapsLength; i++){ - const arr = arrays[i]; - const entriesLength = arr.length; - for(let j = 0; j < entriesLength; j++){ - const [token, score] = arr[j]; - const boostScore = score * boost; - const oldScore = tokenScoresMap.get(token)?.[0]; - if (oldScore !== undefined) { - tokenScoresMap.set(token, [ - oldScore * 1.5 + boostScore, - (tokenScoresMap?.get(token)?.[1] || 0) + 1 - ]); - } else { - tokenScoresMap.set(token, [ - boostScore, - 1 - ]); - } - } - } - const tokenScores = []; - for (const tokenScoreEntry of tokenScoresMap.entries()){ - tokenScores.push([ - tokenScoreEntry[0], - tokenScoreEntry[1][0] - ]); - } - const results = tokenScores.sort((a, b)=>b[1] - a[1]); - // If threshold is 1, it means we will return all the results with at least one search term, - // prioritizing the ones that contains more search terms (fuzzy match) - if (threshold === 1) { - return results; - } - // For threshold = 0 when keywordsCount is 1 (single term search), - // we return all matches since they automatically contain 100% of keywords - if (threshold === 0 && keywordsCount === 1) { - return results; - } - // Prepare keywords count tracking for threshold handling - const allResults = results.length; - const tokenScoreWithKeywordsCount = []; - for (const tokenScoreEntry of tokenScoresMap.entries()){ - tokenScoreWithKeywordsCount.push([ - tokenScoreEntry[0], - tokenScoreEntry[1][0], - tokenScoreEntry[1][1] - ]); - } - // Find the index of the last result with all keywords. - // Order the documents by the number of keywords they contain, and then by the score. - const keywordsPerToken = tokenScoreWithKeywordsCount.sort((a, b)=>{ - // Compare by the third element, higher numbers first - if (a[2] > b[2]) return -1; - if (a[2] < b[2]) return 1; - // If the third elements are equal, compare by the second element, higher numbers first - if (a[1] > b[1]) return -1; - if (a[1] < b[1]) return 1; - // If both the second and third elements are equal, consider the elements equal - return 0; - }); - let lastTokenWithAllKeywords = undefined; - for(let i = 0; i < allResults; i++){ - if (keywordsPerToken[i][2] === keywordsCount) { - lastTokenWithAllKeywords = i; - } else { - break; - } - } - // If no results had all the keywords, either bail out earlier or normalize - if (typeof lastTokenWithAllKeywords === 'undefined') { - if (threshold === 0) { - return []; - } - lastTokenWithAllKeywords = 0; - } - const keywordsPerTokenLength = keywordsPerToken.length; - const resultsWithIdAndScore = new Array(keywordsPerTokenLength); - for(let i = 0; i < keywordsPerTokenLength; i++){ - resultsWithIdAndScore[i] = [ - keywordsPerToken[i][0], - keywordsPerToken[i][1] - ]; - } - // If threshold is 0, it means we will only return all the results that contains ALL the search terms (exact match) - if (threshold === 0) { - return resultsWithIdAndScore.slice(0, lastTokenWithAllKeywords + 1); - } - // If the threshold is between 0 and 1, we will return all the results that contains at least the threshold of search terms - // For example, if threshold is 0.5, we will return all the results that contains at least 50% of the search terms - // (fuzzy match with a minimum threshold) - const thresholdLength = lastTokenWithAllKeywords + Math.ceil(threshold * 100 * (allResults - lastTokenWithAllKeywords) / 100); - return resultsWithIdAndScore.slice(0, Math.min(allResults, thresholdLength)); -} -function BM25(tf, matchingCount, docsCount, fieldLength, averageFieldLength, { k, b, d }) { - const idf = Math.log(1 + (docsCount - matchingCount + 0.5) / (matchingCount + 0.5)); - return idf * (d + tf * (k + 1)) / (tf + k * (1 - b + b * fieldLength / averageFieldLength)); -} //# sourceMappingURL=algorithms.js.map -}), -"[project]/node_modules/@orama/orama/dist/browser/trees/vector.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "DEFAULT_SIMILARITY", - ()=>DEFAULT_SIMILARITY, - "VectorIndex", - ()=>VectorIndex, - "findSimilarVectors", - ()=>findSimilarVectors, - "getMagnitude", - ()=>getMagnitude -]); -const DEFAULT_SIMILARITY = 0.8; -class VectorIndex { - size; - vectors = new Map(); - constructor(size){ - this.size = size; - } - add(internalDocumentId, value) { - if (!(value instanceof Float32Array)) { - value = new Float32Array(value); - } - const magnitude = getMagnitude(value, this.size); - this.vectors.set(internalDocumentId, [ - magnitude, - value - ]); - } - remove(internalDocumentId) { - this.vectors.delete(internalDocumentId); - } - find(vector, similarity, whereFiltersIDs) { - if (!(vector instanceof Float32Array)) { - vector = new Float32Array(vector); - } - const results = findSimilarVectors(vector, whereFiltersIDs, this.vectors, this.size, similarity); - return results; - } - toJSON() { - const vectors = []; - for (const [id, [magnitude, vector]] of this.vectors){ - vectors.push([ - id, - [ - magnitude, - Array.from(vector) - ] - ]); - } - return { - size: this.size, - vectors - }; - } - static fromJSON(json) { - const raw = json; - const index = new VectorIndex(raw.size); - for (const [id, [magnitude, vector]] of raw.vectors){ - index.vectors.set(id, [ - magnitude, - new Float32Array(vector) - ]); - } - return index; - } -} -function getMagnitude(vector, vectorLength) { - let magnitude = 0; - for(let i = 0; i < vectorLength; i++){ - magnitude += vector[i] * vector[i]; - } - return Math.sqrt(magnitude); -} -function findSimilarVectors(targetVector, keys, vectors, length, threshold) { - const targetMagnitude = getMagnitude(targetVector, length); - const similarVectors = []; - const base = keys ? keys : vectors.keys(); - for (const vectorId of base){ - const entry = vectors.get(vectorId); - if (!entry) { - continue; - } - const magnitude = entry[0]; - const vector = entry[1]; - let dotProduct = 0; - for(let i = 0; i < length; i++){ - dotProduct += targetVector[i] * vector[i]; - } - const similarity = dotProduct / (targetMagnitude * magnitude); - if (similarity >= threshold) { - similarVectors.push([ - vectorId, - similarity - ]); - } - } - return similarVectors; -} //# sourceMappingURL=vector.js.map -}), -"[project]/node_modules/@orama/orama/dist/browser/components/index.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "calculateResultScores", - ()=>calculateResultScores, - "create", - ()=>create, - "createIndex", - ()=>createIndex, - "getSearchableProperties", - ()=>getSearchableProperties, - "getSearchablePropertiesWithTypes", - ()=>getSearchablePropertiesWithTypes, - "insert", - ()=>insert, - "insertDocumentScoreParameters", - ()=>insertDocumentScoreParameters, - "insertTokenScoreParameters", - ()=>insertTokenScoreParameters, - "insertVector", - ()=>insertVector, - "load", - ()=>load, - "remove", - ()=>remove, - "removeDocumentScoreParameters", - ()=>removeDocumentScoreParameters, - "removeTokenScoreParameters", - ()=>removeTokenScoreParameters, - "save", - ()=>save, - "search", - ()=>search, - "searchByGeoWhereClause", - ()=>searchByGeoWhereClause, - "searchByWhereClause", - ()=>searchByWhereClause -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/errors.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$trees$2f$avl$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/trees/avl.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$trees$2f$flat$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/trees/flat.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$trees$2f$radix$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/trees/radix.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$trees$2f$bkd$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/trees/bkd.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$trees$2f$bool$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/trees/bool.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/utils.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$algorithms$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/algorithms.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$defaults$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$locals$3e$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/defaults.js [app-client] (ecmascript) "); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$internal$2d$document$2d$id$2d$store$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/internal-document-id-store.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$trees$2f$vector$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/trees/vector.js [app-client] (ecmascript)"); -; -; -; -; -; -; -; -; -; -; -; -function insertDocumentScoreParameters(index, prop, id, tokens, docsCount) { - const internalId = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$internal$2d$document$2d$id$2d$store$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getInternalDocumentId"])(index.sharedInternalDocumentStore, id); - index.avgFieldLength[prop] = ((index.avgFieldLength[prop] ?? 0) * (docsCount - 1) + tokens.length) / docsCount; - index.fieldLengths[prop][internalId] = tokens.length; - index.frequencies[prop][internalId] = {}; -} -function insertTokenScoreParameters(index, prop, id, tokens, token) { - let tokenFrequency = 0; - for (const t of tokens){ - if (t === token) { - tokenFrequency++; - } - } - const internalId = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$internal$2d$document$2d$id$2d$store$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getInternalDocumentId"])(index.sharedInternalDocumentStore, id); - const tf = tokenFrequency / tokens.length; - index.frequencies[prop][internalId][token] = tf; - if (!(token in index.tokenOccurrences[prop])) { - index.tokenOccurrences[prop][token] = 0; - } - // increase a token counter that may not yet exist - index.tokenOccurrences[prop][token] = (index.tokenOccurrences[prop][token] ?? 0) + 1; -} -function removeDocumentScoreParameters(index, prop, id, docsCount) { - const internalId = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$internal$2d$document$2d$id$2d$store$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getInternalDocumentId"])(index.sharedInternalDocumentStore, id); - if (docsCount > 1) { - index.avgFieldLength[prop] = (index.avgFieldLength[prop] * docsCount - index.fieldLengths[prop][internalId]) / (docsCount - 1); - } else { - index.avgFieldLength[prop] = undefined; - } - index.fieldLengths[prop][internalId] = undefined; - index.frequencies[prop][internalId] = undefined; -} -function removeTokenScoreParameters(index, prop, token) { - index.tokenOccurrences[prop][token]--; -} -function create(orama, sharedInternalDocumentStore, schema, index, prefix = '') { - if (!index) { - index = { - sharedInternalDocumentStore, - indexes: {}, - vectorIndexes: {}, - searchableProperties: [], - searchablePropertiesWithTypes: {}, - frequencies: {}, - tokenOccurrences: {}, - avgFieldLength: {}, - fieldLengths: {} - }; - } - for (const [prop, type] of Object.entries(schema)){ - const path = `${prefix}${prefix ? '.' : ''}${prop}`; - if (typeof type === 'object' && !Array.isArray(type)) { - // Nested - create(orama, sharedInternalDocumentStore, type, index, path); - continue; - } - if ((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$defaults$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$locals$3e$__["isVectorType"])(type)) { - index.searchableProperties.push(path); - index.searchablePropertiesWithTypes[path] = type; - index.vectorIndexes[path] = { - type: 'Vector', - node: new __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$trees$2f$vector$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["VectorIndex"]((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$defaults$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$locals$3e$__["getVectorSize"])(type)), - isArray: false - }; - } else { - const isArray = /\[/.test(type); - switch(type){ - case 'boolean': - case 'boolean[]': - index.indexes[path] = { - type: 'Bool', - node: new __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$trees$2f$bool$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["BoolNode"](), - isArray - }; - break; - case 'number': - case 'number[]': - index.indexes[path] = { - type: 'AVL', - node: new __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$trees$2f$avl$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["AVLTree"](0, []), - isArray - }; - break; - case 'string': - case 'string[]': - index.indexes[path] = { - type: 'Radix', - node: new __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$trees$2f$radix$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["RadixTree"](), - isArray - }; - index.avgFieldLength[path] = 0; - index.frequencies[path] = {}; - index.tokenOccurrences[path] = {}; - index.fieldLengths[path] = {}; - break; - case 'enum': - case 'enum[]': - index.indexes[path] = { - type: 'Flat', - node: new __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$trees$2f$flat$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["FlatTree"](), - isArray - }; - break; - case 'geopoint': - index.indexes[path] = { - type: 'BKD', - node: new __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$trees$2f$bkd$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["BKDTree"](), - isArray - }; - break; - default: - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('INVALID_SCHEMA_TYPE', Array.isArray(type) ? 'array' : type, path); - } - index.searchableProperties.push(path); - index.searchablePropertiesWithTypes[path] = type; - } - } - return index; -} -function insertScalarBuilder(implementation, index, prop, internalId, language, tokenizer, docsCount, options) { - return (value)=>{ - const { type, node } = index.indexes[prop]; - switch(type){ - case 'Bool': - { - node[value ? 'true' : 'false'].add(internalId); - break; - } - case 'AVL': - { - const avlRebalanceThreshold = options?.avlRebalanceThreshold ?? 1; - node.insert(value, internalId, avlRebalanceThreshold); - break; - } - case 'Radix': - { - const tokens = tokenizer.tokenize(value, language, prop, false); - implementation.insertDocumentScoreParameters(index, prop, internalId, tokens, docsCount); - for (const token of tokens){ - implementation.insertTokenScoreParameters(index, prop, internalId, tokens, token); - node.insert(token, internalId); - } - break; - } - case 'Flat': - { - node.insert(value, internalId); - break; - } - case 'BKD': - { - node.insert(value, [ - internalId - ]); - break; - } - } - }; -} -function insert(implementation, index, prop, id, internalId, value, schemaType, language, tokenizer, docsCount, options) { - if ((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$defaults$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$locals$3e$__["isVectorType"])(schemaType)) { - return insertVector(index, prop, value, id, internalId); - } - const insertScalar = insertScalarBuilder(implementation, index, prop, internalId, language, tokenizer, docsCount, options); - if (!(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$defaults$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$locals$3e$__["isArrayType"])(schemaType)) { - return insertScalar(value); - } - const elements = value; - const elementsLength = elements.length; - for(let i = 0; i < elementsLength; i++){ - insertScalar(elements[i]); - } -} -function insertVector(index, prop, value, id, internalDocumentId) { - index.vectorIndexes[prop].node.add(internalDocumentId, value); -} -function removeScalar(implementation, index, prop, id, internalId, value, schemaType, language, tokenizer, docsCount) { - if ((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$defaults$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$locals$3e$__["isVectorType"])(schemaType)) { - index.vectorIndexes[prop].node.remove(internalId); - return true; - } - const { type, node } = index.indexes[prop]; - switch(type){ - case 'AVL': - { - node.removeDocument(value, internalId); - return true; - } - case 'Bool': - { - node[value ? 'true' : 'false'].delete(internalId); - return true; - } - case 'Radix': - { - const tokens = tokenizer.tokenize(value, language, prop); - implementation.removeDocumentScoreParameters(index, prop, id, docsCount); - for (const token of tokens){ - implementation.removeTokenScoreParameters(index, prop, token); - node.removeDocumentByWord(token, internalId); - } - return true; - } - case 'Flat': - { - node.removeDocument(internalId, value); - return true; - } - case 'BKD': - { - node.removeDocByID(value, internalId); - return false; - } - } -} -function remove(implementation, index, prop, id, internalId, value, schemaType, language, tokenizer, docsCount) { - if (!(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$defaults$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$locals$3e$__["isArrayType"])(schemaType)) { - return removeScalar(implementation, index, prop, id, internalId, value, schemaType, language, tokenizer, docsCount); - } - const innerSchemaType = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$defaults$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$locals$3e$__["getInnerType"])(schemaType); - const elements = value; - const elementsLength = elements.length; - for(let i = 0; i < elementsLength; i++){ - removeScalar(implementation, index, prop, id, internalId, elements[i], innerSchemaType, language, tokenizer, docsCount); - } - return true; -} -function calculateResultScores(index, prop, term, ids, docsCount, bm25Relevance, resultsMap, boostPerProperty, whereFiltersIDs, keywordMatchesMap) { - const documentIDs = Array.from(ids); - const avgFieldLength = index.avgFieldLength[prop]; - const fieldLengths = index.fieldLengths[prop]; - const oramaOccurrences = index.tokenOccurrences[prop]; - const oramaFrequencies = index.frequencies[prop]; - // oramaOccurrences[term] can be undefined, 0, string, or { [k: string]: number } - const termOccurrences = typeof oramaOccurrences[term] === 'number' ? oramaOccurrences[term] ?? 0 : 0; - // Calculate TF-IDF value for each term, in each document, for each index. - const documentIDsLength = documentIDs.length; - for(let k = 0; k < documentIDsLength; k++){ - const internalId = documentIDs[k]; - if (whereFiltersIDs && !whereFiltersIDs.has(internalId)) { - continue; - } - // Track keyword matches per property - if (!keywordMatchesMap.has(internalId)) { - keywordMatchesMap.set(internalId, new Map()); - } - const propertyMatches = keywordMatchesMap.get(internalId); - propertyMatches.set(prop, (propertyMatches.get(prop) || 0) + 1); - const tf = oramaFrequencies?.[internalId]?.[term] ?? 0; - const bm25 = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$algorithms$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["BM25"])(tf, termOccurrences, docsCount, fieldLengths[internalId], avgFieldLength, bm25Relevance); - if (resultsMap.has(internalId)) { - resultsMap.set(internalId, resultsMap.get(internalId) + bm25 * boostPerProperty); - } else { - resultsMap.set(internalId, bm25 * boostPerProperty); - } - } -} -function search(index, term, tokenizer, language, propertiesToSearch, exact, tolerance, boost, relevance, docsCount, whereFiltersIDs, threshold = 0) { - const tokens = tokenizer.tokenize(term, language); - const keywordsCount = tokens.length || 1; - // Track keyword matches per document and property - const keywordMatchesMap = new Map(); - // Track which tokens were found in the search - const tokenFoundMap = new Map(); - const resultsMap = new Map(); - for (const prop of propertiesToSearch){ - if (!(prop in index.indexes)) { - continue; - } - const tree = index.indexes[prop]; - const { type } = tree; - if (type !== 'Radix') { - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('WRONG_SEARCH_PROPERTY_TYPE', prop); - } - const boostPerProperty = boost[prop] ?? 1; - if (boostPerProperty <= 0) { - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('INVALID_BOOST_VALUE', boostPerProperty); - } - // if the tokenizer returns an empty array, we returns all the documents - if (tokens.length === 0 && !term) { - tokens.push(''); - } - // Process each token in the search term - const tokenLength = tokens.length; - for(let i = 0; i < tokenLength; i++){ - const token = tokens[i]; - const searchResult = tree.node.find({ - term: token, - exact, - tolerance - }); - // See if this token was found (for threshold=0 filtering) - const termsFound = Object.keys(searchResult); - if (termsFound.length > 0) { - tokenFoundMap.set(token, true); - } - // Process each matching term - const termsFoundLength = termsFound.length; - for(let j = 0; j < termsFoundLength; j++){ - const word = termsFound[j]; - const ids = searchResult[word]; - calculateResultScores(index, prop, word, ids, docsCount, relevance, resultsMap, boostPerProperty, whereFiltersIDs, keywordMatchesMap); - } - } - } - // Convert to array and sort by score - const results = Array.from(resultsMap.entries()).map(([id, score])=>[ - id, - score - ]).sort((a, b)=>b[1] - a[1]); - if (results.length === 0) { - return []; - } - // If threshold is 1, return all results - if (threshold === 1) { - return results; - } - // For threshold=0, check if all tokens were found - if (threshold === 0) { - // Quick return for single tokens - already validated - if (keywordsCount === 1) { - return results; - } - // For multiple tokens, verify that ALL tokens were found - // If any token wasn't found, return an empty result - for (const token of tokens){ - if (!tokenFoundMap.get(token)) { - return []; - } - } - // Find documents that have all keywords in at least one property - const fullMatches = results.filter(([id])=>{ - const propertyMatches = keywordMatchesMap.get(id); - if (!propertyMatches) return false; - // Check if any property has all keywords - return Array.from(propertyMatches.values()).some((matches)=>matches === keywordsCount); - }); - return fullMatches; - } - // Find documents that have all keywords in at least one property - const fullMatches = results.filter(([id])=>{ - const propertyMatches = keywordMatchesMap.get(id); - if (!propertyMatches) return false; - // Check if any property has all keywords - return Array.from(propertyMatches.values()).some((matches)=>matches === keywordsCount); - }); - // If we have full matches and threshold < 1, return full matches plus a percentage of partial matches - if (fullMatches.length > 0) { - const remainingResults = results.filter(([id])=>!fullMatches.some(([fid])=>fid === id)); - const additionalResults = Math.ceil(remainingResults.length * threshold); - return [ - ...fullMatches, - ...remainingResults.slice(0, additionalResults) - ]; - } - // If no full matches, return all results - return results; -} -function searchByWhereClause(index, tokenizer, filters, language) { - // Handle logical operators - if ('and' in filters && filters.and && Array.isArray(filters.and)) { - const andFilters = filters.and; - if (andFilters.length === 0) { - return new Set(); - } - const results = andFilters.map((filter)=>searchByWhereClause(index, tokenizer, filter, language)); - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["setIntersection"])(...results); - } - if ('or' in filters && filters.or && Array.isArray(filters.or)) { - const orFilters = filters.or; - if (orFilters.length === 0) { - return new Set(); - } - const results = orFilters.map((filter)=>searchByWhereClause(index, tokenizer, filter, language)); - // Use reduce to union all sets - return results.reduce((acc, set)=>(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["setUnion"])(acc, set), new Set()); - } - if ('not' in filters && filters.not) { - const notFilter = filters.not; - // Get all document IDs from the internal document store - const allDocs = new Set(); - // Get all document IDs from the internal document store - const docsStore = index.sharedInternalDocumentStore; - for(let i = 1; i <= docsStore.internalIdToId.length; i++){ - allDocs.add(i); - } - const notResult = searchByWhereClause(index, tokenizer, notFilter, language); - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["setDifference"])(allDocs, notResult); - } - // Handle regular property filters (existing logic) - const filterKeys = Object.keys(filters); - const filtersMap = filterKeys.reduce((acc, key)=>({ - [key]: new Set(), - ...acc - }), {}); - for (const param of filterKeys){ - const operation = filters[param]; - if (typeof index.indexes[param] === 'undefined') { - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('UNKNOWN_FILTER_PROPERTY', param); - } - const { node, type, isArray } = index.indexes[param]; - if (type === 'Bool') { - const idx = node; - const filteredIDs = operation ? idx.true : idx.false; - filtersMap[param] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["setUnion"])(filtersMap[param], filteredIDs); - continue; - } - if (type === 'BKD') { - let reqOperation; - if ('radius' in operation) { - reqOperation = 'radius'; - } else if ('polygon' in operation) { - reqOperation = 'polygon'; - } else { - throw new Error(`Invalid operation ${operation}`); - } - if (reqOperation === 'radius') { - const { value, coordinates, unit = 'm', inside = true, highPrecision = false } = operation[reqOperation]; - const distanceInMeters = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["convertDistanceToMeters"])(value, unit); - const ids = node.searchByRadius(coordinates, distanceInMeters, inside, undefined, highPrecision); - filtersMap[param] = addGeoResult(filtersMap[param], ids); - } else { - const { coordinates, inside = true, highPrecision = false } = operation[reqOperation]; - const ids = node.searchByPolygon(coordinates, inside, undefined, highPrecision); - filtersMap[param] = addGeoResult(filtersMap[param], ids); - } - continue; - } - if (type === 'Radix' && (typeof operation === 'string' || Array.isArray(operation))) { - for (const raw of [ - operation - ].flat()){ - const term = tokenizer.tokenize(raw, language, param); - for (const t of term){ - const filteredIDsResults = node.find({ - term: t, - exact: true - }); - filtersMap[param] = addFindResult(filtersMap[param], filteredIDsResults); - } - } - continue; - } - const operationKeys = Object.keys(operation); - if (operationKeys.length > 1) { - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('INVALID_FILTER_OPERATION', operationKeys.length); - } - if (type === 'Flat') { - const results = new Set(isArray ? node.filterArr(operation) : node.filter(operation)); - filtersMap[param] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["setUnion"])(filtersMap[param], results); - continue; - } - if (type === 'AVL') { - const operationOpt = operationKeys[0]; - const operationValue = operation[operationOpt]; - let filteredIDs; - switch(operationOpt){ - case 'gt': - { - filteredIDs = node.greaterThan(operationValue, false); - break; - } - case 'gte': - { - filteredIDs = node.greaterThan(operationValue, true); - break; - } - case 'lt': - { - filteredIDs = node.lessThan(operationValue, false); - break; - } - case 'lte': - { - filteredIDs = node.lessThan(operationValue, true); - break; - } - case 'eq': - { - const ret = node.find(operationValue); - filteredIDs = ret ?? new Set(); - break; - } - case 'between': - { - const [min, max] = operationValue; - filteredIDs = node.rangeSearch(min, max); - break; - } - default: - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('INVALID_FILTER_OPERATION', operationOpt); - } - filtersMap[param] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["setUnion"])(filtersMap[param], filteredIDs); - } - } - // AND operation: calculate the intersection between all the IDs in filterMap - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["setIntersection"])(...Object.values(filtersMap)); -} -function getSearchableProperties(index) { - return index.searchableProperties; -} -function getSearchablePropertiesWithTypes(index) { - return index.searchablePropertiesWithTypes; -} -function load(sharedInternalDocumentStore, raw) { - const { indexes: rawIndexes, vectorIndexes: rawVectorIndexes, searchableProperties, searchablePropertiesWithTypes, frequencies, tokenOccurrences, avgFieldLength, fieldLengths } = raw; - const indexes = {}; - const vectorIndexes = {}; - for (const prop of Object.keys(rawIndexes)){ - const { node, type, isArray } = rawIndexes[prop]; - switch(type){ - case 'Radix': - indexes[prop] = { - type: 'Radix', - node: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$trees$2f$radix$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["RadixTree"].fromJSON(node), - isArray - }; - break; - case 'Flat': - indexes[prop] = { - type: 'Flat', - node: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$trees$2f$flat$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["FlatTree"].fromJSON(node), - isArray - }; - break; - case 'AVL': - indexes[prop] = { - type: 'AVL', - node: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$trees$2f$avl$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["AVLTree"].fromJSON(node), - isArray - }; - break; - case 'BKD': - indexes[prop] = { - type: 'BKD', - node: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$trees$2f$bkd$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["BKDTree"].fromJSON(node), - isArray - }; - break; - case 'Bool': - indexes[prop] = { - type: 'Bool', - node: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$trees$2f$bool$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["BoolNode"].fromJSON(node), - isArray - }; - break; - default: - indexes[prop] = rawIndexes[prop]; - } - } - for (const idx of Object.keys(rawVectorIndexes)){ - vectorIndexes[idx] = { - type: 'Vector', - isArray: false, - node: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$trees$2f$vector$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["VectorIndex"].fromJSON(rawVectorIndexes[idx]) - }; - } - return { - sharedInternalDocumentStore, - indexes, - vectorIndexes, - searchableProperties, - searchablePropertiesWithTypes, - frequencies, - tokenOccurrences, - avgFieldLength, - fieldLengths - }; -} -function save(index) { - const { indexes, vectorIndexes, searchableProperties, searchablePropertiesWithTypes, frequencies, tokenOccurrences, avgFieldLength, fieldLengths } = index; - const dumpVectorIndexes = {}; - for (const idx of Object.keys(vectorIndexes)){ - dumpVectorIndexes[idx] = vectorIndexes[idx].node.toJSON(); - } - // eslint-disable-next-line @typescript-eslint/no-explicit-any - const savedIndexes = {}; - for (const name of Object.keys(indexes)){ - const { type, node, isArray } = indexes[name]; - if (type === 'Flat' || type === 'Radix' || type === 'AVL' || type === 'BKD' || type === 'Bool') { - savedIndexes[name] = { - type, - node: node.toJSON(), - isArray - }; - } else { - savedIndexes[name] = indexes[name]; - savedIndexes[name].node = savedIndexes[name].node.toJSON(); - } - } - return { - indexes: savedIndexes, - vectorIndexes: dumpVectorIndexes, - searchableProperties, - searchablePropertiesWithTypes, - frequencies, - tokenOccurrences, - avgFieldLength, - fieldLengths - }; -} -function createIndex() { - return { - create, - insert, - remove, - insertDocumentScoreParameters, - insertTokenScoreParameters, - removeDocumentScoreParameters, - removeTokenScoreParameters, - calculateResultScores, - search, - searchByWhereClause, - getSearchableProperties, - getSearchablePropertiesWithTypes, - load, - save - }; -} -function addGeoResult(set, ids) { - if (!set) { - set = new Set(); - } - const idsLength = ids.length; - for(let i = 0; i < idsLength; i++){ - const entry = ids[i].docIDs; - const idsLength = entry.length; - for(let j = 0; j < idsLength; j++){ - set.add(entry[j]); - } - } - return set; -} -function createGeoTokenScores(ids, centerPoint, highPrecision = false) { - const distanceFn = highPrecision ? __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$trees$2f$bkd$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["BKDTree"].vincentyDistance : __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$trees$2f$bkd$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["BKDTree"].haversineDistance; - const results = []; - // Calculate distances for all results to find the maximum - const distances = []; - for (const { point } of ids){ - distances.push(distanceFn(centerPoint, point)); - } - const maxDistance = Math.max(...distances); - // Create results with inverse distance scores (higher score = closer) - let index = 0; - for (const { docIDs } of ids){ - const distance = distances[index]; - // Use inverse score: closer points get higher scores - // Add 1 to avoid division by zero for points at exact center - const score = maxDistance - distance + 1; - for (const docID of docIDs){ - results.push([ - docID, - score - ]); - } - index++; - } - // Sort by score (higher first - closer points) - results.sort((a, b)=>b[1] - a[1]); - return results; -} -function isGeosearchOnlyQuery(filters, index) { - const filterKeys = Object.keys(filters); - if (filterKeys.length !== 1) { - return { - isGeoOnly: false - }; - } - const param = filterKeys[0]; - const operation = filters[param]; - if (typeof index.indexes[param] === 'undefined') { - return { - isGeoOnly: false - }; - } - const { type } = index.indexes[param]; - if (type === 'BKD' && operation && ('radius' in operation || 'polygon' in operation)) { - return { - isGeoOnly: true, - geoProperty: param, - geoOperation: operation - }; - } - return { - isGeoOnly: false - }; -} -function searchByGeoWhereClause(index, filters) { - const indexTyped = index; - const geoInfo = isGeosearchOnlyQuery(filters, indexTyped); - if (!geoInfo.isGeoOnly || !geoInfo.geoProperty || !geoInfo.geoOperation) { - return null; - } - const { node } = indexTyped.indexes[geoInfo.geoProperty]; - const operation = geoInfo.geoOperation; - // Cast node to BKDTree since we already verified it's type 'BKD' - const bkdNode = node; - let results; - if ('radius' in operation) { - const { value, coordinates, unit = 'm', inside = true, highPrecision = false } = operation.radius; - const centerPoint = coordinates; - const distanceInMeters = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["convertDistanceToMeters"])(value, unit); - results = bkdNode.searchByRadius(centerPoint, distanceInMeters, inside, 'asc', highPrecision); - return createGeoTokenScores(results, centerPoint, highPrecision); - } else if ('polygon' in operation) { - const { coordinates, inside = true, highPrecision = false } = operation.polygon; - results = bkdNode.searchByPolygon(coordinates, inside, 'asc', highPrecision); - const centroid = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$trees$2f$bkd$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["BKDTree"].calculatePolygonCentroid(coordinates); - return createGeoTokenScores(results, centroid, highPrecision); - } - return null; -} -function addFindResult(set, filteredIDsResults) { - if (!set) { - set = new Set(); - } - const keys = Object.keys(filteredIDsResults); - const keysLength = keys.length; - for(let i = 0; i < keysLength; i++){ - const ids = filteredIDsResults[keys[i]]; - const idsLength = ids.length; - for(let j = 0; j < idsLength; j++){ - set.add(ids[j]); - } - } - return set; -} //# sourceMappingURL=index.js.map -}), -"[project]/node_modules/@orama/orama/dist/browser/components/sorter.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "createSorter", - ()=>createSorter, - "load", - ()=>load, - "save", - ()=>save -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/errors.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$defaults$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$locals$3e$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/defaults.js [app-client] (ecmascript) "); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$internal$2d$document$2d$id$2d$store$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/internal-document-id-store.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/utils.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$tokenizer$2f$languages$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/tokenizer/languages.js [app-client] (ecmascript)"); -; -; -; -; -; -function innerCreate(orama, sharedInternalDocumentStore, schema, sortableDeniedProperties, prefix) { - const sorter = { - language: orama.tokenizer.language, - sharedInternalDocumentStore, - enabled: true, - isSorted: true, - sortableProperties: [], - sortablePropertiesWithTypes: {}, - sorts: {} - }; - for (const [prop, type] of Object.entries(schema)){ - const path = `${prefix}${prefix ? '.' : ''}${prop}`; - if (sortableDeniedProperties.includes(path)) { - continue; - } - if (typeof type === 'object' && !Array.isArray(type)) { - // Nested - const ret = innerCreate(orama, sharedInternalDocumentStore, type, sortableDeniedProperties, path); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["safeArrayPush"])(sorter.sortableProperties, ret.sortableProperties); - sorter.sorts = { - ...sorter.sorts, - ...ret.sorts - }; - sorter.sortablePropertiesWithTypes = { - ...sorter.sortablePropertiesWithTypes, - ...ret.sortablePropertiesWithTypes - }; - continue; - } - if (!(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$defaults$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$locals$3e$__["isVectorType"])(type)) { - switch(type){ - case 'boolean': - case 'number': - case 'string': - sorter.sortableProperties.push(path); - sorter.sortablePropertiesWithTypes[path] = type; - sorter.sorts[path] = { - docs: new Map(), - orderedDocsToRemove: new Map(), - orderedDocs: [], - type: type - }; - break; - case 'geopoint': - case 'enum': - continue; - case 'enum[]': - case 'boolean[]': - case 'number[]': - case 'string[]': - continue; - default: - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('INVALID_SORT_SCHEMA_TYPE', Array.isArray(type) ? 'array' : type, path); - } - } - } - return sorter; -} -function create(orama, sharedInternalDocumentStore, schema, config) { - const isSortEnabled = config?.enabled !== false; - if (!isSortEnabled) { - return { - disabled: true - }; - } - return innerCreate(orama, sharedInternalDocumentStore, schema, (config || {}).unsortableProperties || [], ''); -} -function insert(sorter, prop, id, value) { - if (!sorter.enabled) { - return; - } - sorter.isSorted = false; - const internalId = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$internal$2d$document$2d$id$2d$store$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getInternalDocumentId"])(sorter.sharedInternalDocumentStore, id); - const s = sorter.sorts[prop]; - // This happen during a document updating - // Because we re-use the same internalId - // We need to clean-up the data structure before re-inserting - // to avoid duplicates in the orderedDocs array - // See: https://github.com/oramasearch/orama/issues/629 - if (s.orderedDocsToRemove.has(internalId)) { - ensureOrderedDocsAreDeletedByProperty(sorter, prop); - } - s.docs.set(internalId, s.orderedDocs.length); - s.orderedDocs.push([ - internalId, - value - ]); -} -function ensureIsSorted(sorter) { - if (sorter.isSorted || !sorter.enabled) { - return; - } - const properties = Object.keys(sorter.sorts); - for (const prop of properties){ - ensurePropertyIsSorted(sorter, prop); - } - sorter.isSorted = true; -} -function stringSort(language, value, d) { - return value[1].localeCompare(d[1], (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$tokenizer$2f$languages$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getLocale"])(language)); -} -function numberSort(value, d) { - return value[1] - d[1]; -} -function booleanSort(value, d) { - return d[1] ? -1 : 1; -} -function ensurePropertyIsSorted(sorter, prop) { - const s = sorter.sorts[prop]; - let predicate; - switch(s.type){ - case 'string': - predicate = stringSort.bind(null, sorter.language); - break; - case 'number': - predicate = numberSort.bind(null); - break; - case 'boolean': - predicate = booleanSort.bind(null); - break; - } - s.orderedDocs.sort(predicate); - // Increment position for the greather documents - const orderedDocsLength = s.orderedDocs.length; - for(let i = 0; i < orderedDocsLength; i++){ - const docId = s.orderedDocs[i][0]; - s.docs.set(docId, i); - } -} -function ensureOrderedDocsAreDeleted(sorter) { - const properties = Object.keys(sorter.sorts); - for (const prop of properties){ - ensureOrderedDocsAreDeletedByProperty(sorter, prop); - } -} -function ensureOrderedDocsAreDeletedByProperty(sorter, prop) { - const s = sorter.sorts[prop]; - if (!s.orderedDocsToRemove.size) return; - s.orderedDocs = s.orderedDocs.filter((doc)=>!s.orderedDocsToRemove.has(doc[0])); - s.orderedDocsToRemove.clear(); -} -function remove(sorter, prop, id) { - if (!sorter.enabled) { - return; - } - const s = sorter.sorts[prop]; - const internalId = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$internal$2d$document$2d$id$2d$store$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getInternalDocumentId"])(sorter.sharedInternalDocumentStore, id); - const index = s.docs.get(internalId); - if (!index) return; - s.docs.delete(internalId); - s.orderedDocsToRemove.set(internalId, true); -} -function sortBy(sorter, docIds, by) { - if (!sorter.enabled) { - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('SORT_DISABLED'); - } - const property = by.property; - const isDesc = by.order === 'DESC'; - const s = sorter.sorts[property]; - if (!s) { - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('UNABLE_TO_SORT_ON_UNKNOWN_FIELD', property, sorter.sortableProperties.join(', ')); - } - ensureOrderedDocsAreDeletedByProperty(sorter, property); - ensureIsSorted(sorter); - docIds.sort((a, b)=>{ - // This sort algorithm works leveraging on - // that s.docs is a map of docId -> position - // If a document is not indexed, it will be not present in the map - const indexOfA = s.docs.get((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$internal$2d$document$2d$id$2d$store$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getInternalDocumentId"])(sorter.sharedInternalDocumentStore, a[0])); - const indexOfB = s.docs.get((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$internal$2d$document$2d$id$2d$store$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getInternalDocumentId"])(sorter.sharedInternalDocumentStore, b[0])); - const isAIndexed = typeof indexOfA !== 'undefined'; - const isBIndexed = typeof indexOfB !== 'undefined'; - if (!isAIndexed && !isBIndexed) { - return 0; - } - // unindexed documents are always at the end - if (!isAIndexed) { - return 1; - } - if (!isBIndexed) { - return -1; - } - return isDesc ? indexOfB - indexOfA : indexOfA - indexOfB; - }); - return docIds; -} -function getSortableProperties(sorter) { - if (!sorter.enabled) { - return []; - } - return sorter.sortableProperties; -} -function getSortablePropertiesWithTypes(sorter) { - if (!sorter.enabled) { - return {}; - } - return sorter.sortablePropertiesWithTypes; -} -function load(sharedInternalDocumentStore, raw) { - const rawDocument = raw; - if (!rawDocument.enabled) { - return { - enabled: false - }; - } - const sorts = Object.keys(rawDocument.sorts).reduce((acc, prop)=>{ - const { docs, orderedDocs, type } = rawDocument.sorts[prop]; - acc[prop] = { - docs: new Map(Object.entries(docs).map(([k, v])=>[ - +k, - v - ])), - orderedDocsToRemove: new Map(), - orderedDocs, - type - }; - return acc; - }, {}); - return { - sharedInternalDocumentStore, - language: rawDocument.language, - sortableProperties: rawDocument.sortableProperties, - sortablePropertiesWithTypes: rawDocument.sortablePropertiesWithTypes, - sorts, - enabled: true, - isSorted: rawDocument.isSorted - }; -} -function save(sorter) { - if (!sorter.enabled) { - return { - enabled: false - }; - } - ensureOrderedDocsAreDeleted(sorter); - ensureIsSorted(sorter); - const sorts = Object.keys(sorter.sorts).reduce((acc, prop)=>{ - const { docs, orderedDocs, type } = sorter.sorts[prop]; - acc[prop] = { - docs: Object.fromEntries(docs.entries()), - orderedDocs, - type - }; - return acc; - }, {}); - return { - language: sorter.language, - sortableProperties: sorter.sortableProperties, - sortablePropertiesWithTypes: sorter.sortablePropertiesWithTypes, - sorts, - enabled: sorter.enabled, - isSorted: sorter.isSorted - }; -} -function createSorter() { - return { - create, - insert, - remove, - save, - load, - sortBy, - getSortableProperties, - getSortablePropertiesWithTypes - }; -} //# sourceMappingURL=sorter.js.map -}), -"[project]/node_modules/@orama/orama/dist/browser/components/tokenizer/diacritics.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "replaceDiacritics", - ()=>replaceDiacritics -]); -const DIACRITICS_CHARCODE_START = 192; -const DIACRITICS_CHARCODE_END = 383; -const CHARCODE_REPLACE_MAPPING = [ - 65, - 65, - 65, - 65, - 65, - 65, - 65, - 67, - 69, - 69, - 69, - 69, - 73, - 73, - 73, - 73, - 69, - 78, - 79, - 79, - 79, - 79, - 79, - null, - 79, - 85, - 85, - 85, - 85, - 89, - 80, - 115, - 97, - 97, - 97, - 97, - 97, - 97, - 97, - 99, - 101, - 101, - 101, - 101, - 105, - 105, - 105, - 105, - 101, - 110, - 111, - 111, - 111, - 111, - 111, - null, - 111, - 117, - 117, - 117, - 117, - 121, - 112, - 121, - 65, - 97, - 65, - 97, - 65, - 97, - 67, - 99, - 67, - 99, - 67, - 99, - 67, - 99, - 68, - 100, - 68, - 100, - 69, - 101, - 69, - 101, - 69, - 101, - 69, - 101, - 69, - 101, - 71, - 103, - 71, - 103, - 71, - 103, - 71, - 103, - 72, - 104, - 72, - 104, - 73, - 105, - 73, - 105, - 73, - 105, - 73, - 105, - 73, - 105, - 73, - 105, - 74, - 106, - 75, - 107, - 107, - 76, - 108, - 76, - 108, - 76, - 108, - 76, - 108, - 76, - 108, - 78, - 110, - 78, - 110, - 78, - 110, - 110, - 78, - 110, - 79, - 111, - 79, - 111, - 79, - 111, - 79, - 111, - 82, - 114, - 82, - 114, - 82, - 114, - 83, - 115, - 83, - 115, - 83, - 115, - 83, - 115, - 84, - 116, - 84, - 116, - 84, - 116, - 85, - 117, - 85, - 117, - 85, - 117, - 85, - 117, - 85, - 117, - 85, - 117, - 87, - 119, - 89, - 121, - 89, - 90, - 122, - 90, - 122, - 90, - 122, - 115 -]; -function replaceChar(charCode) { - if (charCode < DIACRITICS_CHARCODE_START || charCode > DIACRITICS_CHARCODE_END) return charCode; - /* c8 ignore next */ return CHARCODE_REPLACE_MAPPING[charCode - DIACRITICS_CHARCODE_START] || charCode; -} -function replaceDiacritics(str) { - const stringCharCode = []; - for(let idx = 0; idx < str.length; idx++){ - stringCharCode[idx] = replaceChar(str.charCodeAt(idx)); - } - return String.fromCharCode(...stringCharCode); -} //# sourceMappingURL=diacritics.js.map -}), -"[project]/node_modules/@orama/orama/dist/browser/components/tokenizer/english-stemmer.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "stemmer", - ()=>stemmer -]); -// eslint-disable-next-line @typescript-eslint/ban-ts-comment -// @ts-nocheck -const step2List = { - ational: 'ate', - tional: 'tion', - enci: 'ence', - anci: 'ance', - izer: 'ize', - bli: 'ble', - alli: 'al', - entli: 'ent', - eli: 'e', - ousli: 'ous', - ization: 'ize', - ation: 'ate', - ator: 'ate', - alism: 'al', - iveness: 'ive', - fulness: 'ful', - ousness: 'ous', - aliti: 'al', - iviti: 'ive', - biliti: 'ble', - logi: 'log' -}; -const step3List = { - icate: 'ic', - ative: '', - alize: 'al', - iciti: 'ic', - ical: 'ic', - ful: '', - ness: '' -}; -// Consonant -const c = '[^aeiou]'; -// Vowel -const v = '[aeiouy]'; -// Consonant sequence -const C = c + '[^aeiouy]*'; -// Vowel sequence -const V = v + '[aeiou]*'; -// [C]VC... is m>0 -const mgr0 = '^(' + C + ')?' + V + C; -// [C]VC[V] is m=1 -const meq1 = '^(' + C + ')?' + V + C + '(' + V + ')?$'; -// [C]VCVC... is m>1 -const mgr1 = '^(' + C + ')?' + V + C + V + C; -// vowel in stem -const s_v = '^(' + C + ')?' + v; -function stemmer(w) { - let stem; - let suffix; - let re; - let re2; - let re3; - let re4; - if (w.length < 3) { - return w; - } - const firstch = w.substring(0, 1); - if (firstch == 'y') { - w = firstch.toUpperCase() + w.substring(1); - } - re = /^(.+?)(ss|i)es$/; - re2 = /^(.+?)([^s])s$/; - if (re.test(w)) { - w = w.replace(re, '$1$2'); - } else if (re2.test(w)) { - w = w.replace(re2, '$1$2'); - } - re = /^(.+?)eed$/; - re2 = /^(.+?)(ed|ing)$/; - if (re.test(w)) { - const fp = re.exec(w); - re = new RegExp(mgr0); - if (re.test(fp[1])) { - re = /.$/; - w = w.replace(re, ''); - } - } else if (re2.test(w)) { - const fp = re2.exec(w); - stem = fp[1]; - re2 = new RegExp(s_v); - if (re2.test(stem)) { - w = stem; - re2 = /(at|bl|iz)$/; - re3 = new RegExp('([^aeiouylsz])\\1$'); - re4 = new RegExp('^' + C + v + '[^aeiouwxy]$'); - if (re2.test(w)) { - w = w + 'e'; - } else if (re3.test(w)) { - re = /.$/; - w = w.replace(re, ''); - } else if (re4.test(w)) { - w = w + 'e'; - } - } - } - re = /^(.+?)y$/; - if (re.test(w)) { - const fp = re.exec(w); - stem = fp?.[1]; - re = new RegExp(s_v); - if (stem && re.test(stem)) { - w = stem + 'i'; - } - } - re = /^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/; - if (re.test(w)) { - const fp = re.exec(w); - stem = fp?.[1]; - suffix = fp?.[2]; - re = new RegExp(mgr0); - if (stem && re.test(stem)) { - // eslint-disable-next-line @typescript-eslint/ban-ts-comment - // @ts-ignore - w = stem + step2List[suffix]; - } - } - re = /^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/; - if (re.test(w)) { - const fp = re.exec(w); - stem = fp?.[1]; - suffix = fp?.[2]; - re = new RegExp(mgr0); - // eslint-disable-next-line @typescript-eslint/ban-ts-comment - // @ts-ignore - if (stem && re.test(stem)) { - // eslint-disable-next-line @typescript-eslint/ban-ts-comment - // @ts-ignore - w = stem + step3List[suffix]; - } - } - re = /^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/; - re2 = /^(.+?)(s|t)(ion)$/; - if (re.test(w)) { - const fp = re.exec(w); - stem = fp?.[1]; - re = new RegExp(mgr1); - if (stem && re.test(stem)) { - w = stem; - } - } else if (re2.test(w)) { - const fp = re2.exec(w); - stem = fp?.[1] ?? '' + fp?.[2] ?? ''; - re2 = new RegExp(mgr1); - if (re2.test(stem)) { - w = stem; - } - } - re = /^(.+?)e$/; - if (re.test(w)) { - const fp = re.exec(w); - stem = fp?.[1]; - re = new RegExp(mgr1); - re2 = new RegExp(meq1); - re3 = new RegExp('^' + C + v + '[^aeiouwxy]$'); - if (stem && (re.test(stem) || re2.test(stem) && !re3.test(stem))) { - w = stem; - } - } - re = /ll$/; - re2 = new RegExp(mgr1); - if (re.test(w) && re2.test(w)) { - re = /.$/; - w = w.replace(re, ''); - } - if (firstch == 'y') { - w = firstch.toLowerCase() + w.substring(1); - } - return w; -} //# sourceMappingURL=english-stemmer.js.map -}), -"[project]/node_modules/@orama/orama/dist/browser/components/tokenizer/index.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "createTokenizer", - ()=>createTokenizer, - "normalizeToken", - ()=>normalizeToken -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/errors.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$tokenizer$2f$diacritics$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/tokenizer/diacritics.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$tokenizer$2f$languages$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/tokenizer/languages.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$tokenizer$2f$english$2d$stemmer$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/tokenizer/english-stemmer.js [app-client] (ecmascript)"); -; -; -; -; -function normalizeToken(prop, token, withCache = true) { - const key = `${this.language}:${prop}:${token}`; - if (withCache && this.normalizationCache.has(key)) { - return this.normalizationCache.get(key); - } - // Remove stopwords if enabled - if (this.stopWords?.includes(token)) { - if (withCache) { - this.normalizationCache.set(key, ''); - } - return ''; - } - // Apply stemming if enabled - if (this.stemmer && !this.stemmerSkipProperties.has(prop)) { - token = this.stemmer(token); - } - token = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$tokenizer$2f$diacritics$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["replaceDiacritics"])(token); - if (withCache) { - this.normalizationCache.set(key, token); - } - return token; -} -/* c8 ignore next 10 */ function trim(text) { - while(text[text.length - 1] === ''){ - text.pop(); - } - while(text[0] === ''){ - text.shift(); - } - return text; -} -function tokenize(input, language, prop, withCache = true) { - if (language && language !== this.language) { - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('LANGUAGE_NOT_SUPPORTED', language); - } - /* c8 ignore next 3 */ if (typeof input !== 'string') { - return [ - input - ]; - } - const normalizeToken = this.normalizeToken.bind(this, prop ?? ''); - let tokens; - if (prop && this.tokenizeSkipProperties.has(prop)) { - tokens = [ - normalizeToken(input, withCache) - ]; - } else { - const splitRule = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$tokenizer$2f$languages$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["SPLITTERS"][this.language]; - tokens = input.toLowerCase().split(splitRule).map((t)=>normalizeToken(t, withCache)).filter(Boolean); - } - const trimTokens = trim(tokens); - if (!this.allowDuplicates) { - return Array.from(new Set(trimTokens)); - } - return trimTokens; -} -function createTokenizer(config = {}) { - if (!config.language) { - config.language = 'english'; - } else if (!__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$tokenizer$2f$languages$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["SUPPORTED_LANGUAGES"].includes(config.language)) { - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('LANGUAGE_NOT_SUPPORTED', config.language); - } - // Handle stemming - It is disabled by default - let stemmer; - if (config.stemming || config.stemmer && !('stemming' in config)) { - if (config.stemmer) { - if (typeof config.stemmer !== 'function') { - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('INVALID_STEMMER_FUNCTION_TYPE'); - } - stemmer = config.stemmer; - } else { - if (config.language === 'english') { - stemmer = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$tokenizer$2f$english$2d$stemmer$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["stemmer"]; - } else { - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('MISSING_STEMMER', config.language); - } - } - } - // Handle stopwords - let stopWords; - if (config.stopWords !== false) { - stopWords = []; - if (Array.isArray(config.stopWords)) { - stopWords = config.stopWords; - } else if (typeof config.stopWords === 'function') { - stopWords = config.stopWords(stopWords); - } else if (config.stopWords) { - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('CUSTOM_STOP_WORDS_MUST_BE_FUNCTION_OR_ARRAY'); - } - // Make sure stopWords is just an array of strings - if (!Array.isArray(stopWords)) { - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('CUSTOM_STOP_WORDS_MUST_BE_FUNCTION_OR_ARRAY'); - } - for (const s of stopWords){ - if (typeof s !== 'string') { - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('CUSTOM_STOP_WORDS_MUST_BE_FUNCTION_OR_ARRAY'); - } - } - } - // Create the tokenizer - const tokenizer = { - tokenize, - language: config.language, - stemmer, - stemmerSkipProperties: new Set(config.stemmerSkipProperties ? [ - config.stemmerSkipProperties - ].flat() : []), - tokenizeSkipProperties: new Set(config.tokenizeSkipProperties ? [ - config.tokenizeSkipProperties - ].flat() : []), - stopWords, - allowDuplicates: Boolean(config.allowDuplicates), - normalizeToken, - normalizationCache: new Map() - }; - tokenizer.tokenize = tokenize.bind(tokenizer); - tokenizer.normalizeToken = normalizeToken; - return tokenizer; -} //# sourceMappingURL=index.js.map -}), -"[project]/node_modules/@orama/orama/dist/browser/components/pinning.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "createPinning", - ()=>createPinning, - "getMatchingRules", - ()=>getMatchingRules, - "load", - ()=>load, - "save", - ()=>save -]); -function create(sharedInternalDocumentStore) { - return { - sharedInternalDocumentStore, - rules: new Map() - }; -} -function addRule(store, rule) { - if (store.rules.has(rule.id)) { - throw new Error(`PINNING_RULE_ALREADY_EXISTS: A pinning rule with id "${rule.id}" already exists. Use updateRule to modify it.`); - } - store.rules.set(rule.id, rule); -} -function updateRule(store, rule) { - if (!store.rules.has(rule.id)) { - throw new Error(`PINNING_RULE_NOT_FOUND: Cannot update pinning rule with id "${rule.id}" because it does not exist. Use addRule to create it.`); - } - store.rules.set(rule.id, rule); -} -function removeRule(store, ruleId) { - return store.rules.delete(ruleId); -} -function getRule(store, ruleId) { - return store.rules.get(ruleId); -} -function getAllRules(store) { - return Array.from(store.rules.values()); -} -function matchesCondition(term, condition) { - const normalizedTerm = term.toLowerCase().trim(); - const normalizedPattern = condition.pattern.toLowerCase().trim(); - switch(condition.anchoring){ - case 'is': - return normalizedTerm === normalizedPattern; - case 'starts_with': - return normalizedTerm.startsWith(normalizedPattern); - case 'contains': - return normalizedTerm.includes(normalizedPattern); - default: - return false; - } -} -function matchesRule(term, rule) { - if (!term) { - return false; - } - // All conditions must match (AND logic) - return rule.conditions.every((condition)=>matchesCondition(term, condition)); -} -function getMatchingRules(store, term) { - if (!term) { - return []; - } - const matchingRules = []; - for (const rule of store.rules.values()){ - if (matchesRule(term, rule)) { - matchingRules.push(rule); - } - } - return matchingRules; -} -function load(sharedInternalDocumentStore, raw) { - const rawStore = raw; - return { - sharedInternalDocumentStore, - rules: new Map(rawStore?.rules ?? []) - }; -} -function save(store) { - return { - rules: Array.from(store.rules.entries()) - }; -} -function createPinning() { - return { - create, - addRule, - updateRule, - removeRule, - getRule, - getAllRules, - getMatchingRules, - load, - save - }; -} //# sourceMappingURL=pinning.js.map -}), -"[project]/node_modules/@orama/orama/dist/browser/methods/create.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "create", - ()=>create -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$defaults$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$locals$3e$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/defaults.js [app-client] (ecmascript) "); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/utils.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$documents$2d$store$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/documents-store.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$plugins$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/plugins.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$hooks$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/hooks.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$internal$2d$document$2d$id$2d$store$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/internal-document-id-store.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$sorter$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/sorter.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$tokenizer$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/tokenizer/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$pinning$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/pinning.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/errors.js [app-client] (ecmascript)"); -; -; -; -; -; -; -; -; -; -; -; -function validateComponents(components) { - const defaultComponents = { - formatElapsedTime: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$defaults$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$locals$3e$__["formatElapsedTime"], - getDocumentIndexId: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$defaults$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$locals$3e$__["getDocumentIndexId"], - getDocumentProperties: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getDocumentProperties"], - validateSchema: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$defaults$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$locals$3e$__["validateSchema"] - }; - for (const rawKey of __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$hooks$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["FUNCTION_COMPONENTS"]){ - const key = rawKey; - if (components[key]) { - if (typeof components[key] !== 'function') { - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('COMPONENT_MUST_BE_FUNCTION', key); - } - } else { - components[key] = defaultComponents[key]; - } - } - for (const rawKey of Object.keys(components)){ - if (!__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$hooks$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["OBJECT_COMPONENTS"].includes(rawKey) && !__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$hooks$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["FUNCTION_COMPONENTS"].includes(rawKey)) { - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('UNSUPPORTED_COMPONENT', rawKey); - } - } -} -function create({ schema, sort, language, components, id, plugins }) { - if (!components) { - components = {}; - } - for (const plugin of plugins ?? []){ - if (!('getComponents' in plugin)) { - continue; - } - if (typeof plugin.getComponents !== 'function') { - continue; - } - const pluginComponents = plugin.getComponents(schema); - const keys = Object.keys(pluginComponents); - for (const key of keys){ - if (components[key]) { - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('PLUGIN_COMPONENT_CONFLICT', key, plugin.name); - } - } - components = { - ...components, - ...pluginComponents - }; - } - if (!id) { - id = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["uniqueId"])(); - } - let tokenizer = components.tokenizer; - let index = components.index; - let documentsStore = components.documentsStore; - let sorter = components.sorter; - let pinning = components.pinning; - if (!tokenizer) { - // Use the default tokenizer - tokenizer = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$tokenizer$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createTokenizer"])({ - language: language ?? 'english' - }); - } else if (!tokenizer.tokenize) { - // If there is no tokenizer function, we assume this is a TokenizerConfig - tokenizer = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$tokenizer$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createTokenizer"])(tokenizer); - } else { - const customTokenizer = tokenizer; - tokenizer = customTokenizer; - } - if (components.tokenizer && language) { - // Accept language only if a tokenizer is not provided - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('NO_LANGUAGE_WITH_CUSTOM_TOKENIZER'); - } - const internalDocumentStore = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$internal$2d$document$2d$id$2d$store$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createInternalDocumentIDStore"])(); - index ||= (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createIndex"])(); - sorter ||= (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$sorter$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createSorter"])(); - documentsStore ||= (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$documents$2d$store$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createDocumentsStore"])(); - pinning ||= (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$pinning$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createPinning"])(); - // Validate all other components - validateComponents(components); - // Assign only recognized components and hooks - const { getDocumentProperties, getDocumentIndexId, validateSchema, formatElapsedTime } = components; - const orama = { - data: {}, - caches: {}, - schema, - tokenizer, - index, - sorter, - documentsStore, - pinning, - internalDocumentIDStore: internalDocumentStore, - getDocumentProperties, - getDocumentIndexId, - validateSchema, - beforeInsert: [], - afterInsert: [], - beforeRemove: [], - afterRemove: [], - beforeUpdate: [], - afterUpdate: [], - beforeUpsert: [], - afterUpsert: [], - beforeSearch: [], - afterSearch: [], - beforeInsertMultiple: [], - afterInsertMultiple: [], - beforeRemoveMultiple: [], - afterRemoveMultiple: [], - beforeUpdateMultiple: [], - afterUpdateMultiple: [], - beforeUpsertMultiple: [], - afterUpsertMultiple: [], - afterCreate: [], - formatElapsedTime, - id, - plugins, - version: getVersion() - }; - orama.data = { - index: orama.index.create(orama, internalDocumentStore, schema), - docs: orama.documentsStore.create(orama, internalDocumentStore), - sorting: orama.sorter.create(orama, internalDocumentStore, schema, sort), - pinning: orama.pinning.create(internalDocumentStore) - }; - for (const hook of __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$plugins$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["AVAILABLE_PLUGIN_HOOKS"]){ - orama[hook] = (orama[hook] ?? []).concat((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$plugins$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getAllPluginsByHook"])(orama, hook)); - } - const afterCreate = orama['afterCreate']; - if (afterCreate) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$hooks$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["runAfterCreate"])(afterCreate, orama); - } - return orama; -} -function getVersion() { - return '{{VERSION}}'; -} //# sourceMappingURL=create.js.map -}), -"[project]/node_modules/@orama/orama/dist/browser/methods/docs.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "count", - ()=>count, - "getByID", - ()=>getByID -]); -function getByID(db, id) { - return db.documentsStore.get(db.data.docs, id); -} -function count(db) { - return db.documentsStore.count(db.data.docs); -} //# sourceMappingURL=docs.js.map -}), -"[project]/node_modules/@orama/orama/dist/browser/components.js [app-client] (ecmascript) ", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$defaults$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$locals$3e$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/defaults.js [app-client] (ecmascript) "); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$documents$2d$store$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/documents-store.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$tokenizer$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/tokenizer/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$sorter$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/sorter.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$internal$2d$document$2d$id$2d$store$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/internal-document-id-store.js [app-client] (ecmascript)"); //# sourceMappingURL=components.js.map -; -; -; -; -; -; -}), -"[project]/node_modules/@orama/orama/dist/browser/components/defaults.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "formatElapsedTime", - ()=>__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$defaults$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$locals$3e$__["formatElapsedTime"], - "getDocumentIndexId", - ()=>__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$defaults$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$locals$3e$__["getDocumentIndexId"], - "getDocumentProperties", - ()=>__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getDocumentProperties"], - "getInnerType", - ()=>__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$defaults$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$locals$3e$__["getInnerType"], - "getVectorSize", - ()=>__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$defaults$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$locals$3e$__["getVectorSize"], - "isArrayType", - ()=>__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$defaults$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$locals$3e$__["isArrayType"], - "isGeoPointType", - ()=>__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$defaults$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$locals$3e$__["isGeoPointType"], - "isVectorType", - ()=>__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$defaults$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$locals$3e$__["isVectorType"], - "validateSchema", - ()=>__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$defaults$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$locals$3e$__["validateSchema"] -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$defaults$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$locals$3e$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/defaults.js [app-client] (ecmascript) "); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/utils.js [app-client] (ecmascript)"); -}), -"[project]/node_modules/@orama/orama/dist/browser/methods/insert.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "innerInsertMultiple", - ()=>innerInsertMultiple, - "insert", - ()=>insert, - "insertMultiple", - ()=>insertMultiple -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$locals$3e$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components.js [app-client] (ecmascript) "); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$defaults$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/defaults.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/utils.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$hooks$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/hooks.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/errors.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$internal$2d$document$2d$id$2d$store$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/internal-document-id-store.js [app-client] (ecmascript)"); -; -; -; -; -; -function insert(orama, doc, language, skipHooks, options) { - const errorProperty = orama.validateSchema(doc, orama.schema); - if (errorProperty) { - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('SCHEMA_VALIDATION_FAILURE', errorProperty); - } - const asyncNeeded = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.beforeInsert) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.afterInsert) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.index.beforeInsert) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.index.insert) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.index.afterInsert); - if (asyncNeeded) { - return innerInsertAsync(orama, doc, language, skipHooks, options); - } - return innerInsertSync(orama, doc, language, skipHooks, options); -} -const ENUM_TYPE = new Set([ - 'enum', - 'enum[]' -]); -const STRING_NUMBER_TYPE = new Set([ - 'string', - 'number' -]); -async function innerInsertAsync(orama, doc, language, skipHooks, options) { - const { index, docs } = orama.data; - const id = orama.getDocumentIndexId(doc); - if (typeof id !== 'string') { - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('DOCUMENT_ID_MUST_BE_STRING', typeof id); - } - const internalId = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$internal$2d$document$2d$id$2d$store$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getInternalDocumentId"])(orama.internalDocumentIDStore, id); - if (!skipHooks) { - await (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$hooks$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["runSingleHook"])(orama.beforeInsert, orama, id, doc); - } - if (!orama.documentsStore.store(docs, id, internalId, doc)) { - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('DOCUMENT_ALREADY_EXISTS', id); - } - const docsCount = orama.documentsStore.count(docs); - const indexableProperties = orama.index.getSearchableProperties(index); - const indexablePropertiesWithTypes = orama.index.getSearchablePropertiesWithTypes(index); - const indexableValues = orama.getDocumentProperties(doc, indexableProperties); - for (const [key, value] of Object.entries(indexableValues)){ - if (typeof value === 'undefined') continue; - const actualType = typeof value; - const expectedType = indexablePropertiesWithTypes[key]; - validateDocumentProperty(actualType, expectedType, key, value); - } - await indexAndSortDocument(orama, id, indexableProperties, indexableValues, docsCount, language, doc, options); - if (!skipHooks) { - await (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$hooks$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["runSingleHook"])(orama.afterInsert, orama, id, doc); - } - return id; -} -function innerInsertSync(orama, doc, language, skipHooks, options) { - const { index, docs } = orama.data; - const id = orama.getDocumentIndexId(doc); - if (typeof id !== 'string') { - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('DOCUMENT_ID_MUST_BE_STRING', typeof id); - } - const internalId = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$internal$2d$document$2d$id$2d$store$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getInternalDocumentId"])(orama.internalDocumentIDStore, id); - if (!skipHooks) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$hooks$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["runSingleHook"])(orama.beforeInsert, orama, id, doc); - } - if (!orama.documentsStore.store(docs, id, internalId, doc)) { - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('DOCUMENT_ALREADY_EXISTS', id); - } - const docsCount = orama.documentsStore.count(docs); - const indexableProperties = orama.index.getSearchableProperties(index); - const indexablePropertiesWithTypes = orama.index.getSearchablePropertiesWithTypes(index); - const indexableValues = orama.getDocumentProperties(doc, indexableProperties); - for (const [key, value] of Object.entries(indexableValues)){ - if (typeof value === 'undefined') continue; - const actualType = typeof value; - const expectedType = indexablePropertiesWithTypes[key]; - validateDocumentProperty(actualType, expectedType, key, value); - } - indexAndSortDocumentSync(orama, id, indexableProperties, indexableValues, docsCount, language, doc, options); - if (!skipHooks) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$hooks$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["runSingleHook"])(orama.afterInsert, orama, id, doc); - } - return id; -} -function validateDocumentProperty(actualType, expectedType, key, value) { - if ((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$defaults$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isGeoPointType"])(expectedType) && typeof value === 'object' && typeof value.lon === 'number' && typeof value.lat === 'number') { - return; - } - if ((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$defaults$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isVectorType"])(expectedType) && Array.isArray(value)) return; - if ((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$defaults$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isArrayType"])(expectedType) && Array.isArray(value)) return; - if (ENUM_TYPE.has(expectedType) && STRING_NUMBER_TYPE.has(actualType)) return; - if (actualType !== expectedType) { - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('INVALID_DOCUMENT_PROPERTY', key, expectedType, actualType); - } -} -async function indexAndSortDocument(orama, id, indexableProperties, indexableValues, docsCount, language, doc, options) { - for (const prop of indexableProperties){ - const value = indexableValues[prop]; - if (typeof value === 'undefined') continue; - const expectedType = orama.index.getSearchablePropertiesWithTypes(orama.data.index)[prop]; - await orama.index.beforeInsert?.(orama.data.index, prop, id, value, expectedType, language, orama.tokenizer, docsCount); - const internalId = orama.internalDocumentIDStore.idToInternalId.get(id); - await orama.index.insert(orama.index, orama.data.index, prop, id, internalId, value, expectedType, language, orama.tokenizer, docsCount, options); - await orama.index.afterInsert?.(orama.data.index, prop, id, value, expectedType, language, orama.tokenizer, docsCount); - } - const sortableProperties = orama.sorter.getSortableProperties(orama.data.sorting); - const sortableValues = orama.getDocumentProperties(doc, sortableProperties); - for (const prop of sortableProperties){ - const value = sortableValues[prop]; - if (typeof value === 'undefined') continue; - const expectedType = orama.sorter.getSortablePropertiesWithTypes(orama.data.sorting)[prop]; - orama.sorter.insert(orama.data.sorting, prop, id, value, expectedType, language); - } -} -function indexAndSortDocumentSync(orama, id, indexableProperties, indexableValues, docsCount, language, doc, options) { - for (const prop of indexableProperties){ - const value = indexableValues[prop]; - if (typeof value === 'undefined') continue; - const expectedType = orama.index.getSearchablePropertiesWithTypes(orama.data.index)[prop]; - const internalDocumentId = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$internal$2d$document$2d$id$2d$store$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getInternalDocumentId"])(orama.internalDocumentIDStore, id); - orama.index.beforeInsert?.(orama.data.index, prop, id, value, expectedType, language, orama.tokenizer, docsCount); - orama.index.insert(orama.index, orama.data.index, prop, id, internalDocumentId, value, expectedType, language, orama.tokenizer, docsCount, options); - orama.index.afterInsert?.(orama.data.index, prop, id, value, expectedType, language, orama.tokenizer, docsCount); - } - const sortableProperties = orama.sorter.getSortableProperties(orama.data.sorting); - const sortableValues = orama.getDocumentProperties(doc, sortableProperties); - for (const prop of sortableProperties){ - const value = sortableValues[prop]; - if (typeof value === 'undefined') continue; - const expectedType = orama.sorter.getSortablePropertiesWithTypes(orama.data.sorting)[prop]; - orama.sorter.insert(orama.data.sorting, prop, id, value, expectedType, language); - } -} -function insertMultiple(orama, docs, batchSize, language, skipHooks, timeout) { - const asyncNeeded = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.afterInsertMultiple) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.beforeInsertMultiple) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.index.beforeInsert) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.index.insert) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.index.afterInsert); - if (asyncNeeded) { - return innerInsertMultipleAsync(orama, docs, batchSize, language, skipHooks, timeout); - } - return innerInsertMultipleSync(orama, docs, batchSize, language, skipHooks, timeout); -} -async function innerInsertMultipleAsync(orama, docs, batchSize = 1000, language, skipHooks, timeout = 0) { - const ids = []; - const processNextBatch = async (startIndex)=>{ - const endIndex = Math.min(startIndex + batchSize, docs.length); - const batch = docs.slice(startIndex, endIndex); - for (const doc of batch){ - const options = { - avlRebalanceThreshold: batch.length - }; - const id = await insert(orama, doc, language, skipHooks, options); - ids.push(id); - } - return endIndex; - }; - const processAllBatches = async ()=>{ - let currentIndex = 0; - while(currentIndex < docs.length){ - const startTime = Date.now(); - currentIndex = await processNextBatch(currentIndex); - if (timeout > 0) { - const elapsedTime = Date.now() - startTime; - const waitTime = timeout - elapsedTime; - if (waitTime > 0) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["sleep"])(waitTime); - } - } - } - }; - await processAllBatches(); - if (!skipHooks) { - await (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$hooks$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["runMultipleHook"])(orama.afterInsertMultiple, orama, docs); - } - return ids; -} -function innerInsertMultipleSync(orama, docs, batchSize = 1000, language, skipHooks, timeout = 0) { - const ids = []; - let i = 0; - function processNextBatch() { - const batch = docs.slice(i * batchSize, (i + 1) * batchSize); - if (batch.length === 0) return false; - for (const doc of batch){ - const options = { - avlRebalanceThreshold: batch.length - }; - const id = insert(orama, doc, language, skipHooks, options); - ids.push(id); - } - i++; - return true; - } - function processAllBatches() { - const startTime = Date.now(); - // eslint-disable-next-line no-constant-condition - while(true){ - const hasMoreBatches = processNextBatch(); - if (!hasMoreBatches) break; - if (timeout > 0) { - const elapsedTime = Date.now() - startTime; - if (elapsedTime >= timeout) { - const remainingTime = timeout - elapsedTime % timeout; - if (remainingTime > 0) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["sleep"])(remainingTime); - } - } - } - } - } - processAllBatches(); - if (!skipHooks) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$hooks$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["runMultipleHook"])(orama.afterInsertMultiple, orama, docs); - } - return ids; -} -function innerInsertMultiple(orama, docs, batchSize, language, skipHooks, timeout) { - const asyncNeeded = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.beforeInsert) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.afterInsert) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.index.beforeInsert) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.index.insert) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.index.afterInsert); - if (asyncNeeded) { - return innerInsertMultipleAsync(orama, docs, batchSize, language, skipHooks, timeout); - } - return innerInsertMultipleSync(orama, docs, batchSize, language, skipHooks, timeout); -} //# sourceMappingURL=insert.js.map -}), -"[project]/node_modules/@orama/orama/dist/browser/methods/pinning.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -/** - * Insert a new pinning rule into the database. - * Pinning rules allow you to promote specific documents to specific positions in search results - * based on conditional matching of the search term. - * - * @example - * ```typescript - * import { create, insert, insertPin } from '@orama/orama' - * - * const db = await create({ - * schema: { - * title: 'string', - * description: 'string' - * } - * }) - * - * await insert(db, { id: '1', title: 'Product A' }) - * await insert(db, { id: '2', title: 'Product B' }) - * - * // When searching for "featured", pin Product B to position 0 - * insertPin(db, { - * id: 'featured-products', - * conditions: [ - * { anchoring: 'contains', pattern: 'featured' } - * ], - * consequence: { - * promote: [ - * { doc_id: '2', position: 0 } - * ] - * } - * }) - * ``` - */ __turbopack_context__.s([ - "deletePin", - ()=>deletePin, - "getAllPins", - ()=>getAllPins, - "getPin", - ()=>getPin, - "insertPin", - ()=>insertPin, - "updatePin", - ()=>updatePin -]); -function insertPin(orama, rule) { - ; - orama.pinning.addRule(orama.data.pinning, rule); -} -function updatePin(orama, rule) { - ; - orama.pinning.updateRule(orama.data.pinning, rule); -} -function deletePin(orama, ruleId) { - return orama.pinning.removeRule(orama.data.pinning, ruleId); -} -function getPin(orama, ruleId) { - return orama.pinning.getRule(orama.data.pinning, ruleId); -} -function getAllPins(orama) { - return orama.pinning.getAllRules(orama.data.pinning); -} //# sourceMappingURL=pinning.js.map -}), -"[project]/node_modules/@orama/orama/dist/browser/methods/remove.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "remove", - ()=>remove, - "removeMultiple", - ()=>removeMultiple -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$hooks$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/hooks.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$internal$2d$document$2d$id$2d$store$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/internal-document-id-store.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/utils.js [app-client] (ecmascript)"); -; -; -; -function remove(orama, id, language, skipHooks) { - const asyncNeeded = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.index.beforeRemove) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.index.remove) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.index.afterRemove); - if (asyncNeeded) { - return removeAsync(orama, id, language, skipHooks); - } - return removeSync(orama, id, language, skipHooks); -} -async function removeAsync(orama, id, language, skipHooks) { - let result = true; - const { index, docs } = orama.data; - const doc = orama.documentsStore.get(docs, id); - if (!doc) { - return false; - } - const internalId = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$internal$2d$document$2d$id$2d$store$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getInternalDocumentId"])(orama.internalDocumentIDStore, id); - const docId = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$internal$2d$document$2d$id$2d$store$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getDocumentIdFromInternalId"])(orama.internalDocumentIDStore, internalId); - const docsCount = orama.documentsStore.count(docs); - if (!skipHooks) { - await (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$hooks$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["runSingleHook"])(orama.beforeRemove, orama, docId); - } - const indexableProperties = orama.index.getSearchableProperties(index); - const indexablePropertiesWithTypes = orama.index.getSearchablePropertiesWithTypes(index); - const values = orama.getDocumentProperties(doc, indexableProperties); - for (const prop of indexableProperties){ - const value = values[prop]; - if (typeof value === 'undefined') { - continue; - } - const schemaType = indexablePropertiesWithTypes[prop]; - await orama.index.beforeRemove?.(orama.data.index, prop, docId, value, schemaType, language, orama.tokenizer, docsCount); - if (!await orama.index.remove(orama.index, orama.data.index, prop, id, internalId, value, schemaType, language, orama.tokenizer, docsCount)) { - result = false; - } - await orama.index.afterRemove?.(orama.data.index, prop, docId, value, schemaType, language, orama.tokenizer, docsCount); - } - const sortableProperties = await orama.sorter.getSortableProperties(orama.data.sorting); - const sortableValues = await orama.getDocumentProperties(doc, sortableProperties); - for (const prop of sortableProperties){ - if (typeof sortableValues[prop] === 'undefined') { - continue; - } - orama.sorter.remove(orama.data.sorting, prop, id); - } - if (!skipHooks) { - await (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$hooks$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["runSingleHook"])(orama.afterRemove, orama, docId); - } - orama.documentsStore.remove(orama.data.docs, id, internalId); - return result; -} -function removeSync(orama, id, language, skipHooks) { - let result = true; - const { index, docs } = orama.data; - const doc = orama.documentsStore.get(docs, id); - if (!doc) { - return false; - } - const internalId = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$internal$2d$document$2d$id$2d$store$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getInternalDocumentId"])(orama.internalDocumentIDStore, id); - const docId = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$internal$2d$document$2d$id$2d$store$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getDocumentIdFromInternalId"])(orama.internalDocumentIDStore, internalId); - const docsCount = orama.documentsStore.count(docs); - if (!skipHooks) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$hooks$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["runSingleHook"])(orama.beforeRemove, orama, docId); - } - const indexableProperties = orama.index.getSearchableProperties(index); - const indexablePropertiesWithTypes = orama.index.getSearchablePropertiesWithTypes(index); - const values = orama.getDocumentProperties(doc, indexableProperties); - for (const prop of indexableProperties){ - const value = values[prop]; - if (typeof value === 'undefined') { - continue; - } - const schemaType = indexablePropertiesWithTypes[prop]; - orama.index.beforeRemove?.(orama.data.index, prop, docId, value, schemaType, language, orama.tokenizer, docsCount); - if (!orama.index.remove(orama.index, orama.data.index, prop, id, internalId, value, schemaType, language, orama.tokenizer, docsCount)) { - result = false; - } - orama.index.afterRemove?.(orama.data.index, prop, docId, value, schemaType, language, orama.tokenizer, docsCount); - } - const sortableProperties = orama.sorter.getSortableProperties(orama.data.sorting); - const sortableValues = orama.getDocumentProperties(doc, sortableProperties); - for (const prop of sortableProperties){ - if (typeof sortableValues[prop] === 'undefined') { - continue; - } - orama.sorter.remove(orama.data.sorting, prop, id); - } - if (!skipHooks) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$hooks$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["runSingleHook"])(orama.afterRemove, orama, docId); - } - orama.documentsStore.remove(orama.data.docs, id, internalId); - return result; -} -function removeMultiple(orama, ids, batchSize, language, skipHooks) { - const asyncNeeded = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.index.beforeRemove) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.index.remove) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.index.afterRemove) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.beforeRemoveMultiple) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.afterRemoveMultiple); - if (asyncNeeded) { - return removeMultipleAsync(orama, ids, batchSize, language, skipHooks); - } - return removeMultipleSync(orama, ids, batchSize, language, skipHooks); -} -async function removeMultipleAsync(orama, ids, batchSize, language, skipHooks) { - let result = 0; - if (!batchSize) { - batchSize = 1000; - } - const docIdsForHooks = skipHooks ? [] : ids.map((id)=>(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$internal$2d$document$2d$id$2d$store$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getDocumentIdFromInternalId"])(orama.internalDocumentIDStore, (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$internal$2d$document$2d$id$2d$store$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getInternalDocumentId"])(orama.internalDocumentIDStore, id))); - if (!skipHooks) { - await (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$hooks$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["runMultipleHook"])(orama.beforeRemoveMultiple, orama, docIdsForHooks); - } - await new Promise((resolve, reject)=>{ - let i = 0; - async function _removeMultiple() { - const batch = ids.slice(i * batchSize, ++i * batchSize); - if (!batch.length) { - return resolve(); - } - for (const doc of batch){ - try { - if (await remove(orama, doc, language, skipHooks)) { - result++; - } - } catch (err) { - reject(err); - } - } - setTimeout(_removeMultiple, 0); - } - setTimeout(_removeMultiple, 0); - }); - if (!skipHooks) { - await (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$hooks$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["runMultipleHook"])(orama.afterRemoveMultiple, orama, docIdsForHooks); - } - return result; -} -function removeMultipleSync(orama, ids, batchSize, language, skipHooks) { - let result = 0; - if (!batchSize) { - batchSize = 1000; - } - const docIdsForHooks = skipHooks ? [] : ids.map((id)=>(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$internal$2d$document$2d$id$2d$store$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getDocumentIdFromInternalId"])(orama.internalDocumentIDStore, (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$internal$2d$document$2d$id$2d$store$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getInternalDocumentId"])(orama.internalDocumentIDStore, id))); - if (!skipHooks) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$hooks$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["runMultipleHook"])(orama.beforeRemoveMultiple, orama, docIdsForHooks); - } - let i = 0; - function _removeMultipleSync() { - const batch = ids.slice(i * batchSize, ++i * batchSize); - if (!batch.length) return; - for (const doc of batch){ - if (remove(orama, doc, language, skipHooks)) { - result++; - } - } - setTimeout(_removeMultipleSync, 0); - } - _removeMultipleSync(); - if (!skipHooks) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$hooks$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["runMultipleHook"])(orama.afterRemoveMultiple, orama, docIdsForHooks); - } - return result; -} //# sourceMappingURL=remove.js.map -}), -"[project]/node_modules/@orama/orama/dist/browser/constants.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "MODE_FULLTEXT_SEARCH", - ()=>MODE_FULLTEXT_SEARCH, - "MODE_HYBRID_SEARCH", - ()=>MODE_HYBRID_SEARCH, - "MODE_VECTOR_SEARCH", - ()=>MODE_VECTOR_SEARCH -]); -const MODE_FULLTEXT_SEARCH = 'fulltext'; -const MODE_HYBRID_SEARCH = 'hybrid'; -const MODE_VECTOR_SEARCH = 'vector'; //# sourceMappingURL=constants.js.map -}), -"[project]/node_modules/@orama/orama/dist/browser/components/facets.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "getFacets", - ()=>getFacets -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/errors.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/utils.js [app-client] (ecmascript)"); -; -; -function sortAsc(a, b) { - return a[1] - b[1]; -} -function sortDesc(a, b) { - return b[1] - a[1]; -} -function sortingPredicateBuilder(order = 'desc') { - return order.toLowerCase() === 'asc' ? sortAsc : sortDesc; -} -function getFacets(orama, results, facetsConfig) { - const facets = {}; - const allIDs = results.map(([id])=>id); - const allDocs = orama.documentsStore.getMultiple(orama.data.docs, allIDs); - const facetKeys = Object.keys(facetsConfig); - const properties = orama.index.getSearchablePropertiesWithTypes(orama.data.index); - for (const facet of facetKeys){ - let values; - // Hack to guarantee the same order of ranges as specified by the user - // TODO: Revisit this once components land - if (properties[facet] === 'number') { - const { ranges } = facetsConfig[facet]; - const rangesLength = ranges.length; - const tmp = Array.from({ - length: rangesLength - }); - for(let i = 0; i < rangesLength; i++){ - const range = ranges[i]; - tmp[i] = [ - `${range.from}-${range.to}`, - 0 - ]; - } - values = Object.fromEntries(tmp); - } - facets[facet] = { - count: 0, - values: values ?? {} - }; - } - const allDocsLength = allDocs.length; - for(let i = 0; i < allDocsLength; i++){ - const doc = allDocs[i]; - for (const facet of facetKeys){ - const facetValue = facet.includes('.') ? (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getNested"])(doc, facet) : doc[facet]; - const propertyType = properties[facet]; - const facetValues = facets[facet].values; - switch(propertyType){ - case 'number': - { - const ranges = facetsConfig[facet].ranges; - calculateNumberFacetBuilder(ranges, facetValues)(facetValue); - break; - } - case 'number[]': - { - const alreadyInsertedValues = new Set(); - const ranges = facetsConfig[facet].ranges; - const calculateNumberFacet = calculateNumberFacetBuilder(ranges, facetValues, alreadyInsertedValues); - for (const v of facetValue){ - calculateNumberFacet(v); - } - break; - } - case 'boolean': - case 'enum': - case 'string': - { - calculateBooleanStringOrEnumFacetBuilder(facetValues, propertyType)(facetValue); - break; - } - case 'boolean[]': - case 'enum[]': - case 'string[]': - { - const alreadyInsertedValues = new Set(); - const innerType = propertyType === 'boolean[]' ? 'boolean' : 'string'; - const calculateBooleanStringOrEnumFacet = calculateBooleanStringOrEnumFacetBuilder(facetValues, innerType, alreadyInsertedValues); - for (const v of facetValue){ - calculateBooleanStringOrEnumFacet(v); - } - break; - } - default: - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('FACET_NOT_SUPPORTED', propertyType); - } - } - } - // TODO: We are looping again with the same previous keys, should we creat a single loop instead? - for (const facet of facetKeys){ - const currentFacet = facets[facet]; - // Count the number of values for each facet - currentFacet.count = Object.keys(currentFacet.values).length; - // Sort only string-based facets - if (properties[facet] === 'string') { - const stringFacetDefinition = facetsConfig[facet]; - const sortingPredicate = sortingPredicateBuilder(stringFacetDefinition.sort); - currentFacet.values = Object.fromEntries(Object.entries(currentFacet.values).sort(sortingPredicate).slice(stringFacetDefinition.offset ?? 0, stringFacetDefinition.limit ?? 10)); - } - } - return facets; -} -function calculateNumberFacetBuilder(ranges, values, alreadyInsertedValues) { - return (facetValue)=>{ - for (const range of ranges){ - const value = `${range.from}-${range.to}`; - if (alreadyInsertedValues?.has(value)) { - continue; - } - if (facetValue >= range.from && facetValue <= range.to) { - if (values[value] === undefined) { - values[value] = 1; - } else { - values[value]++; - alreadyInsertedValues?.add(value); - } - } - } - }; -} -function calculateBooleanStringOrEnumFacetBuilder(values, propertyType, alreadyInsertedValues) { - const defaultValue = propertyType === 'boolean' ? 'false' : ''; - return (facetValue)=>{ - // String or boolean based facets - const value = facetValue?.toString() ?? defaultValue; - if (alreadyInsertedValues?.has(value)) { - return; - } - values[value] = (values[value] ?? 0) + 1; - alreadyInsertedValues?.add(value); - }; -} //# sourceMappingURL=facets.js.map -}), -"[project]/node_modules/@orama/orama/dist/browser/components/groups.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "getGroups", - ()=>getGroups -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/errors.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/utils.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$internal$2d$document$2d$id$2d$store$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/internal-document-id-store.js [app-client] (ecmascript)"); -; -; -; -const DEFAULT_REDUCE = { - reducer: (_, acc, res, index)=>{ - acc[index] = res; - return acc; - }, - getInitialValue: (length)=>Array.from({ - length - }) -}; -const ALLOWED_TYPES = [ - 'string', - 'number', - 'boolean' -]; -function getGroups(orama, results, groupBy) { - const properties = groupBy.properties; - const propertiesLength = properties.length; - const schemaProperties = orama.index.getSearchablePropertiesWithTypes(orama.data.index); - for(let i = 0; i < propertiesLength; i++){ - const property = properties[i]; - if (typeof schemaProperties[property] === 'undefined') { - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('UNKNOWN_GROUP_BY_PROPERTY', property); - } - if (!ALLOWED_TYPES.includes(schemaProperties[property])) { - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('INVALID_GROUP_BY_PROPERTY', property, ALLOWED_TYPES.join(', '), schemaProperties[property]); - } - } - const allIDs = results.map(([id])=>(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$internal$2d$document$2d$id$2d$store$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getDocumentIdFromInternalId"])(orama.internalDocumentIDStore, id)); - // allDocs is already sorted by the sortBy algorithm - // We leverage on that to limit the number of documents returned - const allDocs = orama.documentsStore.getMultiple(orama.data.docs, allIDs); - const allDocsLength = allDocs.length; - const returnedCount = groupBy.maxResult || Number.MAX_SAFE_INTEGER; - const listOfValues = []; - // We want to understand which documents have which values - // and group them by the property and values - const g = {}; - for(let i = 0; i < propertiesLength; i++){ - const groupByKey = properties[i]; - const group = { - property: groupByKey, - perValue: {} - }; - const values = new Set(); - for(let j = 0; j < allDocsLength; j++){ - const doc = allDocs[j]; - const value = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getNested"])(doc, groupByKey); - // we don't want to consider undefined values - if (typeof value === 'undefined') { - continue; - } - const keyValue = typeof value !== 'boolean' ? value : '' + value; - const perValue = group.perValue[keyValue] ?? { - indexes: [], - count: 0 - }; - if (perValue.count >= returnedCount) { - continue; - } - // We use the index to keep track of the original order - perValue.indexes.push(j); - perValue.count++; - group.perValue[keyValue] = perValue; - values.add(value); - } - listOfValues.push(Array.from(values)); - g[groupByKey] = group; - } - const combinations = calculateCombination(listOfValues); - const combinationsLength = combinations.length; - const groups = []; - for(let i = 0; i < combinationsLength; i++){ - const combination = combinations[i]; - const combinationLength = combination.length; - const group = { - values: [], - indexes: [] - }; - const indexes = []; - for(let j = 0; j < combinationLength; j++){ - const value = combination[j]; - const property = properties[j]; - indexes.push(g[property].perValue[typeof value !== 'boolean' ? value : '' + value].indexes); - group.values.push(value); - } - // We leverage on the index to sort the results by the original order - group.indexes = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["intersect"])(indexes).sort((a, b)=>a - b); - // don't generate empty groups - if (group.indexes.length === 0) { - continue; - } - groups.push(group); - } - const groupsLength = groups.length; - const res = Array.from({ - length: groupsLength - }); - for(let i = 0; i < groupsLength; i++){ - const group = groups[i]; - const reduce = groupBy.reduce || DEFAULT_REDUCE; - const docs = group.indexes.map((index)=>{ - return { - id: allIDs[index], - score: results[index][1], - document: allDocs[index] - }; - }); - const func = reduce.reducer.bind(null, group.values); - const initialValue = reduce.getInitialValue(group.indexes.length); - const aggregationValue = docs.reduce(func, initialValue); - res[i] = { - values: group.values, - result: aggregationValue - }; - } - return res; -} -function calculateCombination(arrs, index = 0) { - if (index + 1 === arrs.length) return arrs[index].map((item)=>[ - item - ]); - const head = arrs[index]; - const c = calculateCombination(arrs, index + 1); - const combinations = []; - for (const value of head){ - for (const combination of c){ - const result = [ - value - ]; - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["safeArrayPush"])(result, combination); - combinations.push(result); - } - } - return combinations; -} //# sourceMappingURL=groups.js.map -}), -"[project]/node_modules/@orama/orama/dist/browser/components/pinning-manager.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "applyPinningRules", - ()=>applyPinningRules -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$internal$2d$document$2d$id$2d$store$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/internal-document-id-store.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$pinning$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/pinning.js [app-client] (ecmascript)"); -; -; -function applyPinningRules(orama, pinningStore, uniqueDocsArray, searchTerm) { - // Get all matching rules for the current search term - const matchingRules = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$pinning$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getMatchingRules"])(pinningStore, searchTerm); - if (matchingRules.length === 0) { - return uniqueDocsArray; - } - // Collect all promotions from matching rules - const allPromotions = matchingRules.flatMap((rule)=>rule.consequence.promote); - // Sort promotions by position (lower position = higher priority) - allPromotions.sort((a, b)=>a.position - b.position); - // Create a Set of pinned internal document IDs for fast lookup - const pinnedInternalIds = new Set(); - const promotionsMap = new Map(); // Map internal ID to desired position - const positionsTaken = new Set(); // Track which positions are already claimed - for (const promotion of allPromotions){ - const internalId = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$internal$2d$document$2d$id$2d$store$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getInternalDocumentId"])(orama.internalDocumentIDStore, promotion.doc_id); - // Skip if document doesn't exist in the database or if this position is already taken - if (internalId === undefined) { - continue; - } - // If this document is already pinned to a different position, keep the first one (lower position) - if (promotionsMap.has(internalId)) { - const existingPosition = promotionsMap.get(internalId); - if (promotion.position < existingPosition) { - promotionsMap.set(internalId, promotion.position); - } - continue; - } - // If this position is already taken, skip this promotion (first wins) - if (positionsTaken.has(promotion.position)) { - continue; - } - pinnedInternalIds.add(internalId); - promotionsMap.set(internalId, promotion.position); - positionsTaken.add(promotion.position); - } - // If no valid promotions were found, return original results - if (promotionsMap.size === 0) { - return uniqueDocsArray; - } - // Remove pinned documents from the original results - const unpinnedResults = uniqueDocsArray.filter(([id])=>!pinnedInternalIds.has(id)); - // Create pinned results with their scores - // We assign a very high base score and subtract the position to maintain order - const BASE_PIN_SCORE = 1000000; - const pinnedResults = []; - for (const [internalId, position] of promotionsMap.entries()){ - // Check if the document exists in the original results - const existingResult = uniqueDocsArray.find(([id])=>id === internalId); - if (existingResult) { - // Document was in original results, use its score but mark it as pinned - pinnedResults.push([ - internalId, - BASE_PIN_SCORE - position - ]); - } else { - // Document was NOT in original results (promoted from outside the result set) - // Verify the document actually exists in the database before promoting it - const doc = orama.documentsStore.get(orama.data.docs, internalId); - if (doc) { - // Assign a score of 0 (as per PR #251 behavior) - pinnedResults.push([ - internalId, - 0 - ]); - } - } - } - // Sort pinned results by their assigned scores (which correspond to positions) - pinnedResults.sort((a, b)=>{ - const posA = promotionsMap.get(a[0]) ?? Infinity; - const posB = promotionsMap.get(b[0]) ?? Infinity; - return posA - posB; - }); - // Insert pinned results at their specified positions - const finalResults = []; - const pinnedByPosition = new Map(); - for (const pinnedResult of pinnedResults){ - const position = promotionsMap.get(pinnedResult[0]); - pinnedByPosition.set(position, pinnedResult); - } - let unpinnedIndex = 0; - let currentPosition = 0; - // Build the final results array by interleaving pinned and unpinned results - while(currentPosition < unpinnedResults.length + pinnedResults.length){ - if (pinnedByPosition.has(currentPosition)) { - // Insert pinned document at this position - finalResults.push(pinnedByPosition.get(currentPosition)); - currentPosition++; - } else if (unpinnedIndex < unpinnedResults.length) { - // Insert next unpinned document - finalResults.push(unpinnedResults[unpinnedIndex]); - unpinnedIndex++; - currentPosition++; - } else { - break; - } - } - // Add any remaining pinned results that have positions beyond the unpinned results length - for (const [position, pinnedResult] of pinnedByPosition.entries()){ - if (position >= finalResults.length) { - finalResults.push(pinnedResult); - } - } - return finalResults; -} //# sourceMappingURL=pinning-manager.js.map -}), -"[project]/node_modules/@orama/orama/dist/browser/methods/search-fulltext.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "defaultBM25Params", - ()=>defaultBM25Params, - "fullTextSearch", - ()=>fullTextSearch, - "innerFullTextSearch", - ()=>innerFullTextSearch -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$facets$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/facets.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$groups$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/groups.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$hooks$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/hooks.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$internal$2d$document$2d$id$2d$store$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/internal-document-id-store.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$pinning$2d$manager$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/pinning-manager.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/errors.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/utils.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$docs$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/methods/docs.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$search$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/methods/search.js [app-client] (ecmascript)"); -; -; -; -; -; -; -; -; -; -; -function innerFullTextSearch(orama, params, language) { - const { term, properties } = params; - const index = orama.data.index; - // Get searchable string properties - let propertiesToSearch = orama.caches['propertiesToSearch']; - if (!propertiesToSearch) { - const propertiesToSearchWithTypes = orama.index.getSearchablePropertiesWithTypes(index); - propertiesToSearch = orama.index.getSearchableProperties(index); - propertiesToSearch = propertiesToSearch.filter((prop)=>propertiesToSearchWithTypes[prop].startsWith('string')); - orama.caches['propertiesToSearch'] = propertiesToSearch; - } - if (properties && properties !== '*') { - for (const prop of properties){ - if (!propertiesToSearch.includes(prop)) { - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('UNKNOWN_INDEX', prop, propertiesToSearch.join(', ')); - } - } - propertiesToSearch = propertiesToSearch.filter((prop)=>properties.includes(prop)); - } - // If filters are enabled, we need to get the IDs of the documents that match the filters. - const hasFilters = Object.keys(params.where ?? {}).length > 0; - let whereFiltersIDs; - if (hasFilters) { - whereFiltersIDs = orama.index.searchByWhereClause(index, orama.tokenizer, params.where, language); - } - let uniqueDocsIDs; - // We need to perform the search if: - // - we have a search term - // - or we have properties to search - // in this case, we need to return all the documents that contains at least one of the given properties - const threshold = params.threshold !== undefined && params.threshold !== null ? params.threshold : 1; - if (term || properties) { - const docsCount = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$docs$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["count"])(orama); - uniqueDocsIDs = orama.index.search(index, term || '', orama.tokenizer, language, propertiesToSearch, params.exact || false, params.tolerance || 0, params.boost || {}, applyDefault(params.relevance), docsCount, whereFiltersIDs, threshold); - // When exact is true and we have a term, filter results to only include documents - // where the original text contains the exact search term (case-sensitive). - // This is a highly requested feature and although Orama is not case-sensitive by design, - // this is a reasonable compromise. - if (params.exact && term) { - const searchTerms = term.trim().split(/\s+/); - uniqueDocsIDs = uniqueDocsIDs.filter(([docId])=>{ - const doc = orama.documentsStore.get(orama.data.docs, docId); - if (!doc) return false; - // Check if any of the specified properties contain the exact search term - for (const prop of propertiesToSearch){ - const propValue = getPropValue(doc, prop); - if (typeof propValue === 'string') { - // Check if all search terms appear as complete words in the property value - const hasAllTerms = searchTerms.every((searchTerm)=>{ - // Create a regex that matches the term as a complete word (case-sensitive) - const regex = new RegExp(`\\b${escapeRegex(searchTerm)}\\b`); - return regex.test(propValue); - }); - if (hasAllTerms) { - return true; - } - } - } - return false; - }); - } - } else { - // Check if this is a geosearch-only query first - if (hasFilters) { - const geoResults = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["searchByGeoWhereClause"])(index, params.where); - if (geoResults) { - // This is a geosearch-only query with distance scoring - uniqueDocsIDs = geoResults; - } else { - // Regular filter query without search term - const docIds = whereFiltersIDs ? Array.from(whereFiltersIDs) : []; - uniqueDocsIDs = docIds.map((k)=>[ - +k, - 0 - ]); - } - } else { - // No search term and no filters - return all documents - const docIds = Object.keys(orama.documentsStore.getAll(orama.data.docs)); - uniqueDocsIDs = docIds.map((k)=>[ - +k, - 0 - ]); - } - } - return uniqueDocsIDs; -} -// Helper function to escape regex special characters -function escapeRegex(str) { - return str.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'); -} -// Helper function to get nested property value -function getPropValue(obj, path) { - const keys = path.split('.'); - let value = obj; - for (const key of keys){ - if (value && typeof value === 'object' && key in value) { - value = value[key]; - } else { - return undefined; - } - } - return value; -} -function fullTextSearch(orama, params, language) { - const timeStart = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getNanosecondsTime"])(); - function performSearchLogic() { - const vectorProperties = Object.keys(orama.data.index.vectorIndexes); - const shouldCalculateFacets = params.facets && Object.keys(params.facets).length > 0; - const { limit = 10, offset = 0, distinctOn, includeVectors = false } = params; - const isPreflight = params.preflight === true; - let uniqueDocsArray = innerFullTextSearch(orama, params, language); - if (params.sortBy) { - if (typeof params.sortBy === 'function') { - const ids = uniqueDocsArray.map(([id])=>id); - const docs = orama.documentsStore.getMultiple(orama.data.docs, ids); - const docsWithIdAndScore = docs.map((d, i)=>[ - uniqueDocsArray[i][0], - uniqueDocsArray[i][1], - d - ]); - docsWithIdAndScore.sort(params.sortBy); - uniqueDocsArray = docsWithIdAndScore.map(([id, score])=>[ - id, - score - ]); - } else { - uniqueDocsArray = orama.sorter.sortBy(orama.data.sorting, uniqueDocsArray, params.sortBy).map(([id, score])=>[ - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$internal$2d$document$2d$id$2d$store$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getInternalDocumentId"])(orama.internalDocumentIDStore, id), - score - ]); - } - } else { - uniqueDocsArray = uniqueDocsArray.sort(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["sortTokenScorePredicate"]); - } - // Apply pinning rules after sorting but before pagination - uniqueDocsArray = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$pinning$2d$manager$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["applyPinningRules"])(orama, orama.data.pinning, uniqueDocsArray, params.term); - let results; - if (!isPreflight) { - results = distinctOn ? (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$search$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["fetchDocumentsWithDistinct"])(orama, uniqueDocsArray, offset, limit, distinctOn) : (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$search$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["fetchDocuments"])(orama, uniqueDocsArray, offset, limit); - } - const searchResult = { - elapsed: { - formatted: '', - raw: 0 - }, - hits: [], - count: uniqueDocsArray.length - }; - if (typeof results !== 'undefined') { - searchResult.hits = results.filter(Boolean); - if (!includeVectors) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["removeVectorsFromHits"])(searchResult, vectorProperties); - } - } - if (shouldCalculateFacets) { - const facets = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$facets$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getFacets"])(orama, uniqueDocsArray, params.facets); - searchResult.facets = facets; - } - if (params.groupBy) { - searchResult.groups = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$groups$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getGroups"])(orama, uniqueDocsArray, params.groupBy); - } - searchResult.elapsed = orama.formatElapsedTime((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getNanosecondsTime"])() - timeStart); - return searchResult; - } - async function executeSearchAsync() { - if (orama.beforeSearch) { - await (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$hooks$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["runBeforeSearch"])(orama.beforeSearch, orama, params, language); - } - const searchResult = performSearchLogic(); - if (orama.afterSearch) { - await (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$hooks$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["runAfterSearch"])(orama.afterSearch, orama, params, language, searchResult); - } - return searchResult; - } - const asyncNeeded = orama.beforeSearch?.length || orama.afterSearch?.length; - if (asyncNeeded) { - return executeSearchAsync(); - } - return performSearchLogic(); -} -const defaultBM25Params = { - k: 1.2, - b: 0.75, - d: 0.5 -}; -function applyDefault(bm25Relevance) { - const r = bm25Relevance ?? {}; - r.k = r.k ?? defaultBM25Params.k; - r.b = r.b ?? defaultBM25Params.b; - r.d = r.d ?? defaultBM25Params.d; - return r; -} //# sourceMappingURL=search-fulltext.js.map -}), -"[project]/node_modules/@orama/orama/dist/browser/methods/search-vector.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "innerVectorSearch", - ()=>innerVectorSearch, - "searchVector", - ()=>searchVector -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/utils.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$facets$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/facets.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/errors.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$groups$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/groups.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$internal$2d$document$2d$id$2d$store$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/internal-document-id-store.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$hooks$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/hooks.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$trees$2f$vector$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/trees/vector.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$pinning$2d$manager$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/pinning-manager.js [app-client] (ecmascript)"); -; -; -; -; -; -; -; -; -function innerVectorSearch(orama, params, language) { - const vector = params.vector; - if (vector && (!('value' in vector) || !('property' in vector))) { - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('INVALID_VECTOR_INPUT', Object.keys(vector).join(', ')); - } - const vectorIndex = orama.data.index.vectorIndexes[vector.property]; - if (!vectorIndex) { - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('UNKNOWN_VECTOR_PROPERTY', vector.property); - } - const vectorSize = vectorIndex.node.size; - if (vector?.value.length !== vectorSize) { - if (vector?.property === undefined || vector?.value.length === undefined) { - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('INVALID_INPUT_VECTOR', 'undefined', vectorSize, 'undefined'); - } - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('INVALID_INPUT_VECTOR', vector.property, vectorSize, vector.value.length); - } - const index = orama.data.index; - let whereFiltersIDs; - const hasFilters = Object.keys(params.where ?? {}).length > 0; - if (hasFilters) { - whereFiltersIDs = orama.index.searchByWhereClause(index, orama.tokenizer, params.where, language); - } - return vectorIndex.node.find(vector.value, params.similarity ?? __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$trees$2f$vector$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["DEFAULT_SIMILARITY"], whereFiltersIDs); -} -function searchVector(orama, params, language = 'english') { - const timeStart = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getNanosecondsTime"])(); - function performSearchLogic() { - let results = innerVectorSearch(orama, params, language).sort(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["sortTokenScorePredicate"]); - // Apply pinning rules after sorting but before pagination - results = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$pinning$2d$manager$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["applyPinningRules"])(orama, orama.data.pinning, results, undefined); - let facetsResults = []; - const shouldCalculateFacets = params.facets && Object.keys(params.facets).length > 0; - if (shouldCalculateFacets) { - const facets = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$facets$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getFacets"])(orama, results, params.facets); - facetsResults = facets; - } - const vectorProperty = params.vector.property; - const includeVectors = params.includeVectors ?? false; - const limit = params.limit ?? 10; - const offset = params.offset ?? 0; - const docs = Array.from({ - length: limit - }); - for(let i = 0; i < limit; i++){ - const result = results[i + offset]; - if (!result) { - break; - } - const doc = orama.data.docs.docs[result[0]]; - if (doc) { - if (!includeVectors) { - doc[vectorProperty] = null; - } - const newDoc = { - id: (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$internal$2d$document$2d$id$2d$store$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getDocumentIdFromInternalId"])(orama.internalDocumentIDStore, result[0]), - score: result[1], - document: doc - }; - docs[i] = newDoc; - } - } - let groups = []; - if (params.groupBy) { - groups = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$groups$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getGroups"])(orama, results, params.groupBy); - } - const timeEnd = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getNanosecondsTime"])(); - const elapsedTime = timeEnd - timeStart; - return { - count: results.length, - hits: docs.filter(Boolean), - elapsed: { - raw: Number(elapsedTime), - formatted: (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["formatNanoseconds"])(elapsedTime) - }, - ...facetsResults ? { - facets: facetsResults - } : {}, - ...groups ? { - groups - } : {} - }; - } - async function executeSearchAsync() { - if (orama.beforeSearch) { - await (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$hooks$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["runBeforeSearch"])(orama.beforeSearch, orama, params, language); - } - const results = performSearchLogic(); - if (orama.afterSearch) { - await (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$hooks$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["runAfterSearch"])(orama.afterSearch, orama, params, language, results); - } - return results; - } - const asyncNeeded = orama.beforeSearch?.length || orama.afterSearch?.length; - if (asyncNeeded) { - return executeSearchAsync(); - } - // Sync path - return performSearchLogic(); -} //# sourceMappingURL=search-vector.js.map -}), -"[project]/node_modules/@orama/orama/dist/browser/methods/search-hybrid.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "hybridSearch", - ()=>hybridSearch, - "innerHybridSearch", - ()=>innerHybridSearch -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/utils.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$facets$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/facets.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$groups$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/groups.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$search$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/methods/search.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$search$2d$fulltext$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/methods/search-fulltext.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$search$2d$vector$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/methods/search-vector.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$hooks$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/hooks.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$pinning$2d$manager$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/pinning-manager.js [app-client] (ecmascript)"); -; -; -; -; -; -; -; -; -function innerHybridSearch(orama, params, language) { - const fullTextIDs = minMaxScoreNormalization((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$search$2d$fulltext$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["innerFullTextSearch"])(orama, params, language)); - const vectorIDs = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$search$2d$vector$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["innerVectorSearch"])(orama, params, language); - const hybridWeights = params.hybridWeights; - return mergeAndRankResults(fullTextIDs, vectorIDs, params.term ?? '', hybridWeights); -} -function hybridSearch(orama, params, language) { - const timeStart = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getNanosecondsTime"])(); - function performSearchLogic() { - let uniqueTokenScores = innerHybridSearch(orama, params, language); - // Apply pinning rules after merging results but before pagination - uniqueTokenScores = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$pinning$2d$manager$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["applyPinningRules"])(orama, orama.data.pinning, uniqueTokenScores, params.term); - let facetsResults; - const shouldCalculateFacets = params.facets && Object.keys(params.facets).length > 0; - if (shouldCalculateFacets) { - facetsResults = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$facets$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getFacets"])(orama, uniqueTokenScores, params.facets); - } - let groups; - if (params.groupBy) { - groups = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$groups$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getGroups"])(orama, uniqueTokenScores, params.groupBy); - } - const offset = params.offset ?? 0; - const limit = params.limit ?? 10; - const results = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$search$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["fetchDocuments"])(orama, uniqueTokenScores, offset, limit).filter(Boolean); - const timeEnd = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getNanosecondsTime"])(); - const returningResults = { - count: uniqueTokenScores.length, - elapsed: { - raw: Number(timeEnd - timeStart), - formatted: (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["formatNanoseconds"])(timeEnd - timeStart) - }, - hits: results, - ...facetsResults ? { - facets: facetsResults - } : {}, - ...groups ? { - groups - } : {} - }; - const includeVectors = params.includeVectors ?? false; - if (!includeVectors) { - const vectorProperties = Object.keys(orama.data.index.vectorIndexes); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["removeVectorsFromHits"])(returningResults, vectorProperties); - } - return returningResults; - } - async function executeSearchAsync() { - if (orama.beforeSearch) { - await (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$hooks$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["runBeforeSearch"])(orama.beforeSearch, orama, params, language); - } - const results = performSearchLogic(); - if (orama.afterSearch) { - await (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$hooks$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["runAfterSearch"])(orama.afterSearch, orama, params, language, results); - } - return results; - } - const asyncNeeded = orama.beforeSearch?.length || orama.afterSearch?.length; - if (asyncNeeded) { - return executeSearchAsync(); - } - return performSearchLogic(); -} -function extractScore(token) { - return token[1]; -} -function minMaxScoreNormalization(results) { - // In this case I disabled the `prefer-spread` rule because spread seems to be slower - // eslint-disable-next-line prefer-spread - const maxScore = Math.max.apply(Math, results.map(extractScore)); - return results.map(([id, score])=>[ - id, - score / maxScore - ]); -} -function normalizeScore(score, maxScore) { - return score / maxScore; -} -function hybridScoreBuilder(textWeight, vectorWeight) { - return (textScore, vectorScore)=>textScore * textWeight + vectorScore * vectorWeight; -} -function mergeAndRankResults(textResults, vectorResults, query, hybridWeights) { - // eslint-disable-next-line prefer-spread - const maxTextScore = Math.max.apply(Math, textResults.map(extractScore)); - // eslint-disable-next-line prefer-spread - const maxVectorScore = Math.max.apply(Math, vectorResults.map(extractScore)); - const hasHybridWeights = hybridWeights && hybridWeights.text && hybridWeights.vector; - const { text: textWeight, vector: vectorWeight } = hasHybridWeights ? hybridWeights : getQueryWeights(query); - const mergedResults = new Map(); - const textResultsLength = textResults.length; - const hybridScore = hybridScoreBuilder(textWeight, vectorWeight); - for(let i = 0; i < textResultsLength; i++){ - const [id, score] = textResults[i]; - const normalizedScore = normalizeScore(score, maxTextScore); - const hybridScoreValue = hybridScore(normalizedScore, 0); - mergedResults.set(id, hybridScoreValue); - } - const vectorResultsLength = vectorResults.length; - for(let i = 0; i < vectorResultsLength; i++){ - const [resultId, score] = vectorResults[i]; - const normalizedScore = normalizeScore(score, maxVectorScore); - const existingRes = mergedResults.get(resultId) ?? 0; - mergedResults.set(resultId, existingRes + hybridScore(0, normalizedScore)); - } - return [ - ...mergedResults - ].sort((a, b)=>b[1] - a[1]); -} -// eslint-disable-next-line @typescript-eslint/no-unused-vars -function getQueryWeights(query) { - // In the next versions of Orama, we will ship a plugin containing a ML model to adjust the weights - // based on whether the query is keyword-focused, conceptual, etc. - // For now, we just return a fixed value. - return { - text: 0.5, - vector: 0.5 - }; -} //# sourceMappingURL=search-hybrid.js.map -}), -"[project]/node_modules/@orama/orama/dist/browser/methods/search.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "fetchDocuments", - ()=>fetchDocuments, - "fetchDocumentsWithDistinct", - ()=>fetchDocumentsWithDistinct, - "search", - ()=>search -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$internal$2d$document$2d$id$2d$store$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/internal-document-id-store.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/errors.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/utils.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$constants$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/constants.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$search$2d$fulltext$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/methods/search-fulltext.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$search$2d$vector$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/methods/search-vector.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$search$2d$hybrid$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/methods/search-hybrid.js [app-client] (ecmascript)"); -; -; -; -; -; -; -; -function search(orama, params, language) { - const mode = params.mode ?? __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$constants$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["MODE_FULLTEXT_SEARCH"]; - if (mode === __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$constants$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["MODE_FULLTEXT_SEARCH"]) { - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$search$2d$fulltext$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["fullTextSearch"])(orama, params, language); - } - if (mode === __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$constants$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["MODE_VECTOR_SEARCH"]) { - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$search$2d$vector$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["searchVector"])(orama, params); - } - if (mode === __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$constants$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["MODE_HYBRID_SEARCH"]) { - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$search$2d$hybrid$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["hybridSearch"])(orama, params); - } - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('INVALID_SEARCH_MODE', mode); -} -function fetchDocumentsWithDistinct(orama, uniqueDocsArray, offset, limit, distinctOn) { - const docs = orama.data.docs; - // Keep track which values we already seen - const values = new Map(); - // We cannot know how many results we will have in the end, - // so we need cannot pre-allocate the array. - const results = []; - const resultIDs = new Set(); - const uniqueDocsArrayLength = uniqueDocsArray.length; - let count = 0; - for(let i = 0; i < uniqueDocsArrayLength; i++){ - const idAndScore = uniqueDocsArray[i]; - // If there are no more results, just break the loop - if (typeof idAndScore === 'undefined') { - continue; - } - const [id, score] = idAndScore; - if (resultIDs.has(id)) { - continue; - } - const doc = orama.documentsStore.get(docs, id); - const value = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getNested"])(doc, distinctOn); - if (typeof value === 'undefined' || values.has(value)) { - continue; - } - values.set(value, true); - count++; - // We shouldn't consider the document if it's not in the offset range - if (count <= offset) { - continue; - } - results.push({ - id: (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$internal$2d$document$2d$id$2d$store$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getDocumentIdFromInternalId"])(orama.internalDocumentIDStore, id), - score, - document: doc - }); - resultIDs.add(id); - // reached the limit, break the loop - if (count >= offset + limit) { - break; - } - } - return results; -} -function fetchDocuments(orama, uniqueDocsArray, offset, limit) { - const docs = orama.data.docs; - const results = Array.from({ - length: limit - }); - const resultIDs = new Set(); - // We already have the list of ALL the document IDs containing the search terms. - // We loop over them starting from a positional value "offset" and ending at "offset + limit" - // to provide pagination capabilities to the search. - for(let i = offset; i < limit + offset; i++){ - const idAndScore = uniqueDocsArray[i]; - // If there are no more results, just break the loop - if (typeof idAndScore === 'undefined') { - break; - } - const [id, score] = idAndScore; - if (!resultIDs.has(id)) { - // We retrieve the full document only AFTER making sure that we really want it. - // We never retrieve the full document preventively. - const fullDoc = orama.documentsStore.get(docs, id); - results[i] = { - id: (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$internal$2d$document$2d$id$2d$store$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getDocumentIdFromInternalId"])(orama.internalDocumentIDStore, id), - score, - document: fullDoc - }; - resultIDs.add(id); - } - } - return results; -} //# sourceMappingURL=search.js.map -}), -"[project]/node_modules/@orama/orama/dist/browser/methods/serialization.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "load", - ()=>load, - "save", - ()=>save -]); -function load(orama, raw) { - orama.internalDocumentIDStore.load(orama, raw.internalDocumentIDStore); - orama.data.index = orama.index.load(orama.internalDocumentIDStore, raw.index); - orama.data.docs = orama.documentsStore.load(orama.internalDocumentIDStore, raw.docs); - orama.data.sorting = orama.sorter.load(orama.internalDocumentIDStore, raw.sorting); - orama.data.pinning = orama.pinning.load(orama.internalDocumentIDStore, raw.pinning); - orama.tokenizer.language = raw.language; -} -function save(orama) { - return { - internalDocumentIDStore: orama.internalDocumentIDStore.save(orama.internalDocumentIDStore), - index: orama.index.save(orama.data.index), - docs: orama.documentsStore.save(orama.data.docs), - sorting: orama.sorter.save(orama.data.sorting), - pinning: orama.pinning.save(orama.data.pinning), - language: orama.tokenizer.language - }; -} //# sourceMappingURL=serialization.js.map -}), -"[project]/node_modules/@orama/orama/dist/browser/methods/update.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "update", - ()=>update, - "updateMultiple", - ()=>updateMultiple -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$hooks$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/hooks.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/errors.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$insert$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/methods/insert.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$remove$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/methods/remove.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/utils.js [app-client] (ecmascript)"); -; -; -; -; -; -function update(orama, id, doc, language, skipHooks) { - const asyncNeeded = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.afterInsert) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.beforeInsert) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.afterRemove) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.beforeRemove) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.beforeUpdate) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.afterUpdate); - if (asyncNeeded) { - return updateAsync(orama, id, doc, language, skipHooks); - } - return updateSync(orama, id, doc, language, skipHooks); -} -async function updateAsync(orama, id, doc, language, skipHooks) { - if (!skipHooks && orama.beforeUpdate) { - await (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$hooks$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["runSingleHook"])(orama.beforeUpdate, orama, id); - } - await (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$remove$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["remove"])(orama, id, language, skipHooks); - const newId = await (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$insert$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["insert"])(orama, doc, language, skipHooks); - if (!skipHooks && orama.afterUpdate) { - await (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$hooks$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["runSingleHook"])(orama.afterUpdate, orama, newId); - } - return newId; -} -function updateSync(orama, id, doc, language, skipHooks) { - if (!skipHooks && orama.beforeUpdate) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$hooks$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["runSingleHook"])(orama.beforeUpdate, orama, id); - } - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$remove$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["remove"])(orama, id, language, skipHooks); - const newId = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$insert$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["insert"])(orama, doc, language, skipHooks); - if (!skipHooks && orama.afterUpdate) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$hooks$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["runSingleHook"])(orama.afterUpdate, orama, newId); - } - return newId; -} -function updateMultiple(orama, ids, docs, batchSize, language, skipHooks) { - const asyncNeeded = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.afterInsert) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.beforeInsert) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.afterRemove) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.beforeRemove) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.beforeUpdate) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.afterUpdate) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.beforeUpdateMultiple) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.afterUpdateMultiple) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.beforeRemoveMultiple) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.afterRemoveMultiple) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.beforeInsertMultiple) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.afterInsertMultiple); - if (asyncNeeded) { - return updateMultipleAsync(orama, ids, docs, batchSize, language, skipHooks); - } - return updateMultipleSync(orama, ids, docs, batchSize, language, skipHooks); -} -async function updateMultipleAsync(orama, ids, docs, batchSize, language, skipHooks) { - if (!skipHooks) { - await (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$hooks$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["runMultipleHook"])(orama.beforeUpdateMultiple, orama, ids); - } - const docsLength = docs.length; - for(let i = 0; i < docsLength; i++){ - const errorProperty = orama.validateSchema(docs[i], orama.schema); - if (errorProperty) { - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('SCHEMA_VALIDATION_FAILURE', errorProperty); - } - } - await (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$remove$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["removeMultiple"])(orama, ids, batchSize, language, skipHooks); - const newIds = await (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$insert$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["innerInsertMultiple"])(orama, docs, batchSize, language, skipHooks); - if (!skipHooks) { - await (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$hooks$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["runMultipleHook"])(orama.afterUpdateMultiple, orama, newIds); - } - return newIds; -} -function updateMultipleSync(orama, ids, docs, batchSize, language, skipHooks) { - if (!skipHooks) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$hooks$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["runMultipleHook"])(orama.beforeUpdateMultiple, orama, ids); - } - const docsLength = docs.length; - for(let i = 0; i < docsLength; i++){ - const errorProperty = orama.validateSchema(docs[i], orama.schema); - if (errorProperty) { - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('SCHEMA_VALIDATION_FAILURE', errorProperty); - } - } - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$remove$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["removeMultiple"])(orama, ids, batchSize, language, skipHooks); - const newIds = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$insert$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["innerInsertMultiple"])(orama, docs, batchSize, language, skipHooks); - if (!skipHooks) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$hooks$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["runMultipleHook"])(orama.afterUpdateMultiple, orama, newIds); - } - return newIds; -} //# sourceMappingURL=update.js.map -}), -"[project]/node_modules/@orama/orama/dist/browser/methods/upsert.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "upsert", - ()=>upsert, - "upsertMultiple", - ()=>upsertMultiple -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$hooks$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/hooks.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/errors.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$insert$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/methods/insert.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$update$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/methods/update.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/utils.js [app-client] (ecmascript)"); -; -; -; -; -; -function upsert(orama, doc, language, skipHooks, options) { - const asyncNeeded = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.afterInsert) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.beforeInsert) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.afterRemove) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.beforeRemove) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.beforeUpdate) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.afterUpdate) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.beforeUpsert) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.afterUpsert) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.index.beforeInsert) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.index.insert) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.index.afterInsert); - if (asyncNeeded) { - return upsertAsync(orama, doc, language, skipHooks, options); - } - return upsertSync(orama, doc, language, skipHooks, options); -} -async function upsertAsync(orama, doc, language, skipHooks, options) { - const id = orama.getDocumentIndexId(doc); - if (typeof id !== 'string') { - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('DOCUMENT_ID_MUST_BE_STRING', typeof id); - } - if (!skipHooks && orama.beforeUpsert) { - await (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$hooks$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["runSingleHook"])(orama.beforeUpsert, orama, id, doc); - } - // Check if document exists - const existingDoc = orama.documentsStore.get(orama.data.docs, id); - let resultId; - if (existingDoc) { - // Document exists, update it - resultId = await (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$update$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["update"])(orama, id, doc, language, skipHooks); - } else { - // Document doesn't exist, insert it - resultId = await (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$insert$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["insert"])(orama, doc, language, skipHooks, options); - } - if (!skipHooks && orama.afterUpsert) { - await (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$hooks$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["runSingleHook"])(orama.afterUpsert, orama, resultId, doc); - } - return resultId; -} -function upsertSync(orama, doc, language, skipHooks, options) { - const id = orama.getDocumentIndexId(doc); - if (typeof id !== 'string') { - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('DOCUMENT_ID_MUST_BE_STRING', typeof id); - } - if (!skipHooks && orama.beforeUpsert) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$hooks$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["runSingleHook"])(orama.beforeUpsert, orama, id, doc); - } - // Check if document exists - const existingDoc = orama.documentsStore.get(orama.data.docs, id); - let resultId; - if (existingDoc) { - // Document exists, update it - resultId = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$update$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["update"])(orama, id, doc, language, skipHooks); - } else { - // Document doesn't exist, insert it - resultId = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$insert$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["insert"])(orama, doc, language, skipHooks, options); - } - if (!skipHooks && orama.afterUpsert) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$hooks$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["runSingleHook"])(orama.afterUpsert, orama, resultId, doc); - } - return resultId; -} -function upsertMultiple(orama, docs, batchSize, language, skipHooks) { - const asyncNeeded = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.afterInsert) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.beforeInsert) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.afterRemove) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.beforeRemove) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.beforeUpdate) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.afterUpdate) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.beforeUpsert) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.afterUpsert) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.beforeUpsertMultiple) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.afterUpsertMultiple) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.beforeInsertMultiple) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.afterInsertMultiple) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.beforeUpdateMultiple) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.afterUpdateMultiple) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.beforeRemoveMultiple) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.afterRemoveMultiple) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.index.beforeInsert) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.index.insert) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAsyncFunction"])(orama.index.afterInsert); - if (asyncNeeded) { - return upsertMultipleAsync(orama, docs, batchSize, language, skipHooks); - } - return upsertMultipleSync(orama, docs, batchSize, language, skipHooks); -} -async function upsertMultipleAsync(orama, docs, batchSize, language, skipHooks) { - if (!skipHooks && orama.beforeUpsertMultiple) { - await (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$hooks$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["runMultipleHook"])(orama.beforeUpsertMultiple, orama, docs); - } - // Validate all documents first - const docsLength = docs.length; - for(let i = 0; i < docsLength; i++){ - const errorProperty = orama.validateSchema(docs[i], orama.schema); - if (errorProperty) { - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('SCHEMA_VALIDATION_FAILURE', errorProperty); - } - } - // Separate documents into insert and update arrays - const docsToInsert = []; - const docsToUpdate = []; - const idsToUpdate = []; - for (const doc of docs){ - const id = orama.getDocumentIndexId(doc); - if (typeof id !== 'string') { - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('DOCUMENT_ID_MUST_BE_STRING', typeof id); - } - const existingDoc = orama.documentsStore.get(orama.data.docs, id); - if (existingDoc) { - docsToUpdate.push(doc); - idsToUpdate.push(id); - } else { - docsToInsert.push(doc); - } - } - // Perform bulk operations - const results = []; - if (docsToUpdate.length > 0) { - const updateResults = await (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$update$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["updateMultiple"])(orama, idsToUpdate, docsToUpdate, batchSize, language, skipHooks); - results.push(...updateResults); - } - if (docsToInsert.length > 0) { - const insertResults = await (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$insert$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["innerInsertMultiple"])(orama, docsToInsert, batchSize, language, skipHooks); - results.push(...insertResults); - } - if (!skipHooks && orama.afterUpsertMultiple) { - await (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$hooks$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["runMultipleHook"])(orama.afterUpsertMultiple, orama, results); - } - return results; -} -function upsertMultipleSync(orama, docs, batchSize, language, skipHooks) { - if (!skipHooks && orama.beforeUpsertMultiple) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$hooks$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["runMultipleHook"])(orama.beforeUpsertMultiple, orama, docs); - } - // Validate all documents first - const docsLength = docs.length; - for(let i = 0; i < docsLength; i++){ - const errorProperty = orama.validateSchema(docs[i], orama.schema); - if (errorProperty) { - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('SCHEMA_VALIDATION_FAILURE', errorProperty); - } - } - // Separate documents into insert and update arrays - const docsToInsert = []; - const docsToUpdate = []; - const idsToUpdate = []; - for (const doc of docs){ - const id = orama.getDocumentIndexId(doc); - if (typeof id !== 'string') { - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('DOCUMENT_ID_MUST_BE_STRING', typeof id); - } - const existingDoc = orama.documentsStore.get(orama.data.docs, id); - if (existingDoc) { - docsToUpdate.push(doc); - idsToUpdate.push(id); - } else { - docsToInsert.push(doc); - } - } - // Perform bulk operations - const results = []; - if (docsToUpdate.length > 0) { - const updateResults = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$update$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["updateMultiple"])(orama, idsToUpdate, docsToUpdate, batchSize, language, skipHooks); - results.push(...updateResults); - } - if (docsToInsert.length > 0) { - const insertResults = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$insert$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["innerInsertMultiple"])(orama, docsToInsert, batchSize, language, skipHooks); - results.push(...insertResults); - } - if (!skipHooks && orama.afterUpsertMultiple) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$hooks$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["runMultipleHook"])(orama.afterUpsertMultiple, orama, results); - } - return results; -} //# sourceMappingURL=upsert.js.map -}), -"[project]/node_modules/@orama/orama/dist/browser/methods/answer-session.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "AnswerSession", - ()=>AnswerSession -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/errors.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$search$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/methods/search.js [app-client] (ecmascript)"); -; -; -const ORAMA_SECURE_PROXY_PLUGIN_NAME = 'orama-secure-proxy'; -class AnswerSession { - db; - proxy = null; - config; - abortController = null; - lastInteractionParams = null; - chatModel = null; - conversationID; - messages = []; - events; - initPromise; - state = []; - constructor(db, config){ - this.db = db; - this.config = config; - this.init(); - this.messages = config.initialMessages || []; - this.events = config.events || {}; - this.conversationID = config.conversationID || this.generateRandomID(); - } - async ask(query) { - await this.initPromise; - let output = ''; - for await (const msg of (await this.askStream(query))){ - output += msg; - } - return output; - } - async askStream(query) { - await this.initPromise; - return this.fetchAnswer(query); - } - abortAnswer() { - this.abortController?.abort(); - this.state[this.state.length - 1].aborted = true; - this.triggerStateChange(); - } - getMessages() { - return this.messages; - } - clearSession() { - this.messages = []; - this.state = []; - } - regenerateLast({ stream = true }) { - if (this.state.length === 0 || this.messages.length === 0) { - throw new Error('No messages to regenerate'); - } - const isLastMessageAssistant = this.messages.at(-1)?.role === 'assistant'; - if (!isLastMessageAssistant) { - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('ANSWER_SESSION_LAST_MESSAGE_IS_NOT_ASSISTANT'); - } - this.messages.pop(); - this.state.pop(); - if (stream) { - return this.askStream(this.lastInteractionParams); - } - return this.ask(this.lastInteractionParams); - } - async *fetchAnswer(params) { - if (!this.chatModel) { - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('PLUGIN_SECURE_PROXY_MISSING_CHAT_MODEL'); - } - this.abortController = new AbortController(); - this.lastInteractionParams = params; - const interactionId = this.generateRandomID(); - this.messages.push({ - role: 'user', - content: params.term ?? '' - }); - this.state.push({ - interactionId, - aborted: false, - loading: true, - query: params.term ?? '', - response: '', - sources: null, - translatedQuery: null, - error: false, - errorMessage: null - }); - const stateIdx = this.state.length - 1; - this.addEmptyAssistantMessage(); - this.triggerStateChange(); - try { - const sources = await (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$search$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["search"])(this.db, params); - this.state[stateIdx].sources = sources; - this.triggerStateChange(); - for await (const msg of this.proxy.chatStream({ - model: this.chatModel, - messages: this.messages - })){ - yield msg; - this.state[stateIdx].response += msg; - this.messages.findLast((msg)=>msg.role === 'assistant').content += msg; - this.triggerStateChange(); - } - } catch (err) { - if (err.name === 'AbortError') { - this.state[stateIdx].aborted = true; - } else { - this.state[stateIdx].error = true; - this.state[stateIdx].errorMessage = err.toString(); - } - this.triggerStateChange(); - } - this.state[stateIdx].loading = false; - this.triggerStateChange(); - return this.state[stateIdx].response; - } - generateRandomID(length = 24) { - return Array.from({ - length - }, ()=>Math.floor(Math.random() * 36).toString(36)).join(''); - } - triggerStateChange() { - if (this.events.onStateChange) { - this.events.onStateChange(this.state); - } - } - async init() { - // eslint-disable-next-line @typescript-eslint/no-this-alias - const self = this; - async function getPlugin() { - return await self.db.plugins.find((plugin)=>plugin.name === ORAMA_SECURE_PROXY_PLUGIN_NAME); - } - const plugin = await getPlugin(); - if (!plugin) { - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('PLUGIN_SECURE_PROXY_NOT_FOUND'); - } - const pluginExtras = plugin.extra; - this.proxy = pluginExtras.proxy; - if (this.config.systemPrompt) { - this.messages.push({ - role: 'system', - content: this.config.systemPrompt - }); - } - if (pluginExtras?.pluginParams?.chat?.model) { - this.chatModel = pluginExtras.pluginParams.chat.model; - } else { - throw (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$errors$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createError"])('PLUGIN_SECURE_PROXY_MISSING_CHAT_MODEL'); - } - } - addEmptyAssistantMessage() { - this.messages.push({ - role: 'assistant', - content: '' - }); - } -} //# sourceMappingURL=answer-session.js.map -}), -"[project]/node_modules/@orama/orama/dist/browser/types.js [app-client] (ecmascript) ", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "kInsertions", - ()=>kInsertions, - "kRemovals", - ()=>kRemovals -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$constants$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/constants.js [app-client] (ecmascript)"); -; -const kInsertions = Symbol('orama.insertions'); -const kRemovals = Symbol('orama.removals'); //# sourceMappingURL=types.js.map -}), -"[project]/node_modules/@orama/orama/dist/browser/internals.js [app-client] (ecmascript) ", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$levenshtein$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/levenshtein.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/utils.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2f$tokenizer$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components/tokenizer/index.js [app-client] (ecmascript)"); //# sourceMappingURL=internals.js.map -; -; -; -}), -"[project]/node_modules/@orama/orama/dist/browser/index.js [app-client] (ecmascript) ", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$create$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/methods/create.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$docs$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/methods/docs.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$insert$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/methods/insert.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$pinning$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/methods/pinning.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$remove$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/methods/remove.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$search$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/methods/search.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$search$2d$vector$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/methods/search-vector.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$serialization$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/methods/serialization.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$update$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/methods/update.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$upsert$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/methods/upsert.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$answer$2d$session$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/methods/answer-session.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$types$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$locals$3e$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/types.js [app-client] (ecmascript) "); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$components$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$locals$3e$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/components.js [app-client] (ecmascript) "); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$internals$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$locals$3e$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/internals.js [app-client] (ecmascript) "); //# sourceMappingURL=index.js.map -; -; -; -; -; -; -; -; -; -; -; -; -; -; -}), -"[project]/node_modules/fumadocs-core/dist/advanced-tbtFDsHU.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "n", - ()=>searchSimple, - "t", - ()=>searchAdvanced -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$core$2f$dist$2f$search$2d$DzqmOjzV$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/fumadocs-core/dist/search-DzqmOjzV.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$core$2f$dist$2f$remove$2d$undefined$2d$Buxsprgu$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/fumadocs-core/dist/remove-undefined-Buxsprgu.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$locals$3e$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/index.js [app-client] (ecmascript) "); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$docs$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/methods/docs.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$search$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/methods/search.js [app-client] (ecmascript)"); -; -; -; -//#region src/search/orama/search/simple.ts -async function searchSimple(db, query, params = {}) { - const highlighter = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$core$2f$dist$2f$search$2d$DzqmOjzV$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["t"])(query); - return (await (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$search$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["search"])(db, { - term: query, - tolerance: 1, - ...params, - boost: { - title: 2, - ..."boost" in params ? params.boost : void 0 - } - })).hits.map((hit)=>({ - type: "page", - content: hit.document.title, - breadcrumbs: hit.document.breadcrumbs, - contentWithHighlights: highlighter.highlight(hit.document.title), - id: hit.document.url, - url: hit.document.url - })); -} -//#endregion -//#region src/search/orama/search/advanced.ts -async function searchAdvanced(db, query, tag = [], { mode = "fulltext", ...override } = {}) { - if (typeof tag === "string") tag = [ - tag - ]; - let params = { - ...override, - mode, - where: (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$core$2f$dist$2f$remove$2d$undefined$2d$Buxsprgu$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["t"])({ - tags: tag.length > 0 ? { - containsAll: tag - } : void 0, - ...override.where - }), - groupBy: { - properties: [ - "page_id" - ], - maxResult: 8, - ...override.groupBy - } - }; - if (query.length > 0) params = { - ...params, - term: query, - properties: mode === "fulltext" ? [ - "content" - ] : [ - "content", - "embeddings" - ] - }; - const highlighter = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$core$2f$dist$2f$search$2d$DzqmOjzV$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["t"])(query); - const result = await (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$search$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["search"])(db, params); - const list = []; - for (const item of result.groups ?? []){ - const pageId = item.values[0]; - const page = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$docs$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getByID"])(db, pageId); - if (!page) continue; - list.push({ - id: pageId, - type: "page", - content: page.content, - breadcrumbs: page.breadcrumbs, - contentWithHighlights: highlighter.highlight(page.content), - url: page.url - }); - for (const hit of item.result){ - if (hit.document.type === "page") continue; - list.push({ - id: hit.document.id.toString(), - content: hit.document.content, - breadcrumbs: hit.document.breadcrumbs, - contentWithHighlights: highlighter.highlight(hit.document.content), - type: hit.document.type, - url: hit.document.url - }); - } - } - return list; -} -; - //# sourceMappingURL=advanced-tbtFDsHU.js.map -}), -"[project]/node_modules/fumadocs-core/dist/static-C_WBOzek.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "search", - ()=>search -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$core$2f$dist$2f$advanced$2d$tbtFDsHU$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/fumadocs-core/dist/advanced-tbtFDsHU.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$locals$3e$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/index.js [app-client] (ecmascript) "); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$create$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/methods/create.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$serialization$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@orama/orama/dist/browser/methods/serialization.js [app-client] (ecmascript)"); -; -; -//#region src/search/client/static.ts -const cache = /* @__PURE__ */ new Map(); -async function loadDB({ from = "/api/search", initOrama = (locale)=>(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$create$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["create"])({ - schema: { - _: "string" - }, - language: locale - }) }) { - const cacheKey = from; - const cached = cache.get(cacheKey); - if (cached) return cached; - async function init() { - const res = await fetch(from); - if (!res.ok) throw new Error(`failed to fetch exported search indexes from ${from}, make sure the search database is exported and available for client.`); - const data = await res.json(); - const dbs = /* @__PURE__ */ new Map(); - if (data.type === "i18n") { - await Promise.all(Object.entries(data.data).map(async ([k, v])=>{ - const db$1 = await initOrama(k); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$serialization$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["load"])(db$1, v); - dbs.set(k, { - type: v.type, - db: db$1 - }); - })); - return dbs; - } - const db = await initOrama(); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$orama$2f$orama$2f$dist$2f$browser$2f$methods$2f$serialization$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["load"])(db, data); - dbs.set("", { - type: data.type, - db - }); - return dbs; - } - const result = init(); - cache.set(cacheKey, result); - return result; -} -async function search(query, options) { - const { tag, locale } = options; - const db = (await loadDB(options)).get(locale ?? ""); - if (!db) return []; - if (db.type === "simple") return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$core$2f$dist$2f$advanced$2d$tbtFDsHU$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["n"])(db, query); - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$core$2f$dist$2f$advanced$2d$tbtFDsHU$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["t"])(db.db, query, tag); -} -; - //# sourceMappingURL=static-C_WBOzek.js.map -}), -]); - -//# sourceMappingURL=node_modules_57225b64._.js.map \ No newline at end of file diff --git a/.next/dev/static/chunks/node_modules_57225b64._.js.map b/.next/dev/static/chunks/node_modules_57225b64._.js.map deleted file mode 100644 index 458e71a..0000000 --- a/.next/dev/static/chunks/node_modules_57225b64._.js.map +++ /dev/null @@ -1,52 +0,0 @@ -{ - "version": 3, - "sources": [], - "sections": [ - {"offset": {"line": 4, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/fumadocs-core/dist/search-DzqmOjzV.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/fumadocs-core/src/search/index.ts"],"sourcesContent":["import type { ReactNode } from 'react';\n\nexport interface SortedResult {\n id: string;\n url: string;\n type: 'page' | 'heading' | 'text';\n content: Content;\n\n /**\n * breadcrumbs to be displayed on UI\n */\n breadcrumbs?: Content[];\n contentWithHighlights?: HighlightedText[];\n}\n\nexport type ReactSortedResult = SortedResult;\n\nexport interface HighlightedText {\n type: 'text';\n content: Content;\n styles?: {\n highlight?: boolean;\n };\n}\n\nfunction escapeRegExp(input: string): string {\n return input.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\$&');\n}\n\nfunction buildRegexFromQuery(q: string): RegExp | null {\n const trimmed = q.trim();\n if (trimmed.length === 0) return null;\n const terms = Array.from(\n new Set(\n trimmed\n .split(/\\s+/)\n .map((t) => t.trim())\n .filter(Boolean),\n ),\n );\n if (terms.length === 0) return null;\n const escaped = terms.map(escapeRegExp).join('|');\n return new RegExp(`(${escaped})`, 'gi');\n}\n\nexport function createContentHighlighter(query: string | RegExp) {\n const regex = typeof query === 'string' ? buildRegexFromQuery(query) : query;\n\n return {\n highlight(content: string): HighlightedText[] {\n if (!regex) return [{ type: 'text', content }];\n const out: HighlightedText[] = [];\n\n let i = 0;\n for (const match of content.matchAll(regex)) {\n if (i < match.index) {\n out.push({\n type: 'text',\n content: content.substring(i, match.index),\n });\n }\n\n out.push({\n type: 'text',\n content: match[0],\n styles: {\n highlight: true,\n },\n });\n\n i = match.index + match[0].length;\n }\n\n if (i < content.length) {\n out.push({\n type: 'text',\n content: content.substring(i),\n });\n }\n\n return out;\n },\n };\n}\n"],"names":["out: HighlightedText[]"],"mappings":";;;;;AAyBA,SAAS,aAAa,KAAA,EAAuB;IAC3C,OAAO,MAAM,OAAA,CAAQ,uBAAuB,OAAO;;AAGrD,SAAS,oBAAoB,CAAA,EAA0B;IACrD,MAAM,UAAU,EAAE,IAAA,EAAM;IACxB,IAAI,QAAQ,MAAA,KAAW,EAAG,CAAA,OAAO;IACjC,MAAM,QAAQ,MAAM,IAAA,CAClB,IAAI,IACF,QACG,KAAA,CAAM,MAAM,CACZ,GAAA,CAAA,CAAK,IAAM,EAAE,IAAA,EAAM,CAAC,CACpB,MAAA,CAAO,QAAQ,CACnB,CACF;IACD,IAAI,MAAM,MAAA,KAAW,EAAG,CAAA,OAAO;IAC/B,MAAM,UAAU,MAAM,GAAA,CAAI,aAAa,CAAC,IAAA,CAAK,IAAI;IACjD,OAAO,IAAI,OAAO,CAAA,CAAA,EAAI,QAAQ,CAAA,CAAA,EAAI,KAAK;;AAGzC,SAAgB,yBAAyB,KAAA,EAAwB;IAC/D,MAAM,QAAQ,OAAO,UAAU,WAAW,oBAAoB,MAAM,GAAG;IAEvE,OAAO;QACL,WAAU,OAAA,EAAoC;YAC5C,IAAI,CAAC,MAAO,CAAA,OAAO;gBAAC;oBAAE,MAAM;oBAAQ;iBAAS;aAAC;YAC9C,MAAMA,MAAyB,EAAE;YAEjC,IAAI,IAAI;YACR,KAAK,MAAM,SAAS,QAAQ,QAAA,CAAS,MAAM,CAAE;gBAC3C,IAAI,IAAI,MAAM,KAAA,CACZ,CAAA,IAAI,IAAA,CAAK;oBACP,MAAM;oBACN,SAAS,QAAQ,SAAA,CAAU,GAAG,MAAM,KAAA,CAAM;iBAC3C,CAAC;gBAGJ,IAAI,IAAA,CAAK;oBACP,MAAM;oBACN,SAAS,KAAA,CAAM,EAAA;oBACf,QAAQ;wBACN,WAAW;oBAAA,CACZ;iBACF,CAAC;gBAEF,IAAI,MAAM,KAAA,GAAQ,KAAA,CAAM,EAAA,CAAG,MAAA;;YAG7B,IAAI,IAAI,QAAQ,MAAA,CACd,CAAA,IAAI,IAAA,CAAK;gBACP,MAAM;gBACN,SAAS,QAAQ,SAAA,CAAU,EAAE;aAC9B,CAAC;YAGJ,OAAO;;KAEV"}}, - {"offset": {"line": 60, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/fumadocs-core/dist/remove-undefined-Buxsprgu.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/fumadocs-core/src/utils/remove-undefined.ts"],"sourcesContent":["export function removeUndefined(value: T, deep = false): T {\n const obj = value as Record;\n\n for (const key in obj) {\n if (obj[key] === undefined) delete obj[key];\n if (!deep) continue;\n\n const entry = obj[key];\n\n if (typeof entry === 'object' && entry !== null) {\n removeUndefined(entry, deep);\n continue;\n }\n\n if (Array.isArray(entry)) {\n for (const item of entry) removeUndefined(item, deep);\n }\n }\n\n return value;\n}\n"],"names":[],"mappings":";;;;;AAAA,SAAgB,gBAAkC,KAAA,EAAU,OAAO,KAAA,EAAU;IAC3E,MAAM,MAAM;IAEZ,IAAK,MAAM,OAAO,IAAK;QACrB,IAAI,GAAA,CAAI,IAAA,KAAS,KAAA,EAAW,CAAA,OAAO,GAAA,CAAI,IAAA;QACvC,IAAI,CAAC,KAAM,CAAA;QAEX,MAAM,QAAQ,GAAA,CAAI,IAAA;QAElB,IAAI,OAAO,UAAU,YAAY,UAAU,MAAM;YAC/C,gBAAgB,OAAO,KAAK;YAC5B;;QAGF,IAAI,MAAM,OAAA,CAAQ,MAAM,CACtB,CAAA,KAAK,MAAM,QAAQ,MAAO,gBAAgB,MAAM,KAAK;;IAIzD,OAAO"}}, - {"offset": {"line": 85, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/@orama/orama/dist/browser/components/tokenizer/languages.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40orama/orama/src/components/tokenizer/languages.ts"],"sourcesContent":["unable to read source [project]/node_modules/@orama/orama/src/components/tokenizer/languages.ts"],"names":[],"mappings":";;;;;;;;;;AAAO,MAAM,QAAQ,GAA2B;IAC9C,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,SAAS,EAAE,IAAI;IACf,KAAK,EAAE,IAAI;IACX,MAAM,EAAE,IAAI;IACZ,KAAK,EAAE,IAAI;IACX,OAAO,EAAE,IAAI;IACb,OAAO,EAAE,IAAI;IACb,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,IAAI;IACZ,KAAK,EAAE,IAAI;IACX,SAAS,EAAE,IAAI;IACf,MAAM,EAAE,IAAI;IACZ,UAAU,EAAE,IAAI;IAChB,KAAK,EAAE,IAAI;IACX,OAAO,EAAE,IAAI;IACb,UAAU,EAAE,IAAI;IAChB,MAAM,EAAE,IAAI;IACZ,SAAS,EAAE,IAAI;IACf,UAAU,EAAE,IAAI;IAChB,QAAQ,EAAE,IAAI;IACd,OAAO,EAAE,IAAI;IACb,OAAO,EAAE,IAAI;IACb,SAAS,EAAE,IAAI;IACf,OAAO,EAAE,IAAI;IACb,OAAO,EAAE,IAAI;IACb,KAAK,EAAE,IAAI;IACX,OAAO,EAAE,IAAI;IACb,SAAS,EAAE,IAAI;IACf,QAAQ,EAAE,IAAI;CACf,CAAA;AAEM,MAAM,SAAS,GAA6B;IACjD,KAAK,EAAE,4BAA4B;IACnC,OAAO,EAAE,4BAA4B;IACrC,MAAM,EAAE,gCAAgC;IACxC,OAAO,EAAE,4BAA4B;IACrC,SAAS,EAAE,4BAA4B;IACvC,UAAU,EAAE,oBAAoB;IAChC,OAAO,EAAE,uBAAuB;IAChC,OAAO,EAAE,4BAA4B;IACrC,OAAO,EAAE,yBAAyB;IAClC,MAAM,EAAE,yBAAyB;IACjC,OAAO,EAAE,mBAAmB;IAC5B,MAAM,EAAE,qBAAqB;IAC7B,SAAS,EAAE,iCAAiC;IAC5C,QAAQ,EAAE,yBAAyB;IACnC,OAAO,EAAE,yBAAyB;IAClC,OAAO,EAAE,2BAA2B;IACpC,UAAU,EAAE,iCAAiC;IAC7C,MAAM,EAAE,kBAAkB;IAC1B,MAAM,EAAE,kBAAkB;IAC1B,KAAK,EAAE,yBAAyB;IAChC,MAAM,EAAE,kBAAkB;IAC1B,QAAQ,EAAE,kBAAkB;IAC5B,KAAK,EAAE,qBAAqB;IAC5B,UAAU,EAAE,eAAe;IAC3B,SAAS,EAAE,2BAA2B;IACtC,SAAS,EAAE,qBAAqB;IAChC,SAAS,EAAE,qBAAqB;IAChC,KAAK,EAAE,kBAAkB;IACzB,QAAQ,EAAE,oCAAoC;IAC9C,KAAK,EAAE,+CAA+C;CACvD,CAAA;AAEM,MAAM,mBAAmB,GAAG,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAA;AAElD,SAAU,SAAS,CAAC,QAA4B;IACpD,OAAO,QAAQ,KAAK,SAAS,IAAI,mBAAmB,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CAAA;AAC1G,CAAC"}}, - {"offset": {"line": 167, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/@orama/orama/dist/browser/utils.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40orama/orama/src/utils.ts"],"sourcesContent":["unable to read source [project]/node_modules/@orama/orama/src/utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2FgB;AA1FhB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,EAAE,MAAM,CAAC,EAAE,CAAC,CAAC,CAAA;IACrC,CAAC,MAAM,CAAC;QACN,MAAM,KAAK,GAAG,EAAE,GAAG,CAAC,IAAI,EAAE,GAAG,QAAQ,CAAA;QACrC,IAAI,KAAK,KAAK,KAAK,EAAE,CAAC;YACpB,IAAI,OAAO,EAAE,KAAK,QAAQ,IAAI,OAAO,EAAE,KAAK,QAAQ,EAAE,CAAC;gBACrD,MAAM,SAAS,CAAC,4BAA4B,CAAC,CAAA;YAC/C,CAAC;YACD,MAAM,UAAU,CAAC,0EAA0E,CAAC,CAAA;QAC9F,CAAC;QACD,MAAM,MAAM,GAAG,IAAI,CAAC,GAAG,EAAE,GAAG,MAAM,CAAC,EAAE,CAAC,CAAA;QACtC,MAAO,MAAM,GAAG,IAAI,CAAC,GAAG,EAAE,CAAE,CAAC;QAC3B,SAAA,EAAW,CACb,CAAC;IACH,CAAC;AACH,CAAC"}}, - {"offset": {"line": 613, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/@orama/orama/dist/browser/errors.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40orama/orama/src/errors.ts"],"sourcesContent":["unable to read source [project]/node_modules/@orama/orama/src/errors.ts"],"names":[],"mappings":";;;;AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAA;AACzE,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;;;AAEpC,MAAM,YAAY,GAAG,qNAAmB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;AAEtD,MAAM,MAAM,GAAG;IACb,iCAAiC,EAAE,0EAA0E;IAC7G,sBAAsB,EAAE,CAAA,8DAAA,EAAiE,YAAY,EAAE;IACvG,6BAA6B,EAAE,CAAA,2CAAA,CAA6C;IAC5E,eAAe,EAAE,CAAA,4QAAA,CAA8Q;IAC/R,2CAA2C,EAAE,oDAAoD;IACjG,qBAAqB,EAAE,CAAA,2BAAA,CAA6B;IACpD,0BAA0B,EAAE,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A,4FAAA,CAA8F;IAC9G,6BAA6B,EAAE,CAAA,wPAAA,CAA0P;IACzR,sCAAsC,EAAE,CAAA,kQAAA,CAAoQ;IAC5S,4CAA4C,EAAE,CAAA,sGAAA,CAAwG;IACtJ,yBAAyB,EAAE,CAAA,gFAAA,CAAkF;CAC9G,CAAA;AAQK,SAAU,WAAW,CAAC,IAAe,EAAE,GAAG,IAA4B;IAC1E,MAAM,KAAK,GAAG,IAAI,KAAK,KAAC,0KAAO,EAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAA,8BAAA,EAAiC,IAAI,EAAE,EAAE,GAAG,IAAI,CAAC,CAAe,CAAA;IAChH,KAAK,CAAC,IAAI,GAAG,IAAI,CAAA;IACjB,IAAI,mBAAmB,IAAI,KAAK,CAAC,SAAS,EAAE,CAAC;QAC3C,KAAK,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAAA;IAChC,CAAC;IAED,OAAO,KAAK,CAAA;AACd,CAAC"}}, - {"offset": {"line": 677, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/@orama/orama/dist/browser/components/defaults.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40orama/orama/src/components/defaults.ts"],"sourcesContent":["unable to read source [project]/node_modules/@orama/orama/src/components/defaults.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AACA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAY1C,OAAO,EAAE,iBAAiB,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;;;;AAInD,SAAU,iBAAiB,CAAC,CAAS;IACzC,OAAO;QACL,GAAG,EAAE,MAAM,CAAC,CAAC,CAAC;QACd,SAAS,MAAE,oLAAiB,EAAC,CAAC,CAAC;KAChC,CAAA;AACH,CAAC;AAEK,SAAU,kBAAkB,CAAC,GAAgB;IACjD,IAAI,GAAG,CAAC,EAAE,EAAE,CAAC;QACX,IAAI,OAAO,GAAG,CAAC,EAAE,KAAK,QAAQ,EAAE,CA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IAAI,CAAA;IACf,CAAC;AACH,CAAC"}}, - {"offset": {"line": 817, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/@orama/orama/dist/browser/components/internal-document-id-store.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40orama/orama/src/components/internal-document-id-store.ts"],"sourcesContent":["unable to read source [project]/node_modules/@orama/orama/src/components/internal-document-id-store.ts"],"names":[],"mappings":";;;;;;;;;;;;AAYM,SAAU,6BAA6B;IAC3C,OAAO;QACL,cAAc,EAAE,IAAI,GAAG,EAAE;QACzB,cAAc,EAAE,EAAE;QAClB,IAAI;QACJ,IAAI;KACL,CAAA;AACH,CAAC;AAEK,SAAU,IAAI,CAAC,KAA8B;IACjD,OAAO;QACL,cAAc,EAAE,KAAK,CAAC,cAAc;KACrC,CAAA;AACH,CAAC;AAEK,SAAU,IAAI,CAAqB,KAAQ,EAAE,GAAY;IAC7D,MAAM,EAAE,cAAc,EAAE,GAAG,GAA8B,CAAA;IAEzD,KAAK,CAAC,uBAAuB,CAAC,cAAc,CAAC,KAAK,EAAE,CAAA;IACpD,KAAK,CAAC,uBAAuB,CAAC,cAAc,GAAG,EAAE,CAAA;IACjD,MAAM,oBAAoB,GAAG,cAAc,CAAC,MAAM,CAAA;IAElD,IAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,oBAAoB,EAAE,CAAC,EAAE,CAAE,CAAC;QAC9C,MAAM,cAAc,GAAG,cAAc,CAAC,CAAC,CAAC,CAAA;QACxC,KAAK,CAAC,uBAAuB,CAAC,cAAc,CAAC,GAAG,CAAC,cAAc,EAAE,CAAC,GAAG,CAAC,CAAC,CAAA;QACvE,KAAK,CAAC,uBAAuB,CAAC,cAAc,CAAC,IAAI,CAAC,cAAc,CAAC,CAAA;IACnE,CAAC;AACH,CAAC;AAEK,SAAU,qBAAqB,CAAC,KAA8B,EAAE,EAAc;IAClF,IAAI,OAAO,EAAE,KAAK,QAAQ,EAAE,CAAC;QAC3B,MAAM,UAAU,GAAG,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE,CAAC,CAAA;QAE/C,IAAI,UAAU,EAAE,CAAC;YACf,OAAO,UAAU,CAAA;QACnB,CAAC;QAED,MAAM,SAAS,GAAG,KAAK,CAAC,cAAc,CAAC,IAAI,GAAG,CAAC,CAAA;QAE/C,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE,EAAE,SAAS,CAAC,CAAA;QACvC,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;QAE7B,OAAO,SAAS,CAAA;IAClB,CAAC;IAED,IAAI,EAAE,GAAG,KAAK,CAAC,cAAc,CAAC,MAAM,EAAE,CAAC;QACrC,OAAO,qBAAqB,CAAC,KAAK,EAAE,EAAE,CAAC,QAAQ,EAAE,CAAC,CAAA;IACpD,CAAC;IAED,OAAO,EAAE,CAAA;AACX,CAAC;AAEK,SAAU,2BAA2B,CAAC,KAA8B,EAAE,UAA8B;IACxG,IAAI,KAAK,CAAC,cAAc,CAAC,MAAM,GAAG,UAAU,EAAE,CAAC;QAC7C,MAAM,IAAI,KAAK,CAAC,CAAA,mBAAA,EAAsB,UAAU,EAAE,CAAC,CAAA;IACrD,CAAC;IAED,OAAO,KAAK,CAAC,cAAc,CAAC,UAAU,GAAG,CAAC,CAAC,CAAA;AAC7C,CAAC"}}, - {"offset": {"line": 879, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/@orama/orama/dist/browser/components/documents-store.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40orama/orama/src/components/documents-store.ts"],"sourcesContent":["unable to read source [project]/node_modules/@orama/orama/src/components/documents-store.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAEA,OAAO,EAIL,qBAAqB,EACtB,MAAM,iCAAiC,CAAA;;AAQlC,SAAU,MAAM,CAAqB,CAAI,EAAE,2BAAoD;IACnG,OAAO;QACL,2BAA2B;QAC3B,IAAI,EAAE,C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AAC,KAAK,CAAC,2BAA2B,EAAE,EAAE,CAAC,CAAA;IAE/E,IAAI,OAAO,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,KAAK,WAAW,EAAE,CAAC;QAClD,OAAO,KAAK,CAAA;IACd,CAAC;IAED,OAAO,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;IAC7B,KAAK,CAAC,KAAK,EAAE,CAAA;IAEb,OAAO,IAAI,CAAA;AACb,CAAC;AAEK,SAAU,KAAK,CAAC,KAAqB;IACzC,OAAO,KAAK,CAAC,KAAK,CAAA;AACpB,CAAC;AAEK,SAAU,IAAI,CAAc,2BAAoD,EAAE,GAAM;IAC5F,MAAM,WAAW,GAAG,GAAqB,CAAA;IAEzC,OAAO;QACL,IAAI,EAAE,WAAW,CAAC,IAAI;QACtB,KAAK,EAAE,WAAW,CAAC,KAAK;QACxB,2BAA2B;KAC5B,CAAA;AACH,CAAC;AAEK,SAAU,IAAI,CAAc,KAAqB;IACrD,OAAO;QACL,IAAI,EAAE,KAAK,CAAC,IAAI;QAChB,KAAK,EAAE,KAAK,CAAC,KAAK;KACd,CAAA;AACR,CAAC;AAEK,SAAU,oBAAoB;IAClC,OAAO;QACL,MAAM;QACN,GAAG;QACH,WAAW;QACX,MAAM;QACN,KAAK;QACL,MAAM;QACN,KAAK;QACL,IAAI;QACJ,IAAI;KACL,CAAA;AACH,CAAC"}}, - {"offset": {"line": 979, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/@orama/orama/dist/browser/components/plugins.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40orama/orama/src/components/plugins.ts"],"sourcesContent":["unable to read source [project]/node_modules/@orama/orama/src/components/plugins.ts"],"names":[],"mappings":";;;;;;AACA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;;AAInC,MAAM,sBAAsB,GAAG;IACpC,cAAc;IACd,aAAa;IACb,cAAc;IACd,aAAa;IACb,cAAc;IACd,aAAa;IACb,cAAc;IACd,aAAa;IACb,cAAc;IACd,aAAa;IACb,sBAAsB;IACtB,qBAAqB;IACrB,sBAAsB;IACtB,qBAAqB;IACrB,sBAAsB;IACtB,qBAAqB;IACrB,sBAAsB;IACtB,qBAAqB;IACrB,YAAY;IACZ,WAAW;IACX,aAAa;CACL,CAAA;AAEJ,SAAU,mBAAmB,CAAqB,KAAQ,EAAE,IAA0B;IAC1F,MAAM,YAAY,GAAkB,EAAE,CAAA;IACtC,MAAM,aAAa,GAAG,KAAK,CAAC,OAAO,EAAE,MAAM,CAAA;IAE3C,IAAI,CAAC,aAAa,EAAE,CAAC;QACnB,OAAO,YAAY,CAAA;IACrB,CAAC;IAED,IAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,aAAa,EAAE,CAAC,EAAE,CAAE,CAAC;QACvC,IAAI,CAAC;YACH,MAAM,MAAM,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAA;YAC/B,IAAI,OAAO,MAAM,CAAC,IAAI,CAAC,KAAK,UAAU,EAAE,CAAC;gBACvC,YAAY,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAgB,CAAC,CAAA;YAChD,CAAC;QACH,CAAC,CAAC,OAAO,KAAK,EAAE,CAAC;YACf,OAAO,CAAC,KAAK,CAAC,sCAAsC,EAAE,KAAK,CAAC,CAAA;YAC5D,UAAM,+KAAW,EAAC,gBAAgB,CAAC,CAAA;QACrC,CAAC;IACH,CAAC;IAED,OAAO,YAAY,CAAA;AACrB,CAAC"}}, - {"offset": {"line": 1033, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/@orama/orama/dist/browser/components/hooks.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40orama/orama/src/components/hooks.ts"],"sourcesContent":["unable to read source [project]/node_modules/@orama/orama/src/components/hooks.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAWA,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;;AAEtC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IAAI,SAAS,EAAE,CAAC;QACd,OAAO,CAAC,KAAK,IAAI,EAAE;YACjB,KAAK,MAAM,IAAI,IAAI,KAAK,CAAE,CAAC;gBACzB,MAAM,IAAI,CAAC,EAAE,CAAC,CAAA;YAChB,CAAC;QACH,CAAC,CAAC,EAAE,CAAA;IACN,CAAC,MAAM,CAAC;QACN,KAAK,MAAM,IAAI,IAAI,KAAK,CAAE,CAAC;YACzB,IAAI,CAAC,EAAE,CAAC,CAAA;QACV,CAAC;IACH,CAAC;AACH,CAAC"}}, - {"offset": {"line": 1141, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/@orama/orama/dist/browser/trees/avl.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40orama/orama/src/trees/avl.ts"],"sourcesContent":["unable to read source [project]/node_modules/@orama/orama/src/trees/avl.ts"],"names":[],"mappings":";;;;;;AAIM,MAAO,OAAO;IACX,CAAC,CAAG;IACJ,CAAC,CAAQ;IACT,CAAC,GAA4B,IAAI,CAAA;IACjC,CAAC,GAA4B,IAAI,CAAA;IACjC,CAAC,GAAW,CAAC,CAAA;IAEpB,YAAY,GAAM,EAAE,KAAU,CAAA;QAC5B,IAAI,CAAC,CAAC,GAAG,GAAG,CAAA;QACZ,IAAI,CAAC,CAAC,GAAG,IAAI,GAAG,CAAC,KAAK,CAAC,CAAA;IACzB,CAAC;IAEM,YAAY,GAAA;QACjB,IAAI,CAAC,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAA;IAC7E,CAAC;IAEM,MAAM,CAAC,SAAS,CAAO,IAA6B,EAAA;QACzD,OAAO,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;IAC1B,CAAC;IAEM,gBAAgB,GAAA;QACrB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tC,IAAI,OAAO,GAAG,IAAI,CAAC,IAAI,CAAA;QAEvB,MAAO,OAAO,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,CAAE,CAAC;YACnC,MAAO,OAAO,CAAE,CAAC;gBACf,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;gBACnB,OAAO,GAAG,OAAO,CAAC,CAAC,CAAA;YACrB,CAAC;YACD,OAAO,GAAG,KAAK,CAAC,GAAG,EAAG,CAAA;YACtB,IAAI,AAAC,SAAS,IAAI,OAAO,CAAC,CAAC,IAAI,GAAG,CAAC,GAAK,CAAC,AAAF,SAAW,IAAI,OAAO,CAAC,CAAC,GAAG,GAAG,CAAC,CAAE,CAAC;gBACvE,KAAK,MAAM,KAAK,IAAI,OAAO,CAAC,CAAC,CAAE,CAAC;oBAC9B,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,CAAA;gBACnB,CAAC;YACH,CAAC,MAAM,IAAI,OAAO,CAAC,CAAC,GAAG,GAAG,EAAE,CAAC;gBAC3B,MAAK,CAAC,gEAAgE;YACxE,CAAC;YACD,OAAO,GAAG,OAAO,CAAC,CAAC,CAAA;QACrB,CAAC;QAED,OAAO,MAAM,CAAA;IACf,CAAC;CACF"}}, - {"offset": {"line": 1549, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/@orama/orama/dist/browser/trees/flat.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40orama/orama/src/trees/flat.ts"],"sourcesContent":["unable to read source [project]/node_modules/@orama/orama/src/trees/flat.ts"],"names":[],"mappings":";;;;AAGM,MAAO,QAAQ;IACnB,kBAAkB,CAAqD;IAEvE,aAAA;QACE,IAAI,CAAC,kBAAkB,GAAG,IAAI,GAAG,EAAE,CAAA;IACrC,CAAC;IAED,MAAM,CAAC,GAA0B,EAAE,KAAyB,EAAA;QAC1D,IAAI,IAAI,CAAC,kBAAkB,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC;YACrC,IAAI,C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,CAAC,kBAAkB,CAAC,GAAG,CAAC,GAAG,EAAE,IAAI,GAAG,CAAC,GAAG,CAAC,CAAC,CAAA;QAChD,CAAC;QACD,OAAO,IAAI,CAAA;IACb,CAAC;IAED,MAAM,GAAA;QACJ,OAAO;YACL,kBAAkB,EAAE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,kBAAkB,CAAC,OAAO,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,CAAG,CAAD;oBAAE,GAAG;oBAAE,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC;iBAAC,CAAC;SAClH,CAAA;IACH,CAAC;CACF"}}, - {"offset": {"line": 1696, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/@orama/orama/dist/browser/components/levenshtein.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40orama/orama/src/components/levenshtein.ts"],"sourcesContent":["unable to read source [project]/node_modules/@orama/orama/src/components/levenshtein.ts"],"names":[],"mappings":";;;;;;;;AAKA;;;GAGG,CACH,SAAS,mBAAmB,CAAC,IAAY,EAAE,IAAY,EAAE,SAAiB;IACxE,oBAAoB;IACpB,IAAI,SAAS,GAAG,CAAC,EAAE,OAAO,CAAC,CAAC,CAAA;IAC5B,IAAI,IAAI,KAAK,IAAI,EAAE,OAAO,CAAC,CAAA;IAE3B,MAAM,CAAC,GAAG,IAAI,CAAC,MAAM,CAAA;IACrB,MAAM,CAAC,GAAG,IAAI,CAAC,MAAM,CAAA;IAErB,iCAAiC;IACjC,IAAI,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,IAAI,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;IAC3C,IAAI,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,IAAI,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;IAE3C,4BAA4B;IAC5B,4BAA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AM,CAAC;gBACN,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,IAAI,GAAG,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAA;YAChE,CAAC;YAED,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,IAAI,CAAA;YACjB,IAAI,GAAG,GAAG,CAAA;QACZ,CAAC;QACD,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,IAAI,CAAA;IACtB,CAAC;IAED,OAAO,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,CAAA;AACtB,CAAC"}}, - {"offset": {"line": 1810, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/@orama/orama/dist/browser/trees/radix.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40orama/orama/src/trees/radix.ts"],"sourcesContent":["unable to read source [project]/node_modules/@orama/orama/src/trees/radix.ts"],"names":[],"mappings":";;;;;;AAAA,mDAAA,EAAqD,CACrD,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAA;AAErE,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;;;AAUtC,MAAO,SAAS;IACpB,WAAW;IACJ,CAAC,CAAQ;IAChB,eAAe;IACR,CAAC,CAAQ;IAChB,gBAAgB;IACT,CAAC,GAA2B,IAAI,GAAG,EAAE,CAAA;IAC5C,iBAAiB;IACV,CAAC,GAA4B,IAAI,GAAG,EAAE,CAAA;IAC7C,WAAW;IACJ,CAAC,CAAS;IACjB,YAAY;IACL,CAAC,GAAG,EAAE,CAAA;IAEb,YAAY,GAAW,EAAE,OAAe,EAAE,GAAY,CAAA;QACpD,IAAI,CAAC,CAAC,GAAG,GAAG,CAAA;QACZ,IAAI,CAAC,CAAC,GAAG,OAAO,CAAA;QAChB,IAAI,CAAC,CAAC,GAAG,G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ACX,OAAO,KAAK,CAAC,MAAM,EAAE,CAAA;IACvB,CAAC;CACF"}}, - {"offset": {"line": 2226, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/@orama/orama/dist/browser/trees/bkd.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40orama/orama/src/trees/bkd.ts"],"sourcesContent":["unable to read source [project]/node_modules/@orama/orama/src/trees/bkd.ts"],"names":[],"mappings":";;;;AAoBA,MAAM,CAAC,GAAG,CAAC,CAAA,CAAC,YAAY;AACxB,MAAM,YAAY,GAAG,MAAM,CAAA,CAAC,yBAAyB;AAErD,MAAM,OAAO;IACX,KAAK,CAAO;IACZ,MAAM,CAAyB;IAC/B,IAAI,CAAmB;IACvB,KAAK,CAAmB;IACxB,MAAM,CAAmB;IAEzB,YAAY,KAAY,EAAE,MAA6B,CAAA;QACrD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAA;QAClB,IAAI,CAAC,MAAM,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,CAAA;QAC7B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;QAChB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAA;QACjB,IAAI,CAAC,MAAM,GAAG,IAAI,CAAA;IACpB,CAAC;IAED,MAAM,GAAA;QACJ,OAAO;YACL,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,MAAM,EAAE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC;YAC/B,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,IAAI;YAC3C,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,IAAI;SAC/C,CAAA;IACH,CAAC;IAED,MAAM,CAAC,QAAQ,CAAC,IAAS,EAAE,SAA4B,IAAI,EAAA;QACzD,MA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modules/@orama/orama/dist/browser/trees/bool.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40orama/orama/src/trees/bool.ts"],"sourcesContent":["unable to read source [project]/node_modules/@orama/orama/src/trees/bool.ts"],"names":[],"mappings":";;;;AAAM,MAAO,QAAQ;IACnB,IAAI,CAAQ;IACZ,KAAK,CAAQ;IAEb,aAAA;QACE,IAAI,CAAC,IAAI,GAAG,IAAI,GAAG,EAAE,CAAA;QACrB,IAAI,CAAC,KAAK,GAAG,IAAI,GAAG,EAAE,CAAA;IACxB,CAAC;IAED,MAAM,CAAC,KAAQ,EAAE,IAAa,EAAA;QAC5B,IAAI,IAAI,EAAE,CAAC;YACT,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,CAAA;QACtB,CAAC,MAAM,CAAC;YACN,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,CAAA;QACvB,CAAC;IACH,CAAC;IAED,MAAM,CAAC,KAAQ,EAAE,IAAa,EAAA;QAC5B,IAAI,IAAI,EAAE,CAAC;YACT,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;QACzB,CAAC,MAAM,CAAC;YACN,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;QAC1B,CAAC;IACH,CAAC;IAED,OAAO,GAAA;QACL,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAA;IACzC,CAAC;IAED,MAAM,GAAA;QACJ,OAAO;YACL,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC;YAC3B,KAAK,EAAE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC;SAC9B,CAAA;IACH,CAAC;IAED,MAAM,CAAC,QAAQ,CAAI,IAAS,EAAA;QAC1B,MAAM,IAAI,GAAG,IAAI,QAAQ,EAAK,CAAA;QAC9B,IAAI,CAAC,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;QAC9B,IAAI,CAAC,KAAK,GAAG,IAAI,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;QAChC,OAAO,IAAI,CAAA;IACb,CAAC;CACF"}}, - {"offset": {"line": 2625, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/@orama/orama/dist/browser/components/algorithms.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40orama/orama/src/components/algorithms.ts"],"sourcesContent":["unable to read source [project]/node_modules/@orama/orama/src/components/algorithms.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;;AAIpC,SAAU,qBAAqB,CACnC,MAAsB,EACtB,KAAa,EACb,SAAS,GAAG,CAAC,EACb,aAAqB;IAErB,IAAI,KAAK,KAAK,CAAC,EAAE,CAAC;QAChB,UAAM,+KAAW,EAAC,qBAAqB,CAAC,CAAA;IAC1C,CAAC;IAED,MAAM,cAAc,GAAG,IAAI,GAAG,EAAwC,CAAA;IAEtE,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,CAAA;IAChC,IAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,UAAU,EAAE,CAAC,EAAE,CAAE,CAAC;QACpC,MAAM,GAAG,GAAG,MAAM,CAAC,CAAC,CAAC,CAAA;QAErB,MAAM,aAAa,GAAG,GAAG,CAAC,MAAM,CAAA;QAChC,IAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,aAAa,EAAE,CAAC,EAAE,CAAE,CAAC;YACvC,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,CAAA;YAC7B,MAAM,UAAU,GAAG,KAAK,GAAG,KAAK,CAAA;YAChC,MAAM,QAAQ,GAAG,cAAc,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC,C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AC,CAAC,CAAC,EAAG,CAAC,EAAE,GAAG,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,GAAG,AAAC,CAAC,GAAG,WAAW,CAAC,EAAG,kBAAkB,CAAC,CAAC,CAAA;AACjG,CAAC"}}, - {"offset": {"line": 2740, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/@orama/orama/dist/browser/trees/vector.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40orama/orama/src/trees/vector.ts"],"sourcesContent":["unable to read source [project]/node_modules/@orama/orama/src/trees/vector.ts"],"names":[],"mappings":";;;;;;;;;;AAQO,MAAM,kBAAkB,GAAG,GAAG,CAAA;AAE/B,MAAO,WAAW;IAGH,KAAA;IAFX,OAAO,GAAqD,IAAI,GAAG,EAAE,CAAA;IAE7E,YAAmB,IAAY,CAAA;QAAZ,IAAA,CAAA,IAAI,GAAJ,IAAI,CAAQ;IAAG,CAAC;IAEnC,GAAG,CAAC,kBAAsC,EAAE,KAAqB,EAAA;QAC/D,IAAI,CAAC,CAAC,KAAK,YAAY,YAAY,CAAC,EAAE,CAAC;YACrC,KAAK,GAAG,IAAI,YAAY,CAAC,KAAK,CAAC,CAAA;QACjC,CAAC;QAED,MAAM,SAAS,GAAG,YAAY,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,CAAC,CAAA;QAChD,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE;YAAC,SAAS;YAAE,KAAK;SAAC,CAAC,CAAA;IAC1D,CAAC;IAED,MAAM,CAAC,kBAAsC,EAAA;QAC3C,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAA;IACzC,CAAC;IAED,IAAI,CACF,MAAsB,EACtB,UAAkB,EAClB,eAAoD,EAAA;QAEpD,IAAI,CAAC,CAAC,MAAM,YAAY,YAAY,CAAC,EAAE,CAAC;YACtC,MAAM,GAAG,IAAI,YAAY,CAAC,MAAM,CAAC,CAAA;QACnC,CAAC;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CAAA;IACpC,CAAC;IACD,OAAO,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA;AAC7B,CAAC;AAGK,SAAU,kBAAkB,CAChC,YAA0B,EAC1B,IAAyC,EACzC,OAAyD,EACzD,MAAc,EACd,SAAS;IAET,MAAM,eAAe,GAAG,YAAY,CAAC,YAAY,EAAE,MAAM,CAAC,CAAA;IAE1D,MAAM,cAAc,GAAoB,EAAE,CAAA;IAE1C,MAAM,IAAI,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,CAAA;IAEzC,KAAK,MAAM,QAAQ,IAAI,IAAI,CAAE,CAAC;QAC5B,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAA;QACnC,IAAI,CAAC,KAAK,EAAE,CAAC;YACX,SAAQ;QACV,CAAC;QACD,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAA;QAC1B,MAAM,MAAM,GAAG,KAAK,CAAC,CAAC,CAAC,CAAA;QAEvB,IAAI,UAAU,GAAG,CAAC,CAAA;QAClB,IAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,MAAM,EAAE,CAAC,EAAE,CAAE,CAAC;YAChC,UAAU,IAAI,YAAY,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC,CAAC,CAAA;QAC3C,CAAC;QAED,MAAM,UAAU,GAAG,UAAU,GAAG,CAAC,eAAe,GAAG,SAAS,CAAC,CAAA;QAE7D,IAAI,UAAU,IAAI,SAAS,EAAE,CAAC;YAC5B,cAAc,CAAC,IAAI,CAAC;gBAAC,QAAQ;gBAAE,UAAU;aAAC,CAAC,CAAA;QAC7C,CAAC;IACH,CAAC;IAED,OAAO,cAAc,CAAA;AACvB,CAAC"}}, - {"offset": {"line": 2841, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/@orama/orama/dist/browser/components/index.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40orama/orama/src/components/index.ts"],"sourcesContent":["unable to read source [project]/node_modules/@orama/orama/src/components/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuBA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC1C,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAC7C,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAE3C,OAAO,EAAE,uBAAuB,EAAE,eAAe,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAC/F,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AACtC,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AACtF,OAAO,EAEL,qBAAqB,EAGtB,MAAM,iCAAiC,CAAA;AACxC,OAAO,EAAE,WAAW,EAAc,MAAM,oBAAoB,CAAA;;;;;;;;;;;;AAuCtD,SAAU,6BAA6B,CAC3C,KAAY,EACZ,IAAY,EACZ,EAAc,EACd,MAAgB,EAChB,SAAiB;IAEjB,MAAM,UAAU,OAAG,oOAAqB,EAAC,KAAK,CAAC,2BAA2B,EAAE,EAAE,CAAC,CAAA;IAE/E,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,SAAS,GAAG,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,GAAG,SAAS,CAAA;IAC9G,KAAK,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,UAAU,CAAC,GA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I,SAAS,IAAI,SAAS,EAAE,CAAC;QAClC,MAAM,EACJ,WAAW,EACX,MAAM,GAAG,IAAI,EACb,aAAa,GAAG,KAAK,EACtB,GAAG,SAAS,CAAC,OAA8C,CAAA;QAE5D,OAAO,GAAG,OAAO,CAAC,eAAe,CAAC,WAAsB,EAAE,MAAM,EAAE,KAAK,EAAE,aAAa,CAAC,CAAA;QACvF,MAAM,QAAQ,GAAG,iLAAO,CAAC,wBAAwB,CAAC,WAAsB,CAAC,CAAA;QAEzE,OAAO,oBAAoB,CAAC,OAAO,EAAE,QAAQ,EAAE,aAAa,CAAC,CAAA;IAC/D,CAAC;IAED,OAAO,IAAI,CAAA;AACb,CAAC;AAED,SAAS,aAAa,CACpB,GAAwC,EACxC,kBAA8B;IAE9B,IAAI,CAAC,GAAG,EAAE,CAAC;QACT,GAAG,GAAG,IAAI,GAAG,EAAE,CAAA;IACjB,CAAC;IAED,MAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAA;IAC5C,MAAM,UAAU,GAAG,IAAI,CAAC,MAAM,CAAA;IAC9B,IAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,UAAU,EAAE,CAAC,EAAE,CAAE,CAAC;QACpC,MAAM,GAAG,GAAG,kBAAkB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAA;QACvC,MAAM,SAAS,GAAG,GAAG,CAAC,MAAM,CAAA;QAC5B,IAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,SAAS,EAAE,CAAC,EAAE,CAAE,CAAC;YACnC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAA;QACjB,CAAC;IACH,CAAC;IAED,OAAO,GAAG,CAAA;AACZ,CAAC"}}, - {"offset": {"line": 3630, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/@orama/orama/dist/browser/components/sorter.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40orama/orama/src/components/sorter.ts"],"sourcesContent":["unable to read source [project]/node_modules/@orama/orama/src/components/sorter.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAW1C,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAC5C,OAAO,EAEL,qBAAqB,EAGtB,MAAM,iCAAiC,CAAA;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAA;;;;;;AAuBpD,SAAS,WAAW,CAClB,KAAQ,EACR,2BAAoD,EACpD,MAAmB,EACnB,wBAAkC,EAClC,MAAc;IAEd,MAAM,MAAM,GAAW;QACrB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC,QAAQ;QAClC,2BAA2B;QAC3B,OAAO,EAAE,IAAI;QACb,QAAQ,EAAE,IAAI;QACd,kBAAkB,EAAE,EAAE;QACtB,2BAA2B,EAAE,CAAA,CAAE;QAC/B,KAAK,EAAE,CAAA,CAAE;KACV,CAAA;IAED,KAAK,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,MAAM,CAAC,OAAO,CAAiB,MAAM,CAAC,CAAE,CAAC;QAClE,MAAM,IAAI,GAAG,GAAG,MAAM,GAAG,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,GAAG,IAAI,EAAE,CAAA;QAEnD,IAAI,wBAAwB,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC;YAC5C,SAAQ;QACV,CAAC;QAED,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC;YACrD,SAAS;YACT,MAAM,GAAG,GAAG,WAAW,CAAC,KAAK,EAAE,2BAA2B,EAAE,IAAI,EAAE,wBAAwB,EAAE,IAAI,CAAC,CAAA;gBACjG,gLAAa,EAAC,M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,CAAC,OAAO,EAAE,CAAC;YACxC,WAAW;YACX,IAAI;SACL,CAAA;QAED,OAAO,GAAG,CAAA;IACZ,CAAC,EACD,CAAA,CAAyE,CAC1E,CAAA;IAED,OAAO;QACL,QAAQ,EAAE,MAAM,CAAC,QAAQ;QACzB,kBAAkB,EAAE,MAAM,CAAC,kBAAkB;QAC7C,2BAA2B,EAAE,MAAM,CAAC,2BAA2B;QAC/D,KAAK;QACL,OAAO,EAAE,MAAM,CAAC,OAAO;QACvB,QAAQ,EAAE,MAAM,CAAC,QAAQ;KACrB,CAAA;AACR,CAAC;AAEK,SAAU,YAAY;IAC1B,OAAO;QACL,MAAM;QACN,MAAM;QACN,MAAM;QACN,IAAI;QACJ,IAAI;QACJ,MAAM;QACN,qBAAqB;QACrB,8BAA8B;KAC/B,CAAA;AACH,CAAC"}}, - {"offset": {"line": 3918, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/@orama/orama/dist/browser/components/tokenizer/diacritics.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40orama/orama/src/components/tokenizer/diacritics.ts"],"sourcesContent":["unable to read source [project]/node_modules/@orama/orama/src/components/tokenizer/diacritics.ts"],"names":[],"mappings":";;;;AAAA,MAAM,yBAAyB,GAAG,GAAG,CAAA;AACrC,MAAM,uBAAuB,GAAG,GAAG,CAAA;AAEnC,MAAM,wBAAwB,GAAG;IAC/B,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,IAAI;IACJ,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,GAAG;IACH,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,IAAI;IACJ,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,GAAG;CACJ,CAAA;AAED,SAAS,WAAW,CAAC,QAAgB;IACnC,IAAI,QAAQ,GAAG,yBAAyB,IAAI,QAAQ,GAAG,uBAAuB,EAAE,OAAO,QAAQ,CAAA;IAE/F,mBAAA,EAAqB,CACrB,OAAO,wBAAwB,CAAC,QAAQ,GAAG,yBAAyB,CAAC,IAAI,QAAQ,CAAA;AACnF,CAAC;AAEK,SAAU,iBAAiB,CAAC,GAAW;IAC3C,MAAM,cAAc,GAAa,EAAE,CAAA;IACnC,IAAK,IAAI,GAAG,GAAG,CAAC,EAAE,GAAG,GAAG,GAAG,CAAC,MAAM,EAAE,GAAG,EAAE,CAAE,CAAC;QAC1C,cAAc,CAAC,GAAG,CAAC,GAAG,WAAW,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAA;IACxD,CAAC;IACD,OAAO,MAAM,CAAC,YAAY,CAAC,GAAG,cAAc,CAAC,CAAA;AAC/C,CAAC"}}, - {"offset": {"line": 4133, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/@orama/orama/dist/browser/components/tokenizer/english-stemmer.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40orama/orama/src/components/tokenizer/english-stemmer.ts"],"sourcesContent":["unable to read source [project]/node_modules/@orama/orama/src/components/tokenizer/english-stemmer.ts"],"names":[],"mappings":";;;;AAAA,6DAA6D;AAC7D,cAAc;AAEd,MAAM,SAAS,GAAG;IAChB,OAAO,EAAE,KAAK;IACd,MAAM,EAAE,MAAM;IACd,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,KAAK;IACX,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,IAAI;IACV,KAAK,EAAE,KAAK;IACZ,GAAG,EAAE,GAAG;IACR,KAAK,EAAE,KAAK;IACZ,OAAO,EAAE,KAAK;IACd,KAAK,EAAE,KAAK;IACZ,IAAI,EAAE,KAAK;IACX,KAAK,EAAE,IAAI;IACX,OAAO,EAAE,KAAK;IACd,OAAO,EAAE,KAAK;IACd,OAAO,EAAE,KAAK;IACd,KAAK,EAAE,IAAI;IACX,KAAK,EAAE,KAAK;IACZ,MAAM,EAAE,KAAK;IACb,IAAI,EAAE,KAAK;CACZ,CAAA;AAED,MAAM,SAAS,GAAG;IAChB,KAAK,EAAE,IAAI;IACX,KAAK,EAAE,EAAE;IACT,KAAK,EAAE,IAAI;IACX,KAAK,EAAE,IAAI;IACX,IAAI,EAAE,IAAI;IACV,GAAG,EAAE,EAAE;IACP,IAAI,EAAE,EAAE;CACT,CAAA;AAED,YAAY;AACZ,MAAM,CAAC,GAAG,UAAU,CAAA;AACpB,QAAQ;AACR,MAAM,CAAC,GAAG,UAAU,CAAA;AACpB,qBAAqB;AACrB,MAAM,CAAC,GAAG,CAAC,GAAG,YAAY,CAAA;AAC1B,iBAAiB;AACjB,MAAM,CAAC,GAAG,CAAC,GAAG,UAAU,CAAA;AAExB,kBAAkB;AAClB,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,GAAG,IAAI,GAAG,CAAC,GAAG,CAAC,CAAA;AACpC,kBAAkB;AAClB,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,GAAG,IAAI,GAAG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C,CAAA;QACd,EAAE,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,CAAA;QACrB,GAAG,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,CAAA;QACtB,GAAG,GAAG,IAAI,MAAM,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,GAAG,cAAc,CAAC,CAAA;QAC9C,IAAI,IAAI,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,AAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,AAAC,CAAC,EAAE,CAAC;YACnE,CAAC,GAAG,IAAI,CAAA;QACV,CAAC;IACH,CAAC;IAED,EAAE,GAAG,KAAK,CAAA;IACV,GAAG,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,CAAA;IACtB,IAAI,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC;QAC9B,EAAE,GAAG,IAAI,CAAA;QACT,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,EAAE,EAAE,EAAE,CAAC,CAAA;IACvB,CAAC;IAED,IAAI,OAAO,IAAI,GAAG,EAAE,CAAC;QACnB,CAAC,GAAG,OAAO,CAAC,WAAW,EAAE,GAAG,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAA;IAC5C,CAAC;IAED,OAAO,CAAC,CAAA;AACV,CAAC"}}, - {"offset": {"line": 4314, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/@orama/orama/dist/browser/components/tokenizer/index.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40orama/orama/src/components/tokenizer/index.ts"],"sourcesContent":["unable to read source [project]/node_modules/@orama/orama/src/components/tokenizer/index.ts"],"names":[],"mappings":";;;;;;AACA,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA;AAE7C,OAAO,EAAE,iBAAiB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,SAAS,CAAC,CAAA;IAC7C,SAAS,CAAC,cAAc,GAAG,cAAc,CAAA;IAEzC,OAAO,SAAS,CAAA;AAClB,CAAC"}}, - {"offset": {"line": 4451, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/@orama/orama/dist/browser/components/pinning.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40orama/orama/src/components/pinning.ts"],"sourcesContent":["unable to read source [project]/node_modules/@orama/orama/src/components/pinning.ts"],"names":[],"mappings":";;;;;;;;;;AA2BA,SAAS,MAAM,CAAC,2BAAoD;IAClE,OAAO;QACL,2BAA2B;QAC3B,KAAK,EAAE,IAAI,GAAG,EAAE;KACjB,CAAA;AACH,CAAC;AAED,SAAS,OAAO,CAAC,KAAmB,EAAE,IAAa;IACjD,IAAI,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,CAAC;QAC7B,MAAM,IAAI,KAAK,CACb,CAAA,qDAAA,EAAwD,IAAI,CAAC,EAAE,CAAA,8CAAA,CAAgD,CAChH,CAAA;IACH,CAAC;IACD,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,EAAE,IAAI,CAAC,CAAA;AAChC,CAAC;AAED,SAAS,UAAU,CAAC,KAAmB,EAAE,IAAa;IACpD,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,CAAC;QAC9B,MAAM,IAAI,KAAK,CACb,CAAA,4DAAA,EAA+D,IAAI,CAAC,EAAE,CAAA,sDAAA,CAAwD,CAC/H,CAAA;IACH,CAAC;IACD,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,EAAE,IAAI,CAAC,CAAA;AAChC,CAAC;AAED,SAAS,UAAU,CAAC,KAAmB,EAAE,MAAc;IACrD,OAAO,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAA;AACnC,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,MAAM,EAAE,CAAE,CAAC;QACxC,IAAI,WAAW,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC;YAC5B,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;QAC1B,CAAC;IACH,CAAC;IAED,OAAO,aAAa,CAAA;AACtB,CAAC;AAMK,SAAU,IAAI,CAAc,2BAAoD,EAAE,GAAM;IAC5F,MAAM,QAAQ,GAAG,GAA+B,CAAA;IAEhD,OAAO;QACL,2BAA2B;QAC3B,KAAK,EAAE,IAAI,GAAG,CAAC,QAAQ,EAAE,KAAK,IAAI,EAAE,CAAC;KACtC,CAAA;AACH,CAAC;AAEK,SAAU,IAAI,CAAc,KAAmB;IACnD,OAAO;QACL,KAAK,EAAE,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;KACpC,CAAA;AACR,CAAC;AAcK,SAAU,aAAa;IAC3B,OAAO;QACL,MAAM;QACN,OAAO;QACP,UAAU;QACV,UAAU;QACV,OAAO;QACP,WAAW;QACX,gBAAgB;QAChB,IAAI;QACJ,IAAI;KACL,CAAA;AACH,CAAC"}}, - {"offset": {"line": 4550, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/@orama/orama/dist/browser/methods/create.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40orama/orama/src/methods/create.ts"],"sourcesContent":["unable to read source [project]/node_modules/@orama/orama/src/methods/create.ts"],"names":[],"mappings":";;;;;AAAA,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AACxH,OAAO,EAAkB,oBAAoB,EAAE,MAAM,kCAAkC,CAAA;AACvF,OAAO,EAAE,sBAAsB,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AACtF,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAC/F,OAAO,EA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AE;QACvB,oBAAoB,EAAE,EAAE;QACxB,mBAAmB,EAAE,EAAE;QACvB,oBAAoB,EAAE,EAAE;QACxB,mBAAmB,EAAE,EAAE;QACvB,WAAW,EAAE,EAAE;QACf,iBAAiB;QACjB,EAAE;QACF,OAAO;QACP,OAAO,EAAE,UAAU,EAAE;KACsD,CAAA;IAE7E,KAAK,CAAC,IAAI,GAAG;QACX,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,EAAE,qBAAqB,EAAE,MAAM,CAAC;QAC/D,IAAI,EAAE,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,KAAK,EAAE,qBAAqB,CAAC;QAC/D,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,qBAAqB,EAAE,MAAM,EAAE,IAAI,CAAC;QACxE,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,qBAAqB,CAAC;KACrD,CAAA;IAED,KAAK,MAAM,IAAI,IAAI,yMAAsB,CAAE,CAAC;QAC1C,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,KAAC,sMAAmB,EAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAA;IAC5E,CAAC;IAED,MAAM,WAAW,GAAG,KAAK,CAAC,aAAa,CAAC,CAAA;IACxC,IAAI,WAAW,EAAE,CAAC;YAChB,+LAAc,EAAC,WAAW,EAAE,KAAK,CAAC,CAAA;IACpC,CAAC;IAED,OAAO,KAAK,CAAA;AACd,CAAC;AAED,SAAS,UAAU;IACjB,OAAO,aAAa,CAAA;AACtB,CAAC"}}, - {"offset": {"line": 4714, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/@orama/orama/dist/browser/methods/docs.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40orama/orama/src/methods/docs.ts"],"sourcesContent":["unable to read source [project]/node_modules/@orama/orama/src/methods/docs.ts"],"names":[],"mappings":";;;;;;AAEM,SAAU,OAAO,CACrB,EAAK,EACL,EAAU;IAEV,OAAO,EAAE,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,EAAE,CAAC,CAAA;AAChD,CAAC;AAEK,SAAU,KAAK,CAAqB,EAAK;IAC7C,OAAO,EAAE,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;AAC9C,CAAC"}}, - {"offset": {"line": 4730, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/@orama/orama/dist/browser/components.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40orama/orama/src/components.ts"],"sourcesContent":["unable to read source [project]/node_modules/@orama/orama/src/components.ts"],"names":[],"mappings":";AAAA,cAAc,0BAA0B,CAAA;AACxC,OAAO,KAAK,cAAc,MAAM,iCAAiC,CAAA;AACjE,OAAO,KAAK,KAAK,MAAM,uBAAuB,CAAA;AAC9C,OAAO,KAAK,SAAS,MAAM,iCAAiC,CAAA;AAC5D,OAAO,KAAK,MAAM,MAAM,wBAAwB,CAAA;AAChD,OAAO,KAAK,uBAAuB,MAAM,4CAA4C,CAAA"}}, - {"offset": {"line": 4773, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/@orama/orama/dist/browser/methods/insert.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40orama/orama/src/methods/insert.ts"],"sourcesContent":["unable to read source [project]/node_modules/@orama/orama/src/methods/insert.ts"],"names":[],"mappings":";;;;;;;;;AACA,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAC5E,OAAO,EAAE,eAAe,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AACpD,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAA;AACvE,OAAO,EAAE,WAAW,EAAE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AA;AACZ,CAAC;AAEK,SAAU,mBAAmB,CACjC,KAAQ,EACR,IAA2C,EAC3C,SAAkB,EAClB,QAAiB,EACjB,SAAmB,EACnB,OAAgB;IAEhB,MAAM,WAAW,OACf,kLAAe,EAAC,KAAK,CAAC,YAAY,CAAC,QACnC,kLAAe,EAAC,KAAK,CAAC,WAAW,CAAC,QAClC,kLAAe,EAAC,KAAK,CAAC,KAAK,CAAC,YAAY,CAAC,QACzC,kLAAe,EAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,QACnC,kLAAe,EAAC,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,CAAA;IAE1C,IAAI,WAAW,EAAE,CAAC;QAChB,OAAO,wBAAwB,CAAC,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,CAAC,CAAA;IACvF,CAAC;IAED,OAAO,uBAAuB,CAAC,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,CAAC,CAAA;AACtF,CAAC"}}, - {"offset": {"line": 5009, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/@orama/orama/dist/browser/methods/pinning.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40orama/orama/src/methods/pinning.ts"],"sourcesContent":["unable to read source [project]/node_modules/@orama/orama/src/methods/pinning.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;;;;;;;;;;;;AACG,SAAU,SAAS,CAAqB,KAAQ,EAAE,IAAa;;IACjE,KAAa,CAAC,OAAO,CAAC,OAAO,CAAE,KAAa,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,CAAA;AACpE,CAAC;AAwBK,SAAU,SAAS,CAAqB,KAAQ,EAAE,IAAa;;IACjE,KAAa,CAAC,OAAO,CAAC,UAAU,CAAE,KAAa,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,CAAA;AACvE,CAAC;AAUK,SAAU,SAAS,CAAqB,KAAQ,EAAE,MAAc;IACpE,OAAQ,KAAa,CAAC,OAAO,CAAC,UAAU,CAAE,KAAa,CAAC,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,CAAA;AAC/E,CAAC;AAWK,SAAU,MAAM,CAAqB,KAAQ,EAAE,MAAc;IACjE,OAAQ,KAAa,CAAC,OAAO,CAAC,OAAO,CAAE,KAAa,CAAC,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,CAAA;AAC5E,CAAC;AAWK,SAAU,UAAU,CAAqB,KAAQ;IACrD,OAAQ,KAAa,CAAC,OAAO,CAAC,WAAW,CAAE,KAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;AACxE,CAAC"}}, - {"offset": {"line": 5074, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/@orama/orama/dist/browser/methods/remove.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40orama/orama/src/methods/remove.ts"],"sourcesContent":["unable to read source [project]/node_modules/@orama/orama/src/methods/remove.ts"],"names":[],"mappings":";;;;;;AACA,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAA;AACvE,OAAO,EAEL,2BAA2B,EAC3B,qBAAqB,EACtB,MAAM,6CAA6C,CAAA;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;;;;AAEvC,SAAU,MAAM,CACpB,KAAQ,EACR,EAAc,EACd,QAAiB,EACjB,SAAmB;IAEnB,MAAM,WAAW,OACf,kLAAe,EAAC,KAAK,CAAC,KAAK,CAAC,YAAY,CAAC,QACzC,kLAAe,EAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,QACnC,kLAAe,EAAC,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,CAAA;IAE1C,IAAI,WAAW,EAAE,CAAC;QAChB,OAAO,WAAW,CAAC,KAAK,EAAE,EAAE,EAAE,QAAQ,EAAE,SAAS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AAiB,EACjB,SAAmB;IAEnB,IAAI,MAAM,GAAG,CAAC,CAAA;IAEd,IAAI,CAAC,SAAS,EAAE,CAAC;QACf,SAAS,GAAG,IAAI,CAAA;IAClB,CAAC;IAED,MAAM,cAAc,GAAG,SAAS,GAC5B,EAAE,GACF,GAAG,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,GACb,0OAA2B,EACzB,KAAK,CAAC,uBAAuB,MAC7B,oOAAqB,EAAC,KAAK,CAAC,uBAAuB,EAAE,EAAE,CAAC,CACzD,CACF,CAAA;IAEL,IAAI,CAAC,SAAS,EAAE,CAAC;YACf,gMAAe,EAAC,KAAK,CAAC,oBAAoB,EAAE,KAAK,EAAE,cAAc,CAAC,CAAA;IACpE,CAAC;IAED,IAAI,CAAC,GAAG,CAAC,CAAA;IACT,SAAS,mBAAmB;QAC1B,MAAM,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC,CAAC,GAAG,SAAU,EAAE,EAAE,CAAC,GAAG,SAAU,CAAC,CAAA;QAEzD,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,OAAM;QAEzB,KAAK,MAAM,GAAG,IAAI,KAAK,CAAE,CAAC;YACxB,IAAI,MAAM,CAAC,KAAK,EAAE,GAAG,EAAE,QAAQ,EAAE,SAAS,CAAC,EAAE,CAAC;gBAC5C,MAAM,EAAE,CAAA;YACV,CAAC;QACH,CAAC;QAED,UAAU,CAAC,mBAAmB,EAAE,CAAC,CAAC,CAAA;IACpC,CAAC;IAED,mBAAmB,EAAE,CAAA;IAErB,IAAI,CAAC,SAAS,EAAE,CAAC;YACf,gMAAe,EAAC,KAAK,CAAC,mBAAmB,EAAE,KAAK,EAAE,cAAc,CAAC,CAAA;IACnE,CAAC;IAED,OAAO,MAAM,CAAA;AACf,CAAC"}}, - {"offset": {"line": 5248, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/@orama/orama/dist/browser/constants.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40orama/orama/src/constants.ts"],"sourcesContent":["unable to read source [project]/node_modules/@orama/orama/src/constants.ts"],"names":[],"mappings":";;;;;;;;AAAO,MAAM,oBAAoB,GAAG,UAAU,CAAA;AACvC,MAAM,kBAAkB,GAAG,QAAQ,CAAA;AACnC,MAAM,kBAAkB,GAAG,QAAQ,CAAA"}}, - {"offset": {"line": 5263, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/@orama/orama/dist/browser/components/facets.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40orama/orama/src/components/facets.ts"],"sourcesContent":["unable to read source [project]/node_modules/@orama/orama/src/components/facets.ts"],"names":[],"mappings":";;;;AAUA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;;;AAIvC,SAAS,OAAO,CAAC,CAAmB,EAAE,CAAmB;IACvD,OAAO,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAA;AACpB,CAAC;AAED,SAAS,QAAQ,CAAC,CAAmB,EAAE,CAAmB;IACxD,OAAO,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAA;AACpB,CAAC;AAED,SAAS,uBAAuB,CAAC,QAAsB,MAAM;IAC3D,OAAO,KAAK,CAAC,WAAW,EAAE,KAAK,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAA;AAC3D,CAAC;AAEK,SAAU,SAAS,CACvB,KAAQ,EACR,OAAqB,EACrB,YAA6B;IAE7B,MAAM,MAAM,GAAgB,CAAA,CAAE,CAAA;IAC9B,MAAM,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAG,CAAD,CAAG,CAAC,CAAA;IACxC,MAAM,OAAO,GAAG,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,KAAK,CAAC,IAAI,CAAC,IAA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;AACH,CAAC"}}, - {"offset": {"line": 5406, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/@orama/orama/dist/browser/components/groups.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40orama/orama/src/components/groups.ts"],"sourcesContent":["unable to read source [project]/node_modules/@orama/orama/src/components/groups.ts"],"names":[],"mappings":";;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC1C,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAajE,OAAO,EAAE,2BAA2B,EAAE,MAAM,iCAAiC,CAAA;;;;AAqB7E,MAAM,cAAc,GAAkC;IACpD,OAAO,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,EAAE;QAC9B,GAAG,CAAC,KAAK,CAAC,GAAG,GAAG,CAAA;QAChB,OAAO,GAAG,CAAA;IACZ,CAAC;IACD,eAAe,EAAE,CAAC,MAAM,EAAE,CAAG,CAAD,IAAM,CAAC,IAAI,CAAC;YAAE,MAAM;QAAA,CAAE,CAAC;CACpD,CAAA;AAED,MAAM,aAAa,GAAG;IAAC,QAAQ;IAAE,QAAQ;IAAE,SAAS;CAAC,CAAA;AAE/C,SAAU,SAAS,CACvB,KAAQ,EACR,OAAqB,EACrB,OAAyC;IAEzC,MAAM,UAAU,GAAG,OAAO,CAAC,UAAU,CAAA;IACrC,MAAM,gBAAgB,GAAG,UAAU,CAAC,MAAM,CAAA;IAE1C,MAAM,gBAAgB,GAAG,KAAK,CAAC,KAAK,CAAC,gCAAgC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;IACvF,IAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,gBAAgB,EAAE,CAAC,EAAE,CAAE,CAAC;QAC1C,MAAM,QAAQ,GAAG,UAAU,CAAC,CAAC,CAAC,CAAA;QAC9B,IAAI,OAAO,gBAAgB,CAAC,Q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AClD,KAAK,MAAM,KAAK,IAAI,IAAI,CAAE,CAAC;QACzB,KAAK,MAAM,WAAW,IAAI,CAAC,CAAE,CAAC;YAC5B,MAAM,MAAM,GAAG;gBAAC,KAAK;aAAC,CAAA;gBAEtB,gLAAa,EAAC,MAAM,EAAE,WAAW,CAAC,CAAA;YAElC,YAAY,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QAC3B,CAAC;IACH,CAAC;IAED,OAAO,YAAY,CAAA;AACrB,CAAC"}}, - {"offset": {"line": 5555, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/@orama/orama/dist/browser/components/pinning-manager.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40orama/orama/src/components/pinning-manager.ts"],"sourcesContent":["unable to read source [project]/node_modules/@orama/orama/src/components/pinning-manager.ts"],"names":[],"mappings":";;;;AACA,OAAO,EAAE,qBAAqB,EAA2B,MAAM,iCAAiC,CAAA;AAEhG,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;;;AASzC,SAAU,iBAAiB,CAC/B,KAAQ,EACR,YAA0B,EAC1B,eAA6B,EAC7B,UAA8B;IAE9B,qDAAqD;IACrD,MAAM,aAAa,OAAG,mMAAgB,EAAC,YAAY,EAAE,UAAU,CAAC,CAAA;IAEhE,IAAI,aAAa,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC/B,OAAO,eAAe,CAAA;IACxB,CAAC;IAED,6CAA6C;IAC7C,MAAM,aAAa,GAAG,aAAa,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,CAAG,CAAD,GAAK,CAAC,WAAW,CAAC,OAAO,CAAC,CAAA;IAE/E,iEAAiE;IACjE,aAAa,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAG,CAAD,AAAE,CAAC,QAAQ,GAAG,CAAC,CAAC,QAAQ,CAAC,CAAA;IAErD,+DAA+D;IAC/D,MAAM,iBAAiB,GAAG,IAAI,GAAG,EAAsB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EAAsB,CAAA;IAEtD,KAAK,MAAM,YAAY,IAAI,aAAa,CAAE,CAAC;QACzC,MAAM,QAAQ,GAAG,aAAa,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC,CAAC,CAAE,CAAA;QACpD,gBAAgB,CAAC,GAAG,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAA;IAC9C,CAAC;IAED,IAAI,aAAa,GAAG,CAAC,CAAA;IACrB,IAAI,eAAe,GAAG,CAAC,CAAA;IAEvB,4EAA4E;IAC5E,MAAO,eAAe,GAAG,eAAe,CAAC,MAAM,GAAG,aAAa,CAAC,MAAM,CAAE,CAAC;QACvE,IAAI,gBAAgB,CAAC,GAAG,CAAC,eAAe,CAAC,EAAE,CAAC;YAC1C,0CAA0C;YAC1C,YAAY,CAAC,IAAI,CAAC,gBAAgB,CAAC,GAAG,CAAC,eAAe,CAAE,CAAC,CAAA;YACzD,eAAe,EAAE,CAAA;QACnB,CAAC,MAAM,IAAI,aAAa,GAAG,eAAe,CAAC,MAAM,EAAE,CAAC;YAClD,gCAAgC;YAChC,YAAY,CAAC,IAAI,CAAC,eAAe,CAAC,aAAa,CAAC,CAAC,CAAA;YACjD,aAAa,EAAE,CAAA;YACf,eAAe,EAAE,CAAA;QACnB,CAAC,MAAM,CAAC;YAEN,MAAK;QACP,CAAC;IACH,CAAC;IAED,0FAA0F;IAC1F,KAAK,MAAM,CAAC,QAAQ,EAAE,YAAY,CAAC,IAAI,gBAAgB,CAAC,OAAO,EAAE,CAAE,CAAC;QAClE,IAAI,QAAQ,IAAI,YAAY,CAAC,MAAM,EAAE,CAAC;YACpC,YAAY,CAAC,IAAI,CAAC,YAAY,CAAC,CAAA;QACjC,CAAC;IACH,CAAC;IAED,OAAO,YAAY,CAAA;AACrB,CAAC"}}, - {"offset": {"line": 5673, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/@orama/orama/dist/browser/methods/search-fulltext.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40orama/orama/src/methods/search-fulltext.ts"],"sourcesContent":["unable to read source [project]/node_modules/@orama/orama/src/methods/search-fulltext.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AACnD,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AACxE,OAAO,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAA;AACnF,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAA;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAA;AAEpE,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAW1C,OAAO,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAA;AAChG,OAAO,EAAE,KAAK,EAAE,MAAM,WAAW,CAAA;AACjC,OAAO,EAAE,cAAc,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAA;;;;;;;;;;;AAElE,SAAU,mBAAmB,CACjC,KAAQ,EACR,MAGC,EACD,QAA8B;IAE9B,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,GAAG,MAAM,CAAA;IAEnC,MAAM,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC,KAAK,CAAA;IAC9B,mCAAmC;IACnC,IAAI,kBAAkB,GAAG,KAAK,CAAC,MAAM,CAAC,oBAAoB,CAAa,CAAA;IACvE,IAAI,CAAC,kBAAkB,EAAE,CAAC;QACxB,MAAM,2BAA2B,GAAG,KAAK,CAAC,KAAK,CAAC,gCAAgC,CAAC,KAAK,CAAC,CAAA;QAEvF,kBAAkB,GAAG,KAAK,CAAC,KAAK,CAAC,uBAAuB,CAAC,KAAK,CAAC,CAAA;QAC/D,kBAAkB,GAAG,kBAAkB,CAAC,MAAM,CAAC,CAAC,IAAY,EAAE,CAC5D,CAD8D,0BACnC,C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A;QAEzC,IAAI,KAAK,CAAC,WAAW,EAAE,CAAC;YACtB,UAAM,+LAAc,EAAC,KAAK,CAAC,WAAW,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,YAAY,CAAC,CAAA;QAChF,CAAC;QAED,OAAO,YAAY,CAAA;IACrB,CAAC;IAED,MAAM,WAAW,GAAG,KAAK,CAAC,YAAY,EAAE,MAAM,IAAI,KAAK,CAAC,WAAW,EAAE,MAAM,CAAA;IAC3E,IAAI,WAAW,EAAE,CAAC;QAChB,OAAO,kBAAkB,EAAE,CAAA;IAC7B,CAAC;IAED,OAAO,kBAAkB,EAAE,CAAA;AAC7B,CAAC;AAEM,MAAM,iBAAiB,GAAe;IAC3C,CAAC,EAAE,GAAG;IACN,CAAC,EAAE,IAAI;IACP,CAAC,EAAE,GAAG;CACP,CAAA;AACD,SAAS,YAAY,CAAC,aAA0B;IAC9C,MAAM,CAAC,GAAG,aAAa,IAAI,CAAA,CAAE,CAAA;IAC7B,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,iBAAiB,CAAC,CAAC,CAAA;IAChC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,iBAAiB,CAAC,CAAC,CAAA;IAChC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,iBAAiB,CAAC,CAAC,CAAA;IAChC,OAAO,CAAyB,CAAA;AAClC,CAAC"}}, - {"offset": {"line": 5898, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/@orama/orama/dist/browser/methods/search-vector.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40orama/orama/src/methods/search-vector.ts"],"sourcesContent":["unable to read source [project]/node_modules/@orama/orama/src/methods/search-vector.ts"],"names":[],"mappings":";;;;;;AAEA,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAA;AAC5F,OAAO,EAAE,SAAS,EAAE,MAAM,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E,IAAI,WAAW,EAAE,CAAC;QAChB,OAAO,kBAAkB,EAAE,CAAA;IAC7B,CAAC;IAED,YAAY;IACZ,OAAO,kBAAkB,EAAE,CAAA;AAC7B,CAAC"}}, - {"offset": {"line": 6023, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/@orama/orama/dist/browser/methods/search-hybrid.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40orama/orama/src/methods/search-hybrid.ts"],"sourcesContent":["unable to read source [project]/node_modules/@orama/orama/src/methods/search-hybrid.ts"],"names":[],"mappings":";;;;;;AASA,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AAC1F,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAC5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AACtD,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAA;;;;;;;;;AAE9D,SAAU,iBAAiB,CAC/B,KAAQ,EACR,MAA6C,EAC7C,QAAiB;IAEjB,MAAM,WAAW,GAAG,wBAAwB,KAAC,8MAAmB,EAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAA;IAC1F,MAAM,SAAS,OAAG,0MAAiB,EAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAA;IAE5D,MAAM,aAAa,GAAG,MAAM,CAAC,aAAa,CAAA;IAC1C,OAAO,mBAAmB,CAAC,WAAW,EAAE,SAAS,EAAE,MAAM,CAAC,IAAI,IAAI,EAAE,EAAE,aAAa,CAAC,CAAA;AAC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,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;AACvD,CAAC;AAED,6DAA6D;AAC7D,SAAS,eAAe,CAAC,KAAa;IACpC,mGAAmG;IACnG,kEAAkE;IAClE,yCAAyC;IACzC,OAAO;QACL,IAAI,EAAE,GAAG;QACT,MAAM,EAAE,GAAG;KACZ,CAAA;AACH,CAAC"}}, - {"offset": {"line": 6166, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/@orama/orama/dist/browser/methods/search.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40orama/orama/src/methods/search.ts"],"sourcesContent":["unable to read source [project]/node_modules/@orama/orama/src/methods/search.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAO,EAAsB,2BAA2B,EAAE,MAAM,6CAA6C,CAAA;AAC7G,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAavC,OAAO,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAC9F,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;;;;;;;;AAE3C,SAAU,MAAM,CACpB,KAAQ,EACR,MAAuC,EACvC,QAAiB;IAEjB,MAAM,IAAI,GAAG,MAAM,CAAC,IAAI,IAAI,2LAAoB,CAAA;IAEhD,IAAI,IAAI,KAAK,2LAAoB,EAAE,CAAC;QAClC,WAAO,yMAAc,EAAC,KAAK,EAAE,MAAiD,EAAE,QAAQ,CAAC,CAAA;IAC3F,CAAC;IAED,IAAI,IAAI,KAAK,yLAAkB,EAAE,CAAC;QAChC,WAAO,qMAAY,EAAC,KAAK,EAAE,MAA+C,CAAC,CAAA;IAC7E,CAAC;IAED,IAAI,IAAI,KAAK,yLAAkB,EAAE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AAK,CAAC,cAAc,CAAC,GAAG,CAAC,IAAI,EAAE,EAAE,CAAC,CAAA;YAClD,OAAO,CAAC,CAAC,CAAC,GAAG;gBAAE,EAAE,MAAE,0OAA2B,EAAC,KAAK,CAAC,uBAAuB,EAAE,EAAE,CAAC;gBAAE,KAAK;gBAAE,QAAQ,EAAE,OAAQ;YAAA,CAAE,CAAA;YAC9G,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC,CAAA;QACnB,CAAC;IACH,CAAC;IACD,OAAO,OAAO,CAAA;AAChB,CAAC"}}, - {"offset": {"line": 6279, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/@orama/orama/dist/browser/methods/serialization.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40orama/orama/src/methods/serialization.ts"],"sourcesContent":["unable to read source [project]/node_modules/@orama/orama/src/methods/serialization.ts"],"names":[],"mappings":";;;;;;AAYM,SAAU,IAAI,CAAqB,KAAQ,EAAE,GAAY;IAC7D,KAAK,CAAC,uBAAuB,CAAC,IAAI,CAAC,KAAK,EAAE,GAAG,CAAC,uBAAuB,CAAC,CAAA;IACtE,KAAK,CAAC,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,uBAAuB,EAAE,GAAG,CAAC,KAAK,CAAC,CAAA;IAC7E,KAAK,CAAC,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,KAAK,CAAC,uBAAuB,EAAE,GAAG,CAAC,IAAI,CAAC,CAAA;IACpF,KAAK,CAAC,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,uBAAuB,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IAClF,KAAK,CAAC,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,uBAAuB,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IACnF,KAAK,CAAC,SAAS,CAAC,QAAQ,GAAG,GAAG,CAAC,QAAQ,CAAA;AACzC,CAAC;AAEK,SAAU,IAAI,CAAqB,KAAQ;IAC/C,OAAO;QACL,uBAAuB,EAAE,KAAK,CAAC,uBAAuB,CAAC,IAAI,CAAC,KAAK,CAAC,uBAAuB,CAAC;QAC1F,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC;QACzC,IAAI,EAAE,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC;QAChD,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC;QAC9C,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC;QAC/C,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC,QAAQ;KACnC,CAAA;AACH,CAAC"}}, - {"offset": {"line": 6307, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/@orama/orama/dist/browser/methods/update.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40orama/orama/src/methods/update.ts"],"sourcesContent":["unable to read source [project]/node_modules/@orama/orama/src/methods/update.ts"],"names":[],"mappings":";;;;;;AACA,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAA;AACvE,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACzD,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;;;;;;AAEvC,SAAU,MAAM,CACpB,KAAQ,EACR,EAAU,EACV,GAAwC,EACxC,QAAiB,EACjB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,IAAI,CAAC,SAAS,EAAE,CAAC;YACf,gMAAe,EAAC,KAAK,CAAC,oBAAoB,EAAE,KAAK,EAAE,GAAG,CAAC,CAAA;IACzD,CAAC;IAED,MAAM,UAAU,GAAG,IAAI,CAAC,MAAM,CAAA;IAC9B,IAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,UAAU,EAAE,CAAC,EAAE,CAAE,CAAC;QACpC,MAAM,aAAa,GAAG,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;QACjE,IAAI,aAAa,EAAE,CAAC;YAClB,UAAM,+KAAW,EAAC,2BAA2B,EAAE,aAAa,CAAC,CAAA;QAC/D,CAAC;IACH,CAAC;QAED,6LAAc,EAAC,KAAK,EAAE,GAAG,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,CAAC,CAAA;IAC1D,MAAM,MAAM,OAAG,kMAAmB,EAAC,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,CAAa,CAAA;IAE3F,IAAI,CAAC,SAAS,EAAE,CAAC;YACf,gMAAe,EAAC,KAAK,CAAC,mBAAmB,EAAE,KAAK,EAAE,MAAM,CAAC,CAAA;IAC3D,CAAC;IAED,OAAO,MAAM,CAAA;AACf,CAAC"}}, - {"offset": {"line": 6399, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/@orama/orama/dist/browser/methods/upsert.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40orama/orama/src/methods/upsert.ts"],"sourcesContent":["unable to read source [project]/node_modules/@orama/orama/src/methods/upsert.ts"],"names":[],"mappings":";;;;;;AACA,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAA;AACvE,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC1C,OAAO,EAAE,MAAM,EAAE,mBAAmB,EAAsB,MAAM,aAAa,CAAA;AAC7E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4BAA4B,EAAE,OAAO,EAAE,CAAC,CAAA;QAC5D,CAAC;QAED,MAAM,WAAW,GAAG,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,EAAE,EAAE,CAAC,CAAA;QAEjE,IAAI,WAAW,EAAE,CAAC;YAChB,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;YACtB,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;QACtB,CAAC,MAAM,CAAC;YACN,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;QACxB,CAAC;IACH,CAAC;IAED,0BAA0B;IAC1B,MAAM,OAAO,GAAa,EAAE,CAAA;IAE5B,IAAI,YAAY,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAC5B,MAAM,aAAa,OAAG,6LAAc,EAAC,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,CAAa,CAAA;QAClH,OAAO,CAAC,IAAI,CAAC,GAAG,aAAa,CAAC,CAAA;IAChC,CAAC;IAED,IAAI,YAAY,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAC5B,MAAM,aAAa,OAAG,kMAAmB,EAAC,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,CAAa,CAAA;QAC1G,OAAO,CAAC,IAAI,CAAC,GAAG,aAAa,CAAC,CAAA;IAChC,CAAC;IAED,IAAI,CAAC,SAAS,IAAI,KAAK,CAAC,mBAAmB,EAAE,CAAC;YAC5C,gMAAe,EAAC,KAAK,CAAC,mBAAmB,EAAE,KAAK,EAAE,OAAO,CAAC,CAAA;IAC5D,CAAC;IAED,OAAO,OAAO,CAAA;AAChB,CAAC"}}, - {"offset": {"line": 6567, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/@orama/orama/dist/browser/methods/answer-session.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40orama/orama/src/methods/answer-session.ts"],"sourcesContent":["unable to read source [project]/node_modules/@orama/orama/src/methods/answer-session.ts"],"names":[],"mappings":";;;;AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;;;AAyCpC,MAAM,8BAA8B,GAAG,oBAAoB,CAAA;AAErD,MAAO,aAAa;IAChB,EAAE,CAAU;IACZ,KAAK,GAAyB,IAAI,CAAA;IAClC,MAAM,CAA+B;IACrC,eAAe,GAA8B,IAAI,CAAA;IACjD,qBAAqB,GAAwB,IAAI,CAAA;IACjD,SAAS,GAAwB,IAAI,CAAA;IAErC,cAAc,CAAQ;IACtB,QAAQ,GAAc,EAAE,CAAA;IACxB,MAAM,CAA8B;IACpC,WAAW,CAAuB;IACnC,KAAK,GAA2B,EAAE,CAAA;IAEzC,YAAY,EAAY,EAAE,MAAqC,CAAA;QAC7D,IAAI,CAAC,EAAE,GAAG,EAAE,CAAA;QACZ,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;QAEpB,IAAI,CAAC,IAAI,EAAE,CAAA;QAEX,IAAI,CAAC,QAAQ,GAAG,MAAM,CAAC,eAAe,IAAI,EAAE,CAAA;QAC5C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,IAAI,CAAA,CAAE,CAAA;QACjC,IAAI,CAAC,cAAc,GAAG,MAAM,CAAC,cAAc,IAAI,IAAI,CAAC,gBAAgB,EAAE,CAAA;IACxE,CAAC;IAEM,KAAK,CAAC,GAAG,CAAC,KAAgB,EAAA;QAC/B,MAAM,IAAI,CAAC,WAAW,CAAA;QAEtB,IAAI,MAAM,GAAG,EAAE,CAAA;QAEf,IAAI,KAAK,EAAE,MAAM,GAAG,KAAI,MAAM,IAAI,CAAC,SAAS,CAAC,MAAK,CAAC,CAAE,CAAC;YACpD,MAAM,IAAI,GAAG,CAAA;QACf,CAAC;QAED,OAAO,MAAM,CAAA;IACf,CAAC;IAEM,KAAK,C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I,CAAC,QAAQ,CAAC,IAAI,CAAC;YAAE,IAAI,EAAE,WAAW;YAAE,OAAO,EAAE,EAAE;QAAA,CAAE,CAAC,CAAA;IACxD,CAAC;CACF"}}, - {"offset": {"line": 6731, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/@orama/orama/dist/browser/types.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40orama/orama/src/types.ts"],"sourcesContent":["unable to read source [project]/node_modules/@orama/orama/src/types.ts"],"names":[],"mappings":";;;;;;AAsBA,OAAO,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;;AA6uCtF,MAAM,WAAW,GAAG,MAAM,CAAC,kBAAkB,CAAC,CAAA;AAC9C,MAAM,SAAS,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAA"}}, - {"offset": {"line": 6745, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/@orama/orama/dist/browser/internals.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40orama/orama/src/internals.ts"],"sourcesContent":["unable to read source [project]/node_modules/@orama/orama/src/internals.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAA;AAChE,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,kBAAkB,EAClB,QAAQ,EACR,uBAAuB,EACvB,aAAa,EACb,eAAe,EACf,QAAQ,EACR,aAAa,EACd,MAAM,YAAY,CAAA;AACnB,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAA"}}, - {"offset": {"line": 6756, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/@orama/orama/dist/browser/index.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40orama/orama/src/index.ts"],"sourcesContent":["unable to read source [project]/node_modules/@orama/orama/src/index.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAC5C,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAClD,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAC5D,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAC1F,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AACzD,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAA;AACvD,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAC5D,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAA;AAE3D,cAAc,YAAY,CAAA;AAC1B,OAAO,KAAK,UAAU,MAAM,iBAAiB,CAAA;AAC7C,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAA"}}, - {"offset": {"line": 6789, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/fumadocs-core/dist/advanced-tbtFDsHU.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/fumadocs-core/src/search/orama/search/simple.ts","file:///D:/sol-ui.com/sol-ui/docs/node_modules/fumadocs-core/src/search/orama/search/advanced.ts"],"sourcesContent":["import { type Orama, search, type SearchParams } from '@orama/orama';\nimport { type SimpleDocument, type simpleSchema } from '@/search/orama/create-db';\nimport { createContentHighlighter, type SortedResult } from '@/search';\n\nexport async function searchSimple(\n db: Orama,\n query: string,\n params: Partial, SimpleDocument>> = {},\n): Promise {\n const highlighter = createContentHighlighter(query);\n const result = await search(db, {\n term: query,\n tolerance: 1,\n ...params,\n boost: {\n title: 2,\n ...('boost' in params ? params.boost : undefined),\n },\n });\n\n return result.hits.map((hit) => ({\n type: 'page',\n content: hit.document.title,\n breadcrumbs: hit.document.breadcrumbs,\n contentWithHighlights: highlighter.highlight(hit.document.title),\n id: hit.document.url,\n url: hit.document.url,\n }));\n}\n","import { getByID, type Orama, search, type SearchParams } from '@orama/orama';\nimport { type AdvancedDocument, type advancedSchema } from '@/search/orama/create-db';\nimport { removeUndefined } from '@/utils/remove-undefined';\nimport { createContentHighlighter, type SortedResult } from '@/search';\n\nexport async function searchAdvanced(\n db: Orama,\n query: string,\n tag: string | string[] = [],\n {\n mode = 'fulltext',\n ...override\n }: Partial, AdvancedDocument>> = {},\n): Promise {\n if (typeof tag === 'string') tag = [tag];\n\n let params = {\n ...override,\n mode,\n where: removeUndefined({\n tags:\n tag.length > 0\n ? {\n containsAll: tag,\n }\n : undefined,\n ...override.where,\n }),\n groupBy: {\n properties: ['page_id'],\n maxResult: 8,\n ...override.groupBy,\n },\n } as SearchParams;\n\n if (query.length > 0) {\n params = {\n ...params,\n term: query,\n properties: mode === 'fulltext' ? ['content'] : ['content', 'embeddings'],\n } as SearchParams;\n }\n\n const highlighter = createContentHighlighter(query);\n const result = await search(db, params);\n const list: SortedResult[] = [];\n for (const item of result.groups ?? []) {\n const pageId = item.values[0] as string;\n\n const page = getByID(db, pageId);\n if (!page) continue;\n\n list.push({\n id: pageId,\n type: 'page',\n content: page.content,\n breadcrumbs: page.breadcrumbs,\n contentWithHighlights: highlighter.highlight(page.content),\n url: page.url,\n });\n\n for (const hit of item.result) {\n if (hit.document.type === 'page') continue;\n\n list.push({\n id: hit.document.id.toString(),\n content: hit.document.content,\n breadcrumbs: hit.document.breadcrumbs,\n contentWithHighlights: highlighter.highlight(hit.document.content),\n type: hit.document.type as SortedResult['type'],\n url: hit.document.url,\n });\n }\n }\n return list;\n}\n"],"names":["list: SortedResult[]"],"mappings":";;;;;;;;;;;;;;;AAIA,eAAsB,aACpB,EAAA,EACA,KAAA,EAC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,OAAO,MAAA,IAAU,EAAE,CAAE;QACtC,MAAM,SAAS,KAAK,MAAA,CAAO,EAAA;QAE3B,MAAM,WAAO,oLAAA,EAAQ,IAAI,OAAO;QAChC,IAAI,CAAC,KAAM,CAAA;QAEX,KAAK,IAAA,CAAK;YACR,IAAI;YACJ,MAAM;YACN,SAAS,KAAK,OAAA;YACd,aAAa,KAAK,WAAA;YAClB,uBAAuB,YAAY,SAAA,CAAU,KAAK,OAAA,CAAQ;YAC1D,KAAK,KAAK,GAAA;SACX,CAAC;QAEF,KAAK,MAAM,OAAO,KAAK,MAAA,CAAQ;YAC7B,IAAI,IAAI,QAAA,CAAS,IAAA,KAAS,OAAQ,CAAA;YAElC,KAAK,IAAA,CAAK;gBACR,IAAI,IAAI,QAAA,CAAS,EAAA,CAAG,QAAA,EAAU;gBAC9B,SAAS,IAAI,QAAA,CAAS,OAAA;gBACtB,aAAa,IAAI,QAAA,CAAS,WAAA;gBAC1B,uBAAuB,YAAY,SAAA,CAAU,IAAI,QAAA,CAAS,OAAA,CAAQ;gBAClE,MAAM,IAAI,QAAA,CAAS,IAAA;gBACnB,KAAK,IAAI,QAAA,CAAS,GAAA;aACnB,CAAC;;;IAGN,OAAO"}}, - {"offset": {"line": 6891, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/fumadocs-core/dist/static-C_WBOzek.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/fumadocs-core/src/search/client/static.ts"],"sourcesContent":["import { type AnyOrama, create, load, type Orama } from '@orama/orama';\nimport { searchSimple } from '@/search/orama/search/simple';\nimport { searchAdvanced } from '@/search/orama/search/advanced';\nimport { type advancedSchema, type simpleSchema } from '@/search/orama/create-db';\nimport type { ExportedData } from '@/search/server';\n\nexport interface StaticOptions {\n /**\n * Where to download exported search indexes (URL)\n *\n * @defaultValue '/api/search'\n */\n from?: string;\n\n initOrama?: (locale?: string) => AnyOrama | Promise;\n\n /**\n * Filter results with specific tag(s).\n */\n tag?: string | string[];\n\n /**\n * Filter by locale (unsupported at the moment)\n */\n locale?: string;\n}\n\nconst cache = new Map>();\n\n// locale -> db\ntype Database = Map<\n string,\n {\n type: 'simple' | 'advanced';\n db: AnyOrama;\n }\n>;\n\nasync function loadDB({\n from = '/api/search',\n initOrama = (locale) => create({ schema: { _: 'string' }, language: locale }),\n}: StaticOptions): Promise {\n const cacheKey = from;\n const cached = cache.get(cacheKey);\n if (cached) return cached;\n\n async function init() {\n const res = await fetch(from);\n\n if (!res.ok)\n throw new Error(\n `failed to fetch exported search indexes from ${from}, make sure the search database is exported and available for client.`,\n );\n\n const data = (await res.json()) as ExportedData;\n const dbs: Database = new Map();\n\n if (data.type === 'i18n') {\n await Promise.all(\n Object.entries(data.data).map(async ([k, v]) => {\n const db = await initOrama(k);\n\n load(db, v);\n dbs.set(k, {\n type: v.type,\n db,\n });\n }),\n );\n\n return dbs;\n }\n\n const db = await initOrama();\n load(db, data);\n dbs.set('', {\n type: data.type,\n db,\n });\n return dbs;\n }\n\n const result = init();\n cache.set(cacheKey, result);\n return result;\n}\n\nexport async function search(query: string, options: StaticOptions) {\n const { tag, locale } = options;\n\n const db = (await loadDB(options)).get(locale ?? '');\n\n if (!db) return [];\n if (db.type === 'simple') return searchSimple(db as unknown as Orama, query);\n\n return searchAdvanced(db.db as Orama, query, tag);\n}\n"],"names":["dbs: Database","db"],"mappings":";;;;;;;;;;;AA2BA,MAAM,QAAA,aAAA,GAAQ,IAAI,KAAgC;AAWlD,eAAe,OAAO,EACpB,OAAO,aAAA,EACP,YAAA,CAAa,aAAW,qLAAA,EAAO;QAAE,QAAQ;YAAE,GAAG;QAAA,CAAU;QAAE,UAAU;KAAQ,CAAC,EAAA,EAC1C;IACnC,MAAM,WAAW;IACjB,MAAM,SAAS,MAAM,GAAA,CAAI,SAAS;IAClC,IAAI,OAAQ,CAAA,OAAO;IAEnB,eAAe,OAAO;QACpB,MAAM,MAAM,MAAM,MAAM,KAAK;QAE7B,IAAI,CAAC,IAAI,EAAA,CACP,CAAA,MAAM,IAAI,MACR,CAAA,6CAAA,EAAgD,KAAK,qEAAA,CAAA,CACtD;QAEH,MAAM,OAAQ,MAAM,IAAI,IAAA,EAAM;QAC9B,MAAMA,MAAAA,aAAAA,GAAgB,IAAI,KAAK;QAE/B,IAAI,KAAK,IAAA,KAAS,QAAQ;YACxB,MAAM,QAAQ,GAAA,CACZ,OAAO,OAAA,CAAQ,KAAK,IAAA,CAAK,CAAC,GAAA,CAAI,OAAO,CAAC,GAAG,EAAA,KAAO;gBAC9C,MAAMC,OAAK,MAAM,UAAU,EAAE;gBAE7B,IAAA,0LAAA,EAAKA,MAAI,EAAE;gBACX,IAAI,GAAA,CAAI,GAAG;oBACT,MAAM,EAAE,IAAA;oBACR,IAAA;iBACD,CAAC;cACF,CACH;YAED,OAAO;;QAGT,MAAM,KAAK,MAAM,WAAW;QAC5B,IAAA,0LAAA,EAAK,IAAI,KAAK;QACd,IAAI,GAAA,CAAI,IAAI;YACV,MAAM,KAAK,IAAA;YACX;SACD,CAAC;QACF,OAAO;;IAGT,MAAM,SAAS,MAAM;IACrB,MAAM,GAAA,CAAI,UAAU,OAAO;IAC3B,OAAO;;AAGT,eAAsB,OAAO,KAAA,EAAe,OAAA,EAAwB;IAClE,MAAM,EAAE,GAAA,EAAK,MAAA,EAAA,GAAW;IAExB,MAAM,KAAA,CAAM,MAAM,OAAO,QAAQ,EAAE,GAAA,CAAI,UAAU,GAAG;IAEpD,IAAI,CAAC,GAAI,CAAA,OAAO,EAAE;IAClB,IAAI,GAAG,IAAA,KAAS,SAAU,CAAA,WAAO,wKAAA,EAAa,IAA6C,MAAM;IAEjG,WAAO,wKAAA,EAAe,GAAG,EAAA,EAAoC,OAAO,IAAI"}}] -} \ No newline at end of file diff --git a/.next/dev/static/chunks/node_modules_5aecefc7._.js b/.next/dev/static/chunks/node_modules_5aecefc7._.js deleted file mode 100644 index d9f2a99..0000000 --- a/.next/dev/static/chunks/node_modules_5aecefc7._.js +++ /dev/null @@ -1,22998 +0,0 @@ -(globalThis.TURBOPACK || (globalThis.TURBOPACK = [])).push([typeof document === "object" ? document.currentScript : undefined, -"[project]/node_modules/next/dist/compiled/react/cjs/react-jsx-dev-runtime.development.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -/** - * @license React - * react-jsx-dev-runtime.development.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ "use strict"; -"production" !== ("TURBOPACK compile-time value", "development") && function() { - function getComponentNameFromType(type) { - if (null == type) return null; - if ("function" === typeof type) return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null; - if ("string" === typeof type) return type; - switch(type){ - case REACT_FRAGMENT_TYPE: - return "Fragment"; - case REACT_PROFILER_TYPE: - return "Profiler"; - case REACT_STRICT_MODE_TYPE: - return "StrictMode"; - case REACT_SUSPENSE_TYPE: - return "Suspense"; - case REACT_SUSPENSE_LIST_TYPE: - return "SuspenseList"; - case REACT_ACTIVITY_TYPE: - return "Activity"; - case REACT_VIEW_TRANSITION_TYPE: - return "ViewTransition"; - } - if ("object" === typeof type) switch("number" === typeof type.tag && console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), type.$$typeof){ - case REACT_PORTAL_TYPE: - return "Portal"; - case REACT_CONTEXT_TYPE: - return type.displayName || "Context"; - case REACT_CONSUMER_TYPE: - return (type._context.displayName || "Context") + ".Consumer"; - case REACT_FORWARD_REF_TYPE: - var innerType = type.render; - type = type.displayName; - type || (type = innerType.displayName || innerType.name || "", type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef"); - return type; - case REACT_MEMO_TYPE: - return innerType = type.displayName || null, null !== innerType ? innerType : getComponentNameFromType(type.type) || "Memo"; - case REACT_LAZY_TYPE: - innerType = type._payload; - type = type._init; - try { - return getComponentNameFromType(type(innerType)); - } catch (x) {} - } - return null; - } - function testStringCoercion(value) { - return "" + value; - } - function checkKeyStringCoercion(value) { - try { - testStringCoercion(value); - var JSCompiler_inline_result = !1; - } catch (e) { - JSCompiler_inline_result = !0; - } - if (JSCompiler_inline_result) { - JSCompiler_inline_result = console; - var JSCompiler_temp_const = JSCompiler_inline_result.error; - var JSCompiler_inline_result$jscomp$0 = "function" === typeof Symbol && Symbol.toStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object"; - JSCompiler_temp_const.call(JSCompiler_inline_result, "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.", JSCompiler_inline_result$jscomp$0); - return testStringCoercion(value); - } - } - function getTaskName(type) { - if (type === REACT_FRAGMENT_TYPE) return "<>"; - if ("object" === typeof type && null !== type && type.$$typeof === REACT_LAZY_TYPE) return "<...>"; - try { - var name = getComponentNameFromType(type); - return name ? "<" + name + ">" : "<...>"; - } catch (x) { - return "<...>"; - } - } - function getOwner() { - var dispatcher = ReactSharedInternals.A; - return null === dispatcher ? null : dispatcher.getOwner(); - } - function UnknownOwner() { - return Error("react-stack-top-frame"); - } - function hasValidKey(config) { - if (hasOwnProperty.call(config, "key")) { - var getter = Object.getOwnPropertyDescriptor(config, "key").get; - if (getter && getter.isReactWarning) return !1; - } - return void 0 !== config.key; - } - function defineKeyPropWarningGetter(props, displayName) { - function warnAboutAccessingKey() { - specialPropKeyWarningShown || (specialPropKeyWarningShown = !0, console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)", displayName)); - } - warnAboutAccessingKey.isReactWarning = !0; - Object.defineProperty(props, "key", { - get: warnAboutAccessingKey, - configurable: !0 - }); - } - function elementRefGetterWithDeprecationWarning() { - var componentName = getComponentNameFromType(this.type); - didWarnAboutElementRef[componentName] || (didWarnAboutElementRef[componentName] = !0, console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")); - componentName = this.props.ref; - return void 0 !== componentName ? componentName : null; - } - function ReactElement(type, key, props, owner, debugStack, debugTask) { - var refProp = props.ref; - type = { - $$typeof: REACT_ELEMENT_TYPE, - type: type, - key: key, - props: props, - _owner: owner - }; - null !== (void 0 !== refProp ? refProp : null) ? Object.defineProperty(type, "ref", { - enumerable: !1, - get: elementRefGetterWithDeprecationWarning - }) : Object.defineProperty(type, "ref", { - enumerable: !1, - value: null - }); - type._store = {}; - Object.defineProperty(type._store, "validated", { - configurable: !1, - enumerable: !1, - writable: !0, - value: 0 - }); - Object.defineProperty(type, "_debugInfo", { - configurable: !1, - enumerable: !1, - writable: !0, - value: null - }); - Object.defineProperty(type, "_debugStack", { - configurable: !1, - enumerable: !1, - writable: !0, - value: debugStack - }); - Object.defineProperty(type, "_debugTask", { - configurable: !1, - enumerable: !1, - writable: !0, - value: debugTask - }); - Object.freeze && (Object.freeze(type.props), Object.freeze(type)); - return type; - } - function jsxDEVImpl(type, config, maybeKey, isStaticChildren, debugStack, debugTask) { - var children = config.children; - if (void 0 !== children) if (isStaticChildren) if (isArrayImpl(children)) { - for(isStaticChildren = 0; isStaticChildren < children.length; isStaticChildren++)validateChildKeys(children[isStaticChildren]); - Object.freeze && Object.freeze(children); - } else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."); - else validateChildKeys(children); - if (hasOwnProperty.call(config, "key")) { - children = getComponentNameFromType(type); - var keys = Object.keys(config).filter(function(k) { - return "key" !== k; - }); - isStaticChildren = 0 < keys.length ? "{key: someKey, " + keys.join(": ..., ") + ": ...}" : "{key: someKey}"; - didWarnAboutKeySpread[children + isStaticChildren] || (keys = 0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}", console.error('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />', isStaticChildren, children, keys, children), didWarnAboutKeySpread[children + isStaticChildren] = !0); - } - children = null; - void 0 !== maybeKey && (checkKeyStringCoercion(maybeKey), children = "" + maybeKey); - hasValidKey(config) && (checkKeyStringCoercion(config.key), children = "" + config.key); - if ("key" in config) { - maybeKey = {}; - for(var propName in config)"key" !== propName && (maybeKey[propName] = config[propName]); - } else maybeKey = config; - children && defineKeyPropWarningGetter(maybeKey, "function" === typeof type ? type.displayName || type.name || "Unknown" : type); - return ReactElement(type, children, maybeKey, getOwner(), debugStack, debugTask); - } - function validateChildKeys(node) { - isValidElement(node) ? node._store && (node._store.validated = 1) : "object" === typeof node && null !== node && node.$$typeof === REACT_LAZY_TYPE && ("fulfilled" === node._payload.status ? isValidElement(node._payload.value) && node._payload.value._store && (node._payload.value._store.validated = 1) : node._store && (node._store.validated = 1)); - } - function isValidElement(object) { - return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE; - } - var React = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"), REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"), REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, hasOwnProperty = Object.prototype.hasOwnProperty, isArrayImpl = Array.isArray, createTask = console.createTask ? console.createTask : function() { - return null; - }; - React = { - react_stack_bottom_frame: function(callStackForError) { - return callStackForError(); - } - }; - var specialPropKeyWarningShown; - var didWarnAboutElementRef = {}; - var unknownOwnerDebugStack = React.react_stack_bottom_frame.bind(React, UnknownOwner)(); - var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner)); - var didWarnAboutKeySpread = {}; - exports.Fragment = REACT_FRAGMENT_TYPE; - exports.jsxDEV = function(type, config, maybeKey, isStaticChildren) { - var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++; - if (trackActualOwner) { - var previousStackTraceLimit = Error.stackTraceLimit; - Error.stackTraceLimit = 10; - var debugStackDEV = Error("react-stack-top-frame"); - Error.stackTraceLimit = previousStackTraceLimit; - } else debugStackDEV = unknownOwnerDebugStack; - return jsxDEVImpl(type, config, maybeKey, isStaticChildren, debugStackDEV, trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask); - }; -}(); -}), -"[project]/node_modules/next/dist/compiled/react/jsx-dev-runtime.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -'use strict'; -if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable -; -else { - module.exports = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/cjs/react-jsx-dev-runtime.development.js [app-client] (ecmascript)"); -} -}), -"[project]/node_modules/@tabler/icons-react/dist/esm/defaultAttributes.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "default", - ()=>defaultAttributes -]); -/** - * @license @tabler/icons-react v3.36.1 - MIT - * - * This source code is licensed under the MIT license. - * See the LICENSE file in the root directory of this source tree. - */ var defaultAttributes = { - outline: { - xmlns: "http://www.w3.org/2000/svg", - width: 24, - height: 24, - viewBox: "0 0 24 24", - fill: "none", - stroke: "currentColor", - strokeWidth: 2, - strokeLinecap: "round", - strokeLinejoin: "round" - }, - filled: { - xmlns: "http://www.w3.org/2000/svg", - width: 24, - height: 24, - viewBox: "0 0 24 24", - fill: "currentColor", - stroke: "none" - } -}; -; - //# sourceMappingURL=defaultAttributes.mjs.map -}), -"[project]/node_modules/@tabler/icons-react/dist/esm/createReactComponent.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "default", - ()=>createReactComponent -]); -/** - * @license @tabler/icons-react v3.36.1 - MIT - * - * This source code is licensed under the MIT license. - * See the LICENSE file in the root directory of this source tree. - */ var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$tabler$2f$icons$2d$react$2f$dist$2f$esm$2f$defaultAttributes$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@tabler/icons-react/dist/esm/defaultAttributes.mjs [app-client] (ecmascript)"); -; -; -const createReactComponent = (type, iconName, iconNamePascal, iconNode)=>{ - const Component = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["forwardRef"])(({ color = "currentColor", size = 24, stroke = 2, title, className, children, ...rest }, ref)=>(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createElement"])("svg", { - ref, - ...__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$tabler$2f$icons$2d$react$2f$dist$2f$esm$2f$defaultAttributes$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"][type], - width: size, - height: size, - className: [ - `tabler-icon`, - `tabler-icon-${iconName}`, - className - ].join(" "), - ...type === "filled" ? { - fill: color - } : { - strokeWidth: stroke, - stroke: color - }, - ...rest - }, [ - title && (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createElement"])("title", { - key: "svg-title" - }, title), - ...iconNode.map(([tag, attrs])=>(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createElement"])(tag, attrs)), - ...Array.isArray(children) ? children : [ - children - ] - ])); - Component.displayName = `${iconNamePascal}`; - return Component; -}; -; - //# sourceMappingURL=createReactComponent.mjs.map -}), -"[project]/node_modules/@tabler/icons-react/dist/esm/icons/IconBrandGithub.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "__iconNode", - ()=>__iconNode, - "default", - ()=>IconBrandGithub -]); -/** - * @license @tabler/icons-react v3.36.1 - MIT - * - * This source code is licensed under the MIT license. - * See the LICENSE file in the root directory of this source tree. - */ var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$tabler$2f$icons$2d$react$2f$dist$2f$esm$2f$createReactComponent$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@tabler/icons-react/dist/esm/createReactComponent.mjs [app-client] (ecmascript)"); -; -const __iconNode = [ - [ - "path", - { - "d": "M9 19c-4.3 1.4 -4.3 -2.5 -6 -3m12 5v-3.5c0 -1 .1 -1.4 -.5 -2c2.8 -.3 5.5 -1.4 5.5 -6a4.6 4.6 0 0 0 -1.3 -3.2a4.2 4.2 0 0 0 -.1 -3.2s-1.1 -.3 -3.5 1.3a12.3 12.3 0 0 0 -6.2 0c-2.4 -1.6 -3.5 -1.3 -3.5 -1.3a4.2 4.2 0 0 0 -.1 3.2a4.6 4.6 0 0 0 -1.3 3.2c0 4.6 2.7 5.7 5.5 6c-.6 .6 -.6 1.2 -.5 2v3.5", - "key": "svg-0" - } - ] -]; -const IconBrandGithub = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$tabler$2f$icons$2d$react$2f$dist$2f$esm$2f$createReactComponent$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"])("outline", "brand-github", "BrandGithub", __iconNode); -; - //# sourceMappingURL=IconBrandGithub.mjs.map -}), -"[project]/node_modules/@tabler/icons-react/dist/esm/icons/IconBrandGithub.mjs [app-client] (ecmascript) ", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "IconBrandGithub", - ()=>__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$tabler$2f$icons$2d$react$2f$dist$2f$esm$2f$icons$2f$IconBrandGithub$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"] -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$tabler$2f$icons$2d$react$2f$dist$2f$esm$2f$icons$2f$IconBrandGithub$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@tabler/icons-react/dist/esm/icons/IconBrandGithub.mjs [app-client] (ecmascript)"); -}), -"[project]/node_modules/@tabler/icons-react/dist/esm/icons/IconSun.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "__iconNode", - ()=>__iconNode, - "default", - ()=>IconSun -]); -/** - * @license @tabler/icons-react v3.36.1 - MIT - * - * This source code is licensed under the MIT license. - * See the LICENSE file in the root directory of this source tree. - */ var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$tabler$2f$icons$2d$react$2f$dist$2f$esm$2f$createReactComponent$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@tabler/icons-react/dist/esm/createReactComponent.mjs [app-client] (ecmascript)"); -; -const __iconNode = [ - [ - "path", - { - "d": "M8 12a4 4 0 1 0 8 0a4 4 0 1 0 -8 0", - "key": "svg-0" - } - ], - [ - "path", - { - "d": "M3 12h1m8 -9v1m8 8h1m-9 8v1m-6.4 -15.4l.7 .7m12.1 -.7l-.7 .7m0 11.4l.7 .7m-12.1 -.7l-.7 .7", - "key": "svg-1" - } - ] -]; -const IconSun = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$tabler$2f$icons$2d$react$2f$dist$2f$esm$2f$createReactComponent$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"])("outline", "sun", "Sun", __iconNode); -; - //# sourceMappingURL=IconSun.mjs.map -}), -"[project]/node_modules/@tabler/icons-react/dist/esm/icons/IconSun.mjs [app-client] (ecmascript) ", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "IconSun", - ()=>__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$tabler$2f$icons$2d$react$2f$dist$2f$esm$2f$icons$2f$IconSun$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"] -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$tabler$2f$icons$2d$react$2f$dist$2f$esm$2f$icons$2f$IconSun$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@tabler/icons-react/dist/esm/icons/IconSun.mjs [app-client] (ecmascript)"); -}), -"[project]/node_modules/framer-motion/dist/es/context/LayoutGroupContext.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "LayoutGroupContext", - ()=>LayoutGroupContext -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -"use client"; -; -const LayoutGroupContext = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createContext"])({}); -; -}), -"[project]/node_modules/framer-motion/dist/es/utils/use-constant.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "useConstant", - ()=>useConstant -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -"use client"; -; -/** - * Creates a constant value over the lifecycle of a component. - * - * Even if `useMemo` is provided an empty array as its final argument, it doesn't offer - * a guarantee that it won't re-run for performance reasons later on. By using `useConstant` - * you can ensure that initialisers don't execute twice or more. - */ function useConstant(init) { - const ref = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useRef"])(null); - if (ref.current === null) { - ref.current = init(); - } - return ref.current; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/utils/is-browser.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "isBrowser", - ()=>isBrowser -]); -const isBrowser = typeof window !== "undefined"; -; -}), -"[project]/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "useIsomorphicLayoutEffect", - ()=>useIsomorphicLayoutEffect -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$is$2d$browser$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/utils/is-browser.mjs [app-client] (ecmascript)"); -"use client"; -; -; -const useIsomorphicLayoutEffect = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$is$2d$browser$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isBrowser"] ? __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useLayoutEffect"] : __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useEffect"]; -; -}), -"[project]/node_modules/framer-motion/dist/es/context/PresenceContext.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "PresenceContext", - ()=>PresenceContext -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -"use client"; -; -/** - * @public - */ const PresenceContext = /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createContext"])(null); -; -}), -"[project]/node_modules/motion-utils/dist/es/is-object.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "isObject", - ()=>isObject -]); -function isObject(value) { - return typeof value === "object" && value !== null; -} -; -}), -"[project]/node_modules/motion-dom/dist/es/utils/is-html-element.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "isHTMLElement", - ()=>isHTMLElement -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$is$2d$object$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/is-object.mjs [app-client] (ecmascript)"); -; -/** - * Checks if an element is an HTML element in a way - * that works across iframes - */ function isHTMLElement(element) { - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$is$2d$object$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isObject"])(element) && "offsetHeight" in element; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "MotionConfigContext", - ()=>MotionConfigContext -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -"use client"; -; -/** - * @public - */ const MotionConfigContext = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createContext"])({ - transformPagePoint: (p)=>p, - isStatic: false, - reducedMotion: "never" -}); -; -}), -"[project]/node_modules/framer-motion/dist/es/utils/use-composed-ref.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "useComposedRefs", - ()=>useComposedRefs -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -; -/** - * Taken from https://github.com/radix-ui/primitives/blob/main/packages/react/compose-refs/src/compose-refs.tsx - */ /** - * Set a given ref to a given value - * This utility takes care of different types of refs: callback refs and RefObject(s) - */ function setRef(ref, value) { - if (typeof ref === "function") { - return ref(value); - } else if (ref !== null && ref !== undefined) { - ref.current = value; - } -} -/** - * A utility to compose multiple refs together - * Accepts callback refs and RefObject(s) - */ function composeRefs(...refs) { - return (node)=>{ - let hasCleanup = false; - const cleanups = refs.map((ref)=>{ - const cleanup = setRef(ref, node); - if (!hasCleanup && typeof cleanup === "function") { - hasCleanup = true; - } - return cleanup; - }); - // React <19 will log an error to the console if a callback ref returns a - // value. We don't use ref cleanups internally so this will only happen if a - // user's ref callback returns a value, which we only expect if they are - // using the cleanup functionality added in React 19. - if (hasCleanup) { - return ()=>{ - for(let i = 0; i < cleanups.length; i++){ - const cleanup = cleanups[i]; - if (typeof cleanup === "function") { - cleanup(); - } else { - setRef(refs[i], null); - } - } - }; - } - }; -} -/** - * A custom hook that composes multiple refs - * Accepts callback refs and RefObject(s) - */ function useComposedRefs(...refs) { - // eslint-disable-next-line react-hooks/exhaustive-deps - return __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useCallback"](composeRefs(...refs), refs); -} -; -}), -"[project]/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "PopChild", - ()=>PopChild -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/jsx-runtime.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$is$2d$html$2d$element$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/utils/is-html-element.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$context$2f$MotionConfigContext$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$use$2d$composed$2d$ref$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/utils/use-composed-ref.mjs [app-client] (ecmascript)"); -"use client"; -; -; -; -; -; -; -/** - * Measurement functionality has to be within a separate component - * to leverage snapshot lifecycle. - */ class PopChildMeasure extends __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Component"] { - getSnapshotBeforeUpdate(prevProps) { - const element = this.props.childRef.current; - if (element && prevProps.isPresent && !this.props.isPresent) { - const parent = element.offsetParent; - const parentWidth = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$is$2d$html$2d$element$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isHTMLElement"])(parent) ? parent.offsetWidth || 0 : 0; - const size = this.props.sizeRef.current; - size.height = element.offsetHeight || 0; - size.width = element.offsetWidth || 0; - size.top = element.offsetTop; - size.left = element.offsetLeft; - size.right = parentWidth - size.width - size.left; - } - return null; - } - /** - * Required with getSnapshotBeforeUpdate to stop React complaining. - */ componentDidUpdate() {} - render() { - return this.props.children; - } -} -function PopChild({ children, isPresent, anchorX, root }) { - const id = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useId"])(); - const ref = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useRef"])(null); - const size = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useRef"])({ - width: 0, - height: 0, - top: 0, - left: 0, - right: 0 - }); - const { nonce } = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useContext"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$context$2f$MotionConfigContext$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["MotionConfigContext"]); - const composedRef = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$use$2d$composed$2d$ref$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useComposedRefs"])(ref, children?.ref); - /** - * We create and inject a style block so we can apply this explicit - * sizing in a non-destructive manner by just deleting the style block. - * - * We can't apply size via render as the measurement happens - * in getSnapshotBeforeUpdate (post-render), likewise if we apply the - * styles directly on the DOM node, we might be overwriting - * styles set via the style prop. - */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useInsertionEffect"])({ - "PopChild.useInsertionEffect": ()=>{ - const { width, height, top, left, right } = size.current; - if (isPresent || !ref.current || !width || !height) return; - const x = anchorX === "left" ? `left: ${left}` : `right: ${right}`; - ref.current.dataset.motionPopId = id; - const style = document.createElement("style"); - if (nonce) style.nonce = nonce; - const parent = root ?? document.head; - parent.appendChild(style); - if (style.sheet) { - style.sheet.insertRule(` - [data-motion-pop-id="${id}"] { - position: absolute !important; - width: ${width}px !important; - height: ${height}px !important; - ${x}px !important; - top: ${top}px !important; - } - `); - } - return ({ - "PopChild.useInsertionEffect": ()=>{ - if (parent.contains(style)) { - parent.removeChild(style); - } - } - })["PopChild.useInsertionEffect"]; - } - }["PopChild.useInsertionEffect"], [ - isPresent - ]); - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(PopChildMeasure, { - isPresent: isPresent, - childRef: ref, - sizeRef: size, - children: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["cloneElement"](children, { - ref: composedRef - }) - }); -} -; -}), -"[project]/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "PresenceChild", - ()=>PresenceChild -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/jsx-runtime.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$context$2f$PresenceContext$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/context/PresenceContext.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$use$2d$constant$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/utils/use-constant.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$components$2f$AnimatePresence$2f$PopChild$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs [app-client] (ecmascript)"); -"use client"; -; -; -; -; -; -; -const PresenceChild = ({ children, initial, isPresent, onExitComplete, custom, presenceAffectsLayout, mode, anchorX, root })=>{ - const presenceChildren = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$use$2d$constant$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useConstant"])(newChildrenMap); - const id = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useId"])(); - let isReusedContext = true; - let context = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useMemo"])({ - "PresenceChild.useMemo[context]": ()=>{ - isReusedContext = false; - return { - id, - initial, - isPresent, - custom, - onExitComplete: ({ - "PresenceChild.useMemo[context]": (childId)=>{ - presenceChildren.set(childId, true); - for (const isComplete of presenceChildren.values()){ - if (!isComplete) return; // can stop searching when any is incomplete - } - onExitComplete && onExitComplete(); - } - })["PresenceChild.useMemo[context]"], - register: ({ - "PresenceChild.useMemo[context]": (childId)=>{ - presenceChildren.set(childId, false); - return ({ - "PresenceChild.useMemo[context]": ()=>presenceChildren.delete(childId) - })["PresenceChild.useMemo[context]"]; - } - })["PresenceChild.useMemo[context]"] - }; - } - }["PresenceChild.useMemo[context]"], [ - isPresent, - presenceChildren, - onExitComplete - ]); - /** - * If the presence of a child affects the layout of the components around it, - * we want to make a new context value to ensure they get re-rendered - * so they can detect that layout change. - */ if (presenceAffectsLayout && isReusedContext) { - context = { - ...context - }; - } - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useMemo"])({ - "PresenceChild.useMemo": ()=>{ - presenceChildren.forEach({ - "PresenceChild.useMemo": (_, key)=>presenceChildren.set(key, false) - }["PresenceChild.useMemo"]); - } - }["PresenceChild.useMemo"], [ - isPresent - ]); - /** - * If there's no `motion` components to fire exit animations, we want to remove this - * component immediately. - */ __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useEffect"]({ - "PresenceChild.useEffect": ()=>{ - !isPresent && !presenceChildren.size && onExitComplete && onExitComplete(); - } - }["PresenceChild.useEffect"], [ - isPresent - ]); - if (mode === "popLayout") { - children = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$components$2f$AnimatePresence$2f$PopChild$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["PopChild"], { - isPresent: isPresent, - anchorX: anchorX, - root: root, - children: children - }); - } - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$context$2f$PresenceContext$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["PresenceContext"].Provider, { - value: context, - children: children - }); -}; -function newChildrenMap() { - return new Map(); -} -; -}), -"[project]/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "isPresent", - ()=>isPresent, - "useIsPresent", - ()=>useIsPresent, - "usePresence", - ()=>usePresence -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$context$2f$PresenceContext$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/context/PresenceContext.mjs [app-client] (ecmascript)"); -"use client"; -; -; -/** - * When a component is the child of `AnimatePresence`, it can use `usePresence` - * to access information about whether it's still present in the React tree. - * - * ```jsx - * import { usePresence } from "framer-motion" - * - * export const Component = () => { - * const [isPresent, safeToRemove] = usePresence() - * - * useEffect(() => { - * !isPresent && setTimeout(safeToRemove, 1000) - * }, [isPresent]) - * - * return
- * } - * ``` - * - * If `isPresent` is `false`, it means that a component has been removed the tree, but - * `AnimatePresence` won't really remove it until `safeToRemove` has been called. - * - * @public - */ function usePresence(subscribe = true) { - const context = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useContext"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$context$2f$PresenceContext$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["PresenceContext"]); - if (context === null) return [ - true, - null - ]; - const { isPresent, onExitComplete, register } = context; - // It's safe to call the following hooks conditionally (after an early return) because the context will always - // either be null or non-null for the lifespan of the component. - const id = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useId"])(); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useEffect"])({ - "usePresence.useEffect": ()=>{ - if (subscribe) { - return register(id); - } - } - }["usePresence.useEffect"], [ - subscribe - ]); - const safeToRemove = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useCallback"])({ - "usePresence.useCallback[safeToRemove]": ()=>subscribe && onExitComplete && onExitComplete(id) - }["usePresence.useCallback[safeToRemove]"], [ - id, - onExitComplete, - subscribe - ]); - return !isPresent && onExitComplete ? [ - false, - safeToRemove - ] : [ - true - ]; -} -/** - * Similar to `usePresence`, except `useIsPresent` simply returns whether or not the component is present. - * There is no `safeToRemove` function. - * - * ```jsx - * import { useIsPresent } from "framer-motion" - * - * export const Component = () => { - * const isPresent = useIsPresent() - * - * useEffect(() => { - * !isPresent && console.log("I've been removed!") - * }, [isPresent]) - * - * return
- * } - * ``` - * - * @public - */ function useIsPresent() { - return isPresent((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useContext"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$context$2f$PresenceContext$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["PresenceContext"])); -} -function isPresent(context) { - return context === null ? true : context.isPresent; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "getChildKey", - ()=>getChildKey, - "onlyElements", - ()=>onlyElements -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -; -const getChildKey = (child)=>child.key || ""; -function onlyElements(children) { - const filtered = []; - // We use forEach here instead of map as map mutates the component key by preprending `.$` - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Children"].forEach(children, (child)=>{ - if ((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isValidElement"])(child)) filtered.push(child); - }); - return filtered; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "AnimatePresence", - ()=>AnimatePresence -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/jsx-runtime.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$context$2f$LayoutGroupContext$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/context/LayoutGroupContext.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$use$2d$constant$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/utils/use-constant.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$use$2d$isomorphic$2d$effect$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$components$2f$AnimatePresence$2f$PresenceChild$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$components$2f$AnimatePresence$2f$use$2d$presence$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$components$2f$AnimatePresence$2f$utils$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.mjs [app-client] (ecmascript)"); -"use client"; -; -; -; -; -; -; -; -; -/** - * `AnimatePresence` enables the animation of components that have been removed from the tree. - * - * When adding/removing more than a single child, every child **must** be given a unique `key` prop. - * - * Any `motion` components that have an `exit` property defined will animate out when removed from - * the tree. - * - * ```jsx - * import { motion, AnimatePresence } from 'framer-motion' - * - * export const Items = ({ items }) => ( - * - * {items.map(item => ( - * - * ))} - * - * ) - * ``` - * - * You can sequence exit animations throughout a tree using variants. - * - * If a child contains multiple `motion` components with `exit` props, it will only unmount the child - * once all `motion` components have finished animating out. Likewise, any components using - * `usePresence` all need to call `safeToRemove`. - * - * @public - */ const AnimatePresence = ({ children, custom, initial = true, onExitComplete, presenceAffectsLayout = true, mode = "sync", propagate = false, anchorX = "left", root })=>{ - const [isParentPresent, safeToRemove] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$components$2f$AnimatePresence$2f$use$2d$presence$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["usePresence"])(propagate); - /** - * Filter any children that aren't ReactElements. We can only track components - * between renders with a props.key. - */ const presentChildren = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useMemo"])({ - "AnimatePresence.useMemo[presentChildren]": ()=>(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$components$2f$AnimatePresence$2f$utils$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["onlyElements"])(children) - }["AnimatePresence.useMemo[presentChildren]"], [ - children - ]); - /** - * Track the keys of the currently rendered children. This is used to - * determine which children are exiting. - */ const presentKeys = propagate && !isParentPresent ? [] : presentChildren.map(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$components$2f$AnimatePresence$2f$utils$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getChildKey"]); - /** - * If `initial={false}` we only want to pass this to components in the first render. - */ const isInitialRender = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useRef"])(true); - /** - * A ref containing the currently present children. When all exit animations - * are complete, we use this to re-render the component with the latest children - * *committed* rather than the latest children *rendered*. - */ const pendingPresentChildren = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useRef"])(presentChildren); - /** - * Track which exiting children have finished animating out. - */ const exitComplete = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$use$2d$constant$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useConstant"])({ - "AnimatePresence.useConstant[exitComplete]": ()=>new Map() - }["AnimatePresence.useConstant[exitComplete]"]); - /** - * Save children to render as React state. To ensure this component is concurrent-safe, - * we check for exiting children via an effect. - */ const [diffedChildren, setDiffedChildren] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"])(presentChildren); - const [renderedChildren, setRenderedChildren] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"])(presentChildren); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$use$2d$isomorphic$2d$effect$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useIsomorphicLayoutEffect"])({ - "AnimatePresence.useIsomorphicLayoutEffect": ()=>{ - isInitialRender.current = false; - pendingPresentChildren.current = presentChildren; - /** - * Update complete status of exiting children. - */ for(let i = 0; i < renderedChildren.length; i++){ - const key = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$components$2f$AnimatePresence$2f$utils$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getChildKey"])(renderedChildren[i]); - if (!presentKeys.includes(key)) { - if (exitComplete.get(key) !== true) { - exitComplete.set(key, false); - } - } else { - exitComplete.delete(key); - } - } - } - }["AnimatePresence.useIsomorphicLayoutEffect"], [ - renderedChildren, - presentKeys.length, - presentKeys.join("-") - ]); - const exitingChildren = []; - if (presentChildren !== diffedChildren) { - let nextChildren = [ - ...presentChildren - ]; - /** - * Loop through all the currently rendered components and decide which - * are exiting. - */ for(let i = 0; i < renderedChildren.length; i++){ - const child = renderedChildren[i]; - const key = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$components$2f$AnimatePresence$2f$utils$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getChildKey"])(child); - if (!presentKeys.includes(key)) { - nextChildren.splice(i, 0, child); - exitingChildren.push(child); - } - } - /** - * If we're in "wait" mode, and we have exiting children, we want to - * only render these until they've all exited. - */ if (mode === "wait" && exitingChildren.length) { - nextChildren = exitingChildren; - } - setRenderedChildren((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$components$2f$AnimatePresence$2f$utils$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["onlyElements"])(nextChildren)); - setDiffedChildren(presentChildren); - /** - * Early return to ensure once we've set state with the latest diffed - * children, we can immediately re-render. - */ return null; - } - if (("TURBOPACK compile-time value", "development") !== "production" && mode === "wait" && renderedChildren.length > 1) { - console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`); - } - /** - * If we've been provided a forceRender function by the LayoutGroupContext, - * we can use it to force a re-render amongst all surrounding components once - * all components have finished animating out. - */ const { forceRender } = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useContext"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$context$2f$LayoutGroupContext$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["LayoutGroupContext"]); - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Fragment"], { - children: renderedChildren.map((child)=>{ - const key = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$components$2f$AnimatePresence$2f$utils$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getChildKey"])(child); - const isPresent = propagate && !isParentPresent ? false : presentChildren === renderedChildren || presentKeys.includes(key); - const onExit = ()=>{ - if (exitComplete.has(key)) { - exitComplete.set(key, true); - } else { - return; - } - let isEveryExitComplete = true; - exitComplete.forEach((isExitComplete)=>{ - if (!isExitComplete) isEveryExitComplete = false; - }); - if (isEveryExitComplete) { - forceRender?.(); - setRenderedChildren(pendingPresentChildren.current); - propagate && safeToRemove?.(); - onExitComplete && onExitComplete(); - } - }; - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$components$2f$AnimatePresence$2f$PresenceChild$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["PresenceChild"], { - isPresent: isPresent, - initial: !isInitialRender.current || initial ? undefined : false, - custom: custom, - presenceAffectsLayout: presenceAffectsLayout, - mode: mode, - root: root, - onExitComplete: isPresent ? undefined : onExit, - anchorX: anchorX, - children: child - }, key); - }) - }); -}; -; -}), -"[project]/node_modules/motion-dom/dist/es/render/utils/keys-transform.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "transformPropOrder", - ()=>transformPropOrder, - "transformProps", - ()=>transformProps -]); -/** - * Generate a list of every possible transform key. - */ const transformPropOrder = [ - "transformPerspective", - "x", - "y", - "z", - "translateX", - "translateY", - "translateZ", - "scale", - "scaleX", - "scaleY", - "rotate", - "rotateX", - "rotateY", - "rotateZ", - "skew", - "skewX", - "skewY" -]; -/** - * A quick lookup for transform props. - */ const transformProps = /*@__PURE__*/ (()=>new Set(transformPropOrder))(); -; -}), -"[project]/node_modules/motion-dom/dist/es/render/dom/parse-transform.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "defaultTransformValue", - ()=>defaultTransformValue, - "parseValueFromTransform", - ()=>parseValueFromTransform, - "readTransformValue", - ()=>readTransformValue -]); -const radToDeg = (rad)=>rad * 180 / Math.PI; -const rotate = (v)=>{ - const angle = radToDeg(Math.atan2(v[1], v[0])); - return rebaseAngle(angle); -}; -const matrix2dParsers = { - x: 4, - y: 5, - translateX: 4, - translateY: 5, - scaleX: 0, - scaleY: 3, - scale: (v)=>(Math.abs(v[0]) + Math.abs(v[3])) / 2, - rotate, - rotateZ: rotate, - skewX: (v)=>radToDeg(Math.atan(v[1])), - skewY: (v)=>radToDeg(Math.atan(v[2])), - skew: (v)=>(Math.abs(v[1]) + Math.abs(v[2])) / 2 -}; -const rebaseAngle = (angle)=>{ - angle = angle % 360; - if (angle < 0) angle += 360; - return angle; -}; -const rotateZ = rotate; -const scaleX = (v)=>Math.sqrt(v[0] * v[0] + v[1] * v[1]); -const scaleY = (v)=>Math.sqrt(v[4] * v[4] + v[5] * v[5]); -const matrix3dParsers = { - x: 12, - y: 13, - z: 14, - translateX: 12, - translateY: 13, - translateZ: 14, - scaleX, - scaleY, - scale: (v)=>(scaleX(v) + scaleY(v)) / 2, - rotateX: (v)=>rebaseAngle(radToDeg(Math.atan2(v[6], v[5]))), - rotateY: (v)=>rebaseAngle(radToDeg(Math.atan2(-v[2], v[0]))), - rotateZ, - rotate: rotateZ, - skewX: (v)=>radToDeg(Math.atan(v[4])), - skewY: (v)=>radToDeg(Math.atan(v[1])), - skew: (v)=>(Math.abs(v[1]) + Math.abs(v[4])) / 2 -}; -function defaultTransformValue(name) { - return name.includes("scale") ? 1 : 0; -} -function parseValueFromTransform(transform, name) { - if (!transform || transform === "none") { - return defaultTransformValue(name); - } - const matrix3dMatch = transform.match(/^matrix3d\(([-\d.e\s,]+)\)$/u); - let parsers; - let match; - if (matrix3dMatch) { - parsers = matrix3dParsers; - match = matrix3dMatch; - } else { - const matrix2dMatch = transform.match(/^matrix\(([-\d.e\s,]+)\)$/u); - parsers = matrix2dParsers; - match = matrix2dMatch; - } - if (!match) { - return defaultTransformValue(name); - } - const valueParser = parsers[name]; - const values = match[1].split(",").map(convertTransformToNumber); - return typeof valueParser === "function" ? valueParser(values) : values[valueParser]; -} -const readTransformValue = (instance, name)=>{ - const { transform = "none" } = getComputedStyle(instance); - return parseValueFromTransform(transform, name); -}; -function convertTransformToNumber(value) { - return parseFloat(value.trim()); -} -; -}), -"[project]/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "isCSSVariableName", - ()=>isCSSVariableName, - "isCSSVariableToken", - ()=>isCSSVariableToken -]); -const checkStringStartsWith = (token)=>(key)=>typeof key === "string" && key.startsWith(token); -const isCSSVariableName = /*@__PURE__*/ checkStringStartsWith("--"); -const startsAsVariableToken = /*@__PURE__*/ checkStringStartsWith("var(--"); -const isCSSVariableToken = (value)=>{ - const startsWithToken = startsAsVariableToken(value); - if (!startsWithToken) return false; - // Ensure any comments are stripped from the value as this can harm performance of the regex. - return singleCssVariableRegex.test(value.split("/*")[0].trim()); -}; -const singleCssVariableRegex = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu; -; -}), -"[project]/node_modules/framer-motion/dist/es/projection/geometry/conversion.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "convertBoundingBoxToBox", - ()=>convertBoundingBoxToBox, - "convertBoxToBoundingBox", - ()=>convertBoxToBoundingBox, - "transformBoxPoints", - ()=>transformBoxPoints -]); -/** - * Bounding boxes tend to be defined as top, left, right, bottom. For various operations - * it's easier to consider each axis individually. This function returns a bounding box - * as a map of single-axis min/max values. - */ function convertBoundingBoxToBox({ top, left, right, bottom }) { - return { - x: { - min: left, - max: right - }, - y: { - min: top, - max: bottom - } - }; -} -function convertBoxToBoundingBox({ x, y }) { - return { - top: y.min, - right: x.max, - bottom: y.max, - left: x.min - }; -} -/** - * Applies a TransformPoint function to a bounding box. TransformPoint is usually a function - * provided by Framer to allow measured points to be corrected for device scaling. This is used - * when measuring DOM elements and DOM event points. - */ function transformBoxPoints(point, transformPoint) { - if (!transformPoint) return point; - const topLeft = transformPoint({ - x: point.left, - y: point.top - }); - const bottomRight = transformPoint({ - x: point.right, - y: point.bottom - }); - return { - top: topLeft.y, - left: topLeft.x, - bottom: bottomRight.y, - right: bottomRight.x - }; -} -; -}), -"[project]/node_modules/motion-dom/dist/es/utils/mix/number.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "mixNumber", - ()=>mixNumber -]); -/* - Value in range from progress - - Given a lower limit and an upper limit, we return the value within - that range as expressed by progress (usually a number from 0 to 1) - - So progress = 0.5 would change - - from -------- to - - to - - from ---- to - - E.g. from = 10, to = 20, progress = 0.5 => 15 - - @param [number]: Lower limit of range - @param [number]: Upper limit of range - @param [number]: The progress between lower and upper limits expressed 0-1 - @return [number]: Value as calculated from progress within range (not limited within range) -*/ const mixNumber = (from, to, progress)=>{ - return from + (to - from) * progress; -}; -; -}), -"[project]/node_modules/framer-motion/dist/es/projection/utils/has-transform.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "has2DTranslate", - ()=>has2DTranslate, - "hasScale", - ()=>hasScale, - "hasTransform", - ()=>hasTransform -]); -function isIdentityScale(scale) { - return scale === undefined || scale === 1; -} -function hasScale({ scale, scaleX, scaleY }) { - return !isIdentityScale(scale) || !isIdentityScale(scaleX) || !isIdentityScale(scaleY); -} -function hasTransform(values) { - return hasScale(values) || has2DTranslate(values) || values.z || values.rotate || values.rotateX || values.rotateY || values.skewX || values.skewY; -} -function has2DTranslate(values) { - return is2DTranslate(values.x) || is2DTranslate(values.y); -} -function is2DTranslate(value) { - return value && value !== "0%"; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "applyAxisDelta", - ()=>applyAxisDelta, - "applyBoxDelta", - ()=>applyBoxDelta, - "applyPointDelta", - ()=>applyPointDelta, - "applyTreeDeltas", - ()=>applyTreeDeltas, - "scalePoint", - ()=>scalePoint, - "transformAxis", - ()=>transformAxis, - "transformBox", - ()=>transformBox, - "translateAxis", - ()=>translateAxis -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$number$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/utils/mix/number.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$utils$2f$has$2d$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/projection/utils/has-transform.mjs [app-client] (ecmascript)"); -; -; -/** - * Scales a point based on a factor and an originPoint - */ function scalePoint(point, scale, originPoint) { - const distanceFromOrigin = point - originPoint; - const scaled = scale * distanceFromOrigin; - return originPoint + scaled; -} -/** - * Applies a translate/scale delta to a point - */ function applyPointDelta(point, translate, scale, originPoint, boxScale) { - if (boxScale !== undefined) { - point = scalePoint(point, boxScale, originPoint); - } - return scalePoint(point, scale, originPoint) + translate; -} -/** - * Applies a translate/scale delta to an axis - */ function applyAxisDelta(axis, translate = 0, scale = 1, originPoint, boxScale) { - axis.min = applyPointDelta(axis.min, translate, scale, originPoint, boxScale); - axis.max = applyPointDelta(axis.max, translate, scale, originPoint, boxScale); -} -/** - * Applies a translate/scale delta to a box - */ function applyBoxDelta(box, { x, y }) { - applyAxisDelta(box.x, x.translate, x.scale, x.originPoint); - applyAxisDelta(box.y, y.translate, y.scale, y.originPoint); -} -const TREE_SCALE_SNAP_MIN = 0.999999999999; -const TREE_SCALE_SNAP_MAX = 1.0000000000001; -/** - * Apply a tree of deltas to a box. We do this to calculate the effect of all the transforms - * in a tree upon our box before then calculating how to project it into our desired viewport-relative box - * - * This is the final nested loop within updateLayoutDelta for future refactoring - */ function applyTreeDeltas(box, treeScale, treePath, isSharedTransition = false) { - const treeLength = treePath.length; - if (!treeLength) return; - // Reset the treeScale - treeScale.x = treeScale.y = 1; - let node; - let delta; - for(let i = 0; i < treeLength; i++){ - node = treePath[i]; - delta = node.projectionDelta; - /** - * TODO: Prefer to remove this, but currently we have motion components with - * display: contents in Framer. - */ const { visualElement } = node.options; - if (visualElement && visualElement.props.style && visualElement.props.style.display === "contents") { - continue; - } - if (isSharedTransition && node.options.layoutScroll && node.scroll && node !== node.root) { - transformBox(box, { - x: -node.scroll.offset.x, - y: -node.scroll.offset.y - }); - } - if (delta) { - // Incoporate each ancestor's scale into a culmulative treeScale for this component - treeScale.x *= delta.x.scale; - treeScale.y *= delta.y.scale; - // Apply each ancestor's calculated delta into this component's recorded layout box - applyBoxDelta(box, delta); - } - if (isSharedTransition && (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$utils$2f$has$2d$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["hasTransform"])(node.latestValues)) { - transformBox(box, node.latestValues); - } - } - /** - * Snap tree scale back to 1 if it's within a non-perceivable threshold. - * This will help reduce useless scales getting rendered. - */ if (treeScale.x < TREE_SCALE_SNAP_MAX && treeScale.x > TREE_SCALE_SNAP_MIN) { - treeScale.x = 1.0; - } - if (treeScale.y < TREE_SCALE_SNAP_MAX && treeScale.y > TREE_SCALE_SNAP_MIN) { - treeScale.y = 1.0; - } -} -function translateAxis(axis, distance) { - axis.min = axis.min + distance; - axis.max = axis.max + distance; -} -/** - * Apply a transform to an axis from the latest resolved motion values. - * This function basically acts as a bridge between a flat motion value map - * and applyAxisDelta - */ function transformAxis(axis, axisTranslate, axisScale, boxScale, axisOrigin = 0.5) { - const originPoint = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$number$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["mixNumber"])(axis.min, axis.max, axisOrigin); - // Apply the axis delta to the final axis - applyAxisDelta(axis, axisTranslate, axisScale, originPoint, boxScale); -} -/** - * Apply a transform to a box from the latest resolved motion values. - */ function transformBox(box, transform) { - transformAxis(box.x, transform.x, transform.scaleX, transform.scale, transform.originX); - transformAxis(box.y, transform.y, transform.scaleY, transform.scale, transform.originY); -} -; -}), -"[project]/node_modules/framer-motion/dist/es/projection/utils/measure.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "measurePageBox", - ()=>measurePageBox, - "measureViewportBox", - ()=>measureViewportBox -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$conversion$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/projection/geometry/conversion.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$delta$2d$apply$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.mjs [app-client] (ecmascript)"); -; -; -function measureViewportBox(instance, transformPoint) { - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$conversion$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["convertBoundingBoxToBox"])((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$conversion$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["transformBoxPoints"])(instance.getBoundingClientRect(), transformPoint)); -} -function measurePageBox(element, rootProjectionNode, transformPagePoint) { - const viewportBox = measureViewportBox(element, transformPagePoint); - const { scroll } = rootProjectionNode; - if (scroll) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$delta$2d$apply$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["translateAxis"])(viewportBox.x, scroll.offset.x); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$delta$2d$apply$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["translateAxis"])(viewportBox.y, scroll.offset.y); - } - return viewportBox; -} -; -}), -"[project]/node_modules/motion-dom/dist/es/render/utils/keys-position.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "positionalKeys", - ()=>positionalKeys -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$render$2f$utils$2f$keys$2d$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/render/utils/keys-transform.mjs [app-client] (ecmascript)"); -; -const positionalKeys = new Set([ - "width", - "height", - "top", - "left", - "right", - "bottom", - ...__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$render$2f$utils$2f$keys$2d$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["transformPropOrder"] -]); -; -}), -"[project]/node_modules/motion-dom/dist/es/value/types/auto.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "auto", - ()=>auto -]); -/** - * ValueType for "auto" - */ const auto = { - test: (v)=>v === "auto", - parse: (v)=>v -}; -; -}), -"[project]/node_modules/motion-utils/dist/es/clamp.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "clamp", - ()=>clamp -]); -const clamp = (min, max, v)=>{ - if (v > max) return max; - if (v < min) return min; - return v; -}; -; -}), -"[project]/node_modules/motion-dom/dist/es/value/types/numbers/index.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "alpha", - ()=>alpha, - "number", - ()=>number, - "scale", - ()=>scale -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$clamp$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/clamp.mjs [app-client] (ecmascript)"); -; -const number = { - test: (v)=>typeof v === "number", - parse: parseFloat, - transform: (v)=>v -}; -const alpha = { - ...number, - transform: (v)=>(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$clamp$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["clamp"])(0, 1, v) -}; -const scale = { - ...number, - default: 1 -}; -; -}), -"[project]/node_modules/motion-dom/dist/es/value/types/numbers/units.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "degrees", - ()=>degrees, - "percent", - ()=>percent, - "progressPercentage", - ()=>progressPercentage, - "px", - ()=>px, - "vh", - ()=>vh, - "vw", - ()=>vw -]); -/*#__NO_SIDE_EFFECTS__*/ const createUnitType = (unit)=>({ - test: (v)=>typeof v === "string" && v.endsWith(unit) && v.split(" ").length === 1, - parse: parseFloat, - transform: (v)=>`${v}${unit}` - }); -const degrees = /*@__PURE__*/ createUnitType("deg"); -const percent = /*@__PURE__*/ createUnitType("%"); -const px = /*@__PURE__*/ createUnitType("px"); -const vh = /*@__PURE__*/ createUnitType("vh"); -const vw = /*@__PURE__*/ createUnitType("vw"); -const progressPercentage = /*@__PURE__*/ (()=>({ - ...percent, - parse: (v)=>percent.parse(v) / 100, - transform: (v)=>percent.transform(v * 100) - }))(); -; -}), -"[project]/node_modules/motion-dom/dist/es/value/types/test.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "testValueType", - ()=>testValueType -]); -/** - * Tests a provided value against a ValueType - */ const testValueType = (v)=>(type)=>type.test(v); -; -}), -"[project]/node_modules/motion-dom/dist/es/value/types/dimensions.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "dimensionValueTypes", - ()=>dimensionValueTypes, - "findDimensionValueType", - ()=>findDimensionValueType -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$auto$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/auto.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/numbers/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/numbers/units.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$test$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/test.mjs [app-client] (ecmascript)"); -; -; -; -; -/** - * A list of value types commonly used for dimensions - */ const dimensionValueTypes = [ - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["number"], - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["px"], - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["percent"], - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["degrees"], - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["vw"], - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["vh"], - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$auto$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["auto"] -]; -/** - * Tests a dimensional value against the list of dimension ValueTypes - */ const findDimensionValueType = (v)=>dimensionValueTypes.find((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$test$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["testValueType"])(v)); -; -}), -"[project]/node_modules/motion-utils/dist/es/format-error-message.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "formatErrorMessage", - ()=>formatErrorMessage -]); -function formatErrorMessage(message, errorCode) { - return errorCode ? `${message}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${errorCode}` : message; -} -; -}), -"[project]/node_modules/motion-utils/dist/es/errors.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "invariant", - ()=>invariant, - "warning", - ()=>warning -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$format$2d$error$2d$message$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/format-error-message.mjs [app-client] (ecmascript)"); -; -let warning = ()=>{}; -let invariant = ()=>{}; -if ("TURBOPACK compile-time truthy", 1) { - warning = (check, message, errorCode)=>{ - if (!check && typeof console !== "undefined") { - console.warn((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$format$2d$error$2d$message$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["formatErrorMessage"])(message, errorCode)); - } - }; - invariant = (check, message, errorCode)=>{ - if (!check) { - throw new Error((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$format$2d$error$2d$message$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["formatErrorMessage"])(message, errorCode)); - } - }; -} -; -}), -"[project]/node_modules/motion-utils/dist/es/is-numerical-string.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "isNumericalString", - ()=>isNumericalString -]); -/** - * Check if value is a numerical string, ie a string that is purely a number eg "100" or "-100.1" - */ const isNumericalString = (v)=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(v); -; -}), -"[project]/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "getVariableValue", - ()=>getVariableValue, - "parseCSSVariable", - ()=>parseCSSVariable -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$errors$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/errors.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$is$2d$numerical$2d$string$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/is-numerical-string.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$utils$2f$is$2d$css$2d$variable$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.mjs [app-client] (ecmascript)"); -; -; -/** - * Parse Framer's special CSS variable format into a CSS token and a fallback. - * - * ``` - * `var(--foo, #fff)` => [`--foo`, '#fff'] - * ``` - * - * @param current - */ const splitCSSVariableRegex = // eslint-disable-next-line redos-detector/no-unsafe-regex -- false positive, as it can match a lot of words -/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u; -function parseCSSVariable(current) { - const match = splitCSSVariableRegex.exec(current); - if (!match) return [ - , - ]; - const [, token1, token2, fallback] = match; - return [ - `--${token1 ?? token2}`, - fallback - ]; -} -const maxDepth = 4; -function getVariableValue(current, element, depth = 1) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$errors$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["invariant"])(depth <= maxDepth, `Max CSS variable fallback depth detected in property "${current}". This may indicate a circular fallback dependency.`, "max-css-var-depth"); - const [token, fallback] = parseCSSVariable(current); - // No CSS variable detected - if (!token) return; - // Attempt to read this CSS variable off the element - const resolved = window.getComputedStyle(element).getPropertyValue(token); - if (resolved) { - const trimmed = resolved.trim(); - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$is$2d$numerical$2d$string$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isNumericalString"])(trimmed) ? parseFloat(trimmed) : trimmed; - } - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$utils$2f$is$2d$css$2d$variable$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isCSSVariableToken"])(fallback) ? getVariableValue(fallback, element, depth + 1) : fallback; -} -; -}), -"[project]/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "fillWildcards", - ()=>fillWildcards -]); -function fillWildcards(keyframes) { - for(let i = 1; i < keyframes.length; i++){ - keyframes[i] ?? (keyframes[i] = keyframes[i - 1]); - } -} -; -}), -"[project]/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "isNumOrPxType", - ()=>isNumOrPxType, - "positionalValues", - ()=>positionalValues, - "removeNonTranslationalTransform", - ()=>removeNonTranslationalTransform -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$render$2f$dom$2f$parse$2d$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/render/dom/parse-transform.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$render$2f$utils$2f$keys$2d$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/render/utils/keys-transform.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/numbers/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/numbers/units.mjs [app-client] (ecmascript)"); -; -; -; -; -const isNumOrPxType = (v)=>v === __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["number"] || v === __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["px"]; -const transformKeys = new Set([ - "x", - "y", - "z" -]); -const nonTranslationalTransformKeys = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$render$2f$utils$2f$keys$2d$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["transformPropOrder"].filter((key)=>!transformKeys.has(key)); -function removeNonTranslationalTransform(visualElement) { - const removedTransforms = []; - nonTranslationalTransformKeys.forEach((key)=>{ - const value = visualElement.getValue(key); - if (value !== undefined) { - removedTransforms.push([ - key, - value.get() - ]); - value.set(key.startsWith("scale") ? 1 : 0); - } - }); - return removedTransforms; -} -const positionalValues = { - // Dimensions - width: ({ x }, { paddingLeft = "0", paddingRight = "0" })=>x.max - x.min - parseFloat(paddingLeft) - parseFloat(paddingRight), - height: ({ y }, { paddingTop = "0", paddingBottom = "0" })=>y.max - y.min - parseFloat(paddingTop) - parseFloat(paddingBottom), - top: (_bbox, { top })=>parseFloat(top), - left: (_bbox, { left })=>parseFloat(left), - bottom: ({ y }, { top })=>parseFloat(top) + (y.max - y.min), - right: ({ x }, { left })=>parseFloat(left) + (x.max - x.min), - // Transform - x: (_bbox, { transform })=>(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$render$2f$dom$2f$parse$2d$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["parseValueFromTransform"])(transform, "x"), - y: (_bbox, { transform })=>(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$render$2f$dom$2f$parse$2d$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["parseValueFromTransform"])(transform, "y") -}; -// Alias translate longform names -positionalValues.translateX = positionalValues.x; -positionalValues.translateY = positionalValues.y; -; -}), -"[project]/node_modules/motion-utils/dist/es/noop.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "noop", - ()=>noop -]); -/*#__NO_SIDE_EFFECTS__*/ const noop = (any)=>any; -; -}), -"[project]/node_modules/motion-utils/dist/es/global-config.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "MotionGlobalConfig", - ()=>MotionGlobalConfig -]); -const MotionGlobalConfig = {}; -; -}), -"[project]/node_modules/motion-dom/dist/es/frameloop/order.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "stepsOrder", - ()=>stepsOrder -]); -const stepsOrder = [ - "setup", - "read", - "resolveKeyframes", - "preUpdate", - "update", - "preRender", - "render", - "postRender" -]; -; -}), -"[project]/node_modules/motion-dom/dist/es/stats/buffer.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "statsBuffer", - ()=>statsBuffer -]); -const statsBuffer = { - value: null, - addProjectionMetrics: null -}; -; -}), -"[project]/node_modules/motion-dom/dist/es/frameloop/render-step.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "createRenderStep", - ()=>createRenderStep -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$stats$2f$buffer$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/stats/buffer.mjs [app-client] (ecmascript)"); -; -function createRenderStep(runNextFrame, stepName) { - /** - * We create and reuse two queues, one to queue jobs for the current frame - * and one for the next. We reuse to avoid triggering GC after x frames. - */ let thisFrame = new Set(); - let nextFrame = new Set(); - /** - * Track whether we're currently processing jobs in this step. This way - * we can decide whether to schedule new jobs for this frame or next. - */ let isProcessing = false; - let flushNextFrame = false; - /** - * A set of processes which were marked keepAlive when scheduled. - */ const toKeepAlive = new WeakSet(); - let latestFrameData = { - delta: 0.0, - timestamp: 0.0, - isProcessing: false - }; - let numCalls = 0; - function triggerCallback(callback) { - if (toKeepAlive.has(callback)) { - step.schedule(callback); - runNextFrame(); - } - numCalls++; - callback(latestFrameData); - } - const step = { - /** - * Schedule a process to run on the next frame. - */ schedule: (callback, keepAlive = false, immediate = false)=>{ - const addToCurrentFrame = immediate && isProcessing; - const queue = addToCurrentFrame ? thisFrame : nextFrame; - if (keepAlive) toKeepAlive.add(callback); - if (!queue.has(callback)) queue.add(callback); - return callback; - }, - /** - * Cancel the provided callback from running on the next frame. - */ cancel: (callback)=>{ - nextFrame.delete(callback); - toKeepAlive.delete(callback); - }, - /** - * Execute all schedule callbacks. - */ process: (frameData)=>{ - latestFrameData = frameData; - /** - * If we're already processing we've probably been triggered by a flushSync - * inside an existing process. Instead of executing, mark flushNextFrame - * as true and ensure we flush the following frame at the end of this one. - */ if (isProcessing) { - flushNextFrame = true; - return; - } - isProcessing = true; - [thisFrame, nextFrame] = [ - nextFrame, - thisFrame - ]; - // Execute this frame - thisFrame.forEach(triggerCallback); - /** - * If we're recording stats then - */ if (stepName && __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$stats$2f$buffer$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["statsBuffer"].value) { - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$stats$2f$buffer$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["statsBuffer"].value.frameloop[stepName].push(numCalls); - } - numCalls = 0; - // Clear the frame so no callbacks remain. This is to avoid - // memory leaks should this render step not run for a while. - thisFrame.clear(); - isProcessing = false; - if (flushNextFrame) { - flushNextFrame = false; - step.process(frameData); - } - } - }; - return step; -} -; -}), -"[project]/node_modules/motion-dom/dist/es/frameloop/batcher.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "createRenderBatcher", - ()=>createRenderBatcher -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$global$2d$config$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/global-config.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$order$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/frameloop/order.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$render$2d$step$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/frameloop/render-step.mjs [app-client] (ecmascript)"); -; -; -; -const maxElapsed = 40; -function createRenderBatcher(scheduleNextBatch, allowKeepAlive) { - let runNextFrame = false; - let useDefaultElapsed = true; - const state = { - delta: 0.0, - timestamp: 0.0, - isProcessing: false - }; - const flagRunNextFrame = ()=>runNextFrame = true; - const steps = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$order$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["stepsOrder"].reduce((acc, key)=>{ - acc[key] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$render$2d$step$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createRenderStep"])(flagRunNextFrame, allowKeepAlive ? key : undefined); - return acc; - }, {}); - const { setup, read, resolveKeyframes, preUpdate, update, preRender, render, postRender } = steps; - const processBatch = ()=>{ - const timestamp = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$global$2d$config$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["MotionGlobalConfig"].useManualTiming ? state.timestamp : performance.now(); - runNextFrame = false; - if (!__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$global$2d$config$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["MotionGlobalConfig"].useManualTiming) { - state.delta = useDefaultElapsed ? 1000 / 60 : Math.max(Math.min(timestamp - state.timestamp, maxElapsed), 1); - } - state.timestamp = timestamp; - state.isProcessing = true; - // Unrolled render loop for better per-frame performance - setup.process(state); - read.process(state); - resolveKeyframes.process(state); - preUpdate.process(state); - update.process(state); - preRender.process(state); - render.process(state); - postRender.process(state); - state.isProcessing = false; - if (runNextFrame && allowKeepAlive) { - useDefaultElapsed = false; - scheduleNextBatch(processBatch); - } - }; - const wake = ()=>{ - runNextFrame = true; - useDefaultElapsed = true; - if (!state.isProcessing) { - scheduleNextBatch(processBatch); - } - }; - const schedule = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$order$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["stepsOrder"].reduce((acc, key)=>{ - const step = steps[key]; - acc[key] = (process, keepAlive = false, immediate = false)=>{ - if (!runNextFrame) wake(); - return step.schedule(process, keepAlive, immediate); - }; - return acc; - }, {}); - const cancel = (process)=>{ - for(let i = 0; i < __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$order$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["stepsOrder"].length; i++){ - steps[__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$order$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["stepsOrder"][i]].cancel(process); - } - }; - return { - schedule, - cancel, - state, - steps - }; -} -; -}), -"[project]/node_modules/motion-dom/dist/es/frameloop/frame.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "cancelFrame", - ()=>cancelFrame, - "frame", - ()=>frame, - "frameData", - ()=>frameData, - "frameSteps", - ()=>frameSteps -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$noop$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/noop.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$batcher$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/frameloop/batcher.mjs [app-client] (ecmascript)"); -; -; -const { schedule: frame, cancel: cancelFrame, state: frameData, steps: frameSteps } = /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$batcher$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createRenderBatcher"])(typeof requestAnimationFrame !== "undefined" ? requestAnimationFrame : __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$noop$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["noop"], true); -; -}), -"[project]/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "KeyframeResolver", - ()=>KeyframeResolver, - "flushKeyframeResolvers", - ()=>flushKeyframeResolvers -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$keyframes$2f$utils$2f$fill$2d$wildcards$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$keyframes$2f$utils$2f$unit$2d$conversion$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/frameloop/frame.mjs [app-client] (ecmascript)"); -; -; -; -const toResolve = new Set(); -let isScheduled = false; -let anyNeedsMeasurement = false; -let isForced = false; -function measureAllKeyframes() { - if (anyNeedsMeasurement) { - const resolversToMeasure = Array.from(toResolve).filter((resolver)=>resolver.needsMeasurement); - const elementsToMeasure = new Set(resolversToMeasure.map((resolver)=>resolver.element)); - const transformsToRestore = new Map(); - /** - * Write pass - * If we're measuring elements we want to remove bounding box-changing transforms. - */ elementsToMeasure.forEach((element)=>{ - const removedTransforms = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$keyframes$2f$utils$2f$unit$2d$conversion$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["removeNonTranslationalTransform"])(element); - if (!removedTransforms.length) return; - transformsToRestore.set(element, removedTransforms); - element.render(); - }); - // Read - resolversToMeasure.forEach((resolver)=>resolver.measureInitialState()); - // Write - elementsToMeasure.forEach((element)=>{ - element.render(); - const restore = transformsToRestore.get(element); - if (restore) { - restore.forEach(([key, value])=>{ - element.getValue(key)?.set(value); - }); - } - }); - // Read - resolversToMeasure.forEach((resolver)=>resolver.measureEndState()); - // Write - resolversToMeasure.forEach((resolver)=>{ - if (resolver.suspendedScrollY !== undefined) { - window.scrollTo(0, resolver.suspendedScrollY); - } - }); - } - anyNeedsMeasurement = false; - isScheduled = false; - toResolve.forEach((resolver)=>resolver.complete(isForced)); - toResolve.clear(); -} -function readAllKeyframes() { - toResolve.forEach((resolver)=>{ - resolver.readKeyframes(); - if (resolver.needsMeasurement) { - anyNeedsMeasurement = true; - } - }); -} -function flushKeyframeResolvers() { - isForced = true; - readAllKeyframes(); - measureAllKeyframes(); - isForced = false; -} -class KeyframeResolver { - constructor(unresolvedKeyframes, onComplete, name, motionValue, element, isAsync = false){ - this.state = "pending"; - /** - * Track whether this resolver is async. If it is, it'll be added to the - * resolver queue and flushed in the next frame. Resolvers that aren't going - * to trigger read/write thrashing don't need to be async. - */ this.isAsync = false; - /** - * Track whether this resolver needs to perform a measurement - * to resolve its keyframes. - */ this.needsMeasurement = false; - this.unresolvedKeyframes = [ - ...unresolvedKeyframes - ]; - this.onComplete = onComplete; - this.name = name; - this.motionValue = motionValue; - this.element = element; - this.isAsync = isAsync; - } - scheduleResolve() { - this.state = "scheduled"; - if (this.isAsync) { - toResolve.add(this); - if (!isScheduled) { - isScheduled = true; - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frame"].read(readAllKeyframes); - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frame"].resolveKeyframes(measureAllKeyframes); - } - } else { - this.readKeyframes(); - this.complete(); - } - } - readKeyframes() { - const { unresolvedKeyframes, name, element, motionValue } = this; - // If initial keyframe is null we need to read it from the DOM - if (unresolvedKeyframes[0] === null) { - const currentValue = motionValue?.get(); - // TODO: This doesn't work if the final keyframe is a wildcard - const finalKeyframe = unresolvedKeyframes[unresolvedKeyframes.length - 1]; - if (currentValue !== undefined) { - unresolvedKeyframes[0] = currentValue; - } else if (element && name) { - const valueAsRead = element.readValue(name, finalKeyframe); - if (valueAsRead !== undefined && valueAsRead !== null) { - unresolvedKeyframes[0] = valueAsRead; - } - } - if (unresolvedKeyframes[0] === undefined) { - unresolvedKeyframes[0] = finalKeyframe; - } - if (motionValue && currentValue === undefined) { - motionValue.set(unresolvedKeyframes[0]); - } - } - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$keyframes$2f$utils$2f$fill$2d$wildcards$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["fillWildcards"])(unresolvedKeyframes); - } - setFinalKeyframe() {} - measureInitialState() {} - renderEndStyles() {} - measureEndState() {} - complete(isForcedComplete = false) { - this.state = "complete"; - this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, isForcedComplete); - toResolve.delete(this); - } - cancel() { - if (this.state === "scheduled") { - toResolve.delete(this); - this.state = "pending"; - } - } - resume() { - if (this.state === "pending") this.scheduleResolve(); - } -} -; -}), -"[project]/node_modules/motion-utils/dist/es/is-zero-value-string.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "isZeroValueString", - ()=>isZeroValueString -]); -/** - * Check if the value is a zero value string like "0px" or "0%" - */ const isZeroValueString = (v)=>/^0[^.\s]+$/u.test(v); -; -}), -"[project]/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "isNone", - ()=>isNone -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$is$2d$zero$2d$value$2d$string$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/is-zero-value-string.mjs [app-client] (ecmascript)"); -; -function isNone(value) { - if (typeof value === "number") { - return value === 0; - } else if (value !== null) { - return value === "none" || value === "0" || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$is$2d$zero$2d$value$2d$string$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isZeroValueString"])(value); - } else { - return true; - } -} -; -}), -"[project]/node_modules/motion-dom/dist/es/value/types/utils/sanitize.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "sanitize", - ()=>sanitize -]); -// If this number is a decimal, make it just five decimal places -// to avoid exponents -const sanitize = (v)=>Math.round(v * 100000) / 100000; -; -}), -"[project]/node_modules/motion-dom/dist/es/value/types/utils/float-regex.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "floatRegex", - ()=>floatRegex -]); -const floatRegex = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu; -; -}), -"[project]/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "isNullish", - ()=>isNullish -]); -function isNullish(v) { - return v == null; -} -; -}), -"[project]/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "singleColorRegex", - ()=>singleColorRegex -]); -const singleColorRegex = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu; -; -}), -"[project]/node_modules/motion-dom/dist/es/value/types/color/utils.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "isColorString", - ()=>isColorString, - "splitColor", - ()=>splitColor -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$utils$2f$float$2d$regex$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/utils/float-regex.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$utils$2f$is$2d$nullish$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$utils$2f$single$2d$color$2d$regex$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.mjs [app-client] (ecmascript)"); -; -; -; -/** - * Returns true if the provided string is a color, ie rgba(0,0,0,0) or #000, - * but false if a number or multiple colors - */ const isColorString = (type, testProp)=>(v)=>{ - return Boolean(typeof v === "string" && __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$utils$2f$single$2d$color$2d$regex$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["singleColorRegex"].test(v) && v.startsWith(type) || testProp && !(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$utils$2f$is$2d$nullish$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isNullish"])(v) && Object.prototype.hasOwnProperty.call(v, testProp)); - }; -const splitColor = (aName, bName, cName)=>(v)=>{ - if (typeof v !== "string") return v; - const [a, b, c, alpha] = v.match(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$utils$2f$float$2d$regex$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["floatRegex"]); - return { - [aName]: parseFloat(a), - [bName]: parseFloat(b), - [cName]: parseFloat(c), - alpha: alpha !== undefined ? parseFloat(alpha) : 1 - }; - }; -; -}), -"[project]/node_modules/motion-dom/dist/es/value/types/color/rgba.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "rgbUnit", - ()=>rgbUnit, - "rgba", - ()=>rgba -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$clamp$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/clamp.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/numbers/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$utils$2f$sanitize$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/utils/sanitize.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$utils$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/color/utils.mjs [app-client] (ecmascript)"); -; -; -; -; -const clampRgbUnit = (v)=>(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$clamp$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["clamp"])(0, 255, v); -const rgbUnit = { - ...__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["number"], - transform: (v)=>Math.round(clampRgbUnit(v)) -}; -const rgba = { - test: /*@__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$utils$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isColorString"])("rgb", "red"), - parse: /*@__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$utils$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["splitColor"])("red", "green", "blue"), - transform: ({ red, green, blue, alpha: alpha$1 = 1 })=>"rgba(" + rgbUnit.transform(red) + ", " + rgbUnit.transform(green) + ", " + rgbUnit.transform(blue) + ", " + (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$utils$2f$sanitize$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["sanitize"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["alpha"].transform(alpha$1)) + ")" -}; -; -}), -"[project]/node_modules/motion-dom/dist/es/value/types/color/hex.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "hex", - ()=>hex -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$rgba$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/color/rgba.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$utils$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/color/utils.mjs [app-client] (ecmascript)"); -; -; -function parseHex(v) { - let r = ""; - let g = ""; - let b = ""; - let a = ""; - // If we have 6 characters, ie #FF0000 - if (v.length > 5) { - r = v.substring(1, 3); - g = v.substring(3, 5); - b = v.substring(5, 7); - a = v.substring(7, 9); - // Or we have 3 characters, ie #F00 - } else { - r = v.substring(1, 2); - g = v.substring(2, 3); - b = v.substring(3, 4); - a = v.substring(4, 5); - r += r; - g += g; - b += b; - a += a; - } - return { - red: parseInt(r, 16), - green: parseInt(g, 16), - blue: parseInt(b, 16), - alpha: a ? parseInt(a, 16) / 255 : 1 - }; -} -const hex = { - test: /*@__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$utils$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isColorString"])("#"), - parse: parseHex, - transform: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$rgba$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["rgba"].transform -}; -; -}), -"[project]/node_modules/motion-dom/dist/es/value/types/color/hsla.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "hsla", - ()=>hsla -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/numbers/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/numbers/units.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$utils$2f$sanitize$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/utils/sanitize.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$utils$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/color/utils.mjs [app-client] (ecmascript)"); -; -; -; -; -const hsla = { - test: /*@__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$utils$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isColorString"])("hsl", "hue"), - parse: /*@__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$utils$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["splitColor"])("hue", "saturation", "lightness"), - transform: ({ hue, saturation, lightness, alpha: alpha$1 = 1 })=>{ - return "hsla(" + Math.round(hue) + ", " + __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["percent"].transform((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$utils$2f$sanitize$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["sanitize"])(saturation)) + ", " + __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["percent"].transform((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$utils$2f$sanitize$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["sanitize"])(lightness)) + ", " + (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$utils$2f$sanitize$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["sanitize"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["alpha"].transform(alpha$1)) + ")"; - } -}; -; -}), -"[project]/node_modules/motion-dom/dist/es/value/types/color/index.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "color", - ()=>color -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$hex$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/color/hex.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$hsla$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/color/hsla.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$rgba$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/color/rgba.mjs [app-client] (ecmascript)"); -; -; -; -const color = { - test: (v)=>__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$rgba$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["rgba"].test(v) || __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$hex$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["hex"].test(v) || __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$hsla$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["hsla"].test(v), - parse: (v)=>{ - if (__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$rgba$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["rgba"].test(v)) { - return __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$rgba$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["rgba"].parse(v); - } else if (__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$hsla$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["hsla"].test(v)) { - return __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$hsla$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["hsla"].parse(v); - } else { - return __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$hex$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["hex"].parse(v); - } - }, - transform: (v)=>{ - return typeof v === "string" ? v : v.hasOwnProperty("red") ? __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$rgba$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["rgba"].transform(v) : __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$hsla$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["hsla"].transform(v); - }, - getAnimatableNone: (v)=>{ - const parsed = color.parse(v); - parsed.alpha = 0; - return color.transform(parsed); - } -}; -; -}), -"[project]/node_modules/motion-dom/dist/es/value/types/utils/color-regex.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "colorRegex", - ()=>colorRegex -]); -const colorRegex = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu; -; -}), -"[project]/node_modules/motion-dom/dist/es/value/types/complex/index.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "analyseComplexValue", - ()=>analyseComplexValue, - "complex", - ()=>complex -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/color/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$utils$2f$color$2d$regex$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/utils/color-regex.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$utils$2f$float$2d$regex$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/utils/float-regex.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$utils$2f$sanitize$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/utils/sanitize.mjs [app-client] (ecmascript)"); -; -; -; -; -function test(v) { - return isNaN(v) && typeof v === "string" && (v.match(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$utils$2f$float$2d$regex$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["floatRegex"])?.length || 0) + (v.match(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$utils$2f$color$2d$regex$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["colorRegex"])?.length || 0) > 0; -} -const NUMBER_TOKEN = "number"; -const COLOR_TOKEN = "color"; -const VAR_TOKEN = "var"; -const VAR_FUNCTION_TOKEN = "var("; -const SPLIT_TOKEN = "${}"; -// this regex consists of the `singleCssVariableRegex|rgbHSLValueRegex|digitRegex` -const complexRegex = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu; -function analyseComplexValue(value) { - const originalValue = value.toString(); - const values = []; - const indexes = { - color: [], - number: [], - var: [] - }; - const types = []; - let i = 0; - const tokenised = originalValue.replace(complexRegex, (parsedValue)=>{ - if (__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["color"].test(parsedValue)) { - indexes.color.push(i); - types.push(COLOR_TOKEN); - values.push(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["color"].parse(parsedValue)); - } else if (parsedValue.startsWith(VAR_FUNCTION_TOKEN)) { - indexes.var.push(i); - types.push(VAR_TOKEN); - values.push(parsedValue); - } else { - indexes.number.push(i); - types.push(NUMBER_TOKEN); - values.push(parseFloat(parsedValue)); - } - ++i; - return SPLIT_TOKEN; - }); - const split = tokenised.split(SPLIT_TOKEN); - return { - values, - split, - indexes, - types - }; -} -function parseComplexValue(v) { - return analyseComplexValue(v).values; -} -function createTransformer(source) { - const { split, types } = analyseComplexValue(source); - const numSections = split.length; - return (v)=>{ - let output = ""; - for(let i = 0; i < numSections; i++){ - output += split[i]; - if (v[i] !== undefined) { - const type = types[i]; - if (type === NUMBER_TOKEN) { - output += (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$utils$2f$sanitize$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["sanitize"])(v[i]); - } else if (type === COLOR_TOKEN) { - output += __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["color"].transform(v[i]); - } else { - output += v[i]; - } - } - } - return output; - }; -} -const convertNumbersToZero = (v)=>typeof v === "number" ? 0 : __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["color"].test(v) ? __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["color"].getAnimatableNone(v) : v; -function getAnimatableNone(v) { - const parsed = parseComplexValue(v); - const transformer = createTransformer(v); - return transformer(parsed.map(convertNumbersToZero)); -} -const complex = { - test, - parse: parseComplexValue, - createTransformer, - getAnimatableNone -}; -; -}), -"[project]/node_modules/motion-dom/dist/es/value/types/complex/filter.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "filter", - ()=>filter -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$complex$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/complex/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$utils$2f$float$2d$regex$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/utils/float-regex.mjs [app-client] (ecmascript)"); -; -; -/** - * Properties that should default to 1 or 100% - */ const maxDefaults = new Set([ - "brightness", - "contrast", - "saturate", - "opacity" -]); -function applyDefaultFilter(v) { - const [name, value] = v.slice(0, -1).split("("); - if (name === "drop-shadow") return v; - const [number] = value.match(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$utils$2f$float$2d$regex$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["floatRegex"]) || []; - if (!number) return v; - const unit = value.replace(number, ""); - let defaultValue = maxDefaults.has(name) ? 1 : 0; - if (number !== value) defaultValue *= 100; - return name + "(" + defaultValue + unit + ")"; -} -const functionRegex = /\b([a-z-]*)\(.*?\)/gu; -const filter = { - ...__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$complex$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["complex"], - getAnimatableNone: (v)=>{ - const functions = v.match(functionRegex); - return functions ? functions.map(applyDefaultFilter).join(" ") : v; - } -}; -; -}), -"[project]/node_modules/motion-dom/dist/es/value/types/int.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "int", - ()=>int -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/numbers/index.mjs [app-client] (ecmascript)"); -; -const int = { - ...__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["number"], - transform: Math.round -}; -; -}), -"[project]/node_modules/motion-dom/dist/es/value/types/maps/transform.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "transformValueTypes", - ()=>transformValueTypes -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/numbers/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/numbers/units.mjs [app-client] (ecmascript)"); -; -; -const transformValueTypes = { - rotate: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["degrees"], - rotateX: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["degrees"], - rotateY: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["degrees"], - rotateZ: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["degrees"], - scale: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["scale"], - scaleX: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["scale"], - scaleY: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["scale"], - scaleZ: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["scale"], - skew: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["degrees"], - skewX: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["degrees"], - skewY: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["degrees"], - distance: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["px"], - translateX: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["px"], - translateY: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["px"], - translateZ: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["px"], - x: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["px"], - y: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["px"], - z: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["px"], - perspective: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["px"], - transformPerspective: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["px"], - opacity: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["alpha"], - originX: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["progressPercentage"], - originY: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["progressPercentage"], - originZ: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["px"] -}; -; -}), -"[project]/node_modules/motion-dom/dist/es/value/types/maps/number.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "numberValueTypes", - ()=>numberValueTypes -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$int$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/int.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/numbers/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/numbers/units.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$maps$2f$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/maps/transform.mjs [app-client] (ecmascript)"); -; -; -; -; -const numberValueTypes = { - // Border props - borderWidth: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["px"], - borderTopWidth: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["px"], - borderRightWidth: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["px"], - borderBottomWidth: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["px"], - borderLeftWidth: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["px"], - borderRadius: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["px"], - radius: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["px"], - borderTopLeftRadius: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["px"], - borderTopRightRadius: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["px"], - borderBottomRightRadius: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["px"], - borderBottomLeftRadius: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["px"], - // Positioning props - width: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["px"], - maxWidth: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["px"], - height: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["px"], - maxHeight: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["px"], - top: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["px"], - right: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["px"], - bottom: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["px"], - left: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["px"], - // Spacing props - padding: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["px"], - paddingTop: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["px"], - paddingRight: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["px"], - paddingBottom: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["px"], - paddingLeft: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["px"], - margin: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["px"], - marginTop: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["px"], - marginRight: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["px"], - marginBottom: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["px"], - marginLeft: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["px"], - // Misc - backgroundPositionX: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["px"], - backgroundPositionY: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["px"], - ...__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$maps$2f$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["transformValueTypes"], - zIndex: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$int$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["int"], - // SVG - fillOpacity: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["alpha"], - strokeOpacity: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["alpha"], - numOctaves: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$int$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["int"] -}; -; -}), -"[project]/node_modules/motion-dom/dist/es/value/types/maps/defaults.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "defaultValueTypes", - ()=>defaultValueTypes, - "getDefaultValueType", - ()=>getDefaultValueType -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/color/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$complex$2f$filter$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/complex/filter.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$maps$2f$number$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/maps/number.mjs [app-client] (ecmascript)"); -; -; -; -/** - * A map of default value types for common values - */ const defaultValueTypes = { - ...__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$maps$2f$number$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["numberValueTypes"], - // Color props - color: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["color"], - backgroundColor: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["color"], - outlineColor: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["color"], - fill: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["color"], - stroke: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["color"], - // Border props - borderColor: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["color"], - borderTopColor: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["color"], - borderRightColor: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["color"], - borderBottomColor: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["color"], - borderLeftColor: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["color"], - filter: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$complex$2f$filter$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["filter"], - WebkitFilter: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$complex$2f$filter$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["filter"] -}; -/** - * Gets the default ValueType for the provided value key - */ const getDefaultValueType = (key)=>defaultValueTypes[key]; -; -}), -"[project]/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "getAnimatableNone", - ()=>getAnimatableNone -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$complex$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/complex/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$complex$2f$filter$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/complex/filter.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$maps$2f$defaults$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/maps/defaults.mjs [app-client] (ecmascript)"); -; -; -; -function getAnimatableNone(key, value) { - let defaultValueType = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$maps$2f$defaults$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getDefaultValueType"])(key); - if (defaultValueType !== __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$complex$2f$filter$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["filter"]) defaultValueType = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$complex$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["complex"]; - // If value is not recognised as animatable, ie "none", create an animatable version origin based on the target - return defaultValueType.getAnimatableNone ? defaultValueType.getAnimatableNone(value) : undefined; -} -; -}), -"[project]/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "makeNoneKeyframesAnimatable", - ()=>makeNoneKeyframesAnimatable -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$complex$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/complex/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$utils$2f$animatable$2d$none$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.mjs [app-client] (ecmascript)"); -; -; -/** - * If we encounter keyframes like "none" or "0" and we also have keyframes like - * "#fff" or "200px 200px" we want to find a keyframe to serve as a template for - * the "none" keyframes. In this case "#fff" or "200px 200px" - then these get turned into - * zero equivalents, i.e. "#fff0" or "0px 0px". - */ const invalidTemplates = new Set([ - "auto", - "none", - "0" -]); -function makeNoneKeyframesAnimatable(unresolvedKeyframes, noneKeyframeIndexes, name) { - let i = 0; - let animatableTemplate = undefined; - while(i < unresolvedKeyframes.length && !animatableTemplate){ - const keyframe = unresolvedKeyframes[i]; - if (typeof keyframe === "string" && !invalidTemplates.has(keyframe) && (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$complex$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["analyseComplexValue"])(keyframe).values.length) { - animatableTemplate = unresolvedKeyframes[i]; - } - i++; - } - if (animatableTemplate && name) { - for (const noneIndex of noneKeyframeIndexes){ - unresolvedKeyframes[noneIndex] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$utils$2f$animatable$2d$none$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getAnimatableNone"])(name, animatableTemplate); - } - } -} -; -}), -"[project]/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "DOMKeyframesResolver", - ()=>DOMKeyframesResolver -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$render$2f$utils$2f$keys$2d$position$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/render/utils/keys-position.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$dimensions$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/dimensions.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$utils$2f$css$2d$variables$2d$conversion$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$utils$2f$is$2d$css$2d$variable$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$keyframes$2f$KeyframesResolver$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$keyframes$2f$utils$2f$is$2d$none$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$keyframes$2f$utils$2f$make$2d$none$2d$animatable$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$keyframes$2f$utils$2f$unit$2d$conversion$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.mjs [app-client] (ecmascript)"); -; -; -; -; -; -; -; -; -class DOMKeyframesResolver extends __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$keyframes$2f$KeyframesResolver$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["KeyframeResolver"] { - constructor(unresolvedKeyframes, onComplete, name, motionValue, element){ - super(unresolvedKeyframes, onComplete, name, motionValue, element, true); - } - readKeyframes() { - const { unresolvedKeyframes, element, name } = this; - if (!element || !element.current) return; - super.readKeyframes(); - /** - * If any keyframe is a CSS variable, we need to find its value by sampling the element - */ for(let i = 0; i < unresolvedKeyframes.length; i++){ - let keyframe = unresolvedKeyframes[i]; - if (typeof keyframe === "string") { - keyframe = keyframe.trim(); - if ((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$utils$2f$is$2d$css$2d$variable$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isCSSVariableToken"])(keyframe)) { - const resolved = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$utils$2f$css$2d$variables$2d$conversion$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getVariableValue"])(keyframe, element.current); - if (resolved !== undefined) { - unresolvedKeyframes[i] = resolved; - } - if (i === unresolvedKeyframes.length - 1) { - this.finalKeyframe = keyframe; - } - } - } - } - /** - * Resolve "none" values. We do this potentially twice - once before and once after measuring keyframes. - * This could be seen as inefficient but it's a trade-off to avoid measurements in more situations, which - * have a far bigger performance impact. - */ this.resolveNoneKeyframes(); - /** - * Check to see if unit type has changed. If so schedule jobs that will - * temporarily set styles to the destination keyframes. - * Skip if we have more than two keyframes or this isn't a positional value. - * TODO: We can throw if there are multiple keyframes and the value type changes. - */ if (!__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$render$2f$utils$2f$keys$2d$position$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["positionalKeys"].has(name) || unresolvedKeyframes.length !== 2) { - return; - } - const [origin, target] = unresolvedKeyframes; - const originType = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$dimensions$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["findDimensionValueType"])(origin); - const targetType = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$dimensions$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["findDimensionValueType"])(target); - /** - * Either we don't recognise these value types or we can animate between them. - */ if (originType === targetType) return; - /** - * If both values are numbers or pixels, we can animate between them by - * converting them to numbers. - */ if ((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$keyframes$2f$utils$2f$unit$2d$conversion$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isNumOrPxType"])(originType) && (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$keyframes$2f$utils$2f$unit$2d$conversion$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isNumOrPxType"])(targetType)) { - for(let i = 0; i < unresolvedKeyframes.length; i++){ - const value = unresolvedKeyframes[i]; - if (typeof value === "string") { - unresolvedKeyframes[i] = parseFloat(value); - } - } - } else if (__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$keyframes$2f$utils$2f$unit$2d$conversion$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["positionalValues"][name]) { - /** - * Else, the only way to resolve this is by measuring the element. - */ this.needsMeasurement = true; - } - } - resolveNoneKeyframes() { - const { unresolvedKeyframes, name } = this; - const noneKeyframeIndexes = []; - for(let i = 0; i < unresolvedKeyframes.length; i++){ - if (unresolvedKeyframes[i] === null || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$keyframes$2f$utils$2f$is$2d$none$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isNone"])(unresolvedKeyframes[i])) { - noneKeyframeIndexes.push(i); - } - } - if (noneKeyframeIndexes.length) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$keyframes$2f$utils$2f$make$2d$none$2d$animatable$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["makeNoneKeyframesAnimatable"])(unresolvedKeyframes, noneKeyframeIndexes, name); - } - } - measureInitialState() { - const { element, unresolvedKeyframes, name } = this; - if (!element || !element.current) return; - if (name === "height") { - this.suspendedScrollY = window.pageYOffset; - } - this.measuredOrigin = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$keyframes$2f$utils$2f$unit$2d$conversion$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["positionalValues"][name](element.measureViewportBox(), window.getComputedStyle(element.current)); - unresolvedKeyframes[0] = this.measuredOrigin; - // Set final key frame to measure after next render - const measureKeyframe = unresolvedKeyframes[unresolvedKeyframes.length - 1]; - if (measureKeyframe !== undefined) { - element.getValue(name, measureKeyframe).jump(measureKeyframe, false); - } - } - measureEndState() { - const { element, name, unresolvedKeyframes } = this; - if (!element || !element.current) return; - const value = element.getValue(name); - value && value.jump(this.measuredOrigin, false); - const finalKeyframeIndex = unresolvedKeyframes.length - 1; - const finalKeyframe = unresolvedKeyframes[finalKeyframeIndex]; - unresolvedKeyframes[finalKeyframeIndex] = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$keyframes$2f$utils$2f$unit$2d$conversion$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["positionalValues"][name](element.measureViewportBox(), window.getComputedStyle(element.current)); - if (finalKeyframe !== null && this.finalKeyframe === undefined) { - this.finalKeyframe = finalKeyframe; - } - // If we removed transform values, reapply them before the next render - if (this.removedTransforms?.length) { - this.removedTransforms.forEach(([unsetTransformName, unsetTransformValue])=>{ - element.getValue(unsetTransformName).set(unsetTransformValue); - }); - } - this.resolveNoneKeyframes(); - } -} -; -}), -"[project]/node_modules/motion-dom/dist/es/value/utils/is-motion-value.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "isMotionValue", - ()=>isMotionValue -]); -const isMotionValue = (value)=>Boolean(value && value.getVelocity); -; -}), -"[project]/node_modules/motion-dom/dist/es/frameloop/sync-time.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "time", - ()=>time -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$global$2d$config$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/global-config.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/frameloop/frame.mjs [app-client] (ecmascript)"); -; -; -let now; -function clearTime() { - now = undefined; -} -/** - * An eventloop-synchronous alternative to performance.now(). - * - * Ensures that time measurements remain consistent within a synchronous context. - * Usually calling performance.now() twice within the same synchronous context - * will return different values which isn't useful for animations when we're usually - * trying to sync animations to the same frame. - */ const time = { - now: ()=>{ - if (now === undefined) { - time.set(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frameData"].isProcessing || __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$global$2d$config$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["MotionGlobalConfig"].useManualTiming ? __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frameData"].timestamp : performance.now()); - } - return now; - }, - set: (newTime)=>{ - now = newTime; - queueMicrotask(clearTime); - } -}; -; -}), -"[project]/node_modules/motion-utils/dist/es/warn-once.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "hasWarned", - ()=>hasWarned, - "warnOnce", - ()=>warnOnce -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$format$2d$error$2d$message$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/format-error-message.mjs [app-client] (ecmascript)"); -; -const warned = new Set(); -function hasWarned(message) { - return warned.has(message); -} -function warnOnce(condition, message, errorCode) { - if (condition || warned.has(message)) return; - console.warn((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$format$2d$error$2d$message$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["formatErrorMessage"])(message, errorCode)); - warned.add(message); -} -; -}), -"[project]/node_modules/motion-utils/dist/es/array.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "addUniqueItem", - ()=>addUniqueItem, - "moveItem", - ()=>moveItem, - "removeItem", - ()=>removeItem -]); -function addUniqueItem(arr, item) { - if (arr.indexOf(item) === -1) arr.push(item); -} -function removeItem(arr, item) { - const index = arr.indexOf(item); - if (index > -1) arr.splice(index, 1); -} -// Adapted from array-move -function moveItem([...arr], fromIndex, toIndex) { - const startIndex = fromIndex < 0 ? arr.length + fromIndex : fromIndex; - if (startIndex >= 0 && startIndex < arr.length) { - const endIndex = toIndex < 0 ? arr.length + toIndex : toIndex; - const [item] = arr.splice(fromIndex, 1); - arr.splice(endIndex, 0, item); - } - return arr; -} -; -}), -"[project]/node_modules/motion-utils/dist/es/subscription-manager.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "SubscriptionManager", - ()=>SubscriptionManager -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$array$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/array.mjs [app-client] (ecmascript)"); -; -class SubscriptionManager { - constructor(){ - this.subscriptions = []; - } - add(handler) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$array$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["addUniqueItem"])(this.subscriptions, handler); - return ()=>(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$array$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["removeItem"])(this.subscriptions, handler); - } - notify(a, b, c) { - const numSubscriptions = this.subscriptions.length; - if (!numSubscriptions) return; - if (numSubscriptions === 1) { - /** - * If there's only a single handler we can just call it without invoking a loop. - */ this.subscriptions[0](a, b, c); - } else { - for(let i = 0; i < numSubscriptions; i++){ - /** - * Check whether the handler exists before firing as it's possible - * the subscriptions were modified during this loop running. - */ const handler = this.subscriptions[i]; - handler && handler(a, b, c); - } - } - } - getSize() { - return this.subscriptions.length; - } - clear() { - this.subscriptions.length = 0; - } -} -; -}), -"[project]/node_modules/motion-utils/dist/es/velocity-per-second.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "velocityPerSecond", - ()=>velocityPerSecond -]); -/* - Convert velocity into velocity per second - - @param [number]: Unit per frame - @param [number]: Frame duration in ms -*/ function velocityPerSecond(velocity, frameDuration) { - return frameDuration ? velocity * (1000 / frameDuration) : 0; -} -; -}), -"[project]/node_modules/motion-dom/dist/es/value/index.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "MotionValue", - ()=>MotionValue, - "collectMotionValues", - ()=>collectMotionValues, - "motionValue", - ()=>motionValue -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$warn$2d$once$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/warn-once.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$subscription$2d$manager$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/subscription-manager.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$velocity$2d$per$2d$second$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/velocity-per-second.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$sync$2d$time$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/frameloop/sync-time.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/frameloop/frame.mjs [app-client] (ecmascript)"); -; -; -; -/** - * Maximum time between the value of two frames, beyond which we - * assume the velocity has since been 0. - */ const MAX_VELOCITY_DELTA = 30; -const isFloat = (value)=>{ - return !isNaN(parseFloat(value)); -}; -const collectMotionValues = { - current: undefined -}; -/** - * `MotionValue` is used to track the state and velocity of motion values. - * - * @public - */ class MotionValue { - /** - * @param init - The initiating value - * @param config - Optional configuration options - * - * - `transformer`: A function to transform incoming values with. - */ constructor(init, options = {}){ - /** - * Tracks whether this value can output a velocity. Currently this is only true - * if the value is numerical, but we might be able to widen the scope here and support - * other value types. - * - * @internal - */ this.canTrackVelocity = null; - /** - * An object containing a SubscriptionManager for each active event. - */ this.events = {}; - this.updateAndNotify = (v)=>{ - const currentTime = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$sync$2d$time$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["time"].now(); - /** - * If we're updating the value during another frame or eventloop - * than the previous frame, then the we set the previous frame value - * to current. - */ if (this.updatedAt !== currentTime) { - this.setPrevFrameValue(); - } - this.prev = this.current; - this.setCurrent(v); - // Update update subscribers - if (this.current !== this.prev) { - this.events.change?.notify(this.current); - if (this.dependents) { - for (const dependent of this.dependents){ - dependent.dirty(); - } - } - } - }; - this.hasAnimated = false; - this.setCurrent(init); - this.owner = options.owner; - } - setCurrent(current) { - this.current = current; - this.updatedAt = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$sync$2d$time$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["time"].now(); - if (this.canTrackVelocity === null && current !== undefined) { - this.canTrackVelocity = isFloat(this.current); - } - } - setPrevFrameValue(prevFrameValue = this.current) { - this.prevFrameValue = prevFrameValue; - this.prevUpdatedAt = this.updatedAt; - } - /** - * Adds a function that will be notified when the `MotionValue` is updated. - * - * It returns a function that, when called, will cancel the subscription. - * - * When calling `onChange` inside a React component, it should be wrapped with the - * `useEffect` hook. As it returns an unsubscribe function, this should be returned - * from the `useEffect` function to ensure you don't add duplicate subscribers.. - * - * ```jsx - * export const MyComponent = () => { - * const x = useMotionValue(0) - * const y = useMotionValue(0) - * const opacity = useMotionValue(1) - * - * useEffect(() => { - * function updateOpacity() { - * const maxXY = Math.max(x.get(), y.get()) - * const newOpacity = transform(maxXY, [0, 100], [1, 0]) - * opacity.set(newOpacity) - * } - * - * const unsubscribeX = x.on("change", updateOpacity) - * const unsubscribeY = y.on("change", updateOpacity) - * - * return () => { - * unsubscribeX() - * unsubscribeY() - * } - * }, []) - * - * return - * } - * ``` - * - * @param subscriber - A function that receives the latest value. - * @returns A function that, when called, will cancel this subscription. - * - * @deprecated - */ onChange(subscription) { - if ("TURBOPACK compile-time truthy", 1) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$warn$2d$once$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["warnOnce"])(false, `value.onChange(callback) is deprecated. Switch to value.on("change", callback).`); - } - return this.on("change", subscription); - } - on(eventName, callback) { - if (!this.events[eventName]) { - this.events[eventName] = new __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$subscription$2d$manager$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["SubscriptionManager"](); - } - const unsubscribe = this.events[eventName].add(callback); - if (eventName === "change") { - return ()=>{ - unsubscribe(); - /** - * If we have no more change listeners by the start - * of the next frame, stop active animations. - */ __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frame"].read(()=>{ - if (!this.events.change.getSize()) { - this.stop(); - } - }); - }; - } - return unsubscribe; - } - clearListeners() { - for(const eventManagers in this.events){ - this.events[eventManagers].clear(); - } - } - /** - * Attaches a passive effect to the `MotionValue`. - */ attach(passiveEffect, stopPassiveEffect) { - this.passiveEffect = passiveEffect; - this.stopPassiveEffect = stopPassiveEffect; - } - /** - * Sets the state of the `MotionValue`. - * - * @remarks - * - * ```jsx - * const x = useMotionValue(0) - * x.set(10) - * ``` - * - * @param latest - Latest value to set. - * @param render - Whether to notify render subscribers. Defaults to `true` - * - * @public - */ set(v) { - if (!this.passiveEffect) { - this.updateAndNotify(v); - } else { - this.passiveEffect(v, this.updateAndNotify); - } - } - setWithVelocity(prev, current, delta) { - this.set(current); - this.prev = undefined; - this.prevFrameValue = prev; - this.prevUpdatedAt = this.updatedAt - delta; - } - /** - * Set the state of the `MotionValue`, stopping any active animations, - * effects, and resets velocity to `0`. - */ jump(v, endAnimation = true) { - this.updateAndNotify(v); - this.prev = v; - this.prevUpdatedAt = this.prevFrameValue = undefined; - endAnimation && this.stop(); - if (this.stopPassiveEffect) this.stopPassiveEffect(); - } - dirty() { - this.events.change?.notify(this.current); - } - addDependent(dependent) { - if (!this.dependents) { - this.dependents = new Set(); - } - this.dependents.add(dependent); - } - removeDependent(dependent) { - if (this.dependents) { - this.dependents.delete(dependent); - } - } - /** - * Returns the latest state of `MotionValue` - * - * @returns - The latest state of `MotionValue` - * - * @public - */ get() { - if (collectMotionValues.current) { - collectMotionValues.current.push(this); - } - return this.current; - } - /** - * @public - */ getPrevious() { - return this.prev; - } - /** - * Returns the latest velocity of `MotionValue` - * - * @returns - The latest velocity of `MotionValue`. Returns `0` if the state is non-numerical. - * - * @public - */ getVelocity() { - const currentTime = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$sync$2d$time$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["time"].now(); - if (!this.canTrackVelocity || this.prevFrameValue === undefined || currentTime - this.updatedAt > MAX_VELOCITY_DELTA) { - return 0; - } - const delta = Math.min(this.updatedAt - this.prevUpdatedAt, MAX_VELOCITY_DELTA); - // Casts because of parseFloat's poor typing - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$velocity$2d$per$2d$second$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["velocityPerSecond"])(parseFloat(this.current) - parseFloat(this.prevFrameValue), delta); - } - /** - * Registers a new animation to control this `MotionValue`. Only one - * animation can drive a `MotionValue` at one time. - * - * ```jsx - * value.start() - * ``` - * - * @param animation - A function that starts the provided animation - */ start(startAnimation) { - this.stop(); - return new Promise((resolve)=>{ - this.hasAnimated = true; - this.animation = startAnimation(resolve); - if (this.events.animationStart) { - this.events.animationStart.notify(); - } - }).then(()=>{ - if (this.events.animationComplete) { - this.events.animationComplete.notify(); - } - this.clearAnimation(); - }); - } - /** - * Stop the currently active animation. - * - * @public - */ stop() { - if (this.animation) { - this.animation.stop(); - if (this.events.animationCancel) { - this.events.animationCancel.notify(); - } - } - this.clearAnimation(); - } - /** - * Returns `true` if this value is currently animating. - * - * @public - */ isAnimating() { - return !!this.animation; - } - clearAnimation() { - delete this.animation; - } - /** - * Destroy and clean up subscribers to this `MotionValue`. - * - * The `MotionValue` hooks like `useMotionValue` and `useTransform` automatically - * handle the lifecycle of the returned `MotionValue`, so this method is only necessary if you've manually - * created a `MotionValue` via the `motionValue` function. - * - * @public - */ destroy() { - this.dependents?.clear(); - this.events.destroy?.notify(); - this.clearListeners(); - this.stop(); - if (this.stopPassiveEffect) { - this.stopPassiveEffect(); - } - } -} -function motionValue(init, options) { - return new MotionValue(init, options); -} -; -}), -"[project]/node_modules/motion-dom/dist/es/value/types/utils/find.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "findValueType", - ()=>findValueType -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/color/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$complex$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/complex/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$dimensions$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/dimensions.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$test$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/test.mjs [app-client] (ecmascript)"); -; -; -; -; -/** - * A list of all ValueTypes - */ const valueTypes = [ - ...__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$dimensions$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["dimensionValueTypes"], - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["color"], - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$complex$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["complex"] -]; -/** - * Tests a value against the list of ValueTypes - */ const findValueType = (v)=>valueTypes.find((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$test$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["testValueType"])(v)); -; -}), -"[project]/node_modules/motion-dom/dist/es/frameloop/microtask.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "cancelMicrotask", - ()=>cancelMicrotask, - "microtask", - ()=>microtask -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$batcher$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/frameloop/batcher.mjs [app-client] (ecmascript)"); -; -const { schedule: microtask, cancel: cancelMicrotask } = /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$batcher$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createRenderBatcher"])(queueMicrotask, false); -; -}), -"[project]/node_modules/framer-motion/dist/es/motion/features/definitions.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "featureDefinitions", - ()=>featureDefinitions -]); -const featureProps = { - animation: [ - "animate", - "variants", - "whileHover", - "whileTap", - "exit", - "whileInView", - "whileFocus", - "whileDrag" - ], - exit: [ - "exit" - ], - drag: [ - "drag", - "dragControls" - ], - focus: [ - "whileFocus" - ], - hover: [ - "whileHover", - "onHoverStart", - "onHoverEnd" - ], - tap: [ - "whileTap", - "onTap", - "onTapStart", - "onTapCancel" - ], - pan: [ - "onPan", - "onPanStart", - "onPanSessionStart", - "onPanEnd" - ], - inView: [ - "whileInView", - "onViewportEnter", - "onViewportLeave" - ], - layout: [ - "layout", - "layoutId" - ] -}; -const featureDefinitions = {}; -for(const key in featureProps){ - featureDefinitions[key] = { - isEnabled: (props)=>featureProps[key].some((name)=>!!props[name]) - }; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/projection/geometry/models.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "createAxis", - ()=>createAxis, - "createAxisDelta", - ()=>createAxisDelta, - "createBox", - ()=>createBox, - "createDelta", - ()=>createDelta -]); -const createAxisDelta = ()=>({ - translate: 0, - scale: 1, - origin: 0, - originPoint: 0 - }); -const createDelta = ()=>({ - x: createAxisDelta(), - y: createAxisDelta() - }); -const createAxis = ()=>({ - min: 0, - max: 0 - }); -const createBox = ()=>({ - x: createAxis(), - y: createAxis() - }); -; -}), -"[project]/node_modules/framer-motion/dist/es/utils/reduced-motion/state.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "hasReducedMotionListener", - ()=>hasReducedMotionListener, - "prefersReducedMotion", - ()=>prefersReducedMotion -]); -// Does this device prefer reduced motion? Returns `null` server-side. -const prefersReducedMotion = { - current: null -}; -const hasReducedMotionListener = { - current: false -}; -; -}), -"[project]/node_modules/framer-motion/dist/es/utils/reduced-motion/index.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "initPrefersReducedMotion", - ()=>initPrefersReducedMotion -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$is$2d$browser$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/utils/is-browser.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$reduced$2d$motion$2f$state$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/utils/reduced-motion/state.mjs [app-client] (ecmascript)"); -; -; -function initPrefersReducedMotion() { - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$reduced$2d$motion$2f$state$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["hasReducedMotionListener"].current = true; - if (!__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$is$2d$browser$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isBrowser"]) return; - if (window.matchMedia) { - const motionMediaQuery = window.matchMedia("(prefers-reduced-motion)"); - const setReducedMotionPreferences = ()=>__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$reduced$2d$motion$2f$state$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["prefersReducedMotion"].current = motionMediaQuery.matches; - motionMediaQuery.addEventListener("change", setReducedMotionPreferences); - setReducedMotionPreferences(); - } else { - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$reduced$2d$motion$2f$state$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["prefersReducedMotion"].current = false; - } -} -; -}), -"[project]/node_modules/framer-motion/dist/es/render/store.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "visualElementStore", - ()=>visualElementStore -]); -const visualElementStore = new WeakMap(); -; -}), -"[project]/node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "isAnimationControls", - ()=>isAnimationControls -]); -function isAnimationControls(v) { - return v !== null && typeof v === "object" && typeof v.start === "function"; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/render/utils/is-variant-label.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "isVariantLabel", - ()=>isVariantLabel -]); -/** - * Decides if the supplied variable is variant label - */ function isVariantLabel(v) { - return typeof v === "string" || Array.isArray(v); -} -; -}), -"[project]/node_modules/framer-motion/dist/es/render/utils/variant-props.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "variantPriorityOrder", - ()=>variantPriorityOrder, - "variantProps", - ()=>variantProps -]); -const variantPriorityOrder = [ - "animate", - "whileInView", - "whileFocus", - "whileHover", - "whileTap", - "whileDrag", - "exit" -]; -const variantProps = [ - "initial", - ...variantPriorityOrder -]; -; -}), -"[project]/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "isControllingVariants", - ()=>isControllingVariants, - "isVariantNode", - ()=>isVariantNode -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$animation$2f$utils$2f$is$2d$animation$2d$controls$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$is$2d$variant$2d$label$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/utils/is-variant-label.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$variant$2d$props$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/utils/variant-props.mjs [app-client] (ecmascript)"); -; -; -; -function isControllingVariants(props) { - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$animation$2f$utils$2f$is$2d$animation$2d$controls$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAnimationControls"])(props.animate) || __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$variant$2d$props$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["variantProps"].some((name)=>(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$is$2d$variant$2d$label$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isVariantLabel"])(props[name])); -} -function isVariantNode(props) { - return Boolean(isControllingVariants(props) || props.variants); -} -; -}), -"[project]/node_modules/framer-motion/dist/es/render/utils/motion-values.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "updateMotionValuesFromProps", - ()=>updateMotionValuesFromProps -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$utils$2f$is$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/utils/is-motion-value.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/index.mjs [app-client] (ecmascript)"); -; -function updateMotionValuesFromProps(element, next, prev) { - for(const key in next){ - const nextValue = next[key]; - const prevValue = prev[key]; - if ((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$utils$2f$is$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isMotionValue"])(nextValue)) { - /** - * If this is a motion value found in props or style, we want to add it - * to our visual element's motion value map. - */ element.addValue(key, nextValue); - } else if ((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$utils$2f$is$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isMotionValue"])(prevValue)) { - /** - * If we're swapping from a motion value to a static value, - * create a new motion value from that - */ element.addValue(key, (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["motionValue"])(nextValue, { - owner: element - })); - } else if (prevValue !== nextValue) { - /** - * If this is a flat value that has changed, update the motion value - * or create one if it doesn't exist. We only want to do this if we're - * not handling the value with our animation state. - */ if (element.hasValue(key)) { - const existingValue = element.getValue(key); - if (existingValue.liveStyle === true) { - existingValue.jump(nextValue); - } else if (!existingValue.hasAnimated) { - existingValue.set(nextValue); - } - } else { - const latestValue = element.getStaticValue(key); - element.addValue(key, (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["motionValue"])(latestValue !== undefined ? latestValue : nextValue, { - owner: element - })); - } - } - } - // Handle removed values - for(const key in prev){ - if (next[key] === undefined) element.removeValue(key); - } - return next; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/render/utils/resolve-variants.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "resolveVariantFromProps", - ()=>resolveVariantFromProps -]); -function getValueState(visualElement) { - const state = [ - {}, - {} - ]; - visualElement?.values.forEach((value, key)=>{ - state[0][key] = value.get(); - state[1][key] = value.getVelocity(); - }); - return state; -} -function resolveVariantFromProps(props, definition, custom, visualElement) { - /** - * If the variant definition is a function, resolve. - */ if (typeof definition === "function") { - const [current, velocity] = getValueState(visualElement); - definition = definition(custom !== undefined ? custom : props.custom, current, velocity); - } - /** - * If the variant definition is a variant label, or - * the function returned a variant label, resolve. - */ if (typeof definition === "string") { - definition = props.variants && props.variants[definition]; - } - /** - * At this point we've resolved both functions and variant labels, - * but the resolved variant label might itself have been a function. - * If so, resolve. This can only have returned a valid target object. - */ if (typeof definition === "function") { - const [current, velocity] = getValueState(visualElement); - definition = definition(custom !== undefined ? custom : props.custom, current, velocity); - } - return definition; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/render/VisualElement.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "VisualElement", - ()=>VisualElement -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$keyframes$2f$KeyframesResolver$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$sync$2d$time$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/frameloop/sync-time.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/frameloop/frame.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$utils$2f$is$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/utils/is-motion-value.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$render$2f$utils$2f$keys$2d$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/render/utils/keys-transform.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$utils$2f$find$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/utils/find.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$complex$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/complex/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$utils$2f$animatable$2d$none$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$microtask$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/frameloop/microtask.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$warn$2d$once$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/warn-once.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$is$2d$numerical$2d$string$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/is-numerical-string.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$is$2d$zero$2d$value$2d$string$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/is-zero-value-string.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$subscription$2d$manager$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/subscription-manager.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$features$2f$definitions$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/motion/features/definitions.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$models$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/projection/geometry/models.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$reduced$2d$motion$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/utils/reduced-motion/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$reduced$2d$motion$2f$state$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/utils/reduced-motion/state.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$store$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/store.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$is$2d$controlling$2d$variants$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$motion$2d$values$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/utils/motion-values.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$resolve$2d$variants$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/utils/resolve-variants.mjs [app-client] (ecmascript)"); -; -; -; -; -; -; -; -; -; -; -const propEventHandlers = [ - "AnimationStart", - "AnimationComplete", - "Update", - "BeforeLayoutMeasure", - "LayoutMeasure", - "LayoutAnimationStart", - "LayoutAnimationComplete" -]; -/** - * A VisualElement is an imperative abstraction around UI elements such as - * HTMLElement, SVGElement, Three.Object3D etc. - */ class VisualElement { - /** - * This method takes React props and returns found MotionValues. For example, HTML - * MotionValues will be found within the style prop, whereas for Three.js within attribute arrays. - * - * This isn't an abstract method as it needs calling in the constructor, but it is - * intended to be one. - */ scrapeMotionValuesFromProps(_props, _prevProps, _visualElement) { - return {}; - } - constructor({ parent, props, presenceContext, reducedMotionConfig, blockInitialAnimation, visualState }, options = {}){ - /** - * A reference to the current underlying Instance, e.g. a HTMLElement - * or Three.Mesh etc. - */ this.current = null; - /** - * A set containing references to this VisualElement's children. - */ this.children = new Set(); - /** - * Determine what role this visual element should take in the variant tree. - */ this.isVariantNode = false; - this.isControllingVariants = false; - /** - * Decides whether this VisualElement should animate in reduced motion - * mode. - * - * TODO: This is currently set on every individual VisualElement but feels - * like it could be set globally. - */ this.shouldReduceMotion = null; - /** - * A map of all motion values attached to this visual element. Motion - * values are source of truth for any given animated value. A motion - * value might be provided externally by the component via props. - */ this.values = new Map(); - this.KeyframeResolver = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$keyframes$2f$KeyframesResolver$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["KeyframeResolver"]; - /** - * Cleanup functions for active features (hover/tap/exit etc) - */ this.features = {}; - /** - * A map of every subscription that binds the provided or generated - * motion values onChange listeners to this visual element. - */ this.valueSubscriptions = new Map(); - /** - * A reference to the previously-provided motion values as returned - * from scrapeMotionValuesFromProps. We use the keys in here to determine - * if any motion values need to be removed after props are updated. - */ this.prevMotionValues = {}; - /** - * An object containing a SubscriptionManager for each active event. - */ this.events = {}; - /** - * An object containing an unsubscribe function for each prop event subscription. - * For example, every "Update" event can have multiple subscribers via - * VisualElement.on(), but only one of those can be defined via the onUpdate prop. - */ this.propEventSubscriptions = {}; - this.notifyUpdate = ()=>this.notify("Update", this.latestValues); - this.render = ()=>{ - if (!this.current) return; - this.triggerBuild(); - this.renderInstance(this.current, this.renderState, this.props.style, this.projection); - }; - this.renderScheduledAt = 0.0; - this.scheduleRender = ()=>{ - const now = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$sync$2d$time$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["time"].now(); - if (this.renderScheduledAt < now) { - this.renderScheduledAt = now; - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frame"].render(this.render, false, true); - } - }; - const { latestValues, renderState } = visualState; - this.latestValues = latestValues; - this.baseTarget = { - ...latestValues - }; - this.initialValues = props.initial ? { - ...latestValues - } : {}; - this.renderState = renderState; - this.parent = parent; - this.props = props; - this.presenceContext = presenceContext; - this.depth = parent ? parent.depth + 1 : 0; - this.reducedMotionConfig = reducedMotionConfig; - this.options = options; - this.blockInitialAnimation = Boolean(blockInitialAnimation); - this.isControllingVariants = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$is$2d$controlling$2d$variants$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isControllingVariants"])(props); - this.isVariantNode = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$is$2d$controlling$2d$variants$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isVariantNode"])(props); - if (this.isVariantNode) { - this.variantChildren = new Set(); - } - this.manuallyAnimateOnMount = Boolean(parent && parent.current); - /** - * Any motion values that are provided to the element when created - * aren't yet bound to the element, as this would technically be impure. - * However, we iterate through the motion values and set them to the - * initial values for this component. - * - * TODO: This is impure and we should look at changing this to run on mount. - * Doing so will break some tests but this isn't necessarily a breaking change, - * more a reflection of the test. - */ const { willChange, ...initialMotionValues } = this.scrapeMotionValuesFromProps(props, {}, this); - for(const key in initialMotionValues){ - const value = initialMotionValues[key]; - if (latestValues[key] !== undefined && (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$utils$2f$is$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isMotionValue"])(value)) { - value.set(latestValues[key]); - } - } - } - mount(instance) { - this.current = instance; - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$store$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["visualElementStore"].set(instance, this); - if (this.projection && !this.projection.instance) { - this.projection.mount(instance); - } - if (this.parent && this.isVariantNode && !this.isControllingVariants) { - this.removeFromVariantTree = this.parent.addVariantChild(this); - } - this.values.forEach((value, key)=>this.bindToMotionValue(key, value)); - if (!__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$reduced$2d$motion$2f$state$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["hasReducedMotionListener"].current) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$reduced$2d$motion$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["initPrefersReducedMotion"])(); - } - this.shouldReduceMotion = this.reducedMotionConfig === "never" ? false : this.reducedMotionConfig === "always" ? true : __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$reduced$2d$motion$2f$state$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["prefersReducedMotion"].current; - if ("TURBOPACK compile-time truthy", 1) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$warn$2d$once$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["warnOnce"])(this.shouldReduceMotion !== true, "You have Reduced Motion enabled on your device. Animations may not appear as expected.", "reduced-motion-disabled"); - } - this.parent?.addChild(this); - this.update(this.props, this.presenceContext); - } - unmount() { - this.projection && this.projection.unmount(); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["cancelFrame"])(this.notifyUpdate); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["cancelFrame"])(this.render); - this.valueSubscriptions.forEach((remove)=>remove()); - this.valueSubscriptions.clear(); - this.removeFromVariantTree && this.removeFromVariantTree(); - this.parent?.removeChild(this); - for(const key in this.events){ - this.events[key].clear(); - } - for(const key in this.features){ - const feature = this.features[key]; - if (feature) { - feature.unmount(); - feature.isMounted = false; - } - } - this.current = null; - } - addChild(child) { - this.children.add(child); - this.enteringChildren ?? (this.enteringChildren = new Set()); - this.enteringChildren.add(child); - } - removeChild(child) { - this.children.delete(child); - this.enteringChildren && this.enteringChildren.delete(child); - } - bindToMotionValue(key, value) { - if (this.valueSubscriptions.has(key)) { - this.valueSubscriptions.get(key)(); - } - const valueIsTransform = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$render$2f$utils$2f$keys$2d$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["transformProps"].has(key); - if (valueIsTransform && this.onBindTransform) { - this.onBindTransform(); - } - const removeOnChange = value.on("change", (latestValue)=>{ - this.latestValues[key] = latestValue; - this.props.onUpdate && __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frame"].preRender(this.notifyUpdate); - if (valueIsTransform && this.projection) { - this.projection.isTransformDirty = true; - } - this.scheduleRender(); - }); - let removeSyncCheck; - if (window.MotionCheckAppearSync) { - removeSyncCheck = window.MotionCheckAppearSync(this, key, value); - } - this.valueSubscriptions.set(key, ()=>{ - removeOnChange(); - if (removeSyncCheck) removeSyncCheck(); - if (value.owner) value.stop(); - }); - } - sortNodePosition(other) { - /** - * If these nodes aren't even of the same type we can't compare their depth. - */ if (!this.current || !this.sortInstanceNodePosition || this.type !== other.type) { - return 0; - } - return this.sortInstanceNodePosition(this.current, other.current); - } - updateFeatures() { - let key = "animation"; - for(key in __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$features$2f$definitions$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["featureDefinitions"]){ - const featureDefinition = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$features$2f$definitions$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["featureDefinitions"][key]; - if (!featureDefinition) continue; - const { isEnabled, Feature: FeatureConstructor } = featureDefinition; - /** - * If this feature is enabled but not active, make a new instance. - */ if (!this.features[key] && FeatureConstructor && isEnabled(this.props)) { - this.features[key] = new FeatureConstructor(this); - } - /** - * If we have a feature, mount or update it. - */ if (this.features[key]) { - const feature = this.features[key]; - if (feature.isMounted) { - feature.update(); - } else { - feature.mount(); - feature.isMounted = true; - } - } - } - } - triggerBuild() { - this.build(this.renderState, this.latestValues, this.props); - } - /** - * Measure the current viewport box with or without transforms. - * Only measures axis-aligned boxes, rotate and skew must be manually - * removed with a re-render to work. - */ measureViewportBox() { - return this.current ? this.measureInstanceViewportBox(this.current, this.props) : (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$models$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createBox"])(); - } - getStaticValue(key) { - return this.latestValues[key]; - } - setStaticValue(key, value) { - this.latestValues[key] = value; - } - /** - * Update the provided props. Ensure any newly-added motion values are - * added to our map, old ones removed, and listeners updated. - */ update(props, presenceContext) { - if (props.transformTemplate || this.props.transformTemplate) { - this.scheduleRender(); - } - this.prevProps = this.props; - this.props = props; - this.prevPresenceContext = this.presenceContext; - this.presenceContext = presenceContext; - /** - * Update prop event handlers ie onAnimationStart, onAnimationComplete - */ for(let i = 0; i < propEventHandlers.length; i++){ - const key = propEventHandlers[i]; - if (this.propEventSubscriptions[key]) { - this.propEventSubscriptions[key](); - delete this.propEventSubscriptions[key]; - } - const listenerName = "on" + key; - const listener = props[listenerName]; - if (listener) { - this.propEventSubscriptions[key] = this.on(key, listener); - } - } - this.prevMotionValues = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$motion$2d$values$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["updateMotionValuesFromProps"])(this, this.scrapeMotionValuesFromProps(props, this.prevProps, this), this.prevMotionValues); - if (this.handleChildMotionValue) { - this.handleChildMotionValue(); - } - } - getProps() { - return this.props; - } - /** - * Returns the variant definition with a given name. - */ getVariant(name) { - return this.props.variants ? this.props.variants[name] : undefined; - } - /** - * Returns the defined default transition on this component. - */ getDefaultTransition() { - return this.props.transition; - } - getTransformPagePoint() { - return this.props.transformPagePoint; - } - getClosestVariantNode() { - return this.isVariantNode ? this : this.parent ? this.parent.getClosestVariantNode() : undefined; - } - /** - * Add a child visual element to our set of children. - */ addVariantChild(child) { - const closestVariantNode = this.getClosestVariantNode(); - if (closestVariantNode) { - closestVariantNode.variantChildren && closestVariantNode.variantChildren.add(child); - return ()=>closestVariantNode.variantChildren.delete(child); - } - } - /** - * Add a motion value and bind it to this visual element. - */ addValue(key, value) { - // Remove existing value if it exists - const existingValue = this.values.get(key); - if (value !== existingValue) { - if (existingValue) this.removeValue(key); - this.bindToMotionValue(key, value); - this.values.set(key, value); - this.latestValues[key] = value.get(); - } - } - /** - * Remove a motion value and unbind any active subscriptions. - */ removeValue(key) { - this.values.delete(key); - const unsubscribe = this.valueSubscriptions.get(key); - if (unsubscribe) { - unsubscribe(); - this.valueSubscriptions.delete(key); - } - delete this.latestValues[key]; - this.removeValueFromRenderState(key, this.renderState); - } - /** - * Check whether we have a motion value for this key - */ hasValue(key) { - return this.values.has(key); - } - getValue(key, defaultValue) { - if (this.props.values && this.props.values[key]) { - return this.props.values[key]; - } - let value = this.values.get(key); - if (value === undefined && defaultValue !== undefined) { - value = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["motionValue"])(defaultValue === null ? undefined : defaultValue, { - owner: this - }); - this.addValue(key, value); - } - return value; - } - /** - * If we're trying to animate to a previously unencountered value, - * we need to check for it in our state and as a last resort read it - * directly from the instance (which might have performance implications). - */ readValue(key, target) { - let value = this.latestValues[key] !== undefined || !this.current ? this.latestValues[key] : this.getBaseTargetFromProps(this.props, key) ?? this.readValueFromInstance(this.current, key, this.options); - if (value !== undefined && value !== null) { - if (typeof value === "string" && ((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$is$2d$numerical$2d$string$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isNumericalString"])(value) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$is$2d$zero$2d$value$2d$string$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isZeroValueString"])(value))) { - // If this is a number read as a string, ie "0" or "200", convert it to a number - value = parseFloat(value); - } else if (!(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$utils$2f$find$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["findValueType"])(value) && __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$complex$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["complex"].test(target)) { - value = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$utils$2f$animatable$2d$none$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getAnimatableNone"])(key, target); - } - this.setBaseTarget(key, (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$utils$2f$is$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isMotionValue"])(value) ? value.get() : value); - } - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$utils$2f$is$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isMotionValue"])(value) ? value.get() : value; - } - /** - * Set the base target to later animate back to. This is currently - * only hydrated on creation and when we first read a value. - */ setBaseTarget(key, value) { - this.baseTarget[key] = value; - } - /** - * Find the base target for a value thats been removed from all animation - * props. - */ getBaseTarget(key) { - const { initial } = this.props; - let valueFromInitial; - if (typeof initial === "string" || typeof initial === "object") { - const variant = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$resolve$2d$variants$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["resolveVariantFromProps"])(this.props, initial, this.presenceContext?.custom); - if (variant) { - valueFromInitial = variant[key]; - } - } - /** - * If this value still exists in the current initial variant, read that. - */ if (initial && valueFromInitial !== undefined) { - return valueFromInitial; - } - /** - * Alternatively, if this VisualElement config has defined a getBaseTarget - * so we can read the value from an alternative source, try that. - */ const target = this.getBaseTargetFromProps(this.props, key); - if (target !== undefined && !(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$utils$2f$is$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isMotionValue"])(target)) return target; - /** - * If the value was initially defined on initial, but it doesn't any more, - * return undefined. Otherwise return the value as initially read from the DOM. - */ return this.initialValues[key] !== undefined && valueFromInitial === undefined ? undefined : this.baseTarget[key]; - } - on(eventName, callback) { - if (!this.events[eventName]) { - this.events[eventName] = new __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$subscription$2d$manager$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["SubscriptionManager"](); - } - return this.events[eventName].add(callback); - } - notify(eventName, ...args) { - if (this.events[eventName]) { - this.events[eventName].notify(...args); - } - } - scheduleRenderMicrotask() { - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$microtask$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["microtask"].render(this.render); - } -} -; -}), -"[project]/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "DOMVisualElement", - ()=>DOMVisualElement -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$keyframes$2f$DOMKeyframesResolver$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$utils$2f$is$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/utils/is-motion-value.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$VisualElement$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/VisualElement.mjs [app-client] (ecmascript)"); -; -; -class DOMVisualElement extends __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$VisualElement$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["VisualElement"] { - constructor(){ - super(...arguments); - this.KeyframeResolver = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$keyframes$2f$DOMKeyframesResolver$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["DOMKeyframesResolver"]; - } - sortInstanceNodePosition(a, b) { - /** - * compareDocumentPosition returns a bitmask, by using the bitwise & - * we're returning true if 2 in that bitmask is set to true. 2 is set - * to true if b preceeds a. - */ return a.compareDocumentPosition(b) & 2 ? 1 : -1; - } - getBaseTargetFromProps(props, key) { - return props.style ? props.style[key] : undefined; - } - removeValueFromRenderState(key, { vars, style }) { - delete vars[key]; - delete style[key]; - } - handleChildMotionValue() { - if (this.childSubscription) { - this.childSubscription(); - delete this.childSubscription; - } - const { children } = this.props; - if ((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$utils$2f$is$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isMotionValue"])(children)) { - this.childSubscription = children.on("change", (latest)=>{ - if (this.current) { - this.current.textContent = `${latest}`; - } - }); - } - } -} -; -}), -"[project]/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "getValueAsType", - ()=>getValueAsType -]); -/** - * Provided a value and a ValueType, returns the value as that value type. - */ const getValueAsType = (value, type)=>{ - return type && typeof value === "number" ? type.transform(value) : value; -}; -; -}), -"[project]/node_modules/framer-motion/dist/es/render/html/utils/build-transform.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "buildTransform", - ()=>buildTransform -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$render$2f$utils$2f$keys$2d$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/render/utils/keys-transform.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$utils$2f$get$2d$as$2d$type$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$maps$2f$number$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/maps/number.mjs [app-client] (ecmascript)"); -; -const translateAlias = { - x: "translateX", - y: "translateY", - z: "translateZ", - transformPerspective: "perspective" -}; -const numTransforms = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$render$2f$utils$2f$keys$2d$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["transformPropOrder"].length; -/** - * Build a CSS transform style from individual x/y/scale etc properties. - * - * This outputs with a default order of transforms/scales/rotations, this can be customised by - * providing a transformTemplate function. - */ function buildTransform(latestValues, transform, transformTemplate) { - // The transform string we're going to build into. - let transformString = ""; - let transformIsDefault = true; - /** - * Loop over all possible transforms in order, adding the ones that - * are present to the transform string. - */ for(let i = 0; i < numTransforms; i++){ - const key = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$render$2f$utils$2f$keys$2d$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["transformPropOrder"][i]; - const value = latestValues[key]; - if (value === undefined) continue; - let valueIsDefault = true; - if (typeof value === "number") { - valueIsDefault = value === (key.startsWith("scale") ? 1 : 0); - } else { - valueIsDefault = parseFloat(value) === 0; - } - if (!valueIsDefault || transformTemplate) { - const valueAsType = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$utils$2f$get$2d$as$2d$type$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getValueAsType"])(value, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$maps$2f$number$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["numberValueTypes"][key]); - if (!valueIsDefault) { - transformIsDefault = false; - const transformName = translateAlias[key] || key; - transformString += `${transformName}(${valueAsType}) `; - } - if (transformTemplate) { - transform[key] = valueAsType; - } - } - } - transformString = transformString.trim(); - // If we have a custom `transform` template, pass our transform values and - // generated transformString to that before returning - if (transformTemplate) { - transformString = transformTemplate(transform, transformIsDefault ? "" : transformString); - } else if (transformIsDefault) { - transformString = "none"; - } - return transformString; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/render/html/utils/build-styles.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "buildHTMLStyles", - ()=>buildHTMLStyles -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$render$2f$utils$2f$keys$2d$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/render/utils/keys-transform.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$utils$2f$is$2d$css$2d$variable$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$utils$2f$get$2d$as$2d$type$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$maps$2f$number$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/maps/number.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$html$2f$utils$2f$build$2d$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/html/utils/build-transform.mjs [app-client] (ecmascript)"); -; -; -function buildHTMLStyles(state, latestValues, transformTemplate) { - const { style, vars, transformOrigin } = state; - // Track whether we encounter any transform or transformOrigin values. - let hasTransform = false; - let hasTransformOrigin = false; - /** - * Loop over all our latest animated values and decide whether to handle them - * as a style or CSS variable. - * - * Transforms and transform origins are kept separately for further processing. - */ for(const key in latestValues){ - const value = latestValues[key]; - if (__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$render$2f$utils$2f$keys$2d$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["transformProps"].has(key)) { - // If this is a transform, flag to enable further transform processing - hasTransform = true; - continue; - } else if ((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$utils$2f$is$2d$css$2d$variable$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isCSSVariableName"])(key)) { - vars[key] = value; - continue; - } else { - // Convert the value to its default value type, ie 0 -> "0px" - const valueAsType = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$utils$2f$get$2d$as$2d$type$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getValueAsType"])(value, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$maps$2f$number$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["numberValueTypes"][key]); - if (key.startsWith("origin")) { - // If this is a transform origin, flag and enable further transform-origin processing - hasTransformOrigin = true; - transformOrigin[key] = valueAsType; - } else { - style[key] = valueAsType; - } - } - } - if (!latestValues.transform) { - if (hasTransform || transformTemplate) { - style.transform = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$html$2f$utils$2f$build$2d$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["buildTransform"])(latestValues, state.transform, transformTemplate); - } else if (style.transform) { - /** - * If we have previously created a transform but currently don't have any, - * reset transform style to none. - */ style.transform = "none"; - } - } - /** - * Build a transformOrigin style. Uses the same defaults as the browser for - * undefined origins. - */ if (hasTransformOrigin) { - const { originX = "50%", originY = "50%", originZ = 0 } = transformOrigin; - style.transformOrigin = `${originX} ${originY} ${originZ}`; - } -} -; -}), -"[project]/node_modules/framer-motion/dist/es/render/html/utils/render.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "renderHTML", - ()=>renderHTML -]); -function renderHTML(element, { style, vars }, styleProp, projection) { - const elementStyle = element.style; - let key; - for(key in style){ - // CSSStyleDeclaration has [index: number]: string; in the types, so we use that as key type. - elementStyle[key] = style[key]; - } - // Write projection styles directly to element style - projection?.applyProjectionStyles(elementStyle, styleProp); - for(key in vars){ - // Loop over any CSS variables and assign those. - // They can only be assigned using `setProperty`. - elementStyle.setProperty(key, vars[key]); - } -} -; -}), -"[project]/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "correctBorderRadius", - ()=>correctBorderRadius, - "pixelsToPercent", - ()=>pixelsToPercent -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/numbers/units.mjs [app-client] (ecmascript)"); -; -function pixelsToPercent(pixels, axis) { - if (axis.max === axis.min) return 0; - return pixels / (axis.max - axis.min) * 100; -} -/** - * We always correct borderRadius as a percentage rather than pixels to reduce paints. - * For example, if you are projecting a box that is 100px wide with a 10px borderRadius - * into a box that is 200px wide with a 20px borderRadius, that is actually a 10% - * borderRadius in both states. If we animate between the two in pixels that will trigger - * a paint each time. If we animate between the two in percentage we'll avoid a paint. - */ const correctBorderRadius = { - correct: (latest, node)=>{ - if (!node.target) return latest; - /** - * If latest is a string, if it's a percentage we can return immediately as it's - * going to be stretched appropriately. Otherwise, if it's a pixel, convert it to a number. - */ if (typeof latest === "string") { - if (__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["px"].test(latest)) { - latest = parseFloat(latest); - } else { - return latest; - } - } - /** - * If latest is a number, it's a pixel value. We use the current viewportBox to calculate that - * pixel value as a percentage of each axis - */ const x = pixelsToPercent(latest, node.target.x); - const y = pixelsToPercent(latest, node.target.y); - return `${x}% ${y}%`; - } -}; -; -}), -"[project]/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "correctBoxShadow", - ()=>correctBoxShadow -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$complex$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/complex/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$number$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/utils/mix/number.mjs [app-client] (ecmascript)"); -; -const correctBoxShadow = { - correct: (latest, { treeScale, projectionDelta })=>{ - const original = latest; - const shadow = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$complex$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["complex"].parse(latest); - // TODO: Doesn't support multiple shadows - if (shadow.length > 5) return original; - const template = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$complex$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["complex"].createTransformer(latest); - const offset = typeof shadow[0] !== "number" ? 1 : 0; - // Calculate the overall context scale - const xScale = projectionDelta.x.scale * treeScale.x; - const yScale = projectionDelta.y.scale * treeScale.y; - shadow[0 + offset] /= xScale; - shadow[1 + offset] /= yScale; - /** - * Ideally we'd correct x and y scales individually, but because blur and - * spread apply to both we have to take a scale average and apply that instead. - * We could potentially improve the outcome of this by incorporating the ratio between - * the two scales. - */ const averageScale = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$number$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["mixNumber"])(xScale, yScale, 0.5); - // Blur - if (typeof shadow[2 + offset] === "number") shadow[2 + offset] /= averageScale; - // Spread - if (typeof shadow[3 + offset] === "number") shadow[3 + offset] /= averageScale; - return template(shadow); - } -}; -; -}), -"[project]/node_modules/framer-motion/dist/es/projection/styles/scale-correction.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "addScaleCorrector", - ()=>addScaleCorrector, - "scaleCorrectors", - ()=>scaleCorrectors -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$utils$2f$is$2d$css$2d$variable$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$styles$2f$scale$2d$border$2d$radius$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$styles$2f$scale$2d$box$2d$shadow$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.mjs [app-client] (ecmascript)"); -; -; -; -const scaleCorrectors = { - borderRadius: { - ...__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$styles$2f$scale$2d$border$2d$radius$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["correctBorderRadius"], - applyTo: [ - "borderTopLeftRadius", - "borderTopRightRadius", - "borderBottomLeftRadius", - "borderBottomRightRadius" - ] - }, - borderTopLeftRadius: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$styles$2f$scale$2d$border$2d$radius$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["correctBorderRadius"], - borderTopRightRadius: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$styles$2f$scale$2d$border$2d$radius$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["correctBorderRadius"], - borderBottomLeftRadius: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$styles$2f$scale$2d$border$2d$radius$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["correctBorderRadius"], - borderBottomRightRadius: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$styles$2f$scale$2d$border$2d$radius$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["correctBorderRadius"], - boxShadow: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$styles$2f$scale$2d$box$2d$shadow$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["correctBoxShadow"] -}; -function addScaleCorrector(correctors) { - for(const key in correctors){ - scaleCorrectors[key] = correctors[key]; - if ((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$utils$2f$is$2d$css$2d$variable$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isCSSVariableName"])(key)) { - scaleCorrectors[key].isCSSVariable = true; - } - } -} -; -}), -"[project]/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "isForcedMotionValue", - ()=>isForcedMotionValue -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$render$2f$utils$2f$keys$2d$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/render/utils/keys-transform.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$styles$2f$scale$2d$correction$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/projection/styles/scale-correction.mjs [app-client] (ecmascript)"); -; -; -function isForcedMotionValue(key, { layout, layoutId }) { - return __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$render$2f$utils$2f$keys$2d$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["transformProps"].has(key) || key.startsWith("origin") || (layout || layoutId !== undefined) && (!!__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$styles$2f$scale$2d$correction$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["scaleCorrectors"][key] || key === "opacity"); -} -; -}), -"[project]/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "scrapeMotionValuesFromProps", - ()=>scrapeMotionValuesFromProps -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$utils$2f$is$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/utils/is-motion-value.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$utils$2f$is$2d$forced$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.mjs [app-client] (ecmascript)"); -; -; -function scrapeMotionValuesFromProps(props, prevProps, visualElement) { - const { style } = props; - const newValues = {}; - for(const key in style){ - if ((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$utils$2f$is$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isMotionValue"])(style[key]) || prevProps.style && (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$utils$2f$is$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isMotionValue"])(prevProps.style[key]) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$utils$2f$is$2d$forced$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isForcedMotionValue"])(key, props) || visualElement?.getValue(key)?.liveStyle !== undefined) { - newValues[key] = style[key]; - } - } - return newValues; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "HTMLVisualElement", - ()=>HTMLVisualElement, - "getComputedStyle", - ()=>getComputedStyle -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$render$2f$utils$2f$keys$2d$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/render/utils/keys-transform.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$render$2f$dom$2f$parse$2d$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/render/dom/parse-transform.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$utils$2f$is$2d$css$2d$variable$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$utils$2f$measure$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/projection/utils/measure.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$DOMVisualElement$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$html$2f$utils$2f$build$2d$styles$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/html/utils/build-styles.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$html$2f$utils$2f$render$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/html/utils/render.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$html$2f$utils$2f$scrape$2d$motion$2d$values$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.mjs [app-client] (ecmascript)"); -; -; -; -; -; -; -function getComputedStyle(element) { - return window.getComputedStyle(element); -} -class HTMLVisualElement extends __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$DOMVisualElement$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["DOMVisualElement"] { - constructor(){ - super(...arguments); - this.type = "html"; - this.renderInstance = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$html$2f$utils$2f$render$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["renderHTML"]; - } - readValueFromInstance(instance, key) { - if (__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$render$2f$utils$2f$keys$2d$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["transformProps"].has(key)) { - return this.projection?.isProjecting ? (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$render$2f$dom$2f$parse$2d$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["defaultTransformValue"])(key) : (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$render$2f$dom$2f$parse$2d$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["readTransformValue"])(instance, key); - } else { - const computedStyle = getComputedStyle(instance); - const value = ((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$utils$2f$is$2d$css$2d$variable$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isCSSVariableName"])(key) ? computedStyle.getPropertyValue(key) : computedStyle[key]) || 0; - return typeof value === "string" ? value.trim() : value; - } - } - measureInstanceViewportBox(instance, { transformPagePoint }) { - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$utils$2f$measure$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["measureViewportBox"])(instance, transformPagePoint); - } - build(renderState, latestValues, props) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$html$2f$utils$2f$build$2d$styles$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["buildHTMLStyles"])(renderState, latestValues, props.transformTemplate); - } - scrapeMotionValuesFromProps(props, prevProps, visualElement) { - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$html$2f$utils$2f$scrape$2d$motion$2d$values$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["scrapeMotionValuesFromProps"])(props, prevProps, visualElement); - } -} -; -}), -"[project]/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "camelToDash", - ()=>camelToDash -]); -/** - * Convert camelCase to dash-case properties. - */ const camelToDash = (str)=>str.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase(); -; -}), -"[project]/node_modules/framer-motion/dist/es/render/svg/utils/path.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "buildSVGPath", - ()=>buildSVGPath -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/numbers/units.mjs [app-client] (ecmascript)"); -; -const dashKeys = { - offset: "stroke-dashoffset", - array: "stroke-dasharray" -}; -const camelKeys = { - offset: "strokeDashoffset", - array: "strokeDasharray" -}; -/** - * Build SVG path properties. Uses the path's measured length to convert - * our custom pathLength, pathSpacing and pathOffset into stroke-dashoffset - * and stroke-dasharray attributes. - * - * This function is mutative to reduce per-frame GC. - */ function buildSVGPath(attrs, length, spacing = 1, offset = 0, useDashCase = true) { - // Normalise path length by setting SVG attribute pathLength to 1 - attrs.pathLength = 1; - // We use dash case when setting attributes directly to the DOM node and camel case - // when defining props on a React component. - const keys = useDashCase ? dashKeys : camelKeys; - // Build the dash offset - attrs[keys.offset] = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["px"].transform(-offset); - // Build the dash array - const pathLength = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["px"].transform(length); - const pathSpacing = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["px"].transform(spacing); - attrs[keys.array] = `${pathLength} ${pathSpacing}`; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "buildSVGAttrs", - ()=>buildSVGAttrs -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$html$2f$utils$2f$build$2d$styles$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/html/utils/build-styles.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$svg$2f$utils$2f$path$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/svg/utils/path.mjs [app-client] (ecmascript)"); -; -; -/** - * Build SVG visual attributes, like cx and style.transform - */ function buildSVGAttrs(state, { attrX, attrY, attrScale, pathLength, pathSpacing = 1, pathOffset = 0, // This is object creation, which we try to avoid per-frame. -...latest }, isSVGTag, transformTemplate, styleProp) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$html$2f$utils$2f$build$2d$styles$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["buildHTMLStyles"])(state, latest, transformTemplate); - /** - * For svg tags we just want to make sure viewBox is animatable and treat all the styles - * as normal HTML tags. - */ if (isSVGTag) { - if (state.style.viewBox) { - state.attrs.viewBox = state.style.viewBox; - } - return; - } - state.attrs = state.style; - state.style = {}; - const { attrs, style } = state; - /** - * However, we apply transforms as CSS transforms. - * So if we detect a transform, transformOrigin we take it from attrs and copy it into style. - */ if (attrs.transform) { - style.transform = attrs.transform; - delete attrs.transform; - } - if (style.transform || attrs.transformOrigin) { - style.transformOrigin = attrs.transformOrigin ?? "50% 50%"; - delete attrs.transformOrigin; - } - if (style.transform) { - /** - * SVG's element transform-origin uses its own median as a reference. - * Therefore, transformBox becomes a fill-box - */ style.transformBox = styleProp?.transformBox ?? "fill-box"; - delete attrs.transformBox; - } - // Render attrX/attrY/attrScale as attributes - if (attrX !== undefined) attrs.x = attrX; - if (attrY !== undefined) attrs.y = attrY; - if (attrScale !== undefined) attrs.scale = attrScale; - // Build SVG path if one has been defined - if (pathLength !== undefined) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$svg$2f$utils$2f$path$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["buildSVGPath"])(attrs, pathLength, pathSpacing, pathOffset, false); - } -} -; -}), -"[project]/node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "camelCaseAttributes", - ()=>camelCaseAttributes -]); -/** - * A set of attribute names that are always read/written as camel case. - */ const camelCaseAttributes = new Set([ - "baseFrequency", - "diffuseConstant", - "kernelMatrix", - "kernelUnitLength", - "keySplines", - "keyTimes", - "limitingConeAngle", - "markerHeight", - "markerWidth", - "numOctaves", - "targetX", - "targetY", - "surfaceScale", - "specularConstant", - "specularExponent", - "stdDeviation", - "tableValues", - "viewBox", - "gradientTransform", - "pathLength", - "startOffset", - "textLength", - "lengthAdjust" -]); -; -}), -"[project]/node_modules/framer-motion/dist/es/render/svg/utils/is-svg-tag.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "isSVGTag", - ()=>isSVGTag -]); -const isSVGTag = (tag)=>typeof tag === "string" && tag.toLowerCase() === "svg"; -; -}), -"[project]/node_modules/framer-motion/dist/es/render/svg/utils/render.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "renderSVG", - ()=>renderSVG -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$utils$2f$camel$2d$to$2d$dash$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$html$2f$utils$2f$render$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/html/utils/render.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$svg$2f$utils$2f$camel$2d$case$2d$attrs$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.mjs [app-client] (ecmascript)"); -; -; -; -function renderSVG(element, renderState, _styleProp, projection) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$html$2f$utils$2f$render$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["renderHTML"])(element, renderState, undefined, projection); - for(const key in renderState.attrs){ - element.setAttribute(!__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$svg$2f$utils$2f$camel$2d$case$2d$attrs$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["camelCaseAttributes"].has(key) ? (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$utils$2f$camel$2d$to$2d$dash$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["camelToDash"])(key) : key, renderState.attrs[key]); - } -} -; -}), -"[project]/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "scrapeMotionValuesFromProps", - ()=>scrapeMotionValuesFromProps -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$utils$2f$is$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/utils/is-motion-value.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$render$2f$utils$2f$keys$2d$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/render/utils/keys-transform.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$html$2f$utils$2f$scrape$2d$motion$2d$values$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.mjs [app-client] (ecmascript)"); -; -; -function scrapeMotionValuesFromProps(props, prevProps, visualElement) { - const newValues = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$html$2f$utils$2f$scrape$2d$motion$2d$values$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["scrapeMotionValuesFromProps"])(props, prevProps, visualElement); - for(const key in props){ - if ((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$utils$2f$is$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isMotionValue"])(props[key]) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$utils$2f$is$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isMotionValue"])(prevProps[key])) { - const targetKey = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$render$2f$utils$2f$keys$2d$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["transformPropOrder"].indexOf(key) !== -1 ? "attr" + key.charAt(0).toUpperCase() + key.substring(1) : key; - newValues[targetKey] = props[key]; - } - } - return newValues; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "SVGVisualElement", - ()=>SVGVisualElement -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$render$2f$utils$2f$keys$2d$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/render/utils/keys-transform.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$maps$2f$defaults$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/maps/defaults.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$models$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/projection/geometry/models.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$DOMVisualElement$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$utils$2f$camel$2d$to$2d$dash$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$svg$2f$utils$2f$build$2d$attrs$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$svg$2f$utils$2f$camel$2d$case$2d$attrs$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$svg$2f$utils$2f$is$2d$svg$2d$tag$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/svg/utils/is-svg-tag.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$svg$2f$utils$2f$render$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/svg/utils/render.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$svg$2f$utils$2f$scrape$2d$motion$2d$values$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.mjs [app-client] (ecmascript)"); -; -; -; -; -; -; -; -; -; -class SVGVisualElement extends __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$DOMVisualElement$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["DOMVisualElement"] { - constructor(){ - super(...arguments); - this.type = "svg"; - this.isSVGTag = false; - this.measureInstanceViewportBox = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$models$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createBox"]; - } - getBaseTargetFromProps(props, key) { - return props[key]; - } - readValueFromInstance(instance, key) { - if (__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$render$2f$utils$2f$keys$2d$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["transformProps"].has(key)) { - const defaultType = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$maps$2f$defaults$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getDefaultValueType"])(key); - return defaultType ? defaultType.default || 0 : 0; - } - key = !__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$svg$2f$utils$2f$camel$2d$case$2d$attrs$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["camelCaseAttributes"].has(key) ? (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$utils$2f$camel$2d$to$2d$dash$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["camelToDash"])(key) : key; - return instance.getAttribute(key); - } - scrapeMotionValuesFromProps(props, prevProps, visualElement) { - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$svg$2f$utils$2f$scrape$2d$motion$2d$values$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["scrapeMotionValuesFromProps"])(props, prevProps, visualElement); - } - build(renderState, latestValues, props) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$svg$2f$utils$2f$build$2d$attrs$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["buildSVGAttrs"])(renderState, latestValues, this.isSVGTag, props.transformTemplate, props.style); - } - renderInstance(instance, renderState, styleProp, projection) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$svg$2f$utils$2f$render$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["renderSVG"])(instance, renderState, styleProp, projection); - } - mount(instance) { - this.isSVGTag = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$svg$2f$utils$2f$is$2d$svg$2d$tag$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isSVGTag"])(instance.tagName); - super.mount(instance); - } -} -; -}), -"[project]/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "lowercaseSVGElements", - ()=>lowercaseSVGElements -]); -/** - * We keep these listed separately as we use the lowercase tag names as part - * of the runtime bundle to detect SVG components - */ const lowercaseSVGElements = [ - "animate", - "circle", - "defs", - "desc", - "ellipse", - "g", - "image", - "line", - "filter", - "marker", - "mask", - "metadata", - "path", - "pattern", - "polygon", - "polyline", - "rect", - "stop", - "switch", - "symbol", - "svg", - "text", - "tspan", - "use", - "view" -]; -; -}), -"[project]/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "isSVGComponent", - ()=>isSVGComponent -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$svg$2f$lowercase$2d$elements$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs [app-client] (ecmascript)"); -; -function isSVGComponent(Component) { - if (/** - * If it's not a string, it's a custom React component. Currently we only support - * HTML custom React components. - */ typeof Component !== "string" || /** - * If it contains a dash, the element is a custom HTML webcomponent. - */ Component.includes("-")) { - return false; - } else if (/** - * If it's in our list of lowercase SVG tags, it's an SVG component - */ __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$svg$2f$lowercase$2d$elements$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["lowercaseSVGElements"].indexOf(Component) > -1 || /** - * If it contains a capital letter, it's an SVG component - */ /[A-Z]/u.test(Component)) { - return true; - } - return false; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "createDomVisualElement", - ()=>createDomVisualElement -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$html$2f$HTMLVisualElement$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$svg$2f$SVGVisualElement$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$utils$2f$is$2d$svg$2d$component$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs [app-client] (ecmascript)"); -; -; -; -; -const createDomVisualElement = (Component, options)=>{ - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$utils$2f$is$2d$svg$2d$component$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isSVGComponent"])(Component) ? new __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$svg$2f$SVGVisualElement$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["SVGVisualElement"](options) : new __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$html$2f$HTMLVisualElement$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["HTMLVisualElement"](options, { - allowProjection: Component !== __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Fragment"] - }); -}; -; -}), -"[project]/node_modules/framer-motion/dist/es/context/LazyContext.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "LazyContext", - ()=>LazyContext -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -"use client"; -; -const LazyContext = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createContext"])({ - strict: false -}); -; -}), -"[project]/node_modules/framer-motion/dist/es/context/MotionContext/index.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "MotionContext", - ()=>MotionContext -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -"use client"; -; -const MotionContext = /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createContext"])({}); -; -}), -"[project]/node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "getCurrentTreeVariants", - ()=>getCurrentTreeVariants -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$is$2d$controlling$2d$variants$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$is$2d$variant$2d$label$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/utils/is-variant-label.mjs [app-client] (ecmascript)"); -; -; -function getCurrentTreeVariants(props, context) { - if ((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$is$2d$controlling$2d$variants$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isControllingVariants"])(props)) { - const { initial, animate } = props; - return { - initial: initial === false || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$is$2d$variant$2d$label$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isVariantLabel"])(initial) ? initial : undefined, - animate: (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$is$2d$variant$2d$label$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isVariantLabel"])(animate) ? animate : undefined - }; - } - return props.inherit !== false ? context : {}; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/context/MotionContext/create.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "useCreateMotionContext", - ()=>useCreateMotionContext -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$context$2f$MotionContext$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/context/MotionContext/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$context$2f$MotionContext$2f$utils$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs [app-client] (ecmascript)"); -"use client"; -; -; -; -function useCreateMotionContext(props) { - const { initial, animate } = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$context$2f$MotionContext$2f$utils$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getCurrentTreeVariants"])(props, (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useContext"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$context$2f$MotionContext$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["MotionContext"])); - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useMemo"])({ - "useCreateMotionContext.useMemo": ()=>({ - initial, - animate - }) - }["useCreateMotionContext.useMemo"], [ - variantLabelsAsDependency(initial), - variantLabelsAsDependency(animate) - ]); -} -function variantLabelsAsDependency(prop) { - return Array.isArray(prop) ? prop.join(" ") : prop; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "createHtmlRenderState", - ()=>createHtmlRenderState -]); -const createHtmlRenderState = ()=>({ - style: {}, - transform: {}, - transformOrigin: {}, - vars: {} - }); -; -}), -"[project]/node_modules/framer-motion/dist/es/render/html/use-props.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "copyRawValuesOnly", - ()=>copyRawValuesOnly, - "useHTMLProps", - ()=>useHTMLProps -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$utils$2f$is$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/utils/is-motion-value.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$utils$2f$is$2d$forced$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$html$2f$utils$2f$build$2d$styles$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/html/utils/build-styles.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$html$2f$utils$2f$create$2d$render$2d$state$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs [app-client] (ecmascript)"); -"use client"; -; -; -; -; -; -function copyRawValuesOnly(target, source, props) { - for(const key in source){ - if (!(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$utils$2f$is$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isMotionValue"])(source[key]) && !(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$utils$2f$is$2d$forced$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isForcedMotionValue"])(key, props)) { - target[key] = source[key]; - } - } -} -function useInitialMotionValues({ transformTemplate }, visualState) { - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useMemo"])({ - "useInitialMotionValues.useMemo": ()=>{ - const state = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$html$2f$utils$2f$create$2d$render$2d$state$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createHtmlRenderState"])(); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$html$2f$utils$2f$build$2d$styles$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["buildHTMLStyles"])(state, visualState, transformTemplate); - return Object.assign({}, state.vars, state.style); - } - }["useInitialMotionValues.useMemo"], [ - visualState - ]); -} -function useStyle(props, visualState) { - const styleProp = props.style || {}; - const style = {}; - /** - * Copy non-Motion Values straight into style - */ copyRawValuesOnly(style, styleProp, props); - Object.assign(style, useInitialMotionValues(props, visualState)); - return style; -} -function useHTMLProps(props, visualState) { - // The `any` isn't ideal but it is the type of createElement props argument - const htmlProps = {}; - const style = useStyle(props, visualState); - if (props.drag && props.dragListener !== false) { - // Disable the ghost element when a user drags - htmlProps.draggable = false; - // Disable text selection - style.userSelect = style.WebkitUserSelect = style.WebkitTouchCallout = "none"; - // Disable scrolling on the draggable direction - style.touchAction = props.drag === true ? "none" : `pan-${props.drag === "x" ? "y" : "x"}`; - } - if (props.tabIndex === undefined && (props.onTap || props.onTapStart || props.whileTap)) { - htmlProps.tabIndex = 0; - } - htmlProps.style = style; - return htmlProps; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "createSvgRenderState", - ()=>createSvgRenderState -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$html$2f$utils$2f$create$2d$render$2d$state$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs [app-client] (ecmascript)"); -; -const createSvgRenderState = ()=>({ - ...(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$html$2f$utils$2f$create$2d$render$2d$state$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createHtmlRenderState"])(), - attrs: {} - }); -; -}), -"[project]/node_modules/framer-motion/dist/es/render/svg/use-props.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "useSVGProps", - ()=>useSVGProps -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$html$2f$use$2d$props$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/html/use-props.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$svg$2f$utils$2f$build$2d$attrs$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$svg$2f$utils$2f$create$2d$render$2d$state$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$svg$2f$utils$2f$is$2d$svg$2d$tag$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/svg/utils/is-svg-tag.mjs [app-client] (ecmascript)"); -"use client"; -; -; -; -; -; -function useSVGProps(props, visualState, _isStatic, Component) { - const visualProps = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useMemo"])({ - "useSVGProps.useMemo[visualProps]": ()=>{ - const state = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$svg$2f$utils$2f$create$2d$render$2d$state$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createSvgRenderState"])(); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$svg$2f$utils$2f$build$2d$attrs$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["buildSVGAttrs"])(state, visualState, (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$svg$2f$utils$2f$is$2d$svg$2d$tag$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isSVGTag"])(Component), props.transformTemplate, props.style); - return { - ...state.attrs, - style: { - ...state.style - } - }; - } - }["useSVGProps.useMemo[visualProps]"], [ - visualState - ]); - if (props.style) { - const rawStyles = {}; - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$html$2f$use$2d$props$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["copyRawValuesOnly"])(rawStyles, props.style, props); - visualProps.style = { - ...rawStyles, - ...visualProps.style - }; - } - return visualProps; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "isValidMotionProp", - ()=>isValidMotionProp -]); -/** - * A list of all valid MotionProps. - * - * @privateRemarks - * This doesn't throw if a `MotionProp` name is missing - it should. - */ const validMotionProps = new Set([ - "animate", - "exit", - "variants", - "initial", - "style", - "values", - "variants", - "transition", - "transformTemplate", - "custom", - "inherit", - "onBeforeLayoutMeasure", - "onAnimationStart", - "onAnimationComplete", - "onUpdate", - "onDragStart", - "onDrag", - "onDragEnd", - "onMeasureDragConstraints", - "onDirectionLock", - "onDragTransitionEnd", - "_dragX", - "_dragY", - "onHoverStart", - "onHoverEnd", - "onViewportEnter", - "onViewportLeave", - "globalTapTarget", - "ignoreStrict", - "viewport" -]); -/** - * Check whether a prop name is a valid `MotionProp` key. - * - * @param key - Name of the property to check - * @returns `true` is key is a valid `MotionProp`. - * - * @public - */ function isValidMotionProp(key) { - return key.startsWith("while") || key.startsWith("drag") && key !== "draggable" || key.startsWith("layout") || key.startsWith("onTap") || key.startsWith("onPan") || key.startsWith("onLayout") || validMotionProps.has(key); -} -; -}), -"[project]/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "filterProps", - ()=>filterProps, - "loadExternalIsValidProp", - ()=>loadExternalIsValidProp -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$utils$2f$valid$2d$prop$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs [app-client] (ecmascript)"); -; -let shouldForward = (key)=>!(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$utils$2f$valid$2d$prop$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isValidMotionProp"])(key); -function loadExternalIsValidProp(isValidProp) { - if (typeof isValidProp !== "function") return; - // Explicitly filter our events - shouldForward = (key)=>key.startsWith("on") ? !(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$utils$2f$valid$2d$prop$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isValidMotionProp"])(key) : isValidProp(key); -} -/** - * Emotion and Styled Components both allow users to pass through arbitrary props to their components - * to dynamically generate CSS. They both use the `@emotion/is-prop-valid` package to determine which - * of these should be passed to the underlying DOM node. - * - * However, when styling a Motion component `styled(motion.div)`, both packages pass through *all* props - * as it's seen as an arbitrary component rather than a DOM node. Motion only allows arbitrary props - * passed through the `custom` prop so it doesn't *need* the payload or computational overhead of - * `@emotion/is-prop-valid`, however to fix this problem we need to use it. - * - * By making it an optionalDependency we can offer this functionality only in the situations where it's - * actually required. - */ try { - /** - * We attempt to import this package but require won't be defined in esm environments, in that case - * isPropValid will have to be provided via `MotionContext`. In a 6.0.0 this should probably be removed - * in favour of explicit injection. - */ loadExternalIsValidProp((()=>{ - const e = new Error("Cannot find module '@emotion/is-prop-valid'"); - e.code = 'MODULE_NOT_FOUND'; - throw e; - })().default); -} catch { -// We don't need to actually do anything here - the fallback is the existing `isPropValid`. -} -function filterProps(props, isDom, forwardMotionProps) { - const filteredProps = {}; - for(const key in props){ - /** - * values is considered a valid prop by Emotion, so if it's present - * this will be rendered out to the DOM unless explicitly filtered. - * - * We check the type as it could be used with the `feColorMatrix` - * element, which we support. - */ if (key === "values" && typeof props.values === "object") continue; - if (shouldForward(key) || forwardMotionProps === true && (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$utils$2f$valid$2d$prop$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isValidMotionProp"])(key) || !isDom && !(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$utils$2f$valid$2d$prop$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isValidMotionProp"])(key) || props["draggable"] && key.startsWith("onDrag")) { - filteredProps[key] = props[key]; - } - } - return filteredProps; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/render/dom/use-render.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "useRender", - ()=>useRender -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$utils$2f$is$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/utils/is-motion-value.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$html$2f$use$2d$props$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/html/use-props.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$svg$2f$use$2d$props$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/svg/use-props.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$utils$2f$filter$2d$props$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$utils$2f$is$2d$svg$2d$component$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs [app-client] (ecmascript)"); -"use client"; -; -; -; -; -; -; -function useRender(Component, props, ref, { latestValues }, isStatic, forwardMotionProps = false) { - const useVisualProps = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$utils$2f$is$2d$svg$2d$component$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isSVGComponent"])(Component) ? __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$svg$2f$use$2d$props$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useSVGProps"] : __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$html$2f$use$2d$props$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useHTMLProps"]; - const visualProps = useVisualProps(props, latestValues, isStatic, Component); - const filteredProps = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$utils$2f$filter$2d$props$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["filterProps"])(props, typeof Component === "string", forwardMotionProps); - const elementProps = Component !== __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Fragment"] ? { - ...filteredProps, - ...visualProps, - ref - } : {}; - /** - * If component has been handed a motion value as its child, - * memoise its initial value and render that. Subsequent updates - * will be handled by the onChange handler - */ const { children } = props; - const renderedChildren = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useMemo"])({ - "useRender.useMemo[renderedChildren]": ()=>(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$utils$2f$is$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isMotionValue"])(children) ? children.get() : children - }["useRender.useMemo[renderedChildren]"], [ - children - ]); - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createElement"])(Component, { - ...elementProps, - children: renderedChildren - }); -} -; -}), -"[project]/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "resolveMotionValue", - ()=>resolveMotionValue -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$utils$2f$is$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/utils/is-motion-value.mjs [app-client] (ecmascript)"); -; -/** - * If the provided value is a MotionValue, this returns the actual value, otherwise just the value itself - * - * TODO: Remove and move to library - */ function resolveMotionValue(value) { - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$utils$2f$is$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isMotionValue"])(value) ? value.get() : value; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "makeUseVisualState", - ()=>makeUseVisualState -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$animation$2f$utils$2f$is$2d$animation$2d$controls$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$context$2f$MotionContext$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/context/MotionContext/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$context$2f$PresenceContext$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/context/PresenceContext.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$is$2d$controlling$2d$variants$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$resolve$2d$variants$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/utils/resolve-variants.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$use$2d$constant$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/utils/use-constant.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$value$2f$utils$2f$resolve$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.mjs [app-client] (ecmascript)"); -"use client"; -; -; -; -; -; -; -; -; -function makeState({ scrapeMotionValuesFromProps, createRenderState }, props, context, presenceContext) { - const state = { - latestValues: makeLatestValues(props, context, presenceContext, scrapeMotionValuesFromProps), - renderState: createRenderState() - }; - return state; -} -function makeLatestValues(props, context, presenceContext, scrapeMotionValues) { - const values = {}; - const motionValues = scrapeMotionValues(props, {}); - for(const key in motionValues){ - values[key] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$value$2f$utils$2f$resolve$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["resolveMotionValue"])(motionValues[key]); - } - let { initial, animate } = props; - const isControllingVariants$1 = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$is$2d$controlling$2d$variants$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isControllingVariants"])(props); - const isVariantNode$1 = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$is$2d$controlling$2d$variants$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isVariantNode"])(props); - if (context && isVariantNode$1 && !isControllingVariants$1 && props.inherit !== false) { - if (initial === undefined) initial = context.initial; - if (animate === undefined) animate = context.animate; - } - let isInitialAnimationBlocked = presenceContext ? presenceContext.initial === false : false; - isInitialAnimationBlocked = isInitialAnimationBlocked || initial === false; - const variantToSet = isInitialAnimationBlocked ? animate : initial; - if (variantToSet && typeof variantToSet !== "boolean" && !(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$animation$2f$utils$2f$is$2d$animation$2d$controls$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAnimationControls"])(variantToSet)) { - const list = Array.isArray(variantToSet) ? variantToSet : [ - variantToSet - ]; - for(let i = 0; i < list.length; i++){ - const resolved = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$resolve$2d$variants$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["resolveVariantFromProps"])(props, list[i]); - if (resolved) { - const { transitionEnd, transition, ...target } = resolved; - for(const key in target){ - let valueTarget = target[key]; - if (Array.isArray(valueTarget)) { - /** - * Take final keyframe if the initial animation is blocked because - * we want to initialise at the end of that blocked animation. - */ const index = isInitialAnimationBlocked ? valueTarget.length - 1 : 0; - valueTarget = valueTarget[index]; - } - if (valueTarget !== null) { - values[key] = valueTarget; - } - } - for(const key in transitionEnd){ - values[key] = transitionEnd[key]; - } - } - } - } - return values; -} -const makeUseVisualState = (config)=>(props, isStatic)=>{ - const context = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useContext"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$context$2f$MotionContext$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["MotionContext"]); - const presenceContext = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useContext"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$context$2f$PresenceContext$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["PresenceContext"]); - const make = ()=>makeState(config, props, context, presenceContext); - return isStatic ? make() : (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$use$2d$constant$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useConstant"])(make); - }; -; -}), -"[project]/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "useHTMLVisualState", - ()=>useHTMLVisualState -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$utils$2f$use$2d$visual$2d$state$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$html$2f$utils$2f$create$2d$render$2d$state$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$html$2f$utils$2f$scrape$2d$motion$2d$values$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.mjs [app-client] (ecmascript)"); -"use client"; -; -; -; -const useHTMLVisualState = /*@__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$utils$2f$use$2d$visual$2d$state$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["makeUseVisualState"])({ - scrapeMotionValuesFromProps: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$html$2f$utils$2f$scrape$2d$motion$2d$values$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["scrapeMotionValuesFromProps"], - createRenderState: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$html$2f$utils$2f$create$2d$render$2d$state$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createHtmlRenderState"] -}); -; -}), -"[project]/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "useSVGVisualState", - ()=>useSVGVisualState -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$utils$2f$use$2d$visual$2d$state$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$svg$2f$utils$2f$create$2d$render$2d$state$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$svg$2f$utils$2f$scrape$2d$motion$2d$values$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.mjs [app-client] (ecmascript)"); -"use client"; -; -; -; -const useSVGVisualState = /*@__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$utils$2f$use$2d$visual$2d$state$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["makeUseVisualState"])({ - scrapeMotionValuesFromProps: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$svg$2f$utils$2f$scrape$2d$motion$2d$values$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["scrapeMotionValuesFromProps"], - createRenderState: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$svg$2f$utils$2f$create$2d$render$2d$state$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createSvgRenderState"] -}); -; -}), -"[project]/node_modules/framer-motion/dist/es/motion/features/load-features.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "loadFeatures", - ()=>loadFeatures -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$features$2f$definitions$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/motion/features/definitions.mjs [app-client] (ecmascript)"); -; -function loadFeatures(features) { - for(const key in features){ - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$features$2f$definitions$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["featureDefinitions"][key] = { - ...__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$features$2f$definitions$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["featureDefinitions"][key], - ...features[key] - }; - } -} -; -}), -"[project]/node_modules/framer-motion/dist/es/motion/utils/symbol.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "motionComponentSymbol", - ()=>motionComponentSymbol -]); -const motionComponentSymbol = Symbol.for("motionComponentSymbol"); -; -}), -"[project]/node_modules/framer-motion/dist/es/utils/is-ref-object.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "isRefObject", - ()=>isRefObject -]); -function isRefObject(ref) { - return ref && typeof ref === "object" && Object.prototype.hasOwnProperty.call(ref, "current"); -} -; -}), -"[project]/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "useMotionRef", - ()=>useMotionRef -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$is$2d$ref$2d$object$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/utils/is-ref-object.mjs [app-client] (ecmascript)"); -"use client"; -; -; -/** - * Creates a ref function that, when called, hydrates the provided - * external ref and VisualElement. - */ function useMotionRef(visualState, visualElement, externalRef) { - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useCallback"])({ - "useMotionRef.useCallback": (instance)=>{ - if (instance) { - visualState.onMount && visualState.onMount(instance); - } - if (visualElement) { - if (instance) { - visualElement.mount(instance); - } else { - visualElement.unmount(); - } - } - if (externalRef) { - if (typeof externalRef === "function") { - externalRef(instance); - } else if ((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$is$2d$ref$2d$object$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isRefObject"])(externalRef)) { - externalRef.current = instance; - } - } - } - }["useMotionRef.useCallback"], /** - * Include externalRef in dependencies to ensure the callback updates - * when the ref changes, allowing proper ref forwarding. - */ [ - visualElement - ]); -} -; -}), -"[project]/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "optimizedAppearDataAttribute", - ()=>optimizedAppearDataAttribute, - "optimizedAppearDataId", - ()=>optimizedAppearDataId -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$utils$2f$camel$2d$to$2d$dash$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.mjs [app-client] (ecmascript)"); -; -const optimizedAppearDataId = "framerAppearId"; -const optimizedAppearDataAttribute = "data-" + (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$utils$2f$camel$2d$to$2d$dash$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["camelToDash"])(optimizedAppearDataId); -; -}), -"[project]/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "SwitchLayoutGroupContext", - ()=>SwitchLayoutGroupContext -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -"use client"; -; -/** - * Internal, exported only for usage in Framer - */ const SwitchLayoutGroupContext = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createContext"])({}); -; -}), -"[project]/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "useVisualElement", - ()=>useVisualElement -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$animation$2f$optimized$2d$appear$2f$data$2d$id$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$context$2f$LazyContext$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/context/LazyContext.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$context$2f$MotionConfigContext$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$context$2f$MotionContext$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/context/MotionContext/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$context$2f$PresenceContext$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/context/PresenceContext.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$context$2f$SwitchLayoutGroupContext$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$is$2d$ref$2d$object$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/utils/is-ref-object.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$use$2d$isomorphic$2d$effect$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs [app-client] (ecmascript)"); -"use client"; -; -; -; -; -; -; -; -; -; -function useVisualElement(Component, visualState, props, createVisualElement, ProjectionNodeConstructor) { - const { visualElement: parent } = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useContext"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$context$2f$MotionContext$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["MotionContext"]); - const lazyContext = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useContext"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$context$2f$LazyContext$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["LazyContext"]); - const presenceContext = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useContext"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$context$2f$PresenceContext$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["PresenceContext"]); - const reducedMotionConfig = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useContext"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$context$2f$MotionConfigContext$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["MotionConfigContext"]).reducedMotion; - const visualElementRef = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useRef"])(null); - /** - * If we haven't preloaded a renderer, check to see if we have one lazy-loaded - */ createVisualElement = createVisualElement || lazyContext.renderer; - if (!visualElementRef.current && createVisualElement) { - visualElementRef.current = createVisualElement(Component, { - visualState, - parent, - props, - presenceContext, - blockInitialAnimation: presenceContext ? presenceContext.initial === false : false, - reducedMotionConfig - }); - } - const visualElement = visualElementRef.current; - /** - * Load Motion gesture and animation features. These are rendered as renderless - * components so each feature can optionally make use of React lifecycle methods. - */ const initialLayoutGroupConfig = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useContext"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$context$2f$SwitchLayoutGroupContext$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["SwitchLayoutGroupContext"]); - if (visualElement && !visualElement.projection && ProjectionNodeConstructor && (visualElement.type === "html" || visualElement.type === "svg")) { - createProjectionNode(visualElementRef.current, props, ProjectionNodeConstructor, initialLayoutGroupConfig); - } - const isMounted = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useRef"])(false); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useInsertionEffect"])({ - "useVisualElement.useInsertionEffect": ()=>{ - /** - * Check the component has already mounted before calling - * `update` unnecessarily. This ensures we skip the initial update. - */ if (visualElement && isMounted.current) { - visualElement.update(props, presenceContext); - } - } - }["useVisualElement.useInsertionEffect"]); - /** - * Cache this value as we want to know whether HandoffAppearAnimations - * was present on initial render - it will be deleted after this. - */ const optimisedAppearId = props[__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$animation$2f$optimized$2d$appear$2f$data$2d$id$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["optimizedAppearDataAttribute"]]; - const wantsHandoff = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useRef"])(Boolean(optimisedAppearId) && !window.MotionHandoffIsComplete?.(optimisedAppearId) && window.MotionHasOptimisedAnimation?.(optimisedAppearId)); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$use$2d$isomorphic$2d$effect$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useIsomorphicLayoutEffect"])({ - "useVisualElement.useIsomorphicLayoutEffect": ()=>{ - if (!visualElement) return; - isMounted.current = true; - window.MotionIsMounted = true; - visualElement.updateFeatures(); - visualElement.scheduleRenderMicrotask(); - /** - * Ideally this function would always run in a useEffect. - * - * However, if we have optimised appear animations to handoff from, - * it needs to happen synchronously to ensure there's no flash of - * incorrect styles in the event of a hydration error. - * - * So if we detect a situtation where optimised appear animations - * are running, we use useLayoutEffect to trigger animations. - */ if (wantsHandoff.current && visualElement.animationState) { - visualElement.animationState.animateChanges(); - } - } - }["useVisualElement.useIsomorphicLayoutEffect"]); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useEffect"])({ - "useVisualElement.useEffect": ()=>{ - if (!visualElement) return; - if (!wantsHandoff.current && visualElement.animationState) { - visualElement.animationState.animateChanges(); - } - if (wantsHandoff.current) { - // This ensures all future calls to animateChanges() in this component will run in useEffect - queueMicrotask({ - "useVisualElement.useEffect": ()=>{ - window.MotionHandoffMarkAsComplete?.(optimisedAppearId); - } - }["useVisualElement.useEffect"]); - wantsHandoff.current = false; - } - /** - * Now we've finished triggering animations for this element we - * can wipe the enteringChildren set for the next render. - */ visualElement.enteringChildren = undefined; - } - }["useVisualElement.useEffect"]); - return visualElement; -} -function createProjectionNode(visualElement, props, ProjectionNodeConstructor, initialPromotionConfig) { - const { layoutId, layout, drag, dragConstraints, layoutScroll, layoutRoot, layoutCrossfade } = props; - visualElement.projection = new ProjectionNodeConstructor(visualElement.latestValues, props["data-framer-portal-id"] ? undefined : getClosestProjectingNode(visualElement.parent)); - visualElement.projection.setOptions({ - layoutId, - layout, - alwaysMeasureLayout: Boolean(drag) || dragConstraints && (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$is$2d$ref$2d$object$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isRefObject"])(dragConstraints), - visualElement, - /** - * TODO: Update options in an effect. This could be tricky as it'll be too late - * to update by the time layout animations run. - * We also need to fix this safeToRemove by linking it up to the one returned by usePresence, - * ensuring it gets called if there's no potential layout animations. - * - */ animationType: typeof layout === "string" ? layout : "both", - initialPromotionConfig, - crossfade: layoutCrossfade, - layoutScroll, - layoutRoot - }); -} -function getClosestProjectingNode(visualElement) { - if (!visualElement) return undefined; - return visualElement.options.allowProjection !== false ? visualElement.projection : getClosestProjectingNode(visualElement.parent); -} -; -}), -"[project]/node_modules/framer-motion/dist/es/motion/index.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "createMotionComponent", - ()=>createMotionComponent -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/jsx-runtime.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$errors$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/errors.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$context$2f$LayoutGroupContext$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/context/LayoutGroupContext.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$context$2f$LazyContext$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/context/LazyContext.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$context$2f$MotionConfigContext$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$context$2f$MotionContext$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/context/MotionContext/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$context$2f$MotionContext$2f$create$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/context/MotionContext/create.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$use$2d$render$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/dom/use-render.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$utils$2f$is$2d$svg$2d$component$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$html$2f$use$2d$html$2d$visual$2d$state$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$svg$2f$use$2d$svg$2d$visual$2d$state$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$is$2d$browser$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/utils/is-browser.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$features$2f$definitions$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/motion/features/definitions.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$features$2f$load$2d$features$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/motion/features/load-features.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$utils$2f$symbol$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/motion/utils/symbol.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$utils$2f$use$2d$motion$2d$ref$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$utils$2f$use$2d$visual$2d$element$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs [app-client] (ecmascript)"); -"use client"; -; -; -; -; -; -; -; -; -; -; -; -; -; -; -; -; -; -; -/** - * Create a `motion` component. - * - * This function accepts a Component argument, which can be either a string (ie "div" - * for `motion.div`), or an actual React component. - * - * Alongside this is a config option which provides a way of rendering the provided - * component "offline", or outside the React render cycle. - */ function createMotionComponent(Component, { forwardMotionProps = false } = {}, preloadedFeatures, createVisualElement) { - preloadedFeatures && (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$features$2f$load$2d$features$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["loadFeatures"])(preloadedFeatures); - const useVisualState = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$utils$2f$is$2d$svg$2d$component$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isSVGComponent"])(Component) ? __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$svg$2f$use$2d$svg$2d$visual$2d$state$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useSVGVisualState"] : __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$html$2f$use$2d$html$2d$visual$2d$state$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useHTMLVisualState"]; - function MotionDOMComponent(props, externalRef) { - /** - * If we need to measure the element we load this functionality in a - * separate class component in order to gain access to getSnapshotBeforeUpdate. - */ let MeasureLayout; - const configAndProps = { - ...(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useContext"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$context$2f$MotionConfigContext$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["MotionConfigContext"]), - ...props, - layoutId: useLayoutId(props) - }; - const { isStatic } = configAndProps; - const context = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$context$2f$MotionContext$2f$create$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useCreateMotionContext"])(props); - const visualState = useVisualState(props, isStatic); - if (!isStatic && __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$is$2d$browser$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isBrowser"]) { - useStrictMode(configAndProps, preloadedFeatures); - const layoutProjection = getProjectionFunctionality(configAndProps); - MeasureLayout = layoutProjection.MeasureLayout; - /** - * Create a VisualElement for this component. A VisualElement provides a common - * interface to renderer-specific APIs (ie DOM/Three.js etc) as well as - * providing a way of rendering to these APIs outside of the React render loop - * for more performant animations and interactions - */ context.visualElement = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$utils$2f$use$2d$visual$2d$element$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useVisualElement"])(Component, visualState, configAndProps, createVisualElement, layoutProjection.ProjectionNode); - } - /** - * The mount order and hierarchy is specific to ensure our element ref - * is hydrated by the time features fire their effects. - */ return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxs"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$context$2f$MotionContext$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["MotionContext"].Provider, { - value: context, - children: [ - MeasureLayout && context.visualElement ? (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(MeasureLayout, { - visualElement: context.visualElement, - ...configAndProps - }) : null, - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$use$2d$render$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useRender"])(Component, props, (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$utils$2f$use$2d$motion$2d$ref$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useMotionRef"])(visualState, context.visualElement, externalRef), visualState, isStatic, forwardMotionProps) - ] - }); - } - MotionDOMComponent.displayName = `motion.${typeof Component === "string" ? Component : `create(${Component.displayName ?? Component.name ?? ""})`}`; - const ForwardRefMotionComponent = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["forwardRef"])(MotionDOMComponent); - ForwardRefMotionComponent[__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$utils$2f$symbol$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["motionComponentSymbol"]] = Component; - return ForwardRefMotionComponent; -} -function useLayoutId({ layoutId }) { - const layoutGroupId = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useContext"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$context$2f$LayoutGroupContext$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["LayoutGroupContext"]).id; - return layoutGroupId && layoutId !== undefined ? layoutGroupId + "-" + layoutId : layoutId; -} -function useStrictMode(configAndProps, preloadedFeatures) { - const isStrict = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useContext"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$context$2f$LazyContext$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["LazyContext"]).strict; - /** - * If we're in development mode, check to make sure we're not rendering a motion component - * as a child of LazyMotion, as this will break the file-size benefits of using it. - */ if (("TURBOPACK compile-time value", "development") !== "production" && preloadedFeatures && isStrict) { - const strictMessage = "You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead."; - configAndProps.ignoreStrict ? (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$errors$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["warning"])(false, strictMessage, "lazy-strict-mode") : (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$errors$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["invariant"])(false, strictMessage, "lazy-strict-mode"); - } -} -function getProjectionFunctionality(props) { - const { drag, layout } = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$features$2f$definitions$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["featureDefinitions"]; - if (!drag && !layout) return {}; - const combined = { - ...drag, - ...layout - }; - return { - MeasureLayout: drag?.isEnabled(props) || layout?.isEnabled(props) ? combined.MeasureLayout : undefined, - ProjectionNode: combined.ProjectionNode - }; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/render/components/create-proxy.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "createMotionProxy", - ()=>createMotionProxy -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$warn$2d$once$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/warn-once.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/motion/index.mjs [app-client] (ecmascript)"); -; -; -function createMotionProxy(preloadedFeatures, createVisualElement) { - if (typeof Proxy === "undefined") { - return __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createMotionComponent"]; - } - /** - * A cache of generated `motion` components, e.g `motion.div`, `motion.input` etc. - * Rather than generating them anew every render. - */ const componentCache = new Map(); - const factory = (Component, options)=>{ - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createMotionComponent"])(Component, options, preloadedFeatures, createVisualElement); - }; - /** - * Support for deprecated`motion(Component)` pattern - */ const deprecatedFactoryFunction = (Component, options)=>{ - if ("TURBOPACK compile-time truthy", 1) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$warn$2d$once$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["warnOnce"])(false, "motion() is deprecated. Use motion.create() instead."); - } - return factory(Component, options); - }; - return new Proxy(deprecatedFactoryFunction, { - /** - * Called when `motion` is referenced with a prop: `motion.div`, `motion.input` etc. - * The prop name is passed through as `key` and we can use that to generate a `motion` - * DOM component with that name. - */ get: (_target, key)=>{ - if (key === "create") return factory; - /** - * If this element doesn't exist in the component cache, create it and cache. - */ if (!componentCache.has(key)) { - componentCache.set(key, (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createMotionComponent"])(key, undefined, preloadedFeatures, createVisualElement)); - } - return componentCache.get(key); - } - }); -} -; -}), -"[project]/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "resolveVariant", - ()=>resolveVariant -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$resolve$2d$variants$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/utils/resolve-variants.mjs [app-client] (ecmascript)"); -; -function resolveVariant(visualElement, definition, custom) { - const props = visualElement.getProps(); - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$resolve$2d$variants$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["resolveVariantFromProps"])(props, definition, custom !== undefined ? custom : props.custom, visualElement); -} -; -}), -"[project]/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "getValueTransition", - ()=>getValueTransition -]); -function getValueTransition(transition, key) { - return transition?.[key] ?? transition?.["default"] ?? transition; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/animation/utils/is-keyframes-target.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "isKeyframesTarget", - ()=>isKeyframesTarget -]); -const isKeyframesTarget = (v)=>{ - return Array.isArray(v); -}; -; -}), -"[project]/node_modules/framer-motion/dist/es/render/utils/setters.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "setTarget", - ()=>setTarget -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$animation$2f$utils$2f$is$2d$keyframes$2d$target$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/animation/utils/is-keyframes-target.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$resolve$2d$dynamic$2d$variants$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.mjs [app-client] (ecmascript)"); -; -; -; -/** - * Set VisualElement's MotionValue, creating a new MotionValue for it if - * it doesn't exist. - */ function setMotionValue(visualElement, key, value) { - if (visualElement.hasValue(key)) { - visualElement.getValue(key).set(value); - } else { - visualElement.addValue(key, (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["motionValue"])(value)); - } -} -function resolveFinalValueInKeyframes(v) { - // TODO maybe throw if v.length - 1 is placeholder token? - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$animation$2f$utils$2f$is$2d$keyframes$2d$target$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isKeyframesTarget"])(v) ? v[v.length - 1] || 0 : v; -} -function setTarget(visualElement, definition) { - const resolved = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$resolve$2d$dynamic$2d$variants$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["resolveVariant"])(visualElement, definition); - let { transitionEnd = {}, transition = {}, ...target } = resolved || {}; - target = { - ...target, - ...transitionEnd - }; - for(const key in target){ - const value = resolveFinalValueInKeyframes(target[key]); - setMotionValue(visualElement, key, value); - } -} -; -}), -"[project]/node_modules/framer-motion/dist/es/value/use-will-change/is.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "isWillChangeMotionValue", - ()=>isWillChangeMotionValue -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$utils$2f$is$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/utils/is-motion-value.mjs [app-client] (ecmascript)"); -; -function isWillChangeMotionValue(value) { - return Boolean((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$utils$2f$is$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isMotionValue"])(value) && value.add); -} -; -}), -"[project]/node_modules/framer-motion/dist/es/value/use-will-change/add-will-change.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "addValueToWillChange", - ()=>addValueToWillChange -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$global$2d$config$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/global-config.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$value$2f$use$2d$will$2d$change$2f$is$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/value/use-will-change/is.mjs [app-client] (ecmascript)"); -; -; -function addValueToWillChange(visualElement, key) { - const willChange = visualElement.getValue("willChange"); - /** - * It could be that a user has set willChange to a regular MotionValue, - * in which case we can't add the value to it. - */ if ((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$value$2f$use$2d$will$2d$change$2f$is$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isWillChangeMotionValue"])(willChange)) { - return willChange.add(key); - } else if (!willChange && __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$global$2d$config$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["MotionGlobalConfig"].WillChange) { - const newWillChange = new __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$global$2d$config$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["MotionGlobalConfig"].WillChange("auto"); - visualElement.addValue("willChange", newWillChange); - newWillChange.add(key); - } -} -; -}), -"[project]/node_modules/framer-motion/dist/es/animation/optimized-appear/get-appear-id.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "getOptimisedAppearId", - ()=>getOptimisedAppearId -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$animation$2f$optimized$2d$appear$2f$data$2d$id$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.mjs [app-client] (ecmascript)"); -; -function getOptimisedAppearId(visualElement) { - return visualElement.props[__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$animation$2f$optimized$2d$appear$2f$data$2d$id$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["optimizedAppearDataAttribute"]]; -} -; -}), -"[project]/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "makeAnimationInstant", - ()=>makeAnimationInstant -]); -function makeAnimationInstant(options) { - options.duration = 0; - options.type = "keyframes"; -} -; -}), -"[project]/node_modules/motion-utils/dist/es/pipe.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "pipe", - ()=>pipe -]); -/** - * Pipe - * Compose other transformers to run linearily - * pipe(min(20), max(40)) - * @param {...functions} transformers - * @return {function} - */ const combineFunctions = (a, b)=>(v)=>b(a(v)); -const pipe = (...transformers)=>transformers.reduce(combineFunctions); -; -}), -"[project]/node_modules/motion-utils/dist/es/time-conversion.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "millisecondsToSeconds", - ()=>millisecondsToSeconds, - "secondsToMilliseconds", - ()=>secondsToMilliseconds -]); -/** - * Converts seconds to milliseconds - * - * @param seconds - Time in seconds. - * @return milliseconds - Converted time in milliseconds. - */ /*#__NO_SIDE_EFFECTS__*/ const secondsToMilliseconds = (seconds)=>seconds * 1000; -/*#__NO_SIDE_EFFECTS__*/ const millisecondsToSeconds = (milliseconds)=>milliseconds / 1000; -; -}), -"[project]/node_modules/motion-dom/dist/es/stats/animation-count.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "activeAnimations", - ()=>activeAnimations -]); -const activeAnimations = { - layout: 0, - mainThread: 0, - waapi: 0 -}; -; -}), -"[project]/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "hslaToRgba", - ()=>hslaToRgba -]); -// Adapted from https://gist.github.com/mjackson/5311256 -function hueToRgb(p, q, t) { - if (t < 0) t += 1; - if (t > 1) t -= 1; - if (t < 1 / 6) return p + (q - p) * 6 * t; - if (t < 1 / 2) return q; - if (t < 2 / 3) return p + (q - p) * (2 / 3 - t) * 6; - return p; -} -function hslaToRgba({ hue, saturation, lightness, alpha }) { - hue /= 360; - saturation /= 100; - lightness /= 100; - let red = 0; - let green = 0; - let blue = 0; - if (!saturation) { - red = green = blue = lightness; - } else { - const q = lightness < 0.5 ? lightness * (1 + saturation) : lightness + saturation - lightness * saturation; - const p = 2 * lightness - q; - red = hueToRgb(p, q, hue + 1 / 3); - green = hueToRgb(p, q, hue); - blue = hueToRgb(p, q, hue - 1 / 3); - } - return { - red: Math.round(red * 255), - green: Math.round(green * 255), - blue: Math.round(blue * 255), - alpha - }; -} -; -}), -"[project]/node_modules/motion-dom/dist/es/utils/mix/immediate.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "mixImmediate", - ()=>mixImmediate -]); -function mixImmediate(a, b) { - return (p)=>p > 0 ? b : a; -} -; -}), -"[project]/node_modules/motion-dom/dist/es/utils/mix/color.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "mixColor", - ()=>mixColor, - "mixLinearColor", - ()=>mixLinearColor -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$errors$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/errors.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$hex$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/color/hex.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$hsla$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/color/hsla.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$hsla$2d$to$2d$rgba$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$rgba$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/color/rgba.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$immediate$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/utils/mix/immediate.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$number$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/utils/mix/number.mjs [app-client] (ecmascript)"); -; -; -; -; -; -; -; -// Linear color space blending -// Explained https://www.youtube.com/watch?v=LKnqECcg6Gw -// Demonstrated http://codepen.io/osublake/pen/xGVVaN -const mixLinearColor = (from, to, v)=>{ - const fromExpo = from * from; - const expo = v * (to * to - fromExpo) + fromExpo; - return expo < 0 ? 0 : Math.sqrt(expo); -}; -const colorTypes = [ - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$hex$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["hex"], - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$rgba$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["rgba"], - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$hsla$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["hsla"] -]; -const getColorType = (v)=>colorTypes.find((type)=>type.test(v)); -function asRGBA(color) { - const type = getColorType(color); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$errors$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["warning"])(Boolean(type), `'${color}' is not an animatable color. Use the equivalent color code instead.`, "color-not-animatable"); - if (!Boolean(type)) return false; - let model = type.parse(color); - if (type === __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$hsla$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["hsla"]) { - // TODO Remove this cast - needed since Motion's stricter typing - model = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$hsla$2d$to$2d$rgba$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["hslaToRgba"])(model); - } - return model; -} -const mixColor = (from, to)=>{ - const fromRGBA = asRGBA(from); - const toRGBA = asRGBA(to); - if (!fromRGBA || !toRGBA) { - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$immediate$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["mixImmediate"])(from, to); - } - const blended = { - ...fromRGBA - }; - return (v)=>{ - blended.red = mixLinearColor(fromRGBA.red, toRGBA.red, v); - blended.green = mixLinearColor(fromRGBA.green, toRGBA.green, v); - blended.blue = mixLinearColor(fromRGBA.blue, toRGBA.blue, v); - blended.alpha = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$number$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["mixNumber"])(fromRGBA.alpha, toRGBA.alpha, v); - return __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$rgba$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["rgba"].transform(blended); - }; -}; -; -}), -"[project]/node_modules/motion-dom/dist/es/utils/mix/visibility.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "invisibleValues", - ()=>invisibleValues, - "mixVisibility", - ()=>mixVisibility -]); -const invisibleValues = new Set([ - "none", - "hidden" -]); -/** - * Returns a function that, when provided a progress value between 0 and 1, - * will return the "none" or "hidden" string only when the progress is that of - * the origin or target. - */ function mixVisibility(origin, target) { - if (invisibleValues.has(origin)) { - return (p)=>p <= 0 ? origin : target; - } else { - return (p)=>p >= 1 ? target : origin; - } -} -; -}), -"[project]/node_modules/motion-dom/dist/es/utils/mix/complex.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "getMixer", - ()=>getMixer, - "mixArray", - ()=>mixArray, - "mixComplex", - ()=>mixComplex, - "mixObject", - ()=>mixObject -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$pipe$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/pipe.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$errors$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/errors.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$utils$2f$is$2d$css$2d$variable$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/color/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$complex$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/complex/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$color$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/utils/mix/color.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$immediate$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/utils/mix/immediate.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$number$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/utils/mix/number.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$visibility$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/utils/mix/visibility.mjs [app-client] (ecmascript)"); -; -; -; -; -; -; -; -; -function mixNumber(a, b) { - return (p)=>(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$number$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["mixNumber"])(a, b, p); -} -function getMixer(a) { - if (typeof a === "number") { - return mixNumber; - } else if (typeof a === "string") { - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$utils$2f$is$2d$css$2d$variable$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isCSSVariableToken"])(a) ? __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$immediate$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["mixImmediate"] : __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["color"].test(a) ? __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$color$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["mixColor"] : mixComplex; - } else if (Array.isArray(a)) { - return mixArray; - } else if (typeof a === "object") { - return __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$color$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["color"].test(a) ? __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$color$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["mixColor"] : mixObject; - } - return __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$immediate$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["mixImmediate"]; -} -function mixArray(a, b) { - const output = [ - ...a - ]; - const numValues = output.length; - const blendValue = a.map((v, i)=>getMixer(v)(v, b[i])); - return (p)=>{ - for(let i = 0; i < numValues; i++){ - output[i] = blendValue[i](p); - } - return output; - }; -} -function mixObject(a, b) { - const output = { - ...a, - ...b - }; - const blendValue = {}; - for(const key in output){ - if (a[key] !== undefined && b[key] !== undefined) { - blendValue[key] = getMixer(a[key])(a[key], b[key]); - } - } - return (v)=>{ - for(const key in blendValue){ - output[key] = blendValue[key](v); - } - return output; - }; -} -function matchOrder(origin, target) { - const orderedOrigin = []; - const pointers = { - color: 0, - var: 0, - number: 0 - }; - for(let i = 0; i < target.values.length; i++){ - const type = target.types[i]; - const originIndex = origin.indexes[type][pointers[type]]; - const originValue = origin.values[originIndex] ?? 0; - orderedOrigin[i] = originValue; - pointers[type]++; - } - return orderedOrigin; -} -const mixComplex = (origin, target)=>{ - const template = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$complex$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["complex"].createTransformer(target); - const originStats = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$complex$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["analyseComplexValue"])(origin); - const targetStats = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$complex$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["analyseComplexValue"])(target); - const canInterpolate = originStats.indexes.var.length === targetStats.indexes.var.length && originStats.indexes.color.length === targetStats.indexes.color.length && originStats.indexes.number.length >= targetStats.indexes.number.length; - if (canInterpolate) { - if (__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$visibility$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["invisibleValues"].has(origin) && !targetStats.values.length || __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$visibility$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["invisibleValues"].has(target) && !originStats.values.length) { - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$visibility$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["mixVisibility"])(origin, target); - } - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$pipe$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["pipe"])(mixArray(matchOrder(originStats, targetStats), targetStats.values), template); - } else { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$errors$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["warning"])(true, `Complex values '${origin}' and '${target}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`, "complex-values-different"); - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$immediate$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["mixImmediate"])(origin, target); - } -}; -; -}), -"[project]/node_modules/motion-dom/dist/es/utils/mix/index.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "mix", - ()=>mix -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$complex$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/utils/mix/complex.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$number$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/utils/mix/number.mjs [app-client] (ecmascript)"); -; -; -function mix(from, to, p) { - if (typeof from === "number" && typeof to === "number" && typeof p === "number") { - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$number$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["mixNumber"])(from, to, p); - } - const mixer = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$complex$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getMixer"])(from); - return mixer(from, to); -} -; -}), -"[project]/node_modules/motion-dom/dist/es/animation/drivers/frame.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "frameloopDriver", - ()=>frameloopDriver -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$sync$2d$time$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/frameloop/sync-time.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/frameloop/frame.mjs [app-client] (ecmascript)"); -; -; -const frameloopDriver = (update)=>{ - const passTimestamp = ({ timestamp })=>update(timestamp); - return { - start: (keepAlive = true)=>__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frame"].update(passTimestamp, keepAlive), - stop: ()=>(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["cancelFrame"])(passTimestamp), - /** - * If we're processing this frame we can use the - * framelocked timestamp to keep things in sync. - */ now: ()=>__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frameData"].isProcessing ? __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frameData"].timestamp : __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$sync$2d$time$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["time"].now() - }; -}; -; -}), -"[project]/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "generateLinearEasing", - ()=>generateLinearEasing -]); -const generateLinearEasing = (easing, duration, resolution = 10 // as milliseconds -)=>{ - let points = ""; - const numPoints = Math.max(Math.round(duration / resolution), 2); - for(let i = 0; i < numPoints; i++){ - points += Math.round(easing(i / (numPoints - 1)) * 10000) / 10000 + ", "; - } - return `linear(${points.substring(0, points.length - 2)})`; -}; -; -}), -"[project]/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "calcGeneratorDuration", - ()=>calcGeneratorDuration, - "maxGeneratorDuration", - ()=>maxGeneratorDuration -]); -/** - * Implement a practical max duration for keyframe generation - * to prevent infinite loops - */ const maxGeneratorDuration = 20000; -function calcGeneratorDuration(generator) { - let duration = 0; - const timeStep = 50; - let state = generator.next(duration); - while(!state.done && duration < maxGeneratorDuration){ - duration += timeStep; - state = generator.next(duration); - } - return duration >= maxGeneratorDuration ? Infinity : duration; -} -; -}), -"[project]/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "createGeneratorEasing", - ()=>createGeneratorEasing -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$time$2d$conversion$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/time-conversion.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$utils$2f$calc$2d$duration$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.mjs [app-client] (ecmascript)"); -; -; -/** - * Create a progress => progress easing function from a generator. - */ function createGeneratorEasing(options, scale = 100, createGenerator) { - const generator = createGenerator({ - ...options, - keyframes: [ - 0, - scale - ] - }); - const duration = Math.min((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$utils$2f$calc$2d$duration$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["calcGeneratorDuration"])(generator), __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$utils$2f$calc$2d$duration$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["maxGeneratorDuration"]); - return { - type: "keyframes", - ease: (progress)=>{ - return generator.next(duration * progress).value / scale; - }, - duration: (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$time$2d$conversion$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["millisecondsToSeconds"])(duration) - }; -} -; -}), -"[project]/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "calcGeneratorVelocity", - ()=>calcGeneratorVelocity -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$velocity$2d$per$2d$second$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/velocity-per-second.mjs [app-client] (ecmascript)"); -; -const velocitySampleDuration = 5; // ms -function calcGeneratorVelocity(resolveValue, t, current) { - const prevT = Math.max(t - velocitySampleDuration, 0); - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$velocity$2d$per$2d$second$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["velocityPerSecond"])(current - resolveValue(prevT), t - prevT); -} -; -}), -"[project]/node_modules/motion-dom/dist/es/animation/generators/spring/defaults.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "springDefaults", - ()=>springDefaults -]); -const springDefaults = { - // Default spring physics - stiffness: 100, - damping: 10, - mass: 1.0, - velocity: 0.0, - // Default duration/bounce-based options - duration: 800, - bounce: 0.3, - visualDuration: 0.3, - // Rest thresholds - restSpeed: { - granular: 0.01, - default: 2 - }, - restDelta: { - granular: 0.005, - default: 0.5 - }, - // Limits - minDuration: 0.01, - maxDuration: 10.0, - minDamping: 0.05, - maxDamping: 1 -}; -; -}), -"[project]/node_modules/motion-dom/dist/es/animation/generators/spring/find.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "calcAngularFreq", - ()=>calcAngularFreq, - "findSpring", - ()=>findSpring -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$errors$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/errors.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$time$2d$conversion$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/time-conversion.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$clamp$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/clamp.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$spring$2f$defaults$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/generators/spring/defaults.mjs [app-client] (ecmascript)"); -; -; -const safeMin = 0.001; -function findSpring({ duration = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$spring$2f$defaults$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["springDefaults"].duration, bounce = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$spring$2f$defaults$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["springDefaults"].bounce, velocity = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$spring$2f$defaults$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["springDefaults"].velocity, mass = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$spring$2f$defaults$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["springDefaults"].mass }) { - let envelope; - let derivative; - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$errors$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["warning"])(duration <= (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$time$2d$conversion$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["secondsToMilliseconds"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$spring$2f$defaults$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["springDefaults"].maxDuration), "Spring duration must be 10 seconds or less", "spring-duration-limit"); - let dampingRatio = 1 - bounce; - /** - * Restrict dampingRatio and duration to within acceptable ranges. - */ dampingRatio = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$clamp$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["clamp"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$spring$2f$defaults$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["springDefaults"].minDamping, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$spring$2f$defaults$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["springDefaults"].maxDamping, dampingRatio); - duration = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$clamp$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["clamp"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$spring$2f$defaults$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["springDefaults"].minDuration, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$spring$2f$defaults$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["springDefaults"].maxDuration, (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$time$2d$conversion$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["millisecondsToSeconds"])(duration)); - if (dampingRatio < 1) { - /** - * Underdamped spring - */ envelope = (undampedFreq)=>{ - const exponentialDecay = undampedFreq * dampingRatio; - const delta = exponentialDecay * duration; - const a = exponentialDecay - velocity; - const b = calcAngularFreq(undampedFreq, dampingRatio); - const c = Math.exp(-delta); - return safeMin - a / b * c; - }; - derivative = (undampedFreq)=>{ - const exponentialDecay = undampedFreq * dampingRatio; - const delta = exponentialDecay * duration; - const d = delta * velocity + velocity; - const e = Math.pow(dampingRatio, 2) * Math.pow(undampedFreq, 2) * duration; - const f = Math.exp(-delta); - const g = calcAngularFreq(Math.pow(undampedFreq, 2), dampingRatio); - const factor = -envelope(undampedFreq) + safeMin > 0 ? -1 : 1; - return factor * ((d - e) * f) / g; - }; - } else { - /** - * Critically-damped spring - */ envelope = (undampedFreq)=>{ - const a = Math.exp(-undampedFreq * duration); - const b = (undampedFreq - velocity) * duration + 1; - return -safeMin + a * b; - }; - derivative = (undampedFreq)=>{ - const a = Math.exp(-undampedFreq * duration); - const b = (velocity - undampedFreq) * (duration * duration); - return a * b; - }; - } - const initialGuess = 5 / duration; - const undampedFreq = approximateRoot(envelope, derivative, initialGuess); - duration = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$time$2d$conversion$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["secondsToMilliseconds"])(duration); - if (isNaN(undampedFreq)) { - return { - stiffness: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$spring$2f$defaults$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["springDefaults"].stiffness, - damping: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$spring$2f$defaults$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["springDefaults"].damping, - duration - }; - } else { - const stiffness = Math.pow(undampedFreq, 2) * mass; - return { - stiffness, - damping: dampingRatio * 2 * Math.sqrt(mass * stiffness), - duration - }; - } -} -const rootIterations = 12; -function approximateRoot(envelope, derivative, initialGuess) { - let result = initialGuess; - for(let i = 1; i < rootIterations; i++){ - result = result - envelope(result) / derivative(result); - } - return result; -} -function calcAngularFreq(undampedFreq, dampingRatio) { - return undampedFreq * Math.sqrt(1 - dampingRatio * dampingRatio); -} -; -}), -"[project]/node_modules/motion-dom/dist/es/animation/generators/spring/index.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "spring", - ()=>spring -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$time$2d$conversion$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/time-conversion.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$clamp$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/clamp.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$waapi$2f$utils$2f$linear$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$utils$2f$calc$2d$duration$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$utils$2f$create$2d$generator$2d$easing$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$utils$2f$velocity$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$spring$2f$defaults$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/generators/spring/defaults.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$spring$2f$find$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/generators/spring/find.mjs [app-client] (ecmascript)"); -; -; -; -; -; -; -; -const durationKeys = [ - "duration", - "bounce" -]; -const physicsKeys = [ - "stiffness", - "damping", - "mass" -]; -function isSpringType(options, keys) { - return keys.some((key)=>options[key] !== undefined); -} -function getSpringOptions(options) { - let springOptions = { - velocity: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$spring$2f$defaults$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["springDefaults"].velocity, - stiffness: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$spring$2f$defaults$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["springDefaults"].stiffness, - damping: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$spring$2f$defaults$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["springDefaults"].damping, - mass: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$spring$2f$defaults$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["springDefaults"].mass, - isResolvedFromDuration: false, - ...options - }; - // stiffness/damping/mass overrides duration/bounce - if (!isSpringType(options, physicsKeys) && isSpringType(options, durationKeys)) { - if (options.visualDuration) { - const visualDuration = options.visualDuration; - const root = 2 * Math.PI / (visualDuration * 1.2); - const stiffness = root * root; - const damping = 2 * (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$clamp$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["clamp"])(0.05, 1, 1 - (options.bounce || 0)) * Math.sqrt(stiffness); - springOptions = { - ...springOptions, - mass: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$spring$2f$defaults$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["springDefaults"].mass, - stiffness, - damping - }; - } else { - const derived = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$spring$2f$find$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["findSpring"])(options); - springOptions = { - ...springOptions, - ...derived, - mass: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$spring$2f$defaults$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["springDefaults"].mass - }; - springOptions.isResolvedFromDuration = true; - } - } - return springOptions; -} -function spring(optionsOrVisualDuration = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$spring$2f$defaults$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["springDefaults"].visualDuration, bounce = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$spring$2f$defaults$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["springDefaults"].bounce) { - const options = typeof optionsOrVisualDuration !== "object" ? { - visualDuration: optionsOrVisualDuration, - keyframes: [ - 0, - 1 - ], - bounce - } : optionsOrVisualDuration; - let { restSpeed, restDelta } = options; - const origin = options.keyframes[0]; - const target = options.keyframes[options.keyframes.length - 1]; - /** - * This is the Iterator-spec return value. We ensure it's mutable rather than using a generator - * to reduce GC during animation. - */ const state = { - done: false, - value: origin - }; - const { stiffness, damping, mass, duration, velocity, isResolvedFromDuration } = getSpringOptions({ - ...options, - velocity: -(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$time$2d$conversion$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["millisecondsToSeconds"])(options.velocity || 0) - }); - const initialVelocity = velocity || 0.0; - const dampingRatio = damping / (2 * Math.sqrt(stiffness * mass)); - const initialDelta = target - origin; - const undampedAngularFreq = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$time$2d$conversion$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["millisecondsToSeconds"])(Math.sqrt(stiffness / mass)); - /** - * If we're working on a granular scale, use smaller defaults for determining - * when the spring is finished. - * - * These defaults have been selected emprically based on what strikes a good - * ratio between feeling good and finishing as soon as changes are imperceptible. - */ const isGranularScale = Math.abs(initialDelta) < 5; - restSpeed || (restSpeed = isGranularScale ? __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$spring$2f$defaults$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["springDefaults"].restSpeed.granular : __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$spring$2f$defaults$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["springDefaults"].restSpeed.default); - restDelta || (restDelta = isGranularScale ? __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$spring$2f$defaults$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["springDefaults"].restDelta.granular : __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$spring$2f$defaults$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["springDefaults"].restDelta.default); - let resolveSpring; - if (dampingRatio < 1) { - const angularFreq = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$spring$2f$find$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["calcAngularFreq"])(undampedAngularFreq, dampingRatio); - // Underdamped spring - resolveSpring = (t)=>{ - const envelope = Math.exp(-dampingRatio * undampedAngularFreq * t); - return target - envelope * ((initialVelocity + dampingRatio * undampedAngularFreq * initialDelta) / angularFreq * Math.sin(angularFreq * t) + initialDelta * Math.cos(angularFreq * t)); - }; - } else if (dampingRatio === 1) { - // Critically damped spring - resolveSpring = (t)=>target - Math.exp(-undampedAngularFreq * t) * (initialDelta + (initialVelocity + undampedAngularFreq * initialDelta) * t); - } else { - // Overdamped spring - const dampedAngularFreq = undampedAngularFreq * Math.sqrt(dampingRatio * dampingRatio - 1); - resolveSpring = (t)=>{ - const envelope = Math.exp(-dampingRatio * undampedAngularFreq * t); - // When performing sinh or cosh values can hit Infinity so we cap them here - const freqForT = Math.min(dampedAngularFreq * t, 300); - return target - envelope * ((initialVelocity + dampingRatio * undampedAngularFreq * initialDelta) * Math.sinh(freqForT) + dampedAngularFreq * initialDelta * Math.cosh(freqForT)) / dampedAngularFreq; - }; - } - const generator = { - calculatedDuration: isResolvedFromDuration ? duration || null : null, - next: (t)=>{ - const current = resolveSpring(t); - if (!isResolvedFromDuration) { - let currentVelocity = t === 0 ? initialVelocity : 0.0; - /** - * We only need to calculate velocity for under-damped springs - * as over- and critically-damped springs can't overshoot, so - * checking only for displacement is enough. - */ if (dampingRatio < 1) { - currentVelocity = t === 0 ? (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$time$2d$conversion$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["secondsToMilliseconds"])(initialVelocity) : (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$utils$2f$velocity$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["calcGeneratorVelocity"])(resolveSpring, t, current); - } - const isBelowVelocityThreshold = Math.abs(currentVelocity) <= restSpeed; - const isBelowDisplacementThreshold = Math.abs(target - current) <= restDelta; - state.done = isBelowVelocityThreshold && isBelowDisplacementThreshold; - } else { - state.done = t >= duration; - } - state.value = state.done ? target : current; - return state; - }, - toString: ()=>{ - const calculatedDuration = Math.min((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$utils$2f$calc$2d$duration$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["calcGeneratorDuration"])(generator), __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$utils$2f$calc$2d$duration$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["maxGeneratorDuration"]); - const easing = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$waapi$2f$utils$2f$linear$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["generateLinearEasing"])((progress)=>generator.next(calculatedDuration * progress).value, calculatedDuration, 30); - return calculatedDuration + "ms " + easing; - }, - toTransition: ()=>{} - }; - return generator; -} -spring.applyToOptions = (options)=>{ - const generatorOptions = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$utils$2f$create$2d$generator$2d$easing$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createGeneratorEasing"])(options, 100, spring); - options.ease = generatorOptions.ease; - options.duration = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$time$2d$conversion$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["secondsToMilliseconds"])(generatorOptions.duration); - options.type = "keyframes"; - return options; -}; -; -}), -"[project]/node_modules/motion-dom/dist/es/animation/generators/inertia.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "inertia", - ()=>inertia -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$spring$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/generators/spring/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$utils$2f$velocity$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.mjs [app-client] (ecmascript)"); -; -; -function inertia({ keyframes, velocity = 0.0, power = 0.8, timeConstant = 325, bounceDamping = 10, bounceStiffness = 500, modifyTarget, min, max, restDelta = 0.5, restSpeed }) { - const origin = keyframes[0]; - const state = { - done: false, - value: origin - }; - const isOutOfBounds = (v)=>min !== undefined && v < min || max !== undefined && v > max; - const nearestBoundary = (v)=>{ - if (min === undefined) return max; - if (max === undefined) return min; - return Math.abs(min - v) < Math.abs(max - v) ? min : max; - }; - let amplitude = power * velocity; - const ideal = origin + amplitude; - const target = modifyTarget === undefined ? ideal : modifyTarget(ideal); - /** - * If the target has changed we need to re-calculate the amplitude, otherwise - * the animation will start from the wrong position. - */ if (target !== ideal) amplitude = target - origin; - const calcDelta = (t)=>-amplitude * Math.exp(-t / timeConstant); - const calcLatest = (t)=>target + calcDelta(t); - const applyFriction = (t)=>{ - const delta = calcDelta(t); - const latest = calcLatest(t); - state.done = Math.abs(delta) <= restDelta; - state.value = state.done ? target : latest; - }; - /** - * Ideally this would resolve for t in a stateless way, we could - * do that by always precalculating the animation but as we know - * this will be done anyway we can assume that spring will - * be discovered during that. - */ let timeReachedBoundary; - let spring$1; - const checkCatchBoundary = (t)=>{ - if (!isOutOfBounds(state.value)) return; - timeReachedBoundary = t; - spring$1 = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$spring$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["spring"])({ - keyframes: [ - state.value, - nearestBoundary(state.value) - ], - velocity: (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$utils$2f$velocity$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["calcGeneratorVelocity"])(calcLatest, t, state.value), - damping: bounceDamping, - stiffness: bounceStiffness, - restDelta, - restSpeed - }); - }; - checkCatchBoundary(0); - return { - calculatedDuration: null, - next: (t)=>{ - /** - * We need to resolve the friction to figure out if we need a - * spring but we don't want to do this twice per frame. So here - * we flag if we updated for this frame and later if we did - * we can skip doing it again. - */ let hasUpdatedFrame = false; - if (!spring$1 && timeReachedBoundary === undefined) { - hasUpdatedFrame = true; - applyFriction(t); - checkCatchBoundary(t); - } - /** - * If we have a spring and the provided t is beyond the moment the friction - * animation crossed the min/max boundary, use the spring. - */ if (timeReachedBoundary !== undefined && t >= timeReachedBoundary) { - return spring$1.next(t - timeReachedBoundary); - } else { - !hasUpdatedFrame && applyFriction(t); - return state; - } - } - }; -} -; -}), -"[project]/node_modules/motion-utils/dist/es/easing/cubic-bezier.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "cubicBezier", - ()=>cubicBezier -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$noop$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/noop.mjs [app-client] (ecmascript)"); -; -/* - Bezier function generator - This has been modified from Gaëtan Renaudeau's BezierEasing - https://github.com/gre/bezier-easing/blob/master/src/index.js - https://github.com/gre/bezier-easing/blob/master/LICENSE - - I've removed the newtonRaphsonIterate algo because in benchmarking it - wasn't noticeably faster than binarySubdivision, indeed removing it - usually improved times, depending on the curve. - I also removed the lookup table, as for the added bundle size and loop we're - only cutting ~4 or so subdivision iterations. I bumped the max iterations up - to 12 to compensate and this still tended to be faster for no perceivable - loss in accuracy. - Usage - const easeOut = cubicBezier(.17,.67,.83,.67); - const x = easeOut(0.5); // returns 0.627... -*/ // Returns x(t) given t, x1, and x2, or y(t) given t, y1, and y2. -const calcBezier = (t, a1, a2)=>(((1.0 - 3.0 * a2 + 3.0 * a1) * t + (3.0 * a2 - 6.0 * a1)) * t + 3.0 * a1) * t; -const subdivisionPrecision = 0.0000001; -const subdivisionMaxIterations = 12; -function binarySubdivide(x, lowerBound, upperBound, mX1, mX2) { - let currentX; - let currentT; - let i = 0; - do { - currentT = lowerBound + (upperBound - lowerBound) / 2.0; - currentX = calcBezier(currentT, mX1, mX2) - x; - if (currentX > 0.0) { - upperBound = currentT; - } else { - lowerBound = currentT; - } - }while (Math.abs(currentX) > subdivisionPrecision && ++i < subdivisionMaxIterations) - return currentT; -} -function cubicBezier(mX1, mY1, mX2, mY2) { - // If this is a linear gradient, return linear easing - if (mX1 === mY1 && mX2 === mY2) return __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$noop$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["noop"]; - const getTForX = (aX)=>binarySubdivide(aX, 0, 1, mX1, mX2); - // If animation is at start/end, return t without easing - return (t)=>t === 0 || t === 1 ? t : calcBezier(getTForX(t), mY1, mY2); -} -; -}), -"[project]/node_modules/motion-utils/dist/es/easing/ease.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "easeIn", - ()=>easeIn, - "easeInOut", - ()=>easeInOut, - "easeOut", - ()=>easeOut -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$easing$2f$cubic$2d$bezier$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/easing/cubic-bezier.mjs [app-client] (ecmascript)"); -; -const easeIn = /*@__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$easing$2f$cubic$2d$bezier$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["cubicBezier"])(0.42, 0, 1, 1); -const easeOut = /*@__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$easing$2f$cubic$2d$bezier$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["cubicBezier"])(0, 0, 0.58, 1); -const easeInOut = /*@__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$easing$2f$cubic$2d$bezier$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["cubicBezier"])(0.42, 0, 0.58, 1); -; -}), -"[project]/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "isEasingArray", - ()=>isEasingArray -]); -const isEasingArray = (ease)=>{ - return Array.isArray(ease) && typeof ease[0] !== "number"; -}; -; -}), -"[project]/node_modules/motion-utils/dist/es/easing/modifiers/mirror.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "mirrorEasing", - ()=>mirrorEasing -]); -// Accepts an easing function and returns a new one that outputs mirrored values for -// the second half of the animation. Turns easeIn into easeInOut. -const mirrorEasing = (easing)=>(p)=>p <= 0.5 ? easing(2 * p) / 2 : (2 - easing(2 * (1 - p))) / 2; -; -}), -"[project]/node_modules/motion-utils/dist/es/easing/modifiers/reverse.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "reverseEasing", - ()=>reverseEasing -]); -// Accepts an easing function and returns a new one that outputs reversed values. -// Turns easeIn into easeOut. -const reverseEasing = (easing)=>(p)=>1 - easing(1 - p); -; -}), -"[project]/node_modules/motion-utils/dist/es/easing/back.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "backIn", - ()=>backIn, - "backInOut", - ()=>backInOut, - "backOut", - ()=>backOut -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$easing$2f$cubic$2d$bezier$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/easing/cubic-bezier.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$easing$2f$modifiers$2f$mirror$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/easing/modifiers/mirror.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$easing$2f$modifiers$2f$reverse$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/easing/modifiers/reverse.mjs [app-client] (ecmascript)"); -; -; -; -const backOut = /*@__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$easing$2f$cubic$2d$bezier$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["cubicBezier"])(0.33, 1.53, 0.69, 0.99); -const backIn = /*@__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$easing$2f$modifiers$2f$reverse$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["reverseEasing"])(backOut); -const backInOut = /*@__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$easing$2f$modifiers$2f$mirror$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["mirrorEasing"])(backIn); -; -}), -"[project]/node_modules/motion-utils/dist/es/easing/anticipate.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "anticipate", - ()=>anticipate -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$easing$2f$back$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/easing/back.mjs [app-client] (ecmascript)"); -; -const anticipate = (p)=>(p *= 2) < 1 ? 0.5 * (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$easing$2f$back$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["backIn"])(p) : 0.5 * (2 - Math.pow(2, -10 * (p - 1))); -; -}), -"[project]/node_modules/motion-utils/dist/es/easing/circ.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "circIn", - ()=>circIn, - "circInOut", - ()=>circInOut, - "circOut", - ()=>circOut -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$easing$2f$modifiers$2f$mirror$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/easing/modifiers/mirror.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$easing$2f$modifiers$2f$reverse$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/easing/modifiers/reverse.mjs [app-client] (ecmascript)"); -; -; -const circIn = (p)=>1 - Math.sin(Math.acos(p)); -const circOut = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$easing$2f$modifiers$2f$reverse$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["reverseEasing"])(circIn); -const circInOut = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$easing$2f$modifiers$2f$mirror$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["mirrorEasing"])(circIn); -; -}), -"[project]/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "isBezierDefinition", - ()=>isBezierDefinition -]); -const isBezierDefinition = (easing)=>Array.isArray(easing) && typeof easing[0] === "number"; -; -}), -"[project]/node_modules/motion-utils/dist/es/easing/utils/map.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "easingDefinitionToFunction", - ()=>easingDefinitionToFunction -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$errors$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/errors.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$noop$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/noop.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$easing$2f$anticipate$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/easing/anticipate.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$easing$2f$back$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/easing/back.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$easing$2f$circ$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/easing/circ.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$easing$2f$cubic$2d$bezier$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/easing/cubic-bezier.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$easing$2f$ease$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/easing/ease.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$easing$2f$utils$2f$is$2d$bezier$2d$definition$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.mjs [app-client] (ecmascript)"); -; -; -; -; -; -; -; -; -const easingLookup = { - linear: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$noop$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["noop"], - easeIn: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$easing$2f$ease$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["easeIn"], - easeInOut: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$easing$2f$ease$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["easeInOut"], - easeOut: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$easing$2f$ease$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["easeOut"], - circIn: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$easing$2f$circ$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["circIn"], - circInOut: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$easing$2f$circ$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["circInOut"], - circOut: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$easing$2f$circ$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["circOut"], - backIn: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$easing$2f$back$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["backIn"], - backInOut: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$easing$2f$back$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["backInOut"], - backOut: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$easing$2f$back$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["backOut"], - anticipate: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$easing$2f$anticipate$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["anticipate"] -}; -const isValidEasing = (easing)=>{ - return typeof easing === "string"; -}; -const easingDefinitionToFunction = (definition)=>{ - if ((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$easing$2f$utils$2f$is$2d$bezier$2d$definition$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isBezierDefinition"])(definition)) { - // If cubic bezier definition, create bezier curve - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$errors$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["invariant"])(definition.length === 4, `Cubic bezier arrays must contain four numerical values.`, "cubic-bezier-length"); - const [x1, y1, x2, y2] = definition; - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$easing$2f$cubic$2d$bezier$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["cubicBezier"])(x1, y1, x2, y2); - } else if (isValidEasing(definition)) { - // Else lookup from table - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$errors$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["invariant"])(easingLookup[definition] !== undefined, `Invalid easing type '${definition}'`, "invalid-easing-type"); - return easingLookup[definition]; - } - return definition; -}; -; -}), -"[project]/node_modules/motion-utils/dist/es/progress.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "progress", - ()=>progress -]); -/* - Progress within given range - - Given a lower limit and an upper limit, we return the progress - (expressed as a number 0-1) represented by the given value, and - limit that progress to within 0-1. - - @param [number]: Lower limit - @param [number]: Upper limit - @param [number]: Value to find progress within given range - @return [number]: Progress of value within range as expressed 0-1 -*/ /*#__NO_SIDE_EFFECTS__*/ const progress = (from, to, value)=>{ - const toFromDifference = to - from; - return toFromDifference === 0 ? 1 : (value - from) / toFromDifference; -}; -; -}), -"[project]/node_modules/motion-dom/dist/es/utils/interpolate.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "interpolate", - ()=>interpolate -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$errors$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/errors.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$clamp$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/clamp.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$global$2d$config$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/global-config.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$noop$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/noop.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$pipe$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/pipe.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$progress$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/progress.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/utils/mix/index.mjs [app-client] (ecmascript)"); -; -; -function createMixers(output, ease, customMixer) { - const mixers = []; - const mixerFactory = customMixer || __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$global$2d$config$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["MotionGlobalConfig"].mix || __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["mix"]; - const numMixers = output.length - 1; - for(let i = 0; i < numMixers; i++){ - let mixer = mixerFactory(output[i], output[i + 1]); - if (ease) { - const easingFunction = Array.isArray(ease) ? ease[i] || __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$noop$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["noop"] : ease; - mixer = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$pipe$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["pipe"])(easingFunction, mixer); - } - mixers.push(mixer); - } - return mixers; -} -/** - * Create a function that maps from a numerical input array to a generic output array. - * - * Accepts: - * - Numbers - * - Colors (hex, hsl, hsla, rgb, rgba) - * - Complex (combinations of one or more numbers or strings) - * - * ```jsx - * const mixColor = interpolate([0, 1], ['#fff', '#000']) - * - * mixColor(0.5) // 'rgba(128, 128, 128, 1)' - * ``` - * - * TODO Revisit this approach once we've moved to data models for values, - * probably not needed to pregenerate mixer functions. - * - * @public - */ function interpolate(input, output, { clamp: isClamp = true, ease, mixer } = {}) { - const inputLength = input.length; - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$errors$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["invariant"])(inputLength === output.length, "Both input and output ranges must be the same length", "range-length"); - /** - * If we're only provided a single input, we can just make a function - * that returns the output. - */ if (inputLength === 1) return ()=>output[0]; - if (inputLength === 2 && output[0] === output[1]) return ()=>output[1]; - const isZeroDeltaRange = input[0] === input[1]; - // If input runs highest -> lowest, reverse both arrays - if (input[0] > input[inputLength - 1]) { - input = [ - ...input - ].reverse(); - output = [ - ...output - ].reverse(); - } - const mixers = createMixers(output, ease, mixer); - const numMixers = mixers.length; - const interpolator = (v)=>{ - if (isZeroDeltaRange && v < input[0]) return output[0]; - let i = 0; - if (numMixers > 1) { - for(; i < input.length - 2; i++){ - if (v < input[i + 1]) break; - } - } - const progressInRange = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$progress$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["progress"])(input[i], input[i + 1], v); - return mixers[i](progressInRange); - }; - return isClamp ? (v)=>interpolator((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$clamp$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["clamp"])(input[0], input[inputLength - 1], v)) : interpolator; -} -; -}), -"[project]/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "fillOffset", - ()=>fillOffset -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$progress$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/progress.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$number$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/utils/mix/number.mjs [app-client] (ecmascript)"); -; -; -function fillOffset(offset, remaining) { - const min = offset[offset.length - 1]; - for(let i = 1; i <= remaining; i++){ - const offsetProgress = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$progress$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["progress"])(0, remaining, i); - offset.push((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$number$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["mixNumber"])(min, 1, offsetProgress)); - } -} -; -}), -"[project]/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "defaultOffset", - ()=>defaultOffset -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$keyframes$2f$offsets$2f$fill$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.mjs [app-client] (ecmascript)"); -; -function defaultOffset(arr) { - const offset = [ - 0 - ]; - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$keyframes$2f$offsets$2f$fill$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["fillOffset"])(offset, arr.length - 1); - return offset; -} -; -}), -"[project]/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "convertOffsetToTimes", - ()=>convertOffsetToTimes -]); -function convertOffsetToTimes(offset, duration) { - return offset.map((o)=>o * duration); -} -; -}), -"[project]/node_modules/motion-dom/dist/es/animation/generators/keyframes.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "defaultEasing", - ()=>defaultEasing, - "keyframes", - ()=>keyframes -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$easing$2f$ease$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/easing/ease.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$easing$2f$utils$2f$is$2d$easing$2d$array$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$easing$2f$utils$2f$map$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/easing/utils/map.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$interpolate$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/utils/interpolate.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$keyframes$2f$offsets$2f$default$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$keyframes$2f$offsets$2f$time$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.mjs [app-client] (ecmascript)"); -; -; -; -; -function defaultEasing(values, easing) { - return values.map(()=>easing || __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$easing$2f$ease$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["easeInOut"]).splice(0, values.length - 1); -} -function keyframes({ duration = 300, keyframes: keyframeValues, times, ease = "easeInOut" }) { - /** - * Easing functions can be externally defined as strings. Here we convert them - * into actual functions. - */ const easingFunctions = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$easing$2f$utils$2f$is$2d$easing$2d$array$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isEasingArray"])(ease) ? ease.map(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$easing$2f$utils$2f$map$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["easingDefinitionToFunction"]) : (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$easing$2f$utils$2f$map$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["easingDefinitionToFunction"])(ease); - /** - * This is the Iterator-spec return value. We ensure it's mutable rather than using a generator - * to reduce GC during animation. - */ const state = { - done: false, - value: keyframeValues[0] - }; - /** - * Create a times array based on the provided 0-1 offsets - */ const absoluteTimes = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$keyframes$2f$offsets$2f$time$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["convertOffsetToTimes"])(// Only use the provided offsets if they're the correct length - // TODO Maybe we should warn here if there's a length mismatch - times && times.length === keyframeValues.length ? times : (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$keyframes$2f$offsets$2f$default$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["defaultOffset"])(keyframeValues), duration); - const mapTimeToKeyframe = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$interpolate$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["interpolate"])(absoluteTimes, keyframeValues, { - ease: Array.isArray(easingFunctions) ? easingFunctions : defaultEasing(keyframeValues, easingFunctions) - }); - return { - calculatedDuration: duration, - next: (t)=>{ - state.value = mapTimeToKeyframe(t); - state.done = t >= duration; - return state; - } - }; -} -; -}), -"[project]/node_modules/motion-dom/dist/es/animation/keyframes/get-final.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "getFinalKeyframe", - ()=>getFinalKeyframe -]); -const isNotNull = (value)=>value !== null; -function getFinalKeyframe(keyframes, { repeat, repeatType = "loop" }, finalKeyframe, speed = 1) { - const resolvedKeyframes = keyframes.filter(isNotNull); - const useFirstKeyframe = speed < 0 || repeat && repeatType !== "loop" && repeat % 2 === 1; - const index = useFirstKeyframe ? 0 : resolvedKeyframes.length - 1; - return !index || finalKeyframe === undefined ? resolvedKeyframes[index] : finalKeyframe; -} -; -}), -"[project]/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "replaceTransitionType", - ()=>replaceTransitionType -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$inertia$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/generators/inertia.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$keyframes$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/generators/keyframes.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$spring$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/generators/spring/index.mjs [app-client] (ecmascript)"); -; -; -; -const transitionTypeMap = { - decay: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$inertia$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["inertia"], - inertia: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$inertia$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["inertia"], - tween: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$keyframes$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["keyframes"], - keyframes: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$keyframes$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["keyframes"], - spring: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$spring$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["spring"] -}; -function replaceTransitionType(transition) { - if (typeof transition.type === "string") { - transition.type = transitionTypeMap[transition.type]; - } -} -; -}), -"[project]/node_modules/motion-dom/dist/es/animation/utils/WithPromise.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "WithPromise", - ()=>WithPromise -]); -class WithPromise { - constructor(){ - this.updateFinished(); - } - get finished() { - return this._finished; - } - updateFinished() { - this._finished = new Promise((resolve)=>{ - this.resolve = resolve; - }); - } - notifyFinished() { - this.resolve(); - } - /** - * Allows the animation to be awaited. - * - * @deprecated Use `finished` instead. - */ then(onResolve, onReject) { - return this.finished.then(onResolve, onReject); - } -} -; -}), -"[project]/node_modules/motion-dom/dist/es/animation/JSAnimation.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "JSAnimation", - ()=>JSAnimation, - "animateValue", - ()=>animateValue -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$errors$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/errors.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$pipe$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/pipe.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$clamp$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/clamp.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$time$2d$conversion$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/time-conversion.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$sync$2d$time$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/frameloop/sync-time.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$stats$2f$animation$2d$count$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/stats/animation-count.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/utils/mix/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$drivers$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/drivers/frame.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$inertia$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/generators/inertia.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$keyframes$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/generators/keyframes.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$utils$2f$calc$2d$duration$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$keyframes$2f$get$2d$final$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/keyframes/get-final.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$utils$2f$replace$2d$transition$2d$type$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$utils$2f$WithPromise$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/utils/WithPromise.mjs [app-client] (ecmascript)"); -; -; -; -; -; -; -; -; -; -; -; -const percentToProgress = (percent)=>percent / 100; -class JSAnimation extends __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$utils$2f$WithPromise$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["WithPromise"] { - constructor(options){ - super(); - this.state = "idle"; - this.startTime = null; - this.isStopped = false; - /** - * The current time of the animation. - */ this.currentTime = 0; - /** - * The time at which the animation was paused. - */ this.holdTime = null; - /** - * Playback speed as a factor. 0 would be stopped, -1 reverse and 2 double speed. - */ this.playbackSpeed = 1; - /** - * This method is bound to the instance to fix a pattern where - * animation.stop is returned as a reference from a useEffect. - */ this.stop = ()=>{ - const { motionValue } = this.options; - if (motionValue && motionValue.updatedAt !== __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$sync$2d$time$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["time"].now()) { - this.tick(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$sync$2d$time$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["time"].now()); - } - this.isStopped = true; - if (this.state === "idle") return; - this.teardown(); - this.options.onStop?.(); - }; - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$stats$2f$animation$2d$count$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["activeAnimations"].mainThread++; - this.options = options; - this.initAnimation(); - this.play(); - if (options.autoplay === false) this.pause(); - } - initAnimation() { - const { options } = this; - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$utils$2f$replace$2d$transition$2d$type$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["replaceTransitionType"])(options); - const { type = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$keyframes$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["keyframes"], repeat = 0, repeatDelay = 0, repeatType, velocity = 0 } = options; - let { keyframes: keyframes$1 } = options; - const generatorFactory = type || __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$keyframes$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["keyframes"]; - if (("TURBOPACK compile-time value", "development") !== "production" && generatorFactory !== __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$keyframes$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["keyframes"]) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$errors$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["invariant"])(keyframes$1.length <= 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${keyframes$1}`, "spring-two-frames"); - } - if (generatorFactory !== __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$keyframes$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["keyframes"] && typeof keyframes$1[0] !== "number") { - this.mixKeyframes = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$pipe$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["pipe"])(percentToProgress, (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["mix"])(keyframes$1[0], keyframes$1[1])); - keyframes$1 = [ - 0, - 100 - ]; - } - const generator = generatorFactory({ - ...options, - keyframes: keyframes$1 - }); - /** - * If we have a mirror repeat type we need to create a second generator that outputs the - * mirrored (not reversed) animation and later ping pong between the two generators. - */ if (repeatType === "mirror") { - this.mirroredGenerator = generatorFactory({ - ...options, - keyframes: [ - ...keyframes$1 - ].reverse(), - velocity: -velocity - }); - } - /** - * If duration is undefined and we have repeat options, - * we need to calculate a duration from the generator. - * - * We set it to the generator itself to cache the duration. - * Any timeline resolver will need to have already precalculated - * the duration by this step. - */ if (generator.calculatedDuration === null) { - generator.calculatedDuration = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$utils$2f$calc$2d$duration$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["calcGeneratorDuration"])(generator); - } - const { calculatedDuration } = generator; - this.calculatedDuration = calculatedDuration; - this.resolvedDuration = calculatedDuration + repeatDelay; - this.totalDuration = this.resolvedDuration * (repeat + 1) - repeatDelay; - this.generator = generator; - } - updateTime(timestamp) { - const animationTime = Math.round(timestamp - this.startTime) * this.playbackSpeed; - // Update currentTime - if (this.holdTime !== null) { - this.currentTime = this.holdTime; - } else { - // Rounding the time because floating point arithmetic is not always accurate, e.g. 3000.367 - 1000.367 = - // 2000.0000000000002. This is a problem when we are comparing the currentTime with the duration, for - // example. - this.currentTime = animationTime; - } - } - tick(timestamp, sample = false) { - const { generator, totalDuration, mixKeyframes, mirroredGenerator, resolvedDuration, calculatedDuration } = this; - if (this.startTime === null) return generator.next(0); - const { delay = 0, keyframes, repeat, repeatType, repeatDelay, type, onUpdate, finalKeyframe } = this.options; - /** - * requestAnimationFrame timestamps can come through as lower than - * the startTime as set by performance.now(). Here we prevent this, - * though in the future it could be possible to make setting startTime - * a pending operation that gets resolved here. - */ if (this.speed > 0) { - this.startTime = Math.min(this.startTime, timestamp); - } else if (this.speed < 0) { - this.startTime = Math.min(timestamp - totalDuration / this.speed, this.startTime); - } - if (sample) { - this.currentTime = timestamp; - } else { - this.updateTime(timestamp); - } - // Rebase on delay - const timeWithoutDelay = this.currentTime - delay * (this.playbackSpeed >= 0 ? 1 : -1); - const isInDelayPhase = this.playbackSpeed >= 0 ? timeWithoutDelay < 0 : timeWithoutDelay > totalDuration; - this.currentTime = Math.max(timeWithoutDelay, 0); - // If this animation has finished, set the current time to the total duration. - if (this.state === "finished" && this.holdTime === null) { - this.currentTime = totalDuration; - } - let elapsed = this.currentTime; - let frameGenerator = generator; - if (repeat) { - /** - * Get the current progress (0-1) of the animation. If t is > - * than duration we'll get values like 2.5 (midway through the - * third iteration) - */ const progress = Math.min(this.currentTime, totalDuration) / resolvedDuration; - /** - * Get the current iteration (0 indexed). For instance the floor of - * 2.5 is 2. - */ let currentIteration = Math.floor(progress); - /** - * Get the current progress of the iteration by taking the remainder - * so 2.5 is 0.5 through iteration 2 - */ let iterationProgress = progress % 1.0; - /** - * If iteration progress is 1 we count that as the end - * of the previous iteration. - */ if (!iterationProgress && progress >= 1) { - iterationProgress = 1; - } - iterationProgress === 1 && currentIteration--; - currentIteration = Math.min(currentIteration, repeat + 1); - /** - * Reverse progress if we're not running in "normal" direction - */ const isOddIteration = Boolean(currentIteration % 2); - if (isOddIteration) { - if (repeatType === "reverse") { - iterationProgress = 1 - iterationProgress; - if (repeatDelay) { - iterationProgress -= repeatDelay / resolvedDuration; - } - } else if (repeatType === "mirror") { - frameGenerator = mirroredGenerator; - } - } - elapsed = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$clamp$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["clamp"])(0, 1, iterationProgress) * resolvedDuration; - } - /** - * If we're in negative time, set state as the initial keyframe. - * This prevents delay: x, duration: 0 animations from finishing - * instantly. - */ const state = isInDelayPhase ? { - done: false, - value: keyframes[0] - } : frameGenerator.next(elapsed); - if (mixKeyframes) { - state.value = mixKeyframes(state.value); - } - let { done } = state; - if (!isInDelayPhase && calculatedDuration !== null) { - done = this.playbackSpeed >= 0 ? this.currentTime >= totalDuration : this.currentTime <= 0; - } - const isAnimationFinished = this.holdTime === null && (this.state === "finished" || this.state === "running" && done); - // TODO: The exception for inertia could be cleaner here - if (isAnimationFinished && type !== __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$inertia$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["inertia"]) { - state.value = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$keyframes$2f$get$2d$final$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getFinalKeyframe"])(keyframes, this.options, finalKeyframe, this.speed); - } - if (onUpdate) { - onUpdate(state.value); - } - if (isAnimationFinished) { - this.finish(); - } - return state; - } - /** - * Allows the returned animation to be awaited or promise-chained. Currently - * resolves when the animation finishes at all but in a future update could/should - * reject if its cancels. - */ then(resolve, reject) { - return this.finished.then(resolve, reject); - } - get duration() { - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$time$2d$conversion$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["millisecondsToSeconds"])(this.calculatedDuration); - } - get iterationDuration() { - const { delay = 0 } = this.options || {}; - return this.duration + (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$time$2d$conversion$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["millisecondsToSeconds"])(delay); - } - get time() { - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$time$2d$conversion$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["millisecondsToSeconds"])(this.currentTime); - } - set time(newTime) { - newTime = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$time$2d$conversion$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["secondsToMilliseconds"])(newTime); - this.currentTime = newTime; - if (this.startTime === null || this.holdTime !== null || this.playbackSpeed === 0) { - this.holdTime = newTime; - } else if (this.driver) { - this.startTime = this.driver.now() - newTime / this.playbackSpeed; - } - this.driver?.start(false); - } - get speed() { - return this.playbackSpeed; - } - set speed(newSpeed) { - this.updateTime(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$sync$2d$time$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["time"].now()); - const hasChanged = this.playbackSpeed !== newSpeed; - this.playbackSpeed = newSpeed; - if (hasChanged) { - this.time = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$time$2d$conversion$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["millisecondsToSeconds"])(this.currentTime); - } - } - play() { - if (this.isStopped) return; - const { driver = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$drivers$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frameloopDriver"], startTime } = this.options; - if (!this.driver) { - this.driver = driver((timestamp)=>this.tick(timestamp)); - } - this.options.onPlay?.(); - const now = this.driver.now(); - if (this.state === "finished") { - this.updateFinished(); - this.startTime = now; - } else if (this.holdTime !== null) { - this.startTime = now - this.holdTime; - } else if (!this.startTime) { - this.startTime = startTime ?? now; - } - if (this.state === "finished" && this.speed < 0) { - this.startTime += this.calculatedDuration; - } - this.holdTime = null; - /** - * Set playState to running only after we've used it in - * the previous logic. - */ this.state = "running"; - this.driver.start(); - } - pause() { - this.state = "paused"; - this.updateTime(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$sync$2d$time$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["time"].now()); - this.holdTime = this.currentTime; - } - complete() { - if (this.state !== "running") { - this.play(); - } - this.state = "finished"; - this.holdTime = null; - } - finish() { - this.notifyFinished(); - this.teardown(); - this.state = "finished"; - this.options.onComplete?.(); - } - cancel() { - this.holdTime = null; - this.startTime = 0; - this.tick(0); - this.teardown(); - this.options.onCancel?.(); - } - teardown() { - this.state = "idle"; - this.stopDriver(); - this.startTime = this.holdTime = null; - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$stats$2f$animation$2d$count$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["activeAnimations"].mainThread--; - } - stopDriver() { - if (!this.driver) return; - this.driver.stop(); - this.driver = undefined; - } - sample(sampleTime) { - this.startTime = 0; - return this.tick(sampleTime, true); - } - attachTimeline(timeline) { - if (this.options.allowFlatten) { - this.options.type = "keyframes"; - this.options.ease = "linear"; - this.initAnimation(); - } - this.driver?.stop(); - return timeline.observe(this); - } -} -// Legacy function support -function animateValue(options) { - return new JSAnimation(options); -} -; -}), -"[project]/node_modules/motion-dom/dist/es/render/dom/is-css-var.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "isCSSVar", - ()=>isCSSVar -]); -const isCSSVar = (name)=>name.startsWith("--"); -; -}), -"[project]/node_modules/motion-dom/dist/es/render/dom/style-set.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "setStyle", - ()=>setStyle -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$render$2f$dom$2f$is$2d$css$2d$var$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/render/dom/is-css-var.mjs [app-client] (ecmascript)"); -; -function setStyle(element, name, value) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$render$2f$dom$2f$is$2d$css$2d$var$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isCSSVar"])(name) ? element.style.setProperty(name, value) : element.style[name] = value; -} -; -}), -"[project]/node_modules/motion-utils/dist/es/memo.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "memo", - ()=>memo -]); -/*#__NO_SIDE_EFFECTS__*/ function memo(callback) { - let result; - return ()=>{ - if (result === undefined) result = callback(); - return result; - }; -} -; -}), -"[project]/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "supportsScrollTimeline", - ()=>supportsScrollTimeline -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$memo$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/memo.mjs [app-client] (ecmascript)"); -; -const supportsScrollTimeline = /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$memo$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["memo"])(()=>window.ScrollTimeline !== undefined); -; -}), -"[project]/node_modules/motion-dom/dist/es/utils/supports/flags.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "supportsFlags", - ()=>supportsFlags -]); -/** - * Add the ability for test suites to manually set support flags - * to better test more environments. - */ const supportsFlags = {}; -; -}), -"[project]/node_modules/motion-dom/dist/es/utils/supports/memo.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "memoSupports", - ()=>memoSupports -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$memo$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/memo.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$supports$2f$flags$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/utils/supports/flags.mjs [app-client] (ecmascript)"); -; -; -function memoSupports(callback, supportsFlag) { - const memoized = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$memo$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["memo"])(callback); - return ()=>__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$supports$2f$flags$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["supportsFlags"][supportsFlag] ?? memoized(); -} -; -}), -"[project]/node_modules/motion-dom/dist/es/utils/supports/linear-easing.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "supportsLinearEasing", - ()=>supportsLinearEasing -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$supports$2f$memo$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/utils/supports/memo.mjs [app-client] (ecmascript)"); -; -const supportsLinearEasing = /*@__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$supports$2f$memo$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["memoSupports"])(()=>{ - try { - document.createElement("div").animate({ - opacity: 0 - }, { - easing: "linear(0, 1)" - }); - } catch (e) { - return false; - } - return true; -}, "linearEasing"); -; -}), -"[project]/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "cubicBezierAsString", - ()=>cubicBezierAsString -]); -const cubicBezierAsString = ([a, b, c, d])=>`cubic-bezier(${a}, ${b}, ${c}, ${d})`; -; -}), -"[project]/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "supportedWaapiEasing", - ()=>supportedWaapiEasing -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$waapi$2f$easing$2f$cubic$2d$bezier$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.mjs [app-client] (ecmascript)"); -; -const supportedWaapiEasing = { - linear: "linear", - ease: "ease", - easeIn: "ease-in", - easeOut: "ease-out", - easeInOut: "ease-in-out", - circIn: /*@__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$waapi$2f$easing$2f$cubic$2d$bezier$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["cubicBezierAsString"])([ - 0, - 0.65, - 0.55, - 1 - ]), - circOut: /*@__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$waapi$2f$easing$2f$cubic$2d$bezier$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["cubicBezierAsString"])([ - 0.55, - 0, - 1, - 0.45 - ]), - backIn: /*@__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$waapi$2f$easing$2f$cubic$2d$bezier$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["cubicBezierAsString"])([ - 0.31, - 0.01, - 0.66, - -0.59 - ]), - backOut: /*@__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$waapi$2f$easing$2f$cubic$2d$bezier$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["cubicBezierAsString"])([ - 0.33, - 1.53, - 0.69, - 0.99 - ]) -}; -; -}), -"[project]/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "mapEasingToNativeEasing", - ()=>mapEasingToNativeEasing -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$easing$2f$utils$2f$is$2d$bezier$2d$definition$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$supports$2f$linear$2d$easing$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/utils/supports/linear-easing.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$waapi$2f$utils$2f$linear$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$waapi$2f$easing$2f$cubic$2d$bezier$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$waapi$2f$easing$2f$supported$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.mjs [app-client] (ecmascript)"); -; -; -; -; -; -function mapEasingToNativeEasing(easing, duration) { - if (!easing) { - return undefined; - } else if (typeof easing === "function") { - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$supports$2f$linear$2d$easing$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["supportsLinearEasing"])() ? (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$waapi$2f$utils$2f$linear$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["generateLinearEasing"])(easing, duration) : "ease-out"; - } else if ((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$easing$2f$utils$2f$is$2d$bezier$2d$definition$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isBezierDefinition"])(easing)) { - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$waapi$2f$easing$2f$cubic$2d$bezier$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["cubicBezierAsString"])(easing); - } else if (Array.isArray(easing)) { - return easing.map((segmentEasing)=>mapEasingToNativeEasing(segmentEasing, duration) || __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$waapi$2f$easing$2f$supported$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["supportedWaapiEasing"].easeOut); - } else { - return __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$waapi$2f$easing$2f$supported$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["supportedWaapiEasing"][easing]; - } -} -; -}), -"[project]/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "startWaapiAnimation", - ()=>startWaapiAnimation -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$stats$2f$animation$2d$count$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/stats/animation-count.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$stats$2f$buffer$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/stats/buffer.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$waapi$2f$easing$2f$map$2d$easing$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.mjs [app-client] (ecmascript)"); -; -; -; -function startWaapiAnimation(element, valueName, keyframes, { delay = 0, duration = 300, repeat = 0, repeatType = "loop", ease = "easeOut", times } = {}, pseudoElement = undefined) { - const keyframeOptions = { - [valueName]: keyframes - }; - if (times) keyframeOptions.offset = times; - const easing = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$waapi$2f$easing$2f$map$2d$easing$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["mapEasingToNativeEasing"])(ease, duration); - /** - * If this is an easing array, apply to keyframes, not animation as a whole - */ if (Array.isArray(easing)) keyframeOptions.easing = easing; - if (__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$stats$2f$buffer$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["statsBuffer"].value) { - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$stats$2f$animation$2d$count$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["activeAnimations"].waapi++; - } - const options = { - delay, - duration, - easing: !Array.isArray(easing) ? easing : "linear", - fill: "both", - iterations: repeat + 1, - direction: repeatType === "reverse" ? "alternate" : "normal" - }; - if (pseudoElement) options.pseudoElement = pseudoElement; - const animation = element.animate(keyframeOptions, options); - if (__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$stats$2f$buffer$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["statsBuffer"].value) { - animation.finished.finally(()=>{ - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$stats$2f$animation$2d$count$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["activeAnimations"].waapi--; - }); - } - return animation; -} -; -}), -"[project]/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "isGenerator", - ()=>isGenerator -]); -function isGenerator(type) { - return typeof type === "function" && "applyToOptions" in type; -} -; -}), -"[project]/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "applyGeneratorOptions", - ()=>applyGeneratorOptions -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$supports$2f$linear$2d$easing$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/utils/supports/linear-easing.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$utils$2f$is$2d$generator$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.mjs [app-client] (ecmascript)"); -; -; -function applyGeneratorOptions({ type, ...options }) { - if ((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$utils$2f$is$2d$generator$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isGenerator"])(type) && (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$supports$2f$linear$2d$easing$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["supportsLinearEasing"])()) { - return type.applyToOptions(options); - } else { - options.duration ?? (options.duration = 300); - options.ease ?? (options.ease = "easeOut"); - } - return options; -} -; -}), -"[project]/node_modules/motion-dom/dist/es/animation/NativeAnimation.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "NativeAnimation", - ()=>NativeAnimation -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$errors$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/errors.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$time$2d$conversion$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/time-conversion.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$noop$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/noop.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$render$2f$dom$2f$style$2d$set$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/render/dom/style-set.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$supports$2f$scroll$2d$timeline$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$keyframes$2f$get$2d$final$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/keyframes/get-final.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$utils$2f$WithPromise$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/utils/WithPromise.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$waapi$2f$start$2d$waapi$2d$animation$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$waapi$2f$utils$2f$apply$2d$generator$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.mjs [app-client] (ecmascript)"); -; -; -; -; -; -; -; -/** - * NativeAnimation implements AnimationPlaybackControls for the browser's Web Animations API. - */ class NativeAnimation extends __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$utils$2f$WithPromise$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["WithPromise"] { - constructor(options){ - super(); - this.finishedTime = null; - this.isStopped = false; - if (!options) return; - const { element, name, keyframes, pseudoElement, allowFlatten = false, finalKeyframe, onComplete } = options; - this.isPseudoElement = Boolean(pseudoElement); - this.allowFlatten = allowFlatten; - this.options = options; - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$errors$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["invariant"])(typeof options.type !== "string", `Mini animate() doesn't support "type" as a string.`, "mini-spring"); - const transition = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$waapi$2f$utils$2f$apply$2d$generator$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["applyGeneratorOptions"])(options); - this.animation = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$waapi$2f$start$2d$waapi$2d$animation$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["startWaapiAnimation"])(element, name, keyframes, transition, pseudoElement); - if (transition.autoplay === false) { - this.animation.pause(); - } - this.animation.onfinish = ()=>{ - this.finishedTime = this.time; - if (!pseudoElement) { - const keyframe = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$keyframes$2f$get$2d$final$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getFinalKeyframe"])(keyframes, this.options, finalKeyframe, this.speed); - if (this.updateMotionValue) { - this.updateMotionValue(keyframe); - } else { - /** - * If we can, we want to commit the final style as set by the user, - * rather than the computed keyframe value supplied by the animation. - */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$render$2f$dom$2f$style$2d$set$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["setStyle"])(element, name, keyframe); - } - this.animation.cancel(); - } - onComplete?.(); - this.notifyFinished(); - }; - } - play() { - if (this.isStopped) return; - this.animation.play(); - if (this.state === "finished") { - this.updateFinished(); - } - } - pause() { - this.animation.pause(); - } - complete() { - this.animation.finish?.(); - } - cancel() { - try { - this.animation.cancel(); - } catch (e) {} - } - stop() { - if (this.isStopped) return; - this.isStopped = true; - const { state } = this; - if (state === "idle" || state === "finished") { - return; - } - if (this.updateMotionValue) { - this.updateMotionValue(); - } else { - this.commitStyles(); - } - if (!this.isPseudoElement) this.cancel(); - } - /** - * WAAPI doesn't natively have any interruption capabilities. - * - * In this method, we commit styles back to the DOM before cancelling - * the animation. - * - * This is designed to be overridden by NativeAnimationExtended, which - * will create a renderless JS animation and sample it twice to calculate - * its current value, "previous" value, and therefore allow - * Motion to also correctly calculate velocity for any subsequent animation - * while deferring the commit until the next animation frame. - */ commitStyles() { - if (!this.isPseudoElement) { - this.animation.commitStyles?.(); - } - } - get duration() { - const duration = this.animation.effect?.getComputedTiming?.().duration || 0; - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$time$2d$conversion$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["millisecondsToSeconds"])(Number(duration)); - } - get iterationDuration() { - const { delay = 0 } = this.options || {}; - return this.duration + (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$time$2d$conversion$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["millisecondsToSeconds"])(delay); - } - get time() { - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$time$2d$conversion$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["millisecondsToSeconds"])(Number(this.animation.currentTime) || 0); - } - set time(newTime) { - this.finishedTime = null; - this.animation.currentTime = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$time$2d$conversion$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["secondsToMilliseconds"])(newTime); - } - /** - * The playback speed of the animation. - * 1 = normal speed, 2 = double speed, 0.5 = half speed. - */ get speed() { - return this.animation.playbackRate; - } - set speed(newSpeed) { - // Allow backwards playback after finishing - if (newSpeed < 0) this.finishedTime = null; - this.animation.playbackRate = newSpeed; - } - get state() { - return this.finishedTime !== null ? "finished" : this.animation.playState; - } - get startTime() { - return Number(this.animation.startTime); - } - set startTime(newStartTime) { - this.animation.startTime = newStartTime; - } - /** - * Attaches a timeline to the animation, for instance the `ScrollTimeline`. - */ attachTimeline({ timeline, observe }) { - if (this.allowFlatten) { - this.animation.effect?.updateTiming({ - easing: "linear" - }); - } - this.animation.onfinish = null; - if (timeline && (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$supports$2f$scroll$2d$timeline$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["supportsScrollTimeline"])()) { - this.animation.timeline = timeline; - return __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$noop$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["noop"]; - } else { - return observe(this); - } - } -} -; -}), -"[project]/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "replaceStringEasing", - ()=>replaceStringEasing -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$easing$2f$anticipate$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/easing/anticipate.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$easing$2f$back$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/easing/back.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$easing$2f$circ$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/easing/circ.mjs [app-client] (ecmascript)"); -; -const unsupportedEasingFunctions = { - anticipate: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$easing$2f$anticipate$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["anticipate"], - backInOut: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$easing$2f$back$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["backInOut"], - circInOut: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$easing$2f$circ$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["circInOut"] -}; -function isUnsupportedEase(key) { - return key in unsupportedEasingFunctions; -} -function replaceStringEasing(transition) { - if (typeof transition.ease === "string" && isUnsupportedEase(transition.ease)) { - transition.ease = unsupportedEasingFunctions[transition.ease]; - } -} -; -}), -"[project]/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "NativeAnimationExtended", - ()=>NativeAnimationExtended -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$time$2d$conversion$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/time-conversion.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$JSAnimation$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/JSAnimation.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$NativeAnimation$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/NativeAnimation.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$utils$2f$replace$2d$transition$2d$type$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$waapi$2f$utils$2f$unsupported$2d$easing$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.mjs [app-client] (ecmascript)"); -; -; -; -; -; -/** - * 10ms is chosen here as it strikes a balance between smooth - * results (more than one keyframe per frame at 60fps) and - * keyframe quantity. - */ const sampleDelta = 10; //ms -class NativeAnimationExtended extends __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$NativeAnimation$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["NativeAnimation"] { - constructor(options){ - /** - * The base NativeAnimation function only supports a subset - * of Motion easings, and WAAPI also only supports some - * easing functions via string/cubic-bezier definitions. - * - * This function replaces those unsupported easing functions - * with a JS easing function. This will later get compiled - * to a linear() easing function. - */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$waapi$2f$utils$2f$unsupported$2d$easing$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["replaceStringEasing"])(options); - /** - * Ensure we replace the transition type with a generator function - * before passing to WAAPI. - * - * TODO: Does this have a better home? It could be shared with - * JSAnimation. - */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$utils$2f$replace$2d$transition$2d$type$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["replaceTransitionType"])(options); - super(options); - if (options.startTime) { - this.startTime = options.startTime; - } - this.options = options; - } - /** - * WAAPI doesn't natively have any interruption capabilities. - * - * Rather than read commited styles back out of the DOM, we can - * create a renderless JS animation and sample it twice to calculate - * its current value, "previous" value, and therefore allow - * Motion to calculate velocity for any subsequent animation. - */ updateMotionValue(value) { - const { motionValue, onUpdate, onComplete, element, ...options } = this.options; - if (!motionValue) return; - if (value !== undefined) { - motionValue.set(value); - return; - } - const sampleAnimation = new __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$JSAnimation$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["JSAnimation"]({ - ...options, - autoplay: false - }); - const sampleTime = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$time$2d$conversion$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["secondsToMilliseconds"])(this.finishedTime ?? this.time); - motionValue.setWithVelocity(sampleAnimation.sample(sampleTime - sampleDelta).value, sampleAnimation.sample(sampleTime).value, sampleDelta); - sampleAnimation.stop(); - } -} -; -}), -"[project]/node_modules/motion-dom/dist/es/animation/utils/is-animatable.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "isAnimatable", - ()=>isAnimatable -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$complex$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/complex/index.mjs [app-client] (ecmascript)"); -; -/** - * Check if a value is animatable. Examples: - * - * ✅: 100, "100px", "#fff" - * ❌: "block", "url(2.jpg)" - * @param value - * - * @internal - */ const isAnimatable = (value, name)=>{ - // If the list of keys that might be non-animatable grows, replace with Set - if (name === "zIndex") return false; - // If it's a number or a keyframes array, we can animate it. We might at some point - // need to do a deep isAnimatable check of keyframes, or let Popmotion handle this, - // but for now lets leave it like this for performance reasons - if (typeof value === "number" || Array.isArray(value)) return true; - if (typeof value === "string" && // It's animatable if we have a string - (__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$complex$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["complex"].test(value) || value === "0") && // And it contains numbers and/or colors - !value.startsWith("url(") // Unless it starts with "url(" - ) { - return true; - } - return false; -}; -; -}), -"[project]/node_modules/motion-dom/dist/es/animation/utils/can-animate.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "canAnimate", - ()=>canAnimate -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$errors$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/errors.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$utils$2f$is$2d$generator$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$utils$2f$is$2d$animatable$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/utils/is-animatable.mjs [app-client] (ecmascript)"); -; -; -; -function hasKeyframesChanged(keyframes) { - const current = keyframes[0]; - if (keyframes.length === 1) return true; - for(let i = 0; i < keyframes.length; i++){ - if (keyframes[i] !== current) return true; - } -} -function canAnimate(keyframes, name, type, velocity) { - /** - * Check if we're able to animate between the start and end keyframes, - * and throw a warning if we're attempting to animate between one that's - * animatable and another that isn't. - */ const originKeyframe = keyframes[0]; - if (originKeyframe === null) return false; - /** - * These aren't traditionally animatable but we do support them. - * In future we could look into making this more generic or replacing - * this function with mix() === mixImmediate - */ if (name === "display" || name === "visibility") return true; - const targetKeyframe = keyframes[keyframes.length - 1]; - const isOriginAnimatable = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$utils$2f$is$2d$animatable$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAnimatable"])(originKeyframe, name); - const isTargetAnimatable = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$utils$2f$is$2d$animatable$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAnimatable"])(targetKeyframe, name); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$errors$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["warning"])(isOriginAnimatable === isTargetAnimatable, `You are trying to animate ${name} from "${originKeyframe}" to "${targetKeyframe}". "${isOriginAnimatable ? targetKeyframe : originKeyframe}" is not an animatable value.`, "value-not-animatable"); - // Always skip if any of these are true - if (!isOriginAnimatable || !isTargetAnimatable) { - return false; - } - return hasKeyframesChanged(keyframes) || (type === "spring" || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$generators$2f$utils$2f$is$2d$generator$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isGenerator"])(type)) && velocity; -} -; -}), -"[project]/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "supportsBrowserAnimation", - ()=>supportsBrowserAnimation -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$memo$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/memo.mjs [app-client] (ecmascript)"); -; -/** - * A list of values that can be hardware-accelerated. - */ const acceleratedValues = new Set([ - "opacity", - "clipPath", - "filter", - "transform" -]); -const supportsWaapi = /*@__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$memo$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["memo"])(()=>Object.hasOwnProperty.call(Element.prototype, "animate")); -function supportsBrowserAnimation(options) { - const { motionValue, name, repeatDelay, repeatType, damping, type } = options; - const subject = motionValue?.owner?.current; - /** - * We use this check instead of isHTMLElement() because we explicitly - * **don't** want elements in different timing contexts (i.e. popups) - * to be accelerated, as it's not possible to sync these animations - * properly with those driven from the main window frameloop. - */ if (!(subject instanceof HTMLElement)) { - return false; - } - const { onUpdate, transformTemplate } = motionValue.owner.getProps(); - return supportsWaapi() && name && acceleratedValues.has(name) && (name !== "transform" || !transformTemplate) && /** - * If we're outputting values to onUpdate then we can't use WAAPI as there's - * no way to read the value from WAAPI every frame. - */ !onUpdate && !repeatDelay && repeatType !== "mirror" && damping !== 0 && type !== "inertia"; -} -; -}), -"[project]/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "AsyncMotionValueAnimation", - ()=>AsyncMotionValueAnimation -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$global$2d$config$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/global-config.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$noop$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/noop.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$sync$2d$time$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/frameloop/sync-time.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$JSAnimation$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/JSAnimation.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$keyframes$2f$get$2d$final$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/keyframes/get-final.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$keyframes$2f$KeyframesResolver$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$NativeAnimationExtended$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$utils$2f$can$2d$animate$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/utils/can-animate.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$utils$2f$make$2d$animation$2d$instant$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$utils$2f$WithPromise$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/utils/WithPromise.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$waapi$2f$supports$2f$waapi$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.mjs [app-client] (ecmascript)"); -; -; -; -; -; -; -; -; -; -; -/** - * Maximum time allowed between an animation being created and it being - * resolved for us to use the latter as the start time. - * - * This is to ensure that while we prefer to "start" an animation as soon - * as it's triggered, we also want to avoid a visual jump if there's a big delay - * between these two moments. - */ const MAX_RESOLVE_DELAY = 40; -class AsyncMotionValueAnimation extends __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$utils$2f$WithPromise$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["WithPromise"] { - constructor({ autoplay = true, delay = 0, type = "keyframes", repeat = 0, repeatDelay = 0, repeatType = "loop", keyframes, name, motionValue, element, ...options }){ - super(); - /** - * Bound to support return animation.stop pattern - */ this.stop = ()=>{ - if (this._animation) { - this._animation.stop(); - this.stopTimeline?.(); - } - this.keyframeResolver?.cancel(); - }; - this.createdAt = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$sync$2d$time$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["time"].now(); - const optionsWithDefaults = { - autoplay, - delay, - type, - repeat, - repeatDelay, - repeatType, - name, - motionValue, - element, - ...options - }; - const KeyframeResolver$1 = element?.KeyframeResolver || __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$keyframes$2f$KeyframesResolver$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["KeyframeResolver"]; - this.keyframeResolver = new KeyframeResolver$1(keyframes, (resolvedKeyframes, finalKeyframe, forced)=>this.onKeyframesResolved(resolvedKeyframes, finalKeyframe, optionsWithDefaults, !forced), name, motionValue, element); - this.keyframeResolver?.scheduleResolve(); - } - onKeyframesResolved(keyframes, finalKeyframe, options, sync) { - this.keyframeResolver = undefined; - const { name, type, velocity, delay, isHandoff, onUpdate } = options; - this.resolvedAt = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$sync$2d$time$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["time"].now(); - /** - * If we can't animate this value with the resolved keyframes - * then we should complete it immediately. - */ if (!(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$utils$2f$can$2d$animate$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["canAnimate"])(keyframes, name, type, velocity)) { - if (__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$global$2d$config$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["MotionGlobalConfig"].instantAnimations || !delay) { - onUpdate?.((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$keyframes$2f$get$2d$final$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getFinalKeyframe"])(keyframes, options, finalKeyframe)); - } - keyframes[0] = keyframes[keyframes.length - 1]; - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$utils$2f$make$2d$animation$2d$instant$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["makeAnimationInstant"])(options); - options.repeat = 0; - } - /** - * Resolve startTime for the animation. - * - * This method uses the createdAt and resolvedAt to calculate the - * animation startTime. *Ideally*, we would use the createdAt time as t=0 - * as the following frame would then be the first frame of the animation in - * progress, which would feel snappier. - * - * However, if there's a delay (main thread work) between the creation of - * the animation and the first commited frame, we prefer to use resolvedAt - * to avoid a sudden jump into the animation. - */ const startTime = sync ? !this.resolvedAt ? this.createdAt : this.resolvedAt - this.createdAt > MAX_RESOLVE_DELAY ? this.resolvedAt : this.createdAt : undefined; - const resolvedOptions = { - startTime, - finalKeyframe, - ...options, - keyframes - }; - /** - * Animate via WAAPI if possible. If this is a handoff animation, the optimised animation will be running via - * WAAPI. Therefore, this animation must be JS to ensure it runs "under" the - * optimised animation. - */ const animation = !isHandoff && (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$waapi$2f$supports$2f$waapi$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["supportsBrowserAnimation"])(resolvedOptions) ? new __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$NativeAnimationExtended$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["NativeAnimationExtended"]({ - ...resolvedOptions, - element: resolvedOptions.motionValue.owner.current - }) : new __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$JSAnimation$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["JSAnimation"](resolvedOptions); - animation.finished.then(()=>this.notifyFinished()).catch(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$noop$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["noop"]); - if (this.pendingTimeline) { - this.stopTimeline = animation.attachTimeline(this.pendingTimeline); - this.pendingTimeline = undefined; - } - this._animation = animation; - } - get finished() { - if (!this._animation) { - return this._finished; - } else { - return this.animation.finished; - } - } - then(onResolve, _onReject) { - return this.finished.finally(onResolve).then(()=>{}); - } - get animation() { - if (!this._animation) { - this.keyframeResolver?.resume(); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$keyframes$2f$KeyframesResolver$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["flushKeyframeResolvers"])(); - } - return this._animation; - } - get duration() { - return this.animation.duration; - } - get iterationDuration() { - return this.animation.iterationDuration; - } - get time() { - return this.animation.time; - } - set time(newTime) { - this.animation.time = newTime; - } - get speed() { - return this.animation.speed; - } - get state() { - return this.animation.state; - } - set speed(newSpeed) { - this.animation.speed = newSpeed; - } - get startTime() { - return this.animation.startTime; - } - attachTimeline(timeline) { - if (this._animation) { - this.stopTimeline = this.animation.attachTimeline(timeline); - } else { - this.pendingTimeline = timeline; - } - return ()=>this.stop(); - } - play() { - this.animation.play(); - } - pause() { - this.animation.pause(); - } - complete() { - this.animation.complete(); - } - cancel() { - if (this._animation) { - this.animation.cancel(); - } - this.keyframeResolver?.cancel(); - } -} -; -}), -"[project]/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "getFinalKeyframe", - ()=>getFinalKeyframe -]); -const isNotNull = (value)=>value !== null; -function getFinalKeyframe(keyframes, { repeat, repeatType = "loop" }, finalKeyframe) { - const resolvedKeyframes = keyframes.filter(isNotNull); - const index = repeat && repeatType !== "loop" && repeat % 2 === 1 ? 0 : resolvedKeyframes.length - 1; - return !index || finalKeyframe === undefined ? resolvedKeyframes[index] : finalKeyframe; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/animation/utils/default-transitions.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "getDefaultTransition", - ()=>getDefaultTransition -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$render$2f$utils$2f$keys$2d$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/render/utils/keys-transform.mjs [app-client] (ecmascript)"); -; -const underDampedSpring = { - type: "spring", - stiffness: 500, - damping: 25, - restSpeed: 10 -}; -const criticallyDampedSpring = (target)=>({ - type: "spring", - stiffness: 550, - damping: target === 0 ? 2 * Math.sqrt(550) : 30, - restSpeed: 10 - }); -const keyframesTransition = { - type: "keyframes", - duration: 0.8 -}; -/** - * Default easing curve is a slightly shallower version of - * the default browser easing curve. - */ const ease = { - type: "keyframes", - ease: [ - 0.25, - 0.1, - 0.35, - 1 - ], - duration: 0.3 -}; -const getDefaultTransition = (valueKey, { keyframes })=>{ - if (keyframes.length > 2) { - return keyframesTransition; - } else if (__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$render$2f$utils$2f$keys$2d$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["transformProps"].has(valueKey)) { - return valueKey.startsWith("scale") ? criticallyDampedSpring(keyframes[1]) : underDampedSpring; - } - return ease; -}; -; -}), -"[project]/node_modules/framer-motion/dist/es/animation/utils/is-transition-defined.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "isTransitionDefined", - ()=>isTransitionDefined -]); -/** - * Decide whether a transition is defined on a given Transition. - * This filters out orchestration options and returns true - * if any options are left. - */ function isTransitionDefined({ when, delay: _delay, delayChildren, staggerChildren, staggerDirection, repeat, repeatType, repeatDelay, from, elapsed, ...transition }) { - return !!Object.keys(transition).length; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "animateMotionValue", - ()=>animateMotionValue -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$utils$2f$get$2d$value$2d$transition$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$utils$2f$make$2d$animation$2d$instant$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/frameloop/frame.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$JSAnimation$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/JSAnimation.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$AsyncMotionValueAnimation$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$time$2d$conversion$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/time-conversion.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$global$2d$config$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/global-config.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$animation$2f$animators$2f$waapi$2f$utils$2f$get$2d$final$2d$keyframe$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$animation$2f$utils$2f$default$2d$transitions$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/animation/utils/default-transitions.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$animation$2f$utils$2f$is$2d$transition$2d$defined$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/animation/utils/is-transition-defined.mjs [app-client] (ecmascript)"); -; -; -; -; -; -const animateMotionValue = (name, value, target, transition = {}, element, isHandoff)=>(onComplete)=>{ - const valueTransition = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$utils$2f$get$2d$value$2d$transition$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getValueTransition"])(transition, name) || {}; - /** - * Most transition values are currently completely overwritten by value-specific - * transitions. In the future it'd be nicer to blend these transitions. But for now - * delay actually does inherit from the root transition if not value-specific. - */ const delay = valueTransition.delay || transition.delay || 0; - /** - * Elapsed isn't a public transition option but can be passed through from - * optimized appear effects in milliseconds. - */ let { elapsed = 0 } = transition; - elapsed = elapsed - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$time$2d$conversion$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["secondsToMilliseconds"])(delay); - const options = { - keyframes: Array.isArray(target) ? target : [ - null, - target - ], - ease: "easeOut", - velocity: value.getVelocity(), - ...valueTransition, - delay: -elapsed, - onUpdate: (v)=>{ - value.set(v); - valueTransition.onUpdate && valueTransition.onUpdate(v); - }, - onComplete: ()=>{ - onComplete(); - valueTransition.onComplete && valueTransition.onComplete(); - }, - name, - motionValue: value, - element: isHandoff ? undefined : element - }; - /** - * If there's no transition defined for this value, we can generate - * unique transition settings for this value. - */ if (!(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$animation$2f$utils$2f$is$2d$transition$2d$defined$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isTransitionDefined"])(valueTransition)) { - Object.assign(options, (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$animation$2f$utils$2f$default$2d$transitions$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getDefaultTransition"])(name, options)); - } - /** - * Both WAAPI and our internal animation functions use durations - * as defined by milliseconds, while our external API defines them - * as seconds. - */ options.duration && (options.duration = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$time$2d$conversion$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["secondsToMilliseconds"])(options.duration)); - options.repeatDelay && (options.repeatDelay = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$time$2d$conversion$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["secondsToMilliseconds"])(options.repeatDelay)); - /** - * Support deprecated way to set initial value. Prefer keyframe syntax. - */ if (options.from !== undefined) { - options.keyframes[0] = options.from; - } - let shouldSkip = false; - if (options.type === false || options.duration === 0 && !options.repeatDelay) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$utils$2f$make$2d$animation$2d$instant$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["makeAnimationInstant"])(options); - if (options.delay === 0) { - shouldSkip = true; - } - } - if (__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$global$2d$config$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["MotionGlobalConfig"].instantAnimations || __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$global$2d$config$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["MotionGlobalConfig"].skipAnimations) { - shouldSkip = true; - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$utils$2f$make$2d$animation$2d$instant$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["makeAnimationInstant"])(options); - options.delay = 0; - } - /** - * If the transition type or easing has been explicitly set by the user - * then we don't want to allow flattening the animation. - */ options.allowFlatten = !valueTransition.type && !valueTransition.ease; - /** - * If we can or must skip creating the animation, and apply only - * the final keyframe, do so. We also check once keyframes are resolved but - * this early check prevents the need to create an animation at all. - */ if (shouldSkip && !isHandoff && value.get() !== undefined) { - const finalKeyframe = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$animation$2f$animators$2f$waapi$2f$utils$2f$get$2d$final$2d$keyframe$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getFinalKeyframe"])(options.keyframes, valueTransition); - if (finalKeyframe !== undefined) { - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frame"].update(()=>{ - options.onUpdate(finalKeyframe); - options.onComplete(); - }); - return; - } - } - return valueTransition.isSync ? new __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$JSAnimation$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["JSAnimation"](options) : new __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$AsyncMotionValueAnimation$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["AsyncMotionValueAnimation"](options); - }; -; -}), -"[project]/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "animateTarget", - ()=>animateTarget -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$utils$2f$get$2d$value$2d$transition$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/frameloop/frame.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$render$2f$utils$2f$keys$2d$position$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/render/utils/keys-position.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$setters$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/utils/setters.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$value$2f$use$2d$will$2d$change$2f$add$2d$will$2d$change$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/value/use-will-change/add-will-change.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$animation$2f$optimized$2d$appear$2f$get$2d$appear$2d$id$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/animation/optimized-appear/get-appear-id.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$animation$2f$interfaces$2f$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.mjs [app-client] (ecmascript)"); -; -; -; -; -; -/** - * Decide whether we should block this animation. Previously, we achieved this - * just by checking whether the key was listed in protectedKeys, but this - * posed problems if an animation was triggered by afterChildren and protectedKeys - * had been set to true in the meantime. - */ function shouldBlockAnimation({ protectedKeys, needsAnimating }, key) { - const shouldBlock = protectedKeys.hasOwnProperty(key) && needsAnimating[key] !== true; - needsAnimating[key] = false; - return shouldBlock; -} -function animateTarget(visualElement, targetAndTransition, { delay = 0, transitionOverride, type } = {}) { - let { transition = visualElement.getDefaultTransition(), transitionEnd, ...target } = targetAndTransition; - if (transitionOverride) transition = transitionOverride; - const animations = []; - const animationTypeState = type && visualElement.animationState && visualElement.animationState.getState()[type]; - for(const key in target){ - const value = visualElement.getValue(key, visualElement.latestValues[key] ?? null); - const valueTarget = target[key]; - if (valueTarget === undefined || animationTypeState && shouldBlockAnimation(animationTypeState, key)) { - continue; - } - const valueTransition = { - delay, - ...(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$utils$2f$get$2d$value$2d$transition$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getValueTransition"])(transition || {}, key) - }; - /** - * If the value is already at the defined target, skip the animation. - */ const currentValue = value.get(); - if (currentValue !== undefined && !value.isAnimating && !Array.isArray(valueTarget) && valueTarget === currentValue && !valueTransition.velocity) { - continue; - } - /** - * If this is the first time a value is being animated, check - * to see if we're handling off from an existing animation. - */ let isHandoff = false; - if (window.MotionHandoffAnimation) { - const appearId = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$animation$2f$optimized$2d$appear$2f$get$2d$appear$2d$id$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getOptimisedAppearId"])(visualElement); - if (appearId) { - const startTime = window.MotionHandoffAnimation(appearId, key, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frame"]); - if (startTime !== null) { - valueTransition.startTime = startTime; - isHandoff = true; - } - } - } - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$value$2f$use$2d$will$2d$change$2f$add$2d$will$2d$change$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["addValueToWillChange"])(visualElement, key); - value.start((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$animation$2f$interfaces$2f$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["animateMotionValue"])(key, value, valueTarget, visualElement.shouldReduceMotion && __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$render$2f$utils$2f$keys$2d$position$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["positionalKeys"].has(key) ? { - type: false - } : valueTransition, visualElement, isHandoff)); - const animation = value.animation; - if (animation) { - animations.push(animation); - } - } - if (transitionEnd) { - Promise.all(animations).then(()=>{ - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frame"].update(()=>{ - transitionEnd && (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$setters$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["setTarget"])(visualElement, transitionEnd); - }); - }); - } - return animations; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/animation/utils/calc-child-stagger.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "calcChildStagger", - ()=>calcChildStagger -]); -function calcChildStagger(children, child, delayChildren, staggerChildren = 0, staggerDirection = 1) { - const index = Array.from(children).sort((a, b)=>a.sortNodePosition(b)).indexOf(child); - const numChildren = children.size; - const maxStaggerDuration = (numChildren - 1) * staggerChildren; - const delayIsFunction = typeof delayChildren === "function"; - return delayIsFunction ? delayChildren(index, numChildren) : staggerDirection === 1 ? index * staggerChildren : maxStaggerDuration - index * staggerChildren; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-variant.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "animateVariant", - ()=>animateVariant -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$resolve$2d$dynamic$2d$variants$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$animation$2f$utils$2f$calc$2d$child$2d$stagger$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/animation/utils/calc-child-stagger.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$animation$2f$interfaces$2f$visual$2d$element$2d$target$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.mjs [app-client] (ecmascript)"); -; -; -; -function animateVariant(visualElement, variant, options = {}) { - const resolved = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$resolve$2d$dynamic$2d$variants$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["resolveVariant"])(visualElement, variant, options.type === "exit" ? visualElement.presenceContext?.custom : undefined); - let { transition = visualElement.getDefaultTransition() || {} } = resolved || {}; - if (options.transitionOverride) { - transition = options.transitionOverride; - } - /** - * If we have a variant, create a callback that runs it as an animation. - * Otherwise, we resolve a Promise immediately for a composable no-op. - */ const getAnimation = resolved ? ()=>Promise.all((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$animation$2f$interfaces$2f$visual$2d$element$2d$target$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["animateTarget"])(visualElement, resolved, options)) : ()=>Promise.resolve(); - /** - * If we have children, create a callback that runs all their animations. - * Otherwise, we resolve a Promise immediately for a composable no-op. - */ const getChildAnimations = visualElement.variantChildren && visualElement.variantChildren.size ? (forwardDelay = 0)=>{ - const { delayChildren = 0, staggerChildren, staggerDirection } = transition; - return animateChildren(visualElement, variant, forwardDelay, delayChildren, staggerChildren, staggerDirection, options); - } : ()=>Promise.resolve(); - /** - * If the transition explicitly defines a "when" option, we need to resolve either - * this animation or all children animations before playing the other. - */ const { when } = transition; - if (when) { - const [first, last] = when === "beforeChildren" ? [ - getAnimation, - getChildAnimations - ] : [ - getChildAnimations, - getAnimation - ]; - return first().then(()=>last()); - } else { - return Promise.all([ - getAnimation(), - getChildAnimations(options.delay) - ]); - } -} -function animateChildren(visualElement, variant, delay = 0, delayChildren = 0, staggerChildren = 0, staggerDirection = 1, options) { - const animations = []; - for (const child of visualElement.variantChildren){ - child.notify("AnimationStart", variant); - animations.push(animateVariant(child, variant, { - ...options, - delay: delay + (typeof delayChildren === "function" ? 0 : delayChildren) + (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$animation$2f$utils$2f$calc$2d$child$2d$stagger$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["calcChildStagger"])(visualElement.variantChildren, child, delayChildren, staggerChildren, staggerDirection) - }).then(()=>child.notify("AnimationComplete", variant))); - } - return Promise.all(animations); -} -; -}), -"[project]/node_modules/framer-motion/dist/es/animation/interfaces/visual-element.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "animateVisualElement", - ()=>animateVisualElement -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$resolve$2d$dynamic$2d$variants$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$animation$2f$interfaces$2f$visual$2d$element$2d$target$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$animation$2f$interfaces$2f$visual$2d$element$2d$variant$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-variant.mjs [app-client] (ecmascript)"); -; -; -; -function animateVisualElement(visualElement, definition, options = {}) { - visualElement.notify("AnimationStart", definition); - let animation; - if (Array.isArray(definition)) { - const animations = definition.map((variant)=>(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$animation$2f$interfaces$2f$visual$2d$element$2d$variant$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["animateVariant"])(visualElement, variant, options)); - animation = Promise.all(animations); - } else if (typeof definition === "string") { - animation = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$animation$2f$interfaces$2f$visual$2d$element$2d$variant$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["animateVariant"])(visualElement, definition, options); - } else { - const resolvedDefinition = typeof definition === "function" ? (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$resolve$2d$dynamic$2d$variants$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["resolveVariant"])(visualElement, definition, options.custom) : definition; - animation = Promise.all((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$animation$2f$interfaces$2f$visual$2d$element$2d$target$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["animateTarget"])(visualElement, resolvedDefinition, options)); - } - return animation.then(()=>{ - visualElement.notify("AnimationComplete", definition); - }); -} -; -}), -"[project]/node_modules/framer-motion/dist/es/utils/shallow-compare.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "shallowCompare", - ()=>shallowCompare -]); -function shallowCompare(next, prev) { - if (!Array.isArray(prev)) return false; - const prevLength = prev.length; - if (prevLength !== next.length) return false; - for(let i = 0; i < prevLength; i++){ - if (prev[i] !== next[i]) return false; - } - return true; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/render/utils/get-variant-context.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "getVariantContext", - ()=>getVariantContext -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$is$2d$variant$2d$label$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/utils/is-variant-label.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$variant$2d$props$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/utils/variant-props.mjs [app-client] (ecmascript)"); -; -; -const numVariantProps = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$variant$2d$props$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["variantProps"].length; -function getVariantContext(visualElement) { - if (!visualElement) return undefined; - if (!visualElement.isControllingVariants) { - const context = visualElement.parent ? getVariantContext(visualElement.parent) || {} : {}; - if (visualElement.props.initial !== undefined) { - context.initial = visualElement.props.initial; - } - return context; - } - const context = {}; - for(let i = 0; i < numVariantProps; i++){ - const name = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$variant$2d$props$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["variantProps"][i]; - const prop = visualElement.props[name]; - if ((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$is$2d$variant$2d$label$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isVariantLabel"])(prop) || prop === false) { - context[name] = prop; - } - } - return context; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/render/utils/animation-state.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "checkVariantsDidChange", - ()=>checkVariantsDidChange, - "createAnimationState", - ()=>createAnimationState -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$animation$2f$interfaces$2f$visual$2d$element$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/animation/interfaces/visual-element.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$animation$2f$utils$2f$calc$2d$child$2d$stagger$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/animation/utils/calc-child-stagger.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$animation$2f$utils$2f$is$2d$animation$2d$controls$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$animation$2f$utils$2f$is$2d$keyframes$2d$target$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/animation/utils/is-keyframes-target.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$shallow$2d$compare$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/utils/shallow-compare.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$get$2d$variant$2d$context$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/utils/get-variant-context.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$is$2d$variant$2d$label$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/utils/is-variant-label.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$resolve$2d$dynamic$2d$variants$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$variant$2d$props$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/utils/variant-props.mjs [app-client] (ecmascript)"); -; -; -; -; -; -; -; -; -; -const reversePriorityOrder = [ - ...__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$variant$2d$props$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["variantPriorityOrder"] -].reverse(); -const numAnimationTypes = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$variant$2d$props$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["variantPriorityOrder"].length; -function animateList(visualElement) { - return (animations)=>Promise.all(animations.map(({ animation, options })=>(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$animation$2f$interfaces$2f$visual$2d$element$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["animateVisualElement"])(visualElement, animation, options))); -} -function createAnimationState(visualElement) { - let animate = animateList(visualElement); - let state = createState(); - let isInitialRender = true; - /** - * This function will be used to reduce the animation definitions for - * each active animation type into an object of resolved values for it. - */ const buildResolvedTypeValues = (type)=>(acc, definition)=>{ - const resolved = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$resolve$2d$dynamic$2d$variants$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["resolveVariant"])(visualElement, definition, type === "exit" ? visualElement.presenceContext?.custom : undefined); - if (resolved) { - const { transition, transitionEnd, ...target } = resolved; - acc = { - ...acc, - ...target, - ...transitionEnd - }; - } - return acc; - }; - /** - * This just allows us to inject mocked animation functions - * @internal - */ function setAnimateFunction(makeAnimator) { - animate = makeAnimator(visualElement); - } - /** - * When we receive new props, we need to: - * 1. Create a list of protected keys for each type. This is a directory of - * value keys that are currently being "handled" by types of a higher priority - * so that whenever an animation is played of a given type, these values are - * protected from being animated. - * 2. Determine if an animation type needs animating. - * 3. Determine if any values have been removed from a type and figure out - * what to animate those to. - */ function animateChanges(changedActiveType) { - const { props } = visualElement; - const context = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$get$2d$variant$2d$context$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getVariantContext"])(visualElement.parent) || {}; - /** - * A list of animations that we'll build into as we iterate through the animation - * types. This will get executed at the end of the function. - */ const animations = []; - /** - * Keep track of which values have been removed. Then, as we hit lower priority - * animation types, we can check if they contain removed values and animate to that. - */ const removedKeys = new Set(); - /** - * A dictionary of all encountered keys. This is an object to let us build into and - * copy it without iteration. Each time we hit an animation type we set its protected - * keys - the keys its not allowed to animate - to the latest version of this object. - */ let encounteredKeys = {}; - /** - * If a variant has been removed at a given index, and this component is controlling - * variant animations, we want to ensure lower-priority variants are forced to animate. - */ let removedVariantIndex = Infinity; - /** - * Iterate through all animation types in reverse priority order. For each, we want to - * detect which values it's handling and whether or not they've changed (and therefore - * need to be animated). If any values have been removed, we want to detect those in - * lower priority props and flag for animation. - */ for(let i = 0; i < numAnimationTypes; i++){ - const type = reversePriorityOrder[i]; - const typeState = state[type]; - const prop = props[type] !== undefined ? props[type] : context[type]; - const propIsVariant = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$is$2d$variant$2d$label$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isVariantLabel"])(prop); - /** - * If this type has *just* changed isActive status, set activeDelta - * to that status. Otherwise set to null. - */ const activeDelta = type === changedActiveType ? typeState.isActive : null; - if (activeDelta === false) removedVariantIndex = i; - /** - * If this prop is an inherited variant, rather than been set directly on the - * component itself, we want to make sure we allow the parent to trigger animations. - * - * TODO: Can probably change this to a !isControllingVariants check - */ let isInherited = prop === context[type] && prop !== props[type] && propIsVariant; - if (isInherited && isInitialRender && visualElement.manuallyAnimateOnMount) { - isInherited = false; - } - /** - * Set all encountered keys so far as the protected keys for this type. This will - * be any key that has been animated or otherwise handled by active, higher-priortiy types. - */ typeState.protectedKeys = { - ...encounteredKeys - }; - // Check if we can skip analysing this prop early - if (// If it isn't active and hasn't *just* been set as inactive - !typeState.isActive && activeDelta === null || !prop && !typeState.prevProp || // Or if the prop doesn't define an animation - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$animation$2f$utils$2f$is$2d$animation$2d$controls$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAnimationControls"])(prop) || typeof prop === "boolean") { - continue; - } - /** - * As we go look through the values defined on this type, if we detect - * a changed value or a value that was removed in a higher priority, we set - * this to true and add this prop to the animation list. - */ const variantDidChange = checkVariantsDidChange(typeState.prevProp, prop); - let shouldAnimateType = variantDidChange || type === changedActiveType && typeState.isActive && !isInherited && propIsVariant || i > removedVariantIndex && propIsVariant; - let handledRemovedValues = false; - /** - * As animations can be set as variant lists, variants or target objects, we - * coerce everything to an array if it isn't one already - */ const definitionList = Array.isArray(prop) ? prop : [ - prop - ]; - /** - * Build an object of all the resolved values. We'll use this in the subsequent - * animateChanges calls to determine whether a value has changed. - */ let resolvedValues = definitionList.reduce(buildResolvedTypeValues(type), {}); - if (activeDelta === false) resolvedValues = {}; - /** - * Now we need to loop through all the keys in the prev prop and this prop, - * and decide: - * 1. If the value has changed, and needs animating - * 2. If it has been removed, and needs adding to the removedKeys set - * 3. If it has been removed in a higher priority type and needs animating - * 4. If it hasn't been removed in a higher priority but hasn't changed, and - * needs adding to the type's protectedKeys list. - */ const { prevResolvedValues = {} } = typeState; - const allKeys = { - ...prevResolvedValues, - ...resolvedValues - }; - const markToAnimate = (key)=>{ - shouldAnimateType = true; - if (removedKeys.has(key)) { - handledRemovedValues = true; - removedKeys.delete(key); - } - typeState.needsAnimating[key] = true; - const motionValue = visualElement.getValue(key); - if (motionValue) motionValue.liveStyle = false; - }; - for(const key in allKeys){ - const next = resolvedValues[key]; - const prev = prevResolvedValues[key]; - // If we've already handled this we can just skip ahead - if (encounteredKeys.hasOwnProperty(key)) continue; - /** - * If the value has changed, we probably want to animate it. - */ let valueHasChanged = false; - if ((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$animation$2f$utils$2f$is$2d$keyframes$2d$target$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isKeyframesTarget"])(next) && (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$animation$2f$utils$2f$is$2d$keyframes$2d$target$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isKeyframesTarget"])(prev)) { - valueHasChanged = !(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$shallow$2d$compare$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["shallowCompare"])(next, prev); - } else { - valueHasChanged = next !== prev; - } - if (valueHasChanged) { - if (next !== undefined && next !== null) { - // If next is defined and doesn't equal prev, it needs animating - markToAnimate(key); - } else { - // If it's undefined, it's been removed. - removedKeys.add(key); - } - } else if (next !== undefined && removedKeys.has(key)) { - /** - * If next hasn't changed and it isn't undefined, we want to check if it's - * been removed by a higher priority - */ markToAnimate(key); - } else { - /** - * If it hasn't changed, we add it to the list of protected values - * to ensure it doesn't get animated. - */ typeState.protectedKeys[key] = true; - } - } - /** - * Update the typeState so next time animateChanges is called we can compare the - * latest prop and resolvedValues to these. - */ typeState.prevProp = prop; - typeState.prevResolvedValues = resolvedValues; - if (typeState.isActive) { - encounteredKeys = { - ...encounteredKeys, - ...resolvedValues - }; - } - if (isInitialRender && visualElement.blockInitialAnimation) { - shouldAnimateType = false; - } - /** - * If this is an inherited prop we want to skip this animation - * unless the inherited variants haven't changed on this render. - */ const willAnimateViaParent = isInherited && variantDidChange; - const needsAnimating = !willAnimateViaParent || handledRemovedValues; - if (shouldAnimateType && needsAnimating) { - animations.push(...definitionList.map((animation)=>{ - const options = { - type - }; - /** - * If we're performing the initial animation, but we're not - * rendering at the same time as the variant-controlling parent, - * we want to use the parent's transition to calculate the stagger. - */ if (typeof animation === "string" && isInitialRender && !willAnimateViaParent && visualElement.manuallyAnimateOnMount && visualElement.parent) { - const { parent } = visualElement; - const parentVariant = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$resolve$2d$dynamic$2d$variants$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["resolveVariant"])(parent, animation); - if (parent.enteringChildren && parentVariant) { - const { delayChildren } = parentVariant.transition || {}; - options.delay = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$animation$2f$utils$2f$calc$2d$child$2d$stagger$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["calcChildStagger"])(parent.enteringChildren, visualElement, delayChildren); - } - } - return { - animation: animation, - options - }; - })); - } - } - /** - * If there are some removed value that haven't been dealt with, - * we need to create a new animation that falls back either to the value - * defined in the style prop, or the last read value. - */ if (removedKeys.size) { - const fallbackAnimation = {}; - /** - * If the initial prop contains a transition we can use that, otherwise - * allow the animation function to use the visual element's default. - */ if (typeof props.initial !== "boolean") { - const initialTransition = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$resolve$2d$dynamic$2d$variants$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["resolveVariant"])(visualElement, Array.isArray(props.initial) ? props.initial[0] : props.initial); - if (initialTransition && initialTransition.transition) { - fallbackAnimation.transition = initialTransition.transition; - } - } - removedKeys.forEach((key)=>{ - const fallbackTarget = visualElement.getBaseTarget(key); - const motionValue = visualElement.getValue(key); - if (motionValue) motionValue.liveStyle = true; - // @ts-expect-error - @mattgperry to figure if we should do something here - fallbackAnimation[key] = fallbackTarget ?? null; - }); - animations.push({ - animation: fallbackAnimation - }); - } - let shouldAnimate = Boolean(animations.length); - if (isInitialRender && (props.initial === false || props.initial === props.animate) && !visualElement.manuallyAnimateOnMount) { - shouldAnimate = false; - } - isInitialRender = false; - return shouldAnimate ? animate(animations) : Promise.resolve(); - } - /** - * Change whether a certain animation type is active. - */ function setActive(type, isActive) { - // If the active state hasn't changed, we can safely do nothing here - if (state[type].isActive === isActive) return Promise.resolve(); - // Propagate active change to children - visualElement.variantChildren?.forEach((child)=>child.animationState?.setActive(type, isActive)); - state[type].isActive = isActive; - const animations = animateChanges(type); - for(const key in state){ - state[key].protectedKeys = {}; - } - return animations; - } - return { - animateChanges, - setActive, - setAnimateFunction, - getState: ()=>state, - reset: ()=>{ - state = createState(); - /** - * Temporarily disabling resetting this flag as it prevents components - * with initial={false} from animating after being remounted, for instance - * as the child of an Activity component. - */ // isInitialRender = true - } - }; -} -function checkVariantsDidChange(prev, next) { - if (typeof next === "string") { - return next !== prev; - } else if (Array.isArray(next)) { - return !(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$shallow$2d$compare$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["shallowCompare"])(next, prev); - } - return false; -} -function createTypeState(isActive = false) { - return { - isActive, - protectedKeys: {}, - needsAnimating: {}, - prevResolvedValues: {} - }; -} -function createState() { - return { - animate: createTypeState(true), - whileInView: createTypeState(), - whileHover: createTypeState(), - whileTap: createTypeState(), - whileDrag: createTypeState(), - whileFocus: createTypeState(), - exit: createTypeState() - }; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/motion/features/Feature.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "Feature", - ()=>Feature -]); -class Feature { - constructor(node){ - this.isMounted = false; - this.node = node; - } - update() {} -} -; -}), -"[project]/node_modules/framer-motion/dist/es/motion/features/animation/index.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "AnimationFeature", - ()=>AnimationFeature -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$animation$2f$utils$2f$is$2d$animation$2d$controls$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$animation$2d$state$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/utils/animation-state.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$features$2f$Feature$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/motion/features/Feature.mjs [app-client] (ecmascript)"); -; -; -; -class AnimationFeature extends __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$features$2f$Feature$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Feature"] { - /** - * We dynamically generate the AnimationState manager as it contains a reference - * to the underlying animation library. We only want to load that if we load this, - * so people can optionally code split it out using the `m` component. - */ constructor(node){ - super(node); - node.animationState || (node.animationState = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$animation$2d$state$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createAnimationState"])(node)); - } - updateAnimationControlsSubscription() { - const { animate } = this.node.getProps(); - if ((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$animation$2f$utils$2f$is$2d$animation$2d$controls$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isAnimationControls"])(animate)) { - this.unmountControls = animate.subscribe(this.node); - } - } - /** - * Subscribe any provided AnimationControls to the component's VisualElement - */ mount() { - this.updateAnimationControlsSubscription(); - } - update() { - const { animate } = this.node.getProps(); - const { animate: prevAnimate } = this.node.prevProps || {}; - if (animate !== prevAnimate) { - this.updateAnimationControlsSubscription(); - } - } - unmount() { - this.node.animationState.reset(); - this.unmountControls?.(); - } -} -; -}), -"[project]/node_modules/framer-motion/dist/es/motion/features/animation/exit.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "ExitAnimationFeature", - ()=>ExitAnimationFeature -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$features$2f$Feature$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/motion/features/Feature.mjs [app-client] (ecmascript)"); -; -let id = 0; -class ExitAnimationFeature extends __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$features$2f$Feature$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Feature"] { - constructor(){ - super(...arguments); - this.id = id++; - } - update() { - if (!this.node.presenceContext) return; - const { isPresent, onExitComplete } = this.node.presenceContext; - const { isPresent: prevIsPresent } = this.node.prevPresenceContext || {}; - if (!this.node.animationState || isPresent === prevIsPresent) { - return; - } - const exitAnimation = this.node.animationState.setActive("exit", !isPresent); - if (onExitComplete && !isPresent) { - exitAnimation.then(()=>{ - onExitComplete(this.id); - }); - } - } - mount() { - const { register, onExitComplete } = this.node.presenceContext || {}; - if (onExitComplete) { - onExitComplete(this.id); - } - if (register) { - this.unmount = register(this.id); - } - } - unmount() {} -} -; -}), -"[project]/node_modules/framer-motion/dist/es/motion/features/animations.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "animations", - ()=>animations -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$features$2f$animation$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/motion/features/animation/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$features$2f$animation$2f$exit$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/motion/features/animation/exit.mjs [app-client] (ecmascript)"); -; -; -const animations = { - animation: { - Feature: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$features$2f$animation$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["AnimationFeature"] - }, - exit: { - Feature: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$features$2f$animation$2f$exit$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["ExitAnimationFeature"] - } -}; -; -}), -"[project]/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "isDragActive", - ()=>isDragActive, - "isDragging", - ()=>isDragging -]); -const isDragging = { - x: false, - y: false -}; -function isDragActive() { - return isDragging.x || isDragging.y; -} -; -}), -"[project]/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "setDragLock", - ()=>setDragLock -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$gestures$2f$drag$2f$state$2f$is$2d$active$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.mjs [app-client] (ecmascript)"); -; -function setDragLock(axis) { - if (axis === "x" || axis === "y") { - if (__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$gestures$2f$drag$2f$state$2f$is$2d$active$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isDragging"][axis]) { - return null; - } else { - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$gestures$2f$drag$2f$state$2f$is$2d$active$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isDragging"][axis] = true; - return ()=>{ - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$gestures$2f$drag$2f$state$2f$is$2d$active$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isDragging"][axis] = false; - }; - } - } else { - if (__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$gestures$2f$drag$2f$state$2f$is$2d$active$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isDragging"].x || __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$gestures$2f$drag$2f$state$2f$is$2d$active$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isDragging"].y) { - return null; - } else { - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$gestures$2f$drag$2f$state$2f$is$2d$active$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isDragging"].x = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$gestures$2f$drag$2f$state$2f$is$2d$active$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isDragging"].y = true; - return ()=>{ - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$gestures$2f$drag$2f$state$2f$is$2d$active$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isDragging"].x = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$gestures$2f$drag$2f$state$2f$is$2d$active$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isDragging"].y = false; - }; - } - } -} -; -}), -"[project]/node_modules/framer-motion/dist/es/events/add-dom-event.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "addDomEvent", - ()=>addDomEvent -]); -function addDomEvent(target, eventName, handler, options = { - passive: true -}) { - target.addEventListener(eventName, handler, options); - return ()=>target.removeEventListener(eventName, handler); -} -; -}), -"[project]/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "isPrimaryPointer", - ()=>isPrimaryPointer -]); -const isPrimaryPointer = (event)=>{ - if (event.pointerType === "mouse") { - return typeof event.button !== "number" || event.button <= 0; - } else { - /** - * isPrimary is true for all mice buttons, whereas every touch point - * is regarded as its own input. So subsequent concurrent touch points - * will be false. - * - * Specifically match against false here as incomplete versions of - * PointerEvents in very old browser might have it set as undefined. - */ return event.isPrimary !== false; - } -}; -; -}), -"[project]/node_modules/framer-motion/dist/es/events/event-info.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "addPointerInfo", - ()=>addPointerInfo, - "extractEventInfo", - ()=>extractEventInfo -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$gestures$2f$utils$2f$is$2d$primary$2d$pointer$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.mjs [app-client] (ecmascript)"); -; -function extractEventInfo(event) { - return { - point: { - x: event.pageX, - y: event.pageY - } - }; -} -const addPointerInfo = (handler)=>{ - return (event)=>(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$gestures$2f$utils$2f$is$2d$primary$2d$pointer$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isPrimaryPointer"])(event) && handler(event, extractEventInfo(event)); -}; -; -}), -"[project]/node_modules/framer-motion/dist/es/events/add-pointer-event.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "addPointerEvent", - ()=>addPointerEvent -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$events$2f$add$2d$dom$2d$event$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/events/add-dom-event.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$events$2f$event$2d$info$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/events/event-info.mjs [app-client] (ecmascript)"); -; -; -function addPointerEvent(target, eventName, handler, options) { - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$events$2f$add$2d$dom$2d$event$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["addDomEvent"])(target, eventName, (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$events$2f$event$2d$info$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["addPointerInfo"])(handler), options); -} -; -}), -"[project]/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "calcAxisDelta", - ()=>calcAxisDelta, - "calcBoxDelta", - ()=>calcBoxDelta, - "calcLength", - ()=>calcLength, - "calcRelativeAxis", - ()=>calcRelativeAxis, - "calcRelativeAxisPosition", - ()=>calcRelativeAxisPosition, - "calcRelativeBox", - ()=>calcRelativeBox, - "calcRelativePosition", - ()=>calcRelativePosition, - "isNear", - ()=>isNear -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$number$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/utils/mix/number.mjs [app-client] (ecmascript)"); -; -const SCALE_PRECISION = 0.0001; -const SCALE_MIN = 1 - SCALE_PRECISION; -const SCALE_MAX = 1 + SCALE_PRECISION; -const TRANSLATE_PRECISION = 0.01; -const TRANSLATE_MIN = 0 - TRANSLATE_PRECISION; -const TRANSLATE_MAX = 0 + TRANSLATE_PRECISION; -function calcLength(axis) { - return axis.max - axis.min; -} -function isNear(value, target, maxDistance) { - return Math.abs(value - target) <= maxDistance; -} -function calcAxisDelta(delta, source, target, origin = 0.5) { - delta.origin = origin; - delta.originPoint = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$number$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["mixNumber"])(source.min, source.max, delta.origin); - delta.scale = calcLength(target) / calcLength(source); - delta.translate = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$number$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["mixNumber"])(target.min, target.max, delta.origin) - delta.originPoint; - if (delta.scale >= SCALE_MIN && delta.scale <= SCALE_MAX || isNaN(delta.scale)) { - delta.scale = 1.0; - } - if (delta.translate >= TRANSLATE_MIN && delta.translate <= TRANSLATE_MAX || isNaN(delta.translate)) { - delta.translate = 0.0; - } -} -function calcBoxDelta(delta, source, target, origin) { - calcAxisDelta(delta.x, source.x, target.x, origin ? origin.originX : undefined); - calcAxisDelta(delta.y, source.y, target.y, origin ? origin.originY : undefined); -} -function calcRelativeAxis(target, relative, parent) { - target.min = parent.min + relative.min; - target.max = target.min + calcLength(relative); -} -function calcRelativeBox(target, relative, parent) { - calcRelativeAxis(target.x, relative.x, parent.x); - calcRelativeAxis(target.y, relative.y, parent.y); -} -function calcRelativeAxisPosition(target, layout, parent) { - target.min = layout.min - parent.min; - target.max = target.min + calcLength(layout); -} -function calcRelativePosition(target, layout, parent) { - calcRelativeAxisPosition(target.x, layout.x, parent.x); - calcRelativeAxisPosition(target.y, layout.y, parent.y); -} -; -}), -"[project]/node_modules/framer-motion/dist/es/projection/utils/each-axis.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "eachAxis", - ()=>eachAxis -]); -function eachAxis(callback) { - return [ - callback("x"), - callback("y") - ]; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/utils/get-context-window.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "getContextWindow", - ()=>getContextWindow -]); -// Fixes https://github.com/motiondivision/motion/issues/2270 -const getContextWindow = ({ current })=>{ - return current ? current.ownerDocument.defaultView : null; -}; -; -}), -"[project]/node_modules/framer-motion/dist/es/utils/distance.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "distance", - ()=>distance, - "distance2D", - ()=>distance2D -]); -const distance = (a, b)=>Math.abs(a - b); -function distance2D(a, b) { - // Multi-dimensional - const xDelta = distance(a.x, b.x); - const yDelta = distance(a.y, b.y); - return Math.sqrt(xDelta ** 2 + yDelta ** 2); -} -; -}), -"[project]/node_modules/framer-motion/dist/es/gestures/pan/PanSession.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "PanSession", - ()=>PanSession -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/frameloop/frame.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$gestures$2f$utils$2f$is$2d$primary$2d$pointer$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$pipe$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/pipe.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$time$2d$conversion$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/time-conversion.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$events$2f$add$2d$pointer$2d$event$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/events/add-pointer-event.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$events$2f$event$2d$info$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/events/event-info.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$distance$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/utils/distance.mjs [app-client] (ecmascript)"); -; -; -; -; -; -/** - * @internal - */ class PanSession { - constructor(event, handlers, { transformPagePoint, contextWindow = window, dragSnapToOrigin = false, distanceThreshold = 3 } = {}){ - /** - * @internal - */ this.startEvent = null; - /** - * @internal - */ this.lastMoveEvent = null; - /** - * @internal - */ this.lastMoveEventInfo = null; - /** - * @internal - */ this.handlers = {}; - /** - * @internal - */ this.contextWindow = window; - this.updatePoint = ()=>{ - if (!(this.lastMoveEvent && this.lastMoveEventInfo)) return; - const info = getPanInfo(this.lastMoveEventInfo, this.history); - const isPanStarted = this.startEvent !== null; - // Only start panning if the offset is larger than 3 pixels. If we make it - // any larger than this we'll want to reset the pointer history - // on the first update to avoid visual snapping to the cursor. - const isDistancePastThreshold = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$distance$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["distance2D"])(info.offset, { - x: 0, - y: 0 - }) >= this.distanceThreshold; - if (!isPanStarted && !isDistancePastThreshold) return; - const { point } = info; - const { timestamp } = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frameData"]; - this.history.push({ - ...point, - timestamp - }); - const { onStart, onMove } = this.handlers; - if (!isPanStarted) { - onStart && onStart(this.lastMoveEvent, info); - this.startEvent = this.lastMoveEvent; - } - onMove && onMove(this.lastMoveEvent, info); - }; - this.handlePointerMove = (event, info)=>{ - this.lastMoveEvent = event; - this.lastMoveEventInfo = transformPoint(info, this.transformPagePoint); - // Throttle mouse move event to once per frame - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frame"].update(this.updatePoint, true); - }; - this.handlePointerUp = (event, info)=>{ - this.end(); - const { onEnd, onSessionEnd, resumeAnimation } = this.handlers; - if (this.dragSnapToOrigin) resumeAnimation && resumeAnimation(); - if (!(this.lastMoveEvent && this.lastMoveEventInfo)) return; - const panInfo = getPanInfo(event.type === "pointercancel" ? this.lastMoveEventInfo : transformPoint(info, this.transformPagePoint), this.history); - if (this.startEvent && onEnd) { - onEnd(event, panInfo); - } - onSessionEnd && onSessionEnd(event, panInfo); - }; - // If we have more than one touch, don't start detecting this gesture - if (!(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$gestures$2f$utils$2f$is$2d$primary$2d$pointer$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isPrimaryPointer"])(event)) return; - this.dragSnapToOrigin = dragSnapToOrigin; - this.handlers = handlers; - this.transformPagePoint = transformPagePoint; - this.distanceThreshold = distanceThreshold; - this.contextWindow = contextWindow || window; - const info = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$events$2f$event$2d$info$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["extractEventInfo"])(event); - const initialInfo = transformPoint(info, this.transformPagePoint); - const { point } = initialInfo; - const { timestamp } = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frameData"]; - this.history = [ - { - ...point, - timestamp - } - ]; - const { onSessionStart } = handlers; - onSessionStart && onSessionStart(event, getPanInfo(initialInfo, this.history)); - this.removeListeners = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$pipe$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["pipe"])((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$events$2f$add$2d$pointer$2d$event$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["addPointerEvent"])(this.contextWindow, "pointermove", this.handlePointerMove), (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$events$2f$add$2d$pointer$2d$event$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["addPointerEvent"])(this.contextWindow, "pointerup", this.handlePointerUp), (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$events$2f$add$2d$pointer$2d$event$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["addPointerEvent"])(this.contextWindow, "pointercancel", this.handlePointerUp)); - } - updateHandlers(handlers) { - this.handlers = handlers; - } - end() { - this.removeListeners && this.removeListeners(); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["cancelFrame"])(this.updatePoint); - } -} -function transformPoint(info, transformPagePoint) { - return transformPagePoint ? { - point: transformPagePoint(info.point) - } : info; -} -function subtractPoint(a, b) { - return { - x: a.x - b.x, - y: a.y - b.y - }; -} -function getPanInfo({ point }, history) { - return { - point, - delta: subtractPoint(point, lastDevicePoint(history)), - offset: subtractPoint(point, startDevicePoint(history)), - velocity: getVelocity(history, 0.1) - }; -} -function startDevicePoint(history) { - return history[0]; -} -function lastDevicePoint(history) { - return history[history.length - 1]; -} -function getVelocity(history, timeDelta) { - if (history.length < 2) { - return { - x: 0, - y: 0 - }; - } - let i = history.length - 1; - let timestampedPoint = null; - const lastPoint = lastDevicePoint(history); - while(i >= 0){ - timestampedPoint = history[i]; - if (lastPoint.timestamp - timestampedPoint.timestamp > (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$time$2d$conversion$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["secondsToMilliseconds"])(timeDelta)) { - break; - } - i--; - } - if (!timestampedPoint) { - return { - x: 0, - y: 0 - }; - } - const time = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$time$2d$conversion$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["millisecondsToSeconds"])(lastPoint.timestamp - timestampedPoint.timestamp); - if (time === 0) { - return { - x: 0, - y: 0 - }; - } - const currentVelocity = { - x: (lastPoint.x - timestampedPoint.x) / time, - y: (lastPoint.y - timestampedPoint.y) / time - }; - if (currentVelocity.x === Infinity) { - currentVelocity.x = 0; - } - if (currentVelocity.y === Infinity) { - currentVelocity.y = 0; - } - return currentVelocity; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "applyConstraints", - ()=>applyConstraints, - "calcOrigin", - ()=>calcOrigin, - "calcRelativeAxisConstraints", - ()=>calcRelativeAxisConstraints, - "calcRelativeConstraints", - ()=>calcRelativeConstraints, - "calcViewportAxisConstraints", - ()=>calcViewportAxisConstraints, - "calcViewportConstraints", - ()=>calcViewportConstraints, - "defaultElastic", - ()=>defaultElastic, - "rebaseAxisConstraints", - ()=>rebaseAxisConstraints, - "resolveAxisElastic", - ()=>resolveAxisElastic, - "resolveDragElastic", - ()=>resolveDragElastic, - "resolvePointElastic", - ()=>resolvePointElastic -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$number$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/utils/mix/number.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$progress$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/progress.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$clamp$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/clamp.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$delta$2d$calc$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.mjs [app-client] (ecmascript)"); -; -; -; -/** - * Apply constraints to a point. These constraints are both physical along an - * axis, and an elastic factor that determines how much to constrain the point - * by if it does lie outside the defined parameters. - */ function applyConstraints(point, { min, max }, elastic) { - if (min !== undefined && point < min) { - // If we have a min point defined, and this is outside of that, constrain - point = elastic ? (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$number$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["mixNumber"])(min, point, elastic.min) : Math.max(point, min); - } else if (max !== undefined && point > max) { - // If we have a max point defined, and this is outside of that, constrain - point = elastic ? (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$number$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["mixNumber"])(max, point, elastic.max) : Math.min(point, max); - } - return point; -} -/** - * Calculate constraints in terms of the viewport when defined relatively to the - * measured axis. This is measured from the nearest edge, so a max constraint of 200 - * on an axis with a max value of 300 would return a constraint of 500 - axis length - */ function calcRelativeAxisConstraints(axis, min, max) { - return { - min: min !== undefined ? axis.min + min : undefined, - max: max !== undefined ? axis.max + max - (axis.max - axis.min) : undefined - }; -} -/** - * Calculate constraints in terms of the viewport when - * defined relatively to the measured bounding box. - */ function calcRelativeConstraints(layoutBox, { top, left, bottom, right }) { - return { - x: calcRelativeAxisConstraints(layoutBox.x, left, right), - y: calcRelativeAxisConstraints(layoutBox.y, top, bottom) - }; -} -/** - * Calculate viewport constraints when defined as another viewport-relative axis - */ function calcViewportAxisConstraints(layoutAxis, constraintsAxis) { - let min = constraintsAxis.min - layoutAxis.min; - let max = constraintsAxis.max - layoutAxis.max; - // If the constraints axis is actually smaller than the layout axis then we can - // flip the constraints - if (constraintsAxis.max - constraintsAxis.min < layoutAxis.max - layoutAxis.min) { - [min, max] = [ - max, - min - ]; - } - return { - min, - max - }; -} -/** - * Calculate viewport constraints when defined as another viewport-relative box - */ function calcViewportConstraints(layoutBox, constraintsBox) { - return { - x: calcViewportAxisConstraints(layoutBox.x, constraintsBox.x), - y: calcViewportAxisConstraints(layoutBox.y, constraintsBox.y) - }; -} -/** - * Calculate a transform origin relative to the source axis, between 0-1, that results - * in an asthetically pleasing scale/transform needed to project from source to target. - */ function calcOrigin(source, target) { - let origin = 0.5; - const sourceLength = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$delta$2d$calc$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["calcLength"])(source); - const targetLength = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$delta$2d$calc$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["calcLength"])(target); - if (targetLength > sourceLength) { - origin = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$progress$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["progress"])(target.min, target.max - sourceLength, source.min); - } else if (sourceLength > targetLength) { - origin = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$progress$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["progress"])(source.min, source.max - targetLength, target.min); - } - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$clamp$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["clamp"])(0, 1, origin); -} -/** - * Rebase the calculated viewport constraints relative to the layout.min point. - */ function rebaseAxisConstraints(layout, constraints) { - const relativeConstraints = {}; - if (constraints.min !== undefined) { - relativeConstraints.min = constraints.min - layout.min; - } - if (constraints.max !== undefined) { - relativeConstraints.max = constraints.max - layout.min; - } - return relativeConstraints; -} -const defaultElastic = 0.35; -/** - * Accepts a dragElastic prop and returns resolved elastic values for each axis. - */ function resolveDragElastic(dragElastic = defaultElastic) { - if (dragElastic === false) { - dragElastic = 0; - } else if (dragElastic === true) { - dragElastic = defaultElastic; - } - return { - x: resolveAxisElastic(dragElastic, "left", "right"), - y: resolveAxisElastic(dragElastic, "top", "bottom") - }; -} -function resolveAxisElastic(dragElastic, minLabel, maxLabel) { - return { - min: resolvePointElastic(dragElastic, minLabel), - max: resolvePointElastic(dragElastic, maxLabel) - }; -} -function resolvePointElastic(dragElastic, label) { - return typeof dragElastic === "number" ? dragElastic : dragElastic[label] || 0; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "VisualElementDragControls", - ()=>VisualElementDragControls, - "elementDragControls", - ()=>elementDragControls -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/frameloop/frame.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$number$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/utils/mix/number.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$gestures$2f$drag$2f$state$2f$set$2d$active$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/numbers/units.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$errors$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/errors.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$animation$2f$interfaces$2f$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$events$2f$add$2d$dom$2d$event$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/events/add-dom-event.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$events$2f$add$2d$pointer$2d$event$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/events/add-pointer-event.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$events$2f$event$2d$info$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/events/event-info.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$conversion$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/projection/geometry/conversion.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$delta$2d$calc$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$models$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/projection/geometry/models.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$utils$2f$each$2d$axis$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/projection/utils/each-axis.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$utils$2f$measure$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/projection/utils/measure.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$get$2d$context$2d$window$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/utils/get-context-window.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$is$2d$ref$2d$object$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/utils/is-ref-object.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$value$2f$use$2d$will$2d$change$2f$add$2d$will$2d$change$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/value/use-will-change/add-will-change.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$gestures$2f$pan$2f$PanSession$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/gestures/pan/PanSession.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$gestures$2f$drag$2f$utils$2f$constraints$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.mjs [app-client] (ecmascript)"); -; -; -; -; -; -; -; -; -; -; -; -; -; -; -; -; -const elementDragControls = new WeakMap(); -class VisualElementDragControls { - constructor(visualElement){ - this.openDragLock = null; - this.isDragging = false; - this.currentDirection = null; - this.originPoint = { - x: 0, - y: 0 - }; - /** - * The permitted boundaries of travel, in pixels. - */ this.constraints = false; - this.hasMutatedConstraints = false; - /** - * The per-axis resolved elastic values. - */ this.elastic = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$models$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createBox"])(); - /** - * The latest pointer event. Used as fallback when the `cancel` and `stop` functions are called without arguments. - */ this.latestPointerEvent = null; - /** - * The latest pan info. Used as fallback when the `cancel` and `stop` functions are called without arguments. - */ this.latestPanInfo = null; - this.visualElement = visualElement; - } - start(originEvent, { snapToCursor = false, distanceThreshold } = {}) { - /** - * Don't start dragging if this component is exiting - */ const { presenceContext } = this.visualElement; - if (presenceContext && presenceContext.isPresent === false) return; - const onSessionStart = (event)=>{ - const { dragSnapToOrigin } = this.getProps(); - // Stop or pause any animations on both axis values immediately. This allows the user to throw and catch - // the component. - dragSnapToOrigin ? this.pauseAnimation() : this.stopAnimation(); - if (snapToCursor) { - this.snapToCursor((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$events$2f$event$2d$info$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["extractEventInfo"])(event).point); - } - }; - const onStart = (event, info)=>{ - // Attempt to grab the global drag gesture lock - maybe make this part of PanSession - const { drag, dragPropagation, onDragStart } = this.getProps(); - if (drag && !dragPropagation) { - if (this.openDragLock) this.openDragLock(); - this.openDragLock = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$gestures$2f$drag$2f$state$2f$set$2d$active$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["setDragLock"])(drag); - // If we don 't have the lock, don't start dragging - if (!this.openDragLock) return; - } - this.latestPointerEvent = event; - this.latestPanInfo = info; - this.isDragging = true; - this.currentDirection = null; - this.resolveConstraints(); - if (this.visualElement.projection) { - this.visualElement.projection.isAnimationBlocked = true; - this.visualElement.projection.target = undefined; - } - /** - * Record gesture origin - */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$utils$2f$each$2d$axis$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["eachAxis"])((axis)=>{ - let current = this.getAxisMotionValue(axis).get() || 0; - /** - * If the MotionValue is a percentage value convert to px - */ if (__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["percent"].test(current)) { - const { projection } = this.visualElement; - if (projection && projection.layout) { - const measuredAxis = projection.layout.layoutBox[axis]; - if (measuredAxis) { - const length = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$delta$2d$calc$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["calcLength"])(measuredAxis); - current = length * (parseFloat(current) / 100); - } - } - } - this.originPoint[axis] = current; - }); - // Fire onDragStart event - if (onDragStart) { - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frame"].postRender(()=>onDragStart(event, info)); - } - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$value$2f$use$2d$will$2d$change$2f$add$2d$will$2d$change$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["addValueToWillChange"])(this.visualElement, "transform"); - const { animationState } = this.visualElement; - animationState && animationState.setActive("whileDrag", true); - }; - const onMove = (event, info)=>{ - this.latestPointerEvent = event; - this.latestPanInfo = info; - const { dragPropagation, dragDirectionLock, onDirectionLock, onDrag } = this.getProps(); - // If we didn't successfully receive the gesture lock, early return. - if (!dragPropagation && !this.openDragLock) return; - const { offset } = info; - // Attempt to detect drag direction if directionLock is true - if (dragDirectionLock && this.currentDirection === null) { - this.currentDirection = getCurrentDirection(offset); - // If we've successfully set a direction, notify listener - if (this.currentDirection !== null) { - onDirectionLock && onDirectionLock(this.currentDirection); - } - return; - } - // Update each point with the latest position - this.updateAxis("x", info.point, offset); - this.updateAxis("y", info.point, offset); - /** - * Ideally we would leave the renderer to fire naturally at the end of - * this frame but if the element is about to change layout as the result - * of a re-render we want to ensure the browser can read the latest - * bounding box to ensure the pointer and element don't fall out of sync. - */ this.visualElement.render(); - /** - * This must fire after the render call as it might trigger a state - * change which itself might trigger a layout update. - */ onDrag && onDrag(event, info); - }; - const onSessionEnd = (event, info)=>{ - this.latestPointerEvent = event; - this.latestPanInfo = info; - this.stop(event, info); - this.latestPointerEvent = null; - this.latestPanInfo = null; - }; - const resumeAnimation = ()=>(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$utils$2f$each$2d$axis$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["eachAxis"])((axis)=>this.getAnimationState(axis) === "paused" && this.getAxisMotionValue(axis).animation?.play()); - const { dragSnapToOrigin } = this.getProps(); - this.panSession = new __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$gestures$2f$pan$2f$PanSession$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["PanSession"](originEvent, { - onSessionStart, - onStart, - onMove, - onSessionEnd, - resumeAnimation - }, { - transformPagePoint: this.visualElement.getTransformPagePoint(), - dragSnapToOrigin, - distanceThreshold, - contextWindow: (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$get$2d$context$2d$window$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getContextWindow"])(this.visualElement) - }); - } - /** - * @internal - */ stop(event, panInfo) { - const finalEvent = event || this.latestPointerEvent; - const finalPanInfo = panInfo || this.latestPanInfo; - const isDragging = this.isDragging; - this.cancel(); - if (!isDragging || !finalPanInfo || !finalEvent) return; - const { velocity } = finalPanInfo; - this.startAnimation(velocity); - const { onDragEnd } = this.getProps(); - if (onDragEnd) { - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frame"].postRender(()=>onDragEnd(finalEvent, finalPanInfo)); - } - } - /** - * @internal - */ cancel() { - this.isDragging = false; - const { projection, animationState } = this.visualElement; - if (projection) { - projection.isAnimationBlocked = false; - } - this.panSession && this.panSession.end(); - this.panSession = undefined; - const { dragPropagation } = this.getProps(); - if (!dragPropagation && this.openDragLock) { - this.openDragLock(); - this.openDragLock = null; - } - animationState && animationState.setActive("whileDrag", false); - } - updateAxis(axis, _point, offset) { - const { drag } = this.getProps(); - // If we're not dragging this axis, do an early return. - if (!offset || !shouldDrag(axis, drag, this.currentDirection)) return; - const axisValue = this.getAxisMotionValue(axis); - let next = this.originPoint[axis] + offset[axis]; - // Apply constraints - if (this.constraints && this.constraints[axis]) { - next = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$gestures$2f$drag$2f$utils$2f$constraints$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["applyConstraints"])(next, this.constraints[axis], this.elastic[axis]); - } - axisValue.set(next); - } - resolveConstraints() { - const { dragConstraints, dragElastic } = this.getProps(); - const layout = this.visualElement.projection && !this.visualElement.projection.layout ? this.visualElement.projection.measure(false) : this.visualElement.projection?.layout; - const prevConstraints = this.constraints; - if (dragConstraints && (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$is$2d$ref$2d$object$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isRefObject"])(dragConstraints)) { - if (!this.constraints) { - this.constraints = this.resolveRefConstraints(); - } - } else { - if (dragConstraints && layout) { - this.constraints = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$gestures$2f$drag$2f$utils$2f$constraints$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["calcRelativeConstraints"])(layout.layoutBox, dragConstraints); - } else { - this.constraints = false; - } - } - this.elastic = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$gestures$2f$drag$2f$utils$2f$constraints$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["resolveDragElastic"])(dragElastic); - /** - * If we're outputting to external MotionValues, we want to rebase the measured constraints - * from viewport-relative to component-relative. - */ if (prevConstraints !== this.constraints && layout && this.constraints && !this.hasMutatedConstraints) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$utils$2f$each$2d$axis$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["eachAxis"])((axis)=>{ - if (this.constraints !== false && this.getAxisMotionValue(axis)) { - this.constraints[axis] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$gestures$2f$drag$2f$utils$2f$constraints$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["rebaseAxisConstraints"])(layout.layoutBox[axis], this.constraints[axis]); - } - }); - } - } - resolveRefConstraints() { - const { dragConstraints: constraints, onMeasureDragConstraints } = this.getProps(); - if (!constraints || !(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$is$2d$ref$2d$object$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isRefObject"])(constraints)) return false; - const constraintsElement = constraints.current; - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$errors$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["invariant"])(constraintsElement !== null, "If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.", "drag-constraints-ref"); - const { projection } = this.visualElement; - // TODO - if (!projection || !projection.layout) return false; - const constraintsBox = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$utils$2f$measure$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["measurePageBox"])(constraintsElement, projection.root, this.visualElement.getTransformPagePoint()); - let measuredConstraints = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$gestures$2f$drag$2f$utils$2f$constraints$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["calcViewportConstraints"])(projection.layout.layoutBox, constraintsBox); - /** - * If there's an onMeasureDragConstraints listener we call it and - * if different constraints are returned, set constraints to that - */ if (onMeasureDragConstraints) { - const userConstraints = onMeasureDragConstraints((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$conversion$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["convertBoxToBoundingBox"])(measuredConstraints)); - this.hasMutatedConstraints = !!userConstraints; - if (userConstraints) { - measuredConstraints = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$conversion$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["convertBoundingBoxToBox"])(userConstraints); - } - } - return measuredConstraints; - } - startAnimation(velocity) { - const { drag, dragMomentum, dragElastic, dragTransition, dragSnapToOrigin, onDragTransitionEnd } = this.getProps(); - const constraints = this.constraints || {}; - const momentumAnimations = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$utils$2f$each$2d$axis$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["eachAxis"])((axis)=>{ - if (!shouldDrag(axis, drag, this.currentDirection)) { - return; - } - let transition = constraints && constraints[axis] || {}; - if (dragSnapToOrigin) transition = { - min: 0, - max: 0 - }; - /** - * Overdamp the boundary spring if `dragElastic` is disabled. There's still a frame - * of spring animations so we should look into adding a disable spring option to `inertia`. - * We could do something here where we affect the `bounceStiffness` and `bounceDamping` - * using the value of `dragElastic`. - */ const bounceStiffness = dragElastic ? 200 : 1000000; - const bounceDamping = dragElastic ? 40 : 10000000; - const inertia = { - type: "inertia", - velocity: dragMomentum ? velocity[axis] : 0, - bounceStiffness, - bounceDamping, - timeConstant: 750, - restDelta: 1, - restSpeed: 10, - ...dragTransition, - ...transition - }; - // If we're not animating on an externally-provided `MotionValue` we can use the - // component's animation controls which will handle interactions with whileHover (etc), - // otherwise we just have to animate the `MotionValue` itself. - return this.startAxisValueAnimation(axis, inertia); - }); - // Run all animations and then resolve the new drag constraints. - return Promise.all(momentumAnimations).then(onDragTransitionEnd); - } - startAxisValueAnimation(axis, transition) { - const axisValue = this.getAxisMotionValue(axis); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$value$2f$use$2d$will$2d$change$2f$add$2d$will$2d$change$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["addValueToWillChange"])(this.visualElement, axis); - return axisValue.start((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$animation$2f$interfaces$2f$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["animateMotionValue"])(axis, axisValue, 0, transition, this.visualElement, false)); - } - stopAnimation() { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$utils$2f$each$2d$axis$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["eachAxis"])((axis)=>this.getAxisMotionValue(axis).stop()); - } - pauseAnimation() { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$utils$2f$each$2d$axis$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["eachAxis"])((axis)=>this.getAxisMotionValue(axis).animation?.pause()); - } - getAnimationState(axis) { - return this.getAxisMotionValue(axis).animation?.state; - } - /** - * Drag works differently depending on which props are provided. - * - * - If _dragX and _dragY are provided, we output the gesture delta directly to those motion values. - * - Otherwise, we apply the delta to the x/y motion values. - */ getAxisMotionValue(axis) { - const dragKey = `_drag${axis.toUpperCase()}`; - const props = this.visualElement.getProps(); - const externalMotionValue = props[dragKey]; - return externalMotionValue ? externalMotionValue : this.visualElement.getValue(axis, (props.initial ? props.initial[axis] : undefined) || 0); - } - snapToCursor(point) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$utils$2f$each$2d$axis$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["eachAxis"])((axis)=>{ - const { drag } = this.getProps(); - // If we're not dragging this axis, do an early return. - if (!shouldDrag(axis, drag, this.currentDirection)) return; - const { projection } = this.visualElement; - const axisValue = this.getAxisMotionValue(axis); - if (projection && projection.layout) { - const { min, max } = projection.layout.layoutBox[axis]; - axisValue.set(point[axis] - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$number$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["mixNumber"])(min, max, 0.5)); - } - }); - } - /** - * When the viewport resizes we want to check if the measured constraints - * have changed and, if so, reposition the element within those new constraints - * relative to where it was before the resize. - */ scalePositionWithinConstraints() { - if (!this.visualElement.current) return; - const { drag, dragConstraints } = this.getProps(); - const { projection } = this.visualElement; - if (!(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$is$2d$ref$2d$object$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isRefObject"])(dragConstraints) || !projection || !this.constraints) return; - /** - * Stop current animations as there can be visual glitching if we try to do - * this mid-animation - */ this.stopAnimation(); - /** - * Record the relative position of the dragged element relative to the - * constraints box and save as a progress value. - */ const boxProgress = { - x: 0, - y: 0 - }; - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$utils$2f$each$2d$axis$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["eachAxis"])((axis)=>{ - const axisValue = this.getAxisMotionValue(axis); - if (axisValue && this.constraints !== false) { - const latest = axisValue.get(); - boxProgress[axis] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$gestures$2f$drag$2f$utils$2f$constraints$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["calcOrigin"])({ - min: latest, - max: latest - }, this.constraints[axis]); - } - }); - /** - * Update the layout of this element and resolve the latest drag constraints - */ const { transformTemplate } = this.visualElement.getProps(); - this.visualElement.current.style.transform = transformTemplate ? transformTemplate({}, "") : "none"; - projection.root && projection.root.updateScroll(); - projection.updateLayout(); - this.resolveConstraints(); - /** - * For each axis, calculate the current progress of the layout axis - * within the new constraints. - */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$utils$2f$each$2d$axis$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["eachAxis"])((axis)=>{ - if (!shouldDrag(axis, drag, null)) return; - /** - * Calculate a new transform based on the previous box progress - */ const axisValue = this.getAxisMotionValue(axis); - const { min, max } = this.constraints[axis]; - axisValue.set((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$number$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["mixNumber"])(min, max, boxProgress[axis])); - }); - } - addListeners() { - if (!this.visualElement.current) return; - elementDragControls.set(this.visualElement, this); - const element = this.visualElement.current; - /** - * Attach a pointerdown event listener on this DOM element to initiate drag tracking. - */ const stopPointerListener = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$events$2f$add$2d$pointer$2d$event$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["addPointerEvent"])(element, "pointerdown", (event)=>{ - const { drag, dragListener = true } = this.getProps(); - drag && dragListener && this.start(event); - }); - const measureDragConstraints = ()=>{ - const { dragConstraints } = this.getProps(); - if ((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$is$2d$ref$2d$object$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isRefObject"])(dragConstraints) && dragConstraints.current) { - this.constraints = this.resolveRefConstraints(); - } - }; - const { projection } = this.visualElement; - const stopMeasureLayoutListener = projection.addEventListener("measure", measureDragConstraints); - if (projection && !projection.layout) { - projection.root && projection.root.updateScroll(); - projection.updateLayout(); - } - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frame"].read(measureDragConstraints); - /** - * Attach a window resize listener to scale the draggable target within its defined - * constraints as the window resizes. - */ const stopResizeListener = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$events$2f$add$2d$dom$2d$event$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["addDomEvent"])(window, "resize", ()=>this.scalePositionWithinConstraints()); - /** - * If the element's layout changes, calculate the delta and apply that to - * the drag gesture's origin point. - */ const stopLayoutUpdateListener = projection.addEventListener("didUpdate", ({ delta, hasLayoutChanged })=>{ - if (this.isDragging && hasLayoutChanged) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$utils$2f$each$2d$axis$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["eachAxis"])((axis)=>{ - const motionValue = this.getAxisMotionValue(axis); - if (!motionValue) return; - this.originPoint[axis] += delta[axis].translate; - motionValue.set(motionValue.get() + delta[axis].translate); - }); - this.visualElement.render(); - } - }); - return ()=>{ - stopResizeListener(); - stopPointerListener(); - stopMeasureLayoutListener(); - stopLayoutUpdateListener && stopLayoutUpdateListener(); - }; - } - getProps() { - const props = this.visualElement.getProps(); - const { drag = false, dragDirectionLock = false, dragPropagation = false, dragConstraints = false, dragElastic = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$gestures$2f$drag$2f$utils$2f$constraints$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["defaultElastic"], dragMomentum = true } = props; - return { - ...props, - drag, - dragDirectionLock, - dragPropagation, - dragConstraints, - dragElastic, - dragMomentum - }; - } -} -function shouldDrag(direction, drag, currentDirection) { - return (drag === true || drag === direction) && (currentDirection === null || currentDirection === direction); -} -/** - * Based on an x/y offset determine the current drag direction. If both axis' offsets are lower - * than the provided threshold, return `null`. - * - * @param offset - The x/y offset from origin. - * @param lockThreshold - (Optional) - the minimum absolute offset before we can determine a drag direction. - */ function getCurrentDirection(offset, lockThreshold = 10) { - let direction = null; - if (Math.abs(offset.y) > lockThreshold) { - direction = "y"; - } else if (Math.abs(offset.x) > lockThreshold) { - direction = "x"; - } - return direction; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/gestures/drag/index.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "DragGesture", - ()=>DragGesture -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$features$2f$Feature$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/motion/features/Feature.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$noop$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/noop.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$gestures$2f$drag$2f$VisualElementDragControls$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.mjs [app-client] (ecmascript)"); -; -; -; -class DragGesture extends __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$features$2f$Feature$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Feature"] { - constructor(node){ - super(node); - this.removeGroupControls = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$noop$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["noop"]; - this.removeListeners = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$noop$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["noop"]; - this.controls = new __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$gestures$2f$drag$2f$VisualElementDragControls$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["VisualElementDragControls"](node); - } - mount() { - // If we've been provided a DragControls for manual control over the drag gesture, - // subscribe this component to it on mount. - const { dragControls } = this.node.getProps(); - if (dragControls) { - this.removeGroupControls = dragControls.subscribe(this.controls); - } - this.removeListeners = this.controls.addListeners() || __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$noop$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["noop"]; - } - unmount() { - this.removeGroupControls(); - this.removeListeners(); - } -} -; -}), -"[project]/node_modules/framer-motion/dist/es/gestures/pan/index.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "PanGesture", - ()=>PanGesture -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/frameloop/frame.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$noop$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/noop.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$events$2f$add$2d$pointer$2d$event$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/events/add-pointer-event.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$features$2f$Feature$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/motion/features/Feature.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$get$2d$context$2d$window$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/utils/get-context-window.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$gestures$2f$pan$2f$PanSession$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/gestures/pan/PanSession.mjs [app-client] (ecmascript)"); -; -; -; -; -; -; -const asyncHandler = (handler)=>(event, info)=>{ - if (handler) { - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frame"].postRender(()=>handler(event, info)); - } - }; -class PanGesture extends __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$features$2f$Feature$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Feature"] { - constructor(){ - super(...arguments); - this.removePointerDownListener = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$noop$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["noop"]; - } - onPointerDown(pointerDownEvent) { - this.session = new __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$gestures$2f$pan$2f$PanSession$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["PanSession"](pointerDownEvent, this.createPanHandlers(), { - transformPagePoint: this.node.getTransformPagePoint(), - contextWindow: (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$get$2d$context$2d$window$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getContextWindow"])(this.node) - }); - } - createPanHandlers() { - const { onPanSessionStart, onPanStart, onPan, onPanEnd } = this.node.getProps(); - return { - onSessionStart: asyncHandler(onPanSessionStart), - onStart: asyncHandler(onPanStart), - onMove: onPan, - onEnd: (event, info)=>{ - delete this.session; - if (onPanEnd) { - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frame"].postRender(()=>onPanEnd(event, info)); - } - } - }; - } - mount() { - this.removePointerDownListener = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$events$2f$add$2d$pointer$2d$event$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["addPointerEvent"])(this.node.current, "pointerdown", (event)=>this.onPointerDown(event)); - } - update() { - this.session && this.session.updateHandlers(this.createPanHandlers()); - } - unmount() { - this.removePointerDownListener(); - this.session && this.session.end(); - } -} -; -}), -"[project]/node_modules/framer-motion/dist/es/projection/node/state.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "globalProjectionState", - ()=>globalProjectionState -]); -/** - * This should only ever be modified on the client otherwise it'll - * persist through server requests. If we need instanced states we - * could lazy-init via root. - */ const globalProjectionState = { - /** - * Global flag as to whether the tree has animated since the last time - * we resized the window - */ hasAnimatedSinceResize: true, - /** - * We set this to true once, on the first update. Any nodes added to the tree beyond that - * update will be given a `data-projection-id` attribute. - */ hasEverUpdated: false -}; -; -}), -"[project]/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "MeasureLayout", - ()=>MeasureLayout -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/jsx-runtime.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/frameloop/frame.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$microtask$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/frameloop/microtask.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$components$2f$AnimatePresence$2f$use$2d$presence$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$context$2f$LayoutGroupContext$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/context/LayoutGroupContext.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$context$2f$SwitchLayoutGroupContext$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$node$2f$state$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/projection/node/state.mjs [app-client] (ecmascript)"); -"use client"; -; -; -; -; -; -; -; -/** - * Track whether we've taken any snapshots yet. If not, - * we can safely skip notification of didUpdate. - * - * Difficult to capture in a test but to prevent flickering - * we must set this to true either on update or unmount. - * Running `next-env/layout-id` in Safari will show this behaviour if broken. - */ let hasTakenAnySnapshot = false; -class MeasureLayoutWithContext extends __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Component"] { - /** - * This only mounts projection nodes for components that - * need measuring, we might want to do it for all components - * in order to incorporate transforms - */ componentDidMount() { - const { visualElement, layoutGroup, switchLayoutGroup, layoutId } = this.props; - const { projection } = visualElement; - if (projection) { - if (layoutGroup.group) layoutGroup.group.add(projection); - if (switchLayoutGroup && switchLayoutGroup.register && layoutId) { - switchLayoutGroup.register(projection); - } - if (hasTakenAnySnapshot) { - projection.root.didUpdate(); - } - projection.addEventListener("animationComplete", ()=>{ - this.safeToRemove(); - }); - projection.setOptions({ - ...projection.options, - onExitComplete: ()=>this.safeToRemove() - }); - } - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$node$2f$state$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["globalProjectionState"].hasEverUpdated = true; - } - getSnapshotBeforeUpdate(prevProps) { - const { layoutDependency, visualElement, drag, isPresent } = this.props; - const { projection } = visualElement; - if (!projection) return null; - /** - * TODO: We use this data in relegate to determine whether to - * promote a previous element. There's no guarantee its presence data - * will have updated by this point - if a bug like this arises it will - * have to be that we markForRelegation and then find a new lead some other way, - * perhaps in didUpdate - */ projection.isPresent = isPresent; - hasTakenAnySnapshot = true; - if (drag || prevProps.layoutDependency !== layoutDependency || layoutDependency === undefined || prevProps.isPresent !== isPresent) { - projection.willUpdate(); - } else { - this.safeToRemove(); - } - if (prevProps.isPresent !== isPresent) { - if (isPresent) { - projection.promote(); - } else if (!projection.relegate()) { - /** - * If there's another stack member taking over from this one, - * it's in charge of the exit animation and therefore should - * be in charge of the safe to remove. Otherwise we call it here. - */ __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frame"].postRender(()=>{ - const stack = projection.getStack(); - if (!stack || !stack.members.length) { - this.safeToRemove(); - } - }); - } - } - return null; - } - componentDidUpdate() { - const { projection } = this.props.visualElement; - if (projection) { - projection.root.didUpdate(); - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$microtask$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["microtask"].postRender(()=>{ - if (!projection.currentAnimation && projection.isLead()) { - this.safeToRemove(); - } - }); - } - } - componentWillUnmount() { - const { visualElement, layoutGroup, switchLayoutGroup: promoteContext } = this.props; - const { projection } = visualElement; - hasTakenAnySnapshot = true; - if (projection) { - projection.scheduleCheckAfterUnmount(); - if (layoutGroup && layoutGroup.group) layoutGroup.group.remove(projection); - if (promoteContext && promoteContext.deregister) promoteContext.deregister(projection); - } - } - safeToRemove() { - const { safeToRemove } = this.props; - safeToRemove && safeToRemove(); - } - render() { - return null; - } -} -function MeasureLayout(props) { - const [isPresent, safeToRemove] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$components$2f$AnimatePresence$2f$use$2d$presence$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["usePresence"])(); - const layoutGroup = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useContext"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$context$2f$LayoutGroupContext$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["LayoutGroupContext"]); - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(MeasureLayoutWithContext, { - ...props, - layoutGroup: layoutGroup, - switchLayoutGroup: (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useContext"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$context$2f$SwitchLayoutGroupContext$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["SwitchLayoutGroupContext"]), - isPresent: isPresent, - safeToRemove: safeToRemove - }); -} -; -}), -"[project]/node_modules/motion-dom/dist/es/utils/is-svg-element.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "isSVGElement", - ()=>isSVGElement -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$is$2d$object$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/is-object.mjs [app-client] (ecmascript)"); -; -/** - * Checks if an element is an SVG element in a way - * that works across iframes - */ function isSVGElement(element) { - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$is$2d$object$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isObject"])(element) && "ownerSVGElement" in element; -} -; -}), -"[project]/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "isSVGSVGElement", - ()=>isSVGSVGElement -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$is$2d$svg$2d$element$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/utils/is-svg-element.mjs [app-client] (ecmascript)"); -; -/** - * Checks if an element is specifically an SVGSVGElement (the root SVG element) - * in a way that works across iframes - */ function isSVGSVGElement(element) { - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$is$2d$svg$2d$element$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isSVGElement"])(element) && element.tagName === "svg"; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/animation/animate/single-value.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "animateSingleValue", - ()=>animateSingleValue -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$utils$2f$is$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/utils/is-motion-value.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$animation$2f$interfaces$2f$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.mjs [app-client] (ecmascript)"); -; -; -function animateSingleValue(value, keyframes, options) { - const motionValue$1 = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$utils$2f$is$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isMotionValue"])(value) ? value : (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["motionValue"])(value); - motionValue$1.start((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$animation$2f$interfaces$2f$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["animateMotionValue"])("", motionValue$1, keyframes, options)); - return motionValue$1.animation; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/render/utils/compare-by-depth.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "compareByDepth", - ()=>compareByDepth -]); -const compareByDepth = (a, b)=>a.depth - b.depth; -; -}), -"[project]/node_modules/framer-motion/dist/es/render/utils/flat-tree.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "FlatTree", - ()=>FlatTree -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$array$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/array.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$compare$2d$by$2d$depth$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/utils/compare-by-depth.mjs [app-client] (ecmascript)"); -; -; -class FlatTree { - constructor(){ - this.children = []; - this.isDirty = false; - } - add(child) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$array$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["addUniqueItem"])(this.children, child); - this.isDirty = true; - } - remove(child) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$array$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["removeItem"])(this.children, child); - this.isDirty = true; - } - forEach(callback) { - this.isDirty && this.children.sort(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$compare$2d$by$2d$depth$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["compareByDepth"]); - this.isDirty = false; - this.children.forEach(callback); - } -} -; -}), -"[project]/node_modules/framer-motion/dist/es/utils/delay.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "delay", - ()=>delay, - "delayInSeconds", - ()=>delayInSeconds -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$sync$2d$time$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/frameloop/sync-time.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/frameloop/frame.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$time$2d$conversion$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/time-conversion.mjs [app-client] (ecmascript)"); -; -; -/** - * Timeout defined in ms - */ function delay(callback, timeout) { - const start = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$sync$2d$time$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["time"].now(); - const checkElapsed = ({ timestamp })=>{ - const elapsed = timestamp - start; - if (elapsed >= timeout) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["cancelFrame"])(checkElapsed); - callback(elapsed - timeout); - } - }; - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frame"].setup(checkElapsed, true); - return ()=>(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["cancelFrame"])(checkElapsed); -} -function delayInSeconds(callback, timeout) { - return delay(callback, (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$time$2d$conversion$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["secondsToMilliseconds"])(timeout)); -} -; -}), -"[project]/node_modules/framer-motion/dist/es/projection/animation/mix-values.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "mixValues", - ()=>mixValues -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$number$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/utils/mix/number.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/numbers/units.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$progress$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/progress.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$easing$2f$circ$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/easing/circ.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$noop$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/noop.mjs [app-client] (ecmascript)"); -; -; -const borders = [ - "TopLeft", - "TopRight", - "BottomLeft", - "BottomRight" -]; -const numBorders = borders.length; -const asNumber = (value)=>typeof value === "string" ? parseFloat(value) : value; -const isPx = (value)=>typeof value === "number" || __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["px"].test(value); -function mixValues(target, follow, lead, progress, shouldCrossfadeOpacity, isOnlyMember) { - if (shouldCrossfadeOpacity) { - target.opacity = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$number$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["mixNumber"])(0, lead.opacity ?? 1, easeCrossfadeIn(progress)); - target.opacityExit = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$number$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["mixNumber"])(follow.opacity ?? 1, 0, easeCrossfadeOut(progress)); - } else if (isOnlyMember) { - target.opacity = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$number$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["mixNumber"])(follow.opacity ?? 1, lead.opacity ?? 1, progress); - } - /** - * Mix border radius - */ for(let i = 0; i < numBorders; i++){ - const borderLabel = `border${borders[i]}Radius`; - let followRadius = getRadius(follow, borderLabel); - let leadRadius = getRadius(lead, borderLabel); - if (followRadius === undefined && leadRadius === undefined) continue; - followRadius || (followRadius = 0); - leadRadius || (leadRadius = 0); - const canMix = followRadius === 0 || leadRadius === 0 || isPx(followRadius) === isPx(leadRadius); - if (canMix) { - target[borderLabel] = Math.max((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$number$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["mixNumber"])(asNumber(followRadius), asNumber(leadRadius), progress), 0); - if (__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["percent"].test(leadRadius) || __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["percent"].test(followRadius)) { - target[borderLabel] += "%"; - } - } else { - target[borderLabel] = leadRadius; - } - } - /** - * Mix rotation - */ if (follow.rotate || lead.rotate) { - target.rotate = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$number$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["mixNumber"])(follow.rotate || 0, lead.rotate || 0, progress); - } -} -function getRadius(values, radiusName) { - return values[radiusName] !== undefined ? values[radiusName] : values.borderRadius; -} -// /** -// * We only want to mix the background color if there's a follow element -// * that we're not crossfading opacity between. For instance with switch -// * AnimateSharedLayout animations, this helps the illusion of a continuous -// * element being animated but also cuts down on the number of paints triggered -// * for elements where opacity is doing that work for us. -// */ -// if ( -// !hasFollowElement && -// latestLeadValues.backgroundColor && -// latestFollowValues.backgroundColor -// ) { -// /** -// * This isn't ideal performance-wise as mixColor is creating a new function every frame. -// * We could probably create a mixer that runs at the start of the animation but -// * the idea behind the crossfader is that it runs dynamically between two potentially -// * changing targets (ie opacity or borderRadius may be animating independently via variants) -// */ -// leadState.backgroundColor = followState.backgroundColor = mixColor( -// latestFollowValues.backgroundColor as string, -// latestLeadValues.backgroundColor as string -// )(p) -// } -const easeCrossfadeIn = /*@__PURE__*/ compress(0, 0.5, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$easing$2f$circ$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["circOut"]); -const easeCrossfadeOut = /*@__PURE__*/ compress(0.5, 0.95, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$noop$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["noop"]); -function compress(min, max, easing) { - return (p)=>{ - // Could replace ifs with clamp - if (p < min) return 0; - if (p > max) return 1; - return easing((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$progress$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["progress"])(min, max, p)); - }; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/projection/geometry/copy.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "copyAxisDeltaInto", - ()=>copyAxisDeltaInto, - "copyAxisInto", - ()=>copyAxisInto, - "copyBoxInto", - ()=>copyBoxInto -]); -/** - * Reset an axis to the provided origin box. - * - * This is a mutative operation. - */ function copyAxisInto(axis, originAxis) { - axis.min = originAxis.min; - axis.max = originAxis.max; -} -/** - * Reset a box to the provided origin box. - * - * This is a mutative operation. - */ function copyBoxInto(box, originBox) { - copyAxisInto(box.x, originBox.x); - copyAxisInto(box.y, originBox.y); -} -/** - * Reset a delta to the provided origin box. - * - * This is a mutative operation. - */ function copyAxisDeltaInto(delta, originDelta) { - delta.translate = originDelta.translate; - delta.scale = originDelta.scale; - delta.originPoint = originDelta.originPoint; - delta.origin = originDelta.origin; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/projection/geometry/delta-remove.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "removeAxisDelta", - ()=>removeAxisDelta, - "removeAxisTransforms", - ()=>removeAxisTransforms, - "removeBoxTransforms", - ()=>removeBoxTransforms, - "removePointDelta", - ()=>removePointDelta -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/types/numbers/units.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$number$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/utils/mix/number.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$delta$2d$apply$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.mjs [app-client] (ecmascript)"); -; -; -/** - * Remove a delta from a point. This is essentially the steps of applyPointDelta in reverse - */ function removePointDelta(point, translate, scale, originPoint, boxScale) { - point -= translate; - point = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$delta$2d$apply$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["scalePoint"])(point, 1 / scale, originPoint); - if (boxScale !== undefined) { - point = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$delta$2d$apply$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["scalePoint"])(point, 1 / boxScale, originPoint); - } - return point; -} -/** - * Remove a delta from an axis. This is essentially the steps of applyAxisDelta in reverse - */ function removeAxisDelta(axis, translate = 0, scale = 1, origin = 0.5, boxScale, originAxis = axis, sourceAxis = axis) { - if (__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$types$2f$numbers$2f$units$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["percent"].test(translate)) { - translate = parseFloat(translate); - const relativeProgress = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$number$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["mixNumber"])(sourceAxis.min, sourceAxis.max, translate / 100); - translate = relativeProgress - sourceAxis.min; - } - if (typeof translate !== "number") return; - let originPoint = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$number$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["mixNumber"])(originAxis.min, originAxis.max, origin); - if (axis === originAxis) originPoint -= translate; - axis.min = removePointDelta(axis.min, translate, scale, originPoint, boxScale); - axis.max = removePointDelta(axis.max, translate, scale, originPoint, boxScale); -} -/** - * Remove a transforms from an axis. This is essentially the steps of applyAxisTransforms in reverse - * and acts as a bridge between motion values and removeAxisDelta - */ function removeAxisTransforms(axis, transforms, [key, scaleKey, originKey], origin, sourceAxis) { - removeAxisDelta(axis, transforms[key], transforms[scaleKey], transforms[originKey], transforms.scale, origin, sourceAxis); -} -/** - * The names of the motion values we want to apply as translation, scale and origin. - */ const xKeys = [ - "x", - "scaleX", - "originX" -]; -const yKeys = [ - "y", - "scaleY", - "originY" -]; -/** - * Remove a transforms from an box. This is essentially the steps of applyAxisBox in reverse - * and acts as a bridge between motion values and removeAxisDelta - */ function removeBoxTransforms(box, transforms, originBox, sourceBox) { - removeAxisTransforms(box.x, transforms, xKeys, originBox ? originBox.x : undefined, sourceBox ? sourceBox.x : undefined); - removeAxisTransforms(box.y, transforms, yKeys, originBox ? originBox.y : undefined, sourceBox ? sourceBox.y : undefined); -} -; -}), -"[project]/node_modules/framer-motion/dist/es/projection/geometry/utils.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "aspectRatio", - ()=>aspectRatio, - "axisDeltaEquals", - ()=>axisDeltaEquals, - "axisEquals", - ()=>axisEquals, - "axisEqualsRounded", - ()=>axisEqualsRounded, - "boxEquals", - ()=>boxEquals, - "boxEqualsRounded", - ()=>boxEqualsRounded, - "isDeltaZero", - ()=>isDeltaZero -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$delta$2d$calc$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.mjs [app-client] (ecmascript)"); -; -function isAxisDeltaZero(delta) { - return delta.translate === 0 && delta.scale === 1; -} -function isDeltaZero(delta) { - return isAxisDeltaZero(delta.x) && isAxisDeltaZero(delta.y); -} -function axisEquals(a, b) { - return a.min === b.min && a.max === b.max; -} -function boxEquals(a, b) { - return axisEquals(a.x, b.x) && axisEquals(a.y, b.y); -} -function axisEqualsRounded(a, b) { - return Math.round(a.min) === Math.round(b.min) && Math.round(a.max) === Math.round(b.max); -} -function boxEqualsRounded(a, b) { - return axisEqualsRounded(a.x, b.x) && axisEqualsRounded(a.y, b.y); -} -function aspectRatio(box) { - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$delta$2d$calc$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["calcLength"])(box.x) / (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$delta$2d$calc$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["calcLength"])(box.y); -} -function axisDeltaEquals(a, b) { - return a.translate === b.translate && a.scale === b.scale && a.originPoint === b.originPoint; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/projection/shared/stack.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "NodeStack", - ()=>NodeStack -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$array$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/array.mjs [app-client] (ecmascript)"); -; -class NodeStack { - constructor(){ - this.members = []; - } - add(node) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$array$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["addUniqueItem"])(this.members, node); - node.scheduleRender(); - } - remove(node) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$array$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["removeItem"])(this.members, node); - if (node === this.prevLead) { - this.prevLead = undefined; - } - if (node === this.lead) { - const prevLead = this.members[this.members.length - 1]; - if (prevLead) { - this.promote(prevLead); - } - } - } - relegate(node) { - const indexOfNode = this.members.findIndex((member)=>node === member); - if (indexOfNode === 0) return false; - /** - * Find the next projection node that is present - */ let prevLead; - for(let i = indexOfNode; i >= 0; i--){ - const member = this.members[i]; - if (member.isPresent !== false) { - prevLead = member; - break; - } - } - if (prevLead) { - this.promote(prevLead); - return true; - } else { - return false; - } - } - promote(node, preserveFollowOpacity) { - const prevLead = this.lead; - if (node === prevLead) return; - this.prevLead = prevLead; - this.lead = node; - node.show(); - if (prevLead) { - prevLead.instance && prevLead.scheduleRender(); - node.scheduleRender(); - node.resumeFrom = prevLead; - if (preserveFollowOpacity) { - node.resumeFrom.preserveOpacity = true; - } - if (prevLead.snapshot) { - node.snapshot = prevLead.snapshot; - node.snapshot.latestValues = prevLead.animationValues || prevLead.latestValues; - } - if (node.root && node.root.isUpdating) { - node.isLayoutDirty = true; - } - const { crossfade } = node.options; - if (crossfade === false) { - prevLead.hide(); - } - /** - * TODO: - * - Test border radius when previous node was deleted - * - boxShadow mixing - * - Shared between element A in scrolled container and element B (scroll stays the same or changes) - * - Shared between element A in transformed container and element B (transform stays the same or changes) - * - Shared between element A in scrolled page and element B (scroll stays the same or changes) - * --- - * - Crossfade opacity of root nodes - * - layoutId changes after animation - * - layoutId changes mid animation - */ } - } - exitAnimationComplete() { - this.members.forEach((node)=>{ - const { options, resumingFrom } = node; - options.onExitComplete && options.onExitComplete(); - if (resumingFrom) { - resumingFrom.options.onExitComplete && resumingFrom.options.onExitComplete(); - } - }); - } - scheduleRender() { - this.members.forEach((node)=>{ - node.instance && node.scheduleRender(false); - }); - } - /** - * Clear any leads that have been removed this render to prevent them from being - * used in future animations and to prevent memory leaks - */ removeLeadSnapshot() { - if (this.lead && this.lead.snapshot) { - this.lead.snapshot = undefined; - } - } -} -; -}), -"[project]/node_modules/framer-motion/dist/es/projection/styles/transform.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "buildProjectionTransform", - ()=>buildProjectionTransform -]); -function buildProjectionTransform(delta, treeScale, latestTransform) { - let transform = ""; - /** - * The translations we use to calculate are always relative to the viewport coordinate space. - * But when we apply scales, we also scale the coordinate space of an element and its children. - * For instance if we have a treeScale (the culmination of all parent scales) of 0.5 and we need - * to move an element 100 pixels, we actually need to move it 200 in within that scaled space. - */ const xTranslate = delta.x.translate / treeScale.x; - const yTranslate = delta.y.translate / treeScale.y; - const zTranslate = latestTransform?.z || 0; - if (xTranslate || yTranslate || zTranslate) { - transform = `translate3d(${xTranslate}px, ${yTranslate}px, ${zTranslate}px) `; - } - /** - * Apply scale correction for the tree transform. - * This will apply scale to the screen-orientated axes. - */ if (treeScale.x !== 1 || treeScale.y !== 1) { - transform += `scale(${1 / treeScale.x}, ${1 / treeScale.y}) `; - } - if (latestTransform) { - const { transformPerspective, rotate, rotateX, rotateY, skewX, skewY } = latestTransform; - if (transformPerspective) transform = `perspective(${transformPerspective}px) ${transform}`; - if (rotate) transform += `rotate(${rotate}deg) `; - if (rotateX) transform += `rotateX(${rotateX}deg) `; - if (rotateY) transform += `rotateY(${rotateY}deg) `; - if (skewX) transform += `skewX(${skewX}deg) `; - if (skewY) transform += `skewY(${skewY}deg) `; - } - /** - * Apply scale to match the size of the element to the size we want it. - * This will apply scale to the element-orientated axes. - */ const elementScaleX = delta.x.scale * treeScale.x; - const elementScaleY = delta.y.scale * treeScale.y; - if (elementScaleX !== 1 || elementScaleY !== 1) { - transform += `scale(${elementScaleX}, ${elementScaleY})`; - } - return transform || "none"; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/projection/node/create-projection-node.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "cleanDirtyNodes", - ()=>cleanDirtyNodes, - "createProjectionNode", - ()=>createProjectionNode, - "mixAxis", - ()=>mixAxis, - "mixAxisDelta", - ()=>mixAxisDelta, - "mixBox", - ()=>mixBox, - "propagateDirtyNodes", - ()=>propagateDirtyNodes -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$stats$2f$buffer$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/stats/buffer.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$is$2d$svg$2d$element$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/utils/is-svg-element.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$is$2d$svg$2d$svg$2d$element$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/frameloop/frame.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$utils$2f$get$2d$value$2d$transition$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$sync$2d$time$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/frameloop/sync-time.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$microtask$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/frameloop/microtask.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$stats$2f$animation$2d$count$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/stats/animation-count.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/value/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$number$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/utils/mix/number.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$subscription$2d$manager$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/subscription-manager.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$clamp$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/clamp.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$noop$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/noop.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$animation$2f$animate$2f$single$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/animation/animate/single-value.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$animation$2f$optimized$2d$appear$2f$get$2d$appear$2d$id$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/animation/optimized-appear/get-appear-id.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$flat$2d$tree$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/utils/flat-tree.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$delay$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/utils/delay.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$value$2f$utils$2f$resolve$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$animation$2f$mix$2d$values$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/projection/animation/mix-values.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$copy$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/projection/geometry/copy.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$delta$2d$apply$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$delta$2d$calc$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$delta$2d$remove$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/projection/geometry/delta-remove.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$models$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/projection/geometry/models.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$utils$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/projection/geometry/utils.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$shared$2f$stack$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/projection/shared/stack.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$styles$2f$scale$2d$correction$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/projection/styles/scale-correction.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$styles$2f$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/projection/styles/transform.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$utils$2f$each$2d$axis$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/projection/utils/each-axis.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$utils$2f$has$2d$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/projection/utils/has-transform.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$node$2f$state$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/projection/node/state.mjs [app-client] (ecmascript)"); -; -; -; -; -; -; -; -; -; -; -; -; -; -; -; -; -; -; -; -; -const metrics = { - nodes: 0, - calculatedTargetDeltas: 0, - calculatedProjections: 0 -}; -const transformAxes = [ - "", - "X", - "Y", - "Z" -]; -/** - * We use 1000 as the animation target as 0-1000 maps better to pixels than 0-1 - * which has a noticeable difference in spring animations - */ const animationTarget = 1000; -let id = 0; -function resetDistortingTransform(key, visualElement, values, sharedAnimationValues) { - const { latestValues } = visualElement; - // Record the distorting transform and then temporarily set it to 0 - if (latestValues[key]) { - values[key] = latestValues[key]; - visualElement.setStaticValue(key, 0); - if (sharedAnimationValues) { - sharedAnimationValues[key] = 0; - } - } -} -function cancelTreeOptimisedTransformAnimations(projectionNode) { - projectionNode.hasCheckedOptimisedAppear = true; - if (projectionNode.root === projectionNode) return; - const { visualElement } = projectionNode.options; - if (!visualElement) return; - const appearId = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$animation$2f$optimized$2d$appear$2f$get$2d$appear$2d$id$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getOptimisedAppearId"])(visualElement); - if (window.MotionHasOptimisedAnimation(appearId, "transform")) { - const { layout, layoutId } = projectionNode.options; - window.MotionCancelOptimisedAnimation(appearId, "transform", __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frame"], !(layout || layoutId)); - } - const { parent } = projectionNode; - if (parent && !parent.hasCheckedOptimisedAppear) { - cancelTreeOptimisedTransformAnimations(parent); - } -} -function createProjectionNode({ attachResizeListener, defaultParent, measureScroll, checkIsScrollRoot, resetTransform }) { - return class ProjectionNode { - constructor(latestValues = {}, parent = defaultParent?.()){ - /** - * A unique ID generated for every projection node. - */ this.id = id++; - /** - * An id that represents a unique session instigated by startUpdate. - */ this.animationId = 0; - this.animationCommitId = 0; - /** - * A Set containing all this component's children. This is used to iterate - * through the children. - * - * TODO: This could be faster to iterate as a flat array stored on the root node. - */ this.children = new Set(); - /** - * Options for the node. We use this to configure what kind of layout animations - * we should perform (if any). - */ this.options = {}; - /** - * We use this to detect when its safe to shut down part of a projection tree. - * We have to keep projecting children for scale correction and relative projection - * until all their parents stop performing layout animations. - */ this.isTreeAnimating = false; - this.isAnimationBlocked = false; - /** - * Flag to true if we think this layout has been changed. We can't always know this, - * currently we set it to true every time a component renders, or if it has a layoutDependency - * if that has changed between renders. Additionally, components can be grouped by LayoutGroup - * and if one node is dirtied, they all are. - */ this.isLayoutDirty = false; - /** - * Flag to true if we think the projection calculations for this node needs - * recalculating as a result of an updated transform or layout animation. - */ this.isProjectionDirty = false; - /** - * Flag to true if the layout *or* transform has changed. This then gets propagated - * throughout the projection tree, forcing any element below to recalculate on the next frame. - */ this.isSharedProjectionDirty = false; - /** - * Flag transform dirty. This gets propagated throughout the whole tree but is only - * respected by shared nodes. - */ this.isTransformDirty = false; - /** - * Block layout updates for instant layout transitions throughout the tree. - */ this.updateManuallyBlocked = false; - this.updateBlockedByResize = false; - /** - * Set to true between the start of the first `willUpdate` call and the end of the `didUpdate` - * call. - */ this.isUpdating = false; - /** - * If this is an SVG element we currently disable projection transforms - */ this.isSVG = false; - /** - * Flag to true (during promotion) if a node doing an instant layout transition needs to reset - * its projection styles. - */ this.needsReset = false; - /** - * Flags whether this node should have its transform reset prior to measuring. - */ this.shouldResetTransform = false; - /** - * Store whether this node has been checked for optimised appear animations. As - * effects fire bottom-up, and we want to look up the tree for appear animations, - * this makes sure we only check each path once, stopping at nodes that - * have already been checked. - */ this.hasCheckedOptimisedAppear = false; - /** - * An object representing the calculated contextual/accumulated/tree scale. - * This will be used to scale calculcated projection transforms, as these are - * calculated in screen-space but need to be scaled for elements to layoutly - * make it to their calculated destinations. - * - * TODO: Lazy-init - */ this.treeScale = { - x: 1, - y: 1 - }; - /** - * - */ this.eventHandlers = new Map(); - this.hasTreeAnimated = false; - this.layoutVersion = 0; - // Note: Currently only running on root node - this.updateScheduled = false; - this.scheduleUpdate = ()=>this.update(); - this.projectionUpdateScheduled = false; - this.checkUpdateFailed = ()=>{ - if (this.isUpdating) { - this.isUpdating = false; - this.clearAllSnapshots(); - } - }; - /** - * This is a multi-step process as shared nodes might be of different depths. Nodes - * are sorted by depth order, so we need to resolve the entire tree before moving to - * the next step. - */ this.updateProjection = ()=>{ - this.projectionUpdateScheduled = false; - /** - * Reset debug counts. Manually resetting rather than creating a new - * object each frame. - */ if (__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$stats$2f$buffer$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["statsBuffer"].value) { - metrics.nodes = metrics.calculatedTargetDeltas = metrics.calculatedProjections = 0; - } - this.nodes.forEach(propagateDirtyNodes); - this.nodes.forEach(resolveTargetDelta); - this.nodes.forEach(calcProjection); - this.nodes.forEach(cleanDirtyNodes); - if (__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$stats$2f$buffer$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["statsBuffer"].addProjectionMetrics) { - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$stats$2f$buffer$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["statsBuffer"].addProjectionMetrics(metrics); - } - }; - /** - * Frame calculations - */ this.resolvedRelativeTargetAt = 0.0; - this.linkedParentVersion = 0; - this.hasProjected = false; - this.isVisible = true; - this.animationProgress = 0; - /** - * Shared layout - */ // TODO Only running on root node - this.sharedNodes = new Map(); - this.latestValues = latestValues; - this.root = parent ? parent.root || parent : this; - this.path = parent ? [ - ...parent.path, - parent - ] : []; - this.parent = parent; - this.depth = parent ? parent.depth + 1 : 0; - for(let i = 0; i < this.path.length; i++){ - this.path[i].shouldResetTransform = true; - } - if (this.root === this) this.nodes = new __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$utils$2f$flat$2d$tree$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["FlatTree"](); - } - addEventListener(name, handler) { - if (!this.eventHandlers.has(name)) { - this.eventHandlers.set(name, new __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$subscription$2d$manager$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["SubscriptionManager"]()); - } - return this.eventHandlers.get(name).add(handler); - } - notifyListeners(name, ...args) { - const subscriptionManager = this.eventHandlers.get(name); - subscriptionManager && subscriptionManager.notify(...args); - } - hasListeners(name) { - return this.eventHandlers.has(name); - } - /** - * Lifecycles - */ mount(instance) { - if (this.instance) return; - this.isSVG = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$is$2d$svg$2d$element$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isSVGElement"])(instance) && !(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$is$2d$svg$2d$svg$2d$element$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isSVGSVGElement"])(instance); - this.instance = instance; - const { layoutId, layout, visualElement } = this.options; - if (visualElement && !visualElement.current) { - visualElement.mount(instance); - } - this.root.nodes.add(this); - this.parent && this.parent.children.add(this); - if (this.root.hasTreeAnimated && (layout || layoutId)) { - this.isLayoutDirty = true; - } - if (attachResizeListener) { - let cancelDelay; - let innerWidth = 0; - const resizeUnblockUpdate = ()=>this.root.updateBlockedByResize = false; - // Set initial innerWidth in a frame.read callback to batch the read - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frame"].read(()=>{ - innerWidth = window.innerWidth; - }); - attachResizeListener(instance, ()=>{ - const newInnerWidth = window.innerWidth; - if (newInnerWidth === innerWidth) return; - innerWidth = newInnerWidth; - this.root.updateBlockedByResize = true; - cancelDelay && cancelDelay(); - cancelDelay = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$utils$2f$delay$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["delay"])(resizeUnblockUpdate, 250); - if (__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$node$2f$state$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["globalProjectionState"].hasAnimatedSinceResize) { - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$node$2f$state$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["globalProjectionState"].hasAnimatedSinceResize = false; - this.nodes.forEach(finishAnimation); - } - }); - } - if (layoutId) { - this.root.registerSharedNode(layoutId, this); - } - // Only register the handler if it requires layout animation - if (this.options.animate !== false && visualElement && (layoutId || layout)) { - this.addEventListener("didUpdate", ({ delta, hasLayoutChanged, hasRelativeLayoutChanged, layout: newLayout })=>{ - if (this.isTreeAnimationBlocked()) { - this.target = undefined; - this.relativeTarget = undefined; - return; - } - // TODO: Check here if an animation exists - const layoutTransition = this.options.transition || visualElement.getDefaultTransition() || defaultLayoutTransition; - const { onLayoutAnimationStart, onLayoutAnimationComplete } = visualElement.getProps(); - /** - * The target layout of the element might stay the same, - * but its position relative to its parent has changed. - */ const hasTargetChanged = !this.targetLayout || !(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$utils$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["boxEqualsRounded"])(this.targetLayout, newLayout); - /* - * Note: Disabled to fix relative animations always triggering new - * layout animations. If this causes further issues, we can try - * a different approach to detecting relative target changes. - */ // || hasRelativeLayoutChanged - /** - * If the layout hasn't seemed to have changed, it might be that the - * element is visually in the same place in the document but its position - * relative to its parent has indeed changed. So here we check for that. - */ const hasOnlyRelativeTargetChanged = !hasLayoutChanged && hasRelativeLayoutChanged; - if (this.options.layoutRoot || this.resumeFrom || hasOnlyRelativeTargetChanged || hasLayoutChanged && (hasTargetChanged || !this.currentAnimation)) { - if (this.resumeFrom) { - this.resumingFrom = this.resumeFrom; - this.resumingFrom.resumingFrom = undefined; - } - const animationOptions = { - ...(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$animation$2f$utils$2f$get$2d$value$2d$transition$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getValueTransition"])(layoutTransition, "layout"), - onPlay: onLayoutAnimationStart, - onComplete: onLayoutAnimationComplete - }; - if (visualElement.shouldReduceMotion || this.options.layoutRoot) { - animationOptions.delay = 0; - animationOptions.type = false; - } - this.startAnimation(animationOptions); - /** - * Set animation origin after starting animation to avoid layout jump - * caused by stopping previous layout animation - */ this.setAnimationOrigin(delta, hasOnlyRelativeTargetChanged); - } else { - /** - * If the layout hasn't changed and we have an animation that hasn't started yet, - * finish it immediately. Otherwise it will be animating from a location - * that was probably never commited to screen and look like a jumpy box. - */ if (!hasLayoutChanged) { - finishAnimation(this); - } - if (this.isLead() && this.options.onExitComplete) { - this.options.onExitComplete(); - } - } - this.targetLayout = newLayout; - }); - } - } - unmount() { - this.options.layoutId && this.willUpdate(); - this.root.nodes.remove(this); - const stack = this.getStack(); - stack && stack.remove(this); - this.parent && this.parent.children.delete(this); - this.instance = undefined; - this.eventHandlers.clear(); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["cancelFrame"])(this.updateProjection); - } - // only on the root - blockUpdate() { - this.updateManuallyBlocked = true; - } - unblockUpdate() { - this.updateManuallyBlocked = false; - } - isUpdateBlocked() { - return this.updateManuallyBlocked || this.updateBlockedByResize; - } - isTreeAnimationBlocked() { - return this.isAnimationBlocked || this.parent && this.parent.isTreeAnimationBlocked() || false; - } - // Note: currently only running on root node - startUpdate() { - if (this.isUpdateBlocked()) return; - this.isUpdating = true; - this.nodes && this.nodes.forEach(resetSkewAndRotation); - this.animationId++; - } - getTransformTemplate() { - const { visualElement } = this.options; - return visualElement && visualElement.getProps().transformTemplate; - } - willUpdate(shouldNotifyListeners = true) { - this.root.hasTreeAnimated = true; - if (this.root.isUpdateBlocked()) { - this.options.onExitComplete && this.options.onExitComplete(); - return; - } - /** - * If we're running optimised appear animations then these must be - * cancelled before measuring the DOM. This is so we can measure - * the true layout of the element rather than the WAAPI animation - * which will be unaffected by the resetSkewAndRotate step. - * - * Note: This is a DOM write. Worst case scenario is this is sandwiched - * between other snapshot reads which will cause unnecessary style recalculations. - * This has to happen here though, as we don't yet know which nodes will need - * snapshots in startUpdate(), but we only want to cancel optimised animations - * if a layout animation measurement is actually going to be affected by them. - */ if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear) { - cancelTreeOptimisedTransformAnimations(this); - } - !this.root.isUpdating && this.root.startUpdate(); - if (this.isLayoutDirty) return; - this.isLayoutDirty = true; - for(let i = 0; i < this.path.length; i++){ - const node = this.path[i]; - node.shouldResetTransform = true; - node.updateScroll("snapshot"); - if (node.options.layoutRoot) { - node.willUpdate(false); - } - } - const { layoutId, layout } = this.options; - if (layoutId === undefined && !layout) return; - const transformTemplate = this.getTransformTemplate(); - this.prevTransformTemplateValue = transformTemplate ? transformTemplate(this.latestValues, "") : undefined; - this.updateSnapshot(); - shouldNotifyListeners && this.notifyListeners("willUpdate"); - } - update() { - this.updateScheduled = false; - const updateWasBlocked = this.isUpdateBlocked(); - // When doing an instant transition, we skip the layout update, - // but should still clean up the measurements so that the next - // snapshot could be taken correctly. - if (updateWasBlocked) { - this.unblockUpdate(); - this.clearAllSnapshots(); - this.nodes.forEach(clearMeasurements); - return; - } - /** - * If this is a repeat of didUpdate then ignore the animation. - */ if (this.animationId <= this.animationCommitId) { - this.nodes.forEach(clearIsLayoutDirty); - return; - } - this.animationCommitId = this.animationId; - if (!this.isUpdating) { - this.nodes.forEach(clearIsLayoutDirty); - } else { - this.isUpdating = false; - /** - * Write - */ this.nodes.forEach(resetTransformStyle); - /** - * Read ================== - */ // Update layout measurements of updated children - this.nodes.forEach(updateLayout); - /** - * Write - */ // Notify listeners that the layout is updated - this.nodes.forEach(notifyLayoutUpdate); - } - this.clearAllSnapshots(); - /** - * Manually flush any pending updates. Ideally - * we could leave this to the following requestAnimationFrame but this seems - * to leave a flash of incorrectly styled content. - */ const now = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$sync$2d$time$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["time"].now(); - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frameData"].delta = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$clamp$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["clamp"])(0, 1000 / 60, now - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frameData"].timestamp); - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frameData"].timestamp = now; - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frameData"].isProcessing = true; - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frameSteps"].update.process(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frameData"]); - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frameSteps"].preRender.process(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frameData"]); - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frameSteps"].render.process(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frameData"]); - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frameData"].isProcessing = false; - } - didUpdate() { - if (!this.updateScheduled) { - this.updateScheduled = true; - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$microtask$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["microtask"].read(this.scheduleUpdate); - } - } - clearAllSnapshots() { - this.nodes.forEach(clearSnapshot); - this.sharedNodes.forEach(removeLeadSnapshots); - } - scheduleUpdateProjection() { - if (!this.projectionUpdateScheduled) { - this.projectionUpdateScheduled = true; - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frame"].preRender(this.updateProjection, false, true); - } - } - scheduleCheckAfterUnmount() { - /** - * If the unmounting node is in a layoutGroup and did trigger a willUpdate, - * we manually call didUpdate to give a chance to the siblings to animate. - * Otherwise, cleanup all snapshots to prevents future nodes from reusing them. - */ __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frame"].postRender(()=>{ - if (this.isLayoutDirty) { - this.root.didUpdate(); - } else { - this.root.checkUpdateFailed(); - } - }); - } - /** - * Update measurements - */ updateSnapshot() { - if (this.snapshot || !this.instance) return; - this.snapshot = this.measure(); - if (this.snapshot && !(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$delta$2d$calc$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["calcLength"])(this.snapshot.measuredBox.x) && !(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$delta$2d$calc$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["calcLength"])(this.snapshot.measuredBox.y)) { - this.snapshot = undefined; - } - } - updateLayout() { - if (!this.instance) return; - this.updateScroll(); - if (!(this.options.alwaysMeasureLayout && this.isLead()) && !this.isLayoutDirty) { - return; - } - /** - * When a node is mounted, it simply resumes from the prevLead's - * snapshot instead of taking a new one, but the ancestors scroll - * might have updated while the prevLead is unmounted. We need to - * update the scroll again to make sure the layout we measure is - * up to date. - */ if (this.resumeFrom && !this.resumeFrom.instance) { - for(let i = 0; i < this.path.length; i++){ - const node = this.path[i]; - node.updateScroll(); - } - } - const prevLayout = this.layout; - this.layout = this.measure(false); - this.layoutVersion++; - this.layoutCorrected = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$models$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createBox"])(); - this.isLayoutDirty = false; - this.projectionDelta = undefined; - this.notifyListeners("measure", this.layout.layoutBox); - const { visualElement } = this.options; - visualElement && visualElement.notify("LayoutMeasure", this.layout.layoutBox, prevLayout ? prevLayout.layoutBox : undefined); - } - updateScroll(phase = "measure") { - let needsMeasurement = Boolean(this.options.layoutScroll && this.instance); - if (this.scroll && this.scroll.animationId === this.root.animationId && this.scroll.phase === phase) { - needsMeasurement = false; - } - if (needsMeasurement && this.instance) { - const isRoot = checkIsScrollRoot(this.instance); - this.scroll = { - animationId: this.root.animationId, - phase, - isRoot, - offset: measureScroll(this.instance), - wasRoot: this.scroll ? this.scroll.isRoot : isRoot - }; - } - } - resetTransform() { - if (!resetTransform) return; - const isResetRequested = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout; - const hasProjection = this.projectionDelta && !(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$utils$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isDeltaZero"])(this.projectionDelta); - const transformTemplate = this.getTransformTemplate(); - const transformTemplateValue = transformTemplate ? transformTemplate(this.latestValues, "") : undefined; - const transformTemplateHasChanged = transformTemplateValue !== this.prevTransformTemplateValue; - if (isResetRequested && this.instance && (hasProjection || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$utils$2f$has$2d$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["hasTransform"])(this.latestValues) || transformTemplateHasChanged)) { - resetTransform(this.instance, transformTemplateValue); - this.shouldResetTransform = false; - this.scheduleRender(); - } - } - measure(removeTransform = true) { - const pageBox = this.measurePageBox(); - let layoutBox = this.removeElementScroll(pageBox); - /** - * Measurements taken during the pre-render stage - * still have transforms applied so we remove them - * via calculation. - */ if (removeTransform) { - layoutBox = this.removeTransform(layoutBox); - } - roundBox(layoutBox); - return { - animationId: this.root.animationId, - measuredBox: pageBox, - layoutBox, - latestValues: {}, - source: this.id - }; - } - measurePageBox() { - const { visualElement } = this.options; - if (!visualElement) return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$models$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createBox"])(); - const box = visualElement.measureViewportBox(); - const wasInScrollRoot = this.scroll?.wasRoot || this.path.some(checkNodeWasScrollRoot); - if (!wasInScrollRoot) { - // Remove viewport scroll to give page-relative coordinates - const { scroll } = this.root; - if (scroll) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$delta$2d$apply$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["translateAxis"])(box.x, scroll.offset.x); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$delta$2d$apply$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["translateAxis"])(box.y, scroll.offset.y); - } - } - return box; - } - removeElementScroll(box) { - const boxWithoutScroll = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$models$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createBox"])(); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$copy$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["copyBoxInto"])(boxWithoutScroll, box); - if (this.scroll?.wasRoot) { - return boxWithoutScroll; - } - /** - * Performance TODO: Keep a cumulative scroll offset down the tree - * rather than loop back up the path. - */ for(let i = 0; i < this.path.length; i++){ - const node = this.path[i]; - const { scroll, options } = node; - if (node !== this.root && scroll && options.layoutScroll) { - /** - * If this is a new scroll root, we want to remove all previous scrolls - * from the viewport box. - */ if (scroll.wasRoot) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$copy$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["copyBoxInto"])(boxWithoutScroll, box); - } - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$delta$2d$apply$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["translateAxis"])(boxWithoutScroll.x, scroll.offset.x); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$delta$2d$apply$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["translateAxis"])(boxWithoutScroll.y, scroll.offset.y); - } - } - return boxWithoutScroll; - } - applyTransform(box, transformOnly = false) { - const withTransforms = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$models$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createBox"])(); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$copy$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["copyBoxInto"])(withTransforms, box); - for(let i = 0; i < this.path.length; i++){ - const node = this.path[i]; - if (!transformOnly && node.options.layoutScroll && node.scroll && node !== node.root) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$delta$2d$apply$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["transformBox"])(withTransforms, { - x: -node.scroll.offset.x, - y: -node.scroll.offset.y - }); - } - if (!(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$utils$2f$has$2d$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["hasTransform"])(node.latestValues)) continue; - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$delta$2d$apply$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["transformBox"])(withTransforms, node.latestValues); - } - if ((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$utils$2f$has$2d$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["hasTransform"])(this.latestValues)) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$delta$2d$apply$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["transformBox"])(withTransforms, this.latestValues); - } - return withTransforms; - } - removeTransform(box) { - const boxWithoutTransform = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$models$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createBox"])(); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$copy$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["copyBoxInto"])(boxWithoutTransform, box); - for(let i = 0; i < this.path.length; i++){ - const node = this.path[i]; - if (!node.instance) continue; - if (!(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$utils$2f$has$2d$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["hasTransform"])(node.latestValues)) continue; - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$utils$2f$has$2d$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["hasScale"])(node.latestValues) && node.updateSnapshot(); - const sourceBox = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$models$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createBox"])(); - const nodeBox = node.measurePageBox(); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$copy$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["copyBoxInto"])(sourceBox, nodeBox); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$delta$2d$remove$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["removeBoxTransforms"])(boxWithoutTransform, node.latestValues, node.snapshot ? node.snapshot.layoutBox : undefined, sourceBox); - } - if ((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$utils$2f$has$2d$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["hasTransform"])(this.latestValues)) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$delta$2d$remove$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["removeBoxTransforms"])(boxWithoutTransform, this.latestValues); - } - return boxWithoutTransform; - } - setTargetDelta(delta) { - this.targetDelta = delta; - this.root.scheduleUpdateProjection(); - this.isProjectionDirty = true; - } - setOptions(options) { - this.options = { - ...this.options, - ...options, - crossfade: options.crossfade !== undefined ? options.crossfade : true - }; - } - clearMeasurements() { - this.scroll = undefined; - this.layout = undefined; - this.snapshot = undefined; - this.prevTransformTemplateValue = undefined; - this.targetDelta = undefined; - this.target = undefined; - this.isLayoutDirty = false; - } - forceRelativeParentToResolveTarget() { - if (!this.relativeParent) return; - /** - * If the parent target isn't up-to-date, force it to update. - * This is an unfortunate de-optimisation as it means any updating relative - * projection will cause all the relative parents to recalculate back - * up the tree. - */ if (this.relativeParent.resolvedRelativeTargetAt !== __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frameData"].timestamp) { - this.relativeParent.resolveTargetDelta(true); - } - } - resolveTargetDelta(forceRecalculation = false) { - /** - * Once the dirty status of nodes has been spread through the tree, we also - * need to check if we have a shared node of a different depth that has itself - * been dirtied. - */ const lead = this.getLead(); - this.isProjectionDirty || (this.isProjectionDirty = lead.isProjectionDirty); - this.isTransformDirty || (this.isTransformDirty = lead.isTransformDirty); - this.isSharedProjectionDirty || (this.isSharedProjectionDirty = lead.isSharedProjectionDirty); - const isShared = Boolean(this.resumingFrom) || this !== lead; - /** - * We don't use transform for this step of processing so we don't - * need to check whether any nodes have changed transform. - */ const canSkip = !(forceRecalculation || isShared && this.isSharedProjectionDirty || this.isProjectionDirty || this.parent?.isProjectionDirty || this.attemptToResolveRelativeTarget || this.root.updateBlockedByResize); - if (canSkip) return; - const { layout, layoutId } = this.options; - /** - * If we have no layout, we can't perform projection, so early return - */ if (!this.layout || !(layout || layoutId)) return; - this.resolvedRelativeTargetAt = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frameData"].timestamp; - const relativeParent = this.getClosestProjectingParent(); - if (relativeParent && this.linkedParentVersion !== relativeParent.layoutVersion && !relativeParent.options.layoutRoot) { - this.removeRelativeTarget(); - } - /** - * If we don't have a targetDelta but do have a layout, we can attempt to resolve - * a relativeParent. This will allow a component to perform scale correction - * even if no animation has started. - */ if (!this.targetDelta && !this.relativeTarget) { - if (relativeParent && relativeParent.layout) { - this.createRelativeTarget(relativeParent, this.layout.layoutBox, relativeParent.layout.layoutBox); - } else { - this.removeRelativeTarget(); - } - } - /** - * If we have no relative target or no target delta our target isn't valid - * for this frame. - */ if (!this.relativeTarget && !this.targetDelta) return; - /** - * Lazy-init target data structure - */ if (!this.target) { - this.target = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$models$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createBox"])(); - this.targetWithTransforms = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$models$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createBox"])(); - } - /** - * If we've got a relative box for this component, resolve it into a target relative to the parent. - */ if (this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target) { - this.forceRelativeParentToResolveTarget(); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$delta$2d$calc$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["calcRelativeBox"])(this.target, this.relativeTarget, this.relativeParent.target); - /** - * If we've only got a targetDelta, resolve it into a target - */ } else if (this.targetDelta) { - if (Boolean(this.resumingFrom)) { - // TODO: This is creating a new object every frame - this.target = this.applyTransform(this.layout.layoutBox); - } else { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$copy$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["copyBoxInto"])(this.target, this.layout.layoutBox); - } - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$delta$2d$apply$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["applyBoxDelta"])(this.target, this.targetDelta); - } else { - /** - * If no target, use own layout as target - */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$copy$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["copyBoxInto"])(this.target, this.layout.layoutBox); - } - /** - * If we've been told to attempt to resolve a relative target, do so. - */ if (this.attemptToResolveRelativeTarget) { - this.attemptToResolveRelativeTarget = false; - if (relativeParent && Boolean(relativeParent.resumingFrom) === Boolean(this.resumingFrom) && !relativeParent.options.layoutScroll && relativeParent.target && this.animationProgress !== 1) { - this.createRelativeTarget(relativeParent, this.target, relativeParent.target); - } else { - this.relativeParent = this.relativeTarget = undefined; - } - } - /** - * Increase debug counter for resolved target deltas - */ if (__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$stats$2f$buffer$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["statsBuffer"].value) { - metrics.calculatedTargetDeltas++; - } - } - getClosestProjectingParent() { - if (!this.parent || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$utils$2f$has$2d$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["hasScale"])(this.parent.latestValues) || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$utils$2f$has$2d$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["has2DTranslate"])(this.parent.latestValues)) { - return undefined; - } - if (this.parent.isProjecting()) { - return this.parent; - } else { - return this.parent.getClosestProjectingParent(); - } - } - isProjecting() { - return Boolean((this.relativeTarget || this.targetDelta || this.options.layoutRoot) && this.layout); - } - createRelativeTarget(relativeParent, layout, parentLayout) { - this.relativeParent = relativeParent; - this.linkedParentVersion = relativeParent.layoutVersion; - this.forceRelativeParentToResolveTarget(); - this.relativeTarget = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$models$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createBox"])(); - this.relativeTargetOrigin = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$models$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createBox"])(); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$delta$2d$calc$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["calcRelativePosition"])(this.relativeTargetOrigin, layout, parentLayout); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$copy$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["copyBoxInto"])(this.relativeTarget, this.relativeTargetOrigin); - } - removeRelativeTarget() { - this.relativeParent = this.relativeTarget = undefined; - } - calcProjection() { - const lead = this.getLead(); - const isShared = Boolean(this.resumingFrom) || this !== lead; - let canSkip = true; - /** - * If this is a normal layout animation and neither this node nor its nearest projecting - * is dirty then we can't skip. - */ if (this.isProjectionDirty || this.parent?.isProjectionDirty) { - canSkip = false; - } - /** - * If this is a shared layout animation and this node's shared projection is dirty then - * we can't skip. - */ if (isShared && (this.isSharedProjectionDirty || this.isTransformDirty)) { - canSkip = false; - } - /** - * If we have resolved the target this frame we must recalculate the - * projection to ensure it visually represents the internal calculations. - */ if (this.resolvedRelativeTargetAt === __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frameData"].timestamp) { - canSkip = false; - } - if (canSkip) return; - const { layout, layoutId } = this.options; - /** - * If this section of the tree isn't animating we can - * delete our target sources for the following frame. - */ this.isTreeAnimating = Boolean(this.parent && this.parent.isTreeAnimating || this.currentAnimation || this.pendingAnimation); - if (!this.isTreeAnimating) { - this.targetDelta = this.relativeTarget = undefined; - } - if (!this.layout || !(layout || layoutId)) return; - /** - * Reset the corrected box with the latest values from box, as we're then going - * to perform mutative operations on it. - */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$copy$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["copyBoxInto"])(this.layoutCorrected, this.layout.layoutBox); - /** - * Record previous tree scales before updating. - */ const prevTreeScaleX = this.treeScale.x; - const prevTreeScaleY = this.treeScale.y; - /** - * Apply all the parent deltas to this box to produce the corrected box. This - * is the layout box, as it will appear on screen as a result of the transforms of its parents. - */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$delta$2d$apply$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["applyTreeDeltas"])(this.layoutCorrected, this.treeScale, this.path, isShared); - /** - * If this layer needs to perform scale correction but doesn't have a target, - * use the layout as the target. - */ if (lead.layout && !lead.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1)) { - lead.target = lead.layout.layoutBox; - lead.targetWithTransforms = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$models$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createBox"])(); - } - const { target } = lead; - if (!target) { - /** - * If we don't have a target to project into, but we were previously - * projecting, we want to remove the stored transform and schedule - * a render to ensure the elements reflect the removed transform. - */ if (this.prevProjectionDelta) { - this.createProjectionDeltas(); - this.scheduleRender(); - } - return; - } - if (!this.projectionDelta || !this.prevProjectionDelta) { - this.createProjectionDeltas(); - } else { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$copy$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["copyAxisDeltaInto"])(this.prevProjectionDelta.x, this.projectionDelta.x); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$copy$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["copyAxisDeltaInto"])(this.prevProjectionDelta.y, this.projectionDelta.y); - } - /** - * Update the delta between the corrected box and the target box before user-set transforms were applied. - * This will allow us to calculate the corrected borderRadius and boxShadow to compensate - * for our layout reprojection, but still allow them to be scaled correctly by the user. - * It might be that to simplify this we may want to accept that user-set scale is also corrected - * and we wouldn't have to keep and calc both deltas, OR we could support a user setting - * to allow people to choose whether these styles are corrected based on just the - * layout reprojection or the final bounding box. - */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$delta$2d$calc$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["calcBoxDelta"])(this.projectionDelta, this.layoutCorrected, target, this.latestValues); - if (this.treeScale.x !== prevTreeScaleX || this.treeScale.y !== prevTreeScaleY || !(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$utils$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["axisDeltaEquals"])(this.projectionDelta.x, this.prevProjectionDelta.x) || !(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$utils$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["axisDeltaEquals"])(this.projectionDelta.y, this.prevProjectionDelta.y)) { - this.hasProjected = true; - this.scheduleRender(); - this.notifyListeners("projectionUpdate", target); - } - /** - * Increase debug counter for recalculated projections - */ if (__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$stats$2f$buffer$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["statsBuffer"].value) { - metrics.calculatedProjections++; - } - } - hide() { - this.isVisible = false; - // TODO: Schedule render - } - show() { - this.isVisible = true; - // TODO: Schedule render - } - scheduleRender(notifyAll = true) { - this.options.visualElement?.scheduleRender(); - if (notifyAll) { - const stack = this.getStack(); - stack && stack.scheduleRender(); - } - if (this.resumingFrom && !this.resumingFrom.instance) { - this.resumingFrom = undefined; - } - } - createProjectionDeltas() { - this.prevProjectionDelta = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$models$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createDelta"])(); - this.projectionDelta = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$models$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createDelta"])(); - this.projectionDeltaWithTransform = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$models$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createDelta"])(); - } - setAnimationOrigin(delta, hasOnlyRelativeTargetChanged = false) { - const snapshot = this.snapshot; - const snapshotLatestValues = snapshot ? snapshot.latestValues : {}; - const mixedValues = { - ...this.latestValues - }; - const targetDelta = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$models$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createDelta"])(); - if (!this.relativeParent || !this.relativeParent.options.layoutRoot) { - this.relativeTarget = this.relativeTargetOrigin = undefined; - } - this.attemptToResolveRelativeTarget = !hasOnlyRelativeTargetChanged; - const relativeLayout = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$models$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createBox"])(); - const snapshotSource = snapshot ? snapshot.source : undefined; - const layoutSource = this.layout ? this.layout.source : undefined; - const isSharedLayoutAnimation = snapshotSource !== layoutSource; - const stack = this.getStack(); - const isOnlyMember = !stack || stack.members.length <= 1; - const shouldCrossfadeOpacity = Boolean(isSharedLayoutAnimation && !isOnlyMember && this.options.crossfade === true && !this.path.some(hasOpacityCrossfade)); - this.animationProgress = 0; - let prevRelativeTarget; - this.mixTargetDelta = (latest)=>{ - const progress = latest / 1000; - mixAxisDelta(targetDelta.x, delta.x, progress); - mixAxisDelta(targetDelta.y, delta.y, progress); - this.setTargetDelta(targetDelta); - if (this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$delta$2d$calc$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["calcRelativePosition"])(relativeLayout, this.layout.layoutBox, this.relativeParent.layout.layoutBox); - mixBox(this.relativeTarget, this.relativeTargetOrigin, relativeLayout, progress); - /** - * If this is an unchanged relative target we can consider the - * projection not dirty. - */ if (prevRelativeTarget && (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$utils$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["boxEquals"])(this.relativeTarget, prevRelativeTarget)) { - this.isProjectionDirty = false; - } - if (!prevRelativeTarget) prevRelativeTarget = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$models$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createBox"])(); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$copy$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["copyBoxInto"])(prevRelativeTarget, this.relativeTarget); - } - if (isSharedLayoutAnimation) { - this.animationValues = mixedValues; - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$animation$2f$mix$2d$values$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["mixValues"])(mixedValues, snapshotLatestValues, this.latestValues, progress, shouldCrossfadeOpacity, isOnlyMember); - } - this.root.scheduleUpdateProjection(); - this.scheduleRender(); - this.animationProgress = progress; - }; - this.mixTargetDelta(this.options.layoutRoot ? 1000 : 0); - } - startAnimation(options) { - this.notifyListeners("animationStart"); - this.currentAnimation?.stop(); - this.resumingFrom?.currentAnimation?.stop(); - if (this.pendingAnimation) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["cancelFrame"])(this.pendingAnimation); - this.pendingAnimation = undefined; - } - /** - * Start the animation in the next frame to have a frame with progress 0, - * where the target is the same as when the animation started, so we can - * calculate the relative positions correctly for instant transitions. - */ this.pendingAnimation = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frame"].update(()=>{ - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$node$2f$state$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["globalProjectionState"].hasAnimatedSinceResize = true; - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$stats$2f$animation$2d$count$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["activeAnimations"].layout++; - this.motionValue || (this.motionValue = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$value$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["motionValue"])(0)); - this.currentAnimation = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$animation$2f$animate$2f$single$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["animateSingleValue"])(this.motionValue, [ - 0, - 1000 - ], { - ...options, - velocity: 0, - isSync: true, - onUpdate: (latest)=>{ - this.mixTargetDelta(latest); - options.onUpdate && options.onUpdate(latest); - }, - onStop: ()=>{ - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$stats$2f$animation$2d$count$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["activeAnimations"].layout--; - }, - onComplete: ()=>{ - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$stats$2f$animation$2d$count$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["activeAnimations"].layout--; - options.onComplete && options.onComplete(); - this.completeAnimation(); - } - }); - if (this.resumingFrom) { - this.resumingFrom.currentAnimation = this.currentAnimation; - } - this.pendingAnimation = undefined; - }); - } - completeAnimation() { - if (this.resumingFrom) { - this.resumingFrom.currentAnimation = undefined; - this.resumingFrom.preserveOpacity = undefined; - } - const stack = this.getStack(); - stack && stack.exitAnimationComplete(); - this.resumingFrom = this.currentAnimation = this.animationValues = undefined; - this.notifyListeners("animationComplete"); - } - finishAnimation() { - if (this.currentAnimation) { - this.mixTargetDelta && this.mixTargetDelta(animationTarget); - this.currentAnimation.stop(); - } - this.completeAnimation(); - } - applyTransformsToTarget() { - const lead = this.getLead(); - let { targetWithTransforms, target, layout, latestValues } = lead; - if (!targetWithTransforms || !target || !layout) return; - /** - * If we're only animating position, and this element isn't the lead element, - * then instead of projecting into the lead box we instead want to calculate - * a new target that aligns the two boxes but maintains the layout shape. - */ if (this !== lead && this.layout && layout && shouldAnimatePositionOnly(this.options.animationType, this.layout.layoutBox, layout.layoutBox)) { - target = this.target || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$models$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createBox"])(); - const xLength = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$delta$2d$calc$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["calcLength"])(this.layout.layoutBox.x); - target.x.min = lead.target.x.min; - target.x.max = target.x.min + xLength; - const yLength = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$delta$2d$calc$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["calcLength"])(this.layout.layoutBox.y); - target.y.min = lead.target.y.min; - target.y.max = target.y.min + yLength; - } - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$copy$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["copyBoxInto"])(targetWithTransforms, target); - /** - * Apply the latest user-set transforms to the targetBox to produce the targetBoxFinal. - * This is the final box that we will then project into by calculating a transform delta and - * applying it to the corrected box. - */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$delta$2d$apply$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["transformBox"])(targetWithTransforms, latestValues); - /** - * Update the delta between the corrected box and the final target box, after - * user-set transforms are applied to it. This will be used by the renderer to - * create a transform style that will reproject the element from its layout layout - * into the desired bounding box. - */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$delta$2d$calc$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["calcBoxDelta"])(this.projectionDeltaWithTransform, this.layoutCorrected, targetWithTransforms, latestValues); - } - registerSharedNode(layoutId, node) { - if (!this.sharedNodes.has(layoutId)) { - this.sharedNodes.set(layoutId, new __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$shared$2f$stack$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["NodeStack"]()); - } - const stack = this.sharedNodes.get(layoutId); - stack.add(node); - const config = node.options.initialPromotionConfig; - node.promote({ - transition: config ? config.transition : undefined, - preserveFollowOpacity: config && config.shouldPreserveFollowOpacity ? config.shouldPreserveFollowOpacity(node) : undefined - }); - } - isLead() { - const stack = this.getStack(); - return stack ? stack.lead === this : true; - } - getLead() { - const { layoutId } = this.options; - return layoutId ? this.getStack()?.lead || this : this; - } - getPrevLead() { - const { layoutId } = this.options; - return layoutId ? this.getStack()?.prevLead : undefined; - } - getStack() { - const { layoutId } = this.options; - if (layoutId) return this.root.sharedNodes.get(layoutId); - } - promote({ needsReset, transition, preserveFollowOpacity } = {}) { - const stack = this.getStack(); - if (stack) stack.promote(this, preserveFollowOpacity); - if (needsReset) { - this.projectionDelta = undefined; - this.needsReset = true; - } - if (transition) this.setOptions({ - transition - }); - } - relegate() { - const stack = this.getStack(); - if (stack) { - return stack.relegate(this); - } else { - return false; - } - } - resetSkewAndRotation() { - const { visualElement } = this.options; - if (!visualElement) return; - // If there's no detected skew or rotation values, we can early return without a forced render. - let hasDistortingTransform = false; - /** - * An unrolled check for rotation values. Most elements don't have any rotation and - * skipping the nested loop and new object creation is 50% faster. - */ const { latestValues } = visualElement; - if (latestValues.z || latestValues.rotate || latestValues.rotateX || latestValues.rotateY || latestValues.rotateZ || latestValues.skewX || latestValues.skewY) { - hasDistortingTransform = true; - } - // If there's no distorting values, we don't need to do any more. - if (!hasDistortingTransform) return; - const resetValues = {}; - if (latestValues.z) { - resetDistortingTransform("z", visualElement, resetValues, this.animationValues); - } - // Check the skew and rotate value of all axes and reset to 0 - for(let i = 0; i < transformAxes.length; i++){ - resetDistortingTransform(`rotate${transformAxes[i]}`, visualElement, resetValues, this.animationValues); - resetDistortingTransform(`skew${transformAxes[i]}`, visualElement, resetValues, this.animationValues); - } - // Force a render of this element to apply the transform with all skews and rotations - // set to 0. - visualElement.render(); - // Put back all the values we reset - for(const key in resetValues){ - visualElement.setStaticValue(key, resetValues[key]); - if (this.animationValues) { - this.animationValues[key] = resetValues[key]; - } - } - // Schedule a render for the next frame. This ensures we won't visually - // see the element with the reset rotate value applied. - visualElement.scheduleRender(); - } - applyProjectionStyles(targetStyle, styleProp) { - if (!this.instance || this.isSVG) return; - if (!this.isVisible) { - targetStyle.visibility = "hidden"; - return; - } - const transformTemplate = this.getTransformTemplate(); - if (this.needsReset) { - this.needsReset = false; - targetStyle.visibility = ""; - targetStyle.opacity = ""; - targetStyle.pointerEvents = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$value$2f$utils$2f$resolve$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["resolveMotionValue"])(styleProp?.pointerEvents) || ""; - targetStyle.transform = transformTemplate ? transformTemplate(this.latestValues, "") : "none"; - return; - } - const lead = this.getLead(); - if (!this.projectionDelta || !this.layout || !lead.target) { - if (this.options.layoutId) { - targetStyle.opacity = this.latestValues.opacity !== undefined ? this.latestValues.opacity : 1; - targetStyle.pointerEvents = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$value$2f$utils$2f$resolve$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["resolveMotionValue"])(styleProp?.pointerEvents) || ""; - } - if (this.hasProjected && !(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$utils$2f$has$2d$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["hasTransform"])(this.latestValues)) { - targetStyle.transform = transformTemplate ? transformTemplate({}, "") : "none"; - this.hasProjected = false; - } - return; - } - targetStyle.visibility = ""; - const valuesToRender = lead.animationValues || lead.latestValues; - this.applyTransformsToTarget(); - let transform = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$styles$2f$transform$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["buildProjectionTransform"])(this.projectionDeltaWithTransform, this.treeScale, valuesToRender); - if (transformTemplate) { - transform = transformTemplate(valuesToRender, transform); - } - targetStyle.transform = transform; - const { x, y } = this.projectionDelta; - targetStyle.transformOrigin = `${x.origin * 100}% ${y.origin * 100}% 0`; - if (lead.animationValues) { - /** - * If the lead component is animating, assign this either the entering/leaving - * opacity - */ targetStyle.opacity = lead === this ? valuesToRender.opacity ?? this.latestValues.opacity ?? 1 : this.preserveOpacity ? this.latestValues.opacity : valuesToRender.opacityExit; - } else { - /** - * Or we're not animating at all, set the lead component to its layout - * opacity and other components to hidden. - */ targetStyle.opacity = lead === this ? valuesToRender.opacity !== undefined ? valuesToRender.opacity : "" : valuesToRender.opacityExit !== undefined ? valuesToRender.opacityExit : 0; - } - /** - * Apply scale correction - */ for(const key in __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$styles$2f$scale$2d$correction$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["scaleCorrectors"]){ - if (valuesToRender[key] === undefined) continue; - const { correct, applyTo, isCSSVariable } = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$styles$2f$scale$2d$correction$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["scaleCorrectors"][key]; - /** - * Only apply scale correction to the value if we have an - * active projection transform. Otherwise these values become - * vulnerable to distortion if the element changes size without - * a corresponding layout animation. - */ const corrected = transform === "none" ? valuesToRender[key] : correct(valuesToRender[key], lead); - if (applyTo) { - const num = applyTo.length; - for(let i = 0; i < num; i++){ - targetStyle[applyTo[i]] = corrected; - } - } else { - // If this is a CSS variable, set it directly on the instance. - // Replacing this function from creating styles to setting them - // would be a good place to remove per frame object creation - if (isCSSVariable) { - this.options.visualElement.renderState.vars[key] = corrected; - } else { - targetStyle[key] = corrected; - } - } - } - /** - * Disable pointer events on follow components. This is to ensure - * that if a follow component covers a lead component it doesn't block - * pointer events on the lead. - */ if (this.options.layoutId) { - targetStyle.pointerEvents = lead === this ? (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$value$2f$utils$2f$resolve$2d$motion$2d$value$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["resolveMotionValue"])(styleProp?.pointerEvents) || "" : "none"; - } - } - clearSnapshot() { - this.resumeFrom = this.snapshot = undefined; - } - // Only run on root - resetTree() { - this.root.nodes.forEach((node)=>node.currentAnimation?.stop()); - this.root.nodes.forEach(clearMeasurements); - this.root.sharedNodes.clear(); - } - }; -} -function updateLayout(node) { - node.updateLayout(); -} -function notifyLayoutUpdate(node) { - const snapshot = node.resumeFrom?.snapshot || node.snapshot; - if (node.isLead() && node.layout && snapshot && node.hasListeners("didUpdate")) { - const { layoutBox: layout, measuredBox: measuredLayout } = node.layout; - const { animationType } = node.options; - const isShared = snapshot.source !== node.layout.source; - // TODO Maybe we want to also resize the layout snapshot so we don't trigger - // animations for instance if layout="size" and an element has only changed position - if (animationType === "size") { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$utils$2f$each$2d$axis$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["eachAxis"])((axis)=>{ - const axisSnapshot = isShared ? snapshot.measuredBox[axis] : snapshot.layoutBox[axis]; - const length = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$delta$2d$calc$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["calcLength"])(axisSnapshot); - axisSnapshot.min = layout[axis].min; - axisSnapshot.max = axisSnapshot.min + length; - }); - } else if (shouldAnimatePositionOnly(animationType, snapshot.layoutBox, layout)) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$utils$2f$each$2d$axis$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["eachAxis"])((axis)=>{ - const axisSnapshot = isShared ? snapshot.measuredBox[axis] : snapshot.layoutBox[axis]; - const length = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$delta$2d$calc$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["calcLength"])(layout[axis]); - axisSnapshot.max = axisSnapshot.min + length; - /** - * Ensure relative target gets resized and rerendererd - */ if (node.relativeTarget && !node.currentAnimation) { - node.isProjectionDirty = true; - node.relativeTarget[axis].max = node.relativeTarget[axis].min + length; - } - }); - } - const layoutDelta = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$models$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createDelta"])(); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$delta$2d$calc$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["calcBoxDelta"])(layoutDelta, layout, snapshot.layoutBox); - const visualDelta = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$models$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createDelta"])(); - if (isShared) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$delta$2d$calc$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["calcBoxDelta"])(visualDelta, node.applyTransform(measuredLayout, true), snapshot.measuredBox); - } else { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$delta$2d$calc$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["calcBoxDelta"])(visualDelta, layout, snapshot.layoutBox); - } - const hasLayoutChanged = !(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$utils$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isDeltaZero"])(layoutDelta); - let hasRelativeLayoutChanged = false; - if (!node.resumeFrom) { - const relativeParent = node.getClosestProjectingParent(); - /** - * If the relativeParent is itself resuming from a different element then - * the relative snapshot is not relavent - */ if (relativeParent && !relativeParent.resumeFrom) { - const { snapshot: parentSnapshot, layout: parentLayout } = relativeParent; - if (parentSnapshot && parentLayout) { - const relativeSnapshot = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$models$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createBox"])(); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$delta$2d$calc$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["calcRelativePosition"])(relativeSnapshot, snapshot.layoutBox, parentSnapshot.layoutBox); - const relativeLayout = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$models$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createBox"])(); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$delta$2d$calc$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["calcRelativePosition"])(relativeLayout, layout, parentLayout.layoutBox); - if (!(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$utils$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["boxEqualsRounded"])(relativeSnapshot, relativeLayout)) { - hasRelativeLayoutChanged = true; - } - if (relativeParent.options.layoutRoot) { - node.relativeTarget = relativeLayout; - node.relativeTargetOrigin = relativeSnapshot; - node.relativeParent = relativeParent; - } - } - } - } - node.notifyListeners("didUpdate", { - layout, - snapshot, - delta: visualDelta, - layoutDelta, - hasLayoutChanged, - hasRelativeLayoutChanged - }); - } else if (node.isLead()) { - const { onExitComplete } = node.options; - onExitComplete && onExitComplete(); - } - /** - * Clearing transition - * TODO: Investigate why this transition is being passed in as {type: false } from Framer - * and why we need it at all - */ node.options.transition = undefined; -} -function propagateDirtyNodes(node) { - /** - * Increase debug counter for nodes encountered this frame - */ if (__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$stats$2f$buffer$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["statsBuffer"].value) { - metrics.nodes++; - } - if (!node.parent) return; - /** - * If this node isn't projecting, propagate isProjectionDirty. It will have - * no performance impact but it will allow the next child that *is* projecting - * but *isn't* dirty to just check its parent to see if *any* ancestor needs - * correcting. - */ if (!node.isProjecting()) { - node.isProjectionDirty = node.parent.isProjectionDirty; - } - /** - * Propagate isSharedProjectionDirty and isTransformDirty - * throughout the whole tree. A future revision can take another look at - * this but for safety we still recalcualte shared nodes. - */ node.isSharedProjectionDirty || (node.isSharedProjectionDirty = Boolean(node.isProjectionDirty || node.parent.isProjectionDirty || node.parent.isSharedProjectionDirty)); - node.isTransformDirty || (node.isTransformDirty = node.parent.isTransformDirty); -} -function cleanDirtyNodes(node) { - node.isProjectionDirty = node.isSharedProjectionDirty = node.isTransformDirty = false; -} -function clearSnapshot(node) { - node.clearSnapshot(); -} -function clearMeasurements(node) { - node.clearMeasurements(); -} -function clearIsLayoutDirty(node) { - node.isLayoutDirty = false; -} -function resetTransformStyle(node) { - const { visualElement } = node.options; - if (visualElement && visualElement.getProps().onBeforeLayoutMeasure) { - visualElement.notify("BeforeLayoutMeasure"); - } - node.resetTransform(); -} -function finishAnimation(node) { - node.finishAnimation(); - node.targetDelta = node.relativeTarget = node.target = undefined; - node.isProjectionDirty = true; -} -function resolveTargetDelta(node) { - node.resolveTargetDelta(); -} -function calcProjection(node) { - node.calcProjection(); -} -function resetSkewAndRotation(node) { - node.resetSkewAndRotation(); -} -function removeLeadSnapshots(stack) { - stack.removeLeadSnapshot(); -} -function mixAxisDelta(output, delta, p) { - output.translate = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$number$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["mixNumber"])(delta.translate, 0, p); - output.scale = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$number$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["mixNumber"])(delta.scale, 1, p); - output.origin = delta.origin; - output.originPoint = delta.originPoint; -} -function mixAxis(output, from, to, p) { - output.min = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$number$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["mixNumber"])(from.min, to.min, p); - output.max = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$mix$2f$number$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["mixNumber"])(from.max, to.max, p); -} -function mixBox(output, from, to, p) { - mixAxis(output.x, from.x, to.x, p); - mixAxis(output.y, from.y, to.y, p); -} -function hasOpacityCrossfade(node) { - return node.animationValues && node.animationValues.opacityExit !== undefined; -} -const defaultLayoutTransition = { - duration: 0.45, - ease: [ - 0.4, - 0, - 0.1, - 1 - ] -}; -const userAgentContains = (string)=>typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(string); -/** - * Measured bounding boxes must be rounded in Safari and - * left untouched in Chrome, otherwise non-integer layouts within scaled-up elements - * can appear to jump. - */ const roundPoint = userAgentContains("applewebkit/") && !userAgentContains("chrome/") ? Math.round : __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$noop$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["noop"]; -function roundAxis(axis) { - // Round to the nearest .5 pixels to support subpixel layouts - axis.min = roundPoint(axis.min); - axis.max = roundPoint(axis.max); -} -function roundBox(box) { - roundAxis(box.x); - roundAxis(box.y); -} -function shouldAnimatePositionOnly(animationType, snapshot, layout) { - return animationType === "position" || animationType === "preserve-aspect" && !(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$delta$2d$calc$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isNear"])((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$utils$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["aspectRatio"])(snapshot), (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$geometry$2f$utils$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["aspectRatio"])(layout), 0.2); -} -function checkNodeWasScrollRoot(node) { - return node !== node.root && node.scroll?.wasRoot; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/projection/node/DocumentProjectionNode.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "DocumentProjectionNode", - ()=>DocumentProjectionNode -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$events$2f$add$2d$dom$2d$event$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/events/add-dom-event.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$node$2f$create$2d$projection$2d$node$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/projection/node/create-projection-node.mjs [app-client] (ecmascript)"); -; -; -const DocumentProjectionNode = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$node$2f$create$2d$projection$2d$node$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createProjectionNode"])({ - attachResizeListener: (ref, notify)=>(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$events$2f$add$2d$dom$2d$event$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["addDomEvent"])(ref, "resize", notify), - measureScroll: ()=>({ - x: document.documentElement.scrollLeft || document.body.scrollLeft, - y: document.documentElement.scrollTop || document.body.scrollTop - }), - checkIsScrollRoot: ()=>true -}); -; -}), -"[project]/node_modules/framer-motion/dist/es/projection/node/HTMLProjectionNode.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "HTMLProjectionNode", - ()=>HTMLProjectionNode, - "rootProjectionNode", - ()=>rootProjectionNode -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$node$2f$create$2d$projection$2d$node$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/projection/node/create-projection-node.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$node$2f$DocumentProjectionNode$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/projection/node/DocumentProjectionNode.mjs [app-client] (ecmascript)"); -; -; -const rootProjectionNode = { - current: undefined -}; -const HTMLProjectionNode = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$node$2f$create$2d$projection$2d$node$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createProjectionNode"])({ - measureScroll: (instance)=>({ - x: instance.scrollLeft, - y: instance.scrollTop - }), - defaultParent: ()=>{ - if (!rootProjectionNode.current) { - const documentNode = new __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$node$2f$DocumentProjectionNode$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["DocumentProjectionNode"]({}); - documentNode.mount(window); - documentNode.setOptions({ - layoutScroll: true - }); - rootProjectionNode.current = documentNode; - } - return rootProjectionNode.current; - }, - resetTransform: (instance, value)=>{ - instance.style.transform = value !== undefined ? value : "none"; - }, - checkIsScrollRoot: (instance)=>Boolean(window.getComputedStyle(instance).position === "fixed") -}); -; -}), -"[project]/node_modules/framer-motion/dist/es/motion/features/drag.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "drag", - ()=>drag -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$gestures$2f$drag$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/gestures/drag/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$gestures$2f$pan$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/gestures/pan/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$features$2f$layout$2f$MeasureLayout$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$node$2f$HTMLProjectionNode$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/projection/node/HTMLProjectionNode.mjs [app-client] (ecmascript)"); -; -; -; -; -const drag = { - pan: { - Feature: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$gestures$2f$pan$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["PanGesture"] - }, - drag: { - Feature: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$gestures$2f$drag$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["DragGesture"], - ProjectionNode: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$node$2f$HTMLProjectionNode$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["HTMLProjectionNode"], - MeasureLayout: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$features$2f$layout$2f$MeasureLayout$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["MeasureLayout"] - } -}; -; -}), -"[project]/node_modules/motion-dom/dist/es/utils/resolve-elements.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "resolveElements", - ()=>resolveElements -]); -function resolveElements(elementOrSelector, scope, selectorCache) { - if (elementOrSelector instanceof EventTarget) { - return [ - elementOrSelector - ]; - } else if (typeof elementOrSelector === "string") { - let root = document; - if (scope) { - root = scope.current; - } - const elements = selectorCache?.[elementOrSelector] ?? root.querySelectorAll(elementOrSelector); - return elements ? Array.from(elements) : []; - } - return Array.from(elementOrSelector); -} -; -}), -"[project]/node_modules/motion-dom/dist/es/gestures/utils/setup.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "setupGesture", - ()=>setupGesture -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$resolve$2d$elements$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/utils/resolve-elements.mjs [app-client] (ecmascript)"); -; -function setupGesture(elementOrSelector, options) { - const elements = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$resolve$2d$elements$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["resolveElements"])(elementOrSelector); - const gestureAbortController = new AbortController(); - const eventOptions = { - passive: true, - ...options, - signal: gestureAbortController.signal - }; - const cancel = ()=>gestureAbortController.abort(); - return [ - elements, - eventOptions, - cancel - ]; -} -; -}), -"[project]/node_modules/motion-dom/dist/es/gestures/hover.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "hover", - ()=>hover -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$gestures$2f$drag$2f$state$2f$is$2d$active$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$gestures$2f$utils$2f$setup$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/gestures/utils/setup.mjs [app-client] (ecmascript)"); -; -; -function isValidHover(event) { - return !(event.pointerType === "touch" || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$gestures$2f$drag$2f$state$2f$is$2d$active$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isDragActive"])()); -} -/** - * Create a hover gesture. hover() is different to .addEventListener("pointerenter") - * in that it has an easier syntax, filters out polyfilled touch events, interoperates - * with drag gestures, and automatically removes the "pointerennd" event listener when the hover ends. - * - * @public - */ function hover(elementOrSelector, onHoverStart, options = {}) { - const [elements, eventOptions, cancel] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$gestures$2f$utils$2f$setup$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["setupGesture"])(elementOrSelector, options); - const onPointerEnter = (enterEvent)=>{ - if (!isValidHover(enterEvent)) return; - const { target } = enterEvent; - const onHoverEnd = onHoverStart(target, enterEvent); - if (typeof onHoverEnd !== "function" || !target) return; - const onPointerLeave = (leaveEvent)=>{ - if (!isValidHover(leaveEvent)) return; - onHoverEnd(leaveEvent); - target.removeEventListener("pointerleave", onPointerLeave); - }; - target.addEventListener("pointerleave", onPointerLeave, eventOptions); - }; - elements.forEach((element)=>{ - element.addEventListener("pointerenter", onPointerEnter, eventOptions); - }); - return cancel; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/gestures/hover.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "HoverGesture", - ()=>HoverGesture -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$gestures$2f$hover$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/gestures/hover.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/frameloop/frame.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$events$2f$event$2d$info$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/events/event-info.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$features$2f$Feature$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/motion/features/Feature.mjs [app-client] (ecmascript)"); -; -; -; -function handleHoverEvent(node, event, lifecycle) { - const { props } = node; - if (node.animationState && props.whileHover) { - node.animationState.setActive("whileHover", lifecycle === "Start"); - } - const eventName = "onHover" + lifecycle; - const callback = props[eventName]; - if (callback) { - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frame"].postRender(()=>callback(event, (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$events$2f$event$2d$info$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["extractEventInfo"])(event))); - } -} -class HoverGesture extends __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$features$2f$Feature$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Feature"] { - mount() { - const { current } = this.node; - if (!current) return; - this.unmount = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$gestures$2f$hover$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["hover"])(current, (_element, startEvent)=>{ - handleHoverEvent(this.node, startEvent, "Start"); - return (endEvent)=>handleHoverEvent(this.node, endEvent, "End"); - }); - } - unmount() {} -} -; -}), -"[project]/node_modules/framer-motion/dist/es/gestures/focus.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "FocusGesture", - ()=>FocusGesture -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$pipe$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-utils/dist/es/pipe.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$events$2f$add$2d$dom$2d$event$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/events/add-dom-event.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$features$2f$Feature$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/motion/features/Feature.mjs [app-client] (ecmascript)"); -; -; -; -class FocusGesture extends __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$features$2f$Feature$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Feature"] { - constructor(){ - super(...arguments); - this.isActive = false; - } - onFocus() { - let isFocusVisible = false; - /** - * If this element doesn't match focus-visible then don't - * apply whileHover. But, if matches throws that focus-visible - * is not a valid selector then in that browser outline styles will be applied - * to the element by default and we want to match that behaviour with whileFocus. - */ try { - isFocusVisible = this.node.current.matches(":focus-visible"); - } catch (e) { - isFocusVisible = true; - } - if (!isFocusVisible || !this.node.animationState) return; - this.node.animationState.setActive("whileFocus", true); - this.isActive = true; - } - onBlur() { - if (!this.isActive || !this.node.animationState) return; - this.node.animationState.setActive("whileFocus", false); - this.isActive = false; - } - mount() { - this.unmount = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$utils$2f$dist$2f$es$2f$pipe$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["pipe"])((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$events$2f$add$2d$dom$2d$event$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["addDomEvent"])(this.node.current, "focus", ()=>this.onFocus()), (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$events$2f$add$2d$dom$2d$event$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["addDomEvent"])(this.node.current, "blur", ()=>this.onBlur())); - } - unmount() {} -} -; -}), -"[project]/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "isNodeOrChild", - ()=>isNodeOrChild -]); -/** - * Recursively traverse up the tree to check whether the provided child node - * is the parent or a descendant of it. - * - * @param parent - Element to find - * @param child - Element to test against parent - */ const isNodeOrChild = (parent, child)=>{ - if (!child) { - return false; - } else if (parent === child) { - return true; - } else { - return isNodeOrChild(parent, child.parentElement); - } -}; -; -}), -"[project]/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "isElementKeyboardAccessible", - ()=>isElementKeyboardAccessible -]); -const focusableElements = new Set([ - "BUTTON", - "INPUT", - "SELECT", - "TEXTAREA", - "A" -]); -function isElementKeyboardAccessible(element) { - return focusableElements.has(element.tagName) || element.tabIndex !== -1; -} -; -}), -"[project]/node_modules/motion-dom/dist/es/gestures/press/utils/state.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "isPressing", - ()=>isPressing -]); -const isPressing = new WeakSet(); -; -}), -"[project]/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "enableKeyboardPress", - ()=>enableKeyboardPress -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$gestures$2f$press$2f$utils$2f$state$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/gestures/press/utils/state.mjs [app-client] (ecmascript)"); -; -/** - * Filter out events that are not "Enter" keys. - */ function filterEvents(callback) { - return (event)=>{ - if (event.key !== "Enter") return; - callback(event); - }; -} -function firePointerEvent(target, type) { - target.dispatchEvent(new PointerEvent("pointer" + type, { - isPrimary: true, - bubbles: true - })); -} -const enableKeyboardPress = (focusEvent, eventOptions)=>{ - const element = focusEvent.currentTarget; - if (!element) return; - const handleKeydown = filterEvents(()=>{ - if (__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$gestures$2f$press$2f$utils$2f$state$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isPressing"].has(element)) return; - firePointerEvent(element, "down"); - const handleKeyup = filterEvents(()=>{ - firePointerEvent(element, "up"); - }); - const handleBlur = ()=>firePointerEvent(element, "cancel"); - element.addEventListener("keyup", handleKeyup, eventOptions); - element.addEventListener("blur", handleBlur, eventOptions); - }); - element.addEventListener("keydown", handleKeydown, eventOptions); - /** - * Add an event listener that fires on blur to remove the keydown events. - */ element.addEventListener("blur", ()=>element.removeEventListener("keydown", handleKeydown), eventOptions); -}; -; -}), -"[project]/node_modules/motion-dom/dist/es/gestures/press/index.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "press", - ()=>press -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$is$2d$html$2d$element$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/utils/is-html-element.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$gestures$2f$drag$2f$state$2f$is$2d$active$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$gestures$2f$utils$2f$is$2d$node$2d$or$2d$child$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$gestures$2f$utils$2f$is$2d$primary$2d$pointer$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$gestures$2f$utils$2f$setup$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/gestures/utils/setup.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$gestures$2f$press$2f$utils$2f$is$2d$keyboard$2d$accessible$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$gestures$2f$press$2f$utils$2f$keyboard$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$gestures$2f$press$2f$utils$2f$state$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/gestures/press/utils/state.mjs [app-client] (ecmascript)"); -; -; -; -; -; -; -; -; -/** - * Filter out events that are not primary pointer events, or are triggering - * while a Motion gesture is active. - */ function isValidPressEvent(event) { - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$gestures$2f$utils$2f$is$2d$primary$2d$pointer$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isPrimaryPointer"])(event) && !(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$gestures$2f$drag$2f$state$2f$is$2d$active$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isDragActive"])(); -} -/** - * Create a press gesture. - * - * Press is different to `"pointerdown"`, `"pointerup"` in that it - * automatically filters out secondary pointer events like right - * click and multitouch. - * - * It also adds accessibility support for keyboards, where - * an element with a press gesture will receive focus and - * trigger on Enter `"keydown"` and `"keyup"` events. - * - * This is different to a browser's `"click"` event, which does - * respond to keyboards but only for the `"click"` itself, rather - * than the press start and end/cancel. The element also needs - * to be focusable for this to work, whereas a press gesture will - * make an element focusable by default. - * - * @public - */ function press(targetOrSelector, onPressStart, options = {}) { - const [targets, eventOptions, cancelEvents] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$gestures$2f$utils$2f$setup$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["setupGesture"])(targetOrSelector, options); - const startPress = (startEvent)=>{ - const target = startEvent.currentTarget; - if (!isValidPressEvent(startEvent)) return; - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$gestures$2f$press$2f$utils$2f$state$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isPressing"].add(target); - const onPressEnd = onPressStart(target, startEvent); - const onPointerEnd = (endEvent, success)=>{ - window.removeEventListener("pointerup", onPointerUp); - window.removeEventListener("pointercancel", onPointerCancel); - if (__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$gestures$2f$press$2f$utils$2f$state$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isPressing"].has(target)) { - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$gestures$2f$press$2f$utils$2f$state$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isPressing"].delete(target); - } - if (!isValidPressEvent(endEvent)) { - return; - } - if (typeof onPressEnd === "function") { - onPressEnd(endEvent, { - success - }); - } - }; - const onPointerUp = (upEvent)=>{ - onPointerEnd(upEvent, target === window || target === document || options.useGlobalTarget || (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$gestures$2f$utils$2f$is$2d$node$2d$or$2d$child$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isNodeOrChild"])(target, upEvent.target)); - }; - const onPointerCancel = (cancelEvent)=>{ - onPointerEnd(cancelEvent, false); - }; - window.addEventListener("pointerup", onPointerUp, eventOptions); - window.addEventListener("pointercancel", onPointerCancel, eventOptions); - }; - targets.forEach((target)=>{ - const pointerDownTarget = options.useGlobalTarget ? window : target; - pointerDownTarget.addEventListener("pointerdown", startPress, eventOptions); - if ((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$utils$2f$is$2d$html$2d$element$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isHTMLElement"])(target)) { - target.addEventListener("focus", (event)=>(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$gestures$2f$press$2f$utils$2f$keyboard$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["enableKeyboardPress"])(event, eventOptions)); - if (!(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$gestures$2f$press$2f$utils$2f$is$2d$keyboard$2d$accessible$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isElementKeyboardAccessible"])(target) && !target.hasAttribute("tabindex")) { - target.tabIndex = 0; - } - } - }); - return cancelEvents; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/gestures/press.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "PressGesture", - ()=>PressGesture -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$gestures$2f$press$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/gestures/press/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/motion-dom/dist/es/frameloop/frame.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$events$2f$event$2d$info$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/events/event-info.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$features$2f$Feature$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/motion/features/Feature.mjs [app-client] (ecmascript)"); -; -; -; -function handlePressEvent(node, event, lifecycle) { - const { props } = node; - if (node.current instanceof HTMLButtonElement && node.current.disabled) { - return; - } - if (node.animationState && props.whileTap) { - node.animationState.setActive("whileTap", lifecycle === "Start"); - } - const eventName = "onTap" + (lifecycle === "End" ? "" : lifecycle); - const callback = props[eventName]; - if (callback) { - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$frameloop$2f$frame$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["frame"].postRender(()=>callback(event, (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$events$2f$event$2d$info$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["extractEventInfo"])(event))); - } -} -class PressGesture extends __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$features$2f$Feature$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Feature"] { - mount() { - const { current } = this.node; - if (!current) return; - this.unmount = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$motion$2d$dom$2f$dist$2f$es$2f$gestures$2f$press$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["press"])(current, (_element, startEvent)=>{ - handlePressEvent(this.node, startEvent, "Start"); - return (endEvent, { success })=>handlePressEvent(this.node, endEvent, success ? "End" : "Cancel"); - }, { - useGlobalTarget: this.node.props.globalTapTarget - }); - } - unmount() {} -} -; -}), -"[project]/node_modules/framer-motion/dist/es/motion/features/viewport/observers.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "observeIntersection", - ()=>observeIntersection -]); -/** - * Map an IntersectionHandler callback to an element. We only ever make one handler for one - * element, so even though these handlers might all be triggered by different - * observers, we can keep them in the same map. - */ const observerCallbacks = new WeakMap(); -/** - * Multiple observers can be created for multiple element/document roots. Each with - * different settings. So here we store dictionaries of observers to each root, - * using serialised settings (threshold/margin) as lookup keys. - */ const observers = new WeakMap(); -const fireObserverCallback = (entry)=>{ - const callback = observerCallbacks.get(entry.target); - callback && callback(entry); -}; -const fireAllObserverCallbacks = (entries)=>{ - entries.forEach(fireObserverCallback); -}; -function initIntersectionObserver({ root, ...options }) { - const lookupRoot = root || document; - /** - * If we don't have an observer lookup map for this root, create one. - */ if (!observers.has(lookupRoot)) { - observers.set(lookupRoot, {}); - } - const rootObservers = observers.get(lookupRoot); - const key = JSON.stringify(options); - /** - * If we don't have an observer for this combination of root and settings, - * create one. - */ if (!rootObservers[key]) { - rootObservers[key] = new IntersectionObserver(fireAllObserverCallbacks, { - root, - ...options - }); - } - return rootObservers[key]; -} -function observeIntersection(element, options, callback) { - const rootInteresectionObserver = initIntersectionObserver(options); - observerCallbacks.set(element, callback); - rootInteresectionObserver.observe(element); - return ()=>{ - observerCallbacks.delete(element); - rootInteresectionObserver.unobserve(element); - }; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "InViewFeature", - ()=>InViewFeature -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$features$2f$Feature$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/motion/features/Feature.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$features$2f$viewport$2f$observers$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/motion/features/viewport/observers.mjs [app-client] (ecmascript)"); -; -; -const thresholdNames = { - some: 0, - all: 1 -}; -class InViewFeature extends __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$features$2f$Feature$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Feature"] { - constructor(){ - super(...arguments); - this.hasEnteredView = false; - this.isInView = false; - } - startObserver() { - this.unmount(); - const { viewport = {} } = this.node.getProps(); - const { root, margin: rootMargin, amount = "some", once } = viewport; - const options = { - root: root ? root.current : undefined, - rootMargin, - threshold: typeof amount === "number" ? amount : thresholdNames[amount] - }; - const onIntersectionUpdate = (entry)=>{ - const { isIntersecting } = entry; - /** - * If there's been no change in the viewport state, early return. - */ if (this.isInView === isIntersecting) return; - this.isInView = isIntersecting; - /** - * Handle hasEnteredView. If this is only meant to run once, and - * element isn't visible, early return. Otherwise set hasEnteredView to true. - */ if (once && !isIntersecting && this.hasEnteredView) { - return; - } else if (isIntersecting) { - this.hasEnteredView = true; - } - if (this.node.animationState) { - this.node.animationState.setActive("whileInView", isIntersecting); - } - /** - * Use the latest committed props rather than the ones in scope - * when this observer is created - */ const { onViewportEnter, onViewportLeave } = this.node.getProps(); - const callback = isIntersecting ? onViewportEnter : onViewportLeave; - callback && callback(entry); - }; - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$features$2f$viewport$2f$observers$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["observeIntersection"])(this.node.current, options, onIntersectionUpdate); - } - mount() { - this.startObserver(); - } - update() { - if (typeof IntersectionObserver === "undefined") return; - const { props, prevProps } = this.node; - const hasOptionsChanged = [ - "amount", - "margin", - "root" - ].some(hasViewportOptionChanged(props, prevProps)); - if (hasOptionsChanged) { - this.startObserver(); - } - } - unmount() {} -} -function hasViewportOptionChanged({ viewport = {} }, { viewport: prevViewport = {} } = {}) { - return (name)=>viewport[name] !== prevViewport[name]; -} -; -}), -"[project]/node_modules/framer-motion/dist/es/motion/features/gestures.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "gestureAnimations", - ()=>gestureAnimations -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$gestures$2f$hover$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/gestures/hover.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$gestures$2f$focus$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/gestures/focus.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$gestures$2f$press$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/gestures/press.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$features$2f$viewport$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs [app-client] (ecmascript)"); -; -; -; -; -const gestureAnimations = { - inView: { - Feature: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$features$2f$viewport$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["InViewFeature"] - }, - tap: { - Feature: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$gestures$2f$press$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["PressGesture"] - }, - focus: { - Feature: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$gestures$2f$focus$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["FocusGesture"] - }, - hover: { - Feature: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$gestures$2f$hover$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["HoverGesture"] - } -}; -; -}), -"[project]/node_modules/framer-motion/dist/es/motion/features/layout.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "layout", - ()=>layout -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$node$2f$HTMLProjectionNode$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/projection/node/HTMLProjectionNode.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$features$2f$layout$2f$MeasureLayout$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.mjs [app-client] (ecmascript)"); -; -; -const layout = { - layout: { - ProjectionNode: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$projection$2f$node$2f$HTMLProjectionNode$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["HTMLProjectionNode"], - MeasureLayout: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$features$2f$layout$2f$MeasureLayout$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["MeasureLayout"] - } -}; -; -}), -"[project]/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "featureBundle", - ()=>featureBundle -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$features$2f$animations$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/motion/features/animations.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$features$2f$drag$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/motion/features/drag.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$features$2f$gestures$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/motion/features/gestures.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$features$2f$layout$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/motion/features/layout.mjs [app-client] (ecmascript)"); -; -; -; -; -const featureBundle = { - ...__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$features$2f$animations$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["animations"], - ...__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$features$2f$gestures$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["gestureAnimations"], - ...__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$features$2f$drag$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["drag"], - ...__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$motion$2f$features$2f$layout$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["layout"] -}; -; -}), -"[project]/node_modules/framer-motion/dist/es/render/components/motion/proxy.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "motion", - ()=>motion -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$create$2d$visual$2d$element$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$components$2f$create$2d$proxy$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/components/create-proxy.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$components$2f$motion$2f$feature$2d$bundle$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.mjs [app-client] (ecmascript)"); -; -; -; -const motion = /*@__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$components$2f$create$2d$proxy$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createMotionProxy"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$components$2f$motion$2f$feature$2d$bundle$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["featureBundle"], __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$framer$2d$motion$2f$dist$2f$es$2f$render$2f$dom$2f$create$2d$visual$2d$element$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createDomVisualElement"]); -; -}), -"[project]/node_modules/next/dist/shared/lib/router/utils/querystring.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - assign: null, - searchParamsToUrlQuery: null, - urlQueryToSearchParams: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - assign: function() { - return assign; - }, - searchParamsToUrlQuery: function() { - return searchParamsToUrlQuery; - }, - urlQueryToSearchParams: function() { - return urlQueryToSearchParams; - } -}); -function searchParamsToUrlQuery(searchParams) { - const query = {}; - for (const [key, value] of searchParams.entries()){ - const existing = query[key]; - if (typeof existing === 'undefined') { - query[key] = value; - } else if (Array.isArray(existing)) { - existing.push(value); - } else { - query[key] = [ - existing, - value - ]; - } - } - return query; -} -function stringifyUrlQueryParam(param) { - if (typeof param === 'string') { - return param; - } - if (typeof param === 'number' && !isNaN(param) || typeof param === 'boolean') { - return String(param); - } else { - return ''; - } -} -function urlQueryToSearchParams(query) { - const searchParams = new URLSearchParams(); - for (const [key, value] of Object.entries(query)){ - if (Array.isArray(value)) { - for (const item of value){ - searchParams.append(key, stringifyUrlQueryParam(item)); - } - } else { - searchParams.set(key, stringifyUrlQueryParam(value)); - } - } - return searchParams; -} -function assign(target, ...searchParamsList) { - for (const searchParams of searchParamsList){ - for (const key of searchParams.keys()){ - target.delete(key); - } - for (const [key, value] of searchParams.entries()){ - target.append(key, value); - } - } - return target; -} //# sourceMappingURL=querystring.js.map -}), -"[project]/node_modules/next/dist/shared/lib/router/utils/format-url.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -// Format function modified from nodejs -// Copyright Joyent, Inc. and other Node contributors. -// -// Permission is hereby granted, free of charge, to any person obtaining a -// copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to permit -// persons to whom the Software is furnished to do so, subject to the -// following conditions: -// -// The above copyright notice and this permission notice shall be included -// in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN -// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, -// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR -// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE -// USE OR OTHER DEALINGS IN THE SOFTWARE. -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - formatUrl: null, - formatWithValidation: null, - urlObjectKeys: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - formatUrl: function() { - return formatUrl; - }, - formatWithValidation: function() { - return formatWithValidation; - }, - urlObjectKeys: function() { - return urlObjectKeys; - } -}); -const _interop_require_wildcard = __turbopack_context__.r("[project]/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs [app-client] (ecmascript)"); -const _querystring = /*#__PURE__*/ _interop_require_wildcard._(__turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/router/utils/querystring.js [app-client] (ecmascript)")); -const slashedProtocols = /https?|ftp|gopher|file/; -function formatUrl(urlObj) { - let { auth, hostname } = urlObj; - let protocol = urlObj.protocol || ''; - let pathname = urlObj.pathname || ''; - let hash = urlObj.hash || ''; - let query = urlObj.query || ''; - let host = false; - auth = auth ? encodeURIComponent(auth).replace(/%3A/i, ':') + '@' : ''; - if (urlObj.host) { - host = auth + urlObj.host; - } else if (hostname) { - host = auth + (~hostname.indexOf(':') ? `[${hostname}]` : hostname); - if (urlObj.port) { - host += ':' + urlObj.port; - } - } - if (query && typeof query === 'object') { - query = String(_querystring.urlQueryToSearchParams(query)); - } - let search = urlObj.search || query && `?${query}` || ''; - if (protocol && !protocol.endsWith(':')) protocol += ':'; - if (urlObj.slashes || (!protocol || slashedProtocols.test(protocol)) && host !== false) { - host = '//' + (host || ''); - if (pathname && pathname[0] !== '/') pathname = '/' + pathname; - } else if (!host) { - host = ''; - } - if (hash && hash[0] !== '#') hash = '#' + hash; - if (search && search[0] !== '?') search = '?' + search; - pathname = pathname.replace(/[?#]/g, encodeURIComponent); - search = search.replace('#', '%23'); - return `${protocol}${host}${pathname}${search}${hash}`; -} -const urlObjectKeys = [ - 'auth', - 'hash', - 'host', - 'hostname', - 'href', - 'path', - 'pathname', - 'port', - 'protocol', - 'query', - 'search', - 'slashes' -]; -function formatWithValidation(url) { - if ("TURBOPACK compile-time truthy", 1) { - if (url !== null && typeof url === 'object') { - Object.keys(url).forEach((key)=>{ - if (!urlObjectKeys.includes(key)) { - console.warn(`Unknown key passed via urlObject into url.format: ${key}`); - } - }); - } - } - return formatUrl(url); -} //# sourceMappingURL=format-url.js.map -}), -"[project]/node_modules/next/dist/client/use-merged-ref.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "useMergedRef", { - enumerable: true, - get: function() { - return useMergedRef; - } -}); -const _react = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -function useMergedRef(refA, refB) { - const cleanupA = (0, _react.useRef)(null); - const cleanupB = (0, _react.useRef)(null); - // NOTE: In theory, we could skip the wrapping if only one of the refs is non-null. - // (this happens often if the user doesn't pass a ref to Link/Form/Image) - // But this can cause us to leak a cleanup-ref into user code (previously via ``), - // and the user might pass that ref into ref-merging library that doesn't support cleanup refs - // (because it hasn't been updated for React 19) - // which can then cause things to blow up, because a cleanup-returning ref gets called with `null`. - // So in practice, it's safer to be defensive and always wrap the ref, even on React 19. - return (0, _react.useCallback)((current)=>{ - if (current === null) { - const cleanupFnA = cleanupA.current; - if (cleanupFnA) { - cleanupA.current = null; - cleanupFnA(); - } - const cleanupFnB = cleanupB.current; - if (cleanupFnB) { - cleanupB.current = null; - cleanupFnB(); - } - } else { - if (refA) { - cleanupA.current = applyRef(refA, current); - } - if (refB) { - cleanupB.current = applyRef(refB, current); - } - } - }, [ - refA, - refB - ]); -} -function applyRef(refA, current) { - if (typeof refA === 'function') { - const cleanup = refA(current); - if (typeof cleanup === 'function') { - return cleanup; - } else { - return ()=>refA(null); - } - } else { - refA.current = current; - return ()=>{ - refA.current = null; - }; - } -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=use-merged-ref.js.map -}), -"[project]/node_modules/next/dist/shared/lib/utils.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - DecodeError: null, - MiddlewareNotFoundError: null, - MissingStaticPage: null, - NormalizeError: null, - PageNotFoundError: null, - SP: null, - ST: null, - WEB_VITALS: null, - execOnce: null, - getDisplayName: null, - getLocationOrigin: null, - getURL: null, - isAbsoluteUrl: null, - isResSent: null, - loadGetInitialProps: null, - normalizeRepeatedSlashes: null, - stringifyError: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - DecodeError: function() { - return DecodeError; - }, - MiddlewareNotFoundError: function() { - return MiddlewareNotFoundError; - }, - MissingStaticPage: function() { - return MissingStaticPage; - }, - NormalizeError: function() { - return NormalizeError; - }, - PageNotFoundError: function() { - return PageNotFoundError; - }, - SP: function() { - return SP; - }, - ST: function() { - return ST; - }, - WEB_VITALS: function() { - return WEB_VITALS; - }, - execOnce: function() { - return execOnce; - }, - getDisplayName: function() { - return getDisplayName; - }, - getLocationOrigin: function() { - return getLocationOrigin; - }, - getURL: function() { - return getURL; - }, - isAbsoluteUrl: function() { - return isAbsoluteUrl; - }, - isResSent: function() { - return isResSent; - }, - loadGetInitialProps: function() { - return loadGetInitialProps; - }, - normalizeRepeatedSlashes: function() { - return normalizeRepeatedSlashes; - }, - stringifyError: function() { - return stringifyError; - } -}); -const WEB_VITALS = [ - 'CLS', - 'FCP', - 'FID', - 'INP', - 'LCP', - 'TTFB' -]; -function execOnce(fn) { - let used = false; - let result; - return (...args)=>{ - if (!used) { - used = true; - result = fn(...args); - } - return result; - }; -} -// Scheme: https://tools.ietf.org/html/rfc3986#section-3.1 -// Absolute URL: https://tools.ietf.org/html/rfc3986#section-4.3 -const ABSOLUTE_URL_REGEX = /^[a-zA-Z][a-zA-Z\d+\-.]*?:/; -const isAbsoluteUrl = (url)=>ABSOLUTE_URL_REGEX.test(url); -function getLocationOrigin() { - const { protocol, hostname, port } = window.location; - return `${protocol}//${hostname}${port ? ':' + port : ''}`; -} -function getURL() { - const { href } = window.location; - const origin = getLocationOrigin(); - return href.substring(origin.length); -} -function getDisplayName(Component) { - return typeof Component === 'string' ? Component : Component.displayName || Component.name || 'Unknown'; -} -function isResSent(res) { - return res.finished || res.headersSent; -} -function normalizeRepeatedSlashes(url) { - const urlParts = url.split('?'); - const urlNoQuery = urlParts[0]; - return urlNoQuery // first we replace any non-encoded backslashes with forward - // then normalize repeated forward slashes - .replace(/\\/g, '/').replace(/\/\/+/g, '/') + (urlParts[1] ? `?${urlParts.slice(1).join('?')}` : ''); -} -async function loadGetInitialProps(App, ctx) { - if ("TURBOPACK compile-time truthy", 1) { - if (App.prototype?.getInitialProps) { - const message = `"${getDisplayName(App)}.getInitialProps()" is defined as an instance method - visit https://nextjs.org/docs/messages/get-initial-props-as-an-instance-method for more information.`; - throw Object.defineProperty(new Error(message), "__NEXT_ERROR_CODE", { - value: "E394", - enumerable: false, - configurable: true - }); - } - } - // when called from _app `ctx` is nested in `ctx` - const res = ctx.res || ctx.ctx && ctx.ctx.res; - if (!App.getInitialProps) { - if (ctx.ctx && ctx.Component) { - // @ts-ignore pageProps default - return { - pageProps: await loadGetInitialProps(ctx.Component, ctx.ctx) - }; - } - return {}; - } - const props = await App.getInitialProps(ctx); - if (res && isResSent(res)) { - return props; - } - if (!props) { - const message = `"${getDisplayName(App)}.getInitialProps()" should resolve to an object. But found "${props}" instead.`; - throw Object.defineProperty(new Error(message), "__NEXT_ERROR_CODE", { - value: "E394", - enumerable: false, - configurable: true - }); - } - if ("TURBOPACK compile-time truthy", 1) { - if (Object.keys(props).length === 0 && !ctx.ctx) { - console.warn(`${getDisplayName(App)} returned an empty object from \`getInitialProps\`. This de-optimizes and prevents automatic static optimization. https://nextjs.org/docs/messages/empty-object-getInitialProps`); - } - } - return props; -} -const SP = typeof performance !== 'undefined'; -const ST = SP && [ - 'mark', - 'measure', - 'getEntriesByName' -].every((method)=>typeof performance[method] === 'function'); -class DecodeError extends Error { -} -class NormalizeError extends Error { -} -class PageNotFoundError extends Error { - constructor(page){ - super(); - this.code = 'ENOENT'; - this.name = 'PageNotFoundError'; - this.message = `Cannot find module for page: ${page}`; - } -} -class MissingStaticPage extends Error { - constructor(page, message){ - super(); - this.message = `Failed to load static file for page: ${page} ${message}`; - } -} -class MiddlewareNotFoundError extends Error { - constructor(){ - super(); - this.code = 'ENOENT'; - this.message = `Cannot find the middleware module`; - } -} -function stringifyError(error) { - return JSON.stringify({ - message: error.message, - stack: error.stack - }); -} //# sourceMappingURL=utils.js.map -}), -"[project]/node_modules/next/dist/shared/lib/router/utils/is-local-url.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "isLocalURL", { - enumerable: true, - get: function() { - return isLocalURL; - } -}); -const _utils = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/utils.js [app-client] (ecmascript)"); -const _hasbasepath = __turbopack_context__.r("[project]/node_modules/next/dist/client/has-base-path.js [app-client] (ecmascript)"); -function isLocalURL(url) { - // prevent a hydration mismatch on href for url with anchor refs - if (!(0, _utils.isAbsoluteUrl)(url)) return true; - try { - // absolute urls can be local if they are on the same origin - const locationOrigin = (0, _utils.getLocationOrigin)(); - const resolved = new URL(url, locationOrigin); - return resolved.origin === locationOrigin && (0, _hasbasepath.hasBasePath)(resolved.pathname); - } catch (_) { - return false; - } -} //# sourceMappingURL=is-local-url.js.map -}), -"[project]/node_modules/next/dist/shared/lib/utils/error-once.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "errorOnce", { - enumerable: true, - get: function() { - return errorOnce; - } -}); -let errorOnce = (_)=>{}; -if ("TURBOPACK compile-time truthy", 1) { - const errors = new Set(); - errorOnce = (msg)=>{ - if (!errors.has(msg)) { - console.error(msg); - } - errors.add(msg); - }; -} //# sourceMappingURL=error-once.js.map -}), -"[project]/node_modules/next/dist/client/app-dir/link.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -'use client'; -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - default: null, - useLinkStatus: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - /** - * A React component that extends the HTML `` element to provide - * [prefetching](https://nextjs.org/docs/app/building-your-application/routing/linking-and-navigating#2-prefetching) - * and client-side navigation. This is the primary way to navigate between routes in Next.js. - * - * @remarks - * - Prefetching is only enabled in production. - * - * @see https://nextjs.org/docs/app/api-reference/components/link - */ default: function() { - return LinkComponent; - }, - useLinkStatus: function() { - return useLinkStatus; - } -}); -const _interop_require_wildcard = __turbopack_context__.r("[project]/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs [app-client] (ecmascript)"); -const _jsxruntime = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/jsx-runtime.js [app-client] (ecmascript)"); -const _react = /*#__PURE__*/ _interop_require_wildcard._(__turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)")); -const _formaturl = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/router/utils/format-url.js [app-client] (ecmascript)"); -const _approutercontextsharedruntime = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js [app-client] (ecmascript)"); -const _usemergedref = __turbopack_context__.r("[project]/node_modules/next/dist/client/use-merged-ref.js [app-client] (ecmascript)"); -const _utils = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/utils.js [app-client] (ecmascript)"); -const _addbasepath = __turbopack_context__.r("[project]/node_modules/next/dist/client/add-base-path.js [app-client] (ecmascript)"); -const _warnonce = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/utils/warn-once.js [app-client] (ecmascript)"); -const _links = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/links.js [app-client] (ecmascript)"); -const _islocalurl = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/router/utils/is-local-url.js [app-client] (ecmascript)"); -const _types = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/segment-cache/types.js [app-client] (ecmascript)"); -const _erroronce = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/utils/error-once.js [app-client] (ecmascript)"); -function isModifiedEvent(event) { - const eventTarget = event.currentTarget; - const target = eventTarget.getAttribute('target'); - return target && target !== '_self' || event.metaKey || event.ctrlKey || event.shiftKey || event.altKey || // triggers resource download - event.nativeEvent && event.nativeEvent.which === 2; -} -function linkClicked(e, href, as, linkInstanceRef, replace, scroll, onNavigate) { - if (typeof window !== 'undefined') { - const { nodeName } = e.currentTarget; - // anchors inside an svg have a lowercase nodeName - const isAnchorNodeName = nodeName.toUpperCase() === 'A'; - if (isAnchorNodeName && isModifiedEvent(e) || e.currentTarget.hasAttribute('download')) { - // ignore click for browser’s default behavior - return; - } - if (!(0, _islocalurl.isLocalURL)(href)) { - if (replace) { - // browser default behavior does not replace the history state - // so we need to do it manually - e.preventDefault(); - location.replace(href); - } - // ignore click for browser’s default behavior - return; - } - e.preventDefault(); - if (onNavigate) { - let isDefaultPrevented = false; - onNavigate({ - preventDefault: ()=>{ - isDefaultPrevented = true; - } - }); - if (isDefaultPrevented) { - return; - } - } - const { dispatchNavigateAction } = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/app-router-instance.js [app-client] (ecmascript)"); - _react.default.startTransition(()=>{ - dispatchNavigateAction(as || href, replace ? 'replace' : 'push', scroll ?? true, linkInstanceRef.current); - }); - } -} -function formatStringOrUrl(urlObjOrString) { - if (typeof urlObjOrString === 'string') { - return urlObjOrString; - } - return (0, _formaturl.formatUrl)(urlObjOrString); -} -function LinkComponent(props) { - const [linkStatus, setOptimisticLinkStatus] = (0, _react.useOptimistic)(_links.IDLE_LINK_STATUS); - let children; - const linkInstanceRef = (0, _react.useRef)(null); - const { href: hrefProp, as: asProp, children: childrenProp, prefetch: prefetchProp = null, passHref, replace, shallow, scroll, onClick, onMouseEnter: onMouseEnterProp, onTouchStart: onTouchStartProp, legacyBehavior = false, onNavigate, ref: forwardedRef, unstable_dynamicOnHover, ...restProps } = props; - children = childrenProp; - if (legacyBehavior && (typeof children === 'string' || typeof children === 'number')) { - children = /*#__PURE__*/ (0, _jsxruntime.jsx)("a", { - children: children - }); - } - const router = _react.default.useContext(_approutercontextsharedruntime.AppRouterContext); - const prefetchEnabled = prefetchProp !== false; - const fetchStrategy = prefetchProp !== false ? getFetchStrategyFromPrefetchProp(prefetchProp) : _types.FetchStrategy.PPR; - if ("TURBOPACK compile-time truthy", 1) { - function createPropError(args) { - return Object.defineProperty(new Error(`Failed prop type: The prop \`${args.key}\` expects a ${args.expected} in \`\`, but got \`${args.actual}\` instead.` + (typeof window !== 'undefined' ? "\nOpen your browser's console to view the Component stack trace." : '')), "__NEXT_ERROR_CODE", { - value: "E319", - enumerable: false, - configurable: true - }); - } - // TypeScript trick for type-guarding: - const requiredPropsGuard = { - href: true - }; - const requiredProps = Object.keys(requiredPropsGuard); - requiredProps.forEach((key)=>{ - if (key === 'href') { - if (props[key] == null || typeof props[key] !== 'string' && typeof props[key] !== 'object') { - throw createPropError({ - key, - expected: '`string` or `object`', - actual: props[key] === null ? 'null' : typeof props[key] - }); - } - } else { - // TypeScript trick for type-guarding: - const _ = key; - } - }); - // TypeScript trick for type-guarding: - const optionalPropsGuard = { - as: true, - replace: true, - scroll: true, - shallow: true, - passHref: true, - prefetch: true, - unstable_dynamicOnHover: true, - onClick: true, - onMouseEnter: true, - onTouchStart: true, - legacyBehavior: true, - onNavigate: true - }; - const optionalProps = Object.keys(optionalPropsGuard); - optionalProps.forEach((key)=>{ - const valType = typeof props[key]; - if (key === 'as') { - if (props[key] && valType !== 'string' && valType !== 'object') { - throw createPropError({ - key, - expected: '`string` or `object`', - actual: valType - }); - } - } else if (key === 'onClick' || key === 'onMouseEnter' || key === 'onTouchStart' || key === 'onNavigate') { - if (props[key] && valType !== 'function') { - throw createPropError({ - key, - expected: '`function`', - actual: valType - }); - } - } else if (key === 'replace' || key === 'scroll' || key === 'shallow' || key === 'passHref' || key === 'legacyBehavior' || key === 'unstable_dynamicOnHover') { - if (props[key] != null && valType !== 'boolean') { - throw createPropError({ - key, - expected: '`boolean`', - actual: valType - }); - } - } else if (key === 'prefetch') { - if (props[key] != null && valType !== 'boolean' && props[key] !== 'auto') { - throw createPropError({ - key, - expected: '`boolean | "auto"`', - actual: valType - }); - } - } else { - // TypeScript trick for type-guarding: - const _ = key; - } - }); - } - if ("TURBOPACK compile-time truthy", 1) { - if (props.locale) { - (0, _warnonce.warnOnce)('The `locale` prop is not supported in `next/link` while using the `app` router. Read more about app router internalization: https://nextjs.org/docs/app/building-your-application/routing/internationalization'); - } - if (!asProp) { - let href; - if (typeof hrefProp === 'string') { - href = hrefProp; - } else if (typeof hrefProp === 'object' && typeof hrefProp.pathname === 'string') { - href = hrefProp.pathname; - } - if (href) { - const hasDynamicSegment = href.split('/').some((segment)=>segment.startsWith('[') && segment.endsWith(']')); - if (hasDynamicSegment) { - throw Object.defineProperty(new Error(`Dynamic href \`${href}\` found in while using the \`/app\` router, this is not supported. Read more: https://nextjs.org/docs/messages/app-dir-dynamic-href`), "__NEXT_ERROR_CODE", { - value: "E267", - enumerable: false, - configurable: true - }); - } - } - } - } - const { href, as } = _react.default.useMemo({ - "LinkComponent.useMemo": ()=>{ - const resolvedHref = formatStringOrUrl(hrefProp); - return { - href: resolvedHref, - as: asProp ? formatStringOrUrl(asProp) : resolvedHref - }; - } - }["LinkComponent.useMemo"], [ - hrefProp, - asProp - ]); - // This will return the first child, if multiple are provided it will throw an error - let child; - if (legacyBehavior) { - if (children?.$$typeof === Symbol.for('react.lazy')) { - throw Object.defineProperty(new Error(`\`\` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's \`\` tag.`), "__NEXT_ERROR_CODE", { - value: "E863", - enumerable: false, - configurable: true - }); - } - if ("TURBOPACK compile-time truthy", 1) { - if (onClick) { - console.warn(`"onClick" was passed to with \`href\` of \`${hrefProp}\` but "legacyBehavior" was set. The legacy behavior requires onClick be set on the child of next/link`); - } - if (onMouseEnterProp) { - console.warn(`"onMouseEnter" was passed to with \`href\` of \`${hrefProp}\` but "legacyBehavior" was set. The legacy behavior requires onMouseEnter be set on the child of next/link`); - } - try { - child = _react.default.Children.only(children); - } catch (err) { - if (!children) { - throw Object.defineProperty(new Error(`No children were passed to with \`href\` of \`${hrefProp}\` but one child is required https://nextjs.org/docs/messages/link-no-children`), "__NEXT_ERROR_CODE", { - value: "E320", - enumerable: false, - configurable: true - }); - } - throw Object.defineProperty(new Error(`Multiple children were passed to with \`href\` of \`${hrefProp}\` but only one child is supported https://nextjs.org/docs/messages/link-multiple-children` + (typeof window !== 'undefined' ? " \nOpen your browser's console to view the Component stack trace." : '')), "__NEXT_ERROR_CODE", { - value: "E266", - enumerable: false, - configurable: true - }); - } - } else //TURBOPACK unreachable - ; - } else { - if ("TURBOPACK compile-time truthy", 1) { - if (children?.type === 'a') { - throw Object.defineProperty(new Error('Invalid with child. Please remove or use .\nLearn more: https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor'), "__NEXT_ERROR_CODE", { - value: "E209", - enumerable: false, - configurable: true - }); - } - } - } - const childRef = legacyBehavior ? child && typeof child === 'object' && child.ref : forwardedRef; - // Use a callback ref to attach an IntersectionObserver to the anchor tag on - // mount. In the future we will also use this to keep track of all the - // currently mounted instances, e.g. so we can re-prefetch them after - // a revalidation or refresh. - const observeLinkVisibilityOnMount = _react.default.useCallback({ - "LinkComponent.useCallback[observeLinkVisibilityOnMount]": (element)=>{ - if (router !== null) { - linkInstanceRef.current = (0, _links.mountLinkInstance)(element, href, router, fetchStrategy, prefetchEnabled, setOptimisticLinkStatus); - } - return ({ - "LinkComponent.useCallback[observeLinkVisibilityOnMount]": ()=>{ - if (linkInstanceRef.current) { - (0, _links.unmountLinkForCurrentNavigation)(linkInstanceRef.current); - linkInstanceRef.current = null; - } - (0, _links.unmountPrefetchableInstance)(element); - } - })["LinkComponent.useCallback[observeLinkVisibilityOnMount]"]; - } - }["LinkComponent.useCallback[observeLinkVisibilityOnMount]"], [ - prefetchEnabled, - href, - router, - fetchStrategy, - setOptimisticLinkStatus - ]); - const mergedRef = (0, _usemergedref.useMergedRef)(observeLinkVisibilityOnMount, childRef); - const childProps = { - ref: mergedRef, - onClick (e) { - if ("TURBOPACK compile-time truthy", 1) { - if (!e) { - throw Object.defineProperty(new Error(`Component rendered inside next/link has to pass click event to "onClick" prop.`), "__NEXT_ERROR_CODE", { - value: "E312", - enumerable: false, - configurable: true - }); - } - } - if (!legacyBehavior && typeof onClick === 'function') { - onClick(e); - } - if (legacyBehavior && child.props && typeof child.props.onClick === 'function') { - child.props.onClick(e); - } - if (!router) { - return; - } - if (e.defaultPrevented) { - return; - } - linkClicked(e, href, as, linkInstanceRef, replace, scroll, onNavigate); - }, - onMouseEnter (e) { - if (!legacyBehavior && typeof onMouseEnterProp === 'function') { - onMouseEnterProp(e); - } - if (legacyBehavior && child.props && typeof child.props.onMouseEnter === 'function') { - child.props.onMouseEnter(e); - } - if (!router) { - return; - } - if ("TURBOPACK compile-time truthy", 1) { - return; - } - //TURBOPACK unreachable - ; - const upgradeToDynamicPrefetch = undefined; - }, - onTouchStart: ("TURBOPACK compile-time falsy", 0) ? "TURBOPACK unreachable" : function onTouchStart(e) { - if (!legacyBehavior && typeof onTouchStartProp === 'function') { - onTouchStartProp(e); - } - if (legacyBehavior && child.props && typeof child.props.onTouchStart === 'function') { - child.props.onTouchStart(e); - } - if (!router) { - return; - } - if (!prefetchEnabled) { - return; - } - const upgradeToDynamicPrefetch = unstable_dynamicOnHover === true; - (0, _links.onNavigationIntent)(e.currentTarget, upgradeToDynamicPrefetch); - } - }; - // If the url is absolute, we can bypass the logic to prepend the basePath. - if ((0, _utils.isAbsoluteUrl)(as)) { - childProps.href = as; - } else if (!legacyBehavior || passHref || child.type === 'a' && !('href' in child.props)) { - childProps.href = (0, _addbasepath.addBasePath)(as); - } - let link; - if (legacyBehavior) { - if ("TURBOPACK compile-time truthy", 1) { - (0, _erroronce.errorOnce)('`legacyBehavior` is deprecated and will be removed in a future ' + 'release. A codemod is available to upgrade your components:\n\n' + 'npx @next/codemod@latest new-link .\n\n' + 'Learn more: https://nextjs.org/docs/app/building-your-application/upgrading/codemods#remove-a-tags-from-link-components'); - } - link = /*#__PURE__*/ _react.default.cloneElement(child, childProps); - } else { - link = /*#__PURE__*/ (0, _jsxruntime.jsx)("a", { - ...restProps, - ...childProps, - children: children - }); - } - return /*#__PURE__*/ (0, _jsxruntime.jsx)(LinkStatusContext.Provider, { - value: linkStatus, - children: link - }); -} -const LinkStatusContext = /*#__PURE__*/ (0, _react.createContext)(_links.IDLE_LINK_STATUS); -const useLinkStatus = ()=>{ - return (0, _react.useContext)(LinkStatusContext); -}; -function getFetchStrategyFromPrefetchProp(prefetchProp) { - if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable - ; - else { - return prefetchProp === null || prefetchProp === 'auto' ? _types.FetchStrategy.PPR : // (although invalid values should've been filtered out by prop validation in dev) - _types.FetchStrategy.Full; - } -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=link.js.map -}), -"[project]/node_modules/clsx/dist/clsx.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "clsx", - ()=>clsx, - "default", - ()=>__TURBOPACK__default__export__ -]); -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; -} -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; -} -const __TURBOPACK__default__export__ = clsx; -}), -"[project]/node_modules/tailwind-merge/dist/bundle-mjs.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "createTailwindMerge", - ()=>createTailwindMerge, - "extendTailwindMerge", - ()=>extendTailwindMerge, - "fromTheme", - ()=>fromTheme, - "getDefaultConfig", - ()=>getDefaultConfig, - "mergeConfigs", - ()=>mergeConfigs, - "twJoin", - ()=>twJoin, - "twMerge", - ()=>twMerge, - "validators", - ()=>validators -]); -/** - * Concatenates two arrays faster than the array spread operator. - */ const concatArrays = (array1, array2)=>{ - // Pre-allocate for better V8 optimization - const combinedArray = new Array(array1.length + array2.length); - for(let i = 0; i < array1.length; i++){ - combinedArray[i] = array1[i]; - } - for(let i = 0; i < array2.length; i++){ - combinedArray[array1.length + i] = array2[i]; - } - return combinedArray; -}; -// Factory function ensures consistent object shapes -const createClassValidatorObject = (classGroupId, validator)=>({ - classGroupId, - validator - }); -// Factory ensures consistent ClassPartObject shape -const createClassPartObject = (nextPart = new Map(), validators = null, classGroupId)=>({ - nextPart, - validators, - classGroupId - }); -const CLASS_PART_SEPARATOR = '-'; -const EMPTY_CONFLICTS = []; -// I use two dots here because one dot is used as prefix for class groups in plugins -const ARBITRARY_PROPERTY_PREFIX = 'arbitrary..'; -const createClassGroupUtils = (config)=>{ - const classMap = createClassMap(config); - const { conflictingClassGroups, conflictingClassGroupModifiers } = config; - const getClassGroupId = (className)=>{ - if (className.startsWith('[') && className.endsWith(']')) { - return getGroupIdForArbitraryProperty(className); - } - const classParts = className.split(CLASS_PART_SEPARATOR); - // Classes like `-inset-1` produce an empty string as first classPart. We assume that classes for negative values are used correctly and skip it. - const startIndex = classParts[0] === '' && classParts.length > 1 ? 1 : 0; - return getGroupRecursive(classParts, startIndex, classMap); - }; - const getConflictingClassGroupIds = (classGroupId, hasPostfixModifier)=>{ - if (hasPostfixModifier) { - const modifierConflicts = conflictingClassGroupModifiers[classGroupId]; - const baseConflicts = conflictingClassGroups[classGroupId]; - if (modifierConflicts) { - if (baseConflicts) { - // Merge base conflicts with modifier conflicts - return concatArrays(baseConflicts, modifierConflicts); - } - // Only modifier conflicts - return modifierConflicts; - } - // Fall back to without postfix if no modifier conflicts - return baseConflicts || EMPTY_CONFLICTS; - } - return conflictingClassGroups[classGroupId] || EMPTY_CONFLICTS; - }; - return { - getClassGroupId, - getConflictingClassGroupIds - }; -}; -const getGroupRecursive = (classParts, startIndex, classPartObject)=>{ - const classPathsLength = classParts.length - startIndex; - if (classPathsLength === 0) { - return classPartObject.classGroupId; - } - const currentClassPart = classParts[startIndex]; - const nextClassPartObject = classPartObject.nextPart.get(currentClassPart); - if (nextClassPartObject) { - const result = getGroupRecursive(classParts, startIndex + 1, nextClassPartObject); - if (result) return result; - } - const validators = classPartObject.validators; - if (validators === null) { - return undefined; - } - // Build classRest string efficiently by joining from startIndex onwards - const classRest = startIndex === 0 ? classParts.join(CLASS_PART_SEPARATOR) : classParts.slice(startIndex).join(CLASS_PART_SEPARATOR); - const validatorsLength = validators.length; - for(let i = 0; i < validatorsLength; i++){ - const validatorObj = validators[i]; - if (validatorObj.validator(classRest)) { - return validatorObj.classGroupId; - } - } - return undefined; -}; -/** - * Get the class group ID for an arbitrary property. - * - * @param className - The class name to get the group ID for. Is expected to be string starting with `[` and ending with `]`. - */ const getGroupIdForArbitraryProperty = (className)=>className.slice(1, -1).indexOf(':') === -1 ? undefined : (()=>{ - const content = className.slice(1, -1); - const colonIndex = content.indexOf(':'); - const property = content.slice(0, colonIndex); - return property ? ARBITRARY_PROPERTY_PREFIX + property : undefined; - })(); -/** - * Exported for testing only - */ const createClassMap = (config)=>{ - const { theme, classGroups } = config; - return processClassGroups(classGroups, theme); -}; -// Split into separate functions to maintain monomorphic call sites -const processClassGroups = (classGroups, theme)=>{ - const classMap = createClassPartObject(); - for(const classGroupId in classGroups){ - const group = classGroups[classGroupId]; - processClassesRecursively(group, classMap, classGroupId, theme); - } - return classMap; -}; -const processClassesRecursively = (classGroup, classPartObject, classGroupId, theme)=>{ - const len = classGroup.length; - for(let i = 0; i < len; i++){ - const classDefinition = classGroup[i]; - processClassDefinition(classDefinition, classPartObject, classGroupId, theme); - } -}; -// Split into separate functions for each type to maintain monomorphic call sites -const processClassDefinition = (classDefinition, classPartObject, classGroupId, theme)=>{ - if (typeof classDefinition === 'string') { - processStringDefinition(classDefinition, classPartObject, classGroupId); - return; - } - if (typeof classDefinition === 'function') { - processFunctionDefinition(classDefinition, classPartObject, classGroupId, theme); - return; - } - processObjectDefinition(classDefinition, classPartObject, classGroupId, theme); -}; -const processStringDefinition = (classDefinition, classPartObject, classGroupId)=>{ - const classPartObjectToEdit = classDefinition === '' ? classPartObject : getPart(classPartObject, classDefinition); - classPartObjectToEdit.classGroupId = classGroupId; -}; -const processFunctionDefinition = (classDefinition, classPartObject, classGroupId, theme)=>{ - if (isThemeGetter(classDefinition)) { - processClassesRecursively(classDefinition(theme), classPartObject, classGroupId, theme); - return; - } - if (classPartObject.validators === null) { - classPartObject.validators = []; - } - classPartObject.validators.push(createClassValidatorObject(classGroupId, classDefinition)); -}; -const processObjectDefinition = (classDefinition, classPartObject, classGroupId, theme)=>{ - const entries = Object.entries(classDefinition); - const len = entries.length; - for(let i = 0; i < len; i++){ - const [key, value] = entries[i]; - processClassesRecursively(value, getPart(classPartObject, key), classGroupId, theme); - } -}; -const getPart = (classPartObject, path)=>{ - let current = classPartObject; - const parts = path.split(CLASS_PART_SEPARATOR); - const len = parts.length; - for(let i = 0; i < len; i++){ - const part = parts[i]; - let next = current.nextPart.get(part); - if (!next) { - next = createClassPartObject(); - current.nextPart.set(part, next); - } - current = next; - } - return current; -}; -// Type guard maintains monomorphic check -const isThemeGetter = (func)=>'isThemeGetter' in func && func.isThemeGetter === true; -// LRU cache implementation using plain objects for simplicity -const createLruCache = (maxCacheSize)=>{ - if (maxCacheSize < 1) { - return { - get: ()=>undefined, - set: ()=>{} - }; - } - let cacheSize = 0; - let cache = Object.create(null); - let previousCache = Object.create(null); - const update = (key, value)=>{ - cache[key] = value; - cacheSize++; - if (cacheSize > maxCacheSize) { - cacheSize = 0; - previousCache = cache; - cache = Object.create(null); - } - }; - return { - get (key) { - let value = cache[key]; - if (value !== undefined) { - return value; - } - if ((value = previousCache[key]) !== undefined) { - update(key, value); - return value; - } - }, - set (key, value) { - if (key in cache) { - cache[key] = value; - } else { - update(key, value); - } - } - }; -}; -const IMPORTANT_MODIFIER = '!'; -const MODIFIER_SEPARATOR = ':'; -const EMPTY_MODIFIERS = []; -// Pre-allocated result object shape for consistency -const createResultObject = (modifiers, hasImportantModifier, baseClassName, maybePostfixModifierPosition, isExternal)=>({ - modifiers, - hasImportantModifier, - baseClassName, - maybePostfixModifierPosition, - isExternal - }); -const createParseClassName = (config)=>{ - const { prefix, experimentalParseClassName } = config; - /** - * Parse class name into parts. - * - * Inspired by `splitAtTopLevelOnly` used in Tailwind CSS - * @see https://github.com/tailwindlabs/tailwindcss/blob/v3.2.2/src/util/splitAtTopLevelOnly.js - */ let parseClassName = (className)=>{ - // Use simple array with push for better performance - const modifiers = []; - let bracketDepth = 0; - let parenDepth = 0; - let modifierStart = 0; - let postfixModifierPosition; - const len = className.length; - for(let index = 0; index < len; index++){ - const currentCharacter = className[index]; - if (bracketDepth === 0 && parenDepth === 0) { - if (currentCharacter === MODIFIER_SEPARATOR) { - modifiers.push(className.slice(modifierStart, index)); - modifierStart = index + 1; - continue; - } - if (currentCharacter === '/') { - postfixModifierPosition = index; - continue; - } - } - if (currentCharacter === '[') bracketDepth++; - else if (currentCharacter === ']') bracketDepth--; - else if (currentCharacter === '(') parenDepth++; - else if (currentCharacter === ')') parenDepth--; - } - const baseClassNameWithImportantModifier = modifiers.length === 0 ? className : className.slice(modifierStart); - // Inline important modifier check - let baseClassName = baseClassNameWithImportantModifier; - let hasImportantModifier = false; - if (baseClassNameWithImportantModifier.endsWith(IMPORTANT_MODIFIER)) { - baseClassName = baseClassNameWithImportantModifier.slice(0, -1); - hasImportantModifier = true; - } else if (/** - * In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons. - * @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864 - */ baseClassNameWithImportantModifier.startsWith(IMPORTANT_MODIFIER)) { - baseClassName = baseClassNameWithImportantModifier.slice(1); - hasImportantModifier = true; - } - const maybePostfixModifierPosition = postfixModifierPosition && postfixModifierPosition > modifierStart ? postfixModifierPosition - modifierStart : undefined; - return createResultObject(modifiers, hasImportantModifier, baseClassName, maybePostfixModifierPosition); - }; - if (prefix) { - const fullPrefix = prefix + MODIFIER_SEPARATOR; - const parseClassNameOriginal = parseClassName; - parseClassName = (className)=>className.startsWith(fullPrefix) ? parseClassNameOriginal(className.slice(fullPrefix.length)) : createResultObject(EMPTY_MODIFIERS, false, className, undefined, true); - } - if (experimentalParseClassName) { - const parseClassNameOriginal = parseClassName; - parseClassName = (className)=>experimentalParseClassName({ - className, - parseClassName: parseClassNameOriginal - }); - } - return parseClassName; -}; -/** - * Sorts modifiers according to following schema: - * - Predefined modifiers are sorted alphabetically - * - When an arbitrary variant appears, it must be preserved which modifiers are before and after it - */ const createSortModifiers = (config)=>{ - // Pre-compute weights for all known modifiers for O(1) comparison - const modifierWeights = new Map(); - // Assign weights to sensitive modifiers (highest priority, but preserve order) - config.orderSensitiveModifiers.forEach((mod, index)=>{ - modifierWeights.set(mod, 1000000 + index); // High weights for sensitive mods - }); - return (modifiers)=>{ - const result = []; - let currentSegment = []; - // Process modifiers in one pass - for(let i = 0; i < modifiers.length; i++){ - const modifier = modifiers[i]; - // Check if modifier is sensitive (starts with '[' or in orderSensitiveModifiers) - const isArbitrary = modifier[0] === '['; - const isOrderSensitive = modifierWeights.has(modifier); - if (isArbitrary || isOrderSensitive) { - // Sort and flush current segment alphabetically - if (currentSegment.length > 0) { - currentSegment.sort(); - result.push(...currentSegment); - currentSegment = []; - } - result.push(modifier); - } else { - // Regular modifier - add to current segment for batch sorting - currentSegment.push(modifier); - } - } - // Sort and add any remaining segment items - if (currentSegment.length > 0) { - currentSegment.sort(); - result.push(...currentSegment); - } - return result; - }; -}; -const createConfigUtils = (config)=>({ - cache: createLruCache(config.cacheSize), - parseClassName: createParseClassName(config), - sortModifiers: createSortModifiers(config), - ...createClassGroupUtils(config) - }); -const SPLIT_CLASSES_REGEX = /\s+/; -const mergeClassList = (classList, configUtils)=>{ - const { parseClassName, getClassGroupId, getConflictingClassGroupIds, sortModifiers } = configUtils; - /** - * Set of classGroupIds in following format: - * `{importantModifier}{variantModifiers}{classGroupId}` - * @example 'float' - * @example 'hover:focus:bg-color' - * @example 'md:!pr' - */ const classGroupsInConflict = []; - const classNames = classList.trim().split(SPLIT_CLASSES_REGEX); - let result = ''; - for(let index = classNames.length - 1; index >= 0; index -= 1){ - const originalClassName = classNames[index]; - const { isExternal, modifiers, hasImportantModifier, baseClassName, maybePostfixModifierPosition } = parseClassName(originalClassName); - if (isExternal) { - result = originalClassName + (result.length > 0 ? ' ' + result : result); - continue; - } - let hasPostfixModifier = !!maybePostfixModifierPosition; - let classGroupId = getClassGroupId(hasPostfixModifier ? baseClassName.substring(0, maybePostfixModifierPosition) : baseClassName); - if (!classGroupId) { - if (!hasPostfixModifier) { - // Not a Tailwind class - result = originalClassName + (result.length > 0 ? ' ' + result : result); - continue; - } - classGroupId = getClassGroupId(baseClassName); - if (!classGroupId) { - // Not a Tailwind class - result = originalClassName + (result.length > 0 ? ' ' + result : result); - continue; - } - hasPostfixModifier = false; - } - // Fast path: skip sorting for empty or single modifier - const variantModifier = modifiers.length === 0 ? '' : modifiers.length === 1 ? modifiers[0] : sortModifiers(modifiers).join(':'); - const modifierId = hasImportantModifier ? variantModifier + IMPORTANT_MODIFIER : variantModifier; - const classId = modifierId + classGroupId; - if (classGroupsInConflict.indexOf(classId) > -1) { - continue; - } - classGroupsInConflict.push(classId); - const conflictGroups = getConflictingClassGroupIds(classGroupId, hasPostfixModifier); - for(let i = 0; i < conflictGroups.length; ++i){ - const group = conflictGroups[i]; - classGroupsInConflict.push(modifierId + group); - } - // Tailwind class not in conflict - result = originalClassName + (result.length > 0 ? ' ' + result : result); - } - return result; -}; -/** - * The code in this file is copied from https://github.com/lukeed/clsx and modified to suit the needs of tailwind-merge better. - * - * Specifically: - * - Runtime code from https://github.com/lukeed/clsx/blob/v1.2.1/src/index.js - * - TypeScript types from https://github.com/lukeed/clsx/blob/v1.2.1/clsx.d.ts - * - * Original code has MIT license: Copyright (c) Luke Edwards (lukeed.com) - */ const twJoin = (...classLists)=>{ - let index = 0; - let argument; - let resolvedValue; - let string = ''; - while(index < classLists.length){ - if (argument = classLists[index++]) { - if (resolvedValue = toValue(argument)) { - string && (string += ' '); - string += resolvedValue; - } - } - } - return string; -}; -const toValue = (mix)=>{ - // Fast path for strings - if (typeof mix === 'string') { - return mix; - } - let resolvedValue; - let string = ''; - for(let k = 0; k < mix.length; k++){ - if (mix[k]) { - if (resolvedValue = toValue(mix[k])) { - string && (string += ' '); - string += resolvedValue; - } - } - } - return string; -}; -const createTailwindMerge = (createConfigFirst, ...createConfigRest)=>{ - let configUtils; - let cacheGet; - let cacheSet; - let functionToCall; - const initTailwindMerge = (classList)=>{ - const config = createConfigRest.reduce((previousConfig, createConfigCurrent)=>createConfigCurrent(previousConfig), createConfigFirst()); - configUtils = createConfigUtils(config); - cacheGet = configUtils.cache.get; - cacheSet = configUtils.cache.set; - functionToCall = tailwindMerge; - return tailwindMerge(classList); - }; - const tailwindMerge = (classList)=>{ - const cachedResult = cacheGet(classList); - if (cachedResult) { - return cachedResult; - } - const result = mergeClassList(classList, configUtils); - cacheSet(classList, result); - return result; - }; - functionToCall = initTailwindMerge; - return (...args)=>functionToCall(twJoin(...args)); -}; -const fallbackThemeArr = []; -const fromTheme = (key)=>{ - const themeGetter = (theme)=>theme[key] || fallbackThemeArr; - themeGetter.isThemeGetter = true; - return themeGetter; -}; -const arbitraryValueRegex = /^\[(?:(\w[\w-]*):)?(.+)\]$/i; -const arbitraryVariableRegex = /^\((?:(\w[\w-]*):)?(.+)\)$/i; -const fractionRegex = /^\d+\/\d+$/; -const tshirtUnitRegex = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/; -const 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$/; -const colorFunctionRegex = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/; -// Shadow always begins with x and y offset separated by underscore optionally prepended by inset -const shadowRegex = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/; -const imageRegex = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/; -const isFraction = (value)=>fractionRegex.test(value); -const isNumber = (value)=>!!value && !Number.isNaN(Number(value)); -const isInteger = (value)=>!!value && Number.isInteger(Number(value)); -const isPercent = (value)=>value.endsWith('%') && isNumber(value.slice(0, -1)); -const isTshirtSize = (value)=>tshirtUnitRegex.test(value); -const isAny = ()=>true; -const isLengthOnly = (value)=>// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths. - // For example, `hsl(0 0% 0%)` would be classified as a length without this check. - // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough. - lengthUnitRegex.test(value) && !colorFunctionRegex.test(value); -const isNever = ()=>false; -const isShadow = (value)=>shadowRegex.test(value); -const isImage = (value)=>imageRegex.test(value); -const isAnyNonArbitrary = (value)=>!isArbitraryValue(value) && !isArbitraryVariable(value); -const isArbitrarySize = (value)=>getIsArbitraryValue(value, isLabelSize, isNever); -const isArbitraryValue = (value)=>arbitraryValueRegex.test(value); -const isArbitraryLength = (value)=>getIsArbitraryValue(value, isLabelLength, isLengthOnly); -const isArbitraryNumber = (value)=>getIsArbitraryValue(value, isLabelNumber, isNumber); -const isArbitraryPosition = (value)=>getIsArbitraryValue(value, isLabelPosition, isNever); -const isArbitraryImage = (value)=>getIsArbitraryValue(value, isLabelImage, isImage); -const isArbitraryShadow = (value)=>getIsArbitraryValue(value, isLabelShadow, isShadow); -const isArbitraryVariable = (value)=>arbitraryVariableRegex.test(value); -const isArbitraryVariableLength = (value)=>getIsArbitraryVariable(value, isLabelLength); -const isArbitraryVariableFamilyName = (value)=>getIsArbitraryVariable(value, isLabelFamilyName); -const isArbitraryVariablePosition = (value)=>getIsArbitraryVariable(value, isLabelPosition); -const isArbitraryVariableSize = (value)=>getIsArbitraryVariable(value, isLabelSize); -const isArbitraryVariableImage = (value)=>getIsArbitraryVariable(value, isLabelImage); -const isArbitraryVariableShadow = (value)=>getIsArbitraryVariable(value, isLabelShadow, true); -// Helpers -const getIsArbitraryValue = (value, testLabel, testValue)=>{ - const result = arbitraryValueRegex.exec(value); - if (result) { - if (result[1]) { - return testLabel(result[1]); - } - return testValue(result[2]); - } - return false; -}; -const getIsArbitraryVariable = (value, testLabel, shouldMatchNoLabel = false)=>{ - const result = arbitraryVariableRegex.exec(value); - if (result) { - if (result[1]) { - return testLabel(result[1]); - } - return shouldMatchNoLabel; - } - return false; -}; -// Labels -const isLabelPosition = (label)=>label === 'position' || label === 'percentage'; -const isLabelImage = (label)=>label === 'image' || label === 'url'; -const isLabelSize = (label)=>label === 'length' || label === 'size' || label === 'bg-size'; -const isLabelLength = (label)=>label === 'length'; -const isLabelNumber = (label)=>label === 'number'; -const isLabelFamilyName = (label)=>label === 'family-name'; -const isLabelShadow = (label)=>label === 'shadow'; -const validators = /*#__PURE__*/ Object.defineProperty({ - __proto__: null, - isAny, - isAnyNonArbitrary, - isArbitraryImage, - isArbitraryLength, - isArbitraryNumber, - isArbitraryPosition, - isArbitraryShadow, - isArbitrarySize, - isArbitraryValue, - isArbitraryVariable, - isArbitraryVariableFamilyName, - isArbitraryVariableImage, - isArbitraryVariableLength, - isArbitraryVariablePosition, - isArbitraryVariableShadow, - isArbitraryVariableSize, - isFraction, - isInteger, - isNumber, - isPercent, - isTshirtSize -}, Symbol.toStringTag, { - value: 'Module' -}); -const getDefaultConfig = ()=>{ - /** - * Theme getters for theme variable namespaces - * @see https://tailwindcss.com/docs/theme#theme-variable-namespaces - */ /***/ const themeColor = fromTheme('color'); - const themeFont = fromTheme('font'); - const themeText = fromTheme('text'); - const themeFontWeight = fromTheme('font-weight'); - const themeTracking = fromTheme('tracking'); - const themeLeading = fromTheme('leading'); - const themeBreakpoint = fromTheme('breakpoint'); - const themeContainer = fromTheme('container'); - const themeSpacing = fromTheme('spacing'); - const themeRadius = fromTheme('radius'); - const themeShadow = fromTheme('shadow'); - const themeInsetShadow = fromTheme('inset-shadow'); - const themeTextShadow = fromTheme('text-shadow'); - const themeDropShadow = fromTheme('drop-shadow'); - const themeBlur = fromTheme('blur'); - const themePerspective = fromTheme('perspective'); - const themeAspect = fromTheme('aspect'); - const themeEase = fromTheme('ease'); - const themeAnimate = fromTheme('animate'); - /** - * Helpers to avoid repeating the same scales - * - * We use functions that create a new array every time they're called instead of static arrays. - * This ensures that users who modify any scale by mutating the array (e.g. with `array.push(element)`) don't accidentally mutate arrays in other parts of the config. - */ /***/ const scaleBreak = ()=>[ - 'auto', - 'avoid', - 'all', - 'avoid-page', - 'page', - 'left', - 'right', - 'column' - ]; - const scalePosition = ()=>[ - 'center', - 'top', - 'bottom', - 'left', - 'right', - 'top-left', - // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378 - 'left-top', - 'top-right', - // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378 - 'right-top', - 'bottom-right', - // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378 - 'right-bottom', - 'bottom-left', - // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378 - 'left-bottom' - ]; - const scalePositionWithArbitrary = ()=>[ - ...scalePosition(), - isArbitraryVariable, - isArbitraryValue - ]; - const scaleOverflow = ()=>[ - 'auto', - 'hidden', - 'clip', - 'visible', - 'scroll' - ]; - const scaleOverscroll = ()=>[ - 'auto', - 'contain', - 'none' - ]; - const scaleUnambiguousSpacing = ()=>[ - isArbitraryVariable, - isArbitraryValue, - themeSpacing - ]; - const scaleInset = ()=>[ - isFraction, - 'full', - 'auto', - ...scaleUnambiguousSpacing() - ]; - const scaleGridTemplateColsRows = ()=>[ - isInteger, - 'none', - 'subgrid', - isArbitraryVariable, - isArbitraryValue - ]; - const scaleGridColRowStartAndEnd = ()=>[ - 'auto', - { - span: [ - 'full', - isInteger, - isArbitraryVariable, - isArbitraryValue - ] - }, - isInteger, - isArbitraryVariable, - isArbitraryValue - ]; - const scaleGridColRowStartOrEnd = ()=>[ - isInteger, - 'auto', - isArbitraryVariable, - isArbitraryValue - ]; - const scaleGridAutoColsRows = ()=>[ - 'auto', - 'min', - 'max', - 'fr', - isArbitraryVariable, - isArbitraryValue - ]; - const scaleAlignPrimaryAxis = ()=>[ - 'start', - 'end', - 'center', - 'between', - 'around', - 'evenly', - 'stretch', - 'baseline', - 'center-safe', - 'end-safe' - ]; - const scaleAlignSecondaryAxis = ()=>[ - 'start', - 'end', - 'center', - 'stretch', - 'center-safe', - 'end-safe' - ]; - const scaleMargin = ()=>[ - 'auto', - ...scaleUnambiguousSpacing() - ]; - const scaleSizing = ()=>[ - isFraction, - 'auto', - 'full', - 'dvw', - 'dvh', - 'lvw', - 'lvh', - 'svw', - 'svh', - 'min', - 'max', - 'fit', - ...scaleUnambiguousSpacing() - ]; - const scaleColor = ()=>[ - themeColor, - isArbitraryVariable, - isArbitraryValue - ]; - const scaleBgPosition = ()=>[ - ...scalePosition(), - isArbitraryVariablePosition, - isArbitraryPosition, - { - position: [ - isArbitraryVariable, - isArbitraryValue - ] - } - ]; - const scaleBgRepeat = ()=>[ - 'no-repeat', - { - repeat: [ - '', - 'x', - 'y', - 'space', - 'round' - ] - } - ]; - const scaleBgSize = ()=>[ - 'auto', - 'cover', - 'contain', - isArbitraryVariableSize, - isArbitrarySize, - { - size: [ - isArbitraryVariable, - isArbitraryValue - ] - } - ]; - const scaleGradientStopPosition = ()=>[ - isPercent, - isArbitraryVariableLength, - isArbitraryLength - ]; - const scaleRadius = ()=>[ - // Deprecated since Tailwind CSS v4.0.0 - '', - 'none', - 'full', - themeRadius, - isArbitraryVariable, - isArbitraryValue - ]; - const scaleBorderWidth = ()=>[ - '', - isNumber, - isArbitraryVariableLength, - isArbitraryLength - ]; - const scaleLineStyle = ()=>[ - 'solid', - 'dashed', - 'dotted', - 'double' - ]; - const scaleBlendMode = ()=>[ - 'normal', - 'multiply', - 'screen', - 'overlay', - 'darken', - 'lighten', - 'color-dodge', - 'color-burn', - 'hard-light', - 'soft-light', - 'difference', - 'exclusion', - 'hue', - 'saturation', - 'color', - 'luminosity' - ]; - const scaleMaskImagePosition = ()=>[ - isNumber, - isPercent, - isArbitraryVariablePosition, - isArbitraryPosition - ]; - const scaleBlur = ()=>[ - // Deprecated since Tailwind CSS v4.0.0 - '', - 'none', - themeBlur, - isArbitraryVariable, - isArbitraryValue - ]; - const scaleRotate = ()=>[ - 'none', - isNumber, - isArbitraryVariable, - isArbitraryValue - ]; - const scaleScale = ()=>[ - 'none', - isNumber, - isArbitraryVariable, - isArbitraryValue - ]; - const scaleSkew = ()=>[ - isNumber, - isArbitraryVariable, - isArbitraryValue - ]; - const scaleTranslate = ()=>[ - isFraction, - 'full', - ...scaleUnambiguousSpacing() - ]; - return { - cacheSize: 500, - theme: { - animate: [ - 'spin', - 'ping', - 'pulse', - 'bounce' - ], - aspect: [ - 'video' - ], - blur: [ - isTshirtSize - ], - breakpoint: [ - isTshirtSize - ], - color: [ - isAny - ], - container: [ - isTshirtSize - ], - 'drop-shadow': [ - isTshirtSize - ], - ease: [ - 'in', - 'out', - 'in-out' - ], - font: [ - isAnyNonArbitrary - ], - 'font-weight': [ - 'thin', - 'extralight', - 'light', - 'normal', - 'medium', - 'semibold', - 'bold', - 'extrabold', - 'black' - ], - 'inset-shadow': [ - isTshirtSize - ], - leading: [ - 'none', - 'tight', - 'snug', - 'normal', - 'relaxed', - 'loose' - ], - perspective: [ - 'dramatic', - 'near', - 'normal', - 'midrange', - 'distant', - 'none' - ], - radius: [ - isTshirtSize - ], - shadow: [ - isTshirtSize - ], - spacing: [ - 'px', - isNumber - ], - text: [ - isTshirtSize - ], - 'text-shadow': [ - isTshirtSize - ], - tracking: [ - 'tighter', - 'tight', - 'normal', - 'wide', - 'wider', - 'widest' - ] - }, - classGroups: { - // -------------- - // --- Layout --- - // -------------- - /** - * Aspect Ratio - * @see https://tailwindcss.com/docs/aspect-ratio - */ aspect: [ - { - aspect: [ - 'auto', - 'square', - isFraction, - isArbitraryValue, - isArbitraryVariable, - themeAspect - ] - } - ], - /** - * Container - * @see https://tailwindcss.com/docs/container - * @deprecated since Tailwind CSS v4.0.0 - */ container: [ - 'container' - ], - /** - * Columns - * @see https://tailwindcss.com/docs/columns - */ columns: [ - { - columns: [ - isNumber, - isArbitraryValue, - isArbitraryVariable, - themeContainer - ] - } - ], - /** - * Break After - * @see https://tailwindcss.com/docs/break-after - */ 'break-after': [ - { - 'break-after': scaleBreak() - } - ], - /** - * Break Before - * @see https://tailwindcss.com/docs/break-before - */ 'break-before': [ - { - 'break-before': scaleBreak() - } - ], - /** - * Break Inside - * @see https://tailwindcss.com/docs/break-inside - */ 'break-inside': [ - { - 'break-inside': [ - 'auto', - 'avoid', - 'avoid-page', - 'avoid-column' - ] - } - ], - /** - * Box Decoration Break - * @see https://tailwindcss.com/docs/box-decoration-break - */ 'box-decoration': [ - { - 'box-decoration': [ - 'slice', - 'clone' - ] - } - ], - /** - * Box Sizing - * @see https://tailwindcss.com/docs/box-sizing - */ box: [ - { - box: [ - 'border', - 'content' - ] - } - ], - /** - * Display - * @see https://tailwindcss.com/docs/display - */ 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' - ], - /** - * Screen Reader Only - * @see https://tailwindcss.com/docs/display#screen-reader-only - */ sr: [ - 'sr-only', - 'not-sr-only' - ], - /** - * Floats - * @see https://tailwindcss.com/docs/float - */ float: [ - { - float: [ - 'right', - 'left', - 'none', - 'start', - 'end' - ] - } - ], - /** - * Clear - * @see https://tailwindcss.com/docs/clear - */ clear: [ - { - clear: [ - 'left', - 'right', - 'both', - 'none', - 'start', - 'end' - ] - } - ], - /** - * Isolation - * @see https://tailwindcss.com/docs/isolation - */ isolation: [ - 'isolate', - 'isolation-auto' - ], - /** - * Object Fit - * @see https://tailwindcss.com/docs/object-fit - */ 'object-fit': [ - { - object: [ - 'contain', - 'cover', - 'fill', - 'none', - 'scale-down' - ] - } - ], - /** - * Object Position - * @see https://tailwindcss.com/docs/object-position - */ 'object-position': [ - { - object: scalePositionWithArbitrary() - } - ], - /** - * Overflow - * @see https://tailwindcss.com/docs/overflow - */ overflow: [ - { - overflow: scaleOverflow() - } - ], - /** - * Overflow X - * @see https://tailwindcss.com/docs/overflow - */ 'overflow-x': [ - { - 'overflow-x': scaleOverflow() - } - ], - /** - * Overflow Y - * @see https://tailwindcss.com/docs/overflow - */ 'overflow-y': [ - { - 'overflow-y': scaleOverflow() - } - ], - /** - * Overscroll Behavior - * @see https://tailwindcss.com/docs/overscroll-behavior - */ overscroll: [ - { - overscroll: scaleOverscroll() - } - ], - /** - * Overscroll Behavior X - * @see https://tailwindcss.com/docs/overscroll-behavior - */ 'overscroll-x': [ - { - 'overscroll-x': scaleOverscroll() - } - ], - /** - * Overscroll Behavior Y - * @see https://tailwindcss.com/docs/overscroll-behavior - */ 'overscroll-y': [ - { - 'overscroll-y': scaleOverscroll() - } - ], - /** - * Position - * @see https://tailwindcss.com/docs/position - */ position: [ - 'static', - 'fixed', - 'absolute', - 'relative', - 'sticky' - ], - /** - * Top / Right / Bottom / Left - * @see https://tailwindcss.com/docs/top-right-bottom-left - */ inset: [ - { - inset: scaleInset() - } - ], - /** - * Right / Left - * @see https://tailwindcss.com/docs/top-right-bottom-left - */ 'inset-x': [ - { - 'inset-x': scaleInset() - } - ], - /** - * Top / Bottom - * @see https://tailwindcss.com/docs/top-right-bottom-left - */ 'inset-y': [ - { - 'inset-y': scaleInset() - } - ], - /** - * Start - * @see https://tailwindcss.com/docs/top-right-bottom-left - */ start: [ - { - start: scaleInset() - } - ], - /** - * End - * @see https://tailwindcss.com/docs/top-right-bottom-left - */ end: [ - { - end: scaleInset() - } - ], - /** - * Top - * @see https://tailwindcss.com/docs/top-right-bottom-left - */ top: [ - { - top: scaleInset() - } - ], - /** - * Right - * @see https://tailwindcss.com/docs/top-right-bottom-left - */ right: [ - { - right: scaleInset() - } - ], - /** - * Bottom - * @see https://tailwindcss.com/docs/top-right-bottom-left - */ bottom: [ - { - bottom: scaleInset() - } - ], - /** - * Left - * @see https://tailwindcss.com/docs/top-right-bottom-left - */ left: [ - { - left: scaleInset() - } - ], - /** - * Visibility - * @see https://tailwindcss.com/docs/visibility - */ visibility: [ - 'visible', - 'invisible', - 'collapse' - ], - /** - * Z-Index - * @see https://tailwindcss.com/docs/z-index - */ z: [ - { - z: [ - isInteger, - 'auto', - isArbitraryVariable, - isArbitraryValue - ] - } - ], - // ------------------------ - // --- Flexbox and Grid --- - // ------------------------ - /** - * Flex Basis - * @see https://tailwindcss.com/docs/flex-basis - */ basis: [ - { - basis: [ - isFraction, - 'full', - 'auto', - themeContainer, - ...scaleUnambiguousSpacing() - ] - } - ], - /** - * Flex Direction - * @see https://tailwindcss.com/docs/flex-direction - */ 'flex-direction': [ - { - flex: [ - 'row', - 'row-reverse', - 'col', - 'col-reverse' - ] - } - ], - /** - * Flex Wrap - * @see https://tailwindcss.com/docs/flex-wrap - */ 'flex-wrap': [ - { - flex: [ - 'nowrap', - 'wrap', - 'wrap-reverse' - ] - } - ], - /** - * Flex - * @see https://tailwindcss.com/docs/flex - */ flex: [ - { - flex: [ - isNumber, - isFraction, - 'auto', - 'initial', - 'none', - isArbitraryValue - ] - } - ], - /** - * Flex Grow - * @see https://tailwindcss.com/docs/flex-grow - */ grow: [ - { - grow: [ - '', - isNumber, - isArbitraryVariable, - isArbitraryValue - ] - } - ], - /** - * Flex Shrink - * @see https://tailwindcss.com/docs/flex-shrink - */ shrink: [ - { - shrink: [ - '', - isNumber, - isArbitraryVariable, - isArbitraryValue - ] - } - ], - /** - * Order - * @see https://tailwindcss.com/docs/order - */ order: [ - { - order: [ - isInteger, - 'first', - 'last', - 'none', - isArbitraryVariable, - isArbitraryValue - ] - } - ], - /** - * Grid Template Columns - * @see https://tailwindcss.com/docs/grid-template-columns - */ 'grid-cols': [ - { - 'grid-cols': scaleGridTemplateColsRows() - } - ], - /** - * Grid Column Start / End - * @see https://tailwindcss.com/docs/grid-column - */ 'col-start-end': [ - { - col: scaleGridColRowStartAndEnd() - } - ], - /** - * Grid Column Start - * @see https://tailwindcss.com/docs/grid-column - */ 'col-start': [ - { - 'col-start': scaleGridColRowStartOrEnd() - } - ], - /** - * Grid Column End - * @see https://tailwindcss.com/docs/grid-column - */ 'col-end': [ - { - 'col-end': scaleGridColRowStartOrEnd() - } - ], - /** - * Grid Template Rows - * @see https://tailwindcss.com/docs/grid-template-rows - */ 'grid-rows': [ - { - 'grid-rows': scaleGridTemplateColsRows() - } - ], - /** - * Grid Row Start / End - * @see https://tailwindcss.com/docs/grid-row - */ 'row-start-end': [ - { - row: scaleGridColRowStartAndEnd() - } - ], - /** - * Grid Row Start - * @see https://tailwindcss.com/docs/grid-row - */ 'row-start': [ - { - 'row-start': scaleGridColRowStartOrEnd() - } - ], - /** - * Grid Row End - * @see https://tailwindcss.com/docs/grid-row - */ 'row-end': [ - { - 'row-end': scaleGridColRowStartOrEnd() - } - ], - /** - * Grid Auto Flow - * @see https://tailwindcss.com/docs/grid-auto-flow - */ 'grid-flow': [ - { - 'grid-flow': [ - 'row', - 'col', - 'dense', - 'row-dense', - 'col-dense' - ] - } - ], - /** - * Grid Auto Columns - * @see https://tailwindcss.com/docs/grid-auto-columns - */ 'auto-cols': [ - { - 'auto-cols': scaleGridAutoColsRows() - } - ], - /** - * Grid Auto Rows - * @see https://tailwindcss.com/docs/grid-auto-rows - */ 'auto-rows': [ - { - 'auto-rows': scaleGridAutoColsRows() - } - ], - /** - * Gap - * @see https://tailwindcss.com/docs/gap - */ gap: [ - { - gap: scaleUnambiguousSpacing() - } - ], - /** - * Gap X - * @see https://tailwindcss.com/docs/gap - */ 'gap-x': [ - { - 'gap-x': scaleUnambiguousSpacing() - } - ], - /** - * Gap Y - * @see https://tailwindcss.com/docs/gap - */ 'gap-y': [ - { - 'gap-y': scaleUnambiguousSpacing() - } - ], - /** - * Justify Content - * @see https://tailwindcss.com/docs/justify-content - */ 'justify-content': [ - { - justify: [ - ...scaleAlignPrimaryAxis(), - 'normal' - ] - } - ], - /** - * Justify Items - * @see https://tailwindcss.com/docs/justify-items - */ 'justify-items': [ - { - 'justify-items': [ - ...scaleAlignSecondaryAxis(), - 'normal' - ] - } - ], - /** - * Justify Self - * @see https://tailwindcss.com/docs/justify-self - */ 'justify-self': [ - { - 'justify-self': [ - 'auto', - ...scaleAlignSecondaryAxis() - ] - } - ], - /** - * Align Content - * @see https://tailwindcss.com/docs/align-content - */ 'align-content': [ - { - content: [ - 'normal', - ...scaleAlignPrimaryAxis() - ] - } - ], - /** - * Align Items - * @see https://tailwindcss.com/docs/align-items - */ 'align-items': [ - { - items: [ - ...scaleAlignSecondaryAxis(), - { - baseline: [ - '', - 'last' - ] - } - ] - } - ], - /** - * Align Self - * @see https://tailwindcss.com/docs/align-self - */ 'align-self': [ - { - self: [ - 'auto', - ...scaleAlignSecondaryAxis(), - { - baseline: [ - '', - 'last' - ] - } - ] - } - ], - /** - * Place Content - * @see https://tailwindcss.com/docs/place-content - */ 'place-content': [ - { - 'place-content': scaleAlignPrimaryAxis() - } - ], - /** - * Place Items - * @see https://tailwindcss.com/docs/place-items - */ 'place-items': [ - { - 'place-items': [ - ...scaleAlignSecondaryAxis(), - 'baseline' - ] - } - ], - /** - * Place Self - * @see https://tailwindcss.com/docs/place-self - */ 'place-self': [ - { - 'place-self': [ - 'auto', - ...scaleAlignSecondaryAxis() - ] - } - ], - // Spacing - /** - * Padding - * @see https://tailwindcss.com/docs/padding - */ p: [ - { - p: scaleUnambiguousSpacing() - } - ], - /** - * Padding X - * @see https://tailwindcss.com/docs/padding - */ px: [ - { - px: scaleUnambiguousSpacing() - } - ], - /** - * Padding Y - * @see https://tailwindcss.com/docs/padding - */ py: [ - { - py: scaleUnambiguousSpacing() - } - ], - /** - * Padding Start - * @see https://tailwindcss.com/docs/padding - */ ps: [ - { - ps: scaleUnambiguousSpacing() - } - ], - /** - * Padding End - * @see https://tailwindcss.com/docs/padding - */ pe: [ - { - pe: scaleUnambiguousSpacing() - } - ], - /** - * Padding Top - * @see https://tailwindcss.com/docs/padding - */ pt: [ - { - pt: scaleUnambiguousSpacing() - } - ], - /** - * Padding Right - * @see https://tailwindcss.com/docs/padding - */ pr: [ - { - pr: scaleUnambiguousSpacing() - } - ], - /** - * Padding Bottom - * @see https://tailwindcss.com/docs/padding - */ pb: [ - { - pb: scaleUnambiguousSpacing() - } - ], - /** - * Padding Left - * @see https://tailwindcss.com/docs/padding - */ pl: [ - { - pl: scaleUnambiguousSpacing() - } - ], - /** - * Margin - * @see https://tailwindcss.com/docs/margin - */ m: [ - { - m: scaleMargin() - } - ], - /** - * Margin X - * @see https://tailwindcss.com/docs/margin - */ mx: [ - { - mx: scaleMargin() - } - ], - /** - * Margin Y - * @see https://tailwindcss.com/docs/margin - */ my: [ - { - my: scaleMargin() - } - ], - /** - * Margin Start - * @see https://tailwindcss.com/docs/margin - */ ms: [ - { - ms: scaleMargin() - } - ], - /** - * Margin End - * @see https://tailwindcss.com/docs/margin - */ me: [ - { - me: scaleMargin() - } - ], - /** - * Margin Top - * @see https://tailwindcss.com/docs/margin - */ mt: [ - { - mt: scaleMargin() - } - ], - /** - * Margin Right - * @see https://tailwindcss.com/docs/margin - */ mr: [ - { - mr: scaleMargin() - } - ], - /** - * Margin Bottom - * @see https://tailwindcss.com/docs/margin - */ mb: [ - { - mb: scaleMargin() - } - ], - /** - * Margin Left - * @see https://tailwindcss.com/docs/margin - */ ml: [ - { - ml: scaleMargin() - } - ], - /** - * Space Between X - * @see https://tailwindcss.com/docs/margin#adding-space-between-children - */ 'space-x': [ - { - 'space-x': scaleUnambiguousSpacing() - } - ], - /** - * Space Between X Reverse - * @see https://tailwindcss.com/docs/margin#adding-space-between-children - */ 'space-x-reverse': [ - 'space-x-reverse' - ], - /** - * Space Between Y - * @see https://tailwindcss.com/docs/margin#adding-space-between-children - */ 'space-y': [ - { - 'space-y': scaleUnambiguousSpacing() - } - ], - /** - * Space Between Y Reverse - * @see https://tailwindcss.com/docs/margin#adding-space-between-children - */ 'space-y-reverse': [ - 'space-y-reverse' - ], - // -------------- - // --- Sizing --- - // -------------- - /** - * Size - * @see https://tailwindcss.com/docs/width#setting-both-width-and-height - */ size: [ - { - size: scaleSizing() - } - ], - /** - * Width - * @see https://tailwindcss.com/docs/width - */ w: [ - { - w: [ - themeContainer, - 'screen', - ...scaleSizing() - ] - } - ], - /** - * Min-Width - * @see https://tailwindcss.com/docs/min-width - */ 'min-w': [ - { - 'min-w': [ - themeContainer, - 'screen', - /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */ 'none', - ...scaleSizing() - ] - } - ], - /** - * Max-Width - * @see https://tailwindcss.com/docs/max-width - */ 'max-w': [ - { - 'max-w': [ - themeContainer, - 'screen', - 'none', - /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */ 'prose', - /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */ { - screen: [ - themeBreakpoint - ] - }, - ...scaleSizing() - ] - } - ], - /** - * Height - * @see https://tailwindcss.com/docs/height - */ h: [ - { - h: [ - 'screen', - 'lh', - ...scaleSizing() - ] - } - ], - /** - * Min-Height - * @see https://tailwindcss.com/docs/min-height - */ 'min-h': [ - { - 'min-h': [ - 'screen', - 'lh', - 'none', - ...scaleSizing() - ] - } - ], - /** - * Max-Height - * @see https://tailwindcss.com/docs/max-height - */ 'max-h': [ - { - 'max-h': [ - 'screen', - 'lh', - ...scaleSizing() - ] - } - ], - // ------------------ - // --- Typography --- - // ------------------ - /** - * Font Size - * @see https://tailwindcss.com/docs/font-size - */ 'font-size': [ - { - text: [ - 'base', - themeText, - isArbitraryVariableLength, - isArbitraryLength - ] - } - ], - /** - * Font Smoothing - * @see https://tailwindcss.com/docs/font-smoothing - */ 'font-smoothing': [ - 'antialiased', - 'subpixel-antialiased' - ], - /** - * Font Style - * @see https://tailwindcss.com/docs/font-style - */ 'font-style': [ - 'italic', - 'not-italic' - ], - /** - * Font Weight - * @see https://tailwindcss.com/docs/font-weight - */ 'font-weight': [ - { - font: [ - themeFontWeight, - isArbitraryVariable, - isArbitraryNumber - ] - } - ], - /** - * Font Stretch - * @see https://tailwindcss.com/docs/font-stretch - */ 'font-stretch': [ - { - 'font-stretch': [ - 'ultra-condensed', - 'extra-condensed', - 'condensed', - 'semi-condensed', - 'normal', - 'semi-expanded', - 'expanded', - 'extra-expanded', - 'ultra-expanded', - isPercent, - isArbitraryValue - ] - } - ], - /** - * Font Family - * @see https://tailwindcss.com/docs/font-family - */ 'font-family': [ - { - font: [ - isArbitraryVariableFamilyName, - isArbitraryValue, - themeFont - ] - } - ], - /** - * Font Variant Numeric - * @see https://tailwindcss.com/docs/font-variant-numeric - */ 'fvn-normal': [ - 'normal-nums' - ], - /** - * Font Variant Numeric - * @see https://tailwindcss.com/docs/font-variant-numeric - */ 'fvn-ordinal': [ - 'ordinal' - ], - /** - * Font Variant Numeric - * @see https://tailwindcss.com/docs/font-variant-numeric - */ 'fvn-slashed-zero': [ - 'slashed-zero' - ], - /** - * Font Variant Numeric - * @see https://tailwindcss.com/docs/font-variant-numeric - */ 'fvn-figure': [ - 'lining-nums', - 'oldstyle-nums' - ], - /** - * Font Variant Numeric - * @see https://tailwindcss.com/docs/font-variant-numeric - */ 'fvn-spacing': [ - 'proportional-nums', - 'tabular-nums' - ], - /** - * Font Variant Numeric - * @see https://tailwindcss.com/docs/font-variant-numeric - */ 'fvn-fraction': [ - 'diagonal-fractions', - 'stacked-fractions' - ], - /** - * Letter Spacing - * @see https://tailwindcss.com/docs/letter-spacing - */ tracking: [ - { - tracking: [ - themeTracking, - isArbitraryVariable, - isArbitraryValue - ] - } - ], - /** - * Line Clamp - * @see https://tailwindcss.com/docs/line-clamp - */ 'line-clamp': [ - { - 'line-clamp': [ - isNumber, - 'none', - isArbitraryVariable, - isArbitraryNumber - ] - } - ], - /** - * Line Height - * @see https://tailwindcss.com/docs/line-height - */ leading: [ - { - leading: [ - /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */ themeLeading, - ...scaleUnambiguousSpacing() - ] - } - ], - /** - * List Style Image - * @see https://tailwindcss.com/docs/list-style-image - */ 'list-image': [ - { - 'list-image': [ - 'none', - isArbitraryVariable, - isArbitraryValue - ] - } - ], - /** - * List Style Position - * @see https://tailwindcss.com/docs/list-style-position - */ 'list-style-position': [ - { - list: [ - 'inside', - 'outside' - ] - } - ], - /** - * List Style Type - * @see https://tailwindcss.com/docs/list-style-type - */ 'list-style-type': [ - { - list: [ - 'disc', - 'decimal', - 'none', - isArbitraryVariable, - isArbitraryValue - ] - } - ], - /** - * Text Alignment - * @see https://tailwindcss.com/docs/text-align - */ 'text-alignment': [ - { - text: [ - 'left', - 'center', - 'right', - 'justify', - 'start', - 'end' - ] - } - ], - /** - * Placeholder Color - * @deprecated since Tailwind CSS v3.0.0 - * @see https://v3.tailwindcss.com/docs/placeholder-color - */ 'placeholder-color': [ - { - placeholder: scaleColor() - } - ], - /** - * Text Color - * @see https://tailwindcss.com/docs/text-color - */ 'text-color': [ - { - text: scaleColor() - } - ], - /** - * Text Decoration - * @see https://tailwindcss.com/docs/text-decoration - */ 'text-decoration': [ - 'underline', - 'overline', - 'line-through', - 'no-underline' - ], - /** - * Text Decoration Style - * @see https://tailwindcss.com/docs/text-decoration-style - */ 'text-decoration-style': [ - { - decoration: [ - ...scaleLineStyle(), - 'wavy' - ] - } - ], - /** - * Text Decoration Thickness - * @see https://tailwindcss.com/docs/text-decoration-thickness - */ 'text-decoration-thickness': [ - { - decoration: [ - isNumber, - 'from-font', - 'auto', - isArbitraryVariable, - isArbitraryLength - ] - } - ], - /** - * Text Decoration Color - * @see https://tailwindcss.com/docs/text-decoration-color - */ 'text-decoration-color': [ - { - decoration: scaleColor() - } - ], - /** - * Text Underline Offset - * @see https://tailwindcss.com/docs/text-underline-offset - */ 'underline-offset': [ - { - 'underline-offset': [ - isNumber, - 'auto', - isArbitraryVariable, - isArbitraryValue - ] - } - ], - /** - * Text Transform - * @see https://tailwindcss.com/docs/text-transform - */ 'text-transform': [ - 'uppercase', - 'lowercase', - 'capitalize', - 'normal-case' - ], - /** - * Text Overflow - * @see https://tailwindcss.com/docs/text-overflow - */ 'text-overflow': [ - 'truncate', - 'text-ellipsis', - 'text-clip' - ], - /** - * Text Wrap - * @see https://tailwindcss.com/docs/text-wrap - */ 'text-wrap': [ - { - text: [ - 'wrap', - 'nowrap', - 'balance', - 'pretty' - ] - } - ], - /** - * Text Indent - * @see https://tailwindcss.com/docs/text-indent - */ indent: [ - { - indent: scaleUnambiguousSpacing() - } - ], - /** - * Vertical Alignment - * @see https://tailwindcss.com/docs/vertical-align - */ 'vertical-align': [ - { - align: [ - 'baseline', - 'top', - 'middle', - 'bottom', - 'text-top', - 'text-bottom', - 'sub', - 'super', - isArbitraryVariable, - isArbitraryValue - ] - } - ], - /** - * Whitespace - * @see https://tailwindcss.com/docs/whitespace - */ whitespace: [ - { - whitespace: [ - 'normal', - 'nowrap', - 'pre', - 'pre-line', - 'pre-wrap', - 'break-spaces' - ] - } - ], - /** - * Word Break - * @see https://tailwindcss.com/docs/word-break - */ break: [ - { - break: [ - 'normal', - 'words', - 'all', - 'keep' - ] - } - ], - /** - * Overflow Wrap - * @see https://tailwindcss.com/docs/overflow-wrap - */ wrap: [ - { - wrap: [ - 'break-word', - 'anywhere', - 'normal' - ] - } - ], - /** - * Hyphens - * @see https://tailwindcss.com/docs/hyphens - */ hyphens: [ - { - hyphens: [ - 'none', - 'manual', - 'auto' - ] - } - ], - /** - * Content - * @see https://tailwindcss.com/docs/content - */ content: [ - { - content: [ - 'none', - isArbitraryVariable, - isArbitraryValue - ] - } - ], - // ------------------- - // --- Backgrounds --- - // ------------------- - /** - * Background Attachment - * @see https://tailwindcss.com/docs/background-attachment - */ 'bg-attachment': [ - { - bg: [ - 'fixed', - 'local', - 'scroll' - ] - } - ], - /** - * Background Clip - * @see https://tailwindcss.com/docs/background-clip - */ 'bg-clip': [ - { - 'bg-clip': [ - 'border', - 'padding', - 'content', - 'text' - ] - } - ], - /** - * Background Origin - * @see https://tailwindcss.com/docs/background-origin - */ 'bg-origin': [ - { - 'bg-origin': [ - 'border', - 'padding', - 'content' - ] - } - ], - /** - * Background Position - * @see https://tailwindcss.com/docs/background-position - */ 'bg-position': [ - { - bg: scaleBgPosition() - } - ], - /** - * Background Repeat - * @see https://tailwindcss.com/docs/background-repeat - */ 'bg-repeat': [ - { - bg: scaleBgRepeat() - } - ], - /** - * Background Size - * @see https://tailwindcss.com/docs/background-size - */ 'bg-size': [ - { - bg: scaleBgSize() - } - ], - /** - * Background Image - * @see https://tailwindcss.com/docs/background-image - */ 'bg-image': [ - { - bg: [ - 'none', - { - linear: [ - { - to: [ - 't', - 'tr', - 'r', - 'br', - 'b', - 'bl', - 'l', - 'tl' - ] - }, - isInteger, - isArbitraryVariable, - isArbitraryValue - ], - radial: [ - '', - isArbitraryVariable, - isArbitraryValue - ], - conic: [ - isInteger, - isArbitraryVariable, - isArbitraryValue - ] - }, - isArbitraryVariableImage, - isArbitraryImage - ] - } - ], - /** - * Background Color - * @see https://tailwindcss.com/docs/background-color - */ 'bg-color': [ - { - bg: scaleColor() - } - ], - /** - * Gradient Color Stops From Position - * @see https://tailwindcss.com/docs/gradient-color-stops - */ 'gradient-from-pos': [ - { - from: scaleGradientStopPosition() - } - ], - /** - * Gradient Color Stops Via Position - * @see https://tailwindcss.com/docs/gradient-color-stops - */ 'gradient-via-pos': [ - { - via: scaleGradientStopPosition() - } - ], - /** - * Gradient Color Stops To Position - * @see https://tailwindcss.com/docs/gradient-color-stops - */ 'gradient-to-pos': [ - { - to: scaleGradientStopPosition() - } - ], - /** - * Gradient Color Stops From - * @see https://tailwindcss.com/docs/gradient-color-stops - */ 'gradient-from': [ - { - from: scaleColor() - } - ], - /** - * Gradient Color Stops Via - * @see https://tailwindcss.com/docs/gradient-color-stops - */ 'gradient-via': [ - { - via: scaleColor() - } - ], - /** - * Gradient Color Stops To - * @see https://tailwindcss.com/docs/gradient-color-stops - */ 'gradient-to': [ - { - to: scaleColor() - } - ], - // --------------- - // --- Borders --- - // --------------- - /** - * Border Radius - * @see https://tailwindcss.com/docs/border-radius - */ rounded: [ - { - rounded: scaleRadius() - } - ], - /** - * Border Radius Start - * @see https://tailwindcss.com/docs/border-radius - */ 'rounded-s': [ - { - 'rounded-s': scaleRadius() - } - ], - /** - * Border Radius End - * @see https://tailwindcss.com/docs/border-radius - */ 'rounded-e': [ - { - 'rounded-e': scaleRadius() - } - ], - /** - * Border Radius Top - * @see https://tailwindcss.com/docs/border-radius - */ 'rounded-t': [ - { - 'rounded-t': scaleRadius() - } - ], - /** - * Border Radius Right - * @see https://tailwindcss.com/docs/border-radius - */ 'rounded-r': [ - { - 'rounded-r': scaleRadius() - } - ], - /** - * Border Radius Bottom - * @see https://tailwindcss.com/docs/border-radius - */ 'rounded-b': [ - { - 'rounded-b': scaleRadius() - } - ], - /** - * Border Radius Left - * @see https://tailwindcss.com/docs/border-radius - */ 'rounded-l': [ - { - 'rounded-l': scaleRadius() - } - ], - /** - * Border Radius Start Start - * @see https://tailwindcss.com/docs/border-radius - */ 'rounded-ss': [ - { - 'rounded-ss': scaleRadius() - } - ], - /** - * Border Radius Start End - * @see https://tailwindcss.com/docs/border-radius - */ 'rounded-se': [ - { - 'rounded-se': scaleRadius() - } - ], - /** - * Border Radius End End - * @see https://tailwindcss.com/docs/border-radius - */ 'rounded-ee': [ - { - 'rounded-ee': scaleRadius() - } - ], - /** - * Border Radius End Start - * @see https://tailwindcss.com/docs/border-radius - */ 'rounded-es': [ - { - 'rounded-es': scaleRadius() - } - ], - /** - * Border Radius Top Left - * @see https://tailwindcss.com/docs/border-radius - */ 'rounded-tl': [ - { - 'rounded-tl': scaleRadius() - } - ], - /** - * Border Radius Top Right - * @see https://tailwindcss.com/docs/border-radius - */ 'rounded-tr': [ - { - 'rounded-tr': scaleRadius() - } - ], - /** - * Border Radius Bottom Right - * @see https://tailwindcss.com/docs/border-radius - */ 'rounded-br': [ - { - 'rounded-br': scaleRadius() - } - ], - /** - * Border Radius Bottom Left - * @see https://tailwindcss.com/docs/border-radius - */ 'rounded-bl': [ - { - 'rounded-bl': scaleRadius() - } - ], - /** - * Border Width - * @see https://tailwindcss.com/docs/border-width - */ 'border-w': [ - { - border: scaleBorderWidth() - } - ], - /** - * Border Width X - * @see https://tailwindcss.com/docs/border-width - */ 'border-w-x': [ - { - 'border-x': scaleBorderWidth() - } - ], - /** - * Border Width Y - * @see https://tailwindcss.com/docs/border-width - */ 'border-w-y': [ - { - 'border-y': scaleBorderWidth() - } - ], - /** - * Border Width Start - * @see https://tailwindcss.com/docs/border-width - */ 'border-w-s': [ - { - 'border-s': scaleBorderWidth() - } - ], - /** - * Border Width End - * @see https://tailwindcss.com/docs/border-width - */ 'border-w-e': [ - { - 'border-e': scaleBorderWidth() - } - ], - /** - * Border Width Top - * @see https://tailwindcss.com/docs/border-width - */ 'border-w-t': [ - { - 'border-t': scaleBorderWidth() - } - ], - /** - * Border Width Right - * @see https://tailwindcss.com/docs/border-width - */ 'border-w-r': [ - { - 'border-r': scaleBorderWidth() - } - ], - /** - * Border Width Bottom - * @see https://tailwindcss.com/docs/border-width - */ 'border-w-b': [ - { - 'border-b': scaleBorderWidth() - } - ], - /** - * Border Width Left - * @see https://tailwindcss.com/docs/border-width - */ 'border-w-l': [ - { - 'border-l': scaleBorderWidth() - } - ], - /** - * Divide Width X - * @see https://tailwindcss.com/docs/border-width#between-children - */ 'divide-x': [ - { - 'divide-x': scaleBorderWidth() - } - ], - /** - * Divide Width X Reverse - * @see https://tailwindcss.com/docs/border-width#between-children - */ 'divide-x-reverse': [ - 'divide-x-reverse' - ], - /** - * Divide Width Y - * @see https://tailwindcss.com/docs/border-width#between-children - */ 'divide-y': [ - { - 'divide-y': scaleBorderWidth() - } - ], - /** - * Divide Width Y Reverse - * @see https://tailwindcss.com/docs/border-width#between-children - */ 'divide-y-reverse': [ - 'divide-y-reverse' - ], - /** - * Border Style - * @see https://tailwindcss.com/docs/border-style - */ 'border-style': [ - { - border: [ - ...scaleLineStyle(), - 'hidden', - 'none' - ] - } - ], - /** - * Divide Style - * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style - */ 'divide-style': [ - { - divide: [ - ...scaleLineStyle(), - 'hidden', - 'none' - ] - } - ], - /** - * Border Color - * @see https://tailwindcss.com/docs/border-color - */ 'border-color': [ - { - border: scaleColor() - } - ], - /** - * Border Color X - * @see https://tailwindcss.com/docs/border-color - */ 'border-color-x': [ - { - 'border-x': scaleColor() - } - ], - /** - * Border Color Y - * @see https://tailwindcss.com/docs/border-color - */ 'border-color-y': [ - { - 'border-y': scaleColor() - } - ], - /** - * Border Color S - * @see https://tailwindcss.com/docs/border-color - */ 'border-color-s': [ - { - 'border-s': scaleColor() - } - ], - /** - * Border Color E - * @see https://tailwindcss.com/docs/border-color - */ 'border-color-e': [ - { - 'border-e': scaleColor() - } - ], - /** - * Border Color Top - * @see https://tailwindcss.com/docs/border-color - */ 'border-color-t': [ - { - 'border-t': scaleColor() - } - ], - /** - * Border Color Right - * @see https://tailwindcss.com/docs/border-color - */ 'border-color-r': [ - { - 'border-r': scaleColor() - } - ], - /** - * Border Color Bottom - * @see https://tailwindcss.com/docs/border-color - */ 'border-color-b': [ - { - 'border-b': scaleColor() - } - ], - /** - * Border Color Left - * @see https://tailwindcss.com/docs/border-color - */ 'border-color-l': [ - { - 'border-l': scaleColor() - } - ], - /** - * Divide Color - * @see https://tailwindcss.com/docs/divide-color - */ 'divide-color': [ - { - divide: scaleColor() - } - ], - /** - * Outline Style - * @see https://tailwindcss.com/docs/outline-style - */ 'outline-style': [ - { - outline: [ - ...scaleLineStyle(), - 'none', - 'hidden' - ] - } - ], - /** - * Outline Offset - * @see https://tailwindcss.com/docs/outline-offset - */ 'outline-offset': [ - { - 'outline-offset': [ - isNumber, - isArbitraryVariable, - isArbitraryValue - ] - } - ], - /** - * Outline Width - * @see https://tailwindcss.com/docs/outline-width - */ 'outline-w': [ - { - outline: [ - '', - isNumber, - isArbitraryVariableLength, - isArbitraryLength - ] - } - ], - /** - * Outline Color - * @see https://tailwindcss.com/docs/outline-color - */ 'outline-color': [ - { - outline: scaleColor() - } - ], - // --------------- - // --- Effects --- - // --------------- - /** - * Box Shadow - * @see https://tailwindcss.com/docs/box-shadow - */ shadow: [ - { - shadow: [ - // Deprecated since Tailwind CSS v4.0.0 - '', - 'none', - themeShadow, - isArbitraryVariableShadow, - isArbitraryShadow - ] - } - ], - /** - * Box Shadow Color - * @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color - */ 'shadow-color': [ - { - shadow: scaleColor() - } - ], - /** - * Inset Box Shadow - * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow - */ 'inset-shadow': [ - { - 'inset-shadow': [ - 'none', - themeInsetShadow, - isArbitraryVariableShadow, - isArbitraryShadow - ] - } - ], - /** - * Inset Box Shadow Color - * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color - */ 'inset-shadow-color': [ - { - 'inset-shadow': scaleColor() - } - ], - /** - * Ring Width - * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring - */ 'ring-w': [ - { - ring: scaleBorderWidth() - } - ], - /** - * Ring Width Inset - * @see https://v3.tailwindcss.com/docs/ring-width#inset-rings - * @deprecated since Tailwind CSS v4.0.0 - * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158 - */ 'ring-w-inset': [ - 'ring-inset' - ], - /** - * Ring Color - * @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color - */ 'ring-color': [ - { - ring: scaleColor() - } - ], - /** - * Ring Offset Width - * @see https://v3.tailwindcss.com/docs/ring-offset-width - * @deprecated since Tailwind CSS v4.0.0 - * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158 - */ 'ring-offset-w': [ - { - 'ring-offset': [ - isNumber, - isArbitraryLength - ] - } - ], - /** - * Ring Offset Color - * @see https://v3.tailwindcss.com/docs/ring-offset-color - * @deprecated since Tailwind CSS v4.0.0 - * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158 - */ 'ring-offset-color': [ - { - 'ring-offset': scaleColor() - } - ], - /** - * Inset Ring Width - * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring - */ 'inset-ring-w': [ - { - 'inset-ring': scaleBorderWidth() - } - ], - /** - * Inset Ring Color - * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color - */ 'inset-ring-color': [ - { - 'inset-ring': scaleColor() - } - ], - /** - * Text Shadow - * @see https://tailwindcss.com/docs/text-shadow - */ 'text-shadow': [ - { - 'text-shadow': [ - 'none', - themeTextShadow, - isArbitraryVariableShadow, - isArbitraryShadow - ] - } - ], - /** - * Text Shadow Color - * @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color - */ 'text-shadow-color': [ - { - 'text-shadow': scaleColor() - } - ], - /** - * Opacity - * @see https://tailwindcss.com/docs/opacity - */ opacity: [ - { - opacity: [ - isNumber, - isArbitraryVariable, - isArbitraryValue - ] - } - ], - /** - * Mix Blend Mode - * @see https://tailwindcss.com/docs/mix-blend-mode - */ 'mix-blend': [ - { - 'mix-blend': [ - ...scaleBlendMode(), - 'plus-darker', - 'plus-lighter' - ] - } - ], - /** - * Background Blend Mode - * @see https://tailwindcss.com/docs/background-blend-mode - */ 'bg-blend': [ - { - 'bg-blend': scaleBlendMode() - } - ], - /** - * Mask Clip - * @see https://tailwindcss.com/docs/mask-clip - */ 'mask-clip': [ - { - 'mask-clip': [ - 'border', - 'padding', - 'content', - 'fill', - 'stroke', - 'view' - ] - }, - 'mask-no-clip' - ], - /** - * Mask Composite - * @see https://tailwindcss.com/docs/mask-composite - */ 'mask-composite': [ - { - mask: [ - 'add', - 'subtract', - 'intersect', - 'exclude' - ] - } - ], - /** - * Mask Image - * @see https://tailwindcss.com/docs/mask-image - */ 'mask-image-linear-pos': [ - { - 'mask-linear': [ - isNumber - ] - } - ], - 'mask-image-linear-from-pos': [ - { - 'mask-linear-from': scaleMaskImagePosition() - } - ], - 'mask-image-linear-to-pos': [ - { - 'mask-linear-to': scaleMaskImagePosition() - } - ], - 'mask-image-linear-from-color': [ - { - 'mask-linear-from': scaleColor() - } - ], - 'mask-image-linear-to-color': [ - { - 'mask-linear-to': scaleColor() - } - ], - 'mask-image-t-from-pos': [ - { - 'mask-t-from': scaleMaskImagePosition() - } - ], - 'mask-image-t-to-pos': [ - { - 'mask-t-to': scaleMaskImagePosition() - } - ], - 'mask-image-t-from-color': [ - { - 'mask-t-from': scaleColor() - } - ], - 'mask-image-t-to-color': [ - { - 'mask-t-to': scaleColor() - } - ], - 'mask-image-r-from-pos': [ - { - 'mask-r-from': scaleMaskImagePosition() - } - ], - 'mask-image-r-to-pos': [ - { - 'mask-r-to': scaleMaskImagePosition() - } - ], - 'mask-image-r-from-color': [ - { - 'mask-r-from': scaleColor() - } - ], - 'mask-image-r-to-color': [ - { - 'mask-r-to': scaleColor() - } - ], - 'mask-image-b-from-pos': [ - { - 'mask-b-from': scaleMaskImagePosition() - } - ], - 'mask-image-b-to-pos': [ - { - 'mask-b-to': scaleMaskImagePosition() - } - ], - 'mask-image-b-from-color': [ - { - 'mask-b-from': scaleColor() - } - ], - 'mask-image-b-to-color': [ - { - 'mask-b-to': scaleColor() - } - ], - 'mask-image-l-from-pos': [ - { - 'mask-l-from': scaleMaskImagePosition() - } - ], - 'mask-image-l-to-pos': [ - { - 'mask-l-to': scaleMaskImagePosition() - } - ], - 'mask-image-l-from-color': [ - { - 'mask-l-from': scaleColor() - } - ], - 'mask-image-l-to-color': [ - { - 'mask-l-to': scaleColor() - } - ], - 'mask-image-x-from-pos': [ - { - 'mask-x-from': scaleMaskImagePosition() - } - ], - 'mask-image-x-to-pos': [ - { - 'mask-x-to': scaleMaskImagePosition() - } - ], - 'mask-image-x-from-color': [ - { - 'mask-x-from': scaleColor() - } - ], - 'mask-image-x-to-color': [ - { - 'mask-x-to': scaleColor() - } - ], - 'mask-image-y-from-pos': [ - { - 'mask-y-from': scaleMaskImagePosition() - } - ], - 'mask-image-y-to-pos': [ - { - 'mask-y-to': scaleMaskImagePosition() - } - ], - 'mask-image-y-from-color': [ - { - 'mask-y-from': scaleColor() - } - ], - 'mask-image-y-to-color': [ - { - 'mask-y-to': scaleColor() - } - ], - 'mask-image-radial': [ - { - 'mask-radial': [ - isArbitraryVariable, - isArbitraryValue - ] - } - ], - 'mask-image-radial-from-pos': [ - { - 'mask-radial-from': scaleMaskImagePosition() - } - ], - 'mask-image-radial-to-pos': [ - { - 'mask-radial-to': scaleMaskImagePosition() - } - ], - 'mask-image-radial-from-color': [ - { - 'mask-radial-from': scaleColor() - } - ], - 'mask-image-radial-to-color': [ - { - 'mask-radial-to': scaleColor() - } - ], - 'mask-image-radial-shape': [ - { - 'mask-radial': [ - 'circle', - 'ellipse' - ] - } - ], - 'mask-image-radial-size': [ - { - 'mask-radial': [ - { - closest: [ - 'side', - 'corner' - ], - farthest: [ - 'side', - 'corner' - ] - } - ] - } - ], - 'mask-image-radial-pos': [ - { - 'mask-radial-at': scalePosition() - } - ], - 'mask-image-conic-pos': [ - { - 'mask-conic': [ - isNumber - ] - } - ], - 'mask-image-conic-from-pos': [ - { - 'mask-conic-from': scaleMaskImagePosition() - } - ], - 'mask-image-conic-to-pos': [ - { - 'mask-conic-to': scaleMaskImagePosition() - } - ], - 'mask-image-conic-from-color': [ - { - 'mask-conic-from': scaleColor() - } - ], - 'mask-image-conic-to-color': [ - { - 'mask-conic-to': scaleColor() - } - ], - /** - * Mask Mode - * @see https://tailwindcss.com/docs/mask-mode - */ 'mask-mode': [ - { - mask: [ - 'alpha', - 'luminance', - 'match' - ] - } - ], - /** - * Mask Origin - * @see https://tailwindcss.com/docs/mask-origin - */ 'mask-origin': [ - { - 'mask-origin': [ - 'border', - 'padding', - 'content', - 'fill', - 'stroke', - 'view' - ] - } - ], - /** - * Mask Position - * @see https://tailwindcss.com/docs/mask-position - */ 'mask-position': [ - { - mask: scaleBgPosition() - } - ], - /** - * Mask Repeat - * @see https://tailwindcss.com/docs/mask-repeat - */ 'mask-repeat': [ - { - mask: scaleBgRepeat() - } - ], - /** - * Mask Size - * @see https://tailwindcss.com/docs/mask-size - */ 'mask-size': [ - { - mask: scaleBgSize() - } - ], - /** - * Mask Type - * @see https://tailwindcss.com/docs/mask-type - */ 'mask-type': [ - { - 'mask-type': [ - 'alpha', - 'luminance' - ] - } - ], - /** - * Mask Image - * @see https://tailwindcss.com/docs/mask-image - */ 'mask-image': [ - { - mask: [ - 'none', - isArbitraryVariable, - isArbitraryValue - ] - } - ], - // --------------- - // --- Filters --- - // --------------- - /** - * Filter - * @see https://tailwindcss.com/docs/filter - */ filter: [ - { - filter: [ - // Deprecated since Tailwind CSS v3.0.0 - '', - 'none', - isArbitraryVariable, - isArbitraryValue - ] - } - ], - /** - * Blur - * @see https://tailwindcss.com/docs/blur - */ blur: [ - { - blur: scaleBlur() - } - ], - /** - * Brightness - * @see https://tailwindcss.com/docs/brightness - */ brightness: [ - { - brightness: [ - isNumber, - isArbitraryVariable, - isArbitraryValue - ] - } - ], - /** - * Contrast - * @see https://tailwindcss.com/docs/contrast - */ contrast: [ - { - contrast: [ - isNumber, - isArbitraryVariable, - isArbitraryValue - ] - } - ], - /** - * Drop Shadow - * @see https://tailwindcss.com/docs/drop-shadow - */ 'drop-shadow': [ - { - 'drop-shadow': [ - // Deprecated since Tailwind CSS v4.0.0 - '', - 'none', - themeDropShadow, - isArbitraryVariableShadow, - isArbitraryShadow - ] - } - ], - /** - * Drop Shadow Color - * @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color - */ 'drop-shadow-color': [ - { - 'drop-shadow': scaleColor() - } - ], - /** - * Grayscale - * @see https://tailwindcss.com/docs/grayscale - */ grayscale: [ - { - grayscale: [ - '', - isNumber, - isArbitraryVariable, - isArbitraryValue - ] - } - ], - /** - * Hue Rotate - * @see https://tailwindcss.com/docs/hue-rotate - */ 'hue-rotate': [ - { - 'hue-rotate': [ - isNumber, - isArbitraryVariable, - isArbitraryValue - ] - } - ], - /** - * Invert - * @see https://tailwindcss.com/docs/invert - */ invert: [ - { - invert: [ - '', - isNumber, - isArbitraryVariable, - isArbitraryValue - ] - } - ], - /** - * Saturate - * @see https://tailwindcss.com/docs/saturate - */ saturate: [ - { - saturate: [ - isNumber, - isArbitraryVariable, - isArbitraryValue - ] - } - ], - /** - * Sepia - * @see https://tailwindcss.com/docs/sepia - */ sepia: [ - { - sepia: [ - '', - isNumber, - isArbitraryVariable, - isArbitraryValue - ] - } - ], - /** - * Backdrop Filter - * @see https://tailwindcss.com/docs/backdrop-filter - */ 'backdrop-filter': [ - { - 'backdrop-filter': [ - // Deprecated since Tailwind CSS v3.0.0 - '', - 'none', - isArbitraryVariable, - isArbitraryValue - ] - } - ], - /** - * Backdrop Blur - * @see https://tailwindcss.com/docs/backdrop-blur - */ 'backdrop-blur': [ - { - 'backdrop-blur': scaleBlur() - } - ], - /** - * Backdrop Brightness - * @see https://tailwindcss.com/docs/backdrop-brightness - */ 'backdrop-brightness': [ - { - 'backdrop-brightness': [ - isNumber, - isArbitraryVariable, - isArbitraryValue - ] - } - ], - /** - * Backdrop Contrast - * @see https://tailwindcss.com/docs/backdrop-contrast - */ 'backdrop-contrast': [ - { - 'backdrop-contrast': [ - isNumber, - isArbitraryVariable, - isArbitraryValue - ] - } - ], - /** - * Backdrop Grayscale - * @see https://tailwindcss.com/docs/backdrop-grayscale - */ 'backdrop-grayscale': [ - { - 'backdrop-grayscale': [ - '', - isNumber, - isArbitraryVariable, - isArbitraryValue - ] - } - ], - /** - * Backdrop Hue Rotate - * @see https://tailwindcss.com/docs/backdrop-hue-rotate - */ 'backdrop-hue-rotate': [ - { - 'backdrop-hue-rotate': [ - isNumber, - isArbitraryVariable, - isArbitraryValue - ] - } - ], - /** - * Backdrop Invert - * @see https://tailwindcss.com/docs/backdrop-invert - */ 'backdrop-invert': [ - { - 'backdrop-invert': [ - '', - isNumber, - isArbitraryVariable, - isArbitraryValue - ] - } - ], - /** - * Backdrop Opacity - * @see https://tailwindcss.com/docs/backdrop-opacity - */ 'backdrop-opacity': [ - { - 'backdrop-opacity': [ - isNumber, - isArbitraryVariable, - isArbitraryValue - ] - } - ], - /** - * Backdrop Saturate - * @see https://tailwindcss.com/docs/backdrop-saturate - */ 'backdrop-saturate': [ - { - 'backdrop-saturate': [ - isNumber, - isArbitraryVariable, - isArbitraryValue - ] - } - ], - /** - * Backdrop Sepia - * @see https://tailwindcss.com/docs/backdrop-sepia - */ 'backdrop-sepia': [ - { - 'backdrop-sepia': [ - '', - isNumber, - isArbitraryVariable, - isArbitraryValue - ] - } - ], - // -------------- - // --- Tables --- - // -------------- - /** - * Border Collapse - * @see https://tailwindcss.com/docs/border-collapse - */ 'border-collapse': [ - { - border: [ - 'collapse', - 'separate' - ] - } - ], - /** - * Border Spacing - * @see https://tailwindcss.com/docs/border-spacing - */ 'border-spacing': [ - { - 'border-spacing': scaleUnambiguousSpacing() - } - ], - /** - * Border Spacing X - * @see https://tailwindcss.com/docs/border-spacing - */ 'border-spacing-x': [ - { - 'border-spacing-x': scaleUnambiguousSpacing() - } - ], - /** - * Border Spacing Y - * @see https://tailwindcss.com/docs/border-spacing - */ 'border-spacing-y': [ - { - 'border-spacing-y': scaleUnambiguousSpacing() - } - ], - /** - * Table Layout - * @see https://tailwindcss.com/docs/table-layout - */ 'table-layout': [ - { - table: [ - 'auto', - 'fixed' - ] - } - ], - /** - * Caption Side - * @see https://tailwindcss.com/docs/caption-side - */ caption: [ - { - caption: [ - 'top', - 'bottom' - ] - } - ], - // --------------------------------- - // --- Transitions and Animation --- - // --------------------------------- - /** - * Transition Property - * @see https://tailwindcss.com/docs/transition-property - */ transition: [ - { - transition: [ - '', - 'all', - 'colors', - 'opacity', - 'shadow', - 'transform', - 'none', - isArbitraryVariable, - isArbitraryValue - ] - } - ], - /** - * Transition Behavior - * @see https://tailwindcss.com/docs/transition-behavior - */ 'transition-behavior': [ - { - transition: [ - 'normal', - 'discrete' - ] - } - ], - /** - * Transition Duration - * @see https://tailwindcss.com/docs/transition-duration - */ duration: [ - { - duration: [ - isNumber, - 'initial', - isArbitraryVariable, - isArbitraryValue - ] - } - ], - /** - * Transition Timing Function - * @see https://tailwindcss.com/docs/transition-timing-function - */ ease: [ - { - ease: [ - 'linear', - 'initial', - themeEase, - isArbitraryVariable, - isArbitraryValue - ] - } - ], - /** - * Transition Delay - * @see https://tailwindcss.com/docs/transition-delay - */ delay: [ - { - delay: [ - isNumber, - isArbitraryVariable, - isArbitraryValue - ] - } - ], - /** - * Animation - * @see https://tailwindcss.com/docs/animation - */ animate: [ - { - animate: [ - 'none', - themeAnimate, - isArbitraryVariable, - isArbitraryValue - ] - } - ], - // ------------------ - // --- Transforms --- - // ------------------ - /** - * Backface Visibility - * @see https://tailwindcss.com/docs/backface-visibility - */ backface: [ - { - backface: [ - 'hidden', - 'visible' - ] - } - ], - /** - * Perspective - * @see https://tailwindcss.com/docs/perspective - */ perspective: [ - { - perspective: [ - themePerspective, - isArbitraryVariable, - isArbitraryValue - ] - } - ], - /** - * Perspective Origin - * @see https://tailwindcss.com/docs/perspective-origin - */ 'perspective-origin': [ - { - 'perspective-origin': scalePositionWithArbitrary() - } - ], - /** - * Rotate - * @see https://tailwindcss.com/docs/rotate - */ rotate: [ - { - rotate: scaleRotate() - } - ], - /** - * Rotate X - * @see https://tailwindcss.com/docs/rotate - */ 'rotate-x': [ - { - 'rotate-x': scaleRotate() - } - ], - /** - * Rotate Y - * @see https://tailwindcss.com/docs/rotate - */ 'rotate-y': [ - { - 'rotate-y': scaleRotate() - } - ], - /** - * Rotate Z - * @see https://tailwindcss.com/docs/rotate - */ 'rotate-z': [ - { - 'rotate-z': scaleRotate() - } - ], - /** - * Scale - * @see https://tailwindcss.com/docs/scale - */ scale: [ - { - scale: scaleScale() - } - ], - /** - * Scale X - * @see https://tailwindcss.com/docs/scale - */ 'scale-x': [ - { - 'scale-x': scaleScale() - } - ], - /** - * Scale Y - * @see https://tailwindcss.com/docs/scale - */ 'scale-y': [ - { - 'scale-y': scaleScale() - } - ], - /** - * Scale Z - * @see https://tailwindcss.com/docs/scale - */ 'scale-z': [ - { - 'scale-z': scaleScale() - } - ], - /** - * Scale 3D - * @see https://tailwindcss.com/docs/scale - */ 'scale-3d': [ - 'scale-3d' - ], - /** - * Skew - * @see https://tailwindcss.com/docs/skew - */ skew: [ - { - skew: scaleSkew() - } - ], - /** - * Skew X - * @see https://tailwindcss.com/docs/skew - */ 'skew-x': [ - { - 'skew-x': scaleSkew() - } - ], - /** - * Skew Y - * @see https://tailwindcss.com/docs/skew - */ 'skew-y': [ - { - 'skew-y': scaleSkew() - } - ], - /** - * Transform - * @see https://tailwindcss.com/docs/transform - */ transform: [ - { - transform: [ - isArbitraryVariable, - isArbitraryValue, - '', - 'none', - 'gpu', - 'cpu' - ] - } - ], - /** - * Transform Origin - * @see https://tailwindcss.com/docs/transform-origin - */ 'transform-origin': [ - { - origin: scalePositionWithArbitrary() - } - ], - /** - * Transform Style - * @see https://tailwindcss.com/docs/transform-style - */ 'transform-style': [ - { - transform: [ - '3d', - 'flat' - ] - } - ], - /** - * Translate - * @see https://tailwindcss.com/docs/translate - */ translate: [ - { - translate: scaleTranslate() - } - ], - /** - * Translate X - * @see https://tailwindcss.com/docs/translate - */ 'translate-x': [ - { - 'translate-x': scaleTranslate() - } - ], - /** - * Translate Y - * @see https://tailwindcss.com/docs/translate - */ 'translate-y': [ - { - 'translate-y': scaleTranslate() - } - ], - /** - * Translate Z - * @see https://tailwindcss.com/docs/translate - */ 'translate-z': [ - { - 'translate-z': scaleTranslate() - } - ], - /** - * Translate None - * @see https://tailwindcss.com/docs/translate - */ 'translate-none': [ - 'translate-none' - ], - // --------------------- - // --- Interactivity --- - // --------------------- - /** - * Accent Color - * @see https://tailwindcss.com/docs/accent-color - */ accent: [ - { - accent: scaleColor() - } - ], - /** - * Appearance - * @see https://tailwindcss.com/docs/appearance - */ appearance: [ - { - appearance: [ - 'none', - 'auto' - ] - } - ], - /** - * Caret Color - * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities - */ 'caret-color': [ - { - caret: scaleColor() - } - ], - /** - * Color Scheme - * @see https://tailwindcss.com/docs/color-scheme - */ 'color-scheme': [ - { - scheme: [ - 'normal', - 'dark', - 'light', - 'light-dark', - 'only-dark', - 'only-light' - ] - } - ], - /** - * Cursor - * @see https://tailwindcss.com/docs/cursor - */ cursor: [ - { - 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', - isArbitraryVariable, - isArbitraryValue - ] - } - ], - /** - * Field Sizing - * @see https://tailwindcss.com/docs/field-sizing - */ 'field-sizing': [ - { - 'field-sizing': [ - 'fixed', - 'content' - ] - } - ], - /** - * Pointer Events - * @see https://tailwindcss.com/docs/pointer-events - */ 'pointer-events': [ - { - 'pointer-events': [ - 'auto', - 'none' - ] - } - ], - /** - * Resize - * @see https://tailwindcss.com/docs/resize - */ resize: [ - { - resize: [ - 'none', - '', - 'y', - 'x' - ] - } - ], - /** - * Scroll Behavior - * @see https://tailwindcss.com/docs/scroll-behavior - */ 'scroll-behavior': [ - { - scroll: [ - 'auto', - 'smooth' - ] - } - ], - /** - * Scroll Margin - * @see https://tailwindcss.com/docs/scroll-margin - */ 'scroll-m': [ - { - 'scroll-m': scaleUnambiguousSpacing() - } - ], - /** - * Scroll Margin X - * @see https://tailwindcss.com/docs/scroll-margin - */ 'scroll-mx': [ - { - 'scroll-mx': scaleUnambiguousSpacing() - } - ], - /** - * Scroll Margin Y - * @see https://tailwindcss.com/docs/scroll-margin - */ 'scroll-my': [ - { - 'scroll-my': scaleUnambiguousSpacing() - } - ], - /** - * Scroll Margin Start - * @see https://tailwindcss.com/docs/scroll-margin - */ 'scroll-ms': [ - { - 'scroll-ms': scaleUnambiguousSpacing() - } - ], - /** - * Scroll Margin End - * @see https://tailwindcss.com/docs/scroll-margin - */ 'scroll-me': [ - { - 'scroll-me': scaleUnambiguousSpacing() - } - ], - /** - * Scroll Margin Top - * @see https://tailwindcss.com/docs/scroll-margin - */ 'scroll-mt': [ - { - 'scroll-mt': scaleUnambiguousSpacing() - } - ], - /** - * Scroll Margin Right - * @see https://tailwindcss.com/docs/scroll-margin - */ 'scroll-mr': [ - { - 'scroll-mr': scaleUnambiguousSpacing() - } - ], - /** - * Scroll Margin Bottom - * @see https://tailwindcss.com/docs/scroll-margin - */ 'scroll-mb': [ - { - 'scroll-mb': scaleUnambiguousSpacing() - } - ], - /** - * Scroll Margin Left - * @see https://tailwindcss.com/docs/scroll-margin - */ 'scroll-ml': [ - { - 'scroll-ml': scaleUnambiguousSpacing() - } - ], - /** - * Scroll Padding - * @see https://tailwindcss.com/docs/scroll-padding - */ 'scroll-p': [ - { - 'scroll-p': scaleUnambiguousSpacing() - } - ], - /** - * Scroll Padding X - * @see https://tailwindcss.com/docs/scroll-padding - */ 'scroll-px': [ - { - 'scroll-px': scaleUnambiguousSpacing() - } - ], - /** - * Scroll Padding Y - * @see https://tailwindcss.com/docs/scroll-padding - */ 'scroll-py': [ - { - 'scroll-py': scaleUnambiguousSpacing() - } - ], - /** - * Scroll Padding Start - * @see https://tailwindcss.com/docs/scroll-padding - */ 'scroll-ps': [ - { - 'scroll-ps': scaleUnambiguousSpacing() - } - ], - /** - * Scroll Padding End - * @see https://tailwindcss.com/docs/scroll-padding - */ 'scroll-pe': [ - { - 'scroll-pe': scaleUnambiguousSpacing() - } - ], - /** - * Scroll Padding Top - * @see https://tailwindcss.com/docs/scroll-padding - */ 'scroll-pt': [ - { - 'scroll-pt': scaleUnambiguousSpacing() - } - ], - /** - * Scroll Padding Right - * @see https://tailwindcss.com/docs/scroll-padding - */ 'scroll-pr': [ - { - 'scroll-pr': scaleUnambiguousSpacing() - } - ], - /** - * Scroll Padding Bottom - * @see https://tailwindcss.com/docs/scroll-padding - */ 'scroll-pb': [ - { - 'scroll-pb': scaleUnambiguousSpacing() - } - ], - /** - * Scroll Padding Left - * @see https://tailwindcss.com/docs/scroll-padding - */ 'scroll-pl': [ - { - 'scroll-pl': scaleUnambiguousSpacing() - } - ], - /** - * Scroll Snap Align - * @see https://tailwindcss.com/docs/scroll-snap-align - */ 'snap-align': [ - { - snap: [ - 'start', - 'end', - 'center', - 'align-none' - ] - } - ], - /** - * Scroll Snap Stop - * @see https://tailwindcss.com/docs/scroll-snap-stop - */ 'snap-stop': [ - { - snap: [ - 'normal', - 'always' - ] - } - ], - /** - * Scroll Snap Type - * @see https://tailwindcss.com/docs/scroll-snap-type - */ 'snap-type': [ - { - snap: [ - 'none', - 'x', - 'y', - 'both' - ] - } - ], - /** - * Scroll Snap Type Strictness - * @see https://tailwindcss.com/docs/scroll-snap-type - */ 'snap-strictness': [ - { - snap: [ - 'mandatory', - 'proximity' - ] - } - ], - /** - * Touch Action - * @see https://tailwindcss.com/docs/touch-action - */ touch: [ - { - touch: [ - 'auto', - 'none', - 'manipulation' - ] - } - ], - /** - * Touch Action X - * @see https://tailwindcss.com/docs/touch-action - */ 'touch-x': [ - { - 'touch-pan': [ - 'x', - 'left', - 'right' - ] - } - ], - /** - * Touch Action Y - * @see https://tailwindcss.com/docs/touch-action - */ 'touch-y': [ - { - 'touch-pan': [ - 'y', - 'up', - 'down' - ] - } - ], - /** - * Touch Action Pinch Zoom - * @see https://tailwindcss.com/docs/touch-action - */ 'touch-pz': [ - 'touch-pinch-zoom' - ], - /** - * User Select - * @see https://tailwindcss.com/docs/user-select - */ select: [ - { - select: [ - 'none', - 'text', - 'all', - 'auto' - ] - } - ], - /** - * Will Change - * @see https://tailwindcss.com/docs/will-change - */ 'will-change': [ - { - 'will-change': [ - 'auto', - 'scroll', - 'contents', - 'transform', - isArbitraryVariable, - isArbitraryValue - ] - } - ], - // ----------- - // --- SVG --- - // ----------- - /** - * Fill - * @see https://tailwindcss.com/docs/fill - */ fill: [ - { - fill: [ - 'none', - ...scaleColor() - ] - } - ], - /** - * Stroke Width - * @see https://tailwindcss.com/docs/stroke-width - */ 'stroke-w': [ - { - stroke: [ - isNumber, - isArbitraryVariableLength, - isArbitraryLength, - isArbitraryNumber - ] - } - ], - /** - * Stroke - * @see https://tailwindcss.com/docs/stroke - */ stroke: [ - { - stroke: [ - 'none', - ...scaleColor() - ] - } - ], - // --------------------- - // --- Accessibility --- - // --------------------- - /** - * Forced Color Adjust - * @see https://tailwindcss.com/docs/forced-color-adjust - */ 'forced-color-adjust': [ - { - 'forced-color-adjust': [ - 'auto', - 'none' - ] - } - ] - }, - conflictingClassGroups: { - overflow: [ - 'overflow-x', - 'overflow-y' - ], - overscroll: [ - 'overscroll-x', - 'overscroll-y' - ], - inset: [ - 'inset-x', - 'inset-y', - 'start', - 'end', - 'top', - 'right', - 'bottom', - 'left' - ], - 'inset-x': [ - 'right', - 'left' - ], - 'inset-y': [ - 'top', - 'bottom' - ], - flex: [ - 'basis', - 'grow', - 'shrink' - ], - gap: [ - 'gap-x', - 'gap-y' - ], - p: [ - 'px', - 'py', - 'ps', - 'pe', - 'pt', - 'pr', - 'pb', - 'pl' - ], - px: [ - 'pr', - 'pl' - ], - py: [ - 'pt', - 'pb' - ], - m: [ - 'mx', - 'my', - 'ms', - 'me', - 'mt', - 'mr', - 'mb', - 'ml' - ], - mx: [ - 'mr', - 'ml' - ], - my: [ - 'mt', - 'mb' - ], - size: [ - 'w', - 'h' - ], - 'font-size': [ - 'leading' - ], - 'fvn-normal': [ - 'fvn-ordinal', - 'fvn-slashed-zero', - 'fvn-figure', - 'fvn-spacing', - 'fvn-fraction' - ], - 'fvn-ordinal': [ - 'fvn-normal' - ], - 'fvn-slashed-zero': [ - 'fvn-normal' - ], - 'fvn-figure': [ - 'fvn-normal' - ], - 'fvn-spacing': [ - 'fvn-normal' - ], - 'fvn-fraction': [ - 'fvn-normal' - ], - 'line-clamp': [ - 'display', - 'overflow' - ], - 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' - ], - 'rounded-s': [ - 'rounded-ss', - 'rounded-es' - ], - 'rounded-e': [ - 'rounded-se', - 'rounded-ee' - ], - 'rounded-t': [ - 'rounded-tl', - 'rounded-tr' - ], - 'rounded-r': [ - 'rounded-tr', - 'rounded-br' - ], - 'rounded-b': [ - 'rounded-br', - 'rounded-bl' - ], - 'rounded-l': [ - 'rounded-tl', - 'rounded-bl' - ], - 'border-spacing': [ - 'border-spacing-x', - 'border-spacing-y' - ], - 'border-w': [ - 'border-w-x', - 'border-w-y', - 'border-w-s', - 'border-w-e', - 'border-w-t', - 'border-w-r', - 'border-w-b', - 'border-w-l' - ], - 'border-w-x': [ - 'border-w-r', - 'border-w-l' - ], - 'border-w-y': [ - 'border-w-t', - 'border-w-b' - ], - 'border-color': [ - 'border-color-x', - 'border-color-y', - 'border-color-s', - 'border-color-e', - 'border-color-t', - 'border-color-r', - 'border-color-b', - 'border-color-l' - ], - 'border-color-x': [ - 'border-color-r', - 'border-color-l' - ], - 'border-color-y': [ - 'border-color-t', - 'border-color-b' - ], - translate: [ - 'translate-x', - 'translate-y', - 'translate-none' - ], - 'translate-none': [ - 'translate', - 'translate-x', - 'translate-y', - 'translate-z' - ], - 'scroll-m': [ - 'scroll-mx', - 'scroll-my', - 'scroll-ms', - 'scroll-me', - 'scroll-mt', - 'scroll-mr', - 'scroll-mb', - 'scroll-ml' - ], - 'scroll-mx': [ - 'scroll-mr', - 'scroll-ml' - ], - 'scroll-my': [ - 'scroll-mt', - 'scroll-mb' - ], - 'scroll-p': [ - 'scroll-px', - 'scroll-py', - 'scroll-ps', - 'scroll-pe', - 'scroll-pt', - 'scroll-pr', - 'scroll-pb', - 'scroll-pl' - ], - 'scroll-px': [ - 'scroll-pr', - 'scroll-pl' - ], - 'scroll-py': [ - 'scroll-pt', - 'scroll-pb' - ], - touch: [ - 'touch-x', - 'touch-y', - 'touch-pz' - ], - 'touch-x': [ - 'touch' - ], - 'touch-y': [ - 'touch' - ], - 'touch-pz': [ - 'touch' - ] - }, - conflictingClassGroupModifiers: { - 'font-size': [ - 'leading' - ] - }, - orderSensitiveModifiers: [ - '*', - '**', - 'after', - 'backdrop', - 'before', - 'details-content', - 'file', - 'first-letter', - 'first-line', - 'marker', - 'placeholder', - 'selection' - ] - }; -}; -/** - * @param baseConfig Config where other config will be merged into. This object will be mutated. - * @param configExtension Partial config to merge into the `baseConfig`. - */ const mergeConfigs = (baseConfig, { cacheSize, prefix, experimentalParseClassName, extend = {}, override = {} })=>{ - overrideProperty(baseConfig, 'cacheSize', cacheSize); - overrideProperty(baseConfig, 'prefix', prefix); - overrideProperty(baseConfig, 'experimentalParseClassName', experimentalParseClassName); - overrideConfigProperties(baseConfig.theme, override.theme); - overrideConfigProperties(baseConfig.classGroups, override.classGroups); - overrideConfigProperties(baseConfig.conflictingClassGroups, override.conflictingClassGroups); - overrideConfigProperties(baseConfig.conflictingClassGroupModifiers, override.conflictingClassGroupModifiers); - overrideProperty(baseConfig, 'orderSensitiveModifiers', override.orderSensitiveModifiers); - mergeConfigProperties(baseConfig.theme, extend.theme); - mergeConfigProperties(baseConfig.classGroups, extend.classGroups); - mergeConfigProperties(baseConfig.conflictingClassGroups, extend.conflictingClassGroups); - mergeConfigProperties(baseConfig.conflictingClassGroupModifiers, extend.conflictingClassGroupModifiers); - mergeArrayProperties(baseConfig, extend, 'orderSensitiveModifiers'); - return baseConfig; -}; -const overrideProperty = (baseObject, overrideKey, overrideValue)=>{ - if (overrideValue !== undefined) { - baseObject[overrideKey] = overrideValue; - } -}; -const overrideConfigProperties = (baseObject, overrideObject)=>{ - if (overrideObject) { - for(const key in overrideObject){ - overrideProperty(baseObject, key, overrideObject[key]); - } - } -}; -const mergeConfigProperties = (baseObject, mergeObject)=>{ - if (mergeObject) { - for(const key in mergeObject){ - mergeArrayProperties(baseObject, mergeObject, key); - } - } -}; -const mergeArrayProperties = (baseObject, mergeObject, key)=>{ - const mergeValue = mergeObject[key]; - if (mergeValue !== undefined) { - baseObject[key] = baseObject[key] ? baseObject[key].concat(mergeValue) : mergeValue; - } -}; -const extendTailwindMerge = (configExtension, ...createConfig)=>typeof configExtension === 'function' ? createTailwindMerge(getDefaultConfig, configExtension, ...createConfig) : createTailwindMerge(()=>mergeConfigs(getDefaultConfig(), configExtension), ...createConfig); -const twMerge = /*#__PURE__*/ createTailwindMerge(getDefaultConfig); -; - //# sourceMappingURL=bundle-mjs.mjs.map -}), -"[project]/node_modules/@tabler/icons-react/dist/esm/icons/IconPhoneCall.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "__iconNode", - ()=>__iconNode, - "default", - ()=>IconPhoneCall -]); -/** - * @license @tabler/icons-react v3.36.1 - MIT - * - * This source code is licensed under the MIT license. - * See the LICENSE file in the root directory of this source tree. - */ var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$tabler$2f$icons$2d$react$2f$dist$2f$esm$2f$createReactComponent$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@tabler/icons-react/dist/esm/createReactComponent.mjs [app-client] (ecmascript)"); -; -const __iconNode = [ - [ - "path", - { - "d": "M5 4h4l2 5l-2.5 1.5a11 11 0 0 0 5 5l1.5 -2.5l5 2v4a2 2 0 0 1 -2 2a16 16 0 0 1 -15 -15a2 2 0 0 1 2 -2", - "key": "svg-0" - } - ], - [ - "path", - { - "d": "M15 7a2 2 0 0 1 2 2", - "key": "svg-1" - } - ], - [ - "path", - { - "d": "M15 3a6 6 0 0 1 6 6", - "key": "svg-2" - } - ] -]; -const IconPhoneCall = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$tabler$2f$icons$2d$react$2f$dist$2f$esm$2f$createReactComponent$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"])("outline", "phone-call", "PhoneCall", __iconNode); -; - //# sourceMappingURL=IconPhoneCall.mjs.map -}), -"[project]/node_modules/@tabler/icons-react/dist/esm/icons/IconPhoneCall.mjs [app-client] (ecmascript) ", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "IconPhoneCall", - ()=>__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$tabler$2f$icons$2d$react$2f$dist$2f$esm$2f$icons$2f$IconPhoneCall$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"] -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$tabler$2f$icons$2d$react$2f$dist$2f$esm$2f$icons$2f$IconPhoneCall$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@tabler/icons-react/dist/esm/icons/IconPhoneCall.mjs [app-client] (ecmascript)"); -}), -"[project]/node_modules/fumadocs-core/dist/framework/index.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "FrameworkProvider", - ()=>FrameworkProvider, - "Image", - ()=>Image, - "Link", - ()=>Link, - "useParams", - ()=>useParams, - "usePathname", - ()=>usePathname, - "useRouter", - ()=>useRouter -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/jsx-runtime.js [app-client] (ecmascript)"); -'use client'; -; -; -//#region src/framework/index.tsx -const notImplemented = ()=>{ - throw new Error("You need to wrap your application inside `FrameworkProvider`."); -}; -const FrameworkContext = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createContext"])({ - useParams: notImplemented, - useRouter: notImplemented, - usePathname: notImplemented -}); -function FrameworkProvider({ Link: Link$1, useRouter: useRouter$1, useParams: useParams$1, usePathname: usePathname$1, Image: Image$1, children }) { - return /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(FrameworkContext, { - value: (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useMemo"])({ - "FrameworkProvider.useMemo": ()=>({ - usePathname: usePathname$1, - useRouter: useRouter$1, - Link: Link$1, - Image: Image$1, - useParams: useParams$1 - }) - }["FrameworkProvider.useMemo"], [ - Link$1, - usePathname$1, - useRouter$1, - useParams$1, - Image$1 - ]), - children - }); -} -function usePathname() { - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["use"])(FrameworkContext).usePathname(); -} -function useRouter() { - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["use"])(FrameworkContext).useRouter(); -} -function useParams() { - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["use"])(FrameworkContext).useParams(); -} -function Image(props) { - const { Image: Image$1 } = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["use"])(FrameworkContext); - if (!Image$1) { - const { src, alt, priority, ...rest } = props; - return /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])("img", { - alt, - src, - fetchPriority: priority ? "high" : "auto", - ...rest - }); - } - return /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(Image$1, { - ...props - }); -} -function Link(props) { - const { Link: Link$1 } = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["use"])(FrameworkContext); - if (!Link$1) { - const { href, prefetch: _, ...rest } = props; - return /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])("a", { - href, - ...rest - }); - } - return /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(Link$1, { - ...props - }); -} -; - //# sourceMappingURL=index.js.map -}), -"[project]/node_modules/@fumadocs/ui/dist/contexts/i18n.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "I18nLabel", - ()=>I18nLabel, - "I18nProvider", - ()=>I18nProvider, - "defaultTranslations", - ()=>defaultTranslations, - "useI18n", - ()=>useI18n -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$core$2f$dist$2f$framework$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/fumadocs-core/dist/framework/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/jsx-runtime.js [app-client] (ecmascript)"); -'use client'; -; -; -; -//#region src/contexts/i18n.tsx -const defaultTranslations = { - search: "Search", - searchNoResult: "No results found", - toc: "On this page", - tocNoHeadings: "No Headings", - lastUpdate: "Last updated on", - chooseLanguage: "Choose a language", - nextPage: "Next Page", - previousPage: "Previous Page", - chooseTheme: "Theme", - editOnGithub: "Edit on GitHub" -}; -const I18nContext = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createContext"])({ - text: defaultTranslations -}); -function I18nLabel(props) { - const { text } = useI18n(); - return text[props.label]; -} -function useI18n() { - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useContext"])(I18nContext); -} -function I18nProvider({ locales = [], locale, onLocaleChange, children, translations }) { - const router = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$core$2f$dist$2f$framework$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useRouter"])(); - const pathname = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$core$2f$dist$2f$framework$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["usePathname"])(); - const onChange = (value)=>{ - if (onLocaleChange) return onLocaleChange(value); - const segments = pathname.split("/").filter((v)=>v.length > 0); - if (segments[0] !== locale) segments.unshift(value); - else segments[0] = value; - router.push(`/${segments.join("/")}`); - }; - const onChangeRef = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useRef"])(onChange); - onChangeRef.current = onChange; - return /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(I18nContext, { - value: (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useMemo"])({ - "I18nProvider.useMemo": ()=>({ - locale, - locales, - text: { - ...defaultTranslations, - ...translations - }, - onChange: ({ - "I18nProvider.useMemo": (v)=>onChangeRef.current(v) - })["I18nProvider.useMemo"] - }) - }["I18nProvider.useMemo"], [ - locale, - locales, - translations - ]), - children - }); -} -; - //# sourceMappingURL=i18n.js.map -}), -"[project]/node_modules/@fumadocs/ui/dist/contexts/search.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "SearchOnly", - ()=>SearchOnly, - "SearchProvider", - ()=>SearchProvider, - "useSearchContext", - ()=>useSearchContext -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/jsx-runtime.js [app-client] (ecmascript)"); -'use client'; -; -; -//#region src/contexts/search.tsx -const SearchContext = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createContext"])({ - enabled: false, - hotKey: [], - setOpenSearch: ()=>void 0 -}); -function useSearchContext() { - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["use"])(SearchContext); -} -function MetaOrControl() { - const [key, setKey] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"])("⌘"); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useEffect"])({ - "MetaOrControl.useEffect": ()=>{ - if (window.navigator.userAgent.includes("Windows")) setKey("Ctrl"); - } - }["MetaOrControl.useEffect"], []); - return key; -} -function SearchProvider({ SearchDialog, children, preload = true, options, hotKey = [ - { - key: (e)=>e.metaKey || e.ctrlKey, - display: /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(MetaOrControl, {}) - }, - { - key: "k", - display: "K" - } -], links }) { - const [isOpen, setIsOpen] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"])(preload ? false : void 0); - const onKeyDown = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useEffectEvent"])({ - "SearchProvider.useEffectEvent[onKeyDown]": (e)=>{ - if (hotKey.every({ - "SearchProvider.useEffectEvent[onKeyDown]": (v)=>typeof v.key === "string" ? e.key === v.key : v.key(e) - }["SearchProvider.useEffectEvent[onKeyDown]"])) { - setIsOpen({ - "SearchProvider.useEffectEvent[onKeyDown]": (open)=>!open - }["SearchProvider.useEffectEvent[onKeyDown]"]); - e.preventDefault(); - } - } - }["SearchProvider.useEffectEvent[onKeyDown]"]); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useEffect"])({ - "SearchProvider.useEffect": ()=>{ - window.addEventListener("keydown", onKeyDown); - return ({ - "SearchProvider.useEffect": ()=>{ - window.removeEventListener("keydown", onKeyDown); - } - })["SearchProvider.useEffect"]; - } - }["SearchProvider.useEffect"], [ - hotKey - ]); - return /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxs"])(SearchContext, { - value: (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useMemo"])({ - "SearchProvider.useMemo": ()=>({ - enabled: true, - hotKey, - setOpenSearch: setIsOpen - }) - }["SearchProvider.useMemo"], [ - hotKey - ]), - children: [ - isOpen !== void 0 && /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(SearchDialog, { - open: isOpen, - onOpenChange: setIsOpen, - links, - ...options - }), - children - ] - }); -} -/** -* Show children only when search is enabled via React Context -*/ function SearchOnly({ children }) { - if (useSearchContext().enabled) return children; -} -; - //# sourceMappingURL=search.js.map -}), -"[project]/node_modules/@radix-ui/react-direction/dist/index.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "DirectionProvider", - ()=>DirectionProvider, - "Provider", - ()=>Provider, - "useDirection", - ()=>useDirection -]); -// packages/react/direction/src/direction.tsx -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/jsx-runtime.js [app-client] (ecmascript)"); -; -; -var DirectionContext = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createContext"](void 0); -var DirectionProvider = (props)=>{ - const { dir, children } = props; - return /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(DirectionContext.Provider, { - value: dir, - children - }); -}; -function useDirection(localDir) { - const globalDir = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useContext"](DirectionContext); - return localDir || globalDir || "ltr"; -} -var Provider = DirectionProvider; -; - //# sourceMappingURL=index.mjs.map -}), -"[project]/node_modules/next-themes/dist/index.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "ThemeProvider", - ()=>J, - "useTheme", - ()=>z -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -"use client"; -; -var M = (e, i, s, u, m, a, l, h)=>{ - let d = document.documentElement, w = [ - "light", - "dark" - ]; - function p(n) { - (Array.isArray(e) ? e : [ - e - ]).forEach((y)=>{ - let k = y === "class", S = k && a ? m.map((f)=>a[f] || f) : m; - k ? (d.classList.remove(...S), d.classList.add(a && a[n] ? a[n] : n)) : d.setAttribute(y, n); - }), R(n); - } - function R(n) { - h && w.includes(n) && (d.style.colorScheme = n); - } - function c() { - return window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light"; - } - if (u) p(u); - else try { - let n = localStorage.getItem(i) || s, y = l && n === "system" ? c() : n; - p(y); - } catch (n) {} -}; -var b = [ - "light", - "dark" -], I = "(prefers-color-scheme: dark)", O = typeof window == "undefined", x = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createContext"](void 0), U = { - setTheme: (e)=>{}, - themes: [] -}, z = ()=>{ - var e; - return (e = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useContext"](x)) != null ? e : U; -}, J = (e)=>__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useContext"](x) ? __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createElement"](__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Fragment"], null, e.children) : __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createElement"](V, { - ...e - }), N = [ - "light", - "dark" -], V = ({ forcedTheme: e, disableTransitionOnChange: i = !1, enableSystem: s = !0, enableColorScheme: u = !0, storageKey: m = "theme", themes: a = N, defaultTheme: l = s ? "system" : "light", attribute: h = "data-theme", value: d, children: w, nonce: p, scriptProps: R })=>{ - let [c, n] = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"]({ - "V.useState": ()=>H(m, l) - }["V.useState"]), [T, y] = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"]({ - "V.useState": ()=>c === "system" ? E() : c - }["V.useState"]), k = d ? Object.values(d) : a, S = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useCallback"]({ - "V.useCallback[S]": (o)=>{ - let r = o; - if (!r) return; - o === "system" && s && (r = E()); - let v = d ? d[r] : r, C = i ? W(p) : null, P = document.documentElement, L = { - "V.useCallback[S].L": (g)=>{ - g === "class" ? (P.classList.remove(...k), v && P.classList.add(v)) : g.startsWith("data-") && (v ? P.setAttribute(g, v) : P.removeAttribute(g)); - } - }["V.useCallback[S].L"]; - if (Array.isArray(h) ? h.forEach(L) : L(h), u) { - let g = b.includes(l) ? l : null, D = b.includes(r) ? r : g; - P.style.colorScheme = D; - } - C == null || C(); - } - }["V.useCallback[S]"], [ - p - ]), f = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useCallback"]({ - "V.useCallback[f]": (o)=>{ - let r = typeof o == "function" ? o(c) : o; - n(r); - try { - localStorage.setItem(m, r); - } catch (v) {} - } - }["V.useCallback[f]"], [ - c - ]), A = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useCallback"]({ - "V.useCallback[A]": (o)=>{ - let r = E(o); - y(r), c === "system" && s && !e && S("system"); - } - }["V.useCallback[A]"], [ - c, - e - ]); - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useEffect"]({ - "V.useEffect": ()=>{ - let o = window.matchMedia(I); - return o.addListener(A), A(o), ({ - "V.useEffect": ()=>o.removeListener(A) - })["V.useEffect"]; - } - }["V.useEffect"], [ - A - ]), __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useEffect"]({ - "V.useEffect": ()=>{ - let o = { - "V.useEffect.o": (r)=>{ - r.key === m && (r.newValue ? n(r.newValue) : f(l)); - } - }["V.useEffect.o"]; - return window.addEventListener("storage", o), ({ - "V.useEffect": ()=>window.removeEventListener("storage", o) - })["V.useEffect"]; - } - }["V.useEffect"], [ - f - ]), __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useEffect"]({ - "V.useEffect": ()=>{ - S(e != null ? e : c); - } - }["V.useEffect"], [ - e, - c - ]); - let Q = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useMemo"]({ - "V.useMemo[Q]": ()=>({ - theme: c, - setTheme: f, - forcedTheme: e, - resolvedTheme: c === "system" ? T : c, - themes: s ? [ - ...a, - "system" - ] : a, - systemTheme: s ? T : void 0 - }) - }["V.useMemo[Q]"], [ - c, - f, - e, - T, - s, - a - ]); - return __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createElement"](x.Provider, { - value: Q - }, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createElement"](_, { - forcedTheme: e, - storageKey: m, - attribute: h, - enableSystem: s, - enableColorScheme: u, - defaultTheme: l, - value: d, - themes: a, - nonce: p, - scriptProps: R - }), w); -}, _ = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["memo"](({ forcedTheme: e, storageKey: i, attribute: s, enableSystem: u, enableColorScheme: m, defaultTheme: a, value: l, themes: h, nonce: d, scriptProps: w })=>{ - let p = JSON.stringify([ - s, - i, - a, - e, - h, - l, - u, - m - ]).slice(1, -1); - return __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createElement"]("script", { - ...w, - suppressHydrationWarning: !0, - nonce: typeof window == "undefined" ? d : "", - dangerouslySetInnerHTML: { - __html: `(${M.toString()})(${p})` - } - }); -}), H = (e, i)=>{ - if (O) return; - let s; - try { - s = localStorage.getItem(e) || void 0; - } catch (u) {} - return s || i; -}, W = (e)=>{ - let i = document.createElement("style"); - return e && i.setAttribute("nonce", e), i.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")), document.head.appendChild(i), ()=>{ - window.getComputedStyle(document.body), setTimeout(()=>{ - document.head.removeChild(i); - }, 1); - }; -}, E = (e)=>(e || (e = window.matchMedia(I)), e.matches ? "dark" : "light"); -; -}), -"[project]/node_modules/fumadocs-ui/dist/provider/base.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "RootProvider", - ()=>RootProvider -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/jsx-runtime.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$fumadocs$2f$ui$2f$dist$2f$contexts$2f$i18n$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@fumadocs/ui/dist/contexts/i18n.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$fumadocs$2f$ui$2f$dist$2f$contexts$2f$search$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@fumadocs/ui/dist/contexts/search.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$direction$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@radix-ui/react-direction/dist/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2d$themes$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next-themes/dist/index.mjs [app-client] (ecmascript)"); -'use client'; -; -; -; -; -; -; -//#region src/provider/base.tsx -const DefaultSearchDialog = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["lazy"])(()=>__turbopack_context__.A("[project]/node_modules/fumadocs-ui/dist/components/dialog/search-default.js [app-client] (ecmascript, async loader)")); -function RootProvider({ children, dir = "ltr", theme = {}, search, i18n }) { - let body = children; - if (search?.enabled !== false) body = /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$fumadocs$2f$ui$2f$dist$2f$contexts$2f$search$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["SearchProvider"], { - SearchDialog: DefaultSearchDialog, - ...search, - children: body - }); - if (theme?.enabled !== false) body = /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2d$themes$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["ThemeProvider"], { - attribute: "class", - defaultTheme: "system", - enableSystem: true, - disableTransitionOnChange: true, - ...theme, - children: body - }); - if (i18n) body = /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$fumadocs$2f$ui$2f$dist$2f$contexts$2f$i18n$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["I18nProvider"], { - ...i18n, - children: body - }); - return /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$direction$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["DirectionProvider"], { - dir, - children: body - }); -} -; - //# sourceMappingURL=base.js.map -}), -"[project]/node_modules/next/navigation.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { - -module.exports = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/navigation.js [app-client] (ecmascript)"); -}), -"[project]/node_modules/next/dist/shared/lib/image-blur-svg.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -/** - * A shared function, used on both client and server, to generate a SVG blur placeholder. - */ Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "getImageBlurSvg", { - enumerable: true, - get: function() { - return getImageBlurSvg; - } -}); -function getImageBlurSvg({ widthInt, heightInt, blurWidth, blurHeight, blurDataURL, objectFit }) { - const std = 20; - const svgWidth = blurWidth ? blurWidth * 40 : widthInt; - const svgHeight = blurHeight ? blurHeight * 40 : heightInt; - const viewBox = svgWidth && svgHeight ? `viewBox='0 0 ${svgWidth} ${svgHeight}'` : ''; - const preserveAspectRatio = viewBox ? 'none' : objectFit === 'contain' ? 'xMidYMid' : objectFit === 'cover' ? 'xMidYMid slice' : 'none'; - return `%3Csvg xmlns='http://www.w3.org/2000/svg' ${viewBox}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='${std}'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='${std}'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${preserveAspectRatio}' style='filter: url(%23b);' href='${blurDataURL}'/%3E%3C/svg%3E`; -} //# sourceMappingURL=image-blur-svg.js.map -}), -"[project]/node_modules/next/dist/shared/lib/image-config.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - VALID_LOADERS: null, - imageConfigDefault: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - VALID_LOADERS: function() { - return VALID_LOADERS; - }, - imageConfigDefault: function() { - return imageConfigDefault; - } -}); -const VALID_LOADERS = [ - 'default', - 'imgix', - 'cloudinary', - 'akamai', - 'custom' -]; -const imageConfigDefault = { - deviceSizes: [ - 640, - 750, - 828, - 1080, - 1200, - 1920, - 2048, - 3840 - ], - imageSizes: [ - 32, - 48, - 64, - 96, - 128, - 256, - 384 - ], - path: '/_next/image', - loader: 'default', - loaderFile: '', - /** - * @deprecated Use `remotePatterns` instead to protect your application from malicious users. - */ domains: [], - disableStaticImages: false, - minimumCacheTTL: 14400, - formats: [ - 'image/webp' - ], - maximumRedirects: 3, - dangerouslyAllowLocalIP: false, - dangerouslyAllowSVG: false, - contentSecurityPolicy: `script-src 'none'; frame-src 'none'; sandbox;`, - contentDispositionType: 'attachment', - localPatterns: undefined, - remotePatterns: [], - qualities: [ - 75 - ], - unoptimized: false -}; //# sourceMappingURL=image-config.js.map -}), -"[project]/node_modules/next/dist/shared/lib/get-img-props.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "getImgProps", { - enumerable: true, - get: function() { - return getImgProps; - } -}); -const _warnonce = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/utils/warn-once.js [app-client] (ecmascript)"); -const _deploymentid = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/deployment-id.js [app-client] (ecmascript)"); -const _imageblursvg = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/image-blur-svg.js [app-client] (ecmascript)"); -const _imageconfig = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/image-config.js [app-client] (ecmascript)"); -const VALID_LOADING_VALUES = [ - 'lazy', - 'eager', - undefined -]; -// Object-fit values that are not valid background-size values -const INVALID_BACKGROUND_SIZE_VALUES = [ - '-moz-initial', - 'fill', - 'none', - 'scale-down', - undefined -]; -function isStaticRequire(src) { - return src.default !== undefined; -} -function isStaticImageData(src) { - return src.src !== undefined; -} -function isStaticImport(src) { - return !!src && typeof src === 'object' && (isStaticRequire(src) || isStaticImageData(src)); -} -const allImgs = new Map(); -let perfObserver; -function getInt(x) { - if (typeof x === 'undefined') { - return x; - } - if (typeof x === 'number') { - return Number.isFinite(x) ? x : NaN; - } - if (typeof x === 'string' && /^[0-9]+$/.test(x)) { - return parseInt(x, 10); - } - return NaN; -} -function getWidths({ deviceSizes, allSizes }, width, sizes) { - if (sizes) { - // Find all the "vw" percent sizes used in the sizes prop - const viewportWidthRe = /(^|\s)(1?\d?\d)vw/g; - const percentSizes = []; - for(let match; match = viewportWidthRe.exec(sizes); match){ - percentSizes.push(parseInt(match[2])); - } - if (percentSizes.length) { - const smallestRatio = Math.min(...percentSizes) * 0.01; - return { - widths: allSizes.filter((s)=>s >= deviceSizes[0] * smallestRatio), - kind: 'w' - }; - } - return { - widths: allSizes, - kind: 'w' - }; - } - if (typeof width !== 'number') { - return { - widths: deviceSizes, - kind: 'w' - }; - } - const widths = [ - ...new Set(// > are actually 3x in the green color, but only 1.5x in the red and - // > blue colors. Showing a 3x resolution image in the app vs a 2x - // > resolution image will be visually the same, though the 3x image - // > takes significantly more data. Even true 3x resolution screens are - // > wasteful as the human eye cannot see that level of detail without - // > something like a magnifying glass. - // https://blog.twitter.com/engineering/en_us/topics/infrastructure/2019/capping-image-fidelity-on-ultra-high-resolution-devices.html - [ - width, - width * 2 /*, width * 3*/ - ].map((w)=>allSizes.find((p)=>p >= w) || allSizes[allSizes.length - 1])) - ]; - return { - widths, - kind: 'x' - }; -} -function generateImgAttrs({ config, src, unoptimized, width, quality, sizes, loader }) { - if (unoptimized) { - const deploymentId = (0, _deploymentid.getDeploymentId)(); - if (src.startsWith('/') && !src.startsWith('//') && deploymentId) { - const sep = src.includes('?') ? '&' : '?'; - src = `${src}${sep}dpl=${deploymentId}`; - } - return { - src, - srcSet: undefined, - sizes: undefined - }; - } - const { widths, kind } = getWidths(config, width, sizes); - const last = widths.length - 1; - return { - sizes: !sizes && kind === 'w' ? '100vw' : sizes, - srcSet: widths.map((w, i)=>`${loader({ - config, - src, - quality, - width: w - })} ${kind === 'w' ? w : i + 1}${kind}`).join(', '), - // It's intended to keep `src` the last attribute because React updates - // attributes in order. If we keep `src` the first one, Safari will - // immediately start to fetch `src`, before `sizes` and `srcSet` are even - // updated by React. That causes multiple unnecessary requests if `srcSet` - // and `sizes` are defined. - // This bug cannot be reproduced in Chrome or Firefox. - src: loader({ - config, - src, - quality, - width: widths[last] - }) - }; -} -function getImgProps({ src, sizes, unoptimized = false, priority = false, preload = false, loading, className, quality, width, height, fill = false, style, overrideSrc, onLoad, onLoadingComplete, placeholder = 'empty', blurDataURL, fetchPriority, decoding = 'async', layout, objectFit, objectPosition, lazyBoundary, lazyRoot, ...rest }, _state) { - const { imgConf, showAltText, blurComplete, defaultLoader } = _state; - let config; - let c = imgConf || _imageconfig.imageConfigDefault; - if ('allSizes' in c) { - config = c; - } else { - const allSizes = [ - ...c.deviceSizes, - ...c.imageSizes - ].sort((a, b)=>a - b); - const deviceSizes = c.deviceSizes.sort((a, b)=>a - b); - const qualities = c.qualities?.sort((a, b)=>a - b); - config = { - ...c, - allSizes, - deviceSizes, - qualities - }; - } - if (typeof defaultLoader === 'undefined') { - throw Object.defineProperty(new Error('images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config'), "__NEXT_ERROR_CODE", { - value: "E163", - enumerable: false, - configurable: true - }); - } - let loader = rest.loader || defaultLoader; - // Remove property so it's not spread on element - delete rest.loader; - delete rest.srcSet; - // This special value indicates that the user - // didn't define a "loader" prop or "loader" config. - const isDefaultLoader = '__next_img_default' in loader; - if (isDefaultLoader) { - if (config.loader === 'custom') { - throw Object.defineProperty(new Error(`Image with src "${src}" is missing "loader" prop.` + `\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader`), "__NEXT_ERROR_CODE", { - value: "E252", - enumerable: false, - configurable: true - }); - } - } else { - // The user defined a "loader" prop or config. - // Since the config object is internal only, we - // must not pass it to the user-defined "loader". - const customImageLoader = loader; - loader = (obj)=>{ - const { config: _, ...opts } = obj; - return customImageLoader(opts); - }; - } - if (layout) { - if (layout === 'fill') { - fill = true; - } - const layoutToStyle = { - intrinsic: { - maxWidth: '100%', - height: 'auto' - }, - responsive: { - width: '100%', - height: 'auto' - } - }; - const layoutToSizes = { - responsive: '100vw', - fill: '100vw' - }; - const layoutStyle = layoutToStyle[layout]; - if (layoutStyle) { - style = { - ...style, - ...layoutStyle - }; - } - const layoutSizes = layoutToSizes[layout]; - if (layoutSizes && !sizes) { - sizes = layoutSizes; - } - } - let staticSrc = ''; - let widthInt = getInt(width); - let heightInt = getInt(height); - let blurWidth; - let blurHeight; - if (isStaticImport(src)) { - const staticImageData = isStaticRequire(src) ? src.default : src; - if (!staticImageData.src) { - throw Object.defineProperty(new Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(staticImageData)}`), "__NEXT_ERROR_CODE", { - value: "E460", - enumerable: false, - configurable: true - }); - } - if (!staticImageData.height || !staticImageData.width) { - throw Object.defineProperty(new Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(staticImageData)}`), "__NEXT_ERROR_CODE", { - value: "E48", - enumerable: false, - configurable: true - }); - } - blurWidth = staticImageData.blurWidth; - blurHeight = staticImageData.blurHeight; - blurDataURL = blurDataURL || staticImageData.blurDataURL; - staticSrc = staticImageData.src; - if (!fill) { - if (!widthInt && !heightInt) { - widthInt = staticImageData.width; - heightInt = staticImageData.height; - } else if (widthInt && !heightInt) { - const ratio = widthInt / staticImageData.width; - heightInt = Math.round(staticImageData.height * ratio); - } else if (!widthInt && heightInt) { - const ratio = heightInt / staticImageData.height; - widthInt = Math.round(staticImageData.width * ratio); - } - } - } - src = typeof src === 'string' ? src : staticSrc; - let isLazy = !priority && !preload && (loading === 'lazy' || typeof loading === 'undefined'); - if (!src || src.startsWith('data:') || src.startsWith('blob:')) { - // https://developer.mozilla.org/docs/Web/HTTP/Basics_of_HTTP/Data_URIs - unoptimized = true; - isLazy = false; - } - if (config.unoptimized) { - unoptimized = true; - } - if (isDefaultLoader && !config.dangerouslyAllowSVG && src.split('?', 1)[0].endsWith('.svg')) { - // Special case to make svg serve as-is to avoid proxying - // through the built-in Image Optimization API. - unoptimized = true; - } - const qualityInt = getInt(quality); - if ("TURBOPACK compile-time truthy", 1) { - if (config.output === 'export' && isDefaultLoader && !unoptimized) { - throw Object.defineProperty(new Error(`Image Optimization using the default loader is not compatible with \`{ output: 'export' }\`. - Possible solutions: - - Remove \`{ output: 'export' }\` and run "next start" to run server mode including the Image Optimization API. - - Configure \`{ images: { unoptimized: true } }\` in \`next.config.js\` to disable the Image Optimization API. - Read more: https://nextjs.org/docs/messages/export-image-api`), "__NEXT_ERROR_CODE", { - value: "E500", - enumerable: false, - configurable: true - }); - } - if (!src) { - // React doesn't show the stack trace and there's - // no `src` to help identify which image, so we - // instead console.error(ref) during mount. - unoptimized = true; - } else { - if (fill) { - if (width) { - throw Object.defineProperty(new Error(`Image with src "${src}" has both "width" and "fill" properties. Only one should be used.`), "__NEXT_ERROR_CODE", { - value: "E96", - enumerable: false, - configurable: true - }); - } - if (height) { - throw Object.defineProperty(new Error(`Image with src "${src}" has both "height" and "fill" properties. Only one should be used.`), "__NEXT_ERROR_CODE", { - value: "E115", - enumerable: false, - configurable: true - }); - } - if (style?.position && style.position !== 'absolute') { - throw Object.defineProperty(new Error(`Image with src "${src}" has both "fill" and "style.position" properties. Images with "fill" always use position absolute - it cannot be modified.`), "__NEXT_ERROR_CODE", { - value: "E216", - enumerable: false, - configurable: true - }); - } - if (style?.width && style.width !== '100%') { - throw Object.defineProperty(new Error(`Image with src "${src}" has both "fill" and "style.width" properties. Images with "fill" always use width 100% - it cannot be modified.`), "__NEXT_ERROR_CODE", { - value: "E73", - enumerable: false, - configurable: true - }); - } - if (style?.height && style.height !== '100%') { - throw Object.defineProperty(new Error(`Image with src "${src}" has both "fill" and "style.height" properties. Images with "fill" always use height 100% - it cannot be modified.`), "__NEXT_ERROR_CODE", { - value: "E404", - enumerable: false, - configurable: true - }); - } - } else { - if (typeof widthInt === 'undefined') { - throw Object.defineProperty(new Error(`Image with src "${src}" is missing required "width" property.`), "__NEXT_ERROR_CODE", { - value: "E451", - enumerable: false, - configurable: true - }); - } else if (isNaN(widthInt)) { - throw Object.defineProperty(new Error(`Image with src "${src}" has invalid "width" property. Expected a numeric value in pixels but received "${width}".`), "__NEXT_ERROR_CODE", { - value: "E66", - enumerable: false, - configurable: true - }); - } - if (typeof heightInt === 'undefined') { - throw Object.defineProperty(new Error(`Image with src "${src}" is missing required "height" property.`), "__NEXT_ERROR_CODE", { - value: "E397", - enumerable: false, - configurable: true - }); - } else if (isNaN(heightInt)) { - throw Object.defineProperty(new Error(`Image with src "${src}" has invalid "height" property. Expected a numeric value in pixels but received "${height}".`), "__NEXT_ERROR_CODE", { - value: "E444", - enumerable: false, - configurable: true - }); - } - // eslint-disable-next-line no-control-regex - if (/^[\x00-\x20]/.test(src)) { - throw Object.defineProperty(new Error(`Image with src "${src}" cannot start with a space or control character. Use src.trimStart() to remove it or encodeURIComponent(src) to keep it.`), "__NEXT_ERROR_CODE", { - value: "E176", - enumerable: false, - configurable: true - }); - } - // eslint-disable-next-line no-control-regex - if (/[\x00-\x20]$/.test(src)) { - throw Object.defineProperty(new Error(`Image with src "${src}" cannot end with a space or control character. Use src.trimEnd() to remove it or encodeURIComponent(src) to keep it.`), "__NEXT_ERROR_CODE", { - value: "E21", - enumerable: false, - configurable: true - }); - } - } - } - if (!VALID_LOADING_VALUES.includes(loading)) { - throw Object.defineProperty(new Error(`Image with src "${src}" has invalid "loading" property. Provided "${loading}" should be one of ${VALID_LOADING_VALUES.map(String).join(',')}.`), "__NEXT_ERROR_CODE", { - value: "E357", - enumerable: false, - configurable: true - }); - } - if (priority && loading === 'lazy') { - throw Object.defineProperty(new Error(`Image with src "${src}" has both "priority" and "loading='lazy'" properties. Only one should be used.`), "__NEXT_ERROR_CODE", { - value: "E218", - enumerable: false, - configurable: true - }); - } - if (preload && loading === 'lazy') { - throw Object.defineProperty(new Error(`Image with src "${src}" has both "preload" and "loading='lazy'" properties. Only one should be used.`), "__NEXT_ERROR_CODE", { - value: "E803", - enumerable: false, - configurable: true - }); - } - if (preload && priority) { - throw Object.defineProperty(new Error(`Image with src "${src}" has both "preload" and "priority" properties. Only "preload" should be used.`), "__NEXT_ERROR_CODE", { - value: "E802", - enumerable: false, - configurable: true - }); - } - if (placeholder !== 'empty' && placeholder !== 'blur' && !placeholder.startsWith('data:image/')) { - throw Object.defineProperty(new Error(`Image with src "${src}" has invalid "placeholder" property "${placeholder}".`), "__NEXT_ERROR_CODE", { - value: "E431", - enumerable: false, - configurable: true - }); - } - if (placeholder !== 'empty') { - if (widthInt && heightInt && widthInt * heightInt < 1600) { - (0, _warnonce.warnOnce)(`Image with src "${src}" is smaller than 40x40. Consider removing the "placeholder" property to improve performance.`); - } - } - if (qualityInt && config.qualities && !config.qualities.includes(qualityInt)) { - (0, _warnonce.warnOnce)(`Image with src "${src}" is using quality "${qualityInt}" which is not configured in images.qualities [${config.qualities.join(', ')}]. Please update your config to [${[ - ...config.qualities, - qualityInt - ].sort().join(', ')}].` + `\nRead more: https://nextjs.org/docs/messages/next-image-unconfigured-qualities`); - } - if (placeholder === 'blur' && !blurDataURL) { - const VALID_BLUR_EXT = [ - 'jpeg', - 'png', - 'webp', - 'avif' - ] // should match next-image-loader - ; - throw Object.defineProperty(new Error(`Image with src "${src}" has "placeholder='blur'" property but is missing the "blurDataURL" property. - Possible solutions: - - Add a "blurDataURL" property, the contents should be a small Data URL to represent the image - - Change the "src" property to a static import with one of the supported file types: ${VALID_BLUR_EXT.join(',')} (animated images not supported) - - Remove the "placeholder" property, effectively no blur effect - Read more: https://nextjs.org/docs/messages/placeholder-blur-data-url`), "__NEXT_ERROR_CODE", { - value: "E371", - enumerable: false, - configurable: true - }); - } - if ('ref' in rest) { - (0, _warnonce.warnOnce)(`Image with src "${src}" is using unsupported "ref" property. Consider using the "onLoad" property instead.`); - } - if (!unoptimized && !isDefaultLoader) { - const urlStr = loader({ - config, - src, - width: widthInt || 400, - quality: qualityInt || 75 - }); - let url; - try { - url = new URL(urlStr); - } catch (err) {} - if (urlStr === src || url && url.pathname === src && !url.search) { - (0, _warnonce.warnOnce)(`Image with src "${src}" has a "loader" property that does not implement width. Please implement it or use the "unoptimized" property instead.` + `\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader-width`); - } - } - if (onLoadingComplete) { - (0, _warnonce.warnOnce)(`Image with src "${src}" is using deprecated "onLoadingComplete" property. Please use the "onLoad" property instead.`); - } - for (const [legacyKey, legacyValue] of Object.entries({ - layout, - objectFit, - objectPosition, - lazyBoundary, - lazyRoot - })){ - if (legacyValue) { - (0, _warnonce.warnOnce)(`Image with src "${src}" has legacy prop "${legacyKey}". Did you forget to run the codemod?` + `\nRead more: https://nextjs.org/docs/messages/next-image-upgrade-to-13`); - } - } - if (typeof window !== 'undefined' && !perfObserver && window.PerformanceObserver) { - perfObserver = new PerformanceObserver((entryList)=>{ - for (const entry of entryList.getEntries()){ - // @ts-ignore - missing "LargestContentfulPaint" class with "element" prop - const imgSrc = entry?.element?.src || ''; - const lcpImage = allImgs.get(imgSrc); - if (lcpImage && lcpImage.loading === 'lazy' && lcpImage.placeholder === 'empty' && !lcpImage.src.startsWith('data:') && !lcpImage.src.startsWith('blob:')) { - // https://web.dev/lcp/#measure-lcp-in-javascript - (0, _warnonce.warnOnce)(`Image with src "${lcpImage.src}" was detected as the Largest Contentful Paint (LCP). Please add the \`loading="eager"\` property if this image is above the fold.` + `\nRead more: https://nextjs.org/docs/app/api-reference/components/image#loading`); - } - } - }); - try { - perfObserver.observe({ - type: 'largest-contentful-paint', - buffered: true - }); - } catch (err) { - // Log error but don't crash the app - console.error(err); - } - } - } - const imgStyle = Object.assign(fill ? { - position: 'absolute', - height: '100%', - width: '100%', - left: 0, - top: 0, - right: 0, - bottom: 0, - objectFit, - objectPosition - } : {}, showAltText ? {} : { - color: 'transparent' - }, style); - const backgroundImage = !blurComplete && placeholder !== 'empty' ? placeholder === 'blur' ? `url("data:image/svg+xml;charset=utf-8,${(0, _imageblursvg.getImageBlurSvg)({ - widthInt, - heightInt, - blurWidth, - blurHeight, - blurDataURL: blurDataURL || '', - objectFit: imgStyle.objectFit - })}")` : `url("${placeholder}")` // assume `data:image/` - : null; - const backgroundSize = !INVALID_BACKGROUND_SIZE_VALUES.includes(imgStyle.objectFit) ? imgStyle.objectFit : imgStyle.objectFit === 'fill' ? '100% 100%' // the background-size equivalent of `fill` - : 'cover'; - let placeholderStyle = backgroundImage ? { - backgroundSize, - backgroundPosition: imgStyle.objectPosition || '50% 50%', - backgroundRepeat: 'no-repeat', - backgroundImage - } : {}; - if ("TURBOPACK compile-time truthy", 1) { - if (placeholderStyle.backgroundImage && placeholder === 'blur' && blurDataURL?.startsWith('/')) { - // During `next dev`, we don't want to generate blur placeholders with webpack - // because it can delay starting the dev server. Instead, `next-image-loader.js` - // will inline a special url to lazily generate the blur placeholder at request time. - placeholderStyle.backgroundImage = `url("${blurDataURL}")`; - } - } - const imgAttributes = generateImgAttrs({ - config, - src, - unoptimized, - width: widthInt, - quality: qualityInt, - sizes, - loader - }); - const loadingFinal = isLazy ? 'lazy' : loading; - if ("TURBOPACK compile-time truthy", 1) { - if (typeof window !== 'undefined') { - let fullUrl; - try { - fullUrl = new URL(imgAttributes.src); - } catch (e) { - fullUrl = new URL(imgAttributes.src, window.location.href); - } - allImgs.set(fullUrl.href, { - src, - loading: loadingFinal, - placeholder - }); - } - } - const props = { - ...rest, - loading: loadingFinal, - fetchPriority, - width: widthInt, - height: heightInt, - decoding, - className, - style: { - ...imgStyle, - ...placeholderStyle - }, - sizes: imgAttributes.sizes, - srcSet: imgAttributes.srcSet, - src: overrideSrc || imgAttributes.src - }; - const meta = { - unoptimized, - preload: preload || priority, - placeholder, - fill - }; - return { - props, - meta - }; -} //# sourceMappingURL=get-img-props.js.map -}), -"[project]/node_modules/next/dist/shared/lib/side-effect.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "default", { - enumerable: true, - get: function() { - return SideEffect; - } -}); -const _react = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -const isServer = typeof window === 'undefined'; -const useClientOnlyLayoutEffect = isServer ? ()=>{} : _react.useLayoutEffect; -const useClientOnlyEffect = isServer ? ()=>{} : _react.useEffect; -function SideEffect(props) { - const { headManager, reduceComponentsToState } = props; - function emitChange() { - if (headManager && headManager.mountedInstances) { - const headElements = _react.Children.toArray(Array.from(headManager.mountedInstances).filter(Boolean)); - headManager.updateHead(reduceComponentsToState(headElements)); - } - } - if (isServer) { - headManager?.mountedInstances?.add(props.children); - emitChange(); - } - useClientOnlyLayoutEffect({ - "SideEffect.useClientOnlyLayoutEffect": ()=>{ - headManager?.mountedInstances?.add(props.children); - return ({ - "SideEffect.useClientOnlyLayoutEffect": ()=>{ - headManager?.mountedInstances?.delete(props.children); - } - })["SideEffect.useClientOnlyLayoutEffect"]; - } - }["SideEffect.useClientOnlyLayoutEffect"]); - // We need to call `updateHead` method whenever the `SideEffect` is trigger in all - // life-cycles: mount, update, unmount. However, if there are multiple `SideEffect`s - // being rendered, we only trigger the method from the last one. - // This is ensured by keeping the last unflushed `updateHead` in the `_pendingUpdate` - // singleton in the layout effect pass, and actually trigger it in the effect pass. - useClientOnlyLayoutEffect({ - "SideEffect.useClientOnlyLayoutEffect": ()=>{ - if (headManager) { - headManager._pendingUpdate = emitChange; - } - return ({ - "SideEffect.useClientOnlyLayoutEffect": ()=>{ - if (headManager) { - headManager._pendingUpdate = emitChange; - } - } - })["SideEffect.useClientOnlyLayoutEffect"]; - } - }["SideEffect.useClientOnlyLayoutEffect"]); - useClientOnlyEffect({ - "SideEffect.useClientOnlyEffect": ()=>{ - if (headManager && headManager._pendingUpdate) { - headManager._pendingUpdate(); - headManager._pendingUpdate = null; - } - return ({ - "SideEffect.useClientOnlyEffect": ()=>{ - if (headManager && headManager._pendingUpdate) { - headManager._pendingUpdate(); - headManager._pendingUpdate = null; - } - } - })["SideEffect.useClientOnlyEffect"]; - } - }["SideEffect.useClientOnlyEffect"]); - return null; -} //# sourceMappingURL=side-effect.js.map -}), -"[project]/node_modules/next/dist/shared/lib/head.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -'use client'; -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - default: null, - defaultHead: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - default: function() { - return _default; - }, - defaultHead: function() { - return defaultHead; - } -}); -const _interop_require_default = __turbopack_context__.r("[project]/node_modules/@swc/helpers/cjs/_interop_require_default.cjs [app-client] (ecmascript)"); -const _interop_require_wildcard = __turbopack_context__.r("[project]/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs [app-client] (ecmascript)"); -const _jsxruntime = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/jsx-runtime.js [app-client] (ecmascript)"); -const _react = /*#__PURE__*/ _interop_require_wildcard._(__turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)")); -const _sideeffect = /*#__PURE__*/ _interop_require_default._(__turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/side-effect.js [app-client] (ecmascript)")); -const _headmanagercontextsharedruntime = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js [app-client] (ecmascript)"); -const _warnonce = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/utils/warn-once.js [app-client] (ecmascript)"); -function defaultHead() { - const head = [ - /*#__PURE__*/ (0, _jsxruntime.jsx)("meta", { - charSet: "utf-8" - }, "charset"), - /*#__PURE__*/ (0, _jsxruntime.jsx)("meta", { - name: "viewport", - content: "width=device-width" - }, "viewport") - ]; - return head; -} -function onlyReactElement(list, child) { - // React children can be "string" or "number" in this case we ignore them for backwards compat - if (typeof child === 'string' || typeof child === 'number') { - return list; - } - // Adds support for React.Fragment - if (child.type === _react.default.Fragment) { - return list.concat(_react.default.Children.toArray(child.props.children).reduce((fragmentList, fragmentChild)=>{ - if (typeof fragmentChild === 'string' || typeof fragmentChild === 'number') { - return fragmentList; - } - return fragmentList.concat(fragmentChild); - }, [])); - } - return list.concat(child); -} -const METATYPES = [ - 'name', - 'httpEquiv', - 'charSet', - 'itemProp' -]; -/* - returns a function for filtering head child elements - which shouldn't be duplicated, like - Also adds support for deduplicated `key` properties -*/ function unique() { - const keys = new Set(); - const tags = new Set(); - const metaTypes = new Set(); - const metaCategories = {}; - return (h)=>{ - let isUnique = true; - let hasKey = false; - if (h.key && typeof h.key !== 'number' && h.key.indexOf('$') > 0) { - hasKey = true; - const key = h.key.slice(h.key.indexOf('$') + 1); - if (keys.has(key)) { - isUnique = false; - } else { - keys.add(key); - } - } - // eslint-disable-next-line default-case - switch(h.type){ - case 'title': - case 'base': - if (tags.has(h.type)) { - isUnique = false; - } else { - tags.add(h.type); - } - break; - case 'meta': - for(let i = 0, len = METATYPES.length; i < len; i++){ - const metatype = METATYPES[i]; - if (!h.props.hasOwnProperty(metatype)) continue; - if (metatype === 'charSet') { - if (metaTypes.has(metatype)) { - isUnique = false; - } else { - metaTypes.add(metatype); - } - } else { - const category = h.props[metatype]; - const categories = metaCategories[metatype] || new Set(); - if ((metatype !== 'name' || !hasKey) && categories.has(category)) { - isUnique = false; - } else { - categories.add(category); - metaCategories[metatype] = categories; - } - } - } - break; - } - return isUnique; - }; -} -/** - * - * @param headChildrenElements List of children of <Head> - */ function reduceComponents(headChildrenElements) { - return headChildrenElements.reduce(onlyReactElement, []).reverse().concat(defaultHead().reverse()).filter(unique()).reverse().map((c, i)=>{ - const key = c.key || i; - if ("TURBOPACK compile-time truthy", 1) { - // omit JSON-LD structured data snippets from the warning - if (c.type === 'script' && c.props['type'] !== 'application/ld+json') { - const srcMessage = c.props['src'] ? `<script> tag with src="${c.props['src']}"` : `inline <script>`; - (0, _warnonce.warnOnce)(`Do not add <script> tags using next/head (see ${srcMessage}). Use next/script instead. \nSee more info here: https://nextjs.org/docs/messages/no-script-tags-in-head-component`); - } else if (c.type === 'link' && c.props['rel'] === 'stylesheet') { - (0, _warnonce.warnOnce)(`Do not add stylesheets using next/head (see <link rel="stylesheet"> tag with href="${c.props['href']}"). Use Document instead. \nSee more info here: https://nextjs.org/docs/messages/no-stylesheets-in-head-component`); - } - } - return /*#__PURE__*/ _react.default.cloneElement(c, { - key - }); - }); -} -/** - * This component injects elements to `<head>` of your page. - * To avoid duplicated `tags` in `<head>` you can use the `key` property, which will make sure every tag is only rendered once. - */ function Head({ children }) { - const headManager = (0, _react.useContext)(_headmanagercontextsharedruntime.HeadManagerContext); - return /*#__PURE__*/ (0, _jsxruntime.jsx)(_sideeffect.default, { - reduceComponentsToState: reduceComponents, - headManager: headManager, - children: children - }); -} -const _default = Head; -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=head.js.map -}), -"[project]/node_modules/next/dist/shared/lib/image-config-context.shared-runtime.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "ImageConfigContext", { - enumerable: true, - get: function() { - return ImageConfigContext; - } -}); -const _interop_require_default = __turbopack_context__.r("[project]/node_modules/@swc/helpers/cjs/_interop_require_default.cjs [app-client] (ecmascript)"); -const _react = /*#__PURE__*/ _interop_require_default._(__turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)")); -const _imageconfig = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/image-config.js [app-client] (ecmascript)"); -const ImageConfigContext = _react.default.createContext(_imageconfig.imageConfigDefault); -if ("TURBOPACK compile-time truthy", 1) { - ImageConfigContext.displayName = 'ImageConfigContext'; -} //# sourceMappingURL=image-config-context.shared-runtime.js.map -}), -"[project]/node_modules/next/dist/shared/lib/router-context.shared-runtime.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "RouterContext", { - enumerable: true, - get: function() { - return RouterContext; - } -}); -const _interop_require_default = __turbopack_context__.r("[project]/node_modules/@swc/helpers/cjs/_interop_require_default.cjs [app-client] (ecmascript)"); -const _react = /*#__PURE__*/ _interop_require_default._(__turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)")); -const RouterContext = _react.default.createContext(null); -if ("TURBOPACK compile-time truthy", 1) { - RouterContext.displayName = 'RouterContext'; -} //# sourceMappingURL=router-context.shared-runtime.js.map -}), -"[project]/node_modules/next/dist/shared/lib/find-closest-quality.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "findClosestQuality", { - enumerable: true, - get: function() { - return findClosestQuality; - } -}); -function findClosestQuality(quality, config) { - const q = quality || 75; - if (!config?.qualities?.length) { - return q; - } - return config.qualities.reduce((prev, cur)=>Math.abs(cur - q) < Math.abs(prev - q) ? cur : prev, 0); -} //# sourceMappingURL=find-closest-quality.js.map -}), -"[project]/node_modules/next/dist/compiled/picomatch/index.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -(()=>{ - "use strict"; - var t = { - 170: (t, e, u)=>{ - const n = u(510); - const isWindows = ()=>{ - if (typeof navigator !== "undefined" && navigator.platform) { - const t = navigator.platform.toLowerCase(); - return t === "win32" || t === "windows"; - } - if (typeof __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"] !== "undefined" && __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"].platform) { - return __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"].platform === "win32"; - } - return false; - }; - function picomatch(t, e, u = false) { - if (e && (e.windows === null || e.windows === undefined)) { - e = { - ...e, - windows: isWindows() - }; - } - return n(t, e, u); - } - Object.assign(picomatch, n); - t.exports = picomatch; - }, - 154: (t)=>{ - const e = "\\\\/"; - const u = `[^${e}]`; - const n = "\\."; - const o = "\\+"; - const s = "\\?"; - const r = "\\/"; - const a = "(?=.)"; - const i = "[^/]"; - const c = `(?:${r}|$)`; - const p = `(?:^|${r})`; - const l = `${n}{1,2}${c}`; - const f = `(?!${n})`; - const A = `(?!${p}${l})`; - const _ = `(?!${n}{0,1}${c})`; - const R = `(?!${l})`; - const E = `[^.${r}]`; - const h = `${i}*?`; - const g = "/"; - const b = { - DOT_LITERAL: n, - PLUS_LITERAL: o, - QMARK_LITERAL: s, - SLASH_LITERAL: r, - ONE_CHAR: a, - QMARK: i, - END_ANCHOR: c, - DOTS_SLASH: l, - NO_DOT: f, - NO_DOTS: A, - NO_DOT_SLASH: _, - NO_DOTS_SLASH: R, - QMARK_NO_DOT: E, - STAR: h, - START_ANCHOR: p, - SEP: g - }; - const C = { - ...b, - SLASH_LITERAL: `[${e}]`, - QMARK: u, - STAR: `${u}*?`, - DOTS_SLASH: `${n}{1,2}(?:[${e}]|$)`, - NO_DOT: `(?!${n})`, - NO_DOTS: `(?!(?:^|[${e}])${n}{1,2}(?:[${e}]|$))`, - NO_DOT_SLASH: `(?!${n}{0,1}(?:[${e}]|$))`, - NO_DOTS_SLASH: `(?!${n}{1,2}(?:[${e}]|$))`, - QMARK_NO_DOT: `[^.${e}]`, - START_ANCHOR: `(?:^|[${e}])`, - END_ANCHOR: `(?:[${e}]|$)`, - SEP: "\\" - }; - const y = { - alnum: "a-zA-Z0-9", - alpha: "a-zA-Z", - ascii: "\\x00-\\x7F", - blank: " \\t", - cntrl: "\\x00-\\x1F\\x7F", - digit: "0-9", - graph: "\\x21-\\x7E", - lower: "a-z", - print: "\\x20-\\x7E ", - punct: "\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~", - space: " \\t\\r\\n\\v\\f", - upper: "A-Z", - word: "A-Za-z0-9_", - xdigit: "A-Fa-f0-9" - }; - t.exports = { - MAX_LENGTH: 1024 * 64, - POSIX_REGEX_SOURCE: y, - REGEX_BACKSLASH: /\\(?![*+?^${}(|)[\]])/g, - REGEX_NON_SPECIAL_CHARS: /^[^@![\].,$*+?^{}()|\\/]+/, - REGEX_SPECIAL_CHARS: /[-*+?.^${}(|)[\]]/, - REGEX_SPECIAL_CHARS_BACKREF: /(\\?)((\W)(\3*))/g, - REGEX_SPECIAL_CHARS_GLOBAL: /([-*+?.^${}(|)[\]])/g, - REGEX_REMOVE_BACKSLASH: /(?:\[.*?[^\\]\]|\\(?=.))/g, - REPLACEMENTS: { - "***": "*", - "**/**": "**", - "**/**/**": "**" - }, - CHAR_0: 48, - CHAR_9: 57, - CHAR_UPPERCASE_A: 65, - CHAR_LOWERCASE_A: 97, - CHAR_UPPERCASE_Z: 90, - CHAR_LOWERCASE_Z: 122, - CHAR_LEFT_PARENTHESES: 40, - CHAR_RIGHT_PARENTHESES: 41, - CHAR_ASTERISK: 42, - CHAR_AMPERSAND: 38, - CHAR_AT: 64, - CHAR_BACKWARD_SLASH: 92, - CHAR_CARRIAGE_RETURN: 13, - CHAR_CIRCUMFLEX_ACCENT: 94, - CHAR_COLON: 58, - CHAR_COMMA: 44, - CHAR_DOT: 46, - CHAR_DOUBLE_QUOTE: 34, - CHAR_EQUAL: 61, - CHAR_EXCLAMATION_MARK: 33, - CHAR_FORM_FEED: 12, - CHAR_FORWARD_SLASH: 47, - CHAR_GRAVE_ACCENT: 96, - CHAR_HASH: 35, - CHAR_HYPHEN_MINUS: 45, - CHAR_LEFT_ANGLE_BRACKET: 60, - CHAR_LEFT_CURLY_BRACE: 123, - CHAR_LEFT_SQUARE_BRACKET: 91, - CHAR_LINE_FEED: 10, - CHAR_NO_BREAK_SPACE: 160, - CHAR_PERCENT: 37, - CHAR_PLUS: 43, - CHAR_QUESTION_MARK: 63, - CHAR_RIGHT_ANGLE_BRACKET: 62, - CHAR_RIGHT_CURLY_BRACE: 125, - CHAR_RIGHT_SQUARE_BRACKET: 93, - CHAR_SEMICOLON: 59, - CHAR_SINGLE_QUOTE: 39, - CHAR_SPACE: 32, - CHAR_TAB: 9, - CHAR_UNDERSCORE: 95, - CHAR_VERTICAL_LINE: 124, - CHAR_ZERO_WIDTH_NOBREAK_SPACE: 65279, - extglobChars (t) { - return { - "!": { - type: "negate", - open: "(?:(?!(?:", - close: `))${t.STAR})` - }, - "?": { - type: "qmark", - open: "(?:", - close: ")?" - }, - "+": { - type: "plus", - open: "(?:", - close: ")+" - }, - "*": { - type: "star", - open: "(?:", - close: ")*" - }, - "@": { - type: "at", - open: "(?:", - close: ")" - } - }; - }, - globChars (t) { - return t === true ? C : b; - } - }; - }, - 697: (t, e, u)=>{ - const n = u(154); - const o = u(96); - const { MAX_LENGTH: s, POSIX_REGEX_SOURCE: r, REGEX_NON_SPECIAL_CHARS: a, REGEX_SPECIAL_CHARS_BACKREF: i, REPLACEMENTS: c } = n; - const expandRange = (t, e)=>{ - if (typeof e.expandRange === "function") { - return e.expandRange(...t, e); - } - t.sort(); - const u = `[${t.join("-")}]`; - try { - new RegExp(u); - } catch (e) { - return t.map((t)=>o.escapeRegex(t)).join(".."); - } - return u; - }; - const syntaxError = (t, e)=>`Missing ${t}: "${e}" - use "\\\\${e}" to match literal characters`; - const parse = (t, e)=>{ - if (typeof t !== "string") { - throw new TypeError("Expected a string"); - } - t = c[t] || t; - const u = { - ...e - }; - const p = typeof u.maxLength === "number" ? Math.min(s, u.maxLength) : s; - let l = t.length; - if (l > p) { - throw new SyntaxError(`Input length: ${l}, exceeds maximum allowed length: ${p}`); - } - const f = { - type: "bos", - value: "", - output: u.prepend || "" - }; - const A = [ - f - ]; - const _ = u.capture ? "" : "?:"; - const R = n.globChars(u.windows); - const E = n.extglobChars(R); - const { DOT_LITERAL: h, PLUS_LITERAL: g, SLASH_LITERAL: b, ONE_CHAR: C, DOTS_SLASH: y, NO_DOT: $, NO_DOT_SLASH: x, NO_DOTS_SLASH: S, QMARK: H, QMARK_NO_DOT: v, STAR: d, START_ANCHOR: L } = R; - const globstar = (t)=>`(${_}(?:(?!${L}${t.dot ? y : h}).)*?)`; - const T = u.dot ? "" : $; - const O = u.dot ? H : v; - let k = u.bash === true ? globstar(u) : d; - if (u.capture) { - k = `(${k})`; - } - if (typeof u.noext === "boolean") { - u.noextglob = u.noext; - } - const m = { - input: t, - index: -1, - start: 0, - dot: u.dot === true, - consumed: "", - output: "", - prefix: "", - backtrack: false, - negated: false, - brackets: 0, - braces: 0, - parens: 0, - quotes: 0, - globstar: false, - tokens: A - }; - t = o.removePrefix(t, m); - l = t.length; - const w = []; - const N = []; - const I = []; - let B = f; - let G; - const eos = ()=>m.index === l - 1; - const D = m.peek = (e = 1)=>t[m.index + e]; - const M = m.advance = ()=>t[++m.index] || ""; - const remaining = ()=>t.slice(m.index + 1); - const consume = (t = "", e = 0)=>{ - m.consumed += t; - m.index += e; - }; - const append = (t)=>{ - m.output += t.output != null ? t.output : t.value; - consume(t.value); - }; - const negate = ()=>{ - let t = 1; - while(D() === "!" && (D(2) !== "(" || D(3) === "?")){ - M(); - m.start++; - t++; - } - if (t % 2 === 0) { - return false; - } - m.negated = true; - m.start++; - return true; - }; - const increment = (t)=>{ - m[t]++; - I.push(t); - }; - const decrement = (t)=>{ - m[t]--; - I.pop(); - }; - const push = (t)=>{ - if (B.type === "globstar") { - const e = m.braces > 0 && (t.type === "comma" || t.type === "brace"); - const u = t.extglob === true || w.length && (t.type === "pipe" || t.type === "paren"); - if (t.type !== "slash" && t.type !== "paren" && !e && !u) { - m.output = m.output.slice(0, -B.output.length); - B.type = "star"; - B.value = "*"; - B.output = k; - m.output += B.output; - } - } - if (w.length && t.type !== "paren") { - w[w.length - 1].inner += t.value; - } - if (t.value || t.output) append(t); - if (B && B.type === "text" && t.type === "text") { - B.output = (B.output || B.value) + t.value; - B.value += t.value; - return; - } - t.prev = B; - A.push(t); - B = t; - }; - const extglobOpen = (t, e)=>{ - const n = { - ...E[e], - conditions: 1, - inner: "" - }; - n.prev = B; - n.parens = m.parens; - n.output = m.output; - const o = (u.capture ? "(" : "") + n.open; - increment("parens"); - push({ - type: t, - value: e, - output: m.output ? "" : C - }); - push({ - type: "paren", - extglob: true, - value: M(), - output: o - }); - w.push(n); - }; - const extglobClose = (t)=>{ - let n = t.close + (u.capture ? ")" : ""); - let o; - if (t.type === "negate") { - let s = k; - if (t.inner && t.inner.length > 1 && t.inner.includes("/")) { - s = globstar(u); - } - if (s !== k || eos() || /^\)+$/.test(remaining())) { - n = t.close = `)$))${s}`; - } - if (t.inner.includes("*") && (o = remaining()) && /^\.[^\\/.]+$/.test(o)) { - const u = parse(o, { - ...e, - fastpaths: false - }).output; - n = t.close = `)${u})${s})`; - } - if (t.prev.type === "bos") { - m.negatedExtglob = true; - } - } - push({ - type: "paren", - extglob: true, - value: G, - output: n - }); - decrement("parens"); - }; - if (u.fastpaths !== false && !/(^[*!]|[/()[\]{}"])/.test(t)) { - let n = false; - let s = t.replace(i, (t, e, u, o, s, r)=>{ - if (o === "\\") { - n = true; - return t; - } - if (o === "?") { - if (e) { - return e + o + (s ? H.repeat(s.length) : ""); - } - if (r === 0) { - return O + (s ? H.repeat(s.length) : ""); - } - return H.repeat(u.length); - } - if (o === ".") { - return h.repeat(u.length); - } - if (o === "*") { - if (e) { - return e + o + (s ? k : ""); - } - return k; - } - return e ? t : `\\${t}`; - }); - if (n === true) { - if (u.unescape === true) { - s = s.replace(/\\/g, ""); - } else { - s = s.replace(/\\+/g, (t)=>t.length % 2 === 0 ? "\\\\" : t ? "\\" : ""); - } - } - if (s === t && u.contains === true) { - m.output = t; - return m; - } - m.output = o.wrapOutput(s, m, e); - return m; - } - while(!eos()){ - G = M(); - if (G === "\0") { - continue; - } - if (G === "\\") { - const t = D(); - if (t === "/" && u.bash !== true) { - continue; - } - if (t === "." || t === ";") { - continue; - } - if (!t) { - G += "\\"; - push({ - type: "text", - value: G - }); - continue; - } - const e = /^\\+/.exec(remaining()); - let n = 0; - if (e && e[0].length > 2) { - n = e[0].length; - m.index += n; - if (n % 2 !== 0) { - G += "\\"; - } - } - if (u.unescape === true) { - G = M(); - } else { - G += M(); - } - if (m.brackets === 0) { - push({ - type: "text", - value: G - }); - continue; - } - } - if (m.brackets > 0 && (G !== "]" || B.value === "[" || B.value === "[^")) { - if (u.posix !== false && G === ":") { - const t = B.value.slice(1); - if (t.includes("[")) { - B.posix = true; - if (t.includes(":")) { - const t = B.value.lastIndexOf("["); - const e = B.value.slice(0, t); - const u = B.value.slice(t + 2); - const n = r[u]; - if (n) { - B.value = e + n; - m.backtrack = true; - M(); - if (!f.output && A.indexOf(B) === 1) { - f.output = C; - } - continue; - } - } - } - } - if (G === "[" && D() !== ":" || G === "-" && D() === "]") { - G = `\\${G}`; - } - if (G === "]" && (B.value === "[" || B.value === "[^")) { - G = `\\${G}`; - } - if (u.posix === true && G === "!" && B.value === "[") { - G = "^"; - } - B.value += G; - append({ - value: G - }); - continue; - } - if (m.quotes === 1 && G !== '"') { - G = o.escapeRegex(G); - B.value += G; - append({ - value: G - }); - continue; - } - if (G === '"') { - m.quotes = m.quotes === 1 ? 0 : 1; - if (u.keepQuotes === true) { - push({ - type: "text", - value: G - }); - } - continue; - } - if (G === "(") { - increment("parens"); - push({ - type: "paren", - value: G - }); - continue; - } - if (G === ")") { - if (m.parens === 0 && u.strictBrackets === true) { - throw new SyntaxError(syntaxError("opening", "(")); - } - const t = w[w.length - 1]; - if (t && m.parens === t.parens + 1) { - extglobClose(w.pop()); - continue; - } - push({ - type: "paren", - value: G, - output: m.parens ? ")" : "\\)" - }); - decrement("parens"); - continue; - } - if (G === "[") { - if (u.nobracket === true || !remaining().includes("]")) { - if (u.nobracket !== true && u.strictBrackets === true) { - throw new SyntaxError(syntaxError("closing", "]")); - } - G = `\\${G}`; - } else { - increment("brackets"); - } - push({ - type: "bracket", - value: G - }); - continue; - } - if (G === "]") { - if (u.nobracket === true || B && B.type === "bracket" && B.value.length === 1) { - push({ - type: "text", - value: G, - output: `\\${G}` - }); - continue; - } - if (m.brackets === 0) { - if (u.strictBrackets === true) { - throw new SyntaxError(syntaxError("opening", "[")); - } - push({ - type: "text", - value: G, - output: `\\${G}` - }); - continue; - } - decrement("brackets"); - const t = B.value.slice(1); - if (B.posix !== true && t[0] === "^" && !t.includes("/")) { - G = `/${G}`; - } - B.value += G; - append({ - value: G - }); - if (u.literalBrackets === false || o.hasRegexChars(t)) { - continue; - } - const e = o.escapeRegex(B.value); - m.output = m.output.slice(0, -B.value.length); - if (u.literalBrackets === true) { - m.output += e; - B.value = e; - continue; - } - B.value = `(${_}${e}|${B.value})`; - m.output += B.value; - continue; - } - if (G === "{" && u.nobrace !== true) { - increment("braces"); - const t = { - type: "brace", - value: G, - output: "(", - outputIndex: m.output.length, - tokensIndex: m.tokens.length - }; - N.push(t); - push(t); - continue; - } - if (G === "}") { - const t = N[N.length - 1]; - if (u.nobrace === true || !t) { - push({ - type: "text", - value: G, - output: G - }); - continue; - } - let e = ")"; - if (t.dots === true) { - const t = A.slice(); - const n = []; - for(let e = t.length - 1; e >= 0; e--){ - A.pop(); - if (t[e].type === "brace") { - break; - } - if (t[e].type !== "dots") { - n.unshift(t[e].value); - } - } - e = expandRange(n, u); - m.backtrack = true; - } - if (t.comma !== true && t.dots !== true) { - const u = m.output.slice(0, t.outputIndex); - const n = m.tokens.slice(t.tokensIndex); - t.value = t.output = "\\{"; - G = e = "\\}"; - m.output = u; - for (const t of n){ - m.output += t.output || t.value; - } - } - push({ - type: "brace", - value: G, - output: e - }); - decrement("braces"); - N.pop(); - continue; - } - if (G === "|") { - if (w.length > 0) { - w[w.length - 1].conditions++; - } - push({ - type: "text", - value: G - }); - continue; - } - if (G === ",") { - let t = G; - const e = N[N.length - 1]; - if (e && I[I.length - 1] === "braces") { - e.comma = true; - t = "|"; - } - push({ - type: "comma", - value: G, - output: t - }); - continue; - } - if (G === "/") { - if (B.type === "dot" && m.index === m.start + 1) { - m.start = m.index + 1; - m.consumed = ""; - m.output = ""; - A.pop(); - B = f; - continue; - } - push({ - type: "slash", - value: G, - output: b - }); - continue; - } - if (G === ".") { - if (m.braces > 0 && B.type === "dot") { - if (B.value === ".") B.output = h; - const t = N[N.length - 1]; - B.type = "dots"; - B.output += G; - B.value += G; - t.dots = true; - continue; - } - if (m.braces + m.parens === 0 && B.type !== "bos" && B.type !== "slash") { - push({ - type: "text", - value: G, - output: h - }); - continue; - } - push({ - type: "dot", - value: G, - output: h - }); - continue; - } - if (G === "?") { - const t = B && B.value === "("; - if (!t && u.noextglob !== true && D() === "(" && D(2) !== "?") { - extglobOpen("qmark", G); - continue; - } - if (B && B.type === "paren") { - const t = D(); - let e = G; - if (B.value === "(" && !/[!=<:]/.test(t) || t === "<" && !/<([!=]|\w+>)/.test(remaining())) { - e = `\\${G}`; - } - push({ - type: "text", - value: G, - output: e - }); - continue; - } - if (u.dot !== true && (B.type === "slash" || B.type === "bos")) { - push({ - type: "qmark", - value: G, - output: v - }); - continue; - } - push({ - type: "qmark", - value: G, - output: H - }); - continue; - } - if (G === "!") { - if (u.noextglob !== true && D() === "(") { - if (D(2) !== "?" || !/[!=<:]/.test(D(3))) { - extglobOpen("negate", G); - continue; - } - } - if (u.nonegate !== true && m.index === 0) { - negate(); - continue; - } - } - if (G === "+") { - if (u.noextglob !== true && D() === "(" && D(2) !== "?") { - extglobOpen("plus", G); - continue; - } - if (B && B.value === "(" || u.regex === false) { - push({ - type: "plus", - value: G, - output: g - }); - continue; - } - if (B && (B.type === "bracket" || B.type === "paren" || B.type === "brace") || m.parens > 0) { - push({ - type: "plus", - value: G - }); - continue; - } - push({ - type: "plus", - value: g - }); - continue; - } - if (G === "@") { - if (u.noextglob !== true && D() === "(" && D(2) !== "?") { - push({ - type: "at", - extglob: true, - value: G, - output: "" - }); - continue; - } - push({ - type: "text", - value: G - }); - continue; - } - if (G !== "*") { - if (G === "$" || G === "^") { - G = `\\${G}`; - } - const t = a.exec(remaining()); - if (t) { - G += t[0]; - m.index += t[0].length; - } - push({ - type: "text", - value: G - }); - continue; - } - if (B && (B.type === "globstar" || B.star === true)) { - B.type = "star"; - B.star = true; - B.value += G; - B.output = k; - m.backtrack = true; - m.globstar = true; - consume(G); - continue; - } - let e = remaining(); - if (u.noextglob !== true && /^\([^?]/.test(e)) { - extglobOpen("star", G); - continue; - } - if (B.type === "star") { - if (u.noglobstar === true) { - consume(G); - continue; - } - const n = B.prev; - const o = n.prev; - const s = n.type === "slash" || n.type === "bos"; - const r = o && (o.type === "star" || o.type === "globstar"); - if (u.bash === true && (!s || e[0] && e[0] !== "/")) { - push({ - type: "star", - value: G, - output: "" - }); - continue; - } - const a = m.braces > 0 && (n.type === "comma" || n.type === "brace"); - const i = w.length && (n.type === "pipe" || n.type === "paren"); - if (!s && n.type !== "paren" && !a && !i) { - push({ - type: "star", - value: G, - output: "" - }); - continue; - } - while(e.slice(0, 3) === "/**"){ - const u = t[m.index + 4]; - if (u && u !== "/") { - break; - } - e = e.slice(3); - consume("/**", 3); - } - if (n.type === "bos" && eos()) { - B.type = "globstar"; - B.value += G; - B.output = globstar(u); - m.output = B.output; - m.globstar = true; - consume(G); - continue; - } - if (n.type === "slash" && n.prev.type !== "bos" && !r && eos()) { - m.output = m.output.slice(0, -(n.output + B.output).length); - n.output = `(?:${n.output}`; - B.type = "globstar"; - B.output = globstar(u) + (u.strictSlashes ? ")" : "|$)"); - B.value += G; - m.globstar = true; - m.output += n.output + B.output; - consume(G); - continue; - } - if (n.type === "slash" && n.prev.type !== "bos" && e[0] === "/") { - const t = e[1] !== void 0 ? "|$" : ""; - m.output = m.output.slice(0, -(n.output + B.output).length); - n.output = `(?:${n.output}`; - B.type = "globstar"; - B.output = `${globstar(u)}${b}|${b}${t})`; - B.value += G; - m.output += n.output + B.output; - m.globstar = true; - consume(G + M()); - push({ - type: "slash", - value: "/", - output: "" - }); - continue; - } - if (n.type === "bos" && e[0] === "/") { - B.type = "globstar"; - B.value += G; - B.output = `(?:^|${b}|${globstar(u)}${b})`; - m.output = B.output; - m.globstar = true; - consume(G + M()); - push({ - type: "slash", - value: "/", - output: "" - }); - continue; - } - m.output = m.output.slice(0, -B.output.length); - B.type = "globstar"; - B.output = globstar(u); - B.value += G; - m.output += B.output; - m.globstar = true; - consume(G); - continue; - } - const n = { - type: "star", - value: G, - output: k - }; - if (u.bash === true) { - n.output = ".*?"; - if (B.type === "bos" || B.type === "slash") { - n.output = T + n.output; - } - push(n); - continue; - } - if (B && (B.type === "bracket" || B.type === "paren") && u.regex === true) { - n.output = G; - push(n); - continue; - } - if (m.index === m.start || B.type === "slash" || B.type === "dot") { - if (B.type === "dot") { - m.output += x; - B.output += x; - } else if (u.dot === true) { - m.output += S; - B.output += S; - } else { - m.output += T; - B.output += T; - } - if (D() !== "*") { - m.output += C; - B.output += C; - } - } - push(n); - } - while(m.brackets > 0){ - if (u.strictBrackets === true) throw new SyntaxError(syntaxError("closing", "]")); - m.output = o.escapeLast(m.output, "["); - decrement("brackets"); - } - while(m.parens > 0){ - if (u.strictBrackets === true) throw new SyntaxError(syntaxError("closing", ")")); - m.output = o.escapeLast(m.output, "("); - decrement("parens"); - } - while(m.braces > 0){ - if (u.strictBrackets === true) throw new SyntaxError(syntaxError("closing", "}")); - m.output = o.escapeLast(m.output, "{"); - decrement("braces"); - } - if (u.strictSlashes !== true && (B.type === "star" || B.type === "bracket")) { - push({ - type: "maybe_slash", - value: "", - output: `${b}?` - }); - } - if (m.backtrack === true) { - m.output = ""; - for (const t of m.tokens){ - m.output += t.output != null ? t.output : t.value; - if (t.suffix) { - m.output += t.suffix; - } - } - } - return m; - }; - parse.fastpaths = (t, e)=>{ - const u = { - ...e - }; - const r = typeof u.maxLength === "number" ? Math.min(s, u.maxLength) : s; - const a = t.length; - if (a > r) { - throw new SyntaxError(`Input length: ${a}, exceeds maximum allowed length: ${r}`); - } - t = c[t] || t; - const { DOT_LITERAL: i, SLASH_LITERAL: p, ONE_CHAR: l, DOTS_SLASH: f, NO_DOT: A, NO_DOTS: _, NO_DOTS_SLASH: R, STAR: E, START_ANCHOR: h } = n.globChars(u.windows); - const g = u.dot ? _ : A; - const b = u.dot ? R : A; - const C = u.capture ? "" : "?:"; - const y = { - negated: false, - prefix: "" - }; - let $ = u.bash === true ? ".*?" : E; - if (u.capture) { - $ = `(${$})`; - } - const globstar = (t)=>{ - if (t.noglobstar === true) return $; - return `(${C}(?:(?!${h}${t.dot ? f : i}).)*?)`; - }; - const create = (t)=>{ - switch(t){ - case "*": - return `${g}${l}${$}`; - case ".*": - return `${i}${l}${$}`; - case "*.*": - return `${g}${$}${i}${l}${$}`; - case "*/*": - return `${g}${$}${p}${l}${b}${$}`; - case "**": - return g + globstar(u); - case "**/*": - return `(?:${g}${globstar(u)}${p})?${b}${l}${$}`; - case "**/*.*": - return `(?:${g}${globstar(u)}${p})?${b}${$}${i}${l}${$}`; - case "**/.*": - return `(?:${g}${globstar(u)}${p})?${i}${l}${$}`; - default: - { - const e = /^(.*?)\.(\w+)$/.exec(t); - if (!e) return; - const u = create(e[1]); - if (!u) return; - return u + i + e[2]; - } - } - }; - const x = o.removePrefix(t, y); - let S = create(x); - if (S && u.strictSlashes !== true) { - S += `${p}?`; - } - return S; - }; - t.exports = parse; - }, - 510: (t, e, u)=>{ - const n = u(716); - const o = u(697); - const s = u(96); - const r = u(154); - const isObject = (t)=>t && typeof t === "object" && !Array.isArray(t); - const picomatch = (t, e, u = false)=>{ - if (Array.isArray(t)) { - const n = t.map((t)=>picomatch(t, e, u)); - const arrayMatcher = (t)=>{ - for (const e of n){ - const u = e(t); - if (u) return u; - } - return false; - }; - return arrayMatcher; - } - const n = isObject(t) && t.tokens && t.input; - if (t === "" || typeof t !== "string" && !n) { - throw new TypeError("Expected pattern to be a non-empty string"); - } - const o = e || {}; - const s = o.windows; - const r = n ? picomatch.compileRe(t, e) : picomatch.makeRe(t, e, false, true); - const a = r.state; - delete r.state; - let isIgnored = ()=>false; - if (o.ignore) { - const t = { - ...e, - ignore: null, - onMatch: null, - onResult: null - }; - isIgnored = picomatch(o.ignore, t, u); - } - const matcher = (u, n = false)=>{ - const { isMatch: i, match: c, output: p } = picomatch.test(u, r, e, { - glob: t, - posix: s - }); - const l = { - glob: t, - state: a, - regex: r, - posix: s, - input: u, - output: p, - match: c, - isMatch: i - }; - if (typeof o.onResult === "function") { - o.onResult(l); - } - if (i === false) { - l.isMatch = false; - return n ? l : false; - } - if (isIgnored(u)) { - if (typeof o.onIgnore === "function") { - o.onIgnore(l); - } - l.isMatch = false; - return n ? l : false; - } - if (typeof o.onMatch === "function") { - o.onMatch(l); - } - return n ? l : true; - }; - if (u) { - matcher.state = a; - } - return matcher; - }; - picomatch.test = (t, e, u, { glob: n, posix: o } = {})=>{ - if (typeof t !== "string") { - throw new TypeError("Expected input to be a string"); - } - if (t === "") { - return { - isMatch: false, - output: "" - }; - } - const r = u || {}; - const a = r.format || (o ? s.toPosixSlashes : null); - let i = t === n; - let c = i && a ? a(t) : t; - if (i === false) { - c = a ? a(t) : t; - i = c === n; - } - if (i === false || r.capture === true) { - if (r.matchBase === true || r.basename === true) { - i = picomatch.matchBase(t, e, u, o); - } else { - i = e.exec(c); - } - } - return { - isMatch: Boolean(i), - match: i, - output: c - }; - }; - picomatch.matchBase = (t, e, u)=>{ - const n = e instanceof RegExp ? e : picomatch.makeRe(e, u); - return n.test(s.basename(t)); - }; - picomatch.isMatch = (t, e, u)=>picomatch(e, u)(t); - picomatch.parse = (t, e)=>{ - if (Array.isArray(t)) return t.map((t)=>picomatch.parse(t, e)); - return o(t, { - ...e, - fastpaths: false - }); - }; - picomatch.scan = (t, e)=>n(t, e); - picomatch.compileRe = (t, e, u = false, n = false)=>{ - if (u === true) { - return t.output; - } - const o = e || {}; - const s = o.contains ? "" : "^"; - const r = o.contains ? "" : "$"; - let a = `${s}(?:${t.output})${r}`; - if (t && t.negated === true) { - a = `^(?!${a}).*$`; - } - const i = picomatch.toRegex(a, e); - if (n === true) { - i.state = t; - } - return i; - }; - picomatch.makeRe = (t, e = {}, u = false, n = false)=>{ - if (!t || typeof t !== "string") { - throw new TypeError("Expected a non-empty string"); - } - let s = { - negated: false, - fastpaths: true - }; - if (e.fastpaths !== false && (t[0] === "." || t[0] === "*")) { - s.output = o.fastpaths(t, e); - } - if (!s.output) { - s = o(t, e); - } - return picomatch.compileRe(s, e, u, n); - }; - picomatch.toRegex = (t, e)=>{ - try { - const u = e || {}; - return new RegExp(t, u.flags || (u.nocase ? "i" : "")); - } catch (t) { - if (e && e.debug === true) throw t; - return /$^/; - } - }; - picomatch.constants = r; - t.exports = picomatch; - }, - 716: (t, e, u)=>{ - const n = u(96); - const { CHAR_ASTERISK: o, CHAR_AT: s, CHAR_BACKWARD_SLASH: r, CHAR_COMMA: a, CHAR_DOT: i, CHAR_EXCLAMATION_MARK: c, CHAR_FORWARD_SLASH: p, CHAR_LEFT_CURLY_BRACE: l, CHAR_LEFT_PARENTHESES: f, CHAR_LEFT_SQUARE_BRACKET: A, CHAR_PLUS: _, CHAR_QUESTION_MARK: R, CHAR_RIGHT_CURLY_BRACE: E, CHAR_RIGHT_PARENTHESES: h, CHAR_RIGHT_SQUARE_BRACKET: g } = u(154); - const isPathSeparator = (t)=>t === p || t === r; - const depth = (t)=>{ - if (t.isPrefix !== true) { - t.depth = t.isGlobstar ? Infinity : 1; - } - }; - const scan = (t, e)=>{ - const u = e || {}; - const b = t.length - 1; - const C = u.parts === true || u.scanToEnd === true; - const y = []; - const $ = []; - const x = []; - let S = t; - let H = -1; - let v = 0; - let d = 0; - let L = false; - let T = false; - let O = false; - let k = false; - let m = false; - let w = false; - let N = false; - let I = false; - let B = false; - let G = false; - let D = 0; - let M; - let P; - let K = { - value: "", - depth: 0, - isGlob: false - }; - const eos = ()=>H >= b; - const peek = ()=>S.charCodeAt(H + 1); - const advance = ()=>{ - M = P; - return S.charCodeAt(++H); - }; - while(H < b){ - P = advance(); - let t; - if (P === r) { - N = K.backslashes = true; - P = advance(); - if (P === l) { - w = true; - } - continue; - } - if (w === true || P === l) { - D++; - while(eos() !== true && (P = advance())){ - if (P === r) { - N = K.backslashes = true; - advance(); - continue; - } - if (P === l) { - D++; - continue; - } - if (w !== true && P === i && (P = advance()) === i) { - L = K.isBrace = true; - O = K.isGlob = true; - G = true; - if (C === true) { - continue; - } - break; - } - if (w !== true && P === a) { - L = K.isBrace = true; - O = K.isGlob = true; - G = true; - if (C === true) { - continue; - } - break; - } - if (P === E) { - D--; - if (D === 0) { - w = false; - L = K.isBrace = true; - G = true; - break; - } - } - } - if (C === true) { - continue; - } - break; - } - if (P === p) { - y.push(H); - $.push(K); - K = { - value: "", - depth: 0, - isGlob: false - }; - if (G === true) continue; - if (M === i && H === v + 1) { - v += 2; - continue; - } - d = H + 1; - continue; - } - if (u.noext !== true) { - const t = P === _ || P === s || P === o || P === R || P === c; - if (t === true && peek() === f) { - O = K.isGlob = true; - k = K.isExtglob = true; - G = true; - if (P === c && H === v) { - B = true; - } - if (C === true) { - while(eos() !== true && (P = advance())){ - if (P === r) { - N = K.backslashes = true; - P = advance(); - continue; - } - if (P === h) { - O = K.isGlob = true; - G = true; - break; - } - } - continue; - } - break; - } - } - if (P === o) { - if (M === o) m = K.isGlobstar = true; - O = K.isGlob = true; - G = true; - if (C === true) { - continue; - } - break; - } - if (P === R) { - O = K.isGlob = true; - G = true; - if (C === true) { - continue; - } - break; - } - if (P === A) { - while(eos() !== true && (t = advance())){ - if (t === r) { - N = K.backslashes = true; - advance(); - continue; - } - if (t === g) { - T = K.isBracket = true; - O = K.isGlob = true; - G = true; - break; - } - } - if (C === true) { - continue; - } - break; - } - if (u.nonegate !== true && P === c && H === v) { - I = K.negated = true; - v++; - continue; - } - if (u.noparen !== true && P === f) { - O = K.isGlob = true; - if (C === true) { - while(eos() !== true && (P = advance())){ - if (P === f) { - N = K.backslashes = true; - P = advance(); - continue; - } - if (P === h) { - G = true; - break; - } - } - continue; - } - break; - } - if (O === true) { - G = true; - if (C === true) { - continue; - } - break; - } - } - if (u.noext === true) { - k = false; - O = false; - } - let U = S; - let X = ""; - let F = ""; - if (v > 0) { - X = S.slice(0, v); - S = S.slice(v); - d -= v; - } - if (U && O === true && d > 0) { - U = S.slice(0, d); - F = S.slice(d); - } else if (O === true) { - U = ""; - F = S; - } else { - U = S; - } - if (U && U !== "" && U !== "/" && U !== S) { - if (isPathSeparator(U.charCodeAt(U.length - 1))) { - U = U.slice(0, -1); - } - } - if (u.unescape === true) { - if (F) F = n.removeBackslashes(F); - if (U && N === true) { - U = n.removeBackslashes(U); - } - } - const Q = { - prefix: X, - input: t, - start: v, - base: U, - glob: F, - isBrace: L, - isBracket: T, - isGlob: O, - isExtglob: k, - isGlobstar: m, - negated: I, - negatedExtglob: B - }; - if (u.tokens === true) { - Q.maxDepth = 0; - if (!isPathSeparator(P)) { - $.push(K); - } - Q.tokens = $; - } - if (u.parts === true || u.tokens === true) { - let e; - for(let n = 0; n < y.length; n++){ - const o = e ? e + 1 : v; - const s = y[n]; - const r = t.slice(o, s); - if (u.tokens) { - if (n === 0 && v !== 0) { - $[n].isPrefix = true; - $[n].value = X; - } else { - $[n].value = r; - } - depth($[n]); - Q.maxDepth += $[n].depth; - } - if (n !== 0 || r !== "") { - x.push(r); - } - e = s; - } - if (e && e + 1 < t.length) { - const n = t.slice(e + 1); - x.push(n); - if (u.tokens) { - $[$.length - 1].value = n; - depth($[$.length - 1]); - Q.maxDepth += $[$.length - 1].depth; - } - } - Q.slashes = y; - Q.parts = x; - } - return Q; - }; - t.exports = scan; - }, - 96: (t, e, u)=>{ - const { REGEX_BACKSLASH: n, REGEX_REMOVE_BACKSLASH: o, REGEX_SPECIAL_CHARS: s, REGEX_SPECIAL_CHARS_GLOBAL: r } = u(154); - e.isObject = (t)=>t !== null && typeof t === "object" && !Array.isArray(t); - e.hasRegexChars = (t)=>s.test(t); - e.isRegexChar = (t)=>t.length === 1 && e.hasRegexChars(t); - e.escapeRegex = (t)=>t.replace(r, "\\$1"); - e.toPosixSlashes = (t)=>t.replace(n, "/"); - e.removeBackslashes = (t)=>t.replace(o, (t)=>t === "\\" ? "" : t); - e.escapeLast = (t, u, n)=>{ - const o = t.lastIndexOf(u, n); - if (o === -1) return t; - if (t[o - 1] === "\\") return e.escapeLast(t, u, o - 1); - return `${t.slice(0, o)}\\${t.slice(o)}`; - }; - e.removePrefix = (t, e = {})=>{ - let u = t; - if (u.startsWith("./")) { - u = u.slice(2); - e.prefix = "./"; - } - return u; - }; - e.wrapOutput = (t, e = {}, u = {})=>{ - const n = u.contains ? "" : "^"; - const o = u.contains ? "" : "$"; - let s = `${n}(?:${t})${o}`; - if (e.negated === true) { - s = `(?:^(?!${s}).*$)`; - } - return s; - }; - e.basename = (t, { windows: e } = {})=>{ - const u = t.split(e ? /[\\/]/ : "/"); - const n = u[u.length - 1]; - if (n === "") { - return u[u.length - 2]; - } - return n; - }; - } - }; - var e = {}; - function __nccwpck_require__(u) { - var n = e[u]; - if (n !== undefined) { - return n.exports; - } - var o = e[u] = { - exports: {} - }; - var s = true; - try { - t[u](o, o.exports, __nccwpck_require__); - s = false; - } finally{ - if (s) delete e[u]; - } - return o.exports; - } - if (typeof __nccwpck_require__ !== "undefined") __nccwpck_require__.ab = ("TURBOPACK compile-time value", "/ROOT/node_modules/next/dist/compiled/picomatch") + "/"; - var u = __nccwpck_require__(170); - module.exports = u; -})(); -}), -"[project]/node_modules/next/dist/shared/lib/match-local-pattern.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - hasLocalMatch: null, - matchLocalPattern: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - hasLocalMatch: function() { - return hasLocalMatch; - }, - matchLocalPattern: function() { - return matchLocalPattern; - } -}); -const _picomatch = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/picomatch/index.js [app-client] (ecmascript)"); -function matchLocalPattern(pattern, url) { - if (pattern.search !== undefined) { - if (pattern.search !== url.search) { - return false; - } - } - if (!(0, _picomatch.makeRe)(pattern.pathname ?? '**', { - dot: true - }).test(url.pathname)) { - return false; - } - return true; -} -function hasLocalMatch(localPatterns, urlPathAndQuery) { - if (!localPatterns) { - // if the user didn't define "localPatterns", we allow all local images - return true; - } - const url = new URL(urlPathAndQuery, 'http://n'); - return localPatterns.some((p)=>matchLocalPattern(p, url)); -} //# sourceMappingURL=match-local-pattern.js.map -}), -"[project]/node_modules/next/dist/shared/lib/match-remote-pattern.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - hasRemoteMatch: null, - matchRemotePattern: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - hasRemoteMatch: function() { - return hasRemoteMatch; - }, - matchRemotePattern: function() { - return matchRemotePattern; - } -}); -const _picomatch = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/picomatch/index.js [app-client] (ecmascript)"); -function matchRemotePattern(pattern, url) { - if (pattern.protocol !== undefined) { - if (pattern.protocol.replace(/:$/, '') !== url.protocol.replace(/:$/, '')) { - return false; - } - } - if (pattern.port !== undefined) { - if (pattern.port !== url.port) { - return false; - } - } - if (pattern.hostname === undefined) { - throw Object.defineProperty(new Error(`Pattern should define hostname but found\n${JSON.stringify(pattern)}`), "__NEXT_ERROR_CODE", { - value: "E410", - enumerable: false, - configurable: true - }); - } else { - if (!(0, _picomatch.makeRe)(pattern.hostname).test(url.hostname)) { - return false; - } - } - if (pattern.search !== undefined) { - if (pattern.search !== url.search) { - return false; - } - } - // Should be the same as writeImagesManifest() - if (!(0, _picomatch.makeRe)(pattern.pathname ?? '**', { - dot: true - }).test(url.pathname)) { - return false; - } - return true; -} -function hasRemoteMatch(domains, remotePatterns, url) { - return domains.some((domain)=>url.hostname === domain) || remotePatterns.some((p)=>matchRemotePattern(p, url)); -} //# sourceMappingURL=match-remote-pattern.js.map -}), -"[project]/node_modules/next/dist/shared/lib/image-loader.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "default", { - enumerable: true, - get: function() { - return _default; - } -}); -const _findclosestquality = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/find-closest-quality.js [app-client] (ecmascript)"); -const _deploymentid = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/deployment-id.js [app-client] (ecmascript)"); -function defaultLoader({ config, src, width, quality }) { - if (src.startsWith('/') && src.includes('?') && config.localPatterns?.length === 1 && config.localPatterns[0].pathname === '**' && config.localPatterns[0].search === '') { - throw Object.defineProperty(new Error(`Image with src "${src}" is using a query string which is not configured in images.localPatterns.` + `\nRead more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`), "__NEXT_ERROR_CODE", { - value: "E871", - enumerable: false, - configurable: true - }); - } - if ("TURBOPACK compile-time truthy", 1) { - const missingValues = []; - // these should always be provided but make sure they are - if (!src) missingValues.push('src'); - if (!width) missingValues.push('width'); - if (missingValues.length > 0) { - throw Object.defineProperty(new Error(`Next Image Optimization requires ${missingValues.join(', ')} to be provided. Make sure you pass them as props to the \`next/image\` component. Received: ${JSON.stringify({ - src, - width, - quality - })}`), "__NEXT_ERROR_CODE", { - value: "E188", - enumerable: false, - configurable: true - }); - } - if (src.startsWith('//')) { - throw Object.defineProperty(new Error(`Failed to parse src "${src}" on \`next/image\`, protocol-relative URL (//) must be changed to an absolute URL (http:// or https://)`), "__NEXT_ERROR_CODE", { - value: "E360", - enumerable: false, - configurable: true - }); - } - if (src.startsWith('/') && config.localPatterns) { - if ("TURBOPACK compile-time truthy", 1) { - // We use dynamic require because this should only error in development - const { hasLocalMatch } = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/match-local-pattern.js [app-client] (ecmascript)"); - if (!hasLocalMatch(config.localPatterns, src)) { - throw Object.defineProperty(new Error(`Invalid src prop (${src}) on \`next/image\` does not match \`images.localPatterns\` configured in your \`next.config.js\`\n` + `See more info: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`), "__NEXT_ERROR_CODE", { - value: "E426", - enumerable: false, - configurable: true - }); - } - } - } - if (!src.startsWith('/') && (config.domains || config.remotePatterns)) { - let parsedSrc; - try { - parsedSrc = new URL(src); - } catch (err) { - console.error(err); - throw Object.defineProperty(new Error(`Failed to parse src "${src}" on \`next/image\`, if using relative image it must start with a leading slash "/" or be an absolute URL (http:// or https://)`), "__NEXT_ERROR_CODE", { - value: "E63", - enumerable: false, - configurable: true - }); - } - if ("TURBOPACK compile-time truthy", 1) { - // We use dynamic require because this should only error in development - const { hasRemoteMatch } = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/match-remote-pattern.js [app-client] (ecmascript)"); - if (!hasRemoteMatch(config.domains, config.remotePatterns, parsedSrc)) { - throw Object.defineProperty(new Error(`Invalid src prop (${src}) on \`next/image\`, hostname "${parsedSrc.hostname}" is not configured under images in your \`next.config.js\`\n` + `See more info: https://nextjs.org/docs/messages/next-image-unconfigured-host`), "__NEXT_ERROR_CODE", { - value: "E231", - enumerable: false, - configurable: true - }); - } - } - } - } - const q = (0, _findclosestquality.findClosestQuality)(quality, config); - let deploymentId = (0, _deploymentid.getDeploymentId)(); - return `${config.path}?url=${encodeURIComponent(src)}&w=${width}&q=${q}${src.startsWith('/') && deploymentId ? `&dpl=${deploymentId}` : ''}`; -} -// We use this to determine if the import is the default loader -// or a custom loader defined by the user in next.config.js -defaultLoader.__next_img_default = true; -const _default = defaultLoader; //# sourceMappingURL=image-loader.js.map -}), -"[project]/node_modules/next/dist/client/image-component.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -'use client'; -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "Image", { - enumerable: true, - get: function() { - return Image; - } -}); -const _interop_require_default = __turbopack_context__.r("[project]/node_modules/@swc/helpers/cjs/_interop_require_default.cjs [app-client] (ecmascript)"); -const _interop_require_wildcard = __turbopack_context__.r("[project]/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs [app-client] (ecmascript)"); -const _jsxruntime = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/jsx-runtime.js [app-client] (ecmascript)"); -const _react = /*#__PURE__*/ _interop_require_wildcard._(__turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)")); -const _reactdom = /*#__PURE__*/ _interop_require_default._(__turbopack_context__.r("[project]/node_modules/next/dist/compiled/react-dom/index.js [app-client] (ecmascript)")); -const _head = /*#__PURE__*/ _interop_require_default._(__turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/head.js [app-client] (ecmascript)")); -const _getimgprops = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/get-img-props.js [app-client] (ecmascript)"); -const _imageconfig = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/image-config.js [app-client] (ecmascript)"); -const _imageconfigcontextsharedruntime = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/image-config-context.shared-runtime.js [app-client] (ecmascript)"); -const _warnonce = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/utils/warn-once.js [app-client] (ecmascript)"); -const _routercontextsharedruntime = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/router-context.shared-runtime.js [app-client] (ecmascript)"); -const _imageloader = /*#__PURE__*/ _interop_require_default._(__turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/image-loader.js [app-client] (ecmascript)")); -const _usemergedref = __turbopack_context__.r("[project]/node_modules/next/dist/client/use-merged-ref.js [app-client] (ecmascript)"); -// This is replaced by webpack define plugin -const configEnv = ("TURBOPACK compile-time value", { - "deviceSizes": ("TURBOPACK compile-time value", [ - ("TURBOPACK compile-time value", 640), - ("TURBOPACK compile-time value", 750), - ("TURBOPACK compile-time value", 828), - ("TURBOPACK compile-time value", 1080), - ("TURBOPACK compile-time value", 1200), - ("TURBOPACK compile-time value", 1920), - ("TURBOPACK compile-time value", 2048), - ("TURBOPACK compile-time value", 3840) - ]), - "imageSizes": ("TURBOPACK compile-time value", [ - ("TURBOPACK compile-time value", 32), - ("TURBOPACK compile-time value", 48), - ("TURBOPACK compile-time value", 64), - ("TURBOPACK compile-time value", 96), - ("TURBOPACK compile-time value", 128), - ("TURBOPACK compile-time value", 256), - ("TURBOPACK compile-time value", 384) - ]), - "qualities": ("TURBOPACK compile-time value", [ - ("TURBOPACK compile-time value", 75) - ]), - "path": ("TURBOPACK compile-time value", "/_next/image"), - "loader": ("TURBOPACK compile-time value", "default"), - "dangerouslyAllowSVG": ("TURBOPACK compile-time value", false), - "unoptimized": ("TURBOPACK compile-time value", false), - "domains": ("TURBOPACK compile-time value", []), - "remotePatterns": ("TURBOPACK compile-time value", []), - "localPatterns": ("TURBOPACK compile-time value", [ - ("TURBOPACK compile-time value", { - "pathname": ("TURBOPACK compile-time value", "**"), - "search": ("TURBOPACK compile-time value", "") - }) - ]) -}); -if (typeof window === 'undefined') { - ; - globalThis.__NEXT_IMAGE_IMPORTED = true; -} -// See https://stackoverflow.com/q/39777833/266535 for why we use this ref -// handler instead of the img's onLoad attribute. -function handleLoading(img, placeholder, onLoadRef, onLoadingCompleteRef, setBlurComplete, unoptimized, sizesInput) { - const src = img?.src; - if (!img || img['data-loaded-src'] === src) { - return; - } - img['data-loaded-src'] = src; - const p = 'decode' in img ? img.decode() : Promise.resolve(); - p.catch(()=>{}).then(()=>{ - if (!img.parentElement || !img.isConnected) { - // Exit early in case of race condition: - // - onload() is called - // - decode() is called but incomplete - // - unmount is called - // - decode() completes - return; - } - if (placeholder !== 'empty') { - setBlurComplete(true); - } - if (onLoadRef?.current) { - // Since we don't have the SyntheticEvent here, - // we must create one with the same shape. - // See https://reactjs.org/docs/events.html - const event = new Event('load'); - Object.defineProperty(event, 'target', { - writable: false, - value: img - }); - let prevented = false; - let stopped = false; - onLoadRef.current({ - ...event, - nativeEvent: event, - currentTarget: img, - target: img, - isDefaultPrevented: ()=>prevented, - isPropagationStopped: ()=>stopped, - persist: ()=>{}, - preventDefault: ()=>{ - prevented = true; - event.preventDefault(); - }, - stopPropagation: ()=>{ - stopped = true; - event.stopPropagation(); - } - }); - } - if (onLoadingCompleteRef?.current) { - onLoadingCompleteRef.current(img); - } - if ("TURBOPACK compile-time truthy", 1) { - const origSrc = new URL(src, 'http://n').searchParams.get('url') || src; - if (img.getAttribute('data-nimg') === 'fill') { - if (!unoptimized && (!sizesInput || sizesInput === '100vw')) { - let widthViewportRatio = img.getBoundingClientRect().width / window.innerWidth; - if (widthViewportRatio < 0.6) { - if (sizesInput === '100vw') { - (0, _warnonce.warnOnce)(`Image with src "${origSrc}" has "fill" prop and "sizes" prop of "100vw", but image is not rendered at full viewport width. Please adjust "sizes" to improve page performance. Read more: https://nextjs.org/docs/api-reference/next/image#sizes`); - } else { - (0, _warnonce.warnOnce)(`Image with src "${origSrc}" has "fill" but is missing "sizes" prop. Please add it to improve page performance. Read more: https://nextjs.org/docs/api-reference/next/image#sizes`); - } - } - } - if (img.parentElement) { - const { position } = window.getComputedStyle(img.parentElement); - const valid = [ - 'absolute', - 'fixed', - 'relative' - ]; - if (!valid.includes(position)) { - (0, _warnonce.warnOnce)(`Image with src "${origSrc}" has "fill" and parent element with invalid "position". Provided "${position}" should be one of ${valid.map(String).join(',')}.`); - } - } - if (img.height === 0) { - (0, _warnonce.warnOnce)(`Image with src "${origSrc}" has "fill" and a height value of 0. This is likely because the parent element of the image has not been styled to have a set height.`); - } - } - const heightModified = img.height.toString() !== img.getAttribute('height'); - const widthModified = img.width.toString() !== img.getAttribute('width'); - if (heightModified && !widthModified || !heightModified && widthModified) { - (0, _warnonce.warnOnce)(`Image with src "${origSrc}" has either width or height modified, but not the other. If you use CSS to change the size of your image, also include the styles 'width: "auto"' or 'height: "auto"' to maintain the aspect ratio.`); - } - } - }); -} -function getDynamicProps(fetchPriority) { - if (Boolean(_react.use)) { - // In React 19.0.0 or newer, we must use camelCase - // prop to avoid "Warning: Invalid DOM property". - // See https://github.com/facebook/react/pull/25927 - return { - fetchPriority - }; - } - // In React 18.2.0 or older, we must use lowercase prop - // to avoid "Warning: Invalid DOM property". - return { - fetchpriority: fetchPriority - }; -} -const ImageElement = /*#__PURE__*/ (0, _react.forwardRef)(({ src, srcSet, sizes, height, width, decoding, className, style, fetchPriority, placeholder, loading, unoptimized, fill, onLoadRef, onLoadingCompleteRef, setBlurComplete, setShowAltText, sizesInput, onLoad, onError, ...rest }, forwardedRef)=>{ - const ownRef = (0, _react.useCallback)((img)=>{ - if (!img) { - return; - } - if (onError) { - // If the image has an error before react hydrates, then the error is lost. - // The workaround is to wait until the image is mounted which is after hydration, - // then we set the src again to trigger the error handler (if there was an error). - // eslint-disable-next-line no-self-assign - img.src = img.src; - } - if ("TURBOPACK compile-time truthy", 1) { - if (!src) { - console.error(`Image is missing required "src" property:`, img); - } - if (img.getAttribute('alt') === null) { - console.error(`Image is missing required "alt" property. Please add Alternative Text to describe the image for screen readers and search engines.`); - } - } - if (img.complete) { - handleLoading(img, placeholder, onLoadRef, onLoadingCompleteRef, setBlurComplete, unoptimized, sizesInput); - } - }, [ - src, - placeholder, - onLoadRef, - onLoadingCompleteRef, - setBlurComplete, - onError, - unoptimized, - sizesInput - ]); - const ref = (0, _usemergedref.useMergedRef)(forwardedRef, ownRef); - return /*#__PURE__*/ (0, _jsxruntime.jsx)("img", { - ...rest, - ...getDynamicProps(fetchPriority), - // It's intended to keep `loading` before `src` because React updates - // props in order which causes Safari/Firefox to not lazy load properly. - // See https://github.com/facebook/react/issues/25883 - loading: loading, - width: width, - height: height, - decoding: decoding, - "data-nimg": fill ? 'fill' : '1', - className: className, - style: style, - // It's intended to keep `src` the last attribute because React updates - // attributes in order. If we keep `src` the first one, Safari will - // immediately start to fetch `src`, before `sizes` and `srcSet` are even - // updated by React. That causes multiple unnecessary requests if `srcSet` - // and `sizes` are defined. - // This bug cannot be reproduced in Chrome or Firefox. - sizes: sizes, - srcSet: srcSet, - src: src, - ref: ref, - onLoad: (event)=>{ - const img = event.currentTarget; - handleLoading(img, placeholder, onLoadRef, onLoadingCompleteRef, setBlurComplete, unoptimized, sizesInput); - }, - onError: (event)=>{ - // if the real image fails to load, this will ensure "alt" is visible - setShowAltText(true); - if (placeholder !== 'empty') { - // If the real image fails to load, this will still remove the placeholder. - setBlurComplete(true); - } - if (onError) { - onError(event); - } - } - }); -}); -function ImagePreload({ isAppRouter, imgAttributes }) { - const opts = { - as: 'image', - imageSrcSet: imgAttributes.srcSet, - imageSizes: imgAttributes.sizes, - crossOrigin: imgAttributes.crossOrigin, - referrerPolicy: imgAttributes.referrerPolicy, - ...getDynamicProps(imgAttributes.fetchPriority) - }; - if (isAppRouter && _reactdom.default.preload) { - _reactdom.default.preload(imgAttributes.src, opts); - return null; - } - return /*#__PURE__*/ (0, _jsxruntime.jsx)(_head.default, { - children: /*#__PURE__*/ (0, _jsxruntime.jsx)("link", { - rel: "preload", - // Note how we omit the `href` attribute, as it would only be relevant - // for browsers that do not support `imagesrcset`, and in those cases - // it would cause the incorrect image to be preloaded. - // - // https://html.spec.whatwg.org/multipage/semantics.html#attr-link-imagesrcset - href: imgAttributes.srcSet ? undefined : imgAttributes.src, - ...opts - }, '__nimg-' + imgAttributes.src + imgAttributes.srcSet + imgAttributes.sizes) - }); -} -const Image = /*#__PURE__*/ (0, _react.forwardRef)((props, forwardedRef)=>{ - const pagesRouter = (0, _react.useContext)(_routercontextsharedruntime.RouterContext); - // We're in the app directory if there is no pages router. - const isAppRouter = !pagesRouter; - const configContext = (0, _react.useContext)(_imageconfigcontextsharedruntime.ImageConfigContext); - const config = (0, _react.useMemo)(()=>{ - const c = configEnv || configContext || _imageconfig.imageConfigDefault; - const allSizes = [ - ...c.deviceSizes, - ...c.imageSizes - ].sort((a, b)=>a - b); - const deviceSizes = c.deviceSizes.sort((a, b)=>a - b); - const qualities = c.qualities?.sort((a, b)=>a - b); - return { - ...c, - allSizes, - deviceSizes, - qualities, - // During the SSR, configEnv (__NEXT_IMAGE_OPTS) does not include - // security sensitive configs like `localPatterns`, which is needed - // during the server render to ensure it's validated. Therefore use - // configContext, which holds the config from the server for validation. - localPatterns: typeof window === 'undefined' ? configContext?.localPatterns : c.localPatterns - }; - }, [ - configContext - ]); - const { onLoad, onLoadingComplete } = props; - const onLoadRef = (0, _react.useRef)(onLoad); - (0, _react.useEffect)(()=>{ - onLoadRef.current = onLoad; - }, [ - onLoad - ]); - const onLoadingCompleteRef = (0, _react.useRef)(onLoadingComplete); - (0, _react.useEffect)(()=>{ - onLoadingCompleteRef.current = onLoadingComplete; - }, [ - onLoadingComplete - ]); - const [blurComplete, setBlurComplete] = (0, _react.useState)(false); - const [showAltText, setShowAltText] = (0, _react.useState)(false); - const { props: imgAttributes, meta: imgMeta } = (0, _getimgprops.getImgProps)(props, { - defaultLoader: _imageloader.default, - imgConf: config, - blurComplete, - showAltText - }); - return /*#__PURE__*/ (0, _jsxruntime.jsxs)(_jsxruntime.Fragment, { - children: [ - /*#__PURE__*/ (0, _jsxruntime.jsx)(ImageElement, { - ...imgAttributes, - unoptimized: imgMeta.unoptimized, - placeholder: imgMeta.placeholder, - fill: imgMeta.fill, - onLoadRef: onLoadRef, - onLoadingCompleteRef: onLoadingCompleteRef, - setBlurComplete: setBlurComplete, - setShowAltText: setShowAltText, - sizesInput: props.sizes, - ref: forwardedRef - }), - imgMeta.preload ? /*#__PURE__*/ (0, _jsxruntime.jsx)(ImagePreload, { - isAppRouter: isAppRouter, - imgAttributes: imgAttributes - }) : null - ] - }); -}); -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=image-component.js.map -}), -"[project]/node_modules/next/dist/shared/lib/image-external.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - default: null, - getImageProps: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - default: function() { - return _default; - }, - getImageProps: function() { - return getImageProps; - } -}); -const _interop_require_default = __turbopack_context__.r("[project]/node_modules/@swc/helpers/cjs/_interop_require_default.cjs [app-client] (ecmascript)"); -const _getimgprops = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/get-img-props.js [app-client] (ecmascript)"); -const _imagecomponent = __turbopack_context__.r("[project]/node_modules/next/dist/client/image-component.js [app-client] (ecmascript)"); -const _imageloader = /*#__PURE__*/ _interop_require_default._(__turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/image-loader.js [app-client] (ecmascript)")); -function getImageProps(imgProps) { - const { props } = (0, _getimgprops.getImgProps)(imgProps, { - defaultLoader: _imageloader.default, - // This is replaced by webpack define plugin - imgConf: ("TURBOPACK compile-time value", { - "deviceSizes": ("TURBOPACK compile-time value", [ - ("TURBOPACK compile-time value", 640), - ("TURBOPACK compile-time value", 750), - ("TURBOPACK compile-time value", 828), - ("TURBOPACK compile-time value", 1080), - ("TURBOPACK compile-time value", 1200), - ("TURBOPACK compile-time value", 1920), - ("TURBOPACK compile-time value", 2048), - ("TURBOPACK compile-time value", 3840) - ]), - "imageSizes": ("TURBOPACK compile-time value", [ - ("TURBOPACK compile-time value", 32), - ("TURBOPACK compile-time value", 48), - ("TURBOPACK compile-time value", 64), - ("TURBOPACK compile-time value", 96), - ("TURBOPACK compile-time value", 128), - ("TURBOPACK compile-time value", 256), - ("TURBOPACK compile-time value", 384) - ]), - "qualities": ("TURBOPACK compile-time value", [ - ("TURBOPACK compile-time value", 75) - ]), - "path": ("TURBOPACK compile-time value", "/_next/image"), - "loader": ("TURBOPACK compile-time value", "default"), - "dangerouslyAllowSVG": ("TURBOPACK compile-time value", false), - "unoptimized": ("TURBOPACK compile-time value", false), - "domains": ("TURBOPACK compile-time value", []), - "remotePatterns": ("TURBOPACK compile-time value", []), - "localPatterns": ("TURBOPACK compile-time value", [ - ("TURBOPACK compile-time value", { - "pathname": ("TURBOPACK compile-time value", "**"), - "search": ("TURBOPACK compile-time value", "") - }) - ]) - }) - }); - // Normally we don't care about undefined props because we pass to JSX, - // but this exported function could be used by the end user for anything - // so we delete undefined props to clean it up a little. - for (const [key, value] of Object.entries(props)){ - if (value === undefined) { - delete props[key]; - } - } - return { - props - }; -} -const _default = _imagecomponent.Image; //# sourceMappingURL=image-external.js.map -}), -"[project]/node_modules/next/image.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { - -module.exports = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/image-external.js [app-client] (ecmascript)"); -}), -"[project]/node_modules/fumadocs-core/dist/framework/next.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "NextProvider", - ()=>NextProvider -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$core$2f$dist$2f$framework$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/fumadocs-core/dist/framework/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/jsx-runtime.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$navigation$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/navigation.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$client$2f$app$2d$dir$2f$link$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/client/app-dir/link.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$image$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/image.js [app-client] (ecmascript)"); -'use client'; -; -; -; -; -; -//#region src/framework/next.tsx -function NextProvider({ children, Link: CustomLink, Image: CustomImage }) { - return /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$core$2f$dist$2f$framework$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["FrameworkProvider"], { - usePathname: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$navigation$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["usePathname"], - useRouter: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$navigation$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useRouter"], - useParams: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$navigation$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useParams"], - Link: CustomLink ?? __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$client$2f$app$2d$dir$2f$link$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"], - Image: CustomImage ?? __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$image$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"], - children - }); -} -; - //# sourceMappingURL=next.js.map -}), -"[project]/node_modules/fumadocs-ui/dist/provider/next.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "RootProvider", - ()=>RootProvider -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$ui$2f$dist$2f$provider$2f$base$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/fumadocs-ui/dist/provider/base.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/jsx-runtime.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$core$2f$dist$2f$framework$2f$next$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/fumadocs-core/dist/framework/next.js [app-client] (ecmascript)"); -'use client'; -; -; -; -//#region src/provider/next.tsx -function RootProvider({ components, ...props }) { - return /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$core$2f$dist$2f$framework$2f$next$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["NextProvider"], { - Link: components?.Link, - Image: components?.Image, - children: /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$ui$2f$dist$2f$provider$2f$base$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["RootProvider"], { - ...props, - children: props.children - }) - }); -} -; - //# sourceMappingURL=next.js.map -}), -]); - -//# sourceMappingURL=node_modules_5aecefc7._.js.map \ No newline at end of file diff --git a/.next/dev/static/chunks/node_modules_5aecefc7._.js.map b/.next/dev/static/chunks/node_modules_5aecefc7._.js.map deleted file mode 100644 index 3073969..0000000 --- a/.next/dev/static/chunks/node_modules_5aecefc7._.js.map +++ /dev/null @@ -1,307 +0,0 @@ -{ - "version": 3, - "sources": [], - "sections": [ - {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/dist/compiled/react/cjs/react-jsx-dev-runtime.development.js"],"sourcesContent":["/**\n * @license React\n * react-jsx-dev-runtime.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and 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\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type)\n return type.$$typeof === REACT_CLIENT_REFERENCE\n ? null\n : type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n case REACT_ACTIVITY_TYPE:\n return \"Activity\";\n case REACT_VIEW_TRANSITION_TYPE:\n return \"ViewTransition\";\n }\n if (\"object\" === typeof type)\n switch (\n (\"number\" === typeof type.tag &&\n console.error(\n \"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"\n ),\n type.$$typeof)\n ) {\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_CONTEXT_TYPE:\n return type.displayName || \"Context\";\n case REACT_CONSUMER_TYPE:\n return (type._context.displayName || \"Context\") + \".Consumer\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n }\n function testStringCoercion(value) {\n return \"\" + value;\n }\n function checkKeyStringCoercion(value) {\n try {\n testStringCoercion(value);\n var JSCompiler_inline_result = !1;\n } catch (e) {\n JSCompiler_inline_result = !0;\n }\n if (JSCompiler_inline_result) {\n JSCompiler_inline_result = console;\n var JSCompiler_temp_const = JSCompiler_inline_result.error;\n var JSCompiler_inline_result$jscomp$0 =\n (\"function\" === typeof Symbol &&\n Symbol.toStringTag &&\n value[Symbol.toStringTag]) ||\n value.constructor.name ||\n \"Object\";\n JSCompiler_temp_const.call(\n JSCompiler_inline_result,\n \"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",\n JSCompiler_inline_result$jscomp$0\n );\n return testStringCoercion(value);\n }\n }\n function getTaskName(type) {\n if (type === REACT_FRAGMENT_TYPE) return \"<>\";\n if (\n \"object\" === typeof type &&\n null !== type &&\n type.$$typeof === REACT_LAZY_TYPE\n )\n return \"<...>\";\n try {\n var name = getComponentNameFromType(type);\n return name ? \"<\" + name + \">\" : \"<...>\";\n } catch (x) {\n return \"<...>\";\n }\n }\n function getOwner() {\n var dispatcher = ReactSharedInternals.A;\n return null === dispatcher ? null : dispatcher.getOwner();\n }\n function UnknownOwner() {\n return Error(\"react-stack-top-frame\");\n }\n function hasValidKey(config) {\n if (hasOwnProperty.call(config, \"key\")) {\n var getter = Object.getOwnPropertyDescriptor(config, \"key\").get;\n if (getter && getter.isReactWarning) return !1;\n }\n return void 0 !== config.key;\n }\n function defineKeyPropWarningGetter(props, displayName) {\n function warnAboutAccessingKey() {\n specialPropKeyWarningShown ||\n ((specialPropKeyWarningShown = !0),\n console.error(\n \"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)\",\n displayName\n ));\n }\n warnAboutAccessingKey.isReactWarning = !0;\n Object.defineProperty(props, \"key\", {\n get: warnAboutAccessingKey,\n configurable: !0\n });\n }\n function elementRefGetterWithDeprecationWarning() {\n var componentName = getComponentNameFromType(this.type);\n didWarnAboutElementRef[componentName] ||\n ((didWarnAboutElementRef[componentName] = !0),\n console.error(\n \"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.\"\n ));\n componentName = this.props.ref;\n return void 0 !== componentName ? componentName : null;\n }\n function ReactElement(type, key, props, owner, debugStack, debugTask) {\n var refProp = props.ref;\n type = {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n props: props,\n _owner: owner\n };\n null !== (void 0 !== refProp ? refProp : null)\n ? Object.defineProperty(type, \"ref\", {\n enumerable: !1,\n get: elementRefGetterWithDeprecationWarning\n })\n : Object.defineProperty(type, \"ref\", { enumerable: !1, value: null });\n type._store = {};\n Object.defineProperty(type._store, \"validated\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: 0\n });\n Object.defineProperty(type, \"_debugInfo\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: null\n });\n Object.defineProperty(type, \"_debugStack\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugStack\n });\n Object.defineProperty(type, \"_debugTask\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugTask\n });\n Object.freeze && (Object.freeze(type.props), Object.freeze(type));\n return type;\n }\n function jsxDEVImpl(\n type,\n config,\n maybeKey,\n isStaticChildren,\n debugStack,\n debugTask\n ) {\n var children = config.children;\n if (void 0 !== children)\n if (isStaticChildren)\n if (isArrayImpl(children)) {\n for (\n isStaticChildren = 0;\n isStaticChildren < children.length;\n isStaticChildren++\n )\n validateChildKeys(children[isStaticChildren]);\n Object.freeze && Object.freeze(children);\n } else\n console.error(\n \"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.\"\n );\n else validateChildKeys(children);\n if (hasOwnProperty.call(config, \"key\")) {\n children = getComponentNameFromType(type);\n var keys = Object.keys(config).filter(function (k) {\n return \"key\" !== k;\n });\n isStaticChildren =\n 0 < keys.length\n ? \"{key: someKey, \" + keys.join(\": ..., \") + \": ...}\"\n : \"{key: someKey}\";\n didWarnAboutKeySpread[children + isStaticChildren] ||\n ((keys =\n 0 < keys.length ? \"{\" + keys.join(\": ..., \") + \": ...}\" : \"{}\"),\n console.error(\n 'A props object containing a \"key\" prop is being spread into JSX:\\n let props = %s;\\n <%s {...props} />\\nReact keys must be passed directly to JSX without using spread:\\n let props = %s;\\n <%s key={someKey} {...props} />',\n isStaticChildren,\n children,\n keys,\n children\n ),\n (didWarnAboutKeySpread[children + isStaticChildren] = !0));\n }\n children = null;\n void 0 !== maybeKey &&\n (checkKeyStringCoercion(maybeKey), (children = \"\" + maybeKey));\n hasValidKey(config) &&\n (checkKeyStringCoercion(config.key), (children = \"\" + config.key));\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n children &&\n defineKeyPropWarningGetter(\n maybeKey,\n \"function\" === typeof type\n ? type.displayName || type.name || \"Unknown\"\n : type\n );\n return ReactElement(\n type,\n children,\n maybeKey,\n getOwner(),\n debugStack,\n debugTask\n );\n }\n function validateChildKeys(node) {\n isValidElement(node)\n ? node._store && (node._store.validated = 1)\n : \"object\" === typeof node &&\n null !== node &&\n node.$$typeof === REACT_LAZY_TYPE &&\n (\"fulfilled\" === node._payload.status\n ? isValidElement(node._payload.value) &&\n node._payload.value._store &&\n (node._payload.value._store.validated = 1)\n : node._store && (node._store.validated = 1));\n }\n function isValidElement(object) {\n return (\n \"object\" === typeof object &&\n null !== object &&\n object.$$typeof === REACT_ELEMENT_TYPE\n );\n }\n var React = require(\"next/dist/compiled/react\"),\n REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\"),\n REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n REACT_VIEW_TRANSITION_TYPE = Symbol.for(\"react.view_transition\"),\n REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\"),\n ReactSharedInternals =\n React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n hasOwnProperty = Object.prototype.hasOwnProperty,\n isArrayImpl = Array.isArray,\n createTask = console.createTask\n ? console.createTask\n : function () {\n return null;\n };\n React = {\n react_stack_bottom_frame: function (callStackForError) {\n return callStackForError();\n }\n };\n var specialPropKeyWarningShown;\n var didWarnAboutElementRef = {};\n var unknownOwnerDebugStack = React.react_stack_bottom_frame.bind(\n React,\n UnknownOwner\n )();\n var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));\n var didWarnAboutKeySpread = {};\n exports.Fragment = REACT_FRAGMENT_TYPE;\n exports.jsxDEV = function (type, config, maybeKey, isStaticChildren) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n if (trackActualOwner) {\n var previousStackTraceLimit = Error.stackTraceLimit;\n Error.stackTraceLimit = 10;\n var debugStackDEV = Error(\"react-stack-top-frame\");\n Error.stackTraceLimit = previousStackTraceLimit;\n } else debugStackDEV = unknownOwnerDebugStack;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n isStaticChildren,\n debugStackDEV,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n })();\n"],"names":[],"mappings":"AAWiB;AAXjB;;;;;;;;CAQC,GAED;AACA,oEACE,AAAC;IACC,SAAS,yB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BAAwB,CAAC;IAC7B,QAAQ,QAAQ,GAAG;IACnB,QAAQ,MAAM,GAAG,SAAU,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,gBAAgB;QACjE,IAAI,mBACF,MAAM,qBAAqB,0BAA0B;QACvD,IAAI,kBAAkB;YACpB,IAAI,0BAA0B,MAAM,eAAe;YACnD,MAAM,eAAe,GAAG;YACxB,IAAI,gBAAgB,MAAM;YAC1B,MAAM,eAAe,GAAG;QAC1B,OAAO,gBAAgB;QACvB,OAAO,WACL,MACA,QACA,UACA,kBACA,eACA,mBAAmB,WAAW,YAAY,SAAS;IAEvD;AACF","ignoreList":[0]}}, - {"offset": {"line": 220, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/dist/compiled/react/jsx-dev-runtime.js"],"sourcesContent":["'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-dev-runtime.production.js');\n} else {\n module.exports = require('./cjs/react-jsx-dev-runtime.development.js');\n}\n"],"names":[],"mappings":"AAEI;AAFJ;AAEA;;KAEO;IACL,OAAO,OAAO;AAChB","ignoreList":[0]}}, - {"offset": {"line": 231, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/@tabler/icons-react/dist/esm/defaultAttributes.mjs","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40tabler/icons-react/src/defaultAttributes.ts"],"sourcesContent":["export default {\n outline: {\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 strokeWidth: 2,\n strokeLinecap: 'round',\n strokeLinejoin: 'round',\n },\n filled: {\n xmlns: 'http://www.w3.org/2000/svg',\n width: 24,\n height: 24,\n viewBox: '0 0 24 24',\n fill: 'currentColor',\n stroke: 'none',\n },\n};\n"],"names":[],"mappings":";;;;;;;;;IAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA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AAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QACP,CAAA,CAAA,CAAA,CAAA,CAAA,EAAO,CAAA,CAAA;QACP,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAQ,CAAA,CAAA;QACR,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QACT,CAAA,CAAA,CAAA,CAAA,EAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QACN,MAAA,CAAA,CAAQ,CAAA,CAAA,CAAA,CAAA,CAAA;IAAA;AAEZ,CAAA"}}, - {"offset": {"line": 267, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/@tabler/icons-react/dist/esm/createReactComponent.mjs","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40tabler/icons-react/src/createReactComponent.ts"],"sourcesContent":["import { forwardRef, createElement } from 'react';\nimport defaultAttributes from './defaultAttributes';\nimport type { IconNode, IconProps, Icon } from './types';\n\nconst createReactComponent = (\n type: 'outline' | 'filled',\n iconName: string,\n iconNamePascal: string,\n iconNode: IconNode,\n) => {\n const Component = forwardRef<SVGSVGElement, IconProps>(\n (\n { color = 'currentColor', size = 24, stroke = 2, title, className, children, ...rest }: IconProps,\n ref,\n ) =>\n createElement(\n 'svg',\n {\n ref,\n ...defaultAttributes[type],\n width: size,\n height: size,\n className: [`tabler-icon`, `tabler-icon-${iconName}`, className].join(' '),\n ...(type === 'filled'\n ? {\n fill: color,\n }\n : {\n strokeWidth: stroke,\n stroke: color,\n }),\n ...rest,\n },\n [\n title && createElement('title', { key: 'svg-title' }, title),\n ...iconNode.map(([tag, attrs]) => createElement(tag, attrs)),\n ...(Array.isArray(children) ? children : [children]),\n ],\n ),\n );\n\n Component.displayName = `${iconNamePascal}`;\n\n return Component;\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icons-react/dist/esm/icons/IconBrandGithub.mjs","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40tabler/icons-react/src/icons/IconBrandGithub.ts"],"sourcesContent":["import createReactComponent from '../createReactComponent';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [[\"path\",{\"d\":\"M9 19c-4.3 1.4 -4.3 -2.5 -6 -3m12 5v-3.5c0 -1 .1 -1.4 -.5 -2c2.8 -.3 5.5 -1.4 5.5 -6a4.6 4.6 0 0 0 -1.3 -3.2a4.2 4.2 0 0 0 -.1 -3.2s-1.1 -.3 -3.5 1.3a12.3 12.3 0 0 0 -6.2 0c-2.4 -1.6 -3.5 -1.3 -3.5 -1.3a4.2 4.2 0 0 0 -.1 3.2a4.6 4.6 0 0 0 -1.3 3.2c0 4.6 2.7 5.7 5.5 6c-.6 .6 -.6 1.2 -.5 2v3.5\",\"key\":\"svg-0\"}]]\n\nconst IconBrandGithub = createReactComponent('outline', 'brand-github', 'BrandGithub', __iconNode);\n\nexport default IconBrandGithub;"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAuB;IAAC;QAAC,MAAA,CAAA;QAAO,CAAA;YAAC,CAAA,CAAA,GAAI,sSAAA,CAAA;YAAuS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAQ;KAAC;CAAA;AAExW,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,KAAkB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,6KAAA,EAAqB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAW,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAgB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,GAAe,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}, - {"offset": {"line": 354, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/@tabler/icons-react/dist/esm/icons/IconSun.mjs","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40tabler/icons-react/src/icons/IconSun.ts"],"sourcesContent":["import createReactComponent from '../createReactComponent';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [[\"path\",{\"d\":\"M8 12a4 4 0 1 0 8 0a4 4 0 1 0 -8 0\",\"key\":\"svg-0\"}],[\"path\",{\"d\":\"M3 12h1m8 -9v1m8 8h1m-9 8v1m-6.4 -15.4l.7 .7m12.1 -.7l-.7 .7m0 11.4l.7 .7m-12.1 -.7l-.7 .7\",\"key\":\"svg-1\"}]]\n\nconst IconSun = createReactComponent('outline', 'sun', 'Sun', __iconNode);\n\nexport default IconSun;"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,IAAuB;IAAC;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA;QAAO,CAAA;YAAC,CAAA,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,C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A,CAAA,CAAA,CAAO,CAAA,CAAA,CAAA,CAAA,GAAO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}, - {"offset": {"line": 399, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/context/LayoutGroupContext.mjs"],"sourcesContent":["\"use client\";\nimport { createContext } from 'react';\n\nconst LayoutGroupContext = createContext({});\n\nexport { LayoutGroupContext };\n"],"names":[],"mappings":";;;;AACA;AADA;;AAGA,MAAM,qBAAqB,IAAA,8KAAa,EAAC,CAAC","ignoreList":[0]}}, - {"offset": {"line": 412, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/utils/use-constant.mjs"],"sourcesContent":["\"use client\";\nimport { useRef } from 'react';\n\n/**\n * Creates a constant value over the lifecycle of a component.\n *\n * Even if `useMemo` is provided an empty array as its final argument, it doesn't offer\n * a guarantee that it won't re-run for performance reasons later on. By using `useConstant`\n * you can ensure that initialisers don't execute twice or more.\n */\nfunction useConstant(init) {\n const ref = useRef(null);\n if (ref.current === null) {\n ref.current = init();\n }\n return ref.current;\n}\n\nexport { useConstant };\n"],"names":[],"mappings":";;;;AACA;AADA;;AAGA;;;;;;CAMC,GACD,SAAS,YAAY,IAAI;IACrB,MAAM,MAAM,IAAA,uKAAM,EAAC;IACnB,IAAI,IAAI,OAAO,KAAK,MAAM;QACtB,IAAI,OAAO,GAAG;IAClB;IACA,OAAO,IAAI,OAAO;AACtB","ignoreList":[0]}}, - {"offset": {"line": 437, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/utils/is-browser.mjs"],"sourcesContent":["const isBrowser = typeof window !== \"undefined\";\n\nexport { isBrowser };\n"],"names":[],"mappings":";;;;AAAA,MAAM,YAAY,OAAO,WAAW","ignoreList":[0]}}, - {"offset": {"line": 447, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs"],"sourcesContent":["\"use client\";\nimport { useLayoutEffect, useEffect } from 'react';\nimport { isBrowser } from './is-browser.mjs';\n\nconst useIsomorphicLayoutEffect = isBrowser ? useLayoutEffect : useEffect;\n\nexport { useIsomorphicLayoutEffect };\n"],"names":[],"mappings":";;;;AACA;AACA;AAFA;;;AAIA,MAAM,4BAA4B,yLAAS,GAAG,gLAAe,GAAG,0KAAS","ignoreList":[0]}}, - {"offset": {"line": 462, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/context/PresenceContext.mjs"],"sourcesContent":["\"use client\";\nimport { createContext } from 'react';\n\n/**\n * @public\n */\nconst PresenceContext = \n/* @__PURE__ */ createContext(null);\n\nexport { PresenceContext };\n"],"names":[],"mappings":";;;;AACA;AADA;;AAGA;;CAEC,GACD,MAAM,kBACN,aAAa,GAAG,IAAA,8KAAa,EAAC","ignoreList":[0]}}, - {"offset": {"line": 477, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-utils/dist/es/is-object.mjs"],"sourcesContent":["function isObject(value) {\n return typeof value === \"object\" && value !== null;\n}\n\nexport { isObject };\n"],"names":[],"mappings":";;;;AAAA,SAAS,SAAS,KAAK;IACnB,OAAO,OAAO,UAAU,YAAY,UAAU;AAClD","ignoreList":[0]}}, - {"offset": {"line": 489, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/utils/is-html-element.mjs"],"sourcesContent":["import { isObject } from 'motion-utils';\n\n/**\n * Checks if an element is an HTML element in a way\n * that works across iframes\n */\nfunction isHTMLElement(element) {\n return isObject(element) && \"offsetHeight\" in element;\n}\n\nexport { isHTMLElement };\n"],"names":[],"mappings":";;;;AAAA;;AAEA;;;CAGC,GACD,SAAS,cAAc,OAAO;IAC1B,OAAO,IAAA,6KAAQ,EAAC,YAAY,kBAAkB;AAClD","ignoreList":[0]}}, - {"offset": {"line": 506, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs"],"sourcesContent":["\"use client\";\nimport { createContext } from 'react';\n\n/**\n * @public\n */\nconst MotionConfigContext = createContext({\n transformPagePoint: (p) => p,\n isStatic: false,\n reducedMotion: \"never\",\n});\n\nexport { MotionConfigContext };\n"],"names":[],"mappings":";;;;AACA;AADA;;AAGA;;CAEC,GACD,MAAM,sBAAsB,IAAA,8KAAa,EAAC;IACtC,oBAAoB,CAAC,IAAM;IAC3B,UAAU;IACV,eAAe;AACnB","ignoreList":[0]}}, - {"offset": {"line": 525, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/utils/use-composed-ref.mjs"],"sourcesContent":["import * as React from 'react';\n\n/**\n * Taken from https://github.com/radix-ui/primitives/blob/main/packages/react/compose-refs/src/compose-refs.tsx\n */\n/**\n * Set a given ref to a given value\n * This utility takes care of different types of refs: callback refs and RefObject(s)\n */\nfunction setRef(ref, value) {\n if (typeof ref === \"function\") {\n return ref(value);\n }\n else if (ref !== null && ref !== undefined) {\n ref.current = value;\n }\n}\n/**\n * A utility to compose multiple refs together\n * Accepts callback refs and RefObject(s)\n */\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 // React <19 will log an error to the console if a callback ref returns a\n // value. We don't use ref cleanups internally so this will only happen if a\n // user's ref callback returns a value, which we only expect if they are\n // using the cleanup functionality added in React 19.\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 }\n else {\n setRef(refs[i], null);\n }\n }\n };\n }\n };\n}\n/**\n * A custom hook that composes multiple refs\n * Accepts callback refs and RefObject(s)\n */\nfunction useComposedRefs(...refs) {\n // eslint-disable-next-line react-hooks/exhaustive-deps\n return React.useCallback(composeRefs(...refs), refs);\n}\n\nexport { useComposedRefs };\n"],"names":[],"mappings":";;;;AAAA;;AAEA;;CAEC,GACD;;;CAGC,GACD,SAAS,OAAO,GAAG,EAAE,KAAK;IACtB,IAAI,OAAO,QAAQ,YAAY;QAC3B,OAAO,IAAI;IACf,OACK,IAAI,QAAQ,QAAQ,QAAQ,WAAW;QACxC,IAAI,OAAO,GAAG;IAClB;AACJ;AACA;;;CAGC,GACD,SAAS,YAAY,GAAG,IAAI;IACxB,OAAO,CAAC;QACJ,IAAI,aAAa;QACjB,MAAM,WAAW,KAAK,GAAG,CAAC,CAAC;YACvB,MAAM,UAAU,OAAO,KAAK;YAC5B,IAAI,CAAC,cAAc,OAAO,YAAY,YAAY;gBAC9C,aAAa;YACjB;YACA,OAAO;QACX;QACA,yEAAyE;QACzE,4EAA4E;QAC5E,wEAAwE;QACxE,qDAAqD;QACrD,IAAI,YAAY;YACZ,OAAO;gBACH,IAAK,IAAI,IAAI,GAAG,IAAI,SAAS,MAAM,EAAE,IAAK;oBACtC,MAAM,UAAU,QAAQ,CAAC,EAAE;oBAC3B,IAAI,OAAO,YAAY,YAAY;wBAC/B;oBACJ,OACK;wBACD,OAAO,IAAI,CAAC,EAAE,EAAE;oBACpB;gBACJ;YACJ;QACJ;IACJ;AACJ;AACA;;;CAGC,GACD,SAAS,gBAAgB,GAAG,IAAI;IAC5B,uDAAuD;IACvD,OAAO,4KAAiB,CAAC,eAAe,OAAO;AACnD","ignoreList":[0]}}, - {"offset": {"line": 586, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs"],"sourcesContent":["\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport { isHTMLElement } from 'motion-dom';\nimport * as React from 'react';\nimport { useId, useRef, useContext, useInsertionEffect } from 'react';\nimport { MotionConfigContext } from '../../context/MotionConfigContext.mjs';\nimport { useComposedRefs } from '../../utils/use-composed-ref.mjs';\n\n/**\n * Measurement functionality has to be within a separate component\n * to leverage snapshot lifecycle.\n */\nclass PopChildMeasure extends React.Component {\n getSnapshotBeforeUpdate(prevProps) {\n const element = this.props.childRef.current;\n if (element && prevProps.isPresent && !this.props.isPresent) {\n const parent = element.offsetParent;\n const parentWidth = isHTMLElement(parent)\n ? parent.offsetWidth || 0\n : 0;\n const size = this.props.sizeRef.current;\n size.height = element.offsetHeight || 0;\n size.width = element.offsetWidth || 0;\n size.top = element.offsetTop;\n size.left = element.offsetLeft;\n size.right = parentWidth - size.width - size.left;\n }\n return null;\n }\n /**\n * Required with getSnapshotBeforeUpdate to stop React complaining.\n */\n componentDidUpdate() { }\n render() {\n return this.props.children;\n }\n}\nfunction PopChild({ children, isPresent, anchorX, root }) {\n const id = useId();\n const ref = useRef(null);\n const size = useRef({\n width: 0,\n height: 0,\n top: 0,\n left: 0,\n right: 0,\n });\n const { nonce } = useContext(MotionConfigContext);\n const composedRef = useComposedRefs(ref, children?.ref);\n /**\n * We create and inject a style block so we can apply this explicit\n * sizing in a non-destructive manner by just deleting the style block.\n *\n * We can't apply size via render as the measurement happens\n * in getSnapshotBeforeUpdate (post-render), likewise if we apply the\n * styles directly on the DOM node, we might be overwriting\n * styles set via the style prop.\n */\n useInsertionEffect(() => {\n const { width, height, top, left, right } = size.current;\n if (isPresent || !ref.current || !width || !height)\n return;\n const x = anchorX === \"left\" ? `left: ${left}` : `right: ${right}`;\n ref.current.dataset.motionPopId = id;\n const style = document.createElement(\"style\");\n if (nonce)\n style.nonce = nonce;\n const parent = root ?? document.head;\n parent.appendChild(style);\n if (style.sheet) {\n style.sheet.insertRule(`\n [data-motion-pop-id=\"${id}\"] {\n position: absolute !important;\n width: ${width}px !important;\n height: ${height}px !important;\n ${x}px !important;\n top: ${top}px !important;\n }\n `);\n }\n return () => {\n if (parent.contains(style)) {\n parent.removeChild(style);\n }\n };\n }, [isPresent]);\n return (jsx(PopChildMeasure, { isPresent: isPresent, childRef: ref, sizeRef: size, children: React.cloneElement(children, { ref: composedRef }) }));\n}\n\nexport { PopChild };\n"],"names":[],"mappings":";;;;AACA;AACA;AACA;AAEA;AACA;AANA;;;;;;;AAQA;;;CAGC,GACD,MAAM,wBAAwB,0KAAe;IACzC,wBAAwB,SAAS,EAAE;QAC/B,MAAM,UAAU,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO;QAC3C,IAAI,WAAW,UAAU,SAAS,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,SAAS,EAAE;YACzD,MAAM,SAAS,QAAQ,YAAY;YACnC,MAAM,cAAc,IAAA,kMAAa,EAAC,UAC5B,OAAO,WAAW,IAAI,IACtB;YACN,MAAM,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO;YACvC,KAAK,MAAM,GAAG,QAAQ,YAAY,IAAI;YACtC,KAAK,KAAK,GAAG,QAAQ,WAAW,IAAI;YACpC,KAAK,GAAG,GAAG,QAAQ,SAAS;YAC5B,KAAK,IAAI,GAAG,QAAQ,UAAU;YAC9B,KAAK,KAAK,GAAG,cAAc,KAAK,KAAK,GAAG,KAAK,IAAI;QACrD;QACA,OAAO;IACX;IACA;;KAEC,GACD,qBAAqB,CAAE;IACvB,SAAS;QACL,OAAO,IAAI,CAAC,KAAK,CAAC,QAAQ;IAC9B;AACJ;AACA,SAAS,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE;IACpD,MAAM,KAAK,IAAA,sKAAK;IAChB,MAAM,MAAM,IAAA,uKAAM,EAAC;IACnB,MAAM,OAAO,IAAA,uKAAM,EAAC;QAChB,OAAO;QACP,QAAQ;QACR,KAAK;QACL,MAAM;QACN,OAAO;IACX;IACA,MAAM,EAAE,KAAK,EAAE,GAAG,IAAA,2KAAU,EAAC,2MAAmB;IAChD,MAAM,cAAc,IAAA,wMAAe,EAAC,KAAK,UAAU;IACnD;;;;;;;;KAQC,GACD,IAAA,mLAAkB;uCAAC;YACf,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,KAAK,OAAO;YACxD,IAAI,aAAa,CAAC,IAAI,OAAO,IAAI,CAAC,SAAS,CAAC,QACxC;YACJ,MAAM,IAAI,YAAY,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,CAAC,OAAO,EAAE,OAAO;YAClE,IAAI,OAAO,CAAC,OAAO,CAAC,WAAW,GAAG;YAClC,MAAM,QAAQ,SAAS,aAAa,CAAC;YACrC,IAAI,OACA,MAAM,KAAK,GAAG;YAClB,MAAM,SAAS,QAAQ,SAAS,IAAI;YACpC,OAAO,WAAW,CAAC;YACnB,IAAI,MAAM,KAAK,EAAE;gBACb,MAAM,KAAK,CAAC,UAAU,CAAC,CAAC;+BACL,EAAE,GAAG;;mBAEjB,EAAE,MAAM;oBACP,EAAE,OAAO;YACjB,EAAE,EAAE;iBACC,EAAE,IAAI;;QAEf,CAAC;YACD;YACA;+CAAO;oBACH,IAAI,OAAO,QAAQ,CAAC,QAAQ;wBACxB,OAAO,WAAW,CAAC;oBACvB;gBACJ;;QACJ;sCAAG;QAAC;KAAU;IACd,OAAQ,IAAA,6KAAG,EAAC,iBAAiB;QAAE,WAAW;QAAW,UAAU;QAAK,SAAS;QAAM,UAAU,6KAAkB,CAAC,UAAU;YAAE,KAAK;QAAY;IAAG;AACpJ","ignoreList":[0]}}, - {"offset": {"line": 693, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs"],"sourcesContent":["\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport * as React from 'react';\nimport { useId, useMemo } from 'react';\nimport { PresenceContext } from '../../context/PresenceContext.mjs';\nimport { useConstant } from '../../utils/use-constant.mjs';\nimport { PopChild } from './PopChild.mjs';\n\nconst PresenceChild = ({ children, initial, isPresent, onExitComplete, custom, presenceAffectsLayout, mode, anchorX, root }) => {\n const presenceChildren = useConstant(newChildrenMap);\n const id = useId();\n let isReusedContext = true;\n let context = useMemo(() => {\n isReusedContext = false;\n return {\n id,\n initial,\n isPresent,\n custom,\n onExitComplete: (childId) => {\n presenceChildren.set(childId, true);\n for (const isComplete of presenceChildren.values()) {\n if (!isComplete)\n return; // can stop searching when any is incomplete\n }\n onExitComplete && onExitComplete();\n },\n register: (childId) => {\n presenceChildren.set(childId, false);\n return () => presenceChildren.delete(childId);\n },\n };\n }, [isPresent, presenceChildren, onExitComplete]);\n /**\n * If the presence of a child affects the layout of the components around it,\n * we want to make a new context value to ensure they get re-rendered\n * so they can detect that layout change.\n */\n if (presenceAffectsLayout && isReusedContext) {\n context = { ...context };\n }\n useMemo(() => {\n presenceChildren.forEach((_, key) => presenceChildren.set(key, false));\n }, [isPresent]);\n /**\n * If there's no `motion` components to fire exit animations, we want to remove this\n * component immediately.\n */\n React.useEffect(() => {\n !isPresent &&\n !presenceChildren.size &&\n onExitComplete &&\n onExitComplete();\n }, [isPresent]);\n if (mode === \"popLayout\") {\n children = (jsx(PopChild, { isPresent: isPresent, anchorX: anchorX, root: root, children: children }));\n }\n return (jsx(PresenceContext.Provider, { value: context, children: children }));\n};\nfunction newChildrenMap() {\n return new Map();\n}\n\nexport { PresenceChild };\n"],"names":[],"mappings":";;;;AACA;AACA;AAEA;AACA;AACA;AANA;;;;;;;AAQA,MAAM,gBAAgB,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,EAAE,qBAAqB,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE;IACvH,MAAM,mBAAmB,IAAA,6LAAW,EAAC;IACrC,MAAM,KAAK,IAAA,sKAAK;IAChB,IAAI,kBAAkB;IACtB,IAAI,UAAU,IAAA,wKAAO;0CAAC;YAClB,kBAAkB;YAClB,OAAO;gBACH;gBACA;gBACA;gBACA;gBACA,cAAc;sDAAE,CAAC;wBACb,iBAAiB,GAAG,CAAC,SAAS;wBAC9B,KAAK,MAAM,cAAc,iBAAiB,MAAM,GAAI;4BAChD,IAAI,CAAC,YACD,QAAQ,4CAA4C;wBAC5D;wBACA,kBAAkB;oBACtB;;gBACA,QAAQ;sDAAE,CAAC;wBACP,iBAAiB,GAAG,CAAC,SAAS;wBAC9B;8DAAO,IAAM,iBAAiB,MAAM,CAAC;;oBACzC;;YACJ;QACJ;yCAAG;QAAC;QAAW;QAAkB;KAAe;IAChD;;;;KAIC,GACD,IAAI,yBAAyB,iBAAiB;QAC1C,UAAU;YAAE,GAAG,OAAO;QAAC;IAC3B;IACA,IAAA,wKAAO;iCAAC;YACJ,iBAAiB,OAAO;yCAAC,CAAC,GAAG,MAAQ,iBAAiB,GAAG,CAAC,KAAK;;QACnE;gCAAG;QAAC;KAAU;IACd;;;KAGC,GACD,0KAAe;mCAAC;YACZ,CAAC,aACG,CAAC,iBAAiB,IAAI,IACtB,kBACA;QACR;kCAAG;QAAC;KAAU;IACd,IAAI,SAAS,aAAa;QACtB,WAAY,IAAA,6KAAG,EAAC,2MAAQ,EAAE;YAAE,WAAW;YAAW,SAAS;YAAS,MAAM;YAAM,UAAU;QAAS;IACvG;IACA,OAAQ,IAAA,6KAAG,EAAC,mMAAe,CAAC,QAAQ,EAAE;QAAE,OAAO;QAAS,UAAU;IAAS;AAC/E;AACA,SAAS;IACL,OAAO,IAAI;AACf","ignoreList":[0]}}, - {"offset": {"line": 794, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs"],"sourcesContent":["\"use client\";\nimport { useContext, useId, useEffect, useCallback } from 'react';\nimport { PresenceContext } from '../../context/PresenceContext.mjs';\n\n/**\n * When a component is the child of `AnimatePresence`, it can use `usePresence`\n * to access information about whether it's still present in the React tree.\n *\n * ```jsx\n * import { usePresence } from \"framer-motion\"\n *\n * export const Component = () => {\n * const [isPresent, safeToRemove] = usePresence()\n *\n * useEffect(() => {\n * !isPresent && setTimeout(safeToRemove, 1000)\n * }, [isPresent])\n *\n * return <div />\n * }\n * ```\n *\n * If `isPresent` is `false`, it means that a component has been removed the tree, but\n * `AnimatePresence` won't really remove it until `safeToRemove` has been called.\n *\n * @public\n */\nfunction usePresence(subscribe = true) {\n const context = useContext(PresenceContext);\n if (context === null)\n return [true, null];\n const { isPresent, onExitComplete, register } = context;\n // It's safe to call the following hooks conditionally (after an early return) because the context will always\n // either be null or non-null for the lifespan of the component.\n const id = useId();\n useEffect(() => {\n if (subscribe) {\n return register(id);\n }\n }, [subscribe]);\n const safeToRemove = useCallback(() => subscribe && onExitComplete && onExitComplete(id), [id, onExitComplete, subscribe]);\n return !isPresent && onExitComplete ? [false, safeToRemove] : [true];\n}\n/**\n * Similar to `usePresence`, except `useIsPresent` simply returns whether or not the component is present.\n * There is no `safeToRemove` function.\n *\n * ```jsx\n * import { useIsPresent } from \"framer-motion\"\n *\n * export const Component = () => {\n * const isPresent = useIsPresent()\n *\n * useEffect(() => {\n * !isPresent && console.log(\"I've been removed!\")\n * }, [isPresent])\n *\n * return <div />\n * }\n * ```\n *\n * @public\n */\nfunction useIsPresent() {\n return isPresent(useContext(PresenceContext));\n}\nfunction isPresent(context) {\n return context === null ? true : context.isPresent;\n}\n\nexport { isPresent, useIsPresent, usePresence };\n"],"names":[],"mappings":";;;;;;;;AACA;AACA;AAFA;;;AAIA;;;;;;;;;;;;;;;;;;;;;;CAsBC,GACD,SAAS,YAAY,YAAY,IAAI;IACjC,MAAM,UAAU,IAAA,2KAAU,EAAC,mMAAe;IAC1C,IAAI,YAAY,MACZ,OAAO;QAAC;QAAM;KAAK;IACvB,MAAM,EAAE,SAAS,EAAE,cAAc,EAAE,QAAQ,EAAE,GAAG;IAChD,8GAA8G;IAC9G,gEAAgE;IAChE,MAAM,KAAK,IAAA,sKAAK;IAChB,IAAA,0KAAS;iCAAC;YACN,IAAI,WAAW;gBACX,OAAO,SAAS;YACpB;QACJ;gCAAG;QAAC;KAAU;IACd,MAAM,eAAe,IAAA,4KAAW;iDAAC,IAAM,aAAa,kBAAkB,eAAe;gDAAK;QAAC;QAAI;QAAgB;KAAU;IACzH,OAAO,CAAC,aAAa,iBAAiB;QAAC;QAAO;KAAa,GAAG;QAAC;KAAK;AACxE;AACA;;;;;;;;;;;;;;;;;;;CAmBC,GACD,SAAS;IACL,OAAO,UAAU,IAAA,2KAAU,EAAC,mMAAe;AAC/C;AACA,SAAS,UAAU,OAAO;IACtB,OAAO,YAAY,OAAO,OAAO,QAAQ,SAAS;AACtD","ignoreList":[0]}}, - {"offset": {"line": 892, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.mjs"],"sourcesContent":["import { Children, isValidElement } from 'react';\n\nconst getChildKey = (child) => child.key || \"\";\nfunction onlyElements(children) {\n const filtered = [];\n // We use forEach here instead of map as map mutates the component key by preprending `.$`\n Children.forEach(children, (child) => {\n if (isValidElement(child))\n filtered.push(child);\n });\n return filtered;\n}\n\nexport { getChildKey, onlyElements };\n"],"names":[],"mappings":";;;;;;AAAA;;AAEA,MAAM,cAAc,CAAC,QAAU,MAAM,GAAG,IAAI;AAC5C,SAAS,aAAa,QAAQ;IAC1B,MAAM,WAAW,EAAE;IACnB,0FAA0F;IAC1F,yKAAQ,CAAC,OAAO,CAAC,UAAU,CAAC;QACxB,IAAI,IAAA,+KAAc,EAAC,QACf,SAAS,IAAI,CAAC;IACtB;IACA,OAAO;AACX","ignoreList":[0]}}, - {"offset": {"line": 914, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs"],"sourcesContent":["\"use client\";\nimport { jsx, Fragment } from 'react/jsx-runtime';\nimport { useMemo, useRef, useState, useContext } from 'react';\nimport { LayoutGroupContext } from '../../context/LayoutGroupContext.mjs';\nimport { useConstant } from '../../utils/use-constant.mjs';\nimport { useIsomorphicLayoutEffect } from '../../utils/use-isomorphic-effect.mjs';\nimport { PresenceChild } from './PresenceChild.mjs';\nimport { usePresence } from './use-presence.mjs';\nimport { onlyElements, getChildKey } from './utils.mjs';\n\n/**\n * `AnimatePresence` enables the animation of components that have been removed from the tree.\n *\n * When adding/removing more than a single child, every child **must** be given a unique `key` prop.\n *\n * Any `motion` components that have an `exit` property defined will animate out when removed from\n * the tree.\n *\n * ```jsx\n * import { motion, AnimatePresence } from 'framer-motion'\n *\n * export const Items = ({ items }) => (\n * <AnimatePresence>\n * {items.map(item => (\n * <motion.div\n * key={item.id}\n * initial={{ opacity: 0 }}\n * animate={{ opacity: 1 }}\n * exit={{ opacity: 0 }}\n * />\n * ))}\n * </AnimatePresence>\n * )\n * ```\n *\n * You can sequence exit animations throughout a tree using variants.\n *\n * If a child contains multiple `motion` components with `exit` props, it will only unmount the child\n * once all `motion` components have finished animating out. Likewise, any components using\n * `usePresence` all need to call `safeToRemove`.\n *\n * @public\n */\nconst AnimatePresence = ({ children, custom, initial = true, onExitComplete, presenceAffectsLayout = true, mode = \"sync\", propagate = false, anchorX = \"left\", root }) => {\n const [isParentPresent, safeToRemove] = usePresence(propagate);\n /**\n * Filter any children that aren't ReactElements. We can only track components\n * between renders with a props.key.\n */\n const presentChildren = useMemo(() => onlyElements(children), [children]);\n /**\n * Track the keys of the currently rendered children. This is used to\n * determine which children are exiting.\n */\n const presentKeys = propagate && !isParentPresent ? [] : presentChildren.map(getChildKey);\n /**\n * If `initial={false}` we only want to pass this to components in the first render.\n */\n const isInitialRender = useRef(true);\n /**\n * A ref containing the currently present children. When all exit animations\n * are complete, we use this to re-render the component with the latest children\n * *committed* rather than the latest children *rendered*.\n */\n const pendingPresentChildren = useRef(presentChildren);\n /**\n * Track which exiting children have finished animating out.\n */\n const exitComplete = useConstant(() => new Map());\n /**\n * Save children to render as React state. To ensure this component is concurrent-safe,\n * we check for exiting children via an effect.\n */\n const [diffedChildren, setDiffedChildren] = useState(presentChildren);\n const [renderedChildren, setRenderedChildren] = useState(presentChildren);\n useIsomorphicLayoutEffect(() => {\n isInitialRender.current = false;\n pendingPresentChildren.current = presentChildren;\n /**\n * Update complete status of exiting children.\n */\n for (let i = 0; i < renderedChildren.length; i++) {\n const key = getChildKey(renderedChildren[i]);\n if (!presentKeys.includes(key)) {\n if (exitComplete.get(key) !== true) {\n exitComplete.set(key, false);\n }\n }\n else {\n exitComplete.delete(key);\n }\n }\n }, [renderedChildren, presentKeys.length, presentKeys.join(\"-\")]);\n const exitingChildren = [];\n if (presentChildren !== diffedChildren) {\n let nextChildren = [...presentChildren];\n /**\n * Loop through all the currently rendered components and decide which\n * are exiting.\n */\n for (let i = 0; i < renderedChildren.length; i++) {\n const child = renderedChildren[i];\n const key = getChildKey(child);\n if (!presentKeys.includes(key)) {\n nextChildren.splice(i, 0, child);\n exitingChildren.push(child);\n }\n }\n /**\n * If we're in \"wait\" mode, and we have exiting children, we want to\n * only render these until they've all exited.\n */\n if (mode === \"wait\" && exitingChildren.length) {\n nextChildren = exitingChildren;\n }\n setRenderedChildren(onlyElements(nextChildren));\n setDiffedChildren(presentChildren);\n /**\n * Early return to ensure once we've set state with the latest diffed\n * children, we can immediately re-render.\n */\n return null;\n }\n if (process.env.NODE_ENV !== \"production\" &&\n mode === \"wait\" &&\n renderedChildren.length > 1) {\n console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to \"wait\". This will lead to odd visual behaviour.`);\n }\n /**\n * If we've been provided a forceRender function by the LayoutGroupContext,\n * we can use it to force a re-render amongst all surrounding components once\n * all components have finished animating out.\n */\n const { forceRender } = useContext(LayoutGroupContext);\n return (jsx(Fragment, { children: renderedChildren.map((child) => {\n const key = getChildKey(child);\n const isPresent = propagate && !isParentPresent\n ? false\n : presentChildren === renderedChildren ||\n presentKeys.includes(key);\n const onExit = () => {\n if (exitComplete.has(key)) {\n exitComplete.set(key, true);\n }\n else {\n return;\n }\n let isEveryExitComplete = true;\n exitComplete.forEach((isExitComplete) => {\n if (!isExitComplete)\n isEveryExitComplete = false;\n });\n if (isEveryExitComplete) {\n forceRender?.();\n setRenderedChildren(pendingPresentChildren.current);\n propagate && safeToRemove?.();\n onExitComplete && onExitComplete();\n }\n };\n return (jsx(PresenceChild, { isPresent: isPresent, initial: !isInitialRender.current || initial\n ? undefined\n : false, custom: custom, presenceAffectsLayout: presenceAffectsLayout, mode: mode, root: root, onExitComplete: isPresent ? undefined : onExit, anchorX: anchorX, children: child }, key));\n }) }));\n};\n\nexport { AnimatePresence };\n"],"names":[],"mappings":";;;;AA2HQ;AA1HR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AARA;;;;;;;;;AAUA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCC,GACD,MAAM,kBAAkB,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,UAAU,IAAI,EAAE,cAAc,EAAE,wBAAwB,IAAI,EAAE,OAAO,MAAM,EAAE,YAAY,KAAK,EAAE,UAAU,MAAM,EAAE,IAAI,EAAE;IACjK,MAAM,CAAC,iBAAiB,aAAa,GAAG,IAAA,qNAAW,EAAC;IACpD;;;KAGC,GACD,MAAM,kBAAkB,IAAA,wKAAO;oDAAC,IAAM,IAAA,4MAAY,EAAC;mDAAW;QAAC;KAAS;IACxE;;;KAGC,GACD,MAAM,cAAc,aAAa,CAAC,kBAAkB,EAAE,GAAG,gBAAgB,GAAG,CAAC,2MAAW;IACxF;;KAEC,GACD,MAAM,kBAAkB,IAAA,uKAAM,EAAC;IAC/B;;;;KAIC,GACD,MAAM,yBAAyB,IAAA,uKAAM,EAAC;IACtC;;KAEC,GACD,MAAM,eAAe,IAAA,6LAAW;qDAAC,IAAM,IAAI;;IAC3C;;;KAGC,GACD,MAAM,CAAC,gBAAgB,kBAAkB,GAAG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AAA,2KAAU,EAAC,yMAAkB;IACrD,OAAQ,IAAA,6KAAG,EAAC,kLAAQ,EAAE;QAAE,UAAU,iBAAiB,GAAG,CAAC,CAAC;YAChD,MAAM,MAAM,IAAA,2MAAW,EAAC;YACxB,MAAM,YAAY,aAAa,CAAC,kBAC1B,QACA,oBAAoB,oBAClB,YAAY,QAAQ,CAAC;YAC7B,MAAM,SAAS;gBACX,IAAI,aAAa,GAAG,CAAC,MAAM;oBACvB,aAAa,GAAG,CAAC,KAAK;gBAC1B,OACK;oBACD;gBACJ;gBACA,IAAI,sBAAsB;gBAC1B,aAAa,OAAO,CAAC,CAAC;oBAClB,IAAI,CAAC,gBACD,sBAAsB;gBAC9B;gBACA,IAAI,qBAAqB;oBACrB;oBACA,oBAAoB,uBAAuB,OAAO;oBAClD,aAAa;oBACb,kBAAkB;gBACtB;YACJ;YACA,OAAQ,IAAA,6KAAG,EAAC,qNAAa,EAAE;gBAAE,WAAW;gBAAW,SAAS,CAAC,gBAAgB,OAAO,IAAI,UAC9E,YACA;gBAAO,QAAQ;gBAAQ,uBAAuB;gBAAuB,MAAM;gBAAM,MAAM;gBAAM,gBAAgB,YAAY,YAAY;gBAAQ,SAAS;gBAAS,UAAU;YAAM,GAAG;QAChM;IAAG;AACX","ignoreList":[0]}}, - {"offset": {"line": 1099, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/render/utils/keys-transform.mjs"],"sourcesContent":["/**\n * Generate a list of every possible transform key.\n */\nconst transformPropOrder = [\n \"transformPerspective\",\n \"x\",\n \"y\",\n \"z\",\n \"translateX\",\n \"translateY\",\n \"translateZ\",\n \"scale\",\n \"scaleX\",\n \"scaleY\",\n \"rotate\",\n \"rotateX\",\n \"rotateY\",\n \"rotateZ\",\n \"skew\",\n \"skewX\",\n \"skewY\",\n];\n/**\n * A quick lookup for transform props.\n */\nconst transformProps = /*@__PURE__*/ (() => new Set(transformPropOrder))();\n\nexport { transformPropOrder, transformProps };\n"],"names":[],"mappings":";;;;;;AAAA;;CAEC,GACD,MAAM,qBAAqB;IACvB;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;CACH;AACD;;CAEC,GACD,MAAM,iBAAiB,WAAW,GAAG,CAAC,IAAM,IAAI,IAAI,mBAAmB","ignoreList":[0]}}, - {"offset": {"line": 1134, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/render/dom/parse-transform.mjs"],"sourcesContent":["const radToDeg = (rad) => (rad * 180) / Math.PI;\nconst rotate = (v) => {\n const angle = radToDeg(Math.atan2(v[1], v[0]));\n return rebaseAngle(angle);\n};\nconst matrix2dParsers = {\n x: 4,\n y: 5,\n translateX: 4,\n translateY: 5,\n scaleX: 0,\n scaleY: 3,\n scale: (v) => (Math.abs(v[0]) + Math.abs(v[3])) / 2,\n rotate,\n rotateZ: rotate,\n skewX: (v) => radToDeg(Math.atan(v[1])),\n skewY: (v) => radToDeg(Math.atan(v[2])),\n skew: (v) => (Math.abs(v[1]) + Math.abs(v[2])) / 2,\n};\nconst rebaseAngle = (angle) => {\n angle = angle % 360;\n if (angle < 0)\n angle += 360;\n return angle;\n};\nconst rotateZ = rotate;\nconst scaleX = (v) => Math.sqrt(v[0] * v[0] + v[1] * v[1]);\nconst scaleY = (v) => Math.sqrt(v[4] * v[4] + v[5] * v[5]);\nconst matrix3dParsers = {\n x: 12,\n y: 13,\n z: 14,\n translateX: 12,\n translateY: 13,\n translateZ: 14,\n scaleX,\n scaleY,\n scale: (v) => (scaleX(v) + scaleY(v)) / 2,\n rotateX: (v) => rebaseAngle(radToDeg(Math.atan2(v[6], v[5]))),\n rotateY: (v) => rebaseAngle(radToDeg(Math.atan2(-v[2], v[0]))),\n rotateZ,\n rotate: rotateZ,\n skewX: (v) => radToDeg(Math.atan(v[4])),\n skewY: (v) => radToDeg(Math.atan(v[1])),\n skew: (v) => (Math.abs(v[1]) + Math.abs(v[4])) / 2,\n};\nfunction defaultTransformValue(name) {\n return name.includes(\"scale\") ? 1 : 0;\n}\nfunction parseValueFromTransform(transform, name) {\n if (!transform || transform === \"none\") {\n return defaultTransformValue(name);\n }\n const matrix3dMatch = transform.match(/^matrix3d\\(([-\\d.e\\s,]+)\\)$/u);\n let parsers;\n let match;\n if (matrix3dMatch) {\n parsers = matrix3dParsers;\n match = matrix3dMatch;\n }\n else {\n const matrix2dMatch = transform.match(/^matrix\\(([-\\d.e\\s,]+)\\)$/u);\n parsers = matrix2dParsers;\n match = matrix2dMatch;\n }\n if (!match) {\n return defaultTransformValue(name);\n }\n const valueParser = parsers[name];\n const values = match[1].split(\",\").map(convertTransformToNumber);\n return typeof valueParser === \"function\"\n ? valueParser(values)\n : values[valueParser];\n}\nconst readTransformValue = (instance, name) => {\n const { transform = \"none\" } = getComputedStyle(instance);\n return parseValueFromTransform(transform, name);\n};\nfunction convertTransformToNumber(value) {\n return parseFloat(value.trim());\n}\n\nexport { defaultTransformValue, parseValueFromTransform, readTransformValue };\n"],"names":[],"mappings":";;;;;;;;AAAA,MAAM,WAAW,CAAC,MAAQ,AAAC,MAAM,MAAO,KAAK,EAAE;AAC/C,MAAM,SAAS,CAAC;IACZ,MAAM,QAAQ,SAAS,KAAK,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE;IAC5C,OAAO,YAAY;AACvB;AACA,MAAM,kBAAkB;IACpB,GAAG;IACH,GAAG;IACH,YAAY;IACZ,YAAY;IACZ,QAAQ;IACR,QAAQ;IACR,OAAO,CAAC,IAAM,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,EAAE,IAAI,KAAK,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI;IAClD;IACA,SAAS;IACT,OAAO,CAAC,IAAM,SAAS,KAAK,IAAI,CAAC,CAAC,CAAC,EAAE;IACrC,OAAO,CAAC,IAAM,SAAS,KAAK,IAAI,CA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AI;AACxC;AACA,SAAS,wBAAwB,SAAS,EAAE,IAAI;IAC5C,IAAI,CAAC,aAAa,cAAc,QAAQ;QACpC,OAAO,sBAAsB;IACjC;IACA,MAAM,gBAAgB,UAAU,KAAK,CAAC;IACtC,IAAI;IACJ,IAAI;IACJ,IAAI,eAAe;QACf,UAAU;QACV,QAAQ;IACZ,OACK;QACD,MAAM,gBAAgB,UAAU,KAAK,CAAC;QACtC,UAAU;QACV,QAAQ;IACZ;IACA,IAAI,CAAC,OAAO;QACR,OAAO,sBAAsB;IACjC;IACA,MAAM,cAAc,OAAO,CAAC,KAAK;IACjC,MAAM,SAAS,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,GAAG,CAAC;IACvC,OAAO,OAAO,gBAAgB,aACxB,YAAY,UACZ,MAAM,CAAC,YAAY;AAC7B;AACA,MAAM,qBAAqB,CAAC,UAAU;IAClC,MAAM,EAAE,YAAY,MAAM,EAAE,GAAG,iBAAiB;IAChD,OAAO,wBAAwB,WAAW;AAC9C;AACA,SAAS,yBAAyB,KAAK;IACnC,OAAO,WAAW,MAAM,IAAI;AAChC","ignoreList":[0]}}, - {"offset": {"line": 1224, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.mjs"],"sourcesContent":["const checkStringStartsWith = (token) => (key) => typeof key === \"string\" && key.startsWith(token);\nconst isCSSVariableName = \n/*@__PURE__*/ checkStringStartsWith(\"--\");\nconst startsAsVariableToken = \n/*@__PURE__*/ checkStringStartsWith(\"var(--\");\nconst isCSSVariableToken = (value) => {\n const startsWithToken = startsAsVariableToken(value);\n if (!startsWithToken)\n return false;\n // Ensure any comments are stripped from the value as this can harm performance of the regex.\n return singleCssVariableRegex.test(value.split(\"/*\")[0].trim());\n};\nconst singleCssVariableRegex = /var\\(--(?:[\\w-]+\\s*|[\\w-]+\\s*,(?:\\s*[^)(\\s]|\\s*\\((?:[^)(]|\\([^)(]*\\))*\\))+\\s*)\\)$/iu;\n\nexport { isCSSVariableName, isCSSVariableToken };\n"],"names":[],"mappings":";;;;;;AAAA,MAAM,wBAAwB,CAAC,QAAU,CAAC,MAAQ,OAAO,QAAQ,YAAY,IAAI,UAAU,CAAC;AAC5F,MAAM,oBACN,WAAW,GAAG,sBAAsB;AACpC,MAAM,wBACN,WAAW,GAAG,sBAAsB;AACpC,MAAM,qBAAqB,CAAC;IACxB,MAAM,kBAAkB,sBAAsB;IAC9C,IAAI,CAAC,iBACD,OAAO;IACX,6FAA6F;IAC7F,OAAO,uBAAuB,IAAI,CAAC,MAAM,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,IAAI;AAChE;AACA,MAAM,yBAAyB","ignoreList":[0]}}, - {"offset": {"line": 1245, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/projection/geometry/conversion.mjs"],"sourcesContent":["/**\n * Bounding boxes tend to be defined as top, left, right, bottom. For various operations\n * it's easier to consider each axis individually. This function returns a bounding box\n * as a map of single-axis min/max values.\n */\nfunction convertBoundingBoxToBox({ top, left, right, bottom, }) {\n return {\n x: { min: left, max: right },\n y: { min: top, max: bottom },\n };\n}\nfunction convertBoxToBoundingBox({ x, y }) {\n return { top: y.min, right: x.max, bottom: y.max, left: x.min };\n}\n/**\n * Applies a TransformPoint function to a bounding box. TransformPoint is usually a function\n * provided by Framer to allow measured points to be corrected for device scaling. This is used\n * when measuring DOM elements and DOM event points.\n */\nfunction transformBoxPoints(point, transformPoint) {\n if (!transformPoint)\n return point;\n const topLeft = transformPoint({ x: point.left, y: point.top });\n const bottomRight = transformPoint({ x: point.right, y: point.bottom });\n return {\n top: topLeft.y,\n left: topLeft.x,\n bottom: bottomRight.y,\n right: bottomRight.x,\n };\n}\n\nexport { convertBoundingBoxToBox, convertBoxToBoundingBox, transformBoxPoints };\n"],"names":[],"mappings":";;;;;;;;AAAA;;;;CAIC,GACD,SAAS,wBAAwB,EAAE,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAG;IAC1D,OAAO;QACH,GAAG;YAAE,KAAK;YAAM,KAAK;QAAM;QAC3B,GAAG;YAAE,KAAK;YAAK,KAAK;QAAO;IAC/B;AACJ;AACA,SAAS,wBAAwB,EAAE,CAAC,EAAE,CAAC,EAAE;IACrC,OAAO;QAAE,KAAK,EAAE,GAAG;QAAE,OAAO,EAAE,GAAG;QAAE,QAAQ,EAAE,GAAG;QAAE,MAAM,EAAE,GAAG;IAAC;AAClE;AACA;;;;CAIC,GACD,SAAS,mBAAmB,KAAK,EAAE,cAAc;IAC7C,IAAI,CAAC,gBACD,OAAO;IACX,MAAM,UAAU,eAAe;QAAE,GAAG,MAAM,IAAI;QAAE,GAAG,MAAM,GAAG;IAAC;IAC7D,MAAM,cAAc,eAAe;QAAE,GAAG,MAAM,KAAK;QAAE,GAAG,MAAM,MAAM;IAAC;IACrE,OAAO;QACH,KAAK,QAAQ,CAAC;QACd,MAAM,QAAQ,CAAC;QACf,QAAQ,YAAY,CAAC;QACrB,OAAO,YAAY,CAAC;IACxB;AACJ","ignoreList":[0]}}, - {"offset": {"line": 1303, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/utils/mix/number.mjs"],"sourcesContent":["/*\n Value in range from progress\n\n Given a lower limit and an upper limit, we return the value within\n that range as expressed by progress (usually a number from 0 to 1)\n\n So progress = 0.5 would change\n\n from -------- to\n\n to\n\n from ---- to\n\n E.g. from = 10, to = 20, progress = 0.5 => 15\n\n @param [number]: Lower limit of range\n @param [number]: Upper limit of range\n @param [number]: The progress between lower and upper limits expressed 0-1\n @return [number]: Value as calculated from progress within range (not limited within range)\n*/\nconst mixNumber = (from, to, progress) => {\n return from + (to - from) * progress;\n};\n\nexport { mixNumber };\n"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;;;;;;;AAoBA,GACA,MAAM,YAAY,CAAC,MAAM,IAAI;IACzB,OAAO,OAAO,CAAC,KAAK,IAAI,IAAI;AAChC","ignoreList":[0]}}, - {"offset": {"line": 1335, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/projection/utils/has-transform.mjs"],"sourcesContent":["function isIdentityScale(scale) {\n return scale === undefined || scale === 1;\n}\nfunction hasScale({ scale, scaleX, scaleY }) {\n return (!isIdentityScale(scale) ||\n !isIdentityScale(scaleX) ||\n !isIdentityScale(scaleY));\n}\nfunction hasTransform(values) {\n return (hasScale(values) ||\n has2DTranslate(values) ||\n values.z ||\n values.rotate ||\n values.rotateX ||\n values.rotateY ||\n values.skewX ||\n values.skewY);\n}\nfunction has2DTranslate(values) {\n return is2DTranslate(values.x) || is2DTranslate(values.y);\n}\nfunction is2DTranslate(value) {\n return value && value !== \"0%\";\n}\n\nexport { has2DTranslate, hasScale, hasTransform };\n"],"names":[],"mappings":";;;;;;;;AAAA,SAAS,gBAAgB,KAAK;IAC1B,OAAO,UAAU,aAAa,UAAU;AAC5C;AACA,SAAS,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE;IACvC,OAAQ,CAAC,gBAAgB,UACrB,CAAC,gBAAgB,WACjB,CAAC,gBAAgB;AACzB;AACA,SAAS,aAAa,MAAM;IACxB,OAAQ,SAAS,WACb,eAAe,WACf,OAAO,CAAC,IACR,OAAO,MAAM,IACb,OAAO,OAAO,IACd,OAAO,OAAO,IACd,OAAO,KAAK,IACZ,OAAO,KAAK;AACpB;AACA,SAAS,eAAe,MAAM;IAC1B,OAAO,cAAc,OAAO,CAAC,KAAK,cAAc,OAAO,CAAC;AAC5D;AACA,SAAS,cAAc,KAAK;IACxB,OAAO,SAAS,UAAU;AAC9B","ignoreList":[0]}}, - {"offset": {"line": 1363, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.mjs"],"sourcesContent":["import { mixNumber } from 'motion-dom';\nimport { hasTransform } from '../utils/has-transform.mjs';\n\n/**\n * Scales a point based on a factor and an originPoint\n */\nfunction scalePoint(point, scale, originPoint) {\n const distanceFromOrigin = point - originPoint;\n const scaled = scale * distanceFromOrigin;\n return originPoint + scaled;\n}\n/**\n * Applies a translate/scale delta to a point\n */\nfunction applyPointDelta(point, translate, scale, originPoint, boxScale) {\n if (boxScale !== undefined) {\n point = scalePoint(point, boxScale, originPoint);\n }\n return scalePoint(point, scale, originPoint) + translate;\n}\n/**\n * Applies a translate/scale delta to an axis\n */\nfunction applyAxisDelta(axis, translate = 0, scale = 1, originPoint, boxScale) {\n axis.min = applyPointDelta(axis.min, translate, scale, originPoint, boxScale);\n axis.max = applyPointDelta(axis.max, translate, scale, originPoint, boxScale);\n}\n/**\n * Applies a translate/scale delta to a box\n */\nfunction applyBoxDelta(box, { x, y }) {\n applyAxisDelta(box.x, x.translate, x.scale, x.originPoint);\n applyAxisDelta(box.y, y.translate, y.scale, y.originPoint);\n}\nconst TREE_SCALE_SNAP_MIN = 0.999999999999;\nconst TREE_SCALE_SNAP_MAX = 1.0000000000001;\n/**\n * Apply a tree of deltas to a box. We do this to calculate the effect of all the transforms\n * in a tree upon our box before then calculating how to project it into our desired viewport-relative box\n *\n * This is the final nested loop within updateLayoutDelta for future refactoring\n */\nfunction applyTreeDeltas(box, treeScale, treePath, isSharedTransition = false) {\n const treeLength = treePath.length;\n if (!treeLength)\n return;\n // Reset the treeScale\n treeScale.x = treeScale.y = 1;\n let node;\n let delta;\n for (let i = 0; i < treeLength; i++) {\n node = treePath[i];\n delta = node.projectionDelta;\n /**\n * TODO: Prefer to remove this, but currently we have motion components with\n * display: contents in Framer.\n */\n const { visualElement } = node.options;\n if (visualElement &&\n visualElement.props.style &&\n visualElement.props.style.display === \"contents\") {\n continue;\n }\n if (isSharedTransition &&\n node.options.layoutScroll &&\n node.scroll &&\n node !== node.root) {\n transformBox(box, {\n x: -node.scroll.offset.x,\n y: -node.scroll.offset.y,\n });\n }\n if (delta) {\n // Incoporate each ancestor's scale into a culmulative treeScale for this component\n treeScale.x *= delta.x.scale;\n treeScale.y *= delta.y.scale;\n // Apply each ancestor's calculated delta into this component's recorded layout box\n applyBoxDelta(box, delta);\n }\n if (isSharedTransition && hasTransform(node.latestValues)) {\n transformBox(box, node.latestValues);\n }\n }\n /**\n * Snap tree scale back to 1 if it's within a non-perceivable threshold.\n * This will help reduce useless scales getting rendered.\n */\n if (treeScale.x < TREE_SCALE_SNAP_MAX &&\n treeScale.x > TREE_SCALE_SNAP_MIN) {\n treeScale.x = 1.0;\n }\n if (treeScale.y < TREE_SCALE_SNAP_MAX &&\n treeScale.y > TREE_SCALE_SNAP_MIN) {\n treeScale.y = 1.0;\n }\n}\nfunction translateAxis(axis, distance) {\n axis.min = axis.min + distance;\n axis.max = axis.max + distance;\n}\n/**\n * Apply a transform to an axis from the latest resolved motion values.\n * This function basically acts as a bridge between a flat motion value map\n * and applyAxisDelta\n */\nfunction transformAxis(axis, axisTranslate, axisScale, boxScale, axisOrigin = 0.5) {\n const originPoint = mixNumber(axis.min, axis.max, axisOrigin);\n // Apply the axis delta to the final axis\n applyAxisDelta(axis, axisTranslate, axisScale, originPoint, boxScale);\n}\n/**\n * Apply a transform to a box from the latest resolved motion values.\n */\nfunction transformBox(box, transform) {\n transformAxis(box.x, transform.x, transform.scaleX, transform.scale, transform.originX);\n transformAxis(box.y, transform.y, transform.scaleY, transform.scale, transform.originY);\n}\n\nexport { applyAxisDelta, applyBoxDelta, applyPointDelta, applyTreeDeltas, scalePoint, transformAxis, transformBox, translateAxis };\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AACA;;;AAEA;;CAEC,GACD,SAAS,WAAW,KAAK,EAAE,KAAK,EAAE,WAAW;IACzC,MAAM,qBAAqB,QAAQ;IACnC,MAAM,SAAS,QAAQ;IACvB,OAAO,cAAc;AACzB;AACA;;CAEC,GACD,SAAS,gBAAgB,KAAK,EAAE,SAAS,EAAE,K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{"line": 1487, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/projection/utils/measure.mjs"],"sourcesContent":["import { convertBoundingBoxToBox, transformBoxPoints } from '../geometry/conversion.mjs';\nimport { translateAxis } from '../geometry/delta-apply.mjs';\n\nfunction measureViewportBox(instance, transformPoint) {\n return convertBoundingBoxToBox(transformBoxPoints(instance.getBoundingClientRect(), transformPoint));\n}\nfunction measurePageBox(element, rootProjectionNode, transformPagePoint) {\n const viewportBox = measureViewportBox(element, transformPagePoint);\n const { scroll } = rootProjectionNode;\n if (scroll) {\n translateAxis(viewportBox.x, scroll.offset.x);\n translateAxis(viewportBox.y, scroll.offset.y);\n }\n return viewportBox;\n}\n\nexport { measurePageBox, measureViewportBox };\n"],"names":[],"mappings":";;;;;;AAAA;AACA;;;AAEA,SAAS,mBAAmB,QAAQ,EAAE,cAAc;IAChD,OAAO,IAAA,qNAAuB,EAAC,IAAA,gNAAkB,EAAC,SAAS,qBAAqB,IAAI;AACxF;AACA,SAAS,eAAe,OAAO,EAAE,kBAAkB,EAAE,kBAAkB;IACnE,MAAM,cAAc,mBAAmB,SAAS;IAChD,MAAM,EAAE,MAAM,EAAE,GAAG;IACnB,IAAI,QAAQ;QACR,IAAA,+MAAa,EAAC,YAAY,CAAC,EAAE,OAAO,MAAM,CAAC,CAAC;QAC5C,IAAA,+MAAa,EAAC,YAAY,CAAC,EAAE,OAAO,MAAM,CAAC,CAAC;IAChD;IACA,OAAO;AACX","ignoreList":[0]}}, - {"offset": {"line": 1514, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/render/utils/keys-position.mjs"],"sourcesContent":["import { transformPropOrder } from './keys-transform.mjs';\n\nconst positionalKeys = new Set([\n \"width\",\n \"height\",\n \"top\",\n \"left\",\n \"right\",\n \"bottom\",\n ...transformPropOrder,\n]);\n\nexport { positionalKeys };\n"],"names":[],"mappings":";;;;AAAA;;AAEA,MAAM,iBAAiB,IAAI,IAAI;IAC3B;IACA;IACA;IACA;IACA;IACA;OACG,6MAAkB;CACxB","ignoreList":[0]}}, - {"offset": {"line": 1534, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/value/types/auto.mjs"],"sourcesContent":["/**\n * ValueType for \"auto\"\n */\nconst auto = {\n test: (v) => v === \"auto\",\n parse: (v) => v,\n};\n\nexport { auto };\n"],"names":[],"mappings":";;;;AAAA;;CAEC,GACD,MAAM,OAAO;IACT,MAAM,CAAC,IAAM,MAAM;IACnB,OAAO,CAAC,IAAM;AAClB","ignoreList":[0]}}, - {"offset": {"line": 1549, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-utils/dist/es/clamp.mjs"],"sourcesContent":["const clamp = (min, max, v) => {\n if (v > max)\n return max;\n if (v < min)\n return min;\n return v;\n};\n\nexport { clamp };\n"],"names":[],"mappings":";;;;AAAA,MAAM,QAAQ,CAAC,KAAK,KAAK;IACrB,IAAI,IAAI,KACJ,OAAO;IACX,IAAI,IAAI,KACJ,OAAO;IACX,OAAO;AACX","ignoreList":[0]}}, - {"offset": {"line": 1563, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/value/types/numbers/index.mjs"],"sourcesContent":["import { clamp } from 'motion-utils';\n\nconst number = {\n test: (v) => typeof v === \"number\",\n parse: parseFloat,\n transform: (v) => v,\n};\nconst alpha = {\n ...number,\n transform: (v) => clamp(0, 1, v),\n};\nconst scale = {\n ...number,\n default: 1,\n};\n\nexport { alpha, number, scale };\n"],"names":[],"mappings":";;;;;;;;AAAA;;AAEA,MAAM,SAAS;IACX,MAAM,CAAC,IAAM,OAAO,MAAM;IAC1B,OAAO;IACP,WAAW,CAAC,IAAM;AACtB;AACA,MAAM,QAAQ;IACV,GAAG,MAAM;IACT,WAAW,CAAC,IAAM,IAAA,mKAAK,EAAC,GAAG,GAAG;AAClC;AACA,MAAM,QAAQ;IACV,GAAG,MAAM;IACT,SAAS;AACb","ignoreList":[0]}}, - {"offset": {"line": 1591, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/value/types/numbers/units.mjs"],"sourcesContent":["/*#__NO_SIDE_EFFECTS__*/\nconst createUnitType = (unit) => ({\n test: (v) => typeof v === \"string\" && v.endsWith(unit) && v.split(\" \").length === 1,\n parse: parseFloat,\n transform: (v) => `${v}${unit}`,\n});\nconst degrees = /*@__PURE__*/ createUnitType(\"deg\");\nconst percent = /*@__PURE__*/ createUnitType(\"%\");\nconst px = /*@__PURE__*/ createUnitType(\"px\");\nconst vh = /*@__PURE__*/ createUnitType(\"vh\");\nconst vw = /*@__PURE__*/ createUnitType(\"vw\");\nconst progressPercentage = /*@__PURE__*/ (() => ({\n ...percent,\n parse: (v) => percent.parse(v) / 100,\n transform: (v) => percent.transform(v * 100),\n}))();\n\nexport { degrees, percent, progressPercentage, px, vh, vw };\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,sBAAsB,GACtB,MAAM,iBAAiB,CAAC,OAAS,CAAC;QAC9B,MAAM,CAAC,IAAM,OAAO,MAAM,YAAY,EAAE,QAAQ,CAAC,SAAS,EAAE,KAAK,CAAC,KAAK,MAAM,KAAK;QAClF,OAAO;QACP,WAAW,CAAC,IAAM,GAAG,IAAI,MAAM;IACnC,CAAC;AACD,MAAM,UAAU,WAAW,GAAG,eAAe;AAC7C,MAAM,UAAU,WAAW,GAAG,eAAe;AAC7C,MAAM,KAAK,WAAW,GAAG,eAAe;AACxC,MAAM,KAAK,WAAW,GAAG,eAAe;AACxC,MAAM,KAAK,WAAW,GAAG,eAAe;AACxC,MAAM,qBAAqB,WAAW,GAAG,CAAC,IAAM,CAAC;QAC7C,GAAG,OAAO;QACV,OAAO,CAAC,IAAM,QAAQ,KAAK,CAAC,KAAK;QACjC,WAAW,CAAC,IAAM,QAAQ,SAAS,CAAC,IAAI;IAC5C,CAAC,CAAC","ignoreList":[0]}}, - {"offset": {"line": 1625, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/value/types/test.mjs"],"sourcesContent":["/**\n * Tests a provided value against a ValueType\n */\nconst testValueType = (v) => (type) => type.test(v);\n\nexport { testValueType };\n"],"names":[],"mappings":";;;;AAAA;;CAEC,GACD,MAAM,gBAAgB,CAAC,IAAM,CAAC,OAAS,KAAK,IAAI,CAAC","ignoreList":[0]}}, - {"offset": {"line": 1637, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/value/types/dimensions.mjs"],"sourcesContent":["import { auto } from './auto.mjs';\nimport { number } from './numbers/index.mjs';\nimport { px, percent, degrees, vw, vh } from './numbers/units.mjs';\nimport { testValueType } from './test.mjs';\n\n/**\n * A list of value types commonly used for dimensions\n */\nconst dimensionValueTypes = [number, px, percent, degrees, vw, vh, auto];\n/**\n * Tests a dimensional value against the list of dimension ValueTypes\n */\nconst findDimensionValueType = (v) => dimensionValueTypes.find(testValueType(v));\n\nexport { dimensionValueTypes, findDimensionValueType };\n"],"names":[],"mappings":";;;;;;AAAA;AACA;AACA;AACA;;;;;AAEA;;CAEC,GACD,MAAM,sBAAsB;IAAC,+LAAM;IAAE,2LAAE;IAAE,gMAAO;IAAE,gMAAO;IAAE,2LAAE;IAAE,2LAAE;IAAE,iLAAI;CAAC;AACxE;;CAEC,GACD,MAAM,yBAAyB,CAAC,IAAM,oBAAoB,IAAI,CAAC,IAAA,0LAAa,EAAC","ignoreList":[0]}}, - {"offset": {"line": 1670, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-utils/dist/es/format-error-message.mjs"],"sourcesContent":["function formatErrorMessage(message, errorCode) {\n return errorCode\n ? `${message}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${errorCode}`\n : message;\n}\n\nexport { formatErrorMessage };\n"],"names":[],"mappings":";;;;AAAA,SAAS,mBAAmB,OAAO,EAAE,SAAS;IAC1C,OAAO,YACD,GAAG,QAAQ,uFAAuF,EAAE,WAAW,GAC/G;AACV","ignoreList":[0]}}, - {"offset": {"line": 1682, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-utils/dist/es/errors.mjs"],"sourcesContent":["import { formatErrorMessage } from './format-error-message.mjs';\n\nlet warning = () => { };\nlet invariant = () => { };\nif (process.env.NODE_ENV !== \"production\") {\n warning = (check, message, errorCode) => {\n if (!check && typeof console !== \"undefined\") {\n console.warn(formatErrorMessage(message, errorCode));\n }\n };\n invariant = (check, message, errorCode) => {\n if (!check) {\n throw new Error(formatErrorMessage(message, errorCode));\n }\n };\n}\n\nexport { invariant, warning };\n"],"names":[],"mappings":";;;;;;AAII;AAJJ;;AAEA,IAAI,UAAU,KAAQ;AACtB,IAAI,YAAY,KAAQ;AACxB,wCAA2C;IACvC,UAAU,CAAC,OAAO,SAAS;QACvB,IAAI,CAAC,SAAS,OAAO,YAAY,aAAa;YAC1C,QAAQ,IAAI,CAAC,IAAA,qMAAkB,EAAC,SAAS;QAC7C;IACJ;IACA,YAAY,CAAC,OAAO,SAAS;QACzB,IAAI,CAAC,OAAO;YACR,MAAM,IAAI,MAAM,IAAA,qMAAkB,EAAC,SAAS;QAChD;IACJ;AACJ","ignoreList":[0]}}, - {"offset": {"line": 1710, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-utils/dist/es/is-numerical-string.mjs"],"sourcesContent":["/**\n * Check if value is a numerical string, ie a string that is purely a number eg \"100\" or \"-100.1\"\n */\nconst isNumericalString = (v) => /^-?(?:\\d+(?:\\.\\d+)?|\\.\\d+)$/u.test(v);\n\nexport { isNumericalString };\n"],"names":[],"mappings":";;;;AAAA;;CAEC,GACD,MAAM,oBAAoB,CAAC,IAAM,+BAA+B,IAAI,CAAC","ignoreList":[0]}}, - {"offset": {"line": 1722, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.mjs"],"sourcesContent":["import { invariant, isNumericalString } from 'motion-utils';\nimport { isCSSVariableToken } from './is-css-variable.mjs';\n\n/**\n * Parse Framer's special CSS variable format into a CSS token and a fallback.\n *\n * ```\n * `var(--foo, #fff)` => [`--foo`, '#fff']\n * ```\n *\n * @param current\n */\nconst splitCSSVariableRegex = \n// eslint-disable-next-line redos-detector/no-unsafe-regex -- false positive, as it can match a lot of words\n/^var\\(--(?:([\\w-]+)|([\\w-]+), ?([a-zA-Z\\d ()%#.,-]+))\\)/u;\nfunction parseCSSVariable(current) {\n const match = splitCSSVariableRegex.exec(current);\n if (!match)\n return [,];\n const [, token1, token2, fallback] = match;\n return [`--${token1 ?? token2}`, fallback];\n}\nconst maxDepth = 4;\nfunction getVariableValue(current, element, depth = 1) {\n invariant(depth <= maxDepth, `Max CSS variable fallback depth detected in property \"${current}\". This may indicate a circular fallback dependency.`, \"max-css-var-depth\");\n const [token, fallback] = parseCSSVariable(current);\n // No CSS variable detected\n if (!token)\n return;\n // Attempt to read this CSS variable off the element\n const resolved = window.getComputedStyle(element).getPropertyValue(token);\n if (resolved) {\n const trimmed = resolved.trim();\n return isNumericalString(trimmed) ? parseFloat(trimmed) : trimmed;\n }\n return isCSSVariableToken(fallback)\n ? getVariableValue(fallback, element, depth + 1)\n : fallback;\n}\n\nexport { getVariableValue, parseCSSVariable };\n"],"names":[],"mappings":";;;;;;AAAA;AAAA;AACA;;;AAEA;;;;;;;;CAQC,GACD,MAAM,wBACN,4GAA4G;AAC5G;AACA,SAAS,iBAAiB,OAAO;IAC7B,MAAM,QAAQ,sBAAsB,IAAI,CAAC;IACzC,IAAI,CAAC,OACD,OAAO;;KAAG;IACd,MAAM,GAAG,QAAQ,QAAQ,SAAS,GAAG;IACrC,OAAO;QAAC,CAAC,EAAE,EAAE,UAAU,QAAQ;QAAE;KAAS;AAC9C;AACA,MAAM,WAAW;AACjB,SAAS,iBAAiB,OAAO,EAAE,OAAO,EAAE,QAAQ,CAAC;IACjD,IAAA,wKAAS,EAAC,SAAS,UAAU,CAAC,sDAAsD,EAAE,QAAQ,oDAAoD,CAAC,EAAE;IACrJ,MAAM,CAAC,OAAO,SAAS,GAAG,iBAAiB;IAC3C,2BAA2B;IAC3B,IAAI,CAAC,OACD;IACJ,oDAAoD;IACpD,MAAM,WAAW,OAAO,gBAAgB,CAAC,SAAS,gBAAgB,CAAC;IACnE,IAAI,UAAU;QACV,MAAM,UAAU,SAAS,IAAI;QAC7B,OAAO,IAAA,mMAAiB,EAAC,WAAW,WAAW,WAAW;IAC9D;IACA,OAAO,IAAA,oNAAkB,EAAC,YACpB,iBAAiB,UAAU,SAAS,QAAQ,KAC5C;AACV","ignoreList":[0]}}, - {"offset": {"line": 1773, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.mjs"],"sourcesContent":["function fillWildcards(keyframes) {\n for (let i = 1; i < keyframes.length; i++) {\n keyframes[i] ?? (keyframes[i] = keyframes[i - 1]);\n }\n}\n\nexport { fillWildcards };\n"],"names":[],"mappings":";;;;AAAA,SAAS,cAAc,SAAS;IAC5B,IAAK,IAAI,IAAI,GAAG,IAAI,UAAU,MAAM,EAAE,IAAK;QACvC,SAAS,CAAC,EAAE,IAAI,CAAC,SAAS,CAAC,EAAE,GAAG,SAAS,CAAC,IAAI,EAAE;IACpD;AACJ","ignoreList":[0]}}, - {"offset": {"line": 1787, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.mjs"],"sourcesContent":["import { parseValueFromTransform } from '../../../render/dom/parse-transform.mjs';\nimport { transformPropOrder } from '../../../render/utils/keys-transform.mjs';\nimport { number } from '../../../value/types/numbers/index.mjs';\nimport { px } from '../../../value/types/numbers/units.mjs';\n\nconst isNumOrPxType = (v) => v === number || v === px;\nconst transformKeys = new Set([\"x\", \"y\", \"z\"]);\nconst nonTranslationalTransformKeys = transformPropOrder.filter((key) => !transformKeys.has(key));\nfunction removeNonTranslationalTransform(visualElement) {\n const removedTransforms = [];\n nonTranslationalTransformKeys.forEach((key) => {\n const value = visualElement.getValue(key);\n if (value !== undefined) {\n removedTransforms.push([key, value.get()]);\n value.set(key.startsWith(\"scale\") ? 1 : 0);\n }\n });\n return removedTransforms;\n}\nconst positionalValues = {\n // Dimensions\n width: ({ x }, { paddingLeft = \"0\", paddingRight = \"0\" }) => x.max - x.min - parseFloat(paddingLeft) - parseFloat(paddingRight),\n height: ({ y }, { paddingTop = \"0\", paddingBottom = \"0\" }) => y.max - y.min - parseFloat(paddingTop) - parseFloat(paddingBottom),\n top: (_bbox, { top }) => parseFloat(top),\n left: (_bbox, { left }) => parseFloat(left),\n bottom: ({ y }, { top }) => parseFloat(top) + (y.max - y.min),\n right: ({ x }, { left }) => parseFloat(left) + (x.max - x.min),\n // Transform\n x: (_bbox, { transform }) => parseValueFromTransform(transform, \"x\"),\n y: (_bbox, { transform }) => parseValueFromTransform(transform, \"y\"),\n};\n// Alias translate longform names\npositionalValues.translateX = positionalValues.x;\npositionalValues.translateY = positionalValues.y;\n\nexport { isNumOrPxType, positionalValues, removeNonTranslationalTransform };\n"],"names":[],"mappings":";;;;;;;;AAAA;AACA;AACA;AACA;;;;;AAEA,MAAM,gBAAgB,CAAC,IAAM,MAAM,+LAAM,IAAI,MAAM,2LAAE;AACrD,MAAM,gBAAgB,IAAI,IAAI;IAAC;IAAK;IAAK;CAAI;AAC7C,MAAM,gCAAgC,6MAAkB,CAAC,MAAM,CAAC,CAAC,MAAQ,CAAC,cAAc,GAAG,CAAC;AAC5F,SAAS,gCAAgC,aAAa;IAClD,MAAM,oBAAoB,EAAE;IAC5B,8BAA8B,OAAO,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/motion-utils/dist/es/noop.mjs"],"sourcesContent":["/*#__NO_SIDE_EFFECTS__*/\nconst noop = (any) => any;\n\nexport { noop };\n"],"names":[],"mappings":";;;;AAAA,sBAAsB,GACtB,MAAM,OAAO,CAAC,MAAQ","ignoreList":[0]}}, - {"offset": {"line": 1854, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-utils/dist/es/global-config.mjs"],"sourcesContent":["const MotionGlobalConfig = {};\n\nexport { MotionGlobalConfig };\n"],"names":[],"mappings":";;;;AAAA,MAAM,qBAAqB,CAAC","ignoreList":[0]}}, - {"offset": {"line": 1864, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/frameloop/order.mjs"],"sourcesContent":["const stepsOrder = [\n \"setup\", // Compute\n \"read\", // Read\n \"resolveKeyframes\", // Write/Read/Write/Read\n \"preUpdate\", // Compute\n \"update\", // Compute\n \"preRender\", // Compute\n \"render\", // Write\n \"postRender\", // Compute\n];\n\nexport { stepsOrder };\n"],"names":[],"mappings":";;;;AAAA,MAAM,aAAa;IACf;IACA;IACA;IACA;IACA;IACA;IACA;IACA;CACH","ignoreList":[0]}}, - {"offset": {"line": 1883, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/stats/buffer.mjs"],"sourcesContent":["const statsBuffer = {\n value: null,\n addProjectionMetrics: null,\n};\n\nexport { statsBuffer };\n"],"names":[],"mappings":";;;;AAAA,MAAM,cAAc;IAChB,OAAO;IACP,sBAAsB;AAC1B","ignoreList":[0]}}, - {"offset": {"line": 1896, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/frameloop/render-step.mjs"],"sourcesContent":["import { statsBuffer } from '../stats/buffer.mjs';\n\nfunction createRenderStep(runNextFrame, stepName) {\n /**\n * We create and reuse two queues, one to queue jobs for the current frame\n * and one for the next. We reuse to avoid triggering GC after x frames.\n */\n let thisFrame = new Set();\n let nextFrame = new Set();\n /**\n * Track whether we're currently processing jobs in this step. This way\n * we can decide whether to schedule new jobs for this frame or next.\n */\n let isProcessing = false;\n let flushNextFrame = false;\n /**\n * A set of processes which were marked keepAlive when scheduled.\n */\n const toKeepAlive = new WeakSet();\n let latestFrameData = {\n delta: 0.0,\n timestamp: 0.0,\n isProcessing: false,\n };\n let numCalls = 0;\n function triggerCallback(callback) {\n if (toKeepAlive.has(callback)) {\n step.schedule(callback);\n runNextFrame();\n }\n numCalls++;\n callback(latestFrameData);\n }\n const step = {\n /**\n * Schedule a process to run on the next frame.\n */\n schedule: (callback, keepAlive = false, immediate = false) => {\n const addToCurrentFrame = immediate && isProcessing;\n const queue = addToCurrentFrame ? thisFrame : nextFrame;\n if (keepAlive)\n toKeepAlive.add(callback);\n if (!queue.has(callback))\n queue.add(callback);\n return callback;\n },\n /**\n * Cancel the provided callback from running on the next frame.\n */\n cancel: (callback) => {\n nextFrame.delete(callback);\n toKeepAlive.delete(callback);\n },\n /**\n * Execute all schedule callbacks.\n */\n process: (frameData) => {\n latestFrameData = frameData;\n /**\n * If we're already processing we've probably been triggered by a flushSync\n * inside an existing process. Instead of executing, mark flushNextFrame\n * as true and ensure we flush the following frame at the end of this one.\n */\n if (isProcessing) {\n flushNextFrame = true;\n return;\n }\n isProcessing = true;\n [thisFrame, nextFrame] = [nextFrame, thisFrame];\n // Execute this frame\n thisFrame.forEach(triggerCallback);\n /**\n * If we're recording stats then\n */\n if (stepName && statsBuffer.value) {\n statsBuffer.value.frameloop[stepName].push(numCalls);\n }\n numCalls = 0;\n // Clear the frame so no callbacks remain. This is to avoid\n // memory leaks should this render step not run for a while.\n thisFrame.clear();\n isProcessing = false;\n if (flushNextFrame) {\n flushNextFrame = false;\n step.process(frameData);\n }\n },\n };\n return step;\n}\n\nexport { createRenderStep };\n"],"names":[],"mappings":";;;;AAAA;;AAEA,SAAS,iBAAiB,YAAY,EAAE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map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/frameloop/batcher.mjs"],"sourcesContent":["import { MotionGlobalConfig } from 'motion-utils';\nimport { stepsOrder } from './order.mjs';\nimport { createRenderStep } from './render-step.mjs';\n\nconst maxElapsed = 40;\nfunction createRenderBatcher(scheduleNextBatch, allowKeepAlive) {\n let runNextFrame = false;\n let useDefaultElapsed = true;\n const state = {\n delta: 0.0,\n timestamp: 0.0,\n isProcessing: false,\n };\n const flagRunNextFrame = () => (runNextFrame = true);\n const steps = stepsOrder.reduce((acc, key) => {\n acc[key] = createRenderStep(flagRunNextFrame, allowKeepAlive ? key : undefined);\n return acc;\n }, {});\n const { setup, read, resolveKeyframes, preUpdate, update, preRender, render, postRender, } = steps;\n const processBatch = () => {\n const timestamp = MotionGlobalConfig.useManualTiming\n ? state.timestamp\n : performance.now();\n runNextFrame = false;\n if (!MotionGlobalConfig.useManualTiming) {\n state.delta = useDefaultElapsed\n ? 1000 / 60\n : Math.max(Math.min(timestamp - state.timestamp, maxElapsed), 1);\n }\n state.timestamp = timestamp;\n state.isProcessing = true;\n // Unrolled render loop for better per-frame performance\n setup.process(state);\n read.process(state);\n resolveKeyframes.process(state);\n preUpdate.process(state);\n update.process(state);\n preRender.process(state);\n render.process(state);\n postRender.process(state);\n state.isProcessing = false;\n if (runNextFrame && allowKeepAlive) {\n useDefaultElapsed = false;\n scheduleNextBatch(processBatch);\n }\n };\n const wake = () => {\n runNextFrame = true;\n useDefaultElapsed = true;\n if (!state.isProcessing) {\n scheduleNextBatch(processBatch);\n }\n };\n const schedule = stepsOrder.reduce((acc, key) => {\n const step = steps[key];\n acc[key] = (process, keepAlive = false, immediate = false) => {\n if (!runNextFrame)\n wake();\n return step.schedule(process, keepAlive, immediate);\n };\n return acc;\n }, {});\n const cancel = (process) => {\n for (let i = 0; i < stepsOrder.length; i++) {\n steps[stepsOrder[i]].cancel(process);\n }\n };\n return { schedule, cancel, state, steps };\n}\n\nex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J;IACA,MAAM,WAAW,mLAAU,CAAC,MAAM,CAAC,CAAC,KAAK;QACrC,MAAM,OAAO,KAAK,CAAC,IAAI;QACvB,GAAG,CAAC,IAAI,GAAG,CAAC,SAAS,YAAY,KAAK,EAAE,YAAY,KAAK;YACrD,IAAI,CAAC,cACD;YACJ,OAAO,KAAK,QAAQ,CAAC,SAAS,WAAW;QAC7C;QACA,OAAO;IACX,GAAG,CAAC;IACJ,MAAM,SAAS,CAAC;QACZ,IAAK,IAAI,IAAI,GAAG,IAAI,mLAAU,CAAC,MAAM,EAAE,IAAK;YACxC,KAAK,CAAC,mLAAU,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC;QAChC;IACJ;IACA,OAAO;QAAE;QAAU;QAAQ;QAAO;IAAM;AAC5C","ignoreList":[0]}}, - {"offset": {"line": 2068, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/frameloop/frame.mjs"],"sourcesContent":["import { noop } from 'motion-utils';\nimport { createRenderBatcher } from './batcher.mjs';\n\nconst { schedule: frame, cancel: cancelFrame, state: frameData, steps: frameSteps, } = /* @__PURE__ */ createRenderBatcher(typeof requestAnimationFrame !== \"undefined\" ? requestAnimationFrame : noop, true);\n\nexport { cancelFrame, frame, frameData, frameSteps };\n"],"names":[],"mappings":";;;;;;;;;;AAAA;AACA;;;AAEA,MAAM,EAAE,UAAU,KAAK,EAAE,QAAQ,WAAW,EAAE,OAAO,SAAS,EAAE,OAAO,UAAU,EAAG,GAAG,aAAa,GAAG,IAAA,8LAAmB,EAAC,OAAO,0BAA0B,cAAc,wBAAwB,iKAAI,EAAE","ignoreList":[0]}}, - {"offset": {"line": 2088, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.mjs"],"sourcesContent":["import { fillWildcards } from './utils/fill-wildcards.mjs';\nimport { removeNonTranslationalTransform } from './utils/unit-conversion.mjs';\nimport { frame } from '../../frameloop/frame.mjs';\n\nconst toResolve = new Set();\nlet isScheduled = false;\nlet anyNeedsMeasurement = false;\nlet isForced = false;\nfunction measureAllKeyframes() {\n if (anyNeedsMeasurement) {\n const resolversToMeasure = Array.from(toResolve).filter((resolver) => resolver.needsMeasurement);\n const elementsToMeasure = new Set(resolversToMeasure.map((resolver) => resolver.element));\n const transformsToRestore = new Map();\n /**\n * Write pass\n * If we're measuring elements we want to remove bounding box-changing transforms.\n */\n elementsToMeasure.forEach((element) => {\n const removedTransforms = removeNonTranslationalTransform(element);\n if (!removedTransforms.length)\n return;\n transformsToRestore.set(element, removedTransforms);\n element.render();\n });\n // Read\n resolversToMeasure.forEach((resolver) => resolver.measureInitialState());\n // Write\n elementsToMeasure.forEach((element) => {\n element.render();\n const restore = transformsToRestore.get(element);\n if (restore) {\n restore.forEach(([key, value]) => {\n element.getValue(key)?.set(value);\n });\n }\n });\n // Read\n resolversToMeasure.forEach((resolver) => resolver.measureEndState());\n // Write\n resolversToMeasure.forEach((resolver) => {\n if (resolver.suspendedScrollY !== undefined) {\n window.scrollTo(0, resolver.suspendedScrollY);\n }\n });\n }\n anyNeedsMeasurement = false;\n isScheduled = false;\n toResolve.forEach((resolver) => resolver.complete(isForced));\n toResolve.clear();\n}\nfunction readAllKeyframes() {\n toResolve.forEach((resolver) => {\n resolver.readKeyframes();\n if (resolver.needsMeasurement) {\n anyNeedsMeasurement = true;\n }\n });\n}\nfunction flushKeyframeResolvers() {\n isForced = true;\n readAllKeyframes();\n measureAllKeyframes();\n isForced = false;\n}\nclass KeyframeResolver {\n constructor(unresolvedKeyframes, onComplete, name, motionValue, element, isAsync = false) {\n this.state = \"pending\";\n /**\n * Track whether this resolver is async. If it is, it'll be added to the\n * resolver queue and flushed in the next frame. Resolvers that aren't going\n * to trigger read/write thrashing don't need to be async.\n */\n this.isAsync = false;\n /**\n * Track whether this resolver needs to perform a measurement\n * to resolve its keyframes.\n */\n this.needsMeasurement = false;\n this.unresolvedKeyframes = [...unresolvedKeyframes];\n this.onComplete = onComplete;\n this.name = name;\n this.motionValue = motionValue;\n this.element = element;\n this.isAsync = isAsync;\n }\n scheduleResolve() {\n this.state = \"scheduled\";\n if (this.isAsync) {\n toResolve.add(this);\n if (!isScheduled) {\n isScheduled = true;\n frame.read(readAllKeyframes);\n frame.resolveKeyframes(measureAllKeyframes);\n }\n }\n else {\n this.readKeyframes();\n this.complete();\n }\n }\n readKeyframes() {\n const { unresolvedKeyframes, name, element, motionValue } = this;\n // If initial keyframe is null we need to read it from the DOM\n if (unresolvedKeyframes[0] === null) {\n const currentValue = motionValue?.get();\n // TODO: This doesn't work if the final keyframe is a wildcard\n const finalKeyframe = unresolvedKeyframes[unresolvedKeyframes.length - 1];\n if (currentValue !== undefined) {\n unresolvedKeyframes[0] = currentValue;\n }\n else if (element && name) {\n const valueAsRead = element.readValue(name, finalKeyframe);\n if (valueAsRead !== undefined && valueAsRead !== null) {\n unresolvedKeyframes[0] = valueAsRead;\n }\n }\n if (unresolvedKeyframes[0] === undefined) {\n unresolvedKeyframes[0] = finalKeyframe;\n }\n if (motionValue && currentValue === undefined) {\n motionValue.set(unresolvedKeyframes[0]);\n }\n }\n fillWildcards(unresolvedKeyframes);\n }\n setFinalKeyframe() { }\n measureInitialState() { }\n renderEndStyles() { }\n measureEndState() { }\n complete(isForcedComplete = false) {\n this.state = \"complete\";\n this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, isForcedComplete);\n toResolve.delete(this);\n }\n cancel() {\n if (this.state === \"scheduled\") {\n toResolve.delete(this);\n this.state = \"pending\";\n }\n }\n resume() {\n if (this.state === \"pending\")\n this.scheduleResolve();\n }\n}\n\nexport { KeyframeResolver, flushKeyframeResolvers };\n"],"names":[],"mappings":";;;;;;AAAA;AACA;AACA;;;;AAEA,MAAM,YAAY,IAAI;AACtB,IAAI,cAAc;AAClB,IAAI,sBAAsB;AAC1B,IAAI,WAAW;AACf,SAAS;IACL,IAAI,qBAAqB;QACrB,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CAAC,mBAAmB,CAAC,EAAE;YAC1C;QACJ;QACA,IAAA,wNAAa,EAAC;IAClB;IACA,mBAAmB,CAAE;IACrB,sBAAsB,CAAE;IACxB,kBAAkB,CAAE;IACpB,kBAAkB,CAAE;IACpB,SAAS,mBAAmB,KAAK,EAAE;QAC/B,IAAI,CAAC,KAAK,GAAG;QACb,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,mBAAmB,EAAE,IAAI,CAAC,aAAa,EAAE;QAC9D,UAAU,MAAM,CAAC,IAAI;IACzB;IACA,SAAS;QACL,IAAI,IAAI,CAAC,KAAK,KAAK,aAAa;YAC5B,UAAU,MAAM,CAAC,IAAI;YACrB,IAAI,CAAC,KAAK,GAAG;QACjB;IACJ;IACA,SAAS;QACL,IAAI,IAAI,CAAC,KAAK,KAAK,WACf,IAAI,CAAC,eAAe;IAC5B;AACJ","ignoreList":[0]}}, - {"offset": {"line": 2241, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-utils/dist/es/is-zero-value-string.mjs"],"sourcesContent":["/**\n * Check if the value is a zero value string like \"0px\" or \"0%\"\n */\nconst isZeroValueString = (v) => /^0[^.\\s]+$/u.test(v);\n\nexport { isZeroValueString };\n"],"names":[],"mappings":";;;;AAAA;;CAEC,GACD,MAAM,oBAAoB,CAAC,IAAM,cAAc,IAAI,CAAC","ignoreList":[0]}}, - {"offset": {"line": 2253, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.mjs"],"sourcesContent":["import { isZeroValueString } from 'motion-utils';\n\nfunction isNone(value) {\n if (typeof value === \"number\") {\n return value === 0;\n }\n else if (value !== null) {\n return value === \"none\" || value === \"0\" || isZeroValueString(value);\n }\n else {\n return true;\n }\n}\n\nexport { isNone };\n"],"names":[],"mappings":";;;;AAAA;;AAEA,SAAS,OAAO,KAAK;IACjB,IAAI,OAAO,UAAU,UAAU;QAC3B,OAAO,UAAU;IACrB,OACK,IAAI,UAAU,MAAM;QACrB,OAAO,UAAU,UAAU,UAAU,OAAO,IAAA,uMAAiB,EAAC;IAClE,OACK;QACD,OAAO;IACX;AACJ","ignoreList":[0]}}, - {"offset": {"line": 2273, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/value/types/utils/sanitize.mjs"],"sourcesContent":["// If this number is a decimal, make it just five decimal places\n// to avoid exponents\nconst sanitize = (v) => Math.round(v * 100000) / 100000;\n\nexport { sanitize };\n"],"names":[],"mappings":";;;;AAAA,gEAAgE;AAChE,qBAAqB;AACrB,MAAM,WAAW,CAAC,IAAM,KAAK,KAAK,CAAC,IAAI,UAAU","ignoreList":[0]}}, - {"offset": {"line": 2285, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/value/types/utils/float-regex.mjs"],"sourcesContent":["const floatRegex = /-?(?:\\d+(?:\\.\\d+)?|\\.\\d+)/gu;\n\nexport { floatRegex };\n"],"names":[],"mappings":";;;;AAAA,MAAM,aAAa","ignoreList":[0]}}, - {"offset": {"line": 2295, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.mjs"],"sourcesContent":["function isNullish(v) {\n return v == null;\n}\n\nexport { isNullish };\n"],"names":[],"mappings":";;;;AAAA,SAAS,UAAU,CAAC;IAChB,OAAO,KAAK;AAChB","ignoreList":[0]}}, - {"offset": {"line": 2307, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.mjs"],"sourcesContent":["const singleColorRegex = /^(?:#[\\da-f]{3,8}|(?:rgb|hsl)a?\\((?:-?[\\d.]+%?[,\\s]+){2}-?[\\d.]+%?\\s*(?:[,/]\\s*)?(?:\\b\\d+(?:\\.\\d+)?|\\.\\d+)?%?\\))$/iu;\n\nexport { singleColorRegex };\n"],"names":[],"mappings":";;;;AAAA,MAAM,mBAAmB","ignoreList":[0]}}, - {"offset": {"line": 2317, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/value/types/color/utils.mjs"],"sourcesContent":["import { floatRegex } from '../utils/float-regex.mjs';\nimport { isNullish } from '../utils/is-nullish.mjs';\nimport { singleColorRegex } from '../utils/single-color-regex.mjs';\n\n/**\n * Returns true if the provided string is a color, ie rgba(0,0,0,0) or #000,\n * but false if a number or multiple colors\n */\nconst isColorString = (type, testProp) => (v) => {\n return Boolean((typeof v === \"string\" &&\n singleColorRegex.test(v) &&\n v.startsWith(type)) ||\n (testProp &&\n !isNullish(v) &&\n Object.prototype.hasOwnProperty.call(v, testProp)));\n};\nconst splitColor = (aName, bName, cName) => (v) => {\n if (typeof v !== \"string\")\n return v;\n const [a, b, c, alpha] = v.match(floatRegex);\n return {\n [aName]: parseFloat(a),\n [bName]: parseFloat(b),\n [cName]: parseFloat(c),\n alpha: alpha !== undefined ? parseFloat(alpha) : 1,\n };\n};\n\nexport { isColorString, splitColor };\n"],"names":[],"mappings":";;;;;;AAAA;AACA;AACA;;;;AAEA;;;CAGC,GACD,MAAM,gBAAgB,CAAC,MAAM,WAAa,CAAC;QACvC,OAAO,QAAQ,AAAC,OAAO,MAAM,YACzB,0NAAgB,CAAC,IAAI,CAAC,MACtB,EAAE,UAAU,CAAC,SACZ,YACG,CAAC,IAAA,wMAAS,EAAC,MACX,OAAO,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,GAAG;IACpD;AACA,MAAM,aAAa,CAAC,OAAO,OAAO,QAAU,CAAC;QACzC,IAAI,OAAO,MAAM,UACb,OAAO;QACX,MAAM,CAAC,GAAG,GAAG,GAAG,MAAM,GAAG,EAAE,KAAK,CAAC,0MAAU;QAC3C,OAAO;YACH,CAAC,MAAM,EAAE,WAAW;YACpB,CAAC,MAAM,EAAE,WAAW;YACpB,CAAC,MAAM,EAAE,WAAW;YACpB,OAAO,UAAU,YAAY,WAAW,SAAS;QACrD;IACJ","ignoreList":[0]}}, - {"offset": {"line": 2350, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/value/types/color/rgba.mjs"],"sourcesContent":["import { clamp } from 'motion-utils';\nimport { number, alpha } from '../numbers/index.mjs';\nimport { sanitize } from '../utils/sanitize.mjs';\nimport { isColorString, splitColor } from './utils.mjs';\n\nconst clampRgbUnit = (v) => clamp(0, 255, v);\nconst rgbUnit = {\n ...number,\n transform: (v) => Math.round(clampRgbUnit(v)),\n};\nconst rgba = {\n test: /*@__PURE__*/ isColorString(\"rgb\", \"red\"),\n parse: /*@__PURE__*/ splitColor(\"red\", \"green\", \"blue\"),\n transform: ({ red, green, blue, alpha: alpha$1 = 1 }) => \"rgba(\" +\n rgbUnit.transform(red) +\n \", \" +\n rgbUnit.transform(green) +\n \", \" +\n rgbUnit.transform(blue) +\n \", \" +\n sanitize(alpha.transform(alpha$1)) +\n \")\",\n};\n\nexport { rgbUnit, rgba };\n"],"names":[],"mappings":";;;;;;AAAA;AACA;AACA;AACA;;;;;AAEA,MAAM,eAAe,CAAC,IAAM,IAAA,mKAAK,EAAC,GAAG,KAAK;AAC1C,MAAM,UAAU;IACZ,GAAG,+LAAM;IACT,WAAW,CAAC,IAAM,KAAK,KAAK,CAAC,aAAa;AAC9C;AACA,MAAM,OAAO;IACT,MAAM,WAAW,GAAG,IAAA,oMAAa,EAAC,OAAO;IACzC,OAAO,WAAW,GAAG,IAAA,iMAAU,EAAC,OAAO,SAAS;IAChD,WAAW,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,UAAU,CAAC,EAAE,GAAK,UACrD,QAAQ,SAAS,CAAC,OAClB,OACA,QAAQ,SAAS,CAAC,SAClB,OACA,QAAQ,SAAS,CAAC,QAClB,OACA,IAAA,kMAAQ,EAAC,8LAAK,CAAC,SAAS,CAAC,YACzB;AACR","ignoreList":[0]}}, - {"offset": {"line": 2379, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/value/types/color/hex.mjs"],"sourcesContent":["import { rgba } from './rgba.mjs';\nimport { isColorString } from './utils.mjs';\n\nfunction parseHex(v) {\n let r = \"\";\n let g = \"\";\n let b = \"\";\n let a = \"\";\n // If we have 6 characters, ie #FF0000\n if (v.length > 5) {\n r = v.substring(1, 3);\n g = v.substring(3, 5);\n b = v.substring(5, 7);\n a = v.substring(7, 9);\n // Or we have 3 characters, ie #F00\n }\n else {\n r = v.substring(1, 2);\n g = v.substring(2, 3);\n b = v.substring(3, 4);\n a = v.substring(4, 5);\n r += r;\n g += g;\n b += b;\n a += a;\n }\n return {\n red: parseInt(r, 16),\n green: parseInt(g, 16),\n blue: parseInt(b, 16),\n alpha: a ? parseInt(a, 16) / 255 : 1,\n };\n}\nconst hex = {\n test: /*@__PURE__*/ isColorString(\"#\"),\n parse: parseHex,\n transform: rgba.transform,\n};\n\nexport { hex };\n"],"names":[],"mappings":";;;;AAAA;AACA;;;AAEA,SAAS,SAAS,CAAC;IACf,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,IAAI;IACR,sCAAsC;IACtC,IAAI,EAAE,MAAM,GAAG,GAAG;QACd,IAAI,EAAE,SAAS,CAAC,GAAG;QACnB,IAAI,EAAE,SAAS,CAAC,GAAG;QACnB,IAAI,EAAE,SAAS,CAAC,GAAG;QACnB,IAAI,EAAE,SAAS,CAAC,GAAG;IACnB,mCAAmC;IACvC,OACK;QACD,IAAI,EAAE,SAAS,CAAC,GAAG;QACnB,IAAI,EAAE,SAAS,CAAC,GAAG;QACnB,IAAI,EAAE,SAAS,CAAC,GAAG;QACnB,IAAI,EAAE,SAAS,CAAC,GAAG;QACnB,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;IACT;IACA,OAAO;QACH,KAAK,SAAS,GAAG;QACjB,OAAO,SAAS,GAAG;QACnB,MAAM,SAAS,GAAG;QAClB,OAAO,IAAI,SAAS,GAAG,MAAM,MAAM;IACvC;AACJ;AACA,MAAM,MAAM;IACR,MAAM,WAAW,GAAG,IAAA,oMAAa,EAAC;IAClC,OAAO;IACP,WAAW,0LAAI,CAAC,SAAS;AAC7B","ignoreList":[0]}}, - {"offset": {"line": 2426, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/value/types/color/hsla.mjs"],"sourcesContent":["import { alpha } from '../numbers/index.mjs';\nimport { percent } from '../numbers/units.mjs';\nimport { sanitize } from '../utils/sanitize.mjs';\nimport { isColorString, splitColor } from './utils.mjs';\n\nconst hsla = {\n test: /*@__PURE__*/ isColorString(\"hsl\", \"hue\"),\n parse: /*@__PURE__*/ splitColor(\"hue\", \"saturation\", \"lightness\"),\n transform: ({ hue, saturation, lightness, alpha: alpha$1 = 1 }) => {\n return (\"hsla(\" +\n Math.round(hue) +\n \", \" +\n percent.transform(sanitize(saturation)) +\n \", \" +\n percent.transform(sanitize(lightness)) +\n \", \" +\n sanitize(alpha.transform(alpha$1)) +\n \")\");\n },\n};\n\nexport { hsla };\n"],"names":[],"mappings":";;;;AAAA;AACA;AACA;AACA;;;;;AAEA,MAAM,OAAO;IACT,MAAM,WAAW,GAAG,IAAA,oMAAa,EAAC,OAAO;IACzC,OAAO,WAAW,GAAG,IAAA,iMAAU,EAAC,OAAO,cAAc;IACrD,WAAW,CAAC,EAAE,GAAG,EAAE,UAAU,EAAE,SAAS,EAAE,OAAO,UAAU,CAAC,EAAE;QAC1D,OAAQ,UACJ,KAAK,KAAK,CAAC,OACX,OACA,gMAAO,CAAC,SAAS,CAAC,IAAA,kMAAQ,EAAC,eAC3B,OACA,gMAAO,CAAC,SAAS,CAAC,IAAA,kMAAQ,EAAC,cAC3B,OACA,IAAA,kMAAQ,EAAC,8LAAK,CAAC,SAAS,CAAC,YACzB;IACR;AACJ","ignoreList":[0]}}, - {"offset": {"line": 2450, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/value/types/color/index.mjs"],"sourcesContent":["import { hex } from './hex.mjs';\nimport { hsla } from './hsla.mjs';\nimport { rgba } from './rgba.mjs';\n\nconst color = {\n test: (v) => rgba.test(v) || hex.test(v) || hsla.test(v),\n parse: (v) => {\n if (rgba.test(v)) {\n return rgba.parse(v);\n }\n else if (hsla.test(v)) {\n return hsla.parse(v);\n }\n else {\n return hex.parse(v);\n }\n },\n transform: (v) => {\n return typeof v === \"string\"\n ? v\n : v.hasOwnProperty(\"red\")\n ? rgba.transform(v)\n : hsla.transform(v);\n },\n getAnimatableNone: (v) => {\n const parsed = color.parse(v);\n parsed.alpha = 0;\n return color.transform(parsed);\n },\n};\n\nexport { color };\n"],"names":[],"mappings":";;;;AAAA;AACA;AACA;;;;AAEA,MAAM,QAAQ;IACV,MAAM,CAAC,IAAM,0LAAI,CAAC,IAAI,CAAC,MAAM,wLAAG,CAAC,IAAI,CAAC,MAAM,0LAAI,CAAC,IAAI,CAAC;IACtD,OAAO,CAAC;QACJ,IAAI,0LAAI,CAAC,IAAI,CAAC,IAAI;YACd,OAAO,0LAAI,CAAC,KAAK,CAAC;QACtB,OACK,IAAI,0LAAI,CAAC,IAAI,CAAC,IAAI;YACnB,OAAO,0LAAI,CAAC,KAAK,CAAC;QACtB,OACK;YACD,OAAO,wLAAG,CAAC,KAAK,CAAC;QACrB;IACJ;IACA,WAAW,CAAC;QACR,OAAO,OAAO,MAAM,WACd,IACA,EAAE,cAAc,CAAC,SACb,0LAAI,CAAC,SAAS,CAAC,KACf,0LAAI,CAAC,SAAS,CAAC;IAC7B;IACA,mBAAmB,CAAC;QAChB,MAAM,SAAS,MAAM,KAAK,CAAC;QAC3B,OAAO,KAAK,GAAG;QACf,OAAO,MAAM,SAAS,CAAC;IAC3B;AACJ","ignoreList":[0]}}, - {"offset": {"line": 2485, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/value/types/utils/color-regex.mjs"],"sourcesContent":["const colorRegex = /(?:#[\\da-f]{3,8}|(?:rgb|hsl)a?\\((?:-?[\\d.]+%?[,\\s]+){2}-?[\\d.]+%?\\s*(?:[,/]\\s*)?(?:\\b\\d+(?:\\.\\d+)?|\\.\\d+)?%?\\))/giu;\n\nexport { colorRegex };\n"],"names":[],"mappings":";;;;AAAA,MAAM,aAAa","ignoreList":[0]}}, - {"offset": {"line": 2495, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/value/types/complex/index.mjs"],"sourcesContent":["import { color } from '../color/index.mjs';\nimport { colorRegex } from '../utils/color-regex.mjs';\nimport { floatRegex } from '../utils/float-regex.mjs';\nimport { sanitize } from '../utils/sanitize.mjs';\n\nfunction test(v) {\n return (isNaN(v) &&\n typeof v === \"string\" &&\n (v.match(floatRegex)?.length || 0) +\n (v.match(colorRegex)?.length || 0) >\n 0);\n}\nconst NUMBER_TOKEN = \"number\";\nconst COLOR_TOKEN = \"color\";\nconst VAR_TOKEN = \"var\";\nconst VAR_FUNCTION_TOKEN = \"var(\";\nconst SPLIT_TOKEN = \"${}\";\n// this regex consists of the `singleCssVariableRegex|rgbHSLValueRegex|digitRegex`\nconst complexRegex = /var\\s*\\(\\s*--(?:[\\w-]+\\s*|[\\w-]+\\s*,(?:\\s*[^)(\\s]|\\s*\\((?:[^)(]|\\([^)(]*\\))*\\))+\\s*)\\)|#[\\da-f]{3,8}|(?:rgb|hsl)a?\\((?:-?[\\d.]+%?[,\\s]+){2}-?[\\d.]+%?\\s*(?:[,/]\\s*)?(?:\\b\\d+(?:\\.\\d+)?|\\.\\d+)?%?\\)|-?(?:\\d+(?:\\.\\d+)?|\\.\\d+)/giu;\nfunction analyseComplexValue(value) {\n const originalValue = value.toString();\n const values = [];\n const indexes = {\n color: [],\n number: [],\n var: [],\n };\n const types = [];\n let i = 0;\n const tokenised = originalValue.replace(complexRegex, (parsedValue) => {\n if (color.test(parsedValue)) {\n indexes.color.push(i);\n types.push(COLOR_TOKEN);\n values.push(color.parse(parsedValue));\n }\n else if (parsedValue.startsWith(VAR_FUNCTION_TOKEN)) {\n indexes.var.push(i);\n types.push(VAR_TOKEN);\n values.push(parsedValue);\n }\n else {\n indexes.number.push(i);\n types.push(NUMBER_TOKEN);\n values.push(parseFloat(parsedValue));\n }\n ++i;\n return SPLIT_TOKEN;\n });\n const split = tokenised.split(SPLIT_TOKEN);\n return { values, split, indexes, types };\n}\nfunction parseComplexValue(v) {\n return analyseComplexValue(v).values;\n}\nfunction createTransformer(source) {\n const { split, types } = analyseComplexValue(source);\n const numSections = split.length;\n return (v) => {\n let output = \"\";\n for (let i = 0; i < numSections; i++) {\n output += split[i];\n if (v[i] !== undefined) {\n const type = types[i];\n if (type === NUMBER_TOKEN) {\n output += sanitize(v[i]);\n }\n else if (type === COLOR_TOKEN) {\n output += color.transform(v[i]);\n }\n else {\n output += v[i];\n }\n }\n }\n return output;\n };\n}\nconst convertNumbersToZero = (v) => typeof v === \"number\" ? 0 : color.test(v) ? color.getAnimatableNone(v) : v;\nfunction getAnimatableNone(v) {\n const parsed = parseComplexValue(v);\n const transformer = createTransformer(v);\n return transformer(parsed.map(convertNumbersToZero));\n}\nconst complex = {\n test,\n parse: parseComplexValue,\n createTransformer,\n getAnimatableNone,\n};\n\nexport { analyseComplexValue, complex };\n"],"names":[],"mappings":";;;;;;AAAA;AACA;AACA;AACA;;;;;AAEA,SAAS,KAAK,CAAC;IACX,OAAQ,MAAM,MACV,OAAO,MAAM,YACb,CAAC,EAAE,KAAK,CAAC,0MAAU,GAAG,UAAU,CAAC,IAC7B,CAAC,EAAE,KAAK,CAAC,0MAAU,GAAG,UAAU,CAAC,IACjC;AACZ;AACA,MAAM,eAAe;AACrB,MAAM,cAAc;AACpB,MAAM,YAAY;AAClB,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A,kMAAQ,EAAC,CAAC,CAAC,EAAE;gBAC3B,OACK,IAAI,SAAS,aAAa;oBAC3B,UAAU,4LAAK,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE;gBAClC,OACK;oBACD,UAAU,CAAC,CAAC,EAAE;gBAClB;YACJ;QACJ;QACA,OAAO;IACX;AACJ;AACA,MAAM,uBAAuB,CAAC,IAAM,OAAO,MAAM,WAAW,IAAI,4LAAK,CAAC,IAAI,CAAC,KAAK,4LAAK,CAAC,iBAAiB,CAAC,KAAK;AAC7G,SAAS,kBAAkB,CAAC;IACxB,MAAM,SAAS,kBAAkB;IACjC,MAAM,cAAc,kBAAkB;IACtC,OAAO,YAAY,OAAO,GAAG,CAAC;AAClC;AACA,MAAM,UAAU;IACZ;IACA,OAAO;IACP;IACA;AACJ","ignoreList":[0]}}, - {"offset": {"line": 2595, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/value/types/complex/filter.mjs"],"sourcesContent":["import { complex } from './index.mjs';\nimport { floatRegex } from '../utils/float-regex.mjs';\n\n/**\n * Properties that should default to 1 or 100%\n */\nconst maxDefaults = new Set([\"brightness\", \"contrast\", \"saturate\", \"opacity\"]);\nfunction applyDefaultFilter(v) {\n const [name, value] = v.slice(0, -1).split(\"(\");\n if (name === \"drop-shadow\")\n return v;\n const [number] = value.match(floatRegex) || [];\n if (!number)\n return v;\n const unit = value.replace(number, \"\");\n let defaultValue = maxDefaults.has(name) ? 1 : 0;\n if (number !== value)\n defaultValue *= 100;\n return name + \"(\" + defaultValue + unit + \")\";\n}\nconst functionRegex = /\\b([a-z-]*)\\(.*?\\)/gu;\nconst filter = {\n ...complex,\n getAnimatableNone: (v) => {\n const functions = v.match(functionRegex);\n return functions ? functions.map(applyDefaultFilter).join(\" \") : v;\n },\n};\n\nexport { filter };\n"],"names":[],"mappings":";;;;AAAA;AACA;;;AAEA;;CAEC,GACD,MAAM,cAAc,IAAI,IAAI;IAAC;IAAc;IAAY;IAAY;CAAU;AAC7E,SAAS,mBAAmB,CAAC;IACzB,MAAM,CAAC,MAAM,MAAM,GAAG,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;IAC3C,IAAI,SAAS,eACT,OAAO;IACX,MAAM,CAAC,OAAO,GAAG,MAAM,KAAK,CAAC,0MAAU,KAAK,EAAE;IAC9C,IAAI,CAAC,QACD,OAAO;IACX,MAAM,OAAO,MAAM,OAAO,CAAC,QAAQ;IACnC,IAAI,eAAe,YAAY,GAAG,CAAC,QAAQ,IAAI;IAC/C,IAAI,WAAW,OACX,gBAAgB;IACpB,OAAO,OAAO,MAAM,eAAe,OAAO;AAC9C;AACA,MAAM,gBAAgB;AACtB,MAAM,SAAS;IACX,GAAG,gMAAO;IACV,mBAAmB,CAAC;QAChB,MAAM,YAAY,EAAE,KAAK,CAAC;QAC1B,OAAO,YAAY,UAAU,GAAG,CAAC,oBAAoB,IAAI,CAAC,OAAO;IACrE;AACJ","ignoreList":[0]}}, - {"offset": {"line": 2634, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/value/types/int.mjs"],"sourcesContent":["import { number } from './numbers/index.mjs';\n\nconst int = {\n ...number,\n transform: Math.round,\n};\n\nexport { int };\n"],"names":[],"mappings":";;;;AAAA;;AAEA,MAAM,MAAM;IACR,GAAG,+LAAM;IACT,WAAW,KAAK,KAAK;AACzB","ignoreList":[0]}}, - {"offset": {"line": 2649, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/value/types/maps/transform.mjs"],"sourcesContent":["import { scale, alpha } from '../numbers/index.mjs';\nimport { degrees, px, progressPercentage } from '../numbers/units.mjs';\n\nconst transformValueTypes = {\n rotate: degrees,\n rotateX: degrees,\n rotateY: degrees,\n rotateZ: degrees,\n scale,\n scaleX: scale,\n scaleY: scale,\n scaleZ: scale,\n skew: degrees,\n skewX: degrees,\n skewY: degrees,\n distance: px,\n translateX: px,\n translateY: px,\n translateZ: px,\n x: px,\n y: px,\n z: px,\n perspective: px,\n transformPerspective: px,\n opacity: alpha,\n originX: progressPercentage,\n originY: progressPercentage,\n originZ: px,\n};\n\nexport { transformValueTypes };\n"],"names":[],"mappings":";;;;AAAA;AACA;;;AAEA,MAAM,sBAAsB;IACxB,QAAQ,gMAAO;IACf,SAAS,gMAAO;IAChB,SAAS,gMAAO;IAChB,SAAS,gMAAO;IAChB,OAAA,8LAAK;IACL,QAAQ,8LAAK;IACb,QAAQ,8LAAK;IACb,QAAQ,8LAAK;IACb,MAAM,gMAAO;IACb,OAAO,gMAAO;IACd,OAAO,gMAAO;IACd,UAAU,2LAAE;IACZ,YAAY,2LAAE;IACd,YAAY,2LAAE;IACd,YAAY,2LAAE;IACd,GAAG,2LAAE;IACL,GAAG,2LAAE;IACL,GAAG,2LAAE;IACL,aAAa,2LAAE;IACf,sBAAsB,2LAAE;IACxB,SAAS,8LAAK;IACd,SAAS,2MAAkB;IAC3B,SAAS,2MAAkB;IAC3B,SAAS,2LAAE;AACf","ignoreList":[0]}}, - {"offset": {"line": 2688, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/value/types/maps/number.mjs"],"sourcesContent":["import { int } from '../int.mjs';\nimport { alpha } from '../numbers/index.mjs';\nimport { px } from '../numbers/units.mjs';\nimport { transformValueTypes } from './transform.mjs';\n\nconst numberValueTypes = {\n // Border props\n borderWidth: px,\n borderTopWidth: px,\n borderRightWidth: px,\n borderBottomWidth: px,\n borderLeftWidth: px,\n borderRadius: px,\n radius: px,\n borderTopLeftRadius: px,\n borderTopRightRadius: px,\n borderBottomRightRadius: px,\n borderBottomLeftRadius: px,\n // Positioning props\n width: px,\n maxWidth: px,\n height: px,\n maxHeight: px,\n top: px,\n right: px,\n bottom: px,\n left: px,\n // Spacing props\n padding: px,\n paddingTop: px,\n paddingRight: px,\n paddingBottom: px,\n paddingLeft: px,\n margin: px,\n marginTop: px,\n marginRight: px,\n marginBottom: px,\n marginLeft: px,\n // Misc\n backgroundPositionX: px,\n backgroundPositionY: px,\n ...transformValueTypes,\n zIndex: int,\n // SVG\n fillOpacity: alpha,\n strokeOpacity: alpha,\n numOctaves: int,\n};\n\nexport { numberValueTypes };\n"],"names":[],"mappings":";;;;AAAA;AACA;AACA;AACA;;;;;AAEA,MAAM,mBAAmB;IACrB,eAAe;IACf,aAAa,2LAAE;IACf,gBAAgB,2LAAE;IAClB,kBAAkB,2LAAE;IACpB,mBAAmB,2LAAE;IACrB,iBAAiB,2LAAE;IACnB,cAAc,2LAAE;IAChB,QAAQ,2LAAE;IACV,qBAAqB,2LAAE;IACvB,sBAAsB,2LAAE;IACxB,yBAAyB,2LAAE;IAC3B,wBAAwB,2LAAE;IAC1B,oBAAoB;IACpB,OAAO,2LAAE;IACT,UAAU,2LAAE;IACZ,QAAQ,2LAAE;IACV,WAAW,2LAAE;IACb,KAAK,2LAAE;IACP,OAAO,2LAAE;IACT,QAAQ,2LAAE;IACV,MAAM,2LAAE;IACR,gBAAgB;IAChB,SAAS,2LAAE;IACX,YAAY,2LAAE;IACd,cAAc,2LAAE;IAChB,eAAe,2LAAE;IACjB,aAAa,2LAAE;IACf,QAAQ,2LAAE;IACV,WAAW,2LAAE;IACb,aAAa,2LAAE;IACf,cAAc,2LAAE;IAChB,YAAY,2LAAE;IACd,OAAO;IACP,qBAAqB,2LAAE;IACvB,qBAAqB,2LAAE;IACvB,GAAG,6MAAmB;IACtB,QAAQ,+KAAG;IACX,MAAM;IACN,aAAa,8LAAK;IAClB,eAAe,8LAAK;IACpB,YAAY,+KAAG;AACnB","ignoreList":[0]}}, - {"offset": {"line": 2748, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/value/types/maps/defaults.mjs"],"sourcesContent":["import { color } from '../color/index.mjs';\nimport { filter } from '../complex/filter.mjs';\nimport { numberValueTypes } from './number.mjs';\n\n/**\n * A map of default value types for common values\n */\nconst defaultValueTypes = {\n ...numberValueTypes,\n // Color props\n color,\n backgroundColor: color,\n outlineColor: color,\n fill: color,\n stroke: color,\n // Border props\n borderColor: color,\n borderTopColor: color,\n borderRightColor: color,\n borderBottomColor: color,\n borderLeftColor: color,\n filter,\n WebkitFilter: filter,\n};\n/**\n * Gets the default ValueType for the provided value key\n */\nconst getDefaultValueType = (key) => defaultValueTypes[key];\n\nexport { defaultValueTypes, getDefaultValueType };\n"],"names":[],"mappings":";;;;;;AAAA;AACA;AACA;;;;AAEA;;CAEC,GACD,MAAM,oBAAoB;IACtB,GAAG,uMAAgB;IACnB,cAAc;IACd,OAAA,4LAAK;IACL,iBAAiB,4LAAK;IACtB,cAAc,4LAAK;IACnB,MAAM,4LAAK;IACX,QAAQ,4LAAK;IACb,eAAe;IACf,aAAa,4LAAK;IAClB,gBAAgB,4LAAK;IACrB,kBAAkB,4LAAK;IACvB,mBAAmB,4LAAK;IACxB,iBAAiB,4LAAK;IACtB,QAAA,gMAAM;IACN,cAAc,gMAAM;AACxB;AACA;;CAEC,GACD,MAAM,sBAAsB,CAAC,MAAQ,iBAAiB,CAAC,IAAI","ignoreList":[0]}}, - {"offset": {"line": 2787, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.mjs"],"sourcesContent":["import { complex } from '../complex/index.mjs';\nimport { filter } from '../complex/filter.mjs';\nimport { getDefaultValueType } from '../maps/defaults.mjs';\n\nfunction getAnimatableNone(key, value) {\n let defaultValueType = getDefaultValueType(key);\n if (defaultValueType !== filter)\n defaultValueType = complex;\n // If value is not recognised as animatable, ie \"none\", create an animatable version origin based on the target\n return defaultValueType.getAnimatableNone\n ? defaultValueType.getAnimatableNone(value)\n : undefined;\n}\n\nexport { getAnimatableNone };\n"],"names":[],"mappings":";;;;AAAA;AACA;AACA;;;;AAEA,SAAS,kBAAkB,GAAG,EAAE,KAAK;IACjC,IAAI,mBAAmB,IAAA,4MAAmB,EAAC;IAC3C,IAAI,qBAAqB,gMAAM,EAC3B,mBAAmB,gMAAO;IAC9B,+GAA+G;IAC/G,OAAO,iBAAiB,iBAAiB,GACnC,iBAAiB,iBAAiB,CAAC,SACnC;AACV","ignoreList":[0]}}, - {"offset": {"line": 2808, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.mjs"],"sourcesContent":["import { analyseComplexValue } from '../../../value/types/complex/index.mjs';\nimport { getAnimatableNone } from '../../../value/types/utils/animatable-none.mjs';\n\n/**\n * If we encounter keyframes like \"none\" or \"0\" and we also have keyframes like\n * \"#fff\" or \"200px 200px\" we want to find a keyframe to serve as a template for\n * the \"none\" keyframes. In this case \"#fff\" or \"200px 200px\" - then these get turned into\n * zero equivalents, i.e. \"#fff0\" or \"0px 0px\".\n */\nconst invalidTemplates = new Set([\"auto\", \"none\", \"0\"]);\nfunction makeNoneKeyframesAnimatable(unresolvedKeyframes, noneKeyframeIndexes, name) {\n let i = 0;\n let animatableTemplate = undefined;\n while (i < unresolvedKeyframes.length && !animatableTemplate) {\n const keyframe = unresolvedKeyframes[i];\n if (typeof keyframe === \"string\" &&\n !invalidTemplates.has(keyframe) &&\n analyseComplexValue(keyframe).values.length) {\n animatableTemplate = unresolvedKeyframes[i];\n }\n i++;\n }\n if (animatableTemplate && name) {\n for (const noneIndex of noneKeyframeIndexes) {\n unresolvedKeyframes[noneIndex] = getAnimatableNone(name, animatableTemplate);\n }\n }\n}\n\nexport { makeNoneKeyframesAnimatable };\n"],"names":[],"mappings":";;;;AAAA;AACA;;;AAEA;;;;;CAKC,GACD,MAAM,mBAAmB,IAAI,IAAI;IAAC;IAAQ;IAAQ;CAAI;AACtD,SAAS,4BAA4B,mBAAmB,EAAE,mBAAmB,EAAE,IAAI;IAC/E,IAAI,IAAI;IACR,IAAI,qBAAqB;IACzB,MAAO,IAAI,oBAAoB,MAAM,IAAI,CAAC,mBAAoB;QAC1D,MAAM,WAAW,mBAAmB,CAAC,EAAE;QACvC,IAAI,OAAO,aAAa,YACpB,CAAC,iBAAiB,GAAG,CAAC,aACtB,IAAA,4MAAmB,EAAC,UAAU,MAAM,CAAC,MAAM,EAAE;YAC7C,qBAAqB,mBAAmB,CAAC,EAAE;QAC/C;QACA;IACJ;IACA,IAAI,sBAAsB,MAAM;QAC5B,KAAK,MAAM,aAAa,oBAAqB;YACzC,mBAAmB,CAAC,UAAU,GAAG,IAAA,qNAAiB,EAAC,MAAM;QAC7D;IACJ;AACJ","ignoreList":[0]}}, - {"offset": {"line": 2847, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs"],"sourcesContent":["import { positionalKeys } from '../../render/utils/keys-position.mjs';\nimport { findDimensionValueType } from '../../value/types/dimensions.mjs';\nimport { getVariableValue } from '../utils/css-variables-conversion.mjs';\nimport { isCSSVariableToken } from '../utils/is-css-variable.mjs';\nimport { KeyframeResolver } from './KeyframesResolver.mjs';\nimport { isNone } from './utils/is-none.mjs';\nimport { makeNoneKeyframesAnimatable } from './utils/make-none-animatable.mjs';\nimport { isNumOrPxType, positionalValues } from './utils/unit-conversion.mjs';\n\nclass DOMKeyframesResolver extends KeyframeResolver {\n constructor(unresolvedKeyframes, onComplete, name, motionValue, element) {\n super(unresolvedKeyframes, onComplete, name, motionValue, element, true);\n }\n readKeyframes() {\n const { unresolvedKeyframes, element, name } = this;\n if (!element || !element.current)\n return;\n super.readKeyframes();\n /**\n * If any keyframe is a CSS variable, we need to find its value by sampling the element\n */\n for (let i = 0; i < unresolvedKeyframes.length; i++) {\n let keyframe = unresolvedKeyframes[i];\n if (typeof keyframe === \"string\") {\n keyframe = keyframe.trim();\n if (isCSSVariableToken(keyframe)) {\n const resolved = getVariableValue(keyframe, element.current);\n if (resolved !== undefined) {\n unresolvedKeyframes[i] = resolved;\n }\n if (i === unresolvedKeyframes.length - 1) {\n this.finalKeyframe = keyframe;\n }\n }\n }\n }\n /**\n * Resolve \"none\" values. We do this potentially twice - once before and once after measuring keyframes.\n * This could be seen as inefficient but it's a trade-off to avoid measurements in more situations, which\n * have a far bigger performance impact.\n */\n this.resolveNoneKeyframes();\n /**\n * Check to see if unit type has changed. If so schedule jobs that will\n * temporarily set styles to the destination keyframes.\n * Skip if we have more than two keyframes or this isn't a positional value.\n * TODO: We can throw if there are multiple keyframes and the value type changes.\n */\n if (!positionalKeys.has(name) || unresolvedKeyframes.length !== 2) {\n return;\n }\n const [origin, target] = unresolvedKeyframes;\n const originType = findDimensionValueType(origin);\n const targetType = findDimensionValueType(target);\n /**\n * Either we don't recognise these value types or we can animate between them.\n */\n if (originType === targetType)\n return;\n /**\n * If both values are numbers or pixels, we can animate between them by\n * converting them to numbers.\n */\n if (isNumOrPxType(originType) && isNumOrPxType(targetType)) {\n for (let i = 0; i < unresolvedKeyframes.length; i++) {\n const value = unresolvedKeyframes[i];\n if (typeof value === \"string\") {\n unresolvedKeyframes[i] = parseFloat(value);\n }\n }\n }\n else if (positionalValues[name]) {\n /**\n * Else, the only way to resolve this is by measuring the element.\n */\n this.needsMeasurement = true;\n }\n }\n resolveNoneKeyframes() {\n const { unresolvedKeyframes, name } = this;\n const noneKeyframeIndexes = [];\n for (let i = 0; i < unresolvedKeyframes.length; i++) {\n if (unresolvedKeyframes[i] === null ||\n isNone(unresolvedKeyframes[i])) {\n noneKeyframeIndexes.push(i);\n }\n }\n if (noneKeyframeIndexes.length) {\n makeNoneKeyframesAnimatable(unresolvedKeyframes, noneKeyframeIndexes, name);\n }\n }\n measureInitialState() {\n const { element, unresolvedKeyframes, name } = this;\n if (!element || !element.current)\n return;\n if (name === \"height\") {\n this.suspendedScrollY = window.pageYOffset;\n }\n this.measuredOrigin = positionalValues[name](element.measureViewportBox(), window.getComputedStyle(element.current));\n unresolvedKeyframes[0] = this.measuredOrigin;\n // Set final key frame to measure after next render\n const measureKeyframe = unresolvedKeyframes[unresolvedKeyframes.length - 1];\n if (measureKeyframe !== undefined) {\n element.getValue(name, measureKeyframe).jump(measureKeyframe, false);\n }\n }\n measureEndState() {\n const { element, name, unresolvedKeyframes } = this;\n if (!element || !element.current)\n return;\n const value = element.getValue(name);\n value && value.jump(this.measuredOrigin, false);\n const finalKeyframeIndex = unresolvedKeyframes.length - 1;\n const finalKeyframe = unresolvedKeyframes[finalKeyframeIndex];\n unresolvedKeyframes[finalKeyframeIndex] = positionalValues[name](element.measureViewportBox(), window.getComputedStyle(element.current));\n if (finalKeyframe !== null && this.finalKeyframe === undefined) {\n this.finalKeyframe = finalKeyframe;\n }\n // If we removed transform values, reapply them before the next render\n if (this.removedTransforms?.length) {\n this.removedTransforms.forEach(([unsetTransformName, unsetTransformValue]) => {\n element\n .getValue(unsetTransformName)\n .set(unsetTransformValue);\n });\n }\n this.resolveNoneKeyframes();\n }\n}\n\nexport { DOMKeyframesResolver };\n"],"names":[],"mappings":";;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AAEA,MAAM,6BAA6B,kNAAgB;IAC/C,YAAY,mBAAmB,EAAE,UAAU,EAAE,IAAI,EAAE,WAAW,EAAE,OAAO,CAAE;QACrE,KAAK,CAAC,qBAAqB,YAAY,MAAM,aAAa,SAAS;IACvE;IACA,gBAAgB;QACZ,MAAM,EAAE,mBAAmB,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG,IAAI;QACnD,IAAI,CAAC,WAAW,CAAC,QAAQ,OAAO,EAC5B;QACJ,KAAK,CAAC;QACN;;SAEC,GACD,IAAK,IAAI,IAAI,GAAG,IAAI,oBAAoB,MAAM,EAAE,IAAK;YACjD,IAAI,WAAW,mBAAmB,CAAC,EAAE;YACrC,IAAI,OAAO,aAAa,UAAU;gBAC9B,WAAW,SAAS,IAAI;gBACxB,IAAI,IAAA,oNAAkB,EAAC,WAAW;oBAC9B,MAA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oB;gBACrE,QACK,QAAQ,CAAC,oBACT,GAAG,CAAC;YACb;QACJ;QACA,IAAI,CAAC,oBAAoB;IAC7B;AACJ","ignoreList":[0]}}, - {"offset": {"line": 2978, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/value/utils/is-motion-value.mjs"],"sourcesContent":["const isMotionValue = (value) => Boolean(value && value.getVelocity);\n\nexport { isMotionValue };\n"],"names":[],"mappings":";;;;AAAA,MAAM,gBAAgB,CAAC,QAAU,QAAQ,SAAS,MAAM,WAAW","ignoreList":[0]}}, - {"offset": {"line": 2988, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/frameloop/sync-time.mjs"],"sourcesContent":["import { MotionGlobalConfig } from 'motion-utils';\nimport { frameData } from './frame.mjs';\n\nlet now;\nfunction clearTime() {\n now = undefined;\n}\n/**\n * An eventloop-synchronous alternative to performance.now().\n *\n * Ensures that time measurements remain consistent within a synchronous context.\n * Usually calling performance.now() twice within the same synchronous context\n * will return different values which isn't useful for animations when we're usually\n * trying to sync animations to the same frame.\n */\nconst time = {\n now: () => {\n if (now === undefined) {\n time.set(frameData.isProcessing || MotionGlobalConfig.useManualTiming\n ? frameData.timestamp\n : performance.now());\n }\n return now;\n },\n set: (newTime) => {\n now = newTime;\n queueMicrotask(clearTime);\n },\n};\n\nexport { time };\n"],"names":[],"mappings":";;;;AAAA;AACA;;;AAEA,IAAI;AACJ,SAAS;IACL,MAAM;AACV;AACA;;;;;;;CAOC,GACD,MAAM,OAAO;IACT,KAAK;QACD,IAAI,QAAQ,WAAW;YACnB,KAAK,GAAG,CAAC,kLAAS,CAAC,YAAY,IAAI,2LAAkB,CAAC,eAAe,GAC/D,kLAAS,CAAC,SAAS,GACnB,YAAY,GAAG;QACzB;QACA,OAAO;IACX;IACA,KAAK,CAAC;QACF,MAAM;QACN,eAAe;IACnB;AACJ","ignoreList":[0]}}, - {"offset": {"line": 3024, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-utils/dist/es/warn-once.mjs"],"sourcesContent":["import { formatErrorMessage } from './format-error-message.mjs';\n\nconst warned = new Set();\nfunction hasWarned(message) {\n return warned.has(message);\n}\nfunction warnOnce(condition, message, errorCode) {\n if (condition || warned.has(message))\n return;\n console.warn(formatErrorMessage(message, errorCode));\n warned.add(message);\n}\n\nexport { hasWarned, warnOnce };\n"],"names":[],"mappings":";;;;;;AAAA;;AAEA,MAAM,SAAS,IAAI;AACnB,SAAS,UAAU,OAAO;IACtB,OAAO,OAAO,GAAG,CAAC;AACtB;AACA,SAAS,SAAS,SAAS,EAAE,OAAO,EAAE,SAAS;IAC3C,IAAI,aAAa,OAAO,GAAG,CAAC,UACxB;IACJ,QAAQ,IAAI,CAAC,IAAA,qMAAkB,EAAC,SAAS;IACzC,OAAO,GAAG,CAAC;AACf","ignoreList":[0]}}, - {"offset": {"line": 3046, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-utils/dist/es/array.mjs"],"sourcesContent":["function addUniqueItem(arr, item) {\n if (arr.indexOf(item) === -1)\n arr.push(item);\n}\nfunction removeItem(arr, item) {\n const index = arr.indexOf(item);\n if (index > -1)\n arr.splice(index, 1);\n}\n// Adapted from array-move\nfunction moveItem([...arr], fromIndex, toIndex) {\n const startIndex = fromIndex < 0 ? arr.length + fromIndex : fromIndex;\n if (startIndex >= 0 && startIndex < arr.length) {\n const endIndex = toIndex < 0 ? arr.length + toIndex : toIndex;\n const [item] = arr.splice(fromIndex, 1);\n arr.splice(endIndex, 0, item);\n }\n return arr;\n}\n\nexport { addUniqueItem, moveItem, removeItem };\n"],"names":[],"mappings":";;;;;;;;AAAA,SAAS,cAAc,GAAG,EAAE,IAAI;IAC5B,IAAI,IAAI,OAAO,CAAC,UAAU,CAAC,GACvB,IAAI,IAAI,CAAC;AACjB;AACA,SAAS,WAAW,GAAG,EAAE,IAAI;IACzB,MAAM,QAAQ,IAAI,OAAO,CAAC;IAC1B,IAAI,QAAQ,CAAC,GACT,IAAI,MAAM,CAAC,OAAO;AAC1B;AACA,0BAA0B;AAC1B,SAAS,SAAS,CAAC,GAAG,IAAI,EAAE,SAAS,EAAE,OAAO;IAC1C,MAAM,aAAa,YAAY,IAAI,IAAI,MAAM,GAAG,YAAY;IAC5D,IAAI,cAAc,KAAK,aAAa,IAAI,MAAM,EAAE;QAC5C,MAAM,WAAW,UAAU,IAAI,IAAI,MAAM,GAAG,UAAU;QACtD,MAAM,CAAC,KAAK,GAAG,IAAI,MAAM,CAAC,WAAW;QACrC,IAAI,MAAM,CAAC,UAAU,GAAG;IAC5B;IACA,OAAO;AACX","ignoreList":[0]}}, - {"offset": {"line": 3076, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-utils/dist/es/subscription-manager.mjs"],"sourcesContent":["import { addUniqueItem, removeItem } from './array.mjs';\n\nclass SubscriptionManager {\n constructor() {\n this.subscriptions = [];\n }\n add(handler) {\n addUniqueItem(this.subscriptions, handler);\n return () => removeItem(this.subscriptions, handler);\n }\n notify(a, b, c) {\n const numSubscriptions = this.subscriptions.length;\n if (!numSubscriptions)\n return;\n if (numSubscriptions === 1) {\n /**\n * If there's only a single handler we can just call it without invoking a loop.\n */\n this.subscriptions[0](a, b, c);\n }\n else {\n for (let i = 0; i < numSubscriptions; i++) {\n /**\n * Check whether the handler exists before firing as it's possible\n * the subscriptions were modified during this loop running.\n */\n const handler = this.subscriptions[i];\n handler && handler(a, b, c);\n }\n }\n }\n getSize() {\n return this.subscriptions.length;\n }\n clear() {\n this.subscriptions.length = 0;\n }\n}\n\nexport { SubscriptionManager };\n"],"names":[],"mappings":";;;;AAAA;;AAEA,MAAM;IACF,aAAc;QACV,IAAI,CAAC,aAAa,GAAG,EAAE;IAC3B;IACA,IAAI,OAAO,EAAE;QACT,IAAA,2KAAa,EAAC,IAAI,CAAC,aAAa,EAAE;QAClC,OAAO,IAAM,IAAA,wKAAU,EAAC,IAAI,CAAC,aAAa,EAAE;IAChD;IACA,OAAO,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE;QACZ,MAAM,mBAAmB,IAAI,CAAC,aAAa,CAAC,MAAM;QAClD,IAAI,CAAC,kBACD;QACJ,IAAI,qBAAqB,GAAG;YACxB;;aAEC,GACD,IAAI,CAAC,aAAa,CAAC,EAAE,CAAC,GAAG,GAAG;QAChC,OACK;YACD,IAAK,IAAI,IAAI,GAAG,IAAI,kBAAkB,IAAK;gBACvC;;;iBAGC,GACD,MAAM,UAAU,IAAI,CAAC,aAAa,CAAC,EAAE;gBACrC,WAAW,QAAQ,GAAG,GAAG;YAC7B;QACJ;IACJ;IACA,UAAU;QACN,OAAO,IAAI,CAAC,aAAa,CAAC,MAAM;IACpC;IACA,QAAQ;QACJ,IAAI,CAAC,aAAa,CAAC,MAAM,GAAG;IAChC;AACJ","ignoreList":[0]}}, - {"offset": {"line": 3119, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-utils/dist/es/velocity-per-second.mjs"],"sourcesContent":["/*\n Convert velocity into velocity per second\n\n @param [number]: Unit per frame\n @param [number]: Frame duration in ms\n*/\nfunction velocityPerSecond(velocity, frameDuration) {\n return frameDuration ? velocity * (1000 / frameDuration) : 0;\n}\n\nexport { velocityPerSecond };\n"],"names":[],"mappings":";;;;AAAA;;;;;AAKA,GACA,SAAS,kBAAkB,QAAQ,EAAE,aAAa;IAC9C,OAAO,gBAAgB,WAAW,CAAC,OAAO,aAAa,IAAI;AAC/D","ignoreList":[0]}}, - {"offset": {"line": 3136, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/value/index.mjs"],"sourcesContent":["import { warnOnce, SubscriptionManager, velocityPerSecond } from 'motion-utils';\nimport { time } from '../frameloop/sync-time.mjs';\nimport { frame } from '../frameloop/frame.mjs';\n\n/**\n * Maximum time between the value of two frames, beyond which we\n * assume the velocity has since been 0.\n */\nconst MAX_VELOCITY_DELTA = 30;\nconst isFloat = (value) => {\n return !isNaN(parseFloat(value));\n};\nconst collectMotionValues = {\n current: undefined,\n};\n/**\n * `MotionValue` is used to track the state and velocity of motion values.\n *\n * @public\n */\nclass MotionValue {\n /**\n * @param init - The initiating value\n * @param config - Optional configuration options\n *\n * - `transformer`: A function to transform incoming values with.\n */\n constructor(init, options = {}) {\n /**\n * Tracks whether this value can output a velocity. Currently this is only true\n * if the value is numerical, but we might be able to widen the scope here and support\n * other value types.\n *\n * @internal\n */\n this.canTrackVelocity = null;\n /**\n * An object containing a SubscriptionManager for each active event.\n */\n this.events = {};\n this.updateAndNotify = (v) => {\n const currentTime = time.now();\n /**\n * If we're updating the value during another frame or eventloop\n * than the previous frame, then the we set the previous frame value\n * to current.\n */\n if (this.updatedAt !== currentTime) {\n this.setPrevFrameValue();\n }\n this.prev = this.current;\n this.setCurrent(v);\n // Update update subscribers\n if (this.current !== this.prev) {\n this.events.change?.notify(this.current);\n if (this.dependents) {\n for (const dependent of this.dependents) {\n dependent.dirty();\n }\n }\n }\n };\n this.hasAnimated = false;\n this.setCurrent(init);\n this.owner = options.owner;\n }\n setCurrent(current) {\n this.current = current;\n this.updatedAt = time.now();\n if (this.canTrackVelocity === null && current !== undefined) {\n this.canTrackVelocity = isFloat(this.current);\n }\n }\n setPrevFrameValue(prevFrameValue = this.current) {\n this.prevFrameValue = prevFrameValue;\n this.prevUpdatedAt = this.updatedAt;\n }\n /**\n * Adds a function that will be notified when the `MotionValue` is updated.\n *\n * It returns a function that, when called, will cancel the subscription.\n *\n * When calling `onChange` inside a React component, it should be wrapped with the\n * `useEffect` hook. As it returns an unsubscribe function, this should be returned\n * from the `useEffect` function to ensure you don't add duplicate subscribers..\n *\n * ```jsx\n * export const MyComponent = () => {\n * const x = useMotionValue(0)\n * const y = useMotionValue(0)\n * const opacity = useMotionValue(1)\n *\n * useEffect(() => {\n * function updateOpacity() {\n * const maxXY = Math.max(x.get(), y.get())\n * const newOpacity = transform(maxXY, [0, 100], [1, 0])\n * opacity.set(newOpacity)\n * }\n *\n * const unsubscribeX = x.on(\"change\", updateOpacity)\n * const unsubscribeY = y.on(\"change\", updateOpacity)\n *\n * return () => {\n * unsubscribeX()\n * unsubscribeY()\n * }\n * }, [])\n *\n * return <motion.div style={{ x }} />\n * }\n * ```\n *\n * @param subscriber - A function that receives the latest value.\n * @returns A function that, when called, will cancel this subscription.\n *\n * @deprecated\n */\n onChange(subscription) {\n if (process.env.NODE_ENV !== \"production\") {\n warnOnce(false, `value.onChange(callback) is deprecated. Switch to value.on(\"change\", callback).`);\n }\n return this.on(\"change\", subscription);\n }\n on(eventName, callback) {\n if (!this.events[eventName]) {\n this.events[eventName] = new SubscriptionManager();\n }\n const unsubscribe = this.events[eventName].add(callback);\n if (eventName === \"change\") {\n return () => {\n unsubscribe();\n /**\n * If we have no more change listeners by the start\n * of the next frame, stop active animations.\n */\n frame.read(() => {\n if (!this.events.change.getSize()) {\n this.stop();\n }\n });\n };\n }\n return unsubscribe;\n }\n clearListeners() {\n for (const eventManagers in this.events) {\n this.events[eventManagers].clear();\n }\n }\n /**\n * Attaches a passive effect to the `MotionValue`.\n */\n attach(passiveEffect, stopPassiveEffect) {\n this.passiveEffect = passiveEffect;\n this.stopPassiveEffect = stopPassiveEffect;\n }\n /**\n * Sets the state of the `MotionValue`.\n *\n * @remarks\n *\n * ```jsx\n * const x = useMotionValue(0)\n * x.set(10)\n * ```\n *\n * @param latest - Latest value to set.\n * @param render - Whether to notify render subscribers. Defaults to `true`\n *\n * @public\n */\n set(v) {\n if (!this.passiveEffect) {\n this.updateAndNotify(v);\n }\n else {\n this.passiveEffect(v, this.updateAndNotify);\n }\n }\n setWithVelocity(prev, current, delta) {\n this.set(current);\n this.prev = undefined;\n this.prevFrameValue = prev;\n this.prevUpdatedAt = this.updatedAt - delta;\n }\n /**\n * Set the state of the `MotionValue`, stopping any active animations,\n * effects, and resets velocity to `0`.\n */\n jump(v, endAnimation = true) {\n this.updateAndNotify(v);\n this.prev = v;\n this.prevUpdatedAt = this.prevFrameValue = undefined;\n endAnimation && this.stop();\n if (this.stopPassiveEffect)\n this.stopPassiveEffect();\n }\n dirty() {\n this.events.change?.notify(this.current);\n }\n addDependent(dependent) {\n if (!this.dependents) {\n this.dependents = new Set();\n }\n this.dependents.add(dependent);\n }\n removeDependent(dependent) {\n if (this.dependents) {\n this.dependents.delete(dependent);\n }\n }\n /**\n * Returns the latest state of `MotionValue`\n *\n * @returns - The latest state of `MotionValue`\n *\n * @public\n */\n get() {\n if (collectMotionValues.current) {\n collectMotionValues.current.push(this);\n }\n return this.current;\n }\n /**\n * @public\n */\n getPrevious() {\n return this.prev;\n }\n /**\n * Returns the latest velocity of `MotionValue`\n *\n * @returns - The latest velocity of `MotionValue`. Returns `0` if the state is non-numerical.\n *\n * @public\n */\n getVelocity() {\n const currentTime = time.now();\n if (!this.canTrackVelocity ||\n this.prevFrameValue === undefined ||\n currentTime - this.updatedAt > MAX_VELOCITY_DELTA) {\n return 0;\n }\n const delta = Math.min(this.updatedAt - this.prevUpdatedAt, MAX_VELOCITY_DELTA);\n // Casts because of parseFloat's poor typing\n return velocityPerSecond(parseFloat(this.current) -\n parseFloat(this.prevFrameValue), delta);\n }\n /**\n * Registers a new animation to control this `MotionValue`. Only one\n * animation can drive a `MotionValue` at one time.\n *\n * ```jsx\n * value.start()\n * ```\n *\n * @param animation - A function that starts the provided animation\n */\n start(startAnimation) {\n this.stop();\n return new Promise((resolve) => {\n this.hasAnimated = true;\n this.animation = startAnimation(resolve);\n if (this.events.animationStart) {\n this.events.animationStart.notify();\n }\n }).then(() => {\n if (this.events.animationComplete) {\n this.events.animationComplete.notify();\n }\n this.clearAnimation();\n });\n }\n /**\n * Stop the currently active animation.\n *\n * @public\n */\n stop() {\n if (this.animation) {\n this.animation.stop();\n if (this.events.animationCancel) {\n this.events.animationCancel.notify();\n }\n }\n this.clearAnimation();\n }\n /**\n * Returns `true` if this value is currently animating.\n *\n * @public\n */\n isAnimating() {\n return !!this.animation;\n }\n clearAnimation() {\n delete this.animation;\n }\n /**\n * Destroy and clean up subscribers to this `MotionValue`.\n *\n * The `MotionValue` hooks like `useMotionValue` and `useTransform` automatically\n * handle the lifecycle of the returned `MotionValue`, so this method is only necessary if you've manually\n * created a `MotionValue` via the `motionValue` function.\n *\n * @public\n */\n destroy() {\n this.dependents?.clear();\n this.events.destroy?.notify();\n this.clearListeners();\n this.stop();\n if (this.stopPassiveEffect) {\n this.stopPassiveEffect();\n }\n }\n}\nfunction motionValue(init, options) {\n return new MotionValue(init, options);\n}\n\nexport { MotionValue, collectMotionValues, motionValue };\n"],"names":[],"mappings":";;;;;;;;AAsHY;AAtHZ;AAAA;AAAA;AACA;AACA;;;;AAEA;;;CAGC,GACD,MAAM,qBAAqB;AAC3B,MAAM,UAAU,CAAC;IACb,OAAO,CAAC,MAAM,WAAW;AAC7B;AACA,MAAM,sBAAsB;IACxB,SAAS;AACb;AACA;;;;CAIC,GACD,MAAM;IACF;;;;;KAKC,GACD,YAAY,IAAI,EAAE,UAAU,CAAC,CAAC,CAAE;QAC5B;;;;;;SAMC,GACD,IAAI,CAAC,gBAAgB,GAAG;QACxB;;SAEC,GACD,IAAI,CAAC,MAAM,GAAG,CAAC;QACf,IAAI,CAAC,eAAe,GAAG,CAAC;YACpB,MAAM,cAAc,oLAAI,CAAC,GAAG;YAC5B;;;;aAIC,GACD,IAAI,IAAI,CAAC,SAAS,KAAK,aAAa;gBAChC,IAAI,CAAC,iBAAiB;YAC1B;YACA,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,OAAO;YACxB,IAAI,CAAC,UAAU,CAAC;YAChB,4BAA4B;YAC5B,IAAI,IAAI,CAAC,OAAO,KAAK,IAAI,CAAC,IAAI,EAAE;gBAC5B,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,IAAI,CAAC,OAAO;gBACvC,I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AC,MAAM,CAAC,eAAe,CAAC,MAAM;YACtC;QACJ;QACA,IAAI,CAAC,cAAc;IACvB;IACA;;;;KAIC,GACD,cAAc;QACV,OAAO,CAAC,CAAC,IAAI,CAAC,SAAS;IAC3B;IACA,iBAAiB;QACb,OAAO,IAAI,CAAC,SAAS;IACzB;IACA;;;;;;;;KAQC,GACD,UAAU;QACN,IAAI,CAAC,UAAU,EAAE;QACjB,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE;QACrB,IAAI,CAAC,cAAc;QACnB,IAAI,CAAC,IAAI;QACT,IAAI,IAAI,CAAC,iBAAiB,EAAE;YACxB,IAAI,CAAC,iBAAiB;QAC1B;IACJ;AACJ;AACA,SAAS,YAAY,IAAI,EAAE,OAAO;IAC9B,OAAO,IAAI,YAAY,MAAM;AACjC","ignoreList":[0]}}, - {"offset": {"line": 3452, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/value/types/utils/find.mjs"],"sourcesContent":["import { color } from '../color/index.mjs';\nimport { complex } from '../complex/index.mjs';\nimport { dimensionValueTypes } from '../dimensions.mjs';\nimport { testValueType } from '../test.mjs';\n\n/**\n * A list of all ValueTypes\n */\nconst valueTypes = [...dimensionValueTypes, color, complex];\n/**\n * Tests a value against the list of ValueTypes\n */\nconst findValueType = (v) => valueTypes.find(testValueType(v));\n\nexport { findValueType };\n"],"names":[],"mappings":";;;;AAAA;AACA;AACA;AACA;;;;;AAEA;;CAEC,GACD,MAAM,aAAa;OAAI,sMAAmB;IAAE,4LAAK;IAAE,gMAAO;CAAC;AAC3D;;CAEC,GACD,MAAM,gBAAgB,CAAC,IAAM,WAAW,IAAI,CAAC,IAAA,0LAAa,EAAC","ignoreList":[0]}}, - {"offset": {"line": 3479, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/frameloop/microtask.mjs"],"sourcesContent":["import { createRenderBatcher } from './batcher.mjs';\n\nconst { schedule: microtask, cancel: cancelMicrotask } = \n/* @__PURE__ */ createRenderBatcher(queueMicrotask, false);\n\nexport { cancelMicrotask, microtask };\n"],"names":[],"mappings":";;;;;;AAAA;;AAEA,MAAM,EAAE,UAAU,SAAS,EAAE,QAAQ,eAAe,EAAE,GACtD,aAAa,GAAG,IAAA,8LAAmB,EAAC,gBAAgB","ignoreList":[0]}}, - {"offset": {"line": 3493, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/motion/features/definitions.mjs"],"sourcesContent":["const featureProps = {\n animation: [\n \"animate\",\n \"variants\",\n \"whileHover\",\n \"whileTap\",\n \"exit\",\n \"whileInView\",\n \"whileFocus\",\n \"whileDrag\",\n ],\n exit: [\"exit\"],\n drag: [\"drag\", \"dragControls\"],\n focus: [\"whileFocus\"],\n hover: [\"whileHover\", \"onHoverStart\", \"onHoverEnd\"],\n tap: [\"whileTap\", \"onTap\", \"onTapStart\", \"onTapCancel\"],\n pan: [\"onPan\", \"onPanStart\", \"onPanSessionStart\", \"onPanEnd\"],\n inView: [\"whileInView\", \"onViewportEnter\", \"onViewportLeave\"],\n layout: [\"layout\", \"layoutId\"],\n};\nconst featureDefinitions = {};\nfor (const key in featureProps) {\n featureDefinitions[key] = {\n isEnabled: (props) => featureProps[key].some((name) => !!props[name]),\n };\n}\n\nexport { featureDefinitions };\n"],"names":[],"mappings":";;;;AAAA,MAAM,eAAe;IACjB,WAAW;QACP;QACA;QACA;QACA;QACA;QACA;QACA;QACA;KACH;IACD,MAAM;QAAC;KAAO;IACd,MAAM;QAAC;QAAQ;KAAe;IAC9B,OAAO;QAAC;KAAa;IACrB,OAAO;QAAC;QAAc;QAAgB;KAAa;IACnD,KAAK;QAAC;QAAY;QAAS;QAAc;KAAc;IACvD,KAAK;QAAC;QAAS;QAAc;QAAqB;KAAW;IAC7D,QAAQ;QAAC;QAAe;QAAmB;KAAkB;IAC7D,QAAQ;QAAC;QAAU;KAAW;AAClC;AACA,MAAM,qBAAqB,CAAC;AAC5B,IAAK,MAAM,OAAO,aAAc;IAC5B,kBAAkB,CAAC,IAAI,GAAG;QACtB,WAAW,CAAC,QAAU,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,OAAS,CAAC,CAAC,KAAK,CAAC,KAAK;IACxE;AACJ","ignoreList":[0]}}, - {"offset": {"line": 3556, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/projection/geometry/models.mjs"],"sourcesContent":["const createAxisDelta = () => ({\n translate: 0,\n scale: 1,\n origin: 0,\n originPoint: 0,\n});\nconst createDelta = () => ({\n x: createAxisDelta(),\n y: createAxisDelta(),\n});\nconst createAxis = () => ({ min: 0, max: 0 });\nconst createBox = () => ({\n x: createAxis(),\n y: createAxis(),\n});\n\nexport { createAxis, createAxisDelta, createBox, createDelta };\n"],"names":[],"mappings":";;;;;;;;;;AAAA,MAAM,kBAAkB,IAAM,CAAC;QAC3B,WAAW;QACX,OAAO;QACP,QAAQ;QACR,aAAa;IACjB,CAAC;AACD,MAAM,cAAc,IAAM,CAAC;QACvB,GAAG;QACH,GAAG;IACP,CAAC;AACD,MAAM,aAAa,IAAM,CAAC;QAAE,KAAK;QAAG,KAAK;IAAE,CAAC;AAC5C,MAAM,YAAY,IAAM,CAAC;QACrB,GAAG;QACH,GAAG;IACP,CAAC","ignoreList":[0]}}, - {"offset": {"line": 3589, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/utils/reduced-motion/state.mjs"],"sourcesContent":["// Does this device prefer reduced motion? Returns `null` server-side.\nconst prefersReducedMotion = { current: null };\nconst hasReducedMotionListener = { current: false };\n\nexport { hasReducedMotionListener, prefersReducedMotion };\n"],"names":[],"mappings":";;;;;;AAAA,sEAAsE;AACtE,MAAM,uBAAuB;IAAE,SAAS;AAAK;AAC7C,MAAM,2BAA2B;IAAE,SAAS;AAAM","ignoreList":[0]}}, - {"offset": {"line": 3607, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/utils/reduced-motion/index.mjs"],"sourcesContent":["import { isBrowser } from '../is-browser.mjs';\nimport { hasReducedMotionListener, prefersReducedMotion } from './state.mjs';\n\nfunction initPrefersReducedMotion() {\n hasReducedMotionListener.current = true;\n if (!isBrowser)\n return;\n if (window.matchMedia) {\n const motionMediaQuery = window.matchMedia(\"(prefers-reduced-motion)\");\n const setReducedMotionPreferences = () => (prefersReducedMotion.current = motionMediaQuery.matches);\n motionMediaQuery.addEventListener(\"change\", setReducedMotionPreferences);\n setReducedMotionPreferences();\n }\n else {\n prefersReducedMotion.current = false;\n }\n}\n\nexport { initPrefersReducedMotion };\n"],"names":[],"mappings":";;;;AAAA;AACA;;;AAEA,SAAS;IACL,qNAAwB,CAAC,OAAO,GAAG;IACnC,IAAI,CAAC,yLAAS,EACV;IACJ,IAAI,OAAO,UAAU,EAAE;QACnB,MAAM,mBAAmB,OAAO,UAAU,CAAC;QAC3C,MAAM,8BAA8B,IAAO,iNAAoB,CAAC,OAAO,GAAG,iBAAiB,OAAO;QAClG,iBAAiB,gBAAgB,CAAC,UAAU;QAC5C;IACJ,OACK;QACD,iNAAoB,CAAC,OAAO,GAAG;IACnC;AACJ","ignoreList":[0]}}, - {"offset": {"line": 3632, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/store.mjs"],"sourcesContent":["const visualElementStore = new WeakMap();\n\nexport { visualElementStore };\n"],"names":[],"mappings":";;;;AAAA,MAAM,qBAAqB,IAAI","ignoreList":[0]}}, - {"offset": {"line": 3642, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.mjs"],"sourcesContent":["function isAnimationControls(v) {\n return (v !== null &&\n typeof v === \"object\" &&\n typeof v.start === \"function\");\n}\n\nexport { isAnimationControls };\n"],"names":[],"mappings":";;;;AAAA,SAAS,oBAAoB,CAAC;IAC1B,OAAQ,MAAM,QACV,OAAO,MAAM,YACb,OAAO,EAAE,KAAK,KAAK;AAC3B","ignoreList":[0]}}, - {"offset": {"line": 3654, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/utils/is-variant-label.mjs"],"sourcesContent":["/**\n * Decides if the supplied variable is variant label\n */\nfunction isVariantLabel(v) {\n return typeof v === \"string\" || Array.isArray(v);\n}\n\nexport { isVariantLabel };\n"],"names":[],"mappings":";;;;AAAA;;CAEC,GACD,SAAS,eAAe,CAAC;IACrB,OAAO,OAAO,MAAM,YAAY,MAAM,OAAO,CAAC;AAClD","ignoreList":[0]}}, - {"offset": {"line": 3668, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/utils/variant-props.mjs"],"sourcesContent":["const variantPriorityOrder = [\n \"animate\",\n \"whileInView\",\n \"whileFocus\",\n \"whileHover\",\n \"whileTap\",\n \"whileDrag\",\n \"exit\",\n];\nconst variantProps = [\"initial\", ...variantPriorityOrder];\n\nexport { variantPriorityOrder, variantProps };\n"],"names":[],"mappings":";;;;;;AAAA,MAAM,uBAAuB;IACzB;IACA;IACA;IACA;IACA;IACA;IACA;CACH;AACD,MAAM,eAAe;IAAC;OAAc;CAAqB","ignoreList":[0]}}, - {"offset": {"line": 3692, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.mjs"],"sourcesContent":["import { isAnimationControls } from '../../animation/utils/is-animation-controls.mjs';\nimport { isVariantLabel } from './is-variant-label.mjs';\nimport { variantProps } from './variant-props.mjs';\n\nfunction isControllingVariants(props) {\n return (isAnimationControls(props.animate) ||\n variantProps.some((name) => isVariantLabel(props[name])));\n}\nfunction isVariantNode(props) {\n return Boolean(isControllingVariants(props) || props.variants);\n}\n\nexport { isControllingVariants, isVariantNode };\n"],"names":[],"mappings":";;;;;;AAAA;AACA;AACA;;;;AAEA,SAAS,sBAAsB,KAAK;IAChC,OAAQ,IAAA,8NAAmB,EAAC,MAAM,OAAO,KACrC,yMAAY,CAAC,IAAI,CAAC,CAAC,OAAS,IAAA,iNAAc,EAAC,KAAK,CAAC,KAAK;AAC9D;AACA,SAAS,cAAc,KAAK;IACxB,OAAO,QAAQ,sBAAsB,UAAU,MAAM,QAAQ;AACjE","ignoreList":[0]}}, - {"offset": {"line": 3715, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/utils/motion-values.mjs"],"sourcesContent":["import { isMotionValue, motionValue } from 'motion-dom';\n\nfunction updateMotionValuesFromProps(element, next, prev) {\n for (const key in next) {\n const nextValue = next[key];\n const prevValue = prev[key];\n if (isMotionValue(nextValue)) {\n /**\n * If this is a motion value found in props or style, we want to add it\n * to our visual element's motion value map.\n */\n element.addValue(key, nextValue);\n }\n else if (isMotionValue(prevValue)) {\n /**\n * If we're swapping from a motion value to a static value,\n * create a new motion value from that\n */\n element.addValue(key, motionValue(nextValue, { owner: element }));\n }\n else if (prevValue !== nextValue) {\n /**\n * If this is a flat value that has changed, update the motion value\n * or create one if it doesn't exist. We only want to do this if we're\n * not handling the value with our animation state.\n */\n if (element.hasValue(key)) {\n const existingValue = element.getValue(key);\n if (existingValue.liveStyle === true) {\n existingValue.jump(nextValue);\n }\n else if (!existingValue.hasAnimated) {\n existingValue.set(nextValue);\n }\n }\n else {\n const latestValue = element.getStaticValue(key);\n element.addValue(key, motionValue(latestValue !== undefined ? latestValue : nextValue, { owner: element }));\n }\n }\n }\n // Handle removed values\n for (const key in prev) {\n if (next[key] === undefined)\n element.removeValue(key);\n }\n return next;\n}\n\nexport { updateMotionValuesFromProps };\n"],"names":[],"mappings":";;;;AAAA;AAAA;;AAEA,SAAS,4BAA4B,OAAO,EAAE,IAAI,EAAE,IAAI;IACpD,IAAK,MAAM,OAAO,KAAM;QACpB,MAAM,YAAY,IAAI,CAAC,IAAI;QAC3B,MAAM,YAAY,IAAI,CAAC,IAAI;QAC3B,IAAI,IAAA,2MAAa,EAAC,YAAY;YAC1B;;;aAGC,GACD,QAAQ,QAAQ,CAAC,KAAK;QAC1B,OACK,IAAI,IAAA,2MAAa,EAAC,YAAY;YAC/B;;;aAGC,GACD,QAAQ,QAAQ,CAAC,KAAK,IAAA,gLAAW,EAAC,WAAW;gBAAE,OAAO;YAAQ;QAClE,OACK,IAAI,cAAc,WAAW;YAC9B;;;;aAIC,GACD,IAAI,QAAQ,QAAQ,CAAC,MAAM;gBACvB,MAAM,gBAAgB,QAAQ,QAAQ,CAAC;gBACvC,IAAI,cAAc,SAAS,KAAK,MAAM;oBAClC,cAAc,IAAI,CAAC;gBACvB,OACK,IAAI,CAAC,cAAc,WAAW,EAAE;oBACjC,cAAc,GAAG,CAAC;gBACtB;YACJ,OACK;gBACD,MAAM,cAAc,QAAQ,cAAc,CAAC;gBAC3C,QAAQ,QAAQ,CAAC,KAAK,IAAA,gLAAW,EAAC,gBAAgB,YAAY,cAAc,WAAW;oBAAE,OAAO;gBAAQ;YAC5G;QACJ;IACJ;IACA,wBAAwB;IACxB,IAAK,MAAM,OAAO,KAAM;QACpB,IAAI,IAAI,CAAC,IAAI,KAAK,WACd,QAAQ,WAAW,CAAC;IAC5B;IACA,OAAO;AACX","ignoreList":[0]}}, - {"offset": {"line": 3769, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/utils/resolve-variants.mjs"],"sourcesContent":["function getValueState(visualElement) {\n const state = [{}, {}];\n visualElement?.values.forEach((value, key) => {\n state[0][key] = value.get();\n state[1][key] = value.getVelocity();\n });\n return state;\n}\nfunction resolveVariantFromProps(props, definition, custom, visualElement) {\n /**\n * If the variant definition is a function, resolve.\n */\n if (typeof definition === \"function\") {\n const [current, velocity] = getValueState(visualElement);\n definition = definition(custom !== undefined ? custom : props.custom, current, velocity);\n }\n /**\n * If the variant definition is a variant label, or\n * the function returned a variant label, resolve.\n */\n if (typeof definition === \"string\") {\n definition = props.variants && props.variants[definition];\n }\n /**\n * At this point we've resolved both functions and variant labels,\n * but the resolved variant label might itself have been a function.\n * If so, resolve. This can only have returned a valid target object.\n */\n if (typeof definition === \"function\") {\n const [current, velocity] = getValueState(visualElement);\n definition = definition(custom !== undefined ? custom : props.custom, current, velocity);\n }\n return definition;\n}\n\nexport { resolveVariantFromProps };\n"],"names":[],"mappings":";;;;AAAA,SAAS,cAAc,aAAa;IAChC,MAAM,QAAQ;QAAC,CAAC;QAAG,CAAC;KAAE;IACtB,eAAe,OAAO,QAAQ,CAAC,OAAO;QAClC,KAAK,CAAC,EAAE,CAAC,IAAI,GAAG,MAAM,GAAG;QACzB,KAAK,CAAC,EAAE,CAAC,IAAI,GAAG,MAAM,WAAW;IACrC;IACA,OAAO;AACX;AACA,SAAS,wBAAwB,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,aAAa;IACrE;;KAEC,GACD,IAAI,OAAO,eAAe,YAAY;QAClC,MAAM,CAAC,SAAS,SAAS,GAAG,cAAc;QAC1C,aAAa,WAAW,WAAW,YAAY,SAAS,MAAM,MAAM,EAAE,SAAS;IACnF;IACA;;;KAGC,GACD,IAAI,OAAO,eAAe,UAAU;QAChC,aAAa,MAAM,QAAQ,IAAI,MAAM,QAAQ,CAAC,WAAW;IAC7D;IACA;;;;KAIC,GACD,IAAI,OAAO,eAAe,YAAY;QAClC,MAAM,CAAC,SAAS,SAAS,GAAG,cAAc;QAC1C,aAAa,WAAW,WAAW,YAAY,SAAS,MAAM,MAAM,EAAE,SAAS;IACnF;IACA,OAAO;AACX","ignoreList":[0]}}, - {"offset": {"line": 3812, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/VisualElement.mjs"],"sourcesContent":["import { KeyframeResolver, time, frame, isMotionValue, cancelFrame, transformProps, motionValue, findValueType, complex, getAnimatableNone, microtask } from 'motion-dom';\nimport { warnOnce, isNumericalString, isZeroValueString, SubscriptionManager } from 'motion-utils';\nimport { featureDefinitions } from '../motion/features/definitions.mjs';\nimport { createBox } from '../projection/geometry/models.mjs';\nimport { initPrefersReducedMotion } from '../utils/reduced-motion/index.mjs';\nimport { hasReducedMotionListener, prefersReducedMotion } from '../utils/reduced-motion/state.mjs';\nimport { visualElementStore } from './store.mjs';\nimport { isControllingVariants, isVariantNode } from './utils/is-controlling-variants.mjs';\nimport { updateMotionValuesFromProps } from './utils/motion-values.mjs';\nimport { resolveVariantFromProps } from './utils/resolve-variants.mjs';\n\nconst propEventHandlers = [\n \"AnimationStart\",\n \"AnimationComplete\",\n \"Update\",\n \"BeforeLayoutMeasure\",\n \"LayoutMeasure\",\n \"LayoutAnimationStart\",\n \"LayoutAnimationComplete\",\n];\n/**\n * A VisualElement is an imperative abstraction around UI elements such as\n * HTMLElement, SVGElement, Three.Object3D etc.\n */\nclass VisualElement {\n /**\n * This method takes React props and returns found MotionValues. For example, HTML\n * MotionValues will be found within the style prop, whereas for Three.js within attribute arrays.\n *\n * This isn't an abstract method as it needs calling in the constructor, but it is\n * intended to be one.\n */\n scrapeMotionValuesFromProps(_props, _prevProps, _visualElement) {\n return {};\n }\n constructor({ parent, props, presenceContext, reducedMotionConfig, blockInitialAnimation, visualState, }, options = {}) {\n /**\n * A reference to the current underlying Instance, e.g. a HTMLElement\n * or Three.Mesh etc.\n */\n this.current = null;\n /**\n * A set containing references to this VisualElement's children.\n */\n this.children = new Set();\n /**\n * Determine what role this visual element should take in the variant tree.\n */\n this.isVariantNode = false;\n this.isControllingVariants = false;\n /**\n * Decides whether this VisualElement should animate in reduced motion\n * mode.\n *\n * TODO: This is currently set on every individual VisualElement but feels\n * like it could be set globally.\n */\n this.shouldReduceMotion = null;\n /**\n * A map of all motion values attached to this visual element. Motion\n * values are source of truth for any given animated value. A motion\n * value might be provided externally by the component via props.\n */\n this.values = new Map();\n this.KeyframeResolver = KeyframeResolver;\n /**\n * Cleanup functions for active features (hover/tap/exit etc)\n */\n this.features = {};\n /**\n * A map of every subscription that binds the provided or generated\n * motion values onChange listeners to this visual element.\n */\n this.valueSubscriptions = new Map();\n /**\n * A reference to the previously-provided motion values as returned\n * from scrapeMotionValuesFromProps. We use the keys in here to determine\n * if any motion values need to be removed after props are updated.\n */\n this.prevMotionValues = {};\n /**\n * An object containing a SubscriptionManager for each active event.\n */\n this.events = {};\n /**\n * An object containing an unsubscribe function for each prop event subscription.\n * For example, every \"Update\" event can have multiple subscribers via\n * VisualElement.on(), but only one of those can be defined via the onUpdate prop.\n */\n this.propEventSubscriptions = {};\n this.notifyUpdate = () => this.notify(\"Update\", this.latestValues);\n this.render = () => {\n if (!this.current)\n return;\n this.triggerBuild();\n this.renderInstance(this.current, this.renderState, this.props.style, this.projection);\n };\n this.renderScheduledAt = 0.0;\n this.scheduleRender = () => {\n const now = time.now();\n if (this.renderScheduledAt < now) {\n this.renderScheduledAt = now;\n frame.render(this.render, false, true);\n }\n };\n const { latestValues, renderState } = visualState;\n this.latestValues = latestValues;\n this.baseTarget = { ...latestValues };\n this.initialValues = props.initial ? { ...latestValues } : {};\n this.renderState = renderState;\n this.parent = parent;\n this.props = props;\n this.presenceContext = presenceContext;\n this.depth = parent ? parent.depth + 1 : 0;\n this.reducedMotionConfig = reducedMotionConfig;\n this.options = options;\n this.blockInitialAnimation = Boolean(blockInitialAnimation);\n this.isControllingVariants = isControllingVariants(props);\n this.isVariantNode = isVariantNode(props);\n if (this.isVariantNode) {\n this.variantChildren = new Set();\n }\n this.manuallyAnimateOnMount = Boolean(parent && parent.current);\n /**\n * Any motion values that are provided to the element when created\n * aren't yet bound to the element, as this would technically be impure.\n * However, we iterate through the motion values and set them to the\n * initial values for this component.\n *\n * TODO: This is impure and we should look at changing this to run on mount.\n * Doing so will break some tests but this isn't necessarily a breaking change,\n * more a reflection of the test.\n */\n const { willChange, ...initialMotionValues } = this.scrapeMotionValuesFromProps(props, {}, this);\n for (const key in initialMotionValues) {\n const value = initialMotionValues[key];\n if (latestValues[key] !== undefined && isMotionValue(value)) {\n value.set(latestValues[key]);\n }\n }\n }\n mount(instance) {\n this.current = instance;\n visualElementStore.set(instance, this);\n if (this.projection && !this.projection.instance) {\n this.projection.mount(instance);\n }\n if (this.parent && this.isVariantNode && !this.isControllingVariants) {\n this.removeFromVariantTree = this.parent.addVariantChild(this);\n }\n this.values.forEach((value, key) => this.bindToMotionValue(key, value));\n if (!hasReducedMotionListener.current) {\n initPrefersReducedMotion();\n }\n this.shouldReduceMotion =\n this.reducedMotionConfig === \"never\"\n ? false\n : this.reducedMotionConfig === \"always\"\n ? true\n : prefersReducedMotion.current;\n if (process.env.NODE_ENV !== \"production\") {\n warnOnce(this.shouldReduceMotion !== true, \"You have Reduced Motion enabled on your device. Animations may not appear as expected.\", \"reduced-motion-disabled\");\n }\n this.parent?.addChild(this);\n this.update(this.props, this.presenceContext);\n }\n unmount() {\n this.projection && this.projection.unmount();\n cancelFrame(this.notifyUpdate);\n cancelFrame(this.render);\n this.valueSubscriptions.forEach((remove) => remove());\n this.valueSubscriptions.clear();\n this.removeFromVariantTree && this.removeFromVariantTree();\n this.parent?.removeChild(this);\n for (const key in this.events) {\n this.events[key].clear();\n }\n for (const key in this.features) {\n const feature = this.features[key];\n if (feature) {\n feature.unmount();\n feature.isMounted = false;\n }\n }\n this.current = null;\n }\n addChild(child) {\n this.children.add(child);\n this.enteringChildren ?? (this.enteringChildren = new Set());\n this.enteringChildren.add(child);\n }\n removeChild(child) {\n this.children.delete(child);\n this.enteringChildren && this.enteringChildren.delete(child);\n }\n bindToMotionValue(key, value) {\n if (this.valueSubscriptions.has(key)) {\n this.valueSubscriptions.get(key)();\n }\n const valueIsTransform = transformProps.has(key);\n if (valueIsTransform && this.onBindTransform) {\n this.onBindTransform();\n }\n const removeOnChange = value.on(\"change\", (latestValue) => {\n this.latestValues[key] = latestValue;\n this.props.onUpdate && frame.preRender(this.notifyUpdate);\n if (valueIsTransform && this.projection) {\n this.projection.isTransformDirty = true;\n }\n this.scheduleRender();\n });\n let removeSyncCheck;\n if (window.MotionCheckAppearSync) {\n removeSyncCheck = window.MotionCheckAppearSync(this, key, value);\n }\n this.valueSubscriptions.set(key, () => {\n removeOnChange();\n if (removeSyncCheck)\n removeSyncCheck();\n if (value.owner)\n value.stop();\n });\n }\n sortNodePosition(other) {\n /**\n * If these nodes aren't even of the same type we can't compare their depth.\n */\n if (!this.current ||\n !this.sortInstanceNodePosition ||\n this.type !== other.type) {\n return 0;\n }\n return this.sortInstanceNodePosition(this.current, other.current);\n }\n updateFeatures() {\n let key = \"animation\";\n for (key in featureDefinitions) {\n const featureDefinition = featureDefinitions[key];\n if (!featureDefinition)\n continue;\n const { isEnabled, Feature: FeatureConstructor } = featureDefinition;\n /**\n * If this feature is enabled but not active, make a new instance.\n */\n if (!this.features[key] &&\n FeatureConstructor &&\n isEnabled(this.props)) {\n this.features[key] = new FeatureConstructor(this);\n }\n /**\n * If we have a feature, mount or update it.\n */\n if (this.features[key]) {\n const feature = this.features[key];\n if (feature.isMounted) {\n feature.update();\n }\n else {\n feature.mount();\n feature.isMounted = true;\n }\n }\n }\n }\n triggerBuild() {\n this.build(this.renderState, this.latestValues, this.props);\n }\n /**\n * Measure the current viewport box with or without transforms.\n * Only measures axis-aligned boxes, rotate and skew must be manually\n * removed with a re-render to work.\n */\n measureViewportBox() {\n return this.current\n ? this.measureInstanceViewportBox(this.current, this.props)\n : createBox();\n }\n getStaticValue(key) {\n return this.latestValues[key];\n }\n setStaticValue(key, value) {\n this.latestValues[key] = value;\n }\n /**\n * Update the provided props. Ensure any newly-added motion values are\n * added to our map, old ones removed, and listeners updated.\n */\n update(props, presenceContext) {\n if (props.transformTemplate || this.props.transformTemplate) {\n this.scheduleRender();\n }\n this.prevProps = this.props;\n this.props = props;\n this.prevPresenceContext = this.presenceContext;\n this.presenceContext = presenceContext;\n /**\n * Update prop event handlers ie onAnimationStart, onAnimationComplete\n */\n for (let i = 0; i < propEventHandlers.length; i++) {\n const key = propEventHandlers[i];\n if (this.propEventSubscriptions[key]) {\n this.propEventSubscriptions[key]();\n delete this.propEventSubscriptions[key];\n }\n const listenerName = (\"on\" + key);\n const listener = props[listenerName];\n if (listener) {\n this.propEventSubscriptions[key] = this.on(key, listener);\n }\n }\n this.prevMotionValues = updateMotionValuesFromProps(this, this.scrapeMotionValuesFromProps(props, this.prevProps, this), this.prevMotionValues);\n if (this.handleChildMotionValue) {\n this.handleChildMotionValue();\n }\n }\n getProps() {\n return this.props;\n }\n /**\n * Returns the variant definition with a given name.\n */\n getVariant(name) {\n return this.props.variants ? this.props.variants[name] : undefined;\n }\n /**\n * Returns the defined default transition on this component.\n */\n getDefaultTransition() {\n return this.props.transition;\n }\n getTransformPagePoint() {\n return this.props.transformPagePoint;\n }\n getClosestVariantNode() {\n return this.isVariantNode\n ? this\n : this.parent\n ? this.parent.getClosestVariantNode()\n : undefined;\n }\n /**\n * Add a child visual element to our set of children.\n */\n addVariantChild(child) {\n const closestVariantNode = this.getClosestVariantNode();\n if (closestVariantNode) {\n closestVariantNode.variantChildren &&\n closestVariantNode.variantChildren.add(child);\n return () => closestVariantNode.variantChildren.delete(child);\n }\n }\n /**\n * Add a motion value and bind it to this visual element.\n */\n addValue(key, value) {\n // Remove existing value if it exists\n const existingValue = this.values.get(key);\n if (value !== existingValue) {\n if (existingValue)\n this.removeValue(key);\n this.bindToMotionValue(key, value);\n this.values.set(key, value);\n this.latestValues[key] = value.get();\n }\n }\n /**\n * Remove a motion value and unbind any active subscriptions.\n */\n removeValue(key) {\n this.values.delete(key);\n const unsubscribe = this.valueSubscriptions.get(key);\n if (unsubscribe) {\n unsubscribe();\n this.valueSubscriptions.delete(key);\n }\n delete this.latestValues[key];\n this.removeValueFromRenderState(key, this.renderState);\n }\n /**\n * Check whether we have a motion value for this key\n */\n hasValue(key) {\n return this.values.has(key);\n }\n getValue(key, defaultValue) {\n if (this.props.values && this.props.values[key]) {\n return this.props.values[key];\n }\n let value = this.values.get(key);\n if (value === undefined && defaultValue !== undefined) {\n value = motionValue(defaultValue === null ? undefined : defaultValue, { owner: this });\n this.addValue(key, value);\n }\n return value;\n }\n /**\n * If we're trying to animate to a previously unencountered value,\n * we need to check for it in our state and as a last resort read it\n * directly from the instance (which might have performance implications).\n */\n readValue(key, target) {\n let value = this.latestValues[key] !== undefined || !this.current\n ? this.latestValues[key]\n : this.getBaseTargetFromProps(this.props, key) ??\n this.readValueFromInstance(this.current, key, this.options);\n if (value !== undefined && value !== null) {\n if (typeof value === \"string\" &&\n (isNumericalString(value) || isZeroValueString(value))) {\n // If this is a number read as a string, ie \"0\" or \"200\", convert it to a number\n value = parseFloat(value);\n }\n else if (!findValueType(value) && complex.test(target)) {\n value = getAnimatableNone(key, target);\n }\n this.setBaseTarget(key, isMotionValue(value) ? value.get() : value);\n }\n return isMotionValue(value) ? value.get() : value;\n }\n /**\n * Set the base target to later animate back to. This is currently\n * only hydrated on creation and when we first read a value.\n */\n setBaseTarget(key, value) {\n this.baseTarget[key] = value;\n }\n /**\n * Find the base target for a value thats been removed from all animation\n * props.\n */\n getBaseTarget(key) {\n const { initial } = this.props;\n let valueFromInitial;\n if (typeof initial === \"string\" || typeof initial === \"object\") {\n const variant = resolveVariantFromProps(this.props, initial, this.presenceContext?.custom);\n if (variant) {\n valueFromInitial = variant[key];\n }\n }\n /**\n * If this value still exists in the current initial variant, read that.\n */\n if (initial && valueFromInitial !== undefined) {\n return valueFromInitial;\n }\n /**\n * Alternatively, if this VisualElement config has defined a getBaseTarget\n * so we can read the value from an alternative source, try that.\n */\n const target = this.getBaseTargetFromProps(this.props, key);\n if (target !== undefined && !isMotionValue(target))\n return target;\n /**\n * If the value was initially defined on initial, but it doesn't any more,\n * return undefined. Otherwise return the value as initially read from the DOM.\n */\n return this.initialValues[key] !== undefined &&\n valueFromInitial === undefined\n ? undefined\n : this.baseTarget[key];\n }\n on(eventName, callback) {\n if (!this.events[eventName]) {\n this.events[eventName] = new SubscriptionManager();\n }\n return this.events[eventName].add(callback);\n }\n notify(eventName, ...args) {\n if (this.events[eventName]) {\n this.events[eventName].notify(...args);\n }\n }\n scheduleRenderMicrotask() {\n microtask.render(this.render);\n }\n}\n\nexport { VisualElement };\n"],"names":[],"mappings":";;;;AAgKY;AAhKZ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;AAEA,MAAM,oBAAoB;IACtB;IACA;IACA;IACA;IACA;IACA;IACA;CACH;AACD;;;CAGC,GACD,MAAM;IACF;;;;;;KAMC,GACD,4BAA4B,MAAM,EAAE,UAAU,EAAE,cAAc,EAAE;QAC5D,OAAO,CAAC;IACZ;IACA,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE,eAAe,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,WAAW,EAAG,EAAE,UAAU,CAAC,CAAC,CAAE;QACpH;;;SAGC,GACD,IAAI,CAAC,OAAO,GAAG;QACf;;SAEC,GACD,IAAI,CAAC,QAAQ,GAAG,IAAI;QACpB;;SAEC,GACD,IAAI,CAAC,aAAa,GAAG;QACrB,IAAI,CAAC,qBAAqB,GAAG;QAC7B;;;;;;SAMC,GACD,IAAI,CAAC,kBAAkB,GAAG;QAC1B;;;;SAIC,GACD,IAAI,CAAC,MAAM,GAAG,IAAI;QAClB,IAAI,CAAC,gBAAgB,GAAG,kNAAgB;QACxC;;SAEC,GACD,IAAI,CAAC,QAAQ,GAAG,CAAC;QACjB;;;SAGC,GACD,IAAI,CAAC,kBAAkB,GAAG,IAAI;QAC9B;;;;SAIC,GACD,IAAI,CAAC,gBAAgB,GAAG,CAAC;QACzB;;SAEC,GACD,IAAI,CAAC,MAAM,GAAG,CAAC;QACf;;;;SAIC,GACD,IAAI,CAAC,sBAA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/B,qBAAqB,YACnB,YACA,IAAI,CAAC,UAAU,CAAC,IAAI;IAC9B;IACA,GAAG,SAAS,EAAE,QAAQ,EAAE;QACpB,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE;YACzB,IAAI,CAAC,MAAM,CAAC,UAAU,GAAG,IAAI,mMAAmB;QACpD;QACA,OAAO,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC;IACtC;IACA,OAAO,SAAS,EAAE,GAAG,IAAI,EAAE;QACvB,IAAI,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE;YACxB,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,MAAM,IAAI;QACrC;IACJ;IACA,0BAA0B;QACtB,sLAAS,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM;IAChC;AACJ","ignoreList":[0]}}, - {"offset": {"line": 4262, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.mjs"],"sourcesContent":["import { DOMKeyframesResolver, isMotionValue } from 'motion-dom';\nimport { VisualElement } from '../VisualElement.mjs';\n\nclass DOMVisualElement extends VisualElement {\n constructor() {\n super(...arguments);\n this.KeyframeResolver = DOMKeyframesResolver;\n }\n sortInstanceNodePosition(a, b) {\n /**\n * compareDocumentPosition returns a bitmask, by using the bitwise &\n * we're returning true if 2 in that bitmask is set to true. 2 is set\n * to true if b preceeds a.\n */\n return a.compareDocumentPosition(b) & 2 ? 1 : -1;\n }\n getBaseTargetFromProps(props, key) {\n return props.style\n ? props.style[key]\n : undefined;\n }\n removeValueFromRenderState(key, { vars, style }) {\n delete vars[key];\n delete style[key];\n }\n handleChildMotionValue() {\n if (this.childSubscription) {\n this.childSubscription();\n delete this.childSubscription;\n }\n const { children } = this.props;\n if (isMotionValue(children)) {\n this.childSubscription = children.on(\"change\", (latest) => {\n if (this.current) {\n this.current.textContent = `${latest}`;\n }\n });\n }\n }\n}\n\nexport { DOMVisualElement };\n"],"names":[],"mappings":";;;;AAAA;AAAA;AACA;;;AAEA,MAAM,yBAAyB,8LAAa;IACxC,aAAc;QACV,KAAK,IAAI;QACT,IAAI,CAAC,gBAAgB,GAAG,yNAAoB;IAChD;IACA,yBAAyB,CAAC,EAAE,CAAC,EAAE;QAC3B;;;;SAIC,GACD,OAAO,EAAE,uBAAuB,CAAC,KAAK,IAAI,IAAI,CAAC;IACnD;IACA,uBAAuB,KAAK,EAAE,GAAG,EAAE;QAC/B,OAAO,MAAM,KAAK,GACZ,MAAM,KAAK,CAAC,IAAI,GAChB;IACV;IACA,2BAA2B,GAAG,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE;QAC7C,OAAO,IAAI,CAAC,IAAI;QAChB,OAAO,KAAK,CAAC,IAAI;IACrB;IACA,yBAAyB;QACrB,IAAI,IAAI,CAAC,iBAAiB,EAAE;YACxB,IAAI,CAAC,iBAAiB;YACtB,OAAO,IAAI,CAAC,iBAAiB;QACjC;QACA,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAC,KAAK;QAC/B,IAAI,IAAA,2MAAa,EAAC,WAAW;YACzB,IAAI,CAAC,iBAAiB,GAAG,SAAS,EAAE,CAAC,UAAU,CAAC;gBAC5C,IAAI,IAAI,CAAC,OAAO,EAAE;oBACd,IAAI,CAAC,OAAO,CAAC,WAAW,GAAG,GAAG,QAAQ;gBAC1C;YACJ;QACJ;IACJ;AACJ","ignoreList":[0]}}, - {"offset": {"line": 4310, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.mjs"],"sourcesContent":["/**\n * Provided a value and a ValueType, returns the value as that value type.\n */\nconst getValueAsType = (value, type) => {\n return type && typeof value === \"number\"\n ? type.transform(value)\n : value;\n};\n\nexport { getValueAsType };\n"],"names":[],"mappings":";;;;AAAA;;CAEC,GACD,MAAM,iBAAiB,CAAC,OAAO;IAC3B,OAAO,QAAQ,OAAO,UAAU,WAC1B,KAAK,SAAS,CAAC,SACf;AACV","ignoreList":[0]}}, - {"offset": {"line": 4324, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/html/utils/build-transform.mjs"],"sourcesContent":["import { transformPropOrder, getValueAsType, numberValueTypes } from 'motion-dom';\n\nconst translateAlias = {\n x: \"translateX\",\n y: \"translateY\",\n z: \"translateZ\",\n transformPerspective: \"perspective\",\n};\nconst numTransforms = transformPropOrder.length;\n/**\n * Build a CSS transform style from individual x/y/scale etc properties.\n *\n * This outputs with a default order of transforms/scales/rotations, this can be customised by\n * providing a transformTemplate function.\n */\nfunction buildTransform(latestValues, transform, transformTemplate) {\n // The transform string we're going to build into.\n let transformString = \"\";\n let transformIsDefault = true;\n /**\n * Loop over all possible transforms in order, adding the ones that\n * are present to the transform string.\n */\n for (let i = 0; i < numTransforms; i++) {\n const key = transformPropOrder[i];\n const value = latestValues[key];\n if (value === undefined)\n continue;\n let valueIsDefault = true;\n if (typeof value === \"number\") {\n valueIsDefault = value === (key.startsWith(\"scale\") ? 1 : 0);\n }\n else {\n valueIsDefault = parseFloat(value) === 0;\n }\n if (!valueIsDefault || transformTemplate) {\n const valueAsType = getValueAsType(value, numberValueTypes[key]);\n if (!valueIsDefault) {\n transformIsDefault = false;\n const transformName = translateAlias[key] || key;\n transformString += `${transformName}(${valueAsType}) `;\n }\n if (transformTemplate) {\n transform[key] = valueAsType;\n }\n }\n }\n transformString = transformString.trim();\n // If we have a custom `transform` template, pass our transform values and\n // generated transformString to that before returning\n if (transformTemplate) {\n transformString = transformTemplate(transform, transformIsDefault ? \"\" : transformString);\n }\n else if (transformIsDefault) {\n transformString = \"none\";\n }\n return transformString;\n}\n\nexport { buildTransform };\n"],"names":[],"mappings":";;;;AAAA;AAAA;AAAA;;AAEA,MAAM,iBAAiB;IACnB,GAAG;IACH,GAAG;IACH,GAAG;IACH,sBAAsB;AAC1B;AACA,MAAM,gBAAgB,6MAAkB,CAAC,MAAM;AAC/C;;;;;CAKC,GACD,SAAS,eAAe,YAAY,EAAE,SAAS,EAAE,iBAAiB;IAC9D,kDAAkD;IAClD,IAAI,kBAAkB;IACtB,IAAI,qBAAqB;IACzB;;;KAGC,GACD,IAAK,IAAI,IAAI,GAAG,IAAI,eAAe,IAAK;QACpC,MAAM,MAAM,6MAAkB,CAAC,EAAE;QACjC,MAAM,QAAQ,YAAY,CAAC,IAAI;QAC/B,IAAI,UAAU,WACV;QACJ,IAAI,iBAAiB;QACrB,IAAI,OAAO,UAAU,UAAU;YAC3B,iBAAiB,UAAU,CAAC,IAAI,UAAU,CAAC,WAAW,IAAI,CAAC;QAC/D,OACK;YACD,iBAAiB,WAAW,WAAW;QAC3C;QACA,IAAI,CAAC,kBAAkB,mBAAmB;YACtC,MAAM,cAAc,IAAA,iNAAc,EAAC,OAAO,uMAAgB,CAAC,IAAI;YAC/D,IAAI,CAAC,gBAAgB;gBACjB,qBAAqB;gBACrB,MAAM,gBAAgB,cAAc,CAAC,IAAI,IAAI;gBAC7C,mBAAmB,GAAG,cAAc,CAAC,EAAE,YAAY,EAAE,CAAC;YAC1D;YACA,IAAI,mBAAmB;gBACnB,SAAS,CAAC,IAAI,GAAG;YACrB;QACJ;IACJ;IACA,kBAAkB,gBAAgB,IAAI;IACtC,0EAA0E;IAC1E,qDAAqD;IACrD,IAAI,mBAAmB;QACnB,kBAAkB,kBAAkB,WAAW,qBAAqB,KAAK;IAC7E,OACK,IAAI,oBAAoB;QACzB,kBAAkB;IACtB;IACA,OAAO;AACX","ignoreList":[0]}}, - {"offset": {"line": 4388, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/html/utils/build-styles.mjs"],"sourcesContent":["import { transformProps, isCSSVariableName, getValueAsType, numberValueTypes } from 'motion-dom';\nimport { buildTransform } from './build-transform.mjs';\n\nfunction buildHTMLStyles(state, latestValues, transformTemplate) {\n const { style, vars, transformOrigin } = state;\n // Track whether we encounter any transform or transformOrigin values.\n let hasTransform = false;\n let hasTransformOrigin = false;\n /**\n * Loop over all our latest animated values and decide whether to handle them\n * as a style or CSS variable.\n *\n * Transforms and transform origins are kept separately for further processing.\n */\n for (const key in latestValues) {\n const value = latestValues[key];\n if (transformProps.has(key)) {\n // If this is a transform, flag to enable further transform processing\n hasTransform = true;\n continue;\n }\n else if (isCSSVariableName(key)) {\n vars[key] = value;\n continue;\n }\n else {\n // Convert the value to its default value type, ie 0 -> \"0px\"\n const valueAsType = getValueAsType(value, numberValueTypes[key]);\n if (key.startsWith(\"origin\")) {\n // If this is a transform origin, flag and enable further transform-origin processing\n hasTransformOrigin = true;\n transformOrigin[key] =\n valueAsType;\n }\n else {\n style[key] = valueAsType;\n }\n }\n }\n if (!latestValues.transform) {\n if (hasTransform || transformTemplate) {\n style.transform = buildTransform(latestValues, state.transform, transformTemplate);\n }\n else if (style.transform) {\n /**\n * If we have previously created a transform but currently don't have any,\n * reset transform style to none.\n */\n style.transform = \"none\";\n }\n }\n /**\n * Build a transformOrigin style. Uses the same defaults as the browser for\n * undefined origins.\n */\n if (hasTransformOrigin) {\n const { originX = \"50%\", originY = \"50%\", originZ = 0, } = transformOrigin;\n style.transformOrigin = `${originX} ${originY} ${originZ}`;\n }\n}\n\nexport { buildHTMLStyles };\n"],"names":[],"mappings":";;;;AAAA;AAAA;AAAA;AAAA;AACA;;;AAEA,SAAS,gBAAgB,KAAK,EAAE,YAAY,EAAE,iBAAiB;IAC3D,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,eAAe,EAAE,GAAG;IACzC,sEAAsE;IACtE,IAAI,eAAe;IACnB,IAAI,qBAAqB;IACzB;;;;;KAKC,GACD,IAAK,MAAM,OAAO,aAAc;QAC5B,MAAM,QAAQ,YAAY,CAAC,IAAI;QAC/B,IAAI,yMAAc,CAAC,GAAG,CAAC,MAAM;YACzB,sEAAsE;YACtE,eAAe;YACf;QACJ,OACK,IAAI,IAAA,mNAAiB,EAAC,MAAM;YAC7B,IAAI,CAAC,IAAI,GAAG;YACZ;QACJ,OACK;YACD,6DAA6D;YAC7D,MAAM,cAAc,IAAA,iNAAc,EAAC,OAAO,uMAAgB,CAAC,IAAI;YAC/D,IAAI,IAAI,UAAU,CAAC,WAAW;gBAC1B,qFAAqF;gBACrF,qBAAqB;gBACrB,eAAe,CAAC,IAAI,GAChB;YACR,OACK;gBACD,KAAK,CAAC,IAAI,GAAG;YACjB;QACJ;IACJ;IACA,IAAI,CAAC,aAAa,SAAS,EAAE;QACzB,IAAI,gBAAgB,mBAAmB;YACnC,MAAM,SAAS,GAAG,IAAA,qNAAc,EAAC,cAAc,MAAM,SAAS,EAAE;QACpE,OACK,IAAI,MAAM,SAAS,EAAE;YACtB;;;aAGC,GACD,MAAM,SAAS,GAAG;QACtB;IACJ;IACA;;;KAGC,GACD,IAAI,oBAAoB;QACpB,MAAM,EAAE,UAAU,KAAK,EAAE,UAAU,KAAK,EAAE,UAAU,CAAC,EAAG,GAAG;QAC3D,MAAM,eAAe,GAAG,GAAG,QAAQ,CAAC,EAAE,QAAQ,CAAC,EAAE,SAAS;IAC9D;AACJ","ignoreList":[0]}}, - {"offset": {"line": 4453, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/html/utils/render.mjs"],"sourcesContent":["function renderHTML(element, { style, vars }, styleProp, projection) {\n const elementStyle = element.style;\n let key;\n for (key in style) {\n // CSSStyleDeclaration has [index: number]: string; in the types, so we use that as key type.\n elementStyle[key] = style[key];\n }\n // Write projection styles directly to element style\n projection?.applyProjectionStyles(elementStyle, styleProp);\n for (key in vars) {\n // Loop over any CSS variables and assign those.\n // They can only be assigned using `setProperty`.\n elementStyle.setProperty(key, vars[key]);\n }\n}\n\nexport { renderHTML };\n"],"names":[],"mappings":";;;;AAAA,SAAS,WAAW,OAAO,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,SAAS,EAAE,UAAU;IAC/D,MAAM,eAAe,QAAQ,KAAK;IAClC,IAAI;IACJ,IAAK,OAAO,MAAO;QACf,6FAA6F;QAC7F,YAAY,CAAC,IAAI,GAAG,KAAK,CAAC,IAAI;IAClC;IACA,oDAAoD;IACpD,YAAY,sBAAsB,cAAc;IAChD,IAAK,OAAO,KAAM;QACd,gDAAgD;QAChD,iDAAiD;QACjD,aAAa,WAAW,CAAC,KAAK,IAAI,CAAC,IAAI;IAC3C;AACJ","ignoreList":[0]}}, - {"offset": {"line": 4477, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.mjs"],"sourcesContent":["import { px } from 'motion-dom';\n\nfunction pixelsToPercent(pixels, axis) {\n if (axis.max === axis.min)\n return 0;\n return (pixels / (axis.max - axis.min)) * 100;\n}\n/**\n * We always correct borderRadius as a percentage rather than pixels to reduce paints.\n * For example, if you are projecting a box that is 100px wide with a 10px borderRadius\n * into a box that is 200px wide with a 20px borderRadius, that is actually a 10%\n * borderRadius in both states. If we animate between the two in pixels that will trigger\n * a paint each time. If we animate between the two in percentage we'll avoid a paint.\n */\nconst correctBorderRadius = {\n correct: (latest, node) => {\n if (!node.target)\n return latest;\n /**\n * If latest is a string, if it's a percentage we can return immediately as it's\n * going to be stretched appropriately. Otherwise, if it's a pixel, convert it to a number.\n */\n if (typeof latest === \"string\") {\n if (px.test(latest)) {\n latest = parseFloat(latest);\n }\n else {\n return latest;\n }\n }\n /**\n * If latest is a number, it's a pixel value. We use the current viewportBox to calculate that\n * pixel value as a percentage of each axis\n */\n const x = pixelsToPercent(latest, node.target.x);\n const y = pixelsToPercent(latest, node.target.y);\n return `${x}% ${y}%`;\n },\n};\n\nexport { correctBorderRadius, pixelsToPercent };\n"],"names":[],"mappings":";;;;;;AAAA;;AAEA,SAAS,gBAAgB,MAAM,EAAE,IAAI;IACjC,IAAI,KAAK,GAAG,KAAK,KAAK,GAAG,EACrB,OAAO;IACX,OAAO,AAAC,SAAS,CAAC,KAAK,GAAG,GAAG,KAAK,GAAG,IAAK;AAC9C;AACA;;;;;;CAMC,GACD,MAAM,sBAAsB;IACxB,SAAS,CAAC,QAAQ;QACd,IAAI,CAAC,KAAK,MAAM,EACZ,OAAO;QACX;;;SAGC,GACD,IAAI,OAAO,WAAW,UAAU;YAC5B,IAAI,2LAAE,CAAC,IAAI,CAAC,SAAS;gBACjB,SAAS,WAAW;YACxB,OACK;gBACD,OAAO;YACX;QACJ;QACA;;;SAGC,GACD,MAAM,IAAI,gBAAgB,QAAQ,KAAK,MAAM,CAAC,CAAC;QAC/C,MAAM,IAAI,gBAAgB,QAAQ,KAAK,MAAM,CAAC,CAAC;QAC/C,OAAO,GAAG,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACxB;AACJ","ignoreList":[0]}}, - {"offset": {"line": 4521, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.mjs"],"sourcesContent":["import { complex, mixNumber } from 'motion-dom';\n\nconst correctBoxShadow = {\n correct: (latest, { treeScale, projectionDelta }) => {\n const original = latest;\n const shadow = complex.parse(latest);\n // TODO: Doesn't support multiple shadows\n if (shadow.length > 5)\n return original;\n const template = complex.createTransformer(latest);\n const offset = typeof shadow[0] !== \"number\" ? 1 : 0;\n // Calculate the overall context scale\n const xScale = projectionDelta.x.scale * treeScale.x;\n const yScale = projectionDelta.y.scale * treeScale.y;\n shadow[0 + offset] /= xScale;\n shadow[1 + offset] /= yScale;\n /**\n * Ideally we'd correct x and y scales individually, but because blur and\n * spread apply to both we have to take a scale average and apply that instead.\n * We could potentially improve the outcome of this by incorporating the ratio between\n * the two scales.\n */\n const averageScale = mixNumber(xScale, yScale, 0.5);\n // Blur\n if (typeof shadow[2 + offset] === \"number\")\n shadow[2 + offset] /= averageScale;\n // Spread\n if (typeof shadow[3 + offset] === \"number\")\n shadow[3 + offset] /= averageScale;\n return template(shadow);\n },\n};\n\nexport { correctBoxShadow };\n"],"names":[],"mappings":";;;;AAAA;AAAA;;AAEA,MAAM,mBAAmB;IACrB,SAAS,CAAC,QAAQ,EAAE,SAAS,EAAE,eAAe,EAAE;QAC5C,MAAM,WAAW;QACjB,MAAM,SAAS,gMAAO,CAAC,KAAK,CAAC;QAC7B,yCAAyC;QACzC,IAAI,OAAO,MAAM,GAAG,GAChB,OAAO;QACX,MAAM,WAAW,gMAAO,CAAC,iBAAiB,CAAC;QAC3C,MAAM,SAAS,OAAO,MAAM,CAAC,EAAE,KAAK,WAAW,IAAI;QACnD,sCAAsC;QACtC,MAAM,SAAS,gBAAgB,CAAC,CAAC,KAAK,GAAG,UAAU,CAAC;QACpD,MAAM,SAAS,gBAAgB,CAAC,CAAC,KAAK,GAAG,UAAU,CAAC;QACpD,MAAM,CAAC,IAAI,OAAO,IAAI;QACtB,MAAM,CAAC,IAAI,OAAO,IAAI;QACtB;;;;;SAKC,GACD,MAAM,eAAe,IAAA,sLAAS,EAAC,QAAQ,QAAQ;QAC/C,OAAO;QACP,IAAI,OAAO,MAAM,CAAC,IAAI,OAAO,KAAK,UAC9B,MAAM,CAAC,IAAI,OAAO,IAAI;QAC1B,SAAS;QACT,IAAI,OAAO,MAAM,CAAC,IAAI,OAAO,KAAK,UAC9B,MAAM,CAAC,IAAI,OAAO,IAAI;QAC1B,OAAO,SAAS;IACpB;AACJ","ignoreList":[0]}}, - {"offset": {"line": 4559, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/projection/styles/scale-correction.mjs"],"sourcesContent":["import { isCSSVariableName } from 'motion-dom';\nimport { correctBorderRadius } from './scale-border-radius.mjs';\nimport { correctBoxShadow } from './scale-box-shadow.mjs';\n\nconst scaleCorrectors = {\n borderRadius: {\n ...correctBorderRadius,\n applyTo: [\n \"borderTopLeftRadius\",\n \"borderTopRightRadius\",\n \"borderBottomLeftRadius\",\n \"borderBottomRightRadius\",\n ],\n },\n borderTopLeftRadius: correctBorderRadius,\n borderTopRightRadius: correctBorderRadius,\n borderBottomLeftRadius: correctBorderRadius,\n borderBottomRightRadius: correctBorderRadius,\n boxShadow: correctBoxShadow,\n};\nfunction addScaleCorrector(correctors) {\n for (const key in correctors) {\n scaleCorrectors[key] = correctors[key];\n if (isCSSVariableName(key)) {\n scaleCorrectors[key].isCSSVariable = true;\n }\n }\n}\n\nexport { addScaleCorrector, scaleCorrectors };\n"],"names":[],"mappings":";;;;;;AAAA;AACA;AACA;;;;AAEA,MAAM,kBAAkB;IACpB,cAAc;QACV,GAAG,8NAAmB;QACtB,SAAS;YACL;YACA;YACA;YACA;SACH;IACL;IACA,qBAAqB,8NAAmB;IACxC,sBAAsB,8NAAmB;IACzC,wBAAwB,8NAAmB;IAC3C,yBAAyB,8NAAmB;IAC5C,WAAW,wNAAgB;AAC/B;AACA,SAAS,kBAAkB,UAAU;IACjC,IAAK,MAAM,OAAO,WAAY;QAC1B,eAAe,CAAC,IAAI,GAAG,UAAU,CAAC,IAAI;QACtC,IAAI,IAAA,mNAAiB,EAAC,MAAM;YACxB,eAAe,CAAC,IAAI,CAAC,aAAa,GAAG;QACzC;IACJ;AACJ","ignoreList":[0]}}, - {"offset": {"line": 4600, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.mjs"],"sourcesContent":["import { transformProps } from 'motion-dom';\nimport { scaleCorrectors } from '../../projection/styles/scale-correction.mjs';\n\nfunction isForcedMotionValue(key, { layout, layoutId }) {\n return (transformProps.has(key) ||\n key.startsWith(\"origin\") ||\n ((layout || layoutId !== undefined) &&\n (!!scaleCorrectors[key] || key === \"opacity\")));\n}\n\nexport { isForcedMotionValue };\n"],"names":[],"mappings":";;;;AAAA;AACA;;;AAEA,SAAS,oBAAoB,GAAG,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE;IAClD,OAAQ,yMAAc,CAAC,GAAG,CAAC,QACvB,IAAI,UAAU,CAAC,aACd,CAAC,UAAU,aAAa,SAAS,KAC9B,CAAC,CAAC,CAAC,oNAAe,CAAC,IAAI,IAAI,QAAQ,SAAS;AACxD","ignoreList":[0]}}, - {"offset": {"line": 4616, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.mjs"],"sourcesContent":["import { isMotionValue } from 'motion-dom';\nimport { isForcedMotionValue } from '../../../motion/utils/is-forced-motion-value.mjs';\n\nfunction scrapeMotionValuesFromProps(props, prevProps, visualElement) {\n const { style } = props;\n const newValues = {};\n for (const key in style) {\n if (isMotionValue(style[key]) ||\n (prevProps.style &&\n isMotionValue(prevProps.style[key])) ||\n isForcedMotionValue(key, props) ||\n visualElement?.getValue(key)?.liveStyle !== undefined) {\n newValues[key] = style[key];\n }\n }\n return newValues;\n}\n\nexport { scrapeMotionValuesFromProps };\n"],"names":[],"mappings":";;;;AAAA;AACA;;;AAEA,SAAS,4BAA4B,KAAK,EAAE,SAAS,EAAE,aAAa;IAChE,MAAM,EAAE,KAAK,EAAE,GAAG;IAClB,MAAM,YAAY,CAAC;IACnB,IAAK,MAAM,OAAO,MAAO;QACrB,IAAI,IAAA,2MAAa,EAAC,KAAK,CAAC,IAAI,KACvB,UAAU,KAAK,IACZ,IAAA,2MAAa,EAAC,UAAU,KAAK,CAAC,IAAI,KACtC,IAAA,+NAAmB,EAAC,KAAK,UACzB,eAAe,SAAS,MAAM,cAAc,WAAW;YACvD,SAAS,CAAC,IAAI,GAAG,KAAK,CAAC,IAAI;QAC/B;IACJ;IACA,OAAO;AACX","ignoreList":[0]}}, - {"offset": {"line": 4639, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.mjs"],"sourcesContent":["import { transformProps, defaultTransformValue, readTransformValue, isCSSVariableName } from 'motion-dom';\nimport { measureViewportBox } from '../../projection/utils/measure.mjs';\nimport { DOMVisualElement } from '../dom/DOMVisualElement.mjs';\nimport { buildHTMLStyles } from './utils/build-styles.mjs';\nimport { renderHTML } from './utils/render.mjs';\nimport { scrapeMotionValuesFromProps } from './utils/scrape-motion-values.mjs';\n\nfunction getComputedStyle(element) {\n return window.getComputedStyle(element);\n}\nclass HTMLVisualElement extends DOMVisualElement {\n constructor() {\n super(...arguments);\n this.type = \"html\";\n this.renderInstance = renderHTML;\n }\n readValueFromInstance(instance, key) {\n if (transformProps.has(key)) {\n return this.projection?.isProjecting\n ? defaultTransformValue(key)\n : readTransformValue(instance, key);\n }\n else {\n const computedStyle = getComputedStyle(instance);\n const value = (isCSSVariableName(key)\n ? computedStyle.getPropertyValue(key)\n : computedStyle[key]) || 0;\n return typeof value === \"string\" ? value.trim() : value;\n }\n }\n measureInstanceViewportBox(instance, { transformPagePoint }) {\n return measureViewportBox(instance, transformPagePoint);\n }\n build(renderState, latestValues, props) {\n buildHTMLStyles(renderState, latestValues, props.transformTemplate);\n }\n scrapeMotionValuesFromProps(props, prevProps, visualElement) {\n return scrapeMotionValuesFromProps(props, prevProps, visualElement);\n }\n}\n\nexport { HTMLVisualElement, getComputedStyle };\n"],"names":[],"mappings":";;;;;;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;;;;;;;AAEA,SAAS,iBAAiB,OAAO;IAC7B,OAAO,OAAO,gBAAgB,CAAC;AACnC;AACA,MAAM,0BAA0B,2MAAgB;IAC5C,aAAc;QACV,KAAK,IAAI;QACT,IAAI,CAAC,IAAI,GAAG;QACZ,IAAI,CAAC,cAAc,GAAG,qMAAU;IACpC;IACA,sBAAsB,QAAQ,EAAE,GAAG,EAAE;QACjC,IAAI,yMAAc,CAAC,GAAG,CAAC,MAAM;YACzB,OAAO,IAAI,CAAC,UAAU,EAAE,eAClB,IAAA,+MAAqB,EAAC,OACtB,IAAA,4MAAkB,EAAC,UAAU;QACvC,OACK;YACD,MAAM,gBAAgB,iBAAiB;YACvC,MAAM,QAAQ,CAAC,IAAA,mNAAiB,EAAC,OAC3B,cAAc,gBAAgB,CAAC,OAC/B,aAAa,CAAC,IAAI,KAAK;YAC7B,OAAO,OAAO,UAAU,WAAW,MAAM,IAAI,KAAK;QACtD;IACJ;IACA,2BAA2B,QAAQ,EAAE,EAAE,kBAAkB,EAAE,EAAE;QACzD,OAAO,IAAA,0MAAkB,EAAC,UAAU;IACxC;IACA,MAAM,WAAW,EAAE,YAAY,EAAE,KAAK,EAAE;QACpC,IAAA,mNAAe,EAAC,aAAa,cAAc,MAAM,iBAAiB;IACtE;IACA,4BAA4B,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE;QACzD,OAAO,IAAA,0OAA2B,EAAC,OAAO,WAAW;IACzD;AACJ","ignoreList":[0]}}, - {"offset": {"line": 4692, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.mjs"],"sourcesContent":["/**\n * Convert camelCase to dash-case properties.\n */\nconst camelToDash = (str) => str.replace(/([a-z])([A-Z])/gu, \"$1-$2\").toLowerCase();\n\nexport { camelToDash };\n"],"names":[],"mappings":";;;;AAAA;;CAEC,GACD,MAAM,cAAc,CAAC,MAAQ,IAAI,OAAO,CAAC,oBAAoB,SAAS,WAAW","ignoreList":[0]}}, - {"offset": {"line": 4704, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/svg/utils/path.mjs"],"sourcesContent":["import { px } from 'motion-dom';\n\nconst dashKeys = {\n offset: \"stroke-dashoffset\",\n array: \"stroke-dasharray\",\n};\nconst camelKeys = {\n offset: \"strokeDashoffset\",\n array: \"strokeDasharray\",\n};\n/**\n * Build SVG path properties. Uses the path's measured length to convert\n * our custom pathLength, pathSpacing and pathOffset into stroke-dashoffset\n * and stroke-dasharray attributes.\n *\n * This function is mutative to reduce per-frame GC.\n */\nfunction buildSVGPath(attrs, length, spacing = 1, offset = 0, useDashCase = true) {\n // Normalise path length by setting SVG attribute pathLength to 1\n attrs.pathLength = 1;\n // We use dash case when setting attributes directly to the DOM node and camel case\n // when defining props on a React component.\n const keys = useDashCase ? dashKeys : camelKeys;\n // Build the dash offset\n attrs[keys.offset] = px.transform(-offset);\n // Build the dash array\n const pathLength = px.transform(length);\n const pathSpacing = px.transform(spacing);\n attrs[keys.array] = `${pathLength} ${pathSpacing}`;\n}\n\nexport { buildSVGPath };\n"],"names":[],"mappings":";;;;AAAA;;AAEA,MAAM,WAAW;IACb,QAAQ;IACR,OAAO;AACX;AACA,MAAM,YAAY;IACd,QAAQ;IACR,OAAO;AACX;AACA;;;;;;CAMC,GACD,SAAS,aAAa,KAAK,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,SAAS,CAAC,EAAE,cAAc,IAAI;IAC5E,iEAAiE;IACjE,MAAM,UAAU,GAAG;IACnB,mFAAmF;IACnF,4CAA4C;IAC5C,MAAM,OAAO,cAAc,WAAW;IACtC,wBAAwB;IACxB,KAAK,CAAC,KAAK,MAAM,CAAC,GAAG,2LAAE,CAAC,SAAS,CAAC,CAAC;IACnC,uBAAuB;IACvB,MAAM,aAAa,2LAAE,CAAC,SAAS,CAAC;IAChC,MAAM,cAAc,2LAAE,CAAC,SAAS,CAAC;IACjC,KAAK,CAAC,KAAK,KAAK,CAAC,GAAG,GAAG,WAAW,CAAC,EAAE,aAAa;AACtD","ignoreList":[0]}}, - {"offset": {"line": 4742, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.mjs"],"sourcesContent":["import { buildHTMLStyles } from '../../html/utils/build-styles.mjs';\nimport { buildSVGPath } from './path.mjs';\n\n/**\n * Build SVG visual attributes, like cx and style.transform\n */\nfunction buildSVGAttrs(state, { attrX, attrY, attrScale, pathLength, pathSpacing = 1, pathOffset = 0, \n// This is object creation, which we try to avoid per-frame.\n...latest }, isSVGTag, transformTemplate, styleProp) {\n buildHTMLStyles(state, latest, transformTemplate);\n /**\n * For svg tags we just want to make sure viewBox is animatable and treat all the styles\n * as normal HTML tags.\n */\n if (isSVGTag) {\n if (state.style.viewBox) {\n state.attrs.viewBox = state.style.viewBox;\n }\n return;\n }\n state.attrs = state.style;\n state.style = {};\n const { attrs, style } = state;\n /**\n * However, we apply transforms as CSS transforms.\n * So if we detect a transform, transformOrigin we take it from attrs and copy it into style.\n */\n if (attrs.transform) {\n style.transform = attrs.transform;\n delete attrs.transform;\n }\n if (style.transform || attrs.transformOrigin) {\n style.transformOrigin = attrs.transformOrigin ?? \"50% 50%\";\n delete attrs.transformOrigin;\n }\n if (style.transform) {\n /**\n * SVG's element transform-origin uses its own median as a reference.\n * Therefore, transformBox becomes a fill-box\n */\n style.transformBox = styleProp?.transformBox ?? \"fill-box\";\n delete attrs.transformBox;\n }\n // Render attrX/attrY/attrScale as attributes\n if (attrX !== undefined)\n attrs.x = attrX;\n if (attrY !== undefined)\n attrs.y = attrY;\n if (attrScale !== undefined)\n attrs.scale = attrScale;\n // Build SVG path if one has been defined\n if (pathLength !== undefined) {\n buildSVGPath(attrs, pathLength, pathSpacing, pathOffset, false);\n }\n}\n\nexport { buildSVGAttrs };\n"],"names":[],"mappings":";;;;AAAA;AACA;;;AAEA;;CAEC,GACD,SAAS,cAAc,KAAK,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,cAAc,CAAC,EAAE,aAAa,CAAC,EACpG,4DAA4D;AAC5D,GAAG,QAAQ,EAAE,QAAQ,EAAE,iBAAiB,EAAE,SAAS;IAC/C,IAAA,mNAAe,EAAC,OAAO,QAAQ;IAC/B;;;KAGC,GACD,IAAI,UAAU;QACV,IAAI,MAAM,KAAK,CAAC,OAAO,EAAE;YACrB,MAAM,KAAK,CAAC,OAAO,GAAG,MAAM,KAAK,CAAC,OAAO;QAC7C;QACA;IACJ;IACA,MAAM,KAAK,GAAG,MAAM,KAAK;IACzB,MAAM,KAAK,GAAG,CAAC;IACf,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG;IACzB;;;KAGC,GACD,IAAI,MAAM,SAAS,EAAE;QACjB,MAAM,SAAS,GAAG,MAAM,SAAS;QACjC,OAAO,MAAM,SAAS;IAC1B;IACA,IAAI,MAAM,SAAS,IAAI,MAAM,eAAe,EAAE;QAC1C,MAAM,eAAe,GAAG,MAAM,eAAe,IAAI;QACjD,OAAO,MAAM,eAAe;IAChC;IACA,IAAI,MAAM,SAAS,EAAE;QACjB;;;SAGC,GACD,MAAM,YAAY,GAAG,WAAW,gBAAgB;QAChD,OAAO,MAAM,YAAY;IAC7B;IACA,6CAA6C;IAC7C,IAAI,UAAU,WACV,MAAM,CAAC,GAAG;IACd,IAAI,UAAU,WACV,MAAM,CAAC,GAAG;IACd,IAAI,cAAc,WACd,MAAM,KAAK,GAAG;IAClB,yCAAyC;IACzC,IAAI,eAAe,WAAW;QAC1B,IAAA,oMAAY,EAAC,OAAO,YAAY,aAAa,YAAY;IAC7D;AACJ","ignoreList":[0]}}, - {"offset": {"line": 4799, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.mjs"],"sourcesContent":["/**\n * A set of attribute names that are always read/written as camel case.\n */\nconst camelCaseAttributes = new Set([\n \"baseFrequency\",\n \"diffuseConstant\",\n \"kernelMatrix\",\n \"kernelUnitLength\",\n \"keySplines\",\n \"keyTimes\",\n \"limitingConeAngle\",\n \"markerHeight\",\n \"markerWidth\",\n \"numOctaves\",\n \"targetX\",\n \"targetY\",\n \"surfaceScale\",\n \"specularConstant\",\n \"specularExponent\",\n \"stdDeviation\",\n \"tableValues\",\n \"viewBox\",\n \"gradientTransform\",\n \"pathLength\",\n \"startOffset\",\n \"textLength\",\n \"lengthAdjust\",\n]);\n\nexport { camelCaseAttributes };\n"],"names":[],"mappings":";;;;AAAA;;CAEC,GACD,MAAM,sBAAsB,IAAI,IAAI;IAChC;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;CACH","ignoreList":[0]}}, - {"offset": {"line": 4835, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/svg/utils/is-svg-tag.mjs"],"sourcesContent":["const isSVGTag = (tag) => typeof tag === \"string\" && tag.toLowerCase() === \"svg\";\n\nexport { isSVGTag };\n"],"names":[],"mappings":";;;;AAAA,MAAM,WAAW,CAAC,MAAQ,OAAO,QAAQ,YAAY,IAAI,WAAW,OAAO","ignoreList":[0]}}, - {"offset": {"line": 4845, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/svg/utils/render.mjs"],"sourcesContent":["import { camelToDash } from '../../dom/utils/camel-to-dash.mjs';\nimport { renderHTML } from '../../html/utils/render.mjs';\nimport { camelCaseAttributes } from './camel-case-attrs.mjs';\n\nfunction renderSVG(element, renderState, _styleProp, projection) {\n renderHTML(element, renderState, undefined, projection);\n for (const key in renderState.attrs) {\n element.setAttribute(!camelCaseAttributes.has(key) ? camelToDash(key) : key, renderState.attrs[key]);\n }\n}\n\nexport { renderSVG };\n"],"names":[],"mappings":";;;;AAAA;AACA;AACA;;;;AAEA,SAAS,UAAU,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU;IAC3D,IAAA,qMAAU,EAAC,SAAS,aAAa,WAAW;IAC5C,IAAK,MAAM,OAAO,YAAY,KAAK,CAAE;QACjC,QAAQ,YAAY,CAAC,CAAC,6NAAmB,CAAC,GAAG,CAAC,OAAO,IAAA,kNAAW,EAAC,OAAO,KAAK,YAAY,KAAK,CAAC,IAAI;IACvG;AACJ","ignoreList":[0]}}, - {"offset": {"line": 4866, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.mjs"],"sourcesContent":["import { isMotionValue, transformPropOrder } from 'motion-dom';\nimport { scrapeMotionValuesFromProps as scrapeMotionValuesFromProps$1 } from '../../html/utils/scrape-motion-values.mjs';\n\nfunction scrapeMotionValuesFromProps(props, prevProps, visualElement) {\n const newValues = scrapeMotionValuesFromProps$1(props, prevProps, visualElement);\n for (const key in props) {\n if (isMotionValue(props[key]) ||\n isMotionValue(prevProps[key])) {\n const targetKey = transformPropOrder.indexOf(key) !== -1\n ? \"attr\" + key.charAt(0).toUpperCase() + key.substring(1)\n : key;\n newValues[targetKey] = props[key];\n }\n }\n return newValues;\n}\n\nexport { scrapeMotionValuesFromProps };\n"],"names":[],"mappings":";;;;AAAA;AAAA;AACA;;;AAEA,SAAS,4BAA4B,KAAK,EAAE,SAAS,EAAE,aAAa;IAChE,MAAM,YAAY,IAAA,0OAA6B,EAAC,OAAO,WAAW;IAClE,IAAK,MAAM,OAAO,MAAO;QACrB,IAAI,IAAA,2MAAa,EAAC,KAAK,CAAC,IAAI,KACxB,IAAA,2MAAa,EAAC,SAAS,CAAC,IAAI,GAAG;YAC/B,MAAM,YAAY,6MAAkB,CAAC,OAAO,CAAC,SAAS,CAAC,IACjD,SAAS,IAAI,MAAM,CAAC,GAAG,WAAW,KAAK,IAAI,SAAS,CAAC,KACrD;YACN,SAAS,CAAC,UAAU,GAAG,KAAK,CAAC,IAAI;QACrC;IACJ;IACA,OAAO;AACX","ignoreList":[0]}}, - {"offset": {"line": 4890, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.mjs"],"sourcesContent":["import { transformProps, getDefaultValueType } from 'motion-dom';\nimport { createBox } from '../../projection/geometry/models.mjs';\nimport { DOMVisualElement } from '../dom/DOMVisualElement.mjs';\nimport { camelToDash } from '../dom/utils/camel-to-dash.mjs';\nimport { buildSVGAttrs } from './utils/build-attrs.mjs';\nimport { camelCaseAttributes } from './utils/camel-case-attrs.mjs';\nimport { isSVGTag } from './utils/is-svg-tag.mjs';\nimport { renderSVG } from './utils/render.mjs';\nimport { scrapeMotionValuesFromProps } from './utils/scrape-motion-values.mjs';\n\nclass SVGVisualElement extends DOMVisualElement {\n constructor() {\n super(...arguments);\n this.type = \"svg\";\n this.isSVGTag = false;\n this.measureInstanceViewportBox = createBox;\n }\n getBaseTargetFromProps(props, key) {\n return props[key];\n }\n readValueFromInstance(instance, key) {\n if (transformProps.has(key)) {\n const defaultType = getDefaultValueType(key);\n return defaultType ? defaultType.default || 0 : 0;\n }\n key = !camelCaseAttributes.has(key) ? camelToDash(key) : key;\n return instance.getAttribute(key);\n }\n scrapeMotionValuesFromProps(props, prevProps, visualElement) {\n return scrapeMotionValuesFromProps(props, prevProps, visualElement);\n }\n build(renderState, latestValues, props) {\n buildSVGAttrs(renderState, latestValues, this.isSVGTag, props.transformTemplate, props.style);\n }\n renderInstance(instance, renderState, styleProp, projection) {\n renderSVG(instance, renderState, styleProp, projection);\n }\n mount(instance) {\n this.isSVGTag = isSVGTag(instance.tagName);\n super.mount(instance);\n }\n}\n\nexport { SVGVisualElement };\n"],"names":[],"mappings":";;;;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;AAEA,MAAM,yBAAyB,2MAAgB;IAC3C,aAAc;QACV,KAAK,IAAI;QACT,IAAI,CAAC,IAAI,GAAG;QACZ,IAAI,CAAC,QAAQ,GAAG;QAChB,IAAI,CAAC,0BAA0B,GAAG,mMAAS;IAC/C;IACA,uBAAuB,KAAK,EAAE,GAAG,EAAE;QAC/B,OAAO,KAAK,CAAC,IAAI;IACrB;IACA,sBAAsB,QAAQ,EAAE,GAAG,EAAE;QACjC,IAAI,yMAAc,CAAC,GAAG,CAAC,MAAM;YACzB,MAAM,cAAc,IAAA,4MAAmB,EAAC;YACxC,OAAO,cAAc,YAAY,OAAO,IAAI,IAAI;QACpD;QACA,MAAM,CAAC,6NAAmB,CAAC,GAAG,CAAC,OAAO,IAAA,kNAAW,EAAC,OAAO;QACzD,OAAO,SAAS,YAAY,CAAC;IACjC;IACA,4BAA4B,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE;QACzD,OAAO,IAAA,yOAA2B,EAAC,OAAO,WAAW;IACzD;IACA,MAAM,WAAW,EAAE,YAAY,EAAE,KAAK,EAAE;QACpC,IAAA,+MAAa,EAAC,aAAa,cAAc,IAAI,CAAC,QAAQ,EAAE,MAAM,iBAAiB,EAAE,MAAM,KAAK;IAChG;IACA,eAAe,QAAQ,EAAE,WAAW,EAAE,SAAS,EAAE,UAAU,EAAE;QACzD,IAAA,mMAAS,EAAC,UAAU,aAAa,WAAW;IAChD;IACA,MAAM,QAAQ,EAAE;QACZ,IAAI,CAAC,QAAQ,GAAG,IAAA,4MAAQ,EAAC,SAAS,OAAO;QACzC,KAAK,CAAC,MAAM;IAChB;AACJ","ignoreList":[0]}}, - {"offset": {"line": 4950, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs"],"sourcesContent":["/**\n * We keep these listed separately as we use the lowercase tag names as part\n * of the runtime bundle to detect SVG components\n */\nconst lowercaseSVGElements = [\n \"animate\",\n \"circle\",\n \"defs\",\n \"desc\",\n \"ellipse\",\n \"g\",\n \"image\",\n \"line\",\n \"filter\",\n \"marker\",\n \"mask\",\n \"metadata\",\n \"path\",\n \"pattern\",\n \"polygon\",\n \"polyline\",\n \"rect\",\n \"stop\",\n \"switch\",\n \"symbol\",\n \"svg\",\n \"text\",\n \"tspan\",\n \"use\",\n \"view\",\n];\n\nexport { lowercaseSVGElements };\n"],"names":[],"mappings":";;;;AAAA;;;CAGC,GACD,MAAM,uBAAuB;IACzB;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;CACH","ignoreList":[0]}}, - {"offset": {"line": 4989, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs"],"sourcesContent":["import { lowercaseSVGElements } from '../../svg/lowercase-elements.mjs';\n\nfunction isSVGComponent(Component) {\n if (\n /**\n * If it's not a string, it's a custom React component. Currently we only support\n * HTML custom React components.\n */\n typeof Component !== \"string\" ||\n /**\n * If it contains a dash, the element is a custom HTML webcomponent.\n */\n Component.includes(\"-\")) {\n return false;\n }\n else if (\n /**\n * If it's in our list of lowercase SVG tags, it's an SVG component\n */\n lowercaseSVGElements.indexOf(Component) > -1 ||\n /**\n * If it contains a capital letter, it's an SVG component\n */\n /[A-Z]/u.test(Component)) {\n return true;\n }\n return false;\n}\n\nexport { isSVGComponent };\n"],"names":[],"mappings":";;;;AAAA;;AAEA,SAAS,eAAe,SAAS;IAC7B,IACA;;;KAGC,GACD,OAAO,cAAc,YACjB;;SAEC,GACD,UAAU,QAAQ,CAAC,MAAM;QACzB,OAAO;IACX,OACK,IACL;;KAEC,GACD,oNAAoB,CAAC,OAAO,CAAC,aAAa,CAAC,KACvC;;SAEC,GACD,SAAS,IAAI,CAAC,YAAY;QAC1B,OAAO;IACX;IACA,OAAO;AACX","ignoreList":[0]}}, - {"offset": {"line": 5017, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs"],"sourcesContent":["import { Fragment } from 'react';\nimport { HTMLVisualElement } from '../html/HTMLVisualElement.mjs';\nimport { SVGVisualElement } from '../svg/SVGVisualElement.mjs';\nimport { isSVGComponent } from './utils/is-svg-component.mjs';\n\nconst createDomVisualElement = (Component, options) => {\n return isSVGComponent(Component)\n ? new SVGVisualElement(options)\n : new HTMLVisualElement(options, {\n allowProjection: Component !== Fragment,\n });\n};\n\nexport { createDomVisualElement };\n"],"names":[],"mappings":";;;;AAAA;AACA;AACA;AACA;;;;;AAEA,MAAM,yBAAyB,CAAC,WAAW;IACvC,OAAO,IAAA,wNAAc,EAAC,aAChB,IAAI,2MAAgB,CAAC,WACrB,IAAI,8MAAiB,CAAC,SAAS;QAC7B,iBAAiB,cAAc,yKAAQ;IAC3C;AACR","ignoreList":[0]}}, - {"offset": {"line": 5039, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/context/LazyContext.mjs"],"sourcesContent":["\"use client\";\nimport { createContext } from 'react';\n\nconst LazyContext = createContext({ strict: false });\n\nexport { LazyContext };\n"],"names":[],"mappings":";;;;AACA;AADA;;AAGA,MAAM,cAAc,IAAA,8KAAa,EAAC;IAAE,QAAQ;AAAM","ignoreList":[0]}}, - {"offset": {"line": 5054, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/context/MotionContext/index.mjs"],"sourcesContent":["\"use client\";\nimport { createContext } from 'react';\n\nconst MotionContext = /* @__PURE__ */ createContext({});\n\nexport { MotionContext };\n"],"names":[],"mappings":";;;;AACA;AADA;;AAGA,MAAM,gBAAgB,aAAa,GAAG,IAAA,8KAAa,EAAC,CAAC","ignoreList":[0]}}, - {"offset": {"line": 5067, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs"],"sourcesContent":["import { isControllingVariants } from '../../render/utils/is-controlling-variants.mjs';\nimport { isVariantLabel } from '../../render/utils/is-variant-label.mjs';\n\nfunction getCurrentTreeVariants(props, context) {\n if (isControllingVariants(props)) {\n const { initial, animate } = props;\n return {\n initial: initial === false || isVariantLabel(initial)\n ? initial\n : undefined,\n animate: isVariantLabel(animate) ? animate : undefined,\n };\n }\n return props.inherit !== false ? context : {};\n}\n\nexport { getCurrentTreeVariants };\n"],"names":[],"mappings":";;;;AAAA;AACA;;;AAEA,SAAS,uBAAuB,KAAK,EAAE,OAAO;IAC1C,IAAI,IAAA,+NAAqB,EAAC,QAAQ;QAC9B,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG;QAC7B,OAAO;YACH,SAAS,YAAY,SAAS,IAAA,iNAAc,EAAC,WACvC,UACA;YACN,SAAS,IAAA,iNAAc,EAAC,WAAW,UAAU;QACjD;IACJ;IACA,OAAO,MAAM,OAAO,KAAK,QAAQ,UAAU,CAAC;AAChD","ignoreList":[0]}}, - {"offset": {"line": 5090, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/context/MotionContext/create.mjs"],"sourcesContent":["\"use client\";\nimport { useContext, useMemo } from 'react';\nimport { MotionContext } from './index.mjs';\nimport { getCurrentTreeVariants } from './utils.mjs';\n\nfunction useCreateMotionContext(props) {\n const { initial, animate } = getCurrentTreeVariants(props, useContext(MotionContext));\n return useMemo(() => ({ initial, animate }), [variantLabelsAsDependency(initial), variantLabelsAsDependency(animate)]);\n}\nfunction variantLabelsAsDependency(prop) {\n return Array.isArray(prop) ? prop.join(\" \") : prop;\n}\n\nexport { useCreateMotionContext };\n"],"names":[],"mappings":";;;;AACA;AACA;AACA;AAHA;;;;AAKA,SAAS,uBAAuB,KAAK;IACjC,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,IAAA,iNAAsB,EAAC,OAAO,IAAA,2KAAU,EAAC,wMAAa;IACnF,OAAO,IAAA,wKAAO;0CAAC,IAAM,CAAC;gBAAE;gBAAS;YAAQ,CAAC;yCAAG;QAAC,0BAA0B;QAAU,0BAA0B;KAAS;AACzH;AACA,SAAS,0BAA0B,IAAI;IACnC,OAAO,MAAM,OAAO,CAAC,QAAQ,KAAK,IAAI,CAAC,OAAO;AAClD","ignoreList":[0]}}, - {"offset": {"line": 5121, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs"],"sourcesContent":["const createHtmlRenderState = () => ({\n style: {},\n transform: {},\n transformOrigin: {},\n vars: {},\n});\n\nexport { createHtmlRenderState };\n"],"names":[],"mappings":";;;;AAAA,MAAM,wBAAwB,IAAM,CAAC;QACjC,OAAO,CAAC;QACR,WAAW,CAAC;QACZ,iBAAiB,CAAC;QAClB,MAAM,CAAC;IACX,CAAC","ignoreList":[0]}}, - {"offset": {"line": 5136, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/html/use-props.mjs"],"sourcesContent":["\"use client\";\nimport { isMotionValue } from 'motion-dom';\nimport { useMemo } from 'react';\nimport { isForcedMotionValue } from '../../motion/utils/is-forced-motion-value.mjs';\nimport { buildHTMLStyles } from './utils/build-styles.mjs';\nimport { createHtmlRenderState } from './utils/create-render-state.mjs';\n\nfunction copyRawValuesOnly(target, source, props) {\n for (const key in source) {\n if (!isMotionValue(source[key]) && !isForcedMotionValue(key, props)) {\n target[key] = source[key];\n }\n }\n}\nfunction useInitialMotionValues({ transformTemplate }, visualState) {\n return useMemo(() => {\n const state = createHtmlRenderState();\n buildHTMLStyles(state, visualState, transformTemplate);\n return Object.assign({}, state.vars, state.style);\n }, [visualState]);\n}\nfunction useStyle(props, visualState) {\n const styleProp = props.style || {};\n const style = {};\n /**\n * Copy non-Motion Values straight into style\n */\n copyRawValuesOnly(style, styleProp, props);\n Object.assign(style, useInitialMotionValues(props, visualState));\n return style;\n}\nfunction useHTMLProps(props, visualState) {\n // The `any` isn't ideal but it is the type of createElement props argument\n const htmlProps = {};\n const style = useStyle(props, visualState);\n if (props.drag && props.dragListener !== false) {\n // Disable the ghost element when a user drags\n htmlProps.draggable = false;\n // Disable text selection\n style.userSelect =\n style.WebkitUserSelect =\n style.WebkitTouchCallout =\n \"none\";\n // Disable scrolling on the draggable direction\n style.touchAction =\n props.drag === true\n ? \"none\"\n : `pan-${props.drag === \"x\" ? \"y\" : \"x\"}`;\n }\n if (props.tabIndex === undefined &&\n (props.onTap || props.onTapStart || props.whileTap)) {\n htmlProps.tabIndex = 0;\n }\n htmlProps.style = style;\n return htmlProps;\n}\n\nexport { copyRawValuesOnly, useHTMLProps };\n"],"names":[],"mappings":";;;;;;AACA;AACA;AACA;AACA;AACA;AALA;;;;;;AAOA,SAAS,kBAAkB,MAAM,EAAE,MAAM,EAAE,KAAK;IAC5C,IAAK,MAAM,OAAO,OAAQ;QACtB,IAAI,CAAC,IAAA,2MAAa,EAAC,MAAM,CAAC,IAAI,KAAK,CAAC,IAAA,+NAAmB,EAAC,KAAK,QAAQ;YACjE,MAAM,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI;QAC7B;IACJ;AACJ;AACA,SAAS,uBAAuB,EAAE,iBAAiB,EAAE,EAAE,WAAW;IAC9D,OAAO,IAAA,wKAAO;0CAAC;YACX,MAAM,QAAQ,IAAA,mOAAqB;YACnC,IAAA,mNAAe,EAAC,OAAO,aAAa;YACpC,OAAO,OAAO,MAAM,CAAC,CAAC,GAAG,MAAM,IAAI,EAAE,MAAM,KAAK;QACpD;yCAAG;QAAC;KAAY;AACpB;AACA,SAAS,SAAS,KAAK,EAAE,WAAW;IAChC,MAAM,YAAY,MAAM,KAAK,IAAI,CAAC;IAClC,MAAM,QAAQ,CAAC;IACf;;KAEC,GACD,kBAAkB,OAAO,WAAW;IACpC,OAAO,MAAM,CAAC,OAAO,uBAAuB,OAAO;IACnD,OAAO;AACX;AACA,SAAS,aAAa,KAAK,EAAE,WAAW;IACpC,2EAA2E;IAC3E,MAAM,YAAY,CAAC;IACnB,MAAM,QAAQ,SAAS,OAAO;IAC9B,IAAI,MAAM,IAAI,IAAI,MAAM,YAAY,KAAK,OAAO;QAC5C,8CAA8C;QAC9C,UAAU,SAAS,GAAG;QACtB,yBAAyB;QACzB,MAAM,UAAU,GACZ,MAAM,gBAAgB,GAClB,MAAM,kBAAkB,GACpB;QACZ,+CAA+C;QAC/C,MAAM,WAAW,GACb,MAAM,IAAI,KAAK,OACT,SACA,CAAC,IAAI,EAAE,MAAM,IAAI,KAAK,MAAM,MAAM,KAAK;IACrD;IACA,IAAI,MAAM,QAAQ,KAAK,aACnB,CAAC,MAAM,KAAK,IAAI,MAAM,UAAU,IAAI,MAAM,QAAQ,GAAG;QACrD,UAAU,QAAQ,GAAG;IACzB;IACA,UAAU,KAAK,GAAG;IAClB,OAAO;AACX","ignoreList":[0]}}, - {"offset": {"line": 5203, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.mjs"],"sourcesContent":["import { createHtmlRenderState } from '../../html/utils/create-render-state.mjs';\n\nconst createSvgRenderState = () => ({\n ...createHtmlRenderState(),\n attrs: {},\n});\n\nexport { createSvgRenderState };\n"],"names":[],"mappings":";;;;AAAA;;AAEA,MAAM,uBAAuB,IAAM,CAAC;QAChC,GAAG,IAAA,mOAAqB,GAAE;QAC1B,OAAO,CAAC;IACZ,CAAC","ignoreList":[0]}}, - {"offset": {"line": 5218, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/svg/use-props.mjs"],"sourcesContent":["\"use client\";\nimport { useMemo } from 'react';\nimport { copyRawValuesOnly } from '../html/use-props.mjs';\nimport { buildSVGAttrs } from './utils/build-attrs.mjs';\nimport { createSvgRenderState } from './utils/create-render-state.mjs';\nimport { isSVGTag } from './utils/is-svg-tag.mjs';\n\nfunction useSVGProps(props, visualState, _isStatic, Component) {\n const visualProps = useMemo(() => {\n const state = createSvgRenderState();\n buildSVGAttrs(state, visualState, isSVGTag(Component), props.transformTemplate, props.style);\n return {\n ...state.attrs,\n style: { ...state.style },\n };\n }, [visualState]);\n if (props.style) {\n const rawStyles = {};\n copyRawValuesOnly(rawStyles, props.style, props);\n visualProps.style = { ...rawStyles, ...visualProps.style };\n }\n return visualProps;\n}\n\nexport { useSVGProps };\n"],"names":[],"mappings":";;;;AACA;AACA;AACA;AACA;AACA;AALA;;;;;;AAOA,SAAS,YAAY,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,SAAS;IACzD,MAAM,cAAc,IAAA,wKAAO;4CAAC;YACxB,MAAM,QAAQ,IAAA,iOAAoB;YAClC,IAAA,+MAAa,EAAC,OAAO,aAAa,IAAA,4MAAQ,EAAC,YAAY,MAAM,iBAAiB,EAAE,MAAM,KAAK;YAC3F,OAAO;gBACH,GAAG,MAAM,KAAK;gBACd,OAAO;oBAAE,GAAG,MAAM,KAAK;gBAAC;YAC5B;QACJ;2CAAG;QAAC;KAAY;IAChB,IAAI,MAAM,KAAK,EAAE;QACb,MAAM,YAAY,CAAC;QACnB,IAAA,yMAAiB,EAAC,WAAW,MAAM,KAAK,EAAE;QAC1C,YAAY,KAAK,GAAG;YAAE,GAAG,SAAS;YAAE,GAAG,YAAY,KAAK;QAAC;IAC7D;IACA,OAAO;AACX","ignoreList":[0]}}, - {"offset": {"line": 5263, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs"],"sourcesContent":["/**\n * A list of all valid MotionProps.\n *\n * @privateRemarks\n * This doesn't throw if a `MotionProp` name is missing - it should.\n */\nconst validMotionProps = new Set([\n \"animate\",\n \"exit\",\n \"variants\",\n \"initial\",\n \"style\",\n \"values\",\n \"variants\",\n \"transition\",\n \"transformTemplate\",\n \"custom\",\n \"inherit\",\n \"onBeforeLayoutMeasure\",\n \"onAnimationStart\",\n \"onAnimationComplete\",\n \"onUpdate\",\n \"onDragStart\",\n \"onDrag\",\n \"onDragEnd\",\n \"onMeasureDragConstraints\",\n \"onDirectionLock\",\n \"onDragTransitionEnd\",\n \"_dragX\",\n \"_dragY\",\n \"onHoverStart\",\n \"onHoverEnd\",\n \"onViewportEnter\",\n \"onViewportLeave\",\n \"globalTapTarget\",\n \"ignoreStrict\",\n \"viewport\",\n]);\n/**\n * Check whether a prop name is a valid `MotionProp` key.\n *\n * @param key - Name of the property to check\n * @returns `true` is key is a valid `MotionProp`.\n *\n * @public\n */\nfunction isValidMotionProp(key) {\n return (key.startsWith(\"while\") ||\n (key.startsWith(\"drag\") && key !== \"draggable\") ||\n key.startsWith(\"layout\") ||\n key.startsWith(\"onTap\") ||\n key.startsWith(\"onPan\") ||\n key.startsWith(\"onLayout\") ||\n validMotionProps.has(key));\n}\n\nexport { isValidMotionProp };\n"],"names":[],"mappings":";;;;AAAA;;;;;CAKC,GACD,MAAM,mBAAmB,IAAI,IAAI;IAC7B;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;CACH;AACD;;;;;;;CAOC,GACD,SAAS,kBAAkB,GAAG;IAC1B,OAAQ,IAAI,UAAU,CAAC,YAClB,IAAI,UAAU,CAAC,WAAW,QAAQ,eACnC,IAAI,UAAU,CAAC,aACf,IAAI,UAAU,CAAC,YACf,IAAI,UAAU,CAAC,YACf,IAAI,UAAU,CAAC,eACf,iBAAiB,GAAG,CAAC;AAC7B","ignoreList":[0]}}, - {"offset": {"line": 5319, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs"],"sourcesContent":["import { isValidMotionProp } from '../../../motion/utils/valid-prop.mjs';\n\nlet shouldForward = (key) => !isValidMotionProp(key);\nfunction loadExternalIsValidProp(isValidProp) {\n if (typeof isValidProp !== \"function\")\n return;\n // Explicitly filter our events\n shouldForward = (key) => key.startsWith(\"on\") ? !isValidMotionProp(key) : isValidProp(key);\n}\n/**\n * Emotion and Styled Components both allow users to pass through arbitrary props to their components\n * to dynamically generate CSS. They both use the `@emotion/is-prop-valid` package to determine which\n * of these should be passed to the underlying DOM node.\n *\n * However, when styling a Motion component `styled(motion.div)`, both packages pass through *all* props\n * as it's seen as an arbitrary component rather than a DOM node. Motion only allows arbitrary props\n * passed through the `custom` prop so it doesn't *need* the payload or computational overhead of\n * `@emotion/is-prop-valid`, however to fix this problem we need to use it.\n *\n * By making it an optionalDependency we can offer this functionality only in the situations where it's\n * actually required.\n */\ntry {\n /**\n * We attempt to import this package but require won't be defined in esm environments, in that case\n * isPropValid will have to be provided via `MotionContext`. In a 6.0.0 this should probably be removed\n * in favour of explicit injection.\n */\n loadExternalIsValidProp(require(\"@emotion/is-prop-valid\").default);\n}\ncatch {\n // We don't need to actually do anything here - the fallback is the existing `isPropValid`.\n}\nfunction filterProps(props, isDom, forwardMotionProps) {\n const filteredProps = {};\n for (const key in props) {\n /**\n * values is considered a valid prop by Emotion, so if it's present\n * this will be rendered out to the DOM unless explicitly filtered.\n *\n * We check the type as it could be used with the `feColorMatrix`\n * element, which we support.\n */\n if (key === \"values\" && typeof props.values === \"object\")\n continue;\n if (shouldForward(key) ||\n (forwardMotionProps === true && isValidMotionProp(key)) ||\n (!isDom && !isValidMotionProp(key)) ||\n // If trying to use native HTML drag events, forward drag listeners\n (props[\"draggable\"] &&\n key.startsWith(\"onDrag\"))) {\n filteredProps[key] =\n props[key];\n }\n }\n return filteredProps;\n}\n\nexport { filterProps, loadExternalIsValidProp };\n"],"names":[],"mappings":";;;;;;AAAA;;AAEA,IAAI,gBAAgB,CAAC,MAAQ,CAAC,IAAA,2MAAiB,EAAC;AAChD,SAAS,wBAAwB,WAAW;IACxC,IAAI,OAAO,gBAAgB,YACvB;IACJ,+BAA+B;IAC/B,gBAAgB,CAAC,MAAQ,IAAI,UAAU,CAAC,QAAQ,CAAC,IAAA,2MAAiB,EAAC,OAAO,YAAY;AAC1F;AACA;;;;;;;;;;;;CAYC,GACD,IAAI;IACA;;;;KAIC,GACD,wBAAwB;;;;SAAkC,OAAO;AACrE,EACA,OAAM;AACF,2FAA2F;AAC/F;AACA,SAAS,YAAY,KAAK,EAAE,KAAK,EAAE,kBAAkB;IACjD,MAAM,gBAAgB,CAAC;IACvB,IAAK,MAAM,OAAO,MAAO;QACrB;;;;;;SAMC,GACD,IAAI,QAAQ,YAAY,OAAO,MAAM,MAAM,KAAK,UAC5C;QACJ,IAAI,cAAc,QACb,uBAAuB,QAAQ,IAAA,2MAAiB,EAAC,QACjD,CAAC,SAAS,CAAC,IAAA,2MAAiB,EAAC,QAE7B,KAAK,CAAC,YAAY,IACf,IAAI,UAAU,CAAC,WAAY;YAC/B,aAAa,CAAC,IAAI,GACd,KAAK,CAAC,IAAI;QAClB;IACJ;IACA,OAAO;AACX","ignoreList":[0]}}, - {"offset": {"line": 5379, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/dom/use-render.mjs"],"sourcesContent":["\"use client\";\nimport { isMotionValue } from 'motion-dom';\nimport { Fragment, useMemo, createElement } from 'react';\nimport { useHTMLProps } from '../html/use-props.mjs';\nimport { useSVGProps } from '../svg/use-props.mjs';\nimport { filterProps } from './utils/filter-props.mjs';\nimport { isSVGComponent } from './utils/is-svg-component.mjs';\n\nfunction useRender(Component, props, ref, { latestValues, }, isStatic, forwardMotionProps = false) {\n const useVisualProps = isSVGComponent(Component)\n ? useSVGProps\n : useHTMLProps;\n const visualProps = useVisualProps(props, latestValues, isStatic, Component);\n const filteredProps = filterProps(props, typeof Component === \"string\", forwardMotionProps);\n const elementProps = Component !== Fragment ? { ...filteredProps, ...visualProps, ref } : {};\n /**\n * If component has been handed a motion value as its child,\n * memoise its initial value and render that. Subsequent updates\n * will be handled by the onChange handler\n */\n const { children } = props;\n const renderedChildren = useMemo(() => (isMotionValue(children) ? children.get() : children), [children]);\n return createElement(Component, {\n ...elementProps,\n children: renderedChildren,\n });\n}\n\nexport { useRender };\n"],"names":[],"mappings":";;;;AACA;AACA;AACA;AACA;AACA;AACA;AANA;;;;;;;AAQA,SAAS,UAAU,SAAS,EAAE,KAAK,EAAE,GAAG,EAAE,EAAE,YAAY,EAAG,EAAE,QAAQ,EAAE,qBAAqB,KAAK;IAC7F,MAAM,iBAAiB,IAAA,wNAAc,EAAC,aAChC,kMAAW,GACX,oMAAY;IAClB,MAAM,cAAc,eAAe,OAAO,cAAc,UAAU;IAClE,MAAM,gBAAgB,IAAA,8MAAW,EAAC,OAAO,OAAO,cAAc,UAAU;IACxE,MAAM,eAAe,cAAc,yKAAQ,GAAG;QAAE,GAAG,aAAa;QAAE,GAAG,WAAW;QAAE;IAAI,IAAI,CAAC;IAC3F;;;;KAIC,GACD,MAAM,EAAE,QAAQ,EAAE,GAAG;IACrB,MAAM,mBAAmB,IAAA,wKAAO;+CAAC,IAAO,IAAA,2MAAa,EAAC,YAAY,SAAS,GAAG,KAAK;8CAAW;QAAC;KAAS;IACxG,OAAO,IAAA,8KAAa,EAAC,WAAW;QAC5B,GAAG,YAAY;QACf,UAAU;IACd;AACJ","ignoreList":[0]}}, - {"offset": {"line": 5425, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.mjs"],"sourcesContent":["import { isMotionValue } from 'motion-dom';\n\n/**\n * If the provided value is a MotionValue, this returns the actual value, otherwise just the value itself\n *\n * TODO: Remove and move to library\n */\nfunction resolveMotionValue(value) {\n return isMotionValue(value) ? value.get() : value;\n}\n\nexport { resolveMotionValue };\n"],"names":[],"mappings":";;;;AAAA;;AAEA;;;;CAIC,GACD,SAAS,mBAAmB,KAAK;IAC7B,OAAO,IAAA,2MAAa,EAAC,SAAS,MAAM,GAAG,KAAK;AAChD","ignoreList":[0]}}, - {"offset": {"line": 5443, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs"],"sourcesContent":["\"use client\";\nimport { useContext } from 'react';\nimport { isAnimationControls } from '../../animation/utils/is-animation-controls.mjs';\nimport { MotionContext } from '../../context/MotionContext/index.mjs';\nimport { PresenceContext } from '../../context/PresenceContext.mjs';\nimport { isControllingVariants, isVariantNode } from '../../render/utils/is-controlling-variants.mjs';\nimport { resolveVariantFromProps } from '../../render/utils/resolve-variants.mjs';\nimport { useConstant } from '../../utils/use-constant.mjs';\nimport { resolveMotionValue } from '../../value/utils/resolve-motion-value.mjs';\n\nfunction makeState({ scrapeMotionValuesFromProps, createRenderState, }, props, context, presenceContext) {\n const state = {\n latestValues: makeLatestValues(props, context, presenceContext, scrapeMotionValuesFromProps),\n renderState: createRenderState(),\n };\n return state;\n}\nfunction makeLatestValues(props, context, presenceContext, scrapeMotionValues) {\n const values = {};\n const motionValues = scrapeMotionValues(props, {});\n for (const key in motionValues) {\n values[key] = resolveMotionValue(motionValues[key]);\n }\n let { initial, animate } = props;\n const isControllingVariants$1 = isControllingVariants(props);\n const isVariantNode$1 = isVariantNode(props);\n if (context &&\n isVariantNode$1 &&\n !isControllingVariants$1 &&\n props.inherit !== false) {\n if (initial === undefined)\n initial = context.initial;\n if (animate === undefined)\n animate = context.animate;\n }\n let isInitialAnimationBlocked = presenceContext\n ? presenceContext.initial === false\n : false;\n isInitialAnimationBlocked = isInitialAnimationBlocked || initial === false;\n const variantToSet = isInitialAnimationBlocked ? animate : initial;\n if (variantToSet &&\n typeof variantToSet !== \"boolean\" &&\n !isAnimationControls(variantToSet)) {\n const list = Array.isArray(variantToSet) ? variantToSet : [variantToSet];\n for (let i = 0; i < list.length; i++) {\n const resolved = resolveVariantFromProps(props, list[i]);\n if (resolved) {\n const { transitionEnd, transition, ...target } = resolved;\n for (const key in target) {\n let valueTarget = target[key];\n if (Array.isArray(valueTarget)) {\n /**\n * Take final keyframe if the initial animation is blocked because\n * we want to initialise at the end of that blocked animation.\n */\n const index = isInitialAnimationBlocked\n ? valueTarget.length - 1\n : 0;\n valueTarget = valueTarget[index];\n }\n if (valueTarget !== null) {\n values[key] = valueTarget;\n }\n }\n for (const key in transitionEnd) {\n values[key] = transitionEnd[key];\n }\n }\n }\n }\n return values;\n}\nconst makeUseVisualState = (config) => (props, isStatic) => {\n const context = useContext(MotionContext);\n const presenceContext = useContext(PresenceContext);\n const make = () => makeState(config, props, context, presenceContext);\n return isStatic ? make() : useConstant(make);\n};\n\nexport { makeUseVisualState };\n"],"names":[],"mappings":";;;;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AARA;;;;;;;;;AAUA,SAAS,UAAU,EAAE,2BAA2B,EAAE,iBAAiB,EAAG,EAAE,KAAK,EAAE,OAAO,EAAE,eAAe;IACnG,MAAM,QAAQ;QACV,cAAc,iBAAiB,OAAO,SAAS,iBAAiB;QAChE,aAAa;IACjB;IACA,OAAO;AACX;AACA,SAAS,iBAAiB,KAAK,EAAE,OAAO,EAAE,eAAe,EAAE,kBAAkB;IACzE,MAAM,SAAS,CAAC;IAChB,MAAM,eAAe,mBAAmB,OAAO,CAAC;IAChD,IAAK,MAAM,OAAO,aAAc;QAC5B,MAAM,CAAC,IAAI,GAAG,IAAA,wNAAkB,EAAC,YAAY,CAAC,IAAI;IACtD;IACA,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG;IAC3B,MAAM,0BAA0B,IAAA,+NAAqB,EAAC;IACtD,MAAM,kBAAkB,IAAA,uNAAa,EAAC;IACtC,IAAI,WACA,mBACA,CAAC,2BACD,MAAM,OAAO,KAAK,OAAO;QACzB,IAAI,YAAY,WACZ,UAAU,QAAQ,OAAO;QAC7B,IAAI,YAAY,WACZ,UAAU,QAAQ,OAAO;IACjC;IACA,IAAI,4BAA4B,kBAC1B,gBAAgB,OAAO,KAAK,QAC5B;IACN,4BAA4B,6BAA6B,YAAY;IACrE,MAAM,eAAe,4BAA4B,UAAU;IAC3D,IAAI,gBACA,OAAO,iBAAiB,aACxB,CAAC,IAAA,8NAAmB,EAAC,eAAe;QACpC,MAAM,OAAO,MAAM,OAAO,CAAC,gBAAgB,eAAe;YAAC;SAAa;QACxE,IAAK,IAAI,IAAI,GAAG,IAAI,KAAK,MAAM,EAAE,IAAK;YAClC,MAAM,WAAW,IAAA,uNAAuB,EAAC,OAAO,IAAI,CAAC,EAAE;YACvD,IAAI,UAAU;gBACV,MAAM,EAAE,aAAa,EAAE,UAAU,EAAE,GAAG,QAAQ,GAAG;gBACjD,IAAK,MAAM,OAAO,OAAQ;oBACtB,IAAI,cAAc,MAAM,CAAC,IAAI;oBAC7B,IAAI,MAAM,OAAO,CAAC,cAAc;wBAC5B;;;yBAGC,GACD,MAAM,QAAQ,4BACR,YAAY,MAAM,GAAG,IACrB;wBACN,cAAc,WAAW,CAAC,MAAM;oBACpC;oBACA,IAAI,gBAAgB,MAAM;wBACtB,MAAM,CAAC,IAAI,GAAG;oBAClB;gBACJ;gBACA,IAAK,MAAM,OAAO,cAAe;oBAC7B,MAAM,CAAC,IAAI,GAAG,aAAa,CAAC,IAAI;gBACpC;YACJ;QACJ;IACJ;IACA,OAAO;AACX;AACA,MAAM,qBAAqB,CAAC,SAAW,CAAC,OAAO;QAC3C,MAAM,UAAU,IAAA,2KAAU,EAAC,wMAAa;QACxC,MAAM,kBAAkB,IAAA,2KAAU,EAAC,mMAAe;QAClD,MAAM,OAAO,IAAM,UAAU,QAAQ,OAAO,SAAS;QACrD,OAAO,WAAW,SAAS,IAAA,6LAAW,EAAC;IAC3C","ignoreList":[0]}}, - {"offset": {"line": 5527, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.mjs"],"sourcesContent":["\"use client\";\nimport { makeUseVisualState } from '../../motion/utils/use-visual-state.mjs';\nimport { createHtmlRenderState } from './utils/create-render-state.mjs';\nimport { scrapeMotionValuesFromProps } from './utils/scrape-motion-values.mjs';\n\nconst useHTMLVisualState = /*@__PURE__*/ makeUseVisualState({\n scrapeMotionValuesFromProps,\n createRenderState: createHtmlRenderState,\n});\n\nexport { useHTMLVisualState };\n"],"names":[],"mappings":";;;;AACA;AACA;AACA;AAHA;;;;AAKA,MAAM,qBAAqB,WAAW,GAAG,IAAA,qNAAkB,EAAC;IACxD,6BAAA,0OAA2B;IAC3B,mBAAmB,mOAAqB;AAC5C","ignoreList":[0]}}, - {"offset": {"line": 5547, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.mjs"],"sourcesContent":["\"use client\";\nimport { makeUseVisualState } from '../../motion/utils/use-visual-state.mjs';\nimport { createSvgRenderState } from './utils/create-render-state.mjs';\nimport { scrapeMotionValuesFromProps } from './utils/scrape-motion-values.mjs';\n\nconst useSVGVisualState = /*@__PURE__*/ makeUseVisualState({\n scrapeMotionValuesFromProps: scrapeMotionValuesFromProps,\n createRenderState: createSvgRenderState,\n});\n\nexport { useSVGVisualState };\n"],"names":[],"mappings":";;;;AACA;AACA;AACA;AAHA;;;;AAKA,MAAM,oBAAoB,WAAW,GAAG,IAAA,qNAAkB,EAAC;IACvD,6BAA6B,yOAA2B;IACxD,mBAAmB,iOAAoB;AAC3C","ignoreList":[0]}}, - {"offset": {"line": 5567, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/motion/features/load-features.mjs"],"sourcesContent":["import { featureDefinitions } from './definitions.mjs';\n\nfunction loadFeatures(features) {\n for (const key in features) {\n featureDefinitions[key] = {\n ...featureDefinitions[key],\n ...features[key],\n };\n }\n}\n\nexport { loadFeatures };\n"],"names":[],"mappings":";;;;AAAA;;AAEA,SAAS,aAAa,QAAQ;IAC1B,IAAK,MAAM,OAAO,SAAU;QACxB,6MAAkB,CAAC,IAAI,GAAG;YACtB,GAAG,6MAAkB,CAAC,IAAI;YAC1B,GAAG,QAAQ,CAAC,IAAI;QACpB;IACJ;AACJ","ignoreList":[0]}}, - {"offset": {"line": 5586, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/motion/utils/symbol.mjs"],"sourcesContent":["const motionComponentSymbol = Symbol.for(\"motionComponentSymbol\");\n\nexport { motionComponentSymbol };\n"],"names":[],"mappings":";;;;AAAA,MAAM,wBAAwB,OAAO,GAAG,CAAC","ignoreList":[0]}}, - {"offset": {"line": 5596, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/utils/is-ref-object.mjs"],"sourcesContent":["function isRefObject(ref) {\n return (ref &&\n typeof ref === \"object\" &&\n Object.prototype.hasOwnProperty.call(ref, \"current\"));\n}\n\nexport { isRefObject };\n"],"names":[],"mappings":";;;;AAAA,SAAS,YAAY,GAAG;IACpB,OAAQ,OACJ,OAAO,QAAQ,YACf,OAAO,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,KAAK;AAClD","ignoreList":[0]}}, - {"offset": {"line": 5608, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs"],"sourcesContent":["\"use client\";\nimport { useCallback } from 'react';\nimport { isRefObject } from '../../utils/is-ref-object.mjs';\n\n/**\n * Creates a ref function that, when called, hydrates the provided\n * external ref and VisualElement.\n */\nfunction useMotionRef(visualState, visualElement, externalRef) {\n return useCallback((instance) => {\n if (instance) {\n visualState.onMount && visualState.onMount(instance);\n }\n if (visualElement) {\n if (instance) {\n visualElement.mount(instance);\n }\n else {\n visualElement.unmount();\n }\n }\n if (externalRef) {\n if (typeof externalRef === \"function\") {\n externalRef(instance);\n }\n else if (isRefObject(externalRef)) {\n externalRef.current = instance;\n }\n }\n }, \n /**\n * Include externalRef in dependencies to ensure the callback updates\n * when the ref changes, allowing proper ref forwarding.\n */\n [visualElement]);\n}\n\nexport { useMotionRef };\n"],"names":[],"mappings":";;;;AACA;AACA;AAFA;;;AAIA;;;CAGC,GACD,SAAS,aAAa,WAAW,EAAE,aAAa,EAAE,WAAW;IACzD,OAAO,IAAA,4KAAW;oCAAC,CAAC;YAChB,IAAI,UAAU;gBACV,YAAY,OAAO,IAAI,YAAY,OAAO,CAAC;YAC/C;YACA,IAAI,eAAe;gBACf,IAAI,UAAU;oBACV,cAAc,KAAK,CAAC;gBACxB,OACK;oBACD,cAAc,OAAO;gBACzB;YACJ;YACA,IAAI,aAAa;gBACb,IAAI,OAAO,gBAAgB,YAAY;oBACnC,YAAY;gBAChB,OACK,IAAI,IAAA,iMAAW,EAAC,cAAc;oBAC/B,YAAY,OAAO,GAAG;gBAC1B;YACJ;QACJ;mCACA;;;KAGC,GACD;QAAC;KAAc;AACnB","ignoreList":[0]}}, - {"offset": {"line": 5653, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.mjs"],"sourcesContent":["import { camelToDash } from '../../render/dom/utils/camel-to-dash.mjs';\n\nconst optimizedAppearDataId = \"framerAppearId\";\nconst optimizedAppearDataAttribute = \"data-\" + camelToDash(optimizedAppearDataId);\n\nexport { optimizedAppearDataAttribute, optimizedAppearDataId };\n"],"names":[],"mappings":";;;;;;AAAA;;AAEA,MAAM,wBAAwB;AAC9B,MAAM,+BAA+B,UAAU,IAAA,kNAAW,EAAC","ignoreList":[0]}}, - {"offset": {"line": 5668, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs"],"sourcesContent":["\"use client\";\nimport { createContext } from 'react';\n\n/**\n * Internal, exported only for usage in Framer\n */\nconst SwitchLayoutGroupContext = createContext({});\n\nexport { SwitchLayoutGroupContext };\n"],"names":[],"mappings":";;;;AACA;AADA;;AAGA;;CAEC,GACD,MAAM,2BAA2B,IAAA,8KAAa,EAAC,CAAC","ignoreList":[0]}}, - {"offset": {"line": 5683, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs"],"sourcesContent":["\"use client\";\nimport { useContext, useRef, useInsertionEffect, useEffect } from 'react';\nimport { optimizedAppearDataAttribute } from '../../animation/optimized-appear/data-id.mjs';\nimport { LazyContext } from '../../context/LazyContext.mjs';\nimport { MotionConfigContext } from '../../context/MotionConfigContext.mjs';\nimport { MotionContext } from '../../context/MotionContext/index.mjs';\nimport { PresenceContext } from '../../context/PresenceContext.mjs';\nimport { SwitchLayoutGroupContext } from '../../context/SwitchLayoutGroupContext.mjs';\nimport { isRefObject } from '../../utils/is-ref-object.mjs';\nimport { useIsomorphicLayoutEffect } from '../../utils/use-isomorphic-effect.mjs';\n\nfunction useVisualElement(Component, visualState, props, createVisualElement, ProjectionNodeConstructor) {\n const { visualElement: parent } = useContext(MotionContext);\n const lazyContext = useContext(LazyContext);\n const presenceContext = useContext(PresenceContext);\n const reducedMotionConfig = useContext(MotionConfigContext).reducedMotion;\n const visualElementRef = useRef(null);\n /**\n * If we haven't preloaded a renderer, check to see if we have one lazy-loaded\n */\n createVisualElement =\n createVisualElement ||\n lazyContext.renderer;\n if (!visualElementRef.current && createVisualElement) {\n visualElementRef.current = createVisualElement(Component, {\n visualState,\n parent,\n props,\n presenceContext,\n blockInitialAnimation: presenceContext\n ? presenceContext.initial === false\n : false,\n reducedMotionConfig,\n });\n }\n const visualElement = visualElementRef.current;\n /**\n * Load Motion gesture and animation features. These are rendered as renderless\n * components so each feature can optionally make use of React lifecycle methods.\n */\n const initialLayoutGroupConfig = useContext(SwitchLayoutGroupContext);\n if (visualElement &&\n !visualElement.projection &&\n ProjectionNodeConstructor &&\n (visualElement.type === \"html\" || visualElement.type === \"svg\")) {\n createProjectionNode(visualElementRef.current, props, ProjectionNodeConstructor, initialLayoutGroupConfig);\n }\n const isMounted = useRef(false);\n useInsertionEffect(() => {\n /**\n * Check the component has already mounted before calling\n * `update` unnecessarily. This ensures we skip the initial update.\n */\n if (visualElement && isMounted.current) {\n visualElement.update(props, presenceContext);\n }\n });\n /**\n * Cache this value as we want to know whether HandoffAppearAnimations\n * was present on initial render - it will be deleted after this.\n */\n const optimisedAppearId = props[optimizedAppearDataAttribute];\n const wantsHandoff = useRef(Boolean(optimisedAppearId) &&\n !window.MotionHandoffIsComplete?.(optimisedAppearId) &&\n window.MotionHasOptimisedAnimation?.(optimisedAppearId));\n useIsomorphicLayoutEffect(() => {\n if (!visualElement)\n return;\n isMounted.current = true;\n window.MotionIsMounted = true;\n visualElement.updateFeatures();\n visualElement.scheduleRenderMicrotask();\n /**\n * Ideally this function would always run in a useEffect.\n *\n * However, if we have optimised appear animations to handoff from,\n * it needs to happen synchronously to ensure there's no flash of\n * incorrect styles in the event of a hydration error.\n *\n * So if we detect a situtation where optimised appear animations\n * are running, we use useLayoutEffect to trigger animations.\n */\n if (wantsHandoff.current && visualElement.animationState) {\n visualElement.animationState.animateChanges();\n }\n });\n useEffect(() => {\n if (!visualElement)\n return;\n if (!wantsHandoff.current && visualElement.animationState) {\n visualElement.animationState.animateChanges();\n }\n if (wantsHandoff.current) {\n // This ensures all future calls to animateChanges() in this component will run in useEffect\n queueMicrotask(() => {\n window.MotionHandoffMarkAsComplete?.(optimisedAppearId);\n });\n wantsHandoff.current = false;\n }\n /**\n * Now we've finished triggering animations for this element we\n * can wipe the enteringChildren set for the next render.\n */\n visualElement.enteringChildren = undefined;\n });\n return visualElement;\n}\nfunction createProjectionNode(visualElement, props, ProjectionNodeConstructor, initialPromotionConfig) {\n const { layoutId, layout, drag, dragConstraints, layoutScroll, layoutRoot, layoutCrossfade, } = props;\n visualElement.projection = new ProjectionNodeConstructor(visualElement.latestValues, props[\"data-framer-portal-id\"]\n ? undefined\n : getClosestProjectingNode(visualElement.parent));\n visualElement.projection.setOptions({\n layoutId,\n layout,\n alwaysMeasureLayout: Boolean(drag) || (dragConstraints && isRefObject(dragConstraints)),\n visualElement,\n /**\n * TODO: Update options in an effect. This could be tricky as it'll be too late\n * to update by the time layout animations run.\n * We also need to fix this safeToRemove by linking it up to the one returned by usePresence,\n * ensuring it gets called if there's no potential layout animations.\n *\n */\n animationType: typeof layout === \"string\" ? layout : \"both\",\n initialPromotionConfig,\n crossfade: layoutCrossfade,\n layoutScroll,\n layoutRoot,\n });\n}\nfunction getClosestProjectingNode(visualElement) {\n if (!visualElement)\n return undefined;\n return visualElement.options.allowProjection !== false\n ? visualElement.projection\n : getClosestProjectingNode(visualElement.parent);\n}\n\nexport { useVisualElement };\n"],"names":[],"mappings":";;;;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AATA;;;;;;;;;;AAWA,SAAS,iBAAiB,SAAS,EAAE,WAAW,EAAE,KAAK,EAAE,mBAAmB,EAAE,yBAAyB;IACnG,MAAM,EAAE,eAAe,MAAM,EAAE,GAAG,IAAA,2KAAU,EAAC,wMAAa;IAC1D,MAAM,cAAc,IAAA,2KAAU,EAAC,2LAAW;IAC1C,MAAM,kBAAkB,IAAA,2KAAU,EAAC,mMAAe;IAClD,MAAM,sBAAsB,IAAA,2KAAU,EAAC,2MAAmB,EAAE,aAAa;IACzE,MAAM,mBAAmB,IAAA,uKAAM,EAAC;IAChC;;KAEC,GACD,sBACI,uBACI,YAAY,QAAQ;IAC5B,IAAI,CAAC,iBAAiB,OAAO,IAAI,qBAAqB;QAClD,iBAAiB,OAAO,GAAG,oBAAoB,WAAW;YACtD;YACA;YACA;YACA;YACA,uBAAuB,kBACjB,gBAAgB,OAAO,KAAK,QAC5B;YACN;QACJ;IACJ;IACA,MAAM,gBAAgB,iBAAiB,OAAO;IAC9C;;;KAGC,GACD,MAAM,2BAA2B,IAAA,2KAAU,EAAC,qNAAwB;IACpE,IAAI,iBACA,CAAC,cAAc,UAAU,IACzB,6BACA,CAAC,cAAc,IAAI,KAAK,UAAU,cAAc,IAAI,KAAK,KAAK,GAAG;QACjE,qBAAqB,iBAAiB,OAAO,EAAE,OAAO,2BAA2B;IACrF;IACA,MAAM,YAAY,IAAA,uKAAM,EAAC;IACzB,IAAA,mLAAkB;+CAAC;YACf;;;SAGC,GACD,IAAI,iBAAiB,UAAU,OAAO,EAAE;gBACpC,cAAc,MAAM,CAAC,OAAO;YAChC;QACJ;;IACA;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,yBAAyB,aAAa;IAC3C,IAAI,CAAC,eACD,OAAO;IACX,OAAO,cAAc,OAAO,CAAC,eAAe,KAAK,QAC3C,cAAc,UAAU,GACxB,yBAAyB,cAAc,MAAM;AACvD","ignoreList":[0]}}, - {"offset": {"line": 5823, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/motion/index.mjs"],"sourcesContent":["\"use client\";\nimport { jsxs, jsx } from 'react/jsx-runtime';\nimport { warning, invariant } from 'motion-utils';\nimport { forwardRef, useContext } from 'react';\nimport { LayoutGroupContext } from '../context/LayoutGroupContext.mjs';\nimport { LazyContext } from '../context/LazyContext.mjs';\nimport { MotionConfigContext } from '../context/MotionConfigContext.mjs';\nimport { MotionContext } from '../context/MotionContext/index.mjs';\nimport { useCreateMotionContext } from '../context/MotionContext/create.mjs';\nimport { useRender } from '../render/dom/use-render.mjs';\nimport { isSVGComponent } from '../render/dom/utils/is-svg-component.mjs';\nimport { useHTMLVisualState } from '../render/html/use-html-visual-state.mjs';\nimport { useSVGVisualState } from '../render/svg/use-svg-visual-state.mjs';\nimport { isBrowser } from '../utils/is-browser.mjs';\nimport { featureDefinitions } from './features/definitions.mjs';\nimport { loadFeatures } from './features/load-features.mjs';\nimport { motionComponentSymbol } from './utils/symbol.mjs';\nimport { useMotionRef } from './utils/use-motion-ref.mjs';\nimport { useVisualElement } from './utils/use-visual-element.mjs';\n\n/**\n * Create a `motion` component.\n *\n * This function accepts a Component argument, which can be either a string (ie \"div\"\n * for `motion.div`), or an actual React component.\n *\n * Alongside this is a config option which provides a way of rendering the provided\n * component \"offline\", or outside the React render cycle.\n */\nfunction createMotionComponent(Component, { forwardMotionProps = false } = {}, preloadedFeatures, createVisualElement) {\n preloadedFeatures && loadFeatures(preloadedFeatures);\n const useVisualState = isSVGComponent(Component)\n ? useSVGVisualState\n : useHTMLVisualState;\n function MotionDOMComponent(props, externalRef) {\n /**\n * If we need to measure the element we load this functionality in a\n * separate class component in order to gain access to getSnapshotBeforeUpdate.\n */\n let MeasureLayout;\n const configAndProps = {\n ...useContext(MotionConfigContext),\n ...props,\n layoutId: useLayoutId(props),\n };\n const { isStatic } = configAndProps;\n const context = useCreateMotionContext(props);\n const visualState = useVisualState(props, isStatic);\n if (!isStatic && isBrowser) {\n useStrictMode(configAndProps, preloadedFeatures);\n const layoutProjection = getProjectionFunctionality(configAndProps);\n MeasureLayout = layoutProjection.MeasureLayout;\n /**\n * Create a VisualElement for this component. A VisualElement provides a common\n * interface to renderer-specific APIs (ie DOM/Three.js etc) as well as\n * providing a way of rendering to these APIs outside of the React render loop\n * for more performant animations and interactions\n */\n context.visualElement = useVisualElement(Component, visualState, configAndProps, createVisualElement, layoutProjection.ProjectionNode);\n }\n /**\n * The mount order and hierarchy is specific to ensure our element ref\n * is hydrated by the time features fire their effects.\n */\n return (jsxs(MotionContext.Provider, { value: context, children: [MeasureLayout && context.visualElement ? (jsx(MeasureLayout, { visualElement: context.visualElement, ...configAndProps })) : null, useRender(Component, props, useMotionRef(visualState, context.visualElement, externalRef), visualState, isStatic, forwardMotionProps)] }));\n }\n MotionDOMComponent.displayName = `motion.${typeof Component === \"string\"\n ? Component\n : `create(${Component.displayName ?? Component.name ?? \"\"})`}`;\n const ForwardRefMotionComponent = forwardRef(MotionDOMComponent);\n ForwardRefMotionComponent[motionComponentSymbol] = Component;\n return ForwardRefMotionComponent;\n}\nfunction useLayoutId({ layoutId }) {\n const layoutGroupId = useContext(LayoutGroupContext).id;\n return layoutGroupId && layoutId !== undefined\n ? layoutGroupId + \"-\" + layoutId\n : layoutId;\n}\nfunction useStrictMode(configAndProps, preloadedFeatures) {\n const isStrict = useContext(LazyContext).strict;\n /**\n * If we're in development mode, check to make sure we're not rendering a motion component\n * as a child of LazyMotion, as this will break the file-size benefits of using it.\n */\n if (process.env.NODE_ENV !== \"production\" &&\n preloadedFeatures &&\n isStrict) {\n const strictMessage = \"You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.\";\n configAndProps.ignoreStrict\n ? warning(false, strictMessage, \"lazy-strict-mode\")\n : invariant(false, strictMessage, \"lazy-strict-mode\");\n }\n}\nfunction getProjectionFunctionality(props) {\n const { drag, layout } = featureDefinitions;\n if (!drag && !layout)\n return {};\n const combined = { ...drag, ...layout };\n return {\n MeasureLayout: drag?.isEnabled(props) || layout?.isEnabled(props)\n ? combined.MeasureLayout\n : undefined,\n ProjectionNode: combined.ProjectionNode,\n };\n}\n\nexport { createMotionComponent };\n"],"names":[],"mappings":";;;;AAqFQ;AApFR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAlBA;;;;;;;;;;;;;;;;;;;AAoBA;;;;;;;;CAQC,GACD,SAAS,sBAAsB,SAAS,EAAE,EAAE,qBAAqB,KAAK,EAAE,GAAG,CAAC,CAAC,EAAE,iBAAiB,EAAE,mBAAmB;IACjH,qBAAqB,IAAA,4MAAY,EAAC;IAClC,MAAM,iBAAiB,IAAA,wNAAc,EAAC,aAChC,yNAAiB,GACjB,4NAAkB;IACxB,SAAS,mBAAmB,KAAK,EAAE,WAAW;QAC1C;;;SAGC,GACD,IAAI;QACJ,MAAM,iBAAiB;YACnB,GAAG,IAAA,2KAAU,EAAC,2MAAmB,CAAC;YAClC,GAAG,KAAK;YACR,UAAU,YAAY;QAC1B;QACA,MAAM,EAAE,QAAQ,EAAE,GAAG;QACrB,MAAM,UAAU,IAAA,kNAAsB,EAAC;QACvC,MAAM,cAAc,eAAe,OAAO;QAC1C,IAAI,CAAC,YAAY,yLAAS,EAAE;YACxB,cAAc,gBAAgB;YAC9B,MAAM,mBAAmB,2BAA2B;YACpD,gBAAgB,iBAAiB,aAAa;YAC9C;;;;;aAKC,GACD,QAAQ,aAAa,GAAG,IAAA,qNAAgB,EAAC,WAAW,aAAa,gBAAgB,qBAAqB,iBAAiB,cAAc;QACzI;QACA;;;SAGC,GACD,OAAQ,IAA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,SAAS,aAAa,GACtB;QACN,gBAAgB,SAAS,cAAc;IAC3C;AACJ","ignoreList":[0]}}, - {"offset": {"line": 5950, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/components/create-proxy.mjs"],"sourcesContent":["import { warnOnce } from 'motion-utils';\nimport { createMotionComponent } from '../../motion/index.mjs';\n\nfunction createMotionProxy(preloadedFeatures, createVisualElement) {\n if (typeof Proxy === \"undefined\") {\n return createMotionComponent;\n }\n /**\n * A cache of generated `motion` components, e.g `motion.div`, `motion.input` etc.\n * Rather than generating them anew every render.\n */\n const componentCache = new Map();\n const factory = (Component, options) => {\n return createMotionComponent(Component, options, preloadedFeatures, createVisualElement);\n };\n /**\n * Support for deprecated`motion(Component)` pattern\n */\n const deprecatedFactoryFunction = (Component, options) => {\n if (process.env.NODE_ENV !== \"production\") {\n warnOnce(false, \"motion() is deprecated. Use motion.create() instead.\");\n }\n return factory(Component, options);\n };\n return new Proxy(deprecatedFactoryFunction, {\n /**\n * Called when `motion` is referenced with a prop: `motion.div`, `motion.input` etc.\n * The prop name is passed through as `key` and we can use that to generate a `motion`\n * DOM component with that name.\n */\n get: (_target, key) => {\n if (key === \"create\")\n return factory;\n /**\n * If this element doesn't exist in the component cache, create it and cache.\n */\n if (!componentCache.has(key)) {\n componentCache.set(key, createMotionComponent(key, undefined, preloadedFeatures, createVisualElement));\n }\n return componentCache.get(key);\n },\n });\n}\n\nexport { createMotionProxy };\n"],"names":[],"mappings":";;;;AAmBY;AAnBZ;AACA;;;AAEA,SAAS,kBAAkB,iBAAiB,EAAE,mBAAmB;IAC7D,IAAI,OAAO,UAAU,aAAa;QAC9B,OAAO,8LAAqB;IAChC;IACA;;;KAGC,GACD,MAAM,iBAAiB,IAAI;IAC3B,MAAM,UAAU,CAAC,WAAW;QACxB,OAAO,IAAA,8LAAqB,EAAC,WAAW,SAAS,mBAAmB;IACxE;IACA;;KAEC,GACD,MAAM,4BAA4B,CAAC,WAAW;QAC1C,wCAA2C;YACvC,IAAA,6KAAQ,EAAC,OAAO;QACpB;QACA,OAAO,QAAQ,WAAW;IAC9B;IACA,OAAO,IAAI,MAAM,2BAA2B;QACxC;;;;SAIC,GACD,KAAK,CAAC,SAAS;YACX,IAAI,QAAQ,UACR,OAAO;YACX;;aAEC,GACD,IAAI,CAAC,eAAe,GAAG,CAAC,MAAM;gBAC1B,eAAe,GAAG,CAAC,KAAK,IAAA,8LAAqB,EAAC,KAAK,WAAW,mBAAmB;YACrF;YACA,OAAO,eAAe,GAAG,CAAC;QAC9B;IACJ;AACJ","ignoreList":[0]}}, - {"offset": {"line": 5999, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.mjs"],"sourcesContent":["import { resolveVariantFromProps } from './resolve-variants.mjs';\n\nfunction resolveVariant(visualElement, definition, custom) {\n const props = visualElement.getProps();\n return resolveVariantFromProps(props, definition, custom !== undefined ? custom : props.custom, visualElement);\n}\n\nexport { resolveVariant };\n"],"names":[],"mappings":";;;;AAAA;;AAEA,SAAS,eAAe,aAAa,EAAE,UAAU,EAAE,MAAM;IACrD,MAAM,QAAQ,cAAc,QAAQ;IACpC,OAAO,IAAA,uNAAuB,EAAC,OAAO,YAAY,WAAW,YAAY,SAAS,MAAM,MAAM,EAAE;AACpG","ignoreList":[0]}}, - {"offset": {"line": 6014, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.mjs"],"sourcesContent":["function getValueTransition(transition, key) {\n return (transition?.[key] ??\n transition?.[\"default\"] ??\n transition);\n}\n\nexport { getValueTransition };\n"],"names":[],"mappings":";;;;AAAA,SAAS,mBAAmB,UAAU,EAAE,GAAG;IACvC,OAAQ,YAAY,CAAC,IAAI,IACrB,YAAY,CAAC,UAAU,IACvB;AACR","ignoreList":[0]}}, - {"offset": {"line": 6026, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/animation/utils/is-keyframes-target.mjs"],"sourcesContent":["const isKeyframesTarget = (v) => {\n return Array.isArray(v);\n};\n\nexport { isKeyframesTarget };\n"],"names":[],"mappings":";;;;AAAA,MAAM,oBAAoB,CAAC;IACvB,OAAO,MAAM,OAAO,CAAC;AACzB","ignoreList":[0]}}, - {"offset": {"line": 6038, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/utils/setters.mjs"],"sourcesContent":["import { motionValue } from 'motion-dom';\nimport { isKeyframesTarget } from '../../animation/utils/is-keyframes-target.mjs';\nimport { resolveVariant } from './resolve-dynamic-variants.mjs';\n\n/**\n * Set VisualElement's MotionValue, creating a new MotionValue for it if\n * it doesn't exist.\n */\nfunction setMotionValue(visualElement, key, value) {\n if (visualElement.hasValue(key)) {\n visualElement.getValue(key).set(value);\n }\n else {\n visualElement.addValue(key, motionValue(value));\n }\n}\nfunction resolveFinalValueInKeyframes(v) {\n // TODO maybe throw if v.length - 1 is placeholder token?\n return isKeyframesTarget(v) ? v[v.length - 1] || 0 : v;\n}\nfunction setTarget(visualElement, definition) {\n const resolved = resolveVariant(visualElement, definition);\n let { transitionEnd = {}, transition = {}, ...target } = resolved || {};\n target = { ...target, ...transitionEnd };\n for (const key in target) {\n const value = resolveFinalValueInKeyframes(target[key]);\n setMotionValue(visualElement, key, value);\n }\n}\n\nexport { setTarget };\n"],"names":[],"mappings":";;;;AAAA;AACA;AACA;;;;AAEA;;;CAGC,GACD,SAAS,eAAe,aAAa,EAAE,GAAG,EAAE,KAAK;IAC7C,IAAI,cAAc,QAAQ,CAAC,MAAM;QAC7B,cAAc,QAAQ,CAAC,KAAK,GAAG,CAAC;IACpC,OACK;QACD,cAAc,QAAQ,CAAC,KAAK,IAAA,gLAAW,EAAC;IAC5C;AACJ;AACA,SAAS,6BAA6B,CAAC;IACnC,yDAAyD;IACzD,OAAO,IAAA,0NAAiB,EAAC,KAAK,CAAC,CAAC,EAAE,MAAM,GAAG,EAAE,IAAI,IAAI;AACzD;AACA,SAAS,UAAU,aAAa,EAAE,UAAU;IACxC,MAAM,WAAW,IAAA,yNAAc,EAAC,eAAe;IAC/C,IAAI,EAAE,gBAAgB,CAAC,CAAC,EAAE,aAAa,CAAC,CAAC,EAAE,GAAG,QAAQ,GAAG,YAAY,CAAC;IACtE,SAAS;QAAE,GAAG,MAAM;QAAE,GAAG,aAAa;IAAC;IACvC,IAAK,MAAM,OAAO,OAAQ;QACtB,MAAM,QAAQ,6BAA6B,MAAM,CAAC,IAAI;QACtD,eAAe,eAAe,KAAK;IACvC;AACJ","ignoreList":[0]}}, - {"offset": {"line": 6079, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/value/use-will-change/is.mjs"],"sourcesContent":["import { isMotionValue } from 'motion-dom';\n\nfunction isWillChangeMotionValue(value) {\n return Boolean(isMotionValue(value) && value.add);\n}\n\nexport { isWillChangeMotionValue };\n"],"names":[],"mappings":";;;;AAAA;;AAEA,SAAS,wBAAwB,KAAK;IAClC,OAAO,QAAQ,IAAA,2MAAa,EAAC,UAAU,MAAM,GAAG;AACpD","ignoreList":[0]}}, - {"offset": {"line": 6093, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/value/use-will-change/add-will-change.mjs"],"sourcesContent":["import { MotionGlobalConfig } from 'motion-utils';\nimport { isWillChangeMotionValue } from './is.mjs';\n\nfunction addValueToWillChange(visualElement, key) {\n const willChange = visualElement.getValue(\"willChange\");\n /**\n * It could be that a user has set willChange to a regular MotionValue,\n * in which case we can't add the value to it.\n */\n if (isWillChangeMotionValue(willChange)) {\n return willChange.add(key);\n }\n else if (!willChange && MotionGlobalConfig.WillChange) {\n const newWillChange = new MotionGlobalConfig.WillChange(\"auto\");\n visualElement.addValue(\"willChange\", newWillChange);\n newWillChange.add(key);\n }\n}\n\nexport { addValueToWillChange };\n"],"names":[],"mappings":";;;;AAAA;AACA;;;AAEA,SAAS,qBAAqB,aAAa,EAAE,GAAG;IAC5C,MAAM,aAAa,cAAc,QAAQ,CAAC;IAC1C;;;KAGC,GACD,IAAI,IAAA,qNAAuB,EAAC,aAAa;QACrC,OAAO,WAAW,GAAG,CAAC;IAC1B,OACK,IAAI,CAAC,cAAc,2LAAkB,CAAC,UAAU,EAAE;QACnD,MAAM,gBAAgB,IAAI,2LAAkB,CAAC,UAAU,CAAC;QACxD,cAAc,QAAQ,CAAC,cAAc;QACrC,cAAc,GAAG,CAAC;IACtB;AACJ","ignoreList":[0]}}, - {"offset": {"line": 6119, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/animation/optimized-appear/get-appear-id.mjs"],"sourcesContent":["import { optimizedAppearDataAttribute } from './data-id.mjs';\n\nfunction getOptimisedAppearId(visualElement) {\n return visualElement.props[optimizedAppearDataAttribute];\n}\n\nexport { getOptimisedAppearId };\n"],"names":[],"mappings":";;;;AAAA;;AAEA,SAAS,qBAAqB,aAAa;IACvC,OAAO,cAAc,KAAK,CAAC,oOAA4B,CAAC;AAC5D","ignoreList":[0]}}, - {"offset": {"line": 6133, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.mjs"],"sourcesContent":["function makeAnimationInstant(options) {\n options.duration = 0;\n options.type = \"keyframes\";\n}\n\nexport { makeAnimationInstant };\n"],"names":[],"mappings":";;;;AAAA,SAAS,qBAAqB,OAAO;IACjC,QAAQ,QAAQ,GAAG;IACnB,QAAQ,IAAI,GAAG;AACnB","ignoreList":[0]}}, - {"offset": {"line": 6146, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-utils/dist/es/pipe.mjs"],"sourcesContent":["/**\n * Pipe\n * Compose other transformers to run linearily\n * pipe(min(20), max(40))\n * @param {...functions} transformers\n * @return {function}\n */\nconst combineFunctions = (a, b) => (v) => b(a(v));\nconst pipe = (...transformers) => transformers.reduce(combineFunctions);\n\nexport { pipe };\n"],"names":[],"mappings":";;;;AAAA;;;;;;CAMC,GACD,MAAM,mBAAmB,CAAC,GAAG,IAAM,CAAC,IAAM,EAAE,EAAE;AAC9C,MAAM,OAAO,CAAC,GAAG,eAAiB,aAAa,MAAM,CAAC","ignoreList":[0]}}, - {"offset": {"line": 6163, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-utils/dist/es/time-conversion.mjs"],"sourcesContent":["/**\n * Converts seconds to milliseconds\n *\n * @param seconds - Time in seconds.\n * @return milliseconds - Converted time in milliseconds.\n */\n/*#__NO_SIDE_EFFECTS__*/\nconst secondsToMilliseconds = (seconds) => seconds * 1000;\n/*#__NO_SIDE_EFFECTS__*/\nconst millisecondsToSeconds = (milliseconds) => milliseconds / 1000;\n\nexport { millisecondsToSeconds, secondsToMilliseconds };\n"],"names":[],"mappings":";;;;;;AAAA;;;;;CAKC,GACD,sBAAsB,GACtB,MAAM,wBAAwB,CAAC,UAAY,UAAU;AACrD,sBAAsB,GACtB,MAAM,wBAAwB,CAAC,eAAiB,eAAe","ignoreList":[0]}}, - {"offset": {"line": 6181, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/stats/animation-count.mjs"],"sourcesContent":["const activeAnimations = {\n layout: 0,\n mainThread: 0,\n waapi: 0,\n};\n\nexport { activeAnimations };\n"],"names":[],"mappings":";;;;AAAA,MAAM,mBAAmB;IACrB,QAAQ;IACR,YAAY;IACZ,OAAO;AACX","ignoreList":[0]}}, - {"offset": {"line": 6195, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.mjs"],"sourcesContent":["// Adapted from https://gist.github.com/mjackson/5311256\nfunction hueToRgb(p, q, t) {\n if (t < 0)\n t += 1;\n if (t > 1)\n t -= 1;\n if (t < 1 / 6)\n return p + (q - p) * 6 * t;\n if (t < 1 / 2)\n return q;\n if (t < 2 / 3)\n return p + (q - p) * (2 / 3 - t) * 6;\n return p;\n}\nfunction hslaToRgba({ hue, saturation, lightness, alpha }) {\n hue /= 360;\n saturation /= 100;\n lightness /= 100;\n let red = 0;\n let green = 0;\n let blue = 0;\n if (!saturation) {\n red = green = blue = lightness;\n }\n else {\n const q = lightness < 0.5\n ? lightness * (1 + saturation)\n : lightness + saturation - lightness * saturation;\n const p = 2 * lightness - q;\n red = hueToRgb(p, q, hue + 1 / 3);\n green = hueToRgb(p, q, hue);\n blue = hueToRgb(p, q, hue - 1 / 3);\n }\n return {\n red: Math.round(red * 255),\n green: Math.round(green * 255),\n blue: Math.round(blue * 255),\n alpha,\n };\n}\n\nexport { hslaToRgba };\n"],"names":[],"mappings":";;;;AAAA,wDAAwD;AACxD,SAAS,SAAS,CAAC,EAAE,CAAC,EAAE,CAAC;IACrB,IAAI,IAAI,GACJ,KAAK;IACT,IAAI,IAAI,GACJ,KAAK;IACT,IAAI,IAAI,IAAI,GACR,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI;IAC7B,IAAI,IAAI,IAAI,GACR,OAAO;IACX,IAAI,IAAI,IAAI,GACR,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI;IACvC,OAAO;AACX;AACA,SAAS,WAAW,EAAE,GAAG,EAAE,UAAU,EAAE,SAAS,EAAE,KAAK,EAAE;IACrD,OAAO;IACP,cAAc;IACd,aAAa;IACb,IAAI,MAAM;IACV,IAAI,QAAQ;IACZ,IAAI,OAAO;IACX,IAAI,CAAC,YAAY;QACb,MAAM,QAAQ,OAAO;IACzB,OACK;QACD,MAAM,IAAI,YAAY,MAChB,YAAY,CAAC,IAAI,UAAU,IAC3B,YAAY,aAAa,YAAY;QAC3C,MAAM,IAAI,IAAI,YAAY;QAC1B,MAAM,SAAS,GAAG,GAAG,MAAM,IAAI;QAC/B,QAAQ,SAAS,GAAG,GAAG;QACvB,OAAO,SAAS,GAAG,GAAG,MAAM,IAAI;IACpC;IACA,OAAO;QACH,KAAK,KAAK,KAAK,CAAC,MAAM;QACtB,OAAO,KAAK,KAAK,CAAC,QAAQ;QAC1B,MAAM,KAAK,KAAK,CAAC,OAAO;QACxB;IACJ;AACJ","ignoreList":[0]}}, - {"offset": {"line": 6236, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/utils/mix/immediate.mjs"],"sourcesContent":["function mixImmediate(a, b) {\n return (p) => (p > 0 ? b : a);\n}\n\nexport { mixImmediate };\n"],"names":[],"mappings":";;;;AAAA,SAAS,aAAa,CAAC,EAAE,CAAC;IACtB,OAAO,CAAC,IAAO,IAAI,IAAI,IAAI;AAC/B","ignoreList":[0]}}, - {"offset": {"line": 6248, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/utils/mix/color.mjs"],"sourcesContent":["import { warning } from 'motion-utils';\nimport { hex } from '../../value/types/color/hex.mjs';\nimport { hsla } from '../../value/types/color/hsla.mjs';\nimport { hslaToRgba } from '../../value/types/color/hsla-to-rgba.mjs';\nimport { rgba } from '../../value/types/color/rgba.mjs';\nimport { mixImmediate } from './immediate.mjs';\nimport { mixNumber } from './number.mjs';\n\n// Linear color space blending\n// Explained https://www.youtube.com/watch?v=LKnqECcg6Gw\n// Demonstrated http://codepen.io/osublake/pen/xGVVaN\nconst mixLinearColor = (from, to, v) => {\n const fromExpo = from * from;\n const expo = v * (to * to - fromExpo) + fromExpo;\n return expo < 0 ? 0 : Math.sqrt(expo);\n};\nconst colorTypes = [hex, rgba, hsla];\nconst getColorType = (v) => colorTypes.find((type) => type.test(v));\nfunction asRGBA(color) {\n const type = getColorType(color);\n warning(Boolean(type), `'${color}' is not an animatable color. Use the equivalent color code instead.`, \"color-not-animatable\");\n if (!Boolean(type))\n return false;\n let model = type.parse(color);\n if (type === hsla) {\n // TODO Remove this cast - needed since Motion's stricter typing\n model = hslaToRgba(model);\n }\n return model;\n}\nconst mixColor = (from, to) => {\n const fromRGBA = asRGBA(from);\n const toRGBA = asRGBA(to);\n if (!fromRGBA || !toRGBA) {\n return mixImmediate(from, to);\n }\n const blended = { ...fromRGBA };\n return (v) => {\n blended.red = mixLinearColor(fromRGBA.red, toRGBA.red, v);\n blended.green = mixLinearColor(fromRGBA.green, toRGBA.green, v);\n blended.blue = mixLinearColor(fromRGBA.blue, toRGBA.blue, v);\n blended.alpha = mixNumber(fromRGBA.alpha, toRGBA.alpha, v);\n return rgba.transform(blended);\n };\n};\n\nexport { mixColor, mixLinearColor };\n"],"names":[],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AAEA,8BAA8B;AAC9B,wDAAwD;AACxD,qDAAqD;AACrD,MAAM,iBAAiB,CAAC,MAAM,IAAI;IAC9B,MAAM,WAAW,OAAO;IACxB,MAAM,OAAO,IAAI,CAAC,KAAK,KAAK,QAAQ,IAAI;IACxC,OAAO,OAAO,IAAI,IAAI,KAAK,IAAI,CAAC;AACpC;AACA,MAAM,aAAa;IAAC,wLAAG;IAAE,0LAAI;IAAE,0LAAI;CAAC;AACpC,MAAM,eAAe,CAAC,IAAM,WAAW,IAAI,CAAC,CAAC,OAAS,KAAK,IAAI,CAAC;AAChE,SAAS,OAAO,KAAK;IACjB,MAAM,OAAO,aAAa;IAC1B,IAAA,sKAAO,EAAC,QAAQ,OAAO,CAAC,CAAC,EAAE,MAAM,oEAAoE,CAAC,EAAE;IACxG,IAAI,CAAC,QAAQ,OACT,OAAO;IACX,IAAI,QAAQ,KAAK,KAAK,CAAC;IACvB,IAAI,SAAS,0LAAI,EAAE;QACf,gEAAgE;QAChE,QAAQ,IAAA,8MAAU,EAAC;IACvB;IACA,OAAO;AACX;AACA,MAAM,WAAW,CAAC,MAAM;IACpB,MAAM,WAAW,OAAO;IACxB,MAAM,SAAS,OAAO;IACtB,IAAI,CAAC,YAAY,CAAC,QAAQ;QACtB,OAAO,IAAA,4LAAY,EAAC,MAAM;IAC9B;IACA,MAAM,UAAU;QAAE,GAAG,QAAQ;IAAC;IAC9B,OAAO,CAAC;QACJ,QAAQ,GAAG,GAAG,eAAe,SAAS,GAAG,EAAE,OAAO,GAAG,EAAE;QACvD,QAAQ,KAAK,GAAG,eAAe,SAAS,KAAK,EAAE,OAAO,KAAK,EAAE;QAC7D,QAAQ,IAAI,GAAG,eAAe,SAAS,IAAI,EAAE,OAAO,IAAI,EAAE;QAC1D,QAAQ,KAAK,GAAG,IAAA,sLAAS,EAAC,SAAS,KAAK,EAAE,OAAO,KAAK,EAAE;QACxD,OAAO,0LAAI,CAAC,SAAS,CAAC;IAC1B;AACJ","ignoreList":[0]}}, - {"offset": {"line": 6315, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/utils/mix/visibility.mjs"],"sourcesContent":["const invisibleValues = new Set([\"none\", \"hidden\"]);\n/**\n * Returns a function that, when provided a progress value between 0 and 1,\n * will return the \"none\" or \"hidden\" string only when the progress is that of\n * the origin or target.\n */\nfunction mixVisibility(origin, target) {\n if (invisibleValues.has(origin)) {\n return (p) => (p <= 0 ? origin : target);\n }\n else {\n return (p) => (p >= 1 ? target : origin);\n }\n}\n\nexport { invisibleValues, mixVisibility };\n"],"names":[],"mappings":";;;;;;AAAA,MAAM,kBAAkB,IAAI,IAAI;IAAC;IAAQ;CAAS;AAClD;;;;CAIC,GACD,SAAS,cAAc,MAAM,EAAE,MAAM;IACjC,IAAI,gBAAgB,GAAG,CAAC,SAAS;QAC7B,OAAO,CAAC,IAAO,KAAK,IAAI,SAAS;IACrC,OACK;QACD,OAAO,CAAC,IAAO,KAAK,IAAI,SAAS;IACrC;AACJ","ignoreList":[0]}}, - {"offset": {"line": 6341, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/utils/mix/complex.mjs"],"sourcesContent":["import { pipe, warning } from 'motion-utils';\nimport { isCSSVariableToken } from '../../animation/utils/is-css-variable.mjs';\nimport { color } from '../../value/types/color/index.mjs';\nimport { complex, analyseComplexValue } from '../../value/types/complex/index.mjs';\nimport { mixColor } from './color.mjs';\nimport { mixImmediate } from './immediate.mjs';\nimport { mixNumber as mixNumber$1 } from './number.mjs';\nimport { invisibleValues, mixVisibility } from './visibility.mjs';\n\nfunction mixNumber(a, b) {\n return (p) => mixNumber$1(a, b, p);\n}\nfunction getMixer(a) {\n if (typeof a === \"number\") {\n return mixNumber;\n }\n else if (typeof a === \"string\") {\n return isCSSVariableToken(a)\n ? mixImmediate\n : color.test(a)\n ? mixColor\n : mixComplex;\n }\n else if (Array.isArray(a)) {\n return mixArray;\n }\n else if (typeof a === \"object\") {\n return color.test(a) ? mixColor : mixObject;\n }\n return mixImmediate;\n}\nfunction mixArray(a, b) {\n const output = [...a];\n const numValues = output.length;\n const blendValue = a.map((v, i) => getMixer(v)(v, b[i]));\n return (p) => {\n for (let i = 0; i < numValues; i++) {\n output[i] = blendValue[i](p);\n }\n return output;\n };\n}\nfunction mixObject(a, b) {\n const output = { ...a, ...b };\n const blendValue = {};\n for (const key in output) {\n if (a[key] !== undefined && b[key] !== undefined) {\n blendValue[key] = getMixer(a[key])(a[key], b[key]);\n }\n }\n return (v) => {\n for (const key in blendValue) {\n output[key] = blendValue[key](v);\n }\n return output;\n };\n}\nfunction matchOrder(origin, target) {\n const orderedOrigin = [];\n const pointers = { color: 0, var: 0, number: 0 };\n for (let i = 0; i < target.values.length; i++) {\n const type = target.types[i];\n const originIndex = origin.indexes[type][pointers[type]];\n const originValue = origin.values[originIndex] ?? 0;\n orderedOrigin[i] = originValue;\n pointers[type]++;\n }\n return orderedOrigin;\n}\nconst mixComplex = (origin, target) => {\n const template = complex.createTransformer(target);\n const originStats = analyseComplexValue(origin);\n const targetStats = analyseComplexValue(target);\n const canInterpolate = originStats.indexes.var.length === targetStats.indexes.var.length &&\n originStats.indexes.color.length === targetStats.indexes.color.length &&\n originStats.indexes.number.length >= targetStats.indexes.number.length;\n if (canInterpolate) {\n if ((invisibleValues.has(origin) &&\n !targetStats.values.length) ||\n (invisibleValues.has(target) &&\n !originStats.values.length)) {\n return mixVisibility(origin, target);\n }\n return pipe(mixArray(matchOrder(originStats, targetStats), targetStats.values), template);\n }\n else {\n warning(true, `Complex values '${origin}' and '${target}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`, \"complex-values-different\");\n return mixImmediate(origin, target);\n }\n};\n\nexport { getMixer, mixArray, mixComplex, mixObject };\n"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AAEA,SAAS,UAAU,CAAC,EAAE,CAAC;IACnB,OAAO,CAAC,IAAM,IAAA,sLAAW,EAAC,GAAG,GAAG;AACpC;AACA,SAAS,SAAS,CAAC;IACf,IAAI,OAAO,MAAM,UAAU;QACvB,OAAO;IACX,OACK,IAAI,OAAO,MAAM,UAAU;QAC5B,OAAO,IAAA,oNAAkB,EAAC,KACpB,4LAAY,GACZ,4LAAK,CAAC,IAAI,CAAC,KACP,oLAAQ,GACR;IACd,OACK,IAAI,MAAM,OAAO,CAAC,IAAI;QACvB,OAAO;IACX,OACK,IAAI,OAAO,MAAM,UAAU;QAC5B,OAAO,4LAAK,CAAC,IAAI,CAAC,KAAK,oLAAQ,GAAG;IACtC;IACA,OAAO,4LAAY;AACvB;AACA,SAAS,SAAS,CAAC,EAAE,CAAC;IAClB,MAAM,SAAS;WAAI;KAAE;IACrB,MAAM,YAAY,OAAO,MAAM;IAC/B,MAAM,aAAa,EAAE,GAAG,CAAC,CAAC,GAAG,IAAM,SAAS,GAAG,GAAG,CA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C,MAAM,iBAAiB,YAAY,OAAO,CAAC,GAAG,CAAC,MAAM,KAAK,YAAY,OAAO,CAAC,GAAG,CAAC,MAAM,IACpF,YAAY,OAAO,CAAC,KAAK,CAAC,MAAM,KAAK,YAAY,OAAO,CAAC,KAAK,CAAC,MAAM,IACrE,YAAY,OAAO,CAAC,MAAM,CAAC,MAAM,IAAI,YAAY,OAAO,CAAC,MAAM,CAAC,MAAM;IAC1E,IAAI,gBAAgB;QAChB,IAAI,AAAC,gMAAe,CAAC,GAAG,CAAC,WACrB,CAAC,YAAY,MAAM,CAAC,MAAM,IACzB,gMAAe,CAAC,GAAG,CAAC,WACjB,CAAC,YAAY,MAAM,CAAC,MAAM,EAAG;YACjC,OAAO,IAAA,8LAAa,EAAC,QAAQ;QACjC;QACA,OAAO,IAAA,iKAAI,EAAC,SAAS,WAAW,aAAa,cAAc,YAAY,MAAM,GAAG;IACpF,OACK;QACD,IAAA,sKAAO,EAAC,MAAM,CAAC,gBAAgB,EAAE,OAAO,OAAO,EAAE,OAAO,wKAAwK,CAAC,EAAE;QACnO,OAAO,IAAA,4LAAY,EAAC,QAAQ;IAChC;AACJ","ignoreList":[0]}}, - {"offset": {"line": 6450, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/utils/mix/index.mjs"],"sourcesContent":["import { getMixer } from './complex.mjs';\nimport { mixNumber } from './number.mjs';\n\nfunction mix(from, to, p) {\n if (typeof from === \"number\" &&\n typeof to === \"number\" &&\n typeof p === \"number\") {\n return mixNumber(from, to, p);\n }\n const mixer = getMixer(from);\n return mixer(from, to);\n}\n\nexport { mix };\n"],"names":[],"mappings":";;;;AAAA;AACA;;;AAEA,SAAS,IAAI,IAAI,EAAE,EAAE,EAAE,CAAC;IACpB,IAAI,OAAO,SAAS,YAChB,OAAO,OAAO,YACd,OAAO,MAAM,UAAU;QACvB,OAAO,IAAA,sLAAS,EAAC,MAAM,IAAI;IAC/B;IACA,MAAM,QAAQ,IAAA,sLAAQ,EAAC;IACvB,OAAO,MAAM,MAAM;AACvB","ignoreList":[0]}}, - {"offset": {"line": 6470, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/animation/drivers/frame.mjs"],"sourcesContent":["import { time } from '../../frameloop/sync-time.mjs';\nimport { frame, cancelFrame, frameData } from '../../frameloop/frame.mjs';\n\nconst frameloopDriver = (update) => {\n const passTimestamp = ({ timestamp }) => update(timestamp);\n return {\n start: (keepAlive = true) => frame.update(passTimestamp, keepAlive),\n stop: () => cancelFrame(passTimestamp),\n /**\n * If we're processing this frame we can use the\n * framelocked timestamp to keep things in sync.\n */\n now: () => (frameData.isProcessing ? frameData.timestamp : time.now()),\n };\n};\n\nexport { frameloopDriver };\n"],"names":[],"mappings":";;;;AAAA;AACA;;;AAEA,MAAM,kBAAkB,CAAC;IACrB,MAAM,gBAAgB,CAAC,EAAE,SAAS,EAAE,GAAK,OAAO;IAChD,OAAO;QACH,OAAO,CAAC,YAAY,IAAI,GAAK,8KAAK,CAAC,MAAM,CAAC,eAAe;QACzD,MAAM,IAAM,IAAA,oLAAW,EAAC;QACxB;;;SAGC,GACD,KAAK,IAAO,kLAAS,CAAC,YAAY,GAAG,kLAAS,CAAC,SAAS,GAAG,oLAAI,CAAC,GAAG;IACvE;AACJ","ignoreList":[0]}}, - {"offset": {"line": 6494, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.mjs"],"sourcesContent":["const generateLinearEasing = (easing, duration, // as milliseconds\nresolution = 10 // as milliseconds\n) => {\n let points = \"\";\n const numPoints = Math.max(Math.round(duration / resolution), 2);\n for (let i = 0; i < numPoints; i++) {\n points += Math.round(easing(i / (numPoints - 1)) * 10000) / 10000 + \", \";\n }\n return `linear(${points.substring(0, points.length - 2)})`;\n};\n\nexport { generateLinearEasing };\n"],"names":[],"mappings":";;;;AAAA,MAAM,uBAAuB,CAAC,QAAQ,UACtC,aAAa,GAAG,kBAAkB;AAAnB;IAEX,IAAI,SAAS;IACb,MAAM,YAAY,KAAK,GAAG,CAAC,KAAK,KAAK,CAAC,WAAW,aAAa;IAC9D,IAAK,IAAI,IAAI,GAAG,IAAI,WAAW,IAAK;QAChC,UAAU,KAAK,KAAK,CAAC,OAAO,IAAI,CAAC,YAAY,CAAC,KAAK,SAAS,QAAQ;IACxE;IACA,OAAO,CAAC,OAAO,EAAE,OAAO,SAAS,CAAC,GAAG,OAAO,MAAM,GAAG,GAAG,CAAC,CAAC;AAC9D","ignoreList":[0]}}, - {"offset": {"line": 6512, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.mjs"],"sourcesContent":["/**\n * Implement a practical max duration for keyframe generation\n * to prevent infinite loops\n */\nconst maxGeneratorDuration = 20000;\nfunction calcGeneratorDuration(generator) {\n let duration = 0;\n const timeStep = 50;\n let state = generator.next(duration);\n while (!state.done && duration < maxGeneratorDuration) {\n duration += timeStep;\n state = generator.next(duration);\n }\n return duration >= maxGeneratorDuration ? Infinity : duration;\n}\n\nexport { calcGeneratorDuration, maxGeneratorDuration };\n"],"names":[],"mappings":";;;;;;AAAA;;;CAGC,GACD,MAAM,uBAAuB;AAC7B,SAAS,sBAAsB,SAAS;IACpC,IAAI,WAAW;IACf,MAAM,WAAW;IACjB,IAAI,QAAQ,UAAU,IAAI,CAAC;IAC3B,MAAO,CAAC,MAAM,IAAI,IAAI,WAAW,qBAAsB;QACnD,YAAY;QACZ,QAAQ,UAAU,IAAI,CAAC;IAC3B;IACA,OAAO,YAAY,uBAAuB,WAAW;AACzD","ignoreList":[0]}}, - {"offset": {"line": 6537, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs"],"sourcesContent":["import { millisecondsToSeconds } from 'motion-utils';\nimport { calcGeneratorDuration, maxGeneratorDuration } from './calc-duration.mjs';\n\n/**\n * Create a progress => progress easing function from a generator.\n */\nfunction createGeneratorEasing(options, scale = 100, createGenerator) {\n const generator = createGenerator({ ...options, keyframes: [0, scale] });\n const duration = Math.min(calcGeneratorDuration(generator), maxGeneratorDuration);\n return {\n type: \"keyframes\",\n ease: (progress) => {\n return generator.next(duration * progress).value / scale;\n },\n duration: millisecondsToSeconds(duration),\n };\n}\n\nexport { createGeneratorEasing };\n"],"names":[],"mappings":";;;;AAAA;AACA;;;AAEA;;CAEC,GACD,SAAS,sBAAsB,OAAO,EAAE,QAAQ,GAAG,EAAE,eAAe;IAChE,MAAM,YAAY,gBAAgB;QAAE,GAAG,OAAO;QAAE,WAAW;YAAC;YAAG;SAAM;IAAC;IACtE,MAAM,WAAW,KAAK,GAAG,CAAC,IAAA,gOAAqB,EAAC,YAAY,+NAAoB;IAChF,OAAO;QACH,MAAM;QACN,MAAM,CAAC;YACH,OAAO,UAAU,IAAI,CAAC,WAAW,UAAU,KAAK,GAAG;QACvD;QACA,UAAU,IAAA,gMAAqB,EAAC;IACpC;AACJ","ignoreList":[0]}}, - {"offset": {"line": 6569, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.mjs"],"sourcesContent":["import { velocityPerSecond } from 'motion-utils';\n\nconst velocitySampleDuration = 5; // ms\nfunction calcGeneratorVelocity(resolveValue, t, current) {\n const prevT = Math.max(t - velocitySampleDuration, 0);\n return velocityPerSecond(current - resolveValue(prevT), t - prevT);\n}\n\nexport { calcGeneratorVelocity };\n"],"names":[],"mappings":";;;;AAAA;;AAEA,MAAM,yBAAyB,GAAG,KAAK;AACvC,SAAS,sBAAsB,YAAY,EAAE,CAAC,EAAE,OAAO;IACnD,MAAM,QAAQ,KAAK,GAAG,CAAC,IAAI,wBAAwB;IACnD,OAAO,IAAA,mMAAiB,EAAC,UAAU,aAAa,QAAQ,IAAI;AAChE","ignoreList":[0]}}, - {"offset": {"line": 6585, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/animation/generators/spring/defaults.mjs"],"sourcesContent":["const springDefaults = {\n // Default spring physics\n stiffness: 100,\n damping: 10,\n mass: 1.0,\n velocity: 0.0,\n // Default duration/bounce-based options\n duration: 800, // in ms\n bounce: 0.3,\n visualDuration: 0.3, // in seconds\n // Rest thresholds\n restSpeed: {\n granular: 0.01,\n default: 2,\n },\n restDelta: {\n granular: 0.005,\n default: 0.5,\n },\n // Limits\n minDuration: 0.01, // in seconds\n maxDuration: 10.0, // in seconds\n minDamping: 0.05,\n maxDamping: 1,\n};\n\nexport { springDefaults };\n"],"names":[],"mappings":";;;;AAAA,MAAM,iBAAiB;IACnB,yBAAyB;IACzB,WAAW;IACX,SAAS;IACT,MAAM;IACN,UAAU;IACV,wCAAwC;IACxC,UAAU;IACV,QAAQ;IACR,gBAAgB;IAChB,kBAAkB;IAClB,WAAW;QACP,UAAU;QACV,SAAS;IACb;IACA,WAAW;QACP,UAAU;QACV,SAAS;IACb;IACA,SAAS;IACT,aAAa;IACb,aAAa;IACb,YAAY;IACZ,YAAY;AAChB","ignoreList":[0]}}, - {"offset": {"line": 6619, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/animation/generators/spring/find.mjs"],"sourcesContent":["import { warning, secondsToMilliseconds, clamp, millisecondsToSeconds } from 'motion-utils';\nimport { springDefaults } from './defaults.mjs';\n\nconst safeMin = 0.001;\nfunction findSpring({ duration = springDefaults.duration, bounce = springDefaults.bounce, velocity = springDefaults.velocity, mass = springDefaults.mass, }) {\n let envelope;\n let derivative;\n warning(duration <= secondsToMilliseconds(springDefaults.maxDuration), \"Spring duration must be 10 seconds or less\", \"spring-duration-limit\");\n let dampingRatio = 1 - bounce;\n /**\n * Restrict dampingRatio and duration to within acceptable ranges.\n */\n dampingRatio = clamp(springDefaults.minDamping, springDefaults.maxDamping, dampingRatio);\n duration = clamp(springDefaults.minDuration, springDefaults.maxDuration, millisecondsToSeconds(duration));\n if (dampingRatio < 1) {\n /**\n * Underdamped spring\n */\n envelope = (undampedFreq) => {\n const exponentialDecay = undampedFreq * dampingRatio;\n const delta = exponentialDecay * duration;\n const a = exponentialDecay - velocity;\n const b = calcAngularFreq(undampedFreq, dampingRatio);\n const c = Math.exp(-delta);\n return safeMin - (a / b) * c;\n };\n derivative = (undampedFreq) => {\n const exponentialDecay = undampedFreq * dampingRatio;\n const delta = exponentialDecay * duration;\n const d = delta * velocity + velocity;\n const e = Math.pow(dampingRatio, 2) * Math.pow(undampedFreq, 2) * duration;\n const f = Math.exp(-delta);\n const g = calcAngularFreq(Math.pow(undampedFreq, 2), dampingRatio);\n const factor = -envelope(undampedFreq) + safeMin > 0 ? -1 : 1;\n return (factor * ((d - e) * f)) / g;\n };\n }\n else {\n /**\n * Critically-damped spring\n */\n envelope = (undampedFreq) => {\n const a = Math.exp(-undampedFreq * duration);\n const b = (undampedFreq - velocity) * duration + 1;\n return -safeMin + a * b;\n };\n derivative = (undampedFreq) => {\n const a = Math.exp(-undampedFreq * duration);\n const b = (velocity - undampedFreq) * (duration * duration);\n return a * b;\n };\n }\n const initialGuess = 5 / duration;\n const undampedFreq = approximateRoot(envelope, derivative, initialGuess);\n duration = secondsToMilliseconds(duration);\n if (isNaN(undampedFreq)) {\n return {\n stiffness: springDefaults.stiffness,\n damping: springDefaults.damping,\n duration,\n };\n }\n else {\n const stiffness = Math.pow(undampedFreq, 2) * mass;\n return {\n stiffness,\n damping: dampingRatio * 2 * Math.sqrt(mass * stiffness),\n duration,\n };\n }\n}\nconst rootIterations = 12;\nfunction approximateRoot(envelope, derivative, initialGuess) {\n let result = initialGuess;\n for (let i = 1; i < rootIterations; i++) {\n result = result - envelope(result) / derivative(result);\n }\n return result;\n}\nfunction calcAngularFreq(undampedFreq, dampingRatio) {\n return undampedFre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,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,IAAK;QACtC;IACJ,OACK;QACD;;SAEC,GACD,WAAW,CAAC;YACR,MAAM,IAAI,KAAK,GAAG,CAAC,CAAC,eAAe;YACnC,MAAM,IAAI,CAAC,eAAe,QAAQ,IAAI,WAAW;YACjD,OAAO,CAAC,UAAU,IAAI;QAC1B;QACA,aAAa,CAAC;YACV,MAAM,IAAI,KAAK,GAAG,CAAC,CAAC,eAAe;YACnC,MAAM,IAAI,CAAC,WAAW,YAAY,IAAI,CAAC,WAAW,QAAQ;YAC1D,OAAO,IAAI;QACf;IACJ;IACA,MAAM,eAAe,IAAI;IACzB,MAAM,eAAe,gBAAgB,UAAU,YAAY;IAC3D,WAAW,IAAA,gMAAqB,EAAC;IACjC,IAAI,MAAM,eAAe;QACrB,OAAO;YACH,WAAW,kNAAc,CAAC,SAAS;YACnC,SAAS,kNAAc,CAAC,OAAO;YAC/B;QACJ;IACJ,OACK;QACD,MAAM,YAAY,KAAK,GAAG,CAAC,cAAc,KAAK;QAC9C,OAAO;YACH;YACA,SAAS,eAAe,IAAI,KAAK,IAAI,CAAC,OAAO;YAC7C;QACJ;IACJ;AACJ;AACA,MAAM,iBAAiB;AACvB,SAAS,gBAAgB,QAAQ,EAAE,UAAU,EAAE,YAAY;IACvD,IAAI,SAAS;IACb,IAAK,IAAI,IAAI,GAAG,IAAI,gBAAgB,IAAK;QACrC,SAAS,SAAS,SAAS,UAAU,WAAW;IACpD;IACA,OAAO;AACX;AACA,SAAS,gBAAgB,YAAY,EAAE,YAAY;IAC/C,OAAO,eAAe,KAAK,IAAI,CAAC,IAAI,eAAe;AACvD","ignoreList":[0]}}, - {"offset": {"line": 6710, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/animation/generators/spring/index.mjs"],"sourcesContent":["import { millisecondsToSeconds, secondsToMilliseconds, clamp } from 'motion-utils';\nimport { generateLinearEasing } from '../../waapi/utils/linear.mjs';\nimport { calcGeneratorDuration, maxGeneratorDuration } from '../utils/calc-duration.mjs';\nimport { createGeneratorEasing } from '../utils/create-generator-easing.mjs';\nimport { calcGeneratorVelocity } from '../utils/velocity.mjs';\nimport { springDefaults } from './defaults.mjs';\nimport { findSpring, calcAngularFreq } from './find.mjs';\n\nconst durationKeys = [\"duration\", \"bounce\"];\nconst physicsKeys = [\"stiffness\", \"damping\", \"mass\"];\nfunction isSpringType(options, keys) {\n return keys.some((key) => options[key] !== undefined);\n}\nfunction getSpringOptions(options) {\n let springOptions = {\n velocity: springDefaults.velocity,\n stiffness: springDefaults.stiffness,\n damping: springDefaults.damping,\n mass: springDefaults.mass,\n isResolvedFromDuration: false,\n ...options,\n };\n // stiffness/damping/mass overrides duration/bounce\n if (!isSpringType(options, physicsKeys) &&\n isSpringType(options, durationKeys)) {\n if (options.visualDuration) {\n const visualDuration = options.visualDuration;\n const root = (2 * Math.PI) / (visualDuration * 1.2);\n const stiffness = root * root;\n const damping = 2 *\n clamp(0.05, 1, 1 - (options.bounce || 0)) *\n Math.sqrt(stiffness);\n springOptions = {\n ...springOptions,\n mass: springDefaults.mass,\n stiffness,\n damping,\n };\n }\n else {\n const derived = findSpring(options);\n springOptions = {\n ...springOptions,\n ...derived,\n mass: springDefaults.mass,\n };\n springOptions.isResolvedFromDuration = true;\n }\n }\n return springOptions;\n}\nfunction spring(optionsOrVisualDuration = springDefaults.visualDuration, bounce = springDefaults.bounce) {\n const options = typeof optionsOrVisualDuration !== \"object\"\n ? {\n visualDuration: optionsOrVisualDuration,\n keyframes: [0, 1],\n bounce,\n }\n : optionsOrVisualDuration;\n let { restSpeed, restDelta } = options;\n const origin = options.keyframes[0];\n const target = options.keyframes[options.keyframes.length - 1];\n /**\n * This is the Iterator-spec return value. We ensure it's mutable rather than using a generator\n * to reduce GC during animation.\n */\n const state = { done: false, value: origin };\n const { stiffness, damping, mass, duration, velocity, isResolvedFromDuration, } = getSpringOptions({\n ...options,\n velocity: -millisecondsToSeconds(options.velocity || 0),\n });\n const initialVelocity = velocity || 0.0;\n const dampingRatio = damping / (2 * Math.sqrt(stiffness * mass));\n const initialDelta = target - origin;\n const undampedAngularFreq = millisecondsToSeconds(Math.sqrt(stiffness / mass));\n /**\n * If we're working on a granular scale, use smaller defaults for determining\n * when the spring is finished.\n *\n * These defaults have been selected emprically based on what strikes a good\n * ratio between feeling good and finishing as soon as changes are imperceptible.\n */\n const isGranularScale = Math.abs(initialDelta) < 5;\n restSpeed || (restSpeed = isGranularScale\n ? springDefaults.restSpeed.granular\n : springDefaults.restSpeed.default);\n restDelta || (restDelta = isGranularScale\n ? springDefaults.restDelta.granular\n : springDefaults.restDelta.default);\n let resolveSpring;\n if (dampingRatio < 1) {\n const angularFreq = calcAngularFreq(undampedAngularFreq, dampingRatio);\n // Underdamped spring\n resolveSpring = (t) => {\n const envelope = Math.exp(-dampingRatio * undampedAngularFreq * t);\n return (target -\n envelope *\n (((initialVelocity +\n dampingRatio * undampedAngularFreq * initialDelta) /\n angularFreq) *\n Math.sin(angularFreq * t) +\n initialDelta * Math.cos(angularFreq * t)));\n };\n }\n else if (dampingRatio === 1) {\n // Critically damped spring\n resolveSpring = (t) => target -\n Math.exp(-undampedAngularFreq * t) *\n (initialDelta +\n (initialVelocity + undampedAngularFreq * initialDelta) * t);\n }\n else {\n // Overdamped spring\n const dampedAngularFreq = undampedAngularFreq * Math.sqrt(dampingRatio * dampingRatio - 1);\n resolveSpring = (t) => {\n const envelope = Math.exp(-dampingRatio * undampedAngularFreq * t);\n // When performing sinh or cosh values can hit Infinity so we cap them here\n const freqForT = Math.min(dampedAngularFreq * t, 300);\n return (target -\n (envelope *\n ((initialVelocity +\n dampingRatio * undampedAngularFreq * initialDelta) *\n Math.sinh(freqForT) +\n dampedAngularFreq *\n initialDelta *\n Math.cosh(freqForT))) /\n dampedAngularFreq);\n };\n }\n const generator = {\n calculatedDuration: isResolvedFromDuration ? duration || null : null,\n next: (t) => {\n const current = resolveSpring(t);\n if (!isResolvedFromDuration) {\n let currentVelocity = t === 0 ? initialVelocity : 0.0;\n /**\n * We only need to calculate velocity for under-damped springs\n * as over- and critically-damped springs can't overshoot, so\n * checking only for displacement is enough.\n */\n if (dampingRatio < 1) {\n currentVelocity =\n t === 0\n ? secondsToMilliseconds(initialVelocity)\n : calcGeneratorVelocity(resolveSpring, t, current);\n }\n const isBelowVelocityThreshold = Math.abs(currentVelocity) <= restSpeed;\n const isBelowDisplacementThreshold = Math.abs(target - current) <= restDelta;\n state.done =\n isBelowVelocityThreshold && isBelowDisplacementThreshold;\n }\n else {\n state.done = t >= duration;\n }\n state.value = state.done ? target : current;\n return state;\n },\n toString: () => {\n const calculatedDuration = Math.min(calcGeneratorDuration(generator), maxGeneratorDuration);\n const easing = generateLinearEasing((progress) => generator.next(calculatedDuration * progress).value, calculatedDuration, 30);\n return calculatedDuration + \"ms \" + easing;\n },\n toTransition: () => { },\n };\n return generator;\n}\nspring.applyToOptions = (options) => {\n const generatorOptions = createGeneratorEasing(options, 100, spring);\n options.ease = generatorOptions.ease;\n options.duration = secondsToMilliseconds(generatorOptions.duration);\n options.type = \"keyframes\";\n return options;\n};\n\nexport { spring };\n"],"names":[],"mappings":";;;;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AAEA,MAAM,eAAe;IAAC;IAAY;CAAS;AAC3C,MAAM,cAAc;IAAC;IAAa;IAAW;CAAO;AACpD,SAAS,aAAa,OAAO,EAAE,IAAI;IAC/B,OAAO,KAAK,IAAI,CAAC,CAAC,MAAQ,OAAO,CAAC,IAAI,KAAK;AAC/C;AACA,SAAS,iBAAiB,OAAO;IAC7B,IAAI,gBAAgB;QAChB,UAAU,kNAAc,CAAC,QAAQ;QACjC,WAAW,kNAAc,CAAC,SAAS;QACnC,SAAS,kNAAc,CAAC,OAAO;QAC/B,MAAM,kNAAc,CAAC,IAAI;QACzB,wBAAwB;QACxB,GAAG,OAAO;IACd;IACA,mDAAmD;IACnD,IAAI,CAAC,aAAa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AAK,IAAI,CAAC,SAAS,IAC3B;QACZ;IACJ;IACA,MAAM,YAAY;QACd,oBAAoB,yBAAyB,YAAY,OAAO;QAChE,MAAM,CAAC;YACH,MAAM,UAAU,cAAc;YAC9B,IAAI,CAAC,wBAAwB;gBACzB,IAAI,kBAAkB,MAAM,IAAI,kBAAkB;gBAClD;;;;iBAIC,GACD,IAAI,eAAe,GAAG;oBAClB,kBACI,MAAM,IACA,IAAA,gMAAqB,EAAC,mBACtB,IAAA,wNAAqB,EAAC,eAAe,GAAG;gBACtD;gBACA,MAAM,2BAA2B,KAAK,GAAG,CAAC,oBAAoB;gBAC9D,MAAM,+BAA+B,KAAK,GAAG,CAAC,SAAS,YAAY;gBACnE,MAAM,IAAI,GACN,4BAA4B;YACpC,OACK;gBACD,MAAM,IAAI,GAAG,KAAK;YACtB;YACA,MAAM,KAAK,GAAG,MAAM,IAAI,GAAG,SAAS;YACpC,OAAO;QACX;QACA,UAAU;YACN,MAAM,qBAAqB,KAAK,GAAG,CAAC,IAAA,gOAAqB,EAAC,YAAY,+NAAoB;YAC1F,MAAM,SAAS,IAAA,gNAAoB,EAAC,CAAC,WAAa,UAAU,IAAI,CAAC,qBAAqB,UAAU,KAAK,EAAE,oBAAoB;YAC3H,OAAO,qBAAqB,QAAQ;QACxC;QACA,cAAc,KAAQ;IAC1B;IACA,OAAO;AACX;AACA,OAAO,cAAc,GAAG,CAAC;IACrB,MAAM,mBAAmB,IAAA,6OAAqB,EAAC,SAAS,KAAK;IAC7D,QAAQ,IAAI,GAAG,iBAAiB,IAAI;IACpC,QAAQ,QAAQ,GAAG,IAAA,gMAAqB,EAAC,iBAAiB,QAAQ;IAClE,QAAQ,IAAI,GAAG;IACf,OAAO;AACX","ignoreList":[0]}}, - {"offset": {"line": 6875, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/animation/generators/inertia.mjs"],"sourcesContent":["import { spring } from './spring/index.mjs';\nimport { calcGeneratorVelocity } from './utils/velocity.mjs';\n\nfunction inertia({ keyframes, velocity = 0.0, power = 0.8, timeConstant = 325, bounceDamping = 10, bounceStiffness = 500, modifyTarget, min, max, restDelta = 0.5, restSpeed, }) {\n const origin = keyframes[0];\n const state = {\n done: false,\n value: origin,\n };\n const isOutOfBounds = (v) => (min !== undefined && v < min) || (max !== undefined && v > max);\n const nearestBoundary = (v) => {\n if (min === undefined)\n return max;\n if (max === undefined)\n return min;\n return Math.abs(min - v) < Math.abs(max - v) ? min : max;\n };\n let amplitude = power * velocity;\n const ideal = origin + amplitude;\n const target = modifyTarget === undefined ? ideal : modifyTarget(ideal);\n /**\n * If the target has changed we need to re-calculate the amplitude, otherwise\n * the animation will start from the wrong position.\n */\n if (target !== ideal)\n amplitude = target - origin;\n const calcDelta = (t) => -amplitude * Math.exp(-t / timeConstant);\n const calcLatest = (t) => target + calcDelta(t);\n const applyFriction = (t) => {\n const delta = calcDelta(t);\n const latest = calcLatest(t);\n state.done = Math.abs(delta) <= restDelta;\n state.value = state.done ? target : latest;\n };\n /**\n * Ideally this would resolve for t in a stateless way, we could\n * do that by always precalculating the animation but as we know\n * this will be done anyway we can assume that spring will\n * be discovered during that.\n */\n let timeReachedBoundary;\n let spring$1;\n const checkCatchBoundary = (t) => {\n if (!isOutOfBounds(state.value))\n return;\n timeReachedBoundary = t;\n spring$1 = spring({\n keyframes: [state.value, nearestBoundary(state.value)],\n velocity: calcGeneratorVelocity(calcLatest, t, state.value), // TODO: This should be passing * 1000\n damping: bounceDamping,\n stiffness: bounceStiffness,\n restDelta,\n restSpeed,\n });\n };\n checkCatchBoundary(0);\n return {\n calculatedDuration: null,\n next: (t) => {\n /**\n * We need to resolve the friction to figure out if we need a\n * spring but we don't want to do this twice per frame. So here\n * we flag if we updated for this frame and later if we did\n * we can skip doing it again.\n */\n let hasUpdatedFrame = false;\n if (!spring$1 && timeReachedBoundary === undefined) {\n hasUpdatedFrame = true;\n applyFriction(t);\n checkCatchBoundary(t);\n }\n /**\n * If we have a spring and the provided t is beyond the moment the friction\n * animation crossed the min/max boundary, use the spring.\n */\n if (timeReachedBoundary !== undefined && t >= timeReachedBoundary) {\n return spring$1.next(t - timeReachedBoundary);\n }\n else {\n !hasUpdatedFrame && applyFriction(t);\n return state;\n }\n },\n };\n}\n\nexport { inertia };\n"],"names":[],"mappings":";;;;AAAA;AACA;;;AAEA,SAAS,QAAQ,EAAE,SAAS,EAAE,WAAW,GAAG,EAAE,QAAQ,GAAG,EAAE,eAAe,GAAG,EAAE,gBAAgB,EAAE,EAAE,kBAAkB,GAAG,EAAE,YAAY,EAAE,GAAG,EAAE,GAAG,EAAE,YAAY,GAAG,EAAE,SAAS,EAAG;IAC3K,MAAM,SAAS,SAAS,CAAC,EAAE;IAC3B,MAAM,QAAQ;QACV,MAAM;QACN,OAAO;IACX;IACA,MAAM,gBAAgB,CAAC,IAAM,AAAC,QAAQ,aAAa,IAAI,OAAS,QAAQ,aAAa,IAAI;IACzF,MAAM,kBAAkB,CAAC;QACrB,IAAI,QAAQ,WACR,OAAO;QACX,IAAI,QAAQ,WACR,OAAO;QACX,OAAO,KAAK,GAAG,CAAC,MAAM,KAAK,KAAK,GAAG,CAAC,MAAM,KAAK,MAAM;IACzD;IACA,IAAI,YAAY,QAAQ;IACxB,MAAM,QAAQ,SAAS;IACvB,MAAM,SAAS,iBAAiB,YAAY,QAAQ,aAAa;IACjE;;;KAGC,GACD,IAAI,WAAW,OACX,YAAY,SAAS;IACzB,MAAM,YAAY,CAAC,IAAM,CAAC,YAAY,KAAK,GAAG,CAAC,CAAC,IAAI;IACpD,MAAM,aAAa,CAAC,IAAM,SAAS,UAAU;IAC7C,MAAM,gBAAgB,CAAC;QACnB,MAAM,QAAQ,UAAU;QACxB,MAAM,SAAS,WAAW;QAC1B,MAAM,IAAI,GAAG,KAAK,GAAG,CAAC,UAAU;QAChC,MAAM,KAAK,GAAG,MAAM,IAAI,GAAG,SAAS;IACxC;IACA;;;;;KAKC,GACD,IAAI;IACJ,IAAI;IACJ,MAAM,qBAAqB,CAAC;QACxB,IAAI,CAAC,cAAc,MAAM,KAAK,GAC1B;QACJ,sBAAsB;QACtB,WAAW,IAAA,uMAAM,EAAC;YACd,WAAW;gBAAC,MAAM,KAAK;gBAAE,gBAAgB,MAAM,KAAK;aAAE;YACtD,UAAU,IAAA,wNAAqB,EAAC,YAAY,GAAG,MAAM,KAAK;YAC1D,SAAS;YACT,WAAW;YACX;YACA;QACJ;IACJ;IACA,mBAAmB;IACnB,OAAO;QACH,oBAAoB;QACpB,MAAM,CAAC;YACH;;;;;aAKC,GACD,IAAI,kBAAkB;YACtB,IAAI,CAAC,YAAY,wBAAwB,WAAW;gBAChD,kBAAkB;gBAClB,cAAc;gBACd,mBAAmB;YACvB;YACA;;;aAGC,GACD,IAAI,wBAAwB,aAAa,KAAK,qBAAqB;gBAC/D,OAAO,SAAS,IAAI,CAAC,IAAI;YAC7B,OACK;gBACD,CAAC,mBAAmB,cAAc;gBAClC,OAAO;YACX;QACJ;IACJ;AACJ","ignoreList":[0]}}, - {"offset": {"line": 6964, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-utils/dist/es/easing/cubic-bezier.mjs"],"sourcesContent":["import { noop } from '../noop.mjs';\n\n/*\n Bezier function generator\n This has been modified from Gaëtan Renaudeau's BezierEasing\n https://github.com/gre/bezier-easing/blob/master/src/index.js\n https://github.com/gre/bezier-easing/blob/master/LICENSE\n \n I've removed the newtonRaphsonIterate algo because in benchmarking it\n wasn't noticeably faster than binarySubdivision, indeed removing it\n usually improved times, depending on the curve.\n I also removed the lookup table, as for the added bundle size and loop we're\n only cutting ~4 or so subdivision iterations. I bumped the max iterations up\n to 12 to compensate and this still tended to be faster for no perceivable\n loss in accuracy.\n Usage\n const easeOut = cubicBezier(.17,.67,.83,.67);\n const x = easeOut(0.5); // returns 0.627...\n*/\n// Returns x(t) given t, x1, and x2, or y(t) given t, y1, and y2.\nconst calcBezier = (t, a1, a2) => (((1.0 - 3.0 * a2 + 3.0 * a1) * t + (3.0 * a2 - 6.0 * a1)) * t + 3.0 * a1) *\n t;\nconst subdivisionPrecision = 0.0000001;\nconst subdivisionMaxIterations = 12;\nfunction binarySubdivide(x, lowerBound, upperBound, mX1, mX2) {\n let currentX;\n let currentT;\n let i = 0;\n do {\n currentT = lowerBound + (upperBound - lowerBound) / 2.0;\n currentX = calcBezier(currentT, mX1, mX2) - x;\n if (currentX > 0.0) {\n upperBound = currentT;\n }\n else {\n lowerBound = currentT;\n }\n } while (Math.abs(currentX) > subdivisionPrecision &&\n ++i < subdivisionMaxIterations);\n return currentT;\n}\nfunction cubicBezier(mX1, mY1, mX2, mY2) {\n // If this is a linear gradient, return linear easing\n if (mX1 === mY1 && mX2 === mY2)\n return noop;\n const getTForX = (aX) => binarySubdivide(aX, 0, 1, mX1, mX2);\n // If animation is at start/end, return t without easing\n return (t) => t === 0 || t === 1 ? t : calcBezier(getTForX(t), mY1, mY2);\n}\n\nexport { cubicBezier };\n"],"names":[],"mappings":";;;;AAAA;;AAEA;;;;;;;;;;;;;;;;AAgBA,GACA,iEAAiE;AACjE,MAAM,aAAa,CAAC,GAAG,IAAI,KAAO,CAAC,CAAC,CAAC,MAAM,MAAM,KAAK,MAAM,EAAE,IAAI,IAAI,CAAC,MAAM,KAAK,MAAM,EAAE,CAAC,IAAI,IAAI,MAAM,EAAE,IACvG;AACJ,MAAM,uBAAuB;AAC7B,MAAM,2BAA2B;AACjC,SAAS,gBAAgB,CAAC,EAAE,UAAU,EAAE,UAAU,EAAE,GAAG,EAAE,GAAG;IACxD,IAAI;IACJ,IAAI;IACJ,IAAI,IAAI;IACR,GAAG;QACC,WAAW,aAAa,CAAC,aAAa,UAAU,IAAI;QACpD,WAAW,WAAW,UAAU,KAAK,OAAO;QAC5C,IAAI,WAAW,KAAK;YAChB,aAAa;QACjB,OACK;YACD,aAAa;QACjB;IACJ,QAAS,KAAK,GAAG,CAAC,YAAY,wBAC1B,EAAE,IAAI,yBAA0B;IACpC,OAAO;AACX;AACA,SAAS,YAAY,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG;IACnC,qDAAqD;IACrD,IAAI,QAAQ,OAAO,QAAQ,KACvB,OAAO,iKAAI;IACf,MAAM,WAAW,CAAC,KAAO,gBAAgB,IAAI,GAAG,GAAG,KAAK;IACxD,wDAAwD;IACxD,OAAO,CAAC,IAAM,MAAM,KAAK,MAAM,IAAI,IAAI,WAAW,SAAS,IAAI,KAAK;AACxE","ignoreList":[0]}}, - {"offset": {"line": 7017, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-utils/dist/es/easing/ease.mjs"],"sourcesContent":["import { cubicBezier } from './cubic-bezier.mjs';\n\nconst easeIn = /*@__PURE__*/ cubicBezier(0.42, 0, 1, 1);\nconst easeOut = /*@__PURE__*/ cubicBezier(0, 0, 0.58, 1);\nconst easeInOut = /*@__PURE__*/ cubicBezier(0.42, 0, 0.58, 1);\n\nexport { easeIn, easeInOut, easeOut };\n"],"names":[],"mappings":";;;;;;;;AAAA;;AAEA,MAAM,SAAS,WAAW,GAAG,IAAA,6LAAW,EAAC,MAAM,GAAG,GAAG;AACrD,MAAM,UAAU,WAAW,GAAG,IAAA,6LAAW,EAAC,GAAG,GAAG,MAAM;AACtD,MAAM,YAAY,WAAW,GAAG,IAAA,6LAAW,EAAC,MAAM,GAAG,MAAM","ignoreList":[0]}}, - {"offset": {"line": 7035, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.mjs"],"sourcesContent":["const isEasingArray = (ease) => {\n return Array.isArray(ease) && typeof ease[0] !== \"number\";\n};\n\nexport { isEasingArray };\n"],"names":[],"mappings":";;;;AAAA,MAAM,gBAAgB,CAAC;IACnB,OAAO,MAAM,OAAO,CAAC,SAAS,OAAO,IAAI,CAAC,EAAE,KAAK;AACrD","ignoreList":[0]}}, - {"offset": {"line": 7047, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-utils/dist/es/easing/modifiers/mirror.mjs"],"sourcesContent":["// Accepts an easing function and returns a new one that outputs mirrored values for\n// the second half of the animation. Turns easeIn into easeInOut.\nconst mirrorEasing = (easing) => (p) => p <= 0.5 ? easing(2 * p) / 2 : (2 - easing(2 * (1 - p))) / 2;\n\nexport { mirrorEasing };\n"],"names":[],"mappings":";;;;AAAA,oFAAoF;AACpF,iEAAiE;AACjE,MAAM,eAAe,CAAC,SAAW,CAAC,IAAM,KAAK,MAAM,OAAO,IAAI,KAAK,IAAI,CAAC,IAAI,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI","ignoreList":[0]}}, - {"offset": {"line": 7059, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-utils/dist/es/easing/modifiers/reverse.mjs"],"sourcesContent":["// Accepts an easing function and returns a new one that outputs reversed values.\n// Turns easeIn into easeOut.\nconst reverseEasing = (easing) => (p) => 1 - easing(1 - p);\n\nexport { reverseEasing };\n"],"names":[],"mappings":";;;;AAAA,iFAAiF;AACjF,6BAA6B;AAC7B,MAAM,gBAAgB,CAAC,SAAW,CAAC,IAAM,IAAI,OAAO,IAAI","ignoreList":[0]}}, - {"offset": {"line": 7071, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-utils/dist/es/easing/back.mjs"],"sourcesContent":["import { cubicBezier } from './cubic-bezier.mjs';\nimport { mirrorEasing } from './modifiers/mirror.mjs';\nimport { reverseEasing } from './modifiers/reverse.mjs';\n\nconst backOut = /*@__PURE__*/ cubicBezier(0.33, 1.53, 0.69, 0.99);\nconst backIn = /*@__PURE__*/ reverseEasing(backOut);\nconst backInOut = /*@__PURE__*/ mirrorEasing(backIn);\n\nexport { backIn, backInOut, backOut };\n"],"names":[],"mappings":";;;;;;;;AAAA;AACA;AACA;;;;AAEA,MAAM,UAAU,WAAW,GAAG,IAAA,6LAAW,EAAC,MAAM,MAAM,MAAM;AAC5D,MAAM,SAAS,WAAW,GAAG,IAAA,oMAAa,EAAC;AAC3C,MAAM,YAAY,WAAW,GAAG,IAAA,kMAAY,EAAC","ignoreList":[0]}}, - {"offset": {"line": 7093, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-utils/dist/es/easing/anticipate.mjs"],"sourcesContent":["import { backIn } from './back.mjs';\n\nconst anticipate = (p) => (p *= 2) < 1 ? 0.5 * backIn(p) : 0.5 * (2 - Math.pow(2, -10 * (p - 1)));\n\nexport { anticipate };\n"],"names":[],"mappings":";;;;AAAA;;AAEA,MAAM,aAAa,CAAC,IAAM,CAAC,KAAK,CAAC,IAAI,IAAI,MAAM,IAAA,6KAAM,EAAC,KAAK,MAAM,CAAC,IAAI,KAAK,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE","ignoreList":[0]}}, - {"offset": {"line": 7105, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-utils/dist/es/easing/circ.mjs"],"sourcesContent":["import { mirrorEasing } from './modifiers/mirror.mjs';\nimport { reverseEasing } from './modifiers/reverse.mjs';\n\nconst circIn = (p) => 1 - Math.sin(Math.acos(p));\nconst circOut = reverseEasing(circIn);\nconst circInOut = mirrorEasing(circIn);\n\nexport { circIn, circInOut, circOut };\n"],"names":[],"mappings":";;;;;;;;AAAA;AACA;;;AAEA,MAAM,SAAS,CAAC,IAAM,IAAI,KAAK,GAAG,CAAC,KAAK,IAAI,CAAC;AAC7C,MAAM,UAAU,IAAA,oMAAa,EAAC;AAC9B,MAAM,YAAY,IAAA,kMAAY,EAAC","ignoreList":[0]}}, - {"offset": {"line": 7125, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.mjs"],"sourcesContent":["const isBezierDefinition = (easing) => Array.isArray(easing) && typeof easing[0] === \"number\";\n\nexport { isBezierDefinition };\n"],"names":[],"mappings":";;;;AAAA,MAAM,qBAAqB,CAAC,SAAW,MAAM,OAAO,CAAC,WAAW,OAAO,MAAM,CAAC,EAAE,KAAK","ignoreList":[0]}}, - {"offset": {"line": 7135, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-utils/dist/es/easing/utils/map.mjs"],"sourcesContent":["import { invariant } from '../../errors.mjs';\nimport { noop } from '../../noop.mjs';\nimport { anticipate } from '../anticipate.mjs';\nimport { backIn, backInOut, backOut } from '../back.mjs';\nimport { circIn, circInOut, circOut } from '../circ.mjs';\nimport { cubicBezier } from '../cubic-bezier.mjs';\nimport { easeIn, easeInOut, easeOut } from '../ease.mjs';\nimport { isBezierDefinition } from './is-bezier-definition.mjs';\n\nconst easingLookup = {\n linear: noop,\n easeIn,\n easeInOut,\n easeOut,\n circIn,\n circInOut,\n circOut,\n backIn,\n backInOut,\n backOut,\n anticipate,\n};\nconst isValidEasing = (easing) => {\n return typeof easing === \"string\";\n};\nconst easingDefinitionToFunction = (definition) => {\n if (isBezierDefinition(definition)) {\n // If cubic bezier definition, create bezier curve\n invariant(definition.length === 4, `Cubic bezier arrays must contain four numerical values.`, \"cubic-bezier-length\");\n const [x1, y1, x2, y2] = definition;\n return cubicBezier(x1, y1, x2, y2);\n }\n else if (isValidEasing(definition)) {\n // Else lookup from table\n invariant(easingLookup[definition] !== undefined, `Invalid easing type '${definition}'`, \"invalid-easing-type\");\n return easingLookup[definition];\n }\n return definition;\n};\n\nexport { easingDefinitionToFunction };\n"],"names":[],"mappings":";;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AAEA,MAAM,eAAe;IACjB,QAAQ,iKAAI;IACZ,QAAA,6KAAM;IACN,WAAA,gLAAS;IACT,SAAA,8KAAO;IACP,QAAA,6KAAM;IACN,WAAA,gLAAS;IACT,SAAA,8KAAO;IACP,QAAA,6KAAM;IACN,WAAA,gLAAS;IACT,SAAA,8KAAO;IACP,YAAA,uLAAU;AACd;AACA,MAAM,gBAAgB,CAAC;IACnB,OAAO,OAAO,WAAW;AAC7B;AACA,MAAM,6BAA6B,CAAC;IAChC,IAAI,IAAA,wNAAkB,EAAC,aAAa;QAChC,kDAAkD;QAClD,IAAA,wKAAS,EAAC,WAAW,MAAM,KAAK,GAAG,CAAC,uDAAuD,CAAC,EAAE;QAC9F,MAAM,CAAC,IAAI,IAAI,IAAI,GAAG,GAAG;QACzB,OAAO,IAAA,6LAAW,EAAC,IAAI,IAAI,IAAI;IACnC,OACK,IAAI,cAAc,aAAa;QAChC,yBAAyB;QACzB,IAAA,wKAAS,EAAC,YAAY,CAAC,WAAW,KAAK,WAAW,CAAC,qBAAqB,EAAE,WAAW,CAAC,CAAC,EAAE;QACzF,OAAO,YAAY,CAAC,WAAW;IACnC;IACA,OAAO;AACX","ignoreList":[0]}}, - {"offset": {"line": 7189, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-utils/dist/es/progress.mjs"],"sourcesContent":["/*\n Progress within given range\n\n Given a lower limit and an upper limit, we return the progress\n (expressed as a number 0-1) represented by the given value, and\n limit that progress to within 0-1.\n\n @param [number]: Lower limit\n @param [number]: Upper limit\n @param [number]: Value to find progress within given range\n @return [number]: Progress of value within range as expressed 0-1\n*/\n/*#__NO_SIDE_EFFECTS__*/\nconst progress = (from, to, value) => {\n const toFromDifference = to - from;\n return toFromDifference === 0 ? 1 : (value - from) / toFromDifference;\n};\n\nexport { progress };\n"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;AAWA,GACA,sBAAsB,GACtB,MAAM,WAAW,CAAC,MAAM,IAAI;IACxB,MAAM,mBAAmB,KAAK;IAC9B,OAAO,qBAAqB,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI;AACzD","ignoreList":[0]}}, - {"offset": {"line": 7213, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/utils/interpolate.mjs"],"sourcesContent":["import { invariant, clamp, MotionGlobalConfig, noop, pipe, progress } from 'motion-utils';\nimport { mix } from './mix/index.mjs';\n\nfunction createMixers(output, ease, customMixer) {\n const mixers = [];\n const mixerFactory = customMixer || MotionGlobalConfig.mix || mix;\n const numMixers = output.length - 1;\n for (let i = 0; i < numMixers; i++) {\n let mixer = mixerFactory(output[i], output[i + 1]);\n if (ease) {\n const easingFunction = Array.isArray(ease) ? ease[i] || noop : ease;\n mixer = pipe(easingFunction, mixer);\n }\n mixers.push(mixer);\n }\n return mixers;\n}\n/**\n * Create a function that maps from a numerical input array to a generic output array.\n *\n * Accepts:\n * - Numbers\n * - Colors (hex, hsl, hsla, rgb, rgba)\n * - Complex (combinations of one or more numbers or strings)\n *\n * ```jsx\n * const mixColor = interpolate([0, 1], ['#fff', '#000'])\n *\n * mixColor(0.5) // 'rgba(128, 128, 128, 1)'\n * ```\n *\n * TODO Revisit this approach once we've moved to data models for values,\n * probably not needed to pregenerate mixer functions.\n *\n * @public\n */\nfunction interpolate(input, output, { clamp: isClamp = true, ease, mixer } = {}) {\n const inputLength = input.length;\n invariant(inputLength === output.length, \"Both input and output ranges must be the same length\", \"range-length\");\n /**\n * If we're only provided a single input, we can just make a function\n * that returns the output.\n */\n if (inputLength === 1)\n return () => output[0];\n if (inputLength === 2 && output[0] === output[1])\n return () => output[1];\n const isZeroDeltaRange = input[0] === input[1];\n // If input runs highest -> lowest, reverse both arrays\n if (input[0] > input[inputLength - 1]) {\n input = [...input].reverse();\n output = [...output].reverse();\n }\n const mixers = createMixers(output, ease, mixer);\n const numMixers = mixers.length;\n const interpolator = (v) => {\n if (isZeroDeltaRange && v < input[0])\n return output[0];\n let i = 0;\n if (numMixers > 1) {\n for (; i < input.length - 2; i++) {\n if (v < input[i + 1])\n break;\n }\n }\n const progressInRange = progress(input[i], input[i + 1], v);\n return mixers[i](progressInRange);\n };\n return isClamp\n ? (v) => interpolator(clamp(input[0], input[inputLength - 1], v))\n : interpolator;\n}\n\nexport { interpolate };\n"],"names":[],"mappings":";;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;;;AAEA,SAAS,aAAa,MAAM,EAAE,IAAI,EAAE,WAAW;IAC3C,MAAM,SAAS,EAAE;IACjB,MAAM,eAAe,eAAe,2LAAkB,CAAC,GAAG,IAAI,+KAAG;IACjE,MAAM,YAAY,OAAO,MAAM,GAAG;IAClC,IAAK,IAAI,IAAI,GAAG,IAAI,WAAW,IAAK;QAChC,IAAI,QAAQ,aAAa,MAAM,CAAC,EAAE,EAAE,MAAM,CAAC,IAAI,EAAE;QACjD,IAAI,MAAM;YACN,MAAM,iBAAiB,MAAM,OAAO,CAAC,QAAQ,IAAI,CAAC,EAAE,IAAI,iKAAI,GAAG;YAC/D,QAAQ,IAAA,iKAAI,EAAC,gBAAgB;QACjC;QACA,OAAO,IAAI,CAAC;IAChB;IACA,OAAO;AACX;AACA;;;;;;;;;;;;;;;;;;CAkBC,GACD,SAAS,YAAY,KAAK,EAAE,MAAM,EAAE,EAAE,OAAO,UAAU,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,CAAC,CAAC;IAC3E,MAAM,cAAc,MAAM,MAAM;IAChC,IAAA,wKAAS,EAAC,gBAAgB,OAAO,MAAM,EAAE,wDAAwD;IACjG;;;KAGC,GACD,IAAI,gBAAgB,GAChB,OAAO,IAAM,MAAM,CAAC,EAAE;IAC1B,IAAI,gBAAgB,KAAK,MAAM,CAAC,EAAE,KAAK,MAAM,CAAC,EAAE,EAC5C,OAAO,IAAM,MAAM,CAAC,EAAE;IAC1B,MAAM,mBAAmB,KAAK,CAAC,EAAE,KAAK,KAAK,CAAC,EAAE;IAC9C,uDAAuD;IACvD,IAAI,KAAK,CAAC,EAAE,GAAG,KAAK,CAAC,cAAc,EAAE,EAAE;QACnC,QAAQ;eAAI;SAAM,CAAC,OAAO;QAC1B,SAAS;eAAI;SAAO,CAAC,OAAO;IAChC;IACA,MAAM,SAAS,aAAa,QAAQ,MAAM;IAC1C,MAAM,YAAY,OAAO,MAAM;IAC/B,MAAM,eAAe,CAAC;QAClB,IAAI,oBAAoB,IAAI,KAAK,CAAC,EAAE,EAChC,OAAO,MAAM,CAAC,EAAE;QACpB,IAAI,IAAI;QACR,IAAI,YAAY,GAAG;YACf,MAAO,IAAI,MAAM,MAAM,GAAG,GAAG,IAAK;gBAC9B,IAAI,IAAI,KAAK,CAAC,IAAI,EAAE,EAChB;YACR;QACJ;QACA,MAAM,kBAAkB,IAAA,yKAAQ,EAAC,KAAK,CAAC,EAAE,EAAE,KAAK,CAAC,IAAI,EAAE,EAAE;QACzD,OAAO,MAAM,CAAC,EAAE,CAAC;IACrB;IACA,OAAO,UACD,CAAC,IAAM,aAAa,IAAA,mKAAK,EAAC,KAAK,CAAC,EAAE,EAAE,KAAK,CAAC,cAAc,EAAE,EAAE,MAC5D;AACV","ignoreList":[0]}}, - {"offset": {"line": 7296, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.mjs"],"sourcesContent":["import { progress } from 'motion-utils';\nimport { mixNumber } from '../../../utils/mix/number.mjs';\n\nfunction fillOffset(offset, remaining) {\n const min = offset[offset.length - 1];\n for (let i = 1; i <= remaining; i++) {\n const offsetProgress = progress(0, remaining, i);\n offset.push(mixNumber(min, 1, offsetProgress));\n }\n}\n\nexport { fillOffset };\n"],"names":[],"mappings":";;;;AAAA;AACA;;;AAEA,SAAS,WAAW,MAAM,EAAE,SAAS;IACjC,MAAM,MAAM,MAAM,CAAC,OAAO,MAAM,GAAG,EAAE;IACrC,IAAK,IAAI,IAAI,GAAG,KAAK,WAAW,IAAK;QACjC,MAAM,iBAAiB,IAAA,yKAAQ,EAAC,GAAG,WAAW;QAC9C,OAAO,IAAI,CAAC,IAAA,sLAAS,EAAC,KAAK,GAAG;IAClC;AACJ","ignoreList":[0]}}, - {"offset": {"line": 7316, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.mjs"],"sourcesContent":["import { fillOffset } from './fill.mjs';\n\nfunction defaultOffset(arr) {\n const offset = [0];\n fillOffset(offset, arr.length - 1);\n return offset;\n}\n\nexport { defaultOffset };\n"],"names":[],"mappings":";;;;AAAA;;AAEA,SAAS,cAAc,GAAG;IACtB,MAAM,SAAS;QAAC;KAAE;IAClB,IAAA,0MAAU,EAAC,QAAQ,IAAI,MAAM,GAAG;IAChC,OAAO;AACX","ignoreList":[0]}}, - {"offset": {"line": 7334, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.mjs"],"sourcesContent":["function convertOffsetToTimes(offset, duration) {\n return offset.map((o) => o * duration);\n}\n\nexport { convertOffsetToTimes };\n"],"names":[],"mappings":";;;;AAAA,SAAS,qBAAqB,MAAM,EAAE,QAAQ;IAC1C,OAAO,OAAO,GAAG,CAAC,CAAC,IAAM,IAAI;AACjC","ignoreList":[0]}}, - {"offset": {"line": 7346, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/animation/generators/keyframes.mjs"],"sourcesContent":["import { easeInOut, isEasingArray, easingDefinitionToFunction } from 'motion-utils';\nimport { interpolate } from '../../utils/interpolate.mjs';\nimport { defaultOffset } from '../keyframes/offsets/default.mjs';\nimport { convertOffsetToTimes } from '../keyframes/offsets/time.mjs';\n\nfunction defaultEasing(values, easing) {\n return values.map(() => easing || easeInOut).splice(0, values.length - 1);\n}\nfunction keyframes({ duration = 300, keyframes: keyframeValues, times, ease = \"easeInOut\", }) {\n /**\n * Easing functions can be externally defined as strings. Here we convert them\n * into actual functions.\n */\n const easingFunctions = isEasingArray(ease)\n ? ease.map(easingDefinitionToFunction)\n : easingDefinitionToFunction(ease);\n /**\n * This is the Iterator-spec return value. We ensure it's mutable rather than using a generator\n * to reduce GC during animation.\n */\n const state = {\n done: false,\n value: keyframeValues[0],\n };\n /**\n * Create a times array based on the provided 0-1 offsets\n */\n const absoluteTimes = convertOffsetToTimes(\n // Only use the provided offsets if they're the correct length\n // TODO Maybe we should warn here if there's a length mismatch\n times && times.length === keyframeValues.length\n ? times\n : defaultOffset(keyframeValues), duration);\n const mapTimeToKeyframe = interpolate(absoluteTimes, keyframeValues, {\n ease: Array.isArray(easingFunctions)\n ? easingFunctions\n : defaultEasing(keyframeValues, easingFunctions),\n });\n return {\n calculatedDuration: duration,\n next: (t) => {\n state.value = mapTimeToKeyframe(t);\n state.done = t >= duration;\n return state;\n },\n };\n}\n\nexport { defaultEasing, keyframes };\n"],"names":[],"mappings":";;;;;;AAAA;AAAA;AAAA;AACA;AACA;AACA;;;;;AAEA,SAAS,cAAc,MAAM,EAAE,MAAM;IACjC,OAAO,OAAO,GAAG,CAAC,IAAM,UAAU,gLAAS,EAAE,MAAM,CAAC,GAAG,OAAO,MAAM,GAAG;AAC3E;AACA,SAAS,UAAU,EAAE,WAAW,GAAG,EAAE,WAAW,cAAc,EAAE,KAAK,EAAE,OAAO,WAAW,EAAG;IACxF;;;KAGC,GACD,MAAM,kBAAkB,IAAA,8MAAa,EAAC,QAChC,KAAK,GAAG,CAAC,yMAA0B,IACnC,IAAA,yMAA0B,EAAC;IACjC;;;KAGC,GACD,MAAM,QAAQ;QACV,MAAM;QACN,OAAO,cAAc,CAAC,EAAE;IAC5B;IACA;;KAEC,GACD,MAAM,gBAAgB,IAAA,oNAAoB,EAC1C,8DAA8D;IAC9D,8DAA8D;IAC9D,SAAS,MAAM,MAAM,KAAK,eAAe,MAAM,GACzC,QACA,IAAA,gNAAa,EAAC,iBAAiB;IACrC,MAAM,oBAAoB,IAAA,sLAAW,EAAC,eAAe,gBAAgB;QACjE,MAAM,MAAM,OAAO,CAAC,mBACd,kBACA,cAAc,gBAAgB;IACxC;IACA,OAAO;QACH,oBAAoB;QACpB,MAAM,CAAC;YACH,MAAM,KAAK,GAAG,kBAAkB;YAChC,MAAM,IAAI,GAAG,KAAK;YAClB,OAAO;QACX;IACJ;AACJ","ignoreList":[0]}}, - {"offset": {"line": 7399, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/animation/keyframes/get-final.mjs"],"sourcesContent":["const isNotNull = (value) => value !== null;\nfunction getFinalKeyframe(keyframes, { repeat, repeatType = \"loop\" }, finalKeyframe, speed = 1) {\n const resolvedKeyframes = keyframes.filter(isNotNull);\n const useFirstKeyframe = speed < 0 || (repeat && repeatType !== \"loop\" && repeat % 2 === 1);\n const index = useFirstKeyframe ? 0 : resolvedKeyframes.length - 1;\n return !index || finalKeyframe === undefined\n ? resolvedKeyframes[index]\n : finalKeyframe;\n}\n\nexport { getFinalKeyframe };\n"],"names":[],"mappings":";;;;AAAA,MAAM,YAAY,CAAC,QAAU,UAAU;AACvC,SAAS,iBAAiB,SAAS,EAAE,EAAE,MAAM,EAAE,aAAa,MAAM,EAAE,EAAE,aAAa,EAAE,QAAQ,CAAC;IAC1F,MAAM,oBAAoB,UAAU,MAAM,CAAC;IAC3C,MAAM,mBAAmB,QAAQ,KAAM,UAAU,eAAe,UAAU,SAAS,MAAM;IACzF,MAAM,QAAQ,mBAAmB,IAAI,kBAAkB,MAAM,GAAG;IAChE,OAAO,CAAC,SAAS,kBAAkB,YAC7B,iBAAiB,CAAC,MAAM,GACxB;AACV","ignoreList":[0]}}, - {"offset": {"line": 7415, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.mjs"],"sourcesContent":["import { inertia } from '../generators/inertia.mjs';\nimport { keyframes } from '../generators/keyframes.mjs';\nimport { spring } from '../generators/spring/index.mjs';\n\nconst transitionTypeMap = {\n decay: inertia,\n inertia,\n tween: keyframes,\n keyframes: keyframes,\n spring,\n};\nfunction replaceTransitionType(transition) {\n if (typeof transition.type === \"string\") {\n transition.type = transitionTypeMap[transition.type];\n }\n}\n\nexport { replaceTransitionType };\n"],"names":[],"mappings":";;;;AAAA;AACA;AACA;;;;AAEA,MAAM,oBAAoB;IACtB,OAAO,gMAAO;IACd,SAAA,gMAAO;IACP,OAAO,oMAAS;IAChB,WAAW,oMAAS;IACpB,QAAA,uMAAM;AACV;AACA,SAAS,sBAAsB,UAAU;IACrC,IAAI,OAAO,WAAW,IAAI,KAAK,UAAU;QACrC,WAAW,IAAI,GAAG,iBAAiB,CAAC,WAAW,IAAI,CAAC;IACxD;AACJ","ignoreList":[0]}}, - {"offset": {"line": 7442, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/animation/utils/WithPromise.mjs"],"sourcesContent":["class WithPromise {\n constructor() {\n this.updateFinished();\n }\n get finished() {\n return this._finished;\n }\n updateFinished() {\n this._finished = new Promise((resolve) => {\n this.resolve = resolve;\n });\n }\n notifyFinished() {\n this.resolve();\n }\n /**\n * Allows the animation to be awaited.\n *\n * @deprecated Use `finished` instead.\n */\n then(onResolve, onReject) {\n return this.finished.then(onResolve, onReject);\n }\n}\n\nexport { WithPromise };\n"],"names":[],"mappings":";;;;AAAA,MAAM;IACF,aAAc;QACV,IAAI,CAAC,cAAc;IACvB;IACA,IAAI,WAAW;QACX,OAAO,IAAI,CAAC,SAAS;IACzB;IACA,iBAAiB;QACb,IAAI,CAAC,SAAS,GAAG,IAAI,QAAQ,CAAC;YAC1B,IAAI,CAAC,OAAO,GAAG;QACnB;IACJ;IACA,iBAAiB;QACb,IAAI,CAAC,OAAO;IAChB;IACA;;;;KAIC,GACD,KAAK,SAAS,EAAE,QAAQ,EAAE;QACtB,OAAO,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,WAAW;IACzC;AACJ","ignoreList":[0]}}, - {"offset": {"line": 7474, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/animation/JSAnimation.mjs"],"sourcesContent":["import { invariant, pipe, clamp, millisecondsToSeconds, secondsToMilliseconds } from 'motion-utils';\nimport { time } from '../frameloop/sync-time.mjs';\nimport { activeAnimations } from '../stats/animation-count.mjs';\nimport { mix } from '../utils/mix/index.mjs';\nimport { frameloopDriver } from './drivers/frame.mjs';\nimport { inertia } from './generators/inertia.mjs';\nimport { keyframes } from './generators/keyframes.mjs';\nimport { calcGeneratorDuration } from './generators/utils/calc-duration.mjs';\nimport { getFinalKeyframe } from './keyframes/get-final.mjs';\nimport { replaceTransitionType } from './utils/replace-transition-type.mjs';\nimport { WithPromise } from './utils/WithPromise.mjs';\n\nconst percentToProgress = (percent) => percent / 100;\nclass JSAnimation extends WithPromise {\n constructor(options) {\n super();\n this.state = \"idle\";\n this.startTime = null;\n this.isStopped = false;\n /**\n * The current time of the animation.\n */\n this.currentTime = 0;\n /**\n * The time at which the animation was paused.\n */\n this.holdTime = null;\n /**\n * Playback speed as a factor. 0 would be stopped, -1 reverse and 2 double speed.\n */\n this.playbackSpeed = 1;\n /**\n * This method is bound to the instance to fix a pattern where\n * animation.stop is returned as a reference from a useEffect.\n */\n this.stop = () => {\n const { motionValue } = this.options;\n if (motionValue && motionValue.updatedAt !== time.now()) {\n this.tick(time.now());\n }\n this.isStopped = true;\n if (this.state === \"idle\")\n return;\n this.teardown();\n this.options.onStop?.();\n };\n activeAnimations.mainThread++;\n this.options = options;\n this.initAnimation();\n this.play();\n if (options.autoplay === false)\n this.pause();\n }\n initAnimation() {\n const { options } = this;\n replaceTransitionType(options);\n const { type = keyframes, repeat = 0, repeatDelay = 0, repeatType, velocity = 0, } = options;\n let { keyframes: keyframes$1 } = options;\n const generatorFactory = type || keyframes;\n if (process.env.NODE_ENV !== \"production\" &&\n generatorFactory !== keyframes) {\n invariant(keyframes$1.length <= 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${keyframes$1}`, \"spring-two-frames\");\n }\n if (generatorFactory !== keyframes &&\n typeof keyframes$1[0] !== \"number\") {\n this.mixKeyframes = pipe(percentToProgress, mix(keyframes$1[0], keyframes$1[1]));\n keyframes$1 = [0, 100];\n }\n const generator = generatorFactory({ ...options, keyframes: keyframes$1 });\n /**\n * If we have a mirror repeat type we need to create a second generator that outputs the\n * mirrored (not reversed) animation and later ping pong between the two generators.\n */\n if (repeatType === \"mirror\") {\n this.mirroredGenerator = generatorFactory({\n ...options,\n keyframes: [...keyframes$1].reverse(),\n velocity: -velocity,\n });\n }\n /**\n * If duration is undefined and we have repeat options,\n * we need to calculate a duration from the generator.\n *\n * We set it to the generator itself to cache the duration.\n * Any timeline resolver will need to have already precalculated\n * the duration by this step.\n */\n if (generator.calculatedDuration === null) {\n generator.calculatedDuration = calcGeneratorDuration(generator);\n }\n const { calculatedDuration } = generator;\n this.calculatedDuration = calculatedDuration;\n this.resolvedDuration = calculatedDuration + repeatDelay;\n this.totalDuration = this.resolvedDuration * (repeat + 1) - repeatDelay;\n this.generator = generator;\n }\n updateTime(timestamp) {\n const animationTime = Math.round(timestamp - this.startTime) * this.playbackSpeed;\n // Update currentTime\n if (this.holdTime !== null) {\n this.currentTime = this.holdTime;\n }\n else {\n // Rounding the time because floating point arithmetic is not always accurate, e.g. 3000.367 - 1000.367 =\n // 2000.0000000000002. This is a problem when we are comparing the currentTime with the duration, for\n // example.\n this.currentTime = animationTime;\n }\n }\n tick(timestamp, sample = false) {\n const { generator, totalDuration, mixKeyframes, mirroredGenerator, resolvedDuration, calculatedDuration, } = this;\n if (this.startTime === null)\n return generator.next(0);\n const { delay = 0, keyframes, repeat, repeatType, repeatDelay, type, onUpdate, finalKeyframe, } = this.options;\n /**\n * requestAnimationFrame timestamps can come through as lower than\n * the startTime as set by performance.now(). Here we prevent this,\n * though in the future it could be possible to make setting startTime\n * a pending operation that gets resolved here.\n */\n if (this.speed > 0) {\n this.startTime = Math.min(this.startTime, timestamp);\n }\n else if (this.speed < 0) {\n this.startTime = Math.min(timestamp - totalDuration / this.speed, this.startTime);\n }\n if (sample) {\n this.currentTime = timestamp;\n }\n else {\n this.updateTime(timestamp);\n }\n // Rebase on delay\n const timeWithoutDelay = this.currentTime - delay * (this.playbackSpeed >= 0 ? 1 : -1);\n const isInDelayPhase = this.playbackSpeed >= 0\n ? timeWithoutDelay < 0\n : timeWithoutDelay > totalDuration;\n this.currentTime = Math.max(timeWithoutDelay, 0);\n // If this animation has finished, set the current time to the total duration.\n if (this.state === \"finished\" && this.holdTime === null) {\n this.currentTime = totalDuration;\n }\n let elapsed = this.currentTime;\n let frameGenerator = generator;\n if (repeat) {\n /**\n * Get the current progress (0-1) of the animation. If t is >\n * than duration we'll get values like 2.5 (midway through the\n * third iteration)\n */\n const progress = Math.min(this.currentTime, totalDuration) / resolvedDuration;\n /**\n * Get the current iteration (0 indexed). For instance the floor of\n * 2.5 is 2.\n */\n let currentIteration = Math.floor(progress);\n /**\n * Get the current progress of the iteration by taking the remainder\n * so 2.5 is 0.5 through iteration 2\n */\n let iterationProgress = progress % 1.0;\n /**\n * If iteration progress is 1 we count that as the end\n * of the previous iteration.\n */\n if (!iterationProgress && progress >= 1) {\n iterationProgress = 1;\n }\n iterationProgress === 1 && currentIteration--;\n currentIteration = Math.min(currentIteration, repeat + 1);\n /**\n * Reverse progress if we're not running in \"normal\" direction\n */\n const isOddIteration = Boolean(currentIteration % 2);\n if (isOddIteration) {\n if (repeatType === \"reverse\") {\n iterationProgress = 1 - iterationProgress;\n if (repeatDelay) {\n iterationProgress -= repeatDelay / resolvedDuration;\n }\n }\n else if (repeatType === \"mirror\") {\n frameGenerator = mirroredGenerator;\n }\n }\n elapsed = clamp(0, 1, iterationProgress) * resolvedDuration;\n }\n /**\n * If we're in negative time, set state as the initial keyframe.\n * This prevents delay: x, duration: 0 animations from finishing\n * instantly.\n */\n const state = isInDelayPhase\n ? { done: false, value: keyframes[0] }\n : frameGenerator.next(elapsed);\n if (mixKeyframes) {\n state.value = mixKeyframes(state.value);\n }\n let { done } = state;\n if (!isInDelayPhase && calculatedDuration !== null) {\n done =\n this.playbackSpeed >= 0\n ? this.currentTime >= totalDuration\n : this.currentTime <= 0;\n }\n const isAnimationFinished = this.holdTime === null &&\n (this.state === \"finished\" || (this.state === \"running\" && done));\n // TODO: The exception for inertia could be cleaner here\n if (isAnimationFinished && type !== inertia) {\n state.value = getFinalKeyframe(keyframes, this.options, finalKeyframe, this.speed);\n }\n if (onUpdate) {\n onUpdate(state.value);\n }\n if (isAnimationFinished) {\n this.finish();\n }\n return state;\n }\n /**\n * Allows the returned animation to be awaited or promise-chained. Currently\n * resolves when the animation finishes at all but in a future update could/should\n * reject if its cancels.\n */\n then(resolve, reject) {\n return this.finished.then(resolve, reject);\n }\n get duration() {\n return millisecondsToSeconds(this.calculatedDuration);\n }\n get iterationDuration() {\n const { delay = 0 } = this.options || {};\n return this.duration + millisecondsToSeconds(delay);\n }\n get time() {\n return millisecondsToSeconds(this.currentTime);\n }\n set time(newTime) {\n newTime = secondsToMilliseconds(newTime);\n this.currentTime = newTime;\n if (this.startTime === null ||\n this.holdTime !== null ||\n this.playbackSpeed === 0) {\n this.holdTime = newTime;\n }\n else if (this.driver) {\n this.startTime = this.driver.now() - newTime / this.playbackSpeed;\n }\n this.driver?.start(false);\n }\n get speed() {\n return this.playbackSpeed;\n }\n set speed(newSpeed) {\n this.updateTime(time.now());\n const hasChanged = this.playbackSpeed !== newSpeed;\n this.playbackSpeed = newSpeed;\n if (hasChanged) {\n this.time = millisecondsToSeconds(this.currentTime);\n }\n }\n play() {\n if (this.isStopped)\n return;\n const { driver = frameloopDriver, startTime } = this.options;\n if (!this.driver) {\n this.driver = driver((timestamp) => this.tick(timestamp));\n }\n this.options.onPlay?.();\n const now = this.driver.now();\n if (this.state === \"finished\") {\n this.updateFinished();\n this.startTime = now;\n }\n else if (this.holdTime !== null) {\n this.startTime = now - this.holdTime;\n }\n else if (!this.startTime) {\n this.startTime = startTime ?? now;\n }\n if (this.state === \"finished\" && this.speed < 0) {\n this.startTime += this.calculatedDuration;\n }\n this.holdTime = null;\n /**\n * Set playState to running only after we've used it in\n * the previous logic.\n */\n this.state = \"running\";\n this.driver.start();\n }\n pause() {\n this.state = \"paused\";\n this.updateTime(time.now());\n this.holdTime = this.currentTime;\n }\n complete() {\n if (this.state !== \"running\") {\n this.play();\n }\n this.state = \"finished\";\n this.holdTime = null;\n }\n finish() {\n this.notifyFinished();\n this.teardown();\n this.state = \"finished\";\n this.options.onComplete?.();\n }\n cancel() {\n this.holdTime = null;\n this.startTime = 0;\n this.tick(0);\n this.teardown();\n this.options.onCancel?.();\n }\n teardown() {\n this.state = \"idle\";\n this.stopDriver();\n this.startTime = this.holdTime = null;\n activeAnimations.mainThread--;\n }\n stopDriver() {\n if (!this.driver)\n return;\n this.driver.stop();\n this.driver = undefined;\n }\n sample(sampleTime) {\n this.startTime = 0;\n return this.tick(sampleTime, true);\n }\n attachTimeline(timeline) {\n if (this.options.allowFlatten) {\n this.options.type = \"keyframes\";\n this.options.ease = \"linear\";\n this.initAnimation();\n }\n this.driver?.stop();\n return timeline.observe(this);\n }\n}\n// Legacy function support\nfunction animateValue(options) {\n return new JSAnimation(options);\n}\n\nexport { JSAnimation, animateValue };\n"],"names":[],"mappings":";;;;;;AA2DY;AA3DZ;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;AAEA,MAAM,oBAAoB,CAAC,UAAY,UAAU;AACjD,MAAM,oBAAoB,mMAAW;IACjC,YAAY,OAAO,CAAE;QACjB,KAAK;QACL,IAAI,CAAC,KAAK,GAAG;QACb,IAAI,CAAC,SAAS,GAAG;QACjB,IAAI,CAAC,SAAS,GAAG;QACjB;;SAEC,GACD,IAAI,CAAC,WAAW,GAAG;QACnB;;SAEC,GACD,IAAI,CAAC,QAAQ,GAAG;QAChB;;SAEC,GACD,IAAI,CAAC,aAAa,GAAG;QACrB;;;SAGC,GACD,I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AClB;IACA,OAAO,UAAU,EAAE;QACf,IAAI,CAAC,SAAS,GAAG;QACjB,OAAO,IAAI,CAAC,IAAI,CAAC,YAAY;IACjC;IACA,eAAe,QAAQ,EAAE;QACrB,IAAI,IAAI,CAAC,OAAO,CAAC,YAAY,EAAE;YAC3B,IAAI,CAAC,OAAO,CAAC,IAAI,GAAG;YACpB,IAAI,CAAC,OAAO,CAAC,IAAI,GAAG;YACpB,IAAI,CAAC,aAAa;QACtB;QACA,IAAI,CAAC,MAAM,EAAE;QACb,OAAO,SAAS,OAAO,CAAC,IAAI;IAChC;AACJ;AACA,0BAA0B;AAC1B,SAAS,aAAa,OAAO;IACzB,OAAO,IAAI,YAAY;AAC3B","ignoreList":[0]}}, - {"offset": {"line": 7818, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/render/dom/is-css-var.mjs"],"sourcesContent":["const isCSSVar = (name) => name.startsWith(\"--\");\n\nexport { isCSSVar };\n"],"names":[],"mappings":";;;;AAAA,MAAM,WAAW,CAAC,OAAS,KAAK,UAAU,CAAC","ignoreList":[0]}}, - {"offset": {"line": 7828, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/render/dom/style-set.mjs"],"sourcesContent":["import { isCSSVar } from './is-css-var.mjs';\n\nfunction setStyle(element, name, value) {\n isCSSVar(name)\n ? element.style.setProperty(name, value)\n : (element.style[name] = value);\n}\n\nexport { setStyle };\n"],"names":[],"mappings":";;;;AAAA;;AAEA,SAAS,SAAS,OAAO,EAAE,IAAI,EAAE,KAAK;IAClC,IAAA,gMAAQ,EAAC,QACH,QAAQ,KAAK,CAAC,WAAW,CAAC,MAAM,SAC/B,QAAQ,KAAK,CAAC,KAAK,GAAG;AACjC","ignoreList":[0]}}, - {"offset": {"line": 7842, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-utils/dist/es/memo.mjs"],"sourcesContent":["/*#__NO_SIDE_EFFECTS__*/\nfunction memo(callback) {\n let result;\n return () => {\n if (result === undefined)\n result = callback();\n return result;\n };\n}\n\nexport { memo };\n"],"names":[],"mappings":";;;;AAAA,sBAAsB,GACtB,SAAS,KAAK,QAAQ;IAClB,IAAI;IACJ,OAAO;QACH,IAAI,WAAW,WACX,SAAS;QACb,OAAO;IACX;AACJ","ignoreList":[0]}}, - {"offset": {"line": 7858, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.mjs"],"sourcesContent":["import { memo } from 'motion-utils';\n\nconst supportsScrollTimeline = /* @__PURE__ */ memo(() => window.ScrollTimeline !== undefined);\n\nexport { supportsScrollTimeline };\n"],"names":[],"mappings":";;;;AAAA;;AAEA,MAAM,yBAAyB,aAAa,GAAG,IAAA,iKAAI,EAAC,IAAM,OAAO,cAAc,KAAK","ignoreList":[0]}}, - {"offset": {"line": 7870, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/utils/supports/flags.mjs"],"sourcesContent":["/**\n * Add the ability for test suites to manually set support flags\n * to better test more environments.\n */\nconst supportsFlags = {};\n\nexport { supportsFlags };\n"],"names":[],"mappings":";;;;AAAA;;;CAGC,GACD,MAAM,gBAAgB,CAAC","ignoreList":[0]}}, - {"offset": {"line": 7883, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/utils/supports/memo.mjs"],"sourcesContent":["import { memo } from 'motion-utils';\nimport { supportsFlags } from './flags.mjs';\n\nfunction memoSupports(callback, supportsFlag) {\n const memoized = memo(callback);\n return () => supportsFlags[supportsFlag] ?? memoized();\n}\n\nexport { memoSupports };\n"],"names":[],"mappings":";;;;AAAA;AACA;;;AAEA,SAAS,aAAa,QAAQ,EAAE,YAAY;IACxC,MAAM,WAAW,IAAA,iKAAI,EAAC;IACtB,OAAO,IAAM,8LAAa,CAAC,aAAa,IAAI;AAChD","ignoreList":[0]}}, - {"offset": {"line": 7900, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/utils/supports/linear-easing.mjs"],"sourcesContent":["import { memoSupports } from './memo.mjs';\n\nconst supportsLinearEasing = /*@__PURE__*/ memoSupports(() => {\n try {\n document\n .createElement(\"div\")\n .animate({ opacity: 0 }, { easing: \"linear(0, 1)\" });\n }\n catch (e) {\n return false;\n }\n return true;\n}, \"linearEasing\");\n\nexport { supportsLinearEasing };\n"],"names":[],"mappings":";;;;AAAA;;AAEA,MAAM,uBAAuB,WAAW,GAAG,IAAA,4LAAY,EAAC;IACpD,IAAI;QACA,SACK,aAAa,CAAC,OACd,OAAO,CAAC;YAAE,SAAS;QAAE,GAAG;YAAE,QAAQ;QAAe;IAC1D,EACA,OAAO,GAAG;QACN,OAAO;IACX;IACA,OAAO;AACX,GAAG","ignoreList":[0]}}, - {"offset": {"line": 7923, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.mjs"],"sourcesContent":["const cubicBezierAsString = ([a, b, c, d]) => `cubic-bezier(${a}, ${b}, ${c}, ${d})`;\n\nexport { cubicBezierAsString };\n"],"names":[],"mappings":";;;;AAAA,MAAM,sBAAsB,CAAC,CAAC,GAAG,GAAG,GAAG,EAAE,GAAK,CAAC,aAAa,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC","ignoreList":[0]}}, - {"offset": {"line": 7933, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.mjs"],"sourcesContent":["import { cubicBezierAsString } from './cubic-bezier.mjs';\n\nconst supportedWaapiEasing = {\n linear: \"linear\",\n ease: \"ease\",\n easeIn: \"ease-in\",\n easeOut: \"ease-out\",\n easeInOut: \"ease-in-out\",\n circIn: /*@__PURE__*/ cubicBezierAsString([0, 0.65, 0.55, 1]),\n circOut: /*@__PURE__*/ cubicBezierAsString([0.55, 0, 1, 0.45]),\n backIn: /*@__PURE__*/ cubicBezierAsString([0.31, 0.01, 0.66, -0.59]),\n backOut: /*@__PURE__*/ cubicBezierAsString([0.33, 1.53, 0.69, 0.99]),\n};\n\nexport { supportedWaapiEasing };\n"],"names":[],"mappings":";;;;AAAA;;AAEA,MAAM,uBAAuB;IACzB,QAAQ;IACR,MAAM;IACN,QAAQ;IACR,SAAS;IACT,WAAW;IACX,QAAQ,WAAW,GAAG,IAAA,yNAAmB,EAAC;QAAC;QAAG;QAAM;QAAM;KAAE;IAC5D,SAAS,WAAW,GAAG,IAAA,yNAAmB,EAAC;QAAC;QAAM;QAAG;QAAG;KAAK;IAC7D,QAAQ,WAAW,GAAG,IAAA,yNAAmB,EAAC;QAAC;QAAM;QAAM;QAAM,CAAC;KAAK;IACnE,SAAS,WAAW,GAAG,IAAA,yNAAmB,EAAC;QAAC;QAAM;QAAM;QAAM;KAAK;AACvE","ignoreList":[0]}}, - {"offset": {"line": 7975, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.mjs"],"sourcesContent":["import { isBezierDefinition } from 'motion-utils';\nimport { supportsLinearEasing } from '../../../utils/supports/linear-easing.mjs';\nimport { generateLinearEasing } from '../utils/linear.mjs';\nimport { cubicBezierAsString } from './cubic-bezier.mjs';\nimport { supportedWaapiEasing } from './supported.mjs';\n\nfunction mapEasingToNativeEasing(easing, duration) {\n if (!easing) {\n return undefined;\n }\n else if (typeof easing === \"function\") {\n return supportsLinearEasing()\n ? generateLinearEasing(easing, duration)\n : \"ease-out\";\n }\n else if (isBezierDefinition(easing)) {\n return cubicBezierAsString(easing);\n }\n else if (Array.isArray(easing)) {\n return easing.map((segmentEasing) => mapEasingToNativeEasing(segmentEasing, duration) ||\n supportedWaapiEasing.easeOut);\n }\n else {\n return supportedWaapiEasing[easing];\n }\n}\n\nexport { mapEasingToNativeEasing };\n"],"names":[],"mappings":";;;;AAAA;AACA;AACA;AACA;AACA;;;;;;AAEA,SAAS,wBAAwB,MAAM,EAAE,QAAQ;IAC7C,IAAI,CAAC,QAAQ;QACT,OAAO;IACX,OACK,IAAI,OAAO,WAAW,YAAY;QACnC,OAAO,IAAA,gNAAoB,MACrB,IAAA,gNAAoB,EAAC,QAAQ,YAC7B;IACV,OACK,IAAI,IAAA,wNAAkB,EAAC,SAAS;QACjC,OAAO,IAAA,yNAAmB,EAAC;IAC/B,OACK,IAAI,MAAM,OAAO,CAAC,SAAS;QAC5B,OAAO,OAAO,GAAG,CAAC,CAAC,gBAAkB,wBAAwB,eAAe,aACxE,oNAAoB,CAAC,OAAO;IACpC,OACK;QACD,OAAO,oNAAoB,CAAC,OAAO;IACvC;AACJ","ignoreList":[0]}}, - {"offset": {"line": 8007, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.mjs"],"sourcesContent":["import { activeAnimations } from '../../stats/animation-count.mjs';\nimport { statsBuffer } from '../../stats/buffer.mjs';\nimport { mapEasingToNativeEasing } from './easing/map-easing.mjs';\n\nfunction startWaapiAnimation(element, valueName, keyframes, { delay = 0, duration = 300, repeat = 0, repeatType = \"loop\", ease = \"easeOut\", times, } = {}, pseudoElement = undefined) {\n const keyframeOptions = {\n [valueName]: keyframes,\n };\n if (times)\n keyframeOptions.offset = times;\n const easing = mapEasingToNativeEasing(ease, duration);\n /**\n * If this is an easing array, apply to keyframes, not animation as a whole\n */\n if (Array.isArray(easing))\n keyframeOptions.easing = easing;\n if (statsBuffer.value) {\n activeAnimations.waapi++;\n }\n const options = {\n delay,\n duration,\n easing: !Array.isArray(easing) ? easing : \"linear\",\n fill: \"both\",\n iterations: repeat + 1,\n direction: repeatType === \"reverse\" ? \"alternate\" : \"normal\",\n };\n if (pseudoElement)\n options.pseudoElement = pseudoElement;\n const animation = element.animate(keyframeOptions, options);\n if (statsBuffer.value) {\n animation.finished.finally(() => {\n activeAnimations.waapi--;\n });\n }\n return animation;\n}\n\nexport { startWaapiAnimation };\n"],"names":[],"mappings":";;;;AAAA;AACA;AACA;;;;AAEA,SAAS,oBAAoB,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,EAAE,QAAQ,CAAC,EAAE,WAAW,GAAG,EAAE,SAAS,CAAC,EAAE,aAAa,MAAM,EAAE,OAAO,SAAS,EAAE,KAAK,EAAG,GAAG,CAAC,CAAC,EAAE,gBAAgB,SAAS;IAChL,MAAM,kBAAkB;QACpB,CAAC,UAAU,EAAE;IACjB;IACA,IAAI,OACA,gBAAgB,MAAM,GAAG;IAC7B,MAAM,SAAS,IAAA,2NAAuB,EAAC,MAAM;IAC7C;;KAEC,GACD,IAAI,MAAM,OAAO,CAAC,SACd,gBAAgB,MAAM,GAAG;IAC7B,IAAI,iLAAW,CAAC,KAAK,EAAE;QACnB,kMAAgB,CAAC,KAAK;IAC1B;IACA,MAAM,UAAU;QACZ;QACA;QACA,QAAQ,CAAC,MAAM,OAAO,CAAC,UAAU,SAAS;QAC1C,MAAM;QACN,YAAY,SAAS;QACrB,WAAW,eAAe,YAAY,cAAc;IACxD;IACA,IAAI,eACA,QAAQ,aAAa,GAAG;IAC5B,MAAM,YAAY,QAAQ,OAAO,CAAC,iBAAiB;IACnD,IAAI,iLAAW,CAAC,KAAK,EAAE;QACnB,UAAU,QAAQ,CAAC,OAAO,CAAC;YACvB,kMAAgB,CAAC,KAAK;QAC1B;IACJ;IACA,OAAO;AACX","ignoreList":[0]}}, - {"offset": {"line": 8051, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.mjs"],"sourcesContent":["function isGenerator(type) {\n return typeof type === \"function\" && \"applyToOptions\" in type;\n}\n\nexport { isGenerator };\n"],"names":[],"mappings":";;;;AAAA,SAAS,YAAY,IAAI;IACrB,OAAO,OAAO,SAAS,cAAc,oBAAoB;AAC7D","ignoreList":[0]}}, - {"offset": {"line": 8063, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.mjs"],"sourcesContent":["import { supportsLinearEasing } from '../../../utils/supports/linear-easing.mjs';\nimport { isGenerator } from '../../generators/utils/is-generator.mjs';\n\nfunction applyGeneratorOptions({ type, ...options }) {\n if (isGenerator(type) && supportsLinearEasing()) {\n return type.applyToOptions(options);\n }\n else {\n options.duration ?? (options.duration = 300);\n options.ease ?? (options.ease = \"easeOut\");\n }\n return options;\n}\n\nexport { applyGeneratorOptions };\n"],"names":[],"mappings":";;;;AAAA;AACA;;;AAEA,SAAS,sBAAsB,EAAE,IAAI,EAAE,GAAG,SAAS;IAC/C,IAAI,IAAA,qNAAW,EAAC,SAAS,IAAA,gNAAoB,KAAI;QAC7C,OAAO,KAAK,cAAc,CAAC;IAC/B,OACK;QACD,QAAQ,QAAQ,IAAI,CAAC,QAAQ,QAAQ,GAAG,GAAG;QAC3C,QAAQ,IAAI,IAAI,CAAC,QAAQ,IAAI,GAAG,SAAS;IAC7C;IACA,OAAO;AACX","ignoreList":[0]}}, - {"offset": {"line": 8085, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/animation/NativeAnimation.mjs"],"sourcesContent":["import { invariant, millisecondsToSeconds, secondsToMilliseconds, noop } from 'motion-utils';\nimport { setStyle } from '../render/dom/style-set.mjs';\nimport { supportsScrollTimeline } from '../utils/supports/scroll-timeline.mjs';\nimport { getFinalKeyframe } from './keyframes/get-final.mjs';\nimport { WithPromise } from './utils/WithPromise.mjs';\nimport { startWaapiAnimation } from './waapi/start-waapi-animation.mjs';\nimport { applyGeneratorOptions } from './waapi/utils/apply-generator.mjs';\n\n/**\n * NativeAnimation implements AnimationPlaybackControls for the browser's Web Animations API.\n */\nclass NativeAnimation extends WithPromise {\n constructor(options) {\n super();\n this.finishedTime = null;\n this.isStopped = false;\n if (!options)\n return;\n const { element, name, keyframes, pseudoElement, allowFlatten = false, finalKeyframe, onComplete, } = options;\n this.isPseudoElement = Boolean(pseudoElement);\n this.allowFlatten = allowFlatten;\n this.options = options;\n invariant(typeof options.type !== \"string\", `Mini animate() doesn't support \"type\" as a string.`, \"mini-spring\");\n const transition = applyGeneratorOptions(options);\n this.animation = startWaapiAnimation(element, name, keyframes, transition, pseudoElement);\n if (transition.autoplay === false) {\n this.animation.pause();\n }\n this.animation.onfinish = () => {\n this.finishedTime = this.time;\n if (!pseudoElement) {\n const keyframe = getFinalKeyframe(keyframes, this.options, finalKeyframe, this.speed);\n if (this.updateMotionValue) {\n this.updateMotionValue(keyframe);\n }\n else {\n /**\n * If we can, we want to commit the final style as set by the user,\n * rather than the computed keyframe value supplied by the animation.\n */\n setStyle(element, name, keyframe);\n }\n this.animation.cancel();\n }\n onComplete?.();\n this.notifyFinished();\n };\n }\n play() {\n if (this.isStopped)\n return;\n this.animation.play();\n if (this.state === \"finished\") {\n this.updateFinished();\n }\n }\n pause() {\n this.animation.pause();\n }\n complete() {\n this.animation.finish?.();\n }\n cancel() {\n try {\n this.animation.cancel();\n }\n catch (e) { }\n }\n stop() {\n if (this.isStopped)\n return;\n this.isStopped = true;\n const { state } = this;\n if (state === \"idle\" || state === \"finished\") {\n return;\n }\n if (this.updateMotionValue) {\n this.updateMotionValue();\n }\n else {\n this.commitStyles();\n }\n if (!this.isPseudoElement)\n this.cancel();\n }\n /**\n * WAAPI doesn't natively have any interruption capabilities.\n *\n * In this method, we commit styles back to the DOM before cancelling\n * the animation.\n *\n * This is designed to be overridden by NativeAnimationExtended, which\n * will create a renderless JS animation and sample it twice to calculate\n * its current value, \"previous\" value, and therefore allow\n * Motion to also correctly calculate velocity for any subsequent animation\n * while deferring the commit until the next animation frame.\n */\n commitStyles() {\n if (!this.isPseudoElement) {\n this.animation.commitStyles?.();\n }\n }\n get duration() {\n const duration = this.animation.effect?.getComputedTiming?.().duration || 0;\n return millisecondsToSeconds(Number(duration));\n }\n get iterationDuration() {\n const { delay = 0 } = this.options || {};\n return this.duration + millisecondsToSeconds(delay);\n }\n get time() {\n return millisecondsToSeconds(Number(this.animation.currentTime) || 0);\n }\n set time(newTime) {\n this.finishedTime = null;\n this.animation.currentTime = secondsToMilliseconds(newTime);\n }\n /**\n * The playback speed of the animation.\n * 1 = normal speed, 2 = double speed, 0.5 = half speed.\n */\n get speed() {\n return this.animation.playbackRate;\n }\n set speed(newSpeed) {\n // Allow backwards playback after finishing\n if (newSpeed < 0)\n this.finishedTime = null;\n this.animation.playbackRate = newSpeed;\n }\n get state() {\n return this.finishedTime !== null\n ? \"finished\"\n : this.animation.playState;\n }\n get startTime() {\n return Number(this.animation.startTime);\n }\n set startTime(newStartTime) {\n this.animation.startTime = newStartTime;\n }\n /**\n * Attaches a timeline to the animation, for instance the `ScrollTimeline`.\n */\n attachTimeline({ timeline, observe }) {\n if (this.allowFlatten) {\n this.animation.effect?.updateTiming({ easing: \"linear\" });\n }\n this.animation.onfinish = null;\n if (timeline && supportsScrollTimeline()) {\n this.animation.timeline = timeline;\n return noop;\n }\n else {\n return observe(this);\n }\n }\n}\n\nexport { NativeAnimation };\n"],"names":[],"mappings":";;;;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AAEA;;CAEC,GACD,MAAM,wBAAwB,mMAAW;IACrC,YAAY,OAAO,CAAE;QACjB,KAAK;QACL,IAAI,CAAC,YAAY,GAAG;QACpB,IAAI,CAAC,SAAS,GAAG;QACjB,IAAI,CAAC,SACD;QACJ,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,aAAa,EAAE,eAAe,KAAK,EAAE,aAAa,EAAE,UAAU,EAAG,GAAG;QACtG,IAAI,CAAC,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OAAO,OAAO,IAAI,CAAC,SAAS,CAAC,SAAS;IAC1C;IACA,IAAI,UAAU,YAAY,EAAE;QACxB,IAAI,CAAC,SAAS,CAAC,SAAS,GAAG;IAC/B;IACA;;KAEC,GACD,eAAe,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE;QAClC,IAAI,IAAI,CAAC,YAAY,EAAE;YACnB,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,aAAa;gBAAE,QAAQ;YAAS;QAC3D;QACA,IAAI,CAAC,SAAS,CAAC,QAAQ,GAAG;QAC1B,IAAI,YAAY,IAAA,oNAAsB,KAAI;YACtC,IAAI,CAAC,SAAS,CAAC,QAAQ,GAAG;YAC1B,OAAO,iKAAI;QACf,OACK;YACD,OAAO,QAAQ,IAAI;QACvB;IACJ;AACJ","ignoreList":[0]}}, - {"offset": {"line": 8246, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.mjs"],"sourcesContent":["import { anticipate, backInOut, circInOut } from 'motion-utils';\n\nconst unsupportedEasingFunctions = {\n anticipate,\n backInOut,\n circInOut,\n};\nfunction isUnsupportedEase(key) {\n return key in unsupportedEasingFunctions;\n}\nfunction replaceStringEasing(transition) {\n if (typeof transition.ease === \"string\" &&\n isUnsupportedEase(transition.ease)) {\n transition.ease = unsupportedEasingFunctions[transition.ease];\n }\n}\n\nexport { replaceStringEasing };\n"],"names":[],"mappings":";;;;AAAA;AAAA;AAAA;;AAEA,MAAM,6BAA6B;IAC/B,YAAA,uLAAU;IACV,WAAA,gLAAS;IACT,WAAA,gLAAS;AACb;AACA,SAAS,kBAAkB,GAAG;IAC1B,OAAO,OAAO;AAClB;AACA,SAAS,oBAAoB,UAAU;IACnC,IAAI,OAAO,WAAW,IAAI,KAAK,YAC3B,kBAAkB,WAAW,IAAI,GAAG;QACpC,WAAW,IAAI,GAAG,0BAA0B,CAAC,WAAW,IAAI,CAAC;IACjE;AACJ","ignoreList":[0]}}, - {"offset": {"line": 8272, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.mjs"],"sourcesContent":["import { secondsToMilliseconds } from 'motion-utils';\nimport { JSAnimation } from './JSAnimation.mjs';\nimport { NativeAnimation } from './NativeAnimation.mjs';\nimport { replaceTransitionType } from './utils/replace-transition-type.mjs';\nimport { replaceStringEasing } from './waapi/utils/unsupported-easing.mjs';\n\n/**\n * 10ms is chosen here as it strikes a balance between smooth\n * results (more than one keyframe per frame at 60fps) and\n * keyframe quantity.\n */\nconst sampleDelta = 10; //ms\nclass NativeAnimationExtended extends NativeAnimation {\n constructor(options) {\n /**\n * The base NativeAnimation function only supports a subset\n * of Motion easings, and WAAPI also only supports some\n * easing functions via string/cubic-bezier definitions.\n *\n * This function replaces those unsupported easing functions\n * with a JS easing function. This will later get compiled\n * to a linear() easing function.\n */\n replaceStringEasing(options);\n /**\n * Ensure we replace the transition type with a generator function\n * before passing to WAAPI.\n *\n * TODO: Does this have a better home? It could be shared with\n * JSAnimation.\n */\n replaceTransitionType(options);\n super(options);\n if (options.startTime) {\n this.startTime = options.startTime;\n }\n this.options = options;\n }\n /**\n * WAAPI doesn't natively have any interruption capabilities.\n *\n * Rather than read commited styles back out of the DOM, we can\n * create a renderless JS animation and sample it twice to calculate\n * its current value, \"previous\" value, and therefore allow\n * Motion to calculate velocity for any subsequent animation.\n */\n updateMotionValue(value) {\n const { motionValue, onUpdate, onComplete, element, ...options } = this.options;\n if (!motionValue)\n return;\n if (value !== undefined) {\n motionValue.set(value);\n return;\n }\n const sampleAnimation = new JSAnimation({\n ...options,\n autoplay: false,\n });\n const sampleTime = secondsToMilliseconds(this.finishedTime ?? this.time);\n motionValue.setWithVelocity(sampleAnimation.sample(sampleTime - sampleDelta).value, sampleAnimation.sample(sampleTime).value, sampleDelta);\n sampleAnimation.stop();\n }\n}\n\nexport { NativeAnimationExtended };\n"],"names":[],"mappings":";;;;AAAA;AACA;AACA;AACA;AACA;;;;;;AAEA;;;;CAIC,GACD,MAAM,cAAc,IAAI,IAAI;AAC5B,MAAM,gCAAgC,kMAAe;IACjD,YAAY,OAAO,CAAE;QACjB;;;;;;;;SAQC,GACD,IAAA,8NAAmB,EAAC;QACpB;;;;;;SAMC,GACD,IAAA,+NAAqB,EAAC;QACtB,KAAK,CAAC;QACN,IAAI,QAAQ,SAAS,EAAE;YACnB,IAAI,CAAC,SAAS,GAAG,QAAQ,SAAS;QACtC;QACA,IAAI,CAAC,OAAO,GAAG;IACnB;IACA;;;;;;;KAOC,GACD,kBAAkB,KAAK,EAAE;QACrB,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,SAAS,GAAG,IAAI,CAAC,OAAO;QAC/E,IAAI,CAAC,aACD;QACJ,IAAI,UAAU,WAAW;YACrB,YAAY,GAAG,CAAC;YAChB;QACJ;QACA,MAAM,kBAAkB,IAAI,0LAAW,CAAC;YACpC,GAAG,OAAO;YACV,UAAU;QACd;QACA,MAAM,aAAa,IAAA,gMAAqB,EAAC,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,IAAI;QACvE,YAAY,eAAe,CAAC,gBAAgB,MAAM,CAAC,aAAa,aAAa,KAAK,EAAE,gBAAgB,MAAM,CAAC,YAAY,KAAK,EAAE;QAC9H,gBAAgB,IAAI;IACxB;AACJ","ignoreList":[0]}}, - {"offset": {"line": 8343, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/animation/utils/is-animatable.mjs"],"sourcesContent":["import { complex } from '../../value/types/complex/index.mjs';\n\n/**\n * Check if a value is animatable. Examples:\n *\n * ✅: 100, \"100px\", \"#fff\"\n * ❌: \"block\", \"url(2.jpg)\"\n * @param value\n *\n * @internal\n */\nconst isAnimatable = (value, name) => {\n // If the list of keys that might be non-animatable grows, replace with Set\n if (name === \"zIndex\")\n return false;\n // If it's a number or a keyframes array, we can animate it. We might at some point\n // need to do a deep isAnimatable check of keyframes, or let Popmotion handle this,\n // but for now lets leave it like this for performance reasons\n if (typeof value === \"number\" || Array.isArray(value))\n return true;\n if (typeof value === \"string\" && // It's animatable if we have a string\n (complex.test(value) || value === \"0\") && // And it contains numbers and/or colors\n !value.startsWith(\"url(\") // Unless it starts with \"url(\"\n ) {\n return true;\n }\n return false;\n};\n\nexport { isAnimatable };\n"],"names":[],"mappings":";;;;AAAA;;AAEA;;;;;;;;CAQC,GACD,MAAM,eAAe,CAAC,OAAO;IACzB,2EAA2E;IAC3E,IAAI,SAAS,UACT,OAAO;IACX,mFAAmF;IACnF,mFAAmF;IACnF,8DAA8D;IAC9D,IAAI,OAAO,UAAU,YAAY,MAAM,OAAO,CAAC,QAC3C,OAAO;IACX,IAAI,OAAO,UAAU,YAAY,sCAAsC;IACnE,CAAC,gMAAO,CAAC,IAAI,CAAC,UAAU,UAAU,GAAG,KAAK,wCAAwC;IAClF,CAAC,MAAM,UAAU,CAAC,QAAQ,+BAA+B;MAC3D;QACE,OAAO;IACX;IACA,OAAO;AACX","ignoreList":[0]}}, - {"offset": {"line": 8377, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/animation/utils/can-animate.mjs"],"sourcesContent":["import { warning } from 'motion-utils';\nimport { isGenerator } from '../generators/utils/is-generator.mjs';\nimport { isAnimatable } from './is-animatable.mjs';\n\nfunction hasKeyframesChanged(keyframes) {\n const current = keyframes[0];\n if (keyframes.length === 1)\n return true;\n for (let i = 0; i < keyframes.length; i++) {\n if (keyframes[i] !== current)\n return true;\n }\n}\nfunction canAnimate(keyframes, name, type, velocity) {\n /**\n * Check if we're able to animate between the start and end keyframes,\n * and throw a warning if we're attempting to animate between one that's\n * animatable and another that isn't.\n */\n const originKeyframe = keyframes[0];\n if (originKeyframe === null)\n return false;\n /**\n * These aren't traditionally animatable but we do support them.\n * In future we could look into making this more generic or replacing\n * this function with mix() === mixImmediate\n */\n if (name === \"display\" || name === \"visibility\")\n return true;\n const targetKeyframe = keyframes[keyframes.length - 1];\n const isOriginAnimatable = isAnimatable(originKeyframe, name);\n const isTargetAnimatable = isAnimatable(targetKeyframe, name);\n warning(isOriginAnimatable === isTargetAnimatable, `You are trying to animate ${name} from \"${originKeyframe}\" to \"${targetKeyframe}\". \"${isOriginAnimatable ? targetKeyframe : originKeyframe}\" is not an animatable value.`, \"value-not-animatable\");\n // Always skip if any of these are true\n if (!isOriginAnimatable || !isTargetAnimatable) {\n return false;\n }\n return (hasKeyframesChanged(keyframes) ||\n ((type === \"spring\" || isGenerator(type)) && velocity));\n}\n\nexport { canAnimate };\n"],"names":[],"mappings":";;;;AAAA;AACA;AACA;;;;AAEA,SAAS,oBAAoB,SAAS;IAClC,MAAM,UAAU,SAAS,CAAC,EAAE;IAC5B,IAAI,UAAU,MAAM,KAAK,GACrB,OAAO;IACX,IAAK,IAAI,IAAI,GAAG,IAAI,UAAU,MAAM,EAAE,IAAK;QACvC,IAAI,SAAS,CAAC,EAAE,KAAK,SACjB,OAAO;IACf;AACJ;AACA,SAAS,WAAW,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ;IAC/C;;;;KAIC,GACD,MAAM,iBAAiB,SAAS,CAAC,EAAE;IACnC,IAAI,mBAAmB,MACnB,OAAO;IACX;;;;KAIC,GACD,IAAI,SAAS,aAAa,SAAS,cAC/B,OAAO;IACX,MAAM,iBAAiB,SAAS,CAAC,UAAU,MAAM,GAAG,EAAE;IACtD,MAAM,qBAAqB,IAAA,yMAAY,EAAC,gBAAgB;IACxD,MAAM,qBAAqB,IAAA,yMAAY,EAAC,gBAAgB;IACxD,IAAA,sKAAO,EAAC,uBAAuB,oBAAoB,CAAC,0BAA0B,EAAE,KAAK,OAAO,EAAE,eAAe,MAAM,EAAE,eAAe,IAAI,EAAE,qBAAqB,iBAAiB,eAAe,6BAA6B,CAAC,EAAE;IAC/N,uCAAuC;IACvC,IAAI,CAAC,sBAAsB,CAAC,oBAAoB;QAC5C,OAAO;IACX;IACA,OAAQ,oBAAoB,cACvB,CAAC,SAAS,YAAY,IAAA,qNAAW,EAAC,KAAK,KAAK;AACrD","ignoreList":[0]}}, - {"offset": {"line": 8421, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.mjs"],"sourcesContent":["import { memo } from 'motion-utils';\n\n/**\n * A list of values that can be hardware-accelerated.\n */\nconst acceleratedValues = new Set([\n \"opacity\",\n \"clipPath\",\n \"filter\",\n \"transform\",\n // TODO: Could be re-enabled now we have support for linear() easing\n // \"background-color\"\n]);\nconst supportsWaapi = /*@__PURE__*/ memo(() => Object.hasOwnProperty.call(Element.prototype, \"animate\"));\nfunction supportsBrowserAnimation(options) {\n const { motionValue, name, repeatDelay, repeatType, damping, type } = options;\n const subject = motionValue?.owner?.current;\n /**\n * We use this check instead of isHTMLElement() because we explicitly\n * **don't** want elements in different timing contexts (i.e. popups)\n * to be accelerated, as it's not possible to sync these animations\n * properly with those driven from the main window frameloop.\n */\n if (!(subject instanceof HTMLElement)) {\n return false;\n }\n const { onUpdate, transformTemplate } = motionValue.owner.getProps();\n return (supportsWaapi() &&\n name &&\n acceleratedValues.has(name) &&\n (name !== \"transform\" || !transformTemplate) &&\n /**\n * If we're outputting values to onUpdate then we can't use WAAPI as there's\n * no way to read the value from WAAPI every frame.\n */\n !onUpdate &&\n !repeatDelay &&\n repeatType !== \"mirror\" &&\n damping !== 0 &&\n type !== \"inertia\");\n}\n\nexport { supportsBrowserAnimation };\n"],"names":[],"mappings":";;;;AAAA;;AAEA;;CAEC,GACD,MAAM,oBAAoB,IAAI,IAAI;IAC9B;IACA;IACA;IACA;CAGH;AACD,MAAM,gBAAgB,WAAW,GAAG,IAAA,iKAAI,EAAC,IAAM,OAAO,cAAc,CAAC,IAAI,CAAC,QAAQ,SAAS,EAAE;AAC7F,SAAS,yBAAyB,OAAO;IACrC,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,WAAW,EAAE,UAAU,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG;IACtE,MAAM,UAAU,aAAa,OAAO;IACpC;;;;;KAKC,GACD,IAAI,CAAC,CAAC,mBAAmB,WAAW,GAAG;QACnC,OAAO;IACX;IACA,MAAM,EAAE,QAAQ,EAAE,iBAAiB,EAAE,GAAG,YAAY,KAAK,CAAC,QAAQ;IAClE,OAAQ,mBACJ,QACA,kBAAkB,GAAG,CAAC,SACtB,CAAC,SAAS,eAAe,CAAC,iBAAiB,KAC3C;;;SAGC,GACD,CAAC,YACD,CAAC,eACD,eAAe,YACf,YAAY,KACZ,SAAS;AACjB","ignoreList":[0]}}, - {"offset": {"line": 8458, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs"],"sourcesContent":["import { MotionGlobalConfig, noop } from 'motion-utils';\nimport { time } from '../frameloop/sync-time.mjs';\nimport { JSAnimation } from './JSAnimation.mjs';\nimport { getFinalKeyframe } from './keyframes/get-final.mjs';\nimport { KeyframeResolver, flushKeyframeResolvers } from './keyframes/KeyframesResolver.mjs';\nimport { NativeAnimationExtended } from './NativeAnimationExtended.mjs';\nimport { canAnimate } from './utils/can-animate.mjs';\nimport { makeAnimationInstant } from './utils/make-animation-instant.mjs';\nimport { WithPromise } from './utils/WithPromise.mjs';\nimport { supportsBrowserAnimation } from './waapi/supports/waapi.mjs';\n\n/**\n * Maximum time allowed between an animation being created and it being\n * resolved for us to use the latter as the start time.\n *\n * This is to ensure that while we prefer to \"start\" an animation as soon\n * as it's triggered, we also want to avoid a visual jump if there's a big delay\n * between these two moments.\n */\nconst MAX_RESOLVE_DELAY = 40;\nclass AsyncMotionValueAnimation extends WithPromise {\n constructor({ autoplay = true, delay = 0, type = \"keyframes\", repeat = 0, repeatDelay = 0, repeatType = \"loop\", keyframes, name, motionValue, element, ...options }) {\n super();\n /**\n * Bound to support return animation.stop pattern\n */\n this.stop = () => {\n if (this._animation) {\n this._animation.stop();\n this.stopTimeline?.();\n }\n this.keyframeResolver?.cancel();\n };\n this.createdAt = time.now();\n const optionsWithDefaults = {\n autoplay,\n delay,\n type,\n repeat,\n repeatDelay,\n repeatType,\n name,\n motionValue,\n element,\n ...options,\n };\n const KeyframeResolver$1 = element?.KeyframeResolver || KeyframeResolver;\n this.keyframeResolver = new KeyframeResolver$1(keyframes, (resolvedKeyframes, finalKeyframe, forced) => this.onKeyframesResolved(resolvedKeyframes, finalKeyframe, optionsWithDefaults, !forced), name, motionValue, element);\n this.keyframeResolver?.scheduleResolve();\n }\n onKeyframesResolved(keyframes, finalKeyframe, options, sync) {\n this.keyframeResolver = undefined;\n const { name, type, velocity, delay, isHandoff, onUpdate } = options;\n this.resolvedAt = time.now();\n /**\n * If we can't animate this value with the resolved keyframes\n * then we should complete it immediately.\n */\n if (!canAnimate(keyframes, name, type, velocity)) {\n if (MotionGlobalConfig.instantAnimations || !delay) {\n onUpdate?.(getFinalKeyframe(keyframes, options, finalKeyframe));\n }\n keyframes[0] = keyframes[keyframes.length - 1];\n makeAnimationInstant(options);\n options.repeat = 0;\n }\n /**\n * Resolve startTime for the animation.\n *\n * This method uses the createdAt and resolvedAt to calculate the\n * animation startTime. *Ideally*, we would use the createdAt time as t=0\n * as the following frame would then be the first frame of the animation in\n * progress, which would feel snappier.\n *\n * However, if there's a delay (main thread work) between the creation of\n * the animation and the first commited frame, we prefer to use resolvedAt\n * to avoid a sudden jump into the animation.\n */\n const startTime = sync\n ? !this.resolvedAt\n ? this.createdAt\n : this.resolvedAt - this.createdAt > MAX_RESOLVE_DELAY\n ? this.resolvedAt\n : this.createdAt\n : undefined;\n const resolvedOptions = {\n startTime,\n finalKeyframe,\n ...options,\n keyframes,\n };\n /**\n * Animate via WAAPI if possible. If this is a handoff animation, the optimised animation will be running via\n * WAAPI. Therefore, this animation must be JS to ensure it runs \"under\" the\n * optimised animation.\n */\n const animation = !isHandoff && supportsBrowserAnimation(resolvedOptions)\n ? new NativeAnimationExtended({\n ...resolvedOptions,\n element: resolvedOptions.motionValue.owner.current,\n })\n : new JSAnimation(resolvedOptions);\n animation.finished.then(() => this.notifyFinished()).catch(noop);\n if (this.pendingTimeline) {\n this.stopTimeline = animation.attachTimeline(this.pendingTimeline);\n this.pendingTimeline = undefined;\n }\n this._animation = animation;\n }\n get finished() {\n if (!this._animation) {\n return this._finished;\n }\n else {\n return this.animation.finished;\n }\n }\n then(onResolve, _onReject) {\n return this.finished.finally(onResolve).then(() => { });\n }\n get animation() {\n if (!this._animation) {\n this.keyframeResolver?.resume();\n flushKeyframeResolvers();\n }\n return this._animation;\n }\n get duration() {\n return this.animation.duration;\n }\n get iterationDuration() {\n return this.animation.iterationDuration;\n }\n get time() {\n return this.animation.time;\n }\n set time(newTime) {\n this.animation.time = newTime;\n }\n get speed() {\n return this.animation.speed;\n }\n get state() {\n return this.animation.state;\n }\n set speed(newSpeed) {\n this.animation.speed = newSpeed;\n }\n get startTime() {\n return this.animation.startTime;\n }\n attachTimeline(timeline) {\n if (this._animation) {\n this.stopTimeline = this.animation.attachTimeline(timeline);\n }\n else {\n this.pendingTimeline = timeline;\n }\n return () => this.stop();\n }\n play() {\n this.animation.play();\n }\n pause() {\n this.animation.pause();\n }\n complete() {\n this.animation.complete();\n }\n cancel() {\n if (this._animation) {\n this.animation.cancel();\n }\n this.keyframeResolver?.cancel();\n }\n}\n\nexport { AsyncMotionValueAnimation };\n"],"names":[],"mappings":";;;;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;AAEA;;;;;;;CAOC,GACD,MAAM,oBAAoB;AAC1B,MAAM,kCAAkC,mMAAW;IAC/C,YAAY,EAAE,WAAW,IAAI,EAAE,QAAQ,CAAC,EAAE,OAAO,WAAW,EAAE,SAAS,CAAC,EAAE,cAAc,CAAC,EAAE,aAAa,MAAM,EAA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,OAAO;QACP,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI;IAC9B;IACA,IAAI,KAAK,OAAO,EAAE;QACd,IAAI,CAAC,SAAS,CAAC,IAAI,GAAG;IAC1B;IACA,IAAI,QAAQ;QACR,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK;IAC/B;IACA,IAAI,QAAQ;QACR,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK;IAC/B;IACA,IAAI,MAAM,QAAQ,EAAE;QAChB,IAAI,CAAC,SAAS,CAAC,KAAK,GAAG;IAC3B;IACA,IAAI,YAAY;QACZ,OAAO,IAAI,CAAC,SAAS,CAAC,SAAS;IACnC;IACA,eAAe,QAAQ,EAAE;QACrB,IAAI,IAAI,CAAC,UAAU,EAAE;YACjB,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,SAAS,CAAC,cAAc,CAAC;QACtD,OACK;YACD,IAAI,CAAC,eAAe,GAAG;QAC3B;QACA,OAAO,IAAM,IAAI,CAAC,IAAI;IAC1B;IACA,OAAO;QACH,IAAI,CAAC,SAAS,CAAC,IAAI;IACvB;IACA,QAAQ;QACJ,IAAI,CAAC,SAAS,CAAC,KAAK;IACxB;IACA,WAAW;QACP,IAAI,CAAC,SAAS,CAAC,QAAQ;IAC3B;IACA,SAAS;QACL,IAAI,IAAI,CAAC,UAAU,EAAE;YACjB,IAAI,CAAC,SAAS,CAAC,MAAM;QACzB;QACA,IAAI,CAAC,gBAAgB,EAAE;IAC3B;AACJ","ignoreList":[0]}}, - {"offset": {"line": 8638, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.mjs"],"sourcesContent":["const isNotNull = (value) => value !== null;\nfunction getFinalKeyframe(keyframes, { repeat, repeatType = \"loop\" }, finalKeyframe) {\n const resolvedKeyframes = keyframes.filter(isNotNull);\n const index = repeat && repeatType !== \"loop\" && repeat % 2 === 1\n ? 0\n : resolvedKeyframes.length - 1;\n return !index || finalKeyframe === undefined\n ? resolvedKeyframes[index]\n : finalKeyframe;\n}\n\nexport { getFinalKeyframe };\n"],"names":[],"mappings":";;;;AAAA,MAAM,YAAY,CAAC,QAAU,UAAU;AACvC,SAAS,iBAAiB,SAAS,EAAE,EAAE,MAAM,EAAE,aAAa,MAAM,EAAE,EAAE,aAAa;IAC/E,MAAM,oBAAoB,UAAU,MAAM,CAAC;IAC3C,MAAM,QAAQ,UAAU,eAAe,UAAU,SAAS,MAAM,IAC1D,IACA,kBAAkB,MAAM,GAAG;IACjC,OAAO,CAAC,SAAS,kBAAkB,YAC7B,iBAAiB,CAAC,MAAM,GACxB;AACV","ignoreList":[0]}}, - {"offset": {"line": 8653, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/animation/utils/default-transitions.mjs"],"sourcesContent":["import { transformProps } from 'motion-dom';\n\nconst underDampedSpring = {\n type: \"spring\",\n stiffness: 500,\n damping: 25,\n restSpeed: 10,\n};\nconst criticallyDampedSpring = (target) => ({\n type: \"spring\",\n stiffness: 550,\n damping: target === 0 ? 2 * Math.sqrt(550) : 30,\n restSpeed: 10,\n});\nconst keyframesTransition = {\n type: \"keyframes\",\n duration: 0.8,\n};\n/**\n * Default easing curve is a slightly shallower version of\n * the default browser easing curve.\n */\nconst ease = {\n type: \"keyframes\",\n ease: [0.25, 0.1, 0.35, 1],\n duration: 0.3,\n};\nconst getDefaultTransition = (valueKey, { keyframes }) => {\n if (keyframes.length > 2) {\n return keyframesTransition;\n }\n else if (transformProps.has(valueKey)) {\n return valueKey.startsWith(\"scale\")\n ? criticallyDampedSpring(keyframes[1])\n : underDampedSpring;\n }\n return ease;\n};\n\nexport { getDefaultTransition };\n"],"names":[],"mappings":";;;;AAAA;;AAEA,MAAM,oBAAoB;IACtB,MAAM;IACN,WAAW;IACX,SAAS;IACT,WAAW;AACf;AACA,MAAM,yBAAyB,CAAC,SAAW,CAAC;QACxC,MAAM;QACN,WAAW;QACX,SAAS,WAAW,IAAI,IAAI,KAAK,IAAI,CAAC,OAAO;QAC7C,WAAW;IACf,CAAC;AACD,MAAM,sBAAsB;IACxB,MAAM;IACN,UAAU;AACd;AACA;;;CAGC,GACD,MAAM,OAAO;IACT,MAAM;IACN,MAAM;QAAC;QAAM;QAAK;QAAM;KAAE;IAC1B,UAAU;AACd;AACA,MAAM,uBAAuB,CAAC,UAAU,EAAE,SAAS,EAAE;IACjD,IAAI,UAAU,MAAM,GAAG,GAAG;QACtB,OAAO;IACX,OACK,IAAI,yMAAc,CAAC,GAAG,CAAC,WAAW;QACnC,OAAO,SAAS,UAAU,CAAC,WACrB,uBAAuB,SAAS,CAAC,EAAE,IACnC;IACV;IACA,OAAO;AACX","ignoreList":[0]}}, - {"offset": {"line": 8701, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/animation/utils/is-transition-defined.mjs"],"sourcesContent":["/**\n * Decide whether a transition is defined on a given Transition.\n * This filters out orchestration options and returns true\n * if any options are left.\n */\nfunction isTransitionDefined({ when, delay: _delay, delayChildren, staggerChildren, staggerDirection, repeat, repeatType, repeatDelay, from, elapsed, ...transition }) {\n return !!Object.keys(transition).length;\n}\n\nexport { isTransitionDefined };\n"],"names":[],"mappings":";;;;AAAA;;;;CAIC,GACD,SAAS,oBAAoB,EAAE,IAAI,EAAE,OAAO,MAAM,EAAE,aAAa,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,YAAY;IACjK,OAAO,CAAC,CAAC,OAAO,IAAI,CAAC,YAAY,MAAM;AAC3C","ignoreList":[0]}}, - {"offset": {"line": 8717, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.mjs"],"sourcesContent":["import { getValueTransition, makeAnimationInstant, frame, JSAnimation, AsyncMotionValueAnimation } from 'motion-dom';\nimport { secondsToMilliseconds, MotionGlobalConfig } from 'motion-utils';\nimport { getFinalKeyframe } from '../animators/waapi/utils/get-final-keyframe.mjs';\nimport { getDefaultTransition } from '../utils/default-transitions.mjs';\nimport { isTransitionDefined } from '../utils/is-transition-defined.mjs';\n\nconst animateMotionValue = (name, value, target, transition = {}, element, isHandoff) => (onComplete) => {\n const valueTransition = getValueTransition(transition, name) || {};\n /**\n * Most transition values are currently completely overwritten by value-specific\n * transitions. In the future it'd be nicer to blend these transitions. But for now\n * delay actually does inherit from the root transition if not value-specific.\n */\n const delay = valueTransition.delay || transition.delay || 0;\n /**\n * Elapsed isn't a public transition option but can be passed through from\n * optimized appear effects in milliseconds.\n */\n let { elapsed = 0 } = transition;\n elapsed = elapsed - secondsToMilliseconds(delay);\n const options = {\n keyframes: Array.isArray(target) ? target : [null, target],\n ease: \"easeOut\",\n velocity: value.getVelocity(),\n ...valueTransition,\n delay: -elapsed,\n onUpdate: (v) => {\n value.set(v);\n valueTransition.onUpdate && valueTransition.onUpdate(v);\n },\n onComplete: () => {\n onComplete();\n valueTransition.onComplete && valueTransition.onComplete();\n },\n name,\n motionValue: value,\n element: isHandoff ? undefined : element,\n };\n /**\n * If there's no transition defined for this value, we can generate\n * unique transition settings for this value.\n */\n if (!isTransitionDefined(valueTransition)) {\n Object.assign(options, getDefaultTransition(name, options));\n }\n /**\n * Both WAAPI and our internal animation functions use durations\n * as defined by milliseconds, while our external API defines them\n * as seconds.\n */\n options.duration && (options.duration = secondsToMilliseconds(options.duration));\n options.repeatDelay && (options.repeatDelay = secondsToMilliseconds(options.repeatDelay));\n /**\n * Support deprecated way to set initial value. Prefer keyframe syntax.\n */\n if (options.from !== undefined) {\n options.keyframes[0] = options.from;\n }\n let shouldSkip = false;\n if (options.type === false ||\n (options.duration === 0 && !options.repeatDelay)) {\n makeAnimationInstant(options);\n if (options.delay === 0) {\n shouldSkip = true;\n }\n }\n if (MotionGlobalConfig.instantAnimations ||\n MotionGlobalConfig.skipAnimations) {\n shouldSkip = true;\n makeAnimationInstant(options);\n options.delay = 0;\n }\n /**\n * If the transition type or easing has been explicitly set by the user\n * then we don't want to allow flattening the animation.\n */\n options.allowFlatten = !valueTransition.type && !valueTransition.ease;\n /**\n * If we can or must skip creating the animation, and apply only\n * the final keyframe, do so. We also check once keyframes are resolved but\n * this early check prevents the need to create an animation at all.\n */\n if (shouldSkip && !isHandoff && value.get() !== undefined) {\n const finalKeyframe = getFinalKeyframe(options.keyframes, valueTransition);\n if (finalKeyframe !== undefined) {\n frame.update(() => {\n options.onUpdate(finalKeyframe);\n options.onComplete();\n });\n return;\n }\n }\n return valueTransition.isSync\n ? new JSAnimation(options)\n : new AsyncMotionValueAnimation(options);\n};\n\nexport { animateMotionValue };\n"],"names":[],"mappings":";;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AACA;AACA;AACA;;;;;;AAEA,MAAM,qBAAqB,CAAC,MAAM,OAAO,QAAQ,aAAa,CAAC,CAAC,EAAE,SAAS,YAAc,CAAC;QACtF,MAAM,kBAAkB,IAAA,yNAAkB,EAAC,YAAY,SAAS,CAAC;QACjE;;;;KAIC,GACD,MAAM,QAAQ,gBAAgB,KAAK,IAAI,WAAW,KAAK,IAAI;QAC3D;;;KAGC,GACD,IAAI,EAAE,UAAU,CAAC,EAAE,GAAG;QACtB,UAAU,UAAU,IAAA,gMAAqB,EAAC;QAC1C,MAAM,UAAU;YACZ,WAAW,MAAM,OAAO,CAAC,UAAU,SAAS;gBAAC;gBAAM;aAAO;YAC1D,MAAM;YACN,UAAU,MAAM,WAAW;YAC3B,GAAG,eAAe;YAClB,OAAO,CAAC;YACR,UAAU,CAAC;gBACP,MAAM,GAAG,CAAC;gBACV,gBAAgB,QAAQ,IAAI,gBAAgB,QAAQ,CAAC;YACzD;YACA,YAAY;gBACR;gBACA,gBAAgB,UAAU,IAAI,gBAAgB,UAAU;YAC5D;YACA;YACA,aAAa;YACb,SAAS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 8823, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.mjs"],"sourcesContent":["import { getValueTransition, frame, positionalKeys } from 'motion-dom';\nimport { setTarget } from '../../render/utils/setters.mjs';\nimport { addValueToWillChange } from '../../value/use-will-change/add-will-change.mjs';\nimport { getOptimisedAppearId } from '../optimized-appear/get-appear-id.mjs';\nimport { animateMotionValue } from './motion-value.mjs';\n\n/**\n * Decide whether we should block this animation. Previously, we achieved this\n * just by checking whether the key was listed in protectedKeys, but this\n * posed problems if an animation was triggered by afterChildren and protectedKeys\n * had been set to true in the meantime.\n */\nfunction shouldBlockAnimation({ protectedKeys, needsAnimating }, key) {\n const shouldBlock = protectedKeys.hasOwnProperty(key) && needsAnimating[key] !== true;\n needsAnimating[key] = false;\n return shouldBlock;\n}\nfunction animateTarget(visualElement, targetAndTransition, { delay = 0, transitionOverride, type } = {}) {\n let { transition = visualElement.getDefaultTransition(), transitionEnd, ...target } = targetAndTransition;\n if (transitionOverride)\n transition = transitionOverride;\n const animations = [];\n const animationTypeState = type &&\n visualElement.animationState &&\n visualElement.animationState.getState()[type];\n for (const key in target) {\n const value = visualElement.getValue(key, visualElement.latestValues[key] ?? null);\n const valueTarget = target[key];\n if (valueTarget === undefined ||\n (animationTypeState &&\n shouldBlockAnimation(animationTypeState, key))) {\n continue;\n }\n const valueTransition = {\n delay,\n ...getValueTransition(transition || {}, key),\n };\n /**\n * If the value is already at the defined target, skip the animation.\n */\n const currentValue = value.get();\n if (currentValue !== undefined &&\n !value.isAnimating &&\n !Array.isArray(valueTarget) &&\n valueTarget === currentValue &&\n !valueTransition.velocity) {\n continue;\n }\n /**\n * If this is the first time a value is being animated, check\n * to see if we're handling off from an existing animation.\n */\n let isHandoff = false;\n if (window.MotionHandoffAnimation) {\n const appearId = getOptimisedAppearId(visualElement);\n if (appearId) {\n const startTime = window.MotionHandoffAnimation(appearId, key, frame);\n if (startTime !== null) {\n valueTransition.startTime = startTime;\n isHandoff = true;\n }\n }\n }\n addValueToWillChange(visualElement, key);\n value.start(animateMotionValue(key, value, valueTarget, visualElement.shouldReduceMotion && positionalKeys.has(key)\n ? { type: false }\n : valueTransition, visualElement, isHandoff));\n const animation = value.animation;\n if (animation) {\n animations.push(animation);\n }\n }\n if (transitionEnd) {\n Promise.all(animations).then(() => {\n frame.update(() => {\n transitionEnd && setTarget(visualElement, transitionEnd);\n });\n });\n }\n return animations;\n}\n\nexport { animateTarget };\n"],"names":[],"mappings":";;;;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;;;;;;AAEA;;;;;CAKC,GACD,SAAS,qBAAqB,EAAE,aAAa,EAAE,cAAc,EAAE,EAAE,GAAG;IAChE,MAAM,cAAc,cAAc,cAAc,CAAC,QAAQ,cAAc,CAAC,IAAI,KAAK;IACjF,cAAc,CAAC,IAAI,GAAG;IACtB,OAAO;AACX;AACA,SAAS,cAAc,aAAa,EAAE,mBAAmB,EAAE,EAAE,QAAQ,CAAC,EAAE,kBAAkB,EAAE,IAAI,EAAE,GAAG,CAAC,CAAC;IACnG,IAAI,EAAE,aAAa,cAAc,oBAAoB,EAAE,EAAE,aAAa,EAAE,GAAG,QAAQ,GAAG;IACtF,IAAI,oBACA,aAAa;IACjB,MAAM,aAAa,EAAE;IACrB,MAAM,qBAAqB,QACvB,cAAc,cAAc,IAC5B,cAAc,cAAc,CAAC,QAAQ,EAAE,CAAC,KAAK;IACjD,IAAK,MAAM,OAAO,OAAQ;QACtB,MAAM,QAAQ,cAAc,QAAQ,CAAC,KAAK,cAAc,YAAY,CAAC,IAAI,IAAI;QAC7E,MAAM,cAAc,MAAM,CAAC,IAAI;QAC/B,IAAI,gBAAgB,aACf,sBACG,qBAAqB,oBAAoB,MAAO;YACpD;QACJ;QACA,MAAM,kBAAkB;YACpB;YACA,GAAG,IAAA,yNAAkB,EAAC,cAAc,CAAC,GAAG,IAAI;QAChD;QACA;;SAEC,GACD,MAAM,eAAe,MAAM,GAAG;QAC9B,IAAI,iBAAiB,aACjB,CAAC,MAAM,WAAW,IAClB,CAAC,MAAM,OAAO,CAAC,gBACf,gBAAgB,gBAChB,CAAC,gBAAgB,QAAQ,EAAE;YAC3B;QACJ;QACA;;;SAGC,GACD,IAAI,YAAY;QAChB,IAAI,OAAO,sBAAsB,EAAE;YAC/B,MAAM,WAAW,IAAA,qOAAoB,EAAC;YACtC,IAAI,UAAU;gBACV,MAAM,YAAY,OAAO,sBAAsB,CAAC,UAAU,KAAK,8KAAK;gBACpE,IAAI,cAAc,MAAM;oBACpB,gBAAgB,SAAS,GAAG;oBAC5B,YAAY;gBAChB;YACJ;QACJ;QACA,IAAA,qOAAoB,EAAC,eAAe;QACpC,MAAM,KAAK,CAAC,IAAA,sNAAkB,EAAC,KAAK,OAAO,aAAa,cAAc,kBAAkB,IAAI,wMAAc,CAAC,GAAG,CAAC,OACzG;YAAE,MAAM;QAAM,IACd,iBAAiB,eAAe;QACtC,MAAM,YAAY,MAAM,SAAS;QACjC,IAAI,WAAW;YACX,WAAW,IAAI,CAAC;QACpB;IACJ;IACA,IAAI,eAAe;QACf,QAAQ,GAAG,CAAC,YAAY,IAAI,CAAC;YACzB,8KAAK,CAAC,MAAM,CAAC;gBACT,iBAAiB,IAAA,6LAAS,EAAC,eAAe;YAC9C;QACJ;IACJ;IACA,OAAO;AACX","ignoreList":[0]}}, - {"offset": {"line": 8907, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/animation/utils/calc-child-stagger.mjs"],"sourcesContent":["function calcChildStagger(children, child, delayChildren, staggerChildren = 0, staggerDirection = 1) {\n const index = Array.from(children)\n .sort((a, b) => a.sortNodePosition(b))\n .indexOf(child);\n const numChildren = children.size;\n const maxStaggerDuration = (numChildren - 1) * staggerChildren;\n const delayIsFunction = typeof delayChildren === \"function\";\n return delayIsFunction\n ? delayChildren(index, numChildren)\n : staggerDirection === 1\n ? index * staggerChildren\n : maxStaggerDuration - index * staggerChildren;\n}\n\nexport { calcChildStagger };\n"],"names":[],"mappings":";;;;AAAA,SAAS,iBAAiB,QAAQ,EAAE,KAAK,EAAE,aAAa,EAAE,kBAAkB,CAAC,EAAE,mBAAmB,CAAC;IAC/F,MAAM,QAAQ,MAAM,IAAI,CAAC,UACpB,IAAI,CAAC,CAAC,GAAG,IAAM,EAAE,gBAAgB,CAAC,IAClC,OAAO,CAAC;IACb,MAAM,cAAc,SAAS,IAAI;IACjC,MAAM,qBAAqB,CAAC,cAAc,CAAC,IAAI;IAC/C,MAAM,kBAAkB,OAAO,kBAAkB;IACjD,OAAO,kBACD,cAAc,OAAO,eACrB,qBAAqB,IACjB,QAAQ,kBACR,qBAAqB,QAAQ;AAC3C","ignoreList":[0]}}, - {"offset": {"line": 8923, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-variant.mjs"],"sourcesContent":["import { resolveVariant } from '../../render/utils/resolve-dynamic-variants.mjs';\nimport { calcChildStagger } from '../utils/calc-child-stagger.mjs';\nimport { animateTarget } from './visual-element-target.mjs';\n\nfunction animateVariant(visualElement, variant, options = {}) {\n const resolved = resolveVariant(visualElement, variant, options.type === \"exit\"\n ? visualElement.presenceContext?.custom\n : undefined);\n let { transition = visualElement.getDefaultTransition() || {} } = resolved || {};\n if (options.transitionOverride) {\n transition = options.transitionOverride;\n }\n /**\n * If we have a variant, create a callback that runs it as an animation.\n * Otherwise, we resolve a Promise immediately for a composable no-op.\n */\n const getAnimation = resolved\n ? () => Promise.all(animateTarget(visualElement, resolved, options))\n : () => Promise.resolve();\n /**\n * If we have children, create a callback that runs all their animations.\n * Otherwise, we resolve a Promise immediately for a composable no-op.\n */\n const getChildAnimations = visualElement.variantChildren && visualElement.variantChildren.size\n ? (forwardDelay = 0) => {\n const { delayChildren = 0, staggerChildren, staggerDirection, } = transition;\n return animateChildren(visualElement, variant, forwardDelay, delayChildren, staggerChildren, staggerDirection, options);\n }\n : () => Promise.resolve();\n /**\n * If the transition explicitly defines a \"when\" option, we need to resolve either\n * this animation or all children animations before playing the other.\n */\n const { when } = transition;\n if (when) {\n const [first, last] = when === \"beforeChildren\"\n ? [getAnimation, getChildAnimations]\n : [getChildAnimations, getAnimation];\n return first().then(() => last());\n }\n else {\n return Promise.all([getAnimation(), getChildAnimations(options.delay)]);\n }\n}\nfunction animateChildren(visualElement, variant, delay = 0, delayChildren = 0, staggerChildren = 0, staggerDirection = 1, options) {\n const animations = [];\n for (const child of visualElement.variantChildren) {\n child.notify(\"AnimationStart\", variant);\n animations.push(animateVariant(child, variant, {\n ...options,\n delay: delay +\n (typeof delayChildren === \"function\" ? 0 : delayChildren) +\n calcChildStagger(visualElement.variantChildren, child, delayChildren, staggerChildren, staggerDirection),\n }).then(() => child.notify(\"AnimationComplete\", variant)));\n }\n return Promise.all(animations);\n}\n\nexport { animateVariant };\n"],"names":[],"mappings":";;;;AAAA;AACA;AACA;;;;AAEA,SAAS,eAAe,aAAa,EAAE,OAAO,EAAE,UAAU,CAAC,CAAC;IACxD,MAAM,WAAW,IAAA,yNAAc,EAAC,eAAe,SAAS,QAAQ,IAAI,KAAK,SACnE,cAAc,eAAe,EAAE,SAC/B;IACN,IAAI,EAAE,aAAa,cAAc,oBAAoB,MAAM,CAAC,CAAC,EAAE,GAAG,YAAY,CAAC;IAC/E,IAAI,QAAQ,kBAAkB,EAAE;QAC5B,aAAa,QAAQ,kBAAkB;IAC3C;IACA;;;KAGC,GACD,MAAM,eAAe,WACf,IAAM,QAAQ,GAAG,CAAC,IAAA,6NAAa,EAAC,eAAe,UAAU,YACzD,IAAM,QAAQ,OAAO;IAC3B;;;KAGC,GACD,MAAM,qBAAqB,cAAc,eAAe,IAAI,cAAc,eAAe,CAAC,IAAI,GACxF,CAAC,eAAe,CAAC;QACf,MAAM,EAAE,gBAAgB,CAAC,EAAE,eAAe,EAAE,gBAAgB,EAAG,GAAG;QAClE,OAAO,gBAAgB,eAAe,SAAS,cAAc,eAAe,iBAAiB,kBAAkB;IACnH,IACE,IAAM,QAAQ,OAAO;IAC3B;;;KAGC,GACD,MAAM,EAAE,IAAI,EAAE,GAAG;IACjB,IAAI,MAAM;QACN,MAAM,CAAC,OAAO,KAAK,GAAG,SAAS,mBACzB;YAAC;YAAc;SAAmB,GAClC;YAAC;YAAoB;SAAa;QACxC,OAAO,QAAQ,IAAI,CAAC,IAAM;IAC9B,OACK;QACD,OAAO,QAAQ,GAAG,CAAC;YAAC;YAAgB,mBAAmB,QAAQ,KAAK;SAAE;IAC1E;AACJ;AACA,SAAS,gBAAgB,aAAa,EAAE,OAAO,EAAE,QAAQ,CAAC,EAAE,gBAAgB,CAAC,EAAE,kBAAkB,CAAC,EAAE,mBAAmB,CAAC,EAAE,OAAO;IAC7H,MAAM,aAAa,EAAE;IACrB,KAAK,MAAM,SAAS,cAAc,eAAe,CAAE;QAC/C,MAAM,MAAM,CAAC,kBAAkB;QAC/B,WAAW,IAAI,CAAC,eAAe,OAAO,SAAS;YAC3C,GAAG,OAAO;YACV,OAAO,QACH,CAAC,OAAO,kBAAkB,aAAa,IAAI,aAAa,IACxD,IAAA,wNAAgB,EAAC,cAAc,eAAe,EAAE,OAAO,eAAe,iBAAiB;QAC/F,GAAG,IAAI,CAAC,IAAM,MAAM,MAAM,CAAC,qBAAqB;IACpD;IACA,OAAO,QAAQ,GAAG,CAAC;AACvB","ignoreList":[0]}}, - {"offset": {"line": 8986, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/animation/interfaces/visual-element.mjs"],"sourcesContent":["import { resolveVariant } from '../../render/utils/resolve-dynamic-variants.mjs';\nimport { animateTarget } from './visual-element-target.mjs';\nimport { animateVariant } from './visual-element-variant.mjs';\n\nfunction animateVisualElement(visualElement, definition, options = {}) {\n visualElement.notify(\"AnimationStart\", definition);\n let animation;\n if (Array.isArray(definition)) {\n const animations = definition.map((variant) => animateVariant(visualElement, variant, options));\n animation = Promise.all(animations);\n }\n else if (typeof definition === \"string\") {\n animation = animateVariant(visualElement, definition, options);\n }\n else {\n const resolvedDefinition = typeof definition === \"function\"\n ? resolveVariant(visualElement, definition, options.custom)\n : definition;\n animation = Promise.all(animateTarget(visualElement, resolvedDefinition, options));\n }\n return animation.then(() => {\n visualElement.notify(\"AnimationComplete\", definition);\n });\n}\n\nexport { animateVisualElement };\n"],"names":[],"mappings":";;;;AAAA;AACA;AACA;;;;AAEA,SAAS,qBAAqB,aAAa,EAAE,UAAU,EAAE,UAAU,CAAC,CAAC;IACjE,cAAc,MAAM,CAAC,kBAAkB;IACvC,IAAI;IACJ,IAAI,MAAM,OAAO,CAAC,aAAa;QAC3B,MAAM,aAAa,WAAW,GAAG,CAAC,CAAC,UAAY,IAAA,+NAAc,EAAC,eAAe,SAAS;QACtF,YAAY,QAAQ,GAAG,CAAC;IAC5B,OACK,IAAI,OAAO,eAAe,UAAU;QACrC,YAAY,IAAA,+NAAc,EAAC,eAAe,YAAY;IAC1D,OACK;QACD,MAAM,qBAAqB,OAAO,eAAe,aAC3C,IAAA,yNAAc,EAAC,eAAe,YAAY,QAAQ,MAAM,IACxD;QACN,YAAY,QAAQ,GAAG,CAAC,IAAA,6NAAa,EAAC,eAAe,oBAAoB;IAC7E;IACA,OAAO,UAAU,IAAI,CAAC;QAClB,cAAc,MAAM,CAAC,qBAAqB;IAC9C;AACJ","ignoreList":[0]}}, - {"offset": {"line": 9017, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/utils/shallow-compare.mjs"],"sourcesContent":["function shallowCompare(next, prev) {\n if (!Array.isArray(prev))\n return false;\n const prevLength = prev.length;\n if (prevLength !== next.length)\n return false;\n for (let i = 0; i < prevLength; i++) {\n if (prev[i] !== next[i])\n return false;\n }\n return true;\n}\n\nexport { shallowCompare };\n"],"names":[],"mappings":";;;;AAAA,SAAS,eAAe,IAAI,EAAE,IAAI;IAC9B,IAAI,CAAC,MAAM,OAAO,CAAC,OACf,OAAO;IACX,MAAM,aAAa,KAAK,MAAM;IAC9B,IAAI,eAAe,KAAK,MAAM,EAC1B,OAAO;IACX,IAAK,IAAI,IAAI,GAAG,IAAI,YAAY,IAAK;QACjC,IAAI,IAAI,CAAC,EAAE,KAAK,IAAI,CAAC,EAAE,EACnB,OAAO;IACf;IACA,OAAO;AACX","ignoreList":[0]}}, - {"offset": {"line": 9035, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/utils/get-variant-context.mjs"],"sourcesContent":["import { isVariantLabel } from './is-variant-label.mjs';\nimport { variantProps } from './variant-props.mjs';\n\nconst numVariantProps = variantProps.length;\nfunction getVariantContext(visualElement) {\n if (!visualElement)\n return undefined;\n if (!visualElement.isControllingVariants) {\n const context = visualElement.parent\n ? getVariantContext(visualElement.parent) || {}\n : {};\n if (visualElement.props.initial !== undefined) {\n context.initial = visualElement.props.initial;\n }\n return context;\n }\n const context = {};\n for (let i = 0; i < numVariantProps; i++) {\n const name = variantProps[i];\n const prop = visualElement.props[name];\n if (isVariantLabel(prop) || prop === false) {\n context[name] = prop;\n }\n }\n return context;\n}\n\nexport { getVariantContext };\n"],"names":[],"mappings":";;;;AAAA;AACA;;;AAEA,MAAM,kBAAkB,yMAAY,CAAC,MAAM;AAC3C,SAAS,kBAAkB,aAAa;IACpC,IAAI,CAAC,eACD,OAAO;IACX,IAAI,CAAC,cAAc,qBAAqB,EAAE;QACtC,MAAM,UAAU,cAAc,MAAM,GAC9B,kBAAkB,cAAc,MAAM,KAAK,CAAC,IAC5C,CAAC;QACP,IAAI,cAAc,KAAK,CAAC,OAAO,KAAK,WAAW;YAC3C,QAAQ,OAAO,GAAG,cAAc,KAAK,CAAC,OAAO;QACjD;QACA,OAAO;IACX;IACA,MAAM,UAAU,CAAC;IACjB,IAAK,IAAI,IAAI,GAAG,IAAI,iBAAiB,IAAK;QACtC,MAAM,OAAO,yMAAY,CAAC,EAAE;QAC5B,MAAM,OAAO,cAAc,KAAK,CAAC,KAAK;QACtC,IAAI,IAAA,iNAAc,EAAC,SAAS,SAAS,OAAO;YACxC,OAAO,CAAC,KAAK,GAAG;QACpB;IACJ;IACA,OAAO;AACX","ignoreList":[0]}}, - {"offset": {"line": 9068, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/utils/animation-state.mjs"],"sourcesContent":["import { animateVisualElement } from '../../animation/interfaces/visual-element.mjs';\nimport { calcChildStagger } from '../../animation/utils/calc-child-stagger.mjs';\nimport { isAnimationControls } from '../../animation/utils/is-animation-controls.mjs';\nimport { isKeyframesTarget } from '../../animation/utils/is-keyframes-target.mjs';\nimport { shallowCompare } from '../../utils/shallow-compare.mjs';\nimport { getVariantContext } from './get-variant-context.mjs';\nimport { isVariantLabel } from './is-variant-label.mjs';\nimport { resolveVariant } from './resolve-dynamic-variants.mjs';\nimport { variantPriorityOrder } from './variant-props.mjs';\n\nconst reversePriorityOrder = [...variantPriorityOrder].reverse();\nconst numAnimationTypes = variantPriorityOrder.length;\nfunction animateList(visualElement) {\n return (animations) => Promise.all(animations.map(({ animation, options }) => animateVisualElement(visualElement, animation, options)));\n}\nfunction createAnimationState(visualElement) {\n let animate = animateList(visualElement);\n let state = createState();\n let isInitialRender = true;\n /**\n * This function will be used to reduce the animation definitions for\n * each active animation type into an object of resolved values for it.\n */\n const buildResolvedTypeValues = (type) => (acc, definition) => {\n const resolved = resolveVariant(visualElement, definition, type === \"exit\"\n ? visualElement.presenceContext?.custom\n : undefined);\n if (resolved) {\n const { transition, transitionEnd, ...target } = resolved;\n acc = { ...acc, ...target, ...transitionEnd };\n }\n return acc;\n };\n /**\n * This just allows us to inject mocked animation functions\n * @internal\n */\n function setAnimateFunction(makeAnimator) {\n animate = makeAnimator(visualElement);\n }\n /**\n * When we receive new props, we need to:\n * 1. Create a list of protected keys for each type. This is a directory of\n * value keys that are currently being \"handled\" by types of a higher priority\n * so that whenever an animation is played of a given type, these values are\n * protected from being animated.\n * 2. Determine if an animation type needs animating.\n * 3. Determine if any values have been removed from a type and figure out\n * what to animate those to.\n */\n function animateChanges(changedActiveType) {\n const { props } = visualElement;\n const context = getVariantContext(visualElement.parent) || {};\n /**\n * A list of animations that we'll build into as we iterate through the animation\n * types. This will get executed at the end of the function.\n */\n const animations = [];\n /**\n * Keep track of which values have been removed. Then, as we hit lower priority\n * animation types, we can check if they contain removed values and animate to that.\n */\n const removedKeys = new Set();\n /**\n * A dictionary of all encountered keys. This is an object to let us build into and\n * copy it without iteration. Each time we hit an animation type we set its protected\n * keys - the keys its not allowed to animate - to the latest version of this object.\n */\n let encounteredKeys = {};\n /**\n * If a variant has been removed at a given index, and this component is controlling\n * variant animations, we want to ensure lower-priority variants are forced to animate.\n */\n let removedVariantIndex = Infinity;\n /**\n * Iterate through all animation types in reverse priority order. For each, we want to\n * detect which values it's handling and whether or not they've changed (and therefore\n * need to be animated). If any values have been removed, we want to detect those in\n * lower priority props and flag for animation.\n */\n for (let i = 0; i < numAnimationTypes; i++) {\n const type = reversePriorityOrder[i];\n const typeState = state[type];\n const prop = props[type] !== undefined\n ? props[type]\n : context[type];\n const propIsVariant = isVariantLabel(prop);\n /**\n * If this type has *just* changed isActive status, set activeDelta\n * to that status. Otherwise set to null.\n */\n const activeDelta = type === changedActiveType ? typeState.isActive : null;\n if (activeDelta === false)\n removedVariantIndex = i;\n /**\n * If this prop is an inherited variant, rather than been set directly on the\n * component itself, we want to make sure we allow the parent to trigger animations.\n *\n * TODO: Can probably change this to a !isControllingVariants check\n */\n let isInherited = prop === context[type] &&\n prop !== props[type] &&\n propIsVariant;\n if (isInherited &&\n isInitialRender &&\n visualElement.manuallyAnimateOnMount) {\n isInherited = false;\n }\n /**\n * Set all encountered keys so far as the protected keys for this type. This will\n * be any key that has been animated or otherwise handled by active, higher-priortiy types.\n */\n typeState.protectedKeys = { ...encounteredKeys };\n // Check if we can skip analysing this prop early\n if (\n // If it isn't active and hasn't *just* been set as inactive\n (!typeState.isActive && activeDelta === null) ||\n // If we didn't and don't have any defined prop for this animation type\n (!prop && !typeState.prevProp) ||\n // Or if the prop doesn't define an animation\n isAnimationControls(prop) ||\n typeof prop === \"boolean\") {\n continue;\n }\n /**\n * As we go look through the values defined on this type, if we detect\n * a changed value or a value that was removed in a higher priority, we set\n * this to true and add this prop to the animation list.\n */\n const variantDidChange = checkVariantsDidChange(typeState.prevProp, prop);\n let shouldAnimateType = variantDidChange ||\n // If we're making this variant active, we want to always make it active\n (type === changedActiveType &&\n typeState.isActive &&\n !isInherited &&\n propIsVariant) ||\n // If we removed a higher-priority variant (i is in reverse order)\n (i > removedVariantIndex && propIsVariant);\n let handledRemovedValues = false;\n /**\n * As animations can be set as variant lists, variants or target objects, we\n * coerce everything to an array if it isn't one already\n */\n const definitionList = Array.isArray(prop) ? prop : [prop];\n /**\n * Build an object of all the resolved values. We'll use this in the subsequent\n * animateChanges calls to determine whether a value has changed.\n */\n let resolvedValues = definitionList.reduce(buildResolvedTypeValues(type), {});\n if (activeDelta === false)\n resolvedValues = {};\n /**\n * Now we need to loop through all the keys in the prev prop and this prop,\n * and decide:\n * 1. If the value has changed, and needs animating\n * 2. If it has been removed, and needs adding to the removedKeys set\n * 3. If it has been removed in a higher priority type and needs animating\n * 4. If it hasn't been removed in a higher priority but hasn't changed, and\n * needs adding to the type's protectedKeys list.\n */\n const { prevResolvedValues = {} } = typeState;\n const allKeys = {\n ...prevResolvedValues,\n ...resolvedValues,\n };\n const markToAnimate = (key) => {\n shouldAnimateType = true;\n if (removedKeys.has(key)) {\n handledRemovedValues = true;\n removedKeys.delete(key);\n }\n typeState.needsAnimating[key] = true;\n const motionValue = visualElement.getValue(key);\n if (motionValue)\n motionValue.liveStyle = false;\n };\n for (const key in allKeys) {\n const next = resolvedValues[key];\n const prev = prevResolvedValues[key];\n // If we've already handled this we can just skip ahead\n if (encounteredKeys.hasOwnProperty(key))\n continue;\n /**\n * If the value has changed, we probably want to animate it.\n */\n let valueHasChanged = false;\n if (isKeyframesTarget(next) && isKeyframesTarget(prev)) {\n valueHasChanged = !shallowCompare(next, prev);\n }\n else {\n valueHasChanged = next !== prev;\n }\n if (valueHasChanged) {\n if (next !== undefined && next !== null) {\n // If next is defined and doesn't equal prev, it needs animating\n markToAnimate(key);\n }\n else {\n // If it's undefined, it's been removed.\n removedKeys.add(key);\n }\n }\n else if (next !== undefined && removedKeys.has(key)) {\n /**\n * If next hasn't changed and it isn't undefined, we want to check if it's\n * been removed by a higher priority\n */\n markToAnimate(key);\n }\n else {\n /**\n * If it hasn't changed, we add it to the list of protected values\n * to ensure it doesn't get animated.\n */\n typeState.protectedKeys[key] = true;\n }\n }\n /**\n * Update the typeState so next time animateChanges is called we can compare the\n * latest prop and resolvedValues to these.\n */\n typeState.prevProp = prop;\n typeState.prevResolvedValues = resolvedValues;\n if (typeState.isActive) {\n encounteredKeys = { ...encounteredKeys, ...resolvedValues };\n }\n if (isInitialRender && visualElement.blockInitialAnimation) {\n shouldAnimateType = false;\n }\n /**\n * If this is an inherited prop we want to skip this animation\n * unless the inherited variants haven't changed on this render.\n */\n const willAnimateViaParent = isInherited && variantDidChange;\n const needsAnimating = !willAnimateViaParent || handledRemovedValues;\n if (shouldAnimateType && needsAnimating) {\n animations.push(...definitionList.map((animation) => {\n const options = { type };\n /**\n * If we're performing the initial animation, but we're not\n * rendering at the same time as the variant-controlling parent,\n * we want to use the parent's transition to calculate the stagger.\n */\n if (typeof animation === \"string\" &&\n isInitialRender &&\n !willAnimateViaParent &&\n visualElement.manuallyAnimateOnMount &&\n visualElement.parent) {\n const { parent } = visualElement;\n const parentVariant = resolveVariant(parent, animation);\n if (parent.enteringChildren && parentVariant) {\n const { delayChildren } = parentVariant.transition || {};\n options.delay = calcChildStagger(parent.enteringChildren, visualElement, delayChildren);\n }\n }\n return {\n animation: animation,\n options,\n };\n }));\n }\n }\n /**\n * If there are some removed value that haven't been dealt with,\n * we need to create a new animation that falls back either to the value\n * defined in the style prop, or the last read value.\n */\n if (removedKeys.size) {\n const fallbackAnimation = {};\n /**\n * If the initial prop contains a transition we can use that, otherwise\n * allow the animation function to use the visual element's default.\n */\n if (typeof props.initial !== \"boolean\") {\n const initialTransition = resolveVariant(visualElement, Array.isArray(props.initial)\n ? props.initial[0]\n : props.initial);\n if (initialTransition && initialTransition.transition) {\n fallbackAnimation.transition = initialTransition.transition;\n }\n }\n removedKeys.forEach((key) => {\n const fallbackTarget = visualElement.getBaseTarget(key);\n const motionValue = visualElement.getValue(key);\n if (motionValue)\n motionValue.liveStyle = true;\n // @ts-expect-error - @mattgperry to figure if we should do something here\n fallbackAnimation[key] = fallbackTarget ?? null;\n });\n animations.push({ animation: fallbackAnimation });\n }\n let shouldAnimate = Boolean(animations.length);\n if (isInitialRender &&\n (props.initial === false || props.initial === props.animate) &&\n !visualElement.manuallyAnimateOnMount) {\n shouldAnimate = false;\n }\n isInitialRender = false;\n return shouldAnimate ? animate(animations) : Promise.resolve();\n }\n /**\n * Change whether a certain animation type is active.\n */\n function setActive(type, isActive) {\n // If the active state hasn't changed, we can safely do nothing here\n if (state[type].isActive === isActive)\n return Promise.resolve();\n // Propagate active change to children\n visualElement.variantChildren?.forEach((child) => child.animationState?.setActive(type, isActive));\n state[type].isActive = isActive;\n const animations = animateChanges(type);\n for (const key in state) {\n state[key].protectedKeys = {};\n }\n return animations;\n }\n return {\n animateChanges,\n setActive,\n setAnimateFunction,\n getState: () => state,\n reset: () => {\n state = createState();\n /**\n * Temporarily disabling resetting this flag as it prevents components\n * with initial={false} from animating after being remounted, for instance\n * as the child of an Activity component.\n */\n // isInitialRender = true\n },\n };\n}\nfunction checkVariantsDidChange(prev, next) {\n if (typeof next === \"string\") {\n return next !== prev;\n }\n else if (Array.isArray(next)) {\n return !shallowCompare(next, prev);\n }\n return false;\n}\nfunction createTypeState(isActive = false) {\n return {\n isActive,\n protectedKeys: {},\n needsAnimating: {},\n prevResolvedValues: {},\n };\n}\nfunction createState() {\n return {\n animate: createTypeState(true),\n whileInView: createTypeState(),\n whileHover: createTypeState(),\n whileTap: createTypeState(),\n whileDrag: createTypeState(),\n whileFocus: createTypeState(),\n exit: createTypeState(),\n };\n}\n\nexport { checkVariantsDidChange, createAnimationState };\n"],"names":[],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;AAEA,MAAM,uBAAuB;OAAI,iNAAoB;CAAC,CAAC,OAAO;AAC9D,MAAM,oBAAoB,iNAAoB,CAAC,MAAM;AACrD,SAAS,YAAY,aAAa;IAC9B,OAAO,CAAC,aAAe,QAAQ,GAAG,CAAC,WAAW,GAAG,CAAC,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,GAAK,IAAA,0NAAoB,EAAC,eAAe,WAAW;AACjI;AACA,SAAS,qBAAqB,aAAa;IACvC,IAAI,UAAU,YAAY;IAC1B,IAAI,QAAQ;IACZ,IAAI,kBAAkB;IACtB;;;KAGC,GACD,MAAM,0BAA0B,CAAC,OAAS,CAAC,KAAK;YAC5C,MAAM,WAAW,IAAA,yNAAc,EAAC,eAAe,YAAY,SAAS,SAC9D,cAAc,eAAe,EAAE,SAC/B;YACN,IAAI,UAAU;gBACV,MAAM,EAAE,UAAU,EAAE,aAAa,EAAE,GAAG,QAAQ,GAAG;gBACjD,MAAM;oBAAE,GAAG,GAAG;oBAAE,GAAG,MAAM;oBAAE,GAAG,aAAa;gBAAC;YAChD;YACA,OAAO;QACX;IACA;;;KAGC,GACD,SAAS,mBAAmB,YAAY;QACpC,UAAU,aAAa;IAC3B;IACA;;;;;;;;;KASC,GACD,SAAS,eAAe,iBAAiB;QACrC,MAAM,EAAE,KAAK,EAAE,GAAG;QAClB,MAAM,UAAU,IAAA,uNAAiB,EAAC,cAAc,MAAM,KAAK,CAAC;QAC5D;;;SAGC,GACD,MAAM,aAAa,EAAE;QACrB;;;SAGC,GACD,MAAM,cAAc,IAAI;QACxB;;;;SAI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": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/motion/features/Feature.mjs"],"sourcesContent":["class Feature {\n constructor(node) {\n this.isMounted = false;\n this.node = node;\n }\n update() { }\n}\n\nexport { Feature };\n"],"names":[],"mappings":";;;;AAAA,MAAM;IACF,YAAY,IAAI,CAAE;QACd,IAAI,CAAC,SAAS,GAAG;QACjB,IAAI,CAAC,IAAI,GAAG;IAChB;IACA,SAAS,CAAE;AACf","ignoreList":[0]}}, - {"offset": {"line": 9416, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/motion/features/animation/index.mjs"],"sourcesContent":["import { isAnimationControls } from '../../../animation/utils/is-animation-controls.mjs';\nimport { createAnimationState } from '../../../render/utils/animation-state.mjs';\nimport { Feature } from '../Feature.mjs';\n\nclass AnimationFeature extends Feature {\n /**\n * We dynamically generate the AnimationState manager as it contains a reference\n * to the underlying animation library. We only want to load that if we load this,\n * so people can optionally code split it out using the `m` component.\n */\n constructor(node) {\n super(node);\n node.animationState || (node.animationState = createAnimationState(node));\n }\n updateAnimationControlsSubscription() {\n const { animate } = this.node.getProps();\n if (isAnimationControls(animate)) {\n this.unmountControls = animate.subscribe(this.node);\n }\n }\n /**\n * Subscribe any provided AnimationControls to the component's VisualElement\n */\n mount() {\n this.updateAnimationControlsSubscription();\n }\n update() {\n const { animate } = this.node.getProps();\n const { animate: prevAnimate } = this.node.prevProps || {};\n if (animate !== prevAnimate) {\n this.updateAnimationControlsSubscription();\n }\n }\n unmount() {\n this.node.animationState.reset();\n this.unmountControls?.();\n }\n}\n\nexport { AnimationFeature };\n"],"names":[],"mappings":";;;;AAAA;AACA;AACA;;;;AAEA,MAAM,yBAAyB,8LAAO;IAClC;;;;KAIC,GACD,YAAY,IAAI,CAAE;QACd,KAAK,CAAC;QACN,KAAK,cAAc,IAAI,CAAC,KAAK,cAAc,GAAG,IAAA,mNAAoB,EAAC,KAAK;IAC5E;IACA,sCAAsC;QAClC,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC,QAAQ;QACtC,IAAI,IAAA,8NAAmB,EAAC,UAAU;YAC9B,IAAI,CAAC,eAAe,GAAG,QAAQ,SAAS,CAAC,IAAI,CAAC,IAAI;QACtD;IACJ;IACA;;KAEC,GACD,QAAQ;QACJ,IAAI,CAAC,mCAAmC;IAC5C;IACA,SAAS;QACL,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC,QAAQ;QACtC,MAAM,EAAE,SAAS,WAAW,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,IAAI,CAAC;QACzD,IAAI,YAAY,aAAa;YACzB,IAAI,CAAC,mCAAmC;QAC5C;IACJ;IACA,UAAU;QACN,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,KAAK;QAC9B,IAAI,CAAC,eAAe;IACxB;AACJ","ignoreList":[0]}}, - {"offset": {"line": 9463, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/motion/features/animation/exit.mjs"],"sourcesContent":["import { Feature } from '../Feature.mjs';\n\nlet id = 0;\nclass ExitAnimationFeature extends Feature {\n constructor() {\n super(...arguments);\n this.id = id++;\n }\n update() {\n if (!this.node.presenceContext)\n return;\n const { isPresent, onExitComplete } = this.node.presenceContext;\n const { isPresent: prevIsPresent } = this.node.prevPresenceContext || {};\n if (!this.node.animationState || isPresent === prevIsPresent) {\n return;\n }\n const exitAnimation = this.node.animationState.setActive(\"exit\", !isPresent);\n if (onExitComplete && !isPresent) {\n exitAnimation.then(() => {\n onExitComplete(this.id);\n });\n }\n }\n mount() {\n const { register, onExitComplete } = this.node.presenceContext || {};\n if (onExitComplete) {\n onExitComplete(this.id);\n }\n if (register) {\n this.unmount = register(this.id);\n }\n }\n unmount() { }\n}\n\nexport { ExitAnimationFeature };\n"],"names":[],"mappings":";;;;AAAA;;AAEA,IAAI,KAAK;AACT,MAAM,6BAA6B,8LAAO;IACtC,aAAc;QACV,KAAK,IAAI;QACT,IAAI,CAAC,EAAE,GAAG;IACd;IACA,SAAS;QACL,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,eAAe,EAC1B;QACJ,MAAM,EAAE,SAAS,EAAE,cAAc,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC,eAAe;QAC/D,MAAM,EAAE,WAAW,aAAa,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC,mBAAmB,IAAI,CAAC;QACvE,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,cAAc,IAAI,cAAc,eAAe;YAC1D;QACJ;QACA,MAAM,gBAAgB,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,SAAS,CAAC,QAAQ,CAAC;QAClE,IAAI,kBAAkB,CAAC,WAAW;YAC9B,cAAc,IAAI,CAAC;gBACf,eAAe,IAAI,CAAC,EAAE;YAC1B;QACJ;IACJ;IACA,QAAQ;QACJ,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC,eAAe,IAAI,CAAC;QACnE,IAAI,gBAAgB;YAChB,eAAe,IAAI,CAAC,EAAE;QAC1B;QACA,IAAI,UAAU;YACV,IAAI,CAAC,OAAO,GAAG,SAAS,IAAI,CAAC,EAAE;QACnC;IACJ;IACA,UAAU,CAAE;AAChB","ignoreList":[0]}}, - {"offset": {"line": 9505, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/motion/features/animations.mjs"],"sourcesContent":["import { AnimationFeature } from './animation/index.mjs';\nimport { ExitAnimationFeature } from './animation/exit.mjs';\n\nconst animations = {\n animation: {\n Feature: AnimationFeature,\n },\n exit: {\n Feature: ExitAnimationFeature,\n },\n};\n\nexport { animations };\n"],"names":[],"mappings":";;;;AAAA;AACA;;;AAEA,MAAM,aAAa;IACf,WAAW;QACP,SAAS,kNAAgB;IAC7B;IACA,MAAM;QACF,SAAS,qNAAoB;IACjC;AACJ","ignoreList":[0]}}, - {"offset": {"line": 9526, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.mjs"],"sourcesContent":["const isDragging = {\n x: false,\n y: false,\n};\nfunction isDragActive() {\n return isDragging.x || isDragging.y;\n}\n\nexport { isDragActive, isDragging };\n"],"names":[],"mappings":";;;;;;AAAA,MAAM,aAAa;IACf,GAAG;IACH,GAAG;AACP;AACA,SAAS;IACL,OAAO,WAAW,CAAC,IAAI,WAAW,CAAC;AACvC","ignoreList":[0]}}, - {"offset": {"line": 9544, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.mjs"],"sourcesContent":["import { isDragging } from './is-active.mjs';\n\nfunction setDragLock(axis) {\n if (axis === \"x\" || axis === \"y\") {\n if (isDragging[axis]) {\n return null;\n }\n else {\n isDragging[axis] = true;\n return () => {\n isDragging[axis] = false;\n };\n }\n }\n else {\n if (isDragging.x || isDragging.y) {\n return null;\n }\n else {\n isDragging.x = isDragging.y = true;\n return () => {\n isDragging.x = isDragging.y = false;\n };\n }\n }\n}\n\nexport { setDragLock };\n"],"names":[],"mappings":";;;;AAAA;;AAEA,SAAS,YAAY,IAAI;IACrB,IAAI,SAAS,OAAO,SAAS,KAAK;QAC9B,IAAI,0MAAU,CAAC,KAAK,EAAE;YAClB,OAAO;QACX,OACK;YACD,0MAAU,CAAC,KAAK,GAAG;YACnB,OAAO;gBACH,0MAAU,CAAC,KAAK,GAAG;YACvB;QACJ;IACJ,OACK;QACD,IAAI,0MAAU,CAAC,CAAC,IAAI,0MAAU,CAAC,CAAC,EAAE;YAC9B,OAAO;QACX,OACK;YACD,0MAAU,CAAC,CAAC,GAAG,0MAAU,CAAC,CAAC,GAAG;YAC9B,OAAO;gBACH,0MAAU,CAAC,CAAC,GAAG,0MAAU,CAAC,CAAC,GAAG;YAClC;QACJ;IACJ;AACJ","ignoreList":[0]}}, - {"offset": {"line": 9576, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/events/add-dom-event.mjs"],"sourcesContent":["function addDomEvent(target, eventName, handler, options = { passive: true }) {\n target.addEventListener(eventName, handler, options);\n return () => target.removeEventListener(eventName, handler);\n}\n\nexport { addDomEvent };\n"],"names":[],"mappings":";;;;AAAA,SAAS,YAAY,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,UAAU;IAAE,SAAS;AAAK,CAAC;IACxE,OAAO,gBAAgB,CAAC,WAAW,SAAS;IAC5C,OAAO,IAAM,OAAO,mBAAmB,CAAC,WAAW;AACvD","ignoreList":[0]}}, - {"offset": {"line": 9591, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.mjs"],"sourcesContent":["const isPrimaryPointer = (event) => {\n if (event.pointerType === \"mouse\") {\n return typeof event.button !== \"number\" || event.button <= 0;\n }\n else {\n /**\n * isPrimary is true for all mice buttons, whereas every touch point\n * is regarded as its own input. So subsequent concurrent touch points\n * will be false.\n *\n * Specifically match against false here as incomplete versions of\n * PointerEvents in very old browser might have it set as undefined.\n */\n return event.isPrimary !== false;\n }\n};\n\nexport { isPrimaryPointer };\n"],"names":[],"mappings":";;;;AAAA,MAAM,mBAAmB,CAAC;IACtB,IAAI,MAAM,WAAW,KAAK,SAAS;QAC/B,OAAO,OAAO,MAAM,MAAM,KAAK,YAAY,MAAM,MAAM,IAAI;IAC/D,OACK;QACD;;;;;;;SAOC,GACD,OAAO,MAAM,SAAS,KAAK;IAC/B;AACJ","ignoreList":[0]}}, - {"offset": {"line": 9614, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/events/event-info.mjs"],"sourcesContent":["import { isPrimaryPointer } from 'motion-dom';\n\nfunction extractEventInfo(event) {\n return {\n point: {\n x: event.pageX,\n y: event.pageY,\n },\n };\n}\nconst addPointerInfo = (handler) => {\n return (event) => isPrimaryPointer(event) && handler(event, extractEventInfo(event));\n};\n\nexport { addPointerInfo, extractEventInfo };\n"],"names":[],"mappings":";;;;;;AAAA;;AAEA,SAAS,iBAAiB,KAAK;IAC3B,OAAO;QACH,OAAO;YACH,GAAG,MAAM,KAAK;YACd,GAAG,MAAM,KAAK;QAClB;IACJ;AACJ;AACA,MAAM,iBAAiB,CAAC;IACpB,OAAO,CAAC,QAAU,IAAA,oNAAgB,EAAC,UAAU,QAAQ,OAAO,iBAAiB;AACjF","ignoreList":[0]}}, - {"offset": {"line": 9638, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/events/add-pointer-event.mjs"],"sourcesContent":["import { addDomEvent } from './add-dom-event.mjs';\nimport { addPointerInfo } from './event-info.mjs';\n\nfunction addPointerEvent(target, eventName, handler, options) {\n return addDomEvent(target, eventName, addPointerInfo(handler), options);\n}\n\nexport { addPointerEvent };\n"],"names":[],"mappings":";;;;AAAA;AACA;;;AAEA,SAAS,gBAAgB,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO;IACxD,OAAO,IAAA,kMAAW,EAAC,QAAQ,WAAW,IAAA,+LAAc,EAAC,UAAU;AACnE","ignoreList":[0]}}, - {"offset": {"line": 9654, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.mjs"],"sourcesContent":["import { mixNumber } from 'motion-dom';\n\nconst SCALE_PRECISION = 0.0001;\nconst SCALE_MIN = 1 - SCALE_PRECISION;\nconst SCALE_MAX = 1 + SCALE_PRECISION;\nconst TRANSLATE_PRECISION = 0.01;\nconst TRANSLATE_MIN = 0 - TRANSLATE_PRECISION;\nconst TRANSLATE_MAX = 0 + TRANSLATE_PRECISION;\nfunction calcLength(axis) {\n return axis.max - axis.min;\n}\nfunction isNear(value, target, maxDistance) {\n return Math.abs(value - target) <= maxDistance;\n}\nfunction calcAxisDelta(delta, source, target, origin = 0.5) {\n delta.origin = origin;\n delta.originPoint = mixNumber(source.min, source.max, delta.origin);\n delta.scale = calcLength(target) / calcLength(source);\n delta.translate =\n mixNumber(target.min, target.max, delta.origin) - delta.originPoint;\n if ((delta.scale >= SCALE_MIN && delta.scale <= SCALE_MAX) ||\n isNaN(delta.scale)) {\n delta.scale = 1.0;\n }\n if ((delta.translate >= TRANSLATE_MIN &&\n delta.translate <= TRANSLATE_MAX) ||\n isNaN(delta.translate)) {\n delta.translate = 0.0;\n }\n}\nfunction calcBoxDelta(delta, source, target, origin) {\n calcAxisDelta(delta.x, source.x, target.x, origin ? origin.originX : undefined);\n calcAxisDelta(delta.y, source.y, target.y, origin ? origin.originY : undefined);\n}\nfunction calcRelativeAxis(target, relative, parent) {\n target.min = parent.min + relative.min;\n target.max = target.min + calcLength(relative);\n}\nfunction calcRelativeBox(target, relative, parent) {\n calcRelativeAxis(target.x, relative.x, parent.x);\n calcRelativeAxis(target.y, relative.y, parent.y);\n}\nfunction calcRelativeAxisPosition(target, layout, parent) {\n target.min = layout.min - parent.min;\n target.max = target.min + calcLength(layout);\n}\nfunction calcRelativePosition(target, layout, parent) {\n calcRelativeAxisPosition(target.x, layout.x, parent.x);\n calcRelativeAxisPosition(target.y, layout.y, parent.y);\n}\n\nexport { calcAxisDelta, calcBoxDelta, calcLength, calcRelativeAxis, calcRelativeAxisPosition, calcRelativeBox, calcRelativePosition, isNear };\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA;;AAEA,MAAM,kBAAkB;AACxB,MAAM,YAAY,IAAI;AACtB,MAAM,YAAY,IAAI;AACtB,MAAM,sBAAsB;AAC5B,MAAM,gBAAgB,IAAI;AAC1B,MAAM,gBAAgB,IAAI;AAC1B,SAAS,WAAW,IAAI;IACpB,OAAO,KAAK,GAAG,G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AiB,OAAO,CAAC,EAAE,SAAS,CAAC,EAAE,OAAO,CAAC;AACnD;AACA,SAAS,yBAAyB,MAAM,EAAE,MAAM,EAAE,MAAM;IACpD,OAAO,GAAG,GAAG,OAAO,GAAG,GAAG,OAAO,GAAG;IACpC,OAAO,GAAG,GAAG,OAAO,GAAG,GAAG,WAAW;AACzC;AACA,SAAS,qBAAqB,MAAM,EAAE,MAAM,EAAE,MAAM;IAChD,yBAAyB,OAAO,CAAC,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC;IACrD,yBAAyB,OAAO,CAAC,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC;AACzD","ignoreList":[0]}}, - {"offset": {"line": 9723, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/projection/utils/each-axis.mjs"],"sourcesContent":["function eachAxis(callback) {\n return [callback(\"x\"), callback(\"y\")];\n}\n\nexport { eachAxis };\n"],"names":[],"mappings":";;;;AAAA,SAAS,SAAS,QAAQ;IACtB,OAAO;QAAC,SAAS;QAAM,SAAS;KAAK;AACzC","ignoreList":[0]}}, - {"offset": {"line": 9738, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/utils/get-context-window.mjs"],"sourcesContent":["// Fixes https://github.com/motiondivision/motion/issues/2270\nconst getContextWindow = ({ current }) => {\n return current ? current.ownerDocument.defaultView : null;\n};\n\nexport { getContextWindow };\n"],"names":[],"mappings":";;;;AAAA,6DAA6D;AAC7D,MAAM,mBAAmB,CAAC,EAAE,OAAO,EAAE;IACjC,OAAO,UAAU,QAAQ,aAAa,CAAC,WAAW,GAAG;AACzD","ignoreList":[0]}}, - {"offset": {"line": 9751, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/utils/distance.mjs"],"sourcesContent":["const distance = (a, b) => Math.abs(a - b);\nfunction distance2D(a, b) {\n // Multi-dimensional\n const xDelta = distance(a.x, b.x);\n const yDelta = distance(a.y, b.y);\n return Math.sqrt(xDelta ** 2 + yDelta ** 2);\n}\n\nexport { distance, distance2D };\n"],"names":[],"mappings":";;;;;;AAAA,MAAM,WAAW,CAAC,GAAG,IAAM,KAAK,GAAG,CAAC,IAAI;AACxC,SAAS,WAAW,CAAC,EAAE,CAAC;IACpB,oBAAoB;IACpB,MAAM,SAAS,SAAS,EAAE,CAAC,EAAE,EAAE,CAAC;IAChC,MAAM,SAAS,SAAS,EAAE,CAAC,EAAE,EAAE,CAAC;IAChC,OAAO,KAAK,IAAI,CAAC,UAAU,IAAI,UAAU;AAC7C","ignoreList":[0]}}, - {"offset": {"line": 9769, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/gestures/pan/PanSession.mjs"],"sourcesContent":["import { frame, isPrimaryPointer, cancelFrame, frameData } from 'motion-dom';\nimport { pipe, secondsToMilliseconds, millisecondsToSeconds } from 'motion-utils';\nimport { addPointerEvent } from '../../events/add-pointer-event.mjs';\nimport { extractEventInfo } from '../../events/event-info.mjs';\nimport { distance2D } from '../../utils/distance.mjs';\n\n/**\n * @internal\n */\nclass PanSession {\n constructor(event, handlers, { transformPagePoint, contextWindow = window, dragSnapToOrigin = false, distanceThreshold = 3, } = {}) {\n /**\n * @internal\n */\n this.startEvent = null;\n /**\n * @internal\n */\n this.lastMoveEvent = null;\n /**\n * @internal\n */\n this.lastMoveEventInfo = null;\n /**\n * @internal\n */\n this.handlers = {};\n /**\n * @internal\n */\n this.contextWindow = window;\n this.updatePoint = () => {\n if (!(this.lastMoveEvent && this.lastMoveEventInfo))\n return;\n const info = getPanInfo(this.lastMoveEventInfo, this.history);\n const isPanStarted = this.startEvent !== null;\n // Only start panning if the offset is larger than 3 pixels. If we make it\n // any larger than this we'll want to reset the pointer history\n // on the first update to avoid visual snapping to the cursor.\n const isDistancePastThreshold = distance2D(info.offset, { x: 0, y: 0 }) >= this.distanceThreshold;\n if (!isPanStarted && !isDistancePastThreshold)\n return;\n const { point } = info;\n const { timestamp } = frameData;\n this.history.push({ ...point, timestamp });\n const { onStart, onMove } = this.handlers;\n if (!isPanStarted) {\n onStart && onStart(this.lastMoveEvent, info);\n this.startEvent = this.lastMoveEvent;\n }\n onMove && onMove(this.lastMoveEvent, info);\n };\n this.handlePointerMove = (event, info) => {\n this.lastMoveEvent = event;\n this.lastMoveEventInfo = transformPoint(info, this.transformPagePoint);\n // Throttle mouse move event to once per frame\n frame.update(this.updatePoint, true);\n };\n this.handlePointerUp = (event, info) => {\n this.end();\n const { onEnd, onSessionEnd, resumeAnimation } = this.handlers;\n if (this.dragSnapToOrigin)\n resumeAnimation && resumeAnimation();\n if (!(this.lastMoveEvent && this.lastMoveEventInfo))\n return;\n const panInfo = getPanInfo(event.type === \"pointercancel\"\n ? this.lastMoveEventInfo\n : transformPoint(info, this.transformPagePoint), this.history);\n if (this.startEvent && onEnd) {\n onEnd(event, panInfo);\n }\n onSessionEnd && onSessionEnd(event, panInfo);\n };\n // If we have more than one touch, don't start detecting this gesture\n if (!isPrimaryPointer(event))\n return;\n this.dragSnapToOrigin = dragSnapToOrigin;\n this.handlers = handlers;\n this.transformPagePoint = transformPagePoint;\n this.distanceThreshold = distanceThreshold;\n this.contextWindow = contextWindow || window;\n const info = extractEventInfo(event);\n const initialInfo = transformPoint(info, this.transformPagePoint);\n const { point } = initialInfo;\n const { timestamp } = frameData;\n this.history = [{ ...point, timestamp }];\n const { onSessionStart } = handlers;\n onSessionStart &&\n onSessionStart(event, getPanInfo(initialInfo, this.history));\n this.removeListeners = pipe(addPointerEvent(this.contextWindow, \"pointermove\", this.handlePointerMove), addPointerEvent(this.contextWindow, \"pointerup\", this.handlePointerUp), addPointerEvent(this.contextWindow, \"pointercancel\", this.handlePointerUp));\n }\n updateHandlers(handlers) {\n this.handlers = handlers;\n }\n end() {\n this.removeListeners && this.removeListeners();\n cancelFrame(this.updatePoint);\n }\n}\nfunction transformPoint(info, transformPagePoint) {\n return transformPagePoint ? { point: transformPagePoint(info.point) } : info;\n}\nfunction subtractPoint(a, b) {\n return { x: a.x - b.x, y: a.y - b.y };\n}\nfunction getPanInfo({ point }, history) {\n return {\n point,\n delta: subtractPoint(point, lastDevicePoint(history)),\n offset: subtractPoint(point, startDevicePoint(history)),\n velocity: getVelocity(history, 0.1),\n };\n}\nfunction startDevicePoint(history) {\n return history[0];\n}\nfunction lastDevicePoint(history) {\n return history[history.length - 1];\n}\nfunction getVelocity(history, timeDelta) {\n if (history.length < 2) {\n return { x: 0, y: 0 };\n }\n let i = history.length - 1;\n let timestampedPoint = null;\n const lastPoint = lastDevicePoint(history);\n while (i >= 0) {\n timestampedPoint = history[i];\n if (lastPoint.timestamp - timestampedPoint.timestamp >\n secondsToMilliseconds(timeDelta)) {\n break;\n }\n i--;\n }\n if (!timestampedPoint) {\n return { x: 0, y: 0 };\n }\n const time = millisecondsToSeconds(lastPoint.timestamp - timestampedPoint.timestamp);\n if (time === 0) {\n return { x: 0, y: 0 };\n }\n const currentVelocity = {\n x: (lastPoint.x - timestampedPoint.x) / time,\n y: (lastPoint.y - timestampedPoint.y) / time,\n };\n if (currentVelocity.x === Infinity) {\n currentVelocity.x = 0;\n }\n if (currentVelocity.y === Infinity) {\n currentVelocity.y = 0;\n }\n return currentVelocity;\n}\n\nexport { PanSession };\n"],"names":[],"mappings":";;;;AAAA;AAAA;AACA;AAAA;AACA;AACA;AACA;;;;;;AAEA;;CAEC,GACD,MAAM;IACF,YAAY,KAAK,EAAE,QAAQ,EAAE,EAAE,kBAAkB,EAAE,gBAAgB,MAAM,EAAE,mBAAmB,KAAK,EAAE,oBAAoB,CAAC,EAAG,GAAG,CAAC,CAAC,CAAE;QAChI;;SAEC,GACD,IAAI,CAAC,UAAU,GAAG;QAClB;;SAEC,GACD,IAAI,CAAC,aAAa,GAAG;QACrB;;SAEC,GACD,IAAI,CAAC,iBAAiB,GAAG;QACzB;;SAEC,GACD,IAAI,CA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GAAG;QACZ,OAAO;YAAE,GAAG;YAAG,GAAG;QAAE;IACxB;IACA,MAAM,kBAAkB;QACpB,GAAG,CAAC,UAAU,CAAC,GAAG,iBAAiB,CAAC,IAAI;QACxC,GAAG,CAAC,UAAU,CAAC,GAAG,iBAAiB,CAAC,IAAI;IAC5C;IACA,IAAI,gBAAgB,CAAC,KAAK,UAAU;QAChC,gBAAgB,CAAC,GAAG;IACxB;IACA,IAAI,gBAAgB,CAAC,KAAK,UAAU;QAChC,gBAAgB,CAAC,GAAG;IACxB;IACA,OAAO;AACX","ignoreList":[0]}}, - {"offset": {"line": 9947, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.mjs"],"sourcesContent":["import { mixNumber } from 'motion-dom';\nimport { progress, clamp } from 'motion-utils';\nimport { calcLength } from '../../../projection/geometry/delta-calc.mjs';\n\n/**\n * Apply constraints to a point. These constraints are both physical along an\n * axis, and an elastic factor that determines how much to constrain the point\n * by if it does lie outside the defined parameters.\n */\nfunction applyConstraints(point, { min, max }, elastic) {\n if (min !== undefined && point < min) {\n // If we have a min point defined, and this is outside of that, constrain\n point = elastic\n ? mixNumber(min, point, elastic.min)\n : Math.max(point, min);\n }\n else if (max !== undefined && point > max) {\n // If we have a max point defined, and this is outside of that, constrain\n point = elastic\n ? mixNumber(max, point, elastic.max)\n : Math.min(point, max);\n }\n return point;\n}\n/**\n * Calculate constraints in terms of the viewport when defined relatively to the\n * measured axis. This is measured from the nearest edge, so a max constraint of 200\n * on an axis with a max value of 300 would return a constraint of 500 - axis length\n */\nfunction calcRelativeAxisConstraints(axis, min, max) {\n return {\n min: min !== undefined ? axis.min + min : undefined,\n max: max !== undefined\n ? axis.max + max - (axis.max - axis.min)\n : undefined,\n };\n}\n/**\n * Calculate constraints in terms of the viewport when\n * defined relatively to the measured bounding box.\n */\nfunction calcRelativeConstraints(layoutBox, { top, left, bottom, right }) {\n return {\n x: calcRelativeAxisConstraints(layoutBox.x, left, right),\n y: calcRelativeAxisConstraints(layoutBox.y, top, bottom),\n };\n}\n/**\n * Calculate viewport constraints when defined as another viewport-relative axis\n */\nfunction calcViewportAxisConstraints(layoutAxis, constraintsAxis) {\n let min = constraintsAxis.min - layoutAxis.min;\n let max = constraintsAxis.max - layoutAxis.max;\n // If the constraints axis is actually smaller than the layout axis then we can\n // flip the constraints\n if (constraintsAxis.max - constraintsAxis.min <\n layoutAxis.max - layoutAxis.min) {\n [min, max] = [max, min];\n }\n return { min, max };\n}\n/**\n * Calculate viewport constraints when defined as another viewport-relative box\n */\nfunction calcViewportConstraints(layoutBox, constraintsBox) {\n return {\n x: calcViewportAxisConstraints(layoutBox.x, constraintsBox.x),\n y: calcViewportAxisConstraints(layoutBox.y, constraintsBox.y),\n };\n}\n/**\n * Calculate a transform origin relative to the source axis, between 0-1, that results\n * in an asthetically pleasing scale/transform needed to project from source to target.\n */\nfunction calcOrigin(source, target) {\n let origin = 0.5;\n const sourceLength = calcLength(source);\n const targetLength = calcLength(target);\n if (targetLength > sourceLength) {\n origin = progress(target.min, target.max - sourceLength, source.min);\n }\n else if (sourceLength > targetLength) {\n origin = progress(source.min, source.max - targetLength, target.min);\n }\n return clamp(0, 1, origin);\n}\n/**\n * Rebase the calculated viewport constraints relative to the layout.min point.\n */\nfunction rebaseAxisConstraints(layout, constraints) {\n const relativeConstraints = {};\n if (constraints.min !== undefined) {\n relativeConstraints.min = constraints.min - layout.min;\n }\n if (constraints.max !== undefined) {\n relativeConstraints.max = constraints.max - layout.min;\n }\n return relativeConstraints;\n}\nconst defaultElastic = 0.35;\n/**\n * Accepts a dragElastic prop and returns resolved elastic values for each axis.\n */\nfunction resolveDragElastic(dragElastic = defaultElastic) {\n if (dragElastic === false) {\n dragElastic = 0;\n }\n else if (dragElastic === true) {\n dragElastic = defaultElastic;\n }\n return {\n x: resolveAxisElastic(dragElastic, \"left\", \"right\"),\n y: resolveAxisElastic(dragElastic, \"top\", \"bottom\"),\n };\n}\nfunction resolveAxisElastic(dragElastic, minLabel, maxLabel) {\n return {\n min: resolvePointElastic(dragElastic, minLabel),\n max: resolvePointElastic(dragElastic, maxLabel),\n };\n}\nfunction resolvePointElastic(dragElastic, label) {\n return typeof dragElastic === \"number\"\n ? dragElastic\n : dragElastic[label] || 0;\n}\n\nexport { applyConstraints, calcOrigin, calcRelativeAxisConstraints, calcRelativeConstraints, calcViewportAxisConstraints, calcViewportConstraints, defaultElastic, rebaseAxisConstraints, resolveAxisElastic, resolveDragElastic, resolvePointElastic };\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AAAA;AACA;;;;AAEA;;;;CAIC,GACD,SAAS,iBAAiB,KAAK,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,OAAO;IAClD,IAAI,QAAQ,aAAa,QAAQ,KAAK;QAClC,yEAAyE;QACzE,QAAQ,UACF,IAAA,sLAAS,EAAC,KAAK,OAAO,QAAQ,GAAG,IACjC,KAAK,GAAG,CAAC,OAAO;IAC1B,OACK,IAAI,QAAQ,aAAa,QAAQ,KAAK;QACvC,yEAAyE;QACzE,QAAQ,UACF,IAAA,sLAAS,EAAC,KAAK,OAAO,QAAQ,GAAG,IACjC,KAAK,GAAG,CAAC,OAAO;IAC1B;IACA,OAAO;AACX;AACA;;;;CAIC,GACD,SAAS,4BAA4B,IAAI,EAAE,GAAG,EAAE,GAAG;IAC/C,OAAO;QACH,KAAK,QAAQ,YAAY,KAAK,GAAG,GAAG,MAAM;QAC1C,KAAK,QAAQ,YACP,KAAK,GAAG,GAAG,MAAM,CAAC,KAAK,GAAG,GAAG,KAAK,GAAG,IACrC;IACV;AACJ;AACA;;;CAGC,GACD,SAAS,wBAAwB,SAAS,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE;IACpE,OAAO;QACH,GAAG,4BAA4B,UAAU,CAAC,EAAE,MAAM;QAClD,GAAG,4BAA4B,UAAU,CA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AY,GAAG,GAAG,OAAO,GAAG;IAC1D;IACA,OAAO;AACX;AACA,MAAM,iBAAiB;AACvB;;CAEC,GACD,SAAS,mBAAmB,cAAc,cAAc;IACpD,IAAI,gBAAgB,OAAO;QACvB,cAAc;IAClB,OACK,IAAI,gBAAgB,MAAM;QAC3B,cAAc;IAClB;IACA,OAAO;QACH,GAAG,mBAAmB,aAAa,QAAQ;QAC3C,GAAG,mBAAmB,aAAa,OAAO;IAC9C;AACJ;AACA,SAAS,mBAAmB,WAAW,EAAE,QAAQ,EAAE,QAAQ;IACvD,OAAO;QACH,KAAK,oBAAoB,aAAa;QACtC,KAAK,oBAAoB,aAAa;IAC1C;AACJ;AACA,SAAS,oBAAoB,WAAW,EAAE,KAAK;IAC3C,OAAO,OAAO,gBAAgB,WACxB,cACA,WAAW,CAAC,MAAM,IAAI;AAChC","ignoreList":[0]}}, - {"offset": {"line": 10091, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.mjs"],"sourcesContent":["import { frame, mixNumber, setDragLock, percent } from 'motion-dom';\nimport { invariant } from 'motion-utils';\nimport { animateMotionValue } from '../../animation/interfaces/motion-value.mjs';\nimport { addDomEvent } from '../../events/add-dom-event.mjs';\nimport { addPointerEvent } from '../../events/add-pointer-event.mjs';\nimport { extractEventInfo } from '../../events/event-info.mjs';\nimport { convertBoxToBoundingBox, convertBoundingBoxToBox } from '../../projection/geometry/conversion.mjs';\nimport { calcLength } from '../../projection/geometry/delta-calc.mjs';\nimport { createBox } from '../../projection/geometry/models.mjs';\nimport { eachAxis } from '../../projection/utils/each-axis.mjs';\nimport { measurePageBox } from '../../projection/utils/measure.mjs';\nimport { getContextWindow } from '../../utils/get-context-window.mjs';\nimport { isRefObject } from '../../utils/is-ref-object.mjs';\nimport { addValueToWillChange } from '../../value/use-will-change/add-will-change.mjs';\nimport { PanSession } from '../pan/PanSession.mjs';\nimport { applyConstraints, calcRelativeConstraints, resolveDragElastic, rebaseAxisConstraints, calcViewportConstraints, calcOrigin, defaultElastic } from './utils/constraints.mjs';\n\nconst elementDragControls = new WeakMap();\nclass VisualElementDragControls {\n constructor(visualElement) {\n this.openDragLock = null;\n this.isDragging = false;\n this.currentDirection = null;\n this.originPoint = { x: 0, y: 0 };\n /**\n * The permitted boundaries of travel, in pixels.\n */\n this.constraints = false;\n this.hasMutatedConstraints = false;\n /**\n * The per-axis resolved elastic values.\n */\n this.elastic = createBox();\n /**\n * The latest pointer event. Used as fallback when the `cancel` and `stop` functions are called without arguments.\n */\n this.latestPointerEvent = null;\n /**\n * The latest pan info. Used as fallback when the `cancel` and `stop` functions are called without arguments.\n */\n this.latestPanInfo = null;\n this.visualElement = visualElement;\n }\n start(originEvent, { snapToCursor = false, distanceThreshold } = {}) {\n /**\n * Don't start dragging if this component is exiting\n */\n const { presenceContext } = this.visualElement;\n if (presenceContext && presenceContext.isPresent === false)\n return;\n const onSessionStart = (event) => {\n const { dragSnapToOrigin } = this.getProps();\n // Stop or pause any animations on both axis values immediately. This allows the user to throw and catch\n // the component.\n dragSnapToOrigin ? this.pauseAnimation() : this.stopAnimation();\n if (snapToCursor) {\n this.snapToCursor(extractEventInfo(event).point);\n }\n };\n const onStart = (event, info) => {\n // Attempt to grab the global drag gesture lock - maybe make this part of PanSession\n const { drag, dragPropagation, onDragStart } = this.getProps();\n if (drag && !dragPropagation) {\n if (this.openDragLock)\n this.openDragLock();\n this.openDragLock = setDragLock(drag);\n // If we don 't have the lock, don't start dragging\n if (!this.openDragLock)\n return;\n }\n this.latestPointerEvent = event;\n this.latestPanInfo = info;\n this.isDragging = true;\n this.currentDirection = null;\n this.resolveConstraints();\n if (this.visualElement.projection) {\n this.visualElement.projection.isAnimationBlocked = true;\n this.visualElement.projection.target = undefined;\n }\n /**\n * Record gesture origin\n */\n eachAxis((axis) => {\n let current = this.getAxisMotionValue(axis).get() || 0;\n /**\n * If the MotionValue is a percentage value convert to px\n */\n if (percent.test(current)) {\n const { projection } = this.visualElement;\n if (projection && projection.layout) {\n const measuredAxis = projection.layout.layoutBox[axis];\n if (measuredAxis) {\n const length = calcLength(measuredAxis);\n current = length * (parseFloat(current) / 100);\n }\n }\n }\n this.originPoint[axis] = current;\n });\n // Fire onDragStart event\n if (onDragStart) {\n frame.postRender(() => onDragStart(event, info));\n }\n addValueToWillChange(this.visualElement, \"transform\");\n const { animationState } = this.visualElement;\n animationState && animationState.setActive(\"whileDrag\", true);\n };\n const onMove = (event, info) => {\n this.latestPointerEvent = event;\n this.latestPanInfo = info;\n const { dragPropagation, dragDirectionLock, onDirectionLock, onDrag, } = this.getProps();\n // If we didn't successfully receive the gesture lock, early return.\n if (!dragPropagation && !this.openDragLock)\n return;\n const { offset } = info;\n // Attempt to detect drag direction if directionLock is true\n if (dragDirectionLock && this.currentDirection === null) {\n this.currentDirection = getCurrentDirection(offset);\n // If we've successfully set a direction, notify listener\n if (this.currentDirection !== null) {\n onDirectionLock && onDirectionLock(this.currentDirection);\n }\n return;\n }\n // Update each point with the latest position\n this.updateAxis(\"x\", info.point, offset);\n this.updateAxis(\"y\", info.point, offset);\n /**\n * Ideally we would leave the renderer to fire naturally at the end of\n * this frame but if the element is about to change layout as the result\n * of a re-render we want to ensure the browser can read the latest\n * bounding box to ensure the pointer and element don't fall out of sync.\n */\n this.visualElement.render();\n /**\n * This must fire after the render call as it might trigger a state\n * change which itself might trigger a layout update.\n */\n onDrag && onDrag(event, info);\n };\n const onSessionEnd = (event, info) => {\n this.latestPointerEvent = event;\n this.latestPanInfo = info;\n this.stop(event, info);\n this.latestPointerEvent = null;\n this.latestPanInfo = null;\n };\n const resumeAnimation = () => eachAxis((axis) => this.getAnimationState(axis) === \"paused\" &&\n this.getAxisMotionValue(axis).animation?.play());\n const { dragSnapToOrigin } = this.getProps();\n this.panSession = new PanSession(originEvent, {\n onSessionStart,\n onStart,\n onMove,\n onSessionEnd,\n resumeAnimation,\n }, {\n transformPagePoint: this.visualElement.getTransformPagePoint(),\n dragSnapToOrigin,\n distanceThreshold,\n contextWindow: getContextWindow(this.visualElement),\n });\n }\n /**\n * @internal\n */\n stop(event, panInfo) {\n const finalEvent = event || this.latestPointerEvent;\n const finalPanInfo = panInfo || this.latestPanInfo;\n const isDragging = this.isDragging;\n this.cancel();\n if (!isDragging || !finalPanInfo || !finalEvent)\n return;\n const { velocity } = finalPanInfo;\n this.startAnimation(velocity);\n const { onDragEnd } = this.getProps();\n if (onDragEnd) {\n frame.postRender(() => onDragEnd(finalEvent, finalPanInfo));\n }\n }\n /**\n * @internal\n */\n cancel() {\n this.isDragging = false;\n const { projection, animationState } = this.visualElement;\n if (projection) {\n projection.isAnimationBlocked = false;\n }\n this.panSession && this.panSession.end();\n this.panSession = undefined;\n const { dragPropagation } = this.getProps();\n if (!dragPropagation && this.openDragLock) {\n this.openDragLock();\n this.openDragLock = null;\n }\n animationState && animationState.setActive(\"whileDrag\", false);\n }\n updateAxis(axis, _point, offset) {\n const { drag } = this.getProps();\n // If we're not dragging this axis, do an early return.\n if (!offset || !shouldDrag(axis, drag, this.currentDirection))\n return;\n const axisValue = this.getAxisMotionValue(axis);\n let next = this.originPoint[axis] + offset[axis];\n // Apply constraints\n if (this.constraints && this.constraints[axis]) {\n next = applyConstraints(next, this.constraints[axis], this.elastic[axis]);\n }\n axisValue.set(next);\n }\n resolveConstraints() {\n const { dragConstraints, dragElastic } = this.getProps();\n const layout = this.visualElement.projection &&\n !this.visualElement.projection.layout\n ? this.visualElement.projection.measure(false)\n : this.visualElement.projection?.layout;\n const prevConstraints = this.constraints;\n if (dragConstraints && isRefObject(dragConstraints)) {\n if (!this.constraints) {\n this.constraints = this.resolveRefConstraints();\n }\n }\n else {\n if (dragConstraints && layout) {\n this.constraints = calcRelativeConstraints(layout.layoutBox, dragConstraints);\n }\n else {\n this.constraints = false;\n }\n }\n this.elastic = resolveDragElastic(dragElastic);\n /**\n * If we're outputting to external MotionValues, we want to rebase the measured constraints\n * from viewport-relative to component-relative.\n */\n if (prevConstraints !== this.constraints &&\n layout &&\n this.constraints &&\n !this.hasMutatedConstraints) {\n eachAxis((axis) => {\n if (this.constraints !== false &&\n this.getAxisMotionValue(axis)) {\n this.constraints[axis] = rebaseAxisConstraints(layout.layoutBox[axis], this.constraints[axis]);\n }\n });\n }\n }\n resolveRefConstraints() {\n const { dragConstraints: constraints, onMeasureDragConstraints } = this.getProps();\n if (!constraints || !isRefObject(constraints))\n return false;\n const constraintsElement = constraints.current;\n invariant(constraintsElement !== null, \"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.\", \"drag-constraints-ref\");\n const { projection } = this.visualElement;\n // TODO\n if (!projection || !projection.layout)\n return false;\n const constraintsBox = measurePageBox(constraintsElement, projection.root, this.visualElement.getTransformPagePoint());\n let measuredConstraints = calcViewportConstraints(projection.layout.layoutBox, constraintsBox);\n /**\n * If there's an onMeasureDragConstraints listener we call it and\n * if different constraints are returned, set constraints to that\n */\n if (onMeasureDragConstraints) {\n const userConstraints = onMeasureDragConstraints(convertBoxToBoundingBox(measuredConstraints));\n this.hasMutatedConstraints = !!userConstraints;\n if (userConstraints) {\n measuredConstraints = convertBoundingBoxToBox(userConstraints);\n }\n }\n return measuredConstraints;\n }\n startAnimation(velocity) {\n const { drag, dragMomentum, dragElastic, dragTransition, dragSnapToOrigin, onDragTransitionEnd, } = this.getProps();\n const constraints = this.constraints || {};\n const momentumAnimations = eachAxis((axis) => {\n if (!shouldDrag(axis, drag, this.currentDirection)) {\n return;\n }\n let transition = (constraints && constraints[axis]) || {};\n if (dragSnapToOrigin)\n transition = { min: 0, max: 0 };\n /**\n * Overdamp the boundary spring if `dragElastic` is disabled. There's still a frame\n * of spring animations so we should look into adding a disable spring option to `inertia`.\n * We could do something here where we affect the `bounceStiffness` and `bounceDamping`\n * using the value of `dragElastic`.\n */\n const bounceStiffness = dragElastic ? 200 : 1000000;\n const bounceDamping = dragElastic ? 40 : 10000000;\n const inertia = {\n type: \"inertia\",\n velocity: dragMomentum ? velocity[axis] : 0,\n bounceStiffness,\n bounceDamping,\n timeConstant: 750,\n restDelta: 1,\n restSpeed: 10,\n ...dragTransition,\n ...transition,\n };\n // If we're not animating on an externally-provided `MotionValue` we can use the\n // component's animation controls which will handle interactions with whileHover (etc),\n // otherwise we just have to animate the `MotionValue` itself.\n return this.startAxisValueAnimation(axis, inertia);\n });\n // Run all animations and then resolve the new drag constraints.\n return Promise.all(momentumAnimations).then(onDragTransitionEnd);\n }\n startAxisValueAnimation(axis, transition) {\n const axisValue = this.getAxisMotionValue(axis);\n addValueToWillChange(this.visualElement, axis);\n return axisValue.start(animateMotionValue(axis, axisValue, 0, transition, this.visualElement, false));\n }\n stopAnimation() {\n eachAxis((axis) => this.getAxisMotionValue(axis).stop());\n }\n pauseAnimation() {\n eachAxis((axis) => this.getAxisMotionValue(axis).animation?.pause());\n }\n getAnimationState(axis) {\n return this.getAxisMotionValue(axis).animation?.state;\n }\n /**\n * Drag works differently depending on which props are provided.\n *\n * - If _dragX and _dragY are provided, we output the gesture delta directly to those motion values.\n * - Otherwise, we apply the delta to the x/y motion values.\n */\n getAxisMotionValue(axis) {\n const dragKey = `_drag${axis.toUpperCase()}`;\n const props = this.visualElement.getProps();\n const externalMotionValue = props[dragKey];\n return externalMotionValue\n ? externalMotionValue\n : this.visualElement.getValue(axis, (props.initial\n ? props.initial[axis]\n : undefined) || 0);\n }\n snapToCursor(point) {\n eachAxis((axis) => {\n const { drag } = this.getProps();\n // If we're not dragging this axis, do an early return.\n if (!shouldDrag(axis, drag, this.currentDirection))\n return;\n const { projection } = this.visualElement;\n const axisValue = this.getAxisMotionValue(axis);\n if (projection && projection.layout) {\n const { min, max } = projection.layout.layoutBox[axis];\n axisValue.set(point[axis] - mixNumber(min, max, 0.5));\n }\n });\n }\n /**\n * When the viewport resizes we want to check if the measured constraints\n * have changed and, if so, reposition the element within those new constraints\n * relative to where it was before the resize.\n */\n scalePositionWithinConstraints() {\n if (!this.visualElement.current)\n return;\n const { drag, dragConstraints } = this.getProps();\n const { projection } = this.visualElement;\n if (!isRefObject(dragConstraints) || !projection || !this.constraints)\n return;\n /**\n * Stop current animations as there can be visual glitching if we try to do\n * this mid-animation\n */\n this.stopAnimation();\n /**\n * Record the relative position of the dragged element relative to the\n * constraints box and save as a progress value.\n */\n const boxProgress = { x: 0, y: 0 };\n eachAxis((axis) => {\n const axisValue = this.getAxisMotionValue(axis);\n if (axisValue && this.constraints !== false) {\n const latest = axisValue.get();\n boxProgress[axis] = calcOrigin({ min: latest, max: latest }, this.constraints[axis]);\n }\n });\n /**\n * Update the layout of this element and resolve the latest drag constraints\n */\n const { transformTemplate } = this.visualElement.getProps();\n this.visualElement.current.style.transform = transformTemplate\n ? transformTemplate({}, \"\")\n : \"none\";\n projection.root && projection.root.updateScroll();\n projection.updateLayout();\n this.resolveConstraints();\n /**\n * For each axis, calculate the current progress of the layout axis\n * within the new constraints.\n */\n eachAxis((axis) => {\n if (!shouldDrag(axis, drag, null))\n return;\n /**\n * Calculate a new transform based on the previous box progress\n */\n const axisValue = this.getAxisMotionValue(axis);\n const { min, max } = this.constraints[axis];\n axisValue.set(mixNumber(min, max, boxProgress[axis]));\n });\n }\n addListeners() {\n if (!this.visualElement.current)\n return;\n elementDragControls.set(this.visualElement, this);\n const element = this.visualElement.current;\n /**\n * Attach a pointerdown event listener on this DOM element to initiate drag tracking.\n */\n const stopPointerListener = addPointerEvent(element, \"pointerdown\", (event) => {\n const { drag, dragListener = true } = this.getProps();\n drag && dragListener && this.start(event);\n });\n const measureDragConstraints = () => {\n const { dragConstraints } = this.getProps();\n if (isRefObject(dragConstraints) && dragConstraints.current) {\n this.constraints = this.resolveRefConstraints();\n }\n };\n const { projection } = this.visualElement;\n const stopMeasureLayoutListener = projection.addEventListener(\"measure\", measureDragConstraints);\n if (projection && !projection.layout) {\n projection.root && projection.root.updateScroll();\n projection.updateLayout();\n }\n frame.read(measureDragConstraints);\n /**\n * Attach a window resize listener to scale the draggable target within its defined\n * constraints as the window resizes.\n */\n const stopResizeListener = addDomEvent(window, \"resize\", () => this.scalePositionWithinConstraints());\n /**\n * If the element's layout changes, calculate the delta and apply that to\n * the drag gesture's origin point.\n */\n const stopLayoutUpdateListener = projection.addEventListener(\"didUpdate\", (({ delta, hasLayoutChanged }) => {\n if (this.isDragging && hasLayoutChanged) {\n eachAxis((axis) => {\n const motionValue = this.getAxisMotionValue(axis);\n if (!motionValue)\n return;\n this.originPoint[axis] += delta[axis].translate;\n motionValue.set(motionValue.get() + delta[axis].translate);\n });\n this.visualElement.render();\n }\n }));\n return () => {\n stopResizeListener();\n stopPointerListener();\n stopMeasureLayoutListener();\n stopLayoutUpdateListener && stopLayoutUpdateListener();\n };\n }\n getProps() {\n const props = this.visualElement.getProps();\n const { drag = false, dragDirectionLock = false, dragPropagation = false, dragConstraints = false, dragElastic = defaultElastic, dragMomentum = true, } = props;\n return {\n ...props,\n drag,\n dragDirectionLock,\n dragPropagation,\n dragConstraints,\n dragElastic,\n dragMomentum,\n };\n }\n}\nfunction shouldDrag(direction, drag, currentDirection) {\n return ((drag === true || drag === direction) &&\n (currentDirection === null || currentDirection === direction));\n}\n/**\n * Based on an x/y offset determine the current drag direction. If both axis' offsets are lower\n * than the provided threshold, return `null`.\n *\n * @param offset - The x/y offset from origin.\n * @param lockThreshold - (Optional) - the minimum absolute offset before we can determine a drag direction.\n */\nfunction getCurrentDirection(offset, lockThreshold = 10) {\n let direction = null;\n if (Math.abs(offset.y) > lockThreshold) {\n direction = \"y\";\n }\n else if (Math.abs(offset.x) > lockThreshold) {\n direction = \"x\";\n }\n return direction;\n}\n\nexport { VisualElementDragControls, elementDragControls };\n"],"names":[],"mappings":";;;;;;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;AAEA,MAAM,sBAAsB,IAAI;AAChC,MAAM;IACF,YAAY,aAAa,CAAE;QACvB,IAAI,CAAC,YAAY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CAAC,IAAI,eAAe;QACzC,YAAY;IAChB;IACA,OAAO;AACX","ignoreList":[0]}}, - {"offset": {"line": 10570, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/gestures/drag/index.mjs"],"sourcesContent":["import { Feature } from '../../motion/features/Feature.mjs';\nimport { noop } from 'motion-utils';\nimport { VisualElementDragControls } from './VisualElementDragControls.mjs';\n\nclass DragGesture extends Feature {\n constructor(node) {\n super(node);\n this.removeGroupControls = noop;\n this.removeListeners = noop;\n this.controls = new VisualElementDragControls(node);\n }\n mount() {\n // If we've been provided a DragControls for manual control over the drag gesture,\n // subscribe this component to it on mount.\n const { dragControls } = this.node.getProps();\n if (dragControls) {\n this.removeGroupControls = dragControls.subscribe(this.controls);\n }\n this.removeListeners = this.controls.addListeners() || noop;\n }\n unmount() {\n this.removeGroupControls();\n this.removeListeners();\n }\n}\n\nexport { DragGesture };\n"],"names":[],"mappings":";;;;AAAA;AACA;AACA;;;;AAEA,MAAM,oBAAoB,8LAAO;IAC7B,YAAY,IAAI,CAAE;QACd,KAAK,CAAC;QACN,IAAI,CAAC,mBAAmB,GAAG,iKAAI;QAC/B,IAAI,CAAC,eAAe,GAAG,iKAAI;QAC3B,IAAI,CAAC,QAAQ,GAAG,IAAI,gOAAyB,CAAC;IAClD;IACA,QAAQ;QACJ,kFAAkF;QAClF,2CAA2C;QAC3C,MAAM,EAAE,YAAY,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC,QAAQ;QAC3C,IAAI,cAAc;YACd,IAAI,CAAC,mBAAmB,GAAG,aAAa,SAAS,CAAC,IAAI,CAAC,QAAQ;QACnE;QACA,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,QAAQ,CAAC,YAAY,MAAM,iKAAI;IAC/D;IACA,UAAU;QACN,IAAI,CAAC,mBAAmB;QACxB,IAAI,CAAC,eAAe;IACxB;AACJ","ignoreList":[0]}}, - {"offset": {"line": 10606, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/gestures/pan/index.mjs"],"sourcesContent":["import { frame } from 'motion-dom';\nimport { noop } from 'motion-utils';\nimport { addPointerEvent } from '../../events/add-pointer-event.mjs';\nimport { Feature } from '../../motion/features/Feature.mjs';\nimport { getContextWindow } from '../../utils/get-context-window.mjs';\nimport { PanSession } from './PanSession.mjs';\n\nconst asyncHandler = (handler) => (event, info) => {\n if (handler) {\n frame.postRender(() => handler(event, info));\n }\n};\nclass PanGesture extends Feature {\n constructor() {\n super(...arguments);\n this.removePointerDownListener = noop;\n }\n onPointerDown(pointerDownEvent) {\n this.session = new PanSession(pointerDownEvent, this.createPanHandlers(), {\n transformPagePoint: this.node.getTransformPagePoint(),\n contextWindow: getContextWindow(this.node),\n });\n }\n createPanHandlers() {\n const { onPanSessionStart, onPanStart, onPan, onPanEnd } = this.node.getProps();\n return {\n onSessionStart: asyncHandler(onPanSessionStart),\n onStart: asyncHandler(onPanStart),\n onMove: onPan,\n onEnd: (event, info) => {\n delete this.session;\n if (onPanEnd) {\n frame.postRender(() => onPanEnd(event, info));\n }\n },\n };\n }\n mount() {\n this.removePointerDownListener = addPointerEvent(this.node.current, \"pointerdown\", (event) => this.onPointerDown(event));\n }\n update() {\n this.session && this.session.updateHandlers(this.createPanHandlers());\n }\n unmount() {\n this.removePointerDownListener();\n this.session && this.session.end();\n }\n}\n\nexport { PanGesture };\n"],"names":[],"mappings":";;;;AAAA;AACA;AACA;AACA;AACA;AACA;;;;;;;AAEA,MAAM,eAAe,CAAC,UAAY,CAAC,OAAO;QACtC,IAAI,SAAS;YACT,8KAAK,CAAC,UAAU,CAAC,IAAM,QAAQ,OAAO;QAC1C;IACJ;AACA,MAAM,mBAAmB,8LAAO;IAC5B,aAAc;QACV,KAAK,IAAI;QACT,IAAI,CAAC,yBAAyB,GAAG,iKAAI;IACzC;IACA,cAAc,gBAAgB,EAAE;QAC5B,IAAI,CAAC,OAAO,GAAG,IAAI,iMAAU,CAAC,kBAAkB,IAAI,CAAC,iBAAiB,IAAI;YACtE,oBAAoB,IAAI,CAAC,IAAI,CAAC,qBAAqB;YACnD,eAAe,IAAA,2MAAgB,EAAC,IAAI,CAAC,IAAI;QAC7C;IACJ;IACA,oBAAoB;QAChB,MAAM,EAAE,iBAAiB,EAAE,UAAU,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC,QAAQ;QAC7E,OAAO;YACH,gBAAgB,aAAa;YAC7B,SAAS,aAAa;YACtB,QAAQ;YACR,OAAO,CAAC,OAAO;gBACX,OAAO,IAAI,CAAC,OAAO;gBACnB,IAAI,UAAU;oBACV,8KAAK,CAAC,UAAU,CAAC,IAAM,SAAS,OAAO;gBAC3C;YACJ;QACJ;IACJ;IACA,QAAQ;QACJ,IAAI,CAAC,yBAAyB,GAAG,IAAA,0MAAe,EAAC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,eAAe,CAAC,QAAU,IAAI,CAAC,aAAa,CAAC;IACrH;IACA,SAAS;QACL,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,iBAAiB;IACtE;IACA,UAAU;QACN,IAAI,CAAC,yBAAyB;QAC9B,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,OAAO,CAAC,GAAG;IACpC;AACJ","ignoreList":[0]}}, - {"offset": {"line": 10668, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/projection/node/state.mjs"],"sourcesContent":["/**\n * This should only ever be modified on the client otherwise it'll\n * persist through server requests. If we need instanced states we\n * could lazy-init via root.\n */\nconst globalProjectionState = {\n /**\n * Global flag as to whether the tree has animated since the last time\n * we resized the window\n */\n hasAnimatedSinceResize: true,\n /**\n * We set this to true once, on the first update. Any nodes added to the tree beyond that\n * update will be given a `data-projection-id` attribute.\n */\n hasEverUpdated: false,\n};\n\nexport { globalProjectionState };\n"],"names":[],"mappings":";;;;AAAA;;;;CAIC,GACD,MAAM,wBAAwB;IAC1B;;;KAGC,GACD,wBAAwB;IACxB;;;KAGC,GACD,gBAAgB;AACpB","ignoreList":[0]}}, - {"offset": {"line": 10691, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.mjs"],"sourcesContent":["\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport { frame, microtask } from 'motion-dom';\nimport { useContext, Component } from 'react';\nimport { usePresence } from '../../../components/AnimatePresence/use-presence.mjs';\nimport { LayoutGroupContext } from '../../../context/LayoutGroupContext.mjs';\nimport { SwitchLayoutGroupContext } from '../../../context/SwitchLayoutGroupContext.mjs';\nimport { globalProjectionState } from '../../../projection/node/state.mjs';\n\n/**\n * Track whether we've taken any snapshots yet. If not,\n * we can safely skip notification of didUpdate.\n *\n * Difficult to capture in a test but to prevent flickering\n * we must set this to true either on update or unmount.\n * Running `next-env/layout-id` in Safari will show this behaviour if broken.\n */\nlet hasTakenAnySnapshot = false;\nclass MeasureLayoutWithContext extends Component {\n /**\n * This only mounts projection nodes for components that\n * need measuring, we might want to do it for all components\n * in order to incorporate transforms\n */\n componentDidMount() {\n const { visualElement, layoutGroup, switchLayoutGroup, layoutId } = this.props;\n const { projection } = visualElement;\n if (projection) {\n if (layoutGroup.group)\n layoutGroup.group.add(projection);\n if (switchLayoutGroup && switchLayoutGroup.register && layoutId) {\n switchLayoutGroup.register(projection);\n }\n if (hasTakenAnySnapshot) {\n projection.root.didUpdate();\n }\n projection.addEventListener(\"animationComplete\", () => {\n this.safeToRemove();\n });\n projection.setOptions({\n ...projection.options,\n onExitComplete: () => this.safeToRemove(),\n });\n }\n globalProjectionState.hasEverUpdated = true;\n }\n getSnapshotBeforeUpdate(prevProps) {\n const { layoutDependency, visualElement, drag, isPresent } = this.props;\n const { projection } = visualElement;\n if (!projection)\n return null;\n /**\n * TODO: We use this data in relegate to determine whether to\n * promote a previous element. There's no guarantee its presence data\n * will have updated by this point - if a bug like this arises it will\n * have to be that we markForRelegation and then find a new lead some other way,\n * perhaps in didUpdate\n */\n projection.isPresent = isPresent;\n hasTakenAnySnapshot = true;\n if (drag ||\n prevProps.layoutDependency !== layoutDependency ||\n layoutDependency === undefined ||\n prevProps.isPresent !== isPresent) {\n projection.willUpdate();\n }\n else {\n this.safeToRemove();\n }\n if (prevProps.isPresent !== isPresent) {\n if (isPresent) {\n projection.promote();\n }\n else if (!projection.relegate()) {\n /**\n * If there's another stack member taking over from this one,\n * it's in charge of the exit animation and therefore should\n * be in charge of the safe to remove. Otherwise we call it here.\n */\n frame.postRender(() => {\n const stack = projection.getStack();\n if (!stack || !stack.members.length) {\n this.safeToRemove();\n }\n });\n }\n }\n return null;\n }\n componentDidUpdate() {\n const { projection } = this.props.visualElement;\n if (projection) {\n projection.root.didUpdate();\n microtask.postRender(() => {\n if (!projection.currentAnimation && projection.isLead()) {\n this.safeToRemove();\n }\n });\n }\n }\n componentWillUnmount() {\n const { visualElement, layoutGroup, switchLayoutGroup: promoteContext, } = this.props;\n const { projection } = visualElement;\n hasTakenAnySnapshot = true;\n if (projection) {\n projection.scheduleCheckAfterUnmount();\n if (layoutGroup && layoutGroup.group)\n layoutGroup.group.remove(projection);\n if (promoteContext && promoteContext.deregister)\n promoteContext.deregister(projection);\n }\n }\n safeToRemove() {\n const { safeToRemove } = this.props;\n safeToRemove && safeToRemove();\n }\n render() {\n return null;\n }\n}\nfunction MeasureLayout(props) {\n const [isPresent, safeToRemove] = usePresence();\n const layoutGroup = useContext(LayoutGroupContext);\n return (jsx(MeasureLayoutWithContext, { ...props, layoutGroup: layoutGroup, switchLayoutGroup: useContext(SwitchLayoutGroupContext), isPresent: isPresent, safeToRemove: safeToRemove }));\n}\n\nexport { MeasureLayout };\n"],"names":[],"mappings":";;;;AACA;AACA;AAAA;AACA;AACA;AACA;AACA;AACA;AAPA;;;;;;;;AASA;;;;;;;CAO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C,SAAS,CAAC,MAAM,OAAO,CAAC,MAAM,EAAE;wBACjC,IAAI,CAAC,YAAY;oBACrB;gBACJ;YACJ;QACJ;QACA,OAAO;IACX;IACA,qBAAqB;QACjB,MAAM,EAAE,UAAU,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,aAAa;QAC/C,IAAI,YAAY;YACZ,WAAW,IAAI,CAAC,SAAS;YACzB,sLAAS,CAAC,UAAU,CAAC;gBACjB,IAAI,CAAC,WAAW,gBAAgB,IAAI,WAAW,MAAM,IAAI;oBACrD,IAAI,CAAC,YAAY;gBACrB;YACJ;QACJ;IACJ;IACA,uBAAuB;QACnB,MAAM,EAAE,aAAa,EAAE,WAAW,EAAE,mBAAmB,cAAc,EAAG,GAAG,IAAI,CAAC,KAAK;QACrF,MAAM,EAAE,UAAU,EAAE,GAAG;QACvB,sBAAsB;QACtB,IAAI,YAAY;YACZ,WAAW,yBAAyB;YACpC,IAAI,eAAe,YAAY,KAAK,EAChC,YAAY,KAAK,CAAC,MAAM,CAAC;YAC7B,IAAI,kBAAkB,eAAe,UAAU,EAC3C,eAAe,UAAU,CAAC;QAClC;IACJ;IACA,eAAe;QACX,MAAM,EAAE,YAAY,EAAE,GAAG,IAAI,CAAC,KAAK;QACnC,gBAAgB;IACpB;IACA,SAAS;QACL,OAAO;IACX;AACJ;AACA,SAAS,cAAc,KAAK;IACxB,MAAM,CAAC,WAAW,aAAa,GAAG,IAAA,qNAAW;IAC7C,MAAM,cAAc,IAAA,2KAAU,EAAC,yMAAkB;IACjD,OAAQ,IAAA,6KAAG,EAAC,0BAA0B;QAAE,GAAG,KAAK;QAAE,aAAa;QAAa,mBAAmB,IAAA,2KAAU,EAAC,qNAAwB;QAAG,WAAW;QAAW,cAAc;IAAa;AAC1L","ignoreList":[0]}}, - {"offset": {"line": 10825, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/utils/is-svg-element.mjs"],"sourcesContent":["import { isObject } from 'motion-utils';\n\n/**\n * Checks if an element is an SVG element in a way\n * that works across iframes\n */\nfunction isSVGElement(element) {\n return isObject(element) && \"ownerSVGElement\" in element;\n}\n\nexport { isSVGElement };\n"],"names":[],"mappings":";;;;AAAA;;AAEA;;;CAGC,GACD,SAAS,aAAa,OAAO;IACzB,OAAO,IAAA,6KAAQ,EAAC,YAAY,qBAAqB;AACrD","ignoreList":[0]}}, - {"offset": {"line": 10842, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.mjs"],"sourcesContent":["import { isSVGElement } from './is-svg-element.mjs';\n\n/**\n * Checks if an element is specifically an SVGSVGElement (the root SVG element)\n * in a way that works across iframes\n */\nfunction isSVGSVGElement(element) {\n return isSVGElement(element) && element.tagName === \"svg\";\n}\n\nexport { isSVGSVGElement };\n"],"names":[],"mappings":";;;;AAAA;;AAEA;;;CAGC,GACD,SAAS,gBAAgB,OAAO;IAC5B,OAAO,IAAA,gMAAY,EAAC,YAAY,QAAQ,OAAO,KAAK;AACxD","ignoreList":[0]}}, - {"offset": {"line": 10859, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/animation/animate/single-value.mjs"],"sourcesContent":["import { isMotionValue, motionValue } from 'motion-dom';\nimport { animateMotionValue } from '../interfaces/motion-value.mjs';\n\nfunction animateSingleValue(value, keyframes, options) {\n const motionValue$1 = isMotionValue(value) ? value : motionValue(value);\n motionValue$1.start(animateMotionValue(\"\", motionValue$1, keyframes, options));\n return motionValue$1.animation;\n}\n\nexport { animateSingleValue };\n"],"names":[],"mappings":";;;;AAAA;AAAA;AACA;;;AAEA,SAAS,mBAAmB,KAAK,EAAE,SAAS,EAAE,OAAO;IACjD,MAAM,gBAAgB,IAAA,2MAAa,EAAC,SAAS,QAAQ,IAAA,gLAAW,EAAC;IACjE,cAAc,KAAK,CAAC,IAAA,sNAAkB,EAAC,IAAI,eAAe,WAAW;IACrE,OAAO,cAAc,SAAS;AAClC","ignoreList":[0]}}, - {"offset": {"line": 10878, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/utils/compare-by-depth.mjs"],"sourcesContent":["const compareByDepth = (a, b) => a.depth - b.depth;\n\nexport { compareByDepth };\n"],"names":[],"mappings":";;;;AAAA,MAAM,iBAAiB,CAAC,GAAG,IAAM,EAAE,KAAK,GAAG,EAAE,KAAK","ignoreList":[0]}}, - {"offset": {"line": 10888, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/utils/flat-tree.mjs"],"sourcesContent":["import { addUniqueItem, removeItem } from 'motion-utils';\nimport { compareByDepth } from './compare-by-depth.mjs';\n\nclass FlatTree {\n constructor() {\n this.children = [];\n this.isDirty = false;\n }\n add(child) {\n addUniqueItem(this.children, child);\n this.isDirty = true;\n }\n remove(child) {\n removeItem(this.children, child);\n this.isDirty = true;\n }\n forEach(callback) {\n this.isDirty && this.children.sort(compareByDepth);\n this.isDirty = false;\n this.children.forEach(callback);\n }\n}\n\nexport { FlatTree };\n"],"names":[],"mappings":";;;;AAAA;AACA;;;AAEA,MAAM;IACF,aAAc;QACV,IAAI,CAAC,QAAQ,GAAG,EAAE;QAClB,IAAI,CAAC,OAAO,GAAG;IACnB;IACA,IAAI,KAAK,EAAE;QACP,IAAA,2KAAa,EAAC,IAAI,CAAC,QAAQ,EAAE;QAC7B,IAAI,CAAC,OAAO,GAAG;IACnB;IACA,OAAO,KAAK,EAAE;QACV,IAAA,wKAAU,EAAC,IAAI,CAAC,QAAQ,EAAE;QAC1B,IAAI,CAAC,OAAO,GAAG;IACnB;IACA,QAAQ,QAAQ,EAAE;QACd,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,iNAAc;QACjD,IAAI,CAAC,OAAO,GAAG;QACf,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC;IAC1B;AACJ","ignoreList":[0]}}, - {"offset": {"line": 10920, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/utils/delay.mjs"],"sourcesContent":["import { time, frame, cancelFrame } from 'motion-dom';\nimport { secondsToMilliseconds } from 'motion-utils';\n\n/**\n * Timeout defined in ms\n */\nfunction delay(callback, timeout) {\n const start = time.now();\n const checkElapsed = ({ timestamp }) => {\n const elapsed = timestamp - start;\n if (elapsed >= timeout) {\n cancelFrame(checkElapsed);\n callback(elapsed - timeout);\n }\n };\n frame.setup(checkElapsed, true);\n return () => cancelFrame(checkElapsed);\n}\nfunction delayInSeconds(callback, timeout) {\n return delay(callback, secondsToMilliseconds(timeout));\n}\n\nexport { delay, delayInSeconds };\n"],"names":[],"mappings":";;;;;;AAAA;AAAA;AACA;;;AAEA;;CAEC,GACD,SAAS,MAAM,QAAQ,EAAE,OAAO;IAC5B,MAAM,QAAQ,oLAAI,CAAC,GAAG;IACtB,MAAM,eAAe,CAAC,EAAE,SAAS,EAAE;QAC/B,MAAM,UAAU,YAAY;QAC5B,IAAI,WAAW,SAAS;YACpB,IAAA,oLAAW,EAAC;YACZ,SAAS,UAAU;QACvB;IACJ;IACA,8KAAK,CAAC,KAAK,CAAC,cAAc;IAC1B,OAAO,IAAM,IAAA,oLAAW,EAAC;AAC7B;AACA,SAAS,eAAe,QAAQ,EAAE,OAAO;IACrC,OAAO,MAAM,UAAU,IAAA,gMAAqB,EAAC;AACjD","ignoreList":[0]}}, - {"offset": {"line": 10953, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/projection/animation/mix-values.mjs"],"sourcesContent":["import { mixNumber, percent, px } from 'motion-dom';\nimport { progress, circOut, noop } from 'motion-utils';\n\nconst borders = [\"TopLeft\", \"TopRight\", \"BottomLeft\", \"BottomRight\"];\nconst numBorders = borders.length;\nconst asNumber = (value) => typeof value === \"string\" ? parseFloat(value) : value;\nconst isPx = (value) => typeof value === \"number\" || px.test(value);\nfunction mixValues(target, follow, lead, progress, shouldCrossfadeOpacity, isOnlyMember) {\n if (shouldCrossfadeOpacity) {\n target.opacity = mixNumber(0, lead.opacity ?? 1, easeCrossfadeIn(progress));\n target.opacityExit = mixNumber(follow.opacity ?? 1, 0, easeCrossfadeOut(progress));\n }\n else if (isOnlyMember) {\n target.opacity = mixNumber(follow.opacity ?? 1, lead.opacity ?? 1, progress);\n }\n /**\n * Mix border radius\n */\n for (let i = 0; i < numBorders; i++) {\n const borderLabel = `border${borders[i]}Radius`;\n let followRadius = getRadius(follow, borderLabel);\n let leadRadius = getRadius(lead, borderLabel);\n if (followRadius === undefined && leadRadius === undefined)\n continue;\n followRadius || (followRadius = 0);\n leadRadius || (leadRadius = 0);\n const canMix = followRadius === 0 ||\n leadRadius === 0 ||\n isPx(followRadius) === isPx(leadRadius);\n if (canMix) {\n target[borderLabel] = Math.max(mixNumber(asNumber(followRadius), asNumber(leadRadius), progress), 0);\n if (percent.test(leadRadius) || percent.test(followRadius)) {\n target[borderLabel] += \"%\";\n }\n }\n else {\n target[borderLabel] = leadRadius;\n }\n }\n /**\n * Mix rotation\n */\n if (follow.rotate || lead.rotate) {\n target.rotate = mixNumber(follow.rotate || 0, lead.rotate || 0, progress);\n }\n}\nfunction getRadius(values, radiusName) {\n return values[radiusName] !== undefined\n ? values[radiusName]\n : values.borderRadius;\n}\n// /**\n// * We only want to mix the background color if there's a follow element\n// * that we're not crossfading opacity between. For instance with switch\n// * AnimateSharedLayout animations, this helps the illusion of a continuous\n// * element being animated but also cuts down on the number of paints triggered\n// * for elements where opacity is doing that work for us.\n// */\n// if (\n// !hasFollowElement &&\n// latestLeadValues.backgroundColor &&\n// latestFollowValues.backgroundColor\n// ) {\n// /**\n// * This isn't ideal performance-wise as mixColor is creating a new function every frame.\n// * We could probably create a mixer that runs at the start of the animation but\n// * the idea behind the crossfader is that it runs dynamically between two potentially\n// * changing targets (ie opacity or borderRadius may be animating independently via variants)\n// */\n// leadState.backgroundColor = followState.backgroundColor = mixColor(\n// latestFollowValues.backgroundColor as string,\n// latestLeadValues.backgroundColor as string\n// )(p)\n// }\nconst easeCrossfadeIn = /*@__PURE__*/ compress(0, 0.5, circOut);\nconst easeCrossfadeOut = /*@__PURE__*/ compress(0.5, 0.95, noop);\nfunction compress(min, max, easing) {\n return (p) => {\n // Could replace ifs with clamp\n if (p < min)\n return 0;\n if (p > max)\n return 1;\n return easing(progress(min, max, p));\n };\n}\n\nexport { mixValues };\n"],"names":[],"mappings":";;;;AAAA;AAAA;AACA;AAAA;AAAA;;;AAEA,MAAM,UAAU;IAAC;IAAW;IAAY;IAAc;CAAc;AACpE,MAAM,aAAa,QAAQ,MAAM;AACjC,MAAM,WAAW,CAAC,QAAU,OAAO,UAAU,WAAW,WAAW,SAAS;AAC5E,MAAM,OAAO,CAAC,QAAU,OAAO,UAAU,YAAY,2LAAE,CAAC,IAAI,CAAC;AAC7D,SAAS,UAAU,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,sBAAsB,EAAE,YAAY;IACnF,IAAI,wBAAwB;QACxB,OAAO,OAAO,GAAG,IAAA,sLAAS,EAAC,GAAG,KAAK,OAAO,IAAI,GAAG,gBAAgB;QACjE,OAAO,WAAW,GAAG,IAAA,sLAAS,EAAC,OAAO,OAAO,IAAI,GAAG,GAAG,iBAAiB;IAC5E,OACK,IAAI,cAAc;QACnB,OAAO,OAAO,GAAG,IAAA,sLAAS,EAAC,OAAO,OAAO,IAAI,GAAG,KAAK,OAAO,IAAI,GAAG;IACvE;IACA;;KAEC,GACD,IAAK,IAAI,IAAI,GAAG,IAAI,YAAY,IAAK;QACjC,MAAM,cAAc,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC,MAAM,CAAC;QAC/C,IAAI,eAAe,UAAU,QAAQ;QACrC,IAAI,aAAa,UAAU,MAAM;QACjC,IAAI,iBAAiB,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B,IAAI,IAAI,KACJ,OAAO;QACX,IAAI,IAAI,KACJ,OAAO;QACX,OAAO,OAAO,IAAA,yKAAQ,EAAC,KAAK,KAAK;IACrC;AACJ","ignoreList":[0]}}, - {"offset": {"line": 11046, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/projection/geometry/copy.mjs"],"sourcesContent":["/**\n * Reset an axis to the provided origin box.\n *\n * This is a mutative operation.\n */\nfunction copyAxisInto(axis, originAxis) {\n axis.min = originAxis.min;\n axis.max = originAxis.max;\n}\n/**\n * Reset a box to the provided origin box.\n *\n * This is a mutative operation.\n */\nfunction copyBoxInto(box, originBox) {\n copyAxisInto(box.x, originBox.x);\n copyAxisInto(box.y, originBox.y);\n}\n/**\n * Reset a delta to the provided origin box.\n *\n * This is a mutative operation.\n */\nfunction copyAxisDeltaInto(delta, originDelta) {\n delta.translate = originDelta.translate;\n delta.scale = originDelta.scale;\n delta.originPoint = originDelta.originPoint;\n delta.origin = originDelta.origin;\n}\n\nexport { copyAxisDeltaInto, copyAxisInto, copyBoxInto };\n"],"names":[],"mappings":";;;;;;;;AAAA;;;;CAIC,GACD,SAAS,aAAa,IAAI,EAAE,UAAU;IAClC,KAAK,GAAG,GAAG,WAAW,GAAG;IACzB,KAAK,GAAG,GAAG,WAAW,GAAG;AAC7B;AACA;;;;CAIC,GACD,SAAS,YAAY,GAAG,EAAE,SAAS;IAC/B,aAAa,IAAI,CAAC,EAAE,UAAU,CAAC;IAC/B,aAAa,IAAI,CAAC,EAAE,UAAU,CAAC;AACnC;AACA;;;;CAIC,GACD,SAAS,kBAAkB,KAAK,EAAE,WAAW;IACzC,MAAM,SAAS,GAAG,YAAY,SAAS;IACvC,MAAM,KAAK,GAAG,YAAY,KAAK;IAC/B,MAAM,WAAW,GAAG,YAAY,WAAW;IAC3C,MAAM,MAAM,GAAG,YAAY,MAAM;AACrC","ignoreList":[0]}}, - {"offset": {"line": 11085, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/projection/geometry/delta-remove.mjs"],"sourcesContent":["import { percent, mixNumber } from 'motion-dom';\nimport { scalePoint } from './delta-apply.mjs';\n\n/**\n * Remove a delta from a point. This is essentially the steps of applyPointDelta in reverse\n */\nfunction removePointDelta(point, translate, scale, originPoint, boxScale) {\n point -= translate;\n point = scalePoint(point, 1 / scale, originPoint);\n if (boxScale !== undefined) {\n point = scalePoint(point, 1 / boxScale, originPoint);\n }\n return point;\n}\n/**\n * Remove a delta from an axis. This is essentially the steps of applyAxisDelta in reverse\n */\nfunction removeAxisDelta(axis, translate = 0, scale = 1, origin = 0.5, boxScale, originAxis = axis, sourceAxis = axis) {\n if (percent.test(translate)) {\n translate = parseFloat(translate);\n const relativeProgress = mixNumber(sourceAxis.min, sourceAxis.max, translate / 100);\n translate = relativeProgress - sourceAxis.min;\n }\n if (typeof translate !== \"number\")\n return;\n let originPoint = mixNumber(originAxis.min, originAxis.max, origin);\n if (axis === originAxis)\n originPoint -= translate;\n axis.min = removePointDelta(axis.min, translate, scale, originPoint, boxScale);\n axis.max = removePointDelta(axis.max, translate, scale, originPoint, boxScale);\n}\n/**\n * Remove a transforms from an axis. This is essentially the steps of applyAxisTransforms in reverse\n * and acts as a bridge between motion values and removeAxisDelta\n */\nfunction removeAxisTransforms(axis, transforms, [key, scaleKey, originKey], origin, sourceAxis) {\n removeAxisDelta(axis, transforms[key], transforms[scaleKey], transforms[originKey], transforms.scale, origin, sourceAxis);\n}\n/**\n * The names of the motion values we want to apply as translation, scale and origin.\n */\nconst xKeys = [\"x\", \"scaleX\", \"originX\"];\nconst yKeys = [\"y\", \"scaleY\", \"originY\"];\n/**\n * Remove a transforms from an box. This is essentially the steps of applyAxisBox in reverse\n * and acts as a bridge between motion values and removeAxisDelta\n */\nfunction removeBoxTransforms(box, transforms, originBox, sourceBox) {\n removeAxisTransforms(box.x, transforms, xKeys, originBox ? originBox.x : undefined, sourceBox ? sourceBox.x : undefined);\n removeAxisTransforms(box.y, transforms, yKeys, originBox ? originBox.y : undefined, sourceBox ? sourceBox.y : undefined);\n}\n\nexport { removeAxisDelta, removeAxisTransforms, removeBoxTransforms, removePointDelta };\n"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AACA;;;AAEA;;CAEC,GACD,SAAS,iBAAiB,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,WAAW,EAAE,QAAQ;IACpE,SAAS;IACT,QAAQ,IAAA,4MAAU,EAAC,OAAO,IAAI,OAAO;IACrC,IAAI,aAAa,WAAW;QACxB,QAAQ,IAAA,4MAAU,EAAC,OAAO,IAAI,UAAU;IAC5C;IACA,OAAO;AACX;AACA;;CAEC,GACD,SAAS,gBAAgB,IAAI,EAAE,YAAY,CAAC,EAAE,QAAQ,CAAC,EAAE,SAAS,GAAG,EAAE,QAAQ,EAAE,aAAa,IAAI,EAAE,aAAa,IAAI;IACjH,IAAI,gMAAO,CAAC,IAAI,CAAC,YAAY;QACzB,YAAY,WAAW;QACvB,MAAM,mBAAmB,IAAA,sLAAS,EAAC,WAAW,GAAG,EAAE,WAAW,GAAG,EAAE,YAAY;QAC/E,YAAY,mBAAmB,WAAW,GAAG;IACjD;IACA,IAAI,OAAO,cAAc,UACrB;IACJ,IAAI,cAAc,IAAA,sLAAS,EAAC,WAAW,GAAG,EAAE,WAAW,GAAG,EAAE;IAC5D,IAAI,SAAS,YACT,eAAe;IACnB,KAAK,GAAG,GAAG,iBAAiB,KAAK,GAAG,EAAE,WAAW,OAAO,aAAa;IACrE,KAAK,GAAG,GAAG,iBAAiB,KAAK,GAAG,EAAE,WAAW,OAAO,aAAa;AACzE;AACA;;;CAGC,GACD,SAAS,qBAAqB,IAAI,EAAE,UAAU,EAAE,CAAC,KAAK,UAAU,UAAU,EAAE,MAAM,EAAE,UAAU;IAC1F,gBAAgB,MAAM,UAAU,CAAC,IAAI,EAAE,UAAU,CAAC,SAAS,EAAE,UAAU,CAAC,UAAU,EAAE,WAAW,KAAK,EAAE,QAAQ;AAClH;AACA;;CAEC,GACD,MAAM,QAAQ;IAAC;IAAK;IAAU;CAAU;AACxC,MAAM,QAAQ;IAAC;IAAK;IAAU;CAAU;AACxC;;;CAGC,GACD,SAAS,oBAAoB,GAAG,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS;IAC9D,qBAAqB,IAAI,CAAC,EAAE,YAAY,OAAO,YAAY,UAAU,CAAC,GAAG,WAAW,YAAY,UAAU,CAAC,GAAG;IAC9G,qBAAqB,IAAI,CAAC,EAAE,YAAY,OAAO,YAAY,UAAU,CAAC,GAAG,WAAW,YAAY,UAAU,CAAC,GAAG;AAClH","ignoreList":[0]}}, - {"offset": {"line": 11154, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/projection/geometry/utils.mjs"],"sourcesContent":["import { calcLength } from './delta-calc.mjs';\n\nfunction isAxisDeltaZero(delta) {\n return delta.translate === 0 && delta.scale === 1;\n}\nfunction isDeltaZero(delta) {\n return isAxisDeltaZero(delta.x) && isAxisDeltaZero(delta.y);\n}\nfunction axisEquals(a, b) {\n return a.min === b.min && a.max === b.max;\n}\nfunction boxEquals(a, b) {\n return axisEquals(a.x, b.x) && axisEquals(a.y, b.y);\n}\nfunction axisEqualsRounded(a, b) {\n return (Math.round(a.min) === Math.round(b.min) &&\n Math.round(a.max) === Math.round(b.max));\n}\nfunction boxEqualsRounded(a, b) {\n return axisEqualsRounded(a.x, b.x) && axisEqualsRounded(a.y, b.y);\n}\nfunction aspectRatio(box) {\n return calcLength(box.x) / calcLength(box.y);\n}\nfunction axisDeltaEquals(a, b) {\n return (a.translate === b.translate &&\n a.scale === b.scale &&\n a.originPoint === b.originPoint);\n}\n\nexport { aspectRatio, axisDeltaEquals, axisEquals, axisEqualsRounded, boxEquals, boxEqualsRounded, isDeltaZero };\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;AAEA,SAAS,gBAAgB,KAAK;IAC1B,OAAO,MAAM,SAAS,KAAK,KAAK,MAAM,KAAK,KAAK;AACpD;AACA,SAAS,YAAY,KAAK;IACtB,OAAO,gBAAgB,MAAM,CAAC,KAAK,gBAAgB,MAAM,CAAC;AAC9D;AACA,SAAS,WAAW,CAAC,EAAE,CAAC;IACpB,OAAO,EAAE,GAAG,KAAK,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,EAAE,GAAG;AAC7C;AACA,SAAS,UAAU,CAAC,EAAE,CAAC;IACnB,OAAO,WAAW,EAAE,CAAC,EAAE,EAAE,CAAC,KAAK,WAAW,EAAE,CAAC,EAAE,EAAE,CAAC;AACtD;AACA,SAAS,kBAAkB,CAAC,EAAE,CAAC;IAC3B,OAAQ,KAAK,KAAK,CAAC,EAAE,GAAG,MAAM,KAAK,KAAK,CAAC,EAAE,GAAG,KAC1C,KAAK,KAAK,CAAC,EAAE,GAAG,MAAM,KAAK,KAAK,CAAC,EAAE,GAAG;AAC9C;AACA,SAAS,iBAAiB,CAAC,EAAE,CAAC;IAC1B,OAAO,kBAAkB,EAAE,CAAC,EAAE,EAAE,CAAC,KAAK,kBAAkB,EAAE,CAAC,EAAE,EAAE,CAAC;AACpE;AACA,SAAS,YAAY,GAAG;IACpB,OAAO,IAAA,2MAAU,EAAC,IAAI,CAAC,IAAI,IAAA,2MAAU,EAAC,IAAI,CAAC;AAC/C;AACA,SAAS,gBAAgB,CAAC,EAAE,CAAC;IACzB,OAAQ,EAAE,SAAS,KAAK,EAAE,SAAS,IAC/B,EAAE,KAAK,KAAK,EAAE,KAAK,IACnB,EAAE,WAAW,KAAK,EAAE,WAAW;AACvC","ignoreList":[0]}}, - {"offset": {"line": 11201, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/projection/shared/stack.mjs"],"sourcesContent":["import { addUniqueItem, removeItem } from 'motion-utils';\n\nclass NodeStack {\n constructor() {\n this.members = [];\n }\n add(node) {\n addUniqueItem(this.members, node);\n node.scheduleRender();\n }\n remove(node) {\n removeItem(this.members, node);\n if (node === this.prevLead) {\n this.prevLead = undefined;\n }\n if (node === this.lead) {\n const prevLead = this.members[this.members.length - 1];\n if (prevLead) {\n this.promote(prevLead);\n }\n }\n }\n relegate(node) {\n const indexOfNode = this.members.findIndex((member) => node === member);\n if (indexOfNode === 0)\n return false;\n /**\n * Find the next projection node that is present\n */\n let prevLead;\n for (let i = indexOfNode; i >= 0; i--) {\n const member = this.members[i];\n if (member.isPresent !== false) {\n prevLead = member;\n break;\n }\n }\n if (prevLead) {\n this.promote(prevLead);\n return true;\n }\n else {\n return false;\n }\n }\n promote(node, preserveFollowOpacity) {\n const prevLead = this.lead;\n if (node === prevLead)\n return;\n this.prevLead = prevLead;\n this.lead = node;\n node.show();\n if (prevLead) {\n prevLead.instance && prevLead.scheduleRender();\n node.scheduleRender();\n node.resumeFrom = prevLead;\n if (preserveFollowOpacity) {\n node.resumeFrom.preserveOpacity = true;\n }\n if (prevLead.snapshot) {\n node.snapshot = prevLead.snapshot;\n node.snapshot.latestValues =\n prevLead.animationValues || prevLead.latestValues;\n }\n if (node.root && node.root.isUpdating) {\n node.isLayoutDirty = true;\n }\n const { crossfade } = node.options;\n if (crossfade === false) {\n prevLead.hide();\n }\n /**\n * TODO:\n * - Test border radius when previous node was deleted\n * - boxShadow mixing\n * - Shared between element A in scrolled container and element B (scroll stays the same or changes)\n * - Shared between element A in transformed container and element B (transform stays the same or changes)\n * - Shared between element A in scrolled page and element B (scroll stays the same or changes)\n * ---\n * - Crossfade opacity of root nodes\n * - layoutId changes after animation\n * - layoutId changes mid animation\n */\n }\n }\n exitAnimationComplete() {\n this.members.forEach((node) => {\n const { options, resumingFrom } = node;\n options.onExitComplete && options.onExitComplete();\n if (resumingFrom) {\n resumingFrom.options.onExitComplete &&\n resumingFrom.options.onExitComplete();\n }\n });\n }\n scheduleRender() {\n this.members.forEach((node) => {\n node.instance && node.scheduleRender(false);\n });\n }\n /**\n * Clear any leads that have been removed this render to prevent them from being\n * used in future animations and to prevent memory leaks\n */\n removeLeadSnapshot() {\n if (this.lead && this.lead.snapshot) {\n this.lead.snapshot = undefined;\n }\n }\n}\n\nexport { NodeStack };\n"],"names":[],"mappings":";;;;AAAA;;AAEA,MAAM;IACF,aAAc;QACV,IAAI,CAAC,OAAO,GAAG,EAAE;IACrB;IACA,IAAI,IAAI,EAAE;QACN,IAAA,2KAAa,EAAC,IAAI,CAAC,OAAO,EAAE;QAC5B,KAAK,cAAc;IACvB;IACA,OAAO,IAAI,EAAE;QACT,IAAA,wKAAU,EAAC,IAAI,CAAC,OAAO,EAAE;QACzB,IAAI,SAAS,IAAI,CAAC,QAAQ,EAAE;YACxB,IAAI,CAAC,QAAQ,GAAG;QACpB;QACA,IAAI,SAAS,IAAI,CAAC,IAAI,EAAE;YACpB,MAAM,WAAW,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,GAAG,EAAE;YACtD,IAAI,UAAU;gBACV,IAAI,CAAC,OAAO,CAAC;YACjB;QACJ;IACJ;IACA,SAAS,IAAI,EAAE;QACX,MAAM,cAAc,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,SAAW,SAAS;QAChE,IAAI,gBAAgB,GAChB,OAAO;QACX;;SAEC,GACD,IAAI;QACJ,IAAK,IAAI,IAAI,aAAa,KAAK,GAAG,IAAK;YACnC,MAAM,SAAS,IAAI,CAAC,OAAO,CAAC,EAAE;YAC9B,IAAI,OAAO,SAAS,KAAK,OAAO;gBAC5B,WAAW;gBACX;YACJ;QACJ;QACA,IAAI,UAAU;YACV,IAAI,CAAC,OAAO,CAAC;YACb,OAAO;QACX,OACK;YACD,OAAO;QACX;IACJ;IACA,QAAQ,IAAI,EAAE,qBAAqB,EAAE;QACjC,MAAM,WAAW,IAAI,CAAC,IAAI;QAC1B,IAAI,SAAS,UACT;QACJ,IAAI,CAAC,QAAQ,GAAG;QAChB,IAAI,CAAC,IAAI,GAAG;QACZ,KAAK,IAAI;QACT,IAAI,UAAU;YACV,SAAS,QAAQ,IAAI,SAAS,cAAc;YAC5C,KAAK,cAAc;YACnB,KAAK,UAAU,GAAG;YAClB,IAAI,uBAAuB;gBACvB,KAAK,UAAU,CAAC,eAAe,GAAG;YACtC;YACA,IAAI,SAAS,QAAQ,EAAE;gBACnB,KAAK,QAAQ,GAAG,SAAS,QAAQ;gBACjC,KAAK,QAAQ,CAAC,YAAY,GACtB,SAAS,eAAe,IAAI,SAAS,YAAY;YACzD;YACA,IAAI,KAAK,IAAI,IAAI,KAAK,IAAI,CAAC,UAAU,EAAE;gBACnC,KAAK,aAAa,GAAG;YACzB;YACA,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,OAAO;YAClC,IAAI,cAAc,OAAO;gBACrB,SAAS,IAAI;YACjB;QACA;;;;;;;;;;;aAWC,GACL;IACJ;IACA,wBAAwB;QACpB,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;YAClB,MAAM,EAAE,OAAO,EAAE,YAAY,EAAE,GAAG;YAClC,QAAQ,cAAc,IAAI,QAAQ,cAAc;YAChD,IAAI,cAAc;gBACd,aAAa,OAAO,CAAC,cAAc,IAC/B,aAAa,OAAO,CAAC,cAAc;YAC3C;QACJ;IACJ;IACA,iBAAiB;QACb,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;YAClB,KAAK,QAAQ,IAAI,KAAK,cAAc,CAAC;QACzC;IACJ;IACA;;;KAGC,GACD,qBAAqB;QACjB,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;YACjC,IAAI,CAAC,IAAI,CAAC,QAAQ,GAAG;QACzB;IACJ;AACJ","ignoreList":[0]}}, - {"offset": {"line": 11312, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/projection/styles/transform.mjs"],"sourcesContent":["function buildProjectionTransform(delta, treeScale, latestTransform) {\n let transform = \"\";\n /**\n * The translations we use to calculate are always relative to the viewport coordinate space.\n * But when we apply scales, we also scale the coordinate space of an element and its children.\n * For instance if we have a treeScale (the culmination of all parent scales) of 0.5 and we need\n * to move an element 100 pixels, we actually need to move it 200 in within that scaled space.\n */\n const xTranslate = delta.x.translate / treeScale.x;\n const yTranslate = delta.y.translate / treeScale.y;\n const zTranslate = latestTransform?.z || 0;\n if (xTranslate || yTranslate || zTranslate) {\n transform = `translate3d(${xTranslate}px, ${yTranslate}px, ${zTranslate}px) `;\n }\n /**\n * Apply scale correction for the tree transform.\n * This will apply scale to the screen-orientated axes.\n */\n if (treeScale.x !== 1 || treeScale.y !== 1) {\n transform += `scale(${1 / treeScale.x}, ${1 / treeScale.y}) `;\n }\n if (latestTransform) {\n const { transformPerspective, rotate, rotateX, rotateY, skewX, skewY } = latestTransform;\n if (transformPerspective)\n transform = `perspective(${transformPerspective}px) ${transform}`;\n if (rotate)\n transform += `rotate(${rotate}deg) `;\n if (rotateX)\n transform += `rotateX(${rotateX}deg) `;\n if (rotateY)\n transform += `rotateY(${rotateY}deg) `;\n if (skewX)\n transform += `skewX(${skewX}deg) `;\n if (skewY)\n transform += `skewY(${skewY}deg) `;\n }\n /**\n * Apply scale to match the size of the element to the size we want it.\n * This will apply scale to the element-orientated axes.\n */\n const elementScaleX = delta.x.scale * treeScale.x;\n const elementScaleY = delta.y.scale * treeScale.y;\n if (elementScaleX !== 1 || elementScaleY !== 1) {\n transform += `scale(${elementScaleX}, ${elementScaleY})`;\n }\n return transform || \"none\";\n}\n\nexport { buildProjectionTransform };\n"],"names":[],"mappings":";;;;AAAA,SAAS,yBAAyB,KAAK,EAAE,SAAS,EAAE,eAAe;IAC/D,IAAI,YAAY;IAChB;;;;;KAKC,GACD,MAAM,aAAa,MAAM,CAAC,CAAC,SAAS,GAAG,UAAU,CAAC;IAClD,MAAM,aAAa,MAAM,CAAC,CAAC,SAAS,GAAG,UAAU,CAAC;IAClD,MAAM,aAAa,iBAAiB,KAAK;IACzC,IAAI,cAAc,cAAc,YAAY;QACxC,YAAY,CAAC,YAAY,EAAE,WAAW,IAAI,EAAE,WAAW,IAAI,EAAE,WAAW,IAAI,CAAC;IACjF;IACA;;;KAGC,GACD,IAAI,UAAU,CAAC,KAAK,KAAK,UAAU,CAAC,KAAK,GAAG;QACxC,aAAa,CAAC,MAAM,EAAE,IAAI,UAAU,CAAC,CAAC,EAAE,EAAE,IAAI,UAAU,CAAC,CAAC,EAAE,CAAC;IACjE;IACA,IAAI,iBAAiB;QACjB,MAAM,EAAE,oBAAoB,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG;QACzE,IAAI,sBACA,YAAY,CAAC,YAAY,EAAE,qBAAqB,IAAI,EAAE,WAAW;QACrE,IAAI,QACA,aAAa,CAAC,OAAO,EAAE,OAAO,KAAK,CAAC;QACxC,IAAI,SACA,aAAa,CAAC,QAAQ,EAAE,QAAQ,KAAK,CAAC;QAC1C,IAAI,SACA,aAAa,CAAC,QAAQ,EAAE,QAAQ,KAAK,CAAC;QAC1C,IAAI,OACA,aAAa,CAAC,MAAM,EAAE,MAAM,KAAK,CAAC;QACtC,IAAI,OACA,aAAa,CAAC,MAAM,EAAE,MAAM,KAAK,CAAC;IAC1C;IACA;;;KAGC,GACD,MAAM,gBAAgB,MAAM,CAAC,CAAC,KAAK,GAAG,UAAU,CAAC;IACjD,MAAM,gBAAgB,MAAM,CAAC,CAAC,KAAK,GAAG,UAAU,CAAC;IACjD,IAAI,kBAAkB,KAAK,kBAAkB,GAAG;QAC5C,aAAa,CAAC,MAAM,EAAE,cAAc,EAAE,EAAE,cAAc,CAAC,CAAC;IAC5D;IACA,OAAO,aAAa;AACxB","ignoreList":[0]}}, - {"offset": {"line": 11359, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/projection/node/create-projection-node.mjs"],"sourcesContent":["import { statsBuffer, isSVGElement, isSVGSVGElement, frame, getValueTransition, cancelFrame, time, frameData, frameSteps, microtask, activeAnimations, motionValue, mixNumber } from 'motion-dom';\nimport { SubscriptionManager, clamp, noop } from 'motion-utils';\nimport { animateSingleValue } from '../../animation/animate/single-value.mjs';\nimport { getOptimisedAppearId } from '../../animation/optimized-appear/get-appear-id.mjs';\nimport { FlatTree } from '../../render/utils/flat-tree.mjs';\nimport { delay } from '../../utils/delay.mjs';\nimport { resolveMotionValue } from '../../value/utils/resolve-motion-value.mjs';\nimport { mixValues } from '../animation/mix-values.mjs';\nimport { copyBoxInto, copyAxisDeltaInto } from '../geometry/copy.mjs';\nimport { translateAxis, transformBox, applyBoxDelta, applyTreeDeltas } from '../geometry/delta-apply.mjs';\nimport { calcLength, calcRelativeBox, calcRelativePosition, calcBoxDelta, isNear } from '../geometry/delta-calc.mjs';\nimport { removeBoxTransforms } from '../geometry/delta-remove.mjs';\nimport { createBox, createDelta } from '../geometry/models.mjs';\nimport { boxEqualsRounded, isDeltaZero, axisDeltaEquals, aspectRatio, boxEquals } from '../geometry/utils.mjs';\nimport { NodeStack } from '../shared/stack.mjs';\nimport { scaleCorrectors } from '../styles/scale-correction.mjs';\nimport { buildProjectionTransform } from '../styles/transform.mjs';\nimport { eachAxis } from '../utils/each-axis.mjs';\nimport { hasTransform, hasScale, has2DTranslate } from '../utils/has-transform.mjs';\nimport { globalProjectionState } from './state.mjs';\n\nconst metrics = {\n nodes: 0,\n calculatedTargetDeltas: 0,\n calculatedProjections: 0,\n};\nconst transformAxes = [\"\", \"X\", \"Y\", \"Z\"];\n/**\n * We use 1000 as the animation target as 0-1000 maps better to pixels than 0-1\n * which has a noticeable difference in spring animations\n */\nconst animationTarget = 1000;\nlet id = 0;\nfunction resetDistortingTransform(key, visualElement, values, sharedAnimationValues) {\n const { latestValues } = visualElement;\n // Record the distorting transform and then temporarily set it to 0\n if (latestValues[key]) {\n values[key] = latestValues[key];\n visualElement.setStaticValue(key, 0);\n if (sharedAnimationValues) {\n sharedAnimationValues[key] = 0;\n }\n }\n}\nfunction cancelTreeOptimisedTransformAnimations(projectionNode) {\n projectionNode.hasCheckedOptimisedAppear = true;\n if (projectionNode.root === projectionNode)\n return;\n const { visualElement } = projectionNode.options;\n if (!visualElement)\n return;\n const appearId = getOptimisedAppearId(visualElement);\n if (window.MotionHasOptimisedAnimation(appearId, \"transform\")) {\n const { layout, layoutId } = projectionNode.options;\n window.MotionCancelOptimisedAnimation(appearId, \"transform\", frame, !(layout || layoutId));\n }\n const { parent } = projectionNode;\n if (parent && !parent.hasCheckedOptimisedAppear) {\n cancelTreeOptimisedTransformAnimations(parent);\n }\n}\nfunction createProjectionNode({ attachResizeListener, defaultParent, measureScroll, checkIsScrollRoot, resetTransform, }) {\n return class ProjectionNode {\n constructor(latestValues = {}, parent = defaultParent?.()) {\n /**\n * A unique ID generated for every projection node.\n */\n this.id = id++;\n /**\n * An id that represents a unique session instigated by startUpdate.\n */\n this.animationId = 0;\n this.animationCommitId = 0;\n /**\n * A Set containing all this component's children. This is used to iterate\n * through the children.\n *\n * TODO: This could be faster to iterate as a flat array stored on the root node.\n */\n this.children = new Set();\n /**\n * Options for the node. We use this to configure what kind of layout animations\n * we should perform (if any).\n */\n this.options = {};\n /**\n * We use this to detect when its safe to shut down part of a projection tree.\n * We have to keep projecting children for scale correction and relative projection\n * until all their parents stop performing layout animations.\n */\n this.isTreeAnimating = false;\n this.isAnimationBlocked = false;\n /**\n * Flag to true if we think this layout has been changed. We can't always know this,\n * currently we set it to true every time a component renders, or if it has a layoutDependency\n * if that has changed between renders. Additionally, components can be grouped by LayoutGroup\n * and if one node is dirtied, they all are.\n */\n this.isLayoutDirty = false;\n /**\n * Flag to true if we think the projection calculations for this node needs\n * recalculating as a result of an updated transform or layout animation.\n */\n this.isProjectionDirty = false;\n /**\n * Flag to true if the layout *or* transform has changed. This then gets propagated\n * throughout the projection tree, forcing any element below to recalculate on the next frame.\n */\n this.isSharedProjectionDirty = false;\n /**\n * Flag transform dirty. This gets propagated throughout the whole tree but is only\n * respected by shared nodes.\n */\n this.isTransformDirty = false;\n /**\n * Block layout updates for instant layout transitions throughout the tree.\n */\n this.updateManuallyBlocked = false;\n this.updateBlockedByResize = false;\n /**\n * Set to true between the start of the first `willUpdate` call and the end of the `didUpdate`\n * call.\n */\n this.isUpdating = false;\n /**\n * If this is an SVG element we currently disable projection transforms\n */\n this.isSVG = false;\n /**\n * Flag to true (during promotion) if a node doing an instant layout transition needs to reset\n * its projection styles.\n */\n this.needsReset = false;\n /**\n * Flags whether this node should have its transform reset prior to measuring.\n */\n this.shouldResetTransform = false;\n /**\n * Store whether this node has been checked for optimised appear animations. As\n * effects fire bottom-up, and we want to look up the tree for appear animations,\n * this makes sure we only check each path once, stopping at nodes that\n * have already been checked.\n */\n this.hasCheckedOptimisedAppear = false;\n /**\n * An object representing the calculated contextual/accumulated/tree scale.\n * This will be used to scale calculcated projection transforms, as these are\n * calculated in screen-space but need to be scaled for elements to layoutly\n * make it to their calculated destinations.\n *\n * TODO: Lazy-init\n */\n this.treeScale = { x: 1, y: 1 };\n /**\n *\n */\n this.eventHandlers = new Map();\n this.hasTreeAnimated = false;\n this.layoutVersion = 0;\n // Note: Currently only running on root node\n this.updateScheduled = false;\n this.scheduleUpdate = () => this.update();\n this.projectionUpdateScheduled = false;\n this.checkUpdateFailed = () => {\n if (this.isUpdating) {\n this.isUpdating = false;\n this.clearAllSnapshots();\n }\n };\n /**\n * This is a multi-step process as shared nodes might be of different depths. Nodes\n * are sorted by depth order, so we need to resolve the entire tree before moving to\n * the next step.\n */\n this.updateProjection = () => {\n this.projectionUpdateScheduled = false;\n /**\n * Reset debug counts. Manually resetting rather than creating a new\n * object each frame.\n */\n if (statsBuffer.value) {\n metrics.nodes =\n metrics.calculatedTargetDeltas =\n metrics.calculatedProjections =\n 0;\n }\n this.nodes.forEach(propagateDirtyNodes);\n this.nodes.forEach(resolveTargetDelta);\n this.nodes.forEach(calcProjection);\n this.nodes.forEach(cleanDirtyNodes);\n if (statsBuffer.addProjectionMetrics) {\n statsBuffer.addProjectionMetrics(metrics);\n }\n };\n /**\n * Frame calculations\n */\n this.resolvedRelativeTargetAt = 0.0;\n this.linkedParentVersion = 0;\n this.hasProjected = false;\n this.isVisible = true;\n this.animationProgress = 0;\n /**\n * Shared layout\n */\n // TODO Only running on root node\n this.sharedNodes = new Map();\n this.latestValues = latestValues;\n this.root = parent ? parent.root || parent : this;\n this.path = parent ? [...parent.path, parent] : [];\n this.parent = parent;\n this.depth = parent ? parent.depth + 1 : 0;\n for (let i = 0; i < this.path.length; i++) {\n this.path[i].shouldResetTransform = true;\n }\n if (this.root === this)\n this.nodes = new FlatTree();\n }\n addEventListener(name, handler) {\n if (!this.eventHandlers.has(name)) {\n this.eventHandlers.set(name, new SubscriptionManager());\n }\n return this.eventHandlers.get(name).add(handler);\n }\n notifyListeners(name, ...args) {\n const subscriptionManager = this.eventHandlers.get(name);\n subscriptionManager && subscriptionManager.notify(...args);\n }\n hasListeners(name) {\n return this.eventHandlers.has(name);\n }\n /**\n * Lifecycles\n */\n mount(instance) {\n if (this.instance)\n return;\n this.isSVG = isSVGElement(instance) && !isSVGSVGElement(instance);\n this.instance = instance;\n const { layoutId, layout, visualElement } = this.options;\n if (visualElement && !visualElement.current) {\n visualElement.mount(instance);\n }\n this.root.nodes.add(this);\n this.parent && this.parent.children.add(this);\n if (this.root.hasTreeAnimated && (layout || layoutId)) {\n this.isLayoutDirty = true;\n }\n if (attachResizeListener) {\n let cancelDelay;\n let innerWidth = 0;\n const resizeUnblockUpdate = () => (this.root.updateBlockedByResize = false);\n // Set initial innerWidth in a frame.read callback to batch the read\n frame.read(() => {\n innerWidth = window.innerWidth;\n });\n attachResizeListener(instance, () => {\n const newInnerWidth = window.innerWidth;\n if (newInnerWidth === innerWidth)\n return;\n innerWidth = newInnerWidth;\n this.root.updateBlockedByResize = true;\n cancelDelay && cancelDelay();\n cancelDelay = delay(resizeUnblockUpdate, 250);\n if (globalProjectionState.hasAnimatedSinceResize) {\n globalProjectionState.hasAnimatedSinceResize = false;\n this.nodes.forEach(finishAnimation);\n }\n });\n }\n if (layoutId) {\n this.root.registerSharedNode(layoutId, this);\n }\n // Only register the handler if it requires layout animation\n if (this.options.animate !== false &&\n visualElement &&\n (layoutId || layout)) {\n this.addEventListener(\"didUpdate\", ({ delta, hasLayoutChanged, hasRelativeLayoutChanged, layout: newLayout, }) => {\n if (this.isTreeAnimationBlocked()) {\n this.target = undefined;\n this.relativeTarget = undefined;\n return;\n }\n // TODO: Check here if an animation exists\n const layoutTransition = this.options.transition ||\n visualElement.getDefaultTransition() ||\n defaultLayoutTransition;\n const { onLayoutAnimationStart, onLayoutAnimationComplete, } = visualElement.getProps();\n /**\n * The target layout of the element might stay the same,\n * but its position relative to its parent has changed.\n */\n const hasTargetChanged = !this.targetLayout ||\n !boxEqualsRounded(this.targetLayout, newLayout);\n /*\n * Note: Disabled to fix relative animations always triggering new\n * layout animations. If this causes further issues, we can try\n * a different approach to detecting relative target changes.\n */\n // || hasRelativeLayoutChanged\n /**\n * If the layout hasn't seemed to have changed, it might be that the\n * element is visually in the same place in the document but its position\n * relative to its parent has indeed changed. So here we check for that.\n */\n const hasOnlyRelativeTargetChanged = !hasLayoutChanged && hasRelativeLayoutChanged;\n if (this.options.layoutRoot ||\n this.resumeFrom ||\n hasOnlyRelativeTargetChanged ||\n (hasLayoutChanged &&\n (hasTargetChanged || !this.currentAnimation))) {\n if (this.resumeFrom) {\n this.resumingFrom = this.resumeFrom;\n this.resumingFrom.resumingFrom = undefined;\n }\n const animationOptions = {\n ...getValueTransition(layoutTransition, \"layout\"),\n onPlay: onLayoutAnimationStart,\n onComplete: onLayoutAnimationComplete,\n };\n if (visualElement.shouldReduceMotion ||\n this.options.layoutRoot) {\n animationOptions.delay = 0;\n animationOptions.type = false;\n }\n this.startAnimation(animationOptions);\n /**\n * Set animation origin after starting animation to avoid layout jump\n * caused by stopping previous layout animation\n */\n this.setAnimationOrigin(delta, hasOnlyRelativeTargetChanged);\n }\n else {\n /**\n * If the layout hasn't changed and we have an animation that hasn't started yet,\n * finish it immediately. Otherwise it will be animating from a location\n * that was probably never commited to screen and look like a jumpy box.\n */\n if (!hasLayoutChanged) {\n finishAnimation(this);\n }\n if (this.isLead() && this.options.onExitComplete) {\n this.options.onExitComplete();\n }\n }\n this.targetLayout = newLayout;\n });\n }\n }\n unmount() {\n this.options.layoutId && this.willUpdate();\n this.root.nodes.remove(this);\n const stack = this.getStack();\n stack && stack.remove(this);\n this.parent && this.parent.children.delete(this);\n this.instance = undefined;\n this.eventHandlers.clear();\n cancelFrame(this.updateProjection);\n }\n // only on the root\n blockUpdate() {\n this.updateManuallyBlocked = true;\n }\n unblockUpdate() {\n this.updateManuallyBlocked = false;\n }\n isUpdateBlocked() {\n return this.updateManuallyBlocked || this.updateBlockedByResize;\n }\n isTreeAnimationBlocked() {\n return (this.isAnimationBlocked ||\n (this.parent && this.parent.isTreeAnimationBlocked()) ||\n false);\n }\n // Note: currently only running on root node\n startUpdate() {\n if (this.isUpdateBlocked())\n return;\n this.isUpdating = true;\n this.nodes && this.nodes.forEach(resetSkewAndRotation);\n this.animationId++;\n }\n getTransformTemplate() {\n const { visualElement } = this.options;\n return visualElement && visualElement.getProps().transformTemplate;\n }\n willUpdate(shouldNotifyListeners = true) {\n this.root.hasTreeAnimated = true;\n if (this.root.isUpdateBlocked()) {\n this.options.onExitComplete && this.options.onExitComplete();\n return;\n }\n /**\n * If we're running optimised appear animations then these must be\n * cancelled before measuring the DOM. This is so we can measure\n * the true layout of the element rather than the WAAPI animation\n * which will be unaffected by the resetSkewAndRotate step.\n *\n * Note: This is a DOM write. Worst case scenario is this is sandwiched\n * between other snapshot reads which will cause unnecessary style recalculations.\n * This has to happen here though, as we don't yet know which nodes will need\n * snapshots in startUpdate(), but we only want to cancel optimised animations\n * if a layout animation measurement is actually going to be affected by them.\n */\n if (window.MotionCancelOptimisedAnimation &&\n !this.hasCheckedOptimisedAppear) {\n cancelTreeOptimisedTransformAnimations(this);\n }\n !this.root.isUpdating && this.root.startUpdate();\n if (this.isLayoutDirty)\n return;\n this.isLayoutDirty = true;\n for (let i = 0; i < this.path.length; i++) {\n const node = this.path[i];\n node.shouldResetTransform = true;\n node.updateScroll(\"snapshot\");\n if (node.options.layoutRoot) {\n node.willUpdate(false);\n }\n }\n const { layoutId, layout } = this.options;\n if (layoutId === undefined && !layout)\n return;\n const transformTemplate = this.getTransformTemplate();\n this.prevTransformTemplateValue = transformTemplate\n ? transformTemplate(this.latestValues, \"\")\n : undefined;\n this.updateSnapshot();\n shouldNotifyListeners && this.notifyListeners(\"willUpdate\");\n }\n update() {\n this.updateScheduled = false;\n const updateWasBlocked = this.isUpdateBlocked();\n // When doing an instant transition, we skip the layout update,\n // but should still clean up the measurements so that the next\n // snapshot could be taken correctly.\n if (updateWasBlocked) {\n this.unblockUpdate();\n this.clearAllSnapshots();\n this.nodes.forEach(clearMeasurements);\n return;\n }\n /**\n * If this is a repeat of didUpdate then ignore the animation.\n */\n if (this.animationId <= this.animationCommitId) {\n this.nodes.forEach(clearIsLayoutDirty);\n return;\n }\n this.animationCommitId = this.animationId;\n if (!this.isUpdating) {\n this.nodes.forEach(clearIsLayoutDirty);\n }\n else {\n this.isUpdating = false;\n /**\n * Write\n */\n this.nodes.forEach(resetTransformStyle);\n /**\n * Read ==================\n */\n // Update layout measurements of updated children\n this.nodes.forEach(updateLayout);\n /**\n * Write\n */\n // Notify listeners that the layout is updated\n this.nodes.forEach(notifyLayoutUpdate);\n }\n this.clearAllSnapshots();\n /**\n * Manually flush any pending updates. Ideally\n * we could leave this to the following requestAnimationFrame but this seems\n * to leave a flash of incorrectly styled content.\n */\n const now = time.now();\n frameData.delta = clamp(0, 1000 / 60, now - frameData.timestamp);\n frameData.timestamp = now;\n frameData.isProcessing = true;\n frameSteps.update.process(frameData);\n frameSteps.preRender.process(frameData);\n frameSteps.render.process(frameData);\n frameData.isProcessing = false;\n }\n didUpdate() {\n if (!this.updateScheduled) {\n this.updateScheduled = true;\n microtask.read(this.scheduleUpdate);\n }\n }\n clearAllSnapshots() {\n this.nodes.forEach(clearSnapshot);\n this.sharedNodes.forEach(removeLeadSnapshots);\n }\n scheduleUpdateProjection() {\n if (!this.projectionUpdateScheduled) {\n this.projectionUpdateScheduled = true;\n frame.preRender(this.updateProjection, false, true);\n }\n }\n scheduleCheckAfterUnmount() {\n /**\n * If the unmounting node is in a layoutGroup and did trigger a willUpdate,\n * we manually call didUpdate to give a chance to the siblings to animate.\n * Otherwise, cleanup all snapshots to prevents future nodes from reusing them.\n */\n frame.postRender(() => {\n if (this.isLayoutDirty) {\n this.root.didUpdate();\n }\n else {\n this.root.checkUpdateFailed();\n }\n });\n }\n /**\n * Update measurements\n */\n updateSnapshot() {\n if (this.snapshot || !this.instance)\n return;\n this.snapshot = this.measure();\n if (this.snapshot &&\n !calcLength(this.snapshot.measuredBox.x) &&\n !calcLength(this.snapshot.measuredBox.y)) {\n this.snapshot = undefined;\n }\n }\n updateLayout() {\n if (!this.instance)\n return;\n this.updateScroll();\n if (!(this.options.alwaysMeasureLayout && this.isLead()) &&\n !this.isLayoutDirty) {\n return;\n }\n /**\n * When a node is mounted, it simply resumes from the prevLead's\n * snapshot instead of taking a new one, but the ancestors scroll\n * might have updated while the prevLead is unmounted. We need to\n * update the scroll again to make sure the layout we measure is\n * up to date.\n */\n if (this.resumeFrom && !this.resumeFrom.instance) {\n for (let i = 0; i < this.path.length; i++) {\n const node = this.path[i];\n node.updateScroll();\n }\n }\n const prevLayout = this.layout;\n this.layout = this.measure(false);\n this.layoutVersion++;\n this.layoutCorrected = createBox();\n this.isLayoutDirty = false;\n this.projectionDelta = undefined;\n this.notifyListeners(\"measure\", this.layout.layoutBox);\n const { visualElement } = this.options;\n visualElement &&\n visualElement.notify(\"LayoutMeasure\", this.layout.layoutBox, prevLayout ? prevLayout.layoutBox : undefined);\n }\n updateScroll(phase = \"measure\") {\n let needsMeasurement = Boolean(this.options.layoutScroll && this.instance);\n if (this.scroll &&\n this.scroll.animationId === this.root.animationId &&\n this.scroll.phase === phase) {\n needsMeasurement = false;\n }\n if (needsMeasurement && this.instance) {\n const isRoot = checkIsScrollRoot(this.instance);\n this.scroll = {\n animationId: this.root.animationId,\n phase,\n isRoot,\n offset: measureScroll(this.instance),\n wasRoot: this.scroll ? this.scroll.isRoot : isRoot,\n };\n }\n }\n resetTransform() {\n if (!resetTransform)\n return;\n const isResetRequested = this.isLayoutDirty ||\n this.shouldResetTransform ||\n this.options.alwaysMeasureLayout;\n const hasProjection = this.projectionDelta && !isDeltaZero(this.projectionDelta);\n const transformTemplate = this.getTransformTemplate();\n const transformTemplateValue = transformTemplate\n ? transformTemplate(this.latestValues, \"\")\n : undefined;\n const transformTemplateHasChanged = transformTemplateValue !== this.prevTransformTemplateValue;\n if (isResetRequested &&\n this.instance &&\n (hasProjection ||\n hasTransform(this.latestValues) ||\n transformTemplateHasChanged)) {\n resetTransform(this.instance, transformTemplateValue);\n this.shouldResetTransform = false;\n this.scheduleRender();\n }\n }\n measure(removeTransform = true) {\n const pageBox = this.measurePageBox();\n let layoutBox = this.removeElementScroll(pageBox);\n /**\n * Measurements taken during the pre-render stage\n * still have transforms applied so we remove them\n * via calculation.\n */\n if (removeTransform) {\n layoutBox = this.removeTransform(layoutBox);\n }\n roundBox(layoutBox);\n return {\n animationId: this.root.animationId,\n measuredBox: pageBox,\n layoutBox,\n latestValues: {},\n source: this.id,\n };\n }\n measurePageBox() {\n const { visualElement } = this.options;\n if (!visualElement)\n return createBox();\n const box = visualElement.measureViewportBox();\n const wasInScrollRoot = this.scroll?.wasRoot || this.path.some(checkNodeWasScrollRoot);\n if (!wasInScrollRoot) {\n // Remove viewport scroll to give page-relative coordinates\n const { scroll } = this.root;\n if (scroll) {\n translateAxis(box.x, scroll.offset.x);\n translateAxis(box.y, scroll.offset.y);\n }\n }\n return box;\n }\n removeElementScroll(box) {\n const boxWithoutScroll = createBox();\n copyBoxInto(boxWithoutScroll, box);\n if (this.scroll?.wasRoot) {\n return boxWithoutScroll;\n }\n /**\n * Performance TODO: Keep a cumulative scroll offset down the tree\n * rather than loop back up the path.\n */\n for (let i = 0; i < this.path.length; i++) {\n const node = this.path[i];\n const { scroll, options } = node;\n if (node !== this.root && scroll && options.layoutScroll) {\n /**\n * If this is a new scroll root, we want to remove all previous scrolls\n * from the viewport box.\n */\n if (scroll.wasRoot) {\n copyBoxInto(boxWithoutScroll, box);\n }\n translateAxis(boxWithoutScroll.x, scroll.offset.x);\n translateAxis(boxWithoutScroll.y, scroll.offset.y);\n }\n }\n return boxWithoutScroll;\n }\n applyTransform(box, transformOnly = false) {\n const withTransforms = createBox();\n copyBoxInto(withTransforms, box);\n for (let i = 0; i < this.path.length; i++) {\n const node = this.path[i];\n if (!transformOnly &&\n node.options.layoutScroll &&\n node.scroll &&\n node !== node.root) {\n transformBox(withTransforms, {\n x: -node.scroll.offset.x,\n y: -node.scroll.offset.y,\n });\n }\n if (!hasTransform(node.latestValues))\n continue;\n transformBox(withTransforms, node.latestValues);\n }\n if (hasTransform(this.latestValues)) {\n transformBox(withTransforms, this.latestValues);\n }\n return withTransforms;\n }\n removeTransform(box) {\n const boxWithoutTransform = createBox();\n copyBoxInto(boxWithoutTransform, box);\n for (let i = 0; i < this.path.length; i++) {\n const node = this.path[i];\n if (!node.instance)\n continue;\n if (!hasTransform(node.latestValues))\n continue;\n hasScale(node.latestValues) && node.updateSnapshot();\n const sourceBox = createBox();\n const nodeBox = node.measurePageBox();\n copyBoxInto(sourceBox, nodeBox);\n removeBoxTransforms(boxWithoutTransform, node.latestValues, node.snapshot ? node.snapshot.layoutBox : undefined, sourceBox);\n }\n if (hasTransform(this.latestValues)) {\n removeBoxTransforms(boxWithoutTransform, this.latestValues);\n }\n return boxWithoutTransform;\n }\n setTargetDelta(delta) {\n this.targetDelta = delta;\n this.root.scheduleUpdateProjection();\n this.isProjectionDirty = true;\n }\n setOptions(options) {\n this.options = {\n ...this.options,\n ...options,\n crossfade: options.crossfade !== undefined ? options.crossfade : true,\n };\n }\n clearMeasurements() {\n this.scroll = undefined;\n this.layout = undefined;\n this.snapshot = undefined;\n this.prevTransformTemplateValue = undefined;\n this.targetDelta = undefined;\n this.target = undefined;\n this.isLayoutDirty = false;\n }\n forceRelativeParentToResolveTarget() {\n if (!this.relativeParent)\n return;\n /**\n * If the parent target isn't up-to-date, force it to update.\n * This is an unfortunate de-optimisation as it means any updating relative\n * projection will cause all the relative parents to recalculate back\n * up the tree.\n */\n if (this.relativeParent.resolvedRelativeTargetAt !==\n frameData.timestamp) {\n this.relativeParent.resolveTargetDelta(true);\n }\n }\n resolveTargetDelta(forceRecalculation = false) {\n /**\n * Once the dirty status of nodes has been spread through the tree, we also\n * need to check if we have a shared node of a different depth that has itself\n * been dirtied.\n */\n const lead = this.getLead();\n this.isProjectionDirty || (this.isProjectionDirty = lead.isProjectionDirty);\n this.isTransformDirty || (this.isTransformDirty = lead.isTransformDirty);\n this.isSharedProjectionDirty || (this.isSharedProjectionDirty = lead.isSharedProjectionDirty);\n const isShared = Boolean(this.resumingFrom) || this !== lead;\n /**\n * We don't use transform for this step of processing so we don't\n * need to check whether any nodes have changed transform.\n */\n const canSkip = !(forceRecalculation ||\n (isShared && this.isSharedProjectionDirty) ||\n this.isProjectionDirty ||\n this.parent?.isProjectionDirty ||\n this.attemptToResolveRelativeTarget ||\n this.root.updateBlockedByResize);\n if (canSkip)\n return;\n const { layout, layoutId } = this.options;\n /**\n * If we have no layout, we can't perform projection, so early return\n */\n if (!this.layout || !(layout || layoutId))\n return;\n this.resolvedRelativeTargetAt = frameData.timestamp;\n const relativeParent = this.getClosestProjectingParent();\n if (relativeParent &&\n this.linkedParentVersion !== relativeParent.layoutVersion &&\n !relativeParent.options.layoutRoot) {\n this.removeRelativeTarget();\n }\n /**\n * If we don't have a targetDelta but do have a layout, we can attempt to resolve\n * a relativeParent. This will allow a component to perform scale correction\n * even if no animation has started.\n */\n if (!this.targetDelta && !this.relativeTarget) {\n if (relativeParent && relativeParent.layout) {\n this.createRelativeTarget(relativeParent, this.layout.layoutBox, relativeParent.layout.layoutBox);\n }\n else {\n this.removeRelativeTarget();\n }\n }\n /**\n * If we have no relative target or no target delta our target isn't valid\n * for this frame.\n */\n if (!this.relativeTarget && !this.targetDelta)\n return;\n /**\n * Lazy-init target data structure\n */\n if (!this.target) {\n this.target = createBox();\n this.targetWithTransforms = createBox();\n }\n /**\n * If we've got a relative box for this component, resolve it into a target relative to the parent.\n */\n if (this.relativeTarget &&\n this.relativeTargetOrigin &&\n this.relativeParent &&\n this.relativeParent.target) {\n this.forceRelativeParentToResolveTarget();\n calcRelativeBox(this.target, this.relativeTarget, this.relativeParent.target);\n /**\n * If we've only got a targetDelta, resolve it into a target\n */\n }\n else if (this.targetDelta) {\n if (Boolean(this.resumingFrom)) {\n // TODO: This is creating a new object every frame\n this.target = this.applyTransform(this.layout.layoutBox);\n }\n else {\n copyBoxInto(this.target, this.layout.layoutBox);\n }\n applyBoxDelta(this.target, this.targetDelta);\n }\n else {\n /**\n * If no target, use own layout as target\n */\n copyBoxInto(this.target, this.layout.layoutBox);\n }\n /**\n * If we've been told to attempt to resolve a relative target, do so.\n */\n if (this.attemptToResolveRelativeTarget) {\n this.attemptToResolveRelativeTarget = false;\n if (relativeParent &&\n Boolean(relativeParent.resumingFrom) ===\n Boolean(this.resumingFrom) &&\n !relativeParent.options.layoutScroll &&\n relativeParent.target &&\n this.animationProgress !== 1) {\n this.createRelativeTarget(relativeParent, this.target, relativeParent.target);\n }\n else {\n this.relativeParent = this.relativeTarget = undefined;\n }\n }\n /**\n * Increase debug counter for resolved target deltas\n */\n if (statsBuffer.value) {\n metrics.calculatedTargetDeltas++;\n }\n }\n getClosestProjectingParent() {\n if (!this.parent ||\n hasScale(this.parent.latestValues) ||\n has2DTranslate(this.parent.latestValues)) {\n return undefined;\n }\n if (this.parent.isProjecting()) {\n return this.parent;\n }\n else {\n return this.parent.getClosestProjectingParent();\n }\n }\n isProjecting() {\n return Boolean((this.relativeTarget ||\n this.targetDelta ||\n this.options.layoutRoot) &&\n this.layout);\n }\n createRelativeTarget(relativeParent, layout, parentLayout) {\n this.relativeParent = relativeParent;\n this.linkedParentVersion = relativeParent.layoutVersion;\n this.forceRelativeParentToResolveTarget();\n this.relativeTarget = createBox();\n this.relativeTargetOrigin = createBox();\n calcRelativePosition(this.relativeTargetOrigin, layout, parentLayout);\n copyBoxInto(this.relativeTarget, this.relativeTargetOrigin);\n }\n removeRelativeTarget() {\n this.relativeParent = this.relativeTarget = undefined;\n }\n calcProjection() {\n const lead = this.getLead();\n const isShared = Boolean(this.resumingFrom) || this !== lead;\n let canSkip = true;\n /**\n * If this is a normal layout animation and neither this node nor its nearest projecting\n * is dirty then we can't skip.\n */\n if (this.isProjectionDirty || this.parent?.isProjectionDirty) {\n canSkip = false;\n }\n /**\n * If this is a shared layout animation and this node's shared projection is dirty then\n * we can't skip.\n */\n if (isShared &&\n (this.isSharedProjectionDirty || this.isTransformDirty)) {\n canSkip = false;\n }\n /**\n * If we have resolved the target this frame we must recalculate the\n * projection to ensure it visually represents the internal calculations.\n */\n if (this.resolvedRelativeTargetAt === frameData.timestamp) {\n canSkip = false;\n }\n if (canSkip)\n return;\n const { layout, layoutId } = this.options;\n /**\n * If this section of the tree isn't animating we can\n * delete our target sources for the following frame.\n */\n this.isTreeAnimating = Boolean((this.parent && this.parent.isTreeAnimating) ||\n this.currentAnimation ||\n this.pendingAnimation);\n if (!this.isTreeAnimating) {\n this.targetDelta = this.relativeTarget = undefined;\n }\n if (!this.layout || !(layout || layoutId))\n return;\n /**\n * Reset the corrected box with the latest values from box, as we're then going\n * to perform mutative operations on it.\n */\n copyBoxInto(this.layoutCorrected, this.layout.layoutBox);\n /**\n * Record previous tree scales before updating.\n */\n const prevTreeScaleX = this.treeScale.x;\n const prevTreeScaleY = this.treeScale.y;\n /**\n * Apply all the parent deltas to this box to produce the corrected box. This\n * is the layout box, as it will appear on screen as a result of the transforms of its parents.\n */\n applyTreeDeltas(this.layoutCorrected, this.treeScale, this.path, isShared);\n /**\n * If this layer needs to perform scale correction but doesn't have a target,\n * use the layout as the target.\n */\n if (lead.layout &&\n !lead.target &&\n (this.treeScale.x !== 1 || this.treeScale.y !== 1)) {\n lead.target = lead.layout.layoutBox;\n lead.targetWithTransforms = createBox();\n }\n const { target } = lead;\n if (!target) {\n /**\n * If we don't have a target to project into, but we were previously\n * projecting, we want to remove the stored transform and schedule\n * a render to ensure the elements reflect the removed transform.\n */\n if (this.prevProjectionDelta) {\n this.createProjectionDeltas();\n this.scheduleRender();\n }\n return;\n }\n if (!this.projectionDelta || !this.prevProjectionDelta) {\n this.createProjectionDeltas();\n }\n else {\n copyAxisDeltaInto(this.prevProjectionDelta.x, this.projectionDelta.x);\n copyAxisDeltaInto(this.prevProjectionDelta.y, this.projectionDelta.y);\n }\n /**\n * Update the delta between the corrected box and the target box before user-set transforms were applied.\n * This will allow us to calculate the corrected borderRadius and boxShadow to compensate\n * for our layout reprojection, but still allow them to be scaled correctly by the user.\n * It might be that to simplify this we may want to accept that user-set scale is also corrected\n * and we wouldn't have to keep and calc both deltas, OR we could support a user setting\n * to allow people to choose whether these styles are corrected based on just the\n * layout reprojection or the final bounding box.\n */\n calcBoxDelta(this.projectionDelta, this.layoutCorrected, target, this.latestValues);\n if (this.treeScale.x !== prevTreeScaleX ||\n this.treeScale.y !== prevTreeScaleY ||\n !axisDeltaEquals(this.projectionDelta.x, this.prevProjectionDelta.x) ||\n !axisDeltaEquals(this.projectionDelta.y, this.prevProjectionDelta.y)) {\n this.hasProjected = true;\n this.scheduleRender();\n this.notifyListeners(\"projectionUpdate\", target);\n }\n /**\n * Increase debug counter for recalculated projections\n */\n if (statsBuffer.value) {\n metrics.calculatedProjections++;\n }\n }\n hide() {\n this.isVisible = false;\n // TODO: Schedule render\n }\n show() {\n this.isVisible = true;\n // TODO: Schedule render\n }\n scheduleRender(notifyAll = true) {\n this.options.visualElement?.scheduleRender();\n if (notifyAll) {\n const stack = this.getStack();\n stack && stack.scheduleRender();\n }\n if (this.resumingFrom && !this.resumingFrom.instance) {\n this.resumingFrom = undefined;\n }\n }\n createProjectionDeltas() {\n this.prevProjectionDelta = createDelta();\n this.projectionDelta = createDelta();\n this.projectionDeltaWithTransform = createDelta();\n }\n setAnimationOrigin(delta, hasOnlyRelativeTargetChanged = false) {\n const snapshot = this.snapshot;\n const snapshotLatestValues = snapshot ? snapshot.latestValues : {};\n const mixedValues = { ...this.latestValues };\n const targetDelta = createDelta();\n if (!this.relativeParent ||\n !this.relativeParent.options.layoutRoot) {\n this.relativeTarget = this.relativeTargetOrigin = undefined;\n }\n this.attemptToResolveRelativeTarget = !hasOnlyRelativeTargetChanged;\n const relativeLayout = createBox();\n const snapshotSource = snapshot ? snapshot.source : undefined;\n const layoutSource = this.layout ? this.layout.source : undefined;\n const isSharedLayoutAnimation = snapshotSource !== layoutSource;\n const stack = this.getStack();\n const isOnlyMember = !stack || stack.members.length <= 1;\n const shouldCrossfadeOpacity = Boolean(isSharedLayoutAnimation &&\n !isOnlyMember &&\n this.options.crossfade === true &&\n !this.path.some(hasOpacityCrossfade));\n this.animationProgress = 0;\n let prevRelativeTarget;\n this.mixTargetDelta = (latest) => {\n const progress = latest / 1000;\n mixAxisDelta(targetDelta.x, delta.x, progress);\n mixAxisDelta(targetDelta.y, delta.y, progress);\n this.setTargetDelta(targetDelta);\n if (this.relativeTarget &&\n this.relativeTargetOrigin &&\n this.layout &&\n this.relativeParent &&\n this.relativeParent.layout) {\n calcRelativePosition(relativeLayout, this.layout.layoutBox, this.relativeParent.layout.layoutBox);\n mixBox(this.relativeTarget, this.relativeTargetOrigin, relativeLayout, progress);\n /**\n * If this is an unchanged relative target we can consider the\n * projection not dirty.\n */\n if (prevRelativeTarget &&\n boxEquals(this.relativeTarget, prevRelativeTarget)) {\n this.isProjectionDirty = false;\n }\n if (!prevRelativeTarget)\n prevRelativeTarget = createBox();\n copyBoxInto(prevRelativeTarget, this.relativeTarget);\n }\n if (isSharedLayoutAnimation) {\n this.animationValues = mixedValues;\n mixValues(mixedValues, snapshotLatestValues, this.latestValues, progress, shouldCrossfadeOpacity, isOnlyMember);\n }\n this.root.scheduleUpdateProjection();\n this.scheduleRender();\n this.animationProgress = progress;\n };\n this.mixTargetDelta(this.options.layoutRoot ? 1000 : 0);\n }\n startAnimation(options) {\n this.notifyListeners(\"animationStart\");\n this.currentAnimation?.stop();\n this.resumingFrom?.currentAnimation?.stop();\n if (this.pendingAnimation) {\n cancelFrame(this.pendingAnimation);\n this.pendingAnimation = undefined;\n }\n /**\n * Start the animation in the next frame to have a frame with progress 0,\n * where the target is the same as when the animation started, so we can\n * calculate the relative positions correctly for instant transitions.\n */\n this.pendingAnimation = frame.update(() => {\n globalProjectionState.hasAnimatedSinceResize = true;\n activeAnimations.layout++;\n this.motionValue || (this.motionValue = motionValue(0));\n this.currentAnimation = animateSingleValue(this.motionValue, [0, 1000], {\n ...options,\n velocity: 0,\n isSync: true,\n onUpdate: (latest) => {\n this.mixTargetDelta(latest);\n options.onUpdate && options.onUpdate(latest);\n },\n onStop: () => {\n activeAnimations.layout--;\n },\n onComplete: () => {\n activeAnimations.layout--;\n options.onComplete && options.onComplete();\n this.completeAnimation();\n },\n });\n if (this.resumingFrom) {\n this.resumingFrom.currentAnimation = this.currentAnimation;\n }\n this.pendingAnimation = undefined;\n });\n }\n completeAnimation() {\n if (this.resumingFrom) {\n this.resumingFrom.currentAnimation = undefined;\n this.resumingFrom.preserveOpacity = undefined;\n }\n const stack = this.getStack();\n stack && stack.exitAnimationComplete();\n this.resumingFrom =\n this.currentAnimation =\n this.animationValues =\n undefined;\n this.notifyListeners(\"animationComplete\");\n }\n finishAnimation() {\n if (this.currentAnimation) {\n this.mixTargetDelta && this.mixTargetDelta(animationTarget);\n this.currentAnimation.stop();\n }\n this.completeAnimation();\n }\n applyTransformsToTarget() {\n const lead = this.getLead();\n let { targetWithTransforms, target, layout, latestValues } = lead;\n if (!targetWithTransforms || !target || !layout)\n return;\n /**\n * If we're only animating position, and this element isn't the lead element,\n * then instead of projecting into the lead box we instead want to calculate\n * a new target that aligns the two boxes but maintains the layout shape.\n */\n if (this !== lead &&\n this.layout &&\n layout &&\n shouldAnimatePositionOnly(this.options.animationType, this.layout.layoutBox, layout.layoutBox)) {\n target = this.target || createBox();\n const xLength = calcLength(this.layout.layoutBox.x);\n target.x.min = lead.target.x.min;\n target.x.max = target.x.min + xLength;\n const yLength = calcLength(this.layout.layoutBox.y);\n target.y.min = lead.target.y.min;\n target.y.max = target.y.min + yLength;\n }\n copyBoxInto(targetWithTransforms, target);\n /**\n * Apply the latest user-set transforms to the targetBox to produce the targetBoxFinal.\n * This is the final box that we will then project into by calculating a transform delta and\n * applying it to the corrected box.\n */\n transformBox(targetWithTransforms, latestValues);\n /**\n * Update the delta between the corrected box and the final target box, after\n * user-set transforms are applied to it. This will be used by the renderer to\n * create a transform style that will reproject the element from its layout layout\n * into the desired bounding box.\n */\n calcBoxDelta(this.projectionDeltaWithTransform, this.layoutCorrected, targetWithTransforms, latestValues);\n }\n registerSharedNode(layoutId, node) {\n if (!this.sharedNodes.has(layoutId)) {\n this.sharedNodes.set(layoutId, new NodeStack());\n }\n const stack = this.sharedNodes.get(layoutId);\n stack.add(node);\n const config = node.options.initialPromotionConfig;\n node.promote({\n transition: config ? config.transition : undefined,\n preserveFollowOpacity: config && config.shouldPreserveFollowOpacity\n ? config.shouldPreserveFollowOpacity(node)\n : undefined,\n });\n }\n isLead() {\n const stack = this.getStack();\n return stack ? stack.lead === this : true;\n }\n getLead() {\n const { layoutId } = this.options;\n return layoutId ? this.getStack()?.lead || this : this;\n }\n getPrevLead() {\n const { layoutId } = this.options;\n return layoutId ? this.getStack()?.prevLead : undefined;\n }\n getStack() {\n const { layoutId } = this.options;\n if (layoutId)\n return this.root.sharedNodes.get(layoutId);\n }\n promote({ needsReset, transition, preserveFollowOpacity, } = {}) {\n const stack = this.getStack();\n if (stack)\n stack.promote(this, preserveFollowOpacity);\n if (needsReset) {\n this.projectionDelta = undefined;\n this.needsReset = true;\n }\n if (transition)\n this.setOptions({ transition });\n }\n relegate() {\n const stack = this.getStack();\n if (stack) {\n return stack.relegate(this);\n }\n else {\n return false;\n }\n }\n resetSkewAndRotation() {\n const { visualElement } = this.options;\n if (!visualElement)\n return;\n // If there's no detected skew or rotation values, we can early return without a forced render.\n let hasDistortingTransform = false;\n /**\n * An unrolled check for rotation values. Most elements don't have any rotation and\n * skipping the nested loop and new object creation is 50% faster.\n */\n const { latestValues } = visualElement;\n if (latestValues.z ||\n latestValues.rotate ||\n latestValues.rotateX ||\n latestValues.rotateY ||\n latestValues.rotateZ ||\n latestValues.skewX ||\n latestValues.skewY) {\n hasDistortingTransform = true;\n }\n // If there's no distorting values, we don't need to do any more.\n if (!hasDistortingTransform)\n return;\n const resetValues = {};\n if (latestValues.z) {\n resetDistortingTransform(\"z\", visualElement, resetValues, this.animationValues);\n }\n // Check the skew and rotate value of all axes and reset to 0\n for (let i = 0; i < transformAxes.length; i++) {\n resetDistortingTransform(`rotate${transformAxes[i]}`, visualElement, resetValues, this.animationValues);\n resetDistortingTransform(`skew${transformAxes[i]}`, visualElement, resetValues, this.animationValues);\n }\n // Force a render of this element to apply the transform with all skews and rotations\n // set to 0.\n visualElement.render();\n // Put back all the values we reset\n for (const key in resetValues) {\n visualElement.setStaticValue(key, resetValues[key]);\n if (this.animationValues) {\n this.animationValues[key] = resetValues[key];\n }\n }\n // Schedule a render for the next frame. This ensures we won't visually\n // see the element with the reset rotate value applied.\n visualElement.scheduleRender();\n }\n applyProjectionStyles(targetStyle, // CSSStyleDeclaration - doesn't allow numbers to be assigned to properties\n styleProp) {\n if (!this.instance || this.isSVG)\n return;\n if (!this.isVisible) {\n targetStyle.visibility = \"hidden\";\n return;\n }\n const transformTemplate = this.getTransformTemplate();\n if (this.needsReset) {\n this.needsReset = false;\n targetStyle.visibility = \"\";\n targetStyle.opacity = \"\";\n targetStyle.pointerEvents =\n resolveMotionValue(styleProp?.pointerEvents) || \"\";\n targetStyle.transform = transformTemplate\n ? transformTemplate(this.latestValues, \"\")\n : \"none\";\n return;\n }\n const lead = this.getLead();\n if (!this.projectionDelta || !this.layout || !lead.target) {\n if (this.options.layoutId) {\n targetStyle.opacity =\n this.latestValues.opacity !== undefined\n ? this.latestValues.opacity\n : 1;\n targetStyle.pointerEvents =\n resolveMotionValue(styleProp?.pointerEvents) || \"\";\n }\n if (this.hasProjected && !hasTransform(this.latestValues)) {\n targetStyle.transform = transformTemplate\n ? transformTemplate({}, \"\")\n : \"none\";\n this.hasProjected = false;\n }\n return;\n }\n targetStyle.visibility = \"\";\n const valuesToRender = lead.animationValues || lead.latestValues;\n this.applyTransformsToTarget();\n let transform = buildProjectionTransform(this.projectionDeltaWithTransform, this.treeScale, valuesToRender);\n if (transformTemplate) {\n transform = transformTemplate(valuesToRender, transform);\n }\n targetStyle.transform = transform;\n const { x, y } = this.projectionDelta;\n targetStyle.transformOrigin = `${x.origin * 100}% ${y.origin * 100}% 0`;\n if (lead.animationValues) {\n /**\n * If the lead component is animating, assign this either the entering/leaving\n * opacity\n */\n targetStyle.opacity =\n lead === this\n ? valuesToRender.opacity ??\n this.latestValues.opacity ??\n 1\n : this.preserveOpacity\n ? this.latestValues.opacity\n : valuesToRender.opacityExit;\n }\n else {\n /**\n * Or we're not animating at all, set the lead component to its layout\n * opacity and other components to hidden.\n */\n targetStyle.opacity =\n lead === this\n ? valuesToRender.opacity !== undefined\n ? valuesToRender.opacity\n : \"\"\n : valuesToRender.opacityExit !== undefined\n ? valuesToRender.opacityExit\n : 0;\n }\n /**\n * Apply scale correction\n */\n for (const key in scaleCorrectors) {\n if (valuesToRender[key] === undefined)\n continue;\n const { correct, applyTo, isCSSVariable } = scaleCorrectors[key];\n /**\n * Only apply scale correction to the value if we have an\n * active projection transform. Otherwise these values become\n * vulnerable to distortion if the element changes size without\n * a corresponding layout animation.\n */\n const corrected = transform === \"none\"\n ? valuesToRender[key]\n : correct(valuesToRender[key], lead);\n if (applyTo) {\n const num = applyTo.length;\n for (let i = 0; i < num; i++) {\n targetStyle[applyTo[i]] = corrected;\n }\n }\n else {\n // If this is a CSS variable, set it directly on the instance.\n // Replacing this function from creating styles to setting them\n // would be a good place to remove per frame object creation\n if (isCSSVariable) {\n this.options.visualElement.renderState.vars[key] = corrected;\n }\n else {\n targetStyle[key] = corrected;\n }\n }\n }\n /**\n * Disable pointer events on follow components. This is to ensure\n * that if a follow component covers a lead component it doesn't block\n * pointer events on the lead.\n */\n if (this.options.layoutId) {\n targetStyle.pointerEvents =\n lead === this\n ? resolveMotionValue(styleProp?.pointerEvents) || \"\"\n : \"none\";\n }\n }\n clearSnapshot() {\n this.resumeFrom = this.snapshot = undefined;\n }\n // Only run on root\n resetTree() {\n this.root.nodes.forEach((node) => node.currentAnimation?.stop());\n this.root.nodes.forEach(clearMeasurements);\n this.root.sharedNodes.clear();\n }\n };\n}\nfunction updateLayout(node) {\n node.updateLayout();\n}\nfunction notifyLayoutUpdate(node) {\n const snapshot = node.resumeFrom?.snapshot || node.snapshot;\n if (node.isLead() &&\n node.layout &&\n snapshot &&\n node.hasListeners(\"didUpdate\")) {\n const { layoutBox: layout, measuredBox: measuredLayout } = node.layout;\n const { animationType } = node.options;\n const isShared = snapshot.source !== node.layout.source;\n // TODO Maybe we want to also resize the layout snapshot so we don't trigger\n // animations for instance if layout=\"size\" and an element has only changed position\n if (animationType === \"size\") {\n eachAxis((axis) => {\n const axisSnapshot = isShared\n ? snapshot.measuredBox[axis]\n : snapshot.layoutBox[axis];\n const length = calcLength(axisSnapshot);\n axisSnapshot.min = layout[axis].min;\n axisSnapshot.max = axisSnapshot.min + length;\n });\n }\n else if (shouldAnimatePositionOnly(animationType, snapshot.layoutBox, layout)) {\n eachAxis((axis) => {\n const axisSnapshot = isShared\n ? snapshot.measuredBox[axis]\n : snapshot.layoutBox[axis];\n const length = calcLength(layout[axis]);\n axisSnapshot.max = axisSnapshot.min + length;\n /**\n * Ensure relative target gets resized and rerendererd\n */\n if (node.relativeTarget && !node.currentAnimation) {\n node.isProjectionDirty = true;\n node.relativeTarget[axis].max =\n node.relativeTarget[axis].min + length;\n }\n });\n }\n const layoutDelta = createDelta();\n calcBoxDelta(layoutDelta, layout, snapshot.layoutBox);\n const visualDelta = createDelta();\n if (isShared) {\n calcBoxDelta(visualDelta, node.applyTransform(measuredLayout, true), snapshot.measuredBox);\n }\n else {\n calcBoxDelta(visualDelta, layout, snapshot.layoutBox);\n }\n const hasLayoutChanged = !isDeltaZero(layoutDelta);\n let hasRelativeLayoutChanged = false;\n if (!node.resumeFrom) {\n const relativeParent = node.getClosestProjectingParent();\n /**\n * If the relativeParent is itself resuming from a different element then\n * the relative snapshot is not relavent\n */\n if (relativeParent && !relativeParent.resumeFrom) {\n const { snapshot: parentSnapshot, layout: parentLayout } = relativeParent;\n if (parentSnapshot && parentLayout) {\n const relativeSnapshot = createBox();\n calcRelativePosition(relativeSnapshot, snapshot.layoutBox, parentSnapshot.layoutBox);\n const relativeLayout = createBox();\n calcRelativePosition(relativeLayout, layout, parentLayout.layoutBox);\n if (!boxEqualsRounded(relativeSnapshot, relativeLayout)) {\n hasRelativeLayoutChanged = true;\n }\n if (relativeParent.options.layoutRoot) {\n node.relativeTarget = relativeLayout;\n node.relativeTargetOrigin = relativeSnapshot;\n node.relativeParent = relativeParent;\n }\n }\n }\n }\n node.notifyListeners(\"didUpdate\", {\n layout,\n snapshot,\n delta: visualDelta,\n layoutDelta,\n hasLayoutChanged,\n hasRelativeLayoutChanged,\n });\n }\n else if (node.isLead()) {\n const { onExitComplete } = node.options;\n onExitComplete && onExitComplete();\n }\n /**\n * Clearing transition\n * TODO: Investigate why this transition is being passed in as {type: false } from Framer\n * and why we need it at all\n */\n node.options.transition = undefined;\n}\nfunction propagateDirtyNodes(node) {\n /**\n * Increase debug counter for nodes encountered this frame\n */\n if (statsBuffer.value) {\n metrics.nodes++;\n }\n if (!node.parent)\n return;\n /**\n * If this node isn't projecting, propagate isProjectionDirty. It will have\n * no performance impact but it will allow the next child that *is* projecting\n * but *isn't* dirty to just check its parent to see if *any* ancestor needs\n * correcting.\n */\n if (!node.isProjecting()) {\n node.isProjectionDirty = node.parent.isProjectionDirty;\n }\n /**\n * Propagate isSharedProjectionDirty and isTransformDirty\n * throughout the whole tree. A future revision can take another look at\n * this but for safety we still recalcualte shared nodes.\n */\n node.isSharedProjectionDirty || (node.isSharedProjectionDirty = Boolean(node.isProjectionDirty ||\n node.parent.isProjectionDirty ||\n node.parent.isSharedProjectionDirty));\n node.isTransformDirty || (node.isTransformDirty = node.parent.isTransformDirty);\n}\nfunction cleanDirtyNodes(node) {\n node.isProjectionDirty =\n node.isSharedProjectionDirty =\n node.isTransformDirty =\n false;\n}\nfunction clearSnapshot(node) {\n node.clearSnapshot();\n}\nfunction clearMeasurements(node) {\n node.clearMeasurements();\n}\nfunction clearIsLayoutDirty(node) {\n node.isLayoutDirty = false;\n}\nfunction resetTransformStyle(node) {\n const { visualElement } = node.options;\n if (visualElement && visualElement.getProps().onBeforeLayoutMeasure) {\n visualElement.notify(\"BeforeLayoutMeasure\");\n }\n node.resetTransform();\n}\nfunction finishAnimation(node) {\n node.finishAnimation();\n node.targetDelta = node.relativeTarget = node.target = undefined;\n node.isProjectionDirty = true;\n}\nfunction resolveTargetDelta(node) {\n node.resolveTargetDelta();\n}\nfunction calcProjection(node) {\n node.calcProjection();\n}\nfunction resetSkewAndRotation(node) {\n node.resetSkewAndRotation();\n}\nfunction removeLeadSnapshots(stack) {\n stack.removeLeadSnapshot();\n}\nfunction mixAxisDelta(output, delta, p) {\n output.translate = mixNumber(delta.translate, 0, p);\n output.scale = mixNumber(delta.scale, 1, p);\n output.origin = delta.origin;\n output.originPoint = delta.originPoint;\n}\nfunction mixAxis(output, from, to, p) {\n output.min = mixNumber(from.min, to.min, p);\n output.max = mixNumber(from.max, to.max, p);\n}\nfunction mixBox(output, from, to, p) {\n mixAxis(output.x, from.x, to.x, p);\n mixAxis(output.y, from.y, to.y, p);\n}\nfunction hasOpacityCrossfade(node) {\n return (node.animationValues && node.animationValues.opacityExit !== undefined);\n}\nconst defaultLayoutTransition = {\n duration: 0.45,\n ease: [0.4, 0, 0.1, 1],\n};\nconst userAgentContains = (string) => typeof navigator !== \"undefined\" &&\n navigator.userAgent &&\n navigator.userAgent.toLowerCase().includes(string);\n/**\n * Measured bounding boxes must be rounded in Safari and\n * left untouched in Chrome, otherwise non-integer layouts within scaled-up elements\n * can appear to jump.\n */\nconst roundPoint = userAgentContains(\"applewebkit/\") && !userAgentContains(\"chrome/\")\n ? Math.round\n : noop;\nfunction roundAxis(axis) {\n // Round to the nearest .5 pixels to support subpixel layouts\n axis.min = roundPoint(axis.min);\n axis.max = roundPoint(axis.max);\n}\nfunction roundBox(box) {\n roundAxis(box.x);\n roundAxis(box.y);\n}\nfunction shouldAnimatePositionOnly(animationType, snapshot, layout) {\n return (animationType === \"position\" ||\n (animationType === \"preserve-aspect\" &&\n !isNear(aspectRatio(snapshot), aspectRatio(layout), 0.2)));\n}\nfunction checkNodeWasScrollRoot(node) {\n return node !== node.root && node.scroll?.wasRoot;\n}\n\nexport { cleanDirtyNodes, createProjectionNode, mixAxis, mixAxisDelta, mixBox, propagateDirtyNodes };\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;AAEA,MAAM,UAAU;IACZ,OAAO;IACP,wBAAwB;IACxB,uBAAuB;AAC3B;AACA,MAAM,gBAAgB;IAAC;IAAI;IAAK;IAAK;CAAI;AACzC;;;CAGC,GACD,MAAM,kBAAkB;AACxB,IAAI,KAAK;AACT,SAAS,yBAAyB,GAAG,EAAE,aAAa,EAAE,MAAM,EAAE,qBAAqB;IAC/E,MAAM,EAAE,YAAY,EAAE,GAAG;IACzB,mEAAmE;IACnE,IA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AAClC;AACA,SAAS,SAAS,GAAG;IACjB,UAAU,IAAI,CAAC;IACf,UAAU,IAAI,CAAC;AACnB;AACA,SAAS,0BAA0B,aAAa,EAAE,QAAQ,EAAE,MAAM;IAC9D,OAAQ,kBAAkB,cACrB,kBAAkB,qBACf,CAAC,IAAA,uMAAM,EAAC,IAAA,oMAAW,EAAC,WAAW,IAAA,oMAAW,EAAC,SAAS;AAChE;AACA,SAAS,uBAAuB,IAAI;IAChC,OAAO,SAAS,KAAK,IAAI,IAAI,KAAK,MAAM,EAAE;AAC9C","ignoreList":[0]}}, - {"offset": {"line": 12784, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/projection/node/DocumentProjectionNode.mjs"],"sourcesContent":["import { addDomEvent } from '../../events/add-dom-event.mjs';\nimport { createProjectionNode } from './create-projection-node.mjs';\n\nconst DocumentProjectionNode = createProjectionNode({\n attachResizeListener: (ref, notify) => addDomEvent(ref, \"resize\", notify),\n measureScroll: () => ({\n x: document.documentElement.scrollLeft || document.body.scrollLeft,\n y: document.documentElement.scrollTop || document.body.scrollTop,\n }),\n checkIsScrollRoot: () => true,\n});\n\nexport { DocumentProjectionNode };\n"],"names":[],"mappings":";;;;AAAA;AACA;;;AAEA,MAAM,yBAAyB,IAAA,gOAAoB,EAAC;IAChD,sBAAsB,CAAC,KAAK,SAAW,IAAA,kMAAW,EAAC,KAAK,UAAU;IAClE,eAAe,IAAM,CAAC;YAClB,GAAG,SAAS,eAAe,CAAC,UAAU,IAAI,SAAS,IAAI,CAAC,UAAU;YAClE,GAAG,SAAS,eAAe,CAAC,SAAS,IAAI,SAAS,IAAI,CAAC,SAAS;QACpE,CAAC;IACD,mBAAmB,IAAM;AAC7B","ignoreList":[0]}}, - {"offset": {"line": 12805, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/projection/node/HTMLProjectionNode.mjs"],"sourcesContent":["import { createProjectionNode } from './create-projection-node.mjs';\nimport { DocumentProjectionNode } from './DocumentProjectionNode.mjs';\n\nconst rootProjectionNode = {\n current: undefined,\n};\nconst HTMLProjectionNode = createProjectionNode({\n measureScroll: (instance) => ({\n x: instance.scrollLeft,\n y: instance.scrollTop,\n }),\n defaultParent: () => {\n if (!rootProjectionNode.current) {\n const documentNode = new DocumentProjectionNode({});\n documentNode.mount(window);\n documentNode.setOptions({ layoutScroll: true });\n rootProjectionNode.current = documentNode;\n }\n return rootProjectionNode.current;\n },\n resetTransform: (instance, value) => {\n instance.style.transform = value !== undefined ? value : \"none\";\n },\n checkIsScrollRoot: (instance) => Boolean(window.getComputedStyle(instance).position === \"fixed\"),\n});\n\nexport { HTMLProjectionNode, rootProjectionNode };\n"],"names":[],"mappings":";;;;;;AAAA;AACA;;;AAEA,MAAM,qBAAqB;IACvB,SAAS;AACb;AACA,MAAM,qBAAqB,IAAA,gOAAoB,EAAC;IAC5C,eAAe,CAAC,WAAa,CAAC;YAC1B,GAAG,SAAS,UAAU;YACtB,GAAG,SAAS,SAAS;QACzB,CAAC;IACD,eAAe;QACX,IAAI,CAAC,mBAAmB,OAAO,EAAE;YAC7B,MAAM,eAAe,IAAI,4NAAsB,CAAC,CAAC;YACjD,aAAa,KAAK,CAAC;YACnB,aAAa,UAAU,CAAC;gBAAE,cAAc;YAAK;YAC7C,mBAAmB,OAAO,GAAG;QACjC;QACA,OAAO,mBAAmB,OAAO;IACrC;IACA,gBAAgB,CAAC,UAAU;QACvB,SAAS,KAAK,CAAC,SAAS,GAAG,UAAU,YAAY,QAAQ;IAC7D;IACA,mBAAmB,CAAC,WAAa,QAAQ,OAAO,gBAAgB,CAAC,UAAU,QAAQ,KAAK;AAC5F","ignoreList":[0]}}, - {"offset": {"line": 12844, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/motion/features/drag.mjs"],"sourcesContent":["import { DragGesture } from '../../gestures/drag/index.mjs';\nimport { PanGesture } from '../../gestures/pan/index.mjs';\nimport { MeasureLayout } from './layout/MeasureLayout.mjs';\nimport { HTMLProjectionNode } from '../../projection/node/HTMLProjectionNode.mjs';\n\nconst drag = {\n pan: {\n Feature: PanGesture,\n },\n drag: {\n Feature: DragGesture,\n ProjectionNode: HTMLProjectionNode,\n MeasureLayout,\n },\n};\n\nexport { drag };\n"],"names":[],"mappings":";;;;AAAA;AACA;AACA;AACA;;;;;AAEA,MAAM,OAAO;IACT,KAAK;QACD,SAAS,4LAAU;IACvB;IACA,MAAM;QACF,SAAS,8LAAW;QACpB,gBAAgB,oNAAkB;QAClC,eAAA,oNAAa;IACjB;AACJ","ignoreList":[0]}}, - {"offset": {"line": 12871, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/utils/resolve-elements.mjs"],"sourcesContent":["function resolveElements(elementOrSelector, scope, selectorCache) {\n if (elementOrSelector instanceof EventTarget) {\n return [elementOrSelector];\n }\n else if (typeof elementOrSelector === \"string\") {\n let root = document;\n if (scope) {\n root = scope.current;\n }\n const elements = selectorCache?.[elementOrSelector] ??\n root.querySelectorAll(elementOrSelector);\n return elements ? Array.from(elements) : [];\n }\n return Array.from(elementOrSelector);\n}\n\nexport { resolveElements };\n"],"names":[],"mappings":";;;;AAAA,SAAS,gBAAgB,iBAAiB,EAAE,KAAK,EAAE,aAAa;IAC5D,IAAI,6BAA6B,aAAa;QAC1C,OAAO;YAAC;SAAkB;IAC9B,OACK,IAAI,OAAO,sBAAsB,UAAU;QAC5C,IAAI,OAAO;QACX,IAAI,OAAO;YACP,OAAO,MAAM,OAAO;QACxB;QACA,MAAM,WAAW,eAAe,CAAC,kBAAkB,IAC/C,KAAK,gBAAgB,CAAC;QAC1B,OAAO,WAAW,MAAM,IAAI,CAAC,YAAY,EAAE;IAC/C;IACA,OAAO,MAAM,IAAI,CAAC;AACtB","ignoreList":[0]}}, - {"offset": {"line": 12895, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/gestures/utils/setup.mjs"],"sourcesContent":["import { resolveElements } from '../../utils/resolve-elements.mjs';\n\nfunction setupGesture(elementOrSelector, options) {\n const elements = resolveElements(elementOrSelector);\n const gestureAbortController = new AbortController();\n const eventOptions = {\n passive: true,\n ...options,\n signal: gestureAbortController.signal,\n };\n const cancel = () => gestureAbortController.abort();\n return [elements, eventOptions, cancel];\n}\n\nexport { setupGesture };\n"],"names":[],"mappings":";;;;AAAA;;AAEA,SAAS,aAAa,iBAAiB,EAAE,OAAO;IAC5C,MAAM,WAAW,IAAA,kMAAe,EAAC;IACjC,MAAM,yBAAyB,IAAI;IACnC,MAAM,eAAe;QACjB,SAAS;QACT,GAAG,OAAO;QACV,QAAQ,uBAAuB,MAAM;IACzC;IACA,MAAM,SAAS,IAAM,uBAAuB,KAAK;IACjD,OAAO;QAAC;QAAU;QAAc;KAAO;AAC3C","ignoreList":[0]}}, - {"offset": {"line": 12921, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/gestures/hover.mjs"],"sourcesContent":["import { isDragActive } from './drag/state/is-active.mjs';\nimport { setupGesture } from './utils/setup.mjs';\n\nfunction isValidHover(event) {\n return !(event.pointerType === \"touch\" || isDragActive());\n}\n/**\n * Create a hover gesture. hover() is different to .addEventListener(\"pointerenter\")\n * in that it has an easier syntax, filters out polyfilled touch events, interoperates\n * with drag gestures, and automatically removes the \"pointerennd\" event listener when the hover ends.\n *\n * @public\n */\nfunction hover(elementOrSelector, onHoverStart, options = {}) {\n const [elements, eventOptions, cancel] = setupGesture(elementOrSelector, options);\n const onPointerEnter = (enterEvent) => {\n if (!isValidHover(enterEvent))\n return;\n const { target } = enterEvent;\n const onHoverEnd = onHoverStart(target, enterEvent);\n if (typeof onHoverEnd !== \"function\" || !target)\n return;\n const onPointerLeave = (leaveEvent) => {\n if (!isValidHover(leaveEvent))\n return;\n onHoverEnd(leaveEvent);\n target.removeEventListener(\"pointerleave\", onPointerLeave);\n };\n target.addEventListener(\"pointerleave\", onPointerLeave, eventOptions);\n };\n elements.forEach((element) => {\n element.addEventListener(\"pointerenter\", onPointerEnter, eventOptions);\n });\n return cancel;\n}\n\nexport { hover };\n"],"names":[],"mappings":";;;;AAAA;AACA;;;AAEA,SAAS,aAAa,KAAK;IACvB,OAAO,CAAC,CAAC,MAAM,WAAW,KAAK,WAAW,IAAA,4MAAY,GAAE;AAC5D;AACA;;;;;;CAMC,GACD,SAAS,MAAM,iBAAiB,EAAE,YAAY,EAAE,UAAU,CAAC,CAAC;IACxD,MAAM,CAAC,UAAU,cAAc,OAAO,GAAG,IAAA,6LAAY,EAAC,mBAAmB;IACzE,MAAM,iBAAiB,CAAC;QACpB,IAAI,CAAC,aAAa,aACd;QACJ,MAAM,EAAE,MAAM,EAAE,GAAG;QACnB,MAAM,aAAa,aAAa,QAAQ;QACxC,IAAI,OAAO,eAAe,cAAc,CAAC,QACrC;QACJ,MAAM,iBAAiB,CAAC;YACpB,IAAI,CAAC,aAAa,aACd;YACJ,WAAW;YACX,OAAO,mBAAmB,CAAC,gBAAgB;QAC/C;QACA,OAAO,gBAAgB,CAAC,gBAAgB,gBAAgB;IAC5D;IACA,SAAS,OAAO,CAAC,CAAC;QACd,QAAQ,gBAAgB,CAAC,gBAAgB,gBAAgB;IAC7D;IACA,OAAO;AACX","ignoreList":[0]}}, - {"offset": {"line": 12962, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/gestures/hover.mjs"],"sourcesContent":["import { hover, frame } from 'motion-dom';\nimport { extractEventInfo } from '../events/event-info.mjs';\nimport { Feature } from '../motion/features/Feature.mjs';\n\nfunction handleHoverEvent(node, event, lifecycle) {\n const { props } = node;\n if (node.animationState && props.whileHover) {\n node.animationState.setActive(\"whileHover\", lifecycle === \"Start\");\n }\n const eventName = (\"onHover\" + lifecycle);\n const callback = props[eventName];\n if (callback) {\n frame.postRender(() => callback(event, extractEventInfo(event)));\n }\n}\nclass HoverGesture extends Feature {\n mount() {\n const { current } = this.node;\n if (!current)\n return;\n this.unmount = hover(current, (_element, startEvent) => {\n handleHoverEvent(this.node, startEvent, \"Start\");\n return (endEvent) => handleHoverEvent(this.node, endEvent, \"End\");\n });\n }\n unmount() { }\n}\n\nexport { HoverGesture };\n"],"names":[],"mappings":";;;;AAAA;AAAA;AACA;AACA;;;;AAEA,SAAS,iBAAiB,IAAI,EAAE,KAAK,EAAE,SAAS;IAC5C,MAAM,EAAE,KAAK,EAAE,GAAG;IAClB,IAAI,KAAK,cAAc,IAAI,MAAM,UAAU,EAAE;QACzC,KAAK,cAAc,CAAC,SAAS,CAAC,cAAc,cAAc;IAC9D;IACA,MAAM,YAAa,YAAY;IAC/B,MAAM,WAAW,KAAK,CAAC,UAAU;IACjC,IAAI,UAAU;QACV,8KAAK,CAAC,UAAU,CAAC,IAAM,SAAS,OAAO,IAAA,iMAAgB,EAAC;IAC5D;AACJ;AACA,MAAM,qBAAqB,8LAAO;IAC9B,QAAQ;QACJ,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC,IAAI;QAC7B,IAAI,CAAC,SACD;QACJ,IAAI,CAAC,OAAO,GAAG,IAAA,6KAAK,EAAC,SAAS,CAAC,UAAU;YACrC,iBAAiB,IAAI,CAAC,IAAI,EAAE,YAAY;YACxC,OAAO,CAAC,WAAa,iBAAiB,IAAI,CAAC,IAAI,EAAE,UAAU;QAC/D;IACJ;IACA,UAAU,CAAE;AAChB","ignoreList":[0]}}, - {"offset": {"line": 13000, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/gestures/focus.mjs"],"sourcesContent":["import { pipe } from 'motion-utils';\nimport { addDomEvent } from '../events/add-dom-event.mjs';\nimport { Feature } from '../motion/features/Feature.mjs';\n\nclass FocusGesture extends Feature {\n constructor() {\n super(...arguments);\n this.isActive = false;\n }\n onFocus() {\n let isFocusVisible = false;\n /**\n * If this element doesn't match focus-visible then don't\n * apply whileHover. But, if matches throws that focus-visible\n * is not a valid selector then in that browser outline styles will be applied\n * to the element by default and we want to match that behaviour with whileFocus.\n */\n try {\n isFocusVisible = this.node.current.matches(\":focus-visible\");\n }\n catch (e) {\n isFocusVisible = true;\n }\n if (!isFocusVisible || !this.node.animationState)\n return;\n this.node.animationState.setActive(\"whileFocus\", true);\n this.isActive = true;\n }\n onBlur() {\n if (!this.isActive || !this.node.animationState)\n return;\n this.node.animationState.setActive(\"whileFocus\", false);\n this.isActive = false;\n }\n mount() {\n this.unmount = pipe(addDomEvent(this.node.current, \"focus\", () => this.onFocus()), addDomEvent(this.node.current, \"blur\", () => this.onBlur()));\n }\n unmount() { }\n}\n\nexport { FocusGesture };\n"],"names":[],"mappings":";;;;AAAA;AACA;AACA;;;;AAEA,MAAM,qBAAqB,8LAAO;IAC9B,aAAc;QACV,KAAK,IAAI;QACT,IAAI,CAAC,QAAQ,GAAG;IACpB;IACA,UAAU;QACN,IAAI,iBAAiB;QACrB;;;;;SAKC,GACD,IAAI;YACA,iBAAiB,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC;QAC/C,EACA,OAAO,GAAG;YACN,iBAAiB;QACrB;QACA,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,IAAI,CAAC,cAAc,EAC5C;QACJ,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,SAAS,CAAC,cAAc;QACjD,IAAI,CAAC,QAAQ,GAAG;IACpB;IACA,SAAS;QACL,IAAI,CAAC,IAAI,CAAC,QAAQ,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,cAAc,EAC3C;QACJ,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,SAAS,CAAC,cAAc;QACjD,IAAI,CAAC,QAAQ,GAAG;IACpB;IACA,QAAQ;QACJ,IAAI,CAAC,OAAO,GAAG,IAAA,iKAAI,EAAC,IAAA,kMAAW,EAAC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,SAAS,IAAM,IAAI,CAAC,OAAO,KAAK,IAAA,kMAAW,EAAC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,QAAQ,IAAM,IAAI,CAAC,MAAM;IAC/I;IACA,UAAU,CAAE;AAChB","ignoreList":[0]}}, - {"offset": {"line": 13046, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs"],"sourcesContent":["/**\n * Recursively traverse up the tree to check whether the provided child node\n * is the parent or a descendant of it.\n *\n * @param parent - Element to find\n * @param child - Element to test against parent\n */\nconst isNodeOrChild = (parent, child) => {\n if (!child) {\n return false;\n }\n else if (parent === child) {\n return true;\n }\n else {\n return isNodeOrChild(parent, child.parentElement);\n }\n};\n\nexport { isNodeOrChild };\n"],"names":[],"mappings":";;;;AAAA;;;;;;CAMC,GACD,MAAM,gBAAgB,CAAC,QAAQ;IAC3B,IAAI,CAAC,OAAO;QACR,OAAO;IACX,OACK,IAAI,WAAW,OAAO;QACvB,OAAO;IACX,OACK;QACD,OAAO,cAAc,QAAQ,MAAM,aAAa;IACpD;AACJ","ignoreList":[0]}}, - {"offset": {"line": 13070, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.mjs"],"sourcesContent":["const focusableElements = new Set([\n \"BUTTON\",\n \"INPUT\",\n \"SELECT\",\n \"TEXTAREA\",\n \"A\",\n]);\nfunction isElementKeyboardAccessible(element) {\n return (focusableElements.has(element.tagName) ||\n element.tabIndex !== -1);\n}\n\nexport { isElementKeyboardAccessible };\n"],"names":[],"mappings":";;;;AAAA,MAAM,oBAAoB,IAAI,IAAI;IAC9B;IACA;IACA;IACA;IACA;CACH;AACD,SAAS,4BAA4B,OAAO;IACxC,OAAQ,kBAAkB,GAAG,CAAC,QAAQ,OAAO,KACzC,QAAQ,QAAQ,KAAK,CAAC;AAC9B","ignoreList":[0]}}, - {"offset": {"line": 13089, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/gestures/press/utils/state.mjs"],"sourcesContent":["const isPressing = new WeakSet();\n\nexport { isPressing };\n"],"names":[],"mappings":";;;;AAAA,MAAM,aAAa,IAAI","ignoreList":[0]}}, - {"offset": {"line": 13099, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.mjs"],"sourcesContent":["import { isPressing } from './state.mjs';\n\n/**\n * Filter out events that are not \"Enter\" keys.\n */\nfunction filterEvents(callback) {\n return (event) => {\n if (event.key !== \"Enter\")\n return;\n callback(event);\n };\n}\nfunction firePointerEvent(target, type) {\n target.dispatchEvent(new PointerEvent(\"pointer\" + type, { isPrimary: true, bubbles: true }));\n}\nconst enableKeyboardPress = (focusEvent, eventOptions) => {\n const element = focusEvent.currentTarget;\n if (!element)\n return;\n const handleKeydown = filterEvents(() => {\n if (isPressing.has(element))\n return;\n firePointerEvent(element, \"down\");\n const handleKeyup = filterEvents(() => {\n firePointerEvent(element, \"up\");\n });\n const handleBlur = () => firePointerEvent(element, \"cancel\");\n element.addEventListener(\"keyup\", handleKeyup, eventOptions);\n element.addEventListener(\"blur\", handleBlur, eventOptions);\n });\n element.addEventListener(\"keydown\", handleKeydown, eventOptions);\n /**\n * Add an event listener that fires on blur to remove the keydown events.\n */\n element.addEventListener(\"blur\", () => element.removeEventListener(\"keydown\", handleKeydown), eventOptions);\n};\n\nexport { enableKeyboardPress };\n"],"names":[],"mappings":";;;;AAAA;;AAEA;;CAEC,GACD,SAAS,aAAa,QAAQ;IAC1B,OAAO,CAAC;QACJ,IAAI,MAAM,GAAG,KAAK,SACd;QACJ,SAAS;IACb;AACJ;AACA,SAAS,iBAAiB,MAAM,EAAE,IAAI;IAClC,OAAO,aAAa,CAAC,IAAI,aAAa,YAAY,MAAM;QAAE,WAAW;QAAM,SAAS;IAAK;AAC7F;AACA,MAAM,sBAAsB,CAAC,YAAY;IACrC,MAAM,UAAU,WAAW,aAAa;IACxC,IAAI,CAAC,SACD;IACJ,MAAM,gBAAgB,aAAa;QAC/B,IAAI,oMAAU,CAAC,GAAG,CAAC,UACf;QACJ,iBAAiB,SAAS;QAC1B,MAAM,cAAc,aAAa;YAC7B,iBAAiB,SAAS;QAC9B;QACA,MAAM,aAAa,IAAM,iBAAiB,SAAS;QACnD,QAAQ,gBAAgB,CAAC,SAAS,aAAa;QAC/C,QAAQ,gBAAgB,CAAC,QAAQ,YAAY;IACjD;IACA,QAAQ,gBAAgB,CAAC,WAAW,eAAe;IACnD;;KAEC,GACD,QAAQ,gBAAgB,CAAC,QAAQ,IAAM,QAAQ,mBAAmB,CAAC,WAAW,gBAAgB;AAClG","ignoreList":[0]}}, - {"offset": {"line": 13142, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/motion-dom/dist/es/gestures/press/index.mjs"],"sourcesContent":["import { isHTMLElement } from '../../utils/is-html-element.mjs';\nimport { isDragActive } from '../drag/state/is-active.mjs';\nimport { isNodeOrChild } from '../utils/is-node-or-child.mjs';\nimport { isPrimaryPointer } from '../utils/is-primary-pointer.mjs';\nimport { setupGesture } from '../utils/setup.mjs';\nimport { isElementKeyboardAccessible } from './utils/is-keyboard-accessible.mjs';\nimport { enableKeyboardPress } from './utils/keyboard.mjs';\nimport { isPressing } from './utils/state.mjs';\n\n/**\n * Filter out events that are not primary pointer events, or are triggering\n * while a Motion gesture is active.\n */\nfunction isValidPressEvent(event) {\n return isPrimaryPointer(event) && !isDragActive();\n}\n/**\n * Create a press gesture.\n *\n * Press is different to `\"pointerdown\"`, `\"pointerup\"` in that it\n * automatically filters out secondary pointer events like right\n * click and multitouch.\n *\n * It also adds accessibility support for keyboards, where\n * an element with a press gesture will receive focus and\n * trigger on Enter `\"keydown\"` and `\"keyup\"` events.\n *\n * This is different to a browser's `\"click\"` event, which does\n * respond to keyboards but only for the `\"click\"` itself, rather\n * than the press start and end/cancel. The element also needs\n * to be focusable for this to work, whereas a press gesture will\n * make an element focusable by default.\n *\n * @public\n */\nfunction press(targetOrSelector, onPressStart, options = {}) {\n const [targets, eventOptions, cancelEvents] = setupGesture(targetOrSelector, options);\n const startPress = (startEvent) => {\n const target = startEvent.currentTarget;\n if (!isValidPressEvent(startEvent))\n return;\n isPressing.add(target);\n const onPressEnd = onPressStart(target, startEvent);\n const onPointerEnd = (endEvent, success) => {\n window.removeEventListener(\"pointerup\", onPointerUp);\n window.removeEventListener(\"pointercancel\", onPointerCancel);\n if (isPressing.has(target)) {\n isPressing.delete(target);\n }\n if (!isValidPressEvent(endEvent)) {\n return;\n }\n if (typeof onPressEnd === \"function\") {\n onPressEnd(endEvent, { success });\n }\n };\n const onPointerUp = (upEvent) => {\n onPointerEnd(upEvent, target === window ||\n target === document ||\n options.useGlobalTarget ||\n isNodeOrChild(target, upEvent.target));\n };\n const onPointerCancel = (cancelEvent) => {\n onPointerEnd(cancelEvent, false);\n };\n window.addEventListener(\"pointerup\", onPointerUp, eventOptions);\n window.addEventListener(\"pointercancel\", onPointerCancel, eventOptions);\n };\n targets.forEach((target) => {\n const pointerDownTarget = options.useGlobalTarget ? window : target;\n pointerDownTarget.addEventListener(\"pointerdown\", startPress, eventOptions);\n if (isHTMLElement(target)) {\n target.addEventListener(\"focus\", (event) => enableKeyboardPress(event, eventOptions));\n if (!isElementKeyboardAccessible(target) &&\n !target.hasAttribute(\"tabindex\")) {\n target.tabIndex = 0;\n }\n }\n });\n return cancelEvents;\n}\n\nexport { press };\n"],"names":[],"mappings":";;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AAEA;;;CAGC,GACD,SAAS,kBAAkB,KAAK;IAC5B,OAAO,IAAA,oNAAgB,EAAC,UAAU,CAAC,IAAA,4MAAY;AACnD;AACA;;;;;;;;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X","ignoreList":[0]}}, - {"offset": {"line": 13234, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/gestures/press.mjs"],"sourcesContent":["import { press, frame } from 'motion-dom';\nimport { extractEventInfo } from '../events/event-info.mjs';\nimport { Feature } from '../motion/features/Feature.mjs';\n\nfunction handlePressEvent(node, event, lifecycle) {\n const { props } = node;\n if (node.current instanceof HTMLButtonElement && node.current.disabled) {\n return;\n }\n if (node.animationState && props.whileTap) {\n node.animationState.setActive(\"whileTap\", lifecycle === \"Start\");\n }\n const eventName = (\"onTap\" + (lifecycle === \"End\" ? \"\" : lifecycle));\n const callback = props[eventName];\n if (callback) {\n frame.postRender(() => callback(event, extractEventInfo(event)));\n }\n}\nclass PressGesture extends Feature {\n mount() {\n const { current } = this.node;\n if (!current)\n return;\n this.unmount = press(current, (_element, startEvent) => {\n handlePressEvent(this.node, startEvent, \"Start\");\n return (endEvent, { success }) => handlePressEvent(this.node, endEvent, success ? \"End\" : \"Cancel\");\n }, { useGlobalTarget: this.node.props.globalTapTarget });\n }\n unmount() { }\n}\n\nexport { PressGesture };\n"],"names":[],"mappings":";;;;AAAA;AAAA;AACA;AACA;;;;AAEA,SAAS,iBAAiB,IAAI,EAAE,KAAK,EAAE,SAAS;IAC5C,MAAM,EAAE,KAAK,EAAE,GAAG;IAClB,IAAI,KAAK,OAAO,YAAY,qBAAqB,KAAK,OAAO,CAAC,QAAQ,EAAE;QACpE;IACJ;IACA,IAAI,KAAK,cAAc,IAAI,MAAM,QAAQ,EAAE;QACvC,KAAK,cAAc,CAAC,SAAS,CAAC,YAAY,cAAc;IAC5D;IACA,MAAM,YAAa,UAAU,CAAC,cAAc,QAAQ,KAAK,SAAS;IAClE,MAAM,WAAW,KAAK,CAAC,UAAU;IACjC,IAAI,UAAU;QACV,8KAAK,CAAC,UAAU,CAAC,IAAM,SAAS,OAAO,IAAA,iMAAgB,EAAC;IAC5D;AACJ;AACA,MAAM,qBAAqB,8LAAO;IAC9B,QAAQ;QACJ,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC,IAAI;QAC7B,IAAI,CAAC,SACD;QACJ,IAAI,CAAC,OAAO,GAAG,IAAA,sLAAK,EAAC,SAAS,CAAC,UAAU;YACrC,iBAAiB,IAAI,CAAC,IAAI,EAAE,YAAY;YACxC,OAAO,CAAC,UAAU,EAAE,OAAO,EAAE,GAAK,iBAAiB,IAAI,CAAC,IAAI,EAAE,UAAU,UAAU,QAAQ;QAC9F,GAAG;YAAE,iBAAiB,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,eAAe;QAAC;IAC1D;IACA,UAAU,CAAE;AAChB","ignoreList":[0]}}, - {"offset": {"line": 13277, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/motion/features/viewport/observers.mjs"],"sourcesContent":["/**\n * Map an IntersectionHandler callback to an element. We only ever make one handler for one\n * element, so even though these handlers might all be triggered by different\n * observers, we can keep them in the same map.\n */\nconst observerCallbacks = new WeakMap();\n/**\n * Multiple observers can be created for multiple element/document roots. Each with\n * different settings. So here we store dictionaries of observers to each root,\n * using serialised settings (threshold/margin) as lookup keys.\n */\nconst observers = new WeakMap();\nconst fireObserverCallback = (entry) => {\n const callback = observerCallbacks.get(entry.target);\n callback && callback(entry);\n};\nconst fireAllObserverCallbacks = (entries) => {\n entries.forEach(fireObserverCallback);\n};\nfunction initIntersectionObserver({ root, ...options }) {\n const lookupRoot = root || document;\n /**\n * If we don't have an observer lookup map for this root, create one.\n */\n if (!observers.has(lookupRoot)) {\n observers.set(lookupRoot, {});\n }\n const rootObservers = observers.get(lookupRoot);\n const key = JSON.stringify(options);\n /**\n * If we don't have an observer for this combination of root and settings,\n * create one.\n */\n if (!rootObservers[key]) {\n rootObservers[key] = new IntersectionObserver(fireAllObserverCallbacks, { root, ...options });\n }\n return rootObservers[key];\n}\nfunction observeIntersection(element, options, callback) {\n const rootInteresectionObserver = initIntersectionObserver(options);\n observerCallbacks.set(element, callback);\n rootInteresectionObserver.observe(element);\n return () => {\n observerCallbacks.delete(element);\n rootInteresectionObserver.unobserve(element);\n };\n}\n\nexport { observeIntersection };\n"],"names":[],"mappings":";;;;AAAA;;;;CAIC,GACD,MAAM,oBAAoB,IAAI;AAC9B;;;;CAIC,GACD,MAAM,YAAY,IAAI;AACtB,MAAM,uBAAuB,CAAC;IAC1B,MAAM,WAAW,kBAAkB,GAAG,CAAC,MAAM,MAAM;IACnD,YAAY,SAAS;AACzB;AACA,MAAM,2BAA2B,CAAC;IAC9B,QAAQ,OAAO,CAAC;AACpB;AACA,SAAS,yBAAyB,EAAE,IAAI,EAAE,GAAG,SAAS;IAClD,MAAM,aAAa,QAAQ;IAC3B;;KAEC,GACD,IAAI,CAAC,UAAU,GAAG,CAAC,aAAa;QAC5B,UAAU,GAAG,CAAC,YAAY,CAAC;IAC/B;IACA,MAAM,gBAAgB,UAAU,GAAG,CAAC;IACpC,MAAM,MAAM,KAAK,SAAS,CAAC;IAC3B;;;KAGC,GACD,IAAI,CAAC,aAAa,CAAC,IAAI,EAAE;QACrB,aAAa,CAAC,IAAI,GAAG,IAAI,qBAAqB,0BAA0B;YAAE;YAAM,GAAG,OAAO;QAAC;IAC/F;IACA,OAAO,aAAa,CAAC,IAAI;AAC7B;AACA,SAAS,oBAAoB,OAAO,EAAE,OAAO,EAAE,QAAQ;IACnD,MAAM,4BAA4B,yBAAyB;IAC3D,kBAAkB,GAAG,CAAC,SAAS;IAC/B,0BAA0B,OAAO,CAAC;IAClC,OAAO;QACH,kBAAkB,MAAM,CAAC;QACzB,0BAA0B,SAAS,CAAC;IACxC;AACJ","ignoreList":[0]}}, - {"offset": {"line": 13332, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs"],"sourcesContent":["import { Feature } from '../Feature.mjs';\nimport { observeIntersection } from './observers.mjs';\n\nconst thresholdNames = {\n some: 0,\n all: 1,\n};\nclass InViewFeature extends Feature {\n constructor() {\n super(...arguments);\n this.hasEnteredView = false;\n this.isInView = false;\n }\n startObserver() {\n this.unmount();\n const { viewport = {} } = this.node.getProps();\n const { root, margin: rootMargin, amount = \"some\", once } = viewport;\n const options = {\n root: root ? root.current : undefined,\n rootMargin,\n threshold: typeof amount === \"number\" ? amount : thresholdNames[amount],\n };\n const onIntersectionUpdate = (entry) => {\n const { isIntersecting } = entry;\n /**\n * If there's been no change in the viewport state, early return.\n */\n if (this.isInView === isIntersecting)\n return;\n this.isInView = isIntersecting;\n /**\n * Handle hasEnteredView. If this is only meant to run once, and\n * element isn't visible, early return. Otherwise set hasEnteredView to true.\n */\n if (once && !isIntersecting && this.hasEnteredView) {\n return;\n }\n else if (isIntersecting) {\n this.hasEnteredView = true;\n }\n if (this.node.animationState) {\n this.node.animationState.setActive(\"whileInView\", isIntersecting);\n }\n /**\n * Use the latest committed props rather than the ones in scope\n * when this observer is created\n */\n const { onViewportEnter, onViewportLeave } = this.node.getProps();\n const callback = isIntersecting ? onViewportEnter : onViewportLeave;\n callback && callback(entry);\n };\n return observeIntersection(this.node.current, options, onIntersectionUpdate);\n }\n mount() {\n this.startObserver();\n }\n update() {\n if (typeof IntersectionObserver === \"undefined\")\n return;\n const { props, prevProps } = this.node;\n const hasOptionsChanged = [\"amount\", \"margin\", \"root\"].some(hasViewportOptionChanged(props, prevProps));\n if (hasOptionsChanged) {\n this.startObserver();\n }\n }\n unmount() { }\n}\nfunction hasViewportOptionChanged({ viewport = {} }, { viewport: prevViewport = {} } = {}) {\n return (name) => viewport[name] !== prevViewport[name];\n}\n\nexport { InViewFeature };\n"],"names":[],"mappings":";;;;AAAA;AACA;;;AAEA,MAAM,iBAAiB;IACnB,MAAM;IACN,KAAK;AACT;AACA,MAAM,sBAAsB,8LAAO;IAC/B,aAAc;QACV,KAAK,IAAI;QACT,IAAI,CAAC,cAAc,GAAG;QACtB,IAAI,CAAC,QAAQ,G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,IAAI,CAAC,aAAa;QACtB;IACJ;IACA,UAAU,CAAE;AAChB;AACA,SAAS,yBAAyB,EAAE,WAAW,CAAC,CAAC,EAAE,EAAE,EAAE,UAAU,eAAe,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC;IACrF,OAAO,CAAC,OAAS,QAAQ,CAAC,KAAK,KAAK,YAAY,CAAC,KAAK;AAC1D","ignoreList":[0]}}, - {"offset": {"line": 13410, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/motion/features/gestures.mjs"],"sourcesContent":["import { HoverGesture } from '../../gestures/hover.mjs';\nimport { FocusGesture } from '../../gestures/focus.mjs';\nimport { PressGesture } from '../../gestures/press.mjs';\nimport { InViewFeature } from './viewport/index.mjs';\n\nconst gestureAnimations = {\n inView: {\n Feature: InViewFeature,\n },\n tap: {\n Feature: PressGesture,\n },\n focus: {\n Feature: FocusGesture,\n },\n hover: {\n Feature: HoverGesture,\n },\n};\n\nexport { gestureAnimations };\n"],"names":[],"mappings":";;;;AAAA;AACA;AACA;AACA;;;;;AAEA,MAAM,oBAAoB;IACtB,QAAQ;QACJ,SAAS,8MAAa;IAC1B;IACA,KAAK;QACD,SAAS,uLAAY;IACzB;IACA,OAAO;QACH,SAAS,uLAAY;IACzB;IACA,OAAO;QACH,SAAS,uLAAY;IACzB;AACJ","ignoreList":[0]}}, - {"offset": {"line": 13441, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/motion/features/layout.mjs"],"sourcesContent":["import { HTMLProjectionNode } from '../../projection/node/HTMLProjectionNode.mjs';\nimport { MeasureLayout } from './layout/MeasureLayout.mjs';\n\nconst layout = {\n layout: {\n ProjectionNode: HTMLProjectionNode,\n MeasureLayout,\n },\n};\n\nexport { layout };\n"],"names":[],"mappings":";;;;AAAA;AACA;;;AAEA,MAAM,SAAS;IACX,QAAQ;QACJ,gBAAgB,oNAAkB;QAClC,eAAA,oNAAa;IACjB;AACJ","ignoreList":[0]}}, - {"offset": {"line": 13460, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.mjs"],"sourcesContent":["import { animations } from '../../../motion/features/animations.mjs';\nimport { drag } from '../../../motion/features/drag.mjs';\nimport { gestureAnimations } from '../../../motion/features/gestures.mjs';\nimport { layout } from '../../../motion/features/layout.mjs';\n\nconst featureBundle = {\n ...animations,\n ...gestureAnimations,\n ...drag,\n ...layout,\n};\n\nexport { featureBundle };\n"],"names":[],"mappings":";;;;AAAA;AACA;AACA;AACA;;;;;AAEA,MAAM,gBAAgB;IAClB,GAAG,oMAAU;IACb,GAAG,yMAAiB;IACpB,GAAG,wLAAI;IACP,GAAG,4LAAM;AACb","ignoreList":[0]}}, - {"offset": {"line": 13483, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/framer-motion/dist/es/render/components/motion/proxy.mjs"],"sourcesContent":["import { createDomVisualElement } from '../../dom/create-visual-element.mjs';\nimport { createMotionProxy } from '../create-proxy.mjs';\nimport { featureBundle } from './feature-bundle.mjs';\n\nconst motion = /*@__PURE__*/ createMotionProxy(featureBundle, createDomVisualElement);\n\nexport { motion };\n"],"names":[],"mappings":";;;;AAAA;AACA;AACA;;;;AAEA,MAAM,SAAS,WAAW,GAAG,IAAA,kNAAiB,EAAC,0NAAa,EAAE,4NAAsB","ignoreList":[0]}}, - {"offset": {"line": 13499, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/shared/lib/router/utils/querystring.ts"],"sourcesContent":["import type { ParsedUrlQuery } from 'querystring'\n\nexport function searchParamsToUrlQuery(\n searchParams: URLSearchParams\n): ParsedUrlQuery {\n const query: ParsedUrlQuery = {}\n for (const [key, value] of searchParams.entries()) {\n const existing = query[key]\n if (typeof existing === 'undefined') {\n query[key] = value\n } else if (Array.isArray(existing)) {\n existing.push(value)\n } else {\n query[key] = [existing, value]\n }\n }\n return query\n}\n\nfunction stringifyUrlQueryParam(param: unknown): string {\n if (typeof param === 'string') {\n return param\n }\n\n if (\n (typeof param === 'number' && !isNaN(param)) ||\n typeof param === 'boolean'\n ) {\n return String(param)\n } else {\n return ''\n }\n}\n\nexport function urlQueryToSearchParams(query: ParsedUrlQuery): URLSearchParams {\n const searchParams = new URLSearchParams()\n for (const [key, value] of Object.entries(query)) {\n if (Array.isArray(value)) {\n for (const item of value) {\n searchParams.append(key, stringifyUrlQueryParam(item))\n }\n } else {\n searchParams.set(key, stringifyUrlQueryParam(value))\n }\n }\n return searchParams\n}\n\nexport function assign(\n target: URLSearchParams,\n ...searchParamsList: URLSearchParams[]\n): URLSearchParams {\n for (const searchParams of searchParamsList) {\n for (const key of searchParams.keys()) {\n target.delete(key)\n }\n\n for (const [key, value] of searchParams.entries()) {\n target.append(key, value)\n }\n }\n\n return target\n}\n"],"names":["assign","searchParamsToUrlQuery","urlQueryToSearchParams","searchParams","query","key","value","entries","existing","Array","isArray","push","stringifyUrlQueryParam","param","isNaN","String","URLSearchParams","Object","item","append","set","target","searchParamsList","keys","delete"],"mappings":";;;;;;;;;;;;;;;IAgDgBA,MAAM,EAAA;eAANA;;IA9CAC,sBAAsB,EAAA;eAAtBA;;IAgCAC,sBAAsB,EAAA;eAAtBA;;;AAhCT,SAASD,uBACdE,YAA6B;IAE7B,MAAMC,QAAwB,CAAC;IAC/B,KAAK,MAAM,CAACC,KAAKC,MAAM,IAAIH,aAAaI,OAAO,GAAI;QACjD,MAAMC,WAAWJ,KAAK,CAACC,IAAI;QAC3B,IAAI,OAAOG,aAAa,aAAa;YACnCJ,KAAK,CAACC,IAAI,GAAGC;QACf,OAAO,IAAIG,MAAMC,OAAO,CAACF,WAAW;YAClCA,SAASG,IAAI,CAACL;QAChB,OAAO;YACLF,KAAK,CAACC,IAAI,GAAG;gBAACG;gBAAUF;aAAM;QAChC;IACF;IACA,OAAOF;AACT;AAEA,SAASQ,uBAAuBC,KAAc;IAC5C,IAAI,OAAOA,UAAU,UAAU;QAC7B,OAAOA;IACT;IAEA,IACG,OAAOA,UAAU,YAAY,CAACC,MAAMD,UACrC,OAAOA,UAAU,WACjB;QACA,OAAOE,OAAOF;IAChB,OAAO;QACL,OAAO;IACT;AACF;AAEO,SAASX,uBAAuBE,KAAqB;IAC1D,MAAMD,eAAe,IAAIa;IACzB,KAAK,MAAM,CAACX,KAAKC,MAAM,IAAIW,OAAOV,OAAO,CAACH,OAAQ;QAChD,IAAIK,MAAMC,OAAO,CAACJ,QAAQ;YACxB,KAAK,MAAMY,QAAQZ,MAAO;gBACxBH,aAAagB,MAAM,CAACd,KAAKO,uBAAuBM;YAClD;QACF,OAAO;YACLf,aAAaiB,GAAG,CAACf,KAAKO,uBAAuBN;QAC/C;IACF;IACA,OAAOH;AACT;AAEO,SAASH,OACdqB,MAAuB,EACvB,GAAGC,gBAAmC;IAEtC,KAAK,MAAMnB,gBAAgBmB,iBAAkB;QAC3C,KAAK,MAAMjB,OAAOF,aAAaoB,IAAI,GAAI;YACrCF,OAAOG,MAAM,CAACnB;QAChB;QAEA,KAAK,MAAM,CAACA,KAAKC,MAAM,IAAIH,aAAaI,OAAO,GAAI;YACjDc,OAAOF,MAAM,CAACd,KAAKC;QACrB;IACF;IAEA,OAAOe;AACT","ignoreList":[0]}}, - {"offset": {"line": 13579, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/shared/lib/router/utils/format-url.ts"],"sourcesContent":["// Format function modified from nodejs\n// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nimport type { UrlObject } from 'url'\nimport type { ParsedUrlQuery } from 'querystring'\nimport * as querystring from './querystring'\n\nconst slashedProtocols = /https?|ftp|gopher|file/\n\nexport function formatUrl(urlObj: UrlObject) {\n let { auth, hostname } = urlObj\n let protocol = urlObj.protocol || ''\n let pathname = urlObj.pathname || ''\n let hash = urlObj.hash || ''\n let query = urlObj.query || ''\n let host: string | false = false\n\n auth = auth ? encodeURIComponent(auth).replace(/%3A/i, ':') + '@' : ''\n\n if (urlObj.host) {\n host = auth + urlObj.host\n } else if (hostname) {\n host = auth + (~hostname.indexOf(':') ? `[${hostname}]` : hostname)\n if (urlObj.port) {\n host += ':' + urlObj.port\n }\n }\n\n if (query && typeof query === 'object') {\n query = String(querystring.urlQueryToSearchParams(query as ParsedUrlQuery))\n }\n\n let search = urlObj.search || (query && `?${query}`) || ''\n\n if (protocol && !protocol.endsWith(':')) protocol += ':'\n\n if (\n urlObj.slashes ||\n ((!protocol || slashedProtocols.test(protocol)) && host !== false)\n ) {\n host = '//' + (host || '')\n if (pathname && pathname[0] !== '/') pathname = '/' + pathname\n } else if (!host) {\n host = ''\n }\n\n if (hash && hash[0] !== '#') hash = '#' + hash\n if (search && search[0] !== '?') search = '?' + search\n\n pathname = pathname.replace(/[?#]/g, encodeURIComponent)\n search = search.replace('#', '%23')\n\n return `${protocol}${host}${pathname}${search}${hash}`\n}\n\nexport const urlObjectKeys = [\n 'auth',\n 'hash',\n 'host',\n 'hostname',\n 'href',\n 'path',\n 'pathname',\n 'port',\n 'protocol',\n 'query',\n 'search',\n 'slashes',\n]\n\nexport function formatWithValidation(url: UrlObject): string {\n if (process.env.NODE_ENV === 'development') {\n if (url !== null && typeof url === 'object') {\n Object.keys(url).forEach((key) => {\n if (!urlObjectKeys.includes(key)) {\n console.warn(\n `Unknown key passed via urlObject into url.format: ${key}`\n )\n }\n })\n }\n }\n\n return formatUrl(url)\n}\n"],"names":["formatUrl","formatWithValidation","urlObjectKeys","slashedProtocols","urlObj","auth","hostname","protocol","pathname","hash","query","host","encodeURIComponent","replace","indexOf","port","String","querystring","urlQueryToSearchParams","search","endsWith","slashes","test","url","process","env","NODE_ENV","Object","keys","forEach","key","includes","console","warn"],"mappings":"AA0FMwB,QAAQC,GAAG,CAACC,QAAQ,KAAK;AA1F/B,uCAAuC;AACvC,sDAAsD;AACtD,EAAE;AACF,0EAA0E;AAC1E,gEAAgE;AAChE,sEAAsE;AACtE,sEAAsE;AACtE,4EAA4E;AAC5E,qEAAqE;AACrE,wBAAwB;AACxB,EAAE;AACF,0EAA0E;AAC1E,yDAAyD;AACzD,EAAE;AACF,0EAA0E;AAC1E,6DAA6D;AAC7D,4EAA4E;AAC5E,2EAA2E;AAC3E,wEAAwE;AACxE,4EAA4E;AAC5E,yCAAyC;;;;;;;;;;;;;;;;;IAQzB1B,SAAS,EAAA;eAATA;;IA6DAC,oBAAoB,EAAA;eAApBA;;IAfHC,aAAa,EAAA;eAAbA;;;;uEAlDgB;AAE7B,MAAMC,mBAAmB;AAElB,SAASH,UAAUI,MAAiB;IACzC,IAAI,EAAEC,IAAI,EAAEC,QAAQ,EAAE,GAAGF;IACzB,IAAIG,WAAWH,OAAOG,QAAQ,IAAI;IAClC,IAAIC,WAAWJ,OAAOI,QAAQ,IAAI;IAClC,IAAIC,OAAOL,OAAOK,IAAI,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ACA;IACA;IACA;IACA;CACD;AAEM,SAASD,qBAAqBsB,GAAc;IACjD,wCAA4C;QAC1C,IAAIA,QAAQ,QAAQ,OAAOA,QAAQ,UAAU;YAC3CI,OAAOC,IAAI,CAACL,KAAKM,OAAO,CAAC,CAACC;gBACxB,IAAI,CAAC5B,cAAc6B,QAAQ,CAACD,MAAM;oBAChCE,QAAQC,IAAI,CACV,CAAC,kDAAkD,EAAEH,KAAK;gBAE9D;YACF;QACF;IACF;IAEA,OAAO9B,UAAUuB;AACnB","ignoreList":[0]}}, - {"offset": {"line": 13693, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/use-merged-ref.ts"],"sourcesContent":["import { useCallback, useRef, type Ref } from 'react'\n\n// This is a compatibility hook to support React 18 and 19 refs.\n// In 19, a cleanup function from refs may be returned.\n// In 18, returning a cleanup function creates a warning.\n// Since we take userspace refs, we don't know ahead of time if a cleanup function will be returned.\n// This implements cleanup functions with the old behavior in 18.\n// We know refs are always called alternating with `null` and then `T`.\n// So a call with `null` means we need to call the previous cleanup functions.\nexport function useMergedRef<TElement>(\n refA: Ref<TElement>,\n refB: Ref<TElement>\n): Ref<TElement> {\n const cleanupA = useRef<(() => void) | null>(null)\n const cleanupB = useRef<(() => void) | null>(null)\n\n // NOTE: In theory, we could skip the wrapping if only one of the refs is non-null.\n // (this happens often if the user doesn't pass a ref to Link/Form/Image)\n // But this can cause us to leak a cleanup-ref into user code (previously via `<Link legacyBehavior>`),\n // and the user might pass that ref into ref-merging library that doesn't support cleanup refs\n // (because it hasn't been updated for React 19)\n // which can then cause things to blow up, because a cleanup-returning ref gets called with `null`.\n // So in practice, it's safer to be defensive and always wrap the ref, even on React 19.\n return useCallback(\n (current: TElement | null): void => {\n if (current === null) {\n const cleanupFnA = cleanupA.current\n if (cleanupFnA) {\n cleanupA.current = null\n cleanupFnA()\n }\n const cleanupFnB = cleanupB.current\n if (cleanupFnB) {\n cleanupB.current = null\n cleanupFnB()\n }\n } else {\n if (refA) {\n cleanupA.current = applyRef(refA, current)\n }\n if (refB) {\n cleanupB.current = applyRef(refB, current)\n }\n }\n },\n [refA, refB]\n )\n}\n\nfunction applyRef<TElement>(\n refA: NonNullable<Ref<TElement>>,\n current: TElement\n) {\n if (typeof refA === 'function') {\n const cleanup = refA(current)\n if (typeof cleanup === 'function') {\n return cleanup\n } else {\n return () => refA(null)\n }\n } else {\n refA.current = current\n return () => {\n refA.current = null\n }\n }\n}\n"],"names":["useMergedRef","refA","refB","cleanupA","useRef","cleanupB","useCallback","current","cleanupFnA","cleanupFnB","applyRef","cleanup"],"mappings":";;;+BASgBA,gBAAAA;;;eAAAA;;;uBAT8B;AASvC,SAASA,aACdC,IAAmB,EACnBC,IAAmB;IAEnB,MAAMC,WAAWC,CAAAA,GAAAA,OAAAA,MAAM,EAAsB;IAC7C,MAAMC,WAAWD,CAAAA,GAAAA,OAAAA,MAAM,EAAsB;IAE7C,mFAAmF;IACnF,yEAAyE;IACzE,uGAAuG;IACvG,8FAA8F;IAC9F,gDAAgD;IAChD,mGAAmG;IACnG,wFAAwF;IACxF,OAAOE,CAAAA,GAAAA,OAAAA,WAAW,EAChB,CAACC;QACC,IAAIA,YAAY,MAAM;YACpB,MAAMC,aAAaL,SAASI,OAAO;YACnC,IAAIC,YAAY;gBACdL,SAASI,OAAO,GAAG;gBACnBC;YACF;YACA,MAAMC,aAAaJ,SAASE,OAAO;YACnC,IAAIE,YAAY;gBACdJ,SAASE,OAAO,GAAG;gBACnBE;YACF;QACF,OAAO;YACL,IAAIR,MAAM;gBACRE,SAASI,OAAO,GAAGG,SAAST,MAAMM;YACpC;YACA,IAAIL,MAAM;gBACRG,SAASE,OAAO,GAAGG,SAASR,MAAMK;YACpC;QACF;IACF,GACA;QAACN;QAAMC;KAAK;AAEhB;AAEA,SAASQ,SACPT,IAAgC,EAChCM,OAAiB;IAEjB,IAAI,OAAON,SAAS,YAAY;QAC9B,MAAMU,UAAUV,KAAKM;QACrB,IAAI,OAAOI,YAAY,YAAY;YACjC,OAAOA;QACT,OAAO;YACL,OAAO,IAAMV,KAAK;QACpB;IACF,OAAO;QACLA,KAAKM,OAAO,GAAGA;QACf,OAAO;YACLN,KAAKM,OAAO,GAAG;QACjB;IACF;AACF","ignoreList":[0]}}, - {"offset": {"line": 13764, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/shared/lib/utils.ts"],"sourcesContent":["import type { HtmlProps } from './html-context.shared-runtime'\nimport type { ComponentType, JSX } from 'react'\nimport type { DomainLocale } from '../../server/config'\nimport type { Env } from '@next/env'\nimport type { IncomingMessage, ServerResponse } from 'http'\nimport type { NextRouter } from './router/router'\nimport type { ParsedUrlQuery } from 'querystring'\nimport type { PreviewData } from '../../types'\nimport type { COMPILER_NAMES } from './constants'\nimport type fs from 'fs'\n\nexport type NextComponentType<\n Context extends BaseContext = NextPageContext,\n InitialProps = {},\n Props = {},\n> = ComponentType<Props> & {\n /**\n * Used for initial page load data population. Data returned from `getInitialProps` is serialized when server rendered.\n * Make sure to return plain `Object` without using `Date`, `Map`, `Set`.\n * @param context Context of `page`\n */\n getInitialProps?(context: Context): InitialProps | Promise<InitialProps>\n}\n\nexport type DocumentType = NextComponentType<\n DocumentContext,\n DocumentInitialProps,\n DocumentProps\n>\n\nexport type AppType<P = {}> = NextComponentType<\n AppContextType,\n P,\n AppPropsType<any, P>\n>\n\nexport type AppTreeType = ComponentType<\n AppInitialProps & { [name: string]: any }\n>\n\n/**\n * Web vitals provided to _app.reportWebVitals by Core Web Vitals plugin developed by Google Chrome team.\n * https://nextjs.org/blog/next-9-4#integrated-web-vitals-reporting\n */\nexport const WEB_VITALS = ['CLS', 'FCP', 'FID', 'INP', 'LCP', 'TTFB'] as const\nexport type NextWebVitalsMetric = {\n id: string\n startTime: number\n value: number\n attribution?: { [key: string]: unknown }\n} & (\n | {\n label: 'web-vital'\n name: (typeof WEB_VITALS)[number]\n }\n | {\n label: 'custom'\n name:\n | 'Next.js-hydration'\n | 'Next.js-route-change-to-render'\n | 'Next.js-render'\n }\n)\n\nexport type Enhancer<C> = (Component: C) => C\n\nexport type ComponentsEnhancer =\n | {\n enhanceApp?: Enhancer<AppType>\n enhanceComponent?: Enhancer<NextComponentType>\n }\n | Enhancer<NextComponentType>\n\nexport type RenderPageResult = {\n html: string\n head?: Array<JSX.Element | null>\n}\n\nexport type RenderPage = (\n options?: ComponentsEnhancer\n) => DocumentInitialProps | Promise<DocumentInitialProps>\n\nexport type BaseContext = {\n res?: ServerResponse\n [k: string]: any\n}\n\nexport type NEXT_DATA = {\n props: Record<string, any>\n page: string\n query: ParsedUrlQuery\n buildId: string\n assetPrefix?: string\n nextExport?: boolean\n autoExport?: boolean\n isFallback?: boolean\n isExperimentalCompile?: boolean\n dynamicIds?: (string | number)[]\n err?: Error & {\n statusCode?: number\n source?: typeof COMPILER_NAMES.server | typeof COMPILER_NAMES.edgeServer\n }\n gsp?: boolean\n gssp?: boolean\n customServer?: boolean\n gip?: boolean\n appGip?: boolean\n locale?: string\n locales?: readonly string[]\n defaultLocale?: string\n domainLocales?: readonly DomainLocale[]\n scriptLoader?: any[]\n isPreview?: boolean\n notFoundSrcPage?: string\n}\n\n/**\n * `Next` context\n */\nexport interface NextPageContext {\n /**\n * Error object if encountered during rendering\n */\n err?: (Error & { statusCode?: number }) | null\n /**\n * `HTTP` request object.\n */\n req?: IncomingMessage\n /**\n * `HTTP` response object.\n */\n res?: ServerResponse\n /**\n * Path section of `URL`.\n */\n pathname: string\n /**\n * Query string section of `URL` parsed as an object.\n */\n query: ParsedUrlQuery\n /**\n * `String` of the actual path including query.\n */\n asPath?: string\n /**\n * The currently active locale\n */\n locale?: string\n /**\n * All configured locales\n */\n locales?: readonly string[]\n /**\n * The configured default locale\n */\n defaultLocale?: string\n /**\n * `Component` the tree of the App to use if needing to render separately\n */\n AppTree: AppTreeType\n}\n\nexport type AppContextType<Router extends NextRouter = NextRouter> = {\n Component: NextComponentType<NextPageContext>\n AppTree: AppTreeType\n ctx: NextPageContext\n router: Router\n}\n\nexport type AppInitialProps<PageProps = any> = {\n pageProps: PageProps\n}\n\nexport type AppPropsType<\n Router extends NextRouter = NextRouter,\n PageProps = {},\n> = AppInitialProps<PageProps> & {\n Component: NextComponentType<NextPageContext, any, any>\n router: Router\n __N_SSG?: boolean\n __N_SSP?: boolean\n}\n\nexport type DocumentContext = NextPageContext & {\n renderPage: RenderPage\n defaultGetInitialProps(\n ctx: DocumentContext,\n options?: { nonce?: string }\n ): Promise<DocumentInitialProps>\n}\n\nexport type DocumentInitialProps = RenderPageResult & {\n styles?: React.ReactElement[] | Iterable<React.ReactNode> | JSX.Element\n}\n\nexport type DocumentProps = DocumentInitialProps & HtmlProps\n\n/**\n * Next `API` route request\n */\nexport interface NextApiRequest extends IncomingMessage {\n /**\n * Object of `query` values from url\n */\n query: Partial<{\n [key: string]: string | string[]\n }>\n /**\n * Object of `cookies` from header\n */\n cookies: Partial<{\n [key: string]: string\n }>\n\n body: any\n\n env: Env\n\n draftMode?: boolean\n\n preview?: boolean\n /**\n * Preview data set on the request, if any\n * */\n previewData?: PreviewData\n}\n\n/**\n * Send body of response\n */\ntype Send<T> = (body: T) => void\n\n/**\n * Next `API` route response\n */\nexport type NextApiResponse<Data = any> = ServerResponse & {\n /**\n * Send data `any` data in response\n */\n send: Send<Data>\n /**\n * Send data `json` data in response\n */\n json: Send<Data>\n status: (statusCode: number) => NextApiResponse<Data>\n redirect(url: string): NextApiResponse<Data>\n redirect(status: number, url: string): NextApiResponse<Data>\n\n /**\n * Set draft mode\n */\n setDraftMode: (options: { enable: boolean }) => NextApiResponse<Data>\n\n /**\n * Set preview data for Next.js' prerender mode\n */\n setPreviewData: (\n data: object | string,\n options?: {\n /**\n * Specifies the number (in seconds) for the preview session to last for.\n * The given number will be converted to an integer by rounding down.\n * By default, no maximum age is set and the preview session finishes\n * when the client shuts down (browser is closed).\n */\n maxAge?: number\n /**\n * Specifies the path for the preview session to work under. By default,\n * the path is considered the \"default path\", i.e., any pages under \"/\".\n */\n path?: string\n }\n ) => NextApiResponse<Data>\n\n /**\n * Clear preview data for Next.js' prerender mode\n */\n clearPreviewData: (options?: { path?: string }) => NextApiResponse<Data>\n\n /**\n * Revalidate a specific page and regenerate it using On-Demand Incremental\n * Static Regeneration.\n * The path should be an actual path, not a rewritten path. E.g. for\n * \"/blog/[slug]\" this should be \"/blog/post-1\".\n * @link https://nextjs.org/docs/app/building-your-application/data-fetching/incremental-static-regeneration#on-demand-revalidation-with-revalidatepath\n */\n revalidate: (\n urlPath: string,\n opts?: {\n unstable_onlyGenerated?: boolean\n }\n ) => Promise<void>\n}\n\n/**\n * Next `API` route handler\n */\nexport type NextApiHandler<T = any> = (\n req: NextApiRequest,\n res: NextApiResponse<T>\n) => unknown | Promise<unknown>\n\n/**\n * Utils\n */\nexport function execOnce<T extends (...args: any[]) => ReturnType<T>>(\n fn: T\n): T {\n let used = false\n let result: ReturnType<T>\n\n return ((...args: any[]) => {\n if (!used) {\n used = true\n result = fn(...args)\n }\n return result\n }) as T\n}\n\n// Scheme: https://tools.ietf.org/html/rfc3986#section-3.1\n// Absolute URL: https://tools.ietf.org/html/rfc3986#section-4.3\nconst ABSOLUTE_URL_REGEX = /^[a-zA-Z][a-zA-Z\\d+\\-.]*?:/\nexport const isAbsoluteUrl = (url: string) => ABSOLUTE_URL_REGEX.test(url)\n\nexport function getLocationOrigin() {\n const { protocol, hostname, port } = window.location\n return `${protocol}//${hostname}${port ? ':' + port : ''}`\n}\n\nexport function getURL() {\n const { href } = window.location\n const origin = getLocationOrigin()\n return href.substring(origin.length)\n}\n\nexport function getDisplayName<P>(Component: ComponentType<P>) {\n return typeof Component === 'string'\n ? Component\n : Component.displayName || Component.name || 'Unknown'\n}\n\nexport function isResSent(res: ServerResponse) {\n return res.finished || res.headersSent\n}\n\nexport function normalizeRepeatedSlashes(url: string) {\n const urlParts = url.split('?')\n const urlNoQuery = urlParts[0]\n\n return (\n urlNoQuery\n // first we replace any non-encoded backslashes with forward\n // then normalize repeated forward slashes\n .replace(/\\\\/g, '/')\n .replace(/\\/\\/+/g, '/') +\n (urlParts[1] ? `?${urlParts.slice(1).join('?')}` : '')\n )\n}\n\nexport async function loadGetInitialProps<\n C extends BaseContext,\n IP = {},\n P = {},\n>(App: NextComponentType<C, IP, P>, ctx: C): Promise<IP> {\n if (process.env.NODE_ENV !== 'production') {\n if (App.prototype?.getInitialProps) {\n const message = `\"${getDisplayName(\n App\n )}.getInitialProps()\" is defined as an instance method - visit https://nextjs.org/docs/messages/get-initial-props-as-an-instance-method for more information.`\n throw new Error(message)\n }\n }\n // when called from _app `ctx` is nested in `ctx`\n const res = ctx.res || (ctx.ctx && ctx.ctx.res)\n\n if (!App.getInitialProps) {\n if (ctx.ctx && ctx.Component) {\n // @ts-ignore pageProps default\n return {\n pageProps: await loadGetInitialProps(ctx.Component, ctx.ctx),\n }\n }\n return {} as IP\n }\n\n const props = await App.getInitialProps(ctx)\n\n if (res && isResSent(res)) {\n return props\n }\n\n if (!props) {\n const message = `\"${getDisplayName(\n App\n )}.getInitialProps()\" should resolve to an object. But found \"${props}\" instead.`\n throw new Error(message)\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (Object.keys(props).length === 0 && !ctx.ctx) {\n console.warn(\n `${getDisplayName(\n App\n )} returned an empty object from \\`getInitialProps\\`. This de-optimizes and prevents automatic static optimization. https://nextjs.org/docs/messages/empty-object-getInitialProps`\n )\n }\n }\n\n return props\n}\n\nexport const SP = typeof performance !== 'undefined'\nexport const ST =\n SP &&\n (['mark', 'measure', 'getEntriesByName'] as const).every(\n (method) => typeof performance[method] === 'function'\n )\n\nexport class DecodeError extends Error {}\nexport class NormalizeError extends Error {}\nexport class PageNotFoundError extends Error {\n code: string\n\n constructor(page: string) {\n super()\n this.code = 'ENOENT'\n this.name = 'PageNotFoundError'\n this.message = `Cannot find module for page: ${page}`\n }\n}\n\nexport class MissingStaticPage extends Error {\n constructor(page: string, message: string) {\n super()\n this.message = `Failed to load static file for page: ${page} ${message}`\n }\n}\n\nexport class MiddlewareNotFoundError extends Error {\n code: string\n constructor() {\n super()\n this.code = 'ENOENT'\n this.message = `Cannot find the middleware module`\n }\n}\n\nexport interface CacheFs {\n existsSync: typeof fs.existsSync\n readFile: typeof fs.promises.readFile\n readFileSync: typeof fs.readFileSync\n writeFile(f: string, d: any): Promise<void>\n mkdir(dir: string): Promise<void | string>\n stat(f: string): Promise<{ mtime: Date }>\n}\n\nexport function stringifyError(error: Error) {\n return JSON.stringify({ message: error.message, stack: error.stack })\n}\n"],"names":["DecodeError","MiddlewareNotFoundError","MissingStaticPage","NormalizeError","PageNotFoundError","SP","ST","WEB_VITALS","execOnce","getDisplayName","getLocationOrigin","getURL","isAbsoluteUrl","isResSent","loadGetInitialProps","normalizeRepeatedSlashes","stringifyError","fn","used","result","args","ABSOLUTE_URL_REGEX","url","test","protocol","hostname","port","window","location","href","origin","substring","length","Component","displayName","name","res","finished","headersSent","urlParts","split","urlNoQuery","replace","slice","join","App","ctx","process","env","NODE_ENV","prototype","getInitialProps","message","Error","pageProps","props","Object","keys","console","warn","performance","every","method","constructor","page","code","error","JSON","stringify","stack"],"mappings":"AA6WM+C,QAAQC,GAAG,CAACC,QAAQ,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAsDlBjD,WAAW,EAAA;eAAXA;;IAoBAC,uBAAuB,EAAA;eAAvBA;;IAPAC,iBAAiB,EAAA;eAAjBA;;IAZAC,cAAc,EAAA;eAAdA;;IACAC,iBAAiB,EAAA;eAAjBA;;IATAC,EAAE,EAAA;eAAFA;;IACAC,EAAE,EAAA;eAAFA;;IAjXAC,UAAU,EAAA;eAAVA;;IAqQGC,QAAQ,EAAA;eAARA;;IA+BAC,cAAc,EAAA;eAAdA;;IAXAC,iBAAiB,EAAA;eAAjBA;;IAKAC,MAAM,EAAA;eAANA;;IAPHC,aAAa,EAAA;eAAbA;;IAmBGC,SAAS,EAAA;eAATA;;IAkBMC,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AW;CAAmB,CAAWwD,KAAK,CACtD,CAACC,SAAW,OAAOF,WAAW,CAACE,OAAO,KAAK;AAGxC,MAAM9D,oBAAoBqD;AAAO;AACjC,MAAMlD,uBAAuBkD;AAAO;AACpC,MAAMjD,0BAA0BiD;IAGrCU,YAAYC,IAAY,CAAE;QACxB,KAAK;QACL,IAAI,CAACC,IAAI,GAAG;QACZ,IAAI,CAAC9B,IAAI,GAAG;QACZ,IAAI,CAACiB,OAAO,GAAG,CAAC,6BAA6B,EAAEY,MAAM;IACvD;AACF;AAEO,MAAM9D,0BAA0BmD;IACrCU,YAAYC,IAAY,EAAEZ,OAAe,CAAE;QACzC,KAAK;QACL,IAAI,CAACA,OAAO,GAAG,CAAC,qCAAqC,EAAEY,KAAK,CAAC,EAAEZ,SAAS;IAC1E;AACF;AAEO,MAAMnD,gCAAgCoD;IAE3CU,aAAc;QACZ,KAAK;QACL,IAAI,CAACE,IAAI,GAAG;QACZ,IAAI,CAACb,OAAO,GAAG,CAAC,iCAAiC,CAAC;IACpD;AACF;AAWO,SAASpC,eAAekD,KAAY;IACzC,OAAOC,KAAKC,SAAS,CAAC;QAAEhB,SAASc,MAAMd,OAAO;QAAEiB,OAAOH,MAAMG,KAAK;IAAC;AACrE","ignoreList":[0]}}, - {"offset": {"line": 13974, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/shared/lib/router/utils/is-local-url.ts"],"sourcesContent":["import { isAbsoluteUrl, getLocationOrigin } from '../../utils'\nimport { hasBasePath } from '../../../../client/has-base-path'\n\n/**\n * Detects whether a given url is routable by the Next.js router (browser only).\n */\nexport function isLocalURL(url: string): boolean {\n // prevent a hydration mismatch on href for url with anchor refs\n if (!isAbsoluteUrl(url)) return true\n try {\n // absolute urls can be local if they are on the same origin\n const locationOrigin = getLocationOrigin()\n const resolved = new URL(url, locationOrigin)\n return resolved.origin === locationOrigin && hasBasePath(resolved.pathname)\n } catch (_) {\n return false\n }\n}\n"],"names":["isLocalURL","url","isAbsoluteUrl","locationOrigin","getLocationOrigin","resolved","URL","origin","hasBasePath","pathname","_"],"mappings":";;;+BAMgBA,cAAAA;;;eAAAA;;;uBANiC;6BACrB;AAKrB,SAASA,WAAWC,GAAW;IACpC,gEAAgE;IAChE,IAAI,CAACC,CAAAA,GAAAA,OAAAA,aAAa,EAACD,MAAM,OAAO;IAChC,IAAI;QACF,4DAA4D;QAC5D,MAAME,iBAAiBC,CAAAA,GAAAA,OAAAA,iBAAiB;QACxC,MAAMC,WAAW,IAAIC,IAAIL,KAAKE;QAC9B,OAAOE,SAASE,MAAM,KAAKJ,kBAAkBK,CAAAA,GAAAA,aAAAA,WAAW,EAACH,SAASI,QAAQ;IAC5E,EAAE,OAAOC,GAAG;QACV,OAAO;IACT;AACF","ignoreList":[0]}}, - {"offset": {"line": 14001, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/shared/lib/utils/error-once.ts"],"sourcesContent":["let errorOnce = (_: string) => {}\nif (process.env.NODE_ENV !== 'production') {\n const errors = new Set<string>()\n errorOnce = (msg: string) => {\n if (!errors.has(msg)) {\n console.error(msg)\n }\n errors.add(msg)\n }\n}\n\nexport { errorOnce }\n"],"names":["errorOnce","_","process","env","NODE_ENV","errors","Set","msg","has","console","error","add"],"mappings":"AACIE,QAAQC,GAAG,CAACC,QAAQ,KAAK;;;;;+BAUpBJ,aAAAA;;;eAAAA;;;AAXT,IAAIA,YAAY,CAACC,KAAe;AAChC,wCAA2C;IACzC,MAAMI,SAAS,IAAIC;IACnBN,YAAY,CAACO;QACX,IAAI,CAACF,OAAOG,GAAG,CAACD,MAAM;YACpBE,QAAQC,KAAK,CAACH;QAChB;QACAF,OAAOM,GAAG,CAACJ;IACb;AACF","ignoreList":[0]}}, - {"offset": {"line": 14026, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/app-dir/link.tsx"],"sourcesContent":["'use client'\n\nimport React, { createContext, useContext, useOptimistic, useRef } from 'react'\nimport type { UrlObject } from 'url'\nimport { formatUrl } from '../../shared/lib/router/utils/format-url'\nimport { AppRouterContext } from '../../shared/lib/app-router-context.shared-runtime'\nimport { useMergedRef } from '../use-merged-ref'\nimport { isAbsoluteUrl } from '../../shared/lib/utils'\nimport { addBasePath } from '../add-base-path'\nimport { warnOnce } from '../../shared/lib/utils/warn-once'\nimport type { PENDING_LINK_STATUS } from '../components/links'\nimport {\n IDLE_LINK_STATUS,\n mountLinkInstance,\n onNavigationIntent,\n unmountLinkForCurrentNavigation,\n unmountPrefetchableInstance,\n type LinkInstance,\n} from '../components/links'\nimport { isLocalURL } from '../../shared/lib/router/utils/is-local-url'\nimport {\n FetchStrategy,\n type PrefetchTaskFetchStrategy,\n} from '../components/segment-cache/types'\nimport { errorOnce } from '../../shared/lib/utils/error-once'\n\ntype Url = string | UrlObject\ntype RequiredKeys<T> = {\n [K in keyof T]-?: {} extends Pick<T, K> ? never : K\n}[keyof T]\ntype OptionalKeys<T> = {\n [K in keyof T]-?: {} extends Pick<T, K> ? K : never\n}[keyof T]\n\ntype OnNavigateEventHandler = (event: { preventDefault: () => void }) => void\n\ntype InternalLinkProps = {\n /**\n * **Required**. The path or URL to navigate to. It can also be an object (similar to `URL`).\n *\n * @example\n * ```tsx\n * // Navigate to /dashboard:\n * <Link href=\"/dashboard\">Dashboard</Link>\n *\n * // Navigate to /about?name=test:\n * <Link href={{ pathname: '/about', query: { name: 'test' } }}>\n * About\n * </Link>\n * ```\n *\n * @remarks\n * - For external URLs, use a fully qualified URL such as `https://...`.\n * - In the App Router, dynamic routes must not include bracketed segments in `href`.\n */\n href: Url\n\n /**\n * @deprecated v10.0.0: `href` props pointing to a dynamic route are\n * automatically resolved and no longer require the `as` prop.\n */\n as?: Url\n\n /**\n * Replace the current `history` state instead of adding a new URL into the stack.\n *\n * @defaultValue `false`\n *\n * @example\n * ```tsx\n * <Link href=\"/about\" replace>\n * About (replaces the history state)\n * </Link>\n * ```\n */\n replace?: boolean\n\n /**\n * Whether to override the default scroll behavior. If `true`, Next.js attempts to maintain\n * the scroll position if the newly navigated page is still visible. If not, it scrolls to the top.\n *\n * If `false`, Next.js will not modify the scroll behavior at all.\n *\n * @defaultValue `true`\n *\n * @example\n * ```tsx\n * <Link href=\"/dashboard\" scroll={false}>\n * No auto scroll\n * </Link>\n * ```\n */\n scroll?: boolean\n\n /**\n * Update the path of the current page without rerunning data fetching methods\n * like `getStaticProps`, `getServerSideProps`, or `getInitialProps`.\n *\n * @remarks\n * `shallow` only applies to the Pages Router. For the App Router, see the\n * [following documentation](https://nextjs.org/docs/app/building-your-application/routing/linking-and-navigating#using-the-native-history-api).\n *\n * @defaultValue `false`\n *\n * @example\n * ```tsx\n * <Link href=\"/blog\" shallow>\n * Shallow navigation\n * </Link>\n * ```\n */\n shallow?: boolean\n\n /**\n * Forces `Link` to pass its `href` to the child component. Useful if the child is a custom\n * component that wraps an `<a>` tag, or if you're using certain styling libraries.\n *\n * @defaultValue `false`\n *\n * @example\n * ```tsx\n * <Link href=\"/dashboard\" passHref legacyBehavior>\n * <MyStyledAnchor>Dashboard</MyStyledAnchor>\n * </Link>\n * ```\n */\n passHref?: boolean\n\n /**\n * Prefetch the page in the background.\n * Any `<Link />` that is in the viewport (initially or through scroll) will be prefetched.\n * Prefetch can be disabled by passing `prefetch={false}`.\n *\n * @remarks\n * Prefetching is only enabled in production.\n *\n * - In the **App Router**:\n * - `\"auto\"`, `null`, `undefined` (default): Prefetch behavior depends on static vs dynamic routes:\n * - Static routes: fully prefetched\n * - Dynamic routes: partial prefetch to the nearest segment with a `loading.js`\n * - `true`: Always prefetch the full route and data.\n * - `false`: Disable prefetching on both viewport and hover.\n * - In the **Pages Router**:\n * - `true` (default): Prefetches the route and data in the background on viewport or hover.\n * - `false`: Prefetch only on hover, not on viewport.\n *\n * @defaultValue `true` (Pages Router) or `null` (App Router)\n *\n * @example\n * ```tsx\n * <Link href=\"/dashboard\" prefetch={false}>\n * Dashboard\n * </Link>\n * ```\n */\n prefetch?: boolean | 'auto' | null\n\n /**\n * (unstable) Switch to a full prefetch on hover. Effectively the same as\n * updating the prefetch prop to `true` in a mouse event.\n */\n unstable_dynamicOnHover?: boolean\n\n /**\n * The active locale is automatically prepended in the Pages Router. `locale` allows for providing\n * a different locale, or can be set to `false` to opt out of automatic locale behavior.\n *\n * @remarks\n * Note: locale only applies in the Pages Router and is ignored in the App Router.\n *\n * @example\n * ```tsx\n * // Use the 'fr' locale:\n * <Link href=\"/about\" locale=\"fr\">\n * About (French)\n * </Link>\n *\n * // Disable locale prefix:\n * <Link href=\"/about\" locale={false}>\n * About (no locale prefix)\n * </Link>\n * ```\n */\n locale?: string | false\n\n /**\n * Enable legacy link behavior.\n *\n * @deprecated This will be removed in a future version\n * @defaultValue `false`\n * @see https://github.com/vercel/next.js/commit/489e65ed98544e69b0afd7e0cfc3f9f6c2b803b7\n */\n legacyBehavior?: boolean\n\n /**\n * Optional event handler for when the mouse pointer is moved onto the `<Link>`.\n */\n onMouseEnter?: React.MouseEventHandler<HTMLAnchorElement>\n\n /**\n * Optional event handler for when the `<Link>` is touched.\n */\n onTouchStart?: React.TouchEventHandler<HTMLAnchorElement>\n\n /**\n * Optional event handler for when the `<Link>` is clicked.\n */\n onClick?: React.MouseEventHandler<HTMLAnchorElement>\n\n /**\n * Optional event handler for when the `<Link>` is navigated.\n */\n onNavigate?: OnNavigateEventHandler\n}\n\n// TODO-APP: Include the full set of Anchor props\n// adding this to the publicly exported type currently breaks existing apps\n\n// `RouteInferType` is a stub here to avoid breaking `typedRoutes` when the type\n// isn't generated yet. It will be replaced when type generation runs.\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport type LinkProps<RouteInferType = any> = InternalLinkProps\ntype LinkPropsRequired = RequiredKeys<LinkProps>\ntype LinkPropsOptional = OptionalKeys<Omit<InternalLinkProps, 'locale'>>\n\nfunction isModifiedEvent(event: React.MouseEvent): boolean {\n const eventTarget = event.currentTarget as HTMLAnchorElement | SVGAElement\n const target = eventTarget.getAttribute('target')\n return (\n (target && target !== '_self') ||\n event.metaKey ||\n event.ctrlKey ||\n event.shiftKey ||\n event.altKey || // triggers resource download\n (event.nativeEvent && event.nativeEvent.which === 2)\n )\n}\n\nfunction linkClicked(\n e: React.MouseEvent,\n href: string,\n as: string,\n linkInstanceRef: React.RefObject<LinkInstance | null>,\n replace?: boolean,\n scroll?: boolean,\n onNavigate?: OnNavigateEventHandler\n): void {\n if (typeof window !== 'undefined') {\n const { nodeName } = e.currentTarget\n\n // anchors inside an svg have a lowercase nodeName\n const isAnchorNodeName = nodeName.toUpperCase() === 'A'\n if (\n (isAnchorNodeName && isModifiedEvent(e)) ||\n e.currentTarget.hasAttribute('download')\n ) {\n // ignore click for browser’s default behavior\n return\n }\n\n if (!isLocalURL(href)) {\n if (replace) {\n // browser default behavior does not replace the history state\n // so we need to do it manually\n e.preventDefault()\n location.replace(href)\n }\n\n // ignore click for browser’s default behavior\n return\n }\n\n e.preventDefault()\n\n if (onNavigate) {\n let isDefaultPrevented = false\n\n onNavigate({\n preventDefault: () => {\n isDefaultPrevented = true\n },\n })\n\n if (isDefaultPrevented) {\n return\n }\n }\n\n const { dispatchNavigateAction } =\n require('../components/app-router-instance') as typeof import('../components/app-router-instance')\n\n React.startTransition(() => {\n dispatchNavigateAction(\n as || href,\n replace ? 'replace' : 'push',\n scroll ?? true,\n linkInstanceRef.current\n )\n })\n }\n}\n\nfunction formatStringOrUrl(urlObjOrString: UrlObject | string): string {\n if (typeof urlObjOrString === 'string') {\n return urlObjOrString\n }\n\n return formatUrl(urlObjOrString)\n}\n\n/**\n * A React component that extends the HTML `<a>` element to provide\n * [prefetching](https://nextjs.org/docs/app/building-your-application/routing/linking-and-navigating#2-prefetching)\n * and client-side navigation. This is the primary way to navigate between routes in Next.js.\n *\n * @remarks\n * - Prefetching is only enabled in production.\n *\n * @see https://nextjs.org/docs/app/api-reference/components/link\n */\nexport default function LinkComponent(\n props: LinkProps & {\n children: React.ReactNode\n ref: React.Ref<HTMLAnchorElement>\n }\n) {\n const [linkStatus, setOptimisticLinkStatus] = useOptimistic(IDLE_LINK_STATUS)\n\n let children: React.ReactNode\n\n const linkInstanceRef = useRef<LinkInstance | null>(null)\n\n const {\n href: hrefProp,\n as: asProp,\n children: childrenProp,\n prefetch: prefetchProp = null,\n passHref,\n replace,\n shallow,\n scroll,\n onClick,\n onMouseEnter: onMouseEnterProp,\n onTouchStart: onTouchStartProp,\n legacyBehavior = false,\n onNavigate,\n ref: forwardedRef,\n unstable_dynamicOnHover,\n ...restProps\n } = props\n\n children = childrenProp\n\n if (\n legacyBehavior &&\n (typeof children === 'string' || typeof children === 'number')\n ) {\n children = <a>{children}</a>\n }\n\n const router = React.useContext(AppRouterContext)\n\n const prefetchEnabled = prefetchProp !== false\n\n const fetchStrategy =\n prefetchProp !== false\n ? getFetchStrategyFromPrefetchProp(prefetchProp)\n : // TODO: it makes no sense to assign a fetchStrategy when prefetching is disabled.\n FetchStrategy.PPR\n\n if (process.env.NODE_ENV !== 'production') {\n function createPropError(args: {\n key: string\n expected: string\n actual: string\n }) {\n return new Error(\n `Failed prop type: The prop \\`${args.key}\\` expects a ${args.expected} in \\`<Link>\\`, but got \\`${args.actual}\\` instead.` +\n (typeof window !== 'undefined'\n ? \"\\nOpen your browser's console to view the Component stack trace.\"\n : '')\n )\n }\n\n // TypeScript trick for type-guarding:\n const requiredPropsGuard: Record<LinkPropsRequired, true> = {\n href: true,\n } as const\n const requiredProps: LinkPropsRequired[] = Object.keys(\n requiredPropsGuard\n ) as LinkPropsRequired[]\n requiredProps.forEach((key: LinkPropsRequired) => {\n if (key === 'href') {\n if (\n props[key] == null ||\n (typeof props[key] !== 'string' && typeof props[key] !== 'object')\n ) {\n throw createPropError({\n key,\n expected: '`string` or `object`',\n actual: props[key] === null ? 'null' : typeof props[key],\n })\n }\n } else {\n // TypeScript trick for type-guarding:\n const _: never = key\n }\n })\n\n // TypeScript trick for type-guarding:\n const optionalPropsGuard: Record<LinkPropsOptional, true> = {\n as: true,\n replace: true,\n scroll: true,\n shallow: true,\n passHref: true,\n prefetch: true,\n unstable_dynamicOnHover: true,\n onClick: true,\n onMouseEnter: true,\n onTouchStart: true,\n legacyBehavior: true,\n onNavigate: true,\n } as const\n const optionalProps: LinkPropsOptional[] = Object.keys(\n optionalPropsGuard\n ) as LinkPropsOptional[]\n optionalProps.forEach((key: LinkPropsOptional) => {\n const valType = typeof props[key]\n\n if (key === 'as') {\n if (props[key] && valType !== 'string' && valType !== 'object') {\n throw createPropError({\n key,\n expected: '`string` or `object`',\n actual: valType,\n })\n }\n } else if (\n key === 'onClick' ||\n key === 'onMouseEnter' ||\n key === 'onTouchStart' ||\n key === 'onNavigate'\n ) {\n if (props[key] && valType !== 'function') {\n throw createPropError({\n key,\n expected: '`function`',\n actual: valType,\n })\n }\n } else if (\n key === 'replace' ||\n key === 'scroll' ||\n key === 'shallow' ||\n key === 'passHref' ||\n key === 'legacyBehavior' ||\n key === 'unstable_dynamicOnHover'\n ) {\n if (props[key] != null && valType !== 'boolean') {\n throw createPropError({\n key,\n expected: '`boolean`',\n actual: valType,\n })\n }\n } else if (key === 'prefetch') {\n if (\n props[key] != null &&\n valType !== 'boolean' &&\n props[key] !== 'auto'\n ) {\n throw createPropError({\n key,\n expected: '`boolean | \"auto\"`',\n actual: valType,\n })\n }\n } else {\n // TypeScript trick for type-guarding:\n const _: never = key\n }\n })\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (props.locale) {\n warnOnce(\n 'The `locale` prop is not supported in `next/link` while using the `app` router. Read more about app router internalization: https://nextjs.org/docs/app/building-your-application/routing/internationalization'\n )\n }\n if (!asProp) {\n let href: string | undefined\n if (typeof hrefProp === 'string') {\n href = hrefProp\n } else if (\n typeof hrefProp === 'object' &&\n typeof hrefProp.pathname === 'string'\n ) {\n href = hrefProp.pathname\n }\n\n if (href) {\n const hasDynamicSegment = href\n .split('/')\n .some((segment) => segment.startsWith('[') && segment.endsWith(']'))\n\n if (hasDynamicSegment) {\n throw new Error(\n `Dynamic href \\`${href}\\` found in <Link> while using the \\`/app\\` router, this is not supported. Read more: https://nextjs.org/docs/messages/app-dir-dynamic-href`\n )\n }\n }\n }\n }\n\n const { href, as } = React.useMemo(() => {\n const resolvedHref = formatStringOrUrl(hrefProp)\n return {\n href: resolvedHref,\n as: asProp ? formatStringOrUrl(asProp) : resolvedHref,\n }\n }, [hrefProp, asProp])\n\n // This will return the first child, if multiple are provided it will throw an error\n let child: any\n if (legacyBehavior) {\n if ((children as any)?.$$typeof === Symbol.for('react.lazy')) {\n throw new Error(\n `\\`<Link legacyBehavior>\\` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's \\`<a>\\` tag.`\n )\n }\n\n if (process.env.NODE_ENV === 'development') {\n if (onClick) {\n console.warn(\n `\"onClick\" was passed to <Link> with \\`href\\` of \\`${hrefProp}\\` but \"legacyBehavior\" was set. The legacy behavior requires onClick be set on the child of next/link`\n )\n }\n if (onMouseEnterProp) {\n console.warn(\n `\"onMouseEnter\" was passed to <Link> with \\`href\\` of \\`${hrefProp}\\` but \"legacyBehavior\" was set. The legacy behavior requires onMouseEnter be set on the child of next/link`\n )\n }\n try {\n child = React.Children.only(children)\n } catch (err) {\n if (!children) {\n throw new Error(\n `No children were passed to <Link> with \\`href\\` of \\`${hrefProp}\\` but one child is required https://nextjs.org/docs/messages/link-no-children`\n )\n }\n throw new Error(\n `Multiple children were passed to <Link> with \\`href\\` of \\`${hrefProp}\\` but only one child is supported https://nextjs.org/docs/messages/link-multiple-children` +\n (typeof window !== 'undefined'\n ? \" \\nOpen your browser's console to view the Component stack trace.\"\n : '')\n )\n }\n } else {\n child = React.Children.only(children)\n }\n } else {\n if (process.env.NODE_ENV === 'development') {\n if ((children as any)?.type === 'a') {\n throw new Error(\n 'Invalid <Link> with <a> child. Please remove <a> or use <Link legacyBehavior>.\\nLearn more: https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor'\n )\n }\n }\n }\n\n const childRef: any = legacyBehavior\n ? child && typeof child === 'object' && child.ref\n : forwardedRef\n\n // Use a callback ref to attach an IntersectionObserver to the anchor tag on\n // mount. In the future we will also use this to keep track of all the\n // currently mounted <Link> instances, e.g. so we can re-prefetch them after\n // a revalidation or refresh.\n const observeLinkVisibilityOnMount = React.useCallback(\n (element: HTMLAnchorElement | SVGAElement) => {\n if (router !== null) {\n linkInstanceRef.current = mountLinkInstance(\n element,\n href,\n router,\n fetchStrategy,\n prefetchEnabled,\n setOptimisticLinkStatus\n )\n }\n\n return () => {\n if (linkInstanceRef.current) {\n unmountLinkForCurrentNavigation(linkInstanceRef.current)\n linkInstanceRef.current = null\n }\n unmountPrefetchableInstance(element)\n }\n },\n [prefetchEnabled, href, router, fetchStrategy, setOptimisticLinkStatus]\n )\n\n const mergedRef = useMergedRef(observeLinkVisibilityOnMount, childRef)\n\n const childProps: {\n onTouchStart?: React.TouchEventHandler<HTMLAnchorElement>\n onMouseEnter: React.MouseEventHandler<HTMLAnchorElement>\n onClick: React.MouseEventHandler<HTMLAnchorElement>\n href?: string\n ref?: any\n } = {\n ref: mergedRef,\n onClick(e) {\n if (process.env.NODE_ENV !== 'production') {\n if (!e) {\n throw new Error(\n `Component rendered inside next/link has to pass click event to \"onClick\" prop.`\n )\n }\n }\n\n if (!legacyBehavior && typeof onClick === 'function') {\n onClick(e)\n }\n\n if (\n legacyBehavior &&\n child.props &&\n typeof child.props.onClick === 'function'\n ) {\n child.props.onClick(e)\n }\n\n if (!router) {\n return\n }\n if (e.defaultPrevented) {\n return\n }\n linkClicked(e, href, as, linkInstanceRef, replace, scroll, onNavigate)\n },\n onMouseEnter(e) {\n if (!legacyBehavior && typeof onMouseEnterProp === 'function') {\n onMouseEnterProp(e)\n }\n\n if (\n legacyBehavior &&\n child.props &&\n typeof child.props.onMouseEnter === 'function'\n ) {\n child.props.onMouseEnter(e)\n }\n\n if (!router) {\n return\n }\n if (!prefetchEnabled || process.env.NODE_ENV === 'development') {\n return\n }\n\n const upgradeToDynamicPrefetch = unstable_dynamicOnHover === true\n onNavigationIntent(\n e.currentTarget as HTMLAnchorElement | SVGAElement,\n upgradeToDynamicPrefetch\n )\n },\n onTouchStart: process.env.__NEXT_LINK_NO_TOUCH_START\n ? undefined\n : function onTouchStart(e) {\n if (!legacyBehavior && typeof onTouchStartProp === 'function') {\n onTouchStartProp(e)\n }\n\n if (\n legacyBehavior &&\n child.props &&\n typeof child.props.onTouchStart === 'function'\n ) {\n child.props.onTouchStart(e)\n }\n\n if (!router) {\n return\n }\n if (!prefetchEnabled) {\n return\n }\n\n const upgradeToDynamicPrefetch = unstable_dynamicOnHover === true\n onNavigationIntent(\n e.currentTarget as HTMLAnchorElement | SVGAElement,\n upgradeToDynamicPrefetch\n )\n },\n }\n\n // If the url is absolute, we can bypass the logic to prepend the basePath.\n if (isAbsoluteUrl(as)) {\n childProps.href = as\n } else if (\n !legacyBehavior ||\n passHref ||\n (child.type === 'a' && !('href' in child.props))\n ) {\n childProps.href = addBasePath(as)\n }\n\n let link: React.ReactNode\n\n if (legacyBehavior) {\n if (process.env.NODE_ENV === 'development') {\n errorOnce(\n '`legacyBehavior` is deprecated and will be removed in a future ' +\n 'release. A codemod is available to upgrade your components:\\n\\n' +\n 'npx @next/codemod@latest new-link .\\n\\n' +\n 'Learn more: https://nextjs.org/docs/app/building-your-application/upgrading/codemods#remove-a-tags-from-link-components'\n )\n }\n link = React.cloneElement(child, childProps)\n } else {\n link = (\n <a {...restProps} {...childProps}>\n {children}\n </a>\n )\n }\n\n return (\n <LinkStatusContext.Provider value={linkStatus}>\n {link}\n </LinkStatusContext.Provider>\n )\n}\n\nconst LinkStatusContext = createContext<\n typeof PENDING_LINK_STATUS | typeof IDLE_LINK_STATUS\n>(IDLE_LINK_STATUS)\n\nexport const useLinkStatus = () => {\n return useContext(LinkStatusContext)\n}\n\nfunction getFetchStrategyFromPrefetchProp(\n prefetchProp: Exclude<LinkProps['prefetch'], undefined | false>\n): PrefetchTaskFetchStrategy {\n if (process.env.__NEXT_CACHE_COMPONENTS) {\n if (prefetchProp === true) {\n return FetchStrategy.Full\n }\n\n // `null` or `\"auto\"`: this is the default \"auto\" mode, where we will prefetch partially if the link is in the viewport.\n // This will also include invalid prop values that don't match the types specified here.\n // (although those should've been filtered out by prop validation in dev)\n prefetchProp satisfies null | 'auto'\n return FetchStrategy.PPR\n } else {\n return prefetchProp === null || prefetchProp === 'auto'\n ? // We default to PPR, and we'll discover whether or not the route supports it with the initial prefetch.\n FetchStrategy.PPR\n : // In the old implementation without runtime prefetches, `prefetch={true}` forces all dynamic data to be prefetched.\n // To preserve backwards-compatibility, anything other than `false`, `null`, or `\"auto\"` results in a full prefetch.\n // (although invalid values should've been filtered out by prop validation in dev)\n FetchStrategy.Full\n }\n}\n"],"names":["LinkComponent","useLinkStatus","isModifiedEvent","event","eventTarget","currentTarget","target","getAttribute","metaKey","ctrlKey","shiftKey","altKey","nativeEvent","which","linkClicked","e","href","as","linkInstanceRef","replace","scroll","onNavigate","window","nodeName","isAnchorNodeName","toUpperCase","hasAttribute","isLocalURL","preventDefault","location","isDefaultPrevented","dispatchNavigateAction","require","React","startTransition","current","formatStringOrUrl","urlObjOrString","formatUrl","props","linkStatus","setOptimisticLinkStatus","useOptimistic","IDLE_LINK_STATUS","children","useRef","hrefProp","asProp","childrenProp","prefetch","prefetchProp","passHref","shallow","onClick","onMouseEnter","onMouseEnterProp","onTouchStart","onTouchStartProp","legacyBehavior","ref","forwardedRef","unstable_dynamicOnHover","restProps","a","router","useContext","AppRouterContext","prefetchEnabled","fetchStrategy","getFetchStrategyFromPrefetchProp","FetchStrategy","PPR","process","env","NODE_ENV","createPropError","args","Error","key","expected","actual","requiredPropsGuard","requiredProps","Object","keys","forEach","_","optionalPropsGuard","optionalProps","valType","locale","warnOnce","pathname","hasDynamicSegment","split","some","segment","startsWith","endsWith","useMemo","resolvedHref","child","$$typeof","Symbol","for","console","warn","Children","only","err","type","childRef","observeLinkVisibilityOnMount","useCallback","element","mountLinkInstance","unmountLinkForCurrentNavigation","unmountPrefetchableInstance","mergedRef","useMergedRef","childProps","defaultPrevented","upgradeToDynamicPrefetch","onNavigationIntent","__NEXT_LINK_NO_TOUCH_START","undefined","isAbsoluteUrl","addBasePath","link","errorOnce","cloneElement","LinkStatusContext","Provider","value","createContext","__NEXT_CACHE_COMPONENTS","Full"],"mappings":"AAkXMwE,QAAQC,GAAG,CAACC,QAAQ,KAAK;AAlX/B;;;;;;;;;;;;;;;;IAsTA;;;;;;;;;CASC,GACD,OA+ZC,EAAA;eA/ZuB1E;;IAqaXC,aAAa,EAAA;eAAbA;;;;;iEAnuB2D;2BAE9C;+CACO;8BACJ;uBACC;6BACF;0BACH;uBASlB;4BACoB;uBAIpB;2BACmB;AAyM1B,SAASC,gBAAgBC,KAAuB;IAC9C,MAAMC,cAAcD,MAAME,aAAa;IACvC,MAAMC,SAASF,YAAYG,YAAY,CAAC;IACxC,OACGD,UAAUA,WAAW,WACtBH,MAAMK,OAAO,IACbL,MAAMM,OAAO,IACbN,MAAMO,QAAQ,IACdP,MAAMQ,MAAM,IAAI,6BAA6B;IAC5CR,MAAMS,WAAW,IAAIT,MAAMS,WAAW,CAACC,KAAK,KAAK;AAEtD;AAEA,SAASC,YACPC,CAAmB,EACnBC,IAAY,EACZC,EAAU,EACVC,eAAqD,EACrDC,OAAiB,EACjBC,MAAgB,EAChBC,UAAmC;IAEnC,IAAI,OAAOC,WAAW,aAAa;QACjC,MAAM,EAAEC,QAAQ,EAAE,GAAGR,EAAEV,aAAa;QAEpC,kDAAkD;QAClD,MAAMmB,mBAAmBD,SAASE,WAAW,OAAO;QACpD,IACGD,oBAAoBtB,gBAAgBa,MACrCA,EAAEV,aAAa,CAACqB,YAAY,CAAC,aAC7B;YACA,8CAA8C;YAC9C;QACF;QAEA,IAAI,CAACC,CAAAA,GAAAA,YAAAA,UAAU,EAACX,OAAO;YACrB,IAAIG,SAAS;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SAE7CoB,OAAAA,aAAa,CAACC,GAAG,GAEjB,AACA,kFAAkF,kCADkC;QAEpHD,OAAAA,aAAa,CAACkE,IAAI;IACxB;AACF","ignoreList":[0]}}, - {"offset": {"line": 14434, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/clsx/dist/clsx.mjs"],"sourcesContent":["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;"],"names":[],"mappings":";;;;;;AAAA,SAAS,EAAE,CAAC;IAAE,IAAI,GAAE,GAAE,IAAE;IAAG,IAAG,YAAU,OAAO,KAAG,YAAU,OAAO,GAAE,KAAG;SAAO,IAAG,YAAU,OAAO,GAAE,IAAG,MAAM,OAAO,CAAC,IAAG;QAAC,IAAI,IAAE,EAAE,MAAM;QAAC,IAAI,IAAE,GAAE,IAAE,GAAE,IAAI,CAAC,CAAC,EAAE,IAAE,CAAC,IAAE,EAAE,CAAC,CAAC,EAAE,CAAC,KAAG,CAAC,KAAG,CAAC,KAAG,GAAG,GAAE,KAAG,CAAC;IAAC,OAAM,IAAI,KAAK,EAAE,CAAC,CAAC,EAAE,IAAE,CAAC,KAAG,CAAC,KAAG,GAAG,GAAE,KAAG,CAAC;IAAE,OAAO;AAAC;AAAQ,SAAS;IAAO,IAAI,IAAI,GAAE,GAAE,IAAE,GAAE,IAAE,IAAG,IAAE,UAAU,MAAM,EAAC,IAAE,GAAE,IAAI,CAAC,IAAE,SAAS,CAAC,EAAE,KAAG,CAAC,IAAE,EAAE,EAAE,KAAG,CAAC,KAAG,CAAC,KAAG,GAAG,GAAE,KAAG,CAAC;IAAE,OAAO;AAAC;uCAAgB","ignoreList":[0]}}, - {"offset": {"line": 14458, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/tailwind-merge/dist/bundle-mjs.mjs","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/tailwind-merge/src/lib/utils.ts","file:///D:/sol-ui.com/sol-ui/docs/node_modules/tailwind-merge/src/lib/class-group-utils.ts","file:///D:/sol-ui.com/sol-ui/docs/node_modules/tailwind-merge/src/lib/lru-cache.ts","file:///D:/sol-ui.com/sol-ui/docs/node_modules/tailwind-merge/src/lib/parse-class-name.ts","file:///D:/sol-ui.com/sol-ui/docs/node_modules/tailwind-merge/src/lib/sort-modifiers.ts","file:///D:/sol-ui.com/sol-ui/docs/node_modules/tailwind-merge/src/lib/config-utils.ts","file:///D:/sol-ui.com/sol-ui/docs/node_modules/tailwind-merge/src/lib/merge-classlist.ts","file:///D:/sol-ui.com/sol-ui/docs/node_modules/tailwind-merge/src/lib/tw-join.ts","file:///D:/sol-ui.com/sol-ui/docs/node_modules/tailwind-merge/src/lib/create-tailwind-merge.ts","file:///D:/sol-ui.com/sol-ui/docs/node_modules/tailwind-merge/src/lib/from-theme.ts","file:///D:/sol-ui.com/sol-ui/docs/node_modules/tailwind-merge/src/lib/validators.ts","file:///D:/sol-ui.com/sol-ui/docs/node_modules/tailwind-merge/src/lib/default-config.ts","file:///D:/sol-ui.com/sol-ui/docs/node_modules/tailwind-merge/src/lib/merge-configs.ts","file:///D:/sol-ui.com/sol-ui/docs/node_modules/tailwind-merge/src/lib/extend-tailwind-merge.ts","file:///D:/sol-ui.com/sol-ui/docs/node_modules/tailwind-merge/src/lib/tw-merge.ts"],"sourcesContent":["/**\n * Concatenates two arrays faster than the array spread operator.\n */\nexport const concatArrays = <T, U>(\n array1: readonly T[],\n array2: readonly U[],\n): readonly (T | U)[] => {\n // Pre-allocate for better V8 optimization\n const combinedArray: (T | U)[] = new Array(array1.length + array2.length)\n for (let i = 0; i < array1.length; i++) {\n combinedArray[i] = array1[i]!\n }\n for (let i = 0; i < array2.length; i++) {\n combinedArray[array1.length + i] = array2[i]!\n }\n return combinedArray\n}\n","import {\n AnyClassGroupIds,\n AnyConfig,\n AnyThemeGroupIds,\n ClassGroup,\n ClassValidator,\n Config,\n ThemeGetter,\n ThemeObject,\n} from './types'\nimport { concatArrays } from './utils'\n\nexport interface ClassPartObject {\n nextPart: Map<string, ClassPartObject>\n validators: ClassValidatorObject[] | null\n classGroupId: AnyClassGroupIds | undefined // Always define optional props for consistent shape\n}\n\ninterface ClassValidatorObject {\n classGroupId: AnyClassGroupIds\n validator: ClassValidator\n}\n\n// Factory function ensures consistent object shapes\nconst createClassValidatorObject = (\n classGroupId: AnyClassGroupIds,\n validator: ClassValidator,\n): ClassValidatorObject => ({\n classGroupId,\n validator,\n})\n\n// Factory ensures consistent ClassPartObject shape\nconst createClassPartObject = (\n nextPart: Map<string, ClassPartObject> = new Map(),\n validators: ClassValidatorObject[] | null = null,\n classGroupId?: AnyClassGroupIds,\n): ClassPartObject => ({\n nextPart,\n validators,\n classGroupId,\n})\n\nconst CLASS_PART_SEPARATOR = '-'\n\nconst EMPTY_CONFLICTS: readonly AnyClassGroupIds[] = []\n// I use two dots here because one dot is used as prefix for class groups in plugins\nconst ARBITRARY_PROPERTY_PREFIX = 'arbitrary..'\n\nexport const createClassGroupUtils = (config: AnyConfig) => {\n const classMap = createClassMap(config)\n const { conflictingClassGroups, conflictingClassGroupModifiers } = config\n\n const getClassGroupId = (className: string) => {\n if (className.startsWith('[') && className.endsWith(']')) {\n return getGroupIdForArbitraryProperty(className)\n }\n\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 skip it.\n const startIndex = classParts[0] === '' && classParts.length > 1 ? 1 : 0\n return getGroupRecursive(classParts, startIndex, classMap)\n }\n\n const getConflictingClassGroupIds = (\n classGroupId: AnyClassGroupIds,\n hasPostfixModifier: boolean,\n ): readonly AnyClassGroupIds[] => {\n if (hasPostfixModifier) {\n const modifierConflicts = conflictingClassGroupModifiers[classGroupId]\n const baseConflicts = conflictingClassGroups[classGroupId]\n\n if (modifierConflicts) {\n if (baseConflicts) {\n // Merge base conflicts with modifier conflicts\n return concatArrays(baseConflicts, modifierConflicts)\n }\n // Only modifier conflicts\n return modifierConflicts\n }\n // Fall back to without postfix if no modifier conflicts\n return baseConflicts || EMPTY_CONFLICTS\n }\n\n return conflictingClassGroups[classGroupId] || EMPTY_CONFLICTS\n }\n\n return {\n getClassGroupId,\n getConflictingClassGroupIds,\n }\n}\n\nconst getGroupRecursive = (\n classParts: string[],\n startIndex: number,\n classPartObject: ClassPartObject,\n): AnyClassGroupIds | undefined => {\n const classPathsLength = classParts.length - startIndex\n if (classPathsLength === 0) {\n return classPartObject.classGroupId\n }\n\n const currentClassPart = classParts[startIndex]!\n const nextClassPartObject = classPartObject.nextPart.get(currentClassPart)\n\n if (nextClassPartObject) {\n const result = getGroupRecursive(classParts, startIndex + 1, nextClassPartObject)\n if (result) return result\n }\n\n const validators = classPartObject.validators\n if (validators === null) {\n return undefined\n }\n\n // Build classRest string efficiently by joining from startIndex onwards\n const classRest =\n startIndex === 0\n ? classParts.join(CLASS_PART_SEPARATOR)\n : classParts.slice(startIndex).join(CLASS_PART_SEPARATOR)\n const validatorsLength = validators.length\n\n for (let i = 0; i < validatorsLength; i++) {\n const validatorObj = validators[i]!\n if (validatorObj.validator(classRest)) {\n return validatorObj.classGroupId\n }\n }\n\n return undefined\n}\n\n/**\n * Get the class group ID for an arbitrary property.\n *\n * @param className - The class name to get the group ID for. Is expected to be string starting with `[` and ending with `]`.\n */\nconst getGroupIdForArbitraryProperty = (className: string): AnyClassGroupIds | undefined =>\n className.slice(1, -1).indexOf(':') === -1\n ? undefined\n : (() => {\n const content = className.slice(1, -1)\n const colonIndex = content.indexOf(':')\n const property = content.slice(0, colonIndex)\n return property ? ARBITRARY_PROPERTY_PREFIX + property : undefined\n })()\n\n/**\n * Exported for testing only\n */\nexport const createClassMap = (config: Config<AnyClassGroupIds, AnyThemeGroupIds>) => {\n const { theme, classGroups } = config\n return processClassGroups(classGroups, theme)\n}\n\n// Split into separate functions to maintain monomorphic call sites\nconst processClassGroups = (\n classGroups: Record<AnyClassGroupIds, ClassGroup<AnyThemeGroupIds>>,\n theme: ThemeObject<AnyThemeGroupIds>,\n): ClassPartObject => {\n const classMap = createClassPartObject()\n\n for (const classGroupId in classGroups) {\n const group = classGroups[classGroupId]!\n processClassesRecursively(group, classMap, classGroupId, theme)\n }\n\n return classMap\n}\n\nconst processClassesRecursively = (\n classGroup: ClassGroup<AnyThemeGroupIds>,\n classPartObject: ClassPartObject,\n classGroupId: AnyClassGroupIds,\n theme: ThemeObject<AnyThemeGroupIds>,\n) => {\n const len = classGroup.length\n for (let i = 0; i < len; i++) {\n const classDefinition = classGroup[i]!\n processClassDefinition(classDefinition, classPartObject, classGroupId, theme)\n }\n}\n\n// Split into separate functions for each type to maintain monomorphic call sites\nconst processClassDefinition = (\n classDefinition: ClassGroup<AnyThemeGroupIds>[number],\n classPartObject: ClassPartObject,\n classGroupId: AnyClassGroupIds,\n theme: ThemeObject<AnyThemeGroupIds>,\n) => {\n if (typeof classDefinition === 'string') {\n processStringDefinition(classDefinition, classPartObject, classGroupId)\n return\n }\n\n if (typeof classDefinition === 'function') {\n processFunctionDefinition(classDefinition, classPartObject, classGroupId, theme)\n return\n }\n\n processObjectDefinition(\n classDefinition as Record<string, ClassGroup<AnyThemeGroupIds>>,\n classPartObject,\n classGroupId,\n theme,\n )\n}\n\nconst processStringDefinition = (\n classDefinition: string,\n classPartObject: ClassPartObject,\n classGroupId: AnyClassGroupIds,\n) => {\n const classPartObjectToEdit =\n classDefinition === '' ? classPartObject : getPart(classPartObject, classDefinition)\n classPartObjectToEdit.classGroupId = classGroupId\n}\n\nconst processFunctionDefinition = (\n classDefinition: Function,\n classPartObject: ClassPartObject,\n classGroupId: AnyClassGroupIds,\n theme: ThemeObject<AnyThemeGroupIds>,\n) => {\n if (isThemeGetter(classDefinition)) {\n processClassesRecursively(classDefinition(theme), classPartObject, classGroupId, theme)\n return\n }\n\n if (classPartObject.validators === null) {\n classPartObject.validators = []\n }\n classPartObject.validators.push(\n createClassValidatorObject(classGroupId, classDefinition as ClassValidator),\n )\n}\n\nconst processObjectDefinition = (\n classDefinition: Record<string, ClassGroup<AnyThemeGroupIds>>,\n classPartObject: ClassPartObject,\n classGroupId: AnyClassGroupIds,\n theme: ThemeObject<AnyThemeGroupIds>,\n) => {\n const entries = Object.entries(classDefinition)\n const len = entries.length\n for (let i = 0; i < len; i++) {\n const [key, value] = entries[i]!\n processClassesRecursively(value, getPart(classPartObject, key), classGroupId, theme)\n }\n}\n\nconst getPart = (classPartObject: ClassPartObject, path: string): ClassPartObject => {\n let current = classPartObject\n const parts = path.split(CLASS_PART_SEPARATOR)\n const len = parts.length\n\n for (let i = 0; i < len; i++) {\n const part = parts[i]!\n\n let next = current.nextPart.get(part)\n if (!next) {\n next = createClassPartObject()\n current.nextPart.set(part, next)\n }\n current = next\n }\n\n return current\n}\n\n// Type guard maintains monomorphic check\nconst isThemeGetter = (func: Function): func is ThemeGetter =>\n 'isThemeGetter' in func && (func as ThemeGetter).isThemeGetter === true\n","// Export is needed because TypeScript complains about an error otherwise:\n// Error: …/tailwind-merge/src/config-utils.ts(8,17): semantic error TS4058: Return type of exported function has or is using name 'LruCache' from external module \"…/tailwind-merge/src/lru-cache\" but cannot be named.\nexport interface LruCache<Key extends string, Value> {\n get(key: Key): Value | undefined\n set(key: Key, value: Value): void\n}\n\n// LRU cache implementation using plain objects for simplicity\nexport const createLruCache = <Key extends string, Value>(\n maxCacheSize: number,\n): LruCache<Key, Value> => {\n if (maxCacheSize < 1) {\n return {\n get: () => undefined,\n set: () => {},\n }\n }\n\n let cacheSize = 0\n let cache: Record<Key, Value> = Object.create(null)\n let previousCache: Record<Key, Value> = Object.create(null)\n\n const update = (key: Key, value: Value) => {\n cache[key] = value\n cacheSize++\n\n if (cacheSize > maxCacheSize) {\n cacheSize = 0\n previousCache = cache\n cache = Object.create(null)\n }\n }\n\n return {\n get(key) {\n let value = cache[key]\n\n if (value !== undefined) {\n return value\n }\n if ((value = previousCache[key]) !== undefined) {\n update(key, value)\n return value\n }\n },\n set(key, value) {\n if (key in cache) {\n cache[key] = value\n } else {\n update(key, value)\n }\n },\n }\n}\n","import { AnyConfig, ParsedClassName } from './types'\n\nexport const IMPORTANT_MODIFIER = '!'\n\nconst MODIFIER_SEPARATOR = ':'\nconst EMPTY_MODIFIERS: string[] = []\n\n// Pre-allocated result object shape for consistency\nconst createResultObject = (\n modifiers: string[],\n hasImportantModifier: boolean,\n baseClassName: string,\n maybePostfixModifierPosition?: number,\n isExternal?: boolean,\n): ParsedClassName => ({\n modifiers,\n hasImportantModifier,\n baseClassName,\n maybePostfixModifierPosition,\n isExternal,\n})\n\nexport const createParseClassName = (config: AnyConfig) => {\n const { prefix, experimentalParseClassName } = config\n\n /**\n * Parse class name into parts.\n *\n * Inspired by `splitAtTopLevelOnly` used in Tailwind CSS\n * @see https://github.com/tailwindlabs/tailwindcss/blob/v3.2.2/src/util/splitAtTopLevelOnly.js\n */\n let parseClassName = (className: string): ParsedClassName => {\n // Use simple array with push for better performance\n const modifiers: string[] = []\n\n let bracketDepth = 0\n let parenDepth = 0\n let modifierStart = 0\n let postfixModifierPosition: number | undefined\n\n const len = className.length\n for (let index = 0; index < len; index++) {\n const currentCharacter = className[index]!\n\n if (bracketDepth === 0 && parenDepth === 0) {\n if (currentCharacter === MODIFIER_SEPARATOR) {\n modifiers.push(className.slice(modifierStart, index))\n modifierStart = index + 1\n continue\n }\n\n if (currentCharacter === '/') {\n postfixModifierPosition = index\n continue\n }\n }\n\n if (currentCharacter === '[') bracketDepth++\n else if (currentCharacter === ']') bracketDepth--\n else if (currentCharacter === '(') parenDepth++\n else if (currentCharacter === ')') parenDepth--\n }\n\n const baseClassNameWithImportantModifier =\n modifiers.length === 0 ? className : className.slice(modifierStart)\n\n // Inline important modifier check\n let baseClassName = baseClassNameWithImportantModifier\n let hasImportantModifier = false\n\n if (baseClassNameWithImportantModifier.endsWith(IMPORTANT_MODIFIER)) {\n baseClassName = baseClassNameWithImportantModifier.slice(0, -1)\n hasImportantModifier = true\n } else if (\n /**\n * In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.\n * @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864\n */\n baseClassNameWithImportantModifier.startsWith(IMPORTANT_MODIFIER)\n ) {\n baseClassName = baseClassNameWithImportantModifier.slice(1)\n hasImportantModifier = true\n }\n\n const maybePostfixModifierPosition =\n postfixModifierPosition && postfixModifierPosition > modifierStart\n ? postfixModifierPosition - modifierStart\n : undefined\n\n return createResultObject(\n modifiers,\n hasImportantModifier,\n baseClassName,\n maybePostfixModifierPosition,\n )\n }\n\n if (prefix) {\n const fullPrefix = prefix + MODIFIER_SEPARATOR\n const parseClassNameOriginal = parseClassName\n parseClassName = (className: string) =>\n className.startsWith(fullPrefix)\n ? parseClassNameOriginal(className.slice(fullPrefix.length))\n : createResultObject(EMPTY_MODIFIERS, false, className, undefined, true)\n }\n\n if (experimentalParseClassName) {\n const parseClassNameOriginal = parseClassName\n parseClassName = (className: string) =>\n experimentalParseClassName({ className, parseClassName: parseClassNameOriginal })\n }\n\n return parseClassName\n}\n","import { AnyConfig } from './types'\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 */\nexport const createSortModifiers = (config: AnyConfig) => {\n // Pre-compute weights for all known modifiers for O(1) comparison\n const modifierWeights = new Map<string, number>()\n\n // Assign weights to sensitive modifiers (highest priority, but preserve order)\n config.orderSensitiveModifiers.forEach((mod, index) => {\n modifierWeights.set(mod, 1000000 + index) // High weights for sensitive mods\n })\n\n return (modifiers: readonly string[]): string[] => {\n const result: string[] = []\n let currentSegment: string[] = []\n\n // Process modifiers in one pass\n for (let i = 0; i < modifiers.length; i++) {\n const modifier = modifiers[i]!\n\n // Check if modifier is sensitive (starts with '[' or in orderSensitiveModifiers)\n const isArbitrary = modifier[0] === '['\n const isOrderSensitive = modifierWeights.has(modifier)\n\n if (isArbitrary || isOrderSensitive) {\n // Sort and flush current segment alphabetically\n if (currentSegment.length > 0) {\n currentSegment.sort()\n result.push(...currentSegment)\n currentSegment = []\n }\n result.push(modifier)\n } else {\n // Regular modifier - add to current segment for batch sorting\n currentSegment.push(modifier)\n }\n }\n\n // Sort and add any remaining segment items\n if (currentSegment.length > 0) {\n currentSegment.sort()\n result.push(...currentSegment)\n }\n\n return result\n }\n}\n","import { createClassGroupUtils } from './class-group-utils'\nimport { createLruCache } from './lru-cache'\nimport { createParseClassName } from './parse-class-name'\nimport { createSortModifiers } from './sort-modifiers'\nimport { AnyConfig } from './types'\n\nexport type ConfigUtils = ReturnType<typeof createConfigUtils>\n\nexport const createConfigUtils = (config: AnyConfig) => ({\n cache: createLruCache<string, string>(config.cacheSize),\n parseClassName: createParseClassName(config),\n sortModifiers: createSortModifiers(config),\n ...createClassGroupUtils(config),\n})\n","import { ConfigUtils } from './config-utils'\nimport { IMPORTANT_MODIFIER } from './parse-class-name'\n\nconst SPLIT_CLASSES_REGEX = /\\s+/\n\nexport const mergeClassList = (classList: string, configUtils: ConfigUtils) => {\n const { parseClassName, getClassGroupId, getConflictingClassGroupIds, sortModifiers } =\n configUtils\n\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: string[] = []\n const classNames = classList.trim().split(SPLIT_CLASSES_REGEX)\n\n let result = ''\n\n for (let index = classNames.length - 1; index >= 0; index -= 1) {\n const originalClassName = classNames[index]!\n\n const {\n isExternal,\n modifiers,\n hasImportantModifier,\n baseClassName,\n maybePostfixModifierPosition,\n } = parseClassName(originalClassName)\n\n if (isExternal) {\n result = originalClassName + (result.length > 0 ? ' ' + result : result)\n continue\n }\n\n let hasPostfixModifier = !!maybePostfixModifierPosition\n let classGroupId = getClassGroupId(\n hasPostfixModifier\n ? baseClassName.substring(0, maybePostfixModifierPosition)\n : baseClassName,\n )\n\n if (!classGroupId) {\n if (!hasPostfixModifier) {\n // Not a Tailwind class\n result = originalClassName + (result.length > 0 ? ' ' + result : result)\n continue\n }\n\n classGroupId = getClassGroupId(baseClassName)\n\n if (!classGroupId) {\n // Not a Tailwind class\n result = originalClassName + (result.length > 0 ? ' ' + result : result)\n continue\n }\n\n hasPostfixModifier = false\n }\n\n // Fast path: skip sorting for empty or single modifier\n const variantModifier =\n modifiers.length === 0\n ? ''\n : modifiers.length === 1\n ? modifiers[0]!\n : sortModifiers(modifiers).join(':')\n\n const modifierId = hasImportantModifier\n ? variantModifier + IMPORTANT_MODIFIER\n : variantModifier\n\n const classId = modifierId + classGroupId\n\n if (classGroupsInConflict.indexOf(classId) > -1) {\n // Tailwind class omitted due to conflict\n continue\n }\n\n classGroupsInConflict.push(classId)\n\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\n // Tailwind class not in conflict\n result = originalClassName + (result.length > 0 ? ' ' + result : result)\n }\n\n return result\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 */\n\nexport type ClassNameValue = ClassNameArray | string | null | undefined | 0 | 0n | false\ntype ClassNameArray = ClassNameValue[]\n\nexport const twJoin = (...classLists: ClassNameValue[]): string => {\n let index = 0\n let argument: ClassNameValue\n let resolvedValue: string\n let string = ''\n\n while (index < classLists.length) {\n if ((argument = classLists[index++])) {\n if ((resolvedValue = toValue(argument))) {\n string && (string += ' ')\n string += resolvedValue\n }\n }\n }\n return string\n}\n\nconst toValue = (mix: ClassNameArray | string): string => {\n // Fast path for strings\n if (typeof mix === 'string') {\n return mix\n }\n\n let resolvedValue: string\n let string = ''\n\n for (let k = 0; k < mix.length; k++) {\n if (mix[k]) {\n if ((resolvedValue = toValue(mix[k] as ClassNameArray | string))) {\n string && (string += ' ')\n string += resolvedValue\n }\n }\n }\n\n return string\n}\n","import { createConfigUtils } from './config-utils'\nimport { mergeClassList } from './merge-classlist'\nimport { ClassNameValue, twJoin } from './tw-join'\nimport { AnyConfig } from './types'\n\ntype CreateConfigFirst = () => AnyConfig\ntype CreateConfigSubsequent = (config: AnyConfig) => AnyConfig\ntype TailwindMerge = (...classLists: ClassNameValue[]) => string\ntype ConfigUtils = ReturnType<typeof createConfigUtils>\n\nexport const createTailwindMerge = (\n createConfigFirst: CreateConfigFirst,\n ...createConfigRest: CreateConfigSubsequent[]\n): TailwindMerge => {\n let configUtils: ConfigUtils\n let cacheGet: ConfigUtils['cache']['get']\n let cacheSet: ConfigUtils['cache']['set']\n let functionToCall: (classList: string) => string\n\n const initTailwindMerge = (classList: string) => {\n const config = createConfigRest.reduce(\n (previousConfig, createConfigCurrent) => createConfigCurrent(previousConfig),\n createConfigFirst() as AnyConfig,\n )\n\n configUtils = createConfigUtils(config)\n cacheGet = configUtils.cache.get\n cacheSet = configUtils.cache.set\n functionToCall = tailwindMerge\n\n return tailwindMerge(classList)\n }\n\n const tailwindMerge = (classList: string) => {\n const cachedResult = cacheGet(classList)\n\n if (cachedResult) {\n return cachedResult\n }\n\n const result = mergeClassList(classList, configUtils)\n cacheSet(classList, result)\n\n return result\n }\n\n functionToCall = initTailwindMerge\n\n return (...args: ClassNameValue[]) => functionToCall(twJoin(...args))\n}\n","import { DefaultThemeGroupIds, NoInfer, ThemeGetter, ThemeObject } from './types'\n\nconst fallbackThemeArr: ThemeObject<DefaultThemeGroupIds>[DefaultThemeGroupIds] = []\n\nexport const fromTheme = <\n AdditionalThemeGroupIds extends string = never,\n DefaultThemeGroupIdsInner extends string = DefaultThemeGroupIds,\n>(\n key: NoInfer<DefaultThemeGroupIdsInner | AdditionalThemeGroupIds>,\n): ThemeGetter => {\n const themeGetter = (theme: ThemeObject<DefaultThemeGroupIdsInner | AdditionalThemeGroupIds>) =>\n theme[key] || fallbackThemeArr\n\n themeGetter.isThemeGetter = true as const\n\n return themeGetter\n}\n","const arbitraryValueRegex = /^\\[(?:(\\w[\\w-]*):)?(.+)\\]$/i\nconst arbitraryVariableRegex = /^\\((?:(\\w[\\w-]*):)?(.+)\\)$/i\nconst fractionRegex = /^\\d+\\/\\d+$/\nconst tshirtUnitRegex = /^(\\d+(\\.\\d+)?)?(xs|sm|md|lg|xl)$/\nconst lengthUnitRegex =\n /\\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 =\n /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\\(.+\\)$/\n\nexport const isFraction = (value: string) => fractionRegex.test(value)\n\nexport const isNumber = (value: string) => !!value && !Number.isNaN(Number(value))\n\nexport const isInteger = (value: string) => !!value && Number.isInteger(Number(value))\n\nexport const isPercent = (value: string) => value.endsWith('%') && isNumber(value.slice(0, -1))\n\nexport const isTshirtSize = (value: string) => tshirtUnitRegex.test(value)\n\nexport const isAny = () => true\n\nconst isLengthOnly = (value: string) =>\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.\n lengthUnitRegex.test(value) && !colorFunctionRegex.test(value)\n\nconst isNever = () => false\n\nconst isShadow = (value: string) => shadowRegex.test(value)\n\nconst isImage = (value: string) => imageRegex.test(value)\n\nexport const isAnyNonArbitrary = (value: string) =>\n !isArbitraryValue(value) && !isArbitraryVariable(value)\n\nexport const isArbitrarySize = (value: string) => getIsArbitraryValue(value, isLabelSize, isNever)\n\nexport const isArbitraryValue = (value: string) => arbitraryValueRegex.test(value)\n\nexport const isArbitraryLength = (value: string) =>\n getIsArbitraryValue(value, isLabelLength, isLengthOnly)\n\nexport const isArbitraryNumber = (value: string) =>\n getIsArbitraryValue(value, isLabelNumber, isNumber)\n\nexport const isArbitraryPosition = (value: string) =>\n getIsArbitraryValue(value, isLabelPosition, isNever)\n\nexport const isArbitraryImage = (value: string) => getIsArbitraryValue(value, isLabelImage, isImage)\n\nexport const isArbitraryShadow = (value: string) =>\n getIsArbitraryValue(value, isLabelShadow, isShadow)\n\nexport const isArbitraryVariable = (value: string) => arbitraryVariableRegex.test(value)\n\nexport const isArbitraryVariableLength = (value: string) =>\n getIsArbitraryVariable(value, isLabelLength)\n\nexport const isArbitraryVariableFamilyName = (value: string) =>\n getIsArbitraryVariable(value, isLabelFamilyName)\n\nexport const isArbitraryVariablePosition = (value: string) =>\n getIsArbitraryVariable(value, isLabelPosition)\n\nexport const isArbitraryVariableSize = (value: string) => getIsArbitraryVariable(value, isLabelSize)\n\nexport const isArbitraryVariableImage = (value: string) =>\n getIsArbitraryVariable(value, isLabelImage)\n\nexport const isArbitraryVariableShadow = (value: string) =>\n getIsArbitraryVariable(value, isLabelShadow, true)\n\n// Helpers\n\nconst getIsArbitraryValue = (\n value: string,\n testLabel: (label: string) => boolean,\n testValue: (value: string) => boolean,\n) => {\n const result = arbitraryValueRegex.exec(value)\n\n if (result) {\n if (result[1]) {\n return testLabel(result[1])\n }\n\n return testValue(result[2]!)\n }\n\n return false\n}\n\nconst getIsArbitraryVariable = (\n value: string,\n testLabel: (label: string) => boolean,\n shouldMatchNoLabel = false,\n) => {\n const result = arbitraryVariableRegex.exec(value)\n\n if (result) {\n if (result[1]) {\n return testLabel(result[1])\n }\n return shouldMatchNoLabel\n }\n\n return false\n}\n\n// Labels\n\nconst isLabelPosition = (label: string) => label === 'position' || label === 'percentage'\n\nconst isLabelImage = (label: string) => label === 'image' || label === 'url'\n\nconst isLabelSize = (label: string) => label === 'length' || label === 'size' || label === 'bg-size'\n\nconst isLabelLength = (label: string) => label === 'length'\n\nconst isLabelNumber = (label: string) => label === 'number'\n\nconst isLabelFamilyName = (label: string) => label === 'family-name'\n\nconst isLabelShadow = (label: string) => label === 'shadow'\n","import { fromTheme } from './from-theme'\nimport { Config, DefaultClassGroupIds, DefaultThemeGroupIds } from './types'\nimport {\n isAny,\n isAnyNonArbitrary,\n isArbitraryImage,\n isArbitraryLength,\n isArbitraryNumber,\n isArbitraryPosition,\n isArbitraryShadow,\n isArbitrarySize,\n isArbitraryValue,\n isArbitraryVariable,\n isArbitraryVariableFamilyName,\n isArbitraryVariableImage,\n isArbitraryVariableLength,\n isArbitraryVariablePosition,\n isArbitraryVariableShadow,\n isArbitraryVariableSize,\n isFraction,\n isInteger,\n isNumber,\n isPercent,\n isTshirtSize,\n} from './validators'\n\nexport const getDefaultConfig = () => {\n /**\n * Theme getters for theme variable namespaces\n * @see https://tailwindcss.com/docs/theme#theme-variable-namespaces\n */\n /***/\n\n const themeColor = fromTheme('color')\n const themeFont = fromTheme('font')\n const themeText = fromTheme('text')\n const themeFontWeight = fromTheme('font-weight')\n const themeTracking = fromTheme('tracking')\n const themeLeading = fromTheme('leading')\n const themeBreakpoint = fromTheme('breakpoint')\n const themeContainer = fromTheme('container')\n const themeSpacing = fromTheme('spacing')\n const themeRadius = fromTheme('radius')\n const themeShadow = fromTheme('shadow')\n const themeInsetShadow = fromTheme('inset-shadow')\n const themeTextShadow = fromTheme('text-shadow')\n const themeDropShadow = fromTheme('drop-shadow')\n const themeBlur = fromTheme('blur')\n const themePerspective = fromTheme('perspective')\n const themeAspect = fromTheme('aspect')\n const themeEase = fromTheme('ease')\n const themeAnimate = fromTheme('animate')\n\n /**\n * Helpers to avoid repeating the same scales\n *\n * We use functions that create a new array every time they're called instead of static arrays.\n * This ensures that users who modify any scale by mutating the array (e.g. with `array.push(element)`) don't accidentally mutate arrays in other parts of the config.\n */\n /***/\n\n const scaleBreak = () =>\n ['auto', 'avoid', 'all', 'avoid-page', 'page', 'left', 'right', 'column'] as const\n const scalePosition = () =>\n [\n 'center',\n 'top',\n 'bottom',\n 'left',\n 'right',\n 'top-left',\n // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378\n 'left-top',\n 'top-right',\n // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378\n 'right-top',\n 'bottom-right',\n // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378\n 'right-bottom',\n 'bottom-left',\n // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378\n 'left-bottom',\n ] as const\n const scalePositionWithArbitrary = () =>\n [...scalePosition(), isArbitraryVariable, isArbitraryValue] as const\n const scaleOverflow = () => ['auto', 'hidden', 'clip', 'visible', 'scroll'] as const\n const scaleOverscroll = () => ['auto', 'contain', 'none'] as const\n const scaleUnambiguousSpacing = () =>\n [isArbitraryVariable, isArbitraryValue, themeSpacing] as const\n const scaleInset = () => [isFraction, 'full', 'auto', ...scaleUnambiguousSpacing()] as const\n const scaleGridTemplateColsRows = () =>\n [isInteger, 'none', 'subgrid', isArbitraryVariable, isArbitraryValue] as const\n const scaleGridColRowStartAndEnd = () =>\n [\n 'auto',\n { span: ['full', isInteger, isArbitraryVariable, isArbitraryValue] },\n isInteger,\n isArbitraryVariable,\n isArbitraryValue,\n ] as const\n const scaleGridColRowStartOrEnd = () =>\n [isInteger, 'auto', isArbitraryVariable, isArbitraryValue] as const\n const scaleGridAutoColsRows = () =>\n ['auto', 'min', 'max', 'fr', isArbitraryVariable, isArbitraryValue] as const\n const scaleAlignPrimaryAxis = () =>\n [\n 'start',\n 'end',\n 'center',\n 'between',\n 'around',\n 'evenly',\n 'stretch',\n 'baseline',\n 'center-safe',\n 'end-safe',\n ] as const\n const scaleAlignSecondaryAxis = () =>\n ['start', 'end', 'center', 'stretch', 'center-safe', 'end-safe'] as const\n const scaleMargin = () => ['auto', ...scaleUnambiguousSpacing()] as const\n const scaleSizing = () =>\n [\n isFraction,\n 'auto',\n 'full',\n 'dvw',\n 'dvh',\n 'lvw',\n 'lvh',\n 'svw',\n 'svh',\n 'min',\n 'max',\n 'fit',\n ...scaleUnambiguousSpacing(),\n ] as const\n const scaleColor = () => [themeColor, isArbitraryVariable, isArbitraryValue] as const\n const scaleBgPosition = () =>\n [\n ...scalePosition(),\n isArbitraryVariablePosition,\n isArbitraryPosition,\n { position: [isArbitraryVariable, isArbitraryValue] },\n ] as const\n const scaleBgRepeat = () => ['no-repeat', { repeat: ['', 'x', 'y', 'space', 'round'] }] as const\n const scaleBgSize = () =>\n [\n 'auto',\n 'cover',\n 'contain',\n isArbitraryVariableSize,\n isArbitrarySize,\n { size: [isArbitraryVariable, isArbitraryValue] },\n ] as const\n const scaleGradientStopPosition = () =>\n [isPercent, isArbitraryVariableLength, isArbitraryLength] as const\n const scaleRadius = () =>\n [\n // Deprecated since Tailwind CSS v4.0.0\n '',\n 'none',\n 'full',\n themeRadius,\n isArbitraryVariable,\n isArbitraryValue,\n ] as const\n const scaleBorderWidth = () =>\n ['', isNumber, isArbitraryVariableLength, isArbitraryLength] as const\n const scaleLineStyle = () => ['solid', 'dashed', 'dotted', 'double'] as const\n const scaleBlendMode = () =>\n [\n 'normal',\n 'multiply',\n 'screen',\n 'overlay',\n 'darken',\n 'lighten',\n 'color-dodge',\n 'color-burn',\n 'hard-light',\n 'soft-light',\n 'difference',\n 'exclusion',\n 'hue',\n 'saturation',\n 'color',\n 'luminosity',\n ] as const\n const scaleMaskImagePosition = () =>\n [isNumber, isPercent, isArbitraryVariablePosition, isArbitraryPosition] as const\n const scaleBlur = () =>\n [\n // Deprecated since Tailwind CSS v4.0.0\n '',\n 'none',\n themeBlur,\n isArbitraryVariable,\n isArbitraryValue,\n ] as const\n const scaleRotate = () => ['none', isNumber, isArbitraryVariable, isArbitraryValue] as const\n const scaleScale = () => ['none', isNumber, isArbitraryVariable, isArbitraryValue] as const\n const scaleSkew = () => [isNumber, isArbitraryVariable, isArbitraryValue] as const\n const scaleTranslate = () => [isFraction, 'full', ...scaleUnambiguousSpacing()] as const\n\n return {\n cacheSize: 500,\n theme: {\n animate: ['spin', 'ping', 'pulse', 'bounce'],\n aspect: ['video'],\n blur: [isTshirtSize],\n breakpoint: [isTshirtSize],\n color: [isAny],\n container: [isTshirtSize],\n 'drop-shadow': [isTshirtSize],\n ease: ['in', 'out', 'in-out'],\n font: [isAnyNonArbitrary],\n 'font-weight': [\n 'thin',\n 'extralight',\n 'light',\n 'normal',\n 'medium',\n 'semibold',\n 'bold',\n 'extrabold',\n 'black',\n ],\n 'inset-shadow': [isTshirtSize],\n leading: ['none', 'tight', 'snug', 'normal', 'relaxed', 'loose'],\n perspective: ['dramatic', 'near', 'normal', 'midrange', 'distant', 'none'],\n radius: [isTshirtSize],\n shadow: [isTshirtSize],\n spacing: ['px', isNumber],\n text: [isTshirtSize],\n 'text-shadow': [isTshirtSize],\n tracking: ['tighter', 'tight', 'normal', 'wide', 'wider', 'widest'],\n },\n classGroups: {\n // --------------\n // --- Layout ---\n // --------------\n\n /**\n * Aspect Ratio\n * @see https://tailwindcss.com/docs/aspect-ratio\n */\n aspect: [\n {\n aspect: [\n 'auto',\n 'square',\n isFraction,\n isArbitraryValue,\n isArbitraryVariable,\n themeAspect,\n ],\n },\n ],\n /**\n * Container\n * @see https://tailwindcss.com/docs/container\n * @deprecated since Tailwind CSS v4.0.0\n */\n container: ['container'],\n /**\n * Columns\n * @see https://tailwindcss.com/docs/columns\n */\n columns: [\n { columns: [isNumber, isArbitraryValue, isArbitraryVariable, themeContainer] },\n ],\n /**\n * Break After\n * @see https://tailwindcss.com/docs/break-after\n */\n 'break-after': [{ 'break-after': scaleBreak() }],\n /**\n * Break Before\n * @see https://tailwindcss.com/docs/break-before\n */\n 'break-before': [{ 'break-before': scaleBreak() }],\n /**\n * Break Inside\n * @see https://tailwindcss.com/docs/break-inside\n */\n 'break-inside': [{ 'break-inside': ['auto', 'avoid', 'avoid-page', 'avoid-column'] }],\n /**\n * Box Decoration Break\n * @see https://tailwindcss.com/docs/box-decoration-break\n */\n 'box-decoration': [{ 'box-decoration': ['slice', 'clone'] }],\n /**\n * Box Sizing\n * @see https://tailwindcss.com/docs/box-sizing\n */\n box: [{ box: ['border', 'content'] }],\n /**\n * Display\n * @see https://tailwindcss.com/docs/display\n */\n display: [\n 'block',\n 'inline-block',\n 'inline',\n 'flex',\n 'inline-flex',\n 'table',\n 'inline-table',\n 'table-caption',\n 'table-cell',\n 'table-column',\n 'table-column-group',\n 'table-footer-group',\n 'table-header-group',\n 'table-row-group',\n 'table-row',\n 'flow-root',\n 'grid',\n 'inline-grid',\n 'contents',\n 'list-item',\n 'hidden',\n ],\n /**\n * Screen Reader Only\n * @see https://tailwindcss.com/docs/display#screen-reader-only\n */\n sr: ['sr-only', 'not-sr-only'],\n /**\n * Floats\n * @see https://tailwindcss.com/docs/float\n */\n float: [{ float: ['right', 'left', 'none', 'start', 'end'] }],\n /**\n * Clear\n * @see https://tailwindcss.com/docs/clear\n */\n clear: [{ clear: ['left', 'right', 'both', 'none', 'start', 'end'] }],\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': [{ object: ['contain', 'cover', 'fill', 'none', 'scale-down'] }],\n /**\n * Object Position\n * @see https://tailwindcss.com/docs/object-position\n */\n 'object-position': [{ object: scalePositionWithArbitrary() }],\n /**\n * Overflow\n * @see https://tailwindcss.com/docs/overflow\n */\n overflow: [{ overflow: scaleOverflow() }],\n /**\n * Overflow X\n * @see https://tailwindcss.com/docs/overflow\n */\n 'overflow-x': [{ 'overflow-x': scaleOverflow() }],\n /**\n * Overflow Y\n * @see https://tailwindcss.com/docs/overflow\n */\n 'overflow-y': [{ 'overflow-y': scaleOverflow() }],\n /**\n * Overscroll Behavior\n * @see https://tailwindcss.com/docs/overscroll-behavior\n */\n overscroll: [{ overscroll: scaleOverscroll() }],\n /**\n * Overscroll Behavior X\n * @see https://tailwindcss.com/docs/overscroll-behavior\n */\n 'overscroll-x': [{ 'overscroll-x': scaleOverscroll() }],\n /**\n * Overscroll Behavior Y\n * @see https://tailwindcss.com/docs/overscroll-behavior\n */\n 'overscroll-y': [{ 'overscroll-y': scaleOverscroll() }],\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: [{ inset: scaleInset() }],\n /**\n * Right / Left\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n */\n 'inset-x': [{ 'inset-x': scaleInset() }],\n /**\n * Top / Bottom\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n */\n 'inset-y': [{ 'inset-y': scaleInset() }],\n /**\n * Start\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n */\n start: [{ start: scaleInset() }],\n /**\n * End\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n */\n end: [{ end: scaleInset() }],\n /**\n * Top\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n */\n top: [{ top: scaleInset() }],\n /**\n * Right\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n */\n right: [{ right: scaleInset() }],\n /**\n * Bottom\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n */\n bottom: [{ bottom: scaleInset() }],\n /**\n * Left\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n */\n left: [{ left: scaleInset() }],\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: [{ z: [isInteger, 'auto', isArbitraryVariable, isArbitraryValue] }],\n\n // ------------------------\n // --- Flexbox and Grid ---\n // ------------------------\n\n /**\n * Flex Basis\n * @see https://tailwindcss.com/docs/flex-basis\n */\n basis: [\n {\n basis: [\n isFraction,\n 'full',\n 'auto',\n themeContainer,\n ...scaleUnambiguousSpacing(),\n ],\n },\n ],\n /**\n * Flex Direction\n * @see https://tailwindcss.com/docs/flex-direction\n */\n 'flex-direction': [{ flex: ['row', 'row-reverse', 'col', 'col-reverse'] }],\n /**\n * Flex Wrap\n * @see https://tailwindcss.com/docs/flex-wrap\n */\n 'flex-wrap': [{ flex: ['nowrap', 'wrap', 'wrap-reverse'] }],\n /**\n * Flex\n * @see https://tailwindcss.com/docs/flex\n */\n flex: [{ flex: [isNumber, isFraction, 'auto', 'initial', 'none', isArbitraryValue] }],\n /**\n * Flex Grow\n * @see https://tailwindcss.com/docs/flex-grow\n */\n grow: [{ grow: ['', isNumber, isArbitraryVariable, isArbitraryValue] }],\n /**\n * Flex Shrink\n * @see https://tailwindcss.com/docs/flex-shrink\n */\n shrink: [{ shrink: ['', isNumber, isArbitraryVariable, isArbitraryValue] }],\n /**\n * Order\n * @see https://tailwindcss.com/docs/order\n */\n order: [\n {\n order: [\n isInteger,\n 'first',\n 'last',\n 'none',\n isArbitraryVariable,\n isArbitraryValue,\n ],\n },\n ],\n /**\n * Grid Template Columns\n * @see https://tailwindcss.com/docs/grid-template-columns\n */\n 'grid-cols': [{ 'grid-cols': scaleGridTemplateColsRows() }],\n /**\n * Grid Column Start / End\n * @see https://tailwindcss.com/docs/grid-column\n */\n 'col-start-end': [{ col: scaleGridColRowStartAndEnd() }],\n /**\n * Grid Column Start\n * @see https://tailwindcss.com/docs/grid-column\n */\n 'col-start': [{ 'col-start': scaleGridColRowStartOrEnd() }],\n /**\n * Grid Column End\n * @see https://tailwindcss.com/docs/grid-column\n */\n 'col-end': [{ 'col-end': scaleGridColRowStartOrEnd() }],\n /**\n * Grid Template Rows\n * @see https://tailwindcss.com/docs/grid-template-rows\n */\n 'grid-rows': [{ 'grid-rows': scaleGridTemplateColsRows() }],\n /**\n * Grid Row Start / End\n * @see https://tailwindcss.com/docs/grid-row\n */\n 'row-start-end': [{ row: scaleGridColRowStartAndEnd() }],\n /**\n * Grid Row Start\n * @see https://tailwindcss.com/docs/grid-row\n */\n 'row-start': [{ 'row-start': scaleGridColRowStartOrEnd() }],\n /**\n * Grid Row End\n * @see https://tailwindcss.com/docs/grid-row\n */\n 'row-end': [{ 'row-end': scaleGridColRowStartOrEnd() }],\n /**\n * Grid Auto Flow\n * @see https://tailwindcss.com/docs/grid-auto-flow\n */\n 'grid-flow': [{ 'grid-flow': ['row', 'col', 'dense', 'row-dense', 'col-dense'] }],\n /**\n * Grid Auto Columns\n * @see https://tailwindcss.com/docs/grid-auto-columns\n */\n 'auto-cols': [{ 'auto-cols': scaleGridAutoColsRows() }],\n /**\n * Grid Auto Rows\n * @see https://tailwindcss.com/docs/grid-auto-rows\n */\n 'auto-rows': [{ 'auto-rows': scaleGridAutoColsRows() }],\n /**\n * Gap\n * @see https://tailwindcss.com/docs/gap\n */\n gap: [{ gap: scaleUnambiguousSpacing() }],\n /**\n * Gap X\n * @see https://tailwindcss.com/docs/gap\n */\n 'gap-x': [{ 'gap-x': scaleUnambiguousSpacing() }],\n /**\n * Gap Y\n * @see https://tailwindcss.com/docs/gap\n */\n 'gap-y': [{ 'gap-y': scaleUnambiguousSpacing() }],\n /**\n * Justify Content\n * @see https://tailwindcss.com/docs/justify-content\n */\n 'justify-content': [{ justify: [...scaleAlignPrimaryAxis(), 'normal'] }],\n /**\n * Justify Items\n * @see https://tailwindcss.com/docs/justify-items\n */\n 'justify-items': [{ 'justify-items': [...scaleAlignSecondaryAxis(), 'normal'] }],\n /**\n * Justify Self\n * @see https://tailwindcss.com/docs/justify-self\n */\n 'justify-self': [{ 'justify-self': ['auto', ...scaleAlignSecondaryAxis()] }],\n /**\n * Align Content\n * @see https://tailwindcss.com/docs/align-content\n */\n 'align-content': [{ content: ['normal', ...scaleAlignPrimaryAxis()] }],\n /**\n * Align Items\n * @see https://tailwindcss.com/docs/align-items\n */\n 'align-items': [{ items: [...scaleAlignSecondaryAxis(), { baseline: ['', 'last'] }] }],\n /**\n * Align Self\n * @see https://tailwindcss.com/docs/align-self\n */\n 'align-self': [\n { self: ['auto', ...scaleAlignSecondaryAxis(), { baseline: ['', 'last'] }] },\n ],\n /**\n * Place Content\n * @see https://tailwindcss.com/docs/place-content\n */\n 'place-content': [{ 'place-content': scaleAlignPrimaryAxis() }],\n /**\n * Place Items\n * @see https://tailwindcss.com/docs/place-items\n */\n 'place-items': [{ 'place-items': [...scaleAlignSecondaryAxis(), 'baseline'] }],\n /**\n * Place Self\n * @see https://tailwindcss.com/docs/place-self\n */\n 'place-self': [{ 'place-self': ['auto', ...scaleAlignSecondaryAxis()] }],\n // Spacing\n /**\n * Padding\n * @see https://tailwindcss.com/docs/padding\n */\n p: [{ p: scaleUnambiguousSpacing() }],\n /**\n * Padding X\n * @see https://tailwindcss.com/docs/padding\n */\n px: [{ px: scaleUnambiguousSpacing() }],\n /**\n * Padding Y\n * @see https://tailwindcss.com/docs/padding\n */\n py: [{ py: scaleUnambiguousSpacing() }],\n /**\n * Padding Start\n * @see https://tailwindcss.com/docs/padding\n */\n ps: [{ ps: scaleUnambiguousSpacing() }],\n /**\n * Padding End\n * @see https://tailwindcss.com/docs/padding\n */\n pe: [{ pe: scaleUnambiguousSpacing() }],\n /**\n * Padding Top\n * @see https://tailwindcss.com/docs/padding\n */\n pt: [{ pt: scaleUnambiguousSpacing() }],\n /**\n * Padding Right\n * @see https://tailwindcss.com/docs/padding\n */\n pr: [{ pr: scaleUnambiguousSpacing() }],\n /**\n * Padding Bottom\n * @see https://tailwindcss.com/docs/padding\n */\n pb: [{ pb: scaleUnambiguousSpacing() }],\n /**\n * Padding Left\n * @see https://tailwindcss.com/docs/padding\n */\n pl: [{ pl: scaleUnambiguousSpacing() }],\n /**\n * Margin\n * @see https://tailwindcss.com/docs/margin\n */\n m: [{ m: scaleMargin() }],\n /**\n * Margin X\n * @see https://tailwindcss.com/docs/margin\n */\n mx: [{ mx: scaleMargin() }],\n /**\n * Margin Y\n * @see https://tailwindcss.com/docs/margin\n */\n my: [{ my: scaleMargin() }],\n /**\n * Margin Start\n * @see https://tailwindcss.com/docs/margin\n */\n ms: [{ ms: scaleMargin() }],\n /**\n * Margin End\n * @see https://tailwindcss.com/docs/margin\n */\n me: [{ me: scaleMargin() }],\n /**\n * Margin Top\n * @see https://tailwindcss.com/docs/margin\n */\n mt: [{ mt: scaleMargin() }],\n /**\n * Margin Right\n * @see https://tailwindcss.com/docs/margin\n */\n mr: [{ mr: scaleMargin() }],\n /**\n * Margin Bottom\n * @see https://tailwindcss.com/docs/margin\n */\n mb: [{ mb: scaleMargin() }],\n /**\n * Margin Left\n * @see https://tailwindcss.com/docs/margin\n */\n ml: [{ ml: scaleMargin() }],\n /**\n * Space Between X\n * @see https://tailwindcss.com/docs/margin#adding-space-between-children\n */\n 'space-x': [{ 'space-x': scaleUnambiguousSpacing() }],\n /**\n * Space Between X Reverse\n * @see https://tailwindcss.com/docs/margin#adding-space-between-children\n */\n 'space-x-reverse': ['space-x-reverse'],\n /**\n * Space Between Y\n * @see https://tailwindcss.com/docs/margin#adding-space-between-children\n */\n 'space-y': [{ 'space-y': scaleUnambiguousSpacing() }],\n /**\n * Space Between Y Reverse\n * @see https://tailwindcss.com/docs/margin#adding-space-between-children\n */\n 'space-y-reverse': ['space-y-reverse'],\n\n // --------------\n // --- Sizing ---\n // --------------\n\n /**\n * Size\n * @see https://tailwindcss.com/docs/width#setting-both-width-and-height\n */\n size: [{ size: scaleSizing() }],\n /**\n * Width\n * @see https://tailwindcss.com/docs/width\n */\n w: [{ w: [themeContainer, 'screen', ...scaleSizing()] }],\n /**\n * Min-Width\n * @see https://tailwindcss.com/docs/min-width\n */\n 'min-w': [\n {\n 'min-w': [\n themeContainer,\n 'screen',\n /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */\n 'none',\n ...scaleSizing(),\n ],\n },\n ],\n /**\n * Max-Width\n * @see https://tailwindcss.com/docs/max-width\n */\n 'max-w': [\n {\n 'max-w': [\n themeContainer,\n 'screen',\n 'none',\n /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */\n 'prose',\n /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */\n { screen: [themeBreakpoint] },\n ...scaleSizing(),\n ],\n },\n ],\n /**\n * Height\n * @see https://tailwindcss.com/docs/height\n */\n h: [{ h: ['screen', 'lh', ...scaleSizing()] }],\n /**\n * Min-Height\n * @see https://tailwindcss.com/docs/min-height\n */\n 'min-h': [{ 'min-h': ['screen', 'lh', 'none', ...scaleSizing()] }],\n /**\n * Max-Height\n * @see https://tailwindcss.com/docs/max-height\n */\n 'max-h': [{ 'max-h': ['screen', 'lh', ...scaleSizing()] }],\n\n // ------------------\n // --- Typography ---\n // ------------------\n\n /**\n * Font Size\n * @see https://tailwindcss.com/docs/font-size\n */\n 'font-size': [\n { text: ['base', themeText, isArbitraryVariableLength, 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': [{ font: [themeFontWeight, isArbitraryVariable, isArbitraryNumber] }],\n /**\n * Font Stretch\n * @see https://tailwindcss.com/docs/font-stretch\n */\n 'font-stretch': [\n {\n 'font-stretch': [\n 'ultra-condensed',\n 'extra-condensed',\n 'condensed',\n 'semi-condensed',\n 'normal',\n 'semi-expanded',\n 'expanded',\n 'extra-expanded',\n 'ultra-expanded',\n isPercent,\n isArbitraryValue,\n ],\n },\n ],\n /**\n * Font Family\n * @see https://tailwindcss.com/docs/font-family\n */\n 'font-family': [{ font: [isArbitraryVariableFamilyName, isArbitraryValue, themeFont] }],\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: [{ tracking: [themeTracking, isArbitraryVariable, isArbitraryValue] }],\n /**\n * Line Clamp\n * @see https://tailwindcss.com/docs/line-clamp\n */\n 'line-clamp': [\n { 'line-clamp': [isNumber, 'none', isArbitraryVariable, isArbitraryNumber] },\n ],\n /**\n * Line Height\n * @see https://tailwindcss.com/docs/line-height\n */\n leading: [\n {\n leading: [\n /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */\n themeLeading,\n ...scaleUnambiguousSpacing(),\n ],\n },\n ],\n /**\n * List Style Image\n * @see https://tailwindcss.com/docs/list-style-image\n */\n 'list-image': [{ 'list-image': ['none', isArbitraryVariable, isArbitraryValue] }],\n /**\n * List Style Position\n * @see https://tailwindcss.com/docs/list-style-position\n */\n 'list-style-position': [{ list: ['inside', 'outside'] }],\n /**\n * List Style Type\n * @see https://tailwindcss.com/docs/list-style-type\n */\n 'list-style-type': [\n { list: ['disc', 'decimal', 'none', isArbitraryVariable, isArbitraryValue] },\n ],\n /**\n * Text Alignment\n * @see https://tailwindcss.com/docs/text-align\n */\n 'text-alignment': [{ text: ['left', 'center', 'right', 'justify', 'start', 'end'] }],\n /**\n * Placeholder Color\n * @deprecated since Tailwind CSS v3.0.0\n * @see https://v3.tailwindcss.com/docs/placeholder-color\n */\n 'placeholder-color': [{ placeholder: scaleColor() }],\n /**\n * Text Color\n * @see https://tailwindcss.com/docs/text-color\n */\n 'text-color': [{ text: scaleColor() }],\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': [{ decoration: [...scaleLineStyle(), 'wavy'] }],\n /**\n * Text Decoration Thickness\n * @see https://tailwindcss.com/docs/text-decoration-thickness\n */\n 'text-decoration-thickness': [\n {\n decoration: [\n isNumber,\n 'from-font',\n 'auto',\n isArbitraryVariable,\n isArbitraryLength,\n ],\n },\n ],\n /**\n * Text Decoration Color\n * @see https://tailwindcss.com/docs/text-decoration-color\n */\n 'text-decoration-color': [{ decoration: scaleColor() }],\n /**\n * Text Underline Offset\n * @see https://tailwindcss.com/docs/text-underline-offset\n */\n 'underline-offset': [\n { 'underline-offset': [isNumber, 'auto', isArbitraryVariable, isArbitraryValue] },\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': [{ text: ['wrap', 'nowrap', 'balance', 'pretty'] }],\n /**\n * Text Indent\n * @see https://tailwindcss.com/docs/text-indent\n */\n indent: [{ indent: scaleUnambiguousSpacing() }],\n /**\n * Vertical Alignment\n * @see https://tailwindcss.com/docs/vertical-align\n */\n 'vertical-align': [\n {\n align: [\n 'baseline',\n 'top',\n 'middle',\n 'bottom',\n 'text-top',\n 'text-bottom',\n 'sub',\n 'super',\n isArbitraryVariable,\n isArbitraryValue,\n ],\n },\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: [{ break: ['normal', 'words', 'all', 'keep'] }],\n /**\n * Overflow Wrap\n * @see https://tailwindcss.com/docs/overflow-wrap\n */\n wrap: [{ wrap: ['break-word', 'anywhere', 'normal'] }],\n /**\n * Hyphens\n * @see https://tailwindcss.com/docs/hyphens\n */\n hyphens: [{ hyphens: ['none', 'manual', 'auto'] }],\n /**\n * Content\n * @see https://tailwindcss.com/docs/content\n */\n content: [{ content: ['none', isArbitraryVariable, isArbitraryValue] }],\n\n // -------------------\n // --- Backgrounds ---\n // -------------------\n\n /**\n * Background Attachment\n * @see https://tailwindcss.com/docs/background-attachment\n */\n 'bg-attachment': [{ bg: ['fixed', 'local', 'scroll'] }],\n /**\n * Background Clip\n * @see https://tailwindcss.com/docs/background-clip\n */\n 'bg-clip': [{ 'bg-clip': ['border', 'padding', 'content', 'text'] }],\n /**\n * Background Origin\n * @see https://tailwindcss.com/docs/background-origin\n */\n 'bg-origin': [{ 'bg-origin': ['border', 'padding', 'content'] }],\n /**\n * Background Position\n * @see https://tailwindcss.com/docs/background-position\n */\n 'bg-position': [{ bg: scaleBgPosition() }],\n /**\n * Background Repeat\n * @see https://tailwindcss.com/docs/background-repeat\n */\n 'bg-repeat': [{ bg: scaleBgRepeat() }],\n /**\n * Background Size\n * @see https://tailwindcss.com/docs/background-size\n */\n 'bg-size': [{ bg: scaleBgSize() }],\n /**\n * Background Image\n * @see https://tailwindcss.com/docs/background-image\n */\n 'bg-image': [\n {\n bg: [\n 'none',\n {\n linear: [\n { to: ['t', 'tr', 'r', 'br', 'b', 'bl', 'l', 'tl'] },\n isInteger,\n isArbitraryVariable,\n isArbitraryValue,\n ],\n radial: ['', isArbitraryVariable, isArbitraryValue],\n conic: [isInteger, isArbitraryVariable, isArbitraryValue],\n },\n isArbitraryVariableImage,\n isArbitraryImage,\n ],\n },\n ],\n /**\n * Background Color\n * @see https://tailwindcss.com/docs/background-color\n */\n 'bg-color': [{ bg: scaleColor() }],\n /**\n * Gradient Color Stops From Position\n * @see https://tailwindcss.com/docs/gradient-color-stops\n */\n 'gradient-from-pos': [{ from: scaleGradientStopPosition() }],\n /**\n * Gradient Color Stops Via Position\n * @see https://tailwindcss.com/docs/gradient-color-stops\n */\n 'gradient-via-pos': [{ via: scaleGradientStopPosition() }],\n /**\n * Gradient Color Stops To Position\n * @see https://tailwindcss.com/docs/gradient-color-stops\n */\n 'gradient-to-pos': [{ to: scaleGradientStopPosition() }],\n /**\n * Gradient Color Stops From\n * @see https://tailwindcss.com/docs/gradient-color-stops\n */\n 'gradient-from': [{ from: scaleColor() }],\n /**\n * Gradient Color Stops Via\n * @see https://tailwindcss.com/docs/gradient-color-stops\n */\n 'gradient-via': [{ via: scaleColor() }],\n /**\n * Gradient Color Stops To\n * @see https://tailwindcss.com/docs/gradient-color-stops\n */\n 'gradient-to': [{ to: scaleColor() }],\n\n // ---------------\n // --- Borders ---\n // ---------------\n\n /**\n * Border Radius\n * @see https://tailwindcss.com/docs/border-radius\n */\n rounded: [{ rounded: scaleRadius() }],\n /**\n * Border Radius Start\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-s': [{ 'rounded-s': scaleRadius() }],\n /**\n * Border Radius End\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-e': [{ 'rounded-e': scaleRadius() }],\n /**\n * Border Radius Top\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-t': [{ 'rounded-t': scaleRadius() }],\n /**\n * Border Radius Right\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-r': [{ 'rounded-r': scaleRadius() }],\n /**\n * Border Radius Bottom\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-b': [{ 'rounded-b': scaleRadius() }],\n /**\n * Border Radius Left\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-l': [{ 'rounded-l': scaleRadius() }],\n /**\n * Border Radius Start Start\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-ss': [{ 'rounded-ss': scaleRadius() }],\n /**\n * Border Radius Start End\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-se': [{ 'rounded-se': scaleRadius() }],\n /**\n * Border Radius End End\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-ee': [{ 'rounded-ee': scaleRadius() }],\n /**\n * Border Radius End Start\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-es': [{ 'rounded-es': scaleRadius() }],\n /**\n * Border Radius Top Left\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-tl': [{ 'rounded-tl': scaleRadius() }],\n /**\n * Border Radius Top Right\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-tr': [{ 'rounded-tr': scaleRadius() }],\n /**\n * Border Radius Bottom Right\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-br': [{ 'rounded-br': scaleRadius() }],\n /**\n * Border Radius Bottom Left\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-bl': [{ 'rounded-bl': scaleRadius() }],\n /**\n * Border Width\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w': [{ border: scaleBorderWidth() }],\n /**\n * Border Width X\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-x': [{ 'border-x': scaleBorderWidth() }],\n /**\n * Border Width Y\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-y': [{ 'border-y': scaleBorderWidth() }],\n /**\n * Border Width Start\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-s': [{ 'border-s': scaleBorderWidth() }],\n /**\n * Border Width End\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-e': [{ 'border-e': scaleBorderWidth() }],\n /**\n * Border Width Top\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-t': [{ 'border-t': scaleBorderWidth() }],\n /**\n * Border Width Right\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-r': [{ 'border-r': scaleBorderWidth() }],\n /**\n * Border Width Bottom\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-b': [{ 'border-b': scaleBorderWidth() }],\n /**\n * Border Width Left\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-l': [{ 'border-l': scaleBorderWidth() }],\n /**\n * Divide Width X\n * @see https://tailwindcss.com/docs/border-width#between-children\n */\n 'divide-x': [{ 'divide-x': scaleBorderWidth() }],\n /**\n * Divide Width X Reverse\n * @see https://tailwindcss.com/docs/border-width#between-children\n */\n 'divide-x-reverse': ['divide-x-reverse'],\n /**\n * Divide Width Y\n * @see https://tailwindcss.com/docs/border-width#between-children\n */\n 'divide-y': [{ 'divide-y': scaleBorderWidth() }],\n /**\n * Divide Width Y Reverse\n * @see https://tailwindcss.com/docs/border-width#between-children\n */\n 'divide-y-reverse': ['divide-y-reverse'],\n /**\n * Border Style\n * @see https://tailwindcss.com/docs/border-style\n */\n 'border-style': [{ border: [...scaleLineStyle(), 'hidden', 'none'] }],\n /**\n * Divide Style\n * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style\n */\n 'divide-style': [{ divide: [...scaleLineStyle(), 'hidden', 'none'] }],\n /**\n * Border Color\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color': [{ border: scaleColor() }],\n /**\n * Border Color X\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-x': [{ 'border-x': scaleColor() }],\n /**\n * Border Color Y\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-y': [{ 'border-y': scaleColor() }],\n /**\n * Border Color S\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-s': [{ 'border-s': scaleColor() }],\n /**\n * Border Color E\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-e': [{ 'border-e': scaleColor() }],\n /**\n * Border Color Top\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-t': [{ 'border-t': scaleColor() }],\n /**\n * Border Color Right\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-r': [{ 'border-r': scaleColor() }],\n /**\n * Border Color Bottom\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-b': [{ 'border-b': scaleColor() }],\n /**\n * Border Color Left\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-l': [{ 'border-l': scaleColor() }],\n /**\n * Divide Color\n * @see https://tailwindcss.com/docs/divide-color\n */\n 'divide-color': [{ divide: scaleColor() }],\n /**\n * Outline Style\n * @see https://tailwindcss.com/docs/outline-style\n */\n 'outline-style': [{ outline: [...scaleLineStyle(), 'none', 'hidden'] }],\n /**\n * Outline Offset\n * @see https://tailwindcss.com/docs/outline-offset\n */\n 'outline-offset': [\n { 'outline-offset': [isNumber, isArbitraryVariable, isArbitraryValue] },\n ],\n /**\n * Outline Width\n * @see https://tailwindcss.com/docs/outline-width\n */\n 'outline-w': [\n { outline: ['', isNumber, isArbitraryVariableLength, isArbitraryLength] },\n ],\n /**\n * Outline Color\n * @see https://tailwindcss.com/docs/outline-color\n */\n 'outline-color': [{ outline: scaleColor() }],\n\n // ---------------\n // --- Effects ---\n // ---------------\n\n /**\n * Box Shadow\n * @see https://tailwindcss.com/docs/box-shadow\n */\n shadow: [\n {\n shadow: [\n // Deprecated since Tailwind CSS v4.0.0\n '',\n 'none',\n themeShadow,\n isArbitraryVariableShadow,\n isArbitraryShadow,\n ],\n },\n ],\n /**\n * Box Shadow Color\n * @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color\n */\n 'shadow-color': [{ shadow: scaleColor() }],\n /**\n * Inset Box Shadow\n * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow\n */\n 'inset-shadow': [\n {\n 'inset-shadow': [\n 'none',\n themeInsetShadow,\n isArbitraryVariableShadow,\n isArbitraryShadow,\n ],\n },\n ],\n /**\n * Inset Box Shadow Color\n * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color\n */\n 'inset-shadow-color': [{ 'inset-shadow': scaleColor() }],\n /**\n * Ring Width\n * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring\n */\n 'ring-w': [{ ring: scaleBorderWidth() }],\n /**\n * Ring Width Inset\n * @see https://v3.tailwindcss.com/docs/ring-width#inset-rings\n * @deprecated since Tailwind CSS v4.0.0\n * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158\n */\n 'ring-w-inset': ['ring-inset'],\n /**\n * Ring Color\n * @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color\n */\n 'ring-color': [{ ring: scaleColor() }],\n /**\n * Ring Offset Width\n * @see https://v3.tailwindcss.com/docs/ring-offset-width\n * @deprecated since Tailwind CSS v4.0.0\n * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158\n */\n 'ring-offset-w': [{ 'ring-offset': [isNumber, isArbitraryLength] }],\n /**\n * Ring Offset Color\n * @see https://v3.tailwindcss.com/docs/ring-offset-color\n * @deprecated since Tailwind CSS v4.0.0\n * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158\n */\n 'ring-offset-color': [{ 'ring-offset': scaleColor() }],\n /**\n * Inset Ring Width\n * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring\n */\n 'inset-ring-w': [{ 'inset-ring': scaleBorderWidth() }],\n /**\n * Inset Ring Color\n * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color\n */\n 'inset-ring-color': [{ 'inset-ring': scaleColor() }],\n /**\n * Text Shadow\n * @see https://tailwindcss.com/docs/text-shadow\n */\n 'text-shadow': [\n {\n 'text-shadow': [\n 'none',\n themeTextShadow,\n isArbitraryVariableShadow,\n isArbitraryShadow,\n ],\n },\n ],\n /**\n * Text Shadow Color\n * @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color\n */\n 'text-shadow-color': [{ 'text-shadow': scaleColor() }],\n /**\n * Opacity\n * @see https://tailwindcss.com/docs/opacity\n */\n opacity: [{ opacity: [isNumber, isArbitraryVariable, isArbitraryValue] }],\n /**\n * Mix Blend Mode\n * @see https://tailwindcss.com/docs/mix-blend-mode\n */\n 'mix-blend': [{ 'mix-blend': [...scaleBlendMode(), 'plus-darker', 'plus-lighter'] }],\n /**\n * Background Blend Mode\n * @see https://tailwindcss.com/docs/background-blend-mode\n */\n 'bg-blend': [{ 'bg-blend': scaleBlendMode() }],\n /**\n * Mask Clip\n * @see https://tailwindcss.com/docs/mask-clip\n */\n 'mask-clip': [\n { 'mask-clip': ['border', 'padding', 'content', 'fill', 'stroke', 'view'] },\n 'mask-no-clip',\n ],\n /**\n * Mask Composite\n * @see https://tailwindcss.com/docs/mask-composite\n */\n 'mask-composite': [{ mask: ['add', 'subtract', 'intersect', 'exclude'] }],\n /**\n * Mask Image\n * @see https://tailwindcss.com/docs/mask-image\n */\n 'mask-image-linear-pos': [{ 'mask-linear': [isNumber] }],\n 'mask-image-linear-from-pos': [{ 'mask-linear-from': scaleMaskImagePosition() }],\n 'mask-image-linear-to-pos': [{ 'mask-linear-to': scaleMaskImagePosition() }],\n 'mask-image-linear-from-color': [{ 'mask-linear-from': scaleColor() }],\n 'mask-image-linear-to-color': [{ 'mask-linear-to': scaleColor() }],\n 'mask-image-t-from-pos': [{ 'mask-t-from': scaleMaskImagePosition() }],\n 'mask-image-t-to-pos': [{ 'mask-t-to': scaleMaskImagePosition() }],\n 'mask-image-t-from-color': [{ 'mask-t-from': scaleColor() }],\n 'mask-image-t-to-color': [{ 'mask-t-to': scaleColor() }],\n 'mask-image-r-from-pos': [{ 'mask-r-from': scaleMaskImagePosition() }],\n 'mask-image-r-to-pos': [{ 'mask-r-to': scaleMaskImagePosition() }],\n 'mask-image-r-from-color': [{ 'mask-r-from': scaleColor() }],\n 'mask-image-r-to-color': [{ 'mask-r-to': scaleColor() }],\n 'mask-image-b-from-pos': [{ 'mask-b-from': scaleMaskImagePosition() }],\n 'mask-image-b-to-pos': [{ 'mask-b-to': scaleMaskImagePosition() }],\n 'mask-image-b-from-color': [{ 'mask-b-from': scaleColor() }],\n 'mask-image-b-to-color': [{ 'mask-b-to': scaleColor() }],\n 'mask-image-l-from-pos': [{ 'mask-l-from': scaleMaskImagePosition() }],\n 'mask-image-l-to-pos': [{ 'mask-l-to': scaleMaskImagePosition() }],\n 'mask-image-l-from-color': [{ 'mask-l-from': scaleColor() }],\n 'mask-image-l-to-color': [{ 'mask-l-to': scaleColor() }],\n 'mask-image-x-from-pos': [{ 'mask-x-from': scaleMaskImagePosition() }],\n 'mask-image-x-to-pos': [{ 'mask-x-to': scaleMaskImagePosition() }],\n 'mask-image-x-from-color': [{ 'mask-x-from': scaleColor() }],\n 'mask-image-x-to-color': [{ 'mask-x-to': scaleColor() }],\n 'mask-image-y-from-pos': [{ 'mask-y-from': scaleMaskImagePosition() }],\n 'mask-image-y-to-pos': [{ 'mask-y-to': scaleMaskImagePosition() }],\n 'mask-image-y-from-color': [{ 'mask-y-from': scaleColor() }],\n 'mask-image-y-to-color': [{ 'mask-y-to': scaleColor() }],\n 'mask-image-radial': [{ 'mask-radial': [isArbitraryVariable, isArbitraryValue] }],\n 'mask-image-radial-from-pos': [{ 'mask-radial-from': scaleMaskImagePosition() }],\n 'mask-image-radial-to-pos': [{ 'mask-radial-to': scaleMaskImagePosition() }],\n 'mask-image-radial-from-color': [{ 'mask-radial-from': scaleColor() }],\n 'mask-image-radial-to-color': [{ 'mask-radial-to': scaleColor() }],\n 'mask-image-radial-shape': [{ 'mask-radial': ['circle', 'ellipse'] }],\n 'mask-image-radial-size': [\n { 'mask-radial': [{ closest: ['side', 'corner'], farthest: ['side', 'corner'] }] },\n ],\n 'mask-image-radial-pos': [{ 'mask-radial-at': scalePosition() }],\n 'mask-image-conic-pos': [{ 'mask-conic': [isNumber] }],\n 'mask-image-conic-from-pos': [{ 'mask-conic-from': scaleMaskImagePosition() }],\n 'mask-image-conic-to-pos': [{ 'mask-conic-to': scaleMaskImagePosition() }],\n 'mask-image-conic-from-color': [{ 'mask-conic-from': scaleColor() }],\n 'mask-image-conic-to-color': [{ 'mask-conic-to': scaleColor() }],\n /**\n * Mask Mode\n * @see https://tailwindcss.com/docs/mask-mode\n */\n 'mask-mode': [{ mask: ['alpha', 'luminance', 'match'] }],\n /**\n * Mask Origin\n * @see https://tailwindcss.com/docs/mask-origin\n */\n 'mask-origin': [\n { 'mask-origin': ['border', 'padding', 'content', 'fill', 'stroke', 'view'] },\n ],\n /**\n * Mask Position\n * @see https://tailwindcss.com/docs/mask-position\n */\n 'mask-position': [{ mask: scaleBgPosition() }],\n /**\n * Mask Repeat\n * @see https://tailwindcss.com/docs/mask-repeat\n */\n 'mask-repeat': [{ mask: scaleBgRepeat() }],\n /**\n * Mask Size\n * @see https://tailwindcss.com/docs/mask-size\n */\n 'mask-size': [{ mask: scaleBgSize() }],\n /**\n * Mask Type\n * @see https://tailwindcss.com/docs/mask-type\n */\n 'mask-type': [{ 'mask-type': ['alpha', 'luminance'] }],\n /**\n * Mask Image\n * @see https://tailwindcss.com/docs/mask-image\n */\n 'mask-image': [{ mask: ['none', isArbitraryVariable, isArbitraryValue] }],\n\n // ---------------\n // --- Filters ---\n // ---------------\n\n /**\n * Filter\n * @see https://tailwindcss.com/docs/filter\n */\n filter: [\n {\n filter: [\n // Deprecated since Tailwind CSS v3.0.0\n '',\n 'none',\n isArbitraryVariable,\n isArbitraryValue,\n ],\n },\n ],\n /**\n * Blur\n * @see https://tailwindcss.com/docs/blur\n */\n blur: [{ blur: scaleBlur() }],\n /**\n * Brightness\n * @see https://tailwindcss.com/docs/brightness\n */\n brightness: [{ brightness: [isNumber, isArbitraryVariable, isArbitraryValue] }],\n /**\n * Contrast\n * @see https://tailwindcss.com/docs/contrast\n */\n contrast: [{ contrast: [isNumber, isArbitraryVariable, isArbitraryValue] }],\n /**\n * Drop Shadow\n * @see https://tailwindcss.com/docs/drop-shadow\n */\n 'drop-shadow': [\n {\n 'drop-shadow': [\n // Deprecated since Tailwind CSS v4.0.0\n '',\n 'none',\n themeDropShadow,\n isArbitraryVariableShadow,\n isArbitraryShadow,\n ],\n },\n ],\n /**\n * Drop Shadow Color\n * @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color\n */\n 'drop-shadow-color': [{ 'drop-shadow': scaleColor() }],\n /**\n * Grayscale\n * @see https://tailwindcss.com/docs/grayscale\n */\n grayscale: [{ grayscale: ['', isNumber, isArbitraryVariable, isArbitraryValue] }],\n /**\n * Hue Rotate\n * @see https://tailwindcss.com/docs/hue-rotate\n */\n 'hue-rotate': [{ 'hue-rotate': [isNumber, isArbitraryVariable, isArbitraryValue] }],\n /**\n * Invert\n * @see https://tailwindcss.com/docs/invert\n */\n invert: [{ invert: ['', isNumber, isArbitraryVariable, isArbitraryValue] }],\n /**\n * Saturate\n * @see https://tailwindcss.com/docs/saturate\n */\n saturate: [{ saturate: [isNumber, isArbitraryVariable, isArbitraryValue] }],\n /**\n * Sepia\n * @see https://tailwindcss.com/docs/sepia\n */\n sepia: [{ sepia: ['', isNumber, isArbitraryVariable, isArbitraryValue] }],\n /**\n * Backdrop Filter\n * @see https://tailwindcss.com/docs/backdrop-filter\n */\n 'backdrop-filter': [\n {\n 'backdrop-filter': [\n // Deprecated since Tailwind CSS v3.0.0\n '',\n 'none',\n isArbitraryVariable,\n isArbitraryValue,\n ],\n },\n ],\n /**\n * Backdrop Blur\n * @see https://tailwindcss.com/docs/backdrop-blur\n */\n 'backdrop-blur': [{ 'backdrop-blur': scaleBlur() }],\n /**\n * Backdrop Brightness\n * @see https://tailwindcss.com/docs/backdrop-brightness\n */\n 'backdrop-brightness': [\n { 'backdrop-brightness': [isNumber, isArbitraryVariable, isArbitraryValue] },\n ],\n /**\n * Backdrop Contrast\n * @see https://tailwindcss.com/docs/backdrop-contrast\n */\n 'backdrop-contrast': [\n { 'backdrop-contrast': [isNumber, isArbitraryVariable, isArbitraryValue] },\n ],\n /**\n * Backdrop Grayscale\n * @see https://tailwindcss.com/docs/backdrop-grayscale\n */\n 'backdrop-grayscale': [\n { 'backdrop-grayscale': ['', isNumber, isArbitraryVariable, isArbitraryValue] },\n ],\n /**\n * Backdrop Hue Rotate\n * @see https://tailwindcss.com/docs/backdrop-hue-rotate\n */\n 'backdrop-hue-rotate': [\n { 'backdrop-hue-rotate': [isNumber, isArbitraryVariable, isArbitraryValue] },\n ],\n /**\n * Backdrop Invert\n * @see https://tailwindcss.com/docs/backdrop-invert\n */\n 'backdrop-invert': [\n { 'backdrop-invert': ['', isNumber, isArbitraryVariable, isArbitraryValue] },\n ],\n /**\n * Backdrop Opacity\n * @see https://tailwindcss.com/docs/backdrop-opacity\n */\n 'backdrop-opacity': [\n { 'backdrop-opacity': [isNumber, isArbitraryVariable, isArbitraryValue] },\n ],\n /**\n * Backdrop Saturate\n * @see https://tailwindcss.com/docs/backdrop-saturate\n */\n 'backdrop-saturate': [\n { 'backdrop-saturate': [isNumber, isArbitraryVariable, isArbitraryValue] },\n ],\n /**\n * Backdrop Sepia\n * @see https://tailwindcss.com/docs/backdrop-sepia\n */\n 'backdrop-sepia': [\n { 'backdrop-sepia': ['', isNumber, isArbitraryVariable, isArbitraryValue] },\n ],\n\n // --------------\n // --- Tables ---\n // --------------\n\n /**\n * Border Collapse\n * @see https://tailwindcss.com/docs/border-collapse\n */\n 'border-collapse': [{ border: ['collapse', 'separate'] }],\n /**\n * Border Spacing\n * @see https://tailwindcss.com/docs/border-spacing\n */\n 'border-spacing': [{ 'border-spacing': scaleUnambiguousSpacing() }],\n /**\n * Border Spacing X\n * @see https://tailwindcss.com/docs/border-spacing\n */\n 'border-spacing-x': [{ 'border-spacing-x': scaleUnambiguousSpacing() }],\n /**\n * Border Spacing Y\n * @see https://tailwindcss.com/docs/border-spacing\n */\n 'border-spacing-y': [{ 'border-spacing-y': scaleUnambiguousSpacing() }],\n /**\n * Table Layout\n * @see https://tailwindcss.com/docs/table-layout\n */\n 'table-layout': [{ table: ['auto', 'fixed'] }],\n /**\n * Caption Side\n * @see https://tailwindcss.com/docs/caption-side\n */\n caption: [{ caption: ['top', 'bottom'] }],\n\n // ---------------------------------\n // --- Transitions and Animation ---\n // ---------------------------------\n\n /**\n * Transition Property\n * @see https://tailwindcss.com/docs/transition-property\n */\n transition: [\n {\n transition: [\n '',\n 'all',\n 'colors',\n 'opacity',\n 'shadow',\n 'transform',\n 'none',\n isArbitraryVariable,\n isArbitraryValue,\n ],\n },\n ],\n /**\n * Transition Behavior\n * @see https://tailwindcss.com/docs/transition-behavior\n */\n 'transition-behavior': [{ transition: ['normal', 'discrete'] }],\n /**\n * Transition Duration\n * @see https://tailwindcss.com/docs/transition-duration\n */\n duration: [{ duration: [isNumber, 'initial', isArbitraryVariable, isArbitraryValue] }],\n /**\n * Transition Timing Function\n * @see https://tailwindcss.com/docs/transition-timing-function\n */\n ease: [\n { ease: ['linear', 'initial', themeEase, isArbitraryVariable, isArbitraryValue] },\n ],\n /**\n * Transition Delay\n * @see https://tailwindcss.com/docs/transition-delay\n */\n delay: [{ delay: [isNumber, isArbitraryVariable, isArbitraryValue] }],\n /**\n * Animation\n * @see https://tailwindcss.com/docs/animation\n */\n animate: [{ animate: ['none', themeAnimate, isArbitraryVariable, isArbitraryValue] }],\n\n // ------------------\n // --- Transforms ---\n // ------------------\n\n /**\n * Backface Visibility\n * @see https://tailwindcss.com/docs/backface-visibility\n */\n backface: [{ backface: ['hidden', 'visible'] }],\n /**\n * Perspective\n * @see https://tailwindcss.com/docs/perspective\n */\n perspective: [\n { perspective: [themePerspective, isArbitraryVariable, isArbitraryValue] },\n ],\n /**\n * Perspective Origin\n * @see https://tailwindcss.com/docs/perspective-origin\n */\n 'perspective-origin': [{ 'perspective-origin': scalePositionWithArbitrary() }],\n /**\n * Rotate\n * @see https://tailwindcss.com/docs/rotate\n */\n rotate: [{ rotate: scaleRotate() }],\n /**\n * Rotate X\n * @see https://tailwindcss.com/docs/rotate\n */\n 'rotate-x': [{ 'rotate-x': scaleRotate() }],\n /**\n * Rotate Y\n * @see https://tailwindcss.com/docs/rotate\n */\n 'rotate-y': [{ 'rotate-y': scaleRotate() }],\n /**\n * Rotate Z\n * @see https://tailwindcss.com/docs/rotate\n */\n 'rotate-z': [{ 'rotate-z': scaleRotate() }],\n /**\n * Scale\n * @see https://tailwindcss.com/docs/scale\n */\n scale: [{ scale: scaleScale() }],\n /**\n * Scale X\n * @see https://tailwindcss.com/docs/scale\n */\n 'scale-x': [{ 'scale-x': scaleScale() }],\n /**\n * Scale Y\n * @see https://tailwindcss.com/docs/scale\n */\n 'scale-y': [{ 'scale-y': scaleScale() }],\n /**\n * Scale Z\n * @see https://tailwindcss.com/docs/scale\n */\n 'scale-z': [{ 'scale-z': scaleScale() }],\n /**\n * Scale 3D\n * @see https://tailwindcss.com/docs/scale\n */\n 'scale-3d': ['scale-3d'],\n /**\n * Skew\n * @see https://tailwindcss.com/docs/skew\n */\n skew: [{ skew: scaleSkew() }],\n /**\n * Skew X\n * @see https://tailwindcss.com/docs/skew\n */\n 'skew-x': [{ 'skew-x': scaleSkew() }],\n /**\n * Skew Y\n * @see https://tailwindcss.com/docs/skew\n */\n 'skew-y': [{ 'skew-y': scaleSkew() }],\n /**\n * Transform\n * @see https://tailwindcss.com/docs/transform\n */\n transform: [\n { transform: [isArbitraryVariable, isArbitraryValue, '', 'none', 'gpu', 'cpu'] },\n ],\n /**\n * Transform Origin\n * @see https://tailwindcss.com/docs/transform-origin\n */\n 'transform-origin': [{ origin: scalePositionWithArbitrary() }],\n /**\n * Transform Style\n * @see https://tailwindcss.com/docs/transform-style\n */\n 'transform-style': [{ transform: ['3d', 'flat'] }],\n /**\n * Translate\n * @see https://tailwindcss.com/docs/translate\n */\n translate: [{ translate: scaleTranslate() }],\n /**\n * Translate X\n * @see https://tailwindcss.com/docs/translate\n */\n 'translate-x': [{ 'translate-x': scaleTranslate() }],\n /**\n * Translate Y\n * @see https://tailwindcss.com/docs/translate\n */\n 'translate-y': [{ 'translate-y': scaleTranslate() }],\n /**\n * Translate Z\n * @see https://tailwindcss.com/docs/translate\n */\n 'translate-z': [{ 'translate-z': scaleTranslate() }],\n /**\n * Translate None\n * @see https://tailwindcss.com/docs/translate\n */\n 'translate-none': ['translate-none'],\n\n // ---------------------\n // --- Interactivity ---\n // ---------------------\n\n /**\n * Accent Color\n * @see https://tailwindcss.com/docs/accent-color\n */\n accent: [{ accent: scaleColor() }],\n /**\n * Appearance\n * @see https://tailwindcss.com/docs/appearance\n */\n appearance: [{ appearance: ['none', 'auto'] }],\n /**\n * Caret Color\n * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities\n */\n 'caret-color': [{ caret: scaleColor() }],\n /**\n * Color Scheme\n * @see https://tailwindcss.com/docs/color-scheme\n */\n 'color-scheme': [\n { scheme: ['normal', 'dark', 'light', 'light-dark', 'only-dark', 'only-light'] },\n ],\n /**\n * Cursor\n * @see https://tailwindcss.com/docs/cursor\n */\n cursor: [\n {\n cursor: [\n 'auto',\n 'default',\n 'pointer',\n 'wait',\n 'text',\n 'move',\n 'help',\n 'not-allowed',\n 'none',\n 'context-menu',\n 'progress',\n 'cell',\n 'crosshair',\n 'vertical-text',\n 'alias',\n 'copy',\n 'no-drop',\n 'grab',\n 'grabbing',\n 'all-scroll',\n 'col-resize',\n 'row-resize',\n 'n-resize',\n 'e-resize',\n 's-resize',\n 'w-resize',\n 'ne-resize',\n 'nw-resize',\n 'se-resize',\n 'sw-resize',\n 'ew-resize',\n 'ns-resize',\n 'nesw-resize',\n 'nwse-resize',\n 'zoom-in',\n 'zoom-out',\n isArbitraryVariable,\n isArbitraryValue,\n ],\n },\n ],\n /**\n * Field Sizing\n * @see https://tailwindcss.com/docs/field-sizing\n */\n 'field-sizing': [{ 'field-sizing': ['fixed', 'content'] }],\n /**\n * Pointer Events\n * @see https://tailwindcss.com/docs/pointer-events\n */\n 'pointer-events': [{ 'pointer-events': ['auto', 'none'] }],\n /**\n * Resize\n * @see https://tailwindcss.com/docs/resize\n */\n resize: [{ resize: ['none', '', 'y', 'x'] }],\n /**\n * Scroll Behavior\n * @see https://tailwindcss.com/docs/scroll-behavior\n */\n 'scroll-behavior': [{ scroll: ['auto', 'smooth'] }],\n /**\n * Scroll Margin\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-m': [{ 'scroll-m': scaleUnambiguousSpacing() }],\n /**\n * Scroll Margin X\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-mx': [{ 'scroll-mx': scaleUnambiguousSpacing() }],\n /**\n * Scroll Margin Y\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-my': [{ 'scroll-my': scaleUnambiguousSpacing() }],\n /**\n * Scroll Margin Start\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-ms': [{ 'scroll-ms': scaleUnambiguousSpacing() }],\n /**\n * Scroll Margin End\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-me': [{ 'scroll-me': scaleUnambiguousSpacing() }],\n /**\n * Scroll Margin Top\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-mt': [{ 'scroll-mt': scaleUnambiguousSpacing() }],\n /**\n * Scroll Margin Right\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-mr': [{ 'scroll-mr': scaleUnambiguousSpacing() }],\n /**\n * Scroll Margin Bottom\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-mb': [{ 'scroll-mb': scaleUnambiguousSpacing() }],\n /**\n * Scroll Margin Left\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-ml': [{ 'scroll-ml': scaleUnambiguousSpacing() }],\n /**\n * Scroll Padding\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-p': [{ 'scroll-p': scaleUnambiguousSpacing() }],\n /**\n * Scroll Padding X\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-px': [{ 'scroll-px': scaleUnambiguousSpacing() }],\n /**\n * Scroll Padding Y\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-py': [{ 'scroll-py': scaleUnambiguousSpacing() }],\n /**\n * Scroll Padding Start\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-ps': [{ 'scroll-ps': scaleUnambiguousSpacing() }],\n /**\n * Scroll Padding End\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-pe': [{ 'scroll-pe': scaleUnambiguousSpacing() }],\n /**\n * Scroll Padding Top\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-pt': [{ 'scroll-pt': scaleUnambiguousSpacing() }],\n /**\n * Scroll Padding Right\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-pr': [{ 'scroll-pr': scaleUnambiguousSpacing() }],\n /**\n * Scroll Padding Bottom\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-pb': [{ 'scroll-pb': scaleUnambiguousSpacing() }],\n /**\n * Scroll Padding Left\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-pl': [{ 'scroll-pl': scaleUnambiguousSpacing() }],\n /**\n * Scroll Snap Align\n * @see https://tailwindcss.com/docs/scroll-snap-align\n */\n 'snap-align': [{ snap: ['start', 'end', 'center', 'align-none'] }],\n /**\n * Scroll Snap Stop\n * @see https://tailwindcss.com/docs/scroll-snap-stop\n */\n 'snap-stop': [{ snap: ['normal', 'always'] }],\n /**\n * Scroll Snap Type\n * @see https://tailwindcss.com/docs/scroll-snap-type\n */\n 'snap-type': [{ snap: ['none', 'x', 'y', 'both'] }],\n /**\n * Scroll Snap Type Strictness\n * @see https://tailwindcss.com/docs/scroll-snap-type\n */\n 'snap-strictness': [{ snap: ['mandatory', 'proximity'] }],\n /**\n * Touch Action\n * @see https://tailwindcss.com/docs/touch-action\n */\n touch: [{ touch: ['auto', 'none', 'manipulation'] }],\n /**\n * Touch Action X\n * @see https://tailwindcss.com/docs/touch-action\n */\n 'touch-x': [{ 'touch-pan': ['x', 'left', 'right'] }],\n /**\n * Touch Action Y\n * @see https://tailwindcss.com/docs/touch-action\n */\n 'touch-y': [{ 'touch-pan': ['y', 'up', 'down'] }],\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: [{ select: ['none', 'text', 'all', 'auto'] }],\n /**\n * Will Change\n * @see https://tailwindcss.com/docs/will-change\n */\n 'will-change': [\n {\n 'will-change': [\n 'auto',\n 'scroll',\n 'contents',\n 'transform',\n isArbitraryVariable,\n isArbitraryValue,\n ],\n },\n ],\n\n // -----------\n // --- SVG ---\n // -----------\n\n /**\n * Fill\n * @see https://tailwindcss.com/docs/fill\n */\n fill: [{ fill: ['none', ...scaleColor()] }],\n /**\n * Stroke Width\n * @see https://tailwindcss.com/docs/stroke-width\n */\n 'stroke-w': [\n {\n stroke: [\n isNumber,\n isArbitraryVariableLength,\n isArbitraryLength,\n isArbitraryNumber,\n ],\n },\n ],\n /**\n * Stroke\n * @see https://tailwindcss.com/docs/stroke\n */\n stroke: [{ stroke: ['none', ...scaleColor()] }],\n\n // ---------------------\n // --- Accessibility ---\n // ---------------------\n\n /**\n * Forced Color Adjust\n * @see https://tailwindcss.com/docs/forced-color-adjust\n */\n 'forced-color-adjust': [{ 'forced-color-adjust': ['auto', 'none'] }],\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': [\n 'fvn-ordinal',\n 'fvn-slashed-zero',\n 'fvn-figure',\n 'fvn-spacing',\n 'fvn-fraction',\n ],\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: [\n 'rounded-s',\n 'rounded-e',\n 'rounded-t',\n 'rounded-r',\n 'rounded-b',\n 'rounded-l',\n 'rounded-ss',\n 'rounded-se',\n 'rounded-ee',\n 'rounded-es',\n 'rounded-tl',\n 'rounded-tr',\n 'rounded-br',\n 'rounded-bl',\n ],\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': [\n 'border-w-x',\n 'border-w-y',\n 'border-w-s',\n 'border-w-e',\n 'border-w-t',\n 'border-w-r',\n 'border-w-b',\n 'border-w-l',\n ],\n 'border-w-x': ['border-w-r', 'border-w-l'],\n 'border-w-y': ['border-w-t', 'border-w-b'],\n 'border-color': [\n 'border-color-x',\n 'border-color-y',\n 'border-color-s',\n 'border-color-e',\n 'border-color-t',\n 'border-color-r',\n 'border-color-b',\n 'border-color-l',\n ],\n 'border-color-x': ['border-color-r', 'border-color-l'],\n 'border-color-y': ['border-color-t', 'border-color-b'],\n translate: ['translate-x', 'translate-y', 'translate-none'],\n 'translate-none': ['translate', 'translate-x', 'translate-y', 'translate-z'],\n 'scroll-m': [\n 'scroll-mx',\n 'scroll-my',\n 'scroll-ms',\n 'scroll-me',\n 'scroll-mt',\n 'scroll-mr',\n 'scroll-mb',\n 'scroll-ml',\n ],\n 'scroll-mx': ['scroll-mr', 'scroll-ml'],\n 'scroll-my': ['scroll-mt', 'scroll-mb'],\n 'scroll-p': [\n 'scroll-px',\n 'scroll-py',\n 'scroll-ps',\n 'scroll-pe',\n 'scroll-pt',\n 'scroll-pr',\n 'scroll-pb',\n 'scroll-pl',\n ],\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 orderSensitiveModifiers: [\n '*',\n '**',\n 'after',\n 'backdrop',\n 'before',\n 'details-content',\n 'file',\n 'first-letter',\n 'first-line',\n 'marker',\n 'placeholder',\n 'selection',\n ],\n } as const satisfies Config<DefaultClassGroupIds, DefaultThemeGroupIds>\n}\n","import { AnyConfig, ConfigExtension, NoInfer } from './types'\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 */\nexport const mergeConfigs = <ClassGroupIds extends string, ThemeGroupIds extends string = never>(\n baseConfig: AnyConfig,\n {\n cacheSize,\n prefix,\n experimentalParseClassName,\n extend = {},\n override = {},\n }: ConfigExtension<ClassGroupIds, ThemeGroupIds>,\n) => {\n overrideProperty(baseConfig, 'cacheSize', cacheSize)\n overrideProperty(baseConfig, 'prefix', prefix)\n overrideProperty(baseConfig, 'experimentalParseClassName', experimentalParseClassName)\n\n overrideConfigProperties(baseConfig.theme, override.theme)\n overrideConfigProperties(baseConfig.classGroups, override.classGroups)\n overrideConfigProperties(baseConfig.conflictingClassGroups, override.conflictingClassGroups)\n overrideConfigProperties(\n baseConfig.conflictingClassGroupModifiers,\n override.conflictingClassGroupModifiers,\n )\n overrideProperty(baseConfig, 'orderSensitiveModifiers', override.orderSensitiveModifiers)\n\n mergeConfigProperties(baseConfig.theme, extend.theme)\n mergeConfigProperties(baseConfig.classGroups, extend.classGroups)\n mergeConfigProperties(baseConfig.conflictingClassGroups, extend.conflictingClassGroups)\n mergeConfigProperties(\n baseConfig.conflictingClassGroupModifiers,\n extend.conflictingClassGroupModifiers,\n )\n mergeArrayProperties(baseConfig, extend, 'orderSensitiveModifiers')\n\n return baseConfig\n}\n\nconst overrideProperty = <T extends object, K extends keyof T>(\n baseObject: T,\n overrideKey: K,\n overrideValue: T[K] | undefined,\n) => {\n if (overrideValue !== undefined) {\n baseObject[overrideKey] = overrideValue\n }\n}\n\nconst overrideConfigProperties = (\n baseObject: Partial<Record<string, readonly unknown[]>>,\n overrideObject: Partial<Record<string, readonly unknown[]>> | undefined,\n) => {\n if (overrideObject) {\n for (const key in overrideObject) {\n overrideProperty(baseObject, key, overrideObject[key])\n }\n }\n}\n\nconst mergeConfigProperties = (\n baseObject: Partial<Record<string, readonly unknown[]>>,\n mergeObject: Partial<Record<string, readonly unknown[]>> | undefined,\n) => {\n if (mergeObject) {\n for (const key in mergeObject) {\n mergeArrayProperties(baseObject, mergeObject, key)\n }\n }\n}\n\nconst mergeArrayProperties = <Key extends string>(\n baseObject: Partial<Record<NoInfer<Key>, readonly unknown[]>>,\n mergeObject: Partial<Record<NoInfer<Key>, readonly unknown[]>>,\n key: Key,\n) => {\n const mergeValue = mergeObject[key]\n\n if (mergeValue !== undefined) {\n baseObject[key] = baseObject[key] ? baseObject[key].concat(mergeValue) : mergeValue\n }\n}\n","import { createTailwindMerge } from './create-tailwind-merge'\nimport { getDefaultConfig } from './default-config'\nimport { mergeConfigs } from './merge-configs'\nimport { AnyConfig, ConfigExtension, DefaultClassGroupIds, DefaultThemeGroupIds } from './types'\n\ntype CreateConfigSubsequent = (config: AnyConfig) => AnyConfig\n\nexport const extendTailwindMerge = <\n AdditionalClassGroupIds extends string = never,\n AdditionalThemeGroupIds extends string = never,\n>(\n configExtension:\n | ConfigExtension<\n DefaultClassGroupIds | AdditionalClassGroupIds,\n DefaultThemeGroupIds | AdditionalThemeGroupIds\n >\n | CreateConfigSubsequent,\n ...createConfig: CreateConfigSubsequent[]\n) =>\n typeof configExtension === 'function'\n ? createTailwindMerge(getDefaultConfig, configExtension, ...createConfig)\n : createTailwindMerge(\n () => mergeConfigs(getDefaultConfig(), configExtension),\n ...createConfig,\n )\n","import { createTailwindMerge } from './create-tailwind-merge'\nimport { getDefaultConfig } from './default-config'\n\nexport const twMerge = createTailwindMerge(getDefaultConfig)\n"],"names":["concatArrays","array1","array2","combinedArray","Array","length","i","createClassValidatorObject","classGroupId","validator","createClassPartObject","nextPart","Map","validators","CLASS_PART_SEPARATOR","EMPTY_CONFLICTS","ARBITRARY_PROPERTY_PREFIX","createClassGroupUtils","config","classMap","createClassMap","conflictingClassGroups","conflictingClassGroupModifiers","getClassGroupId","className","startsWith","endsWith","getGroupIdForArbitraryProperty","classParts","split","startIndex","getGroupRecursive","getConflictingClassGroupIds","hasPostfixModifier","modifierConflicts","baseConflicts","classPartObject","classPathsLength","currentClassPart","nextClassPartObject","get","result","undefined","classRest","join","slice","validatorsLength","validatorObj","indexOf","content","colonIndex","property","theme","classGroups","processClassGroups","group","processClassesRecursively","classGroup","len","classDefinition","processClassDefinition","processStringDefinition","processFunctionDefinition","processObjectDefinition","classPartObjectToEdit","getPart","isThemeGetter","push","entries","Object","key","value","path","current","parts","part","next","set","func","createLruCache","maxCacheSize","cacheSize","cache","create","previousCache","update","IMPORTANT_MODIFIER","MODIFIER_SEPARATOR","EMPTY_MODIFIERS","createResultObject","modifiers","hasImportantModifier","baseClassName","maybePostfixModifierPosition","isExternal","createParseClassName","prefix","experimentalParseClassName","parseClassName","bracketDepth","parenDepth","modifierStart","postfixModifierPosition","index","currentCharacter","baseClassNameWithImportantModifier","fullPrefix","parseClassNameOriginal","createSortModifiers","modifierWeights","orderSensitiveModifiers","forEach","mod","currentSegment","modifier","isArbitrary","isOrderSensitive","has","sort","createConfigUtils","sortModifiers","SPLIT_CLASSES_REGEX","mergeClassList","classList","configUtils","classGroupsInConflict","classNames","trim","originalClassName","substring","variantModifier","modifierId","classId","conflictGroups","twJoin","classLists","argument","resolvedValue","string","toValue","mix","k","createTailwindMerge","createConfigFirst","createConfigRest","cacheGet","cacheSet","functionToCall","initTailwindMerge","reduce","previousConfig","createConfigCurrent","tailwindMerge","cachedResult","args","fallbackThemeArr","fromTheme","themeGetter","arbitraryValueRegex","arbitraryVariableRegex","fractionRegex","tshirtUnitRegex","lengthUnitRegex","colorFunctionRegex","shadowRegex","imageRegex","isFraction","test","isNumber","Number","isNaN","isInteger","isPercent","isTshirtSize","isAny","isLengthOnly","isNever","isShadow","isImage","isAnyNonArbitrary","isArbitraryValue","isArbitraryVariable","isArbitrarySize","getIsArbitraryValue","isLabelSize","isArbitraryLength","isLabelLength","isArbitraryNumber","isLabelNumber","isArbitraryPosition","isLabelPosition","isArbitraryImage","isLabelImage","isArbitraryShadow","isLabelShadow","isArbitraryVariableLength","getIsArbitraryVariable","isArbitraryVariableFamilyName","isLabelFamilyName","isArbitraryVariablePosition","isArbitraryVariableSize","isArbitraryVariableImage","isArbitraryVariableShadow","testLabel","testValue","exec","shouldMatchNoLabel","label","getDefaultConfig","themeColor","themeFont","themeText","themeFontWeight","themeTracking","themeLeading","themeBreakpoint","themeContainer","themeSpacing","themeRadius","themeShadow","themeInsetShadow","themeTextShadow","themeDropShadow","themeBlur","themePerspective","themeAspect","themeEase","themeAnimate","scaleBreak","scalePosition","scalePositionWithArbitrary","scaleOverflow","scaleOverscroll","scaleUnambiguousSpacing","scaleInset","scaleGridTemplateColsRows","scaleGridColRowStartAndEnd","span","scaleGridColRowStartOrEnd","scaleGridAutoColsRows","scaleAlignPrimaryAxis","scaleAlignSecondaryAxis","scaleMargin","scaleSizing","scaleColor","scaleBgPosition","position","scaleBgRepeat","repeat","scaleBgSize","size","scaleGradientStopPosition","scaleRadius","scaleBorderWidth","scaleLineStyle","scaleBlendMode","scaleMaskImagePosition","scaleBlur","scaleRotate","scaleScale","scaleSkew","scaleTranslate","animate","aspect","blur","breakpoint","color","container","ease","font","leading","perspective","radius","shadow","spacing","text","tracking","columns","box","display","sr","float","clear","isolation","object","overflow","overscroll","inset","start","end","top","right","bottom","left","visibility","z","basis","flex","grow","shrink","order","col","row","gap","justify","items","baseline","self","p","px","py","ps","pe","pt","pr","pb","pl","m","mx","my","ms","me","mt","mr","mb","ml","w","screen","h","list","placeholder","decoration","indent","align","whitespace","break","wrap","hyphens","bg","linear","to","radial","conic","from","via","rounded","border","divide","outline","ring","opacity","mask","closest","farthest","filter","brightness","contrast","grayscale","invert","saturate","sepia","table","caption","transition","duration","delay","backface","rotate","scale","skew","transform","origin","translate","accent","appearance","caret","scheme","cursor","resize","scroll","snap","touch","select","fill","stroke","mergeConfigs","baseConfig","extend","override","overrideProperty","overrideConfigProperties","mergeConfigProperties","mergeArrayProperties","baseObject","overrideKey","overrideValue","overrideObject","mergeObject","merge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AChB,IAAK,MAAMtU,GAAG,IAAIsU,cAAc,CAAE;YAC9BP,gBAAgB,CAACI,UAAU,EAAEnU,GAAG,EAAEsU,cAAc,CAACtU,GAAG,CAAC,CAAC;QAC1D;IACJ;AACJ,CAAC;AAED,MAAMiU,qBAAqB,GAAGA,CAC1BE,UAAuD,EACvDI,WAAoE,KACpE;IACA,IAAIA,WAAW,EAAE;QACb,IAAK,MAAMvU,GAAG,IAAIuU,WAAW,CAAE;YAC3BL,oBAAoB,CAACC,UAAU,EAAEI,WAAW,EAAEvU,GAAG,CAAC;QACtD;IACJ;AACJ,CAAC;AAED,MAAMkU,oBAAoB,GAAGA,CACzBC,UAA6D,EAC7DI,WAA8D,EAC9DvU,GAAQ,KACR;IACA,MAAMwU,UAAU,GAAGD,WAAW,CAACvU,GAAG,CAAC;IAEnC,IAAIwU,UAAU,KAAKpW,SAAS,EAAE;QAC1B+V,UAAU,CAACnU,GAAG,CAAC,GAAGmU,UAAU,CAACnU,GAAG,CAAC,GAAGmU,UAAU,CAACnU,GAAG,CAAC,CAACyU,MAAM,CAACD,UAAU,CAAC,GAAGA,UAAU;IACvF;AACJ,CAAC;AC5EM,MAAME,mBAAmB,GAAGA,CAI/BC,eAK4B,EAC5B,GAAGC,YAAsC,GAEzC,OAAOD,eAAe,KAAK,UAAA,GACrBnQ,mBAAmB,CAACkE,gBAAgB,EAAEiM,eAAe,EAAE,GAAGC,YAAY,CAAA,GACtEpQ,mBAAmB,CACf,IAAMmP,YAAY,CAACjL,gBAAgB,CAAA,CAAE,EAAEiM,eAAe,CAAC,EACvD,GAAGC,YAAY,CAAA;MCpBhBC,OAAO,GAAA,WAAA,GAAGrQ,mBAAmB,CAACkE,gBAAgB,CAAA"}}, - {"offset": {"line": 19115, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/@tabler/icons-react/dist/esm/icons/IconPhoneCall.mjs","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40tabler/icons-react/src/icons/IconPhoneCall.ts"],"sourcesContent":["import createReactComponent from '../createReactComponent';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [[\"path\",{\"d\":\"M5 4h4l2 5l-2.5 1.5a11 11 0 0 0 5 5l1.5 -2.5l5 2v4a2 2 0 0 1 -2 2a16 16 0 0 1 -15 -15a2 2 0 0 1 2 -2\",\"key\":\"svg-0\"}],[\"path\",{\"d\":\"M15 7a2 2 0 0 1 2 2\",\"key\":\"svg-1\"}],[\"path\",{\"d\":\"M15 3a6 6 0 0 1 6 6\",\"key\":\"svg-2\"}]]\n\nconst IconPhoneCall = createReactComponent('outline', 'phone-call', 'PhoneCall', __iconNode);\n\nexport default IconPhoneCall;"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,CAAuB;IAAC;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAO;YAAC,CAAA,CAAA,CAAA,CAAA,CAAI,sGAAA,CAAA;YAAuG,CAAA,CAAA,CAAA,CAAA,CAAA,EAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAQ;KAAA,CAAA;IAAE;QAAC,MAAA,CAAA;QAAO,CAAA;YAAC,GAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAAsB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,OAAA;QAAA,CAAQ;KAAA;IAAE;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAO,CAAA;YAAC,CAAA,CAAA,CAAA,EAAI,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAAsB,KAAA,CAAA,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAQ;KAAC;CAAA;AAE9Q,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,KAAgB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,6KAAA,EAAqB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAW,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAc,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,GAAa,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}, - {"offset": {"line": 19167, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/fumadocs-core/dist/framework/index.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/fumadocs-core/src/framework/index.tsx"],"sourcesContent":["'use client';\nimport type { ComponentProps, FC, ReactNode } from 'react';\nimport { createContext, use, useMemo } from 'react';\nimport type { StaticImport } from 'next/dist/shared/lib/get-img-props';\n\nexport interface ImageProps extends Omit<ComponentProps<'img'>, 'src'> {\n sizes?: string;\n\n /**\n * Next.js Image component has other allowed type for `src`\n */\n src?: string | StaticImport;\n\n /**\n * priority of image (from Next.js)\n */\n priority?: boolean;\n}\n\ninterface LinkProps extends ComponentProps<'a'> {\n prefetch?: boolean;\n}\n\nexport interface Router {\n push: (url: string) => void;\n refresh: () => void;\n}\n\nexport interface Framework {\n usePathname: () => string;\n useParams: () => Record<string, string | string[]>;\n useRouter: () => Router;\n\n Link?: FC<\n ComponentProps<'a'> & {\n prefetch?: boolean;\n }\n >;\n\n Image?: FC<ImageProps>;\n}\n\nconst notImplemented = () => {\n throw new Error('You need to wrap your application inside `FrameworkProvider`.');\n};\n\nconst FrameworkContext = createContext<Framework>({\n useParams: notImplemented,\n useRouter: notImplemented,\n usePathname: notImplemented,\n});\n\nexport function FrameworkProvider({\n Link,\n useRouter,\n useParams,\n usePathname,\n Image,\n children,\n}: Framework & { children: ReactNode }) {\n const framework = useMemo(\n () => ({\n usePathname,\n useRouter,\n Link,\n Image,\n useParams,\n }),\n [Link, usePathname, useRouter, useParams, Image],\n );\n\n return <FrameworkContext value={framework}>{children}</FrameworkContext>;\n}\n\nexport function usePathname() {\n return use(FrameworkContext).usePathname();\n}\n\nexport function useRouter() {\n return use(FrameworkContext).useRouter();\n}\n\nexport function useParams() {\n return use(FrameworkContext).useParams();\n}\n\nexport function Image(props: ImageProps) {\n const { Image } = use(FrameworkContext);\n if (!Image) {\n const { src, alt, priority, ...rest } = props;\n\n return (\n <img alt={alt} src={src as string} fetchPriority={priority ? 'high' : 'auto'} {...rest} />\n );\n }\n\n return <Image {...props} />;\n}\n\nexport function Link(props: LinkProps) {\n const { Link } = use(FrameworkContext);\n if (!Link) {\n const { href, prefetch: _, ...rest } = props;\n return <a href={href} {...rest} />;\n }\n\n return <Link {...props} />;\n}\n"],"names":["Link","usePathname","useRouter","useParams","Image"],"mappings":";;;;;;;;;;;;;;;;;;;;AA0CA,MAAM,iBAAA,MAAuB;IAC3B,MAAM,IAAI,MAAM,gEAAgE;;AAGlF,MAAM,uBAAmB,8KAAA,EAAyB;IAChD,WAAW;IACX,WAAW;IACX,aAAa;CACd,CAAC;AAEF,SAAgB,kBAAkB,EAChC,MAAA,MAAA,EACA,WAAA,WAAA,EACA,WAAA,WAAA,EACA,aAAA,aAAA,EACA,OAAA,OAAA,EACA,QAAA,EAAA,EACsC;IAYtC,OAAO,aAAA,GAAA,IAAA,6KAAA,EAAC,kBAAA;QAAiB,WAXP,wKAAA;yCAAA,IAAA,CACT;oBACL,aAAA;oBACA,WAAA;oBACA,MAAA;oBACA,OAAA;oBACA,WAAA;iBACD;wCACD;YAACA;YAAMC;YAAaC;YAAWC;YAAWC;SAAM,CACjD;QAE2C;MAA4B;;AAG1E,SAAgB,cAAc;IAC5B,WAAO,oKAAA,EAAI,iBAAiB,CAAC,WAAA,EAAa;;AAG5C,SAAgB,YAAY;IAC1B,WAAO,oKAAA,EAAI,iBAAiB,CAAC,SAAA,EAAW;;AAG1C,SAAgB,YAAY;IAC1B,WAAO,oKAAA,EAAI,iBAAiB,CAAC,SAAA,EAAW;;AAG1C,SAAgB,MAAM,KAAA,EAAmB;IACvC,MAAM,EAAE,OAAA,OAAA,EAAA,OAAU,oKAAA,EAAI,iBAAiB;IACvC,IAAI,CAACA,SAAO;QACV,MAAM,EAAE,GAAA,EAAK,GAAA,EAAK,QAAA,EAAU,GAAG,MAAA,GAAS;QAExC,OACE,aAAA,GAAA,IAAA,6KAAA,EAAC,OAAA;YAAS;YAAU;YAAe,eAAe,WAAW,SAAS;YAAQ,GAAI,IAAA;UAAQ;;IAI9F,OAAO,aAAA,GAAA,IAAA,6KAAA,EAACA,SAAAA;QAAM,GAAI,KAAA;IAAA,EAAS;;AAG7B,SAAgB,KAAK,KAAA,EAAkB;IACrC,MAAM,EAAE,MAAA,MAAA,EAAA,GAAS,wKAAA,EAAI,iBAAiB;IACtC,IAAI,CAACJ,QAAM;QACT,MAAM,EAAE,IAAA,EAAM,UAAU,CAAA,EAAG,GAAG,MAAA,GAAS;QACvC,OAAO,aAAA,GAAA,IAAA,6KAAA,EAAC,KAAA;YAAQ;YAAM,GAAI,IAAA;UAAQ;;IAGpC,OAAO,aAAA,GAAA,IAAA,6KAAA,EAACA,QAAAA;QAAK,GAAI,KAAA;IAAA,EAAS"}}, - {"offset": {"line": 19258, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/@fumadocs/ui/dist/contexts/i18n.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40fumadocs/ui/src/contexts/i18n.tsx"],"sourcesContent":["'use client';\nimport { createContext, type ReactNode, useContext, useMemo, useRef } from 'react';\nimport { usePathname, useRouter } from 'fumadocs-core/framework';\n\nexport interface Translations {\n search: string;\n searchNoResult: string;\n\n toc: string;\n tocNoHeadings: string;\n\n lastUpdate: string;\n chooseLanguage: string;\n nextPage: string;\n previousPage: string;\n chooseTheme: string;\n editOnGithub: string;\n}\n\nexport interface LocaleItem {\n name: string;\n locale: string;\n}\n\ninterface I18nContextType {\n locale?: string;\n onChange?: (v: string) => void;\n text: Translations;\n locales?: LocaleItem[];\n}\n\nexport const defaultTranslations: Translations = {\n search: 'Search',\n searchNoResult: 'No results found',\n toc: 'On this page',\n tocNoHeadings: 'No Headings',\n lastUpdate: 'Last updated on',\n chooseLanguage: 'Choose a language',\n nextPage: 'Next Page',\n previousPage: 'Previous Page',\n chooseTheme: 'Theme',\n editOnGithub: 'Edit on GitHub',\n};\n\nconst I18nContext = createContext<I18nContextType>({\n text: defaultTranslations,\n});\n\nexport function I18nLabel(props: { label: keyof Translations }): string {\n const { text } = useI18n();\n\n return text[props.label];\n}\n\nexport function useI18n(): I18nContextType {\n return useContext(I18nContext);\n}\n\nexport interface I18nProviderProps {\n /**\n * Current locale\n */\n locale: string;\n\n /**\n * Handle changes to the locale, redirect user when not specified.\n */\n onLocaleChange?: (v: string) => void;\n\n /**\n * Translations of current locale\n */\n translations?: Partial<Translations>;\n\n /**\n * Available languages\n */\n locales?: LocaleItem[];\n\n children?: ReactNode;\n}\n\nexport function I18nProvider({\n locales = [],\n locale,\n onLocaleChange,\n children,\n translations,\n}: I18nProviderProps) {\n const router = useRouter();\n const pathname = usePathname();\n const onChange = (value: string) => {\n if (onLocaleChange) {\n return onLocaleChange(value);\n }\n const segments = pathname.split('/').filter((v) => v.length > 0);\n\n // If locale prefix hidden\n if (segments[0] !== locale) {\n segments.unshift(value);\n } else {\n segments[0] = value;\n }\n\n router.push(`/${segments.join('/')}`);\n };\n const onChangeRef = useRef(onChange);\n onChangeRef.current = onChange;\n\n return (\n <I18nContext\n value={useMemo(\n () => ({\n locale,\n locales,\n text: {\n ...defaultTranslations,\n ...translations,\n },\n onChange: (v) => onChangeRef.current(v),\n }),\n [locale, locales, translations],\n )}\n >\n {children}\n </I18nContext>\n );\n}\n"],"names":["defaultTranslations: Translations"],"mappings":";;;;;;;;;;;;;;;;;;AA+BA,MAAaA,sBAAoC;IAC/C,QAAQ;IACR,gBAAgB;IAChB,KAAK;IACL,eAAe;IACf,YAAY;IACZ,gBAAgB;IAChB,UAAU;IACV,cAAc;IACd,aAAa;IACb,cAAc;CACf;AAED,MAAM,cAAc,kLAAA,EAA+B;IACjD,MAAM;AAAA,CACP,CAAC;AAEF,SAAgB,UAAU,KAAA,EAA8C;IACtE,MAAM,EAAE,IAAA,EAAA,GAAS,SAAS;IAE1B,OAAO,IAAA,CAAK,MAAM,KAAA,CAAA;;AAGpB,SAAgB,UAA2B;IACzC,WAAO,2KAAA,EAAW,YAAY;;AA2BhC,SAAgB,aAAa,EAC3B,UAAU,EAAE,EACZ,MAAA,EACA,cAAA,EACA,QAAA,EACA,YAAA,EAAA,EACoB;IACpB,MAAM,SAAS,kLAAA,EAAW;IAC1B,MAAM,eAAW,gLAAA,EAAa;IAC9B,MAAM,WAAA,CAAY,UAAkB;QAClC,IAAI,eACF,CAAA,OAAO,eAAe,MAAM;QAE9B,MAAM,WAAW,SAAS,KAAA,CAAM,IAAI,CAAC,MAAA,CAAA,CAAQ,IAAM,EAAE,MAAA,GAAS,EAAE;QAGhE,IAAI,QAAA,CAAS,EAAA,KAAO,OAClB,CAAA,SAAS,OAAA,CAAQ,MAAM;aAEvB,QAAA,CAAS,EAAA,GAAK;QAGhB,OAAO,IAAA,CAAK,CAAA,CAAA,EAAI,SAAS,IAAA,CAAK,IAAI,EAAA,CAAG;;IAEvC,MAAM,kBAAc,uKAAA,EAAO,SAAS;IACpC,YAAY,OAAA,GAAU;IAEtB,OACE,aAAA,GAAA,IAAA,6KAAA,EAAC,aAAA;QACC,WAAO,wKAAA;oCAAA,IAAA,CACE;oBACL;oBACA;oBACA,MAAM;wBACJ,GAAG,mBAAA;wBACH,GAAG,YAAA;qBACJ;oBACD,QAAA;gDAAA,CAAW,IAAM,YAAY,OAAA,CAAQ,EAAE;;iBACxC;mCACD;YAAC;YAAQ;YAAS;SAAa,CAChC;QAEA;MACW"}}, - {"offset": {"line": 19337, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/@fumadocs/ui/dist/contexts/search.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40fumadocs/ui/src/contexts/search.tsx"],"sourcesContent":["'use client';\nimport {\n type ComponentType,\n createContext,\n type ReactNode,\n use,\n useEffect,\n useEffectEvent,\n useMemo,\n useState,\n} from 'react';\n\ninterface HotKey {\n display: ReactNode;\n\n /**\n * Key code or a function determining whether the key is pressed.\n */\n key: string | ((e: KeyboardEvent) => boolean);\n}\n\nexport interface SharedProps {\n open: boolean;\n onOpenChange: (open: boolean) => void;\n}\n\nexport type SearchLink = [name: string, href: string];\n\nexport interface TagItem {\n name: string;\n value: string;\n}\n\nexport interface SearchProviderProps {\n /**\n * Preload search dialog before opening it\n *\n * @defaultValue `true`\n */\n preload?: boolean;\n\n /**\n * Custom links to be displayed if search is empty\n */\n links?: SearchLink[];\n\n /**\n * Hotkeys for triggering search dialog\n *\n * @defaultValue Meta/Ctrl + K\n */\n hotKey?: HotKey[];\n\n /**\n * Replace default search dialog, allowing you to use other solutions such as Algolia Search\n *\n * It receives the `open` and `onOpenChange` prop, can be lazy loaded with `next/dynamic`\n */\n SearchDialog: ComponentType<SharedProps>;\n\n /**\n * Additional props to the dialog\n */\n options?: Partial<SharedProps & Record<string, unknown>>;\n\n children?: ReactNode;\n}\n\ninterface SearchContextType {\n enabled: boolean;\n hotKey: HotKey[];\n setOpenSearch: (value: boolean) => void;\n}\n\nconst SearchContext = createContext<SearchContextType>({\n enabled: false,\n hotKey: [],\n setOpenSearch: () => undefined,\n});\n\nexport function useSearchContext(): SearchContextType {\n return use(SearchContext);\n}\n\nfunction MetaOrControl() {\n const [key, setKey] = useState('⌘');\n\n useEffect(() => {\n const isWindows = window.navigator.userAgent.includes('Windows');\n\n if (isWindows) setKey('Ctrl');\n }, []);\n\n return key;\n}\n\nexport function SearchProvider({\n SearchDialog,\n children,\n preload = true,\n options,\n hotKey = [\n {\n key: (e) => e.metaKey || e.ctrlKey,\n display: <MetaOrControl />,\n },\n {\n key: 'k',\n display: 'K',\n },\n ],\n links,\n}: SearchProviderProps) {\n const [isOpen, setIsOpen] = useState(preload ? false : undefined);\n const onKeyDown = useEffectEvent((e: KeyboardEvent) => {\n if (hotKey.every((v) => (typeof v.key === 'string' ? e.key === v.key : v.key(e)))) {\n setIsOpen((open) => !open);\n e.preventDefault();\n }\n });\n\n useEffect(() => {\n window.addEventListener('keydown', onKeyDown);\n return () => {\n window.removeEventListener('keydown', onKeyDown);\n };\n }, [hotKey]);\n\n return (\n <SearchContext\n value={useMemo(\n () => ({\n enabled: true,\n hotKey,\n setOpenSearch: setIsOpen,\n }),\n [hotKey],\n )}\n >\n {isOpen !== undefined && (\n <SearchDialog\n open={isOpen}\n onOpenChange={setIsOpen}\n // @ts-expect-error -- insert prop for official UIs\n links={links}\n {...options}\n />\n )}\n {children}\n </SearchContext>\n );\n}\n\n/**\n * Show children only when search is enabled via React Context\n */\nexport function SearchOnly({ children }: { children: ReactNode }) {\n const search = useSearchContext();\n\n if (search.enabled) return children;\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;AA0EA,MAAM,oBAAgB,8KAAA,EAAiC;IACrD,SAAS;IACT,QAAQ,EAAE;IACV,eAAA,IAAqB,KAAA;CACtB,CAAC;AAEF,SAAgB,mBAAsC;IACpD,WAAO,oKAAA,EAAI,cAAc;;AAG3B,SAAS,gBAAgB;IACvB,MAAM,CAAC,KAAK,OAAA,OAAU,yKAAA,EAAS,IAAI;IAEnC,IAAA,0KAAA;mCAAA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AAqC;IAGhE,IAFe,kBAAkB,CAEtB,OAAA,CAAS,CAAA,OAAO"}}, - {"offset": {"line": 19435, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40radix-ui/react-direction/src/direction.tsx"],"sourcesContent":["import * as React from 'react';\n\ntype Direction = 'ltr' | 'rtl';\nconst DirectionContext = React.createContext<Direction | undefined>(undefined);\n\n/* -------------------------------------------------------------------------------------------------\n * Direction\n * -----------------------------------------------------------------------------------------------*/\n\ninterface DirectionProviderProps {\n children?: React.ReactNode;\n dir: Direction;\n}\nconst DirectionProvider: React.FC<DirectionProviderProps> = (props) => {\n const { dir, children } = props;\n return <DirectionContext.Provider value={dir}>{children}</DirectionContext.Provider>;\n};\n\n/* -----------------------------------------------------------------------------------------------*/\n\nfunction useDirection(localDir?: Direction) {\n const globalDir = React.useContext(DirectionContext);\n return localDir || globalDir || 'ltr';\n}\n\nconst Provider = DirectionProvider;\n\nexport {\n useDirection,\n //\n Provider,\n //\n DirectionProvider,\n};\n"],"names":[],"mappings":";;;;;;;;;AAAA,YAAY,WAAW;AAed;;;AAZT,IAAM,mBAAyB,8KAAA,CAAqC,KAAA,CAAS;AAU7E,IAAM,oBAAsD,CAAC,UAAU;IACrE,MAAM,EAAE,GAAA,EAAK,QAAA,CAAS,CAAA,GAAI;IAC1B,OAAO,aAAA,GAAA,IAAA,6KAAA,EAAC,iBAAiB,QAAA,EAAjB;QAA0B,OAAO;QAAM;IAAA,CAAS;AAC1D;AAIA,SAAS,aAAa,QAAA,EAAsB;IAC1C,MAAM,YAAkB,2KAAA,CAAW,gBAAgB;IACnD,OAAO,YAAY,aAAa;AAClC;AAEA,IAAM,WAAW"}}, - {"offset": {"line": 19467, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next-themes/dist/index.mjs"],"sourcesContent":["\"use client\";import*as t from\"react\";var M=(e,i,s,u,m,a,l,h)=>{let d=document.documentElement,w=[\"light\",\"dark\"];function p(n){(Array.isArray(e)?e:[e]).forEach(y=>{let k=y===\"class\",S=k&&a?m.map(f=>a[f]||f):m;k?(d.classList.remove(...S),d.classList.add(a&&a[n]?a[n]:n)):d.setAttribute(y,n)}),R(n)}function R(n){h&&w.includes(n)&&(d.style.colorScheme=n)}function c(){return window.matchMedia(\"(prefers-color-scheme: dark)\").matches?\"dark\":\"light\"}if(u)p(u);else try{let n=localStorage.getItem(i)||s,y=l&&n===\"system\"?c():n;p(y)}catch(n){}};var b=[\"light\",\"dark\"],I=\"(prefers-color-scheme: dark)\",O=typeof window==\"undefined\",x=t.createContext(void 0),U={setTheme:e=>{},themes:[]},z=()=>{var e;return(e=t.useContext(x))!=null?e:U},J=e=>t.useContext(x)?t.createElement(t.Fragment,null,e.children):t.createElement(V,{...e}),N=[\"light\",\"dark\"],V=({forcedTheme:e,disableTransitionOnChange:i=!1,enableSystem:s=!0,enableColorScheme:u=!0,storageKey:m=\"theme\",themes:a=N,defaultTheme:l=s?\"system\":\"light\",attribute:h=\"data-theme\",value:d,children:w,nonce:p,scriptProps:R})=>{let[c,n]=t.useState(()=>H(m,l)),[T,y]=t.useState(()=>c===\"system\"?E():c),k=d?Object.values(d):a,S=t.useCallback(o=>{let r=o;if(!r)return;o===\"system\"&&s&&(r=E());let v=d?d[r]:r,C=i?W(p):null,P=document.documentElement,L=g=>{g===\"class\"?(P.classList.remove(...k),v&&P.classList.add(v)):g.startsWith(\"data-\")&&(v?P.setAttribute(g,v):P.removeAttribute(g))};if(Array.isArray(h)?h.forEach(L):L(h),u){let g=b.includes(l)?l:null,D=b.includes(r)?r:g;P.style.colorScheme=D}C==null||C()},[p]),f=t.useCallback(o=>{let r=typeof o==\"function\"?o(c):o;n(r);try{localStorage.setItem(m,r)}catch(v){}},[c]),A=t.useCallback(o=>{let r=E(o);y(r),c===\"system\"&&s&&!e&&S(\"system\")},[c,e]);t.useEffect(()=>{let o=window.matchMedia(I);return o.addListener(A),A(o),()=>o.removeListener(A)},[A]),t.useEffect(()=>{let o=r=>{r.key===m&&(r.newValue?n(r.newValue):f(l))};return window.addEventListener(\"storage\",o),()=>window.removeEventListener(\"storage\",o)},[f]),t.useEffect(()=>{S(e!=null?e:c)},[e,c]);let Q=t.useMemo(()=>({theme:c,setTheme:f,forcedTheme:e,resolvedTheme:c===\"system\"?T:c,themes:s?[...a,\"system\"]:a,systemTheme:s?T:void 0}),[c,f,e,T,s,a]);return t.createElement(x.Provider,{value:Q},t.createElement(_,{forcedTheme:e,storageKey:m,attribute:h,enableSystem:s,enableColorScheme:u,defaultTheme:l,value:d,themes:a,nonce:p,scriptProps:R}),w)},_=t.memo(({forcedTheme:e,storageKey:i,attribute:s,enableSystem:u,enableColorScheme:m,defaultTheme:a,value:l,themes:h,nonce:d,scriptProps:w})=>{let p=JSON.stringify([s,i,a,e,h,l,u,m]).slice(1,-1);return t.createElement(\"script\",{...w,suppressHydrationWarning:!0,nonce:typeof window==\"undefined\"?d:\"\",dangerouslySetInnerHTML:{__html:`(${M.toString()})(${p})`}})}),H=(e,i)=>{if(O)return;let s;try{s=localStorage.getItem(e)||void 0}catch(u){}return s||i},W=e=>{let i=document.createElement(\"style\");return e&&i.setAttribute(\"nonce\",e),i.appendChild(document.createTextNode(\"*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}\")),document.head.appendChild(i),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(i)},1)}},E=e=>(e||(e=window.matchMedia(I)),e.matches?\"dark\":\"light\");export{J as ThemeProvider,z as useTheme};\n"],"names":[],"mappings":";;;;;;AAAa;AAAb;;AAAqC,IAAI,IAAE,CAAC,GAAE,GAAE,GAAE,GAAE,GAAE,GAAE,GAAE;IAAK,IAAI,IAAE,SAAS,eAAe,EAAC,IAAE;QAAC;QAAQ;KAAO;IAAC,SAAS,EAAE,CAAC;QAAE,CAAC,MAAM,OAAO,CAAC,KAAG,IAAE;YAAC;SAAE,EAAE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,CAAC,EAAC,cAAa,CAAC,EAAC,mBAAkB,CAAC,EAAC,cAAa,CAAC,EAAC,OAAM,CAAC,EAAC,QAAO,CAAC,EAAC,OAAM,CAAC,EAAC,aAAY,CAAC,EAAC;IAAI,IAAI,IAAE,KAAK,SAAS,CAAC;QAAC;QAAE;QAAE;QAAE;QAAE;QAAE;QAAE;QAAE;KAAE,EAAE,KAAK,CAAC,GAAE,CAAC;IAAG,OAAO,8KAAe,CAAC,UAAS;QAAC,GAAG,CAAC;QAAC,0BAAyB,CAAC;QAAE,OAAM,OAAO,UAAQ,cAAY,IAAE;QAAG,yBAAwB;YAAC,QAAO,CAAC,CAAC,EAAE,EAAE,QAAQ,GAAG,EAAE,EAAE,EAAE,CAAC,CAAC;QAAA;IAAC;AAAE,IAAG,IAAE,CAAC,GAAE;IAAK,IAAG,GAAE;IAAO,IAAI;IAAE,IAAG;QAAC,IAAE,aAAa,OAAO,CAAC,MAAI,KAAK;IAAC,EAAC,OAAM,GAAE,CAAC;IAAC,OAAO,KAAG;AAAC,GAAE,IAAE,CAAA;IAAI,IAAI,IAAE,SAAS,aAAa,CAAC;IAAS,OAAO,KAAG,EAAE,YAAY,CAAC,SAAQ,IAAG,EAAE,WAAW,CAAC,SAAS,cAAc,CAAC,iLAAgL,SAAS,IAAI,CAAC,WAAW,CAAC,IAAG;QAAK,OAAO,gBAAgB,CAAC,SAAS,IAAI,GAAE,WAAW;YAAK,SAAS,IAAI,CAAC,WAAW,CAAC;QAAE,GAAE;IAAE;AAAC,GAAE,IAAE,CAAA,IAAG,CAAC,KAAG,CAAC,IAAE,OAAO,UAAU,CAAC,EAAE,GAAE,EAAE,OAAO,GAAC,SAAO,OAAO","ignoreList":[0]}}, - {"offset": {"line": 19660, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/fumadocs-ui/dist/provider/base.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/fumadocs-ui/src/provider/base.tsx"],"sourcesContent":["'use client';\n\nimport { type ComponentPropsWithoutRef, lazy, type ReactNode } from 'react';\nimport { DirectionProvider } from '@radix-ui/react-direction';\nimport type { DefaultSearchDialogProps } from '@/components/dialog/search-default';\nimport { ThemeProvider } from 'next-themes';\nimport { I18nProvider, type I18nProviderProps } from '@fumadocs/ui/contexts/i18n';\nimport { SearchProvider, type SearchProviderProps } from '@fumadocs/ui/contexts/search';\n\ninterface SearchOptions extends Omit<SearchProviderProps, 'options' | 'children'> {\n options?: Partial<DefaultSearchDialogProps>;\n\n /**\n * Enable search functionality\n *\n * @defaultValue `true`\n */\n enabled?: boolean;\n}\n\nexport interface RootProviderProps {\n /**\n * `dir` option for Radix UI\n */\n dir?: 'rtl' | 'ltr';\n\n /**\n * @remarks `SearchProviderProps`\n */\n search?: Partial<SearchOptions>;\n\n /**\n * Customise options of `next-themes`\n */\n theme?: Partial<ComponentPropsWithoutRef<typeof ThemeProvider>> & {\n /**\n * Enable `next-themes`\n *\n * @defaultValue true\n */\n enabled?: boolean;\n };\n\n i18n?: Omit<I18nProviderProps, 'children'>;\n\n children?: ReactNode;\n}\n\nconst DefaultSearchDialog = lazy(() => import('@/components/dialog/search-default'));\n\nexport function RootProvider({\n children,\n dir = 'ltr',\n theme = {},\n search,\n i18n,\n}: RootProviderProps) {\n let body = children;\n\n if (search?.enabled !== false)\n body = (\n <SearchProvider SearchDialog={DefaultSearchDialog} {...search}>\n {body}\n </SearchProvider>\n );\n\n if (theme?.enabled !== false)\n body = (\n <ThemeProvider\n attribute=\"class\"\n defaultTheme=\"system\"\n enableSystem\n disableTransitionOnChange\n {...theme}\n >\n {body}\n </ThemeProvider>\n );\n\n if (i18n) {\n body = <I18nProvider {...i18n}>{body}</I18nProvider>;\n }\n\n return <DirectionProvider dir={dir}>{body}</DirectionProvider>;\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAgDA,MAAM,0BAAsB,qKAAA,EAAA,MAAW,OAAO,0CAAsC;AAEpF,SAAgB,aAAa,EAC3B,QAAA,EACA,MAAM,KAAA,EACN,QAAQ,CAAA,CAAE,EACV,MAAA,EACA,IAAA,EAAA,EACoB;IACpB,IAAI,OAAO;IAEX,IAAI,QAAQ,YAAY,MACtB,CAAA,OACE,aAAA,GAAA,IAAA,6KAAA,EAAC,mLAAA,EAAA;QAAe,cAAc;QAAqB,GAAI,MAAA;kBACpD;MACc;IAGrB,IAAI,OAAO,YAAY,MACrB,CAAA,OACE,aAAA,GAAA,IAAA,6KAAA,EAAC,oKAAA,EAAA;QACC,WAAU;QACV,cAAa;QACb,cAAA;QACA,2BAAA;QACA,GAAI,KAAA;kBAEH;MACa;IAGpB,IAAI,KACF,CAAA,OAAO,aAAA,GAAA,IAAA,6KAAA,EAAC,+KAAA,EAAA;QAAa,GAAI,IAAA;kBAAO;MAAoB;IAGtD,OAAO,aAAA,GAAA,IAAA,6KAAA,EAAC,6LAAA,EAAA;QAAuB;kBAAM;MAAyB"}}, - {"offset": {"line": 19708, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/navigation.js"],"sourcesContent":["module.exports = require('./dist/client/components/navigation')\n"],"names":[],"mappings":"AAAA,OAAO,OAAO","ignoreList":[0]}}, - {"offset": {"line": 19713, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/shared/lib/image-blur-svg.ts"],"sourcesContent":["/**\n * A shared function, used on both client and server, to generate a SVG blur placeholder.\n */\nexport function getImageBlurSvg({\n widthInt,\n heightInt,\n blurWidth,\n blurHeight,\n blurDataURL,\n objectFit,\n}: {\n widthInt?: number\n heightInt?: number\n blurWidth?: number\n blurHeight?: number\n blurDataURL: string\n objectFit?: string\n}): string {\n const std = 20\n const svgWidth = blurWidth ? blurWidth * 40 : widthInt\n const svgHeight = blurHeight ? blurHeight * 40 : heightInt\n\n const viewBox =\n svgWidth && svgHeight ? `viewBox='0 0 ${svgWidth} ${svgHeight}'` : ''\n const preserveAspectRatio = viewBox\n ? 'none'\n : objectFit === 'contain'\n ? 'xMidYMid'\n : objectFit === 'cover'\n ? 'xMidYMid slice'\n : 'none'\n\n return `%3Csvg xmlns='http://www.w3.org/2000/svg' ${viewBox}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='${std}'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='${std}'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${preserveAspectRatio}' style='filter: url(%23b);' href='${blurDataURL}'/%3E%3C/svg%3E`\n}\n"],"names":["getImageBlurSvg","widthInt","heightInt","blurWidth","blurHeight","blurDataURL","objectFit","std","svgWidth","svgHeight","viewBox","preserveAspectRatio"],"mappings":"AAAA;;CAEC;;;+BACeA,mBAAAA;;;eAAAA;;;AAAT,SAASA,gBAAgB,EAC9BC,QAAQ,EACRC,SAAS,EACTC,SAAS,EACTC,UAAU,EACVC,WAAW,EACXC,SAAS,EAQV;IACC,MAAMC,MAAM;IACZ,MAAMC,WAAWL,YAAYA,YAAY,KAAKF;IAC9C,MAAMQ,YAAYL,aAAaA,aAAa,KAAKF;IAEjD,MAAMQ,UACJF,YAAYC,YAAY,CAAC,aAAa,EAAED,SAAS,CAAC,EAAEC,UAAU,CAAC,CAAC,GAAG;IACrE,MAAME,sBAAsBD,UACxB,SACAJ,cAAc,YACZ,aACAA,cAAc,UACZ,mBACA;IAER,OAAO,CAAC,0CAA0C,EAAEI,QAAQ,yFAAyF,EAAEH,IAAI,+PAA+P,EAAEA,IAAI,2FAA2F,EAAEI,oBAAoB,mCAAmC,EAAEN,YAAY,eAAe,CAAC;AACplB","ignoreList":[0]}}, - {"offset": {"line": 19736, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/shared/lib/image-config.ts"],"sourcesContent":["export const VALID_LOADERS = [\n 'default',\n 'imgix',\n 'cloudinary',\n 'akamai',\n 'custom',\n] as const\n\nexport type LoaderValue = (typeof VALID_LOADERS)[number]\n\nexport type ImageLoaderProps = {\n src: string\n width: number\n quality?: number\n}\n\nexport type ImageLoaderPropsWithConfig = ImageLoaderProps & {\n config: Readonly<ImageConfig>\n}\n\nexport type LocalPattern = {\n /**\n * Can be literal or wildcard.\n * Single `*` matches a single path segment.\n * Double `**` matches any number of path segments.\n */\n pathname?: string\n\n /**\n * Can be literal query string such as `?v=1` or\n * empty string meaning no query string.\n */\n search?: string\n}\n\nexport type RemotePattern = {\n /**\n * Must be `http` or `https`.\n */\n protocol?: 'http' | 'https'\n\n /**\n * Can be literal or wildcard.\n * Single `*` matches a single subdomain.\n * Double `**` matches any number of subdomains.\n */\n hostname: string\n\n /**\n * Can be literal port such as `8080` or empty string\n * meaning no port.\n */\n port?: string\n\n /**\n * Can be literal or wildcard.\n * Single `*` matches a single path segment.\n * Double `**` matches any number of path segments.\n */\n pathname?: string\n\n /**\n * Can be literal query string such as `?v=1` or\n * empty string meaning no query string.\n */\n search?: string\n}\n\ntype ImageFormat = 'image/avif' | 'image/webp'\n\n/**\n * Image configurations\n *\n * @see [Image configuration options](https://nextjs.org/docs/api-reference/next/image#configuration-options)\n */\nexport type ImageConfigComplete = {\n /** @see [Device sizes documentation](https://nextjs.org/docs/api-reference/next/image#device-sizes) */\n deviceSizes: number[]\n\n /** @see [Image sizing documentation](https://nextjs.org/docs/app/building-your-application/optimizing/images#image-sizing) */\n imageSizes: number[]\n\n /** @see [Image loaders configuration](https://nextjs.org/docs/api-reference/next/legacy/image#loader) */\n loader: LoaderValue\n\n /** @see [Image loader configuration](https://nextjs.org/docs/app/api-reference/components/image#path) */\n path: string\n\n /** @see [Image loader configuration](https://nextjs.org/docs/api-reference/next/image#loader-configuration) */\n loaderFile: string\n\n /**\n * @deprecated Use `remotePatterns` instead.\n */\n domains: string[]\n\n /** @see [Disable static image import configuration](https://nextjs.org/docs/api-reference/next/image#disable-static-imports) */\n disableStaticImages: boolean\n\n /** @see [Cache behavior](https://nextjs.org/docs/api-reference/next/image#caching-behavior) */\n minimumCacheTTL: number\n\n /** @see [Acceptable formats](https://nextjs.org/docs/api-reference/next/image#acceptable-formats) */\n formats: ImageFormat[]\n\n /** @see [Maximum Redirects](https://nextjs.org/docs/api-reference/next/image#maximumredirects) */\n maximumRedirects: number\n\n /** @see [Dangerously Allow Local IP](https://nextjs.org/docs/api-reference/next/image#dangerously-allow-local-ip) */\n dangerouslyAllowLocalIP: boolean\n\n /** @see [Dangerously Allow SVG](https://nextjs.org/docs/api-reference/next/image#dangerously-allow-svg) */\n dangerouslyAllowSVG: boolean\n\n /** @see [Content Security Policy](https://nextjs.org/docs/api-reference/next/image#contentsecuritypolicy) */\n contentSecurityPolicy: string\n\n /** @see [Content Disposition Type](https://nextjs.org/docs/api-reference/next/image#contentdispositiontype) */\n contentDispositionType: 'inline' | 'attachment'\n\n /** @see [Remote Patterns](https://nextjs.org/docs/api-reference/next/image#remotepatterns) */\n remotePatterns: Array<URL | RemotePattern>\n\n /** @see [Local Patterns](https://nextjs.org/docs/api-reference/next/image#localPatterns) */\n localPatterns: LocalPattern[] | undefined\n\n /** @see [Qualities](https://nextjs.org/docs/api-reference/next/image#qualities) */\n qualities: number[] | undefined\n\n /** @see [Unoptimized](https://nextjs.org/docs/api-reference/next/image#unoptimized) */\n unoptimized: boolean\n}\n\nexport type ImageConfig = Partial<ImageConfigComplete>\n\nexport const imageConfigDefault: ImageConfigComplete = {\n deviceSizes: [640, 750, 828, 1080, 1200, 1920, 2048, 3840],\n imageSizes: [32, 48, 64, 96, 128, 256, 384],\n path: '/_next/image',\n loader: 'default',\n loaderFile: '',\n /**\n * @deprecated Use `remotePatterns` instead to protect your application from malicious users.\n */\n domains: [],\n disableStaticImages: false,\n minimumCacheTTL: 14400, // 4 hours\n formats: ['image/webp'],\n maximumRedirects: 3,\n dangerouslyAllowLocalIP: false,\n dangerouslyAllowSVG: false,\n contentSecurityPolicy: `script-src 'none'; frame-src 'none'; sandbox;`,\n contentDispositionType: 'attachment',\n localPatterns: undefined, // default: allow all local images\n remotePatterns: [], // default: allow no remote images\n qualities: [75],\n unoptimized: false,\n}\n"],"names":["VALID_LOADERS","imageConfigDefault","deviceSizes","imageSizes","path","loader","loaderFile","domains","disableStaticImages","minimumCacheTTL","formats","maximumRedirects","dangerouslyAllowLocalIP","dangerouslyAllowSVG","contentSecurityPolicy","contentDispositionType","localPatterns","undefined","remotePatterns","qualities","unoptimized"],"mappings":";;;;;;;;;;;;;;IAAaA,aAAa,EAAA;eAAbA;;IAuIAC,kBAAkB,EAAA;eAAlBA;;;AAvIN,MAAMD,gBAAgB;IAC3B;IACA;IACA;IACA;IACA;CACD;AAiIM,MAAMC,qBAA0C;IACrDC,aAAa;QAAC;QAAK;QAAK;QAAK;QAAM;QAAM;QAAM;QAAM;KAAK;IAC1DC,YAAY;QAAC;QAAI;QAAI;QAAI;QAAI;QAAK;QAAK;KAAI;IAC3CC,MAAM;IACNC,QAAQ;IACRC,YAAY;IACZ;;GAEC,GACDC,SAAS,EAAE;IACXC,qBAAqB;IACrBC,iBAAiB;IACjBC,SAAS;QAAC;KAAa;IACvBC,kBAAkB;IAClBC,yBAAyB;IACzBC,qBAAqB;IACrBC,uBAAuB,CAAC,6CAA6C,CAAC;IACtEC,wBAAwB;IACxBC,eAAeC;IACfC,gBAAgB,EAAE;IAClBC,WAAW;QAAC;KAAG;IACfC,aAAa;AACf","ignoreList":[0]}}, - {"offset": {"line": 19811, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/shared/lib/get-img-props.ts"],"sourcesContent":["import { warnOnce } from './utils/warn-once'\nimport { getDeploymentId } from './deployment-id'\nimport { getImageBlurSvg } from './image-blur-svg'\nimport { imageConfigDefault } from './image-config'\nimport type {\n ImageConfigComplete,\n ImageLoaderProps,\n ImageLoaderPropsWithConfig,\n} from './image-config'\n\nimport type { CSSProperties, JSX } from 'react'\n\nexport interface StaticImageData {\n src: string\n height: number\n width: number\n blurDataURL?: string\n blurWidth?: number\n blurHeight?: number\n}\n\nexport interface StaticRequire {\n default: StaticImageData\n}\n\nexport type StaticImport = StaticRequire | StaticImageData\n\nexport type ImageProps = Omit<\n JSX.IntrinsicElements['img'],\n 'src' | 'srcSet' | 'ref' | 'alt' | 'width' | 'height' | 'loading'\n> & {\n src: string | StaticImport\n alt: string\n width?: number | `${number}`\n height?: number | `${number}`\n fill?: boolean\n loader?: ImageLoader\n quality?: number | `${number}`\n preload?: boolean\n /**\n * @deprecated Use `preload` prop instead.\n * See https://nextjs.org/docs/app/api-reference/components/image#preload\n */\n priority?: boolean\n loading?: LoadingValue\n placeholder?: PlaceholderValue\n blurDataURL?: string\n unoptimized?: boolean\n overrideSrc?: string\n /**\n * @deprecated Use `onLoad` instead.\n * @see https://nextjs.org/docs/app/api-reference/components/image#onload\n */\n onLoadingComplete?: OnLoadingComplete\n /**\n * @deprecated Use `fill` prop instead of `layout=\"fill\"` or change import to `next/legacy/image`.\n * @see https://nextjs.org/docs/api-reference/next/legacy/image\n */\n layout?: string\n /**\n * @deprecated Use `style` prop instead.\n */\n objectFit?: string\n /**\n * @deprecated Use `style` prop instead.\n */\n objectPosition?: string\n /**\n * @deprecated This prop does not do anything.\n */\n lazyBoundary?: string\n /**\n * @deprecated This prop does not do anything.\n */\n lazyRoot?: string\n}\n\nexport type ImgProps = Omit<ImageProps, 'src' | 'loader'> & {\n loading: LoadingValue\n width: number | undefined\n height: number | undefined\n style: NonNullable<JSX.IntrinsicElements['img']['style']>\n sizes: string | undefined\n srcSet: string | undefined\n src: string\n}\n\nconst VALID_LOADING_VALUES = ['lazy', 'eager', undefined] as const\n\n// Object-fit values that are not valid background-size values\nconst INVALID_BACKGROUND_SIZE_VALUES = [\n '-moz-initial',\n 'fill',\n 'none',\n 'scale-down',\n undefined,\n]\ntype LoadingValue = (typeof VALID_LOADING_VALUES)[number]\ntype ImageConfig = ImageConfigComplete & {\n allSizes: number[]\n output?: 'standalone' | 'export'\n}\n\nexport type ImageLoader = (p: ImageLoaderProps) => string\n\n// Do not export - this is an internal type only\n// because `next.config.js` is only meant for the\n// built-in loaders, not for a custom loader() prop.\ntype ImageLoaderWithConfig = (p: ImageLoaderPropsWithConfig) => string\n\nexport type PlaceholderValue = 'blur' | 'empty' | `data:image/${string}`\nexport type OnLoad = React.ReactEventHandler<HTMLImageElement> | undefined\nexport type OnLoadingComplete = (img: HTMLImageElement) => void\n\nexport type PlaceholderStyle = Partial<\n Pick<\n CSSProperties,\n | 'backgroundSize'\n | 'backgroundPosition'\n | 'backgroundRepeat'\n | 'backgroundImage'\n >\n>\n\nfunction isStaticRequire(\n src: StaticRequire | StaticImageData\n): src is StaticRequire {\n return (src as StaticRequire).default !== undefined\n}\n\nfunction isStaticImageData(\n src: StaticRequire | StaticImageData\n): src is StaticImageData {\n return (src as StaticImageData).src !== undefined\n}\n\nfunction isStaticImport(src: string | StaticImport): src is StaticImport {\n return (\n !!src &&\n typeof src === 'object' &&\n (isStaticRequire(src as StaticImport) ||\n isStaticImageData(src as StaticImport))\n )\n}\n\nconst allImgs = new Map<\n string,\n { src: string; loading: LoadingValue; placeholder: PlaceholderValue }\n>()\nlet perfObserver: PerformanceObserver | undefined\n\nfunction getInt(x: unknown): number | undefined {\n if (typeof x === 'undefined') {\n return x\n }\n if (typeof x === 'number') {\n return Number.isFinite(x) ? x : NaN\n }\n if (typeof x === 'string' && /^[0-9]+$/.test(x)) {\n return parseInt(x, 10)\n }\n return NaN\n}\n\nfunction getWidths(\n { deviceSizes, allSizes }: ImageConfig,\n width: number | undefined,\n sizes: string | undefined\n): { widths: number[]; kind: 'w' | 'x' } {\n if (sizes) {\n // Find all the \"vw\" percent sizes used in the sizes prop\n const viewportWidthRe = /(^|\\s)(1?\\d?\\d)vw/g\n const percentSizes = []\n for (let match; (match = viewportWidthRe.exec(sizes)); match) {\n percentSizes.push(parseInt(match[2]))\n }\n if (percentSizes.length) {\n const smallestRatio = Math.min(...percentSizes) * 0.01\n return {\n widths: allSizes.filter((s) => s >= deviceSizes[0] * smallestRatio),\n kind: 'w',\n }\n }\n return { widths: allSizes, kind: 'w' }\n }\n if (typeof width !== 'number') {\n return { widths: deviceSizes, kind: 'w' }\n }\n\n const widths = [\n ...new Set(\n // > This means that most OLED screens that say they are 3x resolution,\n // > are actually 3x in the green color, but only 1.5x in the red and\n // > blue colors. Showing a 3x resolution image in the app vs a 2x\n // > resolution image will be visually the same, though the 3x image\n // > takes significantly more data. Even true 3x resolution screens are\n // > wasteful as the human eye cannot see that level of detail without\n // > something like a magnifying glass.\n // https://blog.twitter.com/engineering/en_us/topics/infrastructure/2019/capping-image-fidelity-on-ultra-high-resolution-devices.html\n [width, width * 2 /*, width * 3*/].map(\n (w) => allSizes.find((p) => p >= w) || allSizes[allSizes.length - 1]\n )\n ),\n ]\n return { widths, kind: 'x' }\n}\n\ntype GenImgAttrsData = {\n config: ImageConfig\n src: string\n unoptimized: boolean\n loader: ImageLoaderWithConfig\n width?: number\n quality?: number\n sizes?: string\n}\n\ntype GenImgAttrsResult = {\n src: string\n srcSet: string | undefined\n sizes: string | undefined\n}\n\nfunction generateImgAttrs({\n config,\n src,\n unoptimized,\n width,\n quality,\n sizes,\n loader,\n}: GenImgAttrsData): GenImgAttrsResult {\n if (unoptimized) {\n const deploymentId = getDeploymentId()\n if (src.startsWith('/') && !src.startsWith('//') && deploymentId) {\n const sep = src.includes('?') ? '&' : '?'\n src = `${src}${sep}dpl=${deploymentId}`\n }\n return { src, srcSet: undefined, sizes: undefined }\n }\n\n const { widths, kind } = getWidths(config, width, sizes)\n const last = widths.length - 1\n\n return {\n sizes: !sizes && kind === 'w' ? '100vw' : sizes,\n srcSet: widths\n .map(\n (w, i) =>\n `${loader({ config, src, quality, width: w })} ${\n kind === 'w' ? w : i + 1\n }${kind}`\n )\n .join(', '),\n\n // It's intended to keep `src` the last attribute because React updates\n // attributes in order. If we keep `src` the first one, Safari will\n // immediately start to fetch `src`, before `sizes` and `srcSet` are even\n // updated by React. That causes multiple unnecessary requests if `srcSet`\n // and `sizes` are defined.\n // This bug cannot be reproduced in Chrome or Firefox.\n src: loader({ config, src, quality, width: widths[last] }),\n }\n}\n\n/**\n * A shared function, used on both client and server, to generate the props for <img>.\n */\nexport function getImgProps(\n {\n src,\n sizes,\n unoptimized = false,\n priority = false,\n preload = false,\n loading,\n className,\n quality,\n width,\n height,\n fill = false,\n style,\n overrideSrc,\n onLoad,\n onLoadingComplete,\n placeholder = 'empty',\n blurDataURL,\n fetchPriority,\n decoding = 'async',\n layout,\n objectFit,\n objectPosition,\n lazyBoundary,\n lazyRoot,\n ...rest\n }: ImageProps,\n _state: {\n defaultLoader: ImageLoaderWithConfig\n imgConf: ImageConfigComplete\n showAltText?: boolean\n blurComplete?: boolean\n }\n): {\n props: ImgProps\n meta: {\n unoptimized: boolean\n preload: boolean\n placeholder: NonNullable<ImageProps['placeholder']>\n fill: boolean\n }\n} {\n const { imgConf, showAltText, blurComplete, defaultLoader } = _state\n let config: ImageConfig\n let c = imgConf || imageConfigDefault\n if ('allSizes' in c) {\n config = c as ImageConfig\n } else {\n const allSizes = [...c.deviceSizes, ...c.imageSizes].sort((a, b) => a - b)\n const deviceSizes = c.deviceSizes.sort((a, b) => a - b)\n const qualities = c.qualities?.sort((a, b) => a - b)\n config = { ...c, allSizes, deviceSizes, qualities }\n }\n\n if (typeof defaultLoader === 'undefined') {\n throw new Error(\n 'images.loaderFile detected but the file is missing default export.\\nRead more: https://nextjs.org/docs/messages/invalid-images-config'\n )\n }\n let loader: ImageLoaderWithConfig = rest.loader || defaultLoader\n\n // Remove property so it's not spread on <img> element\n delete rest.loader\n delete (rest as any).srcSet\n\n // This special value indicates that the user\n // didn't define a \"loader\" prop or \"loader\" config.\n const isDefaultLoader = '__next_img_default' in loader\n\n if (isDefaultLoader) {\n if (config.loader === 'custom') {\n throw new Error(\n `Image with src \"${src}\" is missing \"loader\" prop.` +\n `\\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader`\n )\n }\n } else {\n // The user defined a \"loader\" prop or config.\n // Since the config object is internal only, we\n // must not pass it to the user-defined \"loader\".\n const customImageLoader = loader as ImageLoader\n loader = (obj) => {\n const { config: _, ...opts } = obj\n return customImageLoader(opts)\n }\n }\n\n if (layout) {\n if (layout === 'fill') {\n fill = true\n }\n const layoutToStyle: Record<string, Record<string, string> | undefined> = {\n intrinsic: { maxWidth: '100%', height: 'auto' },\n responsive: { width: '100%', height: 'auto' },\n }\n const layoutToSizes: Record<string, string | undefined> = {\n responsive: '100vw',\n fill: '100vw',\n }\n const layoutStyle = layoutToStyle[layout]\n if (layoutStyle) {\n style = { ...style, ...layoutStyle }\n }\n const layoutSizes = layoutToSizes[layout]\n if (layoutSizes && !sizes) {\n sizes = layoutSizes\n }\n }\n\n let staticSrc = ''\n let widthInt = getInt(width)\n let heightInt = getInt(height)\n let blurWidth: number | undefined\n let blurHeight: number | undefined\n if (isStaticImport(src)) {\n const staticImageData = isStaticRequire(src) ? src.default : src\n\n if (!staticImageData.src) {\n throw new Error(\n `An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(\n staticImageData\n )}`\n )\n }\n if (!staticImageData.height || !staticImageData.width) {\n throw new Error(\n `An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(\n staticImageData\n )}`\n )\n }\n\n blurWidth = staticImageData.blurWidth\n blurHeight = staticImageData.blurHeight\n blurDataURL = blurDataURL || staticImageData.blurDataURL\n staticSrc = staticImageData.src\n\n if (!fill) {\n if (!widthInt && !heightInt) {\n widthInt = staticImageData.width\n heightInt = staticImageData.height\n } else if (widthInt && !heightInt) {\n const ratio = widthInt / staticImageData.width\n heightInt = Math.round(staticImageData.height * ratio)\n } else if (!widthInt && heightInt) {\n const ratio = heightInt / staticImageData.height\n widthInt = Math.round(staticImageData.width * ratio)\n }\n }\n }\n src = typeof src === 'string' ? src : staticSrc\n\n let isLazy =\n !priority &&\n !preload &&\n (loading === 'lazy' || typeof loading === 'undefined')\n if (!src || src.startsWith('data:') || src.startsWith('blob:')) {\n // https://developer.mozilla.org/docs/Web/HTTP/Basics_of_HTTP/Data_URIs\n unoptimized = true\n isLazy = false\n }\n if (config.unoptimized) {\n unoptimized = true\n }\n if (\n isDefaultLoader &&\n !config.dangerouslyAllowSVG &&\n src.split('?', 1)[0].endsWith('.svg')\n ) {\n // Special case to make svg serve as-is to avoid proxying\n // through the built-in Image Optimization API.\n unoptimized = true\n }\n\n const qualityInt = getInt(quality)\n\n if (process.env.NODE_ENV !== 'production') {\n if (config.output === 'export' && isDefaultLoader && !unoptimized) {\n throw new Error(\n `Image Optimization using the default loader is not compatible with \\`{ output: 'export' }\\`.\n Possible solutions:\n - Remove \\`{ output: 'export' }\\` and run \"next start\" to run server mode including the Image Optimization API.\n - Configure \\`{ images: { unoptimized: true } }\\` in \\`next.config.js\\` to disable the Image Optimization API.\n Read more: https://nextjs.org/docs/messages/export-image-api`\n )\n }\n if (!src) {\n // React doesn't show the stack trace and there's\n // no `src` to help identify which image, so we\n // instead console.error(ref) during mount.\n unoptimized = true\n } else {\n if (fill) {\n if (width) {\n throw new Error(\n `Image with src \"${src}\" has both \"width\" and \"fill\" properties. Only one should be used.`\n )\n }\n if (height) {\n throw new Error(\n `Image with src \"${src}\" has both \"height\" and \"fill\" properties. Only one should be used.`\n )\n }\n if (style?.position && style.position !== 'absolute') {\n throw new Error(\n `Image with src \"${src}\" has both \"fill\" and \"style.position\" properties. Images with \"fill\" always use position absolute - it cannot be modified.`\n )\n }\n if (style?.width && style.width !== '100%') {\n throw new Error(\n `Image with src \"${src}\" has both \"fill\" and \"style.width\" properties. Images with \"fill\" always use width 100% - it cannot be modified.`\n )\n }\n if (style?.height && style.height !== '100%') {\n throw new Error(\n `Image with src \"${src}\" has both \"fill\" and \"style.height\" properties. Images with \"fill\" always use height 100% - it cannot be modified.`\n )\n }\n } else {\n if (typeof widthInt === 'undefined') {\n throw new Error(\n `Image with src \"${src}\" is missing required \"width\" property.`\n )\n } else if (isNaN(widthInt)) {\n throw new Error(\n `Image with src \"${src}\" has invalid \"width\" property. Expected a numeric value in pixels but received \"${width}\".`\n )\n }\n if (typeof heightInt === 'undefined') {\n throw new Error(\n `Image with src \"${src}\" is missing required \"height\" property.`\n )\n } else if (isNaN(heightInt)) {\n throw new Error(\n `Image with src \"${src}\" has invalid \"height\" property. Expected a numeric value in pixels but received \"${height}\".`\n )\n }\n // eslint-disable-next-line no-control-regex\n if (/^[\\x00-\\x20]/.test(src)) {\n throw new Error(\n `Image with src \"${src}\" cannot start with a space or control character. Use src.trimStart() to remove it or encodeURIComponent(src) to keep it.`\n )\n }\n // eslint-disable-next-line no-control-regex\n if (/[\\x00-\\x20]$/.test(src)) {\n throw new Error(\n `Image with src \"${src}\" cannot end with a space or control character. Use src.trimEnd() to remove it or encodeURIComponent(src) to keep it.`\n )\n }\n }\n }\n if (!VALID_LOADING_VALUES.includes(loading)) {\n throw new Error(\n `Image with src \"${src}\" has invalid \"loading\" property. Provided \"${loading}\" should be one of ${VALID_LOADING_VALUES.map(\n String\n ).join(',')}.`\n )\n }\n if (priority && loading === 'lazy') {\n throw new Error(\n `Image with src \"${src}\" has both \"priority\" and \"loading='lazy'\" properties. Only one should be used.`\n )\n }\n if (preload && loading === 'lazy') {\n throw new Error(\n `Image with src \"${src}\" has both \"preload\" and \"loading='lazy'\" properties. Only one should be used.`\n )\n }\n if (preload && priority) {\n throw new Error(\n `Image with src \"${src}\" has both \"preload\" and \"priority\" properties. Only \"preload\" should be used.`\n )\n }\n if (\n placeholder !== 'empty' &&\n placeholder !== 'blur' &&\n !placeholder.startsWith('data:image/')\n ) {\n throw new Error(\n `Image with src \"${src}\" has invalid \"placeholder\" property \"${placeholder}\".`\n )\n }\n if (placeholder !== 'empty') {\n if (widthInt && heightInt && widthInt * heightInt < 1600) {\n warnOnce(\n `Image with src \"${src}\" is smaller than 40x40. Consider removing the \"placeholder\" property to improve performance.`\n )\n }\n }\n if (\n qualityInt &&\n config.qualities &&\n !config.qualities.includes(qualityInt)\n ) {\n warnOnce(\n `Image with src \"${src}\" is using quality \"${qualityInt}\" which is not configured in images.qualities [${config.qualities.join(', ')}]. Please update your config to [${[...config.qualities, qualityInt].sort().join(', ')}].` +\n `\\nRead more: https://nextjs.org/docs/messages/next-image-unconfigured-qualities`\n )\n }\n if (placeholder === 'blur' && !blurDataURL) {\n const VALID_BLUR_EXT = ['jpeg', 'png', 'webp', 'avif'] // should match next-image-loader\n\n throw new Error(\n `Image with src \"${src}\" has \"placeholder='blur'\" property but is missing the \"blurDataURL\" property.\n Possible solutions:\n - Add a \"blurDataURL\" property, the contents should be a small Data URL to represent the image\n - Change the \"src\" property to a static import with one of the supported file types: ${VALID_BLUR_EXT.join(\n ','\n )} (animated images not supported)\n - Remove the \"placeholder\" property, effectively no blur effect\n Read more: https://nextjs.org/docs/messages/placeholder-blur-data-url`\n )\n }\n if ('ref' in rest) {\n warnOnce(\n `Image with src \"${src}\" is using unsupported \"ref\" property. Consider using the \"onLoad\" property instead.`\n )\n }\n\n if (!unoptimized && !isDefaultLoader) {\n const urlStr = loader({\n config,\n src,\n width: widthInt || 400,\n quality: qualityInt || 75,\n })\n let url: URL | undefined\n try {\n url = new URL(urlStr)\n } catch (err) {}\n if (urlStr === src || (url && url.pathname === src && !url.search)) {\n warnOnce(\n `Image with src \"${src}\" has a \"loader\" property that does not implement width. Please implement it or use the \"unoptimized\" property instead.` +\n `\\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader-width`\n )\n }\n }\n\n if (onLoadingComplete) {\n warnOnce(\n `Image with src \"${src}\" is using deprecated \"onLoadingComplete\" property. Please use the \"onLoad\" property instead.`\n )\n }\n\n for (const [legacyKey, legacyValue] of Object.entries({\n layout,\n objectFit,\n objectPosition,\n lazyBoundary,\n lazyRoot,\n })) {\n if (legacyValue) {\n warnOnce(\n `Image with src \"${src}\" has legacy prop \"${legacyKey}\". Did you forget to run the codemod?` +\n `\\nRead more: https://nextjs.org/docs/messages/next-image-upgrade-to-13`\n )\n }\n }\n\n if (\n typeof window !== 'undefined' &&\n !perfObserver &&\n window.PerformanceObserver\n ) {\n perfObserver = new PerformanceObserver((entryList) => {\n for (const entry of entryList.getEntries()) {\n // @ts-ignore - missing \"LargestContentfulPaint\" class with \"element\" prop\n const imgSrc = entry?.element?.src || ''\n const lcpImage = allImgs.get(imgSrc)\n if (\n lcpImage &&\n lcpImage.loading === 'lazy' &&\n lcpImage.placeholder === 'empty' &&\n !lcpImage.src.startsWith('data:') &&\n !lcpImage.src.startsWith('blob:')\n ) {\n // https://web.dev/lcp/#measure-lcp-in-javascript\n warnOnce(\n `Image with src \"${lcpImage.src}\" was detected as the Largest Contentful Paint (LCP). Please add the \\`loading=\"eager\"\\` property if this image is above the fold.` +\n `\\nRead more: https://nextjs.org/docs/app/api-reference/components/image#loading`\n )\n }\n }\n })\n try {\n perfObserver.observe({\n type: 'largest-contentful-paint',\n buffered: true,\n })\n } catch (err) {\n // Log error but don't crash the app\n console.error(err)\n }\n }\n }\n const imgStyle = Object.assign(\n fill\n ? {\n position: 'absolute',\n height: '100%',\n width: '100%',\n left: 0,\n top: 0,\n right: 0,\n bottom: 0,\n objectFit,\n objectPosition,\n }\n : {},\n showAltText ? {} : { color: 'transparent' },\n style\n )\n\n const backgroundImage =\n !blurComplete && placeholder !== 'empty'\n ? placeholder === 'blur'\n ? `url(\"data:image/svg+xml;charset=utf-8,${getImageBlurSvg({\n widthInt,\n heightInt,\n blurWidth,\n blurHeight,\n blurDataURL: blurDataURL || '', // assume not undefined\n objectFit: imgStyle.objectFit,\n })}\")`\n : `url(\"${placeholder}\")` // assume `data:image/`\n : null\n\n const backgroundSize = !INVALID_BACKGROUND_SIZE_VALUES.includes(\n imgStyle.objectFit\n )\n ? imgStyle.objectFit\n : imgStyle.objectFit === 'fill'\n ? '100% 100%' // the background-size equivalent of `fill`\n : 'cover'\n\n let placeholderStyle: PlaceholderStyle = backgroundImage\n ? {\n backgroundSize,\n backgroundPosition: imgStyle.objectPosition || '50% 50%',\n backgroundRepeat: 'no-repeat',\n backgroundImage,\n }\n : {}\n\n if (process.env.NODE_ENV === 'development') {\n if (\n placeholderStyle.backgroundImage &&\n placeholder === 'blur' &&\n blurDataURL?.startsWith('/')\n ) {\n // During `next dev`, we don't want to generate blur placeholders with webpack\n // because it can delay starting the dev server. Instead, `next-image-loader.js`\n // will inline a special url to lazily generate the blur placeholder at request time.\n placeholderStyle.backgroundImage = `url(\"${blurDataURL}\")`\n }\n }\n\n const imgAttributes = generateImgAttrs({\n config,\n src,\n unoptimized,\n width: widthInt,\n quality: qualityInt,\n sizes,\n loader,\n })\n\n const loadingFinal = isLazy ? 'lazy' : loading\n\n if (process.env.NODE_ENV !== 'production') {\n if (typeof window !== 'undefined') {\n let fullUrl: URL\n try {\n fullUrl = new URL(imgAttributes.src)\n } catch (e) {\n fullUrl = new URL(imgAttributes.src, window.location.href)\n }\n allImgs.set(fullUrl.href, { src, loading: loadingFinal, placeholder })\n }\n }\n\n const props: ImgProps = {\n ...rest,\n loading: loadingFinal,\n fetchPriority,\n width: widthInt,\n height: heightInt,\n decoding,\n className,\n style: { ...imgStyle, ...placeholderStyle },\n sizes: imgAttributes.sizes,\n srcSet: imgAttributes.srcSet,\n src: overrideSrc || imgAttributes.src,\n }\n const meta = { unoptimized, preload: preload || priority, placeholder, fill }\n return { props, meta }\n}\n"],"names":["getImgProps","VALID_LOADING_VALUES","undefined","INVALID_BACKGROUND_SIZE_VALUES","isStaticRequire","src","default","isStaticImageData","isStaticImport","allImgs","Map","perfObserver","getInt","x","Number","isFinite","NaN","test","parseInt","getWidths","deviceSizes","allSizes","width","sizes","viewportWidthRe","percentSizes","match","exec","push","length","smallestRatio","Math","min","widths","filter","s","kind","Set","map","w","find","p","generateImgAttrs","config","unoptimized","quality","loader","deploymentId","getDeploymentId","startsWith","sep","includes","srcSet","last","i","join","priority","preload","loading","className","height","fill","style","overrideSrc","onLoad","onLoadingComplete","placeholder","blurDataURL","fetchPriority","decoding","layout","objectFit","objectPosition","lazyBoundary","lazyRoot","rest","_state","imgConf","showAltText","blurComplete","defaultLoader","c","imageConfigDefault","imageSizes","sort","a","b","qualities","Error","isDefaultLoader","customImageLoader","obj","_","opts","layoutToStyle","intrinsic","maxWidth","responsive","layoutToSizes","layoutStyle","layoutSizes","staticSrc","widthInt","heightInt","blurWidth","blurHeight","staticImageData","JSON","stringify","ratio","round","isLazy","dangerouslyAllowSVG","split","endsWith","qualityInt","process","env","NODE_ENV","output","position","isNaN","String","warnOnce","VALID_BLUR_EXT","urlStr","url","URL","err","pathname","search","legacyKey","legacyValue","Object","entries","window","PerformanceObserver","entryList","entry","getEntries","imgSrc","element","lcpImage","get","observe","type","buffered","console","error","imgStyle","assign","left","top","right","bottom","color","backgroundImage","getImageBlurSvg","backgroundSize","placeholderStyle","backgroundPosition","backgroundRepeat","imgAttributes","loadingFinal","fullUrl","e","location","href","set","props","meta"],"mappings":"AA6bMoH,QAAQC,GAAG,CAACC,QAAQ,KAAK;;;;;+BAjLftH,eAAAA;;;eAAAA;;;0BA5QS;8BACO;8BACA;6BACG;AAoFnC,MAAMC,uBAAuB;IAAC;IAAQ;IAASC;CAAU;AAEzD,8DAA8D;AAC9D,MAAMC,iCAAiC;IACrC;IACA;IACA;IACA;IACAD;CACD;AA4BD,SAASE,gBACPC,GAAoC;IAEpC,OAAQA,IAAsBC,OAAO,KAAKJ;AAC5C;AAEA,SAASK,kBACPF,GAAoC;IAEpC,OAAQA,IAAwBA,GAAG,KAAKH;AAC1C;AAEA,SAASM,eAAeH,GAA0B;IAChD,OACE,CAAC,CAACA,OACF,OAAOA,QAAQ,YACdD,CAAAA,gBAAgBC,QACfE,kBAAkBF,IAAmB;AAE3C;AAEA,MAAMI,UAAU,IAAIC;AAIpB,IAAIC;AAEJ,SAASC,OAAOC,CA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AAE,GAAGuF,QAAQ;YAAE,GAAGU,gBAAgB;QAAC;QAC1CxI,OAAO2I,cAAc3I,KAAK;QAC1B6B,QAAQ8G,cAAc9G,MAAM;QAC5B/C,KAAK0D,eAAemG,cAAc7J,GAAG;IACvC;IACA,MAAMqK,OAAO;QAAE9H;QAAaa,SAASA,WAAWD;QAAUU;QAAaL;IAAK;IAC5E,OAAO;QAAE4G;QAAOC;IAAK;AACvB","ignoreList":[0]}}, - {"offset": {"line": 20392, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/shared/lib/side-effect.tsx"],"sourcesContent":["import type React from 'react'\nimport { Children, useEffect, useLayoutEffect, type JSX } from 'react'\n\ntype State = JSX.Element[] | undefined\n\nexport type SideEffectProps = {\n reduceComponentsToState: (components: Array<React.ReactElement<any>>) => State\n handleStateChange?: (state: State) => void\n headManager: any\n children: React.ReactNode\n}\n\nconst isServer = typeof window === 'undefined'\nconst useClientOnlyLayoutEffect = isServer ? () => {} : useLayoutEffect\nconst useClientOnlyEffect = isServer ? () => {} : useEffect\n\nexport default function SideEffect(props: SideEffectProps) {\n const { headManager, reduceComponentsToState } = props\n\n function emitChange() {\n if (headManager && headManager.mountedInstances) {\n const headElements = Children.toArray(\n Array.from(headManager.mountedInstances as Set<React.ReactNode>).filter(\n Boolean\n )\n ) as React.ReactElement[]\n headManager.updateHead(reduceComponentsToState(headElements))\n }\n }\n\n if (isServer) {\n headManager?.mountedInstances?.add(props.children)\n emitChange()\n }\n\n useClientOnlyLayoutEffect(() => {\n headManager?.mountedInstances?.add(props.children)\n return () => {\n headManager?.mountedInstances?.delete(props.children)\n }\n })\n\n // We need to call `updateHead` method whenever the `SideEffect` is trigger in all\n // life-cycles: mount, update, unmount. However, if there are multiple `SideEffect`s\n // being rendered, we only trigger the method from the last one.\n // This is ensured by keeping the last unflushed `updateHead` in the `_pendingUpdate`\n // singleton in the layout effect pass, and actually trigger it in the effect pass.\n useClientOnlyLayoutEffect(() => {\n if (headManager) {\n headManager._pendingUpdate = emitChange\n }\n return () => {\n if (headManager) {\n headManager._pendingUpdate = emitChange\n }\n }\n })\n\n useClientOnlyEffect(() => {\n if (headManager && headManager._pendingUpdate) {\n headManager._pendingUpdate()\n headManager._pendingUpdate = null\n }\n return () => {\n if (headManager && headManager._pendingUpdate) {\n headManager._pendingUpdate()\n headManager._pendingUpdate = null\n }\n }\n })\n\n return null\n}\n"],"names":["SideEffect","isServer","window","useClientOnlyLayoutEffect","useLayoutEffect","useClientOnlyEffect","useEffect","props","headManager","reduceComponentsToState","emitChange","mountedInstances","headElements","Children","toArray","Array","from","filter","Boolean","updateHead","add","children","delete","_pendingUpdate"],"mappings":";;;+BAgBA,WAAA;;;eAAwBA;;;uBAfuC;AAW/D,MAAMC,WAAW,OAAOC,WAAW;AACnC,MAAMC,4BAA4BF,WAAW,KAAO,IAAIG,OAAAA,eAAe;AACvE,MAAMC,sBAAsBJ,WAAW,KAAO,IAAIK,OAAAA,SAAS;AAE5C,SAASN,WAAWO,KAAsB;IACvD,MAAM,EAAEC,WAAW,EAAEC,uBAAuB,EAAE,GAAGF;IAEjD,SAASG;QACP,IAAIF,eAAeA,YAAYG,gBAAgB,EAAE;YAC/C,MAAMC,eAAeC,OAAAA,QAAQ,CAACC,OAAO,CACnCC,MAAMC,IAAI,CAACR,YAAYG,gBAAgB,EAA0BM,MAAM,CACrEC;YAGJV,YAAYW,UAAU,CAACV,wBAAwBG;QACjD;IACF;IAEA,IAAIX,UAAU;QACZO,aAAaG,kBAAkBS,IAAIb,MAAMc,QAAQ;QACjDX;IACF;IAEAP;gDAA0B;YACxBK,aAAaG,kBAAkBS,IAAIb,MAAMc,QAAQ;YACjD;wDAAO;oBACLb,aAAaG,kBAAkBW,OAAOf,MAAMc,QAAQ;gBACtD;;QACF;;IAEA,kFAAkF;IAClF,oFAAoF;IACpF,gEAAgE;IAChE,qFAAqF;IACrF,mFAAmF;IACnFlB;gDAA0B;YACxB,IAAIK,aAAa;gBACfA,YAAYe,cAAc,GAAGb;YAC/B;YACA;wDAAO;oBACL,IAAIF,aAAa;wBACfA,YAAYe,cAAc,GAAGb;oBAC/B;gBACF;;QACF;;IAEAL;0CAAoB;YAClB,IAAIG,eAAeA,YAAYe,cAAc,EAAE;gBAC7Cf,YAAYe,cAAc;gBAC1Bf,YAAYe,cAAc,GAAG;YAC/B;YACA;kDAAO;oBACL,IAAIf,eAAeA,YAAYe,cAAc,EAAE;wBAC7Cf,YAAYe,cAAc;wBAC1Bf,YAAYe,cAAc,GAAG;oBAC/B;gBACF;;QACF;;IAEA,OAAO;AACT","ignoreList":[0]}}, - {"offset": {"line": 20468, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/shared/lib/head.tsx"],"sourcesContent":["'use client'\n\nimport React, { useContext, type JSX } from 'react'\nimport Effect from './side-effect'\nimport { HeadManagerContext } from './head-manager-context.shared-runtime'\nimport { warnOnce } from './utils/warn-once'\n\nexport function defaultHead(): JSX.Element[] {\n const head = [\n <meta charSet=\"utf-8\" key=\"charset\" />,\n <meta name=\"viewport\" content=\"width=device-width\" key=\"viewport\" />,\n ]\n return head\n}\n\nfunction onlyReactElement(\n list: Array<React.ReactElement<any>>,\n child: React.ReactElement | number | string\n): Array<React.ReactElement<any>> {\n // React children can be \"string\" or \"number\" in this case we ignore them for backwards compat\n if (typeof child === 'string' || typeof child === 'number') {\n return list\n }\n // Adds support for React.Fragment\n if (child.type === React.Fragment) {\n return list.concat(\n // @ts-expect-error @types/react does not remove fragments but this could also return ReactPortal[]\n React.Children.toArray(child.props.children).reduce(\n // @ts-expect-error @types/react does not remove fragments but this could also return ReactPortal[]\n (\n fragmentList: Array<React.ReactElement<any>>,\n fragmentChild: React.ReactElement | number | string\n ): Array<React.ReactElement<any>> => {\n if (\n typeof fragmentChild === 'string' ||\n typeof fragmentChild === 'number'\n ) {\n return fragmentList\n }\n return fragmentList.concat(fragmentChild)\n },\n []\n )\n )\n }\n return list.concat(child)\n}\n\nconst METATYPES = ['name', 'httpEquiv', 'charSet', 'itemProp']\n\n/*\n returns a function for filtering head child elements\n which shouldn't be duplicated, like <title/>\n Also adds support for deduplicated `key` properties\n*/\nfunction unique() {\n const keys = new Set()\n const tags = new Set()\n const metaTypes = new Set()\n const metaCategories: { [metatype: string]: Set<string> } = {}\n\n return (h: React.ReactElement<any>) => {\n let isUnique = true\n let hasKey = false\n\n if (h.key && typeof h.key !== 'number' && h.key.indexOf('$') > 0) {\n hasKey = true\n const key = h.key.slice(h.key.indexOf('$') + 1)\n if (keys.has(key)) {\n isUnique = false\n } else {\n keys.add(key)\n }\n }\n\n // eslint-disable-next-line default-case\n switch (h.type) {\n case 'title':\n case 'base':\n if (tags.has(h.type)) {\n isUnique = false\n } else {\n tags.add(h.type)\n }\n break\n case 'meta':\n for (let i = 0, len = METATYPES.length; i < len; i++) {\n const metatype = METATYPES[i]\n if (!h.props.hasOwnProperty(metatype)) continue\n\n if (metatype === 'charSet') {\n if (metaTypes.has(metatype)) {\n isUnique = false\n } else {\n metaTypes.add(metatype)\n }\n } else {\n const category = h.props[metatype]\n const categories = metaCategories[metatype] || new Set()\n if ((metatype !== 'name' || !hasKey) && categories.has(category)) {\n isUnique = false\n } else {\n categories.add(category)\n metaCategories[metatype] = categories\n }\n }\n }\n break\n }\n\n return isUnique\n }\n}\n\n/**\n *\n * @param headChildrenElements List of children of <Head>\n */\nfunction reduceComponents(\n headChildrenElements: Array<React.ReactElement<any>>\n) {\n return headChildrenElements\n .reduce(onlyReactElement, [])\n .reverse()\n .concat(defaultHead().reverse())\n .filter(unique())\n .reverse()\n .map((c: React.ReactElement<any>, i: number) => {\n const key = c.key || i\n if (process.env.NODE_ENV === 'development') {\n // omit JSON-LD structured data snippets from the warning\n if (c.type === 'script' && c.props['type'] !== 'application/ld+json') {\n const srcMessage = c.props['src']\n ? `<script> tag with src=\"${c.props['src']}\"`\n : `inline <script>`\n warnOnce(\n `Do not add <script> tags using next/head (see ${srcMessage}). Use next/script instead. \\nSee more info here: https://nextjs.org/docs/messages/no-script-tags-in-head-component`\n )\n } else if (c.type === 'link' && c.props['rel'] === 'stylesheet') {\n warnOnce(\n `Do not add stylesheets using next/head (see <link rel=\"stylesheet\"> tag with href=\"${c.props['href']}\"). Use Document instead. \\nSee more info here: https://nextjs.org/docs/messages/no-stylesheets-in-head-component`\n )\n }\n }\n return React.cloneElement(c, { key })\n })\n}\n\n/**\n * This component injects elements to `<head>` of your page.\n * To avoid duplicated `tags` in `<head>` you can use the `key` property, which will make sure every tag is only rendered once.\n */\nfunction Head({ children }: { children: React.ReactNode }) {\n const headManager = useContext(HeadManagerContext)\n return (\n <Effect\n reduceComponentsToState={reduceComponents}\n headManager={headManager}\n >\n {children}\n </Effect>\n )\n}\n\nexport default Head\n"],"names":["defaultHead","head","meta","charSet","name","content","onlyReactElement","list","child","type","React","Fragment","concat","Children","toArray","props","children","reduce","fragmentList","fragmentChild","METATYPES","unique","keys","Set","tags","metaTypes","metaCategories","h","isUnique","hasKey","key","indexOf","slice","has","add","i","len","length","metatype","hasOwnProperty","category","categories","reduceComponents","headChildrenElements","reverse","filter","map","c","process","env","NODE_ENV","srcMessage","warnOnce","cloneElement","Head","headManager","useContext","HeadManagerContext","Effect","reduceComponentsToState"],"mappings":"AAiIUgD,QAAQC,GAAG,CAACC,QAAQ,KAAK;AAjInC;;;;;;;;;;;;;;;;IAoKA,OAAmB,EAAA;eAAnB;;IA7JgBlD,WAAW,EAAA;eAAXA;;;;;;iEAL4B;qEACzB;iDACgB;0BACV;AAElB,SAASA;IACd,MAAMC,OAAO;sBACX,CAAA,GAAA,YAAA,GAAA,EAACC,QAAAA;YAAKC,SAAQ;WAAY;sBAC1B,CAAA,GAAA,YAAA,GAAA,EAACD,QAAAA;YAAKE,MAAK;YAAWC,SAAQ;WAAyB;KACxD;IACD,OAAOJ;AACT;AAEA,SAASK,iBACPC,IAAoC,EACpCC,KAA2C;IAE3C,8FAA8F;IAC9F,IAAI,O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mH,CAAC;YAEpL,OAAO,IAAIJ,EAAEtC,IAAI,KAAK,UAAUsC,EAAEhC,KAAK,CAAC,MAAM,KAAK,cAAc;gBAC/DqC,CAAAA,GAAAA,UAAAA,QAAQ,EACN,CAAC,mFAAmF,EAAEL,EAAEhC,KAAK,CAAC,OAAO,CAAC,iHAAiH,CAAC;YAE5N;QACF;QACA,OAAA,WAAA,GAAOL,OAAAA,OAAK,CAAC2C,YAAY,CAACN,GAAG;YAAEjB;QAAI;IACrC;AACJ;AAEA;;;CAGC,GACD,SAASwB,KAAK,EAAEtC,QAAQ,EAAiC;IACvD,MAAMuC,cAAcC,CAAAA,GAAAA,OAAAA,UAAU,EAACC,iCAAAA,kBAAkB;IACjD,OAAA,WAAA,GACE,CAAA,GAAA,YAAA,GAAA,EAACC,YAAAA,OAAM,EAAA;QACLC,yBAAyBjB;QACzBa,aAAaA;kBAEZvC;;AAGP;MAEA,WAAesC","ignoreList":[0]}}, - {"offset": {"line": 20633, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/shared/lib/image-config-context.shared-runtime.ts"],"sourcesContent":["import React from 'react'\nimport type { ImageConfigComplete } from './image-config'\nimport { imageConfigDefault } from './image-config'\n\nexport const ImageConfigContext =\n React.createContext<ImageConfigComplete>(imageConfigDefault)\n\nif (process.env.NODE_ENV !== 'production') {\n ImageConfigContext.displayName = 'ImageConfigContext'\n}\n"],"names":["ImageConfigContext","React","createContext","imageConfigDefault","process","env","NODE_ENV","displayName"],"mappings":"AAOII,QAAQC,GAAG,CAACC,QAAQ,KAAK;;;;;+BAHhBN,sBAAAA;;;eAAAA;;;;gEAJK;6BAEiB;AAE5B,MAAMA,qBACXC,OAAAA,OAAK,CAACC,aAAa,CAAsBC,aAAAA,kBAAkB;AAE7D,wCAA2C;IACzCH,mBAAmBO,WAAW,GAAG;AACnC","ignoreList":[0]}}, - {"offset": {"line": 20655, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/shared/lib/router-context.shared-runtime.ts"],"sourcesContent":["import React from 'react'\nimport type { NextRouter } from './router/router'\n\nexport const RouterContext = React.createContext<NextRouter | null>(null)\n\nif (process.env.NODE_ENV !== 'production') {\n RouterContext.displayName = 'RouterContext'\n}\n"],"names":["RouterContext","React","createContext","process","env","NODE_ENV","displayName"],"mappings":"AAKIG,QAAQC,GAAG,CAACC,QAAQ,KAAK;;;;;+BAFhBL,iBAAAA;;;eAAAA;;;;gEAHK;AAGX,MAAMA,gBAAgBC,OAAAA,OAAK,CAACC,aAAa,CAAoB;AAEpE,wCAA2C;IACzCF,cAAcM,WAAW,GAAG;AAC9B","ignoreList":[0]}}, - {"offset": {"line": 20676, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/shared/lib/find-closest-quality.ts"],"sourcesContent":["import type { NextConfig } from '../../server/config-shared'\n\n/**\n * Find the closest matching `quality` in the list of `config.qualities`\n * @param quality the quality prop passed to the image component\n * @param config the \"images\" configuration from next.config.js\n * @returns the closest matching quality value\n */\nexport function findClosestQuality(\n quality: number | undefined,\n config: NextConfig['images'] | undefined\n): number {\n const q = quality || 75\n if (!config?.qualities?.length) {\n return q\n }\n return config.qualities.reduce(\n (prev, cur) => (Math.abs(cur - q) < Math.abs(prev - q) ? cur : prev),\n 0\n )\n}\n"],"names":["findClosestQuality","quality","config","q","qualities","length","reduce","prev","cur","Math","abs"],"mappings":";;;+BAQgBA,sBAAAA;;;eAAAA;;;AAAT,SAASA,mBACdC,OAA2B,EAC3BC,MAAwC;IAExC,MAAMC,IAAIF,WAAW;IACrB,IAAI,CAACC,QAAQE,WAAWC,QAAQ;QAC9B,OAAOF;IACT;IACA,OAAOD,OAAOE,SAAS,CAACE,MAAM,CAC5B,CAACC,MAAMC,MAASC,KAAKC,GAAG,CAACF,MAAML,KAAKM,KAAKC,GAAG,CAACH,OAAOJ,KAAKK,MAAMD,MAC/D;AAEJ","ignoreList":[0]}}, - {"offset": {"line": 20695, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/dist/compiled/picomatch/index.js"],"sourcesContent":["(()=>{\"use strict\";var t={170:(t,e,u)=>{const n=u(510);const isWindows=()=>{if(typeof navigator!==\"undefined\"&&navigator.platform){const t=navigator.platform.toLowerCase();return t===\"win32\"||t===\"windows\"}if(typeof process!==\"undefined\"&&process.platform){return process.platform===\"win32\"}return false};function picomatch(t,e,u=false){if(e&&(e.windows===null||e.windows===undefined)){e={...e,windows:isWindows()}}return n(t,e,u)}Object.assign(picomatch,n);t.exports=picomatch},154:t=>{const e=\"\\\\\\\\/\";const u=`[^${e}]`;const n=\"\\\\.\";const o=\"\\\\+\";const s=\"\\\\?\";const r=\"\\\\/\";const a=\"(?=.)\";const i=\"[^/]\";const c=`(?:${r}|$)`;const p=`(?:^|${r})`;const l=`${n}{1,2}${c}`;const f=`(?!${n})`;const A=`(?!${p}${l})`;const _=`(?!${n}{0,1}${c})`;const R=`(?!${l})`;const E=`[^.${r}]`;const h=`${i}*?`;const g=\"/\";const b={DOT_LITERAL:n,PLUS_LITERAL:o,QMARK_LITERAL:s,SLASH_LITERAL:r,ONE_CHAR:a,QMARK:i,END_ANCHOR:c,DOTS_SLASH:l,NO_DOT:f,NO_DOTS:A,NO_DOT_SLASH:_,NO_DOTS_SLASH:R,QMARK_NO_DOT:E,STAR:h,START_ANCHOR:p,SEP:g};const C={...b,SLASH_LITERAL:`[${e}]`,QMARK:u,STAR:`${u}*?`,DOTS_SLASH:`${n}{1,2}(?:[${e}]|$)`,NO_DOT:`(?!${n})`,NO_DOTS:`(?!(?:^|[${e}])${n}{1,2}(?:[${e}]|$))`,NO_DOT_SLASH:`(?!${n}{0,1}(?:[${e}]|$))`,NO_DOTS_SLASH:`(?!${n}{1,2}(?:[${e}]|$))`,QMARK_NO_DOT:`[^.${e}]`,START_ANCHOR:`(?:^|[${e}])`,END_ANCHOR:`(?:[${e}]|$)`,SEP:\"\\\\\"};const y={alnum:\"a-zA-Z0-9\",alpha:\"a-zA-Z\",ascii:\"\\\\x00-\\\\x7F\",blank:\" \\\\t\",cntrl:\"\\\\x00-\\\\x1F\\\\x7F\",digit:\"0-9\",graph:\"\\\\x21-\\\\x7E\",lower:\"a-z\",print:\"\\\\x20-\\\\x7E \",punct:\"\\\\-!\\\"#$%&'()\\\\*+,./:;<=>?@[\\\\]^_`{|}~\",space:\" \\\\t\\\\r\\\\n\\\\v\\\\f\",upper:\"A-Z\",word:\"A-Za-z0-9_\",xdigit:\"A-Fa-f0-9\"};t.exports={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:y,REGEX_BACKSLASH:/\\\\(?![*+?^${}(|)[\\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\\].,$*+?^{}()|\\\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\\\?)((\\W)(\\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\\[.*?[^\\\\]\\]|\\\\(?=.))/g,REPLACEMENTS:{\"***\":\"*\",\"**/**\":\"**\",\"**/**/**\":\"**\"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,extglobChars(t){return{\"!\":{type:\"negate\",open:\"(?:(?!(?:\",close:`))${t.STAR})`},\"?\":{type:\"qmark\",open:\"(?:\",close:\")?\"},\"+\":{type:\"plus\",open:\"(?:\",close:\")+\"},\"*\":{type:\"star\",open:\"(?:\",close:\")*\"},\"@\":{type:\"at\",open:\"(?:\",close:\")\"}}},globChars(t){return t===true?C:b}}},697:(t,e,u)=>{const n=u(154);const o=u(96);const{MAX_LENGTH:s,POSIX_REGEX_SOURCE:r,REGEX_NON_SPECIAL_CHARS:a,REGEX_SPECIAL_CHARS_BACKREF:i,REPLACEMENTS:c}=n;const expandRange=(t,e)=>{if(typeof e.expandRange===\"function\"){return e.expandRange(...t,e)}t.sort();const u=`[${t.join(\"-\")}]`;try{new RegExp(u)}catch(e){return t.map((t=>o.escapeRegex(t))).join(\"..\")}return u};const syntaxError=(t,e)=>`Missing ${t}: \"${e}\" - use \"\\\\\\\\${e}\" to match literal characters`;const parse=(t,e)=>{if(typeof t!==\"string\"){throw new TypeError(\"Expected a string\")}t=c[t]||t;const u={...e};const p=typeof u.maxLength===\"number\"?Math.min(s,u.maxLength):s;let l=t.length;if(l>p){throw new SyntaxError(`Input length: ${l}, exceeds maximum allowed length: ${p}`)}const f={type:\"bos\",value:\"\",output:u.prepend||\"\"};const A=[f];const _=u.capture?\"\":\"?:\";const R=n.globChars(u.windows);const E=n.extglobChars(R);const{DOT_LITERAL:h,PLUS_LITERAL:g,SLASH_LITERAL:b,ONE_CHAR:C,DOTS_SLASH:y,NO_DOT:$,NO_DOT_SLASH:x,NO_DOTS_SLASH:S,QMARK:H,QMARK_NO_DOT:v,STAR:d,START_ANCHOR:L}=R;const globstar=t=>`(${_}(?:(?!${L}${t.dot?y:h}).)*?)`;const T=u.dot?\"\":$;const O=u.dot?H:v;let k=u.bash===true?globstar(u):d;if(u.capture){k=`(${k})`}if(typeof u.noext===\"boolean\"){u.noextglob=u.noext}const m={input:t,index:-1,start:0,dot:u.dot===true,consumed:\"\",output:\"\",prefix:\"\",backtrack:false,negated:false,brackets:0,braces:0,parens:0,quotes:0,globstar:false,tokens:A};t=o.removePrefix(t,m);l=t.length;const w=[];const N=[];const I=[];let B=f;let G;const eos=()=>m.index===l-1;const D=m.peek=(e=1)=>t[m.index+e];const M=m.advance=()=>t[++m.index]||\"\";const remaining=()=>t.slice(m.index+1);const consume=(t=\"\",e=0)=>{m.consumed+=t;m.index+=e};const append=t=>{m.output+=t.output!=null?t.output:t.value;consume(t.value)};const negate=()=>{let t=1;while(D()===\"!\"&&(D(2)!==\"(\"||D(3)===\"?\")){M();m.start++;t++}if(t%2===0){return false}m.negated=true;m.start++;return true};const increment=t=>{m[t]++;I.push(t)};const decrement=t=>{m[t]--;I.pop()};const push=t=>{if(B.type===\"globstar\"){const e=m.braces>0&&(t.type===\"comma\"||t.type===\"brace\");const u=t.extglob===true||w.length&&(t.type===\"pipe\"||t.type===\"paren\");if(t.type!==\"slash\"&&t.type!==\"paren\"&&!e&&!u){m.output=m.output.slice(0,-B.output.length);B.type=\"star\";B.value=\"*\";B.output=k;m.output+=B.output}}if(w.length&&t.type!==\"paren\"){w[w.length-1].inner+=t.value}if(t.value||t.output)append(t);if(B&&B.type===\"text\"&&t.type===\"text\"){B.output=(B.output||B.value)+t.value;B.value+=t.value;return}t.prev=B;A.push(t);B=t};const extglobOpen=(t,e)=>{const n={...E[e],conditions:1,inner:\"\"};n.prev=B;n.parens=m.parens;n.output=m.output;const o=(u.capture?\"(\":\"\")+n.open;increment(\"parens\");push({type:t,value:e,output:m.output?\"\":C});push({type:\"paren\",extglob:true,value:M(),output:o});w.push(n)};const extglobClose=t=>{let n=t.close+(u.capture?\")\":\"\");let o;if(t.type===\"negate\"){let s=k;if(t.inner&&t.inner.length>1&&t.inner.includes(\"/\")){s=globstar(u)}if(s!==k||eos()||/^\\)+$/.test(remaining())){n=t.close=`)$))${s}`}if(t.inner.includes(\"*\")&&(o=remaining())&&/^\\.[^\\\\/.]+$/.test(o)){const u=parse(o,{...e,fastpaths:false}).output;n=t.close=`)${u})${s})`}if(t.prev.type===\"bos\"){m.negatedExtglob=true}}push({type:\"paren\",extglob:true,value:G,output:n});decrement(\"parens\")};if(u.fastpaths!==false&&!/(^[*!]|[/()[\\]{}\"])/.test(t)){let n=false;let s=t.replace(i,((t,e,u,o,s,r)=>{if(o===\"\\\\\"){n=true;return t}if(o===\"?\"){if(e){return e+o+(s?H.repeat(s.length):\"\")}if(r===0){return O+(s?H.repeat(s.length):\"\")}return H.repeat(u.length)}if(o===\".\"){return h.repeat(u.length)}if(o===\"*\"){if(e){return e+o+(s?k:\"\")}return k}return e?t:`\\\\${t}`}));if(n===true){if(u.unescape===true){s=s.replace(/\\\\/g,\"\")}else{s=s.replace(/\\\\+/g,(t=>t.length%2===0?\"\\\\\\\\\":t?\"\\\\\":\"\"))}}if(s===t&&u.contains===true){m.output=t;return m}m.output=o.wrapOutput(s,m,e);return m}while(!eos()){G=M();if(G===\"\\0\"){continue}if(G===\"\\\\\"){const t=D();if(t===\"/\"&&u.bash!==true){continue}if(t===\".\"||t===\";\"){continue}if(!t){G+=\"\\\\\";push({type:\"text\",value:G});continue}const e=/^\\\\+/.exec(remaining());let n=0;if(e&&e[0].length>2){n=e[0].length;m.index+=n;if(n%2!==0){G+=\"\\\\\"}}if(u.unescape===true){G=M()}else{G+=M()}if(m.brackets===0){push({type:\"text\",value:G});continue}}if(m.brackets>0&&(G!==\"]\"||B.value===\"[\"||B.value===\"[^\")){if(u.posix!==false&&G===\":\"){const t=B.value.slice(1);if(t.includes(\"[\")){B.posix=true;if(t.includes(\":\")){const t=B.value.lastIndexOf(\"[\");const e=B.value.slice(0,t);const u=B.value.slice(t+2);const n=r[u];if(n){B.value=e+n;m.backtrack=true;M();if(!f.output&&A.indexOf(B)===1){f.output=C}continue}}}}if(G===\"[\"&&D()!==\":\"||G===\"-\"&&D()===\"]\"){G=`\\\\${G}`}if(G===\"]\"&&(B.value===\"[\"||B.value===\"[^\")){G=`\\\\${G}`}if(u.posix===true&&G===\"!\"&&B.value===\"[\"){G=\"^\"}B.value+=G;append({value:G});continue}if(m.quotes===1&&G!=='\"'){G=o.escapeRegex(G);B.value+=G;append({value:G});continue}if(G==='\"'){m.quotes=m.quotes===1?0:1;if(u.keepQuotes===true){push({type:\"text\",value:G})}continue}if(G===\"(\"){increment(\"parens\");push({type:\"paren\",value:G});continue}if(G===\")\"){if(m.parens===0&&u.strictBrackets===true){throw new SyntaxError(syntaxError(\"opening\",\"(\"))}const t=w[w.length-1];if(t&&m.parens===t.parens+1){extglobClose(w.pop());continue}push({type:\"paren\",value:G,output:m.parens?\")\":\"\\\\)\"});decrement(\"parens\");continue}if(G===\"[\"){if(u.nobracket===true||!remaining().includes(\"]\")){if(u.nobracket!==true&&u.strictBrackets===true){throw new SyntaxError(syntaxError(\"closing\",\"]\"))}G=`\\\\${G}`}else{increment(\"brackets\")}push({type:\"bracket\",value:G});continue}if(G===\"]\"){if(u.nobracket===true||B&&B.type===\"bracket\"&&B.value.length===1){push({type:\"text\",value:G,output:`\\\\${G}`});continue}if(m.brackets===0){if(u.strictBrackets===true){throw new SyntaxError(syntaxError(\"opening\",\"[\"))}push({type:\"text\",value:G,output:`\\\\${G}`});continue}decrement(\"brackets\");const t=B.value.slice(1);if(B.posix!==true&&t[0]===\"^\"&&!t.includes(\"/\")){G=`/${G}`}B.value+=G;append({value:G});if(u.literalBrackets===false||o.hasRegexChars(t)){continue}const e=o.escapeRegex(B.value);m.output=m.output.slice(0,-B.value.length);if(u.literalBrackets===true){m.output+=e;B.value=e;continue}B.value=`(${_}${e}|${B.value})`;m.output+=B.value;continue}if(G===\"{\"&&u.nobrace!==true){increment(\"braces\");const t={type:\"brace\",value:G,output:\"(\",outputIndex:m.output.length,tokensIndex:m.tokens.length};N.push(t);push(t);continue}if(G===\"}\"){const t=N[N.length-1];if(u.nobrace===true||!t){push({type:\"text\",value:G,output:G});continue}let e=\")\";if(t.dots===true){const t=A.slice();const n=[];for(let e=t.length-1;e>=0;e--){A.pop();if(t[e].type===\"brace\"){break}if(t[e].type!==\"dots\"){n.unshift(t[e].value)}}e=expandRange(n,u);m.backtrack=true}if(t.comma!==true&&t.dots!==true){const u=m.output.slice(0,t.outputIndex);const n=m.tokens.slice(t.tokensIndex);t.value=t.output=\"\\\\{\";G=e=\"\\\\}\";m.output=u;for(const t of n){m.output+=t.output||t.value}}push({type:\"brace\",value:G,output:e});decrement(\"braces\");N.pop();continue}if(G===\"|\"){if(w.length>0){w[w.length-1].conditions++}push({type:\"text\",value:G});continue}if(G===\",\"){let t=G;const e=N[N.length-1];if(e&&I[I.length-1]===\"braces\"){e.comma=true;t=\"|\"}push({type:\"comma\",value:G,output:t});continue}if(G===\"/\"){if(B.type===\"dot\"&&m.index===m.start+1){m.start=m.index+1;m.consumed=\"\";m.output=\"\";A.pop();B=f;continue}push({type:\"slash\",value:G,output:b});continue}if(G===\".\"){if(m.braces>0&&B.type===\"dot\"){if(B.value===\".\")B.output=h;const t=N[N.length-1];B.type=\"dots\";B.output+=G;B.value+=G;t.dots=true;continue}if(m.braces+m.parens===0&&B.type!==\"bos\"&&B.type!==\"slash\"){push({type:\"text\",value:G,output:h});continue}push({type:\"dot\",value:G,output:h});continue}if(G===\"?\"){const t=B&&B.value===\"(\";if(!t&&u.noextglob!==true&&D()===\"(\"&&D(2)!==\"?\"){extglobOpen(\"qmark\",G);continue}if(B&&B.type===\"paren\"){const t=D();let e=G;if(B.value===\"(\"&&!/[!=<:]/.test(t)||t===\"<\"&&!/<([!=]|\\w+>)/.test(remaining())){e=`\\\\${G}`}push({type:\"text\",value:G,output:e});continue}if(u.dot!==true&&(B.type===\"slash\"||B.type===\"bos\")){push({type:\"qmark\",value:G,output:v});continue}push({type:\"qmark\",value:G,output:H});continue}if(G===\"!\"){if(u.noextglob!==true&&D()===\"(\"){if(D(2)!==\"?\"||!/[!=<:]/.test(D(3))){extglobOpen(\"negate\",G);continue}}if(u.nonegate!==true&&m.index===0){negate();continue}}if(G===\"+\"){if(u.noextglob!==true&&D()===\"(\"&&D(2)!==\"?\"){extglobOpen(\"plus\",G);continue}if(B&&B.value===\"(\"||u.regex===false){push({type:\"plus\",value:G,output:g});continue}if(B&&(B.type===\"bracket\"||B.type===\"paren\"||B.type===\"brace\")||m.parens>0){push({type:\"plus\",value:G});continue}push({type:\"plus\",value:g});continue}if(G===\"@\"){if(u.noextglob!==true&&D()===\"(\"&&D(2)!==\"?\"){push({type:\"at\",extglob:true,value:G,output:\"\"});continue}push({type:\"text\",value:G});continue}if(G!==\"*\"){if(G===\"$\"||G===\"^\"){G=`\\\\${G}`}const t=a.exec(remaining());if(t){G+=t[0];m.index+=t[0].length}push({type:\"text\",value:G});continue}if(B&&(B.type===\"globstar\"||B.star===true)){B.type=\"star\";B.star=true;B.value+=G;B.output=k;m.backtrack=true;m.globstar=true;consume(G);continue}let e=remaining();if(u.noextglob!==true&&/^\\([^?]/.test(e)){extglobOpen(\"star\",G);continue}if(B.type===\"star\"){if(u.noglobstar===true){consume(G);continue}const n=B.prev;const o=n.prev;const s=n.type===\"slash\"||n.type===\"bos\";const r=o&&(o.type===\"star\"||o.type===\"globstar\");if(u.bash===true&&(!s||e[0]&&e[0]!==\"/\")){push({type:\"star\",value:G,output:\"\"});continue}const a=m.braces>0&&(n.type===\"comma\"||n.type===\"brace\");const i=w.length&&(n.type===\"pipe\"||n.type===\"paren\");if(!s&&n.type!==\"paren\"&&!a&&!i){push({type:\"star\",value:G,output:\"\"});continue}while(e.slice(0,3)===\"/**\"){const u=t[m.index+4];if(u&&u!==\"/\"){break}e=e.slice(3);consume(\"/**\",3)}if(n.type===\"bos\"&&eos()){B.type=\"globstar\";B.value+=G;B.output=globstar(u);m.output=B.output;m.globstar=true;consume(G);continue}if(n.type===\"slash\"&&n.prev.type!==\"bos\"&&!r&&eos()){m.output=m.output.slice(0,-(n.output+B.output).length);n.output=`(?:${n.output}`;B.type=\"globstar\";B.output=globstar(u)+(u.strictSlashes?\")\":\"|$)\");B.value+=G;m.globstar=true;m.output+=n.output+B.output;consume(G);continue}if(n.type===\"slash\"&&n.prev.type!==\"bos\"&&e[0]===\"/\"){const t=e[1]!==void 0?\"|$\":\"\";m.output=m.output.slice(0,-(n.output+B.output).length);n.output=`(?:${n.output}`;B.type=\"globstar\";B.output=`${globstar(u)}${b}|${b}${t})`;B.value+=G;m.output+=n.output+B.output;m.globstar=true;consume(G+M());push({type:\"slash\",value:\"/\",output:\"\"});continue}if(n.type===\"bos\"&&e[0]===\"/\"){B.type=\"globstar\";B.value+=G;B.output=`(?:^|${b}|${globstar(u)}${b})`;m.output=B.output;m.globstar=true;consume(G+M());push({type:\"slash\",value:\"/\",output:\"\"});continue}m.output=m.output.slice(0,-B.output.length);B.type=\"globstar\";B.output=globstar(u);B.value+=G;m.output+=B.output;m.globstar=true;consume(G);continue}const n={type:\"star\",value:G,output:k};if(u.bash===true){n.output=\".*?\";if(B.type===\"bos\"||B.type===\"slash\"){n.output=T+n.output}push(n);continue}if(B&&(B.type===\"bracket\"||B.type===\"paren\")&&u.regex===true){n.output=G;push(n);continue}if(m.index===m.start||B.type===\"slash\"||B.type===\"dot\"){if(B.type===\"dot\"){m.output+=x;B.output+=x}else if(u.dot===true){m.output+=S;B.output+=S}else{m.output+=T;B.output+=T}if(D()!==\"*\"){m.output+=C;B.output+=C}}push(n)}while(m.brackets>0){if(u.strictBrackets===true)throw new SyntaxError(syntaxError(\"closing\",\"]\"));m.output=o.escapeLast(m.output,\"[\");decrement(\"brackets\")}while(m.parens>0){if(u.strictBrackets===true)throw new SyntaxError(syntaxError(\"closing\",\")\"));m.output=o.escapeLast(m.output,\"(\");decrement(\"parens\")}while(m.braces>0){if(u.strictBrackets===true)throw new SyntaxError(syntaxError(\"closing\",\"}\"));m.output=o.escapeLast(m.output,\"{\");decrement(\"braces\")}if(u.strictSlashes!==true&&(B.type===\"star\"||B.type===\"bracket\")){push({type:\"maybe_slash\",value:\"\",output:`${b}?`})}if(m.backtrack===true){m.output=\"\";for(const t of m.tokens){m.output+=t.output!=null?t.output:t.value;if(t.suffix){m.output+=t.suffix}}}return m};parse.fastpaths=(t,e)=>{const u={...e};const r=typeof u.maxLength===\"number\"?Math.min(s,u.maxLength):s;const a=t.length;if(a>r){throw new SyntaxError(`Input length: ${a}, exceeds maximum allowed length: ${r}`)}t=c[t]||t;const{DOT_LITERAL:i,SLASH_LITERAL:p,ONE_CHAR:l,DOTS_SLASH:f,NO_DOT:A,NO_DOTS:_,NO_DOTS_SLASH:R,STAR:E,START_ANCHOR:h}=n.globChars(u.windows);const g=u.dot?_:A;const b=u.dot?R:A;const C=u.capture?\"\":\"?:\";const y={negated:false,prefix:\"\"};let $=u.bash===true?\".*?\":E;if(u.capture){$=`(${$})`}const globstar=t=>{if(t.noglobstar===true)return $;return`(${C}(?:(?!${h}${t.dot?f:i}).)*?)`};const create=t=>{switch(t){case\"*\":return`${g}${l}${$}`;case\".*\":return`${i}${l}${$}`;case\"*.*\":return`${g}${$}${i}${l}${$}`;case\"*/*\":return`${g}${$}${p}${l}${b}${$}`;case\"**\":return g+globstar(u);case\"**/*\":return`(?:${g}${globstar(u)}${p})?${b}${l}${$}`;case\"**/*.*\":return`(?:${g}${globstar(u)}${p})?${b}${$}${i}${l}${$}`;case\"**/.*\":return`(?:${g}${globstar(u)}${p})?${i}${l}${$}`;default:{const e=/^(.*?)\\.(\\w+)$/.exec(t);if(!e)return;const u=create(e[1]);if(!u)return;return u+i+e[2]}}};const x=o.removePrefix(t,y);let S=create(x);if(S&&u.strictSlashes!==true){S+=`${p}?`}return S};t.exports=parse},510:(t,e,u)=>{const n=u(716);const o=u(697);const s=u(96);const r=u(154);const isObject=t=>t&&typeof t===\"object\"&&!Array.isArray(t);const picomatch=(t,e,u=false)=>{if(Array.isArray(t)){const n=t.map((t=>picomatch(t,e,u)));const arrayMatcher=t=>{for(const e of n){const u=e(t);if(u)return u}return false};return arrayMatcher}const n=isObject(t)&&t.tokens&&t.input;if(t===\"\"||typeof t!==\"string\"&&!n){throw new TypeError(\"Expected pattern to be a non-empty string\")}const o=e||{};const s=o.windows;const r=n?picomatch.compileRe(t,e):picomatch.makeRe(t,e,false,true);const a=r.state;delete r.state;let isIgnored=()=>false;if(o.ignore){const t={...e,ignore:null,onMatch:null,onResult:null};isIgnored=picomatch(o.ignore,t,u)}const matcher=(u,n=false)=>{const{isMatch:i,match:c,output:p}=picomatch.test(u,r,e,{glob:t,posix:s});const l={glob:t,state:a,regex:r,posix:s,input:u,output:p,match:c,isMatch:i};if(typeof o.onResult===\"function\"){o.onResult(l)}if(i===false){l.isMatch=false;return n?l:false}if(isIgnored(u)){if(typeof o.onIgnore===\"function\"){o.onIgnore(l)}l.isMatch=false;return n?l:false}if(typeof o.onMatch===\"function\"){o.onMatch(l)}return n?l:true};if(u){matcher.state=a}return matcher};picomatch.test=(t,e,u,{glob:n,posix:o}={})=>{if(typeof t!==\"string\"){throw new TypeError(\"Expected input to be a string\")}if(t===\"\"){return{isMatch:false,output:\"\"}}const r=u||{};const a=r.format||(o?s.toPosixSlashes:null);let i=t===n;let c=i&&a?a(t):t;if(i===false){c=a?a(t):t;i=c===n}if(i===false||r.capture===true){if(r.matchBase===true||r.basename===true){i=picomatch.matchBase(t,e,u,o)}else{i=e.exec(c)}}return{isMatch:Boolean(i),match:i,output:c}};picomatch.matchBase=(t,e,u)=>{const n=e instanceof RegExp?e:picomatch.makeRe(e,u);return n.test(s.basename(t))};picomatch.isMatch=(t,e,u)=>picomatch(e,u)(t);picomatch.parse=(t,e)=>{if(Array.isArray(t))return t.map((t=>picomatch.parse(t,e)));return o(t,{...e,fastpaths:false})};picomatch.scan=(t,e)=>n(t,e);picomatch.compileRe=(t,e,u=false,n=false)=>{if(u===true){return t.output}const o=e||{};const s=o.contains?\"\":\"^\";const r=o.contains?\"\":\"$\";let a=`${s}(?:${t.output})${r}`;if(t&&t.negated===true){a=`^(?!${a}).*$`}const i=picomatch.toRegex(a,e);if(n===true){i.state=t}return i};picomatch.makeRe=(t,e={},u=false,n=false)=>{if(!t||typeof t!==\"string\"){throw new TypeError(\"Expected a non-empty string\")}let s={negated:false,fastpaths:true};if(e.fastpaths!==false&&(t[0]===\".\"||t[0]===\"*\")){s.output=o.fastpaths(t,e)}if(!s.output){s=o(t,e)}return picomatch.compileRe(s,e,u,n)};picomatch.toRegex=(t,e)=>{try{const u=e||{};return new RegExp(t,u.flags||(u.nocase?\"i\":\"\"))}catch(t){if(e&&e.debug===true)throw t;return/$^/}};picomatch.constants=r;t.exports=picomatch},716:(t,e,u)=>{const n=u(96);const{CHAR_ASTERISK:o,CHAR_AT:s,CHAR_BACKWARD_SLASH:r,CHAR_COMMA:a,CHAR_DOT:i,CHAR_EXCLAMATION_MARK:c,CHAR_FORWARD_SLASH:p,CHAR_LEFT_CURLY_BRACE:l,CHAR_LEFT_PARENTHESES:f,CHAR_LEFT_SQUARE_BRACKET:A,CHAR_PLUS:_,CHAR_QUESTION_MARK:R,CHAR_RIGHT_CURLY_BRACE:E,CHAR_RIGHT_PARENTHESES:h,CHAR_RIGHT_SQUARE_BRACKET:g}=u(154);const isPathSeparator=t=>t===p||t===r;const depth=t=>{if(t.isPrefix!==true){t.depth=t.isGlobstar?Infinity:1}};const scan=(t,e)=>{const u=e||{};const b=t.length-1;const C=u.parts===true||u.scanToEnd===true;const y=[];const $=[];const x=[];let S=t;let H=-1;let v=0;let d=0;let L=false;let T=false;let O=false;let k=false;let m=false;let w=false;let N=false;let I=false;let B=false;let G=false;let D=0;let M;let P;let K={value:\"\",depth:0,isGlob:false};const eos=()=>H>=b;const peek=()=>S.charCodeAt(H+1);const advance=()=>{M=P;return S.charCodeAt(++H)};while(H<b){P=advance();let t;if(P===r){N=K.backslashes=true;P=advance();if(P===l){w=true}continue}if(w===true||P===l){D++;while(eos()!==true&&(P=advance())){if(P===r){N=K.backslashes=true;advance();continue}if(P===l){D++;continue}if(w!==true&&P===i&&(P=advance())===i){L=K.isBrace=true;O=K.isGlob=true;G=true;if(C===true){continue}break}if(w!==true&&P===a){L=K.isBrace=true;O=K.isGlob=true;G=true;if(C===true){continue}break}if(P===E){D--;if(D===0){w=false;L=K.isBrace=true;G=true;break}}}if(C===true){continue}break}if(P===p){y.push(H);$.push(K);K={value:\"\",depth:0,isGlob:false};if(G===true)continue;if(M===i&&H===v+1){v+=2;continue}d=H+1;continue}if(u.noext!==true){const t=P===_||P===s||P===o||P===R||P===c;if(t===true&&peek()===f){O=K.isGlob=true;k=K.isExtglob=true;G=true;if(P===c&&H===v){B=true}if(C===true){while(eos()!==true&&(P=advance())){if(P===r){N=K.backslashes=true;P=advance();continue}if(P===h){O=K.isGlob=true;G=true;break}}continue}break}}if(P===o){if(M===o)m=K.isGlobstar=true;O=K.isGlob=true;G=true;if(C===true){continue}break}if(P===R){O=K.isGlob=true;G=true;if(C===true){continue}break}if(P===A){while(eos()!==true&&(t=advance())){if(t===r){N=K.backslashes=true;advance();continue}if(t===g){T=K.isBracket=true;O=K.isGlob=true;G=true;break}}if(C===true){continue}break}if(u.nonegate!==true&&P===c&&H===v){I=K.negated=true;v++;continue}if(u.noparen!==true&&P===f){O=K.isGlob=true;if(C===true){while(eos()!==true&&(P=advance())){if(P===f){N=K.backslashes=true;P=advance();continue}if(P===h){G=true;break}}continue}break}if(O===true){G=true;if(C===true){continue}break}}if(u.noext===true){k=false;O=false}let U=S;let X=\"\";let F=\"\";if(v>0){X=S.slice(0,v);S=S.slice(v);d-=v}if(U&&O===true&&d>0){U=S.slice(0,d);F=S.slice(d)}else if(O===true){U=\"\";F=S}else{U=S}if(U&&U!==\"\"&&U!==\"/\"&&U!==S){if(isPathSeparator(U.charCodeAt(U.length-1))){U=U.slice(0,-1)}}if(u.unescape===true){if(F)F=n.removeBackslashes(F);if(U&&N===true){U=n.removeBackslashes(U)}}const Q={prefix:X,input:t,start:v,base:U,glob:F,isBrace:L,isBracket:T,isGlob:O,isExtglob:k,isGlobstar:m,negated:I,negatedExtglob:B};if(u.tokens===true){Q.maxDepth=0;if(!isPathSeparator(P)){$.push(K)}Q.tokens=$}if(u.parts===true||u.tokens===true){let e;for(let n=0;n<y.length;n++){const o=e?e+1:v;const s=y[n];const r=t.slice(o,s);if(u.tokens){if(n===0&&v!==0){$[n].isPrefix=true;$[n].value=X}else{$[n].value=r}depth($[n]);Q.maxDepth+=$[n].depth}if(n!==0||r!==\"\"){x.push(r)}e=s}if(e&&e+1<t.length){const n=t.slice(e+1);x.push(n);if(u.tokens){$[$.length-1].value=n;depth($[$.length-1]);Q.maxDepth+=$[$.length-1].depth}}Q.slashes=y;Q.parts=x}return Q};t.exports=scan},96:(t,e,u)=>{const{REGEX_BACKSLASH:n,REGEX_REMOVE_BACKSLASH:o,REGEX_SPECIAL_CHARS:s,REGEX_SPECIAL_CHARS_GLOBAL:r}=u(154);e.isObject=t=>t!==null&&typeof t===\"object\"&&!Array.isArray(t);e.hasRegexChars=t=>s.test(t);e.isRegexChar=t=>t.length===1&&e.hasRegexChars(t);e.escapeRegex=t=>t.replace(r,\"\\\\$1\");e.toPosixSlashes=t=>t.replace(n,\"/\");e.removeBackslashes=t=>t.replace(o,(t=>t===\"\\\\\"?\"\":t));e.escapeLast=(t,u,n)=>{const o=t.lastIndexOf(u,n);if(o===-1)return t;if(t[o-1]===\"\\\\\")return e.escapeLast(t,u,o-1);return`${t.slice(0,o)}\\\\${t.slice(o)}`};e.removePrefix=(t,e={})=>{let u=t;if(u.startsWith(\"./\")){u=u.slice(2);e.prefix=\"./\"}return u};e.wrapOutput=(t,e={},u={})=>{const n=u.contains?\"\":\"^\";const o=u.contains?\"\":\"$\";let s=`${n}(?:${t})${o}`;if(e.negated===true){s=`(?:^(?!${s}).*$)`}return s};e.basename=(t,{windows:e}={})=>{const u=t.split(e?/[\\\\/]/:\"/\");const n=u[u.length-1];if(n===\"\"){return u[u.length-2]}return n}}};var e={};function __nccwpck_require__(u){var n=e[u];if(n!==undefined){return n.exports}var o=e[u]={exports:{}};var s=true;try{t[u](o,o.exports,__nccwpck_require__);s=false}finally{if(s)delete e[u]}return o.exports}if(typeof __nccwpck_require__!==\"undefined\")__nccwpck_require__.ab=__dirname+\"/\";var u=__nccwpck_require__(170);module.exports=u})();"],"names":[],"mappings":"AAAwN;AAAxN,CAAC;IAAK;IAAa,IAAI,IAAE;QAAC,KAAI,CAAC,GAAE,GAAE;YAAK,MAAM,IAAE,EAAE;YAAK,MAAM,YAAU;gBAAK,IAAG,OAAO,cAAY,eAAa,UAAU,QAAQ,EAAC;oBAAC,MAAM,IAAE,UAAU,QAAQ,CAAC,WAAW;oBAAG,OAAO,MAAI,WAAS,MAAI;gBAAS;gBAAC,IAAG,OAAO,2KAAO,KAAG,eAAa,2KAAO,CAAC,QAAQ,EAAC;oBAAC,OAAO,2KAAO,CAAC,QAAQ,KAAG;gBAAO;gBAAC,OAAO;YAAK;YAAE,SAAS,UAAU,CAAC,EAAC,CAAC,EAAC,IAAE,KAAK;gBAAE,IAAG,KAAG,CAAC,EAAE,OAAO,KAAG,QAAM,EAAE,OAAO,KAAG,SAAS,GAAE;oBAAC,IAAE;wBAAC,GAAG,CAAC;wBAAC,SAAQ;oBAAW;gBAAC;gBAAC,OAAO,EAAE,GAAE,GAAE;YAAE;YAAC,OAAO,MAAM,CAAC,WAAU;YAAG,EAAE,OAAO,GAAC;QAAS;QAAE,KAAI,CAAA;YAAI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,EAAE,KAAK,CAAC,IAAE,UAAQ;gBAAK,MAAM,IAAE,CAAC,CAAC,EAAE,MAAM,GAAC,EAAE;gBAAC,IAAG,MAAI,IAAG;oBAAC,OAAO,CAAC,CAAC,EAAE,MAAM,GAAC,EAAE;gBAAA;gBAAC,OAAO;YAAC;QAAC;IAAC;IAAE,IAAI,IAAE,CAAC;IAAE,SAAS,oBAAoB,CAAC;QAAE,IAAI,IAAE,CAAC,CAAC,EAAE;QAAC,IAAG,MAAI,WAAU;YAAC,OAAO,EAAE,OAAO;QAAA;QAAC,IAAI,IAAE,CAAC,CAAC,EAAE,GAAC;YAAC,SAAQ,CAAC;QAAC;QAAE,IAAI,IAAE;QAAK,IAAG;YAAC,CAAC,CAAC,EAAE,CAAC,GAAE,EAAE,OAAO,EAAC;YAAqB,IAAE;QAAK,SAAQ;YAAC,IAAG,GAAE,OAAO,CAAC,CAAC,EAAE;QAAA;QAAC,OAAO,EAAE,OAAO;IAAA;IAAC,IAAG,OAAO,wBAAsB,aAAY,oBAAoB,EAAE,GAAC,sFAAU;IAAI,IAAI,IAAE,oBAAoB;IAAK,OAAO,OAAO,GAAC;AAAC,CAAC","ignoreList":[0]}}, - {"offset": {"line": 22294, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/shared/lib/match-local-pattern.ts"],"sourcesContent":["import type { LocalPattern } from './image-config'\nimport { makeRe } from 'next/dist/compiled/picomatch'\n\n// Modifying this function should also modify writeImagesManifest()\nexport function matchLocalPattern(pattern: LocalPattern, url: URL): boolean {\n if (pattern.search !== undefined) {\n if (pattern.search !== url.search) {\n return false\n }\n }\n\n if (!makeRe(pattern.pathname ?? '**', { dot: true }).test(url.pathname)) {\n return false\n }\n\n return true\n}\n\nexport function hasLocalMatch(\n localPatterns: LocalPattern[] | undefined,\n urlPathAndQuery: string\n): boolean {\n if (!localPatterns) {\n // if the user didn't define \"localPatterns\", we allow all local images\n return true\n }\n const url = new URL(urlPathAndQuery, 'http://n')\n return localPatterns.some((p) => matchLocalPattern(p, url))\n}\n"],"names":["hasLocalMatch","matchLocalPattern","pattern","url","search","undefined","makeRe","pathname","dot","test","localPatterns","urlPathAndQuery","URL","some","p"],"mappings":";;;;;;;;;;;;;;IAkBgBA,aAAa,EAAA;eAAbA;;IAdAC,iBAAiB,EAAA;eAAjBA;;;2BAHO;AAGhB,SAASA,kBAAkBC,OAAqB,EAAEC,GAAQ;IAC/D,IAAID,QAAQE,MAAM,KAAKC,WAAW;QAChC,IAAIH,QAAQE,MAAM,KAAKD,IAAIC,MAAM,EAAE;YACjC,OAAO;QACT;IACF;IAEA,IAAI,CAACE,CAAAA,GAAAA,WAAAA,MAAM,EAACJ,QAAQK,QAAQ,IAAI,MAAM;QAAEC,KAAK;IAAK,GAAGC,IAAI,CAACN,IAAII,QAAQ,GAAG;QACvE,OAAO;IACT;IAEA,OAAO;AACT;AAEO,SAASP,cACdU,aAAyC,EACzCC,eAAuB;IAEvB,IAAI,CAACD,eAAe;QAClB,uEAAuE;QACvE,OAAO;IACT;IACA,MAAMP,MAAM,IAAIS,IAAID,iBAAiB;IACrC,OAAOD,cAAcG,IAAI,CAAC,CAACC,IAAMb,kBAAkBa,GAAGX;AACxD","ignoreList":[0]}}, - {"offset": {"line": 22341, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/shared/lib/match-remote-pattern.ts"],"sourcesContent":["import type { RemotePattern } from './image-config'\nimport { makeRe } from 'next/dist/compiled/picomatch'\n\n// Modifying this function should also modify writeImagesManifest()\nexport function matchRemotePattern(\n pattern: RemotePattern | URL,\n url: URL\n): boolean {\n if (pattern.protocol !== undefined) {\n if (pattern.protocol.replace(/:$/, '') !== url.protocol.replace(/:$/, '')) {\n return false\n }\n }\n if (pattern.port !== undefined) {\n if (pattern.port !== url.port) {\n return false\n }\n }\n\n if (pattern.hostname === undefined) {\n throw new Error(\n `Pattern should define hostname but found\\n${JSON.stringify(pattern)}`\n )\n } else {\n if (!makeRe(pattern.hostname).test(url.hostname)) {\n return false\n }\n }\n\n if (pattern.search !== undefined) {\n if (pattern.search !== url.search) {\n return false\n }\n }\n\n // Should be the same as writeImagesManifest()\n if (!makeRe(pattern.pathname ?? '**', { dot: true }).test(url.pathname)) {\n return false\n }\n\n return true\n}\n\nexport function hasRemoteMatch(\n domains: string[],\n remotePatterns: Array<RemotePattern | URL>,\n url: URL\n): boolean {\n return (\n domains.some((domain) => url.hostname === domain) ||\n remotePatterns.some((p) => matchRemotePattern(p, url))\n )\n}\n"],"names":["hasRemoteMatch","matchRemotePattern","pattern","url","protocol","undefined","replace","port","hostname","Error","JSON","stringify","makeRe","test","search","pathname","dot","domains","remotePatterns","some","domain","p"],"mappings":";;;;;;;;;;;;;;IA2CgBA,cAAc,EAAA;eAAdA;;IAvCAC,kBAAkB,EAAA;eAAlBA;;;2BAHO;AAGhB,SAASA,mBACdC,OAA4B,EAC5BC,GAAQ;IAER,IAAID,QAAQE,QAAQ,KAAKC,WAAW;QAClC,IAAIH,QAAQE,QAAQ,CAACE,OAAO,CAAC,MAAM,QAAQH,IAAIC,QAAQ,CAACE,OAAO,CAAC,MAAM,KAAK;YACzE,OAAO;QACT;IACF;IACA,IAAIJ,QAAQK,IAAI,KAAKF,WAAW;QAC9B,IAAIH,QAAQK,IAAI,KAAKJ,IAAII,IAAI,EAAE;YAC7B,OAAO;QACT;IACF;IAEA,IAAIL,QAAQM,QAAQ,KAAKH,WAAW;QAClC,MAAM,OAAA,cAEL,CAFK,IAAII,MACR,CAAC,0CAA0C,EAAEC,KAAKC,SAAS,CAACT,UAAU,GADlE,qBAAA;mBAAA;wBAAA;0BAAA;QAEN;IACF,OAAO;QACL,IAAI,CAACU,CAAAA,GAAAA,WAAAA,MAAM,EAACV,QAAQM,QAAQ,EAAEK,IAAI,CAACV,IAAIK,QAAQ,GAAG;YAChD,OAAO;QACT;IACF;IAEA,IAAIN,QAAQY,MAAM,KAAKT,WAAW;QAChC,IAAIH,QAAQY,MAAM,KAAKX,IAAIW,MAAM,EAAE;YACjC,OAAO;QACT;IACF;IAEA,8CAA8C;IAC9C,IAAI,CAACF,CAAAA,GAAAA,WAAAA,MAAM,EAACV,QAAQa,QAAQ,IAAI,MAAM;QAAEC,KAAK;IAAK,GAAGH,IAAI,CAACV,IAAIY,QAAQ,GAAG;QACvE,OAAO;IACT;IAEA,OAAO;AACT;AAEO,SAASf,eACdiB,OAAiB,EACjBC,cAA0C,EAC1Cf,GAAQ;IAER,OACEc,QAAQE,IAAI,CAAC,CAACC,SAAWjB,IAAIK,QAAQ,KAAKY,WAC1CF,eAAeC,IAAI,CAAC,CAACE,IAAMpB,mBAAmBoB,GAAGlB;AAErD","ignoreList":[0]}}, - {"offset": {"line": 22405, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/shared/lib/image-loader.ts"],"sourcesContent":["import type { ImageLoaderPropsWithConfig } from './image-config'\nimport { findClosestQuality } from './find-closest-quality'\nimport { getDeploymentId } from './deployment-id'\n\nfunction defaultLoader({\n config,\n src,\n width,\n quality,\n}: ImageLoaderPropsWithConfig): string {\n if (\n src.startsWith('/') &&\n src.includes('?') &&\n config.localPatterns?.length === 1 &&\n config.localPatterns[0].pathname === '**' &&\n config.localPatterns[0].search === ''\n ) {\n throw new Error(\n `Image with src \"${src}\" is using a query string which is not configured in images.localPatterns.` +\n `\\nRead more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`\n )\n }\n\n if (process.env.NODE_ENV !== 'production') {\n const missingValues = []\n\n // these should always be provided but make sure they are\n if (!src) missingValues.push('src')\n if (!width) missingValues.push('width')\n\n if (missingValues.length > 0) {\n throw new Error(\n `Next Image Optimization requires ${missingValues.join(\n ', '\n )} to be provided. Make sure you pass them as props to the \\`next/image\\` component. Received: ${JSON.stringify(\n { src, width, quality }\n )}`\n )\n }\n\n if (src.startsWith('//')) {\n throw new Error(\n `Failed to parse src \"${src}\" on \\`next/image\\`, protocol-relative URL (//) must be changed to an absolute URL (http:// or https://)`\n )\n }\n\n if (src.startsWith('/') && config.localPatterns) {\n if (\n process.env.NODE_ENV !== 'test' &&\n // micromatch isn't compatible with edge runtime\n process.env.NEXT_RUNTIME !== 'edge'\n ) {\n // We use dynamic require because this should only error in development\n const { hasLocalMatch } =\n require('./match-local-pattern') as typeof import('./match-local-pattern')\n if (!hasLocalMatch(config.localPatterns, src)) {\n throw new Error(\n `Invalid src prop (${src}) on \\`next/image\\` does not match \\`images.localPatterns\\` configured in your \\`next.config.js\\`\\n` +\n `See more info: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`\n )\n }\n }\n }\n\n if (!src.startsWith('/') && (config.domains || config.remotePatterns)) {\n let parsedSrc: URL\n try {\n parsedSrc = new URL(src)\n } catch (err) {\n console.error(err)\n throw new Error(\n `Failed to parse src \"${src}\" on \\`next/image\\`, if using relative image it must start with a leading slash \"/\" or be an absolute URL (http:// or https://)`\n )\n }\n\n if (\n process.env.NODE_ENV !== 'test' &&\n // micromatch isn't compatible with edge runtime\n process.env.NEXT_RUNTIME !== 'edge'\n ) {\n // We use dynamic require because this should only error in development\n const { hasRemoteMatch } =\n require('./match-remote-pattern') as typeof import('./match-remote-pattern')\n if (\n !hasRemoteMatch(config.domains!, config.remotePatterns!, parsedSrc)\n ) {\n throw new Error(\n `Invalid src prop (${src}) on \\`next/image\\`, hostname \"${parsedSrc.hostname}\" is not configured under images in your \\`next.config.js\\`\\n` +\n `See more info: https://nextjs.org/docs/messages/next-image-unconfigured-host`\n )\n }\n }\n }\n }\n\n const q = findClosestQuality(quality, config)\n\n let deploymentId = getDeploymentId()\n return `${config.path}?url=${encodeURIComponent(src)}&w=${width}&q=${q}${\n src.startsWith('/') && deploymentId ? `&dpl=${deploymentId}` : ''\n }`\n}\n\n// We use this to determine if the import is the default loader\n// or a custom loader defined by the user in next.config.js\ndefaultLoader.__next_img_default = true\n\nexport default defaultLoader\n"],"names":["defaultLoader","config","src","width","quality","startsWith","includes","localPatterns","length","pathname","search","Error","process","env","NODE_ENV","missingValues","push","join","JSON","stringify","NEXT_RUNTIME","hasLocalMatch","require","domains","remotePatterns","parsedSrc","URL","err","console","error","hasRemoteMatch","hostname","q","findClosestQuality","deploymentId","getDeploymentId","path","encodeURIComponent","__next_img_default"],"mappings":"AAuBMY,QAAQC,GAAG,CAACC,QAAQ,KAAK;;;;;+BAoF/B,WAAA;;;eAAA;;;oCA1GmC;8BACH;AAEhC,SAASd,cAAc,EACrBC,MAAM,EACNC,GAAG,EACHC,KAAK,EACLC,OAAO,EACoB;IAC3B,IACEF,IAAIG,UAAU,CAAC,QACfH,IAAII,QAAQ,CAAC,QACbL,OAAOM,aAAa,EAAEC,WAAW,KACjCP,OAAOM,aAAa,CAAC,EAAE,CAACE,QAAQ,KAAK,QACrCR,OAAOM,aAAa,CAAC,EAAE,CAACG,MAAM,KAAK,IACnC;QACA,MAAM,OAAA,cAGL,CAHK,IAAIC,MACR,CAAC,gBAAgB,EAAET,IAAI,0EAA0E,CAAC,GAChG,CAAC,mFAAmF,CAAC,GAFnF,qBAAA;mBAAA;wBAAA;0BAAA;QAGN;IACF;IAEA,wCAA2C;QACzC,MAAMa,gBAAgB,EAAE;QAExB,yDAAyD;QACzD,IAAI,CAACb,KAAKa,cAAcC,IAAI,CAAC;QAC7B,IAAI,CAACb,OAAOY,cAAcC,IAAI,CAAC;QAE/B,IAAID,cAAcP,MAAM,GAAG,GAAG;YAC5B,MAAM,OAAA,cAML,CANK,IAAIG,MACR,CAAC,iCAAiC,EAAEI,cAAcE,IAAI,CACpD,MACA,6FAA6F,EAAEC,KAAKC,SAAS,CAC7G;gBAAEjB;gBAAKC;gBAAOC;YAAQ,IACrB,GALC,qBAAA;uBAAA;4BAAA;8BAAA;YAMN;QACF;QAEA,IAAIF,IAAIG,UAAU,CAAC,OAAO;YACxB,MAAM,OAAA,cAEL,CAFK,IAAIM,MACR,CAAC,qBAAqB,EAAET,IAAI,wGAAwG,CAAC,GADjI,q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AAAA,oBAAAA,kBAAkB,EAAC7B,SAASH;IAEtC,IAAIiC,eAAeC,CAAAA,GAAAA,cAAAA,eAAe;IAClC,OAAO,GAAGlC,OAAOmC,IAAI,CAAC,KAAK,EAAEC,mBAAmBnC,KAAK,GAAG,EAAEC,MAAM,GAAG,EAAE6B,IACnE9B,IAAIG,UAAU,CAAC,QAAQ6B,eAAe,CAAC,KAAK,EAAEA,cAAc,GAAG,IAC/D;AACJ;AAEA,+DAA+D;AAC/D,2DAA2D;AAC3DlC,cAAcsC,kBAAkB,GAAG;MAEnC,WAAetC","ignoreList":[0]}}, - {"offset": {"line": 22499, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/image-component.tsx"],"sourcesContent":["'use client'\n\nimport React, {\n useRef,\n useEffect,\n useCallback,\n useContext,\n useMemo,\n useState,\n forwardRef,\n use,\n} from 'react'\nimport ReactDOM from 'react-dom'\nimport Head from '../shared/lib/head'\nimport { getImgProps } from '../shared/lib/get-img-props'\nimport type {\n ImageProps,\n ImgProps,\n OnLoad,\n OnLoadingComplete,\n PlaceholderValue,\n} from '../shared/lib/get-img-props'\nimport type {\n ImageConfigComplete,\n ImageLoaderProps,\n} from '../shared/lib/image-config'\nimport { imageConfigDefault } from '../shared/lib/image-config'\nimport { ImageConfigContext } from '../shared/lib/image-config-context.shared-runtime'\nimport { warnOnce } from '../shared/lib/utils/warn-once'\nimport { RouterContext } from '../shared/lib/router-context.shared-runtime'\n\n// This is replaced by webpack alias\nimport defaultLoader from 'next/dist/shared/lib/image-loader'\nimport { useMergedRef } from './use-merged-ref'\n\n// This is replaced by webpack define plugin\nconst configEnv = process.env.__NEXT_IMAGE_OPTS as any as ImageConfigComplete\n\nif (typeof window === 'undefined') {\n ;(globalThis as any).__NEXT_IMAGE_IMPORTED = true\n}\n\nexport type { ImageLoaderProps }\nexport type ImageLoader = (p: ImageLoaderProps) => string\n\ntype ImgElementWithDataProp = HTMLImageElement & {\n 'data-loaded-src': string | undefined\n}\n\ntype ImageElementProps = ImgProps & {\n unoptimized: boolean\n placeholder: PlaceholderValue\n onLoadRef: React.MutableRefObject<OnLoad | undefined>\n onLoadingCompleteRef: React.MutableRefObject<OnLoadingComplete | undefined>\n setBlurComplete: (b: boolean) => void\n setShowAltText: (b: boolean) => void\n sizesInput: string | undefined\n}\n\n// See https://stackoverflow.com/q/39777833/266535 for why we use this ref\n// handler instead of the img's onLoad attribute.\nfunction handleLoading(\n img: ImgElementWithDataProp,\n placeholder: PlaceholderValue,\n onLoadRef: React.MutableRefObject<OnLoad | undefined>,\n onLoadingCompleteRef: React.MutableRefObject<OnLoadingComplete | undefined>,\n setBlurComplete: (b: boolean) => void,\n unoptimized: boolean,\n sizesInput: string | undefined\n) {\n const src = img?.src\n if (!img || img['data-loaded-src'] === src) {\n return\n }\n img['data-loaded-src'] = src\n const p = 'decode' in img ? img.decode() : Promise.resolve()\n p.catch(() => {}).then(() => {\n if (!img.parentElement || !img.isConnected) {\n // Exit early in case of race condition:\n // - onload() is called\n // - decode() is called but incomplete\n // - unmount is called\n // - decode() completes\n return\n }\n if (placeholder !== 'empty') {\n setBlurComplete(true)\n }\n if (onLoadRef?.current) {\n // Since we don't have the SyntheticEvent here,\n // we must create one with the same shape.\n // See https://reactjs.org/docs/events.html\n const event = new Event('load')\n Object.defineProperty(event, 'target', { writable: false, value: img })\n let prevented = false\n let stopped = false\n onLoadRef.current({\n ...event,\n nativeEvent: event,\n currentTarget: img,\n target: img,\n isDefaultPrevented: () => prevented,\n isPropagationStopped: () => stopped,\n persist: () => {},\n preventDefault: () => {\n prevented = true\n event.preventDefault()\n },\n stopPropagation: () => {\n stopped = true\n event.stopPropagation()\n },\n })\n }\n if (onLoadingCompleteRef?.current) {\n onLoadingCompleteRef.current(img)\n }\n if (process.env.NODE_ENV !== 'production') {\n const origSrc = new URL(src, 'http://n').searchParams.get('url') || src\n if (img.getAttribute('data-nimg') === 'fill') {\n if (!unoptimized && (!sizesInput || sizesInput === '100vw')) {\n let widthViewportRatio =\n img.getBoundingClientRect().width / window.innerWidth\n if (widthViewportRatio < 0.6) {\n if (sizesInput === '100vw') {\n warnOnce(\n `Image with src \"${origSrc}\" has \"fill\" prop and \"sizes\" prop of \"100vw\", but image is not rendered at full viewport width. Please adjust \"sizes\" to improve page performance. Read more: https://nextjs.org/docs/api-reference/next/image#sizes`\n )\n } else {\n warnOnce(\n `Image with src \"${origSrc}\" has \"fill\" but is missing \"sizes\" prop. Please add it to improve page performance. Read more: https://nextjs.org/docs/api-reference/next/image#sizes`\n )\n }\n }\n }\n if (img.parentElement) {\n const { position } = window.getComputedStyle(img.parentElement)\n const valid = ['absolute', 'fixed', 'relative']\n if (!valid.includes(position)) {\n warnOnce(\n `Image with src \"${origSrc}\" has \"fill\" and parent element with invalid \"position\". Provided \"${position}\" should be one of ${valid\n .map(String)\n .join(',')}.`\n )\n }\n }\n if (img.height === 0) {\n warnOnce(\n `Image with src \"${origSrc}\" has \"fill\" and a height value of 0. This is likely because the parent element of the image has not been styled to have a set height.`\n )\n }\n }\n\n const heightModified =\n img.height.toString() !== img.getAttribute('height')\n const widthModified = img.width.toString() !== img.getAttribute('width')\n if (\n (heightModified && !widthModified) ||\n (!heightModified && widthModified)\n ) {\n warnOnce(\n `Image with src \"${origSrc}\" has either width or height modified, but not the other. If you use CSS to change the size of your image, also include the styles 'width: \"auto\"' or 'height: \"auto\"' to maintain the aspect ratio.`\n )\n }\n }\n })\n}\n\nfunction getDynamicProps(\n fetchPriority?: string\n): Record<string, string | undefined> {\n if (Boolean(use)) {\n // In React 19.0.0 or newer, we must use camelCase\n // prop to avoid \"Warning: Invalid DOM property\".\n // See https://github.com/facebook/react/pull/25927\n return { fetchPriority }\n }\n // In React 18.2.0 or older, we must use lowercase prop\n // to avoid \"Warning: Invalid DOM property\".\n return { fetchpriority: fetchPriority }\n}\n\nconst ImageElement = forwardRef<HTMLImageElement | null, ImageElementProps>(\n (\n {\n src,\n srcSet,\n sizes,\n height,\n width,\n decoding,\n className,\n style,\n fetchPriority,\n placeholder,\n loading,\n unoptimized,\n fill,\n onLoadRef,\n onLoadingCompleteRef,\n setBlurComplete,\n setShowAltText,\n sizesInput,\n onLoad,\n onError,\n ...rest\n },\n forwardedRef\n ) => {\n const ownRef = useCallback(\n (img: ImgElementWithDataProp | null) => {\n if (!img) {\n return\n }\n if (onError) {\n // If the image has an error before react hydrates, then the error is lost.\n // The workaround is to wait until the image is mounted which is after hydration,\n // then we set the src again to trigger the error handler (if there was an error).\n // eslint-disable-next-line no-self-assign\n img.src = img.src\n }\n if (process.env.NODE_ENV !== 'production') {\n if (!src) {\n console.error(`Image is missing required \"src\" property:`, img)\n }\n if (img.getAttribute('alt') === null) {\n console.error(\n `Image is missing required \"alt\" property. Please add Alternative Text to describe the image for screen readers and search engines.`\n )\n }\n }\n if (img.complete) {\n handleLoading(\n img,\n placeholder,\n onLoadRef,\n onLoadingCompleteRef,\n setBlurComplete,\n unoptimized,\n sizesInput\n )\n }\n },\n [\n src,\n placeholder,\n onLoadRef,\n onLoadingCompleteRef,\n setBlurComplete,\n onError,\n unoptimized,\n sizesInput,\n ]\n )\n\n const ref = useMergedRef(forwardedRef, ownRef)\n\n return (\n <img\n {...rest}\n {...getDynamicProps(fetchPriority)}\n // It's intended to keep `loading` before `src` because React updates\n // props in order which causes Safari/Firefox to not lazy load properly.\n // See https://github.com/facebook/react/issues/25883\n loading={loading}\n width={width}\n height={height}\n decoding={decoding}\n data-nimg={fill ? 'fill' : '1'}\n className={className}\n style={style}\n // It's intended to keep `src` the last attribute because React updates\n // attributes in order. If we keep `src` the first one, Safari will\n // immediately start to fetch `src`, before `sizes` and `srcSet` are even\n // updated by React. That causes multiple unnecessary requests if `srcSet`\n // and `sizes` are defined.\n // This bug cannot be reproduced in Chrome or Firefox.\n sizes={sizes}\n srcSet={srcSet}\n src={src}\n ref={ref}\n onLoad={(event) => {\n const img = event.currentTarget as ImgElementWithDataProp\n handleLoading(\n img,\n placeholder,\n onLoadRef,\n onLoadingCompleteRef,\n setBlurComplete,\n unoptimized,\n sizesInput\n )\n }}\n onError={(event) => {\n // if the real image fails to load, this will ensure \"alt\" is visible\n setShowAltText(true)\n if (placeholder !== 'empty') {\n // If the real image fails to load, this will still remove the placeholder.\n setBlurComplete(true)\n }\n if (onError) {\n onError(event)\n }\n }}\n />\n )\n }\n)\n\nfunction ImagePreload({\n isAppRouter,\n imgAttributes,\n}: {\n isAppRouter: boolean\n imgAttributes: ImgProps\n}) {\n const opts: ReactDOM.PreloadOptions = {\n as: 'image',\n imageSrcSet: imgAttributes.srcSet,\n imageSizes: imgAttributes.sizes,\n crossOrigin: imgAttributes.crossOrigin,\n referrerPolicy: imgAttributes.referrerPolicy,\n ...getDynamicProps(imgAttributes.fetchPriority),\n }\n\n if (isAppRouter && ReactDOM.preload) {\n ReactDOM.preload(imgAttributes.src, opts)\n return null\n }\n\n return (\n <Head>\n <link\n key={\n '__nimg-' +\n imgAttributes.src +\n imgAttributes.srcSet +\n imgAttributes.sizes\n }\n rel=\"preload\"\n // Note how we omit the `href` attribute, as it would only be relevant\n // for browsers that do not support `imagesrcset`, and in those cases\n // it would cause the incorrect image to be preloaded.\n //\n // https://html.spec.whatwg.org/multipage/semantics.html#attr-link-imagesrcset\n href={imgAttributes.srcSet ? undefined : imgAttributes.src}\n {...opts}\n />\n </Head>\n )\n}\n\n/**\n * The `Image` component is used to optimize images.\n *\n * Read more: [Next.js docs: `Image`](https://nextjs.org/docs/app/api-reference/components/image)\n */\nexport const Image = forwardRef<HTMLImageElement | null, ImageProps>(\n (props, forwardedRef) => {\n const pagesRouter = useContext(RouterContext)\n // We're in the app directory if there is no pages router.\n const isAppRouter = !pagesRouter\n\n const configContext = useContext(ImageConfigContext)\n const config = useMemo(() => {\n const c = configEnv || configContext || imageConfigDefault\n\n const allSizes = [...c.deviceSizes, ...c.imageSizes].sort((a, b) => a - b)\n const deviceSizes = c.deviceSizes.sort((a, b) => a - b)\n const qualities = c.qualities?.sort((a, b) => a - b)\n return {\n ...c,\n allSizes,\n deviceSizes,\n qualities,\n // During the SSR, configEnv (__NEXT_IMAGE_OPTS) does not include\n // security sensitive configs like `localPatterns`, which is needed\n // during the server render to ensure it's validated. Therefore use\n // configContext, which holds the config from the server for validation.\n localPatterns:\n typeof window === 'undefined'\n ? configContext?.localPatterns\n : c.localPatterns,\n }\n }, [configContext])\n\n const { onLoad, onLoadingComplete } = props\n const onLoadRef = useRef(onLoad)\n\n useEffect(() => {\n onLoadRef.current = onLoad\n }, [onLoad])\n\n const onLoadingCompleteRef = useRef(onLoadingComplete)\n\n useEffect(() => {\n onLoadingCompleteRef.current = onLoadingComplete\n }, [onLoadingComplete])\n\n const [blurComplete, setBlurComplete] = useState(false)\n const [showAltText, setShowAltText] = useState(false)\n const { props: imgAttributes, meta: imgMeta } = getImgProps(props, {\n defaultLoader,\n imgConf: config,\n blurComplete,\n showAltText,\n })\n\n return (\n <>\n {\n <ImageElement\n {...imgAttributes}\n unoptimized={imgMeta.unoptimized}\n placeholder={imgMeta.placeholder}\n fill={imgMeta.fill}\n onLoadRef={onLoadRef}\n onLoadingCompleteRef={onLoadingCompleteRef}\n setBlurComplete={setBlurComplete}\n setShowAltText={setShowAltText}\n sizesInput={props.sizes}\n ref={forwardedRef}\n />\n }\n {imgMeta.preload ? (\n <ImagePreload\n isAppRouter={isAppRouter}\n imgAttributes={imgAttributes}\n />\n ) : null}\n </>\n )\n }\n)\n"],"names":["Image","configEnv","process","env","__NEXT_IMAGE_OPTS","window","globalThis","__NEXT_IMAGE_IMPORTED","handleLoading","img","placeholder","onLoadRef","onLoadingCompleteRef","setBlurComplete","unoptimized","sizesInput","src","p","decode","Promise","resolve","catch","then","parentElement","isConnected","current","event","Event","Object","defineProperty","writable","value","prevented","stopped","nativeEvent","currentTarget","target","isDefaultPrevented","isPropagationStopped","persist","preventDefault","stopPropagation","NODE_ENV","origSrc","URL","searchParams","get","getAttribute","widthViewportRatio","getBoundingClientRect","width","innerWidth","warnOnce","position","getComputedStyle","valid","includes","map","String","join","height","heightModified","toString","widthModified","getDynamicProps","fetchPriority","Boolean","use","fetchpriority","ImageElement","forwardRef","srcSet","sizes","decoding","className","style","loading","fill","setShowAltText","onLoad","onError","rest","forwardedRef","ownRef","useCallback","console","error","complete","ref","useMergedRef","data-nimg","ImagePreload","isAppRouter","imgAttributes","opts","as","imageSrcSet","imageSizes","crossOrigin","referrerPolicy","ReactDOM","preload","Head","link","rel","href","undefined","props","pagesRouter","useContext","RouterContext","configContext","ImageConfigContext","config","useMemo","c","imageConfigDefault","allSizes","deviceSizes","sort","a","b","qualities","localPatterns","onLoadingComplete","useRef","useEffect","blurComplete","useState","showAltText","meta","imgMeta","getImgProps","defaultLoader","imgConf"],"mappings":"AAoCkBE,QAAQC,GAAG,CAACC,iBAAiB;AApC/C;;;;;+BAqWaJ,SAAAA;;;eAAAA;;;;;;iEA1VN;mEACc;+DACJ;6BACW;6BAYO;iDACA;0BACV;4CACK;sEAGJ;8BACG;AAE7B,4CAA4C;AAC5C,MAAMC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEN,IAAI,OAAOI,WAAW,aAAa;;IAC/BC,WAAmBC,qBAAqB,GAAG;AAC/C;AAmBA,0EAA0E;AAC1E,iDAAiD;AACjD,SAASC,cACPC,GAA2B,EAC3BC,WAA6B,EAC7BC,SAAqD,EACrDC,oBAA2E,EAC3EC,eAAqC,EACrCC,WAAoB,EACpBC,UAA8B;IAE9B,MAAMC,MAAMP,KAAKO;IACjB,IAAI,CAACP,OAAOA,GAAG,CAAC,kBAAkB,KAAKO,KAAK;QAC1C;IACF;IACAP,GAAG,CAAC,kBAAkB,GAAGO;IACzB,MAAMC,IAAI,YAAYR,MAAMA,IAAIS,MAAM,KAAKC,QAAQC,OAAO;IAC1DH,EAAEI,KAAK,CAAC,KAAO,GAAGC,IAAI,CAAC;QACrB,IAAI,CAACb,IAAIc,aAAa,IAAI,CAACd,IAAIe,WAAW,EAAE;YAC1C,wCAAw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D,eAAe,GAAGkD,CAAAA,GAAAA,OAAAA,QAAQ,EAAC;IAC/C,MAAM,EAAErB,OAAOd,aAAa,EAAEqC,MAAMC,OAAO,EAAE,GAAGC,CAAAA,GAAAA,aAAAA,WAAW,EAACzB,OAAO;QACjE0B,eAAAA,aAAAA,OAAa;QACbC,SAASrB;QACTc;QACAE;IACF;IAEA,OAAA,WAAA,GACE,CAAA,GAAA,YAAA,IAAA,EAAA,YAAA,QAAA,EAAA;;0BAEI,CAAA,GAAA,YAAA,GAAA,EAAC5D,cAAAA;gBACE,GAAGwB,aAAa;gBACjB/E,aAAaqH,QAAQrH,WAAW;gBAChCJ,aAAayH,QAAQzH,WAAW;gBAChCmE,MAAMsD,QAAQtD,IAAI;gBAClBlE,WAAWA;gBACXC,sBAAsBA;gBACtBC,iBAAiBA;gBACjBiE,gBAAgBA;gBAChB/D,YAAY4F,MAAMnC,KAAK;gBACvBgB,KAAKN;;YAGRiD,QAAQ9B,OAAO,GAAA,WAAA,GACd,CAAA,GAAA,YAAA,GAAA,EAACV,cAAAA;gBACCC,aAAaA;gBACbC,eAAeA;iBAEf;;;AAGV","ignoreList":[0]}}, - {"offset": {"line": 22849, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/shared/lib/image-external.tsx"],"sourcesContent":["import type { ImageConfigComplete, ImageLoaderProps } from './image-config'\nimport type { ImageProps, ImageLoader, StaticImageData } from './get-img-props'\n\nimport { getImgProps } from './get-img-props'\nimport { Image } from '../../client/image-component'\n\n// This is replaced by webpack alias\nimport defaultLoader from 'next/dist/shared/lib/image-loader'\n\n/**\n * For more advanced use cases, you can call `getImageProps()`\n * to get the props that would be passed to the underlying `<img>` element,\n * and instead pass to them to another component, style, canvas, etc.\n *\n * Read more: [Next.js docs: `getImageProps`](https://nextjs.org/docs/app/api-reference/components/image#getimageprops)\n */\nexport function getImageProps(imgProps: ImageProps) {\n const { props } = getImgProps(imgProps, {\n defaultLoader,\n // This is replaced by webpack define plugin\n imgConf: process.env.__NEXT_IMAGE_OPTS as any as ImageConfigComplete,\n })\n // Normally we don't care about undefined props because we pass to JSX,\n // but this exported function could be used by the end user for anything\n // so we delete undefined props to clean it up a little.\n for (const [key, value] of Object.entries(props)) {\n if (value === undefined) {\n delete props[key as keyof typeof props]\n }\n }\n return { props }\n}\n\nexport default Image\n\nexport type { ImageProps, ImageLoaderProps, ImageLoader, StaticImageData }\n"],"names":["getImageProps","imgProps","props","getImgProps","defaultLoader","imgConf","process","env","__NEXT_IMAGE_OPTS","key","value","Object","entries","undefined","Image"],"mappings":"AAoBaM,QAAQC,GAAG,CAACC,iBAAiB;;;;;;;;;;;;;;;;IAa1C,OAAoB,EAAA;eAApB;;IAjBgBR,aAAa,EAAA;eAAbA;;;;6BAbY;gCACN;sEAGI;AASnB,SAASA,cAAcC,QAAoB;IAChD,MAAM,EAAEC,KAAK,EAAE,GAAGC,CAAAA,GAAAA,aAAAA,WAAW,EAACF,UAAU;QACtCG,eAAAA,aAAAA,OAAa;QACb,4CAA4C;QAC5CC,OAAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IACF;IACA,uEAAuE;IACvE,wEAAwE;IACxE,wDAAwD;IACxD,KAAK,MAAM,CAACI,KAAKC,MAAM,IAAIC,OAAOC,OAAO,CAACV,OAAQ;QAChD,IAAIQ,UAAUG,WAAW;YACvB,OAAOX,KAAK,CAACO,IAA0B;QACzC;IACF;IACA,OAAO;QAAEP;IAAM;AACjB;MAEA,WAAeY,gBAAAA,KAAK","ignoreList":[0]}}, - {"offset": {"line": 22933, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/image.js"],"sourcesContent":["module.exports = require('./dist/shared/lib/image-external')\n"],"names":[],"mappings":"AAAA,OAAO,OAAO","ignoreList":[0]}}, - {"offset": {"line": 22938, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/fumadocs-core/dist/framework/next.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/fumadocs-core/src/framework/next.tsx"],"sourcesContent":["'use client';\nimport { type Framework, FrameworkProvider } from '@/framework/index';\nimport type { ReactNode } from 'react';\nimport { useParams, usePathname, useRouter } from 'next/navigation';\nimport Link from 'next/link';\nimport Image from 'next/image';\n\nexport function NextProvider({\n children,\n Link: CustomLink,\n Image: CustomImage,\n}: {\n children: ReactNode;\n Link?: Framework['Link'];\n Image?: Framework['Image'];\n}) {\n return (\n <FrameworkProvider\n usePathname={usePathname}\n useRouter={useRouter}\n useParams={useParams}\n Link={CustomLink ?? (Link as Framework['Link'])}\n Image={CustomImage ?? (Image as Framework['Image'])}\n >\n {children}\n </FrameworkProvider>\n );\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAOA,SAAgB,aAAa,EAC3B,QAAA,EACA,MAAM,UAAA,EACN,OAAO,WAAA,EAAA,EAKN;IACD,OACE,aAAA,GAAA,IAAA,6KAAA,EAAC,sLAAA,EAAA;qBACc,oJAAA;mBACF,kJAAA;mBACA,kJAAA;QACX,MAAM,cAAe,0KAAA;QACrB,OAAO,eAAgB,2IAAA;QAEtB;MACiB"}}, - {"offset": {"line": 22970, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/fumadocs-ui/dist/provider/next.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/fumadocs-ui/src/provider/next.tsx"],"sourcesContent":["'use client';\nimport type { ComponentProps } from 'react';\nimport { RootProvider as BaseProvider } from '@/provider/base';\nimport { NextProvider } from 'fumadocs-core/framework/next';\nimport type { Framework } from 'fumadocs-core/framework';\n\nexport interface RootProviderProps extends ComponentProps<typeof BaseProvider> {\n /**\n * Custom framework components to override Next.js defaults\n */\n components?: {\n Link?: Framework['Link'];\n Image?: Framework['Image'];\n };\n}\n\nexport function RootProvider({ components, ...props }: RootProviderProps) {\n return (\n <NextProvider Link={components?.Link} Image={components?.Image}>\n <BaseProvider {...props}>{props.children}</BaseProvider>\n </NextProvider>\n );\n}\n"],"names":["BaseProvider"],"mappings":";;;;;;;;;;;;AAgBA,SAAgB,aAAa,EAAE,UAAA,EAAY,GAAG,OAAA,EAA4B;IACxE,OACE,aAAA,GAAA,IAAA,6KAAA,EAAC,gLAAA,EAAA;QAAa,MAAM,YAAY;QAAM,OAAO,YAAY;kBACvD,aAAA,GAAA,IAAA,6KAAA,EAACA,6KAAAA,EAAAA;YAAa,GAAI,KAAA;sBAAQ,MAAM,QAAA;UAAwB;MAC3C"}}] -} \ No newline at end of file diff --git a/.next/dev/static/chunks/node_modules_@swc_helpers_cjs_d80fb378._.js b/.next/dev/static/chunks/node_modules_@swc_helpers_cjs_d80fb378._.js deleted file mode 100644 index cde0668..0000000 --- a/.next/dev/static/chunks/node_modules_@swc_helpers_cjs_d80fb378._.js +++ /dev/null @@ -1,49 +0,0 @@ -(globalThis.TURBOPACK || (globalThis.TURBOPACK = [])).push([typeof document === "object" ? document.currentScript : undefined, -"[project]/node_modules/@swc/helpers/cjs/_interop_require_default.cjs [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -function _interop_require_default(obj) { - return obj && obj.__esModule ? obj : { - default: obj - }; -} -exports._ = _interop_require_default; -}), -"[project]/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -function _getRequireWildcardCache(nodeInterop) { - if (typeof WeakMap !== "function") return null; - var cacheBabelInterop = new WeakMap(); - var cacheNodeInterop = new WeakMap(); - return (_getRequireWildcardCache = function(nodeInterop) { - return nodeInterop ? cacheNodeInterop : cacheBabelInterop; - })(nodeInterop); -} -function _interop_require_wildcard(obj, nodeInterop) { - if (!nodeInterop && obj && obj.__esModule) return obj; - if (obj === null || typeof obj !== "object" && typeof obj !== "function") return { - default: obj - }; - var cache = _getRequireWildcardCache(nodeInterop); - if (cache && cache.has(obj)) return cache.get(obj); - var newObj = { - __proto__: null - }; - var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; - for(var key in obj){ - if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { - var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; - if (desc && (desc.get || desc.set)) Object.defineProperty(newObj, key, desc); - else newObj[key] = obj[key]; - } - } - newObj.default = obj; - if (cache) cache.set(obj, newObj); - return newObj; -} -exports._ = _interop_require_wildcard; -}), -]); - -//# sourceMappingURL=node_modules_%40swc_helpers_cjs_d80fb378._.js.map \ No newline at end of file diff --git a/.next/dev/static/chunks/node_modules_@swc_helpers_cjs_d80fb378._.js.map b/.next/dev/static/chunks/node_modules_@swc_helpers_cjs_d80fb378._.js.map deleted file mode 100644 index 2536322..0000000 --- a/.next/dev/static/chunks/node_modules_@swc_helpers_cjs_d80fb378._.js.map +++ /dev/null @@ -1,7 +0,0 @@ -{ - "version": 3, - "sources": [], - "sections": [ - {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40swc/helpers/cjs/_interop_require_default.cjs"],"sourcesContent":["\"use strict\";\n\nfunction _interop_require_default(obj) {\n return obj && obj.__esModule ? obj : { default: obj };\n}\nexports._ = _interop_require_default;\n"],"names":[],"mappings":"AAEA,SAAS,yBAAyB,GAAG;IACjC,OAAO,OAAO,IAAI,UAAU,GAAG,MAAM;QAAE,SAAS;IAAI;AACxD;AACA,QAAQ,CAAC,GAAG","ignoreList":[0]}}, - {"offset": {"line": 14, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40swc/helpers/cjs/_interop_require_wildcard.cjs"],"sourcesContent":["\"use strict\";\n\nfunction _getRequireWildcardCache(nodeInterop) {\n if (typeof WeakMap !== \"function\") return null;\n\n var cacheBabelInterop = new WeakMap();\n var cacheNodeInterop = new WeakMap();\n\n return (_getRequireWildcardCache = function(nodeInterop) {\n return nodeInterop ? cacheNodeInterop : cacheBabelInterop;\n })(nodeInterop);\n}\nfunction _interop_require_wildcard(obj, nodeInterop) {\n if (!nodeInterop && obj && obj.__esModule) return obj;\n if (obj === null || typeof obj !== \"object\" && typeof obj !== \"function\") return { default: obj };\n\n var cache = _getRequireWildcardCache(nodeInterop);\n\n if (cache && cache.has(obj)) return cache.get(obj);\n\n var newObj = { __proto__: null };\n var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;\n\n for (var key in obj) {\n if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) {\n var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;\n if (desc && (desc.get || desc.set)) Object.defineProperty(newObj, key, desc);\n else newObj[key] = obj[key];\n }\n }\n\n newObj.default = obj;\n\n if (cache) cache.set(obj, newObj);\n\n return newObj;\n}\nexports._ = _interop_require_wildcard;\n"],"names":[],"mappings":"AAEA,SAAS,yBAAyB,WAAW;IACzC,IAAI,OAAO,YAAY,YAAY,OAAO;IAE1C,IAAI,oBAAoB,IAAI;IAC5B,IAAI,mBAAmB,IAAI;IAE3B,OAAO,CAAC,2BAA2B,SAAS,WAAW;QACnD,OAAO,cAAc,mBAAmB;IAC5C,CAAC,EAAE;AACP;AACA,SAAS,0BAA0B,GAAG,EAAE,WAAW;IAC/C,IAAI,CAAC,eAAe,OAAO,IAAI,UAAU,EAAE,OAAO;IAClD,IAAI,QAAQ,QAAQ,OAAO,QAAQ,YAAY,OAAO,QAAQ,YAAY,OAAO;QAAE,SAAS;IAAI;IAEhG,IAAI,QAAQ,yBAAyB;IAErC,IAAI,SAAS,MAAM,GAAG,CAAC,MAAM,OAAO,MAAM,GAAG,CAAC;IAE9C,IAAI,SAAS;QAAE,WAAW;IAAK;IAC/B,IAAI,wBAAwB,OAAO,cAAc,IAAI,OAAO,wBAAwB;IAEpF,IAAK,IAAI,OAAO,IAAK;QACjB,IAAI,QAAQ,aAAa,OAAO,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,KAAK,MAAM;YACrE,IAAI,OAAO,wBAAwB,OAAO,wBAAwB,CAAC,KAAK,OAAO;YAC/E,IAAI,QAAQ,CAAC,KAAK,GAAG,IAAI,KAAK,GAAG,GAAG,OAAO,cAAc,CAAC,QAAQ,KAAK;iBAClE,MAAM,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI;QAC/B;IACJ;IAEA,OAAO,OAAO,GAAG;IAEjB,IAAI,OAAO,MAAM,GAAG,CAAC,KAAK;IAE1B,OAAO;AACX;AACA,QAAQ,CAAC,GAAG","ignoreList":[0]}}] -} \ No newline at end of file diff --git a/.next/dev/static/chunks/node_modules_aa411e4f._.js b/.next/dev/static/chunks/node_modules_aa411e4f._.js deleted file mode 100644 index 723449f..0000000 --- a/.next/dev/static/chunks/node_modules_aa411e4f._.js +++ /dev/null @@ -1,5319 +0,0 @@ -(globalThis.TURBOPACK || (globalThis.TURBOPACK = [])).push([typeof document === "object" ? document.currentScript : undefined, -"[project]/node_modules/fumadocs-ui/dist/_virtual/rolldown_runtime.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "__exportAll", - ()=>__exportAll, - "__reExport", - ()=>__reExport -]); -//#region rolldown:runtime -var __defProp = Object.defineProperty; -var __getOwnPropDesc = Object.getOwnPropertyDescriptor; -var __getOwnPropNames = Object.getOwnPropertyNames; -var __hasOwnProp = Object.prototype.hasOwnProperty; -var __exportAll = (all, symbols)=>{ - let target = {}; - for(var name in all){ - __defProp(target, name, { - get: all[name], - enumerable: true - }); - } - if (symbols) { - __defProp(target, Symbol.toStringTag, { - value: "Module" - }); - } - return target; -}; -var __copyProps = (to, from, except, desc)=>{ - if (from && typeof from === "object" || typeof from === "function") { - for(var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++){ - key = keys[i]; - if (!__hasOwnProp.call(to, key) && key !== except) { - __defProp(to, key, { - get: ((k)=>from[k]).bind(null, key), - enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable - }); - } - } - } - return to; -}; -var __reExport = (target, mod, secondTarget)=>(__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default")); -; -}), -"[project]/node_modules/fumadocs-ui/dist/contexts/i18n.js [app-client] (ecmascript) <locals>", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "i18n_exports", - ()=>i18n_exports -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$ui$2f$dist$2f$_virtual$2f$rolldown_runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/fumadocs-ui/dist/_virtual/rolldown_runtime.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$fumadocs$2f$ui$2f$dist$2f$contexts$2f$i18n$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@fumadocs/ui/dist/contexts/i18n.js [app-client] (ecmascript)"); -; -; -//#region src/contexts/i18n.tsx -var i18n_exports = {}; -; -(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$ui$2f$dist$2f$_virtual$2f$rolldown_runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["__reExport"])(i18n_exports, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$fumadocs$2f$ui$2f$dist$2f$contexts$2f$i18n$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__); -; - //# sourceMappingURL=i18n.js.map -}), -"[project]/node_modules/class-variance-authority/dist/index.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "cva", - ()=>cva, - "cx", - ()=>cx -]); -/** - * Copyright 2022 Joe Bell. All rights reserved. - * - * This file is licensed to you under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with the - * License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR REPRESENTATIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations under - * the License. - */ var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$clsx$2f$dist$2f$clsx$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/clsx/dist/clsx.mjs [app-client] (ecmascript)"); -; -const falsyToString = (value)=>typeof value === "boolean" ? `${value}` : value === 0 ? "0" : value; -const cx = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$clsx$2f$dist$2f$clsx$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["clsx"]; -const cva = (base, config)=>(props)=>{ - var _config_compoundVariants; - 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); - const { variants, defaultVariants } = config; - const getVariantClassNames = Object.keys(variants).map((variant)=>{ - const variantProp = props === null || props === void 0 ? void 0 : props[variant]; - const defaultVariantProp = defaultVariants === null || defaultVariants === void 0 ? void 0 : defaultVariants[variant]; - if (variantProp === null) return null; - const variantKey = falsyToString(variantProp) || falsyToString(defaultVariantProp); - return variants[variant][variantKey]; - }); - const propsWithoutUndefined = props && Object.entries(props).reduce((acc, param)=>{ - let [key, value] = param; - if (value === undefined) { - return acc; - } - acc[key] = value; - return acc; - }, {}); - 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)=>{ - let { class: cvClass, className: cvClassName, ...compoundVariantOptions } = param; - return Object.entries(compoundVariantOptions).every((param)=>{ - let [key, value] = param; - return Array.isArray(value) ? value.includes({ - ...defaultVariants, - ...propsWithoutUndefined - }[key]) : ({ - ...defaultVariants, - ...propsWithoutUndefined - })[key] === value; - }) ? [ - ...acc, - cvClass, - cvClassName - ] : acc; - }, []); - return cx(base, getVariantClassNames, getCompoundVariantClassNames, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className); - }; -}), -"[project]/node_modules/fumadocs-ui/dist/components/ui/button.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "buttonVariants", - ()=>buttonVariants -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$class$2d$variance$2d$authority$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/class-variance-authority/dist/index.mjs [app-client] (ecmascript)"); -; -//#region src/components/ui/button.tsx -const variants = { - primary: "bg-fd-primary text-fd-primary-foreground hover:bg-fd-primary/80", - outline: "border hover:bg-fd-accent hover:text-fd-accent-foreground", - ghost: "hover:bg-fd-accent hover:text-fd-accent-foreground", - secondary: "border bg-fd-secondary text-fd-secondary-foreground hover:bg-fd-accent hover:text-fd-accent-foreground" -}; -const buttonVariants = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$class$2d$variance$2d$authority$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["cva"])("inline-flex items-center justify-center rounded-md p-2 text-sm font-medium transition-colors duration-100 disabled:pointer-events-none disabled:opacity-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-fd-ring", { - variants: { - variant: variants, - color: variants, - size: { - sm: "gap-1 px-2 py-1.5 text-xs", - icon: "p-1.5 [&_svg]:size-5", - "icon-sm": "p-1.5 [&_svg]:size-4.5", - "icon-xs": "p-1 [&_svg]:size-4" - } - } -}); -; - //# sourceMappingURL=button.js.map -}), -"[project]/node_modules/@fumadocs/ui/dist/cn.js [app-client] (ecmascript) <locals>", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$tailwind$2d$merge$2f$dist$2f$bundle$2d$mjs$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/tailwind-merge/dist/bundle-mjs.mjs [app-client] (ecmascript)"); -; -; -}), -"[project]/node_modules/tailwind-merge/dist/bundle-mjs.mjs [app-client] (ecmascript) <export twMerge as cn>", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "cn", - ()=>__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$tailwind$2d$merge$2f$dist$2f$bundle$2d$mjs$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["twMerge"] -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$tailwind$2d$merge$2f$dist$2f$bundle$2d$mjs$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/tailwind-merge/dist/bundle-mjs.mjs [app-client] (ecmascript)"); -}), -"[project]/node_modules/lucide-react/dist/esm/shared/src/utils.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "hasA11yProp", - ()=>hasA11yProp, - "mergeClasses", - ()=>mergeClasses, - "toCamelCase", - ()=>toCamelCase, - "toKebabCase", - ()=>toKebabCase, - "toPascalCase", - ()=>toPascalCase -]); -/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */ const toKebabCase = (string)=>string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(); -const toCamelCase = (string)=>string.replace(/^([A-Z])|[\s-_]+(\w)/g, (match, p1, p2)=>p2 ? p2.toUpperCase() : p1.toLowerCase()); -const toPascalCase = (string)=>{ - const camelCase = toCamelCase(string); - return camelCase.charAt(0).toUpperCase() + camelCase.slice(1); -}; -const mergeClasses = (...classes)=>classes.filter((className, index, array)=>{ - return Boolean(className) && className.trim() !== "" && array.indexOf(className) === index; - }).join(" ").trim(); -const hasA11yProp = (props)=>{ - for(const prop in props){ - if (prop.startsWith("aria-") || prop === "role" || prop === "title") { - return true; - } - } -}; -; - //# sourceMappingURL=utils.js.map -}), -"[project]/node_modules/lucide-react/dist/esm/defaultAttributes.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "default", - ()=>defaultAttributes -]); -/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */ var defaultAttributes = { - xmlns: "http://www.w3.org/2000/svg", - width: 24, - height: 24, - viewBox: "0 0 24 24", - fill: "none", - stroke: "currentColor", - strokeWidth: 2, - strokeLinecap: "round", - strokeLinejoin: "round" -}; -; - //# sourceMappingURL=defaultAttributes.js.map -}), -"[project]/node_modules/lucide-react/dist/esm/Icon.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "default", - ()=>Icon -]); -/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */ var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$defaultAttributes$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/lucide-react/dist/esm/defaultAttributes.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$shared$2f$src$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/lucide-react/dist/esm/shared/src/utils.js [app-client] (ecmascript)"); -; -; -; -const Icon = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["forwardRef"])(({ color = "currentColor", size = 24, strokeWidth = 2, absoluteStrokeWidth, className = "", children, iconNode, ...rest }, ref)=>(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createElement"])("svg", { - ref, - ...__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$defaultAttributes$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"], - width: size, - height: size, - stroke: color, - strokeWidth: absoluteStrokeWidth ? Number(strokeWidth) * 24 / Number(size) : strokeWidth, - className: (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$shared$2f$src$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["mergeClasses"])("lucide", className), - ...!children && !(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$shared$2f$src$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["hasA11yProp"])(rest) && { - "aria-hidden": "true" - }, - ...rest - }, [ - ...iconNode.map(([tag, attrs])=>(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createElement"])(tag, attrs)), - ...Array.isArray(children) ? children : [ - children - ] - ])); -; - //# sourceMappingURL=Icon.js.map -}), -"[project]/node_modules/lucide-react/dist/esm/createLucideIcon.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "default", - ()=>createLucideIcon -]); -/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */ var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$shared$2f$src$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/lucide-react/dist/esm/shared/src/utils.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$Icon$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/lucide-react/dist/esm/Icon.js [app-client] (ecmascript)"); -; -; -; -const createLucideIcon = (iconName, iconNode)=>{ - const Component = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["forwardRef"])(({ className, ...props }, ref)=>(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createElement"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$Icon$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"], { - ref, - iconNode, - className: (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$shared$2f$src$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["mergeClasses"])(`lucide-${(0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$shared$2f$src$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["toKebabCase"])((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$shared$2f$src$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["toPascalCase"])(iconName))}`, `lucide-${iconName}`, className), - ...props - })); - Component.displayName = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$shared$2f$src$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["toPascalCase"])(iconName); - return Component; -}; -; - //# sourceMappingURL=createLucideIcon.js.map -}), -"[project]/node_modules/lucide-react/dist/esm/icons/chevron-right.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "__iconNode", - ()=>__iconNode, - "default", - ()=>ChevronRight -]); -/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */ var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$createLucideIcon$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/lucide-react/dist/esm/createLucideIcon.js [app-client] (ecmascript)"); -; -const __iconNode = [ - [ - "path", - { - d: "m9 18 6-6-6-6", - key: "mthhwq" - } - ] -]; -const ChevronRight = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$createLucideIcon$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"])("chevron-right", __iconNode); -; - //# sourceMappingURL=chevron-right.js.map -}), -"[project]/node_modules/lucide-react/dist/esm/icons/chevron-right.js [app-client] (ecmascript) <export default as ChevronRight>", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "ChevronRight", - ()=>__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$chevron$2d$right$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"] -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$chevron$2d$right$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/lucide-react/dist/esm/icons/chevron-right.js [app-client] (ecmascript)"); -}), -"[project]/node_modules/lucide-react/dist/esm/icons/hash.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "__iconNode", - ()=>__iconNode, - "default", - ()=>Hash -]); -/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */ var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$createLucideIcon$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/lucide-react/dist/esm/createLucideIcon.js [app-client] (ecmascript)"); -; -const __iconNode = [ - [ - "line", - { - x1: "4", - x2: "20", - y1: "9", - y2: "9", - key: "4lhtct" - } - ], - [ - "line", - { - x1: "4", - x2: "20", - y1: "15", - y2: "15", - key: "vyu0kd" - } - ], - [ - "line", - { - x1: "10", - x2: "8", - y1: "3", - y2: "21", - key: "1ggp8o" - } - ], - [ - "line", - { - x1: "16", - x2: "14", - y1: "3", - y2: "21", - key: "weycgp" - } - ] -]; -const Hash = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$createLucideIcon$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"])("hash", __iconNode); -; - //# sourceMappingURL=hash.js.map -}), -"[project]/node_modules/lucide-react/dist/esm/icons/hash.js [app-client] (ecmascript) <export default as Hash>", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "Hash", - ()=>__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$hash$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"] -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$hash$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/lucide-react/dist/esm/icons/hash.js [app-client] (ecmascript)"); -}), -"[project]/node_modules/lucide-react/dist/esm/icons/search.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "__iconNode", - ()=>__iconNode, - "default", - ()=>Search -]); -/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */ var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$createLucideIcon$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/lucide-react/dist/esm/createLucideIcon.js [app-client] (ecmascript)"); -; -const __iconNode = [ - [ - "path", - { - d: "m21 21-4.34-4.34", - key: "14j7rj" - } - ], - [ - "circle", - { - cx: "11", - cy: "11", - r: "8", - key: "4ej97u" - } - ] -]; -const Search = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$createLucideIcon$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"])("search", __iconNode); -; - //# sourceMappingURL=search.js.map -}), -"[project]/node_modules/lucide-react/dist/esm/icons/search.js [app-client] (ecmascript) <export default as Search>", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "Search", - ()=>__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$search$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"] -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$search$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/lucide-react/dist/esm/icons/search.js [app-client] (ecmascript)"); -}), -"[project]/node_modules/fumadocs-core/dist/utils/use-on-change.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "useOnChange", - ()=>useOnChange -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -; -//#region src/utils/use-on-change.ts -function isDifferent(a, b) { - if (Array.isArray(a) && Array.isArray(b)) return b.length !== a.length || a.some((v, i)=>isDifferent(v, b[i])); - return a !== b; -} -/** -* @param value - state to watch -* @param onChange - when the state changed -* @param isUpdated - a function that determines if the state is updated -*/ function useOnChange(value, onChange, isUpdated = isDifferent) { - const [prev, setPrev] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"])(value); - if (isUpdated(prev, value)) { - onChange(value, prev); - setPrev(value); - } -} -; - //# sourceMappingURL=use-on-change.js.map -}), -"[project]/node_modules/compute-scroll-into-view/dist/index.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "compute", - ()=>r -]); -const t = (t)=>"object" == typeof t && null != t && 1 === t.nodeType, e = (t, e)=>(!e || "hidden" !== t) && "visible" !== t && "clip" !== t, n = (t, n)=>{ - if (t.clientHeight < t.scrollHeight || t.clientWidth < t.scrollWidth) { - const o = getComputedStyle(t, null); - return e(o.overflowY, n) || e(o.overflowX, n) || ((t)=>{ - const e = ((t)=>{ - if (!t.ownerDocument || !t.ownerDocument.defaultView) return null; - try { - return t.ownerDocument.defaultView.frameElement; - } catch (t) { - return null; - } - })(t); - return !!e && (e.clientHeight < t.scrollHeight || e.clientWidth < t.scrollWidth); - })(t); - } - return !1; -}, o = (t, e, n, o, l, r, i, s)=>r < t && i > e || r > t && i < e ? 0 : r <= t && s <= n || i >= e && s >= n ? r - t - o : i > e && s < n || r < t && s > n ? i - e + l : 0, l = (t)=>{ - const e = t.parentElement; - return null == e ? t.getRootNode().host || null : e; -}, r = (e, r)=>{ - var i, s, d, h; - if ("undefined" == typeof document) return []; - const { scrollMode: c, block: f, inline: u, boundary: a, skipOverflowHiddenElements: g } = r, p = "function" == typeof a ? a : (t)=>t !== a; - if (!t(e)) throw new TypeError("Invalid target"); - const m = document.scrollingElement || document.documentElement, w = []; - let W = e; - for(; t(W) && p(W);){ - if (W = l(W), W === m) { - w.push(W); - break; - } - null != W && W === document.body && n(W) && !n(document.documentElement) || null != W && n(W, g) && w.push(W); - } - const b = null != (s = null == (i = window.visualViewport) ? void 0 : i.width) ? s : innerWidth, H = null != (h = null == (d = window.visualViewport) ? void 0 : d.height) ? h : innerHeight, { scrollX: y, scrollY: M } = window, { height: v, width: E, top: x, right: C, bottom: I, left: R } = e.getBoundingClientRect(), { top: T, right: B, bottom: F, left: V } = ((t)=>{ - const e = window.getComputedStyle(t); - return { - top: parseFloat(e.scrollMarginTop) || 0, - right: parseFloat(e.scrollMarginRight) || 0, - bottom: parseFloat(e.scrollMarginBottom) || 0, - left: parseFloat(e.scrollMarginLeft) || 0 - }; - })(e); - let k = "start" === f || "nearest" === f ? x - T : "end" === f ? I + F : x + v / 2 - T + F, D = "center" === u ? R + E / 2 - V + B : "end" === u ? C + B : R - V; - const L = []; - for(let t = 0; t < w.length; t++){ - const e = w[t], { height: l, width: r, top: i, right: s, bottom: d, left: h } = e.getBoundingClientRect(); - if ("if-needed" === c && x >= 0 && R >= 0 && I <= H && C <= b && (e === m && !n(e) || x >= i && I <= d && R >= h && C <= s)) return L; - const a = getComputedStyle(e), g = parseInt(a.borderLeftWidth, 10), p = parseInt(a.borderTopWidth, 10), W = parseInt(a.borderRightWidth, 10), T = parseInt(a.borderBottomWidth, 10); - let B = 0, F = 0; - const V = "offsetWidth" in e ? e.offsetWidth - e.clientWidth - g - W : 0, S = "offsetHeight" in e ? e.offsetHeight - e.clientHeight - p - T : 0, X = "offsetWidth" in e ? 0 === e.offsetWidth ? 0 : r / e.offsetWidth : 0, Y = "offsetHeight" in e ? 0 === e.offsetHeight ? 0 : l / e.offsetHeight : 0; - if (m === e) B = "start" === f ? k : "end" === f ? k - H : "nearest" === f ? o(M, M + H, H, p, T, M + k, M + k + v, v) : k - H / 2, F = "start" === u ? D : "center" === u ? D - b / 2 : "end" === u ? D - b : o(y, y + b, b, g, W, y + D, y + D + E, E), B = Math.max(0, B + M), F = Math.max(0, F + y); - else { - B = "start" === f ? k - i - p : "end" === f ? k - d + T + S : "nearest" === f ? o(i, d, l, p, T + S, k, k + v, v) : k - (i + l / 2) + S / 2, F = "start" === u ? D - h - g : "center" === u ? D - (h + r / 2) + V / 2 : "end" === u ? D - s + W + V : o(h, s, r, g, W + V, D, D + E, E); - const { scrollLeft: t, scrollTop: n } = e; - B = 0 === Y ? 0 : Math.max(0, Math.min(n + B / Y, e.scrollHeight - l / Y + S)), F = 0 === X ? 0 : Math.max(0, Math.min(t + F / X, e.scrollWidth - r / X + V)), k += n - B, D += t - F; - } - L.push({ - el: e, - top: B, - left: F - }); - } - return L; -}; -; - //# sourceMappingURL=index.js.map -}), -"[project]/node_modules/scroll-into-view-if-needed/dist/index.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "default", - ()=>e -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$compute$2d$scroll$2d$into$2d$view$2f$dist$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/compute-scroll-into-view/dist/index.js [app-client] (ecmascript)"); -; -const o = (t)=>!1 === t ? { - block: "end", - inline: "nearest" - } : ((t)=>t === Object(t) && 0 !== Object.keys(t).length)(t) ? t : { - block: "start", - inline: "nearest" - }; -function e(e, r) { - if (!e.isConnected || !((t)=>{ - let o = t; - for(; o && o.parentNode;){ - if (o.parentNode === document) return !0; - o = o.parentNode instanceof ShadowRoot ? o.parentNode.host : o.parentNode; - } - return !1; - })(e)) return; - const n = ((t)=>{ - const o = window.getComputedStyle(t); - return { - top: parseFloat(o.scrollMarginTop) || 0, - right: parseFloat(o.scrollMarginRight) || 0, - bottom: parseFloat(o.scrollMarginBottom) || 0, - left: parseFloat(o.scrollMarginLeft) || 0 - }; - })(e); - if (((t)=>"object" == typeof t && "function" == typeof t.behavior)(r)) return r.behavior((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$compute$2d$scroll$2d$into$2d$view$2f$dist$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["compute"])(e, r)); - const l = "boolean" == typeof r || null == r ? void 0 : r.behavior; - for (const { el: a, top: i, left: s } of (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$compute$2d$scroll$2d$into$2d$view$2f$dist$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["compute"])(e, o(r))){ - const t = i - n.top + n.bottom, o = s - n.left + n.right; - a.scroll({ - top: t, - left: o, - behavior: l - }); - } -} -; - //# sourceMappingURL=index.js.map -}), -"[project]/node_modules/@radix-ui/primitive/dist/index.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "canUseDOM", - ()=>canUseDOM, - "composeEventHandlers", - ()=>composeEventHandlers, - "getActiveElement", - ()=>getActiveElement, - "getOwnerDocument", - ()=>getOwnerDocument, - "getOwnerWindow", - ()=>getOwnerWindow, - "isFrame", - ()=>isFrame -]); -// src/primitive.tsx -var canUseDOM = !!(typeof window !== "undefined" && window.document && window.document.createElement); -function composeEventHandlers(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) { - return function handleEvent(event) { - originalEventHandler?.(event); - if (checkForDefaultPrevented === false || !event.defaultPrevented) { - return ourEventHandler?.(event); - } - }; -} -function getOwnerWindow(element) { - if (!canUseDOM) { - throw new Error("Cannot access window outside of the DOM"); - } - return element?.ownerDocument?.defaultView ?? window; -} -function getOwnerDocument(element) { - if (!canUseDOM) { - throw new Error("Cannot access document outside of the DOM"); - } - return element?.ownerDocument ?? document; -} -function getActiveElement(node, activeDescendant = false) { - const { activeElement } = getOwnerDocument(node); - if (!activeElement?.nodeName) { - return null; - } - if (isFrame(activeElement) && activeElement.contentDocument) { - return getActiveElement(activeElement.contentDocument.body, activeDescendant); - } - if (activeDescendant) { - const id = activeElement.getAttribute("aria-activedescendant"); - if (id) { - const element = getOwnerDocument(activeElement).getElementById(id); - if (element) { - return element; - } - } - } - return activeElement; -} -function isFrame(element) { - return element.tagName === "IFRAME"; -} -; - //# sourceMappingURL=index.mjs.map -}), -"[project]/node_modules/@radix-ui/react-compose-refs/dist/index.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "composeRefs", - ()=>composeRefs, - "useComposedRefs", - ()=>useComposedRefs -]); -// packages/react/compose-refs/src/compose-refs.tsx -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -; -function setRef(ref, value) { - if (typeof ref === "function") { - return ref(value); - } else if (ref !== null && ref !== void 0) { - ref.current = value; - } -} -function composeRefs(...refs) { - return (node)=>{ - let hasCleanup = false; - const cleanups = refs.map((ref)=>{ - const cleanup = setRef(ref, node); - if (!hasCleanup && typeof cleanup == "function") { - hasCleanup = true; - } - return cleanup; - }); - if (hasCleanup) { - return ()=>{ - for(let i = 0; i < cleanups.length; i++){ - const cleanup = cleanups[i]; - if (typeof cleanup == "function") { - cleanup(); - } else { - setRef(refs[i], null); - } - } - }; - } - }; -} -function useComposedRefs(...refs) { - return __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useCallback"](composeRefs(...refs), refs); -} -; - //# sourceMappingURL=index.mjs.map -}), -"[project]/node_modules/@radix-ui/react-context/dist/index.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "createContext", - ()=>createContext2, - "createContextScope", - ()=>createContextScope -]); -// packages/react/context/src/create-context.tsx -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/jsx-runtime.js [app-client] (ecmascript)"); -; -; -function createContext2(rootComponentName, defaultContext) { - const Context = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createContext"](defaultContext); - const Provider = (props)=>{ - const { children, ...context } = props; - const value = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useMemo"]({ - "createContext2.Provider.useMemo[value]": ()=>context - }["createContext2.Provider.useMemo[value]"], Object.values(context)); - return /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(Context.Provider, { - value, - children - }); - }; - Provider.displayName = rootComponentName + "Provider"; - function useContext2(consumerName) { - const context = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useContext"](Context); - if (context) return context; - if (defaultContext !== void 0) return defaultContext; - throw new Error(`\`${consumerName}\` must be used within \`${rootComponentName}\``); - } - return [ - Provider, - useContext2 - ]; -} -function createContextScope(scopeName, createContextScopeDeps = []) { - let defaultContexts = []; - function createContext3(rootComponentName, defaultContext) { - const BaseContext = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createContext"](defaultContext); - const index = defaultContexts.length; - defaultContexts = [ - ...defaultContexts, - defaultContext - ]; - const Provider = (props)=>{ - const { scope, children, ...context } = props; - const Context = scope?.[scopeName]?.[index] || BaseContext; - const value = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useMemo"]({ - "createContextScope.createContext3.Provider.useMemo[value]": ()=>context - }["createContextScope.createContext3.Provider.useMemo[value]"], Object.values(context)); - return /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(Context.Provider, { - value, - children - }); - }; - Provider.displayName = rootComponentName + "Provider"; - function useContext2(consumerName, scope) { - const Context = scope?.[scopeName]?.[index] || BaseContext; - const context = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useContext"](Context); - if (context) return context; - if (defaultContext !== void 0) return defaultContext; - throw new Error(`\`${consumerName}\` must be used within \`${rootComponentName}\``); - } - return [ - Provider, - useContext2 - ]; - } - const createScope = ()=>{ - const scopeContexts = defaultContexts.map((defaultContext)=>{ - return __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createContext"](defaultContext); - }); - return function useScope(scope) { - const contexts = scope?.[scopeName] || scopeContexts; - return __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useMemo"]({ - "createContextScope.createScope.useScope.useMemo": ()=>({ - [`__scope${scopeName}`]: { - ...scope, - [scopeName]: contexts - } - }) - }["createContextScope.createScope.useScope.useMemo"], [ - scope, - contexts - ]); - }; - }; - createScope.scopeName = scopeName; - return [ - createContext3, - composeContextScopes(createScope, ...createContextScopeDeps) - ]; -} -function composeContextScopes(...scopes) { - const baseScope = scopes[0]; - if (scopes.length === 1) return baseScope; - const createScope = ()=>{ - const scopeHooks = scopes.map((createScope2)=>({ - useScope: createScope2(), - scopeName: createScope2.scopeName - })); - return function useComposedScopes(overrideScopes) { - const nextScopes = scopeHooks.reduce((nextScopes2, { useScope, scopeName })=>{ - const scopeProps = useScope(overrideScopes); - const currentScope = scopeProps[`__scope${scopeName}`]; - return { - ...nextScopes2, - ...currentScope - }; - }, {}); - return __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useMemo"]({ - "composeContextScopes.createScope.useComposedScopes.useMemo": ()=>({ - [`__scope${baseScope.scopeName}`]: nextScopes - }) - }["composeContextScopes.createScope.useComposedScopes.useMemo"], [ - nextScopes - ]); - }; - }; - createScope.scopeName = baseScope.scopeName; - return createScope; -} -; - //# sourceMappingURL=index.mjs.map -}), -"[project]/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "useLayoutEffect", - ()=>useLayoutEffect2 -]); -// packages/react/use-layout-effect/src/use-layout-effect.tsx -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -; -var useLayoutEffect2 = globalThis?.document ? __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useLayoutEffect"] : ()=>{}; -; - //# sourceMappingURL=index.mjs.map -}), -"[project]/node_modules/@radix-ui/react-id/dist/index.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "useId", - ()=>useId -]); -// packages/react/id/src/id.tsx -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$use$2d$layout$2d$effect$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs [app-client] (ecmascript)"); -; -; -var useReactId = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__[" useId ".trim().toString()] || (()=>void 0); -var count = 0; -function useId(deterministicId) { - const [id, setId] = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__.useState(useReactId()); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$use$2d$layout$2d$effect$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useLayoutEffect"])({ - "useId.useLayoutEffect": ()=>{ - if (!deterministicId) setId({ - "useId.useLayoutEffect": (reactId)=>reactId ?? String(count++) - }["useId.useLayoutEffect"]); - } - }["useId.useLayoutEffect"], [ - deterministicId - ]); - return deterministicId || (id ? `radix-${id}` : ""); -} -; - //# sourceMappingURL=index.mjs.map -}), -"[project]/node_modules/@radix-ui/react-use-effect-event/dist/index.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "useEffectEvent", - ()=>useEffectEvent -]); -// src/use-effect-event.tsx -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$use$2d$layout$2d$effect$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -; -; -var useReactEffectEvent = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__[" useEffectEvent ".trim().toString()]; -var useReactInsertionEffect = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__[" useInsertionEffect ".trim().toString()]; -function useEffectEvent(callback) { - if (typeof useReactEffectEvent === "function") { - return useReactEffectEvent(callback); - } - const ref = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__.useRef({ - "useEffectEvent.useRef[ref]": ()=>{ - throw new Error("Cannot call an event handler while rendering."); - } - }["useEffectEvent.useRef[ref]"]); - if (typeof useReactInsertionEffect === "function") { - useReactInsertionEffect({ - "useEffectEvent.useReactInsertionEffect": ()=>{ - ref.current = callback; - } - }["useEffectEvent.useReactInsertionEffect"]); - } else { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$use$2d$layout$2d$effect$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useLayoutEffect"])({ - "useEffectEvent.useLayoutEffect": ()=>{ - ref.current = callback; - } - }["useEffectEvent.useLayoutEffect"]); - } - return __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__.useMemo({ - "useEffectEvent.useMemo": ()=>({ - "useEffectEvent.useMemo": (...args)=>ref.current?.(...args) - })["useEffectEvent.useMemo"] - }["useEffectEvent.useMemo"], []); -} -; - //# sourceMappingURL=index.mjs.map -}), -"[project]/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "useControllableState", - ()=>useControllableState, - "useControllableStateReducer", - ()=>useControllableStateReducer -]); -// src/use-controllable-state.tsx -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$use$2d$layout$2d$effect$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$use$2d$effect$2d$event$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@radix-ui/react-use-effect-event/dist/index.mjs [app-client] (ecmascript)"); -; -; -var useInsertionEffect = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__[" useInsertionEffect ".trim().toString()] || __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$use$2d$layout$2d$effect$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useLayoutEffect"]; -function useControllableState({ prop, defaultProp, onChange = ()=>{}, caller }) { - const [uncontrolledProp, setUncontrolledProp, onChangeRef] = useUncontrolledState({ - defaultProp, - onChange - }); - const isControlled = prop !== void 0; - const value = isControlled ? prop : uncontrolledProp; - if ("TURBOPACK compile-time truthy", 1) { - const isControlledRef = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__.useRef(prop !== void 0); - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__.useEffect({ - "useControllableState.useEffect": ()=>{ - const wasControlled = isControlledRef.current; - if (wasControlled !== isControlled) { - const from = wasControlled ? "controlled" : "uncontrolled"; - const to = isControlled ? "controlled" : "uncontrolled"; - console.warn(`${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.`); - } - isControlledRef.current = isControlled; - } - }["useControllableState.useEffect"], [ - isControlled, - caller - ]); - } - const setValue = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__.useCallback({ - "useControllableState.useCallback[setValue]": (nextValue)=>{ - if (isControlled) { - const value2 = isFunction(nextValue) ? nextValue(prop) : nextValue; - if (value2 !== prop) { - onChangeRef.current?.(value2); - } - } else { - setUncontrolledProp(nextValue); - } - } - }["useControllableState.useCallback[setValue]"], [ - isControlled, - prop, - setUncontrolledProp, - onChangeRef - ]); - return [ - value, - setValue - ]; -} -function useUncontrolledState({ defaultProp, onChange }) { - const [value, setValue] = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__.useState(defaultProp); - const prevValueRef = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__.useRef(value); - const onChangeRef = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__.useRef(onChange); - useInsertionEffect({ - "useUncontrolledState.useInsertionEffect": ()=>{ - onChangeRef.current = onChange; - } - }["useUncontrolledState.useInsertionEffect"], [ - onChange - ]); - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__.useEffect({ - "useUncontrolledState.useEffect": ()=>{ - if (prevValueRef.current !== value) { - onChangeRef.current?.(value); - prevValueRef.current = value; - } - } - }["useUncontrolledState.useEffect"], [ - value, - prevValueRef - ]); - return [ - value, - setValue, - onChangeRef - ]; -} -function isFunction(value) { - return typeof value === "function"; -} -; -; -var SYNC_STATE = Symbol("RADIX:SYNC_STATE"); -function useControllableStateReducer(reducer, userArgs, initialArg, init) { - const { prop: controlledState, defaultProp, onChange: onChangeProp, caller } = userArgs; - const isControlled = controlledState !== void 0; - const onChange = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$use$2d$effect$2d$event$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useEffectEvent"])(onChangeProp); - if ("TURBOPACK compile-time truthy", 1) { - const isControlledRef = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__.useRef(controlledState !== void 0); - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__.useEffect({ - "useControllableStateReducer.useEffect": ()=>{ - const wasControlled = isControlledRef.current; - if (wasControlled !== isControlled) { - const from = wasControlled ? "controlled" : "uncontrolled"; - const to = isControlled ? "controlled" : "uncontrolled"; - console.warn(`${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.`); - } - isControlledRef.current = isControlled; - } - }["useControllableStateReducer.useEffect"], [ - isControlled, - caller - ]); - } - const args = [ - { - ...initialArg, - state: defaultProp - } - ]; - if (init) { - args.push(init); - } - const [internalState, dispatch] = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__.useReducer({ - "useControllableStateReducer.useReducer": (state2, action)=>{ - if (action.type === SYNC_STATE) { - return { - ...state2, - state: action.state - }; - } - const next = reducer(state2, action); - if (isControlled && !Object.is(next.state, state2.state)) { - onChange(next.state); - } - return next; - } - }["useControllableStateReducer.useReducer"], ...args); - const uncontrolledState = internalState.state; - const prevValueRef = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__.useRef(uncontrolledState); - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__.useEffect({ - "useControllableStateReducer.useEffect": ()=>{ - if (prevValueRef.current !== uncontrolledState) { - prevValueRef.current = uncontrolledState; - if (!isControlled) { - onChange(uncontrolledState); - } - } - } - }["useControllableStateReducer.useEffect"], [ - onChange, - uncontrolledState, - prevValueRef, - isControlled - ]); - const state = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__.useMemo({ - "useControllableStateReducer.useMemo[state]": ()=>{ - const isControlled2 = controlledState !== void 0; - if (isControlled2) { - return { - ...internalState, - state: controlledState - }; - } - return internalState; - } - }["useControllableStateReducer.useMemo[state]"], [ - internalState, - controlledState - ]); - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__.useEffect({ - "useControllableStateReducer.useEffect": ()=>{ - if (isControlled && !Object.is(controlledState, internalState.state)) { - dispatch({ - type: SYNC_STATE, - state: controlledState - }); - } - } - }["useControllableStateReducer.useEffect"], [ - controlledState, - internalState.state, - isControlled - ]); - return [ - state, - dispatch - ]; -} -; - //# sourceMappingURL=index.mjs.map -}), -"[project]/node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/dist/index.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "Root", - ()=>Slot, - "Slot", - ()=>Slot, - "Slottable", - ()=>Slottable, - "createSlot", - ()=>createSlot, - "createSlottable", - ()=>createSlottable -]); -// src/slot.tsx -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$compose$2d$refs$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@radix-ui/react-compose-refs/dist/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/jsx-runtime.js [app-client] (ecmascript)"); -; -; -; -// @__NO_SIDE_EFFECTS__ -function createSlot(ownerName) { - const SlotClone = /* @__PURE__ */ createSlotClone(ownerName); - const Slot2 = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["forwardRef"]((props, forwardedRef)=>{ - const { children, ...slotProps } = props; - const childrenArray = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Children"].toArray(children); - const slottable = childrenArray.find(isSlottable); - if (slottable) { - const newElement = slottable.props.children; - const newChildren = childrenArray.map((child)=>{ - if (child === slottable) { - if (__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Children"].count(newElement) > 1) return __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Children"].only(null); - return __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isValidElement"](newElement) ? newElement.props.children : null; - } else { - return child; - } - }); - return /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(SlotClone, { - ...slotProps, - ref: forwardedRef, - children: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isValidElement"](newElement) ? __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["cloneElement"](newElement, void 0, newChildren) : null - }); - } - return /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(SlotClone, { - ...slotProps, - ref: forwardedRef, - children - }); - }); - Slot2.displayName = `${ownerName}.Slot`; - return Slot2; -} -var Slot = /* @__PURE__ */ createSlot("Slot"); -// @__NO_SIDE_EFFECTS__ -function createSlotClone(ownerName) { - const SlotClone = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["forwardRef"]((props, forwardedRef)=>{ - const { children, ...slotProps } = props; - if (__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isValidElement"](children)) { - const childrenRef = getElementRef(children); - const props2 = mergeProps(slotProps, children.props); - if (children.type !== __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Fragment"]) { - props2.ref = forwardedRef ? (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$compose$2d$refs$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["composeRefs"])(forwardedRef, childrenRef) : childrenRef; - } - return __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["cloneElement"](children, props2); - } - return __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Children"].count(children) > 1 ? __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Children"].only(null) : null; - }); - SlotClone.displayName = `${ownerName}.SlotClone`; - return SlotClone; -} -var SLOTTABLE_IDENTIFIER = Symbol("radix.slottable"); -// @__NO_SIDE_EFFECTS__ -function createSlottable(ownerName) { - const Slottable2 = ({ children })=>{ - return /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Fragment"], { - children - }); - }; - Slottable2.displayName = `${ownerName}.Slottable`; - Slottable2.__radixId = SLOTTABLE_IDENTIFIER; - return Slottable2; -} -var Slottable = /* @__PURE__ */ createSlottable("Slottable"); -function isSlottable(child) { - return __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isValidElement"](child) && typeof child.type === "function" && "__radixId" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER; -} -function mergeProps(slotProps, childProps) { - const overrideProps = { - ...childProps - }; - for(const propName in childProps){ - const slotPropValue = slotProps[propName]; - const childPropValue = childProps[propName]; - const isHandler = /^on[A-Z]/.test(propName); - if (isHandler) { - if (slotPropValue && childPropValue) { - overrideProps[propName] = (...args)=>{ - const result = childPropValue(...args); - slotPropValue(...args); - return result; - }; - } else if (slotPropValue) { - overrideProps[propName] = slotPropValue; - } - } else if (propName === "style") { - overrideProps[propName] = { - ...slotPropValue, - ...childPropValue - }; - } else if (propName === "className") { - overrideProps[propName] = [ - slotPropValue, - childPropValue - ].filter(Boolean).join(" "); - } - } - return { - ...slotProps, - ...overrideProps - }; -} -function getElementRef(element) { - let getter = Object.getOwnPropertyDescriptor(element.props, "ref")?.get; - let mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning; - if (mayWarn) { - return element.ref; - } - getter = Object.getOwnPropertyDescriptor(element, "ref")?.get; - mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning; - if (mayWarn) { - return element.props.ref; - } - return element.props.ref || element.ref; -} -; - //# sourceMappingURL=index.mjs.map -}), -"[project]/node_modules/@radix-ui/react-primitive/dist/index.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "Primitive", - ()=>Primitive, - "Root", - ()=>Root, - "dispatchDiscreteCustomEvent", - ()=>dispatchDiscreteCustomEvent -]); -// src/primitive.tsx -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2d$dom$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react-dom/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$primitive$2f$node_modules$2f40$radix$2d$ui$2f$react$2d$slot$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/dist/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/jsx-runtime.js [app-client] (ecmascript)"); -; -; -; -; -var NODES = [ - "a", - "button", - "div", - "form", - "h2", - "h3", - "img", - "input", - "label", - "li", - "nav", - "ol", - "p", - "select", - "span", - "svg", - "ul" -]; -var Primitive = NODES.reduce((primitive, node)=>{ - const Slot = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$primitive$2f$node_modules$2f40$radix$2d$ui$2f$react$2d$slot$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createSlot"])(`Primitive.${node}`); - const Node = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["forwardRef"]((props, forwardedRef)=>{ - const { asChild, ...primitiveProps } = props; - const Comp = asChild ? Slot : node; - if (typeof window !== "undefined") { - window[Symbol.for("radix-ui")] = true; - } - return /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(Comp, { - ...primitiveProps, - ref: forwardedRef - }); - }); - Node.displayName = `Primitive.${node}`; - return { - ...primitive, - [node]: Node - }; -}, {}); -function dispatchDiscreteCustomEvent(target, event) { - if (target) __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2d$dom$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["flushSync"](()=>target.dispatchEvent(event)); -} -var Root = Primitive; -; - //# sourceMappingURL=index.mjs.map -}), -"[project]/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "useCallbackRef", - ()=>useCallbackRef -]); -// packages/react/use-callback-ref/src/use-callback-ref.tsx -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -; -function useCallbackRef(callback) { - const callbackRef = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useRef"](callback); - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useEffect"]({ - "useCallbackRef.useEffect": ()=>{ - callbackRef.current = callback; - } - }["useCallbackRef.useEffect"]); - return __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useMemo"]({ - "useCallbackRef.useMemo": ()=>({ - "useCallbackRef.useMemo": (...args)=>callbackRef.current?.(...args) - })["useCallbackRef.useMemo"] - }["useCallbackRef.useMemo"], []); -} -; - //# sourceMappingURL=index.mjs.map -}), -"[project]/node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "useEscapeKeydown", - ()=>useEscapeKeydown -]); -// packages/react/use-escape-keydown/src/use-escape-keydown.tsx -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$use$2d$callback$2d$ref$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs [app-client] (ecmascript)"); -; -; -function useEscapeKeydown(onEscapeKeyDownProp, ownerDocument = globalThis?.document) { - const onEscapeKeyDown = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$use$2d$callback$2d$ref$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useCallbackRef"])(onEscapeKeyDownProp); - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useEffect"]({ - "useEscapeKeydown.useEffect": ()=>{ - const handleKeyDown = { - "useEscapeKeydown.useEffect.handleKeyDown": (event)=>{ - if (event.key === "Escape") { - onEscapeKeyDown(event); - } - } - }["useEscapeKeydown.useEffect.handleKeyDown"]; - ownerDocument.addEventListener("keydown", handleKeyDown, { - capture: true - }); - return ({ - "useEscapeKeydown.useEffect": ()=>ownerDocument.removeEventListener("keydown", handleKeyDown, { - capture: true - }) - })["useEscapeKeydown.useEffect"]; - } - }["useEscapeKeydown.useEffect"], [ - onEscapeKeyDown, - ownerDocument - ]); -} -; - //# sourceMappingURL=index.mjs.map -}), -"[project]/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "Branch", - ()=>Branch, - "DismissableLayer", - ()=>DismissableLayer, - "DismissableLayerBranch", - ()=>DismissableLayerBranch, - "Root", - ()=>Root -]); -// src/dismissable-layer.tsx -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$primitive$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@radix-ui/primitive/dist/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$primitive$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@radix-ui/react-primitive/dist/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$compose$2d$refs$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@radix-ui/react-compose-refs/dist/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$use$2d$callback$2d$ref$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$use$2d$escape$2d$keydown$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/jsx-runtime.js [app-client] (ecmascript)"); -"use client"; -; -; -; -; -; -; -; -var DISMISSABLE_LAYER_NAME = "DismissableLayer"; -var CONTEXT_UPDATE = "dismissableLayer.update"; -var POINTER_DOWN_OUTSIDE = "dismissableLayer.pointerDownOutside"; -var FOCUS_OUTSIDE = "dismissableLayer.focusOutside"; -var originalBodyPointerEvents; -var DismissableLayerContext = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createContext"]({ - layers: /* @__PURE__ */ new Set(), - layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(), - branches: /* @__PURE__ */ new Set() -}); -var DismissableLayer = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["forwardRef"]((props, forwardedRef)=>{ - const { disableOutsidePointerEvents = false, onEscapeKeyDown, onPointerDownOutside, onFocusOutside, onInteractOutside, onDismiss, ...layerProps } = props; - const context = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useContext"](DismissableLayerContext); - const [node, setNode] = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"](null); - const ownerDocument = node?.ownerDocument ?? globalThis?.document; - const [, force] = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"]({}); - const composedRefs = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$compose$2d$refs$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useComposedRefs"])(forwardedRef, { - "DismissableLayer.useComposedRefs[composedRefs]": (node2)=>setNode(node2) - }["DismissableLayer.useComposedRefs[composedRefs]"]); - const layers = Array.from(context.layers); - const [highestLayerWithOutsidePointerEventsDisabled] = [ - ...context.layersWithOutsidePointerEventsDisabled - ].slice(-1); - const highestLayerWithOutsidePointerEventsDisabledIndex = layers.indexOf(highestLayerWithOutsidePointerEventsDisabled); - const index = node ? layers.indexOf(node) : -1; - const isBodyPointerEventsDisabled = context.layersWithOutsidePointerEventsDisabled.size > 0; - const isPointerEventsEnabled = index >= highestLayerWithOutsidePointerEventsDisabledIndex; - const pointerDownOutside = usePointerDownOutside({ - "DismissableLayer.usePointerDownOutside[pointerDownOutside]": (event)=>{ - const target = event.target; - const isPointerDownOnBranch = [ - ...context.branches - ].some({ - "DismissableLayer.usePointerDownOutside[pointerDownOutside].isPointerDownOnBranch": (branch)=>branch.contains(target) - }["DismissableLayer.usePointerDownOutside[pointerDownOutside].isPointerDownOnBranch"]); - if (!isPointerEventsEnabled || isPointerDownOnBranch) return; - onPointerDownOutside?.(event); - onInteractOutside?.(event); - if (!event.defaultPrevented) onDismiss?.(); - } - }["DismissableLayer.usePointerDownOutside[pointerDownOutside]"], ownerDocument); - const focusOutside = useFocusOutside({ - "DismissableLayer.useFocusOutside[focusOutside]": (event)=>{ - const target = event.target; - const isFocusInBranch = [ - ...context.branches - ].some({ - "DismissableLayer.useFocusOutside[focusOutside].isFocusInBranch": (branch)=>branch.contains(target) - }["DismissableLayer.useFocusOutside[focusOutside].isFocusInBranch"]); - if (isFocusInBranch) return; - onFocusOutside?.(event); - onInteractOutside?.(event); - if (!event.defaultPrevented) onDismiss?.(); - } - }["DismissableLayer.useFocusOutside[focusOutside]"], ownerDocument); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$use$2d$escape$2d$keydown$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useEscapeKeydown"])({ - "DismissableLayer.useEscapeKeydown": (event)=>{ - const isHighestLayer = index === context.layers.size - 1; - if (!isHighestLayer) return; - onEscapeKeyDown?.(event); - if (!event.defaultPrevented && onDismiss) { - event.preventDefault(); - onDismiss(); - } - } - }["DismissableLayer.useEscapeKeydown"], ownerDocument); - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useEffect"]({ - "DismissableLayer.useEffect": ()=>{ - if (!node) return; - if (disableOutsidePointerEvents) { - if (context.layersWithOutsidePointerEventsDisabled.size === 0) { - originalBodyPointerEvents = ownerDocument.body.style.pointerEvents; - ownerDocument.body.style.pointerEvents = "none"; - } - context.layersWithOutsidePointerEventsDisabled.add(node); - } - context.layers.add(node); - dispatchUpdate(); - return ({ - "DismissableLayer.useEffect": ()=>{ - if (disableOutsidePointerEvents && context.layersWithOutsidePointerEventsDisabled.size === 1) { - ownerDocument.body.style.pointerEvents = originalBodyPointerEvents; - } - } - })["DismissableLayer.useEffect"]; - } - }["DismissableLayer.useEffect"], [ - node, - ownerDocument, - disableOutsidePointerEvents, - context - ]); - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useEffect"]({ - "DismissableLayer.useEffect": ()=>{ - return ({ - "DismissableLayer.useEffect": ()=>{ - if (!node) return; - context.layers.delete(node); - context.layersWithOutsidePointerEventsDisabled.delete(node); - dispatchUpdate(); - } - })["DismissableLayer.useEffect"]; - } - }["DismissableLayer.useEffect"], [ - node, - context - ]); - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useEffect"]({ - "DismissableLayer.useEffect": ()=>{ - const handleUpdate = { - "DismissableLayer.useEffect.handleUpdate": ()=>force({}) - }["DismissableLayer.useEffect.handleUpdate"]; - document.addEventListener(CONTEXT_UPDATE, handleUpdate); - return ({ - "DismissableLayer.useEffect": ()=>document.removeEventListener(CONTEXT_UPDATE, handleUpdate) - })["DismissableLayer.useEffect"]; - } - }["DismissableLayer.useEffect"], []); - return /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$primitive$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Primitive"].div, { - ...layerProps, - ref: composedRefs, - style: { - pointerEvents: isBodyPointerEventsDisabled ? isPointerEventsEnabled ? "auto" : "none" : void 0, - ...props.style - }, - onFocusCapture: (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$primitive$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["composeEventHandlers"])(props.onFocusCapture, focusOutside.onFocusCapture), - onBlurCapture: (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$primitive$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["composeEventHandlers"])(props.onBlurCapture, focusOutside.onBlurCapture), - onPointerDownCapture: (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$primitive$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["composeEventHandlers"])(props.onPointerDownCapture, pointerDownOutside.onPointerDownCapture) - }); -}); -DismissableLayer.displayName = DISMISSABLE_LAYER_NAME; -var BRANCH_NAME = "DismissableLayerBranch"; -var DismissableLayerBranch = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["forwardRef"]((props, forwardedRef)=>{ - const context = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useContext"](DismissableLayerContext); - const ref = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useRef"](null); - const composedRefs = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$compose$2d$refs$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useComposedRefs"])(forwardedRef, ref); - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useEffect"]({ - "DismissableLayerBranch.useEffect": ()=>{ - const node = ref.current; - if (node) { - context.branches.add(node); - return ({ - "DismissableLayerBranch.useEffect": ()=>{ - context.branches.delete(node); - } - })["DismissableLayerBranch.useEffect"]; - } - } - }["DismissableLayerBranch.useEffect"], [ - context.branches - ]); - return /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$primitive$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Primitive"].div, { - ...props, - ref: composedRefs - }); -}); -DismissableLayerBranch.displayName = BRANCH_NAME; -function usePointerDownOutside(onPointerDownOutside, ownerDocument = globalThis?.document) { - const handlePointerDownOutside = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$use$2d$callback$2d$ref$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useCallbackRef"])(onPointerDownOutside); - const isPointerInsideReactTreeRef = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useRef"](false); - const handleClickRef = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useRef"]({ - "usePointerDownOutside.useRef[handleClickRef]": ()=>{} - }["usePointerDownOutside.useRef[handleClickRef]"]); - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useEffect"]({ - "usePointerDownOutside.useEffect": ()=>{ - const handlePointerDown = { - "usePointerDownOutside.useEffect.handlePointerDown": (event)=>{ - if (event.target && !isPointerInsideReactTreeRef.current) { - let handleAndDispatchPointerDownOutsideEvent2 = { - "usePointerDownOutside.useEffect.handlePointerDown.handleAndDispatchPointerDownOutsideEvent2": function() { - handleAndDispatchCustomEvent(POINTER_DOWN_OUTSIDE, handlePointerDownOutside, eventDetail, { - discrete: true - }); - } - }["usePointerDownOutside.useEffect.handlePointerDown.handleAndDispatchPointerDownOutsideEvent2"]; - var handleAndDispatchPointerDownOutsideEvent = handleAndDispatchPointerDownOutsideEvent2; - const eventDetail = { - originalEvent: event - }; - if (event.pointerType === "touch") { - ownerDocument.removeEventListener("click", handleClickRef.current); - handleClickRef.current = handleAndDispatchPointerDownOutsideEvent2; - ownerDocument.addEventListener("click", handleClickRef.current, { - once: true - }); - } else { - handleAndDispatchPointerDownOutsideEvent2(); - } - } else { - ownerDocument.removeEventListener("click", handleClickRef.current); - } - isPointerInsideReactTreeRef.current = false; - } - }["usePointerDownOutside.useEffect.handlePointerDown"]; - const timerId = window.setTimeout({ - "usePointerDownOutside.useEffect.timerId": ()=>{ - ownerDocument.addEventListener("pointerdown", handlePointerDown); - } - }["usePointerDownOutside.useEffect.timerId"], 0); - return ({ - "usePointerDownOutside.useEffect": ()=>{ - window.clearTimeout(timerId); - ownerDocument.removeEventListener("pointerdown", handlePointerDown); - ownerDocument.removeEventListener("click", handleClickRef.current); - } - })["usePointerDownOutside.useEffect"]; - } - }["usePointerDownOutside.useEffect"], [ - ownerDocument, - handlePointerDownOutside - ]); - return { - // ensures we check React component tree (not just DOM tree) - onPointerDownCapture: ()=>isPointerInsideReactTreeRef.current = true - }; -} -function useFocusOutside(onFocusOutside, ownerDocument = globalThis?.document) { - const handleFocusOutside = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$use$2d$callback$2d$ref$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useCallbackRef"])(onFocusOutside); - const isFocusInsideReactTreeRef = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useRef"](false); - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useEffect"]({ - "useFocusOutside.useEffect": ()=>{ - const handleFocus = { - "useFocusOutside.useEffect.handleFocus": (event)=>{ - if (event.target && !isFocusInsideReactTreeRef.current) { - const eventDetail = { - originalEvent: event - }; - handleAndDispatchCustomEvent(FOCUS_OUTSIDE, handleFocusOutside, eventDetail, { - discrete: false - }); - } - } - }["useFocusOutside.useEffect.handleFocus"]; - ownerDocument.addEventListener("focusin", handleFocus); - return ({ - "useFocusOutside.useEffect": ()=>ownerDocument.removeEventListener("focusin", handleFocus) - })["useFocusOutside.useEffect"]; - } - }["useFocusOutside.useEffect"], [ - ownerDocument, - handleFocusOutside - ]); - return { - onFocusCapture: ()=>isFocusInsideReactTreeRef.current = true, - onBlurCapture: ()=>isFocusInsideReactTreeRef.current = false - }; -} -function dispatchUpdate() { - const event = new CustomEvent(CONTEXT_UPDATE); - document.dispatchEvent(event); -} -function handleAndDispatchCustomEvent(name, handler, detail, { discrete }) { - const target = detail.originalEvent.target; - const event = new CustomEvent(name, { - bubbles: false, - cancelable: true, - detail - }); - if (handler) target.addEventListener(name, handler, { - once: true - }); - if (discrete) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$primitive$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["dispatchDiscreteCustomEvent"])(target, event); - } else { - target.dispatchEvent(event); - } -} -var Root = DismissableLayer; -var Branch = DismissableLayerBranch; -; - //# sourceMappingURL=index.mjs.map -}), -"[project]/node_modules/@radix-ui/react-focus-scope/dist/index.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "FocusScope", - ()=>FocusScope, - "Root", - ()=>Root -]); -// src/focus-scope.tsx -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$compose$2d$refs$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@radix-ui/react-compose-refs/dist/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$primitive$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@radix-ui/react-primitive/dist/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$use$2d$callback$2d$ref$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/jsx-runtime.js [app-client] (ecmascript)"); -"use client"; -; -; -; -; -; -var AUTOFOCUS_ON_MOUNT = "focusScope.autoFocusOnMount"; -var AUTOFOCUS_ON_UNMOUNT = "focusScope.autoFocusOnUnmount"; -var EVENT_OPTIONS = { - bubbles: false, - cancelable: true -}; -var FOCUS_SCOPE_NAME = "FocusScope"; -var FocusScope = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["forwardRef"]((props, forwardedRef)=>{ - const { loop = false, trapped = false, onMountAutoFocus: onMountAutoFocusProp, onUnmountAutoFocus: onUnmountAutoFocusProp, ...scopeProps } = props; - const [container, setContainer] = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"](null); - const onMountAutoFocus = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$use$2d$callback$2d$ref$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useCallbackRef"])(onMountAutoFocusProp); - const onUnmountAutoFocus = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$use$2d$callback$2d$ref$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useCallbackRef"])(onUnmountAutoFocusProp); - const lastFocusedElementRef = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useRef"](null); - const composedRefs = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$compose$2d$refs$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useComposedRefs"])(forwardedRef, { - "FocusScope.useComposedRefs[composedRefs]": (node)=>setContainer(node) - }["FocusScope.useComposedRefs[composedRefs]"]); - const focusScope = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useRef"]({ - paused: false, - pause () { - this.paused = true; - }, - resume () { - this.paused = false; - } - }).current; - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useEffect"]({ - "FocusScope.useEffect": ()=>{ - if (trapped) { - let handleFocusIn2 = { - "FocusScope.useEffect.handleFocusIn2": function(event) { - if (focusScope.paused || !container) return; - const target = event.target; - if (container.contains(target)) { - lastFocusedElementRef.current = target; - } else { - focus(lastFocusedElementRef.current, { - select: true - }); - } - } - }["FocusScope.useEffect.handleFocusIn2"], handleFocusOut2 = { - "FocusScope.useEffect.handleFocusOut2": function(event) { - if (focusScope.paused || !container) return; - const relatedTarget = event.relatedTarget; - if (relatedTarget === null) return; - if (!container.contains(relatedTarget)) { - focus(lastFocusedElementRef.current, { - select: true - }); - } - } - }["FocusScope.useEffect.handleFocusOut2"], handleMutations2 = { - "FocusScope.useEffect.handleMutations2": function(mutations) { - const focusedElement = document.activeElement; - if (focusedElement !== document.body) return; - for (const mutation of mutations){ - if (mutation.removedNodes.length > 0) focus(container); - } - } - }["FocusScope.useEffect.handleMutations2"]; - var handleFocusIn = handleFocusIn2, handleFocusOut = handleFocusOut2, handleMutations = handleMutations2; - document.addEventListener("focusin", handleFocusIn2); - document.addEventListener("focusout", handleFocusOut2); - const mutationObserver = new MutationObserver(handleMutations2); - if (container) mutationObserver.observe(container, { - childList: true, - subtree: true - }); - return ({ - "FocusScope.useEffect": ()=>{ - document.removeEventListener("focusin", handleFocusIn2); - document.removeEventListener("focusout", handleFocusOut2); - mutationObserver.disconnect(); - } - })["FocusScope.useEffect"]; - } - } - }["FocusScope.useEffect"], [ - trapped, - container, - focusScope.paused - ]); - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useEffect"]({ - "FocusScope.useEffect": ()=>{ - if (container) { - focusScopesStack.add(focusScope); - const previouslyFocusedElement = document.activeElement; - const hasFocusedCandidate = container.contains(previouslyFocusedElement); - if (!hasFocusedCandidate) { - const mountEvent = new CustomEvent(AUTOFOCUS_ON_MOUNT, EVENT_OPTIONS); - container.addEventListener(AUTOFOCUS_ON_MOUNT, onMountAutoFocus); - container.dispatchEvent(mountEvent); - if (!mountEvent.defaultPrevented) { - focusFirst(removeLinks(getTabbableCandidates(container)), { - select: true - }); - if (document.activeElement === previouslyFocusedElement) { - focus(container); - } - } - } - return ({ - "FocusScope.useEffect": ()=>{ - container.removeEventListener(AUTOFOCUS_ON_MOUNT, onMountAutoFocus); - setTimeout({ - "FocusScope.useEffect": ()=>{ - const unmountEvent = new CustomEvent(AUTOFOCUS_ON_UNMOUNT, EVENT_OPTIONS); - container.addEventListener(AUTOFOCUS_ON_UNMOUNT, onUnmountAutoFocus); - container.dispatchEvent(unmountEvent); - if (!unmountEvent.defaultPrevented) { - focus(previouslyFocusedElement ?? document.body, { - select: true - }); - } - container.removeEventListener(AUTOFOCUS_ON_UNMOUNT, onUnmountAutoFocus); - focusScopesStack.remove(focusScope); - } - }["FocusScope.useEffect"], 0); - } - })["FocusScope.useEffect"]; - } - } - }["FocusScope.useEffect"], [ - container, - onMountAutoFocus, - onUnmountAutoFocus, - focusScope - ]); - const handleKeyDown = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useCallback"]({ - "FocusScope.useCallback[handleKeyDown]": (event)=>{ - if (!loop && !trapped) return; - if (focusScope.paused) return; - const isTabKey = event.key === "Tab" && !event.altKey && !event.ctrlKey && !event.metaKey; - const focusedElement = document.activeElement; - if (isTabKey && focusedElement) { - const container2 = event.currentTarget; - const [first, last] = getTabbableEdges(container2); - const hasTabbableElementsInside = first && last; - if (!hasTabbableElementsInside) { - if (focusedElement === container2) event.preventDefault(); - } else { - if (!event.shiftKey && focusedElement === last) { - event.preventDefault(); - if (loop) focus(first, { - select: true - }); - } else if (event.shiftKey && focusedElement === first) { - event.preventDefault(); - if (loop) focus(last, { - select: true - }); - } - } - } - } - }["FocusScope.useCallback[handleKeyDown]"], [ - loop, - trapped, - focusScope.paused - ]); - return /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$primitive$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Primitive"].div, { - tabIndex: -1, - ...scopeProps, - ref: composedRefs, - onKeyDown: handleKeyDown - }); -}); -FocusScope.displayName = FOCUS_SCOPE_NAME; -function focusFirst(candidates, { select = false } = {}) { - const previouslyFocusedElement = document.activeElement; - for (const candidate of candidates){ - focus(candidate, { - select - }); - if (document.activeElement !== previouslyFocusedElement) return; - } -} -function getTabbableEdges(container) { - const candidates = getTabbableCandidates(container); - const first = findVisible(candidates, container); - const last = findVisible(candidates.reverse(), container); - return [ - first, - last - ]; -} -function getTabbableCandidates(container) { - const nodes = []; - const walker = document.createTreeWalker(container, NodeFilter.SHOW_ELEMENT, { - acceptNode: (node)=>{ - const isHiddenInput = node.tagName === "INPUT" && node.type === "hidden"; - if (node.disabled || node.hidden || isHiddenInput) return NodeFilter.FILTER_SKIP; - return node.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP; - } - }); - while(walker.nextNode())nodes.push(walker.currentNode); - return nodes; -} -function findVisible(elements, container) { - for (const element of elements){ - if (!isHidden(element, { - upTo: container - })) return element; - } -} -function isHidden(node, { upTo }) { - if (getComputedStyle(node).visibility === "hidden") return true; - while(node){ - if (upTo !== void 0 && node === upTo) return false; - if (getComputedStyle(node).display === "none") return true; - node = node.parentElement; - } - return false; -} -function isSelectableInput(element) { - return element instanceof HTMLInputElement && "select" in element; -} -function focus(element, { select = false } = {}) { - if (element && element.focus) { - const previouslyFocusedElement = document.activeElement; - element.focus({ - preventScroll: true - }); - if (element !== previouslyFocusedElement && isSelectableInput(element) && select) element.select(); - } -} -var focusScopesStack = createFocusScopesStack(); -function createFocusScopesStack() { - let stack = []; - return { - add (focusScope) { - const activeFocusScope = stack[0]; - if (focusScope !== activeFocusScope) { - activeFocusScope?.pause(); - } - stack = arrayRemove(stack, focusScope); - stack.unshift(focusScope); - }, - remove (focusScope) { - stack = arrayRemove(stack, focusScope); - stack[0]?.resume(); - } - }; -} -function arrayRemove(array, item) { - const updatedArray = [ - ...array - ]; - const index = updatedArray.indexOf(item); - if (index !== -1) { - updatedArray.splice(index, 1); - } - return updatedArray; -} -function removeLinks(items) { - return items.filter((item)=>item.tagName !== "A"); -} -var Root = FocusScope; -; - //# sourceMappingURL=index.mjs.map -}), -"[project]/node_modules/@radix-ui/react-portal/dist/index.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "Portal", - ()=>Portal, - "Root", - ()=>Root -]); -// src/portal.tsx -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2d$dom$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react-dom/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$primitive$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@radix-ui/react-primitive/dist/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$use$2d$layout$2d$effect$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/jsx-runtime.js [app-client] (ecmascript)"); -"use client"; -; -; -; -; -; -var PORTAL_NAME = "Portal"; -var Portal = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["forwardRef"]((props, forwardedRef)=>{ - const { container: containerProp, ...portalProps } = props; - const [mounted, setMounted] = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"](false); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$use$2d$layout$2d$effect$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useLayoutEffect"])({ - "Portal.useLayoutEffect": ()=>setMounted(true) - }["Portal.useLayoutEffect"], []); - const container = containerProp || mounted && globalThis?.document?.body; - return container ? __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2d$dom$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"].createPortal(/* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$primitive$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Primitive"].div, { - ...portalProps, - ref: forwardedRef - }), container) : null; -}); -Portal.displayName = PORTAL_NAME; -var Root = Portal; -; - //# sourceMappingURL=index.mjs.map -}), -"[project]/node_modules/@radix-ui/react-presence/dist/index.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "Presence", - ()=>Presence, - "Root", - ()=>Root -]); -// src/presence.tsx -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$compose$2d$refs$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@radix-ui/react-compose-refs/dist/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$use$2d$layout$2d$effect$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs [app-client] (ecmascript)"); -"use client"; -; -; -; -; -function useStateMachine(initialState, machine) { - return __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useReducer"]({ - "useStateMachine.useReducer": (state, event)=>{ - const nextState = machine[state][event]; - return nextState ?? state; - } - }["useStateMachine.useReducer"], initialState); -} -// src/presence.tsx -var Presence = (props)=>{ - const { present, children } = props; - const presence = usePresence(present); - const child = typeof children === "function" ? children({ - present: presence.isPresent - }) : __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Children"].only(children); - const ref = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$compose$2d$refs$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useComposedRefs"])(presence.ref, getElementRef(child)); - const forceMount = typeof children === "function"; - return forceMount || presence.isPresent ? __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["cloneElement"](child, { - ref - }) : null; -}; -Presence.displayName = "Presence"; -function usePresence(present) { - const [node, setNode] = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"](); - const stylesRef = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useRef"](null); - const prevPresentRef = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useRef"](present); - const prevAnimationNameRef = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useRef"]("none"); - const initialState = present ? "mounted" : "unmounted"; - const [state, send] = useStateMachine(initialState, { - mounted: { - UNMOUNT: "unmounted", - ANIMATION_OUT: "unmountSuspended" - }, - unmountSuspended: { - MOUNT: "mounted", - ANIMATION_END: "unmounted" - }, - unmounted: { - MOUNT: "mounted" - } - }); - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useEffect"]({ - "usePresence.useEffect": ()=>{ - const currentAnimationName = getAnimationName(stylesRef.current); - prevAnimationNameRef.current = state === "mounted" ? currentAnimationName : "none"; - } - }["usePresence.useEffect"], [ - state - ]); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$use$2d$layout$2d$effect$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useLayoutEffect"])({ - "usePresence.useLayoutEffect": ()=>{ - const styles = stylesRef.current; - const wasPresent = prevPresentRef.current; - const hasPresentChanged = wasPresent !== present; - if (hasPresentChanged) { - const prevAnimationName = prevAnimationNameRef.current; - const currentAnimationName = getAnimationName(styles); - if (present) { - send("MOUNT"); - } else if (currentAnimationName === "none" || styles?.display === "none") { - send("UNMOUNT"); - } else { - const isAnimating = prevAnimationName !== currentAnimationName; - if (wasPresent && isAnimating) { - send("ANIMATION_OUT"); - } else { - send("UNMOUNT"); - } - } - prevPresentRef.current = present; - } - } - }["usePresence.useLayoutEffect"], [ - present, - send - ]); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$use$2d$layout$2d$effect$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useLayoutEffect"])({ - "usePresence.useLayoutEffect": ()=>{ - if (node) { - let timeoutId; - const ownerWindow = node.ownerDocument.defaultView ?? window; - const handleAnimationEnd = { - "usePresence.useLayoutEffect.handleAnimationEnd": (event)=>{ - const currentAnimationName = getAnimationName(stylesRef.current); - const isCurrentAnimation = currentAnimationName.includes(CSS.escape(event.animationName)); - if (event.target === node && isCurrentAnimation) { - send("ANIMATION_END"); - if (!prevPresentRef.current) { - const currentFillMode = node.style.animationFillMode; - node.style.animationFillMode = "forwards"; - timeoutId = ownerWindow.setTimeout({ - "usePresence.useLayoutEffect.handleAnimationEnd": ()=>{ - if (node.style.animationFillMode === "forwards") { - node.style.animationFillMode = currentFillMode; - } - } - }["usePresence.useLayoutEffect.handleAnimationEnd"]); - } - } - } - }["usePresence.useLayoutEffect.handleAnimationEnd"]; - const handleAnimationStart = { - "usePresence.useLayoutEffect.handleAnimationStart": (event)=>{ - if (event.target === node) { - prevAnimationNameRef.current = getAnimationName(stylesRef.current); - } - } - }["usePresence.useLayoutEffect.handleAnimationStart"]; - node.addEventListener("animationstart", handleAnimationStart); - node.addEventListener("animationcancel", handleAnimationEnd); - node.addEventListener("animationend", handleAnimationEnd); - return ({ - "usePresence.useLayoutEffect": ()=>{ - ownerWindow.clearTimeout(timeoutId); - node.removeEventListener("animationstart", handleAnimationStart); - node.removeEventListener("animationcancel", handleAnimationEnd); - node.removeEventListener("animationend", handleAnimationEnd); - } - })["usePresence.useLayoutEffect"]; - } else { - send("ANIMATION_END"); - } - } - }["usePresence.useLayoutEffect"], [ - node, - send - ]); - return { - isPresent: [ - "mounted", - "unmountSuspended" - ].includes(state), - ref: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useCallback"]({ - "usePresence.useCallback": (node2)=>{ - stylesRef.current = node2 ? getComputedStyle(node2) : null; - setNode(node2); - } - }["usePresence.useCallback"], []) - }; -} -function getAnimationName(styles) { - return styles?.animationName || "none"; -} -function getElementRef(element) { - let getter = Object.getOwnPropertyDescriptor(element.props, "ref")?.get; - let mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning; - if (mayWarn) { - return element.ref; - } - getter = Object.getOwnPropertyDescriptor(element, "ref")?.get; - mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning; - if (mayWarn) { - return element.props.ref; - } - return element.props.ref || element.ref; -} -var Root = Presence; -; - //# sourceMappingURL=index.mjs.map -}), -"[project]/node_modules/@radix-ui/react-focus-guards/dist/index.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "FocusGuards", - ()=>FocusGuards, - "Root", - ()=>FocusGuards, - "useFocusGuards", - ()=>useFocusGuards -]); -// src/focus-guards.tsx -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -"use client"; -; -var count = 0; -function FocusGuards(props) { - useFocusGuards(); - return props.children; -} -function useFocusGuards() { - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useEffect"]({ - "useFocusGuards.useEffect": ()=>{ - const edgeGuards = document.querySelectorAll("[data-radix-focus-guard]"); - document.body.insertAdjacentElement("afterbegin", edgeGuards[0] ?? createFocusGuard()); - document.body.insertAdjacentElement("beforeend", edgeGuards[1] ?? createFocusGuard()); - count++; - return ({ - "useFocusGuards.useEffect": ()=>{ - if (count === 1) { - document.querySelectorAll("[data-radix-focus-guard]").forEach({ - "useFocusGuards.useEffect": (node)=>node.remove() - }["useFocusGuards.useEffect"]); - } - count--; - } - })["useFocusGuards.useEffect"]; - } - }["useFocusGuards.useEffect"], []); -} -function createFocusGuard() { - const element = document.createElement("span"); - element.setAttribute("data-radix-focus-guard", ""); - element.tabIndex = 0; - element.style.outline = "none"; - element.style.opacity = "0"; - element.style.position = "fixed"; - element.style.pointerEvents = "none"; - return element; -} -; - //# sourceMappingURL=index.mjs.map -}), -"[project]/node_modules/tslib/tslib.es6.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "__addDisposableResource", - ()=>__addDisposableResource, - "__assign", - ()=>__assign, - "__asyncDelegator", - ()=>__asyncDelegator, - "__asyncGenerator", - ()=>__asyncGenerator, - "__asyncValues", - ()=>__asyncValues, - "__await", - ()=>__await, - "__awaiter", - ()=>__awaiter, - "__classPrivateFieldGet", - ()=>__classPrivateFieldGet, - "__classPrivateFieldIn", - ()=>__classPrivateFieldIn, - "__classPrivateFieldSet", - ()=>__classPrivateFieldSet, - "__createBinding", - ()=>__createBinding, - "__decorate", - ()=>__decorate, - "__disposeResources", - ()=>__disposeResources, - "__esDecorate", - ()=>__esDecorate, - "__exportStar", - ()=>__exportStar, - "__extends", - ()=>__extends, - "__generator", - ()=>__generator, - "__importDefault", - ()=>__importDefault, - "__importStar", - ()=>__importStar, - "__makeTemplateObject", - ()=>__makeTemplateObject, - "__metadata", - ()=>__metadata, - "__param", - ()=>__param, - "__propKey", - ()=>__propKey, - "__read", - ()=>__read, - "__rest", - ()=>__rest, - "__rewriteRelativeImportExtension", - ()=>__rewriteRelativeImportExtension, - "__runInitializers", - ()=>__runInitializers, - "__setFunctionName", - ()=>__setFunctionName, - "__spread", - ()=>__spread, - "__spreadArray", - ()=>__spreadArray, - "__spreadArrays", - ()=>__spreadArrays, - "__values", - ()=>__values, - "default", - ()=>__TURBOPACK__default__export__ -]); -/****************************************************************************** -Copyright (c) Microsoft Corporation. - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. -***************************************************************************** */ /* global Reflect, Promise, SuppressedError, Symbol, Iterator */ var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || ({ - __proto__: [] - }) instanceof Array && function(d, b) { - d.__proto__ = b; - } || function(d, b) { - for(var p in b)if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; - }; - return extendStatics(d, b); -}; -function __extends(d, b) { - if (typeof b !== "function" && b !== null) throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { - this.constructor = d; - } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); -} -var __assign = function() { - __assign = Object.assign || function __assign(t) { - for(var s, i = 1, n = arguments.length; i < n; i++){ - s = arguments[i]; - for(var p in s)if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); -}; -function __rest(s, e) { - var t = {}; - for(var p in s)if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") for(var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++){ - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; - } - return t; -} -function __decorate(decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -} -function __param(paramIndex, decorator) { - return function(target, key) { - decorator(target, key, paramIndex); - }; -} -function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) { - function accept(f) { - if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); - return f; - } - var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value"; - var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null; - var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {}); - var _, done = false; - for(var i = decorators.length - 1; i >= 0; i--){ - var context = {}; - for(var p in contextIn)context[p] = p === "access" ? {} : contextIn[p]; - for(var p in contextIn.access)context.access[p] = contextIn.access[p]; - context.addInitializer = function(f) { - if (done) throw new TypeError("Cannot add initializers after decoration has completed"); - extraInitializers.push(accept(f || null)); - }; - var result = (0, decorators[i])(kind === "accessor" ? { - get: descriptor.get, - set: descriptor.set - } : descriptor[key], context); - if (kind === "accessor") { - if (result === void 0) continue; - if (result === null || typeof result !== "object") throw new TypeError("Object expected"); - if (_ = accept(result.get)) descriptor.get = _; - if (_ = accept(result.set)) descriptor.set = _; - if (_ = accept(result.init)) initializers.unshift(_); - } else if (_ = accept(result)) { - if (kind === "field") initializers.unshift(_); - else descriptor[key] = _; - } - } - if (target) Object.defineProperty(target, contextIn.name, descriptor); - done = true; -} -; -function __runInitializers(thisArg, initializers, value) { - var useValue = arguments.length > 2; - for(var i = 0; i < initializers.length; i++){ - value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg); - } - return useValue ? value : void 0; -} -; -function __propKey(x) { - return typeof x === "symbol" ? x : "".concat(x); -} -; -function __setFunctionName(f, name, prefix) { - if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : ""; - return Object.defineProperty(f, "name", { - configurable: true, - value: prefix ? "".concat(prefix, " ", name) : name - }); -} -; -function __metadata(metadataKey, metadataValue) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue); -} -function __awaiter(thisArg, _arguments, P, generator) { - function adopt(value) { - return value instanceof P ? value : new P(function(resolve) { - resolve(value); - }); - } - return new (P || (P = Promise))(function(resolve, reject) { - function fulfilled(value) { - try { - step(generator.next(value)); - } catch (e) { - reject(e); - } - } - function rejected(value) { - try { - step(generator["throw"](value)); - } catch (e) { - reject(e); - } - } - function step(result) { - result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); - } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); -} -function __generator(thisArg, body) { - var _ = { - label: 0, - sent: function() { - if (t[0] & 1) throw t[1]; - return t[1]; - }, - trys: [], - ops: [] - }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); - return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { - return this; - }), g; - //TURBOPACK unreachable - ; - function verb(n) { - return function(v) { - return step([ - n, - v - ]); - }; - } - function step(op) { - if (f) throw new TypeError("Generator is already executing."); - while(g && (g = 0, op[0] && (_ = 0)), _)try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; - if (y = 0, t) op = [ - op[0] & 2, - t.value - ]; - switch(op[0]){ - case 0: - case 1: - t = op; - break; - case 4: - _.label++; - return { - value: op[1], - done: false - }; - case 5: - _.label++; - y = op[1]; - op = [ - 0 - ]; - continue; - case 7: - op = _.ops.pop(); - _.trys.pop(); - continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { - _ = 0; - continue; - } - if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) { - _.label = op[1]; - break; - } - if (op[0] === 6 && _.label < t[1]) { - _.label = t[1]; - t = op; - break; - } - if (t && _.label < t[2]) { - _.label = t[2]; - _.ops.push(op); - break; - } - if (t[2]) _.ops.pop(); - _.trys.pop(); - continue; - } - op = body.call(thisArg, _); - } catch (e) { - op = [ - 6, - e - ]; - y = 0; - } finally{ - f = t = 0; - } - if (op[0] & 5) throw op[1]; - return { - value: op[0] ? op[1] : void 0, - done: true - }; - } -} -var __createBinding = Object.create ? function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { - enumerable: true, - get: function() { - return m[k]; - } - }; - } - Object.defineProperty(o, k2, desc); -} : function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -}; -function __exportStar(m, o) { - for(var p in m)if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p); -} -function __values(o) { - var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; - if (m) return m.call(o); - if (o && typeof o.length === "number") return { - next: function() { - if (o && i >= o.length) o = void 0; - return { - value: o && o[i++], - done: !o - }; - } - }; - throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined."); -} -function __read(o, n) { - var m = typeof Symbol === "function" && o[Symbol.iterator]; - if (!m) return o; - var i = m.call(o), r, ar = [], e; - try { - while((n === void 0 || n-- > 0) && !(r = i.next()).done)ar.push(r.value); - } catch (error) { - e = { - error: error - }; - } finally{ - try { - if (r && !r.done && (m = i["return"])) m.call(i); - } finally{ - if (e) throw e.error; - } - } - return ar; -} -function __spread() { - for(var ar = [], i = 0; i < arguments.length; i++)ar = ar.concat(__read(arguments[i])); - return ar; -} -function __spreadArrays() { - for(var s = 0, i = 0, il = arguments.length; i < il; i++)s += arguments[i].length; - for(var r = Array(s), k = 0, i = 0; i < il; i++)for(var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)r[k] = a[j]; - return r; -} -function __spreadArray(to, from, pack) { - if (pack || arguments.length === 2) for(var i = 0, l = from.length, ar; i < l; i++){ - if (ar || !(i in from)) { - if (!ar) ar = Array.prototype.slice.call(from, 0, i); - ar[i] = from[i]; - } - } - return to.concat(ar || Array.prototype.slice.call(from)); -} -function __await(v) { - return this instanceof __await ? (this.v = v, this) : new __await(v); -} -function __asyncGenerator(thisArg, _arguments, generator) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function() { - return this; - }, i; - //TURBOPACK unreachable - ; - function awaitReturn(f) { - return function(v) { - return Promise.resolve(v).then(f, reject); - }; - } - function verb(n, f) { - if (g[n]) { - i[n] = function(v) { - return new Promise(function(a, b) { - q.push([ - n, - v, - a, - b - ]) > 1 || resume(n, v); - }); - }; - if (f) i[n] = f(i[n]); - } - } - function resume(n, v) { - try { - step(g[n](v)); - } catch (e) { - settle(q[0][3], e); - } - } - function step(r) { - r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); - } - function fulfill(value) { - resume("next", value); - } - function reject(value) { - resume("throw", value); - } - function settle(f, v) { - if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); - } -} -function __asyncDelegator(o) { - var i, p; - return i = {}, verb("next"), verb("throw", function(e) { - throw e; - }), verb("return"), i[Symbol.iterator] = function() { - return this; - }, i; - //TURBOPACK unreachable - ; - function verb(n, f) { - i[n] = o[n] ? function(v) { - return (p = !p) ? { - value: __await(o[n](v)), - done: false - } : f ? f(v) : v; - } : f; - } -} -function __asyncValues(o) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var m = o[Symbol.asyncIterator], i; - return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function() { - return this; - }, i); - //TURBOPACK unreachable - ; - function verb(n) { - i[n] = o[n] && function(v) { - return new Promise(function(resolve, reject) { - v = o[n](v), settle(resolve, reject, v.done, v.value); - }); - }; - } - function settle(resolve, reject, d, v) { - Promise.resolve(v).then(function(v) { - resolve({ - value: v, - done: d - }); - }, reject); - } -} -function __makeTemplateObject(cooked, raw) { - if (Object.defineProperty) { - Object.defineProperty(cooked, "raw", { - value: raw - }); - } else { - cooked.raw = raw; - } - return cooked; -} -; -var __setModuleDefault = Object.create ? function(o, v) { - Object.defineProperty(o, "default", { - enumerable: true, - value: v - }); -} : function(o, v) { - o["default"] = v; -}; -var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function(o) { - var ar = []; - for(var k in o)if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); -}; -function __importStar(mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) { - for(var k = ownKeys(mod), i = 0; i < k.length; i++)if (k[i] !== "default") __createBinding(result, mod, k[i]); - } - __setModuleDefault(result, mod); - return result; -} -function __importDefault(mod) { - return mod && mod.__esModule ? mod : { - default: mod - }; -} -function __classPrivateFieldGet(receiver, state, kind, f) { - if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); - if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); - return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver); -} -function __classPrivateFieldSet(receiver, state, value, kind, f) { - if (kind === "m") throw new TypeError("Private method is not writable"); - if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter"); - if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it"); - return kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value), value; -} -function __classPrivateFieldIn(state, receiver) { - if (receiver === null || typeof receiver !== "object" && typeof receiver !== "function") throw new TypeError("Cannot use 'in' operator on non-object"); - return typeof state === "function" ? receiver === state : state.has(receiver); -} -function __addDisposableResource(env, value, async) { - if (value !== null && value !== void 0) { - if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected."); - var dispose, inner; - if (async) { - if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined."); - dispose = value[Symbol.asyncDispose]; - } - if (dispose === void 0) { - if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined."); - dispose = value[Symbol.dispose]; - if (async) inner = dispose; - } - if (typeof dispose !== "function") throw new TypeError("Object not disposable."); - if (inner) dispose = function() { - try { - inner.call(this); - } catch (e) { - return Promise.reject(e); - } - }; - env.stack.push({ - value: value, - dispose: dispose, - async: async - }); - } else if (async) { - env.stack.push({ - async: true - }); - } - return value; -} -var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function(error, suppressed, message) { - var e = new Error(message); - return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e; -}; -function __disposeResources(env) { - function fail(e) { - env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e; - env.hasError = true; - } - var r, s = 0; - function next() { - while(r = env.stack.pop()){ - try { - if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next); - if (r.dispose) { - var result = r.dispose.call(r.value); - if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { - fail(e); - return next(); - }); - } else s |= 1; - } catch (e) { - fail(e); - } - } - if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve(); - if (env.hasError) throw env.error; - } - return next(); -} -function __rewriteRelativeImportExtension(path, preserveJsx) { - if (typeof path === "string" && /^\.\.?\//.test(path)) { - return path.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function(m, tsx, d, ext, cm) { - return tsx ? preserveJsx ? ".jsx" : ".js" : d && (!ext || !cm) ? m : d + ext + "." + cm.toLowerCase() + "js"; - }); - } - return path; -} -const __TURBOPACK__default__export__ = { - __extends, - __assign, - __rest, - __decorate, - __param, - __esDecorate, - __runInitializers, - __propKey, - __setFunctionName, - __metadata, - __awaiter, - __generator, - __createBinding, - __exportStar, - __values, - __read, - __spread, - __spreadArrays, - __spreadArray, - __await, - __asyncGenerator, - __asyncDelegator, - __asyncValues, - __makeTemplateObject, - __importStar, - __importDefault, - __classPrivateFieldGet, - __classPrivateFieldSet, - __classPrivateFieldIn, - __addDisposableResource, - __disposeResources, - __rewriteRelativeImportExtension -}; -}), -"[project]/node_modules/react-remove-scroll-bar/dist/es2015/constants.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "fullWidthClassName", - ()=>fullWidthClassName, - "noScrollbarsClassName", - ()=>noScrollbarsClassName, - "removedBarSizeVariable", - ()=>removedBarSizeVariable, - "zeroRightClassName", - ()=>zeroRightClassName -]); -var zeroRightClassName = 'right-scroll-bar-position'; -var fullWidthClassName = 'width-before-scroll-bar'; -var noScrollbarsClassName = 'with-scroll-bars-hidden'; -var removedBarSizeVariable = '--removed-body-scroll-bar-size'; -}), -"[project]/node_modules/use-callback-ref/dist/es2015/assignRef.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -/** - * Assigns a value for a given ref, no matter of the ref format - * @param {RefObject} ref - a callback function or ref object - * @param value - a new value - * - * @see https://github.com/theKashey/use-callback-ref#assignref - * @example - * const refObject = useRef(); - * const refFn = (ref) => {....} - * - * assignRef(refObject, "refValue"); - * assignRef(refFn, "refValue"); - */ __turbopack_context__.s([ - "assignRef", - ()=>assignRef -]); -function assignRef(ref, value) { - if (typeof ref === 'function') { - ref(value); - } else if (ref) { - ref.current = value; - } - return ref; -} -}), -"[project]/node_modules/use-callback-ref/dist/es2015/useRef.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "useCallbackRef", - ()=>useCallbackRef -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -; -function useCallbackRef(initialValue, callback) { - var ref = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"])({ - "useCallbackRef.useState": function() { - return { - // value - value: initialValue, - // last callback - callback: callback, - // "memoized" public interface - facade: { - get current () { - return ref.value; - }, - set current (value){ - var last = ref.value; - if (last !== value) { - ref.value = value; - ref.callback(value, last); - } - } - } - }; - } - }["useCallbackRef.useState"])[0]; - // update callback - ref.callback = callback; - return ref.facade; -} -}), -"[project]/node_modules/use-callback-ref/dist/es2015/useMergeRef.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "useMergeRefs", - ()=>useMergeRefs -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$use$2d$callback$2d$ref$2f$dist$2f$es2015$2f$assignRef$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/use-callback-ref/dist/es2015/assignRef.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$use$2d$callback$2d$ref$2f$dist$2f$es2015$2f$useRef$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/use-callback-ref/dist/es2015/useRef.js [app-client] (ecmascript)"); -; -; -; -var useIsomorphicLayoutEffect = typeof window !== 'undefined' ? __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useLayoutEffect"] : __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useEffect"]; -var currentValues = new WeakMap(); -function useMergeRefs(refs, defaultValue) { - var callbackRef = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$use$2d$callback$2d$ref$2f$dist$2f$es2015$2f$useRef$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useCallbackRef"])(defaultValue || null, { - "useMergeRefs.useCallbackRef[callbackRef]": function(newValue) { - return refs.forEach({ - "useMergeRefs.useCallbackRef[callbackRef]": function(ref) { - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$use$2d$callback$2d$ref$2f$dist$2f$es2015$2f$assignRef$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["assignRef"])(ref, newValue); - } - }["useMergeRefs.useCallbackRef[callbackRef]"]); - } - }["useMergeRefs.useCallbackRef[callbackRef]"]); - // handle refs changes - added or removed - useIsomorphicLayoutEffect({ - "useMergeRefs.useIsomorphicLayoutEffect": function() { - var oldValue = currentValues.get(callbackRef); - if (oldValue) { - var prevRefs_1 = new Set(oldValue); - var nextRefs_1 = new Set(refs); - var current_1 = callbackRef.current; - prevRefs_1.forEach({ - "useMergeRefs.useIsomorphicLayoutEffect": function(ref) { - if (!nextRefs_1.has(ref)) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$use$2d$callback$2d$ref$2f$dist$2f$es2015$2f$assignRef$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["assignRef"])(ref, null); - } - } - }["useMergeRefs.useIsomorphicLayoutEffect"]); - nextRefs_1.forEach({ - "useMergeRefs.useIsomorphicLayoutEffect": function(ref) { - if (!prevRefs_1.has(ref)) { - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$use$2d$callback$2d$ref$2f$dist$2f$es2015$2f$assignRef$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["assignRef"])(ref, current_1); - } - } - }["useMergeRefs.useIsomorphicLayoutEffect"]); - } - currentValues.set(callbackRef, refs); - } - }["useMergeRefs.useIsomorphicLayoutEffect"], [ - refs - ]); - return callbackRef; -} -}), -"[project]/node_modules/use-sidecar/dist/es2015/medium.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "createMedium", - ()=>createMedium, - "createSidecarMedium", - ()=>createSidecarMedium -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$tslib$2f$tslib$2e$es6$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/tslib/tslib.es6.mjs [app-client] (ecmascript)"); -; -function ItoI(a) { - return a; -} -function innerCreateMedium(defaults, middleware) { - if (middleware === void 0) { - middleware = ItoI; - } - var buffer = []; - var assigned = false; - var medium = { - read: function() { - if (assigned) { - throw new Error('Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.'); - } - if (buffer.length) { - return buffer[buffer.length - 1]; - } - return defaults; - }, - useMedium: function(data) { - var item = middleware(data, assigned); - buffer.push(item); - return function() { - buffer = buffer.filter(function(x) { - return x !== item; - }); - }; - }, - assignSyncMedium: function(cb) { - assigned = true; - while(buffer.length){ - var cbs = buffer; - buffer = []; - cbs.forEach(cb); - } - buffer = { - push: function(x) { - return cb(x); - }, - filter: function() { - return buffer; - } - }; - }, - assignMedium: function(cb) { - assigned = true; - var pendingQueue = []; - if (buffer.length) { - var cbs = buffer; - buffer = []; - cbs.forEach(cb); - pendingQueue = buffer; - } - var executeQueue = function() { - var cbs = pendingQueue; - pendingQueue = []; - cbs.forEach(cb); - }; - var cycle = function() { - return Promise.resolve().then(executeQueue); - }; - cycle(); - buffer = { - push: function(x) { - pendingQueue.push(x); - cycle(); - }, - filter: function(filter) { - pendingQueue = pendingQueue.filter(filter); - return buffer; - } - }; - } - }; - return medium; -} -function createMedium(defaults, middleware) { - if (middleware === void 0) { - middleware = ItoI; - } - return innerCreateMedium(defaults, middleware); -} -function createSidecarMedium(options) { - if (options === void 0) { - options = {}; - } - var medium = innerCreateMedium(null); - medium.options = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$tslib$2f$tslib$2e$es6$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["__assign"])({ - async: true, - ssr: false - }, options); - return medium; -} -}), -"[project]/node_modules/react-remove-scroll/dist/es2015/medium.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "effectCar", - ()=>effectCar -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$use$2d$sidecar$2f$dist$2f$es2015$2f$medium$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/use-sidecar/dist/es2015/medium.js [app-client] (ecmascript)"); -; -var effectCar = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$use$2d$sidecar$2f$dist$2f$es2015$2f$medium$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createSidecarMedium"])(); -}), -"[project]/node_modules/react-remove-scroll/dist/es2015/UI.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "RemoveScroll", - ()=>RemoveScroll -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$tslib$2f$tslib$2e$es6$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/tslib/tslib.es6.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$remove$2d$scroll$2d$bar$2f$dist$2f$es2015$2f$constants$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/react-remove-scroll-bar/dist/es2015/constants.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$use$2d$callback$2d$ref$2f$dist$2f$es2015$2f$useMergeRef$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/use-callback-ref/dist/es2015/useMergeRef.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$remove$2d$scroll$2f$dist$2f$es2015$2f$medium$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/react-remove-scroll/dist/es2015/medium.js [app-client] (ecmascript)"); -; -; -; -; -; -var nothing = function() { - return; -}; -/** - * Removes scrollbar from the page and contain the scroll within the Lock - */ var RemoveScroll = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["forwardRef"](function(props, parentRef) { - var ref = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useRef"](null); - var _a = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"]({ - onScrollCapture: nothing, - onWheelCapture: nothing, - onTouchMoveCapture: nothing - }), callbacks = _a[0], setCallbacks = _a[1]; - var forwardProps = props.forwardProps, children = props.children, className = props.className, removeScrollBar = props.removeScrollBar, enabled = props.enabled, shards = props.shards, sideCar = props.sideCar, noRelative = props.noRelative, noIsolation = props.noIsolation, inert = props.inert, allowPinchZoom = props.allowPinchZoom, _b = props.as, Container = _b === void 0 ? 'div' : _b, gapMode = props.gapMode, rest = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$tslib$2f$tslib$2e$es6$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["__rest"])(props, [ - "forwardProps", - "children", - "className", - "removeScrollBar", - "enabled", - "shards", - "sideCar", - "noRelative", - "noIsolation", - "inert", - "allowPinchZoom", - "as", - "gapMode" - ]); - var SideCar = sideCar; - var containerRef = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$use$2d$callback$2d$ref$2f$dist$2f$es2015$2f$useMergeRef$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useMergeRefs"])([ - ref, - parentRef - ]); - var containerProps = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$tslib$2f$tslib$2e$es6$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["__assign"])((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$tslib$2f$tslib$2e$es6$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["__assign"])({}, rest), callbacks); - return __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createElement"](__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Fragment"], null, enabled && __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createElement"](SideCar, { - sideCar: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$remove$2d$scroll$2f$dist$2f$es2015$2f$medium$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["effectCar"], - removeScrollBar: removeScrollBar, - shards: shards, - noRelative: noRelative, - noIsolation: noIsolation, - inert: inert, - setCallbacks: setCallbacks, - allowPinchZoom: !!allowPinchZoom, - lockRef: ref, - gapMode: gapMode - }), forwardProps ? __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["cloneElement"](__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Children"].only(children), (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$tslib$2f$tslib$2e$es6$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["__assign"])((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$tslib$2f$tslib$2e$es6$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["__assign"])({}, containerProps), { - ref: containerRef - })) : __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createElement"](Container, (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$tslib$2f$tslib$2e$es6$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["__assign"])({}, containerProps, { - className: className, - ref: containerRef - }), children)); -}); -RemoveScroll.defaultProps = { - enabled: true, - removeScrollBar: true, - inert: false -}; -RemoveScroll.classNames = { - fullWidth: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$remove$2d$scroll$2d$bar$2f$dist$2f$es2015$2f$constants$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["fullWidthClassName"], - zeroRight: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$remove$2d$scroll$2d$bar$2f$dist$2f$es2015$2f$constants$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["zeroRightClassName"] -}; -; -}), -"[project]/node_modules/use-sidecar/dist/es2015/exports.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "exportSidecar", - ()=>exportSidecar -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$tslib$2f$tslib$2e$es6$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/tslib/tslib.es6.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -; -; -var SideCar = function(_a) { - var sideCar = _a.sideCar, rest = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$tslib$2f$tslib$2e$es6$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["__rest"])(_a, [ - "sideCar" - ]); - if (!sideCar) { - throw new Error('Sidecar: please provide `sideCar` property to import the right car'); - } - var Target = sideCar.read(); - if (!Target) { - throw new Error('Sidecar medium not found'); - } - return __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createElement"](Target, (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$tslib$2f$tslib$2e$es6$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["__assign"])({}, rest)); -}; -SideCar.isSideCarExport = true; -function exportSidecar(medium, exported) { - medium.useMedium(exported); - return SideCar; -} -}), -"[project]/node_modules/get-nonce/dist/es2015/index.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "getNonce", - ()=>getNonce, - "setNonce", - ()=>setNonce -]); -var currentNonce; -var setNonce = function(nonce) { - currentNonce = nonce; -}; -var getNonce = function() { - if (currentNonce) { - return currentNonce; - } - if (typeof __webpack_nonce__ !== 'undefined') { - return __webpack_nonce__; - } - return undefined; -}; -}), -"[project]/node_modules/react-style-singleton/dist/es2015/singleton.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "stylesheetSingleton", - ()=>stylesheetSingleton -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$get$2d$nonce$2f$dist$2f$es2015$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/get-nonce/dist/es2015/index.js [app-client] (ecmascript)"); -; -function makeStyleTag() { - if (!document) return null; - var tag = document.createElement('style'); - tag.type = 'text/css'; - var nonce = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$get$2d$nonce$2f$dist$2f$es2015$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getNonce"])(); - if (nonce) { - tag.setAttribute('nonce', nonce); - } - return tag; -} -function injectStyles(tag, css) { - // @ts-ignore - if (tag.styleSheet) { - // @ts-ignore - tag.styleSheet.cssText = css; - } else { - tag.appendChild(document.createTextNode(css)); - } -} -function insertStyleTag(tag) { - var head = document.head || document.getElementsByTagName('head')[0]; - head.appendChild(tag); -} -var stylesheetSingleton = function() { - var counter = 0; - var stylesheet = null; - return { - add: function(style) { - if (counter == 0) { - if (stylesheet = makeStyleTag()) { - injectStyles(stylesheet, style); - insertStyleTag(stylesheet); - } - } - counter++; - }, - remove: function() { - counter--; - if (!counter && stylesheet) { - stylesheet.parentNode && stylesheet.parentNode.removeChild(stylesheet); - stylesheet = null; - } - } - }; -}; -}), -"[project]/node_modules/react-style-singleton/dist/es2015/hook.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "styleHookSingleton", - ()=>styleHookSingleton -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$style$2d$singleton$2f$dist$2f$es2015$2f$singleton$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/react-style-singleton/dist/es2015/singleton.js [app-client] (ecmascript)"); -; -; -var styleHookSingleton = function() { - var sheet = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$style$2d$singleton$2f$dist$2f$es2015$2f$singleton$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["stylesheetSingleton"])(); - return function(styles, isDynamic) { - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useEffect"]({ - "styleHookSingleton.useEffect": function() { - sheet.add(styles); - return ({ - "styleHookSingleton.useEffect": function() { - sheet.remove(); - } - })["styleHookSingleton.useEffect"]; - } - }["styleHookSingleton.useEffect"], [ - styles && isDynamic - ]); - }; -}; -}), -"[project]/node_modules/react-style-singleton/dist/es2015/component.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "styleSingleton", - ()=>styleSingleton -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$style$2d$singleton$2f$dist$2f$es2015$2f$hook$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/react-style-singleton/dist/es2015/hook.js [app-client] (ecmascript)"); -; -var styleSingleton = function() { - var useStyle = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$style$2d$singleton$2f$dist$2f$es2015$2f$hook$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["styleHookSingleton"])(); - var Sheet = function(_a) { - var styles = _a.styles, dynamic = _a.dynamic; - useStyle(styles, dynamic); - return null; - }; - return Sheet; -}; -}), -"[project]/node_modules/react-style-singleton/dist/es2015/index.js [app-client] (ecmascript) <locals>", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$style$2d$singleton$2f$dist$2f$es2015$2f$component$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/react-style-singleton/dist/es2015/component.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$style$2d$singleton$2f$dist$2f$es2015$2f$singleton$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/react-style-singleton/dist/es2015/singleton.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$style$2d$singleton$2f$dist$2f$es2015$2f$hook$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/react-style-singleton/dist/es2015/hook.js [app-client] (ecmascript)"); -; -; -; -}), -"[project]/node_modules/react-remove-scroll-bar/dist/es2015/utils.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "getGapWidth", - ()=>getGapWidth, - "zeroGap", - ()=>zeroGap -]); -var zeroGap = { - left: 0, - top: 0, - right: 0, - gap: 0 -}; -var parse = function(x) { - return parseInt(x || '', 10) || 0; -}; -var getOffset = function(gapMode) { - var cs = window.getComputedStyle(document.body); - var left = cs[gapMode === 'padding' ? 'paddingLeft' : 'marginLeft']; - var top = cs[gapMode === 'padding' ? 'paddingTop' : 'marginTop']; - var right = cs[gapMode === 'padding' ? 'paddingRight' : 'marginRight']; - return [ - parse(left), - parse(top), - parse(right) - ]; -}; -var getGapWidth = function(gapMode) { - if (gapMode === void 0) { - gapMode = 'margin'; - } - if (typeof window === 'undefined') { - return zeroGap; - } - var offsets = getOffset(gapMode); - var documentWidth = document.documentElement.clientWidth; - var windowWidth = window.innerWidth; - return { - left: offsets[0], - top: offsets[1], - right: offsets[2], - gap: Math.max(0, windowWidth - documentWidth + offsets[2] - offsets[0]) - }; -}; -}), -"[project]/node_modules/react-remove-scroll-bar/dist/es2015/component.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "RemoveScrollBar", - ()=>RemoveScrollBar, - "lockAttribute", - ()=>lockAttribute, - "useLockAttribute", - ()=>useLockAttribute -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$style$2d$singleton$2f$dist$2f$es2015$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$locals$3e$__ = __turbopack_context__.i("[project]/node_modules/react-style-singleton/dist/es2015/index.js [app-client] (ecmascript) <locals>"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$style$2d$singleton$2f$dist$2f$es2015$2f$component$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/react-style-singleton/dist/es2015/component.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$remove$2d$scroll$2d$bar$2f$dist$2f$es2015$2f$constants$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/react-remove-scroll-bar/dist/es2015/constants.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$remove$2d$scroll$2d$bar$2f$dist$2f$es2015$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/react-remove-scroll-bar/dist/es2015/utils.js [app-client] (ecmascript)"); -; -; -; -; -var Style = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$style$2d$singleton$2f$dist$2f$es2015$2f$component$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["styleSingleton"])(); -var lockAttribute = 'data-scroll-locked'; -// important tip - once we measure scrollBar width and remove them -// we could not repeat this operation -// thus we are using style-singleton - only the first "yet correct" style will be applied. -var getStyles = function(_a, allowRelative, gapMode, important) { - var left = _a.left, top = _a.top, right = _a.right, gap = _a.gap; - if (gapMode === void 0) { - gapMode = 'margin'; - } - return "\n .".concat(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$remove$2d$scroll$2d$bar$2f$dist$2f$es2015$2f$constants$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["noScrollbarsClassName"], " {\n overflow: hidden ").concat(important, ";\n padding-right: ").concat(gap, "px ").concat(important, ";\n }\n body[").concat(lockAttribute, "] {\n overflow: hidden ").concat(important, ";\n overscroll-behavior: contain;\n ").concat([ - allowRelative && "position: relative ".concat(important, ";"), - gapMode === 'margin' && "\n padding-left: ".concat(left, "px;\n padding-top: ").concat(top, "px;\n padding-right: ").concat(right, "px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(gap, "px ").concat(important, ";\n "), - gapMode === 'padding' && "padding-right: ".concat(gap, "px ").concat(important, ";") - ].filter(Boolean).join(''), "\n }\n \n .").concat(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$remove$2d$scroll$2d$bar$2f$dist$2f$es2015$2f$constants$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["zeroRightClassName"], " {\n right: ").concat(gap, "px ").concat(important, ";\n }\n \n .").concat(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$remove$2d$scroll$2d$bar$2f$dist$2f$es2015$2f$constants$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["fullWidthClassName"], " {\n margin-right: ").concat(gap, "px ").concat(important, ";\n }\n \n .").concat(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$remove$2d$scroll$2d$bar$2f$dist$2f$es2015$2f$constants$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["zeroRightClassName"], " .").concat(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$remove$2d$scroll$2d$bar$2f$dist$2f$es2015$2f$constants$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["zeroRightClassName"], " {\n right: 0 ").concat(important, ";\n }\n \n .").concat(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$remove$2d$scroll$2d$bar$2f$dist$2f$es2015$2f$constants$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["fullWidthClassName"], " .").concat(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$remove$2d$scroll$2d$bar$2f$dist$2f$es2015$2f$constants$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["fullWidthClassName"], " {\n margin-right: 0 ").concat(important, ";\n }\n \n body[").concat(lockAttribute, "] {\n ").concat(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$remove$2d$scroll$2d$bar$2f$dist$2f$es2015$2f$constants$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["removedBarSizeVariable"], ": ").concat(gap, "px;\n }\n"); -}; -var getCurrentUseCounter = function() { - var counter = parseInt(document.body.getAttribute(lockAttribute) || '0', 10); - return isFinite(counter) ? counter : 0; -}; -var useLockAttribute = function() { - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useEffect"]({ - "useLockAttribute.useEffect": function() { - document.body.setAttribute(lockAttribute, (getCurrentUseCounter() + 1).toString()); - return ({ - "useLockAttribute.useEffect": function() { - var newCounter = getCurrentUseCounter() - 1; - if (newCounter <= 0) { - document.body.removeAttribute(lockAttribute); - } else { - document.body.setAttribute(lockAttribute, newCounter.toString()); - } - } - })["useLockAttribute.useEffect"]; - } - }["useLockAttribute.useEffect"], []); -}; -var RemoveScrollBar = function(_a) { - var noRelative = _a.noRelative, noImportant = _a.noImportant, _b = _a.gapMode, gapMode = _b === void 0 ? 'margin' : _b; - useLockAttribute(); - /* - gap will be measured on every component mount - however it will be used only by the "first" invocation - due to singleton nature of <Style - */ var gap = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useMemo"]({ - "RemoveScrollBar.useMemo[gap]": function() { - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$remove$2d$scroll$2d$bar$2f$dist$2f$es2015$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["getGapWidth"])(gapMode); - } - }["RemoveScrollBar.useMemo[gap]"], [ - gapMode - ]); - return __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createElement"](Style, { - styles: getStyles(gap, !noRelative, gapMode, !noImportant ? '!important' : '') - }); -}; -}), -"[project]/node_modules/react-remove-scroll-bar/dist/es2015/index.js [app-client] (ecmascript) <locals>", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$remove$2d$scroll$2d$bar$2f$dist$2f$es2015$2f$component$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/react-remove-scroll-bar/dist/es2015/component.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$remove$2d$scroll$2d$bar$2f$dist$2f$es2015$2f$constants$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/react-remove-scroll-bar/dist/es2015/constants.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$remove$2d$scroll$2d$bar$2f$dist$2f$es2015$2f$utils$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/react-remove-scroll-bar/dist/es2015/utils.js [app-client] (ecmascript)"); -; -; -; -; -}), -"[project]/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "nonPassive", - ()=>nonPassive -]); -var passiveSupported = false; -if (typeof window !== 'undefined') { - try { - var options = Object.defineProperty({}, 'passive', { - get: function() { - passiveSupported = true; - return true; - } - }); - // @ts-ignore - window.addEventListener('test', options, options); - // @ts-ignore - window.removeEventListener('test', options, options); - } catch (err) { - passiveSupported = false; - } -} -var nonPassive = passiveSupported ? { - passive: false -} : false; -}), -"[project]/node_modules/react-remove-scroll/dist/es2015/handleScroll.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "handleScroll", - ()=>handleScroll, - "locationCouldBeScrolled", - ()=>locationCouldBeScrolled -]); -var alwaysContainsScroll = function(node) { - // textarea will always _contain_ scroll inside self. It only can be hidden - return node.tagName === 'TEXTAREA'; -}; -var elementCanBeScrolled = function(node, overflow) { - if (!(node instanceof Element)) { - return false; - } - var styles = window.getComputedStyle(node); - return(// not-not-scrollable - styles[overflow] !== 'hidden' && // contains scroll inside self - !(styles.overflowY === styles.overflowX && !alwaysContainsScroll(node) && styles[overflow] === 'visible')); -}; -var elementCouldBeVScrolled = function(node) { - return elementCanBeScrolled(node, 'overflowY'); -}; -var elementCouldBeHScrolled = function(node) { - return elementCanBeScrolled(node, 'overflowX'); -}; -var locationCouldBeScrolled = function(axis, node) { - var ownerDocument = node.ownerDocument; - var current = node; - do { - // Skip over shadow root - if (typeof ShadowRoot !== 'undefined' && current instanceof ShadowRoot) { - current = current.host; - } - var isScrollable = elementCouldBeScrolled(axis, current); - if (isScrollable) { - var _a = getScrollVariables(axis, current), scrollHeight = _a[1], clientHeight = _a[2]; - if (scrollHeight > clientHeight) { - return true; - } - } - current = current.parentNode; - }while (current && current !== ownerDocument.body) - return false; -}; -var getVScrollVariables = function(_a) { - var scrollTop = _a.scrollTop, scrollHeight = _a.scrollHeight, clientHeight = _a.clientHeight; - return [ - scrollTop, - scrollHeight, - clientHeight - ]; -}; -var getHScrollVariables = function(_a) { - var scrollLeft = _a.scrollLeft, scrollWidth = _a.scrollWidth, clientWidth = _a.clientWidth; - return [ - scrollLeft, - scrollWidth, - clientWidth - ]; -}; -var elementCouldBeScrolled = function(axis, node) { - return axis === 'v' ? elementCouldBeVScrolled(node) : elementCouldBeHScrolled(node); -}; -var getScrollVariables = function(axis, node) { - return axis === 'v' ? getVScrollVariables(node) : getHScrollVariables(node); -}; -var getDirectionFactor = function(axis, direction) { - /** - * If the element's direction is rtl (right-to-left), then scrollLeft is 0 when the scrollbar is at its rightmost position, - * and then increasingly negative as you scroll towards the end of the content. - * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollLeft - */ return axis === 'h' && direction === 'rtl' ? -1 : 1; -}; -var handleScroll = function(axis, endTarget, event, sourceDelta, noOverscroll) { - var directionFactor = getDirectionFactor(axis, window.getComputedStyle(endTarget).direction); - var delta = directionFactor * sourceDelta; - // find scrollable target - var target = event.target; - var targetInLock = endTarget.contains(target); - var shouldCancelScroll = false; - var isDeltaPositive = delta > 0; - var availableScroll = 0; - var availableScrollTop = 0; - do { - if (!target) { - break; - } - var _a = getScrollVariables(axis, target), position = _a[0], scroll_1 = _a[1], capacity = _a[2]; - var elementScroll = scroll_1 - capacity - directionFactor * position; - if (position || elementScroll) { - if (elementCouldBeScrolled(axis, target)) { - availableScroll += elementScroll; - availableScrollTop += position; - } - } - var parent_1 = target.parentNode; - // we will "bubble" from ShadowDom in case we are, or just to the parent in normal case - // this is the same logic used in focus-lock - target = parent_1 && parent_1.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? parent_1.host : parent_1; - }while (// portaled content - !targetInLock && target !== document.body || targetInLock && (endTarget.contains(target) || endTarget === target)) - // handle epsilon around 0 (non standard zoom levels) - if (isDeltaPositive && (noOverscroll && Math.abs(availableScroll) < 1 || !noOverscroll && delta > availableScroll)) { - shouldCancelScroll = true; - } else if (!isDeltaPositive && (noOverscroll && Math.abs(availableScrollTop) < 1 || !noOverscroll && -delta > availableScrollTop)) { - shouldCancelScroll = true; - } - return shouldCancelScroll; -}; -}), -"[project]/node_modules/react-remove-scroll/dist/es2015/SideEffect.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "RemoveScrollSideCar", - ()=>RemoveScrollSideCar, - "getDeltaXY", - ()=>getDeltaXY, - "getTouchXY", - ()=>getTouchXY -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$tslib$2f$tslib$2e$es6$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/tslib/tslib.es6.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$remove$2d$scroll$2d$bar$2f$dist$2f$es2015$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$locals$3e$__ = __turbopack_context__.i("[project]/node_modules/react-remove-scroll-bar/dist/es2015/index.js [app-client] (ecmascript) <locals>"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$remove$2d$scroll$2d$bar$2f$dist$2f$es2015$2f$component$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/react-remove-scroll-bar/dist/es2015/component.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$style$2d$singleton$2f$dist$2f$es2015$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$locals$3e$__ = __turbopack_context__.i("[project]/node_modules/react-style-singleton/dist/es2015/index.js [app-client] (ecmascript) <locals>"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$style$2d$singleton$2f$dist$2f$es2015$2f$component$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/react-style-singleton/dist/es2015/component.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$remove$2d$scroll$2f$dist$2f$es2015$2f$aggresiveCapture$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$remove$2d$scroll$2f$dist$2f$es2015$2f$handleScroll$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/react-remove-scroll/dist/es2015/handleScroll.js [app-client] (ecmascript)"); -; -; -; -; -; -; -var getTouchXY = function(event) { - return 'changedTouches' in event ? [ - event.changedTouches[0].clientX, - event.changedTouches[0].clientY - ] : [ - 0, - 0 - ]; -}; -var getDeltaXY = function(event) { - return [ - event.deltaX, - event.deltaY - ]; -}; -var extractRef = function(ref) { - return ref && 'current' in ref ? ref.current : ref; -}; -var deltaCompare = function(x, y) { - return x[0] === y[0] && x[1] === y[1]; -}; -var generateStyle = function(id) { - return "\n .block-interactivity-".concat(id, " {pointer-events: none;}\n .allow-interactivity-").concat(id, " {pointer-events: all;}\n"); -}; -var idCounter = 0; -var lockStack = []; -function RemoveScrollSideCar(props) { - var shouldPreventQueue = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useRef"]([]); - var touchStartRef = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useRef"]([ - 0, - 0 - ]); - var activeAxis = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useRef"](); - var id = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"](idCounter++)[0]; - var Style = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"](__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$style$2d$singleton$2f$dist$2f$es2015$2f$component$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["styleSingleton"])[0]; - var lastProps = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useRef"](props); - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useEffect"]({ - "RemoveScrollSideCar.useEffect": function() { - lastProps.current = props; - } - }["RemoveScrollSideCar.useEffect"], [ - props - ]); - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useEffect"]({ - "RemoveScrollSideCar.useEffect": function() { - if (props.inert) { - document.body.classList.add("block-interactivity-".concat(id)); - var allow_1 = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$tslib$2f$tslib$2e$es6$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["__spreadArray"])([ - props.lockRef.current - ], (props.shards || []).map(extractRef), true).filter(Boolean); - allow_1.forEach({ - "RemoveScrollSideCar.useEffect": function(el) { - return el.classList.add("allow-interactivity-".concat(id)); - } - }["RemoveScrollSideCar.useEffect"]); - return ({ - "RemoveScrollSideCar.useEffect": function() { - document.body.classList.remove("block-interactivity-".concat(id)); - allow_1.forEach({ - "RemoveScrollSideCar.useEffect": function(el) { - return el.classList.remove("allow-interactivity-".concat(id)); - } - }["RemoveScrollSideCar.useEffect"]); - } - })["RemoveScrollSideCar.useEffect"]; - } - return; - } - }["RemoveScrollSideCar.useEffect"], [ - props.inert, - props.lockRef.current, - props.shards - ]); - var shouldCancelEvent = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useCallback"]({ - "RemoveScrollSideCar.useCallback[shouldCancelEvent]": function(event, parent) { - if ('touches' in event && event.touches.length === 2 || event.type === 'wheel' && event.ctrlKey) { - return !lastProps.current.allowPinchZoom; - } - var touch = getTouchXY(event); - var touchStart = touchStartRef.current; - var deltaX = 'deltaX' in event ? event.deltaX : touchStart[0] - touch[0]; - var deltaY = 'deltaY' in event ? event.deltaY : touchStart[1] - touch[1]; - var currentAxis; - var target = event.target; - var moveDirection = Math.abs(deltaX) > Math.abs(deltaY) ? 'h' : 'v'; - // allow horizontal touch move on Range inputs. They will not cause any scroll - if ('touches' in event && moveDirection === 'h' && target.type === 'range') { - return false; - } - // allow drag selection (iOS); check if selection's anchorNode is the same as target or contains target - var selection = window.getSelection(); - var anchorNode = selection && selection.anchorNode; - var isTouchingSelection = anchorNode ? anchorNode === target || anchorNode.contains(target) : false; - if (isTouchingSelection) { - return false; - } - var canBeScrolledInMainDirection = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$remove$2d$scroll$2f$dist$2f$es2015$2f$handleScroll$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["locationCouldBeScrolled"])(moveDirection, target); - if (!canBeScrolledInMainDirection) { - return true; - } - if (canBeScrolledInMainDirection) { - currentAxis = moveDirection; - } else { - currentAxis = moveDirection === 'v' ? 'h' : 'v'; - canBeScrolledInMainDirection = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$remove$2d$scroll$2f$dist$2f$es2015$2f$handleScroll$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["locationCouldBeScrolled"])(moveDirection, target); - // other axis might be not scrollable - } - if (!canBeScrolledInMainDirection) { - return false; - } - if (!activeAxis.current && 'changedTouches' in event && (deltaX || deltaY)) { - activeAxis.current = currentAxis; - } - if (!currentAxis) { - return true; - } - var cancelingAxis = activeAxis.current || currentAxis; - return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$remove$2d$scroll$2f$dist$2f$es2015$2f$handleScroll$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["handleScroll"])(cancelingAxis, parent, event, cancelingAxis === 'h' ? deltaX : deltaY, true); - } - }["RemoveScrollSideCar.useCallback[shouldCancelEvent]"], []); - var shouldPrevent = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useCallback"]({ - "RemoveScrollSideCar.useCallback[shouldPrevent]": function(_event) { - var event = _event; - if (!lockStack.length || lockStack[lockStack.length - 1] !== Style) { - // not the last active - return; - } - var delta = 'deltaY' in event ? getDeltaXY(event) : getTouchXY(event); - var sourceEvent = shouldPreventQueue.current.filter({ - "RemoveScrollSideCar.useCallback[shouldPrevent]": function(e) { - return e.name === event.type && (e.target === event.target || event.target === e.shadowParent) && deltaCompare(e.delta, delta); - } - }["RemoveScrollSideCar.useCallback[shouldPrevent]"])[0]; - // self event, and should be canceled - if (sourceEvent && sourceEvent.should) { - if (event.cancelable) { - event.preventDefault(); - } - return; - } - // outside or shard event - if (!sourceEvent) { - var shardNodes = (lastProps.current.shards || []).map(extractRef).filter(Boolean).filter({ - "RemoveScrollSideCar.useCallback[shouldPrevent].shardNodes": function(node) { - return node.contains(event.target); - } - }["RemoveScrollSideCar.useCallback[shouldPrevent].shardNodes"]); - var shouldStop = shardNodes.length > 0 ? shouldCancelEvent(event, shardNodes[0]) : !lastProps.current.noIsolation; - if (shouldStop) { - if (event.cancelable) { - event.preventDefault(); - } - } - } - } - }["RemoveScrollSideCar.useCallback[shouldPrevent]"], []); - var shouldCancel = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useCallback"]({ - "RemoveScrollSideCar.useCallback[shouldCancel]": function(name, delta, target, should) { - var event = { - name: name, - delta: delta, - target: target, - should: should, - shadowParent: getOutermostShadowParent(target) - }; - shouldPreventQueue.current.push(event); - setTimeout({ - "RemoveScrollSideCar.useCallback[shouldCancel]": function() { - shouldPreventQueue.current = shouldPreventQueue.current.filter({ - "RemoveScrollSideCar.useCallback[shouldCancel]": function(e) { - return e !== event; - } - }["RemoveScrollSideCar.useCallback[shouldCancel]"]); - } - }["RemoveScrollSideCar.useCallback[shouldCancel]"], 1); - } - }["RemoveScrollSideCar.useCallback[shouldCancel]"], []); - var scrollTouchStart = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useCallback"]({ - "RemoveScrollSideCar.useCallback[scrollTouchStart]": function(event) { - touchStartRef.current = getTouchXY(event); - activeAxis.current = undefined; - } - }["RemoveScrollSideCar.useCallback[scrollTouchStart]"], []); - var scrollWheel = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useCallback"]({ - "RemoveScrollSideCar.useCallback[scrollWheel]": function(event) { - shouldCancel(event.type, getDeltaXY(event), event.target, shouldCancelEvent(event, props.lockRef.current)); - } - }["RemoveScrollSideCar.useCallback[scrollWheel]"], []); - var scrollTouchMove = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useCallback"]({ - "RemoveScrollSideCar.useCallback[scrollTouchMove]": function(event) { - shouldCancel(event.type, getTouchXY(event), event.target, shouldCancelEvent(event, props.lockRef.current)); - } - }["RemoveScrollSideCar.useCallback[scrollTouchMove]"], []); - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useEffect"]({ - "RemoveScrollSideCar.useEffect": function() { - lockStack.push(Style); - props.setCallbacks({ - onScrollCapture: scrollWheel, - onWheelCapture: scrollWheel, - onTouchMoveCapture: scrollTouchMove - }); - document.addEventListener('wheel', shouldPrevent, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$remove$2d$scroll$2f$dist$2f$es2015$2f$aggresiveCapture$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["nonPassive"]); - document.addEventListener('touchmove', shouldPrevent, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$remove$2d$scroll$2f$dist$2f$es2015$2f$aggresiveCapture$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["nonPassive"]); - document.addEventListener('touchstart', scrollTouchStart, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$remove$2d$scroll$2f$dist$2f$es2015$2f$aggresiveCapture$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["nonPassive"]); - return ({ - "RemoveScrollSideCar.useEffect": function() { - lockStack = lockStack.filter({ - "RemoveScrollSideCar.useEffect": function(inst) { - return inst !== Style; - } - }["RemoveScrollSideCar.useEffect"]); - document.removeEventListener('wheel', shouldPrevent, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$remove$2d$scroll$2f$dist$2f$es2015$2f$aggresiveCapture$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["nonPassive"]); - document.removeEventListener('touchmove', shouldPrevent, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$remove$2d$scroll$2f$dist$2f$es2015$2f$aggresiveCapture$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["nonPassive"]); - document.removeEventListener('touchstart', scrollTouchStart, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$remove$2d$scroll$2f$dist$2f$es2015$2f$aggresiveCapture$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["nonPassive"]); - } - })["RemoveScrollSideCar.useEffect"]; - } - }["RemoveScrollSideCar.useEffect"], []); - var removeScrollBar = props.removeScrollBar, inert = props.inert; - return __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createElement"](__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Fragment"], null, inert ? __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createElement"](Style, { - styles: generateStyle(id) - }) : null, removeScrollBar ? __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createElement"](__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$remove$2d$scroll$2d$bar$2f$dist$2f$es2015$2f$component$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["RemoveScrollBar"], { - noRelative: props.noRelative, - gapMode: props.gapMode - }) : null); -} -function getOutermostShadowParent(node) { - var shadowParent = null; - while(node !== null){ - if (node instanceof ShadowRoot) { - shadowParent = node.host; - node = node.host; - } - node = node.parentNode; - } - return shadowParent; -} -}), -"[project]/node_modules/react-remove-scroll/dist/es2015/sidecar.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "default", - ()=>__TURBOPACK__default__export__ -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$use$2d$sidecar$2f$dist$2f$es2015$2f$exports$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/use-sidecar/dist/es2015/exports.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$remove$2d$scroll$2f$dist$2f$es2015$2f$SideEffect$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/react-remove-scroll/dist/es2015/SideEffect.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$remove$2d$scroll$2f$dist$2f$es2015$2f$medium$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/react-remove-scroll/dist/es2015/medium.js [app-client] (ecmascript)"); -; -; -; -const __TURBOPACK__default__export__ = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$use$2d$sidecar$2f$dist$2f$es2015$2f$exports$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["exportSidecar"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$remove$2d$scroll$2f$dist$2f$es2015$2f$medium$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["effectCar"], __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$remove$2d$scroll$2f$dist$2f$es2015$2f$SideEffect$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["RemoveScrollSideCar"]); -}), -"[project]/node_modules/react-remove-scroll/dist/es2015/Combination.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "default", - ()=>__TURBOPACK__default__export__ -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$tslib$2f$tslib$2e$es6$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/tslib/tslib.es6.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$remove$2d$scroll$2f$dist$2f$es2015$2f$UI$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/react-remove-scroll/dist/es2015/UI.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$remove$2d$scroll$2f$dist$2f$es2015$2f$sidecar$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/react-remove-scroll/dist/es2015/sidecar.js [app-client] (ecmascript)"); -; -; -; -; -var ReactRemoveScroll = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["forwardRef"](function(props, ref) { - return __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createElement"](__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$remove$2d$scroll$2f$dist$2f$es2015$2f$UI$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["RemoveScroll"], (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$tslib$2f$tslib$2e$es6$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["__assign"])({}, props, { - ref: ref, - sideCar: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$remove$2d$scroll$2f$dist$2f$es2015$2f$sidecar$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"] - })); -}); -ReactRemoveScroll.classNames = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$remove$2d$scroll$2f$dist$2f$es2015$2f$UI$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["RemoveScroll"].classNames; -const __TURBOPACK__default__export__ = ReactRemoveScroll; -}), -"[project]/node_modules/react-remove-scroll/dist/es2015/Combination.js [app-client] (ecmascript) <export default as RemoveScroll>", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "RemoveScroll", - ()=>__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$remove$2d$scroll$2f$dist$2f$es2015$2f$Combination$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"] -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$remove$2d$scroll$2f$dist$2f$es2015$2f$Combination$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/react-remove-scroll/dist/es2015/Combination.js [app-client] (ecmascript)"); -}), -"[project]/node_modules/aria-hidden/dist/es2015/index.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "hideOthers", - ()=>hideOthers, - "inertOthers", - ()=>inertOthers, - "supportsInert", - ()=>supportsInert, - "suppressOthers", - ()=>suppressOthers -]); -var getDefaultParent = function(originalTarget) { - if (typeof document === 'undefined') { - return null; - } - var sampleTarget = Array.isArray(originalTarget) ? originalTarget[0] : originalTarget; - return sampleTarget.ownerDocument.body; -}; -var counterMap = new WeakMap(); -var uncontrolledNodes = new WeakMap(); -var markerMap = {}; -var lockCount = 0; -var unwrapHost = function(node) { - return node && (node.host || unwrapHost(node.parentNode)); -}; -var correctTargets = function(parent, targets) { - return targets.map(function(target) { - if (parent.contains(target)) { - return target; - } - var correctedTarget = unwrapHost(target); - if (correctedTarget && parent.contains(correctedTarget)) { - return correctedTarget; - } - console.error('aria-hidden', target, 'in not contained inside', parent, '. Doing nothing'); - return null; - }).filter(function(x) { - return Boolean(x); - }); -}; -/** - * Marks everything except given node(or nodes) as aria-hidden - * @param {Element | Element[]} originalTarget - elements to keep on the page - * @param [parentNode] - top element, defaults to document.body - * @param {String} [markerName] - a special attribute to mark every node - * @param {String} [controlAttribute] - html Attribute to control - * @return {Undo} undo command - */ var applyAttributeToOthers = function(originalTarget, parentNode, markerName, controlAttribute) { - var targets = correctTargets(parentNode, Array.isArray(originalTarget) ? originalTarget : [ - originalTarget - ]); - if (!markerMap[markerName]) { - markerMap[markerName] = new WeakMap(); - } - var markerCounter = markerMap[markerName]; - var hiddenNodes = []; - var elementsToKeep = new Set(); - var elementsToStop = new Set(targets); - var keep = function(el) { - if (!el || elementsToKeep.has(el)) { - return; - } - elementsToKeep.add(el); - keep(el.parentNode); - }; - targets.forEach(keep); - var deep = function(parent) { - if (!parent || elementsToStop.has(parent)) { - return; - } - Array.prototype.forEach.call(parent.children, function(node) { - if (elementsToKeep.has(node)) { - deep(node); - } else { - try { - var attr = node.getAttribute(controlAttribute); - var alreadyHidden = attr !== null && attr !== 'false'; - var counterValue = (counterMap.get(node) || 0) + 1; - var markerValue = (markerCounter.get(node) || 0) + 1; - counterMap.set(node, counterValue); - markerCounter.set(node, markerValue); - hiddenNodes.push(node); - if (counterValue === 1 && alreadyHidden) { - uncontrolledNodes.set(node, true); - } - if (markerValue === 1) { - node.setAttribute(markerName, 'true'); - } - if (!alreadyHidden) { - node.setAttribute(controlAttribute, 'true'); - } - } catch (e) { - console.error('aria-hidden: cannot operate on ', node, e); - } - } - }); - }; - deep(parentNode); - elementsToKeep.clear(); - lockCount++; - return function() { - hiddenNodes.forEach(function(node) { - var counterValue = counterMap.get(node) - 1; - var markerValue = markerCounter.get(node) - 1; - counterMap.set(node, counterValue); - markerCounter.set(node, markerValue); - if (!counterValue) { - if (!uncontrolledNodes.has(node)) { - node.removeAttribute(controlAttribute); - } - uncontrolledNodes.delete(node); - } - if (!markerValue) { - node.removeAttribute(markerName); - } - }); - lockCount--; - if (!lockCount) { - // clear - counterMap = new WeakMap(); - counterMap = new WeakMap(); - uncontrolledNodes = new WeakMap(); - markerMap = {}; - } - }; -}; -var hideOthers = function(originalTarget, parentNode, markerName) { - if (markerName === void 0) { - markerName = 'data-aria-hidden'; - } - var targets = Array.from(Array.isArray(originalTarget) ? originalTarget : [ - originalTarget - ]); - var activeParentNode = parentNode || getDefaultParent(originalTarget); - if (!activeParentNode) { - return function() { - return null; - }; - } - // we should not hide aria-live elements - https://github.com/theKashey/aria-hidden/issues/10 - // and script elements, as they have no impact on accessibility. - targets.push.apply(targets, Array.from(activeParentNode.querySelectorAll('[aria-live], script'))); - return applyAttributeToOthers(targets, activeParentNode, markerName, 'aria-hidden'); -}; -var inertOthers = function(originalTarget, parentNode, markerName) { - if (markerName === void 0) { - markerName = 'data-inert-ed'; - } - var activeParentNode = parentNode || getDefaultParent(originalTarget); - if (!activeParentNode) { - return function() { - return null; - }; - } - return applyAttributeToOthers(originalTarget, activeParentNode, markerName, 'inert'); -}; -var supportsInert = function() { - return typeof HTMLElement !== 'undefined' && HTMLElement.prototype.hasOwnProperty('inert'); -}; -var suppressOthers = function(originalTarget, parentNode, markerName) { - if (markerName === void 0) { - markerName = 'data-suppressed'; - } - return (supportsInert() ? inertOthers : hideOthers)(originalTarget, parentNode, markerName); -}; -}), -"[project]/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-slot/dist/index.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "Root", - ()=>Slot, - "Slot", - ()=>Slot, - "Slottable", - ()=>Slottable, - "createSlot", - ()=>createSlot, - "createSlottable", - ()=>createSlottable -]); -// src/slot.tsx -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$compose$2d$refs$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@radix-ui/react-compose-refs/dist/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/jsx-runtime.js [app-client] (ecmascript)"); -; -; -; -// @__NO_SIDE_EFFECTS__ -function createSlot(ownerName) { - const SlotClone = /* @__PURE__ */ createSlotClone(ownerName); - const Slot2 = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["forwardRef"]((props, forwardedRef)=>{ - const { children, ...slotProps } = props; - const childrenArray = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Children"].toArray(children); - const slottable = childrenArray.find(isSlottable); - if (slottable) { - const newElement = slottable.props.children; - const newChildren = childrenArray.map((child)=>{ - if (child === slottable) { - if (__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Children"].count(newElement) > 1) return __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Children"].only(null); - return __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isValidElement"](newElement) ? newElement.props.children : null; - } else { - return child; - } - }); - return /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(SlotClone, { - ...slotProps, - ref: forwardedRef, - children: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isValidElement"](newElement) ? __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["cloneElement"](newElement, void 0, newChildren) : null - }); - } - return /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(SlotClone, { - ...slotProps, - ref: forwardedRef, - children - }); - }); - Slot2.displayName = `${ownerName}.Slot`; - return Slot2; -} -var Slot = /* @__PURE__ */ createSlot("Slot"); -// @__NO_SIDE_EFFECTS__ -function createSlotClone(ownerName) { - const SlotClone = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["forwardRef"]((props, forwardedRef)=>{ - const { children, ...slotProps } = props; - if (__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isValidElement"](children)) { - const childrenRef = getElementRef(children); - const props2 = mergeProps(slotProps, children.props); - if (children.type !== __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Fragment"]) { - props2.ref = forwardedRef ? (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$compose$2d$refs$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["composeRefs"])(forwardedRef, childrenRef) : childrenRef; - } - return __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["cloneElement"](children, props2); - } - return __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Children"].count(children) > 1 ? __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Children"].only(null) : null; - }); - SlotClone.displayName = `${ownerName}.SlotClone`; - return SlotClone; -} -var SLOTTABLE_IDENTIFIER = Symbol("radix.slottable"); -// @__NO_SIDE_EFFECTS__ -function createSlottable(ownerName) { - const Slottable2 = ({ children })=>{ - return /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Fragment"], { - children - }); - }; - Slottable2.displayName = `${ownerName}.Slottable`; - Slottable2.__radixId = SLOTTABLE_IDENTIFIER; - return Slottable2; -} -var Slottable = /* @__PURE__ */ createSlottable("Slottable"); -function isSlottable(child) { - return __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["isValidElement"](child) && typeof child.type === "function" && "__radixId" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER; -} -function mergeProps(slotProps, childProps) { - const overrideProps = { - ...childProps - }; - for(const propName in childProps){ - const slotPropValue = slotProps[propName]; - const childPropValue = childProps[propName]; - const isHandler = /^on[A-Z]/.test(propName); - if (isHandler) { - if (slotPropValue && childPropValue) { - overrideProps[propName] = (...args)=>{ - const result = childPropValue(...args); - slotPropValue(...args); - return result; - }; - } else if (slotPropValue) { - overrideProps[propName] = slotPropValue; - } - } else if (propName === "style") { - overrideProps[propName] = { - ...slotPropValue, - ...childPropValue - }; - } else if (propName === "className") { - overrideProps[propName] = [ - slotPropValue, - childPropValue - ].filter(Boolean).join(" "); - } - } - return { - ...slotProps, - ...overrideProps - }; -} -function getElementRef(element) { - let getter = Object.getOwnPropertyDescriptor(element.props, "ref")?.get; - let mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning; - if (mayWarn) { - return element.ref; - } - getter = Object.getOwnPropertyDescriptor(element, "ref")?.get; - mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning; - if (mayWarn) { - return element.props.ref; - } - return element.props.ref || element.ref; -} -; - //# sourceMappingURL=index.mjs.map -}), -"[project]/node_modules/@radix-ui/react-dialog/dist/index.mjs [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "Close", - ()=>Close, - "Content", - ()=>Content, - "Description", - ()=>Description, - "Dialog", - ()=>Dialog, - "DialogClose", - ()=>DialogClose, - "DialogContent", - ()=>DialogContent, - "DialogDescription", - ()=>DialogDescription, - "DialogOverlay", - ()=>DialogOverlay, - "DialogPortal", - ()=>DialogPortal, - "DialogTitle", - ()=>DialogTitle, - "DialogTrigger", - ()=>DialogTrigger, - "Overlay", - ()=>Overlay, - "Portal", - ()=>Portal, - "Root", - ()=>Root, - "Title", - ()=>Title, - "Trigger", - ()=>Trigger, - "WarningProvider", - ()=>WarningProvider, - "createDialogScope", - ()=>createDialogScope -]); -// src/dialog.tsx -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$primitive$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@radix-ui/primitive/dist/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$compose$2d$refs$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@radix-ui/react-compose-refs/dist/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$context$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@radix-ui/react-context/dist/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$id$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@radix-ui/react-id/dist/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$use$2d$controllable$2d$state$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$dismissable$2d$layer$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$focus$2d$scope$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@radix-ui/react-focus-scope/dist/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$portal$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@radix-ui/react-portal/dist/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$presence$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@radix-ui/react-presence/dist/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$primitive$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@radix-ui/react-primitive/dist/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$focus$2d$guards$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@radix-ui/react-focus-guards/dist/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$remove$2d$scroll$2f$dist$2f$es2015$2f$Combination$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__RemoveScroll$3e$__ = __turbopack_context__.i("[project]/node_modules/react-remove-scroll/dist/es2015/Combination.js [app-client] (ecmascript) <export default as RemoveScroll>"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$aria$2d$hidden$2f$dist$2f$es2015$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/aria-hidden/dist/es2015/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$dialog$2f$node_modules$2f40$radix$2d$ui$2f$react$2d$slot$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-slot/dist/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/jsx-runtime.js [app-client] (ecmascript)"); -"use client"; -; -; -; -; -; -; -; -; -; -; -; -; -; -; -; -; -var DIALOG_NAME = "Dialog"; -var [createDialogContext, createDialogScope] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$context$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createContextScope"])(DIALOG_NAME); -var [DialogProvider, useDialogContext] = createDialogContext(DIALOG_NAME); -var Dialog = (props)=>{ - const { __scopeDialog, children, open: openProp, defaultOpen, onOpenChange, modal = true } = props; - const triggerRef = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useRef"](null); - const contentRef = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useRef"](null); - const [open, setOpen] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$use$2d$controllable$2d$state$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useControllableState"])({ - prop: openProp, - defaultProp: defaultOpen ?? false, - onChange: onOpenChange, - caller: DIALOG_NAME - }); - return /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(DialogProvider, { - scope: __scopeDialog, - triggerRef, - contentRef, - contentId: (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$id$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useId"])(), - titleId: (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$id$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useId"])(), - descriptionId: (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$id$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useId"])(), - open, - onOpenChange: setOpen, - onOpenToggle: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useCallback"]({ - "Dialog.useCallback": ()=>setOpen({ - "Dialog.useCallback": (prevOpen)=>!prevOpen - }["Dialog.useCallback"]) - }["Dialog.useCallback"], [ - setOpen - ]), - modal, - children - }); -}; -Dialog.displayName = DIALOG_NAME; -var TRIGGER_NAME = "DialogTrigger"; -var DialogTrigger = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["forwardRef"]((props, forwardedRef)=>{ - const { __scopeDialog, ...triggerProps } = props; - const context = useDialogContext(TRIGGER_NAME, __scopeDialog); - const composedTriggerRef = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$compose$2d$refs$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useComposedRefs"])(forwardedRef, context.triggerRef); - return /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$primitive$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Primitive"].button, { - type: "button", - "aria-haspopup": "dialog", - "aria-expanded": context.open, - "aria-controls": context.contentId, - "data-state": getState(context.open), - ...triggerProps, - ref: composedTriggerRef, - onClick: (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$primitive$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["composeEventHandlers"])(props.onClick, context.onOpenToggle) - }); -}); -DialogTrigger.displayName = TRIGGER_NAME; -var PORTAL_NAME = "DialogPortal"; -var [PortalProvider, usePortalContext] = createDialogContext(PORTAL_NAME, { - forceMount: void 0 -}); -var DialogPortal = (props)=>{ - const { __scopeDialog, forceMount, children, container } = props; - const context = useDialogContext(PORTAL_NAME, __scopeDialog); - return /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(PortalProvider, { - scope: __scopeDialog, - forceMount, - children: __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Children"].map(children, (child)=>/* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$presence$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Presence"], { - present: forceMount || context.open, - children: /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$portal$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Portal"], { - asChild: true, - container, - children: child - }) - })) - }); -}; -DialogPortal.displayName = PORTAL_NAME; -var OVERLAY_NAME = "DialogOverlay"; -var DialogOverlay = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["forwardRef"]((props, forwardedRef)=>{ - const portalContext = usePortalContext(OVERLAY_NAME, props.__scopeDialog); - const { forceMount = portalContext.forceMount, ...overlayProps } = props; - const context = useDialogContext(OVERLAY_NAME, props.__scopeDialog); - return context.modal ? /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$presence$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Presence"], { - present: forceMount || context.open, - children: /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(DialogOverlayImpl, { - ...overlayProps, - ref: forwardedRef - }) - }) : null; -}); -DialogOverlay.displayName = OVERLAY_NAME; -var Slot = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$dialog$2f$node_modules$2f40$radix$2d$ui$2f$react$2d$slot$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createSlot"])("DialogOverlay.RemoveScroll"); -var DialogOverlayImpl = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["forwardRef"]((props, forwardedRef)=>{ - const { __scopeDialog, ...overlayProps } = props; - const context = useDialogContext(OVERLAY_NAME, __scopeDialog); - return(// Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll` - // ie. when `Overlay` and `Content` are siblings - /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$react$2d$remove$2d$scroll$2f$dist$2f$es2015$2f$Combination$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__RemoveScroll$3e$__["RemoveScroll"], { - as: Slot, - allowPinchZoom: true, - shards: [ - context.contentRef - ], - children: /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$primitive$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Primitive"].div, { - "data-state": getState(context.open), - ...overlayProps, - ref: forwardedRef, - style: { - pointerEvents: "auto", - ...overlayProps.style - } - }) - })); -}); -var CONTENT_NAME = "DialogContent"; -var DialogContent = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["forwardRef"]((props, forwardedRef)=>{ - const portalContext = usePortalContext(CONTENT_NAME, props.__scopeDialog); - const { forceMount = portalContext.forceMount, ...contentProps } = props; - const context = useDialogContext(CONTENT_NAME, props.__scopeDialog); - return /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$presence$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Presence"], { - present: forceMount || context.open, - children: context.modal ? /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(DialogContentModal, { - ...contentProps, - ref: forwardedRef - }) : /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(DialogContentNonModal, { - ...contentProps, - ref: forwardedRef - }) - }); -}); -DialogContent.displayName = CONTENT_NAME; -var DialogContentModal = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["forwardRef"]((props, forwardedRef)=>{ - const context = useDialogContext(CONTENT_NAME, props.__scopeDialog); - const contentRef = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useRef"](null); - const composedRefs = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$compose$2d$refs$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useComposedRefs"])(forwardedRef, context.contentRef, contentRef); - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useEffect"]({ - "DialogContentModal.useEffect": ()=>{ - const content = contentRef.current; - if (content) return (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$aria$2d$hidden$2f$dist$2f$es2015$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["hideOthers"])(content); - } - }["DialogContentModal.useEffect"], []); - return /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(DialogContentImpl, { - ...props, - ref: composedRefs, - trapFocus: context.open, - disableOutsidePointerEvents: true, - onCloseAutoFocus: (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$primitive$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["composeEventHandlers"])(props.onCloseAutoFocus, (event)=>{ - event.preventDefault(); - context.triggerRef.current?.focus(); - }), - onPointerDownOutside: (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$primitive$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["composeEventHandlers"])(props.onPointerDownOutside, (event)=>{ - const originalEvent = event.detail.originalEvent; - const ctrlLeftClick = originalEvent.button === 0 && originalEvent.ctrlKey === true; - const isRightClick = originalEvent.button === 2 || ctrlLeftClick; - if (isRightClick) event.preventDefault(); - }), - onFocusOutside: (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$primitive$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["composeEventHandlers"])(props.onFocusOutside, (event)=>event.preventDefault()) - }); -}); -var DialogContentNonModal = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["forwardRef"]((props, forwardedRef)=>{ - const context = useDialogContext(CONTENT_NAME, props.__scopeDialog); - const hasInteractedOutsideRef = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useRef"](false); - const hasPointerDownOutsideRef = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useRef"](false); - return /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(DialogContentImpl, { - ...props, - ref: forwardedRef, - trapFocus: false, - disableOutsidePointerEvents: false, - onCloseAutoFocus: (event)=>{ - props.onCloseAutoFocus?.(event); - if (!event.defaultPrevented) { - if (!hasInteractedOutsideRef.current) context.triggerRef.current?.focus(); - event.preventDefault(); - } - hasInteractedOutsideRef.current = false; - hasPointerDownOutsideRef.current = false; - }, - onInteractOutside: (event)=>{ - props.onInteractOutside?.(event); - if (!event.defaultPrevented) { - hasInteractedOutsideRef.current = true; - if (event.detail.originalEvent.type === "pointerdown") { - hasPointerDownOutsideRef.current = true; - } - } - const target = event.target; - const targetIsTrigger = context.triggerRef.current?.contains(target); - if (targetIsTrigger) event.preventDefault(); - if (event.detail.originalEvent.type === "focusin" && hasPointerDownOutsideRef.current) { - event.preventDefault(); - } - } - }); -}); -var DialogContentImpl = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["forwardRef"]((props, forwardedRef)=>{ - const { __scopeDialog, trapFocus, onOpenAutoFocus, onCloseAutoFocus, ...contentProps } = props; - const context = useDialogContext(CONTENT_NAME, __scopeDialog); - const contentRef = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useRef"](null); - const composedRefs = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$compose$2d$refs$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useComposedRefs"])(forwardedRef, contentRef); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$focus$2d$guards$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useFocusGuards"])(); - return /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxs"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Fragment"], { - children: [ - /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$focus$2d$scope$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["FocusScope"], { - asChild: true, - loop: true, - trapped: trapFocus, - onMountAutoFocus: onOpenAutoFocus, - onUnmountAutoFocus: onCloseAutoFocus, - children: /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$dismissable$2d$layer$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["DismissableLayer"], { - role: "dialog", - id: context.contentId, - "aria-describedby": context.descriptionId, - "aria-labelledby": context.titleId, - "data-state": getState(context.open), - ...contentProps, - ref: composedRefs, - onDismiss: ()=>context.onOpenChange(false) - }) - }), - /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxs"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Fragment"], { - children: [ - /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(TitleWarning, { - titleId: context.titleId - }), - /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(DescriptionWarning, { - contentRef, - descriptionId: context.descriptionId - }) - ] - }) - ] - }); -}); -var TITLE_NAME = "DialogTitle"; -var DialogTitle = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["forwardRef"]((props, forwardedRef)=>{ - const { __scopeDialog, ...titleProps } = props; - const context = useDialogContext(TITLE_NAME, __scopeDialog); - return /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$primitive$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Primitive"].h2, { - id: context.titleId, - ...titleProps, - ref: forwardedRef - }); -}); -DialogTitle.displayName = TITLE_NAME; -var DESCRIPTION_NAME = "DialogDescription"; -var DialogDescription = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["forwardRef"]((props, forwardedRef)=>{ - const { __scopeDialog, ...descriptionProps } = props; - const context = useDialogContext(DESCRIPTION_NAME, __scopeDialog); - return /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$primitive$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Primitive"].p, { - id: context.descriptionId, - ...descriptionProps, - ref: forwardedRef - }); -}); -DialogDescription.displayName = DESCRIPTION_NAME; -var CLOSE_NAME = "DialogClose"; -var DialogClose = __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["forwardRef"]((props, forwardedRef)=>{ - const { __scopeDialog, ...closeProps } = props; - const context = useDialogContext(CLOSE_NAME, __scopeDialog); - return /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$primitive$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Primitive"].button, { - type: "button", - ...closeProps, - ref: forwardedRef, - onClick: (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$primitive$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["composeEventHandlers"])(props.onClick, ()=>context.onOpenChange(false)) - }); -}); -DialogClose.displayName = CLOSE_NAME; -function getState(open) { - return open ? "open" : "closed"; -} -var TITLE_WARNING_NAME = "DialogTitleWarning"; -var [WarningProvider, useWarningContext] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$context$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createContext"])(TITLE_WARNING_NAME, { - contentName: CONTENT_NAME, - titleName: TITLE_NAME, - docsSlug: "dialog" -}); -var TitleWarning = ({ titleId })=>{ - const titleWarningContext = useWarningContext(TITLE_WARNING_NAME); - const MESSAGE = `\`${titleWarningContext.contentName}\` requires a \`${titleWarningContext.titleName}\` for the component to be accessible for screen reader users. - -If you want to hide the \`${titleWarningContext.titleName}\`, you can wrap it with our VisuallyHidden component. - -For more information, see https://radix-ui.com/primitives/docs/components/${titleWarningContext.docsSlug}`; - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useEffect"]({ - "TitleWarning.useEffect": ()=>{ - if (titleId) { - const hasTitle = document.getElementById(titleId); - if (!hasTitle) console.error(MESSAGE); - } - } - }["TitleWarning.useEffect"], [ - MESSAGE, - titleId - ]); - return null; -}; -var DESCRIPTION_WARNING_NAME = "DialogDescriptionWarning"; -var DescriptionWarning = ({ contentRef, descriptionId })=>{ - const descriptionWarningContext = useWarningContext(DESCRIPTION_WARNING_NAME); - const MESSAGE = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${descriptionWarningContext.contentName}}.`; - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useEffect"]({ - "DescriptionWarning.useEffect": ()=>{ - const describedById = contentRef.current?.getAttribute("aria-describedby"); - if (descriptionId && describedById) { - const hasDescription = document.getElementById(descriptionId); - if (!hasDescription) console.warn(MESSAGE); - } - } - }["DescriptionWarning.useEffect"], [ - MESSAGE, - contentRef, - descriptionId - ]); - return null; -}; -var Root = Dialog; -var Trigger = DialogTrigger; -var Portal = DialogPortal; -var Overlay = DialogOverlay; -var Content = DialogContent; -var Title = DialogTitle; -var Description = DialogDescription; -var Close = DialogClose; -; - //# sourceMappingURL=index.mjs.map -}), -"[project]/node_modules/fumadocs-ui/dist/components/dialog/search.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "SearchDialog", - ()=>SearchDialog, - "SearchDialogClose", - ()=>SearchDialogClose, - "SearchDialogContent", - ()=>SearchDialogContent, - "SearchDialogFooter", - ()=>SearchDialogFooter, - "SearchDialogHeader", - ()=>SearchDialogHeader, - "SearchDialogIcon", - ()=>SearchDialogIcon, - "SearchDialogInput", - ()=>SearchDialogInput, - "SearchDialogList", - ()=>SearchDialogList, - "SearchDialogListItem", - ()=>SearchDialogListItem, - "SearchDialogOverlay", - ()=>SearchDialogOverlay, - "TagsList", - ()=>TagsList, - "TagsListItem", - ()=>TagsListItem, - "useSearch", - ()=>useSearch, - "useSearchList", - ()=>useSearchList, - "useTagsList", - ()=>useTagsList -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$ui$2f$dist$2f$components$2f$ui$2f$button$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/fumadocs-ui/dist/components/ui/button.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$ui$2f$dist$2f$contexts$2f$i18n$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$locals$3e$__ = __turbopack_context__.i("[project]/node_modules/fumadocs-ui/dist/contexts/i18n.js [app-client] (ecmascript) <locals>"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$core$2f$dist$2f$framework$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/fumadocs-core/dist/framework/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$fumadocs$2f$ui$2f$dist$2f$cn$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$locals$3e$__ = __turbopack_context__.i("[project]/node_modules/@fumadocs/ui/dist/cn.js [app-client] (ecmascript) <locals>"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$tailwind$2d$merge$2f$dist$2f$bundle$2d$mjs$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__twMerge__as__cn$3e$__ = __turbopack_context__.i("[project]/node_modules/tailwind-merge/dist/bundle-mjs.mjs [app-client] (ecmascript) <export twMerge as cn>"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/jsx-runtime.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$chevron$2d$right$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__ChevronRight$3e$__ = __turbopack_context__.i("[project]/node_modules/lucide-react/dist/esm/icons/chevron-right.js [app-client] (ecmascript) <export default as ChevronRight>"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$hash$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__Hash$3e$__ = __turbopack_context__.i("[project]/node_modules/lucide-react/dist/esm/icons/hash.js [app-client] (ecmascript) <export default as Hash>"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$search$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__Search$3e$__ = __turbopack_context__.i("[project]/node_modules/lucide-react/dist/esm/icons/search.js [app-client] (ecmascript) <export default as Search>"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$class$2d$variance$2d$authority$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/class-variance-authority/dist/index.mjs [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$core$2f$dist$2f$utils$2f$use$2d$on$2d$change$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/fumadocs-core/dist/utils/use-on-change.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$scroll$2d$into$2d$view$2d$if$2d$needed$2f$dist$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/scroll-into-view-if-needed/dist/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$dialog$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/@radix-ui/react-dialog/dist/index.mjs [app-client] (ecmascript)"); -'use client'; -; -; -; -; -; -; -; -; -; -; -; -//#region src/components/dialog/search.tsx -const Context = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createContext"])(null); -const ListContext = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createContext"])(null); -const TagsListContext = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["createContext"])(null); -function SearchDialog({ open, onOpenChange, search, onSearchChange, isLoading = false, onSelect: onSelectProp, children }) { - const router = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$core$2f$dist$2f$framework$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useRouter"])(); - const onSelect = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useEffectEvent"])({ - "SearchDialog.useEffectEvent[onSelect]": (item)=>{ - if (item.type === "action") item.onSelect(); - else if (item.external) window.open(item.url, "_blank")?.focus(); - else router.push(item.url); - onOpenChange(false); - onSelectProp?.(item); - } - }["SearchDialog.useEffectEvent[onSelect]"]); - return /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$dialog$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Dialog"], { - open, - onOpenChange, - children: /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(Context.Provider, { - value: (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useMemo"])({ - "SearchDialog.useMemo": ()=>({ - open, - onOpenChange, - search, - onSearchChange, - onSelect, - isLoading - }) - }["SearchDialog.useMemo"], [ - isLoading, - onOpenChange, - onSearchChange, - open, - search - ]), - children - }) - }); -} -function SearchDialogHeader(props) { - return /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])("div", { - ...props, - className: (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$tailwind$2d$merge$2f$dist$2f$bundle$2d$mjs$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__twMerge__as__cn$3e$__["cn"])("flex flex-row items-center gap-2 p-3", props.className) - }); -} -function SearchDialogInput(props) { - const { text } = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$ui$2f$dist$2f$contexts$2f$i18n$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$locals$3e$__["i18n_exports"].useI18n)(); - const { search, onSearchChange } = useSearch(); - return /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])("input", { - ...props, - value: search, - onChange: (e)=>onSearchChange(e.target.value), - placeholder: text.search, - className: "w-0 flex-1 bg-transparent text-lg placeholder:text-fd-muted-foreground focus-visible:outline-none" - }); -} -function SearchDialogClose({ children = "ESC", className, ...props }) { - const { onOpenChange } = useSearch(); - return /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])("button", { - type: "button", - onClick: ()=>onOpenChange(false), - className: (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$tailwind$2d$merge$2f$dist$2f$bundle$2d$mjs$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__twMerge__as__cn$3e$__["cn"])((0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$ui$2f$dist$2f$components$2f$ui$2f$button$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["buttonVariants"])({ - color: "outline", - size: "sm", - className: "font-mono text-fd-muted-foreground" - }), className), - ...props, - children - }); -} -function SearchDialogFooter(props) { - return /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])("div", { - ...props, - className: (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$tailwind$2d$merge$2f$dist$2f$bundle$2d$mjs$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__twMerge__as__cn$3e$__["cn"])("bg-fd-secondary/50 p-3 empty:hidden", props.className) - }); -} -function SearchDialogOverlay(props) { - return /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$dialog$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["DialogOverlay"], { - ...props, - className: (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$tailwind$2d$merge$2f$dist$2f$bundle$2d$mjs$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__twMerge__as__cn$3e$__["cn"])("fixed inset-0 z-50 backdrop-blur-xs bg-fd-overlay data-[state=open]:animate-fd-fade-in data-[state=closed]:animate-fd-fade-out", props.className) - }); -} -function SearchDialogContent({ children, ...props }) { - const { text } = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$ui$2f$dist$2f$contexts$2f$i18n$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$locals$3e$__["i18n_exports"].useI18n)(); - return /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxs"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$dialog$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["DialogContent"], { - "aria-describedby": void 0, - ...props, - className: (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$tailwind$2d$merge$2f$dist$2f$bundle$2d$mjs$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__twMerge__as__cn$3e$__["cn"])("fixed left-1/2 top-4 md:top-[calc(50%-250px)] z-50 w-[calc(100%-1rem)] max-w-screen-sm -translate-x-1/2 rounded-xl border bg-fd-popover text-fd-popover-foreground shadow-2xl shadow-black/50 overflow-hidden data-[state=closed]:animate-fd-dialog-out data-[state=open]:animate-fd-dialog-in", "*:border-b *:has-[+:last-child[data-empty=true]]:border-b-0 *:data-[empty=true]:border-b-0 *:last:border-b-0", props.className), - children: [ - /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$radix$2d$ui$2f$react$2d$dialog$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["DialogTitle"], { - className: "hidden", - children: text.search - }), - children - ] - }); -} -function SearchDialogList({ items = null, Empty = ()=>/* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])("div", { - className: "py-12 text-center text-sm text-fd-muted-foreground", - children: /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$ui$2f$dist$2f$contexts$2f$i18n$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$locals$3e$__["i18n_exports"].I18nLabel, { - label: "searchNoResult" - }) - }), Item = (props$1)=>/* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(SearchDialogListItem, { - ...props$1 - }), ...props }) { - const ref = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useRef"])(null); - const { onSelect } = useSearch(); - const [active, setActive] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"])({ - "SearchDialogList.useState": ()=>items && items.length > 0 ? items[0].id : null - }["SearchDialogList.useState"]); - const onKey = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useEffectEvent"])({ - "SearchDialogList.useEffectEvent[onKey]": (e)=>{ - if (!items || e.isComposing) return; - if (e.key === "ArrowDown" || e.key == "ArrowUp") { - let idx = items.findIndex({ - "SearchDialogList.useEffectEvent[onKey].idx": (item)=>item.id === active - }["SearchDialogList.useEffectEvent[onKey].idx"]); - if (idx === -1) idx = 0; - else if (e.key === "ArrowDown") idx++; - else idx--; - setActive(items.at(idx % items.length)?.id ?? null); - e.preventDefault(); - } - if (e.key === "Enter") { - const selected = items.find({ - "SearchDialogList.useEffectEvent[onKey].selected": (item)=>item.id === active - }["SearchDialogList.useEffectEvent[onKey].selected"]); - if (selected) onSelect(selected); - e.preventDefault(); - } - } - }["SearchDialogList.useEffectEvent[onKey]"]); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useEffect"])({ - "SearchDialogList.useEffect": ()=>{ - const element = ref.current; - if (!element) return; - const observer = new ResizeObserver({ - "SearchDialogList.useEffect": ()=>{ - const viewport$1 = element.firstElementChild; - element.style.setProperty("--fd-animated-height", `${viewport$1.clientHeight}px`); - } - }["SearchDialogList.useEffect"]); - const viewport = element.firstElementChild; - if (viewport) observer.observe(viewport); - window.addEventListener("keydown", onKey); - return ({ - "SearchDialogList.useEffect": ()=>{ - observer.disconnect(); - window.removeEventListener("keydown", onKey); - } - })["SearchDialogList.useEffect"]; - } - }["SearchDialogList.useEffect"], []); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$core$2f$dist$2f$utils$2f$use$2d$on$2d$change$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useOnChange"])(items, { - "SearchDialogList.useOnChange": ()=>{ - if (items && items.length > 0) setActive(items[0].id); - } - }["SearchDialogList.useOnChange"]); - return /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])("div", { - ...props, - ref, - "data-empty": items === null, - className: (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$tailwind$2d$merge$2f$dist$2f$bundle$2d$mjs$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__twMerge__as__cn$3e$__["cn"])("overflow-hidden h-(--fd-animated-height) transition-[height]", props.className), - children: /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])("div", { - className: (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$tailwind$2d$merge$2f$dist$2f$bundle$2d$mjs$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__twMerge__as__cn$3e$__["cn"])("w-full flex flex-col overflow-y-auto max-h-[460px] p-1", !items && "hidden"), - children: /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxs"])(ListContext.Provider, { - value: (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useMemo"])({ - "SearchDialogList.useMemo": ()=>({ - active, - setActive - }) - }["SearchDialogList.useMemo"], [ - active - ]), - children: [ - items?.length === 0 && Empty(), - items?.map((item)=>/* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Fragment"], { - children: Item({ - item, - onClick: ()=>onSelect(item) - }) - }, item.id)) - ] - }) - }) - }); -} -function SearchDialogListItem({ item, className, children, renderHighlights: render = renderHighlights, ...props }) { - const { active: activeId, setActive } = useSearchList(); - const active = item.id === activeId; - if (item.type === "action") children ??= item.node; - else children ??= /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxs"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Fragment"], { - children: [ - /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])("div", { - className: "inline-flex items-center text-fd-muted-foreground text-xs empty:hidden", - children: item.breadcrumbs?.map((item$1, i)=>/* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxs"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Fragment"], { - children: [ - i > 0 && /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$chevron$2d$right$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__ChevronRight$3e$__["ChevronRight"], { - className: "size-4 rtl:rotate-180" - }), - item$1 - ] - }, i)) - }), - item.type !== "page" && /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])("div", { - role: "none", - className: "absolute start-3 inset-y-0 w-px bg-fd-border" - }), - /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxs"])("p", { - className: (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$tailwind$2d$merge$2f$dist$2f$bundle$2d$mjs$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__twMerge__as__cn$3e$__["cn"])("min-w-0 truncate", item.type !== "page" && "ps-4", item.type === "page" || item.type === "heading" ? "font-medium" : "text-fd-popover-foreground/80"), - children: [ - item.type === "heading" && /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$hash$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__Hash$3e$__["Hash"], { - className: "inline me-1 size-4 text-fd-muted-foreground" - }), - item.contentWithHighlights ? render(item.contentWithHighlights) : item.content - ] - }) - ] - }); - return /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])("button", { - type: "button", - ref: (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useCallback"])({ - "SearchDialogListItem.useCallback": (element)=>{ - if (active && element) (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$scroll$2d$into$2d$view$2d$if$2d$needed$2f$dist$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"])(element, { - scrollMode: "if-needed", - block: "nearest", - boundary: element.parentElement - }); - } - }["SearchDialogListItem.useCallback"], [ - active - ]), - "aria-selected": active, - className: (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$tailwind$2d$merge$2f$dist$2f$bundle$2d$mjs$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__twMerge__as__cn$3e$__["cn"])("relative select-none px-2.5 py-2 text-start text-sm rounded-lg", active && "bg-fd-accent text-fd-accent-foreground", className), - onPointerMove: ()=>setActive(item.id), - ...props, - children - }); -} -function SearchDialogIcon(props) { - const { isLoading } = useSearch(); - return /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$search$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__Search$3e$__["Search"], { - ...props, - className: (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$tailwind$2d$merge$2f$dist$2f$bundle$2d$mjs$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__twMerge__as__cn$3e$__["cn"])("size-5 text-fd-muted-foreground", isLoading && "animate-pulse duration-400", props.className) - }); -} -const itemVariants = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$class$2d$variance$2d$authority$2f$dist$2f$index$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__["cva"])("rounded-md border px-2 py-0.5 text-xs font-medium text-fd-muted-foreground transition-colors", { - variants: { - active: { - true: "bg-fd-accent text-fd-accent-foreground" - } - } -}); -function TagsList({ tag, onTagChange, allowClear = false, ...props }) { - return /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])("div", { - ...props, - className: (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$tailwind$2d$merge$2f$dist$2f$bundle$2d$mjs$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__twMerge__as__cn$3e$__["cn"])("flex items-center gap-1 flex-wrap", props.className), - children: /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(TagsListContext.Provider, { - value: (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useMemo"])({ - "TagsList.useMemo": ()=>({ - value: tag, - onValueChange: onTagChange, - allowClear - }) - }["TagsList.useMemo"], [ - allowClear, - onTagChange, - tag - ]), - children: props.children - }) - }); -} -function TagsListItem({ value, className, ...props }) { - const { onValueChange, value: selectedValue, allowClear } = useTagsList(); - const selected = value === selectedValue; - return /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])("button", { - type: "button", - "data-active": selected, - className: (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$tailwind$2d$merge$2f$dist$2f$bundle$2d$mjs$2e$mjs__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__twMerge__as__cn$3e$__["cn"])(itemVariants({ - active: selected, - className - })), - onClick: ()=>{ - onValueChange(selected && allowClear ? void 0 : value); - }, - tabIndex: -1, - ...props, - children: props.children - }); -} -function renderHighlights(highlights) { - return highlights.map((node, i)=>{ - if (node.styles?.highlight) return /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])("span", { - className: "text-fd-primary underline", - children: node.content - }, i); - return /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Fragment"], { - children: node.content - }, i); - }); -} -function useSearch() { - const ctx = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["use"])(Context); - if (!ctx) throw new Error("Missing <SearchDialog />"); - return ctx; -} -function useTagsList() { - const ctx = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["use"])(TagsListContext); - if (!ctx) throw new Error("Missing <TagsList />"); - return ctx; -} -function useSearchList() { - const ctx = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["use"])(ListContext); - if (!ctx) throw new Error("Missing <SearchDialogList />"); - return ctx; -} -; - //# sourceMappingURL=search.js.map -}), -"[project]/node_modules/fumadocs-core/dist/search/client.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "useDocsSearch", - ()=>useDocsSearch -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$core$2f$dist$2f$utils$2f$use$2d$on$2d$change$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/fumadocs-core/dist/utils/use-on-change.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -; -; -//#region src/utils/use-debounce.ts -function useDebounce(value, delayMs = 1e3) { - const [debouncedValue, setDebouncedValue] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"])(value); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useEffect"])({ - "useDebounce.useEffect": ()=>{ - if (delayMs === 0) return; - const handler = window.setTimeout({ - "useDebounce.useEffect.handler": ()=>{ - setDebouncedValue(value); - } - }["useDebounce.useEffect.handler"], delayMs); - return ({ - "useDebounce.useEffect": ()=>clearTimeout(handler) - })["useDebounce.useEffect"]; - } - }["useDebounce.useEffect"], [ - delayMs, - value - ]); - if (delayMs === 0) return value; - return debouncedValue; -} -//#endregion -//#region src/search/client.ts -function isDeepEqual(a, b) { - if (a === b) return true; - if (Array.isArray(a) && Array.isArray(b)) return b.length === a.length && a.every((v, i)=>isDeepEqual(v, b[i])); - if (typeof a === "object" && a && typeof b === "object" && b) { - const aKeys = Object.keys(a); - const bKeys = Object.keys(b); - return aKeys.length === bKeys.length && aKeys.every((key)=>Object.hasOwn(b, key) && isDeepEqual(a[key], b[key])); - } - return false; -} -/** -* Provide a hook to query different official search clients. -* -* Note: it will re-query when its parameters changed, make sure to use `useMemo()` on `clientOptions` or define `deps` array. -*/ function useDocsSearch(clientOptions, deps) { - const { delayMs = 100, allowEmpty = false, ...client } = clientOptions; - const [search, setSearch] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"])(""); - const [results, setResults] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"])("empty"); - const [error, setError] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"])(); - const [isLoading, setIsLoading] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"])(false); - const debouncedValue = useDebounce(search, delayMs); - const onStart = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useRef"])(void 0); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$core$2f$dist$2f$utils$2f$use$2d$on$2d$change$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useOnChange"])([ - deps ?? clientOptions, - debouncedValue - ], { - "useDocsSearch.useOnChange": ()=>{ - if (onStart.current) { - onStart.current(); - onStart.current = void 0; - } - setIsLoading(true); - let interrupt = false; - onStart.current = ({ - "useDocsSearch.useOnChange": ()=>{ - interrupt = true; - } - })["useDocsSearch.useOnChange"]; - async function run() { - if (debouncedValue.length === 0 && !allowEmpty) return "empty"; - switch(client.type){ - case "fetch": - { - const { fetchDocs } = await __turbopack_context__.A("[project]/node_modules/fumadocs-core/dist/fetch-CiphcAUR.js [app-client] (ecmascript, async loader)"); - return fetchDocs(debouncedValue, client); - } - case "algolia": - { - const { searchDocs } = await __turbopack_context__.A("[project]/node_modules/fumadocs-core/dist/algolia-Dbt0kj8j.js [app-client] (ecmascript, async loader)"); - return searchDocs(debouncedValue, client); - } - case "orama-cloud": - { - const { searchDocs } = await __turbopack_context__.A("[project]/node_modules/fumadocs-core/dist/orama-cloud-yicpgD0c.js [app-client] (ecmascript, async loader)"); - return searchDocs(debouncedValue, client); - } - case "orama-cloud-legacy": - { - const { searchDocs } = await __turbopack_context__.A("[project]/node_modules/fumadocs-core/dist/orama-cloud-legacy-NJTbB19B.js [app-client] (ecmascript, async loader)"); - return searchDocs(debouncedValue, client); - } - case "mixedbread": - { - const { search: search$1 } = await __turbopack_context__.A("[project]/node_modules/fumadocs-core/dist/mixedbread-B0TvOHtt.js [app-client] (ecmascript, async loader)"); - return search$1(debouncedValue, client); - } - case "static": - { - const { search: search$1 } = await __turbopack_context__.A("[project]/node_modules/fumadocs-core/dist/static-C_WBOzek.js [app-client] (ecmascript, async loader)"); - return search$1(debouncedValue, client); - } - default: - throw new Error("unknown search client"); - } - } - run().then({ - "useDocsSearch.useOnChange": (res)=>{ - if (interrupt) return; - setError(void 0); - setResults(res); - } - }["useDocsSearch.useOnChange"]).catch({ - "useDocsSearch.useOnChange": (err)=>{ - setError(err); - } - }["useDocsSearch.useOnChange"]).finally({ - "useDocsSearch.useOnChange": ()=>{ - setIsLoading(false); - } - }["useDocsSearch.useOnChange"]); - } - }["useDocsSearch.useOnChange"], deps ? void 0 : ({ - "useDocsSearch.useOnChange": (a, b)=>!isDeepEqual(a, b) - })["useDocsSearch.useOnChange"]); - return { - search, - setSearch, - query: { - isLoading, - data: results, - error - } - }; -} -; - //# sourceMappingURL=client.js.map -}), -"[project]/node_modules/fumadocs-ui/dist/components/dialog/search-default.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "default", - ()=>DefaultSearchDialog -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$ui$2f$dist$2f$contexts$2f$i18n$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$locals$3e$__ = __turbopack_context__.i("[project]/node_modules/fumadocs-ui/dist/contexts/i18n.js [app-client] (ecmascript) <locals>"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$ui$2f$dist$2f$components$2f$dialog$2f$search$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/fumadocs-ui/dist/components/dialog/search.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/jsx-runtime.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$core$2f$dist$2f$utils$2f$use$2d$on$2d$change$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/fumadocs-core/dist/utils/use-on-change.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$core$2f$dist$2f$search$2f$client$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/fumadocs-core/dist/search/client.js [app-client] (ecmascript)"); -'use client'; -; -; -; -; -; -; -//#region src/components/dialog/search-default.tsx -function DefaultSearchDialog({ defaultTag, tags = [], api, delayMs, type = "fetch", allowClear = false, links = [], footer, ...props }) { - const { locale } = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$ui$2f$dist$2f$contexts$2f$i18n$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$locals$3e$__["i18n_exports"].useI18n)(); - const [tag, setTag] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"])(defaultTag); - const { search, setSearch, query } = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$core$2f$dist$2f$search$2f$client$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useDocsSearch"])(type === "fetch" ? { - type: "fetch", - api, - locale, - tag, - delayMs - } : { - type: "static", - from: api, - locale, - tag, - delayMs - }); - const defaultItems = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useMemo"])({ - "DefaultSearchDialog.useMemo[defaultItems]": ()=>{ - if (links.length === 0) return null; - return links.map({ - "DefaultSearchDialog.useMemo[defaultItems]": ([name, link])=>({ - type: "page", - id: name, - content: name, - url: link - }) - }["DefaultSearchDialog.useMemo[defaultItems]"]); - } - }["DefaultSearchDialog.useMemo[defaultItems]"], [ - links - ]); - (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$core$2f$dist$2f$utils$2f$use$2d$on$2d$change$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useOnChange"])(defaultTag, { - "DefaultSearchDialog.useOnChange": (v)=>{ - setTag(v); - } - }["DefaultSearchDialog.useOnChange"]); - return /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxs"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$ui$2f$dist$2f$components$2f$dialog$2f$search$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["SearchDialog"], { - search, - onSearchChange: setSearch, - isLoading: query.isLoading, - ...props, - children: [ - /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$ui$2f$dist$2f$components$2f$dialog$2f$search$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["SearchDialogOverlay"], {}), - /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxs"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$ui$2f$dist$2f$components$2f$dialog$2f$search$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["SearchDialogContent"], { - children: [ - /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxs"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$ui$2f$dist$2f$components$2f$dialog$2f$search$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["SearchDialogHeader"], { - children: [ - /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$ui$2f$dist$2f$components$2f$dialog$2f$search$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["SearchDialogIcon"], {}), - /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$ui$2f$dist$2f$components$2f$dialog$2f$search$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["SearchDialogInput"], {}), - /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$ui$2f$dist$2f$components$2f$dialog$2f$search$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["SearchDialogClose"], {}) - ] - }), - /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$ui$2f$dist$2f$components$2f$dialog$2f$search$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["SearchDialogList"], { - items: query.data !== "empty" ? query.data : defaultItems - }) - ] - }), - /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxs"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$ui$2f$dist$2f$components$2f$dialog$2f$search$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["SearchDialogFooter"], { - children: [ - tags.length > 0 && /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$ui$2f$dist$2f$components$2f$dialog$2f$search$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["TagsList"], { - tag, - onTagChange: setTag, - allowClear, - children: tags.map((tag$1)=>/* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsx"])(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$ui$2f$dist$2f$components$2f$dialog$2f$search$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["TagsListItem"], { - value: tag$1.value, - children: tag$1.name - }, tag$1.value)) - }), - footer - ] - }) - ] - }); -} -; - //# sourceMappingURL=search-default.js.map -}), -]); - -//# sourceMappingURL=node_modules_aa411e4f._.js.map \ No newline at end of file diff --git a/.next/dev/static/chunks/node_modules_aa411e4f._.js.map b/.next/dev/static/chunks/node_modules_aa411e4f._.js.map deleted file mode 100644 index 9374e5f..0000000 --- a/.next/dev/static/chunks/node_modules_aa411e4f._.js.map +++ /dev/null @@ -1,64 +0,0 @@ -{ - "version": 3, - "sources": [], - "sections": [ - {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/fumadocs-ui/dist/_virtual/rolldown_runtime.js"],"sourcesContent":["//#region rolldown:runtime\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __exportAll = (all, symbols) => {\n\tlet target = {};\n\tfor (var name in all) {\n\t\t__defProp(target, name, {\n\t\t\tget: all[name],\n\t\t\tenumerable: true\n\t\t});\n\t}\n\tif (symbols) {\n\t\t__defProp(target, Symbol.toStringTag, { value: \"Module\" });\n\t}\n\treturn target;\n};\nvar __copyProps = (to, from, except, desc) => {\n\tif (from && typeof from === \"object\" || typeof from === \"function\") {\n\t\tfor (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {\n\t\t\tkey = keys[i];\n\t\t\tif (!__hasOwnProp.call(to, key) && key !== except) {\n\t\t\t\t__defProp(to, key, {\n\t\t\t\t\tget: ((k) => from[k]).bind(null, key),\n\t\t\t\t\tenumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t}\n\treturn to;\n};\nvar __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, \"default\"), secondTarget && __copyProps(secondTarget, mod, \"default\"));\n\n//#endregion\nexport { __exportAll, __reExport };"],"names":[],"mappings":";;;;;;AAAA,0BAA0B;AAC1B,IAAI,YAAY,OAAO,cAAc;AACrC,IAAI,mBAAmB,OAAO,wBAAwB;AACtD,IAAI,oBAAoB,OAAO,mBAAmB;AAClD,IAAI,eAAe,OAAO,SAAS,CAAC,cAAc;AAClD,IAAI,cAAc,CAAC,KAAK;IACvB,IAAI,SAAS,CAAC;IACd,IAAK,IAAI,QAAQ,IAAK;QACrB,UAAU,QAAQ,MAAM;YACvB,KAAK,GAAG,CAAC,KAAK;YACd,YAAY;QACb;IACD;IACA,IAAI,SAAS;QACZ,UAAU,QAAQ,OAAO,WAAW,EAAE;YAAE,OAAO;QAAS;IACzD;IACA,OAAO;AACR;AACA,IAAI,cAAc,CAAC,IAAI,MAAM,QAAQ;IACpC,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;QACnE,IAAK,IAAI,OAAO,kBAAkB,OAAO,IAAI,GAAG,IAAI,KAAK,MAAM,EAAE,KAAK,IAAI,GAAG,IAAK;YACjF,MAAM,IAAI,CAAC,EAAE;YACb,IAAI,CAAC,aAAa,IAAI,CAAC,IAAI,QAAQ,QAAQ,QAAQ;gBAClD,UAAU,IAAI,KAAK;oBAClB,KAAK,CAAC,CAAC,IAAM,IAAI,CAAC,EAAE,EAAE,IAAI,CAAC,MAAM;oBACjC,YAAY,CAAC,CAAC,OAAO,iBAAiB,MAAM,IAAI,KAAK,KAAK,UAAU;gBACrE;YACD;QACD;IACD;IACA,OAAO;AACR;AACA,IAAI,aAAa,CAAC,QAAQ,KAAK,eAAiB,CAAC,YAAY,QAAQ,KAAK,YAAY,gBAAgB,YAAY,cAAc,KAAK,UAAU","ignoreList":[0]}}, - {"offset": {"line": 50, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/fumadocs-ui/dist/contexts/i18n.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/fumadocs-ui/src/contexts/i18n.tsx"],"sourcesContent":["export * from '@fumadocs/ui/contexts/i18n';\n"],"names":[],"mappings":""}}, - {"offset": {"line": 68, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/class-variance-authority/dist/index.mjs"],"sourcesContent":["/**\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"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;CAcC,GAAG;;AACJ,MAAM,gBAAgB,CAAC,QAAQ,OAAO,UAAU,YAAY,GAAG,OAAO,GAAG,UAAU,IAAI,MAAM;AACtF,MAAM,KAAK,gJAAI;AACf,MAAM,MAAM,CAAC,MAAM,SAAS,CAAC;QAC5B,IAAI;QACJ,IAAI,CAAC,WAAW,QAAQ,WAAW,KAAK,IAAI,KAAK,IAAI,OAAO,QAAQ,KAAK,MAAM,OAAO,GAAG,MAAM,UAAU,QAAQ,UAAU,KAAK,IAAI,KAAK,IAAI,MAAM,KAAK,EAAE,UAAU,QAAQ,UAAU,KAAK,IAAI,KAAK,IAAI,MAAM,SAAS;QACvN,MAAM,EAAE,QAAQ,EAAE,eAAe,EAAE,GAAG;QACtC,MAAM,uBAAuB,OAAO,IAAI,CAAC,UAAU,GAAG,CAAC,CAAC;YACpD,MAAM,cAAc,UAAU,QAAQ,UAAU,KAAK,IAAI,KAAK,IAAI,KAAK,CAAC,QAAQ;YAChF,MAAM,qBAAqB,oBAAoB,QAAQ,oBAAoB,KAAK,IAAI,KAAK,IAAI,eAAe,CAAC,QAAQ;YACrH,IAAI,gBAAgB,MAAM,OAAO;YACjC,MAAM,aAAa,cAAc,gBAAgB,cAAc;YAC/D,OAAO,QAAQ,CAAC,QAAQ,CAAC,WAAW;QACxC;QACA,MAAM,wBAAwB,SAAS,OAAO,OAAO,CAAC,OAAO,MAAM,CAAC,CAAC,KAAK;YACtE,IAAI,CAAC,KAAK,MAAM,GAAG;YACnB,IAAI,UAAU,WAAW;gBACrB,OAAO;YACX;YACA,GAAG,CAAC,IAAI,GAAG;YACX,OAAO;QACX,GAAG,CAAC;QACJ,MAAM,+BAA+B,WAAW,QAAQ,WAAW,KAAK,IAAI,KAAK,IAAI,CAAC,2BAA2B,OAAO,gBAAgB,MAAM,QAAQ,6BAA6B,KAAK,IAAI,KAAK,IAAI,yBAAyB,MAAM,CAAC,CAAC,KAAK;YACvO,IAAI,EAAE,OAAO,OAAO,EAAE,WAAW,WAAW,EAAE,GAAG,wBAAwB,GAAG;YAC5E,OAAO,OAAO,OAAO,CAAC,wBAAwB,KAAK,CAAC,CAAC;gBACjD,IAAI,CAAC,KAAK,MAAM,GAAG;gBACnB,OAAO,MAAM,OAAO,CAAC,SAAS,MAAM,QAAQ,CAAC;oBACzC,GAAG,eAAe;oBAClB,GAAG,qBAAqB;gBAC5B,CAAC,CAAC,IAAI,IAAI,CAAC;oBACP,GAAG,eAAe;oBAClB,GAAG,qBAAqB;gBAC5B,CAAC,CAAC,CAAC,IAAI,KAAK;YAChB,KAAK;mBACE;gBACH;gBACA;aACH,GAAG;QACR,GAAG,EAAE;QACL,OAAO,GAAG,MAAM,sBAAsB,8BAA8B,UAAU,QAAQ,UAAU,KAAK,IAAI,KAAK,IAAI,MAAM,KAAK,EAAE,UAAU,QAAQ,UAAU,KAAK,IAAI,KAAK,IAAI,MAAM,SAAS;IAChM","ignoreList":[0]}}, - {"offset": {"line": 134, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/fumadocs-ui/dist/components/ui/button.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/fumadocs-ui/src/components/ui/button.tsx"],"sourcesContent":["import { cva, type VariantProps } from 'class-variance-authority';\n\nconst variants = {\n primary: 'bg-fd-primary text-fd-primary-foreground hover:bg-fd-primary/80',\n outline: 'border hover:bg-fd-accent hover:text-fd-accent-foreground',\n ghost: 'hover:bg-fd-accent hover:text-fd-accent-foreground',\n secondary:\n 'border bg-fd-secondary text-fd-secondary-foreground hover:bg-fd-accent hover:text-fd-accent-foreground',\n} as const;\n\nexport const buttonVariants = cva(\n 'inline-flex items-center justify-center rounded-md p-2 text-sm font-medium transition-colors duration-100 disabled:pointer-events-none disabled:opacity-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-fd-ring',\n {\n variants: {\n variant: variants,\n // fumadocs use `color` instead of `variant`\n color: variants,\n size: {\n sm: 'gap-1 px-2 py-1.5 text-xs',\n icon: 'p-1.5 [&_svg]:size-5',\n 'icon-sm': 'p-1.5 [&_svg]:size-4.5',\n 'icon-xs': 'p-1 [&_svg]:size-4',\n },\n },\n },\n);\n\nexport type ButtonProps = VariantProps<typeof buttonVariants>;\n"],"names":[],"mappings":";;;;;;;AAEA,MAAM,WAAW;IACf,SAAS;IACT,SAAS;IACT,OAAO;IACP,WACE;CACH;AAED,MAAa,qBAAiB,0KAAA,EAC5B,yOACA;IACE,UAAU;QACR,SAAS;QAET,OAAO;QACP,MAAM;YACJ,IAAI;YACJ,MAAM;YACN,WAAW;YACX,WAAW;SACZ;KACF;AAAA,CACF,CACF"}}, - {"offset": {"line": 165, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40fumadocs/ui/dist/cn.js"],"sourcesContent":["import { twMerge as cn } from \"tailwind-merge\";\n\nexport { cn };"],"names":[],"mappings":";AAAA","ignoreList":[0]}}, - {"offset": {"line": 182, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/lucide-react/dist/esm/shared/src/utils.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/shared/src/utils.ts"],"sourcesContent":["import { CamelToPascal } from './utility-types';\n\n/**\n * Converts string to kebab case\n *\n * @param {string} string\n * @returns {string} A kebabized string\n */\nexport const toKebabCase = (string: string) =>\n string.replace(/([a-z0-9])([A-Z])/g, '$1-$2').toLowerCase();\n\n/**\n * Converts string to camel case\n *\n * @param {string} string\n * @returns {string} A camelized string\n */\nexport const toCamelCase = <T extends string>(string: T) =>\n string.replace(/^([A-Z])|[\\s-_]+(\\w)/g, (match, p1, p2) =>\n p2 ? p2.toUpperCase() : p1.toLowerCase(),\n );\n\n/**\n * Converts string to pascal case\n *\n * @param {string} string\n * @returns {string} A pascalized string\n */\nexport const toPascalCase = <T extends string>(string: T): CamelToPascal<T> => {\n const camelCase = toCamelCase(string);\n\n return (camelCase.charAt(0).toUpperCase() + camelCase.slice(1)) as CamelToPascal<T>;\n};\n\n/**\n * Merges classes into a single string\n *\n * @param {array} classes\n * @returns {string} A string of classes\n */\nexport const mergeClasses = <ClassType = string | undefined | null>(...classes: ClassType[]) =>\n classes\n .filter((className, index, array) => {\n return (\n Boolean(className) &&\n (className as string).trim() !== '' &&\n array.indexOf(className) === index\n );\n })\n .join(' ')\n .trim();\n\n/**\n * Is empty string\n *\n * @param {unknown} value\n * @returns {boolean} Whether the value is an empty string\n */\nexport const isEmptyString = (value: unknown): boolean => value === '';\n\n/**\n * Check if a component has an accessibility prop\n *\n * @param {object} props\n * @returns {boolean} Whether the component has an accessibility prop\n */\nexport const hasA11yProp = (props: Record<string, any>) => {\n for (const prop in props) {\n if (prop.startsWith('aria-') || prop === 'role' || prop === 'title') {\n return true;\n }\n }\n};\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;IAQO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAc,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA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,CAAA,CAAA,CAAS,CAAA,KAAM,CAAA,CAAA,CAAA,CAAA,CAAA;IAEjC,CAAC,CAAA,CACA,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAG,CAAA,CACR,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAgBE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAc,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAA+B;IACzD,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAW,CAAA,CAAA,CAAA,KAAQ,KAAA,CAAA,AAAO;QACxB,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA,EAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAW,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAO,KAAK,CAAA,CAAA,CAAA,CAAA,KAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA,CAAA,CAAA,MAAS,OAAA,CAAA,CAAS;YACnE,OAAO,CAAA,CAAA,CAAA,CAAA;QACT;IACF;AACF,CAAA"}}, - {"offset": {"line": 221, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/lucide-react/dist/esm/defaultAttributes.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/lucide-react/src/defaultAttributes.ts"],"sourcesContent":["export default {\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 strokeWidth: 2,\n strokeLinecap: 'round',\n strokeLinejoin: 'round',\n};\n"],"names":[],"mappings":";;;;;;;;;IAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAe;IACb,CAAA,CAAA,CAAA,CAAA,CAAA,EAAO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;IACP,CAAA,CAAA,CAAA,CAAA,CAAA,EAAO,CAAA,CAAA;IACP,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAQ,CAAA,CAAA;IACR,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;IACT,CAAA,CAAA,CAAA,CAAA,EAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;IACN,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAQ,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;IACR,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAa,CAAA;IACb,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAe,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;IACf,cAAA,CAAA,CAAgB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAClB,CAAA"}}, - {"offset": {"line": 247, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/lucide-react/dist/esm/Icon.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/lucide-react/src/Icon.ts"],"sourcesContent":["import { createElement, forwardRef } from 'react';\nimport defaultAttributes from './defaultAttributes';\nimport { IconNode, LucideProps } from './types';\nimport { mergeClasses, hasA11yProp } from '@lucide/shared';\n\ninterface IconComponentProps extends LucideProps {\n iconNode: IconNode;\n}\n\n/**\n * Lucide icon component\n *\n * @component Icon\n * @param {object} props\n * @param {string} props.color - The color of the icon\n * @param {number} props.size - The size of the icon\n * @param {number} props.strokeWidth - The stroke width of the icon\n * @param {boolean} props.absoluteStrokeWidth - Whether to use absolute stroke width\n * @param {string} props.className - The class name of the icon\n * @param {IconNode} props.children - The children of the icon\n * @param {IconNode} props.iconNode - The icon node of the icon\n *\n * @returns {ForwardRefExoticComponent} LucideIcon\n */\nconst Icon = forwardRef<SVGSVGElement, IconComponentProps>(\n (\n {\n color = 'currentColor',\n size = 24,\n strokeWidth = 2,\n absoluteStrokeWidth,\n className = '',\n children,\n iconNode,\n ...rest\n },\n ref,\n ) =>\n createElement(\n 'svg',\n {\n ref,\n ...defaultAttributes,\n width: size,\n height: size,\n stroke: color,\n strokeWidth: absoluteStrokeWidth ? (Number(strokeWidth) * 24) / Number(size) : strokeWidth,\n className: mergeClasses('lucide', className),\n ...(!children && !hasA11yProp(rest) && { 'aria-hidden': 'true' }),\n ...rest,\n },\n [\n ...iconNode.map(([tag, attrs]) => createElement(tag, attrs)),\n ...(Array.isArray(children) ? children : [children]),\n ],\n ),\n);\n\nexport default Icon;\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAwBA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAA,CAAA,OAAO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,kKAAA,EACX,CACE,EACE,CAAA,CAAA,CAAA,CAAA,CAAA,GAAQ,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EACR,CAAA,CAAA,CAAA,CAAA,GAAO,CAAA,CAAA,EACP,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,C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AAA,CAAA,CAAA,CAAA,CAAA,CAAQ;SAAA;KAAA"}}, - {"offset": {"line": 286, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/lucide-react/dist/esm/createLucideIcon.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/lucide-react/src/createLucideIcon.ts"],"sourcesContent":["import { createElement, forwardRef } from 'react';\nimport { mergeClasses, toKebabCase, toPascalCase } from '@lucide/shared';\nimport { IconNode, LucideProps } from './types';\nimport Icon from './Icon';\n\n/**\n * Create a Lucide icon component\n * @param {string} iconName\n * @param {array} iconNode\n * @returns {ForwardRefExoticComponent} LucideIcon\n */\nconst createLucideIcon = (iconName: string, iconNode: IconNode) => {\n const Component = forwardRef<SVGSVGElement, LucideProps>(({ className, ...props }, ref) =>\n createElement(Icon, {\n ref,\n iconNode,\n className: mergeClasses(\n `lucide-${toKebabCase(toPascalCase(iconName))}`,\n `lucide-${iconName}`,\n className,\n ),\n ...props,\n }),\n );\n\n Component.displayName = toPascalCase(iconName);\n\n return Component;\n};\n\nexport default createLucideIcon;\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAWA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,gBAAA,CAAA,CAAA,CAAmB,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAkB,QAAA,CAAA,CAAA,CAAA,CAAA,CAAuB;IACjE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,KAAY,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,kKAAA,EAAuC,CAAC,CAAA,CAAE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAW,CAAA,CAAA,CAAG,CAAA,CAAA,CAAA,CAAA,GAAM,CAAA,CAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,GACjF,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,kKAAA,EAAc,oKAAA,CAAA,CAAM;YAClB,CAAA,CAAA,CAAA;YACA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YACA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,MAAW,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,gLAAA,EACT,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,KAAU,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,gLAAA,MAAY,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,gLAAA,EAAa,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,CAAC,CAAC,CAAA,CAAA,EAC7C,CAAA,OAAA,EAAU,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,CAAA,CAAA,EAClB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAEF,CAAA,CAAA,CAAG,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CACJ;IAGH,SAAA,CAAU,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,OAAc,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,gLAAA,EAAa,QAAQ,CAAA;IAE7C,OAAO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AACT,CAAA"}}, - {"offset": {"line": 317, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/lucide-react/dist/esm/icons/chevron-right.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/lucide-react/src/icons/chevron-right.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [['path', { d: 'm9 18 6-6-6-6', key: 'mthhwq' }]];\n\n/**\n * @component @name ChevronRight\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJtOSAxOCA2LTYtNi02IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/chevron-right\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst ChevronRight = createLucideIcon('chevron-right', __iconNode);\n\nexport default ChevronRight;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAuB;IAAC;QAAC,MAAA,CAAA;QAAQ,CAAA;YAAE,GAAG,eAAA,CAAA;YAAiB,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAC;CAAA;AAapF,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,YAAA,CAAA,CAAA,KAAe,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,iKAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}, - {"offset": {"line": 355, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/lucide-react/dist/esm/icons/hash.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/lucide-react/src/icons/hash.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['line', { x1: '4', x2: '20', y1: '9', y2: '9', key: '4lhtct' }],\n ['line', { x1: '4', x2: '20', y1: '15', y2: '15', key: 'vyu0kd' }],\n ['line', { x1: '10', x2: '8', y1: '3', y2: '21', key: '1ggp8o' }],\n ['line', { x1: '16', x2: '14', y1: '3', y2: '21', key: 'weycgp' }],\n];\n\n/**\n * @component @name Hash\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8bGluZSB4MT0iNCIgeDI9IjIwIiB5MT0iOSIgeTI9IjkiIC8+CiAgPGxpbmUgeDE9IjQiIHgyPSIyMCIgeTE9IjE1IiB5Mj0iMTUiIC8+CiAgPGxpbmUgeDE9IjEwIiB4Mj0iOCIgeTE9IjMiIHkyPSIyMSIgLz4KICA8bGluZSB4MT0iMTYiIHgyPSIxNCIgeTE9IjMiIHkyPSIyMSIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/hash\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Hash = createLucideIcon('hash', __iconNode);\n\nexport default Hash;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,CAAuB;IAClC;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,CAAA,CAAA,EAAI,CAAA,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,EAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IAC/D;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,CAAA,CAAA,EAAI,CAAA,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,EAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IACjE;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,CAAA,CAAA,EAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA;YAAK,EAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IAChE;QAAC,MAAA,CAAA;QAAQ,CAAA;YAAE,EAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAA,CAAI,IAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;CACnE;AAaA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,IAAA,CAAA,CAAA,KAAO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,iKAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAQ,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}, - {"offset": {"line": 426, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/lucide-react/dist/esm/icons/search.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/lucide-react/src/icons/search.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'm21 21-4.34-4.34', key: '14j7rj' }],\n ['circle', { cx: '11', cy: '11', r: '8', key: '4ej97u' }],\n];\n\n/**\n * @component @name Search\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJtMjEgMjEtNC4zNC00LjM0IiAvPgogIDxjaXJjbGUgY3g9IjExIiBjeT0iMTEiIHI9IjgiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/search\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Search = createLucideIcon('search', __iconNode);\n\nexport default Search;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,CAAuB;IAClC;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,GAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAAoB,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IACjD;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAU;YAAE,CAAA,CAAA,CAAA,CAAI,IAAA,CAAA;YAAM,CAAA,CAAA,EAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAG,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAA,CAAA,CAAK,QAAA;QAAA,CAAU;KAAA;CAC1D;AAaA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,MAAA,CAAA,CAAA,KAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,iKAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAU,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}, - {"offset": {"line": 473, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/fumadocs-core/dist/utils/use-on-change.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/fumadocs-core/src/utils/use-on-change.ts"],"sourcesContent":["import { useState } from 'react';\n\nfunction isDifferent(a: unknown, b: unknown): boolean {\n if (Array.isArray(a) && Array.isArray(b)) {\n return b.length !== a.length || a.some((v, i) => isDifferent(v, b[i]));\n }\n\n return a !== b;\n}\n\n/**\n * @param value - state to watch\n * @param onChange - when the state changed\n * @param isUpdated - a function that determines if the state is updated\n */\nexport function useOnChange<T>(\n value: T,\n onChange: (current: T, previous: T) => void,\n isUpdated: (prev: T, current: T) => boolean = isDifferent,\n): void {\n const [prev, setPrev] = useState<T>(value);\n\n if (isUpdated(prev, value)) {\n onChange(value, prev);\n setPrev(value);\n }\n}\n"],"names":[],"mappings":";;;;;;;AAEA,SAAS,YAAY,CAAA,EAAY,CAAA,EAAqB;IACpD,IAAI,MAAM,OAAA,CAAQ,EAAE,IAAI,MAAM,OAAA,CAAQ,EAAE,CACtC,CAAA,OAAO,EAAE,MAAA,KAAW,EAAE,MAAA,IAAU,EAAE,IAAA,CAAA,CAAM,GAAG,IAAM,YAAY,GAAG,CAAA,CAAE,EAAA,CAAG,CAAC;IAGxE,OAAO,MAAM;;;;;;GAQf,SAAgB,YACd,KAAA,EACA,QAAA,EACA,YAA8C,WAAA,EACxC;IACN,MAAM,CAAC,MAAM,QAAA,OAAW,yKAAA,EAAY,MAAM;IAE1C,IAAI,UAAU,MAAM,MAAM,EAAE;QAC1B,SAAS,OAAO,KAAK;QACrB,QAAQ,MAAM"}}, - {"offset": {"line": 501, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/compute-scroll-into-view/dist/index.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/compute-scroll-into-view/src/index.ts"],"sourcesContent":["// Compute what scrolling needs to be done on required scrolling boxes for target to be in view\n\n// The type names here are named after the spec to make it easier to find more information around what they mean:\n// To reduce churn and reduce things that need be maintained things from the official TS DOM library is used here\n// https://drafts.csswg.org/cssom-view/\n\n// For a definition on what is \"block flow direction\" exactly, check this: https://drafts.csswg.org/css-writing-modes-4/#block-flow-direction\n\n/**\n * This new option is tracked in this PR, which is the most likely candidate at the time: https://github.com/w3c/csswg-drafts/pull/1805\n * @public\n */\nexport type ScrollMode = 'always' | 'if-needed'\n\n/** @public */\nexport interface Options {\n /**\n * Control the logical scroll position on the y-axis. The spec states that the `block` direction is related to the [writing-mode](https://developer.mozilla.org/en-US/docs/Web/CSS/writing-mode), but this is not implemented yet in this library.\n * This means that `block: 'start'` aligns to the top edge and `block: 'end'` to the bottom.\n * @defaultValue 'center'\n */\n block?: ScrollLogicalPosition\n /**\n * Like `block` this is affected by the [writing-mode](https://developer.mozilla.org/en-US/docs/Web/CSS/writing-mode). In left-to-right pages `inline: 'start'` will align to the left edge. In right-to-left it should be flipped. This will be supported in a future release.\n * @defaultValue 'nearest'\n */\n inline?: ScrollLogicalPosition\n /**\n * This is a proposed addition to the spec that you can track here: https://github.com/w3c/csswg-drafts/pull/5677\n *\n * This library will be updated to reflect any changes to the spec and will provide a migration path.\n * To be backwards compatible with `Element.scrollIntoViewIfNeeded` if something is not 100% visible it will count as \"needs scrolling\". If you need a different visibility ratio your best option would be to implement an [Intersection Observer](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API).\n * @defaultValue 'always'\n */\n scrollMode?: ScrollMode\n /**\n * By default there is no boundary. All the parent elements of your target is checked until it reaches the viewport ([`document.scrollingElement`](https://developer.mozilla.org/en-US/docs/Web/API/document/scrollingElement)) when calculating layout and what to scroll.\n * By passing a boundary you can short-circuit this loop depending on your needs:\n * \n * - Prevent the browser window from scrolling.\n * - Scroll elements into view in a list, without scrolling container elements.\n * \n * You can also pass a function to do more dynamic checks to override the scroll scoping:\n * \n * ```js\n * let actions = compute(target, {\n * boundary: (parent) => {\n * // By default `overflow: hidden` elements are allowed, only `overflow: visible | clip` is skipped as\n * // this is required by the CSSOM spec\n * if (getComputedStyle(parent)['overflow'] === 'hidden') {\n * return false\n * }\n\n * return true\n * },\n * })\n * ```\n * @defaultValue null\n */\n boundary?: Element | ((parent: Element) => boolean) | null\n /**\n * New option that skips auto-scrolling all nodes with overflow: hidden set\n * See FF implementation: https://hg.mozilla.org/integration/fx-team/rev/c48c3ec05012#l7.18\n * @defaultValue false\n * @public\n */\n skipOverflowHiddenElements?: boolean\n}\n\n/** @public */\nexport interface ScrollAction {\n el: Element\n top: number\n left: number\n}\n\n// @TODO better shadowdom test, 11 = document fragment\nconst isElement = (el: any): el is Element =>\n typeof el === 'object' && el != null && el.nodeType === 1\n\nconst canOverflow = (\n overflow: string | null,\n skipOverflowHiddenElements?: boolean\n) => {\n if (skipOverflowHiddenElements && overflow === 'hidden') {\n return false\n }\n\n return overflow !== 'visible' && overflow !== 'clip'\n}\n\nconst getFrameElement = (el: Element) => {\n if (!el.ownerDocument || !el.ownerDocument.defaultView) {\n return null\n }\n\n try {\n return el.ownerDocument.defaultView.frameElement\n } catch (e) {\n return null\n }\n}\n\nconst isHiddenByFrame = (el: Element): boolean => {\n const frame = getFrameElement(el)\n if (!frame) {\n return false\n }\n\n return (\n frame.clientHeight < el.scrollHeight || frame.clientWidth < el.scrollWidth\n )\n}\n\nconst isScrollable = (el: Element, skipOverflowHiddenElements?: boolean) => {\n if (el.clientHeight < el.scrollHeight || el.clientWidth < el.scrollWidth) {\n const style = getComputedStyle(el, null)\n return (\n canOverflow(style.overflowY, skipOverflowHiddenElements) ||\n canOverflow(style.overflowX, skipOverflowHiddenElements) ||\n isHiddenByFrame(el)\n )\n }\n\n return false\n}\n/**\n * Find out which edge to align against when logical scroll position is \"nearest\"\n * Interesting fact: \"nearest\" works similarily to \"if-needed\", if the element is fully visible it will not scroll it\n *\n * Legends:\n * ┌────────┐ ┏ ━ ━ ━ ┓\n * │ target │ frame\n * └────────┘ ┗ ━ ━ ━ ┛\n */\nconst alignNearest = (\n scrollingEdgeStart: number,\n scrollingEdgeEnd: number,\n scrollingSize: number,\n scrollingBorderStart: number,\n scrollingBorderEnd: number,\n elementEdgeStart: number,\n elementEdgeEnd: number,\n elementSize: number\n) => {\n /**\n * If element edge A and element edge B are both outside scrolling box edge A and scrolling box edge B\n *\n * ┌──┐\n * ┏━│━━│━┓\n * │ │\n * ┃ │ │ ┃ do nothing\n * │ │\n * ┗━│━━│━┛\n * └──┘\n *\n * If element edge C and element edge D are both outside scrolling box edge C and scrolling box edge D\n *\n * ┏ ━ ━ ━ ━ ┓\n * ┌───────────┐\n * │┃ ┃│ do nothing\n * └───────────┘\n * ┗ ━ ━ ━ ━ ┛\n */\n if (\n (elementEdgeStart < scrollingEdgeStart &&\n elementEdgeEnd > scrollingEdgeEnd) ||\n (elementEdgeStart > scrollingEdgeStart && elementEdgeEnd < scrollingEdgeEnd)\n ) {\n return 0\n }\n\n /**\n * If element edge A is outside scrolling box edge A and element height is less than scrolling box height\n *\n * ┌──┐\n * ┏━│━━│━┓ ┏━┌━━┐━┓\n * └──┘ │ │\n * from ┃ ┃ to ┃ └──┘ ┃\n *\n * ┗━ ━━ ━┛ ┗━ ━━ ━┛\n *\n * If element edge B is outside scrolling box edge B and element height is greater than scrolling box height\n *\n * ┏━ ━━ ━┓ ┏━┌━━┐━┓\n * │ │\n * from ┃ ┌──┐ ┃ to ┃ │ │ ┃\n * │ │ │ │\n * ┗━│━━│━┛ ┗━│━━│━┛\n * │ │ └──┘\n * │ │\n * └──┘\n *\n * If element edge C is outside scrolling box edge C and element width is less than scrolling box width\n *\n * from to\n * ┏ ━ ━ ━ ━ ┓ ┏ ━ ━ ━ ━ ┓\n * ┌───┐ ┌───┐\n * │ ┃ │ ┃ ┃ │ ┃\n * └───┘ └───┘\n * ┗ ━ ━ ━ ━ ┛ ┗ ━ ━ ━ ━ ┛\n *\n * If element edge D is outside scrolling box edge D and element width is greater than scrolling box width\n *\n * from to\n * ┏ ━ ━ ━ ━ ┓ ┏ ━ ━ ━ ━ ┓\n * ┌───────────┐ ┌───────────┐\n * ┃ │ ┃ │ ┃ ┃ │\n * └───────────┘ └───────────┘\n * ┗ ━ ━ ━ ━ ┛ ┗ ━ ━ ━ ━ ┛\n */\n if (\n (elementEdgeStart <= scrollingEdgeStart && elementSize <= scrollingSize) ||\n (elementEdgeEnd >= scrollingEdgeEnd && elementSize >= scrollingSize)\n ) {\n return elementEdgeStart - scrollingEdgeStart - scrollingBorderStart\n }\n\n /**\n * If element edge B is outside scrolling box edge B and element height is less than scrolling box height\n *\n * ┏━ ━━ ━┓ ┏━ ━━ ━┓\n *\n * from ┃ ┃ to ┃ ┌──┐ ┃\n * ┌──┐ │ │\n * ┗━│━━│━┛ ┗━└━━┘━┛\n * └──┘\n *\n * If element edge A is outside scrolling box edge A and element height is greater than scrolling box height\n *\n * ┌──┐\n * │ │\n * │ │ ┌──┐\n * ┏━│━━│━┓ ┏━│━━│━┓\n * │ │ │ │\n * from ┃ └──┘ ┃ to ┃ │ │ ┃\n * │ │\n * ┗━ ━━ ━┛ ┗━└━━┘━┛\n *\n * If element edge C is outside scrolling box edge C and element width is greater than scrolling box width\n *\n * from to\n * ┏ ━ ━ ━ ━ ┓ ┏ ━ ━ ━ ━ ┓\n * ┌───────────┐ ┌───────────┐\n * │ ┃ │ ┃ │ ┃ ┃\n * └───────────┘ └───────────┘\n * ┗ ━ ━ ━ ━ ┛ ┗ ━ ━ ━ ━ ┛\n *\n * If element edge D is outside scrolling box edge D and element width is less than scrolling box width\n *\n * from to\n * ┏ ━ ━ ━ ━ ┓ ┏ ━ ━ ━ ━ ┓\n * ┌───┐ ┌───┐\n * ┃ │ ┃ │ ┃ │ ┃\n * └───┘ └───┘\n * ┗ ━ ━ ━ ━ ┛ ┗ ━ ━ ━ ━ ┛\n *\n */\n if (\n (elementEdgeEnd > scrollingEdgeEnd && elementSize < scrollingSize) ||\n (elementEdgeStart < scrollingEdgeStart && elementSize > scrollingSize)\n ) {\n return elementEdgeEnd - scrollingEdgeEnd + scrollingBorderEnd\n }\n\n return 0\n}\n\nconst getParentElement = (element: Node): Element | null => {\n const parent = element.parentElement\n if (parent == null) {\n return (element.getRootNode() as ShadowRoot).host || null\n }\n return parent\n}\n\nconst getScrollMargins = (target: Element) => {\n const computedStyle = window.getComputedStyle(target)\n return {\n top: parseFloat(computedStyle.scrollMarginTop) || 0,\n right: parseFloat(computedStyle.scrollMarginRight) || 0,\n bottom: parseFloat(computedStyle.scrollMarginBottom) || 0,\n left: parseFloat(computedStyle.scrollMarginLeft) || 0,\n }\n}\n\n/** @public */\nexport const compute = (target: Element, options: Options): ScrollAction[] => {\n if (typeof document === 'undefined') {\n // If there's no DOM we assume it's not in a browser environment\n return []\n }\n\n const { scrollMode, block, inline, boundary, skipOverflowHiddenElements } =\n options\n // Allow using a callback to check the boundary\n // The default behavior is to check if the current target matches the boundary element or not\n // If undefined it'll check that target is never undefined (can happen as we recurse up the tree)\n const checkBoundary =\n typeof boundary === 'function' ? boundary : (node: any) => node !== boundary\n\n if (!isElement(target)) {\n throw new TypeError('Invalid target')\n }\n\n // Used to handle the top most element that can be scrolled\n const scrollingElement = document.scrollingElement || document.documentElement\n\n // Collect all the scrolling boxes, as defined in the spec: https://drafts.csswg.org/cssom-view/#scrolling-box\n const frames: Element[] = []\n let cursor: Element | null = target\n while (isElement(cursor) && checkBoundary(cursor)) {\n // Move cursor to parent\n cursor = getParentElement(cursor)\n\n // Stop when we reach the viewport\n if (cursor === scrollingElement) {\n frames.push(cursor)\n break\n }\n\n // Skip document.body if it's not the scrollingElement and documentElement isn't independently scrollable\n if (\n cursor != null &&\n cursor === document.body &&\n isScrollable(cursor) &&\n !isScrollable(document.documentElement)\n ) {\n continue\n }\n\n // Now we check if the element is scrollable, this code only runs if the loop haven't already hit the viewport or a custom boundary\n if (cursor != null && isScrollable(cursor, skipOverflowHiddenElements)) {\n frames.push(cursor)\n }\n }\n\n // Support pinch-zooming properly, making sure elements scroll into the visual viewport\n // Browsers that don't support visualViewport will report the layout viewport dimensions on document.documentElement.clientWidth/Height\n // and viewport dimensions on window.innerWidth/Height\n // https://www.quirksmode.org/mobile/viewports2.html\n // https://bokand.github.io/viewport/index.html\n const viewportWidth = window.visualViewport?.width ?? innerWidth\n const viewportHeight = window.visualViewport?.height ?? innerHeight\n const { scrollX, scrollY } = window\n\n const {\n height: targetHeight,\n width: targetWidth,\n top: targetTop,\n right: targetRight,\n bottom: targetBottom,\n left: targetLeft,\n } = target.getBoundingClientRect()\n const {\n top: marginTop,\n right: marginRight,\n bottom: marginBottom,\n left: marginLeft,\n } = getScrollMargins(target)\n\n // These values mutate as we loop through and generate scroll coordinates\n let targetBlock: number =\n block === 'start' || block === 'nearest'\n ? targetTop - marginTop\n : block === 'end'\n ? targetBottom + marginBottom\n : targetTop + targetHeight / 2 - marginTop + marginBottom // block === 'center\n let targetInline: number =\n inline === 'center'\n ? targetLeft + targetWidth / 2 - marginLeft + marginRight\n : inline === 'end'\n ? targetRight + marginRight\n : targetLeft - marginLeft // inline === 'start || inline === 'nearest\n\n // Collect new scroll positions\n const computations: ScrollAction[] = []\n // In chrome there's no longer a difference between caching the `frames.length` to a var or not, so we don't in this case (size > speed anyways)\n for (let index = 0; index < frames.length; index++) {\n const frame = frames[index]\n\n // @TODO add a shouldScroll hook here that allows userland code to take control\n\n const { height, width, top, right, bottom, left } =\n frame.getBoundingClientRect()\n\n // If the element is already visible we can end it here\n // @TODO targetBlock and targetInline should be taken into account to be compliant with https://github.com/w3c/csswg-drafts/pull/1805/files#diff-3c17f0e43c20f8ecf89419d49e7ef5e0R1333\n if (\n scrollMode === 'if-needed' &&\n targetTop >= 0 &&\n targetLeft >= 0 &&\n targetBottom <= viewportHeight &&\n targetRight <= viewportWidth &&\n // scrollingElement is added to the frames array even if it's not scrollable, in which case checking its bounds is not required\n ((frame === scrollingElement && !isScrollable(frame)) ||\n (targetTop >= top &&\n targetBottom <= bottom &&\n targetLeft >= left &&\n targetRight <= right))\n ) {\n // Break the loop and return the computations for things that are not fully visible\n return computations\n }\n\n const frameStyle = getComputedStyle(frame)\n const borderLeft = parseInt(frameStyle.borderLeftWidth as string, 10)\n const borderTop = parseInt(frameStyle.borderTopWidth as string, 10)\n const borderRight = parseInt(frameStyle.borderRightWidth as string, 10)\n const borderBottom = parseInt(frameStyle.borderBottomWidth as string, 10)\n\n let blockScroll: number = 0\n let inlineScroll: number = 0\n\n // The property existance checks for offfset[Width|Height] is because only HTMLElement objects have them, but any Element might pass by here\n // @TODO find out if the \"as HTMLElement\" overrides can be dropped\n const scrollbarWidth =\n 'offsetWidth' in frame\n ? (frame as HTMLElement).offsetWidth -\n (frame as HTMLElement).clientWidth -\n borderLeft -\n borderRight\n : 0\n const scrollbarHeight =\n 'offsetHeight' in frame\n ? (frame as HTMLElement).offsetHeight -\n (frame as HTMLElement).clientHeight -\n borderTop -\n borderBottom\n : 0\n\n const scaleX =\n 'offsetWidth' in frame\n ? (frame as HTMLElement).offsetWidth === 0\n ? 0\n : width / (frame as HTMLElement).offsetWidth\n : 0\n const scaleY =\n 'offsetHeight' in frame\n ? (frame as HTMLElement).offsetHeight === 0\n ? 0\n : height / (frame as HTMLElement).offsetHeight\n : 0\n\n if (scrollingElement === frame) {\n // Handle viewport logic (document.documentElement or document.body)\n\n if (block === 'start') {\n blockScroll = targetBlock\n } else if (block === 'end') {\n blockScroll = targetBlock - viewportHeight\n } else if (block === 'nearest') {\n blockScroll = alignNearest(\n scrollY,\n scrollY + viewportHeight,\n viewportHeight,\n borderTop,\n borderBottom,\n scrollY + targetBlock,\n scrollY + targetBlock + targetHeight,\n targetHeight\n )\n } else {\n // block === 'center' is the default\n blockScroll = targetBlock - viewportHeight / 2\n }\n\n if (inline === 'start') {\n inlineScroll = targetInline\n } else if (inline === 'center') {\n inlineScroll = targetInline - viewportWidth / 2\n } else if (inline === 'end') {\n inlineScroll = targetInline - viewportWidth\n } else {\n // inline === 'nearest' is the default\n inlineScroll = alignNearest(\n scrollX,\n scrollX + viewportWidth,\n viewportWidth,\n borderLeft,\n borderRight,\n scrollX + targetInline,\n scrollX + targetInline + targetWidth,\n targetWidth\n )\n }\n\n // Apply scroll position offsets and ensure they are within bounds\n // @TODO add more test cases to cover this 100%\n blockScroll = Math.max(0, blockScroll + scrollY)\n inlineScroll = Math.max(0, inlineScroll + scrollX)\n } else {\n // Handle each scrolling frame that might exist between the target and the viewport\n if (block === 'start') {\n blockScroll = targetBlock - top - borderTop\n } else if (block === 'end') {\n blockScroll = targetBlock - bottom + borderBottom + scrollbarHeight\n } else if (block === 'nearest') {\n blockScroll = alignNearest(\n top,\n bottom,\n height,\n borderTop,\n borderBottom + scrollbarHeight,\n targetBlock,\n targetBlock + targetHeight,\n targetHeight\n )\n } else {\n // block === 'center' is the default\n blockScroll = targetBlock - (top + height / 2) + scrollbarHeight / 2\n }\n\n if (inline === 'start') {\n inlineScroll = targetInline - left - borderLeft\n } else if (inline === 'center') {\n inlineScroll = targetInline - (left + width / 2) + scrollbarWidth / 2\n } else if (inline === 'end') {\n inlineScroll = targetInline - right + borderRight + scrollbarWidth\n } else {\n // inline === 'nearest' is the default\n inlineScroll = alignNearest(\n left,\n right,\n width,\n borderLeft,\n borderRight + scrollbarWidth,\n targetInline,\n targetInline + targetWidth,\n targetWidth\n )\n }\n\n const { scrollLeft, scrollTop } = frame\n // Ensure scroll coordinates are not out of bounds while applying scroll offsets\n blockScroll =\n scaleY === 0\n ? 0\n : Math.max(\n 0,\n Math.min(\n scrollTop + blockScroll / scaleY,\n frame.scrollHeight - height / scaleY + scrollbarHeight\n )\n )\n inlineScroll =\n scaleX === 0\n ? 0\n : Math.max(\n 0,\n Math.min(\n scrollLeft + inlineScroll / scaleX,\n frame.scrollWidth - width / scaleX + scrollbarWidth\n )\n )\n\n // Cache the offset so that parent frames can scroll this into view correctly\n targetBlock += scrollTop - blockScroll\n targetInline += scrollLeft - inlineScroll\n }\n\n computations.push({ el: frame, top: blockScroll, left: inlineScroll })\n }\n\n return computations\n}\n"],"names":["isElement","el","nodeType","canOverflow","overflow","skipOverflowHiddenElements","isScrollable","clientHeight","scrollHeight","clientWidth","scrollWidth","style","getComputedStyle","overflowY","overflowX","frame","ownerDocument","defaultView","frameElement","e","getFrameElement","isHiddenByFrame","alignNearest","scrollingEdgeStart","scrollingEdgeEnd","scrollingSize","scrollingBorderStart","scrollingBorderEnd","elementEdgeStart","elementEdgeEnd","elementSize","getParentElement","element","parent","parentElement","getRootNode","host","compute","target","options","_a","_b","_c","_d","document","scrollMode","block","inline","boundary","checkBoundary","node","TypeError","scrollingElement","documentElement","frames","cursor","push","body","viewportWidth","window","visualViewport","width","innerWidth","viewportHeight","height","innerHeight","scrollX","scrollY","targetHeight","targetWidth","top","targetTop","right","targetRight","bottom","targetBottom","left","targetLeft","getBoundingClientRect","marginTop","marginRight","marginBottom","marginLeft","computedStyle","parseFloat","scrollMarginTop","scrollMarginRight","scrollMarginBottom","scrollMarginLeft","getScrollMargins","targetBlock","targetInline","computations","index","length","frameStyle","borderLeft","parseInt","borderLeftWidth","borderTop","borderTopWidth","borderRight","borderRightWidth","borderBottom","borderBottomWidth","blockScroll","inlineScroll","scrollbarWidth","offsetWidth","scrollbarHeight","offsetHeight","scaleX","scaleY","Math","max","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rC;YAGHuC,IADY,YAAV3D,IACY4C,IAAcpB,IAAM6B,IACf,UAAVrD,IACK4C,IAAchB,IAAS6B,IAAeM,IACjC,cAAV/D,IACKxB,EACZgD,GACAI,GACAV,GACAmC,GACAI,IAAeM,GACfnB,GACAA,IAActB,GACdA,KAIYsB,IAAAA,CAAepB,IAAMN,IAAS,CAAA,IAAK6C,IAAkB,GAInEH,IADa,YAAX3D,IACa4C,IAAef,IAAOoB,IACjB,aAAXjD,IACM4C,IAAAA,CAAgBf,IAAOf,IAAQ,CAAA,IAAK8C,IAAiB,IAChD,UAAX5D,IACM4C,IAAenB,IAAQ6B,IAAcM,IAGrCrF,EACbsD,GACAJ,GACAX,GACAmC,GACAK,IAAcM,GACdhB,GACAA,IAAetB,GACfA;YAIE,MAAA,EAAA8C,YAAEA,CAAAA,EAAYC,WAAAA,CAAAA,EAAAA,GAAcrG;YAGhC0F,IAAW,MAAXO,IACI,IACAC,KAAKC,GAAAA,CACH,GACAD,KAAKI,GAAAA,CACHD,IAAYX,IAAcO,GAC1BjG,EAAMP,YAAAA,GAAewD,IAASgD,IAASH,KAI/CH,IAAW,MAAXK,IACI,IACAE,KAAKC,GAAAA,CACH,GACAD,KAAKI,GAAAA,CACHF,IAAaT,IAAeK,GAC5BhG,EAAML,WAAAA,GAAcmD,IAAQkD,IAASJ,KAK/CjB,KAAe0B,IAAYX,GAC3Bd,KAAgBwB,IAAaT;QAC/B;QAEad,EAAApC,IAAAA,CAAK;YAAEvD,IAAIc;YAAOuD,KAAKmC;YAAa7B,MAAM8B;QAAAA;IACzD;IAEO,OAAAd;AAAA,SACTvD;;CAAAA,iCAAAA"}}, - {"offset": {"line": 575, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/scroll-into-view-if-needed/dist/index.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/scroll-into-view-if-needed/src/index.ts"],"sourcesContent":["import { compute } from 'compute-scroll-into-view'\nimport type {\n Options as BaseOptions,\n ScrollAction,\n} from 'compute-scroll-into-view'\n\n/** @public */\nexport type Options<T = unknown> =\n | StandardBehaviorOptions\n | CustomBehaviorOptions<T>\n\n/**\n * Only scrolls if the `node` is partially out of view:\n * ```ts\n * scrollIntoView(node, { scrollMode: 'if-needed' })\n * ```\n * Skips scrolling `overflow: hidden` elements:\n * ```ts\n * scrollIntoView(node, { skipOverflowHiddenElements: true })\n * ```\n * When scrolling is needed do the least and smoothest scrolling possible:\n * ```ts\n * scrollIntoView(node, {\n * behavior: 'smooth',\n * scrollMode: 'if-needed',\n * block: 'nearest',\n * inline: 'nearest',\n * })\n * ```\n * @public\n */\nexport interface StandardBehaviorOptions extends BaseOptions {\n /**\n * @defaultValue 'auto\n */\n behavior?: ScrollBehavior\n}\n\n/** @public */\nexport interface CustomBehaviorOptions<T = unknown> extends BaseOptions {\n behavior: CustomScrollBehaviorCallback<T>\n}\n\n/** @public */\nexport type CustomScrollBehaviorCallback<T = unknown> = (\n actions: ScrollAction[]\n) => T\n\nconst isStandardScrollBehavior = (\n options: any\n): options is StandardBehaviorOptions =>\n options === Object(options) && Object.keys(options).length !== 0\n\nconst isCustomScrollBehavior = <T = unknown>(\n options: any\n): options is CustomBehaviorOptions<T> =>\n typeof options === 'object' ? typeof options.behavior === 'function' : false\n\nconst getOptions = (options: any): StandardBehaviorOptions => {\n // Handle alignToTop for legacy reasons, to be compatible with the spec\n if (options === false) {\n return { block: 'end', inline: 'nearest' }\n }\n\n if (isStandardScrollBehavior(options)) {\n // compute.ts ensures the defaults are block: 'center' and inline: 'nearest', to conform to the spec\n return options\n }\n\n // if options = {}, options = true or options = null, based on w3c web platform test\n return { block: 'start', inline: 'nearest' }\n}\n\nconst getScrollMargins = (target: Element) => {\n const computedStyle = window.getComputedStyle(target)\n return {\n top: parseFloat(computedStyle.scrollMarginTop) || 0,\n right: parseFloat(computedStyle.scrollMarginRight) || 0,\n bottom: parseFloat(computedStyle.scrollMarginBottom) || 0,\n left: parseFloat(computedStyle.scrollMarginLeft) || 0,\n }\n}\n\n// Determine if the element is part of the document (including shadow dom)\n// Derived from code of Andy Desmarais\n// https://terodox.tech/how-to-tell-if-an-element-is-in-the-dom-including-the-shadow-dom/\nconst isInDocument = (element: Node) => {\n let currentElement = element\n while (currentElement && currentElement.parentNode) {\n if (currentElement.parentNode === document) {\n return true\n } else if (currentElement.parentNode instanceof ShadowRoot) {\n currentElement = (currentElement.parentNode as ShadowRoot).host\n } else {\n currentElement = currentElement.parentNode\n }\n }\n return false\n}\n\n/**\n * Scrolls the given element into view, with options for when, and how.\n * Supports the same `options` as [`Element.prototype.scrollIntoView`](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView) with additions such as `scrollMode`, `behavior: Function` and `skipOverflowHiddenElements`.\n * @public\n */\nfunction scrollIntoView(\n target: Element,\n options?: StandardBehaviorOptions | boolean\n): void\n/**\n * Scrolls the given element into view, with options for when, and how.\n * Supports the same `options` as [`Element.prototype.scrollIntoView`](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView) with additions such as `scrollMode`, `behavior: Function` and `skipOverflowHiddenElements`.\n *\n * You can set the expected return type for `behavior: Function`:\n * ```ts\n * await scrollIntoView<Promise<boolean[]>>(node, {\n * behavior: async actions => {\n * return Promise.all(actions.map(\n * // animate() resolves to `true` if anything was animated, `false` if the element already were in the end state\n * ({ el, left, top }) => animate(el, {scroll: {left, top}})\n * ))\n * }\n * })\n * ```\n * @public\n */\nfunction scrollIntoView<T>(\n target: Element,\n options: CustomBehaviorOptions<T>\n): T\nfunction scrollIntoView<T = unknown>(\n target: Element,\n options?: StandardBehaviorOptions | CustomBehaviorOptions<T> | boolean\n): T | void {\n // Browsers treats targets that aren't in the dom as a no-op and so should we\n if (!target.isConnected || !isInDocument(target)) {\n return\n }\n\n const margins = getScrollMargins(target)\n\n if (isCustomScrollBehavior<T>(options)) {\n return options.behavior(compute(target, options))\n }\n\n const behavior = typeof options === 'boolean' ? undefined : options?.behavior\n\n for (const { el, top, left } of compute(target, getOptions(options))) {\n const adjustedTop = top - margins.top + margins.bottom\n const adjustedLeft = left - margins.left + margins.right\n el.scroll({ top: adjustedTop, left: adjustedLeft, behavior })\n }\n}\n\nexport default scrollIntoView\n"],"names":["getOptions","options","block","inline","Object","keys","length","isStandardScrollBehavior","scrollIntoView","target","isConnected","element","currentElement","parentNode","document","ShadowRoot","host","isInDocument","margins","computedStyle","window","getComputedStyle","top","parseFloat","scrollMarginTop","right","scrollMarginRight","bottom","scrollMarginBottom","left","scrollMarginLeft","getScrollMargins","behavior","isCustomScrollBehavior","compute","el","adjustedTop","adjustedLeft","scroll"],"mappings":";;;;;;AAgDA,MAUMA,KAAcC,IAAAA,CAEF,MAAZA,IACK;QAAEC,OAAO;QAAOC,QAAQ;IAAA,IAZjCF,CAAAA,CAAAA,IAEAA,MAAYG,OAAOH,MAA4C,MAAhCG,OAAOC,IAAAA,CAAKJ,GAASK,MAAAA,CAahDC,CAAyBN,KAEpBA,IAIF;QAAEC,OAAO;QAASC,QAAQ;IAAA;AA4DnC,SAASK,EACPC,CAAAA,EACAR,CAAAA;IAGA,IAAA,CAAKQ,EAAOC,WAAAA,IAAAA,CAjDQC,CAAAA,CAAAA;QACpB,IAAIC,IAAiBD;QACd,MAAAC,KAAkBA,EAAeC,UAAAA,EAAY;YAC9C,IAAAD,EAAeC,UAAAA,KAAeC,UACzB,OAAA,CAAA;YAEPF,IADSA,EAAeC,UAAAA,YAAsBE,aAC5BH,EAAeC,UAAAA,CAA0BG,IAAAA,GAE1CJ,EAAeC;QAEpC;QACO,OAAA,CAAA;IAAA,CAAA,CAsCqBI,CAAaR,IACvC;IAGI,MAAAS,IAlEkBT,CAAAA,CAAAA;QAClB,MAAAU,IAAgBC,OAAOC,gBAAAA,CAAiBZ;QACvC,OAAA;YACLa,KAAKC,WAAWJ,EAAcK,eAAAA,KAAoB;YAClDC,OAAOF,WAAWJ,EAAcO,iBAAAA,KAAsB;YACtDC,QAAQJ,WAAWJ,EAAcS,kBAAAA,KAAuB;YACxDC,MAAMN,WAAWJ,EAAcW,gBAAAA,KAAqB;QAAA;IACtD,CAAA,CA2DgBC,CAAiBtB;IAE7B,IAvFJR,CAAAA,CAAAA,IAEmB,YAAA,OAAZA,KAAmD,cAAA,OAArBA,EAAQ+B,QAAAA,CAqFzCC,CAA0BhC,IAC5B,OAAOA,EAAQ+B,QAAAA,KAASE,gLAAAA,EAAQzB,GAAQR;IAG1C,MAAM+B,IAA8B,aAAA,OAAZ/B,KAA6C,QAATA,IAAAA,KAAZ,IAAqBA,EAAA+B,QAAAA;IAE1D,KAAA,MAAA,EAAAG,IAAEA,CAAAA,EAAIb,KAAAA,CAAAA,EAAAO,MAAKA,CAAAA,EAAAA,QAAUK,gLAAAA,EAAQzB,GAAQT,EAAWC,IAAW;QACpE,MAAMmC,IAAcd,IAAMJ,EAAQI,GAAAA,GAAMJ,EAAQS,MAAAA,EAC1CU,IAAeR,IAAOX,EAAQW,IAAAA,GAAOX,EAAQO,KAAAA;QACnDU,EAAGG,MAAAA,CAAO;YAAEhB,KAAKc;YAAaP,MAAMQ;YAAcL,UAAAA;QAAAA;IACpD;AACF,QAAAxB;;CAAAA,iCAAAA"}}, - {"offset": {"line": 623, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40radix-ui/primitive/src/primitive.tsx"],"sourcesContent":["/* eslint-disable no-restricted-properties */\n\n/* eslint-disable no-restricted-globals */\nexport const canUseDOM = !!(\n typeof window !== 'undefined' &&\n window.document &&\n window.document.createElement\n);\n/* eslint-enable no-restricted-globals */\n\nexport function composeEventHandlers<E extends { defaultPrevented: boolean }>(\n originalEventHandler?: (event: E) => void,\n ourEventHandler?: (event: E) => void,\n { checkForDefaultPrevented = true } = {}\n) {\n return function handleEvent(event: E) {\n originalEventHandler?.(event);\n\n if (checkForDefaultPrevented === false || !event.defaultPrevented) {\n return ourEventHandler?.(event);\n }\n };\n}\n\nexport function getOwnerWindow(element: Node | null | undefined) {\n if (!canUseDOM) {\n throw new Error('Cannot access window outside of the DOM');\n }\n // eslint-disable-next-line no-restricted-globals\n return element?.ownerDocument?.defaultView ?? window;\n}\n\nexport function getOwnerDocument(element: Node | null | undefined) {\n if (!canUseDOM) {\n throw new Error('Cannot access document outside of the DOM');\n }\n // eslint-disable-next-line no-restricted-globals\n return element?.ownerDocument ?? document;\n}\n\n/**\n * Lifted from https://github.com/ariakit/ariakit/blob/main/packages/ariakit-core/src/utils/dom.ts#L37\n * MIT License, Copyright (c) AriaKit.\n */\nexport function getActiveElement(\n node: Node | null | undefined,\n activeDescendant = false\n): HTMLElement | null {\n const { activeElement } = getOwnerDocument(node);\n if (!activeElement?.nodeName) {\n // `activeElement` might be an empty object if we're interacting with elements\n // inside of an iframe.\n return null;\n }\n\n if (isFrame(activeElement) && activeElement.contentDocument) {\n return getActiveElement(activeElement.contentDocument.body, activeDescendant);\n }\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\n return activeElement as HTMLElement | null;\n}\n\nexport function isFrame(element: Element): element is HTMLIFrameElement {\n return element.tagName === 'IFRAME';\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAGO,IAAM,YAAY,CAAC,CAAA,CACxB,OAAO,WAAW,eAClB,OAAO,QAAA,IACP,OAAO,QAAA,CAAS,aAAA;AAIX,SAAS,qBACd,oBAAA,EACA,eAAA,EACA,EAAE,2BAA2B,IAAA,CAAK,CAAA,GAAI,CAAC,CAAA,EACvC;IACA,OAAO,SAAS,YAAY,KAAA,EAAU;QACpC,uBAAuB,KAAK;QAE5B,IAAI,6BAA6B,SAAS,CAAC,MAAM,gBAAA,EAAkB;YACjE,OAAO,kBAAkB,KAAK;QAChC;IACF;AACF;AAEO,SAAS,eAAe,OAAA,EAAkC;IAC/D,IAAI,CAAC,WAAW;QACd,MAAM,IAAI,MAAM,yCAAyC;IAC3D;IAEA,OAAO,SAAS,eAAe,eAAe;AAChD;AAEO,SAAS,iBAAiB,OAAA,EAAkC;IACjE,IAAI,CAAC,WAAW;QACd,MAAM,IAAI,MAAM,2CAA2C;IAC7D;IAEA,OAAO,SAAS,iBAAiB;AACnC;AAMO,SAAS,iBACd,IAAA,EACA,mBAAmB,KAAA,EACC;IACpB,MAAM,EAAE,aAAA,CAAc,CAAA,GAAI,iBAAiB,IAAI;IAC/C,IAAI,CAAC,eAAe,UAAU;QAG5B,OAAO;IACT;IAEA,IAAI,QAAQ,aAAa,KAAK,cAAc,eAAA,EAAiB;QAC3D,OAAO,iBAAiB,cAAc,eAAA,CAAgB,IAAA,EAAM,gBAAgB;IAC9E;IAEA,IAAI,kBAAkB;QACpB,MAAM,KAAK,cAAc,YAAA,CAAa,uBAAuB;QAC7D,IAAI,IAAI;YACN,MAAM,UAAU,iBAAiB,aAAa,EAAE,cAAA,CAAe,EAAE;YACjE,IAAI,SAAS;gBACX,OAAO;YACT;QACF;IACF;IAEA,OAAO;AACT;AAEO,SAAS,QAAQ,OAAA,EAAgD;IACtE,OAAO,QAAQ,OAAA,KAAY;AAC7B"}}, - {"offset": {"line": 687, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40radix-ui/react-compose-refs/src/compose-refs.tsx"],"sourcesContent":["import * as React from 'react';\n\ntype PossibleRef<T> = React.Ref<T> | undefined;\n\n/**\n * Set a given ref to a given value\n * This utility takes care of different types of refs: callback refs and RefObject(s)\n */\nfunction setRef<T>(ref: PossibleRef<T>, value: T) {\n if (typeof ref === 'function') {\n return ref(value);\n } else if (ref !== null && ref !== undefined) {\n ref.current = value;\n }\n}\n\n/**\n * A utility to compose multiple refs together\n * Accepts callback refs and RefObject(s)\n */\nfunction composeRefs<T>(...refs: PossibleRef<T>[]): React.RefCallback<T> {\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\n // React <19 will log an error to the console if a callback ref returns a\n // value. We don't use ref cleanups internally so this will only happen if a\n // user's ref callback returns a value, which we only expect if they are\n // using the cleanup functionality added in React 19.\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\n/**\n * A custom hook that composes multiple refs\n * Accepts callback refs and RefObject(s)\n */\nfunction useComposedRefs<T>(...refs: PossibleRef<T>[]): React.RefCallback<T> {\n // eslint-disable-next-line react-hooks/exhaustive-deps\n return React.useCallback(composeRefs(...refs), refs);\n}\n\nexport { composeRefs, useComposedRefs };\n"],"names":[],"mappings":";;;;;;;AAAA,YAAY,WAAW;;AAQvB,SAAS,OAAU,GAAA,EAAqB,KAAA,EAAU;IAChD,IAAI,OAAO,QAAQ,YAAY;QAC7B,OAAO,IAAI,KAAK;IAClB,OAAA,IAAW,QAAQ,QAAQ,QAAQ,KAAA,GAAW;QAC5C,IAAI,OAAA,GAAU;IAChB;AACF;AAMA,SAAS,YAAA,GAAkB,IAAA,EAA8C;IACvE,OAAO,CAAC,SAAS;QACf,IAAI,aAAa;QACjB,MAAM,WAAW,KAAK,GAAA,CAAI,CAAC,QAAQ;YACjC,MAAM,UAAU,OAAO,KAAK,IAAI;YAChC,IAAI,CAAC,cAAc,OAAO,WAAW,YAAY;gBAC/C,aAAa;YACf;YACA,OAAO;QACT,CAAC;QAMD,IAAI,YAAY;YACd,OAAO,MAAM;gBACX,IAAA,IAAS,IAAI,GAAG,IAAI,SAAS,MAAA,EAAQ,IAAK;oBACxC,MAAM,UAAU,QAAA,CAAS,CAAC,CAAA;oBAC1B,IAAI,OAAO,WAAW,YAAY;wBAChC,QAAQ;oBACV,OAAO;wBACL,OAAO,IAAA,CAAK,CAAC,CAAA,EAAG,IAAI;oBACtB;gBACF;YACF;QACF;IACF;AACF;AAMA,SAAS,gBAAA,GAAsB,IAAA,EAA8C;IAE3E,OAAa,4KAAA,CAAY,YAAY,GAAG,IAAI,GAAG,IAAI;AACrD"}}, - {"offset": {"line": 736, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40radix-ui/react-context/src/create-context.tsx"],"sourcesContent":["import * as React from 'react';\n\nfunction createContext<ContextValueType extends object | null>(\n rootComponentName: string,\n defaultContext?: ContextValueType\n) {\n const Context = React.createContext<ContextValueType | undefined>(defaultContext);\n\n const Provider: React.FC<ContextValueType & { children: React.ReactNode }> = (props) => {\n const { children, ...context } = props;\n // Only re-memoize when prop values change\n // eslint-disable-next-line react-hooks/exhaustive-deps\n const value = React.useMemo(() => context, Object.values(context)) as ContextValueType;\n return <Context.Provider value={value}>{children}</Context.Provider>;\n };\n\n Provider.displayName = rootComponentName + 'Provider';\n\n function useContext(consumerName: string) {\n const context = React.useContext(Context);\n if (context) return context;\n if (defaultContext !== undefined) return defaultContext;\n // if a defaultContext wasn't specified, it's a required context.\n throw new Error(`\\`${consumerName}\\` must be used within \\`${rootComponentName}\\``);\n }\n\n return [Provider, useContext] as const;\n}\n\n/* -------------------------------------------------------------------------------------------------\n * createContextScope\n * -----------------------------------------------------------------------------------------------*/\n\ntype Scope<C = any> = { [scopeName: string]: React.Context<C>[] } | undefined;\ntype ScopeHook = (scope: Scope) => { [__scopeProp: string]: Scope };\ninterface CreateScope {\n scopeName: string;\n (): ScopeHook;\n}\n\nfunction createContextScope(scopeName: string, createContextScopeDeps: CreateScope[] = []) {\n let defaultContexts: any[] = [];\n\n /* -----------------------------------------------------------------------------------------------\n * createContext\n * ---------------------------------------------------------------------------------------------*/\n\n function createContext<ContextValueType extends object | null>(\n rootComponentName: string,\n defaultContext?: ContextValueType\n ) {\n const BaseContext = React.createContext<ContextValueType | undefined>(defaultContext);\n const index = defaultContexts.length;\n defaultContexts = [...defaultContexts, defaultContext];\n\n const Provider: React.FC<\n ContextValueType & { scope: Scope<ContextValueType>; children: React.ReactNode }\n > = (props) => {\n const { scope, children, ...context } = props;\n const Context = scope?.[scopeName]?.[index] || BaseContext;\n // Only re-memoize when prop values change\n // eslint-disable-next-line react-hooks/exhaustive-deps\n const value = React.useMemo(() => context, Object.values(context)) as ContextValueType;\n return <Context.Provider value={value}>{children}</Context.Provider>;\n };\n\n Provider.displayName = rootComponentName + 'Provider';\n\n function useContext(consumerName: string, scope: Scope<ContextValueType | undefined>) {\n const Context = scope?.[scopeName]?.[index] || BaseContext;\n const context = React.useContext(Context);\n if (context) return context;\n if (defaultContext !== undefined) return defaultContext;\n // if a defaultContext wasn't specified, it's a required context.\n throw new Error(`\\`${consumerName}\\` must be used within \\`${rootComponentName}\\``);\n }\n\n return [Provider, useContext] as const;\n }\n\n /* -----------------------------------------------------------------------------------------------\n * createScope\n * ---------------------------------------------------------------------------------------------*/\n\n const createScope: CreateScope = () => {\n const scopeContexts = defaultContexts.map((defaultContext) => {\n return React.createContext(defaultContext);\n });\n return function useScope(scope: Scope) {\n const contexts = scope?.[scopeName] || scopeContexts;\n return React.useMemo(\n () => ({ [`__scope${scopeName}`]: { ...scope, [scopeName]: contexts } }),\n [scope, contexts]\n );\n };\n };\n\n createScope.scopeName = scopeName;\n return [createContext, composeContextScopes(createScope, ...createContextScopeDeps)] as const;\n}\n\n/* -------------------------------------------------------------------------------------------------\n * composeContextScopes\n * -----------------------------------------------------------------------------------------------*/\n\nfunction composeContextScopes(...scopes: CreateScope[]) {\n const baseScope = scopes[0];\n if (scopes.length === 1) return baseScope;\n\n const createScope: CreateScope = () => {\n const scopeHooks = scopes.map((createScope) => ({\n useScope: createScope(),\n scopeName: createScope.scopeName,\n }));\n\n return function useComposedScopes(overrideScopes) {\n const nextScopes = scopeHooks.reduce((nextScopes, { useScope, scopeName }) => {\n // We are calling a hook inside a callback which React warns against to avoid inconsistent\n // renders, however, scoping doesn't have render side effects so we ignore the rule.\n // eslint-disable-next-line react-hooks/rules-of-hooks\n const scopeProps = useScope(overrideScopes);\n const currentScope = scopeProps[`__scope${scopeName}`];\n return { ...nextScopes, ...currentScope };\n }, {});\n\n return React.useMemo(() => ({ [`__scope${baseScope.scopeName}`]: nextScopes }), [nextScopes]);\n };\n };\n\n createScope.scopeName = baseScope.scopeName;\n return createScope;\n}\n\n/* -----------------------------------------------------------------------------------------------*/\n\nexport { createContext, createContextScope };\nexport type { CreateScope, Scope };\n"],"names":["createContext", "useContext", "createScope", "nextScopes"],"mappings":";;;;;;;AAAA,YAAY,WAAW;AAaZ;;;AAXX,SAASA,eACP,iBAAA,EACA,cAAA,EACA;IACA,MAAM,UAAgB,8KAAA,CAA4C,cAAc;IAEhF,MAAM,WAAuE,CAAC,UAAU;QACtF,MAAM,EAAE,QAAA,EAAU,GAAG,QAAQ,CAAA,GAAI;QAGjC,MAAM,QAAc,wKAAA;sDAAQ,IAAM;qDAAS,OAAO,MAAA,CAAO,OAAO,CAAC;QACjE,OAAO,aAAA,GAAA,IAAA,6KAAA,EAAC,QAAQ,QAAA,EAAR;YAAiB;YAAe;QAAA,CAAS;IACnD;IAEA,SAAS,WAAA,GAAc,oBAAoB;IAE3C,SAASC,YAAW,YAAA,EAAsB;QACxC,MAAM,UAAgB,2KAAA,CAAW,OAAO;QACxC,IAAI,QAAS,CAAA,OAAO;QACpB,IAAI,mBAAmB,KAAA,EAAW,CAAA,OAAO;QAEzC,MAAM,IAAI,MAAM,CAAA,EAAA,EAAK,YAAY,CAAA,yBAAA,EAA4B,iBAAiB,CAAA,EAAA,CAAI;IACpF;IAEA,OAAO;QAAC;QAAUA,WAAU;KAAA;AAC9B;AAaA,SAAS,mBAAmB,SAAA,EAAmB,yBAAwC,CAAC,CAAA,EAAG;IACzF,IAAI,kBAAyB,CAAC,CAAA;IAM9B,SAASD,eACP,iBAAA,EACA,cAAA,EACA;QACA,MAAM,cAAoB,8KAAA,CAA4C,cAAc;QACpF,MAAM,QAAQ,gBAAgB,MAAA;QAC9B,kBAAkB,CAAC;eAAG;YAAiB,cA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Ae,qBAAqB,aAAa,GAAG,sBAAsB,CAAC;KAAA;AACrF;AAMA,SAAS,qBAAA,GAAwB,MAAA,EAAuB;IACtD,MAAM,YAAY,MAAA,CAAO,CAAC,CAAA;IAC1B,IAAI,OAAO,MAAA,KAAW,EAAG,CAAA,OAAO;IAEhC,MAAM,cAA2B,MAAM;QACrC,MAAM,aAAa,OAAO,GAAA,CAAI,CAACE,eAAAA,CAAiB;gBAC9C,UAAUA,aAAY;gBACtB,WAAWA,aAAY,SAAA;YACzB,CAAA,CAAE;QAEF,OAAO,SAAS,kBAAkB,cAAA,EAAgB;YAChD,MAAM,aAAa,WAAW,MAAA,CAAO,CAACC,aAAY,EAAE,QAAA,EAAU,SAAA,CAAU,CAAA,KAAM;gBAI5E,MAAM,aAAa,SAAS,cAAc;gBAC1C,MAAM,eAAe,UAAA,CAAW,CAAA,OAAA,EAAU,SAAS,EAAE,CAAA;gBACrD,OAAO;oBAAE,GAAGA,WAAAA;oBAAY,GAAG,YAAA;gBAAa;YAC1C,GAAG,CAAC,CAAC;YAEL,OAAa,wKAAA;8EAAQ,IAAA,CAAO;wBAAE,CAAC,CAAA,OAAA,EAAU,UAAU,SAAS,EAAE,CAAA,EAAG;oBAAW,CAAA;6EAAI;gBAAC,UAAU;aAAC;QAC9F;IACF;IAEA,YAAY,SAAA,GAAY,UAAU,SAAA;IAClC,OAAO;AACT"}}, - {"offset": {"line": 864, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40radix-ui/react-use-layout-effect/src/use-layout-effect.tsx"],"sourcesContent":["import * as React from 'react';\n\n/**\n * On the server, React emits a warning when calling `useLayoutEffect`.\n * This is because neither `useLayoutEffect` nor `useEffect` run on the server.\n * We use this safe version which suppresses the warning by replacing it with a noop on the server.\n *\n * See: https://reactjs.org/docs/hooks-reference.html#uselayouteffect\n */\nconst useLayoutEffect = globalThis?.document ? React.useLayoutEffect : () => {};\n\nexport { useLayoutEffect };\n"],"names":["useLayoutEffect"],"mappings":";;;;;AAAA,YAAY,WAAW;;AASvB,IAAMA,mBAAkB,YAAY,WAAiB,gLAAA,GAAkB,KAAO,CAAD"}}, - {"offset": {"line": 878, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40radix-ui/react-id/src/id.tsx"],"sourcesContent":["import * as React from 'react';\nimport { useLayoutEffect } from '@radix-ui/react-use-layout-effect';\n\n// We spaces with `.trim().toString()` to prevent bundlers from trying to `import { useId } from 'react';`\nconst useReactId = (React as any)[' useId '.trim().toString()] || (() => undefined);\nlet count = 0;\n\nfunction useId(deterministicId?: string): string {\n const [id, setId] = React.useState<string | undefined>(useReactId());\n // React versions older than 18 will have client-side ids only.\n useLayoutEffect(() => {\n if (!deterministicId) setId((reactId) => reactId ?? String(count++));\n }, [deterministicId]);\n return deterministicId || (id ? `radix-${id}` : '');\n}\n\nexport { useId };\n"],"names":[],"mappings":";;;;;AAAA,YAAY,WAAW;AACvB,SAAS,uBAAuB;;;AAGhC,IAAM,aAAc,6JAAA,CAAc,UAAU,IAAA,CAAK,EAAE,QAAA,CAAS,CAAC,CAAA,IAAA,CAAM,IAAM,KAAA,CAAA;AACzE,IAAI,QAAQ;AAEZ,SAAS,MAAM,eAAA,EAAkC;IAC/C,MAAM,CAAC,IAAI,KAAK,CAAA,GAAU,8JAAA,QAAA,CAA6B,WAAW,CAAC;IAEnE,IAAA,yMAAA;iCAAgB,MAAM;YACpB,IAAI,CAAC,gBAAiB,CAAA;yCAAM,CAAC,UAAY,WAAW,OAAO,OAAO,CAAC;;QACrE;gCAAG;QAAC,eAAe;KAAC;IACpB,OAAO,mBAAA,CAAoB,KAAK,CAAA,MAAA,EAAS,EAAE,EAAA,GAAK,EAAA;AAClD"}}, - {"offset": {"line": 908, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40radix-ui/react-use-effect-event/src/use-effect-event.tsx"],"sourcesContent":["/* eslint-disable react-hooks/rules-of-hooks */\nimport { useLayoutEffect } from '@radix-ui/react-use-layout-effect';\nimport * as React from 'react';\n\ntype AnyFunction = (...args: any[]) => any;\n\n// See https://github.com/webpack/webpack/issues/14814\nconst useReactEffectEvent = (React as any)[' useEffectEvent '.trim().toString()];\nconst useReactInsertionEffect = (React as any)[' useInsertionEffect '.trim().toString()];\n\n/**\n * Designed to approximate the behavior on `experimental_useEffectEvent` as best\n * as possible until its stable release, and back-fill it as a shim as needed.\n */\nexport function useEffectEvent<T extends AnyFunction>(callback?: T): T {\n if (typeof useReactEffectEvent === 'function') {\n return useReactEffectEvent(callback);\n }\n\n const ref = React.useRef<AnyFunction | undefined>(() => {\n throw new Error('Cannot call an event handler while rendering.');\n });\n // See https://github.com/webpack/webpack/issues/14814\n if (typeof useReactInsertionEffect === 'function') {\n useReactInsertionEffect(() => {\n ref.current = callback;\n });\n } else {\n useLayoutEffect(() => {\n ref.current = callback;\n });\n }\n\n // https://github.com/facebook/react/issues/19240\n return React.useMemo(() => ((...args) => ref.current?.(...args)) as T, []);\n}\n"],"names":[],"mappings":";;;;;AACA,SAAS,uBAAuB;AAChC,YAAY,WAAW;;;AAKvB,IAAM,sBAAuB,6JAAA,CAAc,mBAAmB,IAAA,CAAK,EAAE,QAAA,CAAS,CAAC,CAAA;AAC/E,IAAM,0BAA2B,6JAAA,CAAc,uBAAuB,IAAA,CAAK,EAAE,QAAA,CAAS,CAAC,CAAA;AAMhF,SAAS,eAAsC,QAAA,EAAiB;IACrE,IAAI,OAAO,wBAAwB,YAAY;QAC7C,OAAO,oBAAoB,QAAQ;IACrC;IAEA,MAAM,MAAY,8JAAA,MAAA;sCAAgC,MAAM;YACtD,MAAM,IAAI,MAAM,+CAA+C;QACjE,CAAC;;IAED,IAAI,OAAO,4BAA4B,YAAY;QACjD;sDAAwB,MAAM;gBAC5B,IAAI,OAAA,GAAU;YAChB,CAAC;;IACH,OAAO;QACL,IAAA,yMAAA;8CAAgB,MAAM;gBACpB,IAAI,OAAA,GAAU;YAChB,CAAC;;IACH;IAGA,OAAa,8JAAA,OAAA;kCAAQ;0CAAO,CAAA,GAAI,OAAS,IAAI,OAAA,GAAU,GAAG,IAAI;;iCAAS,CAAC,CAAC;AAC3E"}}, - {"offset": {"line": 953, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40radix-ui/react-use-controllable-state/src/use-controllable-state.tsx","file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40radix-ui/react-use-controllable-state/src/use-controllable-state-reducer.tsx"],"sourcesContent":["import * as React from 'react';\nimport { useLayoutEffect } from '@radix-ui/react-use-layout-effect';\n\n// Prevent bundlers from trying to optimize the import\nconst useInsertionEffect: typeof useLayoutEffect =\n (React as any)[' useInsertionEffect '.trim().toString()] || useLayoutEffect;\n\ntype ChangeHandler<T> = (state: T) => void;\ntype SetStateFn<T> = React.Dispatch<React.SetStateAction<T>>;\n\ninterface UseControllableStateParams<T> {\n prop?: T | undefined;\n defaultProp: T;\n onChange?: ChangeHandler<T>;\n caller?: string;\n}\n\nexport function useControllableState<T>({\n prop,\n defaultProp,\n onChange = () => {},\n caller,\n}: UseControllableStateParams<T>): [T, SetStateFn<T>] {\n const [uncontrolledProp, setUncontrolledProp, onChangeRef] = useUncontrolledState({\n defaultProp,\n onChange,\n });\n const isControlled = prop !== undefined;\n const value = isControlled ? prop : uncontrolledProp;\n\n // OK to disable conditionally calling hooks here because they will always run\n // consistently in the same environment. Bundlers should be able to remove the\n // code block entirely in production.\n /* eslint-disable react-hooks/rules-of-hooks */\n if (process.env.NODE_ENV !== 'production') {\n const isControlledRef = React.useRef(prop !== undefined);\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 /* eslint-enable react-hooks/rules-of-hooks */\n\n const setValue = React.useCallback<SetStateFn<T>>(\n (nextValue) => {\n if (isControlled) {\n const value = isFunction(nextValue) ? nextValue(prop) : nextValue;\n if (value !== prop) {\n onChangeRef.current?.(value);\n }\n } else {\n setUncontrolledProp(nextValue);\n }\n },\n [isControlled, prop, setUncontrolledProp, onChangeRef]\n );\n\n return [value, setValue];\n}\n\nfunction useUncontrolledState<T>({\n defaultProp,\n onChange,\n}: Omit<UseControllableStateParams<T>, 'prop'>): [\n Value: T,\n setValue: React.Dispatch<React.SetStateAction<T>>,\n OnChangeRef: React.RefObject<ChangeHandler<T> | undefined>,\n] {\n const [value, setValue] = React.useState(defaultProp);\n const prevValueRef = React.useRef(value);\n\n const onChangeRef = React.useRef(onChange);\n useInsertionEffect(() => {\n onChangeRef.current = onChange;\n }, [onChange]);\n\n React.useEffect(() => {\n if (prevValueRef.current !== value) {\n onChangeRef.current?.(value);\n prevValueRef.current = value;\n }\n }, [value, prevValueRef]);\n\n return [value, setValue, onChangeRef];\n}\n\nfunction isFunction(value: unknown): value is (...args: any[]) => any {\n return typeof value === 'function';\n}\n","import * as React from 'react';\nimport { useEffectEvent } from '@radix-ui/react-use-effect-event';\n\ntype ChangeHandler<T> = (state: T) => void;\n\ninterface UseControllableStateParams<T> {\n prop: T | undefined;\n defaultProp: T;\n onChange: ChangeHandler<T> | undefined;\n caller: string;\n}\n\ninterface AnyAction {\n type: string;\n}\n\nconst SYNC_STATE = Symbol('RADIX:SYNC_STATE');\n\ninterface SyncStateAction<T> {\n type: typeof SYNC_STATE;\n state: T;\n}\n\nexport function useControllableStateReducer<T, S extends {}, A extends AnyAction>(\n reducer: (prevState: S & { state: T }, action: A) => S & { state: T },\n userArgs: UseControllableStateParams<T>,\n initialState: S\n): [S & { state: T }, React.Dispatch<A>];\n\nexport function useControllableStateReducer<T, S extends {}, I, A extends AnyAction>(\n reducer: (prevState: S & { state: T }, action: A) => S & { state: T },\n userArgs: UseControllableStateParams<T>,\n initialArg: I,\n init: (i: I & { state: T }) => S\n): [S & { state: T }, React.Dispatch<A>];\n\nexport function useControllableStateReducer<T, S extends {}, A extends AnyAction>(\n reducer: (prevState: S & { state: T }, action: A) => S & { state: T },\n userArgs: UseControllableStateParams<T>,\n initialArg: any,\n init?: (i: any) => Omit<S, 'state'>\n): [S & { state: T }, React.Dispatch<A>] {\n const { prop: controlledState, defaultProp, onChange: onChangeProp, caller } = userArgs;\n const isControlled = controlledState !== undefined;\n\n const onChange = useEffectEvent(onChangeProp);\n\n // OK to disable conditionally calling hooks here because they will always run\n // consistently in the same environment. Bundlers should be able to remove the\n // code block entirely in production.\n /* eslint-disable react-hooks/rules-of-hooks */\n if (process.env.NODE_ENV !== 'production') {\n const isControlledRef = React.useRef(controlledState !== undefined);\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 /* eslint-enable react-hooks/rules-of-hooks */\n\n type InternalState = S & { state: T };\n const args: [InternalState] = [{ ...initialArg, state: defaultProp }];\n if (init) {\n // @ts-expect-error\n args.push(init);\n }\n\n const [internalState, dispatch] = React.useReducer(\n (state: InternalState, action: A | SyncStateAction<T>): InternalState => {\n if (action.type === SYNC_STATE) {\n return { ...state, state: action.state };\n }\n\n const next = reducer(state, action);\n if (isControlled && !Object.is(next.state, state.state)) {\n onChange(next.state);\n }\n return next;\n },\n ...args\n );\n\n const uncontrolledState = internalState.state;\n const prevValueRef = React.useRef(uncontrolledState);\n React.useEffect(() => {\n if (prevValueRef.current !== uncontrolledState) {\n prevValueRef.current = uncontrolledState;\n if (!isControlled) {\n onChange(uncontrolledState);\n }\n }\n }, [onChange, uncontrolledState, prevValueRef, isControlled]);\n\n const state = React.useMemo(() => {\n const isControlled = controlledState !== undefined;\n if (isControlled) {\n return { ...internalState, state: controlledState };\n }\n\n return internalState;\n }, [internalState, controlledState]);\n\n React.useEffect(() => {\n // Sync internal state for controlled components so that reducer is called\n // with the correct state values\n if (isControlled && !Object.is(controlledState, internalState.state)) {\n dispatch({ type: SYNC_STATE, state: controlledState });\n }\n }, [controlledState, internalState.state, isControlled]);\n\n return [state, dispatch as React.Dispatch<A>];\n}\n"],"names":["value", "React", "state", "isControlled"],"mappings":";;;;;;;AAAA,YAAY,WAAW;AACvB,SAAS,uBAAuB;ACAhC,SAAS,sBAAsB;;;ADG/B,IAAM,qBACH,6JAAA,CAAc,uBAAuB,IAAA,CAAK,EAAE,QAAA,CAAS,CAAC,CAAA,IAAK,yMAAA;AAYvD,SAAS,qBAAwB,EACtC,IAAA,EACA,WAAA,EACA,WAAW,KAAO,CAAA,AAAD,EACjB,MAAA,EACF,EAAsD;IACpD,MAAM,CAAC,kBAAkB,qBAAqB,WAAW,CAAA,GAAI,qBAAqB;QAChF;QACA;IACF,CAAC;IACD,MAAM,eAAe,SAAS,KAAA;IAC9B,MAAM,QAAQ,eAAe,OAAO;IAMpC,IAAI,oCAAuC;QACzC,MAAM,kBAAwB,8JAAA,MAAA,CAAO,SAAS,KAAA,CAAS;QACjD,8JAAA,SAAA;8CAAU,MAAM;gBACpB,MAAM,gBAAgB,gBAAgB,OAAA;gBACtC,IAAI,kBAAkB,cAAc;oBAClC,MAAM,OAAO,gBAAgB,eAAe;oBAC5C,MAAM,KAAK,eAAe,eAAe;oBACzC,QAAQ,IAAA,CACN,GAAG,MAAM,CAAA,kBAAA,EAAqB,IAAI,CAAA,IAAA,EAAO,EAAE,CAAA,0KAAA,CAAA;gBAE/C;gBACA,gBAAgB,OAAA,GAAU;YAC5B;6CAAG;YAAC;YAAc,MAAM;SAAC;IA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C,IAAIA,eAAc;gBAChB,OAAO;oBAAE,GAAG,aAAA;oBAAe,OAAO;gBAAgB;YACpD;YAEA,OAAO;QACT;qDAAG;QAAC;QAAe,eAAe;KAAC;IAE7B,8JAAA,SAAA;iDAAU,MAAM;YAGpB,IAAI,gBAAgB,CAAC,OAAO,EAAA,CAAG,iBAAiB,cAAc,KAAK,GAAG;gBACpE,SAAS;oBAAE,MAAM;oBAAY,OAAO;gBAAgB,CAAC;YACvD;QACF;gDAAG;QAAC;QAAiB,cAAc,KAAA;QAAO,YAAY;KAAC;IAEvD,OAAO;QAAC;QAAO,QAA6B;KAAA;AAC9C"}}, - {"offset": {"line": 1148, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40radix-ui/react-primitive/node_modules/%40radix-ui/react-slot/src/slot.tsx"],"sourcesContent":["import * as React from 'react';\nimport { composeRefs } from '@radix-ui/react-compose-refs';\n\n/* -------------------------------------------------------------------------------------------------\n * Slot\n * -----------------------------------------------------------------------------------------------*/\n\ninterface SlotProps extends React.HTMLAttributes<HTMLElement> {\n children?: React.ReactNode;\n}\n\n/* @__NO_SIDE_EFFECTS__ */ export function createSlot(ownerName: string) {\n const SlotClone = createSlotClone(ownerName);\n const Slot = React.forwardRef<HTMLElement, SlotProps>((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n\n if (slottable) {\n // the new element to render is the one passed as a child of `Slottable`\n const newElement = slottable.props.children;\n\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n // because the new element will be the one rendered, we are only interested\n // in grabbing its children (`newElement.props.children`)\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement)\n ? (newElement.props as { children: React.ReactNode }).children\n : null;\n } else {\n return child;\n }\n });\n\n return (\n <SlotClone {...slotProps} ref={forwardedRef}>\n {React.isValidElement(newElement)\n ? React.cloneElement(newElement, undefined, newChildren)\n : null}\n </SlotClone>\n );\n }\n\n return (\n <SlotClone {...slotProps} ref={forwardedRef}>\n {children}\n </SlotClone>\n );\n });\n\n Slot.displayName = `${ownerName}.Slot`;\n return Slot;\n}\n\nconst Slot = createSlot('Slot');\n\n/* -------------------------------------------------------------------------------------------------\n * SlotClone\n * -----------------------------------------------------------------------------------------------*/\n\ninterface SlotCloneProps {\n children: React.ReactNode;\n}\n\n/* @__NO_SIDE_EFFECTS__ */ function createSlotClone(ownerName: string) {\n const SlotClone = React.forwardRef<any, SlotCloneProps>((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n const props = mergeProps(slotProps, children.props as AnyProps);\n // do not pass ref to React.Fragment for React 19 compatibility\n if (children.type !== React.Fragment) {\n props.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;\n }\n return React.cloneElement(children, props);\n }\n\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n });\n\n SlotClone.displayName = `${ownerName}.SlotClone`;\n return SlotClone;\n}\n\n/* -------------------------------------------------------------------------------------------------\n * Slottable\n * -----------------------------------------------------------------------------------------------*/\n\nconst SLOTTABLE_IDENTIFIER = Symbol('radix.slottable');\n\ninterface SlottableProps {\n children: React.ReactNode;\n}\n\ninterface SlottableComponent extends React.FC<SlottableProps> {\n __radixId: symbol;\n}\n\n/* @__NO_SIDE_EFFECTS__ */ export function createSlottable(ownerName: string) {\n const Slottable: SlottableComponent = ({ children }) => {\n return <>{children}</>;\n };\n Slottable.displayName = `${ownerName}.Slottable`;\n Slottable.__radixId = SLOTTABLE_IDENTIFIER;\n return Slottable;\n}\n\nconst Slottable = createSlottable('Slottable');\n\n/* ---------------------------------------------------------------------------------------------- */\n\ntype AnyProps = Record<string, any>;\n\nfunction isSlottable(\n child: React.ReactNode\n): child is React.ReactElement<SlottableProps, typeof Slottable> {\n return (\n React.isValidElement(child) &&\n typeof child.type === 'function' &&\n '__radixId' in child.type &&\n child.type.__radixId === SLOTTABLE_IDENTIFIER\n );\n}\n\nfunction mergeProps(slotProps: AnyProps, childProps: AnyProps) {\n // all child props should override\n const overrideProps = { ...childProps };\n\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n // if the handler exists on both, we compose them\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args: unknown[]) => {\n const result = childPropValue(...args);\n slotPropValue(...args);\n return result;\n };\n }\n // but if it exists only on the slot, we use only this one\n else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n }\n // if it's `style`, we merge them\n else if (propName === 'style') {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === 'className') {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(' ');\n }\n }\n\n return { ...slotProps, ...overrideProps };\n}\n\n// Before React 19 accessing `element.props.ref` will throw a warning and suggest using `element.ref`\n// After React 19 accessing `element.ref` does the opposite.\n// https://github.com/facebook/react/pull/28348\n//\n// Access the ref using the method that doesn't yield a warning.\nfunction getElementRef(element: React.ReactElement) {\n // React <=18 in DEV\n let getter = Object.getOwnPropertyDescriptor(element.props, 'ref')?.get;\n let mayWarn = getter && 'isReactWarning' in getter && getter.isReactWarning;\n if (mayWarn) {\n return (element as any).ref;\n }\n\n // React 19 in DEV\n getter = Object.getOwnPropertyDescriptor(element, 'ref')?.get;\n mayWarn = getter && 'isReactWarning' in getter && getter.isReactWarning;\n if (mayWarn) {\n return (element.props as { ref?: React.Ref<unknown> }).ref;\n }\n\n // Not DEV\n return (element.props as { ref?: React.Ref<unknown> }).ref || (element as any).ref;\n}\n\nexport {\n Slot,\n Slottable,\n //\n Slot as Root,\n};\nexport type { SlotProps };\n"],"names":["Fragment", "Slot", "props", "Slottable"],"mappings":";;;;;;;;;;;;;AAAA,YAAY,WAAW;AACvB,SAAS,mBAAmB;AAmCpB,SAkEG,YAAAA,WAlEH;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AI,WAAW;YAEb,IAAI,iBAAiB,gBAAgB;gBACnC,aAAA,CAAc,QAAQ,CAAA,GAAI,CAAA,GAAI,SAAoB;oBAChD,MAAM,SAAS,eAAe,GAAG,IAAI;oBACrC,cAAc,GAAG,IAAI;oBACrB,OAAO;gBACT;YACF,OAAA,IAES,eAAe;gBACtB,aAAA,CAAc,QAAQ,CAAA,GAAI;YAC5B;QACF,OAAA,IAES,aAAa,SAAS;YAC7B,aAAA,CAAc,QAAQ,CAAA,GAAI;gBAAE,GAAG,aAAA;gBAAe,GAAG,cAAA;YAAe;QAClE,OAAA,IAAW,aAAa,aAAa;YACnC,aAAA,CAAc,QAAQ,CAAA,GAAI;gBAAC;gBAAe,cAAc;aAAA,CAAE,MAAA,CAAO,OAAO,EAAE,IAAA,CAAK,GAAG;QACpF;IACF;IAEA,OAAO;QAAE,GAAG,SAAA;QAAW,GAAG,aAAA;IAAc;AAC1C;AAOA,SAAS,cAAc,OAAA,EAA6B;IAElD,IAAI,SAAS,OAAO,wBAAA,CAAyB,QAAQ,KAAA,EAAO,KAAK,GAAG;IACpE,IAAI,UAAU,UAAU,oBAAoB,UAAU,OAAO,cAAA;IAC7D,IAAI,SAAS;QACX,OAAQ,QAAgB,GAAA;IAC1B;IAGA,SAAS,OAAO,wBAAA,CAAyB,SAAS,KAAK,GAAG;IAC1D,UAAU,UAAU,oBAAoB,UAAU,OAAO,cAAA;IACzD,IAAI,SAAS;QACX,OAAQ,QAAQ,KAAA,CAAuC,GAAA;IACzD;IAGA,OAAQ,QAAQ,KAAA,CAAuC,GAAA,IAAQ,QAAgB,GAAA;AACjF"}}, - {"offset": {"line": 1287, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40radix-ui/react-primitive/src/primitive.tsx"],"sourcesContent":["import * as React from 'react';\nimport * as ReactDOM from 'react-dom';\nimport { createSlot } from '@radix-ui/react-slot';\n\nconst 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] as const;\n\ntype Primitives = { [E in (typeof NODES)[number]]: PrimitiveForwardRefComponent<E> };\ntype PrimitivePropsWithRef<E extends React.ElementType> = React.ComponentPropsWithRef<E> & {\n asChild?: boolean;\n};\n\ninterface PrimitiveForwardRefComponent<E extends React.ElementType>\n extends React.ForwardRefExoticComponent<PrimitivePropsWithRef<E>> {}\n\n/* -------------------------------------------------------------------------------------------------\n * Primitive\n * -----------------------------------------------------------------------------------------------*/\n\nconst Primitive = NODES.reduce((primitive, node) => {\n const Slot = createSlot(`Primitive.${node}`);\n const Node = React.forwardRef((props: PrimitivePropsWithRef<typeof node>, forwardedRef: any) => {\n const { asChild, ...primitiveProps } = props;\n const Comp: any = asChild ? Slot : node;\n\n if (typeof window !== 'undefined') {\n (window as any)[Symbol.for('radix-ui')] = true;\n }\n\n return <Comp {...primitiveProps} ref={forwardedRef} />;\n });\n\n Node.displayName = `Primitive.${node}`;\n\n return { ...primitive, [node]: Node };\n}, {} as Primitives);\n\n/* -------------------------------------------------------------------------------------------------\n * Utils\n * -----------------------------------------------------------------------------------------------*/\n\n/**\n * Flush custom event dispatch\n * https://github.com/radix-ui/primitives/pull/1378\n *\n * React batches *all* event handlers since version 18, this introduces certain considerations when using custom event types.\n *\n * Internally, React prioritises events in the following order:\n * - discrete\n * - continuous\n * - default\n *\n * https://github.com/facebook/react/blob/a8a4742f1c54493df00da648a3f9d26e3db9c8b5/packages/react-dom/src/events/ReactDOMEventListener.js#L294-L350\n *\n * `discrete` is an important distinction as updates within these events are applied immediately.\n * React however, is not able to infer the priority of custom event types due to how they are detected internally.\n * Because of this, it's possible for updates from custom events to be unexpectedly batched when\n * dispatched by another `discrete` event.\n *\n * In order to ensure that updates from custom events are applied predictably, we need to manually flush the batch.\n * This utility should be used when dispatching a custom event from within another `discrete` event, this utility\n * is not necessary when dispatching known event types, or if dispatching a custom type inside a non-discrete event.\n * For example:\n *\n * dispatching a known click \uD83D\uDC4E\n * target.dispatchEvent(new Event(\u2018click\u2019))\n *\n * dispatching a custom type within a non-discrete event \uD83D\uDC4E\n * onScroll={(event) => event.target.dispatchEvent(new CustomEvent(\u2018customType\u2019))}\n *\n * dispatching a custom type within a `discrete` event \uD83D\uDC4D\n * onPointerDown={(event) => dispatchDiscreteCustomEvent(event.target, new CustomEvent(\u2018customType\u2019))}\n *\n * Note: though React classifies `focus`, `focusin` and `focusout` events as `discrete`, it's not recommended to use\n * this utility with them. This is because it's possible for those handlers to be called implicitly during render\n * e.g. when focus is within a component as it is unmounted, or when managing focus on mount.\n */\n\nfunction dispatchDiscreteCustomEvent<E extends CustomEvent>(target: E['target'], event: E) {\n if (target) ReactDOM.flushSync(() => target.dispatchEvent(event));\n}\n\n/* -----------------------------------------------------------------------------------------------*/\n\nconst Root = Primitive;\n\nexport {\n Primitive,\n //\n Root,\n //\n dispatchDiscreteCustomEvent,\n};\nexport type { PrimitivePropsWithRef };\n"],"names":[],"mappings":";;;;;;;;;AAAA,YAAY,WAAW;AACvB,YAAY,cAAc;AAC1B,SAAS,kBAAkB;AA4ChB;;;;;AA1CX,IAAM,QAAQ;IACZ;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;CACF;AAcA,IAAM,YAAY,MAAM,MAAA,CAAO,CAAC,WAAW,SAAS;IAClD,MAAM,WAAO,wOAAA,EAAW,CAAA,UAAA,EAAa,IAAI,EAAE;IAC3C,MAAM,OAAa,2KAAA,CAAW,CAAC,OAA2C,iBAAsB;QAC9F,MAAM,EAAE,OAAA,EAAS,GAAG,eAAe,CAAA,GAAI;QACvC,MAAM,OAAY,UAAU,OAAO;QAEnC,IAAI,OAAO,WAAW,aAAa;YAChC,MAAA,CAAe,OAAO,GAAA,CAAI,UAAU,CAAC,CAAA,GAAI;QAC5C;QAEA,OAAO,aAAA,GAAA,IAAA,6KAAA,EAAC,MAAA;YAAM,GAAG,cAAA;YAAgB,KAAK;QAAA,CAAc;IACtD,CAAC;IAED,KAAK,WAAA,GAAc,CAAA,UAAA,EAAa,IAAI,EAAA;IAEpC,OAAO;QAAE,GAAG,SAAA;QAAW,CAAC,IAAI,CAAA,EAAG;IAAK;AACtC,GAAG,CAAC,CAAe;AA2CnB,SAAS,4BAAmD,MAAA,EAAqB,KAAA,EAAU;IACzF,IAAI,OAAQ,CAAS,iLAAA,CAAU,IAAM,OAAO,aAAA,CAAc,KAAK,CAAC;AAClE;AAIA,IAAM,OAAO"}}, - {"offset": {"line": 1352, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40radix-ui/react-use-callback-ref/src/use-callback-ref.tsx"],"sourcesContent":["import * as React from 'react';\n\n/**\n * A custom hook that converts a callback to a ref to avoid triggering re-renders when passed as a\n * prop or avoid re-executing effects when passed as a dependency\n */\nfunction useCallbackRef<T extends (...args: any[]) => any>(callback: T | undefined): T {\n const callbackRef = React.useRef(callback);\n\n React.useEffect(() => {\n callbackRef.current = callback;\n });\n\n // https://github.com/facebook/react/issues/19240\n return React.useMemo(() => ((...args) => callbackRef.current?.(...args)) as T, []);\n}\n\nexport { useCallbackRef };\n"],"names":[],"mappings":";;;;;AAAA,YAAY,WAAW;;AAMvB,SAAS,eAAkD,QAAA,EAA4B;IACrF,MAAM,cAAoB,uKAAA,CAAO,QAAQ;IAEnC,0KAAA;oCAAU,MAAM;YACpB,YAAY,OAAA,GAAU;QACxB,CAAC;;IAGD,OAAa,wKAAA;kCAAQ;0CAAO,CAAA,GAAI,OAAS,YAAY,OAAA,GAAU,GAAG,IAAI;;iCAAS,CAAC,CAAC;AACnF"}}, - {"offset": {"line": 1378, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40radix-ui/react-use-escape-keydown/src/use-escape-keydown.tsx"],"sourcesContent":["import * as React from 'react';\nimport { useCallbackRef } from '@radix-ui/react-use-callback-ref';\n\n/**\n * Listens for when the escape key is down\n */\nfunction useEscapeKeydown(\n onEscapeKeyDownProp?: (event: KeyboardEvent) => void,\n ownerDocument: Document = globalThis?.document\n) {\n const onEscapeKeyDown = useCallbackRef(onEscapeKeyDownProp);\n\n React.useEffect(() => {\n const handleKeyDown = (event: KeyboardEvent) => {\n if (event.key === 'Escape') {\n onEscapeKeyDown(event);\n }\n };\n ownerDocument.addEventListener('keydown', handleKeyDown, { capture: true });\n return () => ownerDocument.removeEventListener('keydown', handleKeyDown, { capture: true });\n }, [onEscapeKeyDown, ownerDocument]);\n}\n\nexport { useEscapeKeydown };\n"],"names":[],"mappings":";;;;;AAAA,YAAY,WAAW;AACvB,SAAS,sBAAsB;;;AAK/B,SAAS,iBACP,mBAAA,EACA,gBAA0B,YAAY,QAAA,EACtC;IACA,MAAM,sBAAkB,uMAAA,EAAe,mBAAmB;IAEpD,0KAAA;sCAAU,MAAM;YACpB,MAAM;4DAAgB,CAAC,UAAyB;oBAC9C,IAAI,MAAM,GAAA,KAAQ,UAAU;wBAC1B,gBAAgB,KAAK;oBACvB;gBACF;;YACA,cAAc,gBAAA,CAAiB,WAAW,eAAe;gBAAE,SAAS;YAAK,CAAC;YAC1E;8CAAO,IAAM,cAAc,mBAAA,CAAoB,WAAW,eAAe;wBAAE,SAAS;oBAAK,CAAC;;QAC5F;qCAAG;QAAC;QAAiB,aAAa;KAAC;AACrC"}}, - {"offset": {"line": 1418, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40radix-ui/react-dismissable-layer/src/dismissable-layer.tsx"],"sourcesContent":["import * 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 { useEscapeKeydown } from '@radix-ui/react-use-escape-keydown';\n\n/* -------------------------------------------------------------------------------------------------\n * DismissableLayer\n * -----------------------------------------------------------------------------------------------*/\n\nconst DISMISSABLE_LAYER_NAME = 'DismissableLayer';\nconst CONTEXT_UPDATE = 'dismissableLayer.update';\nconst POINTER_DOWN_OUTSIDE = 'dismissableLayer.pointerDownOutside';\nconst FOCUS_OUTSIDE = 'dismissableLayer.focusOutside';\n\nlet originalBodyPointerEvents: string;\n\nconst DismissableLayerContext = React.createContext({\n layers: new Set<DismissableLayerElement>(),\n layersWithOutsidePointerEventsDisabled: new Set<DismissableLayerElement>(),\n branches: new Set<DismissableLayerBranchElement>(),\n});\n\ntype DismissableLayerElement = React.ComponentRef<typeof Primitive.div>;\ntype PrimitiveDivProps = React.ComponentPropsWithoutRef<typeof Primitive.div>;\ninterface DismissableLayerProps extends PrimitiveDivProps {\n /**\n * When `true`, hover/focus/click interactions will be disabled on elements outside\n * the `DismissableLayer`. Users will need to click twice on outside elements to\n * interact with them: once to close the `DismissableLayer`, and again to trigger the element.\n */\n disableOutsidePointerEvents?: boolean;\n /**\n * Event handler called when the escape key is down.\n * Can be prevented.\n */\n onEscapeKeyDown?: (event: KeyboardEvent) => void;\n /**\n * Event handler called when the a `pointerdown` event happens outside of the `DismissableLayer`.\n * Can be prevented.\n */\n onPointerDownOutside?: (event: PointerDownOutsideEvent) => void;\n /**\n * Event handler called when the focus moves outside of the `DismissableLayer`.\n * Can be prevented.\n */\n onFocusOutside?: (event: FocusOutsideEvent) => void;\n /**\n * Event handler called when an interaction happens outside the `DismissableLayer`.\n * Specifically, when a `pointerdown` event happens outside or focus moves outside of it.\n * Can be prevented.\n */\n onInteractOutside?: (event: PointerDownOutsideEvent | FocusOutsideEvent) => void;\n /**\n * Handler called when the `DismissableLayer` should be dismissed\n */\n onDismiss?: () => void;\n}\n\nconst DismissableLayer = React.forwardRef<DismissableLayerElement, DismissableLayerProps>(\n (props, forwardedRef) => {\n const {\n disableOutsidePointerEvents = 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<DismissableLayerElement | null>(null);\n const ownerDocument = node?.ownerDocument ?? globalThis?.document;\n const [, force] = React.useState({});\n const composedRefs = useComposedRefs(forwardedRef, (node) => setNode(node));\n const layers = Array.from(context.layers);\n const [highestLayerWithOutsidePointerEventsDisabled] = [...context.layersWithOutsidePointerEventsDisabled].slice(-1); // prettier-ignore\n const highestLayerWithOutsidePointerEventsDisabledIndex = layers.indexOf(highestLayerWithOutsidePointerEventsDisabled!); // prettier-ignore\n const index = node ? layers.indexOf(node) : -1;\n const isBodyPointerEventsDisabled = context.layersWithOutsidePointerEventsDisabled.size > 0;\n const isPointerEventsEnabled = index >= highestLayerWithOutsidePointerEventsDisabledIndex;\n\n const pointerDownOutside = usePointerDownOutside((event) => {\n const target = event.target as HTMLElement;\n const isPointerDownOnBranch = [...context.branches].some((branch) => branch.contains(target));\n if (!isPointerEventsEnabled || isPointerDownOnBranch) return;\n onPointerDownOutside?.(event);\n onInteractOutside?.(event);\n if (!event.defaultPrevented) onDismiss?.();\n }, ownerDocument);\n\n const focusOutside = useFocusOutside((event) => {\n const target = event.target as HTMLElement;\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\n useEscapeKeydown((event) => {\n const isHighestLayer = index === context.layers.size - 1;\n if (!isHighestLayer) return;\n onEscapeKeyDown?.(event);\n if (!event.defaultPrevented && onDismiss) {\n event.preventDefault();\n onDismiss();\n }\n }, ownerDocument);\n\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 (\n disableOutsidePointerEvents &&\n context.layersWithOutsidePointerEventsDisabled.size === 1\n ) {\n ownerDocument.body.style.pointerEvents = originalBodyPointerEvents;\n }\n };\n }, [node, ownerDocument, disableOutsidePointerEvents, context]);\n\n /**\n * We purposefully prevent combining this effect with the `disableOutsidePointerEvents` effect\n * because a change to `disableOutsidePointerEvents` would remove this layer from the stack\n * and add it to the end again so the layering order wouldn't be _creation order_.\n * We only want them to be removed from context stacks when unmounted.\n */\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\n React.useEffect(() => {\n const handleUpdate = () => force({});\n document.addEventListener(CONTEXT_UPDATE, handleUpdate);\n return () => document.removeEventListener(CONTEXT_UPDATE, handleUpdate);\n }, []);\n\n return (\n <Primitive.div\n {...layerProps}\n ref={composedRefs}\n style={{\n pointerEvents: isBodyPointerEventsDisabled\n ? isPointerEventsEnabled\n ? 'auto'\n : 'none'\n : undefined,\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 }\n);\n\nDismissableLayer.displayName = DISMISSABLE_LAYER_NAME;\n\n/* -------------------------------------------------------------------------------------------------\n * DismissableLayerBranch\n * -----------------------------------------------------------------------------------------------*/\n\nconst BRANCH_NAME = 'DismissableLayerBranch';\n\ntype DismissableLayerBranchElement = React.ComponentRef<typeof Primitive.div>;\ninterface DismissableLayerBranchProps extends PrimitiveDivProps {}\n\nconst DismissableLayerBranch = React.forwardRef<\n DismissableLayerBranchElement,\n DismissableLayerBranchProps\n>((props, forwardedRef) => {\n const context = React.useContext(DismissableLayerContext);\n const ref = React.useRef<DismissableLayerBranchElement>(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n\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\n return <Primitive.div {...props} ref={composedRefs} />;\n});\n\nDismissableLayerBranch.displayName = BRANCH_NAME;\n\n/* -----------------------------------------------------------------------------------------------*/\n\ntype PointerDownOutsideEvent = CustomEvent<{ originalEvent: PointerEvent }>;\ntype FocusOutsideEvent = CustomEvent<{ originalEvent: FocusEvent }>;\n\n/**\n * Listens for `pointerdown` outside a react subtree. We use `pointerdown` rather than `pointerup`\n * to mimic layer dismissing behaviour present in OS.\n * Returns props to pass to the node we want to check for outside events.\n */\nfunction usePointerDownOutside(\n onPointerDownOutside?: (event: PointerDownOutsideEvent) => void,\n ownerDocument: Document = globalThis?.document\n) {\n const handlePointerDownOutside = useCallbackRef(onPointerDownOutside) as EventListener;\n const isPointerInsideReactTreeRef = React.useRef(false);\n const handleClickRef = React.useRef(() => {});\n\n React.useEffect(() => {\n const handlePointerDown = (event: PointerEvent) => {\n if (event.target && !isPointerInsideReactTreeRef.current) {\n const eventDetail = { originalEvent: event };\n\n function handleAndDispatchPointerDownOutsideEvent() {\n handleAndDispatchCustomEvent(\n POINTER_DOWN_OUTSIDE,\n handlePointerDownOutside,\n eventDetail,\n { discrete: true }\n );\n }\n\n /**\n * On touch devices, we need to wait for a click event because browsers implement\n * a ~350ms delay between the time the user stops touching the display and when the\n * browser executres events. We need to ensure we don't reactivate pointer-events within\n * this timeframe otherwise the browser may execute events that should have been prevented.\n *\n * Additionally, this also lets us deal automatically with cancellations when a click event\n * isn't raised because the page was considered scrolled/drag-scrolled, long-pressed, etc.\n *\n * This is why we also continuously remove the previous listener, because we cannot be\n * certain that it was raised, and therefore cleaned-up.\n */\n if (event.pointerType === 'touch') {\n ownerDocument.removeEventListener('click', handleClickRef.current);\n handleClickRef.current = handleAndDispatchPointerDownOutsideEvent;\n ownerDocument.addEventListener('click', handleClickRef.current, { once: true });\n } else {\n handleAndDispatchPointerDownOutsideEvent();\n }\n } else {\n // We need to remove the event listener in case the outside click has been canceled.\n // See: https://github.com/radix-ui/primitives/issues/2171\n ownerDocument.removeEventListener('click', handleClickRef.current);\n }\n isPointerInsideReactTreeRef.current = false;\n };\n /**\n * if this hook executes in a component that mounts via a `pointerdown` event, the event\n * would bubble up to the document and trigger a `pointerDownOutside` event. We avoid\n * this by delaying the event listener registration on the document.\n * This is not React specific, but rather how the DOM works, ie:\n * ```\n * button.addEventListener('pointerdown', () => {\n * console.log('I will log');\n * document.addEventListener('pointerdown', () => {\n * console.log('I will also log');\n * })\n * });\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 };\n }, [ownerDocument, handlePointerDownOutside]);\n\n return {\n // ensures we check React component tree (not just DOM tree)\n onPointerDownCapture: () => (isPointerInsideReactTreeRef.current = true),\n };\n}\n\n/**\n * Listens for when focus happens outside a react subtree.\n * Returns props to pass to the root (node) of the subtree we want to check.\n */\nfunction useFocusOutside(\n onFocusOutside?: (event: FocusOutsideEvent) => void,\n ownerDocument: Document = globalThis?.document\n) {\n const handleFocusOutside = useCallbackRef(onFocusOutside) as EventListener;\n const isFocusInsideReactTreeRef = React.useRef(false);\n\n React.useEffect(() => {\n const handleFocus = (event: FocusEvent) => {\n if (event.target && !isFocusInsideReactTreeRef.current) {\n const eventDetail = { originalEvent: event };\n handleAndDispatchCustomEvent(FOCUS_OUTSIDE, handleFocusOutside, eventDetail, {\n discrete: false,\n });\n }\n };\n ownerDocument.addEventListener('focusin', handleFocus);\n return () => ownerDocument.removeEventListener('focusin', handleFocus);\n }, [ownerDocument, handleFocusOutside]);\n\n return {\n onFocusCapture: () => (isFocusInsideReactTreeRef.current = true),\n onBlurCapture: () => (isFocusInsideReactTreeRef.current = false),\n };\n}\n\nfunction dispatchUpdate() {\n const event = new CustomEvent(CONTEXT_UPDATE);\n document.dispatchEvent(event);\n}\n\nfunction handleAndDispatchCustomEvent<E extends CustomEvent, OriginalEvent extends Event>(\n name: string,\n handler: ((event: E) => void) | undefined,\n detail: { originalEvent: OriginalEvent } & (E extends CustomEvent<infer D> ? D : never),\n { discrete }: { discrete: boolean }\n) {\n const target = detail.originalEvent.target;\n const event = new CustomEvent(name, { bubbles: false, cancelable: true, detail });\n if (handler) target.addEventListener(name, handler as EventListener, { once: true });\n\n if (discrete) {\n dispatchDiscreteCustomEvent(target, event);\n } else {\n target.dispatchEvent(event);\n }\n}\n\nconst Root = DismissableLayer;\nconst Branch = DismissableLayerBranch;\n\nexport {\n DismissableLayer,\n DismissableLayerBranch,\n //\n Root,\n Branch,\n};\nexport type { DismissableLayerProps };\n"],"names":["node", "handleAndDispatchPointerDownOutsideEvent"],"mappings":";;;;;;;;;;;AAAA,YAAY,WAAW;AACvB,SAAS,4BAA4B;AACrC,SAAS,WAAW,mCAAmC;AACvD,SAAS,uBAAuB;AAChC,SAAS,sBAAsB;AAC/B,SAAS,wBAAwB;AAqJ3B;;;;;;;;;AA/IN,IAAM,yBAAyB;AAC/B,IAAM,iBAAiB;AACvB,IAAM,uBAAuB;AAC7B,IAAM,gBAAgB;AAEtB,IAAI;AAEJ,IAAM,0BAAgC,8KAAA,CAAc;IAClD,QAAQ,aAAA,GAAA,IAAI,IAA6B;IACzC,wCAAwC,aAAA,GAAA,IAAI,IAA6B;IACzE,UAAU,aAAA,GAAA,IAAI,IAAmC;AACnD,CAAC;AAsCD,IAAM,mBAAyB,2KAAA,CAC7B,CAAC,OAAO,iBAAiB;IACvB,MAAM,EACJ,8BAA8B,KAAA,EAC9B,eAAA,EACA,oBAAA,EACA,cAAA,EACA,iBAAA,EACA,SAAA,EACA,GAAG,YACL,GAAI;IACJ,MAAM,UAAgB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BAC3C,6BAA6B,eAAe,oBAAoB,aAAa;4BAC3E,UAAU;wBACZ,CAAC;oBACH;gBACF;;YACA,cAAc,gBAAA,CAAiB,WAAW,WAAW;YACrD;6CAAO,IAAM,cAAc,mBAAA,CAAoB,WAAW,WAAW;;QACvE;oCAAG;QAAC;QAAe,kBAAkB;KAAC;IAEtC,OAAO;QACL,gBAAgB,IAAO,0BAA0B,OAAA,GAAU;QAC3D,eAAe,IAAO,0BAA0B,OAAA,GAAU;IAC5D;AACF;AAEA,SAAS,iBAAiB;IACxB,MAAM,QAAQ,IAAI,YAAY,cAAc;IAC5C,SAAS,aAAA,CAAc,KAAK;AAC9B;AAEA,SAAS,6BACP,IAAA,EACA,OAAA,EACA,MAAA,EACA,EAAE,QAAA,CAAS,CAAA,EACX;IACA,MAAM,SAAS,OAAO,aAAA,CAAc,MAAA;IACpC,MAAM,QAAQ,IAAI,YAAY,MAAM;QAAE,SAAS;QAAO,YAAY;QAAM;IAAO,CAAC;IAChF,IAAI,QAAS,CAAA,OAAO,gBAAA,CAAiB,MAAM,SAA0B;QAAE,MAAM;IAAK,CAAC;IAEnF,IAAI,UAAU;QACZ,IAAA,uMAAA,EAA4B,QAAQ,KAAK;IAC3C,OAAO;QACL,OAAO,aAAA,CAAc,KAAK;IAC5B;AACF;AAEA,IAAM,OAAO;AACb,IAAM,SAAS"}}, - {"offset": {"line": 1719, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40radix-ui/react-focus-scope/src/focus-scope.tsx"],"sourcesContent":["import * as React from 'react';\nimport { useComposedRefs } from '@radix-ui/react-compose-refs';\nimport { Primitive } from '@radix-ui/react-primitive';\nimport { useCallbackRef } from '@radix-ui/react-use-callback-ref';\n\nconst AUTOFOCUS_ON_MOUNT = 'focusScope.autoFocusOnMount';\nconst AUTOFOCUS_ON_UNMOUNT = 'focusScope.autoFocusOnUnmount';\nconst EVENT_OPTIONS = { bubbles: false, cancelable: true };\n\ntype FocusableTarget = HTMLElement | { focus(): void };\n\n/* -------------------------------------------------------------------------------------------------\n * FocusScope\n * -----------------------------------------------------------------------------------------------*/\n\nconst FOCUS_SCOPE_NAME = 'FocusScope';\n\ntype FocusScopeElement = React.ComponentRef<typeof Primitive.div>;\ntype PrimitiveDivProps = React.ComponentPropsWithoutRef<typeof Primitive.div>;\ninterface FocusScopeProps extends PrimitiveDivProps {\n /**\n * When `true`, tabbing from last item will focus first tabbable\n * and shift+tab from first item will focus last tababble.\n * @defaultValue false\n */\n loop?: boolean;\n\n /**\n * When `true`, focus cannot escape the focus scope via keyboard,\n * pointer, or a programmatic focus.\n * @defaultValue false\n */\n trapped?: boolean;\n\n /**\n * Event handler called when auto-focusing on mount.\n * Can be prevented.\n */\n onMountAutoFocus?: (event: Event) => void;\n\n /**\n * Event handler called when auto-focusing on unmount.\n * Can be prevented.\n */\n onUnmountAutoFocus?: (event: Event) => void;\n}\n\nconst FocusScope = React.forwardRef<FocusScopeElement, FocusScopeProps>((props, forwardedRef) => {\n const {\n loop = false,\n trapped = false,\n onMountAutoFocus: onMountAutoFocusProp,\n onUnmountAutoFocus: onUnmountAutoFocusProp,\n ...scopeProps\n } = props;\n const [container, setContainer] = React.useState<HTMLElement | null>(null);\n const onMountAutoFocus = useCallbackRef(onMountAutoFocusProp);\n const onUnmountAutoFocus = useCallbackRef(onUnmountAutoFocusProp);\n const lastFocusedElementRef = React.useRef<HTMLElement | null>(null);\n const composedRefs = useComposedRefs(forwardedRef, (node) => setContainer(node));\n\n const focusScope = React.useRef({\n paused: false,\n pause() {\n this.paused = true;\n },\n resume() {\n this.paused = false;\n },\n }).current;\n\n // Takes care of trapping focus if focus is moved outside programmatically for example\n React.useEffect(() => {\n if (trapped) {\n function handleFocusIn(event: FocusEvent) {\n if (focusScope.paused || !container) return;\n const target = event.target as HTMLElement | null;\n if (container.contains(target)) {\n lastFocusedElementRef.current = target;\n } else {\n focus(lastFocusedElementRef.current, { select: true });\n }\n }\n\n function handleFocusOut(event: FocusEvent) {\n if (focusScope.paused || !container) return;\n const relatedTarget = event.relatedTarget as HTMLElement | null;\n\n // A `focusout` event with a `null` `relatedTarget` will happen in at least two cases:\n //\n // 1. When the user switches app/tabs/windows/the browser itself loses focus.\n // 2. In Google Chrome, when the focused element is removed from the DOM.\n //\n // We let the browser do its thing here because:\n //\n // 1. The browser already keeps a memory of what's focused for when the page gets refocused.\n // 2. In Google Chrome, if we try to focus the deleted focused element (as per below), it\n // throws the CPU to 100%, so we avoid doing anything for this reason here too.\n if (relatedTarget === null) return;\n\n // If the focus has moved to an actual legitimate element (`relatedTarget !== null`)\n // that is outside the container, we move focus to the last valid focused element inside.\n if (!container.contains(relatedTarget)) {\n focus(lastFocusedElementRef.current, { select: true });\n }\n }\n\n // When the focused element gets removed from the DOM, browsers move focus\n // back to the document.body. In this case, we move focus to the container\n // to keep focus trapped correctly.\n function handleMutations(mutations: MutationRecord[]) {\n const focusedElement = document.activeElement as HTMLElement | null;\n if (focusedElement !== document.body) return;\n for (const mutation of mutations) {\n if (mutation.removedNodes.length > 0) focus(container);\n }\n }\n\n document.addEventListener('focusin', handleFocusIn);\n document.addEventListener('focusout', handleFocusOut);\n const mutationObserver = new MutationObserver(handleMutations);\n if (container) mutationObserver.observe(container, { childList: true, subtree: true });\n\n return () => {\n document.removeEventListener('focusin', handleFocusIn);\n document.removeEventListener('focusout', handleFocusOut);\n mutationObserver.disconnect();\n };\n }\n }, [trapped, container, focusScope.paused]);\n\n React.useEffect(() => {\n if (container) {\n focusScopesStack.add(focusScope);\n const previouslyFocusedElement = document.activeElement as HTMLElement | null;\n const hasFocusedCandidate = container.contains(previouslyFocusedElement);\n\n if (!hasFocusedCandidate) {\n const mountEvent = new CustomEvent(AUTOFOCUS_ON_MOUNT, EVENT_OPTIONS);\n container.addEventListener(AUTOFOCUS_ON_MOUNT, onMountAutoFocus);\n container.dispatchEvent(mountEvent);\n if (!mountEvent.defaultPrevented) {\n focusFirst(removeLinks(getTabbableCandidates(container)), { select: true });\n if (document.activeElement === previouslyFocusedElement) {\n focus(container);\n }\n }\n }\n\n return () => {\n container.removeEventListener(AUTOFOCUS_ON_MOUNT, onMountAutoFocus);\n\n // We hit a react bug (fixed in v17) with focusing in unmount.\n // We need to delay the focus a little to get around it for now.\n // See: https://github.com/facebook/react/issues/17894\n setTimeout(() => {\n const unmountEvent = new CustomEvent(AUTOFOCUS_ON_UNMOUNT, EVENT_OPTIONS);\n container.addEventListener(AUTOFOCUS_ON_UNMOUNT, onUnmountAutoFocus);\n container.dispatchEvent(unmountEvent);\n if (!unmountEvent.defaultPrevented) {\n focus(previouslyFocusedElement ?? document.body, { select: true });\n }\n // we need to remove the listener after we `dispatchEvent`\n container.removeEventListener(AUTOFOCUS_ON_UNMOUNT, onUnmountAutoFocus);\n\n focusScopesStack.remove(focusScope);\n }, 0);\n };\n }\n }, [container, onMountAutoFocus, onUnmountAutoFocus, focusScope]);\n\n // Takes care of looping focus (when tabbing whilst at the edges)\n const handleKeyDown = React.useCallback(\n (event: React.KeyboardEvent) => {\n if (!loop && !trapped) return;\n if (focusScope.paused) return;\n\n const isTabKey = event.key === 'Tab' && !event.altKey && !event.ctrlKey && !event.metaKey;\n const focusedElement = document.activeElement as HTMLElement | null;\n\n if (isTabKey && focusedElement) {\n const container = event.currentTarget as HTMLElement;\n const [first, last] = getTabbableEdges(container);\n const hasTabbableElementsInside = first && last;\n\n // we can only wrap focus if we have tabbable edges\n if (!hasTabbableElementsInside) {\n if (focusedElement === container) event.preventDefault();\n } else {\n if (!event.shiftKey && focusedElement === last) {\n event.preventDefault();\n if (loop) focus(first, { select: true });\n } else if (event.shiftKey && focusedElement === first) {\n event.preventDefault();\n if (loop) focus(last, { select: true });\n }\n }\n }\n },\n [loop, trapped, focusScope.paused]\n );\n\n return (\n <Primitive.div tabIndex={-1} {...scopeProps} ref={composedRefs} onKeyDown={handleKeyDown} />\n );\n});\n\nFocusScope.displayName = FOCUS_SCOPE_NAME;\n\n/* -------------------------------------------------------------------------------------------------\n * Utils\n * -----------------------------------------------------------------------------------------------*/\n\n/**\n * Attempts focusing the first element in a list of candidates.\n * Stops when focus has actually moved.\n */\nfunction focusFirst(candidates: HTMLElement[], { select = false } = {}) {\n const previouslyFocusedElement = document.activeElement;\n for (const candidate of candidates) {\n focus(candidate, { select });\n if (document.activeElement !== previouslyFocusedElement) return;\n }\n}\n\n/**\n * Returns the first and last tabbable elements inside a container.\n */\nfunction getTabbableEdges(container: HTMLElement) {\n const candidates = getTabbableCandidates(container);\n const first = findVisible(candidates, container);\n const last = findVisible(candidates.reverse(), container);\n return [first, last] as const;\n}\n\n/**\n * Returns a list of potential tabbable candidates.\n *\n * NOTE: This is only a close approximation. For example it doesn't take into account cases like when\n * elements are not visible. This cannot be worked out easily by just reading a property, but rather\n * necessitate runtime knowledge (computed styles, etc). We deal with these cases separately.\n *\n * See: https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker\n * Credit: https://github.com/discord/focus-layers/blob/master/src/util/wrapFocus.tsx#L1\n */\nfunction getTabbableCandidates(container: HTMLElement) {\n const nodes: HTMLElement[] = [];\n const walker = document.createTreeWalker(container, NodeFilter.SHOW_ELEMENT, {\n acceptNode: (node: any) => {\n const isHiddenInput = node.tagName === 'INPUT' && node.type === 'hidden';\n if (node.disabled || node.hidden || isHiddenInput) return NodeFilter.FILTER_SKIP;\n // `.tabIndex` is not the same as the `tabindex` attribute. It works on the\n // runtime's understanding of tabbability, so this automatically accounts\n // for any kind of element that could be tabbed to.\n return node.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;\n },\n });\n while (walker.nextNode()) nodes.push(walker.currentNode as HTMLElement);\n // we do not take into account the order of nodes with positive `tabIndex` as it\n // hinders accessibility to have tab order different from visual order.\n return nodes;\n}\n\n/**\n * Returns the first visible element in a list.\n * NOTE: Only checks visibility up to the `container`.\n */\nfunction findVisible(elements: HTMLElement[], container: HTMLElement) {\n for (const element of elements) {\n // we stop checking if it's hidden at the `container` level (excluding)\n if (!isHidden(element, { upTo: container })) return element;\n }\n}\n\nfunction isHidden(node: HTMLElement, { upTo }: { upTo?: HTMLElement }) {\n if (getComputedStyle(node).visibility === 'hidden') return true;\n while (node) {\n // we stop at `upTo` (excluding it)\n if (upTo !== undefined && node === upTo) return false;\n if (getComputedStyle(node).display === 'none') return true;\n node = node.parentElement as HTMLElement;\n }\n return false;\n}\n\nfunction isSelectableInput(element: any): element is FocusableTarget & { select: () => void } {\n return element instanceof HTMLInputElement && 'select' in element;\n}\n\nfunction focus(element?: FocusableTarget | null, { select = false } = {}) {\n // only focus if that element is focusable\n if (element && element.focus) {\n const previouslyFocusedElement = document.activeElement;\n // NOTE: we prevent scrolling on focus, to minimize jarring transitions for users\n element.focus({ preventScroll: true });\n // only select if its not the same element, it supports selection and we need to select\n if (element !== previouslyFocusedElement && isSelectableInput(element) && select)\n element.select();\n }\n}\n\n/* -------------------------------------------------------------------------------------------------\n * FocusScope stack\n * -----------------------------------------------------------------------------------------------*/\n\ntype FocusScopeAPI = { paused: boolean; pause(): void; resume(): void };\nconst focusScopesStack = createFocusScopesStack();\n\nfunction createFocusScopesStack() {\n /** A stack of focus scopes, with the active one at the top */\n let stack: FocusScopeAPI[] = [];\n\n return {\n add(focusScope: FocusScopeAPI) {\n // pause the currently active focus scope (at the top of the stack)\n const activeFocusScope = stack[0];\n if (focusScope !== activeFocusScope) {\n activeFocusScope?.pause();\n }\n // remove in case it already exists (because we'll re-add it at the top of the stack)\n stack = arrayRemove(stack, focusScope);\n stack.unshift(focusScope);\n },\n\n remove(focusScope: FocusScopeAPI) {\n stack = arrayRemove(stack, focusScope);\n stack[0]?.resume();\n },\n };\n}\n\nfunction arrayRemove<T>(array: T[], item: T) {\n const updatedArray = [...array];\n const index = updatedArray.indexOf(item);\n if (index !== -1) {\n updatedArray.splice(index, 1);\n }\n return updatedArray;\n}\n\nfunction removeLinks(items: HTMLElement[]) {\n return items.filter((item) => item.tagName !== 'A');\n}\n\nconst Root = FocusScope;\n\nexport {\n FocusScope,\n //\n Root,\n};\nexport type { FocusScopeProps };\n"],"names":["handleFocusIn", "handleFocusOut", "handleMutations", "container"],"mappings":";;;;;;;AAAA,YAAY,WAAW;AACvB,SAAS,uBAAuB;AAChC,SAAS,iBAAiB;AAC1B,SAAS,sBAAsB;AAwM3B;;;;;;;AAtMJ,IAAM,qBAAqB;AAC3B,IAAM,uBAAuB;AAC7B,IAAM,gBAAgB;IAAE,SAAS;IAAO,YAAY;AAAK;AAQzD,IAAM,mBAAmB;AAgCzB,IAAM,aAAmB,2KAAA,CAA+C,CAAC,OAAO,iBAAiB;IAC/F,MAAM,EACJ,OAAO,KAAA,EACP,UAAU,KAAA,EACV,kBAAkB,oBAAA,EAClB,oBAAoB,sBAAA,EACpB,GAAG,YACL,GAAI;IACJ,MAAM,CAAC,WAAW,YAAY,CAAA,GAAU,yKAAA,CAA6B,IAAI;IACzE,MAAM,uBAAmB,uMAAA,EAAe,oBAAoB;IAC5D,MAAM,yBAAqB,uMAAA,EAAe,sBAAsB;IAChE,MAAM,wBAA8B,uKAAA,CAA2B,IAAI;IACnE,MAAM,mBAAe,iMAAA,EAAgB;oDAAc,CAAC,OAAS,aAAa,IAAI,CAAC;;IAE/E,MAAM,aAAmB,uKAAA,CAAO;QAC9B,QAAQ;QACR,QAAQ;YACN,IAAA,CAAK,MAAA,GAAS;QAChB;QACA,SAAS;YACP,IAAA,CAAK,MAAA,GAAS;QAChB;IACF,CAAC,EAAE,OAAA;IAGG,0KAAA;gCAAU,MAAM;YACpB,IAAI,SAAS;gBACX,IAASA;2DAAT,SAAuB,KAAA,EAAmB;wBACxC,IAAI,WAAW,MAAA,IAAU,CAAC,UAAW,CAAA;wBACrC,MAAM,SAAS,MAAM,MAAA;wBACrB,IAAI,UAAU,QAAA,CAAS,MAAM,GAAG;4BAC9B,sBAAsB,OAAA,GAAU;wBAClC,OAAO;4BACL,MAAM,sBAAsB,OAAA,EAAS;gCAAE,QAAQ;4BAAK,CAAC;wBACvD;oBAC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AAI,eAAe,kBAAkB;gBACnC,kBAAkB,MAAM;YAC1B;YAEA,QAAQ,YAAY,OAAO,UAAU;YACrC,MAAM,OAAA,CAAQ,UAAU;QAC1B;QAEA,QAAO,UAAA,EAA2B;YAChC,QAAQ,YAAY,OAAO,UAAU;YACrC,KAAA,CAAM,CAAC,CAAA,EAAG,OAAO;QACnB;IACF;AACF;AAEA,SAAS,YAAe,KAAA,EAAY,IAAA,EAAS;IAC3C,MAAM,eAAe,CAAC;WAAG,KAAK;KAAA;IAC9B,MAAM,QAAQ,aAAa,OAAA,CAAQ,IAAI;IACvC,IAAI,UAAU,CAAA,GAAI;QAChB,aAAa,MAAA,CAAO,OAAO,CAAC;IAC9B;IACA,OAAO;AACT;AAEA,SAAS,YAAY,KAAA,EAAsB;IACzC,OAAO,MAAM,MAAA,CAAO,CAAC,OAAS,KAAK,OAAA,KAAY,GAAG;AACpD;AAEA,IAAM,OAAO"}}, - {"offset": {"line": 2001, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40radix-ui/react-portal/src/portal.tsx"],"sourcesContent":["import * as React from 'react';\nimport ReactDOM from 'react-dom';\nimport { Primitive } from '@radix-ui/react-primitive';\nimport { useLayoutEffect } from '@radix-ui/react-use-layout-effect';\n\n/* -------------------------------------------------------------------------------------------------\n * Portal\n * -----------------------------------------------------------------------------------------------*/\n\nconst PORTAL_NAME = 'Portal';\n\ntype PortalElement = React.ComponentRef<typeof Primitive.div>;\ntype PrimitiveDivProps = React.ComponentPropsWithoutRef<typeof Primitive.div>;\ninterface PortalProps extends PrimitiveDivProps {\n /**\n * An optional container where the portaled content should be appended.\n */\n container?: Element | DocumentFragment | null;\n}\n\nconst Portal = React.forwardRef<PortalElement, PortalProps>((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\n ? ReactDOM.createPortal(<Primitive.div {...portalProps} ref={forwardedRef} />, container)\n : null;\n});\n\nPortal.displayName = PORTAL_NAME;\n\n/* -----------------------------------------------------------------------------------------------*/\n\nconst Root = Portal;\n\nexport {\n Portal,\n //\n Root,\n};\nexport type { PortalProps };\n"],"names":[],"mappings":";;;;;;;AAAA,YAAY,WAAW;AACvB,OAAO,cAAc;AACrB,SAAS,iBAAiB;AAC1B,SAAS,uBAAuB;AAuBJ;;;;;;;AAjB5B,IAAM,cAAc;AAWpB,IAAM,SAAe,2KAAA,CAAuC,CAAC,OAAO,iBAAiB;IACnF,MAAM,EAAE,WAAW,aAAA,EAAe,GAAG,YAAY,CAAA,GAAI;IACrD,MAAM,CAAC,SAAS,UAAU,CAAA,GAAU,yKAAA,CAAS,KAAK;IAClD,IAAA,yMAAA;kCAAgB,IAAM,WAAW,IAAI;iCAAG,CAAC,CAAC;IAC1C,MAAM,YAAY,iBAAkB,WAAW,YAAY,UAAU;IACrE,OAAO,YACH,+KAAA,CAAS,YAAA,CAAa,aAAA,GAAA,IAAA,6KAAA,EAAC,qLAAA,CAAU,GAAA,EAAV;QAAe,GAAG,WAAA;QAAa,KAAK;IAAA,CAAc,GAAI,SAAS,IACtF;AACN,CAAC;AAED,OAAO,WAAA,GAAc;AAIrB,IAAM,OAAO"}}, - {"offset": {"line": 2040, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40radix-ui/react-presence/src/presence.tsx","file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40radix-ui/react-presence/src/use-state-machine.tsx"],"sourcesContent":["import * as React from 'react';\nimport { useComposedRefs } from '@radix-ui/react-compose-refs';\nimport { useLayoutEffect } from '@radix-ui/react-use-layout-effect';\nimport { useStateMachine } from './use-state-machine';\n\ninterface PresenceProps {\n children: React.ReactElement | ((props: { present: boolean }) => React.ReactElement);\n present: boolean;\n}\n\nconst Presence: React.FC<PresenceProps> = (props) => {\n const { present, children } = props;\n const presence = usePresence(present);\n\n const child = (\n typeof children === 'function'\n ? children({ present: presence.isPresent })\n : React.Children.only(children)\n ) as React.ReactElement<{ ref?: React.Ref<HTMLElement> }>;\n\n const ref = useComposedRefs(presence.ref, getElementRef(child));\n const forceMount = typeof children === 'function';\n return forceMount || presence.isPresent ? React.cloneElement(child, { ref }) : null;\n};\n\nPresence.displayName = 'Presence';\n\n/* -------------------------------------------------------------------------------------------------\n * usePresence\n * -----------------------------------------------------------------------------------------------*/\n\nfunction usePresence(present: boolean) {\n const [node, setNode] = React.useState<HTMLElement>();\n const stylesRef = React.useRef<CSSStyleDeclaration | null>(null);\n const prevPresentRef = React.useRef(present);\n const prevAnimationNameRef = React.useRef<string>('none');\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\n React.useEffect(() => {\n const currentAnimationName = getAnimationName(stylesRef.current);\n prevAnimationNameRef.current = state === 'mounted' ? currentAnimationName : 'none';\n }, [state]);\n\n useLayoutEffect(() => {\n const styles = stylesRef.current;\n const wasPresent = prevPresentRef.current;\n const hasPresentChanged = wasPresent !== present;\n\n if (hasPresentChanged) {\n const prevAnimationName = prevAnimationNameRef.current;\n const currentAnimationName = getAnimationName(styles);\n\n if (present) {\n send('MOUNT');\n } else if (currentAnimationName === 'none' || styles?.display === 'none') {\n // If there is no exit animation or the element is hidden, animations won't run\n // so we unmount instantly\n send('UNMOUNT');\n } else {\n /**\n * When `present` changes to `false`, we check changes to animation-name to\n * determine whether an animation has started. We chose this approach (reading\n * computed styles) because there is no `animationrun` event and `animationstart`\n * fires after `animation-delay` has expired which would be too late.\n */\n const isAnimating = prevAnimationName !== currentAnimationName;\n\n if (wasPresent && isAnimating) {\n send('ANIMATION_OUT');\n } else {\n send('UNMOUNT');\n }\n }\n\n prevPresentRef.current = present;\n }\n }, [present, send]);\n\n useLayoutEffect(() => {\n if (node) {\n let timeoutId: number;\n const ownerWindow = node.ownerDocument.defaultView ?? window;\n /**\n * Triggering an ANIMATION_OUT during an ANIMATION_IN will fire an `animationcancel`\n * event for ANIMATION_IN after we have entered `unmountSuspended` state. So, we\n * make sure we only trigger ANIMATION_END for the currently active animation.\n */\n const handleAnimationEnd = (event: AnimationEvent) => {\n const currentAnimationName = getAnimationName(stylesRef.current);\n // The event.animationName is unescaped for CSS syntax,\n // so we need to escape it to compare with the animationName computed from the style.\n const isCurrentAnimation = currentAnimationName.includes(CSS.escape(event.animationName));\n if (event.target === node && isCurrentAnimation) {\n // With React 18 concurrency this update is applied a frame after the\n // animation ends, creating a flash of visible content. By setting the\n // animation fill mode to \"forwards\", we force the node to keep the\n // styles of the last keyframe, removing the flash.\n //\n // Previously we flushed the update via ReactDom.flushSync, but with\n // exit animations this resulted in the node being removed from the\n // DOM before the synthetic animationEnd event was dispatched, meaning\n // user-provided event handlers would not be called.\n // https://github.com/radix-ui/primitives/pull/1849\n send('ANIMATION_END');\n if (!prevPresentRef.current) {\n const currentFillMode = node.style.animationFillMode;\n node.style.animationFillMode = 'forwards';\n // Reset the style after the node had time to unmount (for cases\n // where the component chooses not to unmount). Doing this any\n // sooner than `setTimeout` (e.g. with `requestAnimationFrame`)\n // still causes a flash.\n timeoutId = ownerWindow.setTimeout(() => {\n if (node.style.animationFillMode === 'forwards') {\n node.style.animationFillMode = currentFillMode;\n }\n });\n }\n }\n };\n const handleAnimationStart = (event: AnimationEvent) => {\n if (event.target === node) {\n // if animation occurred, store its name as the previous animation.\n prevAnimationNameRef.current = getAnimationName(stylesRef.current);\n }\n };\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 // Transition to the unmounted state if the node is removed prematurely.\n // We avoid doing so during cleanup as the node may change but still exist.\n send('ANIMATION_END');\n }\n }, [node, send]);\n\n return {\n isPresent: ['mounted', 'unmountSuspended'].includes(state),\n ref: React.useCallback((node: HTMLElement) => {\n stylesRef.current = node ? getComputedStyle(node) : null;\n setNode(node);\n }, []),\n };\n}\n\n/* -----------------------------------------------------------------------------------------------*/\n\nfunction getAnimationName(styles: CSSStyleDeclaration | null) {\n return styles?.animationName || 'none';\n}\n\n// Before React 19 accessing `element.props.ref` will throw a warning and suggest using `element.ref`\n// After React 19 accessing `element.ref` does the opposite.\n// https://github.com/facebook/react/pull/28348\n//\n// Access the ref using the method that doesn't yield a warning.\nfunction getElementRef(element: React.ReactElement<{ ref?: React.Ref<unknown> }>) {\n // React <=18 in DEV\n let getter = Object.getOwnPropertyDescriptor(element.props, 'ref')?.get;\n let mayWarn = getter && 'isReactWarning' in getter && getter.isReactWarning;\n if (mayWarn) {\n return (element as any).ref;\n }\n\n // React 19 in DEV\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\n // Not DEV\n return element.props.ref || (element as any).ref;\n}\n\nconst Root = Presence;\n\nexport {\n Presence,\n //\n Root,\n};\nexport type { PresenceProps };\n","import * as React from 'react';\n\ntype Machine<S> = { [k: string]: { [k: string]: S } };\ntype MachineState<T> = keyof T;\ntype MachineEvent<T> = keyof UnionToIntersection<T[keyof T]>;\n\n// \uD83E\uDD2F https://fettblog.eu/typescript-union-to-intersection/\ntype UnionToIntersection<T> = (T extends any ? (x: T) => any : never) extends (x: infer R) => any\n ? R\n : never;\n\nexport function useStateMachine<M>(\n initialState: MachineState<M>,\n machine: M & Machine<MachineState<M>>\n) {\n return React.useReducer((state: MachineState<M>, event: MachineEvent<M>): MachineState<M> => {\n const nextState = (machine[state] as any)[event];\n return nextState ?? state;\n }, initialState);\n}\n"],"names":["React", "node"],"mappings":";;;;;;;AAAA,YAAYA,YAAW;AACvB,SAAS,uBAAuB;AAChC,SAAS,uBAAuB;;;;;;ACSzB,SAAS,gBACd,YAAA,EACA,OAAA,EACA;IACA,OAAa,2KAAA;sCAAW,CAAC,OAAwB,UAA4C;YAC3F,MAAM,YAAa,OAAA,CAAQ,KAAK,CAAA,CAAU,KAAK,CAAA;YAC/C,OAAO,aAAa;QACtB;qCAAG,YAAY;AACjB;;ADTA,IAAM,WAAoC,CAAC,UAAU;IACnD,MAAM,EAAE,OAAA,EAAS,QAAA,CAAS,CAAA,GAAI;IAC9B,MAAM,WAAW,YAAY,OAAO;IAEpC,MAAM,QACJ,OAAO,aAAa,aAChB,SAAS;QAAE,SAAS,SAAS,SAAA;IAAU,CAAC,IAClC,yKAAA,CAAS,IAAA,CAAK,QAAQ;IAGlC,MAAM,UAAM,iMAAA,EAAgB,SAAS,GAAA,EAAK,cAAc,KAAK,CAAC;IAC9D,MAAM,aAAa,OAAO,aAAa;IACvC,OAAO,cAAc,SAAS,SAAA,GAAkB,6KAAA,CAAa,OAAO;QAAE;IAAI,CAAC,IAAI;AACjF;AAEA,SAAS,WAAA,GAAc;AAMvB,SAAS,YAAY,OAAA,EAAkB;IACrC,MAAM,CAAC,MAAM,OAAO,CAAA,GAAU,yKAAA,CAAsB;IACpD,MAAM,YAAkB,uKAAA,CAAmC,IAAI;IAC/D,MAAM,iBAAuB,uKAAA,CAAO,OAAO;IAC3C,MAAM,uBAA6B,uKAAA,CAAe,MAAM;IACxD,MAAM,eAAe,UAAU,YAAY;IAC3C,MAAM,CAAC,OAAO,IAAI,CAAA,GAAI,gBAAgB,cAAc;QAClD,SAAS;YACP,SAAS;YACT,eAAe;QACjB;QACA,kBAAkB;YAChB,OAAO;YACP,eAAe;QACjB;QACA,WAAW;YACT,OAAO;QACT;IACF,CAAC;IAEK,0KAAA;iCAAU,MAAM;YACp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;IACvB;IAGA,OAAO,QAAQ,KAAA,CAAM,GAAA,IAAQ,QAAgB,GAAA;AAC/C;AAEA,IAAM,OAAO"}}, - {"offset": {"line": 2218, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40radix-ui/react-focus-guards/src/focus-guards.tsx"],"sourcesContent":["import * as React from 'react';\n\n/** Number of components which have requested interest to have focus guards */\nlet count = 0;\n\ninterface FocusGuardsProps {\n children?: React.ReactNode;\n}\n\nfunction FocusGuards(props: FocusGuardsProps) {\n useFocusGuards();\n return props.children;\n}\n\n/**\n * Injects a pair of focus guards at the edges of the whole DOM tree\n * to ensure `focusin` & `focusout` events can be caught consistently.\n */\nfunction useFocusGuards() {\n /* eslint-disable no-restricted-globals */\n React.useEffect(() => {\n const edgeGuards = document.querySelectorAll('[data-radix-focus-guard]');\n document.body.insertAdjacentElement('afterbegin', edgeGuards[0] ?? createFocusGuard());\n document.body.insertAdjacentElement('beforeend', edgeGuards[1] ?? createFocusGuard());\n count++;\n\n return () => {\n if (count === 1) {\n document.querySelectorAll('[data-radix-focus-guard]').forEach((node) => node.remove());\n }\n count--;\n };\n }, []);\n /* eslint-enable no-restricted-globals */\n}\n\nfunction createFocusGuard() {\n // eslint-disable-next-line no-restricted-globals\n const element = document.createElement('span');\n element.setAttribute('data-radix-focus-guard', '');\n element.tabIndex = 0;\n element.style.outline = 'none';\n element.style.opacity = '0';\n element.style.position = 'fixed';\n element.style.pointerEvents = 'none';\n return element;\n}\n\nexport {\n FocusGuards,\n //\n FocusGuards as Root,\n //\n useFocusGuards,\n};\n"],"names":[],"mappings":";;;;;;;;;AAAA,YAAY,WAAW;;;AAGvB,IAAI,QAAQ;AAMZ,SAAS,YAAY,KAAA,EAAyB;IAC5C,eAAe;IACf,OAAO,MAAM,QAAA;AACf;AAMA,SAAS,iBAAiB;IAElB,0KAAA;oCAAU,MAAM;YACpB,MAAM,aAAa,SAAS,gBAAA,CAAiB,0BAA0B;YACvE,SAAS,IAAA,CAAK,qBAAA,CAAsB,cAAc,UAAA,CAAW,CAAC,CAAA,IAAK,iBAAiB,CAAC;YACrF,SAAS,IAAA,CAAK,qBAAA,CAAsB,aAAa,UAAA,CAAW,CAAC,CAAA,IAAK,iBAAiB,CAAC;YACpF;YAEA;4CAAO,MAAM;oBACX,IAAI,UAAU,GAAG;wBACf,SAAS,gBAAA,CAAiB,0BAA0B,EAAE,OAAA;wDAAQ,CAAC,OAAS,KAAK,MAAA,CAAO,CAAC;;oBACvF;oBACA;gBACF;;QACF;mCAAG,CAAC,CAAC;AAEP;AAEA,SAAS,mBAAmB;IAE1B,MAAM,UAAU,SAAS,aAAA,CAAc,MAAM;IAC7C,QAAQ,YAAA,CAAa,0BAA0B,EAAE;IACjD,QAAQ,QAAA,GAAW;IACnB,QAAQ,KAAA,CAAM,OAAA,GAAU;IACxB,QAAQ,KAAA,CAAM,OAAA,GAAU;IACxB,QAAQ,KAAA,CAAM,QAAA,GAAW;IACzB,QAAQ,KAAA,CAAM,aAAA,GAAgB;IAC9B,OAAO;AACT"}}, - {"offset": {"line": 2271, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/tslib/tslib.es6.mjs"],"sourcesContent":["/******************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol, Iterator */\n\nvar extendStatics = function(d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nexport var __assign = function() {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n }\n return __assign.apply(this, arguments);\n}\n\nexport function __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n}\n\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\n\nexport function __param(paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n}\n\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _, done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n if (kind === \"accessor\") {\n if (result === void 0) continue;\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.unshift(_);\n }\n else if (_ = accept(result)) {\n if (kind === \"field\") initializers.unshift(_);\n else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n};\n\nexport function __runInitializers(thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n};\n\nexport function __propKey(x) {\n return typeof x === \"symbol\" ? x : \"\".concat(x);\n};\n\nexport function __setFunctionName(f, name, prefix) {\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\n};\n\nexport function __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\n\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\n\nexport function __generator(thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n}\n\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\n\nexport function __exportStar(m, o) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\n\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\n\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++)\n ar = ar.concat(__read(arguments[i]));\n return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n}\n\nexport function __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n}\n\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\n\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = Object.create((typeof AsyncIterator === \"function\" ? AsyncIterator : Object).prototype), verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume(\"next\", value); }\n function reject(value) { resume(\"throw\", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n}\n\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n}\n\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n}\n\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n};\n\nvar __setModuleDefault = Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n};\n\nvar ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n};\n\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n}\n\nexport function __importDefault(mod) {\n return (mod && mod.__esModule) ? mod : { default: mod };\n}\n\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\n\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n}\n\nexport function __classPrivateFieldIn(state, receiver) {\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\n\nexport function __addDisposableResource(env, value, async) {\n if (value !== null && value !== void 0) {\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\n var dispose, inner;\n if (async) {\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\n dispose = value[Symbol.asyncDispose];\n }\n if (dispose === void 0) {\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\n dispose = value[Symbol.dispose];\n if (async) inner = dispose;\n }\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\n env.stack.push({ value: value, dispose: dispose, async: async });\n }\n else if (async) {\n env.stack.push({ async: true });\n }\n return value;\n}\n\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n var e = new Error(message);\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\n\nexport function __disposeResources(env) {\n function fail(e) {\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\n env.hasError = true;\n }\n var r, s = 0;\n function next() {\n while (r = env.stack.pop()) {\n try {\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\n if (r.dispose) {\n var result = r.dispose.call(r.value);\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n }\n else s |= 1;\n }\n catch (e) {\n fail(e);\n }\n }\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\n if (env.hasError) throw env.error;\n }\n return next();\n}\n\nexport function __rewriteRelativeImportExtension(path, preserveJsx) {\n if (typeof path === \"string\" && /^\\.\\.?\\//.test(path)) {\n return path.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+?)?)\\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {\n return tsx ? preserveJsx ? \".jsx\" : \".js\" : d && (!ext || !cm) ? m : (d + ext + \".\" + cm.toLowerCase() + \"js\");\n });\n }\n return path;\n}\n\nexport default {\n __extends,\n __assign,\n __rest,\n __decorate,\n __param,\n __esDecorate,\n __runInitializers,\n __propKey,\n __setFunctionName,\n __metadata,\n __awaiter,\n __generator,\n __createBinding,\n __exportStar,\n __values,\n __read,\n __spread,\n __spreadArrays,\n __spreadArray,\n __await,\n __asyncGenerator,\n __asyncDelegator,\n __asyncValues,\n __makeTemplateObject,\n __importStar,\n __importDefault,\n __classPrivateFieldGet,\n __classPrivateFieldSet,\n __classPrivateFieldIn,\n __addDisposableResource,\n __disposeResources,\n __rewriteRelativeImportExtension,\n};\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;8EAa8E,GAC9E,8DAA8D,GAE9D,IAAI,gBAAgB,SAAS,CAAC,EAAE,CAAC;IAC/B,gBAAgB,OAAO,cAAc,IAChC,CAAA;QAAE,WAAW,EAAE;IAAC,CAAA,aAAa,SAAS,SAAU,CAAC,EAAE,CAAC;QAAI,EAAE,SAAS,GAAG;IAAG,KAC1E,SAAU,CAAC,EAAE,CAAC;QAAI,IAAK,IAAI,KAAK,EAAG,IAAI,OAAO,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,EAAE;IAAE;IACpG,OAAO,cAAc,GAAG;AAC1B;AAEO,SAAS,UAAU,CAAC,EAAE,CAAC;IAC5B,IAAI,OAAO,MAAM,cAAc,MAAM,MACjC,MAAM,IAAI,UAAU,yBAAyB,OAAO,KAAK;IAC7D,cAAc,GAAG;IACjB,SAAS;QAAO,IAAI,CAAC,WAAW,GAAG;IAAG;IACtC,EAAE,SAAS,GAAG,MAAM,OAAO,OAAO,MAAM,CAAC,KAAK,CAAC,GAAG,SAAS,GAAG,EAAE,SAAS,EAAE,IAAI,IAAI;AACrF;AAEO,IAAI,WAAW;IACpB,WAAW,OAAO,MAAM,IAAI,SAAS,SAAS,CAAC;QAC3C,IAAK,IAAI,GAAG,IAAI,GAAG,IAAI,UAAU,MAAM,EAAE,IAAI,GAAG,IAAK;YACjD,IAAI,SAAS,CAAC,EAAE;YAChB,IAAK,IAAI,KAAK,EAAG,IAAI,OAAO,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,GAAG,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sol-ui.com/sol-ui/docs/node_modules/react-remove-scroll-bar/dist/es2015/constants.js"],"sourcesContent":["export var zeroRightClassName = 'right-scroll-bar-position';\nexport var fullWidthClassName = 'width-before-scroll-bar';\nexport var noScrollbarsClassName = 'with-scroll-bars-hidden';\n/**\n * Name of a CSS variable containing the amount of \"hidden\" scrollbar\n * ! might be undefined ! use will fallback!\n */\nexport var removedBarSizeVariable = '--removed-body-scroll-bar-size';\n"],"names":[],"mappings":";;;;;;;;;;AAAO,IAAI,qBAAqB;AACzB,IAAI,qBAAqB;AACzB,IAAI,wBAAwB;AAK5B,IAAI,yBAAyB","ignoreList":[0]}}, - {"offset": {"line": 2924, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/use-callback-ref/dist/es2015/assignRef.js"],"sourcesContent":["/**\n * Assigns a value for a given ref, no matter of the ref format\n * @param {RefObject} ref - a callback function or ref object\n * @param value - a new value\n *\n * @see https://github.com/theKashey/use-callback-ref#assignref\n * @example\n * const refObject = useRef();\n * const refFn = (ref) => {....}\n *\n * assignRef(refObject, \"refValue\");\n * assignRef(refFn, \"refValue\");\n */\nexport function assignRef(ref, value) {\n if (typeof ref === 'function') {\n ref(value);\n }\n else if (ref) {\n ref.current = value;\n }\n return ref;\n}\n"],"names":[],"mappings":"AAAA;;;;;;;;;;;;CAYC;;;;AACM,SAAS,UAAU,GAAG,EAAE,KAAK;IAChC,IAAI,OAAO,QAAQ,YAAY;QAC3B,IAAI;IACR,OACK,IAAI,KAAK;QACV,IAAI,OAAO,GAAG;IAClB;IACA,OAAO;AACX","ignoreList":[0]}}, - {"offset": {"line": 2952, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/use-callback-ref/dist/es2015/useRef.js"],"sourcesContent":["import { useState } from 'react';\n/**\n * creates a MutableRef with ref change callback\n * @param initialValue - initial ref value\n * @param {Function} callback - a callback to run when value changes\n *\n * @example\n * const ref = useCallbackRef(0, (newValue, oldValue) => console.log(oldValue, '->', newValue);\n * ref.current = 1;\n * // prints 0 -> 1\n *\n * @see https://reactjs.org/docs/hooks-reference.html#useref\n * @see https://github.com/theKashey/use-callback-ref#usecallbackref---to-replace-reactuseref\n * @returns {MutableRefObject}\n */\nexport function useCallbackRef(initialValue, callback) {\n var ref = useState(function () { return ({\n // value\n value: initialValue,\n // last callback\n callback: callback,\n // \"memoized\" public interface\n facade: {\n get current() {\n return ref.value;\n },\n set current(value) {\n var last = ref.value;\n if (last !== value) {\n ref.value = value;\n ref.callback(value, last);\n }\n },\n },\n }); })[0];\n // update callback\n ref.callback = callback;\n return ref.facade;\n}\n"],"names":[],"mappings":";;;;AAAA;;AAeO,SAAS,eAAe,YAAY,EAAE,QAAQ;IACjD,IAAI,MAAM,IAAA,yKAAQ;mCAAC;YAAc,OAAQ;gBACrC,QAAQ;gBACR,OAAO;gBACP,gBAAgB;gBAChB,UAAU;gBACV,8BAA8B;gBAC9B,QAAQ;oBACJ,IAAI,WAAU;wBACV,OAAO,IAAI,KAAK;oBACpB;oBACA,IAAI,SAAQ,MAAO;wBACf,IAAI,OAAO,IAAI,KAAK;wBACpB,IAAI,SAAS,OAAO;4BAChB,IAAI,KAAK,GAAG;4BACZ,IAAI,QAAQ,CAAC,OAAO;wBACxB;oBACJ;gBACJ;YACJ;QAAI;iCAAE,CAAC,EAAE;IACT,kBAAkB;IAClB,IAAI,QAAQ,GAAG;IACf,OAAO,IAAI,MAAM;AACrB","ignoreList":[0]}}, - {"offset": {"line": 2990, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/use-callback-ref/dist/es2015/useMergeRef.js"],"sourcesContent":["import * as React from 'react';\nimport { assignRef } from './assignRef';\nimport { useCallbackRef } from './useRef';\nvar useIsomorphicLayoutEffect = typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect;\nvar currentValues = new WeakMap();\n/**\n * Merges two or more refs together providing a single interface to set their value\n * @param {RefObject|Ref} refs\n * @returns {MutableRefObject} - a new ref, which translates all changes to {refs}\n *\n * @see {@link mergeRefs} a version without buit-in memoization\n * @see https://github.com/theKashey/use-callback-ref#usemergerefs\n * @example\n * const Component = React.forwardRef((props, ref) => {\n * const ownRef = useRef();\n * const domRef = useMergeRefs([ref, ownRef]); // 👈 merge together\n * return <div ref={domRef}>...</div>\n * }\n */\nexport function useMergeRefs(refs, defaultValue) {\n var callbackRef = useCallbackRef(defaultValue || null, function (newValue) {\n return refs.forEach(function (ref) { return assignRef(ref, newValue); });\n });\n // handle refs changes - added or removed\n useIsomorphicLayoutEffect(function () {\n var oldValue = currentValues.get(callbackRef);\n if (oldValue) {\n var prevRefs_1 = new Set(oldValue);\n var nextRefs_1 = new Set(refs);\n var current_1 = callbackRef.current;\n prevRefs_1.forEach(function (ref) {\n if (!nextRefs_1.has(ref)) {\n assignRef(ref, null);\n }\n });\n nextRefs_1.forEach(function (ref) {\n if (!prevRefs_1.has(ref)) {\n assignRef(ref, current_1);\n }\n });\n }\n currentValues.set(callbackRef, refs);\n }, [refs]);\n return callbackRef;\n}\n"],"names":[],"mappings":";;;;AAAA;AACA;AACA;;;;AACA,IAAI,4BAA4B,OAAO,WAAW,cAAc,gLAAqB,GAAG,0KAAe;AACvG,IAAI,gBAAgB,IAAI;AAejB,SAAS,aAAa,IAAI,EAAE,YAAY;IAC3C,IAAI,cAAc,IAAA,uLAAc,EAAC,gBAAgB;oDAAM,SAAU,QAAQ;YACrE,OAAO,KAAK,OAAO;4DAAC,SAAU,GAAG;oBAAI,OAAO,IAAA,qLAAS,EAAC,KAAK;gBAAW;;QAC1E;;IACA,yCAAyC;IACzC;kDAA0B;YACtB,IAAI,WAAW,cAAc,GAAG,CAAC;YACjC,IAAI,UAAU;gBACV,IAAI,aAAa,IAAI,IAAI;gBACzB,IAAI,aAAa,IAAI,IAAI;gBACzB,IAAI,YAAY,YAAY,OAAO;gBACnC,WAAW,OAAO;8DAAC,SAAU,GAAG;wBAC5B,IAAI,CAAC,WAAW,GAAG,CAAC,MAAM;4BACtB,IAAA,qLAAS,EAAC,KAAK;wBACnB;oBACJ;;gBACA,WAAW,OAAO;8DAAC,SAAU,GAAG;wBAC5B,IAAI,CAAC,WAAW,GAAG,CAAC,MAAM;4BACtB,IAAA,qLAAS,EAAC,KAAK;wBACnB;oBACJ;;YACJ;YACA,cAAc,GAAG,CAAC,aAAa;QACnC;iDAAG;QAAC;KAAK;IACT,OAAO;AACX","ignoreList":[0]}}, - {"offset": {"line": 3046, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/use-sidecar/dist/es2015/medium.js"],"sourcesContent":["import { __assign } from \"tslib\";\nfunction ItoI(a) {\n return a;\n}\nfunction innerCreateMedium(defaults, middleware) {\n if (middleware === void 0) { middleware = ItoI; }\n var buffer = [];\n var assigned = false;\n var medium = {\n read: function () {\n if (assigned) {\n throw new Error('Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.');\n }\n if (buffer.length) {\n return buffer[buffer.length - 1];\n }\n return defaults;\n },\n useMedium: function (data) {\n var item = middleware(data, assigned);\n buffer.push(item);\n return function () {\n buffer = buffer.filter(function (x) { return x !== item; });\n };\n },\n assignSyncMedium: function (cb) {\n assigned = true;\n while (buffer.length) {\n var cbs = buffer;\n buffer = [];\n cbs.forEach(cb);\n }\n buffer = {\n push: function (x) { return cb(x); },\n filter: function () { return buffer; },\n };\n },\n assignMedium: function (cb) {\n assigned = true;\n var pendingQueue = [];\n if (buffer.length) {\n var cbs = buffer;\n buffer = [];\n cbs.forEach(cb);\n pendingQueue = buffer;\n }\n var executeQueue = function () {\n var cbs = pendingQueue;\n pendingQueue = [];\n cbs.forEach(cb);\n };\n var cycle = function () { return Promise.resolve().then(executeQueue); };\n cycle();\n buffer = {\n push: function (x) {\n pendingQueue.push(x);\n cycle();\n },\n filter: function (filter) {\n pendingQueue = pendingQueue.filter(filter);\n return buffer;\n },\n };\n },\n };\n return medium;\n}\nexport function createMedium(defaults, middleware) {\n if (middleware === void 0) { middleware = ItoI; }\n return innerCreateMedium(defaults, middleware);\n}\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport function createSidecarMedium(options) {\n if (options === void 0) { options = {}; }\n var medium = innerCreateMedium(null);\n medium.options = __assign({ async: true, ssr: false }, options);\n return medium;\n}\n"],"names":[],"mappings":";;;;;;AAAA;;AACA,SAAS,KAAK,CAAC;IACX,OAAO;AACX;AACA,SAAS,kBAAkB,QAAQ,EAAE,UAAU;IAC3C,IAAI,eAAe,KAAK,GAAG;QAAE,aAAa;IAAM;IAChD,IAAI,SAAS,EAAE;IACf,IAAI,WAAW;IACf,IAAI,SAAS;QACT,MAAM;YACF,IAAI,UAAU;gBACV,MAAM,IAAI,MAAM;YACpB;YACA,IAAI,OAAO,MAAM,EAAE;gBACf,OAAO,MAAM,CAAC,OAAO,MAAM,GAAG,EAAE;YACpC;YACA,OAAO;QACX;QACA,WAAW,SAAU,IAAI;YACrB,IAAI,OAAO,WAAW,MAAM;YAC5B,OAAO,IAAI,CAAC;YACZ,OAAO;gBACH,SAAS,OAAO,MAAM,CAAC,SAAU,CAAC;oBAAI,OAAO,MAAM;gBAAM;YAC7D;QACJ;QACA,kBAAkB,SAAU,EAAE;YAC1B,WAAW;YACX,MAAO,OAAO,MAAM,CAAE;gBAClB,IAAI,MAAM;gBACV,SAAS,EAAE;gBACX,IAAI,OAAO,CAAC;YAChB;YACA,SAAS;gBACL,MAAM,SAAU,CAAC;oBAAI,OAAO,GAAG;gBAAI;gBACnC,QAAQ;oBAAc,OAAO;gBAAQ;YACzC;QACJ;QACA,cAAc,SAAU,EAAE;YACtB,WAAW;YACX,IAAI,eAAe,EAAE;YACrB,IAAI,OAAO,MAAM,EAAE;gBACf,IAAI,MAAM;gBACV,SAAS,EAAE;gBACX,IAAI,OAAO,CAAC;gBACZ,eAAe;YACnB;YACA,IAAI,eAAe;gBACf,IAAI,MAAM;gBACV,eAAe,EAAE;gBACjB,IAAI,OAAO,CAAC;YAChB;YACA,IAAI,QAAQ;gBAAc,OAAO,QAAQ,OAAO,GAAG,IAAI,CAAC;YAAe;YACvE;YACA,SAAS;gBACL,MAAM,SAAU,CAAC;oBACb,aAAa,IAAI,CAAC;oBAClB;gBACJ;gBACA,QAAQ,SAAU,MAAM;oBACpB,eAAe,aAAa,MAAM,CAAC;oBACnC,OAAO;gBACX;YACJ;QACJ;IACJ;IACA,OAAO;AACX;AACO,SAAS,aAAa,QAAQ,EAAE,UAAU;IAC7C,IAAI,eAAe,KAAK,GAAG;QAAE,aAAa;IAAM;IAChD,OAAO,kBAAkB,UAAU;AACvC;AAEO,SAAS,oBAAoB,OAAO;IACvC,IAAI,YAAY,KAAK,GAAG;QAAE,UAAU,CAAC;IAAG;IACxC,IAAI,SAAS,kBAAkB;IAC/B,OAAO,OAAO,GAAG,IAAA,qJAAQ,EAAC;QAAE,OAAO;QAAM,KAAK;IAAM,GAAG;IACvD,OAAO;AACX","ignoreList":[0]}}, - {"offset": {"line": 3151, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/react-remove-scroll/dist/es2015/medium.js"],"sourcesContent":["import { createSidecarMedium } from 'use-sidecar';\nexport var effectCar = createSidecarMedium();\n"],"names":[],"mappings":";;;;AAAA;;AACO,IAAI,YAAY,IAAA,oLAAmB","ignoreList":[0]}}, - {"offset": {"line": 3162, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/react-remove-scroll/dist/es2015/UI.js"],"sourcesContent":["import { __assign, __rest } from \"tslib\";\nimport * as React from 'react';\nimport { fullWidthClassName, zeroRightClassName } from 'react-remove-scroll-bar/constants';\nimport { useMergeRefs } from 'use-callback-ref';\nimport { effectCar } from './medium';\nvar nothing = function () {\n return;\n};\n/**\n * Removes scrollbar from the page and contain the scroll within the Lock\n */\nvar RemoveScroll = React.forwardRef(function (props, parentRef) {\n var ref = React.useRef(null);\n var _a = React.useState({\n onScrollCapture: nothing,\n onWheelCapture: nothing,\n onTouchMoveCapture: nothing,\n }), callbacks = _a[0], setCallbacks = _a[1];\n var forwardProps = props.forwardProps, children = props.children, className = props.className, removeScrollBar = props.removeScrollBar, enabled = props.enabled, shards = props.shards, sideCar = props.sideCar, noRelative = props.noRelative, noIsolation = props.noIsolation, inert = props.inert, allowPinchZoom = props.allowPinchZoom, _b = props.as, Container = _b === void 0 ? 'div' : _b, gapMode = props.gapMode, rest = __rest(props, [\"forwardProps\", \"children\", \"className\", \"removeScrollBar\", \"enabled\", \"shards\", \"sideCar\", \"noRelative\", \"noIsolation\", \"inert\", \"allowPinchZoom\", \"as\", \"gapMode\"]);\n var SideCar = sideCar;\n var containerRef = useMergeRefs([ref, parentRef]);\n var containerProps = __assign(__assign({}, rest), callbacks);\n return (React.createElement(React.Fragment, null,\n enabled && (React.createElement(SideCar, { sideCar: effectCar, removeScrollBar: removeScrollBar, shards: shards, noRelative: noRelative, noIsolation: noIsolation, inert: inert, setCallbacks: setCallbacks, allowPinchZoom: !!allowPinchZoom, lockRef: ref, gapMode: gapMode })),\n forwardProps ? (React.cloneElement(React.Children.only(children), __assign(__assign({}, containerProps), { ref: containerRef }))) : (React.createElement(Container, __assign({}, containerProps, { className: className, ref: containerRef }), children))));\n});\nRemoveScroll.defaultProps = {\n enabled: true,\n removeScrollBar: true,\n inert: false,\n};\nRemoveScroll.classNames = {\n fullWidth: fullWidthClassName,\n zeroRight: zeroRightClassName,\n};\nexport { RemoveScroll };\n"],"names":[],"mappings":";;;;AAAA;AACA;AACA;AACA;AACA;;;;;;AACA,IAAI,UAAU;IACV;AACJ;AACA;;CAEC,GACD,IAAI,eAAe,2KAAgB,CAAC,SAAU,KAAK,EAAE,SAAS;IAC1D,IAAI,MAAM,uKAAY,CAAC;IACvB,IAAI,KAAK,yKAAc,CAAC;QACpB,iBAAiB;QACjB,gBAAgB;QAChB,oBAAoB;IACxB,IAAI,YAAY,EAAE,CAAC,EAAE,EAAE,eAAe,EAAE,CAAC,EAAE;IAC3C,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WAAW,wMAAkB;AACjC","ignoreList":[0]}}, - {"offset": {"line": 3241, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/use-sidecar/dist/es2015/exports.js"],"sourcesContent":["import { __assign, __rest } from \"tslib\";\nimport * as React from 'react';\nvar SideCar = function (_a) {\n var sideCar = _a.sideCar, rest = __rest(_a, [\"sideCar\"]);\n if (!sideCar) {\n throw new Error('Sidecar: please provide `sideCar` property to import the right car');\n }\n var Target = sideCar.read();\n if (!Target) {\n throw new Error('Sidecar medium not found');\n }\n return React.createElement(Target, __assign({}, rest));\n};\nSideCar.isSideCarExport = true;\nexport function exportSidecar(medium, exported) {\n medium.useMedium(exported);\n return SideCar;\n}\n"],"names":[],"mappings":";;;;AAAA;AACA;;;AACA,IAAI,UAAU,SAAU,EAAE;IACtB,IAAI,UAAU,GAAG,OAAO,EAAE,OAAO,IAAA,mJAAM,EAAC,IAAI;QAAC;KAAU;IACvD,IAAI,CAAC,SAAS;QACV,MAAM,IAAI,MAAM;IACpB;IACA,IAAI,SAAS,QAAQ,IAAI;IACzB,IAAI,CAAC,QAAQ;QACT,MAAM,IAAI,MAAM;IACpB;IACA,OAAO,8KAAmB,CAAC,QAAQ,IAAA,qJAAQ,EAAC,CAAC,GAAG;AACpD;AACA,QAAQ,eAAe,GAAG;AACnB,SAAS,cAAc,MAAM,EAAE,QAAQ;IAC1C,OAAO,SAAS,CAAC;IACjB,OAAO;AACX","ignoreList":[0]}}, - {"offset": {"line": 3271, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/get-nonce/dist/es2015/index.js"],"sourcesContent":["var currentNonce;\nexport var setNonce = function (nonce) {\n currentNonce = nonce;\n};\nexport var getNonce = function () {\n if (currentNonce) {\n return currentNonce;\n }\n if (typeof __webpack_nonce__ !== 'undefined') {\n return __webpack_nonce__;\n }\n return undefined;\n};\n"],"names":[],"mappings":";;;;;;AAAA,IAAI;AACG,IAAI,WAAW,SAAU,KAAK;IACjC,eAAe;AACnB;AACO,IAAI,WAAW;IAClB,IAAI,cAAc;QACd,OAAO;IACX;IACA,IAAI,OAAO,sBAAsB,aAAa;QAC1C,OAAO;IACX;IACA,OAAO;AACX","ignoreList":[0]}}, - {"offset": {"line": 3294, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/react-style-singleton/dist/es2015/singleton.js"],"sourcesContent":["import { getNonce } from 'get-nonce';\nfunction makeStyleTag() {\n if (!document)\n return null;\n var tag = document.createElement('style');\n tag.type = 'text/css';\n var nonce = getNonce();\n if (nonce) {\n tag.setAttribute('nonce', nonce);\n }\n return tag;\n}\nfunction injectStyles(tag, css) {\n // @ts-ignore\n if (tag.styleSheet) {\n // @ts-ignore\n tag.styleSheet.cssText = css;\n }\n else {\n tag.appendChild(document.createTextNode(css));\n }\n}\nfunction insertStyleTag(tag) {\n var head = document.head || document.getElementsByTagName('head')[0];\n head.appendChild(tag);\n}\nexport var stylesheetSingleton = function () {\n var counter = 0;\n var stylesheet = null;\n return {\n add: function (style) {\n if (counter == 0) {\n if ((stylesheet = makeStyleTag())) {\n injectStyles(stylesheet, style);\n insertStyleTag(stylesheet);\n }\n }\n counter++;\n },\n remove: function () {\n counter--;\n if (!counter && stylesheet) {\n stylesheet.parentNode && stylesheet.parentNode.removeChild(stylesheet);\n stylesheet = null;\n }\n },\n };\n};\n"],"names":[],"mappings":";;;;AAAA;;AACA,SAAS;IACL,IAAI,CAAC,UACD,OAAO;IACX,IAAI,MAAM,SAAS,aAAa,CAAC;IACjC,IAAI,IAAI,GAAG;IACX,IAAI,QAAQ,IAAA,sKAAQ;IACpB,IAAI,OAAO;QACP,IAAI,YAAY,CAAC,SAAS;IAC9B;IACA,OAAO;AACX;AACA,SAAS,aAAa,GAAG,EAAE,GAAG;IAC1B,aAAa;IACb,IAAI,IAAI,UAAU,EAAE;QAChB,aAAa;QACb,IAAI,UAAU,CAAC,OAAO,GAAG;IAC7B,OACK;QACD,IAAI,WAAW,CAAC,SAAS,cAAc,CAAC;IAC5C;AACJ;AACA,SAAS,eAAe,GAAG;IACvB,IAAI,OAAO,SAAS,IAAI,IAAI,SAAS,oBAAoB,CAAC,OAAO,CAAC,EAAE;IACpE,KAAK,WAAW,CAAC;AACrB;AACO,IAAI,sBAAsB;IAC7B,IAAI,UAAU;IACd,IAAI,aAAa;IACjB,OAAO;QACH,KAAK,SAAU,KAAK;YAChB,IAAI,WAAW,GAAG;gBACd,IAAK,aAAa,gBAAiB;oBAC/B,aAAa,YAAY;oBACzB,eAAe;gBACnB;YACJ;YACA;QACJ;QACA,QAAQ;YACJ;YACA,IAAI,CAAC,WAAW,YAAY;gBACxB,WAAW,UAAU,IAAI,WAAW,UAAU,CAAC,WAAW,CAAC;gBAC3D,aAAa;YACjB;QACJ;IACJ;AACJ","ignoreList":[0]}}, - {"offset": {"line": 3349, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/react-style-singleton/dist/es2015/hook.js"],"sourcesContent":["import * as React from 'react';\nimport { stylesheetSingleton } from './singleton';\n/**\n * creates a hook to control style singleton\n * @see {@link styleSingleton} for a safer component version\n * @example\n * ```tsx\n * const useStyle = styleHookSingleton();\n * ///\n * useStyle('body { overflow: hidden}');\n */\nexport var styleHookSingleton = function () {\n var sheet = stylesheetSingleton();\n return function (styles, isDynamic) {\n React.useEffect(function () {\n sheet.add(styles);\n return function () {\n sheet.remove();\n };\n }, [styles && isDynamic]);\n };\n};\n"],"names":[],"mappings":";;;;AAAA;AACA;;;AAUO,IAAI,qBAAqB;IAC5B,IAAI,QAAQ,IAAA,oMAAmB;IAC/B,OAAO,SAAU,MAAM,EAAE,SAAS;QAC9B,0KAAe;4CAAC;gBACZ,MAAM,GAAG,CAAC;gBACV;oDAAO;wBACH,MAAM,MAAM;oBAChB;;YACJ;2CAAG;YAAC,UAAU;SAAU;IAC5B;AACJ","ignoreList":[0]}}, - {"offset": {"line": 3378, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/react-style-singleton/dist/es2015/component.js"],"sourcesContent":["import { styleHookSingleton } from './hook';\n/**\n * create a Component to add styles on demand\n * - styles are added when first instance is mounted\n * - styles are removed when the last instance is unmounted\n * - changing styles in runtime does nothing unless dynamic is set. But with multiple components that can lead to the undefined behavior\n */\nexport var styleSingleton = function () {\n var useStyle = styleHookSingleton();\n var Sheet = function (_a) {\n var styles = _a.styles, dynamic = _a.dynamic;\n useStyle(styles, dynamic);\n return null;\n };\n return Sheet;\n};\n"],"names":[],"mappings":";;;;AAAA;;AAOO,IAAI,iBAAiB;IACxB,IAAI,WAAW,IAAA,8LAAkB;IACjC,IAAI,QAAQ,SAAU,EAAE;QACpB,IAAI,SAAS,GAAG,MAAM,EAAE,UAAU,GAAG,OAAO;QAC5C,SAAS,QAAQ;QACjB,OAAO;IACX;IACA,OAAO;AACX","ignoreList":[0]}}, - {"offset": {"line": 3397, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/react-style-singleton/dist/es2015/index.js"],"sourcesContent":["export { styleSingleton } from './component';\nexport { stylesheetSingleton } from './singleton';\nexport { styleHookSingleton } from './hook';\n"],"names":[],"mappings":";AAAA;AACA;AACA","ignoreList":[0]}}, - {"offset": {"line": 3408, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/react-remove-scroll-bar/dist/es2015/utils.js"],"sourcesContent":["export var zeroGap = {\n left: 0,\n top: 0,\n right: 0,\n gap: 0,\n};\nvar parse = function (x) { return parseInt(x || '', 10) || 0; };\nvar getOffset = function (gapMode) {\n var cs = window.getComputedStyle(document.body);\n var left = cs[gapMode === 'padding' ? 'paddingLeft' : 'marginLeft'];\n var top = cs[gapMode === 'padding' ? 'paddingTop' : 'marginTop'];\n var right = cs[gapMode === 'padding' ? 'paddingRight' : 'marginRight'];\n return [parse(left), parse(top), parse(right)];\n};\nexport var getGapWidth = function (gapMode) {\n if (gapMode === void 0) { gapMode = 'margin'; }\n if (typeof window === 'undefined') {\n return zeroGap;\n }\n var offsets = getOffset(gapMode);\n var documentWidth = document.documentElement.clientWidth;\n var windowWidth = window.innerWidth;\n return {\n left: offsets[0],\n top: offsets[1],\n right: offsets[2],\n gap: Math.max(0, windowWidth - documentWidth + offsets[2] - offsets[0]),\n };\n};\n"],"names":[],"mappings":";;;;;;AAAO,IAAI,UAAU;IACjB,MAAM;IACN,KAAK;IACL,OAAO;IACP,KAAK;AACT;AACA,IAAI,QAAQ,SAAU,CAAC;IAAI,OAAO,SAAS,KAAK,IAAI,OAAO;AAAG;AAC9D,IAAI,YAAY,SAAU,OAAO;IAC7B,IAAI,KAAK,OAAO,gBAAgB,CAAC,SAAS,IAAI;IAC9C,IAAI,OAAO,EAAE,CAAC,YAAY,YAAY,gBAAgB,aAAa;IACnE,IAAI,MAAM,EAAE,CAAC,YAAY,YAAY,eAAe,YAAY;IAChE,IAAI,QAAQ,EAAE,CAAC,YAAY,YAAY,iBAAiB,cAAc;IACtE,OAAO;QAAC,MAAM;QAAO,MAAM;QAAM,MAAM;KAAO;AAClD;AACO,IAAI,cAAc,SAAU,OAAO;IACtC,IAAI,YAAY,KAAK,GAAG;QAAE,UAAU;IAAU;IAC9C,IAAI,OAAO,WAAW,aAAa;QAC/B,OAAO;IACX;IACA,IAAI,UAAU,UAAU;IACxB,IAAI,gBAAgB,SAAS,eAAe,CAAC,WAAW;IACxD,IAAI,cAAc,OAAO,UAAU;IACnC,OAAO;QACH,MAAM,OAAO,CAAC,EAAE;QAChB,KAAK,OAAO,CAAC,EAAE;QACf,OAAO,OAAO,CAAC,EAAE;QACjB,KAAK,KAAK,GAAG,CAAC,GAAG,cAAc,gBAAgB,OAAO,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE;IAC1E;AACJ","ignoreList":[0]}}, - {"offset": {"line": 3455, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/react-remove-scroll-bar/dist/es2015/component.js"],"sourcesContent":["import * as React from 'react';\nimport { styleSingleton } from 'react-style-singleton';\nimport { fullWidthClassName, zeroRightClassName, noScrollbarsClassName, removedBarSizeVariable } from './constants';\nimport { getGapWidth } from './utils';\nvar Style = styleSingleton();\nexport var lockAttribute = 'data-scroll-locked';\n// important tip - once we measure scrollBar width and remove them\n// we could not repeat this operation\n// thus we are using style-singleton - only the first \"yet correct\" style will be applied.\nvar getStyles = function (_a, allowRelative, gapMode, important) {\n var left = _a.left, top = _a.top, right = _a.right, gap = _a.gap;\n if (gapMode === void 0) { gapMode = 'margin'; }\n return \"\\n .\".concat(noScrollbarsClassName, \" {\\n overflow: hidden \").concat(important, \";\\n padding-right: \").concat(gap, \"px \").concat(important, \";\\n }\\n body[\").concat(lockAttribute, \"] {\\n overflow: hidden \").concat(important, \";\\n overscroll-behavior: contain;\\n \").concat([\n allowRelative && \"position: relative \".concat(important, \";\"),\n gapMode === 'margin' &&\n \"\\n padding-left: \".concat(left, \"px;\\n padding-top: \").concat(top, \"px;\\n padding-right: \").concat(right, \"px;\\n margin-left:0;\\n margin-top:0;\\n margin-right: \").concat(gap, \"px \").concat(important, \";\\n \"),\n gapMode === 'padding' && \"padding-right: \".concat(gap, \"px \").concat(important, \";\"),\n ]\n .filter(Boolean)\n .join(''), \"\\n }\\n \\n .\").concat(zeroRightClassName, \" {\\n right: \").concat(gap, \"px \").concat(important, \";\\n }\\n \\n .\").concat(fullWidthClassName, \" {\\n margin-right: \").concat(gap, \"px \").concat(important, \";\\n }\\n \\n .\").concat(zeroRightClassName, \" .\").concat(zeroRightClassName, \" {\\n right: 0 \").concat(important, \";\\n }\\n \\n .\").concat(fullWidthClassName, \" .\").concat(fullWidthClassName, \" {\\n margin-right: 0 \").concat(important, \";\\n }\\n \\n body[\").concat(lockAttribute, \"] {\\n \").concat(removedBarSizeVariable, \": \").concat(gap, \"px;\\n }\\n\");\n};\nvar getCurrentUseCounter = function () {\n var counter = parseInt(document.body.getAttribute(lockAttribute) || '0', 10);\n return isFinite(counter) ? counter : 0;\n};\nexport var useLockAttribute = function () {\n React.useEffect(function () {\n document.body.setAttribute(lockAttribute, (getCurrentUseCounter() + 1).toString());\n return function () {\n var newCounter = getCurrentUseCounter() - 1;\n if (newCounter <= 0) {\n document.body.removeAttribute(lockAttribute);\n }\n else {\n document.body.setAttribute(lockAttribute, newCounter.toString());\n }\n };\n }, []);\n};\n/**\n * Removes page scrollbar and blocks page scroll when mounted\n */\nexport var RemoveScrollBar = function (_a) {\n var noRelative = _a.noRelative, noImportant = _a.noImportant, _b = _a.gapMode, gapMode = _b === void 0 ? 'margin' : _b;\n useLockAttribute();\n /*\n gap will be measured on every component mount\n however it will be used only by the \"first\" invocation\n due to singleton nature of <Style\n */\n var gap = React.useMemo(function () { return getGapWidth(gapMode); }, [gapMode]);\n return React.createElement(Style, { styles: getStyles(gap, !noRelative, gapMode, !noImportant ? '!important' : '') });\n};\n"],"names":[],"mappings":";;;;;;;;AAAA;AACA;AAAA;AACA;AACA;;;;;AACA,IAAI,QAAQ,IAAA,+LAAc;AACnB,IAAI,gBAAgB;AAC3B,kEAAkE;AAClE,qCAAqC;AACrC,0FAA0F;AAC1F,IAAI,YAAY,SAAU,EAAE,EAAE,aAAa,EAAE,OAAO,EAAE,SAAS;IAC3D,IAAI,OAAO,GAAG,IAAI,EAAE,MAAM,GAAG,GAAG,EAAE,QAAQ,GAAG,KAAK,EAAE,MAAM,GAAG,GAAG;IAChE,IAAI,YAAY,KAAK,GAAG;QAAE,UAAU;IAAU;IAC9C,OAAO,QAAQ,MAAM,CAAC,2MAAqB,EAAE,4BAA4B,MAAM,CAAC,WAAW,yBAAyB,MAAM,CAAC,KAAK,OAAO,MAAM,CAAC,WAAW,mBAAmB,MAAM,CAAC,eAAe,8BAA8B,MAAM,CAAC,WAAW,8CAA8C,MAAM,CAAC;QACnS,iBAAiB,sBAAsB,MAAM,CAAC,WAAW;QACzD,YAAY,YACR,uBAAuB,MAA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,GAAG,OAAO,EAAE,UAAU,OAAO,KAAK,IAAI,WAAW;IACpH;IACA;;;;KAIC,GACD,IAAI,MAAM,wKAAa;wCAAC;YAAc,OAAO,IAAA,6LAAW,EAAC;QAAU;uCAAG;QAAC;KAAQ;IAC/E,OAAO,8KAAmB,CAAC,OAAO;QAAE,QAAQ,UAAU,KAAK,CAAC,YAAY,SAAS,CAAC,cAAc,eAAe;IAAI;AACvH","ignoreList":[0]}}, - {"offset": {"line": 3531, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/react-remove-scroll-bar/dist/es2015/index.js"],"sourcesContent":["import { RemoveScrollBar } from './component';\nimport { zeroRightClassName, fullWidthClassName, noScrollbarsClassName, removedBarSizeVariable } from './constants';\nimport { getGapWidth } from './utils';\nexport { RemoveScrollBar, zeroRightClassName, fullWidthClassName, noScrollbarsClassName, removedBarSizeVariable, getGapWidth, };\n"],"names":[],"mappings":";AAAA;AACA;AACA","ignoreList":[0]}}, - {"offset": {"line": 3543, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js"],"sourcesContent":["var passiveSupported = false;\nif (typeof window !== 'undefined') {\n try {\n var options = Object.defineProperty({}, 'passive', {\n get: function () {\n passiveSupported = true;\n return true;\n },\n });\n // @ts-ignore\n window.addEventListener('test', options, options);\n // @ts-ignore\n window.removeEventListener('test', options, options);\n }\n catch (err) {\n passiveSupported = false;\n }\n}\nexport var nonPassive = passiveSupported ? { passive: false } : false;\n"],"names":[],"mappings":";;;;AAAA,IAAI,mBAAmB;AACvB,IAAI,OAAO,WAAW,aAAa;IAC/B,IAAI;QACA,IAAI,UAAU,OAAO,cAAc,CAAC,CAAC,GAAG,WAAW;YAC/C,KAAK;gBACD,mBAAmB;gBACnB,OAAO;YACX;QACJ;QACA,aAAa;QACb,OAAO,gBAAgB,CAAC,QAAQ,SAAS;QACzC,aAAa;QACb,OAAO,mBAAmB,CAAC,QAAQ,SAAS;IAChD,EACA,OAAO,KAAK;QACR,mBAAmB;IACvB;AACJ;AACO,IAAI,aAAa,mBAAmB;IAAE,SAAS;AAAM,IAAI","ignoreList":[0]}}, - {"offset": {"line": 3571, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/react-remove-scroll/dist/es2015/handleScroll.js"],"sourcesContent":["var alwaysContainsScroll = function (node) {\n // textarea will always _contain_ scroll inside self. It only can be hidden\n return node.tagName === 'TEXTAREA';\n};\nvar elementCanBeScrolled = function (node, overflow) {\n if (!(node instanceof Element)) {\n return false;\n }\n var styles = window.getComputedStyle(node);\n return (\n // not-not-scrollable\n styles[overflow] !== 'hidden' &&\n // contains scroll inside self\n !(styles.overflowY === styles.overflowX && !alwaysContainsScroll(node) && styles[overflow] === 'visible'));\n};\nvar elementCouldBeVScrolled = function (node) { return elementCanBeScrolled(node, 'overflowY'); };\nvar elementCouldBeHScrolled = function (node) { return elementCanBeScrolled(node, 'overflowX'); };\nexport var locationCouldBeScrolled = function (axis, node) {\n var ownerDocument = node.ownerDocument;\n var current = node;\n do {\n // Skip over shadow root\n if (typeof ShadowRoot !== 'undefined' && current instanceof ShadowRoot) {\n current = current.host;\n }\n var isScrollable = elementCouldBeScrolled(axis, current);\n if (isScrollable) {\n var _a = getScrollVariables(axis, current), scrollHeight = _a[1], clientHeight = _a[2];\n if (scrollHeight > clientHeight) {\n return true;\n }\n }\n current = current.parentNode;\n } while (current && current !== ownerDocument.body);\n return false;\n};\nvar getVScrollVariables = function (_a) {\n var scrollTop = _a.scrollTop, scrollHeight = _a.scrollHeight, clientHeight = _a.clientHeight;\n return [\n scrollTop,\n scrollHeight,\n clientHeight,\n ];\n};\nvar getHScrollVariables = function (_a) {\n var scrollLeft = _a.scrollLeft, scrollWidth = _a.scrollWidth, clientWidth = _a.clientWidth;\n return [\n scrollLeft,\n scrollWidth,\n clientWidth,\n ];\n};\nvar elementCouldBeScrolled = function (axis, node) {\n return axis === 'v' ? elementCouldBeVScrolled(node) : elementCouldBeHScrolled(node);\n};\nvar getScrollVariables = function (axis, node) {\n return axis === 'v' ? getVScrollVariables(node) : getHScrollVariables(node);\n};\nvar getDirectionFactor = function (axis, direction) {\n /**\n * If the element's direction is rtl (right-to-left), then scrollLeft is 0 when the scrollbar is at its rightmost position,\n * and then increasingly negative as you scroll towards the end of the content.\n * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollLeft\n */\n return axis === 'h' && direction === 'rtl' ? -1 : 1;\n};\nexport var handleScroll = function (axis, endTarget, event, sourceDelta, noOverscroll) {\n var directionFactor = getDirectionFactor(axis, window.getComputedStyle(endTarget).direction);\n var delta = directionFactor * sourceDelta;\n // find scrollable target\n var target = event.target;\n var targetInLock = endTarget.contains(target);\n var shouldCancelScroll = false;\n var isDeltaPositive = delta > 0;\n var availableScroll = 0;\n var availableScrollTop = 0;\n do {\n if (!target) {\n break;\n }\n var _a = getScrollVariables(axis, target), position = _a[0], scroll_1 = _a[1], capacity = _a[2];\n var elementScroll = scroll_1 - capacity - directionFactor * position;\n if (position || elementScroll) {\n if (elementCouldBeScrolled(axis, target)) {\n availableScroll += elementScroll;\n availableScrollTop += position;\n }\n }\n var parent_1 = target.parentNode;\n // we will \"bubble\" from ShadowDom in case we are, or just to the parent in normal case\n // this is the same logic used in focus-lock\n target = (parent_1 && parent_1.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? parent_1.host : parent_1);\n } while (\n // portaled content\n (!targetInLock && target !== document.body) ||\n // self content\n (targetInLock && (endTarget.contains(target) || endTarget === target)));\n // handle epsilon around 0 (non standard zoom levels)\n if (isDeltaPositive &&\n ((noOverscroll && Math.abs(availableScroll) < 1) || (!noOverscroll && delta > availableScroll))) {\n shouldCancelScroll = true;\n }\n else if (!isDeltaPositive &&\n ((noOverscroll && Math.abs(availableScrollTop) < 1) || (!noOverscroll && -delta > availableScrollTop))) {\n shouldCancelScroll = true;\n }\n return shouldCancelScroll;\n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BAAgB,WAAW,SAAS,IAAI,IAErC,gBAAgB,CAAC,UAAU,QAAQ,CAAC,WAAW,cAAc,MAAM,EAAI;IAC5E,qDAAqD;IACrD,IAAI,mBACA,CAAC,AAAC,gBAAgB,KAAK,GAAG,CAAC,mBAAmB,KAAO,CAAC,gBAAgB,QAAQ,eAAgB,GAAG;QACjG,qBAAqB;IACzB,OACK,IAAI,CAAC,mBACN,CAAC,AAAC,gBAAgB,KAAK,GAAG,CAAC,sBAAsB,KAAO,CAAC,gBAAgB,CAAC,QAAQ,kBAAmB,GAAG;QACxG,qBAAqB;IACzB;IACA,OAAO;AACX","ignoreList":[0]}}, - {"offset": {"line": 3684, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/react-remove-scroll/dist/es2015/SideEffect.js"],"sourcesContent":["import { __spreadArray } from \"tslib\";\nimport * as React from 'react';\nimport { RemoveScrollBar } from 'react-remove-scroll-bar';\nimport { styleSingleton } from 'react-style-singleton';\nimport { nonPassive } from './aggresiveCapture';\nimport { handleScroll, locationCouldBeScrolled } from './handleScroll';\nexport var getTouchXY = function (event) {\n return 'changedTouches' in event ? [event.changedTouches[0].clientX, event.changedTouches[0].clientY] : [0, 0];\n};\nexport var getDeltaXY = function (event) { return [event.deltaX, event.deltaY]; };\nvar extractRef = function (ref) {\n return ref && 'current' in ref ? ref.current : ref;\n};\nvar deltaCompare = function (x, y) { return x[0] === y[0] && x[1] === y[1]; };\nvar generateStyle = function (id) { return \"\\n .block-interactivity-\".concat(id, \" {pointer-events: none;}\\n .allow-interactivity-\").concat(id, \" {pointer-events: all;}\\n\"); };\nvar idCounter = 0;\nvar lockStack = [];\nexport function RemoveScrollSideCar(props) {\n var shouldPreventQueue = React.useRef([]);\n var touchStartRef = React.useRef([0, 0]);\n var activeAxis = React.useRef();\n var id = React.useState(idCounter++)[0];\n var Style = React.useState(styleSingleton)[0];\n var lastProps = React.useRef(props);\n React.useEffect(function () {\n lastProps.current = props;\n }, [props]);\n React.useEffect(function () {\n if (props.inert) {\n document.body.classList.add(\"block-interactivity-\".concat(id));\n var allow_1 = __spreadArray([props.lockRef.current], (props.shards || []).map(extractRef), true).filter(Boolean);\n allow_1.forEach(function (el) { return el.classList.add(\"allow-interactivity-\".concat(id)); });\n return function () {\n document.body.classList.remove(\"block-interactivity-\".concat(id));\n allow_1.forEach(function (el) { return el.classList.remove(\"allow-interactivity-\".concat(id)); });\n };\n }\n return;\n }, [props.inert, props.lockRef.current, props.shards]);\n var shouldCancelEvent = React.useCallback(function (event, parent) {\n if (('touches' in event && event.touches.length === 2) || (event.type === 'wheel' && event.ctrlKey)) {\n return !lastProps.current.allowPinchZoom;\n }\n var touch = getTouchXY(event);\n var touchStart = touchStartRef.current;\n var deltaX = 'deltaX' in event ? event.deltaX : touchStart[0] - touch[0];\n var deltaY = 'deltaY' in event ? event.deltaY : touchStart[1] - touch[1];\n var currentAxis;\n var target = event.target;\n var moveDirection = Math.abs(deltaX) > Math.abs(deltaY) ? 'h' : 'v';\n // allow horizontal touch move on Range inputs. They will not cause any scroll\n if ('touches' in event && moveDirection === 'h' && target.type === 'range') {\n return false;\n }\n // allow drag selection (iOS); check if selection's anchorNode is the same as target or contains target\n var selection = window.getSelection();\n var anchorNode = selection && selection.anchorNode;\n var isTouchingSelection = anchorNode ? anchorNode === target || anchorNode.contains(target) : false;\n if (isTouchingSelection) {\n return false;\n }\n var canBeScrolledInMainDirection = locationCouldBeScrolled(moveDirection, target);\n if (!canBeScrolledInMainDirection) {\n return true;\n }\n if (canBeScrolledInMainDirection) {\n currentAxis = moveDirection;\n }\n else {\n currentAxis = moveDirection === 'v' ? 'h' : 'v';\n canBeScrolledInMainDirection = locationCouldBeScrolled(moveDirection, target);\n // other axis might be not scrollable\n }\n if (!canBeScrolledInMainDirection) {\n return false;\n }\n if (!activeAxis.current && 'changedTouches' in event && (deltaX || deltaY)) {\n activeAxis.current = currentAxis;\n }\n if (!currentAxis) {\n return true;\n }\n var cancelingAxis = activeAxis.current || currentAxis;\n return handleScroll(cancelingAxis, parent, event, cancelingAxis === 'h' ? deltaX : deltaY, true);\n }, []);\n var shouldPrevent = React.useCallback(function (_event) {\n var event = _event;\n if (!lockStack.length || lockStack[lockStack.length - 1] !== Style) {\n // not the last active\n return;\n }\n var delta = 'deltaY' in event ? getDeltaXY(event) : getTouchXY(event);\n var sourceEvent = shouldPreventQueue.current.filter(function (e) { return e.name === event.type && (e.target === event.target || event.target === e.shadowParent) && deltaCompare(e.delta, delta); })[0];\n // self event, and should be canceled\n if (sourceEvent && sourceEvent.should) {\n if (event.cancelable) {\n event.preventDefault();\n }\n return;\n }\n // outside or shard event\n if (!sourceEvent) {\n var shardNodes = (lastProps.current.shards || [])\n .map(extractRef)\n .filter(Boolean)\n .filter(function (node) { return node.contains(event.target); });\n var shouldStop = shardNodes.length > 0 ? shouldCancelEvent(event, shardNodes[0]) : !lastProps.current.noIsolation;\n if (shouldStop) {\n if (event.cancelable) {\n event.preventDefault();\n }\n }\n }\n }, []);\n var shouldCancel = React.useCallback(function (name, delta, target, should) {\n var event = { name: name, delta: delta, target: target, should: should, shadowParent: getOutermostShadowParent(target) };\n shouldPreventQueue.current.push(event);\n setTimeout(function () {\n shouldPreventQueue.current = shouldPreventQueue.current.filter(function (e) { return e !== event; });\n }, 1);\n }, []);\n var scrollTouchStart = React.useCallback(function (event) {\n touchStartRef.current = getTouchXY(event);\n activeAxis.current = undefined;\n }, []);\n var scrollWheel = React.useCallback(function (event) {\n shouldCancel(event.type, getDeltaXY(event), event.target, shouldCancelEvent(event, props.lockRef.current));\n }, []);\n var scrollTouchMove = React.useCallback(function (event) {\n shouldCancel(event.type, getTouchXY(event), event.target, shouldCancelEvent(event, props.lockRef.current));\n }, []);\n React.useEffect(function () {\n lockStack.push(Style);\n props.setCallbacks({\n onScrollCapture: scrollWheel,\n onWheelCapture: scrollWheel,\n onTouchMoveCapture: scrollTouchMove,\n });\n document.addEventListener('wheel', shouldPrevent, nonPassive);\n document.addEventListener('touchmove', shouldPrevent, nonPassive);\n document.addEventListener('touchstart', scrollTouchStart, nonPassive);\n return function () {\n lockStack = lockStack.filter(function (inst) { return inst !== Style; });\n document.removeEventListener('wheel', shouldPrevent, nonPassive);\n document.removeEventListener('touchmove', shouldPrevent, nonPassive);\n document.removeEventListener('touchstart', scrollTouchStart, nonPassive);\n };\n }, []);\n var removeScrollBar = props.removeScrollBar, inert = props.inert;\n return (React.createElement(React.Fragment, null,\n inert ? React.createElement(Style, { styles: generateStyle(id) }) : null,\n removeScrollBar ? React.createElement(RemoveScrollBar, { noRelative: props.noRelative, gapMode: props.gapMode }) : null));\n}\nfunction getOutermostShadowParent(node) {\n var shadowParent = null;\n while (node !== null) {\n if (node instanceof ShadowRoot) {\n shadowParent = node.host;\n node = node.host;\n }\n node = node.parentNode;\n }\n return shadowParent;\n}\n"],"names":[],"mappings":";;;;;;;;AAAA;AACA;AACA;AAAA;AACA;AAAA;AACA;AACA;;;;;;;AACO,IAAI,aAAa,SAAU,KAAK;IACnC,OAAO,oBAAoB,QAAQ;QAAC,MAAM,cAAc,CAAC,EAAE,CAAC,OAAO;QAAE,MAAM,cAAc,CAAC,EAAE,CAAC,OAAO;KAAC,GAAG;QAAC;QAAG;KAAE;AAClH;AACO,IAAI,aAAa,SAAU,KAAK;IAAI,OAAO;QAAC,MAAM,MAAM;QAAE,MAAM,MAAM;KAAC;AAAE;AAChF,IAAI,aAAa,SAAU,GAAG;IAC1B,OAAO,OAAO,aAAa,MAAM,IAAI,OAAO,GAAG;AACnD;AACA,IAAI,eAAe,SAAU,CAAC,EAAE,CAAC;IAAI,OAAO,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,EAAE;AAAE;AAC5E,IAAI,gBAAgB,SAAU,EAAE;IAAI,OAAO,4BAA4B,MAAM,CAAC,IAAI,qDAAqD,MAAM,CAAC,IAAI;AAA8B;AAChL,IAAI,YAAY;AAChB,IAAI,Y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EAAE,MACxC,QAAQ,8KAAmB,CAAC,OAAO;QAAE,QAAQ,cAAc;IAAI,KAAK,MACpE,kBAAkB,8KAAmB,CAAC,qMAAe,EAAE;QAAE,YAAY,MAAM,UAAU;QAAE,SAAS,MAAM,OAAO;IAAC,KAAK;AAC3H;AACA,SAAS,yBAAyB,IAAI;IAClC,IAAI,eAAe;IACnB,MAAO,SAAS,KAAM;QAClB,IAAI,gBAAgB,YAAY;YAC5B,eAAe,KAAK,IAAI;YACxB,OAAO,KAAK,IAAI;QACpB;QACA,OAAO,KAAK,UAAU;IAC1B;IACA,OAAO;AACX","ignoreList":[0]}}, - {"offset": {"line": 3947, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/react-remove-scroll/dist/es2015/sidecar.js"],"sourcesContent":["import { exportSidecar } from 'use-sidecar';\nimport { RemoveScrollSideCar } from './SideEffect';\nimport { effectCar } from './medium';\nexport default exportSidecar(effectCar, RemoveScrollSideCar);\n"],"names":[],"mappings":";;;;AAAA;AACA;AACA;;;;uCACe,IAAA,+KAAa,EAAC,qLAAS,EAAE,mMAAmB","ignoreList":[0]}}, - {"offset": {"line": 3962, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/react-remove-scroll/dist/es2015/Combination.js"],"sourcesContent":["import { __assign } from \"tslib\";\nimport * as React from 'react';\nimport { RemoveScroll } from './UI';\nimport SideCar from './sidecar';\nvar ReactRemoveScroll = React.forwardRef(function (props, ref) { return (React.createElement(RemoveScroll, __assign({}, props, { ref: ref, sideCar: SideCar }))); });\nReactRemoveScroll.classNames = RemoveScroll.classNames;\nexport default ReactRemoveScroll;\n"],"names":[],"mappings":";;;;AAAA;AACA;AACA;AACA;;;;;AACA,IAAI,oBAAoB,2KAAgB,CAAC,SAAU,KAAK,EAAE,GAAG;IAAI,OAAQ,8KAAmB,CAAC,oLAAY,EAAE,IAAA,qJAAQ,EAAC,CAAC,GAAG,OAAO;QAAE,KAAK;QAAK,SAAS,oLAAO;IAAC;AAAM;AAClK,kBAAkB,UAAU,GAAG,oLAAY,CAAC,UAAU;uCACvC","ignoreList":[0]}}, - {"offset": {"line": 3995, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/aria-hidden/dist/es2015/index.js"],"sourcesContent":["var getDefaultParent = function (originalTarget) {\n if (typeof document === 'undefined') {\n return null;\n }\n var sampleTarget = Array.isArray(originalTarget) ? originalTarget[0] : originalTarget;\n return sampleTarget.ownerDocument.body;\n};\nvar counterMap = new WeakMap();\nvar uncontrolledNodes = new WeakMap();\nvar markerMap = {};\nvar lockCount = 0;\nvar unwrapHost = function (node) {\n return node && (node.host || unwrapHost(node.parentNode));\n};\nvar correctTargets = function (parent, targets) {\n return targets\n .map(function (target) {\n if (parent.contains(target)) {\n return target;\n }\n var correctedTarget = unwrapHost(target);\n if (correctedTarget && parent.contains(correctedTarget)) {\n return correctedTarget;\n }\n console.error('aria-hidden', target, 'in not contained inside', parent, '. Doing nothing');\n return null;\n })\n .filter(function (x) { return Boolean(x); });\n};\n/**\n * Marks everything except given node(or nodes) as aria-hidden\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @param {String} [controlAttribute] - html Attribute to control\n * @return {Undo} undo command\n */\nvar applyAttributeToOthers = function (originalTarget, parentNode, markerName, controlAttribute) {\n var targets = correctTargets(parentNode, Array.isArray(originalTarget) ? originalTarget : [originalTarget]);\n if (!markerMap[markerName]) {\n markerMap[markerName] = new WeakMap();\n }\n var markerCounter = markerMap[markerName];\n var hiddenNodes = [];\n var elementsToKeep = new Set();\n var elementsToStop = new Set(targets);\n var keep = function (el) {\n if (!el || elementsToKeep.has(el)) {\n return;\n }\n elementsToKeep.add(el);\n keep(el.parentNode);\n };\n targets.forEach(keep);\n var deep = function (parent) {\n if (!parent || elementsToStop.has(parent)) {\n return;\n }\n Array.prototype.forEach.call(parent.children, function (node) {\n if (elementsToKeep.has(node)) {\n deep(node);\n }\n else {\n try {\n var attr = node.getAttribute(controlAttribute);\n var alreadyHidden = attr !== null && attr !== 'false';\n var counterValue = (counterMap.get(node) || 0) + 1;\n var markerValue = (markerCounter.get(node) || 0) + 1;\n counterMap.set(node, counterValue);\n markerCounter.set(node, markerValue);\n hiddenNodes.push(node);\n if (counterValue === 1 && alreadyHidden) {\n uncontrolledNodes.set(node, true);\n }\n if (markerValue === 1) {\n node.setAttribute(markerName, 'true');\n }\n if (!alreadyHidden) {\n node.setAttribute(controlAttribute, 'true');\n }\n }\n catch (e) {\n console.error('aria-hidden: cannot operate on ', node, e);\n }\n }\n });\n };\n deep(parentNode);\n elementsToKeep.clear();\n lockCount++;\n return function () {\n hiddenNodes.forEach(function (node) {\n var counterValue = counterMap.get(node) - 1;\n var markerValue = markerCounter.get(node) - 1;\n counterMap.set(node, counterValue);\n markerCounter.set(node, markerValue);\n if (!counterValue) {\n if (!uncontrolledNodes.has(node)) {\n node.removeAttribute(controlAttribute);\n }\n uncontrolledNodes.delete(node);\n }\n if (!markerValue) {\n node.removeAttribute(markerName);\n }\n });\n lockCount--;\n if (!lockCount) {\n // clear\n counterMap = new WeakMap();\n counterMap = new WeakMap();\n uncontrolledNodes = new WeakMap();\n markerMap = {};\n }\n };\n};\n/**\n * Marks everything except given node(or nodes) as aria-hidden\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var hideOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-aria-hidden'; }\n var targets = Array.from(Array.isArray(originalTarget) ? originalTarget : [originalTarget]);\n var activeParentNode = parentNode || getDefaultParent(originalTarget);\n if (!activeParentNode) {\n return function () { return null; };\n }\n // we should not hide aria-live elements - https://github.com/theKashey/aria-hidden/issues/10\n // and script elements, as they have no impact on accessibility.\n targets.push.apply(targets, Array.from(activeParentNode.querySelectorAll('[aria-live], script')));\n return applyAttributeToOthers(targets, activeParentNode, markerName, 'aria-hidden');\n};\n/**\n * Marks everything except given node(or nodes) as inert\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var inertOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-inert-ed'; }\n var activeParentNode = parentNode || getDefaultParent(originalTarget);\n if (!activeParentNode) {\n return function () { return null; };\n }\n return applyAttributeToOthers(originalTarget, activeParentNode, markerName, 'inert');\n};\n/**\n * @returns if current browser supports inert\n */\nexport var supportsInert = function () {\n return typeof HTMLElement !== 'undefined' && HTMLElement.prototype.hasOwnProperty('inert');\n};\n/**\n * Automatic function to \"suppress\" DOM elements - _hide_ or _inert_ in the best possible way\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var suppressOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-suppressed'; }\n return (supportsInert() ? inertOthers : hideOthers)(originalTarget, parentNode, markerName);\n};\n"],"names":[],"mappings":";;;;;;;;;;AAAA,IAAI,mBAAmB,SAAU,cAAc;IAC3C,IAAI,OAAO,aAAa,aAAa;QACjC,OAAO;IACX;IACA,IAAI,eAAe,MAAM,OAAO,CAAC,kBAAkB,cAAc,CAAC,EAAE,GAAG;IACvE,OAAO,aAAa,aAAa,CAAC,IAAI;AAC1C;AACA,IAAI,aAAa,IAAI;AACrB,IAAI,oBAAoB,IAAI;AAC5B,IAAI,YAAY,CAAC;AACjB,IAAI,YAAY;AAChB,IAAI,aAAa,SAAU,IAAI;IAC3B,OAAO,QAAQ,CAAC,KAAK,IAAI,IAAI,WAAW,KAAK,UAAU,CAAC;AAC5D;AACA,IAAI,iBAAiB,SAA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AAmB,cAAc,iBAAiB;IACtD,IAAI,CAAC,kBAAkB;QACnB,OAAO;YAAc,OAAO;QAAM;IACtC;IACA,6FAA6F;IAC7F,gEAAgE;IAChE,QAAQ,IAAI,CAAC,KAAK,CAAC,SAAS,MAAM,IAAI,CAAC,iBAAiB,gBAAgB,CAAC;IACzE,OAAO,uBAAuB,SAAS,kBAAkB,YAAY;AACzE;AAQO,IAAI,cAAc,SAAU,cAAc,EAAE,UAAU,EAAE,UAAU;IACrE,IAAI,eAAe,KAAK,GAAG;QAAE,aAAa;IAAiB;IAC3D,IAAI,mBAAmB,cAAc,iBAAiB;IACtD,IAAI,CAAC,kBAAkB;QACnB,OAAO;YAAc,OAAO;QAAM;IACtC;IACA,OAAO,uBAAuB,gBAAgB,kBAAkB,YAAY;AAChF;AAIO,IAAI,gBAAgB;IACvB,OAAO,OAAO,gBAAgB,eAAe,YAAY,SAAS,CAAC,cAAc,CAAC;AACtF;AAQO,IAAI,iBAAiB,SAAU,cAAc,EAAE,UAAU,EAAE,UAAU;IACxE,IAAI,eAAe,KAAK,GAAG;QAAE,aAAa;IAAmB;IAC7D,OAAO,CAAC,kBAAkB,cAAc,UAAU,EAAE,gBAAgB,YAAY;AACpF","ignoreList":[0]}}, - {"offset": {"line": 4163, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40radix-ui/react-dialog/node_modules/%40radix-ui/react-slot/src/slot.tsx"],"sourcesContent":["import * as React from 'react';\nimport { composeRefs } from '@radix-ui/react-compose-refs';\n\n/* -------------------------------------------------------------------------------------------------\n * Slot\n * -----------------------------------------------------------------------------------------------*/\n\ninterface SlotProps extends React.HTMLAttributes<HTMLElement> {\n children?: React.ReactNode;\n}\n\n/* @__NO_SIDE_EFFECTS__ */ export function createSlot(ownerName: string) {\n const SlotClone = createSlotClone(ownerName);\n const Slot = React.forwardRef<HTMLElement, SlotProps>((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n\n if (slottable) {\n // the new element to render is the one passed as a child of `Slottable`\n const newElement = slottable.props.children;\n\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n // because the new element will be the one rendered, we are only interested\n // in grabbing its children (`newElement.props.children`)\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement)\n ? (newElement.props as { children: React.ReactNode }).children\n : null;\n } else {\n return child;\n }\n });\n\n return (\n <SlotClone {...slotProps} ref={forwardedRef}>\n {React.isValidElement(newElement)\n ? React.cloneElement(newElement, undefined, newChildren)\n : null}\n </SlotClone>\n );\n }\n\n return (\n <SlotClone {...slotProps} ref={forwardedRef}>\n {children}\n </SlotClone>\n );\n });\n\n Slot.displayName = `${ownerName}.Slot`;\n return Slot;\n}\n\nconst Slot = createSlot('Slot');\n\n/* -------------------------------------------------------------------------------------------------\n * SlotClone\n * -----------------------------------------------------------------------------------------------*/\n\ninterface SlotCloneProps {\n children: React.ReactNode;\n}\n\n/* @__NO_SIDE_EFFECTS__ */ function createSlotClone(ownerName: string) {\n const SlotClone = React.forwardRef<any, SlotCloneProps>((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n const props = mergeProps(slotProps, children.props as AnyProps);\n // do not pass ref to React.Fragment for React 19 compatibility\n if (children.type !== React.Fragment) {\n props.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;\n }\n return React.cloneElement(children, props);\n }\n\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n });\n\n SlotClone.displayName = `${ownerName}.SlotClone`;\n return SlotClone;\n}\n\n/* -------------------------------------------------------------------------------------------------\n * Slottable\n * -----------------------------------------------------------------------------------------------*/\n\nconst SLOTTABLE_IDENTIFIER = Symbol('radix.slottable');\n\ninterface SlottableProps {\n children: React.ReactNode;\n}\n\ninterface SlottableComponent extends React.FC<SlottableProps> {\n __radixId: symbol;\n}\n\n/* @__NO_SIDE_EFFECTS__ */ export function createSlottable(ownerName: string) {\n const Slottable: SlottableComponent = ({ children }) => {\n return <>{children}</>;\n };\n Slottable.displayName = `${ownerName}.Slottable`;\n Slottable.__radixId = SLOTTABLE_IDENTIFIER;\n return Slottable;\n}\n\nconst Slottable = createSlottable('Slottable');\n\n/* ---------------------------------------------------------------------------------------------- */\n\ntype AnyProps = Record<string, any>;\n\nfunction isSlottable(\n child: React.ReactNode\n): child is React.ReactElement<SlottableProps, typeof Slottable> {\n return (\n React.isValidElement(child) &&\n typeof child.type === 'function' &&\n '__radixId' in child.type &&\n child.type.__radixId === SLOTTABLE_IDENTIFIER\n );\n}\n\nfunction mergeProps(slotProps: AnyProps, childProps: AnyProps) {\n // all child props should override\n const overrideProps = { ...childProps };\n\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n // if the handler exists on both, we compose them\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args: unknown[]) => {\n const result = childPropValue(...args);\n slotPropValue(...args);\n return result;\n };\n }\n // but if it exists only on the slot, we use only this one\n else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n }\n // if it's `style`, we merge them\n else if (propName === 'style') {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === 'className') {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(' ');\n }\n }\n\n return { ...slotProps, ...overrideProps };\n}\n\n// Before React 19 accessing `element.props.ref` will throw a warning and suggest using `element.ref`\n// After React 19 accessing `element.ref` does the opposite.\n// https://github.com/facebook/react/pull/28348\n//\n// Access the ref using the method that doesn't yield a warning.\nfunction getElementRef(element: React.ReactElement) {\n // React <=18 in DEV\n let getter = Object.getOwnPropertyDescriptor(element.props, 'ref')?.get;\n let mayWarn = getter && 'isReactWarning' in getter && getter.isReactWarning;\n if (mayWarn) {\n return (element as any).ref;\n }\n\n // React 19 in DEV\n getter = Object.getOwnPropertyDescriptor(element, 'ref')?.get;\n mayWarn = getter && 'isReactWarning' in getter && getter.isReactWarning;\n if (mayWarn) {\n return (element.props as { ref?: React.Ref<unknown> }).ref;\n }\n\n // Not DEV\n return (element.props as { ref?: React.Ref<unknown> }).ref || (element as any).ref;\n}\n\nexport {\n Slot,\n Slottable,\n //\n Slot as Root,\n};\nexport type { SlotProps };\n"],"names":["Fragment", "Slot", "props", "Slottable"],"mappings":";;;;;;;;;;;;;AAAA,YAAY,WAAW;AACvB,SAAS,mBAAmB;AAmCpB,SAkEG,YAAAA,WAlEH;;;;AAAA,uBAAA;AAzB0B,SAAS,WAAW,SAAA,EAAmB;IACvE,MAAM,YAAY,aAAA,GAAA,gBAAgB,SAAS;IAC3C,MAAMC,QAAa,2KAAA,CAAmC,CAAC,OAAO,iBAAiB;QAC7E,MAAM,EAAE,QAAA,EAAU,GAAG,UAAU,CAAA,GAAI;QACnC,MAAM,gBAAsB,yKAAA,CAAS,OAAA,CAAQ,QAAQ;QACrD,MAAM,YAAY,cAAc,IAAA,CAAK,WAAW;QAEhD,IAAI,WAAW;YAEb,MAAM,aAAa,UAAU,KAAA,CAAM,QAAA;YAEnC,MAAM,cAAc,cAAc,GAAA,CAAI,CAAC,UAAU;gBAC/C,IAAI,UAAU,WAAW;oBAGvB,IAAU,yKAAA,CAAS,KAAA,CAAM,UAAU,IAAI,EAAG,CAAA,OAAa,yKAAA,CAAS,IAAA,CAAK,IAAI;oBACzE,OAAa,+KAAA,CAAe,UAAU,IACjC,WAAW,KAAA,CAAwC,QAAA,GACpD;gBACN,OAAO;oBACL,OAAO;gBACT;YACF,CAAC;YAED,OACE,aAAA,GAAA,IAAA,6KAAA,EAAC,WAAA;gBAAW,GAAG,SAAA;gBAAW,KAAK;gBAC5B,UAAM,+KAAA,CAAe,UAAU,IACtB,6KAAA,CAAa,YAAY,KAAA,GAAW,WAAW,IACrD;YAAA,CACN;QAEJ;QAEA,OACE,aAAA,GAAA,IAA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OAAO,cAAA;IACzD,IAAI,SAAS;QACX,OAAQ,QAAQ,KAAA,CAAuC,GAAA;IACzD;IAGA,OAAQ,QAAQ,KAAA,CAAuC,GAAA,IAAQ,QAAgB,GAAA;AACjF"}}, - {"offset": {"line": 4302, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/%40radix-ui/react-dialog/src/dialog.tsx"],"sourcesContent":["import * as React from 'react';\nimport { composeEventHandlers } from '@radix-ui/primitive';\nimport { useComposedRefs } from '@radix-ui/react-compose-refs';\nimport { createContext, createContextScope } from '@radix-ui/react-context';\nimport { useId } from '@radix-ui/react-id';\nimport { useControllableState } from '@radix-ui/react-use-controllable-state';\nimport { DismissableLayer } from '@radix-ui/react-dismissable-layer';\nimport { FocusScope } from '@radix-ui/react-focus-scope';\nimport { Portal as PortalPrimitive } from '@radix-ui/react-portal';\nimport { Presence } from '@radix-ui/react-presence';\nimport { Primitive } from '@radix-ui/react-primitive';\nimport { useFocusGuards } from '@radix-ui/react-focus-guards';\nimport { RemoveScroll } from 'react-remove-scroll';\nimport { hideOthers } from 'aria-hidden';\nimport { createSlot } from '@radix-ui/react-slot';\n\nimport type { Scope } from '@radix-ui/react-context';\n\n/* -------------------------------------------------------------------------------------------------\n * Dialog\n * -----------------------------------------------------------------------------------------------*/\n\nconst DIALOG_NAME = 'Dialog';\n\ntype ScopedProps<P> = P & { __scopeDialog?: Scope };\nconst [createDialogContext, createDialogScope] = createContextScope(DIALOG_NAME);\n\ntype DialogContextValue = {\n triggerRef: React.RefObject<HTMLButtonElement | null>;\n contentRef: React.RefObject<DialogContentElement | null>;\n contentId: string;\n titleId: string;\n descriptionId: string;\n open: boolean;\n onOpenChange(open: boolean): void;\n onOpenToggle(): void;\n modal: boolean;\n};\n\nconst [DialogProvider, useDialogContext] = createDialogContext<DialogContextValue>(DIALOG_NAME);\n\ninterface DialogProps {\n children?: React.ReactNode;\n open?: boolean;\n defaultOpen?: boolean;\n onOpenChange?(open: boolean): void;\n modal?: boolean;\n}\n\nconst Dialog: React.FC<DialogProps> = (props: ScopedProps<DialogProps>) => {\n const {\n __scopeDialog,\n children,\n open: openProp,\n defaultOpen,\n onOpenChange,\n modal = true,\n } = props;\n const triggerRef = React.useRef<HTMLButtonElement>(null);\n const contentRef = React.useRef<DialogContentElement>(null);\n const [open, setOpen] = useControllableState({\n prop: openProp,\n defaultProp: defaultOpen ?? false,\n onChange: onOpenChange,\n caller: DIALOG_NAME,\n });\n\n return (\n <DialogProvider\n scope={__scopeDialog}\n triggerRef={triggerRef}\n contentRef={contentRef}\n contentId={useId()}\n titleId={useId()}\n descriptionId={useId()}\n open={open}\n onOpenChange={setOpen}\n onOpenToggle={React.useCallback(() => setOpen((prevOpen) => !prevOpen), [setOpen])}\n modal={modal}\n >\n {children}\n </DialogProvider>\n );\n};\n\nDialog.displayName = DIALOG_NAME;\n\n/* -------------------------------------------------------------------------------------------------\n * DialogTrigger\n * -----------------------------------------------------------------------------------------------*/\n\nconst TRIGGER_NAME = 'DialogTrigger';\n\ntype DialogTriggerElement = React.ComponentRef<typeof Primitive.button>;\ntype PrimitiveButtonProps = React.ComponentPropsWithoutRef<typeof Primitive.button>;\ninterface DialogTriggerProps extends PrimitiveButtonProps {}\n\nconst DialogTrigger = React.forwardRef<DialogTriggerElement, DialogTriggerProps>(\n (props: ScopedProps<DialogTriggerProps>, forwardedRef) => {\n const { __scopeDialog, ...triggerProps } = props;\n const context = useDialogContext(TRIGGER_NAME, __scopeDialog);\n const composedTriggerRef = useComposedRefs(forwardedRef, context.triggerRef);\n return (\n <Primitive.button\n type=\"button\"\n aria-haspopup=\"dialog\"\n aria-expanded={context.open}\n aria-controls={context.contentId}\n data-state={getState(context.open)}\n {...triggerProps}\n ref={composedTriggerRef}\n onClick={composeEventHandlers(props.onClick, context.onOpenToggle)}\n />\n );\n }\n);\n\nDialogTrigger.displayName = TRIGGER_NAME;\n\n/* -------------------------------------------------------------------------------------------------\n * DialogPortal\n * -----------------------------------------------------------------------------------------------*/\n\nconst PORTAL_NAME = 'DialogPortal';\n\ntype PortalContextValue = { forceMount?: true };\nconst [PortalProvider, usePortalContext] = createDialogContext<PortalContextValue>(PORTAL_NAME, {\n forceMount: undefined,\n});\n\ntype PortalProps = React.ComponentPropsWithoutRef<typeof PortalPrimitive>;\ninterface DialogPortalProps {\n children?: React.ReactNode;\n /**\n * Specify a container element to portal the content into.\n */\n container?: PortalProps['container'];\n /**\n * Used to force mounting when more control is needed. Useful when\n * controlling animation with React animation libraries.\n */\n forceMount?: true;\n}\n\nconst DialogPortal: React.FC<DialogPortalProps> = (props: ScopedProps<DialogPortalProps>) => {\n const { __scopeDialog, forceMount, children, container } = props;\n const context = useDialogContext(PORTAL_NAME, __scopeDialog);\n return (\n <PortalProvider scope={__scopeDialog} forceMount={forceMount}>\n {React.Children.map(children, (child) => (\n <Presence present={forceMount || context.open}>\n <PortalPrimitive asChild container={container}>\n {child}\n </PortalPrimitive>\n </Presence>\n ))}\n </PortalProvider>\n );\n};\n\nDialogPortal.displayName = PORTAL_NAME;\n\n/* -------------------------------------------------------------------------------------------------\n * DialogOverlay\n * -----------------------------------------------------------------------------------------------*/\n\nconst OVERLAY_NAME = 'DialogOverlay';\n\ntype DialogOverlayElement = DialogOverlayImplElement;\ninterface DialogOverlayProps extends DialogOverlayImplProps {\n /**\n * Used to force mounting when more control is needed. Useful when\n * controlling animation with React animation libraries.\n */\n forceMount?: true;\n}\n\nconst DialogOverlay = React.forwardRef<DialogOverlayElement, DialogOverlayProps>(\n (props: ScopedProps<DialogOverlayProps>, forwardedRef) => {\n const portalContext = usePortalContext(OVERLAY_NAME, props.__scopeDialog);\n const { forceMount = portalContext.forceMount, ...overlayProps } = props;\n const context = useDialogContext(OVERLAY_NAME, props.__scopeDialog);\n return context.modal ? (\n <Presence present={forceMount || context.open}>\n <DialogOverlayImpl {...overlayProps} ref={forwardedRef} />\n </Presence>\n ) : null;\n }\n);\n\nDialogOverlay.displayName = OVERLAY_NAME;\n\ntype DialogOverlayImplElement = React.ComponentRef<typeof Primitive.div>;\ntype PrimitiveDivProps = React.ComponentPropsWithoutRef<typeof Primitive.div>;\ninterface DialogOverlayImplProps extends PrimitiveDivProps {}\n\nconst Slot = createSlot('DialogOverlay.RemoveScroll');\n\nconst DialogOverlayImpl = React.forwardRef<DialogOverlayImplElement, DialogOverlayImplProps>(\n (props: ScopedProps<DialogOverlayImplProps>, forwardedRef) => {\n const { __scopeDialog, ...overlayProps } = props;\n const context = useDialogContext(OVERLAY_NAME, __scopeDialog);\n return (\n // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`\n // ie. when `Overlay` and `Content` are siblings\n <RemoveScroll as={Slot} allowPinchZoom shards={[context.contentRef]}>\n <Primitive.div\n data-state={getState(context.open)}\n {...overlayProps}\n ref={forwardedRef}\n // We re-enable pointer-events prevented by `Dialog.Content` to allow scrolling the overlay.\n style={{ pointerEvents: 'auto', ...overlayProps.style }}\n />\n </RemoveScroll>\n );\n }\n);\n\n/* -------------------------------------------------------------------------------------------------\n * DialogContent\n * -----------------------------------------------------------------------------------------------*/\n\nconst CONTENT_NAME = 'DialogContent';\n\ntype DialogContentElement = DialogContentTypeElement;\ninterface DialogContentProps extends DialogContentTypeProps {\n /**\n * Used to force mounting when more control is needed. Useful when\n * controlling animation with React animation libraries.\n */\n forceMount?: true;\n}\n\nconst DialogContent = React.forwardRef<DialogContentElement, DialogContentProps>(\n (props: ScopedProps<DialogContentProps>, forwardedRef) => {\n const portalContext = usePortalContext(CONTENT_NAME, props.__scopeDialog);\n const { forceMount = portalContext.forceMount, ...contentProps } = props;\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n return (\n <Presence present={forceMount || context.open}>\n {context.modal ? (\n <DialogContentModal {...contentProps} ref={forwardedRef} />\n ) : (\n <DialogContentNonModal {...contentProps} ref={forwardedRef} />\n )}\n </Presence>\n );\n }\n);\n\nDialogContent.displayName = CONTENT_NAME;\n\n/* -----------------------------------------------------------------------------------------------*/\n\ntype DialogContentTypeElement = DialogContentImplElement;\ninterface DialogContentTypeProps\n extends Omit<DialogContentImplProps, 'trapFocus' | 'disableOutsidePointerEvents'> {}\n\nconst DialogContentModal = React.forwardRef<DialogContentTypeElement, DialogContentTypeProps>(\n (props: ScopedProps<DialogContentTypeProps>, forwardedRef) => {\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n const contentRef = React.useRef<HTMLDivElement>(null);\n const composedRefs = useComposedRefs(forwardedRef, context.contentRef, contentRef);\n\n // aria-hide everything except the content (better supported equivalent to setting aria-modal)\n React.useEffect(() => {\n const content = contentRef.current;\n if (content) return hideOthers(content);\n }, []);\n\n return (\n <DialogContentImpl\n {...props}\n ref={composedRefs}\n // we make sure focus isn't trapped once `DialogContent` has been closed\n // (closed !== unmounted when animating out)\n trapFocus={context.open}\n disableOutsidePointerEvents\n onCloseAutoFocus={composeEventHandlers(props.onCloseAutoFocus, (event) => {\n event.preventDefault();\n context.triggerRef.current?.focus();\n })}\n onPointerDownOutside={composeEventHandlers(props.onPointerDownOutside, (event) => {\n const originalEvent = event.detail.originalEvent;\n const ctrlLeftClick = originalEvent.button === 0 && originalEvent.ctrlKey === true;\n const isRightClick = originalEvent.button === 2 || ctrlLeftClick;\n\n // If the event is a right-click, we shouldn't close because\n // it is effectively as if we right-clicked the `Overlay`.\n if (isRightClick) event.preventDefault();\n })}\n // When focus is trapped, a `focusout` event may still happen.\n // We make sure we don't trigger our `onDismiss` in such case.\n onFocusOutside={composeEventHandlers(props.onFocusOutside, (event) =>\n event.preventDefault()\n )}\n />\n );\n }\n);\n\n/* -----------------------------------------------------------------------------------------------*/\n\nconst DialogContentNonModal = React.forwardRef<DialogContentTypeElement, DialogContentTypeProps>(\n (props: ScopedProps<DialogContentTypeProps>, forwardedRef) => {\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n const hasInteractedOutsideRef = React.useRef(false);\n const hasPointerDownOutsideRef = React.useRef(false);\n\n return (\n <DialogContentImpl\n {...props}\n ref={forwardedRef}\n trapFocus={false}\n disableOutsidePointerEvents={false}\n onCloseAutoFocus={(event) => {\n props.onCloseAutoFocus?.(event);\n\n if (!event.defaultPrevented) {\n if (!hasInteractedOutsideRef.current) context.triggerRef.current?.focus();\n // Always prevent auto focus because we either focus manually or want user agent focus\n event.preventDefault();\n }\n\n hasInteractedOutsideRef.current = false;\n hasPointerDownOutsideRef.current = false;\n }}\n onInteractOutside={(event) => {\n props.onInteractOutside?.(event);\n\n if (!event.defaultPrevented) {\n hasInteractedOutsideRef.current = true;\n if (event.detail.originalEvent.type === 'pointerdown') {\n hasPointerDownOutsideRef.current = true;\n }\n }\n\n // Prevent dismissing when clicking the trigger.\n // As the trigger is already setup to close, without doing so would\n // cause it to close and immediately open.\n const target = event.target as HTMLElement;\n const targetIsTrigger = context.triggerRef.current?.contains(target);\n if (targetIsTrigger) event.preventDefault();\n\n // On Safari if the trigger is inside a container with tabIndex={0}, when clicked\n // we will get the pointer down outside event on the trigger, but then a subsequent\n // focus outside event on the container, we ignore any focus outside event when we've\n // already had a pointer down outside event.\n if (event.detail.originalEvent.type === 'focusin' && hasPointerDownOutsideRef.current) {\n event.preventDefault();\n }\n }}\n />\n );\n }\n);\n\n/* -----------------------------------------------------------------------------------------------*/\n\ntype DialogContentImplElement = React.ComponentRef<typeof DismissableLayer>;\ntype DismissableLayerProps = React.ComponentPropsWithoutRef<typeof DismissableLayer>;\ntype FocusScopeProps = React.ComponentPropsWithoutRef<typeof FocusScope>;\ninterface DialogContentImplProps extends Omit<DismissableLayerProps, 'onDismiss'> {\n /**\n * When `true`, focus cannot escape the `Content` via keyboard,\n * pointer, or a programmatic focus.\n * @defaultValue false\n */\n trapFocus?: FocusScopeProps['trapped'];\n\n /**\n * Event handler called when auto-focusing on open.\n * Can be prevented.\n */\n onOpenAutoFocus?: FocusScopeProps['onMountAutoFocus'];\n\n /**\n * Event handler called when auto-focusing on close.\n * Can be prevented.\n */\n onCloseAutoFocus?: FocusScopeProps['onUnmountAutoFocus'];\n}\n\nconst DialogContentImpl = React.forwardRef<DialogContentImplElement, DialogContentImplProps>(\n (props: ScopedProps<DialogContentImplProps>, forwardedRef) => {\n const { __scopeDialog, trapFocus, onOpenAutoFocus, onCloseAutoFocus, ...contentProps } = props;\n const context = useDialogContext(CONTENT_NAME, __scopeDialog);\n const contentRef = React.useRef<HTMLDivElement>(null);\n const composedRefs = useComposedRefs(forwardedRef, contentRef);\n\n // Make sure the whole tree has focus guards as our `Dialog` will be\n // the last element in the DOM (because of the `Portal`)\n useFocusGuards();\n\n return (\n <>\n <FocusScope\n asChild\n loop\n trapped={trapFocus}\n onMountAutoFocus={onOpenAutoFocus}\n onUnmountAutoFocus={onCloseAutoFocus}\n >\n <DismissableLayer\n role=\"dialog\"\n id={context.contentId}\n aria-describedby={context.descriptionId}\n aria-labelledby={context.titleId}\n data-state={getState(context.open)}\n {...contentProps}\n ref={composedRefs}\n onDismiss={() => context.onOpenChange(false)}\n />\n </FocusScope>\n {process.env.NODE_ENV !== 'production' && (\n <>\n <TitleWarning titleId={context.titleId} />\n <DescriptionWarning contentRef={contentRef} descriptionId={context.descriptionId} />\n </>\n )}\n </>\n );\n }\n);\n\n/* -------------------------------------------------------------------------------------------------\n * DialogTitle\n * -----------------------------------------------------------------------------------------------*/\n\nconst TITLE_NAME = 'DialogTitle';\n\ntype DialogTitleElement = React.ComponentRef<typeof Primitive.h2>;\ntype PrimitiveHeading2Props = React.ComponentPropsWithoutRef<typeof Primitive.h2>;\ninterface DialogTitleProps extends PrimitiveHeading2Props {}\n\nconst DialogTitle = React.forwardRef<DialogTitleElement, DialogTitleProps>(\n (props: ScopedProps<DialogTitleProps>, forwardedRef) => {\n const { __scopeDialog, ...titleProps } = props;\n const context = useDialogContext(TITLE_NAME, __scopeDialog);\n return <Primitive.h2 id={context.titleId} {...titleProps} ref={forwardedRef} />;\n }\n);\n\nDialogTitle.displayName = TITLE_NAME;\n\n/* -------------------------------------------------------------------------------------------------\n * DialogDescription\n * -----------------------------------------------------------------------------------------------*/\n\nconst DESCRIPTION_NAME = 'DialogDescription';\n\ntype DialogDescriptionElement = React.ComponentRef<typeof Primitive.p>;\ntype PrimitiveParagraphProps = React.ComponentPropsWithoutRef<typeof Primitive.p>;\ninterface DialogDescriptionProps extends PrimitiveParagraphProps {}\n\nconst DialogDescription = React.forwardRef<DialogDescriptionElement, DialogDescriptionProps>(\n (props: ScopedProps<DialogDescriptionProps>, forwardedRef) => {\n const { __scopeDialog, ...descriptionProps } = props;\n const context = useDialogContext(DESCRIPTION_NAME, __scopeDialog);\n return <Primitive.p id={context.descriptionId} {...descriptionProps} ref={forwardedRef} />;\n }\n);\n\nDialogDescription.displayName = DESCRIPTION_NAME;\n\n/* -------------------------------------------------------------------------------------------------\n * DialogClose\n * -----------------------------------------------------------------------------------------------*/\n\nconst CLOSE_NAME = 'DialogClose';\n\ntype DialogCloseElement = React.ComponentRef<typeof Primitive.button>;\ninterface DialogCloseProps extends PrimitiveButtonProps {}\n\nconst DialogClose = React.forwardRef<DialogCloseElement, DialogCloseProps>(\n (props: ScopedProps<DialogCloseProps>, forwardedRef) => {\n const { __scopeDialog, ...closeProps } = props;\n const context = useDialogContext(CLOSE_NAME, __scopeDialog);\n return (\n <Primitive.button\n type=\"button\"\n {...closeProps}\n ref={forwardedRef}\n onClick={composeEventHandlers(props.onClick, () => context.onOpenChange(false))}\n />\n );\n }\n);\n\nDialogClose.displayName = CLOSE_NAME;\n\n/* -----------------------------------------------------------------------------------------------*/\n\nfunction getState(open: boolean) {\n return open ? 'open' : 'closed';\n}\n\nconst TITLE_WARNING_NAME = 'DialogTitleWarning';\n\nconst [WarningProvider, useWarningContext] = createContext(TITLE_WARNING_NAME, {\n contentName: CONTENT_NAME,\n titleName: TITLE_NAME,\n docsSlug: 'dialog',\n});\n\ntype TitleWarningProps = { titleId?: string };\n\nconst TitleWarning: React.FC<TitleWarningProps> = ({ titleId }) => {\n const titleWarningContext = useWarningContext(TITLE_WARNING_NAME);\n\n const MESSAGE = `\\`${titleWarningContext.contentName}\\` requires a \\`${titleWarningContext.titleName}\\` for the component to be accessible for screen reader users.\n\nIf you want to hide the \\`${titleWarningContext.titleName}\\`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/${titleWarningContext.docsSlug}`;\n\n React.useEffect(() => {\n if (titleId) {\n const hasTitle = document.getElementById(titleId);\n if (!hasTitle) console.error(MESSAGE);\n }\n }, [MESSAGE, titleId]);\n\n return null;\n};\n\nconst DESCRIPTION_WARNING_NAME = 'DialogDescriptionWarning';\n\ntype DescriptionWarningProps = {\n contentRef: React.RefObject<DialogContentElement | null>;\n descriptionId?: string;\n};\n\nconst DescriptionWarning: React.FC<DescriptionWarningProps> = ({ contentRef, descriptionId }) => {\n const descriptionWarningContext = useWarningContext(DESCRIPTION_WARNING_NAME);\n const MESSAGE = `Warning: Missing \\`Description\\` or \\`aria-describedby={undefined}\\` for {${descriptionWarningContext.contentName}}.`;\n\n React.useEffect(() => {\n const describedById = contentRef.current?.getAttribute('aria-describedby');\n // if we have an id and the user hasn't set aria-describedby={undefined}\n if (descriptionId && describedById) {\n const hasDescription = document.getElementById(descriptionId);\n if (!hasDescription) console.warn(MESSAGE);\n }\n }, [MESSAGE, contentRef, descriptionId]);\n\n return null;\n};\n\nconst Root = Dialog;\nconst Trigger = DialogTrigger;\nconst Portal = DialogPortal;\nconst Overlay = DialogOverlay;\nconst Content = DialogContent;\nconst Title = DialogTitle;\nconst Description = DialogDescription;\nconst Close = DialogClose;\n\nexport {\n createDialogScope,\n //\n Dialog,\n DialogTrigger,\n DialogPortal,\n DialogOverlay,\n DialogContent,\n DialogTitle,\n DialogDescription,\n DialogClose,\n //\n Root,\n Trigger,\n Portal,\n Overlay,\n Content,\n Title,\n Description,\n Close,\n //\n WarningProvider,\n};\nexport type {\n DialogProps,\n DialogTriggerProps,\n DialogPortalProps,\n DialogOverlayProps,\n DialogContentProps,\n DialogTitleProps,\n DialogDescriptionProps,\n DialogCloseProps,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M;YACpB,IAAI,SAAS;gBACX,MAAM,WAAW,SAAS,cAAA,CAAe,OAAO;gBAChD,IAAI,CAAC,SAAU,CAAA,QAAQ,KAAA,CAAM,OAAO;YACtC;QACF;iCAAG;QAAC;QAAS,OAAO;KAAC;IAErB,OAAO;AACT;AAEA,IAAM,2BAA2B;AAOjC,IAAM,qBAAwD,CAAC,EAAE,UAAA,EAAY,aAAA,CAAc,CAAA,KAAM;IAC/F,MAAM,4BAA4B,kBAAkB,wBAAwB;IAC5E,MAAM,UAAU,CAAA,0EAAA,EAA6E,0BAA0B,WAAW,CAAA,EAAA,CAAA;IAE5H,0KAAA;wCAAU,MAAM;YACpB,MAAM,gBAAgB,WAAW,OAAA,EAAS,aAAa,kBAAkB;YAEzE,IAAI,iBAAiB,eAAe;gBAClC,MAAM,iBAAiB,SAAS,cAAA,CAAe,aAAa;gBAC5D,IAAI,CAAC,eAAgB,CAAA,QAAQ,IAAA,CAAK,OAAO;YAC3C;QACF;uCAAG;QAAC;QAAS;QAAY,aAAa;KAAC;IAEvC,OAAO;AACT;AAEA,IAAM,OAAO;AACb,IAAM,UAAU;AAChB,IAAM,SAAS;AACf,IAAM,UAAU;AAChB,IAAM,UAAU;AAChB,IAAM,QAAQ;AACd,IAAM,cAAc;AACpB,IAAM,QAAQ"}}, - {"offset": {"line": 4698, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/fumadocs-ui/dist/components/dialog/search.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/fumadocs-ui/src/components/dialog/search.tsx"],"sourcesContent":["'use client';\n\nimport { ChevronRight, Hash, Search as SearchIcon } from 'lucide-react';\nimport {\n type ComponentProps,\n createContext,\n Fragment,\n type ReactNode,\n use,\n useCallback,\n useEffect,\n useEffectEvent,\n useMemo,\n useRef,\n useState,\n} from 'react';\nimport { I18nLabel, useI18n } from '@/contexts/i18n';\nimport { cn } from '@fumadocs/ui/cn';\nimport { Dialog, DialogContent, DialogOverlay, DialogTitle } from '@radix-ui/react-dialog';\nimport type { HighlightedText, ReactSortedResult as BaseResultType } from 'fumadocs-core/search';\nimport { cva } from 'class-variance-authority';\nimport { useRouter } from 'fumadocs-core/framework';\nimport type { SharedProps } from '@/contexts/search';\nimport { useOnChange } from 'fumadocs-core/utils/use-on-change';\nimport scrollIntoView from 'scroll-into-view-if-needed';\nimport { buttonVariants } from '@/components/ui/button';\n\nexport type SearchItemType =\n | (BaseResultType & {\n external?: boolean;\n })\n | {\n id: string;\n type: 'action';\n node: ReactNode;\n onSelect: () => void;\n };\n\n// needed for backward compatible since some previous guides referenced it\nexport type { SharedProps };\n\nexport interface SearchDialogProps extends SharedProps {\n search: string;\n onSearchChange: (v: string) => void;\n onSelect?: (item: SearchItemType) => void;\n isLoading?: boolean;\n\n children: ReactNode;\n}\n\nconst Context = createContext<{\n open: boolean;\n onOpenChange: (open: boolean) => void;\n search: string;\n onSearchChange: (v: string) => void;\n onSelect: (item: SearchItemType) => void;\n isLoading: boolean;\n} | null>(null);\n\nconst ListContext = createContext<{\n active: string | null;\n setActive: (v: string | null) => void;\n} | null>(null);\n\nconst TagsListContext = createContext<{\n value?: string;\n onValueChange: (value: string | undefined) => void;\n allowClear: boolean;\n} | null>(null);\n\nexport function SearchDialog({\n open,\n onOpenChange,\n search,\n onSearchChange,\n isLoading = false,\n onSelect: onSelectProp,\n children,\n}: SearchDialogProps) {\n const router = useRouter();\n const onSelect = useEffectEvent((item: SearchItemType) => {\n if (item.type === 'action') {\n item.onSelect();\n } else if (item.external) {\n window.open(item.url, '_blank')?.focus();\n } else {\n router.push(item.url);\n }\n\n onOpenChange(false);\n onSelectProp?.(item);\n });\n\n return (\n <Dialog open={open} onOpenChange={onOpenChange}>\n <Context.Provider\n value={useMemo(\n () => ({\n open,\n onOpenChange,\n search,\n onSearchChange,\n // eslint-disable-next-line react-hooks/rules-of-hooks -- used in child components\n onSelect,\n isLoading,\n }),\n [isLoading, onOpenChange, onSearchChange, open, search],\n )}\n >\n {children}\n </Context.Provider>\n </Dialog>\n );\n}\n\nexport function SearchDialogHeader(props: ComponentProps<'div'>) {\n return <div {...props} className={cn('flex flex-row items-center gap-2 p-3', props.className)} />;\n}\n\nexport function SearchDialogInput(props: ComponentProps<'input'>) {\n const { text } = useI18n();\n const { search, onSearchChange } = useSearch();\n\n return (\n <input\n {...props}\n value={search}\n onChange={(e) => onSearchChange(e.target.value)}\n placeholder={text.search}\n className=\"w-0 flex-1 bg-transparent text-lg placeholder:text-fd-muted-foreground focus-visible:outline-none\"\n />\n );\n}\n\nexport function SearchDialogClose({\n children = 'ESC',\n className,\n ...props\n}: ComponentProps<'button'>) {\n const { onOpenChange } = useSearch();\n\n return (\n <button\n type=\"button\"\n onClick={() => onOpenChange(false)}\n className={cn(\n buttonVariants({\n color: 'outline',\n size: 'sm',\n className: 'font-mono text-fd-muted-foreground',\n }),\n className,\n )}\n {...props}\n >\n {children}\n </button>\n );\n}\n\nexport function SearchDialogFooter(props: ComponentProps<'div'>) {\n return <div {...props} className={cn('bg-fd-secondary/50 p-3 empty:hidden', props.className)} />;\n}\n\nexport function SearchDialogOverlay(props: ComponentProps<typeof DialogOverlay>) {\n return (\n <DialogOverlay\n {...props}\n className={cn(\n 'fixed inset-0 z-50 backdrop-blur-xs bg-fd-overlay data-[state=open]:animate-fd-fade-in data-[state=closed]:animate-fd-fade-out',\n props.className,\n )}\n />\n );\n}\n\nexport function SearchDialogContent({ children, ...props }: ComponentProps<typeof DialogContent>) {\n const { text } = useI18n();\n\n return (\n <DialogContent\n aria-describedby={undefined}\n {...props}\n className={cn(\n 'fixed left-1/2 top-4 md:top-[calc(50%-250px)] z-50 w-[calc(100%-1rem)] max-w-screen-sm -translate-x-1/2 rounded-xl border bg-fd-popover text-fd-popover-foreground shadow-2xl shadow-black/50 overflow-hidden data-[state=closed]:animate-fd-dialog-out data-[state=open]:animate-fd-dialog-in',\n '*:border-b *:has-[+:last-child[data-empty=true]]:border-b-0 *:data-[empty=true]:border-b-0 *:last:border-b-0',\n props.className,\n )}\n >\n <DialogTitle className=\"hidden\">{text.search}</DialogTitle>\n {children}\n </DialogContent>\n );\n}\n\nexport function SearchDialogList({\n items = null,\n Empty = () => (\n <div className=\"py-12 text-center text-sm text-fd-muted-foreground\">\n <I18nLabel label=\"searchNoResult\" />\n </div>\n ),\n Item = (props) => <SearchDialogListItem {...props} />,\n ...props\n}: Omit<ComponentProps<'div'>, 'children'> & {\n items: SearchItemType[] | null | undefined;\n /**\n * Renderer for empty list UI\n */\n Empty?: () => ReactNode;\n /**\n * Renderer for items\n */\n Item?: (props: { item: SearchItemType; onClick: () => void }) => ReactNode;\n}) {\n const ref = useRef<HTMLDivElement>(null);\n const { onSelect } = useSearch();\n const [active, setActive] = useState<string | null>(() =>\n items && items.length > 0 ? items[0].id : null,\n );\n\n const onKey = useEffectEvent((e: KeyboardEvent) => {\n if (!items || e.isComposing) return;\n\n if (e.key === 'ArrowDown' || e.key == 'ArrowUp') {\n let idx = items.findIndex((item) => item.id === active);\n if (idx === -1) idx = 0;\n else if (e.key === 'ArrowDown') idx++;\n else idx--;\n\n setActive(items.at(idx % items.length)?.id ?? null);\n e.preventDefault();\n }\n\n if (e.key === 'Enter') {\n const selected = items.find((item) => item.id === active);\n\n if (selected) onSelect(selected);\n e.preventDefault();\n }\n });\n\n useEffect(() => {\n const element = ref.current;\n if (!element) return;\n\n const observer = new ResizeObserver(() => {\n const viewport = element.firstElementChild!;\n\n element.style.setProperty('--fd-animated-height', `${viewport.clientHeight}px`);\n });\n\n const viewport = element.firstElementChild;\n if (viewport) observer.observe(viewport);\n\n window.addEventListener('keydown', onKey);\n return () => {\n observer.disconnect();\n window.removeEventListener('keydown', onKey);\n };\n }, []);\n\n useOnChange(items, () => {\n if (items && items.length > 0) {\n setActive(items[0].id);\n }\n });\n\n return (\n <div\n {...props}\n ref={ref}\n data-empty={items === null}\n className={cn(\n 'overflow-hidden h-(--fd-animated-height) transition-[height]',\n props.className,\n )}\n >\n <div\n className={cn('w-full flex flex-col overflow-y-auto max-h-[460px] p-1', !items && 'hidden')}\n >\n <ListContext.Provider\n value={useMemo(\n () => ({\n active,\n setActive,\n }),\n [active],\n )}\n >\n {items?.length === 0 && Empty()}\n\n {items?.map((item) => (\n <Fragment key={item.id}>{Item({ item, onClick: () => onSelect(item) })}</Fragment>\n ))}\n </ListContext.Provider>\n </div>\n </div>\n );\n}\n\nexport function SearchDialogListItem({\n item,\n className,\n children,\n renderHighlights: render = renderHighlights,\n ...props\n}: ComponentProps<'button'> & {\n renderHighlights?: typeof renderHighlights;\n item: SearchItemType;\n}) {\n const { active: activeId, setActive } = useSearchList();\n const active = item.id === activeId;\n\n if (item.type === 'action') {\n children ??= item.node;\n } else {\n children ??= (\n <>\n <div className=\"inline-flex items-center text-fd-muted-foreground text-xs empty:hidden\">\n {item.breadcrumbs?.map((item, i) => (\n <Fragment key={i}>\n {i > 0 && <ChevronRight className=\"size-4 rtl:rotate-180\" />}\n {item}\n </Fragment>\n ))}\n </div>\n\n {item.type !== 'page' && (\n <div role=\"none\" className=\"absolute start-3 inset-y-0 w-px bg-fd-border\" />\n )}\n <p\n className={cn(\n 'min-w-0 truncate',\n item.type !== 'page' && 'ps-4',\n item.type === 'page' || item.type === 'heading'\n ? 'font-medium'\n : 'text-fd-popover-foreground/80',\n )}\n >\n {item.type === 'heading' && (\n <Hash className=\"inline me-1 size-4 text-fd-muted-foreground\" />\n )}\n {item.contentWithHighlights ? render(item.contentWithHighlights) : item.content}\n </p>\n </>\n );\n }\n\n return (\n <button\n type=\"button\"\n ref={useCallback(\n (element: HTMLButtonElement | null) => {\n if (active && element) {\n scrollIntoView(element, {\n scrollMode: 'if-needed',\n block: 'nearest',\n boundary: element.parentElement,\n });\n }\n },\n [active],\n )}\n aria-selected={active}\n className={cn(\n 'relative select-none px-2.5 py-2 text-start text-sm rounded-lg',\n active && 'bg-fd-accent text-fd-accent-foreground',\n className,\n )}\n onPointerMove={() => setActive(item.id)}\n {...props}\n >\n {children}\n </button>\n );\n}\n\nexport function SearchDialogIcon(props: ComponentProps<'svg'>) {\n const { isLoading } = useSearch();\n\n return (\n <SearchIcon\n {...props}\n className={cn(\n 'size-5 text-fd-muted-foreground',\n isLoading && 'animate-pulse duration-400',\n props.className,\n )}\n />\n );\n}\n\nexport interface TagsListProps extends ComponentProps<'div'> {\n tag?: string;\n onTagChange: (tag: string | undefined) => void;\n allowClear?: boolean;\n}\n\nconst itemVariants = cva(\n 'rounded-md border px-2 py-0.5 text-xs font-medium text-fd-muted-foreground transition-colors',\n {\n variants: {\n active: {\n true: 'bg-fd-accent text-fd-accent-foreground',\n },\n },\n },\n);\n\nexport function TagsList({ tag, onTagChange, allowClear = false, ...props }: TagsListProps) {\n return (\n <div {...props} className={cn('flex items-center gap-1 flex-wrap', props.className)}>\n <TagsListContext.Provider\n value={useMemo(\n () => ({\n value: tag,\n onValueChange: onTagChange,\n allowClear,\n }),\n [allowClear, onTagChange, tag],\n )}\n >\n {props.children}\n </TagsListContext.Provider>\n </div>\n );\n}\n\nexport function TagsListItem({\n value,\n className,\n ...props\n}: ComponentProps<'button'> & {\n value: string;\n}) {\n const { onValueChange, value: selectedValue, allowClear } = useTagsList();\n const selected = value === selectedValue;\n\n return (\n <button\n type=\"button\"\n data-active={selected}\n className={cn(itemVariants({ active: selected, className }))}\n onClick={() => {\n onValueChange(selected && allowClear ? undefined : value);\n }}\n tabIndex={-1}\n {...props}\n >\n {props.children}\n </button>\n );\n}\n\nfunction renderHighlights(highlights: HighlightedText<ReactNode>[]): ReactNode {\n return highlights.map((node, i) => {\n if (node.styles?.highlight) {\n return (\n <span key={i} className=\"text-fd-primary underline\">\n {node.content}\n </span>\n );\n }\n\n return <Fragment key={i}>{node.content}</Fragment>;\n });\n}\n\nexport function useSearch() {\n const ctx = use(Context);\n if (!ctx) throw new Error('Missing <SearchDialog />');\n return ctx;\n}\n\nexport function useTagsList() {\n const ctx = use(TagsListContext);\n if (!ctx) throw new Error('Missing <TagsList />');\n return ctx;\n}\n\nexport function useSearchList() {\n const ctx = use(ListContext);\n if (!ctx) throw new Error('Missing <SearchDialogList />');\n return ctx;\n}\n"],"names":["I18nLabel","props","viewport","Fragment","item","SearchIcon"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkDA,MAAM,cAAU,8KAAA,EAON,KAAK;AAEf,MAAM,kBAAc,8KAAA,EAGV,KAAK;AAEf,MAAM,sBAAkB,8KAAA,EAId,KAAK;AAEf,SAAgB,aAAa,EAC3B,IAAA,EACA,YAAA,EACA,MAAA,EACA,cAAA,EACA,YAAY,KAAA,EACZ,UAAU,YAAA,EACV,QAAA,EAAA,EACoB;IACpB,MAAM,aAAS,8KAAA,EAAW;IAC1B,MAAM,eAAW,+KAAA;iDAAA,CAAgB,SAAyB;YACxD,IAAI,KAAK,IAAA,KAAS,SAChB,CAAA,KAAK,QAAA,EAAU;qBACN,KAAK,QAAA,CACd,CAAA,OAAO,IAAA,CAAK,KAAK,GAAA,EAAK,SAAS,EAAE,OAAO;iBAExC,OAAO,IAAA,CAAK,KAAK,GAAA,CAAI;YAGvB,aAAa,MAAM;YACnB,eAAe,KAAK;UACpB;;IAEF,OACE,aAAA,GAAA,IAAA,6KAAA,EAAC,+KAAA,EAAA;QAAa;QAAoB;kBAChC,aAAA,GAAA,IAAA,6KAAA,EAAC,QAAQ,QAAA,EAAA;YACP,WAAO,wKAAA;wCAAA,IAAA,CACE;wBACL;wBACA;wBACA;wBACA;wBAEA;wBACA;qBACD;uCACD;gBAAC;gBAAW;gBAAc;gBAAgB;gBAAM;aAAO,CACxD;YAEA;UACgB;MACZ;;AAIb,SAAgB,mBAAmB,KAAA,EAA8B;IAC/D,OAAO,aAAA,GAAA,IAAA,6KAAA,EAAC,OAAA;QAAI,GAAI,KAAA;QAAO,eAAW,qMAAA,EAAG,wCAAwC,MAAM,SAAA,CAAU;MAAI;;AAGnG,SAAgB,kBAAkB,KAAA,EAAgC;IAChE,MAAM,EAAE,IAAA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,MAAK;QACL,eAAa;QACb,eAAW,qMAAA,EAAG,aAAa;YAAE,QAAQ;YAAU;SAAW,CAAC,CAAC;QAC5D,SAAA,MAAe;YACb,cAAc,YAAY,aAAa,KAAA,IAAY,MAAM;;QAE3D,UAAU,CAAA;QACV,GAAI,KAAA;kBAEH,MAAM,QAAA;MACA;;AAIb,SAAS,iBAAiB,UAAA,EAAqD;IAC7E,OAAO,WAAW,GAAA,CAAA,CAAK,MAAM,MAAM;QACjC,IAAI,KAAK,MAAA,EAAQ,UACf,CAAA,OACE,aAAA,GAAA,IAAA,6KAAA,EAAC,QAAA;YAAa,WAAU;sBACrB,KAAK,OAAA;WADG,EAEJ;QAIX,OAAO,aAAA,GAAA,IAAA,6KAAA,EAACF,yKAAAA,EAAAA;YAAAA,UAAkB,KAAK,OAAA;QAAA,GAAT,EAA4B;MAClD;;AAGJ,SAAgB,YAAY;IAC1B,MAAM,MAAM,wKAAA,EAAI,QAAQ;IACxB,IAAI,CAAC,IAAK,CAAA,MAAM,IAAI,MAAM,2BAA2B;IACrD,OAAO;;AAGT,SAAgB,cAAc;IAC5B,MAAM,UAAM,oKAAA,EAAI,gBAAgB;IAChC,IAAI,CAAC,IAAK,CAAA,MAAM,IAAI,MAAM,uBAAuB;IACjD,OAAO;;AAGT,SAAgB,gBAAgB;IAC9B,MAAM,UAAM,oKAAA,EAAI,YAAY;IAC5B,IAAI,CAAC,IAAK,CAAA,MAAM,IAAI,MAAM,+BAA+B;IACzD,OAAO"}}, - {"offset": {"line": 5079, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/fumadocs-core/dist/search/client.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/fumadocs-core/src/utils/use-debounce.ts","file:///D:/sol-ui.com/sol-ui/docs/node_modules/fumadocs-core/src/search/client.ts"],"sourcesContent":["import { useEffect, useState } from 'react';\n\nexport function useDebounce<T>(value: T, delayMs = 1000): T {\n const [debouncedValue, setDebouncedValue] = useState(value);\n\n useEffect(() => {\n if (delayMs === 0) return;\n const handler = window.setTimeout(() => {\n setDebouncedValue(value);\n }, delayMs);\n\n return () => clearTimeout(handler);\n }, [delayMs, value]);\n\n if (delayMs === 0) return value;\n return debouncedValue;\n}\n","import { type DependencyList, useRef, useState } from 'react';\nimport { useDebounce } from '@/utils/use-debounce';\nimport { type FetchOptions } from '@/search/client/fetch';\nimport { useOnChange } from '@/utils/use-on-change';\nimport { type StaticOptions } from '@/search/client/static';\nimport { type AlgoliaOptions } from '@/search/client/algolia';\nimport { type OramaCloudOptions } from '@/search/client/orama-cloud';\nimport { type OramaCloudLegacyOptions } from '@/search/client/orama-cloud-legacy';\nimport { type MixedbreadOptions } from '@/search/client/mixedbread';\nimport type { SortedResult } from '@/search';\n\ninterface UseDocsSearch {\n search: string;\n setSearch: (v: string) => void;\n query: {\n isLoading: boolean;\n data?: SortedResult[] | 'empty';\n error?: Error;\n };\n}\n\nexport type Client =\n | ({\n type: 'fetch';\n } & FetchOptions)\n | ({\n type: 'static';\n } & StaticOptions)\n | ({\n type: 'algolia';\n } & AlgoliaOptions)\n | ({\n type: 'orama-cloud';\n } & OramaCloudOptions)\n | ({\n type: 'orama-cloud-legacy';\n } & OramaCloudLegacyOptions)\n | ({\n type: 'mixedbread';\n } & MixedbreadOptions);\n\nfunction isDeepEqual(a: unknown, b: unknown): boolean {\n if (a === b) return true;\n\n if (Array.isArray(a) && Array.isArray(b)) {\n return b.length === a.length && a.every((v, i) => isDeepEqual(v, b[i]));\n }\n\n if (typeof a === 'object' && a && typeof b === 'object' && b) {\n const aKeys = Object.keys(a);\n const bKeys = Object.keys(b);\n\n return (\n aKeys.length === bKeys.length &&\n aKeys.every(\n (key) =>\n Object.hasOwn(b, key) && isDeepEqual(a[key as keyof object], b[key as keyof object]),\n )\n );\n }\n\n return false;\n}\n\n/**\n * Provide a hook to query different official search clients.\n *\n * Note: it will re-query when its parameters changed, make sure to use `useMemo()` on `clientOptions` or define `deps` array.\n */\nexport function useDocsSearch(\n clientOptions: Client & {\n /**\n * The debounced delay for performing a search (in ms).\n * .\n * @defaultValue 100\n */\n delayMs?: number;\n\n /**\n * still perform search even if query is empty.\n *\n * @defaultValue false\n */\n allowEmpty?: boolean;\n },\n deps?: DependencyList,\n): UseDocsSearch {\n const { delayMs = 100, allowEmpty = false, ...client } = clientOptions;\n\n const [search, setSearch] = useState('');\n const [results, setResults] = useState<SortedResult[] | 'empty'>('empty');\n const [error, setError] = useState<Error>();\n const [isLoading, setIsLoading] = useState(false);\n const debouncedValue = useDebounce(search, delayMs);\n const onStart = useRef<() => void>(undefined);\n\n useOnChange(\n [deps ?? clientOptions, debouncedValue],\n () => {\n if (onStart.current) {\n onStart.current();\n onStart.current = undefined;\n }\n\n setIsLoading(true);\n let interrupt = false;\n onStart.current = () => {\n interrupt = true;\n };\n\n async function run(): Promise<SortedResult[] | 'empty'> {\n if (debouncedValue.length === 0 && !allowEmpty) return 'empty';\n switch (client.type) {\n case 'fetch': {\n const { fetchDocs } = await import('./client/fetch');\n return fetchDocs(debouncedValue, client);\n }\n case 'algolia': {\n const { searchDocs } = await import('./client/algolia');\n return searchDocs(debouncedValue, client);\n }\n case 'orama-cloud': {\n const { searchDocs } = await import('./client/orama-cloud');\n return searchDocs(debouncedValue, client);\n }\n case 'orama-cloud-legacy': {\n const { searchDocs } = await import('./client/orama-cloud-legacy');\n return searchDocs(debouncedValue, client);\n }\n case 'mixedbread': {\n const { search } = await import('./client/mixedbread');\n return search(debouncedValue, client);\n }\n case 'static': {\n const { search } = await import('./client/static');\n return search(debouncedValue, client);\n }\n default:\n throw new Error('unknown search client');\n }\n }\n\n void run()\n .then((res) => {\n if (interrupt) return;\n\n setError(undefined);\n setResults(res);\n })\n .catch((err: Error) => {\n setError(err);\n })\n .finally(() => {\n setIsLoading(false);\n });\n },\n deps ? undefined : (a, b) => !isDeepEqual(a, b),\n );\n\n return { search, setSearch, query: { isLoading, data: results, error } };\n}\n\nexport type { OramaCloudOptions, FetchOptions, StaticOptions, Algoli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AEvC,QACE;wBAAA,MAAM,IAAI,MAAM,wBAAwB;;;YAIzC,KAAK,CACP,IAAA;6CAAA,CAAM,QAAQ;oBACb,IAAI,UAAW,CAAA;oBAEf,SAAS,KAAA,EAAU;oBACnB,WAAW,IAAI;kBACf;4CACD,KAAA;6CAAA,CAAO,QAAe;oBACrB,SAAS,IAAI;kBACb;4CACD,OAAA;6CAAA,MAAc;oBACb,aAAa,MAAM;kBACnB;;;oCAEN,OAAO,KAAA;qCAAA,CAAa,GAAG,IAAM,CAAC,YAAY,GAAG,EAAE,CAChD;;IAED,OAAO;QAAE;QAAQ;QAAW,OAAO;YAAE;YAAW,MAAM;YAAS;SAAO;KAAE"}}, - {"offset": {"line": 5221, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/fumadocs-ui/dist/components/dialog/search-default.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/fumadocs-ui/src/components/dialog/search-default.tsx"],"sourcesContent":["'use client';\n\nimport { useDocsSearch } from 'fumadocs-core/search/client';\nimport { type ReactNode, useMemo, useState } from 'react';\nimport { useOnChange } from 'fumadocs-core/utils/use-on-change';\nimport { useI18n } from '@/contexts/i18n';\nimport {\n SearchDialog,\n SearchDialogClose,\n SearchDialogContent,\n SearchDialogFooter,\n SearchDialogHeader,\n SearchDialogIcon,\n SearchDialogInput,\n SearchDialogList,\n SearchDialogOverlay,\n type SharedProps,\n TagsList,\n TagsListItem,\n} from './search';\nimport type { SortedResult } from 'fumadocs-core/search';\nimport type { SearchLink, TagItem } from '@/contexts/search';\n\nexport interface DefaultSearchDialogProps extends SharedProps {\n links?: SearchLink[];\n\n /**\n * @defaultValue 'fetch'\n */\n type?: 'fetch' | 'static';\n\n defaultTag?: string;\n tags?: TagItem[];\n\n /**\n * Search API URL\n */\n api?: string;\n\n /**\n * The debounced delay for performing a search.\n */\n delayMs?: number;\n\n footer?: ReactNode;\n\n /**\n * Allow to clear tag filters\n *\n * @defaultValue false\n */\n allowClear?: boolean;\n}\n\nexport default function DefaultSearchDialog({\n defaultTag,\n tags = [],\n api,\n delayMs,\n type = 'fetch',\n allowClear = false,\n links = [],\n footer,\n ...props\n}: DefaultSearchDialogProps) {\n const { locale } = useI18n();\n const [tag, setTag] = useState(defaultTag);\n const { search, setSearch, query } = useDocsSearch(\n type === 'fetch'\n ? {\n type: 'fetch',\n api,\n locale,\n tag,\n delayMs,\n }\n : {\n type: 'static',\n from: api,\n locale,\n tag,\n delayMs,\n },\n );\n const defaultItems = useMemo<SortedResult[] | null>(() => {\n if (links.length === 0) return null;\n return links.map(([name, link]) => ({\n type: 'page',\n id: name,\n content: name,\n url: link,\n }));\n }, [links]);\n\n useOnChange(defaultTag, (v) => {\n setTag(v);\n });\n\n return (\n <SearchDialog search={search} onSearchChange={setSearch} isLoading={query.isLoading} {...props}>\n <SearchDialogOverlay />\n <SearchDialogContent>\n <SearchDialogHeader>\n <SearchDialogIcon />\n <SearchDialogInput />\n <SearchDialogClose />\n </SearchDialogHeader>\n <SearchDialogList items={query.data !== 'empty' ? query.data : defaultItems} />\n </SearchDialogContent>\n <SearchDialogFooter>\n {tags.length > 0 && (\n <TagsList tag={tag} onTagChange={setTag} allowClear={allowClear}>\n {tags.map((tag) => (\n <TagsListItem key={tag.value} value={tag.value}>\n {tag.name}\n </TagsListItem>\n ))}\n </TagsList>\n )}\n {footer}\n </SearchDialogFooter>\n </SearchDialog>\n );\n}\n"],"names":["tag"],"mappings":";;;;;;;;;;;;;;;;;;AAsDA,SAAwB,oBAAoB,EAC1C,UAAA,EACA,OAAO,EAAE,EACT,GAAA,EACA,OAAA,EACA,OAAO,OAAA,EACP,aAAa,KAAA,EACb,QAAQ,EAAE,EACV,MAAA,EACA,GAAG,OAAA,EACwB;IAC3B,MAAM,EAAE,MAAA,EAAA,GAAA,CAAA,GAAA,6LAAA,CAAA,OAAA,GAAoB;IAC5B,MAAM,CAAC,KAAK,OAAA,OAAU,yKAAA,EAAS,WAAW;IAC1C,MAAM,EAAE,MAAA,EA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,EAAC,uLAAA,EAAA;wBAAc;wBAAK,aAAa;wBAAoB;kCAClD,KAAK,GAAA,CAAA,CAAK,QACT,aAAA,GAAA,IAAA,6KAAA,EAAC,2LAAA,EAAA;gCAA6B,OAAOA,MAAI,KAAA;0CACtCA,MAAI,IAAA;+BADYA,MAAI,KAAA,CAER,CACf;sBACO;oBAEZ;iBAAA;YAAA,EACkB;;MACR"}}] -} \ No newline at end of file diff --git a/.next/dev/static/chunks/node_modules_b865d400._.js b/.next/dev/static/chunks/node_modules_b865d400._.js deleted file mode 100644 index 0d64dd6..0000000 --- a/.next/dev/static/chunks/node_modules_b865d400._.js +++ /dev/null @@ -1,230 +0,0 @@ -(globalThis.TURBOPACK || (globalThis.TURBOPACK = [])).push([typeof document === "object" ? document.currentScript : undefined, -"[project]/node_modules/fumadocs-core/dist/chunk-C9UIFEcR.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "n", - ()=>__exportAll, - "r", - ()=>__toESM, - "t", - ()=>__commonJSMin -]); -//#region rolldown:runtime -var __create = Object.create; -var __defProp = Object.defineProperty; -var __getOwnPropDesc = Object.getOwnPropertyDescriptor; -var __getOwnPropNames = Object.getOwnPropertyNames; -var __getProtoOf = Object.getPrototypeOf; -var __hasOwnProp = Object.prototype.hasOwnProperty; -var __commonJSMin = (cb, mod)=>()=>(mod || cb((mod = { - exports: {} - }).exports, mod), mod.exports); -var __exportAll = (all, symbols)=>{ - let target = {}; - for(var name in all){ - __defProp(target, name, { - get: all[name], - enumerable: true - }); - } - if (symbols) { - __defProp(target, Symbol.toStringTag, { - value: "Module" - }); - } - return target; -}; -var __copyProps = (to, from, except, desc)=>{ - if (from && typeof from === "object" || typeof from === "function") { - for(var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++){ - key = keys[i]; - if (!__hasOwnProp.call(to, key) && key !== except) { - __defProp(to, key, { - get: ((k)=>from[k]).bind(null, key), - enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable - }); - } - } - } - return to; -}; -var __toESM = (mod, isNodeMode, target)=>(target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { - value: mod, - enumerable: true - }) : target, mod)); -; -}), -"[project]/node_modules/github-slugger/regex.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -// This module is generated by `script/`. -/* eslint-disable no-control-regex, no-misleading-character-class, no-useless-escape */ __turbopack_context__.s([ - "regex", - ()=>regex -]); -const regex = /[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA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FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\u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\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g; -}), -"[project]/node_modules/github-slugger/index.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "default", - ()=>BananaSlug, - "slug", - ()=>slug -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$github$2d$slugger$2f$regex$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/github-slugger/regex.js [app-client] (ecmascript)"); -; -const own = Object.hasOwnProperty; -class BananaSlug { - /** - * Create a new slug class. - */ constructor(){ - /** @type {Record<string, number>} */ // eslint-disable-next-line no-unused-expressions - this.occurrences; - this.reset(); - } - /** - * Generate a unique slug. - * - * Tracks previously generated slugs: repeated calls with the same value - * will result in different slugs. - * Use the `slug` function to get same slugs. - * - * @param {string} value - * String of text to slugify - * @param {boolean} [maintainCase=false] - * Keep the current case, otherwise make all lowercase - * @return {string} - * A unique slug string - */ slug(value, maintainCase) { - const self = this; - let result = slug(value, maintainCase === true); - const originalSlug = result; - while(own.call(self.occurrences, result)){ - self.occurrences[originalSlug]++; - result = originalSlug + '-' + self.occurrences[originalSlug]; - } - self.occurrences[result] = 0; - return result; - } - /** - * Reset - Forget all previous slugs - * - * @return void - */ reset() { - this.occurrences = Object.create(null); - } -} -function slug(value, maintainCase) { - if (typeof value !== 'string') return ''; - if (!maintainCase) value = value.toLowerCase(); - return value.replace(__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$github$2d$slugger$2f$regex$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["regex"], '').replace(/ /g, '-'); -} -}), -"[project]/node_modules/fumadocs-core/dist/mixedbread-B0TvOHtt.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "search", - ()=>search -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$core$2f$dist$2f$chunk$2d$C9UIFEcR$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/fumadocs-core/dist/chunk-C9UIFEcR.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$github$2d$slugger$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/github-slugger/index.js [app-client] (ecmascript)"); -; -; -//#region ../../node_modules/.pnpm/remove-markdown@0.6.2/node_modules/remove-markdown/index.js -var require_remove_markdown = /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$core$2f$dist$2f$chunk$2d$C9UIFEcR$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["t"])((exports, module)=>{ - module.exports = function(md, options) { - options = options || {}; - options.listUnicodeChar = options.hasOwnProperty("listUnicodeChar") ? options.listUnicodeChar : false; - options.stripListLeaders = options.hasOwnProperty("stripListLeaders") ? options.stripListLeaders : true; - options.gfm = options.hasOwnProperty("gfm") ? options.gfm : true; - options.useImgAltText = options.hasOwnProperty("useImgAltText") ? options.useImgAltText : true; - options.abbr = options.hasOwnProperty("abbr") ? options.abbr : false; - options.replaceLinksWithURL = options.hasOwnProperty("replaceLinksWithURL") ? options.replaceLinksWithURL : false; - options.htmlTagsToSkip = options.hasOwnProperty("htmlTagsToSkip") ? options.htmlTagsToSkip : []; - options.throwError = options.hasOwnProperty("throwError") ? options.throwError : false; - var output = md || ""; - output = output.replace(/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/gm, ""); - try { - if (options.stripListLeaders) if (options.listUnicodeChar) output = output.replace(/^([\s\t]*)([\*\-\+]|\d+\.)\s+/gm, options.listUnicodeChar + " $1"); - else output = output.replace(/^([\s\t]*)([\*\-\+]|\d+\.)\s+/gm, "$1"); - if (options.gfm) output = output.replace(/\n={2,}/g, "\n").replace(/~{3}.*\n/g, "").replace(/~~/g, "").replace(/```(?:.*)\n([\s\S]*?)```/g, (_, code)=>code.trim()); - if (options.abbr) output = output.replace(/\*\[.*\]:.*\n/, ""); - let htmlReplaceRegex = /<[^>]*>/g; - if (options.htmlTagsToSkip && options.htmlTagsToSkip.length > 0) { - const joinedHtmlTagsToSkip = options.htmlTagsToSkip.join("|"); - htmlReplaceRegex = new RegExp(`<(?!\/?(${joinedHtmlTagsToSkip})(?=>|\s[^>]*>))[^>]*>`, "g"); - } - output = output.replace(htmlReplaceRegex, "").replace(/^[=\-]{2,}\s*$/g, "").replace(/\[\^.+?\](\: .*?$)?/g, "").replace(/\s{0,2}\[.*?\]: .*?$/g, "").replace(/\!\[(.*?)\][\[\(].*?[\]\)]/g, options.useImgAltText ? "$1" : "").replace(/\[([\s\S]*?)\]\s*[\(\[].*?[\)\]]/g, options.replaceLinksWithURL ? "$2" : "$1").replace(/^(\n)?\s{0,3}>\s?/gm, "$1").replace(/^\s{1,2}\[(.*?)\]: (\S+)( ".*?")?\s*$/g, "").replace(/^(\n)?\s{0,}#{1,6}\s*( (.+))? +#+$|^(\n)?\s{0,}#{1,6}\s*( (.+))?$/gm, "$1$3$4$6").replace(/([\*]+)(\S)(.*?\S)??\1/g, "$2$3").replace(/(^|\W)([_]+)(\S)(.*?\S)??\2($|\W)/g, "$1$3$4$5").replace(/(`{3,})(.*?)\1/gm, "$2").replace(/`(.+?)`/g, "$1").replace(/~(.*?)~/g, "$1"); - } catch (e) { - if (options.throwError) throw e; - console.error("remove-markdown encountered error: %s", e); - return md; - } - return output; - }; -}); -//#endregion -//#region src/search/client/mixedbread.ts -var import_remove_markdown = /* @__PURE__ */ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$core$2f$dist$2f$chunk$2d$C9UIFEcR$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["r"])(require_remove_markdown()); -const slugger = new __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$github$2d$slugger$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"](); -function extractHeadingTitle(text) { - const trimmedText = text.trim(); - if (!trimmedText.startsWith("#")) return ""; - const firstLine = trimmedText.split("\n")[0]?.trim(); - if (firstLine) return (0, import_remove_markdown.default)(firstLine, { - useImgAltText: false - }); - return ""; -} -async function search(query, options) { - const { client, storeIdentifier, tag } = options; - if (!query.trim()) return []; - return (await client.stores.search({ - query, - store_identifiers: [ - storeIdentifier - ], - top_k: 10, - filters: { - key: "generated_metadata.tag", - operator: "eq", - value: tag - }, - search_options: { - return_metadata: true - } - })).data.flatMap((item)=>{ - const metadata = item.generated_metadata; - const url = metadata.url || "#"; - const title = metadata.title || "Untitled"; - const chunkResults = [ - { - id: `${item.file_id}-${item.chunk_index}-page`, - type: "page", - content: title, - url - } - ]; - const headingTitle = item.type === "text" ? extractHeadingTitle(item.text) : ""; - if (headingTitle) { - slugger.reset(); - chunkResults.push({ - id: `${item.file_id}-${item.chunk_index}-heading`, - type: "heading", - content: headingTitle, - url: `${url}#${slugger.slug(headingTitle)}` - }); - } - return chunkResults; - }); -} -; - //# sourceMappingURL=mixedbread-B0TvOHtt.js.map -}), -]); - -//# sourceMappingURL=node_modules_b865d400._.js.map \ No newline at end of file diff --git a/.next/dev/static/chunks/node_modules_b865d400._.js.map b/.next/dev/static/chunks/node_modules_b865d400._.js.map deleted file mode 100644 index e32d92f..0000000 --- a/.next/dev/static/chunks/node_modules_b865d400._.js.map +++ /dev/null @@ -1,9 +0,0 @@ -{ - "version": 3, - "sources": [], - "sections": [ - {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/fumadocs-core/dist/chunk-C9UIFEcR.js"],"sourcesContent":["//#region rolldown:runtime\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);\nvar __exportAll = (all, symbols) => {\n\tlet target = {};\n\tfor (var name in all) {\n\t\t__defProp(target, name, {\n\t\t\tget: all[name],\n\t\t\tenumerable: true\n\t\t});\n\t}\n\tif (symbols) {\n\t\t__defProp(target, Symbol.toStringTag, { value: \"Module\" });\n\t}\n\treturn target;\n};\nvar __copyProps = (to, from, except, desc) => {\n\tif (from && typeof from === \"object\" || typeof from === \"function\") {\n\t\tfor (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {\n\t\t\tkey = keys[i];\n\t\t\tif (!__hasOwnProp.call(to, key) && key !== except) {\n\t\t\t\t__defProp(to, key, {\n\t\t\t\t\tget: ((k) => from[k]).bind(null, key),\n\t\t\t\t\tenumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t}\n\treturn to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", {\n\tvalue: mod,\n\tenumerable: true\n}) : target, mod));\n\n//#endregion\nexport { __exportAll as n, __toESM as r, __commonJSMin as t };"],"names":[],"mappings":";;;;;;;;AAAA,0BAA0B;AAC1B,IAAI,WAAW,OAAO,MAAM;AAC5B,IAAI,YAAY,OAAO,cAAc;AACrC,IAAI,mBAAmB,OAAO,wBAAwB;AACtD,IAAI,oBAAoB,OAAO,mBAAmB;AAClD,IAAI,eAAe,OAAO,cAAc;AACxC,IAAI,eAAe,OAAO,SAAS,CAAC,cAAc;AAClD,IAAI,gBAAgB,CAAC,IAAI,MAAQ,IAAM,CAAC,OAAO,GAAG,CAAC,MAAM;YAAE,SAAS,CAAC;QAAE,CAAC,EAAE,OAAO,EAAE,MAAM,IAAI,OAAO;AACpG,IAAI,cAAc,CAAC,KAAK;IACvB,IAAI,SAAS,CAAC;IACd,IAAK,IAAI,QAAQ,IAAK;QACrB,UAAU,QAAQ,MAAM;YACvB,KAAK,GAAG,CAAC,KAAK;YACd,YAAY;QACb;IACD;IACA,IAAI,SAAS;QACZ,UAAU,QAAQ,OAAO,WAAW,EAAE;YAAE,OAAO;QAAS;IACzD;IACA,OAAO;AACR;AACA,IAAI,cAAc,CAAC,IAAI,MAAM,QAAQ;IACpC,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;QACnE,IAAK,IAAI,OAAO,kBAAkB,OAAO,IAAI,GAAG,IAAI,KAAK,MAAM,EAAE,KAAK,IAAI,GAAG,IAAK;YACjF,MAAM,IAAI,CAAC,EAAE;YACb,IAAI,CAAC,aAAa,IAAI,CAAC,IAAI,QAAQ,QAAQ,QAAQ;gBAClD,UAAU,IAAI,KAAK;oBAClB,KAAK,CAAC,CAAC,IAAM,IAAI,CAAC,EAAE,EAAE,IAAI,CAAC,MAAM;oBACjC,YAAY,CAAC,CAAC,OAAO,iBAAiB,MAAM,IAAI,KAAK,KAAK,UAAU;gBACrE;YACD;QACD;IACD;IACA,OAAO;AACR;AACA,IAAI,UAAU,CAAC,KAAK,YAAY,SAAW,CAAC,SAAS,OAAO,OAAO,SAAS,aAAa,QAAQ,CAAC,GAAG,YAAY,cAAc,CAAC,OAAO,CAAC,IAAI,UAAU,GAAG,UAAU,QAAQ,WAAW;QACrL,OAAO;QACP,YAAY;IACb,KAAK,QAAQ,IAAI","ignoreList":[0]}}, - {"offset": {"line": 60, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/github-slugger/regex.js"],"sourcesContent":["// This module is generated by `script/`.\n/* eslint-disable no-control-regex, no-misleading-character-class, no-useless-escape */\nexport const regex = /[\\0-\\x1F!-,\\.\\/:-@\\[-\\^`\\{-\\xA9\\xAB-\\xB4\\xB6-\\xB9\\xBB-\\xBF\\xD7\\xF7\\u02C2-\\u02C5\\u02D2-\\u02DF\\u02E5-\\u02EB\\u02ED\\u02EF-\\u02FF\\u0375\\u0378\\u0379\\u037E\\u0380-\\u0385\\u0387\\u038B\\u038D\\u03A2\\u03F6\\u0482\\u0530\\u0557\\u0558\\u055A-\\u055F\\u0589-\\u0590\\u05BE\\u05C0\\u05C3\\u05C6\\u05C8-\\u05CF\\u05EB-\\u05EE\\u05F3-\\u060F\\u061B-\\u061F\\u066A-\\u066D\\u06D4\\u06DD\\u06DE\\u06E9\\u06FD\\u06FE\\u0700-\\u070F\\u074B\\u074C\\u07B2-\\u07BF\\u07F6-\\u07F9\\u07FB\\u07FC\\u07FE\\u07FF\\u082E-\\u083F\\u085C-\\u085F\\u086B-\\u089F\\u08B5\\u08C8-\\u08D2\\u08E2\\u0964\\u0965\\u0970\\u0984\\u098D\\u098E\\u0991\\u0992\\u09A9\\u09B1\\u09B3-\\u09B5\\u09BA\\u09BB\\u09C5\\u09C6\\u09C9\\u09CA\\u09CF-\\u09D6\\u09D8-\\u09DB\\u09DE\\u09E4\\u09E5\\u09F2-\\u09FB\\u09FD\\u09FF\\u0A00\\u0A04\\u0A0B-\\u0A0E\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DCE\\u0DD5\\u0DD7\\u0DE0-\\u0DE5\\u0DF0\\u0DF1\\u0DF4-\\u0E00\\u0E3B-\\u0E3F\\u0E4F\\u0E5A-\\u0E80\\u0E83\\u0E85\\u0E8B\\u0EA4\\u0EA6\\u0EBE\\u0EBF\\u0EC5\\u0EC7\\u0ECE\\u0ECF\\u0EDA\\u0EDB\\u0EE0-\\u0EFF\\u0F01-\\u0F17\\u0F1A-\\u0F1F\\u0F2A-\\u0F34\\u0F36\\u0F38\\u0F3A-\\u0F3D\\u0F48\\u0F6D-\\u0F70\\u0F85\\u0F98\\u0FBD-\\u0FC5\\u0FC7-\\u0FFF\\u104A-\\u104F\\u109E\\u109F\\u10C6\\u10C8-\\u10CC\\u10CE\\u10CF\\u10FB\\u1249\\u124E\\u124F\\u1257\\u1259\\u125E\\u125F\\u1289\\u128E\\u128F\\u12B1\\u12B6\\u12B7\\u12BF\\u12C1\\u12C6\\u12C7\\u12D7\\u1311\\u1316\\u1317\\u135B\\u135C\\u1360-\\u137F\\u1390-\\u139F\\u13F6\\u13F7\\u13FE-\\u1400\\u166D\\u166E\\u1680\\u169B-\\u169F\\u16EB-\\u16ED\\u16F9-\\u16FF\\u170D\\u1715-\\u171F\\u1735-\\u173F\\u1754-\\u175F\\u176D\\u1771\\u1774-\\u177F\\u17D4-\\u17D6\\u17D8-\\u17DB\\u17DE\\u17DF\\u17EA-\\u180A\\u180E\\u180F\\u181A-\\u181F\\u1879-\\u187F\\u18AB-\\u18AF\\u18F6-\\u18FF\\u191F\\u192C-\\u192F\\u193C-\\u1945\\u196E\\u196F\\u1975-\\u197F\\u19AC-\\u19AF\\u19CA-\\u19CF\\u19DA-\\u19FF\\u1A1C-\\u1A1F\\u1A5F\\u1A7D\\u1A7E\\u1A8A-\\u1A8F\\u1A9A-\\u1AA6\\u1AA8-\\u1AAF\\u1AC1-\\u1AFF\\u1B4C-\\u1B4F\\u1B5A-\\u1B6A\\u1B74-\\u1B7F\\u1BF4-\\u1BFF\\u1C38-\\u1C3F\\u1C4A-\\u1C4C\\u1C7E\\u1C7F\\u1C89-\\u1C8F\\u1CBB\\u1CBC\\u1CC0-\\u1CCF\\u1CD3\\u1CFB-\\u1CFF\\u1DFA\\u1F16\\u1F17\\u1F1E\\u1F1F\\u1F46\\u1F47\\u1F4E\\u1F4F\\u1F58\\u1F5A\\u1F5C\\u1F5E\\u1F7E\\u1F7F\\u1FB5\\u1FBD\\u1FBF-\\u1FC1\\u1FC5\\u1FCD-\\u1FCF\\u1FD4\\u1FD5\\u1FDC-\\u1FDF\\u1FED-\\u1FF1\\u1FF5\\u1FFD-\\u203E\\u2041-\\u2053\\u2055-\\u2070\\u2072-\\u207E\\u2080-\\u208F\\u209D-\\u20CF\\u20F1-\\u2101\\u2103-\\u2106\\u2108\\u2109\\u2114\\u2116-\\u2118\\u211E-\\u2123\\u2125\\u2127\\u2129\\u212E\\u213A\\u213B\\u2140-\\u2144\\u214A-\\u214D\\u214F-\\u215F\\u2189-\\u24B5\\u24EA-\\u2BFF\\u2C2F\\u2C5F\\u2CE5-\\u2CEA\\u2CF4-\\u2CFF\\u2D26\\u2D28-\\u2D2C\\u2D2E\\u2D2F\\u2D68-\\u2D6E\\u2D70-\\u2D7E\\u2D97-\\u2D9F\\u2DA7\\u2DAF\\u2DB7\\u2DBF\\u2DC7\\u2DCF\\u2DD7\\u2DDF\\u2E00-\\u2E2E\\u2E30-\\u3004\\u3008-\\u3020\\u3030\\u3036\\u3037\\u303D-\\u3040\\u3097\\u3098\\u309B\\u309C\\u30A0\\u30FB\\u3100-\\u3104\\u3130\\u318F-\\u319F\\u31C0-\\u31EF\\u3200-\\u33FF\\u4DC0-\\u4DFF\\u9FFD-\\u9FFF\\uA48D-\\uA4CF\\uA4FE\\uA4FF\\uA60D-\\uA60F\\uA62C-\\uA63F\\uA673\\uA67E\\uA6F2-\\uA716\\uA720\\uA721\\uA789\\uA78A\\uA7C0\\uA7C1\\uA7CB-\\uA7F4\\uA828-\\uA82B\\uA82D-\\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\uD838[\\uDC07\\uDC19\\uDC1A\\uDC22\\uDC25\\uDC2B-\\uDCFF\\uDD2D-\\uDD2F\\uDD3E\\uDD3F\\uDD4A-\\uDD4D\\uDD4F-\\uDEBF\\uDEFA-\\uDFFF]|\\uD83A[\\uDCC5-\\uDCCF\\uDCD7-\\uDCFF\\uDD4C-\\uDD4F\\uDD5A-\\uDFFF]|\\uD83B[\\uDC00-\\uDDFF\\uDE04\\uDE20\\uDE23\\uDE25\\uDE26\\uDE28\\uDE33\\uDE38\\uDE3A\\uDE3C-\\uDE41\\uDE43-\\uDE46\\uDE48\\uDE4A\\uDE4C\\uDE50\\uDE53\\uDE55\\uDE56\\uDE58\\uDE5A\\uDE5C\\uDE5E\\uDE60\\uDE63\\uDE65\\uDE66\\uDE6B\\uDE73\\uDE78\\uDE7D\\uDE7F\\uDE8A\\uDE9C-\\uDEA0\\uDEA4\\uDEAA\\uDEBC-\\uDFFF]|\\uD83C[\\uDC00-\\uDD2F\\uDD4A-\\uDD4F\\uDD6A-\\uDD6F\\uDD8A-\\uDFFF]|\\uD83E[\\uDC00-\\uDFEF\\uDFFA-\\uDFFF]|\\uD869[\\uDEDE-\\uDEFF]|\\uD86D[\\uDF35-\\uDF3F]|\\uD86E[\\uDC1E\\uDC1F]|\\uD873[\\uDEA2-\\uDEAF]|\\uD87A[\\uDFE1-\\uDFFF]|\\uD87E[\\uDE1E-\\uDFFF]|\\uD884[\\uDF4B-\\uDFFF]|\\uDB40[\\uDC00-\\uDCFF\\uDDF0-\\uDFFF]/g\n"],"names":[],"mappings":"AAAA,yCAAyC;AACzC,qFAAqF;;;;AAC9E,MAAM,QAAQ","ignoreList":[0]}}, - {"offset": {"line": 70, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/github-slugger/index.js"],"sourcesContent":["import { regex } from './regex.js'\n\nconst own = Object.hasOwnProperty\n\n/**\n * Slugger.\n */\nexport default class BananaSlug {\n /**\n * Create a new slug class.\n */\n constructor () {\n /** @type {Record<string, number>} */\n // eslint-disable-next-line no-unused-expressions\n this.occurrences\n\n this.reset()\n }\n\n /**\n * Generate a unique slug.\n *\n * Tracks previously generated slugs: repeated calls with the same value\n * will result in different slugs.\n * Use the `slug` function to get same slugs.\n *\n * @param {string} value\n * String of text to slugify\n * @param {boolean} [maintainCase=false]\n * Keep the current case, otherwise make all lowercase\n * @return {string}\n * A unique slug string\n */\n slug (value, maintainCase) {\n const self = this\n let result = slug(value, maintainCase === true)\n const originalSlug = result\n\n while (own.call(self.occurrences, result)) {\n self.occurrences[originalSlug]++\n result = originalSlug + '-' + self.occurrences[originalSlug]\n }\n\n self.occurrences[result] = 0\n\n return result\n }\n\n /**\n * Reset - Forget all previous slugs\n *\n * @return void\n */\n reset () {\n this.occurrences = Object.create(null)\n }\n}\n\n/**\n * Generate a slug.\n *\n * Does not track previously generated slugs: repeated calls with the same value\n * will result in the exact same slug.\n * Use the `GithubSlugger` class to get unique slugs.\n *\n * @param {string} value\n * String of text to slugify\n * @param {boolean} [maintainCase=false]\n * Keep the current case, otherwise make all lowercase\n * @return {string}\n * A unique slug string\n */\nexport function slug (value, maintainCase) {\n if (typeof value !== 'string') return ''\n if (!maintainCase) value = value.toLowerCase()\n return value.replace(regex, '').replace(/ /g, '-')\n}\n"],"names":[],"mappings":";;;;;;AAAA;;AAEA,MAAM,MAAM,OAAO,cAAc;AAKlB,MAAM;IACnB;;GAEC,GACD,aAAe;QACb,mCAAmC,GACnC,iDAAiD;QACjD,IAAI,CAAC,WAAW;QAEhB,IAAI,CAAC,KAAK;IACZ;IAEA;;;;;;;;;;;;;GAaC,GACD,KAAM,KAAK,EAAE,YAAY,EAAE;QACzB,MAAM,OAAO,IAAI;QACjB,IAAI,SAAS,KAAK,OAAO,iBAAiB;QAC1C,MAAM,eAAe;QAErB,MAAO,IAAI,IAAI,CAAC,KAAK,WAAW,EAAE,QAAS;YACzC,KAAK,WAAW,CAAC,aAAa;YAC9B,SAAS,eAAe,MAAM,KAAK,WAAW,CAAC,aAAa;QAC9D;QAEA,KAAK,WAAW,CAAC,OAAO,GAAG;QAE3B,OAAO;IACT;IAEA;;;;GAIC,GACD,QAAS;QACP,IAAI,CAAC,WAAW,GAAG,OAAO,MAAM,CAAC;IACnC;AACF;AAgBO,SAAS,KAAM,KAAK,EAAE,YAAY;IACvC,IAAI,OAAO,UAAU,UAAU,OAAO;IACtC,IAAI,CAAC,cAAc,QAAQ,MAAM,WAAW;IAC5C,OAAO,MAAM,OAAO,CAAC,sJAAK,EAAE,IAAI,OAAO,CAAC,MAAM;AAChD","ignoreList":[0]}}, - {"offset": {"line": 128, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/fumadocs-core/dist/mixedbread-B0TvOHtt.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/.pnpm/remove-markdown%400.6.2/node_modules/remove-markdown/index.js","file:///D:/sol-ui.com/sol-ui/docs/node_modules/fumadocs-core/src/search/client/mixedbread.ts"],"sourcesContent":["module.exports = function(md, options) {\n options = options || {};\n options.listUnicodeChar = options.hasOwnProperty('listUnicodeChar') ? options.listUnicodeChar : false;\n options.stripListLeaders = options.hasOwnProperty('stripListLeaders') ? options.stripListLeaders : true;\n options.gfm = options.hasOwnProperty('gfm') ? options.gfm : true;\n options.useImgAltText = options.hasOwnProperty('useImgAltText') ? options.useImgAltText : true;\n options.abbr = options.hasOwnProperty('abbr') ? options.abbr : false;\n options.replaceLinksWithURL = options.hasOwnProperty('replaceLinksWithURL') ? options.replaceLinksWithURL : false;\n options.htmlTagsToSkip = options.hasOwnProperty('htmlTagsToSkip') ? options.htmlTagsToSkip : [];\n options.throwError = options.hasOwnProperty('throwError') ? options.throwError : false;\n\n var output = md || '';\n\n // Remove horizontal rules (stripListHeaders conflict with this rule, which is why it has been moved to the top)\n output = output.replace(/^ {0,3}((?:-[\\t ]*){3,}|(?:_[ \\t]*){3,}|(?:\\*[ \\t]*){3,})(?:\\n+|$)/gm, '');\n\n try {\n if (options.stripListLeaders) {\n if (options.listUnicodeChar)\n output = output.replace(/^([\\s\\t]*)([\\*\\-\\+]|\\d+\\.)\\s+/gm, options.listUnicodeChar + ' $1');\n else\n output = output.replace(/^([\\s\\t]*)([\\*\\-\\+]|\\d+\\.)\\s+/gm, '$1');\n }\n if (options.gfm) {\n output = output\n // Header\n .replace(/\\n={2,}/g, '\\n')\n // Fenced codeblocks\n .replace(/~{3}.*\\n/g, '')\n // Strikethrough\n .replace(/~~/g, '')\n // Fenced codeblocks with backticks\n .replace(/```(?:.*)\\n([\\s\\S]*?)```/g, (_, code) => code.trim());\n }\n if (options.abbr) {\n // Remove abbreviations\n output = output.replace(/\\*\\[.*\\]:.*\\n/, '');\n }\n \n let htmlReplaceRegex = /<[^>]*>/g\n if (options.htmlTagsToSkip && options.htmlTagsToSkip.length > 0) {\n // Create a regex that matches tags not in htmlTagsToSkip\n const joinedHtmlTagsToSkip = options.htmlTagsToSkip.join('|')\n htmlReplaceRegex = new RegExp(\n `<(?!\\/?(${joinedHtmlTagsToSkip})(?=>|\\s[^>]*>))[^>]*>`,\n 'g',\n )\n }\n\n output = output\n // Remove HTML tags\n .replace(htmlReplaceRegex, '')\n // Remove setext-style headers\n .replace(/^[=\\-]{2,}\\s*$/g, '')\n // Remove footnotes?\n .replace(/\\[\\^.+?\\](\\: .*?$)?/g, '')\n .replace(/\\s{0,2}\\[.*?\\]: .*?$/g, '')\n // Remove images\n .replace(/\\!\\[(.*?)\\][\\[\\(].*?[\\]\\)]/g, options.useImgAltText ? '$1' : '')\n // Remove inline links\n .replace(/\\[([\\s\\S]*?)\\]\\s*[\\(\\[].*?[\\)\\]]/g, options.replaceLinksWithURL ? '$2' : '$1')\n // Remove blockquotes\n .replace(/^(\\n)?\\s{0,3}>\\s?/gm, '$1')\n // .replace(/(^|\\n)\\s{0,3}>\\s?/g, '\\n\\n')\n // Remove reference-style links?\n .replace(/^\\s{1,2}\\[(.*?)\\]: (\\S+)( \".*?\")?\\s*$/g, '')\n // Remove atx-style headers\n .replace(/^(\\n)?\\s{0,}#{1,6}\\s*( (.+))? +#+$|^(\\n)?\\s{0,}#{1,6}\\s*( (.+))?$/gm, '$1$3$4$6')\n // Remove * emphasis\n .replace(/([\\*]+)(\\S)(.*?\\S)??\\1/g, '$2$3')\n // Remove _ emphasis. Unlike *, _ emphasis gets rendered only if \n // 1. Either there is a whitespace character before opening _ and after closing _.\n // 2. Or _ is at the start/end of the string.\n .replace(/(^|\\W)([_]+)(\\S)(.*?\\S)??\\2($|\\W)/g, '$1$3$4$5')\n // Remove single-line code blocks (already handled multiline above in gfm section)\n .replace(/(`{3,})(.*?)\\1/gm, '$2')\n // Remove inline code\n .replace(/`(.+?)`/g, '$1')\n // // Replace two or more newlines with exactly two? Not entirely sure this belongs here...\n // .replace(/\\n{2,}/g, '\\n\\n')\n // // Remove newlines in a paragraph\n // .replace(/(\\S+)\\n\\s*(\\S+)/g, '$1 $2')\n // Replace strike through\n .replace(/~(.*?)~/g, '$1');\n } catch(e) {\n if (options.throwError) throw e;\n\n console.error(\"remove-markdown encountered error: %s\", e);\n return md;\n }\n return output;\n};\n","import type { SortedResult } from '@/search';\nimport type Mixedbread from '@mixedbread/sdk';\nimport removeMd from 'remove-markdown';\nimport Slugger from 'github-slugger';\nimport type { StoreSearchResponse } from '@mixedbread/sdk/resources/stores';\n\nexport interface MixedbreadOptions {\n /**\n * The identifier of the store to search in\n */\n storeIdentifier: string;\n\n /**\n * The Mixedbread SDK client instance\n */\n client: Mixedbread;\n\n /**\n * Filter results with specific tag.\n */\n tag?: string;\n\n /**\n * Filter by locale (unsupported at the moment)\n */\n locale?: string;\n}\n\nexport interface SearchMetadata {\n title?: string;\n description?: string;\n url?: string;\n tag?: string;\n}\n\ntype StoreSearchResult = StoreSearchResponse['data'][number] & {\n generated_metadata: SearchMetadata;\n};\n\nconst slugger = new Slugger();\n\nfunction extractHeadingTitle(text: string): string {\n const trimmedText = text.trim();\n\n if (!trimmedText.startsWith('#')) {\n return '';\n }\n\n const lines = trimmedText.split('\\n');\n const firstLine = lines[0]?.trim();\n\n if (firstLine) {\n // Use remove-markdown to convert to plain text and remove colons\n return removeMd(firstLine, {\n useImgAltText: false,\n });\n }\n\n return '';\n}\n\nexport async function search(query: string, options: MixedbreadOptions): Promise<SortedResult[]> {\n const { client, storeIdentifier, tag } = options;\n\n if (!query.trim()) {\n return [];\n }\n\n const res = await client.stores.search({\n query,\n store_identifiers: [storeIdentifier],\n top_k: 10,\n filters: {\n key: 'generated_metadata.tag',\n operator: 'eq',\n value: tag,\n },\n search_options: {\n return_metadata: true,\n },\n });\n\n return (res.data as StoreSearchResult[]).flatMap((item) => {\n const metadata = item.generated_metadata;\n\n const url = metadata.url || '#';\n const title = metadata.title || 'Untitled';\n\n const chunkResults: SortedResult[] = [\n {\n id: `${item.file_id}-${item.chunk_index}-page`,\n type: 'page',\n content: title,\n url,\n },\n ];\n\n const headingTitle = item.type === 'text' ? extractHeadingTitle(item.text) : '';\n\n if (headingTitle) {\n slugger.reset();\n\n chunkResults.push({\n id: `${item.file_id}-${item.chunk_index}-heading`,\n type: 'heading',\n content: headingTitle,\n url: `${url}#${slugger.slug(headingTitle)}`,\n });\n }\n\n return chunkResults;\n });\n}\n"],"names":["chunkResults: SortedResult[]"],"mappings":";;;;;;;;;;IAAA,OAAO,OAAA,GAAU,SAAS,EAAA,EAAI,OAAA,EAAS;QACrC,UAAU,WAAW,CAAA,CAAE;QACvB,QAAQ,eAAA,GAAkB,QAAQ,cAAA,CAAe,kBAAkB,GAAG,QAAQ,eAAA,GAAkB;QAChG,QAAQ,gBAAA,GAAmB,QAAQ,cAAA,CAAe,mBAAmB,GAAG,QAAQ,gBAAA,GAAmB;QACnG,QAAQ,GAAA,GAAM,QAAQ,cAAA,CAAe,MAAM,GAAG,QAAQ,GAAA,GAAM;QAC5D,QAAQ,aAAA,GAAgB,QAAQ,cAAA,CAAe,gBAAgB,GAAG,QAAQ,aAAA,GAAgB;QAC1F,QAAQ,IAAA,GAAO,QAA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EAEU,IAAA,CAA6B,OAAA,CAAA,CAAS,SAAS;QACzD,MAAM,WAAW,KAAK,kBAAA;QAEtB,MAAM,MAAM,SAAS,GAAA,IAAO;QAC5B,MAAM,QAAQ,SAAS,KAAA,IAAS;QAEhC,MAAMA,eAA+B;YACnC;gBACE,IAAI,GAAG,KAAK,OAAA,CAAQ,CAAA,EAAG,KAAK,WAAA,CAAY,KAAA,CAAA;gBACxC,MAAM;gBACN,SAAS;gBACT;aACD;SACF;QAED,MAAM,eAAe,KAAK,IAAA,KAAS,SAAS,oBAAoB,KAAK,IAAA,CAAK,GAAG;QAE7E,IAAI,cAAc;YAChB,QAAQ,KAAA,EAAO;YAEf,aAAa,IAAA,CAAK;gBAChB,IAAI,GAAG,KAAK,OAAA,CAAQ,CAAA,EAAG,KAAK,WAAA,CAAY,QAAA,CAAA;gBACxC,MAAM;gBACN,SAAS;gBACT,KAAK,GAAG,IAAI,CAAA,EAAG,QAAQ,IAAA,CAAK,aAAa,EAAA;aAC1C,CAAC;;QAGJ,OAAO;MACP"}}] -} \ No newline at end of file diff --git a/.next/dev/static/chunks/node_modules_fumadocs-core_dist_77c2f209._.js b/.next/dev/static/chunks/node_modules_fumadocs-core_dist_77c2f209._.js deleted file mode 100644 index 78214a4..0000000 --- a/.next/dev/static/chunks/node_modules_fumadocs-core_dist_77c2f209._.js +++ /dev/null @@ -1,68 +0,0 @@ -(globalThis.TURBOPACK || (globalThis.TURBOPACK = [])).push([typeof document === "object" ? document.currentScript : undefined, -"[project]/node_modules/fumadocs-core/dist/fetch-CiphcAUR.js [app-client] (ecmascript, async loader)", ((__turbopack_context__) => { - -__turbopack_context__.v((parentImport) => { - return Promise.all([ - "static/chunks/node_modules_fumadocs-core_dist_fetch-CiphcAUR_641d9297.js", - "static/chunks/node_modules_fumadocs-core_dist_fetch-CiphcAUR_c8a3a85e.js" -].map((chunk) => __turbopack_context__.l(chunk))).then(() => { - return parentImport("[project]/node_modules/fumadocs-core/dist/fetch-CiphcAUR.js [app-client] (ecmascript)"); - }); -}); -}), -"[project]/node_modules/fumadocs-core/dist/algolia-Dbt0kj8j.js [app-client] (ecmascript, async loader)", ((__turbopack_context__) => { - -__turbopack_context__.v((parentImport) => { - return Promise.all([ - "static/chunks/node_modules_fumadocs-core_dist_a6031d52._.js", - "static/chunks/node_modules_fumadocs-core_dist_algolia-Dbt0kj8j_c8a3a85e.js" -].map((chunk) => __turbopack_context__.l(chunk))).then(() => { - return parentImport("[project]/node_modules/fumadocs-core/dist/algolia-Dbt0kj8j.js [app-client] (ecmascript)"); - }); -}); -}), -"[project]/node_modules/fumadocs-core/dist/orama-cloud-yicpgD0c.js [app-client] (ecmascript, async loader)", ((__turbopack_context__) => { - -__turbopack_context__.v((parentImport) => { - return Promise.all([ - "static/chunks/node_modules_fumadocs-core_dist_86c5d4fc._.js", - "static/chunks/node_modules_fumadocs-core_dist_orama-cloud-yicpgD0c_c8a3a85e.js" -].map((chunk) => __turbopack_context__.l(chunk))).then(() => { - return parentImport("[project]/node_modules/fumadocs-core/dist/orama-cloud-yicpgD0c.js [app-client] (ecmascript)"); - }); -}); -}), -"[project]/node_modules/fumadocs-core/dist/orama-cloud-legacy-NJTbB19B.js [app-client] (ecmascript, async loader)", ((__turbopack_context__) => { - -__turbopack_context__.v((parentImport) => { - return Promise.all([ - "static/chunks/node_modules_fumadocs-core_dist_a070a883._.js", - "static/chunks/node_modules_fumadocs-core_dist_orama-cloud-legacy-NJTbB19B_c8a3a85e.js" -].map((chunk) => __turbopack_context__.l(chunk))).then(() => { - return parentImport("[project]/node_modules/fumadocs-core/dist/orama-cloud-legacy-NJTbB19B.js [app-client] (ecmascript)"); - }); -}); -}), -"[project]/node_modules/fumadocs-core/dist/mixedbread-B0TvOHtt.js [app-client] (ecmascript, async loader)", ((__turbopack_context__) => { - -__turbopack_context__.v((parentImport) => { - return Promise.all([ - "static/chunks/node_modules_b865d400._.js", - "static/chunks/node_modules_fumadocs-core_dist_mixedbread-B0TvOHtt_c8a3a85e.js" -].map((chunk) => __turbopack_context__.l(chunk))).then(() => { - return parentImport("[project]/node_modules/fumadocs-core/dist/mixedbread-B0TvOHtt.js [app-client] (ecmascript)"); - }); -}); -}), -"[project]/node_modules/fumadocs-core/dist/static-C_WBOzek.js [app-client] (ecmascript, async loader)", ((__turbopack_context__) => { - -__turbopack_context__.v((parentImport) => { - return Promise.all([ - "static/chunks/node_modules_57225b64._.js", - "static/chunks/node_modules_fumadocs-core_dist_static-C_WBOzek_c8a3a85e.js" -].map((chunk) => __turbopack_context__.l(chunk))).then(() => { - return parentImport("[project]/node_modules/fumadocs-core/dist/static-C_WBOzek.js [app-client] (ecmascript)"); - }); -}); -}), -]); \ No newline at end of file diff --git a/.next/dev/static/chunks/node_modules_fumadocs-core_dist_77c2f209._.js.map b/.next/dev/static/chunks/node_modules_fumadocs-core_dist_77c2f209._.js.map deleted file mode 100644 index c15d7ec..0000000 --- a/.next/dev/static/chunks/node_modules_fumadocs-core_dist_77c2f209._.js.map +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": 3, - "sources": [], - "sections": [] -} \ No newline at end of file diff --git a/.next/dev/static/chunks/node_modules_fumadocs-core_dist_86c5d4fc._.js b/.next/dev/static/chunks/node_modules_fumadocs-core_dist_86c5d4fc._.js deleted file mode 100644 index a302a63..0000000 --- a/.next/dev/static/chunks/node_modules_fumadocs-core_dist_86c5d4fc._.js +++ /dev/null @@ -1,180 +0,0 @@ -(globalThis.TURBOPACK || (globalThis.TURBOPACK = [])).push([typeof document === "object" ? document.currentScript : undefined, -"[project]/node_modules/fumadocs-core/dist/search-DzqmOjzV.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "t", - ()=>createContentHighlighter -]); -//#region src/search/index.ts -function escapeRegExp(input) { - return input.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"); -} -function buildRegexFromQuery(q) { - const trimmed = q.trim(); - if (trimmed.length === 0) return null; - const terms = Array.from(new Set(trimmed.split(/\s+/).map((t)=>t.trim()).filter(Boolean))); - if (terms.length === 0) return null; - const escaped = terms.map(escapeRegExp).join("|"); - return new RegExp(`(${escaped})`, "gi"); -} -function createContentHighlighter(query) { - const regex = typeof query === "string" ? buildRegexFromQuery(query) : query; - return { - highlight (content) { - if (!regex) return [ - { - type: "text", - content - } - ]; - const out = []; - let i = 0; - for (const match of content.matchAll(regex)){ - if (i < match.index) out.push({ - type: "text", - content: content.substring(i, match.index) - }); - out.push({ - type: "text", - content: match[0], - styles: { - highlight: true - } - }); - i = match.index + match[0].length; - } - if (i < content.length) out.push({ - type: "text", - content: content.substring(i) - }); - return out; - } - }; -} -; - //# sourceMappingURL=search-DzqmOjzV.js.map -}), -"[project]/node_modules/fumadocs-core/dist/remove-undefined-Buxsprgu.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "t", - ()=>removeUndefined -]); -//#region src/utils/remove-undefined.ts -function removeUndefined(value, deep = false) { - const obj = value; - for(const key in obj){ - if (obj[key] === void 0) delete obj[key]; - if (!deep) continue; - const entry = obj[key]; - if (typeof entry === "object" && entry !== null) { - removeUndefined(entry, deep); - continue; - } - if (Array.isArray(entry)) for (const item of entry)removeUndefined(item, deep); - } - return value; -} -; - //# sourceMappingURL=remove-undefined-Buxsprgu.js.map -}), -"[project]/node_modules/fumadocs-core/dist/orama-cloud-yicpgD0c.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "searchDocs", - ()=>searchDocs -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$core$2f$dist$2f$search$2d$DzqmOjzV$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/fumadocs-core/dist/search-DzqmOjzV.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$core$2f$dist$2f$remove$2d$undefined$2d$Buxsprgu$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/fumadocs-core/dist/remove-undefined-Buxsprgu.js [app-client] (ecmascript)"); -; -; -//#region src/search/client/orama-cloud.ts -async function searchDocs(query, options) { - const highlighter = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$core$2f$dist$2f$search$2d$DzqmOjzV$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["t"])(query); - const list = []; - const { index = "default", client, params: extraParams, tag } = options; - if (index === "crawler") { - const result$1 = await client.search({ - datasources: [], - ...extraParams, - term: query, - where: { - category: tag ? { - eq: tag.slice(0, 1).toUpperCase() + tag.slice(1) - } : void 0, - ...extraParams?.where - }, - limit: 10 - }); - if (!result$1) return list; - for (const hit of result$1.hits){ - const doc = hit.document; - list.push({ - id: hit.id, - type: "page", - content: doc.title, - contentWithHighlights: highlighter.highlight(doc.title), - url: doc.path - }, { - id: "page" + hit.id, - type: "text", - content: doc.content, - contentWithHighlights: highlighter.highlight(doc.content), - url: doc.path - }); - } - return list; - } - const params = { - datasources: [], - ...extraParams, - term: query, - where: (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$core$2f$dist$2f$remove$2d$undefined$2d$Buxsprgu$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["t"])({ - tag, - ...extraParams?.where - }), - groupBy: { - properties: [ - "page_id" - ], - max_results: 7, - ...extraParams?.groupBy - } - }; - const result = await client.search(params); - if (!result || !result.groups) return list; - for (const item of result.groups){ - let addedHead = false; - for (const hit of item.result){ - const doc = hit.document; - if (!addedHead) { - list.push({ - id: doc.page_id, - type: "page", - content: doc.title, - breadcrumbs: doc.breadcrumbs, - contentWithHighlights: highlighter.highlight(doc.title), - url: doc.url - }); - addedHead = true; - } - list.push({ - id: doc.id, - content: doc.content, - contentWithHighlights: highlighter.highlight(doc.content), - type: doc.content === doc.section ? "heading" : "text", - url: doc.section_id ? `${doc.url}#${doc.section_id}` : doc.url - }); - } - } - return list; -} -; - //# sourceMappingURL=orama-cloud-yicpgD0c.js.map -}), -]); - -//# sourceMappingURL=node_modules_fumadocs-core_dist_86c5d4fc._.js.map \ No newline at end of file diff --git a/.next/dev/static/chunks/node_modules_fumadocs-core_dist_86c5d4fc._.js.map b/.next/dev/static/chunks/node_modules_fumadocs-core_dist_86c5d4fc._.js.map deleted file mode 100644 index df75de7..0000000 --- a/.next/dev/static/chunks/node_modules_fumadocs-core_dist_86c5d4fc._.js.map +++ /dev/null @@ -1,8 +0,0 @@ -{ - "version": 3, - "sources": [], - "sections": [ - {"offset": {"line": 4, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/fumadocs-core/dist/search-DzqmOjzV.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/fumadocs-core/src/search/index.ts"],"sourcesContent":["import type { ReactNode } from 'react';\n\nexport interface SortedResult<Content = string> {\n id: string;\n url: string;\n type: 'page' | 'heading' | 'text';\n content: Content;\n\n /**\n * breadcrumbs to be displayed on UI\n */\n breadcrumbs?: Content[];\n contentWithHighlights?: HighlightedText<Content>[];\n}\n\nexport type ReactSortedResult = SortedResult<ReactNode>;\n\nexport interface HighlightedText<Content = string> {\n type: 'text';\n content: Content;\n styles?: {\n highlight?: boolean;\n };\n}\n\nfunction escapeRegExp(input: string): string {\n return input.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\$&');\n}\n\nfunction buildRegexFromQuery(q: string): RegExp | null {\n const trimmed = q.trim();\n if (trimmed.length === 0) return null;\n const terms = Array.from(\n new Set(\n trimmed\n .split(/\\s+/)\n .map((t) => t.trim())\n .filter(Boolean),\n ),\n );\n if (terms.length === 0) return null;\n const escaped = terms.map(escapeRegExp).join('|');\n return new RegExp(`(${escaped})`, 'gi');\n}\n\nexport function createContentHighlighter(query: string | RegExp) {\n const regex = typeof query === 'string' ? buildRegexFromQuery(query) : query;\n\n return {\n highlight(content: string): HighlightedText[] {\n if (!regex) return [{ type: 'text', content }];\n const out: HighlightedText[] = [];\n\n let i = 0;\n for (const match of content.matchAll(regex)) {\n if (i < match.index) {\n out.push({\n type: 'text',\n content: content.substring(i, match.index),\n });\n }\n\n out.push({\n type: 'text',\n content: match[0],\n styles: {\n highlight: true,\n },\n });\n\n i = match.index + match[0].length;\n }\n\n if (i < content.length) {\n out.push({\n type: 'text',\n content: content.substring(i),\n });\n }\n\n return out;\n },\n };\n}\n"],"names":["out: HighlightedText[]"],"mappings":";;;;;AAyBA,SAAS,aAAa,KAAA,EAAuB;IAC3C,OAAO,MAAM,OAAA,CAAQ,uBAAuB,OAAO;;AAGrD,SAAS,oBAAoB,CAAA,EAA0B;IACrD,MAAM,UAAU,EAAE,IAAA,EAAM;IACxB,IAAI,QAAQ,MAAA,KAAW,EAAG,CAAA,OAAO;IACjC,MAAM,QAAQ,MAAM,IAAA,CAClB,IAAI,IACF,QACG,KAAA,CAAM,MAAM,CACZ,GAAA,CAAA,CAAK,IAAM,EAAE,IAAA,EAAM,CAAC,CACpB,MAAA,CAAO,QAAQ,CACnB,CACF;IACD,IAAI,MAAM,MAAA,KAAW,EAAG,CAAA,OAAO;IAC/B,MAAM,UAAU,MAAM,GAAA,CAAI,aAAa,CAAC,IAAA,CAAK,IAAI;IACjD,OAAO,IAAI,OAAO,CAAA,CAAA,EAAI,QAAQ,CAAA,CAAA,EAAI,KAAK;;AAGzC,SAAgB,yBAAyB,KAAA,EAAwB;IAC/D,MAAM,QAAQ,OAAO,UAAU,WAAW,oBAAoB,MAAM,GAAG;IAEvE,OAAO;QACL,WAAU,OAAA,EAAoC;YAC5C,IAAI,CAAC,MAAO,CAAA,OAAO;gBAAC;oBAAE,MAAM;oBAAQ;iBAAS;aAAC;YAC9C,MAAMA,MAAyB,EAAE;YAEjC,IAAI,IAAI;YACR,KAAK,MAAM,SAAS,QAAQ,QAAA,CAAS,MAAM,CAAE;gBAC3C,IAAI,IAAI,MAAM,KAAA,CACZ,CAAA,IAAI,IAAA,CAAK;oBACP,MAAM;oBACN,SAAS,QAAQ,SAAA,CAAU,GAAG,MAAM,KAAA,CAAM;iBAC3C,CAAC;gBAGJ,IAAI,IAAA,CAAK;oBACP,MAAM;oBACN,SAAS,KAAA,CAAM,EAAA;oBACf,QAAQ;wBACN,WAAW;oBAAA,CACZ;iBACF,CAAC;gBAEF,IAAI,MAAM,KAAA,GAAQ,KAAA,CAAM,EAAA,CAAG,MAAA;;YAG7B,IAAI,IAAI,QAAQ,MAAA,CACd,CAAA,IAAI,IAAA,CAAK;gBACP,MAAM;gBACN,SAAS,QAAQ,SAAA,CAAU,EAAE;aAC9B,CAAC;YAGJ,OAAO;;KAEV"}}, - {"offset": {"line": 60, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/fumadocs-core/dist/remove-undefined-Buxsprgu.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/fumadocs-core/src/utils/remove-undefined.ts"],"sourcesContent":["export function removeUndefined<T extends object>(value: T, deep = false): T {\n const obj = value as Record<string, unknown>;\n\n for (const key in obj) {\n if (obj[key] === undefined) delete obj[key];\n if (!deep) continue;\n\n const entry = obj[key];\n\n if (typeof entry === 'object' && entry !== null) {\n removeUndefined(entry, deep);\n continue;\n }\n\n if (Array.isArray(entry)) {\n for (const item of entry) removeUndefined(item, deep);\n }\n }\n\n return value;\n}\n"],"names":[],"mappings":";;;;;AAAA,SAAgB,gBAAkC,KAAA,EAAU,OAAO,KAAA,EAAU;IAC3E,MAAM,MAAM;IAEZ,IAAK,MAAM,OAAO,IAAK;QACrB,IAAI,GAAA,CAAI,IAAA,KAAS,KAAA,EAAW,CAAA,OAAO,GAAA,CAAI,IAAA;QACvC,IAAI,CAAC,KAAM,CAAA;QAEX,MAAM,QAAQ,GAAA,CAAI,IAAA;QAElB,IAAI,OAAO,UAAU,YAAY,UAAU,MAAM;YAC/C,gBAAgB,OAAO,KAAK;YAC5B;;QAGF,IAAI,MAAM,OAAA,CAAQ,MAAM,CACtB,CAAA,KAAK,MAAM,QAAQ,MAAO,gBAAgB,MAAM,KAAK;;IAIzD,OAAO"}}, - {"offset": {"line": 85, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/fumadocs-core/dist/orama-cloud-yicpgD0c.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/fumadocs-core/src/search/client/orama-cloud.ts"],"sourcesContent":["import type { OramaCloud, OramaCloudSearchParams } from '@orama/core';\nimport { removeUndefined } from '@/utils/remove-undefined';\nimport type { OramaIndex } from '@/search/orama-cloud';\nimport { createContentHighlighter, type SortedResult } from '@/search';\n\ninterface CrawlerIndex {\n path: string;\n title: string;\n content: string;\n section: string;\n category: string;\n}\n\nexport interface OramaCloudOptions {\n client: OramaCloud;\n /**\n * The type of your index.\n *\n * You can set it to `crawler` if you use crawler instead of the JSON index with schema provided by Fumadocs\n */\n index?: 'default' | 'crawler';\n params?: Partial<OramaCloudSearchParams>;\n\n /**\n * Filter results with specific tag.\n */\n tag?: string;\n\n /**\n * Filter by locale (unsupported at the moment)\n */\n locale?: string;\n}\n\nexport async function searchDocs(\n query: string,\n options: OramaCloudOptions,\n): Promise<SortedResult[]> {\n const highlighter = createContentHighlighter(query);\n const list: SortedResult[] = [];\n const { index = 'default', client, params: extraParams, tag } = options;\n\n if (index === 'crawler') {\n const result = await client.search({\n datasources: [],\n ...extraParams,\n term: query,\n where: {\n category: tag\n ? {\n eq: tag.slice(0, 1).toUpperCase() + tag.slice(1),\n }\n : undefined,\n ...extraParams?.where,\n },\n limit: 10,\n });\n if (!result) return list;\n\n for (const hit of result.hits) {\n const doc = hit.document as unknown as CrawlerIndex;\n\n list.push(\n {\n id: hit.id,\n type: 'page',\n content: doc.title,\n contentWithHighlights: highlighter.highlight(doc.title),\n url: doc.path,\n },\n {\n id: 'page' + hit.id,\n type: 'text',\n content: doc.content,\n contentWithHighlights: highlighter.highlight(doc.content),\n url: doc.path,\n },\n );\n }\n\n return list;\n }\n\n const params: OramaCloudSearchParams = {\n datasources: [],\n ...extraParams,\n term: query,\n where: removeUndefined({\n tag,\n ...extraParams?.where,\n }),\n groupBy: {\n properties: ['page_id'],\n max_results: 7,\n ...extraParams?.groupBy,\n },\n };\n\n const result = await client.search(params);\n if (!result || !result.groups) return list;\n\n for (const item of result.groups) {\n let addedHead = false;\n\n for (const hit of item.result) {\n const doc = hit.document as unknown as OramaIndex;\n\n if (!addedHead) {\n list.push({\n id: doc.page_id,\n type: 'page',\n content: doc.title,\n breadcrumbs: doc.breadcrumbs,\n contentWithHighlights: highlighter.highlight(doc.title),\n url: doc.url,\n });\n addedHead = true;\n }\n\n list.push({\n id: doc.id,\n content: doc.content,\n contentWithHighlights: highlighter.highlight(doc.content),\n type: doc.content === doc.section ? 'heading' : 'text',\n url: doc.section_id ? `${doc.url}#${doc.section_id}` : doc.url,\n });\n }\n }\n\n return list;\n}\n"],"names":["list: SortedResult[]","result","params: OramaCloudSearchParams"],"mappings":";;;;;;;;;AAkCA,eAAsB,WACpB,KAAA,EACA,OAAA,EACyB;IACzB,MAAM,kBAAc,sKAAA,EAAyB,MAAM;IACnD,MAAMA,OAAuB,EAAE;IAC/B,MAAM,EAAE,QAAQ,SAAA,EAAW,MAAA,EAAQ,QAAQ,WAAA,EAAa,GAAA,EAAA,GAAQ;IAEhE,IAAI,UAAU,WAAW;QACvB,MAAMC,WAAS,MAAM,OAAO,MAAA,CAAO;YACjC,aAAa,EAAE;YACf,GAAG,WAAA;YACH,MAAM;YACN,OAAO;gBACL,UAAU,MACN;oBACE,IAAI,IAAI,KAAA,CAAM,GAAG,EAAE,CAAC,WAAA,EAAa,GAAG,IAAI,KAAA,CAAM,EAAE;gBAAA,CACjD,GACD,KAAA;gBACJ,GAAG,aAAa,KAAA;aACjB;YACD,OAAO;SACR,CAAC;QACF,IAAI,CAACA,SAAQ,CAAA,OAAO;QAEpB,KAAK,MAAM,OAAOA,SAAO,IAAA,CAAM;YAC7B,MAAM,MAAM,IAAI,QAAA;YAEhB,KAAK,IAAA,CACH;gBACE,IAAI,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I,CAAA,EAAG,IAAI,UAAA,EAAA,GAAe,IAAI,GAAA;aAC5D,CAAC;;;IAIN,OAAO"}}] -} \ No newline at end of file diff --git a/.next/dev/static/chunks/node_modules_fumadocs-core_dist_a070a883._.js b/.next/dev/static/chunks/node_modules_fumadocs-core_dist_a070a883._.js deleted file mode 100644 index cb97c51..0000000 --- a/.next/dev/static/chunks/node_modules_fumadocs-core_dist_a070a883._.js +++ /dev/null @@ -1,178 +0,0 @@ -(globalThis.TURBOPACK || (globalThis.TURBOPACK = [])).push([typeof document === "object" ? document.currentScript : undefined, -"[project]/node_modules/fumadocs-core/dist/search-DzqmOjzV.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "t", - ()=>createContentHighlighter -]); -//#region src/search/index.ts -function escapeRegExp(input) { - return input.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"); -} -function buildRegexFromQuery(q) { - const trimmed = q.trim(); - if (trimmed.length === 0) return null; - const terms = Array.from(new Set(trimmed.split(/\s+/).map((t)=>t.trim()).filter(Boolean))); - if (terms.length === 0) return null; - const escaped = terms.map(escapeRegExp).join("|"); - return new RegExp(`(${escaped})`, "gi"); -} -function createContentHighlighter(query) { - const regex = typeof query === "string" ? buildRegexFromQuery(query) : query; - return { - highlight (content) { - if (!regex) return [ - { - type: "text", - content - } - ]; - const out = []; - let i = 0; - for (const match of content.matchAll(regex)){ - if (i < match.index) out.push({ - type: "text", - content: content.substring(i, match.index) - }); - out.push({ - type: "text", - content: match[0], - styles: { - highlight: true - } - }); - i = match.index + match[0].length; - } - if (i < content.length) out.push({ - type: "text", - content: content.substring(i) - }); - return out; - } - }; -} -; - //# sourceMappingURL=search-DzqmOjzV.js.map -}), -"[project]/node_modules/fumadocs-core/dist/remove-undefined-Buxsprgu.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "t", - ()=>removeUndefined -]); -//#region src/utils/remove-undefined.ts -function removeUndefined(value, deep = false) { - const obj = value; - for(const key in obj){ - if (obj[key] === void 0) delete obj[key]; - if (!deep) continue; - const entry = obj[key]; - if (typeof entry === "object" && entry !== null) { - removeUndefined(entry, deep); - continue; - } - if (Array.isArray(entry)) for (const item of entry)removeUndefined(item, deep); - } - return value; -} -; - //# sourceMappingURL=remove-undefined-Buxsprgu.js.map -}), -"[project]/node_modules/fumadocs-core/dist/orama-cloud-legacy-NJTbB19B.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "searchDocs", - ()=>searchDocs -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$core$2f$dist$2f$search$2d$DzqmOjzV$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/fumadocs-core/dist/search-DzqmOjzV.js [app-client] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$core$2f$dist$2f$remove$2d$undefined$2d$Buxsprgu$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/fumadocs-core/dist/remove-undefined-Buxsprgu.js [app-client] (ecmascript)"); -; -; -//#region src/search/client/orama-cloud-legacy.ts -async function searchDocs(query, options) { - const highlighter = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$core$2f$dist$2f$search$2d$DzqmOjzV$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["t"])(query); - const list = []; - const { index = "default", client, params: extraParams = {}, tag } = options; - if (index === "crawler") { - const result$1 = await client.search({ - ...extraParams, - term: query, - where: { - category: tag ? { - eq: tag.slice(0, 1).toUpperCase() + tag.slice(1) - } : void 0, - ...extraParams.where - }, - limit: 10 - }); - if (!result$1) return list; - for (const hit of result$1.hits){ - const doc = hit.document; - list.push({ - id: hit.id, - type: "page", - content: doc.title, - contentWithHighlights: highlighter.highlight(doc.title), - url: doc.path - }, { - id: "page" + hit.id, - type: "text", - content: doc.content, - contentWithHighlights: highlighter.highlight(doc.content), - url: doc.path - }); - } - return list; - } - const params = { - ...extraParams, - term: query, - where: (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$core$2f$dist$2f$remove$2d$undefined$2d$Buxsprgu$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["t"])({ - tag, - ...extraParams.where - }), - groupBy: { - properties: [ - "page_id" - ], - maxResult: 7, - ...extraParams.groupBy - } - }; - const result = await client.search(params); - if (!result || !result.groups) return list; - for (const item of result.groups){ - let addedHead = false; - for (const hit of item.result){ - const doc = hit.document; - if (!addedHead) { - list.push({ - id: doc.page_id, - type: "page", - content: doc.title, - breadcrumbs: doc.breadcrumbs, - contentWithHighlights: highlighter.highlight(doc.title), - url: doc.url - }); - addedHead = true; - } - list.push({ - id: doc.id, - content: doc.content, - contentWithHighlights: highlighter.highlight(doc.content), - type: doc.content === doc.section ? "heading" : "text", - url: doc.section_id ? `${doc.url}#${doc.section_id}` : doc.url - }); - } - } - return list; -} -; - //# sourceMappingURL=orama-cloud-legacy-NJTbB19B.js.map -}), -]); - -//# sourceMappingURL=node_modules_fumadocs-core_dist_a070a883._.js.map \ No newline at end of file diff --git a/.next/dev/static/chunks/node_modules_fumadocs-core_dist_a070a883._.js.map b/.next/dev/static/chunks/node_modules_fumadocs-core_dist_a070a883._.js.map deleted file mode 100644 index d5df0f4..0000000 --- a/.next/dev/static/chunks/node_modules_fumadocs-core_dist_a070a883._.js.map +++ /dev/null @@ -1,8 +0,0 @@ -{ - "version": 3, - "sources": [], - "sections": [ - {"offset": {"line": 4, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/fumadocs-core/dist/search-DzqmOjzV.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/fumadocs-core/src/search/index.ts"],"sourcesContent":["import type { ReactNode } from 'react';\n\nexport interface SortedResult<Content = string> {\n id: string;\n url: string;\n type: 'page' | 'heading' | 'text';\n content: Content;\n\n /**\n * breadcrumbs to be displayed on UI\n */\n breadcrumbs?: Content[];\n contentWithHighlights?: HighlightedText<Content>[];\n}\n\nexport type ReactSortedResult = SortedResult<ReactNode>;\n\nexport interface HighlightedText<Content = string> {\n type: 'text';\n content: Content;\n styles?: {\n highlight?: boolean;\n };\n}\n\nfunction escapeRegExp(input: string): string {\n return input.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\$&');\n}\n\nfunction buildRegexFromQuery(q: string): RegExp | null {\n const trimmed = q.trim();\n if (trimmed.length === 0) return null;\n const terms = Array.from(\n new Set(\n trimmed\n .split(/\\s+/)\n .map((t) => t.trim())\n .filter(Boolean),\n ),\n );\n if (terms.length === 0) return null;\n const escaped = terms.map(escapeRegExp).join('|');\n return new RegExp(`(${escaped})`, 'gi');\n}\n\nexport function createContentHighlighter(query: string | RegExp) {\n const regex = typeof query === 'string' ? buildRegexFromQuery(query) : query;\n\n return {\n highlight(content: string): HighlightedText[] {\n if (!regex) return [{ type: 'text', content }];\n const out: HighlightedText[] = [];\n\n let i = 0;\n for (const match of content.matchAll(regex)) {\n if (i < match.index) {\n out.push({\n type: 'text',\n content: content.substring(i, match.index),\n });\n }\n\n out.push({\n type: 'text',\n content: match[0],\n styles: {\n highlight: true,\n },\n });\n\n i = match.index + match[0].length;\n }\n\n if (i < content.length) {\n out.push({\n type: 'text',\n content: content.substring(i),\n });\n }\n\n return out;\n },\n };\n}\n"],"names":["out: HighlightedText[]"],"mappings":";;;;;AAyBA,SAAS,aAAa,KAAA,EAAuB;IAC3C,OAAO,MAAM,OAAA,CAAQ,uBAAuB,OAAO;;AAGrD,SAAS,oBAAoB,CAAA,EAA0B;IACrD,MAAM,UAAU,EAAE,IAAA,EAAM;IACxB,IAAI,QAAQ,MAAA,KAAW,EAAG,CAAA,OAAO;IACjC,MAAM,QAAQ,MAAM,IAAA,CAClB,IAAI,IACF,QACG,KAAA,CAAM,MAAM,CACZ,GAAA,CAAA,CAAK,IAAM,EAAE,IAAA,EAAM,CAAC,CACpB,MAAA,CAAO,QAAQ,CACnB,CACF;IACD,IAAI,MAAM,MAAA,KAAW,EAAG,CAAA,OAAO;IAC/B,MAAM,UAAU,MAAM,GAAA,CAAI,aAAa,CAAC,IAAA,CAAK,IAAI;IACjD,OAAO,IAAI,OAAO,CAAA,CAAA,EAAI,QAAQ,CAAA,CAAA,EAAI,KAAK;;AAGzC,SAAgB,yBAAyB,KAAA,EAAwB;IAC/D,MAAM,QAAQ,OAAO,UAAU,WAAW,oBAAoB,MAAM,GAAG;IAEvE,OAAO;QACL,WAAU,OAAA,EAAoC;YAC5C,IAAI,CAAC,MAAO,CAAA,OAAO;gBAAC;oBAAE,MAAM;oBAAQ;iBAAS;aAAC;YAC9C,MAAMA,MAAyB,EAAE;YAEjC,IAAI,IAAI;YACR,KAAK,MAAM,SAAS,QAAQ,QAAA,CAAS,MAAM,CAAE;gBAC3C,IAAI,IAAI,MAAM,KAAA,CACZ,CAAA,IAAI,IAAA,CAAK;oBACP,MAAM;oBACN,SAAS,QAAQ,SAAA,CAAU,GAAG,MAAM,KAAA,CAAM;iBAC3C,CAAC;gBAGJ,IAAI,IAAA,CAAK;oBACP,MAAM;oBACN,SAAS,KAAA,CAAM,EAAA;oBACf,QAAQ;wBACN,WAAW;oBAAA,CACZ;iBACF,CAAC;gBAEF,IAAI,MAAM,KAAA,GAAQ,KAAA,CAAM,EAAA,CAAG,MAAA;;YAG7B,IAAI,IAAI,QAAQ,MAAA,CACd,CAAA,IAAI,IAAA,CAAK;gBACP,MAAM;gBACN,SAAS,QAAQ,SAAA,CAAU,EAAE;aAC9B,CAAC;YAGJ,OAAO;;KAEV"}}, - {"offset": {"line": 60, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/fumadocs-core/dist/remove-undefined-Buxsprgu.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/fumadocs-core/src/utils/remove-undefined.ts"],"sourcesContent":["export function removeUndefined<T extends object>(value: T, deep = false): T {\n const obj = value as Record<string, unknown>;\n\n for (const key in obj) {\n if (obj[key] === undefined) delete obj[key];\n if (!deep) continue;\n\n const entry = obj[key];\n\n if (typeof entry === 'object' && entry !== null) {\n removeUndefined(entry, deep);\n continue;\n }\n\n if (Array.isArray(entry)) {\n for (const item of entry) removeUndefined(item, deep);\n }\n }\n\n return value;\n}\n"],"names":[],"mappings":";;;;;AAAA,SAAgB,gBAAkC,KAAA,EAAU,OAAO,KAAA,EAAU;IAC3E,MAAM,MAAM;IAEZ,IAAK,MAAM,OAAO,IAAK;QACrB,IAAI,GAAA,CAAI,IAAA,KAAS,KAAA,EAAW,CAAA,OAAO,GAAA,CAAI,IAAA;QACvC,IAAI,CAAC,KAAM,CAAA;QAEX,MAAM,QAAQ,GAAA,CAAI,IAAA;QAElB,IAAI,OAAO,UAAU,YAAY,UAAU,MAAM;YAC/C,gBAAgB,OAAO,KAAK;YAC5B;;QAGF,IAAI,MAAM,OAAA,CAAQ,MAAM,CACtB,CAAA,KAAK,MAAM,QAAQ,MAAO,gBAAgB,MAAM,KAAK;;IAIzD,OAAO"}}, - {"offset": {"line": 85, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/fumadocs-core/dist/orama-cloud-legacy-NJTbB19B.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/fumadocs-core/src/search/client/orama-cloud-legacy.ts"],"sourcesContent":["import type { ClientSearchParams, OramaClient } from '@oramacloud/client';\nimport { removeUndefined } from '@/utils/remove-undefined';\nimport type { OramaIndex } from '@/search/orama-cloud-legacy';\nimport { createContentHighlighter, type SortedResult } from '@/search';\n\ninterface CrawlerIndex {\n path: string;\n title: string;\n content: string;\n section: string;\n category: string;\n}\n\nexport interface OramaCloudLegacyOptions {\n client: OramaClient;\n /**\n * The type of your index.\n *\n * You can set it to `crawler` if you use crawler instead of the JSON index with schema provided by Fumadocs\n */\n index?: 'default' | 'crawler';\n params?: ClientSearchParams;\n\n /**\n * Filter results with specific tag.\n */\n tag?: string;\n\n /**\n * Filter by locale (unsupported at the moment)\n */\n locale?: string;\n}\n\nexport async function searchDocs(\n query: string,\n options: OramaCloudLegacyOptions,\n): Promise<SortedResult[]> {\n const highlighter = createContentHighlighter(query);\n const list: SortedResult[] = [];\n const { index = 'default', client, params: extraParams = {}, tag } = options;\n\n if (index === 'crawler') {\n const result = await client.search({\n ...extraParams,\n term: query,\n where: {\n category: tag\n ? {\n eq: tag.slice(0, 1).toUpperCase() + tag.slice(1),\n }\n : undefined,\n ...extraParams.where,\n },\n limit: 10,\n });\n if (!result) return list;\n\n for (const hit of result.hits) {\n const doc = hit.document as unknown as CrawlerIndex;\n\n list.push(\n {\n id: hit.id,\n type: 'page',\n content: doc.title,\n contentWithHighlights: highlighter.highlight(doc.title),\n url: doc.path,\n },\n {\n id: 'page' + hit.id,\n type: 'text',\n content: doc.content,\n contentWithHighlights: highlighter.highlight(doc.content),\n url: doc.path,\n },\n );\n }\n\n return list;\n }\n\n const params: ClientSearchParams = {\n ...extraParams,\n term: query,\n where: removeUndefined({\n tag,\n ...extraParams.where,\n }),\n groupBy: {\n properties: ['page_id'],\n maxResult: 7,\n ...extraParams.groupBy,\n },\n };\n\n const result = await client.search(params);\n if (!result || !result.groups) return list;\n\n for (const item of result.groups) {\n let addedHead = false;\n\n for (const hit of item.result) {\n const doc = hit.document as unknown as OramaIndex;\n\n if (!addedHead) {\n list.push({\n id: doc.page_id,\n type: 'page',\n content: doc.title,\n breadcrumbs: doc.breadcrumbs,\n contentWithHighlights: highlighter.highlight(doc.title),\n url: doc.url,\n });\n addedHead = true;\n }\n\n list.push({\n id: doc.id,\n content: doc.content,\n contentWithHighlights: highlighter.highlight(doc.content),\n type: doc.content === doc.section ? 'heading' : 'text',\n url: doc.section_id ? `${doc.url}#${doc.section_id}` : doc.url,\n });\n }\n }\n\n return list;\n}\n"],"names":["list: SortedResult[]","result","params: ClientSearchParams"],"mappings":";;;;;;;;;AAkCA,eAAsB,WACpB,KAAA,EACA,OAAA,EACyB;I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,QAAQ,OAAO,MAAA,CAAQ;QAChC,IAAI,YAAY;QAEhB,KAAK,MAAM,OAAO,KAAK,MAAA,CAAQ;YAC7B,MAAM,MAAM,IAAI,QAAA;YAEhB,IAAI,CAAC,WAAW;gBACd,KAAK,IAAA,CAAK;oBACR,IAAI,IAAI,OAAA;oBACR,MAAM;oBACN,SAAS,IAAI,KAAA;oBACb,aAAa,IAAI,WAAA;oBACjB,uBAAuB,YAAY,SAAA,CAAU,IAAI,KAAA,CAAM;oBACvD,KAAK,IAAI,GAAA;iBACV,CAAC;gBACF,YAAY;;YAGd,KAAK,IAAA,CAAK;gBACR,IAAI,IAAI,EAAA;gBACR,SAAS,IAAI,OAAA;gBACb,uBAAuB,YAAY,SAAA,CAAU,IAAI,OAAA,CAAQ;gBACzD,MAAM,IAAI,OAAA,KAAY,IAAI,OAAA,GAAU,YAAY;gBAChD,KAAK,IAAI,UAAA,GAAa,GAAG,IAAI,GAAA,CAAI,CAAA,EAAG,IAAI,UAAA,EAAA,GAAe,IAAI,GAAA;aAC5D,CAAC;;;IAIN,OAAO"}}] -} \ No newline at end of file diff --git a/.next/dev/static/chunks/node_modules_fumadocs-core_dist_a6031d52._.js b/.next/dev/static/chunks/node_modules_fumadocs-core_dist_a6031d52._.js deleted file mode 100644 index e573a75..0000000 --- a/.next/dev/static/chunks/node_modules_fumadocs-core_dist_a6031d52._.js +++ /dev/null @@ -1,119 +0,0 @@ -(globalThis.TURBOPACK || (globalThis.TURBOPACK = [])).push([typeof document === "object" ? document.currentScript : undefined, -"[project]/node_modules/fumadocs-core/dist/search-DzqmOjzV.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "t", - ()=>createContentHighlighter -]); -//#region src/search/index.ts -function escapeRegExp(input) { - return input.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"); -} -function buildRegexFromQuery(q) { - const trimmed = q.trim(); - if (trimmed.length === 0) return null; - const terms = Array.from(new Set(trimmed.split(/\s+/).map((t)=>t.trim()).filter(Boolean))); - if (terms.length === 0) return null; - const escaped = terms.map(escapeRegExp).join("|"); - return new RegExp(`(${escaped})`, "gi"); -} -function createContentHighlighter(query) { - const regex = typeof query === "string" ? buildRegexFromQuery(query) : query; - return { - highlight (content) { - if (!regex) return [ - { - type: "text", - content - } - ]; - const out = []; - let i = 0; - for (const match of content.matchAll(regex)){ - if (i < match.index) out.push({ - type: "text", - content: content.substring(i, match.index) - }); - out.push({ - type: "text", - content: match[0], - styles: { - highlight: true - } - }); - i = match.index + match[0].length; - } - if (i < content.length) out.push({ - type: "text", - content: content.substring(i) - }); - return out; - } - }; -} -; - //# sourceMappingURL=search-DzqmOjzV.js.map -}), -"[project]/node_modules/fumadocs-core/dist/algolia-Dbt0kj8j.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "searchDocs", - ()=>searchDocs -]); -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$core$2f$dist$2f$search$2d$DzqmOjzV$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/fumadocs-core/dist/search-DzqmOjzV.js [app-client] (ecmascript)"); -; -//#region src/search/client/algolia.ts -function groupResults(hits) { - const grouped = []; - const scannedUrls = /* @__PURE__ */ new Set(); - for (const hit of hits){ - if (!scannedUrls.has(hit.url)) { - scannedUrls.add(hit.url); - grouped.push({ - id: hit.url, - type: "page", - breadcrumbs: hit.breadcrumbs, - url: hit.url, - content: hit.title - }); - } - grouped.push({ - id: hit.objectID, - type: hit.content === hit.section ? "heading" : "text", - url: hit.section_id ? `${hit.url}#${hit.section_id}` : hit.url, - content: hit.content - }); - } - return grouped; -} -async function searchDocs(query, { indexName, onSearch, client, locale, tag }) { - if (query.trim().length === 0) return []; - const result = onSearch ? await onSearch(query, tag, locale) : await client.searchForHits({ - requests: [ - { - type: "default", - indexName, - query, - distinct: 5, - hitsPerPage: 10, - filters: tag ? `tag:${tag}` : void 0 - } - ] - }); - const highlighter = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$fumadocs$2d$core$2f$dist$2f$search$2d$DzqmOjzV$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["t"])(query); - return groupResults(result.results[0].hits).flatMap((hit)=>{ - if (hit.type === "page") return { - ...hit, - contentWithHighlights: hit.contentWithHighlights ?? highlighter.highlight(hit.content) - }; - return []; - }); -} -; - //# sourceMappingURL=algolia-Dbt0kj8j.js.map -}), -]); - -//# sourceMappingURL=node_modules_fumadocs-core_dist_a6031d52._.js.map \ No newline at end of file diff --git a/.next/dev/static/chunks/node_modules_fumadocs-core_dist_a6031d52._.js.map b/.next/dev/static/chunks/node_modules_fumadocs-core_dist_a6031d52._.js.map deleted file mode 100644 index c127e87..0000000 --- a/.next/dev/static/chunks/node_modules_fumadocs-core_dist_a6031d52._.js.map +++ /dev/null @@ -1,7 +0,0 @@ -{ - "version": 3, - "sources": [], - "sections": [ - {"offset": {"line": 4, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/fumadocs-core/dist/search-DzqmOjzV.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/fumadocs-core/src/search/index.ts"],"sourcesContent":["import type { ReactNode } from 'react';\n\nexport interface SortedResult<Content = string> {\n id: string;\n url: string;\n type: 'page' | 'heading' | 'text';\n content: Content;\n\n /**\n * breadcrumbs to be displayed on UI\n */\n breadcrumbs?: Content[];\n contentWithHighlights?: HighlightedText<Content>[];\n}\n\nexport type ReactSortedResult = SortedResult<ReactNode>;\n\nexport interface HighlightedText<Content = string> {\n type: 'text';\n content: Content;\n styles?: {\n highlight?: boolean;\n };\n}\n\nfunction escapeRegExp(input: string): string {\n return input.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\$&');\n}\n\nfunction buildRegexFromQuery(q: string): RegExp | null {\n const trimmed = q.trim();\n if (trimmed.length === 0) return null;\n const terms = Array.from(\n new Set(\n trimmed\n .split(/\\s+/)\n .map((t) => t.trim())\n .filter(Boolean),\n ),\n );\n if (terms.length === 0) return null;\n const escaped = terms.map(escapeRegExp).join('|');\n return new RegExp(`(${escaped})`, 'gi');\n}\n\nexport function createContentHighlighter(query: string | RegExp) {\n const regex = typeof query === 'string' ? buildRegexFromQuery(query) : query;\n\n return {\n highlight(content: string): HighlightedText[] {\n if (!regex) return [{ type: 'text', content }];\n const out: HighlightedText[] = [];\n\n let i = 0;\n for (const match of content.matchAll(regex)) {\n if (i < match.index) {\n out.push({\n type: 'text',\n content: content.substring(i, match.index),\n });\n }\n\n out.push({\n type: 'text',\n content: match[0],\n styles: {\n highlight: true,\n },\n });\n\n i = match.index + match[0].length;\n }\n\n if (i < content.length) {\n out.push({\n type: 'text',\n content: content.substring(i),\n });\n }\n\n return out;\n },\n };\n}\n"],"names":["out: HighlightedText[]"],"mappings":";;;;;AAyBA,SAAS,aAAa,KAAA,EAAuB;IAC3C,OAAO,MAAM,OAAA,CAAQ,uBAAuB,OAAO;;AAGrD,SAAS,oBAAoB,CAAA,EAA0B;IACrD,MAAM,UAAU,EAAE,IAAA,EAAM;IACxB,IAAI,QAAQ,MAAA,KAAW,EAAG,CAAA,OAAO;IACjC,MAAM,QAAQ,MAAM,IAAA,CAClB,IAAI,IACF,QACG,KAAA,CAAM,MAAM,CACZ,GAAA,CAAA,CAAK,IAAM,EAAE,IAAA,EAAM,CAAC,CACpB,MAAA,CAAO,QAAQ,CACnB,CACF;IACD,IAAI,MAAM,MAAA,KAAW,EAAG,CAAA,OAAO;IAC/B,MAAM,UAAU,MAAM,GAAA,CAAI,aAAa,CAAC,IAAA,CAAK,IAAI;IACjD,OAAO,IAAI,OAAO,CAAA,CAAA,EAAI,QAAQ,CAAA,CAAA,EAAI,KAAK;;AAGzC,SAAgB,yBAAyB,KAAA,EAAwB;IAC/D,MAAM,QAAQ,OAAO,UAAU,WAAW,oBAAoB,MAAM,GAAG;IAEvE,OAAO;QACL,WAAU,OAAA,EAAoC;YAC5C,IAAI,CAAC,MAAO,CAAA,OAAO;gBAAC;oBAAE,MAAM;oBAAQ;iBAAS;aAAC;YAC9C,MAAMA,MAAyB,EAAE;YAEjC,IAAI,IAAI;YACR,KAAK,MAAM,SAAS,QAAQ,QAAA,CAAS,MAAM,CAAE;gBAC3C,IAAI,IAAI,MAAM,KAAA,CACZ,CAAA,IAAI,IAAA,CAAK;oBACP,MAAM;oBACN,SAAS,QAAQ,SAAA,CAAU,GAAG,MAAM,KAAA,CAAM;iBAC3C,CAAC;gBAGJ,IAAI,IAAA,CAAK;oBACP,MAAM;oBACN,SAAS,KAAA,CAAM,EAAA;oBACf,QAAQ;wBACN,WAAW;oBAAA,CACZ;iBACF,CAAC;gBAEF,IAAI,MAAM,KAAA,GAAQ,KAAA,CAAM,EAAA,CAAG,MAAA;;YAG7B,IAAI,IAAI,QAAQ,MAAA,CACd,CAAA,IAAI,IAAA,CAAK;gBACP,MAAM;gBACN,SAAS,QAAQ,SAAA,CAAU,EAAE;aAC9B,CAAC;YAGJ,OAAO;;KAEV"}}, - {"offset": {"line": 60, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/fumadocs-core/dist/algolia-Dbt0kj8j.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/fumadocs-core/src/search/client/algolia.ts"],"sourcesContent":["import type { BaseIndex } from '@/search/algolia';\nimport type { Hit, LiteClient, SearchResponse } from 'algoliasearch/lite';\nimport { createContentHighlighter, type SortedResult } from '@/search';\n\nexport interface AlgoliaOptions {\n indexName: string;\n client: LiteClient;\n\n /**\n * Filter results with specific tag.\n */\n tag?: string;\n\n locale?: string;\n\n onSearch?: (\n query: string,\n tag?: string,\n locale?: string,\n ) => Promise<{\n results: SearchResponse<BaseIndex>[];\n }>;\n}\n\nexport function groupResults(hits: Hit<BaseIndex>[]): SortedResult[] {\n const grouped: SortedResult[] = [];\n const scannedUrls = new Set<string>();\n\n for (const hit of hits) {\n if (!scannedUrls.has(hit.url)) {\n scannedUrls.add(hit.url);\n\n grouped.push({\n id: hit.url,\n type: 'page',\n breadcrumbs: hit.breadcrumbs,\n url: hit.url,\n content: hit.title,\n });\n }\n\n grouped.push({\n id: hit.objectID,\n type: hit.content === hit.section ? 'heading' : 'text',\n url: hit.section_id ? `${hit.url}#${hit.section_id}` : hit.url,\n content: hit.content,\n });\n }\n\n return grouped;\n}\n\nexport async function searchDocs(\n query: string,\n { indexName, onSearch, client, locale, tag }: AlgoliaOptions,\n): Promise<SortedResult[]> {\n if (query.trim().length === 0) return [];\n\n const result = onSearch\n ? await onSearch(query, tag, locale)\n : await client.searchForHits<BaseIndex>({\n requests: [\n {\n type: 'default',\n indexName,\n query,\n distinct: 5,\n hitsPerPage: 10,\n filters: tag ? `tag:${tag}` : undefined,\n },\n ],\n });\n\n const highlighter = createContentHighlighter(query);\n return groupResults(result.results[0].hits).flatMap((hit) => {\n if (hit.type === 'page') {\n return {\n ...hit,\n contentWithHighlights: hit.contentWithHighlights ?? highlighter.highlight(hit.content),\n };\n }\n\n return [];\n });\n}\n"],"names":["grouped: SortedResult[]"],"mappings":";;;;;;;AAwBA,SAAgB,aAAa,IAAA,EAAwC;IACnE,MAAMA,UAA0B,EAAE;IAClC,MAAM,cAAA,aAAA,GAAc,IAAI,KAAa;IAErC,KAAK,MAAM,OAAO,KAAM;QACtB,IAAI,CAAC,YAAY,GAAA,CAAI,IAAI,GAAA,CAAI,EAAE;YAC7B,YAAY,GAAA,CAAI,IAAI,GAAA,CAAI;YAExB,QAAQ,IAAA,CAAK;gBACX,IAAI,IAAI,GAAA;gBACR,MAAM;gBACN,aAAa,IAAI,WAAA;gBACjB,KAAK,IAAI,GAAA;gBACT,SAAS,IAAI,KAAA;aACd,CAAC;;QAGJ,QAAQ,IAAA,CAAK;YACX,IAAI,IAAI,QAAA;YACR,MAAM,IAAI,OAAA,KAAY,IAAI,OAAA,GAAU,YAAY;YAChD,KAAK,IAAI,UAAA,GAAa,GAAG,IAAI,GAAA,CAAI,CAAA,EAAG,IAAI,UAAA,EAAA,GAAe,IAAI,GAAA;YAC3D,SAAS,IAAI,OAAA;SACd,CAAC;;IAGJ,OAAO;;AAGT,eAAsB,WACpB,KAAA,EACA,EAAE,SAAA,EAAW,QAAA,EAAU,MAAA,EAAQ,MAAA,EAAQ,GAAA,EAAA,EACd;IACzB,IAAI,MAAM,IAAA,EAAM,CAAC,MAAA,KAAW,EAAG,CAAA,OAAO,EAAE;IAExC,MAAM,SAAS,WACX,MAAM,SAAS,OAAO,KAAK,OAAO,GAClC,MAAM,OAAO,aAAA,CAAyB;QACpC,UAAU;YACR;gBACE,MAAM;gBACN;gBACA;gBACA,UAAU;gBACV,aAAa;gBACb,SAAS,MAAM,CAAA,IAAA,EAAO,KAAA,GAAQ,KAAA;aAC/B;SACF;IAAA,CACF,CAAC;IAEN,MAAM,kBAAc,sKAAA,EAAyB,MAAM;IACnD,OAAO,aAAa,OAAO,OAAA,CAAQ,EAAA,CAAG,IAAA,CAAK,CAAC,OAAA,CAAA,CAAS,QAAQ;QAC3D,IAAI,IAAI,IAAA,KAAS,OACf,CAAA,OAAO;YACL,GAAG,GAAA;YACH,uBAAuB,IAAI,qBAAA,IAAyB,YAAY,SAAA,CAAU,IAAI,OAAA,CAAQ;SACvF;QAGH,OAAO,EAAE;MACT"}}] -} \ No newline at end of file diff --git a/.next/dev/static/chunks/node_modules_fumadocs-core_dist_algolia-Dbt0kj8j_c8a3a85e.js b/.next/dev/static/chunks/node_modules_fumadocs-core_dist_algolia-Dbt0kj8j_c8a3a85e.js deleted file mode 100644 index 3967094..0000000 --- a/.next/dev/static/chunks/node_modules_fumadocs-core_dist_algolia-Dbt0kj8j_c8a3a85e.js +++ /dev/null @@ -1,7 +0,0 @@ -(globalThis.TURBOPACK_CHUNK_LISTS || (globalThis.TURBOPACK_CHUNK_LISTS = [])).push({ - script: typeof document === "object" ? document.currentScript : undefined, - chunks: [ - "static/chunks/node_modules_fumadocs-core_dist_a6031d52._.js" -], - source: "dynamic" -}); diff --git a/.next/dev/static/chunks/node_modules_fumadocs-core_dist_fetch-CiphcAUR_641d9297.js b/.next/dev/static/chunks/node_modules_fumadocs-core_dist_fetch-CiphcAUR_641d9297.js deleted file mode 100644 index c46b39b..0000000 --- a/.next/dev/static/chunks/node_modules_fumadocs-core_dist_fetch-CiphcAUR_641d9297.js +++ /dev/null @@ -1,30 +0,0 @@ -(globalThis.TURBOPACK || (globalThis.TURBOPACK = [])).push([typeof document === "object" ? document.currentScript : undefined, -"[project]/node_modules/fumadocs-core/dist/fetch-CiphcAUR.js [app-client] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "fetchDocs", - ()=>fetchDocs -]); -//#region src/search/client/fetch.ts -const cache = /* @__PURE__ */ new Map(); -async function fetchDocs(query, { api = "/api/search", locale, tag }) { - const url = new URL(api, window.location.origin); - url.searchParams.set("query", query); - if (locale) url.searchParams.set("locale", locale); - if (tag) url.searchParams.set("tag", Array.isArray(tag) ? tag.join(",") : tag); - const key = url.toString(); - const cached = cache.get(key); - if (cached) return cached; - const res = await fetch(url); - if (!res.ok) throw new Error(await res.text()); - const result = await res.json(); - cache.set(key, result); - return result; -} -; - //# sourceMappingURL=fetch-CiphcAUR.js.map -}), -]); - -//# sourceMappingURL=node_modules_fumadocs-core_dist_fetch-CiphcAUR_641d9297.js.map \ No newline at end of file diff --git a/.next/dev/static/chunks/node_modules_fumadocs-core_dist_fetch-CiphcAUR_641d9297.js.map b/.next/dev/static/chunks/node_modules_fumadocs-core_dist_fetch-CiphcAUR_641d9297.js.map deleted file mode 100644 index bafa952..0000000 --- a/.next/dev/static/chunks/node_modules_fumadocs-core_dist_fetch-CiphcAUR_641d9297.js.map +++ /dev/null @@ -1,6 +0,0 @@ -{ - "version": 3, - "sources": [], - "sections": [ - {"offset": {"line": 4, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/fumadocs-core/dist/fetch-CiphcAUR.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/fumadocs-core/src/search/client/fetch.ts"],"sourcesContent":["import type { SortedResult } from '@/search';\n\nexport interface FetchOptions {\n /**\n * API route for search endpoint, support absolute URLs.\n *\n * @defaultValue '/api/search'\n */\n api?: string;\n\n /**\n * Filter results with specific tag(s).\n */\n tag?: string | string[];\n\n /**\n * Filter by locale\n */\n locale?: string;\n}\n\nconst cache = new Map<string, SortedResult[]>();\n\nexport async function fetchDocs(\n query: string,\n { api = '/api/search', locale, tag }: FetchOptions,\n): Promise<SortedResult[]> {\n const url = new URL(api, window.location.origin);\n url.searchParams.set('query', query);\n if (locale) url.searchParams.set('locale', locale);\n if (tag) url.searchParams.set('tag', Array.isArray(tag) ? tag.join(',') : tag);\n\n const key = url.toString();\n const cached = cache.get(key);\n if (cached) return cached;\n\n const res = await fetch(url);\n if (!res.ok) throw new Error(await res.text());\n const result = (await res.json()) as SortedResult[];\n cache.set(key, result);\n return result;\n}\n"],"names":[],"mappings":";;;;;AAqBA,MAAM,QAAA,aAAA,GAAQ,IAAI,KAA6B;AAE/C,eAAsB,UACpB,KAAA,EACA,EAAE,MAAM,aAAA,EAAe,MAAA,EAAQ,GAAA,EAAA,EACN;IACzB,MAAM,MAAM,IAAI,IAAI,KAAK,OAAO,QAAA,CAAS,MAAA,CAAO;IAChD,IAAI,YAAA,CAAa,GAAA,CAAI,SAAS,MAAM;IACpC,IAAI,OAAQ,CAAA,IAAI,YAAA,CAAa,GAAA,CAAI,UAAU,OAAO;IAClD,IAAI,IAAK,CAAA,IAAI,YAAA,CAAa,GAAA,CAAI,OAAO,MAAM,OAAA,CAAQ,IAAI,GAAG,IAAI,IAAA,CAAK,IAAI,GAAG,IAAI;IAE9E,MAAM,MAAM,IAAI,QAAA,EAAU;IAC1B,MAAM,SAAS,MAAM,GAAA,CAAI,IAAI;IAC7B,IAAI,OAAQ,CAAA,OAAO;IAEnB,MAAM,MAAM,MAAM,MAAM,IAAI;IAC5B,IAAI,CAAC,IAAI,EAAA,CAAI,CAAA,MAAM,IAAI,MAAM,MAAM,IAAI,IAAA,EAAM,CAAC;IAC9C,MAAM,SAAU,MAAM,IAAI,IAAA,EAAM;IAChC,MAAM,GAAA,CAAI,KAAK,OAAO;IACtB,OAAO"}}] -} \ No newline at end of file diff --git a/.next/dev/static/chunks/node_modules_fumadocs-core_dist_fetch-CiphcAUR_c8a3a85e.js b/.next/dev/static/chunks/node_modules_fumadocs-core_dist_fetch-CiphcAUR_c8a3a85e.js deleted file mode 100644 index d604eb9..0000000 --- a/.next/dev/static/chunks/node_modules_fumadocs-core_dist_fetch-CiphcAUR_c8a3a85e.js +++ /dev/null @@ -1,7 +0,0 @@ -(globalThis.TURBOPACK_CHUNK_LISTS || (globalThis.TURBOPACK_CHUNK_LISTS = [])).push({ - script: typeof document === "object" ? document.currentScript : undefined, - chunks: [ - "static/chunks/node_modules_fumadocs-core_dist_fetch-CiphcAUR_641d9297.js" -], - source: "dynamic" -}); diff --git a/.next/dev/static/chunks/node_modules_fumadocs-core_dist_mixedbread-B0TvOHtt_c8a3a85e.js b/.next/dev/static/chunks/node_modules_fumadocs-core_dist_mixedbread-B0TvOHtt_c8a3a85e.js deleted file mode 100644 index e28c353..0000000 --- a/.next/dev/static/chunks/node_modules_fumadocs-core_dist_mixedbread-B0TvOHtt_c8a3a85e.js +++ /dev/null @@ -1,7 +0,0 @@ -(globalThis.TURBOPACK_CHUNK_LISTS || (globalThis.TURBOPACK_CHUNK_LISTS = [])).push({ - script: typeof document === "object" ? document.currentScript : undefined, - chunks: [ - "static/chunks/node_modules_b865d400._.js" -], - source: "dynamic" -}); diff --git a/.next/dev/static/chunks/node_modules_fumadocs-core_dist_orama-cloud-legacy-NJTbB19B_c8a3a85e.js b/.next/dev/static/chunks/node_modules_fumadocs-core_dist_orama-cloud-legacy-NJTbB19B_c8a3a85e.js deleted file mode 100644 index 31bdcac..0000000 --- a/.next/dev/static/chunks/node_modules_fumadocs-core_dist_orama-cloud-legacy-NJTbB19B_c8a3a85e.js +++ /dev/null @@ -1,7 +0,0 @@ -(globalThis.TURBOPACK_CHUNK_LISTS || (globalThis.TURBOPACK_CHUNK_LISTS = [])).push({ - script: typeof document === "object" ? document.currentScript : undefined, - chunks: [ - "static/chunks/node_modules_fumadocs-core_dist_a070a883._.js" -], - source: "dynamic" -}); diff --git a/.next/dev/static/chunks/node_modules_fumadocs-core_dist_orama-cloud-yicpgD0c_c8a3a85e.js b/.next/dev/static/chunks/node_modules_fumadocs-core_dist_orama-cloud-yicpgD0c_c8a3a85e.js deleted file mode 100644 index 5a1067f..0000000 --- a/.next/dev/static/chunks/node_modules_fumadocs-core_dist_orama-cloud-yicpgD0c_c8a3a85e.js +++ /dev/null @@ -1,7 +0,0 @@ -(globalThis.TURBOPACK_CHUNK_LISTS || (globalThis.TURBOPACK_CHUNK_LISTS = [])).push({ - script: typeof document === "object" ? document.currentScript : undefined, - chunks: [ - "static/chunks/node_modules_fumadocs-core_dist_86c5d4fc._.js" -], - source: "dynamic" -}); diff --git a/.next/dev/static/chunks/node_modules_fumadocs-core_dist_static-C_WBOzek_c8a3a85e.js b/.next/dev/static/chunks/node_modules_fumadocs-core_dist_static-C_WBOzek_c8a3a85e.js deleted file mode 100644 index 4a27149..0000000 --- a/.next/dev/static/chunks/node_modules_fumadocs-core_dist_static-C_WBOzek_c8a3a85e.js +++ /dev/null @@ -1,7 +0,0 @@ -(globalThis.TURBOPACK_CHUNK_LISTS || (globalThis.TURBOPACK_CHUNK_LISTS = [])).push({ - script: typeof document === "object" ? document.currentScript : undefined, - chunks: [ - "static/chunks/node_modules_57225b64._.js" -], - source: "dynamic" -}); diff --git a/.next/dev/static/chunks/node_modules_fumadocs-ui_dist_components_dialog_search-default_b894e661.js b/.next/dev/static/chunks/node_modules_fumadocs-ui_dist_components_dialog_search-default_b894e661.js deleted file mode 100644 index 8303d9e..0000000 --- a/.next/dev/static/chunks/node_modules_fumadocs-ui_dist_components_dialog_search-default_b894e661.js +++ /dev/null @@ -1,14 +0,0 @@ -(globalThis.TURBOPACK || (globalThis.TURBOPACK = [])).push([typeof document === "object" ? document.currentScript : undefined, -"[project]/node_modules/fumadocs-ui/dist/components/dialog/search-default.js [app-client] (ecmascript, async loader)", ((__turbopack_context__) => { - -__turbopack_context__.v((parentImport) => { - return Promise.all([ - "static/chunks/node_modules_fumadocs-core_dist_77c2f209._.js", - "static/chunks/node_modules_aa411e4f._.js", - "static/chunks/node_modules_fumadocs-ui_dist_components_dialog_search-default_c8a3a85e.js" -].map((chunk) => __turbopack_context__.l(chunk))).then(() => { - return parentImport("[project]/node_modules/fumadocs-ui/dist/components/dialog/search-default.js [app-client] (ecmascript)"); - }); -}); -}), -]); \ No newline at end of file diff --git a/.next/dev/static/chunks/node_modules_fumadocs-ui_dist_components_dialog_search-default_b894e661.js.map b/.next/dev/static/chunks/node_modules_fumadocs-ui_dist_components_dialog_search-default_b894e661.js.map deleted file mode 100644 index c15d7ec..0000000 --- a/.next/dev/static/chunks/node_modules_fumadocs-ui_dist_components_dialog_search-default_b894e661.js.map +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": 3, - "sources": [], - "sections": [] -} \ No newline at end of file diff --git a/.next/dev/static/chunks/node_modules_fumadocs-ui_dist_components_dialog_search-default_c8a3a85e.js b/.next/dev/static/chunks/node_modules_fumadocs-ui_dist_components_dialog_search-default_c8a3a85e.js deleted file mode 100644 index 28ed8b9..0000000 --- a/.next/dev/static/chunks/node_modules_fumadocs-ui_dist_components_dialog_search-default_c8a3a85e.js +++ /dev/null @@ -1,8 +0,0 @@ -(globalThis.TURBOPACK_CHUNK_LISTS || (globalThis.TURBOPACK_CHUNK_LISTS = [])).push({ - script: typeof document === "object" ? document.currentScript : undefined, - chunks: [ - "static/chunks/node_modules_fumadocs-core_dist_77c2f209._.js", - "static/chunks/node_modules_aa411e4f._.js" -], - source: "dynamic" -}); diff --git a/.next/dev/static/chunks/node_modules_next_dist_be32b49c._.js b/.next/dev/static/chunks/node_modules_next_dist_be32b49c._.js deleted file mode 100644 index 62f87ff..0000000 --- a/.next/dev/static/chunks/node_modules_next_dist_be32b49c._.js +++ /dev/null @@ -1,2503 +0,0 @@ -(globalThis.TURBOPACK || (globalThis.TURBOPACK = [])).push([typeof document === "object" ? document.currentScript : undefined, -"[project]/node_modules/next/dist/shared/lib/router/utils/disable-smooth-scroll.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "disableSmoothScrollDuringRouteTransition", { - enumerable: true, - get: function() { - return disableSmoothScrollDuringRouteTransition; - } -}); -const _warnonce = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/utils/warn-once.js [app-client] (ecmascript)"); -function disableSmoothScrollDuringRouteTransition(fn, options = {}) { - // if only the hash is changed, we don't need to disable smooth scrolling - // we only care to prevent smooth scrolling when navigating to a new page to avoid jarring UX - if (options.onlyHashChange) { - fn(); - return; - } - const htmlElement = document.documentElement; - const hasDataAttribute = htmlElement.dataset.scrollBehavior === 'smooth'; - if (!hasDataAttribute) { - // Warn if smooth scrolling is detected but no data attribute is present - if (("TURBOPACK compile-time value", "development") === 'development' && getComputedStyle(htmlElement).scrollBehavior === 'smooth') { - (0, _warnonce.warnOnce)('Detected `scroll-behavior: smooth` on the `<html>` element. To disable smooth scrolling during route transitions, ' + 'add `data-scroll-behavior="smooth"` to your <html> element. ' + 'Learn more: https://nextjs.org/docs/messages/missing-data-scroll-behavior'); - } - // No smooth scrolling configured, run directly without style manipulation - fn(); - return; - } - // Proceed with temporarily disabling smooth scrolling - const existing = htmlElement.style.scrollBehavior; - htmlElement.style.scrollBehavior = 'auto'; - if (!options.dontForceLayout) { - // In Chrome-based browsers we need to force reflow before calling `scrollTo`. - // Otherwise it will not pickup the change in scrollBehavior - // More info here: https://github.com/vercel/next.js/issues/40719#issuecomment-1336248042 - htmlElement.getClientRects(); - } - fn(); - htmlElement.style.scrollBehavior = existing; -} //# sourceMappingURL=disable-smooth-scroll.js.map -}), -"[project]/node_modules/next/dist/client/components/bfcache.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "useRouterBFCache", { - enumerable: true, - get: function() { - return useRouterBFCache; - } -}); -const _react = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -// When the flag is disabled, only track the currently active tree -const MAX_BF_CACHE_ENTRIES = ("TURBOPACK compile-time falsy", 0) ? "TURBOPACK unreachable" : 1; -function useRouterBFCache(activeTree, activeStateKey) { - // The currently active entry. The entries form a linked list, sorted in - // order of most recently active. This allows us to reuse parts of the list - // without cloning, unless there's a reordering or removal. - // TODO: Once we start tracking back/forward history at each route level, - // we should use the history order instead. In other words, when traversing - // to an existing entry as a result of a popstate event, we should maintain - // the existing order instead of moving it to the front of the list. I think - // an initial implementation of this could be to pass an incrementing id - // to history.pushState/replaceState, then use that here for ordering. - const [prevActiveEntry, setPrevActiveEntry] = (0, _react.useState)(()=>{ - const initialEntry = { - tree: activeTree, - stateKey: activeStateKey, - next: null - }; - return initialEntry; - }); - if (prevActiveEntry.tree === activeTree) { - // Fast path. The active tree hasn't changed, so we can reuse the - // existing state. - return prevActiveEntry; - } - // The route tree changed. Note that this doesn't mean that the tree changed - // *at this level* — the change may be due to a child route. Either way, we - // need to either add or update the router tree in the bfcache. - // - // The rest of the code looks more complicated than it actually is because we - // can't mutate the state in place; we have to copy-on-write. - // Create a new entry for the active cache key. This is the head of the new - // linked list. - const newActiveEntry = { - tree: activeTree, - stateKey: activeStateKey, - next: null - }; - // We need to append the old list onto the new list. If the head of the new - // list was already present in the cache, then we'll need to clone everything - // that came before it. Then we can reuse the rest. - let n = 1; - let oldEntry = prevActiveEntry; - let clonedEntry = newActiveEntry; - while(oldEntry !== null && n < MAX_BF_CACHE_ENTRIES){ - if (oldEntry.stateKey === activeStateKey) { - // Fast path. This entry in the old list that corresponds to the key that - // is now active. We've already placed a clone of this entry at the front - // of the new list. We can reuse the rest of the old list without cloning. - // NOTE: We don't need to worry about eviction in this case because we - // haven't increased the size of the cache, and we assume the max size - // is constant across renders. If we were to change it to a dynamic limit, - // then the implementation would need to account for that. - clonedEntry.next = oldEntry.next; - break; - } else { - // Clone the entry and append it to the list. - n++; - const entry = { - tree: oldEntry.tree, - stateKey: oldEntry.stateKey, - next: null - }; - clonedEntry.next = entry; - clonedEntry = entry; - } - oldEntry = oldEntry.next; - } - setPrevActiveEntry(newActiveEntry); - return newActiveEntry; -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=bfcache.js.map -}), -"[project]/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -'use client'; -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, /** - * OuterLayoutRouter handles the current segment as well as <Offscreen> rendering of other segments. - * It can be rendered next to each other with a different `parallelRouterKey`, allowing for Parallel routes. - */ "default", { - enumerable: true, - get: function() { - return OuterLayoutRouter; - } -}); -const _interop_require_default = __turbopack_context__.r("[project]/node_modules/@swc/helpers/cjs/_interop_require_default.cjs [app-client] (ecmascript)"); -const _interop_require_wildcard = __turbopack_context__.r("[project]/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs [app-client] (ecmascript)"); -const _jsxruntime = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/jsx-runtime.js [app-client] (ecmascript)"); -const _react = /*#__PURE__*/ _interop_require_wildcard._(__turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)")); -const _reactdom = /*#__PURE__*/ _interop_require_default._(__turbopack_context__.r("[project]/node_modules/next/dist/compiled/react-dom/index.js [app-client] (ecmascript)")); -const _approutercontextsharedruntime = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js [app-client] (ecmascript)"); -const _unresolvedthenable = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/unresolved-thenable.js [app-client] (ecmascript)"); -const _errorboundary = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/error-boundary.js [app-client] (ecmascript)"); -const _matchsegments = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/match-segments.js [app-client] (ecmascript)"); -const _disablesmoothscroll = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/router/utils/disable-smooth-scroll.js [app-client] (ecmascript)"); -const _redirectboundary = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/redirect-boundary.js [app-client] (ecmascript)"); -const _errorboundary1 = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)"); -const _createroutercachekey = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/create-router-cache-key.js [app-client] (ecmascript)"); -const _bfcache = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/bfcache.js [app-client] (ecmascript)"); -const _apppaths = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/router/utils/app-paths.js [app-client] (ecmascript)"); -const _hooksclientcontextsharedruntime = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js [app-client] (ecmascript)"); -const _routeparams = __turbopack_context__.r("[project]/node_modules/next/dist/client/route-params.js [app-client] (ecmascript)"); -const _pprnavigations = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/ppr-navigations.js [app-client] (ecmascript)"); -const __DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = _reactdom.default.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE; -// TODO-APP: Replace with new React API for finding dom nodes without a `ref` when available -/** - * Wraps ReactDOM.findDOMNode with additional logic to hide React Strict Mode warning - */ function findDOMNode(instance) { - // Tree-shake for server bundle - if (typeof window === 'undefined') return null; - // __DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE.findDOMNode is null during module init. - // We need to lazily reference it. - const internal_reactDOMfindDOMNode = __DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE.findDOMNode; - return internal_reactDOMfindDOMNode(instance); -} -const rectProperties = [ - 'bottom', - 'height', - 'left', - 'right', - 'top', - 'width', - 'x', - 'y' -]; -/** - * Check if a HTMLElement is hidden or fixed/sticky position - */ function shouldSkipElement(element) { - // we ignore fixed or sticky positioned elements since they'll likely pass the "in-viewport" check - // and will result in a situation we bail on scroll because of something like a fixed nav, - // even though the actual page content is offscreen - if ([ - 'sticky', - 'fixed' - ].includes(getComputedStyle(element).position)) { - return true; - } - // Uses `getBoundingClientRect` to check if the element is hidden instead of `offsetParent` - // because `offsetParent` doesn't consider document/body - const rect = element.getBoundingClientRect(); - return rectProperties.every((item)=>rect[item] === 0); -} -/** - * Check if the top corner of the HTMLElement is in the viewport. - */ function topOfElementInViewport(element, viewportHeight) { - const rect = element.getBoundingClientRect(); - return rect.top >= 0 && rect.top <= viewportHeight; -} -/** - * Find the DOM node for a hash fragment. - * If `top` the page has to scroll to the top of the page. This mirrors the browser's behavior. - * If the hash fragment is an id, the page has to scroll to the element with that id. - * If the hash fragment is a name, the page has to scroll to the first element with that name. - */ function getHashFragmentDomNode(hashFragment) { - // If the hash fragment is `top` the page has to scroll to the top of the page. - if (hashFragment === 'top') { - return document.body; - } - // If the hash fragment is an id, the page has to scroll to the element with that id. - return document.getElementById(hashFragment) ?? // If the hash fragment is a name, the page has to scroll to the first element with that name. - document.getElementsByName(hashFragment)[0]; -} -class InnerScrollAndFocusHandler extends _react.default.Component { - componentDidMount() { - this.handlePotentialScroll(); - } - componentDidUpdate() { - // Because this property is overwritten in handlePotentialScroll it's fine to always run it when true as it'll be set to false for subsequent renders. - if (this.props.focusAndScrollRef.apply) { - this.handlePotentialScroll(); - } - } - render() { - return this.props.children; - } - constructor(...args){ - super(...args), this.handlePotentialScroll = ()=>{ - // Handle scroll and focus, it's only applied once in the first useEffect that triggers that changed. - const { focusAndScrollRef, segmentPath } = this.props; - if (focusAndScrollRef.apply) { - // segmentPaths is an array of segment paths that should be scrolled to - // if the current segment path is not in the array, the scroll is not applied - // unless the array is empty, in which case the scroll is always applied - if (focusAndScrollRef.segmentPaths.length !== 0 && !focusAndScrollRef.segmentPaths.some((scrollRefSegmentPath)=>segmentPath.every((segment, index)=>(0, _matchsegments.matchSegment)(segment, scrollRefSegmentPath[index])))) { - return; - } - let domNode = null; - const hashFragment = focusAndScrollRef.hashFragment; - if (hashFragment) { - domNode = getHashFragmentDomNode(hashFragment); - } - // `findDOMNode` is tricky because it returns just the first child if the component is a fragment. - // This already caused a bug where the first child was a <link/> in head. - if (!domNode) { - domNode = findDOMNode(this); - } - // If there is no DOM node this layout-router level is skipped. It'll be handled higher-up in the tree. - if (!(domNode instanceof Element)) { - return; - } - // Verify if the element is a HTMLElement and if we want to consider it for scroll behavior. - // If the element is skipped, try to select the next sibling and try again. - while(!(domNode instanceof HTMLElement) || shouldSkipElement(domNode)){ - if ("TURBOPACK compile-time truthy", 1) { - if (domNode.parentElement?.localName === 'head') { - // TODO: We enter this state when metadata was rendered as part of the page or via Next.js. - // This is always a bug in Next.js and caused by React hoisting metadata. - // We need to replace `findDOMNode` in favor of Fragment Refs (when available) so that we can skip over metadata. - } - } - // No siblings found that match the criteria are found, so handle scroll higher up in the tree instead. - if (domNode.nextElementSibling === null) { - return; - } - domNode = domNode.nextElementSibling; - } - // State is mutated to ensure that the focus and scroll is applied only once. - focusAndScrollRef.apply = false; - focusAndScrollRef.hashFragment = null; - focusAndScrollRef.segmentPaths = []; - (0, _disablesmoothscroll.disableSmoothScrollDuringRouteTransition)(()=>{ - // In case of hash scroll, we only need to scroll the element into view - if (hashFragment) { - ; - domNode.scrollIntoView(); - return; - } - // Store the current viewport height because reading `clientHeight` causes a reflow, - // and it won't change during this function. - const htmlElement = document.documentElement; - const viewportHeight = htmlElement.clientHeight; - // If the element's top edge is already in the viewport, exit early. - if (topOfElementInViewport(domNode, viewportHeight)) { - return; - } - // Otherwise, try scrolling go the top of the document to be backward compatible with pages - // scrollIntoView() called on `<html/>` element scrolls horizontally on chrome and firefox (that shouldn't happen) - // We could use it to scroll horizontally following RTL but that also seems to be broken - it will always scroll left - // scrollLeft = 0 also seems to ignore RTL and manually checking for RTL is too much hassle so we will scroll just vertically - htmlElement.scrollTop = 0; - // Scroll to domNode if domNode is not in viewport when scrolled to top of document - if (!topOfElementInViewport(domNode, viewportHeight)) { - // Scroll into view doesn't scroll horizontally by default when not needed - ; - domNode.scrollIntoView(); - } - }, { - // We will force layout by querying domNode position - dontForceLayout: true, - onlyHashChange: focusAndScrollRef.onlyHashChange - }); - // Mutate after scrolling so that it can be read by `disableSmoothScrollDuringRouteTransition` - focusAndScrollRef.onlyHashChange = false; - // Set focus on the element - domNode.focus(); - } - }; - } -} -function ScrollAndFocusHandler({ segmentPath, children }) { - const context = (0, _react.useContext)(_approutercontextsharedruntime.GlobalLayoutRouterContext); - if (!context) { - throw Object.defineProperty(new Error('invariant global layout router not mounted'), "__NEXT_ERROR_CODE", { - value: "E473", - enumerable: false, - configurable: true - }); - } - return /*#__PURE__*/ (0, _jsxruntime.jsx)(InnerScrollAndFocusHandler, { - segmentPath: segmentPath, - focusAndScrollRef: context.focusAndScrollRef, - children: children - }); -} -/** - * InnerLayoutRouter handles rendering the provided segment based on the cache. - */ function InnerLayoutRouter({ tree, segmentPath, debugNameContext, cacheNode: maybeCacheNode, params, url, isActive }) { - const context = (0, _react.useContext)(_approutercontextsharedruntime.GlobalLayoutRouterContext); - const parentNavPromises = (0, _react.useContext)(_hooksclientcontextsharedruntime.NavigationPromisesContext); - if (!context) { - throw Object.defineProperty(new Error('invariant global layout router not mounted'), "__NEXT_ERROR_CODE", { - value: "E473", - enumerable: false, - configurable: true - }); - } - const cacheNode = maybeCacheNode !== null ? maybeCacheNode : // This should only be reachable for inactive/hidden segments, during - // prerendering The active segment should always be consistent with the - // CacheNode tree. Regardless, if we don't have a matching CacheNode, we - // must suspend rather than render nothing, to prevent showing an - // inconsistent route. - (0, _react.use)(_unresolvedthenable.unresolvedThenable); - // `rsc` represents the renderable node for this segment. - // If this segment has a `prefetchRsc`, it's the statically prefetched data. - // We should use that on initial render instead of `rsc`. Then we'll switch - // to `rsc` when the dynamic response streams in. - // - // If no prefetch data is available, then we go straight to rendering `rsc`. - const resolvedPrefetchRsc = cacheNode.prefetchRsc !== null ? cacheNode.prefetchRsc : cacheNode.rsc; - // We use `useDeferredValue` to handle switching between the prefetched and - // final values. The second argument is returned on initial render, then it - // re-renders with the first argument. - const rsc = (0, _react.useDeferredValue)(cacheNode.rsc, resolvedPrefetchRsc); - // `rsc` is either a React node or a promise for a React node, except we - // special case `null` to represent that this segment's data is missing. If - // it's a promise, we need to unwrap it so we can determine whether or not the - // data is missing. - let resolvedRsc; - if ((0, _pprnavigations.isDeferredRsc)(rsc)) { - const unwrappedRsc = (0, _react.use)(rsc); - if (unwrappedRsc === null) { - // If the promise was resolved to `null`, it means the data for this - // segment was not returned by the server. Suspend indefinitely. When this - // happens, the router is responsible for triggering a new state update to - // un-suspend this segment. - (0, _react.use)(_unresolvedthenable.unresolvedThenable); - } - resolvedRsc = unwrappedRsc; - } else { - // This is not a deferred RSC promise. Don't need to unwrap it. - if (rsc === null) { - (0, _react.use)(_unresolvedthenable.unresolvedThenable); - } - resolvedRsc = rsc; - } - // In dev, we create a NavigationPromisesContext containing the instrumented promises that provide - // `useSelectedLayoutSegment` and `useSelectedLayoutSegments`. - // Promises are cached outside of render to survive suspense retries. - let navigationPromises = null; - if ("TURBOPACK compile-time truthy", 1) { - const { createNestedLayoutNavigationPromises } = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/navigation-devtools.js [app-client] (ecmascript)"); - navigationPromises = createNestedLayoutNavigationPromises(tree, parentNavPromises); - } - let children = resolvedRsc; - if (navigationPromises) { - children = /*#__PURE__*/ (0, _jsxruntime.jsx)(_hooksclientcontextsharedruntime.NavigationPromisesContext.Provider, { - value: navigationPromises, - children: resolvedRsc - }); - } - children = /*#__PURE__*/ (0, _jsxruntime.jsx)(_approutercontextsharedruntime.LayoutRouterContext.Provider, { - value: { - parentTree: tree, - parentCacheNode: cacheNode, - parentSegmentPath: segmentPath, - parentParams: params, - debugNameContext: debugNameContext, - // TODO-APP: overriding of url for parallel routes - url: url, - isActive: isActive - }, - children: children - }); - return children; -} -/** - * Renders suspense boundary with the provided "loading" property as the fallback. - * If no loading property is provided it renders the children without a suspense boundary. - */ function LoadingBoundary({ name, loading, children }) { - // If loading is a promise, unwrap it. This happens in cases where we haven't - // yet received the loading data from the server — which includes whether or - // not this layout has a loading component at all. - // - // It's OK to suspend here instead of inside the fallback because this - // promise will resolve simultaneously with the data for the segment itself. - // So it will never suspend for longer than it would have if we didn't use - // a Suspense fallback at all. - let loadingModuleData; - if (typeof loading === 'object' && loading !== null && typeof loading.then === 'function') { - const promiseForLoading = loading; - loadingModuleData = (0, _react.use)(promiseForLoading); - } else { - loadingModuleData = loading; - } - if (loadingModuleData) { - const loadingRsc = loadingModuleData[0]; - const loadingStyles = loadingModuleData[1]; - const loadingScripts = loadingModuleData[2]; - return /*#__PURE__*/ (0, _jsxruntime.jsx)(_react.Suspense, { - name: name, - fallback: /*#__PURE__*/ (0, _jsxruntime.jsxs)(_jsxruntime.Fragment, { - children: [ - loadingStyles, - loadingScripts, - loadingRsc - ] - }), - children: children - }); - } - return /*#__PURE__*/ (0, _jsxruntime.jsx)(_jsxruntime.Fragment, { - children: children - }); -} -function OuterLayoutRouter({ parallelRouterKey, error, errorStyles, errorScripts, templateStyles, templateScripts, template, notFound, forbidden, unauthorized, segmentViewBoundaries }) { - const context = (0, _react.useContext)(_approutercontextsharedruntime.LayoutRouterContext); - if (!context) { - throw Object.defineProperty(new Error('invariant expected layout router to be mounted'), "__NEXT_ERROR_CODE", { - value: "E56", - enumerable: false, - configurable: true - }); - } - const { parentTree, parentCacheNode, parentSegmentPath, parentParams, url, isActive, debugNameContext } = context; - // Get the CacheNode for this segment by reading it from the parent segment's - // child map. - const parentParallelRoutes = parentCacheNode.parallelRoutes; - let segmentMap = parentParallelRoutes.get(parallelRouterKey); - // If the parallel router cache node does not exist yet, create it. - // This writes to the cache when there is no item in the cache yet. It never *overwrites* existing cache items which is why it's safe in concurrent mode. - if (!segmentMap) { - segmentMap = new Map(); - parentParallelRoutes.set(parallelRouterKey, segmentMap); - } - const parentTreeSegment = parentTree[0]; - const segmentPath = parentSegmentPath === null ? // the code. We should clean this up. - [ - parallelRouterKey - ] : parentSegmentPath.concat([ - parentTreeSegment, - parallelRouterKey - ]); - // The "state" key of a segment is the one passed to React — it represents the - // identity of the UI tree. Whenever the state key changes, the tree is - // recreated and the state is reset. In the App Router model, search params do - // not cause state to be lost, so two segments with the same segment path but - // different search params should have the same state key. - // - // The "cache" key of a segment, however, *does* include the search params, if - // it's possible that the segment accessed the search params on the server. - // (This only applies to page segments; layout segments cannot access search - // params on the server.) - const activeTree = parentTree[1][parallelRouterKey]; - if (activeTree === undefined) { - // Could not find a matching segment. The client tree is inconsistent with - // the server tree. Suspend indefinitely; the router will have already - // detected the inconsistency when handling the server response, and - // triggered a refresh of the page to recover. - (0, _react.use)(_unresolvedthenable.unresolvedThenable); - } - const activeSegment = activeTree[0]; - const activeStateKey = (0, _createroutercachekey.createRouterCacheKey)(activeSegment, true) // no search params - ; - // At each level of the route tree, not only do we render the currently - // active segment — we also render the last N segments that were active at - // this level inside a hidden <Activity> boundary, to preserve their state - // if or when the user navigates to them again. - // - // bfcacheEntry is a linked list of FlightRouterStates. - let bfcacheEntry = (0, _bfcache.useRouterBFCache)(activeTree, activeStateKey); - let children = []; - do { - const tree = bfcacheEntry.tree; - const stateKey = bfcacheEntry.stateKey; - const segment = tree[0]; - const cacheKey = (0, _createroutercachekey.createRouterCacheKey)(segment); - // Read segment path from the parallel router cache node. - const cacheNode = segmentMap.get(cacheKey) ?? null; - /* - - Error boundary - - Only renders error boundary if error component is provided. - - Rendered for each segment to ensure they have their own error state. - - When gracefully degrade for bots, skip rendering error boundary. - - Loading boundary - - Only renders suspense boundary if loading components is provided. - - Rendered for each segment to ensure they have their own loading state. - - Passed to the router during rendering to ensure it can be immediately rendered when suspending on a Flight fetch. - */ let segmentBoundaryTriggerNode = null; - let segmentViewStateNode = null; - if ("TURBOPACK compile-time truthy", 1) { - const { SegmentBoundaryTriggerNode, SegmentViewStateNode } = __turbopack_context__.r("[project]/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)"); - const pagePrefix = (0, _apppaths.normalizeAppPath)(url); - segmentViewStateNode = /*#__PURE__*/ (0, _jsxruntime.jsx)(SegmentViewStateNode, { - page: pagePrefix - }, pagePrefix); - segmentBoundaryTriggerNode = /*#__PURE__*/ (0, _jsxruntime.jsx)(_jsxruntime.Fragment, { - children: /*#__PURE__*/ (0, _jsxruntime.jsx)(SegmentBoundaryTriggerNode, {}) - }); - } - let params = parentParams; - if (Array.isArray(segment)) { - // This segment contains a route param. Accumulate these as we traverse - // down the router tree. The result represents the set of params that - // the layout/page components are permitted to access below this point. - const paramName = segment[0]; - const paramCacheKey = segment[1]; - const paramType = segment[2]; - const paramValue = (0, _routeparams.getParamValueFromCacheKey)(paramCacheKey, paramType); - if (paramValue !== null) { - params = { - ...parentParams, - [paramName]: paramValue - }; - } - } - const debugName = getBoundaryDebugNameFromSegment(segment); - // `debugNameContext` represents the nearest non-"virtual" parent segment. - // `getBoundaryDebugNameFromSegment` returns undefined for virtual segments. - // So if `debugName` is undefined, the context is passed through unchanged. - const childDebugNameContext = debugName ?? debugNameContext; - // In practical terms, clicking this name in the Suspense DevTools - // should select the child slots of that layout. - // - // So the name we apply to the Activity boundary is actually based on - // the nearest parent segments. - // - // We skip over "virtual" parents, i.e. ones inserted by Next.js that - // don't correspond to application-defined code. - const isVirtual = debugName === undefined; - const debugNameToDisplay = isVirtual ? undefined : debugNameContext; - // TODO: The loading module data for a segment is stored on the parent, then - // applied to each of that parent segment's parallel route slots. In the - // simple case where there's only one parallel route (the `children` slot), - // this is no different from if the loading module data where stored on the - // child directly. But I'm not sure this actually makes sense when there are - // multiple parallel routes. It's not a huge issue because you always have - // the option to define a narrower loading boundary for a particular slot. But - // this sort of smells like an implementation accident to me. - const loadingModuleData = parentCacheNode.loading; - let child = /*#__PURE__*/ (0, _jsxruntime.jsxs)(_approutercontextsharedruntime.TemplateContext.Provider, { - value: /*#__PURE__*/ (0, _jsxruntime.jsxs)(ScrollAndFocusHandler, { - segmentPath: segmentPath, - children: [ - /*#__PURE__*/ (0, _jsxruntime.jsx)(_errorboundary.ErrorBoundary, { - errorComponent: error, - errorStyles: errorStyles, - errorScripts: errorScripts, - children: /*#__PURE__*/ (0, _jsxruntime.jsx)(LoadingBoundary, { - name: debugNameToDisplay, - loading: loadingModuleData, - children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_errorboundary1.HTTPAccessFallbackBoundary, { - notFound: notFound, - forbidden: forbidden, - unauthorized: unauthorized, - children: /*#__PURE__*/ (0, _jsxruntime.jsxs)(_redirectboundary.RedirectBoundary, { - children: [ - /*#__PURE__*/ (0, _jsxruntime.jsx)(InnerLayoutRouter, { - url: url, - tree: tree, - params: params, - cacheNode: cacheNode, - segmentPath: segmentPath, - debugNameContext: childDebugNameContext, - isActive: isActive && stateKey === activeStateKey - }), - segmentBoundaryTriggerNode - ] - }) - }) - }) - }), - segmentViewStateNode - ] - }), - children: [ - templateStyles, - templateScripts, - template - ] - }, stateKey); - if ("TURBOPACK compile-time truthy", 1) { - const { SegmentStateProvider } = __turbopack_context__.r("[project]/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)"); - child = /*#__PURE__*/ (0, _jsxruntime.jsxs)(SegmentStateProvider, { - children: [ - child, - segmentViewBoundaries - ] - }, stateKey); - } - if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable - ; - children.push(child); - bfcacheEntry = bfcacheEntry.next; - }while (bfcacheEntry !== null) - return children; -} -function getBoundaryDebugNameFromSegment(segment) { - if (segment === '/') { - // Reached the root - return '/'; - } - if (typeof segment === 'string') { - if (isVirtualLayout(segment)) { - return undefined; - } else { - return segment + '/'; - } - } - const paramCacheKey = segment[1]; - return paramCacheKey + '/'; -} -function isVirtualLayout(segment) { - return(// in a more special way instead of checking the name, to distinguish them - // from app-defined groups. - segment === '(slot)'); -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=layout-router.js.map -}), -"[project]/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "default", { - enumerable: true, - get: function() { - return RenderFromTemplateContext; - } -}); -const _interop_require_wildcard = __turbopack_context__.r("[project]/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs [app-client] (ecmascript)"); -const _jsxruntime = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/jsx-runtime.js [app-client] (ecmascript)"); -const _react = /*#__PURE__*/ _interop_require_wildcard._(__turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)")); -const _approutercontextsharedruntime = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js [app-client] (ecmascript)"); -function RenderFromTemplateContext() { - const children = (0, _react.useContext)(_approutercontextsharedruntime.TemplateContext); - return /*#__PURE__*/ (0, _jsxruntime.jsx)(_jsxruntime.Fragment, { - children: children - }); -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=render-from-template-context.js.map -}), -"[project]/node_modules/next/dist/server/web/spec-extension/adapters/reflect.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "ReflectAdapter", { - enumerable: true, - get: function() { - return ReflectAdapter; - } -}); -class ReflectAdapter { - static get(target, prop, receiver) { - const value = Reflect.get(target, prop, receiver); - if (typeof value === 'function') { - return value.bind(target); - } - return value; - } - static set(target, prop, value, receiver) { - return Reflect.set(target, prop, value, receiver); - } - static has(target, prop) { - return Reflect.has(target, prop); - } - static deleteProperty(target, prop) { - return Reflect.deleteProperty(target, prop); - } -} //# sourceMappingURL=reflect.js.map -}), -"[project]/node_modules/next/dist/shared/lib/utils/reflect-utils.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -// This regex will have fast negatives meaning valid identifiers may not pass -// this test. However this is only used during static generation to provide hints -// about why a page bailed out of some or all prerendering and we can use bracket notation -// for example while `ಠ_ಠ` is a valid identifier it's ok to print `searchParams['ಠ_ಠ']` -// even if this would have been fine too `searchParams.ಠ_ಠ` -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - describeHasCheckingStringProperty: null, - describeStringPropertyAccess: null, - wellKnownProperties: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - describeHasCheckingStringProperty: function() { - return describeHasCheckingStringProperty; - }, - describeStringPropertyAccess: function() { - return describeStringPropertyAccess; - }, - wellKnownProperties: function() { - return wellKnownProperties; - } -}); -const isDefinitelyAValidIdentifier = /^[A-Za-z_$][A-Za-z0-9_$]*$/; -function describeStringPropertyAccess(target, prop) { - if (isDefinitelyAValidIdentifier.test(prop)) { - return `\`${target}.${prop}\``; - } - return `\`${target}[${JSON.stringify(prop)}]\``; -} -function describeHasCheckingStringProperty(target, prop) { - const stringifiedProp = JSON.stringify(prop); - return `\`Reflect.has(${target}, ${stringifiedProp})\`, \`${stringifiedProp} in ${target}\`, or similar`; -} -const wellKnownProperties = new Set([ - 'hasOwnProperty', - 'isPrototypeOf', - 'propertyIsEnumerable', - 'toString', - 'valueOf', - 'toLocaleString', - // Promise prototype - 'then', - 'catch', - 'finally', - // React Promise extension - 'status', - // 'value', - // 'error', - // React introspection - 'displayName', - '_debugInfo', - // Common tested properties - 'toJSON', - '$$typeof', - '__esModule' -]); //# sourceMappingURL=reflect-utils.js.map -}), -"[project]/node_modules/next/dist/client/request/search-params.browser.dev.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "createRenderSearchParamsFromClient", { - enumerable: true, - get: function() { - return createRenderSearchParamsFromClient; - } -}); -const _reflect = __turbopack_context__.r("[project]/node_modules/next/dist/server/web/spec-extension/adapters/reflect.js [app-client] (ecmascript)"); -const _reflectutils = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/utils/reflect-utils.js [app-client] (ecmascript)"); -const CachedSearchParams = new WeakMap(); -function makeUntrackedSearchParamsWithDevWarnings(underlyingSearchParams) { - const cachedSearchParams = CachedSearchParams.get(underlyingSearchParams); - if (cachedSearchParams) { - return cachedSearchParams; - } - const proxiedProperties = new Set(); - const promise = Promise.resolve(underlyingSearchParams); - Object.keys(underlyingSearchParams).forEach((prop)=>{ - if (_reflectutils.wellKnownProperties.has(prop)) { - // These properties cannot be shadowed because they need to be the - // true underlying value for Promises to work correctly at runtime - } else { - proxiedProperties.add(prop); - } - }); - const proxiedPromise = new Proxy(promise, { - get (target, prop, receiver) { - if (typeof prop === 'string') { - if (!_reflectutils.wellKnownProperties.has(prop) && (proxiedProperties.has(prop) || // We are accessing a property that doesn't exist on the promise nor - // the underlying searchParams. - Reflect.has(target, prop) === false)) { - const expression = (0, _reflectutils.describeStringPropertyAccess)('searchParams', prop); - warnForSyncAccess(expression); - } - } - return _reflect.ReflectAdapter.get(target, prop, receiver); - }, - set (target, prop, value, receiver) { - if (typeof prop === 'string') { - proxiedProperties.delete(prop); - } - return Reflect.set(target, prop, value, receiver); - }, - has (target, prop) { - if (typeof prop === 'string') { - if (!_reflectutils.wellKnownProperties.has(prop) && (proxiedProperties.has(prop) || // We are accessing a property that doesn't exist on the promise nor - // the underlying searchParams. - Reflect.has(target, prop) === false)) { - const expression = (0, _reflectutils.describeHasCheckingStringProperty)('searchParams', prop); - warnForSyncAccess(expression); - } - } - return Reflect.has(target, prop); - }, - ownKeys (target) { - warnForSyncSpread(); - return Reflect.ownKeys(target); - } - }); - CachedSearchParams.set(underlyingSearchParams, proxiedPromise); - return proxiedPromise; -} -function warnForSyncAccess(expression) { - console.error(`A searchParam property was accessed directly with ${expression}. ` + `\`searchParams\` is a Promise and must be unwrapped with \`React.use()\` before accessing its properties. ` + `Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`); -} -function warnForSyncSpread() { - console.error(`The keys of \`searchParams\` were accessed directly. ` + `\`searchParams\` is a Promise and must be unwrapped with \`React.use()\` before accessing its properties. ` + `Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`); -} -function createRenderSearchParamsFromClient(underlyingSearchParams) { - return makeUntrackedSearchParamsWithDevWarnings(underlyingSearchParams); -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=search-params.browser.dev.js.map -}), -"[project]/node_modules/next/dist/client/request/search-params.browser.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "createRenderSearchParamsFromClient", { - enumerable: true, - get: function() { - return createRenderSearchParamsFromClient; - } -}); -const createRenderSearchParamsFromClient = ("TURBOPACK compile-time truthy", 1) ? __turbopack_context__.r("[project]/node_modules/next/dist/client/request/search-params.browser.dev.js [app-client] (ecmascript)").createRenderSearchParamsFromClient : "TURBOPACK unreachable"; -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=search-params.browser.js.map -}), -"[project]/node_modules/next/dist/client/request/params.browser.dev.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "createRenderParamsFromClient", { - enumerable: true, - get: function() { - return createRenderParamsFromClient; - } -}); -const _reflect = __turbopack_context__.r("[project]/node_modules/next/dist/server/web/spec-extension/adapters/reflect.js [app-client] (ecmascript)"); -const _reflectutils = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/utils/reflect-utils.js [app-client] (ecmascript)"); -const CachedParams = new WeakMap(); -function makeDynamicallyTrackedParamsWithDevWarnings(underlyingParams) { - const cachedParams = CachedParams.get(underlyingParams); - if (cachedParams) { - return cachedParams; - } - // We don't use makeResolvedReactPromise here because params - // supports copying with spread and we don't want to unnecessarily - // instrument the promise with spreadable properties of ReactPromise. - const promise = Promise.resolve(underlyingParams); - const proxiedProperties = new Set(); - Object.keys(underlyingParams).forEach((prop)=>{ - if (_reflectutils.wellKnownProperties.has(prop)) { - // These properties cannot be shadowed because they need to be the - // true underlying value for Promises to work correctly at runtime - } else { - proxiedProperties.add(prop); - } - }); - const proxiedPromise = new Proxy(promise, { - get (target, prop, receiver) { - if (typeof prop === 'string') { - if (proxiedProperties.has(prop)) { - const expression = (0, _reflectutils.describeStringPropertyAccess)('params', prop); - warnForSyncAccess(expression); - } - } - return _reflect.ReflectAdapter.get(target, prop, receiver); - }, - set (target, prop, value, receiver) { - if (typeof prop === 'string') { - proxiedProperties.delete(prop); - } - return _reflect.ReflectAdapter.set(target, prop, value, receiver); - }, - ownKeys (target) { - warnForEnumeration(); - return Reflect.ownKeys(target); - } - }); - CachedParams.set(underlyingParams, proxiedPromise); - return proxiedPromise; -} -function warnForSyncAccess(expression) { - console.error(`A param property was accessed directly with ${expression}. ` + `\`params\` is a Promise and must be unwrapped with \`React.use()\` before accessing its properties. ` + `Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`); -} -function warnForEnumeration() { - console.error(`params are being enumerated. ` + `\`params\` is a Promise and must be unwrapped with \`React.use()\` before accessing its properties. ` + `Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`); -} -function createRenderParamsFromClient(clientParams) { - return makeDynamicallyTrackedParamsWithDevWarnings(clientParams); -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=params.browser.dev.js.map -}), -"[project]/node_modules/next/dist/client/request/params.browser.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "createRenderParamsFromClient", { - enumerable: true, - get: function() { - return createRenderParamsFromClient; - } -}); -const createRenderParamsFromClient = ("TURBOPACK compile-time truthy", 1) ? __turbopack_context__.r("[project]/node_modules/next/dist/client/request/params.browser.dev.js [app-client] (ecmascript)").createRenderParamsFromClient : "TURBOPACK unreachable"; -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=params.browser.js.map -}), -"[project]/node_modules/next/dist/server/create-deduped-by-callsite-server-error-logger.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "createDedupedByCallsiteServerErrorLoggerDev", { - enumerable: true, - get: function() { - return createDedupedByCallsiteServerErrorLoggerDev; - } -}); -const _react = /*#__PURE__*/ _interop_require_wildcard(__turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)")); -function _getRequireWildcardCache(nodeInterop) { - if (typeof WeakMap !== "function") return null; - var cacheBabelInterop = new WeakMap(); - var cacheNodeInterop = new WeakMap(); - return (_getRequireWildcardCache = function(nodeInterop) { - return nodeInterop ? cacheNodeInterop : cacheBabelInterop; - })(nodeInterop); -} -function _interop_require_wildcard(obj, nodeInterop) { - if (!nodeInterop && obj && obj.__esModule) { - return obj; - } - if (obj === null || typeof obj !== "object" && typeof obj !== "function") { - return { - default: obj - }; - } - var cache = _getRequireWildcardCache(nodeInterop); - if (cache && cache.has(obj)) { - return cache.get(obj); - } - var newObj = { - __proto__: null - }; - var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; - for(var key in obj){ - if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { - var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; - if (desc && (desc.get || desc.set)) { - Object.defineProperty(newObj, key, desc); - } else { - newObj[key] = obj[key]; - } - } - } - newObj.default = obj; - if (cache) { - cache.set(obj, newObj); - } - return newObj; -} -const errorRef = { - current: null -}; -// React.cache is currently only available in canary/experimental React channels. -const cache = typeof _react.cache === 'function' ? _react.cache : (fn)=>fn; -// When Cache Components is enabled, we record these as errors so that they -// are captured by the dev overlay as it's more critical to fix these -// when enabled. -const logErrorOrWarn = ("TURBOPACK compile-time falsy", 0) ? "TURBOPACK unreachable" : console.warn; -// We don't want to dedupe across requests. -// The developer might've just attempted to fix the warning so we should warn again if it still happens. -const flushCurrentErrorIfNew = cache((key)=>{ - try { - logErrorOrWarn(errorRef.current); - } finally{ - errorRef.current = null; - } -}); -function createDedupedByCallsiteServerErrorLoggerDev(getMessage) { - return function logDedupedError(...args) { - const message = getMessage(...args); - if ("TURBOPACK compile-time truthy", 1) { - var _stack; - const callStackFrames = (_stack = new Error().stack) == null ? void 0 : _stack.split('\n'); - if (callStackFrames === undefined || callStackFrames.length < 4) { - logErrorOrWarn(message); - } else { - // Error: - // logDedupedError - // asyncApiBeingAccessedSynchronously - // <userland callsite> - // TODO: This breaks if sourcemaps with ignore lists are enabled. - const key = callStackFrames[4]; - errorRef.current = message; - flushCurrentErrorIfNew(key); - } - } else //TURBOPACK unreachable - ; - }; -} //# sourceMappingURL=create-deduped-by-callsite-server-error-logger.js.map -}), -"[project]/node_modules/next/dist/server/app-render/after-task-async-storage-instance.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "afterTaskAsyncStorageInstance", { - enumerable: true, - get: function() { - return afterTaskAsyncStorageInstance; - } -}); -const _asynclocalstorage = __turbopack_context__.r("[project]/node_modules/next/dist/server/app-render/async-local-storage.js [app-client] (ecmascript)"); -const afterTaskAsyncStorageInstance = (0, _asynclocalstorage.createAsyncLocalStorage)(); //# sourceMappingURL=after-task-async-storage-instance.js.map -}), -"[project]/node_modules/next/dist/server/app-render/after-task-async-storage.external.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "afterTaskAsyncStorage", { - enumerable: true, - get: function() { - return _aftertaskasyncstorageinstance.afterTaskAsyncStorageInstance; - } -}); -const _aftertaskasyncstorageinstance = __turbopack_context__.r("[project]/node_modules/next/dist/server/app-render/after-task-async-storage-instance.js [app-client] (ecmascript)"); //# sourceMappingURL=after-task-async-storage.external.js.map -}), -"[project]/node_modules/next/dist/server/request/utils.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - isRequestAPICallableInsideAfter: null, - throwForSearchParamsAccessInUseCache: null, - throwWithStaticGenerationBailoutErrorWithDynamicError: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - isRequestAPICallableInsideAfter: function() { - return isRequestAPICallableInsideAfter; - }, - throwForSearchParamsAccessInUseCache: function() { - return throwForSearchParamsAccessInUseCache; - }, - throwWithStaticGenerationBailoutErrorWithDynamicError: function() { - return throwWithStaticGenerationBailoutErrorWithDynamicError; - } -}); -const _staticgenerationbailout = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/static-generation-bailout.js [app-client] (ecmascript)"); -const _aftertaskasyncstorageexternal = __turbopack_context__.r("[project]/node_modules/next/dist/server/app-render/after-task-async-storage.external.js [app-client] (ecmascript)"); -function throwWithStaticGenerationBailoutErrorWithDynamicError(route, expression) { - throw Object.defineProperty(new _staticgenerationbailout.StaticGenBailoutError(`Route ${route} with \`dynamic = "error"\` couldn't be rendered statically because it used ${expression}. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`), "__NEXT_ERROR_CODE", { - value: "E543", - enumerable: false, - configurable: true - }); -} -function throwForSearchParamsAccessInUseCache(workStore, constructorOpt) { - const error = Object.defineProperty(new Error(`Route ${workStore.route} used \`searchParams\` inside "use cache". Accessing dynamic request data inside a cache scope is not supported. If you need some search params inside a cached function await \`searchParams\` outside of the cached function and pass only the required search params as arguments to the cached function. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`), "__NEXT_ERROR_CODE", { - value: "E842", - enumerable: false, - configurable: true - }); - Error.captureStackTrace(error, constructorOpt); - workStore.invalidDynamicUsageError ??= error; - throw error; -} -function isRequestAPICallableInsideAfter() { - const afterTaskStore = _aftertaskasyncstorageexternal.afterTaskAsyncStorage.getStore(); - return (afterTaskStore == null ? void 0 : afterTaskStore.rootTaskSpawnPhase) === 'action'; -} //# sourceMappingURL=utils.js.map -}), -"[project]/node_modules/next/dist/server/app-render/staged-rendering.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - RenderStage: null, - StagedRenderingController: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - RenderStage: function() { - return RenderStage; - }, - StagedRenderingController: function() { - return StagedRenderingController; - } -}); -const _invarianterror = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/invariant-error.js [app-client] (ecmascript)"); -const _promisewithresolvers = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/promise-with-resolvers.js [app-client] (ecmascript)"); -var RenderStage = /*#__PURE__*/ function(RenderStage) { - RenderStage[RenderStage["Before"] = 1] = "Before"; - RenderStage[RenderStage["Static"] = 2] = "Static"; - RenderStage[RenderStage["Runtime"] = 3] = "Runtime"; - RenderStage[RenderStage["Dynamic"] = 4] = "Dynamic"; - RenderStage[RenderStage["Abandoned"] = 5] = "Abandoned"; - return RenderStage; -}({}); -class StagedRenderingController { - constructor(abortSignal = null, hasRuntimePrefetch){ - this.abortSignal = abortSignal; - this.hasRuntimePrefetch = hasRuntimePrefetch; - this.currentStage = 1; - this.staticInterruptReason = null; - this.runtimeInterruptReason = null; - this.staticStageEndTime = Infinity; - this.runtimeStageEndTime = Infinity; - this.runtimeStageListeners = []; - this.dynamicStageListeners = []; - this.runtimeStagePromise = (0, _promisewithresolvers.createPromiseWithResolvers)(); - this.dynamicStagePromise = (0, _promisewithresolvers.createPromiseWithResolvers)(); - this.mayAbandon = false; - if (abortSignal) { - abortSignal.addEventListener('abort', ()=>{ - const { reason } = abortSignal; - if (this.currentStage < 3) { - this.runtimeStagePromise.promise.catch(ignoreReject) // avoid unhandled rejections - ; - this.runtimeStagePromise.reject(reason); - } - if (this.currentStage < 4 || this.currentStage === 5) { - this.dynamicStagePromise.promise.catch(ignoreReject) // avoid unhandled rejections - ; - this.dynamicStagePromise.reject(reason); - } - }, { - once: true - }); - this.mayAbandon = true; - } - } - onStage(stage, callback) { - if (this.currentStage >= stage) { - callback(); - } else if (stage === 3) { - this.runtimeStageListeners.push(callback); - } else if (stage === 4) { - this.dynamicStageListeners.push(callback); - } else { - // This should never happen - throw Object.defineProperty(new _invarianterror.InvariantError(`Invalid render stage: ${stage}`), "__NEXT_ERROR_CODE", { - value: "E881", - enumerable: false, - configurable: true - }); - } - } - canSyncInterrupt() { - // If we haven't started the render yet, it can't be interrupted. - if (this.currentStage === 1) { - return false; - } - const boundaryStage = this.hasRuntimePrefetch ? 4 : 3; - return this.currentStage < boundaryStage; - } - syncInterruptCurrentStageWithReason(reason) { - if (this.currentStage === 1) { - return; - } - // If Sync IO occurs during the initial (abandonable) render, we'll retry it, - // so we want a slightly different flow. - // See the implementation of `abandonRenderImpl` for more explanation. - if (this.mayAbandon) { - return this.abandonRenderImpl(); - } - // If we're in the final render, we cannot abandon it. We need to advance to the Dynamic stage - // and capture the interruption reason. - switch(this.currentStage){ - case 2: - { - this.staticInterruptReason = reason; - this.advanceStage(4); - return; - } - case 3: - { - // We only error for Sync IO in the runtime stage if the route - // is configured to use runtime prefetching. - // We do this to reflect the fact that during a runtime prefetch, - // Sync IO aborts aborts the render. - // Note that `canSyncInterrupt` should prevent us from getting here at all - // if runtime prefetching isn't enabled. - if (this.hasRuntimePrefetch) { - this.runtimeInterruptReason = reason; - this.advanceStage(4); - } - return; - } - case 4: - case 5: - default: - } - } - getStaticInterruptReason() { - return this.staticInterruptReason; - } - getRuntimeInterruptReason() { - return this.runtimeInterruptReason; - } - getStaticStageEndTime() { - return this.staticStageEndTime; - } - getRuntimeStageEndTime() { - return this.runtimeStageEndTime; - } - abandonRender() { - if (!this.mayAbandon) { - throw Object.defineProperty(new _invarianterror.InvariantError('`abandonRender` called on a stage controller that cannot be abandoned.'), "__NEXT_ERROR_CODE", { - value: "E938", - enumerable: false, - configurable: true - }); - } - this.abandonRenderImpl(); - } - abandonRenderImpl() { - // In staged rendering, only the initial render is abandonable. - // We can abandon the initial render if - // 1. We notice a cache miss, and need to wait for caches to fill - // 2. A sync IO error occurs, and the render should be interrupted - // (this might be a lazy intitialization of a module, - // so we still want to restart in this case and see if it still occurs) - // In either case, we'll be doing another render after this one, - // so we only want to unblock the Runtime stage, not Dynamic, because - // unblocking the dynamic stage would likely lead to wasted (uncached) IO. - const { currentStage } = this; - switch(currentStage){ - case 2: - { - this.currentStage = 5; - this.resolveRuntimeStage(); - return; - } - case 3: - { - this.currentStage = 5; - return; - } - case 4: - case 1: - case 5: - break; - default: - { - currentStage; - } - } - } - advanceStage(stage) { - // If we're already at the target stage or beyond, do nothing. - // (this can happen e.g. if sync IO advanced us to the dynamic stage) - if (stage <= this.currentStage) { - return; - } - let currentStage = this.currentStage; - this.currentStage = stage; - if (currentStage < 3 && stage >= 3) { - this.staticStageEndTime = performance.now() + performance.timeOrigin; - this.resolveRuntimeStage(); - } - if (currentStage < 4 && stage >= 4) { - this.runtimeStageEndTime = performance.now() + performance.timeOrigin; - this.resolveDynamicStage(); - return; - } - } - /** Fire the `onStage` listeners for the runtime stage and unblock any promises waiting for it. */ resolveRuntimeStage() { - const runtimeListeners = this.runtimeStageListeners; - for(let i = 0; i < runtimeListeners.length; i++){ - runtimeListeners[i](); - } - runtimeListeners.length = 0; - this.runtimeStagePromise.resolve(); - } - /** Fire the `onStage` listeners for the dynamic stage and unblock any promises waiting for it. */ resolveDynamicStage() { - const dynamicListeners = this.dynamicStageListeners; - for(let i = 0; i < dynamicListeners.length; i++){ - dynamicListeners[i](); - } - dynamicListeners.length = 0; - this.dynamicStagePromise.resolve(); - } - getStagePromise(stage) { - switch(stage){ - case 3: - { - return this.runtimeStagePromise.promise; - } - case 4: - { - return this.dynamicStagePromise.promise; - } - default: - { - stage; - throw Object.defineProperty(new _invarianterror.InvariantError(`Invalid render stage: ${stage}`), "__NEXT_ERROR_CODE", { - value: "E881", - enumerable: false, - configurable: true - }); - } - } - } - waitForStage(stage) { - return this.getStagePromise(stage); - } - delayUntilStage(stage, displayName, resolvedValue) { - const ioTriggerPromise = this.getStagePromise(stage); - const promise = makeDevtoolsIOPromiseFromIOTrigger(ioTriggerPromise, displayName, resolvedValue); - // Analogously to `makeHangingPromise`, we might reject this promise if the signal is invoked. - // (e.g. in the case where we don't want want the render to proceed to the dynamic stage and abort it). - // We shouldn't consider this an unhandled rejection, so we attach a noop catch handler here to suppress this warning. - if (this.abortSignal) { - promise.catch(ignoreReject); - } - return promise; - } -} -function ignoreReject() {} -// TODO(restart-on-cache-miss): the layering of `delayUntilStage`, -// `makeDevtoolsIOPromiseFromIOTrigger` and and `makeDevtoolsIOAwarePromise` -// is confusing, we should clean it up. -function makeDevtoolsIOPromiseFromIOTrigger(ioTrigger, displayName, resolvedValue) { - // If we create a `new Promise` and give it a displayName - // (with no userspace code above us in the stack) - // React Devtools will use it as the IO cause when determining "suspended by". - // In particular, it should shadow any inner IO that resolved/rejected the promise - // (in case of staged rendering, this will be the `setTimeout` that triggers the relevant stage) - const promise = new Promise((resolve, reject)=>{ - ioTrigger.then(resolve.bind(null, resolvedValue), reject); - }); - if (displayName !== undefined) { - // @ts-expect-error - promise.displayName = displayName; - } - return promise; -} //# sourceMappingURL=staged-rendering.js.map -}), -"[project]/node_modules/next/dist/server/request/search-params.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - createPrerenderSearchParamsForClientPage: null, - createSearchParamsFromClient: null, - createServerSearchParamsForMetadata: null, - createServerSearchParamsForServerPage: null, - makeErroringSearchParamsForUseCache: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - createPrerenderSearchParamsForClientPage: function() { - return createPrerenderSearchParamsForClientPage; - }, - createSearchParamsFromClient: function() { - return createSearchParamsFromClient; - }, - createServerSearchParamsForMetadata: function() { - return createServerSearchParamsForMetadata; - }, - createServerSearchParamsForServerPage: function() { - return createServerSearchParamsForServerPage; - }, - makeErroringSearchParamsForUseCache: function() { - return makeErroringSearchParamsForUseCache; - } -}); -const _reflect = __turbopack_context__.r("[project]/node_modules/next/dist/server/web/spec-extension/adapters/reflect.js [app-client] (ecmascript)"); -const _dynamicrendering = __turbopack_context__.r("[project]/node_modules/next/dist/server/app-render/dynamic-rendering.js [app-client] (ecmascript)"); -const _workunitasyncstorageexternal = __turbopack_context__.r("[project]/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js [app-client] (ecmascript)"); -const _invarianterror = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/invariant-error.js [app-client] (ecmascript)"); -const _dynamicrenderingutils = __turbopack_context__.r("[project]/node_modules/next/dist/server/dynamic-rendering-utils.js [app-client] (ecmascript)"); -const _creatededupedbycallsiteservererrorlogger = __turbopack_context__.r("[project]/node_modules/next/dist/server/create-deduped-by-callsite-server-error-logger.js [app-client] (ecmascript)"); -const _reflectutils = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/utils/reflect-utils.js [app-client] (ecmascript)"); -const _utils = __turbopack_context__.r("[project]/node_modules/next/dist/server/request/utils.js [app-client] (ecmascript)"); -const _stagedrendering = __turbopack_context__.r("[project]/node_modules/next/dist/server/app-render/staged-rendering.js [app-client] (ecmascript)"); -function createSearchParamsFromClient(underlyingSearchParams, workStore) { - const workUnitStore = _workunitasyncstorageexternal.workUnitAsyncStorage.getStore(); - if (workUnitStore) { - switch(workUnitStore.type){ - case 'prerender': - case 'prerender-client': - case 'prerender-ppr': - case 'prerender-legacy': - return createStaticPrerenderSearchParams(workStore, workUnitStore); - case 'prerender-runtime': - throw Object.defineProperty(new _invarianterror.InvariantError('createSearchParamsFromClient should not be called in a runtime prerender.'), "__NEXT_ERROR_CODE", { - value: "E769", - enumerable: false, - configurable: true - }); - case 'cache': - case 'private-cache': - case 'unstable-cache': - throw Object.defineProperty(new _invarianterror.InvariantError('createSearchParamsFromClient should not be called in cache contexts.'), "__NEXT_ERROR_CODE", { - value: "E739", - enumerable: false, - configurable: true - }); - case 'request': - return createRenderSearchParams(underlyingSearchParams, workStore, workUnitStore); - default: - workUnitStore; - } - } - (0, _workunitasyncstorageexternal.throwInvariantForMissingStore)(); -} -const createServerSearchParamsForMetadata = createServerSearchParamsForServerPage; -function createServerSearchParamsForServerPage(underlyingSearchParams, workStore) { - const workUnitStore = _workunitasyncstorageexternal.workUnitAsyncStorage.getStore(); - if (workUnitStore) { - switch(workUnitStore.type){ - case 'prerender': - case 'prerender-client': - case 'prerender-ppr': - case 'prerender-legacy': - return createStaticPrerenderSearchParams(workStore, workUnitStore); - case 'cache': - case 'private-cache': - case 'unstable-cache': - throw Object.defineProperty(new _invarianterror.InvariantError('createServerSearchParamsForServerPage should not be called in cache contexts.'), "__NEXT_ERROR_CODE", { - value: "E747", - enumerable: false, - configurable: true - }); - case 'prerender-runtime': - return createRuntimePrerenderSearchParams(underlyingSearchParams, workUnitStore); - case 'request': - return createRenderSearchParams(underlyingSearchParams, workStore, workUnitStore); - default: - workUnitStore; - } - } - (0, _workunitasyncstorageexternal.throwInvariantForMissingStore)(); -} -function createPrerenderSearchParamsForClientPage(workStore) { - if (workStore.forceStatic) { - // When using forceStatic we override all other logic and always just return an empty - // dictionary object. - return Promise.resolve({}); - } - const workUnitStore = _workunitasyncstorageexternal.workUnitAsyncStorage.getStore(); - if (workUnitStore) { - switch(workUnitStore.type){ - case 'prerender': - case 'prerender-client': - // We're prerendering in a mode that aborts (cacheComponents) and should stall - // the promise to ensure the RSC side is considered dynamic - return (0, _dynamicrenderingutils.makeHangingPromise)(workUnitStore.renderSignal, workStore.route, '`searchParams`'); - case 'prerender-runtime': - throw Object.defineProperty(new _invarianterror.InvariantError('createPrerenderSearchParamsForClientPage should not be called in a runtime prerender.'), "__NEXT_ERROR_CODE", { - value: "E768", - enumerable: false, - configurable: true - }); - case 'cache': - case 'private-cache': - case 'unstable-cache': - throw Object.defineProperty(new _invarianterror.InvariantError('createPrerenderSearchParamsForClientPage should not be called in cache contexts.'), "__NEXT_ERROR_CODE", { - value: "E746", - enumerable: false, - configurable: true - }); - case 'prerender-ppr': - case 'prerender-legacy': - case 'request': - return Promise.resolve({}); - default: - workUnitStore; - } - } - (0, _workunitasyncstorageexternal.throwInvariantForMissingStore)(); -} -function createStaticPrerenderSearchParams(workStore, prerenderStore) { - if (workStore.forceStatic) { - // When using forceStatic we override all other logic and always just return an empty - // dictionary object. - return Promise.resolve({}); - } - switch(prerenderStore.type){ - case 'prerender': - case 'prerender-client': - // We are in a cacheComponents (PPR or otherwise) prerender - return makeHangingSearchParams(workStore, prerenderStore); - case 'prerender-ppr': - case 'prerender-legacy': - // We are in a legacy static generation and need to interrupt the - // prerender when search params are accessed. - return makeErroringSearchParams(workStore, prerenderStore); - default: - return prerenderStore; - } -} -function createRuntimePrerenderSearchParams(underlyingSearchParams, workUnitStore) { - return (0, _dynamicrendering.delayUntilRuntimeStage)(workUnitStore, makeUntrackedSearchParams(underlyingSearchParams)); -} -function createRenderSearchParams(underlyingSearchParams, workStore, requestStore) { - if (workStore.forceStatic) { - // When using forceStatic we override all other logic and always just return an empty - // dictionary object. - return Promise.resolve({}); - } else { - if ("TURBOPACK compile-time truthy", 1) { - // Semantically we only need the dev tracking when running in `next dev` - // but since you would never use next dev with production NODE_ENV we use this - // as a proxy so we can statically exclude this code from production builds. - return makeUntrackedSearchParamsWithDevWarnings(underlyingSearchParams, workStore, requestStore); - } else //TURBOPACK unreachable - ; - } -} -const CachedSearchParams = new WeakMap(); -const CachedSearchParamsForUseCache = new WeakMap(); -function makeHangingSearchParams(workStore, prerenderStore) { - const cachedSearchParams = CachedSearchParams.get(prerenderStore); - if (cachedSearchParams) { - return cachedSearchParams; - } - const promise = (0, _dynamicrenderingutils.makeHangingPromise)(prerenderStore.renderSignal, workStore.route, '`searchParams`'); - const proxiedPromise = new Proxy(promise, { - get (target, prop, receiver) { - if (Object.hasOwn(promise, prop)) { - // The promise has this property directly. we must return it. - // We know it isn't a dynamic access because it can only be something - // that was previously written to the promise and thus not an underlying searchParam value - return _reflect.ReflectAdapter.get(target, prop, receiver); - } - switch(prop){ - case 'then': - { - const expression = '`await searchParams`, `searchParams.then`, or similar'; - (0, _dynamicrendering.annotateDynamicAccess)(expression, prerenderStore); - return _reflect.ReflectAdapter.get(target, prop, receiver); - } - case 'status': - { - const expression = '`use(searchParams)`, `searchParams.status`, or similar'; - (0, _dynamicrendering.annotateDynamicAccess)(expression, prerenderStore); - return _reflect.ReflectAdapter.get(target, prop, receiver); - } - default: - { - return _reflect.ReflectAdapter.get(target, prop, receiver); - } - } - } - }); - CachedSearchParams.set(prerenderStore, proxiedPromise); - return proxiedPromise; -} -function makeErroringSearchParams(workStore, prerenderStore) { - const cachedSearchParams = CachedSearchParams.get(workStore); - if (cachedSearchParams) { - return cachedSearchParams; - } - const underlyingSearchParams = {}; - // For search params we don't construct a ReactPromise because we want to interrupt - // rendering on any property access that was not set from outside and so we only want - // to have properties like value and status if React sets them. - const promise = Promise.resolve(underlyingSearchParams); - const proxiedPromise = new Proxy(promise, { - get (target, prop, receiver) { - if (Object.hasOwn(promise, prop)) { - // The promise has this property directly. we must return it. - // We know it isn't a dynamic access because it can only be something - // that was previously written to the promise and thus not an underlying searchParam value - return _reflect.ReflectAdapter.get(target, prop, receiver); - } - if (typeof prop === 'string' && prop === 'then') { - const expression = '`await searchParams`, `searchParams.then`, or similar'; - if (workStore.dynamicShouldError) { - (0, _utils.throwWithStaticGenerationBailoutErrorWithDynamicError)(workStore.route, expression); - } else if (prerenderStore.type === 'prerender-ppr') { - // PPR Prerender (no cacheComponents) - (0, _dynamicrendering.postponeWithTracking)(workStore.route, expression, prerenderStore.dynamicTracking); - } else { - // Legacy Prerender - (0, _dynamicrendering.throwToInterruptStaticGeneration)(expression, workStore, prerenderStore); - } - } - return _reflect.ReflectAdapter.get(target, prop, receiver); - } - }); - CachedSearchParams.set(workStore, proxiedPromise); - return proxiedPromise; -} -function makeErroringSearchParamsForUseCache(workStore) { - const cachedSearchParams = CachedSearchParamsForUseCache.get(workStore); - if (cachedSearchParams) { - return cachedSearchParams; - } - const promise = Promise.resolve({}); - const proxiedPromise = new Proxy(promise, { - get: function get(target, prop, receiver) { - if (Object.hasOwn(promise, prop)) { - // The promise has this property directly. we must return it. We know it - // isn't a dynamic access because it can only be something that was - // previously written to the promise and thus not an underlying - // searchParam value - return _reflect.ReflectAdapter.get(target, prop, receiver); - } - if (typeof prop === 'string' && (prop === 'then' || !_reflectutils.wellKnownProperties.has(prop))) { - (0, _utils.throwForSearchParamsAccessInUseCache)(workStore, get); - } - return _reflect.ReflectAdapter.get(target, prop, receiver); - } - }); - CachedSearchParamsForUseCache.set(workStore, proxiedPromise); - return proxiedPromise; -} -function makeUntrackedSearchParams(underlyingSearchParams) { - const cachedSearchParams = CachedSearchParams.get(underlyingSearchParams); - if (cachedSearchParams) { - return cachedSearchParams; - } - const promise = Promise.resolve(underlyingSearchParams); - CachedSearchParams.set(underlyingSearchParams, promise); - return promise; -} -function makeUntrackedSearchParamsWithDevWarnings(underlyingSearchParams, workStore, requestStore) { - if (requestStore.asyncApiPromises) { - // Do not cache the resulting promise. If we do, we'll only show the first "awaited at" - // across all segments that receive searchParams. - return makeUntrackedSearchParamsWithDevWarningsImpl(underlyingSearchParams, workStore, requestStore); - } else { - const cachedSearchParams = CachedSearchParams.get(underlyingSearchParams); - if (cachedSearchParams) { - return cachedSearchParams; - } - const promise = makeUntrackedSearchParamsWithDevWarningsImpl(underlyingSearchParams, workStore, requestStore); - CachedSearchParams.set(requestStore, promise); - return promise; - } -} -function makeUntrackedSearchParamsWithDevWarningsImpl(underlyingSearchParams, workStore, requestStore) { - const promiseInitialized = { - current: false - }; - const proxiedUnderlying = instrumentSearchParamsObjectWithDevWarnings(underlyingSearchParams, workStore, promiseInitialized); - let promise; - if (requestStore.asyncApiPromises) { - // We wrap each instance of searchParams in a `new Promise()`. - // This is important when all awaits are in third party which would otherwise - // track all the way to the internal params. - const sharedSearchParamsParent = requestStore.asyncApiPromises.sharedSearchParamsParent; - promise = new Promise((resolve, reject)=>{ - sharedSearchParamsParent.then(()=>resolve(proxiedUnderlying), reject); - }); - // @ts-expect-error - promise.displayName = 'searchParams'; - } else { - promise = (0, _dynamicrenderingutils.makeDevtoolsIOAwarePromise)(proxiedUnderlying, requestStore, _stagedrendering.RenderStage.Runtime); - } - promise.then(()=>{ - promiseInitialized.current = true; - }, // is aborted before it can reach the runtime stage. - // In that case, we have to prevent an unhandled rejection from the promise - // created by this `.then()` call. - // This does not affect the `promiseInitialized` logic above, - // because `proxiedUnderlying` will not be used to resolve the promise, - // so there's no risk of any of its properties being accessed and triggering - // an undesireable warning. - ignoreReject); - return instrumentSearchParamsPromiseWithDevWarnings(underlyingSearchParams, promise, workStore); -} -function ignoreReject() {} -function instrumentSearchParamsObjectWithDevWarnings(underlyingSearchParams, workStore, promiseInitialized) { - // We have an unfortunate sequence of events that requires this initialization logic. We want to instrument the underlying - // searchParams object to detect if you are accessing values in dev. This is used for warnings and for things like the static prerender - // indicator. However when we pass this proxy to our Promise.resolve() below the VM checks if the resolved value is a promise by looking - // at the `.then` property. To our dynamic tracking logic this is indistinguishable from a `then` searchParam and so we would normally trigger - // dynamic tracking. However we know that this .then is not real dynamic access, it's just how thenables resolve in sequence. So we introduce - // this initialization concept so we omit the dynamic check until after we've constructed our resolved promise. - return new Proxy(underlyingSearchParams, { - get (target, prop, receiver) { - if (typeof prop === 'string' && promiseInitialized.current) { - if (workStore.dynamicShouldError) { - const expression = (0, _reflectutils.describeStringPropertyAccess)('searchParams', prop); - (0, _utils.throwWithStaticGenerationBailoutErrorWithDynamicError)(workStore.route, expression); - } - } - return _reflect.ReflectAdapter.get(target, prop, receiver); - }, - has (target, prop) { - if (typeof prop === 'string') { - if (workStore.dynamicShouldError) { - const expression = (0, _reflectutils.describeHasCheckingStringProperty)('searchParams', prop); - (0, _utils.throwWithStaticGenerationBailoutErrorWithDynamicError)(workStore.route, expression); - } - } - return Reflect.has(target, prop); - }, - ownKeys (target) { - if (workStore.dynamicShouldError) { - const expression = '`{...searchParams}`, `Object.keys(searchParams)`, or similar'; - (0, _utils.throwWithStaticGenerationBailoutErrorWithDynamicError)(workStore.route, expression); - } - return Reflect.ownKeys(target); - } - }); -} -function instrumentSearchParamsPromiseWithDevWarnings(underlyingSearchParams, promise, workStore) { - // Track which properties we should warn for. - const proxiedProperties = new Set(); - Object.keys(underlyingSearchParams).forEach((prop)=>{ - if (_reflectutils.wellKnownProperties.has(prop)) { - // These properties cannot be shadowed because they need to be the - // true underlying value for Promises to work correctly at runtime - } else { - proxiedProperties.add(prop); - } - }); - return new Proxy(promise, { - get (target, prop, receiver) { - if (prop === 'then' && workStore.dynamicShouldError) { - const expression = '`searchParams.then`'; - (0, _utils.throwWithStaticGenerationBailoutErrorWithDynamicError)(workStore.route, expression); - } - if (typeof prop === 'string') { - if (!_reflectutils.wellKnownProperties.has(prop) && (proxiedProperties.has(prop) || // We are accessing a property that doesn't exist on the promise nor - // the underlying searchParams. - Reflect.has(target, prop) === false)) { - const expression = (0, _reflectutils.describeStringPropertyAccess)('searchParams', prop); - warnForSyncAccess(workStore.route, expression); - } - } - return _reflect.ReflectAdapter.get(target, prop, receiver); - }, - set (target, prop, value, receiver) { - if (typeof prop === 'string') { - proxiedProperties.delete(prop); - } - return Reflect.set(target, prop, value, receiver); - }, - has (target, prop) { - if (typeof prop === 'string') { - if (!_reflectutils.wellKnownProperties.has(prop) && (proxiedProperties.has(prop) || // We are accessing a property that doesn't exist on the promise nor - // the underlying searchParams. - Reflect.has(target, prop) === false)) { - const expression = (0, _reflectutils.describeHasCheckingStringProperty)('searchParams', prop); - warnForSyncAccess(workStore.route, expression); - } - } - return Reflect.has(target, prop); - }, - ownKeys (target) { - const expression = '`Object.keys(searchParams)` or similar'; - warnForSyncAccess(workStore.route, expression); - return Reflect.ownKeys(target); - } - }); -} -const warnForSyncAccess = (0, _creatededupedbycallsiteservererrorlogger.createDedupedByCallsiteServerErrorLoggerDev)(createSearchAccessError); -function createSearchAccessError(route, expression) { - const prefix = route ? `Route "${route}" ` : 'This route '; - return Object.defineProperty(new Error(`${prefix}used ${expression}. ` + `\`searchParams\` is a Promise and must be unwrapped with \`await\` or \`React.use()\` before accessing its properties. ` + `Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`), "__NEXT_ERROR_CODE", { - value: "E848", - enumerable: false, - configurable: true - }); -} //# sourceMappingURL=search-params.js.map -}), -"[project]/node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "dynamicAccessAsyncStorageInstance", { - enumerable: true, - get: function() { - return dynamicAccessAsyncStorageInstance; - } -}); -const _asynclocalstorage = __turbopack_context__.r("[project]/node_modules/next/dist/server/app-render/async-local-storage.js [app-client] (ecmascript)"); -const dynamicAccessAsyncStorageInstance = (0, _asynclocalstorage.createAsyncLocalStorage)(); //# sourceMappingURL=dynamic-access-async-storage-instance.js.map -}), -"[project]/node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "dynamicAccessAsyncStorage", { - enumerable: true, - get: function() { - return _dynamicaccessasyncstorageinstance.dynamicAccessAsyncStorageInstance; - } -}); -const _dynamicaccessasyncstorageinstance = __turbopack_context__.r("[project]/node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js [app-client] (ecmascript)"); //# sourceMappingURL=dynamic-access-async-storage.external.js.map -}), -"[project]/node_modules/next/dist/server/request/params.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - createParamsFromClient: null, - createPrerenderParamsForClientSegment: null, - createServerParamsForMetadata: null, - createServerParamsForRoute: null, - createServerParamsForServerSegment: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - createParamsFromClient: function() { - return createParamsFromClient; - }, - createPrerenderParamsForClientSegment: function() { - return createPrerenderParamsForClientSegment; - }, - createServerParamsForMetadata: function() { - return createServerParamsForMetadata; - }, - createServerParamsForRoute: function() { - return createServerParamsForRoute; - }, - createServerParamsForServerSegment: function() { - return createServerParamsForServerSegment; - } -}); -const _workasyncstorageexternal = __turbopack_context__.r("[project]/node_modules/next/dist/server/app-render/work-async-storage.external.js [app-client] (ecmascript)"); -const _reflect = __turbopack_context__.r("[project]/node_modules/next/dist/server/web/spec-extension/adapters/reflect.js [app-client] (ecmascript)"); -const _dynamicrendering = __turbopack_context__.r("[project]/node_modules/next/dist/server/app-render/dynamic-rendering.js [app-client] (ecmascript)"); -const _workunitasyncstorageexternal = __turbopack_context__.r("[project]/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js [app-client] (ecmascript)"); -const _invarianterror = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/invariant-error.js [app-client] (ecmascript)"); -const _reflectutils = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/utils/reflect-utils.js [app-client] (ecmascript)"); -const _dynamicrenderingutils = __turbopack_context__.r("[project]/node_modules/next/dist/server/dynamic-rendering-utils.js [app-client] (ecmascript)"); -const _creatededupedbycallsiteservererrorlogger = __turbopack_context__.r("[project]/node_modules/next/dist/server/create-deduped-by-callsite-server-error-logger.js [app-client] (ecmascript)"); -const _dynamicaccessasyncstorageexternal = __turbopack_context__.r("[project]/node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js [app-client] (ecmascript)"); -const _stagedrendering = __turbopack_context__.r("[project]/node_modules/next/dist/server/app-render/staged-rendering.js [app-client] (ecmascript)"); -function createParamsFromClient(underlyingParams, workStore) { - const workUnitStore = _workunitasyncstorageexternal.workUnitAsyncStorage.getStore(); - if (workUnitStore) { - switch(workUnitStore.type){ - case 'prerender': - case 'prerender-client': - case 'prerender-ppr': - case 'prerender-legacy': - return createStaticPrerenderParams(underlyingParams, workStore, workUnitStore); - case 'cache': - case 'private-cache': - case 'unstable-cache': - throw Object.defineProperty(new _invarianterror.InvariantError('createParamsFromClient should not be called in cache contexts.'), "__NEXT_ERROR_CODE", { - value: "E736", - enumerable: false, - configurable: true - }); - case 'prerender-runtime': - throw Object.defineProperty(new _invarianterror.InvariantError('createParamsFromClient should not be called in a runtime prerender.'), "__NEXT_ERROR_CODE", { - value: "E770", - enumerable: false, - configurable: true - }); - case 'request': - if ("TURBOPACK compile-time truthy", 1) { - // Semantically we only need the dev tracking when running in `next dev` - // but since you would never use next dev with production NODE_ENV we use this - // as a proxy so we can statically exclude this code from production builds. - const devFallbackParams = workUnitStore.devFallbackParams; - return createRenderParamsInDev(underlyingParams, devFallbackParams, workStore, workUnitStore); - } else //TURBOPACK unreachable - ; - default: - workUnitStore; - } - } - (0, _workunitasyncstorageexternal.throwInvariantForMissingStore)(); -} -const createServerParamsForMetadata = createServerParamsForServerSegment; -function createServerParamsForRoute(underlyingParams, workStore) { - const workUnitStore = _workunitasyncstorageexternal.workUnitAsyncStorage.getStore(); - if (workUnitStore) { - switch(workUnitStore.type){ - case 'prerender': - case 'prerender-client': - case 'prerender-ppr': - case 'prerender-legacy': - return createStaticPrerenderParams(underlyingParams, workStore, workUnitStore); - case 'cache': - case 'private-cache': - case 'unstable-cache': - throw Object.defineProperty(new _invarianterror.InvariantError('createServerParamsForRoute should not be called in cache contexts.'), "__NEXT_ERROR_CODE", { - value: "E738", - enumerable: false, - configurable: true - }); - case 'prerender-runtime': - return createRuntimePrerenderParams(underlyingParams, workUnitStore); - case 'request': - if ("TURBOPACK compile-time truthy", 1) { - // Semantically we only need the dev tracking when running in `next dev` - // but since you would never use next dev with production NODE_ENV we use this - // as a proxy so we can statically exclude this code from production builds. - const devFallbackParams = workUnitStore.devFallbackParams; - return createRenderParamsInDev(underlyingParams, devFallbackParams, workStore, workUnitStore); - } else //TURBOPACK unreachable - ; - default: - workUnitStore; - } - } - (0, _workunitasyncstorageexternal.throwInvariantForMissingStore)(); -} -function createServerParamsForServerSegment(underlyingParams, workStore) { - const workUnitStore = _workunitasyncstorageexternal.workUnitAsyncStorage.getStore(); - if (workUnitStore) { - switch(workUnitStore.type){ - case 'prerender': - case 'prerender-client': - case 'prerender-ppr': - case 'prerender-legacy': - return createStaticPrerenderParams(underlyingParams, workStore, workUnitStore); - case 'cache': - case 'private-cache': - case 'unstable-cache': - throw Object.defineProperty(new _invarianterror.InvariantError('createServerParamsForServerSegment should not be called in cache contexts.'), "__NEXT_ERROR_CODE", { - value: "E743", - enumerable: false, - configurable: true - }); - case 'prerender-runtime': - return createRuntimePrerenderParams(underlyingParams, workUnitStore); - case 'request': - if ("TURBOPACK compile-time truthy", 1) { - // Semantically we only need the dev tracking when running in `next dev` - // but since you would never use next dev with production NODE_ENV we use this - // as a proxy so we can statically exclude this code from production builds. - const devFallbackParams = workUnitStore.devFallbackParams; - return createRenderParamsInDev(underlyingParams, devFallbackParams, workStore, workUnitStore); - } else //TURBOPACK unreachable - ; - default: - workUnitStore; - } - } - (0, _workunitasyncstorageexternal.throwInvariantForMissingStore)(); -} -function createPrerenderParamsForClientSegment(underlyingParams) { - const workStore = _workasyncstorageexternal.workAsyncStorage.getStore(); - if (!workStore) { - throw Object.defineProperty(new _invarianterror.InvariantError('Missing workStore in createPrerenderParamsForClientSegment'), "__NEXT_ERROR_CODE", { - value: "E773", - enumerable: false, - configurable: true - }); - } - const workUnitStore = _workunitasyncstorageexternal.workUnitAsyncStorage.getStore(); - if (workUnitStore) { - switch(workUnitStore.type){ - case 'prerender': - case 'prerender-client': - const fallbackParams = workUnitStore.fallbackRouteParams; - if (fallbackParams) { - for(let key in underlyingParams){ - if (fallbackParams.has(key)) { - // This params object has one or more fallback params, so we need - // to consider the awaiting of this params object "dynamic". Since - // we are in cacheComponents mode we encode this as a promise that never - // resolves. - return (0, _dynamicrenderingutils.makeHangingPromise)(workUnitStore.renderSignal, workStore.route, '`params`'); - } - } - } - break; - case 'cache': - case 'private-cache': - case 'unstable-cache': - throw Object.defineProperty(new _invarianterror.InvariantError('createPrerenderParamsForClientSegment should not be called in cache contexts.'), "__NEXT_ERROR_CODE", { - value: "E734", - enumerable: false, - configurable: true - }); - case 'prerender-ppr': - case 'prerender-legacy': - case 'prerender-runtime': - case 'request': - break; - default: - workUnitStore; - } - } - // We're prerendering in a mode that does not abort. We resolve the promise without - // any tracking because we're just transporting a value from server to client where the tracking - // will be applied. - return Promise.resolve(underlyingParams); -} -function createStaticPrerenderParams(underlyingParams, workStore, prerenderStore) { - switch(prerenderStore.type){ - case 'prerender': - case 'prerender-client': - { - const fallbackParams = prerenderStore.fallbackRouteParams; - if (fallbackParams) { - for(const key in underlyingParams){ - if (fallbackParams.has(key)) { - // This params object has one or more fallback params, so we need - // to consider the awaiting of this params object "dynamic". Since - // we are in cacheComponents mode we encode this as a promise that never - // resolves. - return makeHangingParams(underlyingParams, workStore, prerenderStore); - } - } - } - break; - } - case 'prerender-ppr': - { - const fallbackParams = prerenderStore.fallbackRouteParams; - if (fallbackParams) { - for(const key in underlyingParams){ - if (fallbackParams.has(key)) { - return makeErroringParams(underlyingParams, fallbackParams, workStore, prerenderStore); - } - } - } - break; - } - case 'prerender-legacy': - break; - default: - prerenderStore; - } - return makeUntrackedParams(underlyingParams); -} -function createRuntimePrerenderParams(underlyingParams, workUnitStore) { - return (0, _dynamicrendering.delayUntilRuntimeStage)(workUnitStore, makeUntrackedParams(underlyingParams)); -} -function createRenderParamsInProd(underlyingParams) { - return makeUntrackedParams(underlyingParams); -} -function createRenderParamsInDev(underlyingParams, devFallbackParams, workStore, requestStore) { - let hasFallbackParams = false; - if (devFallbackParams) { - for(let key in underlyingParams){ - if (devFallbackParams.has(key)) { - hasFallbackParams = true; - break; - } - } - } - return makeDynamicallyTrackedParamsWithDevWarnings(underlyingParams, hasFallbackParams, workStore, requestStore); -} -const CachedParams = new WeakMap(); -const fallbackParamsProxyHandler = { - get: function get(target, prop, receiver) { - if (prop === 'then' || prop === 'catch' || prop === 'finally') { - const originalMethod = _reflect.ReflectAdapter.get(target, prop, receiver); - return ({ - [prop]: (...args)=>{ - const store = _dynamicaccessasyncstorageexternal.dynamicAccessAsyncStorage.getStore(); - if (store) { - store.abortController.abort(Object.defineProperty(new Error(`Accessed fallback \`params\` during prerendering.`), "__NEXT_ERROR_CODE", { - value: "E691", - enumerable: false, - configurable: true - })); - } - return new Proxy(originalMethod.apply(target, args), fallbackParamsProxyHandler); - } - })[prop]; - } - return _reflect.ReflectAdapter.get(target, prop, receiver); - } -}; -function makeHangingParams(underlyingParams, workStore, prerenderStore) { - const cachedParams = CachedParams.get(underlyingParams); - if (cachedParams) { - return cachedParams; - } - const promise = new Proxy((0, _dynamicrenderingutils.makeHangingPromise)(prerenderStore.renderSignal, workStore.route, '`params`'), fallbackParamsProxyHandler); - CachedParams.set(underlyingParams, promise); - return promise; -} -function makeErroringParams(underlyingParams, fallbackParams, workStore, prerenderStore) { - const cachedParams = CachedParams.get(underlyingParams); - if (cachedParams) { - return cachedParams; - } - const augmentedUnderlying = { - ...underlyingParams - }; - // We don't use makeResolvedReactPromise here because params - // supports copying with spread and we don't want to unnecessarily - // instrument the promise with spreadable properties of ReactPromise. - const promise = Promise.resolve(augmentedUnderlying); - CachedParams.set(underlyingParams, promise); - Object.keys(underlyingParams).forEach((prop)=>{ - if (_reflectutils.wellKnownProperties.has(prop)) { - // These properties cannot be shadowed because they need to be the - // true underlying value for Promises to work correctly at runtime - } else { - if (fallbackParams.has(prop)) { - Object.defineProperty(augmentedUnderlying, prop, { - get () { - const expression = (0, _reflectutils.describeStringPropertyAccess)('params', prop); - // In most dynamic APIs we also throw if `dynamic = "error"` however - // for params is only dynamic when we're generating a fallback shell - // and even when `dynamic = "error"` we still support generating dynamic - // fallback shells - // TODO remove this comment when cacheComponents is the default since there - // will be no `dynamic = "error"` - if (prerenderStore.type === 'prerender-ppr') { - // PPR Prerender (no cacheComponents) - (0, _dynamicrendering.postponeWithTracking)(workStore.route, expression, prerenderStore.dynamicTracking); - } else { - // Legacy Prerender - (0, _dynamicrendering.throwToInterruptStaticGeneration)(expression, workStore, prerenderStore); - } - }, - enumerable: true - }); - } - } - }); - return promise; -} -function makeUntrackedParams(underlyingParams) { - const cachedParams = CachedParams.get(underlyingParams); - if (cachedParams) { - return cachedParams; - } - const promise = Promise.resolve(underlyingParams); - CachedParams.set(underlyingParams, promise); - return promise; -} -function makeDynamicallyTrackedParamsWithDevWarnings(underlyingParams, hasFallbackParams, workStore, requestStore) { - if (requestStore.asyncApiPromises && hasFallbackParams) { - // We wrap each instance of params in a `new Promise()`, because deduping - // them across requests doesn't work anyway and this let us show each - // await a different set of values. This is important when all awaits - // are in third party which would otherwise track all the way to the - // internal params. - const sharedParamsParent = requestStore.asyncApiPromises.sharedParamsParent; - const promise = new Promise((resolve, reject)=>{ - sharedParamsParent.then(()=>resolve(underlyingParams), reject); - }); - // @ts-expect-error - promise.displayName = 'params'; - return instrumentParamsPromiseWithDevWarnings(underlyingParams, promise, workStore); - } - const cachedParams = CachedParams.get(underlyingParams); - if (cachedParams) { - return cachedParams; - } - // We don't use makeResolvedReactPromise here because params - // supports copying with spread and we don't want to unnecessarily - // instrument the promise with spreadable properties of ReactPromise. - const promise = hasFallbackParams ? (0, _dynamicrenderingutils.makeDevtoolsIOAwarePromise)(underlyingParams, requestStore, _stagedrendering.RenderStage.Runtime) : Promise.resolve(underlyingParams); - const proxiedPromise = instrumentParamsPromiseWithDevWarnings(underlyingParams, promise, workStore); - CachedParams.set(underlyingParams, proxiedPromise); - return proxiedPromise; -} -function instrumentParamsPromiseWithDevWarnings(underlyingParams, promise, workStore) { - // Track which properties we should warn for. - const proxiedProperties = new Set(); - Object.keys(underlyingParams).forEach((prop)=>{ - if (_reflectutils.wellKnownProperties.has(prop)) { - // These properties cannot be shadowed because they need to be the - // true underlying value for Promises to work correctly at runtime - } else { - proxiedProperties.add(prop); - } - }); - return new Proxy(promise, { - get (target, prop, receiver) { - if (typeof prop === 'string') { - if (proxiedProperties.has(prop)) { - const expression = (0, _reflectutils.describeStringPropertyAccess)('params', prop); - warnForSyncAccess(workStore.route, expression); - } - } - return _reflect.ReflectAdapter.get(target, prop, receiver); - }, - set (target, prop, value, receiver) { - if (typeof prop === 'string') { - proxiedProperties.delete(prop); - } - return _reflect.ReflectAdapter.set(target, prop, value, receiver); - }, - ownKeys (target) { - const expression = '`...params` or similar expression'; - warnForSyncAccess(workStore.route, expression); - return Reflect.ownKeys(target); - } - }); -} -const warnForSyncAccess = (0, _creatededupedbycallsiteservererrorlogger.createDedupedByCallsiteServerErrorLoggerDev)(createParamsAccessError); -function createParamsAccessError(route, expression) { - const prefix = route ? `Route "${route}" ` : 'This route '; - return Object.defineProperty(new Error(`${prefix}used ${expression}. ` + `\`params\` is a Promise and must be unwrapped with \`await\` or \`React.use()\` before accessing its properties. ` + `Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`), "__NEXT_ERROR_CODE", { - value: "E834", - enumerable: false, - configurable: true - }); -} //# sourceMappingURL=params.js.map -}), -"[project]/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "ClientPageRoot", { - enumerable: true, - get: function() { - return ClientPageRoot; - } -}); -const _jsxruntime = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/jsx-runtime.js [app-client] (ecmascript)"); -const _invarianterror = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/invariant-error.js [app-client] (ecmascript)"); -const _approutercontextsharedruntime = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js [app-client] (ecmascript)"); -const _react = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -const _routeparams = __turbopack_context__.r("[project]/node_modules/next/dist/client/route-params.js [app-client] (ecmascript)"); -const _hooksclientcontextsharedruntime = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js [app-client] (ecmascript)"); -function ClientPageRoot({ Component, serverProvidedParams }) { - let searchParams; - let params; - if (serverProvidedParams !== null) { - searchParams = serverProvidedParams.searchParams; - params = serverProvidedParams.params; - } else { - // When Cache Components is enabled, the server does not pass the params as - // props; they are parsed on the client and passed via context. - const layoutRouterContext = (0, _react.use)(_approutercontextsharedruntime.LayoutRouterContext); - params = layoutRouterContext !== null ? layoutRouterContext.parentParams : {}; - // This is an intentional behavior change: when Cache Components is enabled, - // client segments receive the "canonical" search params, not the - // rewritten ones. Users should either call useSearchParams directly or pass - // the rewritten ones in from a Server Component. - // TODO: Log a deprecation error when this object is accessed - searchParams = (0, _routeparams.urlSearchParamsToParsedUrlQuery)((0, _react.use)(_hooksclientcontextsharedruntime.SearchParamsContext)); - } - if (typeof window === 'undefined') { - const { workAsyncStorage } = __turbopack_context__.r("[project]/node_modules/next/dist/server/app-render/work-async-storage.external.js [app-client] (ecmascript)"); - let clientSearchParams; - let clientParams; - // We are going to instrument the searchParams prop with tracking for the - // appropriate context. We wrap differently in prerendering vs rendering - const store = workAsyncStorage.getStore(); - if (!store) { - throw Object.defineProperty(new _invarianterror.InvariantError('Expected workStore to exist when handling searchParams in a client Page.'), "__NEXT_ERROR_CODE", { - value: "E564", - enumerable: false, - configurable: true - }); - } - const { createSearchParamsFromClient } = __turbopack_context__.r("[project]/node_modules/next/dist/server/request/search-params.js [app-client] (ecmascript)"); - clientSearchParams = createSearchParamsFromClient(searchParams, store); - const { createParamsFromClient } = __turbopack_context__.r("[project]/node_modules/next/dist/server/request/params.js [app-client] (ecmascript)"); - clientParams = createParamsFromClient(params, store); - return /*#__PURE__*/ (0, _jsxruntime.jsx)(Component, { - params: clientParams, - searchParams: clientSearchParams - }); - } else { - const { createRenderSearchParamsFromClient } = __turbopack_context__.r("[project]/node_modules/next/dist/client/request/search-params.browser.js [app-client] (ecmascript)"); - const clientSearchParams = createRenderSearchParamsFromClient(searchParams); - const { createRenderParamsFromClient } = __turbopack_context__.r("[project]/node_modules/next/dist/client/request/params.browser.js [app-client] (ecmascript)"); - const clientParams = createRenderParamsFromClient(params); - return /*#__PURE__*/ (0, _jsxruntime.jsx)(Component, { - params: clientParams, - searchParams: clientSearchParams - }); - } -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=client-page.js.map -}), -"[project]/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "ClientSegmentRoot", { - enumerable: true, - get: function() { - return ClientSegmentRoot; - } -}); -const _jsxruntime = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/jsx-runtime.js [app-client] (ecmascript)"); -const _invarianterror = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/invariant-error.js [app-client] (ecmascript)"); -const _approutercontextsharedruntime = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js [app-client] (ecmascript)"); -const _react = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -function ClientSegmentRoot({ Component, slots, serverProvidedParams }) { - let params; - if (serverProvidedParams !== null) { - params = serverProvidedParams.params; - } else { - // When Cache Components is enabled, the server does not pass the params - // as props; they are parsed on the client and passed via context. - const layoutRouterContext = (0, _react.use)(_approutercontextsharedruntime.LayoutRouterContext); - params = layoutRouterContext !== null ? layoutRouterContext.parentParams : {}; - } - if (typeof window === 'undefined') { - const { workAsyncStorage } = __turbopack_context__.r("[project]/node_modules/next/dist/server/app-render/work-async-storage.external.js [app-client] (ecmascript)"); - let clientParams; - // We are going to instrument the searchParams prop with tracking for the - // appropriate context. We wrap differently in prerendering vs rendering - const store = workAsyncStorage.getStore(); - if (!store) { - throw Object.defineProperty(new _invarianterror.InvariantError('Expected workStore to exist when handling params in a client segment such as a Layout or Template.'), "__NEXT_ERROR_CODE", { - value: "E600", - enumerable: false, - configurable: true - }); - } - const { createParamsFromClient } = __turbopack_context__.r("[project]/node_modules/next/dist/server/request/params.js [app-client] (ecmascript)"); - clientParams = createParamsFromClient(params, store); - return /*#__PURE__*/ (0, _jsxruntime.jsx)(Component, { - ...slots, - params: clientParams - }); - } else { - const { createRenderParamsFromClient } = __turbopack_context__.r("[project]/node_modules/next/dist/client/request/params.browser.js [app-client] (ecmascript)"); - const clientParams = createRenderParamsFromClient(params); - return /*#__PURE__*/ (0, _jsxruntime.jsx)(Component, { - ...slots, - params: clientParams - }); - } -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=client-segment.js.map -}), -"[project]/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "IconMark", { - enumerable: true, - get: function() { - return IconMark; - } -}); -const _jsxruntime = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/jsx-runtime.js [app-client] (ecmascript)"); -const IconMark = ()=>{ - if (typeof window !== 'undefined') { - return null; - } - return /*#__PURE__*/ (0, _jsxruntime.jsx)("meta", { - name: "\xabnxt-icon\xbb" - }); -}; //# sourceMappingURL=icon-mark.js.map -}), -]); - -//# sourceMappingURL=node_modules_next_dist_be32b49c._.js.map \ No newline at end of file diff --git a/.next/dev/static/chunks/node_modules_next_dist_be32b49c._.js.map b/.next/dev/static/chunks/node_modules_next_dist_be32b49c._.js.map deleted file mode 100644 index cf516a5..0000000 --- a/.next/dev/static/chunks/node_modules_next_dist_be32b49c._.js.map +++ /dev/null @@ -1,27 +0,0 @@ -{ - "version": 3, - "sources": [], - "sections": [ - {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/shared/lib/router/utils/disable-smooth-scroll.ts"],"sourcesContent":["import { warnOnce } from '../../utils/warn-once'\n\n/**\n * Run function with `scroll-behavior: auto` applied to `<html/>`.\n * This css change will be reverted after the function finishes.\n */\nexport function disableSmoothScrollDuringRouteTransition(\n fn: () => void,\n options: { dontForceLayout?: boolean; onlyHashChange?: boolean } = {}\n) {\n // if only the hash is changed, we don't need to disable smooth scrolling\n // we only care to prevent smooth scrolling when navigating to a new page to avoid jarring UX\n if (options.onlyHashChange) {\n fn()\n return\n }\n\n const htmlElement = document.documentElement\n const hasDataAttribute = htmlElement.dataset.scrollBehavior === 'smooth'\n\n if (!hasDataAttribute) {\n // Warn if smooth scrolling is detected but no data attribute is present\n if (\n process.env.NODE_ENV === 'development' &&\n getComputedStyle(htmlElement).scrollBehavior === 'smooth'\n ) {\n warnOnce(\n 'Detected `scroll-behavior: smooth` on the `<html>` element. To disable smooth scrolling during route transitions, ' +\n 'add `data-scroll-behavior=\"smooth\"` to your <html> element. ' +\n 'Learn more: https://nextjs.org/docs/messages/missing-data-scroll-behavior'\n )\n }\n // No smooth scrolling configured, run directly without style manipulation\n fn()\n return\n }\n\n // Proceed with temporarily disabling smooth scrolling\n const existing = htmlElement.style.scrollBehavior\n htmlElement.style.scrollBehavior = 'auto'\n if (!options.dontForceLayout) {\n // In Chrome-based browsers we need to force reflow before calling `scrollTo`.\n // Otherwise it will not pickup the change in scrollBehavior\n // More info here: https://github.com/vercel/next.js/issues/40719#issuecomment-1336248042\n htmlElement.getClientRects()\n }\n fn()\n htmlElement.style.scrollBehavior = existing\n}\n"],"names":["disableSmoothScrollDuringRouteTransition","fn","options","onlyHashChange","htmlElement","document","documentElement","hasDataAttribute","dataset","scrollBehavior","process","env","NODE_ENV","getComputedStyle","warnOnce","existing","style","dontForceLayout","getClientRects"],"mappings":"AAuBMU,QAAQC,GAAG,CAACC,QAAQ;;;;;+BAjBVZ,4CAAAA;;;eAAAA;;;0BANS;AAMlB,SAASA,yCACdC,EAAc,EACdC,UAAmE,CAAC,CAAC;IAErE,yEAAyE;IACzE,6FAA6F;IAC7F,IAAIA,QAAQC,cAAc,EAAE;QAC1BF;QACA;IACF;IAEA,MAAMG,cAAcC,SAASC,eAAe;IAC5C,MAAMC,mBAAmBH,YAAYI,OAAO,CAACC,cAAc,KAAK;IAEhE,IAAI,CAACF,kBAAkB;QACrB,wEAAwE;QACxE,wDAC2B,iBACzBM,iBAAiBT,aAAaK,cAAc,KAAK,UACjD;YACAK,CAAAA,GAAAA,UAAAA,QAAQ,EACN,uHACE,iEACA;QAEN;QACA,0EAA0E;QAC1Eb;QACA;IACF;IAEA,sDAAsD;IACtD,MAAMc,WAAWX,YAAYY,KAAK,CAACP,cAAc;IACjDL,YAAYY,KAAK,CAACP,cAAc,GAAG;IACnC,IAAI,CAACP,QAAQe,eAAe,EAAE;QAC5B,8EAA8E;QAC9E,4DAA4D;QAC5D,yFAAyF;QACzFb,YAAYc,cAAc;IAC5B;IACAjB;IACAG,YAAYY,KAAK,CAACP,cAAc,GAAGM;AACrC","ignoreList":[0]}}, - {"offset": {"line": 50, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/bfcache.ts"],"sourcesContent":["import type { FlightRouterState } from '../../shared/lib/app-router-types'\nimport { useState } from 'react'\n\n// When the flag is disabled, only track the currently active tree\nconst MAX_BF_CACHE_ENTRIES = process.env.__NEXT_CACHE_COMPONENTS ? 3 : 1\n\nexport type RouterBFCacheEntry = {\n tree: FlightRouterState\n stateKey: string\n // The entries form a linked list, sorted in order of most recently active.\n next: RouterBFCacheEntry | null\n}\n\n/**\n * Keeps track of the most recent N trees (FlightRouterStates) that were active\n * at a certain segment level. E.g. for a segment \"/a/b/[param]\", this hook\n * tracks the last N param values that the router rendered for N.\n *\n * The result of this hook precisely determines the number and order of\n * trees that are rendered in parallel at their segment level.\n *\n * The purpose of this cache is to we can preserve the React and DOM state of\n * some number of inactive trees, by rendering them in an <Activity> boundary.\n * That means it would not make sense for the the lifetime of the cache to be\n * any longer than the lifetime of the React tree; e.g. if the hook were\n * unmounted, then the React tree would be, too. So, we use React state to\n * manage it.\n *\n * Note that we don't store the RSC data for the cache entries in this hook —\n * the data for inactive segments is stored in the parent CacheNode, which\n * *does* have a longer lifetime than the React tree. This hook only determines\n * which of those trees should have their *state* preserved, by <Activity>.\n */\nexport function useRouterBFCache(\n activeTree: FlightRouterState,\n activeStateKey: string\n): RouterBFCacheEntry {\n // The currently active entry. The entries form a linked list, sorted in\n // order of most recently active. This allows us to reuse parts of the list\n // without cloning, unless there's a reordering or removal.\n // TODO: Once we start tracking back/forward history at each route level,\n // we should use the history order instead. In other words, when traversing\n // to an existing entry as a result of a popstate event, we should maintain\n // the existing order instead of moving it to the front of the list. I think\n // an initial implementation of this could be to pass an incrementing id\n // to history.pushState/replaceState, then use that here for ordering.\n const [prevActiveEntry, setPrevActiveEntry] = useState<RouterBFCacheEntry>(\n () => {\n const initialEntry: RouterBFCacheEntry = {\n tree: activeTree,\n stateKey: activeStateKey,\n next: null,\n }\n return initialEntry\n }\n )\n\n if (prevActiveEntry.tree === activeTree) {\n // Fast path. The active tree hasn't changed, so we can reuse the\n // existing state.\n return prevActiveEntry\n }\n\n // The route tree changed. Note that this doesn't mean that the tree changed\n // *at this level* — the change may be due to a child route. Either way, we\n // need to either add or update the router tree in the bfcache.\n //\n // The rest of the code looks more complicated than it actually is because we\n // can't mutate the state in place; we have to copy-on-write.\n\n // Create a new entry for the active cache key. This is the head of the new\n // linked list.\n const newActiveEntry: RouterBFCacheEntry = {\n tree: activeTree,\n stateKey: activeStateKey,\n next: null,\n }\n\n // We need to append the old list onto the new list. If the head of the new\n // list was already present in the cache, then we'll need to clone everything\n // that came before it. Then we can reuse the rest.\n let n = 1\n let oldEntry: RouterBFCacheEntry | null = prevActiveEntry\n let clonedEntry: RouterBFCacheEntry = newActiveEntry\n while (oldEntry !== null && n < MAX_BF_CACHE_ENTRIES) {\n if (oldEntry.stateKey === activeStateKey) {\n // Fast path. This entry in the old list that corresponds to the key that\n // is now active. We've already placed a clone of this entry at the front\n // of the new list. We can reuse the rest of the old list without cloning.\n // NOTE: We don't need to worry about eviction in this case because we\n // haven't increased the size of the cache, and we assume the max size\n // is constant across renders. If we were to change it to a dynamic limit,\n // then the implementation would need to account for that.\n clonedEntry.next = oldEntry.next\n break\n } else {\n // Clone the entry and append it to the list.\n n++\n const entry: RouterBFCacheEntry = {\n tree: oldEntry.tree,\n stateKey: oldEntry.stateKey,\n next: null,\n }\n clonedEntry.next = entry\n clonedEntry = entry\n }\n oldEntry = oldEntry.next\n }\n\n setPrevActiveEntry(newActiveEntry)\n return newActiveEntry\n}\n"],"names":["useRouterBFCache","MAX_BF_CACHE_ENTRIES","process","env","__NEXT_CACHE_COMPONENTS","activeTree","activeStateKey","prevActiveEntry","setPrevActiveEntry","useState","initialEntry","tree","stateKey","next","newActiveEntry","n","oldEntry","clonedEntry","entry"],"mappings":"AAI6BE,QAAQC,GAAG,CAACC,uBAAuB;;;;;+BA6BhDJ,oBAAAA;;;eAAAA;;;uBAhCS;AAEzB,kEAAkE;AAClE,MAAMC,6DAA6D,0BAAI;AA6BhE,SAASD,iBACdK,UAA6B,EAC7BC,cAAsB;IAEtB,wEAAwE;IACxE,2EAA2E;IAC3E,2DAA2D;IAC3D,yEAAyE;IACzE,2EAA2E;IAC3E,2EAA2E;IAC3E,4EAA4E;IAC5E,wEAAwE;IACxE,sEAAsE;IACtE,MAAM,CAACC,iBAAiBC,mBAAmB,GAAGC,CAAAA,GAAAA,OAAAA,QAAQ,EACpD;QACE,MAAMC,eAAmC;YACvCC,MAAMN;YACNO,UAAUN;YACVO,MAAM;QACR;QACA,OAAOH;IACT;IAGF,IAAIH,gBAAgBI,IAAI,KAAKN,YAAY;QACvC,iEAAiE;QACjE,kBAAkB;QAClB,OAAOE;IACT;IAEA,4EAA4E;IAC5E,2EAA2E;IAC3E,+DAA+D;IAC/D,EAAE;IACF,6EAA6E;IAC7E,6DAA6D;IAE7D,2EAA2E;IAC3E,eAAe;IACf,MAAMO,iBAAqC;QACzCH,MAAMN;QACNO,UAAUN;QACVO,MAAM;IACR;IAEA,2EAA2E;IAC3E,6EAA6E;IAC7E,mDAAmD;IACnD,IAAIE,IAAI;IACR,IAAIC,WAAsCT;IAC1C,IAAIU,cAAkCH;IACtC,MAAOE,aAAa,QAAQD,IAAId,qBAAsB;QACpD,IAAIe,SAASJ,QAAQ,KAAKN,gBAAgB;YACxC,yEAAyE;YACzE,yEAAyE;YACzE,0EAA0E;YAC1E,sEAAsE;YACtE,sEAAsE;YACtE,0EAA0E;YAC1E,0DAA0D;YAC1DW,YAAYJ,IAAI,GAAGG,SAASH,IAAI;YAChC;QACF,OAAO;YACL,6CAA6C;YAC7CE;YACA,MAAMG,QAA4B;gBAChCP,MAAMK,SAASL,IAAI;gBACnBC,UAAUI,SAASJ,QAAQ;gBAC3BC,MAAM;YACR;YACAI,YAAYJ,IAAI,GAAGK;YACnBD,cAAcC;QAChB;QACAF,WAAWA,SAASH,IAAI;IAC1B;IAEAL,mBAAmBM;IACnB,OAAOA;AACT","ignoreList":[0]}}, - {"offset": {"line": 144, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/layout-router.tsx"],"sourcesContent":["'use client'\n\nimport type { CacheNode } from '../../shared/lib/app-router-types'\nimport type { LoadingModuleData } from '../../shared/lib/app-router-types'\nimport type {\n FlightRouterState,\n FlightSegmentPath,\n Segment,\n} from '../../shared/lib/app-router-types'\nimport type { ErrorComponent } from './error-boundary'\nimport type { FocusAndScrollRef } from './router-reducer/router-reducer-types'\n\nimport React, {\n Activity,\n useContext,\n use,\n Suspense,\n useDeferredValue,\n type JSX,\n type ActivityProps,\n} from 'react'\nimport ReactDOM from 'react-dom'\nimport {\n LayoutRouterContext,\n GlobalLayoutRouterContext,\n TemplateContext,\n} from '../../shared/lib/app-router-context.shared-runtime'\nimport { unresolvedThenable } from './unresolved-thenable'\nimport { ErrorBoundary } from './error-boundary'\nimport { matchSegment } from './match-segments'\nimport { disableSmoothScrollDuringRouteTransition } from '../../shared/lib/router/utils/disable-smooth-scroll'\nimport { RedirectBoundary } from './redirect-boundary'\nimport { HTTPAccessFallbackBoundary } from './http-access-fallback/error-boundary'\nimport { createRouterCacheKey } from './router-reducer/create-router-cache-key'\nimport { useRouterBFCache, type RouterBFCacheEntry } from './bfcache'\nimport { normalizeAppPath } from '../../shared/lib/router/utils/app-paths'\nimport {\n NavigationPromisesContext,\n type NavigationPromises,\n} from '../../shared/lib/hooks-client-context.shared-runtime'\nimport { getParamValueFromCacheKey } from '../route-params'\nimport type { Params } from '../../server/request/params'\nimport { isDeferredRsc } from './router-reducer/ppr-navigations'\n\nconst __DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = (\n ReactDOM as any\n).__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE\n\n// TODO-APP: Replace with new React API for finding dom nodes without a `ref` when available\n/**\n * Wraps ReactDOM.findDOMNode with additional logic to hide React Strict Mode warning\n */\nfunction findDOMNode(\n instance: React.ReactInstance | null | undefined\n): Element | Text | null {\n // Tree-shake for server bundle\n if (typeof window === 'undefined') return null\n\n // __DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE.findDOMNode is null during module init.\n // We need to lazily reference it.\n const internal_reactDOMfindDOMNode =\n __DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE.findDOMNode\n return internal_reactDOMfindDOMNode(instance)\n}\n\nconst rectProperties = [\n 'bottom',\n 'height',\n 'left',\n 'right',\n 'top',\n 'width',\n 'x',\n 'y',\n] as const\n/**\n * Check if a HTMLElement is hidden or fixed/sticky position\n */\nfunction shouldSkipElement(element: HTMLElement) {\n // we ignore fixed or sticky positioned elements since they'll likely pass the \"in-viewport\" check\n // and will result in a situation we bail on scroll because of something like a fixed nav,\n // even though the actual page content is offscreen\n if (['sticky', 'fixed'].includes(getComputedStyle(element).position)) {\n return true\n }\n\n // Uses `getBoundingClientRect` to check if the element is hidden instead of `offsetParent`\n // because `offsetParent` doesn't consider document/body\n const rect = element.getBoundingClientRect()\n return rectProperties.every((item) => rect[item] === 0)\n}\n\n/**\n * Check if the top corner of the HTMLElement is in the viewport.\n */\nfunction topOfElementInViewport(element: HTMLElement, viewportHeight: number) {\n const rect = element.getBoundingClientRect()\n return rect.top >= 0 && rect.top <= viewportHeight\n}\n\n/**\n * Find the DOM node for a hash fragment.\n * If `top` the page has to scroll to the top of the page. This mirrors the browser's behavior.\n * If the hash fragment is an id, the page has to scroll to the element with that id.\n * If the hash fragment is a name, the page has to scroll to the first element with that name.\n */\nfunction getHashFragmentDomNode(hashFragment: string) {\n // If the hash fragment is `top` the page has to scroll to the top of the page.\n if (hashFragment === 'top') {\n return document.body\n }\n\n // If the hash fragment is an id, the page has to scroll to the element with that id.\n return (\n document.getElementById(hashFragment) ??\n // If the hash fragment is a name, the page has to scroll to the first element with that name.\n document.getElementsByName(hashFragment)[0]\n )\n}\ninterface ScrollAndFocusHandlerProps {\n focusAndScrollRef: FocusAndScrollRef\n children: React.ReactNode\n segmentPath: FlightSegmentPath\n}\nclass InnerScrollAndFocusHandler extends React.Component<ScrollAndFocusHandlerProps> {\n handlePotentialScroll = () => {\n // Handle scroll and focus, it's only applied once in the first useEffect that triggers that changed.\n const { focusAndScrollRef, segmentPath } = this.props\n\n if (focusAndScrollRef.apply) {\n // segmentPaths is an array of segment paths that should be scrolled to\n // if the current segment path is not in the array, the scroll is not applied\n // unless the array is empty, in which case the scroll is always applied\n if (\n focusAndScrollRef.segmentPaths.length !== 0 &&\n !focusAndScrollRef.segmentPaths.some((scrollRefSegmentPath) =>\n segmentPath.every((segment, index) =>\n matchSegment(segment, scrollRefSegmentPath[index])\n )\n )\n ) {\n return\n }\n\n let domNode:\n | ReturnType<typeof getHashFragmentDomNode>\n | ReturnType<typeof findDOMNode> = null\n const hashFragment = focusAndScrollRef.hashFragment\n\n if (hashFragment) {\n domNode = getHashFragmentDomNode(hashFragment)\n }\n\n // `findDOMNode` is tricky because it returns just the first child if the component is a fragment.\n // This already caused a bug where the first child was a <link/> in head.\n if (!domNode) {\n domNode = findDOMNode(this)\n }\n\n // If there is no DOM node this layout-router level is skipped. It'll be handled higher-up in the tree.\n if (!(domNode instanceof Element)) {\n return\n }\n\n // Verify if the element is a HTMLElement and if we want to consider it for scroll behavior.\n // If the element is skipped, try to select the next sibling and try again.\n while (!(domNode instanceof HTMLElement) || shouldSkipElement(domNode)) {\n if (process.env.NODE_ENV !== 'production') {\n if (domNode.parentElement?.localName === 'head') {\n // TODO: We enter this state when metadata was rendered as part of the page or via Next.js.\n // This is always a bug in Next.js and caused by React hoisting metadata.\n // We need to replace `findDOMNode` in favor of Fragment Refs (when available) so that we can skip over metadata.\n }\n }\n\n // No siblings found that match the criteria are found, so handle scroll higher up in the tree instead.\n if (domNode.nextElementSibling === null) {\n return\n }\n domNode = domNode.nextElementSibling\n }\n\n // State is mutated to ensure that the focus and scroll is applied only once.\n focusAndScrollRef.apply = false\n focusAndScrollRef.hashFragment = null\n focusAndScrollRef.segmentPaths = []\n\n disableSmoothScrollDuringRouteTransition(\n () => {\n // In case of hash scroll, we only need to scroll the element into view\n if (hashFragment) {\n ;(domNode as HTMLElement).scrollIntoView()\n\n return\n }\n // Store the current viewport height because reading `clientHeight` causes a reflow,\n // and it won't change during this function.\n const htmlElement = document.documentElement\n const viewportHeight = htmlElement.clientHeight\n\n // If the element's top edge is already in the viewport, exit early.\n if (topOfElementInViewport(domNode as HTMLElement, viewportHeight)) {\n return\n }\n\n // Otherwise, try scrolling go the top of the document to be backward compatible with pages\n // scrollIntoView() called on `<html/>` element scrolls horizontally on chrome and firefox (that shouldn't happen)\n // We could use it to scroll horizontally following RTL but that also seems to be broken - it will always scroll left\n // scrollLeft = 0 also seems to ignore RTL and manually checking for RTL is too much hassle so we will scroll just vertically\n htmlElement.scrollTop = 0\n\n // Scroll to domNode if domNode is not in viewport when scrolled to top of document\n if (!topOfElementInViewport(domNode as HTMLElement, viewportHeight)) {\n // Scroll into view doesn't scroll horizontally by default when not needed\n ;(domNode as HTMLElement).scrollIntoView()\n }\n },\n {\n // We will force layout by querying domNode position\n dontForceLayout: true,\n onlyHashChange: focusAndScrollRef.onlyHashChange,\n }\n )\n\n // Mutate after scrolling so that it can be read by `disableSmoothScrollDuringRouteTransition`\n focusAndScrollRef.onlyHashChange = false\n\n // Set focus on the element\n domNode.focus()\n }\n }\n\n componentDidMount() {\n this.handlePotentialScroll()\n }\n\n componentDidUpdate() {\n // Because this property is overwritten in handlePotentialScroll it's fine to always run it when true as it'll be set to false for subsequent renders.\n if (this.props.focusAndScrollRef.apply) {\n this.handlePotentialScroll()\n }\n }\n\n render() {\n return this.props.children\n }\n}\n\nfunction ScrollAndFocusHandler({\n segmentPath,\n children,\n}: {\n segmentPath: FlightSegmentPath\n children: React.ReactNode\n}) {\n const context = useContext(GlobalLayoutRouterContext)\n if (!context) {\n throw new Error('invariant global layout router not mounted')\n }\n\n return (\n <InnerScrollAndFocusHandler\n segmentPath={segmentPath}\n focusAndScrollRef={context.focusAndScrollRef}\n >\n {children}\n </InnerScrollAndFocusHandler>\n )\n}\n\n/**\n * InnerLayoutRouter handles rendering the provided segment based on the cache.\n */\nfunction InnerLayoutRouter({\n tree,\n segmentPath,\n debugNameContext,\n cacheNode: maybeCacheNode,\n params,\n url,\n isActive,\n}: {\n tree: FlightRouterState\n segmentPath: FlightSegmentPath\n debugNameContext: string\n cacheNode: CacheNode | null\n params: Params\n url: string\n isActive: boolean\n}) {\n const context = useContext(GlobalLayoutRouterContext)\n const parentNavPromises = useContext(NavigationPromisesContext)\n\n if (!context) {\n throw new Error('invariant global layout router not mounted')\n }\n\n const cacheNode =\n maybeCacheNode !== null\n ? maybeCacheNode\n : // This segment is not in the cache. Suspend indefinitely.\n //\n // This should only be reachable for inactive/hidden segments, during\n // prerendering The active segment should always be consistent with the\n // CacheNode tree. Regardless, if we don't have a matching CacheNode, we\n // must suspend rather than render nothing, to prevent showing an\n // inconsistent route.\n\n (use(unresolvedThenable) as never)\n\n // `rsc` represents the renderable node for this segment.\n\n // If this segment has a `prefetchRsc`, it's the statically prefetched data.\n // We should use that on initial render instead of `rsc`. Then we'll switch\n // to `rsc` when the dynamic response streams in.\n //\n // If no prefetch data is available, then we go straight to rendering `rsc`.\n const resolvedPrefetchRsc =\n cacheNode.prefetchRsc !== null ? cacheNode.prefetchRsc : cacheNode.rsc\n\n // We use `useDeferredValue` to handle switching between the prefetched and\n // final values. The second argument is returned on initial render, then it\n // re-renders with the first argument.\n const rsc: any = useDeferredValue(cacheNode.rsc, resolvedPrefetchRsc)\n\n // `rsc` is either a React node or a promise for a React node, except we\n // special case `null` to represent that this segment's data is missing. If\n // it's a promise, we need to unwrap it so we can determine whether or not the\n // data is missing.\n let resolvedRsc: React.ReactNode\n if (isDeferredRsc(rsc)) {\n const unwrappedRsc = use(rsc)\n if (unwrappedRsc === null) {\n // If the promise was resolved to `null`, it means the data for this\n // segment was not returned by the server. Suspend indefinitely. When this\n // happens, the router is responsible for triggering a new state update to\n // un-suspend this segment.\n use(unresolvedThenable) as never\n }\n resolvedRsc = unwrappedRsc\n } else {\n // This is not a deferred RSC promise. Don't need to unwrap it.\n if (rsc === null) {\n use(unresolvedThenable) as never\n }\n resolvedRsc = rsc\n }\n\n // In dev, we create a NavigationPromisesContext containing the instrumented promises that provide\n // `useSelectedLayoutSegment` and `useSelectedLayoutSegments`.\n // Promises are cached outside of render to survive suspense retries.\n let navigationPromises: NavigationPromises | null = null\n if (process.env.NODE_ENV !== 'production') {\n const { createNestedLayoutNavigationPromises } =\n require('./navigation-devtools') as typeof import('./navigation-devtools')\n\n navigationPromises = createNestedLayoutNavigationPromises(\n tree,\n parentNavPromises\n )\n }\n\n let children = resolvedRsc\n\n if (navigationPromises) {\n children = (\n <NavigationPromisesContext.Provider value={navigationPromises}>\n {resolvedRsc}\n </NavigationPromisesContext.Provider>\n )\n }\n\n children = (\n // The layout router context narrows down tree and childNodes at each level.\n <LayoutRouterContext.Provider\n value={{\n parentTree: tree,\n parentCacheNode: cacheNode,\n parentSegmentPath: segmentPath,\n parentParams: params,\n debugNameContext: debugNameContext,\n\n // TODO-APP: overriding of url for parallel routes\n url: url,\n isActive: isActive,\n }}\n >\n {children}\n </LayoutRouterContext.Provider>\n )\n\n return children\n}\n\n/**\n * Renders suspense boundary with the provided \"loading\" property as the fallback.\n * If no loading property is provided it renders the children without a suspense boundary.\n */\nfunction LoadingBoundary({\n name,\n loading,\n children,\n}: {\n name: ActivityProps['name']\n loading: LoadingModuleData | Promise<LoadingModuleData>\n children: React.ReactNode\n}): JSX.Element {\n // If loading is a promise, unwrap it. This happens in cases where we haven't\n // yet received the loading data from the server — which includes whether or\n // not this layout has a loading component at all.\n //\n // It's OK to suspend here instead of inside the fallback because this\n // promise will resolve simultaneously with the data for the segment itself.\n // So it will never suspend for longer than it would have if we didn't use\n // a Suspense fallback at all.\n let loadingModuleData\n if (\n typeof loading === 'object' &&\n loading !== null &&\n typeof (loading as any).then === 'function'\n ) {\n const promiseForLoading = loading as Promise<LoadingModuleData>\n loadingModuleData = use(promiseForLoading)\n } else {\n loadingModuleData = loading as LoadingModuleData\n }\n\n if (loadingModuleData) {\n const loadingRsc = loadingModuleData[0]\n const loadingStyles = loadingModuleData[1]\n const loadingScripts = loadingModuleData[2]\n return (\n <Suspense\n name={name}\n fallback={\n <>\n {loadingStyles}\n {loadingScripts}\n {loadingRsc}\n </>\n }\n >\n {children}\n </Suspense>\n )\n }\n\n return <>{children}</>\n}\n\n/**\n * OuterLayoutRouter handles the current segment as well as <Offscreen> rendering of other segments.\n * It can be rendered next to each other with a different `parallelRouterKey`, allowing for Parallel routes.\n */\nexport default function OuterLayoutRouter({\n parallelRouterKey,\n error,\n errorStyles,\n errorScripts,\n templateStyles,\n templateScripts,\n template,\n notFound,\n forbidden,\n unauthorized,\n segmentViewBoundaries,\n}: {\n parallelRouterKey: string\n error: ErrorComponent | undefined\n errorStyles: React.ReactNode | undefined\n errorScripts: React.ReactNode | undefined\n templateStyles: React.ReactNode | undefined\n templateScripts: React.ReactNode | undefined\n template: React.ReactNode\n notFound: React.ReactNode | undefined\n forbidden: React.ReactNode | undefined\n unauthorized: React.ReactNode | undefined\n segmentViewBoundaries?: React.ReactNode\n}) {\n const context = useContext(LayoutRouterContext)\n if (!context) {\n throw new Error('invariant expected layout router to be mounted')\n }\n\n const {\n parentTree,\n parentCacheNode,\n parentSegmentPath,\n parentParams,\n url,\n isActive,\n debugNameContext,\n } = context\n\n // Get the CacheNode for this segment by reading it from the parent segment's\n // child map.\n const parentParallelRoutes = parentCacheNode.parallelRoutes\n let segmentMap = parentParallelRoutes.get(parallelRouterKey)\n // If the parallel router cache node does not exist yet, create it.\n // This writes to the cache when there is no item in the cache yet. It never *overwrites* existing cache items which is why it's safe in concurrent mode.\n if (!segmentMap) {\n segmentMap = new Map()\n parentParallelRoutes.set(parallelRouterKey, segmentMap)\n }\n const parentTreeSegment = parentTree[0]\n const segmentPath =\n parentSegmentPath === null\n ? // TODO: The root segment value is currently omitted from the segment\n // path. This has led to a bunch of special cases scattered throughout\n // the code. We should clean this up.\n [parallelRouterKey]\n : parentSegmentPath.concat([parentTreeSegment, parallelRouterKey])\n\n // The \"state\" key of a segment is the one passed to React — it represents the\n // identity of the UI tree. Whenever the state key changes, the tree is\n // recreated and the state is reset. In the App Router model, search params do\n // not cause state to be lost, so two segments with the same segment path but\n // different search params should have the same state key.\n //\n // The \"cache\" key of a segment, however, *does* include the search params, if\n // it's possible that the segment accessed the search params on the server.\n // (This only applies to page segments; layout segments cannot access search\n // params on the server.)\n const activeTree = parentTree[1][parallelRouterKey]\n if (activeTree === undefined) {\n // Could not find a matching segment. The client tree is inconsistent with\n // the server tree. Suspend indefinitely; the router will have already\n // detected the inconsistency when handling the server response, and\n // triggered a refresh of the page to recover.\n use(unresolvedThenable) as never\n }\n\n const activeSegment = activeTree[0]\n const activeStateKey = createRouterCacheKey(activeSegment, true) // no search params\n\n // At each level of the route tree, not only do we render the currently\n // active segment — we also render the last N segments that were active at\n // this level inside a hidden <Activity> boundary, to preserve their state\n // if or when the user navigates to them again.\n //\n // bfcacheEntry is a linked list of FlightRouterStates.\n let bfcacheEntry: RouterBFCacheEntry | null = useRouterBFCache(\n activeTree,\n activeStateKey\n )\n let children: Array<React.ReactNode> = []\n do {\n const tree = bfcacheEntry.tree\n const stateKey = bfcacheEntry.stateKey\n const segment = tree[0]\n const cacheKey = createRouterCacheKey(segment)\n\n // Read segment path from the parallel router cache node.\n const cacheNode = segmentMap.get(cacheKey) ?? null\n\n /*\n - Error boundary\n - Only renders error boundary if error component is provided.\n - Rendered for each segment to ensure they have their own error state.\n - When gracefully degrade for bots, skip rendering error boundary.\n - Loading boundary\n - Only renders suspense boundary if loading components is provided.\n - Rendered for each segment to ensure they have their own loading state.\n - Passed to the router during rendering to ensure it can be immediately rendered when suspending on a Flight fetch.\n */\n\n let segmentBoundaryTriggerNode: React.ReactNode = null\n let segmentViewStateNode: React.ReactNode = null\n if (process.env.NODE_ENV !== 'production') {\n const { SegmentBoundaryTriggerNode, SegmentViewStateNode } =\n require('../../next-devtools/userspace/app/segment-explorer-node') as typeof import('../../next-devtools/userspace/app/segment-explorer-node')\n\n const pagePrefix = normalizeAppPath(url)\n segmentViewStateNode = (\n <SegmentViewStateNode key={pagePrefix} page={pagePrefix} />\n )\n\n segmentBoundaryTriggerNode = (\n <>\n <SegmentBoundaryTriggerNode />\n </>\n )\n }\n\n let params = parentParams\n if (Array.isArray(segment)) {\n // This segment contains a route param. Accumulate these as we traverse\n // down the router tree. The result represents the set of params that\n // the layout/page components are permitted to access below this point.\n const paramName = segment[0]\n const paramCacheKey = segment[1]\n const paramType = segment[2]\n const paramValue = getParamValueFromCacheKey(paramCacheKey, paramType)\n if (paramValue !== null) {\n params = {\n ...parentParams,\n [paramName]: paramValue,\n }\n }\n }\n\n const debugName = getBoundaryDebugNameFromSegment(segment)\n // `debugNameContext` represents the nearest non-\"virtual\" parent segment.\n // `getBoundaryDebugNameFromSegment` returns undefined for virtual segments.\n // So if `debugName` is undefined, the context is passed through unchanged.\n const childDebugNameContext = debugName ?? debugNameContext\n\n // In practical terms, clicking this name in the Suspense DevTools\n // should select the child slots of that layout.\n //\n // So the name we apply to the Activity boundary is actually based on\n // the nearest parent segments.\n //\n // We skip over \"virtual\" parents, i.e. ones inserted by Next.js that\n // don't correspond to application-defined code.\n const isVirtual = debugName === undefined\n const debugNameToDisplay = isVirtual ? undefined : debugNameContext\n\n // TODO: The loading module data for a segment is stored on the parent, then\n // applied to each of that parent segment's parallel route slots. In the\n // simple case where there's only one parallel route (the `children` slot),\n // this is no different from if the loading module data where stored on the\n // child directly. But I'm not sure this actually makes sense when there are\n // multiple parallel routes. It's not a huge issue because you always have\n // the option to define a narrower loading boundary for a particular slot. But\n // this sort of smells like an implementation accident to me.\n const loadingModuleData = parentCacheNode.loading\n let child = (\n <TemplateContext.Provider\n key={stateKey}\n value={\n <ScrollAndFocusHandler segmentPath={segmentPath}>\n <ErrorBoundary\n errorComponent={error}\n errorStyles={errorStyles}\n errorScripts={errorScripts}\n >\n <LoadingBoundary\n name={debugNameToDisplay}\n loading={loadingModuleData}\n >\n <HTTPAccessFallbackBoundary\n notFound={notFound}\n forbidden={forbidden}\n unauthorized={unauthorized}\n >\n <RedirectBoundary>\n <InnerLayoutRouter\n url={url}\n tree={tree}\n params={params}\n cacheNode={cacheNode}\n segmentPath={segmentPath}\n debugNameContext={childDebugNameContext}\n isActive={isActive && stateKey === activeStateKey}\n />\n {segmentBoundaryTriggerNode}\n </RedirectBoundary>\n </HTTPAccessFallbackBoundary>\n </LoadingBoundary>\n </ErrorBoundary>\n {segmentViewStateNode}\n </ScrollAndFocusHandler>\n }\n >\n {templateStyles}\n {templateScripts}\n {template}\n </TemplateContext.Provider>\n )\n\n if (process.env.NODE_ENV !== 'production') {\n const { SegmentStateProvider } =\n require('../../next-devtools/userspace/app/segment-explorer-node') as typeof import('../../next-devtools/userspace/app/segment-explorer-node')\n\n child = (\n <SegmentStateProvider key={stateKey}>\n {child}\n {segmentViewBoundaries}\n </SegmentStateProvider>\n )\n }\n\n if (process.env.__NEXT_CACHE_COMPONENTS) {\n child = (\n <Activity\n name={debugNameToDisplay}\n key={stateKey}\n mode={stateKey === activeStateKey ? 'visible' : 'hidden'}\n >\n {child}\n </Activity>\n )\n }\n\n children.push(child)\n\n bfcacheEntry = bfcacheEntry.next\n } while (bfcacheEntry !== null)\n\n return children\n}\n\nfunction getBoundaryDebugNameFromSegment(segment: Segment): string | undefined {\n if (segment === '/') {\n // Reached the root\n return '/'\n }\n if (typeof segment === 'string') {\n if (isVirtualLayout(segment)) {\n return undefined\n } else {\n return segment + '/'\n }\n }\n const paramCacheKey = segment[1]\n return paramCacheKey + '/'\n}\n\nfunction isVirtualLayout(segment: string): boolean {\n return (\n // This is inserted by the loader. We should consider encoding these\n // in a more special way instead of checking the name, to distinguish them\n // from app-defined groups.\n segment === '(slot)'\n )\n}\n"],"names":["OuterLayoutRouter","__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE","ReactDOM","findDOMNode","instance","window","internal_reactDOMfindDOMNode","rectProperties","shouldSkipElement","element","includes","getComputedStyle","position","rect","getBoundingClientRect","every","item","topOfElementInViewport","viewportHeight","top","getHashFragmentDomNode","hashFragment","document","body","getElementById","getElementsByName","InnerScrollAndFocusHandler","React","Component","componentDidMount","handlePotentialScroll","componentDidUpdate","props","focusAndScrollRef","apply","render","children","segmentPath","segmentPaths","length","some","scrollRefSegmentPath","segment","index","matchSegment","domNode","Element","HTMLElement","process","env","NODE_ENV","parentElement","localName","nextElementSibling","disableSmoothScrollDuringRouteTransition","scrollIntoView","htmlElement","documentElement","clientHeight","scrollTop","dontForceLayout","onlyHashChange","focus","ScrollAndFocusHandler","context","useContext","GlobalLayoutRouterContext","Error","InnerLayoutRouter","tree","debugNameContext","cacheNode","maybeCacheNode","params","url","isActive","parentNavPromises","NavigationPromisesContext","use","unresolvedThenable","resolvedPrefetchRsc","prefetchRsc","rsc","useDeferredValue","resolvedRsc","isDeferredRsc","unwrappedRsc","navigationPromises","createNestedLayoutNavigationPromises","require","Provider","value","LayoutRouterContext","parentTree","parentCacheNode","parentSegmentPath","parentParams","LoadingBoundary","name","loading","loadingModuleData","then","promiseForLoading","loadingRsc","loadingStyles","loadingScripts","Suspense","fallback","parallelRouterKey","error","errorStyles","errorScripts","templateStyles","templateScripts","template","notFound","forbidden","unauthorized","segmentViewBoundaries","parentParallelRoutes","parallelRoutes","segmentMap","get","Map","set","parentTreeSegment","concat","activeTree","undefined","activeSegment","activeStateKey","createRouterCacheKey","bfcacheEntry","useRouterBFCache","stateKey","cacheKey","segmentBoundaryTriggerNode","segmentViewStateNode","SegmentBoundaryTriggerNode","SegmentViewStateNode","pagePrefix","normalizeAppPath","page","Array","isArray","paramName","paramCacheKey","paramType","paramValue","getParamValueFromCacheKey","debugName","getBoundaryDebugNameFromSegment","childDebugNameContext","isVirtual","debugNameToDisplay","child","TemplateContext","ErrorBoundary","errorComponent","HTTPAccessFallbackBoundary","RedirectBoundary","SegmentStateProvider","__NEXT_CACHE_COMPONENTS","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B,mBAAmB;QACnB,OAAO;IACT;IACA,IAAI,OAAOA,YAAY,UAAU;QAC/B,IAAI6H,gBAAgB7H,UAAU;YAC5B,OAAOsF;QACT,OAAO;YACL,OAAOtF,UAAU;QACnB;IACF;IACA,MAAMwG,gBAAgBxG,OAAO,CAAC,EAAE;IAChC,OAAOwG,gBAAgB;AACzB;AAEA,SAASqB,gBAAgB7H,OAAe;IACtC,OACE,AACA,oEADoE,MACM;IAC1E,2BAA2B;IAC3BA,YAAY;AAEhB","ignoreList":[0]}}, - {"offset": {"line": 681, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/render-from-template-context.tsx"],"sourcesContent":["'use client'\n\nimport React, { useContext, type JSX } from 'react'\nimport { TemplateContext } from '../../shared/lib/app-router-context.shared-runtime'\n\nexport default function RenderFromTemplateContext(): JSX.Element {\n const children = useContext(TemplateContext)\n return <>{children}</>\n}\n"],"names":["RenderFromTemplateContext","children","useContext","TemplateContext"],"mappings":";;;+BAKA,WAAA;;;eAAwBA;;;;;iEAHoB;+CACZ;AAEjB,SAASA;IACtB,MAAMC,WAAWC,CAAAA,GAAAA,OAAAA,UAAU,EAACC,+BAAAA,eAAe;IAC3C,OAAA,WAAA,GAAO,CAAA,GAAA,YAAA,GAAA,EAAA,YAAA,QAAA,EAAA;kBAAGF;;AACZ","ignoreList":[0]}}, - {"offset": {"line": 711, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/server/web/spec-extension/adapters/reflect.ts"],"sourcesContent":["export class ReflectAdapter {\n static get<T extends object>(\n target: T,\n prop: string | symbol,\n receiver: unknown\n ): any {\n const value = Reflect.get(target, prop, receiver)\n if (typeof value === 'function') {\n return value.bind(target)\n }\n\n return value\n }\n\n static set<T extends object>(\n target: T,\n prop: string | symbol,\n value: any,\n receiver: any\n ): boolean {\n return Reflect.set(target, prop, value, receiver)\n }\n\n static has<T extends object>(target: T, prop: string | symbol): boolean {\n return Reflect.has(target, prop)\n }\n\n static deleteProperty<T extends object>(\n target: T,\n prop: string | symbol\n ): boolean {\n return Reflect.deleteProperty(target, prop)\n }\n}\n"],"names":["ReflectAdapter","get","target","prop","receiver","value","Reflect","bind","set","has","deleteProperty"],"mappings":";;;+BAAaA,kBAAAA;;;eAAAA;;;AAAN,MAAMA;IACX,OAAOC,IACLC,MAAS,EACTC,IAAqB,EACrBC,QAAiB,EACZ;QACL,MAAMC,QAAQC,QAAQL,GAAG,CAACC,QAAQC,MAAMC;QACxC,IAAI,OAAOC,UAAU,YAAY;YAC/B,OAAOA,MAAME,IAAI,CAACL;QACpB;QAEA,OAAOG;IACT;IAEA,OAAOG,IACLN,MAAS,EACTC,IAAqB,EACrBE,KAAU,EACVD,QAAa,EACJ;QACT,OAAOE,QAAQE,GAAG,CAACN,QAAQC,MAAME,OAAOD;IAC1C;IAEA,OAAOK,IAAsBP,MAAS,EAAEC,IAAqB,EAAW;QACtE,OAAOG,QAAQG,GAAG,CAACP,QAAQC;IAC7B;IAEA,OAAOO,eACLR,MAAS,EACTC,IAAqB,EACZ;QACT,OAAOG,QAAQI,cAAc,CAACR,QAAQC;IACxC;AACF","ignoreList":[0]}}, - {"offset": {"line": 742, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/shared/lib/utils/reflect-utils.ts"],"sourcesContent":["// This regex will have fast negatives meaning valid identifiers may not pass\n// this test. However this is only used during static generation to provide hints\n// about why a page bailed out of some or all prerendering and we can use bracket notation\n// for example while `ಠ_ಠ` is a valid identifier it's ok to print `searchParams['ಠ_ಠ']`\n// even if this would have been fine too `searchParams.ಠ_ಠ`\nconst isDefinitelyAValidIdentifier = /^[A-Za-z_$][A-Za-z0-9_$]*$/\n\nexport function describeStringPropertyAccess(target: string, prop: string) {\n if (isDefinitelyAValidIdentifier.test(prop)) {\n return `\\`${target}.${prop}\\``\n }\n return `\\`${target}[${JSON.stringify(prop)}]\\``\n}\n\nexport function describeHasCheckingStringProperty(\n target: string,\n prop: string\n) {\n const stringifiedProp = JSON.stringify(prop)\n return `\\`Reflect.has(${target}, ${stringifiedProp})\\`, \\`${stringifiedProp} in ${target}\\`, or similar`\n}\n\nexport const wellKnownProperties = new Set([\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toString',\n 'valueOf',\n 'toLocaleString',\n\n // Promise prototype\n 'then',\n 'catch',\n 'finally',\n\n // React Promise extension\n 'status',\n // 'value',\n // 'error',\n\n // React introspection\n 'displayName',\n '_debugInfo',\n\n // Common tested properties\n 'toJSON',\n '$$typeof',\n '__esModule',\n])\n"],"names":["describeHasCheckingStringProperty","describeStringPropertyAccess","wellKnownProperties","isDefinitelyAValidIdentifier","target","prop","test","JSON","stringify","stringifiedProp","Set"],"mappings":"AAAA,6EAA6E;AAC7E,iFAAiF;AACjF,0FAA0F;AAC1F,uFAAuF;AACvF,2DAA2D;;;;;;;;;;;;;;;;IAU3CA,iCAAiC,EAAA;eAAjCA;;IAPAC,4BAA4B,EAAA;eAA5BA;;IAeHC,mBAAmB,EAAA;eAAnBA;;;AAjBb,MAAMC,+BAA+B;AAE9B,SAASF,6BAA6BG,MAAc,EAAEC,IAAY;IACvE,IAAIF,6BAA6BG,IAAI,CAACD,OAAO;QAC3C,OAAO,CAAC,EAAE,EAAED,OAAO,CAAC,EAAEC,KAAK,EAAE,CAAC;IAChC;IACA,OAAO,CAAC,EAAE,EAAED,OAAO,CAAC,EAAEG,KAAKC,SAAS,CAACH,MAAM,GAAG,CAAC;AACjD;AAEO,SAASL,kCACdI,MAAc,EACdC,IAAY;IAEZ,MAAMI,kBAAkBF,KAAKC,SAAS,CAACH;IACvC,OAAO,CAAC,cAAc,EAAED,OAAO,EAAE,EAAEK,gBAAgB,OAAO,EAAEA,gBAAgB,IAAI,EAAEL,OAAO,cAAc,CAAC;AAC1G;AAEO,MAAMF,sBAAsB,IAAIQ,IAAI;IACzC;IACA;IACA;IACA;IACA;IACA;IAEA,oBAAoB;IACpB;IACA;IACA;IAEA,0BAA0B;IAC1B;IACA,WAAW;IACX,WAAW;IAEX,sBAAsB;IACtB;IACA;IAEA,2BAA2B;IAC3B;IACA;IACA;CACD","ignoreList":[0]}}, - {"offset": {"line": 810, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/request/search-params.browser.dev.ts"],"sourcesContent":["import type { SearchParams } from '../../server/request/search-params'\n\nimport { ReflectAdapter } from '../../server/web/spec-extension/adapters/reflect'\nimport {\n describeStringPropertyAccess,\n describeHasCheckingStringProperty,\n wellKnownProperties,\n} from '../../shared/lib/utils/reflect-utils'\n\ninterface CacheLifetime {}\nconst CachedSearchParams = new WeakMap<CacheLifetime, Promise<SearchParams>>()\n\nfunction makeUntrackedSearchParamsWithDevWarnings(\n underlyingSearchParams: SearchParams\n): Promise<SearchParams> {\n const cachedSearchParams = CachedSearchParams.get(underlyingSearchParams)\n if (cachedSearchParams) {\n return cachedSearchParams\n }\n\n const proxiedProperties = new Set<string>()\n const promise = Promise.resolve(underlyingSearchParams)\n\n Object.keys(underlyingSearchParams).forEach((prop) => {\n if (wellKnownProperties.has(prop)) {\n // These properties cannot be shadowed because they need to be the\n // true underlying value for Promises to work correctly at runtime\n } else {\n proxiedProperties.add(prop)\n }\n })\n\n const proxiedPromise = new Proxy(promise, {\n get(target, prop, receiver) {\n if (typeof prop === 'string') {\n if (\n !wellKnownProperties.has(prop) &&\n (proxiedProperties.has(prop) ||\n // We are accessing a property that doesn't exist on the promise nor\n // the underlying searchParams.\n Reflect.has(target, prop) === false)\n ) {\n const expression = describeStringPropertyAccess('searchParams', prop)\n warnForSyncAccess(expression)\n }\n }\n return ReflectAdapter.get(target, prop, receiver)\n },\n set(target, prop, value, receiver) {\n if (typeof prop === 'string') {\n proxiedProperties.delete(prop)\n }\n return Reflect.set(target, prop, value, receiver)\n },\n has(target, prop) {\n if (typeof prop === 'string') {\n if (\n !wellKnownProperties.has(prop) &&\n (proxiedProperties.has(prop) ||\n // We are accessing a property that doesn't exist on the promise nor\n // the underlying searchParams.\n Reflect.has(target, prop) === false)\n ) {\n const expression = describeHasCheckingStringProperty(\n 'searchParams',\n prop\n )\n warnForSyncAccess(expression)\n }\n }\n return Reflect.has(target, prop)\n },\n ownKeys(target) {\n warnForSyncSpread()\n return Reflect.ownKeys(target)\n },\n })\n\n CachedSearchParams.set(underlyingSearchParams, proxiedPromise)\n return proxiedPromise\n}\n\nfunction warnForSyncAccess(expression: string) {\n console.error(\n `A searchParam property was accessed directly with ${expression}. ` +\n `\\`searchParams\\` is a Promise and must be unwrapped with \\`React.use()\\` before accessing its properties. ` +\n `Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`\n )\n}\n\nfunction warnForSyncSpread() {\n console.error(\n `The keys of \\`searchParams\\` were accessed directly. ` +\n `\\`searchParams\\` is a Promise and must be unwrapped with \\`React.use()\\` before accessing its properties. ` +\n `Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`\n )\n}\n\nexport function createRenderSearchParamsFromClient(\n underlyingSearchParams: SearchParams\n): Promise<SearchParams> {\n return makeUntrackedSearchParamsWithDevWarnings(underlyingSearchParams)\n}\n"],"names":["createRenderSearchParamsFromClient","CachedSearchParams","WeakMap","makeUntrackedSearchParamsWithDevWarnings","underlyingSearchParams","cachedSearchParams","get","proxiedProperties","Set","promise","Promise","resolve","Object","keys","forEach","prop","wellKnownProperties","has","add","proxiedPromise","Proxy","target","receiver","Reflect","expression","describeStringPropertyAccess","warnForSyncAccess","ReflectAdapter","set","value","delete","describeHasCheckingStringProperty","ownKeys","warnForSyncSpread","console","error"],"mappings":";;;+BAkGgBA,sCAAAA;;;eAAAA;;;yBAhGe;8BAKxB;AAGP,MAAMC,qBAAqB,IAAIC;AAE/B,SAASC,yCACPC,sBAAoC;IAEpC,MAAMC,qBAAqBJ,mBAAmBK,GAAG,CAACF;IAClD,IAAIC,oBAAoB;QACtB,OAAOA;IACT;IAEA,M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F;YACA,OAAOD,QAAQN,GAAG,CAACI,QAAQN;QAC7B;QACAiB,SAAQX,MAAM;YACZY;YACA,OAAOV,QAAQS,OAAO,CAACX;QACzB;IACF;IAEApB,mBAAmB2B,GAAG,CAACxB,wBAAwBe;IAC/C,OAAOA;AACT;AAEA,SAASO,kBAAkBF,UAAkB;IAC3CU,QAAQC,KAAK,CACX,CAAC,kDAAkD,EAAEX,WAAW,EAAE,CAAC,GACjE,CAAC,0GAA0G,CAAC,GAC5G,CAAC,8DAA8D,CAAC;AAEtE;AAEA,SAASS;IACPC,QAAQC,KAAK,CACX,CAAC,qDAAqD,CAAC,GACrD,CAAC,0GAA0G,CAAC,GAC5G,CAAC,8DAA8D,CAAC;AAEtE;AAEO,SAASnC,mCACdI,sBAAoC;IAEpC,OAAOD,yCAAyCC;AAClD","ignoreList":[0]}}, - {"offset": {"line": 894, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/request/search-params.browser.ts"],"sourcesContent":["export const createRenderSearchParamsFromClient =\n process.env.NODE_ENV === 'development'\n ? (\n require('./search-params.browser.dev') as typeof import('./search-params.browser.dev')\n ).createRenderSearchParamsFromClient\n : (\n require('./search-params.browser.prod') as typeof import('./search-params.browser.prod')\n ).createRenderSearchParamsFromClient\n"],"names":["createRenderSearchParamsFromClient","process","env","NODE_ENV","require"],"mappings":"AACEC,QAAQC,GAAG,CAACC,QAAQ,KAAK;;;;;+BADdH,sCAAAA;;;eAAAA;;;AAAN,MAAMA,4EAGLI,QAAQ,0HACRJ,kCAAkC,GAElCI,QAAQ,gCACRJ,kCAAkC","ignoreList":[0]}}, - {"offset": {"line": 917, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/request/params.browser.dev.ts"],"sourcesContent":["import type { Params } from '../../server/request/params'\n\nimport { ReflectAdapter } from '../../server/web/spec-extension/adapters/reflect'\nimport {\n describeStringPropertyAccess,\n wellKnownProperties,\n} from '../../shared/lib/utils/reflect-utils'\n\ninterface CacheLifetime {}\nconst CachedParams = new WeakMap<CacheLifetime, Promise<Params>>()\n\nfunction makeDynamicallyTrackedParamsWithDevWarnings(\n underlyingParams: Params\n): Promise<Params> {\n const cachedParams = CachedParams.get(underlyingParams)\n if (cachedParams) {\n return cachedParams\n }\n\n // We don't use makeResolvedReactPromise here because params\n // supports copying with spread and we don't want to unnecessarily\n // instrument the promise with spreadable properties of ReactPromise.\n const promise = Promise.resolve(underlyingParams)\n\n const proxiedProperties = new Set<string>()\n\n Object.keys(underlyingParams).forEach((prop) => {\n if (wellKnownProperties.has(prop)) {\n // These properties cannot be shadowed because they need to be the\n // true underlying value for Promises to work correctly at runtime\n } else {\n proxiedProperties.add(prop)\n }\n })\n\n const proxiedPromise = new Proxy(promise, {\n get(target, prop, receiver) {\n if (typeof prop === 'string') {\n if (\n // We are accessing a property that was proxied to the promise instance\n proxiedProperties.has(prop)\n ) {\n const expression = describeStringPropertyAccess('params', prop)\n warnForSyncAccess(expression)\n }\n }\n return ReflectAdapter.get(target, prop, receiver)\n },\n set(target, prop, value, receiver) {\n if (typeof prop === 'string') {\n proxiedProperties.delete(prop)\n }\n return ReflectAdapter.set(target, prop, value, receiver)\n },\n ownKeys(target) {\n warnForEnumeration()\n return Reflect.ownKeys(target)\n },\n })\n\n CachedParams.set(underlyingParams, proxiedPromise)\n return proxiedPromise\n}\n\nfunction warnForSyncAccess(expression: string) {\n console.error(\n `A param property was accessed directly with ${expression}. ` +\n `\\`params\\` is a Promise and must be unwrapped with \\`React.use()\\` before accessing its properties. ` +\n `Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`\n )\n}\n\nfunction warnForEnumeration() {\n console.error(\n `params are being enumerated. ` +\n `\\`params\\` is a Promise and must be unwrapped with \\`React.use()\\` before accessing its properties. ` +\n `Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`\n )\n}\n\nexport function createRenderParamsFromClient(\n clientParams: Params\n): Promise<Params> {\n return makeDynamicallyTrackedParamsWithDevWarnings(clientParams)\n}\n"],"names":["createRenderParamsFromClient","CachedParams","WeakMap","makeDynamicallyTrackedParamsWithDevWarnings","underlyingParams","cachedParams","get","promise","Promise","resolve","proxiedProperties","Set","Object","keys","forEach","prop","wellKnownProperties","has","add","proxiedPromise","Proxy","target","receiver","expression","describeStringPropertyAccess","warnForSyncAccess","ReflectAdapter","set","value","delete","ownKeys","warnForEnumeration","Reflect","console","error","clientParams"],"mappings":";;;+BAgFgBA,gCAAAA;;;eAAAA;;;yBA9Ee;8BAIxB;AAGP,MAAMC,eAAe,IAAIC;AAEzB,SAASC,4CACPC,gBAAwB;IAExB,MAAMC,eAAeJ,aAAaK,GAAG,CAACF;IACtC,IAAIC,cAAc;QAChB,OAAOA;IACT;IAEA,4DAA4D;IAC5D,kEAAkE;IAClE,qEAAqE;IACrE,MAAME,UAAUC,QAAQC,OAAO,CAACL;IAEhC,MAAMM,oBAAoB,IAAIC;IAE9BC,OAAOC,IAAI,CAACT,kBAAkBU,OAAO,CAAC,CAACC;QACrC,IAAIC,cAAAA,mBAAmB,CAACC,GAAG,CAACF,OAAO;QACjC,kEAAkE;QAClE,kEAAkE;QACpE,OAAO;YACLL,kBAAkBQ,GAAG,CAACH;QACxB;IACF;IAEA,MAAMI,iBAAiB,IAAIC,MAAMb,SAAS;QACxCD,KAAIe,MAAM,EAAEN,IAAI,EAAEO,QAAQ;YACxB,IAAI,OAAOP,SAAS,UAAU;gBAC5B,IACE,AACAL,kBAAkBO,GAAG,CAACF,OACtB,0CAFuE;oBAGvE,MAAMQ,aAAaC,CAAAA,GAAAA,cAAAA,4BAA4B,EAAC,UAAUT;oBAC1DU,kBAAkBF;gBACpB;YACF;YACA,OAAOG,SAAAA,cAAc,CAACpB,GAAG,CAACe,QAAQN,MAAMO;QAC1C;QACAK,KAAIN,MAAM,EAAEN,IAAI,EAAEa,KAAK,EAAEN,QAAQ;YAC/B,IAAI,OAAOP,SAAS,UAAU;gBAC5BL,kBAAkBmB,MAAM,CAACd;YAC3B;YACA,OAAOW,SAAAA,cAAc,CAACC,GAAG,CAACN,QAAQN,MAAMa,OAAON;QACjD;QACAQ,SAAQT,MAAM;YACZU;YACA,OAAOC,QAAQF,OAAO,CAACT;QACzB;IACF;IAEApB,aAAa0B,GAAG,CAACvB,kBAAkBe;IACnC,OAAOA;AACT;AAEA,SAASM,kBAAkBF,UAAkB;IAC3CU,QAAQC,KAAK,CACX,CAAC,4CAA4C,EAAEX,WAAW,EAAE,CAAC,GAC3D,CAAC,oGAAoG,CAAC,GACtG,CAAC,8DAA8D,CAAC;AAEtE;AAEA,SAASQ;IACPE,QAAQC,KAAK,CACX,CAAC,6BAA6B,CAAC,GAC7B,CAAC,oGAAoG,CAAC,GACtG,CAAC,8DAA8D,CAAC;AAEtE;AAEO,SAASlC,6BACdmC,YAAoB;IAEpB,OAAOhC,4CAA4CgC;AACrD","ignoreList":[0]}}, - {"offset": {"line": 991, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/request/params.browser.ts"],"sourcesContent":["export const createRenderParamsFromClient =\n process.env.NODE_ENV === 'development'\n ? (require('./params.browser.dev') as typeof import('./params.browser.dev'))\n .createRenderParamsFromClient\n : (\n require('./params.browser.prod') as typeof import('./params.browser.prod')\n ).createRenderParamsFromClient\n"],"names":["createRenderParamsFromClient","process","env","NODE_ENV","require"],"mappings":"AACEC,QAAQC,GAAG,CAACC,QAAQ,KAAK;;;;;+BADdH,gCAAAA;;;eAAAA;;;AAAN,MAAMA,sEAENI,QAAQ,mHACNJ,4BAA4B,GAE7BI,QAAQ,yBACRJ,4BAA4B","ignoreList":[0]}}, - {"offset": {"line": 1014, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/server/create-deduped-by-callsite-server-error-logger.ts"],"sourcesContent":["import * as React from 'react'\n\nconst errorRef: { current: null | Error } = { current: null }\n\n// React.cache is currently only available in canary/experimental React channels.\nconst cache =\n typeof React.cache === 'function'\n ? React.cache\n : (fn: (key: unknown) => void) => fn\n\n// When Cache Components is enabled, we record these as errors so that they\n// are captured by the dev overlay as it's more critical to fix these\n// when enabled.\nconst logErrorOrWarn = process.env.__NEXT_CACHE_COMPONENTS\n ? console.error\n : console.warn\n\n// We don't want to dedupe across requests.\n// The developer might've just attempted to fix the warning so we should warn again if it still happens.\nconst flushCurrentErrorIfNew = cache(\n // eslint-disable-next-line @typescript-eslint/no-unused-vars -- cache key\n (key: unknown) => {\n try {\n logErrorOrWarn(errorRef.current)\n } finally {\n errorRef.current = null\n }\n }\n)\n\n/**\n * Creates a function that logs an error message that is deduped by the userland\n * callsite.\n * This requires no indirection between the call of this function and the userland\n * callsite i.e. there's only a single library frame above this.\n * Do not use on the Client where sourcemaps and ignore listing might be enabled.\n * Only use that for warnings need a fix independent of the callstack.\n *\n * @param getMessage\n * @returns\n */\nexport function createDedupedByCallsiteServerErrorLoggerDev<Args extends any[]>(\n getMessage: (...args: Args) => Error\n) {\n return function logDedupedError(...args: Args) {\n const message = getMessage(...args)\n\n if (process.env.NODE_ENV !== 'production') {\n const callStackFrames = new Error().stack?.split('\\n')\n if (callStackFrames === undefined || callStackFrames.length < 4) {\n logErrorOrWarn(message)\n } else {\n // Error:\n // logDedupedError\n // asyncApiBeingAccessedSynchronously\n // <userland callsite>\n // TODO: This breaks if sourcemaps with ignore lists are enabled.\n const key = callStackFrames[4]\n errorRef.current = message\n flushCurrentErrorIfNew(key)\n }\n } else {\n logErrorOrWarn(message)\n }\n }\n}\n"],"names":["createDedupedByCallsiteServerErrorLoggerDev","errorRef","current","cache","React","fn","logErrorOrWarn","process","env","__NEXT_CACHE_COMPONENTS","console","error","warn","flushCurrentErrorIfNew","key","getMessage","logDedupedError","args","message","NODE_ENV","callStackFrames","Error","stack","split","undefined","length"],"mappings":"AAauBO,QAAQC,GAAG,CAACC,uBAAuB;;;;;+BA4B1CT,+CAAAA;;;eAAAA;;;+DAzCO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEvB,MAAMC,WAAsC;IAAEC,SAAS;AAAK;AAE5D,iFAAiF;AACjF,MAAMC,QACJ,OAAOC,OAAMD,KAAK,KAAK,aACnBC,OAAMD,KAAK,GACX,CAACE,KAA+BA;AAEtC,2EAA2E;AAC3E,qEAAqE;AACrE,gBAAgB;AAChB,MAAMC,uDACFI,QAAQC,KAAK,aACbD,QAAQE,IAAI;AAEhB,2CAA2C;AAC3C,wGAAwG;AACxG,MAAMC,yBAAyBV,MAC7B,AACA,CAACW,yEADyE;IAExE,IAAI;QACFR,eAAeL,SAASC,OAAO;IACjC,SAAU;QACRD,SAASC,OAAO,GAAG;IACrB;AACF;AAcK,SAASF,4CACde,UAAoC;IAEpC,OAAO,SAASC,gBAAgB,GAAGC,IAAU;QAC3C,MAAMC,UAAUH,cAAcE;QAE9B,IAAIV,QAAQC,GAAG,CAACW,QAAQ,KAAK,WAAc;gBACjB;YAAxB,MAAMC,kBAAAA,CAAkB,SAAA,IAAIC,QAAQC,KAAK,KAAA,OAAA,KAAA,IAAjB,OAAmBC,KAAK,CAAC;YACjD,IAAIH,oBAAoBI,aAAaJ,gBAAgBK,MAAM,GAAG,GAAG;gBAC/DnB,eAAeY;YACjB,OAAO;gBACL,SAAS;gBACT,oBAAoB;gBACpB,uCAAuC;gBACvC,wBAAwB;gBACxB,iEAAiE;gBACjE,MAAMJ,MAAMM,eAAe,CAAC,EAAE;gBAC9BnB,SAASC,OAAO,GAAGgB;gBACnBL,uBAAuBC;YACzB;QACF,OAAO;;IAGT;AACF","ignoreList":[0]}}, - {"offset": {"line": 1111, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/server/app-render/after-task-async-storage-instance.ts"],"sourcesContent":["import type { AfterTaskAsyncStorage } from './after-task-async-storage.external'\nimport { createAsyncLocalStorage } from './async-local-storage'\n\nexport const afterTaskAsyncStorageInstance: AfterTaskAsyncStorage =\n createAsyncLocalStorage()\n"],"names":["afterTaskAsyncStorageInstance","createAsyncLocalStorage"],"mappings":";;;+BAGaA,iCAAAA;;;eAAAA;;;mCAF2B;AAEjC,MAAMA,gCACXC,CAAAA,GAAAA,mBAAAA,uBAAuB","ignoreList":[0]}}, - {"offset": {"line": 1126, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/server/app-render/after-task-async-storage.external.ts"],"sourcesContent":["import type { AsyncLocalStorage } from 'async_hooks'\n\n// Share the instance module in the next-shared layer\nimport { afterTaskAsyncStorageInstance as afterTaskAsyncStorage } from './after-task-async-storage-instance' with { 'turbopack-transition': 'next-shared' }\nimport type { WorkUnitStore } from './work-unit-async-storage.external'\n\nexport interface AfterTaskStore {\n /** The phase in which the topmost `after` was called.\n *\n * NOTE: Can be undefined when running `generateStaticParams`,\n * where we only have a `workStore`, no `workUnitStore`.\n */\n readonly rootTaskSpawnPhase: WorkUnitStore['phase'] | undefined\n}\n\nexport type AfterTaskAsyncStorage = AsyncLocalStorage<AfterTaskStore>\n\nexport { afterTaskAsyncStorage }\n"],"names":["afterTaskAsyncStorage"],"mappings":";;;+BAiBSA,yBAAAA;;;eAAAA,+BAAAA,6BAAqB;;;+CAdyC","ignoreList":[0]}}, - {"offset": {"line": 1140, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/server/request/utils.ts"],"sourcesContent":["import { StaticGenBailoutError } from '../../client/components/static-generation-bailout'\nimport { afterTaskAsyncStorage } from '../app-render/after-task-async-storage.external'\nimport type { WorkStore } from '../app-render/work-async-storage.external'\n\nexport function throwWithStaticGenerationBailoutErrorWithDynamicError(\n route: string,\n expression: string\n): never {\n throw new StaticGenBailoutError(\n `Route ${route} with \\`dynamic = \"error\"\\` couldn't be rendered statically because it used ${expression}. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`\n )\n}\n\nexport function throwForSearchParamsAccessInUseCache(\n workStore: WorkStore,\n constructorOpt: Function\n): never {\n const error = new Error(\n `Route ${workStore.route} used \\`searchParams\\` inside \"use cache\". Accessing dynamic request data inside a cache scope is not supported. If you need some search params inside a cached function await \\`searchParams\\` outside of the cached function and pass only the required search params as arguments to the cached function. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`\n )\n\n Error.captureStackTrace(error, constructorOpt)\n workStore.invalidDynamicUsageError ??= error\n\n throw error\n}\n\nexport function isRequestAPICallableInsideAfter() {\n const afterTaskStore = afterTaskAsyncStorage.getStore()\n return afterTaskStore?.rootTaskSpawnPhase === 'action'\n}\n"],"names":["isRequestAPICallableInsideAfter","throwForSearchParamsAccessInUseCache","throwWithStaticGenerationBailoutErrorWithDynamicError","route","expression","StaticGenBailoutError","workStore","constructorOpt","error","Error","captureStackTrace","invalidDynamicUsageError","afterTaskStore","afterTaskAsyncStorage","getStore","rootTaskSpawnPhase"],"mappings":";;;;;;;;;;;;;;;IA2BgBA,+BAA+B,EAAA;eAA/BA;;IAdAC,oCAAoC,EAAA;eAApCA;;IATAC,qDAAqD,EAAA;eAArDA;;;yCAJsB;+CACA;AAG/B,SAASA,sDACdC,KAAa,EACbC,UAAkB;IAElB,MAAM,OAAA,cAEL,CAFK,IAAIC,yBAAAA,qBAAqB,CAC7B,CAAC,MAAM,EAAEF,MAAM,4EAA4E,EAAEC,WAAW,0HAA0H,CAAC,GAD/N,qBAAA;eAAA;oBAAA;sBAAA;IAEN;AACF;AAEO,SAASH,qCACdK,SAAoB,EACpBC,cAAwB;IAExB,MAAMC,QAAQ,OAAA,cAEb,CAFa,IAAIC,MAChB,CAAC,MAAM,EAAEH,UAAUH,KAAK,CAAC,2XAA2X,CAAC,GADzY,qBAAA;eAAA;oBAAA;sBAAA;IAEd;IAEAM,MAAMC,iBAAiB,CAACF,OAAOD;IAC/BD,UAAUK,wBAAwB,KAAKH;IAEvC,MAAMA;AACR;AAEO,SAASR;IACd,MAAMY,iBAAiBC,+BAAAA,qBAAqB,CAACC,QAAQ;IACrD,OAAOF,CAAAA,kBAAAA,OAAAA,KAAAA,IAAAA,eAAgBG,kBAAkB,MAAK;AAChD","ignoreList":[0]}}, - {"offset": {"line": 1192, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/server/app-render/staged-rendering.ts"],"sourcesContent":["import { InvariantError } from '../../shared/lib/invariant-error'\nimport { createPromiseWithResolvers } from '../../shared/lib/promise-with-resolvers'\n\nexport enum RenderStage {\n Before = 1,\n Static = 2,\n Runtime = 3,\n Dynamic = 4,\n Abandoned = 5,\n}\n\nexport type NonStaticRenderStage = RenderStage.Runtime | RenderStage.Dynamic\n\nexport class StagedRenderingController {\n currentStage: RenderStage = RenderStage.Before\n\n staticInterruptReason: Error | null = null\n runtimeInterruptReason: Error | null = null\n staticStageEndTime: number = Infinity\n runtimeStageEndTime: number = Infinity\n\n private runtimeStageListeners: Array<() => void> = []\n private dynamicStageListeners: Array<() => void> = []\n\n private runtimeStagePromise = createPromiseWithResolvers<void>()\n private dynamicStagePromise = createPromiseWithResolvers<void>()\n\n private mayAbandon: boolean = false\n\n constructor(\n private abortSignal: AbortSignal | null = null,\n private hasRuntimePrefetch: boolean\n ) {\n if (abortSignal) {\n abortSignal.addEventListener(\n 'abort',\n () => {\n const { reason } = abortSignal\n if (this.currentStage < RenderStage.Runtime) {\n this.runtimeStagePromise.promise.catch(ignoreReject) // avoid unhandled rejections\n this.runtimeStagePromise.reject(reason)\n }\n if (\n this.currentStage < RenderStage.Dynamic ||\n this.currentStage === RenderStage.Abandoned\n ) {\n this.dynamicStagePromise.promise.catch(ignoreReject) // avoid unhandled rejections\n this.dynamicStagePromise.reject(reason)\n }\n },\n { once: true }\n )\n\n this.mayAbandon = true\n }\n }\n\n onStage(stage: NonStaticRenderStage, callback: () => void) {\n if (this.currentStage >= stage) {\n callback()\n } else if (stage === RenderStage.Runtime) {\n this.runtimeStageListeners.push(callback)\n } else if (stage === RenderStage.Dynamic) {\n this.dynamicStageListeners.push(callback)\n } else {\n // This should never happen\n throw new InvariantError(`Invalid render stage: ${stage}`)\n }\n }\n\n canSyncInterrupt() {\n // If we haven't started the render yet, it can't be interrupted.\n if (this.currentStage === RenderStage.Before) {\n return false\n }\n\n const boundaryStage = this.hasRuntimePrefetch\n ? RenderStage.Dynamic\n : RenderStage.Runtime\n return this.currentStage < boundaryStage\n }\n\n syncInterruptCurrentStageWithReason(reason: Error) {\n if (this.currentStage === RenderStage.Before) {\n return\n }\n\n // If Sync IO occurs during the initial (abandonable) render, we'll retry it,\n // so we want a slightly different flow.\n // See the implementation of `abandonRenderImpl` for more explanation.\n if (this.mayAbandon) {\n return this.abandonRenderImpl()\n }\n\n // If we're in the final render, we cannot abandon it. We need to advance to the Dynamic stage\n // and capture the interruption reason.\n switch (this.currentStage) {\n case RenderStage.Static: {\n this.staticInterruptReason = reason\n this.advanceStage(RenderStage.Dynamic)\n return\n }\n case RenderStage.Runtime: {\n // We only error for Sync IO in the runtime stage if the route\n // is configured to use runtime prefetching.\n // We do this to reflect the fact that during a runtime prefetch,\n // Sync IO aborts aborts the render.\n // Note that `canSyncInterrupt` should prevent us from getting here at all\n // if runtime prefetching isn't enabled.\n if (this.hasRuntimePrefetch) {\n this.runtimeInterruptReason = reason\n this.advanceStage(RenderStage.Dynamic)\n }\n return\n }\n case RenderStage.Dynamic:\n case RenderStage.Abandoned:\n default:\n }\n }\n\n getStaticInterruptReason() {\n return this.staticInterruptReason\n }\n\n getRuntimeInterruptReason() {\n return this.runtimeInterruptReason\n }\n\n getStaticStageEndTime() {\n return this.staticStageEndTime\n }\n\n getRuntimeStageEndTime() {\n return this.runtimeStageEndTime\n }\n\n abandonRender() {\n if (!this.mayAbandon) {\n throw new InvariantError(\n '`abandonRender` called on a stage controller that cannot be abandoned.'\n )\n }\n\n this.abandonRenderImpl()\n }\n\n private abandonRenderImpl() {\n // In staged rendering, only the initial render is abandonable.\n // We can abandon the initial render if\n // 1. We notice a cache miss, and need to wait for caches to fill\n // 2. A sync IO error occurs, and the render should be interrupted\n // (this might be a lazy intitialization of a module,\n // so we still want to restart in this case and see if it still occurs)\n // In either case, we'll be doing another render after this one,\n // so we only want to unblock the Runtime stage, not Dynamic, because\n // unblocking the dynamic stage would likely lead to wasted (uncached) IO.\n const { currentStage } = this\n switch (currentStage) {\n case RenderStage.Static: {\n this.currentStage = RenderStage.Abandoned\n this.resolveRuntimeStage()\n return\n }\n case RenderStage.Runtime: {\n this.currentStage = RenderStage.Abandoned\n return\n }\n case RenderStage.Dynamic:\n case RenderStage.Before:\n case RenderStage.Abandoned:\n break\n default: {\n currentStage satisfies never\n }\n }\n }\n\n advanceStage(\n stage: RenderStage.Static | RenderStage.Runtime | RenderStage.Dynamic\n ) {\n // If we're already at the target stage or beyond, do nothing.\n // (this can happen e.g. if sync IO advanced us to the dynamic stage)\n if (stage <= this.currentStage) {\n return\n }\n\n let currentStage = this.currentStage\n this.currentStage = stage\n\n if (currentStage < RenderStage.Runtime && stage >= RenderStage.Runtime) {\n this.staticStageEndTime = performance.now() + performance.timeOrigin\n this.resolveRuntimeStage()\n }\n if (currentStage < RenderStage.Dynamic && stage >= RenderStage.Dynamic) {\n this.runtimeStageEndTime = performance.now() + performance.timeOrigin\n this.resolveDynamicStage()\n return\n }\n }\n\n /** Fire the `onStage` listeners for the runtime stage and unblock any promises waiting for it. */\n private resolveRuntimeStage() {\n const runtimeListeners = this.runtimeStageListeners\n for (let i = 0; i < runtimeListeners.length; i++) {\n runtimeListeners[i]()\n }\n runtimeListeners.length = 0\n this.runtimeStagePromise.resolve()\n }\n\n /** Fire the `onStage` listeners for the dynamic stage and unblock any promises waiting for it. */\n private resolveDynamicStage() {\n const dynamicListeners = this.dynamicStageListeners\n for (let i = 0; i < dynamicListeners.length; i++) {\n dynamicListeners[i]()\n }\n dynamicListeners.length = 0\n this.dynamicStagePromise.resolve()\n }\n\n private getStagePromise(stage: NonStaticRenderStage): Promise<void> {\n switch (stage) {\n case RenderStage.Runtime: {\n return this.runtimeStagePromise.promise\n }\n case RenderStage.Dynamic: {\n return this.dynamicStagePromise.promise\n }\n default: {\n stage satisfies never\n throw new InvariantError(`Invalid render stage: ${stage}`)\n }\n }\n }\n\n waitForStage(stage: NonStaticRenderStage) {\n return this.getStagePromise(stage)\n }\n\n delayUntilStage<T>(\n stage: NonStaticRenderStage,\n displayName: string | undefined,\n resolvedValue: T\n ) {\n const ioTriggerPromise = this.getStagePromise(stage)\n\n const promise = makeDevtoolsIOPromiseFromIOTrigger(\n ioTriggerPromise,\n displayName,\n resolvedValue\n )\n\n // Analogously to `makeHangingPromise`, we might reject this promise if the signal is invoked.\n // (e.g. in the case where we don't want want the render to proceed to the dynamic stage and abort it).\n // We shouldn't consider this an unhandled rejection, so we attach a noop catch handler here to suppress this warning.\n if (this.abortSignal) {\n promise.catch(ignoreReject)\n }\n return promise\n }\n}\n\nfunction ignoreReject() {}\n\n// TODO(restart-on-cache-miss): the layering of `delayUntilStage`,\n// `makeDevtoolsIOPromiseFromIOTrigger` and and `makeDevtoolsIOAwarePromise`\n// is confusing, we should clean it up.\nfunction makeDevtoolsIOPromiseFromIOTrigger<T>(\n ioTrigger: Promise<any>,\n displayName: string | undefined,\n resolvedValue: T\n): Promise<T> {\n // If we create a `new Promise` and give it a displayName\n // (with no userspace code above us in the stack)\n // React Devtools will use it as the IO cause when determining \"suspended by\".\n // In particular, it should shadow any inner IO that resolved/rejected the promise\n // (in case of staged rendering, this will be the `setTimeout` that triggers the relevant stage)\n const promise = new Promise<T>((resolve, reject) => {\n ioTrigger.then(resolve.bind(null, resolvedValue), reject)\n })\n if (displayName !== undefined) {\n // @ts-expect-error\n promise.displayName = displayName\n }\n return promise\n}\n"],"names":["RenderStage","StagedRenderingController","constructor","abortSignal","hasRuntimePrefetch","currentStage","staticInterruptReason","runtimeInterruptReason","staticStageEndTime","Infinity","runtimeStageEndTime","runtimeStageListeners","dynamicStageListeners","runtimeStagePromise","createPromiseWithResolvers","dynamicStagePromise","mayAbandon","addEventListener","reason","promise","catch","ignoreReject","reject","once","onStage","stage","callback","push","InvariantError","canSyncInterrupt","boundaryStage","syncInterruptCurrentStageWithReason","abandonRenderImpl","advanceStage","getStaticInterruptReason","getRuntimeInterruptReason","getStaticStageEndTime","getRuntimeStageEndTime","abandonRender","resolveRuntimeStage","performance","now","timeOrigin","resolveDynamicStage","runtimeListeners","i","length","resolve","dynamicListeners","getStagePromise","waitForStage","delayUntilStage","displayName","resolvedValue","ioTriggerPromise","makeDevtoolsIOPromiseFromIOTrigger","ioTrigger","Promise","then","bind","undefined"],"mappings":";;;;;;;;;;;;;;IAGYA,WAAW,EAAA;eAAXA;;IAUCC,yBAAyB,EAAA;eAAzBA;;;gCAbkB;sCACY;AAEpC,IAAKD,cAAAA,WAAAA,GAAAA,SAAAA,WAAAA;;;;;;WAAAA;;AAUL,MAAMC;IAgBXC,YACUC,cAAkC,IAAI,EACtCC,kBAA2B,CACnC;aAFQD,WAAAA,GAAAA;aACAC,kBAAAA,GAAAA;aAjBVC,YAAAA,GAAAA;aAEAC,qBAAAA,GAAsC;aACtCC,sBAAAA,GAAuC;aACvCC,kBAAAA,GAA6BC;aAC7BC,mBAAAA,GAA8BD;aAEtBE,qBAAAA,GAA2C,EAAE;aAC7CC,qBAAAA,GAA2C,EAAE;aAE7CC,mBAAAA,GAAsBC,CAAAA,GAAAA,sBAAAA,0BAA0B;aAChDC,mBAAAA,GAAsBD,CAAAA,GAAAA,sBAAAA,0BAA0B;aAEhDE,UAAAA,GAAsB;QAM5B,IAAIb,aAAa;YACfA,YAAYc,gBAAgB,CAC1B,SACA;gBACE,MAAM,EAAEC,MAAM,EAAE,GAAGf;gBACnB,IAAI,IAAI,CAACE,YAAY,GAAA,GAAwB;oBAC3C,IAAI,CAACQ,mBAAmB,CAACM,OAAO,CAACC,KAAK,CAACC,cAAc,6BAA6B;;oBAClF,IAAI,CAACR,mBAAmB,CAACS,MAAM,CAACJ;gBAClC;gBACA,IACE,IAAI,CAACb,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A;oCAAA;sCAAA;oBAAmD;gBAC3D;QACF;IACF;IAEAyB,aAAazB,KAA2B,EAAE;QACxC,OAAO,IAAI,CAACwB,eAAe,CAACxB;IAC9B;IAEA0B,gBACE1B,KAA2B,EAC3B2B,WAA+B,EAC/BC,aAAgB,EAChB;QACA,MAAMC,mBAAmB,IAAI,CAACL,eAAe,CAACxB;QAE9C,MAAMN,UAAUoC,mCACdD,kBACAF,aACAC;QAGF,8FAA8F;QAC9F,uGAAuG;QACvG,sHAAsH;QACtH,IAAI,IAAI,CAAClD,WAAW,EAAE;YACpBgB,QAAQC,KAAK,CAACC;QAChB;QACA,OAAOF;IACT;AACF;AAEA,SAASE,gBAAgB;AAEzB,kEAAkE;AAClE,4EAA4E;AAC5E,uCAAuC;AACvC,SAASkC,mCACPC,SAAuB,EACvBJ,WAA+B,EAC/BC,aAAgB;IAEhB,yDAAyD;IACzD,iDAAiD;IACjD,8EAA8E;IAC9E,kFAAkF;IAClF,gGAAgG;IAChG,MAAMlC,UAAU,IAAIsC,QAAW,CAACV,SAASzB;QACvCkC,UAAUE,IAAI,CAACX,QAAQY,IAAI,CAAC,MAAMN,gBAAgB/B;IACpD;IACA,IAAI8B,gBAAgBQ,WAAW;QAC7B,mBAAmB;QACnBzC,QAAQiC,WAAW,GAAGA;IACxB;IACA,OAAOjC;AACT","ignoreList":[0]}}, - {"offset": {"line": 1466, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/server/request/search-params.ts"],"sourcesContent":["import type { WorkStore } from '../app-render/work-async-storage.external'\n\nimport { ReflectAdapter } from '../web/spec-extension/adapters/reflect'\nimport {\n throwToInterruptStaticGeneration,\n postponeWithTracking,\n annotateDynamicAccess,\n delayUntilRuntimeStage,\n} from '../app-render/dynamic-rendering'\n\nimport {\n workUnitAsyncStorage,\n type PrerenderStoreLegacy,\n type PrerenderStorePPR,\n type PrerenderStoreModern,\n type PrerenderStoreModernRuntime,\n type StaticPrerenderStore,\n throwInvariantForMissingStore,\n type RequestStore,\n} from '../app-render/work-unit-async-storage.external'\nimport { InvariantError } from '../../shared/lib/invariant-error'\nimport {\n makeDevtoolsIOAwarePromise,\n makeHangingPromise,\n} from '../dynamic-rendering-utils'\nimport { createDedupedByCallsiteServerErrorLoggerDev } from '../create-deduped-by-callsite-server-error-logger'\nimport {\n describeStringPropertyAccess,\n describeHasCheckingStringProperty,\n wellKnownProperties,\n} from '../../shared/lib/utils/reflect-utils'\nimport {\n throwWithStaticGenerationBailoutErrorWithDynamicError,\n throwForSearchParamsAccessInUseCache,\n} from './utils'\nimport { RenderStage } from '../app-render/staged-rendering'\n\nexport type SearchParams = { [key: string]: string | string[] | undefined }\n\nexport function createSearchParamsFromClient(\n underlyingSearchParams: SearchParams,\n workStore: WorkStore\n): Promise<SearchParams> {\n const workUnitStore = workUnitAsyncStorage.getStore()\n if (workUnitStore) {\n switch (workUnitStore.type) {\n case 'prerender':\n case 'prerender-client':\n case 'prerender-ppr':\n case 'prerender-legacy':\n return createStaticPrerenderSearchParams(workStore, workUnitStore)\n case 'prerender-runtime':\n throw new InvariantError(\n 'createSearchParamsFromClient should not be called in a runtime prerender.'\n )\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n throw new InvariantError(\n 'createSearchParamsFromClient should not be called in cache contexts.'\n )\n case 'request':\n return createRenderSearchParams(\n underlyingSearchParams,\n workStore,\n workUnitStore\n )\n default:\n workUnitStore satisfies never\n }\n }\n throwInvariantForMissingStore()\n}\n\n// generateMetadata always runs in RSC context so it is equivalent to a Server Page Component\nexport const createServerSearchParamsForMetadata =\n createServerSearchParamsForServerPage\n\nexport function createServerSearchParamsForServerPage(\n underlyingSearchParams: SearchParams,\n workStore: WorkStore\n): Promise<SearchParams> {\n const workUnitStore = workUnitAsyncStorage.getStore()\n if (workUnitStore) {\n switch (workUnitStore.type) {\n case 'prerender':\n case 'prerender-client':\n case 'prerender-ppr':\n case 'prerender-legacy':\n return createStaticPrerenderSearchParams(workStore, workUnitStore)\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n throw new InvariantError(\n 'createServerSearchParamsForServerPage should not be called in cache contexts.'\n )\n case 'prerender-runtime':\n return createRuntimePrerenderSearchParams(\n underlyingSearchParams,\n workUnitStore\n )\n case 'request':\n return createRenderSearchParams(\n underlyingSearchParams,\n workStore,\n workUnitStore\n )\n default:\n workUnitStore satisfies never\n }\n }\n throwInvariantForMissingStore()\n}\n\nexport function createPrerenderSearchParamsForClientPage(\n workStore: WorkStore\n): Promise<SearchParams> {\n if (workStore.forceStatic) {\n // When using forceStatic we override all other logic and always just return an empty\n // dictionary object.\n return Promise.resolve({})\n }\n\n const workUnitStore = workUnitAsyncStorage.getStore()\n if (workUnitStore) {\n switch (workUnitStore.type) {\n case 'prerender':\n case 'prerender-client':\n // We're prerendering in a mode that aborts (cacheComponents) and should stall\n // the promise to ensure the RSC side is considered dynamic\n return makeHangingPromise(\n workUnitStore.renderSignal,\n workStore.route,\n '`searchParams`'\n )\n case 'prerender-runtime':\n throw new InvariantError(\n 'createPrerenderSearchParamsForClientPage should not be called in a runtime prerender.'\n )\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n throw new InvariantError(\n 'createPrerenderSearchParamsForClientPage should not be called in cache contexts.'\n )\n case 'prerender-ppr':\n case 'prerender-legacy':\n case 'request':\n return Promise.resolve({})\n default:\n workUnitStore satisfies never\n }\n }\n throwInvariantForMissingStore()\n}\n\nfunction createStaticPrerenderSearchParams(\n workStore: WorkStore,\n prerenderStore: StaticPrerenderStore\n): Promise<SearchParams> {\n if (workStore.forceStatic) {\n // When using forceStatic we override all other logic and always just return an empty\n // dictionary object.\n return Promise.resolve({})\n }\n\n switch (prerenderStore.type) {\n case 'prerender':\n case 'prerender-client':\n // We are in a cacheComponents (PPR or otherwise) prerender\n return makeHangingSearchParams(workStore, prerenderStore)\n case 'prerender-ppr':\n case 'prerender-legacy':\n // We are in a legacy static generation and need to interrupt the\n // prerender when search params are accessed.\n return makeErroringSearchParams(workStore, prerenderStore)\n default:\n return prerenderStore satisfies never\n }\n}\n\nfunction createRuntimePrerenderSearchParams(\n underlyingSearchParams: SearchParams,\n workUnitStore: PrerenderStoreModernRuntime\n): Promise<SearchParams> {\n return delayUntilRuntimeStage(\n workUnitStore,\n makeUntrackedSearchParams(underlyingSearchParams)\n )\n}\n\nfunction createRenderSearchParams(\n underlyingSearchParams: SearchParams,\n workStore: WorkStore,\n requestStore: RequestStore\n): Promise<SearchParams> {\n if (workStore.forceStatic) {\n // When using forceStatic we override all other logic and always just return an empty\n // dictionary object.\n return Promise.resolve({})\n } else {\n if (process.env.NODE_ENV === 'development') {\n // Semantically we only need the dev tracking when running in `next dev`\n // but since you would never use next dev with production NODE_ENV we use this\n // as a proxy so we can statically exclude this code from production builds.\n return makeUntrackedSearchParamsWithDevWarnings(\n underlyingSearchParams,\n workStore,\n requestStore\n )\n } else {\n return makeUntrackedSearchParams(underlyingSearchParams)\n }\n }\n}\n\ninterface CacheLifetime {}\nconst CachedSearchParams = new WeakMap<CacheLifetime, Promise<SearchParams>>()\n\nconst CachedSearchParamsForUseCache = new WeakMap<\n CacheLifetime,\n Promise<SearchParams>\n>()\n\nfunction makeHangingSearchParams(\n workStore: WorkStore,\n prerenderStore: PrerenderStoreModern\n): Promise<SearchParams> {\n const cachedSearchParams = CachedSearchParams.get(prerenderStore)\n if (cachedSearchParams) {\n return cachedSearchParams\n }\n\n const promise = makeHangingPromise<SearchParams>(\n prerenderStore.renderSignal,\n workStore.route,\n '`searchParams`'\n )\n\n const proxiedPromise = new Proxy(promise, {\n get(target, prop, receiver) {\n if (Object.hasOwn(promise, prop)) {\n // The promise has this property directly. we must return it.\n // We know it isn't a dynamic access because it can only be something\n // that was previously written to the promise and thus not an underlying searchParam value\n return ReflectAdapter.get(target, prop, receiver)\n }\n\n switch (prop) {\n case 'then': {\n const expression =\n '`await searchParams`, `searchParams.then`, or similar'\n annotateDynamicAccess(expression, prerenderStore)\n return ReflectAdapter.get(target, prop, receiver)\n }\n case 'status': {\n const expression =\n '`use(searchParams)`, `searchParams.status`, or similar'\n annotateDynamicAccess(expression, prerenderStore)\n return ReflectAdapter.get(target, prop, receiver)\n }\n\n default: {\n return ReflectAdapter.get(target, prop, receiver)\n }\n }\n },\n })\n\n CachedSearchParams.set(prerenderStore, proxiedPromise)\n return proxiedPromise\n}\n\nfunction makeErroringSearchParams(\n workStore: WorkStore,\n prerenderStore: PrerenderStoreLegacy | PrerenderStorePPR\n): Promise<SearchParams> {\n const cachedSearchParams = CachedSearchParams.get(workStore)\n if (cachedSearchParams) {\n return cachedSearchParams\n }\n\n const underlyingSearchParams = {}\n // For search params we don't construct a ReactPromise because we want to interrupt\n // rendering on any property access that was not set from outside and so we only want\n // to have properties like value and status if React sets them.\n const promise = Promise.resolve(underlyingSearchParams)\n\n const proxiedPromise = new Proxy(promise, {\n get(target, prop, receiver) {\n if (Object.hasOwn(promise, prop)) {\n // The promise has this property directly. we must return it.\n // We know it isn't a dynamic access because it can only be something\n // that was previously written to the promise and thus not an underlying searchParam value\n return ReflectAdapter.get(target, prop, receiver)\n }\n\n if (typeof prop === 'string' && prop === 'then') {\n const expression =\n '`await searchParams`, `searchParams.then`, or similar'\n if (workStore.dynamicShouldError) {\n throwWithStaticGenerationBailoutErrorWithDynamicError(\n workStore.route,\n expression\n )\n } else if (prerenderStore.type === 'prerender-ppr') {\n // PPR Prerender (no cacheComponents)\n postponeWithTracking(\n workStore.route,\n expression,\n prerenderStore.dynamicTracking\n )\n } else {\n // Legacy Prerender\n throwToInterruptStaticGeneration(\n expression,\n workStore,\n prerenderStore\n )\n }\n }\n return ReflectAdapter.get(target, prop, receiver)\n },\n })\n\n CachedSearchParams.set(workStore, proxiedPromise)\n return proxiedPromise\n}\n\n/**\n * This is a variation of `makeErroringSearchParams` that always throws an\n * error on access, because accessing searchParams inside of `\"use cache\"` is\n * not allowed.\n */\nexport function makeErroringSearchParamsForUseCache(\n workStore: WorkStore\n): Promise<SearchParams> {\n const cachedSearchParams = CachedSearchParamsForUseCache.get(workStore)\n if (cachedSearchParams) {\n return cachedSearchParams\n }\n\n const promise = Promise.resolve({})\n\n const proxiedPromise = new Proxy(promise, {\n get: function get(target, prop, receiver) {\n if (Object.hasOwn(promise, prop)) {\n // The promise has this property directly. we must return it. We know it\n // isn't a dynamic access because it can only be something that was\n // previously written to the promise and thus not an underlying\n // searchParam value\n return ReflectAdapter.get(target, prop, receiver)\n }\n\n if (\n typeof prop === 'string' &&\n (prop === 'then' || !wellKnownProperties.has(prop))\n ) {\n throwForSearchParamsAccessInUseCache(workStore, get)\n }\n\n return ReflectAdapter.get(target, prop, receiver)\n },\n })\n\n CachedSearchParamsForUseCache.set(workStore, proxiedPromise)\n return proxiedPromise\n}\n\nfunction makeUntrackedSearchParams(\n underlyingSearchParams: SearchParams\n): Promise<SearchParams> {\n const cachedSearchParams = CachedSearchParams.get(underlyingSearchParams)\n if (cachedSearchParams) {\n return cachedSearchParams\n }\n\n const promise = Promise.resolve(underlyingSearchParams)\n CachedSearchParams.set(underlyingSearchParams, promise)\n\n return promise\n}\n\nfunction makeUntrackedSearchParamsWithDevWarnings(\n underlyingSearchParams: SearchParams,\n workStore: WorkStore,\n requestStore: RequestStore\n): Promise<SearchParams> {\n if (requestStore.asyncApiPromises) {\n // Do not cache the resulting promise. If we do, we'll only show the first \"awaited at\"\n // across all segments that receive searchParams.\n return makeUntrackedSearchParamsWithDevWarningsImpl(\n underlyingSearchParams,\n workStore,\n requestStore\n )\n } else {\n const cachedSearchParams = CachedSearchParams.get(underlyingSearchParams)\n if (cachedSearchParams) {\n return cachedSearchParams\n }\n const promise = makeUntrackedSearchParamsWithDevWarningsImpl(\n underlyingSearchParams,\n workStore,\n requestStore\n )\n CachedSearchParams.set(requestStore, promise)\n return promise\n }\n}\n\nfunction makeUntrackedSearchParamsWithDevWarningsImpl(\n underlyingSearchParams: SearchParams,\n workStore: WorkStore,\n requestStore: RequestStore\n): Promise<SearchParams> {\n const promiseInitialized = { current: false }\n const proxiedUnderlying = instrumentSearchParamsObjectWithDevWarnings(\n underlyingSearchParams,\n workStore,\n promiseInitialized\n )\n\n let promise: Promise<SearchParams>\n if (requestStore.asyncApiPromises) {\n // We wrap each instance of searchParams in a `new Promise()`.\n // This is important when all awaits are in third party which would otherwise\n // track all the way to the internal params.\n const sharedSearchParamsParent =\n requestStore.asyncApiPromises.sharedSearchParamsParent\n promise = new Promise((resolve, reject) => {\n sharedSearchParamsParent.then(() => resolve(proxiedUnderlying), reject)\n })\n // @ts-expect-error\n promise.displayName = 'searchParams'\n } else {\n promise = makeDevtoolsIOAwarePromise(\n proxiedUnderlying,\n requestStore,\n RenderStage.Runtime\n )\n }\n promise.then(\n () => {\n promiseInitialized.current = true\n },\n // If we're in staged rendering, this promise will reject if the render\n // is aborted before it can reach the runtime stage.\n // In that case, we have to prevent an unhandled rejection from the promise\n // created by this `.then()` call.\n // This does not affect the `promiseInitialized` logic above,\n // because `proxiedUnderlying` will not be used to resolve the promise,\n // so there's no risk of any of its properties being accessed and triggering\n // an undesireable warning.\n ignoreReject\n )\n\n return instrumentSearchParamsPromiseWithDevWarnings(\n underlyingSearchParams,\n promise,\n workStore\n )\n}\n\nfunction ignoreReject() {}\n\nfunction instrumentSearchParamsObjectWithDevWarnings(\n underlyingSearchParams: SearchParams,\n workStore: WorkStore,\n promiseInitialized: { current: boolean }\n) {\n // We have an unfortunate sequence of events that requires this initialization logic. We want to instrument the underlying\n // searchParams object to detect if you are accessing values in dev. This is used for warnings and for things like the static prerender\n // indicator. However when we pass this proxy to our Promise.resolve() below the VM checks if the resolved value is a promise by looking\n // at the `.then` property. To our dynamic tracking logic this is indistinguishable from a `then` searchParam and so we would normally trigger\n // dynamic tracking. However we know that this .then is not real dynamic access, it's just how thenables resolve in sequence. So we introduce\n // this initialization concept so we omit the dynamic check until after we've constructed our resolved promise.\n return new Proxy(underlyingSearchParams, {\n get(target, prop, receiver) {\n if (typeof prop === 'string' && promiseInitialized.current) {\n if (workStore.dynamicShouldError) {\n const expression = describeStringPropertyAccess('searchParams', prop)\n throwWithStaticGenerationBailoutErrorWithDynamicError(\n workStore.route,\n expression\n )\n }\n }\n return ReflectAdapter.get(target, prop, receiver)\n },\n has(target, prop) {\n if (typeof prop === 'string') {\n if (workStore.dynamicShouldError) {\n const expression = describeHasCheckingStringProperty(\n 'searchParams',\n prop\n )\n throwWithStaticGenerationBailoutErrorWithDynamicError(\n workStore.route,\n expression\n )\n }\n }\n return Reflect.has(target, prop)\n },\n ownKeys(target) {\n if (workStore.dynamicShouldError) {\n const expression =\n '`{...searchParams}`, `Object.keys(searchParams)`, or similar'\n throwWithStaticGenerationBailoutErrorWithDynamicError(\n workStore.route,\n expression\n )\n }\n return Reflect.ownKeys(target)\n },\n })\n}\n\nfunction instrumentSearchParamsPromiseWithDevWarnings(\n underlyingSearchParams: SearchParams,\n promise: Promise<SearchParams>,\n workStore: WorkStore\n) {\n // Track which properties we should warn for.\n const proxiedProperties = new Set<string>()\n\n Object.keys(underlyingSearchParams).forEach((prop) => {\n if (wellKnownProperties.has(prop)) {\n // These properties cannot be shadowed because they need to be the\n // true underlying value for Promises to work correctly at runtime\n } else {\n proxiedProperties.add(prop)\n }\n })\n\n return new Proxy(promise, {\n get(target, prop, receiver) {\n if (prop === 'then' && workStore.dynamicShouldError) {\n const expression = '`searchParams.then`'\n throwWithStaticGenerationBailoutErrorWithDynamicError(\n workStore.route,\n expression\n )\n }\n if (typeof prop === 'string') {\n if (\n !wellKnownProperties.has(prop) &&\n (proxiedProperties.has(prop) ||\n // We are accessing a property that doesn't exist on the promise nor\n // the underlying searchParams.\n Reflect.has(target, prop) === false)\n ) {\n const expression = describeStringPropertyAccess('searchParams', prop)\n warnForSyncAccess(workStore.route, expression)\n }\n }\n return ReflectAdapter.get(target, prop, receiver)\n },\n set(target, prop, value, receiver) {\n if (typeof prop === 'string') {\n proxiedProperties.delete(prop)\n }\n return Reflect.set(target, prop, value, receiver)\n },\n has(target, prop) {\n if (typeof prop === 'string') {\n if (\n !wellKnownProperties.has(prop) &&\n (proxiedProperties.has(prop) ||\n // We are accessing a property that doesn't exist on the promise nor\n // the underlying searchParams.\n Reflect.has(target, prop) === false)\n ) {\n const expression = describeHasCheckingStringProperty(\n 'searchParams',\n prop\n )\n warnForSyncAccess(workStore.route, expression)\n }\n }\n return Reflect.has(target, prop)\n },\n ownKeys(target) {\n const expression = '`Object.keys(searchParams)` or similar'\n warnForSyncAccess(workStore.route, expression)\n return Reflect.ownKeys(target)\n },\n })\n}\n\nconst warnForSyncAccess = createDedupedByCallsiteServerErrorLoggerDev(\n createSearchAccessError\n)\n\nfunction createSearchAccessError(\n route: string | undefined,\n expression: string\n) {\n const prefix = route ? `Route \"${route}\" ` : 'This route '\n return new Error(\n `${prefix}used ${expression}. ` +\n `\\`searchParams\\` is a Promise and must be unwrapped with \\`await\\` or \\`React.use()\\` before accessing its properties. ` +\n `Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`\n )\n}\n"],"names":["createPrerenderSearchParamsForClientPage","createSearchParamsFromClient","createServerSearchParamsForMetadata","createServerSearchParamsForServerPage","makeErroringSearchParamsForUseCache","underlyingSearchParams","workStore","workUnitStore","workUnitAsyncStorage","getStore","type","createStaticPrerenderSearchParams","InvariantError","createRenderSearchParams","throwInvariantForMissingStore","createRuntimePrerenderSearchParams","forceStatic","Promise","resolve","makeHangingPromise","renderSignal","route","prerenderStore","makeHangingSearchParams","makeErroringSearchParams","delayUntilRuntimeStage","makeUntrackedSearchParams","requestStore","process","env","NODE_ENV","makeUntrackedSearchParamsWithDevWarnings","CachedSearchParams","WeakMap","CachedSearchParamsForUseCache","cachedSearchParams","get","promise","proxiedPromise","Proxy","target","prop","receiver","Object","hasOwn","ReflectAdapter","expression","annotateDynamicAccess","set","dynamicShouldError","throwWithStaticGenerationBailoutErrorWithDynamicError","postponeWithTracking","dynamicTracking","throwToInterruptStaticGeneration","wellKnownProperties","has","throwForSearchParamsAccessInUseCache","asyncApiPromises","makeUntrackedSearchParamsWithDevWarningsImpl","promiseInitialized","current","proxiedUnderlying","instrumentSearchParamsObjectWithDevWarnings","sharedSearchParamsParent","reject","then","displayName","makeDevtoolsIOAwarePromise","RenderStage","Runtime","ignoreReject","instrumentSearchParamsPromiseWithDevWarnings","describeStringPropertyAccess","describeHasCheckingStringProperty","Reflect","ownKeys","proxiedProperties","Set","keys","forEach","add","warnForSyncAccess","value","delete","createDedupedByCallsiteServerErrorLoggerDev","createSearchAccessError","prefix","Error"],"mappings":"AAyMQ4B,QAAQC,GAAG,CAACC,QAAQ,KAAK;;;;;;;;;;;;;;;;;;;IAvFjB9B,wCAAwC,EAAA;eAAxCA;;IA3EAC,4BAA4B,EAAA;eAA5BA;;IAoCHC,mCAAmC,EAAA;eAAnCA;;IAGGC,qCAAqC,EAAA;eAArCA;;IAgQAC,mCAAmC,EAAA;eAAnCA;;;yBA5Ue;kCAMxB;8CAWA;gCACwB;uCAIxB;0DACqD;8BAKrD;uBAIA;iCACqB;AAIrB,SAASH,6BACdI,sBAAoC,EACpCC,SAAoB;IAEpB,MAAMC,gBAAgBC,8BAAAA,oBAAoB,CAACC,QAAQ;IACnD,IAAIF,eAAe;QACjB,OAAQA,cAAcG,IAAI;YACxB,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;gBACH,OAAOC,kCAAkCL,WAAWC;YACtD,KAAK;gBACH,MAAM,OAAA,cAEL,CAFK,IAAIK,gBAAAA,cAAc,CACtB,8EADI,qBAAA;2BAAA;gCAAA;kCAAA;gBAEN;YACF,KAAK;YACL,KAAK;YACL,KAAK;gBACH,MAAM,OAAA,cAEL,CAFK,IAAIA,gBAAAA,cAAc,CACtB,yEADI,qBAAA;2BAAA;gCAAA;kCAAA;gBAEN;YACF,KAAK;gBACH,OAAOC,yBACLR,wBACAC,WACAC;YAEJ;gBACEA;QACJ;IACF;IACAO,CAAAA,GAAAA,8BAAAA,6BAA6B;AAC/B;AAGO,MAAMZ,sCACXC;AAEK,SAASA,sCACdE,sBAAoC,EACpCC,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;gBAC/BiC,QAAQnB,GAAG,CAACf,QAAQC,UAAU,KAAI,GACpC;oBACA,MAAMK,aAAa2B,CAAAA,GAAAA,cAAAA,iCAAiC,EAClD,gBACAhC;oBAEFwC,kBAAkB3E,UAAUe,KAAK,EAAEyB;gBACrC;YACF;YACA,OAAO4B,QAAQnB,GAAG,CAACf,QAAQC;QAC7B;QACAkC,SAAQnC,MAAM;YACZ,MAAMM,aAAa;YACnBmC,kBAAkB3E,UAAUe,KAAK,EAAEyB;YACnC,OAAO4B,QAAQC,OAAO,CAACnC;QACzB;IACF;AACF;AAEA,MAAMyC,oBAAoBG,CAAAA,GAAAA,0CAAAA,2CAA2C,EACnEC;AAGF,SAASA,wBACPhE,KAAyB,EACzByB,UAAkB;IAElB,MAAMwC,SAASjE,QAAQ,CAAC,OAAO,EAAEA,MAAM,EAAE,CAAC,GAAG;IAC7C,OAAO,OAAA,cAIN,CAJM,IAAIkE,MACT,GAAGD,OAAO,KAAK,EAAExC,WAAW,EAAE,CAAC,GAC7B,CAAC,uHAAuH,CAAC,GACzH,CAAC,8DAA8D,CAAC,GAH7D,qBAAA;eAAA;oBAAA;sBAAA;IAIP;AACF","ignoreList":[0]}}, - {"offset": {"line": 1899, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/server/app-render/dynamic-access-async-storage-instance.ts"],"sourcesContent":["import { createAsyncLocalStorage } from './async-local-storage'\nimport type { DynamicAccessStorage } from './dynamic-access-async-storage.external'\n\nexport const dynamicAccessAsyncStorageInstance: DynamicAccessStorage =\n createAsyncLocalStorage()\n"],"names":["dynamicAccessAsyncStorageInstance","createAsyncLocalStorage"],"mappings":";;;+BAGaA,qCAAAA;;;eAAAA;;;mCAH2B;AAGjC,MAAMA,oCACXC,CAAAA,GAAAA,mBAAAA,uBAAuB","ignoreList":[0]}}, - {"offset": {"line": 1914, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/server/app-render/dynamic-access-async-storage.external.ts"],"sourcesContent":["import type { AsyncLocalStorage } from 'async_hooks'\n\n// Share the instance module in the next-shared layer\nimport { dynamicAccessAsyncStorageInstance } from './dynamic-access-async-storage-instance' with { 'turbopack-transition': 'next-shared' }\n\nexport interface DynamicAccessAsyncStore {\n readonly abortController: AbortController\n}\n\nexport type DynamicAccessStorage = AsyncLocalStorage<DynamicAccessAsyncStore>\nexport { dynamicAccessAsyncStorageInstance as dynamicAccessAsyncStorage }\n"],"names":["dynamicAccessAsyncStorage","dynamicAccessAsyncStorageInstance"],"mappings":";;;+BAU8CA,6BAAAA;;;eAArCC,mCAAAA,iCAAiC;;;mDAPQ","ignoreList":[0]}}, - {"offset": {"line": 1928, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/server/request/params.ts"],"sourcesContent":["import {\n workAsyncStorage,\n type WorkStore,\n} from '../app-render/work-async-storage.external'\nimport type { OpaqueFallbackRouteParams } from './fallback-params'\n\nimport { ReflectAdapter } from '../web/spec-extension/adapters/reflect'\nimport {\n throwToInterruptStaticGeneration,\n postponeWithTracking,\n delayUntilRuntimeStage,\n} from '../app-render/dynamic-rendering'\n\nimport {\n workUnitAsyncStorage,\n type PrerenderStorePPR,\n type PrerenderStoreLegacy,\n type StaticPrerenderStoreModern,\n type StaticPrerenderStore,\n throwInvariantForMissingStore,\n type PrerenderStoreModernRuntime,\n type RequestStore,\n} from '../app-render/work-unit-async-storage.external'\nimport { InvariantError } from '../../shared/lib/invariant-error'\nimport {\n describeStringPropertyAccess,\n wellKnownProperties,\n} from '../../shared/lib/utils/reflect-utils'\nimport {\n makeDevtoolsIOAwarePromise,\n makeHangingPromise,\n} from '../dynamic-rendering-utils'\nimport { createDedupedByCallsiteServerErrorLoggerDev } from '../create-deduped-by-callsite-server-error-logger'\nimport { dynamicAccessAsyncStorage } from '../app-render/dynamic-access-async-storage.external'\nimport { RenderStage } from '../app-render/staged-rendering'\n\nexport type ParamValue = string | Array<string> | undefined\nexport type Params = Record<string, ParamValue>\n\nexport function createParamsFromClient(\n underlyingParams: Params,\n workStore: WorkStore\n): Promise<Params> {\n const workUnitStore = workUnitAsyncStorage.getStore()\n if (workUnitStore) {\n switch (workUnitStore.type) {\n case 'prerender':\n case 'prerender-client':\n case 'prerender-ppr':\n case 'prerender-legacy':\n return createStaticPrerenderParams(\n underlyingParams,\n workStore,\n workUnitStore\n )\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n throw new InvariantError(\n 'createParamsFromClient should not be called in cache contexts.'\n )\n case 'prerender-runtime':\n throw new InvariantError(\n 'createParamsFromClient should not be called in a runtime prerender.'\n )\n case 'request':\n if (process.env.NODE_ENV === 'development') {\n // Semantically we only need the dev tracking when running in `next dev`\n // but since you would never use next dev with production NODE_ENV we use this\n // as a proxy so we can statically exclude this code from production builds.\n const devFallbackParams = workUnitStore.devFallbackParams\n return createRenderParamsInDev(\n underlyingParams,\n devFallbackParams,\n workStore,\n workUnitStore\n )\n } else {\n return createRenderParamsInProd(underlyingParams)\n }\n default:\n workUnitStore satisfies never\n }\n }\n throwInvariantForMissingStore()\n}\n\n// generateMetadata always runs in RSC context so it is equivalent to a Server Page Component\nexport type CreateServerParamsForMetadata = typeof createServerParamsForMetadata\nexport const createServerParamsForMetadata = createServerParamsForServerSegment\n\n// routes always runs in RSC context so it is equivalent to a Server Page Component\nexport function createServerParamsForRoute(\n underlyingParams: Params,\n workStore: WorkStore\n): Promise<Params> {\n const workUnitStore = workUnitAsyncStorage.getStore()\n if (workUnitStore) {\n switch (workUnitStore.type) {\n case 'prerender':\n case 'prerender-client':\n case 'prerender-ppr':\n case 'prerender-legacy':\n return createStaticPrerenderParams(\n underlyingParams,\n workStore,\n workUnitStore\n )\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n throw new InvariantError(\n 'createServerParamsForRoute should not be called in cache contexts.'\n )\n case 'prerender-runtime':\n return createRuntimePrerenderParams(underlyingParams, workUnitStore)\n case 'request':\n if (process.env.NODE_ENV === 'development') {\n // Semantically we only need the dev tracking when running in `next dev`\n // but since you would never use next dev with production NODE_ENV we use this\n // as a proxy so we can statically exclude this code from production builds.\n const devFallbackParams = workUnitStore.devFallbackParams\n return createRenderParamsInDev(\n underlyingParams,\n devFallbackParams,\n workStore,\n workUnitStore\n )\n } else {\n return createRenderParamsInProd(underlyingParams)\n }\n default:\n workUnitStore satisfies never\n }\n }\n throwInvariantForMissingStore()\n}\n\nexport function createServerParamsForServerSegment(\n underlyingParams: Params,\n workStore: WorkStore\n): Promise<Params> {\n const workUnitStore = workUnitAsyncStorage.getStore()\n if (workUnitStore) {\n switch (workUnitStore.type) {\n case 'prerender':\n case 'prerender-client':\n case 'prerender-ppr':\n case 'prerender-legacy':\n return createStaticPrerenderParams(\n underlyingParams,\n workStore,\n workUnitStore\n )\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n throw new InvariantError(\n 'createServerParamsForServerSegment should not be called in cache contexts.'\n )\n case 'prerender-runtime':\n return createRuntimePrerenderParams(underlyingParams, workUnitStore)\n case 'request':\n if (process.env.NODE_ENV === 'development') {\n // Semantically we only need the dev tracking when running in `next dev`\n // but since you would never use next dev with production NODE_ENV we use this\n // as a proxy so we can statically exclude this code from production builds.\n const devFallbackParams = workUnitStore.devFallbackParams\n return createRenderParamsInDev(\n underlyingParams,\n devFallbackParams,\n workStore,\n workUnitStore\n )\n } else {\n return createRenderParamsInProd(underlyingParams)\n }\n default:\n workUnitStore satisfies never\n }\n }\n throwInvariantForMissingStore()\n}\n\nexport function createPrerenderParamsForClientSegment(\n underlyingParams: Params\n): Promise<Params> {\n const workStore = workAsyncStorage.getStore()\n if (!workStore) {\n throw new InvariantError(\n 'Missing workStore in createPrerenderParamsForClientSegment'\n )\n }\n\n const workUnitStore = workUnitAsyncStorage.getStore()\n if (workUnitStore) {\n switch (workUnitStore.type) {\n case 'prerender':\n case 'prerender-client':\n const fallbackParams = workUnitStore.fallbackRouteParams\n if (fallbackParams) {\n for (let key in underlyingParams) {\n if (fallbackParams.has(key)) {\n // This params object has one or more fallback params, so we need\n // to consider the awaiting of this params object \"dynamic\". Since\n // we are in cacheComponents mode we encode this as a promise that never\n // resolves.\n return makeHangingPromise(\n workUnitStore.renderSignal,\n workStore.route,\n '`params`'\n )\n }\n }\n }\n break\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n throw new InvariantError(\n 'createPrerenderParamsForClientSegment should not be called in cache contexts.'\n )\n case 'prerender-ppr':\n case 'prerender-legacy':\n case 'prerender-runtime':\n case 'request':\n break\n default:\n workUnitStore satisfies never\n }\n }\n // We're prerendering in a mode that does not abort. We resolve the promise without\n // any tracking because we're just transporting a value from server to client where the tracking\n // will be applied.\n return Promise.resolve(underlyingParams)\n}\n\nfunction createStaticPrerenderParams(\n underlyingParams: Params,\n workStore: WorkStore,\n prerenderStore: StaticPrerenderStore\n): Promise<Params> {\n switch (prerenderStore.type) {\n case 'prerender':\n case 'prerender-client': {\n const fallbackParams = prerenderStore.fallbackRouteParams\n if (fallbackParams) {\n for (const key in underlyingParams) {\n if (fallbackParams.has(key)) {\n // This params object has one or more fallback params, so we need\n // to consider the awaiting of this params object \"dynamic\". Since\n // we are in cacheComponents mode we encode this as a promise that never\n // resolves.\n return makeHangingParams(\n underlyingParams,\n workStore,\n prerenderStore\n )\n }\n }\n }\n break\n }\n case 'prerender-ppr': {\n const fallbackParams = prerenderStore.fallbackRouteParams\n if (fallbackParams) {\n for (const key in underlyingParams) {\n if (fallbackParams.has(key)) {\n return makeErroringParams(\n underlyingParams,\n fallbackParams,\n workStore,\n prerenderStore\n )\n }\n }\n }\n break\n }\n case 'prerender-legacy':\n break\n default:\n prerenderStore satisfies never\n }\n\n return makeUntrackedParams(underlyingParams)\n}\n\nfunction createRuntimePrerenderParams(\n underlyingParams: Params,\n workUnitStore: PrerenderStoreModernRuntime\n): Promise<Params> {\n return delayUntilRuntimeStage(\n workUnitStore,\n makeUntrackedParams(underlyingParams)\n )\n}\n\nfunction createRenderParamsInProd(underlyingParams: Params): Promise<Params> {\n return makeUntrackedParams(underlyingParams)\n}\n\nfunction createRenderParamsInDev(\n underlyingParams: Params,\n devFallbackParams: OpaqueFallbackRouteParams | null | undefined,\n workStore: WorkStore,\n requestStore: RequestStore\n): Promise<Params> {\n let hasFallbackParams = false\n if (devFallbackParams) {\n for (let key in underlyingParams) {\n if (devFallbackParams.has(key)) {\n hasFallbackParams = true\n break\n }\n }\n }\n\n return makeDynamicallyTrackedParamsWithDevWarnings(\n underlyingParams,\n hasFallbackParams,\n workStore,\n requestStore\n )\n}\n\ninterface CacheLifetime {}\nconst CachedParams = new WeakMap<CacheLifetime, Promise<Params>>()\n\nconst fallbackParamsProxyHandler: ProxyHandler<Promise<Params>> = {\n get: function get(target, prop, receiver) {\n if (prop === 'then' || prop === 'catch' || prop === 'finally') {\n const originalMethod = ReflectAdapter.get(target, prop, receiver)\n\n return {\n [prop]: (...args: unknown[]) => {\n const store = dynamicAccessAsyncStorage.getStore()\n\n if (store) {\n store.abortController.abort(\n new Error(`Accessed fallback \\`params\\` during prerendering.`)\n )\n }\n\n return new Proxy(\n originalMethod.apply(target, args),\n fallbackParamsProxyHandler\n )\n },\n }[prop]\n }\n\n return ReflectAdapter.get(target, prop, receiver)\n },\n}\n\nfunction makeHangingParams(\n underlyingParams: Params,\n workStore: WorkStore,\n prerenderStore: StaticPrerenderStoreModern\n): Promise<Params> {\n const cachedParams = CachedParams.get(underlyingParams)\n if (cachedParams) {\n return cachedParams\n }\n\n const promise = new Proxy(\n makeHangingPromise<Params>(\n prerenderStore.renderSignal,\n workStore.route,\n '`params`'\n ),\n fallbackParamsProxyHandler\n )\n\n CachedParams.set(underlyingParams, promise)\n\n return promise\n}\n\nfunction makeErroringParams(\n underlyingParams: Params,\n fallbackParams: OpaqueFallbackRouteParams,\n workStore: WorkStore,\n prerenderStore: PrerenderStorePPR | PrerenderStoreLegacy\n): Promise<Params> {\n const cachedParams = CachedParams.get(underlyingParams)\n if (cachedParams) {\n return cachedParams\n }\n\n const augmentedUnderlying = { ...underlyingParams }\n\n // We don't use makeResolvedReactPromise here because params\n // supports copying with spread and we don't want to unnecessarily\n // instrument the promise with spreadable properties of ReactPromise.\n const promise = Promise.resolve(augmentedUnderlying)\n CachedParams.set(underlyingParams, promise)\n\n Object.keys(underlyingParams).forEach((prop) => {\n if (wellKnownProperties.has(prop)) {\n // These properties cannot be shadowed because they need to be the\n // true underlying value for Promises to work correctly at runtime\n } else {\n if (fallbackParams.has(prop)) {\n Object.defineProperty(augmentedUnderlying, prop, {\n get() {\n const expression = describeStringPropertyAccess('params', prop)\n // In most dynamic APIs we also throw if `dynamic = \"error\"` however\n // for params is only dynamic when we're generating a fallback shell\n // and even when `dynamic = \"error\"` we still support generating dynamic\n // fallback shells\n // TODO remove this comment when cacheComponents is the default since there\n // will be no `dynamic = \"error\"`\n if (prerenderStore.type === 'prerender-ppr') {\n // PPR Prerender (no cacheComponents)\n postponeWithTracking(\n workStore.route,\n expression,\n prerenderStore.dynamicTracking\n )\n } else {\n // Legacy Prerender\n throwToInterruptStaticGeneration(\n expression,\n workStore,\n prerenderStore\n )\n }\n },\n enumerable: true,\n })\n }\n }\n })\n\n return promise\n}\n\nfunction makeUntrackedParams(underlyingParams: Params): Promise<Params> {\n const cachedParams = CachedParams.get(underlyingParams)\n if (cachedParams) {\n return cachedParams\n }\n\n const promise = Promise.resolve(underlyingParams)\n CachedParams.set(underlyingParams, promise)\n\n return promise\n}\n\nfunction makeDynamicallyTrackedParamsWithDevWarnings(\n underlyingParams: Params,\n hasFallbackParams: boolean,\n workStore: WorkStore,\n requestStore: RequestStore\n): Promise<Params> {\n if (requestStore.asyncApiPromises && hasFallbackParams) {\n // We wrap each instance of params in a `new Promise()`, because deduping\n // them across requests doesn't work anyway and this let us show each\n // await a different set of values. This is important when all awaits\n // are in third party which would otherwise track all the way to the\n // internal params.\n const sharedParamsParent = requestStore.asyncApiPromises.sharedParamsParent\n const promise: Promise<Params> = new Promise((resolve, reject) => {\n sharedParamsParent.then(() => resolve(underlyingParams), reject)\n })\n // @ts-expect-error\n promise.displayName = 'params'\n return instrumentParamsPromiseWithDevWarnings(\n underlyingParams,\n promise,\n workStore\n )\n }\n\n const cachedParams = CachedParams.get(underlyingParams)\n if (cachedParams) {\n return cachedParams\n }\n\n // We don't use makeResolvedReactPromise here because params\n // supports copying with spread and we don't want to unnecessarily\n // instrument the promise with spreadable properties of ReactPromise.\n const promise = hasFallbackParams\n ? makeDevtoolsIOAwarePromise(\n underlyingParams,\n requestStore,\n RenderStage.Runtime\n )\n : // We don't want to force an environment transition when this params is not part of the fallback params set\n Promise.resolve(underlyingParams)\n\n const proxiedPromise = instrumentParamsPromiseWithDevWarnings(\n underlyingParams,\n promise,\n workStore\n )\n CachedParams.set(underlyingParams, proxiedPromise)\n return proxiedPromise\n}\n\nfunction instrumentParamsPromiseWithDevWarnings(\n underlyingParams: Params,\n promise: Promise<Params>,\n workStore: WorkStore\n): Promise<Params> {\n // Track which properties we should warn for.\n const proxiedProperties = new Set<string>()\n\n Object.keys(underlyingParams).forEach((prop) => {\n if (wellKnownProperties.has(prop)) {\n // These properties cannot be shadowed because they need to be the\n // true underlying value for Promises to work correctly at runtime\n } else {\n proxiedProperties.add(prop)\n }\n })\n\n return new Proxy(promise, {\n get(target, prop, receiver) {\n if (typeof prop === 'string') {\n if (\n // We are accessing a property that was proxied to the promise instance\n proxiedProperties.has(prop)\n ) {\n const expression = describeStringPropertyAccess('params', prop)\n warnForSyncAccess(workStore.route, expression)\n }\n }\n return ReflectAdapter.get(target, prop, receiver)\n },\n set(target, prop, value, receiver) {\n if (typeof prop === 'string') {\n proxiedProperties.delete(prop)\n }\n return ReflectAdapter.set(target, prop, value, receiver)\n },\n ownKeys(target) {\n const expression = '`...params` or similar expression'\n warnForSyncAccess(workStore.route, expression)\n return Reflect.ownKeys(target)\n },\n })\n}\n\nconst warnForSyncAccess = createDedupedByCallsiteServerErrorLoggerDev(\n createParamsAccessError\n)\n\nfunction createParamsAccessError(\n route: string | undefined,\n expression: string\n) {\n const prefix = route ? `Route \"${route}\" ` : 'This route '\n return new Error(\n `${prefix}used ${expression}. ` +\n `\\`params\\` is a Promise and must be unwrapped with \\`await\\` or \\`React.use()\\` before accessing its properties. ` +\n `Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`\n )\n}\n"],"names":["createParamsFromClient","createPrerenderParamsForClientSegment","createServerParamsForMetadata","createServerParamsForRoute","createServerParamsForServerSegment","underlyingParams","workStore","workUnitStore","workUnitAsyncStorage","getStore","type","createStaticPrerenderParams","InvariantError","process","env","NODE_ENV","devFallbackParams","createRenderParamsInDev","createRenderParamsInProd","throwInvariantForMissingStore","createRuntimePrerenderParams","workAsyncStorage","fallbackParams","fallbackRouteParams","key","has","makeHangingPromise","renderSignal","route","Promise","resolve","prerenderStore","makeHangingParams","makeErroringParams","makeUntrackedParams","delayUntilRuntimeStage","requestStore","hasFallbackParams","makeDynamicallyTrackedParamsWithDevWarnings","CachedParams","WeakMap","fallbackParamsProxyHandler","get","target","prop","receiver","originalMethod","ReflectAdapter","args","store","dynamicAccessAsyncStorage","abortController","abort","Error","Proxy","apply","cachedParams","promise","set","augmentedUnderlying","Object","keys","forEach","wellKnownProperties","defineProperty","expression","describeStringPropertyAccess","postponeWithTracking","dynamicTracking","throwToInterruptStaticGeneration","enumerable","asyncApiPromises","sharedParamsParent","reject","then","displayName","instrumentParamsPromiseWithDevWarnings","makeDevtoolsIOAwarePromise","RenderStage","Runtime","proxiedPromise","proxiedProperties","Set","add","warnForSyncAccess","value","delete","ownKeys","Reflect","createDedupedByCallsiteServerErrorLoggerDev","createParamsAccessError","prefix"],"mappings":"AAkEYa,QAAQC,GAAG,CAACC,QAAQ,KAAK;;;;;;;;;;;;;;;;;;;IA3BrBf,sBAAsB,EAAA;eAAtBA;;IAiJAC,qCAAqC,EAAA;eAArCA;;IA/FHC,6BAA6B,EAAA;eAA7BA;;IAGGC,0BAA0B,EAAA;eAA1BA;;IA8CAC,kCA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AAIyB,MACT,GAAGsC,OAAO,KAAK,EAAE1B,WAAW,EAAE,CAAC,GAC7B,CAAC,iHAAiH,CAAC,GACnH,CAAC,8DAA8D,CAAC,GAH7D,qBAAA;eAAA;oBAAA;sBAAA;IAIP;AACF","ignoreList":[0]}}, - {"offset": {"line": 2342, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/client-page.tsx"],"sourcesContent":["'use client'\n\nimport type { ParsedUrlQuery } from 'querystring'\nimport { InvariantError } from '../../shared/lib/invariant-error'\n\nimport type { Params } from '../../server/request/params'\nimport { LayoutRouterContext } from '../../shared/lib/app-router-context.shared-runtime'\nimport { use } from 'react'\nimport { urlSearchParamsToParsedUrlQuery } from '../route-params'\nimport { SearchParamsContext } from '../../shared/lib/hooks-client-context.shared-runtime'\n\n/**\n * When the Page is a client component we send the params and searchParams to this client wrapper\n * where they are turned into dynamically tracked values before being passed to the actual Page component.\n *\n * additionally we may send promises representing the params and searchParams. We don't ever use these passed\n * values but it can be necessary for the sender to send a Promise that doesn't resolve in certain situations.\n * It is up to the caller to decide if the promises are needed.\n */\nexport function ClientPageRoot({\n Component,\n serverProvidedParams,\n}: {\n Component: React.ComponentType<any>\n serverProvidedParams: null | {\n searchParams: ParsedUrlQuery\n params: Params\n promises: Array<Promise<any>> | null\n }\n}) {\n let searchParams: ParsedUrlQuery\n let params: Params\n if (serverProvidedParams !== null) {\n searchParams = serverProvidedParams.searchParams\n params = serverProvidedParams.params\n } else {\n // When Cache Components is enabled, the server does not pass the params as\n // props; they are parsed on the client and passed via context.\n const layoutRouterContext = use(LayoutRouterContext)\n params =\n layoutRouterContext !== null ? layoutRouterContext.parentParams : {}\n\n // This is an intentional behavior change: when Cache Components is enabled,\n // client segments receive the \"canonical\" search params, not the\n // rewritten ones. Users should either call useSearchParams directly or pass\n // the rewritten ones in from a Server Component.\n // TODO: Log a deprecation error when this object is accessed\n searchParams = urlSearchParamsToParsedUrlQuery(use(SearchParamsContext)!)\n }\n\n if (typeof window === 'undefined') {\n const { workAsyncStorage } =\n require('../../server/app-render/work-async-storage.external') as typeof import('../../server/app-render/work-async-storage.external')\n\n let clientSearchParams: Promise<ParsedUrlQuery>\n let clientParams: Promise<Params>\n // We are going to instrument the searchParams prop with tracking for the\n // appropriate context. We wrap differently in prerendering vs rendering\n const store = workAsyncStorage.getStore()\n if (!store) {\n throw new InvariantError(\n 'Expected workStore to exist when handling searchParams in a client Page.'\n )\n }\n\n const { createSearchParamsFromClient } =\n require('../../server/request/search-params') as typeof import('../../server/request/search-params')\n clientSearchParams = createSearchParamsFromClient(searchParams, store)\n\n const { createParamsFromClient } =\n require('../../server/request/params') as typeof import('../../server/request/params')\n clientParams = createParamsFromClient(params, store)\n\n return <Component params={clientParams} searchParams={clientSearchParams} />\n } else {\n const { createRenderSearchParamsFromClient } =\n require('../request/search-params.browser') as typeof import('../request/search-params.browser')\n const clientSearchParams = createRenderSearchParamsFromClient(searchParams)\n const { createRenderParamsFromClient } =\n require('../request/params.browser') as typeof import('../request/params.browser')\n const clientParams = createRenderParamsFromClient(params)\n\n return <Component params={clientParams} searchParams={clientSearchParams} />\n }\n}\n"],"names":["ClientPageRoot","Component","serverProvidedParams","searchParams","params","layoutRouterContext","use","LayoutRouterContext","parentParams","urlSearchParamsToParsedUrlQuery","SearchParamsContext","window","workAsyncStorage","require","clientSearchParams","clientParams","store","getStore","InvariantError","createSearchParamsFromClient","createParamsFromClient","createRenderSearchParamsFromClient","createRenderParamsFromClient"],"mappings":";;;+BAmBgBA,kBAAAA;;;eAAAA;;;;gCAhBe;+CAGK;uBAChB;6BAC4B;iDACZ;AAU7B,SAASA,eAAe,EAC7BC,SAAS,EACTC,oBAAoB,EAQrB;IACC,IAAIC;IACJ,IAAIC;IACJ,IAAIF,yBAAyB,MAAM;QACjCC,eAAeD,qBAAqBC,YAAY;QAChDC,SAASF,qBAAqBE,MAAM;IACtC,OAAO;QACL,2EAA2E;QAC3E,+DAA+D;QAC/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src/client/components/client-segment.tsx"],"sourcesContent":["'use client'\n\nimport { InvariantError } from '../../shared/lib/invariant-error'\n\nimport type { Params } from '../../server/request/params'\nimport { LayoutRouterContext } from '../../shared/lib/app-router-context.shared-runtime'\nimport { use } from 'react'\n\n/**\n * When the Page is a client component we send the params to this client wrapper\n * where they are turned into dynamically tracked values before being passed to the actual Segment component.\n *\n * additionally we may send a promise representing params. We don't ever use this passed\n * value but it can be necessary for the sender to send a Promise that doesn't resolve in certain situations\n * such as when cacheComponents is enabled. It is up to the caller to decide if the promises are needed.\n */\nexport function ClientSegmentRoot({\n Component,\n slots,\n serverProvidedParams,\n}: {\n Component: React.ComponentType<any>\n slots: { [key: string]: React.ReactNode }\n serverProvidedParams: null | {\n params: Params\n promises: Array<Promise<any>> | null\n }\n}) {\n let params: Params\n if (serverProvidedParams !== null) {\n params = serverProvidedParams.params\n } else {\n // When Cache Components is enabled, the server does not pass the params\n // as props; they are parsed on the client and passed via context.\n const layoutRouterContext = use(LayoutRouterContext)\n params =\n layoutRouterContext !== null ? layoutRouterContext.parentParams : {}\n }\n\n if (typeof window === 'undefined') {\n const { workAsyncStorage } =\n require('../../server/app-render/work-async-storage.external') as typeof import('../../server/app-render/work-async-storage.external')\n\n let clientParams: Promise<Params>\n // We are going to instrument the searchParams prop with tracking for the\n // appropriate context. We wrap differently in prerendering vs rendering\n const store = workAsyncStorage.getStore()\n if (!store) {\n throw new InvariantError(\n 'Expected workStore to exist when handling params in a client segment such as a Layout or Template.'\n )\n }\n\n const { createParamsFromClient } =\n require('../../server/request/params') as typeof import('../../server/request/params')\n clientParams = createParamsFromClient(params, store)\n\n return <Component {...slots} params={clientParams} />\n } else {\n const { createRenderParamsFromClient } =\n require('../request/params.browser') as typeof import('../request/params.browser')\n const clientParams = createRenderParamsFromClient(params)\n return <Component {...slots} params={clientParams} />\n }\n}\n"],"names":["ClientSegmentRoot","Component","slots","serverProvidedParams","params","layoutRouterContext","use","LayoutRouterContext","parentParams","window","workAsyncStorage","require","clientParams","store","getStore","InvariantError","createParamsFromClient","createRenderParamsFromClient"],"mappings":";;;+BAgBgBA,qBAAAA;;;eAAAA;;;;gCAde;+CAGK;uBAChB;AAUb,SAASA,kBAAkB,EAChCC,SAAS,EACTC,KAAK,EACLC,oBAAoB,EAQrB;IACC,IAAIC;IACJ,IAAID,yBAAyB,MAAM;QACjCC,SAASD,qBAAqBC,MAAM;IACtC,OAAO;QACL,wEAAwE;QACxE,kEAAkE;QAClE,MAAMC,sBAAsBC,CAAAA,GAAAA,OAAAA,GAAG,EAACC,+BAAAA,mBAAmB;QACnDH,SACEC,wBAAwB,OAAOA,oBAAoBG,YAAY,GAAG,CAAC;IACvE;IAEA,IAAI,OAAOC,WAAW,aAAa;QACjC,MAAM,EAAEC,gBAAgB,EAAE,GACxBC,QAAQ;QAEV,IAAIC;QACJ,yEAAyE;QACzE,wEAAwE;QACxE,MAAMC,QAAQH,iBAAiBI,QAAQ;QACvC,IAAI,CAACD,OAAO;YACV,MAAM,OAAA,cAEL,CAFK,IAAIE,gBAAAA,cAAc,CACtB,uGADI,qBAAA;uBAAA;4BAAA;8BAAA;YAEN;QACF;QAEA,MAAM,EAAEC,sBAAsB,EAAE,GAC9BL,QAAQ;QACVC,eAAeI,uBAAuBZ,QAAQS;QAE9C,OAAA,WAAA,GAAO,CAAA,GAAA,YAAA,GAAA,EAACZ,WAAAA;YAAW,GAAGC,KAAK;YAAEE,QAAQQ;;IACvC,OAAO;QACL,MAAM,EAAEK,4BAA4B,EAAE,GACpCN,QAAQ;QACV,MAAMC,eAAeK,6BAA6Bb;QAClD,OAAA,WAAA,GAAO,CAAA,GAAA,YAAA,GAAA,EAACH,WAAAA;YAAW,GAAGC,KAAK;YAAEE,QAAQQ;;IACvC;AACF","ignoreList":[0]}}, - {"offset": {"line": 2481, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/lib/metadata/generate/icon-mark.tsx"],"sourcesContent":["'use client'\n\n// This is a client component that only renders during SSR,\n// but will be replaced during streaming with an icon insertion script tag.\n// We don't want it to be presented anywhere so it's only visible during streaming,\n// right after the icon meta tags so that browser can pick it up as soon as it's rendered.\n// Note: we don't just emit the script here because we only need the script if it's not in the head,\n// and we need it to be hoistable alongside the other metadata but sync scripts are not hoistable.\nexport const IconMark = () => {\n if (typeof window !== 'undefined') {\n return null\n }\n return <meta name=\"«nxt-icon»\" />\n}\n"],"names":["IconMark","window","meta","name"],"mappings":";;;+BAQaA,YAAAA;;;eAAAA;;;;AAAN,MAAMA,WAAW;IACtB,IAAI,OAAOC,WAAW,aAAa;QACjC,OAAO;IACT;IACA,OAAA,WAAA,GAAO,CAAA,GAAA,YAAA,GAAA,EAACC,QAAAA;QAAKC,MAAK;;AACpB","ignoreList":[0]}}] -} \ No newline at end of file diff --git a/.next/dev/static/chunks/node_modules_next_dist_build_polyfills_polyfill-nomodule.js b/.next/dev/static/chunks/node_modules_next_dist_build_polyfills_polyfill-nomodule.js deleted file mode 100644 index ab422b9..0000000 --- a/.next/dev/static/chunks/node_modules_next_dist_build_polyfills_polyfill-nomodule.js +++ /dev/null @@ -1 +0,0 @@ -!function(){var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t){var e={exports:{}};return t(e,e.exports),e.exports}var r,n,o=function(t){return t&&t.Math===Math&&t},i=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof t&&t)||o("object"==typeof t&&t)||function(){return this}()||Function("return this")(),a=function(t){try{return!!t()}catch(t){return!0}},u=!a(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}),s=!a(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}),c=Function.prototype.call,f=s?c.bind(c):function(){return c.apply(c,arguments)},l={}.propertyIsEnumerable,h=Object.getOwnPropertyDescriptor,p=h&&!l.call({1:2},1)?function(t){var e=h(this,t);return!!e&&e.enumerable}:l,v={f:p},d=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},g=Function.prototype,y=g.call,m=s&&g.bind.bind(y,y),b=s?m:function(t){return function(){return y.apply(t,arguments)}},w=b({}.toString),S=b("".slice),E=function(t){return S(w(t),8,-1)},O=Object,x=b("".split),R=a(function(){return!O("z").propertyIsEnumerable(0)})?function(t){return"String"===E(t)?x(t,""):O(t)}:O,P=function(t){return null==t},A=TypeError,j=function(t){if(P(t))throw new A("Can't call method on "+t);return t},k=function(t){return R(j(t))},I="object"==typeof document&&document.all,T=void 0===I&&void 0!==I?function(t){return"function"==typeof t||t===I}:function(t){return"function"==typeof t},M=function(t){return"object"==typeof t?null!==t:T(t)},L=function(t,e){return arguments.length<2?T(r=i[t])?r:void 0:i[t]&&i[t][e];var r},U=b({}.isPrototypeOf),N=i.navigator,C=N&&N.userAgent,_=C?String(C):"",F=i.process,B=i.Deno,D=F&&F.versions||B&&B.version,z=D&&D.v8;z&&(n=(r=z.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!n&&_&&(!(r=_.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=_.match(/Chrome\/(\d+)/))&&(n=+r[1]);var W=n,q=i.String,H=!!Object.getOwnPropertySymbols&&!a(function(){var t=Symbol("symbol detection");return!q(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&W&&W<41}),$=H&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,K=Object,G=$?function(t){return"symbol"==typeof t}:function(t){var e=L("Symbol");return T(e)&&U(e.prototype,K(t))},V=String,Y=function(t){try{return V(t)}catch(t){return"Object"}},X=TypeError,J=function(t){if(T(t))return t;throw new X(Y(t)+" is not a function")},Q=function(t,e){var r=t[e];return P(r)?void 0:J(r)},Z=TypeError,tt=Object.defineProperty,et=function(t,e){try{tt(i,t,{value:e,configurable:!0,writable:!0})}catch(r){i[t]=e}return e},rt=e(function(t){var e="__core-js_shared__",r=t.exports=i[e]||et(e,{});(r.versions||(r.versions=[])).push({version:"3.38.1",mode:"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"})}),nt=function(t,e){return rt[t]||(rt[t]=e||{})},ot=Object,it=function(t){return ot(j(t))},at=b({}.hasOwnProperty),ut=Object.hasOwn||function(t,e){return at(it(t),e)},st=0,ct=Math.random(),ft=b(1..toString),lt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+ft(++st+ct,36)},ht=i.Symbol,pt=nt("wks"),vt=$?ht.for||ht:ht&&ht.withoutSetter||lt,dt=function(t){return ut(pt,t)||(pt[t]=H&&ut(ht,t)?ht[t]:vt("Symbol."+t)),pt[t]},gt=TypeError,yt=dt("toPrimitive"),mt=function(t,e){if(!M(t)||G(t))return t;var r,n=Q(t,yt);if(n){if(void 0===e&&(e="default"),r=f(n,t,e),!M(r)||G(r))return r;throw new gt("Can't convert object to primitive value")}return void 0===e&&(e="number"),function(t,e){var r,n;if("string"===e&&T(r=t.toString)&&!M(n=f(r,t)))return n;if(T(r=t.valueOf)&&!M(n=f(r,t)))return n;if("string"!==e&&T(r=t.toString)&&!M(n=f(r,t)))return n;throw new Z("Can't convert object to primitive value")}(t,e)},bt=function(t){var e=mt(t,"string");return G(e)?e:e+""},wt=i.document,St=M(wt)&&M(wt.createElement),Et=function(t){return St?wt.createElement(t):{}},Ot=!u&&!a(function(){return 7!==Object.defineProperty(Et("div"),"a",{get:function(){return 7}}).a}),xt=Object.getOwnPropertyDescriptor,Rt={f:u?xt:function(t,e){if(t=k(t),e=bt(e),Ot)try{return xt(t,e)}catch(t){}if(ut(t,e))return d(!f(v.f,t,e),t[e])}},Pt=u&&a(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}),At=String,jt=TypeError,kt=function(t){if(M(t))return t;throw new jt(At(t)+" is not an object")},It=TypeError,Tt=Object.defineProperty,Mt=Object.getOwnPropertyDescriptor,Lt="enumerable",Ut="configurable",Nt="writable",Ct={f:u?Pt?function(t,e,r){if(kt(t),e=bt(e),kt(r),"function"==typeof t&&"prototype"===e&&"value"in r&&Nt in r&&!r[Nt]){var n=Mt(t,e);n&&n[Nt]&&(t[e]=r.value,r={configurable:Ut in r?r[Ut]:n[Ut],enumerable:Lt in r?r[Lt]:n[Lt],writable:!1})}return Tt(t,e,r)}:Tt:function(t,e,r){if(kt(t),e=bt(e),kt(r),Ot)try{return Tt(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new It("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},_t=u?function(t,e,r){return Ct.f(t,e,d(1,r))}:function(t,e,r){return t[e]=r,t},Ft=Function.prototype,Bt=u&&Object.getOwnPropertyDescriptor,Dt=ut(Ft,"name"),zt={EXISTS:Dt,PROPER:Dt&&"something"===function(){}.name,CONFIGURABLE:Dt&&(!u||u&&Bt(Ft,"name").configurable)},Wt=b(Function.toString);T(rt.inspectSource)||(rt.inspectSource=function(t){return Wt(t)});var qt,Ht,$t,Kt=rt.inspectSource,Gt=i.WeakMap,Vt=T(Gt)&&/native code/.test(String(Gt)),Yt=nt("keys"),Xt=function(t){return Yt[t]||(Yt[t]=lt(t))},Jt={},Qt="Object already initialized",Zt=i.TypeError;if(Vt||rt.state){var te=rt.state||(rt.state=new(0,i.WeakMap));te.get=te.get,te.has=te.has,te.set=te.set,qt=function(t,e){if(te.has(t))throw new Zt(Qt);return e.facade=t,te.set(t,e),e},Ht=function(t){return te.get(t)||{}},$t=function(t){return te.has(t)}}else{var ee=Xt("state");Jt[ee]=!0,qt=function(t,e){if(ut(t,ee))throw new Zt(Qt);return e.facade=t,_t(t,ee,e),e},Ht=function(t){return ut(t,ee)?t[ee]:{}},$t=function(t){return ut(t,ee)}}var re,ne={set:qt,get:Ht,has:$t,enforce:function(t){return $t(t)?Ht(t):qt(t,{})},getterFor:function(t){return function(e){var r;if(!M(e)||(r=Ht(e)).type!==t)throw new Zt("Incompatible receiver, "+t+" required");return r}}},oe=e(function(t){var e=zt.CONFIGURABLE,r=ne.enforce,n=ne.get,o=String,i=Object.defineProperty,s=b("".slice),c=b("".replace),f=b([].join),l=u&&!a(function(){return 8!==i(function(){},"length",{value:8}).length}),h=String(String).split("String"),p=t.exports=function(t,n,a){"Symbol("===s(o(n),0,7)&&(n="["+c(o(n),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),a&&a.getter&&(n="get "+n),a&&a.setter&&(n="set "+n),(!ut(t,"name")||e&&t.name!==n)&&(u?i(t,"name",{value:n,configurable:!0}):t.name=n),l&&a&&ut(a,"arity")&&t.length!==a.arity&&i(t,"length",{value:a.arity});try{a&&ut(a,"constructor")&&a.constructor?u&&i(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var p=r(t);return ut(p,"source")||(p.source=f(h,"string"==typeof n?n:"")),t};Function.prototype.toString=p(function(){return T(this)&&n(this).source||Kt(this)},"toString")}),ie=function(t,e,r,n){n||(n={});var o=n.enumerable,i=void 0!==n.name?n.name:e;if(T(r)&&oe(r,i,n),n.global)o?t[e]=r:et(e,r);else{try{n.unsafe?t[e]&&(o=!0):delete t[e]}catch(t){}o?t[e]=r:Ct.f(t,e,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return t},ae=Math.ceil,ue=Math.floor,se=Math.trunc||function(t){var e=+t;return(e>0?ue:ae)(e)},ce=function(t){var e=+t;return e!=e||0===e?0:se(e)},fe=Math.max,le=Math.min,he=function(t,e){var r=ce(t);return r<0?fe(r+e,0):le(r,e)},pe=Math.min,ve=function(t){var e=ce(t);return e>0?pe(e,9007199254740991):0},de=function(t){return ve(t.length)},ge=function(t){return function(e,r,n){var o=k(e),i=de(o);if(0===i)return!t&&-1;var a,u=he(n,i);if(t&&r!=r){for(;i>u;)if((a=o[u++])!=a)return!0}else for(;i>u;u++)if((t||u in o)&&o[u]===r)return t||u||0;return!t&&-1}},ye={includes:ge(!0),indexOf:ge(!1)},me=ye.indexOf,be=b([].push),we=function(t,e){var r,n=k(t),o=0,i=[];for(r in n)!ut(Jt,r)&&ut(n,r)&&be(i,r);for(;e.length>o;)ut(n,r=e[o++])&&(~me(i,r)||be(i,r));return i},Se=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ee=Se.concat("length","prototype"),Oe={f:Object.getOwnPropertyNames||function(t){return we(t,Ee)}},xe={f:Object.getOwnPropertySymbols},Re=b([].concat),Pe=L("Reflect","ownKeys")||function(t){var e=Oe.f(kt(t)),r=xe.f;return r?Re(e,r(t)):e},Ae=function(t,e,r){for(var n=Pe(e),o=Ct.f,i=Rt.f,a=0;a<n.length;a++){var u=n[a];ut(t,u)||r&&ut(r,u)||o(t,u,i(e,u))}},je=/#|\.prototype\./,ke=function(t,e){var r=Te[Ie(t)];return r===Le||r!==Me&&(T(e)?a(e):!!e)},Ie=ke.normalize=function(t){return String(t).replace(je,".").toLowerCase()},Te=ke.data={},Me=ke.NATIVE="N",Le=ke.POLYFILL="P",Ue=ke,Ne=Rt.f,Ce=function(t,e){var r,n,o,a,u,s=t.target,c=t.global,f=t.stat;if(r=c?i:f?i[s]||et(s,{}):i[s]&&i[s].prototype)for(n in e){if(a=e[n],o=t.dontCallGetSet?(u=Ne(r,n))&&u.value:r[n],!Ue(c?n:s+(f?".":"#")+n,t.forced)&&void 0!==o){if(typeof a==typeof o)continue;Ae(a,o)}(t.sham||o&&o.sham)&&_t(a,"sham",!0),ie(r,n,a,t)}},_e=Object.keys||function(t){return we(t,Se)},Fe=u&&!Pt?Object.defineProperties:function(t,e){kt(t);for(var r,n=k(e),o=_e(e),i=o.length,a=0;i>a;)Ct.f(t,r=o[a++],n[r]);return t},Be={f:Fe},De=L("document","documentElement"),ze="prototype",We="script",qe=Xt("IE_PROTO"),He=function(){},$e=function(t){return"<"+We+">"+t+"</"+We+">"},Ke=function(t){t.write($e("")),t.close();var e=t.parentWindow.Object;return t=null,e},Ge=function(){try{re=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;Ge="undefined"!=typeof document?document.domain&&re?Ke(re):(e=Et("iframe"),r="java"+We+":",e.style.display="none",De.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write($e("document.F=Object")),t.close(),t.F):Ke(re);for(var n=Se.length;n--;)delete Ge[ze][Se[n]];return Ge()};Jt[qe]=!0;var Ve=Object.create||function(t,e){var r;return null!==t?(He[ze]=kt(t),r=new He,He[ze]=null,r[qe]=t):r=Ge(),void 0===e?r:Be.f(r,e)},Ye=Ct.f,Xe=dt("unscopables"),Je=Array.prototype;void 0===Je[Xe]&&Ye(Je,Xe,{configurable:!0,value:Ve(null)});var Qe=function(t){Je[Xe][t]=!0};Ce({target:"Array",proto:!0},{at:function(t){var e=it(this),r=de(e),n=ce(t),o=n>=0?n:r+n;return o<0||o>=r?void 0:e[o]}}),Qe("at");var Ze=function(t,e){return b(i[t].prototype[e])},tr=(Ze("Array","at"),TypeError),er=function(t,e){if(!delete t[e])throw new tr("Cannot delete property "+Y(e)+" of "+Y(t))},rr=Math.min,nr=[].copyWithin||function(t,e){var r=it(this),n=de(r),o=he(t,n),i=he(e,n),a=arguments.length>2?arguments[2]:void 0,u=rr((void 0===a?n:he(a,n))-i,n-o),s=1;for(i<o&&o<i+u&&(s=-1,i+=u-1,o+=u-1);u-- >0;)i in r?r[o]=r[i]:er(r,o),o+=s,i+=s;return r};Ce({target:"Array",proto:!0},{copyWithin:nr}),Qe("copyWithin"),Ze("Array","copyWithin"),Ce({target:"Array",proto:!0},{fill:function(t){for(var e=it(this),r=de(e),n=arguments.length,o=he(n>1?arguments[1]:void 0,r),i=n>2?arguments[2]:void 0,a=void 0===i?r:he(i,r);a>o;)e[o++]=t;return e}}),Qe("fill"),Ze("Array","fill");var or=function(t){if("Function"===E(t))return b(t)},ir=or(or.bind),ar=function(t,e){return J(t),void 0===e?t:s?ir(t,e):function(){return t.apply(e,arguments)}},ur=Array.isArray||function(t){return"Array"===E(t)},sr={};sr[dt("toStringTag")]="z";var cr="[object z]"===String(sr),fr=dt("toStringTag"),lr=Object,hr="Arguments"===E(function(){return arguments}()),pr=cr?E:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=lr(t),fr))?r:hr?E(e):"Object"===(n=E(e))&&T(e.callee)?"Arguments":n},vr=function(){},dr=L("Reflect","construct"),gr=/^\s*(?:class|function)\b/,yr=b(gr.exec),mr=!gr.test(vr),br=function(t){if(!T(t))return!1;try{return dr(vr,[],t),!0}catch(t){return!1}},wr=function(t){if(!T(t))return!1;switch(pr(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return mr||!!yr(gr,Kt(t))}catch(t){return!0}};wr.sham=!0;var Sr=!dr||a(function(){var t;return br(br.call)||!br(Object)||!br(function(){t=!0})||t})?wr:br,Er=dt("species"),Or=Array,xr=function(t,e){return new(function(t){var e;return ur(t)&&(Sr(e=t.constructor)&&(e===Or||ur(e.prototype))||M(e)&&null===(e=e[Er]))&&(e=void 0),void 0===e?Or:e}(t))(0===e?0:e)},Rr=b([].push),Pr=function(t){var e=1===t,r=2===t,n=3===t,o=4===t,i=6===t,a=7===t,u=5===t||i;return function(s,c,f,l){for(var h,p,v=it(s),d=R(v),g=de(d),y=ar(c,f),m=0,b=l||xr,w=e?b(s,g):r||a?b(s,0):void 0;g>m;m++)if((u||m in d)&&(p=y(h=d[m],m,v),t))if(e)w[m]=p;else if(p)switch(t){case 3:return!0;case 5:return h;case 6:return m;case 2:Rr(w,h)}else switch(t){case 4:return!1;case 7:Rr(w,h)}return i?-1:n||o?o:w}},Ar={forEach:Pr(0),map:Pr(1),filter:Pr(2),some:Pr(3),every:Pr(4),find:Pr(5),findIndex:Pr(6),filterReject:Pr(7)},jr=Ar.find,kr="find",Ir=!0;kr in[]&&Array(1)[kr](function(){Ir=!1}),Ce({target:"Array",proto:!0,forced:Ir},{find:function(t){return jr(this,t,arguments.length>1?arguments[1]:void 0)}}),Qe(kr),Ze("Array","find");var Tr=Ar.findIndex,Mr="findIndex",Lr=!0;Mr in[]&&Array(1)[Mr](function(){Lr=!1}),Ce({target:"Array",proto:!0,forced:Lr},{findIndex:function(t){return Tr(this,t,arguments.length>1?arguments[1]:void 0)}}),Qe(Mr),Ze("Array","findIndex");var Ur=TypeError,Nr=function(t){if(t>9007199254740991)throw Ur("Maximum allowed index exceeded");return t},Cr=function(t,e,r,n,o,i,a,u){for(var s,c,f=o,l=0,h=!!a&&ar(a,u);l<n;)l in r&&(s=h?h(r[l],l,e):r[l],i>0&&ur(s)?(c=de(s),f=Cr(t,e,s,c,f,i-1)-1):(Nr(f+1),t[f]=s),f++),l++;return f},_r=Cr;Ce({target:"Array",proto:!0},{flatMap:function(t){var e,r=it(this),n=de(r);return J(t),(e=xr(r,0)).length=_r(e,r,r,n,0,1,t,arguments.length>1?arguments[1]:void 0),e}}),Qe("flatMap"),Ze("Array","flatMap"),Ce({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,e=it(this),r=de(e),n=xr(e,0);return n.length=_r(n,e,e,r,0,void 0===t?1:ce(t)),n}}),Qe("flat"),Ze("Array","flat");var Fr,Br,Dr,zr=String,Wr=function(t){if("Symbol"===pr(t))throw new TypeError("Cannot convert a Symbol value to a string");return zr(t)},qr=b("".charAt),Hr=b("".charCodeAt),$r=b("".slice),Kr=function(t){return function(e,r){var n,o,i=Wr(j(e)),a=ce(r),u=i.length;return a<0||a>=u?t?"":void 0:(n=Hr(i,a))<55296||n>56319||a+1===u||(o=Hr(i,a+1))<56320||o>57343?t?qr(i,a):n:t?$r(i,a,a+2):o-56320+(n-55296<<10)+65536}},Gr={codeAt:Kr(!1),charAt:Kr(!0)},Vr=!a(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),Yr=Xt("IE_PROTO"),Xr=Object,Jr=Xr.prototype,Qr=Vr?Xr.getPrototypeOf:function(t){var e=it(t);if(ut(e,Yr))return e[Yr];var r=e.constructor;return T(r)&&e instanceof r?r.prototype:e instanceof Xr?Jr:null},Zr=dt("iterator"),tn=!1;[].keys&&("next"in(Dr=[].keys())?(Br=Qr(Qr(Dr)))!==Object.prototype&&(Fr=Br):tn=!0);var en=!M(Fr)||a(function(){var t={};return Fr[Zr].call(t)!==t});en&&(Fr={}),T(Fr[Zr])||ie(Fr,Zr,function(){return this});var rn={IteratorPrototype:Fr,BUGGY_SAFARI_ITERATORS:tn},nn=Ct.f,on=dt("toStringTag"),an=function(t,e,r){t&&!r&&(t=t.prototype),t&&!ut(t,on)&&nn(t,on,{configurable:!0,value:e})},un={},sn=rn.IteratorPrototype,cn=function(){return this},fn=function(t,e,r,n){var o=e+" Iterator";return t.prototype=Ve(sn,{next:d(+!n,r)}),an(t,o,!1),un[o]=cn,t},ln=function(t,e,r){try{return b(J(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}},hn=String,pn=TypeError,vn=function(t){if(function(t){return M(t)||null===t}(t))return t;throw new pn("Can't set "+hn(t)+" as a prototype")},dn=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=ln(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return j(r),vn(n),M(r)?(e?t(r,n):r.__proto__=n,r):r}}():void 0),gn=zt.PROPER,yn=zt.CONFIGURABLE,mn=rn.IteratorPrototype,bn=rn.BUGGY_SAFARI_ITERATORS,wn=dt("iterator"),Sn="keys",En="values",On="entries",xn=function(){return this},Rn=function(t,e,r,n,o,i,a){fn(r,e,n);var u,s,c,l=function(t){if(t===o&&g)return g;if(!bn&&t&&t in v)return v[t];switch(t){case Sn:case En:case On:return function(){return new r(this,t)}}return function(){return new r(this)}},h=e+" Iterator",p=!1,v=t.prototype,d=v[wn]||v["@@iterator"]||o&&v[o],g=!bn&&d||l(o),y="Array"===e&&v.entries||d;if(y&&(u=Qr(y.call(new t)))!==Object.prototype&&u.next&&(Qr(u)!==mn&&(dn?dn(u,mn):T(u[wn])||ie(u,wn,xn)),an(u,h,!0)),gn&&o===En&&d&&d.name!==En&&(yn?_t(v,"name",En):(p=!0,g=function(){return f(d,this)})),o)if(s={values:l(En),keys:i?g:l(Sn),entries:l(On)},a)for(c in s)(bn||p||!(c in v))&&ie(v,c,s[c]);else Ce({target:e,proto:!0,forced:bn||p},s);return v[wn]!==g&&ie(v,wn,g,{name:o}),un[e]=g,s},Pn=function(t,e){return{value:t,done:e}},An=Gr.charAt,jn="String Iterator",kn=ne.set,In=ne.getterFor(jn);Rn(String,"String",function(t){kn(this,{type:jn,string:Wr(t),index:0})},function(){var t,e=In(this),r=e.string,n=e.index;return n>=r.length?Pn(void 0,!0):(t=An(r,n),e.index+=t.length,Pn(t,!1))});var Tn=function(t,e,r){var n,o;kt(t);try{if(!(n=Q(t,"return"))){if("throw"===e)throw r;return r}n=f(n,t)}catch(t){o=!0,n=t}if("throw"===e)throw r;if(o)throw n;return kt(n),r},Mn=function(t,e,r,n){try{return n?e(kt(r)[0],r[1]):e(r)}catch(e){Tn(t,"throw",e)}},Ln=dt("iterator"),Un=Array.prototype,Nn=function(t){return void 0!==t&&(un.Array===t||Un[Ln]===t)},Cn=function(t,e,r){u?Ct.f(t,e,d(0,r)):t[e]=r},_n=dt("iterator"),Fn=function(t){if(!P(t))return Q(t,_n)||Q(t,"@@iterator")||un[pr(t)]},Bn=TypeError,Dn=function(t,e){var r=arguments.length<2?Fn(t):e;if(J(r))return kt(f(r,t));throw new Bn(Y(t)+" is not iterable")},zn=Array,Wn=function(t){var e=it(t),r=Sr(this),n=arguments.length,o=n>1?arguments[1]:void 0,i=void 0!==o;i&&(o=ar(o,n>2?arguments[2]:void 0));var a,u,s,c,l,h,p=Fn(e),v=0;if(!p||this===zn&&Nn(p))for(a=de(e),u=r?new this(a):zn(a);a>v;v++)h=i?o(e[v],v):e[v],Cn(u,v,h);else for(u=r?new this:[],l=(c=Dn(e,p)).next;!(s=f(l,c)).done;v++)h=i?Mn(c,o,[s.value,v],!0):s.value,Cn(u,v,h);return u.length=v,u},qn=dt("iterator"),Hn=!1;try{var $n=0,Kn={next:function(){return{done:!!$n++}},return:function(){Hn=!0}};Kn[qn]=function(){return this},Array.from(Kn,function(){throw 2})}catch(t){}var Gn=function(t,e){try{if(!e&&!Hn)return!1}catch(t){return!1}var r=!1;try{var n={};n[qn]=function(){return{next:function(){return{done:r=!0}}}},t(n)}catch(t){}return r},Vn=!Gn(function(t){Array.from(t)});Ce({target:"Array",stat:!0,forced:Vn},{from:Wn});var Yn=i,Xn=ye.includes,Jn=a(function(){return!Array(1).includes()});Ce({target:"Array",proto:!0,forced:Jn},{includes:function(t){return Xn(this,t,arguments.length>1?arguments[1]:void 0)}}),Qe("includes"),Ze("Array","includes");var Qn=Ct.f,Zn="Array Iterator",to=ne.set,eo=ne.getterFor(Zn),ro=Rn(Array,"Array",function(t,e){to(this,{type:Zn,target:k(t),index:0,kind:e})},function(){var t=eo(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,Pn(void 0,!0);switch(t.kind){case"keys":return Pn(r,!1);case"values":return Pn(e[r],!1)}return Pn([r,e[r]],!1)},"values"),no=un.Arguments=un.Array;if(Qe("keys"),Qe("values"),Qe("entries"),u&&"values"!==no.name)try{Qn(no,"name",{value:"values"})}catch(t){}cr||ie(Object.prototype,"toString",cr?{}.toString:function(){return"[object "+pr(this)+"]"},{unsafe:!0}),Ze("Array","values");var oo=Array,io=a(function(){function t(){}return!(oo.of.call(t)instanceof t)});Ce({target:"Array",stat:!0,forced:io},{of:function(){for(var t=0,e=arguments.length,r=new(Sr(this)?this:oo)(e);e>t;)Cn(r,t,arguments[t++]);return r.length=e,r}});var ao=dt("hasInstance"),uo=Function.prototype;ao in uo||Ct.f(uo,ao,{value:oe(function(t){if(!T(this)||!M(t))return!1;var e=this.prototype;return M(e)?U(e,t):t instanceof this},ao)}),dt("hasInstance");var so=function(t,e,r){return r.get&&oe(r.get,e,{getter:!0}),r.set&&oe(r.set,e,{setter:!0}),Ct.f(t,e,r)},co=zt.EXISTS,fo=Function.prototype,lo=b(fo.toString),ho=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,po=b(ho.exec);u&&!co&&so(fo,"name",{configurable:!0,get:function(){try{return po(ho,lo(this))[1]}catch(t){return""}}});var vo=b([].slice),go=Oe.f,yo="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],mo={f:function(t){return yo&&"Window"===E(t)?function(t){try{return go(t)}catch(t){return vo(yo)}}(t):go(k(t))}},bo=a(function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}),wo=Object.isExtensible,So=a(function(){wo(1)})||bo?function(t){return!!M(t)&&(!bo||"ArrayBuffer"!==E(t))&&(!wo||wo(t))}:wo,Eo=!a(function(){return Object.isExtensible(Object.preventExtensions({}))}),Oo=e(function(t){var e=Ct.f,r=!1,n=lt("meta"),o=0,i=function(t){e(t,n,{value:{objectID:"O"+o++,weakData:{}}})},a=t.exports={enable:function(){a.enable=function(){},r=!0;var t=Oe.f,e=b([].splice),o={};o[n]=1,t(o).length&&(Oe.f=function(r){for(var o=t(r),i=0,a=o.length;i<a;i++)if(o[i]===n){e(o,i,1);break}return o},Ce({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:mo.f}))},fastKey:function(t,e){if(!M(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!ut(t,n)){if(!So(t))return"F";if(!e)return"E";i(t)}return t[n].objectID},getWeakData:function(t,e){if(!ut(t,n)){if(!So(t))return!0;if(!e)return!1;i(t)}return t[n].weakData},onFreeze:function(t){return Eo&&r&&So(t)&&!ut(t,n)&&i(t),t}};Jt[n]=!0}),xo=TypeError,Ro=function(t,e){this.stopped=t,this.result=e},Po=Ro.prototype,Ao=function(t,e,r){var n,o,i,a,u,s,c,l=!(!r||!r.AS_ENTRIES),h=!(!r||!r.IS_RECORD),p=!(!r||!r.IS_ITERATOR),v=!(!r||!r.INTERRUPTED),d=ar(e,r&&r.that),g=function(t){return n&&Tn(n,"normal",t),new Ro(!0,t)},y=function(t){return l?(kt(t),v?d(t[0],t[1],g):d(t[0],t[1])):v?d(t,g):d(t)};if(h)n=t.iterator;else if(p)n=t;else{if(!(o=Fn(t)))throw new xo(Y(t)+" is not iterable");if(Nn(o)){for(i=0,a=de(t);a>i;i++)if((u=y(t[i]))&&U(Po,u))return u;return new Ro(!1)}n=Dn(t,o)}for(s=h?t.next:n.next;!(c=f(s,n)).done;){try{u=y(c.value)}catch(t){Tn(n,"throw",t)}if("object"==typeof u&&u&&U(Po,u))return u}return new Ro(!1)},jo=TypeError,ko=function(t,e){if(U(e,t))return t;throw new jo("Incorrect invocation")},Io=function(t,e,r){var n,o;return dn&&T(n=e.constructor)&&n!==r&&M(o=n.prototype)&&o!==r.prototype&&dn(t,o),t},To=function(t,e,r){var n=-1!==t.indexOf("Map"),o=-1!==t.indexOf("Weak"),u=n?"set":"add",s=i[t],c=s&&s.prototype,f=s,l={},h=function(t){var e=b(c[t]);ie(c,t,"add"===t?function(t){return e(this,0===t?0:t),this}:"delete"===t?function(t){return!(o&&!M(t))&&e(this,0===t?0:t)}:"get"===t?function(t){return o&&!M(t)?void 0:e(this,0===t?0:t)}:"has"===t?function(t){return!(o&&!M(t))&&e(this,0===t?0:t)}:function(t,r){return e(this,0===t?0:t,r),this})};if(Ue(t,!T(s)||!(o||c.forEach&&!a(function(){(new s).entries().next()}))))f=r.getConstructor(e,t,n,u),Oo.enable();else if(Ue(t,!0)){var p=new f,v=p[u](o?{}:-0,1)!==p,d=a(function(){p.has(1)}),g=Gn(function(t){new s(t)}),y=!o&&a(function(){for(var t=new s,e=5;e--;)t[u](e,e);return!t.has(-0)});g||((f=e(function(t,e){ko(t,c);var r=Io(new s,t,f);return P(e)||Ao(e,r[u],{that:r,AS_ENTRIES:n}),r})).prototype=c,c.constructor=f),(d||y)&&(h("delete"),h("has"),n&&h("get")),(y||v)&&h(u),o&&c.clear&&delete c.clear}return l[t]=f,Ce({global:!0,constructor:!0,forced:f!==s},l),an(f,t),o||r.setStrong(f,t,n),f},Mo=function(t,e,r){for(var n in e)ie(t,n,e[n],r);return t},Lo=dt("species"),Uo=function(t){var e=L(t);u&&e&&!e[Lo]&&so(e,Lo,{configurable:!0,get:function(){return this}})},No=Oo.fastKey,Co=ne.set,_o=ne.getterFor,Fo={getConstructor:function(t,e,r,n){var o=t(function(t,o){ko(t,i),Co(t,{type:e,index:Ve(null),first:null,last:null,size:0}),u||(t.size=0),P(o)||Ao(o,t[n],{that:t,AS_ENTRIES:r})}),i=o.prototype,a=_o(e),s=function(t,e,r){var n,o,i=a(t),s=c(t,e);return s?s.value=r:(i.last=s={index:o=No(e,!0),key:e,value:r,previous:n=i.last,next:null,removed:!1},i.first||(i.first=s),n&&(n.next=s),u?i.size++:t.size++,"F"!==o&&(i.index[o]=s)),t},c=function(t,e){var r,n=a(t),o=No(e);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key===e)return r};return Mo(i,{clear:function(){for(var t=a(this),e=t.first;e;)e.removed=!0,e.previous&&(e.previous=e.previous.next=null),e=e.next;t.first=t.last=null,t.index=Ve(null),u?t.size=0:this.size=0},delete:function(t){var e=this,r=a(e),n=c(e,t);if(n){var o=n.next,i=n.previous;delete r.index[n.index],n.removed=!0,i&&(i.next=o),o&&(o.previous=i),r.first===n&&(r.first=o),r.last===n&&(r.last=i),u?r.size--:e.size--}return!!n},forEach:function(t){for(var e,r=a(this),n=ar(t,arguments.length>1?arguments[1]:void 0);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!c(this,t)}}),Mo(i,r?{get:function(t){var e=c(this,t);return e&&e.value},set:function(t,e){return s(this,0===t?0:t,e)}}:{add:function(t){return s(this,t=0===t?0:t,t)}}),u&&so(i,"size",{configurable:!0,get:function(){return a(this).size}}),o},setStrong:function(t,e,r){var n=e+" Iterator",o=_o(e),i=_o(n);Rn(t,e,function(t,e){Co(this,{type:n,target:t,state:o(t),kind:e,last:null})},function(){for(var t=i(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?Pn("keys"===e?r.key:"values"===e?r.value:[r.key,r.value],!1):(t.target=null,Pn(void 0,!0))},r?"entries":"values",!r,!0),Uo(e)}};To("Map",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},Fo);var Bo=Map.prototype,Do={Map:Map,set:b(Bo.set),get:b(Bo.get),has:b(Bo.has),remove:b(Bo.delete),proto:Bo},zo=Do.Map,Wo=Do.has,qo=Do.get,Ho=Do.set,$o=b([].push),Ko=a(function(){return 1!==zo.groupBy("ab",function(t){return t}).get("a").length});Ce({target:"Map",stat:!0,forced:Ko},{groupBy:function(t,e){j(t),J(e);var r=new zo,n=0;return Ao(t,function(t){var o=e(t,n++);Wo(r,o)?$o(qo(r,o),t):Ho(r,o,[t])}),r}});var Go={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Vo=Et("span").classList,Yo=Vo&&Vo.constructor&&Vo.constructor.prototype,Xo=Yo===Object.prototype?void 0:Yo,Jo=dt("iterator"),Qo=ro.values,Zo=function(t,e){if(t){if(t[Jo]!==Qo)try{_t(t,Jo,Qo)}catch(e){t[Jo]=Qo}if(an(t,e,!0),Go[e])for(var r in ro)if(t[r]!==ro[r])try{_t(t,r,ro[r])}catch(e){t[r]=ro[r]}}};for(var ti in Go)Zo(i[ti]&&i[ti].prototype,ti);Zo(Xo,"DOMTokenList");var ei=function(t,e,r){return function(n){var o=it(n),i=arguments.length,a=i>1?arguments[1]:void 0,u=void 0!==a,s=u?ar(a,i>2?arguments[2]:void 0):void 0,c=new t,f=0;return Ao(o,function(t){var n=u?s(t,f++):t;r?e(c,kt(n)[0],n[1]):e(c,n)}),c}};Ce({target:"Map",stat:!0,forced:!0},{from:ei(Do.Map,Do.set,!0)});var ri=function(t,e,r){return function(){for(var n=new t,o=arguments.length,i=0;i<o;i++){var a=arguments[i];r?e(n,kt(a)[0],a[1]):e(n,a)}return n}};Ce({target:"Map",stat:!0,forced:!0},{of:ri(Do.Map,Do.set,!0)});var ni=Do.has,oi=function(t){return ni(t),t},ii=Do.remove;Ce({target:"Map",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var t,e=oi(this),r=!0,n=0,o=arguments.length;n<o;n++)t=ii(e,arguments[n]),r=r&&t;return!!r}});var ai=Do.get,ui=Do.has,si=Do.set;Ce({target:"Map",proto:!0,real:!0,forced:!0},{emplace:function(t,e){var r,n,o=oi(this);return ui(o,t)?(r=ai(o,t),"update"in e&&(r=e.update(r,t,o),si(o,t,r)),r):(n=e.insert(t,o),si(o,t,n),n)}});var ci=function(t,e,r){for(var n,o,i=r?t:t.iterator,a=t.next;!(n=f(a,i)).done;)if(void 0!==(o=e(n.value)))return o},fi=Do.Map,li=Do.proto,hi=b(li.forEach),pi=b(li.entries),vi=pi(new fi).next,di=function(t,e,r){return r?ci({iterator:pi(t),next:vi},function(t){return e(t[1],t[0])}):hi(t,e)};Ce({target:"Map",proto:!0,real:!0,forced:!0},{every:function(t){var e=oi(this),r=ar(t,arguments.length>1?arguments[1]:void 0);return!1!==di(e,function(t,n){if(!r(t,n,e))return!1},!0)}});var gi=Do.Map,yi=Do.set;Ce({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(t){var e=oi(this),r=ar(t,arguments.length>1?arguments[1]:void 0),n=new gi;return di(e,function(t,o){r(t,o,e)&&yi(n,o,t)}),n}}),Ce({target:"Map",proto:!0,real:!0,forced:!0},{find:function(t){var e=oi(this),r=ar(t,arguments.length>1?arguments[1]:void 0),n=di(e,function(t,n){if(r(t,n,e))return{value:t}},!0);return n&&n.value}}),Ce({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(t){var e=oi(this),r=ar(t,arguments.length>1?arguments[1]:void 0),n=di(e,function(t,n){if(r(t,n,e))return{key:n}},!0);return n&&n.key}}),Ce({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(t){return!0===di(oi(this),function(e){if((r=e)===(n=t)||r!=r&&n!=n)return!0;var r,n},!0)}});var mi=Do.Map;Ce({target:"Map",stat:!0,forced:!0},{keyBy:function(t,e){var r=new(T(this)?this:mi);J(e);var n=J(r.set);return Ao(t,function(t){f(n,r,e(t),t)}),r}}),Ce({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(t){var e=di(oi(this),function(e,r){if(e===t)return{key:r}},!0);return e&&e.key}});var bi=Do.Map,wi=Do.set;Ce({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(t){var e=oi(this),r=ar(t,arguments.length>1?arguments[1]:void 0),n=new bi;return di(e,function(t,o){wi(n,r(t,o,e),t)}),n}});var Si=Do.Map,Ei=Do.set;Ce({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(t){var e=oi(this),r=ar(t,arguments.length>1?arguments[1]:void 0),n=new Si;return di(e,function(t,o){Ei(n,o,r(t,o,e))}),n}});var Oi=Do.set;Ce({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(t){for(var e=oi(this),r=arguments.length,n=0;n<r;)Ao(arguments[n++],function(t,r){Oi(e,t,r)},{AS_ENTRIES:!0});return e}});var xi=TypeError;Ce({target:"Map",proto:!0,real:!0,forced:!0},{reduce:function(t){var e=oi(this),r=arguments.length<2,n=r?void 0:arguments[1];if(J(t),di(e,function(o,i){r?(r=!1,n=o):n=t(n,o,i,e)}),r)throw new xi("Reduce of empty map with no initial value");return n}}),Ce({target:"Map",proto:!0,real:!0,forced:!0},{some:function(t){var e=oi(this),r=ar(t,arguments.length>1?arguments[1]:void 0);return!0===di(e,function(t,n){if(r(t,n,e))return!0},!0)}});var Ri=TypeError,Pi=Do.get,Ai=Do.has,ji=Do.set;Ce({target:"Map",proto:!0,real:!0,forced:!0},{update:function(t,e){var r=oi(this),n=arguments.length;J(e);var o=Ai(r,t);if(!o&&n<3)throw new Ri("Updating absent value");var i=o?Pi(r,t):J(n>2?arguments[2]:void 0)(t,r);return ji(r,t,e(i,t,r)),r}});var ki=TypeError,Ii=function(t,e){var r,n=kt(this),o=J(n.get),i=J(n.has),a=J(n.set),u=arguments.length>2?arguments[2]:void 0;if(!T(e)&&!T(u))throw new ki("At least one callback required");return f(i,n,t)?(r=f(o,n,t),T(e)&&(r=e(r),f(a,n,t,r))):T(u)&&(r=u(),f(a,n,t,r)),r};Ce({target:"Map",proto:!0,real:!0,forced:!0},{upsert:Ii}),Ce({target:"Map",proto:!0,real:!0,name:"upsert",forced:!0},{updateOrInsert:Ii});var Ti=b(1..valueOf),Mi="\t\n\v\f\r                 \u2028\u2029\ufeff",Li=b("".replace),Ui=RegExp("^["+Mi+"]+"),Ni=RegExp("(^|[^"+Mi+"])["+Mi+"]+$"),Ci=function(t){return function(e){var r=Wr(j(e));return 1&t&&(r=Li(r,Ui,"")),2&t&&(r=Li(r,Ni,"$1")),r}},_i={start:Ci(1),end:Ci(2),trim:Ci(3)},Fi=Oe.f,Bi=Rt.f,Di=Ct.f,zi=_i.trim,Wi="Number",qi=i[Wi],Hi=qi.prototype,$i=i.TypeError,Ki=b("".slice),Gi=b("".charCodeAt),Vi=Ue(Wi,!qi(" 0o1")||!qi("0b1")||qi("+0x1")),Yi=function(t){var e,r=arguments.length<1?0:qi(function(t){var e=mt(t,"number");return"bigint"==typeof e?e:function(t){var e,r,n,o,i,a,u,s,c=mt(t,"number");if(G(c))throw new $i("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=zi(c),43===(e=Gi(c,0))||45===e){if(88===(r=Gi(c,2))||120===r)return NaN}else if(48===e){switch(Gi(c,1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+c}for(a=(i=Ki(c,2)).length,u=0;u<a;u++)if((s=Gi(i,u))<48||s>o)return NaN;return parseInt(i,n)}return+c}(e)}(t));return U(Hi,e=this)&&a(function(){Ti(e)})?Io(Object(r),this,Yi):r};Yi.prototype=Hi,Vi&&(Hi.constructor=Yi),Ce({global:!0,constructor:!0,wrap:!0,forced:Vi},{Number:Yi}),Vi&&function(t,e){for(var r,n=u?Fi(e):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;n.length>o;o++)ut(e,r=n[o])&&!ut(t,r)&&Di(t,r,Bi(e,r))}(Yn[Wi],qi),Ce({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)});var Xi=i.isFinite;Ce({target:"Number",stat:!0},{isFinite:Number.isFinite||function(t){return"number"==typeof t&&Xi(t)}});var Ji=Math.floor,Qi=Number.isInteger||function(t){return!M(t)&&isFinite(t)&&Ji(t)===t};Ce({target:"Number",stat:!0},{isInteger:Qi}),Ce({target:"Number",stat:!0},{isNaN:function(t){return t!=t}});var Zi=Math.abs;Ce({target:"Number",stat:!0},{isSafeInteger:function(t){return Qi(t)&&Zi(t)<=9007199254740991}}),Ce({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991}),Ce({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991});var ta=_i.trim,ea=b("".charAt),ra=i.parseFloat,na=i.Symbol,oa=na&&na.iterator,ia=1/ra(Mi+"-0")!=-Infinity||oa&&!a(function(){ra(Object(oa))})?function(t){var e=ta(Wr(t)),r=ra(e);return 0===r&&"-"===ea(e,0)?-0:r}:ra;Ce({target:"Number",stat:!0,forced:Number.parseFloat!==ia},{parseFloat:ia});var aa=_i.trim,ua=i.parseInt,sa=i.Symbol,ca=sa&&sa.iterator,fa=/^[+-]?0x/i,la=b(fa.exec),ha=8!==ua(Mi+"08")||22!==ua(Mi+"0x16")||ca&&!a(function(){ua(Object(ca))})?function(t,e){var r=aa(Wr(t));return ua(r,e>>>0||(la(fa,r)?16:10))}:ua;Ce({target:"Number",stat:!0,forced:Number.parseInt!==ha},{parseInt:ha});var pa=b(v.f),va=b([].push),da=u&&a(function(){var t=Object.create(null);return t[2]=2,!pa(t,2)}),ga=function(t){return function(e){for(var r,n=k(e),o=_e(n),i=da&&null===Qr(n),a=o.length,s=0,c=[];a>s;)r=o[s++],u&&!(i?r in n:pa(n,r))||va(c,t?[r,n[r]]:n[r]);return c}},ya={entries:ga(!0),values:ga(!1)},ma=ya.entries;Ce({target:"Object",stat:!0},{entries:function(t){return ma(t)}}),Ce({target:"Object",stat:!0,sham:!u},{getOwnPropertyDescriptors:function(t){for(var e,r,n=k(t),o=Rt.f,i=Pe(n),a={},u=0;i.length>u;)void 0!==(r=o(n,e=i[u++]))&&Cn(a,e,r);return a}});var ba=a(function(){_e(1)});Ce({target:"Object",stat:!0,forced:ba},{keys:function(t){return _e(it(t))}});var wa=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e};Ce({target:"Object",stat:!0},{is:wa});var Sa=ya.values;Ce({target:"Object",stat:!0},{values:function(t){return Sa(t)}}),Ce({target:"Object",stat:!0},{hasOwn:ut});var Ea=Function.prototype,Oa=Ea.apply,xa=Ea.call,Ra="object"==typeof Reflect&&Reflect.apply||(s?xa.bind(Oa):function(){return xa.apply(Oa,arguments)}),Pa=!a(function(){Reflect.apply(function(){})});Ce({target:"Reflect",stat:!0,forced:Pa},{apply:function(t,e,r){return Ra(J(t),e,kt(r))}});var Aa=Function,ja=b([].concat),ka=b([].join),Ia={},Ta=s?Aa.bind:function(t){var e=J(this),r=e.prototype,n=vo(arguments,1),o=function(){var r=ja(n,vo(arguments));return this instanceof o?function(t,e,r){if(!ut(Ia,e)){for(var n=[],o=0;o<e;o++)n[o]="a["+o+"]";Ia[e]=Aa("C,a","return new C("+ka(n,",")+")")}return Ia[e](t,r)}(e,r.length,r):e.apply(t,r)};return M(r)&&(o.prototype=r),o},Ma=TypeError,La=function(t){if(Sr(t))return t;throw new Ma(Y(t)+" is not a constructor")},Ua=L("Reflect","construct"),Na=Object.prototype,Ca=[].push,_a=a(function(){function t(){}return!(Ua(function(){},[],t)instanceof t)}),Fa=!a(function(){Ua(function(){})}),Ba=_a||Fa;Ce({target:"Reflect",stat:!0,forced:Ba,sham:Ba},{construct:function(t,e){La(t),kt(e);var r=arguments.length<3?t:La(arguments[2]);if(Fa&&!_a)return Ua(t,e,r);if(t===r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return Ra(Ca,n,e),new(Ra(Ta,t,n))}var o=r.prototype,i=Ve(M(o)?o:Na),a=Ra(t,i,e);return M(a)?a:i}});var Da=a(function(){Reflect.defineProperty(Ct.f({},1,{value:1}),1,{value:2})});Ce({target:"Reflect",stat:!0,forced:Da,sham:!u},{defineProperty:function(t,e,r){kt(t);var n=bt(e);kt(r);try{return Ct.f(t,n,r),!0}catch(t){return!1}}});var za=Rt.f;Ce({target:"Reflect",stat:!0},{deleteProperty:function(t,e){var r=za(kt(t),e);return!(r&&!r.configurable)&&delete t[e]}});var Wa=function(t){return void 0!==t&&(ut(t,"value")||ut(t,"writable"))};Ce({target:"Reflect",stat:!0},{get:function t(e,r){var n,o,i=arguments.length<3?e:arguments[2];return kt(e)===i?e[r]:(n=Rt.f(e,r))?Wa(n)?n.value:void 0===n.get?void 0:f(n.get,i):M(o=Qr(e))?t(o,r,i):void 0}}),Ce({target:"Reflect",stat:!0,sham:!u},{getOwnPropertyDescriptor:function(t,e){return Rt.f(kt(t),e)}}),Ce({target:"Reflect",stat:!0,sham:!Vr},{getPrototypeOf:function(t){return Qr(kt(t))}}),Ce({target:"Reflect",stat:!0},{has:function(t,e){return e in t}}),Ce({target:"Reflect",stat:!0},{isExtensible:function(t){return kt(t),So(t)}}),Ce({target:"Reflect",stat:!0},{ownKeys:Pe}),Ce({target:"Reflect",stat:!0,sham:!Eo},{preventExtensions:function(t){kt(t);try{var e=L("Object","preventExtensions");return e&&e(t),!0}catch(t){return!1}}});var qa=a(function(){var t=function(){},e=Ct.f(new t,"a",{configurable:!0});return!1!==Reflect.set(t.prototype,"a",1,e)});Ce({target:"Reflect",stat:!0,forced:qa},{set:function t(e,r,n){var o,i,a,u=arguments.length<4?e:arguments[3],s=Rt.f(kt(e),r);if(!s){if(M(i=Qr(e)))return t(i,r,n,u);s=d(0)}if(Wa(s)){if(!1===s.writable||!M(u))return!1;if(o=Rt.f(u,r)){if(o.get||o.set||!1===o.writable)return!1;o.value=n,Ct.f(u,r,o)}else Ct.f(u,r,d(0,n))}else{if(void 0===(a=s.set))return!1;f(a,u,n)}return!0}}),dn&&Ce({target:"Reflect",stat:!0},{setPrototypeOf:function(t,e){kt(t),vn(e);try{return dn(t,e),!0}catch(t){return!1}}}),Ce({global:!0},{Reflect:{}}),an(i.Reflect,"Reflect",!0);var Ha=Oo.getWeakData,$a=ne.set,Ka=ne.getterFor,Ga=Ar.find,Va=Ar.findIndex,Ya=b([].splice),Xa=0,Ja=function(t){return t.frozen||(t.frozen=new Qa)},Qa=function(){this.entries=[]},Za=function(t,e){return Ga(t.entries,function(t){return t[0]===e})};Qa.prototype={get:function(t){var e=Za(this,t);if(e)return e[1]},has:function(t){return!!Za(this,t)},set:function(t,e){var r=Za(this,t);r?r[1]=e:this.entries.push([t,e])},delete:function(t){var e=Va(this.entries,function(e){return e[0]===t});return~e&&Ya(this.entries,e,1),!!~e}};var tu,eu={getConstructor:function(t,e,r,n){var o=t(function(t,o){ko(t,i),$a(t,{type:e,id:Xa++,frozen:null}),P(o)||Ao(o,t[n],{that:t,AS_ENTRIES:r})}),i=o.prototype,a=Ka(e),u=function(t,e,r){var n=a(t),o=Ha(kt(e),!0);return!0===o?Ja(n).set(e,r):o[n.id]=r,t};return Mo(i,{delete:function(t){var e=a(this);if(!M(t))return!1;var r=Ha(t);return!0===r?Ja(e).delete(t):r&&ut(r,e.id)&&delete r[e.id]},has:function(t){var e=a(this);if(!M(t))return!1;var r=Ha(t);return!0===r?Ja(e).has(t):r&&ut(r,e.id)}}),Mo(i,r?{get:function(t){var e=a(this);if(M(t)){var r=Ha(t);if(!0===r)return Ja(e).get(t);if(r)return r[e.id]}},set:function(t,e){return u(this,t,e)}}:{add:function(t){return u(this,t,!0)}}),o}},ru=ne.enforce,nu=Object,ou=Array.isArray,iu=nu.isExtensible,au=nu.isFrozen,uu=nu.isSealed,su=nu.freeze,cu=nu.seal,fu=!i.ActiveXObject&&"ActiveXObject"in i,lu=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},hu=To("WeakMap",lu,eu),pu=hu.prototype,vu=b(pu.set);if(Vt)if(fu){tu=eu.getConstructor(lu,"WeakMap",!0),Oo.enable();var du=b(pu.delete),gu=b(pu.has),yu=b(pu.get);Mo(pu,{delete:function(t){if(M(t)&&!iu(t)){var e=ru(this);return e.frozen||(e.frozen=new tu),du(this,t)||e.frozen.delete(t)}return du(this,t)},has:function(t){if(M(t)&&!iu(t)){var e=ru(this);return e.frozen||(e.frozen=new tu),gu(this,t)||e.frozen.has(t)}return gu(this,t)},get:function(t){if(M(t)&&!iu(t)){var e=ru(this);return e.frozen||(e.frozen=new tu),gu(this,t)?yu(this,t):e.frozen.get(t)}return yu(this,t)},set:function(t,e){if(M(t)&&!iu(t)){var r=ru(this);r.frozen||(r.frozen=new tu),gu(this,t)?vu(this,t,e):r.frozen.set(t,e)}else vu(this,t,e);return this}})}else Eo&&a(function(){var t=su([]);return vu(new hu,t,1),!au(t)})&&Mo(pu,{set:function(t,e){var r;return ou(t)&&(au(t)?r=su:uu(t)&&(r=cu)),vu(this,t,e),r&&r(t),this}});var mu=L("Map"),bu=L("WeakMap"),wu=b([].push),Su=nt("metadata"),Eu=Su.store||(Su.store=new bu),Ou=function(t,e,r){var n=Eu.get(t);if(!n){if(!r)return;Eu.set(t,n=new mu)}var o=n.get(e);if(!o){if(!r)return;n.set(e,o=new mu)}return o},xu={store:Eu,getMap:Ou,has:function(t,e,r){var n=Ou(e,r,!1);return void 0!==n&&n.has(t)},get:function(t,e,r){var n=Ou(e,r,!1);return void 0===n?void 0:n.get(t)},set:function(t,e,r,n){Ou(r,n,!0).set(t,e)},keys:function(t,e){var r=Ou(t,e,!1),n=[];return r&&r.forEach(function(t,e){wu(n,e)}),n},toKey:function(t){return void 0===t||"symbol"==typeof t?t:String(t)}},Ru=xu.toKey,Pu=xu.set;Ce({target:"Reflect",stat:!0},{defineMetadata:function(t,e,r){var n=arguments.length<4?void 0:Ru(arguments[3]);Pu(t,e,kt(r),n)}});var Au=xu.toKey,ju=xu.getMap,ku=xu.store;Ce({target:"Reflect",stat:!0},{deleteMetadata:function(t,e){var r=arguments.length<3?void 0:Au(arguments[2]),n=ju(kt(e),r,!1);if(void 0===n||!n.delete(t))return!1;if(n.size)return!0;var o=ku.get(e);return o.delete(r),!!o.size||ku.delete(e)}});var Iu=xu.has,Tu=xu.get,Mu=xu.toKey,Lu=function(t,e,r){if(Iu(t,e,r))return Tu(t,e,r);var n=Qr(e);return null!==n?Lu(t,n,r):void 0};Ce({target:"Reflect",stat:!0},{getMetadata:function(t,e){var r=arguments.length<3?void 0:Mu(arguments[2]);return Lu(t,kt(e),r)}});var Uu=Do.Map,Nu=Do.has,Cu=Do.set,_u=b([].push),Fu=b(function(t){var e,r,n,o=it(this),i=de(o),a=[],u=new Uu,s=P(t)?function(t){return t}:J(t);for(e=0;e<i;e++)n=s(r=o[e]),Nu(u,n)||Cu(u,n,r);return di(u,function(t){_u(a,t)}),a}),Bu=b([].concat),Du=xu.keys,zu=xu.toKey,Wu=function(t,e){var r=Du(t,e),n=Qr(t);if(null===n)return r;var o=Wu(n,e);return o.length?r.length?Fu(Bu(r,o)):o:r};Ce({target:"Reflect",stat:!0},{getMetadataKeys:function(t){var e=arguments.length<2?void 0:zu(arguments[1]);return Wu(kt(t),e)}});var qu=xu.get,Hu=xu.toKey;Ce({target:"Reflect",stat:!0},{getOwnMetadata:function(t,e){var r=arguments.length<3?void 0:Hu(arguments[2]);return qu(t,kt(e),r)}});var $u=xu.keys,Ku=xu.toKey;Ce({target:"Reflect",stat:!0},{getOwnMetadataKeys:function(t){var e=arguments.length<2?void 0:Ku(arguments[1]);return $u(kt(t),e)}});var Gu=xu.has,Vu=xu.toKey,Yu=function(t,e,r){if(Gu(t,e,r))return!0;var n=Qr(e);return null!==n&&Yu(t,n,r)};Ce({target:"Reflect",stat:!0},{hasMetadata:function(t,e){var r=arguments.length<3?void 0:Vu(arguments[2]);return Yu(t,kt(e),r)}});var Xu=xu.has,Ju=xu.toKey;Ce({target:"Reflect",stat:!0},{hasOwnMetadata:function(t,e){var r=arguments.length<3?void 0:Ju(arguments[2]);return Xu(t,kt(e),r)}});var Qu=xu.toKey,Zu=xu.set;Ce({target:"Reflect",stat:!0},{metadata:function(t,e){return function(r,n){Zu(t,e,kt(r),Qu(n))}}});var ts=dt("match"),es=function(t){var e;return M(t)&&(void 0!==(e=t[ts])?!!e:"RegExp"===E(t))},rs=function(){var t=kt(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e},ns=RegExp.prototype,os=function(t){var e=t.flags;return void 0!==e||"flags"in ns||ut(t,"flags")||!U(ns,t)?e:f(rs,t)},is=i.RegExp,as=a(function(){var t=is("a","y");return t.lastIndex=2,null!==t.exec("abcd")}),us=as||a(function(){return!is("a","y").sticky}),ss=as||a(function(){var t=is("^r","gy");return t.lastIndex=2,null!==t.exec("str")}),cs={BROKEN_CARET:ss,MISSED_STICKY:us,UNSUPPORTED_Y:as},fs=Ct.f,ls=function(t,e,r){r in t||fs(t,r,{configurable:!0,get:function(){return e[r]},set:function(t){e[r]=t}})},hs=i.RegExp,ps=a(function(){var t=hs(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)}),vs=i.RegExp,ds=a(function(){var t=vs("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}),gs=Oe.f,ys=ne.enforce,ms=dt("match"),bs=i.RegExp,ws=bs.prototype,Ss=i.SyntaxError,Es=b(ws.exec),Os=b("".charAt),xs=b("".replace),Rs=b("".indexOf),Ps=b("".slice),As=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,js=/a/g,ks=/a/g,Is=new bs(js)!==js,Ts=cs.MISSED_STICKY,Ms=cs.UNSUPPORTED_Y,Ls=u&&(!Is||Ts||ps||ds||a(function(){return ks[ms]=!1,bs(js)!==js||bs(ks)===ks||"/a/i"!==String(bs(js,"i"))}));if(Ue("RegExp",Ls)){for(var Us=function(t,e){var r,n,o,i,a,u,s=U(ws,this),c=es(t),f=void 0===e,l=[],h=t;if(!s&&c&&f&&t.constructor===Us)return t;if((c||U(ws,t))&&(t=t.source,f&&(e=os(h))),t=void 0===t?"":Wr(t),e=void 0===e?"":Wr(e),h=t,ps&&"dotAll"in js&&(n=!!e&&Rs(e,"s")>-1)&&(e=xs(e,/s/g,"")),r=e,Ts&&"sticky"in js&&(o=!!e&&Rs(e,"y")>-1)&&Ms&&(e=xs(e,/y/g,"")),ds&&(i=function(t){for(var e,r=t.length,n=0,o="",i=[],a=Ve(null),u=!1,s=!1,c=0,f="";n<=r;n++){if("\\"===(e=Os(t,n)))e+=Os(t,++n);else if("]"===e)u=!1;else if(!u)switch(!0){case"["===e:u=!0;break;case"("===e:if(o+=e,"?:"===Ps(t,n+1,n+3))continue;Es(As,Ps(t,n+1))&&(n+=2,s=!0),c++;continue;case">"===e&&s:if(""===f||ut(a,f))throw new Ss("Invalid capture group name");a[f]=!0,i[i.length]=[f,c],s=!1,f="";continue}s?f+=e:o+=e}return[o,i]}(t),t=i[0],l=i[1]),a=Io(bs(t,e),s?this:ws,Us),(n||o||l.length)&&(u=ys(a),n&&(u.dotAll=!0,u.raw=Us(function(t){for(var e,r=t.length,n=0,o="",i=!1;n<=r;n++)"\\"!==(e=Os(t,n))?i||"."!==e?("["===e?i=!0:"]"===e&&(i=!1),o+=e):o+="[\\s\\S]":o+=e+Os(t,++n);return o}(t),r)),o&&(u.sticky=!0),l.length&&(u.groups=l)),t!==h)try{_t(a,"source",""===h?"(?:)":h)}catch(t){}return a},Ns=gs(bs),Cs=0;Ns.length>Cs;)ls(Us,bs,Ns[Cs++]);ws.constructor=Us,Us.prototype=ws,ie(i,"RegExp",Us,{constructor:!0})}Uo("RegExp");var _s=zt.PROPER,Fs="toString",Bs=RegExp.prototype,Ds=Bs[Fs];(a(function(){return"/a/b"!==Ds.call({source:"a",flags:"b"})})||_s&&Ds.name!==Fs)&&ie(Bs,Fs,function(){var t=kt(this);return"/"+Wr(t.source)+"/"+Wr(os(t))},{unsafe:!0});var zs=ne.get,Ws=RegExp.prototype,qs=TypeError;u&&ps&&so(Ws,"dotAll",{configurable:!0,get:function(){if(this!==Ws){if("RegExp"===E(this))return!!zs(this).dotAll;throw new qs("Incompatible receiver, RegExp required")}}});var Hs=ne.get,$s=nt("native-string-replace",String.prototype.replace),Ks=RegExp.prototype.exec,Gs=Ks,Vs=b("".charAt),Ys=b("".indexOf),Xs=b("".replace),Js=b("".slice),Qs=function(){var t=/a/,e=/b*/g;return f(Ks,t,"a"),f(Ks,e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),Zs=cs.BROKEN_CARET,tc=void 0!==/()??/.exec("")[1];(Qs||tc||Zs||ps||ds)&&(Gs=function(t){var e,r,n,o,i,a,u,s=this,c=Hs(s),l=Wr(t),h=c.raw;if(h)return h.lastIndex=s.lastIndex,e=f(Gs,h,l),s.lastIndex=h.lastIndex,e;var p=c.groups,v=Zs&&s.sticky,d=f(rs,s),g=s.source,y=0,m=l;if(v&&(d=Xs(d,"y",""),-1===Ys(d,"g")&&(d+="g"),m=Js(l,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&"\n"!==Vs(l,s.lastIndex-1))&&(g="(?: "+g+")",m=" "+m,y++),r=new RegExp("^(?:"+g+")",d)),tc&&(r=new RegExp("^"+g+"$(?!\\s)",d)),Qs&&(n=s.lastIndex),o=f(Ks,v?r:s,m),v?o?(o.input=Js(o.input,y),o[0]=Js(o[0],y),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:Qs&&o&&(s.lastIndex=s.global?o.index+o[0].length:n),tc&&o&&o.length>1&&f($s,o[0],r,function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)}),o&&p)for(o.groups=a=Ve(null),i=0;i<p.length;i++)a[(u=p[i])[0]]=o[u[1]];return o});var ec=Gs;Ce({target:"RegExp",proto:!0,forced:/./.exec!==ec},{exec:ec});var rc=i.RegExp,nc=rc.prototype;u&&a(function(){var t=!0;try{rc(".","d")}catch(e){t=!1}var e={},r="",n=t?"dgimsy":"gimsy",o=function(t,n){Object.defineProperty(e,t,{get:function(){return r+=n,!0}})},i={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in t&&(i.hasIndices="d"),i)o(a,i[a]);return Object.getOwnPropertyDescriptor(nc,"flags").get.call(e)!==n||r!==n})&&so(nc,"flags",{configurable:!0,get:rs});var oc=ne.get,ic=RegExp.prototype,ac=TypeError;u&&cs.MISSED_STICKY&&so(ic,"sticky",{configurable:!0,get:function(){if(this!==ic){if("RegExp"===E(this))return!!oc(this).sticky;throw new ac("Incompatible receiver, RegExp required")}}});var uc,sc,cc=(uc=!1,(sc=/[ac]/).exec=function(){return uc=!0,/./.exec.apply(this,arguments)},!0===sc.test("abc")&&uc),fc=/./.test;Ce({target:"RegExp",proto:!0,forced:!cc},{test:function(t){var e=kt(this),r=Wr(t),n=e.exec;if(!T(n))return f(fc,e,r);var o=f(n,e,r);return null!==o&&(kt(o),!0)}});var lc=dt("species"),hc=RegExp.prototype,pc=function(t,e,r,n){var o=dt(t),i=!a(function(){var e={};return e[o]=function(){return 7},7!==""[t](e)}),u=i&&!a(function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[lc]=function(){return r},r.flags="",r[o]=/./[o]),r.exec=function(){return e=!0,null},r[o](""),!e});if(!i||!u||r){var s=/./[o],c=e(o,""[t],function(t,e,r,n,o){var a=e.exec;return a===ec||a===hc.exec?i&&!o?{done:!0,value:f(s,e,r,n)}:{done:!0,value:f(t,r,e,n)}:{done:!1}});ie(String.prototype,t,c[0]),ie(hc,o,c[1])}n&&_t(hc[o],"sham",!0)},vc=Gr.charAt,dc=function(t,e,r){return e+(r?vc(t,e).length:1)},gc=TypeError,yc=function(t,e){var r=t.exec;if(T(r)){var n=f(r,t,e);return null!==n&&kt(n),n}if("RegExp"===E(t))return f(ec,t,e);throw new gc("RegExp#exec called on incompatible receiver")};pc("match",function(t,e,r){return[function(e){var r=j(this),n=P(e)?void 0:Q(e,t);return n?f(n,e,r):new RegExp(e)[t](Wr(r))},function(t){var n=kt(this),o=Wr(t),i=r(e,n,o);if(i.done)return i.value;if(!n.global)return yc(n,o);var a=n.unicode;n.lastIndex=0;for(var u,s=[],c=0;null!==(u=yc(n,o));){var f=Wr(u[0]);s[c]=f,""===f&&(n.lastIndex=dc(o,ve(n.lastIndex),a)),c++}return 0===c?null:s}]});var mc=Math.floor,bc=b("".charAt),wc=b("".replace),Sc=b("".slice),Ec=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Oc=/\$([$&'`]|\d{1,2})/g,xc=function(t,e,r,n,o,i){var a=r+t.length,u=n.length,s=Oc;return void 0!==o&&(o=it(o),s=Ec),wc(i,s,function(i,s){var c;switch(bc(s,0)){case"$":return"$";case"&":return t;case"`":return Sc(e,0,r);case"'":return Sc(e,a);case"<":c=o[Sc(s,1,-1)];break;default:var f=+s;if(0===f)return i;if(f>u){var l=mc(f/10);return 0===l?i:l<=u?void 0===n[l-1]?bc(s,1):n[l-1]+bc(s,1):i}c=n[f-1]}return void 0===c?"":c})},Rc=dt("replace"),Pc=Math.max,Ac=Math.min,jc=b([].concat),kc=b([].push),Ic=b("".indexOf),Tc=b("".slice),Mc="$0"==="a".replace(/./,"$0"),Lc=!!/./[Rc]&&""===/./[Rc]("a","$0"),Uc=!a(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")});pc("replace",function(t,e,r){var n=Lc?"$":"$0";return[function(t,r){var n=j(this),o=P(t)?void 0:Q(t,Rc);return o?f(o,t,n,r):f(e,Wr(n),t,r)},function(t,o){var i=kt(this),a=Wr(t);if("string"==typeof o&&-1===Ic(o,n)&&-1===Ic(o,"$<")){var u=r(e,i,a,o);if(u.done)return u.value}var s=T(o);s||(o=Wr(o));var c,f=i.global;f&&(c=i.unicode,i.lastIndex=0);for(var l,h=[];null!==(l=yc(i,a))&&(kc(h,l),f);)""===Wr(l[0])&&(i.lastIndex=dc(a,ve(i.lastIndex),c));for(var p,v="",d=0,g=0;g<h.length;g++){for(var y,m=Wr((l=h[g])[0]),b=Pc(Ac(ce(l.index),a.length),0),w=[],S=1;S<l.length;S++)kc(w,void 0===(p=l[S])?p:String(p));var E=l.groups;if(s){var O=jc([m],w,b,a);void 0!==E&&kc(O,E),y=Wr(Ra(o,void 0,O))}else y=xc(m,a,b,w,E,o);b>=d&&(v+=Tc(a,d,b)+y,d=b+m.length)}return v+Tc(a,d)}]},!Uc||!Mc||Lc),pc("search",function(t,e,r){return[function(e){var r=j(this),n=P(e)?void 0:Q(e,t);return n?f(n,e,r):new RegExp(e)[t](Wr(r))},function(t){var n=kt(this),o=Wr(t),i=r(e,n,o);if(i.done)return i.value;var a=n.lastIndex;wa(a,0)||(n.lastIndex=0);var u=yc(n,o);return wa(n.lastIndex,a)||(n.lastIndex=a),null===u?-1:u.index}]});var Nc=dt("species"),Cc=function(t,e){var r,n=kt(t).constructor;return void 0===n||P(r=kt(n)[Nc])?e:La(r)},_c=cs.UNSUPPORTED_Y,Fc=Math.min,Bc=b([].push),Dc=b("".slice),zc=!a(function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}),Wc="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;pc("split",function(t,e,r){var n="0".split(void 0,0).length?function(t,r){return void 0===t&&0===r?[]:f(e,this,t,r)}:e;return[function(e,r){var o=j(this),i=P(e)?void 0:Q(e,t);return i?f(i,e,o,r):f(n,Wr(o),e,r)},function(t,o){var i=kt(this),a=Wr(t);if(!Wc){var u=r(n,i,a,o,n!==e);if(u.done)return u.value}var s=Cc(i,RegExp),c=i.unicode,f=new s(_c?"^(?:"+i.source+")":i,(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(_c?"g":"y")),l=void 0===o?4294967295:o>>>0;if(0===l)return[];if(0===a.length)return null===yc(f,a)?[a]:[];for(var h=0,p=0,v=[];p<a.length;){f.lastIndex=_c?0:p;var d,g=yc(f,_c?Dc(a,p):a);if(null===g||(d=Fc(ve(f.lastIndex+(_c?p:0)),a.length))===h)p=dc(a,p,c);else{if(Bc(v,Dc(a,h,p)),v.length===l)return v;for(var y=1;y<=g.length-1;y++)if(Bc(v,g[y]),v.length===l)return v;p=h=d}}return Bc(v,Dc(a,h)),v}]},Wc||!zc,_c);var qc=TypeError,Hc=RangeError,$c=function(t){var e=Wr(j(this)),r="",n=ce(t);if(n<0||Infinity===n)throw new Hc("Wrong number of repetitions");for(;n>0;(n>>>=1)&&(e+=e))1&n&&(r+=e);return r},Kc=b($c),Gc=b("".slice),Vc=Math.ceil,Yc=function(t){return function(e,r,n){var o,i,a=Wr(j(e)),u=ve(r),s=a.length,c=void 0===n?" ":Wr(n);return u<=s||""===c?a:((i=Kc(c,Vc((o=u-s)/c.length))).length>o&&(i=Gc(i,0,o)),t?a+i:i+a)}},Xc={start:Yc(!1),end:Yc(!0)},Jc=Xc.start,Qc=Array,Zc=RegExp.escape,tf=b("".charAt),ef=b("".charCodeAt),rf=b(1.1.toString),nf=b([].join),of=/^[0-9a-z]/i,af=/^[$()*+./?[\\\]^{|}]/,uf=RegExp("^[!\"#%&',\\-:;<=>@`~"+Mi+"]"),sf=b(of.exec),cf={"\t":"t","\n":"n","\v":"v","\f":"f","\r":"r"},ff=function(t){var e=rf(ef(t,0),16);return e.length<3?"\\x"+Jc(e,2,"0"):"\\u"+Jc(e,4,"0")},lf=!Zc||"\\x61b"!==Zc("ab");Ce({target:"RegExp",stat:!0,forced:lf},{escape:function(t){!function(t){if("string"==typeof t)return t;throw new qc("Argument is not a string")}(t);for(var e=t.length,r=Qc(e),n=0;n<e;n++){var o=tf(t,n);if(0===n&&sf(of,o))r[n]=ff(o);else if(ut(cf,o))r[n]="\\"+cf[o];else if(sf(af,o))r[n]="\\"+o;else if(sf(uf,o))r[n]=ff(o);else{var i=ef(o,0);55296!=(63488&i)?r[n]=o:i>=56320||n+1>=e||56320!=(64512&ef(t,n+1))?r[n]=ff(o):(r[n]=o,r[++n]=tf(t,n))}}return nf(r,"")}}),To("Set",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},Fo);var hf=Set.prototype,pf={Set:Set,add:b(hf.add),has:b(hf.has),remove:b(hf.delete),proto:hf},vf=pf.has,df=function(t){return vf(t),t},gf=pf.Set,yf=pf.proto,mf=b(yf.forEach),bf=b(yf.keys),wf=bf(new gf).next,Sf=function(t,e,r){return r?ci({iterator:bf(t),next:wf},e):mf(t,e)},Ef=pf.Set,Of=pf.add,xf=function(t){var e=new Ef;return Sf(t,function(t){Of(e,t)}),e},Rf=ln(pf.proto,"size","get")||function(t){return t.size},Pf="Invalid size",Af=RangeError,jf=TypeError,kf=Math.max,If=function(t,e){this.set=t,this.size=kf(e,0),this.has=J(t.has),this.keys=J(t.keys)};If.prototype={getIterator:function(){return{iterator:t=kt(f(this.keys,this.set)),next:t.next,done:!1};var t},includes:function(t){return f(this.has,this.set,t)}};var Tf=function(t){kt(t);var e=+t.size;if(e!=e)throw new jf(Pf);var r=ce(e);if(r<0)throw new Af(Pf);return new If(t,r)},Mf=pf.has,Lf=pf.remove,Uf=function(t){var e=df(this),r=Tf(t),n=xf(e);return Rf(e)<=r.size?Sf(e,function(t){r.includes(t)&&Lf(n,t)}):ci(r.getIterator(),function(t){Mf(e,t)&&Lf(n,t)}),n},Nf=function(t){return{size:t,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},Cf=function(t){var e=L("Set");try{(new e)[t](Nf(0));try{return(new e)[t](Nf(-1)),!1}catch(t){return!0}}catch(t){return!1}};Ce({target:"Set",proto:!0,real:!0,forced:!Cf("difference")},{difference:Uf});var _f=pf.Set,Ff=pf.add,Bf=pf.has,Df=function(t){var e=df(this),r=Tf(t),n=new _f;return Rf(e)>r.size?ci(r.getIterator(),function(t){Bf(e,t)&&Ff(n,t)}):Sf(e,function(t){r.includes(t)&&Ff(n,t)}),n},zf=!Cf("intersection")||a(function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))});Ce({target:"Set",proto:!0,real:!0,forced:zf},{intersection:Df});var Wf=pf.has,qf=function(t){var e=df(this),r=Tf(t);if(Rf(e)<=r.size)return!1!==Sf(e,function(t){if(r.includes(t))return!1},!0);var n=r.getIterator();return!1!==ci(n,function(t){if(Wf(e,t))return Tn(n,"normal",!1)})};Ce({target:"Set",proto:!0,real:!0,forced:!Cf("isDisjointFrom")},{isDisjointFrom:qf});var Hf=function(t){var e=df(this),r=Tf(t);return!(Rf(e)>r.size)&&!1!==Sf(e,function(t){if(!r.includes(t))return!1},!0)};Ce({target:"Set",proto:!0,real:!0,forced:!Cf("isSubsetOf")},{isSubsetOf:Hf});var $f=pf.has,Kf=function(t){var e=df(this),r=Tf(t);if(Rf(e)<r.size)return!1;var n=r.getIterator();return!1!==ci(n,function(t){if(!$f(e,t))return Tn(n,"normal",!1)})};Ce({target:"Set",proto:!0,real:!0,forced:!Cf("isSupersetOf")},{isSupersetOf:Kf});var Gf=pf.add,Vf=pf.has,Yf=pf.remove,Xf=function(t){var e=df(this),r=Tf(t).getIterator(),n=xf(e);return ci(r,function(t){Vf(e,t)?Yf(n,t):Gf(n,t)}),n};Ce({target:"Set",proto:!0,real:!0,forced:!Cf("symmetricDifference")},{symmetricDifference:Xf});var Jf=pf.add,Qf=function(t){var e=df(this),r=Tf(t).getIterator(),n=xf(e);return ci(r,function(t){Jf(n,t)}),n};Ce({target:"Set",proto:!0,real:!0,forced:!Cf("union")},{union:Qf}),Ce({target:"Set",stat:!0,forced:!0},{from:ei(pf.Set,pf.add,!1)}),Ce({target:"Set",stat:!0,forced:!0},{of:ri(pf.Set,pf.add,!1)});var Zf=pf.add;Ce({target:"Set",proto:!0,real:!0,forced:!0},{addAll:function(){for(var t=df(this),e=0,r=arguments.length;e<r;e++)Zf(t,arguments[e]);return t}});var tl=pf.remove;Ce({target:"Set",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var t,e=df(this),r=!0,n=0,o=arguments.length;n<o;n++)t=tl(e,arguments[n]),r=r&&t;return!!r}}),Ce({target:"Set",proto:!0,real:!0,forced:!0},{every:function(t){var e=df(this),r=ar(t,arguments.length>1?arguments[1]:void 0);return!1!==Sf(e,function(t){if(!r(t,t,e))return!1},!0)}});var el=dt("iterator"),rl=Object,nl=L("Set"),ol=function(t){return function(t){return M(t)&&"number"==typeof t.size&&T(t.has)&&T(t.keys)}(t)?t:function(t){if(P(t))return!1;var e=rl(t);return void 0!==e[el]||"@@iterator"in e||ut(un,pr(e))}(t)?new nl(t):t};Ce({target:"Set",proto:!0,real:!0,forced:!0},{difference:function(t){return f(Uf,this,ol(t))}});var il=pf.Set,al=pf.add;Ce({target:"Set",proto:!0,real:!0,forced:!0},{filter:function(t){var e=df(this),r=ar(t,arguments.length>1?arguments[1]:void 0),n=new il;return Sf(e,function(t){r(t,t,e)&&al(n,t)}),n}}),Ce({target:"Set",proto:!0,real:!0,forced:!0},{find:function(t){var e=df(this),r=ar(t,arguments.length>1?arguments[1]:void 0),n=Sf(e,function(t){if(r(t,t,e))return{value:t}},!0);return n&&n.value}}),Ce({target:"Set",proto:!0,real:!0,forced:!0},{intersection:function(t){return f(Df,this,ol(t))}}),Ce({target:"Set",proto:!0,real:!0,forced:!0},{isDisjointFrom:function(t){return f(qf,this,ol(t))}}),Ce({target:"Set",proto:!0,real:!0,forced:!0},{isSubsetOf:function(t){return f(Hf,this,ol(t))}}),Ce({target:"Set",proto:!0,real:!0,forced:!0},{isSupersetOf:function(t){return f(Kf,this,ol(t))}});var ul=b([].join),sl=b([].push);Ce({target:"Set",proto:!0,real:!0,forced:!0},{join:function(t){var e=df(this),r=void 0===t?",":Wr(t),n=[];return Sf(e,function(t){sl(n,t)}),ul(n,r)}});var cl=pf.Set,fl=pf.add;Ce({target:"Set",proto:!0,real:!0,forced:!0},{map:function(t){var e=df(this),r=ar(t,arguments.length>1?arguments[1]:void 0),n=new cl;return Sf(e,function(t){fl(n,r(t,t,e))}),n}});var ll=TypeError;Ce({target:"Set",proto:!0,real:!0,forced:!0},{reduce:function(t){var e=df(this),r=arguments.length<2,n=r?void 0:arguments[1];if(J(t),Sf(e,function(o){r?(r=!1,n=o):n=t(n,o,o,e)}),r)throw new ll("Reduce of empty set with no initial value");return n}}),Ce({target:"Set",proto:!0,real:!0,forced:!0},{some:function(t){var e=df(this),r=ar(t,arguments.length>1?arguments[1]:void 0);return!0===Sf(e,function(t){if(r(t,t,e))return!0},!0)}}),Ce({target:"Set",proto:!0,real:!0,forced:!0},{symmetricDifference:function(t){return f(Xf,this,ol(t))}}),Ce({target:"Set",proto:!0,real:!0,forced:!0},{union:function(t){return f(Qf,this,ol(t))}});var hl=dt("species"),pl=dt("isConcatSpreadable"),vl=W>=51||!a(function(){var t=[];return t[pl]=!1,t.concat()[0]!==t}),dl=function(t){if(!M(t))return!1;var e=t[pl];return void 0!==e?!!e:ur(t)},gl=!(vl&&(W>=51||!a(function(){var t=[];return(t.constructor={})[hl]=function(){return{foo:1}},1!==t.concat(Boolean).foo})));Ce({target:"Array",proto:!0,arity:1,forced:gl},{concat:function(t){var e,r,n,o,i,a=it(this),u=xr(a,0),s=0;for(e=-1,n=arguments.length;e<n;e++)if(dl(i=-1===e?a:arguments[e]))for(o=de(i),Nr(s+o),r=0;r<o;r++,s++)r in i&&Cn(u,s,i[r]);else Nr(s+1),Cn(u,s++,i);return u.length=s,u}});var yl={f:dt},ml=Ct.f,bl=function(t){var e=Yn.Symbol||(Yn.Symbol={});ut(e,t)||ml(e,t,{value:yl.f(t)})},wl=function(){var t=L("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,n=dt("toPrimitive");e&&!e[n]&&ie(e,n,function(t){return f(r,this)},{arity:1})},Sl=Ar.forEach,El=Xt("hidden"),Ol="Symbol",xl="prototype",Rl=ne.set,Pl=ne.getterFor(Ol),Al=Object[xl],jl=i.Symbol,kl=jl&&jl[xl],Il=i.RangeError,Tl=i.TypeError,Ml=i.QObject,Ll=Rt.f,Ul=Ct.f,Nl=mo.f,Cl=v.f,_l=b([].push),Fl=nt("symbols"),Bl=nt("op-symbols"),Dl=nt("wks"),zl=!Ml||!Ml[xl]||!Ml[xl].findChild,Wl=function(t,e,r){var n=Ll(Al,e);n&&delete Al[e],Ul(t,e,r),n&&t!==Al&&Ul(Al,e,n)},ql=u&&a(function(){return 7!==Ve(Ul({},"a",{get:function(){return Ul(this,"a",{value:7}).a}})).a})?Wl:Ul,Hl=function(t,e){var r=Fl[t]=Ve(kl);return Rl(r,{type:Ol,tag:t,description:e}),u||(r.description=e),r},$l=function(t,e,r){t===Al&&$l(Bl,e,r),kt(t);var n=bt(e);return kt(r),ut(Fl,n)?(r.enumerable?(ut(t,El)&&t[El][n]&&(t[El][n]=!1),r=Ve(r,{enumerable:d(0,!1)})):(ut(t,El)||Ul(t,El,d(1,Ve(null))),t[El][n]=!0),ql(t,n,r)):Ul(t,n,r)},Kl=function(t,e){kt(t);var r=k(e),n=_e(r).concat(Xl(r));return Sl(n,function(e){u&&!f(Gl,r,e)||$l(t,e,r[e])}),t},Gl=function(t){var e=bt(t),r=f(Cl,this,e);return!(this===Al&&ut(Fl,e)&&!ut(Bl,e))&&(!(r||!ut(this,e)||!ut(Fl,e)||ut(this,El)&&this[El][e])||r)},Vl=function(t,e){var r=k(t),n=bt(e);if(r!==Al||!ut(Fl,n)||ut(Bl,n)){var o=Ll(r,n);return!o||!ut(Fl,n)||ut(r,El)&&r[El][n]||(o.enumerable=!0),o}},Yl=function(t){var e=Nl(k(t)),r=[];return Sl(e,function(t){ut(Fl,t)||ut(Jt,t)||_l(r,t)}),r},Xl=function(t){var e=t===Al,r=Nl(e?Bl:k(t)),n=[];return Sl(r,function(t){!ut(Fl,t)||e&&!ut(Al,t)||_l(n,Fl[t])}),n};H||(jl=function(){if(U(kl,this))throw new Tl("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?Wr(arguments[0]):void 0,e=lt(t),r=function(t){var n=void 0===this?i:this;n===Al&&f(r,Bl,t),ut(n,El)&&ut(n[El],e)&&(n[El][e]=!1);var o=d(1,t);try{ql(n,e,o)}catch(t){if(!(t instanceof Il))throw t;Wl(n,e,o)}};return u&&zl&&ql(Al,e,{configurable:!0,set:r}),Hl(e,t)},ie(kl=jl[xl],"toString",function(){return Pl(this).tag}),ie(jl,"withoutSetter",function(t){return Hl(lt(t),t)}),v.f=Gl,Ct.f=$l,Be.f=Kl,Rt.f=Vl,Oe.f=mo.f=Yl,xe.f=Xl,yl.f=function(t){return Hl(dt(t),t)},u&&(so(kl,"description",{configurable:!0,get:function(){return Pl(this).description}}),ie(Al,"propertyIsEnumerable",Gl,{unsafe:!0}))),Ce({global:!0,constructor:!0,wrap:!0,forced:!H,sham:!H},{Symbol:jl}),Sl(_e(Dl),function(t){bl(t)}),Ce({target:Ol,stat:!0,forced:!H},{useSetter:function(){zl=!0},useSimple:function(){zl=!1}}),Ce({target:"Object",stat:!0,forced:!H,sham:!u},{create:function(t,e){return void 0===e?Ve(t):Kl(Ve(t),e)},defineProperty:$l,defineProperties:Kl,getOwnPropertyDescriptor:Vl}),Ce({target:"Object",stat:!0,forced:!H},{getOwnPropertyNames:Yl}),wl(),an(jl,Ol),Jt[El]=!0;var Jl=H&&!!Symbol.for&&!!Symbol.keyFor,Ql=nt("string-to-symbol-registry"),Zl=nt("symbol-to-string-registry");Ce({target:"Symbol",stat:!0,forced:!Jl},{for:function(t){var e=Wr(t);if(ut(Ql,e))return Ql[e];var r=L("Symbol")(e);return Ql[e]=r,Zl[r]=e,r}});var th=nt("symbol-to-string-registry");Ce({target:"Symbol",stat:!0,forced:!Jl},{keyFor:function(t){if(!G(t))throw new TypeError(Y(t)+" is not a symbol");if(ut(th,t))return th[t]}});var eh=b([].push),rh=String,nh=L("JSON","stringify"),oh=b(/./.exec),ih=b("".charAt),ah=b("".charCodeAt),uh=b("".replace),sh=b(1..toString),ch=/[\uD800-\uDFFF]/g,fh=/^[\uD800-\uDBFF]$/,lh=/^[\uDC00-\uDFFF]$/,hh=!H||a(function(){var t=L("Symbol")("stringify detection");return"[null]"!==nh([t])||"{}"!==nh({a:t})||"{}"!==nh(Object(t))}),ph=a(function(){return'"\\udf06\\ud834"'!==nh("\udf06\ud834")||'"\\udead"'!==nh("\udead")}),vh=function(t,e){var r=vo(arguments),n=function(t){if(T(t))return t;if(ur(t)){for(var e=t.length,r=[],n=0;n<e;n++){var o=t[n];"string"==typeof o?eh(r,o):"number"!=typeof o&&"Number"!==E(o)&&"String"!==E(o)||eh(r,Wr(o))}var i=r.length,a=!0;return function(t,e){if(a)return a=!1,e;if(ur(this))return e;for(var n=0;n<i;n++)if(r[n]===t)return e}}}(e);if(T(n)||void 0!==t&&!G(t))return r[1]=function(t,e){if(T(n)&&(e=f(n,this,rh(t),e)),!G(e))return e},Ra(nh,null,r)},dh=function(t,e,r){var n=ih(r,e-1),o=ih(r,e+1);return oh(fh,t)&&!oh(lh,o)||oh(lh,t)&&!oh(fh,n)?"\\u"+sh(ah(t,0),16):t};nh&&Ce({target:"JSON",stat:!0,arity:3,forced:hh||ph},{stringify:function(t,e,r){var n=vo(arguments),o=Ra(hh?vh:nh,null,n);return ph&&"string"==typeof o?uh(o,ch,dh):o}});var gh=!H||a(function(){xe.f(1)});Ce({target:"Object",stat:!0,forced:gh},{getOwnPropertySymbols:function(t){var e=xe.f;return e?e(it(t)):[]}}),bl("asyncIterator");var yh=i.Symbol,mh=yh&&yh.prototype;if(u&&T(yh)&&(!("description"in mh)||void 0!==yh().description)){var bh={},wh=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:Wr(arguments[0]),e=U(mh,this)?new yh(t):void 0===t?yh():yh(t);return""===t&&(bh[e]=!0),e};Ae(wh,yh),wh.prototype=mh,mh.constructor=wh;var Sh="Symbol(description detection)"===String(yh("description detection")),Eh=b(mh.valueOf),Oh=b(mh.toString),xh=/^Symbol\((.*)\)[^)]+$/,Rh=b("".replace),Ph=b("".slice);so(mh,"description",{configurable:!0,get:function(){var t=Eh(this);if(ut(bh,t))return"";var e=Oh(t),r=Sh?Ph(e,7,-1):Rh(e,xh,"$1");return""===r?void 0:r}}),Ce({global:!0,constructor:!0,forced:!0},{Symbol:wh})}bl("hasInstance"),bl("isConcatSpreadable"),bl("iterator"),bl("match"),bl("matchAll"),bl("replace"),bl("search"),bl("species"),bl("split"),bl("toPrimitive"),wl(),bl("toStringTag"),an(L("Symbol"),"Symbol"),bl("unscopables"),an(i.JSON,"JSON",!0),an(Math,"Math",!0);var Ah=Ct.f,jh=dt("metadata"),kh=Function.prototype;void 0===kh[jh]&&Ah(kh,jh,{value:null});var Ih=Ct.f,Th=Rt.f,Mh=i.Symbol;if(bl("asyncDispose"),Mh){var Lh=Th(Mh,"asyncDispose");Lh.enumerable&&Lh.configurable&&Lh.writable&&Ih(Mh,"asyncDispose",{value:Lh.value,enumerable:!1,configurable:!1,writable:!1})}var Uh=Ct.f,Nh=Rt.f,Ch=i.Symbol;if(bl("dispose"),Ch){var _h=Nh(Ch,"dispose");_h.enumerable&&_h.configurable&&_h.writable&&Uh(Ch,"dispose",{value:_h.value,enumerable:!1,configurable:!1,writable:!1})}bl("metadata");var Fh=L("Symbol"),Bh=Fh.keyFor,Dh=b(Fh.prototype.valueOf),zh=Fh.isRegisteredSymbol||function(t){try{return void 0!==Bh(Dh(t))}catch(t){return!1}};Ce({target:"Symbol",stat:!0},{isRegisteredSymbol:zh});for(var Wh=L("Symbol"),qh=Wh.isWellKnownSymbol,Hh=L("Object","getOwnPropertyNames"),$h=b(Wh.prototype.valueOf),Kh=nt("wks"),Gh=0,Vh=Hh(Wh),Yh=Vh.length;Gh<Yh;Gh++)try{var Xh=Vh[Gh];G(Wh[Xh])&&dt(Xh)}catch(t){}var Jh=function(t){if(qh&&qh(t))return!0;try{for(var e=$h(t),r=0,n=Hh(Kh),o=n.length;r<o;r++)if(Kh[n[r]]==e)return!0}catch(t){}return!1};Ce({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:Jh}),bl("customMatcher"),bl("observable"),Ce({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:zh}),Ce({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:Jh}),bl("matcher"),bl("metadataKey"),bl("patternMatch"),bl("replaceAll"),yl.f("asyncIterator");var Qh=Gr.codeAt;Ce({target:"String",proto:!0},{codePointAt:function(t){return Qh(this,t)}}),Ze("String","codePointAt");var Zh=TypeError,tp=function(t){if(es(t))throw new Zh("The method doesn't accept regular expressions");return t},ep=dt("match"),rp=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[ep]=!1,"/./"[t](e)}catch(t){}}return!1},np=Rt.f,op=or("".slice),ip=Math.min,ap=rp("endsWith"),up=!ap&&!!function(){var t=np(String.prototype,"endsWith");return t&&!t.writable}();Ce({target:"String",proto:!0,forced:!up&&!ap},{endsWith:function(t){var e=Wr(j(this));tp(t);var r=arguments.length>1?arguments[1]:void 0,n=e.length,o=void 0===r?n:ip(ve(r),n),i=Wr(t);return op(e,o-i.length,o)===i}}),Ze("String","endsWith");var sp=RangeError,cp=String.fromCharCode,fp=String.fromCodePoint,lp=b([].join);Ce({target:"String",stat:!0,arity:1,forced:!!fp&&1!==fp.length},{fromCodePoint:function(t){for(var e,r=[],n=arguments.length,o=0;n>o;){if(e=+arguments[o++],he(e,1114111)!==e)throw new sp(e+" is not a valid code point");r[o]=e<65536?cp(e):cp(55296+((e-=65536)>>10),e%1024+56320)}return lp(r,"")}});var hp=b("".indexOf);Ce({target:"String",proto:!0,forced:!rp("includes")},{includes:function(t){return!!~hp(Wr(j(this)),Wr(tp(t)),arguments.length>1?arguments[1]:void 0)}}),Ze("String","includes"),b(un.String);var pp=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(_),vp=Xc.start;Ce({target:"String",proto:!0,forced:pp},{padStart:function(t){return vp(this,t,arguments.length>1?arguments[1]:void 0)}}),Ze("String","padStart");var dp=Xc.end;Ce({target:"String",proto:!0,forced:pp},{padEnd:function(t){return dp(this,t,arguments.length>1?arguments[1]:void 0)}}),Ze("String","padEnd");var gp=b([].push),yp=b([].join);Ce({target:"String",stat:!0},{raw:function(t){var e=k(it(t).raw),r=de(e);if(!r)return"";for(var n=arguments.length,o=[],i=0;;){if(gp(o,Wr(e[i++])),i===r)return yp(o,"");i<n&&gp(o,Wr(arguments[i]))}}}),Ce({target:"String",proto:!0},{repeat:$c}),Ze("String","repeat");var mp=Rt.f,bp=or("".slice),wp=Math.min,Sp=rp("startsWith"),Ep=!Sp&&!!function(){var t=mp(String.prototype,"startsWith");return t&&!t.writable}();Ce({target:"String",proto:!0,forced:!Ep&&!Sp},{startsWith:function(t){var e=Wr(j(this));tp(t);var r=ve(wp(arguments.length>1?arguments[1]:void 0,e.length)),n=Wr(t);return bp(e,r,r+n.length)===n}}),Ze("String","startsWith");var Op=zt.PROPER,xp=function(t){return a(function(){return!!Mi[t]()||"​…᠎"!=="​…᠎"[t]()||Op&&Mi[t].name!==t})},Rp=_i.start,Pp=xp("trimStart")?function(){return Rp(this)}:"".trimStart;Ce({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==Pp},{trimLeft:Pp}),Ce({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==Pp},{trimStart:Pp}),Ze("String","trimLeft");var Ap=_i.end,jp=xp("trimEnd")?function(){return Ap(this)}:"".trimEnd;Ce({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==jp},{trimRight:jp}),Ce({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==jp},{trimEnd:jp}),Ze("String","trimRight");var kp=Object.getOwnPropertyDescriptor,Ip=function(t){if(!u)return i[t];var e=kp(i,t);return e&&e.value},Tp=dt("iterator"),Mp=!a(function(){var t=new URL("b?a=1&b=2&c=3","https://a"),e=t.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),n="";return t.pathname="c%20d",e.forEach(function(t,r){e.delete("b"),n+=r+t}),r.delete("a",2),r.delete("b",void 0),!e.size&&!u||!e.sort||"https://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[Tp]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://тест").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==n||"x"!==new URL("https://x",void 0).host}),Lp=TypeError,Up=function(t,e){if(t<e)throw new Lp("Not enough arguments");return t},Np=Math.floor,Cp=function(t,e){var r=t.length;if(r<8)for(var n,o,i=1;i<r;){for(o=i,n=t[i];o&&e(t[o-1],n)>0;)t[o]=t[--o];o!==i++&&(t[o]=n)}else for(var a=Np(r/2),u=Cp(vo(t,0,a),e),s=Cp(vo(t,a),e),c=u.length,f=s.length,l=0,h=0;l<c||h<f;)t[l+h]=l<c&&h<f?e(u[l],s[h])<=0?u[l++]:s[h++]:l<c?u[l++]:s[h++];return t},_p=Cp,Fp=dt("iterator"),Bp="URLSearchParams",Dp=Bp+"Iterator",zp=ne.set,Wp=ne.getterFor(Bp),qp=ne.getterFor(Dp),Hp=Ip("fetch"),$p=Ip("Request"),Kp=Ip("Headers"),Gp=$p&&$p.prototype,Vp=Kp&&Kp.prototype,Yp=i.TypeError,Xp=i.encodeURIComponent,Jp=String.fromCharCode,Qp=L("String","fromCodePoint"),Zp=parseInt,tv=b("".charAt),ev=b([].join),rv=b([].push),nv=b("".replace),ov=b([].shift),iv=b([].splice),av=b("".split),uv=b("".slice),sv=b(/./.exec),cv=/\+/g,fv=/^[0-9a-f]+$/i,lv=function(t,e){var r=uv(t,e,e+2);return sv(fv,r)?Zp(r,16):NaN},hv=function(t){for(var e=0,r=128;r>0&&0!=(t&r);r>>=1)e++;return e},pv=function(t){var e=null;switch(t.length){case 1:e=t[0];break;case 2:e=(31&t[0])<<6|63&t[1];break;case 3:e=(15&t[0])<<12|(63&t[1])<<6|63&t[2];break;case 4:e=(7&t[0])<<18|(63&t[1])<<12|(63&t[2])<<6|63&t[3]}return e>1114111?null:e},vv=function(t){for(var e=(t=nv(t,cv," ")).length,r="",n=0;n<e;){var o=tv(t,n);if("%"===o){if("%"===tv(t,n+1)||n+3>e){r+="%",n++;continue}var i=lv(t,n+1);if(i!=i){r+=o,n++;continue}n+=2;var a=hv(i);if(0===a)o=Jp(i);else{if(1===a||a>4){r+="�",n++;continue}for(var u=[i],s=1;s<a&&!(3+ ++n>e||"%"!==tv(t,n));){var c=lv(t,n+1);if(c!=c){n+=3;break}if(c>191||c<128)break;rv(u,c),n+=2,s++}if(u.length!==a){r+="�";continue}var f=pv(u);null===f?r+="�":o=Qp(f)}}r+=o,n++}return r},dv=/[!'()~]|%20/g,gv={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},yv=function(t){return gv[t]},mv=function(t){return nv(Xp(t),dv,yv)},bv=fn(function(t,e){zp(this,{type:Dp,target:Wp(t).entries,index:0,kind:e})},Bp,function(){var t=qp(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,Pn(void 0,!0);var n=e[r];switch(t.kind){case"keys":return Pn(n.key,!1);case"values":return Pn(n.value,!1)}return Pn([n.key,n.value],!1)},!0),wv=function(t){this.entries=[],this.url=null,void 0!==t&&(M(t)?this.parseObject(t):this.parseQuery("string"==typeof t?"?"===tv(t,0)?uv(t,1):t:Wr(t)))};wv.prototype={type:Bp,bindURL:function(t){this.url=t,this.update()},parseObject:function(t){var e,r,n,o,i,a,u,s=this.entries,c=Fn(t);if(c)for(r=(e=Dn(t,c)).next;!(n=f(r,e)).done;){if(o=Dn(kt(n.value)),(a=f(i=o.next,o)).done||(u=f(i,o)).done||!f(i,o).done)throw new Yp("Expected sequence with length 2");rv(s,{key:Wr(a.value),value:Wr(u.value)})}else for(var l in t)ut(t,l)&&rv(s,{key:l,value:Wr(t[l])})},parseQuery:function(t){if(t)for(var e,r,n=this.entries,o=av(t,"&"),i=0;i<o.length;)(e=o[i++]).length&&(r=av(e,"="),rv(n,{key:vv(ov(r)),value:vv(ev(r,"="))}))},serialize:function(){for(var t,e=this.entries,r=[],n=0;n<e.length;)t=e[n++],rv(r,mv(t.key)+"="+mv(t.value));return ev(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var Sv=function(){ko(this,Ev);var t=zp(this,new wv(arguments.length>0?arguments[0]:void 0));u||(this.size=t.entries.length)},Ev=Sv.prototype;if(Mo(Ev,{append:function(t,e){var r=Wp(this);Up(arguments.length,2),rv(r.entries,{key:Wr(t),value:Wr(e)}),u||this.length++,r.updateURL()},delete:function(t){for(var e=Wp(this),r=Up(arguments.length,1),n=e.entries,o=Wr(t),i=r<2?void 0:arguments[1],a=void 0===i?i:Wr(i),s=0;s<n.length;){var c=n[s];if(c.key!==o||void 0!==a&&c.value!==a)s++;else if(iv(n,s,1),void 0!==a)break}u||(this.size=n.length),e.updateURL()},get:function(t){var e=Wp(this).entries;Up(arguments.length,1);for(var r=Wr(t),n=0;n<e.length;n++)if(e[n].key===r)return e[n].value;return null},getAll:function(t){var e=Wp(this).entries;Up(arguments.length,1);for(var r=Wr(t),n=[],o=0;o<e.length;o++)e[o].key===r&&rv(n,e[o].value);return n},has:function(t){for(var e=Wp(this).entries,r=Up(arguments.length,1),n=Wr(t),o=r<2?void 0:arguments[1],i=void 0===o?o:Wr(o),a=0;a<e.length;){var u=e[a++];if(u.key===n&&(void 0===i||u.value===i))return!0}return!1},set:function(t,e){var r=Wp(this);Up(arguments.length,1);for(var n,o=r.entries,i=!1,a=Wr(t),s=Wr(e),c=0;c<o.length;c++)(n=o[c]).key===a&&(i?iv(o,c--,1):(i=!0,n.value=s));i||rv(o,{key:a,value:s}),u||(this.size=o.length),r.updateURL()},sort:function(){var t=Wp(this);_p(t.entries,function(t,e){return t.key>e.key?1:-1}),t.updateURL()},forEach:function(t){for(var e,r=Wp(this).entries,n=ar(t,arguments.length>1?arguments[1]:void 0),o=0;o<r.length;)n((e=r[o++]).value,e.key,this)},keys:function(){return new bv(this,"keys")},values:function(){return new bv(this,"values")},entries:function(){return new bv(this,"entries")}},{enumerable:!0}),ie(Ev,Fp,Ev.entries,{name:"entries"}),ie(Ev,"toString",function(){return Wp(this).serialize()},{enumerable:!0}),u&&so(Ev,"size",{get:function(){return Wp(this).entries.length},configurable:!0,enumerable:!0}),an(Sv,Bp),Ce({global:!0,constructor:!0,forced:!Mp},{URLSearchParams:Sv}),!Mp&&T(Kp)){var Ov=b(Vp.has),xv=b(Vp.set),Rv=function(t){if(M(t)){var e,r=t.body;if(pr(r)===Bp)return e=t.headers?new Kp(t.headers):new Kp,Ov(e,"content-type")||xv(e,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),Ve(t,{body:d(0,Wr(r)),headers:d(0,e)})}return t};if(T(Hp)&&Ce({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(t){return Hp(t,arguments.length>1?Rv(arguments[1]):{})}}),T($p)){var Pv=function(t){return ko(this,Gp),new $p(t,arguments.length>1?Rv(arguments[1]):{})};Gp.constructor=Pv,Pv.prototype=Gp,Ce({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Pv})}}var Av={URLSearchParams:Sv,getState:Wp},jv=URLSearchParams,kv=jv.prototype,Iv=b(kv.append),Tv=b(kv.delete),Mv=b(kv.forEach),Lv=b([].push),Uv=new jv("a=1&a=2&b=3");Uv.delete("a",1),Uv.delete("b",void 0),Uv+""!="a=2"&&ie(kv,"delete",function(t){var e=arguments.length,r=e<2?void 0:arguments[1];if(e&&void 0===r)return Tv(this,t);var n=[];Mv(this,function(t,e){Lv(n,{key:e,value:t})}),Up(e,1);for(var o,i=Wr(t),a=Wr(r),u=0,s=0,c=!1,f=n.length;u<f;)o=n[u++],c||o.key===i?(c=!0,Tv(this,o.key)):s++;for(;s<f;)(o=n[s++]).key===i&&o.value===a||Iv(this,o.key,o.value)},{enumerable:!0,unsafe:!0});var Nv=URLSearchParams,Cv=Nv.prototype,_v=b(Cv.getAll),Fv=b(Cv.has),Bv=new Nv("a=1");!Bv.has("a",2)&&Bv.has("a",void 0)||ie(Cv,"has",function(t){var e=arguments.length,r=e<2?void 0:arguments[1];if(e&&void 0===r)return Fv(this,t);var n=_v(this,t);Up(e,1);for(var o=Wr(r),i=0;i<n.length;)if(n[i++]===o)return!0;return!1},{enumerable:!0,unsafe:!0});var Dv=URLSearchParams.prototype,zv=b(Dv.forEach);u&&!("size"in Dv)&&so(Dv,"size",{get:function(){var t=0;return zv(this,function(){t++}),t},configurable:!0,enumerable:!0});var Wv,qv=Object.assign,Hv=Object.defineProperty,$v=b([].concat),Kv=!qv||a(function(){if(u&&1!==qv({b:1},qv(Hv({},"a",{enumerable:!0,get:function(){Hv(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol("assign detection"),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach(function(t){e[t]=t}),7!==qv({},t)[r]||_e(qv({},e)).join("")!==n})?function(t,e){for(var r=it(t),n=arguments.length,o=1,i=xe.f,a=v.f;n>o;)for(var s,c=R(arguments[o++]),l=i?$v(_e(c),i(c)):_e(c),h=l.length,p=0;h>p;)s=l[p++],u&&!f(a,c,s)||(r[s]=c[s]);return r}:qv,Gv=2147483647,Vv=/[^\0-\u007E]/,Yv=/[.\u3002\uFF0E\uFF61]/g,Xv="Overflow: input needs wider integers to process",Jv=RangeError,Qv=b(Yv.exec),Zv=Math.floor,td=String.fromCharCode,ed=b("".charCodeAt),rd=b([].join),nd=b([].push),od=b("".replace),id=b("".split),ad=b("".toLowerCase),ud=function(t){return t+22+75*(t<26)},sd=function(t,e,r){var n=0;for(t=r?Zv(t/700):t>>1,t+=Zv(t/e);t>455;)t=Zv(t/35),n+=36;return Zv(n+36*t/(t+38))},cd=function(t){var e=[];t=function(t){for(var e=[],r=0,n=t.length;r<n;){var o=ed(t,r++);if(o>=55296&&o<=56319&&r<n){var i=ed(t,r++);56320==(64512&i)?nd(e,((1023&o)<<10)+(1023&i)+65536):(nd(e,o),r--)}else nd(e,o)}return e}(t);var r,n,o=t.length,i=128,a=0,u=72;for(r=0;r<t.length;r++)(n=t[r])<128&&nd(e,td(n));var s=e.length,c=s;for(s&&nd(e,"-");c<o;){var f=Gv;for(r=0;r<t.length;r++)(n=t[r])>=i&&n<f&&(f=n);var l=c+1;if(f-i>Zv((Gv-a)/l))throw new Jv(Xv);for(a+=(f-i)*l,i=f,r=0;r<t.length;r++){if((n=t[r])<i&&++a>Gv)throw new Jv(Xv);if(n===i){for(var h=a,p=36;;){var v=p<=u?1:p>=u+26?26:p-u;if(h<v)break;var d=h-v,g=36-v;nd(e,td(ud(v+d%g))),h=Zv(d/g),p+=36}nd(e,td(ud(h))),u=sd(a,l,c===s),a=0,c++}}a++,i++}return rd(e,"")},fd=Gr.codeAt,ld=ne.set,hd=ne.getterFor("URL"),pd=Av.URLSearchParams,vd=Av.getState,dd=i.URL,gd=i.TypeError,yd=i.parseInt,md=Math.floor,bd=Math.pow,wd=b("".charAt),Sd=b(/./.exec),Ed=b([].join),Od=b(1..toString),xd=b([].pop),Rd=b([].push),Pd=b("".replace),Ad=b([].shift),jd=b("".split),kd=b("".slice),Id=b("".toLowerCase),Td=b([].unshift),Md="Invalid scheme",Ld="Invalid host",Ud="Invalid port",Nd=/[a-z]/i,Cd=/[\d+-.a-z]/i,_d=/\d/,Fd=/^0x/i,Bd=/^[0-7]+$/,Dd=/^\d+$/,zd=/^[\da-f]+$/i,Wd=/[\0\t\n\r #%/:<>?@[\\\]^|]/,qd=/[\0\t\n\r #/:<>?@[\\\]^|]/,Hd=/^[\u0000-\u0020]+/,$d=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,Kd=/[\t\n\r]/g,Gd=function(t){var e,r,n,o;if("number"==typeof t){for(e=[],r=0;r<4;r++)Td(e,t%256),t=md(t/256);return Ed(e,".")}if("object"==typeof t){for(e="",n=function(t){for(var e=null,r=1,n=null,o=0,i=0;i<8;i++)0!==t[i]?(o>r&&(e=n,r=o),n=null,o=0):(null===n&&(n=i),++o);return o>r?n:e}(t),r=0;r<8;r++)o&&0===t[r]||(o&&(o=!1),n===r?(e+=r?":":"::",o=!0):(e+=Od(t[r],16),r<7&&(e+=":")));return"["+e+"]"}return t},Vd={},Yd=Kv({},Vd,{" ":1,'"':1,"<":1,">":1,"`":1}),Xd=Kv({},Yd,{"#":1,"?":1,"{":1,"}":1}),Jd=Kv({},Xd,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Qd=function(t,e){var r=fd(t,0);return r>32&&r<127&&!ut(e,t)?t:encodeURIComponent(t)},Zd={ftp:21,file:null,http:80,https:443,ws:80,wss:443},tg=function(t,e){var r;return 2===t.length&&Sd(Nd,wd(t,0))&&(":"===(r=wd(t,1))||!e&&"|"===r)},eg=function(t){var e;return t.length>1&&tg(kd(t,0,2))&&(2===t.length||"/"===(e=wd(t,2))||"\\"===e||"?"===e||"#"===e)},rg=function(t){return"."===t||"%2e"===Id(t)},ng={},og={},ig={},ag={},ug={},sg={},cg={},fg={},lg={},hg={},pg={},vg={},dg={},gg={},yg={},mg={},bg={},wg={},Sg={},Eg={},Og={},xg=function(t,e,r){var n,o,i,a=Wr(t);if(e){if(o=this.parse(a))throw new gd(o);this.searchParams=null}else{if(void 0!==r&&(n=new xg(r,!0)),o=this.parse(a,null,n))throw new gd(o);(i=vd(new pd)).bindURL(this),this.searchParams=i}};xg.prototype={type:"URL",parse:function(t,e,r){var n,o,i,a,u,s=this,c=e||ng,f=0,l="",h=!1,p=!1,v=!1;for(t=Wr(t),e||(s.scheme="",s.username="",s.password="",s.host=null,s.port=null,s.path=[],s.query=null,s.fragment=null,s.cannotBeABaseURL=!1,t=Pd(t,Hd,""),t=Pd(t,$d,"$1")),t=Pd(t,Kd,""),n=Wn(t);f<=n.length;){switch(o=n[f],c){case ng:if(!o||!Sd(Nd,o)){if(e)return Md;c=ig;continue}l+=Id(o),c=og;break;case og:if(o&&(Sd(Cd,o)||"+"===o||"-"===o||"."===o))l+=Id(o);else{if(":"!==o){if(e)return Md;l="",c=ig,f=0;continue}if(e&&(s.isSpecial()!==ut(Zd,l)||"file"===l&&(s.includesCredentials()||null!==s.port)||"file"===s.scheme&&!s.host))return;if(s.scheme=l,e)return void(s.isSpecial()&&Zd[s.scheme]===s.port&&(s.port=null));l="","file"===s.scheme?c=gg:s.isSpecial()&&r&&r.scheme===s.scheme?c=ag:s.isSpecial()?c=fg:"/"===n[f+1]?(c=ug,f++):(s.cannotBeABaseURL=!0,Rd(s.path,""),c=Sg)}break;case ig:if(!r||r.cannotBeABaseURL&&"#"!==o)return Md;if(r.cannotBeABaseURL&&"#"===o){s.scheme=r.scheme,s.path=vo(r.path),s.query=r.query,s.fragment="",s.cannotBeABaseURL=!0,c=Og;break}c="file"===r.scheme?gg:sg;continue;case ag:if("/"!==o||"/"!==n[f+1]){c=sg;continue}c=lg,f++;break;case ug:if("/"===o){c=hg;break}c=wg;continue;case sg:if(s.scheme=r.scheme,o===Wv)s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=vo(r.path),s.query=r.query;else if("/"===o||"\\"===o&&s.isSpecial())c=cg;else if("?"===o)s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=vo(r.path),s.query="",c=Eg;else{if("#"!==o){s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=vo(r.path),s.path.length--,c=wg;continue}s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=vo(r.path),s.query=r.query,s.fragment="",c=Og}break;case cg:if(!s.isSpecial()||"/"!==o&&"\\"!==o){if("/"!==o){s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,c=wg;continue}c=hg}else c=lg;break;case fg:if(c=lg,"/"!==o||"/"!==wd(l,f+1))continue;f++;break;case lg:if("/"!==o&&"\\"!==o){c=hg;continue}break;case hg:if("@"===o){h&&(l="%40"+l),h=!0,i=Wn(l);for(var d=0;d<i.length;d++){var g=i[d];if(":"!==g||v){var y=Qd(g,Jd);v?s.password+=y:s.username+=y}else v=!0}l=""}else if(o===Wv||"/"===o||"?"===o||"#"===o||"\\"===o&&s.isSpecial()){if(h&&""===l)return"Invalid authority";f-=Wn(l).length+1,l="",c=pg}else l+=o;break;case pg:case vg:if(e&&"file"===s.scheme){c=mg;continue}if(":"!==o||p){if(o===Wv||"/"===o||"?"===o||"#"===o||"\\"===o&&s.isSpecial()){if(s.isSpecial()&&""===l)return Ld;if(e&&""===l&&(s.includesCredentials()||null!==s.port))return;if(a=s.parseHost(l))return a;if(l="",c=bg,e)return;continue}"["===o?p=!0:"]"===o&&(p=!1),l+=o}else{if(""===l)return Ld;if(a=s.parseHost(l))return a;if(l="",c=dg,e===vg)return}break;case dg:if(!Sd(_d,o)){if(o===Wv||"/"===o||"?"===o||"#"===o||"\\"===o&&s.isSpecial()||e){if(""!==l){var m=yd(l,10);if(m>65535)return Ud;s.port=s.isSpecial()&&m===Zd[s.scheme]?null:m,l=""}if(e)return;c=bg;continue}return Ud}l+=o;break;case gg:if(s.scheme="file","/"===o||"\\"===o)c=yg;else{if(!r||"file"!==r.scheme){c=wg;continue}switch(o){case Wv:s.host=r.host,s.path=vo(r.path),s.query=r.query;break;case"?":s.host=r.host,s.path=vo(r.path),s.query="",c=Eg;break;case"#":s.host=r.host,s.path=vo(r.path),s.query=r.query,s.fragment="",c=Og;break;default:eg(Ed(vo(n,f),""))||(s.host=r.host,s.path=vo(r.path),s.shortenPath()),c=wg;continue}}break;case yg:if("/"===o||"\\"===o){c=mg;break}r&&"file"===r.scheme&&!eg(Ed(vo(n,f),""))&&(tg(r.path[0],!0)?Rd(s.path,r.path[0]):s.host=r.host),c=wg;continue;case mg:if(o===Wv||"/"===o||"\\"===o||"?"===o||"#"===o){if(!e&&tg(l))c=wg;else if(""===l){if(s.host="",e)return;c=bg}else{if(a=s.parseHost(l))return a;if("localhost"===s.host&&(s.host=""),e)return;l="",c=bg}continue}l+=o;break;case bg:if(s.isSpecial()){if(c=wg,"/"!==o&&"\\"!==o)continue}else if(e||"?"!==o)if(e||"#"!==o){if(o!==Wv&&(c=wg,"/"!==o))continue}else s.fragment="",c=Og;else s.query="",c=Eg;break;case wg:if(o===Wv||"/"===o||"\\"===o&&s.isSpecial()||!e&&("?"===o||"#"===o)){if(".."===(u=Id(u=l))||"%2e."===u||".%2e"===u||"%2e%2e"===u?(s.shortenPath(),"/"===o||"\\"===o&&s.isSpecial()||Rd(s.path,"")):rg(l)?"/"===o||"\\"===o&&s.isSpecial()||Rd(s.path,""):("file"===s.scheme&&!s.path.length&&tg(l)&&(s.host&&(s.host=""),l=wd(l,0)+":"),Rd(s.path,l)),l="","file"===s.scheme&&(o===Wv||"?"===o||"#"===o))for(;s.path.length>1&&""===s.path[0];)Ad(s.path);"?"===o?(s.query="",c=Eg):"#"===o&&(s.fragment="",c=Og)}else l+=Qd(o,Xd);break;case Sg:"?"===o?(s.query="",c=Eg):"#"===o?(s.fragment="",c=Og):o!==Wv&&(s.path[0]+=Qd(o,Vd));break;case Eg:e||"#"!==o?o!==Wv&&("'"===o&&s.isSpecial()?s.query+="%27":s.query+="#"===o?"%23":Qd(o,Vd)):(s.fragment="",c=Og);break;case Og:o!==Wv&&(s.fragment+=Qd(o,Yd))}f++}},parseHost:function(t){var e,r,n;if("["===wd(t,0)){if("]"!==wd(t,t.length-1))return Ld;if(e=function(t){var e,r,n,o,i,a,u,s=[0,0,0,0,0,0,0,0],c=0,f=null,l=0,h=function(){return wd(t,l)};if(":"===h()){if(":"!==wd(t,1))return;l+=2,f=++c}for(;h();){if(8===c)return;if(":"!==h()){for(e=r=0;r<4&&Sd(zd,h());)e=16*e+yd(h(),16),l++,r++;if("."===h()){if(0===r)return;if(l-=r,c>6)return;for(n=0;h();){if(o=null,n>0){if(!("."===h()&&n<4))return;l++}if(!Sd(_d,h()))return;for(;Sd(_d,h());){if(i=yd(h(),10),null===o)o=i;else{if(0===o)return;o=10*o+i}if(o>255)return;l++}s[c]=256*s[c]+o,2!=++n&&4!==n||c++}if(4!==n)return;break}if(":"===h()){if(l++,!h())return}else if(h())return;s[c++]=e}else{if(null!==f)return;l++,f=++c}}if(null!==f)for(a=c-f,c=7;0!==c&&a>0;)u=s[c],s[c--]=s[f+a-1],s[f+--a]=u;else if(8!==c)return;return s}(kd(t,1,-1)),!e)return Ld;this.host=e}else if(this.isSpecial()){if(t=function(t){var e,r,n=[],o=id(od(ad(t),Yv,"."),".");for(e=0;e<o.length;e++)nd(n,Qv(Vv,r=o[e])?"xn--"+cd(r):r);return rd(n,".")}(t),Sd(Wd,t))return Ld;if(e=function(t){var e,r,n,o,i,a,u,s=jd(t,".");if(s.length&&""===s[s.length-1]&&s.length--,(e=s.length)>4)return t;for(r=[],n=0;n<e;n++){if(""===(o=s[n]))return t;if(i=10,o.length>1&&"0"===wd(o,0)&&(i=Sd(Fd,o)?16:8,o=kd(o,8===i?1:2)),""===o)a=0;else{if(!Sd(10===i?Dd:8===i?Bd:zd,o))return t;a=yd(o,i)}Rd(r,a)}for(n=0;n<e;n++)if(a=r[n],n===e-1){if(a>=bd(256,5-e))return null}else if(a>255)return null;for(u=xd(r),n=0;n<r.length;n++)u+=r[n]*bd(256,3-n);return u}(t),null===e)return Ld;this.host=e}else{if(Sd(qd,t))return Ld;for(e="",r=Wn(t),n=0;n<r.length;n++)e+=Qd(r[n],Vd);this.host=e}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return ut(Zd,this.scheme)},shortenPath:function(){var t=this.path,e=t.length;!e||"file"===this.scheme&&1===e&&tg(t[0],!0)||t.length--},serialize:function(){var t=this,e=t.scheme,r=t.username,n=t.password,o=t.host,i=t.port,a=t.path,u=t.query,s=t.fragment,c=e+":";return null!==o?(c+="//",t.includesCredentials()&&(c+=r+(n?":"+n:"")+"@"),c+=Gd(o),null!==i&&(c+=":"+i)):"file"===e&&(c+="//"),c+=t.cannotBeABaseURL?a[0]:a.length?"/"+Ed(a,"/"):"",null!==u&&(c+="?"+u),null!==s&&(c+="#"+s),c},setHref:function(t){var e=this.parse(t);if(e)throw new gd(e);this.searchParams.update()},getOrigin:function(){var t=this.scheme,e=this.port;if("blob"===t)try{return new Rg(t.path[0]).origin}catch(t){return"null"}return"file"!==t&&this.isSpecial()?t+"://"+Gd(this.host)+(null!==e?":"+e:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(t){this.parse(Wr(t)+":",ng)},getUsername:function(){return this.username},setUsername:function(t){var e=Wn(Wr(t));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<e.length;r++)this.username+=Qd(e[r],Jd)}},getPassword:function(){return this.password},setPassword:function(t){var e=Wn(Wr(t));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<e.length;r++)this.password+=Qd(e[r],Jd)}},getHost:function(){var t=this.host,e=this.port;return null===t?"":null===e?Gd(t):Gd(t)+":"+e},setHost:function(t){this.cannotBeABaseURL||this.parse(t,pg)},getHostname:function(){var t=this.host;return null===t?"":Gd(t)},setHostname:function(t){this.cannotBeABaseURL||this.parse(t,vg)},getPort:function(){var t=this.port;return null===t?"":Wr(t)},setPort:function(t){this.cannotHaveUsernamePasswordPort()||(""===(t=Wr(t))?this.port=null:this.parse(t,dg))},getPathname:function(){var t=this.path;return this.cannotBeABaseURL?t[0]:t.length?"/"+Ed(t,"/"):""},setPathname:function(t){this.cannotBeABaseURL||(this.path=[],this.parse(t,bg))},getSearch:function(){var t=this.query;return t?"?"+t:""},setSearch:function(t){""===(t=Wr(t))?this.query=null:("?"===wd(t,0)&&(t=kd(t,1)),this.query="",this.parse(t,Eg)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var t=this.fragment;return t?"#"+t:""},setHash:function(t){""!==(t=Wr(t))?("#"===wd(t,0)&&(t=kd(t,1)),this.fragment="",this.parse(t,Og)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Rg=function(t){var e=ko(this,Pg),r=Up(arguments.length,1)>1?arguments[1]:void 0,n=ld(e,new xg(t,!1,r));u||(e.href=n.serialize(),e.origin=n.getOrigin(),e.protocol=n.getProtocol(),e.username=n.getUsername(),e.password=n.getPassword(),e.host=n.getHost(),e.hostname=n.getHostname(),e.port=n.getPort(),e.pathname=n.getPathname(),e.search=n.getSearch(),e.searchParams=n.getSearchParams(),e.hash=n.getHash())},Pg=Rg.prototype,Ag=function(t,e){return{get:function(){return hd(this)[t]()},set:e&&function(t){return hd(this)[e](t)},configurable:!0,enumerable:!0}};if(u&&(so(Pg,"href",Ag("serialize","setHref")),so(Pg,"origin",Ag("getOrigin")),so(Pg,"protocol",Ag("getProtocol","setProtocol")),so(Pg,"username",Ag("getUsername","setUsername")),so(Pg,"password",Ag("getPassword","setPassword")),so(Pg,"host",Ag("getHost","setHost")),so(Pg,"hostname",Ag("getHostname","setHostname")),so(Pg,"port",Ag("getPort","setPort")),so(Pg,"pathname",Ag("getPathname","setPathname")),so(Pg,"search",Ag("getSearch","setSearch")),so(Pg,"searchParams",Ag("getSearchParams")),so(Pg,"hash",Ag("getHash","setHash"))),ie(Pg,"toJSON",function(){return hd(this).serialize()},{enumerable:!0}),ie(Pg,"toString",function(){return hd(this).serialize()},{enumerable:!0}),dd){var jg=dd.createObjectURL,kg=dd.revokeObjectURL;jg&&ie(Rg,"createObjectURL",ar(jg,dd)),kg&&ie(Rg,"revokeObjectURL",ar(kg,dd))}an(Rg,"URL"),Ce({global:!0,constructor:!0,forced:!Mp,sham:!u},{URL:Rg});var Ig=L("URL"),Tg=Mp&&a(function(){Ig.canParse()}),Mg=a(function(){return 1!==Ig.canParse.length});Ce({target:"URL",stat:!0,forced:!Tg||Mg},{canParse:function(t){var e=Up(arguments.length,1),r=Wr(t),n=e<2||void 0===arguments[1]?void 0:Wr(arguments[1]);try{return!!new Ig(r,n)}catch(t){return!1}}});var Lg=L("URL");Ce({target:"URL",stat:!0,forced:!Mp},{parse:function(t){var e=Up(arguments.length,1),r=Wr(t),n=e<2||void 0===arguments[1]?void 0:Wr(arguments[1]);try{return new Lg(r,n)}catch(t){return null}}}),Ce({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return f(URL.prototype.toString,this)}});var Ug=WeakMap.prototype,Ng={WeakMap:WeakMap,set:b(Ug.set),get:b(Ug.get),has:b(Ug.has),remove:b(Ug.delete)},Cg=Ng.has,_g=function(t){return Cg(t),t},Fg=Ng.get,Bg=Ng.has,Dg=Ng.set;Ce({target:"WeakMap",proto:!0,real:!0,forced:!0},{emplace:function(t,e){var r,n,o=_g(this);return Bg(o,t)?(r=Fg(o,t),"update"in e&&(r=e.update(r,t,o),Dg(o,t,r)),r):(n=e.insert(t,o),Dg(o,t,n),n)}}),Ce({target:"WeakMap",stat:!0,forced:!0},{from:ei(Ng.WeakMap,Ng.set,!0)}),Ce({target:"WeakMap",stat:!0,forced:!0},{of:ri(Ng.WeakMap,Ng.set,!0)});var zg=Ng.remove;Ce({target:"WeakMap",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var t,e=_g(this),r=!0,n=0,o=arguments.length;n<o;n++)t=zg(e,arguments[n]),r=r&&t;return!!r}}),Ce({target:"WeakMap",proto:!0,real:!0,forced:!0},{upsert:Ii}),To("WeakSet",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},eu);var Wg=WeakSet.prototype,qg={WeakSet:WeakSet,add:b(Wg.add),has:b(Wg.has),remove:b(Wg.delete)},Hg=qg.has,$g=function(t){return Hg(t),t},Kg=qg.add;Ce({target:"WeakSet",proto:!0,real:!0,forced:!0},{addAll:function(){for(var t=$g(this),e=0,r=arguments.length;e<r;e++)Kg(t,arguments[e]);return t}});var Gg=qg.remove;Ce({target:"WeakSet",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var t,e=$g(this),r=!0,n=0,o=arguments.length;n<o;n++)t=Gg(e,arguments[n]),r=r&&t;return!!r}}),Ce({target:"WeakSet",stat:!0,forced:!0},{from:ei(qg.WeakSet,qg.add,!1)}),Ce({target:"WeakSet",stat:!0,forced:!0},{of:ri(qg.WeakSet,qg.add,!1)});var Vg=Error,Yg=b("".replace),Xg=String(new Vg("zxcasd").stack),Jg=/\n\s*at [^:]*:[^\n]*/,Qg=Jg.test(Xg),Zg=!a(function(){var t=new Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",d(1,7)),7!==t.stack)}),ty=Error.captureStackTrace,ey=dt("toStringTag"),ry=Error,ny=[].push,oy=function(t,e){var r,n,o,i,a,u=U(iy,this);dn?r=dn(new ry,u?Qr(this):iy):(r=u?this:Ve(iy),_t(r,ey,"Error")),void 0!==e&&_t(r,"message",function(t,e){return void 0===t?arguments.length<2?"":e:Wr(t)}(e)),i=r,a=r.stack,Zg&&(ty?ty(i,oy):_t(i,"stack",function(t,e){if(Qg&&"string"==typeof t&&!Vg.prepareStackTrace)for(;e--;)t=Yg(t,Jg,"");return t}(a,1))),arguments.length>2&&(n=r,M(o=arguments[2])&&"cause"in o&&_t(n,"cause",o.cause));var s=[];return Ao(t,ny,{that:s}),_t(r,"errors",s),r};dn?dn(oy,ry):Ae(oy,ry,{name:!0});var iy=oy.prototype=Ve(ry.prototype,{constructor:d(1,oy),message:d(1,""),name:d(1,"AggregateError")});Ce({global:!0,constructor:!0,arity:2},{AggregateError:oy});var ay,uy,sy,cy,fy=function(t){return _.slice(0,t.length)===t},ly=fy("Bun/")?"BUN":fy("Cloudflare-Workers")?"CLOUDFLARE":fy("Deno/")?"DENO":fy("Node.js/")?"NODE":i.Bun&&"string"==typeof Bun.version?"BUN":i.Deno&&"object"==typeof Deno.version?"DENO":"process"===E(i.process)?"NODE":i.window&&i.document?"BROWSER":"REST",hy="NODE"===ly,py=/(?:ipad|iphone|ipod).*applewebkit/i.test(_),vy=i.setImmediate,dy=i.clearImmediate,gy=i.process,yy=i.Dispatch,my=i.Function,by=i.MessageChannel,wy=i.String,Sy=0,Ey={},Oy="onreadystatechange";a(function(){ay=i.location});var xy=function(t){if(ut(Ey,t)){var e=Ey[t];delete Ey[t],e()}},Ry=function(t){return function(){xy(t)}},Py=function(t){xy(t.data)},Ay=function(t){i.postMessage(wy(t),ay.protocol+"//"+ay.host)};vy&&dy||(vy=function(t){Up(arguments.length,1);var e=T(t)?t:my(t),r=vo(arguments,1);return Ey[++Sy]=function(){Ra(e,void 0,r)},uy(Sy),Sy},dy=function(t){delete Ey[t]},hy?uy=function(t){gy.nextTick(Ry(t))}:yy&&yy.now?uy=function(t){yy.now(Ry(t))}:by&&!py?(cy=(sy=new by).port2,sy.port1.onmessage=Py,uy=ar(cy.postMessage,cy)):i.addEventListener&&T(i.postMessage)&&!i.importScripts&&ay&&"file:"!==ay.protocol&&!a(Ay)?(uy=Ay,i.addEventListener("message",Py,!1)):uy=Oy in Et("script")?function(t){De.appendChild(Et("script"))[Oy]=function(){De.removeChild(this),xy(t)}}:function(t){setTimeout(Ry(t),0)});var jy={set:vy,clear:dy},ky=function(){this.head=null,this.tail=null};ky.prototype={add:function(t){var e={item:t,next:null},r=this.tail;r?r.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}};var Iy,Ty,My,Ly,Uy,Ny=ky,Cy=/ipad|iphone|ipod/i.test(_)&&"undefined"!=typeof Pebble,_y=/web0s(?!.*chrome)/i.test(_),Fy=jy.set,By=i.MutationObserver||i.WebKitMutationObserver,Dy=i.document,zy=i.process,Wy=i.Promise,qy=Ip("queueMicrotask");if(!qy){var Hy=new Ny,$y=function(){var t,e;for(hy&&(t=zy.domain)&&t.exit();e=Hy.get();)try{e()}catch(t){throw Hy.head&&Iy(),t}t&&t.enter()};py||hy||_y||!By||!Dy?!Cy&&Wy&&Wy.resolve?((Ly=Wy.resolve(void 0)).constructor=Wy,Uy=ar(Ly.then,Ly),Iy=function(){Uy($y)}):hy?Iy=function(){zy.nextTick($y)}:(Fy=ar(Fy,i),Iy=function(){Fy($y)}):(Ty=!0,My=Dy.createTextNode(""),new By($y).observe(My,{characterData:!0}),Iy=function(){My.data=Ty=!Ty}),qy=function(t){Hy.head||Iy(),Hy.add(t)}}var Ky,Gy,Vy,Yy=qy,Xy=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},Jy=i.Promise,Qy=dt("species"),Zy=!1,tm=T(i.PromiseRejectionEvent),em=Ue("Promise",function(){var t=Kt(Jy),e=t!==String(Jy);if(!e&&66===W)return!0;if(!W||W<51||!/native code/.test(t)){var r=new Jy(function(t){t(1)}),n=function(t){t(function(){},function(){})};if((r.constructor={})[Qy]=n,!(Zy=r.then(function(){})instanceof n))return!0}return!(e||"BROWSER"!==ly&&"DENO"!==ly||tm)}),rm={CONSTRUCTOR:em,REJECTION_EVENT:tm,SUBCLASSING:Zy},nm=TypeError,om=function(t){var e,r;this.promise=new t(function(t,n){if(void 0!==e||void 0!==r)throw new nm("Bad Promise constructor");e=t,r=n}),this.resolve=J(e),this.reject=J(r)},im={f:function(t){return new om(t)}},am=jy.set,um="Promise",sm=rm.CONSTRUCTOR,cm=rm.REJECTION_EVENT,fm=rm.SUBCLASSING,lm=ne.getterFor(um),hm=ne.set,pm=Jy&&Jy.prototype,vm=Jy,dm=pm,gm=i.TypeError,ym=i.document,mm=i.process,bm=im.f,wm=bm,Sm=!!(ym&&ym.createEvent&&i.dispatchEvent),Em="unhandledrejection",Om=function(t){var e;return!(!M(t)||!T(e=t.then))&&e},xm=function(t,e){var r,n,o,i=e.value,a=1===e.state,u=a?t.ok:t.fail,s=t.resolve,c=t.reject,l=t.domain;try{u?(a||(2===e.rejection&&km(e),e.rejection=1),!0===u?r=i:(l&&l.enter(),r=u(i),l&&(l.exit(),o=!0)),r===t.promise?c(new gm("Promise-chain cycle")):(n=Om(r))?f(n,r,s,c):s(r)):c(i)}catch(t){l&&!o&&l.exit(),c(t)}},Rm=function(t,e){t.notified||(t.notified=!0,Yy(function(){for(var r,n=t.reactions;r=n.get();)xm(r,t);t.notified=!1,e&&!t.rejection&&Am(t)}))},Pm=function(t,e,r){var n,o;Sm?((n=ym.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),i.dispatchEvent(n)):n={promise:e,reason:r},!cm&&(o=i["on"+t])?o(n):t===Em&&function(t,e){try{1===arguments.length?console.error(t):console.error(t,e)}catch(t){}}("Unhandled promise rejection",r)},Am=function(t){f(am,i,function(){var e,r=t.facade,n=t.value;if(jm(t)&&(e=Xy(function(){hy?mm.emit("unhandledRejection",n,r):Pm(Em,r,n)}),t.rejection=hy||jm(t)?2:1,e.error))throw e.value})},jm=function(t){return 1!==t.rejection&&!t.parent},km=function(t){f(am,i,function(){var e=t.facade;hy?mm.emit("rejectionHandled",e):Pm("rejectionhandled",e,t.value)})},Im=function(t,e,r){return function(n){t(e,n,r)}},Tm=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,Rm(t,!0))},Mm=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw new gm("Promise can't be resolved itself");var n=Om(e);n?Yy(function(){var r={done:!1};try{f(n,e,Im(Mm,r,t),Im(Tm,r,t))}catch(e){Tm(r,e,t)}}):(t.value=e,t.state=1,Rm(t,!1))}catch(e){Tm({done:!1},e,t)}}};if(sm&&(vm=function(t){ko(this,dm),J(t),f(Ky,this);var e=lm(this);try{t(Im(Mm,e),Im(Tm,e))}catch(t){Tm(e,t)}},(Ky=function(t){hm(this,{type:um,done:!1,notified:!1,parent:!1,reactions:new Ny,rejection:!1,state:0,value:null})}).prototype=ie(dm=vm.prototype,"then",function(t,e){var r=lm(this),n=bm(Cc(this,vm));return r.parent=!0,n.ok=!T(t)||t,n.fail=T(e)&&e,n.domain=hy?mm.domain:void 0,0===r.state?r.reactions.add(n):Yy(function(){xm(n,r)}),n.promise}),Gy=function(){var t=new Ky,e=lm(t);this.promise=t,this.resolve=Im(Mm,e),this.reject=Im(Tm,e)},im.f=bm=function(t){return t===vm||void 0===t?new Gy(t):wm(t)},T(Jy)&&pm!==Object.prototype)){Vy=pm.then,fm||ie(pm,"then",function(t,e){var r=this;return new vm(function(t,e){f(Vy,r,t,e)}).then(t,e)},{unsafe:!0});try{delete pm.constructor}catch(t){}dn&&dn(pm,dm)}Ce({global:!0,constructor:!0,wrap:!0,forced:sm},{Promise:vm}),an(vm,um,!1),Uo(um);var Lm=rm.CONSTRUCTOR||!Gn(function(t){Jy.all(t).then(void 0,function(){})});Ce({target:"Promise",stat:!0,forced:Lm},{all:function(t){var e=this,r=im.f(e),n=r.resolve,o=r.reject,i=Xy(function(){var r=J(e.resolve),i=[],a=0,u=1;Ao(t,function(t){var s=a++,c=!1;u++,f(r,e,t).then(function(t){c||(c=!0,i[s]=t,--u||n(i))},o)}),--u||n(i)});return i.error&&o(i.value),r.promise}});var Um=Jy&&Jy.prototype;if(Ce({target:"Promise",proto:!0,forced:rm.CONSTRUCTOR,real:!0},{catch:function(t){return this.then(void 0,t)}}),T(Jy)){var Nm=L("Promise").prototype.catch;Um.catch!==Nm&&ie(Um,"catch",Nm,{unsafe:!0})}Ce({target:"Promise",stat:!0,forced:Lm},{race:function(t){var e=this,r=im.f(e),n=r.reject,o=Xy(function(){var o=J(e.resolve);Ao(t,function(t){f(o,e,t).then(r.resolve,n)})});return o.error&&n(o.value),r.promise}}),Ce({target:"Promise",stat:!0,forced:rm.CONSTRUCTOR},{reject:function(t){var e=im.f(this);return(0,e.reject)(t),e.promise}});var Cm=function(t,e){if(kt(t),M(e)&&e.constructor===t)return e;var r=im.f(t);return(0,r.resolve)(e),r.promise};Ce({target:"Promise",stat:!0,forced:rm.CONSTRUCTOR},{resolve:function(t){return Cm(this,t)}}),Ce({target:"Promise",stat:!0,forced:Lm},{allSettled:function(t){var e=this,r=im.f(e),n=r.resolve,o=r.reject,i=Xy(function(){var r=J(e.resolve),o=[],i=0,a=1;Ao(t,function(t){var u=i++,s=!1;a++,f(r,e,t).then(function(t){s||(s=!0,o[u]={status:"fulfilled",value:t},--a||n(o))},function(t){s||(s=!0,o[u]={status:"rejected",reason:t},--a||n(o))})}),--a||n(o)});return i.error&&o(i.value),r.promise}});var _m="No one promise resolved";Ce({target:"Promise",stat:!0,forced:Lm},{any:function(t){var e=this,r=L("AggregateError"),n=im.f(e),o=n.resolve,i=n.reject,a=Xy(function(){var n=J(e.resolve),a=[],u=0,s=1,c=!1;Ao(t,function(t){var l=u++,h=!1;s++,f(n,e,t).then(function(t){h||c||(c=!0,o(t))},function(t){h||c||(h=!0,a[l]=t,--s||i(new r(a,_m)))})}),--s||i(new r(a,_m))});return a.error&&i(a.value),n.promise}}),Ce({target:"Promise",stat:!0},{withResolvers:function(){var t=im.f(this);return{promise:t.promise,resolve:t.resolve,reject:t.reject}}});var Fm=Jy&&Jy.prototype,Bm=!!Jy&&a(function(){Fm.finally.call({then:function(){}},function(){})});if(Ce({target:"Promise",proto:!0,real:!0,forced:Bm},{finally:function(t){var e=Cc(this,L("Promise")),r=T(t);return this.then(r?function(r){return Cm(e,t()).then(function(){return r})}:t,r?function(r){return Cm(e,t()).then(function(){throw r})}:t)}}),T(Jy)){var Dm=L("Promise").prototype.finally;Fm.finally!==Dm&&ie(Fm,"finally",Dm,{unsafe:!0})}var zm=i.Promise,Wm=!1,qm=!zm||!zm.try||Xy(function(){zm.try(function(t){Wm=8===t},8)}).error||!Wm;Ce({target:"Promise",stat:!0,forced:qm},{try:function(t){var e=arguments.length>1?vo(arguments,1):[],r=im.f(this),n=Xy(function(){return Ra(J(t),void 0,e)});return(n.error?r.reject:r.resolve)(n.value),r.promise}}),Ze("Promise","finally");var Hm="URLSearchParams"in self,$m="Symbol"in self&&"iterator"in Symbol,Km="FileReader"in self&&"Blob"in self&&function(){try{return new Blob,!0}catch(t){return!1}}(),Gm="FormData"in self,Vm="ArrayBuffer"in self;if(Vm)var Ym=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],Xm=ArrayBuffer.isView||function(t){return t&&Ym.indexOf(Object.prototype.toString.call(t))>-1};function Jm(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function Qm(t){return"string"!=typeof t&&(t=String(t)),t}function Zm(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return $m&&(e[Symbol.iterator]=function(){return e}),e}function tb(t){this.map={},t instanceof tb?t.forEach(function(t,e){this.append(e,t)},this):Array.isArray(t)?t.forEach(function(t){this.append(t[0],t[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function eb(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function rb(t){return new Promise(function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}})}function nb(t){var e=new FileReader,r=rb(e);return e.readAsArrayBuffer(t),r}function ob(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function ib(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:Km&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:Gm&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:Hm&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():Vm&&Km&&(e=t)&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=ob(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):Vm&&(ArrayBuffer.prototype.isPrototypeOf(t)||Xm(t))?this._bodyArrayBuffer=ob(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):Hm&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},Km&&(this.blob=function(){var t=eb(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?eb(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(nb)}),this.text=function(){var t=eb(this);if(t)return t;if(this._bodyBlob)return function(t){var e=new FileReader,r=rb(e);return e.readAsText(t),r}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),n=0;n<e.length;n++)r[n]=String.fromCharCode(e[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},Gm&&(this.formData=function(){return this.text().then(sb)}),this.json=function(){return this.text().then(JSON.parse)},this}tb.prototype.append=function(t,e){t=Jm(t),e=Qm(e);var r=this.map[t];this.map[t]=r?r+", "+e:e},tb.prototype.delete=function(t){delete this.map[Jm(t)]},tb.prototype.get=function(t){return t=Jm(t),this.has(t)?this.map[t]:null},tb.prototype.has=function(t){return this.map.hasOwnProperty(Jm(t))},tb.prototype.set=function(t,e){this.map[Jm(t)]=Qm(e)},tb.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},tb.prototype.keys=function(){var t=[];return this.forEach(function(e,r){t.push(r)}),Zm(t)},tb.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),Zm(t)},tb.prototype.entries=function(){var t=[];return this.forEach(function(e,r){t.push([r,e])}),Zm(t)},$m&&(tb.prototype[Symbol.iterator]=tb.prototype.entries);var ab=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function ub(t,e){var r=(e=e||{}).body;if(t instanceof ub){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new tb(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,r||null==t._bodyInit||(r=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new tb(e.headers)),this.method=function(t){var e=t.toUpperCase();return ab.indexOf(e)>-1?e:t}(e.method||this.method||"GET"),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function sb(t){var e=new FormData;return t.trim().split("&").forEach(function(t){if(t){var r=t.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(n),decodeURIComponent(o))}}),e}function cb(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new tb(e.headers),this.url=e.url||"",this._initBody(t)}ub.prototype.clone=function(){return new ub(this,{body:this._bodyInit})},ib.call(ub.prototype),ib.call(cb.prototype),cb.prototype.clone=function(){return new cb(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new tb(this.headers),url:this.url})},cb.error=function(){var t=new cb(null,{status:0,statusText:""});return t.type="error",t};var fb=[301,302,303,307,308];cb.redirect=function(t,e){if(-1===fb.indexOf(e))throw new RangeError("Invalid status code");return new cb(null,{status:e,headers:{location:t}})};var lb=self.DOMException;try{new lb}catch(t){(lb=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack}).prototype=Object.create(Error.prototype),lb.prototype.constructor=lb}function hb(t,e){return new Promise(function(r,n){var o=new ub(t,e);if(o.signal&&o.signal.aborted)return n(new lb("Aborted","AbortError"));var i=new XMLHttpRequest;function a(){i.abort()}i.onload=function(){var t,e,n={status:i.status,statusText:i.statusText,headers:(t=i.getAllResponseHeaders()||"",e=new tb,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(t){var r=t.split(":"),n=r.shift().trim();if(n){var o=r.join(":").trim();e.append(n,o)}}),e)};n.url="responseURL"in i?i.responseURL:n.headers.get("X-Request-URL"),r(new cb("response"in i?i.response:i.responseText,n))},i.onerror=function(){n(new TypeError("Network request failed"))},i.ontimeout=function(){n(new TypeError("Network request failed"))},i.onabort=function(){n(new lb("Aborted","AbortError"))},i.open(o.method,o.url,!0),"include"===o.credentials?i.withCredentials=!0:"omit"===o.credentials&&(i.withCredentials=!1),"responseType"in i&&Km&&(i.responseType="blob"),o.headers.forEach(function(t,e){i.setRequestHeader(e,t)}),o.signal&&(o.signal.addEventListener("abort",a),i.onreadystatechange=function(){4===i.readyState&&o.signal.removeEventListener("abort",a)}),i.send(void 0===o._bodyInit?null:o._bodyInit)})}hb.polyfill=!0,self.fetch||(self.fetch=hb,self.Headers=tb,self.Request=ub,self.Response=cb);var pb=Object.getOwnPropertySymbols,vb=Object.prototype.hasOwnProperty,db=Object.prototype.propertyIsEnumerable,gb=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},r=0;r<10;r++)e["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(e).map(function(t){return e[t]}).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(t){n[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(t){return!1}}()?Object.assign:function(t,e){for(var r,n,o=function(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}(t),i=1;i<arguments.length;i++){for(var a in r=Object(arguments[i]))vb.call(r,a)&&(o[a]=r[a]);if(pb){n=pb(r);for(var u=0;u<n.length;u++)db.call(r,n[u])&&(o[n[u]]=r[n[u]])}}return o};Object.assign=gb}(); diff --git a/.next/dev/static/chunks/node_modules_next_dist_build_polyfills_polyfill-nomodule.js.map b/.next/dev/static/chunks/node_modules_next_dist_build_polyfills_polyfill-nomodule.js.map deleted file mode 100644 index fc2cc96..0000000 --- a/.next/dev/static/chunks/node_modules_next_dist_build_polyfills_polyfill-nomodule.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["turbopack:///node_modules/next/dist/build/polyfills/polyfill-nomodule.js"],"sourcesContent":["!function(){var t=\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:{};function e(t){var e={exports:{}};return t(e,e.exports),e.exports}var r,n,o=function(t){return t&&t.Math===Math&&t},i=o(\"object\"==typeof globalThis&&globalThis)||o(\"object\"==typeof window&&window)||o(\"object\"==typeof self&&self)||o(\"object\"==typeof t&&t)||o(\"object\"==typeof t&&t)||function(){return this}()||Function(\"return this\")(),a=function(t){try{return!!t()}catch(t){return!0}},u=!a(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}),s=!a(function(){var t=function(){}.bind();return\"function\"!=typeof t||t.hasOwnProperty(\"prototype\")}),c=Function.prototype.call,f=s?c.bind(c):function(){return c.apply(c,arguments)},l={}.propertyIsEnumerable,h=Object.getOwnPropertyDescriptor,p=h&&!l.call({1:2},1)?function(t){var e=h(this,t);return!!e&&e.enumerable}:l,v={f:p},d=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},g=Function.prototype,y=g.call,m=s&&g.bind.bind(y,y),b=s?m:function(t){return function(){return y.apply(t,arguments)}},w=b({}.toString),S=b(\"\".slice),E=function(t){return S(w(t),8,-1)},O=Object,x=b(\"\".split),R=a(function(){return!O(\"z\").propertyIsEnumerable(0)})?function(t){return\"String\"===E(t)?x(t,\"\"):O(t)}:O,P=function(t){return null==t},A=TypeError,j=function(t){if(P(t))throw new A(\"Can't call method on \"+t);return t},k=function(t){return R(j(t))},I=\"object\"==typeof document&&document.all,T=void 0===I&&void 0!==I?function(t){return\"function\"==typeof t||t===I}:function(t){return\"function\"==typeof t},M=function(t){return\"object\"==typeof t?null!==t:T(t)},L=function(t,e){return arguments.length<2?T(r=i[t])?r:void 0:i[t]&&i[t][e];var r},U=b({}.isPrototypeOf),N=i.navigator,C=N&&N.userAgent,_=C?String(C):\"\",F=i.process,B=i.Deno,D=F&&F.versions||B&&B.version,z=D&&D.v8;z&&(n=(r=z.split(\".\"))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!n&&_&&(!(r=_.match(/Edge\\/(\\d+)/))||r[1]>=74)&&(r=_.match(/Chrome\\/(\\d+)/))&&(n=+r[1]);var W=n,q=i.String,H=!!Object.getOwnPropertySymbols&&!a(function(){var t=Symbol(\"symbol detection\");return!q(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&W&&W<41}),$=H&&!Symbol.sham&&\"symbol\"==typeof Symbol.iterator,K=Object,G=$?function(t){return\"symbol\"==typeof t}:function(t){var e=L(\"Symbol\");return T(e)&&U(e.prototype,K(t))},V=String,Y=function(t){try{return V(t)}catch(t){return\"Object\"}},X=TypeError,J=function(t){if(T(t))return t;throw new X(Y(t)+\" is not a function\")},Q=function(t,e){var r=t[e];return P(r)?void 0:J(r)},Z=TypeError,tt=Object.defineProperty,et=function(t,e){try{tt(i,t,{value:e,configurable:!0,writable:!0})}catch(r){i[t]=e}return e},rt=e(function(t){var e=\"__core-js_shared__\",r=t.exports=i[e]||et(e,{});(r.versions||(r.versions=[])).push({version:\"3.38.1\",mode:\"global\",copyright:\"© 2014-2024 Denis Pushkarev (zloirock.ru)\",license:\"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE\",source:\"https://github.com/zloirock/core-js\"})}),nt=function(t,e){return rt[t]||(rt[t]=e||{})},ot=Object,it=function(t){return ot(j(t))},at=b({}.hasOwnProperty),ut=Object.hasOwn||function(t,e){return at(it(t),e)},st=0,ct=Math.random(),ft=b(1..toString),lt=function(t){return\"Symbol(\"+(void 0===t?\"\":t)+\")_\"+ft(++st+ct,36)},ht=i.Symbol,pt=nt(\"wks\"),vt=$?ht.for||ht:ht&&ht.withoutSetter||lt,dt=function(t){return ut(pt,t)||(pt[t]=H&&ut(ht,t)?ht[t]:vt(\"Symbol.\"+t)),pt[t]},gt=TypeError,yt=dt(\"toPrimitive\"),mt=function(t,e){if(!M(t)||G(t))return t;var r,n=Q(t,yt);if(n){if(void 0===e&&(e=\"default\"),r=f(n,t,e),!M(r)||G(r))return r;throw new gt(\"Can't convert object to primitive value\")}return void 0===e&&(e=\"number\"),function(t,e){var r,n;if(\"string\"===e&&T(r=t.toString)&&!M(n=f(r,t)))return n;if(T(r=t.valueOf)&&!M(n=f(r,t)))return n;if(\"string\"!==e&&T(r=t.toString)&&!M(n=f(r,t)))return n;throw new Z(\"Can't convert object to primitive value\")}(t,e)},bt=function(t){var e=mt(t,\"string\");return G(e)?e:e+\"\"},wt=i.document,St=M(wt)&&M(wt.createElement),Et=function(t){return St?wt.createElement(t):{}},Ot=!u&&!a(function(){return 7!==Object.defineProperty(Et(\"div\"),\"a\",{get:function(){return 7}}).a}),xt=Object.getOwnPropertyDescriptor,Rt={f:u?xt:function(t,e){if(t=k(t),e=bt(e),Ot)try{return xt(t,e)}catch(t){}if(ut(t,e))return d(!f(v.f,t,e),t[e])}},Pt=u&&a(function(){return 42!==Object.defineProperty(function(){},\"prototype\",{value:42,writable:!1}).prototype}),At=String,jt=TypeError,kt=function(t){if(M(t))return t;throw new jt(At(t)+\" is not an object\")},It=TypeError,Tt=Object.defineProperty,Mt=Object.getOwnPropertyDescriptor,Lt=\"enumerable\",Ut=\"configurable\",Nt=\"writable\",Ct={f:u?Pt?function(t,e,r){if(kt(t),e=bt(e),kt(r),\"function\"==typeof t&&\"prototype\"===e&&\"value\"in r&&Nt in r&&!r[Nt]){var n=Mt(t,e);n&&n[Nt]&&(t[e]=r.value,r={configurable:Ut in r?r[Ut]:n[Ut],enumerable:Lt in r?r[Lt]:n[Lt],writable:!1})}return Tt(t,e,r)}:Tt:function(t,e,r){if(kt(t),e=bt(e),kt(r),Ot)try{return Tt(t,e,r)}catch(t){}if(\"get\"in r||\"set\"in r)throw new It(\"Accessors not supported\");return\"value\"in r&&(t[e]=r.value),t}},_t=u?function(t,e,r){return Ct.f(t,e,d(1,r))}:function(t,e,r){return t[e]=r,t},Ft=Function.prototype,Bt=u&&Object.getOwnPropertyDescriptor,Dt=ut(Ft,\"name\"),zt={EXISTS:Dt,PROPER:Dt&&\"something\"===function(){}.name,CONFIGURABLE:Dt&&(!u||u&&Bt(Ft,\"name\").configurable)},Wt=b(Function.toString);T(rt.inspectSource)||(rt.inspectSource=function(t){return Wt(t)});var qt,Ht,$t,Kt=rt.inspectSource,Gt=i.WeakMap,Vt=T(Gt)&&/native code/.test(String(Gt)),Yt=nt(\"keys\"),Xt=function(t){return Yt[t]||(Yt[t]=lt(t))},Jt={},Qt=\"Object already initialized\",Zt=i.TypeError;if(Vt||rt.state){var te=rt.state||(rt.state=new(0,i.WeakMap));te.get=te.get,te.has=te.has,te.set=te.set,qt=function(t,e){if(te.has(t))throw new Zt(Qt);return e.facade=t,te.set(t,e),e},Ht=function(t){return te.get(t)||{}},$t=function(t){return te.has(t)}}else{var ee=Xt(\"state\");Jt[ee]=!0,qt=function(t,e){if(ut(t,ee))throw new Zt(Qt);return e.facade=t,_t(t,ee,e),e},Ht=function(t){return ut(t,ee)?t[ee]:{}},$t=function(t){return ut(t,ee)}}var re,ne={set:qt,get:Ht,has:$t,enforce:function(t){return $t(t)?Ht(t):qt(t,{})},getterFor:function(t){return function(e){var r;if(!M(e)||(r=Ht(e)).type!==t)throw new Zt(\"Incompatible receiver, \"+t+\" required\");return r}}},oe=e(function(t){var e=zt.CONFIGURABLE,r=ne.enforce,n=ne.get,o=String,i=Object.defineProperty,s=b(\"\".slice),c=b(\"\".replace),f=b([].join),l=u&&!a(function(){return 8!==i(function(){},\"length\",{value:8}).length}),h=String(String).split(\"String\"),p=t.exports=function(t,n,a){\"Symbol(\"===s(o(n),0,7)&&(n=\"[\"+c(o(n),/^Symbol\\(([^)]*)\\).*$/,\"$1\")+\"]\"),a&&a.getter&&(n=\"get \"+n),a&&a.setter&&(n=\"set \"+n),(!ut(t,\"name\")||e&&t.name!==n)&&(u?i(t,\"name\",{value:n,configurable:!0}):t.name=n),l&&a&&ut(a,\"arity\")&&t.length!==a.arity&&i(t,\"length\",{value:a.arity});try{a&&ut(a,\"constructor\")&&a.constructor?u&&i(t,\"prototype\",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var p=r(t);return ut(p,\"source\")||(p.source=f(h,\"string\"==typeof n?n:\"\")),t};Function.prototype.toString=p(function(){return T(this)&&n(this).source||Kt(this)},\"toString\")}),ie=function(t,e,r,n){n||(n={});var o=n.enumerable,i=void 0!==n.name?n.name:e;if(T(r)&&oe(r,i,n),n.global)o?t[e]=r:et(e,r);else{try{n.unsafe?t[e]&&(o=!0):delete t[e]}catch(t){}o?t[e]=r:Ct.f(t,e,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return t},ae=Math.ceil,ue=Math.floor,se=Math.trunc||function(t){var e=+t;return(e>0?ue:ae)(e)},ce=function(t){var e=+t;return e!=e||0===e?0:se(e)},fe=Math.max,le=Math.min,he=function(t,e){var r=ce(t);return r<0?fe(r+e,0):le(r,e)},pe=Math.min,ve=function(t){var e=ce(t);return e>0?pe(e,9007199254740991):0},de=function(t){return ve(t.length)},ge=function(t){return function(e,r,n){var o=k(e),i=de(o);if(0===i)return!t&&-1;var a,u=he(n,i);if(t&&r!=r){for(;i>u;)if((a=o[u++])!=a)return!0}else for(;i>u;u++)if((t||u in o)&&o[u]===r)return t||u||0;return!t&&-1}},ye={includes:ge(!0),indexOf:ge(!1)},me=ye.indexOf,be=b([].push),we=function(t,e){var r,n=k(t),o=0,i=[];for(r in n)!ut(Jt,r)&&ut(n,r)&&be(i,r);for(;e.length>o;)ut(n,r=e[o++])&&(~me(i,r)||be(i,r));return i},Se=[\"constructor\",\"hasOwnProperty\",\"isPrototypeOf\",\"propertyIsEnumerable\",\"toLocaleString\",\"toString\",\"valueOf\"],Ee=Se.concat(\"length\",\"prototype\"),Oe={f:Object.getOwnPropertyNames||function(t){return we(t,Ee)}},xe={f:Object.getOwnPropertySymbols},Re=b([].concat),Pe=L(\"Reflect\",\"ownKeys\")||function(t){var e=Oe.f(kt(t)),r=xe.f;return r?Re(e,r(t)):e},Ae=function(t,e,r){for(var n=Pe(e),o=Ct.f,i=Rt.f,a=0;a<n.length;a++){var u=n[a];ut(t,u)||r&&ut(r,u)||o(t,u,i(e,u))}},je=/#|\\.prototype\\./,ke=function(t,e){var r=Te[Ie(t)];return r===Le||r!==Me&&(T(e)?a(e):!!e)},Ie=ke.normalize=function(t){return String(t).replace(je,\".\").toLowerCase()},Te=ke.data={},Me=ke.NATIVE=\"N\",Le=ke.POLYFILL=\"P\",Ue=ke,Ne=Rt.f,Ce=function(t,e){var r,n,o,a,u,s=t.target,c=t.global,f=t.stat;if(r=c?i:f?i[s]||et(s,{}):i[s]&&i[s].prototype)for(n in e){if(a=e[n],o=t.dontCallGetSet?(u=Ne(r,n))&&u.value:r[n],!Ue(c?n:s+(f?\".\":\"#\")+n,t.forced)&&void 0!==o){if(typeof a==typeof o)continue;Ae(a,o)}(t.sham||o&&o.sham)&&_t(a,\"sham\",!0),ie(r,n,a,t)}},_e=Object.keys||function(t){return we(t,Se)},Fe=u&&!Pt?Object.defineProperties:function(t,e){kt(t);for(var r,n=k(e),o=_e(e),i=o.length,a=0;i>a;)Ct.f(t,r=o[a++],n[r]);return t},Be={f:Fe},De=L(\"document\",\"documentElement\"),ze=\"prototype\",We=\"script\",qe=Xt(\"IE_PROTO\"),He=function(){},$e=function(t){return\"<\"+We+\">\"+t+\"</\"+We+\">\"},Ke=function(t){t.write($e(\"\")),t.close();var e=t.parentWindow.Object;return t=null,e},Ge=function(){try{re=new ActiveXObject(\"htmlfile\")}catch(t){}var t,e,r;Ge=\"undefined\"!=typeof document?document.domain&&re?Ke(re):(e=Et(\"iframe\"),r=\"java\"+We+\":\",e.style.display=\"none\",De.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write($e(\"document.F=Object\")),t.close(),t.F):Ke(re);for(var n=Se.length;n--;)delete Ge[ze][Se[n]];return Ge()};Jt[qe]=!0;var Ve=Object.create||function(t,e){var r;return null!==t?(He[ze]=kt(t),r=new He,He[ze]=null,r[qe]=t):r=Ge(),void 0===e?r:Be.f(r,e)},Ye=Ct.f,Xe=dt(\"unscopables\"),Je=Array.prototype;void 0===Je[Xe]&&Ye(Je,Xe,{configurable:!0,value:Ve(null)});var Qe=function(t){Je[Xe][t]=!0};Ce({target:\"Array\",proto:!0},{at:function(t){var e=it(this),r=de(e),n=ce(t),o=n>=0?n:r+n;return o<0||o>=r?void 0:e[o]}}),Qe(\"at\");var Ze=function(t,e){return b(i[t].prototype[e])},tr=(Ze(\"Array\",\"at\"),TypeError),er=function(t,e){if(!delete t[e])throw new tr(\"Cannot delete property \"+Y(e)+\" of \"+Y(t))},rr=Math.min,nr=[].copyWithin||function(t,e){var r=it(this),n=de(r),o=he(t,n),i=he(e,n),a=arguments.length>2?arguments[2]:void 0,u=rr((void 0===a?n:he(a,n))-i,n-o),s=1;for(i<o&&o<i+u&&(s=-1,i+=u-1,o+=u-1);u-- >0;)i in r?r[o]=r[i]:er(r,o),o+=s,i+=s;return r};Ce({target:\"Array\",proto:!0},{copyWithin:nr}),Qe(\"copyWithin\"),Ze(\"Array\",\"copyWithin\"),Ce({target:\"Array\",proto:!0},{fill:function(t){for(var e=it(this),r=de(e),n=arguments.length,o=he(n>1?arguments[1]:void 0,r),i=n>2?arguments[2]:void 0,a=void 0===i?r:he(i,r);a>o;)e[o++]=t;return e}}),Qe(\"fill\"),Ze(\"Array\",\"fill\");var or=function(t){if(\"Function\"===E(t))return b(t)},ir=or(or.bind),ar=function(t,e){return J(t),void 0===e?t:s?ir(t,e):function(){return t.apply(e,arguments)}},ur=Array.isArray||function(t){return\"Array\"===E(t)},sr={};sr[dt(\"toStringTag\")]=\"z\";var cr=\"[object z]\"===String(sr),fr=dt(\"toStringTag\"),lr=Object,hr=\"Arguments\"===E(function(){return arguments}()),pr=cr?E:function(t){var e,r,n;return void 0===t?\"Undefined\":null===t?\"Null\":\"string\"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=lr(t),fr))?r:hr?E(e):\"Object\"===(n=E(e))&&T(e.callee)?\"Arguments\":n},vr=function(){},dr=L(\"Reflect\",\"construct\"),gr=/^\\s*(?:class|function)\\b/,yr=b(gr.exec),mr=!gr.test(vr),br=function(t){if(!T(t))return!1;try{return dr(vr,[],t),!0}catch(t){return!1}},wr=function(t){if(!T(t))return!1;switch(pr(t)){case\"AsyncFunction\":case\"GeneratorFunction\":case\"AsyncGeneratorFunction\":return!1}try{return mr||!!yr(gr,Kt(t))}catch(t){return!0}};wr.sham=!0;var Sr=!dr||a(function(){var t;return br(br.call)||!br(Object)||!br(function(){t=!0})||t})?wr:br,Er=dt(\"species\"),Or=Array,xr=function(t,e){return new(function(t){var e;return ur(t)&&(Sr(e=t.constructor)&&(e===Or||ur(e.prototype))||M(e)&&null===(e=e[Er]))&&(e=void 0),void 0===e?Or:e}(t))(0===e?0:e)},Rr=b([].push),Pr=function(t){var e=1===t,r=2===t,n=3===t,o=4===t,i=6===t,a=7===t,u=5===t||i;return function(s,c,f,l){for(var h,p,v=it(s),d=R(v),g=de(d),y=ar(c,f),m=0,b=l||xr,w=e?b(s,g):r||a?b(s,0):void 0;g>m;m++)if((u||m in d)&&(p=y(h=d[m],m,v),t))if(e)w[m]=p;else if(p)switch(t){case 3:return!0;case 5:return h;case 6:return m;case 2:Rr(w,h)}else switch(t){case 4:return!1;case 7:Rr(w,h)}return i?-1:n||o?o:w}},Ar={forEach:Pr(0),map:Pr(1),filter:Pr(2),some:Pr(3),every:Pr(4),find:Pr(5),findIndex:Pr(6),filterReject:Pr(7)},jr=Ar.find,kr=\"find\",Ir=!0;kr in[]&&Array(1)[kr](function(){Ir=!1}),Ce({target:\"Array\",proto:!0,forced:Ir},{find:function(t){return jr(this,t,arguments.length>1?arguments[1]:void 0)}}),Qe(kr),Ze(\"Array\",\"find\");var Tr=Ar.findIndex,Mr=\"findIndex\",Lr=!0;Mr in[]&&Array(1)[Mr](function(){Lr=!1}),Ce({target:\"Array\",proto:!0,forced:Lr},{findIndex:function(t){return Tr(this,t,arguments.length>1?arguments[1]:void 0)}}),Qe(Mr),Ze(\"Array\",\"findIndex\");var Ur=TypeError,Nr=function(t){if(t>9007199254740991)throw Ur(\"Maximum allowed index exceeded\");return t},Cr=function(t,e,r,n,o,i,a,u){for(var s,c,f=o,l=0,h=!!a&&ar(a,u);l<n;)l in r&&(s=h?h(r[l],l,e):r[l],i>0&&ur(s)?(c=de(s),f=Cr(t,e,s,c,f,i-1)-1):(Nr(f+1),t[f]=s),f++),l++;return f},_r=Cr;Ce({target:\"Array\",proto:!0},{flatMap:function(t){var e,r=it(this),n=de(r);return J(t),(e=xr(r,0)).length=_r(e,r,r,n,0,1,t,arguments.length>1?arguments[1]:void 0),e}}),Qe(\"flatMap\"),Ze(\"Array\",\"flatMap\"),Ce({target:\"Array\",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,e=it(this),r=de(e),n=xr(e,0);return n.length=_r(n,e,e,r,0,void 0===t?1:ce(t)),n}}),Qe(\"flat\"),Ze(\"Array\",\"flat\");var Fr,Br,Dr,zr=String,Wr=function(t){if(\"Symbol\"===pr(t))throw new TypeError(\"Cannot convert a Symbol value to a string\");return zr(t)},qr=b(\"\".charAt),Hr=b(\"\".charCodeAt),$r=b(\"\".slice),Kr=function(t){return function(e,r){var n,o,i=Wr(j(e)),a=ce(r),u=i.length;return a<0||a>=u?t?\"\":void 0:(n=Hr(i,a))<55296||n>56319||a+1===u||(o=Hr(i,a+1))<56320||o>57343?t?qr(i,a):n:t?$r(i,a,a+2):o-56320+(n-55296<<10)+65536}},Gr={codeAt:Kr(!1),charAt:Kr(!0)},Vr=!a(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),Yr=Xt(\"IE_PROTO\"),Xr=Object,Jr=Xr.prototype,Qr=Vr?Xr.getPrototypeOf:function(t){var e=it(t);if(ut(e,Yr))return e[Yr];var r=e.constructor;return T(r)&&e instanceof r?r.prototype:e instanceof Xr?Jr:null},Zr=dt(\"iterator\"),tn=!1;[].keys&&(\"next\"in(Dr=[].keys())?(Br=Qr(Qr(Dr)))!==Object.prototype&&(Fr=Br):tn=!0);var en=!M(Fr)||a(function(){var t={};return Fr[Zr].call(t)!==t});en&&(Fr={}),T(Fr[Zr])||ie(Fr,Zr,function(){return this});var rn={IteratorPrototype:Fr,BUGGY_SAFARI_ITERATORS:tn},nn=Ct.f,on=dt(\"toStringTag\"),an=function(t,e,r){t&&!r&&(t=t.prototype),t&&!ut(t,on)&&nn(t,on,{configurable:!0,value:e})},un={},sn=rn.IteratorPrototype,cn=function(){return this},fn=function(t,e,r,n){var o=e+\" Iterator\";return t.prototype=Ve(sn,{next:d(+!n,r)}),an(t,o,!1),un[o]=cn,t},ln=function(t,e,r){try{return b(J(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}},hn=String,pn=TypeError,vn=function(t){if(function(t){return M(t)||null===t}(t))return t;throw new pn(\"Can't set \"+hn(t)+\" as a prototype\")},dn=Object.setPrototypeOf||(\"__proto__\"in{}?function(){var t,e=!1,r={};try{(t=ln(Object.prototype,\"__proto__\",\"set\"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return j(r),vn(n),M(r)?(e?t(r,n):r.__proto__=n,r):r}}():void 0),gn=zt.PROPER,yn=zt.CONFIGURABLE,mn=rn.IteratorPrototype,bn=rn.BUGGY_SAFARI_ITERATORS,wn=dt(\"iterator\"),Sn=\"keys\",En=\"values\",On=\"entries\",xn=function(){return this},Rn=function(t,e,r,n,o,i,a){fn(r,e,n);var u,s,c,l=function(t){if(t===o&&g)return g;if(!bn&&t&&t in v)return v[t];switch(t){case Sn:case En:case On:return function(){return new r(this,t)}}return function(){return new r(this)}},h=e+\" Iterator\",p=!1,v=t.prototype,d=v[wn]||v[\"@@iterator\"]||o&&v[o],g=!bn&&d||l(o),y=\"Array\"===e&&v.entries||d;if(y&&(u=Qr(y.call(new t)))!==Object.prototype&&u.next&&(Qr(u)!==mn&&(dn?dn(u,mn):T(u[wn])||ie(u,wn,xn)),an(u,h,!0)),gn&&o===En&&d&&d.name!==En&&(yn?_t(v,\"name\",En):(p=!0,g=function(){return f(d,this)})),o)if(s={values:l(En),keys:i?g:l(Sn),entries:l(On)},a)for(c in s)(bn||p||!(c in v))&&ie(v,c,s[c]);else Ce({target:e,proto:!0,forced:bn||p},s);return v[wn]!==g&&ie(v,wn,g,{name:o}),un[e]=g,s},Pn=function(t,e){return{value:t,done:e}},An=Gr.charAt,jn=\"String Iterator\",kn=ne.set,In=ne.getterFor(jn);Rn(String,\"String\",function(t){kn(this,{type:jn,string:Wr(t),index:0})},function(){var t,e=In(this),r=e.string,n=e.index;return n>=r.length?Pn(void 0,!0):(t=An(r,n),e.index+=t.length,Pn(t,!1))});var Tn=function(t,e,r){var n,o;kt(t);try{if(!(n=Q(t,\"return\"))){if(\"throw\"===e)throw r;return r}n=f(n,t)}catch(t){o=!0,n=t}if(\"throw\"===e)throw r;if(o)throw n;return kt(n),r},Mn=function(t,e,r,n){try{return n?e(kt(r)[0],r[1]):e(r)}catch(e){Tn(t,\"throw\",e)}},Ln=dt(\"iterator\"),Un=Array.prototype,Nn=function(t){return void 0!==t&&(un.Array===t||Un[Ln]===t)},Cn=function(t,e,r){u?Ct.f(t,e,d(0,r)):t[e]=r},_n=dt(\"iterator\"),Fn=function(t){if(!P(t))return Q(t,_n)||Q(t,\"@@iterator\")||un[pr(t)]},Bn=TypeError,Dn=function(t,e){var r=arguments.length<2?Fn(t):e;if(J(r))return kt(f(r,t));throw new Bn(Y(t)+\" is not iterable\")},zn=Array,Wn=function(t){var e=it(t),r=Sr(this),n=arguments.length,o=n>1?arguments[1]:void 0,i=void 0!==o;i&&(o=ar(o,n>2?arguments[2]:void 0));var a,u,s,c,l,h,p=Fn(e),v=0;if(!p||this===zn&&Nn(p))for(a=de(e),u=r?new this(a):zn(a);a>v;v++)h=i?o(e[v],v):e[v],Cn(u,v,h);else for(u=r?new this:[],l=(c=Dn(e,p)).next;!(s=f(l,c)).done;v++)h=i?Mn(c,o,[s.value,v],!0):s.value,Cn(u,v,h);return u.length=v,u},qn=dt(\"iterator\"),Hn=!1;try{var $n=0,Kn={next:function(){return{done:!!$n++}},return:function(){Hn=!0}};Kn[qn]=function(){return this},Array.from(Kn,function(){throw 2})}catch(t){}var Gn=function(t,e){try{if(!e&&!Hn)return!1}catch(t){return!1}var r=!1;try{var n={};n[qn]=function(){return{next:function(){return{done:r=!0}}}},t(n)}catch(t){}return r},Vn=!Gn(function(t){Array.from(t)});Ce({target:\"Array\",stat:!0,forced:Vn},{from:Wn});var Yn=i,Xn=ye.includes,Jn=a(function(){return!Array(1).includes()});Ce({target:\"Array\",proto:!0,forced:Jn},{includes:function(t){return Xn(this,t,arguments.length>1?arguments[1]:void 0)}}),Qe(\"includes\"),Ze(\"Array\",\"includes\");var Qn=Ct.f,Zn=\"Array Iterator\",to=ne.set,eo=ne.getterFor(Zn),ro=Rn(Array,\"Array\",function(t,e){to(this,{type:Zn,target:k(t),index:0,kind:e})},function(){var t=eo(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,Pn(void 0,!0);switch(t.kind){case\"keys\":return Pn(r,!1);case\"values\":return Pn(e[r],!1)}return Pn([r,e[r]],!1)},\"values\"),no=un.Arguments=un.Array;if(Qe(\"keys\"),Qe(\"values\"),Qe(\"entries\"),u&&\"values\"!==no.name)try{Qn(no,\"name\",{value:\"values\"})}catch(t){}cr||ie(Object.prototype,\"toString\",cr?{}.toString:function(){return\"[object \"+pr(this)+\"]\"},{unsafe:!0}),Ze(\"Array\",\"values\");var oo=Array,io=a(function(){function t(){}return!(oo.of.call(t)instanceof t)});Ce({target:\"Array\",stat:!0,forced:io},{of:function(){for(var t=0,e=arguments.length,r=new(Sr(this)?this:oo)(e);e>t;)Cn(r,t,arguments[t++]);return r.length=e,r}});var ao=dt(\"hasInstance\"),uo=Function.prototype;ao in uo||Ct.f(uo,ao,{value:oe(function(t){if(!T(this)||!M(t))return!1;var e=this.prototype;return M(e)?U(e,t):t instanceof this},ao)}),dt(\"hasInstance\");var so=function(t,e,r){return r.get&&oe(r.get,e,{getter:!0}),r.set&&oe(r.set,e,{setter:!0}),Ct.f(t,e,r)},co=zt.EXISTS,fo=Function.prototype,lo=b(fo.toString),ho=/function\\b(?:\\s|\\/\\*[\\S\\s]*?\\*\\/|\\/\\/[^\\n\\r]*[\\n\\r]+)*([^\\s(/]*)/,po=b(ho.exec);u&&!co&&so(fo,\"name\",{configurable:!0,get:function(){try{return po(ho,lo(this))[1]}catch(t){return\"\"}}});var vo=b([].slice),go=Oe.f,yo=\"object\"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],mo={f:function(t){return yo&&\"Window\"===E(t)?function(t){try{return go(t)}catch(t){return vo(yo)}}(t):go(k(t))}},bo=a(function(){if(\"function\"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,\"a\",{value:8})}}),wo=Object.isExtensible,So=a(function(){wo(1)})||bo?function(t){return!!M(t)&&(!bo||\"ArrayBuffer\"!==E(t))&&(!wo||wo(t))}:wo,Eo=!a(function(){return Object.isExtensible(Object.preventExtensions({}))}),Oo=e(function(t){var e=Ct.f,r=!1,n=lt(\"meta\"),o=0,i=function(t){e(t,n,{value:{objectID:\"O\"+o++,weakData:{}}})},a=t.exports={enable:function(){a.enable=function(){},r=!0;var t=Oe.f,e=b([].splice),o={};o[n]=1,t(o).length&&(Oe.f=function(r){for(var o=t(r),i=0,a=o.length;i<a;i++)if(o[i]===n){e(o,i,1);break}return o},Ce({target:\"Object\",stat:!0,forced:!0},{getOwnPropertyNames:mo.f}))},fastKey:function(t,e){if(!M(t))return\"symbol\"==typeof t?t:(\"string\"==typeof t?\"S\":\"P\")+t;if(!ut(t,n)){if(!So(t))return\"F\";if(!e)return\"E\";i(t)}return t[n].objectID},getWeakData:function(t,e){if(!ut(t,n)){if(!So(t))return!0;if(!e)return!1;i(t)}return t[n].weakData},onFreeze:function(t){return Eo&&r&&So(t)&&!ut(t,n)&&i(t),t}};Jt[n]=!0}),xo=TypeError,Ro=function(t,e){this.stopped=t,this.result=e},Po=Ro.prototype,Ao=function(t,e,r){var n,o,i,a,u,s,c,l=!(!r||!r.AS_ENTRIES),h=!(!r||!r.IS_RECORD),p=!(!r||!r.IS_ITERATOR),v=!(!r||!r.INTERRUPTED),d=ar(e,r&&r.that),g=function(t){return n&&Tn(n,\"normal\",t),new Ro(!0,t)},y=function(t){return l?(kt(t),v?d(t[0],t[1],g):d(t[0],t[1])):v?d(t,g):d(t)};if(h)n=t.iterator;else if(p)n=t;else{if(!(o=Fn(t)))throw new xo(Y(t)+\" is not iterable\");if(Nn(o)){for(i=0,a=de(t);a>i;i++)if((u=y(t[i]))&&U(Po,u))return u;return new Ro(!1)}n=Dn(t,o)}for(s=h?t.next:n.next;!(c=f(s,n)).done;){try{u=y(c.value)}catch(t){Tn(n,\"throw\",t)}if(\"object\"==typeof u&&u&&U(Po,u))return u}return new Ro(!1)},jo=TypeError,ko=function(t,e){if(U(e,t))return t;throw new jo(\"Incorrect invocation\")},Io=function(t,e,r){var n,o;return dn&&T(n=e.constructor)&&n!==r&&M(o=n.prototype)&&o!==r.prototype&&dn(t,o),t},To=function(t,e,r){var n=-1!==t.indexOf(\"Map\"),o=-1!==t.indexOf(\"Weak\"),u=n?\"set\":\"add\",s=i[t],c=s&&s.prototype,f=s,l={},h=function(t){var e=b(c[t]);ie(c,t,\"add\"===t?function(t){return e(this,0===t?0:t),this}:\"delete\"===t?function(t){return!(o&&!M(t))&&e(this,0===t?0:t)}:\"get\"===t?function(t){return o&&!M(t)?void 0:e(this,0===t?0:t)}:\"has\"===t?function(t){return!(o&&!M(t))&&e(this,0===t?0:t)}:function(t,r){return e(this,0===t?0:t,r),this})};if(Ue(t,!T(s)||!(o||c.forEach&&!a(function(){(new s).entries().next()}))))f=r.getConstructor(e,t,n,u),Oo.enable();else if(Ue(t,!0)){var p=new f,v=p[u](o?{}:-0,1)!==p,d=a(function(){p.has(1)}),g=Gn(function(t){new s(t)}),y=!o&&a(function(){for(var t=new s,e=5;e--;)t[u](e,e);return!t.has(-0)});g||((f=e(function(t,e){ko(t,c);var r=Io(new s,t,f);return P(e)||Ao(e,r[u],{that:r,AS_ENTRIES:n}),r})).prototype=c,c.constructor=f),(d||y)&&(h(\"delete\"),h(\"has\"),n&&h(\"get\")),(y||v)&&h(u),o&&c.clear&&delete c.clear}return l[t]=f,Ce({global:!0,constructor:!0,forced:f!==s},l),an(f,t),o||r.setStrong(f,t,n),f},Mo=function(t,e,r){for(var n in e)ie(t,n,e[n],r);return t},Lo=dt(\"species\"),Uo=function(t){var e=L(t);u&&e&&!e[Lo]&&so(e,Lo,{configurable:!0,get:function(){return this}})},No=Oo.fastKey,Co=ne.set,_o=ne.getterFor,Fo={getConstructor:function(t,e,r,n){var o=t(function(t,o){ko(t,i),Co(t,{type:e,index:Ve(null),first:null,last:null,size:0}),u||(t.size=0),P(o)||Ao(o,t[n],{that:t,AS_ENTRIES:r})}),i=o.prototype,a=_o(e),s=function(t,e,r){var n,o,i=a(t),s=c(t,e);return s?s.value=r:(i.last=s={index:o=No(e,!0),key:e,value:r,previous:n=i.last,next:null,removed:!1},i.first||(i.first=s),n&&(n.next=s),u?i.size++:t.size++,\"F\"!==o&&(i.index[o]=s)),t},c=function(t,e){var r,n=a(t),o=No(e);if(\"F\"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key===e)return r};return Mo(i,{clear:function(){for(var t=a(this),e=t.first;e;)e.removed=!0,e.previous&&(e.previous=e.previous.next=null),e=e.next;t.first=t.last=null,t.index=Ve(null),u?t.size=0:this.size=0},delete:function(t){var e=this,r=a(e),n=c(e,t);if(n){var o=n.next,i=n.previous;delete r.index[n.index],n.removed=!0,i&&(i.next=o),o&&(o.previous=i),r.first===n&&(r.first=o),r.last===n&&(r.last=i),u?r.size--:e.size--}return!!n},forEach:function(t){for(var e,r=a(this),n=ar(t,arguments.length>1?arguments[1]:void 0);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!c(this,t)}}),Mo(i,r?{get:function(t){var e=c(this,t);return e&&e.value},set:function(t,e){return s(this,0===t?0:t,e)}}:{add:function(t){return s(this,t=0===t?0:t,t)}}),u&&so(i,\"size\",{configurable:!0,get:function(){return a(this).size}}),o},setStrong:function(t,e,r){var n=e+\" Iterator\",o=_o(e),i=_o(n);Rn(t,e,function(t,e){Co(this,{type:n,target:t,state:o(t),kind:e,last:null})},function(){for(var t=i(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?Pn(\"keys\"===e?r.key:\"values\"===e?r.value:[r.key,r.value],!1):(t.target=null,Pn(void 0,!0))},r?\"entries\":\"values\",!r,!0),Uo(e)}};To(\"Map\",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},Fo);var Bo=Map.prototype,Do={Map:Map,set:b(Bo.set),get:b(Bo.get),has:b(Bo.has),remove:b(Bo.delete),proto:Bo},zo=Do.Map,Wo=Do.has,qo=Do.get,Ho=Do.set,$o=b([].push),Ko=a(function(){return 1!==zo.groupBy(\"ab\",function(t){return t}).get(\"a\").length});Ce({target:\"Map\",stat:!0,forced:Ko},{groupBy:function(t,e){j(t),J(e);var r=new zo,n=0;return Ao(t,function(t){var o=e(t,n++);Wo(r,o)?$o(qo(r,o),t):Ho(r,o,[t])}),r}});var Go={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Vo=Et(\"span\").classList,Yo=Vo&&Vo.constructor&&Vo.constructor.prototype,Xo=Yo===Object.prototype?void 0:Yo,Jo=dt(\"iterator\"),Qo=ro.values,Zo=function(t,e){if(t){if(t[Jo]!==Qo)try{_t(t,Jo,Qo)}catch(e){t[Jo]=Qo}if(an(t,e,!0),Go[e])for(var r in ro)if(t[r]!==ro[r])try{_t(t,r,ro[r])}catch(e){t[r]=ro[r]}}};for(var ti in Go)Zo(i[ti]&&i[ti].prototype,ti);Zo(Xo,\"DOMTokenList\");var ei=function(t,e,r){return function(n){var o=it(n),i=arguments.length,a=i>1?arguments[1]:void 0,u=void 0!==a,s=u?ar(a,i>2?arguments[2]:void 0):void 0,c=new t,f=0;return Ao(o,function(t){var n=u?s(t,f++):t;r?e(c,kt(n)[0],n[1]):e(c,n)}),c}};Ce({target:\"Map\",stat:!0,forced:!0},{from:ei(Do.Map,Do.set,!0)});var ri=function(t,e,r){return function(){for(var n=new t,o=arguments.length,i=0;i<o;i++){var a=arguments[i];r?e(n,kt(a)[0],a[1]):e(n,a)}return n}};Ce({target:\"Map\",stat:!0,forced:!0},{of:ri(Do.Map,Do.set,!0)});var ni=Do.has,oi=function(t){return ni(t),t},ii=Do.remove;Ce({target:\"Map\",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var t,e=oi(this),r=!0,n=0,o=arguments.length;n<o;n++)t=ii(e,arguments[n]),r=r&&t;return!!r}});var ai=Do.get,ui=Do.has,si=Do.set;Ce({target:\"Map\",proto:!0,real:!0,forced:!0},{emplace:function(t,e){var r,n,o=oi(this);return ui(o,t)?(r=ai(o,t),\"update\"in e&&(r=e.update(r,t,o),si(o,t,r)),r):(n=e.insert(t,o),si(o,t,n),n)}});var ci=function(t,e,r){for(var n,o,i=r?t:t.iterator,a=t.next;!(n=f(a,i)).done;)if(void 0!==(o=e(n.value)))return o},fi=Do.Map,li=Do.proto,hi=b(li.forEach),pi=b(li.entries),vi=pi(new fi).next,di=function(t,e,r){return r?ci({iterator:pi(t),next:vi},function(t){return e(t[1],t[0])}):hi(t,e)};Ce({target:\"Map\",proto:!0,real:!0,forced:!0},{every:function(t){var e=oi(this),r=ar(t,arguments.length>1?arguments[1]:void 0);return!1!==di(e,function(t,n){if(!r(t,n,e))return!1},!0)}});var gi=Do.Map,yi=Do.set;Ce({target:\"Map\",proto:!0,real:!0,forced:!0},{filter:function(t){var e=oi(this),r=ar(t,arguments.length>1?arguments[1]:void 0),n=new gi;return di(e,function(t,o){r(t,o,e)&&yi(n,o,t)}),n}}),Ce({target:\"Map\",proto:!0,real:!0,forced:!0},{find:function(t){var e=oi(this),r=ar(t,arguments.length>1?arguments[1]:void 0),n=di(e,function(t,n){if(r(t,n,e))return{value:t}},!0);return n&&n.value}}),Ce({target:\"Map\",proto:!0,real:!0,forced:!0},{findKey:function(t){var e=oi(this),r=ar(t,arguments.length>1?arguments[1]:void 0),n=di(e,function(t,n){if(r(t,n,e))return{key:n}},!0);return n&&n.key}}),Ce({target:\"Map\",proto:!0,real:!0,forced:!0},{includes:function(t){return!0===di(oi(this),function(e){if((r=e)===(n=t)||r!=r&&n!=n)return!0;var r,n},!0)}});var mi=Do.Map;Ce({target:\"Map\",stat:!0,forced:!0},{keyBy:function(t,e){var r=new(T(this)?this:mi);J(e);var n=J(r.set);return Ao(t,function(t){f(n,r,e(t),t)}),r}}),Ce({target:\"Map\",proto:!0,real:!0,forced:!0},{keyOf:function(t){var e=di(oi(this),function(e,r){if(e===t)return{key:r}},!0);return e&&e.key}});var bi=Do.Map,wi=Do.set;Ce({target:\"Map\",proto:!0,real:!0,forced:!0},{mapKeys:function(t){var e=oi(this),r=ar(t,arguments.length>1?arguments[1]:void 0),n=new bi;return di(e,function(t,o){wi(n,r(t,o,e),t)}),n}});var Si=Do.Map,Ei=Do.set;Ce({target:\"Map\",proto:!0,real:!0,forced:!0},{mapValues:function(t){var e=oi(this),r=ar(t,arguments.length>1?arguments[1]:void 0),n=new Si;return di(e,function(t,o){Ei(n,o,r(t,o,e))}),n}});var Oi=Do.set;Ce({target:\"Map\",proto:!0,real:!0,arity:1,forced:!0},{merge:function(t){for(var e=oi(this),r=arguments.length,n=0;n<r;)Ao(arguments[n++],function(t,r){Oi(e,t,r)},{AS_ENTRIES:!0});return e}});var xi=TypeError;Ce({target:\"Map\",proto:!0,real:!0,forced:!0},{reduce:function(t){var e=oi(this),r=arguments.length<2,n=r?void 0:arguments[1];if(J(t),di(e,function(o,i){r?(r=!1,n=o):n=t(n,o,i,e)}),r)throw new xi(\"Reduce of empty map with no initial value\");return n}}),Ce({target:\"Map\",proto:!0,real:!0,forced:!0},{some:function(t){var e=oi(this),r=ar(t,arguments.length>1?arguments[1]:void 0);return!0===di(e,function(t,n){if(r(t,n,e))return!0},!0)}});var Ri=TypeError,Pi=Do.get,Ai=Do.has,ji=Do.set;Ce({target:\"Map\",proto:!0,real:!0,forced:!0},{update:function(t,e){var r=oi(this),n=arguments.length;J(e);var o=Ai(r,t);if(!o&&n<3)throw new Ri(\"Updating absent value\");var i=o?Pi(r,t):J(n>2?arguments[2]:void 0)(t,r);return ji(r,t,e(i,t,r)),r}});var ki=TypeError,Ii=function(t,e){var r,n=kt(this),o=J(n.get),i=J(n.has),a=J(n.set),u=arguments.length>2?arguments[2]:void 0;if(!T(e)&&!T(u))throw new ki(\"At least one callback required\");return f(i,n,t)?(r=f(o,n,t),T(e)&&(r=e(r),f(a,n,t,r))):T(u)&&(r=u(),f(a,n,t,r)),r};Ce({target:\"Map\",proto:!0,real:!0,forced:!0},{upsert:Ii}),Ce({target:\"Map\",proto:!0,real:!0,name:\"upsert\",forced:!0},{updateOrInsert:Ii});var Ti=b(1..valueOf),Mi=\"\\t\\n\\v\\f\\r                 \\u2028\\u2029\\ufeff\",Li=b(\"\".replace),Ui=RegExp(\"^[\"+Mi+\"]+\"),Ni=RegExp(\"(^|[^\"+Mi+\"])[\"+Mi+\"]+$\"),Ci=function(t){return function(e){var r=Wr(j(e));return 1&t&&(r=Li(r,Ui,\"\")),2&t&&(r=Li(r,Ni,\"$1\")),r}},_i={start:Ci(1),end:Ci(2),trim:Ci(3)},Fi=Oe.f,Bi=Rt.f,Di=Ct.f,zi=_i.trim,Wi=\"Number\",qi=i[Wi],Hi=qi.prototype,$i=i.TypeError,Ki=b(\"\".slice),Gi=b(\"\".charCodeAt),Vi=Ue(Wi,!qi(\" 0o1\")||!qi(\"0b1\")||qi(\"+0x1\")),Yi=function(t){var e,r=arguments.length<1?0:qi(function(t){var e=mt(t,\"number\");return\"bigint\"==typeof e?e:function(t){var e,r,n,o,i,a,u,s,c=mt(t,\"number\");if(G(c))throw new $i(\"Cannot convert a Symbol value to a number\");if(\"string\"==typeof c&&c.length>2)if(c=zi(c),43===(e=Gi(c,0))||45===e){if(88===(r=Gi(c,2))||120===r)return NaN}else if(48===e){switch(Gi(c,1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+c}for(a=(i=Ki(c,2)).length,u=0;u<a;u++)if((s=Gi(i,u))<48||s>o)return NaN;return parseInt(i,n)}return+c}(e)}(t));return U(Hi,e=this)&&a(function(){Ti(e)})?Io(Object(r),this,Yi):r};Yi.prototype=Hi,Vi&&(Hi.constructor=Yi),Ce({global:!0,constructor:!0,wrap:!0,forced:Vi},{Number:Yi}),Vi&&function(t,e){for(var r,n=u?Fi(e):\"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range\".split(\",\"),o=0;n.length>o;o++)ut(e,r=n[o])&&!ut(t,r)&&Di(t,r,Bi(e,r))}(Yn[Wi],qi),Ce({target:\"Number\",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)});var Xi=i.isFinite;Ce({target:\"Number\",stat:!0},{isFinite:Number.isFinite||function(t){return\"number\"==typeof t&&Xi(t)}});var Ji=Math.floor,Qi=Number.isInteger||function(t){return!M(t)&&isFinite(t)&&Ji(t)===t};Ce({target:\"Number\",stat:!0},{isInteger:Qi}),Ce({target:\"Number\",stat:!0},{isNaN:function(t){return t!=t}});var Zi=Math.abs;Ce({target:\"Number\",stat:!0},{isSafeInteger:function(t){return Qi(t)&&Zi(t)<=9007199254740991}}),Ce({target:\"Number\",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991}),Ce({target:\"Number\",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991});var ta=_i.trim,ea=b(\"\".charAt),ra=i.parseFloat,na=i.Symbol,oa=na&&na.iterator,ia=1/ra(Mi+\"-0\")!=-Infinity||oa&&!a(function(){ra(Object(oa))})?function(t){var e=ta(Wr(t)),r=ra(e);return 0===r&&\"-\"===ea(e,0)?-0:r}:ra;Ce({target:\"Number\",stat:!0,forced:Number.parseFloat!==ia},{parseFloat:ia});var aa=_i.trim,ua=i.parseInt,sa=i.Symbol,ca=sa&&sa.iterator,fa=/^[+-]?0x/i,la=b(fa.exec),ha=8!==ua(Mi+\"08\")||22!==ua(Mi+\"0x16\")||ca&&!a(function(){ua(Object(ca))})?function(t,e){var r=aa(Wr(t));return ua(r,e>>>0||(la(fa,r)?16:10))}:ua;Ce({target:\"Number\",stat:!0,forced:Number.parseInt!==ha},{parseInt:ha});var pa=b(v.f),va=b([].push),da=u&&a(function(){var t=Object.create(null);return t[2]=2,!pa(t,2)}),ga=function(t){return function(e){for(var r,n=k(e),o=_e(n),i=da&&null===Qr(n),a=o.length,s=0,c=[];a>s;)r=o[s++],u&&!(i?r in n:pa(n,r))||va(c,t?[r,n[r]]:n[r]);return c}},ya={entries:ga(!0),values:ga(!1)},ma=ya.entries;Ce({target:\"Object\",stat:!0},{entries:function(t){return ma(t)}}),Ce({target:\"Object\",stat:!0,sham:!u},{getOwnPropertyDescriptors:function(t){for(var e,r,n=k(t),o=Rt.f,i=Pe(n),a={},u=0;i.length>u;)void 0!==(r=o(n,e=i[u++]))&&Cn(a,e,r);return a}});var ba=a(function(){_e(1)});Ce({target:\"Object\",stat:!0,forced:ba},{keys:function(t){return _e(it(t))}});var wa=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e};Ce({target:\"Object\",stat:!0},{is:wa});var Sa=ya.values;Ce({target:\"Object\",stat:!0},{values:function(t){return Sa(t)}}),Ce({target:\"Object\",stat:!0},{hasOwn:ut});var Ea=Function.prototype,Oa=Ea.apply,xa=Ea.call,Ra=\"object\"==typeof Reflect&&Reflect.apply||(s?xa.bind(Oa):function(){return xa.apply(Oa,arguments)}),Pa=!a(function(){Reflect.apply(function(){})});Ce({target:\"Reflect\",stat:!0,forced:Pa},{apply:function(t,e,r){return Ra(J(t),e,kt(r))}});var Aa=Function,ja=b([].concat),ka=b([].join),Ia={},Ta=s?Aa.bind:function(t){var e=J(this),r=e.prototype,n=vo(arguments,1),o=function(){var r=ja(n,vo(arguments));return this instanceof o?function(t,e,r){if(!ut(Ia,e)){for(var n=[],o=0;o<e;o++)n[o]=\"a[\"+o+\"]\";Ia[e]=Aa(\"C,a\",\"return new C(\"+ka(n,\",\")+\")\")}return Ia[e](t,r)}(e,r.length,r):e.apply(t,r)};return M(r)&&(o.prototype=r),o},Ma=TypeError,La=function(t){if(Sr(t))return t;throw new Ma(Y(t)+\" is not a constructor\")},Ua=L(\"Reflect\",\"construct\"),Na=Object.prototype,Ca=[].push,_a=a(function(){function t(){}return!(Ua(function(){},[],t)instanceof t)}),Fa=!a(function(){Ua(function(){})}),Ba=_a||Fa;Ce({target:\"Reflect\",stat:!0,forced:Ba,sham:Ba},{construct:function(t,e){La(t),kt(e);var r=arguments.length<3?t:La(arguments[2]);if(Fa&&!_a)return Ua(t,e,r);if(t===r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return Ra(Ca,n,e),new(Ra(Ta,t,n))}var o=r.prototype,i=Ve(M(o)?o:Na),a=Ra(t,i,e);return M(a)?a:i}});var Da=a(function(){Reflect.defineProperty(Ct.f({},1,{value:1}),1,{value:2})});Ce({target:\"Reflect\",stat:!0,forced:Da,sham:!u},{defineProperty:function(t,e,r){kt(t);var n=bt(e);kt(r);try{return Ct.f(t,n,r),!0}catch(t){return!1}}});var za=Rt.f;Ce({target:\"Reflect\",stat:!0},{deleteProperty:function(t,e){var r=za(kt(t),e);return!(r&&!r.configurable)&&delete t[e]}});var Wa=function(t){return void 0!==t&&(ut(t,\"value\")||ut(t,\"writable\"))};Ce({target:\"Reflect\",stat:!0},{get:function t(e,r){var n,o,i=arguments.length<3?e:arguments[2];return kt(e)===i?e[r]:(n=Rt.f(e,r))?Wa(n)?n.value:void 0===n.get?void 0:f(n.get,i):M(o=Qr(e))?t(o,r,i):void 0}}),Ce({target:\"Reflect\",stat:!0,sham:!u},{getOwnPropertyDescriptor:function(t,e){return Rt.f(kt(t),e)}}),Ce({target:\"Reflect\",stat:!0,sham:!Vr},{getPrototypeOf:function(t){return Qr(kt(t))}}),Ce({target:\"Reflect\",stat:!0},{has:function(t,e){return e in t}}),Ce({target:\"Reflect\",stat:!0},{isExtensible:function(t){return kt(t),So(t)}}),Ce({target:\"Reflect\",stat:!0},{ownKeys:Pe}),Ce({target:\"Reflect\",stat:!0,sham:!Eo},{preventExtensions:function(t){kt(t);try{var e=L(\"Object\",\"preventExtensions\");return e&&e(t),!0}catch(t){return!1}}});var qa=a(function(){var t=function(){},e=Ct.f(new t,\"a\",{configurable:!0});return!1!==Reflect.set(t.prototype,\"a\",1,e)});Ce({target:\"Reflect\",stat:!0,forced:qa},{set:function t(e,r,n){var o,i,a,u=arguments.length<4?e:arguments[3],s=Rt.f(kt(e),r);if(!s){if(M(i=Qr(e)))return t(i,r,n,u);s=d(0)}if(Wa(s)){if(!1===s.writable||!M(u))return!1;if(o=Rt.f(u,r)){if(o.get||o.set||!1===o.writable)return!1;o.value=n,Ct.f(u,r,o)}else Ct.f(u,r,d(0,n))}else{if(void 0===(a=s.set))return!1;f(a,u,n)}return!0}}),dn&&Ce({target:\"Reflect\",stat:!0},{setPrototypeOf:function(t,e){kt(t),vn(e);try{return dn(t,e),!0}catch(t){return!1}}}),Ce({global:!0},{Reflect:{}}),an(i.Reflect,\"Reflect\",!0);var Ha=Oo.getWeakData,$a=ne.set,Ka=ne.getterFor,Ga=Ar.find,Va=Ar.findIndex,Ya=b([].splice),Xa=0,Ja=function(t){return t.frozen||(t.frozen=new Qa)},Qa=function(){this.entries=[]},Za=function(t,e){return Ga(t.entries,function(t){return t[0]===e})};Qa.prototype={get:function(t){var e=Za(this,t);if(e)return e[1]},has:function(t){return!!Za(this,t)},set:function(t,e){var r=Za(this,t);r?r[1]=e:this.entries.push([t,e])},delete:function(t){var e=Va(this.entries,function(e){return e[0]===t});return~e&&Ya(this.entries,e,1),!!~e}};var tu,eu={getConstructor:function(t,e,r,n){var o=t(function(t,o){ko(t,i),$a(t,{type:e,id:Xa++,frozen:null}),P(o)||Ao(o,t[n],{that:t,AS_ENTRIES:r})}),i=o.prototype,a=Ka(e),u=function(t,e,r){var n=a(t),o=Ha(kt(e),!0);return!0===o?Ja(n).set(e,r):o[n.id]=r,t};return Mo(i,{delete:function(t){var e=a(this);if(!M(t))return!1;var r=Ha(t);return!0===r?Ja(e).delete(t):r&&ut(r,e.id)&&delete r[e.id]},has:function(t){var e=a(this);if(!M(t))return!1;var r=Ha(t);return!0===r?Ja(e).has(t):r&&ut(r,e.id)}}),Mo(i,r?{get:function(t){var e=a(this);if(M(t)){var r=Ha(t);if(!0===r)return Ja(e).get(t);if(r)return r[e.id]}},set:function(t,e){return u(this,t,e)}}:{add:function(t){return u(this,t,!0)}}),o}},ru=ne.enforce,nu=Object,ou=Array.isArray,iu=nu.isExtensible,au=nu.isFrozen,uu=nu.isSealed,su=nu.freeze,cu=nu.seal,fu=!i.ActiveXObject&&\"ActiveXObject\"in i,lu=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},hu=To(\"WeakMap\",lu,eu),pu=hu.prototype,vu=b(pu.set);if(Vt)if(fu){tu=eu.getConstructor(lu,\"WeakMap\",!0),Oo.enable();var du=b(pu.delete),gu=b(pu.has),yu=b(pu.get);Mo(pu,{delete:function(t){if(M(t)&&!iu(t)){var e=ru(this);return e.frozen||(e.frozen=new tu),du(this,t)||e.frozen.delete(t)}return du(this,t)},has:function(t){if(M(t)&&!iu(t)){var e=ru(this);return e.frozen||(e.frozen=new tu),gu(this,t)||e.frozen.has(t)}return gu(this,t)},get:function(t){if(M(t)&&!iu(t)){var e=ru(this);return e.frozen||(e.frozen=new tu),gu(this,t)?yu(this,t):e.frozen.get(t)}return yu(this,t)},set:function(t,e){if(M(t)&&!iu(t)){var r=ru(this);r.frozen||(r.frozen=new tu),gu(this,t)?vu(this,t,e):r.frozen.set(t,e)}else vu(this,t,e);return this}})}else Eo&&a(function(){var t=su([]);return vu(new hu,t,1),!au(t)})&&Mo(pu,{set:function(t,e){var r;return ou(t)&&(au(t)?r=su:uu(t)&&(r=cu)),vu(this,t,e),r&&r(t),this}});var mu=L(\"Map\"),bu=L(\"WeakMap\"),wu=b([].push),Su=nt(\"metadata\"),Eu=Su.store||(Su.store=new bu),Ou=function(t,e,r){var n=Eu.get(t);if(!n){if(!r)return;Eu.set(t,n=new mu)}var o=n.get(e);if(!o){if(!r)return;n.set(e,o=new mu)}return o},xu={store:Eu,getMap:Ou,has:function(t,e,r){var n=Ou(e,r,!1);return void 0!==n&&n.has(t)},get:function(t,e,r){var n=Ou(e,r,!1);return void 0===n?void 0:n.get(t)},set:function(t,e,r,n){Ou(r,n,!0).set(t,e)},keys:function(t,e){var r=Ou(t,e,!1),n=[];return r&&r.forEach(function(t,e){wu(n,e)}),n},toKey:function(t){return void 0===t||\"symbol\"==typeof t?t:String(t)}},Ru=xu.toKey,Pu=xu.set;Ce({target:\"Reflect\",stat:!0},{defineMetadata:function(t,e,r){var n=arguments.length<4?void 0:Ru(arguments[3]);Pu(t,e,kt(r),n)}});var Au=xu.toKey,ju=xu.getMap,ku=xu.store;Ce({target:\"Reflect\",stat:!0},{deleteMetadata:function(t,e){var r=arguments.length<3?void 0:Au(arguments[2]),n=ju(kt(e),r,!1);if(void 0===n||!n.delete(t))return!1;if(n.size)return!0;var o=ku.get(e);return o.delete(r),!!o.size||ku.delete(e)}});var Iu=xu.has,Tu=xu.get,Mu=xu.toKey,Lu=function(t,e,r){if(Iu(t,e,r))return Tu(t,e,r);var n=Qr(e);return null!==n?Lu(t,n,r):void 0};Ce({target:\"Reflect\",stat:!0},{getMetadata:function(t,e){var r=arguments.length<3?void 0:Mu(arguments[2]);return Lu(t,kt(e),r)}});var Uu=Do.Map,Nu=Do.has,Cu=Do.set,_u=b([].push),Fu=b(function(t){var e,r,n,o=it(this),i=de(o),a=[],u=new Uu,s=P(t)?function(t){return t}:J(t);for(e=0;e<i;e++)n=s(r=o[e]),Nu(u,n)||Cu(u,n,r);return di(u,function(t){_u(a,t)}),a}),Bu=b([].concat),Du=xu.keys,zu=xu.toKey,Wu=function(t,e){var r=Du(t,e),n=Qr(t);if(null===n)return r;var o=Wu(n,e);return o.length?r.length?Fu(Bu(r,o)):o:r};Ce({target:\"Reflect\",stat:!0},{getMetadataKeys:function(t){var e=arguments.length<2?void 0:zu(arguments[1]);return Wu(kt(t),e)}});var qu=xu.get,Hu=xu.toKey;Ce({target:\"Reflect\",stat:!0},{getOwnMetadata:function(t,e){var r=arguments.length<3?void 0:Hu(arguments[2]);return qu(t,kt(e),r)}});var $u=xu.keys,Ku=xu.toKey;Ce({target:\"Reflect\",stat:!0},{getOwnMetadataKeys:function(t){var e=arguments.length<2?void 0:Ku(arguments[1]);return $u(kt(t),e)}});var Gu=xu.has,Vu=xu.toKey,Yu=function(t,e,r){if(Gu(t,e,r))return!0;var n=Qr(e);return null!==n&&Yu(t,n,r)};Ce({target:\"Reflect\",stat:!0},{hasMetadata:function(t,e){var r=arguments.length<3?void 0:Vu(arguments[2]);return Yu(t,kt(e),r)}});var Xu=xu.has,Ju=xu.toKey;Ce({target:\"Reflect\",stat:!0},{hasOwnMetadata:function(t,e){var r=arguments.length<3?void 0:Ju(arguments[2]);return Xu(t,kt(e),r)}});var Qu=xu.toKey,Zu=xu.set;Ce({target:\"Reflect\",stat:!0},{metadata:function(t,e){return function(r,n){Zu(t,e,kt(r),Qu(n))}}});var ts=dt(\"match\"),es=function(t){var e;return M(t)&&(void 0!==(e=t[ts])?!!e:\"RegExp\"===E(t))},rs=function(){var t=kt(this),e=\"\";return t.hasIndices&&(e+=\"d\"),t.global&&(e+=\"g\"),t.ignoreCase&&(e+=\"i\"),t.multiline&&(e+=\"m\"),t.dotAll&&(e+=\"s\"),t.unicode&&(e+=\"u\"),t.unicodeSets&&(e+=\"v\"),t.sticky&&(e+=\"y\"),e},ns=RegExp.prototype,os=function(t){var e=t.flags;return void 0!==e||\"flags\"in ns||ut(t,\"flags\")||!U(ns,t)?e:f(rs,t)},is=i.RegExp,as=a(function(){var t=is(\"a\",\"y\");return t.lastIndex=2,null!==t.exec(\"abcd\")}),us=as||a(function(){return!is(\"a\",\"y\").sticky}),ss=as||a(function(){var t=is(\"^r\",\"gy\");return t.lastIndex=2,null!==t.exec(\"str\")}),cs={BROKEN_CARET:ss,MISSED_STICKY:us,UNSUPPORTED_Y:as},fs=Ct.f,ls=function(t,e,r){r in t||fs(t,r,{configurable:!0,get:function(){return e[r]},set:function(t){e[r]=t}})},hs=i.RegExp,ps=a(function(){var t=hs(\".\",\"s\");return!(t.dotAll&&t.test(\"\\n\")&&\"s\"===t.flags)}),vs=i.RegExp,ds=a(function(){var t=vs(\"(?<a>b)\",\"g\");return\"b\"!==t.exec(\"b\").groups.a||\"bc\"!==\"b\".replace(t,\"$<a>c\")}),gs=Oe.f,ys=ne.enforce,ms=dt(\"match\"),bs=i.RegExp,ws=bs.prototype,Ss=i.SyntaxError,Es=b(ws.exec),Os=b(\"\".charAt),xs=b(\"\".replace),Rs=b(\"\".indexOf),Ps=b(\"\".slice),As=/^\\?<[^\\s\\d!#%&*+<=>@^][^\\s!#%&*+<=>@^]*>/,js=/a/g,ks=/a/g,Is=new bs(js)!==js,Ts=cs.MISSED_STICKY,Ms=cs.UNSUPPORTED_Y,Ls=u&&(!Is||Ts||ps||ds||a(function(){return ks[ms]=!1,bs(js)!==js||bs(ks)===ks||\"/a/i\"!==String(bs(js,\"i\"))}));if(Ue(\"RegExp\",Ls)){for(var Us=function(t,e){var r,n,o,i,a,u,s=U(ws,this),c=es(t),f=void 0===e,l=[],h=t;if(!s&&c&&f&&t.constructor===Us)return t;if((c||U(ws,t))&&(t=t.source,f&&(e=os(h))),t=void 0===t?\"\":Wr(t),e=void 0===e?\"\":Wr(e),h=t,ps&&\"dotAll\"in js&&(n=!!e&&Rs(e,\"s\")>-1)&&(e=xs(e,/s/g,\"\")),r=e,Ts&&\"sticky\"in js&&(o=!!e&&Rs(e,\"y\")>-1)&&Ms&&(e=xs(e,/y/g,\"\")),ds&&(i=function(t){for(var e,r=t.length,n=0,o=\"\",i=[],a=Ve(null),u=!1,s=!1,c=0,f=\"\";n<=r;n++){if(\"\\\\\"===(e=Os(t,n)))e+=Os(t,++n);else if(\"]\"===e)u=!1;else if(!u)switch(!0){case\"[\"===e:u=!0;break;case\"(\"===e:if(o+=e,\"?:\"===Ps(t,n+1,n+3))continue;Es(As,Ps(t,n+1))&&(n+=2,s=!0),c++;continue;case\">\"===e&&s:if(\"\"===f||ut(a,f))throw new Ss(\"Invalid capture group name\");a[f]=!0,i[i.length]=[f,c],s=!1,f=\"\";continue}s?f+=e:o+=e}return[o,i]}(t),t=i[0],l=i[1]),a=Io(bs(t,e),s?this:ws,Us),(n||o||l.length)&&(u=ys(a),n&&(u.dotAll=!0,u.raw=Us(function(t){for(var e,r=t.length,n=0,o=\"\",i=!1;n<=r;n++)\"\\\\\"!==(e=Os(t,n))?i||\".\"!==e?(\"[\"===e?i=!0:\"]\"===e&&(i=!1),o+=e):o+=\"[\\\\s\\\\S]\":o+=e+Os(t,++n);return o}(t),r)),o&&(u.sticky=!0),l.length&&(u.groups=l)),t!==h)try{_t(a,\"source\",\"\"===h?\"(?:)\":h)}catch(t){}return a},Ns=gs(bs),Cs=0;Ns.length>Cs;)ls(Us,bs,Ns[Cs++]);ws.constructor=Us,Us.prototype=ws,ie(i,\"RegExp\",Us,{constructor:!0})}Uo(\"RegExp\");var _s=zt.PROPER,Fs=\"toString\",Bs=RegExp.prototype,Ds=Bs[Fs];(a(function(){return\"/a/b\"!==Ds.call({source:\"a\",flags:\"b\"})})||_s&&Ds.name!==Fs)&&ie(Bs,Fs,function(){var t=kt(this);return\"/\"+Wr(t.source)+\"/\"+Wr(os(t))},{unsafe:!0});var zs=ne.get,Ws=RegExp.prototype,qs=TypeError;u&&ps&&so(Ws,\"dotAll\",{configurable:!0,get:function(){if(this!==Ws){if(\"RegExp\"===E(this))return!!zs(this).dotAll;throw new qs(\"Incompatible receiver, RegExp required\")}}});var Hs=ne.get,$s=nt(\"native-string-replace\",String.prototype.replace),Ks=RegExp.prototype.exec,Gs=Ks,Vs=b(\"\".charAt),Ys=b(\"\".indexOf),Xs=b(\"\".replace),Js=b(\"\".slice),Qs=function(){var t=/a/,e=/b*/g;return f(Ks,t,\"a\"),f(Ks,e,\"a\"),0!==t.lastIndex||0!==e.lastIndex}(),Zs=cs.BROKEN_CARET,tc=void 0!==/()??/.exec(\"\")[1];(Qs||tc||Zs||ps||ds)&&(Gs=function(t){var e,r,n,o,i,a,u,s=this,c=Hs(s),l=Wr(t),h=c.raw;if(h)return h.lastIndex=s.lastIndex,e=f(Gs,h,l),s.lastIndex=h.lastIndex,e;var p=c.groups,v=Zs&&s.sticky,d=f(rs,s),g=s.source,y=0,m=l;if(v&&(d=Xs(d,\"y\",\"\"),-1===Ys(d,\"g\")&&(d+=\"g\"),m=Js(l,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&\"\\n\"!==Vs(l,s.lastIndex-1))&&(g=\"(?: \"+g+\")\",m=\" \"+m,y++),r=new RegExp(\"^(?:\"+g+\")\",d)),tc&&(r=new RegExp(\"^\"+g+\"$(?!\\\\s)\",d)),Qs&&(n=s.lastIndex),o=f(Ks,v?r:s,m),v?o?(o.input=Js(o.input,y),o[0]=Js(o[0],y),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:Qs&&o&&(s.lastIndex=s.global?o.index+o[0].length:n),tc&&o&&o.length>1&&f($s,o[0],r,function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)}),o&&p)for(o.groups=a=Ve(null),i=0;i<p.length;i++)a[(u=p[i])[0]]=o[u[1]];return o});var ec=Gs;Ce({target:\"RegExp\",proto:!0,forced:/./.exec!==ec},{exec:ec});var rc=i.RegExp,nc=rc.prototype;u&&a(function(){var t=!0;try{rc(\".\",\"d\")}catch(e){t=!1}var e={},r=\"\",n=t?\"dgimsy\":\"gimsy\",o=function(t,n){Object.defineProperty(e,t,{get:function(){return r+=n,!0}})},i={dotAll:\"s\",global:\"g\",ignoreCase:\"i\",multiline:\"m\",sticky:\"y\"};for(var a in t&&(i.hasIndices=\"d\"),i)o(a,i[a]);return Object.getOwnPropertyDescriptor(nc,\"flags\").get.call(e)!==n||r!==n})&&so(nc,\"flags\",{configurable:!0,get:rs});var oc=ne.get,ic=RegExp.prototype,ac=TypeError;u&&cs.MISSED_STICKY&&so(ic,\"sticky\",{configurable:!0,get:function(){if(this!==ic){if(\"RegExp\"===E(this))return!!oc(this).sticky;throw new ac(\"Incompatible receiver, RegExp required\")}}});var uc,sc,cc=(uc=!1,(sc=/[ac]/).exec=function(){return uc=!0,/./.exec.apply(this,arguments)},!0===sc.test(\"abc\")&&uc),fc=/./.test;Ce({target:\"RegExp\",proto:!0,forced:!cc},{test:function(t){var e=kt(this),r=Wr(t),n=e.exec;if(!T(n))return f(fc,e,r);var o=f(n,e,r);return null!==o&&(kt(o),!0)}});var lc=dt(\"species\"),hc=RegExp.prototype,pc=function(t,e,r,n){var o=dt(t),i=!a(function(){var e={};return e[o]=function(){return 7},7!==\"\"[t](e)}),u=i&&!a(function(){var e=!1,r=/a/;return\"split\"===t&&((r={}).constructor={},r.constructor[lc]=function(){return r},r.flags=\"\",r[o]=/./[o]),r.exec=function(){return e=!0,null},r[o](\"\"),!e});if(!i||!u||r){var s=/./[o],c=e(o,\"\"[t],function(t,e,r,n,o){var a=e.exec;return a===ec||a===hc.exec?i&&!o?{done:!0,value:f(s,e,r,n)}:{done:!0,value:f(t,r,e,n)}:{done:!1}});ie(String.prototype,t,c[0]),ie(hc,o,c[1])}n&&_t(hc[o],\"sham\",!0)},vc=Gr.charAt,dc=function(t,e,r){return e+(r?vc(t,e).length:1)},gc=TypeError,yc=function(t,e){var r=t.exec;if(T(r)){var n=f(r,t,e);return null!==n&&kt(n),n}if(\"RegExp\"===E(t))return f(ec,t,e);throw new gc(\"RegExp#exec called on incompatible receiver\")};pc(\"match\",function(t,e,r){return[function(e){var r=j(this),n=P(e)?void 0:Q(e,t);return n?f(n,e,r):new RegExp(e)[t](Wr(r))},function(t){var n=kt(this),o=Wr(t),i=r(e,n,o);if(i.done)return i.value;if(!n.global)return yc(n,o);var a=n.unicode;n.lastIndex=0;for(var u,s=[],c=0;null!==(u=yc(n,o));){var f=Wr(u[0]);s[c]=f,\"\"===f&&(n.lastIndex=dc(o,ve(n.lastIndex),a)),c++}return 0===c?null:s}]});var mc=Math.floor,bc=b(\"\".charAt),wc=b(\"\".replace),Sc=b(\"\".slice),Ec=/\\$([$&'`]|\\d{1,2}|<[^>]*>)/g,Oc=/\\$([$&'`]|\\d{1,2})/g,xc=function(t,e,r,n,o,i){var a=r+t.length,u=n.length,s=Oc;return void 0!==o&&(o=it(o),s=Ec),wc(i,s,function(i,s){var c;switch(bc(s,0)){case\"$\":return\"$\";case\"&\":return t;case\"`\":return Sc(e,0,r);case\"'\":return Sc(e,a);case\"<\":c=o[Sc(s,1,-1)];break;default:var f=+s;if(0===f)return i;if(f>u){var l=mc(f/10);return 0===l?i:l<=u?void 0===n[l-1]?bc(s,1):n[l-1]+bc(s,1):i}c=n[f-1]}return void 0===c?\"\":c})},Rc=dt(\"replace\"),Pc=Math.max,Ac=Math.min,jc=b([].concat),kc=b([].push),Ic=b(\"\".indexOf),Tc=b(\"\".slice),Mc=\"$0\"===\"a\".replace(/./,\"$0\"),Lc=!!/./[Rc]&&\"\"===/./[Rc](\"a\",\"$0\"),Uc=!a(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:\"7\"},t},\"7\"!==\"\".replace(t,\"$<a>\")});pc(\"replace\",function(t,e,r){var n=Lc?\"$\":\"$0\";return[function(t,r){var n=j(this),o=P(t)?void 0:Q(t,Rc);return o?f(o,t,n,r):f(e,Wr(n),t,r)},function(t,o){var i=kt(this),a=Wr(t);if(\"string\"==typeof o&&-1===Ic(o,n)&&-1===Ic(o,\"$<\")){var u=r(e,i,a,o);if(u.done)return u.value}var s=T(o);s||(o=Wr(o));var c,f=i.global;f&&(c=i.unicode,i.lastIndex=0);for(var l,h=[];null!==(l=yc(i,a))&&(kc(h,l),f);)\"\"===Wr(l[0])&&(i.lastIndex=dc(a,ve(i.lastIndex),c));for(var p,v=\"\",d=0,g=0;g<h.length;g++){for(var y,m=Wr((l=h[g])[0]),b=Pc(Ac(ce(l.index),a.length),0),w=[],S=1;S<l.length;S++)kc(w,void 0===(p=l[S])?p:String(p));var E=l.groups;if(s){var O=jc([m],w,b,a);void 0!==E&&kc(O,E),y=Wr(Ra(o,void 0,O))}else y=xc(m,a,b,w,E,o);b>=d&&(v+=Tc(a,d,b)+y,d=b+m.length)}return v+Tc(a,d)}]},!Uc||!Mc||Lc),pc(\"search\",function(t,e,r){return[function(e){var r=j(this),n=P(e)?void 0:Q(e,t);return n?f(n,e,r):new RegExp(e)[t](Wr(r))},function(t){var n=kt(this),o=Wr(t),i=r(e,n,o);if(i.done)return i.value;var a=n.lastIndex;wa(a,0)||(n.lastIndex=0);var u=yc(n,o);return wa(n.lastIndex,a)||(n.lastIndex=a),null===u?-1:u.index}]});var Nc=dt(\"species\"),Cc=function(t,e){var r,n=kt(t).constructor;return void 0===n||P(r=kt(n)[Nc])?e:La(r)},_c=cs.UNSUPPORTED_Y,Fc=Math.min,Bc=b([].push),Dc=b(\"\".slice),zc=!a(function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r=\"ab\".split(t);return 2!==r.length||\"a\"!==r[0]||\"b\"!==r[1]}),Wc=\"c\"===\"abbc\".split(/(b)*/)[1]||4!==\"test\".split(/(?:)/,-1).length||2!==\"ab\".split(/(?:ab)*/).length||4!==\".\".split(/(.?)(.?)/).length||\".\".split(/()()/).length>1||\"\".split(/.?/).length;pc(\"split\",function(t,e,r){var n=\"0\".split(void 0,0).length?function(t,r){return void 0===t&&0===r?[]:f(e,this,t,r)}:e;return[function(e,r){var o=j(this),i=P(e)?void 0:Q(e,t);return i?f(i,e,o,r):f(n,Wr(o),e,r)},function(t,o){var i=kt(this),a=Wr(t);if(!Wc){var u=r(n,i,a,o,n!==e);if(u.done)return u.value}var s=Cc(i,RegExp),c=i.unicode,f=new s(_c?\"^(?:\"+i.source+\")\":i,(i.ignoreCase?\"i\":\"\")+(i.multiline?\"m\":\"\")+(i.unicode?\"u\":\"\")+(_c?\"g\":\"y\")),l=void 0===o?4294967295:o>>>0;if(0===l)return[];if(0===a.length)return null===yc(f,a)?[a]:[];for(var h=0,p=0,v=[];p<a.length;){f.lastIndex=_c?0:p;var d,g=yc(f,_c?Dc(a,p):a);if(null===g||(d=Fc(ve(f.lastIndex+(_c?p:0)),a.length))===h)p=dc(a,p,c);else{if(Bc(v,Dc(a,h,p)),v.length===l)return v;for(var y=1;y<=g.length-1;y++)if(Bc(v,g[y]),v.length===l)return v;p=h=d}}return Bc(v,Dc(a,h)),v}]},Wc||!zc,_c);var qc=TypeError,Hc=RangeError,$c=function(t){var e=Wr(j(this)),r=\"\",n=ce(t);if(n<0||Infinity===n)throw new Hc(\"Wrong number of repetitions\");for(;n>0;(n>>>=1)&&(e+=e))1&n&&(r+=e);return r},Kc=b($c),Gc=b(\"\".slice),Vc=Math.ceil,Yc=function(t){return function(e,r,n){var o,i,a=Wr(j(e)),u=ve(r),s=a.length,c=void 0===n?\" \":Wr(n);return u<=s||\"\"===c?a:((i=Kc(c,Vc((o=u-s)/c.length))).length>o&&(i=Gc(i,0,o)),t?a+i:i+a)}},Xc={start:Yc(!1),end:Yc(!0)},Jc=Xc.start,Qc=Array,Zc=RegExp.escape,tf=b(\"\".charAt),ef=b(\"\".charCodeAt),rf=b(1.1.toString),nf=b([].join),of=/^[0-9a-z]/i,af=/^[$()*+./?[\\\\\\]^{|}]/,uf=RegExp(\"^[!\\\"#%&',\\\\-:;<=>@`~\"+Mi+\"]\"),sf=b(of.exec),cf={\"\\t\":\"t\",\"\\n\":\"n\",\"\\v\":\"v\",\"\\f\":\"f\",\"\\r\":\"r\"},ff=function(t){var e=rf(ef(t,0),16);return e.length<3?\"\\\\x\"+Jc(e,2,\"0\"):\"\\\\u\"+Jc(e,4,\"0\")},lf=!Zc||\"\\\\x61b\"!==Zc(\"ab\");Ce({target:\"RegExp\",stat:!0,forced:lf},{escape:function(t){!function(t){if(\"string\"==typeof t)return t;throw new qc(\"Argument is not a string\")}(t);for(var e=t.length,r=Qc(e),n=0;n<e;n++){var o=tf(t,n);if(0===n&&sf(of,o))r[n]=ff(o);else if(ut(cf,o))r[n]=\"\\\\\"+cf[o];else if(sf(af,o))r[n]=\"\\\\\"+o;else if(sf(uf,o))r[n]=ff(o);else{var i=ef(o,0);55296!=(63488&i)?r[n]=o:i>=56320||n+1>=e||56320!=(64512&ef(t,n+1))?r[n]=ff(o):(r[n]=o,r[++n]=tf(t,n))}}return nf(r,\"\")}}),To(\"Set\",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},Fo);var hf=Set.prototype,pf={Set:Set,add:b(hf.add),has:b(hf.has),remove:b(hf.delete),proto:hf},vf=pf.has,df=function(t){return vf(t),t},gf=pf.Set,yf=pf.proto,mf=b(yf.forEach),bf=b(yf.keys),wf=bf(new gf).next,Sf=function(t,e,r){return r?ci({iterator:bf(t),next:wf},e):mf(t,e)},Ef=pf.Set,Of=pf.add,xf=function(t){var e=new Ef;return Sf(t,function(t){Of(e,t)}),e},Rf=ln(pf.proto,\"size\",\"get\")||function(t){return t.size},Pf=\"Invalid size\",Af=RangeError,jf=TypeError,kf=Math.max,If=function(t,e){this.set=t,this.size=kf(e,0),this.has=J(t.has),this.keys=J(t.keys)};If.prototype={getIterator:function(){return{iterator:t=kt(f(this.keys,this.set)),next:t.next,done:!1};var t},includes:function(t){return f(this.has,this.set,t)}};var Tf=function(t){kt(t);var e=+t.size;if(e!=e)throw new jf(Pf);var r=ce(e);if(r<0)throw new Af(Pf);return new If(t,r)},Mf=pf.has,Lf=pf.remove,Uf=function(t){var e=df(this),r=Tf(t),n=xf(e);return Rf(e)<=r.size?Sf(e,function(t){r.includes(t)&&Lf(n,t)}):ci(r.getIterator(),function(t){Mf(e,t)&&Lf(n,t)}),n},Nf=function(t){return{size:t,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},Cf=function(t){var e=L(\"Set\");try{(new e)[t](Nf(0));try{return(new e)[t](Nf(-1)),!1}catch(t){return!0}}catch(t){return!1}};Ce({target:\"Set\",proto:!0,real:!0,forced:!Cf(\"difference\")},{difference:Uf});var _f=pf.Set,Ff=pf.add,Bf=pf.has,Df=function(t){var e=df(this),r=Tf(t),n=new _f;return Rf(e)>r.size?ci(r.getIterator(),function(t){Bf(e,t)&&Ff(n,t)}):Sf(e,function(t){r.includes(t)&&Ff(n,t)}),n},zf=!Cf(\"intersection\")||a(function(){return\"3,2\"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))});Ce({target:\"Set\",proto:!0,real:!0,forced:zf},{intersection:Df});var Wf=pf.has,qf=function(t){var e=df(this),r=Tf(t);if(Rf(e)<=r.size)return!1!==Sf(e,function(t){if(r.includes(t))return!1},!0);var n=r.getIterator();return!1!==ci(n,function(t){if(Wf(e,t))return Tn(n,\"normal\",!1)})};Ce({target:\"Set\",proto:!0,real:!0,forced:!Cf(\"isDisjointFrom\")},{isDisjointFrom:qf});var Hf=function(t){var e=df(this),r=Tf(t);return!(Rf(e)>r.size)&&!1!==Sf(e,function(t){if(!r.includes(t))return!1},!0)};Ce({target:\"Set\",proto:!0,real:!0,forced:!Cf(\"isSubsetOf\")},{isSubsetOf:Hf});var $f=pf.has,Kf=function(t){var e=df(this),r=Tf(t);if(Rf(e)<r.size)return!1;var n=r.getIterator();return!1!==ci(n,function(t){if(!$f(e,t))return Tn(n,\"normal\",!1)})};Ce({target:\"Set\",proto:!0,real:!0,forced:!Cf(\"isSupersetOf\")},{isSupersetOf:Kf});var Gf=pf.add,Vf=pf.has,Yf=pf.remove,Xf=function(t){var e=df(this),r=Tf(t).getIterator(),n=xf(e);return ci(r,function(t){Vf(e,t)?Yf(n,t):Gf(n,t)}),n};Ce({target:\"Set\",proto:!0,real:!0,forced:!Cf(\"symmetricDifference\")},{symmetricDifference:Xf});var Jf=pf.add,Qf=function(t){var e=df(this),r=Tf(t).getIterator(),n=xf(e);return ci(r,function(t){Jf(n,t)}),n};Ce({target:\"Set\",proto:!0,real:!0,forced:!Cf(\"union\")},{union:Qf}),Ce({target:\"Set\",stat:!0,forced:!0},{from:ei(pf.Set,pf.add,!1)}),Ce({target:\"Set\",stat:!0,forced:!0},{of:ri(pf.Set,pf.add,!1)});var Zf=pf.add;Ce({target:\"Set\",proto:!0,real:!0,forced:!0},{addAll:function(){for(var t=df(this),e=0,r=arguments.length;e<r;e++)Zf(t,arguments[e]);return t}});var tl=pf.remove;Ce({target:\"Set\",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var t,e=df(this),r=!0,n=0,o=arguments.length;n<o;n++)t=tl(e,arguments[n]),r=r&&t;return!!r}}),Ce({target:\"Set\",proto:!0,real:!0,forced:!0},{every:function(t){var e=df(this),r=ar(t,arguments.length>1?arguments[1]:void 0);return!1!==Sf(e,function(t){if(!r(t,t,e))return!1},!0)}});var el=dt(\"iterator\"),rl=Object,nl=L(\"Set\"),ol=function(t){return function(t){return M(t)&&\"number\"==typeof t.size&&T(t.has)&&T(t.keys)}(t)?t:function(t){if(P(t))return!1;var e=rl(t);return void 0!==e[el]||\"@@iterator\"in e||ut(un,pr(e))}(t)?new nl(t):t};Ce({target:\"Set\",proto:!0,real:!0,forced:!0},{difference:function(t){return f(Uf,this,ol(t))}});var il=pf.Set,al=pf.add;Ce({target:\"Set\",proto:!0,real:!0,forced:!0},{filter:function(t){var e=df(this),r=ar(t,arguments.length>1?arguments[1]:void 0),n=new il;return Sf(e,function(t){r(t,t,e)&&al(n,t)}),n}}),Ce({target:\"Set\",proto:!0,real:!0,forced:!0},{find:function(t){var e=df(this),r=ar(t,arguments.length>1?arguments[1]:void 0),n=Sf(e,function(t){if(r(t,t,e))return{value:t}},!0);return n&&n.value}}),Ce({target:\"Set\",proto:!0,real:!0,forced:!0},{intersection:function(t){return f(Df,this,ol(t))}}),Ce({target:\"Set\",proto:!0,real:!0,forced:!0},{isDisjointFrom:function(t){return f(qf,this,ol(t))}}),Ce({target:\"Set\",proto:!0,real:!0,forced:!0},{isSubsetOf:function(t){return f(Hf,this,ol(t))}}),Ce({target:\"Set\",proto:!0,real:!0,forced:!0},{isSupersetOf:function(t){return f(Kf,this,ol(t))}});var ul=b([].join),sl=b([].push);Ce({target:\"Set\",proto:!0,real:!0,forced:!0},{join:function(t){var e=df(this),r=void 0===t?\",\":Wr(t),n=[];return Sf(e,function(t){sl(n,t)}),ul(n,r)}});var cl=pf.Set,fl=pf.add;Ce({target:\"Set\",proto:!0,real:!0,forced:!0},{map:function(t){var e=df(this),r=ar(t,arguments.length>1?arguments[1]:void 0),n=new cl;return Sf(e,function(t){fl(n,r(t,t,e))}),n}});var ll=TypeError;Ce({target:\"Set\",proto:!0,real:!0,forced:!0},{reduce:function(t){var e=df(this),r=arguments.length<2,n=r?void 0:arguments[1];if(J(t),Sf(e,function(o){r?(r=!1,n=o):n=t(n,o,o,e)}),r)throw new ll(\"Reduce of empty set with no initial value\");return n}}),Ce({target:\"Set\",proto:!0,real:!0,forced:!0},{some:function(t){var e=df(this),r=ar(t,arguments.length>1?arguments[1]:void 0);return!0===Sf(e,function(t){if(r(t,t,e))return!0},!0)}}),Ce({target:\"Set\",proto:!0,real:!0,forced:!0},{symmetricDifference:function(t){return f(Xf,this,ol(t))}}),Ce({target:\"Set\",proto:!0,real:!0,forced:!0},{union:function(t){return f(Qf,this,ol(t))}});var hl=dt(\"species\"),pl=dt(\"isConcatSpreadable\"),vl=W>=51||!a(function(){var t=[];return t[pl]=!1,t.concat()[0]!==t}),dl=function(t){if(!M(t))return!1;var e=t[pl];return void 0!==e?!!e:ur(t)},gl=!(vl&&(W>=51||!a(function(){var t=[];return(t.constructor={})[hl]=function(){return{foo:1}},1!==t.concat(Boolean).foo})));Ce({target:\"Array\",proto:!0,arity:1,forced:gl},{concat:function(t){var e,r,n,o,i,a=it(this),u=xr(a,0),s=0;for(e=-1,n=arguments.length;e<n;e++)if(dl(i=-1===e?a:arguments[e]))for(o=de(i),Nr(s+o),r=0;r<o;r++,s++)r in i&&Cn(u,s,i[r]);else Nr(s+1),Cn(u,s++,i);return u.length=s,u}});var yl={f:dt},ml=Ct.f,bl=function(t){var e=Yn.Symbol||(Yn.Symbol={});ut(e,t)||ml(e,t,{value:yl.f(t)})},wl=function(){var t=L(\"Symbol\"),e=t&&t.prototype,r=e&&e.valueOf,n=dt(\"toPrimitive\");e&&!e[n]&&ie(e,n,function(t){return f(r,this)},{arity:1})},Sl=Ar.forEach,El=Xt(\"hidden\"),Ol=\"Symbol\",xl=\"prototype\",Rl=ne.set,Pl=ne.getterFor(Ol),Al=Object[xl],jl=i.Symbol,kl=jl&&jl[xl],Il=i.RangeError,Tl=i.TypeError,Ml=i.QObject,Ll=Rt.f,Ul=Ct.f,Nl=mo.f,Cl=v.f,_l=b([].push),Fl=nt(\"symbols\"),Bl=nt(\"op-symbols\"),Dl=nt(\"wks\"),zl=!Ml||!Ml[xl]||!Ml[xl].findChild,Wl=function(t,e,r){var n=Ll(Al,e);n&&delete Al[e],Ul(t,e,r),n&&t!==Al&&Ul(Al,e,n)},ql=u&&a(function(){return 7!==Ve(Ul({},\"a\",{get:function(){return Ul(this,\"a\",{value:7}).a}})).a})?Wl:Ul,Hl=function(t,e){var r=Fl[t]=Ve(kl);return Rl(r,{type:Ol,tag:t,description:e}),u||(r.description=e),r},$l=function(t,e,r){t===Al&&$l(Bl,e,r),kt(t);var n=bt(e);return kt(r),ut(Fl,n)?(r.enumerable?(ut(t,El)&&t[El][n]&&(t[El][n]=!1),r=Ve(r,{enumerable:d(0,!1)})):(ut(t,El)||Ul(t,El,d(1,Ve(null))),t[El][n]=!0),ql(t,n,r)):Ul(t,n,r)},Kl=function(t,e){kt(t);var r=k(e),n=_e(r).concat(Xl(r));return Sl(n,function(e){u&&!f(Gl,r,e)||$l(t,e,r[e])}),t},Gl=function(t){var e=bt(t),r=f(Cl,this,e);return!(this===Al&&ut(Fl,e)&&!ut(Bl,e))&&(!(r||!ut(this,e)||!ut(Fl,e)||ut(this,El)&&this[El][e])||r)},Vl=function(t,e){var r=k(t),n=bt(e);if(r!==Al||!ut(Fl,n)||ut(Bl,n)){var o=Ll(r,n);return!o||!ut(Fl,n)||ut(r,El)&&r[El][n]||(o.enumerable=!0),o}},Yl=function(t){var e=Nl(k(t)),r=[];return Sl(e,function(t){ut(Fl,t)||ut(Jt,t)||_l(r,t)}),r},Xl=function(t){var e=t===Al,r=Nl(e?Bl:k(t)),n=[];return Sl(r,function(t){!ut(Fl,t)||e&&!ut(Al,t)||_l(n,Fl[t])}),n};H||(jl=function(){if(U(kl,this))throw new Tl(\"Symbol is not a constructor\");var t=arguments.length&&void 0!==arguments[0]?Wr(arguments[0]):void 0,e=lt(t),r=function(t){var n=void 0===this?i:this;n===Al&&f(r,Bl,t),ut(n,El)&&ut(n[El],e)&&(n[El][e]=!1);var o=d(1,t);try{ql(n,e,o)}catch(t){if(!(t instanceof Il))throw t;Wl(n,e,o)}};return u&&zl&&ql(Al,e,{configurable:!0,set:r}),Hl(e,t)},ie(kl=jl[xl],\"toString\",function(){return Pl(this).tag}),ie(jl,\"withoutSetter\",function(t){return Hl(lt(t),t)}),v.f=Gl,Ct.f=$l,Be.f=Kl,Rt.f=Vl,Oe.f=mo.f=Yl,xe.f=Xl,yl.f=function(t){return Hl(dt(t),t)},u&&(so(kl,\"description\",{configurable:!0,get:function(){return Pl(this).description}}),ie(Al,\"propertyIsEnumerable\",Gl,{unsafe:!0}))),Ce({global:!0,constructor:!0,wrap:!0,forced:!H,sham:!H},{Symbol:jl}),Sl(_e(Dl),function(t){bl(t)}),Ce({target:Ol,stat:!0,forced:!H},{useSetter:function(){zl=!0},useSimple:function(){zl=!1}}),Ce({target:\"Object\",stat:!0,forced:!H,sham:!u},{create:function(t,e){return void 0===e?Ve(t):Kl(Ve(t),e)},defineProperty:$l,defineProperties:Kl,getOwnPropertyDescriptor:Vl}),Ce({target:\"Object\",stat:!0,forced:!H},{getOwnPropertyNames:Yl}),wl(),an(jl,Ol),Jt[El]=!0;var Jl=H&&!!Symbol.for&&!!Symbol.keyFor,Ql=nt(\"string-to-symbol-registry\"),Zl=nt(\"symbol-to-string-registry\");Ce({target:\"Symbol\",stat:!0,forced:!Jl},{for:function(t){var e=Wr(t);if(ut(Ql,e))return Ql[e];var r=L(\"Symbol\")(e);return Ql[e]=r,Zl[r]=e,r}});var th=nt(\"symbol-to-string-registry\");Ce({target:\"Symbol\",stat:!0,forced:!Jl},{keyFor:function(t){if(!G(t))throw new TypeError(Y(t)+\" is not a symbol\");if(ut(th,t))return th[t]}});var eh=b([].push),rh=String,nh=L(\"JSON\",\"stringify\"),oh=b(/./.exec),ih=b(\"\".charAt),ah=b(\"\".charCodeAt),uh=b(\"\".replace),sh=b(1..toString),ch=/[\\uD800-\\uDFFF]/g,fh=/^[\\uD800-\\uDBFF]$/,lh=/^[\\uDC00-\\uDFFF]$/,hh=!H||a(function(){var t=L(\"Symbol\")(\"stringify detection\");return\"[null]\"!==nh([t])||\"{}\"!==nh({a:t})||\"{}\"!==nh(Object(t))}),ph=a(function(){return'\"\\\\udf06\\\\ud834\"'!==nh(\"\\udf06\\ud834\")||'\"\\\\udead\"'!==nh(\"\\udead\")}),vh=function(t,e){var r=vo(arguments),n=function(t){if(T(t))return t;if(ur(t)){for(var e=t.length,r=[],n=0;n<e;n++){var o=t[n];\"string\"==typeof o?eh(r,o):\"number\"!=typeof o&&\"Number\"!==E(o)&&\"String\"!==E(o)||eh(r,Wr(o))}var i=r.length,a=!0;return function(t,e){if(a)return a=!1,e;if(ur(this))return e;for(var n=0;n<i;n++)if(r[n]===t)return e}}}(e);if(T(n)||void 0!==t&&!G(t))return r[1]=function(t,e){if(T(n)&&(e=f(n,this,rh(t),e)),!G(e))return e},Ra(nh,null,r)},dh=function(t,e,r){var n=ih(r,e-1),o=ih(r,e+1);return oh(fh,t)&&!oh(lh,o)||oh(lh,t)&&!oh(fh,n)?\"\\\\u\"+sh(ah(t,0),16):t};nh&&Ce({target:\"JSON\",stat:!0,arity:3,forced:hh||ph},{stringify:function(t,e,r){var n=vo(arguments),o=Ra(hh?vh:nh,null,n);return ph&&\"string\"==typeof o?uh(o,ch,dh):o}});var gh=!H||a(function(){xe.f(1)});Ce({target:\"Object\",stat:!0,forced:gh},{getOwnPropertySymbols:function(t){var e=xe.f;return e?e(it(t)):[]}}),bl(\"asyncIterator\");var yh=i.Symbol,mh=yh&&yh.prototype;if(u&&T(yh)&&(!(\"description\"in mh)||void 0!==yh().description)){var bh={},wh=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:Wr(arguments[0]),e=U(mh,this)?new yh(t):void 0===t?yh():yh(t);return\"\"===t&&(bh[e]=!0),e};Ae(wh,yh),wh.prototype=mh,mh.constructor=wh;var Sh=\"Symbol(description detection)\"===String(yh(\"description detection\")),Eh=b(mh.valueOf),Oh=b(mh.toString),xh=/^Symbol\\((.*)\\)[^)]+$/,Rh=b(\"\".replace),Ph=b(\"\".slice);so(mh,\"description\",{configurable:!0,get:function(){var t=Eh(this);if(ut(bh,t))return\"\";var e=Oh(t),r=Sh?Ph(e,7,-1):Rh(e,xh,\"$1\");return\"\"===r?void 0:r}}),Ce({global:!0,constructor:!0,forced:!0},{Symbol:wh})}bl(\"hasInstance\"),bl(\"isConcatSpreadable\"),bl(\"iterator\"),bl(\"match\"),bl(\"matchAll\"),bl(\"replace\"),bl(\"search\"),bl(\"species\"),bl(\"split\"),bl(\"toPrimitive\"),wl(),bl(\"toStringTag\"),an(L(\"Symbol\"),\"Symbol\"),bl(\"unscopables\"),an(i.JSON,\"JSON\",!0),an(Math,\"Math\",!0);var Ah=Ct.f,jh=dt(\"metadata\"),kh=Function.prototype;void 0===kh[jh]&&Ah(kh,jh,{value:null});var Ih=Ct.f,Th=Rt.f,Mh=i.Symbol;if(bl(\"asyncDispose\"),Mh){var Lh=Th(Mh,\"asyncDispose\");Lh.enumerable&&Lh.configurable&&Lh.writable&&Ih(Mh,\"asyncDispose\",{value:Lh.value,enumerable:!1,configurable:!1,writable:!1})}var Uh=Ct.f,Nh=Rt.f,Ch=i.Symbol;if(bl(\"dispose\"),Ch){var _h=Nh(Ch,\"dispose\");_h.enumerable&&_h.configurable&&_h.writable&&Uh(Ch,\"dispose\",{value:_h.value,enumerable:!1,configurable:!1,writable:!1})}bl(\"metadata\");var Fh=L(\"Symbol\"),Bh=Fh.keyFor,Dh=b(Fh.prototype.valueOf),zh=Fh.isRegisteredSymbol||function(t){try{return void 0!==Bh(Dh(t))}catch(t){return!1}};Ce({target:\"Symbol\",stat:!0},{isRegisteredSymbol:zh});for(var Wh=L(\"Symbol\"),qh=Wh.isWellKnownSymbol,Hh=L(\"Object\",\"getOwnPropertyNames\"),$h=b(Wh.prototype.valueOf),Kh=nt(\"wks\"),Gh=0,Vh=Hh(Wh),Yh=Vh.length;Gh<Yh;Gh++)try{var Xh=Vh[Gh];G(Wh[Xh])&&dt(Xh)}catch(t){}var Jh=function(t){if(qh&&qh(t))return!0;try{for(var e=$h(t),r=0,n=Hh(Kh),o=n.length;r<o;r++)if(Kh[n[r]]==e)return!0}catch(t){}return!1};Ce({target:\"Symbol\",stat:!0,forced:!0},{isWellKnownSymbol:Jh}),bl(\"customMatcher\"),bl(\"observable\"),Ce({target:\"Symbol\",stat:!0,name:\"isRegisteredSymbol\"},{isRegistered:zh}),Ce({target:\"Symbol\",stat:!0,name:\"isWellKnownSymbol\",forced:!0},{isWellKnown:Jh}),bl(\"matcher\"),bl(\"metadataKey\"),bl(\"patternMatch\"),bl(\"replaceAll\"),yl.f(\"asyncIterator\");var Qh=Gr.codeAt;Ce({target:\"String\",proto:!0},{codePointAt:function(t){return Qh(this,t)}}),Ze(\"String\",\"codePointAt\");var Zh=TypeError,tp=function(t){if(es(t))throw new Zh(\"The method doesn't accept regular expressions\");return t},ep=dt(\"match\"),rp=function(t){var e=/./;try{\"/./\"[t](e)}catch(r){try{return e[ep]=!1,\"/./\"[t](e)}catch(t){}}return!1},np=Rt.f,op=or(\"\".slice),ip=Math.min,ap=rp(\"endsWith\"),up=!ap&&!!function(){var t=np(String.prototype,\"endsWith\");return t&&!t.writable}();Ce({target:\"String\",proto:!0,forced:!up&&!ap},{endsWith:function(t){var e=Wr(j(this));tp(t);var r=arguments.length>1?arguments[1]:void 0,n=e.length,o=void 0===r?n:ip(ve(r),n),i=Wr(t);return op(e,o-i.length,o)===i}}),Ze(\"String\",\"endsWith\");var sp=RangeError,cp=String.fromCharCode,fp=String.fromCodePoint,lp=b([].join);Ce({target:\"String\",stat:!0,arity:1,forced:!!fp&&1!==fp.length},{fromCodePoint:function(t){for(var e,r=[],n=arguments.length,o=0;n>o;){if(e=+arguments[o++],he(e,1114111)!==e)throw new sp(e+\" is not a valid code point\");r[o]=e<65536?cp(e):cp(55296+((e-=65536)>>10),e%1024+56320)}return lp(r,\"\")}});var hp=b(\"\".indexOf);Ce({target:\"String\",proto:!0,forced:!rp(\"includes\")},{includes:function(t){return!!~hp(Wr(j(this)),Wr(tp(t)),arguments.length>1?arguments[1]:void 0)}}),Ze(\"String\",\"includes\"),b(un.String);var pp=/Version\\/10(?:\\.\\d+){1,2}(?: [\\w./]+)?(?: Mobile\\/\\w+)? Safari\\//.test(_),vp=Xc.start;Ce({target:\"String\",proto:!0,forced:pp},{padStart:function(t){return vp(this,t,arguments.length>1?arguments[1]:void 0)}}),Ze(\"String\",\"padStart\");var dp=Xc.end;Ce({target:\"String\",proto:!0,forced:pp},{padEnd:function(t){return dp(this,t,arguments.length>1?arguments[1]:void 0)}}),Ze(\"String\",\"padEnd\");var gp=b([].push),yp=b([].join);Ce({target:\"String\",stat:!0},{raw:function(t){var e=k(it(t).raw),r=de(e);if(!r)return\"\";for(var n=arguments.length,o=[],i=0;;){if(gp(o,Wr(e[i++])),i===r)return yp(o,\"\");i<n&&gp(o,Wr(arguments[i]))}}}),Ce({target:\"String\",proto:!0},{repeat:$c}),Ze(\"String\",\"repeat\");var mp=Rt.f,bp=or(\"\".slice),wp=Math.min,Sp=rp(\"startsWith\"),Ep=!Sp&&!!function(){var t=mp(String.prototype,\"startsWith\");return t&&!t.writable}();Ce({target:\"String\",proto:!0,forced:!Ep&&!Sp},{startsWith:function(t){var e=Wr(j(this));tp(t);var r=ve(wp(arguments.length>1?arguments[1]:void 0,e.length)),n=Wr(t);return bp(e,r,r+n.length)===n}}),Ze(\"String\",\"startsWith\");var Op=zt.PROPER,xp=function(t){return a(function(){return!!Mi[t]()||\"​…᠎\"!==\"​…᠎\"[t]()||Op&&Mi[t].name!==t})},Rp=_i.start,Pp=xp(\"trimStart\")?function(){return Rp(this)}:\"\".trimStart;Ce({target:\"String\",proto:!0,name:\"trimStart\",forced:\"\".trimLeft!==Pp},{trimLeft:Pp}),Ce({target:\"String\",proto:!0,name:\"trimStart\",forced:\"\".trimStart!==Pp},{trimStart:Pp}),Ze(\"String\",\"trimLeft\");var Ap=_i.end,jp=xp(\"trimEnd\")?function(){return Ap(this)}:\"\".trimEnd;Ce({target:\"String\",proto:!0,name:\"trimEnd\",forced:\"\".trimRight!==jp},{trimRight:jp}),Ce({target:\"String\",proto:!0,name:\"trimEnd\",forced:\"\".trimEnd!==jp},{trimEnd:jp}),Ze(\"String\",\"trimRight\");var kp=Object.getOwnPropertyDescriptor,Ip=function(t){if(!u)return i[t];var e=kp(i,t);return e&&e.value},Tp=dt(\"iterator\"),Mp=!a(function(){var t=new URL(\"b?a=1&b=2&c=3\",\"https://a\"),e=t.searchParams,r=new URLSearchParams(\"a=1&a=2&b=3\"),n=\"\";return t.pathname=\"c%20d\",e.forEach(function(t,r){e.delete(\"b\"),n+=r+t}),r.delete(\"a\",2),r.delete(\"b\",void 0),!e.size&&!u||!e.sort||\"https://a/c%20d?a=1&c=3\"!==t.href||\"3\"!==e.get(\"c\")||\"a=1\"!==String(new URLSearchParams(\"?a=1\"))||!e[Tp]||\"a\"!==new URL(\"https://a@b\").username||\"b\"!==new URLSearchParams(new URLSearchParams(\"a=b\")).get(\"a\")||\"xn--e1aybc\"!==new URL(\"https://тест\").host||\"#%D0%B1\"!==new URL(\"https://a#б\").hash||\"a1c3\"!==n||\"x\"!==new URL(\"https://x\",void 0).host}),Lp=TypeError,Up=function(t,e){if(t<e)throw new Lp(\"Not enough arguments\");return t},Np=Math.floor,Cp=function(t,e){var r=t.length;if(r<8)for(var n,o,i=1;i<r;){for(o=i,n=t[i];o&&e(t[o-1],n)>0;)t[o]=t[--o];o!==i++&&(t[o]=n)}else for(var a=Np(r/2),u=Cp(vo(t,0,a),e),s=Cp(vo(t,a),e),c=u.length,f=s.length,l=0,h=0;l<c||h<f;)t[l+h]=l<c&&h<f?e(u[l],s[h])<=0?u[l++]:s[h++]:l<c?u[l++]:s[h++];return t},_p=Cp,Fp=dt(\"iterator\"),Bp=\"URLSearchParams\",Dp=Bp+\"Iterator\",zp=ne.set,Wp=ne.getterFor(Bp),qp=ne.getterFor(Dp),Hp=Ip(\"fetch\"),$p=Ip(\"Request\"),Kp=Ip(\"Headers\"),Gp=$p&&$p.prototype,Vp=Kp&&Kp.prototype,Yp=i.TypeError,Xp=i.encodeURIComponent,Jp=String.fromCharCode,Qp=L(\"String\",\"fromCodePoint\"),Zp=parseInt,tv=b(\"\".charAt),ev=b([].join),rv=b([].push),nv=b(\"\".replace),ov=b([].shift),iv=b([].splice),av=b(\"\".split),uv=b(\"\".slice),sv=b(/./.exec),cv=/\\+/g,fv=/^[0-9a-f]+$/i,lv=function(t,e){var r=uv(t,e,e+2);return sv(fv,r)?Zp(r,16):NaN},hv=function(t){for(var e=0,r=128;r>0&&0!=(t&r);r>>=1)e++;return e},pv=function(t){var e=null;switch(t.length){case 1:e=t[0];break;case 2:e=(31&t[0])<<6|63&t[1];break;case 3:e=(15&t[0])<<12|(63&t[1])<<6|63&t[2];break;case 4:e=(7&t[0])<<18|(63&t[1])<<12|(63&t[2])<<6|63&t[3]}return e>1114111?null:e},vv=function(t){for(var e=(t=nv(t,cv,\" \")).length,r=\"\",n=0;n<e;){var o=tv(t,n);if(\"%\"===o){if(\"%\"===tv(t,n+1)||n+3>e){r+=\"%\",n++;continue}var i=lv(t,n+1);if(i!=i){r+=o,n++;continue}n+=2;var a=hv(i);if(0===a)o=Jp(i);else{if(1===a||a>4){r+=\"�\",n++;continue}for(var u=[i],s=1;s<a&&!(3+ ++n>e||\"%\"!==tv(t,n));){var c=lv(t,n+1);if(c!=c){n+=3;break}if(c>191||c<128)break;rv(u,c),n+=2,s++}if(u.length!==a){r+=\"�\";continue}var f=pv(u);null===f?r+=\"�\":o=Qp(f)}}r+=o,n++}return r},dv=/[!'()~]|%20/g,gv={\"!\":\"%21\",\"'\":\"%27\",\"(\":\"%28\",\")\":\"%29\",\"~\":\"%7E\",\"%20\":\"+\"},yv=function(t){return gv[t]},mv=function(t){return nv(Xp(t),dv,yv)},bv=fn(function(t,e){zp(this,{type:Dp,target:Wp(t).entries,index:0,kind:e})},Bp,function(){var t=qp(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,Pn(void 0,!0);var n=e[r];switch(t.kind){case\"keys\":return Pn(n.key,!1);case\"values\":return Pn(n.value,!1)}return Pn([n.key,n.value],!1)},!0),wv=function(t){this.entries=[],this.url=null,void 0!==t&&(M(t)?this.parseObject(t):this.parseQuery(\"string\"==typeof t?\"?\"===tv(t,0)?uv(t,1):t:Wr(t)))};wv.prototype={type:Bp,bindURL:function(t){this.url=t,this.update()},parseObject:function(t){var e,r,n,o,i,a,u,s=this.entries,c=Fn(t);if(c)for(r=(e=Dn(t,c)).next;!(n=f(r,e)).done;){if(o=Dn(kt(n.value)),(a=f(i=o.next,o)).done||(u=f(i,o)).done||!f(i,o).done)throw new Yp(\"Expected sequence with length 2\");rv(s,{key:Wr(a.value),value:Wr(u.value)})}else for(var l in t)ut(t,l)&&rv(s,{key:l,value:Wr(t[l])})},parseQuery:function(t){if(t)for(var e,r,n=this.entries,o=av(t,\"&\"),i=0;i<o.length;)(e=o[i++]).length&&(r=av(e,\"=\"),rv(n,{key:vv(ov(r)),value:vv(ev(r,\"=\"))}))},serialize:function(){for(var t,e=this.entries,r=[],n=0;n<e.length;)t=e[n++],rv(r,mv(t.key)+\"=\"+mv(t.value));return ev(r,\"&\")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var Sv=function(){ko(this,Ev);var t=zp(this,new wv(arguments.length>0?arguments[0]:void 0));u||(this.size=t.entries.length)},Ev=Sv.prototype;if(Mo(Ev,{append:function(t,e){var r=Wp(this);Up(arguments.length,2),rv(r.entries,{key:Wr(t),value:Wr(e)}),u||this.length++,r.updateURL()},delete:function(t){for(var e=Wp(this),r=Up(arguments.length,1),n=e.entries,o=Wr(t),i=r<2?void 0:arguments[1],a=void 0===i?i:Wr(i),s=0;s<n.length;){var c=n[s];if(c.key!==o||void 0!==a&&c.value!==a)s++;else if(iv(n,s,1),void 0!==a)break}u||(this.size=n.length),e.updateURL()},get:function(t){var e=Wp(this).entries;Up(arguments.length,1);for(var r=Wr(t),n=0;n<e.length;n++)if(e[n].key===r)return e[n].value;return null},getAll:function(t){var e=Wp(this).entries;Up(arguments.length,1);for(var r=Wr(t),n=[],o=0;o<e.length;o++)e[o].key===r&&rv(n,e[o].value);return n},has:function(t){for(var e=Wp(this).entries,r=Up(arguments.length,1),n=Wr(t),o=r<2?void 0:arguments[1],i=void 0===o?o:Wr(o),a=0;a<e.length;){var u=e[a++];if(u.key===n&&(void 0===i||u.value===i))return!0}return!1},set:function(t,e){var r=Wp(this);Up(arguments.length,1);for(var n,o=r.entries,i=!1,a=Wr(t),s=Wr(e),c=0;c<o.length;c++)(n=o[c]).key===a&&(i?iv(o,c--,1):(i=!0,n.value=s));i||rv(o,{key:a,value:s}),u||(this.size=o.length),r.updateURL()},sort:function(){var t=Wp(this);_p(t.entries,function(t,e){return t.key>e.key?1:-1}),t.updateURL()},forEach:function(t){for(var e,r=Wp(this).entries,n=ar(t,arguments.length>1?arguments[1]:void 0),o=0;o<r.length;)n((e=r[o++]).value,e.key,this)},keys:function(){return new bv(this,\"keys\")},values:function(){return new bv(this,\"values\")},entries:function(){return new bv(this,\"entries\")}},{enumerable:!0}),ie(Ev,Fp,Ev.entries,{name:\"entries\"}),ie(Ev,\"toString\",function(){return Wp(this).serialize()},{enumerable:!0}),u&&so(Ev,\"size\",{get:function(){return Wp(this).entries.length},configurable:!0,enumerable:!0}),an(Sv,Bp),Ce({global:!0,constructor:!0,forced:!Mp},{URLSearchParams:Sv}),!Mp&&T(Kp)){var Ov=b(Vp.has),xv=b(Vp.set),Rv=function(t){if(M(t)){var e,r=t.body;if(pr(r)===Bp)return e=t.headers?new Kp(t.headers):new Kp,Ov(e,\"content-type\")||xv(e,\"content-type\",\"application/x-www-form-urlencoded;charset=UTF-8\"),Ve(t,{body:d(0,Wr(r)),headers:d(0,e)})}return t};if(T(Hp)&&Ce({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(t){return Hp(t,arguments.length>1?Rv(arguments[1]):{})}}),T($p)){var Pv=function(t){return ko(this,Gp),new $p(t,arguments.length>1?Rv(arguments[1]):{})};Gp.constructor=Pv,Pv.prototype=Gp,Ce({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Pv})}}var Av={URLSearchParams:Sv,getState:Wp},jv=URLSearchParams,kv=jv.prototype,Iv=b(kv.append),Tv=b(kv.delete),Mv=b(kv.forEach),Lv=b([].push),Uv=new jv(\"a=1&a=2&b=3\");Uv.delete(\"a\",1),Uv.delete(\"b\",void 0),Uv+\"\"!=\"a=2\"&&ie(kv,\"delete\",function(t){var e=arguments.length,r=e<2?void 0:arguments[1];if(e&&void 0===r)return Tv(this,t);var n=[];Mv(this,function(t,e){Lv(n,{key:e,value:t})}),Up(e,1);for(var o,i=Wr(t),a=Wr(r),u=0,s=0,c=!1,f=n.length;u<f;)o=n[u++],c||o.key===i?(c=!0,Tv(this,o.key)):s++;for(;s<f;)(o=n[s++]).key===i&&o.value===a||Iv(this,o.key,o.value)},{enumerable:!0,unsafe:!0});var Nv=URLSearchParams,Cv=Nv.prototype,_v=b(Cv.getAll),Fv=b(Cv.has),Bv=new Nv(\"a=1\");!Bv.has(\"a\",2)&&Bv.has(\"a\",void 0)||ie(Cv,\"has\",function(t){var e=arguments.length,r=e<2?void 0:arguments[1];if(e&&void 0===r)return Fv(this,t);var n=_v(this,t);Up(e,1);for(var o=Wr(r),i=0;i<n.length;)if(n[i++]===o)return!0;return!1},{enumerable:!0,unsafe:!0});var Dv=URLSearchParams.prototype,zv=b(Dv.forEach);u&&!(\"size\"in Dv)&&so(Dv,\"size\",{get:function(){var t=0;return zv(this,function(){t++}),t},configurable:!0,enumerable:!0});var Wv,qv=Object.assign,Hv=Object.defineProperty,$v=b([].concat),Kv=!qv||a(function(){if(u&&1!==qv({b:1},qv(Hv({},\"a\",{enumerable:!0,get:function(){Hv(this,\"b\",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol(\"assign detection\"),n=\"abcdefghijklmnopqrst\";return t[r]=7,n.split(\"\").forEach(function(t){e[t]=t}),7!==qv({},t)[r]||_e(qv({},e)).join(\"\")!==n})?function(t,e){for(var r=it(t),n=arguments.length,o=1,i=xe.f,a=v.f;n>o;)for(var s,c=R(arguments[o++]),l=i?$v(_e(c),i(c)):_e(c),h=l.length,p=0;h>p;)s=l[p++],u&&!f(a,c,s)||(r[s]=c[s]);return r}:qv,Gv=2147483647,Vv=/[^\\0-\\u007E]/,Yv=/[.\\u3002\\uFF0E\\uFF61]/g,Xv=\"Overflow: input needs wider integers to process\",Jv=RangeError,Qv=b(Yv.exec),Zv=Math.floor,td=String.fromCharCode,ed=b(\"\".charCodeAt),rd=b([].join),nd=b([].push),od=b(\"\".replace),id=b(\"\".split),ad=b(\"\".toLowerCase),ud=function(t){return t+22+75*(t<26)},sd=function(t,e,r){var n=0;for(t=r?Zv(t/700):t>>1,t+=Zv(t/e);t>455;)t=Zv(t/35),n+=36;return Zv(n+36*t/(t+38))},cd=function(t){var e=[];t=function(t){for(var e=[],r=0,n=t.length;r<n;){var o=ed(t,r++);if(o>=55296&&o<=56319&&r<n){var i=ed(t,r++);56320==(64512&i)?nd(e,((1023&o)<<10)+(1023&i)+65536):(nd(e,o),r--)}else nd(e,o)}return e}(t);var r,n,o=t.length,i=128,a=0,u=72;for(r=0;r<t.length;r++)(n=t[r])<128&&nd(e,td(n));var s=e.length,c=s;for(s&&nd(e,\"-\");c<o;){var f=Gv;for(r=0;r<t.length;r++)(n=t[r])>=i&&n<f&&(f=n);var l=c+1;if(f-i>Zv((Gv-a)/l))throw new Jv(Xv);for(a+=(f-i)*l,i=f,r=0;r<t.length;r++){if((n=t[r])<i&&++a>Gv)throw new Jv(Xv);if(n===i){for(var h=a,p=36;;){var v=p<=u?1:p>=u+26?26:p-u;if(h<v)break;var d=h-v,g=36-v;nd(e,td(ud(v+d%g))),h=Zv(d/g),p+=36}nd(e,td(ud(h))),u=sd(a,l,c===s),a=0,c++}}a++,i++}return rd(e,\"\")},fd=Gr.codeAt,ld=ne.set,hd=ne.getterFor(\"URL\"),pd=Av.URLSearchParams,vd=Av.getState,dd=i.URL,gd=i.TypeError,yd=i.parseInt,md=Math.floor,bd=Math.pow,wd=b(\"\".charAt),Sd=b(/./.exec),Ed=b([].join),Od=b(1..toString),xd=b([].pop),Rd=b([].push),Pd=b(\"\".replace),Ad=b([].shift),jd=b(\"\".split),kd=b(\"\".slice),Id=b(\"\".toLowerCase),Td=b([].unshift),Md=\"Invalid scheme\",Ld=\"Invalid host\",Ud=\"Invalid port\",Nd=/[a-z]/i,Cd=/[\\d+-.a-z]/i,_d=/\\d/,Fd=/^0x/i,Bd=/^[0-7]+$/,Dd=/^\\d+$/,zd=/^[\\da-f]+$/i,Wd=/[\\0\\t\\n\\r #%/:<>?@[\\\\\\]^|]/,qd=/[\\0\\t\\n\\r #/:<>?@[\\\\\\]^|]/,Hd=/^[\\u0000-\\u0020]+/,$d=/(^|[^\\u0000-\\u0020])[\\u0000-\\u0020]+$/,Kd=/[\\t\\n\\r]/g,Gd=function(t){var e,r,n,o;if(\"number\"==typeof t){for(e=[],r=0;r<4;r++)Td(e,t%256),t=md(t/256);return Ed(e,\".\")}if(\"object\"==typeof t){for(e=\"\",n=function(t){for(var e=null,r=1,n=null,o=0,i=0;i<8;i++)0!==t[i]?(o>r&&(e=n,r=o),n=null,o=0):(null===n&&(n=i),++o);return o>r?n:e}(t),r=0;r<8;r++)o&&0===t[r]||(o&&(o=!1),n===r?(e+=r?\":\":\"::\",o=!0):(e+=Od(t[r],16),r<7&&(e+=\":\")));return\"[\"+e+\"]\"}return t},Vd={},Yd=Kv({},Vd,{\" \":1,'\"':1,\"<\":1,\">\":1,\"`\":1}),Xd=Kv({},Yd,{\"#\":1,\"?\":1,\"{\":1,\"}\":1}),Jd=Kv({},Xd,{\"/\":1,\":\":1,\";\":1,\"=\":1,\"@\":1,\"[\":1,\"\\\\\":1,\"]\":1,\"^\":1,\"|\":1}),Qd=function(t,e){var r=fd(t,0);return r>32&&r<127&&!ut(e,t)?t:encodeURIComponent(t)},Zd={ftp:21,file:null,http:80,https:443,ws:80,wss:443},tg=function(t,e){var r;return 2===t.length&&Sd(Nd,wd(t,0))&&(\":\"===(r=wd(t,1))||!e&&\"|\"===r)},eg=function(t){var e;return t.length>1&&tg(kd(t,0,2))&&(2===t.length||\"/\"===(e=wd(t,2))||\"\\\\\"===e||\"?\"===e||\"#\"===e)},rg=function(t){return\".\"===t||\"%2e\"===Id(t)},ng={},og={},ig={},ag={},ug={},sg={},cg={},fg={},lg={},hg={},pg={},vg={},dg={},gg={},yg={},mg={},bg={},wg={},Sg={},Eg={},Og={},xg=function(t,e,r){var n,o,i,a=Wr(t);if(e){if(o=this.parse(a))throw new gd(o);this.searchParams=null}else{if(void 0!==r&&(n=new xg(r,!0)),o=this.parse(a,null,n))throw new gd(o);(i=vd(new pd)).bindURL(this),this.searchParams=i}};xg.prototype={type:\"URL\",parse:function(t,e,r){var n,o,i,a,u,s=this,c=e||ng,f=0,l=\"\",h=!1,p=!1,v=!1;for(t=Wr(t),e||(s.scheme=\"\",s.username=\"\",s.password=\"\",s.host=null,s.port=null,s.path=[],s.query=null,s.fragment=null,s.cannotBeABaseURL=!1,t=Pd(t,Hd,\"\"),t=Pd(t,$d,\"$1\")),t=Pd(t,Kd,\"\"),n=Wn(t);f<=n.length;){switch(o=n[f],c){case ng:if(!o||!Sd(Nd,o)){if(e)return Md;c=ig;continue}l+=Id(o),c=og;break;case og:if(o&&(Sd(Cd,o)||\"+\"===o||\"-\"===o||\".\"===o))l+=Id(o);else{if(\":\"!==o){if(e)return Md;l=\"\",c=ig,f=0;continue}if(e&&(s.isSpecial()!==ut(Zd,l)||\"file\"===l&&(s.includesCredentials()||null!==s.port)||\"file\"===s.scheme&&!s.host))return;if(s.scheme=l,e)return void(s.isSpecial()&&Zd[s.scheme]===s.port&&(s.port=null));l=\"\",\"file\"===s.scheme?c=gg:s.isSpecial()&&r&&r.scheme===s.scheme?c=ag:s.isSpecial()?c=fg:\"/\"===n[f+1]?(c=ug,f++):(s.cannotBeABaseURL=!0,Rd(s.path,\"\"),c=Sg)}break;case ig:if(!r||r.cannotBeABaseURL&&\"#\"!==o)return Md;if(r.cannotBeABaseURL&&\"#\"===o){s.scheme=r.scheme,s.path=vo(r.path),s.query=r.query,s.fragment=\"\",s.cannotBeABaseURL=!0,c=Og;break}c=\"file\"===r.scheme?gg:sg;continue;case ag:if(\"/\"!==o||\"/\"!==n[f+1]){c=sg;continue}c=lg,f++;break;case ug:if(\"/\"===o){c=hg;break}c=wg;continue;case sg:if(s.scheme=r.scheme,o===Wv)s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=vo(r.path),s.query=r.query;else if(\"/\"===o||\"\\\\\"===o&&s.isSpecial())c=cg;else if(\"?\"===o)s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=vo(r.path),s.query=\"\",c=Eg;else{if(\"#\"!==o){s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=vo(r.path),s.path.length--,c=wg;continue}s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=vo(r.path),s.query=r.query,s.fragment=\"\",c=Og}break;case cg:if(!s.isSpecial()||\"/\"!==o&&\"\\\\\"!==o){if(\"/\"!==o){s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,c=wg;continue}c=hg}else c=lg;break;case fg:if(c=lg,\"/\"!==o||\"/\"!==wd(l,f+1))continue;f++;break;case lg:if(\"/\"!==o&&\"\\\\\"!==o){c=hg;continue}break;case hg:if(\"@\"===o){h&&(l=\"%40\"+l),h=!0,i=Wn(l);for(var d=0;d<i.length;d++){var g=i[d];if(\":\"!==g||v){var y=Qd(g,Jd);v?s.password+=y:s.username+=y}else v=!0}l=\"\"}else if(o===Wv||\"/\"===o||\"?\"===o||\"#\"===o||\"\\\\\"===o&&s.isSpecial()){if(h&&\"\"===l)return\"Invalid authority\";f-=Wn(l).length+1,l=\"\",c=pg}else l+=o;break;case pg:case vg:if(e&&\"file\"===s.scheme){c=mg;continue}if(\":\"!==o||p){if(o===Wv||\"/\"===o||\"?\"===o||\"#\"===o||\"\\\\\"===o&&s.isSpecial()){if(s.isSpecial()&&\"\"===l)return Ld;if(e&&\"\"===l&&(s.includesCredentials()||null!==s.port))return;if(a=s.parseHost(l))return a;if(l=\"\",c=bg,e)return;continue}\"[\"===o?p=!0:\"]\"===o&&(p=!1),l+=o}else{if(\"\"===l)return Ld;if(a=s.parseHost(l))return a;if(l=\"\",c=dg,e===vg)return}break;case dg:if(!Sd(_d,o)){if(o===Wv||\"/\"===o||\"?\"===o||\"#\"===o||\"\\\\\"===o&&s.isSpecial()||e){if(\"\"!==l){var m=yd(l,10);if(m>65535)return Ud;s.port=s.isSpecial()&&m===Zd[s.scheme]?null:m,l=\"\"}if(e)return;c=bg;continue}return Ud}l+=o;break;case gg:if(s.scheme=\"file\",\"/\"===o||\"\\\\\"===o)c=yg;else{if(!r||\"file\"!==r.scheme){c=wg;continue}switch(o){case Wv:s.host=r.host,s.path=vo(r.path),s.query=r.query;break;case\"?\":s.host=r.host,s.path=vo(r.path),s.query=\"\",c=Eg;break;case\"#\":s.host=r.host,s.path=vo(r.path),s.query=r.query,s.fragment=\"\",c=Og;break;default:eg(Ed(vo(n,f),\"\"))||(s.host=r.host,s.path=vo(r.path),s.shortenPath()),c=wg;continue}}break;case yg:if(\"/\"===o||\"\\\\\"===o){c=mg;break}r&&\"file\"===r.scheme&&!eg(Ed(vo(n,f),\"\"))&&(tg(r.path[0],!0)?Rd(s.path,r.path[0]):s.host=r.host),c=wg;continue;case mg:if(o===Wv||\"/\"===o||\"\\\\\"===o||\"?\"===o||\"#\"===o){if(!e&&tg(l))c=wg;else if(\"\"===l){if(s.host=\"\",e)return;c=bg}else{if(a=s.parseHost(l))return a;if(\"localhost\"===s.host&&(s.host=\"\"),e)return;l=\"\",c=bg}continue}l+=o;break;case bg:if(s.isSpecial()){if(c=wg,\"/\"!==o&&\"\\\\\"!==o)continue}else if(e||\"?\"!==o)if(e||\"#\"!==o){if(o!==Wv&&(c=wg,\"/\"!==o))continue}else s.fragment=\"\",c=Og;else s.query=\"\",c=Eg;break;case wg:if(o===Wv||\"/\"===o||\"\\\\\"===o&&s.isSpecial()||!e&&(\"?\"===o||\"#\"===o)){if(\"..\"===(u=Id(u=l))||\"%2e.\"===u||\".%2e\"===u||\"%2e%2e\"===u?(s.shortenPath(),\"/\"===o||\"\\\\\"===o&&s.isSpecial()||Rd(s.path,\"\")):rg(l)?\"/\"===o||\"\\\\\"===o&&s.isSpecial()||Rd(s.path,\"\"):(\"file\"===s.scheme&&!s.path.length&&tg(l)&&(s.host&&(s.host=\"\"),l=wd(l,0)+\":\"),Rd(s.path,l)),l=\"\",\"file\"===s.scheme&&(o===Wv||\"?\"===o||\"#\"===o))for(;s.path.length>1&&\"\"===s.path[0];)Ad(s.path);\"?\"===o?(s.query=\"\",c=Eg):\"#\"===o&&(s.fragment=\"\",c=Og)}else l+=Qd(o,Xd);break;case Sg:\"?\"===o?(s.query=\"\",c=Eg):\"#\"===o?(s.fragment=\"\",c=Og):o!==Wv&&(s.path[0]+=Qd(o,Vd));break;case Eg:e||\"#\"!==o?o!==Wv&&(\"'\"===o&&s.isSpecial()?s.query+=\"%27\":s.query+=\"#\"===o?\"%23\":Qd(o,Vd)):(s.fragment=\"\",c=Og);break;case Og:o!==Wv&&(s.fragment+=Qd(o,Yd))}f++}},parseHost:function(t){var e,r,n;if(\"[\"===wd(t,0)){if(\"]\"!==wd(t,t.length-1))return Ld;if(e=function(t){var e,r,n,o,i,a,u,s=[0,0,0,0,0,0,0,0],c=0,f=null,l=0,h=function(){return wd(t,l)};if(\":\"===h()){if(\":\"!==wd(t,1))return;l+=2,f=++c}for(;h();){if(8===c)return;if(\":\"!==h()){for(e=r=0;r<4&&Sd(zd,h());)e=16*e+yd(h(),16),l++,r++;if(\".\"===h()){if(0===r)return;if(l-=r,c>6)return;for(n=0;h();){if(o=null,n>0){if(!(\".\"===h()&&n<4))return;l++}if(!Sd(_d,h()))return;for(;Sd(_d,h());){if(i=yd(h(),10),null===o)o=i;else{if(0===o)return;o=10*o+i}if(o>255)return;l++}s[c]=256*s[c]+o,2!=++n&&4!==n||c++}if(4!==n)return;break}if(\":\"===h()){if(l++,!h())return}else if(h())return;s[c++]=e}else{if(null!==f)return;l++,f=++c}}if(null!==f)for(a=c-f,c=7;0!==c&&a>0;)u=s[c],s[c--]=s[f+a-1],s[f+--a]=u;else if(8!==c)return;return s}(kd(t,1,-1)),!e)return Ld;this.host=e}else if(this.isSpecial()){if(t=function(t){var e,r,n=[],o=id(od(ad(t),Yv,\".\"),\".\");for(e=0;e<o.length;e++)nd(n,Qv(Vv,r=o[e])?\"xn--\"+cd(r):r);return rd(n,\".\")}(t),Sd(Wd,t))return Ld;if(e=function(t){var e,r,n,o,i,a,u,s=jd(t,\".\");if(s.length&&\"\"===s[s.length-1]&&s.length--,(e=s.length)>4)return t;for(r=[],n=0;n<e;n++){if(\"\"===(o=s[n]))return t;if(i=10,o.length>1&&\"0\"===wd(o,0)&&(i=Sd(Fd,o)?16:8,o=kd(o,8===i?1:2)),\"\"===o)a=0;else{if(!Sd(10===i?Dd:8===i?Bd:zd,o))return t;a=yd(o,i)}Rd(r,a)}for(n=0;n<e;n++)if(a=r[n],n===e-1){if(a>=bd(256,5-e))return null}else if(a>255)return null;for(u=xd(r),n=0;n<r.length;n++)u+=r[n]*bd(256,3-n);return u}(t),null===e)return Ld;this.host=e}else{if(Sd(qd,t))return Ld;for(e=\"\",r=Wn(t),n=0;n<r.length;n++)e+=Qd(r[n],Vd);this.host=e}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||\"file\"===this.scheme},includesCredentials:function(){return\"\"!==this.username||\"\"!==this.password},isSpecial:function(){return ut(Zd,this.scheme)},shortenPath:function(){var t=this.path,e=t.length;!e||\"file\"===this.scheme&&1===e&&tg(t[0],!0)||t.length--},serialize:function(){var t=this,e=t.scheme,r=t.username,n=t.password,o=t.host,i=t.port,a=t.path,u=t.query,s=t.fragment,c=e+\":\";return null!==o?(c+=\"//\",t.includesCredentials()&&(c+=r+(n?\":\"+n:\"\")+\"@\"),c+=Gd(o),null!==i&&(c+=\":\"+i)):\"file\"===e&&(c+=\"//\"),c+=t.cannotBeABaseURL?a[0]:a.length?\"/\"+Ed(a,\"/\"):\"\",null!==u&&(c+=\"?\"+u),null!==s&&(c+=\"#\"+s),c},setHref:function(t){var e=this.parse(t);if(e)throw new gd(e);this.searchParams.update()},getOrigin:function(){var t=this.scheme,e=this.port;if(\"blob\"===t)try{return new Rg(t.path[0]).origin}catch(t){return\"null\"}return\"file\"!==t&&this.isSpecial()?t+\"://\"+Gd(this.host)+(null!==e?\":\"+e:\"\"):\"null\"},getProtocol:function(){return this.scheme+\":\"},setProtocol:function(t){this.parse(Wr(t)+\":\",ng)},getUsername:function(){return this.username},setUsername:function(t){var e=Wn(Wr(t));if(!this.cannotHaveUsernamePasswordPort()){this.username=\"\";for(var r=0;r<e.length;r++)this.username+=Qd(e[r],Jd)}},getPassword:function(){return this.password},setPassword:function(t){var e=Wn(Wr(t));if(!this.cannotHaveUsernamePasswordPort()){this.password=\"\";for(var r=0;r<e.length;r++)this.password+=Qd(e[r],Jd)}},getHost:function(){var t=this.host,e=this.port;return null===t?\"\":null===e?Gd(t):Gd(t)+\":\"+e},setHost:function(t){this.cannotBeABaseURL||this.parse(t,pg)},getHostname:function(){var t=this.host;return null===t?\"\":Gd(t)},setHostname:function(t){this.cannotBeABaseURL||this.parse(t,vg)},getPort:function(){var t=this.port;return null===t?\"\":Wr(t)},setPort:function(t){this.cannotHaveUsernamePasswordPort()||(\"\"===(t=Wr(t))?this.port=null:this.parse(t,dg))},getPathname:function(){var t=this.path;return this.cannotBeABaseURL?t[0]:t.length?\"/\"+Ed(t,\"/\"):\"\"},setPathname:function(t){this.cannotBeABaseURL||(this.path=[],this.parse(t,bg))},getSearch:function(){var t=this.query;return t?\"?\"+t:\"\"},setSearch:function(t){\"\"===(t=Wr(t))?this.query=null:(\"?\"===wd(t,0)&&(t=kd(t,1)),this.query=\"\",this.parse(t,Eg)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var t=this.fragment;return t?\"#\"+t:\"\"},setHash:function(t){\"\"!==(t=Wr(t))?(\"#\"===wd(t,0)&&(t=kd(t,1)),this.fragment=\"\",this.parse(t,Og)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Rg=function(t){var e=ko(this,Pg),r=Up(arguments.length,1)>1?arguments[1]:void 0,n=ld(e,new xg(t,!1,r));u||(e.href=n.serialize(),e.origin=n.getOrigin(),e.protocol=n.getProtocol(),e.username=n.getUsername(),e.password=n.getPassword(),e.host=n.getHost(),e.hostname=n.getHostname(),e.port=n.getPort(),e.pathname=n.getPathname(),e.search=n.getSearch(),e.searchParams=n.getSearchParams(),e.hash=n.getHash())},Pg=Rg.prototype,Ag=function(t,e){return{get:function(){return hd(this)[t]()},set:e&&function(t){return hd(this)[e](t)},configurable:!0,enumerable:!0}};if(u&&(so(Pg,\"href\",Ag(\"serialize\",\"setHref\")),so(Pg,\"origin\",Ag(\"getOrigin\")),so(Pg,\"protocol\",Ag(\"getProtocol\",\"setProtocol\")),so(Pg,\"username\",Ag(\"getUsername\",\"setUsername\")),so(Pg,\"password\",Ag(\"getPassword\",\"setPassword\")),so(Pg,\"host\",Ag(\"getHost\",\"setHost\")),so(Pg,\"hostname\",Ag(\"getHostname\",\"setHostname\")),so(Pg,\"port\",Ag(\"getPort\",\"setPort\")),so(Pg,\"pathname\",Ag(\"getPathname\",\"setPathname\")),so(Pg,\"search\",Ag(\"getSearch\",\"setSearch\")),so(Pg,\"searchParams\",Ag(\"getSearchParams\")),so(Pg,\"hash\",Ag(\"getHash\",\"setHash\"))),ie(Pg,\"toJSON\",function(){return hd(this).serialize()},{enumerable:!0}),ie(Pg,\"toString\",function(){return hd(this).serialize()},{enumerable:!0}),dd){var jg=dd.createObjectURL,kg=dd.revokeObjectURL;jg&&ie(Rg,\"createObjectURL\",ar(jg,dd)),kg&&ie(Rg,\"revokeObjectURL\",ar(kg,dd))}an(Rg,\"URL\"),Ce({global:!0,constructor:!0,forced:!Mp,sham:!u},{URL:Rg});var Ig=L(\"URL\"),Tg=Mp&&a(function(){Ig.canParse()}),Mg=a(function(){return 1!==Ig.canParse.length});Ce({target:\"URL\",stat:!0,forced:!Tg||Mg},{canParse:function(t){var e=Up(arguments.length,1),r=Wr(t),n=e<2||void 0===arguments[1]?void 0:Wr(arguments[1]);try{return!!new Ig(r,n)}catch(t){return!1}}});var Lg=L(\"URL\");Ce({target:\"URL\",stat:!0,forced:!Mp},{parse:function(t){var e=Up(arguments.length,1),r=Wr(t),n=e<2||void 0===arguments[1]?void 0:Wr(arguments[1]);try{return new Lg(r,n)}catch(t){return null}}}),Ce({target:\"URL\",proto:!0,enumerable:!0},{toJSON:function(){return f(URL.prototype.toString,this)}});var Ug=WeakMap.prototype,Ng={WeakMap:WeakMap,set:b(Ug.set),get:b(Ug.get),has:b(Ug.has),remove:b(Ug.delete)},Cg=Ng.has,_g=function(t){return Cg(t),t},Fg=Ng.get,Bg=Ng.has,Dg=Ng.set;Ce({target:\"WeakMap\",proto:!0,real:!0,forced:!0},{emplace:function(t,e){var r,n,o=_g(this);return Bg(o,t)?(r=Fg(o,t),\"update\"in e&&(r=e.update(r,t,o),Dg(o,t,r)),r):(n=e.insert(t,o),Dg(o,t,n),n)}}),Ce({target:\"WeakMap\",stat:!0,forced:!0},{from:ei(Ng.WeakMap,Ng.set,!0)}),Ce({target:\"WeakMap\",stat:!0,forced:!0},{of:ri(Ng.WeakMap,Ng.set,!0)});var zg=Ng.remove;Ce({target:\"WeakMap\",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var t,e=_g(this),r=!0,n=0,o=arguments.length;n<o;n++)t=zg(e,arguments[n]),r=r&&t;return!!r}}),Ce({target:\"WeakMap\",proto:!0,real:!0,forced:!0},{upsert:Ii}),To(\"WeakSet\",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},eu);var Wg=WeakSet.prototype,qg={WeakSet:WeakSet,add:b(Wg.add),has:b(Wg.has),remove:b(Wg.delete)},Hg=qg.has,$g=function(t){return Hg(t),t},Kg=qg.add;Ce({target:\"WeakSet\",proto:!0,real:!0,forced:!0},{addAll:function(){for(var t=$g(this),e=0,r=arguments.length;e<r;e++)Kg(t,arguments[e]);return t}});var Gg=qg.remove;Ce({target:\"WeakSet\",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var t,e=$g(this),r=!0,n=0,o=arguments.length;n<o;n++)t=Gg(e,arguments[n]),r=r&&t;return!!r}}),Ce({target:\"WeakSet\",stat:!0,forced:!0},{from:ei(qg.WeakSet,qg.add,!1)}),Ce({target:\"WeakSet\",stat:!0,forced:!0},{of:ri(qg.WeakSet,qg.add,!1)});var Vg=Error,Yg=b(\"\".replace),Xg=String(new Vg(\"zxcasd\").stack),Jg=/\\n\\s*at [^:]*:[^\\n]*/,Qg=Jg.test(Xg),Zg=!a(function(){var t=new Error(\"a\");return!(\"stack\"in t)||(Object.defineProperty(t,\"stack\",d(1,7)),7!==t.stack)}),ty=Error.captureStackTrace,ey=dt(\"toStringTag\"),ry=Error,ny=[].push,oy=function(t,e){var r,n,o,i,a,u=U(iy,this);dn?r=dn(new ry,u?Qr(this):iy):(r=u?this:Ve(iy),_t(r,ey,\"Error\")),void 0!==e&&_t(r,\"message\",function(t,e){return void 0===t?arguments.length<2?\"\":e:Wr(t)}(e)),i=r,a=r.stack,Zg&&(ty?ty(i,oy):_t(i,\"stack\",function(t,e){if(Qg&&\"string\"==typeof t&&!Vg.prepareStackTrace)for(;e--;)t=Yg(t,Jg,\"\");return t}(a,1))),arguments.length>2&&(n=r,M(o=arguments[2])&&\"cause\"in o&&_t(n,\"cause\",o.cause));var s=[];return Ao(t,ny,{that:s}),_t(r,\"errors\",s),r};dn?dn(oy,ry):Ae(oy,ry,{name:!0});var iy=oy.prototype=Ve(ry.prototype,{constructor:d(1,oy),message:d(1,\"\"),name:d(1,\"AggregateError\")});Ce({global:!0,constructor:!0,arity:2},{AggregateError:oy});var ay,uy,sy,cy,fy=function(t){return _.slice(0,t.length)===t},ly=fy(\"Bun/\")?\"BUN\":fy(\"Cloudflare-Workers\")?\"CLOUDFLARE\":fy(\"Deno/\")?\"DENO\":fy(\"Node.js/\")?\"NODE\":i.Bun&&\"string\"==typeof Bun.version?\"BUN\":i.Deno&&\"object\"==typeof Deno.version?\"DENO\":\"process\"===E(i.process)?\"NODE\":i.window&&i.document?\"BROWSER\":\"REST\",hy=\"NODE\"===ly,py=/(?:ipad|iphone|ipod).*applewebkit/i.test(_),vy=i.setImmediate,dy=i.clearImmediate,gy=i.process,yy=i.Dispatch,my=i.Function,by=i.MessageChannel,wy=i.String,Sy=0,Ey={},Oy=\"onreadystatechange\";a(function(){ay=i.location});var xy=function(t){if(ut(Ey,t)){var e=Ey[t];delete Ey[t],e()}},Ry=function(t){return function(){xy(t)}},Py=function(t){xy(t.data)},Ay=function(t){i.postMessage(wy(t),ay.protocol+\"//\"+ay.host)};vy&&dy||(vy=function(t){Up(arguments.length,1);var e=T(t)?t:my(t),r=vo(arguments,1);return Ey[++Sy]=function(){Ra(e,void 0,r)},uy(Sy),Sy},dy=function(t){delete Ey[t]},hy?uy=function(t){gy.nextTick(Ry(t))}:yy&&yy.now?uy=function(t){yy.now(Ry(t))}:by&&!py?(cy=(sy=new by).port2,sy.port1.onmessage=Py,uy=ar(cy.postMessage,cy)):i.addEventListener&&T(i.postMessage)&&!i.importScripts&&ay&&\"file:\"!==ay.protocol&&!a(Ay)?(uy=Ay,i.addEventListener(\"message\",Py,!1)):uy=Oy in Et(\"script\")?function(t){De.appendChild(Et(\"script\"))[Oy]=function(){De.removeChild(this),xy(t)}}:function(t){setTimeout(Ry(t),0)});var jy={set:vy,clear:dy},ky=function(){this.head=null,this.tail=null};ky.prototype={add:function(t){var e={item:t,next:null},r=this.tail;r?r.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}};var Iy,Ty,My,Ly,Uy,Ny=ky,Cy=/ipad|iphone|ipod/i.test(_)&&\"undefined\"!=typeof Pebble,_y=/web0s(?!.*chrome)/i.test(_),Fy=jy.set,By=i.MutationObserver||i.WebKitMutationObserver,Dy=i.document,zy=i.process,Wy=i.Promise,qy=Ip(\"queueMicrotask\");if(!qy){var Hy=new Ny,$y=function(){var t,e;for(hy&&(t=zy.domain)&&t.exit();e=Hy.get();)try{e()}catch(t){throw Hy.head&&Iy(),t}t&&t.enter()};py||hy||_y||!By||!Dy?!Cy&&Wy&&Wy.resolve?((Ly=Wy.resolve(void 0)).constructor=Wy,Uy=ar(Ly.then,Ly),Iy=function(){Uy($y)}):hy?Iy=function(){zy.nextTick($y)}:(Fy=ar(Fy,i),Iy=function(){Fy($y)}):(Ty=!0,My=Dy.createTextNode(\"\"),new By($y).observe(My,{characterData:!0}),Iy=function(){My.data=Ty=!Ty}),qy=function(t){Hy.head||Iy(),Hy.add(t)}}var Ky,Gy,Vy,Yy=qy,Xy=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},Jy=i.Promise,Qy=dt(\"species\"),Zy=!1,tm=T(i.PromiseRejectionEvent),em=Ue(\"Promise\",function(){var t=Kt(Jy),e=t!==String(Jy);if(!e&&66===W)return!0;if(!W||W<51||!/native code/.test(t)){var r=new Jy(function(t){t(1)}),n=function(t){t(function(){},function(){})};if((r.constructor={})[Qy]=n,!(Zy=r.then(function(){})instanceof n))return!0}return!(e||\"BROWSER\"!==ly&&\"DENO\"!==ly||tm)}),rm={CONSTRUCTOR:em,REJECTION_EVENT:tm,SUBCLASSING:Zy},nm=TypeError,om=function(t){var e,r;this.promise=new t(function(t,n){if(void 0!==e||void 0!==r)throw new nm(\"Bad Promise constructor\");e=t,r=n}),this.resolve=J(e),this.reject=J(r)},im={f:function(t){return new om(t)}},am=jy.set,um=\"Promise\",sm=rm.CONSTRUCTOR,cm=rm.REJECTION_EVENT,fm=rm.SUBCLASSING,lm=ne.getterFor(um),hm=ne.set,pm=Jy&&Jy.prototype,vm=Jy,dm=pm,gm=i.TypeError,ym=i.document,mm=i.process,bm=im.f,wm=bm,Sm=!!(ym&&ym.createEvent&&i.dispatchEvent),Em=\"unhandledrejection\",Om=function(t){var e;return!(!M(t)||!T(e=t.then))&&e},xm=function(t,e){var r,n,o,i=e.value,a=1===e.state,u=a?t.ok:t.fail,s=t.resolve,c=t.reject,l=t.domain;try{u?(a||(2===e.rejection&&km(e),e.rejection=1),!0===u?r=i:(l&&l.enter(),r=u(i),l&&(l.exit(),o=!0)),r===t.promise?c(new gm(\"Promise-chain cycle\")):(n=Om(r))?f(n,r,s,c):s(r)):c(i)}catch(t){l&&!o&&l.exit(),c(t)}},Rm=function(t,e){t.notified||(t.notified=!0,Yy(function(){for(var r,n=t.reactions;r=n.get();)xm(r,t);t.notified=!1,e&&!t.rejection&&Am(t)}))},Pm=function(t,e,r){var n,o;Sm?((n=ym.createEvent(\"Event\")).promise=e,n.reason=r,n.initEvent(t,!1,!0),i.dispatchEvent(n)):n={promise:e,reason:r},!cm&&(o=i[\"on\"+t])?o(n):t===Em&&function(t,e){try{1===arguments.length?console.error(t):console.error(t,e)}catch(t){}}(\"Unhandled promise rejection\",r)},Am=function(t){f(am,i,function(){var e,r=t.facade,n=t.value;if(jm(t)&&(e=Xy(function(){hy?mm.emit(\"unhandledRejection\",n,r):Pm(Em,r,n)}),t.rejection=hy||jm(t)?2:1,e.error))throw e.value})},jm=function(t){return 1!==t.rejection&&!t.parent},km=function(t){f(am,i,function(){var e=t.facade;hy?mm.emit(\"rejectionHandled\",e):Pm(\"rejectionhandled\",e,t.value)})},Im=function(t,e,r){return function(n){t(e,n,r)}},Tm=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,Rm(t,!0))},Mm=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw new gm(\"Promise can't be resolved itself\");var n=Om(e);n?Yy(function(){var r={done:!1};try{f(n,e,Im(Mm,r,t),Im(Tm,r,t))}catch(e){Tm(r,e,t)}}):(t.value=e,t.state=1,Rm(t,!1))}catch(e){Tm({done:!1},e,t)}}};if(sm&&(vm=function(t){ko(this,dm),J(t),f(Ky,this);var e=lm(this);try{t(Im(Mm,e),Im(Tm,e))}catch(t){Tm(e,t)}},(Ky=function(t){hm(this,{type:um,done:!1,notified:!1,parent:!1,reactions:new Ny,rejection:!1,state:0,value:null})}).prototype=ie(dm=vm.prototype,\"then\",function(t,e){var r=lm(this),n=bm(Cc(this,vm));return r.parent=!0,n.ok=!T(t)||t,n.fail=T(e)&&e,n.domain=hy?mm.domain:void 0,0===r.state?r.reactions.add(n):Yy(function(){xm(n,r)}),n.promise}),Gy=function(){var t=new Ky,e=lm(t);this.promise=t,this.resolve=Im(Mm,e),this.reject=Im(Tm,e)},im.f=bm=function(t){return t===vm||void 0===t?new Gy(t):wm(t)},T(Jy)&&pm!==Object.prototype)){Vy=pm.then,fm||ie(pm,\"then\",function(t,e){var r=this;return new vm(function(t,e){f(Vy,r,t,e)}).then(t,e)},{unsafe:!0});try{delete pm.constructor}catch(t){}dn&&dn(pm,dm)}Ce({global:!0,constructor:!0,wrap:!0,forced:sm},{Promise:vm}),an(vm,um,!1),Uo(um);var Lm=rm.CONSTRUCTOR||!Gn(function(t){Jy.all(t).then(void 0,function(){})});Ce({target:\"Promise\",stat:!0,forced:Lm},{all:function(t){var e=this,r=im.f(e),n=r.resolve,o=r.reject,i=Xy(function(){var r=J(e.resolve),i=[],a=0,u=1;Ao(t,function(t){var s=a++,c=!1;u++,f(r,e,t).then(function(t){c||(c=!0,i[s]=t,--u||n(i))},o)}),--u||n(i)});return i.error&&o(i.value),r.promise}});var Um=Jy&&Jy.prototype;if(Ce({target:\"Promise\",proto:!0,forced:rm.CONSTRUCTOR,real:!0},{catch:function(t){return this.then(void 0,t)}}),T(Jy)){var Nm=L(\"Promise\").prototype.catch;Um.catch!==Nm&&ie(Um,\"catch\",Nm,{unsafe:!0})}Ce({target:\"Promise\",stat:!0,forced:Lm},{race:function(t){var e=this,r=im.f(e),n=r.reject,o=Xy(function(){var o=J(e.resolve);Ao(t,function(t){f(o,e,t).then(r.resolve,n)})});return o.error&&n(o.value),r.promise}}),Ce({target:\"Promise\",stat:!0,forced:rm.CONSTRUCTOR},{reject:function(t){var e=im.f(this);return(0,e.reject)(t),e.promise}});var Cm=function(t,e){if(kt(t),M(e)&&e.constructor===t)return e;var r=im.f(t);return(0,r.resolve)(e),r.promise};Ce({target:\"Promise\",stat:!0,forced:rm.CONSTRUCTOR},{resolve:function(t){return Cm(this,t)}}),Ce({target:\"Promise\",stat:!0,forced:Lm},{allSettled:function(t){var e=this,r=im.f(e),n=r.resolve,o=r.reject,i=Xy(function(){var r=J(e.resolve),o=[],i=0,a=1;Ao(t,function(t){var u=i++,s=!1;a++,f(r,e,t).then(function(t){s||(s=!0,o[u]={status:\"fulfilled\",value:t},--a||n(o))},function(t){s||(s=!0,o[u]={status:\"rejected\",reason:t},--a||n(o))})}),--a||n(o)});return i.error&&o(i.value),r.promise}});var _m=\"No one promise resolved\";Ce({target:\"Promise\",stat:!0,forced:Lm},{any:function(t){var e=this,r=L(\"AggregateError\"),n=im.f(e),o=n.resolve,i=n.reject,a=Xy(function(){var n=J(e.resolve),a=[],u=0,s=1,c=!1;Ao(t,function(t){var l=u++,h=!1;s++,f(n,e,t).then(function(t){h||c||(c=!0,o(t))},function(t){h||c||(h=!0,a[l]=t,--s||i(new r(a,_m)))})}),--s||i(new r(a,_m))});return a.error&&i(a.value),n.promise}}),Ce({target:\"Promise\",stat:!0},{withResolvers:function(){var t=im.f(this);return{promise:t.promise,resolve:t.resolve,reject:t.reject}}});var Fm=Jy&&Jy.prototype,Bm=!!Jy&&a(function(){Fm.finally.call({then:function(){}},function(){})});if(Ce({target:\"Promise\",proto:!0,real:!0,forced:Bm},{finally:function(t){var e=Cc(this,L(\"Promise\")),r=T(t);return this.then(r?function(r){return Cm(e,t()).then(function(){return r})}:t,r?function(r){return Cm(e,t()).then(function(){throw r})}:t)}}),T(Jy)){var Dm=L(\"Promise\").prototype.finally;Fm.finally!==Dm&&ie(Fm,\"finally\",Dm,{unsafe:!0})}var zm=i.Promise,Wm=!1,qm=!zm||!zm.try||Xy(function(){zm.try(function(t){Wm=8===t},8)}).error||!Wm;Ce({target:\"Promise\",stat:!0,forced:qm},{try:function(t){var e=arguments.length>1?vo(arguments,1):[],r=im.f(this),n=Xy(function(){return Ra(J(t),void 0,e)});return(n.error?r.reject:r.resolve)(n.value),r.promise}}),Ze(\"Promise\",\"finally\");var Hm=\"URLSearchParams\"in self,$m=\"Symbol\"in self&&\"iterator\"in Symbol,Km=\"FileReader\"in self&&\"Blob\"in self&&function(){try{return new Blob,!0}catch(t){return!1}}(),Gm=\"FormData\"in self,Vm=\"ArrayBuffer\"in self;if(Vm)var Ym=[\"[object Int8Array]\",\"[object Uint8Array]\",\"[object Uint8ClampedArray]\",\"[object Int16Array]\",\"[object Uint16Array]\",\"[object Int32Array]\",\"[object Uint32Array]\",\"[object Float32Array]\",\"[object Float64Array]\"],Xm=ArrayBuffer.isView||function(t){return t&&Ym.indexOf(Object.prototype.toString.call(t))>-1};function Jm(t){if(\"string\"!=typeof t&&(t=String(t)),/[^a-z0-9\\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError(\"Invalid character in header field name\");return t.toLowerCase()}function Qm(t){return\"string\"!=typeof t&&(t=String(t)),t}function Zm(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return $m&&(e[Symbol.iterator]=function(){return e}),e}function tb(t){this.map={},t instanceof tb?t.forEach(function(t,e){this.append(e,t)},this):Array.isArray(t)?t.forEach(function(t){this.append(t[0],t[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function eb(t){if(t.bodyUsed)return Promise.reject(new TypeError(\"Already read\"));t.bodyUsed=!0}function rb(t){return new Promise(function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}})}function nb(t){var e=new FileReader,r=rb(e);return e.readAsArrayBuffer(t),r}function ob(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function ib(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?\"string\"==typeof t?this._bodyText=t:Km&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:Gm&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:Hm&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():Vm&&Km&&(e=t)&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=ob(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):Vm&&(ArrayBuffer.prototype.isPrototypeOf(t)||Xm(t))?this._bodyArrayBuffer=ob(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText=\"\",this.headers.get(\"content-type\")||(\"string\"==typeof t?this.headers.set(\"content-type\",\"text/plain;charset=UTF-8\"):this._bodyBlob&&this._bodyBlob.type?this.headers.set(\"content-type\",this._bodyBlob.type):Hm&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set(\"content-type\",\"application/x-www-form-urlencoded;charset=UTF-8\"))},Km&&(this.blob=function(){var t=eb(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error(\"could not read FormData body as blob\");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?eb(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(nb)}),this.text=function(){var t=eb(this);if(t)return t;if(this._bodyBlob)return function(t){var e=new FileReader,r=rb(e);return e.readAsText(t),r}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),n=0;n<e.length;n++)r[n]=String.fromCharCode(e[n]);return r.join(\"\")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error(\"could not read FormData body as text\");return Promise.resolve(this._bodyText)},Gm&&(this.formData=function(){return this.text().then(sb)}),this.json=function(){return this.text().then(JSON.parse)},this}tb.prototype.append=function(t,e){t=Jm(t),e=Qm(e);var r=this.map[t];this.map[t]=r?r+\", \"+e:e},tb.prototype.delete=function(t){delete this.map[Jm(t)]},tb.prototype.get=function(t){return t=Jm(t),this.has(t)?this.map[t]:null},tb.prototype.has=function(t){return this.map.hasOwnProperty(Jm(t))},tb.prototype.set=function(t,e){this.map[Jm(t)]=Qm(e)},tb.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},tb.prototype.keys=function(){var t=[];return this.forEach(function(e,r){t.push(r)}),Zm(t)},tb.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),Zm(t)},tb.prototype.entries=function(){var t=[];return this.forEach(function(e,r){t.push([r,e])}),Zm(t)},$m&&(tb.prototype[Symbol.iterator]=tb.prototype.entries);var ab=[\"DELETE\",\"GET\",\"HEAD\",\"OPTIONS\",\"POST\",\"PUT\"];function ub(t,e){var r=(e=e||{}).body;if(t instanceof ub){if(t.bodyUsed)throw new TypeError(\"Already read\");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new tb(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,r||null==t._bodyInit||(r=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||\"same-origin\",!e.headers&&this.headers||(this.headers=new tb(e.headers)),this.method=function(t){var e=t.toUpperCase();return ab.indexOf(e)>-1?e:t}(e.method||this.method||\"GET\"),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,(\"GET\"===this.method||\"HEAD\"===this.method)&&r)throw new TypeError(\"Body not allowed for GET or HEAD requests\");this._initBody(r)}function sb(t){var e=new FormData;return t.trim().split(\"&\").forEach(function(t){if(t){var r=t.split(\"=\"),n=r.shift().replace(/\\+/g,\" \"),o=r.join(\"=\").replace(/\\+/g,\" \");e.append(decodeURIComponent(n),decodeURIComponent(o))}}),e}function cb(t,e){e||(e={}),this.type=\"default\",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText=\"statusText\"in e?e.statusText:\"OK\",this.headers=new tb(e.headers),this.url=e.url||\"\",this._initBody(t)}ub.prototype.clone=function(){return new ub(this,{body:this._bodyInit})},ib.call(ub.prototype),ib.call(cb.prototype),cb.prototype.clone=function(){return new cb(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new tb(this.headers),url:this.url})},cb.error=function(){var t=new cb(null,{status:0,statusText:\"\"});return t.type=\"error\",t};var fb=[301,302,303,307,308];cb.redirect=function(t,e){if(-1===fb.indexOf(e))throw new RangeError(\"Invalid status code\");return new cb(null,{status:e,headers:{location:t}})};var lb=self.DOMException;try{new lb}catch(t){(lb=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack}).prototype=Object.create(Error.prototype),lb.prototype.constructor=lb}function hb(t,e){return new Promise(function(r,n){var o=new ub(t,e);if(o.signal&&o.signal.aborted)return n(new lb(\"Aborted\",\"AbortError\"));var i=new XMLHttpRequest;function a(){i.abort()}i.onload=function(){var t,e,n={status:i.status,statusText:i.statusText,headers:(t=i.getAllResponseHeaders()||\"\",e=new tb,t.replace(/\\r?\\n[\\t ]+/g,\" \").split(/\\r?\\n/).forEach(function(t){var r=t.split(\":\"),n=r.shift().trim();if(n){var o=r.join(\":\").trim();e.append(n,o)}}),e)};n.url=\"responseURL\"in i?i.responseURL:n.headers.get(\"X-Request-URL\"),r(new cb(\"response\"in i?i.response:i.responseText,n))},i.onerror=function(){n(new TypeError(\"Network request failed\"))},i.ontimeout=function(){n(new TypeError(\"Network request failed\"))},i.onabort=function(){n(new lb(\"Aborted\",\"AbortError\"))},i.open(o.method,o.url,!0),\"include\"===o.credentials?i.withCredentials=!0:\"omit\"===o.credentials&&(i.withCredentials=!1),\"responseType\"in i&&Km&&(i.responseType=\"blob\"),o.headers.forEach(function(t,e){i.setRequestHeader(e,t)}),o.signal&&(o.signal.addEventListener(\"abort\",a),i.onreadystatechange=function(){4===i.readyState&&o.signal.removeEventListener(\"abort\",a)}),i.send(void 0===o._bodyInit?null:o._bodyInit)})}hb.polyfill=!0,self.fetch||(self.fetch=hb,self.Headers=tb,self.Request=ub,self.Response=cb);var pb=Object.getOwnPropertySymbols,vb=Object.prototype.hasOwnProperty,db=Object.prototype.propertyIsEnumerable,gb=function(){try{if(!Object.assign)return!1;var t=new String(\"abc\");if(t[5]=\"de\",\"5\"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},r=0;r<10;r++)e[\"_\"+String.fromCharCode(r)]=r;if(\"0123456789\"!==Object.getOwnPropertyNames(e).map(function(t){return e[t]}).join(\"\"))return!1;var n={};return\"abcdefghijklmnopqrst\".split(\"\").forEach(function(t){n[t]=t}),\"abcdefghijklmnopqrst\"===Object.keys(Object.assign({},n)).join(\"\")}catch(t){return!1}}()?Object.assign:function(t,e){for(var r,n,o=function(t){if(null==t)throw new TypeError(\"Object.assign cannot be called with null or undefined\");return Object(t)}(t),i=1;i<arguments.length;i++){for(var a in r=Object(arguments[i]))vb.call(r,a)&&(o[a]=r[a]);if(pb){n=pb(r);for(var u=0;u<n.length;u++)db.call(r,n[u])&&(o[n[u]]=r[n[u]])}}return o};Object.assign=gb}();\n"],"names":[],"mappings":"AAAA","ignoreList":[0]} \ No newline at end of file diff --git a/.next/dev/static/chunks/node_modules_next_dist_client_17643121._.js b/.next/dev/static/chunks/node_modules_next_dist_client_17643121._.js deleted file mode 100644 index 30e87b0..0000000 --- a/.next/dev/static/chunks/node_modules_next_dist_client_17643121._.js +++ /dev/null @@ -1,12723 +0,0 @@ -(globalThis.TURBOPACK || (globalThis.TURBOPACK = [])).push([typeof document === "object" ? document.currentScript : undefined, -"[project]/node_modules/next/dist/client/asset-prefix.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "getAssetPrefix", { - enumerable: true, - get: function() { - return getAssetPrefix; - } -}); -const _invarianterror = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/invariant-error.js [app-client] (ecmascript)"); -function getAssetPrefix() { - const currentScript = document.currentScript; - if (!(currentScript instanceof HTMLScriptElement)) { - throw Object.defineProperty(new _invarianterror.InvariantError(`Expected document.currentScript to be a <script> element. Received ${currentScript} instead.`), "__NEXT_ERROR_CODE", { - value: "E783", - enumerable: false, - configurable: true - }); - } - const { pathname } = new URL(currentScript.src); - const nextIndex = pathname.indexOf('/_next/'); - if (nextIndex === -1) { - throw Object.defineProperty(new _invarianterror.InvariantError(`Expected document.currentScript src to contain '/_next/'. Received ${currentScript.src} instead.`), "__NEXT_ERROR_CODE", { - value: "E784", - enumerable: false, - configurable: true - }); - } - return pathname.slice(0, nextIndex); -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=asset-prefix.js.map -}), -"[project]/node_modules/next/dist/client/set-attributes-from-props.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "setAttributesFromProps", { - enumerable: true, - get: function() { - return setAttributesFromProps; - } -}); -const DOMAttributeNames = { - acceptCharset: 'accept-charset', - className: 'class', - htmlFor: 'for', - httpEquiv: 'http-equiv', - noModule: 'noModule' -}; -const ignoreProps = [ - 'onLoad', - 'onReady', - 'dangerouslySetInnerHTML', - 'children', - 'onError', - 'strategy', - 'stylesheets' -]; -function isBooleanScriptAttribute(attr) { - return [ - 'async', - 'defer', - 'noModule' - ].includes(attr); -} -function setAttributesFromProps(el, props) { - for (const [p, value] of Object.entries(props)){ - if (!props.hasOwnProperty(p)) continue; - if (ignoreProps.includes(p)) continue; - // we don't render undefined props to the DOM - if (value === undefined) { - continue; - } - const attr = DOMAttributeNames[p] || p.toLowerCase(); - if (el.tagName === 'SCRIPT' && isBooleanScriptAttribute(attr)) { - // Correctly assign boolean script attributes - // https://github.com/vercel/next.js/pull/20748 - ; - el[attr] = !!value; - } else { - el.setAttribute(attr, String(value)); - } - // Remove falsy non-zero boolean attributes so they are correctly interpreted - // (e.g. if we set them to false, this coerces to the string "false", which the browser interprets as true) - if (value === false || el.tagName === 'SCRIPT' && isBooleanScriptAttribute(attr) && (!value || value === 'false')) { - // Call setAttribute before, as we need to set and unset the attribute to override force async: - // https://html.spec.whatwg.org/multipage/scripting.html#script-force-async - el.setAttribute(attr, ''); - el.removeAttribute(attr); - } - } -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=set-attributes-from-props.js.map -}), -"[project]/node_modules/next/dist/client/app-bootstrap.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -/** - * Before starting the Next.js runtime and requiring any module, we need to make - * sure the following scripts are executed in the correct order: - * - Polyfills - * - next/script with `beforeInteractive` strategy - */ "use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "appBootstrap", { - enumerable: true, - get: function() { - return appBootstrap; - } -}); -const _assetprefix = __turbopack_context__.r("[project]/node_modules/next/dist/client/asset-prefix.js [app-client] (ecmascript)"); -const _setattributesfromprops = __turbopack_context__.r("[project]/node_modules/next/dist/client/set-attributes-from-props.js [app-client] (ecmascript)"); -const version = "16.1.1"; -window.next = { - version, - appDir: true -}; -function loadScriptsInSequence(scripts, hydrate) { - if (!scripts || !scripts.length) { - return hydrate(); - } - return scripts.reduce((promise, [src, props])=>{ - return promise.then(()=>{ - return new Promise((resolve, reject)=>{ - const el = document.createElement('script'); - if (props) { - (0, _setattributesfromprops.setAttributesFromProps)(el, props); - } - if (src) { - el.src = src; - el.onload = ()=>resolve(); - el.onerror = reject; - } else if (props) { - el.innerHTML = props.children; - setTimeout(resolve); - } - document.head.appendChild(el); - }); - }); - }, Promise.resolve()).catch((err)=>{ - console.error(err); - // Still try to hydrate even if there's an error. - }).then(()=>{ - hydrate(); - }); -} -function appBootstrap(hydrate) { - const assetPrefix = (0, _assetprefix.getAssetPrefix)(); - loadScriptsInSequence(self.__next_s, ()=>{ - // If the static shell is being debugged, skip hydration if the - // `__nextppronly` query is present. This is only enabled when the - // environment variable `__NEXT_EXPERIMENTAL_STATIC_SHELL_DEBUGGING` is - // set to `1`. Otherwise the following is optimized out. - if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable - ; - hydrate(assetPrefix); - }); -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=app-bootstrap.js.map -}), -"[project]/node_modules/next/dist/client/react-client-callbacks/report-global-error.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "reportGlobalError", { - enumerable: true, - get: function() { - return reportGlobalError; - } -}); -const reportGlobalError = typeof reportError === 'function' ? reportError : (error)=>{ - // TODO: Dispatch error event - globalThis.console.error(error); -}; -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=report-global-error.js.map -}), -"[project]/node_modules/next/dist/client/react-client-callbacks/on-recoverable-error.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -// This module can be shared between both pages router and app router -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - isRecoverableError: null, - onRecoverableError: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - isRecoverableError: function() { - return isRecoverableError; - }, - onRecoverableError: function() { - return onRecoverableError; - } -}); -const _interop_require_default = __turbopack_context__.r("[project]/node_modules/@swc/helpers/cjs/_interop_require_default.cjs [app-client] (ecmascript)"); -const _bailouttocsr = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js [app-client] (ecmascript)"); -const _iserror = /*#__PURE__*/ _interop_require_default._(__turbopack_context__.r("[project]/node_modules/next/dist/lib/is-error.js [app-client] (ecmascript)")); -const _reportglobalerror = __turbopack_context__.r("[project]/node_modules/next/dist/client/react-client-callbacks/report-global-error.js [app-client] (ecmascript)"); -const recoverableErrors = new WeakSet(); -function isRecoverableError(error) { - return recoverableErrors.has(error); -} -const onRecoverableError = (error)=>{ - // x-ref: https://github.com/facebook/react/pull/28736 - let cause = (0, _iserror.default)(error) && 'cause' in error ? error.cause : error; - // Skip certain custom errors which are not expected to be reported on client - if ((0, _bailouttocsr.isBailoutToCSRError)(cause)) return; - if ("TURBOPACK compile-time truthy", 1) { - const { decorateDevError } = __turbopack_context__.r("[project]/node_modules/next/dist/next-devtools/userspace/app/errors/stitched-error.js [app-client] (ecmascript)"); - const causeError = decorateDevError(cause); - recoverableErrors.add(causeError); - cause = causeError; - } - (0, _reportglobalerror.reportGlobalError)(cause); -}; -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=on-recoverable-error.js.map -}), -"[project]/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - HTTPAccessErrorStatus: null, - HTTP_ERROR_FALLBACK_ERROR_CODE: null, - getAccessFallbackErrorTypeByStatus: null, - getAccessFallbackHTTPStatus: null, - isHTTPAccessFallbackError: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - HTTPAccessErrorStatus: function() { - return HTTPAccessErrorStatus; - }, - HTTP_ERROR_FALLBACK_ERROR_CODE: function() { - return HTTP_ERROR_FALLBACK_ERROR_CODE; - }, - getAccessFallbackErrorTypeByStatus: function() { - return getAccessFallbackErrorTypeByStatus; - }, - getAccessFallbackHTTPStatus: function() { - return getAccessFallbackHTTPStatus; - }, - isHTTPAccessFallbackError: function() { - return isHTTPAccessFallbackError; - } -}); -const HTTPAccessErrorStatus = { - NOT_FOUND: 404, - FORBIDDEN: 403, - UNAUTHORIZED: 401 -}; -const ALLOWED_CODES = new Set(Object.values(HTTPAccessErrorStatus)); -const HTTP_ERROR_FALLBACK_ERROR_CODE = 'NEXT_HTTP_ERROR_FALLBACK'; -function isHTTPAccessFallbackError(error) { - if (typeof error !== 'object' || error === null || !('digest' in error) || typeof error.digest !== 'string') { - return false; - } - const [prefix, httpStatus] = error.digest.split(';'); - return prefix === HTTP_ERROR_FALLBACK_ERROR_CODE && ALLOWED_CODES.has(Number(httpStatus)); -} -function getAccessFallbackHTTPStatus(error) { - const httpStatus = error.digest.split(';')[1]; - return Number(httpStatus); -} -function getAccessFallbackErrorTypeByStatus(status) { - switch(status){ - case 401: - return 'unauthorized'; - case 403: - return 'forbidden'; - case 404: - return 'not-found'; - default: - return; - } -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=http-access-fallback.js.map -}), -"[project]/node_modules/next/dist/client/components/redirect-status-code.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "RedirectStatusCode", { - enumerable: true, - get: function() { - return RedirectStatusCode; - } -}); -var RedirectStatusCode = /*#__PURE__*/ function(RedirectStatusCode) { - RedirectStatusCode[RedirectStatusCode["SeeOther"] = 303] = "SeeOther"; - RedirectStatusCode[RedirectStatusCode["TemporaryRedirect"] = 307] = "TemporaryRedirect"; - RedirectStatusCode[RedirectStatusCode["PermanentRedirect"] = 308] = "PermanentRedirect"; - return RedirectStatusCode; -}({}); -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=redirect-status-code.js.map -}), -"[project]/node_modules/next/dist/client/components/redirect-error.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - REDIRECT_ERROR_CODE: null, - RedirectType: null, - isRedirectError: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - REDIRECT_ERROR_CODE: function() { - return REDIRECT_ERROR_CODE; - }, - RedirectType: function() { - return RedirectType; - }, - isRedirectError: function() { - return isRedirectError; - } -}); -const _redirectstatuscode = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/redirect-status-code.js [app-client] (ecmascript)"); -const REDIRECT_ERROR_CODE = 'NEXT_REDIRECT'; -var RedirectType = /*#__PURE__*/ function(RedirectType) { - RedirectType["push"] = "push"; - RedirectType["replace"] = "replace"; - return RedirectType; -}({}); -function isRedirectError(error) { - if (typeof error !== 'object' || error === null || !('digest' in error) || typeof error.digest !== 'string') { - return false; - } - const digest = error.digest.split(';'); - const [errorCode, type] = digest; - const destination = digest.slice(2, -2).join(';'); - const status = digest.at(-2); - const statusCode = Number(status); - return errorCode === REDIRECT_ERROR_CODE && (type === 'replace' || type === 'push') && typeof destination === 'string' && !isNaN(statusCode) && statusCode in _redirectstatuscode.RedirectStatusCode; -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=redirect-error.js.map -}), -"[project]/node_modules/next/dist/client/components/is-next-router-error.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "isNextRouterError", { - enumerable: true, - get: function() { - return isNextRouterError; - } -}); -const _httpaccessfallback = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js [app-client] (ecmascript)"); -const _redirecterror = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/redirect-error.js [app-client] (ecmascript)"); -function isNextRouterError(error) { - return (0, _redirecterror.isRedirectError)(error) || (0, _httpaccessfallback.isHTTPAccessFallbackError)(error); -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=is-next-router-error.js.map -}), -"[project]/node_modules/next/dist/client/lib/console.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - formatConsoleArgs: null, - parseConsoleArgs: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - formatConsoleArgs: function() { - return formatConsoleArgs; - }, - parseConsoleArgs: function() { - return parseConsoleArgs; - } -}); -const _interop_require_default = __turbopack_context__.r("[project]/node_modules/@swc/helpers/cjs/_interop_require_default.cjs [app-client] (ecmascript)"); -const _iserror = /*#__PURE__*/ _interop_require_default._(__turbopack_context__.r("[project]/node_modules/next/dist/lib/is-error.js [app-client] (ecmascript)")); -function formatObject(arg, depth) { - switch(typeof arg){ - case 'object': - if (arg === null) { - return 'null'; - } else if (Array.isArray(arg)) { - let result = '['; - if (depth < 1) { - for(let i = 0; i < arg.length; i++){ - if (result !== '[') { - result += ','; - } - if (Object.prototype.hasOwnProperty.call(arg, i)) { - result += formatObject(arg[i], depth + 1); - } - } - } else { - result += arg.length > 0 ? '...' : ''; - } - result += ']'; - return result; - } else if (arg instanceof Error) { - return arg + ''; - } else { - const keys = Object.keys(arg); - let result = '{'; - if (depth < 1) { - for(let i = 0; i < keys.length; i++){ - const key = keys[i]; - const desc = Object.getOwnPropertyDescriptor(arg, 'key'); - if (desc && !desc.get && !desc.set) { - const jsonKey = JSON.stringify(key); - if (jsonKey !== '"' + key + '"') { - result += jsonKey + ': '; - } else { - result += key + ': '; - } - result += formatObject(desc.value, depth + 1); - } - } - } else { - result += keys.length > 0 ? '...' : ''; - } - result += '}'; - return result; - } - case 'string': - return JSON.stringify(arg); - case 'number': - case 'bigint': - case 'boolean': - case 'symbol': - case 'undefined': - case 'function': - default: - return String(arg); - } -} -function formatConsoleArgs(args) { - let message; - let idx; - if (typeof args[0] === 'string') { - message = args[0]; - idx = 1; - } else { - message = ''; - idx = 0; - } - let result = ''; - let startQuote = false; - for(let i = 0; i < message.length; ++i){ - const char = message[i]; - if (char !== '%' || i === message.length - 1 || idx >= args.length) { - result += char; - continue; - } - const code = message[++i]; - switch(code){ - case 'c': - { - // TODO: We should colorize with HTML instead of turning into a string. - // Ignore for now. - result = startQuote ? `${result}]` : `[${result}`; - startQuote = !startQuote; - idx++; - break; - } - case 'O': - case 'o': - { - result += formatObject(args[idx++], 0); - break; - } - case 'd': - case 'i': - { - result += parseInt(args[idx++], 10); - break; - } - case 'f': - { - result += parseFloat(args[idx++]); - break; - } - case 's': - { - result += String(args[idx++]); - break; - } - default: - result += '%' + code; - } - } - for(; idx < args.length; idx++){ - result += (idx > 0 ? ' ' : '') + formatObject(args[idx], 0); - } - return result; -} -function parseConsoleArgs(args) { - // See - // https://github.com/facebook/react/blob/65a56d0e99261481c721334a3ec4561d173594cd/packages/react-devtools-shared/src/backend/flight/renderer.js#L88-L93 - // - // Logs replayed from the server look like this: - // [ - // "%c%s%c%o\n\n%s\n\n%s\n", - // "background: #e6e6e6; ...", - // " Server ", // can also be e.g. " Prerender " - // "", - // Error, - // "The above error occurred in the <Page> component.", - // ... - // ] - if (args.length > 3 && typeof args[0] === 'string' && args[0].startsWith('%c%s%c') && typeof args[1] === 'string' && typeof args[2] === 'string' && typeof args[3] === 'string') { - const environmentName = args[2]; - const maybeError = args[4]; - return { - environmentName: environmentName.trim(), - error: (0, _iserror.default)(maybeError) ? maybeError : null - }; - } - return { - environmentName: null, - error: null - }; -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=console.js.map -}), -"[project]/node_modules/next/dist/client/app-globals.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -// imports polyfill from `@next/polyfill-module` after build. -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -__turbopack_context__.r("[project]/node_modules/next/dist/build/polyfills/polyfill-module.js [app-client] (ecmascript)"); -// Only setup devtools in development -if ("TURBOPACK compile-time truthy", 1) { - __turbopack_context__.r("[project]/node_modules/next/dist/next-devtools/userspace/app/app-dev-overlay-setup.js [app-client] (ecmascript)"); -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=app-globals.js.map -}), -"[project]/node_modules/next/dist/client/components/readonly-url-search-params.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -/** - * ReadonlyURLSearchParams implementation shared between client and server. - * This file is intentionally not marked as 'use client' or 'use server' - * so it can be imported by both environments. - */ /** @internal */ Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "ReadonlyURLSearchParams", { - enumerable: true, - get: function() { - return ReadonlyURLSearchParams; - } -}); -class ReadonlyURLSearchParamsError extends Error { - constructor(){ - super('Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams'); - } -} -class ReadonlyURLSearchParams extends URLSearchParams { - /** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */ append() { - throw new ReadonlyURLSearchParamsError(); - } - /** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */ delete() { - throw new ReadonlyURLSearchParamsError(); - } - /** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */ set() { - throw new ReadonlyURLSearchParamsError(); - } - /** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */ sort() { - throw new ReadonlyURLSearchParamsError(); - } -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=readonly-url-search-params.js.map -}), -"[project]/node_modules/next/dist/client/components/app-router-headers.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - ACTION_HEADER: null, - FLIGHT_HEADERS: null, - NEXT_ACTION_NOT_FOUND_HEADER: null, - NEXT_ACTION_REVALIDATED_HEADER: null, - NEXT_DID_POSTPONE_HEADER: null, - NEXT_HMR_REFRESH_HASH_COOKIE: null, - NEXT_HMR_REFRESH_HEADER: null, - NEXT_HTML_REQUEST_ID_HEADER: null, - NEXT_IS_PRERENDER_HEADER: null, - NEXT_REQUEST_ID_HEADER: null, - NEXT_REWRITTEN_PATH_HEADER: null, - NEXT_REWRITTEN_QUERY_HEADER: null, - NEXT_ROUTER_PREFETCH_HEADER: null, - NEXT_ROUTER_SEGMENT_PREFETCH_HEADER: null, - NEXT_ROUTER_STALE_TIME_HEADER: null, - NEXT_ROUTER_STATE_TREE_HEADER: null, - NEXT_RSC_UNION_QUERY: null, - NEXT_URL: null, - RSC_CONTENT_TYPE_HEADER: null, - RSC_HEADER: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - ACTION_HEADER: function() { - return ACTION_HEADER; - }, - FLIGHT_HEADERS: function() { - return FLIGHT_HEADERS; - }, - NEXT_ACTION_NOT_FOUND_HEADER: function() { - return NEXT_ACTION_NOT_FOUND_HEADER; - }, - NEXT_ACTION_REVALIDATED_HEADER: function() { - return NEXT_ACTION_REVALIDATED_HEADER; - }, - NEXT_DID_POSTPONE_HEADER: function() { - return NEXT_DID_POSTPONE_HEADER; - }, - NEXT_HMR_REFRESH_HASH_COOKIE: function() { - return NEXT_HMR_REFRESH_HASH_COOKIE; - }, - NEXT_HMR_REFRESH_HEADER: function() { - return NEXT_HMR_REFRESH_HEADER; - }, - NEXT_HTML_REQUEST_ID_HEADER: function() { - return NEXT_HTML_REQUEST_ID_HEADER; - }, - NEXT_IS_PRERENDER_HEADER: function() { - return NEXT_IS_PRERENDER_HEADER; - }, - NEXT_REQUEST_ID_HEADER: function() { - return NEXT_REQUEST_ID_HEADER; - }, - NEXT_REWRITTEN_PATH_HEADER: function() { - return NEXT_REWRITTEN_PATH_HEADER; - }, - NEXT_REWRITTEN_QUERY_HEADER: function() { - return NEXT_REWRITTEN_QUERY_HEADER; - }, - NEXT_ROUTER_PREFETCH_HEADER: function() { - return NEXT_ROUTER_PREFETCH_HEADER; - }, - NEXT_ROUTER_SEGMENT_PREFETCH_HEADER: function() { - return NEXT_ROUTER_SEGMENT_PREFETCH_HEADER; - }, - NEXT_ROUTER_STALE_TIME_HEADER: function() { - return NEXT_ROUTER_STALE_TIME_HEADER; - }, - NEXT_ROUTER_STATE_TREE_HEADER: function() { - return NEXT_ROUTER_STATE_TREE_HEADER; - }, - NEXT_RSC_UNION_QUERY: function() { - return NEXT_RSC_UNION_QUERY; - }, - NEXT_URL: function() { - return NEXT_URL; - }, - RSC_CONTENT_TYPE_HEADER: function() { - return RSC_CONTENT_TYPE_HEADER; - }, - RSC_HEADER: function() { - return RSC_HEADER; - } -}); -const RSC_HEADER = 'rsc'; -const ACTION_HEADER = 'next-action'; -const NEXT_ROUTER_STATE_TREE_HEADER = 'next-router-state-tree'; -const NEXT_ROUTER_PREFETCH_HEADER = 'next-router-prefetch'; -const NEXT_ROUTER_SEGMENT_PREFETCH_HEADER = 'next-router-segment-prefetch'; -const NEXT_HMR_REFRESH_HEADER = 'next-hmr-refresh'; -const NEXT_HMR_REFRESH_HASH_COOKIE = '__next_hmr_refresh_hash__'; -const NEXT_URL = 'next-url'; -const RSC_CONTENT_TYPE_HEADER = 'text/x-component'; -const FLIGHT_HEADERS = [ - RSC_HEADER, - NEXT_ROUTER_STATE_TREE_HEADER, - NEXT_ROUTER_PREFETCH_HEADER, - NEXT_HMR_REFRESH_HEADER, - NEXT_ROUTER_SEGMENT_PREFETCH_HEADER -]; -const NEXT_RSC_UNION_QUERY = '_rsc'; -const NEXT_ROUTER_STALE_TIME_HEADER = 'x-nextjs-stale-time'; -const NEXT_DID_POSTPONE_HEADER = 'x-nextjs-postponed'; -const NEXT_REWRITTEN_PATH_HEADER = 'x-nextjs-rewritten-path'; -const NEXT_REWRITTEN_QUERY_HEADER = 'x-nextjs-rewritten-query'; -const NEXT_IS_PRERENDER_HEADER = 'x-nextjs-prerender'; -const NEXT_ACTION_NOT_FOUND_HEADER = 'x-nextjs-action-not-found'; -const NEXT_REQUEST_ID_HEADER = 'x-nextjs-request-id'; -const NEXT_HTML_REQUEST_ID_HEADER = 'x-nextjs-html-request-id'; -const NEXT_ACTION_REVALIDATED_HEADER = 'x-action-revalidated'; -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=app-router-headers.js.map -}), -"[project]/node_modules/next/dist/client/components/navigation-untracked.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "useUntrackedPathname", { - enumerable: true, - get: function() { - return useUntrackedPathname; - } -}); -const _react = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -const _hooksclientcontextsharedruntime = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js [app-client] (ecmascript)"); -/** - * This checks to see if the current render has any unknown route parameters that - * would cause the pathname to be dynamic. It's used to trigger a different - * render path in the error boundary. - * - * @returns true if there are any unknown route parameters, false otherwise - */ function hasFallbackRouteParams() { - if (typeof window === 'undefined') { - // AsyncLocalStorage should not be included in the client bundle. - const { workUnitAsyncStorage } = __turbopack_context__.r("[project]/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js [app-client] (ecmascript)"); - const workUnitStore = workUnitAsyncStorage.getStore(); - if (!workUnitStore) return false; - switch(workUnitStore.type){ - case 'prerender': - case 'prerender-client': - case 'prerender-ppr': - const fallbackParams = workUnitStore.fallbackRouteParams; - return fallbackParams ? fallbackParams.size > 0 : false; - case 'prerender-legacy': - case 'request': - case 'prerender-runtime': - case 'cache': - case 'private-cache': - case 'unstable-cache': - break; - default: - workUnitStore; - } - return false; - } - return false; -} -function useUntrackedPathname() { - // If there are any unknown route parameters we would typically throw - // an error, but this internal method allows us to return a null value instead - // for components that do not propagate the pathname to the static shell (like - // the error boundary). - if (hasFallbackRouteParams()) { - return null; - } - // This shouldn't cause any issues related to conditional rendering because - // the environment will be consistent for the render. - // eslint-disable-next-line react-hooks/rules-of-hooks - return (0, _react.useContext)(_hooksclientcontextsharedruntime.PathnameContext); -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=navigation-untracked.js.map -}), -"[project]/node_modules/next/dist/client/components/router-reducer/create-href-from-url.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "createHrefFromUrl", { - enumerable: true, - get: function() { - return createHrefFromUrl; - } -}); -function createHrefFromUrl(url, includeHash = true) { - return url.pathname + url.search + (includeHash ? url.hash : ''); -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=create-href-from-url.js.map -}), -"[project]/node_modules/next/dist/client/components/nav-failure-handler.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - handleHardNavError: null, - useNavFailureHandler: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - handleHardNavError: function() { - return handleHardNavError; - }, - useNavFailureHandler: function() { - return useNavFailureHandler; - } -}); -const _react = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -const _createhreffromurl = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/create-href-from-url.js [app-client] (ecmascript)"); -function handleHardNavError(error) { - if (error && typeof window !== 'undefined' && window.next.__pendingUrl && (0, _createhreffromurl.createHrefFromUrl)(new URL(window.location.href)) !== (0, _createhreffromurl.createHrefFromUrl)(window.next.__pendingUrl)) { - console.error(`Error occurred during navigation, falling back to hard navigation`, error); - window.location.href = window.next.__pendingUrl.toString(); - return true; - } - return false; -} -function useNavFailureHandler() { - if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable - ; -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=nav-failure-handler.js.map -}), -"[project]/node_modules/next/dist/client/components/handle-isr-error.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "HandleISRError", { - enumerable: true, - get: function() { - return HandleISRError; - } -}); -const workAsyncStorage = typeof window === 'undefined' ? __turbopack_context__.r("[project]/node_modules/next/dist/server/app-render/work-async-storage.external.js [app-client] (ecmascript)").workAsyncStorage : undefined; -function HandleISRError({ error }) { - if (workAsyncStorage) { - const store = workAsyncStorage.getStore(); - if (store?.isStaticGeneration) { - if (error) { - console.error(error); - } - throw error; - } - } - return null; -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=handle-isr-error.js.map -}), -"[project]/node_modules/next/dist/client/components/error-boundary.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -'use client'; -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - ErrorBoundary: null, - ErrorBoundaryHandler: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - ErrorBoundary: function() { - return ErrorBoundary; - }, - ErrorBoundaryHandler: function() { - return ErrorBoundaryHandler; - } -}); -const _interop_require_default = __turbopack_context__.r("[project]/node_modules/@swc/helpers/cjs/_interop_require_default.cjs [app-client] (ecmascript)"); -const _jsxruntime = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/jsx-runtime.js [app-client] (ecmascript)"); -const _react = /*#__PURE__*/ _interop_require_default._(__turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)")); -const _navigationuntracked = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/navigation-untracked.js [app-client] (ecmascript)"); -const _isnextroutererror = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/is-next-router-error.js [app-client] (ecmascript)"); -const _navfailurehandler = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/nav-failure-handler.js [app-client] (ecmascript)"); -const _handleisrerror = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/handle-isr-error.js [app-client] (ecmascript)"); -const _isbot = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/router/utils/is-bot.js [app-client] (ecmascript)"); -const isBotUserAgent = typeof window !== 'undefined' && (0, _isbot.isBot)(window.navigator.userAgent); -class ErrorBoundaryHandler extends _react.default.Component { - constructor(props){ - super(props), this.reset = ()=>{ - this.setState({ - error: null - }); - }; - this.state = { - error: null, - previousPathname: this.props.pathname - }; - } - static getDerivedStateFromError(error) { - if ((0, _isnextroutererror.isNextRouterError)(error)) { - // Re-throw if an expected internal Next.js router error occurs - // this means it should be handled by a different boundary (such as a NotFound boundary in a parent segment) - throw error; - } - return { - error - }; - } - static getDerivedStateFromProps(props, state) { - const { error } = state; - // if we encounter an error while - // a navigation is pending we shouldn't render - // the error boundary and instead should fallback - // to a hard navigation to attempt recovering - if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable - ; - /** - * Handles reset of the error boundary when a navigation happens. - * Ensures the error boundary does not stay enabled when navigating to a new page. - * Approach of setState in render is safe as it checks the previous pathname and then overrides - * it as outlined in https://react.dev/reference/react/useState#storing-information-from-previous-renders - */ if (props.pathname !== state.previousPathname && state.error) { - return { - error: null, - previousPathname: props.pathname - }; - } - return { - error: state.error, - previousPathname: props.pathname - }; - } - // Explicit type is needed to avoid the generated `.d.ts` having a wide return type that could be specific to the `@types/react` version. - render() { - //When it's bot request, segment level error boundary will keep rendering the children, - // the final error will be caught by the root error boundary and determine wether need to apply graceful degrade. - if (this.state.error && !isBotUserAgent) { - return /*#__PURE__*/ (0, _jsxruntime.jsxs)(_jsxruntime.Fragment, { - children: [ - /*#__PURE__*/ (0, _jsxruntime.jsx)(_handleisrerror.HandleISRError, { - error: this.state.error - }), - this.props.errorStyles, - this.props.errorScripts, - /*#__PURE__*/ (0, _jsxruntime.jsx)(this.props.errorComponent, { - error: this.state.error, - reset: this.reset - }) - ] - }); - } - return this.props.children; - } -} -function ErrorBoundary({ errorComponent, errorStyles, errorScripts, children }) { - // When we're rendering the missing params shell, this will return null. This - // is because we won't be rendering any not found boundaries or error - // boundaries for the missing params shell. When this runs on the client - // (where these errors can occur), we will get the correct pathname. - const pathname = (0, _navigationuntracked.useUntrackedPathname)(); - if (errorComponent) { - return /*#__PURE__*/ (0, _jsxruntime.jsx)(ErrorBoundaryHandler, { - pathname: pathname, - errorComponent: errorComponent, - errorStyles: errorStyles, - errorScripts: errorScripts, - children: children - }); - } - return /*#__PURE__*/ (0, _jsxruntime.jsx)(_jsxruntime.Fragment, { - children: children - }); -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=error-boundary.js.map -}), -"[project]/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, // supplied custom global error signatures. -"default", { - enumerable: true, - get: function() { - return _default; - } -}); -const _jsxruntime = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/jsx-runtime.js [app-client] (ecmascript)"); -const _handleisrerror = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/handle-isr-error.js [app-client] (ecmascript)"); -const styles = { - error: { - // https://github.com/sindresorhus/modern-normalize/blob/main/modern-normalize.css#L38-L52 - fontFamily: 'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"', - height: '100vh', - textAlign: 'center', - display: 'flex', - flexDirection: 'column', - alignItems: 'center', - justifyContent: 'center' - }, - text: { - fontSize: '14px', - fontWeight: 400, - lineHeight: '28px', - margin: '0 8px' - } -}; -function DefaultGlobalError({ error }) { - const digest = error?.digest; - return /*#__PURE__*/ (0, _jsxruntime.jsxs)("html", { - id: "__next_error__", - children: [ - /*#__PURE__*/ (0, _jsxruntime.jsx)("head", {}), - /*#__PURE__*/ (0, _jsxruntime.jsxs)("body", { - children: [ - /*#__PURE__*/ (0, _jsxruntime.jsx)(_handleisrerror.HandleISRError, { - error: error - }), - /*#__PURE__*/ (0, _jsxruntime.jsx)("div", { - style: styles.error, - children: /*#__PURE__*/ (0, _jsxruntime.jsxs)("div", { - children: [ - /*#__PURE__*/ (0, _jsxruntime.jsxs)("h2", { - style: styles.text, - children: [ - "Application error: a ", - digest ? 'server' : 'client', - "-side exception has occurred while loading ", - window.location.hostname, - " (see the", - ' ', - digest ? 'server logs' : 'browser console', - " for more information)." - ] - }), - digest ? /*#__PURE__*/ (0, _jsxruntime.jsx)("p", { - style: styles.text, - children: `Digest: ${digest}` - }) : null - ] - }) - }) - ] - }) - ] - }); -} -const _default = DefaultGlobalError; -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=global-error.js.map -}), -"[project]/node_modules/next/dist/client/dev/runtime-error-handler.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "RuntimeErrorHandler", { - enumerable: true, - get: function() { - return RuntimeErrorHandler; - } -}); -const RuntimeErrorHandler = { - hadRuntimeError: false -}; -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=runtime-error-handler.js.map -}), -"[project]/node_modules/next/dist/client/components/not-found.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "notFound", { - enumerable: true, - get: function() { - return notFound; - } -}); -const _httpaccessfallback = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js [app-client] (ecmascript)"); -/** - * This function allows you to render the [not-found.js file](https://nextjs.org/docs/app/api-reference/file-conventions/not-found) - * within a route segment as well as inject a tag. - * - * `notFound()` can be used in - * [Server Components](https://nextjs.org/docs/app/building-your-application/rendering/server-components), - * [Route Handlers](https://nextjs.org/docs/app/building-your-application/routing/route-handlers), and - * [Server Actions](https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations). - * - * - In a Server Component, this will insert a `<meta name="robots" content="noindex" />` meta tag and set the status code to 404. - * - In a Route Handler or Server Action, it will serve a 404 to the caller. - * - * Read more: [Next.js Docs: `notFound`](https://nextjs.org/docs/app/api-reference/functions/not-found) - */ const DIGEST = `${_httpaccessfallback.HTTP_ERROR_FALLBACK_ERROR_CODE};404`; -function notFound() { - const error = Object.defineProperty(new Error(DIGEST), "__NEXT_ERROR_CODE", { - value: "E394", - enumerable: false, - configurable: true - }); - error.digest = DIGEST; - throw error; -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=not-found.js.map -}), -"[project]/node_modules/next/dist/client/react-client-callbacks/error-boundary-callbacks.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -// This file is only used in app router due to the specific error state handling. -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - onCaughtError: null, - onUncaughtError: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - onCaughtError: function() { - return onCaughtError; - }, - onUncaughtError: function() { - return onUncaughtError; - } -}); -const _interop_require_default = __turbopack_context__.r("[project]/node_modules/@swc/helpers/cjs/_interop_require_default.cjs [app-client] (ecmascript)"); -const _isnextroutererror = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/is-next-router-error.js [app-client] (ecmascript)"); -const _bailouttocsr = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js [app-client] (ecmascript)"); -const _reportglobalerror = __turbopack_context__.r("[project]/node_modules/next/dist/client/react-client-callbacks/report-global-error.js [app-client] (ecmascript)"); -const _errorboundary = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/error-boundary.js [app-client] (ecmascript)"); -const _globalerror = /*#__PURE__*/ _interop_require_default._(__turbopack_context__.r("[project]/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)")); -const devToolErrorMod = ("TURBOPACK compile-time truthy", 1) ? __turbopack_context__.r("[project]/node_modules/next/dist/next-devtools/userspace/app/errors/index.js [app-client] (ecmascript)") : "TURBOPACK unreachable"; -function onCaughtError(thrownValue, errorInfo) { - const errorBoundaryComponent = errorInfo.errorBoundary?.constructor; - let isImplicitErrorBoundary; - if ("TURBOPACK compile-time truthy", 1) { - const { AppDevOverlayErrorBoundary } = __turbopack_context__.r("[project]/node_modules/next/dist/next-devtools/userspace/app/app-dev-overlay-error-boundary.js [app-client] (ecmascript)"); - isImplicitErrorBoundary = errorBoundaryComponent === AppDevOverlayErrorBoundary; - } - isImplicitErrorBoundary = isImplicitErrorBoundary || errorBoundaryComponent === _errorboundary.ErrorBoundaryHandler && errorInfo.errorBoundary.props.errorComponent === _globalerror.default; - // Skip the segment explorer triggered error - if ("TURBOPACK compile-time truthy", 1) { - const { SEGMENT_EXPLORER_SIMULATED_ERROR_MESSAGE } = __turbopack_context__.r("[project]/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)"); - if (thrownValue instanceof Error && thrownValue.message === SEGMENT_EXPLORER_SIMULATED_ERROR_MESSAGE) { - return; - } - } - if (isImplicitErrorBoundary) { - // We don't consider errors caught unless they're caught by an explicit error - // boundary. The built-in ones are considered implicit. - // This mimics how the same app would behave without Next.js. - return onUncaughtError(thrownValue); - } - // Skip certain custom errors which are not expected to be reported on client - if ((0, _bailouttocsr.isBailoutToCSRError)(thrownValue) || (0, _isnextroutererror.isNextRouterError)(thrownValue)) return; - if ("TURBOPACK compile-time truthy", 1) { - const errorBoundaryName = errorBoundaryComponent?.displayName || errorBoundaryComponent?.name || 'Unknown'; - const componentThatErroredFrame = errorInfo?.componentStack?.split('\n')[1]; - // Match chrome or safari stack trace - const matches = // example 1: at Page (http://localhost:3000/_next/static/chunks/pages/index.js?ts=1631600000000:2:1) - // example 2: Page@http://localhost:3000/_next/static/chunks/pages/index.js?ts=1631600000000:2:1 - componentThatErroredFrame?.match(/\s+at (\w+)\s+|(\w+)@/) ?? []; - const componentThatErroredName = matches[1] || matches[2] || 'Unknown'; - // Create error location with errored component and error boundary, to match the behavior of default React onCaughtError handler. - const errorBoundaryMessage = `It was handled by the <${errorBoundaryName}> error boundary.`; - const componentErrorMessage = ("TURBOPACK compile-time truthy", 1) ? `The above error occurred in the <${componentThatErroredName}> component.` : "TURBOPACK unreachable"; - const errorLocation = `${componentErrorMessage} ${errorBoundaryMessage}`; - const error = devToolErrorMod.decorateDevError(thrownValue); - // Log and report the error with location but without modifying the error stack - devToolErrorMod.originConsoleError('%o\n\n%s', thrownValue, errorLocation); - devToolErrorMod.handleClientError(error); - } else //TURBOPACK unreachable - ; -} -function onUncaughtError(thrownValue) { - // Skip certain custom errors which are not expected to be reported on client - if ((0, _bailouttocsr.isBailoutToCSRError)(thrownValue) || (0, _isnextroutererror.isNextRouterError)(thrownValue)) return; - if ("TURBOPACK compile-time truthy", 1) { - const error = devToolErrorMod.decorateDevError(thrownValue); - // TODO: Add an adendum to the overlay telling people about custom error boundaries. - (0, _reportglobalerror.reportGlobalError)(error); - } else //TURBOPACK unreachable - ; -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=error-boundary-callbacks.js.map -}), -"[project]/node_modules/next/dist/client/components/router-reducer/router-reducer-types.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - ACTION_HMR_REFRESH: null, - ACTION_NAVIGATE: null, - ACTION_REFRESH: null, - ACTION_RESTORE: null, - ACTION_SERVER_ACTION: null, - ACTION_SERVER_PATCH: null, - PrefetchKind: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - ACTION_HMR_REFRESH: function() { - return ACTION_HMR_REFRESH; - }, - ACTION_NAVIGATE: function() { - return ACTION_NAVIGATE; - }, - ACTION_REFRESH: function() { - return ACTION_REFRESH; - }, - ACTION_RESTORE: function() { - return ACTION_RESTORE; - }, - ACTION_SERVER_ACTION: function() { - return ACTION_SERVER_ACTION; - }, - ACTION_SERVER_PATCH: function() { - return ACTION_SERVER_PATCH; - }, - PrefetchKind: function() { - return PrefetchKind; - } -}); -const ACTION_REFRESH = 'refresh'; -const ACTION_NAVIGATE = 'navigate'; -const ACTION_RESTORE = 'restore'; -const ACTION_SERVER_PATCH = 'server-patch'; -const ACTION_HMR_REFRESH = 'hmr-refresh'; -const ACTION_SERVER_ACTION = 'server-action'; -var PrefetchKind = /*#__PURE__*/ function(PrefetchKind) { - PrefetchKind["AUTO"] = "auto"; - PrefetchKind["FULL"] = "full"; - return PrefetchKind; -}({}); -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=router-reducer-types.js.map -}), -"[project]/node_modules/next/dist/client/components/use-action-queue.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - dispatchAppRouterAction: null, - useActionQueue: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - dispatchAppRouterAction: function() { - return dispatchAppRouterAction; - }, - useActionQueue: function() { - return useActionQueue; - } -}); -const _interop_require_wildcard = __turbopack_context__.r("[project]/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs [app-client] (ecmascript)"); -const _react = /*#__PURE__*/ _interop_require_wildcard._(__turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)")); -const _isthenable = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/is-thenable.js [app-client] (ecmascript)"); -// The app router state lives outside of React, so we can import the dispatch -// method directly wherever we need it, rather than passing it around via props -// or context. -let dispatch = null; -function dispatchAppRouterAction(action) { - if (dispatch === null) { - throw Object.defineProperty(new Error('Internal Next.js error: Router action dispatched before initialization.'), "__NEXT_ERROR_CODE", { - value: "E668", - enumerable: false, - configurable: true - }); - } - dispatch(action); -} -const __DEV__ = ("TURBOPACK compile-time value", "development") !== 'production'; -const promisesWithDebugInfo = ("TURBOPACK compile-time truthy", 1) ? new WeakMap() : "TURBOPACK unreachable"; -function useActionQueue(actionQueue) { - const [state, setState] = _react.default.useState(actionQueue.state); - // Because of a known issue that requires to decode Flight streams inside the - // render phase, we have to be a bit clever and assign the dispatch method to - // a module-level variable upon initialization. The useState hook in this - // module only exists to synchronize state that lives outside of React. - // Ideally, what we'd do instead is pass the state as a prop to root.render; - // this is conceptually how we're modeling the app router state, despite the - // weird implementation details. - if ("TURBOPACK compile-time truthy", 1) { - const { useAppDevRenderingIndicator } = __turbopack_context__.r("[project]/node_modules/next/dist/next-devtools/userspace/use-app-dev-rendering-indicator.js [app-client] (ecmascript)"); - // eslint-disable-next-line react-hooks/rules-of-hooks - const appDevRenderingIndicator = useAppDevRenderingIndicator(); - dispatch = (action)=>{ - appDevRenderingIndicator(()=>{ - actionQueue.dispatch(action, setState); - }); - }; - } else //TURBOPACK unreachable - ; - // When navigating to a non-prefetched route, then App Router state will be - // blocked until the server responds. We need to transfer the `_debugInfo` - // from the underlying Flight response onto the top-level promise that is - // passed to React (via `use`) so that the latency is accurately represented - // in the React DevTools. - const stateWithDebugInfo = (0, _react.useMemo)(()=>{ - if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable - ; - if ((0, _isthenable.isThenable)(state)) { - // useMemo can't be used to cache a Promise since the memoized value is thrown - // away when we suspend. So we use a WeakMap to cache the Promise with debug info. - let promiseWithDebugInfo = promisesWithDebugInfo.get(state); - if (promiseWithDebugInfo === undefined) { - const debugInfo = []; - promiseWithDebugInfo = Promise.resolve(state).then((asyncState)=>{ - if (asyncState.debugInfo !== null) { - debugInfo.push(...asyncState.debugInfo); - } - return asyncState; - }); - promiseWithDebugInfo._debugInfo = debugInfo; - promisesWithDebugInfo.set(state, promiseWithDebugInfo); - } - return promiseWithDebugInfo; - } - return state; - }, [ - state - ]); - return (0, _isthenable.isThenable)(stateWithDebugInfo) ? (0, _react.use)(stateWithDebugInfo) : stateWithDebugInfo; -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=use-action-queue.js.map -}), -"[project]/node_modules/next/dist/client/app-call-server.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "callServer", { - enumerable: true, - get: function() { - return callServer; - } -}); -const _react = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -const _routerreducertypes = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/router-reducer-types.js [app-client] (ecmascript)"); -const _useactionqueue = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/use-action-queue.js [app-client] (ecmascript)"); -async function callServer(actionId, actionArgs) { - return new Promise((resolve, reject)=>{ - (0, _react.startTransition)(()=>{ - (0, _useactionqueue.dispatchAppRouterAction)({ - type: _routerreducertypes.ACTION_SERVER_ACTION, - actionId, - actionArgs, - resolve, - reject - }); - }); - }); -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=app-call-server.js.map -}), -"[project]/node_modules/next/dist/client/app-find-source-map-url.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "findSourceMapURL", { - enumerable: true, - get: function() { - return findSourceMapURL; - } -}); -const basePath = ("TURBOPACK compile-time value", "") || ''; -const pathname = `${basePath}/__nextjs_source-map`; -const findSourceMapURL = ("TURBOPACK compile-time truthy", 1) ? function findSourceMapURL(filename) { - if (filename === '') { - return null; - } - if (filename.startsWith(document.location.origin) && filename.includes('/_next/static')) { - // This is a request for a client chunk. This can only happen when - // using Turbopack. In this case, since we control how those source - // maps are generated, we can safely assume that the sourceMappingURL - // is relative to the filename, with an added `.map` extension. The - // browser can just request this file, and it gets served through the - // normal dev server, without the need to route this through - // the `/__nextjs_source-map` dev middleware. - return `${filename}.map`; - } - const url = new URL(pathname, document.location.origin); - url.searchParams.set('filename', filename); - return url.href; -} : "TURBOPACK unreachable"; -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=app-find-source-map-url.js.map -}), -"[project]/node_modules/next/dist/client/components/match-segments.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "matchSegment", { - enumerable: true, - get: function() { - return matchSegment; - } -}); -const matchSegment = (existingSegment, segment)=>{ - // segment is either Array or string - if (typeof existingSegment === 'string') { - if (typeof segment === 'string') { - // Common case: segment is just a string - return existingSegment === segment; - } - return false; - } - if (typeof segment === 'string') { - return false; - } - return existingSegment[0] === segment[0] && existingSegment[1] === segment[1]; -}; -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=match-segments.js.map -}), -"[project]/node_modules/next/dist/client/components/router-reducer/compute-changed-path.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - computeChangedPath: null, - extractPathFromFlightRouterState: null, - getSelectedParams: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - computeChangedPath: function() { - return computeChangedPath; - }, - extractPathFromFlightRouterState: function() { - return extractPathFromFlightRouterState; - }, - getSelectedParams: function() { - return getSelectedParams; - } -}); -const _interceptionroutes = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/router/utils/interception-routes.js [app-client] (ecmascript)"); -const _segment = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/segment.js [app-client] (ecmascript)"); -const _matchsegments = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/match-segments.js [app-client] (ecmascript)"); -const removeLeadingSlash = (segment)=>{ - return segment[0] === '/' ? segment.slice(1) : segment; -}; -const segmentToPathname = (segment)=>{ - if (typeof segment === 'string') { - // 'children' is not a valid path -- it's technically a parallel route that corresponds with the current segment's page - // if we don't skip it, then the computed pathname might be something like `/children` which doesn't make sense. - if (segment === 'children') return ''; - return segment; - } - return segment[1]; -}; -function normalizeSegments(segments) { - return segments.reduce((acc, segment)=>{ - segment = removeLeadingSlash(segment); - if (segment === '' || (0, _segment.isGroupSegment)(segment)) { - return acc; - } - return `${acc}/${segment}`; - }, '') || '/'; -} -function extractPathFromFlightRouterState(flightRouterState) { - const segment = Array.isArray(flightRouterState[0]) ? flightRouterState[0][1] : flightRouterState[0]; - if (segment === _segment.DEFAULT_SEGMENT_KEY || _interceptionroutes.INTERCEPTION_ROUTE_MARKERS.some((m)=>segment.startsWith(m))) return undefined; - if (segment.startsWith(_segment.PAGE_SEGMENT_KEY)) return ''; - const segments = [ - segmentToPathname(segment) - ]; - const parallelRoutes = flightRouterState[1] ?? {}; - const childrenPath = parallelRoutes.children ? extractPathFromFlightRouterState(parallelRoutes.children) : undefined; - if (childrenPath !== undefined) { - segments.push(childrenPath); - } else { - for (const [key, value] of Object.entries(parallelRoutes)){ - if (key === 'children') continue; - const childPath = extractPathFromFlightRouterState(value); - if (childPath !== undefined) { - segments.push(childPath); - } - } - } - return normalizeSegments(segments); -} -function computeChangedPathImpl(treeA, treeB) { - const [segmentA, parallelRoutesA] = treeA; - const [segmentB, parallelRoutesB] = treeB; - const normalizedSegmentA = segmentToPathname(segmentA); - const normalizedSegmentB = segmentToPathname(segmentB); - if (_interceptionroutes.INTERCEPTION_ROUTE_MARKERS.some((m)=>normalizedSegmentA.startsWith(m) || normalizedSegmentB.startsWith(m))) { - return ''; - } - if (!(0, _matchsegments.matchSegment)(segmentA, segmentB)) { - // once we find where the tree changed, we compute the rest of the path by traversing the tree - return extractPathFromFlightRouterState(treeB) ?? ''; - } - for(const parallelRouterKey in parallelRoutesA){ - if (parallelRoutesB[parallelRouterKey]) { - const changedPath = computeChangedPathImpl(parallelRoutesA[parallelRouterKey], parallelRoutesB[parallelRouterKey]); - if (changedPath !== null) { - return `${segmentToPathname(segmentB)}/${changedPath}`; - } - } - } - return null; -} -function computeChangedPath(treeA, treeB) { - const changedPath = computeChangedPathImpl(treeA, treeB); - if (changedPath == null || changedPath === '/') { - return changedPath; - } - // lightweight normalization to remove route groups - return normalizeSegments(changedPath.split('/')); -} -function getSelectedParams(currentTree, params = {}) { - const parallelRoutes = currentTree[1]; - for (const parallelRoute of Object.values(parallelRoutes)){ - const segment = parallelRoute[0]; - const isDynamicParameter = Array.isArray(segment); - const segmentValue = isDynamicParameter ? segment[1] : segment; - if (!segmentValue || segmentValue.startsWith(_segment.PAGE_SEGMENT_KEY)) continue; - // Ensure catchAll and optional catchall are turned into an array - const isCatchAll = isDynamicParameter && (segment[2] === 'c' || segment[2] === 'oc'); - if (isCatchAll) { - params[segment[0]] = segment[1].split('/'); - } else if (isDynamicParameter) { - params[segment[0]] = segment[1]; - } - params = getSelectedParams(parallelRoute, params); - } - return params; -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=compute-changed-path.js.map -}), -"[project]/node_modules/next/dist/client/components/router-reducer/handle-mutable.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "handleMutable", { - enumerable: true, - get: function() { - return handleMutable; - } -}); -const _computechangedpath = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/compute-changed-path.js [app-client] (ecmascript)"); -function isNotUndefined(value) { - return typeof value !== 'undefined'; -} -function handleMutable(state, mutable) { - // shouldScroll is true by default, can override to false. - const shouldScroll = mutable.shouldScroll ?? true; - let previousNextUrl = state.previousNextUrl; - let nextUrl = state.nextUrl; - if (isNotUndefined(mutable.patchedTree)) { - // If we received a patched tree, we need to compute the changed path. - const changedPath = (0, _computechangedpath.computeChangedPath)(state.tree, mutable.patchedTree); - if (changedPath) { - // If the tree changed, we need to update the nextUrl - previousNextUrl = nextUrl; - nextUrl = changedPath; - } else if (!nextUrl) { - // if the tree ends up being the same (ie, no changed path), and we don't have a nextUrl, then we should use the canonicalUrl - nextUrl = state.canonicalUrl; - } - // otherwise this will be a no-op and continue to use the existing nextUrl - } - return { - // Set href. - canonicalUrl: mutable.canonicalUrl ?? state.canonicalUrl, - renderedSearch: mutable.renderedSearch ?? state.renderedSearch, - pushRef: { - pendingPush: isNotUndefined(mutable.pendingPush) ? mutable.pendingPush : state.pushRef.pendingPush, - mpaNavigation: isNotUndefined(mutable.mpaNavigation) ? mutable.mpaNavigation : state.pushRef.mpaNavigation, - preserveCustomHistoryState: isNotUndefined(mutable.preserveCustomHistoryState) ? mutable.preserveCustomHistoryState : state.pushRef.preserveCustomHistoryState - }, - // All navigation requires scroll and focus management to trigger. - focusAndScrollRef: { - apply: shouldScroll ? isNotUndefined(mutable?.scrollableSegments) ? true : state.focusAndScrollRef.apply : false, - onlyHashChange: mutable.onlyHashChange || false, - hashFragment: shouldScroll ? mutable.hashFragment && mutable.hashFragment !== '' ? decodeURIComponent(mutable.hashFragment.slice(1)) : state.focusAndScrollRef.hashFragment : null, - segmentPaths: shouldScroll ? mutable?.scrollableSegments ?? state.focusAndScrollRef.segmentPaths : [] - }, - // Apply cache. - cache: mutable.cache ? mutable.cache : state.cache, - // Apply patched router state. - tree: isNotUndefined(mutable.patchedTree) ? mutable.patchedTree : state.tree, - nextUrl, - previousNextUrl: previousNextUrl, - debugInfo: mutable.collectedDebugInfo ?? null - }; -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=handle-mutable.js.map -}), -"[project]/node_modules/next/dist/client/route-params.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - doesStaticSegmentAppearInURL: null, - getCacheKeyForDynamicParam: null, - getParamValueFromCacheKey: null, - getRenderedPathname: null, - getRenderedSearch: null, - parseDynamicParamFromURLPart: null, - urlSearchParamsToParsedUrlQuery: null, - urlToUrlWithoutFlightMarker: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - doesStaticSegmentAppearInURL: function() { - return doesStaticSegmentAppearInURL; - }, - getCacheKeyForDynamicParam: function() { - return getCacheKeyForDynamicParam; - }, - getParamValueFromCacheKey: function() { - return getParamValueFromCacheKey; - }, - getRenderedPathname: function() { - return getRenderedPathname; - }, - getRenderedSearch: function() { - return getRenderedSearch; - }, - parseDynamicParamFromURLPart: function() { - return parseDynamicParamFromURLPart; - }, - urlSearchParamsToParsedUrlQuery: function() { - return urlSearchParamsToParsedUrlQuery; - }, - urlToUrlWithoutFlightMarker: function() { - return urlToUrlWithoutFlightMarker; - } -}); -const _segment = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/segment.js [app-client] (ecmascript)"); -const _segmentvalueencoding = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/segment-cache/segment-value-encoding.js [app-client] (ecmascript)"); -const _approuterheaders = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/app-router-headers.js [app-client] (ecmascript)"); -function getRenderedSearch(response) { - // If the server performed a rewrite, the search params used to render the - // page will be different from the params in the request URL. In this case, - // the response will include a header that gives the rewritten search query. - const rewrittenQuery = response.headers.get(_approuterheaders.NEXT_REWRITTEN_QUERY_HEADER); - if (rewrittenQuery !== null) { - return rewrittenQuery === '' ? '' : '?' + rewrittenQuery; - } - // If the header is not present, there was no rewrite, so we use the search - // query of the response URL. - return urlToUrlWithoutFlightMarker(new URL(response.url)).search; -} -function getRenderedPathname(response) { - // If the server performed a rewrite, the pathname used to render the - // page will be different from the pathname in the request URL. In this case, - // the response will include a header that gives the rewritten pathname. - const rewrittenPath = response.headers.get(_approuterheaders.NEXT_REWRITTEN_PATH_HEADER); - return rewrittenPath ?? urlToUrlWithoutFlightMarker(new URL(response.url)).pathname; -} -function parseDynamicParamFromURLPart(paramType, pathnameParts, partIndex) { - // This needs to match the behavior in get-dynamic-param.ts. - switch(paramType){ - // Catchalls - case 'c': - { - // Catchalls receive all the remaining URL parts. If there are no - // remaining pathname parts, return an empty array. - return partIndex < pathnameParts.length ? pathnameParts.slice(partIndex).map((s)=>encodeURIComponent(s)) : []; - } - // Catchall intercepted - case 'ci(..)(..)': - case 'ci(.)': - case 'ci(..)': - case 'ci(...)': - { - const prefix = paramType.length - 2; - return partIndex < pathnameParts.length ? pathnameParts.slice(partIndex).map((s, i)=>{ - if (i === 0) { - return encodeURIComponent(s.slice(prefix)); - } - return encodeURIComponent(s); - }) : []; - } - // Optional catchalls - case 'oc': - { - // Optional catchalls receive all the remaining URL parts, unless this is - // the end of the pathname, in which case they return null. - return partIndex < pathnameParts.length ? pathnameParts.slice(partIndex).map((s)=>encodeURIComponent(s)) : null; - } - // Dynamic - case 'd': - { - if (partIndex >= pathnameParts.length) { - // The route tree expected there to be more parts in the URL than there - // actually are. This could happen if the x-nextjs-rewritten-path header - // is incorrectly set, or potentially due to bug in Next.js. TODO: - // Should this be a hard error? During a prefetch, we can just abort. - // During a client navigation, we could trigger a hard refresh. But if - // it happens during initial render, we don't really have any - // recovery options. - return ''; - } - return encodeURIComponent(pathnameParts[partIndex]); - } - // Dynamic intercepted - case 'di(..)(..)': - case 'di(.)': - case 'di(..)': - case 'di(...)': - { - const prefix = paramType.length - 2; - if (partIndex >= pathnameParts.length) { - // The route tree expected there to be more parts in the URL than there - // actually are. This could happen if the x-nextjs-rewritten-path header - // is incorrectly set, or potentially due to bug in Next.js. TODO: - // Should this be a hard error? During a prefetch, we can just abort. - // During a client navigation, we could trigger a hard refresh. But if - // it happens during initial render, we don't really have any - // recovery options. - return ''; - } - return encodeURIComponent(pathnameParts[partIndex].slice(prefix)); - } - default: - paramType; - return ''; - } -} -function doesStaticSegmentAppearInURL(segment) { - // This is not a parameterized segment; however, we need to determine - // whether or not this segment appears in the URL. For example, this route - // groups do not appear in the URL, so they should be skipped. Any other - // special cases must be handled here. - // TODO: Consider encoding this directly into the router tree instead of - // inferring it on the client based on the segment type. Something like - // a `doesAppearInURL` flag in FlightRouterState. - if (segment === _segmentvalueencoding.ROOT_SEGMENT_REQUEST_KEY || // For some reason, the loader tree sometimes includes extra __PAGE__ - // "layouts" when part of a parallel route. But it's not a leaf node. - // Otherwise, we wouldn't need this special case because pages are - // always leaf nodes. - // TODO: Investigate why the loader produces these fake page segments. - segment.startsWith(_segment.PAGE_SEGMENT_KEY) || // Route groups. - segment[0] === '(' && segment.endsWith(')') || segment === _segment.DEFAULT_SEGMENT_KEY || segment === '/_not-found') { - return false; - } else { - // All other segment types appear in the URL - return true; - } -} -function getCacheKeyForDynamicParam(paramValue, renderedSearch) { - // This needs to match the logic in get-dynamic-param.ts, until we're able to - // unify the various implementations so that these are always computed on - // the client. - if (typeof paramValue === 'string') { - // TODO: Refactor or remove this helper function to accept a string rather - // than the whole segment type. Also we can probably just append the - // search string instead of turning it into JSON. - const pageSegmentWithSearchParams = (0, _segment.addSearchParamsIfPageSegment)(paramValue, Object.fromEntries(new URLSearchParams(renderedSearch))); - return pageSegmentWithSearchParams; - } else if (paramValue === null) { - return ''; - } else { - return paramValue.join('/'); - } -} -function urlToUrlWithoutFlightMarker(url) { - const urlWithoutFlightParameters = new URL(url); - urlWithoutFlightParameters.searchParams.delete(_approuterheaders.NEXT_RSC_UNION_QUERY); - if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable - ; - return urlWithoutFlightParameters; -} -function getParamValueFromCacheKey(paramCacheKey, paramType) { - // Turn the cache key string sent by the server (as part of FlightRouterState) - // into a value that can be passed to `useParams` and client components. - const isCatchAll = paramType === 'c' || paramType === 'oc'; - if (isCatchAll) { - // Catch-all param keys are a concatenation of the path segments. - // See equivalent logic in `getSelectedParams`. - // TODO: We should just pass the array directly, rather than concatenate - // it to a string and then split it back to an array. It needs to be an - // array in some places, like when passing a key React, but we can convert - // it at runtime in those places. - return paramCacheKey.split('/'); - } - return paramCacheKey; -} -function urlSearchParamsToParsedUrlQuery(searchParams) { - // Converts a URLSearchParams object to the same type used by the server when - // creating search params props, i.e. the type returned by Node's - // "querystring" module. - const result = {}; - for (const [key, value] of searchParams.entries()){ - if (result[key] === undefined) { - result[key] = value; - } else if (Array.isArray(result[key])) { - result[key].push(value); - } else { - result[key] = [ - result[key], - value - ]; - } - } - return result; -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=route-params.js.map -}), -"[project]/node_modules/next/dist/client/flight-data-helpers.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - createInitialRSCPayloadFromFallbackPrerender: null, - getFlightDataPartsFromPath: null, - getNextFlightSegmentPath: null, - normalizeFlightData: null, - prepareFlightRouterStateForRequest: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - createInitialRSCPayloadFromFallbackPrerender: function() { - return createInitialRSCPayloadFromFallbackPrerender; - }, - getFlightDataPartsFromPath: function() { - return getFlightDataPartsFromPath; - }, - getNextFlightSegmentPath: function() { - return getNextFlightSegmentPath; - }, - normalizeFlightData: function() { - return normalizeFlightData; - }, - prepareFlightRouterStateForRequest: function() { - return prepareFlightRouterStateForRequest; - } -}); -const _segment = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/segment.js [app-client] (ecmascript)"); -const _routeparams = __turbopack_context__.r("[project]/node_modules/next/dist/client/route-params.js [app-client] (ecmascript)"); -const _createhreffromurl = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/create-href-from-url.js [app-client] (ecmascript)"); -function getFlightDataPartsFromPath(flightDataPath) { - // Pick the last 4 items from the `FlightDataPath` to get the [tree, seedData, viewport, isHeadPartial]. - const flightDataPathLength = 4; - // tree, seedData, and head are *always* the last three items in the `FlightDataPath`. - const [tree, seedData, head, isHeadPartial] = flightDataPath.slice(-flightDataPathLength); - // The `FlightSegmentPath` is everything except the last three items. For a root render, it won't be present. - const segmentPath = flightDataPath.slice(0, -flightDataPathLength); - return { - // TODO: Unify these two segment path helpers. We are inconsistently pushing an empty segment ("") - // to the start of the segment path in some places which makes it hard to use solely the segment path. - // Look for "// TODO-APP: remove ''" in the codebase. - pathToSegment: segmentPath.slice(0, -1), - segmentPath, - // if the `FlightDataPath` corresponds with the root, there'll be no segment path, - // in which case we default to ''. - segment: segmentPath[segmentPath.length - 1] ?? '', - tree, - seedData, - head, - isHeadPartial, - isRootRender: flightDataPath.length === flightDataPathLength - }; -} -function createInitialRSCPayloadFromFallbackPrerender(response, fallbackInitialRSCPayload) { - // This is a static fallback page. In order to hydrate the page, we need to - // parse the client params from the URL, but to account for the possibility - // that the page was rewritten, we need to check the response headers - // for x-nextjs-rewritten-path or x-nextjs-rewritten-query headers. Since - // we can't access the headers of the initial document response, the client - // performs a fetch request to the current location. Since it's possible that - // the fetch request will be dynamically rewritten to a different path than - // the initial document, this fetch request delivers _all_ the hydration data - // for the page; it was not inlined into the document, like it normally - // would be. - // - // TODO: Consider treating the case where fetch is rewritten to a different - // path from the document as a special deopt case. We should optimistically - // assume this won't happen, inline the data into the document, and perform - // a minimal request (like a HEAD or range request) to verify that the - // response matches. Tricky to get right because we need to account for - // all the different deployment environments we support, like output: - // "export" mode, where we currently don't assume that custom response - // headers are present. - // Patch the Flight data sent by the server with the correct params parsed - // from the URL + response object. - const renderedPathname = (0, _routeparams.getRenderedPathname)(response); - const renderedSearch = (0, _routeparams.getRenderedSearch)(response); - const canonicalUrl = (0, _createhreffromurl.createHrefFromUrl)(new URL(location.href)); - const originalFlightDataPath = fallbackInitialRSCPayload.f[0]; - const originalFlightRouterState = originalFlightDataPath[0]; - return { - b: fallbackInitialRSCPayload.b, - c: canonicalUrl.split('/'), - q: renderedSearch, - i: fallbackInitialRSCPayload.i, - f: [ - [ - fillInFallbackFlightRouterState(originalFlightRouterState, renderedPathname, renderedSearch), - originalFlightDataPath[1], - originalFlightDataPath[2], - originalFlightDataPath[2] - ] - ], - m: fallbackInitialRSCPayload.m, - G: fallbackInitialRSCPayload.G, - S: fallbackInitialRSCPayload.S - }; -} -function fillInFallbackFlightRouterState(flightRouterState, renderedPathname, renderedSearch) { - const pathnameParts = renderedPathname.split('/').filter((p)=>p !== ''); - const index = 0; - return fillInFallbackFlightRouterStateImpl(flightRouterState, renderedSearch, pathnameParts, index); -} -function fillInFallbackFlightRouterStateImpl(flightRouterState, renderedSearch, pathnameParts, pathnamePartsIndex) { - const originalSegment = flightRouterState[0]; - let newSegment; - let doesAppearInURL; - if (typeof originalSegment === 'string') { - newSegment = originalSegment; - doesAppearInURL = (0, _routeparams.doesStaticSegmentAppearInURL)(originalSegment); - } else { - const paramName = originalSegment[0]; - const paramType = originalSegment[2]; - const paramValue = (0, _routeparams.parseDynamicParamFromURLPart)(paramType, pathnameParts, pathnamePartsIndex); - const cacheKey = (0, _routeparams.getCacheKeyForDynamicParam)(paramValue, renderedSearch); - newSegment = [ - paramName, - cacheKey, - paramType - ]; - doesAppearInURL = true; - } - // Only increment the index if the segment appears in the URL. If it's a - // "virtual" segment, like a route group, it remains the same. - const childPathnamePartsIndex = doesAppearInURL ? pathnamePartsIndex + 1 : pathnamePartsIndex; - const children = flightRouterState[1]; - const newChildren = {}; - for(let key in children){ - const childFlightRouterState = children[key]; - newChildren[key] = fillInFallbackFlightRouterStateImpl(childFlightRouterState, renderedSearch, pathnameParts, childPathnamePartsIndex); - } - const newState = [ - newSegment, - newChildren, - null, - flightRouterState[3], - flightRouterState[4] - ]; - return newState; -} -function getNextFlightSegmentPath(flightSegmentPath) { - // Since `FlightSegmentPath` is a repeated tuple of `Segment` and `ParallelRouteKey`, we slice off two items - // to get the next segment path. - return flightSegmentPath.slice(2); -} -function normalizeFlightData(flightData) { - // FlightData can be a string when the server didn't respond with a proper flight response, - // or when a redirect happens, to signal to the client that it needs to perform an MPA navigation. - if (typeof flightData === 'string') { - return flightData; - } - return flightData.map((flightDataPath)=>getFlightDataPartsFromPath(flightDataPath)); -} -function prepareFlightRouterStateForRequest(flightRouterState, isHmrRefresh) { - // HMR requests need the complete, unmodified state for proper functionality - if (isHmrRefresh) { - return encodeURIComponent(JSON.stringify(flightRouterState)); - } - return encodeURIComponent(JSON.stringify(stripClientOnlyDataFromFlightRouterState(flightRouterState))); -} -/** - * Recursively strips client-only data from FlightRouterState while preserving - * server-needed information for proper rendering decisions. - */ function stripClientOnlyDataFromFlightRouterState(flightRouterState) { - const [segment, parallelRoutes, _url, refreshMarker, isRootLayout, hasLoadingBoundary] = flightRouterState; - // __PAGE__ segments are always fetched from the server, so there's - // no need to send them up - const cleanedSegment = stripSearchParamsFromPageSegment(segment); - // Recursively process parallel routes - const cleanedParallelRoutes = {}; - for (const [key, childState] of Object.entries(parallelRoutes)){ - cleanedParallelRoutes[key] = stripClientOnlyDataFromFlightRouterState(childState); - } - const result = [ - cleanedSegment, - cleanedParallelRoutes, - null, - shouldPreserveRefreshMarker(refreshMarker) ? refreshMarker : null - ]; - // Append optional fields if present - if (isRootLayout !== undefined) { - result[4] = isRootLayout; - } - if (hasLoadingBoundary !== undefined) { - result[5] = hasLoadingBoundary; - } - return result; -} -/** - * Strips search parameters from __PAGE__ segments to prevent sensitive - * client-side data from being sent to the server. - */ function stripSearchParamsFromPageSegment(segment) { - if (typeof segment === 'string' && segment.startsWith(_segment.PAGE_SEGMENT_KEY + '?')) { - return _segment.PAGE_SEGMENT_KEY; - } - return segment; -} -/** - * Determines whether the refresh marker should be sent to the server - * Client-only markers like 'refresh' are stripped, while server-needed markers - * like 'refetch' and 'inside-shared-layout' are preserved. - */ function shouldPreserveRefreshMarker(refreshMarker) { - return Boolean(refreshMarker && refreshMarker !== 'refresh'); -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=flight-data-helpers.js.map -}), -"[project]/node_modules/next/dist/client/app-build-id.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -// This gets assigned as a side-effect during app initialization. Because it -// represents the build used to create the JS bundle, it should never change -// after being set, so we store it in a global variable. -// -// When performing RSC requests, if the incoming data has a different build ID, -// we perform an MPA navigation/refresh to load the updated build and ensure -// that the client and server in sync. -// Starts as an empty string. In practice, because setAppBuildId is called -// during initialization before hydration starts, this will always get -// reassigned to the actual build ID before it's ever needed by a navigation. -// If for some reasons it didn't, due to a bug or race condition, then on -// navigation the build comparision would fail and trigger an MPA navigation. -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - getAppBuildId: null, - setAppBuildId: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - getAppBuildId: function() { - return getAppBuildId; - }, - setAppBuildId: function() { - return setAppBuildId; - } -}); -let globalBuildId = ''; -function setAppBuildId(buildId) { - globalBuildId = buildId; -} -function getAppBuildId() { - return globalBuildId; -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=app-build-id.js.map -}), -"[project]/node_modules/next/dist/client/components/router-reducer/set-cache-busting-search-param.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - setCacheBustingSearchParam: null, - setCacheBustingSearchParamWithHash: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - setCacheBustingSearchParam: function() { - return setCacheBustingSearchParam; - }, - setCacheBustingSearchParamWithHash: function() { - return setCacheBustingSearchParamWithHash; - } -}); -const _cachebustingsearchparam = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/router/utils/cache-busting-search-param.js [app-client] (ecmascript)"); -const _approuterheaders = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/app-router-headers.js [app-client] (ecmascript)"); -const setCacheBustingSearchParam = (url, headers)=>{ - const uniqueCacheKey = (0, _cachebustingsearchparam.computeCacheBustingSearchParam)(headers[_approuterheaders.NEXT_ROUTER_PREFETCH_HEADER], headers[_approuterheaders.NEXT_ROUTER_SEGMENT_PREFETCH_HEADER], headers[_approuterheaders.NEXT_ROUTER_STATE_TREE_HEADER], headers[_approuterheaders.NEXT_URL]); - setCacheBustingSearchParamWithHash(url, uniqueCacheKey); -}; -const setCacheBustingSearchParamWithHash = (url, hash)=>{ - /** - * Note that we intentionally do not use `url.searchParams.set` here: - * - * const url = new URL('https://example.com/search?q=custom%20spacing'); - * url.searchParams.set('_rsc', 'abc123'); - * console.log(url.toString()); // Outputs: https://example.com/search?q=custom+spacing&_rsc=abc123 - * ^ <--- this is causing confusion - * This is in fact intended based on https://url.spec.whatwg.org/#interface-urlsearchparams, but - * we want to preserve the %20 as %20 if that's what the user passed in, hence the custom - * logic below. - */ const existingSearch = url.search; - const rawQuery = existingSearch.startsWith('?') ? existingSearch.slice(1) : existingSearch; - // Always remove any existing cache busting param and add a fresh one to ensure - // we have the correct value based on current request headers - const pairs = rawQuery.split('&').filter((pair)=>pair && !pair.startsWith(`${_approuterheaders.NEXT_RSC_UNION_QUERY}=`)); - if (hash.length > 0) { - pairs.push(`${_approuterheaders.NEXT_RSC_UNION_QUERY}=${hash}`); - } else { - pairs.push(`${_approuterheaders.NEXT_RSC_UNION_QUERY}`); - } - url.search = pairs.length ? `?${pairs.join('&')}` : ''; -}; -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=set-cache-busting-search-param.js.map -}), -"[project]/node_modules/next/dist/client/components/router-reducer/fetch-server-response.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -'use client'; -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - createFetch: null, - createFromNextReadableStream: null, - fetchServerResponse: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - createFetch: function() { - return createFetch; - }, - createFromNextReadableStream: function() { - return createFromNextReadableStream; - }, - fetchServerResponse: function() { - return fetchServerResponse; - } -}); -const _client = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react-server-dom-turbopack/client.js [app-client] (ecmascript)"); -const _approuterheaders = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/app-router-headers.js [app-client] (ecmascript)"); -const _appcallserver = __turbopack_context__.r("[project]/node_modules/next/dist/client/app-call-server.js [app-client] (ecmascript)"); -const _appfindsourcemapurl = __turbopack_context__.r("[project]/node_modules/next/dist/client/app-find-source-map-url.js [app-client] (ecmascript)"); -const _flightdatahelpers = __turbopack_context__.r("[project]/node_modules/next/dist/client/flight-data-helpers.js [app-client] (ecmascript)"); -const _appbuildid = __turbopack_context__.r("[project]/node_modules/next/dist/client/app-build-id.js [app-client] (ecmascript)"); -const _setcachebustingsearchparam = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/set-cache-busting-search-param.js [app-client] (ecmascript)"); -const _routeparams = __turbopack_context__.r("[project]/node_modules/next/dist/client/route-params.js [app-client] (ecmascript)"); -const _deploymentid = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/deployment-id.js [app-client] (ecmascript)"); -const createFromReadableStream = _client.createFromReadableStream; -const createFromFetch = _client.createFromFetch; -let createDebugChannel; -if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable -; -function doMpaNavigation(url) { - return (0, _routeparams.urlToUrlWithoutFlightMarker)(new URL(url, location.origin)).toString(); -} -let isPageUnloading = false; -if (typeof window !== 'undefined') { - // Track when the page is unloading, e.g. due to reloading the page or - // performing hard navigations. This allows us to suppress error logging when - // the browser cancels in-flight requests during page unload. - window.addEventListener('pagehide', ()=>{ - isPageUnloading = true; - }); - // Reset the flag on pageshow, e.g. when navigating back and the JavaScript - // execution context is restored by the browser. - window.addEventListener('pageshow', ()=>{ - isPageUnloading = false; - }); -} -async function fetchServerResponse(url, options) { - const { flightRouterState, nextUrl } = options; - const headers = { - // Enable flight response - [_approuterheaders.RSC_HEADER]: '1', - // Provide the current router state - [_approuterheaders.NEXT_ROUTER_STATE_TREE_HEADER]: (0, _flightdatahelpers.prepareFlightRouterStateForRequest)(flightRouterState, options.isHmrRefresh) - }; - if (("TURBOPACK compile-time value", "development") === 'development' && options.isHmrRefresh) { - headers[_approuterheaders.NEXT_HMR_REFRESH_HEADER] = '1'; - } - if (nextUrl) { - headers[_approuterheaders.NEXT_URL] = nextUrl; - } - // In static export mode, we need to modify the URL to request the .txt file, - // but we should preserve the original URL for the canonical URL and error handling. - const originalUrl = url; - try { - if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable - ; - // Typically, during a navigation, we decode the response using Flight's - // `createFromFetch` API, which accepts a `fetch` promise. - // TODO: Remove this check once the old PPR flag is removed - const isLegacyPPR = ("TURBOPACK compile-time value", false) && !("TURBOPACK compile-time value", false); - const shouldImmediatelyDecode = !isLegacyPPR; - const res = await createFetch(url, headers, 'auto', shouldImmediatelyDecode); - const responseUrl = (0, _routeparams.urlToUrlWithoutFlightMarker)(new URL(res.url)); - const canonicalUrl = res.redirected ? responseUrl : originalUrl; - const contentType = res.headers.get('content-type') || ''; - const interception = !!res.headers.get('vary')?.includes(_approuterheaders.NEXT_URL); - const postponed = !!res.headers.get(_approuterheaders.NEXT_DID_POSTPONE_HEADER); - const staleTimeHeaderSeconds = res.headers.get(_approuterheaders.NEXT_ROUTER_STALE_TIME_HEADER); - const staleTime = staleTimeHeaderSeconds !== null ? parseInt(staleTimeHeaderSeconds, 10) * 1000 : -1; - let isFlightResponse = contentType.startsWith(_approuterheaders.RSC_CONTENT_TYPE_HEADER); - if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable - ; - // If fetch returns something different than flight response handle it like a mpa navigation - // If the fetch was not 200, we also handle it like a mpa navigation - if (!isFlightResponse || !res.ok || !res.body) { - // in case the original URL came with a hash, preserve it before redirecting to the new URL - if (url.hash) { - responseUrl.hash = url.hash; - } - return doMpaNavigation(responseUrl.toString()); - } - // We may navigate to a page that requires a different Webpack runtime. - // In prod, every page will have the same Webpack runtime. - // In dev, the Webpack runtime is minimal for each page. - // We need to ensure the Webpack runtime is updated before executing client-side JS of the new page. - // TODO: This needs to happen in the Flight Client. - // Or Webpack needs to include the runtime update in the Flight response as - // a blocking script. - if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable - ; - let flightResponsePromise = res.flightResponse; - if (flightResponsePromise === null) { - // Typically, `createFetch` would have already started decoding the - // Flight response. If it hasn't, though, we need to decode it now. - // TODO: This should only be reachable if legacy PPR is enabled (i.e. PPR - // without Cache Components). Remove this branch once legacy PPR - // is deleted. - const flightStream = postponed ? createUnclosingPrefetchStream(res.body) : res.body; - flightResponsePromise = createFromNextReadableStream(flightStream, headers); - } - const flightResponse = await flightResponsePromise; - if ((0, _appbuildid.getAppBuildId)() !== flightResponse.b) { - return doMpaNavigation(res.url); - } - const normalizedFlightData = (0, _flightdatahelpers.normalizeFlightData)(flightResponse.f); - if (typeof normalizedFlightData === 'string') { - return doMpaNavigation(normalizedFlightData); - } - return { - flightData: normalizedFlightData, - canonicalUrl: canonicalUrl, - renderedSearch: (0, _routeparams.getRenderedSearch)(res), - couldBeIntercepted: interception, - prerendered: flightResponse.S, - postponed, - staleTime, - debugInfo: flightResponsePromise._debugInfo ?? null - }; - } catch (err) { - if (!isPageUnloading) { - console.error(`Failed to fetch RSC payload for ${originalUrl}. Falling back to browser navigation.`, err); - } - // If fetch fails handle it like a mpa navigation - // TODO-APP: Add a test for the case where a CORS request fails, e.g. external url redirect coming from the response. - // See https://github.com/vercel/next.js/issues/43605#issuecomment-1451617521 for a reproduction. - return originalUrl.toString(); - } -} -async function createFetch(url, headers, fetchPriority, shouldImmediatelyDecode, signal) { - // TODO: In output: "export" mode, the headers do nothing. Omit them (and the - // cache busting search param) from the request so they're - // maximally cacheable. - if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable - ; - const deploymentId = (0, _deploymentid.getDeploymentId)(); - if (deploymentId) { - headers['x-deployment-id'] = deploymentId; - } - if ("TURBOPACK compile-time truthy", 1) { - if (self.__next_r) { - headers[_approuterheaders.NEXT_HTML_REQUEST_ID_HEADER] = self.__next_r; - } - // Create a new request ID for the server action request. The server uses - // this to tag debug information sent via WebSocket to the client, which - // then routes those chunks to the debug channel associated with this ID. - headers[_approuterheaders.NEXT_REQUEST_ID_HEADER] = crypto.getRandomValues(new Uint32Array(1))[0].toString(16); - } - const fetchOptions = { - // Backwards compat for older browsers. `same-origin` is the default in modern browsers. - credentials: 'same-origin', - headers, - priority: fetchPriority || undefined, - signal - }; - // `fetchUrl` is slightly different from `url` because we add a cache-busting - // search param to it. This should not leak outside of this function, so we - // track them separately. - let fetchUrl = new URL(url); - (0, _setcachebustingsearchparam.setCacheBustingSearchParam)(fetchUrl, headers); - let fetchPromise = fetch(fetchUrl, fetchOptions); - // Immediately pass the fetch promise to the Flight client so that the debug - // info includes the latency from the client to the server. The internal timer - // in React starts as soon as `createFromFetch` is called. - // - // The only case where we don't do this is during a prefetch, because we have - // to do some extra processing of the response stream (see - // `createUnclosingPrefetchStream`). But this is fine, because a top-level - // prefetch response never blocks a navigation; if it hasn't already been - // written into the cache by the time the navigation happens, the router will - // go straight to a dynamic request. - let flightResponsePromise = shouldImmediatelyDecode ? createFromNextFetch(fetchPromise, headers) : null; - let browserResponse = await fetchPromise; - // If the server responds with a redirect (e.g. 307), and the redirected - // location does not contain the cache busting search param set in the - // original request, the response is likely invalid — when following the - // redirect, the browser forwards the request headers, but since the cache - // busting search param is missing, the server will reject the request due to - // a mismatch. - // - // Ideally, we would be able to intercept the redirect response and perform it - // manually, instead of letting the browser automatically follow it, but this - // is not allowed by the fetch API. - // - // So instead, we must "replay" the redirect by fetching the new location - // again, but this time we'll append the cache busting search param to prevent - // a mismatch. - // - // TODO: We can optimize Next.js's built-in middleware APIs by returning a - // custom status code, to prevent the browser from automatically following it. - // - // This does not affect Server Action-based redirects; those are encoded - // differently, as part of the Flight body. It only affects redirects that - // occur in a middleware or a third-party proxy. - let redirected = browserResponse.redirected; - if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable - ; - // Remove the cache busting search param from the response URL, to prevent it - // from leaking outside of this function. - const responseUrl = new URL(browserResponse.url, fetchUrl); - responseUrl.searchParams.delete(_approuterheaders.NEXT_RSC_UNION_QUERY); - const rscResponse = { - url: responseUrl.href, - // This is true if any redirects occurred, either automatically by the - // browser, or manually by us. So it's different from - // `browserResponse.redirected`, which only tells us whether the browser - // followed a redirect, and only for the last response in the chain. - redirected, - // These can be copied from the last browser response we received. We - // intentionally only expose the subset of fields that are actually used - // elsewhere in the codebase. - ok: browserResponse.ok, - headers: browserResponse.headers, - body: browserResponse.body, - status: browserResponse.status, - // This is the exact promise returned by `createFromFetch`. It contains - // debug information that we need to transfer to any derived promises that - // are later rendered by React. - flightResponse: flightResponsePromise - }; - return rscResponse; -} -function createFromNextReadableStream(flightStream, requestHeaders) { - return createFromReadableStream(flightStream, { - callServer: _appcallserver.callServer, - findSourceMapURL: _appfindsourcemapurl.findSourceMapURL, - debugChannel: createDebugChannel && createDebugChannel(requestHeaders) - }); -} -function createFromNextFetch(promiseForResponse, requestHeaders) { - return createFromFetch(promiseForResponse, { - callServer: _appcallserver.callServer, - findSourceMapURL: _appfindsourcemapurl.findSourceMapURL, - debugChannel: createDebugChannel && createDebugChannel(requestHeaders) - }); -} -function createUnclosingPrefetchStream(originalFlightStream) { - // When PPR is enabled, prefetch streams may contain references that never - // resolve, because that's how we encode dynamic data access. In the decoded - // object returned by the Flight client, these are reified into hanging - // promises that suspend during render, which is effectively what we want. - // The UI resolves when it switches to the dynamic data stream - // (via useDeferredValue(dynamic, static)). - // - // However, the Flight implementation currently errors if the server closes - // the response before all the references are resolved. As a cheat to work - // around this, we wrap the original stream in a new stream that never closes, - // and therefore doesn't error. - const reader = originalFlightStream.getReader(); - return new ReadableStream({ - async pull (controller) { - while(true){ - const { done, value } = await reader.read(); - if (!done) { - // Pass to the target stream and keep consuming the Flight response - // from the server. - controller.enqueue(value); - continue; - } - // The server stream has closed. Exit, but intentionally do not close - // the target stream. - return; - } - } - }); -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=fetch-server-response.js.map -}), -"[project]/node_modules/next/dist/client/components/router-reducer/create-router-cache-key.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "createRouterCacheKey", { - enumerable: true, - get: function() { - return createRouterCacheKey; - } -}); -const _segment = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/segment.js [app-client] (ecmascript)"); -function createRouterCacheKey(segment, withoutSearchParameters = false) { - // if the segment is an array, it means it's a dynamic segment - // for example, ['lang', 'en', 'd']. We need to convert it to a string to store it as a cache node key. - if (Array.isArray(segment)) { - return `${segment[0]}|${segment[1]}|${segment[2]}`; - } - // Page segments might have search parameters, ie __PAGE__?foo=bar - // When `withoutSearchParameters` is true, we only want to return the page segment - if (withoutSearchParameters && segment.startsWith(_segment.PAGE_SEGMENT_KEY)) { - return _segment.PAGE_SEGMENT_KEY; - } - return segment; -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=create-router-cache-key.js.map -}), -"[project]/node_modules/next/dist/client/components/router-reducer/is-navigating-to-new-root-layout.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "isNavigatingToNewRootLayout", { - enumerable: true, - get: function() { - return isNavigatingToNewRootLayout; - } -}); -function isNavigatingToNewRootLayout(currentTree, nextTree) { - // Compare segments - const currentTreeSegment = currentTree[0]; - const nextTreeSegment = nextTree[0]; - // If any segment is different before we find the root layout, the root layout has changed. - // E.g. /same/(group1)/layout.js -> /same/(group2)/layout.js - // First segment is 'same' for both, keep looking. (group1) changed to (group2) before the root layout was found, it must have changed. - if (Array.isArray(currentTreeSegment) && Array.isArray(nextTreeSegment)) { - // Compare dynamic param name and type but ignore the value, different values would not affect the current root layout - // /[name] - /slug1 and /slug2, both values (slug1 & slug2) still has the same layout /[name]/layout.js - if (currentTreeSegment[0] !== nextTreeSegment[0] || currentTreeSegment[2] !== nextTreeSegment[2]) { - return true; - } - } else if (currentTreeSegment !== nextTreeSegment) { - return true; - } - // Current tree root layout found - if (currentTree[4]) { - // If the next tree doesn't have the root layout flag, it must have changed. - return !nextTree[4]; - } - // Current tree didn't have its root layout here, must have changed. - if (nextTree[4]) { - return true; - } - // We can't assume it's `parallelRoutes.children` here in case the root layout is `app/@something/layout.js` - // But it's not possible to be more than one parallelRoutes before the root layout is found - // TODO-APP: change to traverse all parallel routes - const currentTreeChild = Object.values(currentTree[1])[0]; - const nextTreeChild = Object.values(nextTree[1])[0]; - if (!currentTreeChild || !nextTreeChild) return true; - return isNavigatingToNewRootLayout(currentTreeChild, nextTreeChild); -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=is-navigating-to-new-root-layout.js.map -}), -"[project]/node_modules/next/dist/client/components/router-reducer/ppr-navigations.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - FreshnessPolicy: null, - createInitialCacheNodeForHydration: null, - isDeferredRsc: null, - spawnDynamicRequests: null, - startPPRNavigation: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - FreshnessPolicy: function() { - return FreshnessPolicy; - }, - createInitialCacheNodeForHydration: function() { - return createInitialCacheNodeForHydration; - }, - isDeferredRsc: function() { - return isDeferredRsc; - }, - spawnDynamicRequests: function() { - return spawnDynamicRequests; - }, - startPPRNavigation: function() { - return startPPRNavigation; - } -}); -const _segment = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/segment.js [app-client] (ecmascript)"); -const _matchsegments = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/match-segments.js [app-client] (ecmascript)"); -const _createhreffromurl = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/create-href-from-url.js [app-client] (ecmascript)"); -const _createroutercachekey = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/create-router-cache-key.js [app-client] (ecmascript)"); -const _fetchserverresponse = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/fetch-server-response.js [app-client] (ecmascript)"); -const _useactionqueue = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/use-action-queue.js [app-client] (ecmascript)"); -const _routerreducertypes = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/router-reducer-types.js [app-client] (ecmascript)"); -const _isnavigatingtonewrootlayout = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/is-navigating-to-new-root-layout.js [app-client] (ecmascript)"); -const _navigatereducer = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/reducers/navigate-reducer.js [app-client] (ecmascript)"); -const _navigation = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/segment-cache/navigation.js [app-client] (ecmascript)"); -var FreshnessPolicy = /*#__PURE__*/ function(FreshnessPolicy) { - FreshnessPolicy[FreshnessPolicy["Default"] = 0] = "Default"; - FreshnessPolicy[FreshnessPolicy["Hydration"] = 1] = "Hydration"; - FreshnessPolicy[FreshnessPolicy["HistoryTraversal"] = 2] = "HistoryTraversal"; - FreshnessPolicy[FreshnessPolicy["RefreshAll"] = 3] = "RefreshAll"; - FreshnessPolicy[FreshnessPolicy["HMRRefresh"] = 4] = "HMRRefresh"; - return FreshnessPolicy; -}({}); -const noop = ()=>{}; -function createInitialCacheNodeForHydration(navigatedAt, initialTree, seedData, seedHead) { - // Create the initial cache node tree, using the data embedded into the - // HTML document. - const accumulation = { - scrollableSegments: null, - separateRefreshUrls: null - }; - const task = createCacheNodeOnNavigation(navigatedAt, initialTree, undefined, 1, seedData, seedHead, null, null, false, null, null, false, accumulation); - // NOTE: We intentionally don't check if any data needs to be fetched from the - // server. We assume the initial hydration payload is sufficient to render - // the page. - // - // The completeness of the initial data is an important property that we rely - // on as a last-ditch mechanism for recovering the app; we must always be able - // to reload a fresh HTML document to get to a consistent state. - // - // In the future, there may be cases where the server intentionally sends - // partial data and expects the client to fill in the rest, in which case this - // logic may change. (There already is a similar case where the server sends - // _no_ hydration data in the HTML document at all, and the client fetches it - // separately, but that's different because we still end up hydrating with a - // complete tree.) - return task.node; -} -function startPPRNavigation(navigatedAt, oldUrl, oldCacheNode, oldRouterState, newRouterState, freshness, seedData, seedHead, prefetchData, prefetchHead, isPrefetchHeadPartial, isSamePageNavigation, accumulation) { - const didFindRootLayout = false; - const parentNeedsDynamicRequest = false; - const parentRefreshUrl = null; - return updateCacheNodeOnNavigation(navigatedAt, oldUrl, oldCacheNode !== null ? oldCacheNode : undefined, oldRouterState, newRouterState, freshness, didFindRootLayout, seedData, seedHead, prefetchData, prefetchHead, isPrefetchHeadPartial, isSamePageNavigation, null, null, parentNeedsDynamicRequest, parentRefreshUrl, accumulation); -} -function updateCacheNodeOnNavigation(navigatedAt, oldUrl, oldCacheNode, oldRouterState, newRouterState, freshness, didFindRootLayout, seedData, seedHead, prefetchData, prefetchHead, isPrefetchHeadPartial, isSamePageNavigation, parentSegmentPath, parentParallelRouteKey, parentNeedsDynamicRequest, parentRefreshUrl, accumulation) { - // Check if this segment matches the one in the previous route. - const oldSegment = oldRouterState[0]; - const newSegment = newRouterState[0]; - if (!(0, _matchsegments.matchSegment)(newSegment, oldSegment)) { - // This segment does not match the previous route. We're now entering the - // new part of the target route. Switch to the "create" path. - if (// highest-level layout in a route tree is referred to as the "root" - // layout.) This could mean that we're navigating between two different - // root layouts. When this happens, we perform a full-page (MPA-style) - // navigation. - // - // However, the algorithm for deciding where to start rendering a route - // (i.e. the one performed in order to reach this function) is stricter - // than the one used to detect a change in the root layout. So just - // because we're re-rendering a segment outside of the root layout does - // not mean we should trigger a full-page navigation. - // - // Specifically, we handle dynamic parameters differently: two segments - // are considered the same even if their parameter values are different. - // - // Refer to isNavigatingToNewRootLayout for details. - // - // Note that we only have to perform this extra traversal if we didn't - // already discover a root layout in the part of the tree that is - // unchanged. We also only need to compare the subtree that is not - // shared. In the common case, this branch is skipped completely. - !didFindRootLayout && (0, _isnavigatingtonewrootlayout.isNavigatingToNewRootLayout)(oldRouterState, newRouterState) || // The global Not Found route (app/global-not-found.tsx) is a special - // case, because it acts like a root layout, but in the router tree, it - // is rendered in the same position as app/layout.tsx. - // - // Any navigation to the global Not Found route should trigger a - // full-page navigation. - // - // TODO: We should probably model this by changing the key of the root - // segment when this happens. Then the root layout check would work - // as expected, without a special case. - newSegment === _segment.NOT_FOUND_SEGMENT_KEY) { - return null; - } - if (parentSegmentPath === null || parentParallelRouteKey === null) { - // The root should never mismatch. If it does, it suggests an internal - // Next.js error, or a malformed server response. Trigger a full- - // page navigation. - return null; - } - return createCacheNodeOnNavigation(navigatedAt, newRouterState, oldCacheNode, freshness, seedData, seedHead, prefetchData, prefetchHead, isPrefetchHeadPartial, parentSegmentPath, parentParallelRouteKey, parentNeedsDynamicRequest, accumulation); - } - // TODO: The segment paths are tracked so that LayoutRouter knows which - // segments to scroll to after a navigation. But we should just mark this - // information on the CacheNode directly. It used to be necessary to do this - // separately because CacheNodes were created lazily during render, not when - // rather than when creating the route tree. - const segmentPath = parentParallelRouteKey !== null && parentSegmentPath !== null ? parentSegmentPath.concat([ - parentParallelRouteKey, - newSegment - ]) : []; - const newRouterStateChildren = newRouterState[1]; - const oldRouterStateChildren = oldRouterState[1]; - const seedDataChildren = seedData !== null ? seedData[1] : null; - const prefetchDataChildren = prefetchData !== null ? prefetchData[1] : null; - // We're currently traversing the part of the tree that was also part of - // the previous route. If we discover a root layout, then we don't need to - // trigger an MPA navigation. - const isRootLayout = newRouterState[4] === true; - const childDidFindRootLayout = didFindRootLayout || isRootLayout; - const oldParallelRoutes = oldCacheNode !== undefined ? oldCacheNode.parallelRoutes : undefined; - // Clone the current set of segment children, even if they aren't active in - // the new tree. - // TODO: We currently retain all the inactive segments indefinitely, until - // there's an explicit refresh, or a parent layout is lazily refreshed. We - // rely on this for popstate navigations, which update the Router State Tree - // but do not eagerly perform a data fetch, because they expect the segment - // data to already be in the Cache Node tree. For highly static sites that - // are mostly read-only, this may happen only rarely, causing memory to - // leak. We should figure out a better model for the lifetime of inactive - // segments, so we can maintain instant back/forward navigations without - // leaking memory indefinitely. - let shouldDropSiblingCaches = false; - let shouldRefreshDynamicData = false; - switch(freshness){ - case 0: - case 2: - case 1: - // We should never drop dynamic data in shared layouts, except during - // a refresh. - shouldDropSiblingCaches = false; - shouldRefreshDynamicData = false; - break; - case 3: - case 4: - shouldDropSiblingCaches = true; - shouldRefreshDynamicData = true; - break; - default: - freshness; - break; - } - const newParallelRoutes = new Map(shouldDropSiblingCaches ? undefined : oldParallelRoutes); - // TODO: We're not consistent about how we do this check. Some places - // check if the segment starts with PAGE_SEGMENT_KEY, but most seem to - // check if there any any children, which is why I'm doing it here. We - // should probably encode an empty children set as `null` though. Either - // way, we should update all the checks to be consistent. - const isLeafSegment = Object.keys(newRouterStateChildren).length === 0; - // Get the data for this segment. Since it was part of the previous route, - // usually we just clone the data from the old CacheNode. However, during a - // refresh or a revalidation, there won't be any existing CacheNode. So we - // may need to consult the prefetch cache, like we would for a new segment. - let newCacheNode; - let needsDynamicRequest; - if (oldCacheNode !== undefined && !shouldRefreshDynamicData && // During a same-page navigation, we always refetch the page segments - !(isLeafSegment && isSamePageNavigation)) { - // Reuse the existing CacheNode - const dropPrefetchRsc = false; - newCacheNode = reuseDynamicCacheNode(dropPrefetchRsc, oldCacheNode, newParallelRoutes); - needsDynamicRequest = false; - } else if (seedData !== null && seedData[0] !== null) { - // If this navigation was the result of an action, then check if the - // server sent back data in the action response. We should favor using - // that, rather than performing a separate request. This is both better - // for performance and it's more likely to be consistent with any - // writes that were just performed by the action, compared to a - // separate request. - const seedRsc = seedData[0]; - const seedLoading = seedData[2]; - const isSeedRscPartial = false; - const isSeedHeadPartial = seedHead === null; - newCacheNode = readCacheNodeFromSeedData(seedRsc, seedLoading, isSeedRscPartial, seedHead, isSeedHeadPartial, isLeafSegment, newParallelRoutes, navigatedAt); - needsDynamicRequest = isLeafSegment && isSeedHeadPartial; - } else if (prefetchData !== null) { - // Consult the prefetch cache. - const prefetchRsc = prefetchData[0]; - const prefetchLoading = prefetchData[2]; - const isPrefetchRSCPartial = prefetchData[3]; - newCacheNode = readCacheNodeFromSeedData(prefetchRsc, prefetchLoading, isPrefetchRSCPartial, prefetchHead, isPrefetchHeadPartial, isLeafSegment, newParallelRoutes, navigatedAt); - needsDynamicRequest = isPrefetchRSCPartial || isLeafSegment && isPrefetchHeadPartial; - } else { - // Spawn a request to fetch new data from the server. - newCacheNode = spawnNewCacheNode(newParallelRoutes, isLeafSegment, navigatedAt, freshness); - needsDynamicRequest = true; - } - // During a refresh navigation, there's a special case that happens when - // entering a "default" slot. The default slot may not be part of the - // current route; it may have been reused from an older route. If so, - // we need to fetch its data from the old route's URL rather than current - // route's URL. Keep track of this as we traverse the tree. - const href = newRouterState[2]; - const refreshUrl = typeof href === 'string' && newRouterState[3] === 'refresh' ? href : parentRefreshUrl; - // If this segment itself needs to fetch new data from the server, then by - // definition it is being refreshed. Track its refresh URL so we know which - // URL to request the data from. - if (needsDynamicRequest && refreshUrl !== null) { - accumulateRefreshUrl(accumulation, refreshUrl); - } - // As we diff the trees, we may sometimes modify (copy-on-write, not mutate) - // the Route Tree that was returned by the server — for example, in the case - // of default parallel routes, we preserve the currently active segment. To - // avoid mutating the original tree, we clone the router state children along - // the return path. - let patchedRouterStateChildren = {}; - let taskChildren = null; - // Most navigations require a request to fetch additional data from the - // server, either because the data was not already prefetched, or because the - // target route contains dynamic data that cannot be prefetched. - // - // However, if the target route is fully static, and it's already completely - // loaded into the segment cache, then we can skip the server request. - // - // This starts off as `false`, and is set to `true` if any of the child - // routes requires a dynamic request. - let childNeedsDynamicRequest = false; - // As we traverse the children, we'll construct a FlightRouterState that can - // be sent to the server to request the dynamic data. If it turns out that - // nothing in the subtree is dynamic (i.e. childNeedsDynamicRequest is false - // at the end), then this will be discarded. - // TODO: We can probably optimize the format of this data structure to only - // include paths that are dynamic. Instead of reusing the - // FlightRouterState type. - let dynamicRequestTreeChildren = {}; - for(let parallelRouteKey in newRouterStateChildren){ - let newRouterStateChild = newRouterStateChildren[parallelRouteKey]; - const oldRouterStateChild = oldRouterStateChildren[parallelRouteKey]; - if (oldRouterStateChild === undefined) { - // This should never happen, but if it does, it suggests a malformed - // server response. Trigger a full-page navigation. - return null; - } - const oldSegmentMapChild = oldParallelRoutes !== undefined ? oldParallelRoutes.get(parallelRouteKey) : undefined; - let seedDataChild = seedDataChildren !== null ? seedDataChildren[parallelRouteKey] : null; - let prefetchDataChild = prefetchDataChildren !== null ? prefetchDataChildren[parallelRouteKey] : null; - let newSegmentChild = newRouterStateChild[0]; - let seedHeadChild = seedHead; - let prefetchHeadChild = prefetchHead; - let isPrefetchHeadPartialChild = isPrefetchHeadPartial; - if (// was stashed in the history entry as-is. - freshness !== 2 && newSegmentChild === _segment.DEFAULT_SEGMENT_KEY) { - // This is a "default" segment. These are never sent by the server during - // a soft navigation; instead, the client reuses whatever segment was - // already active in that slot on the previous route. - newRouterStateChild = reuseActiveSegmentInDefaultSlot(oldUrl, oldRouterStateChild); - newSegmentChild = newRouterStateChild[0]; - // Since we're switching to a different route tree, these are no - // longer valid, because they correspond to the outer tree. - seedDataChild = null; - seedHeadChild = null; - prefetchDataChild = null; - prefetchHeadChild = null; - isPrefetchHeadPartialChild = false; - } - const newSegmentKeyChild = (0, _createroutercachekey.createRouterCacheKey)(newSegmentChild); - const oldCacheNodeChild = oldSegmentMapChild !== undefined ? oldSegmentMapChild.get(newSegmentKeyChild) : undefined; - const taskChild = updateCacheNodeOnNavigation(navigatedAt, oldUrl, oldCacheNodeChild, oldRouterStateChild, newRouterStateChild, freshness, childDidFindRootLayout, seedDataChild ?? null, seedHeadChild, prefetchDataChild ?? null, prefetchHeadChild, isPrefetchHeadPartialChild, isSamePageNavigation, segmentPath, parallelRouteKey, parentNeedsDynamicRequest || needsDynamicRequest, refreshUrl, accumulation); - if (taskChild === null) { - // One of the child tasks discovered a change to the root layout. - // Immediately unwind from this recursive traversal. This will trigger a - // full-page navigation. - return null; - } - // Recursively propagate up the child tasks. - if (taskChildren === null) { - taskChildren = new Map(); - } - taskChildren.set(parallelRouteKey, taskChild); - const newCacheNodeChild = taskChild.node; - if (newCacheNodeChild !== null) { - const newSegmentMapChild = new Map(shouldDropSiblingCaches ? undefined : oldSegmentMapChild); - newSegmentMapChild.set(newSegmentKeyChild, newCacheNodeChild); - newParallelRoutes.set(parallelRouteKey, newSegmentMapChild); - } - // The child tree's route state may be different from the prefetched - // route sent by the server. We need to clone it as we traverse back up - // the tree. - const taskChildRoute = taskChild.route; - patchedRouterStateChildren[parallelRouteKey] = taskChildRoute; - const dynamicRequestTreeChild = taskChild.dynamicRequestTree; - if (dynamicRequestTreeChild !== null) { - // Something in the child tree is dynamic. - childNeedsDynamicRequest = true; - dynamicRequestTreeChildren[parallelRouteKey] = dynamicRequestTreeChild; - } else { - dynamicRequestTreeChildren[parallelRouteKey] = taskChildRoute; - } - } - return { - status: needsDynamicRequest ? 0 : 1, - route: patchRouterStateWithNewChildren(newRouterState, patchedRouterStateChildren), - node: newCacheNode, - dynamicRequestTree: createDynamicRequestTree(newRouterState, dynamicRequestTreeChildren, needsDynamicRequest, childNeedsDynamicRequest, parentNeedsDynamicRequest), - refreshUrl, - children: taskChildren - }; -} -function createCacheNodeOnNavigation(navigatedAt, newRouterState, oldCacheNode, freshness, seedData, seedHead, prefetchData, prefetchHead, isPrefetchHeadPartial, parentSegmentPath, parentParallelRouteKey, parentNeedsDynamicRequest, accumulation) { - // Same traversal as updateCacheNodeNavigation, but simpler. We switch to this - // path once we reach the part of the tree that was not in the previous route. - // We don't need to diff against the old tree, we just need to create a new - // one. We also don't need to worry about any refresh-related logic. - // - // For the most part, this is a subset of updateCacheNodeOnNavigation, so any - // change that happens in this function likely needs to be applied to that - // one, too. However there are some places where the behavior intentionally - // diverges, which is why we keep them separate. - const newSegment = newRouterState[0]; - const segmentPath = parentParallelRouteKey !== null && parentSegmentPath !== null ? parentSegmentPath.concat([ - parentParallelRouteKey, - newSegment - ]) : []; - const newRouterStateChildren = newRouterState[1]; - const prefetchDataChildren = prefetchData !== null ? prefetchData[1] : null; - const seedDataChildren = seedData !== null ? seedData[1] : null; - const oldParallelRoutes = oldCacheNode !== undefined ? oldCacheNode.parallelRoutes : undefined; - let shouldDropSiblingCaches = false; - let shouldRefreshDynamicData = false; - let dropPrefetchRsc = false; - switch(freshness){ - case 0: - // We should never drop dynamic data in sibling caches except during - // a refresh. - shouldDropSiblingCaches = false; - // Only reuse the dynamic data if experimental.staleTimes.dynamic config - // is set, and the data is not stale. (This is not a recommended API with - // Cache Components, but it's supported for backwards compatibility. Use - // cacheLife instead.) - // - // DYNAMIC_STALETIME_MS defaults to 0, but it can be increased. - shouldRefreshDynamicData = oldCacheNode === undefined || navigatedAt - oldCacheNode.navigatedAt >= _navigatereducer.DYNAMIC_STALETIME_MS; - dropPrefetchRsc = false; - break; - case 1: - // During hydration, we assume the data sent by the server is both - // consistent and complete. - shouldRefreshDynamicData = false; - shouldDropSiblingCaches = false; - dropPrefetchRsc = false; - break; - case 2: - // During back/forward navigations, we reuse the dynamic data regardless - // of how stale it may be. - shouldRefreshDynamicData = false; - shouldRefreshDynamicData = false; - // Only show prefetched data if the dynamic data is still pending. This - // avoids a flash back to the prefetch state in a case where it's highly - // likely to have already streamed in. - // - // Tehnically, what we're actually checking is whether the dynamic network - // response was received. But since it's a streaming response, this does - // not mean that all the dynamic data has fully streamed in. It just means - // that _some_ of the dynamic data was received. But as a heuristic, we - // assume that the rest dynamic data will stream in quickly, so it's still - // better to skip the prefetch state. - if (oldCacheNode !== undefined) { - const oldRsc = oldCacheNode.rsc; - const oldRscDidResolve = !isDeferredRsc(oldRsc) || oldRsc.status !== 'pending'; - dropPrefetchRsc = oldRscDidResolve; - } else { - dropPrefetchRsc = false; - } - break; - case 3: - case 4: - // Drop all dynamic data. - shouldRefreshDynamicData = true; - shouldDropSiblingCaches = true; - dropPrefetchRsc = false; - break; - default: - freshness; - break; - } - const newParallelRoutes = new Map(shouldDropSiblingCaches ? undefined : oldParallelRoutes); - const isLeafSegment = Object.keys(newRouterStateChildren).length === 0; - if (isLeafSegment) { - // The segment path of every leaf segment (i.e. page) is collected into - // a result array. This is used by the LayoutRouter to scroll to ensure that - // new pages are visible after a navigation. - // - // This only happens for new pages, not for refreshed pages. - // - // TODO: We should use a string to represent the segment path instead of - // an array. We already use a string representation for the path when - // accessing the Segment Cache, so we can use the same one. - if (accumulation.scrollableSegments === null) { - accumulation.scrollableSegments = []; - } - accumulation.scrollableSegments.push(segmentPath); - } - let newCacheNode; - let needsDynamicRequest; - if (!shouldRefreshDynamicData && oldCacheNode !== undefined) { - // Reuse the existing CacheNode - newCacheNode = reuseDynamicCacheNode(dropPrefetchRsc, oldCacheNode, newParallelRoutes); - needsDynamicRequest = false; - } else if (seedData !== null && seedData[0] !== null) { - // If this navigation was the result of an action, then check if the - // server sent back data in the action response. We should favor using - // that, rather than performing a separate request. This is both better - // for performance and it's more likely to be consistent with any - // writes that were just performed by the action, compared to a - // separate request. - const seedRsc = seedData[0]; - const seedLoading = seedData[2]; - const isSeedRscPartial = false; - const isSeedHeadPartial = seedHead === null && freshness !== 1; - newCacheNode = readCacheNodeFromSeedData(seedRsc, seedLoading, isSeedRscPartial, seedHead, isSeedHeadPartial, isLeafSegment, newParallelRoutes, navigatedAt); - needsDynamicRequest = isLeafSegment && isSeedHeadPartial; - } else if (freshness === 1 && isLeafSegment && seedHead !== null) { - // This is another weird case related to "not found" pages and hydration. - // There will be a head sent by the server, but no page seed data. - // TODO: We really should get rid of all these "not found" specific quirks - // and make sure the tree is always consistent. - const seedRsc = null; - const seedLoading = null; - const isSeedRscPartial = false; - const isSeedHeadPartial = false; - newCacheNode = readCacheNodeFromSeedData(seedRsc, seedLoading, isSeedRscPartial, seedHead, isSeedHeadPartial, isLeafSegment, newParallelRoutes, navigatedAt); - needsDynamicRequest = false; - } else if (freshness !== 1 && prefetchData !== null) { - // Consult the prefetch cache. - const prefetchRsc = prefetchData[0]; - const prefetchLoading = prefetchData[2]; - const isPrefetchRSCPartial = prefetchData[3]; - newCacheNode = readCacheNodeFromSeedData(prefetchRsc, prefetchLoading, isPrefetchRSCPartial, prefetchHead, isPrefetchHeadPartial, isLeafSegment, newParallelRoutes, navigatedAt); - needsDynamicRequest = isPrefetchRSCPartial || isLeafSegment && isPrefetchHeadPartial; - } else { - // Spawn a request to fetch new data from the server. - newCacheNode = spawnNewCacheNode(newParallelRoutes, isLeafSegment, navigatedAt, freshness); - needsDynamicRequest = true; - } - let patchedRouterStateChildren = {}; - let taskChildren = null; - let childNeedsDynamicRequest = false; - let dynamicRequestTreeChildren = {}; - for(let parallelRouteKey in newRouterStateChildren){ - const newRouterStateChild = newRouterStateChildren[parallelRouteKey]; - const oldSegmentMapChild = oldParallelRoutes !== undefined ? oldParallelRoutes.get(parallelRouteKey) : undefined; - const seedDataChild = seedDataChildren !== null ? seedDataChildren[parallelRouteKey] : null; - const prefetchDataChild = prefetchDataChildren !== null ? prefetchDataChildren[parallelRouteKey] : null; - const newSegmentChild = newRouterStateChild[0]; - const newSegmentKeyChild = (0, _createroutercachekey.createRouterCacheKey)(newSegmentChild); - const oldCacheNodeChild = oldSegmentMapChild !== undefined ? oldSegmentMapChild.get(newSegmentKeyChild) : undefined; - const taskChild = createCacheNodeOnNavigation(navigatedAt, newRouterStateChild, oldCacheNodeChild, freshness, seedDataChild ?? null, seedHead, prefetchDataChild ?? null, prefetchHead, isPrefetchHeadPartial, segmentPath, parallelRouteKey, parentNeedsDynamicRequest || needsDynamicRequest, accumulation); - if (taskChildren === null) { - taskChildren = new Map(); - } - taskChildren.set(parallelRouteKey, taskChild); - const newCacheNodeChild = taskChild.node; - if (newCacheNodeChild !== null) { - const newSegmentMapChild = new Map(shouldDropSiblingCaches ? undefined : oldSegmentMapChild); - newSegmentMapChild.set(newSegmentKeyChild, newCacheNodeChild); - newParallelRoutes.set(parallelRouteKey, newSegmentMapChild); - } - const taskChildRoute = taskChild.route; - patchedRouterStateChildren[parallelRouteKey] = taskChildRoute; - const dynamicRequestTreeChild = taskChild.dynamicRequestTree; - if (dynamicRequestTreeChild !== null) { - childNeedsDynamicRequest = true; - dynamicRequestTreeChildren[parallelRouteKey] = dynamicRequestTreeChild; - } else { - dynamicRequestTreeChildren[parallelRouteKey] = taskChildRoute; - } - } - return { - status: needsDynamicRequest ? 0 : 1, - route: patchRouterStateWithNewChildren(newRouterState, patchedRouterStateChildren), - node: newCacheNode, - dynamicRequestTree: createDynamicRequestTree(newRouterState, dynamicRequestTreeChildren, needsDynamicRequest, childNeedsDynamicRequest, parentNeedsDynamicRequest), - // This route is not part of the current tree, so there's no reason to - // track the refresh URL. - refreshUrl: null, - children: taskChildren - }; -} -function patchRouterStateWithNewChildren(baseRouterState, newChildren) { - const clone = [ - baseRouterState[0], - newChildren - ]; - // Based on equivalent logic in apply-router-state-patch-to-tree, but should - // confirm whether we need to copy all of these fields. Not sure the server - // ever sends, e.g. the refetch marker. - if (2 in baseRouterState) { - clone[2] = baseRouterState[2]; - } - if (3 in baseRouterState) { - clone[3] = baseRouterState[3]; - } - if (4 in baseRouterState) { - clone[4] = baseRouterState[4]; - } - return clone; -} -function createDynamicRequestTree(newRouterState, dynamicRequestTreeChildren, needsDynamicRequest, childNeedsDynamicRequest, parentNeedsDynamicRequest) { - // Create a FlightRouterState that instructs the server how to render the - // requested segment. - // - // Or, if neither this segment nor any of the children require a new data, - // then we return `null` to skip the request. - let dynamicRequestTree = null; - if (needsDynamicRequest) { - dynamicRequestTree = patchRouterStateWithNewChildren(newRouterState, dynamicRequestTreeChildren); - // The "refetch" marker is set on the top-most segment that requires new - // data. We can omit it if a parent was already marked. - if (!parentNeedsDynamicRequest) { - dynamicRequestTree[3] = 'refetch'; - } - } else if (childNeedsDynamicRequest) { - // This segment does not request new data, but at least one of its - // children does. - dynamicRequestTree = patchRouterStateWithNewChildren(newRouterState, dynamicRequestTreeChildren); - } else { - dynamicRequestTree = null; - } - return dynamicRequestTree; -} -function accumulateRefreshUrl(accumulation, refreshUrl) { - // This is a refresh navigation, and we're inside a "default" slot that's - // not part of the current route; it was reused from an older route. In - // order to get fresh data for this reused route, we need to issue a - // separate request using the old route's URL. - // - // Track these extra URLs in the accumulated result. Later, we'll construct - // an appropriate request for each unique URL in the final set. The reason - // we don't do it immediately here is so we can deduplicate multiple - // instances of the same URL into a single request. See - // listenForDynamicRequest for more details. - const separateRefreshUrls = accumulation.separateRefreshUrls; - if (separateRefreshUrls === null) { - accumulation.separateRefreshUrls = new Set([ - refreshUrl - ]); - } else { - separateRefreshUrls.add(refreshUrl); - } -} -function reuseActiveSegmentInDefaultSlot(oldUrl, oldRouterState) { - // This is a "default" segment. These are never sent by the server during a - // soft navigation; instead, the client reuses whatever segment was already - // active in that slot on the previous route. This means if we later need to - // refresh the segment, it will have to be refetched from the previous route's - // URL. We store it in the Flight Router State. - // - // TODO: We also mark the segment with a "refresh" marker but I think we can - // get rid of that eventually by making sure we only add URLs to page segments - // that are reused. Then the presence of the URL alone is enough. - let reusedRouterState; - const oldRefreshMarker = oldRouterState[3]; - if (oldRefreshMarker === 'refresh') { - // This segment was already reused from an even older route. Keep its - // existing URL and refresh marker. - reusedRouterState = oldRouterState; - } else { - // This segment was not previously reused, and it's not on the new route. - // So it must have been delivered in the old route. - reusedRouterState = patchRouterStateWithNewChildren(oldRouterState, oldRouterState[1]); - reusedRouterState[2] = (0, _createhreffromurl.createHrefFromUrl)(oldUrl); - reusedRouterState[3] = 'refresh'; - } - return reusedRouterState; -} -function reuseDynamicCacheNode(dropPrefetchRsc, existingCacheNode, parallelRoutes) { - // Clone an existing CacheNode's data, with (possibly) new children. - const cacheNode = { - rsc: existingCacheNode.rsc, - prefetchRsc: dropPrefetchRsc ? null : existingCacheNode.prefetchRsc, - head: existingCacheNode.head, - prefetchHead: dropPrefetchRsc ? null : existingCacheNode.prefetchHead, - loading: existingCacheNode.loading, - parallelRoutes, - // Don't update the navigatedAt timestamp, since we're reusing - // existing data. - navigatedAt: existingCacheNode.navigatedAt - }; - return cacheNode; -} -function readCacheNodeFromSeedData(seedRsc, seedLoading, isSeedRscPartial, seedHead, isSeedHeadPartial, isPageSegment, parallelRoutes, navigatedAt) { - // TODO: Currently this is threaded through the navigation logic using the - // CacheNodeSeedData type, but in the future this will read directly from - // the Segment Cache. See readRenderSnapshotFromCache. - let rsc; - let prefetchRsc; - if (isSeedRscPartial) { - // The prefetched data contains dynamic holes. Create a pending promise that - // will be fulfilled when the dynamic data is received from the server. - prefetchRsc = seedRsc; - rsc = createDeferredRsc(); - } else { - // The prefetched data is complete. Use it directly. - prefetchRsc = null; - rsc = seedRsc; - } - // If this is a page segment, also read the head. - let prefetchHead; - let head; - if (isPageSegment) { - if (isSeedHeadPartial) { - prefetchHead = seedHead; - head = createDeferredRsc(); - } else { - prefetchHead = null; - head = seedHead; - } - } else { - prefetchHead = null; - head = null; - } - const cacheNode = { - rsc, - prefetchRsc, - head, - prefetchHead, - // TODO: Technically, a loading boundary could contain dynamic data. We - // should have separate `loading` and `prefetchLoading` fields to handle - // this, like we do for the segment data and head. - loading: seedLoading, - parallelRoutes, - navigatedAt - }; - return cacheNode; -} -function spawnNewCacheNode(parallelRoutes, isLeafSegment, navigatedAt, freshness) { - // We should never spawn network requests during hydration. We must treat the - // initial payload as authoritative, because the initial page load is used - // as a last-ditch mechanism for recovering the app. - // - // This is also an important safety check because if this leaks into the - // server rendering path (which theoretically it never should because - // the server payload should be consistent), the server would hang because - // these promises would never resolve. - // - // TODO: There is an existing case where the global "not found" boundary - // triggers this path. But it does render correctly despite that. That's an - // unusual render path so it's not surprising, but we should look into - // modeling it in a more consistent way. See also the /_notFound special - // case in updateCacheNodeOnNavigation. - const isHydration = freshness === 1; - const cacheNode = { - rsc: !isHydration ? createDeferredRsc() : null, - prefetchRsc: null, - head: !isHydration && isLeafSegment ? createDeferredRsc() : null, - prefetchHead: null, - loading: !isHydration ? createDeferredRsc() : null, - parallelRoutes, - navigatedAt - }; - return cacheNode; -} -// Represents whether the previuos navigation resulted in a route tree mismatch. -// A mismatch results in a refresh of the page. If there are two successive -// mismatches, we will fall back to an MPA navigation, to prevent a retry loop. -let previousNavigationDidMismatch = false; -function spawnDynamicRequests(task, primaryUrl, nextUrl, freshnessPolicy, accumulation) { - const dynamicRequestTree = task.dynamicRequestTree; - if (dynamicRequestTree === null) { - // This navigation was fully cached. There are no dynamic requests to spawn. - previousNavigationDidMismatch = false; - return; - } - // This is intentionally not an async function to discourage the caller from - // awaiting the result. Any subsequent async operations spawned by this - // function should result in a separate navigation task, rather than - // block the original one. - // - // In this function we spawn (but do not await) all the network requests that - // block the navigation, and collect the promises. The next function, - // `finishNavigationTask`, can await the promises in any order without - // accidentally introducing a network waterfall. - const primaryRequestPromise = fetchMissingDynamicData(task, dynamicRequestTree, primaryUrl, nextUrl, freshnessPolicy); - const separateRefreshUrls = accumulation.separateRefreshUrls; - let refreshRequestPromises = null; - if (separateRefreshUrls !== null) { - // There are multiple URLs that we need to request the data from. This - // happens when a "default" parallel route slot is present in the tree, and - // its data cannot be fetched from the current route. We need to split the - // combined dynamic request tree into separate requests per URL. - // TODO: Create a scoped dynamic request tree that omits anything that - // is not relevant to the given URL. Without doing this, the server may - // sometimes render more data than necessary; this is not a regression - // compared to the pre-Segment Cache implementation, though, just an - // optimization we can make in the future. - // Construct a request tree for each additional refresh URL. This will - // prune away everything except the parts of the tree that match the - // given refresh URL. - refreshRequestPromises = []; - const canonicalUrl = (0, _createhreffromurl.createHrefFromUrl)(primaryUrl); - for (const refreshUrl of separateRefreshUrls){ - if (refreshUrl === canonicalUrl) { - continue; - } - // TODO: Create a scoped dynamic request tree that omits anything that - // is not relevant to the given URL. Without doing this, the server may - // sometimes render more data than necessary; this is not a regression - // compared to the pre-Segment Cache implementation, though, just an - // optimization we can make in the future. - // const scopedDynamicRequestTree = splitTaskByURL(task, refreshUrl) - const scopedDynamicRequestTree = dynamicRequestTree; - if (scopedDynamicRequestTree !== null) { - refreshRequestPromises.push(fetchMissingDynamicData(task, scopedDynamicRequestTree, new URL(refreshUrl, location.origin), // time the refresh URL was set, not the current Next-Url. Need to - // start tracking this alongside the refresh URL. In the meantime, - // if a refresh fails due to a mismatch, it will trigger a - // hard refresh. - nextUrl, freshnessPolicy)); - } - } - } - // Further async operations are moved into this separate function to - // discourage sequential network requests. - const voidPromise = finishNavigationTask(task, nextUrl, primaryRequestPromise, refreshRequestPromises); - // `finishNavigationTask` is responsible for error handling, so we can attach - // noop callbacks to this promise. - voidPromise.then(noop, noop); -} -async function finishNavigationTask(task, nextUrl, primaryRequestPromise, refreshRequestPromises) { - // Wait for all the requests to finish, or for the first one to fail. - let exitStatus = await waitForRequestsToFinish(primaryRequestPromise, refreshRequestPromises); - // Once the all the requests have finished, check the tree for any remaining - // pending tasks. If anything is still pending, it means the server response - // does not match the client, and we must refresh to get back to a consistent - // state. We can skip this step if we already detected a mismatch during the - // first phase; it doesn't matter in that case because we're going to refresh - // the whole tree regardless. - if (exitStatus === 0) { - exitStatus = abortRemainingPendingTasks(task, null, null); - } - switch(exitStatus){ - case 0: - { - // The task has completely finished. There's no missing data. Exit. - previousNavigationDidMismatch = false; - return; - } - case 1: - { - // Some data failed to finish loading. Trigger a soft retry. - // TODO: As an extra precaution against soft retry loops, consider - // tracking whether a navigation was itself triggered by a retry. If two - // happen in a row, fall back to a hard retry. - const isHardRetry = false; - const primaryRequestResult = await primaryRequestPromise; - dispatchRetryDueToTreeMismatch(isHardRetry, primaryRequestResult.url, nextUrl, primaryRequestResult.seed, task.route); - return; - } - case 2: - { - // Some data failed to finish loading in a non-recoverable way, such as a - // network error. Trigger an MPA navigation. - // - // Hard navigating/refreshing is how we prevent an infinite retry loop - // caused by a network error — when the network fails, we fall back to the - // browser behavior for offline navigations. In the future, Next.js may - // introduce its own custom handling of offline navigations, but that - // doesn't exist yet. - const isHardRetry = true; - const primaryRequestResult = await primaryRequestPromise; - dispatchRetryDueToTreeMismatch(isHardRetry, primaryRequestResult.url, nextUrl, primaryRequestResult.seed, task.route); - return; - } - default: - { - return exitStatus; - } - } -} -function waitForRequestsToFinish(primaryRequestPromise, refreshRequestPromises) { - // Custom async combinator logic. This could be replaced by Promise.any but - // we don't assume that's available. - // - // Each promise resolves once the server responsds and the data is written - // into the CacheNode tree. Resolve the combined promise once all the - // requests finish. - // - // Or, resolve as soon as one of the requests fails, without waiting for the - // others to finish. - return new Promise((resolve)=>{ - const onFulfill = (result)=>{ - if (result.exitStatus === 0) { - remainingCount--; - if (remainingCount === 0) { - // All the requests finished successfully. - resolve(0); - } - } else { - // One of the requests failed. Exit with a failing status. - // NOTE: It's possible for one of the requests to fail with SoftRetry - // and a later one to fail with HardRetry. In this case, we choose to - // retry immediately, rather than delay the retry until all the requests - // finish. If it fails again, we will hard retry on the next - // attempt, anyway. - resolve(result.exitStatus); - } - }; - // onReject shouldn't ever be called because fetchMissingDynamicData's - // entire body is wrapped in a try/catch. This is just defensive. - const onReject = ()=>resolve(2); - // Attach the listeners to the promises. - let remainingCount = 1; - primaryRequestPromise.then(onFulfill, onReject); - if (refreshRequestPromises !== null) { - remainingCount += refreshRequestPromises.length; - refreshRequestPromises.forEach((refreshRequestPromise)=>refreshRequestPromise.then(onFulfill, onReject)); - } - }); -} -function dispatchRetryDueToTreeMismatch(isHardRetry, retryUrl, retryNextUrl, seed, baseTree) { - // If this is the second time in a row that a navigation resulted in a - // mismatch, fall back to a hard (MPA) refresh. - isHardRetry = isHardRetry || previousNavigationDidMismatch; - previousNavigationDidMismatch = true; - const retryAction = { - type: _routerreducertypes.ACTION_SERVER_PATCH, - previousTree: baseTree, - url: retryUrl, - nextUrl: retryNextUrl, - seed, - mpa: isHardRetry - }; - (0, _useactionqueue.dispatchAppRouterAction)(retryAction); -} -async function fetchMissingDynamicData(task, dynamicRequestTree, url, nextUrl, freshnessPolicy) { - try { - const result = await (0, _fetchserverresponse.fetchServerResponse)(url, { - flightRouterState: dynamicRequestTree, - nextUrl, - isHmrRefresh: freshnessPolicy === 4 - }); - if (typeof result === 'string') { - // fetchServerResponse will return an href to indicate that the SPA - // navigation failed. For example, if the server triggered a hard - // redirect, or the fetch request errored. Initiate an MPA navigation - // to the given href. - return { - exitStatus: 2, - url: new URL(result, location.origin), - seed: null - }; - } - const seed = (0, _navigation.convertServerPatchToFullTree)(task.route, result.flightData, result.renderedSearch); - const didReceiveUnknownParallelRoute = writeDynamicDataIntoNavigationTask(task, seed.tree, seed.data, seed.head, result.debugInfo); - return { - exitStatus: didReceiveUnknownParallelRoute ? 1 : 0, - url: new URL(result.canonicalUrl, location.origin), - seed - }; - } catch { - // This shouldn't happen because fetchServerResponse's entire body is - // wrapped in a try/catch. If it does, though, it implies the server failed - // to respond with any tree at all. So we must fall back to a hard retry. - return { - exitStatus: 2, - url: url, - seed: null - }; - } -} -function writeDynamicDataIntoNavigationTask(task, serverRouterState, dynamicData, dynamicHead, debugInfo) { - if (task.status === 0 && dynamicData !== null) { - task.status = 1; - finishPendingCacheNode(task.node, dynamicData, dynamicHead, debugInfo); - } - const taskChildren = task.children; - const serverChildren = serverRouterState[1]; - const dynamicDataChildren = dynamicData !== null ? dynamicData[1] : null; - // Detect whether the server sends a parallel route slot that the client - // doesn't know about. - let didReceiveUnknownParallelRoute = false; - if (taskChildren !== null) { - for(const parallelRouteKey in serverChildren){ - const serverRouterStateChild = serverChildren[parallelRouteKey]; - const dynamicDataChild = dynamicDataChildren !== null ? dynamicDataChildren[parallelRouteKey] : null; - const taskChild = taskChildren.get(parallelRouteKey); - if (taskChild === undefined) { - // The server sent a child segment that the client doesn't know about. - // - // When we receive an unknown parallel route, we must consider it a - // mismatch. This is unlike the case where the segment itself - // mismatches, because multiple routes can be active simultaneously. - // But a given layout should never have a mismatching set of - // child slots. - // - // Theoretically, this should only happen in development during an HMR - // refresh, because the set of parallel routes for a layout does not - // change over the lifetime of a build/deployment. In production, we - // should have already mismatched on either the build id or the segment - // path. But as an extra precaution, we validate in prod, too. - didReceiveUnknownParallelRoute = true; - } else { - const taskSegment = taskChild.route[0]; - if ((0, _matchsegments.matchSegment)(serverRouterStateChild[0], taskSegment) && dynamicDataChild !== null && dynamicDataChild !== undefined) { - // Found a match for this task. Keep traversing down the task tree. - const childDidReceiveUnknownParallelRoute = writeDynamicDataIntoNavigationTask(taskChild, serverRouterStateChild, dynamicDataChild, dynamicHead, debugInfo); - if (childDidReceiveUnknownParallelRoute) { - didReceiveUnknownParallelRoute = true; - } - } - } - } - } - return didReceiveUnknownParallelRoute; -} -function finishPendingCacheNode(cacheNode, dynamicData, dynamicHead, debugInfo) { - // Writes a dynamic response into an existing Cache Node tree. This does _not_ - // create a new tree, it updates the existing tree in-place. So it must follow - // the Suspense rules of cache safety — it can resolve pending promises, but - // it cannot overwrite existing data. It can add segments to the tree (because - // a missing segment will cause the layout router to suspend). - // but it cannot delete them. - // - // We must resolve every promise in the tree, or else it will suspend - // indefinitely. If we did not receive data for a segment, we will resolve its - // data promise to `null` to trigger a lazy fetch during render. - // Use the dynamic data from the server to fulfill the deferred RSC promise - // on the Cache Node. - const rsc = cacheNode.rsc; - const dynamicSegmentData = dynamicData[0]; - if (dynamicSegmentData === null) { - // This is an empty CacheNode; this particular server request did not - // render this segment. There may be a separate pending request that will, - // though, so we won't abort the task until all pending requests finish. - return; - } - if (rsc === null) { - // This is a lazy cache node. We can overwrite it. This is only safe - // because we know that the LayoutRouter suspends if `rsc` is `null`. - cacheNode.rsc = dynamicSegmentData; - } else if (isDeferredRsc(rsc)) { - // This is a deferred RSC promise. We can fulfill it with the data we just - // received from the server. If it was already resolved by a different - // navigation, then this does nothing because we can't overwrite data. - rsc.resolve(dynamicSegmentData, debugInfo); - } else { - // This is not a deferred RSC promise, nor is it empty, so it must have - // been populated by a different navigation. We must not overwrite it. - } - // If we navigated without a prefetch, then `loading` will be a deferred promise too. - // Fulfill it using the dynamic response so that we can display the loading boundary. - const loading = cacheNode.loading; - if (isDeferredRsc(loading)) { - const dynamicLoading = dynamicData[2]; - loading.resolve(dynamicLoading, debugInfo); - } - // Check if this is a leaf segment. If so, it will have a `head` property with - // a pending promise that needs to be resolved with the dynamic head from - // the server. - const head = cacheNode.head; - if (isDeferredRsc(head)) { - head.resolve(dynamicHead, debugInfo); - } -} -function abortRemainingPendingTasks(task, error, debugInfo) { - let exitStatus; - if (task.status === 0) { - // The data for this segment is still missing. - task.status = 2; - abortPendingCacheNode(task.node, error, debugInfo); - // If the server failed to fulfill the data for this segment, it implies - // that the route tree received from the server mismatched the tree that - // was previously prefetched. - // - // In an app with fully static routes and no proxy-driven redirects or - // rewrites, this should never happen, because the route for a URL would - // always be the same across multiple requests. So, this implies that some - // runtime routing condition changed, likely in a proxy, without being - // pushed to the client. - // - // When this happens, we treat this the same as a refresh(). The entire - // tree will be re-rendered from the root. - if (task.refreshUrl === null) { - // Trigger a "soft" refresh. Essentially the same as calling `refresh()` - // in a Server Action. - exitStatus = 1; - } else { - // The mismatch was discovered inside an inactive parallel route. This - // implies the inactive parallel route is no longer reachable at the URL - // that originally rendered it. Fall back to an MPA refresh. - // TODO: An alternative could be to trigger a soft refresh but to _not_ - // re-use the inactive parallel routes this time. Similar to what would - // happen if were to do a hard refrehs, but without the HTML page. - exitStatus = 2; - } - } else { - // This segment finished. (An error here is treated as Done because they are - // surfaced to the application during render.) - exitStatus = 0; - } - const taskChildren = task.children; - if (taskChildren !== null) { - for (const [, taskChild] of taskChildren){ - const childExitStatus = abortRemainingPendingTasks(taskChild, error, debugInfo); - // Propagate the exit status up the tree. The statuses are ordered by - // their precedence. - if (childExitStatus > exitStatus) { - exitStatus = childExitStatus; - } - } - } - return exitStatus; -} -function abortPendingCacheNode(cacheNode, error, debugInfo) { - const rsc = cacheNode.rsc; - if (isDeferredRsc(rsc)) { - if (error === null) { - // This will trigger a lazy fetch during render. - rsc.resolve(null, debugInfo); - } else { - // This will trigger an error during rendering. - rsc.reject(error, debugInfo); - } - } - const loading = cacheNode.loading; - if (isDeferredRsc(loading)) { - loading.resolve(null, debugInfo); - } - // Check if this is a leaf segment. If so, it will have a `head` property with - // a pending promise that needs to be resolved. If an error was provided, we - // will not resolve it with an error, since this is rendered at the root of - // the app. We want the segment to error, not the entire app. - const head = cacheNode.head; - if (isDeferredRsc(head)) { - head.resolve(null, debugInfo); - } -} -const DEFERRED = Symbol(); -function isDeferredRsc(value) { - return value && typeof value === 'object' && value.tag === DEFERRED; -} -function createDeferredRsc() { - // Create an unresolved promise that represents data derived from a Flight - // response. The promise will be resolved later as soon as we start receiving - // data from the server, i.e. as soon as the Flight client decodes and returns - // the top-level response object. - // The `_debugInfo` field contains profiling information. Promises that are - // created by Flight already have this info added by React; for any derived - // promise created by the router, we need to transfer the Flight debug info - // onto the derived promise. - // - // The debug info represents the latency between the start of the navigation - // and the start of rendering. (It does not represent the time it takes for - // whole stream to finish.) - const debugInfo = []; - let resolve; - let reject; - const pendingRsc = new Promise((res, rej)=>{ - resolve = res; - reject = rej; - }); - pendingRsc.status = 'pending'; - pendingRsc.resolve = (value, responseDebugInfo)=>{ - if (pendingRsc.status === 'pending') { - const fulfilledRsc = pendingRsc; - fulfilledRsc.status = 'fulfilled'; - fulfilledRsc.value = value; - if (responseDebugInfo !== null) { - // Transfer the debug info to the derived promise. - debugInfo.push.apply(debugInfo, responseDebugInfo); - } - resolve(value); - } - }; - pendingRsc.reject = (error, responseDebugInfo)=>{ - if (pendingRsc.status === 'pending') { - const rejectedRsc = pendingRsc; - rejectedRsc.status = 'rejected'; - rejectedRsc.reason = error; - if (responseDebugInfo !== null) { - // Transfer the debug info to the derived promise. - debugInfo.push.apply(debugInfo, responseDebugInfo); - } - reject(error); - } - }; - pendingRsc.tag = DEFERRED; - pendingRsc._debugInfo = debugInfo; - return pendingRsc; -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=ppr-navigations.js.map -}), -"[project]/node_modules/next/dist/client/components/segment-cache/types.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -/** - * Shared types and constants for the Segment Cache. - */ Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - FetchStrategy: null, - NavigationResultTag: null, - PrefetchPriority: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - FetchStrategy: function() { - return FetchStrategy; - }, - NavigationResultTag: function() { - return NavigationResultTag; - }, - PrefetchPriority: function() { - return PrefetchPriority; - } -}); -var NavigationResultTag = /*#__PURE__*/ function(NavigationResultTag) { - NavigationResultTag[NavigationResultTag["MPA"] = 0] = "MPA"; - NavigationResultTag[NavigationResultTag["Success"] = 1] = "Success"; - NavigationResultTag[NavigationResultTag["NoOp"] = 2] = "NoOp"; - NavigationResultTag[NavigationResultTag["Async"] = 3] = "Async"; - return NavigationResultTag; -}({}); -var PrefetchPriority = /*#__PURE__*/ function(PrefetchPriority) { - /** - * Assigned to the most recently hovered/touched link. Special network - * bandwidth is reserved for this task only. There's only ever one Intent- - * priority task at a time; when a new Intent task is scheduled, the previous - * one is bumped down to Default. - */ PrefetchPriority[PrefetchPriority["Intent"] = 2] = "Intent"; - /** - * The default priority for prefetch tasks. - */ PrefetchPriority[PrefetchPriority["Default"] = 1] = "Default"; - /** - * Assigned to tasks when they spawn non-blocking background work, like - * revalidating a partially cached entry to see if more data is available. - */ PrefetchPriority[PrefetchPriority["Background"] = 0] = "Background"; - return PrefetchPriority; -}({}); -var FetchStrategy = /*#__PURE__*/ function(FetchStrategy) { - // Deliberately ordered so we can easily compare two segments - // and determine if one segment is "more specific" than another - // (i.e. if it's likely that it contains more data) - FetchStrategy[FetchStrategy["LoadingBoundary"] = 0] = "LoadingBoundary"; - FetchStrategy[FetchStrategy["PPR"] = 1] = "PPR"; - FetchStrategy[FetchStrategy["PPRRuntime"] = 2] = "PPRRuntime"; - FetchStrategy[FetchStrategy["Full"] = 3] = "Full"; - return FetchStrategy; -}({}); -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=types.js.map -}), -"[project]/node_modules/next/dist/client/components/segment-cache/lru.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - deleteFromLru: null, - lruPut: null, - updateLruSize: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - deleteFromLru: function() { - return deleteFromLru; - }, - lruPut: function() { - return lruPut; - }, - updateLruSize: function() { - return updateLruSize; - } -}); -const _cachemap = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/segment-cache/cache-map.js [app-client] (ecmascript)"); -// We use an LRU for memory management. We must update this whenever we add or -// remove a new cache entry, or when an entry changes size. -let head = null; -let didScheduleCleanup = false; -let lruSize = 0; -// TODO: I chose the max size somewhat arbitrarily. Consider setting this based -// on navigator.deviceMemory, or some other heuristic. We should make this -// customizable via the Next.js config, too. -const maxLruSize = 50 * 1024 * 1024 // 50 MB -; -function lruPut(node) { - if (head === node) { - // Already at the head - return; - } - const prev = node.prev; - const next = node.next; - if (next === null || prev === null) { - // This is an insertion - lruSize += node.size; - // Whenever we add an entry, we need to check if we've exceeded the - // max size. We don't evict entries immediately; they're evicted later in - // an asynchronous task. - ensureCleanupIsScheduled(); - } else { - // This is a move. Remove from its current position. - prev.next = next; - next.prev = prev; - } - // Move to the front of the list - if (head === null) { - // This is the first entry - node.prev = node; - node.next = node; - } else { - // Add to the front of the list - const tail = head.prev; - node.prev = tail; - // In practice, this is never null, but that isn't encoded in the type - if (tail !== null) { - tail.next = node; - } - node.next = head; - head.prev = node; - } - head = node; -} -function updateLruSize(node, newNodeSize) { - // This is a separate function from `put` so that we can resize the entry - // regardless of whether it's currently being tracked by the LRU. - const prevNodeSize = node.size; - node.size = newNodeSize; - if (node.next === null) { - // This entry is not currently being tracked by the LRU. - return; - } - // Update the total LRU size - lruSize = lruSize - prevNodeSize + newNodeSize; - ensureCleanupIsScheduled(); -} -function deleteFromLru(deleted) { - const next = deleted.next; - const prev = deleted.prev; - if (next !== null && prev !== null) { - lruSize -= deleted.size; - deleted.next = null; - deleted.prev = null; - // Remove from the list - if (head === deleted) { - // Update the head - if (next === head) { - // This was the last entry - head = null; - } else { - head = next; - } - } else { - prev.next = next; - next.prev = prev; - } - } else { - // Already deleted - } -} -function ensureCleanupIsScheduled() { - if (didScheduleCleanup || lruSize <= maxLruSize) { - return; - } - didScheduleCleanup = true; - requestCleanupCallback(cleanup); -} -function cleanup() { - didScheduleCleanup = false; - // Evict entries until we're at 90% capacity. We can assume this won't - // infinite loop because even if `maxLruSize` were 0, eventually - // `deleteFromLru` sets `head` to `null` when we run out entries. - const ninetyPercentMax = maxLruSize * 0.9; - while(lruSize > ninetyPercentMax && head !== null){ - const tail = head.prev; - // In practice, this is never null, but that isn't encoded in the type - if (tail !== null) { - // Delete the entry from the map. In turn, this will remove it from - // the LRU. - (0, _cachemap.deleteMapEntry)(tail); - } - } -} -const requestCleanupCallback = typeof requestIdleCallback === 'function' ? requestIdleCallback : (cb)=>setTimeout(cb, 0); -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=lru.js.map -}), -"[project]/node_modules/next/dist/client/components/segment-cache/cache-map.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - Fallback: null, - createCacheMap: null, - deleteFromCacheMap: null, - deleteMapEntry: null, - getFromCacheMap: null, - isValueExpired: null, - setInCacheMap: null, - setSizeInCacheMap: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - Fallback: function() { - return Fallback; - }, - createCacheMap: function() { - return createCacheMap; - }, - deleteFromCacheMap: function() { - return deleteFromCacheMap; - }, - deleteMapEntry: function() { - return deleteMapEntry; - }, - getFromCacheMap: function() { - return getFromCacheMap; - }, - isValueExpired: function() { - return isValueExpired; - }, - setInCacheMap: function() { - return setInCacheMap; - }, - setSizeInCacheMap: function() { - return setSizeInCacheMap; - } -}); -const _lru = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/segment-cache/lru.js [app-client] (ecmascript)"); -const Fallback = {}; -// This is a special internal key that is used for "revalidation" entries. It's -// an implementation detail that shouldn't leak outside of this module. -const Revalidation = {}; -function createCacheMap() { - const cacheMap = { - parent: null, - key: null, - value: null, - map: null, - // LRU-related fields - prev: null, - next: null, - size: 0 - }; - return cacheMap; -} -function getOrInitialize(cacheMap, keys, isRevalidation) { - // Go through each level of keys until we find the entry that matches, or - // create a new entry if one doesn't exist. - // - // This function will only return entries that match the keypath _exactly_. - // Unlike getWithFallback, it will not access fallback entries unless it's - // explicitly part of the keypath. - let entry = cacheMap; - let remainingKeys = keys; - let key = null; - while(true){ - const previousKey = key; - if (remainingKeys !== null) { - key = remainingKeys.value; - remainingKeys = remainingKeys.parent; - } else if (isRevalidation && previousKey !== Revalidation) { - // During a revalidation, we append an internal "Revalidation" key to - // the end of the keypath. The "normal" entry is its parent. - // However, if the parent entry is currently empty, we don't need to store - // this as a revalidation entry. Just insert the revalidation into the - // normal slot. - if (entry.value === null) { - return entry; - } - // Otheriwse, create a child entry. - key = Revalidation; - } else { - break; - } - let map = entry.map; - if (map !== null) { - const existingEntry = map.get(key); - if (existingEntry !== undefined) { - // Found a match. Keep going. - entry = existingEntry; - continue; - } - } else { - map = new Map(); - entry.map = map; - } - // No entry exists yet at this level. Create a new one. - const newEntry = { - parent: entry, - key, - value: null, - map: null, - // LRU-related fields - prev: null, - next: null, - size: 0 - }; - map.set(key, newEntry); - entry = newEntry; - } - return entry; -} -function getFromCacheMap(now, currentCacheVersion, rootEntry, keys, isRevalidation) { - const entry = getEntryWithFallbackImpl(now, currentCacheVersion, rootEntry, keys, isRevalidation, 0); - if (entry === null || entry.value === null) { - return null; - } - // This is an LRU access. Move the entry to the front of the list. - (0, _lru.lruPut)(entry); - return entry.value; -} -function isValueExpired(now, currentCacheVersion, value) { - return value.staleAt <= now || value.version < currentCacheVersion; -} -function lazilyEvictIfNeeded(now, currentCacheVersion, entry) { - // We have a matching entry, but before we can return it, we need to check if - // it's still fresh. Otherwise it should be treated the same as a cache miss. - if (entry.value === null) { - // This entry has no value, so there's nothing to evict. - return entry; - } - const value = entry.value; - if (isValueExpired(now, currentCacheVersion, value)) { - // The value expired. Lazily evict it from the cache, and return null. This - // is conceptually the same as a cache miss. - deleteMapEntry(entry); - return null; - } - // The matched entry has not expired. Return it. - return entry; -} -function getEntryWithFallbackImpl(now, currentCacheVersion, entry, keys, isRevalidation, previousKey) { - // This is similar to getExactEntry, but if an exact match is not found for - // a key, it will return the fallback entry instead. This is recursive at - // every level, e.g. an entry with keypath [a, Fallback, c, Fallback] is - // valid match for [a, b, c, d]. - // - // It will return the most specific match available. - let key; - let remainingKeys; - if (keys !== null) { - key = keys.value; - remainingKeys = keys.parent; - } else if (isRevalidation && previousKey !== Revalidation) { - // During a revalidation, we append an internal "Revalidation" key to - // the end of the keypath. - key = Revalidation; - remainingKeys = null; - } else { - // There are no more keys. This is the terminal entry. - // TODO: When performing a lookup during a navigation, as opposed to a - // prefetch, we may want to skip entries that are Pending if there's also - // a Fulfilled fallback entry. Tricky to say, though, since if it's - // already pending, it's likely to stream in soon. Maybe we could do this - // just on slow connections and offline mode. - return lazilyEvictIfNeeded(now, currentCacheVersion, entry); - } - const map = entry.map; - if (map !== null) { - const existingEntry = map.get(key); - if (existingEntry !== undefined) { - // Found an exact match for this key. Keep searching. - const result = getEntryWithFallbackImpl(now, currentCacheVersion, existingEntry, remainingKeys, isRevalidation, key); - if (result !== null) { - return result; - } - } - // No match found for this key. Check if there's a fallback. - const fallbackEntry = map.get(Fallback); - if (fallbackEntry !== undefined) { - // Found a fallback for this key. Keep searching. - return getEntryWithFallbackImpl(now, currentCacheVersion, fallbackEntry, remainingKeys, isRevalidation, key); - } - } - return null; -} -function setInCacheMap(cacheMap, keys, value, isRevalidation) { - // Add a value to the map at the given keypath. If the value is already - // part of the map, it's removed from its previous keypath. (NOTE: This is - // unlike a regular JS map, but the behavior is intentional.) - const entry = getOrInitialize(cacheMap, keys, isRevalidation); - setMapEntryValue(entry, value); - // This is an LRU access. Move the entry to the front of the list. - (0, _lru.lruPut)(entry); - (0, _lru.updateLruSize)(entry, value.size); -} -function setMapEntryValue(entry, value) { - if (entry.value !== null) { - // There's already a value at the given keypath. Disconnect the old value - // from the map. We're not calling `deleteMapEntry` here because the - // entry itself is still in the map. We just want to overwrite its value. - dropRef(entry.value); - entry.value = null; - } - // This value may already be in the map at a different keypath. - // Grab a reference before we overwrite it. - const oldEntry = value.ref; - entry.value = value; - value.ref = entry; - (0, _lru.updateLruSize)(entry, value.size); - if (oldEntry !== null && oldEntry !== entry && oldEntry.value === value) { - // This value is already in the map at a different keypath in the map. - // Values only exist at a single keypath at a time. Remove it from the - // previous keypath. - // - // Note that only the internal map entry is garbage collected; we don't - // call `dropRef` here because it's still in the map, just - // at a new keypath (the one we just set, above). - deleteMapEntry(oldEntry); - } -} -function deleteFromCacheMap(value) { - const entry = value.ref; - if (entry === null) { - // This value is not a member of any map. - return; - } - dropRef(value); - deleteMapEntry(entry); -} -function dropRef(value) { - // Drop the value from the map by setting its `ref` backpointer to - // null. This is a separate operation from `deleteMapEntry` because when - // re-keying a value we need to be able to delete the old, internal map - // entry without garbage collecting the value itself. - value.ref = null; -} -function deleteMapEntry(entry) { - // Delete the entry from the cache. - entry.value = null; - (0, _lru.deleteFromLru)(entry); - // Check if we can garbage collect the entry. - const map = entry.map; - if (map === null) { - // Since this entry has no value, and also no child entries, we can - // garbage collect it. Remove it from its parent, and keep garbage - // collecting the parents until we reach a non-empty entry. - let parent = entry.parent; - let key = entry.key; - while(parent !== null){ - const parentMap = parent.map; - if (parentMap !== null) { - parentMap.delete(key); - if (parentMap.size === 0) { - // We just removed the last entry in the parent map. - parent.map = null; - if (parent.value === null) { - // The parent node has no child entries, nor does it have a value - // on itself. It can be garbage collected. Keep going. - key = parent.key; - parent = parent.parent; - continue; - } - } - } - break; - } - } else { - // Check if there's a revalidating entry. If so, promote it to a - // "normal" entry, since the normal one was just deleted. - const revalidatingEntry = map.get(Revalidation); - if (revalidatingEntry !== undefined && revalidatingEntry.value !== null) { - setMapEntryValue(entry, revalidatingEntry.value); - } - } -} -function setSizeInCacheMap(value, size) { - const entry = value.ref; - if (entry === null) { - // This value is not a member of any map. - return; - } - // Except during initialization (when the size is set to 0), this is the only - // place the `size` field should be updated, to ensure it's in sync with the - // the LRU. - value.size = size; - (0, _lru.updateLruSize)(entry, size); -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=cache-map.js.map -}), -"[project]/node_modules/next/dist/client/components/segment-cache/vary-path.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - appendLayoutVaryPath: null, - clonePageVaryPathWithNewSearchParams: null, - finalizeLayoutVaryPath: null, - finalizeMetadataVaryPath: null, - finalizePageVaryPath: null, - getFulfilledRouteVaryPath: null, - getRouteVaryPath: null, - getSegmentVaryPathForRequest: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - appendLayoutVaryPath: function() { - return appendLayoutVaryPath; - }, - clonePageVaryPathWithNewSearchParams: function() { - return clonePageVaryPathWithNewSearchParams; - }, - finalizeLayoutVaryPath: function() { - return finalizeLayoutVaryPath; - }, - finalizeMetadataVaryPath: function() { - return finalizeMetadataVaryPath; - }, - finalizePageVaryPath: function() { - return finalizePageVaryPath; - }, - getFulfilledRouteVaryPath: function() { - return getFulfilledRouteVaryPath; - }, - getRouteVaryPath: function() { - return getRouteVaryPath; - }, - getSegmentVaryPathForRequest: function() { - return getSegmentVaryPathForRequest; - } -}); -const _types = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/segment-cache/types.js [app-client] (ecmascript)"); -const _cachemap = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/segment-cache/cache-map.js [app-client] (ecmascript)"); -const _segmentvalueencoding = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/segment-cache/segment-value-encoding.js [app-client] (ecmascript)"); -function getRouteVaryPath(pathname, search, nextUrl) { - // requestKey -> searchParams -> nextUrl - const varyPath = { - value: pathname, - parent: { - value: search, - parent: { - value: nextUrl, - parent: null - } - } - }; - return varyPath; -} -function getFulfilledRouteVaryPath(pathname, search, nextUrl, couldBeIntercepted) { - // This is called when a route's data is fulfilled. The cache entry will be - // re-keyed based on which inputs the response varies by. - // requestKey -> searchParams -> nextUrl - const varyPath = { - value: pathname, - parent: { - value: search, - parent: { - value: couldBeIntercepted ? nextUrl : _cachemap.Fallback, - parent: null - } - } - }; - return varyPath; -} -function appendLayoutVaryPath(parentPath, cacheKey) { - const varyPathPart = { - value: cacheKey, - parent: parentPath - }; - return varyPathPart; -} -function finalizeLayoutVaryPath(requestKey, varyPath) { - const layoutVaryPath = { - value: requestKey, - parent: varyPath - }; - return layoutVaryPath; -} -function finalizePageVaryPath(requestKey, renderedSearch, varyPath) { - // Unlike layouts, a page segment's vary path also includes the search string. - // requestKey -> searchParams -> pathParams - const pageVaryPath = { - value: requestKey, - parent: { - value: renderedSearch, - parent: varyPath - } - }; - return pageVaryPath; -} -function finalizeMetadataVaryPath(pageRequestKey, renderedSearch, varyPath) { - // The metadata "segment" is not a real segment because it doesn't exist in - // the normal structure of the route tree, but in terms of caching, it - // behaves like a page segment because it varies by all the same params as - // a page. - // - // To keep the protocol for querying the server simple, the request key for - // the metadata does not include any path information. It's unnecessary from - // the server's perspective, because unlike page segments, there's only one - // metadata response per URL, i.e. there's no need to distinguish multiple - // parallel pages. - // - // However, this means the metadata request key is insufficient for - // caching the the metadata in the client cache, because on the client we - // use the request key to distinguish the metadata entry from all other - // page's metadata entries. - // - // So instead we create a simulated request key based on the page segment. - // Conceptually this is equivalent to the request key the server would have - // assigned the metadata segment if it treated it as part of the actual - // route structure. - // If there are multiple parallel pages, we use whichever is the first one. - // This is fine because the only difference between request keys for - // different parallel pages are things like route groups and parallel - // route slots. As long as it's always the same one, it doesn't matter. - const pageVaryPath = { - // Append the actual metadata request key to the page request key. Note - // that we're not using a separate vary path part; it's unnecessary because - // these are not conceptually separate inputs. - value: pageRequestKey + _segmentvalueencoding.HEAD_REQUEST_KEY, - parent: { - value: renderedSearch, - parent: varyPath - } - }; - return pageVaryPath; -} -function getSegmentVaryPathForRequest(fetchStrategy, tree) { - // This is used for storing pending requests in the cache. We want to choose - // the most generic vary path based on the strategy used to fetch it, i.e. - // static/PPR versus runtime prefetching, so that it can be reused as much - // as possible. - // - // We may be able to re-key the response to something even more generic once - // we receive it — for example, if the server tells us that the response - // doesn't vary on a particular param — but even before we send the request, - // we know some params are reusable based on the fetch strategy alone. For - // example, a static prefetch will never vary on search params. - // - // The original vary path with all the params filled in is stored on the - // route tree object. We will clone this one to create a new vary path - // where certain params are replaced with Fallback. - // - // This result of this function is not stored anywhere. It's only used to - // access the cache a single time. - // - // TODO: Rather than create a new list object just to access the cache, the - // plan is to add the concept of a "vary mask". This will represent all the - // params that can be treated as Fallback. (Or perhaps the inverse.) - const originalVaryPath = tree.varyPath; - // Only page segments (and the special "metadata" segment, which is treated - // like a page segment for the purposes of caching) may contain search - // params. There's no reason to include them in the vary path otherwise. - if (tree.isPage) { - // Only a runtime prefetch will include search params in the vary path. - // Static prefetches never include search params, so they can be reused - // across all possible search param values. - const doesVaryOnSearchParams = fetchStrategy === _types.FetchStrategy.Full || fetchStrategy === _types.FetchStrategy.PPRRuntime; - if (!doesVaryOnSearchParams) { - // The response from the the server will not vary on search params. Clone - // the end of the original vary path to replace the search params - // with Fallback. - // - // requestKey -> searchParams -> pathParams - // ^ This part gets replaced with Fallback - const searchParamsVaryPath = originalVaryPath.parent; - const pathParamsVaryPath = searchParamsVaryPath.parent; - const patchedVaryPath = { - value: originalVaryPath.value, - parent: { - value: _cachemap.Fallback, - parent: pathParamsVaryPath - } - }; - return patchedVaryPath; - } - } - // The request does vary on search params. We don't need to modify anything. - return originalVaryPath; -} -function clonePageVaryPathWithNewSearchParams(originalVaryPath, newSearch) { - // requestKey -> searchParams -> pathParams - // ^ This part gets replaced with newSearch - const searchParamsVaryPath = originalVaryPath.parent; - const clonedVaryPath = { - value: originalVaryPath.value, - parent: { - value: newSearch, - parent: searchParamsVaryPath.parent - } - }; - return clonedVaryPath; -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=vary-path.js.map -}), -"[project]/node_modules/next/dist/client/components/segment-cache/cache-key.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -// TypeScript trick to simulate opaque types, like in Flow. -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "createCacheKey", { - enumerable: true, - get: function() { - return createCacheKey; - } -}); -function createCacheKey(originalHref, nextUrl) { - const originalUrl = new URL(originalHref); - const cacheKey = { - pathname: originalUrl.pathname, - search: originalUrl.search, - nextUrl: nextUrl - }; - return cacheKey; -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=cache-key.js.map -}), -"[project]/node_modules/next/dist/client/components/segment-cache/scheduler.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - cancelPrefetchTask: null, - isPrefetchTaskDirty: null, - pingPrefetchTask: null, - reschedulePrefetchTask: null, - schedulePrefetchTask: null, - startRevalidationCooldown: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - cancelPrefetchTask: function() { - return cancelPrefetchTask; - }, - isPrefetchTaskDirty: function() { - return isPrefetchTaskDirty; - }, - pingPrefetchTask: function() { - return pingPrefetchTask; - }, - reschedulePrefetchTask: function() { - return reschedulePrefetchTask; - }, - schedulePrefetchTask: function() { - return schedulePrefetchTask; - }, - startRevalidationCooldown: function() { - return startRevalidationCooldown; - } -}); -const _approutertypes = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/app-router-types.js [app-client] (ecmascript)"); -const _matchsegments = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/match-segments.js [app-client] (ecmascript)"); -const _cache = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/segment-cache/cache.js [app-client] (ecmascript)"); -const _varypath = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/segment-cache/vary-path.js [app-client] (ecmascript)"); -const _cachekey = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/segment-cache/cache-key.js [app-client] (ecmascript)"); -const _types = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/segment-cache/types.js [app-client] (ecmascript)"); -const _segment = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/segment.js [app-client] (ecmascript)"); -const scheduleMicrotask = typeof queueMicrotask === 'function' ? queueMicrotask : (fn)=>Promise.resolve().then(fn).catch((error)=>setTimeout(()=>{ - throw error; - })); -const taskHeap = []; -let inProgressRequests = 0; -let sortIdCounter = 0; -let didScheduleMicrotask = false; -// The most recently hovered (or touched, etc) link, i.e. the most recent task -// scheduled at Intent priority. There's only ever a single task at Intent -// priority at a time. We reserve special network bandwidth for this task only. -let mostRecentlyHoveredLink = null; -// CDN cache propagation delay after revalidation (in milliseconds) -const REVALIDATION_COOLDOWN_MS = 300; -// Timeout handle for the revalidation cooldown. When non-null, prefetch -// requests are blocked to allow CDN cache propagation. -let revalidationCooldownTimeoutHandle = null; -function startRevalidationCooldown() { - // Clear any existing timeout in case multiple revalidations happen - // in quick succession. - if (revalidationCooldownTimeoutHandle !== null) { - clearTimeout(revalidationCooldownTimeoutHandle); - } - // Schedule the cooldown to expire after the delay. - revalidationCooldownTimeoutHandle = setTimeout(()=>{ - revalidationCooldownTimeoutHandle = null; - // Retry the prefetch queue now that the cooldown has expired. - ensureWorkIsScheduled(); - }, REVALIDATION_COOLDOWN_MS); -} -function schedulePrefetchTask(key, treeAtTimeOfPrefetch, fetchStrategy, priority, onInvalidate) { - // Spawn a new prefetch task - const task = { - key, - treeAtTimeOfPrefetch, - cacheVersion: (0, _cache.getCurrentCacheVersion)(), - priority, - phase: 1, - hasBackgroundWork: false, - spawnedRuntimePrefetches: null, - fetchStrategy, - sortId: sortIdCounter++, - isCanceled: false, - onInvalidate, - _heapIndex: -1 - }; - trackMostRecentlyHoveredLink(task); - heapPush(taskHeap, task); - // Schedule an async task to process the queue. - // - // The main reason we process the queue in an async task is for batching. - // It's common for a single JS task/event to trigger multiple prefetches. - // By deferring to a microtask, we only process the queue once per JS task. - // If they have different priorities, it also ensures they are processed in - // the optimal order. - ensureWorkIsScheduled(); - return task; -} -function cancelPrefetchTask(task) { - // Remove the prefetch task from the queue. If the task already completed, - // then this is a no-op. - // - // We must also explicitly mark the task as canceled so that a blocked task - // does not get added back to the queue when it's pinged by the network. - task.isCanceled = true; - heapDelete(taskHeap, task); -} -function reschedulePrefetchTask(task, treeAtTimeOfPrefetch, fetchStrategy, priority) { - // Bump the prefetch task to the top of the queue, as if it were a fresh - // task. This is essentially the same as canceling the task and scheduling - // a new one, except it reuses the original object. - // - // The primary use case is to increase the priority of a Link-initated - // prefetch on hover. - // Un-cancel the task, in case it was previously canceled. - task.isCanceled = false; - task.phase = 1; - // Assign a new sort ID to move it ahead of all other tasks at the same - // priority level. (Higher sort IDs are processed first.) - task.sortId = sortIdCounter++; - task.priority = // Intent priority, even if the rescheduled priority is lower. - task === mostRecentlyHoveredLink ? _types.PrefetchPriority.Intent : priority; - task.treeAtTimeOfPrefetch = treeAtTimeOfPrefetch; - task.fetchStrategy = fetchStrategy; - trackMostRecentlyHoveredLink(task); - if (task._heapIndex !== -1) { - // The task is already in the queue. - heapResift(taskHeap, task); - } else { - heapPush(taskHeap, task); - } - ensureWorkIsScheduled(); -} -function isPrefetchTaskDirty(task, nextUrl, tree) { - // This is used to quickly bail out of a prefetch task if the result is - // guaranteed to not have changed since the task was initiated. This is - // strictly an optimization — theoretically, if it always returned true, no - // behavior should change because a full prefetch task will effectively - // perform the same checks. - const currentCacheVersion = (0, _cache.getCurrentCacheVersion)(); - return task.cacheVersion !== currentCacheVersion || task.treeAtTimeOfPrefetch !== tree || task.key.nextUrl !== nextUrl; -} -function trackMostRecentlyHoveredLink(task) { - // Track the mostly recently hovered link, i.e. the most recently scheduled - // task at Intent priority. There must only be one such task at a time. - if (task.priority === _types.PrefetchPriority.Intent && task !== mostRecentlyHoveredLink) { - if (mostRecentlyHoveredLink !== null) { - // Bump the previously hovered link's priority down to Default. - if (mostRecentlyHoveredLink.priority !== _types.PrefetchPriority.Background) { - mostRecentlyHoveredLink.priority = _types.PrefetchPriority.Default; - heapResift(taskHeap, mostRecentlyHoveredLink); - } - } - mostRecentlyHoveredLink = task; - } -} -function ensureWorkIsScheduled() { - if (didScheduleMicrotask) { - // Already scheduled a task to process the queue - return; - } - didScheduleMicrotask = true; - scheduleMicrotask(processQueueInMicrotask); -} -/** - * Checks if we've exceeded the maximum number of concurrent prefetch requests, - * to avoid saturating the browser's internal network queue. This is a - * cooperative limit — prefetch tasks should check this before issuing - * new requests. - * - * Also checks if we're within the revalidation cooldown window, during which - * prefetch requests are delayed to allow CDN cache propagation. - */ function hasNetworkBandwidth(task) { - // Check if we're within the revalidation cooldown window - if (revalidationCooldownTimeoutHandle !== null) { - // We're within the cooldown window. Return false to prevent prefetching. - // When the cooldown expires, the timeout will call ensureWorkIsScheduled() - // to retry the queue. - return false; - } - // TODO: Also check if there's an in-progress navigation. We should never - // add prefetch requests to the network queue if an actual navigation is - // taking place, to ensure there's sufficient bandwidth for render-blocking - // data and resources. - // TODO: Consider reserving some amount of bandwidth for static prefetches. - if (task.priority === _types.PrefetchPriority.Intent) { - // The most recently hovered link is allowed to exceed the default limit. - // - // The goal is to always have enough bandwidth to start a new prefetch - // request when hovering over a link. - // - // However, because we don't abort in-progress requests, it's still possible - // we'll run out of bandwidth. When links are hovered in quick succession, - // there could be multiple hover requests running simultaneously. - return inProgressRequests < 12; - } - // The default limit is lower than the limit for a hovered link. - return inProgressRequests < 4; -} -function spawnPrefetchSubtask(prefetchSubtask) { - // When the scheduler spawns an async task, we don't await its result. - // Instead, the async task writes its result directly into the cache, then - // pings the scheduler to continue. - // - // We process server responses streamingly, so the prefetch subtask will - // likely resolve before we're finished receiving all the data. The subtask - // result includes a promise that resolves once the network connection is - // closed. The scheduler uses this to control network bandwidth by tracking - // and limiting the number of concurrent requests. - inProgressRequests++; - return prefetchSubtask.then((result)=>{ - if (result === null) { - // The prefetch task errored before it could start processing the - // network stream. Assume the connection is closed. - onPrefetchConnectionClosed(); - return null; - } - // Wait for the connection to close before freeing up more bandwidth. - result.closed.then(onPrefetchConnectionClosed); - return result.value; - }); -} -function onPrefetchConnectionClosed() { - inProgressRequests--; - // Notify the scheduler that we have more bandwidth, and can continue - // processing tasks. - ensureWorkIsScheduled(); -} -function pingPrefetchTask(task) { - // "Ping" a prefetch that's already in progress to notify it of new data. - if (task.isCanceled || // Check if prefetch is already queued. - task._heapIndex !== -1) { - return; - } - // Add the task back to the queue. - heapPush(taskHeap, task); - ensureWorkIsScheduled(); -} -function processQueueInMicrotask() { - didScheduleMicrotask = false; - // We aim to minimize how often we read the current time. Since nearly all - // functions in the prefetch scheduler are synchronous, we can read the time - // once and pass it as an argument wherever it's needed. - const now = Date.now(); - // Process the task queue until we run out of network bandwidth. - let task = heapPeek(taskHeap); - while(task !== null && hasNetworkBandwidth(task)){ - task.cacheVersion = (0, _cache.getCurrentCacheVersion)(); - const exitStatus = pingRoute(now, task); - // These fields are only valid for a single attempt. Reset them after each - // iteration of the task queue. - const hasBackgroundWork = task.hasBackgroundWork; - task.hasBackgroundWork = false; - task.spawnedRuntimePrefetches = null; - switch(exitStatus){ - case 0: - // The task yielded because there are too many requests in progress. - // Stop processing tasks until we have more bandwidth. - return; - case 1: - // The task is blocked. It needs more data before it can proceed. - // Keep the task out of the queue until the server responds. - heapPop(taskHeap); - // Continue to the next task - task = heapPeek(taskHeap); - continue; - case 2: - if (task.phase === 1) { - // Finished prefetching the route tree. Proceed to prefetching - // the segments. - task.phase = 0; - heapResift(taskHeap, task); - } else if (hasBackgroundWork) { - // The task spawned additional background work. Reschedule the task - // at background priority. - task.priority = _types.PrefetchPriority.Background; - heapResift(taskHeap, task); - } else { - // The prefetch is complete. Continue to the next task. - heapPop(taskHeap); - } - task = heapPeek(taskHeap); - continue; - default: - exitStatus; - } - } -} -/** - * Check this during a prefetch task to determine if background work can be - * performed. If so, it evaluates to `true`. Otherwise, it returns `false`, - * while also scheduling a background task to run later. Usage: - * - * @example - * if (background(task)) { - * // Perform background-pri work - * } - */ function background(task) { - if (task.priority === _types.PrefetchPriority.Background) { - return true; - } - task.hasBackgroundWork = true; - return false; -} -function pingRoute(now, task) { - const key = task.key; - const route = (0, _cache.readOrCreateRouteCacheEntry)(now, task, key); - const exitStatus = pingRootRouteTree(now, task, route); - if (exitStatus !== 0 && key.search !== '') { - // If the URL has a non-empty search string, also prefetch the pathname - // without the search string. We use the searchless route tree as a base for - // optimistic routing; see requestOptimisticRouteCacheEntry for details. - // - // Note that we don't need to prefetch any of the segment data. Just the - // route tree. - // - // TODO: This is a temporary solution; the plan is to replace this by adding - // a wildcard lookup method to the TupleMap implementation. This is - // non-trivial to implement because it needs to account for things like - // fallback route entries, hence this temporary workaround. - const url = new URL(key.pathname, location.origin); - const keyWithoutSearch = (0, _cachekey.createCacheKey)(url.href, key.nextUrl); - const routeWithoutSearch = (0, _cache.readOrCreateRouteCacheEntry)(now, task, keyWithoutSearch); - switch(routeWithoutSearch.status){ - case _cache.EntryStatus.Empty: - { - if (background(task)) { - routeWithoutSearch.status = _cache.EntryStatus.Pending; - spawnPrefetchSubtask((0, _cache.fetchRouteOnCacheMiss)(routeWithoutSearch, task, keyWithoutSearch)); - } - break; - } - case _cache.EntryStatus.Pending: - case _cache.EntryStatus.Fulfilled: - case _cache.EntryStatus.Rejected: - { - break; - } - default: - routeWithoutSearch; - } - } - return exitStatus; -} -function pingRootRouteTree(now, task, route) { - switch(route.status){ - case _cache.EntryStatus.Empty: - { - // Route is not yet cached, and there's no request already in progress. - // Spawn a task to request the route, load it into the cache, and ping - // the task to continue. - // TODO: There are multiple strategies in the <Link> API for prefetching - // a route. Currently we've only implemented the main one: per-segment, - // static-data only. - // - // There's also `<Link prefetch={true}>` - // which prefetch both static *and* dynamic data. - // Similarly, we need to fallback to the old, per-page - // behavior if PPR is disabled for a route (via the incremental opt-in). - // - // Those cases will be handled here. - spawnPrefetchSubtask((0, _cache.fetchRouteOnCacheMiss)(route, task, task.key)); - // If the request takes longer than a minute, a subsequent request should - // retry instead of waiting for this one. When the response is received, - // this value will be replaced by a new value based on the stale time sent - // from the server. - // TODO: We should probably also manually abort the fetch task, to reclaim - // server bandwidth. - route.staleAt = now + 60 * 1000; - // Upgrade to Pending so we know there's already a request in progress - route.status = _cache.EntryStatus.Pending; - // Intentional fallthrough to the Pending branch - } - case _cache.EntryStatus.Pending: - { - // Still pending. We can't start prefetching the segments until the route - // tree has loaded. Add the task to the set of blocked tasks so that it - // is notified when the route tree is ready. - const blockedTasks = route.blockedTasks; - if (blockedTasks === null) { - route.blockedTasks = new Set([ - task - ]); - } else { - blockedTasks.add(task); - } - return 1; - } - case _cache.EntryStatus.Rejected: - { - // Route tree failed to load. Treat as a 404. - return 2; - } - case _cache.EntryStatus.Fulfilled: - { - if (task.phase !== 0) { - // Do not prefetch segment data until we've entered the segment phase. - return 2; - } - // Recursively fill in the segment tree. - if (!hasNetworkBandwidth(task)) { - // Stop prefetching segments until there's more bandwidth. - return 0; - } - const tree = route.tree; - // A task's fetch strategy gets set to `PPR` for any "auto" prefetch. - // If it turned out that the route isn't PPR-enabled, we need to use `LoadingBoundary` instead. - // We don't need to do this for runtime prefetches, because those are only available in - // `cacheComponents`, where every route is PPR. - const fetchStrategy = task.fetchStrategy === _types.FetchStrategy.PPR ? route.isPPREnabled ? _types.FetchStrategy.PPR : _types.FetchStrategy.LoadingBoundary : task.fetchStrategy; - switch(fetchStrategy){ - case _types.FetchStrategy.PPR: - { - // For Cache Components pages, each segment may be prefetched - // statically or using a runtime request, based on various - // configurations and heuristics. We'll do this in two passes: first - // traverse the tree and perform all the static prefetches. - // - // Then, if there are any segments that need a runtime request, - // do another pass to perform a runtime prefetch. - pingStaticHead(now, task, route); - const exitStatus = pingSharedPartOfCacheComponentsTree(now, task, route, task.treeAtTimeOfPrefetch, tree); - if (exitStatus === 0) { - // Child yielded without finishing. - return 0; - } - const spawnedRuntimePrefetches = task.spawnedRuntimePrefetches; - if (spawnedRuntimePrefetches !== null) { - // During the first pass, we discovered segments that require a - // runtime prefetch. Do a second pass to construct a request tree. - const spawnedEntries = new Map(); - pingRuntimeHead(now, task, route, spawnedEntries, _types.FetchStrategy.PPRRuntime); - const requestTree = pingRuntimePrefetches(now, task, route, tree, spawnedRuntimePrefetches, spawnedEntries); - let needsDynamicRequest = spawnedEntries.size > 0; - if (needsDynamicRequest) { - // Perform a dynamic prefetch request and populate the cache with - // the result. - spawnPrefetchSubtask((0, _cache.fetchSegmentPrefetchesUsingDynamicRequest)(task, route, _types.FetchStrategy.PPRRuntime, requestTree, spawnedEntries)); - } - } - return 2; - } - case _types.FetchStrategy.Full: - case _types.FetchStrategy.PPRRuntime: - case _types.FetchStrategy.LoadingBoundary: - { - // Prefetch multiple segments using a single dynamic request. - // TODO: We can consolidate this branch with previous one by modeling - // it as if the first segment in the new tree has runtime prefetching - // enabled. Will do this as a follow-up refactor. Might want to remove - // the special metatdata case below first. In the meantime, it's not - // really that much duplication, just would be nice to remove one of - // these codepaths. - const spawnedEntries = new Map(); - pingRuntimeHead(now, task, route, spawnedEntries, fetchStrategy); - const dynamicRequestTree = diffRouteTreeAgainstCurrent(now, task, route, task.treeAtTimeOfPrefetch, tree, spawnedEntries, fetchStrategy); - let needsDynamicRequest = spawnedEntries.size > 0; - if (needsDynamicRequest) { - spawnPrefetchSubtask((0, _cache.fetchSegmentPrefetchesUsingDynamicRequest)(task, route, fetchStrategy, dynamicRequestTree, spawnedEntries)); - } - return 2; - } - default: - fetchStrategy; - } - break; - } - default: - { - route; - } - } - return 2; -} -function pingStaticHead(now, task, route) { - // The Head data for a page (metadata, viewport) is not really a route - // segment, in the sense that it doesn't appear in the route tree. But we - // store it in the cache as if it were, using a special key. - pingStaticSegmentData(now, task, route, (0, _cache.readOrCreateSegmentCacheEntry)(now, _types.FetchStrategy.PPR, route, route.metadata), task.key, route.metadata); -} -function pingRuntimeHead(now, task, route, spawnedEntries, fetchStrategy) { - pingRouteTreeAndIncludeDynamicData(now, task, route, route.metadata, false, spawnedEntries, // and LoadingBoundary - fetchStrategy === _types.FetchStrategy.LoadingBoundary ? _types.FetchStrategy.Full : fetchStrategy); -} -// TODO: Rename dynamic -> runtime throughout this module -function pingSharedPartOfCacheComponentsTree(now, task, route, oldTree, newTree) { - // When Cache Components is enabled (or PPR, or a fully static route when PPR - // is disabled; those cases are treated equivalently to Cache Components), we - // start by prefetching each segment individually. Once we reach the "new" - // part of the tree — the part that doesn't exist on the current page — we - // may choose to switch to a runtime prefetch instead, based on the - // information sent by the server in the route tree. - // - // The traversal starts in the "shared" part of the tree. Once we reach the - // "new" part of the tree, we switch to a different traversal, - // pingNewPartOfCacheComponentsTree. - // Prefetch this segment's static data. - const segment = (0, _cache.readOrCreateSegmentCacheEntry)(now, task.fetchStrategy, route, newTree); - pingStaticSegmentData(now, task, route, segment, task.key, newTree); - // Recursively ping the children. - const oldTreeChildren = oldTree[1]; - const newTreeChildren = newTree.slots; - if (newTreeChildren !== null) { - for(const parallelRouteKey in newTreeChildren){ - if (!hasNetworkBandwidth(task)) { - // Stop prefetching segments until there's more bandwidth. - return 0; - } - const newTreeChild = newTreeChildren[parallelRouteKey]; - const newTreeChildSegment = newTreeChild.segment; - const oldTreeChild = oldTreeChildren[parallelRouteKey]; - const oldTreeChildSegment = oldTreeChild?.[0]; - let childExitStatus; - if (oldTreeChildSegment !== undefined && doesCurrentSegmentMatchCachedSegment(route, newTreeChildSegment, oldTreeChildSegment)) { - // We're still in the "shared" part of the tree. - childExitStatus = pingSharedPartOfCacheComponentsTree(now, task, route, oldTreeChild, newTreeChild); - } else { - // We've entered the "new" part of the tree. Switch - // traversal functions. - childExitStatus = pingNewPartOfCacheComponentsTree(now, task, route, newTreeChild); - } - if (childExitStatus === 0) { - // Child yielded without finishing. - return 0; - } - } - } - return 2; -} -function pingNewPartOfCacheComponentsTree(now, task, route, tree) { - // We're now prefetching in the "new" part of the tree, the part that doesn't - // exist on the current page. (In other words, we're deeper than the - // shared layouts.) Segments in here default to being prefetched statically. - // However, if the server instructs us to, we may switch to a runtime - // prefetch instead. Traverse the tree and check at each segment. - if (tree.hasRuntimePrefetch) { - // This route has a runtime prefetch response. Since we're below the shared - // layout, everything from this point should be prefetched using a single, - // combined runtime request, rather than using per-segment static requests. - // This is true even if some of the child segments are known to be fully - // static — once we've decided to perform a runtime prefetch, we might as - // well respond with the static segments in the same roundtrip. (That's how - // regular navigations work, too.) We'll still skip over segments that are - // already cached, though. - // - // It's the server's responsibility to set a reasonable value of - // `hasRuntimePrefetch`. Currently it's user-defined, but eventually, the - // server may send a value of `false` even if the user opts in, if it - // determines during build that the route is always fully static. There are - // more optimizations we can do once we implement fallback param - // tracking, too. - // - // Use the task object to collect the segments that need a runtime prefetch. - // This will signal to the outer task queue that a second traversal is - // required to construct a request tree. - if (task.spawnedRuntimePrefetches === null) { - task.spawnedRuntimePrefetches = new Set([ - tree.requestKey - ]); - } else { - task.spawnedRuntimePrefetches.add(tree.requestKey); - } - // Then exit the traversal without prefetching anything further. - return 2; - } - // This segment should not be runtime prefetched. Prefetch its static data. - const segment = (0, _cache.readOrCreateSegmentCacheEntry)(now, task.fetchStrategy, route, tree); - pingStaticSegmentData(now, task, route, segment, task.key, tree); - if (tree.slots !== null) { - if (!hasNetworkBandwidth(task)) { - // Stop prefetching segments until there's more bandwidth. - return 0; - } - // Recursively ping the children. - for(const parallelRouteKey in tree.slots){ - const childTree = tree.slots[parallelRouteKey]; - const childExitStatus = pingNewPartOfCacheComponentsTree(now, task, route, childTree); - if (childExitStatus === 0) { - // Child yielded without finishing. - return 0; - } - } - } - // This segment and all its children have finished prefetching. - return 2; -} -function diffRouteTreeAgainstCurrent(now, task, route, oldTree, newTree, spawnedEntries, fetchStrategy) { - // This is a single recursive traversal that does multiple things: - // - Finds the parts of the target route (newTree) that are not part of - // of the current page (oldTree) by diffing them, using the same algorithm - // as a real navigation. - // - Constructs a request tree (FlightRouterState) that describes which - // segments need to be prefetched and which ones are already cached. - // - Creates a set of pending cache entries for the segments that need to - // be prefetched, so that a subsequent prefetch task does not request the - // same segments again. - const oldTreeChildren = oldTree[1]; - const newTreeChildren = newTree.slots; - let requestTreeChildren = {}; - if (newTreeChildren !== null) { - for(const parallelRouteKey in newTreeChildren){ - const newTreeChild = newTreeChildren[parallelRouteKey]; - const newTreeChildSegment = newTreeChild.segment; - const oldTreeChild = oldTreeChildren[parallelRouteKey]; - const oldTreeChildSegment = oldTreeChild?.[0]; - if (oldTreeChildSegment !== undefined && doesCurrentSegmentMatchCachedSegment(route, newTreeChildSegment, oldTreeChildSegment)) { - // This segment is already part of the current route. Keep traversing. - const requestTreeChild = diffRouteTreeAgainstCurrent(now, task, route, oldTreeChild, newTreeChild, spawnedEntries, fetchStrategy); - requestTreeChildren[parallelRouteKey] = requestTreeChild; - } else { - // This segment is not part of the current route. We're entering a - // part of the tree that we need to prefetch (unless everything is - // already cached). - switch(fetchStrategy){ - case _types.FetchStrategy.LoadingBoundary: - { - // When PPR is disabled, we can't prefetch per segment. We must - // fallback to the old prefetch behavior and send a dynamic request. - // Only routes that include a loading boundary can be prefetched in - // this way. - // - // This is simlar to a "full" prefetch, but we're much more - // conservative about which segments to include in the request. - // - // The server will only render up to the first loading boundary - // inside new part of the tree. If there's no loading boundary - // anywhere in the tree, the server will never return any data, so - // we can skip the request. - const subtreeHasLoadingBoundary = newTreeChild.hasLoadingBoundary !== _approutertypes.HasLoadingBoundary.SubtreeHasNoLoadingBoundary; - const requestTreeChild = subtreeHasLoadingBoundary ? pingPPRDisabledRouteTreeUpToLoadingBoundary(now, task, route, newTreeChild, null, spawnedEntries) : (0, _cache.convertRouteTreeToFlightRouterState)(newTreeChild); - requestTreeChildren[parallelRouteKey] = requestTreeChild; - break; - } - case _types.FetchStrategy.PPRRuntime: - { - // This is a runtime prefetch. Fetch all cacheable data in the tree, - // not just the static PPR shell. - const requestTreeChild = pingRouteTreeAndIncludeDynamicData(now, task, route, newTreeChild, false, spawnedEntries, fetchStrategy); - requestTreeChildren[parallelRouteKey] = requestTreeChild; - break; - } - case _types.FetchStrategy.Full: - { - // This is a "full" prefetch. Fetch all the data in the tree, both - // static and dynamic. We issue roughly the same request that we - // would during a real navigation. The goal is that once the - // navigation occurs, the router should not have to fetch any - // additional data. - // - // Although the response will include dynamic data, opting into a - // Full prefetch — via <Link prefetch={true}> — implicitly - // instructs the cache to treat the response as "static", or non- - // dynamic, since the whole point is to cache it for - // future navigations. - // - // Construct a tree (currently a FlightRouterState) that represents - // which segments need to be prefetched and which ones are already - // cached. If the tree is empty, then we can exit. Otherwise, we'll - // send the request tree to the server and use the response to - // populate the segment cache. - const requestTreeChild = pingRouteTreeAndIncludeDynamicData(now, task, route, newTreeChild, false, spawnedEntries, fetchStrategy); - requestTreeChildren[parallelRouteKey] = requestTreeChild; - break; - } - default: - fetchStrategy; - } - } - } - } - const requestTree = [ - newTree.segment, - requestTreeChildren, - null, - null, - newTree.isRootLayout - ]; - return requestTree; -} -function pingPPRDisabledRouteTreeUpToLoadingBoundary(now, task, route, tree, refetchMarkerContext, spawnedEntries) { - // This function is similar to pingRouteTreeAndIncludeDynamicData, except the - // server is only going to return a minimal loading state — it will stop - // rendering at the first loading boundary. Whereas a Full prefetch is - // intentionally aggressive and tries to pretfetch all the data that will be - // needed for a navigation, a LoadingBoundary prefetch is much more - // conservative. For example, it will omit from the request tree any segment - // that is already cached, regardles of whether it's partial or full. By - // contrast, a Full prefetch will refetch partial segments. - // "inside-shared-layout" tells the server where to start looking for a - // loading boundary. - let refetchMarker = refetchMarkerContext === null ? 'inside-shared-layout' : null; - const segment = (0, _cache.readOrCreateSegmentCacheEntry)(now, task.fetchStrategy, route, tree); - switch(segment.status){ - case _cache.EntryStatus.Empty: - { - // This segment is not cached. Add a refetch marker so the server knows - // to start rendering here. - // TODO: Instead of a "refetch" marker, we could just omit this subtree's - // FlightRouterState from the request tree. I think this would probably - // already work even without any updates to the server. For consistency, - // though, I'll send the full tree and we'll look into this later as part - // of a larger redesign of the request protocol. - // Add the pending cache entry to the result map. - spawnedEntries.set(tree.requestKey, (0, _cache.upgradeToPendingSegment)(segment, // might not include it in the pending response. If another route is able - // to issue a per-segment request, we'll do that in the background. - _types.FetchStrategy.LoadingBoundary)); - if (refetchMarkerContext !== 'refetch') { - refetchMarker = refetchMarkerContext = 'refetch'; - } else { - // There's already a parent with a refetch marker, so we don't need - // to add another one. - } - break; - } - case _cache.EntryStatus.Fulfilled: - { - // The segment is already cached. - const segmentHasLoadingBoundary = tree.hasLoadingBoundary === _approutertypes.HasLoadingBoundary.SegmentHasLoadingBoundary; - if (segmentHasLoadingBoundary) { - // This segment has a loading boundary, which means the server won't - // render its children. So there's nothing left to prefetch along this - // path. We can bail out. - return (0, _cache.convertRouteTreeToFlightRouterState)(tree); - } - break; - } - case _cache.EntryStatus.Pending: - { - break; - } - case _cache.EntryStatus.Rejected: - { - break; - } - default: - segment; - } - const requestTreeChildren = {}; - if (tree.slots !== null) { - for(const parallelRouteKey in tree.slots){ - const childTree = tree.slots[parallelRouteKey]; - requestTreeChildren[parallelRouteKey] = pingPPRDisabledRouteTreeUpToLoadingBoundary(now, task, route, childTree, refetchMarkerContext, spawnedEntries); - } - } - const requestTree = [ - tree.segment, - requestTreeChildren, - null, - refetchMarker, - tree.isRootLayout - ]; - return requestTree; -} -function pingRouteTreeAndIncludeDynamicData(now, task, route, tree, isInsideRefetchingParent, spawnedEntries, fetchStrategy) { - // The tree we're constructing is the same shape as the tree we're navigating - // to. But even though this is a "new" tree, some of the individual segments - // may be cached as a result of other route prefetches. - // - // So we need to find the first uncached segment along each path add an - // explicit "refetch" marker so the server knows where to start rendering. - // Once the server starts rendering along a path, it keeps rendering the - // entire subtree. - const segment = (0, _cache.readOrCreateSegmentCacheEntry)(now, // and we have to use the former here. - // We can have a task with `FetchStrategy.PPR` where some of its segments are configured to - // always use runtime prefetching (via `export const prefetch`), and those should check for - // entries that include search params. - fetchStrategy, route, tree); - let spawnedSegment = null; - switch(segment.status){ - case _cache.EntryStatus.Empty: - { - // This segment is not cached. Include it in the request. - spawnedSegment = (0, _cache.upgradeToPendingSegment)(segment, fetchStrategy); - break; - } - case _cache.EntryStatus.Fulfilled: - { - // The segment is already cached. - if (segment.isPartial && (0, _cache.canNewFetchStrategyProvideMoreContent)(segment.fetchStrategy, fetchStrategy)) { - // The cached segment contains dynamic holes, and was prefetched using a less specific strategy than the current one. - // This means we're in one of these cases: - // - we have a static prefetch, and we're doing a runtime prefetch - // - we have a static or runtime prefetch, and we're doing a Full prefetch (or a navigation). - // In either case, we need to include it in the request to get a more specific (or full) version. - spawnedSegment = pingFullSegmentRevalidation(now, route, tree, fetchStrategy); - } - break; - } - case _cache.EntryStatus.Pending: - case _cache.EntryStatus.Rejected: - { - // There's either another prefetch currently in progress, or the previous - // attempt failed. If the new strategy can provide more content, fetch it again. - if ((0, _cache.canNewFetchStrategyProvideMoreContent)(segment.fetchStrategy, fetchStrategy)) { - spawnedSegment = pingFullSegmentRevalidation(now, route, tree, fetchStrategy); - } - break; - } - default: - segment; - } - const requestTreeChildren = {}; - if (tree.slots !== null) { - for(const parallelRouteKey in tree.slots){ - const childTree = tree.slots[parallelRouteKey]; - requestTreeChildren[parallelRouteKey] = pingRouteTreeAndIncludeDynamicData(now, task, route, childTree, isInsideRefetchingParent || spawnedSegment !== null, spawnedEntries, fetchStrategy); - } - } - if (spawnedSegment !== null) { - // Add the pending entry to the result map. - spawnedEntries.set(tree.requestKey, spawnedSegment); - } - // Don't bother to add a refetch marker if one is already present in a parent. - const refetchMarker = !isInsideRefetchingParent && spawnedSegment !== null ? 'refetch' : null; - const requestTree = [ - tree.segment, - requestTreeChildren, - null, - refetchMarker, - tree.isRootLayout - ]; - return requestTree; -} -function pingRuntimePrefetches(now, task, route, tree, spawnedRuntimePrefetches, spawnedEntries) { - // Construct a request tree (FlightRouterState) for a runtime prefetch. If - // a segment is part of the runtime prefetch, the tree is constructed by - // diffing against what's already in the prefetch cache. Otherwise, we send - // a regular FlightRouterState with no special markers. - // - // See pingRouteTreeAndIncludeDynamicData for details. - if (spawnedRuntimePrefetches.has(tree.requestKey)) { - // This segment needs a runtime prefetch. - return pingRouteTreeAndIncludeDynamicData(now, task, route, tree, false, spawnedEntries, _types.FetchStrategy.PPRRuntime); - } - let requestTreeChildren = {}; - const slots = tree.slots; - if (slots !== null) { - for(const parallelRouteKey in slots){ - const childTree = slots[parallelRouteKey]; - requestTreeChildren[parallelRouteKey] = pingRuntimePrefetches(now, task, route, childTree, spawnedRuntimePrefetches, spawnedEntries); - } - } - // This segment is not part of the runtime prefetch. Clone the base tree. - const requestTree = [ - tree.segment, - requestTreeChildren, - null, - null - ]; - return requestTree; -} -function pingStaticSegmentData(now, task, route, segment, routeKey, tree) { - switch(segment.status){ - case _cache.EntryStatus.Empty: - // Upgrade to Pending so we know there's already a request in progress - spawnPrefetchSubtask((0, _cache.fetchSegmentOnCacheMiss)(route, (0, _cache.upgradeToPendingSegment)(segment, _types.FetchStrategy.PPR), routeKey, tree)); - break; - case _cache.EntryStatus.Pending: - { - // There's already a request in progress. Depending on what kind of - // request it is, we may want to revalidate it. - switch(segment.fetchStrategy){ - case _types.FetchStrategy.PPR: - case _types.FetchStrategy.PPRRuntime: - case _types.FetchStrategy.Full: - break; - case _types.FetchStrategy.LoadingBoundary: - // There's a pending request, but because it's using the old - // prefetching strategy, we can't be sure if it will be fulfilled by - // the response — it might be inside the loading boundary. Perform - // a revalidation, but because it's speculative, wait to do it at - // background priority. - if (background(task)) { - // TODO: Instead of speculatively revalidating, consider including - // `hasLoading` in the route tree prefetch response. - pingPPRSegmentRevalidation(now, route, routeKey, tree); - } - break; - default: - segment.fetchStrategy; - } - break; - } - case _cache.EntryStatus.Rejected: - { - // The existing entry in the cache was rejected. Depending on how it - // was originally fetched, we may or may not want to revalidate it. - switch(segment.fetchStrategy){ - case _types.FetchStrategy.PPR: - case _types.FetchStrategy.PPRRuntime: - case _types.FetchStrategy.Full: - break; - case _types.FetchStrategy.LoadingBoundary: - // There's a rejected entry, but it was fetched using the loading - // boundary strategy. So the reason it wasn't returned by the server - // might just be because it was inside a loading boundary. Or because - // there was a dynamic rewrite. Revalidate it using the per- - // segment strategy. - // - // Because a rejected segment will definitely prevent the segment (and - // all of its children) from rendering, we perform this revalidation - // immediately instead of deferring it to a background task. - pingPPRSegmentRevalidation(now, route, routeKey, tree); - break; - default: - segment.fetchStrategy; - } - break; - } - case _cache.EntryStatus.Fulfilled: - break; - default: - segment; - } -// Segments do not have dependent tasks, so once the prefetch is initiated, -// there's nothing else for us to do (except write the server data into the -// entry, which is handled by `fetchSegmentOnCacheMiss`). -} -function pingPPRSegmentRevalidation(now, route, routeKey, tree) { - const revalidatingSegment = (0, _cache.readOrCreateRevalidatingSegmentEntry)(now, _types.FetchStrategy.PPR, route, tree); - switch(revalidatingSegment.status){ - case _cache.EntryStatus.Empty: - // Spawn a prefetch request and upsert the segment into the cache - // upon completion. - upsertSegmentOnCompletion(spawnPrefetchSubtask((0, _cache.fetchSegmentOnCacheMiss)(route, (0, _cache.upgradeToPendingSegment)(revalidatingSegment, _types.FetchStrategy.PPR), routeKey, tree)), (0, _varypath.getSegmentVaryPathForRequest)(_types.FetchStrategy.PPR, tree)); - break; - case _cache.EntryStatus.Pending: - break; - case _cache.EntryStatus.Fulfilled: - case _cache.EntryStatus.Rejected: - break; - default: - revalidatingSegment; - } -} -function pingFullSegmentRevalidation(now, route, tree, fetchStrategy) { - const revalidatingSegment = (0, _cache.readOrCreateRevalidatingSegmentEntry)(now, fetchStrategy, route, tree); - if (revalidatingSegment.status === _cache.EntryStatus.Empty) { - // During a Full/PPRRuntime prefetch, a single dynamic request is made for all the - // segments that we need. So we don't initiate a request here directly. By - // returning a pending entry from this function, it signals to the caller - // that this segment should be included in the request that's sent to - // the server. - const pendingSegment = (0, _cache.upgradeToPendingSegment)(revalidatingSegment, fetchStrategy); - upsertSegmentOnCompletion((0, _cache.waitForSegmentCacheEntry)(pendingSegment), (0, _varypath.getSegmentVaryPathForRequest)(fetchStrategy, tree)); - return pendingSegment; - } else { - // There's already a revalidation in progress. - const nonEmptyRevalidatingSegment = revalidatingSegment; - if ((0, _cache.canNewFetchStrategyProvideMoreContent)(nonEmptyRevalidatingSegment.fetchStrategy, fetchStrategy)) { - // The existing revalidation was fetched using a less specific strategy. - // Reset it and start a new revalidation. - const emptySegment = (0, _cache.overwriteRevalidatingSegmentCacheEntry)(fetchStrategy, route, tree); - const pendingSegment = (0, _cache.upgradeToPendingSegment)(emptySegment, fetchStrategy); - upsertSegmentOnCompletion((0, _cache.waitForSegmentCacheEntry)(pendingSegment), (0, _varypath.getSegmentVaryPathForRequest)(fetchStrategy, tree)); - return pendingSegment; - } - switch(nonEmptyRevalidatingSegment.status){ - case _cache.EntryStatus.Pending: - // There's already an in-progress prefetch that includes this segment. - return null; - case _cache.EntryStatus.Fulfilled: - case _cache.EntryStatus.Rejected: - // A previous revalidation attempt finished, but we chose not to replace - // the existing entry in the cache. Don't try again until or unless the - // revalidation entry expires. - return null; - default: - nonEmptyRevalidatingSegment; - return null; - } - } -} -const noop = ()=>{}; -function upsertSegmentOnCompletion(promise, varyPath) { - // Wait for a segment to finish loading, then upsert it into the cache - promise.then((fulfilled)=>{ - if (fulfilled !== null) { - // Received new data. Attempt to replace the existing entry in the cache. - (0, _cache.upsertSegmentEntry)(Date.now(), varyPath, fulfilled); - } - }, noop); -} -function doesCurrentSegmentMatchCachedSegment(route, currentSegment, cachedSegment) { - if (cachedSegment === _segment.PAGE_SEGMENT_KEY) { - // In the FlightRouterState stored by the router, the page segment has the - // rendered search params appended to the name of the segment. In the - // prefetch cache, however, this is stored separately. So, when comparing - // the router's current FlightRouterState to the cached FlightRouterState, - // we need to make sure we compare both parts of the segment. - // TODO: This is not modeled clearly. We use the same type, - // FlightRouterState, for both the CacheNode tree _and_ the prefetch cache - // _and_ the server response format, when conceptually those are three - // different things and treated in different ways. We should encode more of - // this information into the type design so mistakes are less likely. - return currentSegment === (0, _segment.addSearchParamsIfPageSegment)(_segment.PAGE_SEGMENT_KEY, Object.fromEntries(new URLSearchParams(route.renderedSearch))); - } - // Non-page segments are compared using the same function as the server - return (0, _matchsegments.matchSegment)(cachedSegment, currentSegment); -} -// ----------------------------------------------------------------------------- -// The remainder of the module is a MinHeap implementation. Try not to put any -// logic below here unless it's related to the heap algorithm. We can extract -// this to a separate module if/when we need multiple kinds of heaps. -// ----------------------------------------------------------------------------- -function compareQueuePriority(a, b) { - // Since the queue is a MinHeap, this should return a positive number if b is - // higher priority than a, and a negative number if a is higher priority - // than b. - // `priority` is an integer, where higher numbers are higher priority. - const priorityDiff = b.priority - a.priority; - if (priorityDiff !== 0) { - return priorityDiff; - } - // If the priority is the same, check which phase the prefetch is in — is it - // prefetching the route tree, or the segments? Route trees are prioritized. - const phaseDiff = b.phase - a.phase; - if (phaseDiff !== 0) { - return phaseDiff; - } - // Finally, check the insertion order. `sortId` is an incrementing counter - // assigned to prefetches. We want to process the newest prefetches first. - return b.sortId - a.sortId; -} -function heapPush(heap, node) { - const index = heap.length; - heap.push(node); - node._heapIndex = index; - heapSiftUp(heap, node, index); -} -function heapPeek(heap) { - return heap.length === 0 ? null : heap[0]; -} -function heapPop(heap) { - if (heap.length === 0) { - return null; - } - const first = heap[0]; - first._heapIndex = -1; - const last = heap.pop(); - if (last !== first) { - heap[0] = last; - last._heapIndex = 0; - heapSiftDown(heap, last, 0); - } - return first; -} -function heapDelete(heap, node) { - const index = node._heapIndex; - if (index !== -1) { - node._heapIndex = -1; - if (heap.length !== 0) { - const last = heap.pop(); - if (last !== node) { - heap[index] = last; - last._heapIndex = index; - heapSiftDown(heap, last, index); - } - } - } -} -function heapResift(heap, node) { - const index = node._heapIndex; - if (index !== -1) { - if (index === 0) { - heapSiftDown(heap, node, 0); - } else { - const parentIndex = index - 1 >>> 1; - const parent = heap[parentIndex]; - if (compareQueuePriority(parent, node) > 0) { - // The parent is larger. Sift up. - heapSiftUp(heap, node, index); - } else { - // The parent is smaller (or equal). Sift down. - heapSiftDown(heap, node, index); - } - } - } -} -function heapSiftUp(heap, node, i) { - let index = i; - while(index > 0){ - const parentIndex = index - 1 >>> 1; - const parent = heap[parentIndex]; - if (compareQueuePriority(parent, node) > 0) { - // The parent is larger. Swap positions. - heap[parentIndex] = node; - node._heapIndex = parentIndex; - heap[index] = parent; - parent._heapIndex = index; - index = parentIndex; - } else { - // The parent is smaller. Exit. - return; - } - } -} -function heapSiftDown(heap, node, i) { - let index = i; - const length = heap.length; - const halfLength = length >>> 1; - while(index < halfLength){ - const leftIndex = (index + 1) * 2 - 1; - const left = heap[leftIndex]; - const rightIndex = leftIndex + 1; - const right = heap[rightIndex]; - // If the left or right node is smaller, swap with the smaller of those. - if (compareQueuePriority(left, node) < 0) { - if (rightIndex < length && compareQueuePriority(right, left) < 0) { - heap[index] = right; - right._heapIndex = index; - heap[rightIndex] = node; - node._heapIndex = rightIndex; - index = rightIndex; - } else { - heap[index] = left; - left._heapIndex = index; - heap[leftIndex] = node; - node._heapIndex = leftIndex; - index = leftIndex; - } - } else if (rightIndex < length && compareQueuePriority(right, node) < 0) { - heap[index] = right; - right._heapIndex = index; - heap[rightIndex] = node; - node._heapIndex = rightIndex; - index = rightIndex; - } else { - // Neither child is smaller. Exit. - return; - } - } -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=scheduler.js.map -}), -"[project]/node_modules/next/dist/client/normalize-trailing-slash.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "normalizePathTrailingSlash", { - enumerable: true, - get: function() { - return normalizePathTrailingSlash; - } -}); -const _removetrailingslash = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js [app-client] (ecmascript)"); -const _parsepath = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/router/utils/parse-path.js [app-client] (ecmascript)"); -const normalizePathTrailingSlash = (path)=>{ - if (!path.startsWith('/') || ("TURBOPACK compile-time value", void 0)) { - return path; - } - const { pathname, query, hash } = (0, _parsepath.parsePath)(path); - if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable - ; - return `${(0, _removetrailingslash.removeTrailingSlash)(pathname)}${query}${hash}`; -}; -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=normalize-trailing-slash.js.map -}), -"[project]/node_modules/next/dist/client/add-base-path.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "addBasePath", { - enumerable: true, - get: function() { - return addBasePath; - } -}); -const _addpathprefix = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js [app-client] (ecmascript)"); -const _normalizetrailingslash = __turbopack_context__.r("[project]/node_modules/next/dist/client/normalize-trailing-slash.js [app-client] (ecmascript)"); -const basePath = ("TURBOPACK compile-time value", "") || ''; -function addBasePath(path, required) { - return (0, _normalizetrailingslash.normalizePathTrailingSlash)(("TURBOPACK compile-time falsy", 0) ? "TURBOPACK unreachable" : (0, _addpathprefix.addPathPrefix)(path, basePath)); -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=add-base-path.js.map -}), -"[project]/node_modules/next/dist/client/components/app-router-utils.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - createPrefetchURL: null, - isExternalURL: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - createPrefetchURL: function() { - return createPrefetchURL; - }, - isExternalURL: function() { - return isExternalURL; - } -}); -const _isbot = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/router/utils/is-bot.js [app-client] (ecmascript)"); -const _addbasepath = __turbopack_context__.r("[project]/node_modules/next/dist/client/add-base-path.js [app-client] (ecmascript)"); -function isExternalURL(url) { - return url.origin !== window.location.origin; -} -function createPrefetchURL(href) { - // Don't prefetch for bots as they don't navigate. - if ((0, _isbot.isBot)(window.navigator.userAgent)) { - return null; - } - let url; - try { - url = new URL((0, _addbasepath.addBasePath)(href), window.location.href); - } catch (_) { - // TODO: Does this need to throw or can we just console.error instead? Does - // anyone rely on this throwing? (Seems unlikely.) - throw Object.defineProperty(new Error(`Cannot prefetch '${href}' because it cannot be converted to a URL.`), "__NEXT_ERROR_CODE", { - value: "E234", - enumerable: false, - configurable: true - }); - } - // Don't prefetch during development (improves compilation performance) - if ("TURBOPACK compile-time truthy", 1) { - return null; - } - //TURBOPACK unreachable - ; -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=app-router-utils.js.map -}), -"[project]/node_modules/next/dist/client/components/links.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - IDLE_LINK_STATUS: null, - PENDING_LINK_STATUS: null, - mountFormInstance: null, - mountLinkInstance: null, - onLinkVisibilityChanged: null, - onNavigationIntent: null, - pingVisibleLinks: null, - setLinkForCurrentNavigation: null, - unmountLinkForCurrentNavigation: null, - unmountPrefetchableInstance: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - IDLE_LINK_STATUS: function() { - return IDLE_LINK_STATUS; - }, - PENDING_LINK_STATUS: function() { - return PENDING_LINK_STATUS; - }, - mountFormInstance: function() { - return mountFormInstance; - }, - mountLinkInstance: function() { - return mountLinkInstance; - }, - onLinkVisibilityChanged: function() { - return onLinkVisibilityChanged; - }, - onNavigationIntent: function() { - return onNavigationIntent; - }, - pingVisibleLinks: function() { - return pingVisibleLinks; - }, - setLinkForCurrentNavigation: function() { - return setLinkForCurrentNavigation; - }, - unmountLinkForCurrentNavigation: function() { - return unmountLinkForCurrentNavigation; - }, - unmountPrefetchableInstance: function() { - return unmountPrefetchableInstance; - } -}); -const _types = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/segment-cache/types.js [app-client] (ecmascript)"); -const _cachekey = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/segment-cache/cache-key.js [app-client] (ecmascript)"); -const _scheduler = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/segment-cache/scheduler.js [app-client] (ecmascript)"); -const _react = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -// Tracks the most recently navigated link instance. When null, indicates -// the current navigation was not initiated by a link click. -let linkForMostRecentNavigation = null; -const PENDING_LINK_STATUS = { - pending: true -}; -const IDLE_LINK_STATUS = { - pending: false -}; -function setLinkForCurrentNavigation(link) { - (0, _react.startTransition)(()=>{ - linkForMostRecentNavigation?.setOptimisticLinkStatus(IDLE_LINK_STATUS); - link?.setOptimisticLinkStatus(PENDING_LINK_STATUS); - linkForMostRecentNavigation = link; - }); -} -function unmountLinkForCurrentNavigation(link) { - if (linkForMostRecentNavigation === link) { - linkForMostRecentNavigation = null; - } -} -// Use a WeakMap to associate a Link instance with its DOM element. This is -// used by the IntersectionObserver to track the link's visibility. -const prefetchable = typeof WeakMap === 'function' ? new WeakMap() : new Map(); -// A Set of the currently visible links. We re-prefetch visible links after a -// cache invalidation, or when the current URL changes. It's a separate data -// structure from the WeakMap above because only the visible links need to -// be enumerated. -const prefetchableAndVisible = new Set(); -// A single IntersectionObserver instance shared by all <Link> components. -const observer = typeof IntersectionObserver === 'function' ? new IntersectionObserver(handleIntersect, { - rootMargin: '200px' -}) : null; -function observeVisibility(element, instance) { - const existingInstance = prefetchable.get(element); - if (existingInstance !== undefined) { - // This shouldn't happen because each <Link> component should have its own - // anchor tag instance, but it's defensive coding to avoid a memory leak in - // case there's a logical error somewhere else. - unmountPrefetchableInstance(element); - } - // Only track prefetchable links that have a valid prefetch URL - prefetchable.set(element, instance); - if (observer !== null) { - observer.observe(element); - } -} -function coercePrefetchableUrl(href) { - if (typeof window !== 'undefined') { - const { createPrefetchURL } = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/app-router-utils.js [app-client] (ecmascript)"); - try { - return createPrefetchURL(href); - } catch { - // createPrefetchURL sometimes throws an error if an invalid URL is - // provided, though I'm not sure if it's actually necessary. - // TODO: Consider removing the throw from the inner function, or change it - // to reportError. Or maybe the error isn't even necessary for automatic - // prefetches, just navigations. - const reportErrorFn = typeof reportError === 'function' ? reportError : console.error; - reportErrorFn(`Cannot prefetch '${href}' because it cannot be converted to a URL.`); - return null; - } - } else { - return null; - } -} -function mountLinkInstance(element, href, router, fetchStrategy, prefetchEnabled, setOptimisticLinkStatus) { - if (prefetchEnabled) { - const prefetchURL = coercePrefetchableUrl(href); - if (prefetchURL !== null) { - const instance = { - router, - fetchStrategy, - isVisible: false, - prefetchTask: null, - prefetchHref: prefetchURL.href, - setOptimisticLinkStatus - }; - // We only observe the link's visibility if it's prefetchable. For - // example, this excludes links to external URLs. - observeVisibility(element, instance); - return instance; - } - } - // If the link is not prefetchable, we still create an instance so we can - // track its optimistic state (i.e. useLinkStatus). - const instance = { - router, - fetchStrategy, - isVisible: false, - prefetchTask: null, - prefetchHref: null, - setOptimisticLinkStatus - }; - return instance; -} -function mountFormInstance(element, href, router, fetchStrategy) { - const prefetchURL = coercePrefetchableUrl(href); - if (prefetchURL === null) { - // This href is not prefetchable, so we don't track it. - // TODO: We currently observe/unobserve a form every time its href changes. - // For Links, this isn't a big deal because the href doesn't usually change, - // but for forms it's extremely common. We should optimize this. - return; - } - const instance = { - router, - fetchStrategy, - isVisible: false, - prefetchTask: null, - prefetchHref: prefetchURL.href, - setOptimisticLinkStatus: null - }; - observeVisibility(element, instance); -} -function unmountPrefetchableInstance(element) { - const instance = prefetchable.get(element); - if (instance !== undefined) { - prefetchable.delete(element); - prefetchableAndVisible.delete(instance); - const prefetchTask = instance.prefetchTask; - if (prefetchTask !== null) { - (0, _scheduler.cancelPrefetchTask)(prefetchTask); - } - } - if (observer !== null) { - observer.unobserve(element); - } -} -function handleIntersect(entries) { - for (const entry of entries){ - // Some extremely old browsers or polyfills don't reliably support - // isIntersecting so we check intersectionRatio instead. (Do we care? Not - // really. But whatever this is fine.) - const isVisible = entry.intersectionRatio > 0; - onLinkVisibilityChanged(entry.target, isVisible); - } -} -function onLinkVisibilityChanged(element, isVisible) { - if ("TURBOPACK compile-time truthy", 1) { - // Prefetching on viewport is disabled in development for performance - // reasons, because it requires compiling the target page. - // TODO: Investigate re-enabling this. - return; - } - //TURBOPACK unreachable - ; - const instance = undefined; -} -function onNavigationIntent(element, unstable_upgradeToDynamicPrefetch) { - const instance = prefetchable.get(element); - if (instance === undefined) { - return; - } - // Prefetch the link on hover/touchstart. - if (instance !== undefined) { - if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable - ; - rescheduleLinkPrefetch(instance, _types.PrefetchPriority.Intent); - } -} -function rescheduleLinkPrefetch(instance, priority) { - // Ensures that app-router-instance is not compiled in the server bundle - if (typeof window !== 'undefined') { - const existingPrefetchTask = instance.prefetchTask; - if (!instance.isVisible) { - // Cancel any in-progress prefetch task. (If it already finished then this - // is a no-op.) - if (existingPrefetchTask !== null) { - (0, _scheduler.cancelPrefetchTask)(existingPrefetchTask); - } - // We don't need to reset the prefetchTask to null upon cancellation; an - // old task object can be rescheduled with reschedulePrefetchTask. This is a - // micro-optimization but also makes the code simpler (don't need to - // worry about whether an old task object is stale). - return; - } - const { getCurrentAppRouterState } = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/app-router-instance.js [app-client] (ecmascript)"); - const appRouterState = getCurrentAppRouterState(); - if (appRouterState !== null) { - const treeAtTimeOfPrefetch = appRouterState.tree; - if (existingPrefetchTask === null) { - // Initiate a prefetch task. - const nextUrl = appRouterState.nextUrl; - const cacheKey = (0, _cachekey.createCacheKey)(instance.prefetchHref, nextUrl); - instance.prefetchTask = (0, _scheduler.schedulePrefetchTask)(cacheKey, treeAtTimeOfPrefetch, instance.fetchStrategy, priority, null); - } else { - // We already have an old task object that we can reschedule. This is - // effectively the same as canceling the old task and creating a new one. - (0, _scheduler.reschedulePrefetchTask)(existingPrefetchTask, treeAtTimeOfPrefetch, instance.fetchStrategy, priority); - } - } - } -} -function pingVisibleLinks(nextUrl, tree) { - // For each currently visible link, cancel the existing prefetch task (if it - // exists) and schedule a new one. This is effectively the same as if all the - // visible links left and then re-entered the viewport. - // - // This is called when the Next-Url or the base tree changes, since those - // may affect the result of a prefetch task. It's also called after a - // cache invalidation. - for (const instance of prefetchableAndVisible){ - const task = instance.prefetchTask; - if (task !== null && !(0, _scheduler.isPrefetchTaskDirty)(task, nextUrl, tree)) { - continue; - } - // Something changed. Cancel the existing prefetch task and schedule a - // new one. - if (task !== null) { - (0, _scheduler.cancelPrefetchTask)(task); - } - const cacheKey = (0, _cachekey.createCacheKey)(instance.prefetchHref, nextUrl); - instance.prefetchTask = (0, _scheduler.schedulePrefetchTask)(cacheKey, tree, instance.fetchStrategy, _types.PrefetchPriority.Default, null); - } -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=links.js.map -}), -"[project]/node_modules/next/dist/client/components/segment-cache/cache.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - EntryStatus: null, - canNewFetchStrategyProvideMoreContent: null, - convertRouteTreeToFlightRouterState: null, - createDetachedSegmentCacheEntry: null, - fetchRouteOnCacheMiss: null, - fetchSegmentOnCacheMiss: null, - fetchSegmentPrefetchesUsingDynamicRequest: null, - getCurrentCacheVersion: null, - getStaleTimeMs: null, - overwriteRevalidatingSegmentCacheEntry: null, - pingInvalidationListeners: null, - readOrCreateRevalidatingSegmentEntry: null, - readOrCreateRouteCacheEntry: null, - readOrCreateSegmentCacheEntry: null, - readRouteCacheEntry: null, - readSegmentCacheEntry: null, - requestOptimisticRouteCacheEntry: null, - revalidateEntireCache: null, - upgradeToPendingSegment: null, - upsertSegmentEntry: null, - waitForSegmentCacheEntry: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - EntryStatus: function() { - return EntryStatus; - }, - canNewFetchStrategyProvideMoreContent: function() { - return canNewFetchStrategyProvideMoreContent; - }, - convertRouteTreeToFlightRouterState: function() { - return convertRouteTreeToFlightRouterState; - }, - createDetachedSegmentCacheEntry: function() { - return createDetachedSegmentCacheEntry; - }, - fetchRouteOnCacheMiss: function() { - return fetchRouteOnCacheMiss; - }, - fetchSegmentOnCacheMiss: function() { - return fetchSegmentOnCacheMiss; - }, - fetchSegmentPrefetchesUsingDynamicRequest: function() { - return fetchSegmentPrefetchesUsingDynamicRequest; - }, - getCurrentCacheVersion: function() { - return getCurrentCacheVersion; - }, - getStaleTimeMs: function() { - return getStaleTimeMs; - }, - overwriteRevalidatingSegmentCacheEntry: function() { - return overwriteRevalidatingSegmentCacheEntry; - }, - pingInvalidationListeners: function() { - return pingInvalidationListeners; - }, - readOrCreateRevalidatingSegmentEntry: function() { - return readOrCreateRevalidatingSegmentEntry; - }, - readOrCreateRouteCacheEntry: function() { - return readOrCreateRouteCacheEntry; - }, - readOrCreateSegmentCacheEntry: function() { - return readOrCreateSegmentCacheEntry; - }, - readRouteCacheEntry: function() { - return readRouteCacheEntry; - }, - readSegmentCacheEntry: function() { - return readSegmentCacheEntry; - }, - requestOptimisticRouteCacheEntry: function() { - return requestOptimisticRouteCacheEntry; - }, - revalidateEntireCache: function() { - return revalidateEntireCache; - }, - upgradeToPendingSegment: function() { - return upgradeToPendingSegment; - }, - upsertSegmentEntry: function() { - return upsertSegmentEntry; - }, - waitForSegmentCacheEntry: function() { - return waitForSegmentCacheEntry; - } -}); -const _approutertypes = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/app-router-types.js [app-client] (ecmascript)"); -const _approuterheaders = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/app-router-headers.js [app-client] (ecmascript)"); -const _fetchserverresponse = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/fetch-server-response.js [app-client] (ecmascript)"); -const _scheduler = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/segment-cache/scheduler.js [app-client] (ecmascript)"); -const _varypath = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/segment-cache/vary-path.js [app-client] (ecmascript)"); -const _appbuildid = __turbopack_context__.r("[project]/node_modules/next/dist/client/app-build-id.js [app-client] (ecmascript)"); -const _createhreffromurl = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/create-href-from-url.js [app-client] (ecmascript)"); -const _cachekey = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/segment-cache/cache-key.js [app-client] (ecmascript)"); -const _routeparams = __turbopack_context__.r("[project]/node_modules/next/dist/client/route-params.js [app-client] (ecmascript)"); -const _cachemap = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/segment-cache/cache-map.js [app-client] (ecmascript)"); -const _segmentvalueencoding = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/segment-cache/segment-value-encoding.js [app-client] (ecmascript)"); -const _flightdatahelpers = __turbopack_context__.r("[project]/node_modules/next/dist/client/flight-data-helpers.js [app-client] (ecmascript)"); -const _navigatereducer = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/reducers/navigate-reducer.js [app-client] (ecmascript)"); -const _links = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/links.js [app-client] (ecmascript)"); -const _segment = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/segment.js [app-client] (ecmascript)"); -const _types = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/segment-cache/types.js [app-client] (ecmascript)"); -const _promisewithresolvers = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/promise-with-resolvers.js [app-client] (ecmascript)"); -function getStaleTimeMs(staleTimeSeconds) { - return Math.max(staleTimeSeconds, 30) * 1000; -} -var EntryStatus = /*#__PURE__*/ function(EntryStatus) { - EntryStatus[EntryStatus["Empty"] = 0] = "Empty"; - EntryStatus[EntryStatus["Pending"] = 1] = "Pending"; - EntryStatus[EntryStatus["Fulfilled"] = 2] = "Fulfilled"; - EntryStatus[EntryStatus["Rejected"] = 3] = "Rejected"; - return EntryStatus; -}({}); -const isOutputExportMode = ("TURBOPACK compile-time value", "development") === 'production' && ("TURBOPACK compile-time value", void 0) === 'export'; -const MetadataOnlyRequestTree = [ - '', - {}, - null, - 'metadata-only' -]; -let routeCacheMap = (0, _cachemap.createCacheMap)(); -let segmentCacheMap = (0, _cachemap.createCacheMap)(); -// All invalidation listeners for the whole cache are tracked in single set. -// Since we don't yet support tag or path-based invalidation, there's no point -// tracking them any more granularly than this. Once we add granular -// invalidation, that may change, though generally the model is to just notify -// the listeners and allow the caller to poll the prefetch cache with a new -// prefetch task if desired. -let invalidationListeners = null; -// Incrementing counter used to track cache invalidations. -let currentCacheVersion = 0; -function getCurrentCacheVersion() { - return currentCacheVersion; -} -function revalidateEntireCache(nextUrl, tree) { - // Increment the current cache version. This does not eagerly evict anything - // from the cache, but because all the entries are versioned, and we check - // the version when reading from the cache, this effectively causes all - // entries to be evicted lazily. We do it lazily because in the future, - // actions like revalidateTag or refresh will not evict the entire cache, - // but rather some subset of the entries. - currentCacheVersion++; - // Start a cooldown before re-prefetching to allow CDN cache propagation. - (0, _scheduler.startRevalidationCooldown)(); - // Prefetch all the currently visible links again, to re-fill the cache. - (0, _links.pingVisibleLinks)(nextUrl, tree); - // Similarly, notify all invalidation listeners (i.e. those passed to - // `router.prefetch(onInvalidate)`), so they can trigger a new prefetch - // if needed. - pingInvalidationListeners(nextUrl, tree); -} -function attachInvalidationListener(task) { - // This function is called whenever a prefetch task reads a cache entry. If - // the task has an onInvalidate function associated with it — i.e. the one - // optionally passed to router.prefetch(onInvalidate) — then we attach that - // listener to the every cache entry that the task reads. Then, if an entry - // is invalidated, we call the function. - if (task.onInvalidate !== null) { - if (invalidationListeners === null) { - invalidationListeners = new Set([ - task - ]); - } else { - invalidationListeners.add(task); - } - } -} -function notifyInvalidationListener(task) { - const onInvalidate = task.onInvalidate; - if (onInvalidate !== null) { - // Clear the callback from the task object to guarantee it's not called more - // than once. - task.onInvalidate = null; - // This is a user-space function, so we must wrap in try/catch. - try { - onInvalidate(); - } catch (error) { - if (typeof reportError === 'function') { - reportError(error); - } else { - console.error(error); - } - } - } -} -function pingInvalidationListeners(nextUrl, tree) { - // The rough equivalent of pingVisibleLinks, but for onInvalidate callbacks. - // This is called when the Next-Url or the base tree changes, since those - // may affect the result of a prefetch task. It's also called after a - // cache invalidation. - if (invalidationListeners !== null) { - const tasks = invalidationListeners; - invalidationListeners = null; - for (const task of tasks){ - if ((0, _scheduler.isPrefetchTaskDirty)(task, nextUrl, tree)) { - notifyInvalidationListener(task); - } - } - } -} -function readRouteCacheEntry(now, key) { - const varyPath = (0, _varypath.getRouteVaryPath)(key.pathname, key.search, key.nextUrl); - const isRevalidation = false; - return (0, _cachemap.getFromCacheMap)(now, getCurrentCacheVersion(), routeCacheMap, varyPath, isRevalidation); -} -function readSegmentCacheEntry(now, varyPath) { - const isRevalidation = false; - return (0, _cachemap.getFromCacheMap)(now, getCurrentCacheVersion(), segmentCacheMap, varyPath, isRevalidation); -} -function readRevalidatingSegmentCacheEntry(now, varyPath) { - const isRevalidation = true; - return (0, _cachemap.getFromCacheMap)(now, getCurrentCacheVersion(), segmentCacheMap, varyPath, isRevalidation); -} -function waitForSegmentCacheEntry(pendingEntry) { - // Because the entry is pending, there's already a in-progress request. - // Attach a promise to the entry that will resolve when the server responds. - let promiseWithResolvers = pendingEntry.promise; - if (promiseWithResolvers === null) { - promiseWithResolvers = pendingEntry.promise = (0, _promisewithresolvers.createPromiseWithResolvers)(); - } else { - // There's already a promise we can use - } - return promiseWithResolvers.promise; -} -function readOrCreateRouteCacheEntry(now, task, key) { - attachInvalidationListener(task); - const existingEntry = readRouteCacheEntry(now, key); - if (existingEntry !== null) { - return existingEntry; - } - // Create a pending entry and add it to the cache. - const pendingEntry = { - canonicalUrl: null, - status: 0, - blockedTasks: null, - tree: null, - metadata: null, - // This is initialized to true because we don't know yet whether the route - // could be intercepted. It's only set to false once we receive a response - // from the server. - couldBeIntercepted: true, - // Similarly, we don't yet know if the route supports PPR. - isPPREnabled: false, - renderedSearch: null, - // Map-related fields - ref: null, - size: 0, - // Since this is an empty entry, there's no reason to ever evict it. It will - // be updated when the data is populated. - staleAt: Infinity, - version: getCurrentCacheVersion() - }; - const varyPath = (0, _varypath.getRouteVaryPath)(key.pathname, key.search, key.nextUrl); - const isRevalidation = false; - (0, _cachemap.setInCacheMap)(routeCacheMap, varyPath, pendingEntry, isRevalidation); - return pendingEntry; -} -function requestOptimisticRouteCacheEntry(now, requestedUrl, nextUrl) { - // This function is called during a navigation when there was no matching - // route tree in the prefetch cache. Before de-opting to a blocking, - // unprefetched navigation, we will first attempt to construct an "optimistic" - // route tree by checking the cache for similar routes. - // - // Check if there's a route with the same pathname, but with different - // search params. We can then base our optimistic route tree on this entry. - // - // Conceptually, we are simulating what would happen if we did perform a - // prefetch the requested URL, under the assumption that the server will - // not redirect or rewrite the request in a different manner than the - // base route tree. This assumption might not hold, in which case we'll have - // to recover when we perform the dynamic navigation request. However, this - // is what would happen if a route were dynamically rewritten/redirected - // in between the prefetch and the navigation. So the logic needs to exist - // to handle this case regardless. - // Look for a route with the same pathname, but with an empty search string. - // TODO: There's nothing inherently special about the empty search string; - // it's chosen somewhat arbitrarily, with the rationale that it's the most - // likely one to exist. But we should update this to match _any_ search - // string. The plan is to generalize this logic alongside other improvements - // related to "fallback" cache entries. - const requestedSearch = requestedUrl.search; - if (requestedSearch === '') { - // The caller would have already checked if a route with an empty search - // string is in the cache. So we can bail out here. - return null; - } - const urlWithoutSearchParams = new URL(requestedUrl); - urlWithoutSearchParams.search = ''; - const routeWithNoSearchParams = readRouteCacheEntry(now, (0, _cachekey.createCacheKey)(urlWithoutSearchParams.href, nextUrl)); - if (routeWithNoSearchParams === null || routeWithNoSearchParams.status !== 2) { - // Bail out of constructing an optimistic route tree. This will result in - // a blocking, unprefetched navigation. - return null; - } - // Now we have a base route tree we can "patch" with our optimistic values. - // Optimistically assume that redirects for the requested pathname do - // not vary on the search string. Therefore, if the base route was - // redirected to a different search string, then the optimistic route - // should be redirected to the same search string. Otherwise, we use - // the requested search string. - const canonicalUrlForRouteWithNoSearchParams = new URL(routeWithNoSearchParams.canonicalUrl, requestedUrl.origin); - const optimisticCanonicalSearch = canonicalUrlForRouteWithNoSearchParams.search !== '' ? canonicalUrlForRouteWithNoSearchParams.search : requestedSearch; - // Similarly, optimistically assume that rewrites for the requested - // pathname do not vary on the search string. Therefore, if the base - // route was rewritten to a different search string, then the optimistic - // route should be rewritten to the same search string. Otherwise, we use - // the requested search string. - const optimisticRenderedSearch = routeWithNoSearchParams.renderedSearch !== '' ? routeWithNoSearchParams.renderedSearch : requestedSearch; - const optimisticUrl = new URL(routeWithNoSearchParams.canonicalUrl, location.origin); - optimisticUrl.search = optimisticCanonicalSearch; - const optimisticCanonicalUrl = (0, _createhreffromurl.createHrefFromUrl)(optimisticUrl); - const optimisticRouteTree = createOptimisticRouteTree(routeWithNoSearchParams.tree, optimisticRenderedSearch); - const optimisticMetadataTree = createOptimisticRouteTree(routeWithNoSearchParams.metadata, optimisticRenderedSearch); - // Clone the base route tree, and override the relevant fields with our - // optimistic values. - const optimisticEntry = { - canonicalUrl: optimisticCanonicalUrl, - status: 2, - // This isn't cloned because it's instance-specific - blockedTasks: null, - tree: optimisticRouteTree, - metadata: optimisticMetadataTree, - couldBeIntercepted: routeWithNoSearchParams.couldBeIntercepted, - isPPREnabled: routeWithNoSearchParams.isPPREnabled, - // Override the rendered search with the optimistic value. - renderedSearch: optimisticRenderedSearch, - // Map-related fields - ref: null, - size: 0, - staleAt: routeWithNoSearchParams.staleAt, - version: routeWithNoSearchParams.version - }; - // Do not insert this entry into the cache. It only exists so we can - // perform the current navigation. Just return it to the caller. - return optimisticEntry; -} -function createOptimisticRouteTree(tree, newRenderedSearch) { - // Create a new route tree that identical to the original one except for - // the rendered search string, which is contained in the vary path. - let clonedSlots = null; - const originalSlots = tree.slots; - if (originalSlots !== null) { - clonedSlots = {}; - for(const parallelRouteKey in originalSlots){ - const childTree = originalSlots[parallelRouteKey]; - clonedSlots[parallelRouteKey] = createOptimisticRouteTree(childTree, newRenderedSearch); - } - } - // We only need to clone the vary path if the route is a page. - if (tree.isPage) { - return { - requestKey: tree.requestKey, - segment: tree.segment, - varyPath: (0, _varypath.clonePageVaryPathWithNewSearchParams)(tree.varyPath, newRenderedSearch), - isPage: true, - slots: clonedSlots, - isRootLayout: tree.isRootLayout, - hasLoadingBoundary: tree.hasLoadingBoundary, - hasRuntimePrefetch: tree.hasRuntimePrefetch - }; - } - return { - requestKey: tree.requestKey, - segment: tree.segment, - varyPath: tree.varyPath, - isPage: false, - slots: clonedSlots, - isRootLayout: tree.isRootLayout, - hasLoadingBoundary: tree.hasLoadingBoundary, - hasRuntimePrefetch: tree.hasRuntimePrefetch - }; -} -function readOrCreateSegmentCacheEntry(now, fetchStrategy, route, tree) { - const existingEntry = readSegmentCacheEntry(now, tree.varyPath); - if (existingEntry !== null) { - return existingEntry; - } - // Create a pending entry and add it to the cache. - const varyPathForRequest = (0, _varypath.getSegmentVaryPathForRequest)(fetchStrategy, tree); - const pendingEntry = createDetachedSegmentCacheEntry(route.staleAt); - const isRevalidation = false; - (0, _cachemap.setInCacheMap)(segmentCacheMap, varyPathForRequest, pendingEntry, isRevalidation); - return pendingEntry; -} -function readOrCreateRevalidatingSegmentEntry(now, fetchStrategy, route, tree) { - // This function is called when we've already confirmed that a particular - // segment is cached, but we want to perform another request anyway in case it - // returns more complete and/or fresher data than we already have. The logic - // for deciding whether to replace the existing entry is handled elsewhere; - // this function just handles retrieving a cache entry that we can use to - // track the revalidation. - // - // The reason revalidations are stored in the cache is because we need to be - // able to dedupe multiple revalidation requests. The reason they have to be - // handled specially is because we shouldn't overwrite a "normal" entry if - // one exists at the same keypath. So, for each internal cache location, there - // is a special "revalidation" slot that is used solely for this purpose. - // - // You can think of it as if all the revalidation entries were stored in a - // separate cache map from the canonical entries, and then transfered to the - // canonical cache map once the request is complete — this isn't how it's - // actually implemented, since it's more efficient to store them in the same - // data structure as the normal entries, but that's how it's modeled - // conceptually. - // TODO: Once we implement Fallback behavior for params, where an entry is - // re-keyed based on response information, we'll need to account for the - // possibility that the keypath of the previous entry is more generic than - // the keypath of the revalidating entry. In other words, the server could - // return a less generic entry upon revalidation. For now, though, this isn't - // a concern because the keypath is based solely on the prefetch strategy, - // not on data contained in the response. - const existingEntry = readRevalidatingSegmentCacheEntry(now, tree.varyPath); - if (existingEntry !== null) { - return existingEntry; - } - // Create a pending entry and add it to the cache. - const varyPathForRequest = (0, _varypath.getSegmentVaryPathForRequest)(fetchStrategy, tree); - const pendingEntry = createDetachedSegmentCacheEntry(route.staleAt); - const isRevalidation = true; - (0, _cachemap.setInCacheMap)(segmentCacheMap, varyPathForRequest, pendingEntry, isRevalidation); - return pendingEntry; -} -function overwriteRevalidatingSegmentCacheEntry(fetchStrategy, route, tree) { - // This function is called when we've already decided to replace an existing - // revalidation entry. Create a new entry and write it into the cache, - // overwriting the previous value. - const varyPathForRequest = (0, _varypath.getSegmentVaryPathForRequest)(fetchStrategy, tree); - const pendingEntry = createDetachedSegmentCacheEntry(route.staleAt); - const isRevalidation = true; - (0, _cachemap.setInCacheMap)(segmentCacheMap, varyPathForRequest, pendingEntry, isRevalidation); - return pendingEntry; -} -function upsertSegmentEntry(now, varyPath, candidateEntry) { - // We have a new entry that has not yet been inserted into the cache. Before - // we do so, we need to confirm whether it takes precedence over the existing - // entry (if one exists). - // TODO: We should not upsert an entry if its key was invalidated in the time - // since the request was made. We can do that by passing the "owner" entry to - // this function and confirming it's the same as `existingEntry`. - if ((0, _cachemap.isValueExpired)(now, getCurrentCacheVersion(), candidateEntry)) { - // The entry is expired. We cannot upsert it. - return null; - } - const existingEntry = readSegmentCacheEntry(now, varyPath); - if (existingEntry !== null) { - // Don't replace a more specific segment with a less-specific one. A case where this - // might happen is if the existing segment was fetched via - // `<Link prefetch={true}>`. - if (// than the segment we already have in the cache, so it can't have more content. - candidateEntry.fetchStrategy !== existingEntry.fetchStrategy && !canNewFetchStrategyProvideMoreContent(existingEntry.fetchStrategy, candidateEntry.fetchStrategy) || // The existing entry isn't partial, but the new one is. - // (TODO: can this be true if `candidateEntry.fetchStrategy >= existingEntry.fetchStrategy`?) - !existingEntry.isPartial && candidateEntry.isPartial) { - // We're going to leave revalidating entry in the cache so that it doesn't - // get revalidated again unnecessarily. Downgrade the Fulfilled entry to - // Rejected and null out the data so it can be garbage collected. We leave - // `staleAt` intact to prevent subsequent revalidation attempts only until - // the entry expires. - const rejectedEntry = candidateEntry; - rejectedEntry.status = 3; - rejectedEntry.loading = null; - rejectedEntry.rsc = null; - return null; - } - // Evict the existing entry from the cache. - (0, _cachemap.deleteFromCacheMap)(existingEntry); - } - const isRevalidation = false; - (0, _cachemap.setInCacheMap)(segmentCacheMap, varyPath, candidateEntry, isRevalidation); - return candidateEntry; -} -function createDetachedSegmentCacheEntry(staleAt) { - const emptyEntry = { - status: 0, - // Default to assuming the fetch strategy will be PPR. This will be updated - // when a fetch is actually initiated. - fetchStrategy: _types.FetchStrategy.PPR, - rsc: null, - loading: null, - isPartial: true, - promise: null, - // Map-related fields - ref: null, - size: 0, - staleAt, - version: 0 - }; - return emptyEntry; -} -function upgradeToPendingSegment(emptyEntry, fetchStrategy) { - const pendingEntry = emptyEntry; - pendingEntry.status = 1; - pendingEntry.fetchStrategy = fetchStrategy; - if (fetchStrategy === _types.FetchStrategy.Full) { - // We can assume the response will contain the full segment data. Set this - // to false so we know it's OK to omit this segment from any navigation - // requests that may happen while the data is still pending. - pendingEntry.isPartial = false; - } - // Set the version here, since this is right before the request is initiated. - // The next time the global cache version is incremented, the entry will - // effectively be evicted. This happens before initiating the request, rather - // than when receiving the response, because it's guaranteed to happen - // before the data is read on the server. - pendingEntry.version = getCurrentCacheVersion(); - return pendingEntry; -} -function pingBlockedTasks(entry) { - const blockedTasks = entry.blockedTasks; - if (blockedTasks !== null) { - for (const task of blockedTasks){ - (0, _scheduler.pingPrefetchTask)(task); - } - entry.blockedTasks = null; - } -} -function fulfillRouteCacheEntry(entry, tree, metadataVaryPath, staleAt, couldBeIntercepted, canonicalUrl, renderedSearch, isPPREnabled) { - // The Head is not actually part of the route tree, but other than that, it's - // fetched and cached like a segment. Some functions expect a RouteTree - // object, so rather than fork the logic in all those places, we use this - // "fake" one. - const metadata = { - requestKey: _segmentvalueencoding.HEAD_REQUEST_KEY, - segment: _segmentvalueencoding.HEAD_REQUEST_KEY, - varyPath: metadataVaryPath, - // The metadata isn't really a "page" (though it isn't really a "segment" - // either) but for the purposes of how this field is used, it behaves like - // one. If this logic ever gets more complex we can change this to an enum. - isPage: true, - slots: null, - isRootLayout: false, - hasLoadingBoundary: _approutertypes.HasLoadingBoundary.SubtreeHasNoLoadingBoundary, - hasRuntimePrefetch: false - }; - const fulfilledEntry = entry; - fulfilledEntry.status = 2; - fulfilledEntry.tree = tree; - fulfilledEntry.metadata = metadata; - fulfilledEntry.staleAt = staleAt; - fulfilledEntry.couldBeIntercepted = couldBeIntercepted; - fulfilledEntry.canonicalUrl = canonicalUrl; - fulfilledEntry.renderedSearch = renderedSearch; - fulfilledEntry.isPPREnabled = isPPREnabled; - pingBlockedTasks(entry); - return fulfilledEntry; -} -function fulfillSegmentCacheEntry(segmentCacheEntry, rsc, loading, staleAt, isPartial) { - const fulfilledEntry = segmentCacheEntry; - fulfilledEntry.status = 2; - fulfilledEntry.rsc = rsc; - fulfilledEntry.loading = loading; - fulfilledEntry.staleAt = staleAt; - fulfilledEntry.isPartial = isPartial; - // Resolve any listeners that were waiting for this data. - if (segmentCacheEntry.promise !== null) { - segmentCacheEntry.promise.resolve(fulfilledEntry); - // Free the promise for garbage collection. - fulfilledEntry.promise = null; - } - return fulfilledEntry; -} -function rejectRouteCacheEntry(entry, staleAt) { - const rejectedEntry = entry; - rejectedEntry.status = 3; - rejectedEntry.staleAt = staleAt; - pingBlockedTasks(entry); -} -function rejectSegmentCacheEntry(entry, staleAt) { - const rejectedEntry = entry; - rejectedEntry.status = 3; - rejectedEntry.staleAt = staleAt; - if (entry.promise !== null) { - // NOTE: We don't currently propagate the reason the prefetch was canceled - // but we could by accepting a `reason` argument. - entry.promise.resolve(null); - entry.promise = null; - } -} -function convertRootTreePrefetchToRouteTree(rootTree, renderedPathname, renderedSearch, acc) { - // Remove trailing and leading slashes - const pathnameParts = renderedPathname.split('/').filter((p)=>p !== ''); - const index = 0; - const rootSegment = _segmentvalueencoding.ROOT_SEGMENT_REQUEST_KEY; - return convertTreePrefetchToRouteTree(rootTree.tree, rootSegment, null, _segmentvalueencoding.ROOT_SEGMENT_REQUEST_KEY, pathnameParts, index, renderedSearch, acc); -} -function convertTreePrefetchToRouteTree(prefetch, segment, partialVaryPath, requestKey, pathnameParts, pathnamePartsIndex, renderedSearch, acc) { - // Converts the route tree sent by the server into the format used by the - // cache. The cached version of the tree includes additional fields, such as a - // cache key for each segment. Since this is frequently accessed, we compute - // it once instead of on every access. This same cache key is also used to - // request the segment from the server. - let slots = null; - let isPage; - let varyPath; - const prefetchSlots = prefetch.slots; - if (prefetchSlots !== null) { - isPage = false; - varyPath = (0, _varypath.finalizeLayoutVaryPath)(requestKey, partialVaryPath); - slots = {}; - for(let parallelRouteKey in prefetchSlots){ - const childPrefetch = prefetchSlots[parallelRouteKey]; - const childParamName = childPrefetch.name; - const childParamType = childPrefetch.paramType; - const childServerSentParamKey = childPrefetch.paramKey; - let childDoesAppearInURL; - let childSegment; - let childPartialVaryPath; - if (childParamType !== null) { - // This segment is parameterized. Get the param from the pathname. - const childParamValue = (0, _routeparams.parseDynamicParamFromURLPart)(childParamType, pathnameParts, pathnamePartsIndex); - // Assign a cache key to the segment, based on the param value. In the - // pre-Segment Cache implementation, the server computes this and sends - // it in the body of the response. In the Segment Cache implementation, - // the server sends an empty string and we fill it in here. - // TODO: We're intentionally not adding the search param to page - // segments here; it's tracked separately and added back during a read. - // This would clearer if we waited to construct the segment until it's - // read from the cache, since that's effectively what we're - // doing anyway. - const childParamKey = // cacheComponents is enabled. - childServerSentParamKey !== null ? childServerSentParamKey : (0, _routeparams.getCacheKeyForDynamicParam)(childParamValue, ''); - childPartialVaryPath = (0, _varypath.appendLayoutVaryPath)(partialVaryPath, childParamKey); - childSegment = [ - childParamName, - childParamKey, - childParamType - ]; - childDoesAppearInURL = true; - } else { - // This segment does not have a param. Inherit the partial vary path of - // the parent. - childPartialVaryPath = partialVaryPath; - childSegment = childParamName; - childDoesAppearInURL = (0, _routeparams.doesStaticSegmentAppearInURL)(childParamName); - } - // Only increment the index if the segment appears in the URL. If it's a - // "virtual" segment, like a route group, it remains the same. - const childPathnamePartsIndex = childDoesAppearInURL ? pathnamePartsIndex + 1 : pathnamePartsIndex; - const childRequestKeyPart = (0, _segmentvalueencoding.createSegmentRequestKeyPart)(childSegment); - const childRequestKey = (0, _segmentvalueencoding.appendSegmentRequestKeyPart)(requestKey, parallelRouteKey, childRequestKeyPart); - slots[parallelRouteKey] = convertTreePrefetchToRouteTree(childPrefetch, childSegment, childPartialVaryPath, childRequestKey, pathnameParts, childPathnamePartsIndex, renderedSearch, acc); - } - } else { - if (requestKey.endsWith(_segment.PAGE_SEGMENT_KEY)) { - // This is a page segment. - isPage = true; - varyPath = (0, _varypath.finalizePageVaryPath)(requestKey, renderedSearch, partialVaryPath); - // The metadata "segment" is not part the route tree, but it has the same - // conceptual params as a page segment. Write the vary path into the - // accumulator object. If there are multiple parallel pages, we use the - // first one. Which page we choose is arbitrary as long as it's - // consistently the same one every time every time. See - // finalizeMetadataVaryPath for more details. - if (acc.metadataVaryPath === null) { - acc.metadataVaryPath = (0, _varypath.finalizeMetadataVaryPath)(requestKey, renderedSearch, partialVaryPath); - } - } else { - // This is a layout segment. - isPage = false; - varyPath = (0, _varypath.finalizeLayoutVaryPath)(requestKey, partialVaryPath); - } - } - return { - requestKey, - segment, - varyPath, - // TODO: Cheating the type system here a bit because TypeScript can't tell - // that the type of isPage and varyPath are consistent. The fix would be to - // create separate constructors and call the appropriate one from each of - // the branches above. Just seems a bit overkill only for one field so I'll - // leave it as-is for now. If isPage were wrong it would break the behavior - // and we'd catch it quickly, anyway. - isPage: isPage, - slots, - isRootLayout: prefetch.isRootLayout, - // This field is only relevant to dynamic routes. For a PPR/static route, - // there's always some partial loading state we can fetch. - hasLoadingBoundary: _approutertypes.HasLoadingBoundary.SegmentHasLoadingBoundary, - hasRuntimePrefetch: prefetch.hasRuntimePrefetch - }; -} -function convertRootFlightRouterStateToRouteTree(flightRouterState, renderedSearch, acc) { - return convertFlightRouterStateToRouteTree(flightRouterState, _segmentvalueencoding.ROOT_SEGMENT_REQUEST_KEY, null, renderedSearch, acc); -} -function convertFlightRouterStateToRouteTree(flightRouterState, requestKey, parentPartialVaryPath, renderedSearch, acc) { - const originalSegment = flightRouterState[0]; - let segment; - let partialVaryPath; - let isPage; - let varyPath; - if (Array.isArray(originalSegment)) { - isPage = false; - const paramCacheKey = originalSegment[1]; - partialVaryPath = (0, _varypath.appendLayoutVaryPath)(parentPartialVaryPath, paramCacheKey); - varyPath = (0, _varypath.finalizeLayoutVaryPath)(requestKey, partialVaryPath); - segment = originalSegment; - } else { - // This segment does not have a param. Inherit the partial vary path of - // the parent. - partialVaryPath = parentPartialVaryPath; - if (requestKey.endsWith(_segment.PAGE_SEGMENT_KEY)) { - // This is a page segment. - isPage = true; - // The navigation implementation expects the search params to be included - // in the segment. However, in the case of a static response, the search - // params are omitted. So the client needs to add them back in when reading - // from the Segment Cache. - // - // For consistency, we'll do this for dynamic responses, too. - // - // TODO: We should move search params out of FlightRouterState and handle - // them entirely on the client, similar to our plan for dynamic params. - segment = _segment.PAGE_SEGMENT_KEY; - varyPath = (0, _varypath.finalizePageVaryPath)(requestKey, renderedSearch, partialVaryPath); - // The metadata "segment" is not part the route tree, but it has the same - // conceptual params as a page segment. Write the vary path into the - // accumulator object. If there are multiple parallel pages, we use the - // first one. Which page we choose is arbitrary as long as it's - // consistently the same one every time every time. See - // finalizeMetadataVaryPath for more details. - if (acc.metadataVaryPath === null) { - acc.metadataVaryPath = (0, _varypath.finalizeMetadataVaryPath)(requestKey, renderedSearch, partialVaryPath); - } - } else { - // This is a layout segment. - isPage = false; - segment = originalSegment; - varyPath = (0, _varypath.finalizeLayoutVaryPath)(requestKey, partialVaryPath); - } - } - let slots = null; - const parallelRoutes = flightRouterState[1]; - for(let parallelRouteKey in parallelRoutes){ - const childRouterState = parallelRoutes[parallelRouteKey]; - const childSegment = childRouterState[0]; - // TODO: Eventually, the param values will not be included in the response - // from the server. We'll instead fill them in on the client by parsing - // the URL. This is where we'll do that. - const childRequestKeyPart = (0, _segmentvalueencoding.createSegmentRequestKeyPart)(childSegment); - const childRequestKey = (0, _segmentvalueencoding.appendSegmentRequestKeyPart)(requestKey, parallelRouteKey, childRequestKeyPart); - const childTree = convertFlightRouterStateToRouteTree(childRouterState, childRequestKey, partialVaryPath, renderedSearch, acc); - if (slots === null) { - slots = { - [parallelRouteKey]: childTree - }; - } else { - slots[parallelRouteKey] = childTree; - } - } - return { - requestKey, - segment, - varyPath, - // TODO: Cheating the type system here a bit because TypeScript can't tell - // that the type of isPage and varyPath are consistent. The fix would be to - // create separate constructors and call the appropriate one from each of - // the branches above. Just seems a bit overkill only for one field so I'll - // leave it as-is for now. If isPage were wrong it would break the behavior - // and we'd catch it quickly, anyway. - isPage: isPage, - slots, - isRootLayout: flightRouterState[4] === true, - hasLoadingBoundary: flightRouterState[5] !== undefined ? flightRouterState[5] : _approutertypes.HasLoadingBoundary.SubtreeHasNoLoadingBoundary, - // Non-static tree responses are only used by apps that haven't adopted - // Cache Components. So this is always false. - hasRuntimePrefetch: false - }; -} -function convertRouteTreeToFlightRouterState(routeTree) { - const parallelRoutes = {}; - if (routeTree.slots !== null) { - for(const parallelRouteKey in routeTree.slots){ - parallelRoutes[parallelRouteKey] = convertRouteTreeToFlightRouterState(routeTree.slots[parallelRouteKey]); - } - } - const flightRouterState = [ - routeTree.segment, - parallelRoutes, - null, - null, - routeTree.isRootLayout - ]; - return flightRouterState; -} -async function fetchRouteOnCacheMiss(entry, task, key) { - // This function is allowed to use async/await because it contains the actual - // fetch that gets issued on a cache miss. Notice it writes the result to the - // cache entry directly, rather than return data that is then written by - // the caller. - const pathname = key.pathname; - const search = key.search; - const nextUrl = key.nextUrl; - const segmentPath = '/_tree'; - const headers = { - [_approuterheaders.RSC_HEADER]: '1', - [_approuterheaders.NEXT_ROUTER_PREFETCH_HEADER]: '1', - [_approuterheaders.NEXT_ROUTER_SEGMENT_PREFETCH_HEADER]: segmentPath - }; - if (nextUrl !== null) { - headers[_approuterheaders.NEXT_URL] = nextUrl; - } - try { - const url = new URL(pathname + search, location.origin); - let response; - let urlAfterRedirects; - if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable - ; - else { - // "Server" mode. We can use request headers instead of the pathname. - // TODO: The eventual plan is to get rid of our custom request headers and - // encode everything into the URL, using a similar strategy to the - // "output: export" block above. - response = await fetchPrefetchResponse(url, headers); - urlAfterRedirects = response !== null && response.redirected ? new URL(response.url) : url; - } - if (!response || !response.ok || // 204 is a Cache miss. Though theoretically this shouldn't happen when - // PPR is enabled, because we always respond to route tree requests, even - // if it needs to be blockingly generated on demand. - response.status === 204 || !response.body) { - // Server responded with an error, or with a miss. We should still cache - // the response, but we can try again after 10 seconds. - rejectRouteCacheEntry(entry, Date.now() + 10 * 1000); - return null; - } - // TODO: The canonical URL is the href without the origin. I think - // historically the reason for this is because the initial canonical URL - // gets passed as a prop to the top-level React component, which means it - // needs to be computed during SSR. If it were to include the origin, it - // would need to always be same as location.origin on the client, to prevent - // a hydration mismatch. To sidestep this complexity, we omit the origin. - // - // However, since this is neither a native URL object nor a fully qualified - // URL string, we need to be careful about how we use it. To prevent subtle - // mistakes, we should create a special type for it, instead of just string. - // Or, we should just use a (readonly) URL object instead. The type of the - // prop that we pass to seed the initial state does not need to be the same - // type as the state itself. - const canonicalUrl = (0, _createhreffromurl.createHrefFromUrl)(urlAfterRedirects); - // Check whether the response varies based on the Next-Url header. - const varyHeader = response.headers.get('vary'); - const couldBeIntercepted = varyHeader !== null && varyHeader.includes(_approuterheaders.NEXT_URL); - // Track when the network connection closes. - const closed = (0, _promisewithresolvers.createPromiseWithResolvers)(); - // This checks whether the response was served from the per-segment cache, - // rather than the old prefetching flow. If it fails, it implies that PPR - // is disabled on this route. - const routeIsPPREnabled = response.headers.get(_approuterheaders.NEXT_DID_POSTPONE_HEADER) === '2' || // In output: "export" mode, we can't rely on response headers. But if we - // receive a well-formed response, we can assume it's a static response, - // because all data is static in this mode. - isOutputExportMode; - if (routeIsPPREnabled) { - const prefetchStream = createPrefetchResponseStream(response.body, closed.resolve, function onResponseSizeUpdate(size) { - (0, _cachemap.setSizeInCacheMap)(entry, size); - }); - const serverData = await (0, _fetchserverresponse.createFromNextReadableStream)(prefetchStream, headers); - if (serverData.buildId !== (0, _appbuildid.getAppBuildId)()) { - // The server build does not match the client. Treat as a 404. During - // an actual navigation, the router will trigger an MPA navigation. - // TODO: Consider moving the build ID to a response header so we can check - // it before decoding the response, and so there's one way of checking - // across all response types. - // TODO: We should cache the fact that this is an MPA navigation. - rejectRouteCacheEntry(entry, Date.now() + 10 * 1000); - return null; - } - // Get the params that were used to render the target page. These may - // be different from the params in the request URL, if the page - // was rewritten. - const renderedPathname = (0, _routeparams.getRenderedPathname)(response); - const renderedSearch = (0, _routeparams.getRenderedSearch)(response); - // Convert the server-sent data into the RouteTree format used by the - // client cache. - // - // During this traversal, we accumulate additional data into this - // "accumulator" object. - const acc = { - metadataVaryPath: null - }; - const routeTree = convertRootTreePrefetchToRouteTree(serverData, renderedPathname, renderedSearch, acc); - const metadataVaryPath = acc.metadataVaryPath; - if (metadataVaryPath === null) { - rejectRouteCacheEntry(entry, Date.now() + 10 * 1000); - return null; - } - const staleTimeMs = getStaleTimeMs(serverData.staleTime); - fulfillRouteCacheEntry(entry, routeTree, metadataVaryPath, Date.now() + staleTimeMs, couldBeIntercepted, canonicalUrl, renderedSearch, routeIsPPREnabled); - } else { - // PPR is not enabled for this route. The server responds with a - // different format (FlightRouterState) that we need to convert. - // TODO: We will unify the responses eventually. I'm keeping the types - // separate for now because FlightRouterState has so many - // overloaded concerns. - const prefetchStream = createPrefetchResponseStream(response.body, closed.resolve, function onResponseSizeUpdate(size) { - (0, _cachemap.setSizeInCacheMap)(entry, size); - }); - const serverData = await (0, _fetchserverresponse.createFromNextReadableStream)(prefetchStream, headers); - if (serverData.b !== (0, _appbuildid.getAppBuildId)()) { - // The server build does not match the client. Treat as a 404. During - // an actual navigation, the router will trigger an MPA navigation. - // TODO: Consider moving the build ID to a response header so we can check - // it before decoding the response, and so there's one way of checking - // across all response types. - // TODO: We should cache the fact that this is an MPA navigation. - rejectRouteCacheEntry(entry, Date.now() + 10 * 1000); - return null; - } - writeDynamicTreeResponseIntoCache(Date.now(), task, // using the LoadingBoundary fetch strategy, so mark their cache entries accordingly. - _types.FetchStrategy.LoadingBoundary, response, serverData, entry, couldBeIntercepted, canonicalUrl, routeIsPPREnabled); - } - if (!couldBeIntercepted) { - // This route will never be intercepted. So we can use this entry for all - // requests to this route, regardless of the Next-Url header. This works - // because when reading the cache we always check for a valid - // non-intercepted entry first. - // Re-key the entry. The `set` implementation handles removing it from - // its previous position in the cache. We don't need to do anything to - // update the LRU, because the entry is already in it. - // TODO: Treat this as an upsert — should check if an entry already - // exists at the new keypath, and if so, whether we should keep that - // one instead. - const fulfilledVaryPath = (0, _varypath.getFulfilledRouteVaryPath)(pathname, search, nextUrl, couldBeIntercepted); - const isRevalidation = false; - (0, _cachemap.setInCacheMap)(routeCacheMap, fulfilledVaryPath, entry, isRevalidation); - } - // Return a promise that resolves when the network connection closes, so - // the scheduler can track the number of concurrent network connections. - return { - value: null, - closed: closed.promise - }; - } catch (error) { - // Either the connection itself failed, or something bad happened while - // decoding the response. - rejectRouteCacheEntry(entry, Date.now() + 10 * 1000); - return null; - } -} -async function fetchSegmentOnCacheMiss(route, segmentCacheEntry, routeKey, tree) { - // This function is allowed to use async/await because it contains the actual - // fetch that gets issued on a cache miss. Notice it writes the result to the - // cache entry directly, rather than return data that is then written by - // the caller. - // - // Segment fetches are non-blocking so we don't need to ping the scheduler - // on completion. - // Use the canonical URL to request the segment, not the original URL. These - // are usually the same, but the canonical URL will be different if the route - // tree response was redirected. To avoid an extra waterfall on every segment - // request, we pass the redirected URL instead of the original one. - const url = new URL(route.canonicalUrl, location.origin); - const nextUrl = routeKey.nextUrl; - const requestKey = tree.requestKey; - const normalizedRequestKey = requestKey === _segmentvalueencoding.ROOT_SEGMENT_REQUEST_KEY ? // `_index` instead of as an empty string. This should be treated as - // an implementation detail and not as a stable part of the protocol. - // It just needs to match the equivalent logic that happens when - // prerendering the responses. It should not leak outside of Next.js. - '/_index' : requestKey; - const headers = { - [_approuterheaders.RSC_HEADER]: '1', - [_approuterheaders.NEXT_ROUTER_PREFETCH_HEADER]: '1', - [_approuterheaders.NEXT_ROUTER_SEGMENT_PREFETCH_HEADER]: normalizedRequestKey - }; - if (nextUrl !== null) { - headers[_approuterheaders.NEXT_URL] = nextUrl; - } - const requestUrl = ("TURBOPACK compile-time falsy", 0) ? "TURBOPACK unreachable" : url; - try { - const response = await fetchPrefetchResponse(requestUrl, headers); - if (!response || !response.ok || response.status === 204 || // Cache miss - // This checks whether the response was served from the per-segment cache, - // rather than the old prefetching flow. If it fails, it implies that PPR - // is disabled on this route. Theoretically this should never happen - // because we only issue requests for segments once we've verified that - // the route supports PPR. - response.headers.get(_approuterheaders.NEXT_DID_POSTPONE_HEADER) !== '2' && // In output: "export" mode, we can't rely on response headers. But if - // we receive a well-formed response, we can assume it's a static - // response, because all data is static in this mode. - !isOutputExportMode || !response.body) { - // Server responded with an error, or with a miss. We should still cache - // the response, but we can try again after 10 seconds. - rejectSegmentCacheEntry(segmentCacheEntry, Date.now() + 10 * 1000); - return null; - } - // Track when the network connection closes. - const closed = (0, _promisewithresolvers.createPromiseWithResolvers)(); - // Wrap the original stream in a new stream that never closes. That way the - // Flight client doesn't error if there's a hanging promise. - const prefetchStream = createPrefetchResponseStream(response.body, closed.resolve, function onResponseSizeUpdate(size) { - (0, _cachemap.setSizeInCacheMap)(segmentCacheEntry, size); - }); - const serverData = await (0, _fetchserverresponse.createFromNextReadableStream)(prefetchStream, headers); - if (serverData.buildId !== (0, _appbuildid.getAppBuildId)()) { - // The server build does not match the client. Treat as a 404. During - // an actual navigation, the router will trigger an MPA navigation. - // TODO: Consider moving the build ID to a response header so we can check - // it before decoding the response, and so there's one way of checking - // across all response types. - rejectSegmentCacheEntry(segmentCacheEntry, Date.now() + 10 * 1000); - return null; - } - return { - value: fulfillSegmentCacheEntry(segmentCacheEntry, serverData.rsc, serverData.loading, // So we use the stale time of the route. - route.staleAt, serverData.isPartial), - // Return a promise that resolves when the network connection closes, so - // the scheduler can track the number of concurrent network connections. - closed: closed.promise - }; - } catch (error) { - // Either the connection itself failed, or something bad happened while - // decoding the response. - rejectSegmentCacheEntry(segmentCacheEntry, Date.now() + 10 * 1000); - return null; - } -} -async function fetchSegmentPrefetchesUsingDynamicRequest(task, route, fetchStrategy, dynamicRequestTree, spawnedEntries) { - const key = task.key; - const url = new URL(route.canonicalUrl, location.origin); - const nextUrl = key.nextUrl; - if (spawnedEntries.size === 1 && spawnedEntries.has(route.metadata.requestKey)) { - // The only thing pending is the head. Instruct the server to - // skip over everything else. - dynamicRequestTree = MetadataOnlyRequestTree; - } - const headers = { - [_approuterheaders.RSC_HEADER]: '1', - [_approuterheaders.NEXT_ROUTER_STATE_TREE_HEADER]: (0, _flightdatahelpers.prepareFlightRouterStateForRequest)(dynamicRequestTree) - }; - if (nextUrl !== null) { - headers[_approuterheaders.NEXT_URL] = nextUrl; - } - switch(fetchStrategy){ - case _types.FetchStrategy.Full: - { - break; - } - case _types.FetchStrategy.PPRRuntime: - { - headers[_approuterheaders.NEXT_ROUTER_PREFETCH_HEADER] = '2'; - break; - } - case _types.FetchStrategy.LoadingBoundary: - { - headers[_approuterheaders.NEXT_ROUTER_PREFETCH_HEADER] = '1'; - break; - } - default: - { - fetchStrategy; - } - } - try { - const response = await fetchPrefetchResponse(url, headers); - if (!response || !response.ok || !response.body) { - // Server responded with an error, or with a miss. We should still cache - // the response, but we can try again after 10 seconds. - rejectSegmentEntriesIfStillPending(spawnedEntries, Date.now() + 10 * 1000); - return null; - } - const renderedSearch = (0, _routeparams.getRenderedSearch)(response); - if (renderedSearch !== route.renderedSearch) { - // The search params that were used to render the target page are - // different from the search params in the request URL. This only happens - // when there's a dynamic rewrite in between the tree prefetch and the - // data prefetch. - // TODO: For now, since this is an edge case, we reject the prefetch, but - // the proper way to handle this is to evict the stale route tree entry - // then fill the cache with the new response. - rejectSegmentEntriesIfStillPending(spawnedEntries, Date.now() + 10 * 1000); - return null; - } - // Track when the network connection closes. - const closed = (0, _promisewithresolvers.createPromiseWithResolvers)(); - let fulfilledEntries = null; - const prefetchStream = createPrefetchResponseStream(response.body, closed.resolve, function onResponseSizeUpdate(totalBytesReceivedSoFar) { - // When processing a dynamic response, we don't know how large each - // individual segment is, so approximate by assiging each segment - // the average of the total response size. - if (fulfilledEntries === null) { - // Haven't received enough data yet to know which segments - // were included. - return; - } - const averageSize = totalBytesReceivedSoFar / fulfilledEntries.length; - for (const entry of fulfilledEntries){ - (0, _cachemap.setSizeInCacheMap)(entry, averageSize); - } - }); - const serverData = await (0, _fetchserverresponse.createFromNextReadableStream)(prefetchStream, headers); - const isResponsePartial = fetchStrategy === _types.FetchStrategy.PPRRuntime ? serverData.rp?.[0] === true : false; - // Aside from writing the data into the cache, this function also returns - // the entries that were fulfilled, so we can streamingly update their sizes - // in the LRU as more data comes in. - fulfilledEntries = writeDynamicRenderResponseIntoCache(Date.now(), task, fetchStrategy, response, serverData, isResponsePartial, route, spawnedEntries); - // Return a promise that resolves when the network connection closes, so - // the scheduler can track the number of concurrent network connections. - return { - value: null, - closed: closed.promise - }; - } catch (error) { - rejectSegmentEntriesIfStillPending(spawnedEntries, Date.now() + 10 * 1000); - return null; - } -} -function writeDynamicTreeResponseIntoCache(now, task, fetchStrategy, response, serverData, entry, couldBeIntercepted, canonicalUrl, routeIsPPREnabled) { - // Get the URL that was used to render the target page. This may be different - // from the URL in the request URL, if the page was rewritten. - const renderedSearch = (0, _routeparams.getRenderedSearch)(response); - const normalizedFlightDataResult = (0, _flightdatahelpers.normalizeFlightData)(serverData.f); - if (// MPA navigation. - typeof normalizedFlightDataResult === 'string' || normalizedFlightDataResult.length !== 1) { - rejectRouteCacheEntry(entry, now + 10 * 1000); - return; - } - const flightData = normalizedFlightDataResult[0]; - if (!flightData.isRootRender) { - // Unexpected response format. - rejectRouteCacheEntry(entry, now + 10 * 1000); - return; - } - const flightRouterState = flightData.tree; - // For runtime prefetches, stale time is in the payload at rp[1]. - // For other responses, fall back to the header. - const staleTimeSeconds = typeof serverData.rp?.[1] === 'number' ? serverData.rp[1] : parseInt(response.headers.get(_approuterheaders.NEXT_ROUTER_STALE_TIME_HEADER) ?? '', 10); - const staleTimeMs = !isNaN(staleTimeSeconds) ? getStaleTimeMs(staleTimeSeconds) : _navigatereducer.STATIC_STALETIME_MS; - // If the response contains dynamic holes, then we must conservatively assume - // that any individual segment might contain dynamic holes, and also the - // head. If it did not contain dynamic holes, then we can assume every segment - // and the head is completely static. - const isResponsePartial = response.headers.get(_approuterheaders.NEXT_DID_POSTPONE_HEADER) === '1'; - // Convert the server-sent data into the RouteTree format used by the - // client cache. - // - // During this traversal, we accumulate additional data into this - // "accumulator" object. - const acc = { - metadataVaryPath: null - }; - const routeTree = convertRootFlightRouterStateToRouteTree(flightRouterState, renderedSearch, acc); - const metadataVaryPath = acc.metadataVaryPath; - if (metadataVaryPath === null) { - rejectRouteCacheEntry(entry, now + 10 * 1000); - return; - } - const fulfilledEntry = fulfillRouteCacheEntry(entry, routeTree, metadataVaryPath, now + staleTimeMs, couldBeIntercepted, canonicalUrl, renderedSearch, routeIsPPREnabled); - // If the server sent segment data as part of the response, we should write - // it into the cache to prevent a second, redundant prefetch request. - // - // TODO: When `clientSegmentCache` is enabled, the server does not include - // segment data when responding to a route tree prefetch request. However, - // when `clientSegmentCache` is set to "client-only", and PPR is enabled (or - // the page is fully static), the normal check is bypassed and the server - // responds with the full page. This is a temporary situation until we can - // remove the "client-only" option. Then, we can delete this function call. - writeDynamicRenderResponseIntoCache(now, task, fetchStrategy, response, serverData, isResponsePartial, fulfilledEntry, null); -} -function rejectSegmentEntriesIfStillPending(entries, staleAt) { - const fulfilledEntries = []; - for (const entry of entries.values()){ - if (entry.status === 1) { - rejectSegmentCacheEntry(entry, staleAt); - } else if (entry.status === 2) { - fulfilledEntries.push(entry); - } - } - return fulfilledEntries; -} -function writeDynamicRenderResponseIntoCache(now, task, fetchStrategy, response, serverData, isResponsePartial, route, spawnedEntries) { - if (serverData.b !== (0, _appbuildid.getAppBuildId)()) { - // The server build does not match the client. Treat as a 404. During - // an actual navigation, the router will trigger an MPA navigation. - // TODO: Consider moving the build ID to a response header so we can check - // it before decoding the response, and so there's one way of checking - // across all response types. - if (spawnedEntries !== null) { - rejectSegmentEntriesIfStillPending(spawnedEntries, now + 10 * 1000); - } - return null; - } - const flightDatas = (0, _flightdatahelpers.normalizeFlightData)(serverData.f); - if (typeof flightDatas === 'string') { - // This means navigating to this route will result in an MPA navigation. - // TODO: We should cache this, too, so that the MPA navigation is immediate. - return null; - } - // For runtime prefetches, stale time is in the payload at rp[1]. - // For other responses, fall back to the header. - const staleTimeSeconds = typeof serverData.rp?.[1] === 'number' ? serverData.rp[1] : parseInt(response.headers.get(_approuterheaders.NEXT_ROUTER_STALE_TIME_HEADER) ?? '', 10); - const staleTimeMs = !isNaN(staleTimeSeconds) ? getStaleTimeMs(staleTimeSeconds) : _navigatereducer.STATIC_STALETIME_MS; - const staleAt = now + staleTimeMs; - for (const flightData of flightDatas){ - const seedData = flightData.seedData; - if (seedData !== null) { - // The data sent by the server represents only a subtree of the app. We - // need to find the part of the task tree that matches the response. - // - // segmentPath represents the parent path of subtree. It's a repeating - // pattern of parallel route key and segment: - // - // [string, Segment, string, Segment, string, Segment, ...] - const segmentPath = flightData.segmentPath; - let tree = route.tree; - for(let i = 0; i < segmentPath.length; i += 2){ - const parallelRouteKey = segmentPath[i]; - if (tree?.slots?.[parallelRouteKey] !== undefined) { - tree = tree.slots[parallelRouteKey]; - } else { - if (spawnedEntries !== null) { - rejectSegmentEntriesIfStillPending(spawnedEntries, now + 10 * 1000); - } - return null; - } - } - writeSeedDataIntoCache(now, task, fetchStrategy, route, tree, staleAt, seedData, isResponsePartial, spawnedEntries); - } - const head = flightData.head; - if (head !== null) { - fulfillEntrySpawnedByRuntimePrefetch(now, fetchStrategy, route, head, null, flightData.isHeadPartial, staleAt, route.metadata, spawnedEntries); - } - } - // Any entry that's still pending was intentionally not rendered by the - // server, because it was inside the loading boundary. Mark them as rejected - // so we know not to fetch them again. - // TODO: If PPR is enabled on some routes but not others, then it's possible - // that a different page is able to do a per-segment prefetch of one of the - // segments we're marking as rejected here. We should mark on the segment - // somehow that the reason for the rejection is because of a non-PPR prefetch. - // That way a per-segment prefetch knows to disregard the rejection. - if (spawnedEntries !== null) { - const fulfilledEntries = rejectSegmentEntriesIfStillPending(spawnedEntries, now + 10 * 1000); - return fulfilledEntries; - } - return null; -} -function writeSeedDataIntoCache(now, task, fetchStrategy, route, tree, staleAt, seedData, isResponsePartial, entriesOwnedByCurrentTask) { - // This function is used to write the result of a runtime server request - // (CacheNodeSeedData) into the prefetch cache. - const rsc = seedData[0]; - const loading = seedData[2]; - const isPartial = rsc === null || isResponsePartial; - fulfillEntrySpawnedByRuntimePrefetch(now, fetchStrategy, route, rsc, loading, isPartial, staleAt, tree, entriesOwnedByCurrentTask); - // Recursively write the child data into the cache. - const slots = tree.slots; - if (slots !== null) { - const seedDataChildren = seedData[1]; - for(const parallelRouteKey in slots){ - const childTree = slots[parallelRouteKey]; - const childSeedData = seedDataChildren[parallelRouteKey]; - if (childSeedData !== null && childSeedData !== undefined) { - writeSeedDataIntoCache(now, task, fetchStrategy, route, childTree, staleAt, childSeedData, isResponsePartial, entriesOwnedByCurrentTask); - } - } - } -} -function fulfillEntrySpawnedByRuntimePrefetch(now, fetchStrategy, route, rsc, loading, isPartial, staleAt, tree, entriesOwnedByCurrentTask) { - // We should only write into cache entries that are owned by us. Or create - // a new one and write into that. We must never write over an entry that was - // created by a different task, because that causes data races. - const ownedEntry = entriesOwnedByCurrentTask !== null ? entriesOwnedByCurrentTask.get(tree.requestKey) : undefined; - if (ownedEntry !== undefined) { - fulfillSegmentCacheEntry(ownedEntry, rsc, loading, staleAt, isPartial); - } else { - // There's no matching entry. Attempt to create a new one. - const possiblyNewEntry = readOrCreateSegmentCacheEntry(now, fetchStrategy, route, tree); - if (possiblyNewEntry.status === 0) { - // Confirmed this is a new entry. We can fulfill it. - const newEntry = possiblyNewEntry; - fulfillSegmentCacheEntry(upgradeToPendingSegment(newEntry, fetchStrategy), rsc, loading, staleAt, isPartial); - } else { - // There was already an entry in the cache. But we may be able to - // replace it with the new one from the server. - const newEntry = fulfillSegmentCacheEntry(upgradeToPendingSegment(createDetachedSegmentCacheEntry(staleAt), fetchStrategy), rsc, loading, staleAt, isPartial); - upsertSegmentEntry(now, (0, _varypath.getSegmentVaryPathForRequest)(fetchStrategy, tree), newEntry); - } - } -} -async function fetchPrefetchResponse(url, headers) { - const fetchPriority = 'low'; - // When issuing a prefetch request, don't immediately decode the response; we - // use the lower level `createFromResponse` API instead because we need to do - // some extra processing of the response stream. See - // `createPrefetchResponseStream` for more details. - const shouldImmediatelyDecode = false; - const response = await (0, _fetchserverresponse.createFetch)(url, headers, fetchPriority, shouldImmediatelyDecode); - if (!response.ok) { - return null; - } - // Check the content type - if ("TURBOPACK compile-time falsy", 0) { - // In output: "export" mode, we relaxed about the content type, since it's - // not Next.js that's serving the response. If the status is OK, assume the - // response is valid. If it's not a valid response, the Flight client won't - // be able to decode it, and we'll treat it as a miss. - } else { - const contentType = response.headers.get('content-type'); - const isFlightResponse = contentType && contentType.startsWith(_approuterheaders.RSC_CONTENT_TYPE_HEADER); - if (!isFlightResponse) { - return null; - } - } - return response; -} -function createPrefetchResponseStream(originalFlightStream, onStreamClose, onResponseSizeUpdate) { - // When PPR is enabled, prefetch streams may contain references that never - // resolve, because that's how we encode dynamic data access. In the decoded - // object returned by the Flight client, these are reified into hanging - // promises that suspend during render, which is effectively what we want. - // The UI resolves when it switches to the dynamic data stream - // (via useDeferredValue(dynamic, static)). - // - // However, the Flight implementation currently errors if the server closes - // the response before all the references are resolved. As a cheat to work - // around this, we wrap the original stream in a new stream that never closes, - // and therefore doesn't error. - // - // While processing the original stream, we also incrementally update the size - // of the cache entry in the LRU. - let totalByteLength = 0; - const reader = originalFlightStream.getReader(); - return new ReadableStream({ - async pull (controller) { - while(true){ - const { done, value } = await reader.read(); - if (!done) { - // Pass to the target stream and keep consuming the Flight response - // from the server. - controller.enqueue(value); - // Incrementally update the size of the cache entry in the LRU. - // NOTE: Since prefetch responses are delivered in a single chunk, - // it's not really necessary to do this streamingly, but I'm doing it - // anyway in case this changes in the future. - totalByteLength += value.byteLength; - onResponseSizeUpdate(totalByteLength); - continue; - } - // The server stream has closed. Exit, but intentionally do not close - // the target stream. We do notify the caller, though. - onStreamClose(); - return; - } - } - }); -} -function addSegmentPathToUrlInOutputExportMode(url, segmentPath) { - if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable - ; - return url; -} -function canNewFetchStrategyProvideMoreContent(currentStrategy, newStrategy) { - return currentStrategy < newStrategy; -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=cache.js.map -}), -"[project]/node_modules/next/dist/client/components/segment-cache/navigation.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - convertServerPatchToFullTree: null, - navigate: null, - navigateToSeededRoute: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - convertServerPatchToFullTree: function() { - return convertServerPatchToFullTree; - }, - navigate: function() { - return navigate; - }, - navigateToSeededRoute: function() { - return navigateToSeededRoute; - } -}); -const _fetchserverresponse = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/fetch-server-response.js [app-client] (ecmascript)"); -const _pprnavigations = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/ppr-navigations.js [app-client] (ecmascript)"); -const _createhreffromurl = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/create-href-from-url.js [app-client] (ecmascript)"); -const _cache = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/segment-cache/cache.js [app-client] (ecmascript)"); -const _cachekey = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/segment-cache/cache-key.js [app-client] (ecmascript)"); -const _segment = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/segment.js [app-client] (ecmascript)"); -const _types = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/segment-cache/types.js [app-client] (ecmascript)"); -function navigate(url, currentUrl, currentCacheNode, currentFlightRouterState, nextUrl, freshnessPolicy, shouldScroll, accumulation) { - const now = Date.now(); - const href = url.href; - // We special case navigations to the exact same URL as the current location. - // It's a common UI pattern for apps to refresh when you click a link to the - // current page. So when this happens, we refresh the dynamic data in the page - // segments. - // - // Note that this does not apply if the any part of the hash or search query - // has changed. This might feel a bit weird but it makes more sense when you - // consider that the way to trigger this behavior is to click the same link - // multiple times. - // - // TODO: We should probably refresh the *entire* route when this case occurs, - // not just the page segments. Essentially treating it the same as a refresh() - // triggered by an action, which is the more explicit way of modeling the UI - // pattern described above. - // - // Also note that this only refreshes the dynamic data, not static/ cached - // data. If the page segment is fully static and prefetched, the request is - // skipped. (This is also how refresh() works.) - const isSamePageNavigation = href === currentUrl.href; - const cacheKey = (0, _cachekey.createCacheKey)(href, nextUrl); - const route = (0, _cache.readRouteCacheEntry)(now, cacheKey); - if (route !== null && route.status === _cache.EntryStatus.Fulfilled) { - // We have a matching prefetch. - const snapshot = readRenderSnapshotFromCache(now, route, route.tree); - const prefetchFlightRouterState = snapshot.flightRouterState; - const prefetchSeedData = snapshot.seedData; - const headSnapshot = readHeadSnapshotFromCache(now, route); - const prefetchHead = headSnapshot.rsc; - const isPrefetchHeadPartial = headSnapshot.isPartial; - // TODO: The "canonicalUrl" stored in the cache doesn't include the hash, - // because hash entries do not vary by hash fragment. However, the one - // we set in the router state *does* include the hash, and it's used to - // sync with the actual browser location. To make this less of a refactor - // hazard, we should always track the hash separately from the rest of - // the URL. - const newCanonicalUrl = route.canonicalUrl + url.hash; - const renderedSearch = route.renderedSearch; - return navigateUsingPrefetchedRouteTree(now, url, currentUrl, nextUrl, isSamePageNavigation, currentCacheNode, currentFlightRouterState, prefetchFlightRouterState, prefetchSeedData, prefetchHead, isPrefetchHeadPartial, newCanonicalUrl, renderedSearch, freshnessPolicy, shouldScroll); - } - // There was no matching route tree in the cache. Let's see if we can - // construct an "optimistic" route tree. - // - // Do not construct an optimistic route tree if there was a cache hit, but - // the entry has a rejected status, since it may have been rejected due to a - // rewrite or redirect based on the search params. - // - // TODO: There are multiple reasons a prefetch might be rejected; we should - // track them explicitly and choose what to do here based on that. - if (route === null || route.status !== _cache.EntryStatus.Rejected) { - const optimisticRoute = (0, _cache.requestOptimisticRouteCacheEntry)(now, url, nextUrl); - if (optimisticRoute !== null) { - // We have an optimistic route tree. Proceed with the normal flow. - const snapshot = readRenderSnapshotFromCache(now, optimisticRoute, optimisticRoute.tree); - const prefetchFlightRouterState = snapshot.flightRouterState; - const prefetchSeedData = snapshot.seedData; - const headSnapshot = readHeadSnapshotFromCache(now, optimisticRoute); - const prefetchHead = headSnapshot.rsc; - const isPrefetchHeadPartial = headSnapshot.isPartial; - const newCanonicalUrl = optimisticRoute.canonicalUrl + url.hash; - const newRenderedSearch = optimisticRoute.renderedSearch; - return navigateUsingPrefetchedRouteTree(now, url, currentUrl, nextUrl, isSamePageNavigation, currentCacheNode, currentFlightRouterState, prefetchFlightRouterState, prefetchSeedData, prefetchHead, isPrefetchHeadPartial, newCanonicalUrl, newRenderedSearch, freshnessPolicy, shouldScroll); - } - } - // There's no matching prefetch for this route in the cache. - let collectedDebugInfo = accumulation.collectedDebugInfo ?? []; - if (accumulation.collectedDebugInfo === undefined) { - collectedDebugInfo = accumulation.collectedDebugInfo = []; - } - return { - tag: _types.NavigationResultTag.Async, - data: navigateDynamicallyWithNoPrefetch(now, url, currentUrl, nextUrl, currentCacheNode, currentFlightRouterState, freshnessPolicy, shouldScroll, collectedDebugInfo) - }; -} -function navigateToSeededRoute(now, url, canonicalUrl, navigationSeed, currentUrl, currentCacheNode, currentFlightRouterState, freshnessPolicy, nextUrl, shouldScroll) { - // A version of navigate() that accepts the target route tree as an argument - // rather than reading it from the prefetch cache. - const accumulation = { - scrollableSegments: null, - separateRefreshUrls: null - }; - const isSamePageNavigation = url.href === currentUrl.href; - const task = (0, _pprnavigations.startPPRNavigation)(now, currentUrl, currentCacheNode, currentFlightRouterState, navigationSeed.tree, freshnessPolicy, navigationSeed.data, navigationSeed.head, null, null, false, isSamePageNavigation, accumulation); - if (task !== null) { - (0, _pprnavigations.spawnDynamicRequests)(task, url, nextUrl, freshnessPolicy, accumulation); - return navigationTaskToResult(task, canonicalUrl, navigationSeed.renderedSearch, accumulation.scrollableSegments, shouldScroll, url.hash); - } - // Could not perform a SPA navigation. Revert to a full-page (MPA) navigation. - return { - tag: _types.NavigationResultTag.MPA, - data: canonicalUrl - }; -} -function navigateUsingPrefetchedRouteTree(now, url, currentUrl, nextUrl, isSamePageNavigation, currentCacheNode, currentFlightRouterState, prefetchFlightRouterState, prefetchSeedData, prefetchHead, isPrefetchHeadPartial, canonicalUrl, renderedSearch, freshnessPolicy, shouldScroll) { - // Recursively construct a prefetch tree by reading from the Segment Cache. To - // maintain compatibility, we output the same data structures as the old - // prefetching implementation: FlightRouterState and CacheNodeSeedData. - // TODO: Eventually updateCacheNodeOnNavigation (or the equivalent) should - // read from the Segment Cache directly. It's only structured this way for now - // so we can share code with the old prefetching implementation. - const accumulation = { - scrollableSegments: null, - separateRefreshUrls: null - }; - const seedData = null; - const seedHead = null; - const task = (0, _pprnavigations.startPPRNavigation)(now, currentUrl, currentCacheNode, currentFlightRouterState, prefetchFlightRouterState, freshnessPolicy, seedData, seedHead, prefetchSeedData, prefetchHead, isPrefetchHeadPartial, isSamePageNavigation, accumulation); - if (task !== null) { - (0, _pprnavigations.spawnDynamicRequests)(task, url, nextUrl, freshnessPolicy, accumulation); - return navigationTaskToResult(task, canonicalUrl, renderedSearch, accumulation.scrollableSegments, shouldScroll, url.hash); - } - // Could not perform a SPA navigation. Revert to a full-page (MPA) navigation. - return { - tag: _types.NavigationResultTag.MPA, - data: canonicalUrl - }; -} -function navigationTaskToResult(task, canonicalUrl, renderedSearch, scrollableSegments, shouldScroll, hash) { - return { - tag: _types.NavigationResultTag.Success, - data: { - flightRouterState: task.route, - cacheNode: task.node, - canonicalUrl, - renderedSearch, - scrollableSegments, - shouldScroll, - hash - } - }; -} -function readRenderSnapshotFromCache(now, route, tree) { - let childRouterStates = {}; - let childSeedDatas = {}; - const slots = tree.slots; - if (slots !== null) { - for(const parallelRouteKey in slots){ - const childTree = slots[parallelRouteKey]; - const childResult = readRenderSnapshotFromCache(now, route, childTree); - childRouterStates[parallelRouteKey] = childResult.flightRouterState; - childSeedDatas[parallelRouteKey] = childResult.seedData; - } - } - let rsc = null; - let loading = null; - let isPartial = true; - const segmentEntry = (0, _cache.readSegmentCacheEntry)(now, tree.varyPath); - if (segmentEntry !== null) { - switch(segmentEntry.status){ - case _cache.EntryStatus.Fulfilled: - { - // Happy path: a cache hit - rsc = segmentEntry.rsc; - loading = segmentEntry.loading; - isPartial = segmentEntry.isPartial; - break; - } - case _cache.EntryStatus.Pending: - { - // We haven't received data for this segment yet, but there's already - // an in-progress request. Since it's extremely likely to arrive - // before the dynamic data response, we might as well use it. - const promiseForFulfilledEntry = (0, _cache.waitForSegmentCacheEntry)(segmentEntry); - rsc = promiseForFulfilledEntry.then((entry)=>entry !== null ? entry.rsc : null); - loading = promiseForFulfilledEntry.then((entry)=>entry !== null ? entry.loading : null); - // Because the request is still pending, we typically don't know yet - // whether the response will be partial. We shouldn't skip this segment - // during the dynamic navigation request. Otherwise, we might need to - // do yet another request to fill in the remaining data, creating - // a waterfall. - // - // The one exception is if this segment is being fetched with via - // prefetch={true} (i.e. the "force stale" or "full" strategy). If so, - // we can assume the response will be full. This field is set to `false` - // for such segments. - isPartial = segmentEntry.isPartial; - break; - } - case _cache.EntryStatus.Empty: - case _cache.EntryStatus.Rejected: - break; - default: - segmentEntry; - } - } - // The navigation implementation expects the search params to be - // included in the segment. However, the Segment Cache tracks search - // params separately from the rest of the segment key. So we need to - // add them back here. - // - // See corresponding comment in convertFlightRouterStateToTree. - // - // TODO: What we should do instead is update the navigation diffing - // logic to compare search params explicitly. This is a temporary - // solution until more of the Segment Cache implementation has settled. - const segment = (0, _segment.addSearchParamsIfPageSegment)(tree.segment, Object.fromEntries(new URLSearchParams(route.renderedSearch))); - // We don't need this information in a render snapshot, so this can just be a placeholder. - const hasRuntimePrefetch = false; - return { - flightRouterState: [ - segment, - childRouterStates, - null, - null, - tree.isRootLayout - ], - seedData: [ - rsc, - childSeedDatas, - loading, - isPartial, - hasRuntimePrefetch - ] - }; -} -function readHeadSnapshotFromCache(now, route) { - // Same as readRenderSnapshotFromCache, but for the head - let rsc = null; - let isPartial = true; - const segmentEntry = (0, _cache.readSegmentCacheEntry)(now, route.metadata.varyPath); - if (segmentEntry !== null) { - switch(segmentEntry.status){ - case _cache.EntryStatus.Fulfilled: - { - rsc = segmentEntry.rsc; - isPartial = segmentEntry.isPartial; - break; - } - case _cache.EntryStatus.Pending: - { - const promiseForFulfilledEntry = (0, _cache.waitForSegmentCacheEntry)(segmentEntry); - rsc = promiseForFulfilledEntry.then((entry)=>entry !== null ? entry.rsc : null); - isPartial = segmentEntry.isPartial; - break; - } - case _cache.EntryStatus.Empty: - case _cache.EntryStatus.Rejected: - break; - default: - segmentEntry; - } - } - return { - rsc, - isPartial - }; -} -// Used to request all the dynamic data for a route, rather than just a subset, -// e.g. during a refresh or a revalidation. Typically this gets constructed -// during the normal flow when diffing the route tree, but for an unprefetched -// navigation, where we don't know the structure of the target route, we use -// this instead. -const DynamicRequestTreeForEntireRoute = [ - '', - {}, - null, - 'refetch' -]; -async function navigateDynamicallyWithNoPrefetch(now, url, currentUrl, nextUrl, currentCacheNode, currentFlightRouterState, freshnessPolicy, shouldScroll, collectedDebugInfo) { - // Runs when a navigation happens but there's no cached prefetch we can use. - // Don't bother to wait for a prefetch response; go straight to a full - // navigation that contains both static and dynamic data in a single stream. - // (This is unlike the old navigation implementation, which instead blocks - // the dynamic request until a prefetch request is received.) - // - // To avoid duplication of logic, we're going to pretend that the tree - // returned by the dynamic request is, in fact, a prefetch tree. Then we can - // use the same server response to write the actual data into the CacheNode - // tree. So it's the same flow as the "happy path" (prefetch, then - // navigation), except we use a single server response for both stages. - let dynamicRequestTree; - switch(freshnessPolicy){ - case _pprnavigations.FreshnessPolicy.Default: - case _pprnavigations.FreshnessPolicy.HistoryTraversal: - dynamicRequestTree = currentFlightRouterState; - break; - case _pprnavigations.FreshnessPolicy.Hydration: - case _pprnavigations.FreshnessPolicy.RefreshAll: - case _pprnavigations.FreshnessPolicy.HMRRefresh: - dynamicRequestTree = DynamicRequestTreeForEntireRoute; - break; - default: - freshnessPolicy; - dynamicRequestTree = currentFlightRouterState; - break; - } - const promiseForDynamicServerResponse = (0, _fetchserverresponse.fetchServerResponse)(url, { - flightRouterState: dynamicRequestTree, - nextUrl - }); - const result = await promiseForDynamicServerResponse; - if (typeof result === 'string') { - // This is an MPA navigation. - const newUrl = result; - return { - tag: _types.NavigationResultTag.MPA, - data: newUrl - }; - } - const { flightData, canonicalUrl, renderedSearch, debugInfo: debugInfoFromResponse } = result; - if (debugInfoFromResponse !== null) { - collectedDebugInfo.push(...debugInfoFromResponse); - } - // Since the response format of dynamic requests and prefetches is slightly - // different, we'll need to massage the data a bit. Create FlightRouterState - // tree that simulates what we'd receive as the result of a prefetch. - const navigationSeed = convertServerPatchToFullTree(currentFlightRouterState, flightData, renderedSearch); - return navigateToSeededRoute(now, url, (0, _createhreffromurl.createHrefFromUrl)(canonicalUrl), navigationSeed, currentUrl, currentCacheNode, currentFlightRouterState, freshnessPolicy, nextUrl, shouldScroll); -} -function convertServerPatchToFullTree(currentTree, flightData, renderedSearch) { - // During a client navigation or prefetch, the server sends back only a patch - // for the parts of the tree that have changed. - // - // This applies the patch to the base tree to create a full representation of - // the resulting tree. - // - // The return type includes a full FlightRouterState tree and a full - // CacheNodeSeedData tree. (Conceptually these are the same tree, and should - // eventually be unified, but there's still lots of existing code that - // operates on FlightRouterState trees alone without the CacheNodeSeedData.) - // - // TODO: This similar to what apply-router-state-patch-to-tree does. It - // will eventually fully replace it. We should get rid of all the remaining - // places where we iterate over the server patch format. This should also - // eventually replace normalizeFlightData. - let baseTree = currentTree; - let baseData = null; - let head = null; - for (const { segmentPath, tree: treePatch, seedData: dataPatch, head: headPatch } of flightData){ - const result = convertServerPatchToFullTreeImpl(baseTree, baseData, treePatch, dataPatch, segmentPath, 0); - baseTree = result.tree; - baseData = result.data; - // This is the same for all patches per response, so just pick an - // arbitrary one - head = headPatch; - } - return { - tree: baseTree, - data: baseData, - renderedSearch, - head - }; -} -function convertServerPatchToFullTreeImpl(baseRouterState, baseData, treePatch, dataPatch, segmentPath, index) { - if (index === segmentPath.length) { - // We reached the part of the tree that we need to patch. - return { - tree: treePatch, - data: dataPatch - }; - } - // segmentPath represents the parent path of subtree. It's a repeating - // pattern of parallel route key and segment: - // - // [string, Segment, string, Segment, string, Segment, ...] - // - // This path tells us which part of the base tree to apply the tree patch. - // - // NOTE: We receive the FlightRouterState patch in the same request as the - // seed data patch. Therefore we don't need to worry about diffing the segment - // values; we can assume the server sent us a correct result. - const updatedParallelRouteKey = segmentPath[index]; - // const segment: Segment = segmentPath[index + 1] <-- Not used, see note above - const baseTreeChildren = baseRouterState[1]; - const baseSeedDataChildren = baseData !== null ? baseData[1] : null; - const newTreeChildren = {}; - const newSeedDataChildren = {}; - for(const parallelRouteKey in baseTreeChildren){ - const childBaseRouterState = baseTreeChildren[parallelRouteKey]; - const childBaseSeedData = baseSeedDataChildren !== null ? baseSeedDataChildren[parallelRouteKey] ?? null : null; - if (parallelRouteKey === updatedParallelRouteKey) { - const result = convertServerPatchToFullTreeImpl(childBaseRouterState, childBaseSeedData, treePatch, dataPatch, segmentPath, // the end of the segment path. - index + 2); - newTreeChildren[parallelRouteKey] = result.tree; - newSeedDataChildren[parallelRouteKey] = result.data; - } else { - // This child is not being patched. Copy it over as-is. - newTreeChildren[parallelRouteKey] = childBaseRouterState; - newSeedDataChildren[parallelRouteKey] = childBaseSeedData; - } - } - let clonedTree; - let clonedSeedData; - // Clone all the fields except the children. - // Clone the FlightRouterState tree. Based on equivalent logic in - // apply-router-state-patch-to-tree, but should confirm whether we need to - // copy all of these fields. Not sure the server ever sends, e.g. the - // refetch marker. - clonedTree = [ - baseRouterState[0], - newTreeChildren - ]; - if (2 in baseRouterState) { - clonedTree[2] = baseRouterState[2]; - } - if (3 in baseRouterState) { - clonedTree[3] = baseRouterState[3]; - } - if (4 in baseRouterState) { - clonedTree[4] = baseRouterState[4]; - } - // Clone the CacheNodeSeedData tree. - const isEmptySeedDataPartial = true; - clonedSeedData = [ - null, - newSeedDataChildren, - null, - isEmptySeedDataPartial, - false - ]; - return { - tree: clonedTree, - data: clonedSeedData - }; -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=navigation.js.map -}), -"[project]/node_modules/next/dist/client/components/router-reducer/reducers/navigate-reducer.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - DYNAMIC_STALETIME_MS: null, - STATIC_STALETIME_MS: null, - generateSegmentsFromPatch: null, - handleExternalUrl: null, - handleNavigationResult: null, - navigateReducer: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - DYNAMIC_STALETIME_MS: function() { - return DYNAMIC_STALETIME_MS; - }, - STATIC_STALETIME_MS: function() { - return STATIC_STALETIME_MS; - }, - generateSegmentsFromPatch: function() { - return generateSegmentsFromPatch; - }, - handleExternalUrl: function() { - return handleExternalUrl; - }, - handleNavigationResult: function() { - return handleNavigationResult; - }, - navigateReducer: function() { - return navigateReducer; - } -}); -const _createhreffromurl = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/create-href-from-url.js [app-client] (ecmascript)"); -const _handlemutable = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/handle-mutable.js [app-client] (ecmascript)"); -const _navigation = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/segment-cache/navigation.js [app-client] (ecmascript)"); -const _types = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/segment-cache/types.js [app-client] (ecmascript)"); -const _cache = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/segment-cache/cache.js [app-client] (ecmascript)"); -const _pprnavigations = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/ppr-navigations.js [app-client] (ecmascript)"); -const DYNAMIC_STALETIME_MS = Number(("TURBOPACK compile-time value", "0")) * 1000; -const STATIC_STALETIME_MS = (0, _cache.getStaleTimeMs)(Number(("TURBOPACK compile-time value", "300"))); -function handleExternalUrl(state, mutable, url, pendingPush) { - mutable.mpaNavigation = true; - mutable.canonicalUrl = url; - mutable.pendingPush = pendingPush; - mutable.scrollableSegments = undefined; - return (0, _handlemutable.handleMutable)(state, mutable); -} -function generateSegmentsFromPatch(flightRouterPatch) { - const segments = []; - const [segment, parallelRoutes] = flightRouterPatch; - if (Object.keys(parallelRoutes).length === 0) { - return [ - [ - segment - ] - ]; - } - for (const [parallelRouteKey, parallelRoute] of Object.entries(parallelRoutes)){ - for (const childSegment of generateSegmentsFromPatch(parallelRoute)){ - // If the segment is empty, it means we are at the root of the tree - if (segment === '') { - segments.push([ - parallelRouteKey, - ...childSegment - ]); - } else { - segments.push([ - segment, - parallelRouteKey, - ...childSegment - ]); - } - } - } - return segments; -} -function handleNavigationResult(url, state, mutable, pendingPush, result) { - switch(result.tag){ - case _types.NavigationResultTag.MPA: - { - // Perform an MPA navigation. - const newUrl = result.data; - return handleExternalUrl(state, mutable, newUrl, pendingPush); - } - case _types.NavigationResultTag.Success: - { - // Received a new result. - mutable.cache = result.data.cacheNode; - mutable.patchedTree = result.data.flightRouterState; - mutable.renderedSearch = result.data.renderedSearch; - mutable.canonicalUrl = result.data.canonicalUrl; - // TODO: During a refresh, we don't set the `scrollableSegments`. There's - // some confusing and subtle logic in `handleMutable` that decides what - // to do when `shouldScroll` is set but `scrollableSegments` is not. I'm - // not convinced it's totally coherent but the tests assert on this - // particular behavior so I've ported the logic as-is from the previous - // router implementation, for now. - mutable.scrollableSegments = result.data.scrollableSegments ?? undefined; - mutable.shouldScroll = result.data.shouldScroll; - mutable.hashFragment = result.data.hash; - // Check if the only thing that changed was the hash fragment. - const oldUrl = new URL(state.canonicalUrl, url); - const onlyHashChange = // navigations are always same-origin. - url.pathname === oldUrl.pathname && url.search === oldUrl.search && url.hash !== oldUrl.hash; - if (onlyHashChange) { - // The only updated part of the URL is the hash. - mutable.onlyHashChange = true; - mutable.shouldScroll = result.data.shouldScroll; - mutable.hashFragment = url.hash; - // Setting this to an empty array triggers a scroll for all new and - // updated segments. See `ScrollAndFocusHandler` for more details. - mutable.scrollableSegments = []; - } - return (0, _handlemutable.handleMutable)(state, mutable); - } - case _types.NavigationResultTag.Async: - { - return result.data.then((asyncResult)=>handleNavigationResult(url, state, mutable, pendingPush, asyncResult), // TODO: This matches the current behavior but we need to do something - // better here if the network fails. - ()=>{ - return state; - }); - } - default: - { - result; - return state; - } - } -} -function navigateReducer(state, action) { - const { url, isExternalUrl, navigateType, shouldScroll } = action; - const mutable = {}; - const href = (0, _createhreffromurl.createHrefFromUrl)(url); - const pendingPush = navigateType === 'push'; - mutable.preserveCustomHistoryState = false; - mutable.pendingPush = pendingPush; - if (isExternalUrl) { - return handleExternalUrl(state, mutable, url.toString(), pendingPush); - } - // Handles case where `<meta http-equiv="refresh">` tag is present, - // which will trigger an MPA navigation. - if (document.getElementById('__next-page-redirect')) { - return handleExternalUrl(state, mutable, href, pendingPush); - } - // Temporary glue code between the router reducer and the new navigation - // implementation. Eventually we'll rewrite the router reducer to a - // state machine. - const currentUrl = new URL(state.canonicalUrl, location.origin); - const result = (0, _navigation.navigate)(url, currentUrl, state.cache, state.tree, state.nextUrl, _pprnavigations.FreshnessPolicy.Default, shouldScroll, mutable); - return handleNavigationResult(url, state, mutable, pendingPush, result); -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=navigate-reducer.js.map -}), -"[project]/node_modules/next/dist/client/components/router-reducer/reducers/has-interception-route-in-current-tree.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "hasInterceptionRouteInCurrentTree", { - enumerable: true, - get: function() { - return hasInterceptionRouteInCurrentTree; - } -}); -const _interceptionroutes = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/router/utils/interception-routes.js [app-client] (ecmascript)"); -function hasInterceptionRouteInCurrentTree([segment, parallelRoutes]) { - // If we have a dynamic segment, it's marked as an interception route by the presence of the `i` suffix. - if (Array.isArray(segment) && (segment[2] === 'di(..)(..)' || segment[2] === 'ci(..)(..)' || segment[2] === 'di(.)' || segment[2] === 'ci(.)' || segment[2] === 'di(..)' || segment[2] === 'ci(..)' || segment[2] === 'di(...)' || segment[2] === 'ci(...)')) { - return true; - } - // If segment is not an array, apply the existing string-based check - if (typeof segment === 'string' && (0, _interceptionroutes.isInterceptionRouteAppPath)(segment)) { - return true; - } - // Iterate through parallelRoutes if they exist - if (parallelRoutes) { - for(const key in parallelRoutes){ - if (hasInterceptionRouteInCurrentTree(parallelRoutes[key])) { - return true; - } - } - } - return false; -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=has-interception-route-in-current-tree.js.map -}), -"[project]/node_modules/next/dist/client/components/router-reducer/reducers/refresh-reducer.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - refreshDynamicData: null, - refreshReducer: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - refreshDynamicData: function() { - return refreshDynamicData; - }, - refreshReducer: function() { - return refreshReducer; - } -}); -const _navigatereducer = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/reducers/navigate-reducer.js [app-client] (ecmascript)"); -const _navigation = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/segment-cache/navigation.js [app-client] (ecmascript)"); -const _cache = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/segment-cache/cache.js [app-client] (ecmascript)"); -const _hasinterceptionrouteincurrenttree = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/reducers/has-interception-route-in-current-tree.js [app-client] (ecmascript)"); -const _pprnavigations = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/ppr-navigations.js [app-client] (ecmascript)"); -function refreshReducer(state) { - // TODO: Currently, all refreshes purge the prefetch cache. In the future, - // only client-side refreshes will have this behavior; the server-side - // `refresh` should send new data without purging the prefetch cache. - const currentNextUrl = state.nextUrl; - const currentRouterState = state.tree; - (0, _cache.revalidateEntireCache)(currentNextUrl, currentRouterState); - return refreshDynamicData(state, _pprnavigations.FreshnessPolicy.RefreshAll); -} -function refreshDynamicData(state, freshnessPolicy) { - const currentNextUrl = state.nextUrl; - // We always send the last next-url, not the current when performing a dynamic - // request. This is because we update the next-url after a navigation, but we - // want the same interception route to be matched that used the last next-url. - const nextUrlForRefresh = (0, _hasinterceptionrouteincurrenttree.hasInterceptionRouteInCurrentTree)(state.tree) ? state.previousNextUrl || currentNextUrl : null; - // A refresh is modeled as a navigation to the current URL, but where any - // existing dynamic data (including in shared layouts) is re-fetched. - const currentCanonicalUrl = state.canonicalUrl; - const currentUrl = new URL(currentCanonicalUrl, location.origin); - const currentFlightRouterState = state.tree; - const shouldScroll = true; - const navigationSeed = { - tree: state.tree, - renderedSearch: state.renderedSearch, - data: null, - head: null - }; - const now = Date.now(); - const result = (0, _navigation.navigateToSeededRoute)(now, currentUrl, currentCanonicalUrl, navigationSeed, currentUrl, state.cache, currentFlightRouterState, freshnessPolicy, nextUrlForRefresh, shouldScroll); - const mutable = {}; - mutable.preserveCustomHistoryState = false; - return (0, _navigatereducer.handleNavigationResult)(currentUrl, state, mutable, false, result); -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=refresh-reducer.js.map -}), -"[project]/node_modules/next/dist/client/components/router-reducer/reducers/server-patch-reducer.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "serverPatchReducer", { - enumerable: true, - get: function() { - return serverPatchReducer; - } -}); -const _createhreffromurl = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/create-href-from-url.js [app-client] (ecmascript)"); -const _navigatereducer = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/reducers/navigate-reducer.js [app-client] (ecmascript)"); -const _navigation = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/segment-cache/navigation.js [app-client] (ecmascript)"); -const _refreshreducer = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/reducers/refresh-reducer.js [app-client] (ecmascript)"); -const _pprnavigations = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/ppr-navigations.js [app-client] (ecmascript)"); -function serverPatchReducer(state, action) { - const mutable = {}; - mutable.preserveCustomHistoryState = false; - // A "retry" is a navigation that happens due to a route mismatch. It's - // similar to a refresh, because we will omit any existing dynamic data on - // the page. But we seed the retry navigation with the exact tree that the - // server just responded with. - const retryMpa = action.mpa; - const retryUrl = new URL(action.url, location.origin); - const retrySeed = action.seed; - if (retryMpa || retrySeed === null) { - // If the server did not send back data during the mismatch, fall back to - // an MPA navigation. - return (0, _navigatereducer.handleExternalUrl)(state, mutable, retryUrl.href, false); - } - const currentUrl = new URL(state.canonicalUrl, location.origin); - if (action.previousTree !== state.tree) { - // There was another, more recent navigation since the once that - // mismatched. We can abort the retry, but we still need to refresh the - // page to evict any stale dynamic data. - return (0, _refreshreducer.refreshReducer)(state); - } - // There have been no new navigations since the mismatched one. Refresh, - // using the tree we just received from the server. - const retryCanonicalUrl = (0, _createhreffromurl.createHrefFromUrl)(retryUrl); - const retryNextUrl = action.nextUrl; - // A retry should not create a new history entry. - const pendingPush = false; - const shouldScroll = true; - const now = Date.now(); - const result = (0, _navigation.navigateToSeededRoute)(now, retryUrl, retryCanonicalUrl, retrySeed, currentUrl, state.cache, state.tree, _pprnavigations.FreshnessPolicy.RefreshAll, retryNextUrl, shouldScroll); - return (0, _navigatereducer.handleNavigationResult)(retryUrl, state, mutable, pendingPush, result); -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=server-patch-reducer.js.map -}), -"[project]/node_modules/next/dist/client/components/router-reducer/reducers/restore-reducer.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "restoreReducer", { - enumerable: true, - get: function() { - return restoreReducer; - } -}); -const _createhreffromurl = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/create-href-from-url.js [app-client] (ecmascript)"); -const _computechangedpath = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/compute-changed-path.js [app-client] (ecmascript)"); -const _pprnavigations = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/ppr-navigations.js [app-client] (ecmascript)"); -const _navigatereducer = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/reducers/navigate-reducer.js [app-client] (ecmascript)"); -function restoreReducer(state, action) { - // This action is used to restore the router state from the history state. - // However, it's possible that the history state no longer contains the `FlightRouterState`. - // We will copy over the internal state on pushState/replaceState events, but if a history entry - // occurred before hydration, or if the user navigated to a hash using a regular anchor link, - // the history state will not contain the `FlightRouterState`. - // In this case, we'll continue to use the existing tree so the router doesn't get into an invalid state. - let treeToRestore; - let renderedSearch; - const historyState = action.historyState; - if (historyState) { - treeToRestore = historyState.tree; - renderedSearch = historyState.renderedSearch; - } else { - treeToRestore = state.tree; - renderedSearch = state.renderedSearch; - } - const currentUrl = new URL(state.canonicalUrl, location.origin); - const restoredUrl = action.url; - const restoredCanonicalUrl = (0, _createhreffromurl.createHrefFromUrl)(restoredUrl); - const restoredNextUrl = (0, _computechangedpath.extractPathFromFlightRouterState)(treeToRestore) ?? restoredUrl.pathname; - const now = Date.now(); - const accumulation = { - scrollableSegments: null, - separateRefreshUrls: null - }; - const task = (0, _pprnavigations.startPPRNavigation)(now, currentUrl, state.cache, state.tree, treeToRestore, _pprnavigations.FreshnessPolicy.HistoryTraversal, null, null, null, null, false, false, accumulation); - if (task === null) { - const mutable = { - preserveCustomHistoryState: true - }; - return (0, _navigatereducer.handleExternalUrl)(state, mutable, restoredCanonicalUrl, false); - } - (0, _pprnavigations.spawnDynamicRequests)(task, restoredUrl, restoredNextUrl, _pprnavigations.FreshnessPolicy.HistoryTraversal, accumulation); - return { - // Set canonical url - canonicalUrl: restoredCanonicalUrl, - renderedSearch, - pushRef: { - pendingPush: false, - mpaNavigation: false, - // Ensures that the custom history state that was set is preserved when applying this update. - preserveCustomHistoryState: true - }, - focusAndScrollRef: state.focusAndScrollRef, - cache: task.node, - // Restore provided tree - tree: treeToRestore, - nextUrl: restoredNextUrl, - // TODO: We need to restore previousNextUrl, too, which represents the - // Next-Url that was used to fetch the data. Anywhere we fetch using the - // canonical URL, there should be a corresponding Next-Url. - previousNextUrl: null, - debugInfo: null - }; -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=restore-reducer.js.map -}), -"[project]/node_modules/next/dist/client/components/router-reducer/reducers/hmr-refresh-reducer.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "hmrRefreshReducer", { - enumerable: true, - get: function() { - return hmrRefreshReducer; - } -}); -const _refreshreducer = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/reducers/refresh-reducer.js [app-client] (ecmascript)"); -const _pprnavigations = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/ppr-navigations.js [app-client] (ecmascript)"); -function hmrRefreshReducer(state) { - return (0, _refreshreducer.refreshDynamicData)(state, _pprnavigations.FreshnessPolicy.HMRRefresh); -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=hmr-refresh-reducer.js.map -}), -"[project]/node_modules/next/dist/client/components/unrecognized-action-error.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - UnrecognizedActionError: null, - unstable_isUnrecognizedActionError: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - UnrecognizedActionError: function() { - return UnrecognizedActionError; - }, - unstable_isUnrecognizedActionError: function() { - return unstable_isUnrecognizedActionError; - } -}); -class UnrecognizedActionError extends Error { - constructor(...args){ - super(...args); - this.name = 'UnrecognizedActionError'; - } -} -function unstable_isUnrecognizedActionError(error) { - return !!(error && typeof error === 'object' && error instanceof UnrecognizedActionError); -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=unrecognized-action-error.js.map -}), -"[project]/node_modules/next/dist/client/assign-location.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "assignLocation", { - enumerable: true, - get: function() { - return assignLocation; - } -}); -const _addbasepath = __turbopack_context__.r("[project]/node_modules/next/dist/client/add-base-path.js [app-client] (ecmascript)"); -function assignLocation(location, url) { - if (location.startsWith('.')) { - const urlBase = url.origin + url.pathname; - return new URL(// new URL('./relative', 'https://example.com/subdir').href -> 'https://example.com/relative' - // new URL('./relative', 'https://example.com/subdir/').href -> 'https://example.com/subdir/relative' - (urlBase.endsWith('/') ? urlBase : urlBase + '/') + location); - } - return new URL((0, _addbasepath.addBasePath)(location), url.href); -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=assign-location.js.map -}), -"[project]/node_modules/next/dist/client/components/redirect.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - getRedirectError: null, - getRedirectStatusCodeFromError: null, - getRedirectTypeFromError: null, - getURLFromRedirectError: null, - permanentRedirect: null, - redirect: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - getRedirectError: function() { - return getRedirectError; - }, - getRedirectStatusCodeFromError: function() { - return getRedirectStatusCodeFromError; - }, - getRedirectTypeFromError: function() { - return getRedirectTypeFromError; - }, - getURLFromRedirectError: function() { - return getURLFromRedirectError; - }, - permanentRedirect: function() { - return permanentRedirect; - }, - redirect: function() { - return redirect; - } -}); -const _redirectstatuscode = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/redirect-status-code.js [app-client] (ecmascript)"); -const _redirecterror = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/redirect-error.js [app-client] (ecmascript)"); -const actionAsyncStorage = typeof window === 'undefined' ? __turbopack_context__.r("[project]/node_modules/next/dist/server/app-render/action-async-storage.external.js [app-client] (ecmascript)").actionAsyncStorage : undefined; -function getRedirectError(url, type, statusCode = _redirectstatuscode.RedirectStatusCode.TemporaryRedirect) { - const error = Object.defineProperty(new Error(_redirecterror.REDIRECT_ERROR_CODE), "__NEXT_ERROR_CODE", { - value: "E394", - enumerable: false, - configurable: true - }); - error.digest = `${_redirecterror.REDIRECT_ERROR_CODE};${type};${url};${statusCode};`; - return error; -} -function redirect(/** The URL to redirect to */ url, type) { - type ??= actionAsyncStorage?.getStore()?.isAction ? _redirecterror.RedirectType.push : _redirecterror.RedirectType.replace; - throw getRedirectError(url, type, _redirectstatuscode.RedirectStatusCode.TemporaryRedirect); -} -function permanentRedirect(/** The URL to redirect to */ url, type = _redirecterror.RedirectType.replace) { - throw getRedirectError(url, type, _redirectstatuscode.RedirectStatusCode.PermanentRedirect); -} -function getURLFromRedirectError(error) { - if (!(0, _redirecterror.isRedirectError)(error)) return null; - // Slices off the beginning of the digest that contains the code and the - // separating ';'. - return error.digest.split(';').slice(2, -2).join(';'); -} -function getRedirectTypeFromError(error) { - if (!(0, _redirecterror.isRedirectError)(error)) { - throw Object.defineProperty(new Error('Not a redirect error'), "__NEXT_ERROR_CODE", { - value: "E260", - enumerable: false, - configurable: true - }); - } - return error.digest.split(';', 2)[1]; -} -function getRedirectStatusCodeFromError(error) { - if (!(0, _redirecterror.isRedirectError)(error)) { - throw Object.defineProperty(new Error('Not a redirect error'), "__NEXT_ERROR_CODE", { - value: "E260", - enumerable: false, - configurable: true - }); - } - return Number(error.digest.split(';').at(-2)); -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=redirect.js.map -}), -"[project]/node_modules/next/dist/client/has-base-path.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "hasBasePath", { - enumerable: true, - get: function() { - return hasBasePath; - } -}); -const _pathhasprefix = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js [app-client] (ecmascript)"); -const basePath = ("TURBOPACK compile-time value", "") || ''; -function hasBasePath(path) { - return (0, _pathhasprefix.pathHasPrefix)(path, basePath); -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=has-base-path.js.map -}), -"[project]/node_modules/next/dist/client/remove-base-path.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "removeBasePath", { - enumerable: true, - get: function() { - return removeBasePath; - } -}); -const _hasbasepath = __turbopack_context__.r("[project]/node_modules/next/dist/client/has-base-path.js [app-client] (ecmascript)"); -const basePath = ("TURBOPACK compile-time value", "") || ''; -function removeBasePath(path) { - if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable - ; - // Can't trim the basePath if it has zero length! - if (basePath.length === 0) return path; - path = path.slice(basePath.length); - if (!path.startsWith('/')) path = `/${path}`; - return path; -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=remove-base-path.js.map -}), -"[project]/node_modules/next/dist/client/components/router-reducer/reducers/server-action-reducer.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "serverActionReducer", { - enumerable: true, - get: function() { - return serverActionReducer; - } -}); -const _appcallserver = __turbopack_context__.r("[project]/node_modules/next/dist/client/app-call-server.js [app-client] (ecmascript)"); -const _appfindsourcemapurl = __turbopack_context__.r("[project]/node_modules/next/dist/client/app-find-source-map-url.js [app-client] (ecmascript)"); -const _approuterheaders = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/app-router-headers.js [app-client] (ecmascript)"); -const _unrecognizedactionerror = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/unrecognized-action-error.js [app-client] (ecmascript)"); -const _client = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react-server-dom-turbopack/client.js [app-client] (ecmascript)"); -const _assignlocation = __turbopack_context__.r("[project]/node_modules/next/dist/client/assign-location.js [app-client] (ecmascript)"); -const _createhreffromurl = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/create-href-from-url.js [app-client] (ecmascript)"); -const _navigatereducer = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/reducers/navigate-reducer.js [app-client] (ecmascript)"); -const _hasinterceptionrouteincurrenttree = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/reducers/has-interception-route-in-current-tree.js [app-client] (ecmascript)"); -const _flightdatahelpers = __turbopack_context__.r("[project]/node_modules/next/dist/client/flight-data-helpers.js [app-client] (ecmascript)"); -const _redirect = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/redirect.js [app-client] (ecmascript)"); -const _redirecterror = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/redirect-error.js [app-client] (ecmascript)"); -const _removebasepath = __turbopack_context__.r("[project]/node_modules/next/dist/client/remove-base-path.js [app-client] (ecmascript)"); -const _hasbasepath = __turbopack_context__.r("[project]/node_modules/next/dist/client/has-base-path.js [app-client] (ecmascript)"); -const _serverreferenceinfo = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/server-reference-info.js [app-client] (ecmascript)"); -const _cache = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/segment-cache/cache.js [app-client] (ecmascript)"); -const _deploymentid = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/deployment-id.js [app-client] (ecmascript)"); -const _navigation = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/segment-cache/navigation.js [app-client] (ecmascript)"); -const _actionrevalidationkind = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/action-revalidation-kind.js [app-client] (ecmascript)"); -const _approuterutils = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/app-router-utils.js [app-client] (ecmascript)"); -const _pprnavigations = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/ppr-navigations.js [app-client] (ecmascript)"); -const createFromFetch = _client.createFromFetch; -let createDebugChannel; -if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable -; -async function fetchServerAction(state, nextUrl, { actionId, actionArgs }) { - const temporaryReferences = (0, _client.createTemporaryReferenceSet)(); - const info = (0, _serverreferenceinfo.extractInfoFromServerReferenceId)(actionId); - // TODO: Currently, we're only omitting unused args for the experimental "use - // cache" functions. Once the server reference info byte feature is stable, we - // should apply this to server actions as well. - const usedArgs = info.type === 'use-cache' ? (0, _serverreferenceinfo.omitUnusedArgs)(actionArgs, info) : actionArgs; - const body = await (0, _client.encodeReply)(usedArgs, { - temporaryReferences - }); - const headers = { - Accept: _approuterheaders.RSC_CONTENT_TYPE_HEADER, - [_approuterheaders.ACTION_HEADER]: actionId, - [_approuterheaders.NEXT_ROUTER_STATE_TREE_HEADER]: (0, _flightdatahelpers.prepareFlightRouterStateForRequest)(state.tree) - }; - const deploymentId = (0, _deploymentid.getDeploymentId)(); - if (deploymentId) { - headers['x-deployment-id'] = deploymentId; - } - if (nextUrl) { - headers[_approuterheaders.NEXT_URL] = nextUrl; - } - if ("TURBOPACK compile-time truthy", 1) { - if (self.__next_r) { - headers[_approuterheaders.NEXT_HTML_REQUEST_ID_HEADER] = self.__next_r; - } - // Create a new request ID for the server action request. The server uses - // this to tag debug information sent via WebSocket to the client, which - // then routes those chunks to the debug channel associated with this ID. - headers[_approuterheaders.NEXT_REQUEST_ID_HEADER] = crypto.getRandomValues(new Uint32Array(1))[0].toString(16); - } - const res = await fetch(state.canonicalUrl, { - method: 'POST', - headers, - body - }); - // Handle server actions that the server didn't recognize. - const unrecognizedActionHeader = res.headers.get(_approuterheaders.NEXT_ACTION_NOT_FOUND_HEADER); - if (unrecognizedActionHeader === '1') { - throw Object.defineProperty(new _unrecognizedactionerror.UnrecognizedActionError(`Server Action "${actionId}" was not found on the server. \nRead more: https://nextjs.org/docs/messages/failed-to-find-server-action`), "__NEXT_ERROR_CODE", { - value: "E715", - enumerable: false, - configurable: true - }); - } - const redirectHeader = res.headers.get('x-action-redirect'); - const [location1, _redirectType] = redirectHeader?.split(';') || []; - let redirectType; - switch(_redirectType){ - case 'push': - redirectType = _redirecterror.RedirectType.push; - break; - case 'replace': - redirectType = _redirecterror.RedirectType.replace; - break; - default: - redirectType = undefined; - } - const isPrerender = !!res.headers.get(_approuterheaders.NEXT_IS_PRERENDER_HEADER); - let revalidationKind = _actionrevalidationkind.ActionDidNotRevalidate; - try { - const revalidationHeader = res.headers.get('x-action-revalidated'); - if (revalidationHeader) { - const parsedKind = JSON.parse(revalidationHeader); - if (parsedKind === _actionrevalidationkind.ActionDidRevalidateStaticAndDynamic || parsedKind === _actionrevalidationkind.ActionDidRevalidateDynamicOnly) { - revalidationKind = parsedKind; - } - } - } catch {} - const redirectLocation = location1 ? (0, _assignlocation.assignLocation)(location1, new URL(state.canonicalUrl, window.location.href)) : undefined; - const contentType = res.headers.get('content-type'); - const isRscResponse = !!(contentType && contentType.startsWith(_approuterheaders.RSC_CONTENT_TYPE_HEADER)); - // Handle invalid server action responses. - // A valid response must have `content-type: text/x-component`, unless it's an external redirect. - // (external redirects have an 'x-action-redirect' header, but the body is an empty 'text/plain') - if (!isRscResponse && !redirectLocation) { - // The server can respond with a text/plain error message, but we'll fallback to something generic - // if there isn't one. - const message = res.status >= 400 && contentType === 'text/plain' ? await res.text() : 'An unexpected response was received from the server.'; - throw Object.defineProperty(new Error(message), "__NEXT_ERROR_CODE", { - value: "E394", - enumerable: false, - configurable: true - }); - } - let actionResult; - let actionFlightData; - let actionFlightDataRenderedSearch; - let actionFlightDataCouldBeIntercepted; - if (isRscResponse) { - const response = await createFromFetch(Promise.resolve(res), { - callServer: _appcallserver.callServer, - findSourceMapURL: _appfindsourcemapurl.findSourceMapURL, - temporaryReferences, - debugChannel: createDebugChannel && createDebugChannel(headers) - }); - // An internal redirect can send an RSC response, but does not have a useful `actionResult`. - actionResult = redirectLocation ? undefined : response.a; - const maybeFlightData = (0, _flightdatahelpers.normalizeFlightData)(response.f); - if (maybeFlightData !== '') { - actionFlightData = maybeFlightData; - actionFlightDataRenderedSearch = response.q; - actionFlightDataCouldBeIntercepted = response.i; - } - } else { - // An external redirect doesn't contain RSC data. - actionResult = undefined; - actionFlightData = undefined; - actionFlightDataRenderedSearch = undefined; - actionFlightDataCouldBeIntercepted = undefined; - } - return { - actionResult, - actionFlightData, - actionFlightDataRenderedSearch, - actionFlightDataCouldBeIntercepted, - redirectLocation, - redirectType, - revalidationKind, - isPrerender - }; -} -function serverActionReducer(state, action) { - const { resolve, reject } = action; - const mutable = {}; - mutable.preserveCustomHistoryState = false; - // only pass along the `nextUrl` param (used for interception routes) if the current route was intercepted. - // If the route has been intercepted, the action should be as well. - // Otherwise the server action might be intercepted with the wrong action id - // (ie, one that corresponds with the intercepted route) - const nextUrl = // performing a dynamic request. This is because we update - // the next-url after a navigation, but we want the same - // interception route to be matched that used the last - // next-url. - (state.previousNextUrl || state.nextUrl) && (0, _hasinterceptionrouteincurrenttree.hasInterceptionRouteInCurrentTree)(state.tree) ? state.previousNextUrl || state.nextUrl : null; - return fetchServerAction(state, nextUrl, action).then(async ({ revalidationKind, actionResult, actionFlightData: flightData, actionFlightDataRenderedSearch: flightDataRenderedSearch, actionFlightDataCouldBeIntercepted: flightDataCouldBeIntercepted, redirectLocation, redirectType })=>{ - if (revalidationKind !== _actionrevalidationkind.ActionDidNotRevalidate) { - // Store whether this action triggered any revalidation - // The action queue will use this information to potentially - // trigger a refresh action if the action was discarded - // (ie, due to a navigation, before the action completed) - action.didRevalidate = true; - // If there was a revalidation, evict the entire prefetch cache. - // TODO: Evict only segments with matching tags and/or paths. - if (revalidationKind === _actionrevalidationkind.ActionDidRevalidateStaticAndDynamic) { - (0, _cache.revalidateEntireCache)(nextUrl, state.tree); - } - } - const pendingPush = redirectType !== _redirecterror.RedirectType.replace; - state.pushRef.pendingPush = pendingPush; - mutable.pendingPush = pendingPush; - if (redirectLocation !== undefined) { - // If the action triggered a redirect, the action promise will be rejected with - // a redirect so that it's handled by RedirectBoundary as we won't have a valid - // action result to resolve the promise with. This will effectively reset the state of - // the component that called the action as the error boundary will remount the tree. - // The status code doesn't matter here as the action handler will have already sent - // a response with the correct status code. - const resolvedRedirectType = redirectType || _redirecterror.RedirectType.push; - if ((0, _approuterutils.isExternalURL)(redirectLocation)) { - // External redirect. Triggers an MPA navigation. - const redirectHref = redirectLocation.href; - const redirectError = createRedirectErrorForAction(redirectHref, resolvedRedirectType); - reject(redirectError); - return (0, _navigatereducer.handleExternalUrl)(state, mutable, redirectHref, pendingPush); - } else { - // Internal redirect. Triggers an SPA navigation. - const redirectWithBasepath = (0, _createhreffromurl.createHrefFromUrl)(redirectLocation, false); - const redirectHref = (0, _hasbasepath.hasBasePath)(redirectWithBasepath) ? (0, _removebasepath.removeBasePath)(redirectWithBasepath) : redirectWithBasepath; - const redirectError = createRedirectErrorForAction(redirectHref, resolvedRedirectType); - reject(redirectError); - } - } else { - // If there's no redirect, resolve the action with the result. - resolve(actionResult); - } - // Check if we can bail out without updating any state. - if (redirectLocation === undefined && // Did the action revalidate any data? - revalidationKind === _actionrevalidationkind.ActionDidNotRevalidate && // Did the server render new data? - flightData === undefined) { - // The action did not trigger any revalidations or redirects. No - // navigation is required. - return state; - } - if (flightData === undefined && redirectLocation !== undefined) { - // The server redirected, but did not send any Flight data. This implies - // an external redirect. - // TODO: We should refactor the action response type to be more explicit - // about the various response types. - return (0, _navigatereducer.handleExternalUrl)(state, mutable, redirectLocation.href, pendingPush); - } - if (typeof flightData === 'string') { - // If the flight data is just a string, something earlier in the - // response handling triggered an external redirect. - return (0, _navigatereducer.handleExternalUrl)(state, mutable, flightData, pendingPush); - } - // The action triggered a navigation — either a redirect, a revalidation, - // or both. - // If there was no redirect, then the target URL is the same as the - // current URL. - const currentUrl = new URL(state.canonicalUrl, location.origin); - const redirectUrl = redirectLocation !== undefined ? redirectLocation : currentUrl; - const currentFlightRouterState = state.tree; - const shouldScroll = true; - // If the action triggered a revalidation of the cache, we should also - // refresh all the dynamic data. - const freshnessPolicy = revalidationKind === _actionrevalidationkind.ActionDidNotRevalidate ? _pprnavigations.FreshnessPolicy.Default : _pprnavigations.FreshnessPolicy.RefreshAll; - // The server may have sent back new data. If so, we will perform a - // "seeded" navigation that uses the data from the response. - if (flightData !== undefined) { - const normalizedFlightData = flightData[0]; - if (normalizedFlightData !== undefined && // TODO: Currently the server always renders from the root in - // response to a Server Action. In the case of a normal redirect - // with no revalidation, it should skip over the shared layouts. - normalizedFlightData.isRootRender && flightDataRenderedSearch !== undefined && flightDataCouldBeIntercepted !== undefined) { - // The server sent back new route data as part of the response. We - // will use this to render the new page. If this happens to be only a - // subset of the data needed to render the new page, we'll initiate a - // new fetch, like we would for a normal navigation. - const redirectCanonicalUrl = (0, _createhreffromurl.createHrefFromUrl)(redirectUrl); - const navigationSeed = { - tree: normalizedFlightData.tree, - renderedSearch: flightDataRenderedSearch, - data: normalizedFlightData.seedData, - head: normalizedFlightData.head - }; - const now = Date.now(); - const result = (0, _navigation.navigateToSeededRoute)(now, redirectUrl, redirectCanonicalUrl, navigationSeed, currentUrl, state.cache, currentFlightRouterState, freshnessPolicy, nextUrl, shouldScroll); - return (0, _navigatereducer.handleNavigationResult)(redirectUrl, state, mutable, pendingPush, result); - } - } - // The server did not send back new data. We'll perform a regular, non- - // seeded navigation — effectively the same as <Link> or router.push(). - const result = (0, _navigation.navigate)(redirectUrl, currentUrl, state.cache, currentFlightRouterState, nextUrl, freshnessPolicy, shouldScroll, mutable); - return (0, _navigatereducer.handleNavigationResult)(redirectUrl, state, mutable, pendingPush, result); - }, (e)=>{ - // When the server action is rejected we don't update the state and instead call the reject handler of the promise. - reject(e); - return state; - }); -} -function createRedirectErrorForAction(redirectHref, resolvedRedirectType) { - const redirectError = (0, _redirect.getRedirectError)(redirectHref, resolvedRedirectType); - redirectError.handled = true; - return redirectError; -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=server-action-reducer.js.map -}), -"[project]/node_modules/next/dist/client/components/router-reducer/router-reducer.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "reducer", { - enumerable: true, - get: function() { - return reducer; - } -}); -const _routerreducertypes = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/router-reducer-types.js [app-client] (ecmascript)"); -const _navigatereducer = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/reducers/navigate-reducer.js [app-client] (ecmascript)"); -const _serverpatchreducer = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/reducers/server-patch-reducer.js [app-client] (ecmascript)"); -const _restorereducer = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/reducers/restore-reducer.js [app-client] (ecmascript)"); -const _refreshreducer = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/reducers/refresh-reducer.js [app-client] (ecmascript)"); -const _hmrrefreshreducer = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/reducers/hmr-refresh-reducer.js [app-client] (ecmascript)"); -const _serveractionreducer = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/reducers/server-action-reducer.js [app-client] (ecmascript)"); -/** - * Reducer that handles the app-router state updates. - */ function clientReducer(state, action) { - switch(action.type){ - case _routerreducertypes.ACTION_NAVIGATE: - { - return (0, _navigatereducer.navigateReducer)(state, action); - } - case _routerreducertypes.ACTION_SERVER_PATCH: - { - return (0, _serverpatchreducer.serverPatchReducer)(state, action); - } - case _routerreducertypes.ACTION_RESTORE: - { - return (0, _restorereducer.restoreReducer)(state, action); - } - case _routerreducertypes.ACTION_REFRESH: - { - return (0, _refreshreducer.refreshReducer)(state); - } - case _routerreducertypes.ACTION_HMR_REFRESH: - { - return (0, _hmrrefreshreducer.hmrRefreshReducer)(state); - } - case _routerreducertypes.ACTION_SERVER_ACTION: - { - return (0, _serveractionreducer.serverActionReducer)(state, action); - } - // This case should never be hit as dispatch is strongly typed. - default: - throw Object.defineProperty(new Error('Unknown action'), "__NEXT_ERROR_CODE", { - value: "E295", - enumerable: false, - configurable: true - }); - } -} -function serverReducer(state, _action) { - return state; -} -const reducer = typeof window === 'undefined' ? serverReducer : clientReducer; -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=router-reducer.js.map -}), -"[project]/node_modules/next/dist/client/components/segment-cache/prefetch.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "prefetch", { - enumerable: true, - get: function() { - return prefetch; - } -}); -const _approuterutils = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/app-router-utils.js [app-client] (ecmascript)"); -const _cachekey = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/segment-cache/cache-key.js [app-client] (ecmascript)"); -const _scheduler = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/segment-cache/scheduler.js [app-client] (ecmascript)"); -const _types = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/segment-cache/types.js [app-client] (ecmascript)"); -function prefetch(href, nextUrl, treeAtTimeOfPrefetch, fetchStrategy, onInvalidate) { - const url = (0, _approuterutils.createPrefetchURL)(href); - if (url === null) { - // This href should not be prefetched. - return; - } - const cacheKey = (0, _cachekey.createCacheKey)(url.href, nextUrl); - (0, _scheduler.schedulePrefetchTask)(cacheKey, treeAtTimeOfPrefetch, fetchStrategy, _types.PrefetchPriority.Default, onInvalidate); -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=prefetch.js.map -}), -"[project]/node_modules/next/dist/client/components/app-router-instance.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - createMutableActionQueue: null, - dispatchNavigateAction: null, - dispatchTraverseAction: null, - getCurrentAppRouterState: null, - publicAppRouterInstance: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - createMutableActionQueue: function() { - return createMutableActionQueue; - }, - dispatchNavigateAction: function() { - return dispatchNavigateAction; - }, - dispatchTraverseAction: function() { - return dispatchTraverseAction; - }, - getCurrentAppRouterState: function() { - return getCurrentAppRouterState; - }, - publicAppRouterInstance: function() { - return publicAppRouterInstance; - } -}); -const _routerreducertypes = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/router-reducer-types.js [app-client] (ecmascript)"); -const _routerreducer = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/router-reducer.js [app-client] (ecmascript)"); -const _react = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -const _isthenable = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/is-thenable.js [app-client] (ecmascript)"); -const _types = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/segment-cache/types.js [app-client] (ecmascript)"); -const _prefetch = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/segment-cache/prefetch.js [app-client] (ecmascript)"); -const _useactionqueue = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/use-action-queue.js [app-client] (ecmascript)"); -const _addbasepath = __turbopack_context__.r("[project]/node_modules/next/dist/client/add-base-path.js [app-client] (ecmascript)"); -const _approuterutils = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/app-router-utils.js [app-client] (ecmascript)"); -const _links = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/links.js [app-client] (ecmascript)"); -function runRemainingActions(actionQueue, setState) { - if (actionQueue.pending !== null) { - actionQueue.pending = actionQueue.pending.next; - if (actionQueue.pending !== null) { - runAction({ - actionQueue, - action: actionQueue.pending, - setState - }); - } - } else { - // Check for refresh when pending is already null - // This handles the case where a discarded server action completes - // after the navigation has already finished and the queue is empty - if (actionQueue.needsRefresh) { - actionQueue.needsRefresh = false; - actionQueue.dispatch({ - type: _routerreducertypes.ACTION_REFRESH - }, setState); - } - } -} -async function runAction({ actionQueue, action, setState }) { - const prevState = actionQueue.state; - actionQueue.pending = action; - const payload = action.payload; - const actionResult = actionQueue.action(prevState, payload); - function handleResult(nextState) { - // if we discarded this action, the state should also be discarded - if (action.discarded) { - // Check if the discarded server action revalidated data - if (action.payload.type === _routerreducertypes.ACTION_SERVER_ACTION && action.payload.didRevalidate) { - // The server action was discarded but it revalidated data, - // mark that we need to refresh after all actions complete - actionQueue.needsRefresh = true; - } - // Still need to run remaining actions even for discarded actions - // to potentially trigger the refresh - runRemainingActions(actionQueue, setState); - return; - } - actionQueue.state = nextState; - runRemainingActions(actionQueue, setState); - action.resolve(nextState); - } - // if the action is a promise, set up a callback to resolve it - if ((0, _isthenable.isThenable)(actionResult)) { - actionResult.then(handleResult, (err)=>{ - runRemainingActions(actionQueue, setState); - action.reject(err); - }); - } else { - handleResult(actionResult); - } -} -function dispatchAction(actionQueue, payload, setState) { - let resolvers = { - resolve: setState, - reject: ()=>{} - }; - // most of the action types are async with the exception of restore - // it's important that restore is handled quickly since it's fired on the popstate event - // and we don't want to add any delay on a back/forward nav - // this only creates a promise for the async actions - if (payload.type !== _routerreducertypes.ACTION_RESTORE) { - // Create the promise and assign the resolvers to the object. - const deferredPromise = new Promise((resolve, reject)=>{ - resolvers = { - resolve, - reject - }; - }); - (0, _react.startTransition)(()=>{ - // we immediately notify React of the pending promise -- the resolver is attached to the action node - // and will be called when the associated action promise resolves - setState(deferredPromise); - }); - } - const newAction = { - payload, - next: null, - resolve: resolvers.resolve, - reject: resolvers.reject - }; - // Check if the queue is empty - if (actionQueue.pending === null) { - // The queue is empty, so add the action and start it immediately - // Mark this action as the last in the queue - actionQueue.last = newAction; - runAction({ - actionQueue, - action: newAction, - setState - }); - } else if (payload.type === _routerreducertypes.ACTION_NAVIGATE || payload.type === _routerreducertypes.ACTION_RESTORE) { - // Navigations (including back/forward) take priority over any pending actions. - // Mark the pending action as discarded (so the state is never applied) and start the navigation action immediately. - actionQueue.pending.discarded = true; - // The rest of the current queue should still execute after this navigation. - // (Note that it can't contain any earlier navigations, because we always put those into `actionQueue.pending` by calling `runAction`) - newAction.next = actionQueue.pending.next; - runAction({ - actionQueue, - action: newAction, - setState - }); - } else { - // The queue is not empty, so add the action to the end of the queue - // It will be started by runRemainingActions after the previous action finishes - if (actionQueue.last !== null) { - actionQueue.last.next = newAction; - } - actionQueue.last = newAction; - } -} -let globalActionQueue = null; -function createMutableActionQueue(initialState, instrumentationHooks) { - const actionQueue = { - state: initialState, - dispatch: (payload, setState)=>dispatchAction(actionQueue, payload, setState), - action: async (state, action)=>{ - const result = (0, _routerreducer.reducer)(state, action); - return result; - }, - pending: null, - last: null, - onRouterTransitionStart: instrumentationHooks !== null && typeof instrumentationHooks.onRouterTransitionStart === 'function' ? instrumentationHooks.onRouterTransitionStart : null - }; - if (typeof window !== 'undefined') { - // The action queue is lazily created on hydration, but after that point - // it doesn't change. So we can store it in a global rather than pass - // it around everywhere via props/context. - if (globalActionQueue !== null) { - throw Object.defineProperty(new Error('Internal Next.js Error: createMutableActionQueue was called more ' + 'than once'), "__NEXT_ERROR_CODE", { - value: "E624", - enumerable: false, - configurable: true - }); - } - globalActionQueue = actionQueue; - } - return actionQueue; -} -function getCurrentAppRouterState() { - return globalActionQueue !== null ? globalActionQueue.state : null; -} -function getAppRouterActionQueue() { - if (globalActionQueue === null) { - throw Object.defineProperty(new Error('Internal Next.js error: Router action dispatched before initialization.'), "__NEXT_ERROR_CODE", { - value: "E668", - enumerable: false, - configurable: true - }); - } - return globalActionQueue; -} -function getProfilingHookForOnNavigationStart() { - if (globalActionQueue !== null) { - return globalActionQueue.onRouterTransitionStart; - } - return null; -} -function dispatchNavigateAction(href, navigateType, shouldScroll, linkInstanceRef) { - // TODO: This stuff could just go into the reducer. Leaving as-is for now - // since we're about to rewrite all the router reducer stuff anyway. - const url = new URL((0, _addbasepath.addBasePath)(href), location.href); - if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable - ; - (0, _links.setLinkForCurrentNavigation)(linkInstanceRef); - const onRouterTransitionStart = getProfilingHookForOnNavigationStart(); - if (onRouterTransitionStart !== null) { - onRouterTransitionStart(href, navigateType); - } - (0, _useactionqueue.dispatchAppRouterAction)({ - type: _routerreducertypes.ACTION_NAVIGATE, - url, - isExternalUrl: (0, _approuterutils.isExternalURL)(url), - locationSearch: location.search, - shouldScroll, - navigateType - }); -} -function dispatchTraverseAction(href, historyState) { - const onRouterTransitionStart = getProfilingHookForOnNavigationStart(); - if (onRouterTransitionStart !== null) { - onRouterTransitionStart(href, 'traverse'); - } - (0, _useactionqueue.dispatchAppRouterAction)({ - type: _routerreducertypes.ACTION_RESTORE, - url: new URL(href), - historyState - }); -} -const publicAppRouterInstance = { - back: ()=>window.history.back(), - forward: ()=>window.history.forward(), - prefetch: // data in the router reducer state; it writes into a global mutable - // cache. So we don't need to dispatch an action. - (href, options)=>{ - const actionQueue = getAppRouterActionQueue(); - const prefetchKind = options?.kind ?? _routerreducertypes.PrefetchKind.AUTO; - // We don't currently offer a way to issue a runtime prefetch via `router.prefetch()`. - // This will be possible when we update its API to not take a PrefetchKind. - let fetchStrategy; - switch(prefetchKind){ - case _routerreducertypes.PrefetchKind.AUTO: - { - // We default to PPR. We'll discover whether or not the route supports it with the initial prefetch. - fetchStrategy = _types.FetchStrategy.PPR; - break; - } - case _routerreducertypes.PrefetchKind.FULL: - { - fetchStrategy = _types.FetchStrategy.Full; - break; - } - default: - { - prefetchKind; - // Despite typescript thinking that this can't happen, - // we might get an unexpected value from user code. - // We don't know what they want, but we know they want a prefetch, - // so use the default. - fetchStrategy = _types.FetchStrategy.PPR; - } - } - (0, _prefetch.prefetch)(href, actionQueue.state.nextUrl, actionQueue.state.tree, fetchStrategy, options?.onInvalidate ?? null); - }, - replace: (href, options)=>{ - (0, _react.startTransition)(()=>{ - dispatchNavigateAction(href, 'replace', options?.scroll ?? true, null); - }); - }, - push: (href, options)=>{ - (0, _react.startTransition)(()=>{ - dispatchNavigateAction(href, 'push', options?.scroll ?? true, null); - }); - }, - refresh: ()=>{ - (0, _react.startTransition)(()=>{ - (0, _useactionqueue.dispatchAppRouterAction)({ - type: _routerreducertypes.ACTION_REFRESH - }); - }); - }, - hmrRefresh: ()=>{ - if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable - ; - else { - (0, _react.startTransition)(()=>{ - (0, _useactionqueue.dispatchAppRouterAction)({ - type: _routerreducertypes.ACTION_HMR_REFRESH - }); - }); - } - } -}; -// Exists for debugging purposes. Don't use in application code. -if (typeof window !== 'undefined' && window.next) { - window.next.router = publicAppRouterInstance; -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=app-router-instance.js.map -}), -"[project]/node_modules/next/dist/client/components/app-router-announcer.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "AppRouterAnnouncer", { - enumerable: true, - get: function() { - return AppRouterAnnouncer; - } -}); -const _react = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -const _reactdom = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react-dom/index.js [app-client] (ecmascript)"); -const ANNOUNCER_TYPE = 'next-route-announcer'; -const ANNOUNCER_ID = '__next-route-announcer__'; -function getAnnouncerNode() { - const existingAnnouncer = document.getElementsByName(ANNOUNCER_TYPE)[0]; - if (existingAnnouncer?.shadowRoot?.childNodes[0]) { - return existingAnnouncer.shadowRoot.childNodes[0]; - } else { - const container = document.createElement(ANNOUNCER_TYPE); - container.style.cssText = 'position:absolute'; - const announcer = document.createElement('div'); - announcer.ariaLive = 'assertive'; - announcer.id = ANNOUNCER_ID; - announcer.role = 'alert'; - announcer.style.cssText = 'position:absolute;border:0;height:1px;margin:-1px;padding:0;width:1px;clip:rect(0 0 0 0);overflow:hidden;white-space:nowrap;word-wrap:normal'; - // Use shadow DOM here to avoid any potential CSS bleed - const shadow = container.attachShadow({ - mode: 'open' - }); - shadow.appendChild(announcer); - document.body.appendChild(container); - return announcer; - } -} -function AppRouterAnnouncer({ tree }) { - const [portalNode, setPortalNode] = (0, _react.useState)(null); - (0, _react.useEffect)(()=>{ - const announcer = getAnnouncerNode(); - setPortalNode(announcer); - return ()=>{ - const container = document.getElementsByTagName(ANNOUNCER_TYPE)[0]; - if (container?.isConnected) { - document.body.removeChild(container); - } - }; - }, []); - const [routeAnnouncement, setRouteAnnouncement] = (0, _react.useState)(''); - const previousTitle = (0, _react.useRef)(undefined); - (0, _react.useEffect)(()=>{ - let currentTitle = ''; - if (document.title) { - currentTitle = document.title; - } else { - const pageHeader = document.querySelector('h1'); - if (pageHeader) { - currentTitle = pageHeader.innerText || pageHeader.textContent || ''; - } - } - // Only announce the title change, but not for the first load because screen - // readers do that automatically. - if (previousTitle.current !== undefined && previousTitle.current !== currentTitle) { - setRouteAnnouncement(currentTitle); - } - previousTitle.current = currentTitle; - }, [ - tree - ]); - return portalNode ? /*#__PURE__*/ (0, _reactdom.createPortal)(routeAnnouncement, portalNode) : null; -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=app-router-announcer.js.map -}), -"[project]/node_modules/next/dist/client/components/forbidden.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "forbidden", { - enumerable: true, - get: function() { - return forbidden; - } -}); -const _httpaccessfallback = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js [app-client] (ecmascript)"); -// TODO: Add `forbidden` docs -/** - * @experimental - * This function allows you to render the [forbidden.js file](https://nextjs.org/docs/app/api-reference/file-conventions/forbidden) - * within a route segment as well as inject a tag. - * - * `forbidden()` can be used in - * [Server Components](https://nextjs.org/docs/app/building-your-application/rendering/server-components), - * [Route Handlers](https://nextjs.org/docs/app/building-your-application/routing/route-handlers), and - * [Server Actions](https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations). - * - * Read more: [Next.js Docs: `forbidden`](https://nextjs.org/docs/app/api-reference/functions/forbidden) - */ const DIGEST = `${_httpaccessfallback.HTTP_ERROR_FALLBACK_ERROR_CODE};403`; -function forbidden() { - if ("TURBOPACK compile-time truthy", 1) { - throw Object.defineProperty(new Error(`\`forbidden()\` is experimental and only allowed to be enabled when \`experimental.authInterrupts\` is enabled.`), "__NEXT_ERROR_CODE", { - value: "E488", - enumerable: false, - configurable: true - }); - } - const error = Object.defineProperty(new Error(DIGEST), "__NEXT_ERROR_CODE", { - value: "E394", - enumerable: false, - configurable: true - }); - error.digest = DIGEST; - throw error; -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=forbidden.js.map -}), -"[project]/node_modules/next/dist/client/components/unauthorized.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "unauthorized", { - enumerable: true, - get: function() { - return unauthorized; - } -}); -const _httpaccessfallback = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js [app-client] (ecmascript)"); -// TODO: Add `unauthorized` docs -/** - * @experimental - * This function allows you to render the [unauthorized.js file](https://nextjs.org/docs/app/api-reference/file-conventions/unauthorized) - * within a route segment as well as inject a tag. - * - * `unauthorized()` can be used in - * [Server Components](https://nextjs.org/docs/app/building-your-application/rendering/server-components), - * [Route Handlers](https://nextjs.org/docs/app/building-your-application/routing/route-handlers), and - * [Server Actions](https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations). - * - * - * Read more: [Next.js Docs: `unauthorized`](https://nextjs.org/docs/app/api-reference/functions/unauthorized) - */ const DIGEST = `${_httpaccessfallback.HTTP_ERROR_FALLBACK_ERROR_CODE};401`; -function unauthorized() { - if ("TURBOPACK compile-time truthy", 1) { - throw Object.defineProperty(new Error(`\`unauthorized()\` is experimental and only allowed to be used when \`experimental.authInterrupts\` is enabled.`), "__NEXT_ERROR_CODE", { - value: "E411", - enumerable: false, - configurable: true - }); - } - const error = Object.defineProperty(new Error(DIGEST), "__NEXT_ERROR_CODE", { - value: "E394", - enumerable: false, - configurable: true - }); - error.digest = DIGEST; - throw error; -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=unauthorized.js.map -}), -"[project]/node_modules/next/dist/client/components/unstable-rethrow.browser.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "unstable_rethrow", { - enumerable: true, - get: function() { - return unstable_rethrow; - } -}); -const _bailouttocsr = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js [app-client] (ecmascript)"); -const _isnextroutererror = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/is-next-router-error.js [app-client] (ecmascript)"); -function unstable_rethrow(error) { - if ((0, _isnextroutererror.isNextRouterError)(error) || (0, _bailouttocsr.isBailoutToCSRError)(error)) { - throw error; - } - if (error instanceof Error && 'cause' in error) { - unstable_rethrow(error.cause); - } -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=unstable-rethrow.browser.js.map -}), -"[project]/node_modules/next/dist/client/components/hooks-server-context.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - DynamicServerError: null, - isDynamicServerError: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - DynamicServerError: function() { - return DynamicServerError; - }, - isDynamicServerError: function() { - return isDynamicServerError; - } -}); -const DYNAMIC_ERROR_CODE = 'DYNAMIC_SERVER_USAGE'; -class DynamicServerError extends Error { - constructor(description){ - super(`Dynamic server usage: ${description}`), this.description = description, this.digest = DYNAMIC_ERROR_CODE; - } -} -function isDynamicServerError(err) { - if (typeof err !== 'object' || err === null || !('digest' in err) || typeof err.digest !== 'string') { - return false; - } - return err.digest === DYNAMIC_ERROR_CODE; -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=hooks-server-context.js.map -}), -"[project]/node_modules/next/dist/client/components/static-generation-bailout.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - StaticGenBailoutError: null, - isStaticGenBailoutError: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - StaticGenBailoutError: function() { - return StaticGenBailoutError; - }, - isStaticGenBailoutError: function() { - return isStaticGenBailoutError; - } -}); -const NEXT_STATIC_GEN_BAILOUT = 'NEXT_STATIC_GEN_BAILOUT'; -class StaticGenBailoutError extends Error { - constructor(...args){ - super(...args), this.code = NEXT_STATIC_GEN_BAILOUT; - } -} -function isStaticGenBailoutError(error) { - if (typeof error !== 'object' || error === null || !('code' in error)) { - return false; - } - return error.code === NEXT_STATIC_GEN_BAILOUT; -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=static-generation-bailout.js.map -}), -"[project]/node_modules/next/dist/client/components/unstable-rethrow.server.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "unstable_rethrow", { - enumerable: true, - get: function() { - return unstable_rethrow; - } -}); -const _dynamicrenderingutils = __turbopack_context__.r("[project]/node_modules/next/dist/server/dynamic-rendering-utils.js [app-client] (ecmascript)"); -const _ispostpone = __turbopack_context__.r("[project]/node_modules/next/dist/server/lib/router-utils/is-postpone.js [app-client] (ecmascript)"); -const _bailouttocsr = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js [app-client] (ecmascript)"); -const _isnextroutererror = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/is-next-router-error.js [app-client] (ecmascript)"); -const _dynamicrendering = __turbopack_context__.r("[project]/node_modules/next/dist/server/app-render/dynamic-rendering.js [app-client] (ecmascript)"); -const _hooksservercontext = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/hooks-server-context.js [app-client] (ecmascript)"); -function unstable_rethrow(error) { - if ((0, _isnextroutererror.isNextRouterError)(error) || (0, _bailouttocsr.isBailoutToCSRError)(error) || (0, _hooksservercontext.isDynamicServerError)(error) || (0, _dynamicrendering.isDynamicPostpone)(error) || (0, _ispostpone.isPostpone)(error) || (0, _dynamicrenderingutils.isHangingPromiseRejectionError)(error) || (0, _dynamicrendering.isPrerenderInterruptedError)(error)) { - throw error; - } - if (error instanceof Error && 'cause' in error) { - unstable_rethrow(error.cause); - } -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=unstable-rethrow.server.js.map -}), -"[project]/node_modules/next/dist/client/components/unstable-rethrow.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -/** - * This function should be used to rethrow internal Next.js errors so that they can be handled by the framework. - * When wrapping an API that uses errors to interrupt control flow, you should use this function before you do any error handling. - * This function will rethrow the error if it is a Next.js error so it can be handled, otherwise it will do nothing. - * - * Read more: [Next.js Docs: `unstable_rethrow`](https://nextjs.org/docs/app/api-reference/functions/unstable_rethrow) - */ Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "unstable_rethrow", { - enumerable: true, - get: function() { - return unstable_rethrow; - } -}); -const unstable_rethrow = typeof window === 'undefined' ? __turbopack_context__.r("[project]/node_modules/next/dist/client/components/unstable-rethrow.server.js [app-client] (ecmascript)").unstable_rethrow : __turbopack_context__.r("[project]/node_modules/next/dist/client/components/unstable-rethrow.browser.js [app-client] (ecmascript)").unstable_rethrow; -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=unstable-rethrow.js.map -}), -"[project]/node_modules/next/dist/client/components/navigation.react-server.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - ReadonlyURLSearchParams: null, - RedirectType: null, - forbidden: null, - notFound: null, - permanentRedirect: null, - redirect: null, - unauthorized: null, - unstable_isUnrecognizedActionError: null, - unstable_rethrow: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - ReadonlyURLSearchParams: function() { - return _readonlyurlsearchparams.ReadonlyURLSearchParams; - }, - RedirectType: function() { - return _redirecterror.RedirectType; - }, - forbidden: function() { - return _forbidden.forbidden; - }, - notFound: function() { - return _notfound.notFound; - }, - permanentRedirect: function() { - return _redirect.permanentRedirect; - }, - redirect: function() { - return _redirect.redirect; - }, - unauthorized: function() { - return _unauthorized.unauthorized; - }, - unstable_isUnrecognizedActionError: function() { - return unstable_isUnrecognizedActionError; - }, - unstable_rethrow: function() { - return _unstablerethrow.unstable_rethrow; - } -}); -const _readonlyurlsearchparams = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/readonly-url-search-params.js [app-client] (ecmascript)"); -const _redirect = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/redirect.js [app-client] (ecmascript)"); -const _redirecterror = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/redirect-error.js [app-client] (ecmascript)"); -const _notfound = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/not-found.js [app-client] (ecmascript)"); -const _forbidden = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/forbidden.js [app-client] (ecmascript)"); -const _unauthorized = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/unauthorized.js [app-client] (ecmascript)"); -const _unstablerethrow = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/unstable-rethrow.js [app-client] (ecmascript)"); -function unstable_isUnrecognizedActionError() { - throw Object.defineProperty(new Error('`unstable_isUnrecognizedActionError` can only be used on the client.'), "__NEXT_ERROR_CODE", { - value: "E776", - enumerable: false, - configurable: true - }); -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=navigation.react-server.js.map -}), -"[project]/node_modules/next/dist/client/components/navigation.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - ReadonlyURLSearchParams: null, - RedirectType: null, - ServerInsertedHTMLContext: null, - forbidden: null, - notFound: null, - permanentRedirect: null, - redirect: null, - unauthorized: null, - unstable_isUnrecognizedActionError: null, - unstable_rethrow: null, - useParams: null, - usePathname: null, - useRouter: null, - useSearchParams: null, - useSelectedLayoutSegment: null, - useSelectedLayoutSegments: null, - useServerInsertedHTML: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - // We need the same class that was used to instantiate the context value - // Otherwise instanceof checks will fail in usercode - ReadonlyURLSearchParams: function() { - return _hooksclientcontextsharedruntime.ReadonlyURLSearchParams; - }, - RedirectType: function() { - return _navigationreactserver.RedirectType; - }, - ServerInsertedHTMLContext: function() { - return _serverinsertedhtmlsharedruntime.ServerInsertedHTMLContext; - }, - forbidden: function() { - return _navigationreactserver.forbidden; - }, - notFound: function() { - return _navigationreactserver.notFound; - }, - permanentRedirect: function() { - return _navigationreactserver.permanentRedirect; - }, - redirect: function() { - return _navigationreactserver.redirect; - }, - unauthorized: function() { - return _navigationreactserver.unauthorized; - }, - unstable_isUnrecognizedActionError: function() { - return _unrecognizedactionerror.unstable_isUnrecognizedActionError; - }, - unstable_rethrow: function() { - return _navigationreactserver.unstable_rethrow; - }, - useParams: function() { - return useParams; - }, - usePathname: function() { - return usePathname; - }, - useRouter: function() { - return useRouter; - }, - useSearchParams: function() { - return useSearchParams; - }, - useSelectedLayoutSegment: function() { - return useSelectedLayoutSegment; - }, - useSelectedLayoutSegments: function() { - return useSelectedLayoutSegments; - }, - useServerInsertedHTML: function() { - return _serverinsertedhtmlsharedruntime.useServerInsertedHTML; - } -}); -const _interop_require_wildcard = __turbopack_context__.r("[project]/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs [app-client] (ecmascript)"); -const _react = /*#__PURE__*/ _interop_require_wildcard._(__turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)")); -const _approutercontextsharedruntime = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js [app-client] (ecmascript)"); -const _hooksclientcontextsharedruntime = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js [app-client] (ecmascript)"); -const _segment = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/segment.js [app-client] (ecmascript)"); -const _serverinsertedhtmlsharedruntime = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js [app-client] (ecmascript)"); -const _unrecognizedactionerror = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/unrecognized-action-error.js [app-client] (ecmascript)"); -const _navigationreactserver = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/navigation.react-server.js [app-client] (ecmascript)"); -const useDynamicRouteParams = typeof window === 'undefined' ? __turbopack_context__.r("[project]/node_modules/next/dist/server/app-render/dynamic-rendering.js [app-client] (ecmascript)").useDynamicRouteParams : undefined; -const useDynamicSearchParams = typeof window === 'undefined' ? __turbopack_context__.r("[project]/node_modules/next/dist/server/app-render/dynamic-rendering.js [app-client] (ecmascript)").useDynamicSearchParams : undefined; -function useSearchParams() { - useDynamicSearchParams?.('useSearchParams()'); - const searchParams = (0, _react.useContext)(_hooksclientcontextsharedruntime.SearchParamsContext); - // In the case where this is `null`, the compat types added in - // `next-env.d.ts` will add a new overload that changes the return type to - // include `null`. - const readonlySearchParams = (0, _react.useMemo)(()=>{ - if (!searchParams) { - // When the router is not ready in pages, we won't have the search params - // available. - return null; - } - return new _hooksclientcontextsharedruntime.ReadonlyURLSearchParams(searchParams); - }, [ - searchParams - ]); - // Instrument with Suspense DevTools (dev-only) - if (("TURBOPACK compile-time value", "development") !== 'production' && 'use' in _react.default) { - const navigationPromises = (0, _react.use)(_hooksclientcontextsharedruntime.NavigationPromisesContext); - if (navigationPromises) { - return (0, _react.use)(navigationPromises.searchParams); - } - } - return readonlySearchParams; -} -function usePathname() { - useDynamicRouteParams?.('usePathname()'); - // In the case where this is `null`, the compat types added in `next-env.d.ts` - // will add a new overload that changes the return type to include `null`. - const pathname = (0, _react.useContext)(_hooksclientcontextsharedruntime.PathnameContext); - // Instrument with Suspense DevTools (dev-only) - if (("TURBOPACK compile-time value", "development") !== 'production' && 'use' in _react.default) { - const navigationPromises = (0, _react.use)(_hooksclientcontextsharedruntime.NavigationPromisesContext); - if (navigationPromises) { - return (0, _react.use)(navigationPromises.pathname); - } - } - return pathname; -} -function useRouter() { - const router = (0, _react.useContext)(_approutercontextsharedruntime.AppRouterContext); - if (router === null) { - throw Object.defineProperty(new Error('invariant expected app router to be mounted'), "__NEXT_ERROR_CODE", { - value: "E238", - enumerable: false, - configurable: true - }); - } - return router; -} -function useParams() { - useDynamicRouteParams?.('useParams()'); - const params = (0, _react.useContext)(_hooksclientcontextsharedruntime.PathParamsContext); - // Instrument with Suspense DevTools (dev-only) - if (("TURBOPACK compile-time value", "development") !== 'production' && 'use' in _react.default) { - const navigationPromises = (0, _react.use)(_hooksclientcontextsharedruntime.NavigationPromisesContext); - if (navigationPromises) { - return (0, _react.use)(navigationPromises.params); - } - } - return params; -} -function useSelectedLayoutSegments(parallelRouteKey = 'children') { - useDynamicRouteParams?.('useSelectedLayoutSegments()'); - const context = (0, _react.useContext)(_approutercontextsharedruntime.LayoutRouterContext); - // @ts-expect-error This only happens in `pages`. Type is overwritten in navigation.d.ts - if (!context) return null; - // Instrument with Suspense DevTools (dev-only) - if (("TURBOPACK compile-time value", "development") !== 'production' && 'use' in _react.default) { - const navigationPromises = (0, _react.use)(_hooksclientcontextsharedruntime.NavigationPromisesContext); - if (navigationPromises) { - const promise = navigationPromises.selectedLayoutSegmentsPromises?.get(parallelRouteKey); - if (promise) { - // We should always have a promise here, but if we don't, it's not worth erroring over. - // We just won't be able to instrument it, but can still provide the value. - return (0, _react.use)(promise); - } - } - } - return (0, _segment.getSelectedLayoutSegmentPath)(context.parentTree, parallelRouteKey); -} -function useSelectedLayoutSegment(parallelRouteKey = 'children') { - useDynamicRouteParams?.('useSelectedLayoutSegment()'); - const navigationPromises = (0, _react.useContext)(_hooksclientcontextsharedruntime.NavigationPromisesContext); - const selectedLayoutSegments = useSelectedLayoutSegments(parallelRouteKey); - // Instrument with Suspense DevTools (dev-only) - if (("TURBOPACK compile-time value", "development") !== 'production' && navigationPromises && 'use' in _react.default) { - const promise = navigationPromises.selectedLayoutSegmentPromises?.get(parallelRouteKey); - if (promise) { - // We should always have a promise here, but if we don't, it's not worth erroring over. - // We just won't be able to instrument it, but can still provide the value. - return (0, _react.use)(promise); - } - } - return (0, _segment.computeSelectedLayoutSegment)(selectedLayoutSegments, parallelRouteKey); -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=navigation.js.map -}), -"[project]/node_modules/next/dist/client/components/redirect-boundary.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - RedirectBoundary: null, - RedirectErrorBoundary: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - RedirectBoundary: function() { - return RedirectBoundary; - }, - RedirectErrorBoundary: function() { - return RedirectErrorBoundary; - } -}); -const _interop_require_wildcard = __turbopack_context__.r("[project]/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs [app-client] (ecmascript)"); -const _jsxruntime = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/jsx-runtime.js [app-client] (ecmascript)"); -const _react = /*#__PURE__*/ _interop_require_wildcard._(__turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)")); -const _navigation = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/navigation.js [app-client] (ecmascript)"); -const _redirect = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/redirect.js [app-client] (ecmascript)"); -const _redirecterror = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/redirect-error.js [app-client] (ecmascript)"); -function HandleRedirect({ redirect, reset, redirectType }) { - const router = (0, _navigation.useRouter)(); - (0, _react.useEffect)(()=>{ - _react.default.startTransition(()=>{ - if (redirectType === _redirecterror.RedirectType.push) { - router.push(redirect, {}); - } else { - router.replace(redirect, {}); - } - reset(); - }); - }, [ - redirect, - redirectType, - reset, - router - ]); - return null; -} -class RedirectErrorBoundary extends _react.default.Component { - constructor(props){ - super(props); - this.state = { - redirect: null, - redirectType: null - }; - } - static getDerivedStateFromError(error) { - if ((0, _redirecterror.isRedirectError)(error)) { - const url = (0, _redirect.getURLFromRedirectError)(error); - const redirectType = (0, _redirect.getRedirectTypeFromError)(error); - if ('handled' in error) { - // The redirect was already handled. We'll still catch the redirect error - // so that we can remount the subtree, but we don't actually need to trigger the - // router.push. - return { - redirect: null, - redirectType: null - }; - } - return { - redirect: url, - redirectType - }; - } - // Re-throw if error is not for redirect - throw error; - } - // Explicit type is needed to avoid the generated `.d.ts` having a wide return type that could be specific to the `@types/react` version. - render() { - const { redirect, redirectType } = this.state; - if (redirect !== null && redirectType !== null) { - return /*#__PURE__*/ (0, _jsxruntime.jsx)(HandleRedirect, { - redirect: redirect, - redirectType: redirectType, - reset: ()=>this.setState({ - redirect: null - }) - }); - } - return this.props.children; - } -} -function RedirectBoundary({ children }) { - const router = (0, _navigation.useRouter)(); - return /*#__PURE__*/ (0, _jsxruntime.jsx)(RedirectErrorBoundary, { - router: router, - children: children - }); -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=redirect-boundary.js.map -}), -"[project]/node_modules/next/dist/client/components/router-reducer/reducers/find-head-in-cache.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "findHeadInCache", { - enumerable: true, - get: function() { - return findHeadInCache; - } -}); -const _segment = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/segment.js [app-client] (ecmascript)"); -const _createroutercachekey = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/create-router-cache-key.js [app-client] (ecmascript)"); -function findHeadInCache(cache, parallelRoutes) { - return findHeadInCacheImpl(cache, parallelRoutes, '', ''); -} -function findHeadInCacheImpl(cache, parallelRoutes, keyPrefix, keyPrefixWithoutSearchParams) { - const isLastItem = Object.keys(parallelRoutes).length === 0; - if (isLastItem) { - // Returns the entire Cache Node of the segment whose head we will render. - return [ - cache, - keyPrefix, - keyPrefixWithoutSearchParams - ]; - } - // First try the 'children' parallel route if it exists - // when starting from the "root", this corresponds with the main page component - const parallelRoutesKeys = Object.keys(parallelRoutes).filter((key)=>key !== 'children'); - // if we are at the root, we need to check the children slot first - if ('children' in parallelRoutes) { - parallelRoutesKeys.unshift('children'); - } - for (const key of parallelRoutesKeys){ - const [segment, childParallelRoutes] = parallelRoutes[key]; - // If the parallel is not matched and using the default segment, - // skip searching the head from it. - if (segment === _segment.DEFAULT_SEGMENT_KEY) { - continue; - } - const childSegmentMap = cache.parallelRoutes.get(key); - if (!childSegmentMap) { - continue; - } - const cacheKey = (0, _createroutercachekey.createRouterCacheKey)(segment); - const cacheKeyWithoutSearchParams = (0, _createroutercachekey.createRouterCacheKey)(segment, true); - const cacheNode = childSegmentMap.get(cacheKey); - if (!cacheNode) { - continue; - } - const item = findHeadInCacheImpl(cacheNode, childParallelRoutes, keyPrefix + '/' + cacheKey, keyPrefix + '/' + cacheKeyWithoutSearchParams); - if (item) { - return item; - } - } - return null; -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=find-head-in-cache.js.map -}), -"[project]/node_modules/next/dist/client/components/unresolved-thenable.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -/** - * Create a "Thenable" that does not resolve. This is used to suspend indefinitely when data is not available yet. - */ Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "unresolvedThenable", { - enumerable: true, - get: function() { - return unresolvedThenable; - } -}); -const unresolvedThenable = { - then: ()=>{} -}; -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=unresolved-thenable.js.map -}), -"[project]/node_modules/next/dist/client/components/errors/graceful-degrade-boundary.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - GracefulDegradeBoundary: null, - default: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - GracefulDegradeBoundary: function() { - return GracefulDegradeBoundary; - }, - default: function() { - return _default; - } -}); -const _jsxruntime = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/jsx-runtime.js [app-client] (ecmascript)"); -const _react = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -function getDomNodeAttributes(node) { - const result = {}; - for(let i = 0; i < node.attributes.length; i++){ - const attr = node.attributes[i]; - result[attr.name] = attr.value; - } - return result; -} -class GracefulDegradeBoundary extends _react.Component { - constructor(props){ - super(props); - this.state = { - hasError: false - }; - this.rootHtml = ''; - this.htmlAttributes = {}; - this.htmlRef = /*#__PURE__*/ (0, _react.createRef)(); - } - static getDerivedStateFromError(_) { - return { - hasError: true - }; - } - componentDidMount() { - const htmlNode = this.htmlRef.current; - if (this.state.hasError && htmlNode) { - // Reapply the cached HTML attributes to the root element - Object.entries(this.htmlAttributes).forEach(([key, value])=>{ - htmlNode.setAttribute(key, value); - }); - } - } - render() { - const { hasError } = this.state; - // Cache the root HTML content on the first render - if (typeof window !== 'undefined' && !this.rootHtml) { - this.rootHtml = document.documentElement.innerHTML; - this.htmlAttributes = getDomNodeAttributes(document.documentElement); - } - if (hasError) { - // Render the current HTML content without hydration - return /*#__PURE__*/ (0, _jsxruntime.jsx)("html", { - ref: this.htmlRef, - suppressHydrationWarning: true, - dangerouslySetInnerHTML: { - __html: this.rootHtml - } - }); - } - return this.props.children; - } -} -const _default = GracefulDegradeBoundary; -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=graceful-degrade-boundary.js.map -}), -"[project]/node_modules/next/dist/client/components/errors/root-error-boundary.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "default", { - enumerable: true, - get: function() { - return RootErrorBoundary; - } -}); -const _interop_require_default = __turbopack_context__.r("[project]/node_modules/@swc/helpers/cjs/_interop_require_default.cjs [app-client] (ecmascript)"); -const _jsxruntime = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/jsx-runtime.js [app-client] (ecmascript)"); -const _react = /*#__PURE__*/ _interop_require_default._(__turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)")); -const _gracefuldegradeboundary = /*#__PURE__*/ _interop_require_default._(__turbopack_context__.r("[project]/node_modules/next/dist/client/components/errors/graceful-degrade-boundary.js [app-client] (ecmascript)")); -const _errorboundary = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/error-boundary.js [app-client] (ecmascript)"); -const _isbot = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/router/utils/is-bot.js [app-client] (ecmascript)"); -const isBotUserAgent = typeof window !== 'undefined' && (0, _isbot.isBot)(window.navigator.userAgent); -function RootErrorBoundary({ children, errorComponent, errorStyles, errorScripts }) { - if (isBotUserAgent) { - // Preserve existing DOM/HTML for bots to avoid replacing content with an error UI - // and to keep the original SSR output intact. - return /*#__PURE__*/ (0, _jsxruntime.jsx)(_gracefuldegradeboundary.default, { - children: children - }); - } - return /*#__PURE__*/ (0, _jsxruntime.jsx)(_errorboundary.ErrorBoundary, { - errorComponent: errorComponent, - errorStyles: errorStyles, - errorScripts: errorScripts, - children: children - }); -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=root-error-boundary.js.map -}), -"[project]/node_modules/next/dist/client/components/navigation-devtools.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - createNestedLayoutNavigationPromises: null, - createRootNavigationPromises: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - createNestedLayoutNavigationPromises: function() { - return createNestedLayoutNavigationPromises; - }, - createRootNavigationPromises: function() { - return createRootNavigationPromises; - } -}); -const _hooksclientcontextsharedruntime = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js [app-client] (ecmascript)"); -const _segment = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/segment.js [app-client] (ecmascript)"); -const layoutSegmentPromisesCache = new WeakMap(); -/** - * Creates instrumented promises for layout segment hooks at a given tree level. - * This is dev-only code for React Suspense DevTools instrumentation. - */ function createLayoutSegmentPromises(tree) { - if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable - ; - // Check if we already have cached promises for this tree - const cached = layoutSegmentPromisesCache.get(tree); - if (cached) { - return cached; - } - // Create new promises and cache them - const segmentPromises = new Map(); - const segmentsPromises = new Map(); - const parallelRoutes = tree[1]; - for (const parallelRouteKey of Object.keys(parallelRoutes)){ - const segments = (0, _segment.getSelectedLayoutSegmentPath)(tree, parallelRouteKey); - // Use the shared logic to compute the segment value - const segment = (0, _segment.computeSelectedLayoutSegment)(segments, parallelRouteKey); - segmentPromises.set(parallelRouteKey, (0, _hooksclientcontextsharedruntime.createDevToolsInstrumentedPromise)('useSelectedLayoutSegment', segment)); - segmentsPromises.set(parallelRouteKey, (0, _hooksclientcontextsharedruntime.createDevToolsInstrumentedPromise)('useSelectedLayoutSegments', segments)); - } - const result = { - selectedLayoutSegmentPromises: segmentPromises, - selectedLayoutSegmentsPromises: segmentsPromises - }; - // Cache the result for future renders - layoutSegmentPromisesCache.set(tree, result); - return result; -} -const rootNavigationPromisesCache = new WeakMap(); -function createRootNavigationPromises(tree, pathname, searchParams, pathParams) { - if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable - ; - // Create stable cache keys from the values - const searchParamsString = searchParams.toString(); - const pathParamsString = JSON.stringify(pathParams); - const cacheKey = `${pathname}:${searchParamsString}:${pathParamsString}`; - // Get or create the cache for this tree - let treeCache = rootNavigationPromisesCache.get(tree); - if (!treeCache) { - treeCache = new Map(); - rootNavigationPromisesCache.set(tree, treeCache); - } - // Check if we have cached promises for this combination - const cached = treeCache.get(cacheKey); - if (cached) { - return cached; - } - const readonlySearchParams = new _hooksclientcontextsharedruntime.ReadonlyURLSearchParams(searchParams); - const layoutSegmentPromises = createLayoutSegmentPromises(tree); - const promises = { - pathname: (0, _hooksclientcontextsharedruntime.createDevToolsInstrumentedPromise)('usePathname', pathname), - searchParams: (0, _hooksclientcontextsharedruntime.createDevToolsInstrumentedPromise)('useSearchParams', readonlySearchParams), - params: (0, _hooksclientcontextsharedruntime.createDevToolsInstrumentedPromise)('useParams', pathParams), - ...layoutSegmentPromises - }; - treeCache.set(cacheKey, promises); - return promises; -} -const nestedLayoutPromisesCache = new WeakMap(); -function createNestedLayoutNavigationPromises(tree, parentNavPromises) { - if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable - ; - const parallelRoutes = tree[1]; - const parallelRouteKeys = Object.keys(parallelRoutes); - // Only create promises if there are parallel routes at this level - if (parallelRouteKeys.length === 0) { - return null; - } - // Get or create the cache for this tree - let treeCache = nestedLayoutPromisesCache.get(tree); - if (!treeCache) { - treeCache = new Map(); - nestedLayoutPromisesCache.set(tree, treeCache); - } - // Check if we have cached promises for this parent combination - const cached = treeCache.get(parentNavPromises); - if (cached) { - return cached; - } - // Create merged promises - const layoutSegmentPromises = createLayoutSegmentPromises(tree); - const promises = { - ...parentNavPromises, - ...layoutSegmentPromises - }; - treeCache.set(parentNavPromises, promises); - return promises; -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=navigation-devtools.js.map -}), -"[project]/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -'use client'; -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "HTTPAccessFallbackBoundary", { - enumerable: true, - get: function() { - return HTTPAccessFallbackBoundary; - } -}); -const _interop_require_wildcard = __turbopack_context__.r("[project]/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs [app-client] (ecmascript)"); -const _jsxruntime = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/jsx-runtime.js [app-client] (ecmascript)"); -const _react = /*#__PURE__*/ _interop_require_wildcard._(__turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)")); -const _navigationuntracked = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/navigation-untracked.js [app-client] (ecmascript)"); -const _httpaccessfallback = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js [app-client] (ecmascript)"); -const _warnonce = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/utils/warn-once.js [app-client] (ecmascript)"); -const _approutercontextsharedruntime = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js [app-client] (ecmascript)"); -class HTTPAccessFallbackErrorBoundary extends _react.default.Component { - constructor(props){ - super(props); - this.state = { - triggeredStatus: undefined, - previousPathname: props.pathname - }; - } - componentDidCatch() { - if (("TURBOPACK compile-time value", "development") === 'development' && this.props.missingSlots && this.props.missingSlots.size > 0 && // A missing children slot is the typical not-found case, so no need to warn - !this.props.missingSlots.has('children')) { - let warningMessage = 'No default component was found for a parallel route rendered on this page. Falling back to nearest NotFound boundary.\n' + 'Learn more: https://nextjs.org/docs/app/building-your-application/routing/parallel-routes#defaultjs\n\n'; - const formattedSlots = Array.from(this.props.missingSlots).sort((a, b)=>a.localeCompare(b)).map((slot)=>`@${slot}`).join(', '); - warningMessage += 'Missing slots: ' + formattedSlots; - (0, _warnonce.warnOnce)(warningMessage); - } - } - static getDerivedStateFromError(error) { - if ((0, _httpaccessfallback.isHTTPAccessFallbackError)(error)) { - const httpStatus = (0, _httpaccessfallback.getAccessFallbackHTTPStatus)(error); - return { - triggeredStatus: httpStatus - }; - } - // Re-throw if error is not for 404 - throw error; - } - static getDerivedStateFromProps(props, state) { - /** - * Handles reset of the error boundary when a navigation happens. - * Ensures the error boundary does not stay enabled when navigating to a new page. - * Approach of setState in render is safe as it checks the previous pathname and then overrides - * it as outlined in https://react.dev/reference/react/useState#storing-information-from-previous-renders - */ if (props.pathname !== state.previousPathname && state.triggeredStatus) { - return { - triggeredStatus: undefined, - previousPathname: props.pathname - }; - } - return { - triggeredStatus: state.triggeredStatus, - previousPathname: props.pathname - }; - } - render() { - const { notFound, forbidden, unauthorized, children } = this.props; - const { triggeredStatus } = this.state; - const errorComponents = { - [_httpaccessfallback.HTTPAccessErrorStatus.NOT_FOUND]: notFound, - [_httpaccessfallback.HTTPAccessErrorStatus.FORBIDDEN]: forbidden, - [_httpaccessfallback.HTTPAccessErrorStatus.UNAUTHORIZED]: unauthorized - }; - if (triggeredStatus) { - const isNotFound = triggeredStatus === _httpaccessfallback.HTTPAccessErrorStatus.NOT_FOUND && notFound; - const isForbidden = triggeredStatus === _httpaccessfallback.HTTPAccessErrorStatus.FORBIDDEN && forbidden; - const isUnauthorized = triggeredStatus === _httpaccessfallback.HTTPAccessErrorStatus.UNAUTHORIZED && unauthorized; - // If there's no matched boundary in this layer, keep throwing the error by rendering the children - if (!(isNotFound || isForbidden || isUnauthorized)) { - return children; - } - return /*#__PURE__*/ (0, _jsxruntime.jsxs)(_jsxruntime.Fragment, { - children: [ - /*#__PURE__*/ (0, _jsxruntime.jsx)("meta", { - name: "robots", - content: "noindex" - }), - ("TURBOPACK compile-time value", "development") === 'development' && /*#__PURE__*/ (0, _jsxruntime.jsx)("meta", { - name: "boundary-next-error", - content: (0, _httpaccessfallback.getAccessFallbackErrorTypeByStatus)(triggeredStatus) - }), - errorComponents[triggeredStatus] - ] - }); - } - return children; - } -} -function HTTPAccessFallbackBoundary({ notFound, forbidden, unauthorized, children }) { - // When we're rendering the missing params shell, this will return null. This - // is because we won't be rendering any not found boundaries or error - // boundaries for the missing params shell. When this runs on the client - // (where these error can occur), we will get the correct pathname. - const pathname = (0, _navigationuntracked.useUntrackedPathname)(); - const missingSlots = (0, _react.useContext)(_approutercontextsharedruntime.MissingSlotContext); - const hasErrorFallback = !!(notFound || forbidden || unauthorized); - if (hasErrorFallback) { - return /*#__PURE__*/ (0, _jsxruntime.jsx)(HTTPAccessFallbackErrorBoundary, { - pathname: pathname, - notFound: notFound, - forbidden: forbidden, - unauthorized: unauthorized, - missingSlots: missingSlots, - children: children - }); - } - return /*#__PURE__*/ (0, _jsxruntime.jsx)(_jsxruntime.Fragment, { - children: children - }); -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=error-boundary.js.map -}), -"[project]/node_modules/next/dist/client/components/dev-root-http-access-fallback-boundary.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - DevRootHTTPAccessFallbackBoundary: null, - bailOnRootNotFound: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - DevRootHTTPAccessFallbackBoundary: function() { - return DevRootHTTPAccessFallbackBoundary; - }, - bailOnRootNotFound: function() { - return bailOnRootNotFound; - } -}); -const _interop_require_default = __turbopack_context__.r("[project]/node_modules/@swc/helpers/cjs/_interop_require_default.cjs [app-client] (ecmascript)"); -const _jsxruntime = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/jsx-runtime.js [app-client] (ecmascript)"); -const _react = /*#__PURE__*/ _interop_require_default._(__turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)")); -const _errorboundary = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)"); -function bailOnRootNotFound() { - throw Object.defineProperty(new Error('notFound() is not allowed to use in root layout'), "__NEXT_ERROR_CODE", { - value: "E192", - enumerable: false, - configurable: true - }); -} -function NotAllowedRootHTTPFallbackError() { - bailOnRootNotFound(); - return null; -} -function DevRootHTTPAccessFallbackBoundary({ children }) { - return /*#__PURE__*/ (0, _jsxruntime.jsx)(_errorboundary.HTTPAccessFallbackBoundary, { - notFound: /*#__PURE__*/ (0, _jsxruntime.jsx)(NotAllowedRootHTTPFallbackError, {}), - children: children - }); -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=dev-root-http-access-fallback-boundary.js.map -}), -"[project]/node_modules/next/dist/client/dev/hot-reloader/shared.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - REACT_REFRESH_FULL_RELOAD: null, - REACT_REFRESH_FULL_RELOAD_FROM_ERROR: null, - reportInvalidHmrMessage: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - REACT_REFRESH_FULL_RELOAD: function() { - return REACT_REFRESH_FULL_RELOAD; - }, - REACT_REFRESH_FULL_RELOAD_FROM_ERROR: function() { - return REACT_REFRESH_FULL_RELOAD_FROM_ERROR; - }, - reportInvalidHmrMessage: function() { - return reportInvalidHmrMessage; - } -}); -const REACT_REFRESH_FULL_RELOAD = '[Fast Refresh] performing full reload\n\n' + "Fast Refresh will perform a full reload when you edit a file that's imported by modules outside of the React rendering tree.\n" + 'You might have a file which exports a React component but also exports a value that is imported by a non-React component file.\n' + 'Consider migrating the non-React component export to a separate file and importing it into both files.\n\n' + 'It is also possible the parent component of the component you edited is a class component, which disables Fast Refresh.\n' + 'Fast Refresh requires at least one parent function component in your React tree.'; -const REACT_REFRESH_FULL_RELOAD_FROM_ERROR = '[Fast Refresh] performing full reload because your application had an unrecoverable error'; -function reportInvalidHmrMessage(message, err) { - console.warn('[HMR] Invalid message: ' + JSON.stringify(message) + '\n' + (err instanceof Error && err?.stack || '')); -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=shared.js.map -}), -"[project]/node_modules/next/dist/client/dev/hot-reloader/get-socket-url.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "getSocketUrl", { - enumerable: true, - get: function() { - return getSocketUrl; - } -}); -const _normalizedassetprefix = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/normalized-asset-prefix.js [app-client] (ecmascript)"); -function getSocketProtocol(assetPrefix) { - let protocol = window.location.protocol; - try { - // assetPrefix is a url - protocol = new URL(assetPrefix).protocol; - } catch {} - return protocol === 'http:' ? 'ws:' : 'wss:'; -} -function getSocketUrl(assetPrefix) { - const prefix = (0, _normalizedassetprefix.normalizedAssetPrefix)(assetPrefix); - const protocol = getSocketProtocol(assetPrefix || ''); - if (URL.canParse(prefix)) { - // since normalized asset prefix is ensured to be a URL format, - // we can safely replace the protocol - return prefix.replace(/^http/, 'ws'); - } - const { hostname, port } = window.location; - return `${protocol}//${hostname}${port ? `:${port}` : ''}${prefix}`; -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=get-socket-url.js.map -}), -"[project]/node_modules/next/dist/client/dev/hot-reloader/app/web-socket.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - createProcessTurbopackMessage: null, - createWebSocket: null, - useWebSocketPing: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - createProcessTurbopackMessage: function() { - return createProcessTurbopackMessage; - }, - createWebSocket: function() { - return createWebSocket; - }, - useWebSocketPing: function() { - return useWebSocketPing; - } -}); -const _react = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -const _approutercontextsharedruntime = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js [app-client] (ecmascript)"); -const _getsocketurl = __turbopack_context__.r("[project]/node_modules/next/dist/client/dev/hot-reloader/get-socket-url.js [app-client] (ecmascript)"); -const _hotreloadertypes = __turbopack_context__.r("[project]/node_modules/next/dist/server/dev/hot-reloader-types.js [app-client] (ecmascript)"); -const _shared = __turbopack_context__.r("[project]/node_modules/next/dist/client/dev/hot-reloader/shared.js [app-client] (ecmascript)"); -const _hotreloaderapp = __turbopack_context__.r("[project]/node_modules/next/dist/client/dev/hot-reloader/app/hot-reloader-app.js [app-client] (ecmascript)"); -const _forwardlogs = __turbopack_context__.r("[project]/node_modules/next/dist/next-devtools/userspace/app/forward-logs.js [app-client] (ecmascript)"); -const _invarianterror = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/invariant-error.js [app-client] (ecmascript)"); -const _constants = __turbopack_context__.r("[project]/node_modules/next/dist/lib/constants.js [app-client] (ecmascript)"); -let reconnections = 0; -let reloading = false; -let serverSessionId = null; -let mostRecentCompilationHash = null; -function createWebSocket(assetPrefix, staticIndicatorState) { - if (!self.__next_r) { - throw Object.defineProperty(new _invarianterror.InvariantError(`Expected a request ID to be defined for the document via self.__next_r.`), "__NEXT_ERROR_CODE", { - value: "E806", - enumerable: false, - configurable: true - }); - } - let webSocket; - let timer; - const sendMessage = (data)=>{ - if (webSocket && webSocket.readyState === webSocket.OPEN) { - webSocket.send(data); - } - }; - const processTurbopackMessage = createProcessTurbopackMessage(sendMessage); - function init() { - if (webSocket) { - webSocket.close(); - } - const newWebSocket = new window.WebSocket(`${(0, _getsocketurl.getSocketUrl)(assetPrefix)}/_next/webpack-hmr?id=${self.__next_r}`); - newWebSocket.binaryType = 'arraybuffer'; - function handleOnline() { - _forwardlogs.logQueue.onSocketReady(newWebSocket); - reconnections = 0; - window.console.log('[HMR] connected'); - } - function handleMessage(event) { - // While the page is reloading, don't respond to any more messages. - if (reloading) { - return; - } - try { - const message = event.data instanceof ArrayBuffer ? parseBinaryMessage(event.data) : JSON.parse(event.data); - // Check for server restart in Turbopack mode - if (message.type === _hotreloadertypes.HMR_MESSAGE_SENT_TO_BROWSER.TURBOPACK_CONNECTED) { - if (serverSessionId !== null && serverSessionId !== message.data.sessionId) { - // Either the server's session id has changed and it's a new server, or - // it's been too long since we disconnected and we should reload the page. - window.location.reload(); - reloading = true; - return; - } - serverSessionId = message.data.sessionId; - } - // Track webpack compilation hash for server restart detection - if (message.type === _hotreloadertypes.HMR_MESSAGE_SENT_TO_BROWSER.SYNC && 'hash' in message) { - // If we had previously reconnected and the hash changed, the server may have restarted - if (mostRecentCompilationHash !== null && mostRecentCompilationHash !== message.hash) { - window.location.reload(); - reloading = true; - return; - } - mostRecentCompilationHash = message.hash; - } - (0, _hotreloaderapp.processMessage)(message, sendMessage, processTurbopackMessage, staticIndicatorState); - } catch (err) { - (0, _shared.reportInvalidHmrMessage)(event, err); - } - } - function handleDisconnect() { - newWebSocket.onerror = null; - newWebSocket.onclose = null; - newWebSocket.close(); - reconnections++; - // After 25 reconnects we'll want to reload the page as it indicates the dev server is no longer running. - if (reconnections > _constants.WEB_SOCKET_MAX_RECONNECTIONS) { - reloading = true; - window.location.reload(); - return; - } - clearTimeout(timer); - // Try again after 5 seconds - timer = setTimeout(init, reconnections > 5 ? 5000 : 1000); - } - newWebSocket.onopen = handleOnline; - newWebSocket.onerror = handleDisconnect; - newWebSocket.onclose = handleDisconnect; - newWebSocket.onmessage = handleMessage; - webSocket = newWebSocket; - return newWebSocket; - } - return init(); -} -function createProcessTurbopackMessage(sendMessage) { - if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable - ; - let queue = []; - let callback; - const processTurbopackMessage = (msg)=>{ - if (callback) { - callback(msg); - } else { - queue.push(msg); - } - }; - __turbopack_context__.A("[turbopack]/browser/dev/hmr-client/hmr-client.ts [app-client] (ecmascript, async loader)").then(({ connect })=>{ - connect({ - addMessageListener (cb) { - callback = cb; - // Replay all Turbopack messages before we were able to establish the HMR client. - for (const msg of queue){ - cb(msg); - } - queue.length = 0; - }, - sendMessage, - onUpdateError: (err)=>(0, _hotreloaderapp.performFullReload)(err, sendMessage) - }); - }); - return processTurbopackMessage; -} -function useWebSocketPing(webSocket) { - const { tree } = (0, _react.useContext)(_approutercontextsharedruntime.GlobalLayoutRouterContext); - (0, _react.useEffect)(()=>{ - if (!webSocket) { - throw Object.defineProperty(new _invarianterror.InvariantError('Expected webSocket to be defined in dev mode.'), "__NEXT_ERROR_CODE", { - value: "E785", - enumerable: false, - configurable: true - }); - } - // Never send pings when using Turbopack as it's not used. - // Pings were originally used to keep track of active routes in on-demand-entries with webpack. - if ("TURBOPACK compile-time truthy", 1) { - return; - } - //TURBOPACK unreachable - ; - // Taken from on-demand-entries-client.js - const interval = undefined; - }, [ - tree, - webSocket - ]); -} -const textDecoder = new TextDecoder(); -function parseBinaryMessage(data) { - assertByteLength(data, 1); - const view = new DataView(data); - const messageType = view.getUint8(0); - switch(messageType){ - case _hotreloadertypes.HMR_MESSAGE_SENT_TO_BROWSER.ERRORS_TO_SHOW_IN_BROWSER: - { - const serializedErrors = new Uint8Array(data, 1); - return { - type: _hotreloadertypes.HMR_MESSAGE_SENT_TO_BROWSER.ERRORS_TO_SHOW_IN_BROWSER, - serializedErrors - }; - } - case _hotreloadertypes.HMR_MESSAGE_SENT_TO_BROWSER.REACT_DEBUG_CHUNK: - { - assertByteLength(data, 2); - const requestIdLength = view.getUint8(1); - assertByteLength(data, 2 + requestIdLength); - const requestId = textDecoder.decode(new Uint8Array(data, 2, requestIdLength)); - const chunk = data.byteLength > 2 + requestIdLength ? new Uint8Array(data, 2 + requestIdLength) : null; - return { - type: _hotreloadertypes.HMR_MESSAGE_SENT_TO_BROWSER.REACT_DEBUG_CHUNK, - requestId, - chunk - }; - } - default: - { - throw Object.defineProperty(new _invarianterror.InvariantError(`Invalid binary HMR message of type ${messageType}`), "__NEXT_ERROR_CODE", { - value: "E809", - enumerable: false, - configurable: true - }); - } - } -} -function assertByteLength(data, expectedLength) { - if (data.byteLength < expectedLength) { - throw Object.defineProperty(new _invarianterror.InvariantError(`Invalid binary HMR message: insufficient data (expected ${expectedLength} bytes, got ${data.byteLength})`), "__NEXT_ERROR_CODE", { - value: "E808", - enumerable: false, - configurable: true - }); - } -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=web-socket.js.map -}), -"[project]/node_modules/next/dist/client/dev/report-hmr-latency.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, /** - * Logs information about a completed HMR to the console, the server (via a - * `client-hmr-latency` event), and to `self.__NEXT_HMR_LATENCY_CB` (a debugging - * hook). - * - * @param hasUpdate Set this to `false` to avoid reporting the HMR event via a - * `client-hmr-latency` event or to `self.__NEXT_HMR_LATENCY_CB`. Used by - * turbopack when we must report a message to the browser console (because we - * already logged a "rebuilding" message), but it's not a real HMR, so we - * don't want to impact our telemetry. - */ "default", { - enumerable: true, - get: function() { - return reportHmrLatency; - } -}); -function reportHmrLatency(sendMessage, updatedModules, startMsSinceEpoch, endMsSinceEpoch, hasUpdate = true) { - const latencyMs = endMsSinceEpoch - startMsSinceEpoch; - console.log(`[Fast Refresh] done in ${latencyMs}ms`); - if (!hasUpdate) { - return; - } - sendMessage(JSON.stringify({ - event: 'client-hmr-latency', - id: window.__nextDevClientId, - startTime: startMsSinceEpoch, - endTime: endMsSinceEpoch, - page: window.location.pathname, - updatedModules, - // Whether the page (tab) was hidden at the time the event occurred. - // This can impact the accuracy of the event's timing. - isPageHidden: document.visibilityState === 'hidden' - })); - if (self.__NEXT_HMR_LATENCY_CB) { - self.__NEXT_HMR_LATENCY_CB(latencyMs); - } -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=report-hmr-latency.js.map -}), -"[project]/node_modules/next/dist/client/dev/hot-reloader/turbopack-hot-reloader-common.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "TurbopackHmr", { - enumerable: true, - get: function() { - return TurbopackHmr; - } -}); -// How long to wait before reporting the HMR start, used to suppress irrelevant -// `BUILDING` events. Does not impact reported latency. -const TURBOPACK_HMR_START_DELAY_MS = 100; -class TurbopackHmr { - #updatedModules; - #startMsSinceEpoch; - #lastUpdateMsSinceEpoch; - #deferredReportHmrStartId; - #reportedHmrStart; - constructor(){ - this.#updatedModules = new Set(); - this.#reportedHmrStart = false; - } - // HACK: Turbopack tends to generate a lot of irrelevant "BUILDING" actions, - // as it reports *any* compilation, including fully no-op/cached compilations - // and those unrelated to HMR. Fixing this would require significant - // architectural changes. - // - // Work around this by deferring any "rebuilding" message by 100ms. If we get - // a BUILT event within that threshold and nothing has changed, just suppress - // the message entirely. - #runDeferredReportHmrStart() { - if (this.#deferredReportHmrStartId != null) { - console.log('[Fast Refresh] rebuilding'); - this.#reportedHmrStart = true; - this.#cancelDeferredReportHmrStart(); - } - } - #cancelDeferredReportHmrStart() { - clearTimeout(this.#deferredReportHmrStartId); - this.#deferredReportHmrStartId = undefined; - } - onBuilding() { - this.#lastUpdateMsSinceEpoch = undefined; - this.#cancelDeferredReportHmrStart(); - this.#startMsSinceEpoch = Date.now(); - // report the HMR start after a short delay - this.#deferredReportHmrStartId = setTimeout(()=>this.#runDeferredReportHmrStart(), self.__NEXT_HMR_TURBOPACK_REPORT_NOISY_NOOP_EVENTS ? 0 : TURBOPACK_HMR_START_DELAY_MS); - } - /** Helper for other `onEvent` methods. */ #onUpdate() { - this.#runDeferredReportHmrStart(); - this.#lastUpdateMsSinceEpoch = Date.now(); - } - onTurbopackMessage(msg) { - this.#onUpdate(); - const updatedModules = extractModulesFromTurbopackMessage(msg.data); - for (const module1 of updatedModules){ - this.#updatedModules.add(module1); - } - } - onServerComponentChanges() { - this.#onUpdate(); - } - onReloadPage() { - this.#onUpdate(); - } - onPageAddRemove() { - this.#onUpdate(); - } - /** - * @returns `null` if the caller should ignore the update entirely. Returns an - * object with `hasUpdates: false` if the caller should report the end of - * the HMR in the browser console, but the HMR was a no-op. - */ onBuilt() { - // Check that we got *any* `TurbopackMessage`, even if - // `updatedModules` is empty (not everything gets recorded there). - // - // There's also a case where `onBuilt` gets called before `onBuilding`, - // which can happen during initial page load. Ignore that too! - const hasUpdates = this.#lastUpdateMsSinceEpoch != null && this.#startMsSinceEpoch != null; - if (!hasUpdates && !this.#reportedHmrStart) { - // suppress the update entirely - this.#cancelDeferredReportHmrStart(); - return null; - } - this.#runDeferredReportHmrStart(); - const result = { - hasUpdates, - updatedModules: this.#updatedModules, - startMsSinceEpoch: this.#startMsSinceEpoch, - endMsSinceEpoch: this.#lastUpdateMsSinceEpoch ?? Date.now() - }; - this.#updatedModules = new Set(); - this.#reportedHmrStart = false; - return result; - } -} -function extractModulesFromTurbopackMessage(data) { - const updatedModules = new Set(); - const updates = Array.isArray(data) ? data : [ - data - ]; - for (const update of updates){ - // TODO this won't capture changes to CSS since they don't result in a "merged" update - if (update.type !== 'partial' || update.instruction.type !== 'ChunkListUpdate' || update.instruction.merged === undefined) { - continue; - } - for (const mergedUpdate of update.instruction.merged){ - for (const name of Object.keys(mergedUpdate.entries)){ - const res = /(.*)\s+[([].*/.exec(name); - if (res === null) { - continue; - } - updatedModules.add(res[1]); - } - } - } - return updatedModules; -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=turbopack-hot-reloader-common.js.map -}), -"[project]/node_modules/next/dist/client/dev/debug-channel.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - createDebugChannel: null, - getOrCreateDebugChannelReadableWriterPair: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - createDebugChannel: function() { - return createDebugChannel; - }, - getOrCreateDebugChannelReadableWriterPair: function() { - return getOrCreateDebugChannelReadableWriterPair; - } -}); -const _approuterheaders = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/app-router-headers.js [app-client] (ecmascript)"); -const _invarianterror = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/invariant-error.js [app-client] (ecmascript)"); -const pairs = new Map(); -function getOrCreateDebugChannelReadableWriterPair(requestId) { - let pair = pairs.get(requestId); - if (!pair) { - const { readable, writable } = new TransformStream(); - pair = { - readable, - writer: writable.getWriter() - }; - pairs.set(requestId, pair); - pair.writer.closed.finally(()=>pairs.delete(requestId)); - } - return pair; -} -function createDebugChannel(requestHeaders) { - let requestId; - if (requestHeaders) { - requestId = requestHeaders[_approuterheaders.NEXT_REQUEST_ID_HEADER] ?? undefined; - if (!requestId) { - throw Object.defineProperty(new _invarianterror.InvariantError(`Expected a ${JSON.stringify(_approuterheaders.NEXT_REQUEST_ID_HEADER)} request header.`), "__NEXT_ERROR_CODE", { - value: "E854", - enumerable: false, - configurable: true - }); - } - } else { - requestId = self.__next_r; - if (!requestId) { - throw Object.defineProperty(new _invarianterror.InvariantError(`Expected a request ID to be defined for the document via self.__next_r.`), "__NEXT_ERROR_CODE", { - value: "E806", - enumerable: false, - configurable: true - }); - } - } - const { readable } = getOrCreateDebugChannelReadableWriterPair(requestId); - return { - readable - }; -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=debug-channel.js.map -}), -"[project]/node_modules/next/dist/client/dev/hot-reloader/app/hot-reloader-app.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -/// <reference types="webpack/module.d.ts" /> -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - default: null, - performFullReload: null, - processMessage: null, - waitForWebpackRuntimeHotUpdate: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - default: function() { - return HotReload; - }, - performFullReload: function() { - return performFullReload; - }, - processMessage: function() { - return processMessage; - }, - waitForWebpackRuntimeHotUpdate: function() { - return waitForWebpackRuntimeHotUpdate; - } -}); -const _interop_require_default = __turbopack_context__.r("[project]/node_modules/@swc/helpers/cjs/_interop_require_default.cjs [app-client] (ecmascript)"); -const _jsxruntime = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/jsx-runtime.js [app-client] (ecmascript)"); -const _react = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -const _stripansi = /*#__PURE__*/ _interop_require_default._(__turbopack_context__.r("[project]/node_modules/next/dist/compiled/strip-ansi/index.js [app-client] (ecmascript)")); -const _formatwebpackmessages = /*#__PURE__*/ _interop_require_default._(__turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/format-webpack-messages.js [app-client] (ecmascript)")); -const _shared = __turbopack_context__.r("[project]/node_modules/next/dist/client/dev/hot-reloader/shared.js [app-client] (ecmascript)"); -const _nextdevtools = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/next-devtools/index.js (raw)"); -const _replayssronlyerrors = __turbopack_context__.r("[project]/node_modules/next/dist/next-devtools/userspace/app/errors/replay-ssr-only-errors.js [app-client] (ecmascript)"); -const _appdevoverlayerrorboundary = __turbopack_context__.r("[project]/node_modules/next/dist/next-devtools/userspace/app/app-dev-overlay-error-boundary.js [app-client] (ecmascript)"); -const _useerrorhandler = __turbopack_context__.r("[project]/node_modules/next/dist/next-devtools/userspace/app/errors/use-error-handler.js [app-client] (ecmascript)"); -const _runtimeerrorhandler = __turbopack_context__.r("[project]/node_modules/next/dist/client/dev/runtime-error-handler.js [app-client] (ecmascript)"); -const _websocket = __turbopack_context__.r("[project]/node_modules/next/dist/client/dev/hot-reloader/app/web-socket.js [app-client] (ecmascript)"); -const _hotreloadertypes = __turbopack_context__.r("[project]/node_modules/next/dist/server/dev/hot-reloader-types.js [app-client] (ecmascript)"); -const _navigationuntracked = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/navigation-untracked.js [app-client] (ecmascript)"); -const _reporthmrlatency = /*#__PURE__*/ _interop_require_default._(__turbopack_context__.r("[project]/node_modules/next/dist/client/dev/report-hmr-latency.js [app-client] (ecmascript)")); -const _turbopackhotreloadercommon = __turbopack_context__.r("[project]/node_modules/next/dist/client/dev/hot-reloader/turbopack-hot-reloader-common.js [app-client] (ecmascript)"); -const _approuterheaders = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/app-router-headers.js [app-client] (ecmascript)"); -const _approuterinstance = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/app-router-instance.js [app-client] (ecmascript)"); -const _invarianterror = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/invariant-error.js [app-client] (ecmascript)"); -const _debugchannel = __turbopack_context__.r("[project]/node_modules/next/dist/client/dev/debug-channel.js [app-client] (ecmascript)"); -const _client = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react-server-dom-turbopack/client.js [app-client] (ecmascript)"); -const _appfindsourcemapurl = __turbopack_context__.r("[project]/node_modules/next/dist/client/app-find-source-map-url.js [app-client] (ecmascript)"); -const createFromReadableStream = _client.createFromReadableStream; -let mostRecentCompilationHash = null; -let __nextDevClientId = Math.round(Math.random() * 100 + Date.now()); -let reloading = false; -let webpackStartMsSinceEpoch = null; -const turbopackHmr = ("TURBOPACK compile-time truthy", 1) ? new _turbopackhotreloadercommon.TurbopackHmr() : "TURBOPACK unreachable"; -let pendingHotUpdateWebpack = Promise.resolve(); -let resolvePendingHotUpdateWebpack = ()=>{}; -function setPendingHotUpdateWebpack() { - pendingHotUpdateWebpack = new Promise((resolve)=>{ - resolvePendingHotUpdateWebpack = ()=>{ - resolve(); - }; - }); -} -function waitForWebpackRuntimeHotUpdate() { - return pendingHotUpdateWebpack; -} -// There is a newer version of the code available. -function handleAvailableHash(hash) { - // Update last known compilation hash. - mostRecentCompilationHash = hash; -} -/** - * Is there a newer version of this code available? - * For webpack: Check if the hash changed compared to __webpack_hash__ - * For Turbopack: Always true because it doesn't have __webpack_hash__ - */ function isUpdateAvailable() { - if ("TURBOPACK compile-time truthy", 1) { - return true; - } - //TURBOPACK unreachable - ; -} -// Webpack disallows updates in other states. -function canApplyUpdates() { - return module.hot.status() === 'idle'; -} -function afterApplyUpdates(fn) { - if (canApplyUpdates()) { - fn(); - } else { - function handler(status) { - if (status === 'idle') { - module.hot.removeStatusHandler(handler); - fn(); - } - } - module.hot.addStatusHandler(handler); - } -} -function performFullReload(err, sendMessage) { - const stackTrace = err && (err.stack && err.stack.split('\n').slice(0, 5).join('\n') || err.message || err + ''); - sendMessage(JSON.stringify({ - event: 'client-full-reload', - stackTrace, - hadRuntimeError: !!_runtimeerrorhandler.RuntimeErrorHandler.hadRuntimeError, - dependencyChain: err ? err.dependencyChain : undefined - })); - if (reloading) return; - reloading = true; - window.location.reload(); -} -// Attempt to update code on the fly, fall back to a hard reload. -function tryApplyUpdatesWebpack(sendMessage) { - if (!isUpdateAvailable() || !canApplyUpdates()) { - resolvePendingHotUpdateWebpack(); - _nextdevtools.dispatcher.onBuildOk(); - (0, _reporthmrlatency.default)(sendMessage, [], webpackStartMsSinceEpoch, Date.now()); - return; - } - function handleApplyUpdates(err, updatedModules) { - if (err || _runtimeerrorhandler.RuntimeErrorHandler.hadRuntimeError || updatedModules == null) { - if (err) { - console.warn(_shared.REACT_REFRESH_FULL_RELOAD); - } else if (_runtimeerrorhandler.RuntimeErrorHandler.hadRuntimeError) { - console.warn(_shared.REACT_REFRESH_FULL_RELOAD_FROM_ERROR); - } - performFullReload(err, sendMessage); - return; - } - _nextdevtools.dispatcher.onBuildOk(); - if (isUpdateAvailable()) { - // While we were updating, there was a new update! Do it again. - tryApplyUpdatesWebpack(sendMessage); - return; - } - _nextdevtools.dispatcher.onRefresh(); - resolvePendingHotUpdateWebpack(); - (0, _reporthmrlatency.default)(sendMessage, updatedModules, webpackStartMsSinceEpoch, Date.now()); - if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable - ; - } - // https://webpack.js.org/api/hot-module-replacement/#check - module.hot.check(/* autoApply */ false).then((updatedModules)=>{ - if (updatedModules == null) { - return null; - } - // We should always handle an update, even if updatedModules is empty (but - // non-null) for any reason. That's what webpack would normally do: - // https://github.com/webpack/webpack/blob/3aa6b6bc3a64/lib/hmr/HotModuleReplacement.runtime.js#L296-L298 - _nextdevtools.dispatcher.onBeforeRefresh(); - // https://webpack.js.org/api/hot-module-replacement/#apply - return module.hot.apply(); - }).then((updatedModules)=>{ - handleApplyUpdates(null, updatedModules); - }, (err)=>{ - handleApplyUpdates(err, null); - }); -} -function processMessage(message, sendMessage, processTurbopackMessage, staticIndicatorState) { - function handleErrors(errors) { - // "Massage" webpack messages. - const formatted = (0, _formatwebpackmessages.default)({ - errors: errors, - warnings: [] - }); - // Only show the first error. - _nextdevtools.dispatcher.onBuildError(formatted.errors[0]); - // Also log them to the console. - for(let i = 0; i < formatted.errors.length; i++){ - console.error((0, _stripansi.default)(formatted.errors[i])); - } - // Do not attempt to reload now. - // We will reload on next success instead. - if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable - ; - } - function handleHotUpdate() { - if ("TURBOPACK compile-time truthy", 1) { - const hmrUpdate = turbopackHmr.onBuilt(); - if (hmrUpdate != null) { - (0, _reporthmrlatency.default)(sendMessage, [ - ...hmrUpdate.updatedModules - ], hmrUpdate.startMsSinceEpoch, hmrUpdate.endMsSinceEpoch, hmrUpdate.hasUpdates); - } - _nextdevtools.dispatcher.onBuildOk(); - } else //TURBOPACK unreachable - ; - } - switch(message.type){ - case _hotreloadertypes.HMR_MESSAGE_SENT_TO_BROWSER.ISR_MANIFEST: - { - if ("TURBOPACK compile-time truthy", 1) { - staticIndicatorState.appIsrManifest = message.data; - // Handle the initial static indicator status on receiving the ISR - // manifest. Navigation is handled in an effect inside HotReload for - // pathname changes as we'll receive the updated manifest before - // usePathname triggers for a new value. - const isStatic = staticIndicatorState.pathname ? message.data[staticIndicatorState.pathname] : undefined; - _nextdevtools.dispatcher.onStaticIndicator(isStatic === undefined ? 'pending' : isStatic ? 'static' : 'dynamic'); - } - break; - } - case _hotreloadertypes.HMR_MESSAGE_SENT_TO_BROWSER.BUILDING: - { - _nextdevtools.dispatcher.buildingIndicatorShow(); - if ("TURBOPACK compile-time truthy", 1) { - turbopackHmr.onBuilding(); - } else //TURBOPACK unreachable - ; - break; - } - case _hotreloadertypes.HMR_MESSAGE_SENT_TO_BROWSER.BUILT: - case _hotreloadertypes.HMR_MESSAGE_SENT_TO_BROWSER.SYNC: - { - _nextdevtools.dispatcher.buildingIndicatorHide(); - if (message.hash) { - handleAvailableHash(message.hash); - } - const { errors, warnings } = message; - // Is undefined when it's a 'built' event - if ('versionInfo' in message) _nextdevtools.dispatcher.onVersionInfo(message.versionInfo); - if ('debug' in message && message.debug) _nextdevtools.dispatcher.onDebugInfo(message.debug); - if ('devIndicator' in message) _nextdevtools.dispatcher.onDevIndicator(message.devIndicator); - if ('devToolsConfig' in message) _nextdevtools.dispatcher.onDevToolsConfig(message.devToolsConfig); - const hasErrors = Boolean(errors && errors.length); - // Compilation with errors (e.g. syntax error or missing modules). - if (hasErrors) { - sendMessage(JSON.stringify({ - event: 'client-error', - errorCount: errors.length, - clientId: __nextDevClientId - })); - handleErrors(errors); - return; - } - const hasWarnings = Boolean(warnings && warnings.length); - if (hasWarnings) { - sendMessage(JSON.stringify({ - event: 'client-warning', - warningCount: warnings.length, - clientId: __nextDevClientId - })); - // Print warnings to the console. - const formattedMessages = (0, _formatwebpackmessages.default)({ - warnings: warnings, - errors: [] - }); - for(let i = 0; i < formattedMessages.warnings.length; i++){ - if (i === 5) { - console.warn('There were more warnings in other files.\n' + 'You can find a complete log in the terminal.'); - break; - } - console.warn((0, _stripansi.default)(formattedMessages.warnings[i])); - } - // No early return here as we need to apply modules in the same way between warnings only and compiles without warnings - } - sendMessage(JSON.stringify({ - event: 'client-success', - clientId: __nextDevClientId - })); - if (message.type === _hotreloadertypes.HMR_MESSAGE_SENT_TO_BROWSER.BUILT) { - handleHotUpdate(); - } - return; - } - case _hotreloadertypes.HMR_MESSAGE_SENT_TO_BROWSER.TURBOPACK_CONNECTED: - { - processTurbopackMessage({ - type: _hotreloadertypes.HMR_MESSAGE_SENT_TO_BROWSER.TURBOPACK_CONNECTED, - data: { - sessionId: message.data.sessionId - } - }); - break; - } - case _hotreloadertypes.HMR_MESSAGE_SENT_TO_BROWSER.TURBOPACK_MESSAGE: - { - turbopackHmr.onTurbopackMessage(message); - _nextdevtools.dispatcher.onBeforeRefresh(); - processTurbopackMessage({ - type: _hotreloadertypes.HMR_MESSAGE_SENT_TO_BROWSER.TURBOPACK_MESSAGE, - data: message.data - }); - if (_runtimeerrorhandler.RuntimeErrorHandler.hadRuntimeError) { - console.warn(_shared.REACT_REFRESH_FULL_RELOAD_FROM_ERROR); - performFullReload(null, sendMessage); - } - _nextdevtools.dispatcher.onRefresh(); - break; - } - // TODO-APP: make server component change more granular - case _hotreloadertypes.HMR_MESSAGE_SENT_TO_BROWSER.SERVER_COMPONENT_CHANGES: - { - turbopackHmr?.onServerComponentChanges(); - sendMessage(JSON.stringify({ - event: 'server-component-reload-page', - clientId: __nextDevClientId, - hash: message.hash - })); - // Store the latest hash in a session cookie so that it's sent back to the - // server with any subsequent requests. - document.cookie = `${_approuterheaders.NEXT_HMR_REFRESH_HASH_COOKIE}=${message.hash};path=/`; - if (_runtimeerrorhandler.RuntimeErrorHandler.hadRuntimeError || document.documentElement.id === '__next_error__') { - if (reloading) return; - reloading = true; - return window.location.reload(); - } - (0, _react.startTransition)(()=>{ - _approuterinstance.publicAppRouterInstance.hmrRefresh(); - _nextdevtools.dispatcher.onRefresh(); - }); - if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable - ; - return; - } - case _hotreloadertypes.HMR_MESSAGE_SENT_TO_BROWSER.RELOAD_PAGE: - { - turbopackHmr?.onReloadPage(); - sendMessage(JSON.stringify({ - event: 'client-reload-page', - clientId: __nextDevClientId - })); - if (reloading) return; - reloading = true; - return window.location.reload(); - } - case _hotreloadertypes.HMR_MESSAGE_SENT_TO_BROWSER.ADDED_PAGE: - case _hotreloadertypes.HMR_MESSAGE_SENT_TO_BROWSER.REMOVED_PAGE: - { - turbopackHmr?.onPageAddRemove(); - // TODO-APP: potentially only refresh if the currently viewed page was added/removed. - return _approuterinstance.publicAppRouterInstance.hmrRefresh(); - } - case _hotreloadertypes.HMR_MESSAGE_SENT_TO_BROWSER.SERVER_ERROR: - { - const { errorJSON } = message; - if (errorJSON) { - const errorObject = JSON.parse(errorJSON); - const error = Object.defineProperty(new Error(errorObject.message), "__NEXT_ERROR_CODE", { - value: "E394", - enumerable: false, - configurable: true - }); - error.stack = errorObject.stack; - handleErrors([ - error - ]); - } - return; - } - case _hotreloadertypes.HMR_MESSAGE_SENT_TO_BROWSER.DEV_PAGES_MANIFEST_UPDATE: - { - return; - } - case _hotreloadertypes.HMR_MESSAGE_SENT_TO_BROWSER.DEVTOOLS_CONFIG: - { - _nextdevtools.dispatcher.onDevToolsConfig(message.data); - return; - } - case _hotreloadertypes.HMR_MESSAGE_SENT_TO_BROWSER.REACT_DEBUG_CHUNK: - { - const { requestId, chunk } = message; - const { writer } = (0, _debugchannel.getOrCreateDebugChannelReadableWriterPair)(requestId); - if (chunk) { - writer.ready.then(()=>writer.write(chunk)).catch(console.error); - } else { - // A null chunk signals that no more chunks will be sent, which allows - // us to close the writer. - // TODO: Revisit this cleanup logic when we integrate the return channel - // that keeps the connection open to be able to lazily retrieve debug - // objects. - writer.ready.then(()=>writer.close()).catch(console.error); - } - return; - } - case _hotreloadertypes.HMR_MESSAGE_SENT_TO_BROWSER.REQUEST_CURRENT_ERROR_STATE: - { - const errorState = (0, _nextdevtools.getSerializedOverlayState)(); - const response = { - event: _hotreloadertypes.HMR_MESSAGE_SENT_TO_SERVER.MCP_ERROR_STATE_RESPONSE, - requestId: message.requestId, - errorState, - url: window.location.href - }; - sendMessage(JSON.stringify(response)); - return; - } - case _hotreloadertypes.HMR_MESSAGE_SENT_TO_BROWSER.REQUEST_PAGE_METADATA: - { - const segmentTrieData = (0, _nextdevtools.getSegmentTrieData)(); - const response = { - event: _hotreloadertypes.HMR_MESSAGE_SENT_TO_SERVER.MCP_PAGE_METADATA_RESPONSE, - requestId: message.requestId, - segmentTrieData, - url: window.location.href - }; - sendMessage(JSON.stringify(response)); - return; - } - case _hotreloadertypes.HMR_MESSAGE_SENT_TO_BROWSER.CACHE_INDICATOR: - { - _nextdevtools.dispatcher.onCacheIndicator(message.state); - return; - } - case _hotreloadertypes.HMR_MESSAGE_SENT_TO_BROWSER.ERRORS_TO_SHOW_IN_BROWSER: - { - createFromReadableStream(new ReadableStream({ - start (controller) { - controller.enqueue(message.serializedErrors); - controller.close(); - } - }), { - findSourceMapURL: _appfindsourcemapurl.findSourceMapURL - }).then((errors)=>{ - for (const error of errors){ - console.error(error); - } - }, (err)=>{ - console.error(Object.defineProperty(new Error('Failed to deserialize errors.', { - cause: err - }), "__NEXT_ERROR_CODE", { - value: "E946", - enumerable: false, - configurable: true - })); - }); - return; - } - case _hotreloadertypes.HMR_MESSAGE_SENT_TO_BROWSER.MIDDLEWARE_CHANGES: - case _hotreloadertypes.HMR_MESSAGE_SENT_TO_BROWSER.CLIENT_CHANGES: - case _hotreloadertypes.HMR_MESSAGE_SENT_TO_BROWSER.SERVER_ONLY_CHANGES: - break; - default: - { - message; - } - } -} -function HotReload({ children, globalError, webSocket, staticIndicatorState }) { - (0, _useerrorhandler.useErrorHandler)(_nextdevtools.dispatcher.onUnhandledError, _nextdevtools.dispatcher.onUnhandledRejection); - (0, _websocket.useWebSocketPing)(webSocket); - // We don't want access of the pathname for the dev tools to trigger a dynamic - // access (as the dev overlay will never be present in production). - const pathname = (0, _navigationuntracked.useUntrackedPathname)(); - if ("TURBOPACK compile-time truthy", 1) { - // this conditional is only for dead-code elimination which - // isn't a runtime conditional only build-time so ignore hooks rule - // eslint-disable-next-line react-hooks/rules-of-hooks - (0, _react.useEffect)(()=>{ - if (!staticIndicatorState) { - throw Object.defineProperty(new _invarianterror.InvariantError('Expected staticIndicatorState to be defined in dev mode.'), "__NEXT_ERROR_CODE", { - value: "E786", - enumerable: false, - configurable: true - }); - } - staticIndicatorState.pathname = pathname; - if (staticIndicatorState.appIsrManifest) { - const isStatic = pathname ? staticIndicatorState.appIsrManifest[pathname] : undefined; - _nextdevtools.dispatcher.onStaticIndicator(isStatic === undefined ? 'pending' : isStatic ? 'static' : 'dynamic'); - } - }, [ - pathname, - staticIndicatorState - ]); - } - return /*#__PURE__*/ (0, _jsxruntime.jsxs)(_appdevoverlayerrorboundary.AppDevOverlayErrorBoundary, { - globalError: globalError, - children: [ - /*#__PURE__*/ (0, _jsxruntime.jsx)(_replayssronlyerrors.ReplaySsrOnlyErrors, { - onBlockingError: _nextdevtools.dispatcher.openErrorOverlay - }), - children - ] - }); -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=hot-reloader-app.js.map -}), -"[project]/node_modules/next/dist/client/components/app-router.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "default", { - enumerable: true, - get: function() { - return AppRouter; - } -}); -const _interop_require_default = __turbopack_context__.r("[project]/node_modules/@swc/helpers/cjs/_interop_require_default.cjs [app-client] (ecmascript)"); -const _interop_require_wildcard = __turbopack_context__.r("[project]/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs [app-client] (ecmascript)"); -const _jsxruntime = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/jsx-runtime.js [app-client] (ecmascript)"); -const _react = /*#__PURE__*/ _interop_require_wildcard._(__turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)")); -const _approutercontextsharedruntime = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js [app-client] (ecmascript)"); -const _routerreducertypes = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/router-reducer-types.js [app-client] (ecmascript)"); -const _createhreffromurl = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/create-href-from-url.js [app-client] (ecmascript)"); -const _hooksclientcontextsharedruntime = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js [app-client] (ecmascript)"); -const _useactionqueue = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/use-action-queue.js [app-client] (ecmascript)"); -const _approuterannouncer = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/app-router-announcer.js [app-client] (ecmascript)"); -const _redirectboundary = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/redirect-boundary.js [app-client] (ecmascript)"); -const _findheadincache = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/reducers/find-head-in-cache.js [app-client] (ecmascript)"); -const _unresolvedthenable = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/unresolved-thenable.js [app-client] (ecmascript)"); -const _removebasepath = __turbopack_context__.r("[project]/node_modules/next/dist/client/remove-base-path.js [app-client] (ecmascript)"); -const _hasbasepath = __turbopack_context__.r("[project]/node_modules/next/dist/client/has-base-path.js [app-client] (ecmascript)"); -const _computechangedpath = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/compute-changed-path.js [app-client] (ecmascript)"); -const _navfailurehandler = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/nav-failure-handler.js [app-client] (ecmascript)"); -const _approuterinstance = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/app-router-instance.js [app-client] (ecmascript)"); -const _redirect = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/redirect.js [app-client] (ecmascript)"); -const _redirecterror = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/redirect-error.js [app-client] (ecmascript)"); -const _links = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/links.js [app-client] (ecmascript)"); -const _rooterrorboundary = /*#__PURE__*/ _interop_require_default._(__turbopack_context__.r("[project]/node_modules/next/dist/client/components/errors/root-error-boundary.js [app-client] (ecmascript)")); -const _globalerror = /*#__PURE__*/ _interop_require_default._(__turbopack_context__.r("[project]/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)")); -const _boundarycomponents = __turbopack_context__.r("[project]/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)"); -const _deploymentid = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/deployment-id.js [app-client] (ecmascript)"); -const globalMutable = {}; -function HistoryUpdater({ appRouterState }) { - (0, _react.useInsertionEffect)(()=>{ - if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable - ; - const { tree, pushRef, canonicalUrl, renderedSearch } = appRouterState; - const appHistoryState = { - tree, - renderedSearch - }; - // TODO: Use Navigation API if available - const historyState = { - ...pushRef.preserveCustomHistoryState ? window.history.state : {}, - // Identifier is shortened intentionally. - // __NA is used to identify if the history entry can be handled by the app-router. - // __N is used to identify if the history entry can be handled by the old router. - __NA: true, - __PRIVATE_NEXTJS_INTERNALS_TREE: appHistoryState - }; - if (pushRef.pendingPush && // Skip pushing an additional history entry if the canonicalUrl is the same as the current url. - // This mirrors the browser behavior for normal navigation. - (0, _createhreffromurl.createHrefFromUrl)(new URL(window.location.href)) !== canonicalUrl) { - // This intentionally mutates React state, pushRef is overwritten to ensure additional push/replace calls do not trigger an additional history entry. - pushRef.pendingPush = false; - window.history.pushState(historyState, '', canonicalUrl); - } else { - window.history.replaceState(historyState, '', canonicalUrl); - } - }, [ - appRouterState - ]); - (0, _react.useEffect)(()=>{ - // The Next-Url and the base tree may affect the result of a prefetch - // task. Re-prefetch all visible links with the updated values. In most - // cases, this will not result in any new network requests, only if - // the prefetch result actually varies on one of these inputs. - (0, _links.pingVisibleLinks)(appRouterState.nextUrl, appRouterState.tree); - }, [ - appRouterState.nextUrl, - appRouterState.tree - ]); - return null; -} -function copyNextJsInternalHistoryState(data) { - if (data == null) data = {}; - const currentState = window.history.state; - const __NA = currentState?.__NA; - if (__NA) { - data.__NA = __NA; - } - const __PRIVATE_NEXTJS_INTERNALS_TREE = currentState?.__PRIVATE_NEXTJS_INTERNALS_TREE; - if (__PRIVATE_NEXTJS_INTERNALS_TREE) { - data.__PRIVATE_NEXTJS_INTERNALS_TREE = __PRIVATE_NEXTJS_INTERNALS_TREE; - } - return data; -} -function Head({ headCacheNode }) { - // If this segment has a `prefetchHead`, it's the statically prefetched data. - // We should use that on initial render instead of `head`. Then we'll switch - // to `head` when the dynamic response streams in. - const head = headCacheNode !== null ? headCacheNode.head : null; - const prefetchHead = headCacheNode !== null ? headCacheNode.prefetchHead : null; - // If no prefetch data is available, then we go straight to rendering `head`. - const resolvedPrefetchRsc = prefetchHead !== null ? prefetchHead : head; - // We use `useDeferredValue` to handle switching between the prefetched and - // final values. The second argument is returned on initial render, then it - // re-renders with the first argument. - return (0, _react.useDeferredValue)(head, resolvedPrefetchRsc); -} -/** - * The global router that wraps the application components. - */ function Router({ actionQueue, globalError, webSocket, staticIndicatorState }) { - const state = (0, _useactionqueue.useActionQueue)(actionQueue); - const { canonicalUrl } = state; - // Add memoized pathname/query for useSearchParams and usePathname. - const { searchParams, pathname } = (0, _react.useMemo)(()=>{ - const url = new URL(canonicalUrl, typeof window === 'undefined' ? 'http://n' : window.location.href); - return { - // This is turned into a readonly class in `useSearchParams` - searchParams: url.searchParams, - pathname: (0, _hasbasepath.hasBasePath)(url.pathname) ? (0, _removebasepath.removeBasePath)(url.pathname) : url.pathname - }; - }, [ - canonicalUrl - ]); - if ("TURBOPACK compile-time truthy", 1) { - const { cache, tree } = state; - // This hook is in a conditional but that is ok because `process.env.NODE_ENV` never changes - // eslint-disable-next-line react-hooks/rules-of-hooks - (0, _react.useEffect)(()=>{ - // Add `window.nd` for debugging purposes. - // This is not meant for use in applications as concurrent rendering will affect the cache/tree/router. - // @ts-ignore this is for debugging - window.nd = { - router: _approuterinstance.publicAppRouterInstance, - cache, - tree - }; - }, [ - cache, - tree - ]); - } - (0, _react.useEffect)(()=>{ - // If the app is restored from bfcache, it's possible that - // pushRef.mpaNavigation is true, which would mean that any re-render of this component - // would trigger the mpa navigation logic again from the lines below. - // This will restore the router to the initial state in the event that the app is restored from bfcache. - function handlePageShow(event) { - if (!event.persisted || !window.history.state?.__PRIVATE_NEXTJS_INTERNALS_TREE) { - return; - } - // Clear the pendingMpaPath value so that a subsequent MPA navigation to the same URL can be triggered. - // This is necessary because if the browser restored from bfcache, the pendingMpaPath would still be set to the value - // of the last MPA navigation. - globalMutable.pendingMpaPath = undefined; - (0, _useactionqueue.dispatchAppRouterAction)({ - type: _routerreducertypes.ACTION_RESTORE, - url: new URL(window.location.href), - historyState: window.history.state.__PRIVATE_NEXTJS_INTERNALS_TREE - }); - } - window.addEventListener('pageshow', handlePageShow); - return ()=>{ - window.removeEventListener('pageshow', handlePageShow); - }; - }, []); - (0, _react.useEffect)(()=>{ - // Ensure that any redirect errors that bubble up outside of the RedirectBoundary - // are caught and handled by the router. - function handleUnhandledRedirect(event) { - const error = 'reason' in event ? event.reason : event.error; - if ((0, _redirecterror.isRedirectError)(error)) { - event.preventDefault(); - const url = (0, _redirect.getURLFromRedirectError)(error); - const redirectType = (0, _redirect.getRedirectTypeFromError)(error); - // TODO: This should access the router methods directly, rather than - // go through the public interface. - if (redirectType === _redirecterror.RedirectType.push) { - _approuterinstance.publicAppRouterInstance.push(url, {}); - } else { - _approuterinstance.publicAppRouterInstance.replace(url, {}); - } - } - } - window.addEventListener('error', handleUnhandledRedirect); - window.addEventListener('unhandledrejection', handleUnhandledRedirect); - return ()=>{ - window.removeEventListener('error', handleUnhandledRedirect); - window.removeEventListener('unhandledrejection', handleUnhandledRedirect); - }; - }, []); - // When mpaNavigation flag is set do a hard navigation to the new url. - // Infinitely suspend because we don't actually want to rerender any child - // components with the new URL and any entangled state updates shouldn't - // commit either (eg: useTransition isPending should stay true until the page - // unloads). - // - // This is a side effect in render. Don't try this at home, kids. It's - // probably safe because we know this is a singleton component and it's never - // in <Offscreen>. At least I hope so. (It will run twice in dev strict mode, - // but that's... fine?) - const { pushRef } = state; - if (pushRef.mpaNavigation) { - // if there's a re-render, we don't want to trigger another redirect if one is already in flight to the same URL - if (globalMutable.pendingMpaPath !== canonicalUrl) { - const location = window.location; - if (pushRef.pendingPush) { - location.assign(canonicalUrl); - } else { - location.replace(canonicalUrl); - } - globalMutable.pendingMpaPath = canonicalUrl; - } - // TODO-APP: Should we listen to navigateerror here to catch failed - // navigations somehow? And should we call window.stop() if a SPA navigation - // should interrupt an MPA one? - // NOTE: This is intentionally using `throw` instead of `use` because we're - // inside an externally mutable condition (pushRef.mpaNavigation), which - // violates the rules of hooks. - throw _unresolvedthenable.unresolvedThenable; - } - (0, _react.useEffect)(()=>{ - const originalPushState = window.history.pushState.bind(window.history); - const originalReplaceState = window.history.replaceState.bind(window.history); - // Ensure the canonical URL in the Next.js Router is updated when the URL is changed so that `usePathname` and `useSearchParams` hold the pushed values. - const applyUrlFromHistoryPushReplace = (url)=>{ - const href = window.location.href; - const appHistoryState = window.history.state?.__PRIVATE_NEXTJS_INTERNALS_TREE; - (0, _react.startTransition)(()=>{ - (0, _useactionqueue.dispatchAppRouterAction)({ - type: _routerreducertypes.ACTION_RESTORE, - url: new URL(url ?? href, href), - historyState: appHistoryState - }); - }); - }; - /** - * Patch pushState to ensure external changes to the history are reflected in the Next.js Router. - * Ensures Next.js internal history state is copied to the new history entry. - * Ensures usePathname and useSearchParams hold the newly provided url. - */ window.history.pushState = function pushState(data, _unused, url) { - // TODO: Warn when Navigation API is available (navigation.navigate() should be used) - // Avoid a loop when Next.js internals trigger pushState/replaceState - if (data?.__NA || data?._N) { - return originalPushState(data, _unused, url); - } - data = copyNextJsInternalHistoryState(data); - if (url) { - applyUrlFromHistoryPushReplace(url); - } - return originalPushState(data, _unused, url); - }; - /** - * Patch replaceState to ensure external changes to the history are reflected in the Next.js Router. - * Ensures Next.js internal history state is copied to the new history entry. - * Ensures usePathname and useSearchParams hold the newly provided url. - */ window.history.replaceState = function replaceState(data, _unused, url) { - // TODO: Warn when Navigation API is available (navigation.navigate() should be used) - // Avoid a loop when Next.js internals trigger pushState/replaceState - if (data?.__NA || data?._N) { - return originalReplaceState(data, _unused, url); - } - data = copyNextJsInternalHistoryState(data); - if (url) { - applyUrlFromHistoryPushReplace(url); - } - return originalReplaceState(data, _unused, url); - }; - /** - * Handle popstate event, this is used to handle back/forward in the browser. - * By default dispatches ACTION_RESTORE, however if the history entry was not pushed/replaced by app-router it will reload the page. - * That case can happen when the old router injected the history entry. - */ const onPopState = (event)=>{ - if (!event.state) { - // TODO-APP: this case only happens when pushState/replaceState was called outside of Next.js. It should probably reload the page in this case. - return; - } - // This case happens when the history entry was pushed by the `pages` router. - if (!event.state.__NA) { - window.location.reload(); - return; - } - // TODO-APP: Ideally the back button should not use startTransition as it should apply the updates synchronously - // Without startTransition works if the cache is there for this path - (0, _react.startTransition)(()=>{ - (0, _approuterinstance.dispatchTraverseAction)(window.location.href, event.state.__PRIVATE_NEXTJS_INTERNALS_TREE); - }); - }; - // Register popstate event to call onPopstate. - window.addEventListener('popstate', onPopState); - return ()=>{ - window.history.pushState = originalPushState; - window.history.replaceState = originalReplaceState; - window.removeEventListener('popstate', onPopState); - }; - }, []); - const { cache, tree, nextUrl, focusAndScrollRef, previousNextUrl } = state; - const matchingHead = (0, _react.useMemo)(()=>{ - return (0, _findheadincache.findHeadInCache)(cache, tree[1]); - }, [ - cache, - tree - ]); - // Add memoized pathParams for useParams. - const pathParams = (0, _react.useMemo)(()=>{ - return (0, _computechangedpath.getSelectedParams)(tree); - }, [ - tree - ]); - // Create instrumented promises for navigation hooks (dev-only) - // These are specially instrumented promises to show in the Suspense DevTools - // Promises are cached outside of render to survive suspense retries. - let instrumentedNavigationPromises = null; - if ("TURBOPACK compile-time truthy", 1) { - const { createRootNavigationPromises } = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/navigation-devtools.js [app-client] (ecmascript)"); - instrumentedNavigationPromises = createRootNavigationPromises(tree, pathname, searchParams, pathParams); - } - const layoutRouterContext = (0, _react.useMemo)(()=>{ - return { - parentTree: tree, - parentCacheNode: cache, - parentSegmentPath: null, - parentParams: {}, - // This is the <Activity> "name" that shows up in the Suspense DevTools. - // It represents the root of the app. - debugNameContext: '/', - // Root node always has `url` - // Provided in AppTreeContext to ensure it can be overwritten in layout-router - url: canonicalUrl, - // Root segment is always active - isActive: true - }; - }, [ - tree, - cache, - canonicalUrl - ]); - const globalLayoutRouterContext = (0, _react.useMemo)(()=>{ - return { - tree, - focusAndScrollRef, - nextUrl, - previousNextUrl - }; - }, [ - tree, - focusAndScrollRef, - nextUrl, - previousNextUrl - ]); - let head; - if (matchingHead !== null) { - // The head is wrapped in an extra component so we can use - // `useDeferredValue` to swap between the prefetched and final versions of - // the head. (This is what LayoutRouter does for segment data, too.) - // - // The `key` is used to remount the component whenever the head moves to - // a different segment. - const [headCacheNode, headKey, headKeyWithoutSearchParams] = matchingHead; - head = /*#__PURE__*/ (0, _jsxruntime.jsx)(Head, { - headCacheNode: headCacheNode - }, typeof window === 'undefined' ? headKeyWithoutSearchParams : headKey); - } else { - head = null; - } - let content = /*#__PURE__*/ (0, _jsxruntime.jsxs)(_redirectboundary.RedirectBoundary, { - children: [ - head, - /*#__PURE__*/ (0, _jsxruntime.jsx)(_boundarycomponents.RootLayoutBoundary, { - children: cache.rsc - }), - /*#__PURE__*/ (0, _jsxruntime.jsx)(_approuterannouncer.AppRouterAnnouncer, { - tree: tree - }) - ] - }); - if ("TURBOPACK compile-time truthy", 1) { - // In development, we apply few error boundaries and hot-reloader: - // - DevRootHTTPAccessFallbackBoundary: avoid using navigation API like notFound() in root layout - // - HotReloader: - // - hot-reload the app when the code changes - // - render dev overlay - // - catch runtime errors and display global-error when necessary - if (typeof window !== 'undefined') { - const { DevRootHTTPAccessFallbackBoundary } = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/dev-root-http-access-fallback-boundary.js [app-client] (ecmascript)"); - content = /*#__PURE__*/ (0, _jsxruntime.jsx)(DevRootHTTPAccessFallbackBoundary, { - children: content - }); - } - const HotReloader = __turbopack_context__.r("[project]/node_modules/next/dist/client/dev/hot-reloader/app/hot-reloader-app.js [app-client] (ecmascript)").default; - content = /*#__PURE__*/ (0, _jsxruntime.jsx)(HotReloader, { - globalError: globalError, - webSocket: webSocket, - staticIndicatorState: staticIndicatorState, - children: content - }); - } else //TURBOPACK unreachable - ; - return /*#__PURE__*/ (0, _jsxruntime.jsxs)(_jsxruntime.Fragment, { - children: [ - /*#__PURE__*/ (0, _jsxruntime.jsx)(HistoryUpdater, { - appRouterState: state - }), - /*#__PURE__*/ (0, _jsxruntime.jsx)(RuntimeStyles, {}), - /*#__PURE__*/ (0, _jsxruntime.jsx)(_hooksclientcontextsharedruntime.NavigationPromisesContext.Provider, { - value: instrumentedNavigationPromises, - children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_hooksclientcontextsharedruntime.PathParamsContext.Provider, { - value: pathParams, - children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_hooksclientcontextsharedruntime.PathnameContext.Provider, { - value: pathname, - children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_hooksclientcontextsharedruntime.SearchParamsContext.Provider, { - value: searchParams, - children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_approutercontextsharedruntime.GlobalLayoutRouterContext.Provider, { - value: globalLayoutRouterContext, - children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_approutercontextsharedruntime.AppRouterContext.Provider, { - value: _approuterinstance.publicAppRouterInstance, - children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_approutercontextsharedruntime.LayoutRouterContext.Provider, { - value: layoutRouterContext, - children: content - }) - }) - }) - }) - }) - }) - }) - ] - }); -} -function AppRouter({ actionQueue, globalErrorState, webSocket, staticIndicatorState }) { - (0, _navfailurehandler.useNavFailureHandler)(); - const router = /*#__PURE__*/ (0, _jsxruntime.jsx)(Router, { - actionQueue: actionQueue, - globalError: globalErrorState, - webSocket: webSocket, - staticIndicatorState: staticIndicatorState - }); - // At the very top level, use the default GlobalError component as the final fallback. - // When the app router itself fails, which means the framework itself fails, we show the default error. - return /*#__PURE__*/ (0, _jsxruntime.jsx)(_rooterrorboundary.default, { - errorComponent: _globalerror.default, - children: router - }); -} -const runtimeStyles = new Set(); -let runtimeStyleChanged = new Set(); -globalThis._N_E_STYLE_LOAD = function(href) { - let len = runtimeStyles.size; - runtimeStyles.add(href); - if (runtimeStyles.size !== len) { - runtimeStyleChanged.forEach((cb)=>cb()); - } - // TODO figure out how to get a promise here - // But maybe it's not necessary as react would block rendering until it's loaded - return Promise.resolve(); -}; -function RuntimeStyles() { - const [, forceUpdate] = _react.default.useState(0); - const renderedStylesSize = runtimeStyles.size; - (0, _react.useEffect)(()=>{ - const changed = ()=>forceUpdate((c)=>c + 1); - runtimeStyleChanged.add(changed); - if (renderedStylesSize !== runtimeStyles.size) { - changed(); - } - return ()=>{ - runtimeStyleChanged.delete(changed); - }; - }, [ - renderedStylesSize, - forceUpdate - ]); - const dplId = (0, _deploymentid.getDeploymentIdQueryOrEmptyString)(); - return [ - ...runtimeStyles - ].map((href, i)=>/*#__PURE__*/ (0, _jsxruntime.jsx)("link", { - rel: "stylesheet", - href: `${href}${dplId}`, - // @ts-ignore - precedence: "next" - }, i)); -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=app-router.js.map -}), -"[project]/node_modules/next/dist/client/components/router-reducer/create-initial-router-state.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "createInitialRouterState", { - enumerable: true, - get: function() { - return createInitialRouterState; - } -}); -const _createhreffromurl = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/create-href-from-url.js [app-client] (ecmascript)"); -const _computechangedpath = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/compute-changed-path.js [app-client] (ecmascript)"); -const _flightdatahelpers = __turbopack_context__.r("[project]/node_modules/next/dist/client/flight-data-helpers.js [app-client] (ecmascript)"); -const _pprnavigations = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/ppr-navigations.js [app-client] (ecmascript)"); -function createInitialRouterState({ navigatedAt, initialFlightData, initialCanonicalUrlParts, initialRenderedSearch, location }) { - // When initialized on the server, the canonical URL is provided as an array of parts. - // This is to ensure that when the RSC payload streamed to the client, crawlers don't interpret it - // as a URL that should be crawled. - const initialCanonicalUrl = initialCanonicalUrlParts.join('/'); - const normalizedFlightData = (0, _flightdatahelpers.getFlightDataPartsFromPath)(initialFlightData[0]); - const { tree: initialTree, seedData: initialSeedData, head: initialHead } = normalizedFlightData; - // For the SSR render, seed data should always be available (we only send back a `null` response - // in the case of a `loading` segment, pre-PPR.) - const canonicalUrl = // This is safe to do as canonicalUrl can't be rendered, it's only used to control the history updates in the useEffect further down in this file. - location ? (0, _createhreffromurl.createHrefFromUrl)(location) : initialCanonicalUrl; - const initialState = { - tree: initialTree, - cache: (0, _pprnavigations.createInitialCacheNodeForHydration)(navigatedAt, initialTree, initialSeedData, initialHead), - pushRef: { - pendingPush: false, - mpaNavigation: false, - // First render needs to preserve the previous window.history.state - // to avoid it being overwritten on navigation back/forward with MPA Navigation. - preserveCustomHistoryState: true - }, - focusAndScrollRef: { - apply: false, - onlyHashChange: false, - hashFragment: null, - segmentPaths: [] - }, - canonicalUrl, - renderedSearch: initialRenderedSearch, - nextUrl: ((0, _computechangedpath.extractPathFromFlightRouterState)(initialTree) || location?.pathname) ?? null, - previousNextUrl: null, - debugInfo: null - }; - return initialState; -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=create-initial-router-state.js.map -}), -"[project]/node_modules/next/dist/client/app-link-gc.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "linkGc", { - enumerable: true, - get: function() { - return linkGc; - } -}); -function linkGc() { - // TODO-APP: Remove this logic when Float has GC built-in in development. - if ("TURBOPACK compile-time truthy", 1) { - const callback = (mutationList)=>{ - for (const mutation of mutationList){ - if (mutation.type === 'childList') { - for (const node of mutation.addedNodes){ - if ('tagName' in node && node.tagName === 'LINK') { - const link = node; - if (link.dataset.precedence?.startsWith('next')) { - const href = link.getAttribute('href'); - if (href) { - const [resource, version] = href.split('?v=', 2); - if (version) { - const currentOrigin = window.location.origin; - const allLinks = [ - ...document.querySelectorAll('link[href^="' + resource + '"]'), - // It's possible that the resource is a full URL or only pathname, - // so we need to remove the alternative href as well. - ...document.querySelectorAll('link[href^="' + (resource.startsWith(currentOrigin) ? resource.slice(currentOrigin.length) : currentOrigin + resource) + '"]') - ]; - for (const otherLink of allLinks){ - if (otherLink.dataset.precedence?.startsWith('next')) { - const otherHref = otherLink.getAttribute('href'); - if (otherHref) { - const [, otherVersion] = otherHref.split('?v=', 2); - if (!otherVersion || +otherVersion < +version) { - // Delay the removal of the stylesheet to avoid FOUC - // caused by `@font-face` rules, as they seem to be - // a couple of ticks delayed between the old and new - // styles being swapped even if the font is cached. - setTimeout(()=>{ - otherLink.remove(); - }, 5); - const preloadLink = document.querySelector(`link[rel="preload"][as="style"][href="${otherHref}"]`); - if (preloadLink) { - preloadLink.remove(); - } - } - } - } - } - } - } - } - } - } - } - } - }; - // Create an observer instance linked to the callback function - const observer = new MutationObserver(callback); - observer.observe(document.head, { - childList: true - }); - } -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=app-link-gc.js.map -}), -"[project]/node_modules/next/dist/client/app-index.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "hydrate", { - enumerable: true, - get: function() { - return hydrate; - } -}); -const _interop_require_default = __turbopack_context__.r("[project]/node_modules/@swc/helpers/cjs/_interop_require_default.cjs [app-client] (ecmascript)"); -const _jsxruntime = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/jsx-runtime.js [app-client] (ecmascript)"); -__turbopack_context__.r("[project]/node_modules/next/dist/client/app-globals.js [app-client] (ecmascript)"); -const _client = /*#__PURE__*/ _interop_require_default._(__turbopack_context__.r("[project]/node_modules/next/dist/compiled/react-dom/client.js [app-client] (ecmascript)")); -const _react = /*#__PURE__*/ _interop_require_default._(__turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)")); -const _client1 = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react-server-dom-turbopack/client.js [app-client] (ecmascript)"); -const _headmanagercontextsharedruntime = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js [app-client] (ecmascript)"); -const _onrecoverableerror = __turbopack_context__.r("[project]/node_modules/next/dist/client/react-client-callbacks/on-recoverable-error.js [app-client] (ecmascript)"); -const _errorboundarycallbacks = __turbopack_context__.r("[project]/node_modules/next/dist/client/react-client-callbacks/error-boundary-callbacks.js [app-client] (ecmascript)"); -const _appcallserver = __turbopack_context__.r("[project]/node_modules/next/dist/client/app-call-server.js [app-client] (ecmascript)"); -const _appfindsourcemapurl = __turbopack_context__.r("[project]/node_modules/next/dist/client/app-find-source-map-url.js [app-client] (ecmascript)"); -const _approuterinstance = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/app-router-instance.js [app-client] (ecmascript)"); -const _approuter = /*#__PURE__*/ _interop_require_default._(__turbopack_context__.r("[project]/node_modules/next/dist/client/components/app-router.js [app-client] (ecmascript)")); -const _createinitialrouterstate = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/router-reducer/create-initial-router-state.js [app-client] (ecmascript)"); -const _approutercontextsharedruntime = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js [app-client] (ecmascript)"); -const _appbuildid = __turbopack_context__.r("[project]/node_modules/next/dist/client/app-build-id.js [app-client] (ecmascript)"); -const _flightdatahelpers = __turbopack_context__.r("[project]/node_modules/next/dist/client/flight-data-helpers.js [app-client] (ecmascript)"); -/// <reference types="react-dom/experimental" /> -const createFromReadableStream = _client1.createFromReadableStream; -const createFromFetch = _client1.createFromFetch; -const appElement = document; -const encoder = new TextEncoder(); -let initialServerDataBuffer = undefined; -let initialServerDataWriter = undefined; -let initialServerDataLoaded = false; -let initialServerDataFlushed = false; -let initialFormStateData = null; -function nextServerDataCallback(seg) { - if (seg[0] === 0) { - initialServerDataBuffer = []; - } else if (seg[0] === 1) { - if (!initialServerDataBuffer) throw Object.defineProperty(new Error('Unexpected server data: missing bootstrap script.'), "__NEXT_ERROR_CODE", { - value: "E18", - enumerable: false, - configurable: true - }); - if (initialServerDataWriter) { - initialServerDataWriter.enqueue(encoder.encode(seg[1])); - } else { - initialServerDataBuffer.push(seg[1]); - } - } else if (seg[0] === 2) { - initialFormStateData = seg[1]; - } else if (seg[0] === 3) { - if (!initialServerDataBuffer) throw Object.defineProperty(new Error('Unexpected server data: missing bootstrap script.'), "__NEXT_ERROR_CODE", { - value: "E18", - enumerable: false, - configurable: true - }); - // Decode the base64 string back to binary data. - const binaryString = atob(seg[1]); - const decodedChunk = new Uint8Array(binaryString.length); - for(var i = 0; i < binaryString.length; i++){ - decodedChunk[i] = binaryString.charCodeAt(i); - } - if (initialServerDataWriter) { - initialServerDataWriter.enqueue(decodedChunk); - } else { - initialServerDataBuffer.push(decodedChunk); - } - } -} -function isStreamErrorOrUnfinished(ctr) { - // If `desiredSize` is null, it means the stream is closed or errored. If it is lower than 0, the stream is still unfinished. - return ctr.desiredSize === null || ctr.desiredSize < 0; -} -// There might be race conditions between `nextServerDataRegisterWriter` and -// `DOMContentLoaded`. The former will be called when React starts to hydrate -// the root, the latter will be called when the DOM is fully loaded. -// For streaming, the former is called first due to partial hydration. -// For non-streaming, the latter can be called first. -// Hence, we use two variables `initialServerDataLoaded` and -// `initialServerDataFlushed` to make sure the writer will be closed and -// `initialServerDataBuffer` will be cleared in the right time. -function nextServerDataRegisterWriter(ctr) { - if (initialServerDataBuffer) { - initialServerDataBuffer.forEach((val)=>{ - ctr.enqueue(typeof val === 'string' ? encoder.encode(val) : val); - }); - if (initialServerDataLoaded && !initialServerDataFlushed) { - if (isStreamErrorOrUnfinished(ctr)) { - ctr.error(Object.defineProperty(new Error('The connection to the page was unexpectedly closed, possibly due to the stop button being clicked, loss of Wi-Fi, or an unstable internet connection.'), "__NEXT_ERROR_CODE", { - value: "E117", - enumerable: false, - configurable: true - })); - } else { - ctr.close(); - } - initialServerDataFlushed = true; - initialServerDataBuffer = undefined; - } - } - initialServerDataWriter = ctr; -} -// When `DOMContentLoaded`, we can close all pending writers to finish hydration. -const DOMContentLoaded = function() { - if (initialServerDataWriter && !initialServerDataFlushed) { - initialServerDataWriter.close(); - initialServerDataFlushed = true; - initialServerDataBuffer = undefined; - } - initialServerDataLoaded = true; -}; -// It's possible that the DOM is already loaded. -if (document.readyState === 'loading') { - document.addEventListener('DOMContentLoaded', DOMContentLoaded, false); -} else { - // Delayed in marco task to ensure it's executed later than hydration - setTimeout(DOMContentLoaded); -} -const nextServerDataLoadingGlobal = self.__next_f = self.__next_f || []; -// Consume all buffered chunks and clear the global data array right after to release memory. -// Otherwise it will be retained indefinitely. -nextServerDataLoadingGlobal.forEach(nextServerDataCallback); -nextServerDataLoadingGlobal.length = 0; -// Patch its push method so subsequent chunks are handled (but not actually pushed to the array). -nextServerDataLoadingGlobal.push = nextServerDataCallback; -const readable = new ReadableStream({ - start (controller) { - nextServerDataRegisterWriter(controller); - } -}); -if ("TURBOPACK compile-time truthy", 1) { - // @ts-expect-error - readable.name = 'hydration'; -} -let debugChannel; -if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable -; -const clientResumeFetch = window.__NEXT_CLIENT_RESUME; -let initialServerResponse; -if (clientResumeFetch) { - initialServerResponse = Promise.resolve(createFromFetch(clientResumeFetch, { - callServer: _appcallserver.callServer, - findSourceMapURL: _appfindsourcemapurl.findSourceMapURL, - debugChannel - })).then(async (fallbackInitialRSCPayload)=>(0, _flightdatahelpers.createInitialRSCPayloadFromFallbackPrerender)(await clientResumeFetch, fallbackInitialRSCPayload)); -} else { - initialServerResponse = createFromReadableStream(readable, { - callServer: _appcallserver.callServer, - findSourceMapURL: _appfindsourcemapurl.findSourceMapURL, - debugChannel, - startTime: 0 - }); -} -function ServerRoot({ initialRSCPayload, actionQueue, webSocket, staticIndicatorState }) { - const router = /*#__PURE__*/ (0, _jsxruntime.jsx)(_approuter.default, { - actionQueue: actionQueue, - globalErrorState: initialRSCPayload.G, - webSocket: webSocket, - staticIndicatorState: staticIndicatorState - }); - if (("TURBOPACK compile-time value", "development") === 'development' && initialRSCPayload.m) { - // We provide missing slot information in a context provider only during development - // as we log some additional information about the missing slots in the console. - return /*#__PURE__*/ (0, _jsxruntime.jsx)(_approutercontextsharedruntime.MissingSlotContext, { - value: initialRSCPayload.m, - children: router - }); - } - return router; -} -const StrictModeIfEnabled = ("TURBOPACK compile-time truthy", 1) ? _react.default.StrictMode : "TURBOPACK unreachable"; -function Root({ children }) { - if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable - ; - return children; -} -const enableTransitionIndicator = ("TURBOPACK compile-time value", false); -function noDefaultTransitionIndicator() { - return ()=>{}; -} -const reactRootOptions = { - onDefaultTransitionIndicator: ("TURBOPACK compile-time falsy", 0) ? "TURBOPACK unreachable" : noDefaultTransitionIndicator, - onRecoverableError: _onrecoverableerror.onRecoverableError, - onCaughtError: _errorboundarycallbacks.onCaughtError, - onUncaughtError: _errorboundarycallbacks.onUncaughtError -}; -async function hydrate(instrumentationHooks, assetPrefix) { - let staticIndicatorState; - let webSocket; - if ("TURBOPACK compile-time truthy", 1) { - const { createWebSocket } = __turbopack_context__.r("[project]/node_modules/next/dist/client/dev/hot-reloader/app/web-socket.js [app-client] (ecmascript)"); - staticIndicatorState = { - pathname: null, - appIsrManifest: null - }; - webSocket = createWebSocket(assetPrefix, staticIndicatorState); - } - const initialRSCPayload = await initialServerResponse; - // setAppBuildId should be called only once, during JS initialization - // and before any components have hydrated. - (0, _appbuildid.setAppBuildId)(initialRSCPayload.b); - const initialTimestamp = Date.now(); - const actionQueue = (0, _approuterinstance.createMutableActionQueue)((0, _createinitialrouterstate.createInitialRouterState)({ - navigatedAt: initialTimestamp, - initialFlightData: initialRSCPayload.f, - initialCanonicalUrlParts: initialRSCPayload.c, - initialRenderedSearch: initialRSCPayload.q, - location: window.location - }), instrumentationHooks); - const reactEl = /*#__PURE__*/ (0, _jsxruntime.jsx)(StrictModeIfEnabled, { - children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_headmanagercontextsharedruntime.HeadManagerContext.Provider, { - value: { - appDir: true - }, - children: /*#__PURE__*/ (0, _jsxruntime.jsx)(Root, { - children: /*#__PURE__*/ (0, _jsxruntime.jsx)(ServerRoot, { - initialRSCPayload: initialRSCPayload, - actionQueue: actionQueue, - webSocket: webSocket, - staticIndicatorState: staticIndicatorState - }) - }) - }) - }); - if (document.documentElement.id === '__next_error__') { - let element = reactEl; - // Server rendering failed, fall back to client-side rendering - if ("TURBOPACK compile-time truthy", 1) { - const { RootLevelDevOverlayElement } = __turbopack_context__.r("[project]/node_modules/next/dist/next-devtools/userspace/app/client-entry.js [app-client] (ecmascript)"); - // Note this won't cause hydration mismatch because we are doing CSR w/o hydration - element = /*#__PURE__*/ (0, _jsxruntime.jsx)(RootLevelDevOverlayElement, { - children: element - }); - } - _client.default.createRoot(appElement, reactRootOptions).render(element); - } else { - _react.default.startTransition(()=>{ - _client.default.hydrateRoot(appElement, reactEl, { - ...reactRootOptions, - formState: initialFormStateData - }); - }); - } - // TODO-APP: Remove this logic when Float has GC built-in in development. - if ("TURBOPACK compile-time truthy", 1) { - const { linkGc } = __turbopack_context__.r("[project]/node_modules/next/dist/client/app-link-gc.js [app-client] (ecmascript)"); - linkGc(); - } -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=app-index.js.map -}), -"[project]/node_modules/next/dist/client/app-next-turbopack.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -const _appbootstrap = __turbopack_context__.r("[project]/node_modules/next/dist/client/app-bootstrap.js [app-client] (ecmascript)"); -const _onrecoverableerror = __turbopack_context__.r("[project]/node_modules/next/dist/client/react-client-callbacks/on-recoverable-error.js [app-client] (ecmascript)"); -window.next.turbopack = true; -self.__webpack_hash__ = ''; -// eslint-disable-next-line @next/internal/typechecked-require -const instrumentationHooks = __turbopack_context__.r("[project]/node_modules/next/dist/lib/require-instrumentation-client.js [app-client] (ecmascript)"); -(0, _appbootstrap.appBootstrap)((assetPrefix)=>{ - const { hydrate } = __turbopack_context__.r("[project]/node_modules/next/dist/client/app-index.js [app-client] (ecmascript)"); - try { - hydrate(instrumentationHooks, assetPrefix); - } finally{ - if ("TURBOPACK compile-time truthy", 1) { - const enableCacheIndicator = ("TURBOPACK compile-time value", false); - const { getOwnerStack } = __turbopack_context__.r("[project]/node_modules/next/dist/next-devtools/userspace/app/errors/stitched-error.js [app-client] (ecmascript)"); - const { renderAppDevOverlay } = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/next-devtools/index.js (raw)"); - renderAppDevOverlay(getOwnerStack, _onrecoverableerror.isRecoverableError, enableCacheIndicator); - } - } -}); -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=app-next-turbopack.js.map -}), -]); - -//# sourceMappingURL=node_modules_next_dist_client_17643121._.js.map \ No newline at end of file diff --git a/.next/dev/static/chunks/node_modules_next_dist_client_17643121._.js.map b/.next/dev/static/chunks/node_modules_next_dist_client_17643121._.js.map deleted file mode 100644 index f13652a..0000000 --- a/.next/dev/static/chunks/node_modules_next_dist_client_17643121._.js.map +++ /dev/null @@ -1,99 +0,0 @@ -{ - "version": 3, - "sources": [], - "sections": [ - {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/asset-prefix.ts"],"sourcesContent":["import { InvariantError } from '../shared/lib/invariant-error'\n\nexport function getAssetPrefix() {\n const currentScript = document.currentScript\n\n if (!(currentScript instanceof HTMLScriptElement)) {\n throw new InvariantError(\n `Expected document.currentScript to be a <script> element. Received ${currentScript} instead.`\n )\n }\n\n const { pathname } = new URL(currentScript.src)\n const nextIndex = pathname.indexOf('/_next/')\n\n if (nextIndex === -1) {\n throw new InvariantError(\n `Expected document.currentScript src to contain '/_next/'. Received ${currentScript.src} instead.`\n )\n }\n\n return pathname.slice(0, nextIndex)\n}\n"],"names":["getAssetPrefix","currentScript","document","HTMLScriptElement","InvariantError","pathname","URL","src","nextIndex","indexOf","slice"],"mappings":";;;+BAEgBA,kBAAAA;;;eAAAA;;;gCAFe;AAExB,SAASA;IACd,MAAMC,gBAAgBC,SAASD,aAAa;IAE5C,IAAI,CAAEA,CAAAA,yBAAyBE,iBAAgB,GAAI;QACjD,MAAM,OAAA,cAEL,CAFK,IAAIC,gBAAAA,cAAc,CACtB,CAAC,mEAAmE,EAAEH,cAAc,SAAS,CAAC,GAD1F,qBAAA;mBAAA;wBAAA;0BAAA;QAEN;IACF;IAEA,MAAM,EAAEI,QAAQ,EAAE,GAAG,IAAIC,IAAIL,cAAcM,GAAG;IAC9C,MAAMC,YAAYH,SAASI,OAAO,CAAC;IAEnC,IAAID,cAAc,CAAC,GAAG;QACpB,MAAM,OAAA,cAEL,CAFK,IAAIJ,gBAAAA,cAAc,CACtB,CAAC,mEAAmE,EAAEH,cAAcM,GAAG,CAAC,SAAS,CAAC,GAD9F,qBAAA;mBAAA;wBAAA;0BAAA;QAEN;IACF;IAEA,OAAOF,SAASK,KAAK,CAAC,GAAGF;AAC3B","ignoreList":[0]}}, - {"offset": {"line": 45, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/set-attributes-from-props.ts"],"sourcesContent":["const DOMAttributeNames: Record<string, string> = {\n acceptCharset: 'accept-charset',\n className: 'class',\n htmlFor: 'for',\n httpEquiv: 'http-equiv',\n noModule: 'noModule',\n}\n\nconst ignoreProps = [\n 'onLoad',\n 'onReady',\n 'dangerouslySetInnerHTML',\n 'children',\n 'onError',\n 'strategy',\n 'stylesheets',\n]\n\nfunction isBooleanScriptAttribute(\n attr: string\n): attr is 'async' | 'defer' | 'noModule' {\n return ['async', 'defer', 'noModule'].includes(attr)\n}\n\nexport function setAttributesFromProps(el: HTMLElement, props: object) {\n for (const [p, value] of Object.entries(props)) {\n if (!props.hasOwnProperty(p)) continue\n if (ignoreProps.includes(p)) continue\n\n // we don't render undefined props to the DOM\n if (value === undefined) {\n continue\n }\n\n const attr = DOMAttributeNames[p] || p.toLowerCase()\n\n if (el.tagName === 'SCRIPT' && isBooleanScriptAttribute(attr)) {\n // Correctly assign boolean script attributes\n // https://github.com/vercel/next.js/pull/20748\n ;(el as HTMLScriptElement)[attr] = !!value\n } else {\n el.setAttribute(attr, String(value))\n }\n\n // Remove falsy non-zero boolean attributes so they are correctly interpreted\n // (e.g. if we set them to false, this coerces to the string \"false\", which the browser interprets as true)\n if (\n value === false ||\n (el.tagName === 'SCRIPT' &&\n isBooleanScriptAttribute(attr) &&\n (!value || value === 'false'))\n ) {\n // Call setAttribute before, as we need to set and unset the attribute to override force async:\n // https://html.spec.whatwg.org/multipage/scripting.html#script-force-async\n el.setAttribute(attr, '')\n el.removeAttribute(attr)\n }\n }\n}\n"],"names":["setAttributesFromProps","DOMAttributeNames","acceptCharset","className","htmlFor","httpEquiv","noModule","ignoreProps","isBooleanScriptAttribute","attr","includes","el","props","p","value","Object","entries","hasOwnProperty","undefined","toLowerCase","tagName","setAttribute","String","removeAttribute"],"mappings":";;;+BAwBgBA,0BAAAA;;;eAAAA;;;AAxBhB,MAAMC,oBAA4C;IAChDC,eAAe;IACfC,WAAW;IACXC,SAAS;IACTC,WAAW;IACXC,UAAU;AACZ;AAEA,MAAMC,cAAc;IAClB;IACA;IACA;IACA;IACA;IACA;IACA;CACD;AAED,SAASC,yBACPC,IAAY;IAEZ,OAAO;QAAC;QAAS;QAAS;KAAW,CAACC,QAAQ,CAACD;AACjD;AAEO,SAAST,uBAAuBW,EAAe,EAAEC,KAAa;IACnE,KAAK,MAAM,CAACC,GAAGC,MAAM,IAAIC,OAAOC,OAAO,CAACJ,OAAQ;QAC9C,IAAI,CAACA,MAAMK,cAAc,CAACJ,IAAI;QAC9B,IAAIN,YAAYG,QAAQ,CAACG,IAAI;QAE7B,6CAA6C;QAC7C,IAAIC,UAAUI,WAAW;YACvB;QACF;QAEA,MAAMT,OAAOR,iBAAiB,CAACY,EAAE,IAAIA,EAAEM,WAAW;QAElD,IAAIR,GAAGS,OAAO,KAAK,YAAYZ,yBAAyBC,OAAO;YAC7D,6CAA6C;YAC7C,+CAA+C;;YAC7CE,EAAwB,CAACF,KAAK,GAAG,CAAC,CAACK;QACvC,OAAO;YACLH,GAAGU,YAAY,CAACZ,MAAMa,OAAOR;QAC/B;QAEA,6EAA6E;QAC7E,2GAA2G;QAC3G,IACEA,UAAU,SACTH,GAAGS,OAAO,KAAK,YACdZ,yBAAyBC,SACxB,CAAA,CAACK,SAASA,UAAU,OAAM,GAC7B;YACA,+FAA+F;YAC/F,2EAA2E;YAC3EH,GAAGU,YAAY,CAACZ,MAAM;YACtBE,GAAGY,eAAe,CAACd;QACrB;IACF;AACF","ignoreList":[0]}}, - {"offset": {"line": 115, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/app-bootstrap.ts"],"sourcesContent":["/**\n * Before starting the Next.js runtime and requiring any module, we need to make\n * sure the following scripts are executed in the correct order:\n * - Polyfills\n * - next/script with `beforeInteractive` strategy\n */\n\nimport { getAssetPrefix } from './asset-prefix'\nimport { setAttributesFromProps } from './set-attributes-from-props'\n\nconst version = process.env.__NEXT_VERSION\n\nwindow.next = {\n version,\n appDir: true,\n}\n\nfunction loadScriptsInSequence(\n scripts: [src: string, props: { [prop: string]: any }][],\n hydrate: () => void\n) {\n if (!scripts || !scripts.length) {\n return hydrate()\n }\n\n return scripts\n .reduce((promise, [src, props]) => {\n return promise.then(() => {\n return new Promise<void>((resolve, reject) => {\n const el = document.createElement('script')\n\n if (props) {\n setAttributesFromProps(el, props)\n }\n\n if (src) {\n el.src = src\n el.onload = () => resolve()\n el.onerror = reject\n } else if (props) {\n el.innerHTML = props.children\n setTimeout(resolve)\n }\n\n document.head.appendChild(el)\n })\n })\n }, Promise.resolve())\n .catch((err: Error) => {\n console.error(err)\n // Still try to hydrate even if there's an error.\n })\n .then(() => {\n hydrate()\n })\n}\n\nexport function appBootstrap(hydrate: (assetPrefix: string) => void) {\n const assetPrefix = getAssetPrefix()\n\n loadScriptsInSequence((self as any).__next_s, () => {\n // If the static shell is being debugged, skip hydration if the\n // `__nextppronly` query is present. This is only enabled when the\n // environment variable `__NEXT_EXPERIMENTAL_STATIC_SHELL_DEBUGGING` is\n // set to `1`. Otherwise the following is optimized out.\n if (process.env.__NEXT_EXPERIMENTAL_STATIC_SHELL_DEBUGGING === '1') {\n const search = new URLSearchParams(window.location.search)\n if (\n search.get('__nextppronly') === 'fallback' ||\n search.get('__nextppronly') === '1'\n ) {\n console.warn(\n `Skipping hydration due to __nextppronly=${search.get('__nextppronly')}`\n )\n return\n }\n }\n\n hydrate(assetPrefix)\n })\n}\n"],"names":["appBootstrap","version","process","env","__NEXT_VERSION","window","next","appDir","loadScriptsInSequence","scripts","hydrate","length","reduce","promise","src","props","then","Promise","resolve","reject","el","document","createElement","setAttributesFromProps","onload","onerror","innerHTML","children","setTimeout","head","appendChild","catch","err","console","error","assetPrefix","getAssetPrefix","self","__next_s","__NEXT_EXPERIMENTAL_STATIC_SHELL_DEBUGGING","search","URLSearchParams","location","get","warn"],"mappings":"AAiEQE,QAAQC,GAAG,CAACoC,0CAA0C,KAAK,KAAK;AAjExE;;;;;CAKC,GAAA;;;;+BAoDevC,gBAAAA;;;eAAAA;;;6BAlDe;wCACQ;AAEvC,MAAMC,UAAUC,QAAQC,GAAG,CAACC,cAAc;AAE1CC,OAAOC,IAAI,GAAG;IACZL;IACAM,QAAQ;AACV;AAEA,SAASC,sBACPC,OAAwD,EACxDC,OAAmB;IAEnB,IAAI,CAACD,WAAW,CAACA,QAAQE,MAAM,EAAE;QAC/B,OAAOD;IACT;IAEA,OAAOD,QACJG,MAAM,CAAC,CAACC,SAAS,CAACC,KAAKC,MAAM;QAC5B,OAAOF,QAAQG,IAAI,CAAC;YAClB,OAAO,IAAIC,QAAc,CAACC,SAASC;gBACjC,MAAMC,KAAKC,SAASC,aAAa,CAAC;gBAElC,IAAIP,OAAO;oBACTQ,CAAAA,GAAAA,wBAAAA,sBAAsB,EAACH,IAAIL;gBAC7B;gBAEA,IAAID,KAAK;oBACPM,GAAGN,GAAG,GAAGA;oBACTM,GAAGI,MAAM,GAAG,IAAMN;oBAClBE,GAAGK,OAAO,GAAGN;gBACf,OAAO,IAAIJ,OAAO;oBAChBK,GAAGM,SAAS,GAAGX,MAAMY,QAAQ;oBAC7BC,WAAWV;gBACb;gBAEAG,SAASQ,IAAI,CAACC,WAAW,CAACV;YAC5B;QACF;IACF,GAAGH,QAAQC,OAAO,IACjBa,KAAK,CAAC,CAACC;QACNC,QAAQC,KAAK,CAACF;IACd,iDAAiD;IACnD,GACChB,IAAI,CAAC;QACJN;IACF;AACJ;AAEO,SAASV,aAAaU,OAAsC;IACjE,MAAMyB,cAAcC,CAAAA,GAAAA,aAAAA,cAAc;IAElC5B,sBAAuB6B,KAAaC,QAAQ,EAAE;QAC5C,+DAA+D;QAC/D,kEAAkE;QAClE,uEAAuE;QACvE,wDAAwD;QACxD;;QAaA5B,QAAQyB;IACV;AACF","ignoreList":[0]}}, - {"offset": {"line": 190, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/react-client-callbacks/report-global-error.ts"],"sourcesContent":["export const reportGlobalError =\n typeof reportError === 'function'\n ? // In modern browsers, reportError will dispatch an error event,\n // emulating an uncaught JavaScript error.\n reportError\n : (error: unknown) => {\n // TODO: Dispatch error event\n globalThis.console.error(error)\n }\n"],"names":["reportGlobalError","reportError","error","globalThis","console"],"mappings":";;;+BAAaA,qBAAAA;;;eAAAA;;;AAAN,MAAMA,oBACX,OAAOC,gBAAgB,aAEnB,AACAA,cACA,CAACC,2BAFyC;IAGxC,6BAA6B;IAC7BC,WAAWC,OAAO,CAACF,KAAK,CAACA;AAC3B","ignoreList":[0]}}, - {"offset": {"line": 214, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/react-client-callbacks/on-recoverable-error.ts"],"sourcesContent":["// This module can be shared between both pages router and app router\n\nimport type { HydrationOptions } from 'react-dom/client'\nimport { isBailoutToCSRError } from '../../shared/lib/lazy-dynamic/bailout-to-csr'\nimport isError from '../../lib/is-error'\nimport { reportGlobalError } from './report-global-error'\n\nconst recoverableErrors = new WeakSet<Error>()\n\nexport function isRecoverableError(error: Error): boolean {\n return recoverableErrors.has(error)\n}\n\nexport const onRecoverableError: HydrationOptions['onRecoverableError'] = (\n error\n) => {\n // x-ref: https://github.com/facebook/react/pull/28736\n let cause = isError(error) && 'cause' in error ? error.cause : error\n // Skip certain custom errors which are not expected to be reported on client\n if (isBailoutToCSRError(cause)) return\n\n if (process.env.NODE_ENV !== 'production') {\n const { decorateDevError } =\n require('../../next-devtools/userspace/app/errors/stitched-error') as typeof import('../../next-devtools/userspace/app/errors/stitched-error')\n const causeError = decorateDevError(cause)\n recoverableErrors.add(causeError)\n cause = causeError\n }\n\n reportGlobalError(cause)\n}\n"],"names":["isRecoverableError","onRecoverableError","recoverableErrors","WeakSet","error","has","cause","isError","isBailoutToCSRError","process","env","NODE_ENV","decorateDevError","require","causeError","add","reportGlobalError"],"mappings":"AAqBMS,QAAQC,GAAG,CAACC,QAAQ,KAAK;AArB/B,qEAAqE;;;;;;;;;;;;;;;;IASrDX,kBAAkB,EAAA;eAAlBA;;IAIHC,kBAAkB,EAAA;eAAlBA;;;;8BAVuB;kEAChB;mCACc;AAElC,MAAMC,oBAAoB,IAAIC;AAEvB,SAASH,mBAAmBI,KAAY;IAC7C,OAAOF,kBAAkBG,GAAG,CAACD;AAC/B;AAEO,MAAMH,qBAA6D,CACxEG;IAEA,sDAAsD;IACtD,IAAIE,QAAQC,CAAAA,GAAAA,SAAAA,OAAO,EAACH,UAAU,WAAWA,QAAQA,MAAME,KAAK,GAAGF;IAC/D,6EAA6E;IAC7E,IAAII,CAAAA,GAAAA,cAAAA,mBAAmB,EAACF,QAAQ;IAEhC,wCAA2C;QACzC,MAAM,EAAEM,gBAAgB,EAAE,GACxBC,QAAQ;QACV,MAAMC,aAAaF,iBAAiBN;QACpCJ,kBAAkBa,GAAG,CAACD;QACtBR,QAAQQ;IACV;IAEAE,CAAAA,GAAAA,mBAAAA,iBAAiB,EAACV;AACpB","ignoreList":[0]}}, - {"offset": {"line": 270, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/http-access-fallback/http-access-fallback.ts"],"sourcesContent":["export const HTTPAccessErrorStatus = {\n NOT_FOUND: 404,\n FORBIDDEN: 403,\n UNAUTHORIZED: 401,\n}\n\nconst ALLOWED_CODES = new Set(Object.values(HTTPAccessErrorStatus))\n\nexport const HTTP_ERROR_FALLBACK_ERROR_CODE = 'NEXT_HTTP_ERROR_FALLBACK'\n\nexport type HTTPAccessFallbackError = Error & {\n digest: `${typeof HTTP_ERROR_FALLBACK_ERROR_CODE};${string}`\n}\n\n/**\n * Checks an error to determine if it's an error generated by\n * the HTTP navigation APIs `notFound()`, `forbidden()` or `unauthorized()`.\n *\n * @param error the error that may reference a HTTP access error\n * @returns true if the error is a HTTP access error\n */\nexport function isHTTPAccessFallbackError(\n error: unknown\n): error is HTTPAccessFallbackError {\n if (\n typeof error !== 'object' ||\n error === null ||\n !('digest' in error) ||\n typeof error.digest !== 'string'\n ) {\n return false\n }\n const [prefix, httpStatus] = error.digest.split(';')\n\n return (\n prefix === HTTP_ERROR_FALLBACK_ERROR_CODE &&\n ALLOWED_CODES.has(Number(httpStatus))\n )\n}\n\nexport function getAccessFallbackHTTPStatus(\n error: HTTPAccessFallbackError\n): number {\n const httpStatus = error.digest.split(';')[1]\n return Number(httpStatus)\n}\n\nexport function getAccessFallbackErrorTypeByStatus(\n status: number\n): 'not-found' | 'forbidden' | 'unauthorized' | undefined {\n switch (status) {\n case 401:\n return 'unauthorized'\n case 403:\n return 'forbidden'\n case 404:\n return 'not-found'\n default:\n return\n }\n}\n"],"names":["HTTPAccessErrorStatus","HTTP_ERROR_FALLBACK_ERROR_CODE","getAccessFallbackErrorTypeByStatus","getAccessFallbackHTTPStatus","isHTTPAccessFallbackError","NOT_FOUND","FORBIDDEN","UNAUTHORIZED","ALLOWED_CODES","Set","Object","values","error","digest","prefix","httpStatus","split","has","Number","status"],"mappings":";;;;;;;;;;;;;;;;;IAAaA,qBAAqB,EAAA;eAArBA;;IAQAC,8BAA8B,EAAA;eAA9BA;;IAuCGC,kCAAkC,EAAA;eAAlCA;;IAPAC,2BAA2B,EAAA;eAA3BA;;IAnBAC,yBAAyB,EAAA;eAAzBA;;;AArBT,MAAMJ,wBAAwB;IACnCK,WAAW;IACXC,WAAW;IACXC,cAAc;AAChB;AAEA,MAAMC,gBAAgB,IAAIC,IAAIC,OAAOC,MAAM,CAACX;AAErC,MAAMC,iCAAiC;AAavC,SAASG,0BACdQ,KAAc;IAEd,IACE,OAAOA,UAAU,YACjBA,UAAU,QACV,CAAE,CAAA,YAAYA,KAAI,KAClB,OAAOA,MAAMC,MAAM,KAAK,UACxB;QACA,OAAO;IACT;IACA,MAAM,CAACC,QAAQC,WAAW,GAAGH,MAAMC,MAAM,CAACG,KAAK,CAAC;IAEhD,OACEF,WAAWb,kCACXO,cAAcS,GAAG,CAACC,OAAOH;AAE7B;AAEO,SAASZ,4BACdS,KAA8B;IAE9B,MAAMG,aAAaH,MAAMC,MAAM,CAACG,KAAK,CAAC,IAAI,CAAC,EAAE;IAC7C,OAAOE,OAAOH;AAChB;AAEO,SAASb,mCACdiB,MAAc;IAEd,OAAQA;QACN,KAAK;YACH,OAAO;QACT,KAAK;YACH,OAAO;QACT,KAAK;YACH,OAAO;QACT;YACE;IACJ;AACF","ignoreList":[0]}}, - {"offset": {"line": 344, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/redirect-status-code.ts"],"sourcesContent":["export enum RedirectStatusCode {\n SeeOther = 303,\n TemporaryRedirect = 307,\n PermanentRedirect = 308,\n}\n"],"names":["RedirectStatusCode"],"mappings":";;;+BAAYA,sBAAAA;;;eAAAA;;;AAAL,IAAKA,qBAAAA,WAAAA,GAAAA,SAAAA,kBAAAA;;;;WAAAA","ignoreList":[0]}}, - {"offset": {"line": 370, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/redirect-error.ts"],"sourcesContent":["import { RedirectStatusCode } from './redirect-status-code'\n\nexport const REDIRECT_ERROR_CODE = 'NEXT_REDIRECT'\n\nexport enum RedirectType {\n push = 'push',\n replace = 'replace',\n}\n\nexport type RedirectError = Error & {\n digest: `${typeof REDIRECT_ERROR_CODE};${RedirectType};${string};${RedirectStatusCode};`\n}\n\n/**\n * Checks an error to determine if it's an error generated by the\n * `redirect(url)` helper.\n *\n * @param error the error that may reference a redirect error\n * @returns true if the error is a redirect error\n */\nexport function isRedirectError(error: unknown): error is RedirectError {\n if (\n typeof error !== 'object' ||\n error === null ||\n !('digest' in error) ||\n typeof error.digest !== 'string'\n ) {\n return false\n }\n\n const digest = error.digest.split(';')\n const [errorCode, type] = digest\n const destination = digest.slice(2, -2).join(';')\n const status = digest.at(-2)\n\n const statusCode = Number(status)\n\n return (\n errorCode === REDIRECT_ERROR_CODE &&\n (type === 'replace' || type === 'push') &&\n typeof destination === 'string' &&\n !isNaN(statusCode) &&\n statusCode in RedirectStatusCode\n )\n}\n"],"names":["REDIRECT_ERROR_CODE","RedirectType","isRedirectError","error","digest","split","errorCode","type","destination","slice","join","status","at","statusCode","Number","isNaN","RedirectStatusCode"],"mappings":";;;;;;;;;;;;;;;IAEaA,mBAAmB,EAAA;eAAnBA;;IAEDC,YAAY,EAAA;eAAZA;;IAgBIC,eAAe,EAAA;eAAfA;;;oCApBmB;AAE5B,MAAMF,sBAAsB;AAE5B,IAAKC,eAAAA,WAAAA,GAAAA,SAAAA,YAAAA;;;WAAAA;;AAgBL,SAASC,gBAAgBC,KAAc;IAC5C,IACE,OAAOA,UAAU,YACjBA,UAAU,QACV,CAAE,CAAA,YAAYA,KAAI,KAClB,OAAOA,MAAMC,MAAM,KAAK,UACxB;QACA,OAAO;IACT;IAEA,MAAMA,SAASD,MAAMC,MAAM,CAACC,KAAK,CAAC;IAClC,MAAM,CAACC,WAAWC,KAAK,GAAGH;IAC1B,MAAMI,cAAcJ,OAAOK,KAAK,CAAC,GAAG,CAAC,GAAGC,IAAI,CAAC;IAC7C,MAAMC,SAASP,OAAOQ,EAAE,CAAC,CAAC;IAE1B,MAAMC,aAAaC,OAAOH;IAE1B,OACEL,cAAcN,uBACbO,CAAAA,SAAS,aAAaA,SAAS,MAAK,KACrC,OAAOC,gBAAgB,YACvB,CAACO,MAAMF,eACPA,cAAcG,oBAAAA,kBAAkB;AAEpC","ignoreList":[0]}}, - {"offset": {"line": 424, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/is-next-router-error.ts"],"sourcesContent":["import {\n isHTTPAccessFallbackError,\n type HTTPAccessFallbackError,\n} from './http-access-fallback/http-access-fallback'\nimport { isRedirectError, type RedirectError } from './redirect-error'\n\n/**\n * Returns true if the error is a navigation signal error. These errors are\n * thrown by user code to perform navigation operations and interrupt the React\n * render.\n */\nexport function isNextRouterError(\n error: unknown\n): error is RedirectError | HTTPAccessFallbackError {\n return isRedirectError(error) || isHTTPAccessFallbackError(error)\n}\n"],"names":["isNextRouterError","error","isRedirectError","isHTTPAccessFallbackError"],"mappings":";;;+BAWgBA,qBAAAA;;;eAAAA;;;oCART;+BAC6C;AAO7C,SAASA,kBACdC,KAAc;IAEd,OAAOC,CAAAA,GAAAA,eAAAA,eAAe,EAACD,UAAUE,CAAAA,GAAAA,oBAAAA,yBAAyB,EAACF;AAC7D","ignoreList":[0]}}, - {"offset": {"line": 449, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/lib/console.ts"],"sourcesContent":["import isError from '../../lib/is-error'\n\nfunction formatObject(arg: unknown, depth: number) {\n switch (typeof arg) {\n case 'object':\n if (arg === null) {\n return 'null'\n } else if (Array.isArray(arg)) {\n let result = '['\n if (depth < 1) {\n for (let i = 0; i < arg.length; i++) {\n if (result !== '[') {\n result += ','\n }\n if (Object.prototype.hasOwnProperty.call(arg, i)) {\n result += formatObject(arg[i], depth + 1)\n }\n }\n } else {\n result += arg.length > 0 ? '...' : ''\n }\n result += ']'\n return result\n } else if (arg instanceof Error) {\n return arg + ''\n } else {\n const keys = Object.keys(arg)\n let result = '{'\n if (depth < 1) {\n for (let i = 0; i < keys.length; i++) {\n const key = keys[i]\n const desc = Object.getOwnPropertyDescriptor(arg, 'key')\n if (desc && !desc.get && !desc.set) {\n const jsonKey = JSON.stringify(key)\n if (jsonKey !== '\"' + key + '\"') {\n result += jsonKey + ': '\n } else {\n result += key + ': '\n }\n result += formatObject(desc.value, depth + 1)\n }\n }\n } else {\n result += keys.length > 0 ? '...' : ''\n }\n result += '}'\n return result\n }\n case 'string':\n return JSON.stringify(arg)\n case 'number':\n case 'bigint':\n case 'boolean':\n case 'symbol':\n case 'undefined':\n case 'function':\n default:\n return String(arg)\n }\n}\n\nexport function formatConsoleArgs(args: unknown[]): string {\n let message: string\n let idx: number\n if (typeof args[0] === 'string') {\n message = args[0]\n idx = 1\n } else {\n message = ''\n idx = 0\n }\n let result = ''\n let startQuote = false\n for (let i = 0; i < message.length; ++i) {\n const char = message[i]\n if (char !== '%' || i === message.length - 1 || idx >= args.length) {\n result += char\n continue\n }\n\n const code = message[++i]\n switch (code) {\n case 'c': {\n // TODO: We should colorize with HTML instead of turning into a string.\n // Ignore for now.\n result = startQuote ? `${result}]` : `[${result}`\n startQuote = !startQuote\n idx++\n break\n }\n case 'O':\n case 'o': {\n result += formatObject(args[idx++], 0)\n break\n }\n case 'd':\n case 'i': {\n result += parseInt(args[idx++] as any, 10)\n break\n }\n case 'f': {\n result += parseFloat(args[idx++] as any)\n break\n }\n case 's': {\n result += String(args[idx++])\n break\n }\n default:\n result += '%' + code\n }\n }\n\n for (; idx < args.length; idx++) {\n result += (idx > 0 ? ' ' : '') + formatObject(args[idx], 0)\n }\n\n return result\n}\n\nexport function parseConsoleArgs(args: unknown[]): {\n environmentName: string | null\n error: Error | null\n} {\n // See\n // https://github.com/facebook/react/blob/65a56d0e99261481c721334a3ec4561d173594cd/packages/react-devtools-shared/src/backend/flight/renderer.js#L88-L93\n //\n // Logs replayed from the server look like this:\n // [\n // \"%c%s%c%o\\n\\n%s\\n\\n%s\\n\",\n // \"background: #e6e6e6; ...\",\n // \" Server \", // can also be e.g. \" Prerender \"\n // \"\",\n // Error,\n // \"The above error occurred in the <Page> component.\",\n // ...\n // ]\n if (\n args.length > 3 &&\n typeof args[0] === 'string' &&\n args[0].startsWith('%c%s%c') &&\n typeof args[1] === 'string' &&\n typeof args[2] === 'string' &&\n typeof args[3] === 'string'\n ) {\n const environmentName = args[2]\n const maybeError = args[4]\n\n return {\n environmentName: environmentName.trim(),\n error: isError(maybeError) ? maybeError : null,\n }\n }\n\n return {\n environmentName: null,\n error: null,\n }\n}\n"],"names":["formatConsoleArgs","parseConsoleArgs","formatObject","arg","depth","Array","isArray","result","i","length","Object","prototype","hasOwnProperty","call","Error","keys","key","desc","getOwnPropertyDescriptor","get","set","jsonKey","JSON","stringify","value","String","args","message","idx","startQuote","char","code","parseInt","parseFloat","startsWith","environmentName","maybeError","trim","error","isError"],"mappings":";;;;;;;;;;;;;;IA6DgBA,iBAAiB,EAAA;eAAjBA;;IA2DAC,gBAAgB,EAAA;eAAhBA;;;;kEAxHI;AAEpB,SAASC,aAAaC,GAAY,EAAEC,KAAa;IAC/C,OAAQ,OAAOD;QACb,KAAK;YACH,IAAIA,QAAQ,MAAM;gBAChB,OAAO;YACT,OAAO,IAAIE,MAAMC,OAAO,CAACH,MAAM;gBAC7B,IAAII,SAAS;gBACb,IAAIH,QAAQ,GAAG;oBACb,IAAK,IAAII,IAAI,GAAGA,IAAIL,IAAIM,MAAM,EAAED,IAAK;wBACnC,IAAID,WAAW,KAAK;4BAClBA,UAAU;wBACZ;wBACA,IAAIG,OAAOC,SAAS,CAACC,cAAc,CAACC,IAAI,CAACV,KAAKK,IAAI;4BAChDD,UAAUL,aAAaC,GAAG,CAACK,EAAE,EAAEJ,QAAQ;wBACzC;oBACF;gBACF,OAAO;oBACLG,UAAUJ,IAAIM,MAAM,GAAG,IAAI,QAAQ;gBACrC;gBACAF,UAAU;gBACV,OAAOA;YACT,OAAO,IAAIJ,eAAeW,OAAO;gBAC/B,OAAOX,MAAM;YACf,OAAO;gBACL,MAAMY,OAAOL,O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,IAAI,CAAC,EAAE;QAE1B,OAAO;YACLS,iBAAiBA,gBAAgBE,IAAI;YACrCC,OAAOC,CAAAA,GAAAA,SAAAA,OAAO,EAACH,cAAcA,aAAa;QAC5C;IACF;IAEA,OAAO;QACLD,iBAAiB;QACjBG,OAAO;IACT;AACF","ignoreList":[0]}}, - {"offset": {"line": 628, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/app-globals.ts"],"sourcesContent":["// imports polyfill from `@next/polyfill-module` after build.\nimport '../build/polyfills/polyfill-module'\n\n// Only setup devtools in development\nif (process.env.NODE_ENV !== 'production') {\n require('../next-devtools/userspace/app/app-dev-overlay-setup') as typeof import('../next-devtools/userspace/app/app-dev-overlay-setup')\n}\n"],"names":["process","env","NODE_ENV","require"],"mappings":"AAIIA,QAAQC,GAAG,CAACC,QAAQ,KAAK;AAJ7B,6DAA6D;;;;;;AAG7D,qCAAqC;AACrC,wCAA2C;;AAE3C","ignoreList":[0]}}, - {"offset": {"line": 650, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/readonly-url-search-params.ts"],"sourcesContent":["/**\n * ReadonlyURLSearchParams implementation shared between client and server.\n * This file is intentionally not marked as 'use client' or 'use server'\n * so it can be imported by both environments.\n */\n\n/** @internal */\nclass ReadonlyURLSearchParamsError extends Error {\n constructor() {\n super(\n 'Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams'\n )\n }\n}\n\n/**\n * A read-only version of URLSearchParams that throws errors when mutation methods are called.\n * This ensures that the URLSearchParams returned by useSearchParams() cannot be mutated.\n */\nexport class ReadonlyURLSearchParams extends URLSearchParams {\n /** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */\n append() {\n throw new ReadonlyURLSearchParamsError()\n }\n /** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */\n delete() {\n throw new ReadonlyURLSearchParamsError()\n }\n /** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */\n set() {\n throw new ReadonlyURLSearchParamsError()\n }\n /** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */\n sort() {\n throw new ReadonlyURLSearchParamsError()\n }\n}\n"],"names":["ReadonlyURLSearchParams","ReadonlyURLSearchParamsError","Error","constructor","URLSearchParams","append","delete","set","sort"],"mappings":"AAAA;;;;CAIC,GAED,cAAc;;;+BAaDA,2BAAAA;;;eAAAA;;;AAZb,MAAMC,qCAAqCC;IACzCC,aAAc;QACZ,KAAK,CACH;IAEJ;AACF;AAMO,MAAMH,gCAAgCI;IAC3C,wKAAwK,GACxKC,SAAS;QACP,MAAM,IAAIJ;IACZ;IACA,wKAAwK,GACxKK,SAAS;QACP,MAAM,IAAIL;IACZ;IACA,wKAAwK,GACxKM,MAAM;QACJ,MAAM,IAAIN;IACZ;IACA,wKAAwK,GACxKO,OAAO;QACL,MAAM,IAAIP;IACZ;AACF","ignoreList":[0]}}, - {"offset": {"line": 693, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/app-router-headers.ts"],"sourcesContent":["export const RSC_HEADER = 'rsc' as const\nexport const ACTION_HEADER = 'next-action' as const\n// TODO: Instead of sending the full router state, we only need to send the\n// segment path. Saves bytes. Then we could also use this field for segment\n// prefetches, which also need to specify a particular segment.\nexport const NEXT_ROUTER_STATE_TREE_HEADER = 'next-router-state-tree' as const\nexport const NEXT_ROUTER_PREFETCH_HEADER = 'next-router-prefetch' as const\n// This contains the path to the segment being prefetched.\n// TODO: If we change next-router-state-tree to be a segment path, we can use\n// that instead. Then next-router-prefetch and next-router-segment-prefetch can\n// be merged into a single enum.\nexport const NEXT_ROUTER_SEGMENT_PREFETCH_HEADER =\n 'next-router-segment-prefetch' as const\nexport const NEXT_HMR_REFRESH_HEADER = 'next-hmr-refresh' as const\nexport const NEXT_HMR_REFRESH_HASH_COOKIE = '__next_hmr_refresh_hash__' as const\nexport const NEXT_URL = 'next-url' as const\nexport const RSC_CONTENT_TYPE_HEADER = 'text/x-component' as const\n\nexport const FLIGHT_HEADERS = [\n RSC_HEADER,\n NEXT_ROUTER_STATE_TREE_HEADER,\n NEXT_ROUTER_PREFETCH_HEADER,\n NEXT_HMR_REFRESH_HEADER,\n NEXT_ROUTER_SEGMENT_PREFETCH_HEADER,\n] as const\n\nexport const NEXT_RSC_UNION_QUERY = '_rsc' as const\n\nexport const NEXT_ROUTER_STALE_TIME_HEADER = 'x-nextjs-stale-time' as const\nexport const NEXT_DID_POSTPONE_HEADER = 'x-nextjs-postponed' as const\nexport const NEXT_REWRITTEN_PATH_HEADER = 'x-nextjs-rewritten-path' as const\nexport const NEXT_REWRITTEN_QUERY_HEADER = 'x-nextjs-rewritten-query' as const\nexport const NEXT_IS_PRERENDER_HEADER = 'x-nextjs-prerender' as const\nexport const NEXT_ACTION_NOT_FOUND_HEADER = 'x-nextjs-action-not-found' as const\nexport const NEXT_REQUEST_ID_HEADER = 'x-nextjs-request-id' as const\nexport const NEXT_HTML_REQUEST_ID_HEADER = 'x-nextjs-html-request-id' as const\n\n// TODO: Should this include nextjs in the name, like the others?\nexport const NEXT_ACTION_REVALIDATED_HEADER = 'x-action-revalidated' as const\n"],"names":["ACTION_HEADER","FLIGHT_HEADERS","NEXT_ACTION_NOT_FOUND_HEADER","NEXT_ACTION_REVALIDATED_HEADER","NEXT_DID_POSTPONE_HEADER","NEXT_HMR_REFRESH_HASH_COOKIE","NEXT_HMR_REFRESH_HEADER","NEXT_HTML_REQUEST_ID_HEADER","NEXT_IS_PRERENDER_HEADER","NEXT_REQUEST_ID_HEADER","NEXT_REWRITTEN_PATH_H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,8BAA8B;AACpC,MAAMH,2BAA2B;AACjC,MAAMN,+BAA+B;AACrC,MAAMO,yBAAyB;AAC/B,MAAMF,8BAA8B;AAGpC,MAAMJ,iCAAiC","ignoreList":[0]}}, - {"offset": {"line": 823, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/navigation-untracked.ts"],"sourcesContent":["import { useContext } from 'react'\nimport { PathnameContext } from '../../shared/lib/hooks-client-context.shared-runtime'\n\n/**\n * This checks to see if the current render has any unknown route parameters that\n * would cause the pathname to be dynamic. It's used to trigger a different\n * render path in the error boundary.\n *\n * @returns true if there are any unknown route parameters, false otherwise\n */\nfunction hasFallbackRouteParams(): boolean {\n if (typeof window === 'undefined') {\n // AsyncLocalStorage should not be included in the client bundle.\n const { workUnitAsyncStorage } =\n require('../../server/app-render/work-unit-async-storage.external') as typeof import('../../server/app-render/work-unit-async-storage.external')\n\n const workUnitStore = workUnitAsyncStorage.getStore()\n if (!workUnitStore) return false\n\n switch (workUnitStore.type) {\n case 'prerender':\n case 'prerender-client':\n case 'prerender-ppr':\n const fallbackParams = workUnitStore.fallbackRouteParams\n return fallbackParams ? fallbackParams.size > 0 : false\n case 'prerender-legacy':\n case 'request':\n case 'prerender-runtime':\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n break\n default:\n workUnitStore satisfies never\n }\n\n return false\n }\n\n return false\n}\n\n/**\n * This returns a `null` value if there are any unknown route parameters, and\n * otherwise returns the pathname from the context. This is an alternative to\n * `usePathname` that is used in the error boundary to avoid rendering the\n * error boundary when there are unknown route parameters. This doesn't throw\n * when accessed with unknown route parameters.\n *\n * @returns\n *\n * @internal\n */\nexport function useUntrackedPathname(): string | null {\n // If there are any unknown route parameters we would typically throw\n // an error, but this internal method allows us to return a null value instead\n // for components that do not propagate the pathname to the static shell (like\n // the error boundary).\n if (hasFallbackRouteParams()) {\n return null\n }\n\n // This shouldn't cause any issues related to conditional rendering because\n // the environment will be consistent for the render.\n // eslint-disable-next-line react-hooks/rules-of-hooks\n return useContext(PathnameContext)\n}\n"],"names":["useUntrackedPathname","hasFallbackRouteParams","window","workUnitAsyncStorage","require","workUnitStore","getStore","type","fallbackParams","fallbackRouteParams","size","useContext","PathnameContext"],"mappings":";;;+BAqDgBA,wBAAAA;;;eAAAA;;;uBArDW;iDACK;AAEhC;;;;;;CAMC,GACD,SAASC;IACP,IAAI,OAAOC,WAAW,aAAa;QACjC,iEAAiE;QACjE,MAAM,EAAEC,oBAAoB,EAAE,GAC5BC,QAAQ;QAEV,MAAMC,gBAAgBF,qBAAqBG,QAAQ;QACnD,IAAI,CAACD,eAAe,OAAO;QAE3B,OAAQA,cAAcE,IAAI;YACxB,KAAK;YACL,KAAK;YACL,KAAK;gBACH,MAAMC,iBAAiBH,cAAcI,mBAAmB;gBACxD,OAAOD,iBAAiBA,eAAeE,IAAI,GAAG,IAAI;YACpD,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;gBACH;YACF;gBACEL;QACJ;QAEA,OAAO;IACT;IAEA,OAAO;AACT;AAaO,SAASL;IACd,qEAAqE;IACrE,8EAA8E;IAC9E,8EAA8E;IAC9E,uBAAuB;IACvB,IAAIC,0BAA0B;QAC5B,OAAO;IACT;IAEA,2EAA2E;IAC3E,qDAAqD;IACrD,sDAAsD;IACtD,OAAOU,CAAAA,GAAAA,OAAAA,UAAU,EAACC,iCAAAA,eAAe;AACnC","ignoreList":[0]}}, - {"offset": {"line": 890, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/router-reducer/create-href-from-url.ts"],"sourcesContent":["export function createHrefFromUrl(\n url: Pick<URL, 'pathname' | 'search' | 'hash'>,\n includeHash: boolean = true\n): string {\n return url.pathname + url.search + (includeHash ? url.hash : '')\n}\n"],"names":["createHrefFromUrl","url","includeHash","pathname","search","hash"],"mappings":";;;+BAAgBA,qBAAAA;;;eAAAA;;;AAAT,SAASA,kBACdC,GAA8C,EAC9CC,cAAuB,IAAI;IAE3B,OAAOD,IAAIE,QAAQ,GAAGF,IAAIG,MAAM,GAAIF,CAAAA,cAAcD,IAAII,IAAI,GAAG,EAAC;AAChE","ignoreList":[0]}}, - {"offset": {"line": 913, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/nav-failure-handler.ts"],"sourcesContent":["import { useEffect } from 'react'\nimport { createHrefFromUrl } from './router-reducer/create-href-from-url'\n\nexport function handleHardNavError(error: unknown): boolean {\n if (\n error &&\n typeof window !== 'undefined' &&\n window.next.__pendingUrl &&\n createHrefFromUrl(new URL(window.location.href)) !==\n createHrefFromUrl(window.next.__pendingUrl)\n ) {\n console.error(\n `Error occurred during navigation, falling back to hard navigation`,\n error\n )\n window.location.href = window.next.__pendingUrl.toString()\n return true\n }\n return false\n}\n\nexport function useNavFailureHandler() {\n if (process.env.__NEXT_APP_NAV_FAIL_HANDLING) {\n // this if is only for DCE of the feature flag not conditional\n // eslint-disable-next-line react-hooks/rules-of-hooks\n useEffect(() => {\n const uncaughtExceptionHandler = (\n evt: ErrorEvent | PromiseRejectionEvent\n ) => {\n const error = 'reason' in evt ? evt.reason : evt.error\n // if we have an unhandled exception/rejection during\n // a navigation we fall back to a hard navigation to\n // attempt recovering to a good state\n handleHardNavError(error)\n }\n window.addEventListener('unhandledrejection', uncaughtExceptionHandler)\n window.addEventListener('error', uncaughtExceptionHandler)\n return () => {\n window.removeEventListener('error', uncaughtExceptionHandler)\n window.removeEventListener(\n 'unhandledrejection',\n uncaughtExceptionHandler\n )\n }\n }, [])\n }\n}\n"],"names":["handleHardNavError","useNavFailureHandler","error","window","next","__pendingUrl","createHrefFromUrl","URL","location","href","console","toString","process","env","__NEXT_APP_NAV_FAIL_HANDLING","useEffect","uncaughtExceptionHandler","evt","reason","addEventListener","removeEventListener"],"mappings":"AAsBMY,QAAQC,GAAG,CAACC,4BAA4B,EAAE;;;;;;;;;;;;;;;;IAnBhCd,kBAAkB,EAAA;eAAlBA;;IAkBAC,oBAAoB,EAAA;eAApBA;;;uBArBU;mCACQ;AAE3B,SAASD,mBAAmBE,KAAc;IAC/C,IACEA,SACA,OAAOC,WAAW,eAClBA,OAAOC,IAAI,CAACC,YAAY,IACxBC,CAAAA,GAAAA,mBAAAA,iBAAiB,EAAC,IAAIC,IAAIJ,OAAOK,QAAQ,CAACC,IAAI,OAC5CH,CAAAA,GAAAA,mBAAAA,iBAAiB,EAACH,OAAOC,IAAI,CAACC,YAAY,GAC5C;QACAK,QAAQR,KAAK,CACX,CAAC,iEAAiE,CAAC,EACnEA;QAEFC,OAAOK,QAAQ,CAACC,IAAI,GAAGN,OAAOC,IAAI,CAACC,YAAY,CAACM,QAAQ;QACxD,OAAO;IACT;IACA,OAAO;AACT;AAEO,SAASV;IACd;;AAwBF","ignoreList":[0]}}, - {"offset": {"line": 961, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/handle-isr-error.tsx"],"sourcesContent":["const workAsyncStorage =\n typeof window === 'undefined'\n ? (\n require('../../server/app-render/work-async-storage.external') as typeof import('../../server/app-render/work-async-storage.external')\n ).workAsyncStorage\n : undefined\n\n// if we are revalidating we want to re-throw the error so the\n// function crashes so we can maintain our previous cache\n// instead of caching the error page\nexport function HandleISRError({ error }: { error: any }) {\n if (workAsyncStorage) {\n const store = workAsyncStorage.getStore()\n if (store?.isStaticGeneration) {\n if (error) {\n console.error(error)\n }\n throw error\n }\n }\n\n return null\n}\n"],"names":["HandleISRError","workAsyncStorage","window","require","undefined","error","store","getStore","isStaticGeneration","console"],"mappings":";;;+BAUgBA,kBAAAA;;;eAAAA;;;AAVhB,MAAMC,mBACJ,OAAOC,WAAW,cAEZC,QAAQ,+HACRF,gBAAgB,GAClBG;AAKC,SAASJ,eAAe,EAAEK,KAAK,EAAkB;IACtD,IAAIJ,kBAAkB;QACpB,MAAMK,QAAQL,iBAAiBM,QAAQ;QACvC,IAAID,OAAOE,oBAAoB;YAC7B,IAAIH,OAAO;gBACTI,QAAQJ,KAAK,CAACA;YAChB;YACA,MAAMA;QACR;IACF;IAEA,OAAO;AACT","ignoreList":[0]}}, - {"offset": {"line": 994, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/error-boundary.tsx"],"sourcesContent":["'use client'\n\nimport React, { type JSX } from 'react'\nimport { useUntrackedPathname } from './navigation-untracked'\nimport { isNextRouterError } from './is-next-router-error'\nimport { handleHardNavError } from './nav-failure-handler'\nimport { HandleISRError } from './handle-isr-error'\nimport { isBot } from '../../shared/lib/router/utils/is-bot'\n\nconst isBotUserAgent =\n typeof window !== 'undefined' && isBot(window.navigator.userAgent)\n\nexport type ErrorComponent = React.ComponentType<{\n error: Error\n // global-error, there's no `reset` function;\n // regular error boundary, there's a `reset` function.\n reset?: () => void\n}>\n\nexport interface ErrorBoundaryProps {\n children?: React.ReactNode\n errorComponent: ErrorComponent | undefined\n errorStyles?: React.ReactNode | undefined\n errorScripts?: React.ReactNode | undefined\n}\n\ninterface ErrorBoundaryHandlerProps extends ErrorBoundaryProps {\n pathname: string | null\n errorComponent: ErrorComponent\n}\n\ninterface ErrorBoundaryHandlerState {\n error: Error | null\n previousPathname: string | null\n}\n\nexport class ErrorBoundaryHandler extends React.Component<\n ErrorBoundaryHandlerProps,\n ErrorBoundaryHandlerState\n> {\n constructor(props: ErrorBoundaryHandlerProps) {\n super(props)\n this.state = { error: null, previousPathname: this.props.pathname }\n }\n\n static getDerivedStateFromError(error: Error) {\n if (isNextRouterError(error)) {\n // Re-throw if an expected internal Next.js router error occurs\n // this means it should be handled by a different boundary (such as a NotFound boundary in a parent segment)\n throw error\n }\n\n return { error }\n }\n\n static getDerivedStateFromProps(\n props: ErrorBoundaryHandlerProps,\n state: ErrorBoundaryHandlerState\n ): ErrorBoundaryHandlerState | null {\n const { error } = state\n\n // if we encounter an error while\n // a navigation is pending we shouldn't render\n // the error boundary and instead should fallback\n // to a hard navigation to attempt recovering\n if (process.env.__NEXT_APP_NAV_FAIL_HANDLING) {\n if (error && handleHardNavError(error)) {\n // clear error so we don't render anything\n return {\n error: null,\n previousPathname: props.pathname,\n }\n }\n }\n\n /**\n * Handles reset of the error boundary when a navigation happens.\n * Ensures the error boundary does not stay enabled when navigating to a new page.\n * Approach of setState in render is safe as it checks the previous pathname and then overrides\n * it as outlined in https://react.dev/reference/react/useState#storing-information-from-previous-renders\n */\n if (props.pathname !== state.previousPathname && state.error) {\n return {\n error: null,\n previousPathname: props.pathname,\n }\n }\n return {\n error: state.error,\n previousPathname: props.pathname,\n }\n }\n\n reset = () => {\n this.setState({ error: null })\n }\n\n // Explicit type is needed to avoid the generated `.d.ts` having a wide return type that could be specific to the `@types/react` version.\n render(): React.ReactNode {\n //When it's bot request, segment level error boundary will keep rendering the children,\n // the final error will be caught by the root error boundary and determine wether need to apply graceful degrade.\n if (this.state.error && !isBotUserAgent) {\n return (\n <>\n <HandleISRError error={this.state.error} />\n {this.props.errorStyles}\n {this.props.errorScripts}\n <this.props.errorComponent\n error={this.state.error}\n reset={this.reset}\n />\n </>\n )\n }\n\n return this.props.children\n }\n}\n\n/**\n * Handles errors through `getDerivedStateFromError`.\n * Renders the provided error component and provides a way to `reset` the error boundary state.\n */\n\n/**\n * Renders error boundary with the provided \"errorComponent\" property as the fallback.\n * If no \"errorComponent\" property is provided it renders the children without an error boundary.\n */\nexport function ErrorBoundary({\n errorComponent,\n errorStyles,\n errorScripts,\n children,\n}: ErrorBoundaryProps & {\n children: React.ReactNode\n}): JSX.Element {\n // When we're rendering the missing params shell, this will return null. This\n // is because we won't be rendering any not found boundaries or error\n // boundaries for the missing params shell. When this runs on the client\n // (where these errors can occur), we will get the correct pathname.\n const pathname = useUntrackedPathname()\n if (errorComponent) {\n return (\n <ErrorBoundaryHandler\n pathname={pathname}\n errorComponent={errorComponent}\n errorStyles={errorStyles}\n errorScripts={errorScripts}\n >\n {children}\n </ErrorBoundaryHandler>\n )\n }\n\n return <>{children}</>\n}\n"],"names":["ErrorBoundary","ErrorBoundaryHandler","isBotUserAgent","window","isBot","navigator","userAgent","React","Component","constructor","props","reset","setState","error","state","previousPathname","pathname","getDerivedStateFromError","isNextRouterError","getDerivedStateFromProps","process","env","__NEXT_APP_NAV_FAIL_HANDLING","handleHardNavError","render","HandleISRError","errorStyles","errorScripts","this","errorComponent","children","useUntrackedPathname"],"mappings":"AAiEQoB,QAAQC,GAAG,CAACC,4BAA4B,EAAE;AAjElD;;;;;;;;;;;;;;;;IAgIgBtB,aAAa,EAAA;eAAbA;;IA5FHC,oBAAoB,EAAA;eAApBA;;;;;gEAlCmB;qCACK;mCACH;mCACC;gCACJ;uBACT;AAEtB,MAAMC,iBACJ,OAAOC,WAAW,eAAeC,CAAAA,GAAAA,OAAAA,KAAK,EAACD,OAAOE,SAAS,CAACC,SAAS;AA0B5D,MAAML,6BAA6BM,OAAAA,OAAK,CAACC,SAAS;IAIvDC,YAAYC,KAAgC,CAAE;QAC5C,KAAK,CAACA,QAAAA,IAAAA,CAoDRC,KAAAA,GAAQ;YACN,IAAI,CAACC,QAAQ,CAAC;gBAAEC,OAAO;YAAK;QAC9B;QArDE,IAAI,CAACC,KAAK,GAAG;YAAED,OAAO;YAAME,kBAAkB,IAAI,CAACL,KAAK,CAACM,QAAQ;QAAC;IACpE;IAEA,OAAOC,yBAAyBJ,KAAY,EAAE;QAC5C,IAAIK,CAAAA,GAAAA,mBAAAA,iBAAiB,EAACL,QAAQ;YAC5B,+DAA+D;YAC/D,4GAA4G;YAC5G,MAAMA;QACR;QAEA,OAAO;YAAEA;QAAM;IACjB;IAEA,OAAOM,yBACLT,KAAgC,EAChCI,KAAgC,EACE;QAClC,MAAM,EAAED,KAAK,EAAE,GAAGC;QAElB,iCAAiC;QACjC,8CAA8C;QAC9C,iDAAiD;QACjD,6CAA6C;QAC7C;;QAUA;;;;;KAKC,GACD,IAAIJ,MAAMM,QAAQ,KAAKF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}}, - {"offset": {"line": 1125, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/builtin/global-error.tsx"],"sourcesContent":["'use client'\n\nimport { HandleISRError } from '../handle-isr-error'\n\nconst styles = {\n error: {\n // https://github.com/sindresorhus/modern-normalize/blob/main/modern-normalize.css#L38-L52\n fontFamily:\n 'system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"',\n height: '100vh',\n textAlign: 'center',\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n justifyContent: 'center',\n },\n text: {\n fontSize: '14px',\n fontWeight: 400,\n lineHeight: '28px',\n margin: '0 8px',\n },\n} as const\n\nexport type GlobalErrorComponent = React.ComponentType<{\n error: any\n}>\nfunction DefaultGlobalError({ error }: { error: any }) {\n const digest: string | undefined = error?.digest\n return (\n <html id=\"__next_error__\">\n <head></head>\n <body>\n <HandleISRError error={error} />\n <div style={styles.error}>\n <div>\n <h2 style={styles.text}>\n Application error: a {digest ? 'server' : 'client'}-side exception\n has occurred while loading {window.location.hostname} (see the{' '}\n {digest ? 'server logs' : 'browser console'} for more\n information).\n </h2>\n {digest ? <p style={styles.text}>{`Digest: ${digest}`}</p> : null}\n </div>\n </div>\n </body>\n </html>\n )\n}\n\n// Exported so that the import signature in the loaders can be identical to user\n// supplied custom global error signatures.\nexport default DefaultGlobalError\n"],"names":["styles","error","fontFamily","height","textAlign","display","flexDirection","alignItems","justifyContent","text","fontSize","fontWeight","lineHeight","margin","DefaultGlobalError","digest","html","id","head","body","HandleISRError","div","style","h2","window","location","hostname","p"],"mappings":";;;+BAmDA,AADA,2CAC2C,qCADqC;AAEhF,WAAA;;;eAAA;;;;gCAlD+B;AAE/B,MAAMA,SAAS;IACbC,OAAO;QACL,0FAA0F;QAC1FC,YACE;QACFC,QAAQ;QACRC,WAAW;QACXC,SAAS;QACTC,eAAe;QACfC,YAAY;QACZC,gBAAgB;IAClB;IACAC,MAAM;QACJC,UAAU;QACVC,YAAY;QACZC,YAAY;QACZC,QAAQ;IACV;AACF;AAKA,SAASC,mBAAmB,EAAEb,KAAK,EAAkB;IACnD,MAAMc,SAA6Bd,OAAOc;IAC1C,OAAA,WAAA,GACE,CAAA,GAAA,YAAA,IAAA,EAACC,QAAAA;QAAKC,IAAG;;0BACP,CAAA,GAAA,YAAA,GAAA,EAACC,QAAAA,CAAAA;0BACD,CAAA,GAAA,YAAA,IAAA,EAACC,QAAAA;;kCACC,CAAA,GAAA,YAAA,GAAA,EAACC,gBAAAA,cAAc,EAAA;wBAACnB,OAAOA;;kCACvB,CAAA,GAAA,YAAA,GAAA,EAACoB,OAAAA;wBAAIC,OAAOtB,OAAOC,KAAK;kCACtB,WAAA,GAAA,CAAA,GAAA,YAAA,IAAA,EAACoB,OAAAA;;8CACC,CAAA,GAAA,YAAA,IAAA,EAACE,MAAAA;oCAAGD,OAAOtB,OAAOS,IAAI;;wCAAE;wCACAM,SAAS,WAAW;wCAAS;wCACvBS,OAAOC,QAAQ,CAACC,QAAQ;wCAAC;wCAAU;wCAC9DX,SAAS,gBAAgB;wCAAkB;;;gCAG7CA,SAAAA,WAAAA,GAAS,CAAA,GAAA,YAAA,GAAA,EAACY,KAAAA;oCAAEL,OAAOtB,OAAOS,IAAI;8CAAG,CAAC,QAAQ,EAAEM,QAAQ;qCAAQ;;;;;;;;AAMzE;MAIA,WAAeD","ignoreList":[0]}}, - {"offset": {"line": 1207, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/dev/runtime-error-handler.ts"],"sourcesContent":["export const RuntimeErrorHandler = {\n hadRuntimeError: false,\n}\n"],"names":["RuntimeErrorHandler","hadRuntimeError"],"mappings":";;;+BAAaA,uBAAAA;;;eAAAA;;;AAAN,MAAMA,sBAAsB;IACjCC,iBAAiB;AACnB","ignoreList":[0]}}, - {"offset": {"line": 1230, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/not-found.ts"],"sourcesContent":["import {\n HTTP_ERROR_FALLBACK_ERROR_CODE,\n type HTTPAccessFallbackError,\n} from './http-access-fallback/http-access-fallback'\n\n/**\n * This function allows you to render the [not-found.js file](https://nextjs.org/docs/app/api-reference/file-conventions/not-found)\n * within a route segment as well as inject a tag.\n *\n * `notFound()` can be used in\n * [Server Components](https://nextjs.org/docs/app/building-your-application/rendering/server-components),\n * [Route Handlers](https://nextjs.org/docs/app/building-your-application/routing/route-handlers), and\n * [Server Actions](https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations).\n *\n * - In a Server Component, this will insert a `<meta name=\"robots\" content=\"noindex\" />` meta tag and set the status code to 404.\n * - In a Route Handler or Server Action, it will serve a 404 to the caller.\n *\n * Read more: [Next.js Docs: `notFound`](https://nextjs.org/docs/app/api-reference/functions/not-found)\n */\n\nconst DIGEST = `${HTTP_ERROR_FALLBACK_ERROR_CODE};404`\n\nexport function notFound(): never {\n const error = new Error(DIGEST) as HTTPAccessFallbackError\n ;(error as HTTPAccessFallbackError).digest = DIGEST\n\n throw error\n}\n"],"names":["notFound","DIGEST","HTTP_ERROR_FALLBACK_ERROR_CODE","error","Error","digest"],"mappings":";;;+BAsBgBA,YAAAA;;;eAAAA;;;oCAnBT;AAEP;;;;;;;;;;;;;CAaC,GAED,MAAMC,SAAS,GAAGC,oBAAAA,8BAA8B,CAAC,IAAI,CAAC;AAE/C,SAASF;IACd,MAAMG,QAAQ,OAAA,cAAiB,CAAjB,IAAIC,MAAMH,SAAV,qBAAA;eAAA;oBAAA;sBAAA;IAAgB;IAC5BE,MAAkCE,MAAM,GAAGJ;IAE7C,MAAME;AACR","ignoreList":[0]}}, - {"offset": {"line": 1274, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/react-client-callbacks/error-boundary-callbacks.ts"],"sourcesContent":["// This file is only used in app router due to the specific error state handling.\n\nimport type { ErrorInfo } from 'react'\nimport { isNextRouterError } from '../components/is-next-router-error'\nimport { isBailoutToCSRError } from '../../shared/lib/lazy-dynamic/bailout-to-csr'\nimport { reportGlobalError } from './report-global-error'\nimport { ErrorBoundaryHandler } from '../components/error-boundary'\nimport DefaultErrorBoundary from '../components/builtin/global-error'\n\nconst devToolErrorMod: typeof import('../../next-devtools/userspace/app/errors') =\n process.env.NODE_ENV !== 'production'\n ? (require('../../next-devtools/userspace/app/errors') as typeof import('../../next-devtools/userspace/app/errors'))\n : {\n decorateDevError: (error: unknown) => error as Error,\n handleClientError: () => {},\n originConsoleError: console.error.bind(console),\n }\n\nexport function onCaughtError(\n thrownValue: unknown,\n errorInfo: ErrorInfo & { errorBoundary?: React.Component }\n) {\n const errorBoundaryComponent = errorInfo.errorBoundary?.constructor\n\n let isImplicitErrorBoundary\n\n if (process.env.NODE_ENV !== 'production') {\n const { AppDevOverlayErrorBoundary } =\n require('../../next-devtools/userspace/app/app-dev-overlay-error-boundary') as typeof import('../../next-devtools/userspace/app/app-dev-overlay-error-boundary')\n\n isImplicitErrorBoundary =\n errorBoundaryComponent === AppDevOverlayErrorBoundary\n }\n\n isImplicitErrorBoundary =\n isImplicitErrorBoundary ||\n (errorBoundaryComponent === ErrorBoundaryHandler &&\n (errorInfo.errorBoundary! as InstanceType<typeof ErrorBoundaryHandler>)\n .props.errorComponent === DefaultErrorBoundary)\n\n // Skip the segment explorer triggered error\n if (process.env.NODE_ENV !== 'production') {\n const { SEGMENT_EXPLORER_SIMULATED_ERROR_MESSAGE } =\n require('../../next-devtools/userspace/app/segment-explorer-node') as typeof import('../../next-devtools/userspace/app/segment-explorer-node')\n if (\n thrownValue instanceof Error &&\n thrownValue.message === SEGMENT_EXPLORER_SIMULATED_ERROR_MESSAGE\n ) {\n return\n }\n }\n\n if (isImplicitErrorBoundary) {\n // We don't consider errors caught unless they're caught by an explicit error\n // boundary. The built-in ones are considered implicit.\n // This mimics how the same app would behave without Next.js.\n return onUncaughtError(thrownValue)\n }\n\n // Skip certain custom errors which are not expected to be reported on client\n if (isBailoutToCSRError(thrownValue) || isNextRouterError(thrownValue)) return\n\n if (process.env.NODE_ENV !== 'production') {\n const errorBoundaryName =\n // read react component displayName\n (errorBoundaryComponent as any)?.displayName ||\n errorBoundaryComponent?.name ||\n 'Unknown'\n\n const componentThatErroredFrame = errorInfo?.componentStack?.split('\\n')[1]\n\n // Match chrome or safari stack trace\n const matches =\n // regex to match the function name in the stack trace\n // example 1: at Page (http://localhost:3000/_next/static/chunks/pages/index.js?ts=1631600000000:2:1)\n // example 2: Page@http://localhost:3000/_next/static/chunks/pages/index.js?ts=1631600000000:2:1\n componentThatErroredFrame?.match(/\\s+at (\\w+)\\s+|(\\w+)@/) ?? []\n const componentThatErroredName = matches[1] || matches[2] || 'Unknown'\n\n // Create error location with errored component and error boundary, to match the behavior of default React onCaughtError handler.\n const errorBoundaryMessage = `It was handled by the <${errorBoundaryName}> error boundary.`\n const componentErrorMessage = componentThatErroredName\n ? `The above error occurred in the <${componentThatErroredName}> component.`\n : `The above error occurred in one of your components.`\n\n const errorLocation = `${componentErrorMessage} ${errorBoundaryMessage}`\n const error = devToolErrorMod.decorateDevError(thrownValue)\n\n // Log and report the error with location but without modifying the error stack\n devToolErrorMod.originConsoleError('%o\\n\\n%s', thrownValue, errorLocation)\n\n devToolErrorMod.handleClientError(error)\n } else {\n devToolErrorMod.originConsoleError(thrownValue)\n }\n}\n\nexport function onUncaughtError(thrownValue: unknown) {\n // Skip certain custom errors which are not expected to be reported on client\n if (isBailoutToCSRError(thrownValue) || isNextRouterError(thrownValue)) return\n\n if (process.env.NODE_ENV !== 'production') {\n const error = devToolErrorMod.decorateDevError(thrownValue)\n\n // TODO: Add an adendum to the overlay telling people about custom error boundaries.\n reportGlobalError(error)\n } else {\n reportGlobalError(thrownValue)\n }\n}\n"],"names":["onCaughtError","onUncaughtError","devToolErrorMod","process","env","NODE_ENV","require","decorateDevError","error","handleClientError","originConsoleError","console","bind","thrownValue","errorInfo","errorBoundaryComponent","errorBoundary","constructor","isImplicitErrorBoundary","AppDevOverlayErrorBoundary","ErrorBoundaryHandler","props","errorComponent","DefaultErrorBoundary","SEGMENT_EXPLORER_SIMULATED_ERROR_MESSAGE","Error","message","isBailoutToCSRError","isNextRouterError","errorBoundaryName","displayName","name","componentThatErroredFrame","componentStack","split","matches","match","componentThatErroredName","errorBoundaryMessage","componentErrorMessage","errorLocation","reportGlobalError"],"mappings":"AAUEG,QAAQC,GAAG,CAACC,QAAQ,KAAK,eACpBC,QAAQ;AAXf,iFAAiF;;;;;;;;;;;;;;;;IAkBjEN,aAAa,EAAA;eAAbA;;IA+EAC,eAAe,EAAA;eAAfA;;;;mCA9FkB;8BACE;mCACF;+BACG;sEACJ;AAEjC,MAAMC,6LAGA;AAMC,SAASF,cACda,WAAoB,EACpBC,SAA0D;IAE1D,MAAMC,yBAAyBD,UAAUE,aAAa,EAAEC;IAExD,IAAIC;IAEJ,IAAIf,QAAQC,GAAG,CAACC,QAAQ,KAAK,WAAc;QACzC,MAAM,EAAEc,0BAA0B,EAAE,GAClCb,QAAQ;QAEVY,0BACEH,2BAA2BI;IAC/B;IAEAD,0BACEA,2BACCH,2BAA2BK,eAAAA,oBAAoB,IAC7CN,UAAUE,aAAa,CACrBK,KAAK,CAACC,cAAc,KAAKC,aAAAA,OAAoB;IAEpD,4CAA4C;IAC5C,IAAIpB,QAAQC,GAAG,CAACC,QAAQ,KAAK,WAAc;QACzC,MAAM,EAAEmB,wCAAwC,EAAE,GAChDlB,QAAQ;QACV,IACEO,uBAAuBY,SACvBZ,YAAYa,OAAO,KAAKF,0CACxB;YACA;QACF;IACF;IAEA,IAAIN,yBAAyB;QAC3B,6EAA6E;QAC7E,uDAAuD;QACvD,6DAA6D;QAC7D,OAAOjB,gBAAgBY;IACzB;IAEA,6EAA6E;IAC7E,IAAIc,CAAAA,GAAAA,cAAAA,mBAAmB,EAACd,gBAAgBe,CAAAA,GAAAA,mBAAAA,iBAAiB,EAACf,cAAc;IAExE,IAAIV,QAAQC,GAAG,CAACC,QAAQ,KAAK,WAAc;QACzC,MAAMwB,oBAEJ,AADA,AACCd,wBAAgCe,WADE,IAEnCf,wBAAwBgB,QACxB;QAEF,MAAMC,4BAA4BlB,WAAWmB,gBAAgBC,MAAM,KAAK,CAAC,EAAE;QAE3E,qCAAqC;QACrC,MAAMC,UACJ,AACA,sDADsD,+CAC+C;QACrG,gGAAgG;QAChGH,2BAA2BI,MAAM,4BAA4B,EAAE;QACjE,MAAMC,2BAA2BF,OAAO,CAAC,EAAE,IAAIA,OAAO,CAAC,EAAE,IAAI;QAE7D,iIAAiI;QACjI,MAAMG,uBAAuB,CAAC,uBAAuB,EAAET,kBAAkB,iBAAiB,CAAC;QAC3F,MAAMU,wBAAwBF,uCAC1B,CAAC,iCAAiC,EAAEA,yBAAyB,YAAY,CAAC,GAC1E,CAAC,mDAAmD,CAAC;QAEzD,MAAMG,gBAAgB,GAAGD,sBAAsB,CAAC,EAAED,sBAAsB;QACxE,MAAM9B,QAAQN,gBAAgBK,gBAAgB,CAACM;QAE/C,+EAA+E;QAC/EX,gBAAgBQ,kBAAkB,CAAC,YAAYG,aAAa2B;QAE5DtC,gBAAgBO,iBAAiB,CAACD;IACpC,OAAO;;AAGT;AAEO,SAASP,gBAAgBY,WAAoB;IAClD,6EAA6E;IAC7E,IAAIc,CAAAA,GAAAA,cAAAA,mBAAmB,EAACd,gBAAgBe,CAAAA,GAAAA,mBAAAA,iBAAiB,EAACf,cAAc;IAExE,IAAIV,QAAQC,GAAG,CAACC,QAAQ,KAAK,WAAc;QACzC,MAAMG,QAAQN,gBAAgBK,gBAAgB,CAACM;QAE/C,oFAAoF;QACpF4B,CAAAA,GAAAA,mBAAAA,iBAAiB,EAACjC;IACpB,OAAO;;AAGT","ignoreList":[0]}}, - {"offset": {"line": 1368, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/router-reducer/router-reducer-types.ts"],"sourcesContent":["import type { CacheNode } from '../../../shared/lib/app-router-types'\nimport type {\n FlightRouterState,\n FlightSegmentPath,\n} from '../../../shared/lib/app-router-types'\nimport type { NavigationSeed } from '../segment-cache/navigation'\nimport type { FetchServerResponseResult } from './fetch-server-response'\n\nexport const ACTION_REFRESH = 'refresh'\nexport const ACTION_NAVIGATE = 'navigate'\nexport const ACTION_RESTORE = 'restore'\nexport const ACTION_SERVER_PATCH = 'server-patch'\nexport const ACTION_HMR_REFRESH = 'hmr-refresh'\nexport const ACTION_SERVER_ACTION = 'server-action'\n\nexport type RouterChangeByServerResponse = ({\n navigatedAt,\n previousTree,\n serverResponse,\n}: {\n navigatedAt: number\n previousTree: FlightRouterState\n serverResponse: FetchServerResponseResult\n}) => void\n\nexport interface Mutable {\n mpaNavigation?: boolean\n patchedTree?: FlightRouterState\n renderedSearch?: string\n canonicalUrl?: string\n scrollableSegments?: FlightSegmentPath[]\n pendingPush?: boolean\n cache?: CacheNode\n hashFragment?: string\n shouldScroll?: boolean\n preserveCustomHistoryState?: boolean\n onlyHashChange?: boolean\n collectedDebugInfo?: Array<unknown>\n}\n\nexport interface ServerActionMutable extends Mutable {\n inFlightServerAction?: Promise<any> | null\n}\n\n/**\n * Refresh triggers a refresh of the full page data.\n * - fetches the Flight data and fills rsc at the root of the cache.\n * - The router state is updated at the root.\n */\nexport interface RefreshAction {\n type: typeof ACTION_REFRESH\n}\n\nexport interface HmrRefreshAction {\n type: typeof ACTION_HMR_REFRESH\n}\n\nexport type ServerActionDispatcher = (\n args: Omit<\n ServerActionAction,\n 'type' | 'mutable' | 'navigate' | 'changeByServerResponse' | 'cache'\n >\n) => void\n\nexport interface ServerActionAction {\n type: typeof ACTION_SERVER_ACTION\n actionId: string\n actionArgs: any[]\n resolve: (value: any) => void\n reject: (reason?: any) => void\n didRevalidate?: boolean\n}\n\n/**\n * Navigate triggers a navigation to the provided url. It supports two types: `push` and `replace`.\n *\n * `navigateType`:\n * - `push` - pushes a new history entry in the browser history\n * - `replace` - replaces the current history entry in the browser history\n *\n * Navigate has multiple cache heuristics:\n * - page was prefetched\n * - Apply router state tree from prefetch\n * - Apply Flight data from prefetch to the cache\n * - If Flight data is a string, it's a redirect and the state is updated to trigger a redirect\n * - Check if hard navigation is needed\n * - Hard navigation happens when a dynamic parameter below the common layout changed\n * - When hard navigation is needed the cache is invalidated below the flightSegmentPath\n * - The missing cache nodes of the page will be fetched in layout-router and trigger the SERVER_PATCH action\n * - If hard navigation is not needed\n * - The cache is reused\n * - If any cache nodes are missing they'll be fetched in layout-router and trigger the SERVER_PATCH action\n * - page was not prefetched\n * - The navigate was called from `next/router` (`router.push()` / `router.replace()`) / `next/link` without prefetched data available (e.g. the prefetch didn't come back from the server before clicking the link)\n * - Flight data is fetched in the reducer (suspends the reducer)\n * - Router state tree is created based on Flight data\n * - Cache is filled based on the Flight data\n *\n * Above steps explain 3 cases:\n * - `soft` - Reuses the existing cache and fetches missing nodes in layout-router.\n * - `hard` - Creates a new cache where cache nodes are removed below the common layout and fetches missing nodes in layout-router.\n * - `optimistic` (explicit no prefetch) - Creates a new cache and kicks off the data fetch in the reducer. The data fetch is awaited in the layout-router.\n */\nexport interface NavigateAction {\n type: typeof ACTION_NAVIGATE\n url: URL\n isExternalUrl: boolean\n locationSearch: Location['search']\n navigateType: 'push' | 'replace'\n shouldScroll: boolean\n}\n\n/**\n * Restore applies the provided router state.\n * - Used for `popstate` (back/forward navigation) where a known router state has to be applied.\n * - Also used when syncing the router state with `pushState`/`replaceState` calls.\n * - Router state is applied as-is from the history state, if available.\n * - If the history state does not contain the router state, the existing router state is used.\n * - If any cache node is missing it will be fetched in layout-router during rendering and the server-patch case.\n * - If existing cache nodes match these are used.\n */\nexport interface RestoreAction {\n type: typeof ACTION_RESTORE\n url: URL\n historyState: AppHistoryState | undefined\n}\n\nexport type AppHistoryState = {\n tree: FlightRouterState\n renderedSearch: string\n}\n\n/**\n * Server-patch applies the provided Flight data to the cache and router tree.\n */\nexport interface ServerPatchAction {\n type: typeof ACTION_SERVER_PATCH\n previousTree: FlightRouterState\n url: URL\n nextUrl: string | null\n seed: NavigationSeed | null\n mpa: boolean\n}\n\n/**\n * PrefetchKind defines the type of prefetching that should be done.\n * - `auto` - if the page is dynamic, prefetch the page data partially, if static prefetch the page data fully.\n * - `full` - prefetch the page data fully.\n */\n\nexport enum PrefetchKind {\n AUTO = 'auto',\n FULL = 'full',\n}\n\n/**\n * Prefetch adds the provided FlightData to the prefetch cache\n * - Creates the router state tree based on the patch in FlightData\n * - Adds the FlightData to the prefetch cache\n * - In ACTION_NAVIGATE the prefetch cache is checked and the router state tree and FlightData are applied.\n */\n\nexport interface PushRef {\n /**\n * If the app-router should push a new history entry in app-router's useEffect()\n */\n pendingPush: boolean\n /**\n * Multi-page navigation through location.href.\n */\n mpaNavigation: boolean\n /**\n * Skip applying the router state to the browser history state.\n */\n preserveCustomHistoryState: boolean\n}\n\nexport type FocusAndScrollRef = {\n /**\n * If focus and scroll should be set in the layout-router's useEffect()\n */\n apply: boolean\n /**\n * The hash fragment that should be scrolled to.\n */\n hashFragment: string | null\n /**\n * The paths of the segments that should be focused.\n */\n segmentPaths: FlightSegmentPath[]\n /**\n * If only the URLs hash fragment changed\n */\n onlyHashChange: boolean\n}\n\n/**\n * Handles keeping the state of app-router.\n */\nexport type AppRouterState = {\n /**\n * The router state, this is written into the history state in app-router using replaceState/pushState.\n * - Has to be serializable as it is written into the history state.\n * - Holds which segments and parallel routes are shown on the screen.\n */\n tree: FlightRouterState\n /**\n * The cache holds React nodes for every segment that is shown on screen as well as previously shown segments.\n * It also holds in-progress data requests.\n */\n cache: CacheNode\n /**\n * Decides if the update should create a new history entry and if the navigation has to trigger a browser navigation.\n */\n pushRef: PushRef\n /**\n * Decides if the update should apply scroll and focus management.\n */\n focusAndScrollRef: FocusAndScrollRef\n /**\n * The canonical url that is pushed/replaced.\n * - This is the url you see in the browser.\n */\n canonicalUrl: string\n renderedSearch: string\n /**\n * The underlying \"url\" representing the UI state, which is used for intercepting routes.\n */\n nextUrl: string | null\n\n /**\n * The previous next-url that was used previous to a dynamic navigation.\n */\n previousNextUrl: string | null\n\n debugInfo: Array<unknown> | null\n}\n\nexport type ReadonlyReducerState = Readonly<AppRouterState>\nexport type ReducerState =\n | (Promise<AppRouterState> & { _debugInfo?: Array<unknown> })\n | AppRouterState\nexport type ReducerActions = Readonly<\n | RefreshAction\n | NavigateAction\n | RestoreAction\n | ServerPatchAction\n | HmrRefreshAction\n | ServerActionAction\n>\n"],"names":["ACTION_HMR_REFRESH","ACTION_NAVIGATE","ACTION_REFRESH","ACTION_RESTORE","ACTION_SERVER_ACTION","ACTION_SERVER_PATCH","PrefetchKind"],"mappings":";;;;;;;;;;;;;;;;;;;IAYaA,kBAAkB,EAAA;eAAlBA;;IAHAC,eAAe,EAAA;eAAfA;;IADAC,cAAc,EAAA;eAAdA;;IAEAC,cAAc,EAAA;eAAdA;;IAGAC,oBAAoB,EAAA;eAApBA;;IAFAC,mBAAmB,EAAA;eAAnBA;;IA2IDC,YAAY,EAAA;eAAZA;;;AA9IL,MAAMJ,iBAAiB;AACvB,MAAMD,kBAAkB;AACxB,MAAME,iBAAiB;AACvB,MAAME,sBAAsB;AAC5B,MAAML,qBAAqB;AAC3B,MAAMI,uBAAuB;AAyI7B,IAAKE,eAAAA,WAAAA,GAAAA,SAAAA,YAAAA;;;WAAAA","ignoreList":[0]}}, - {"offset": {"line": 1431, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/use-action-queue.ts"],"sourcesContent":["import type { Dispatch } from 'react'\nimport React, { use, useMemo } from 'react'\nimport { isThenable } from '../../shared/lib/is-thenable'\nimport type { AppRouterActionQueue } from './app-router-instance'\nimport type {\n AppRouterState,\n ReducerActions,\n ReducerState,\n} from './router-reducer/router-reducer-types'\n\n// The app router state lives outside of React, so we can import the dispatch\n// method directly wherever we need it, rather than passing it around via props\n// or context.\nlet dispatch: Dispatch<ReducerActions> | null = null\n\nexport function dispatchAppRouterAction(action: ReducerActions) {\n if (dispatch === null) {\n throw new Error(\n 'Internal Next.js error: Router action dispatched before initialization.'\n )\n }\n dispatch(action)\n}\n\nconst __DEV__ = process.env.NODE_ENV !== 'production'\nconst promisesWithDebugInfo: WeakMap<\n Promise<AppRouterState>,\n Promise<AppRouterState> & { _debugInfo?: Array<unknown> }\n> = __DEV__ ? new WeakMap() : (null as any)\n\nexport function useActionQueue(\n actionQueue: AppRouterActionQueue\n): AppRouterState {\n const [state, setState] = React.useState<ReducerState>(actionQueue.state)\n\n // Because of a known issue that requires to decode Flight streams inside the\n // render phase, we have to be a bit clever and assign the dispatch method to\n // a module-level variable upon initialization. The useState hook in this\n // module only exists to synchronize state that lives outside of React.\n // Ideally, what we'd do instead is pass the state as a prop to root.render;\n // this is conceptually how we're modeling the app router state, despite the\n // weird implementation details.\n if (process.env.NODE_ENV !== 'production') {\n const { useAppDevRenderingIndicator } =\n require('../../next-devtools/userspace/use-app-dev-rendering-indicator') as typeof import('../../next-devtools/userspace/use-app-dev-rendering-indicator')\n // eslint-disable-next-line react-hooks/rules-of-hooks\n const appDevRenderingIndicator = useAppDevRenderingIndicator()\n\n dispatch = (action: ReducerActions) => {\n appDevRenderingIndicator(() => {\n actionQueue.dispatch(action, setState)\n })\n }\n } else {\n dispatch = (action: ReducerActions) =>\n actionQueue.dispatch(action, setState)\n }\n\n // When navigating to a non-prefetched route, then App Router state will be\n // blocked until the server responds. We need to transfer the `_debugInfo`\n // from the underlying Flight response onto the top-level promise that is\n // passed to React (via `use`) so that the latency is accurately represented\n // in the React DevTools.\n const stateWithDebugInfo = useMemo(() => {\n if (!__DEV__) {\n return state\n }\n\n if (isThenable(state)) {\n // useMemo can't be used to cache a Promise since the memoized value is thrown\n // away when we suspend. So we use a WeakMap to cache the Promise with debug info.\n let promiseWithDebugInfo = promisesWithDebugInfo.get(state)\n if (promiseWithDebugInfo === undefined) {\n const debugInfo: Array<unknown> = []\n promiseWithDebugInfo = Promise.resolve(state).then((asyncState) => {\n if (asyncState.debugInfo !== null) {\n debugInfo.push(...asyncState.debugInfo)\n }\n return asyncState\n }) as Promise<AppRouterState> & { _debugInfo?: Array<unknown> }\n promiseWithDebugInfo._debugInfo = debugInfo\n\n promisesWithDebugInfo.set(state, promiseWithDebugInfo)\n }\n\n return promiseWithDebugInfo\n }\n return state\n }, [state])\n\n return isThenable(stateWithDebugInfo)\n ? use(stateWithDebugInfo)\n : stateWithDebugInfo\n}\n"],"names":["dispatchAppRouterAction","useActionQueue","dispatch","action","Error","__DEV__","process","env","NODE_ENV","promisesWithDebugInfo","WeakMap","actionQueue","state","setState","React","useState","useAppDevRenderingIndicator","require","appDevRenderingIndicator","stateWithDebugInfo","useMemo","isThenable","promiseWithDebugInfo","get","undefined","debugInfo","Promise","resolve","then","asyncState","push","_debugInfo","set","use"],"mappings":"AAwBgBM,QAAQC,GAAG,CAACC,QAAQ;;;;;;;;;;;;;;;;IATpBR,uBAAuB,EAAA;eAAvBA;;IAeAC,cAAc,EAAA;eAAdA;;;;iEA7BoB;4BACT;AAQ3B,6EAA6E;AAC7E,+EAA+E;AAC/E,cAAc;AACd,IAAIC,WAA4C;AAEzC,SAASF,wBAAwBG,MAAsB;IAC5D,IAAID,aAAa,MAAM;QACrB,MAAM,OAAA,cAEL,CAFK,IAAIE,MACR,4EADI,qBAAA;mBAAA;wBAAA;0BAAA;QAEN;IACF;IACAF,SAASC;AACX;AAEA,MAAME,8DAAmC;AACzC,MAAMI,wBAGFJ,uCAAU,IAAIK,YAAa;AAExB,SAAST,eACdU,WAAiC;IAEjC,MAAM,CAACC,OAAOC,SAAS,GAAGC,OAAAA,OAAK,CAACC,QAAQ,CAAeJ,YAAYC,KAAK;IAExE,6EAA6E;IAC7E,6EAA6E;IAC7E,yEAAyE;IACzE,uEAAuE;IACvE,4EAA4E;IAC5E,4EAA4E;IAC5E,gCAAgC;IAChC,IAAIN,QAAQC,GAAG,CAACC,QAAQ,KAAK,WAAc;QACzC,MAAM,EAAEQ,2BAA2B,EAAE,GACnCC,QAAQ;QACV,sDAAsD;QACtD,MAAMC,2BAA2BF;QAEjCd,WAAW,CAACC;YACVe,yBAAyB;gBACvBP,YAAYT,QAAQ,CAACC,QAAQU;YAC/B;QACF;IACF,OAAO;;IAKP,2EAA2E;IAC3E,0EAA0E;IAC1E,yEAAyE;IACzE,4EAA4E;IAC5E,yBAAyB;IACzB,MAAMM,qBAAqBC,CAAAA,GAAAA,OAAAA,OAAO,EAAC;QACjC,IAAI,CAACf,SAAS;;QAId,IAAIgB,CAAAA,GAAAA,YAAAA,UAAU,EAACT,QAAQ;YACrB,8EAA8E;YAC9E,kFAAkF;YAClF,IAAIU,uBAAuBb,sBAAsBc,GAAG,CAACX;YACrD,IAAIU,yBAAyBE,WAAW;gBACtC,MAAMC,YAA4B,EAAE;gBACpCH,uBAAuBI,QAAQC,OAAO,CAACf,OAAOgB,IAAI,CAAC,CAACC;oBAClD,IAAIA,WAAWJ,SAAS,KAAK,MAAM;wBACjCA,UAAUK,IAAI,IAAID,WAAWJ,SAAS;oBACxC;oBACA,OAAOI;gBACT;gBACAP,qBAAqBS,UAAU,GAAGN;gBAElChB,sBAAsBuB,GAAG,CAACpB,OAAOU;YACnC;YAEA,OAAOA;QACT;QACA,OAAOV;IACT,GAAG;QAACA;KAAM;IAEV,OAAOS,CAAAA,GAAAA,YAAAA,UAAU,EAACF,sBACdc,CAAAA,GAAAA,OAAAA,GAAG,EAACd,sBACJA;AACN","ignoreList":[0]}}, - {"offset": {"line": 1535, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/app-call-server.ts"],"sourcesContent":["import { startTransition } from 'react'\nimport { ACTION_SERVER_ACTION } from './components/router-reducer/router-reducer-types'\nimport { dispatchAppRouterAction } from './components/use-action-queue'\n\nexport async function callServer(actionId: string, actionArgs: any[]) {\n return new Promise((resolve, reject) => {\n startTransition(() => {\n dispatchAppRouterAction({\n type: ACTION_SERVER_ACTION,\n actionId,\n actionArgs,\n resolve,\n reject,\n })\n })\n })\n}\n"],"names":["callServer","actionId","actionArgs","Promise","resolve","reject","startTransition","dispatchAppRouterAction","type","ACTION_SERVER_ACTION"],"mappings":";;;+BAIsBA,cAAAA;;;eAAAA;;;uBAJU;oCACK;gCACG;AAEjC,eAAeA,WAAWC,QAAgB,EAAEC,UAAiB;IAClE,OAAO,IAAIC,QAAQ,CAACC,SAASC;QAC3BC,CAAAA,GAAAA,OAAAA,eAAe,EAAC;YACdC,CAAAA,GAAAA,gBAAAA,uBAAuB,EAAC;gBACtBC,MAAMC,oBAAAA,oBAAoB;gBAC1BR;gBACAC;gBACAE;gBACAC;YACF;QACF;IACF;AACF","ignoreList":[0]}}, - {"offset": {"line": 1571, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/app-find-source-map-url.ts"],"sourcesContent":["const basePath = process.env.__NEXT_ROUTER_BASEPATH || ''\nconst pathname = `${basePath}/__nextjs_source-map`\n\nexport const findSourceMapURL =\n process.env.NODE_ENV === 'development'\n ? function findSourceMapURL(filename: string): string | null {\n if (filename === '') {\n return null\n }\n\n if (\n filename.startsWith(document.location.origin) &&\n filename.includes('/_next/static')\n ) {\n // This is a request for a client chunk. This can only happen when\n // using Turbopack. In this case, since we control how those source\n // maps are generated, we can safely assume that the sourceMappingURL\n // is relative to the filename, with an added `.map` extension. The\n // browser can just request this file, and it gets served through the\n // normal dev server, without the need to route this through\n // the `/__nextjs_source-map` dev middleware.\n return `${filename}.map`\n }\n\n const url = new URL(pathname, document.location.origin)\n url.searchParams.set('filename', filename)\n\n return url.href\n }\n : undefined\n"],"names":["findSourceMapURL","basePath","process","env","__NEXT_ROUTER_BASEPATH","pathname","NODE_ENV","filename","startsWith","document","location","origin","includes","url","URL","searchParams","set","href","undefined"],"mappings":"AAAiBE,QAAQC,GAAG,CAACC,sBAAsB;;;;;+BAGtCJ,oBAAAA;;;eAAAA;;;AAHb,MAAMC,mDAAiD;AACvD,MAAMI,WAAW,GAAGJ,SAAS,oBAAoB,CAAC;AAE3C,MAAMD,mBACXE,QAAQC,GAAG,CAACG,QAAQ,KAAK,cACrB,SAASN,iBAAiBO,QAAgB;IACxC,IAAIA,aAAa,IAAI;QACnB,OAAO;IACT;IAEA,IACEA,SAASC,UAAU,CAACC,SAASC,QAAQ,CAACC,MAAM,KAC5CJ,SAASK,QAAQ,CAAC,kBAClB;QACA,kEAAkE;QAClE,mEAAmE;QACnE,qEAAqE;QACrE,mEAAmE;QACnE,qEAAqE;QACrE,4DAA4D;QAC5D,6CAA6C;QAC7C,OAAO,GAAGL,SAAS,IAAI,CAAC;IAC1B;IAEA,MAAMM,MAAM,IAAIC,IAAIT,UAAUI,SAASC,QAAQ,CAACC,MAAM;IACtDE,IAAIE,YAAY,CAACC,GAAG,CAAC,YAAYT;IAEjC,OAAOM,IAAII,IAAI;AACjB,IACAC","ignoreList":[0]}}, - {"offset": {"line": 1613, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/match-segments.ts"],"sourcesContent":["import type { Segment } from '../../shared/lib/app-router-types'\n\nexport const matchSegment = (\n existingSegment: Segment,\n segment: Segment\n): boolean => {\n // segment is either Array or string\n if (typeof existingSegment === 'string') {\n if (typeof segment === 'string') {\n // Common case: segment is just a string\n return existingSegment === segment\n }\n return false\n }\n\n if (typeof segment === 'string') {\n return false\n }\n return existingSegment[0] === segment[0] && existingSegment[1] === segment[1]\n}\n"],"names":["matchSegment","existingSegment","segment"],"mappings":";;;+BAEaA,gBAAAA;;;eAAAA;;;AAAN,MAAMA,eAAe,CAC1BC,iBACAC;IAEA,oCAAoC;IACpC,IAAI,OAAOD,oBAAoB,UAAU;QACvC,IAAI,OAAOC,YAAY,UAAU;YAC/B,wCAAwC;YACxC,OAAOD,oBAAoBC;QAC7B;QACA,OAAO;IACT;IAEA,IAAI,OAAOA,YAAY,UAAU;QAC/B,OAAO;IACT;IACA,OAAOD,eAAe,CAAC,EAAE,KAAKC,OAAO,CAAC,EAAE,IAAID,eAAe,CAAC,EAAE,KAAKC,OAAO,CAAC,EAAE;AAC/E","ignoreList":[0]}}, - {"offset": {"line": 1647, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/router-reducer/compute-changed-path.ts"],"sourcesContent":["import type {\n FlightRouterState,\n Segment,\n} from '../../../shared/lib/app-router-types'\nimport { INTERCEPTION_ROUTE_MARKERS } from '../../../shared/lib/router/utils/interception-routes'\nimport type { Params } from '../../../server/request/params'\nimport {\n isGroupSegment,\n DEFAULT_SEGMENT_KEY,\n PAGE_SEGMENT_KEY,\n} from '../../../shared/lib/segment'\nimport { matchSegment } from '../match-segments'\n\nconst removeLeadingSlash = (segment: string): string => {\n return segment[0] === '/' ? segment.slice(1) : segment\n}\n\nconst segmentToPathname = (segment: Segment): string => {\n if (typeof segment === 'string') {\n // 'children' is not a valid path -- it's technically a parallel route that corresponds with the current segment's page\n // if we don't skip it, then the computed pathname might be something like `/children` which doesn't make sense.\n if (segment === 'children') return ''\n\n return segment\n }\n\n return segment[1]\n}\n\nfunction normalizeSegments(segments: string[]): string {\n return (\n segments.reduce((acc, segment) => {\n segment = removeLeadingSlash(segment)\n if (segment === '' || isGroupSegment(segment)) {\n return acc\n }\n\n return `${acc}/${segment}`\n }, '') || '/'\n )\n}\n\nexport function extractPathFromFlightRouterState(\n flightRouterState: FlightRouterState\n): string | undefined {\n const segment = Array.isArray(flightRouterState[0])\n ? flightRouterState[0][1]\n : flightRouterState[0]\n\n if (\n segment === DEFAULT_SEGMENT_KEY ||\n INTERCEPTION_ROUTE_MARKERS.some((m) => segment.startsWith(m))\n )\n return undefined\n\n if (segment.startsWith(PAGE_SEGMENT_KEY)) return ''\n\n const segments = [segmentToPathname(segment)]\n const parallelRoutes = flightRouterState[1] ?? {}\n\n const childrenPath = parallelRoutes.children\n ? extractPathFromFlightRouterState(parallelRoutes.children)\n : undefined\n\n if (childrenPath !== undefined) {\n segments.push(childrenPath)\n } else {\n for (const [key, value] of Object.entries(parallelRoutes)) {\n if (key === 'children') continue\n\n const childPath = extractPathFromFlightRouterState(value)\n\n if (childPath !== undefined) {\n segments.push(childPath)\n }\n }\n }\n\n return normalizeSegments(segments)\n}\n\nfunction computeChangedPathImpl(\n treeA: FlightRouterState,\n treeB: FlightRouterState\n): string | null {\n const [segmentA, parallelRoutesA] = treeA\n const [segmentB, parallelRoutesB] = treeB\n\n const normalizedSegmentA = segmentToPathname(segmentA)\n const normalizedSegmentB = segmentToPathname(segmentB)\n\n if (\n INTERCEPTION_ROUTE_MARKERS.some(\n (m) =>\n normalizedSegmentA.startsWith(m) || normalizedSegmentB.startsWith(m)\n )\n ) {\n return ''\n }\n\n if (!matchSegment(segmentA, segmentB)) {\n // once we find where the tree changed, we compute the rest of the path by traversing the tree\n return extractPathFromFlightRouterState(treeB) ?? ''\n }\n\n for (const parallelRouterKey in parallelRoutesA) {\n if (parallelRoutesB[parallelRouterKey]) {\n const changedPath = computeChangedPathImpl(\n parallelRoutesA[parallelRouterKey],\n parallelRoutesB[parallelRouterKey]\n )\n if (changedPath !== null) {\n return `${segmentToPathname(segmentB)}/${changedPath}`\n }\n }\n }\n\n return null\n}\n\nexport function computeChangedPath(\n treeA: FlightRouterState,\n treeB: FlightRouterState\n): string | null {\n const changedPath = computeChangedPathImpl(treeA, treeB)\n\n if (changedPath == null || changedPath === '/') {\n return changedPath\n }\n\n // lightweight normalization to remove route groups\n return normalizeSegments(changedPath.split('/'))\n}\n\n/**\n * Recursively extracts dynamic parameters from FlightRouterState.\n */\nexport function getSelectedParams(\n currentTree: FlightRouterState,\n params: Params = {}\n): Params {\n const parallelRoutes = currentTree[1]\n\n for (const parallelRoute of Object.values(parallelRoutes)) {\n const segment = parallelRoute[0]\n const isDynamicParameter = Array.isArray(segment)\n const segmentValue = isDynamicParameter ? segment[1] : segment\n if (!segmentValue || segmentValue.startsWith(PAGE_SEGMENT_KEY)) continue\n\n // Ensure catchAll and optional catchall are turned into an array\n const isCatchAll =\n isDynamicParameter && (segment[2] === 'c' || segment[2] === 'oc')\n\n if (isCatchAll) {\n params[segment[0]] = segment[1].split('/')\n } else if (isDynamicParameter) {\n params[segment[0]] = segment[1]\n }\n\n params = getSelectedParams(parallelRoute, params)\n }\n\n return params\n}\n"],"names":["computeChangedPath","extractPathFromFlightRouterState","getSelectedParams","removeLeadingSlash","segment","slice","segmentToPathname","normalizeSegments","segments","reduce","acc","isGroupSegment","flightRouterState","Array","isArray","DEFAULT_SEGMENT_KEY","INTERCEPTION_ROUTE_MARKERS","some","m","startsWith","undefined","PAGE_SEGMENT_KEY","parallelRoutes","childrenPath","children","push","key","value","Object","entries","childPath","computeChangedPathImpl","treeA","treeB","segmentA","parallelRoutesA","segmentB","parallelRoutesB","normalizedSegmentA","normalizedSegmentB","matchSegment","parallelRouterKey","changedPath","split","currentTree","params","parallelRoute","values","isDynamicParameter","segmentValue","isCatchAll"],"mappings":";;;;;;;;;;;;;;;IAwHgBA,kBAAkB,EAAA;eAAlBA;;IA9EAC,gCAAgC,EAAA;eAAhCA;;IA+FAC,iBAAiB,EAAA;eAAjBA;;;oCArI2B;yBAMpC;+BACsB;AAE7B,MAAMC,qBAAqB,CAACC;IAC1B,OAAOA,OAAO,CAAC,EAAE,KAAK,MAAMA,QAAQC,KAAK,CAAC,KAAKD;AACjD;AAEA,MAAME,oBAAoB,CAACF;IACzB,IAAI,OAAOA,YAAY,UAAU;QAC/B,uHAAuH;QACvH,gHAAgH;QAChH,IAAIA,YAAY,YAAY,OAAO;QAEnC,OAAOA;IACT;IAEA,OAAOA,OAAO,CAAC,EAAE;AACnB;AAEA,SAASG,kBAAkBC,QAAkB;IAC3C,OACEA,SAASC,MAAM,CAAC,CAACC,KAAKN;QACpBA,UAAUD,mBAAmBC;QAC7B,IAAIA,YAAY,MAAMO,CAAAA,GAAAA,SAAAA,cAAc,EAACP,UAAU;YAC7C,OAAOM;QACT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AC7BH,MAAM,CAACzC,OAAO,CAAC,EAAE,CAAC,GAAGA,OAAO,CAAC,EAAE;QACjC;QAEAyC,SAAS3C,kBAAkB4C,eAAeD;IAC5C;IAEA,OAAOA;AACT","ignoreList":[0]}}, - {"offset": {"line": 1777, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/router-reducer/handle-mutable.ts"],"sourcesContent":["import { computeChangedPath } from './compute-changed-path'\nimport type {\n Mutable,\n ReadonlyReducerState,\n ReducerState,\n} from './router-reducer-types'\n\nfunction isNotUndefined<T>(value: T): value is Exclude<T, undefined> {\n return typeof value !== 'undefined'\n}\n\nexport function handleMutable(\n state: ReadonlyReducerState,\n mutable: Mutable\n): ReducerState {\n // shouldScroll is true by default, can override to false.\n const shouldScroll = mutable.shouldScroll ?? true\n\n let previousNextUrl = state.previousNextUrl\n let nextUrl = state.nextUrl\n\n if (isNotUndefined(mutable.patchedTree)) {\n // If we received a patched tree, we need to compute the changed path.\n const changedPath = computeChangedPath(state.tree, mutable.patchedTree)\n if (changedPath) {\n // If the tree changed, we need to update the nextUrl\n previousNextUrl = nextUrl\n nextUrl = changedPath\n } else if (!nextUrl) {\n // if the tree ends up being the same (ie, no changed path), and we don't have a nextUrl, then we should use the canonicalUrl\n nextUrl = state.canonicalUrl\n }\n // otherwise this will be a no-op and continue to use the existing nextUrl\n }\n\n return {\n // Set href.\n canonicalUrl: mutable.canonicalUrl ?? state.canonicalUrl,\n renderedSearch: mutable.renderedSearch ?? state.renderedSearch,\n pushRef: {\n pendingPush: isNotUndefined(mutable.pendingPush)\n ? mutable.pendingPush\n : state.pushRef.pendingPush,\n mpaNavigation: isNotUndefined(mutable.mpaNavigation)\n ? mutable.mpaNavigation\n : state.pushRef.mpaNavigation,\n preserveCustomHistoryState: isNotUndefined(\n mutable.preserveCustomHistoryState\n )\n ? mutable.preserveCustomHistoryState\n : state.pushRef.preserveCustomHistoryState,\n },\n // All navigation requires scroll and focus management to trigger.\n focusAndScrollRef: {\n apply: shouldScroll\n ? isNotUndefined(mutable?.scrollableSegments)\n ? true\n : state.focusAndScrollRef.apply\n : // If shouldScroll is false then we should not apply scroll and focus management.\n false,\n onlyHashChange: mutable.onlyHashChange || false,\n hashFragment: shouldScroll\n ? // Empty hash should trigger default behavior of scrolling layout into view.\n // #top is handled in layout-router.\n mutable.hashFragment && mutable.hashFragment !== ''\n ? // Remove leading # and decode hash to make non-latin hashes work.\n decodeURIComponent(mutable.hashFragment.slice(1))\n : state.focusAndScrollRef.hashFragment\n : // If shouldScroll is false then we should not apply scroll and focus management.\n null,\n segmentPaths: shouldScroll\n ? (mutable?.scrollableSegments ?? state.focusAndScrollRef.segmentPaths)\n : // If shouldScroll is false then we should not apply scroll and focus management.\n [],\n },\n // Apply cache.\n cache: mutable.cache ? mutable.cache : state.cache,\n // Apply patched router state.\n tree: isNotUndefined(mutable.patchedTree)\n ? mutable.patchedTree\n : state.tree,\n nextUrl,\n previousNextUrl: previousNextUrl,\n debugInfo: mutable.collectedDebugInfo ?? null,\n }\n}\n"],"names":["handleMutable","isNotUndefined","value","state","mutable","shouldScroll","previousNextUrl","nextUrl","patchedTree","changedPath","computeChangedPath","tree","canonicalUrl","renderedSearch","pushRef","pendingPush","mpaNavigation","preserveCustomHistoryState","focusAndScrollRef","apply","scrollableSegments","onlyHashChange","hashFragment","decodeURIComponent","slice","segmentPaths","cache","debugInfo","collectedDebugInfo"],"mappings":";;;+BAWgBA,iBAAAA;;;eAAAA;;;oCAXmB;AAOnC,SAASC,eAAkBC,KAAQ;IACjC,OAAO,OAAOA,UAAU;AAC1B;AAEO,SAASF,cACdG,KAA2B,EAC3BC,OAAgB;IAEhB,0DAA0D;IAC1D,MAAMC,eAAeD,QAAQC,YAAY,IAAI;IAE7C,IAAIC,kBAAkBH,MAAMG,eAAe;IAC3C,IAAIC,UAAUJ,MAAMI,OAAO;IAE3B,IAAIN,eAAeG,QAAQI,WAAW,GAAG;QACvC,sEAAsE;QAC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,QAAQI,WAAW,GACnBL,MAAMQ,IAAI;QACdJ;QACAD,iBAAiBA;QACjBqB,WAAWvB,QAAQwB,kBAAkB,IAAI;IAC3C;AACF","ignoreList":[0]}}, - {"offset": {"line": 1844, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/route-params.ts"],"sourcesContent":["import type { DynamicParamTypesShort } from '../shared/lib/app-router-types'\nimport {\n addSearchParamsIfPageSegment,\n DEFAULT_SEGMENT_KEY,\n PAGE_SEGMENT_KEY,\n} from '../shared/lib/segment'\nimport { ROOT_SEGMENT_REQUEST_KEY } from '../shared/lib/segment-cache/segment-value-encoding'\nimport {\n NEXT_REWRITTEN_PATH_HEADER,\n NEXT_REWRITTEN_QUERY_HEADER,\n NEXT_RSC_UNION_QUERY,\n} from './components/app-router-headers'\nimport type {\n NormalizedPathname,\n NormalizedSearch,\n} from './components/segment-cache/cache-key'\nimport type { RSCResponse } from './components/router-reducer/fetch-server-response'\nimport type { ParsedUrlQuery } from 'querystring'\n\nexport type RouteParamValue = string | Array<string> | null\n\nexport function getRenderedSearch(\n response: RSCResponse<unknown> | Response\n): NormalizedSearch {\n // If the server performed a rewrite, the search params used to render the\n // page will be different from the params in the request URL. In this case,\n // the response will include a header that gives the rewritten search query.\n const rewrittenQuery = response.headers.get(NEXT_REWRITTEN_QUERY_HEADER)\n if (rewrittenQuery !== null) {\n return (\n rewrittenQuery === '' ? '' : '?' + rewrittenQuery\n ) as NormalizedSearch\n }\n // If the header is not present, there was no rewrite, so we use the search\n // query of the response URL.\n return urlToUrlWithoutFlightMarker(new URL(response.url))\n .search as NormalizedSearch\n}\n\nexport function getRenderedPathname(\n response: RSCResponse<unknown> | Response\n): NormalizedPathname {\n // If the server performed a rewrite, the pathname used to render the\n // page will be different from the pathname in the request URL. In this case,\n // the response will include a header that gives the rewritten pathname.\n const rewrittenPath = response.headers.get(NEXT_REWRITTEN_PATH_HEADER)\n return (rewrittenPath ??\n urlToUrlWithoutFlightMarker(new URL(response.url))\n .pathname) as NormalizedPathname\n}\n\nexport function parseDynamicParamFromURLPart(\n paramType: DynamicParamTypesShort,\n pathnameParts: Array<string>,\n partIndex: number\n): RouteParamValue {\n // This needs to match the behavior in get-dynamic-param.ts.\n switch (paramType) {\n // Catchalls\n case 'c': {\n // Catchalls receive all the remaining URL parts. If there are no\n // remaining pathname parts, return an empty array.\n return partIndex < pathnameParts.length\n ? pathnameParts.slice(partIndex).map((s) => encodeURIComponent(s))\n : []\n }\n // Catchall intercepted\n case 'ci(..)(..)':\n case 'ci(.)':\n case 'ci(..)':\n case 'ci(...)': {\n const prefix = paramType.length - 2\n return partIndex < pathnameParts.length\n ? pathnameParts.slice(partIndex).map((s, i) => {\n if (i === 0) {\n return encodeURIComponent(s.slice(prefix))\n }\n\n return encodeURIComponent(s)\n })\n : []\n }\n // Optional catchalls\n case 'oc': {\n // Optional catchalls receive all the remaining URL parts, unless this is\n // the end of the pathname, in which case they return null.\n return partIndex < pathnameParts.length\n ? pathnameParts.slice(partIndex).map((s) => encodeURIComponent(s))\n : null\n }\n // Dynamic\n case 'd': {\n if (partIndex >= pathnameParts.length) {\n // The route tree expected there to be more parts in the URL than there\n // actually are. This could happen if the x-nextjs-rewritten-path header\n // is incorrectly set, or potentially due to bug in Next.js. TODO:\n // Should this be a hard error? During a prefetch, we can just abort.\n // During a client navigation, we could trigger a hard refresh. But if\n // it happens during initial render, we don't really have any\n // recovery options.\n return ''\n }\n return encodeURIComponent(pathnameParts[partIndex])\n }\n // Dynamic intercepted\n case 'di(..)(..)':\n case 'di(.)':\n case 'di(..)':\n case 'di(...)': {\n const prefix = paramType.length - 2\n if (partIndex >= pathnameParts.length) {\n // The route tree expected there to be more parts in the URL than there\n // actually are. This could happen if the x-nextjs-rewritten-path header\n // is incorrectly set, or potentially due to bug in Next.js. TODO:\n // Should this be a hard error? During a prefetch, we can just abort.\n // During a client navigation, we could trigger a hard refresh. But if\n // it happens during initial render, we don't really have any\n // recovery options.\n return ''\n }\n\n return encodeURIComponent(pathnameParts[partIndex].slice(prefix))\n }\n default:\n paramType satisfies never\n return ''\n }\n}\n\nexport function doesStaticSegmentAppearInURL(segment: string): boolean {\n // This is not a parameterized segment; however, we need to determine\n // whether or not this segment appears in the URL. For example, this route\n // groups do not appear in the URL, so they should be skipped. Any other\n // special cases must be handled here.\n // TODO: Consider encoding this directly into the router tree instead of\n // inferring it on the client based on the segment type. Something like\n // a `doesAppearInURL` flag in FlightRouterState.\n if (\n segment === ROOT_SEGMENT_REQUEST_KEY ||\n // For some reason, the loader tree sometimes includes extra __PAGE__\n // \"layouts\" when part of a parallel route. But it's not a leaf node.\n // Otherwise, we wouldn't need this special case because pages are\n // always leaf nodes.\n // TODO: Investigate why the loader produces these fake page segments.\n segment.startsWith(PAGE_SEGMENT_KEY) ||\n // Route groups.\n (segment[0] === '(' && segment.endsWith(')')) ||\n segment === DEFAULT_SEGMENT_KEY ||\n segment === '/_not-found'\n ) {\n return false\n } else {\n // All other segment types appear in the URL\n return true\n }\n}\n\nexport function getCacheKeyForDynamicParam(\n paramValue: RouteParamValue,\n renderedSearch: NormalizedSearch\n): string {\n // This needs to match the logic in get-dynamic-param.ts, until we're able to\n // unify the various implementations so that these are always computed on\n // the client.\n if (typeof paramValue === 'string') {\n // TODO: Refactor or remove this helper function to accept a string rather\n // than the whole segment type. Also we can probably just append the\n // search string instead of turning it into JSON.\n const pageSegmentWithSearchParams = addSearchParamsIfPageSegment(\n paramValue,\n Object.fromEntries(new URLSearchParams(renderedSearch))\n ) as string\n return pageSegmentWithSearchParams\n } else if (paramValue === null) {\n return ''\n } else {\n return paramValue.join('/')\n }\n}\n\nexport function urlToUrlWithoutFlightMarker(url: URL): URL {\n const urlWithoutFlightParameters = new URL(url)\n urlWithoutFlightParameters.searchParams.delete(NEXT_RSC_UNION_QUERY)\n if (process.env.NODE_ENV === 'production') {\n if (\n process.env.__NEXT_CONFIG_OUTPUT === 'export' &&\n urlWithoutFlightParameters.pathname.endsWith('.txt')\n ) {\n const { pathname } = urlWithoutFlightParameters\n const length = pathname.endsWith('/index.txt') ? 10 : 4\n // Slice off `/index.txt` or `.txt` from the end of the pathname\n urlWithoutFlightParameters.pathname = pathname.slice(0, -length)\n }\n }\n return urlWithoutFlightParameters\n}\n\nexport function getParamValueFromCacheKey(\n paramCacheKey: string,\n paramType: DynamicParamTypesShort\n) {\n // Turn the cache key string sent by the server (as part of FlightRouterState)\n // into a value that can be passed to `useParams` and client components.\n const isCatchAll = paramType === 'c' || paramType === 'oc'\n if (isCatchAll) {\n // Catch-all param keys are a concatenation of the path segments.\n // See equivalent logic in `getSelectedParams`.\n // TODO: We should just pass the array directly, rather than concatenate\n // it to a string and then split it back to an array. It needs to be an\n // array in some places, like when passing a key React, but we can convert\n // it at runtime in those places.\n return paramCacheKey.split('/')\n }\n return paramCacheKey\n}\n\nexport function urlSearchParamsToParsedUrlQuery(\n searchParams: URLSearchParams\n): ParsedUrlQuery {\n // Converts a URLSearchParams object to the same type used by the server when\n // creating search params props, i.e. the type returned by Node's\n // \"querystring\" module.\n const result: ParsedUrlQuery = {}\n for (const [key, value] of searchParams.entries()) {\n if (result[key] === undefined) {\n result[key] = value\n } else if (Array.isArray(result[key])) {\n result[key].push(value)\n } else {\n result[key] = [result[key], value]\n }\n }\n return result\n}\n"],"names":["doesStaticSegmentAppearInURL","getCacheKeyForDynamicParam","getParamValueFromCacheKey","getRenderedPathname","getRenderedSearch","parseDynamicParamFromURLPart","urlSearchParamsToParsedUrlQuery","urlToUrlWithoutFlightMarker","response","rewrittenQuery","headers","get","NEXT_REWRITTEN_QUERY_HEADER","URL","url","search","rewrittenPath","NEXT_REWRITTEN_PATH_HEADER","pathname","paramType","pathnameParts","partIndex","length","slice","map","s","encodeURIComponent","prefix","i","segment","ROOT_SEGMENT_REQUEST_KEY","startsWith","PAGE_SEGMENT_KEY","endsWith","DEFAULT_SEGMENT_KEY","paramValue","renderedSearch","pageSegmentWithSearchParams","addSearchParamsIfPageSegment","Object","fromEntries","URLSearchParams","join","urlWithoutFlightParameters","searchParams","delete","NEXT_RSC_UNION_QUERY","process","env","NODE_ENV","__NEXT_CONFIG_OUTPUT","paramCacheKey","isCatchAll","split","result","key","value","entries","undefined","Array","isArray","push"],"mappings":"AAuLM+C,QAAQC,GAAG,CAACC,QAAQ,KAAK,cAAc;;;;;;;;;;;;;;;;;;;;;;IAtD7BjD,4BAA4B,EAAA;eAA5BA;;IA4BAC,0BAA0B,EAAA;eAA1BA;;IAwCAC,yBAAyB,EAAA;eAAzBA;;IA9JAC,mBAAmB,EAAA;eAAnBA;;IAlBAC,iBAAiB,EAAA;eAAjBA;;IA8BAC,4BAA4B,EAAA;eAA5BA;;IAqKAC,+BAA+B,EAAA;eAA/BA;;IApCAC,2BAA2B,EAAA;eAA3BA;;;yBA/KT;sCACkC;kCAKlC;AAUA,SAASH,kBACdI,QAAyC;IAEzC,0EAA0E;IAC1E,2EAA2E;IAC3E,4EAA4E;IAC5E,MAAMC,iBAAiBD,SAASE,OAAO,CAACC,GAAG,CAACC,kBAAAA,2BAA2B;IACvE,IAAIH,mBAAmB,MAAM;QAC3B,OACEA,mBAAmB,KAAK,KAAK,MAAMA;IAEvC;IACA,2EAA2E;IAC3E,6BAA6B;IAC7B,OAAOF,4BAA4B,IAAIM,IAAIL,SAASM,GAAG,GACpDC,MAAM;AACX;AAEO,SAASZ,oBACdK,QAAyC;IAEzC,qEAAqE;IACrE,6EAA6E;IAC7E,wEAAwE;IACxE,MAAMQ,gBAAgBR,SAASE,OAAO,CAACC,GAAG,CAACM,kBAAAA,0BAA0B;IACrE,OAAQD,iBACNT,4BAA4B,IAAIM,IAAIL,SAASM,GAAG,GAC7CI,QAAQ;AACf;AAEO,SAASb,6BACdc,SAAiC,EACjCC,aAA4B,EAC5BC,SAAiB;IAEjB,4DAA4D;IAC5D,OAAQF;QACN,YAAY;QACZ,KAAK;YAAK;gBACR,iEAAiE;gBACjE,mDAAmD;gBACnD,OAAOE,YAAYD,cAA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C7B;IACA,OAAOF;AACT;AAEO,SAAS7C,gCACdsC,YAA6B;IAE7B,6EAA6E;IAC7E,iEAAiE;IACjE,wBAAwB;IACxB,MAAMU,SAAyB,CAAC;IAChC,KAAK,MAAM,CAACC,KAAKC,MAAM,IAAIZ,aAAaa,OAAO,GAAI;QACjD,IAAIH,MAAM,CAACC,IAAI,KAAKG,WAAW;YAC7BJ,MAAM,CAACC,IAAI,GAAGC;QAChB,OAAO,IAAIG,MAAMC,OAAO,CAACN,MAAM,CAACC,IAAI,GAAG;YACrCD,MAAM,CAACC,IAAI,CAACM,IAAI,CAACL;QACnB,OAAO;YACLF,MAAM,CAACC,IAAI,GAAG;gBAACD,MAAM,CAACC,IAAI;gBAAEC;aAAM;QACpC;IACF;IACA,OAAOF;AACT","ignoreList":[0]}}, - {"offset": {"line": 2072, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/flight-data-helpers.ts"],"sourcesContent":["import type {\n CacheNodeSeedData,\n FlightData,\n FlightDataPath,\n FlightRouterState,\n FlightSegmentPath,\n Segment,\n HeadData,\n InitialRSCPayload,\n} from '../shared/lib/app-router-types'\nimport { PAGE_SEGMENT_KEY } from '../shared/lib/segment'\nimport type { NormalizedSearch } from './components/segment-cache/cache-key'\nimport {\n getCacheKeyForDynamicParam,\n parseDynamicParamFromURLPart,\n doesStaticSegmentAppearInURL,\n getRenderedPathname,\n getRenderedSearch,\n} from './route-params'\nimport { createHrefFromUrl } from './components/router-reducer/create-href-from-url'\n\nexport type NormalizedFlightData = {\n /**\n * The full `FlightSegmentPath` inclusive of the final `Segment`\n */\n segmentPath: FlightSegmentPath\n /**\n * The `FlightSegmentPath` exclusive of the final `Segment`\n */\n pathToSegment: FlightSegmentPath\n segment: Segment\n tree: FlightRouterState\n seedData: CacheNodeSeedData | null\n head: HeadData\n isHeadPartial: boolean\n isRootRender: boolean\n}\n\n// TODO: We should only have to export `normalizeFlightData`, however because the initial flight data\n// that gets passed to `createInitialRouterState` doesn't conform to the `FlightDataPath` type (it's missing the root segment)\n// we're currently exporting it so we can use it directly. This should be fixed as part of the unification of\n// the different ways we express `FlightSegmentPath`.\nexport function getFlightDataPartsFromPath(\n flightDataPath: FlightDataPath\n): NormalizedFlightData {\n // Pick the last 4 items from the `FlightDataPath` to get the [tree, seedData, viewport, isHeadPartial].\n const flightDataPathLength = 4\n // tree, seedData, and head are *always* the last three items in the `FlightDataPath`.\n const [tree, seedData, head, isHeadPartial] =\n flightDataPath.slice(-flightDataPathLength)\n // The `FlightSegmentPath` is everything except the last three items. For a root render, it won't be present.\n const segmentPath = flightDataPath.slice(0, -flightDataPathLength)\n\n return {\n // TODO: Unify these two segment path helpers. We are inconsistently pushing an empty segment (\"\")\n // to the start of the segment path in some places which makes it hard to use solely the segment path.\n // Look for \"// TODO-APP: remove ''\" in the codebase.\n pathToSegment: segmentPath.slice(0, -1),\n segmentPath,\n // if the `FlightDataPath` corresponds with the root, there'll be no segment path,\n // in which case we default to ''.\n segment: segmentPath[segmentPath.length - 1] ?? '',\n tree,\n seedData,\n head,\n isHeadPartial,\n isRootRender: flightDataPath.length === flightDataPathLength,\n }\n}\n\nexport function createInitialRSCPayloadFromFallbackPrerender(\n response: Response,\n fallbackInitialRSCPayload: InitialRSCPayload\n): InitialRSCPayload {\n // This is a static fallback page. In order to hydrate the page, we need to\n // parse the client params from the URL, but to account for the possibility\n // that the page was rewritten, we need to check the response headers\n // for x-nextjs-rewritten-path or x-nextjs-rewritten-query headers. Since\n // we can't access the headers of the initial document response, the client\n // performs a fetch request to the current location. Since it's possible that\n // the fetch request will be dynamically rewritten to a different path than\n // the initial document, this fetch request delivers _all_ the hydration data\n // for the page; it was not inlined into the document, like it normally\n // would be.\n //\n // TODO: Consider treating the case where fetch is rewritten to a different\n // path from the document as a special deopt case. We should optimistically\n // assume this won't happen, inline the data into the document, and perform\n // a minimal request (like a HEAD or range request) to verify that the\n // response matches. Tricky to get right because we need to account for\n // all the different deployment environments we support, like output:\n // \"export\" mode, where we currently don't assume that custom response\n // headers are present.\n\n // Patch the Flight data sent by the server with the correct params parsed\n // from the URL + response object.\n const renderedPathname = getRenderedPathname(response)\n const renderedSearch = getRenderedSearch(response)\n const canonicalUrl = createHrefFromUrl(new URL(location.href))\n const originalFlightDataPath = fallbackInitialRSCPayload.f[0]\n const originalFlightRouterState = originalFlightDataPath[0]\n return {\n b: fallbackInitialRSCPayload.b,\n c: canonicalUrl.split('/'),\n q: renderedSearch,\n i: fallbackInitialRSCPayload.i,\n f: [\n [\n fillInFallbackFlightRouterState(\n originalFlightRouterState,\n renderedPathname,\n renderedSearch as NormalizedSearch\n ),\n originalFlightDataPath[1],\n originalFlightDataPath[2],\n originalFlightDataPath[2],\n ],\n ],\n m: fallbackInitialRSCPayload.m,\n G: fallbackInitialRSCPayload.G,\n S: fallbackInitialRSCPayload.S,\n }\n}\n\nfunction fillInFallbackFlightRouterState(\n flightRouterState: FlightRouterState,\n renderedPathname: string,\n renderedSearch: NormalizedSearch\n): FlightRouterState {\n const pathnameParts = renderedPathname.split('/').filter((p) => p !== '')\n const index = 0\n return fillInFallbackFlightRouterStateImpl(\n flightRouterState,\n renderedSearch,\n pathnameParts,\n index\n )\n}\n\nfunction fillInFallbackFlightRouterStateImpl(\n flightRouterState: FlightRouterState,\n renderedSearch: NormalizedSearch,\n pathnameParts: Array<string>,\n pathnamePartsIndex: number\n): FlightRouterState {\n const originalSegment = flightRouterState[0]\n let newSegment: Segment\n let doesAppearInURL: boolean\n if (typeof originalSegment === 'string') {\n newSegment = originalSegment\n doesAppearInURL = doesStaticSegmentAppearInURL(originalSegment)\n } else {\n const paramName = originalSegment[0]\n const paramType = originalSegment[2]\n const paramValue = parseDynamicParamFromURLPart(\n paramType,\n pathnameParts,\n pathnamePartsIndex\n )\n const cacheKey = getCacheKeyForDynamicParam(paramValue, renderedSearch)\n newSegment = [paramName, cacheKey, paramType]\n doesAppearInURL = true\n }\n\n // Only increment the index if the segment appears in the URL. If it's a\n // \"virtual\" segment, like a route group, it remains the same.\n const childPathnamePartsIndex = doesAppearInURL\n ? pathnamePartsIndex + 1\n : pathnamePartsIndex\n\n const children = flightRouterState[1]\n const newChildren: { [key: string]: FlightRouterState } = {}\n for (let key in children) {\n const childFlightRouterState = children[key]\n newChildren[key] = fillInFallbackFlightRouterStateImpl(\n childFlightRouterState,\n renderedSearch,\n pathnameParts,\n childPathnamePartsIndex\n )\n }\n\n const newState: FlightRouterState = [\n newSegment,\n newChildren,\n null,\n flightRouterState[3],\n flightRouterState[4],\n ]\n return newState\n}\n\nexport function getNextFlightSegmentPath(\n flightSegmentPath: FlightSegmentPath\n): FlightSegmentPath {\n // Since `FlightSegmentPath` is a repeated tuple of `Segment` and `ParallelRouteKey`, we slice off two items\n // to get the next segment path.\n return flightSegmentPath.slice(2)\n}\n\nexport function normalizeFlightData(\n flightData: FlightData\n): NormalizedFlightData[] | string {\n // FlightData can be a string when the server didn't respond with a proper flight response,\n // or when a redirect happens, to signal to the client that it needs to perform an MPA navigation.\n if (typeof flightData === 'string') {\n return flightData\n }\n\n return flightData.map((flightDataPath) =>\n getFlightDataPartsFromPath(flightDataPath)\n )\n}\n\n/**\n * This function is used to prepare the flight router state for the request.\n * It removes markers that are not needed by the server, and are purely used\n * for stashing state on the client.\n * @param flightRouterState - The flight router state to prepare.\n * @param isHmrRefresh - Whether this is an HMR refresh request.\n * @returns The prepared flight router state.\n */\nexport function prepareFlightRouterStateForRequest(\n flightRouterState: FlightRouterState,\n isHmrRefresh?: boolean\n): string {\n // HMR requests need the complete, unmodified state for proper functionality\n if (isHmrRefresh) {\n return encodeURIComponent(JSON.stringify(flightRouterState))\n }\n\n return encodeURIComponent(\n JSON.stringify(stripClientOnlyDataFromFlightRouterState(flightRouterState))\n )\n}\n\n/**\n * Recursively strips client-only data from FlightRouterState while preserving\n * server-needed information for proper rendering decisions.\n */\nfunction stripClientOnlyDataFromFlightRouterState(\n flightRouterState: FlightRouterState\n): FlightRouterState {\n const [\n segment,\n parallelRoutes,\n _url, // Intentionally unused - URLs are client-only\n refreshMarker,\n isRootLayout,\n hasLoadingBoundary,\n ] = flightRouterState\n\n // __PAGE__ segments are always fetched from the server, so there's\n // no need to send them up\n const cleanedSegment = stripSearchParamsFromPageSegment(segment)\n\n // Recursively process parallel routes\n const cleanedParallelRoutes: { [key: string]: FlightRouterState } = {}\n for (const [key, childState] of Object.entries(parallelRoutes)) {\n cleanedParallelRoutes[key] =\n stripClientOnlyDataFromFlightRouterState(childState)\n }\n\n const result: FlightRouterState = [\n cleanedSegment,\n cleanedParallelRoutes,\n null, // URLs omitted - server reconstructs paths from segments\n shouldPreserveRefreshMarker(refreshMarker) ? refreshMarker : null,\n ]\n\n // Append optional fields if present\n if (isRootLayout !== undefined) {\n result[4] = isRootLayout\n }\n if (hasLoadingBoundary !== undefined) {\n result[5] = hasLoadingBoundary\n }\n\n return result\n}\n\n/**\n * Strips search parameters from __PAGE__ segments to prevent sensitive\n * client-side data from being sent to the server.\n */\nfunction stripSearchParamsFromPageSegment(segment: Segment): Segment {\n if (\n typeof segment === 'string' &&\n segment.startsWith(PAGE_SEGMENT_KEY + '?')\n ) {\n return PAGE_SEGMENT_KEY\n }\n return segment\n}\n\n/**\n * Determines whether the refresh marker should be sent to the server\n * Client-only markers like 'refresh' are stripped, while server-needed markers\n * like 'refetch' and 'inside-shared-layout' are preserved.\n */\nfunction shouldPreserveRefreshMarker(\n refreshMarker: FlightRouterState[3]\n): boolean {\n return Boolean(refreshMarker && refreshMarker !== 'refresh')\n}\n"],"names":["createInitialRSCPayloadFromFallbackPrerender","getFlightDataPartsFromPath","getNextFlightSegmentPath","normalizeFlightData","prepareFlightRouterStateForRequest","flightDataPath","flightDataPathLength","tree","seedData","head","isHeadPartial","slice","segmentPath","pathToSegment","segment","length","isRootRender","response","fallbackInitialRSCPayload","renderedPathname","getRenderedPathname","renderedSearch","getRenderedSearch","canonicalUrl","createHrefFromUrl","URL","location","href","originalFlightDataPath","f","originalFlightRouterState","b","c","split","q","i","fillInFallbackFlightRouterState","m","G","S","flightRouterState","pathnameParts","filter","p","index","fillInFallbackFlightRouterStateImpl","pathnamePartsIndex","originalSegment","newSegment","doesAppearInURL","doesStaticSegmentAppearInURL","paramName","paramType","paramValue","parseDynamicParamFromURLPart","cacheKey","getCacheKeyForDynamicParam","childPathnamePartsIndex","children","newChildren","key","childFlightRouterState","newState","flightSegmentPath","flightData","map","isHmrRefresh","encodeURIComponent","JSON","stringify","stripClientOnlyDataFromFlightRouterState","parallelRoutes","_url","refreshMarker","isRootLayout","hasLoadingBoundary","cleanedSegment","stripSearchParamsFromPageSegment","cleanedParallelRoutes","childState","Object","entries","result","shouldPreserveRefreshMarker","undefined","startsWith","PAGE_SEGMENT_KEY","Boolean"],"mappings":";;;;;;;;;;;;;;;;;IAsEgBA,4CAA4C,EAAA;eAA5CA;;IA5BAC,0BAA0B,EAAA;eAA1BA;;IAsJAC,wBAAwB,EAAA;eAAxBA;;IAQAC,mBAAmB,EAAA;eAAnBA;;IAsBAC,kCAAkC,EAAA;eAAlCA;;;yBApNiB;6BAQ1B;mCAC2B;AAuB3B,SAASH,2BACdI,cAA8B;IAE9B,wGAAwG;IACxG,MAAMC,uBAAuB;IAC7B,sFAAsF;IACtF,MAAM,CAACC,MAAMC,UAAUC,MAAMC,cAAc,GACzCL,eAAeM,KAAK,CAAC,CAACL;IACxB,6GAA6G;IAC7G,MAAMM,cAAcP,eAAeM,KAAK,CAAC,GAAG,CAACL;IAE7C,OAAO;QACL,kGAAkG;QAClG,sGAAsG;QACtG,qDAAqD;QACrDO,eAAeD,YAAYD,KAAK,CAAC,GAAG,CAAC;QACrCC;QACA,kFAAkF;QAClF,kCAAkC;QAClCE,SAASF,WAAW,CAACA,YAAYG,MAAM,GAAG,EAAE,IAAI;QAChDR;QACAC;QACAC;QACAC;QACAM,cAAcX,eAAeU,MAAM,KAAKT;IAC1C;AACF;AAEO,SAASN,6CACdiB,QAAkB,EAClBC,yBAA4C;IAE5C,2EAA2E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B,YAAsB;IAEtB,4EAA4E;IAC5E,IAAIA,cAAc;QAChB,OAAOC,mBAAmBC,KAAKC,SAAS,CAAC7B;IAC3C;IAEA,OAAO2B,mBACLC,KAAKC,SAAS,CAACC,yCAAyC9B;AAE5D;AAEA;;;CAGC,GACD,SAAS8B,yCACP9B,iBAAoC;IAEpC,MAAM,CACJ1B,SACAyD,gBACAC,MACAC,eACAC,cACAC,mBACD,GAAGnC;IAEJ,mEAAmE;IACnE,0BAA0B;IAC1B,MAAMoC,iBAAiBC,iCAAiC/D;IAExD,sCAAsC;IACtC,MAAMgE,wBAA8D,CAAC;IACrE,KAAK,MAAM,CAAClB,KAAKmB,WAAW,IAAIC,OAAOC,OAAO,CAACV,gBAAiB;QAC9DO,qBAAqB,CAAClB,IAAI,GACxBU,yCAAyCS;IAC7C;IAEA,MAAMG,SAA4B;QAChCN;QACAE;QACA;QACAK,4BAA4BV,iBAAiBA,gBAAgB;KAC9D;IAED,oCAAoC;IACpC,IAAIC,iBAAiBU,WAAW;QAC9BF,MAAM,CAAC,EAAE,GAAGR;IACd;IACA,IAAIC,uBAAuBS,WAAW;QACpCF,MAAM,CAAC,EAAE,GAAGP;IACd;IAEA,OAAOO;AACT;AAEA;;;CAGC,GACD,SAASL,iCAAiC/D,OAAgB;IACxD,IACE,OAAOA,YAAY,YACnBA,QAAQuE,UAAU,CAACC,SAAAA,gBAAgB,GAAG,MACtC;QACA,OAAOA,SAAAA,gBAAgB;IACzB;IACA,OAAOxE;AACT;AAEA;;;;CAIC,GACD,SAASqE,4BACPV,aAAmC;IAEnC,OAAOc,QAAQd,iBAAiBA,kBAAkB;AACpD","ignoreList":[0]}}, - {"offset": {"line": 2293, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/app-build-id.ts"],"sourcesContent":["// This gets assigned as a side-effect during app initialization. Because it\n// represents the build used to create the JS bundle, it should never change\n// after being set, so we store it in a global variable.\n//\n// When performing RSC requests, if the incoming data has a different build ID,\n// we perform an MPA navigation/refresh to load the updated build and ensure\n// that the client and server in sync.\n\n// Starts as an empty string. In practice, because setAppBuildId is called\n// during initialization before hydration starts, this will always get\n// reassigned to the actual build ID before it's ever needed by a navigation.\n// If for some reasons it didn't, due to a bug or race condition, then on\n// navigation the build comparision would fail and trigger an MPA navigation.\nlet globalBuildId: string = ''\n\nexport function setAppBuildId(buildId: string) {\n globalBuildId = buildId\n}\n\nexport function getAppBuildId(): string {\n return globalBuildId\n}\n"],"names":["getAppBuildId","setAppBuildId","globalBuildId","buildId"],"mappings":"AAAA,4EAA4E;AAC5E,4EAA4E;AAC5E,wDAAwD;AACxD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,sCAAsC;AAEtC,0EAA0E;AAC1E,sEAAsE;AACtE,6EAA6E;AAC7E,yEAAyE;AACzE,6EAA6E;;;;;;;;;;;;;;;IAO7DA,aAAa,EAAA;eAAbA;;IAJAC,aAAa,EAAA;eAAbA;;;AAFhB,IAAIC,gBAAwB;AAErB,SAASD,cAAcE,OAAe;IAC3CD,gBAAgBC;AAClB;AAEO,SAASH;IACd,OAAOE;AACT","ignoreList":[0]}}, - {"offset": {"line": 2344, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/router-reducer/set-cache-busting-search-param.ts"],"sourcesContent":["'use client'\n\nimport { computeCacheBustingSearchParam } from '../../../shared/lib/router/utils/cache-busting-search-param'\nimport {\n NEXT_ROUTER_PREFETCH_HEADER,\n NEXT_ROUTER_SEGMENT_PREFETCH_HEADER,\n NEXT_ROUTER_STATE_TREE_HEADER,\n NEXT_URL,\n NEXT_RSC_UNION_QUERY,\n} from '../app-router-headers'\nimport type { RequestHeaders } from './fetch-server-response'\n\n/**\n * Mutates the provided URL by adding a cache-busting search parameter for CDNs that don't\n * support custom headers. This helps avoid caching conflicts by making each request unique.\n *\n * Rather than relying on the Vary header which some CDNs ignore, we append a search param\n * to create a unique URL that forces a fresh request.\n *\n * Example:\n * URL before: https://example.com/path?query=1\n * URL after: https://example.com/path?query=1&_rsc=abc123\n *\n * Note: This function mutates the input URL directly and does not return anything.\n *\n * TODO: Since we need to use a search param anyway, we could simplify by removing the custom\n * headers approach entirely and just use search params.\n */\nexport const setCacheBustingSearchParam = (\n url: URL,\n headers: RequestHeaders\n): void => {\n const uniqueCacheKey = computeCacheBustingSearchParam(\n headers[NEXT_ROUTER_PREFETCH_HEADER],\n headers[NEXT_ROUTER_SEGMENT_PREFETCH_HEADER],\n headers[NEXT_ROUTER_STATE_TREE_HEADER],\n headers[NEXT_URL]\n )\n setCacheBustingSearchParamWithHash(url, uniqueCacheKey)\n}\n\n/**\n * Sets a cache-busting search parameter on a URL using a provided hash value.\n *\n * This function performs the same logic as `setCacheBustingSearchParam` but accepts\n * a pre-computed hash instead of computing it from headers.\n *\n * Example:\n * URL before: https://example.com/path?query=1\n * hash: \"abc123\"\n * URL after: https://example.com/path?query=1&_rsc=abc123\n *\n * If the hash is null, we will set `_rsc` search param without a value.\n * Like this: https://example.com/path?query=1&_rsc\n *\n * Note: This function mutates the input URL directly and does not return anything.\n */\nexport const setCacheBustingSearchParamWithHash = (\n url: URL,\n hash: string\n): void => {\n /**\n * Note that we intentionally do not use `url.searchParams.set` here:\n *\n * const url = new URL('https://example.com/search?q=custom%20spacing');\n * url.searchParams.set('_rsc', 'abc123');\n * console.log(url.toString()); // Outputs: https://example.com/search?q=custom+spacing&_rsc=abc123\n * ^ <--- this is causing confusion\n * This is in fact intended based on https://url.spec.whatwg.org/#interface-urlsearchparams, but\n * we want to preserve the %20 as %20 if that's what the user passed in, hence the custom\n * logic below.\n */\n const existingSearch = url.search\n const rawQuery = existingSearch.startsWith('?')\n ? existingSearch.slice(1)\n : existingSearch\n\n // Always remove any existing cache busting param and add a fresh one to ensure\n // we have the correct value based on current request headers\n const pairs = rawQuery\n .split('&')\n .filter((pair) => pair && !pair.startsWith(`${NEXT_RSC_UNION_QUERY}=`))\n\n if (hash.length > 0) {\n pairs.push(`${NEXT_RSC_UNION_QUERY}=${hash}`)\n } else {\n pairs.push(`${NEXT_RSC_UNION_QUERY}`)\n }\n url.search = pairs.length ? `?${pairs.join('&')}` : ''\n}\n"],"names":["setCacheBustingSearchParam","setCacheBustingSearchParamWithHash","url","headers","uniqueCacheKey","computeCacheBustingSearchParam","NEXT_ROUTER_PREFETCH_HEADER","NEXT_ROUTER_SEGMENT_PREFETCH_HEADER","NEXT_ROUTER_STATE_TREE_HEADER","NEXT_URL","hash","existingSearch","search","rawQuery","startsWith","slice","pairs","split","filter","pair","NEXT_RSC_UNION_QUERY","length","push","join"],"mappings":";;;;;;;;;;;;;;IA4BaA,0BAA0B,EAAA;eAA1BA;;IA6BAC,kCAAkC,EAAA;eAAlCA;;;yCAvDkC;kCAOxC;AAmBA,MAAMD,6BAA6B,CACxCE,KACAC;IAEA,MAAMC,iBAAiBC,CAAAA,GAAAA,yBAAAA,8BAA8B,EACnDF,OAAO,CAACG,kBAAAA,2BAA2B,CAAC,EACpCH,OAAO,CAACI,kBAAAA,mCAAmC,CAAC,EAC5CJ,OAAO,CAACK,kBAAAA,6BAA6B,CAAC,EACtCL,OAAO,CAACM,kBAAAA,QAAQ,CAAC;IAEnBR,mCAAmCC,KAAKE;AAC1C;AAkBO,MAAMH,qCAAqC,CAChDC,KACAQ;IAEA;;;;;;;;;;GAUC,GACD,MAAMC,iBAAiBT,IAAIU,MAAM;IACjC,MAAMC,WAAWF,eAAeG,UAAU,CAAC,OACvCH,eAAeI,KAAK,CAAC,KACrBJ;IAEJ,+EAA+E;IAC/E,6DAA6D;IAC7D,MAAMK,QAAQH,SACXI,KAAK,CAAC,KACNC,MAAM,CAAC,CAACC,OAASA,QAAQ,CAACA,KAAKL,UAAU,CAAC,GAAGM,kBAAAA,oBAAoB,CAAC,CAAC,CAAC;IAEvE,IAAIV,KAAKW,MAAM,GAAG,GAAG;QACnBL,MAAMM,IAAI,CAAC,GAAGF,kBAAAA,oBAAoB,CAAC,CAAC,EAAEV,MAAM;IAC9C,OAAO;QACLM,MAAMM,IAAI,CAAC,GAAGF,kBAAAA,oBAAoB,EAAE;IACtC;IACAlB,IAAIU,MAAM,GAAGI,MAAMK,MAAM,GAAG,CAAC,CAAC,EAAEL,MAAMO,IAAI,CAAC,MAAM,GAAG;AACtD","ignoreList":[0]}}, - {"offset": {"line": 2405, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/router-reducer/fetch-server-response.ts"],"sourcesContent":["'use client'\n\n// TODO: Explicitly import from client.browser\n// eslint-disable-next-line import/no-extraneous-dependencies\nimport {\n createFromReadableStream as createFromReadableStreamBrowser,\n createFromFetch as createFromFetchBrowser,\n} from 'react-server-dom-webpack/client'\n\nimport type {\n FlightRouterState,\n NavigationFlightResponse,\n} from '../../../shared/lib/app-router-types'\n\nimport {\n type NEXT_ROUTER_PREFETCH_HEADER,\n type NEXT_ROUTER_SEGMENT_PREFETCH_HEADER,\n NEXT_ROUTER_STATE_TREE_HEADER,\n NEXT_RSC_UNION_QUERY,\n NEXT_URL,\n RSC_HEADER,\n RSC_CONTENT_TYPE_HEADER,\n NEXT_HMR_REFRESH_HEADER,\n NEXT_DID_POSTPONE_HEADER,\n NEXT_ROUTER_STALE_TIME_HEADER,\n NEXT_HTML_REQUEST_ID_HEADER,\n NEXT_REQUEST_ID_HEADER,\n} from '../app-router-headers'\nimport { callServer } from '../../app-call-server'\nimport { findSourceMapURL } from '../../app-find-source-map-url'\nimport {\n normalizeFlightData,\n prepareFlightRouterStateForRequest,\n type NormalizedFlightData,\n} from '../../flight-data-helpers'\nimport { getAppBuildId } from '../../app-build-id'\nimport { setCacheBustingSearchParam } from './set-cache-busting-search-param'\nimport {\n getRenderedSearch,\n urlToUrlWithoutFlightMarker,\n} from '../../route-params'\nimport type { NormalizedSearch } from '../segment-cache/cache-key'\nimport { getDeploymentId } from '../../../shared/lib/deployment-id'\n\nconst createFromReadableStream =\n createFromReadableStreamBrowser as (typeof import('react-server-dom-webpack/client.browser'))['createFromReadableStream']\nconst createFromFetch =\n createFromFetchBrowser as (typeof import('react-server-dom-webpack/client.browser'))['createFromFetch']\n\nlet createDebugChannel:\n | typeof import('../../dev/debug-channel').createDebugChannel\n | undefined\n\nif (\n process.env.NODE_ENV !== 'production' &&\n process.env.__NEXT_REACT_DEBUG_CHANNEL\n) {\n createDebugChannel = (\n require('../../dev/debug-channel') as typeof import('../../dev/debug-channel')\n ).createDebugChannel\n}\n\nexport interface FetchServerResponseOptions {\n readonly flightRouterState: FlightRouterState\n readonly nextUrl: string | null\n readonly isHmrRefresh?: boolean\n}\n\ntype SpaFetchServerResponseResult = {\n flightData: NormalizedFlightData[]\n canonicalUrl: URL\n renderedSearch: NormalizedSearch\n couldBeIntercepted: boolean\n prerendered: boolean\n postponed: boolean\n staleTime: number\n debugInfo: Array<any> | null\n}\n\ntype MpaFetchServerResponseResult = string\n\nexport type FetchServerResponseResult =\n | MpaFetchServerResponseResult\n | SpaFetchServerResponseResult\n\nexport type RequestHeaders = {\n [RSC_HEADER]?: '1'\n [NEXT_ROUTER_STATE_TREE_HEADER]?: string\n [NEXT_URL]?: string\n [NEXT_ROUTER_PREFETCH_HEADER]?: '1' | '2'\n [NEXT_ROUTER_SEGMENT_PREFETCH_HEADER]?: string\n 'x-deployment-id'?: string\n [NEXT_HMR_REFRESH_HEADER]?: '1'\n // A header that is only added in test mode to assert on fetch priority\n 'Next-Test-Fetch-Priority'?: RequestInit['priority']\n [NEXT_HTML_REQUEST_ID_HEADER]?: string // dev-only\n [NEXT_REQUEST_ID_HEADER]?: string // dev-only\n}\n\nfunction doMpaNavigation(url: string): FetchServerResponseResult {\n return urlToUrlWithoutFlightMarker(new URL(url, location.origin)).toString()\n}\n\nlet isPageUnloading = false\n\nif (typeof window !== 'undefined') {\n // Track when the page is unloading, e.g. due to reloading the page or\n // performing hard navigations. This allows us to suppress error logging when\n // the browser cancels in-flight requests during page unload.\n window.addEventListener('pagehide', () => {\n isPageUnloading = true\n })\n\n // Reset the flag on pageshow, e.g. when navigating back and the JavaScript\n // execution context is restored by the browser.\n window.addEventListener('pageshow', () => {\n isPageUnloading = false\n })\n}\n\n/**\n * Fetch the flight data for the provided url. Takes in the current router state\n * to decide what to render server-side.\n */\nexport async function fetchServerResponse(\n url: URL,\n options: FetchServerResponseOptions\n): Promise<FetchServerResponseResult> {\n const { flightRouterState, nextUrl } = options\n\n const headers: RequestHeaders = {\n // Enable flight response\n [RSC_HEADER]: '1',\n // Provide the current router state\n [NEXT_ROUTER_STATE_TREE_HEADER]: prepareFlightRouterStateForRequest(\n flightRouterState,\n options.isHmrRefresh\n ),\n }\n\n if (process.env.NODE_ENV === 'development' && options.isHmrRefresh) {\n headers[NEXT_HMR_REFRESH_HEADER] = '1'\n }\n\n if (nextUrl) {\n headers[NEXT_URL] = nextUrl\n }\n\n // In static export mode, we need to modify the URL to request the .txt file,\n // but we should preserve the original URL for the canonical URL and error handling.\n const originalUrl = url\n\n try {\n if (process.env.NODE_ENV === 'production') {\n if (process.env.__NEXT_CONFIG_OUTPUT === 'export') {\n // In \"output: export\" mode, we can't rely on headers to distinguish\n // between HTML and RSC requests. Instead, we append an extra prefix\n // to the request.\n url = new URL(url)\n if (url.pathname.endsWith('/')) {\n url.pathname += 'index.txt'\n } else {\n url.pathname += '.txt'\n }\n }\n }\n\n // Typically, during a navigation, we decode the response using Flight's\n // `createFromFetch` API, which accepts a `fetch` promise.\n // TODO: Remove this check once the old PPR flag is removed\n const isLegacyPPR =\n process.env.__NEXT_PPR && !process.env.__NEXT_CACHE_COMPONENTS\n const shouldImmediatelyDecode = !isLegacyPPR\n const res = await createFetch<NavigationFlightResponse>(\n url,\n headers,\n 'auto',\n shouldImmediatelyDecode\n )\n\n const responseUrl = urlToUrlWithoutFlightMarker(new URL(res.url))\n const canonicalUrl = res.redirected ? responseUrl : originalUrl\n\n const contentType = res.headers.get('content-type') || ''\n const interception = !!res.headers.get('vary')?.includes(NEXT_URL)\n const postponed = !!res.headers.get(NEXT_DID_POSTPONE_HEADER)\n const staleTimeHeaderSeconds = res.headers.get(\n NEXT_ROUTER_STALE_TIME_HEADER\n )\n const staleTime =\n staleTimeHeaderSeconds !== null\n ? parseInt(staleTimeHeaderSeconds, 10) * 1000\n : -1\n let isFlightResponse = contentType.startsWith(RSC_CONTENT_TYPE_HEADER)\n\n if (process.env.NODE_ENV === 'production') {\n if (process.env.__NEXT_CONFIG_OUTPUT === 'export') {\n if (!isFlightResponse) {\n isFlightResponse = contentType.startsWith('text/plain')\n }\n }\n }\n\n // If fetch returns something different than flight response handle it like a mpa navigation\n // If the fetch was not 200, we also handle it like a mpa navigation\n if (!isFlightResponse || !res.ok || !res.body) {\n // in case the original URL came with a hash, preserve it before redirecting to the new URL\n if (url.hash) {\n responseUrl.hash = url.hash\n }\n\n return doMpaNavigation(responseUrl.toString())\n }\n\n // We may navigate to a page that requires a different Webpack runtime.\n // In prod, every page will have the same Webpack runtime.\n // In dev, the Webpack runtime is minimal for each page.\n // We need to ensure the Webpack runtime is updated before executing client-side JS of the new page.\n // TODO: This needs to happen in the Flight Client.\n // Or Webpack needs to include the runtime update in the Flight response as\n // a blocking script.\n if (process.env.NODE_ENV !== 'production' && !process.env.TURBOPACK) {\n await (\n require('../../dev/hot-reloader/app/hot-reloader-app') as typeof import('../../dev/hot-reloader/app/hot-reloader-app')\n ).waitForWebpackRuntimeHotUpdate()\n }\n\n let flightResponsePromise = res.flightResponse\n if (flightResponsePromise === null) {\n // Typically, `createFetch` would have already started decoding the\n // Flight response. If it hasn't, though, we need to decode it now.\n // TODO: This should only be reachable if legacy PPR is enabled (i.e. PPR\n // without Cache Components). Remove this branch once legacy PPR\n // is deleted.\n const flightStream = postponed\n ? createUnclosingPrefetchStream(res.body)\n : res.body\n flightResponsePromise =\n createFromNextReadableStream<NavigationFlightResponse>(\n flightStream,\n headers\n )\n }\n\n const flightResponse = await flightResponsePromise\n\n if (getAppBuildId() !== flightResponse.b) {\n return doMpaNavigation(res.url)\n }\n\n const normalizedFlightData = normalizeFlightData(flightResponse.f)\n if (typeof normalizedFlightData === 'string') {\n return doMpaNavigation(normalizedFlightData)\n }\n\n return {\n flightData: normalizedFlightData,\n canonicalUrl: canonicalUrl,\n renderedSearch: getRenderedSearch(res),\n couldBeIntercepted: interception,\n prerendered: flightResponse.S,\n postponed,\n staleTime,\n debugInfo: flightResponsePromise._debugInfo ?? null,\n }\n } catch (err) {\n if (!isPageUnloading) {\n console.error(\n `Failed to fetch RSC payload for ${originalUrl}. Falling back to browser navigation.`,\n err\n )\n }\n\n // If fetch fails handle it like a mpa navigation\n // TODO-APP: Add a test for the case where a CORS request fails, e.g. external url redirect coming from the response.\n // See https://github.com/vercel/next.js/issues/43605#issuecomment-1451617521 for a reproduction.\n return originalUrl.toString()\n }\n}\n\n// This is a subset of the standard Response type. We use a custom type for\n// this so we can limit which details about the response leak into the rest of\n// the codebase. For example, there's some custom logic for manually following\n// redirects, so \"redirected\" in this type could be a composite of multiple\n// browser fetch calls; however, this fact should not leak to the caller.\nexport type RSCResponse<T> = {\n ok: boolean\n redirected: boolean\n headers: Headers\n body: ReadableStream<Uint8Array> | null\n status: number\n url: string\n flightResponse: (Promise<T> & { _debugInfo?: Array<any> }) | null\n}\n\nexport async function createFetch<T>(\n url: URL,\n headers: RequestHeaders,\n fetchPriority: 'auto' | 'high' | 'low' | null,\n shouldImmediatelyDecode: boolean,\n signal?: AbortSignal\n): Promise<RSCResponse<T>> {\n // TODO: In output: \"export\" mode, the headers do nothing. Omit them (and the\n // cache busting search param) from the request so they're\n // maximally cacheable.\n\n if (process.env.__NEXT_TEST_MODE && fetchPriority !== null) {\n headers['Next-Test-Fetch-Priority'] = fetchPriority\n }\n\n const deploymentId = getDeploymentId()\n if (deploymentId) {\n headers['x-deployment-id'] = deploymentId\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (self.__next_r) {\n headers[NEXT_HTML_REQUEST_ID_HEADER] = self.__next_r\n }\n\n // Create a new request ID for the server action request. The server uses\n // this to tag debug information sent via WebSocket to the client, which\n // then routes those chunks to the debug channel associated with this ID.\n headers[NEXT_REQUEST_ID_HEADER] = crypto\n .getRandomValues(new Uint32Array(1))[0]\n .toString(16)\n }\n\n const fetchOptions: RequestInit = {\n // Backwards compat for older browsers. `same-origin` is the default in modern browsers.\n credentials: 'same-origin',\n headers,\n priority: fetchPriority || undefined,\n signal,\n }\n // `fetchUrl` is slightly different from `url` because we add a cache-busting\n // search param to it. This should not leak outside of this function, so we\n // track them separately.\n let fetchUrl = new URL(url)\n setCacheBustingSearchParam(fetchUrl, headers)\n let fetchPromise = fetch(fetchUrl, fetchOptions)\n // Immediately pass the fetch promise to the Flight client so that the debug\n // info includes the latency from the client to the server. The internal timer\n // in React starts as soon as `createFromFetch` is called.\n //\n // The only case where we don't do this is during a prefetch, because we have\n // to do some extra processing of the response stream (see\n // `createUnclosingPrefetchStream`). But this is fine, because a top-level\n // prefetch response never blocks a navigation; if it hasn't already been\n // written into the cache by the time the navigation happens, the router will\n // go straight to a dynamic request.\n let flightResponsePromise = shouldImmediatelyDecode\n ? createFromNextFetch<T>(fetchPromise, headers)\n : null\n let browserResponse = await fetchPromise\n\n // If the server responds with a redirect (e.g. 307), and the redirected\n // location does not contain the cache busting search param set in the\n // original request, the response is likely invalid — when following the\n // redirect, the browser forwards the request headers, but since the cache\n // busting search param is missing, the server will reject the request due to\n // a mismatch.\n //\n // Ideally, we would be able to intercept the redirect response and perform it\n // manually, instead of letting the browser automatically follow it, but this\n // is not allowed by the fetch API.\n //\n // So instead, we must \"replay\" the redirect by fetching the new location\n // again, but this time we'll append the cache busting search param to prevent\n // a mismatch.\n //\n // TODO: We can optimize Next.js's built-in middleware APIs by returning a\n // custom status code, to prevent the browser from automatically following it.\n //\n // This does not affect Server Action-based redirects; those are encoded\n // differently, as part of the Flight body. It only affects redirects that\n // occur in a middleware or a third-party proxy.\n\n let redirected = browserResponse.redirected\n if (process.env.__NEXT_CLIENT_VALIDATE_RSC_REQUEST_HEADERS) {\n // This is to prevent a redirect loop. Same limit used by Chrome.\n const MAX_REDIRECTS = 20\n for (let n = 0; n < MAX_REDIRECTS; n++) {\n if (!browserResponse.redirected) {\n // The server did not perform a redirect.\n break\n }\n const responseUrl = new URL(browserResponse.url, fetchUrl)\n if (responseUrl.origin !== fetchUrl.origin) {\n // The server redirected to an external URL. The rest of the logic below\n // is not relevant, because it only applies to internal redirects.\n break\n }\n if (\n responseUrl.searchParams.get(NEXT_RSC_UNION_QUERY) ===\n fetchUrl.searchParams.get(NEXT_RSC_UNION_QUERY)\n ) {\n // The redirected URL already includes the cache busting search param.\n // This was probably intentional. Regardless, there's no reason to\n // issue another request to this URL because it already has the param\n // value that we would have added below.\n break\n }\n // The RSC request was redirected. Assume the response is invalid.\n //\n // Append the cache busting search param to the redirected URL and\n // fetch again.\n // TODO: We should abort the previous request.\n fetchUrl = new URL(responseUrl)\n setCacheBustingSearchParam(fetchUrl, headers)\n fetchPromise = fetch(fetchUrl, fetchOptions)\n flightResponsePromise = shouldImmediatelyDecode\n ? createFromNextFetch<T>(fetchPromise, headers)\n : null\n browserResponse = await fetchPromise\n // We just performed a manual redirect, so this is now true.\n redirected = true\n }\n }\n\n // Remove the cache busting search param from the response URL, to prevent it\n // from leaking outside of this function.\n const responseUrl = new URL(browserResponse.url, fetchUrl)\n responseUrl.searchParams.delete(NEXT_RSC_UNION_QUERY)\n\n const rscResponse: RSCResponse<T> = {\n url: responseUrl.href,\n\n // This is true if any redirects occurred, either automatically by the\n // browser, or manually by us. So it's different from\n // `browserResponse.redirected`, which only tells us whether the browser\n // followed a redirect, and only for the last response in the chain.\n redirected,\n\n // These can be copied from the last browser response we received. We\n // intentionally only expose the subset of fields that are actually used\n // elsewhere in the codebase.\n ok: browserResponse.ok,\n headers: browserResponse.headers,\n body: browserResponse.body,\n status: browserResponse.status,\n\n // This is the exact promise returned by `createFromFetch`. It contains\n // debug information that we need to transfer to any derived promises that\n // are later rendered by React.\n flightResponse: flightResponsePromise,\n }\n\n return rscResponse\n}\n\nexport function createFromNextReadableStream<T>(\n flightStream: ReadableStream<Uint8Array>,\n requestHeaders: RequestHeaders\n): Promise<T> {\n return createFromReadableStream(flightStream, {\n callServer,\n findSourceMapURL,\n debugChannel: createDebugChannel && createDebugChannel(requestHeaders),\n })\n}\n\nfunction createFromNextFetch<T>(\n promiseForResponse: Promise<Response>,\n requestHeaders: RequestHeaders\n): Promise<T> & { _debugInfo?: Array<any> } {\n return createFromFetch(promiseForResponse, {\n callServer,\n findSourceMapURL,\n debugChannel: createDebugChannel && createDebugChannel(requestHeaders),\n })\n}\n\nfunction createUnclosingPrefetchStream(\n originalFlightStream: ReadableStream<Uint8Array>\n): ReadableStream<Uint8Array> {\n // When PPR is enabled, prefetch streams may contain references that never\n // resolve, because that's how we encode dynamic data access. In the decoded\n // object returned by the Flight client, these are reified into hanging\n // promises that suspend during render, which is effectively what we want.\n // The UI resolves when it switches to the dynamic data stream\n // (via useDeferredValue(dynamic, static)).\n //\n // However, the Flight implementation currently errors if the server closes\n // the response before all the references are resolved. As a cheat to work\n // around this, we wrap the original stream in a new stream that never closes,\n // and therefore doesn't error.\n const reader = originalFlightStream.getReader()\n return new ReadableStream({\n async pull(controller) {\n while (true) {\n const { done, value } = await reader.read()\n if (!done) {\n // Pass to the target stream and keep consuming the Flight response\n // from the server.\n controller.enqueue(value)\n continue\n }\n // The server stream has closed. Exit, but intentionally do not close\n // the target stream.\n return\n }\n },\n })\n}\n"],"names":["createFetch","createFromNextReadableStream","fetchServerResponse","createFromReadableStream","createFromReadableStreamBrowser","createFromFetch","createFromFetchBrowser","createDebugChannel","process","env","NODE_ENV","__NEXT_REACT_DEBUG_CHANNEL","require","doMpaNavigation","url","urlToUrlWithoutFlightMarker","URL","location","origin","toString","isPageUnloading","window","addEventListener","options","flightRouterState","nextUrl","headers","RSC_HEADER","NEXT_ROUTER_STATE_TREE_HEADER","prepareFlightRouterStateForRequest","isHmrRefresh","NEXT_HMR_REFRESH_HEADER","NEXT_URL","originalUrl","__NEXT_CONFIG_OUTPUT","pathname","endsWith","isLegacyPPR","__NEXT_PPR","__NEXT_CACHE_COMPONENTS","shouldImmediatelyDecode","res","responseUrl","canonicalUrl","redirected","contentType","get","interception","includes","postponed","NEXT_DID_POSTPONE_HEADER","staleTimeHeaderSeconds","NEXT_ROUTER_STALE_TIME_HEADER","staleTime","parseInt","isFlightResponse","startsWith","RSC_CONTENT_TYPE_HEADER","ok","body","hash","TURBOPACK","waitForWebpackRuntimeHotUpdate","flightResponsePromise","flightResponse","flightStream","createUnclosingPrefetchStream","getAppBuildId","b","normalizedFlightData","normalizeFlightData","f","flightData","renderedSearch","getRenderedSearch","couldBeIntercepted","prerendered","S","debugInfo","_debugInfo","err","console","error","fetchPriority","signal","__NEXT_TEST_MODE","deploymentId","getDeploymentId","self","__next_r","NEXT_HTML_REQUEST_ID_HEADER","NEXT_REQUEST_ID_HEADER","crypto","getRandomValues","Uint32Array","fetchOptions","credentials","priority","undefined","fetchUrl","setCacheBustingSearchParam","fetchPromise","fetch","createFromNextFetch","browserResponse","__NEXT_CLIENT_VALIDATE_RSC_REQUEST_HEADERS","MAX_REDIRECTS","n","searchParams","NEXT_RSC_UNION_QUERY","delete","rscResponse","href","status","requestHeaders","callServer","findSourceMapURL","debugChannel","promiseForResponse","originalFlightStream","reader","getReader","ReadableStream","pull","controller","done","value","read","enqueue"],"mappings":"AAsDEQ,QAAQC,GAAG,CAACC,QAAQ,KAAK,gBACzBF,QAAQC,GAAG,CAACE,0BAA0B,EACtC;AAxDF;;;;;;;;;;;;;;;;;IAuSsBX,WAAW,EAAA;eAAXA;;IA4JNC,4BAA4B,EAAA;eAA5BA;;IAvUMC,mBAAmB,EAAA;eAAnBA;;;wBArHf;kCAoBA;+BACoB;qCACM;mCAK1B;4BACuB;4CACa;6BAIpC;8BAEyB;AAEhC,MAAMC,2BACJC,QAAAA,wBAA+B;AACjC,MAAMC,kBACJC,QAAAA,eAAsB;AAExB,IAAIC;AAI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,WAAWI,OAAO,CAACF;oBACnB;gBACF;gBACA,qEAAqE;gBACrE,qBAAqB;gBACrB;YACF;QACF;IACF;AACF","ignoreList":[0]}}, - {"offset": {"line": 2704, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/router-reducer/create-router-cache-key.ts"],"sourcesContent":["import type { Segment } from '../../../shared/lib/app-router-types'\nimport { PAGE_SEGMENT_KEY } from '../../../shared/lib/segment'\n\nexport function createRouterCacheKey(\n segment: Segment,\n withoutSearchParameters: boolean = false\n) {\n // if the segment is an array, it means it's a dynamic segment\n // for example, ['lang', 'en', 'd']. We need to convert it to a string to store it as a cache node key.\n if (Array.isArray(segment)) {\n return `${segment[0]}|${segment[1]}|${segment[2]}`\n }\n\n // Page segments might have search parameters, ie __PAGE__?foo=bar\n // When `withoutSearchParameters` is true, we only want to return the page segment\n if (withoutSearchParameters && segment.startsWith(PAGE_SEGMENT_KEY)) {\n return PAGE_SEGMENT_KEY\n }\n\n return segment\n}\n"],"names":["createRouterCacheKey","segment","withoutSearchParameters","Array","isArray","startsWith","PAGE_SEGMENT_KEY"],"mappings":";;;+BAGgBA,wBAAAA;;;eAAAA;;;yBAFiB;AAE1B,SAASA,qBACdC,OAAgB,EAChBC,0BAAmC,KAAK;IAExC,8DAA8D;IAC9D,uGAAuG;IACvG,IAAIC,MAAMC,OAAO,CAACH,UAAU;QAC1B,OAAO,GAAGA,OAAO,CAAC,EAAE,CAAC,CAAC,EAAEA,OAAO,CAAC,EAAE,CAAC,CAAC,EAAEA,OAAO,CAAC,EAAE,EAAE;IACpD;IAEA,kEAAkE;IAClE,kFAAkF;IAClF,IAAIC,2BAA2BD,QAAQI,UAAU,CAACC,SAAAA,gBAAgB,GAAG;QACnE,OAAOA,SAAAA,gBAAgB;IACzB;IAEA,OAAOL;AACT","ignoreList":[0]}}, - {"offset": {"line": 2738, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/router-reducer/is-navigating-to-new-root-layout.ts"],"sourcesContent":["import type { FlightRouterState } from '../../../shared/lib/app-router-types'\n\nexport function isNavigatingToNewRootLayout(\n currentTree: FlightRouterState,\n nextTree: FlightRouterState\n): boolean {\n // Compare segments\n const currentTreeSegment = currentTree[0]\n const nextTreeSegment = nextTree[0]\n\n // If any segment is different before we find the root layout, the root layout has changed.\n // E.g. /same/(group1)/layout.js -> /same/(group2)/layout.js\n // First segment is 'same' for both, keep looking. (group1) changed to (group2) before the root layout was found, it must have changed.\n if (Array.isArray(currentTreeSegment) && Array.isArray(nextTreeSegment)) {\n // Compare dynamic param name and type but ignore the value, different values would not affect the current root layout\n // /[name] - /slug1 and /slug2, both values (slug1 & slug2) still has the same layout /[name]/layout.js\n if (\n currentTreeSegment[0] !== nextTreeSegment[0] ||\n currentTreeSegment[2] !== nextTreeSegment[2]\n ) {\n return true\n }\n } else if (currentTreeSegment !== nextTreeSegment) {\n return true\n }\n\n // Current tree root layout found\n if (currentTree[4]) {\n // If the next tree doesn't have the root layout flag, it must have changed.\n return !nextTree[4]\n }\n // Current tree didn't have its root layout here, must have changed.\n if (nextTree[4]) {\n return true\n }\n // We can't assume it's `parallelRoutes.children` here in case the root layout is `app/@something/layout.js`\n // But it's not possible to be more than one parallelRoutes before the root layout is found\n // TODO-APP: change to traverse all parallel routes\n const currentTreeChild = Object.values(currentTree[1])[0]\n const nextTreeChild = Object.values(nextTree[1])[0]\n if (!currentTreeChild || !nextTreeChild) return true\n return isNavigatingToNewRootLayout(currentTreeChild, nextTreeChild)\n}\n"],"names":["isNavigatingToNewRootLayout","currentTree","nextTree","currentTreeSegment","nextTreeSegment","Array","isArray","currentTreeChild","Object","values","nextTreeChild"],"mappings":";;;+BAEgBA,+BAAAA;;;eAAAA;;;AAAT,SAASA,4BACdC,WAA8B,EAC9BC,QAA2B;IAE3B,mBAAmB;IACnB,MAAMC,qBAAqBF,WAAW,CAAC,EAAE;IACzC,MAAMG,kBAAkBF,QAAQ,CAAC,EAAE;IAEnC,2FAA2F;IAC3F,4DAA4D;IAC5D,uIAAuI;IACvI,IAAIG,MAAMC,OAAO,CAACH,uBAAuBE,MAAMC,OAAO,CAACF,kBAAkB;QACvE,sHAAsH;QACtH,uGAAuG;QACvG,IACED,kBAAkB,CAAC,EAAE,KAAKC,eAAe,CAAC,EAAE,IAC5CD,kBAAkB,CAAC,EAAE,KAAKC,eAAe,CAAC,EAAE,EAC5C;YACA,OAAO;QACT;IACF,OAAO,IAAID,uBAAuBC,iBAAiB;QACjD,OAAO;IACT;IAEA,iCAAiC;IACjC,IAAIH,WAAW,CAAC,EAAE,EAAE;QAClB,4EAA4E;QAC5E,OAAO,CAACC,QAAQ,CAAC,EAAE;IACrB;IACA,oEAAoE;IACpE,IAAIA,QAAQ,CAAC,EAAE,EAAE;QACf,OAAO;IACT;IACA,4GAA4G;IAC5G,2FAA2F;IAC3F,mDAAmD;IACnD,MAAMK,mBAAmBC,OAAOC,MAAM,CAACR,WAAW,CAAC,EAAE,CAAC,CAAC,EAAE;IACzD,MAAMS,gBAAgBF,OAAOC,MAAM,CAACP,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE;IACnD,IAAI,CAACK,oBAAoB,CAACG,eAAe,OAAO;IAChD,OAAOV,4BAA4BO,kBAAkBG;AACvD","ignoreList":[0]}}, - {"offset": {"line": 2791, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/router-reducer/ppr-navigations.ts"],"sourcesContent":["import type {\n CacheNodeSeedData,\n FlightRouterState,\n FlightSegmentPath,\n} from '../../../shared/lib/app-router-types'\nimport type {\n ChildSegmentMap,\n CacheNode,\n} from '../../../shared/lib/app-router-types'\nimport type {\n HeadData,\n LoadingModuleData,\n} from '../../../shared/lib/app-router-types'\nimport {\n DEFAULT_SEGMENT_KEY,\n NOT_FOUND_SEGMENT_KEY,\n} from '../../../shared/lib/segment'\nimport { matchSegment } from '../match-segments'\nimport { createHrefFromUrl } from './create-href-from-url'\nimport { createRouterCacheKey } from './create-router-cache-key'\nimport { fetchServerResponse } from './fetch-server-response'\nimport { dispatchAppRouterAction } from '../use-action-queue'\nimport {\n ACTION_SERVER_PATCH,\n type ServerPatchAction,\n} from './router-reducer-types'\nimport { isNavigatingToNewRootLayout } from './is-navigating-to-new-root-layout'\nimport { DYNAMIC_STALETIME_MS } from './reducers/navigate-reducer'\nimport {\n convertServerPatchToFullTree,\n type NavigationSeed,\n} from '../segment-cache/navigation'\n\n// This is yet another tree type that is used to track pending promises that\n// need to be fulfilled once the dynamic data is received. The terminal nodes of\n// this tree represent the new Cache Node trees that were created during this\n// request. We can't use the Cache Node tree or Route State tree directly\n// because those include reused nodes, too. This tree is discarded as soon as\n// the navigation response is received.\nexport type NavigationTask = {\n status: NavigationTaskStatus\n // The router state that corresponds to the tree that this Task represents.\n route: FlightRouterState\n // The CacheNode that corresponds to the tree that this Task represents.\n node: CacheNode\n // The tree sent to the server during the dynamic request. If all the segments\n // are static, then this will be null, and no server request is required.\n // Otherwise, this is the same as `route`, except with the `refetch` marker\n // set on the top-most segment that needs to be fetched.\n dynamicRequestTree: FlightRouterState | null\n // The URL that should be used to fetch the dynamic data. This is only set\n // when the segment cannot be refetched from the current route, because it's\n // part of a \"default\" parallel slot that was reused during a navigation.\n refreshUrl: string | null\n children: Map<string, NavigationTask> | null\n}\n\nexport const enum FreshnessPolicy {\n Default,\n Hydration,\n HistoryTraversal,\n RefreshAll,\n HMRRefresh,\n}\n\nconst enum NavigationTaskStatus {\n Pending,\n Fulfilled,\n Rejected,\n}\n\n/**\n * When a NavigationTask finishes, there may or may not be data still missing,\n * necessitating a retry.\n */\nconst enum NavigationTaskExitStatus {\n /**\n * No additional navigation is required.\n */\n Done = 0,\n /**\n * Some data failed to load, presumably due to a route tree mismatch. Perform\n * a soft retry to reload the entire tree.\n */\n SoftRetry = 1,\n /**\n * Some data failed to load in an unrecoverable way, e.g. in an inactive\n * parallel route. Fall back to a hard (MPA-style) retry.\n */\n HardRetry = 2,\n}\n\nexport type NavigationRequestAccumulation = {\n scrollableSegments: Array<FlightSegmentPath> | null\n separateRefreshUrls: Set<string> | null\n}\n\nconst noop = () => {}\n\nexport function createInitialCacheNodeForHydration(\n navigatedAt: number,\n initialTree: FlightRouterState,\n seedData: CacheNodeSeedData | null,\n seedHead: HeadData\n): CacheNode {\n // Create the initial cache node tree, using the data embedded into the\n // HTML document.\n const accumulation: NavigationRequestAccumulation = {\n scrollableSegments: null,\n separateRefreshUrls: null,\n }\n const task = createCacheNodeOnNavigation(\n navigatedAt,\n initialTree,\n undefined,\n FreshnessPolicy.Hydration,\n seedData,\n seedHead,\n null,\n null,\n false,\n null,\n null,\n false,\n accumulation\n )\n\n // NOTE: We intentionally don't check if any data needs to be fetched from the\n // server. We assume the initial hydration payload is sufficient to render\n // the page.\n //\n // The completeness of the initial data is an important property that we rely\n // on as a last-ditch mechanism for recovering the app; we must always be able\n // to reload a fresh HTML document to get to a consistent state.\n //\n // In the future, there may be cases where the server intentionally sends\n // partial data and expects the client to fill in the rest, in which case this\n // logic may change. (There already is a similar case where the server sends\n // _no_ hydration data in the HTML document at all, and the client fetches it\n // separately, but that's different because we still end up hydrating with a\n // complete tree.)\n\n return task.node\n}\n\n// Creates a new Cache Node tree (i.e. copy-on-write) that represents the\n// optimistic result of a navigation, using both the current Cache Node tree and\n// data that was prefetched prior to navigation.\n//\n// At the moment we call this function, we haven't yet received the navigation\n// response from the server. It could send back something completely different\n// from the tree that was prefetched — due to rewrites, default routes, parallel\n// routes, etc.\n//\n// But in most cases, it will return the same tree that we prefetched, just with\n// the dynamic holes filled in. So we optimistically assume this will happen,\n// and accept that the real result could be arbitrarily different.\n//\n// We'll reuse anything that was already in the previous tree, since that's what\n// the server does.\n//\n// New segments (ones that don't appear in the old tree) are assigned an\n// unresolved promise. The data for these promises will be fulfilled later, when\n// the navigation response is received.\n//\n// The tree can be rendered immediately after it is created (that's why this is\n// a synchronous function). Any new trees that do not have prefetch data will\n// suspend during rendering, until the dynamic data streams in.\n//\n// Returns a Task object, which contains both the updated Cache Node and a path\n// to the pending subtrees that need to be resolved by the navigation response.\n//\n// A return value of `null` means there were no changes, and the previous tree\n// can be reused without initiating a server request.\nexport function startPPRNavigation(\n navigatedAt: number,\n oldUrl: URL,\n oldCacheNode: CacheNode | null,\n oldRouterState: FlightRouterState,\n newRouterState: FlightRouterState,\n freshness: FreshnessPolicy,\n seedData: CacheNodeSeedData | null,\n seedHead: HeadData | null,\n prefetchData: CacheNodeSeedData | null,\n prefetchHead: HeadData | null,\n isPrefetchHeadPartial: boolean,\n isSamePageNavigation: boolean,\n accumulation: NavigationRequestAccumulation\n): NavigationTask | null {\n const didFindRootLayout = false\n const parentNeedsDynamicRequest = false\n const parentRefreshUrl = null\n return updateCacheNodeOnNavigation(\n navigatedAt,\n oldUrl,\n oldCacheNode !== null ? oldCacheNode : undefined,\n oldRouterState,\n newRouterState,\n freshness,\n didFindRootLayout,\n seedData,\n seedHead,\n prefetchData,\n prefetchHead,\n isPrefetchHeadPartial,\n isSamePageNavigation,\n null,\n null,\n parentNeedsDynamicRequest,\n parentRefreshUrl,\n accumulation\n )\n}\n\nfunction updateCacheNodeOnNavigation(\n navigatedAt: number,\n oldUrl: URL,\n oldCacheNode: CacheNode | void,\n oldRouterState: FlightRouterState,\n newRouterState: FlightRouterState,\n freshness: FreshnessPolicy,\n didFindRootLayout: boolean,\n seedData: CacheNodeSeedData | null,\n seedHead: HeadData | null,\n prefetchData: CacheNodeSeedData | null,\n prefetchHead: HeadData | null,\n isPrefetchHeadPartial: boolean,\n isSamePageNavigation: boolean,\n parentSegmentPath: FlightSegmentPath | null,\n parentParallelRouteKey: string | null,\n parentNeedsDynamicRequest: boolean,\n parentRefreshUrl: string | null,\n accumulation: NavigationRequestAccumulation\n): NavigationTask | null {\n // Check if this segment matches the one in the previous route.\n const oldSegment = oldRouterState[0]\n const newSegment = newRouterState[0]\n if (!matchSegment(newSegment, oldSegment)) {\n // This segment does not match the previous route. We're now entering the\n // new part of the target route. Switch to the \"create\" path.\n if (\n // Check if the route tree changed before we reached a layout. (The\n // highest-level layout in a route tree is referred to as the \"root\"\n // layout.) This could mean that we're navigating between two different\n // root layouts. When this happens, we perform a full-page (MPA-style)\n // navigation.\n //\n // However, the algorithm for deciding where to start rendering a route\n // (i.e. the one performed in order to reach this function) is stricter\n // than the one used to detect a change in the root layout. So just\n // because we're re-rendering a segment outside of the root layout does\n // not mean we should trigger a full-page navigation.\n //\n // Specifically, we handle dynamic parameters differently: two segments\n // are considered the same even if their parameter values are different.\n //\n // Refer to isNavigatingToNewRootLayout for details.\n //\n // Note that we only have to perform this extra traversal if we didn't\n // already discover a root layout in the part of the tree that is\n // unchanged. We also only need to compare the subtree that is not\n // shared. In the common case, this branch is skipped completely.\n (!didFindRootLayout &&\n isNavigatingToNewRootLayout(oldRouterState, newRouterState)) ||\n // The global Not Found route (app/global-not-found.tsx) is a special\n // case, because it acts like a root layout, but in the router tree, it\n // is rendered in the same position as app/layout.tsx.\n //\n // Any navigation to the global Not Found route should trigger a\n // full-page navigation.\n //\n // TODO: We should probably model this by changing the key of the root\n // segment when this happens. Then the root layout check would work\n // as expected, without a special case.\n newSegment === NOT_FOUND_SEGMENT_KEY\n ) {\n return null\n }\n if (parentSegmentPath === null || parentParallelRouteKey === null) {\n // The root should never mismatch. If it does, it suggests an internal\n // Next.js error, or a malformed server response. Trigger a full-\n // page navigation.\n return null\n }\n return createCacheNodeOnNavigation(\n navigatedAt,\n newRouterState,\n oldCacheNode,\n freshness,\n seedData,\n seedHead,\n prefetchData,\n prefetchHead,\n isPrefetchHeadPartial,\n parentSegmentPath,\n parentParallelRouteKey,\n parentNeedsDynamicRequest,\n accumulation\n )\n }\n\n // TODO: The segment paths are tracked so that LayoutRouter knows which\n // segments to scroll to after a navigation. But we should just mark this\n // information on the CacheNode directly. It used to be necessary to do this\n // separately because CacheNodes were created lazily during render, not when\n // rather than when creating the route tree.\n const segmentPath =\n parentParallelRouteKey !== null && parentSegmentPath !== null\n ? parentSegmentPath.concat([parentParallelRouteKey, newSegment])\n : // NOTE: The root segment is intentionally omitted from the segment path\n []\n\n const newRouterStateChildren = newRouterState[1]\n const oldRouterStateChildren = oldRouterState[1]\n const seedDataChildren = seedData !== null ? seedData[1] : null\n const prefetchDataChildren = prefetchData !== null ? prefetchData[1] : null\n\n // We're currently traversing the part of the tree that was also part of\n // the previous route. If we discover a root layout, then we don't need to\n // trigger an MPA navigation.\n const isRootLayout = newRouterState[4] === true\n const childDidFindRootLayout = didFindRootLayout || isRootLayout\n\n const oldParallelRoutes =\n oldCacheNode !== undefined ? oldCacheNode.parallelRoutes : undefined\n\n // Clone the current set of segment children, even if they aren't active in\n // the new tree.\n // TODO: We currently retain all the inactive segments indefinitely, until\n // there's an explicit refresh, or a parent layout is lazily refreshed. We\n // rely on this for popstate navigations, which update the Router State Tree\n // but do not eagerly perform a data fetch, because they expect the segment\n // data to already be in the Cache Node tree. For highly static sites that\n // are mostly read-only, this may happen only rarely, causing memory to\n // leak. We should figure out a better model for the lifetime of inactive\n // segments, so we can maintain instant back/forward navigations without\n // leaking memory indefinitely.\n let shouldDropSiblingCaches: boolean = false\n let shouldRefreshDynamicData: boolean = false\n switch (freshness) {\n case FreshnessPolicy.Default:\n case FreshnessPolicy.HistoryTraversal:\n case FreshnessPolicy.Hydration: // <- shouldn't happen during client nav\n // We should never drop dynamic data in shared layouts, except during\n // a refresh.\n shouldDropSiblingCaches = false\n shouldRefreshDynamicData = false\n break\n case FreshnessPolicy.RefreshAll:\n case FreshnessPolicy.HMRRefresh:\n shouldDropSiblingCaches = true\n shouldRefreshDynamicData = true\n break\n default:\n freshness satisfies never\n break\n }\n const newParallelRoutes = new Map(\n shouldDropSiblingCaches ? undefined : oldParallelRoutes\n )\n\n // TODO: We're not consistent about how we do this check. Some places\n // check if the segment starts with PAGE_SEGMENT_KEY, but most seem to\n // check if there any any children, which is why I'm doing it here. We\n // should probably encode an empty children set as `null` though. Either\n // way, we should update all the checks to be consistent.\n const isLeafSegment = Object.keys(newRouterStateChildren).length === 0\n\n // Get the data for this segment. Since it was part of the previous route,\n // usually we just clone the data from the old CacheNode. However, during a\n // refresh or a revalidation, there won't be any existing CacheNode. So we\n // may need to consult the prefetch cache, like we would for a new segment.\n let newCacheNode: CacheNode\n let needsDynamicRequest: boolean\n if (\n oldCacheNode !== undefined &&\n !shouldRefreshDynamicData &&\n // During a same-page navigation, we always refetch the page segments\n !(isLeafSegment && isSamePageNavigation)\n ) {\n // Reuse the existing CacheNode\n const dropPrefetchRsc = false\n newCacheNode = reuseDynamicCacheNode(\n dropPrefetchRsc,\n oldCacheNode,\n newParallelRoutes\n )\n needsDynamicRequest = false\n } else if (seedData !== null && seedData[0] !== null) {\n // If this navigation was the result of an action, then check if the\n // server sent back data in the action response. We should favor using\n // that, rather than performing a separate request. This is both better\n // for performance and it's more likely to be consistent with any\n // writes that were just performed by the action, compared to a\n // separate request.\n const seedRsc = seedData[0]\n const seedLoading = seedData[2]\n const isSeedRscPartial = false\n const isSeedHeadPartial = seedHead === null\n newCacheNode = readCacheNodeFromSeedData(\n seedRsc,\n seedLoading,\n isSeedRscPartial,\n seedHead,\n isSeedHeadPartial,\n isLeafSegment,\n newParallelRoutes,\n navigatedAt\n )\n needsDynamicRequest = isLeafSegment && isSeedHeadPartial\n } else if (prefetchData !== null) {\n // Consult the prefetch cache.\n const prefetchRsc = prefetchData[0]\n const prefetchLoading = prefetchData[2]\n const isPrefetchRSCPartial = prefetchData[3]\n newCacheNode = readCacheNodeFromSeedData(\n prefetchRsc,\n prefetchLoading,\n isPrefetchRSCPartial,\n prefetchHead,\n isPrefetchHeadPartial,\n isLeafSegment,\n newParallelRoutes,\n navigatedAt\n )\n needsDynamicRequest =\n isPrefetchRSCPartial || (isLeafSegment && isPrefetchHeadPartial)\n } else {\n // Spawn a request to fetch new data from the server.\n newCacheNode = spawnNewCacheNode(\n newParallelRoutes,\n isLeafSegment,\n navigatedAt,\n freshness\n )\n needsDynamicRequest = true\n }\n\n // During a refresh navigation, there's a special case that happens when\n // entering a \"default\" slot. The default slot may not be part of the\n // current route; it may have been reused from an older route. If so,\n // we need to fetch its data from the old route's URL rather than current\n // route's URL. Keep track of this as we traverse the tree.\n const href = newRouterState[2]\n const refreshUrl =\n typeof href === 'string' && newRouterState[3] === 'refresh'\n ? // This segment is not present in the current route. Track its\n // refresh URL as we continue traversing the tree.\n href\n : // Inherit the refresh URL from the parent.\n parentRefreshUrl\n\n // If this segment itself needs to fetch new data from the server, then by\n // definition it is being refreshed. Track its refresh URL so we know which\n // URL to request the data from.\n if (needsDynamicRequest && refreshUrl !== null) {\n accumulateRefreshUrl(accumulation, refreshUrl)\n }\n\n // As we diff the trees, we may sometimes modify (copy-on-write, not mutate)\n // the Route Tree that was returned by the server — for example, in the case\n // of default parallel routes, we preserve the currently active segment. To\n // avoid mutating the original tree, we clone the router state children along\n // the return path.\n let patchedRouterStateChildren: {\n [parallelRouteKey: string]: FlightRouterState\n } = {}\n let taskChildren = null\n\n // Most navigations require a request to fetch additional data from the\n // server, either because the data was not already prefetched, or because the\n // target route contains dynamic data that cannot be prefetched.\n //\n // However, if the target route is fully static, and it's already completely\n // loaded into the segment cache, then we can skip the server request.\n //\n // This starts off as `false`, and is set to `true` if any of the child\n // routes requires a dynamic request.\n let childNeedsDynamicRequest = false\n // As we traverse the children, we'll construct a FlightRouterState that can\n // be sent to the server to request the dynamic data. If it turns out that\n // nothing in the subtree is dynamic (i.e. childNeedsDynamicRequest is false\n // at the end), then this will be discarded.\n // TODO: We can probably optimize the format of this data structure to only\n // include paths that are dynamic. Instead of reusing the\n // FlightRouterState type.\n let dynamicRequestTreeChildren: {\n [parallelRouteKey: string]: FlightRouterState\n } = {}\n\n for (let parallelRouteKey in newRouterStateChildren) {\n let newRouterStateChild: FlightRouterState =\n newRouterStateChildren[parallelRouteKey]\n const oldRouterStateChild: FlightRouterState | void =\n oldRouterStateChildren[parallelRouteKey]\n if (oldRouterStateChild === undefined) {\n // This should never happen, but if it does, it suggests a malformed\n // server response. Trigger a full-page navigation.\n return null\n }\n const oldSegmentMapChild =\n oldParallelRoutes !== undefined\n ? oldParallelRoutes.get(parallelRouteKey)\n : undefined\n\n let seedDataChild: CacheNodeSeedData | void | null =\n seedDataChildren !== null ? seedDataChildren[parallelRouteKey] : null\n let prefetchDataChild: CacheNodeSeedData | void | null =\n prefetchDataChildren !== null\n ? prefetchDataChildren[parallelRouteKey]\n : null\n\n let newSegmentChild = newRouterStateChild[0]\n let seedHeadChild = seedHead\n let prefetchHeadChild = prefetchHead\n let isPrefetchHeadPartialChild = isPrefetchHeadPartial\n if (\n // Skip this branch during a history traversal. We restore the tree that\n // was stashed in the history entry as-is.\n freshness !== FreshnessPolicy.HistoryTraversal &&\n newSegmentChild === DEFAULT_SEGMENT_KEY\n ) {\n // This is a \"default\" segment. These are never sent by the server during\n // a soft navigation; instead, the client reuses whatever segment was\n // already active in that slot on the previous route.\n newRouterStateChild = reuseActiveSegmentInDefaultSlot(\n oldUrl,\n oldRouterStateChild\n )\n newSegmentChild = newRouterStateChild[0]\n\n // Since we're switching to a different route tree, these are no\n // longer valid, because they correspond to the outer tree.\n seedDataChild = null\n seedHeadChild = null\n prefetchDataChild = null\n prefetchHeadChild = null\n isPrefetchHeadPartialChild = false\n }\n\n const newSegmentKeyChild = createRouterCacheKey(newSegmentChild)\n const oldCacheNodeChild =\n oldSegmentMapChild !== undefined\n ? oldSegmentMapChild.get(newSegmentKeyChild)\n : undefined\n\n const taskChild = updateCacheNodeOnNavigation(\n navigatedAt,\n oldUrl,\n oldCacheNodeChild,\n oldRouterStateChild,\n newRouterStateChild,\n freshness,\n childDidFindRootLayout,\n seedDataChild ?? null,\n seedHeadChild,\n prefetchDataChild ?? null,\n prefetchHeadChild,\n isPrefetchHeadPartialChild,\n isSamePageNavigation,\n segmentPath,\n parallelRouteKey,\n parentNeedsDynamicRequest || needsDynamicRequest,\n refreshUrl,\n accumulation\n )\n\n if (taskChild === null) {\n // One of the child tasks discovered a change to the root layout.\n // Immediately unwind from this recursive traversal. This will trigger a\n // full-page navigation.\n return null\n }\n\n // Recursively propagate up the child tasks.\n if (taskChildren === null) {\n taskChildren = new Map()\n }\n taskChildren.set(parallelRouteKey, taskChild)\n const newCacheNodeChild = taskChild.node\n if (newCacheNodeChild !== null) {\n const newSegmentMapChild: ChildSegmentMap = new Map(\n shouldDropSiblingCaches ? undefined : oldSegmentMapChild\n )\n newSegmentMapChild.set(newSegmentKeyChild, newCacheNodeChild)\n newParallelRoutes.set(parallelRouteKey, newSegmentMapChild)\n }\n\n // The child tree's route state may be different from the prefetched\n // route sent by the server. We need to clone it as we traverse back up\n // the tree.\n const taskChildRoute = taskChild.route\n patchedRouterStateChildren[parallelRouteKey] = taskChildRoute\n\n const dynamicRequestTreeChild = taskChild.dynamicRequestTree\n if (dynamicRequestTreeChild !== null) {\n // Something in the child tree is dynamic.\n childNeedsDynamicRequest = true\n dynamicRequestTreeChildren[parallelRouteKey] = dynamicRequestTreeChild\n } else {\n dynamicRequestTreeChildren[parallelRouteKey] = taskChildRoute\n }\n }\n\n return {\n status: needsDynamicRequest\n ? NavigationTaskStatus.Pending\n : NavigationTaskStatus.Fulfilled,\n route: patchRouterStateWithNewChildren(\n newRouterState,\n patchedRouterStateChildren\n ),\n node: newCacheNode,\n dynamicRequestTree: createDynamicRequestTree(\n newRouterState,\n dynamicRequestTreeChildren,\n needsDynamicRequest,\n childNeedsDynamicRequest,\n parentNeedsDynamicRequest\n ),\n refreshUrl,\n children: taskChildren,\n }\n}\n\nfunction createCacheNodeOnNavigation(\n navigatedAt: number,\n newRouterState: FlightRouterState,\n oldCacheNode: CacheNode | void,\n freshness: FreshnessPolicy,\n seedData: CacheNodeSeedData | null,\n seedHead: HeadData | null,\n prefetchData: CacheNodeSeedData | null,\n prefetchHead: HeadData | null,\n isPrefetchHeadPartial: boolean,\n parentSegmentPath: FlightSegmentPath | null,\n parentParallelRouteKey: string | null,\n parentNeedsDynamicRequest: boolean,\n accumulation: NavigationRequestAccumulation\n): NavigationTask {\n // Same traversal as updateCacheNodeNavigation, but simpler. We switch to this\n // path once we reach the part of the tree that was not in the previous route.\n // We don't need to diff against the old tree, we just need to create a new\n // one. We also don't need to worry about any refresh-related logic.\n //\n // For the most part, this is a subset of updateCacheNodeOnNavigation, so any\n // change that happens in this function likely needs to be applied to that\n // one, too. However there are some places where the behavior intentionally\n // diverges, which is why we keep them separate.\n\n const newSegment = newRouterState[0]\n const segmentPath =\n parentParallelRouteKey !== null && parentSegmentPath !== null\n ? parentSegmentPath.concat([parentParallelRouteKey, newSegment])\n : // NOTE: The root segment is intentionally omitted from the segment path\n []\n\n const newRouterStateChildren = newRouterState[1]\n const prefetchDataChildren = prefetchData !== null ? prefetchData[1] : null\n const seedDataChildren = seedData !== null ? seedData[1] : null\n const oldParallelRoutes =\n oldCacheNode !== undefined ? oldCacheNode.parallelRoutes : undefined\n\n let shouldDropSiblingCaches: boolean = false\n let shouldRefreshDynamicData: boolean = false\n let dropPrefetchRsc: boolean = false\n switch (freshness) {\n case FreshnessPolicy.Default:\n // We should never drop dynamic data in sibling caches except during\n // a refresh.\n shouldDropSiblingCaches = false\n\n // Only reuse the dynamic data if experimental.staleTimes.dynamic config\n // is set, and the data is not stale. (This is not a recommended API with\n // Cache Components, but it's supported for backwards compatibility. Use\n // cacheLife instead.)\n //\n // DYNAMIC_STALETIME_MS defaults to 0, but it can be increased.\n shouldRefreshDynamicData =\n oldCacheNode === undefined ||\n navigatedAt - oldCacheNode.navigatedAt >= DYNAMIC_STALETIME_MS\n\n dropPrefetchRsc = false\n break\n case FreshnessPolicy.Hydration:\n // During hydration, we assume the data sent by the server is both\n // consistent and complete.\n shouldRefreshDynamicData = false\n shouldDropSiblingCaches = false\n dropPrefetchRsc = false\n break\n case FreshnessPolicy.HistoryTraversal:\n // During back/forward navigations, we reuse the dynamic data regardless\n // of how stale it may be.\n shouldRefreshDynamicData = false\n shouldRefreshDynamicData = false\n\n // Only show prefetched data if the dynamic data is still pending. This\n // avoids a flash back to the prefetch state in a case where it's highly\n // likely to have already streamed in.\n //\n // Tehnically, what we're actually checking is whether the dynamic network\n // response was received. But since it's a streaming response, this does\n // not mean that all the dynamic data has fully streamed in. It just means\n // that _some_ of the dynamic data was received. But as a heuristic, we\n // assume that the rest dynamic data will stream in quickly, so it's still\n // better to skip the prefetch state.\n if (oldCacheNode !== undefined) {\n const oldRsc = oldCacheNode.rsc\n const oldRscDidResolve =\n !isDeferredRsc(oldRsc) || oldRsc.status !== 'pending'\n dropPrefetchRsc = oldRscDidResolve\n } else {\n dropPrefetchRsc = false\n }\n break\n case FreshnessPolicy.RefreshAll:\n case FreshnessPolicy.HMRRefresh:\n // Drop all dynamic data.\n shouldRefreshDynamicData = true\n shouldDropSiblingCaches = true\n dropPrefetchRsc = false\n break\n default:\n freshness satisfies never\n break\n }\n\n const newParallelRoutes = new Map(\n shouldDropSiblingCaches ? undefined : oldParallelRoutes\n )\n const isLeafSegment = Object.keys(newRouterStateChildren).length === 0\n\n if (isLeafSegment) {\n // The segment path of every leaf segment (i.e. page) is collected into\n // a result array. This is used by the LayoutRouter to scroll to ensure that\n // new pages are visible after a navigation.\n //\n // This only happens for new pages, not for refreshed pages.\n //\n // TODO: We should use a string to represent the segment path instead of\n // an array. We already use a string representation for the path when\n // accessing the Segment Cache, so we can use the same one.\n if (accumulation.scrollableSegments === null) {\n accumulation.scrollableSegments = []\n }\n accumulation.scrollableSegments.push(segmentPath)\n }\n\n let newCacheNode: CacheNode\n let needsDynamicRequest: boolean\n if (!shouldRefreshDynamicData && oldCacheNode !== undefined) {\n // Reuse the existing CacheNode\n newCacheNode = reuseDynamicCacheNode(\n dropPrefetchRsc,\n oldCacheNode,\n newParallelRoutes\n )\n needsDynamicRequest = false\n } else if (seedData !== null && seedData[0] !== null) {\n // If this navigation was the result of an action, then check if the\n // server sent back data in the action response. We should favor using\n // that, rather than performing a separate request. This is both better\n // for performance and it's more likely to be consistent with any\n // writes that were just performed by the action, compared to a\n // separate request.\n const seedRsc = seedData[0]\n const seedLoading = seedData[2]\n const isSeedRscPartial = false\n const isSeedHeadPartial =\n seedHead === null && freshness !== FreshnessPolicy.Hydration\n newCacheNode = readCacheNodeFromSeedData(\n seedRsc,\n seedLoading,\n isSeedRscPartial,\n seedHead,\n isSeedHeadPartial,\n isLeafSegment,\n newParallelRoutes,\n navigatedAt\n )\n needsDynamicRequest = isLeafSegment && isSeedHeadPartial\n } else if (\n freshness === FreshnessPolicy.Hydration &&\n isLeafSegment &&\n seedHead !== null\n ) {\n // This is another weird case related to \"not found\" pages and hydration.\n // There will be a head sent by the server, but no page seed data.\n // TODO: We really should get rid of all these \"not found\" specific quirks\n // and make sure the tree is always consistent.\n const seedRsc = null\n const seedLoading = null\n const isSeedRscPartial = false\n const isSeedHeadPartial = false\n newCacheNode = readCacheNodeFromSeedData(\n seedRsc,\n seedLoading,\n isSeedRscPartial,\n seedHead,\n isSeedHeadPartial,\n isLeafSegment,\n newParallelRoutes,\n navigatedAt\n )\n needsDynamicRequest = false\n } else if (freshness !== FreshnessPolicy.Hydration && prefetchData !== null) {\n // Consult the prefetch cache.\n const prefetchRsc = prefetchData[0]\n const prefetchLoading = prefetchData[2]\n const isPrefetchRSCPartial = prefetchData[3]\n newCacheNode = readCacheNodeFromSeedData(\n prefetchRsc,\n prefetchLoading,\n isPrefetchRSCPartial,\n prefetchHead,\n isPrefetchHeadPartial,\n isLeafSegment,\n newParallelRoutes,\n navigatedAt\n )\n needsDynamicRequest =\n isPrefetchRSCPartial || (isLeafSegment && isPrefetchHeadPartial)\n } else {\n // Spawn a request to fetch new data from the server.\n newCacheNode = spawnNewCacheNode(\n newParallelRoutes,\n isLeafSegment,\n navigatedAt,\n freshness\n )\n needsDynamicRequest = true\n }\n\n let patchedRouterStateChildren: {\n [parallelRouteKey: string]: FlightRouterState\n } = {}\n let taskChildren = null\n\n let childNeedsDynamicRequest = false\n let dynamicRequestTreeChildren: {\n [parallelRouteKey: string]: FlightRouterState\n } = {}\n\n for (let parallelRouteKey in newRouterStateChildren) {\n const newRouterStateChild: FlightRouterState =\n newRouterStateChildren[parallelRouteKey]\n const oldSegmentMapChild =\n oldParallelRoutes !== undefined\n ? oldParallelRoutes.get(parallelRouteKey)\n : undefined\n const seedDataChild: CacheNodeSeedData | void | null =\n seedDataChildren !== null ? seedDataChildren[parallelRouteKey] : null\n const prefetchDataChild: CacheNodeSeedData | void | null =\n prefetchDataChildren !== null\n ? prefetchDataChildren[parallelRouteKey]\n : null\n\n const newSegmentChild = newRouterStateChild[0]\n const newSegmentKeyChild = createRouterCacheKey(newSegmentChild)\n\n const oldCacheNodeChild =\n oldSegmentMapChild !== undefined\n ? oldSegmentMapChild.get(newSegmentKeyChild)\n : undefined\n\n const taskChild = createCacheNodeOnNavigation(\n navigatedAt,\n newRouterStateChild,\n oldCacheNodeChild,\n freshness,\n seedDataChild ?? null,\n seedHead,\n prefetchDataChild ?? null,\n prefetchHead,\n isPrefetchHeadPartial,\n segmentPath,\n parallelRouteKey,\n parentNeedsDynamicRequest || needsDynamicRequest,\n accumulation\n )\n\n if (taskChildren === null) {\n taskChildren = new Map()\n }\n taskChildren.set(parallelRouteKey, taskChild)\n const newCacheNodeChild = taskChild.node\n if (newCacheNodeChild !== null) {\n const newSegmentMapChild: ChildSegmentMap = new Map(\n shouldDropSiblingCaches ? undefined : oldSegmentMapChild\n )\n newSegmentMapChild.set(newSegmentKeyChild, newCacheNodeChild)\n newParallelRoutes.set(parallelRouteKey, newSegmentMapChild)\n }\n\n const taskChildRoute = taskChild.route\n patchedRouterStateChildren[parallelRouteKey] = taskChildRoute\n\n const dynamicRequestTreeChild = taskChild.dynamicRequestTree\n if (dynamicRequestTreeChild !== null) {\n childNeedsDynamicRequest = true\n dynamicRequestTreeChildren[parallelRouteKey] = dynamicRequestTreeChild\n } else {\n dynamicRequestTreeChildren[parallelRouteKey] = taskChildRoute\n }\n }\n\n return {\n status: needsDynamicRequest\n ? NavigationTaskStatus.Pending\n : NavigationTaskStatus.Fulfilled,\n route: patchRouterStateWithNewChildren(\n newRouterState,\n patchedRouterStateChildren\n ),\n node: newCacheNode,\n dynamicRequestTree: createDynamicRequestTree(\n newRouterState,\n dynamicRequestTreeChildren,\n needsDynamicRequest,\n childNeedsDynamicRequest,\n parentNeedsDynamicRequest\n ),\n // This route is not part of the current tree, so there's no reason to\n // track the refresh URL.\n refreshUrl: null,\n children: taskChildren,\n }\n}\n\nfunction patchRouterStateWithNewChildren(\n baseRouterState: FlightRouterState,\n newChildren: { [parallelRouteKey: string]: FlightRouterState }\n): FlightRouterState {\n const clone: FlightRouterState = [baseRouterState[0], newChildren]\n // Based on equivalent logic in apply-router-state-patch-to-tree, but should\n // confirm whether we need to copy all of these fields. Not sure the server\n // ever sends, e.g. the refetch marker.\n if (2 in baseRouterState) {\n clone[2] = baseRouterState[2]\n }\n if (3 in baseRouterState) {\n clone[3] = baseRouterState[3]\n }\n if (4 in baseRouterState) {\n clone[4] = baseRouterState[4]\n }\n return clone\n}\n\nfunction createDynamicRequestTree(\n newRouterState: FlightRouterState,\n dynamicRequestTreeChildren: Record<string, FlightRouterState>,\n needsDynamicRequest: boolean,\n childNeedsDynamicRequest: boolean,\n parentNeedsDynamicRequest: boolean\n): FlightRouterState | null {\n // Create a FlightRouterState that instructs the server how to render the\n // requested segment.\n //\n // Or, if neither this segment nor any of the children require a new data,\n // then we return `null` to skip the request.\n let dynamicRequestTree: FlightRouterState | null = null\n if (needsDynamicRequest) {\n dynamicRequestTree = patchRouterStateWithNewChildren(\n newRouterState,\n dynamicRequestTreeChildren\n )\n // The \"refetch\" marker is set on the top-most segment that requires new\n // data. We can omit it if a parent was already marked.\n if (!parentNeedsDynamicRequest) {\n dynamicRequestTree[3] = 'refetch'\n }\n } else if (childNeedsDynamicRequest) {\n // This segment does not request new data, but at least one of its\n // children does.\n dynamicRequestTree = patchRouterStateWithNewChildren(\n newRouterState,\n dynamicRequestTreeChildren\n )\n } else {\n dynamicRequestTree = null\n }\n return dynamicRequestTree\n}\n\nfunction accumulateRefreshUrl(\n accumulation: NavigationRequestAccumulation,\n refreshUrl: string\n) {\n // This is a refresh navigation, and we're inside a \"default\" slot that's\n // not part of the current route; it was reused from an older route. In\n // order to get fresh data for this reused route, we need to issue a\n // separate request using the old route's URL.\n //\n // Track these extra URLs in the accumulated result. Later, we'll construct\n // an appropriate request for each unique URL in the final set. The reason\n // we don't do it immediately here is so we can deduplicate multiple\n // instances of the same URL into a single request. See\n // listenForDynamicRequest for more details.\n const separateRefreshUrls = accumulation.separateRefreshUrls\n if (separateRefreshUrls === null) {\n accumulation.separateRefreshUrls = new Set([refreshUrl])\n } else {\n separateRefreshUrls.add(refreshUrl)\n }\n}\n\nfunction reuseActiveSegmentInDefaultSlot(\n oldUrl: URL,\n oldRouterState: FlightRouterState\n): FlightRouterState {\n // This is a \"default\" segment. These are never sent by the server during a\n // soft navigation; instead, the client reuses whatever segment was already\n // active in that slot on the previous route. This means if we later need to\n // refresh the segment, it will have to be refetched from the previous route's\n // URL. We store it in the Flight Router State.\n //\n // TODO: We also mark the segment with a \"refresh\" marker but I think we can\n // get rid of that eventually by making sure we only add URLs to page segments\n // that are reused. Then the presence of the URL alone is enough.\n let reusedRouterState\n\n const oldRefreshMarker = oldRouterState[3]\n if (oldRefreshMarker === 'refresh') {\n // This segment was already reused from an even older route. Keep its\n // existing URL and refresh marker.\n reusedRouterState = oldRouterState\n } else {\n // This segment was not previously reused, and it's not on the new route.\n // So it must have been delivered in the old route.\n reusedRouterState = patchRouterStateWithNewChildren(\n oldRouterState,\n oldRouterState[1]\n )\n reusedRouterState[2] = createHrefFromUrl(oldUrl)\n reusedRouterState[3] = 'refresh'\n }\n\n return reusedRouterState\n}\n\nfunction reuseDynamicCacheNode(\n dropPrefetchRsc: boolean,\n existingCacheNode: CacheNode,\n parallelRoutes: Map<string, ChildSegmentMap>\n): CacheNode {\n // Clone an existing CacheNode's data, with (possibly) new children.\n const cacheNode: CacheNode = {\n rsc: existingCacheNode.rsc,\n prefetchRsc: dropPrefetchRsc ? null : existingCacheNode.prefetchRsc,\n head: existingCacheNode.head,\n prefetchHead: dropPrefetchRsc ? null : existingCacheNode.prefetchHead,\n loading: existingCacheNode.loading,\n\n parallelRoutes,\n\n // Don't update the navigatedAt timestamp, since we're reusing\n // existing data.\n navigatedAt: existingCacheNode.navigatedAt,\n }\n return cacheNode\n}\n\nfunction readCacheNodeFromSeedData(\n seedRsc: React.ReactNode,\n seedLoading: LoadingModuleData | Promise<LoadingModuleData>,\n isSeedRscPartial: boolean,\n seedHead: HeadData | null,\n isSeedHeadPartial: boolean,\n isPageSegment: boolean,\n parallelRoutes: Map<string, ChildSegmentMap>,\n navigatedAt: number\n): CacheNode {\n // TODO: Currently this is threaded through the navigation logic using the\n // CacheNodeSeedData type, but in the future this will read directly from\n // the Segment Cache. See readRenderSnapshotFromCache.\n\n let rsc: React.ReactNode\n let prefetchRsc: React.ReactNode\n if (isSeedRscPartial) {\n // The prefetched data contains dynamic holes. Create a pending promise that\n // will be fulfilled when the dynamic data is received from the server.\n prefetchRsc = seedRsc\n rsc = createDeferredRsc()\n } else {\n // The prefetched data is complete. Use it directly.\n prefetchRsc = null\n rsc = seedRsc\n }\n\n // If this is a page segment, also read the head.\n let prefetchHead: HeadData | null\n let head: HeadData | null\n if (isPageSegment) {\n if (isSeedHeadPartial) {\n prefetchHead = seedHead\n head = createDeferredRsc()\n } else {\n prefetchHead = null\n head = seedHead\n }\n } else {\n prefetchHead = null\n head = null\n }\n\n const cacheNode: CacheNode = {\n rsc,\n prefetchRsc,\n head,\n prefetchHead,\n // TODO: Technically, a loading boundary could contain dynamic data. We\n // should have separate `loading` and `prefetchLoading` fields to handle\n // this, like we do for the segment data and head.\n loading: seedLoading,\n parallelRoutes,\n navigatedAt,\n }\n\n return cacheNode\n}\n\nfunction spawnNewCacheNode(\n parallelRoutes: Map<string, ChildSegmentMap>,\n isLeafSegment: boolean,\n navigatedAt: number,\n freshness: FreshnessPolicy\n): CacheNode {\n // We should never spawn network requests during hydration. We must treat the\n // initial payload as authoritative, because the initial page load is used\n // as a last-ditch mechanism for recovering the app.\n //\n // This is also an important safety check because if this leaks into the\n // server rendering path (which theoretically it never should because\n // the server payload should be consistent), the server would hang because\n // these promises would never resolve.\n //\n // TODO: There is an existing case where the global \"not found\" boundary\n // triggers this path. But it does render correctly despite that. That's an\n // unusual render path so it's not surprising, but we should look into\n // modeling it in a more consistent way. See also the /_notFound special\n // case in updateCacheNodeOnNavigation.\n const isHydration = freshness === FreshnessPolicy.Hydration\n\n const cacheNode: CacheNode = {\n rsc: !isHydration ? createDeferredRsc() : null,\n prefetchRsc: null,\n head: !isHydration && isLeafSegment ? createDeferredRsc() : null,\n prefetchHead: null,\n loading: !isHydration ? createDeferredRsc<LoadingModuleData>() : null,\n parallelRoutes,\n navigatedAt,\n }\n return cacheNode\n}\n\n// Represents whether the previuos navigation resulted in a route tree mismatch.\n// A mismatch results in a refresh of the page. If there are two successive\n// mismatches, we will fall back to an MPA navigation, to prevent a retry loop.\nlet previousNavigationDidMismatch = false\n\n// Writes a dynamic server response into the tree created by\n// updateCacheNodeOnNavigation. All pending promises that were spawned by the\n// navigation will be resolved, either with dynamic data from the server, or\n// `null` to indicate that the data is missing.\n//\n// A `null` value will trigger a lazy fetch during render, which will then patch\n// up the tree using the same mechanism as the non-PPR implementation\n// (serverPatchReducer).\n//\n// Usually, the server will respond with exactly the subset of data that we're\n// waiting for — everything below the nearest shared layout. But technically,\n// the server can return anything it wants.\n//\n// This does _not_ create a new tree; it modifies the existing one in place.\n// Which means it must follow the Suspense rules of cache safety.\nexport function spawnDynamicRequests(\n task: NavigationTask,\n primaryUrl: URL,\n nextUrl: string | null,\n freshnessPolicy: FreshnessPolicy,\n accumulation: NavigationRequestAccumulation\n): void {\n const dynamicRequestTree = task.dynamicRequestTree\n if (dynamicRequestTree === null) {\n // This navigation was fully cached. There are no dynamic requests to spawn.\n previousNavigationDidMismatch = false\n return\n }\n\n // This is intentionally not an async function to discourage the caller from\n // awaiting the result. Any subsequent async operations spawned by this\n // function should result in a separate navigation task, rather than\n // block the original one.\n //\n // In this function we spawn (but do not await) all the network requests that\n // block the navigation, and collect the promises. The next function,\n // `finishNavigationTask`, can await the promises in any order without\n // accidentally introducing a network waterfall.\n const primaryRequestPromise = fetchMissingDynamicData(\n task,\n dynamicRequestTree,\n primaryUrl,\n nextUrl,\n freshnessPolicy\n )\n\n const separateRefreshUrls = accumulation.separateRefreshUrls\n let refreshRequestPromises: Array<\n ReturnType<typeof fetchMissingDynamicData>\n > | null = null\n if (separateRefreshUrls !== null) {\n // There are multiple URLs that we need to request the data from. This\n // happens when a \"default\" parallel route slot is present in the tree, and\n // its data cannot be fetched from the current route. We need to split the\n // combined dynamic request tree into separate requests per URL.\n\n // TODO: Create a scoped dynamic request tree that omits anything that\n // is not relevant to the given URL. Without doing this, the server may\n // sometimes render more data than necessary; this is not a regression\n // compared to the pre-Segment Cache implementation, though, just an\n // optimization we can make in the future.\n\n // Construct a request tree for each additional refresh URL. This will\n // prune away everything except the parts of the tree that match the\n // given refresh URL.\n refreshRequestPromises = []\n const canonicalUrl = createHrefFromUrl(primaryUrl)\n for (const refreshUrl of separateRefreshUrls) {\n if (refreshUrl === canonicalUrl) {\n // We already initiated a request for the this URL, above. Skip it.\n // TODO: This only happens because the main URL is not tracked as\n // part of the separateRefreshURLs set. There's probably a better way\n // to structure this so this case doesn't happen.\n continue\n }\n // TODO: Create a scoped dynamic request tree that omits anything that\n // is not relevant to the given URL. Without doing this, the server may\n // sometimes render more data than necessary; this is not a regression\n // compared to the pre-Segment Cache implementation, though, just an\n // optimization we can make in the future.\n // const scopedDynamicRequestTree = splitTaskByURL(task, refreshUrl)\n const scopedDynamicRequestTree = dynamicRequestTree\n if (scopedDynamicRequestTree !== null) {\n refreshRequestPromises.push(\n fetchMissingDynamicData(\n task,\n scopedDynamicRequestTree,\n new URL(refreshUrl, location.origin),\n // TODO: Just noticed that this should actually the Next-Url at the\n // time the refresh URL was set, not the current Next-Url. Need to\n // start tracking this alongside the refresh URL. In the meantime,\n // if a refresh fails due to a mismatch, it will trigger a\n // hard refresh.\n nextUrl,\n freshnessPolicy\n )\n )\n }\n }\n }\n\n // Further async operations are moved into this separate function to\n // discourage sequential network requests.\n const voidPromise = finishNavigationTask(\n task,\n nextUrl,\n primaryRequestPromise,\n refreshRequestPromises\n )\n // `finishNavigationTask` is responsible for error handling, so we can attach\n // noop callbacks to this promise.\n voidPromise.then(noop, noop)\n}\n\nasync function finishNavigationTask(\n task: NavigationTask,\n nextUrl: string | null,\n primaryRequestPromise: ReturnType<typeof fetchMissingDynamicData>,\n refreshRequestPromises: Array<\n ReturnType<typeof fetchMissingDynamicData>\n > | null\n): Promise<void> {\n // Wait for all the requests to finish, or for the first one to fail.\n let exitStatus = await waitForRequestsToFinish(\n primaryRequestPromise,\n refreshRequestPromises\n )\n\n // Once the all the requests have finished, check the tree for any remaining\n // pending tasks. If anything is still pending, it means the server response\n // does not match the client, and we must refresh to get back to a consistent\n // state. We can skip this step if we already detected a mismatch during the\n // first phase; it doesn't matter in that case because we're going to refresh\n // the whole tree regardless.\n if (exitStatus === NavigationTaskExitStatus.Done) {\n exitStatus = abortRemainingPendingTasks(task, null, null)\n }\n\n switch (exitStatus) {\n case NavigationTaskExitStatus.Done: {\n // The task has completely finished. There's no missing data. Exit.\n previousNavigationDidMismatch = false\n return\n }\n case NavigationTaskExitStatus.SoftRetry: {\n // Some data failed to finish loading. Trigger a soft retry.\n // TODO: As an extra precaution against soft retry loops, consider\n // tracking whether a navigation was itself triggered by a retry. If two\n // happen in a row, fall back to a hard retry.\n const isHardRetry = false\n const primaryRequestResult = await primaryRequestPromise\n dispatchRetryDueToTreeMismatch(\n isHardRetry,\n primaryRequestResult.url,\n nextUrl,\n primaryRequestResult.seed,\n task.route\n )\n return\n }\n case NavigationTaskExitStatus.HardRetry: {\n // Some data failed to finish loading in a non-recoverable way, such as a\n // network error. Trigger an MPA navigation.\n //\n // Hard navigating/refreshing is how we prevent an infinite retry loop\n // caused by a network error — when the network fails, we fall back to the\n // browser behavior for offline navigations. In the future, Next.js may\n // introduce its own custom handling of offline navigations, but that\n // doesn't exist yet.\n const isHardRetry = true\n const primaryRequestResult = await primaryRequestPromise\n dispatchRetryDueToTreeMismatch(\n isHardRetry,\n primaryRequestResult.url,\n nextUrl,\n primaryRequestResult.seed,\n task.route\n )\n return\n }\n default: {\n return exitStatus satisfies never\n }\n }\n}\n\nfunction waitForRequestsToFinish(\n primaryRequestPromise: ReturnType<typeof fetchMissingDynamicData>,\n refreshRequestPromises: Array<\n ReturnType<typeof fetchMissingDynamicData>\n > | null\n) {\n // Custom async combinator logic. This could be replaced by Promise.any but\n // we don't assume that's available.\n //\n // Each promise resolves once the server responsds and the data is written\n // into the CacheNode tree. Resolve the combined promise once all the\n // requests finish.\n //\n // Or, resolve as soon as one of the requests fails, without waiting for the\n // others to finish.\n return new Promise<NavigationTaskExitStatus>((resolve) => {\n const onFulfill = (result: { exitStatus: NavigationTaskExitStatus }) => {\n if (result.exitStatus === NavigationTaskExitStatus.Done) {\n remainingCount--\n if (remainingCount === 0) {\n // All the requests finished successfully.\n resolve(NavigationTaskExitStatus.Done)\n }\n } else {\n // One of the requests failed. Exit with a failing status.\n // NOTE: It's possible for one of the requests to fail with SoftRetry\n // and a later one to fail with HardRetry. In this case, we choose to\n // retry immediately, rather than delay the retry until all the requests\n // finish. If it fails again, we will hard retry on the next\n // attempt, anyway.\n resolve(result.exitStatus)\n }\n }\n // onReject shouldn't ever be called because fetchMissingDynamicData's\n // entire body is wrapped in a try/catch. This is just defensive.\n const onReject = () => resolve(NavigationTaskExitStatus.HardRetry)\n\n // Attach the listeners to the promises.\n let remainingCount = 1\n primaryRequestPromise.then(onFulfill, onReject)\n if (refreshRequestPromises !== null) {\n remainingCount += refreshRequestPromises.length\n refreshRequestPromises.forEach((refreshRequestPromise) =>\n refreshRequestPromise.then(onFulfill, onReject)\n )\n }\n })\n}\n\nfunction dispatchRetryDueToTreeMismatch(\n isHardRetry: boolean,\n retryUrl: URL,\n retryNextUrl: string | null,\n seed: NavigationSeed | null,\n baseTree: FlightRouterState\n) {\n // If this is the second time in a row that a navigation resulted in a\n // mismatch, fall back to a hard (MPA) refresh.\n isHardRetry = isHardRetry || previousNavigationDidMismatch\n previousNavigationDidMismatch = true\n const retryAction: ServerPatchAction = {\n type: ACTION_SERVER_PATCH,\n previousTree: baseTree,\n url: retryUrl,\n nextUrl: retryNextUrl,\n seed,\n mpa: isHardRetry,\n }\n dispatchAppRouterAction(retryAction)\n}\n\nasync function fetchMissingDynamicData(\n task: NavigationTask,\n dynamicRequestTree: FlightRouterState,\n url: URL,\n nextUrl: string | null,\n freshnessPolicy: FreshnessPolicy\n): Promise<{\n exitStatus: NavigationTaskExitStatus\n url: URL\n seed: NavigationSeed | null\n}> {\n try {\n const result = await fetchServerResponse(url, {\n flightRouterState: dynamicRequestTree,\n nextUrl,\n isHmrRefresh: freshnessPolicy === FreshnessPolicy.HMRRefresh,\n })\n if (typeof result === 'string') {\n // fetchServerResponse will return an href to indicate that the SPA\n // navigation failed. For example, if the server triggered a hard\n // redirect, or the fetch request errored. Initiate an MPA navigation\n // to the given href.\n return {\n exitStatus: NavigationTaskExitStatus.HardRetry,\n url: new URL(result, location.origin),\n seed: null,\n }\n }\n const seed = convertServerPatchToFullTree(\n task.route,\n result.flightData,\n result.renderedSearch\n )\n const didReceiveUnknownParallelRoute = writeDynamicDataIntoNavigationTask(\n task,\n seed.tree,\n seed.data,\n seed.head,\n result.debugInfo\n )\n return {\n exitStatus: didReceiveUnknownParallelRoute\n ? NavigationTaskExitStatus.SoftRetry\n : NavigationTaskExitStatus.Done,\n url: new URL(result.canonicalUrl, location.origin),\n seed,\n }\n } catch {\n // This shouldn't happen because fetchServerResponse's entire body is\n // wrapped in a try/catch. If it does, though, it implies the server failed\n // to respond with any tree at all. So we must fall back to a hard retry.\n return {\n exitStatus: NavigationTaskExitStatus.HardRetry,\n url: url,\n seed: null,\n }\n }\n}\n\nfunction writeDynamicDataIntoNavigationTask(\n task: NavigationTask,\n serverRouterState: FlightRouterState,\n dynamicData: CacheNodeSeedData | null,\n dynamicHead: HeadData,\n debugInfo: Array<any> | null\n): boolean {\n if (task.status === NavigationTaskStatus.Pending && dynamicData !== null) {\n task.status = NavigationTaskStatus.Fulfilled\n finishPendingCacheNode(task.node, dynamicData, dynamicHead, debugInfo)\n }\n\n const taskChildren = task.children\n const serverChildren = serverRouterState[1]\n const dynamicDataChildren = dynamicData !== null ? dynamicData[1] : null\n\n // Detect whether the server sends a parallel route slot that the client\n // doesn't know about.\n let didReceiveUnknownParallelRoute = false\n\n if (taskChildren !== null) {\n for (const parallelRouteKey in serverChildren) {\n const serverRouterStateChild: FlightRouterState =\n serverChildren[parallelRouteKey]\n const dynamicDataChild: CacheNodeSeedData | null | void =\n dynamicDataChildren !== null\n ? dynamicDataChildren[parallelRouteKey]\n : null\n\n const taskChild = taskChildren.get(parallelRouteKey)\n if (taskChild === undefined) {\n // The server sent a child segment that the client doesn't know about.\n //\n // When we receive an unknown parallel route, we must consider it a\n // mismatch. This is unlike the case where the segment itself\n // mismatches, because multiple routes can be active simultaneously.\n // But a given layout should never have a mismatching set of\n // child slots.\n //\n // Theoretically, this should only happen in development during an HMR\n // refresh, because the set of parallel routes for a layout does not\n // change over the lifetime of a build/deployment. In production, we\n // should have already mismatched on either the build id or the segment\n // path. But as an extra precaution, we validate in prod, too.\n didReceiveUnknownParallelRoute = true\n } else {\n const taskSegment = taskChild.route[0]\n if (\n matchSegment(serverRouterStateChild[0], taskSegment) &&\n dynamicDataChild !== null &&\n dynamicDataChild !== undefined\n ) {\n // Found a match for this task. Keep traversing down the task tree.\n const childDidReceiveUnknownParallelRoute =\n writeDynamicDataIntoNavigationTask(\n taskChild,\n serverRouterStateChild,\n dynamicDataChild,\n dynamicHead,\n debugInfo\n )\n if (childDidReceiveUnknownParallelRoute) {\n didReceiveUnknownParallelRoute = true\n }\n }\n }\n }\n }\n\n return didReceiveUnknownParallelRoute\n}\n\nfunction finishPendingCacheNode(\n cacheNode: CacheNode,\n dynamicData: CacheNodeSeedData,\n dynamicHead: HeadData,\n debugInfo: Array<any> | null\n): void {\n // Writes a dynamic response into an existing Cache Node tree. This does _not_\n // create a new tree, it updates the existing tree in-place. So it must follow\n // the Suspense rules of cache safety — it can resolve pending promises, but\n // it cannot overwrite existing data. It can add segments to the tree (because\n // a missing segment will cause the layout router to suspend).\n // but it cannot delete them.\n //\n // We must resolve every promise in the tree, or else it will suspend\n // indefinitely. If we did not receive data for a segment, we will resolve its\n // data promise to `null` to trigger a lazy fetch during render.\n\n // Use the dynamic data from the server to fulfill the deferred RSC promise\n // on the Cache Node.\n const rsc = cacheNode.rsc\n const dynamicSegmentData = dynamicData[0]\n\n if (dynamicSegmentData === null) {\n // This is an empty CacheNode; this particular server request did not\n // render this segment. There may be a separate pending request that will,\n // though, so we won't abort the task until all pending requests finish.\n return\n }\n\n if (rsc === null) {\n // This is a lazy cache node. We can overwrite it. This is only safe\n // because we know that the LayoutRouter suspends if `rsc` is `null`.\n cacheNode.rsc = dynamicSegmentData\n } else if (isDeferredRsc(rsc)) {\n // This is a deferred RSC promise. We can fulfill it with the data we just\n // received from the server. If it was already resolved by a different\n // navigation, then this does nothing because we can't overwrite data.\n rsc.resolve(dynamicSegmentData, debugInfo)\n } else {\n // This is not a deferred RSC promise, nor is it empty, so it must have\n // been populated by a different navigation. We must not overwrite it.\n }\n\n // If we navigated without a prefetch, then `loading` will be a deferred promise too.\n // Fulfill it using the dynamic response so that we can display the loading boundary.\n const loading = cacheNode.loading\n if (isDeferredRsc(loading)) {\n const dynamicLoading = dynamicData[2]\n loading.resolve(dynamicLoading, debugInfo)\n }\n\n // Check if this is a leaf segment. If so, it will have a `head` property with\n // a pending promise that needs to be resolved with the dynamic head from\n // the server.\n const head = cacheNode.head\n if (isDeferredRsc(head)) {\n head.resolve(dynamicHead, debugInfo)\n }\n}\n\nfunction abortRemainingPendingTasks(\n task: NavigationTask,\n error: any,\n debugInfo: Array<any> | null\n): NavigationTaskExitStatus {\n let exitStatus\n if (task.status === NavigationTaskStatus.Pending) {\n // The data for this segment is still missing.\n task.status = NavigationTaskStatus.Rejected\n abortPendingCacheNode(task.node, error, debugInfo)\n\n // If the server failed to fulfill the data for this segment, it implies\n // that the route tree received from the server mismatched the tree that\n // was previously prefetched.\n //\n // In an app with fully static routes and no proxy-driven redirects or\n // rewrites, this should never happen, because the route for a URL would\n // always be the same across multiple requests. So, this implies that some\n // runtime routing condition changed, likely in a proxy, without being\n // pushed to the client.\n //\n // When this happens, we treat this the same as a refresh(). The entire\n // tree will be re-rendered from the root.\n if (task.refreshUrl === null) {\n // Trigger a \"soft\" refresh. Essentially the same as calling `refresh()`\n // in a Server Action.\n exitStatus = NavigationTaskExitStatus.SoftRetry\n } else {\n // The mismatch was discovered inside an inactive parallel route. This\n // implies the inactive parallel route is no longer reachable at the URL\n // that originally rendered it. Fall back to an MPA refresh.\n // TODO: An alternative could be to trigger a soft refresh but to _not_\n // re-use the inactive parallel routes this time. Similar to what would\n // happen if were to do a hard refrehs, but without the HTML page.\n exitStatus = NavigationTaskExitStatus.HardRetry\n }\n } else {\n // This segment finished. (An error here is treated as Done because they are\n // surfaced to the application during render.)\n exitStatus = NavigationTaskExitStatus.Done\n }\n\n const taskChildren = task.children\n if (taskChildren !== null) {\n for (const [, taskChild] of taskChildren) {\n const childExitStatus = abortRemainingPendingTasks(\n taskChild,\n error,\n debugInfo\n )\n // Propagate the exit status up the tree. The statuses are ordered by\n // their precedence.\n if (childExitStatus > exitStatus) {\n exitStatus = childExitStatus\n }\n }\n }\n\n return exitStatus\n}\n\nfunction abortPendingCacheNode(\n cacheNode: CacheNode,\n error: any,\n debugInfo: Array<any> | null\n): void {\n const rsc = cacheNode.rsc\n if (isDeferredRsc(rsc)) {\n if (error === null) {\n // This will trigger a lazy fetch during render.\n rsc.resolve(null, debugInfo)\n } else {\n // This will trigger an error during rendering.\n rsc.reject(error, debugInfo)\n }\n }\n\n const loading = cacheNode.loading\n if (isDeferredRsc(loading)) {\n loading.resolve(null, debugInfo)\n }\n\n // Check if this is a leaf segment. If so, it will have a `head` property with\n // a pending promise that needs to be resolved. If an error was provided, we\n // will not resolve it with an error, since this is rendered at the root of\n // the app. We want the segment to error, not the entire app.\n const head = cacheNode.head\n if (isDeferredRsc(head)) {\n head.resolve(null, debugInfo)\n }\n}\n\nconst DEFERRED = Symbol()\n\ntype PendingDeferredRsc<T> = Promise<T> & {\n status: 'pending'\n resolve: (value: T, debugInfo: Array<any> | null) => void\n reject: (error: any, debugInfo: Array<any> | null) => void\n tag: Symbol\n _debugInfo: Array<any>\n}\n\ntype FulfilledDeferredRsc<T> = Promise<T> & {\n status: 'fulfilled'\n value: T\n resolve: (value: T, debugInfo: Array<any> | null) => void\n reject: (error: any, debugInfo: Array<any> | null) => void\n tag: Symbol\n _debugInfo: Array<any>\n}\n\ntype RejectedDeferredRsc<T> = Promise<T> & {\n status: 'rejected'\n reason: any\n resolve: (value: T, debugInfo: Array<any> | null) => void\n reject: (error: any, debugInfo: Array<any> | null) => void\n tag: Symbol\n _debugInfo: Array<any>\n}\n\ntype DeferredRsc<T extends React.ReactNode = React.ReactNode> =\n | PendingDeferredRsc<T>\n | FulfilledDeferredRsc<T>\n | RejectedDeferredRsc<T>\n\n// This type exists to distinguish a DeferredRsc from a Flight promise. It's a\n// compromise to avoid adding an extra field on every Cache Node, which would be\n// awkward because the pre-PPR parts of codebase would need to account for it,\n// too. We can remove it once type Cache Node type is more settled.\nexport function isDeferredRsc(value: any): value is DeferredRsc {\n return value && typeof value === 'object' && value.tag === DEFERRED\n}\n\nfunction createDeferredRsc<\n T extends React.ReactNode = React.ReactNode,\n>(): PendingDeferredRsc<T> {\n // Create an unresolved promise that represents data derived from a Flight\n // response. The promise will be resolved later as soon as we start receiving\n // data from the server, i.e. as soon as the Flight client decodes and returns\n // the top-level response object.\n\n // The `_debugInfo` field contains profiling information. Promises that are\n // created by Flight already have this info added by React; for any derived\n // promise created by the router, we need to transfer the Flight debug info\n // onto the derived promise.\n //\n // The debug info represents the latency between the start of the navigation\n // and the start of rendering. (It does not represent the time it takes for\n // whole stream to finish.)\n const debugInfo: Array<any> = []\n\n let resolve: any\n let reject: any\n const pendingRsc = new Promise<T>((res, rej) => {\n resolve = res\n reject = rej\n }) as PendingDeferredRsc<T>\n pendingRsc.status = 'pending'\n pendingRsc.resolve = (value: T, responseDebugInfo: Array<any> | null) => {\n if (pendingRsc.status === 'pending') {\n const fulfilledRsc: FulfilledDeferredRsc<T> = pendingRsc as any\n fulfilledRsc.status = 'fulfilled'\n fulfilledRsc.value = value\n if (responseDebugInfo !== null) {\n // Transfer the debug info to the derived promise.\n debugInfo.push.apply(debugInfo, responseDebugInfo)\n }\n resolve(value)\n }\n }\n pendingRsc.reject = (error: any, responseDebugInfo: Array<any> | null) => {\n if (pendingRsc.status === 'pending') {\n const rejectedRsc: RejectedDeferredRsc<T> = pendingRsc as any\n rejectedRsc.status = 'rejected'\n rejectedRsc.reason = error\n if (responseDebugInfo !== null) {\n // Transfer the debug info to the derived promise.\n debugInfo.push.apply(debugInfo, responseDebugInfo)\n }\n reject(error)\n }\n }\n pendingRsc.tag = DEFERRED\n pendingRsc._debugInfo = debugInfo\n\n return pendingRsc\n}\n"],"names":["FreshnessPolicy","createInitialCacheNodeForHydration","isDeferredRsc","spawnDynamicRequests","startPPRNavigation","noop","navigatedAt","initialTree","seedData","seedHead","accumulation","scrollableSegments","separateRefreshUrls","task","createCacheNodeOnNavigation","undefined","node","oldUrl","oldCacheNode","oldRouterState","newRouterState","freshness","prefetchData","prefetchHead","isPrefetchHeadPartial","isSamePageNavigation","didFindRootLayout","parentNeedsDynamicRequest","parentRefreshUrl","updateCacheNodeOnNavigation","parentSegmentPath","parentParallelRouteKey","oldSegment","newSegment","matchSegment","isNavigatingToNewRootLayout","NOT_FOUND_SEGMENT_KEY","segmentPath","concat","newRouterStateChildren","oldRouterStateChildren","seedDataChildren","prefetchDataChildren","isRootLayout","childDidFindRootLayout","oldParallelRoutes","parallelRoutes","shouldDropSiblingCaches","shouldRefreshDynamicData","newParallelRoutes","Map","isLeafSegment","Object","keys","length","newCacheNode","needsDynamicRequest","dropPrefetchRsc","reuseDynamicCacheNode","seedRsc","seedLoading","isSeedRscPartial","isSeedHeadPartial","readCacheNodeFromSeedData","prefetchRsc","prefetchLoading","isPrefetchRSCPartial","spawnNewCacheNode","href","refreshUrl","accumulateRefreshUrl","patchedRouterStateChildren","taskChildren","childNeedsDynamicRequest","dynamicRequestTreeChildren","parallelRouteKey","newRouterStateChild","oldRouterStateChild","oldSegmentMapChild","get","seedDataChild","prefetchDataChild","newSegmentChild","seedHeadChild","prefetchHeadChild","isPrefetchHeadPartialChild","DEFAULT_SEGMENT_KEY","reuseActiveSegmentInDefaultSlot","newSegmentKeyChild","createRouterCacheKey","oldCacheNodeChild","taskChild","set","newCacheNodeChild","newSegmentMapChild","taskChildRoute","route","dynamicRequestTreeChild","dynamicRequestTree","status","patchRouterStateWithNewChildren","createDynamicRequestTree","children","DYNAMIC_STALETIME_MS","oldRsc","rsc","oldRscDidResolve","push","baseRouterState","newChildren","clone","Set","add","reusedRouterState","oldRefreshMarker","createHrefFromUrl","existingCacheNode","cacheNode","head","loading","isPageSegment","createDeferredRsc","isHydration","previousNavigationDidMismatch","primaryUrl","nextUrl","freshnessPolicy","primaryRequestPromise","fetchMissingDynamicData","refreshRequestPromises","canonicalUrl","scopedDynamicRequestTree","URL","location","origin","voidPromise","finishNavigationTask","then","exitStatus","waitForRequestsToFinish","abortRemainingPendingTasks","isHardRetry","primaryRequestResult","dispatchRetryDueToTreeMismatch","url","seed","Promise","resolve","onFulfill","result","remainingCount","onReject","forEach","refreshRequestPromise","retryUrl","retryNextUrl","baseTree","retryAction","type","ACTION_SERVER_PATCH","previousTree","mpa","dispatchAppRouterAction","fetchServerResponse","flightRouterState","isHmrRefresh","convertServerPatchToFullTree","flightData","renderedSearch","didReceiveUnknownParallelRoute","writeDynamicDataIntoNavigationTask","tree","data","debugInfo","serverRouterState","dynamicData","dynamicHead","finishPendingCacheNode","serverChildren","dynamicDataChildren","serverRouterStateChild","dynamicDataChild","taskSegment","childDidReceiveUnknownParallelRoute","dynamicSegmentData","dynamicLoading","error","abortPendingCacheNode","childExitStatus","reject","DEFERRED","Symbol","value","tag","pendingRsc","res","rej","responseDebugInfo","fulfilledRsc","apply","rejectedRsc","reason","_debugInfo"],"mappings":";;;;;;;;;;;;;;;;;IAyDkBA,eAAe,EAAA;eAAfA;;IA0CFC,kCAAkC,EAAA;eAAlCA;;IAwmDAC,aAAa,EAAA;eAAbA;;IAljBAC,oBAAoB,EAAA;eAApBA;;IA3+BAC,kBAAkB,EAAA;eAAlBA;;;yBA9JT;+BACsB;mCACK;sCACG;qCACD;gCACI;oCAIjC;6CACqC;iCACP;4BAI9B;AA0BA,IAAWJ,kBAAAA,WAAAA,GAAAA,SAAAA,eAAAA;;;;;;WAAAA;;AAwClB,MAAMK,OAAO,KAAO;AAEb,SAASJ,mCACdK,WAAmB,EACnBC,WAA8B,EAC9BC,QAAkC,EAClCC,QAAkB;IAElB,uEAAuE;IACvE,iBAAiB;IACjB,MAAMC,eAA8C;QAClDC,oBAAoB;QACpBC,qBAAqB;IACvB;IACA,MAAMC,OAAOC,4BACXR,aACAC,aACAQ,WAAAA,GAEAP,UACAC,UACA,MACA,MACA,OACA,MACA,MACA,OACAC;IAGF,8EAA8E;IAC9E,0EAA0E;IAC1E,YAAY;IACZ,EAAE;IACF,6EAA6E;IAC7E,8EAA8E;IAC9E,gEAAgE;IAChE,EAAE;IACF,yEAAyE;IACzE,8EAA8E;IAC9E,4EAA4E;IAC5E,6EAA6E;IAC7E,4EAA4E;IAC5E,kBAAkB;IAElB,OAAOG,KAAKG,IAAI;AAClB;AA+BO,SAASZ,mBACdE,WAAmB,EACnBW,MAAW,EACXC,YAA8B,EAC9BC,cAAiC,EACjCC,cAAiC,EACjCC,SAA0B,EAC1Bb,QAAkC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AAKC;QACtCjD,UAAUgD;QACVN,SAASO;IACX;IACAF,WAAW/F,MAAM,GAAG;IACpB+F,WAAW/C,OAAO,GAAG,CAAC6C,OAAUK;QAC9B,IAAIH,WAAW/F,MAAM,KAAK,WAAW;YACnC,MAAMmG,eAAwCJ;YAC9CI,aAAanG,MAAM,GAAG;YACtBmG,aAAaN,KAAK,GAAGA;YACrB,IAAIK,sBAAsB,MAAM;gBAC9B,kDAAkD;gBAClDxB,UAAUlE,IAAI,CAAC4F,KAAK,CAAC1B,WAAWwB;YAClC;YACAlD,QAAQ6C;QACV;IACF;IACAE,WAAWL,MAAM,GAAG,CAACH,OAAYW;QAC/B,IAAIH,WAAW/F,MAAM,KAAK,WAAW;YACnC,MAAMqG,cAAsCN;YAC5CM,YAAYrG,MAAM,GAAG;YACrBqG,YAAYC,MAAM,GAAGf;YACrB,IAAIW,sBAAsB,MAAM;gBAC9B,kDAAkD;gBAClDxB,UAAUlE,IAAI,CAAC4F,KAAK,CAAC1B,WAAWwB;YAClC;YACAR,OAAOH;QACT;IACF;IACAQ,WAAWD,GAAG,GAAGH;IACjBI,WAAWQ,UAAU,GAAG7B;IAExB,OAAOqB;AACT","ignoreList":[0]}}, - {"offset": {"line": 3918, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/segment-cache/types.ts"],"sourcesContent":["/**\n * Shared types and constants for the Segment Cache.\n */\n\nexport const enum NavigationResultTag {\n MPA,\n Success,\n NoOp,\n Async,\n}\n\n/**\n * The priority of the prefetch task. Higher numbers are higher priority.\n */\nexport const enum PrefetchPriority {\n /**\n * Assigned to the most recently hovered/touched link. Special network\n * bandwidth is reserved for this task only. There's only ever one Intent-\n * priority task at a time; when a new Intent task is scheduled, the previous\n * one is bumped down to Default.\n */\n Intent = 2,\n /**\n * The default priority for prefetch tasks.\n */\n Default = 1,\n /**\n * Assigned to tasks when they spawn non-blocking background work, like\n * revalidating a partially cached entry to see if more data is available.\n */\n Background = 0,\n}\n\nexport const enum FetchStrategy {\n // Deliberately ordered so we can easily compare two segments\n // and determine if one segment is \"more specific\" than another\n // (i.e. if it's likely that it contains more data)\n LoadingBoundary = 0,\n PPR = 1,\n PPRRuntime = 2,\n Full = 3,\n}\n\n/**\n * A subset of fetch strategies used for prefetch tasks.\n * A prefetch task can't know if it should use `PPR` or `LoadingBoundary`\n * until we complete the initial tree prefetch request, so we use `PPR` to signal both cases\n * and adjust it based on the route when actually fetching.\n * */\nexport type PrefetchTaskFetchStrategy =\n | FetchStrategy.PPR\n | FetchStrategy.PPRRuntime\n | FetchStrategy.Full\n"],"names":["FetchStrategy","NavigationResultTag","PrefetchPriority"],"mappings":"AAAA;;CAEC;;;;;;;;;;;;;;;IA+BiBA,aAAa,EAAA;eAAbA;;IA7BAC,mBAAmB,EAAA;eAAnBA;;IAUAC,gBAAgB,EAAA;eAAhBA;;;AAVX,IAAWD,sBAAAA,WAAAA,GAAAA,SAAAA,mBAAAA;;;;;WAAAA;;AAUX,IAAWC,mBAAAA,WAAAA,GAAAA,SAAAA,gBAAAA;IAChB;;;;;GAKC,GAAA,gBAAA,CAAA,gBAAA,CAAA,SAAA,GAAA,EAAA,GAAA;IAED;;GAEC,GAAA,gBAAA,CAAA,gBAAA,CAAA,UAAA,GAAA,EAAA,GAAA;IAED;;;GAGC,GAAA,gBAAA,CAAA,gBAAA,CAAA,aAAA,GAAA,EAAA,GAAA;WAfeA;;AAmBX,IAAWF,gBAAAA,WAAAA,GAAAA,SAAAA,aAAAA;IAChB,6DAA6D;IAC7D,+DAA+D;IAC/D,mDAAmD;;;;;WAHnCA","ignoreList":[0]}}, - {"offset": {"line": 3989, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/segment-cache/lru.ts"],"sourcesContent":["import { deleteMapEntry } from './cache-map'\nimport type { UnknownMapEntry } from './cache-map'\n\n// We use an LRU for memory management. We must update this whenever we add or\n// remove a new cache entry, or when an entry changes size.\n\nlet head: UnknownMapEntry | null = null\nlet didScheduleCleanup: boolean = false\nlet lruSize: number = 0\n\n// TODO: I chose the max size somewhat arbitrarily. Consider setting this based\n// on navigator.deviceMemory, or some other heuristic. We should make this\n// customizable via the Next.js config, too.\nconst maxLruSize = 50 * 1024 * 1024 // 50 MB\n\nexport function lruPut(node: UnknownMapEntry) {\n if (head === node) {\n // Already at the head\n return\n }\n const prev = node.prev\n const next = node.next\n if (next === null || prev === null) {\n // This is an insertion\n lruSize += node.size\n // Whenever we add an entry, we need to check if we've exceeded the\n // max size. We don't evict entries immediately; they're evicted later in\n // an asynchronous task.\n ensureCleanupIsScheduled()\n } else {\n // This is a move. Remove from its current position.\n prev.next = next\n next.prev = prev\n }\n\n // Move to the front of the list\n if (head === null) {\n // This is the first entry\n node.prev = node\n node.next = node\n } else {\n // Add to the front of the list\n const tail = head.prev\n node.prev = tail\n // In practice, this is never null, but that isn't encoded in the type\n if (tail !== null) {\n tail.next = node\n }\n node.next = head\n head.prev = node\n }\n head = node\n}\n\nexport function updateLruSize(node: UnknownMapEntry, newNodeSize: number) {\n // This is a separate function from `put` so that we can resize the entry\n // regardless of whether it's currently being tracked by the LRU.\n const prevNodeSize = node.size\n node.size = newNodeSize\n if (node.next === null) {\n // This entry is not currently being tracked by the LRU.\n return\n }\n // Update the total LRU size\n lruSize = lruSize - prevNodeSize + newNodeSize\n ensureCleanupIsScheduled()\n}\n\nexport function deleteFromLru(deleted: UnknownMapEntry) {\n const next = deleted.next\n const prev = deleted.prev\n if (next !== null && prev !== null) {\n lruSize -= deleted.size\n\n deleted.next = null\n deleted.prev = null\n\n // Remove from the list\n if (head === deleted) {\n // Update the head\n if (next === head) {\n // This was the last entry\n head = null\n } else {\n head = next\n }\n } else {\n prev.next = next\n next.prev = prev\n }\n } else {\n // Already deleted\n }\n}\n\nfunction ensureCleanupIsScheduled() {\n if (didScheduleCleanup || lruSize <= maxLruSize) {\n return\n }\n didScheduleCleanup = true\n requestCleanupCallback(cleanup)\n}\n\nfunction cleanup() {\n didScheduleCleanup = false\n\n // Evict entries until we're at 90% capacity. We can assume this won't\n // infinite loop because even if `maxLruSize` were 0, eventually\n // `deleteFromLru` sets `head` to `null` when we run out entries.\n const ninetyPercentMax = maxLruSize * 0.9\n while (lruSize > ninetyPercentMax && head !== null) {\n const tail = head.prev\n // In practice, this is never null, but that isn't encoded in the type\n if (tail !== null) {\n // Delete the entry from the map. In turn, this will remove it from\n // the LRU.\n deleteMapEntry(tail)\n }\n }\n}\n\nconst requestCleanupCallback =\n typeof requestIdleCallback === 'function'\n ? requestIdleCallback\n : (cb: () => void) => setTimeout(cb, 0)\n"],"names":["deleteFromLru","lruPut","updateLruSize","head","didScheduleCleanup","lruSize","maxLruSize","node","prev","next","size","ensureCleanupIsScheduled","tail","newNodeSize","prevNodeSize","deleted","requestCleanupCallback","cleanup","ninetyPercentMax","deleteMapEntry","requestIdleCallback","cb","setTimeout"],"mappings":";;;;;;;;;;;;;;;IAoEgBA,aAAa,EAAA;eAAbA;;IArDAC,MAAM,EAAA;eAANA;;IAuCAC,aAAa,EAAA;eAAbA;;;0BAtDe;AAG/B,8EAA8E;AAC9E,2DAA2D;AAE3D,IAAIC,OAA+B;AACnC,IAAIC,qBAA8B;AAClC,IAAIC,UAAkB;AAEtB,+EAA+E;AAC/E,0EAA0E;AAC1E,4CAA4C;AAC5C,MAAMC,aAAa,KAAK,OAAO,KAAK,QAAQ;;AAErC,SAASL,OAAOM,IAAqB;IAC1C,IAAIJ,SAASI,MAAM;QACjB,sBAAsB;QACtB;IACF;IACA,MAAMC,OAAOD,KAAKC,IAAI;IACtB,MAAMC,OAAOF,KAAKE,IAAI;IACtB,IAAIA,SAAS,QAAQD,SAAS,MAAM;QAClC,uBAAuB;QACvBH,WAAWE,KAAKG,IAAI;QACpB,mEAAmE;QACnE,yEAAyE;QACzE,wBAAwB;QACxBC;IACF,OAAO;QACL,oDAAoD;QACpDH,KAAKC,IAAI,GAAGA;QACZA,KAAKD,IAAI,G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ACjE,MAAMc,mBAAmBZ,aAAa;IACtC,MAAOD,UAAUa,oBAAoBf,SAAS,KAAM;QAClD,MAAMS,OAAOT,KAAKK,IAAI;QACtB,sEAAsE;QACtE,IAAII,SAAS,MAAM;YACjB,mEAAmE;YACnE,WAAW;YACXO,CAAAA,GAAAA,UAAAA,cAAc,EAACP;QACjB;IACF;AACF;AAEA,MAAMI,yBACJ,OAAOI,wBAAwB,aAC3BA,sBACA,CAACC,KAAmBC,WAAWD,IAAI","ignoreList":[0]}}, - {"offset": {"line": 4134, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/segment-cache/cache-map.ts"],"sourcesContent":["import type { VaryPath } from './vary-path'\nimport { lruPut, updateLruSize, deleteFromLru } from './lru'\n\n/**\n * A specialized data type for storing multi-key cache entries.\n *\n * The basic structure is a map whose keys are tuples, called the keypath.\n * When querying the cache, keypaths are compared per-element.\n *\n * Example:\n * set(map, ['https://localhost', 'foo/bar/baz'], 'yay');\n * get(map, ['https://localhost', 'foo/bar/baz']) -> 'yay'\n *\n * NOTE: Array syntax is used in these examples for illustration purposes, but\n * in reality the paths are lists.\n * \n * The parts of the keypath represent the different inputs that contribute\n * to the entry value. To illustrate, if you were to use this data type to store\n * HTTP responses, the keypath would include the URL and everything listed by\n * the Vary header.\n * \n * See vary-path.ts for more details.\n *\n * The order of elements in a keypath must be consistent between lookups to\n * be considered the same, but besides that, the order of the keys is not\n * semantically meaningful.\n *\n * Keypaths may include a special kind of key called Fallback. When an entry is\n * stored with Fallback as part of its keypath, it means that the entry does not\n * vary by that key. When querying the cache, if an exact match is not found for\n * a keypath, the cache will check for a Fallback match instead. Each element of\n * the keypath may have a Fallback, so retrieval is an O(n ^ 2) operation, but\n * it's expected that keypaths are relatively short.\n *\n * Example:\n * set(cacheMap, ['store', 'product', 1], PRODUCT_PAGE_1);\n * set(cacheMap, ['store', 'product', Fallback], GENERIC_PRODUCT_PAGE);\n *\n * // Exact match\n * get(cacheMap, ['store', 'product', 1]) -> PRODUCT_PAGE_1\n *\n * // Fallback match\n * get(cacheMap, ['store', 'product', 2]) -> GENERIC_PRODUCT_PAGE\n *\n * Because we have the Fallback mechanism, we can impose a constraint that\n * regular JS maps do not have: a value cannot be stored at multiple keypaths\n * simultaneously. These cases should be expressed with Fallback keys instead.\n *\n * Additionally, because values only exist at a single keypath at a time, we\n * can optimize successive lookups by caching the internal map entry on the\n * value itself, using the `ref` field. This is especially useful because it\n * lets us skip the O(n ^ 2) lookup that occurs when Fallback entries\n * are present.\n *\n\n * How to decide if stuff belongs in here, or in cache.ts?\n * -------------------------------------------------------\n * \n * Anything to do with retrival, lifetimes, or eviction needs to go in this\n * module because it affects the fallback algorithm. For example, when\n * performing a lookup, if an entry is stale, it needs to be treated as\n * semantically equivalent to if the entry was not present at all.\n * \n * If there's logic that's not related to the fallback algorithm, though, we\n * should prefer to put it in cache.ts.\n */\n\n// The protocol that values must implement. In practice, the only two types that\n// we ever actually deal with in this module are RouteCacheEntry and\n// SegmentCacheEntry; this is just to keep track of the coupling so we don't\n// leak concerns between the modules unnecessarily.\nexport interface MapValue {\n ref: UnknownMapEntry | null\n size: number\n staleAt: number\n version: number\n}\n\n/**\n * Represents a node in the cache map and LRU.\n * MapEntry<V> structurally satisfies this interface for any V extends MapValue.\n *\n * The LRU can contain entries of different value types\n * (e.g., both RouteCacheEntry and SegmentCacheEntry). This interface captures\n * the common structure needed for cache map and LRU operations without\n * requiring knowledge of the specific value type.\n */\nexport interface MapEntry<V extends MapValue> {\n // Cache map structure fields\n parent: MapEntry<V> | null\n key: unknown\n map: Map<unknown, MapEntry<V>> | null\n value: V | null\n\n // LRU linked list fields\n prev: MapEntry<V> | null\n next: MapEntry<V> | null\n size: number\n}\n\n/**\n * A looser type for MapEntry\n * This allows the LRU to work with entries of different\n * value types while still providing type safety.\n *\n * The `map` field lets Map<unknown, MapEntry<V>> be assignable to this\n * type since we're only reading from the map, not inserting into it.\n */\nexport type UnknownMapEntry = {\n parent: UnknownMapEntry | null\n key: unknown\n map: Pick<Map<unknown, UnknownMapEntry>, 'get' | 'delete' | 'size'> | null\n value: MapValue | null\n\n prev: UnknownMapEntry | null\n next: UnknownMapEntry | null\n size: number\n}\n\n// The CacheMap type is just the root entry of the map.\nexport type CacheMap<V extends MapValue> = MapEntry<V>\n\nexport type FallbackType = { __brand: 'Fallback' }\nexport const Fallback = {} as FallbackType\n\n// This is a special internal key that is used for \"revalidation\" entries. It's\n// an implementation detail that shouldn't leak outside of this module.\nconst Revalidation = {}\n\nexport function createCacheMap<V extends MapValue>(): CacheMap<V> {\n const cacheMap: MapEntry<V> = {\n parent: null,\n key: null,\n value: null,\n map: null,\n\n // LRU-related fields\n prev: null,\n next: null,\n size: 0,\n }\n return cacheMap\n}\n\nfunction getOrInitialize<V extends MapValue>(\n cacheMap: CacheMap<V>,\n keys: VaryPath,\n isRevalidation: boolean\n): MapEntry<V> {\n // Go through each level of keys until we find the entry that matches, or\n // create a new entry if one doesn't exist.\n //\n // This function will only return entries that match the keypath _exactly_.\n // Unlike getWithFallback, it will not access fallback entries unless it's\n // explicitly part of the keypath.\n let entry = cacheMap\n let remainingKeys: VaryPath | null = keys\n let key: unknown | null = null\n while (true) {\n const previousKey = key\n if (remainingKeys !== null) {\n key = remainingKeys.value\n remainingKeys = remainingKeys.parent\n } else if (isRevalidation && previousKey !== Revalidation) {\n // During a revalidation, we append an internal \"Revalidation\" key to\n // the end of the keypath. The \"normal\" entry is its parent.\n\n // However, if the parent entry is currently empty, we don't need to store\n // this as a revalidation entry. Just insert the revalidation into the\n // normal slot.\n if (entry.value === null) {\n return entry\n }\n\n // Otheriwse, create a child entry.\n key = Revalidation\n } else {\n // There are no more keys. This is the terminal entry.\n break\n }\n\n let map = entry.map\n if (map !== null) {\n const existingEntry = map.get(key)\n if (existingEntry !== undefined) {\n // Found a match. Keep going.\n entry = existingEntry\n continue\n }\n } else {\n map = new Map()\n entry.map = map\n }\n // No entry exists yet at this level. Create a new one.\n const newEntry: MapEntry<V> = {\n parent: entry,\n key,\n value: null,\n map: null,\n\n // LRU-related fields\n prev: null,\n next: null,\n size: 0,\n }\n map.set(key, newEntry)\n entry = newEntry\n }\n\n return entry\n}\n\nexport function getFromCacheMap<V extends MapValue>(\n now: number,\n currentCacheVersion: number,\n rootEntry: CacheMap<V>,\n keys: VaryPath,\n isRevalidation: boolean\n): V | null {\n const entry = getEntryWithFallbackImpl(\n now,\n currentCacheVersion,\n rootEntry,\n keys,\n isRevalidation,\n 0\n )\n if (entry === null || entry.value === null) {\n return null\n }\n // This is an LRU access. Move the entry to the front of the list.\n lruPut(entry)\n return entry.value\n}\n\nexport function isValueExpired(\n now: number,\n currentCacheVersion: number,\n value: MapValue\n): boolean {\n return value.staleAt <= now || value.version < currentCacheVersion\n}\n\nfunction lazilyEvictIfNeeded<V extends MapValue>(\n now: number,\n currentCacheVersion: number,\n entry: MapEntry<V>\n) {\n // We have a matching entry, but before we can return it, we need to check if\n // it's still fresh. Otherwise it should be treated the same as a cache miss.\n\n if (entry.value === null) {\n // This entry has no value, so there's nothing to evict.\n return entry\n }\n\n const value = entry.value\n if (isValueExpired(now, currentCacheVersion, value)) {\n // The value expired. Lazily evict it from the cache, and return null. This\n // is conceptually the same as a cache miss.\n deleteMapEntry(entry)\n return null\n }\n\n // The matched entry has not expired. Return it.\n return entry\n}\n\nfunction getEntryWithFallbackImpl<V extends MapValue>(\n now: number,\n currentCacheVersion: number,\n entry: MapEntry<V>,\n keys: VaryPath | null,\n isRevalidation: boolean,\n previousKey: unknown | null\n): MapEntry<V> | null {\n // This is similar to getExactEntry, but if an exact match is not found for\n // a key, it will return the fallback entry instead. This is recursive at\n // every level, e.g. an entry with keypath [a, Fallback, c, Fallback] is\n // valid match for [a, b, c, d].\n //\n // It will return the most specific match available.\n let key\n let remainingKeys: VaryPath | null\n if (keys !== null) {\n key = keys.value\n remainingKeys = keys.parent\n } else if (isRevalidation && previousKey !== Revalidation) {\n // During a revalidation, we append an internal \"Revalidation\" key to\n // the end of the keypath.\n key = Revalidation\n remainingKeys = null\n } else {\n // There are no more keys. This is the terminal entry.\n\n // TODO: When performing a lookup during a navigation, as opposed to a\n // prefetch, we may want to skip entries that are Pending if there's also\n // a Fulfilled fallback entry. Tricky to say, though, since if it's\n // already pending, it's likely to stream in soon. Maybe we could do this\n // just on slow connections and offline mode.\n\n return lazilyEvictIfNeeded(now, currentCacheVersion, entry)\n }\n const map = entry.map\n if (map !== null) {\n const existingEntry = map.get(key)\n if (existingEntry !== undefined) {\n // Found an exact match for this key. Keep searching.\n const result = getEntryWithFallbackImpl(\n now,\n currentCacheVersion,\n existingEntry,\n remainingKeys,\n isRevalidation,\n key\n )\n if (result !== null) {\n return result\n }\n }\n // No match found for this key. Check if there's a fallback.\n const fallbackEntry = map.get(Fallback)\n if (fallbackEntry !== undefined) {\n // Found a fallback for this key. Keep searching.\n return getEntryWithFallbackImpl(\n now,\n currentCacheVersion,\n fallbackEntry,\n remainingKeys,\n isRevalidation,\n key\n )\n }\n }\n return null\n}\n\nexport function setInCacheMap<V extends MapValue>(\n cacheMap: CacheMap<V>,\n keys: VaryPath,\n value: V,\n isRevalidation: boolean\n): void {\n // Add a value to the map at the given keypath. If the value is already\n // part of the map, it's removed from its previous keypath. (NOTE: This is\n // unlike a regular JS map, but the behavior is intentional.)\n const entry = getOrInitialize(cacheMap, keys, isRevalidation)\n setMapEntryValue(entry, value)\n\n // This is an LRU access. Move the entry to the front of the list.\n lruPut(entry)\n updateLruSize(entry, value.size)\n}\n\nfunction setMapEntryValue(entry: UnknownMapEntry, value: MapValue): void {\n if (entry.value !== null) {\n // There's already a value at the given keypath. Disconnect the old value\n // from the map. We're not calling `deleteMapEntry` here because the\n // entry itself is still in the map. We just want to overwrite its value.\n dropRef(entry.value)\n entry.value = null\n }\n\n // This value may already be in the map at a different keypath.\n // Grab a reference before we overwrite it.\n const oldEntry = value.ref\n\n entry.value = value\n value.ref = entry\n\n updateLruSize(entry, value.size)\n\n if (oldEntry !== null && oldEntry !== entry && oldEntry.value === value) {\n // This value is already in the map at a different keypath in the map.\n // Values only exist at a single keypath at a time. Remove it from the\n // previous keypath.\n //\n // Note that only the internal map entry is garbage collected; we don't\n // call `dropRef` here because it's still in the map, just\n // at a new keypath (the one we just set, above).\n deleteMapEntry(oldEntry)\n }\n}\n\nexport function deleteFromCacheMap(value: MapValue): void {\n const entry = value.ref\n if (entry === null) {\n // This value is not a member of any map.\n return\n }\n\n dropRef(value)\n deleteMapEntry(entry)\n}\n\nfunction dropRef(value: MapValue): void {\n // Drop the value from the map by setting its `ref` backpointer to\n // null. This is a separate operation from `deleteMapEntry` because when\n // re-keying a value we need to be able to delete the old, internal map\n // entry without garbage collecting the value itself.\n value.ref = null\n}\n\nexport function deleteMapEntry(entry: UnknownMapEntry): void {\n // Delete the entry from the cache.\n entry.value = null\n\n deleteFromLru(entry)\n\n // Check if we can garbage collect the entry.\n const map = entry.map\n if (map === null) {\n // Since this entry has no value, and also no child entries, we can\n // garbage collect it. Remove it from its parent, and keep garbage\n // collecting the parents until we reach a non-empty entry.\n let parent = entry.parent\n let key = entry.key\n while (parent !== null) {\n const parentMap = parent.map\n if (parentMap !== null) {\n parentMap.delete(key)\n if (parentMap.size === 0) {\n // We just removed the last entry in the parent map.\n parent.map = null\n if (parent.value === null) {\n // The parent node has no child entries, nor does it have a value\n // on itself. It can be garbage collected. Keep going.\n key = parent.key\n parent = parent.parent\n continue\n }\n }\n }\n // The parent is not empty. Stop garbage collecting.\n break\n }\n } else {\n // Check if there's a revalidating entry. If so, promote it to a\n // \"normal\" entry, since the normal one was just deleted.\n const revalidatingEntry = map.get(Revalidation)\n if (revalidatingEntry !== undefined && revalidatingEntry.value !== null) {\n setMapEntryValue(entry, revalidatingEntry.value)\n }\n }\n}\n\nexport function setSizeInCacheMap<V extends MapValue>(\n value: V,\n size: number\n): void {\n const entry = value.ref\n if (entry === null) {\n // This value is not a member of any map.\n return\n }\n // Except during initialization (when the size is set to 0), this is the only\n // place the `size` field should be updated, to ensure it's in sync with the\n // the LRU.\n value.size = size\n updateLruSize(entry, size)\n}\n"],"names":["Fallback","createCacheMap","deleteFromCacheMap","deleteMapEntry","getFromCacheMap","isValueExpired","setInCacheMap","setSizeInCacheMap","Revalidation","cacheMap","parent","key","value","map","prev","next","size","getOrInitialize","keys","isRevalidation","entry","remainingKeys","previousKey","existingEntry","get","undefined","Map","newEntry","set","now","currentCacheVersion","rootEntry","getEntryWithFallbackImpl","lruPut","staleAt","version","lazilyEvictIfNeeded","result","fallbackEntry","setMapEntryValue","updateLruSize","dropRef","oldEntry","ref","deleteFromLru","parentMap","delete","revalidatingEntry"],"mappings":";;;;;;;;;;;;;;;;;;;;IA2HaA,QAAQ,EAAA;eAARA;;IAMGC,cAAc,EAAA;eAAdA;;IA+PAC,kBAAkB,EAAA;eAAlBA;;IAmBAC,cAAc,EAAA;eAAdA;;IA/LAC,eAAe,EAAA;eAAfA;;IAuBAC,cAAc,EAAA;eAAdA;;IAsGAC,aAAa,EAAA;eAAbA;;IA6GAC,iBAAiB,EAAA;eAAjBA;;;qBA7bqC;AA0H9C,MAAMP,WAAW,CAAC;AAEzB,+EAA+E;AAC/E,uEAAuE;AACvE,MAAMQ,eAAe,CAAC;AAEf,SAASP;IACd,MAAMQ,WAAwB;QAC5BC,QAAQ;QACRC,KAAK;QACLC,OAAO;QACPC,KAAK;QAEL,qBAAqB;QACrBC,MAAM;QACNC,MAAM;QACNC,MAAM;IACR;IACA,OAAOP;AACT;AAEA,SAASQ,gBACPR,QAAqB,EACrBS,IAAc,EACdC,cAAuB;IAEvB,yEAAyE;IACzE,2CAA2C;IAC3C,EAAE;IACF,2EAA2E;IAC3E,0EAA0E;IAC1E,kCAAkC;IAClC,IAAIC,QAAQX;IACZ,IAAIY,gBAAiCH;IACrC,IAAIP,MAAsB;IAC1B,MAAO,KAAM;QACX,MAAMW,cAAcX;QACpB,IAAIU,kBAAkB,MAAM;YAC1BV,MAAMU,cAAcT,KAAK;YACzBS,gB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A,KAAAA,aAAa,EAACxB;IAEd,6CAA6C;IAC7C,MAAMP,MAAMO,MAAMP,GAAG;IACrB,IAAIA,QAAQ,MAAM;QAChB,mEAAmE;QACnE,kEAAkE;QAClE,2DAA2D;QAC3D,IAAIH,SAASU,MAAMV,MAAM;QACzB,IAAIC,MAAMS,MAAMT,GAAG;QACnB,MAAOD,WAAW,KAAM;YACtB,MAAMmC,YAAYnC,OAAOG,GAAG;YAC5B,IAAIgC,cAAc,MAAM;gBACtBA,UAAUC,MAAM,CAACnC;gBACjB,IAAIkC,UAAU7B,IAAI,KAAK,GAAG;oBACxB,oDAAoD;oBACpDN,OAAOG,GAAG,GAAG;oBACb,IAAIH,OAAOE,KAAK,KAAK,MAAM;wBACzB,iEAAiE;wBACjE,sDAAsD;wBACtDD,MAAMD,OAAOC,GAAG;wBAChBD,SAASA,OAAOA,MAAM;wBACtB;oBACF;gBACF;YACF;YAEA;QACF;IACF,OAAO;QACL,gEAAgE;QAChE,yDAAyD;QACzD,MAAMqC,oBAAoBlC,IAAIW,GAAG,CAAChB;QAClC,IAAIuC,sBAAsBtB,aAAasB,kBAAkBnC,KAAK,KAAK,MAAM;YACvE2B,iBAAiBnB,OAAO2B,kBAAkBnC,KAAK;QACjD;IACF;AACF;AAEO,SAASL,kBACdK,KAAQ,EACRI,IAAY;IAEZ,MAAMI,QAAQR,MAAM+B,GAAG;IACvB,IAAIvB,UAAU,MAAM;QAClB,yCAAyC;QACzC;IACF;IACA,6EAA6E;IAC7E,4EAA4E;IAC5E,WAAW;IACXR,MAAMI,IAAI,GAAGA;IACbwB,CAAAA,GAAAA,KAAAA,aAAa,EAACpB,OAAOJ;AACvB","ignoreList":[0]}}, - {"offset": {"line": 4441, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/segment-cache/vary-path.ts"],"sourcesContent":["import { FetchStrategy } from './types'\nimport type {\n NormalizedPathname,\n NormalizedSearch,\n NormalizedNextUrl,\n} from './cache-key'\nimport type { RouteTree } from './cache'\nimport { Fallback, type FallbackType } from './cache-map'\nimport { HEAD_REQUEST_KEY } from '../../../shared/lib/segment-cache/segment-value-encoding'\n\ntype Opaque<T, K> = T & { __brand: K }\n\n/**\n * A linked-list of all the params (or other param-like) inputs that a cache\n * entry may vary by. This is used by the CacheMap module to reuse cache entries\n * across different param values. If a param has a value of Fallback, it means\n * the cache entry is reusable for all possible values of that param. See\n * cache-map.ts for details.\n *\n * A segment's vary path is a pure function of a segment's position in a\n * particular route tree and the (post-rewrite) URL that is being queried. More\n * concretely, successive queries of the cache for the same segment always use\n * the same vary path.\n *\n * A route's vary path is simpler: it's comprised of the pathname, search\n * string, and Next-URL header.\n */\nexport type VaryPath = {\n value: string | null | FallbackType\n parent: VaryPath | null\n}\n\n// Because it's so important for vary paths to line up across cache accesses,\n// we use opaque type aliases to ensure these are only created within\n// this module.\n\n// requestKey -> searchParams -> nextUrl\nexport type RouteVaryPath = Opaque<\n {\n value: NormalizedPathname\n parent: {\n value: NormalizedSearch\n parent: {\n value: NormalizedNextUrl | null | FallbackType\n parent: null\n }\n }\n },\n 'RouteVaryPath'\n>\n\n// requestKey -> pathParams\nexport type LayoutVaryPath = Opaque<\n {\n value: string\n parent: PartialSegmentVaryPath | null\n },\n 'LayoutVaryPath'\n>\n\n// requestKey -> searchParams -> pathParams\nexport type PageVaryPath = Opaque<\n {\n value: string\n parent: {\n value: NormalizedSearch | FallbackType\n parent: PartialSegmentVaryPath | null\n }\n },\n 'PageVaryPath'\n>\n\nexport type SegmentVaryPath = LayoutVaryPath | PageVaryPath\n\n// Intermediate type used when building a vary path during a recursive traversal\n// of the route tree.\nexport type PartialSegmentVaryPath = Opaque<VaryPath, 'PartialSegmentVaryPath'>\n\nexport function getRouteVaryPath(\n pathname: NormalizedPathname,\n search: NormalizedSearch,\n nextUrl: NormalizedNextUrl | null\n): RouteVaryPath {\n // requestKey -> searchParams -> nextUrl\n const varyPath: VaryPath = {\n value: pathname,\n parent: {\n value: search,\n parent: {\n value: nextUrl,\n parent: null,\n },\n },\n }\n return varyPath as RouteVaryPath\n}\n\nexport function getFulfilledRouteVaryPath(\n pathname: NormalizedPathname,\n search: NormalizedSearch,\n nextUrl: NormalizedNextUrl | null,\n couldBeIntercepted: boolean\n): RouteVaryPath {\n // This is called when a route's data is fulfilled. The cache entry will be\n // re-keyed based on which inputs the response varies by.\n // requestKey -> searchParams -> nextUrl\n const varyPath: VaryPath = {\n value: pathname,\n parent: {\n value: search,\n parent: {\n value: couldBeIntercepted ? nextUrl : Fallback,\n parent: null,\n },\n },\n }\n return varyPath as RouteVaryPath\n}\n\nexport function appendLayoutVaryPath(\n parentPath: PartialSegmentVaryPath | null,\n cacheKey: string\n): PartialSegmentVaryPath {\n const varyPathPart: VaryPath = {\n value: cacheKey,\n parent: parentPath,\n }\n return varyPathPart as PartialSegmentVaryPath\n}\n\nexport function finalizeLayoutVaryPath(\n requestKey: string,\n varyPath: PartialSegmentVaryPath | null\n): LayoutVaryPath {\n const layoutVaryPath: VaryPath = {\n value: requestKey,\n parent: varyPath,\n }\n return layoutVaryPath as LayoutVaryPath\n}\n\nexport function finalizePageVaryPath(\n requestKey: string,\n renderedSearch: NormalizedSearch,\n varyPath: PartialSegmentVaryPath | null\n): PageVaryPath {\n // Unlike layouts, a page segment's vary path also includes the search string.\n // requestKey -> searchParams -> pathParams\n const pageVaryPath: VaryPath = {\n value: requestKey,\n parent: {\n value: renderedSearch,\n parent: varyPath,\n },\n }\n return pageVaryPath as PageVaryPath\n}\n\nexport function finalizeMetadataVaryPath(\n pageRequestKey: string,\n renderedSearch: NormalizedSearch,\n varyPath: PartialSegmentVaryPath | null\n): PageVaryPath {\n // The metadata \"segment\" is not a real segment because it doesn't exist in\n // the normal structure of the route tree, but in terms of caching, it\n // behaves like a page segment because it varies by all the same params as\n // a page.\n //\n // To keep the protocol for querying the server simple, the request key for\n // the metadata does not include any path information. It's unnecessary from\n // the server's perspective, because unlike page segments, there's only one\n // metadata response per URL, i.e. there's no need to distinguish multiple\n // parallel pages.\n //\n // However, this means the metadata request key is insufficient for\n // caching the the metadata in the client cache, because on the client we\n // use the request key to distinguish the metadata entry from all other\n // page's metadata entries.\n //\n // So instead we create a simulated request key based on the page segment.\n // Conceptually this is equivalent to the request key the server would have\n // assigned the metadata segment if it treated it as part of the actual\n // route structure.\n\n // If there are multiple parallel pages, we use whichever is the first one.\n // This is fine because the only difference between request keys for\n // different parallel pages are things like route groups and parallel\n // route slots. As long as it's always the same one, it doesn't matter.\n const pageVaryPath: VaryPath = {\n // Append the actual metadata request key to the page request key. Note\n // that we're not using a separate vary path part; it's unnecessary because\n // these are not conceptually separate inputs.\n value: pageRequestKey + HEAD_REQUEST_KEY,\n parent: {\n value: renderedSearch,\n parent: varyPath,\n },\n }\n return pageVaryPath as PageVaryPath\n}\n\nexport function getSegmentVaryPathForRequest(\n fetchStrategy: FetchStrategy,\n tree: RouteTree\n): SegmentVaryPath {\n // This is used for storing pending requests in the cache. We want to choose\n // the most generic vary path based on the strategy used to fetch it, i.e.\n // static/PPR versus runtime prefetching, so that it can be reused as much\n // as possible.\n //\n // We may be able to re-key the response to something even more generic once\n // we receive it — for example, if the server tells us that the response\n // doesn't vary on a particular param — but even before we send the request,\n // we know some params are reusable based on the fetch strategy alone. For\n // example, a static prefetch will never vary on search params.\n //\n // The original vary path with all the params filled in is stored on the\n // route tree object. We will clone this one to create a new vary path\n // where certain params are replaced with Fallback.\n //\n // This result of this function is not stored anywhere. It's only used to\n // access the cache a single time.\n //\n // TODO: Rather than create a new list object just to access the cache, the\n // plan is to add the concept of a \"vary mask\". This will represent all the\n // params that can be treated as Fallback. (Or perhaps the inverse.)\n const originalVaryPath = tree.varyPath\n\n // Only page segments (and the special \"metadata\" segment, which is treated\n // like a page segment for the purposes of caching) may contain search\n // params. There's no reason to include them in the vary path otherwise.\n if (tree.isPage) {\n // Only a runtime prefetch will include search params in the vary path.\n // Static prefetches never include search params, so they can be reused\n // across all possible search param values.\n const doesVaryOnSearchParams =\n fetchStrategy === FetchStrategy.Full ||\n fetchStrategy === FetchStrategy.PPRRuntime\n\n if (!doesVaryOnSearchParams) {\n // The response from the the server will not vary on search params. Clone\n // the end of the original vary path to replace the search params\n // with Fallback.\n //\n // requestKey -> searchParams -> pathParams\n // ^ This part gets replaced with Fallback\n const searchParamsVaryPath = (originalVaryPath as PageVaryPath).parent\n const pathParamsVaryPath = searchParamsVaryPath.parent\n const patchedVaryPath: VaryPath = {\n value: originalVaryPath.value,\n parent: {\n value: Fallback,\n parent: pathParamsVaryPath,\n },\n }\n return patchedVaryPath as SegmentVaryPath\n }\n }\n\n // The request does vary on search params. We don't need to modify anything.\n return originalVaryPath as SegmentVaryPath\n}\n\nexport function clonePageVaryPathWithNewSearchParams(\n originalVaryPath: PageVaryPath,\n newSearch: NormalizedSearch\n): PageVaryPath {\n // requestKey -> searchParams -> pathParams\n // ^ This part gets replaced with newSearch\n const searchParamsVaryPath = originalVaryPath.parent\n const clonedVaryPath: VaryPath = {\n value: originalVaryPath.value,\n parent: {\n value: newSearch,\n parent: searchParamsVaryPath.parent,\n },\n }\n return clonedVaryPath as PageVaryPath\n}\n"],"names":["appendLayoutVaryPath","clonePageVaryPathWithNewSearchParams","finalizeLayoutVaryPath","finalizeMetadataVaryPath","finalizePageVaryPath","getFulfilledRouteVaryPath","getRouteVaryPath","getSegmentVaryPathForRequest","pathname","search","nextUrl","varyPath","value","parent","couldBeIntercepted","Fallback","parentPath","cacheKey","varyPathPart","requestKey","layoutVaryPath","renderedSearch","pageVaryPath","pageRequestKey","HEAD_REQUEST_KEY","fetchStrategy","tree","originalVaryPath","isPage","doesVaryOnSearchParams","FetchStrategy","Full","PPRRuntime","searchParamsVaryPath","pathParamsVaryPath","patchedVaryPath","newSearch","clonedVaryPath"],"mappings":";;;;;;;;;;;;;;;;;;;;IAuHgBA,oBAAoB,EAAA;eAApBA;;IAgJAC,oCAAoC,EAAA;eAApCA;;IArIAC,sBAAsB,EAAA;eAAtBA;;IA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YACtD,MAAMsB,kBAA4B;gBAChCvB,OAAOe,iBAAiBf,KAAK;gBAC7BC,QAAQ;oBACND,OAAOG,UAAAA,QAAQ;oBACfF,QAAQqB;gBACV;YACF;YACA,OAAOC;QACT;IACF;IAEA,4EAA4E;IAC5E,OAAOR;AACT;AAEO,SAAS1B,qCACd0B,gBAA8B,EAC9BS,SAA2B;IAE3B,2CAA2C;IAC3C,yDAAyD;IACzD,MAAMH,uBAAuBN,iBAAiBd,MAAM;IACpD,MAAMwB,iBAA2B;QAC/BzB,OAAOe,iBAAiBf,KAAK;QAC7BC,QAAQ;YACND,OAAOwB;YACPvB,QAAQoB,qBAAqBpB,MAAM;QACrC;IACF;IACA,OAAOwB;AACT","ignoreList":[0]}}, - {"offset": {"line": 4659, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/segment-cache/cache-key.ts"],"sourcesContent":["// TypeScript trick to simulate opaque types, like in Flow.\ntype Opaque<K, T> = T & { __brand: K }\n\n// Only functions in this module should be allowed to create CacheKeys.\nexport type NormalizedPathname = Opaque<'NormalizedPathname', string>\nexport type NormalizedSearch = Opaque<'NormalizedSearch', string>\nexport type NormalizedNextUrl = Opaque<'NormalizedNextUrl', string>\n\nexport type RouteCacheKey = Opaque<\n 'RouteCacheKey',\n {\n pathname: NormalizedPathname\n search: NormalizedSearch\n nextUrl: NormalizedNextUrl | null\n\n // TODO: Eventually the dynamic params will be added here, too.\n }\n>\n\nexport function createCacheKey(\n originalHref: string,\n nextUrl: string | null\n): RouteCacheKey {\n const originalUrl = new URL(originalHref)\n const cacheKey = {\n pathname: originalUrl.pathname as NormalizedPathname,\n search: originalUrl.search as NormalizedSearch,\n nextUrl: nextUrl as NormalizedNextUrl | null,\n } as RouteCacheKey\n return cacheKey\n}\n"],"names":["createCacheKey","originalHref","nextUrl","originalUrl","URL","cacheKey","pathname","search"],"mappings":"AAAA,2DAA2D;;;;+BAmB3CA,kBAAAA;;;eAAAA;;;AAAT,SAASA,eACdC,YAAoB,EACpBC,OAAsB;IAEtB,MAAMC,cAAc,IAAIC,IAAIH;IAC5B,MAAMI,WAAW;QACfC,UAAUH,YAAYG,QAAQ;QAC9BC,QAAQJ,YAAYI,MAAM;QAC1BL,SAASA;IACX;IACA,OAAOG;AACT","ignoreList":[0]}}, - {"offset": {"line": 4689, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/segment-cache/scheduler.ts"],"sourcesContent":["import type {\n FlightRouterState,\n Segment as FlightRouterStateSegment,\n Segment,\n} from '../../../shared/lib/app-router-types'\nimport { HasLoadingBoundary } from '../../../shared/lib/app-router-types'\nimport { matchSegment } from '../match-segments'\nimport {\n readOrCreateRouteCacheEntry,\n readOrCreateSegmentCacheEntry,\n fetchRouteOnCacheMiss,\n fetchSegmentOnCacheMiss,\n EntryStatus,\n type FulfilledRouteCacheEntry,\n type RouteCacheEntry,\n type SegmentCacheEntry,\n type RouteTree,\n fetchSegmentPrefetchesUsingDynamicRequest,\n type PendingSegmentCacheEntry,\n convertRouteTreeToFlightRouterState,\n readOrCreateRevalidatingSegmentEntry,\n upsertSegmentEntry,\n type FulfilledSegmentCacheEntry,\n upgradeToPendingSegment,\n waitForSegmentCacheEntry,\n overwriteRevalidatingSegmentCacheEntry,\n canNewFetchStrategyProvideMoreContent,\n} from './cache'\nimport { getSegmentVaryPathForRequest, type SegmentVaryPath } from './vary-path'\nimport type { RouteCacheKey } from './cache-key'\nimport { createCacheKey } from './cache-key'\nimport {\n FetchStrategy,\n type PrefetchTaskFetchStrategy,\n PrefetchPriority,\n} from './types'\nimport { getCurrentCacheVersion } from './cache'\nimport {\n addSearchParamsIfPageSegment,\n PAGE_SEGMENT_KEY,\n} from '../../../shared/lib/segment'\nimport type { SegmentRequestKey } from '../../../shared/lib/segment-cache/segment-value-encoding'\n\nconst scheduleMicrotask =\n typeof queueMicrotask === 'function'\n ? queueMicrotask\n : (fn: () => unknown) =>\n Promise.resolve()\n .then(fn)\n .catch((error) =>\n setTimeout(() => {\n throw error\n })\n )\n\nexport type PrefetchTask = {\n key: RouteCacheKey\n\n /**\n * The FlightRouterState at the time the task was initiated. This is needed\n * when falling back to the non-PPR behavior, which only prefetches up to\n * the first loading boundary.\n */\n treeAtTimeOfPrefetch: FlightRouterState\n\n /**\n * The cache version at the time the task was initiated. This is used to\n * determine if the cache was invalidated since the task was initiated.\n */\n cacheVersion: number\n\n /**\n * Whether to prefetch dynamic data, in addition to static data. This is\n * used by `<Link prefetch={true}>`.\n *\n * Note that a task with `FetchStrategy.PPR` might need to use\n * `FetchStrategy.LoadingBoundary` instead if we find out that a route\n * does not support PPR after doing the initial route prefetch.\n */\n fetchStrategy: PrefetchTaskFetchStrategy\n\n /**\n * sortId is an incrementing counter\n *\n * Newer prefetches are prioritized over older ones, so that as new links\n * enter the viewport, they are not starved by older links that are no\n * longer relevant. In the future, we can add additional prioritization\n * heuristics, like removing prefetches once a link leaves the viewport.\n *\n * The sortId is assigned when the prefetch is initiated, and reassigned if\n * the same task is prefetched again (effectively bumping it to the top of\n * the queue).\n *\n * TODO: We can add additional fields here to indicate what kind of prefetch\n * it is. For example, was it initiated by a link? Or was it an imperative\n * call? If it was initiated by a link, we can remove it from the queue when\n * the link leaves the viewport, but if it was an imperative call, then we\n * should keep it in the queue until it's fulfilled.\n *\n * We can also add priority levels. For example, hovering over a link could\n * increase the priority of its prefetch.\n */\n sortId: number\n\n /**\n * The priority of the task. Like sortId, this affects the task's position in\n * the queue, so it must never be updated without resifting the heap.\n */\n priority: PrefetchPriority\n\n /**\n * The phase of the task. Tasks are split into multiple phases so that their\n * priority can be adjusted based on what kind of work they're doing.\n * Concretely, prefetching the route tree is higher priority than prefetching\n * segment data.\n */\n phase: PrefetchPhase\n\n /**\n * These fields are temporary state for tracking the currently running task.\n * They are reset after each iteration of the task queue.\n */\n hasBackgroundWork: boolean\n spawnedRuntimePrefetches: Set<SegmentRequestKey> | null\n\n /**\n * True if the prefetch was cancelled.\n */\n isCanceled: boolean\n\n /**\n * The callback passed to `router.prefetch`, if given.\n */\n onInvalidate: null | (() => void)\n\n /**\n * The index of the task in the heap's backing array. Used to efficiently\n * change the priority of a task by re-sifting it, which requires knowing\n * where it is in the array. This is only used internally by the heap\n * algorithm. The naive alternative is indexOf every time a task is queued,\n * which has O(n) complexity.\n *\n * We also use this field to check whether a task is currently in the queue.\n */\n _heapIndex: number\n}\n\nconst enum PrefetchTaskExitStatus {\n /**\n * The task yielded because there are too many requests in progress.\n */\n InProgress,\n\n /**\n * The task is blocked. It needs more data before it can proceed.\n *\n * Currently the only reason this happens is we're still waiting to receive a\n * route tree from the server, because we can't start prefetching the segments\n * until we know what to prefetch.\n */\n Blocked,\n\n /**\n * There's nothing left to prefetch.\n */\n Done,\n}\n\n/**\n * Prefetch tasks are processed in two phases: first the route tree is fetched,\n * then the segments. We use this to priortize tasks that have not yet fetched\n * the route tree.\n */\nconst enum PrefetchPhase {\n RouteTree = 1,\n Segments = 0,\n}\n\nexport type PrefetchSubtaskResult<T> = {\n /**\n * A promise that resolves when the network connection is closed.\n */\n closed: Promise<void>\n value: T\n}\n\nconst taskHeap: Array<PrefetchTask> = []\n\nlet inProgressRequests = 0\n\nlet sortIdCounter = 0\nlet didScheduleMicrotask = false\n\n// The most recently hovered (or touched, etc) link, i.e. the most recent task\n// scheduled at Intent priority. There's only ever a single task at Intent\n// priority at a time. We reserve special network bandwidth for this task only.\nlet mostRecentlyHoveredLink: PrefetchTask | null = null\n\n// CDN cache propagation delay after revalidation (in milliseconds)\nconst REVALIDATION_COOLDOWN_MS = 300\n\n// Timeout handle for the revalidation cooldown. When non-null, prefetch\n// requests are blocked to allow CDN cache propagation.\nlet revalidationCooldownTimeoutHandle: ReturnType<typeof setTimeout> | null =\n null\n\n/**\n * Called by the cache when revalidation occurs. Starts a cooldown period\n * during which prefetch requests are blocked to allow CDN cache propagation.\n */\nexport function startRevalidationCooldown(): void {\n // Clear any existing timeout in case multiple revalidations happen\n // in quick succession.\n if (revalidationCooldownTimeoutHandle !== null) {\n clearTimeout(revalidationCooldownTimeoutHandle)\n }\n\n // Schedule the cooldown to expire after the delay.\n revalidationCooldownTimeoutHandle = setTimeout(() => {\n revalidationCooldownTimeoutHandle = null\n // Retry the prefetch queue now that the cooldown has expired.\n ensureWorkIsScheduled()\n }, REVALIDATION_COOLDOWN_MS)\n}\n\nexport type IncludeDynamicData = null | 'full' | 'dynamic'\n\n/**\n * Initiates a prefetch task for the given URL. If a prefetch for the same URL\n * is already in progress, this will bump it to the top of the queue.\n *\n * This is not a user-facing function. By the time this is called, the href is\n * expected to be validated and normalized.\n *\n * @param key The RouteCacheKey to prefetch.\n * @param treeAtTimeOfPrefetch The app's current FlightRouterState\n * @param fetchStrategy Whether to prefetch dynamic data, in addition to\n * static data. This is used by `<Link prefetch={true}>`.\n */\nexport function schedulePrefetchTask(\n key: RouteCacheKey,\n treeAtTimeOfPrefetch: FlightRouterState,\n fetchStrategy: PrefetchTaskFetchStrategy,\n priority: PrefetchPriority,\n onInvalidate: null | (() => void)\n): PrefetchTask {\n // Spawn a new prefetch task\n const task: PrefetchTask = {\n key,\n treeAtTimeOfPrefetch,\n cacheVersion: getCurrentCacheVersion(),\n priority,\n phase: PrefetchPhase.RouteTree,\n hasBackgroundWork: false,\n spawnedRuntimePrefetches: null,\n fetchStrategy,\n sortId: sortIdCounter++,\n isCanceled: false,\n onInvalidate,\n _heapIndex: -1,\n }\n\n trackMostRecentlyHoveredLink(task)\n\n heapPush(taskHeap, task)\n\n // Schedule an async task to process the queue.\n //\n // The main reason we process the queue in an async task is for batching.\n // It's common for a single JS task/event to trigger multiple prefetches.\n // By deferring to a microtask, we only process the queue once per JS task.\n // If they have different priorities, it also ensures they are processed in\n // the optimal order.\n ensureWorkIsScheduled()\n\n return task\n}\n\nexport function cancelPrefetchTask(task: PrefetchTask): void {\n // Remove the prefetch task from the queue. If the task already completed,\n // then this is a no-op.\n //\n // We must also explicitly mark the task as canceled so that a blocked task\n // does not get added back to the queue when it's pinged by the network.\n task.isCanceled = true\n heapDelete(taskHeap, task)\n}\n\nexport function reschedulePrefetchTask(\n task: PrefetchTask,\n treeAtTimeOfPrefetch: FlightRouterState,\n fetchStrategy: PrefetchTaskFetchStrategy,\n priority: PrefetchPriority\n): void {\n // Bump the prefetch task to the top of the queue, as if it were a fresh\n // task. This is essentially the same as canceling the task and scheduling\n // a new one, except it reuses the original object.\n //\n // The primary use case is to increase the priority of a Link-initated\n // prefetch on hover.\n\n // Un-cancel the task, in case it was previously canceled.\n task.isCanceled = false\n task.phase = PrefetchPhase.RouteTree\n\n // Assign a new sort ID to move it ahead of all other tasks at the same\n // priority level. (Higher sort IDs are processed first.)\n task.sortId = sortIdCounter++\n task.priority =\n // If this task is the most recently hovered link, maintain its\n // Intent priority, even if the rescheduled priority is lower.\n task === mostRecentlyHoveredLink ? PrefetchPriority.Intent : priority\n\n task.treeAtTimeOfPrefetch = treeAtTimeOfPrefetch\n task.fetchStrategy = fetchStrategy\n\n trackMostRecentlyHoveredLink(task)\n\n if (task._heapIndex !== -1) {\n // The task is already in the queue.\n heapResift(taskHeap, task)\n } else {\n heapPush(taskHeap, task)\n }\n ensureWorkIsScheduled()\n}\n\nexport function isPrefetchTaskDirty(\n task: PrefetchTask,\n nextUrl: string | null,\n tree: FlightRouterState\n): boolean {\n // This is used to quickly bail out of a prefetch task if the result is\n // guaranteed to not have changed since the task was initiated. This is\n // strictly an optimization — theoretically, if it always returned true, no\n // behavior should change because a full prefetch task will effectively\n // perform the same checks.\n const currentCacheVersion = getCurrentCacheVersion()\n return (\n task.cacheVersion !== currentCacheVersion ||\n task.treeAtTimeOfPrefetch !== tree ||\n task.key.nextUrl !== nextUrl\n )\n}\n\nfunction trackMostRecentlyHoveredLink(task: PrefetchTask) {\n // Track the mostly recently hovered link, i.e. the most recently scheduled\n // task at Intent priority. There must only be one such task at a time.\n if (\n task.priority === PrefetchPriority.Intent &&\n task !== mostRecentlyHoveredLink\n ) {\n if (mostRecentlyHoveredLink !== null) {\n // Bump the previously hovered link's priority down to Default.\n if (mostRecentlyHoveredLink.priority !== PrefetchPriority.Background) {\n mostRecentlyHoveredLink.priority = PrefetchPriority.Default\n heapResift(taskHeap, mostRecentlyHoveredLink)\n }\n }\n mostRecentlyHoveredLink = task\n }\n}\n\nfunction ensureWorkIsScheduled() {\n if (didScheduleMicrotask) {\n // Already scheduled a task to process the queue\n return\n }\n didScheduleMicrotask = true\n scheduleMicrotask(processQueueInMicrotask)\n}\n\n/**\n * Checks if we've exceeded the maximum number of concurrent prefetch requests,\n * to avoid saturating the browser's internal network queue. This is a\n * cooperative limit — prefetch tasks should check this before issuing\n * new requests.\n *\n * Also checks if we're within the revalidation cooldown window, during which\n * prefetch requests are delayed to allow CDN cache propagation.\n */\nfunction hasNetworkBandwidth(task: PrefetchTask): boolean {\n // Check if we're within the revalidation cooldown window\n if (revalidationCooldownTimeoutHandle !== null) {\n // We're within the cooldown window. Return false to prevent prefetching.\n // When the cooldown expires, the timeout will call ensureWorkIsScheduled()\n // to retry the queue.\n return false\n }\n\n // TODO: Also check if there's an in-progress navigation. We should never\n // add prefetch requests to the network queue if an actual navigation is\n // taking place, to ensure there's sufficient bandwidth for render-blocking\n // data and resources.\n\n // TODO: Consider reserving some amount of bandwidth for static prefetches.\n\n if (task.priority === PrefetchPriority.Intent) {\n // The most recently hovered link is allowed to exceed the default limit.\n //\n // The goal is to always have enough bandwidth to start a new prefetch\n // request when hovering over a link.\n //\n // However, because we don't abort in-progress requests, it's still possible\n // we'll run out of bandwidth. When links are hovered in quick succession,\n // there could be multiple hover requests running simultaneously.\n return inProgressRequests < 12\n }\n\n // The default limit is lower than the limit for a hovered link.\n return inProgressRequests < 4\n}\n\nfunction spawnPrefetchSubtask<T>(\n prefetchSubtask: Promise<PrefetchSubtaskResult<T> | null>\n): Promise<T | null> {\n // When the scheduler spawns an async task, we don't await its result.\n // Instead, the async task writes its result directly into the cache, then\n // pings the scheduler to continue.\n //\n // We process server responses streamingly, so the prefetch subtask will\n // likely resolve before we're finished receiving all the data. The subtask\n // result includes a promise that resolves once the network connection is\n // closed. The scheduler uses this to control network bandwidth by tracking\n // and limiting the number of concurrent requests.\n inProgressRequests++\n return prefetchSubtask.then((result) => {\n if (result === null) {\n // The prefetch task errored before it could start processing the\n // network stream. Assume the connection is closed.\n onPrefetchConnectionClosed()\n return null\n }\n // Wait for the connection to close before freeing up more bandwidth.\n result.closed.then(onPrefetchConnectionClosed)\n return result.value\n })\n}\n\nfunction onPrefetchConnectionClosed(): void {\n inProgressRequests--\n\n // Notify the scheduler that we have more bandwidth, and can continue\n // processing tasks.\n ensureWorkIsScheduled()\n}\n\n/**\n * Notify the scheduler that we've received new data for an in-progress\n * prefetch. The corresponding task will be added back to the queue (unless the\n * task has been canceled in the meantime).\n */\nexport function pingPrefetchTask(task: PrefetchTask) {\n // \"Ping\" a prefetch that's already in progress to notify it of new data.\n if (\n // Check if prefetch was canceled.\n task.isCanceled ||\n // Check if prefetch is already queued.\n task._heapIndex !== -1\n ) {\n return\n }\n // Add the task back to the queue.\n heapPush(taskHeap, task)\n ensureWorkIsScheduled()\n}\n\nfunction processQueueInMicrotask() {\n didScheduleMicrotask = false\n\n // We aim to minimize how often we read the current time. Since nearly all\n // functions in the prefetch scheduler are synchronous, we can read the time\n // once and pass it as an argument wherever it's needed.\n const now = Date.now()\n\n // Process the task queue until we run out of network bandwidth.\n let task = heapPeek(taskHeap)\n while (task !== null && hasNetworkBandwidth(task)) {\n task.cacheVersion = getCurrentCacheVersion()\n\n const exitStatus = pingRoute(now, task)\n\n // These fields are only valid for a single attempt. Reset them after each\n // iteration of the task queue.\n const hasBackgroundWork = task.hasBackgroundWork\n task.hasBackgroundWork = false\n task.spawnedRuntimePrefetches = null\n\n switch (exitStatus) {\n case PrefetchTaskExitStatus.InProgress:\n // The task yielded because there are too many requests in progress.\n // Stop processing tasks until we have more bandwidth.\n return\n case PrefetchTaskExitStatus.Blocked:\n // The task is blocked. It needs more data before it can proceed.\n // Keep the task out of the queue until the server responds.\n heapPop(taskHeap)\n // Continue to the next task\n task = heapPeek(taskHeap)\n continue\n case PrefetchTaskExitStatus.Done:\n if (task.phase === PrefetchPhase.RouteTree) {\n // Finished prefetching the route tree. Proceed to prefetching\n // the segments.\n task.phase = PrefetchPhase.Segments\n heapResift(taskHeap, task)\n } else if (hasBackgroundWork) {\n // The task spawned additional background work. Reschedule the task\n // at background priority.\n task.priority = PrefetchPriority.Background\n heapResift(taskHeap, task)\n } else {\n // The prefetch is complete. Continue to the next task.\n heapPop(taskHeap)\n }\n task = heapPeek(taskHeap)\n continue\n default:\n exitStatus satisfies never\n }\n }\n}\n\n/**\n * Check this during a prefetch task to determine if background work can be\n * performed. If so, it evaluates to `true`. Otherwise, it returns `false`,\n * while also scheduling a background task to run later. Usage:\n *\n * @example\n * if (background(task)) {\n * // Perform background-pri work\n * }\n */\nfunction background(task: PrefetchTask): boolean {\n if (task.priority === PrefetchPriority.Background) {\n return true\n }\n task.hasBackgroundWork = true\n return false\n}\n\nfunction pingRoute(now: number, task: PrefetchTask): PrefetchTaskExitStatus {\n const key = task.key\n const route = readOrCreateRouteCacheEntry(now, task, key)\n const exitStatus = pingRootRouteTree(now, task, route)\n\n if (exitStatus !== PrefetchTaskExitStatus.InProgress && key.search !== '') {\n // If the URL has a non-empty search string, also prefetch the pathname\n // without the search string. We use the searchless route tree as a base for\n // optimistic routing; see requestOptimisticRouteCacheEntry for details.\n //\n // Note that we don't need to prefetch any of the segment data. Just the\n // route tree.\n //\n // TODO: This is a temporary solution; the plan is to replace this by adding\n // a wildcard lookup method to the TupleMap implementation. This is\n // non-trivial to implement because it needs to account for things like\n // fallback route entries, hence this temporary workaround.\n const url = new URL(key.pathname, location.origin)\n const keyWithoutSearch = createCacheKey(url.href, key.nextUrl)\n const routeWithoutSearch = readOrCreateRouteCacheEntry(\n now,\n task,\n keyWithoutSearch\n )\n switch (routeWithoutSearch.status) {\n case EntryStatus.Empty: {\n if (background(task)) {\n routeWithoutSearch.status = EntryStatus.Pending\n spawnPrefetchSubtask(\n fetchRouteOnCacheMiss(routeWithoutSearch, task, keyWithoutSearch)\n )\n }\n break\n }\n case EntryStatus.Pending:\n case EntryStatus.Fulfilled:\n case EntryStatus.Rejected: {\n // Either the route tree is already cached, or there's already a\n // request in progress. Since we don't need to fetch any segment data\n // for this route, there's nothing left to do.\n break\n }\n default:\n routeWithoutSearch satisfies never\n }\n }\n\n return exitStatus\n}\n\nfunction pingRootRouteTree(\n now: number,\n task: PrefetchTask,\n route: RouteCacheEntry\n): PrefetchTaskExitStatus {\n switch (route.status) {\n case EntryStatus.Empty: {\n // Route is not yet cached, and there's no request already in progress.\n // Spawn a task to request the route, load it into the cache, and ping\n // the task to continue.\n\n // TODO: There are multiple strategies in the <Link> API for prefetching\n // a route. Currently we've only implemented the main one: per-segment,\n // static-data only.\n //\n // There's also `<Link prefetch={true}>`\n // which prefetch both static *and* dynamic data.\n // Similarly, we need to fallback to the old, per-page\n // behavior if PPR is disabled for a route (via the incremental opt-in).\n //\n // Those cases will be handled here.\n spawnPrefetchSubtask(fetchRouteOnCacheMiss(route, task, task.key))\n\n // If the request takes longer than a minute, a subsequent request should\n // retry instead of waiting for this one. When the response is received,\n // this value will be replaced by a new value based on the stale time sent\n // from the server.\n // TODO: We should probably also manually abort the fetch task, to reclaim\n // server bandwidth.\n route.staleAt = now + 60 * 1000\n\n // Upgrade to Pending so we know there's already a request in progress\n route.status = EntryStatus.Pending\n\n // Intentional fallthrough to the Pending branch\n }\n case EntryStatus.Pending: {\n // Still pending. We can't start prefetching the segments until the route\n // tree has loaded. Add the task to the set of blocked tasks so that it\n // is notified when the route tree is ready.\n const blockedTasks = route.blockedTasks\n if (blockedTasks === null) {\n route.blockedTasks = new Set([task])\n } else {\n blockedTasks.add(task)\n }\n return PrefetchTaskExitStatus.Blocked\n }\n case EntryStatus.Rejected: {\n // Route tree failed to load. Treat as a 404.\n return PrefetchTaskExitStatus.Done\n }\n case EntryStatus.Fulfilled: {\n if (task.phase !== PrefetchPhase.Segments) {\n // Do not prefetch segment data until we've entered the segment phase.\n return PrefetchTaskExitStatus.Done\n }\n // Recursively fill in the segment tree.\n if (!hasNetworkBandwidth(task)) {\n // Stop prefetching segments until there's more bandwidth.\n return PrefetchTaskExitStatus.InProgress\n }\n const tree = route.tree\n\n // A task's fetch strategy gets set to `PPR` for any \"auto\" prefetch.\n // If it turned out that the route isn't PPR-enabled, we need to use `LoadingBoundary` instead.\n // We don't need to do this for runtime prefetches, because those are only available in\n // `cacheComponents`, where every route is PPR.\n const fetchStrategy =\n task.fetchStrategy === FetchStrategy.PPR\n ? route.isPPREnabled\n ? FetchStrategy.PPR\n : FetchStrategy.LoadingBoundary\n : task.fetchStrategy\n\n switch (fetchStrategy) {\n case FetchStrategy.PPR: {\n // For Cache Components pages, each segment may be prefetched\n // statically or using a runtime request, based on various\n // configurations and heuristics. We'll do this in two passes: first\n // traverse the tree and perform all the static prefetches.\n //\n // Then, if there are any segments that need a runtime request,\n // do another pass to perform a runtime prefetch.\n pingStaticHead(now, task, route)\n const exitStatus = pingSharedPartOfCacheComponentsTree(\n now,\n task,\n route,\n task.treeAtTimeOfPrefetch,\n tree\n )\n if (exitStatus === PrefetchTaskExitStatus.InProgress) {\n // Child yielded without finishing.\n return PrefetchTaskExitStatus.InProgress\n }\n const spawnedRuntimePrefetches = task.spawnedRuntimePrefetches\n if (spawnedRuntimePrefetches !== null) {\n // During the first pass, we discovered segments that require a\n // runtime prefetch. Do a second pass to construct a request tree.\n const spawnedEntries = new Map<\n SegmentRequestKey,\n PendingSegmentCacheEntry\n >()\n pingRuntimeHead(\n now,\n task,\n route,\n spawnedEntries,\n FetchStrategy.PPRRuntime\n )\n const requestTree = pingRuntimePrefetches(\n now,\n task,\n route,\n tree,\n spawnedRuntimePrefetches,\n spawnedEntries\n )\n let needsDynamicRequest = spawnedEntries.size > 0\n if (needsDynamicRequest) {\n // Perform a dynamic prefetch request and populate the cache with\n // the result.\n spawnPrefetchSubtask(\n fetchSegmentPrefetchesUsingDynamicRequest(\n task,\n route,\n FetchStrategy.PPRRuntime,\n requestTree,\n spawnedEntries\n )\n )\n }\n }\n return PrefetchTaskExitStatus.Done\n }\n case FetchStrategy.Full:\n case FetchStrategy.PPRRuntime:\n case FetchStrategy.LoadingBoundary: {\n // Prefetch multiple segments using a single dynamic request.\n // TODO: We can consolidate this branch with previous one by modeling\n // it as if the first segment in the new tree has runtime prefetching\n // enabled. Will do this as a follow-up refactor. Might want to remove\n // the special metatdata case below first. In the meantime, it's not\n // really that much duplication, just would be nice to remove one of\n // these codepaths.\n const spawnedEntries = new Map<\n SegmentRequestKey,\n PendingSegmentCacheEntry\n >()\n pingRuntimeHead(now, task, route, spawnedEntries, fetchStrategy)\n const dynamicRequestTree = diffRouteTreeAgainstCurrent(\n now,\n task,\n route,\n task.treeAtTimeOfPrefetch,\n tree,\n spawnedEntries,\n fetchStrategy\n )\n let needsDynamicRequest = spawnedEntries.size > 0\n if (needsDynamicRequest) {\n spawnPrefetchSubtask(\n fetchSegmentPrefetchesUsingDynamicRequest(\n task,\n route,\n fetchStrategy,\n dynamicRequestTree,\n spawnedEntries\n )\n )\n }\n return PrefetchTaskExitStatus.Done\n }\n default:\n fetchStrategy satisfies never\n }\n break\n }\n default: {\n route satisfies never\n }\n }\n return PrefetchTaskExitStatus.Done\n}\n\nfunction pingStaticHead(\n now: number,\n task: PrefetchTask,\n route: FulfilledRouteCacheEntry\n): void {\n // The Head data for a page (metadata, viewport) is not really a route\n // segment, in the sense that it doesn't appear in the route tree. But we\n // store it in the cache as if it were, using a special key.\n pingStaticSegmentData(\n now,\n task,\n route,\n readOrCreateSegmentCacheEntry(\n now,\n FetchStrategy.PPR,\n route,\n route.metadata\n ),\n task.key,\n route.metadata\n )\n}\n\nfunction pingRuntimeHead(\n now: number,\n task: PrefetchTask,\n route: FulfilledRouteCacheEntry,\n spawnedEntries: Map<SegmentRequestKey, PendingSegmentCacheEntry>,\n fetchStrategy:\n | FetchStrategy.Full\n | FetchStrategy.PPRRuntime\n | FetchStrategy.LoadingBoundary\n): void {\n pingRouteTreeAndIncludeDynamicData(\n now,\n task,\n route,\n route.metadata,\n false,\n spawnedEntries,\n // When prefetching the head, there's no difference between Full\n // and LoadingBoundary\n fetchStrategy === FetchStrategy.LoadingBoundary\n ? FetchStrategy.Full\n : fetchStrategy\n )\n}\n\n// TODO: Rename dynamic -> runtime throughout this module\n\nfunction pingSharedPartOfCacheComponentsTree(\n now: number,\n task: PrefetchTask,\n route: FulfilledRouteCacheEntry,\n oldTree: FlightRouterState,\n newTree: RouteTree\n): PrefetchTaskExitStatus {\n // When Cache Components is enabled (or PPR, or a fully static route when PPR\n // is disabled; those cases are treated equivalently to Cache Components), we\n // start by prefetching each segment individually. Once we reach the \"new\"\n // part of the tree — the part that doesn't exist on the current page — we\n // may choose to switch to a runtime prefetch instead, based on the\n // information sent by the server in the route tree.\n //\n // The traversal starts in the \"shared\" part of the tree. Once we reach the\n // \"new\" part of the tree, we switch to a different traversal,\n // pingNewPartOfCacheComponentsTree.\n\n // Prefetch this segment's static data.\n const segment = readOrCreateSegmentCacheEntry(\n now,\n task.fetchStrategy,\n route,\n newTree\n )\n pingStaticSegmentData(now, task, route, segment, task.key, newTree)\n\n // Recursively ping the children.\n const oldTreeChildren = oldTree[1]\n const newTreeChildren = newTree.slots\n if (newTreeChildren !== null) {\n for (const parallelRouteKey in newTreeChildren) {\n if (!hasNetworkBandwidth(task)) {\n // Stop prefetching segments until there's more bandwidth.\n return PrefetchTaskExitStatus.InProgress\n }\n const newTreeChild = newTreeChildren[parallelRouteKey]\n const newTreeChildSegment = newTreeChild.segment\n const oldTreeChild: FlightRouterState | void =\n oldTreeChildren[parallelRouteKey]\n const oldTreeChildSegment: FlightRouterStateSegment | void =\n oldTreeChild?.[0]\n let childExitStatus\n if (\n oldTreeChildSegment !== undefined &&\n doesCurrentSegmentMatchCachedSegment(\n route,\n newTreeChildSegment,\n oldTreeChildSegment\n )\n ) {\n // We're still in the \"shared\" part of the tree.\n childExitStatus = pingSharedPartOfCacheComponentsTree(\n now,\n task,\n route,\n oldTreeChild,\n newTreeChild\n )\n } else {\n // We've entered the \"new\" part of the tree. Switch\n // traversal functions.\n childExitStatus = pingNewPartOfCacheComponentsTree(\n now,\n task,\n route,\n newTreeChild\n )\n }\n if (childExitStatus === PrefetchTaskExitStatus.InProgress) {\n // Child yielded without finishing.\n return PrefetchTaskExitStatus.InProgress\n }\n }\n }\n\n return PrefetchTaskExitStatus.Done\n}\n\nfunction pingNewPartOfCacheComponentsTree(\n now: number,\n task: PrefetchTask,\n route: FulfilledRouteCacheEntry,\n tree: RouteTree\n): PrefetchTaskExitStatus.InProgress | PrefetchTaskExitStatus.Done {\n // We're now prefetching in the \"new\" part of the tree, the part that doesn't\n // exist on the current page. (In other words, we're deeper than the\n // shared layouts.) Segments in here default to being prefetched statically.\n // However, if the server instructs us to, we may switch to a runtime\n // prefetch instead. Traverse the tree and check at each segment.\n if (tree.hasRuntimePrefetch) {\n // This route has a runtime prefetch response. Since we're below the shared\n // layout, everything from this point should be prefetched using a single,\n // combined runtime request, rather than using per-segment static requests.\n // This is true even if some of the child segments are known to be fully\n // static — once we've decided to perform a runtime prefetch, we might as\n // well respond with the static segments in the same roundtrip. (That's how\n // regular navigations work, too.) We'll still skip over segments that are\n // already cached, though.\n //\n // It's the server's responsibility to set a reasonable value of\n // `hasRuntimePrefetch`. Currently it's user-defined, but eventually, the\n // server may send a value of `false` even if the user opts in, if it\n // determines during build that the route is always fully static. There are\n // more optimizations we can do once we implement fallback param\n // tracking, too.\n //\n // Use the task object to collect the segments that need a runtime prefetch.\n // This will signal to the outer task queue that a second traversal is\n // required to construct a request tree.\n if (task.spawnedRuntimePrefetches === null) {\n task.spawnedRuntimePrefetches = new Set([tree.requestKey])\n } else {\n task.spawnedRuntimePrefetches.add(tree.requestKey)\n }\n // Then exit the traversal without prefetching anything further.\n return PrefetchTaskExitStatus.Done\n }\n\n // This segment should not be runtime prefetched. Prefetch its static data.\n const segment = readOrCreateSegmentCacheEntry(\n now,\n task.fetchStrategy,\n route,\n tree\n )\n pingStaticSegmentData(now, task, route, segment, task.key, tree)\n if (tree.slots !== null) {\n if (!hasNetworkBandwidth(task)) {\n // Stop prefetching segments until there's more bandwidth.\n return PrefetchTaskExitStatus.InProgress\n }\n // Recursively ping the children.\n for (const parallelRouteKey in tree.slots) {\n const childTree = tree.slots[parallelRouteKey]\n const childExitStatus = pingNewPartOfCacheComponentsTree(\n now,\n task,\n route,\n childTree\n )\n if (childExitStatus === PrefetchTaskExitStatus.InProgress) {\n // Child yielded without finishing.\n return PrefetchTaskExitStatus.InProgress\n }\n }\n }\n // This segment and all its children have finished prefetching.\n return PrefetchTaskExitStatus.Done\n}\n\nfunction diffRouteTreeAgainstCurrent(\n now: number,\n task: PrefetchTask,\n route: FulfilledRouteCacheEntry,\n oldTree: FlightRouterState,\n newTree: RouteTree,\n spawnedEntries: Map<SegmentRequestKey, PendingSegmentCacheEntry>,\n fetchStrategy:\n | FetchStrategy.Full\n | FetchStrategy.PPRRuntime\n | FetchStrategy.LoadingBoundary\n): FlightRouterState {\n // This is a single recursive traversal that does multiple things:\n // - Finds the parts of the target route (newTree) that are not part of\n // of the current page (oldTree) by diffing them, using the same algorithm\n // as a real navigation.\n // - Constructs a request tree (FlightRouterState) that describes which\n // segments need to be prefetched and which ones are already cached.\n // - Creates a set of pending cache entries for the segments that need to\n // be prefetched, so that a subsequent prefetch task does not request the\n // same segments again.\n const oldTreeChildren = oldTree[1]\n const newTreeChildren = newTree.slots\n let requestTreeChildren: Record<string, FlightRouterState> = {}\n if (newTreeChildren !== null) {\n for (const parallelRouteKey in newTreeChildren) {\n const newTreeChild = newTreeChildren[parallelRouteKey]\n const newTreeChildSegment = newTreeChild.segment\n const oldTreeChild: FlightRouterState | void =\n oldTreeChildren[parallelRouteKey]\n const oldTreeChildSegment: FlightRouterStateSegment | void =\n oldTreeChild?.[0]\n if (\n oldTreeChildSegment !== undefined &&\n doesCurrentSegmentMatchCachedSegment(\n route,\n newTreeChildSegment,\n oldTreeChildSegment\n )\n ) {\n // This segment is already part of the current route. Keep traversing.\n const requestTreeChild = diffRouteTreeAgainstCurrent(\n now,\n task,\n route,\n oldTreeChild,\n newTreeChild,\n spawnedEntries,\n fetchStrategy\n )\n requestTreeChildren[parallelRouteKey] = requestTreeChild\n } else {\n // This segment is not part of the current route. We're entering a\n // part of the tree that we need to prefetch (unless everything is\n // already cached).\n switch (fetchStrategy) {\n case FetchStrategy.LoadingBoundary: {\n // When PPR is disabled, we can't prefetch per segment. We must\n // fallback to the old prefetch behavior and send a dynamic request.\n // Only routes that include a loading boundary can be prefetched in\n // this way.\n //\n // This is simlar to a \"full\" prefetch, but we're much more\n // conservative about which segments to include in the request.\n //\n // The server will only render up to the first loading boundary\n // inside new part of the tree. If there's no loading boundary\n // anywhere in the tree, the server will never return any data, so\n // we can skip the request.\n const subtreeHasLoadingBoundary =\n newTreeChild.hasLoadingBoundary !==\n HasLoadingBoundary.SubtreeHasNoLoadingBoundary\n const requestTreeChild = subtreeHasLoadingBoundary\n ? pingPPRDisabledRouteTreeUpToLoadingBoundary(\n now,\n task,\n route,\n newTreeChild,\n null,\n spawnedEntries\n )\n : // There's no loading boundary within this tree. Bail out.\n convertRouteTreeToFlightRouterState(newTreeChild)\n requestTreeChildren[parallelRouteKey] = requestTreeChild\n break\n }\n case FetchStrategy.PPRRuntime: {\n // This is a runtime prefetch. Fetch all cacheable data in the tree,\n // not just the static PPR shell.\n const requestTreeChild = pingRouteTreeAndIncludeDynamicData(\n now,\n task,\n route,\n newTreeChild,\n false,\n spawnedEntries,\n fetchStrategy\n )\n requestTreeChildren[parallelRouteKey] = requestTreeChild\n break\n }\n case FetchStrategy.Full: {\n // This is a \"full\" prefetch. Fetch all the data in the tree, both\n // static and dynamic. We issue roughly the same request that we\n // would during a real navigation. The goal is that once the\n // navigation occurs, the router should not have to fetch any\n // additional data.\n //\n // Although the response will include dynamic data, opting into a\n // Full prefetch — via <Link prefetch={true}> — implicitly\n // instructs the cache to treat the response as \"static\", or non-\n // dynamic, since the whole point is to cache it for\n // future navigations.\n //\n // Construct a tree (currently a FlightRouterState) that represents\n // which segments need to be prefetched and which ones are already\n // cached. If the tree is empty, then we can exit. Otherwise, we'll\n // send the request tree to the server and use the response to\n // populate the segment cache.\n const requestTreeChild = pingRouteTreeAndIncludeDynamicData(\n now,\n task,\n route,\n newTreeChild,\n false,\n spawnedEntries,\n fetchStrategy\n )\n requestTreeChildren[parallelRouteKey] = requestTreeChild\n break\n }\n default:\n fetchStrategy satisfies never\n }\n }\n }\n }\n const requestTree: FlightRouterState = [\n newTree.segment,\n requestTreeChildren,\n null,\n null,\n newTree.isRootLayout,\n ]\n return requestTree\n}\n\nfunction pingPPRDisabledRouteTreeUpToLoadingBoundary(\n now: number,\n task: PrefetchTask,\n route: FulfilledRouteCacheEntry,\n tree: RouteTree,\n refetchMarkerContext: 'refetch' | 'inside-shared-layout' | null,\n spawnedEntries: Map<SegmentRequestKey, PendingSegmentCacheEntry>\n): FlightRouterState {\n // This function is similar to pingRouteTreeAndIncludeDynamicData, except the\n // server is only going to return a minimal loading state — it will stop\n // rendering at the first loading boundary. Whereas a Full prefetch is\n // intentionally aggressive and tries to pretfetch all the data that will be\n // needed for a navigation, a LoadingBoundary prefetch is much more\n // conservative. For example, it will omit from the request tree any segment\n // that is already cached, regardles of whether it's partial or full. By\n // contrast, a Full prefetch will refetch partial segments.\n\n // \"inside-shared-layout\" tells the server where to start looking for a\n // loading boundary.\n let refetchMarker: 'refetch' | 'inside-shared-layout' | null =\n refetchMarkerContext === null ? 'inside-shared-layout' : null\n\n const segment = readOrCreateSegmentCacheEntry(\n now,\n task.fetchStrategy,\n route,\n tree\n )\n switch (segment.status) {\n case EntryStatus.Empty: {\n // This segment is not cached. Add a refetch marker so the server knows\n // to start rendering here.\n // TODO: Instead of a \"refetch\" marker, we could just omit this subtree's\n // FlightRouterState from the request tree. I think this would probably\n // already work even without any updates to the server. For consistency,\n // though, I'll send the full tree and we'll look into this later as part\n // of a larger redesign of the request protocol.\n\n // Add the pending cache entry to the result map.\n spawnedEntries.set(\n tree.requestKey,\n upgradeToPendingSegment(\n segment,\n // Set the fetch strategy to LoadingBoundary to indicate that the server\n // might not include it in the pending response. If another route is able\n // to issue a per-segment request, we'll do that in the background.\n FetchStrategy.LoadingBoundary\n )\n )\n if (refetchMarkerContext !== 'refetch') {\n refetchMarker = refetchMarkerContext = 'refetch'\n } else {\n // There's already a parent with a refetch marker, so we don't need\n // to add another one.\n }\n break\n }\n case EntryStatus.Fulfilled: {\n // The segment is already cached.\n const segmentHasLoadingBoundary =\n tree.hasLoadingBoundary === HasLoadingBoundary.SegmentHasLoadingBoundary\n if (segmentHasLoadingBoundary) {\n // This segment has a loading boundary, which means the server won't\n // render its children. So there's nothing left to prefetch along this\n // path. We can bail out.\n return convertRouteTreeToFlightRouterState(tree)\n }\n // NOTE: If the cached segment were fetched using PPR, then it might be\n // partial. We could get a more complete version of the segment by\n // including it in this non-PPR request.\n //\n // We're intentionally choosing not to, though, because it's generally\n // better to avoid doing a full prefetch whenever possible.\n break\n }\n case EntryStatus.Pending: {\n // There's another prefetch currently in progress. Don't add the refetch\n // marker yet, so the server knows it can skip rendering this segment.\n break\n }\n case EntryStatus.Rejected: {\n // The segment failed to load. We shouldn't issue another request until\n // the stale time has elapsed.\n break\n }\n default:\n segment satisfies never\n }\n const requestTreeChildren: Record<string, FlightRouterState> = {}\n if (tree.slots !== null) {\n for (const parallelRouteKey in tree.slots) {\n const childTree = tree.slots[parallelRouteKey]\n requestTreeChildren[parallelRouteKey] =\n pingPPRDisabledRouteTreeUpToLoadingBoundary(\n now,\n task,\n route,\n childTree,\n refetchMarkerContext,\n spawnedEntries\n )\n }\n }\n const requestTree: FlightRouterState = [\n tree.segment,\n requestTreeChildren,\n null,\n refetchMarker,\n tree.isRootLayout,\n ]\n return requestTree\n}\n\nfunction pingRouteTreeAndIncludeDynamicData(\n now: number,\n task: PrefetchTask,\n route: FulfilledRouteCacheEntry,\n tree: RouteTree,\n isInsideRefetchingParent: boolean,\n spawnedEntries: Map<SegmentRequestKey, PendingSegmentCacheEntry>,\n fetchStrategy: FetchStrategy.Full | FetchStrategy.PPRRuntime\n): FlightRouterState {\n // The tree we're constructing is the same shape as the tree we're navigating\n // to. But even though this is a \"new\" tree, some of the individual segments\n // may be cached as a result of other route prefetches.\n //\n // So we need to find the first uncached segment along each path add an\n // explicit \"refetch\" marker so the server knows where to start rendering.\n // Once the server starts rendering along a path, it keeps rendering the\n // entire subtree.\n const segment = readOrCreateSegmentCacheEntry(\n now,\n // Note that `fetchStrategy` might be different from `task.fetchStrategy`,\n // and we have to use the former here.\n // We can have a task with `FetchStrategy.PPR` where some of its segments are configured to\n // always use runtime prefetching (via `export const prefetch`), and those should check for\n // entries that include search params.\n fetchStrategy,\n route,\n tree\n )\n\n let spawnedSegment: PendingSegmentCacheEntry | null = null\n\n switch (segment.status) {\n case EntryStatus.Empty: {\n // This segment is not cached. Include it in the request.\n spawnedSegment = upgradeToPendingSegment(segment, fetchStrategy)\n break\n }\n case EntryStatus.Fulfilled: {\n // The segment is already cached.\n if (\n segment.isPartial &&\n canNewFetchStrategyProvideMoreContent(\n segment.fetchStrategy,\n fetchStrategy\n )\n ) {\n // The cached segment contains dynamic holes, and was prefetched using a less specific strategy than the current one.\n // This means we're in one of these cases:\n // - we have a static prefetch, and we're doing a runtime prefetch\n // - we have a static or runtime prefetch, and we're doing a Full prefetch (or a navigation).\n // In either case, we need to include it in the request to get a more specific (or full) version.\n spawnedSegment = pingFullSegmentRevalidation(\n now,\n route,\n tree,\n fetchStrategy\n )\n }\n break\n }\n case EntryStatus.Pending:\n case EntryStatus.Rejected: {\n // There's either another prefetch currently in progress, or the previous\n // attempt failed. If the new strategy can provide more content, fetch it again.\n if (\n canNewFetchStrategyProvideMoreContent(\n segment.fetchStrategy,\n fetchStrategy\n )\n ) {\n spawnedSegment = pingFullSegmentRevalidation(\n now,\n route,\n tree,\n fetchStrategy\n )\n }\n break\n }\n default:\n segment satisfies never\n }\n const requestTreeChildren: Record<string, FlightRouterState> = {}\n if (tree.slots !== null) {\n for (const parallelRouteKey in tree.slots) {\n const childTree = tree.slots[parallelRouteKey]\n requestTreeChildren[parallelRouteKey] =\n pingRouteTreeAndIncludeDynamicData(\n now,\n task,\n route,\n childTree,\n isInsideRefetchingParent || spawnedSegment !== null,\n spawnedEntries,\n fetchStrategy\n )\n }\n }\n\n if (spawnedSegment !== null) {\n // Add the pending entry to the result map.\n spawnedEntries.set(tree.requestKey, spawnedSegment)\n }\n\n // Don't bother to add a refetch marker if one is already present in a parent.\n const refetchMarker =\n !isInsideRefetchingParent && spawnedSegment !== null ? 'refetch' : null\n\n const requestTree: FlightRouterState = [\n tree.segment,\n requestTreeChildren,\n null,\n refetchMarker,\n tree.isRootLayout,\n ]\n return requestTree\n}\n\nfunction pingRuntimePrefetches(\n now: number,\n task: PrefetchTask,\n route: FulfilledRouteCacheEntry,\n tree: RouteTree,\n spawnedRuntimePrefetches: Set<SegmentRequestKey>,\n spawnedEntries: Map<SegmentRequestKey, PendingSegmentCacheEntry>\n): FlightRouterState {\n // Construct a request tree (FlightRouterState) for a runtime prefetch. If\n // a segment is part of the runtime prefetch, the tree is constructed by\n // diffing against what's already in the prefetch cache. Otherwise, we send\n // a regular FlightRouterState with no special markers.\n //\n // See pingRouteTreeAndIncludeDynamicData for details.\n if (spawnedRuntimePrefetches.has(tree.requestKey)) {\n // This segment needs a runtime prefetch.\n return pingRouteTreeAndIncludeDynamicData(\n now,\n task,\n route,\n tree,\n false,\n spawnedEntries,\n FetchStrategy.PPRRuntime\n )\n }\n let requestTreeChildren: Record<string, FlightRouterState> = {}\n const slots = tree.slots\n if (slots !== null) {\n for (const parallelRouteKey in slots) {\n const childTree = slots[parallelRouteKey]\n requestTreeChildren[parallelRouteKey] = pingRuntimePrefetches(\n now,\n task,\n route,\n childTree,\n spawnedRuntimePrefetches,\n spawnedEntries\n )\n }\n }\n\n // This segment is not part of the runtime prefetch. Clone the base tree.\n const requestTree: FlightRouterState = [\n tree.segment,\n requestTreeChildren,\n null,\n null,\n ]\n return requestTree\n}\n\nfunction pingStaticSegmentData(\n now: number,\n task: PrefetchTask,\n route: FulfilledRouteCacheEntry,\n segment: SegmentCacheEntry,\n routeKey: RouteCacheKey,\n tree: RouteTree\n): void {\n switch (segment.status) {\n case EntryStatus.Empty:\n // Upgrade to Pending so we know there's already a request in progress\n spawnPrefetchSubtask(\n fetchSegmentOnCacheMiss(\n route,\n upgradeToPendingSegment(segment, FetchStrategy.PPR),\n routeKey,\n tree\n )\n )\n break\n case EntryStatus.Pending: {\n // There's already a request in progress. Depending on what kind of\n // request it is, we may want to revalidate it.\n switch (segment.fetchStrategy) {\n case FetchStrategy.PPR:\n case FetchStrategy.PPRRuntime:\n case FetchStrategy.Full:\n // There's already a request in progress. Don't do anything.\n break\n case FetchStrategy.LoadingBoundary:\n // There's a pending request, but because it's using the old\n // prefetching strategy, we can't be sure if it will be fulfilled by\n // the response — it might be inside the loading boundary. Perform\n // a revalidation, but because it's speculative, wait to do it at\n // background priority.\n if (background(task)) {\n // TODO: Instead of speculatively revalidating, consider including\n // `hasLoading` in the route tree prefetch response.\n pingPPRSegmentRevalidation(now, route, routeKey, tree)\n }\n break\n default:\n segment.fetchStrategy satisfies never\n }\n break\n }\n case EntryStatus.Rejected: {\n // The existing entry in the cache was rejected. Depending on how it\n // was originally fetched, we may or may not want to revalidate it.\n switch (segment.fetchStrategy) {\n case FetchStrategy.PPR:\n case FetchStrategy.PPRRuntime:\n case FetchStrategy.Full:\n // The previous attempt to fetch this entry failed. Don't attempt to\n // fetch it again until the entry expires.\n break\n case FetchStrategy.LoadingBoundary:\n // There's a rejected entry, but it was fetched using the loading\n // boundary strategy. So the reason it wasn't returned by the server\n // might just be because it was inside a loading boundary. Or because\n // there was a dynamic rewrite. Revalidate it using the per-\n // segment strategy.\n //\n // Because a rejected segment will definitely prevent the segment (and\n // all of its children) from rendering, we perform this revalidation\n // immediately instead of deferring it to a background task.\n pingPPRSegmentRevalidation(now, route, routeKey, tree)\n break\n default:\n segment.fetchStrategy satisfies never\n }\n break\n }\n case EntryStatus.Fulfilled:\n // Segment is already cached. There's nothing left to prefetch.\n break\n default:\n segment satisfies never\n }\n\n // Segments do not have dependent tasks, so once the prefetch is initiated,\n // there's nothing else for us to do (except write the server data into the\n // entry, which is handled by `fetchSegmentOnCacheMiss`).\n}\n\nfunction pingPPRSegmentRevalidation(\n now: number,\n route: FulfilledRouteCacheEntry,\n routeKey: RouteCacheKey,\n tree: RouteTree\n): void {\n const revalidatingSegment = readOrCreateRevalidatingSegmentEntry(\n now,\n FetchStrategy.PPR,\n route,\n tree\n )\n switch (revalidatingSegment.status) {\n case EntryStatus.Empty:\n // Spawn a prefetch request and upsert the segment into the cache\n // upon completion.\n upsertSegmentOnCompletion(\n spawnPrefetchSubtask(\n fetchSegmentOnCacheMiss(\n route,\n upgradeToPendingSegment(revalidatingSegment, FetchStrategy.PPR),\n routeKey,\n tree\n )\n ),\n getSegmentVaryPathForRequest(FetchStrategy.PPR, tree)\n )\n break\n case EntryStatus.Pending:\n // There's already a revalidation in progress.\n break\n case EntryStatus.Fulfilled:\n case EntryStatus.Rejected:\n // A previous revalidation attempt finished, but we chose not to replace\n // the existing entry in the cache. Don't try again until or unless the\n // revalidation entry expires.\n break\n default:\n revalidatingSegment satisfies never\n }\n}\n\nfunction pingFullSegmentRevalidation(\n now: number,\n route: FulfilledRouteCacheEntry,\n tree: RouteTree,\n fetchStrategy: FetchStrategy.Full | FetchStrategy.PPRRuntime\n): PendingSegmentCacheEntry | null {\n const revalidatingSegment = readOrCreateRevalidatingSegmentEntry(\n now,\n fetchStrategy,\n route,\n tree\n )\n if (revalidatingSegment.status === EntryStatus.Empty) {\n // During a Full/PPRRuntime prefetch, a single dynamic request is made for all the\n // segments that we need. So we don't initiate a request here directly. By\n // returning a pending entry from this function, it signals to the caller\n // that this segment should be included in the request that's sent to\n // the server.\n const pendingSegment = upgradeToPendingSegment(\n revalidatingSegment,\n fetchStrategy\n )\n upsertSegmentOnCompletion(\n waitForSegmentCacheEntry(pendingSegment),\n getSegmentVaryPathForRequest(fetchStrategy, tree)\n )\n return pendingSegment\n } else {\n // There's already a revalidation in progress.\n const nonEmptyRevalidatingSegment = revalidatingSegment\n if (\n canNewFetchStrategyProvideMoreContent(\n nonEmptyRevalidatingSegment.fetchStrategy,\n fetchStrategy\n )\n ) {\n // The existing revalidation was fetched using a less specific strategy.\n // Reset it and start a new revalidation.\n const emptySegment = overwriteRevalidatingSegmentCacheEntry(\n fetchStrategy,\n route,\n tree\n )\n const pendingSegment = upgradeToPendingSegment(\n emptySegment,\n fetchStrategy\n )\n upsertSegmentOnCompletion(\n waitForSegmentCacheEntry(pendingSegment),\n getSegmentVaryPathForRequest(fetchStrategy, tree)\n )\n return pendingSegment\n }\n switch (nonEmptyRevalidatingSegment.status) {\n case EntryStatus.Pending:\n // There's already an in-progress prefetch that includes this segment.\n return null\n case EntryStatus.Fulfilled:\n case EntryStatus.Rejected:\n // A previous revalidation attempt finished, but we chose not to replace\n // the existing entry in the cache. Don't try again until or unless the\n // revalidation entry expires.\n return null\n default:\n nonEmptyRevalidatingSegment satisfies never\n return null\n }\n }\n}\n\nconst noop = () => {}\n\nfunction upsertSegmentOnCompletion(\n promise: Promise<FulfilledSegmentCacheEntry | null>,\n varyPath: SegmentVaryPath\n) {\n // Wait for a segment to finish loading, then upsert it into the cache\n promise.then((fulfilled) => {\n if (fulfilled !== null) {\n // Received new data. Attempt to replace the existing entry in the cache.\n upsertSegmentEntry(Date.now(), varyPath, fulfilled)\n }\n }, noop)\n}\n\nfunction doesCurrentSegmentMatchCachedSegment(\n route: FulfilledRouteCacheEntry,\n currentSegment: Segment,\n cachedSegment: Segment\n): boolean {\n if (cachedSegment === PAGE_SEGMENT_KEY) {\n // In the FlightRouterState stored by the router, the page segment has the\n // rendered search params appended to the name of the segment. In the\n // prefetch cache, however, this is stored separately. So, when comparing\n // the router's current FlightRouterState to the cached FlightRouterState,\n // we need to make sure we compare both parts of the segment.\n // TODO: This is not modeled clearly. We use the same type,\n // FlightRouterState, for both the CacheNode tree _and_ the prefetch cache\n // _and_ the server response format, when conceptually those are three\n // different things and treated in different ways. We should encode more of\n // this information into the type design so mistakes are less likely.\n return (\n currentSegment ===\n addSearchParamsIfPageSegment(\n PAGE_SEGMENT_KEY,\n Object.fromEntries(new URLSearchParams(route.renderedSearch))\n )\n )\n }\n // Non-page segments are compared using the same function as the server\n return matchSegment(cachedSegment, currentSegment)\n}\n\n// -----------------------------------------------------------------------------\n// The remainder of the module is a MinHeap implementation. Try not to put any\n// logic below here unless it's related to the heap algorithm. We can extract\n// this to a separate module if/when we need multiple kinds of heaps.\n// -----------------------------------------------------------------------------\n\nfunction compareQueuePriority(a: PrefetchTask, b: PrefetchTask) {\n // Since the queue is a MinHeap, this should return a positive number if b is\n // higher priority than a, and a negative number if a is higher priority\n // than b.\n\n // `priority` is an integer, where higher numbers are higher priority.\n const priorityDiff = b.priority - a.priority\n if (priorityDiff !== 0) {\n return priorityDiff\n }\n\n // If the priority is the same, check which phase the prefetch is in — is it\n // prefetching the route tree, or the segments? Route trees are prioritized.\n const phaseDiff = b.phase - a.phase\n if (phaseDiff !== 0) {\n return phaseDiff\n }\n\n // Finally, check the insertion order. `sortId` is an incrementing counter\n // assigned to prefetches. We want to process the newest prefetches first.\n return b.sortId - a.sortId\n}\n\nfunction heapPush(heap: Array<PrefetchTask>, node: PrefetchTask): void {\n const index = heap.length\n heap.push(node)\n node._heapIndex = index\n heapSiftUp(heap, node, index)\n}\n\nfunction heapPeek(heap: Array<PrefetchTask>): PrefetchTask | null {\n return heap.length === 0 ? null : heap[0]\n}\n\nfunction heapPop(heap: Array<PrefetchTask>): PrefetchTask | null {\n if (heap.length === 0) {\n return null\n }\n const first = heap[0]\n first._heapIndex = -1\n const last = heap.pop() as PrefetchTask\n if (last !== first) {\n heap[0] = last\n last._heapIndex = 0\n heapSiftDown(heap, last, 0)\n }\n return first\n}\n\nfunction heapDelete(heap: Array<PrefetchTask>, node: PrefetchTask): void {\n const index = node._heapIndex\n if (index !== -1) {\n node._heapIndex = -1\n if (heap.length !== 0) {\n const last = heap.pop() as PrefetchTask\n if (last !== node) {\n heap[index] = last\n last._heapIndex = index\n heapSiftDown(heap, last, index)\n }\n }\n }\n}\n\nfunction heapResift(heap: Array<PrefetchTask>, node: PrefetchTask): void {\n const index = node._heapIndex\n if (index !== -1) {\n if (index === 0) {\n heapSiftDown(heap, node, 0)\n } else {\n const parentIndex = (index - 1) >>> 1\n const parent = heap[parentIndex]\n if (compareQueuePriority(parent, node) > 0) {\n // The parent is larger. Sift up.\n heapSiftUp(heap, node, index)\n } else {\n // The parent is smaller (or equal). Sift down.\n heapSiftDown(heap, node, index)\n }\n }\n }\n}\n\nfunction heapSiftUp(\n heap: Array<PrefetchTask>,\n node: PrefetchTask,\n i: number\n): void {\n let index = i\n while (index > 0) {\n const parentIndex = (index - 1) >>> 1\n const parent = heap[parentIndex]\n if (compareQueuePriority(parent, node) > 0) {\n // The parent is larger. Swap positions.\n heap[parentIndex] = node\n node._heapIndex = parentIndex\n heap[index] = parent\n parent._heapIndex = index\n\n index = parentIndex\n } else {\n // The parent is smaller. Exit.\n return\n }\n }\n}\n\nfunction heapSiftDown(\n heap: Array<PrefetchTask>,\n node: PrefetchTask,\n i: number\n): void {\n let index = i\n const length = heap.length\n const halfLength = length >>> 1\n while (index < halfLength) {\n const leftIndex = (index + 1) * 2 - 1\n const left = heap[leftIndex]\n const rightIndex = leftIndex + 1\n const right = heap[rightIndex]\n\n // If the left or right node is smaller, swap with the smaller of those.\n if (compareQueuePriority(left, node) < 0) {\n if (rightIndex < length && compareQueuePriority(right, left) < 0) {\n heap[index] = right\n right._heapIndex = index\n heap[rightIndex] = node\n node._heapIndex = rightIndex\n\n index = rightIndex\n } else {\n heap[index] = left\n left._heapIndex = index\n heap[leftIndex] = node\n node._heapIndex = leftIndex\n\n index = leftIndex\n }\n } else if (rightIndex < length && compareQueuePriority(right, node) < 0) {\n heap[index] = right\n right._heapIndex = index\n heap[rightIndex] = node\n node._heapIndex = rightIndex\n\n index = rightIndex\n } else {\n // Neither child is smaller. Exit.\n return\n }\n }\n}\n"],"names":["cancelPrefetchTask","isPrefetchTaskDirty","pingPrefetchTask","reschedulePrefetchTask","schedulePrefetchTask","startRevalidationCooldown","scheduleMicrotask","queueMicrotask","fn","Promise","resolve","then","catch","error","setTimeout","taskHeap","inProgressRequests","sortIdCounter","didScheduleMicrotask","mostRecentlyHoveredLink","REVALIDATION_COOLDOWN_MS","revalidationCooldownTimeoutHandle","clearTimeout","ensureWorkIsScheduled","key","treeAtTimeOfPrefetch","fetchStrategy","priority","onInvalidate","task","cacheVersion","getCurrentCacheVersion","phase","hasBackgroundWork","spawnedRuntimePrefetches","sortId","isCanceled","_heapIndex","trackMostRecentlyHoveredLink","heapPush","heapDelete","PrefetchPriority","Intent","heapResift","nextUrl","tree","currentCacheVersion","Background","Default","processQueueInMicrotask","hasNetworkBandwidth","spawnPrefetchSubtask","prefetchSubtask","result","onPrefetchConnectionClosed","closed","value","now","Date","heapPeek","exitStatus","pingRoute","heapPop","background","route","readOrCreateRouteCacheEntry","pingRootRouteTree","search","url","URL","pathname","location","origin","keyWithoutSearch","createCacheKey","href","routeWithoutSearch","status","EntryStatus","Empty","Pending","fetchRouteOnCacheMiss","Fulfilled","Rejected","staleAt","blockedTasks","Set","add","FetchStrategy","PPR","isPPREnabled","LoadingBoundary","pingStaticHead","pingSharedPartOfCacheComponentsTree","spawnedEntries","Map","pingRuntimeHead","PPRRuntime","requestTree","pingRuntimePrefetches","needsDynamicRequest","size","fetchSegmentPrefetchesUsingDynamicRequest","Full","dynamicRequestTree","diffRouteTreeAgainstCurrent","pingStaticSegmentData","readOrCreateSegmentCacheEntry","metadata","pingRouteTreeAndIncludeDynamicData","oldTree","newTree","segment","oldTreeChildren","newTreeChildren","slots","parallelRouteKey","newTreeChild","newTreeChildSegment","oldTreeChild","oldTreeChildSegment","childExitStatus","undefined","doesCurrentSegmentMatchCachedSegment","pingNewPartOfCacheComponentsTree","hasRuntimePrefetch","requestKey","childTree","requestTreeChildren","requestTreeChild","subtreeHasLoadingBoundary","hasLoadingBoundary","HasLoadingBoundary","SubtreeHasNoLoadingBoundary","pingPPRDisabledRouteTreeUpToLoadingBoundary","convertRouteTreeToFlightRouterState","isRootLayout","refetchMarkerContext","refetchMarker","set","upgradeToPendingSegment","segmentHasLoadingBoundary","SegmentHasLoadingBoundary","isInsideRefetchingParent","spawnedSegment","isPartial","canNewFetchStrategyProvideMoreContent","pingFullSegmentRevalidation","has","routeKey","fetchSegmentOnCacheMiss","pingPPRSegmentRevalidation","revalidatingSegment","readOrCreateRevalidatingSegmentEntry","upsertSegmentOnCompletion","getSegmentVaryPathForRequest","pendingSegment","waitForSegmentCacheEntry","nonEmptyRevalidatingSegment","emptySegment","overwriteRevalidatingSegmentCacheEntry","noop","promise","varyPath","fulfilled","upsertSegmentEntry","currentSegment","cachedSegment","PAGE_SEGMENT_KEY","addSearchParamsIfPageSegment","Object","fromEntries","URLSearchParams","renderedSearch","matchSegment","compareQueuePriority","a","b","priorityDiff","phaseDiff","heap","node","index","length","push","heapSiftUp","first","last","pop","heapSiftDown","parentIndex","parent","i","halfLength","leftIndex","left","rightIndex","right"],"mappings":";;;;;;;;;;;;;;;;;;IAsRgBA,kBAAkB,EAAA;eAAlBA;;IAiDAC,mBAAmB,EAAA;eAAnBA;;IA6HAC,gBAAgB,EAAA;eAAhBA;;IApKAC,sBAAsB,EAAA;eAAtBA;;IAjDAC,oBAAoB,EAAA;eAApBA;;IA7BAC,yBAAyB,EAAA;eAAzBA;;;gCA7MmB;+BACN;uBAqBtB;0BAC4D;0BAEpC;uBAKxB;yBAKA;AAGP,MAAMC,oBACJ,OAAOC,mBAAmB,aACtBA,iBACA,CAACC,KACCC,QAAQC,OAAO,GACZC,IAAI,CAACH,IACLI,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AS;IAET,IAAIV,QAAQU;IACZ,MAAMT,SAASH,KAAKG,MAAM;IAC1B,MAAMU,aAAaV,WAAW;IAC9B,MAAOD,QAAQW,WAAY;QACzB,MAAMC,YAAaZ,CAAAA,QAAQ,CAAA,IAAK,IAAI;QACpC,MAAMa,OAAOf,IAAI,CAACc,UAAU;QAC5B,MAAME,aAAaF,YAAY;QAC/B,MAAMG,QAAQjB,IAAI,CAACgB,WAAW;QAE9B,wEAAwE;QACxE,IAAIrB,qBAAqBoB,MAAMd,QAAQ,GAAG;YACxC,IAAIe,aAAab,UAAUR,qBAAqBsB,OAAOF,QAAQ,GAAG;gBAChEf,IAAI,CAACE,MAAM,GAAGe;gBACdA,MAAMhK,UAAU,GAAGiJ;gBACnBF,IAAI,CAACgB,WAAW,GAAGf;gBACnBA,KAAKhJ,UAAU,GAAG+J;gBAElBd,QAAQc;YACV,OAAO;gBACLhB,IAAI,CAACE,MAAM,GAAGa;gBACdA,KAAK9J,UAAU,GAAGiJ;gBAClBF,IAAI,CAACc,UAAU,GAAGb;gBAClBA,KAAKhJ,UAAU,GAAG6J;gBAElBZ,QAAQY;YACV;QACF,OAAO,IAAIE,aAAab,UAAUR,qBAAqBsB,OAAOhB,QAAQ,GAAG;YACvED,IAAI,CAACE,MAAM,GAAGe;YACdA,MAAMhK,UAAU,GAAGiJ;YACnBF,IAAI,CAACgB,WAAW,GAAGf;YACnBA,KAAKhJ,UAAU,GAAG+J;YAElBd,QAAQc;QACV,OAAO;YACL,kCAAkC;YAClC;QACF;IACF;AACF","ignoreList":[0]}}, - {"offset": {"line": 5836, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/normalize-trailing-slash.ts"],"sourcesContent":["import { removeTrailingSlash } from '../shared/lib/router/utils/remove-trailing-slash'\nimport { parsePath } from '../shared/lib/router/utils/parse-path'\n\n/**\n * Normalizes the trailing slash of a path according to the `trailingSlash` option\n * in `next.config.js`.\n */\nexport const normalizePathTrailingSlash = (path: string) => {\n if (!path.startsWith('/') || process.env.__NEXT_MANUAL_TRAILING_SLASH) {\n return path\n }\n\n const { pathname, query, hash } = parsePath(path)\n if (process.env.__NEXT_TRAILING_SLASH) {\n if (/\\.[^/]+\\/?$/.test(pathname)) {\n return `${removeTrailingSlash(pathname)}${query}${hash}`\n } else if (pathname.endsWith('/')) {\n return `${pathname}${query}${hash}`\n } else {\n return `${pathname}/${query}${hash}`\n }\n }\n\n return `${removeTrailingSlash(pathname)}${query}${hash}`\n}\n"],"names":["normalizePathTrailingSlash","path","startsWith","process","env","__NEXT_MANUAL_TRAILING_SLASH","pathname","query","hash","parsePath","__NEXT_TRAILING_SLASH","test","removeTrailingSlash","endsWith"],"mappings":"AAQ+BG,QAAQC,GAAG,CAACC,4BAA4B;;;;;+BAD1DL,8BAAAA;;;eAAAA;;;qCAPuB;2BACV;AAMnB,MAAMA,6BAA6B,CAACC;IACzC,IAAI,CAACA,KAAKC,UAAU,CAAC,kDAAkD;QACrE,OAAOD;IACT;IAEA,MAAM,EAAEK,QAAQ,EAAEC,KAAK,EAAEC,IAAI,EAAE,GAAGC,CAAAA,GAAAA,WAAAA,SAAS,EAACR;IAC5C,IAAIE,QAAQC,GAAG,CAACM,qBAAqB,EAAE;;IAUvC,OAAO,GAAGE,CAAAA,GAAAA,qBAAAA,mBAAmB,EAACN,YAAYC,QAAQC,MAAM;AAC1D","ignoreList":[0]}}, - {"offset": {"line": 5869, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/add-base-path.ts"],"sourcesContent":["import { addPathPrefix } from '../shared/lib/router/utils/add-path-prefix'\nimport { normalizePathTrailingSlash } from './normalize-trailing-slash'\n\nconst basePath = (process.env.__NEXT_ROUTER_BASEPATH as string) || ''\n\nexport function addBasePath(path: string, required?: boolean): string {\n return normalizePathTrailingSlash(\n process.env.__NEXT_MANUAL_CLIENT_BASE_PATH && !required\n ? path\n : addPathPrefix(path, basePath)\n )\n}\n"],"names":["addBasePath","basePath","process","env","__NEXT_ROUTER_BASEPATH","path","required","normalizePathTrailingSlash","__NEXT_MANUAL_CLIENT_BASE_PATH","addPathPrefix"],"mappings":"AAGkBE,QAAQC,GAAG,CAACC,sBAAsB;;;;;+BAEpCJ,eAAAA;;;eAAAA;;;+BALc;wCACa;AAE3C,MAAMC,mDAA6D;AAE5D,SAASD,YAAYK,IAAY,EAAEC,QAAkB;IAC1D,OAAOC,CAAAA,GAAAA,wBAAAA,0BAA0B,EAC/BL,QAAQC,GAAG,CAACK,0BACRH,IADsC,IAAI,CAACC,iBAE3CG,CAAAA,GAAAA,eAAAA,aAAa,EAACJ,MAAMJ;AAE5B","ignoreList":[0]}}, - {"offset": {"line": 5897, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/app-router-utils.ts"],"sourcesContent":["import { isBot } from '../../shared/lib/router/utils/is-bot'\nimport { addBasePath } from '../add-base-path'\n\nexport function isExternalURL(url: URL) {\n return url.origin !== window.location.origin\n}\n\n/**\n * Given a link href, constructs the URL that should be prefetched. Returns null\n * in cases where prefetching should be disabled, like external URLs, or\n * during development.\n * @param href The href passed to <Link>, router.prefetch(), or similar\n * @returns A URL object to prefetch, or null if prefetching should be disabled\n */\nexport function createPrefetchURL(href: string): URL | null {\n // Don't prefetch for bots as they don't navigate.\n if (isBot(window.navigator.userAgent)) {\n return null\n }\n\n let url: URL\n try {\n url = new URL(addBasePath(href), window.location.href)\n } catch (_) {\n // TODO: Does this need to throw or can we just console.error instead? Does\n // anyone rely on this throwing? (Seems unlikely.)\n throw new Error(\n `Cannot prefetch '${href}' because it cannot be converted to a URL.`\n )\n }\n\n // Don't prefetch during development (improves compilation performance)\n if (process.env.NODE_ENV === 'development') {\n return null\n }\n\n // External urls can't be prefetched in the same way.\n if (isExternalURL(url)) {\n return null\n }\n\n return url\n}\n"],"names":["createPrefetchURL","isExternalURL","url","origin","window","location","href","isBot","navigator","userAgent","URL","addBasePath","_","Error","process","env","NODE_ENV"],"mappings":"AAgCMc,QAAQC,GAAG,CAACC,QAAQ,KAAK;;;;;;;;;;;;;;;;IAlBfhB,iBAAiB,EAAA;eAAjBA;;IAXAC,aAAa,EAAA;eAAbA;;;uBAHM;6BACM;AAErB,SAASA,cAAcC,GAAQ;IACpC,OAAOA,IAAIC,MAAM,KAAKC,OAAOC,QAAQ,CAACF,MAAM;AAC9C;AASO,SAASH,kBAAkBM,IAAY;IAC5C,kDAAkD;IAClD,IAAIC,CAAAA,GAAAA,OAAAA,KAAK,EAACH,OAAOI,SAAS,CAACC,SAAS,GAAG;QACrC,OAAO;IACT;IAEA,IAAIP;IACJ,IAAI;QACFA,MAAM,IAAIQ,IAAIC,CAAAA,GAAAA,aAAAA,WAAW,EAACL,OAAOF,OAAOC,QAAQ,CAACC,IAAI;IACvD,EAAE,OAAOM,GAAG;QACV,2EAA2E;QAC3E,kDAAkD;QAClD,MAAM,OAAA,cAEL,CAFK,IAAIC,MACR,CAAC,iBAAiB,EAAEP,KAAK,0CAA0C,CAAC,GADhE,qBAAA;mBAAA;wBAAA;0BAAA;QAEN;IACF;IAEA,uEAAuE;IACvE,wCAA4C;QAC1C,OAAO;IACT;;;AAQF","ignoreList":[0]}}, - {"offset": {"line": 5960, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/links.ts"],"sourcesContent":["import type { FlightRouterState } from '../../shared/lib/app-router-types'\nimport type { AppRouterInstance } from '../../shared/lib/app-router-context.shared-runtime'\nimport {\n FetchStrategy,\n type PrefetchTaskFetchStrategy,\n PrefetchPriority,\n} from './segment-cache/types'\nimport { createCacheKey } from './segment-cache/cache-key'\nimport {\n type PrefetchTask,\n schedulePrefetchTask as scheduleSegmentPrefetchTask,\n cancelPrefetchTask,\n reschedulePrefetchTask,\n isPrefetchTaskDirty,\n} from './segment-cache/scheduler'\nimport { startTransition } from 'react'\n\ntype LinkElement = HTMLAnchorElement | SVGAElement\n\ntype Element = LinkElement | HTMLFormElement\n\n// Properties that are shared between Link and Form instances. We use the same\n// shape for both to prevent a polymorphic de-opt in the VM.\ntype LinkOrFormInstanceShared = {\n router: AppRouterInstance\n fetchStrategy: PrefetchTaskFetchStrategy\n\n isVisible: boolean\n\n // The most recently initiated prefetch task. It may or may not have\n // already completed. The same prefetch task object can be reused across\n // multiple prefetches of the same link.\n prefetchTask: PrefetchTask | null\n}\n\nexport type FormInstance = LinkOrFormInstanceShared & {\n prefetchHref: string\n setOptimisticLinkStatus: null\n}\n\ntype PrefetchableLinkInstance = LinkOrFormInstanceShared & {\n prefetchHref: string\n setOptimisticLinkStatus: (status: { pending: boolean }) => void\n}\n\ntype NonPrefetchableLinkInstance = LinkOrFormInstanceShared & {\n prefetchHref: null\n setOptimisticLinkStatus: (status: { pending: boolean }) => void\n}\n\ntype PrefetchableInstance = PrefetchableLinkInstance | FormInstance\n\nexport type LinkInstance =\n | PrefetchableLinkInstance\n | NonPrefetchableLinkInstance\n\n// Tracks the most recently navigated link instance. When null, indicates\n// the current navigation was not initiated by a link click.\nlet linkForMostRecentNavigation: LinkInstance | null = null\n\n// Status object indicating link is pending\nexport const PENDING_LINK_STATUS = { pending: true }\n\n// Status object indicating link is idle\nexport const IDLE_LINK_STATUS = { pending: false }\n\n// Updates the loading state when navigating between links\n// - Resets the previous link's loading state\n// - Sets the new link's loading state\n// - Updates tracking of current navigation\nexport function setLinkForCurrentNavigation(link: LinkInstance | null) {\n startTransition(() => {\n linkForMostRecentNavigation?.setOptimisticLinkStatus(IDLE_LINK_STATUS)\n link?.setOptimisticLinkStatus(PENDING_LINK_STATUS)\n linkForMostRecentNavigation = link\n })\n}\n\n// Unmounts the current link instance from navigation tracking\nexport function unmountLinkForCurrentNavigation(link: LinkInstance) {\n if (linkForMostRecentNavigation === link) {\n linkForMostRecentNavigation = null\n }\n}\n\n// Use a WeakMap to associate a Link instance with its DOM element. This is\n// used by the IntersectionObserver to track the link's visibility.\nconst prefetchable:\n | WeakMap<Element, PrefetchableInstance>\n | Map<Element, PrefetchableInstance> =\n typeof WeakMap === 'function' ? new WeakMap() : new Map()\n\n// A Set of the currently visible links. We re-prefetch visible links after a\n// cache invalidation, or when the current URL changes. It's a separate data\n// structure from the WeakMap above because only the visible links need to\n// be enumerated.\nconst prefetchableAndVisible: Set<PrefetchableInstance> = new Set()\n\n// A single IntersectionObserver instance shared by all <Link> components.\nconst observer: IntersectionObserver | null =\n typeof IntersectionObserver === 'function'\n ? new IntersectionObserver(handleIntersect, {\n rootMargin: '200px',\n })\n : null\n\nfunction observeVisibility(element: Element, instance: PrefetchableInstance) {\n const existingInstance = prefetchable.get(element)\n if (existingInstance !== undefined) {\n // This shouldn't happen because each <Link> component should have its own\n // anchor tag instance, but it's defensive coding to avoid a memory leak in\n // case there's a logical error somewhere else.\n unmountPrefetchableInstance(element)\n }\n // Only track prefetchable links that have a valid prefetch URL\n prefetchable.set(element, instance)\n if (observer !== null) {\n observer.observe(element)\n }\n}\n\nfunction coercePrefetchableUrl(href: string): URL | null {\n if (typeof window !== 'undefined') {\n const { createPrefetchURL } =\n require('./app-router-utils') as typeof import('./app-router-utils')\n\n try {\n return createPrefetchURL(href)\n } catch {\n // createPrefetchURL sometimes throws an error if an invalid URL is\n // provided, though I'm not sure if it's actually necessary.\n // TODO: Consider removing the throw from the inner function, or change it\n // to reportError. Or maybe the error isn't even necessary for automatic\n // prefetches, just navigations.\n const reportErrorFn =\n typeof reportError === 'function' ? reportError : console.error\n reportErrorFn(\n `Cannot prefetch '${href}' because it cannot be converted to a URL.`\n )\n return null\n }\n } else {\n return null\n }\n}\n\nexport function mountLinkInstance(\n element: LinkElement,\n href: string,\n router: AppRouterInstance,\n fetchStrategy: PrefetchTaskFetchStrategy,\n prefetchEnabled: boolean,\n setOptimisticLinkStatus: (status: { pending: boolean }) => void\n): LinkInstance {\n if (prefetchEnabled) {\n const prefetchURL = coercePrefetchableUrl(href)\n if (prefetchURL !== null) {\n const instance: PrefetchableLinkInstance = {\n router,\n fetchStrategy,\n isVisible: false,\n prefetchTask: null,\n prefetchHref: prefetchURL.href,\n setOptimisticLinkStatus,\n }\n // We only observe the link's visibility if it's prefetchable. For\n // example, this excludes links to external URLs.\n observeVisibility(element, instance)\n return instance\n }\n }\n // If the link is not prefetchable, we still create an instance so we can\n // track its optimistic state (i.e. useLinkStatus).\n const instance: NonPrefetchableLinkInstance = {\n router,\n fetchStrategy,\n isVisible: false,\n prefetchTask: null,\n prefetchHref: null,\n setOptimisticLinkStatus,\n }\n return instance\n}\n\nexport function mountFormInstance(\n element: HTMLFormElement,\n href: string,\n router: AppRouterInstance,\n fetchStrategy: PrefetchTaskFetchStrategy\n): void {\n const prefetchURL = coercePrefetchableUrl(href)\n if (prefetchURL === null) {\n // This href is not prefetchable, so we don't track it.\n // TODO: We currently observe/unobserve a form every time its href changes.\n // For Links, this isn't a big deal because the href doesn't usually change,\n // but for forms it's extremely common. We should optimize this.\n return\n }\n const instance: FormInstance = {\n router,\n fetchStrategy,\n isVisible: false,\n prefetchTask: null,\n prefetchHref: prefetchURL.href,\n setOptimisticLinkStatus: null,\n }\n observeVisibility(element, instance)\n}\n\nexport function unmountPrefetchableInstance(element: Element) {\n const instance = prefetchable.get(element)\n if (instance !== undefined) {\n prefetchable.delete(element)\n prefetchableAndVisible.delete(instance)\n const prefetchTask = instance.prefetchTask\n if (prefetchTask !== null) {\n cancelPrefetchTask(prefetchTask)\n }\n }\n if (observer !== null) {\n observer.unobserve(element)\n }\n}\n\nfunction handleIntersect(entries: Array<IntersectionObserverEntry>) {\n for (const entry of entries) {\n // Some extremely old browsers or polyfills don't reliably support\n // isIntersecting so we check intersectionRatio instead. (Do we care? Not\n // really. But whatever this is fine.)\n const isVisible = entry.intersectionRatio > 0\n onLinkVisibilityChanged(entry.target as HTMLAnchorElement, isVisible)\n }\n}\n\nexport function onLinkVisibilityChanged(element: Element, isVisible: boolean) {\n if (process.env.NODE_ENV !== 'production') {\n // Prefetching on viewport is disabled in development for performance\n // reasons, because it requires compiling the target page.\n // TODO: Investigate re-enabling this.\n return\n }\n\n const instance = prefetchable.get(element)\n if (instance === undefined) {\n return\n }\n\n instance.isVisible = isVisible\n if (isVisible) {\n prefetchableAndVisible.add(instance)\n } else {\n prefetchableAndVisible.delete(instance)\n }\n rescheduleLinkPrefetch(instance, PrefetchPriority.Default)\n}\n\nexport function onNavigationIntent(\n element: HTMLAnchorElement | SVGAElement,\n unstable_upgradeToDynamicPrefetch: boolean\n) {\n const instance = prefetchable.get(element)\n if (instance === undefined) {\n return\n }\n // Prefetch the link on hover/touchstart.\n if (instance !== undefined) {\n if (\n process.env.__NEXT_DYNAMIC_ON_HOVER &&\n unstable_upgradeToDynamicPrefetch\n ) {\n // Switch to a full prefetch\n instance.fetchStrategy = FetchStrategy.Full\n }\n rescheduleLinkPrefetch(instance, PrefetchPriority.Intent)\n }\n}\n\nfunction rescheduleLinkPrefetch(\n instance: PrefetchableInstance,\n priority: PrefetchPriority.Default | PrefetchPriority.Intent\n) {\n // Ensures that app-router-instance is not compiled in the server bundle\n if (typeof window !== 'undefined') {\n const existingPrefetchTask = instance.prefetchTask\n\n if (!instance.isVisible) {\n // Cancel any in-progress prefetch task. (If it already finished then this\n // is a no-op.)\n if (existingPrefetchTask !== null) {\n cancelPrefetchTask(existingPrefetchTask)\n }\n // We don't need to reset the prefetchTask to null upon cancellation; an\n // old task object can be rescheduled with reschedulePrefetchTask. This is a\n // micro-optimization but also makes the code simpler (don't need to\n // worry about whether an old task object is stale).\n return\n }\n\n const { getCurrentAppRouterState } =\n require('./app-router-instance') as typeof import('./app-router-instance')\n\n const appRouterState = getCurrentAppRouterState()\n if (appRouterState !== null) {\n const treeAtTimeOfPrefetch = appRouterState.tree\n if (existingPrefetchTask === null) {\n // Initiate a prefetch task.\n const nextUrl = appRouterState.nextUrl\n const cacheKey = createCacheKey(instance.prefetchHref, nextUrl)\n instance.prefetchTask = scheduleSegmentPrefetchTask(\n cacheKey,\n treeAtTimeOfPrefetch,\n instance.fetchStrategy,\n priority,\n null\n )\n } else {\n // We already have an old task object that we can reschedule. This is\n // effectively the same as canceling the old task and creating a new one.\n reschedulePrefetchTask(\n existingPrefetchTask,\n treeAtTimeOfPrefetch,\n instance.fetchStrategy,\n priority\n )\n }\n }\n }\n}\n\nexport function pingVisibleLinks(\n nextUrl: string | null,\n tree: FlightRouterState\n) {\n // For each currently visible link, cancel the existing prefetch task (if it\n // exists) and schedule a new one. This is effectively the same as if all the\n // visible links left and then re-entered the viewport.\n //\n // This is called when the Next-Url or the base tree changes, since those\n // may affect the result of a prefetch task. It's also called after a\n // cache invalidation.\n for (const instance of prefetchableAndVisible) {\n const task = instance.prefetchTask\n if (task !== null && !isPrefetchTaskDirty(task, nextUrl, tree)) {\n // The cache has not been invalidated, and none of the inputs have\n // changed. Bail out.\n continue\n }\n // Something changed. Cancel the existing prefetch task and schedule a\n // new one.\n if (task !== null) {\n cancelPrefetchTask(task)\n }\n const cacheKey = createCacheKey(instance.prefetchHref, nextUrl)\n instance.prefetchTask = scheduleSegmentPrefetchTask(\n cacheKey,\n tree,\n instance.fetchStrategy,\n PrefetchPriority.Default,\n null\n )\n }\n}\n"],"names":["IDLE_LINK_STATUS","PENDING_LINK_STATUS","mountFormInstance","mountLinkInstance","onLinkVisibilityChanged","onNavigationIntent","pingVisibleLinks","setLinkForCurrentNavigation","unmountLinkForCurrentNavigation","unmountPrefetchableInstance","linkForMostRecentNavigation","pending","link","startTransition","setOptimisticLinkStatus","prefetchable","WeakMap","Map","prefetchableAndVisible","Set","observer","IntersectionObserver","handleIntersect","rootMargin","observeVisibility","element","instance","existingInstance","get","undefined","set","observe","coercePrefetchableUrl","href","window","createPrefetchURL","require","reportErrorFn","reportError","console","error","router","fetchStrategy","prefetchEnabled","prefetchURL","isVisible","prefetchTask","prefetchHref","delete","cancelPrefetchTask","unobserve","entries","entry","intersectionRatio","target","process","env","NODE_ENV","add","rescheduleLinkPrefetch","PrefetchPriority","Default","unstable_upgradeToDynamicPrefetch","__NEXT_DYNAMIC_ON_HOVER","FetchStrategy","Full","Intent","priority","existingPrefetchTask","getCurrentAppRouterState","appRouterState","treeAtTimeOfPrefetch","tree","nextUrl","cacheKey","createCacheKey","scheduleSegmentPrefetchTask","reschedulePrefetchTask","task","isPrefetchTaskDirty"],"mappings":"AA2OMuD,QAAQC,GAAG,CAACC,QAAQ,KAAK;;;;;;;;;;;;;;;;;;;;;;;;IA3KlBzD,gBAAgB,EAAA;eAAhBA;;IAHAC,mBAAmB,EAAA;eAAnBA;;IA2HGC,iBAAiB,EAAA;eAAjBA;;IAtCAC,iBAAiB,EAAA;eAAjBA;;IAwFAC,uBAAuB,EAAA;eAAvBA;;IAsBAC,kBAAkB,EAAA;eAAlBA;;IAyEAC,gBAAgB,EAAA;eAAhBA;;IAnQAC,2BAA2B,EAAA;eAA3BA;;IASAC,+BAA+B,EAAA;eAA/BA;;IAkIAC,2BAA2B,EAAA;eAA3BA;;;uBA3MT;0BACwB;2BAOxB;uBACyB;AAyChC,yEAAyE;AACzE,4DAA4D;AAC5D,IAAIC,8BAAmD;AAGhD,MAAMT,sBAAsB;IAAEU,SAAS;AAAK;AAG5C,MAAMX,mBAAmB;IAAEW,SAAS;AAAM;AAM1C,SAASJ,4BAA4BK,IAAyB;IACnEC,CAAAA,GAAAA,OAAAA,eAAe,EAAC;QACdH,6BAA6BI,wBAAwBd;QACrDY,MAAME,wBAAwBb;QAC9BS,8BAA8BE;IAChC;AACF;AAGO,SAASJ,gCAAgCI,IAAkB;IAChE,IAAIF,gCAAgCE,MAAM;QACxCF,8BAA8B;IAChC;AACF;AAEA,2EAA2E;AAC3E,mEAAmE;AACnE,MAAMK,eAGJ,OAAOC,YAAY,aAAa,IAAIA,YAAY,IAAIC;AAEtD,6EAA6E;AAC7E,4EAA4E;AAC5E,0EAA0E;AAC1E,iBAAiB;AACjB,MAAMC,yBAAoD,IAAIC;AAE9D,0EAA0E;AAC1E,MAAMC,WACJ,OAAOC,yBAAyB,aAC5B,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SAASoB,YAAY;QAClC,IAAIgC,SAAS,QAAQ,CAACC,CAAAA,GAAAA,WAAAA,mBAAmB,EAACD,MAAML,SAASD,OAAO;YAG9D;QACF;QACA,sEAAsE;QACtE,WAAW;QACX,IAAIM,SAAS,MAAM;YACjB7B,CAAAA,GAAAA,WAAAA,kBAAkB,EAAC6B;QACrB;QACA,MAAMJ,WAAWC,CAAAA,GAAAA,UAAAA,cAAc,EAACjD,SAASqB,YAAY,EAAE0B;QACvD/C,SAASoB,YAAY,GAAG8B,CAAAA,GAAAA,WAAAA,oBAA2B,EACjDF,UACAF,MACA9C,SAASgB,aAAa,EACtBkB,OAAAA,gBAAgB,CAACC,OAAO,EACxB;IAEJ;AACF","ignoreList":[0]}}, - {"offset": {"line": 6246, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/segment-cache/cache.ts"],"sourcesContent":["import type {\n TreePrefetch,\n RootTreePrefetch,\n SegmentPrefetch,\n} from '../../../server/app-render/collect-segment-data'\nimport type { LoadingModuleData } from '../../../shared/lib/app-router-types'\nimport type {\n CacheNodeSeedData,\n Segment as FlightRouterStateSegment,\n} from '../../../shared/lib/app-router-types'\nimport { HasLoadingBoundary } from '../../../shared/lib/app-router-types'\nimport {\n NEXT_DID_POSTPONE_HEADER,\n NEXT_ROUTER_PREFETCH_HEADER,\n NEXT_ROUTER_SEGMENT_PREFETCH_HEADER,\n NEXT_ROUTER_STALE_TIME_HEADER,\n NEXT_ROUTER_STATE_TREE_HEADER,\n NEXT_URL,\n RSC_CONTENT_TYPE_HEADER,\n RSC_HEADER,\n} from '../app-router-headers'\nimport {\n createFetch,\n createFromNextReadableStream,\n type RSCResponse,\n type RequestHeaders,\n} from '../router-reducer/fetch-server-response'\nimport {\n pingPrefetchTask,\n isPrefetchTaskDirty,\n type PrefetchTask,\n type PrefetchSubtaskResult,\n startRevalidationCooldown,\n} from './scheduler'\nimport {\n type RouteVaryPath,\n type SegmentVaryPath,\n type PartialSegmentVaryPath,\n getRouteVaryPath,\n getFulfilledRouteVaryPath,\n getSegmentVaryPathForRequest,\n appendLayoutVaryPath,\n finalizeLayoutVaryPath,\n finalizePageVaryPath,\n clonePageVaryPathWithNewSearchParams,\n type PageVaryPath,\n finalizeMetadataVaryPath,\n} from './vary-path'\nimport { getAppBuildId } from '../../app-build-id'\nimport { createHrefFromUrl } from '../router-reducer/create-href-from-url'\nimport type { NormalizedSearch, RouteCacheKey } from './cache-key'\n// TODO: Rename this module to avoid confusion with other types of cache keys\nimport { createCacheKey as createPrefetchRequestKey } from './cache-key'\nimport {\n doesStaticSegmentAppearInURL,\n getCacheKeyForDynamicParam,\n getRenderedPathname,\n getRenderedSearch,\n parseDynamicParamFromURLPart,\n} from '../../route-params'\nimport {\n createCacheMap,\n getFromCacheMap,\n setInCacheMap,\n setSizeInCacheMap,\n deleteFromCacheMap,\n isValueExpired,\n type CacheMap,\n type UnknownMapEntry,\n} from './cache-map'\nimport {\n appendSegmentRequestKeyPart,\n convertSegmentPathToStaticExportFilename,\n createSegmentRequestKeyPart,\n HEAD_REQUEST_KEY,\n ROOT_SEGMENT_REQUEST_KEY,\n type SegmentRequestKey,\n} from '../../../shared/lib/segment-cache/segment-value-encoding'\nimport type {\n FlightRouterState,\n NavigationFlightResponse,\n} from '../../../shared/lib/app-router-types'\nimport {\n normalizeFlightData,\n prepareFlightRouterStateForRequest,\n} from '../../flight-data-helpers'\nimport { STATIC_STALETIME_MS } from '../router-reducer/reducers/navigate-reducer'\nimport { pingVisibleLinks } from '../links'\nimport { PAGE_SEGMENT_KEY } from '../../../shared/lib/segment'\nimport { FetchStrategy } from './types'\nimport { createPromiseWithResolvers } from '../../../shared/lib/promise-with-resolvers'\n\n/**\n * Ensures a minimum stale time of 30s to avoid issues where the server sends a too\n * short-lived stale time, which would prevent anything from being prefetched.\n */\nexport function getStaleTimeMs(staleTimeSeconds: number): number {\n return Math.max(staleTimeSeconds, 30) * 1000\n}\n\n// A note on async/await when working in the prefetch cache:\n//\n// Most async operations in the prefetch cache should *not* use async/await,\n// Instead, spawn a subtask that writes the results to a cache entry, and attach\n// a \"ping\" listener to notify the prefetch queue to try again.\n//\n// The reason is we need to be able to access the segment cache and traverse its\n// data structures synchronously. For example, if there's a synchronous update\n// we can take an immediate snapshot of the cache to produce something we can\n// render. Limiting the use of async/await also makes it easier to avoid race\n// conditions, which is especially important because is cache is mutable.\n//\n// Another reason is that while we're performing async work, it's possible for\n// existing entries to become stale, or for Link prefetches to be removed from\n// the queue. For optimal scheduling, we need to be able to \"cancel\" subtasks\n// that are no longer needed. So, when a segment is received from the server, we\n// restart from the root of the tree that's being prefetched, to confirm all the\n// parent segments are still cached. If the segment is no longer reachable from\n// the root, then it's effectively canceled. This is similar to the design of\n// Rust Futures, or React Suspense.\n\ntype RouteTreeShared = {\n requestKey: SegmentRequestKey\n // TODO: Remove the `segment` field, now that it can be reconstructed\n // from `param`.\n segment: FlightRouterStateSegment\n slots: null | {\n [parallelRouteKey: string]: RouteTree\n }\n isRootLayout: boolean\n\n // If this is a dynamic route, indicates whether there is a loading boundary\n // somewhere in the tree. If not, we can skip the prefetch for the data,\n // because we know it would be an empty response. (For a static/PPR route,\n // this value is disregarded, because in that model `loading.tsx` is treated\n // like any other Suspense boundary.)\n hasLoadingBoundary: HasLoadingBoundary\n\n // Indicates whether this route has a runtime prefetch that we can request.\n // This is determined by the server; it's not purely a user configuration\n // because the server may determine that a route is fully static and doesn't\n // need runtime prefetching regardless of the configuration.\n hasRuntimePrefetch: boolean\n}\n\ntype LayoutRouteTree = RouteTreeShared & {\n isPage: false\n varyPath: SegmentVaryPath\n}\n\ntype PageRouteTree = RouteTreeShared & {\n isPage: true\n varyPath: PageVaryPath\n}\n\nexport type RouteTree = LayoutRouteTree | PageRouteTree\n\ntype RouteCacheEntryShared = {\n // This is false only if we're certain the route cannot be intercepted. It's\n // true in all other cases, including on initialization when we haven't yet\n // received a response from the server.\n couldBeIntercepted: boolean\n\n // Map-related fields.\n ref: UnknownMapEntry | null\n size: number\n staleAt: number\n version: number\n}\n\n/**\n * Tracks the status of a cache entry as it progresses from no data (Empty),\n * waiting for server data (Pending), and finished (either Fulfilled or\n * Rejected depending on the response from the server.\n */\nexport const enum EntryStatus {\n Empty = 0,\n Pending = 1,\n Fulfilled = 2,\n Rejected = 3,\n}\n\ntype PendingRouteCacheEntry = RouteCacheEntryShared & {\n status: EntryStatus.Empty | EntryStatus.Pending\n blockedTasks: Set<PrefetchTask> | null\n canonicalUrl: null\n renderedSearch: null\n tree: null\n metadata: null\n isPPREnabled: false\n}\n\ntype RejectedRouteCacheEntry = RouteCacheEntryShared & {\n status: EntryStatus.Rejected\n blockedTasks: Set<PrefetchTask> | null\n canonicalUrl: null\n renderedSearch: null\n tree: null\n metadata: null\n isPPREnabled: boolean\n}\n\nexport type FulfilledRouteCacheEntry = RouteCacheEntryShared & {\n status: EntryStatus.Fulfilled\n blockedTasks: null\n canonicalUrl: string\n renderedSearch: NormalizedSearch\n tree: RouteTree\n metadata: RouteTree\n isPPREnabled: boolean\n}\n\nexport type RouteCacheEntry =\n | PendingRouteCacheEntry\n | FulfilledRouteCacheEntry\n | RejectedRouteCacheEntry\n\ntype SegmentCacheEntryShared = {\n fetchStrategy: FetchStrategy\n\n // Map-related fields.\n ref: UnknownMapEntry | null\n size: number\n staleAt: number\n version: number\n}\n\nexport type EmptySegmentCacheEntry = SegmentCacheEntryShared & {\n status: EntryStatus.Empty\n rsc: null\n loading: null\n isPartial: true\n promise: null\n}\n\nexport type PendingSegmentCacheEntry = SegmentCacheEntryShared & {\n status: EntryStatus.Pending\n rsc: null\n loading: null\n isPartial: boolean\n promise: null | PromiseWithResolvers<FulfilledSegmentCacheEntry | null>\n}\n\ntype RejectedSegmentCacheEntry = SegmentCacheEntryShared & {\n status: EntryStatus.Rejected\n rsc: null\n loading: null\n isPartial: true\n promise: null\n}\n\nexport type FulfilledSegmentCacheEntry = SegmentCacheEntryShared & {\n status: EntryStatus.Fulfilled\n rsc: React.ReactNode | null\n loading: LoadingModuleData | Promise<LoadingModuleData>\n isPartial: boolean\n promise: null\n}\n\nexport type SegmentCacheEntry =\n | EmptySegmentCacheEntry\n | PendingSegmentCacheEntry\n | RejectedSegmentCacheEntry\n | FulfilledSegmentCacheEntry\n\nexport type NonEmptySegmentCacheEntry = Exclude<\n SegmentCacheEntry,\n EmptySegmentCacheEntry\n>\n\nconst isOutputExportMode =\n process.env.NODE_ENV === 'production' &&\n process.env.__NEXT_CONFIG_OUTPUT === 'export'\n\nconst MetadataOnlyRequestTree: FlightRouterState = [\n '',\n {},\n null,\n 'metadata-only',\n]\n\nlet routeCacheMap: CacheMap<RouteCacheEntry> = createCacheMap()\nlet segmentCacheMap: CacheMap<SegmentCacheEntry> = createCacheMap()\n\n// All invalidation listeners for the whole cache are tracked in single set.\n// Since we don't yet support tag or path-based invalidation, there's no point\n// tracking them any more granularly than this. Once we add granular\n// invalidation, that may change, though generally the model is to just notify\n// the listeners and allow the caller to poll the prefetch cache with a new\n// prefetch task if desired.\nlet invalidationListeners: Set<PrefetchTask> | null = null\n\n// Incrementing counter used to track cache invalidations.\nlet currentCacheVersion = 0\n\nexport function getCurrentCacheVersion(): number {\n return currentCacheVersion\n}\n\n/**\n * Used to clear the client prefetch cache when a server action calls\n * revalidatePath or revalidateTag. Eventually we will support only clearing the\n * segments that were actually affected, but there's more work to be done on the\n * server before the client is able to do this correctly.\n */\nexport function revalidateEntireCache(\n nextUrl: string | null,\n tree: FlightRouterState\n) {\n // Increment the current cache version. This does not eagerly evict anything\n // from the cache, but because all the entries are versioned, and we check\n // the version when reading from the cache, this effectively causes all\n // entries to be evicted lazily. We do it lazily because in the future,\n // actions like revalidateTag or refresh will not evict the entire cache,\n // but rather some subset of the entries.\n currentCacheVersion++\n\n // Start a cooldown before re-prefetching to allow CDN cache propagation.\n startRevalidationCooldown()\n\n // Prefetch all the currently visible links again, to re-fill the cache.\n pingVisibleLinks(nextUrl, tree)\n\n // Similarly, notify all invalidation listeners (i.e. those passed to\n // `router.prefetch(onInvalidate)`), so they can trigger a new prefetch\n // if needed.\n pingInvalidationListeners(nextUrl, tree)\n}\n\nfunction attachInvalidationListener(task: PrefetchTask): void {\n // This function is called whenever a prefetch task reads a cache entry. If\n // the task has an onInvalidate function associated with it — i.e. the one\n // optionally passed to router.prefetch(onInvalidate) — then we attach that\n // listener to the every cache entry that the task reads. Then, if an entry\n // is invalidated, we call the function.\n if (task.onInvalidate !== null) {\n if (invalidationListeners === null) {\n invalidationListeners = new Set([task])\n } else {\n invalidationListeners.add(task)\n }\n }\n}\n\nfunction notifyInvalidationListener(task: PrefetchTask): void {\n const onInvalidate = task.onInvalidate\n if (onInvalidate !== null) {\n // Clear the callback from the task object to guarantee it's not called more\n // than once.\n task.onInvalidate = null\n\n // This is a user-space function, so we must wrap in try/catch.\n try {\n onInvalidate()\n } catch (error) {\n if (typeof reportError === 'function') {\n reportError(error)\n } else {\n console.error(error)\n }\n }\n }\n}\n\nexport function pingInvalidationListeners(\n nextUrl: string | null,\n tree: FlightRouterState\n): void {\n // The rough equivalent of pingVisibleLinks, but for onInvalidate callbacks.\n // This is called when the Next-Url or the base tree changes, since those\n // may affect the result of a prefetch task. It's also called after a\n // cache invalidation.\n if (invalidationListeners !== null) {\n const tasks = invalidationListeners\n invalidationListeners = null\n for (const task of tasks) {\n if (isPrefetchTaskDirty(task, nextUrl, tree)) {\n notifyInvalidationListener(task)\n }\n }\n }\n}\n\nexport function readRouteCacheEntry(\n now: number,\n key: RouteCacheKey\n): RouteCacheEntry | null {\n const varyPath: RouteVaryPath = getRouteVaryPath(\n key.pathname,\n key.search,\n key.nextUrl\n )\n const isRevalidation = false\n return getFromCacheMap(\n now,\n getCurrentCacheVersion(),\n routeCacheMap,\n varyPath,\n isRevalidation\n )\n}\n\nexport function readSegmentCacheEntry(\n now: number,\n varyPath: SegmentVaryPath\n): SegmentCacheEntry | null {\n const isRevalidation = false\n return getFromCacheMap(\n now,\n getCurrentCacheVersion(),\n segmentCacheMap,\n varyPath,\n isRevalidation\n )\n}\n\nfunction readRevalidatingSegmentCacheEntry(\n now: number,\n varyPath: SegmentVaryPath\n): SegmentCacheEntry | null {\n const isRevalidation = true\n return getFromCacheMap(\n now,\n getCurrentCacheVersion(),\n segmentCacheMap,\n varyPath,\n isRevalidation\n )\n}\n\nexport function waitForSegmentCacheEntry(\n pendingEntry: PendingSegmentCacheEntry\n): Promise<FulfilledSegmentCacheEntry | null> {\n // Because the entry is pending, there's already a in-progress request.\n // Attach a promise to the entry that will resolve when the server responds.\n let promiseWithResolvers = pendingEntry.promise\n if (promiseWithResolvers === null) {\n promiseWithResolvers = pendingEntry.promise =\n createPromiseWithResolvers<FulfilledSegmentCacheEntry | null>()\n } else {\n // There's already a promise we can use\n }\n return promiseWithResolvers.promise\n}\n\n/**\n * Checks if an entry for a route exists in the cache. If so, it returns the\n * entry, If not, it adds an empty entry to the cache and returns it.\n */\nexport function readOrCreateRouteCacheEntry(\n now: number,\n task: PrefetchTask,\n key: RouteCacheKey\n): RouteCacheEntry {\n attachInvalidationListener(task)\n\n const existingEntry = readRouteCacheEntry(now, key)\n if (existingEntry !== null) {\n return existingEntry\n }\n // Create a pending entry and add it to the cache.\n const pendingEntry: PendingRouteCacheEntry = {\n canonicalUrl: null,\n status: EntryStatus.Empty,\n blockedTasks: null,\n tree: null,\n metadata: null,\n // This is initialized to true because we don't know yet whether the route\n // could be intercepted. It's only set to false once we receive a response\n // from the server.\n couldBeIntercepted: true,\n // Similarly, we don't yet know if the route supports PPR.\n isPPREnabled: false,\n renderedSearch: null,\n\n // Map-related fields\n ref: null,\n size: 0,\n // Since this is an empty entry, there's no reason to ever evict it. It will\n // be updated when the data is populated.\n staleAt: Infinity,\n version: getCurrentCacheVersion(),\n }\n const varyPath: RouteVaryPath = getRouteVaryPath(\n key.pathname,\n key.search,\n key.nextUrl\n )\n const isRevalidation = false\n setInCacheMap(routeCacheMap, varyPath, pendingEntry, isRevalidation)\n return pendingEntry\n}\n\nexport function requestOptimisticRouteCacheEntry(\n now: number,\n requestedUrl: URL,\n nextUrl: string | null\n): FulfilledRouteCacheEntry | null {\n // This function is called during a navigation when there was no matching\n // route tree in the prefetch cache. Before de-opting to a blocking,\n // unprefetched navigation, we will first attempt to construct an \"optimistic\"\n // route tree by checking the cache for similar routes.\n //\n // Check if there's a route with the same pathname, but with different\n // search params. We can then base our optimistic route tree on this entry.\n //\n // Conceptually, we are simulating what would happen if we did perform a\n // prefetch the requested URL, under the assumption that the server will\n // not redirect or rewrite the request in a different manner than the\n // base route tree. This assumption might not hold, in which case we'll have\n // to recover when we perform the dynamic navigation request. However, this\n // is what would happen if a route were dynamically rewritten/redirected\n // in between the prefetch and the navigation. So the logic needs to exist\n // to handle this case regardless.\n\n // Look for a route with the same pathname, but with an empty search string.\n // TODO: There's nothing inherently special about the empty search string;\n // it's chosen somewhat arbitrarily, with the rationale that it's the most\n // likely one to exist. But we should update this to match _any_ search\n // string. The plan is to generalize this logic alongside other improvements\n // related to \"fallback\" cache entries.\n const requestedSearch = requestedUrl.search as NormalizedSearch\n if (requestedSearch === '') {\n // The caller would have already checked if a route with an empty search\n // string is in the cache. So we can bail out here.\n return null\n }\n const urlWithoutSearchParams = new URL(requestedUrl)\n urlWithoutSearchParams.search = ''\n const routeWithNoSearchParams = readRouteCacheEntry(\n now,\n createPrefetchRequestKey(urlWithoutSearchParams.href, nextUrl)\n )\n\n if (\n routeWithNoSearchParams === null ||\n routeWithNoSearchParams.status !== EntryStatus.Fulfilled\n ) {\n // Bail out of constructing an optimistic route tree. This will result in\n // a blocking, unprefetched navigation.\n return null\n }\n\n // Now we have a base route tree we can \"patch\" with our optimistic values.\n\n // Optimistically assume that redirects for the requested pathname do\n // not vary on the search string. Therefore, if the base route was\n // redirected to a different search string, then the optimistic route\n // should be redirected to the same search string. Otherwise, we use\n // the requested search string.\n const canonicalUrlForRouteWithNoSearchParams = new URL(\n routeWithNoSearchParams.canonicalUrl,\n requestedUrl.origin\n )\n const optimisticCanonicalSearch =\n canonicalUrlForRouteWithNoSearchParams.search !== ''\n ? // Base route was redirected. Reuse the same redirected search string.\n canonicalUrlForRouteWithNoSearchParams.search\n : requestedSearch\n\n // Similarly, optimistically assume that rewrites for the requested\n // pathname do not vary on the search string. Therefore, if the base\n // route was rewritten to a different search string, then the optimistic\n // route should be rewritten to the same search string. Otherwise, we use\n // the requested search string.\n const optimisticRenderedSearch =\n routeWithNoSearchParams.renderedSearch !== ''\n ? // Base route was rewritten. Reuse the same rewritten search string.\n routeWithNoSearchParams.renderedSearch\n : requestedSearch\n\n const optimisticUrl = new URL(\n routeWithNoSearchParams.canonicalUrl,\n location.origin\n )\n optimisticUrl.search = optimisticCanonicalSearch\n const optimisticCanonicalUrl = createHrefFromUrl(optimisticUrl)\n\n const optimisticRouteTree = createOptimisticRouteTree(\n routeWithNoSearchParams.tree,\n optimisticRenderedSearch\n )\n const optimisticMetadataTree = createOptimisticRouteTree(\n routeWithNoSearchParams.metadata,\n optimisticRenderedSearch\n )\n\n // Clone the base route tree, and override the relevant fields with our\n // optimistic values.\n const optimisticEntry: FulfilledRouteCacheEntry = {\n canonicalUrl: optimisticCanonicalUrl,\n\n status: EntryStatus.Fulfilled,\n // This isn't cloned because it's instance-specific\n blockedTasks: null,\n tree: optimisticRouteTree,\n metadata: optimisticMetadataTree,\n couldBeIntercepted: routeWithNoSearchParams.couldBeIntercepted,\n isPPREnabled: routeWithNoSearchParams.isPPREnabled,\n\n // Override the rendered search with the optimistic value.\n renderedSearch: optimisticRenderedSearch,\n\n // Map-related fields\n ref: null,\n size: 0,\n staleAt: routeWithNoSearchParams.staleAt,\n version: routeWithNoSearchParams.version,\n }\n\n // Do not insert this entry into the cache. It only exists so we can\n // perform the current navigation. Just return it to the caller.\n return optimisticEntry\n}\n\nfunction createOptimisticRouteTree(\n tree: RouteTree,\n newRenderedSearch: NormalizedSearch\n): RouteTree {\n // Create a new route tree that identical to the original one except for\n // the rendered search string, which is contained in the vary path.\n\n let clonedSlots: Record<string, RouteTree> | null = null\n const originalSlots = tree.slots\n if (originalSlots !== null) {\n clonedSlots = {}\n for (const parallelRouteKey in originalSlots) {\n const childTree = originalSlots[parallelRouteKey]\n clonedSlots[parallelRouteKey] = createOptimisticRouteTree(\n childTree,\n newRenderedSearch\n )\n }\n }\n\n // We only need to clone the vary path if the route is a page.\n if (tree.isPage) {\n return {\n requestKey: tree.requestKey,\n segment: tree.segment,\n varyPath: clonePageVaryPathWithNewSearchParams(\n tree.varyPath,\n newRenderedSearch\n ),\n isPage: true,\n slots: clonedSlots,\n isRootLayout: tree.isRootLayout,\n hasLoadingBoundary: tree.hasLoadingBoundary,\n hasRuntimePrefetch: tree.hasRuntimePrefetch,\n }\n }\n\n return {\n requestKey: tree.requestKey,\n segment: tree.segment,\n varyPath: tree.varyPath,\n isPage: false,\n slots: clonedSlots,\n isRootLayout: tree.isRootLayout,\n hasLoadingBoundary: tree.hasLoadingBoundary,\n hasRuntimePrefetch: tree.hasRuntimePrefetch,\n }\n}\n\n/**\n * Checks if an entry for a segment exists in the cache. If so, it returns the\n * entry, If not, it adds an empty entry to the cache and returns it.\n */\nexport function readOrCreateSegmentCacheEntry(\n now: number,\n fetchStrategy: FetchStrategy,\n route: FulfilledRouteCacheEntry,\n tree: RouteTree\n): SegmentCacheEntry {\n const existingEntry = readSegmentCacheEntry(now, tree.varyPath)\n if (existingEntry !== null) {\n return existingEntry\n }\n // Create a pending entry and add it to the cache.\n const varyPathForRequest = getSegmentVaryPathForRequest(fetchStrategy, tree)\n const pendingEntry = createDetachedSegmentCacheEntry(route.staleAt)\n const isRevalidation = false\n setInCacheMap(\n segmentCacheMap,\n varyPathForRequest,\n pendingEntry,\n isRevalidation\n )\n return pendingEntry\n}\n\nexport function readOrCreateRevalidatingSegmentEntry(\n now: number,\n fetchStrategy: FetchStrategy,\n route: FulfilledRouteCacheEntry,\n tree: RouteTree\n): SegmentCacheEntry {\n // This function is called when we've already confirmed that a particular\n // segment is cached, but we want to perform another request anyway in case it\n // returns more complete and/or fresher data than we already have. The logic\n // for deciding whether to replace the existing entry is handled elsewhere;\n // this function just handles retrieving a cache entry that we can use to\n // track the revalidation.\n //\n // The reason revalidations are stored in the cache is because we need to be\n // able to dedupe multiple revalidation requests. The reason they have to be\n // handled specially is because we shouldn't overwrite a \"normal\" entry if\n // one exists at the same keypath. So, for each internal cache location, there\n // is a special \"revalidation\" slot that is used solely for this purpose.\n //\n // You can think of it as if all the revalidation entries were stored in a\n // separate cache map from the canonical entries, and then transfered to the\n // canonical cache map once the request is complete — this isn't how it's\n // actually implemented, since it's more efficient to store them in the same\n // data structure as the normal entries, but that's how it's modeled\n // conceptually.\n\n // TODO: Once we implement Fallback behavior for params, where an entry is\n // re-keyed based on response information, we'll need to account for the\n // possibility that the keypath of the previous entry is more generic than\n // the keypath of the revalidating entry. In other words, the server could\n // return a less generic entry upon revalidation. For now, though, this isn't\n // a concern because the keypath is based solely on the prefetch strategy,\n // not on data contained in the response.\n const existingEntry = readRevalidatingSegmentCacheEntry(now, tree.varyPath)\n if (existingEntry !== null) {\n return existingEntry\n }\n // Create a pending entry and add it to the cache.\n const varyPathForRequest = getSegmentVaryPathForRequest(fetchStrategy, tree)\n const pendingEntry = createDetachedSegmentCacheEntry(route.staleAt)\n const isRevalidation = true\n setInCacheMap(\n segmentCacheMap,\n varyPathForRequest,\n pendingEntry,\n isRevalidation\n )\n return pendingEntry\n}\n\nexport function overwriteRevalidatingSegmentCacheEntry(\n fetchStrategy: FetchStrategy,\n route: FulfilledRouteCacheEntry,\n tree: RouteTree\n) {\n // This function is called when we've already decided to replace an existing\n // revalidation entry. Create a new entry and write it into the cache,\n // overwriting the previous value.\n const varyPathForRequest = getSegmentVaryPathForRequest(fetchStrategy, tree)\n const pendingEntry = createDetachedSegmentCacheEntry(route.staleAt)\n const isRevalidation = true\n setInCacheMap(\n segmentCacheMap,\n varyPathForRequest,\n pendingEntry,\n isRevalidation\n )\n return pendingEntry\n}\n\nexport function upsertSegmentEntry(\n now: number,\n varyPath: SegmentVaryPath,\n candidateEntry: SegmentCacheEntry\n): SegmentCacheEntry | null {\n // We have a new entry that has not yet been inserted into the cache. Before\n // we do so, we need to confirm whether it takes precedence over the existing\n // entry (if one exists).\n // TODO: We should not upsert an entry if its key was invalidated in the time\n // since the request was made. We can do that by passing the \"owner\" entry to\n // this function and confirming it's the same as `existingEntry`.\n\n if (isValueExpired(now, getCurrentCacheVersion(), candidateEntry)) {\n // The entry is expired. We cannot upsert it.\n return null\n }\n\n const existingEntry = readSegmentCacheEntry(now, varyPath)\n if (existingEntry !== null) {\n // Don't replace a more specific segment with a less-specific one. A case where this\n // might happen is if the existing segment was fetched via\n // `<Link prefetch={true}>`.\n if (\n // We fetched the new segment using a different, less specific fetch strategy\n // than the segment we already have in the cache, so it can't have more content.\n (candidateEntry.fetchStrategy !== existingEntry.fetchStrategy &&\n !canNewFetchStrategyProvideMoreContent(\n existingEntry.fetchStrategy,\n candidateEntry.fetchStrategy\n )) ||\n // The existing entry isn't partial, but the new one is.\n // (TODO: can this be true if `candidateEntry.fetchStrategy >= existingEntry.fetchStrategy`?)\n (!existingEntry.isPartial && candidateEntry.isPartial)\n ) {\n // We're going to leave revalidating entry in the cache so that it doesn't\n // get revalidated again unnecessarily. Downgrade the Fulfilled entry to\n // Rejected and null out the data so it can be garbage collected. We leave\n // `staleAt` intact to prevent subsequent revalidation attempts only until\n // the entry expires.\n const rejectedEntry: RejectedSegmentCacheEntry = candidateEntry as any\n rejectedEntry.status = EntryStatus.Rejected\n rejectedEntry.loading = null\n rejectedEntry.rsc = null\n return null\n }\n\n // Evict the existing entry from the cache.\n deleteFromCacheMap(existingEntry)\n }\n\n const isRevalidation = false\n setInCacheMap(segmentCacheMap, varyPath, candidateEntry, isRevalidation)\n return candidateEntry\n}\n\nexport function createDetachedSegmentCacheEntry(\n staleAt: number\n): EmptySegmentCacheEntry {\n const emptyEntry: EmptySegmentCacheEntry = {\n status: EntryStatus.Empty,\n // Default to assuming the fetch strategy will be PPR. This will be updated\n // when a fetch is actually initiated.\n fetchStrategy: FetchStrategy.PPR,\n rsc: null,\n loading: null,\n isPartial: true,\n promise: null,\n\n // Map-related fields\n ref: null,\n size: 0,\n staleAt,\n version: 0,\n }\n return emptyEntry\n}\n\nexport function upgradeToPendingSegment(\n emptyEntry: EmptySegmentCacheEntry,\n fetchStrategy: FetchStrategy\n): PendingSegmentCacheEntry {\n const pendingEntry: PendingSegmentCacheEntry = emptyEntry as any\n pendingEntry.status = EntryStatus.Pending\n pendingEntry.fetchStrategy = fetchStrategy\n\n if (fetchStrategy === FetchStrategy.Full) {\n // We can assume the response will contain the full segment data. Set this\n // to false so we know it's OK to omit this segment from any navigation\n // requests that may happen while the data is still pending.\n pendingEntry.isPartial = false\n }\n\n // Set the version here, since this is right before the request is initiated.\n // The next time the global cache version is incremented, the entry will\n // effectively be evicted. This happens before initiating the request, rather\n // than when receiving the response, because it's guaranteed to happen\n // before the data is read on the server.\n pendingEntry.version = getCurrentCacheVersion()\n return pendingEntry\n}\n\nfunction pingBlockedTasks(entry: {\n blockedTasks: Set<PrefetchTask> | null\n}): void {\n const blockedTasks = entry.blockedTasks\n if (blockedTasks !== null) {\n for (const task of blockedTasks) {\n pingPrefetchTask(task)\n }\n entry.blockedTasks = null\n }\n}\n\nfunction fulfillRouteCacheEntry(\n entry: RouteCacheEntry,\n tree: RouteTree,\n metadataVaryPath: PageVaryPath,\n staleAt: number,\n couldBeIntercepted: boolean,\n canonicalUrl: string,\n renderedSearch: NormalizedSearch,\n isPPREnabled: boolean\n): FulfilledRouteCacheEntry {\n // The Head is not actually part of the route tree, but other than that, it's\n // fetched and cached like a segment. Some functions expect a RouteTree\n // object, so rather than fork the logic in all those places, we use this\n // \"fake\" one.\n const metadata: RouteTree = {\n requestKey: HEAD_REQUEST_KEY,\n segment: HEAD_REQUEST_KEY,\n varyPath: metadataVaryPath,\n // The metadata isn't really a \"page\" (though it isn't really a \"segment\"\n // either) but for the purposes of how this field is used, it behaves like\n // one. If this logic ever gets more complex we can change this to an enum.\n isPage: true,\n slots: null,\n isRootLayout: false,\n hasLoadingBoundary: HasLoadingBoundary.SubtreeHasNoLoadingBoundary,\n hasRuntimePrefetch: false,\n }\n const fulfilledEntry: FulfilledRouteCacheEntry = entry as any\n fulfilledEntry.status = EntryStatus.Fulfilled\n fulfilledEntry.tree = tree\n fulfilledEntry.metadata = metadata\n fulfilledEntry.staleAt = staleAt\n fulfilledEntry.couldBeIntercepted = couldBeIntercepted\n fulfilledEntry.canonicalUrl = canonicalUrl\n fulfilledEntry.renderedSearch = renderedSearch\n fulfilledEntry.isPPREnabled = isPPREnabled\n pingBlockedTasks(entry)\n return fulfilledEntry\n}\n\nfunction fulfillSegmentCacheEntry(\n segmentCacheEntry: PendingSegmentCacheEntry,\n rsc: React.ReactNode,\n loading: LoadingModuleData | Promise<LoadingModuleData>,\n staleAt: number,\n isPartial: boolean\n): FulfilledSegmentCacheEntry {\n const fulfilledEntry: FulfilledSegmentCacheEntry = segmentCacheEntry as any\n fulfilledEntry.status = EntryStatus.Fulfilled\n fulfilledEntry.rsc = rsc\n fulfilledEntry.loading = loading\n fulfilledEntry.staleAt = staleAt\n fulfilledEntry.isPartial = isPartial\n // Resolve any listeners that were waiting for this data.\n if (segmentCacheEntry.promise !== null) {\n segmentCacheEntry.promise.resolve(fulfilledEntry)\n // Free the promise for garbage collection.\n fulfilledEntry.promise = null\n }\n return fulfilledEntry\n}\n\nfunction rejectRouteCacheEntry(\n entry: PendingRouteCacheEntry,\n staleAt: number\n): void {\n const rejectedEntry: RejectedRouteCacheEntry = entry as any\n rejectedEntry.status = EntryStatus.Rejected\n rejectedEntry.staleAt = staleAt\n pingBlockedTasks(entry)\n}\n\nfunction rejectSegmentCacheEntry(\n entry: PendingSegmentCacheEntry,\n staleAt: number\n): void {\n const rejectedEntry: RejectedSegmentCacheEntry = entry as any\n rejectedEntry.status = EntryStatus.Rejected\n rejectedEntry.staleAt = staleAt\n if (entry.promise !== null) {\n // NOTE: We don't currently propagate the reason the prefetch was canceled\n // but we could by accepting a `reason` argument.\n entry.promise.resolve(null)\n entry.promise = null\n }\n}\n\ntype RouteTreeAccumulator = {\n metadataVaryPath: PageVaryPath | null\n}\n\nfunction convertRootTreePrefetchToRouteTree(\n rootTree: RootTreePrefetch,\n renderedPathname: string,\n renderedSearch: NormalizedSearch,\n acc: RouteTreeAccumulator\n) {\n // Remove trailing and leading slashes\n const pathnameParts = renderedPathname.split('/').filter((p) => p !== '')\n const index = 0\n const rootSegment = ROOT_SEGMENT_REQUEST_KEY\n return convertTreePrefetchToRouteTree(\n rootTree.tree,\n rootSegment,\n null,\n ROOT_SEGMENT_REQUEST_KEY,\n pathnameParts,\n index,\n renderedSearch,\n acc\n )\n}\n\nfunction convertTreePrefetchToRouteTree(\n prefetch: TreePrefetch,\n segment: FlightRouterStateSegment,\n partialVaryPath: PartialSegmentVaryPath | null,\n requestKey: SegmentRequestKey,\n pathnameParts: Array<string>,\n pathnamePartsIndex: number,\n renderedSearch: NormalizedSearch,\n acc: RouteTreeAccumulator\n): RouteTree {\n // Converts the route tree sent by the server into the format used by the\n // cache. The cached version of the tree includes additional fields, such as a\n // cache key for each segment. Since this is frequently accessed, we compute\n // it once instead of on every access. This same cache key is also used to\n // request the segment from the server.\n\n let slots: { [parallelRouteKey: string]: RouteTree } | null = null\n let isPage: boolean\n let varyPath: SegmentVaryPath\n const prefetchSlots = prefetch.slots\n if (prefetchSlots !== null) {\n isPage = false\n varyPath = finalizeLayoutVaryPath(requestKey, partialVaryPath)\n\n slots = {}\n for (let parallelRouteKey in prefetchSlots) {\n const childPrefetch = prefetchSlots[parallelRouteKey]\n const childParamName = childPrefetch.name\n const childParamType = childPrefetch.paramType\n const childServerSentParamKey = childPrefetch.paramKey\n\n let childDoesAppearInURL: boolean\n let childSegment: FlightRouterStateSegment\n let childPartialVaryPath: PartialSegmentVaryPath | null\n if (childParamType !== null) {\n // This segment is parameterized. Get the param from the pathname.\n const childParamValue = parseDynamicParamFromURLPart(\n childParamType,\n pathnameParts,\n pathnamePartsIndex\n )\n\n // Assign a cache key to the segment, based on the param value. In the\n // pre-Segment Cache implementation, the server computes this and sends\n // it in the body of the response. In the Segment Cache implementation,\n // the server sends an empty string and we fill it in here.\n\n // TODO: We're intentionally not adding the search param to page\n // segments here; it's tracked separately and added back during a read.\n // This would clearer if we waited to construct the segment until it's\n // read from the cache, since that's effectively what we're\n // doing anyway.\n const childParamKey =\n // The server omits this field from the prefetch response when\n // cacheComponents is enabled.\n childServerSentParamKey !== null\n ? childServerSentParamKey\n : // If no param key was sent, use the value parsed on the client.\n getCacheKeyForDynamicParam(\n childParamValue,\n '' as NormalizedSearch\n )\n\n childPartialVaryPath = appendLayoutVaryPath(\n partialVaryPath,\n childParamKey\n )\n childSegment = [childParamName, childParamKey, childParamType]\n childDoesAppearInURL = true\n } else {\n // This segment does not have a param. Inherit the partial vary path of\n // the parent.\n childPartialVaryPath = partialVaryPath\n childSegment = childParamName\n childDoesAppearInURL = doesStaticSegmentAppearInURL(childParamName)\n }\n\n // Only increment the index if the segment appears in the URL. If it's a\n // \"virtual\" segment, like a route group, it remains the same.\n const childPathnamePartsIndex = childDoesAppearInURL\n ? pathnamePartsIndex + 1\n : pathnamePartsIndex\n\n const childRequestKeyPart = createSegmentRequestKeyPart(childSegment)\n const childRequestKey = appendSegmentRequestKeyPart(\n requestKey,\n parallelRouteKey,\n childRequestKeyPart\n )\n slots[parallelRouteKey] = convertTreePrefetchToRouteTree(\n childPrefetch,\n childSegment,\n childPartialVaryPath,\n childRequestKey,\n pathnameParts,\n childPathnamePartsIndex,\n renderedSearch,\n acc\n )\n }\n } else {\n if (requestKey.endsWith(PAGE_SEGMENT_KEY)) {\n // This is a page segment.\n isPage = true\n varyPath = finalizePageVaryPath(\n requestKey,\n renderedSearch,\n partialVaryPath\n )\n // The metadata \"segment\" is not part the route tree, but it has the same\n // conceptual params as a page segment. Write the vary path into the\n // accumulator object. If there are multiple parallel pages, we use the\n // first one. Which page we choose is arbitrary as long as it's\n // consistently the same one every time every time. See\n // finalizeMetadataVaryPath for more details.\n if (acc.metadataVaryPath === null) {\n acc.metadataVaryPath = finalizeMetadataVaryPath(\n requestKey,\n renderedSearch,\n partialVaryPath\n )\n }\n } else {\n // This is a layout segment.\n isPage = false\n varyPath = finalizeLayoutVaryPath(requestKey, partialVaryPath)\n }\n }\n\n return {\n requestKey,\n segment,\n varyPath,\n // TODO: Cheating the type system here a bit because TypeScript can't tell\n // that the type of isPage and varyPath are consistent. The fix would be to\n // create separate constructors and call the appropriate one from each of\n // the branches above. Just seems a bit overkill only for one field so I'll\n // leave it as-is for now. If isPage were wrong it would break the behavior\n // and we'd catch it quickly, anyway.\n isPage: isPage as boolean as any,\n slots,\n isRootLayout: prefetch.isRootLayout,\n // This field is only relevant to dynamic routes. For a PPR/static route,\n // there's always some partial loading state we can fetch.\n hasLoadingBoundary: HasLoadingBoundary.SegmentHasLoadingBoundary,\n hasRuntimePrefetch: prefetch.hasRuntimePrefetch,\n }\n}\n\nfunction convertRootFlightRouterStateToRouteTree(\n flightRouterState: FlightRouterState,\n renderedSearch: NormalizedSearch,\n acc: RouteTreeAccumulator\n): RouteTree {\n return convertFlightRouterStateToRouteTree(\n flightRouterState,\n ROOT_SEGMENT_REQUEST_KEY,\n null,\n renderedSearch,\n acc\n )\n}\n\nfunction convertFlightRouterStateToRouteTree(\n flightRouterState: FlightRouterState,\n requestKey: SegmentRequestKey,\n parentPartialVaryPath: PartialSegmentVaryPath | null,\n renderedSearch: NormalizedSearch,\n acc: RouteTreeAccumulator\n): RouteTree {\n const originalSegment = flightRouterState[0]\n\n let segment: FlightRouterStateSegment\n let partialVaryPath: PartialSegmentVaryPath | null\n let isPage: boolean\n let varyPath: SegmentVaryPath\n if (Array.isArray(originalSegment)) {\n isPage = false\n const paramCacheKey = originalSegment[1]\n partialVaryPath = appendLayoutVaryPath(parentPartialVaryPath, paramCacheKey)\n varyPath = finalizeLayoutVaryPath(requestKey, partialVaryPath)\n segment = originalSegment\n } else {\n // This segment does not have a param. Inherit the partial vary path of\n // the parent.\n partialVaryPath = parentPartialVaryPath\n if (requestKey.endsWith(PAGE_SEGMENT_KEY)) {\n // This is a page segment.\n isPage = true\n\n // The navigation implementation expects the search params to be included\n // in the segment. However, in the case of a static response, the search\n // params are omitted. So the client needs to add them back in when reading\n // from the Segment Cache.\n //\n // For consistency, we'll do this for dynamic responses, too.\n //\n // TODO: We should move search params out of FlightRouterState and handle\n // them entirely on the client, similar to our plan for dynamic params.\n segment = PAGE_SEGMENT_KEY\n varyPath = finalizePageVaryPath(\n requestKey,\n renderedSearch,\n partialVaryPath\n )\n // The metadata \"segment\" is not part the route tree, but it has the same\n // conceptual params as a page segment. Write the vary path into the\n // accumulator object. If there are multiple parallel pages, we use the\n // first one. Which page we choose is arbitrary as long as it's\n // consistently the same one every time every time. See\n // finalizeMetadataVaryPath for more details.\n if (acc.metadataVaryPath === null) {\n acc.metadataVaryPath = finalizeMetadataVaryPath(\n requestKey,\n renderedSearch,\n partialVaryPath\n )\n }\n } else {\n // This is a layout segment.\n isPage = false\n segment = originalSegment\n varyPath = finalizeLayoutVaryPath(requestKey, partialVaryPath)\n }\n }\n\n let slots: { [parallelRouteKey: string]: RouteTree } | null = null\n\n const parallelRoutes = flightRouterState[1]\n for (let parallelRouteKey in parallelRoutes) {\n const childRouterState = parallelRoutes[parallelRouteKey]\n const childSegment = childRouterState[0]\n // TODO: Eventually, the param values will not be included in the response\n // from the server. We'll instead fill them in on the client by parsing\n // the URL. This is where we'll do that.\n const childRequestKeyPart = createSegmentRequestKeyPart(childSegment)\n const childRequestKey = appendSegmentRequestKeyPart(\n requestKey,\n parallelRouteKey,\n childRequestKeyPart\n )\n const childTree = convertFlightRouterStateToRouteTree(\n childRouterState,\n childRequestKey,\n partialVaryPath,\n renderedSearch,\n acc\n )\n if (slots === null) {\n slots = {\n [parallelRouteKey]: childTree,\n }\n } else {\n slots[parallelRouteKey] = childTree\n }\n }\n\n return {\n requestKey,\n segment,\n varyPath,\n // TODO: Cheating the type system here a bit because TypeScript can't tell\n // that the type of isPage and varyPath are consistent. The fix would be to\n // create separate constructors and call the appropriate one from each of\n // the branches above. Just seems a bit overkill only for one field so I'll\n // leave it as-is for now. If isPage were wrong it would break the behavior\n // and we'd catch it quickly, anyway.\n isPage: isPage as boolean as any,\n slots,\n isRootLayout: flightRouterState[4] === true,\n hasLoadingBoundary:\n flightRouterState[5] !== undefined\n ? flightRouterState[5]\n : HasLoadingBoundary.SubtreeHasNoLoadingBoundary,\n\n // Non-static tree responses are only used by apps that haven't adopted\n // Cache Components. So this is always false.\n hasRuntimePrefetch: false,\n }\n}\n\nexport function convertRouteTreeToFlightRouterState(\n routeTree: RouteTree\n): FlightRouterState {\n const parallelRoutes: Record<string, FlightRouterState> = {}\n if (routeTree.slots !== null) {\n for (const parallelRouteKey in routeTree.slots) {\n parallelRoutes[parallelRouteKey] = convertRouteTreeToFlightRouterState(\n routeTree.slots[parallelRouteKey]\n )\n }\n }\n const flightRouterState: FlightRouterState = [\n routeTree.segment,\n parallelRoutes,\n null,\n null,\n routeTree.isRootLayout,\n ]\n return flightRouterState\n}\n\nexport async function fetchRouteOnCacheMiss(\n entry: PendingRouteCacheEntry,\n task: PrefetchTask,\n key: RouteCacheKey\n): Promise<PrefetchSubtaskResult<null> | null> {\n // This function is allowed to use async/await because it contains the actual\n // fetch that gets issued on a cache miss. Notice it writes the result to the\n // cache entry directly, rather than return data that is then written by\n // the caller.\n const pathname = key.pathname\n const search = key.search\n const nextUrl = key.nextUrl\n const segmentPath = '/_tree' as SegmentRequestKey\n\n const headers: RequestHeaders = {\n [RSC_HEADER]: '1',\n [NEXT_ROUTER_PREFETCH_HEADER]: '1',\n [NEXT_ROUTER_SEGMENT_PREFETCH_HEADER]: segmentPath,\n }\n if (nextUrl !== null) {\n headers[NEXT_URL] = nextUrl\n }\n\n try {\n const url = new URL(pathname + search, location.origin)\n let response\n let urlAfterRedirects\n if (isOutputExportMode) {\n // In output: \"export\" mode, we can't use headers to request a particular\n // segment. Instead, we encode the extra request information into the URL.\n // This is not part of the \"public\" interface of the app; it's an internal\n // Next.js implementation detail that the app developer should not need to\n // concern themselves with.\n //\n // For example, to request a segment:\n //\n // Path passed to <Link>: /path/to/page\n // Path passed to fetch: /path/to/page/__next-segments/_tree\n //\n // (This is not the exact protocol, just an illustration.)\n //\n // Before we do that, though, we need to account for redirects. Even in\n // output: \"export\" mode, a proxy might redirect the page to a different\n // location, but we shouldn't assume or expect that they also redirect all\n // the segment files, too.\n //\n // To check whether the page is redirected, previously we perform a range\n // request of 64 bytes of the HTML document to check if the target page\n // is part of this app (by checking if build id matches). Only if the target\n // page is part of this app do we determine the final canonical URL.\n //\n // However, as mentioned in https://github.com/vercel/next.js/pull/85903,\n // some popular static hosting providers (like Cloudflare Pages or Render.com)\n // do not support range requests, in the worst case, the entire HTML instead\n // of 64 bytes could be returned, which is wasteful.\n //\n // So instead, we drops the check for build id here, and simply perform\n // a HEAD request to rejects 1xx/4xx/5xx responses, and then determine the\n // final URL after redirects.\n //\n // NOTE: We could embed the route tree into the HTML document, to avoid\n // a second request. We're not doing that currently because it would make\n // the HTML document larger and affect normal page loads.\n const headResponse = await fetch(url, {\n method: 'HEAD',\n })\n if (headResponse.status < 200 || headResponse.status >= 400) {\n // The target page responded w/o a successful status code\n // Could be a WAF serving a 403, or a 5xx from a backend\n //\n // Note that we can't use headResponse.ok here, because\n // Response#ok returns `false` with 3xx responses.\n rejectRouteCacheEntry(entry, Date.now() + 10 * 1000)\n return null\n }\n\n urlAfterRedirects = headResponse.redirected\n ? new URL(headResponse.url)\n : url\n\n response = await fetchPrefetchResponse(\n addSegmentPathToUrlInOutputExportMode(urlAfterRedirects, segmentPath),\n headers\n )\n } else {\n // \"Server\" mode. We can use request headers instead of the pathname.\n // TODO: The eventual plan is to get rid of our custom request headers and\n // encode everything into the URL, using a similar strategy to the\n // \"output: export\" block above.\n response = await fetchPrefetchResponse(url, headers)\n urlAfterRedirects =\n response !== null && response.redirected ? new URL(response.url) : url\n }\n\n if (\n !response ||\n !response.ok ||\n // 204 is a Cache miss. Though theoretically this shouldn't happen when\n // PPR is enabled, because we always respond to route tree requests, even\n // if it needs to be blockingly generated on demand.\n response.status === 204 ||\n !response.body\n ) {\n // Server responded with an error, or with a miss. We should still cache\n // the response, but we can try again after 10 seconds.\n rejectRouteCacheEntry(entry, Date.now() + 10 * 1000)\n return null\n }\n\n // TODO: The canonical URL is the href without the origin. I think\n // historically the reason for this is because the initial canonical URL\n // gets passed as a prop to the top-level React component, which means it\n // needs to be computed during SSR. If it were to include the origin, it\n // would need to always be same as location.origin on the client, to prevent\n // a hydration mismatch. To sidestep this complexity, we omit the origin.\n //\n // However, since this is neither a native URL object nor a fully qualified\n // URL string, we need to be careful about how we use it. To prevent subtle\n // mistakes, we should create a special type for it, instead of just string.\n // Or, we should just use a (readonly) URL object instead. The type of the\n // prop that we pass to seed the initial state does not need to be the same\n // type as the state itself.\n const canonicalUrl = createHrefFromUrl(urlAfterRedirects)\n\n // Check whether the response varies based on the Next-Url header.\n const varyHeader = response.headers.get('vary')\n const couldBeIntercepted =\n varyHeader !== null && varyHeader.includes(NEXT_URL)\n\n // Track when the network connection closes.\n const closed = createPromiseWithResolvers<void>()\n\n // This checks whether the response was served from the per-segment cache,\n // rather than the old prefetching flow. If it fails, it implies that PPR\n // is disabled on this route.\n const routeIsPPREnabled =\n response.headers.get(NEXT_DID_POSTPONE_HEADER) === '2' ||\n // In output: \"export\" mode, we can't rely on response headers. But if we\n // receive a well-formed response, we can assume it's a static response,\n // because all data is static in this mode.\n isOutputExportMode\n\n if (routeIsPPREnabled) {\n const prefetchStream = createPrefetchResponseStream(\n response.body,\n closed.resolve,\n function onResponseSizeUpdate(size) {\n setSizeInCacheMap(entry, size)\n }\n )\n const serverData = await createFromNextReadableStream<RootTreePrefetch>(\n prefetchStream,\n headers\n )\n if (serverData.buildId !== getAppBuildId()) {\n // The server build does not match the client. Treat as a 404. During\n // an actual navigation, the router will trigger an MPA navigation.\n // TODO: Consider moving the build ID to a response header so we can check\n // it before decoding the response, and so there's one way of checking\n // across all response types.\n // TODO: We should cache the fact that this is an MPA navigation.\n rejectRouteCacheEntry(entry, Date.now() + 10 * 1000)\n return null\n }\n\n // Get the params that were used to render the target page. These may\n // be different from the params in the request URL, if the page\n // was rewritten.\n const renderedPathname = getRenderedPathname(response)\n const renderedSearch = getRenderedSearch(response)\n\n // Convert the server-sent data into the RouteTree format used by the\n // client cache.\n //\n // During this traversal, we accumulate additional data into this\n // \"accumulator\" object.\n const acc: RouteTreeAccumulator = { metadataVaryPath: null }\n const routeTree = convertRootTreePrefetchToRouteTree(\n serverData,\n renderedPathname,\n renderedSearch,\n acc\n )\n const metadataVaryPath = acc.metadataVaryPath\n if (metadataVaryPath === null) {\n rejectRouteCacheEntry(entry, Date.now() + 10 * 1000)\n return null\n }\n\n const staleTimeMs = getStaleTimeMs(serverData.staleTime)\n fulfillRouteCacheEntry(\n entry,\n routeTree,\n metadataVaryPath,\n Date.now() + staleTimeMs,\n couldBeIntercepted,\n canonicalUrl,\n renderedSearch,\n routeIsPPREnabled\n )\n } else {\n // PPR is not enabled for this route. The server responds with a\n // different format (FlightRouterState) that we need to convert.\n // TODO: We will unify the responses eventually. I'm keeping the types\n // separate for now because FlightRouterState has so many\n // overloaded concerns.\n const prefetchStream = createPrefetchResponseStream(\n response.body,\n closed.resolve,\n function onResponseSizeUpdate(size) {\n setSizeInCacheMap(entry, size)\n }\n )\n const serverData =\n await createFromNextReadableStream<NavigationFlightResponse>(\n prefetchStream,\n headers\n )\n if (serverData.b !== getAppBuildId()) {\n // The server build does not match the client. Treat as a 404. During\n // an actual navigation, the router will trigger an MPA navigation.\n // TODO: Consider moving the build ID to a response header so we can check\n // it before decoding the response, and so there's one way of checking\n // across all response types.\n // TODO: We should cache the fact that this is an MPA navigation.\n rejectRouteCacheEntry(entry, Date.now() + 10 * 1000)\n return null\n }\n\n writeDynamicTreeResponseIntoCache(\n Date.now(),\n task,\n // The non-PPR response format is what we'd get if we prefetched these segments\n // using the LoadingBoundary fetch strategy, so mark their cache entries accordingly.\n FetchStrategy.LoadingBoundary,\n response as RSCResponse<NavigationFlightResponse>,\n serverData,\n entry,\n couldBeIntercepted,\n canonicalUrl,\n routeIsPPREnabled\n )\n }\n\n if (!couldBeIntercepted) {\n // This route will never be intercepted. So we can use this entry for all\n // requests to this route, regardless of the Next-Url header. This works\n // because when reading the cache we always check for a valid\n // non-intercepted entry first.\n\n // Re-key the entry. The `set` implementation handles removing it from\n // its previous position in the cache. We don't need to do anything to\n // update the LRU, because the entry is already in it.\n // TODO: Treat this as an upsert — should check if an entry already\n // exists at the new keypath, and if so, whether we should keep that\n // one instead.\n const fulfilledVaryPath: RouteVaryPath = getFulfilledRouteVaryPath(\n pathname,\n search,\n nextUrl,\n couldBeIntercepted\n )\n const isRevalidation = false\n setInCacheMap(routeCacheMap, fulfilledVaryPath, entry, isRevalidation)\n }\n // Return a promise that resolves when the network connection closes, so\n // the scheduler can track the number of concurrent network connections.\n return { value: null, closed: closed.promise }\n } catch (error) {\n // Either the connection itself failed, or something bad happened while\n // decoding the response.\n rejectRouteCacheEntry(entry, Date.now() + 10 * 1000)\n return null\n }\n}\n\nexport async function fetchSegmentOnCacheMiss(\n route: FulfilledRouteCacheEntry,\n segmentCacheEntry: PendingSegmentCacheEntry,\n routeKey: RouteCacheKey,\n tree: RouteTree\n): Promise<PrefetchSubtaskResult<FulfilledSegmentCacheEntry> | null> {\n // This function is allowed to use async/await because it contains the actual\n // fetch that gets issued on a cache miss. Notice it writes the result to the\n // cache entry directly, rather than return data that is then written by\n // the caller.\n //\n // Segment fetches are non-blocking so we don't need to ping the scheduler\n // on completion.\n\n // Use the canonical URL to request the segment, not the original URL. These\n // are usually the same, but the canonical URL will be different if the route\n // tree response was redirected. To avoid an extra waterfall on every segment\n // request, we pass the redirected URL instead of the original one.\n const url = new URL(route.canonicalUrl, location.origin)\n const nextUrl = routeKey.nextUrl\n\n const requestKey = tree.requestKey\n const normalizedRequestKey =\n requestKey === ROOT_SEGMENT_REQUEST_KEY\n ? // The root segment is a special case. To simplify the server-side\n // handling of these requests, we encode the root segment path as\n // `_index` instead of as an empty string. This should be treated as\n // an implementation detail and not as a stable part of the protocol.\n // It just needs to match the equivalent logic that happens when\n // prerendering the responses. It should not leak outside of Next.js.\n ('/_index' as SegmentRequestKey)\n : requestKey\n\n const headers: RequestHeaders = {\n [RSC_HEADER]: '1',\n [NEXT_ROUTER_PREFETCH_HEADER]: '1',\n [NEXT_ROUTER_SEGMENT_PREFETCH_HEADER]: normalizedRequestKey,\n }\n if (nextUrl !== null) {\n headers[NEXT_URL] = nextUrl\n }\n\n const requestUrl = isOutputExportMode\n ? // In output: \"export\" mode, we need to add the segment path to the URL.\n addSegmentPathToUrlInOutputExportMode(url, normalizedRequestKey)\n : url\n try {\n const response = await fetchPrefetchResponse(requestUrl, headers)\n if (\n !response ||\n !response.ok ||\n response.status === 204 || // Cache miss\n // This checks whether the response was served from the per-segment cache,\n // rather than the old prefetching flow. If it fails, it implies that PPR\n // is disabled on this route. Theoretically this should never happen\n // because we only issue requests for segments once we've verified that\n // the route supports PPR.\n (response.headers.get(NEXT_DID_POSTPONE_HEADER) !== '2' &&\n // In output: \"export\" mode, we can't rely on response headers. But if\n // we receive a well-formed response, we can assume it's a static\n // response, because all data is static in this mode.\n !isOutputExportMode) ||\n !response.body\n ) {\n // Server responded with an error, or with a miss. We should still cache\n // the response, but we can try again after 10 seconds.\n rejectSegmentCacheEntry(segmentCacheEntry, Date.now() + 10 * 1000)\n return null\n }\n\n // Track when the network connection closes.\n const closed = createPromiseWithResolvers<void>()\n\n // Wrap the original stream in a new stream that never closes. That way the\n // Flight client doesn't error if there's a hanging promise.\n const prefetchStream = createPrefetchResponseStream(\n response.body,\n closed.resolve,\n function onResponseSizeUpdate(size) {\n setSizeInCacheMap(segmentCacheEntry, size)\n }\n )\n const serverData = await (createFromNextReadableStream(\n prefetchStream,\n headers\n ) as Promise<SegmentPrefetch>)\n if (serverData.buildId !== getAppBuildId()) {\n // The server build does not match the client. Treat as a 404. During\n // an actual navigation, the router will trigger an MPA navigation.\n // TODO: Consider moving the build ID to a response header so we can check\n // it before decoding the response, and so there's one way of checking\n // across all response types.\n rejectSegmentCacheEntry(segmentCacheEntry, Date.now() + 10 * 1000)\n return null\n }\n return {\n value: fulfillSegmentCacheEntry(\n segmentCacheEntry,\n serverData.rsc,\n serverData.loading,\n // TODO: The server does not currently provide per-segment stale time.\n // So we use the stale time of the route.\n route.staleAt,\n serverData.isPartial\n ),\n // Return a promise that resolves when the network connection closes, so\n // the scheduler can track the number of concurrent network connections.\n closed: closed.promise,\n }\n } catch (error) {\n // Either the connection itself failed, or something bad happened while\n // decoding the response.\n rejectSegmentCacheEntry(segmentCacheEntry, Date.now() + 10 * 1000)\n return null\n }\n}\n\nexport async function fetchSegmentPrefetchesUsingDynamicRequest(\n task: PrefetchTask,\n route: FulfilledRouteCacheEntry,\n fetchStrategy:\n | FetchStrategy.LoadingBoundary\n | FetchStrategy.PPRRuntime\n | FetchStrategy.Full,\n dynamicRequestTree: FlightRouterState,\n spawnedEntries: Map<SegmentRequestKey, PendingSegmentCacheEntry>\n): Promise<PrefetchSubtaskResult<null> | null> {\n const key = task.key\n const url = new URL(route.canonicalUrl, location.origin)\n const nextUrl = key.nextUrl\n\n if (\n spawnedEntries.size === 1 &&\n spawnedEntries.has(route.metadata.requestKey)\n ) {\n // The only thing pending is the head. Instruct the server to\n // skip over everything else.\n dynamicRequestTree = MetadataOnlyRequestTree\n }\n\n const headers: RequestHeaders = {\n [RSC_HEADER]: '1',\n [NEXT_ROUTER_STATE_TREE_HEADER]:\n prepareFlightRouterStateForRequest(dynamicRequestTree),\n }\n if (nextUrl !== null) {\n headers[NEXT_URL] = nextUrl\n }\n switch (fetchStrategy) {\n case FetchStrategy.Full: {\n // We omit the prefetch header from a full prefetch because it's essentially\n // just a navigation request that happens ahead of time — it should include\n // all the same data in the response.\n break\n }\n case FetchStrategy.PPRRuntime: {\n headers[NEXT_ROUTER_PREFETCH_HEADER] = '2'\n break\n }\n case FetchStrategy.LoadingBoundary: {\n headers[NEXT_ROUTER_PREFETCH_HEADER] = '1'\n break\n }\n default: {\n fetchStrategy satisfies never\n }\n }\n\n try {\n const response = await fetchPrefetchResponse(url, headers)\n if (!response || !response.ok || !response.body) {\n // Server responded with an error, or with a miss. We should still cache\n // the response, but we can try again after 10 seconds.\n rejectSegmentEntriesIfStillPending(spawnedEntries, Date.now() + 10 * 1000)\n return null\n }\n\n const renderedSearch = getRenderedSearch(response)\n if (renderedSearch !== route.renderedSearch) {\n // The search params that were used to render the target page are\n // different from the search params in the request URL. This only happens\n // when there's a dynamic rewrite in between the tree prefetch and the\n // data prefetch.\n // TODO: For now, since this is an edge case, we reject the prefetch, but\n // the proper way to handle this is to evict the stale route tree entry\n // then fill the cache with the new response.\n rejectSegmentEntriesIfStillPending(spawnedEntries, Date.now() + 10 * 1000)\n return null\n }\n\n // Track when the network connection closes.\n const closed = createPromiseWithResolvers<void>()\n\n let fulfilledEntries: Array<FulfilledSegmentCacheEntry> | null = null\n const prefetchStream = createPrefetchResponseStream(\n response.body,\n closed.resolve,\n function onResponseSizeUpdate(totalBytesReceivedSoFar) {\n // When processing a dynamic response, we don't know how large each\n // individual segment is, so approximate by assiging each segment\n // the average of the total response size.\n if (fulfilledEntries === null) {\n // Haven't received enough data yet to know which segments\n // were included.\n return\n }\n const averageSize = totalBytesReceivedSoFar / fulfilledEntries.length\n for (const entry of fulfilledEntries) {\n setSizeInCacheMap(entry, averageSize)\n }\n }\n )\n const serverData = await (createFromNextReadableStream(\n prefetchStream,\n headers\n ) as Promise<NavigationFlightResponse>)\n\n const isResponsePartial =\n fetchStrategy === FetchStrategy.PPRRuntime\n ? // A runtime prefetch may have holes.\n serverData.rp?.[0] === true\n : // Full and LoadingBoundary prefetches cannot have holes.\n // (even if we did set the prefetch header, we only use this codepath for non-PPR-enabled routes)\n false\n\n // Aside from writing the data into the cache, this function also returns\n // the entries that were fulfilled, so we can streamingly update their sizes\n // in the LRU as more data comes in.\n fulfilledEntries = writeDynamicRenderResponseIntoCache(\n Date.now(),\n task,\n fetchStrategy,\n response as RSCResponse<NavigationFlightResponse>,\n serverData,\n isResponsePartial,\n route,\n spawnedEntries\n )\n\n // Return a promise that resolves when the network connection closes, so\n // the scheduler can track the number of concurrent network connections.\n return { value: null, closed: closed.promise }\n } catch (error) {\n rejectSegmentEntriesIfStillPending(spawnedEntries, Date.now() + 10 * 1000)\n return null\n }\n}\n\nfunction writeDynamicTreeResponseIntoCache(\n now: number,\n task: PrefetchTask,\n fetchStrategy:\n | FetchStrategy.LoadingBoundary\n | FetchStrategy.PPRRuntime\n | FetchStrategy.Full,\n response: RSCResponse<NavigationFlightResponse>,\n serverData: NavigationFlightResponse,\n entry: PendingRouteCacheEntry,\n couldBeIntercepted: boolean,\n canonicalUrl: string,\n routeIsPPREnabled: boolean\n) {\n // Get the URL that was used to render the target page. This may be different\n // from the URL in the request URL, if the page was rewritten.\n const renderedSearch = getRenderedSearch(response)\n\n const normalizedFlightDataResult = normalizeFlightData(serverData.f)\n if (\n // A string result means navigating to this route will result in an\n // MPA navigation.\n typeof normalizedFlightDataResult === 'string' ||\n normalizedFlightDataResult.length !== 1\n ) {\n rejectRouteCacheEntry(entry, now + 10 * 1000)\n return\n }\n const flightData = normalizedFlightDataResult[0]\n if (!flightData.isRootRender) {\n // Unexpected response format.\n rejectRouteCacheEntry(entry, now + 10 * 1000)\n return\n }\n\n const flightRouterState = flightData.tree\n // For runtime prefetches, stale time is in the payload at rp[1].\n // For other responses, fall back to the header.\n const staleTimeSeconds =\n typeof serverData.rp?.[1] === 'number'\n ? serverData.rp[1]\n : parseInt(response.headers.get(NEXT_ROUTER_STALE_TIME_HEADER) ?? '', 10)\n const staleTimeMs = !isNaN(staleTimeSeconds)\n ? getStaleTimeMs(staleTimeSeconds)\n : STATIC_STALETIME_MS\n\n // If the response contains dynamic holes, then we must conservatively assume\n // that any individual segment might contain dynamic holes, and also the\n // head. If it did not contain dynamic holes, then we can assume every segment\n // and the head is completely static.\n const isResponsePartial =\n response.headers.get(NEXT_DID_POSTPONE_HEADER) === '1'\n\n // Convert the server-sent data into the RouteTree format used by the\n // client cache.\n //\n // During this traversal, we accumulate additional data into this\n // \"accumulator\" object.\n const acc: RouteTreeAccumulator = { metadataVaryPath: null }\n const routeTree = convertRootFlightRouterStateToRouteTree(\n flightRouterState,\n renderedSearch,\n acc\n )\n const metadataVaryPath = acc.metadataVaryPath\n if (metadataVaryPath === null) {\n rejectRouteCacheEntry(entry, now + 10 * 1000)\n return\n }\n\n const fulfilledEntry = fulfillRouteCacheEntry(\n entry,\n routeTree,\n metadataVaryPath,\n now + staleTimeMs,\n couldBeIntercepted,\n canonicalUrl,\n renderedSearch,\n routeIsPPREnabled\n )\n\n // If the server sent segment data as part of the response, we should write\n // it into the cache to prevent a second, redundant prefetch request.\n //\n // TODO: When `clientSegmentCache` is enabled, the server does not include\n // segment data when responding to a route tree prefetch request. However,\n // when `clientSegmentCache` is set to \"client-only\", and PPR is enabled (or\n // the page is fully static), the normal check is bypassed and the server\n // responds with the full page. This is a temporary situation until we can\n // remove the \"client-only\" option. Then, we can delete this function call.\n writeDynamicRenderResponseIntoCache(\n now,\n task,\n fetchStrategy,\n response,\n serverData,\n isResponsePartial,\n fulfilledEntry,\n null\n )\n}\n\nfunction rejectSegmentEntriesIfStillPending(\n entries: Map<SegmentRequestKey, SegmentCacheEntry>,\n staleAt: number\n): Array<FulfilledSegmentCacheEntry> {\n const fulfilledEntries = []\n for (const entry of entries.values()) {\n if (entry.status === EntryStatus.Pending) {\n rejectSegmentCacheEntry(entry, staleAt)\n } else if (entry.status === EntryStatus.Fulfilled) {\n fulfilledEntries.push(entry)\n }\n }\n return fulfilledEntries\n}\n\nfunction writeDynamicRenderResponseIntoCache(\n now: number,\n task: PrefetchTask,\n fetchStrategy:\n | FetchStrategy.LoadingBoundary\n | FetchStrategy.PPRRuntime\n | FetchStrategy.Full,\n response: RSCResponse<NavigationFlightResponse>,\n serverData: NavigationFlightResponse,\n isResponsePartial: boolean,\n route: FulfilledRouteCacheEntry,\n spawnedEntries: Map<SegmentRequestKey, PendingSegmentCacheEntry> | null\n): Array<FulfilledSegmentCacheEntry> | null {\n if (serverData.b !== getAppBuildId()) {\n // The server build does not match the client. Treat as a 404. During\n // an actual navigation, the router will trigger an MPA navigation.\n // TODO: Consider moving the build ID to a response header so we can check\n // it before decoding the response, and so there's one way of checking\n // across all response types.\n if (spawnedEntries !== null) {\n rejectSegmentEntriesIfStillPending(spawnedEntries, now + 10 * 1000)\n }\n return null\n }\n\n const flightDatas = normalizeFlightData(serverData.f)\n if (typeof flightDatas === 'string') {\n // This means navigating to this route will result in an MPA navigation.\n // TODO: We should cache this, too, so that the MPA navigation is immediate.\n return null\n }\n\n // For runtime prefetches, stale time is in the payload at rp[1].\n // For other responses, fall back to the header.\n const staleTimeSeconds =\n typeof serverData.rp?.[1] === 'number'\n ? serverData.rp[1]\n : parseInt(response.headers.get(NEXT_ROUTER_STALE_TIME_HEADER) ?? '', 10)\n const staleTimeMs = !isNaN(staleTimeSeconds)\n ? getStaleTimeMs(staleTimeSeconds)\n : STATIC_STALETIME_MS\n const staleAt = now + staleTimeMs\n\n for (const flightData of flightDatas) {\n const seedData = flightData.seedData\n if (seedData !== null) {\n // The data sent by the server represents only a subtree of the app. We\n // need to find the part of the task tree that matches the response.\n //\n // segmentPath represents the parent path of subtree. It's a repeating\n // pattern of parallel route key and segment:\n //\n // [string, Segment, string, Segment, string, Segment, ...]\n const segmentPath = flightData.segmentPath\n let tree = route.tree\n for (let i = 0; i < segmentPath.length; i += 2) {\n const parallelRouteKey: string = segmentPath[i]\n if (tree?.slots?.[parallelRouteKey] !== undefined) {\n tree = tree.slots[parallelRouteKey]\n } else {\n if (spawnedEntries !== null) {\n rejectSegmentEntriesIfStillPending(spawnedEntries, now + 10 * 1000)\n }\n return null\n }\n }\n\n writeSeedDataIntoCache(\n now,\n task,\n fetchStrategy,\n route,\n tree,\n staleAt,\n seedData,\n isResponsePartial,\n spawnedEntries\n )\n }\n\n const head = flightData.head\n if (head !== null) {\n fulfillEntrySpawnedByRuntimePrefetch(\n now,\n fetchStrategy,\n route,\n head,\n null,\n flightData.isHeadPartial,\n staleAt,\n route.metadata,\n spawnedEntries\n )\n }\n }\n // Any entry that's still pending was intentionally not rendered by the\n // server, because it was inside the loading boundary. Mark them as rejected\n // so we know not to fetch them again.\n // TODO: If PPR is enabled on some routes but not others, then it's possible\n // that a different page is able to do a per-segment prefetch of one of the\n // segments we're marking as rejected here. We should mark on the segment\n // somehow that the reason for the rejection is because of a non-PPR prefetch.\n // That way a per-segment prefetch knows to disregard the rejection.\n if (spawnedEntries !== null) {\n const fulfilledEntries = rejectSegmentEntriesIfStillPending(\n spawnedEntries,\n now + 10 * 1000\n )\n return fulfilledEntries\n }\n return null\n}\n\nfunction writeSeedDataIntoCache(\n now: number,\n task: PrefetchTask,\n fetchStrategy:\n | FetchStrategy.LoadingBoundary\n | FetchStrategy.PPRRuntime\n | FetchStrategy.Full,\n route: FulfilledRouteCacheEntry,\n tree: RouteTree,\n staleAt: number,\n seedData: CacheNodeSeedData,\n isResponsePartial: boolean,\n entriesOwnedByCurrentTask: Map<\n SegmentRequestKey,\n PendingSegmentCacheEntry\n > | null\n) {\n // This function is used to write the result of a runtime server request\n // (CacheNodeSeedData) into the prefetch cache.\n const rsc = seedData[0]\n const loading = seedData[2]\n const isPartial = rsc === null || isResponsePartial\n fulfillEntrySpawnedByRuntimePrefetch(\n now,\n fetchStrategy,\n route,\n rsc,\n loading,\n isPartial,\n staleAt,\n tree,\n entriesOwnedByCurrentTask\n )\n\n // Recursively write the child data into the cache.\n const slots = tree.slots\n if (slots !== null) {\n const seedDataChildren = seedData[1]\n for (const parallelRouteKey in slots) {\n const childTree = slots[parallelRouteKey]\n const childSeedData: CacheNodeSeedData | null | void =\n seedDataChildren[parallelRouteKey]\n if (childSeedData !== null && childSeedData !== undefined) {\n writeSeedDataIntoCache(\n now,\n task,\n fetchStrategy,\n route,\n childTree,\n staleAt,\n childSeedData,\n isResponsePartial,\n entriesOwnedByCurrentTask\n )\n }\n }\n }\n}\n\nfunction fulfillEntrySpawnedByRuntimePrefetch(\n now: number,\n fetchStrategy:\n | FetchStrategy.LoadingBoundary\n | FetchStrategy.PPRRuntime\n | FetchStrategy.Full,\n route: FulfilledRouteCacheEntry,\n rsc: React.ReactNode,\n loading: LoadingModuleData | Promise<LoadingModuleData>,\n isPartial: boolean,\n staleAt: number,\n tree: RouteTree,\n entriesOwnedByCurrentTask: Map<\n SegmentRequestKey,\n PendingSegmentCacheEntry\n > | null\n) {\n // We should only write into cache entries that are owned by us. Or create\n // a new one and write into that. We must never write over an entry that was\n // created by a different task, because that causes data races.\n const ownedEntry =\n entriesOwnedByCurrentTask !== null\n ? entriesOwnedByCurrentTask.get(tree.requestKey)\n : undefined\n if (ownedEntry !== undefined) {\n fulfillSegmentCacheEntry(ownedEntry, rsc, loading, staleAt, isPartial)\n } else {\n // There's no matching entry. Attempt to create a new one.\n const possiblyNewEntry = readOrCreateSegmentCacheEntry(\n now,\n fetchStrategy,\n route,\n tree\n )\n if (possiblyNewEntry.status === EntryStatus.Empty) {\n // Confirmed this is a new entry. We can fulfill it.\n const newEntry = possiblyNewEntry\n fulfillSegmentCacheEntry(\n upgradeToPendingSegment(newEntry, fetchStrategy),\n rsc,\n loading,\n staleAt,\n isPartial\n )\n } else {\n // There was already an entry in the cache. But we may be able to\n // replace it with the new one from the server.\n const newEntry = fulfillSegmentCacheEntry(\n upgradeToPendingSegment(\n createDetachedSegmentCacheEntry(staleAt),\n fetchStrategy\n ),\n rsc,\n loading,\n staleAt,\n isPartial\n )\n upsertSegmentEntry(\n now,\n getSegmentVaryPathForRequest(fetchStrategy, tree),\n newEntry\n )\n }\n }\n}\n\nasync function fetchPrefetchResponse<T>(\n url: URL,\n headers: RequestHeaders\n): Promise<RSCResponse<T> | null> {\n const fetchPriority = 'low'\n // When issuing a prefetch request, don't immediately decode the response; we\n // use the lower level `createFromResponse` API instead because we need to do\n // some extra processing of the response stream. See\n // `createPrefetchResponseStream` for more details.\n const shouldImmediatelyDecode = false\n const response = await createFetch<T>(\n url,\n headers,\n fetchPriority,\n shouldImmediatelyDecode\n )\n if (!response.ok) {\n return null\n }\n\n // Check the content type\n if (isOutputExportMode) {\n // In output: \"export\" mode, we relaxed about the content type, since it's\n // not Next.js that's serving the response. If the status is OK, assume the\n // response is valid. If it's not a valid response, the Flight client won't\n // be able to decode it, and we'll treat it as a miss.\n } else {\n const contentType = response.headers.get('content-type')\n const isFlightResponse =\n contentType && contentType.startsWith(RSC_CONTENT_TYPE_HEADER)\n if (!isFlightResponse) {\n return null\n }\n }\n return response\n}\n\nfunction createPrefetchResponseStream(\n originalFlightStream: ReadableStream<Uint8Array>,\n onStreamClose: () => void,\n onResponseSizeUpdate: (size: number) => void\n): ReadableStream<Uint8Array> {\n // When PPR is enabled, prefetch streams may contain references that never\n // resolve, because that's how we encode dynamic data access. In the decoded\n // object returned by the Flight client, these are reified into hanging\n // promises that suspend during render, which is effectively what we want.\n // The UI resolves when it switches to the dynamic data stream\n // (via useDeferredValue(dynamic, static)).\n //\n // However, the Flight implementation currently errors if the server closes\n // the response before all the references are resolved. As a cheat to work\n // around this, we wrap the original stream in a new stream that never closes,\n // and therefore doesn't error.\n //\n // While processing the original stream, we also incrementally update the size\n // of the cache entry in the LRU.\n let totalByteLength = 0\n const reader = originalFlightStream.getReader()\n return new ReadableStream({\n async pull(controller) {\n while (true) {\n const { done, value } = await reader.read()\n if (!done) {\n // Pass to the target stream and keep consuming the Flight response\n // from the server.\n controller.enqueue(value)\n\n // Incrementally update the size of the cache entry in the LRU.\n // NOTE: Since prefetch responses are delivered in a single chunk,\n // it's not really necessary to do this streamingly, but I'm doing it\n // anyway in case this changes in the future.\n totalByteLength += value.byteLength\n onResponseSizeUpdate(totalByteLength)\n continue\n }\n // The server stream has closed. Exit, but intentionally do not close\n // the target stream. We do notify the caller, though.\n onStreamClose()\n return\n }\n },\n })\n}\n\nfunction addSegmentPathToUrlInOutputExportMode(\n url: URL,\n segmentPath: SegmentRequestKey\n): URL {\n if (isOutputExportMode) {\n // In output: \"export\" mode, we cannot use a header to encode the segment\n // path. Instead, we append it to the end of the pathname.\n const staticUrl = new URL(url)\n const routeDir = staticUrl.pathname.endsWith('/')\n ? staticUrl.pathname.slice(0, -1)\n : staticUrl.pathname\n const staticExportFilename =\n convertSegmentPathToStaticExportFilename(segmentPath)\n staticUrl.pathname = `${routeDir}/${staticExportFilename}`\n return staticUrl\n }\n return url\n}\n\n/**\n * Checks whether the new fetch strategy is likely to provide more content than the old one.\n *\n * Generally, when an app uses dynamic data, a \"more specific\" fetch strategy is expected to provide more content:\n * - `LoadingBoundary` only provides static layouts\n * - `PPR` can provide shells for each segment (even for segments that use dynamic data)\n * - `PPRRuntime` can additionally include content that uses searchParams, params, or cookies\n * - `Full` includes all the content, even if it uses dynamic data\n *\n * However, it's possible that a more specific fetch strategy *won't* give us more content if:\n * - a segment is fully static\n * (then, `PPR`/`PPRRuntime`/`Full` will all yield equivalent results)\n * - providing searchParams/params/cookies doesn't reveal any more content, e.g. because of an `await connection()`\n * (then, `PPR` and `PPRRuntime` will yield equivalent results, only `Full` will give us more)\n * Because of this, when comparing two segments, we should also check if the existing segment is partial.\n * If it's not partial, then there's no need to prefetch it again, even using a \"more specific\" strategy.\n * There's currently no way to know if `PPRRuntime` will yield more data that `PPR`, so we have to assume it will.\n *\n * Also note that, in practice, we don't expect to be comparing `LoadingBoundary` to `PPR`/`PPRRuntime`,\n * because a non-PPR-enabled route wouldn't ever use the latter strategies. It might however use `Full`.\n */\nexport function canNewFetchStrategyProvideMoreContent(\n currentStrategy: FetchStrategy,\n newStrategy: FetchStrategy\n): boolean {\n return currentStrategy < newStrategy\n}\n"],"names":["EntryStatus","canNewFetchStrategyProvideMoreContent","convertRouteTreeToFlightRouterState","createDetachedSegmentCacheEntry","fetchRouteOnCacheMiss","fetchSegmentOnCacheMiss","fetchSegmentPrefetchesUsingDynamicRequest","getCurrentCacheVersion","getStaleTimeMs","overwriteRevalidatingSegmentCacheEntry","pingInvalidationListeners","readOrCreateRevalidatingSegmentEntry","readOrCreateRouteCacheEntry","readOrCreateSegmentCacheEntry","readRouteCacheEntry","readSegmentCacheEntry","requestOptimisticRouteCacheEntry","revalidateEntireCache","upgradeToPendingSegment","upsertSegmentEntry","waitForSegmentCacheEntry","staleTimeSeconds","Math","max","isOutputExportMode","process","env","NODE_ENV","__NEXT_CONFIG_OUTPUT","MetadataOnlyRequestTree","routeCacheMap","createCacheMap","segmentCacheMap","invalidationListeners","currentCacheVersion","nextUrl","tree","startRevalidationCooldown","pingVisibleLinks","attachInvalidationListener","task","onInvalidate","Set","add","notifyInvalidationListener","error","reportError","console","tasks","isPrefetchTaskDirty","now","key","varyPath","getRouteVaryPath","pathname","search","isRevalidation","getFromCacheMap","readRevalidatingSegmentCacheEntry","pendingEntry","promiseWithResolvers","promise","createPromiseWithResolvers","existingEntry","canonicalUrl","status","blockedTasks","metadata","couldBeIntercepted","isPPREnabled","renderedSearch","ref","size","staleAt","Infinity","version","setInCacheMap","requestedUrl","requestedSearch","urlWithoutSearchParams","URL","routeWithNoSearchParams","createPrefetchRequestKey","href","canonicalUrlForRouteWithNoSearchParams","origin","optimisticCanonicalSearch","optimisticRenderedSearch","optimisticUrl","location","optimisticCanonicalUrl","createHrefFromUrl","optimisticRouteTree","createOptimisticRouteTree","optimisticMetadataTree","optimisticEntry","newRenderedSearch","clonedSlots","originalSlots","slots","parallelRouteKey","childTree","isPage","requestKey","segment","clonePageVaryPathWithNewSearchParams","isRootLayout","hasLoadingBoundary","hasRuntimePrefetch","fetchStrategy","route","varyPathForRequest","getSegmentVaryPathForRequest","candidateEntry","isValueExpired","isPartial","rejectedEntry","loading","rsc","deleteFromCacheMap","emptyEntry","FetchStrategy","PPR","Full","pingBlockedTasks","entry","pingPrefetchTask","fulfillRouteCacheEntry","metadataVaryPath","HEAD_REQUEST_KEY","HasLoadingBoundary","SubtreeHasNoLoadingBoundary","fulfilledEntry","fulfillSegmentCacheEntry","segmentCacheEntry","resolve","rejectRouteCacheEntry","rejectSegmentCacheEntry","convertRootTreePrefetchToRouteTree","rootTree","renderedPathname","acc","pathnameParts","split","filter","p","index","rootSegment","ROOT_SEGMENT_REQUEST_KEY","convertTreePrefetchToRouteTree","prefetch","partialVaryPath","pathnamePartsIndex","prefetchSlots","finalizeLayoutVaryPath","childPrefetch","childParamName","name","childParamType","paramType","childServerSentParamKey","paramKey","childDoesAppearInURL","childSegment","childPartialVaryPath","childParamValue","parseDynamicParamFromURLPart","childParamKey","getCacheKeyForDynamicParam","appendLayoutVaryPath","doesStaticSegmentAppearInURL","childPathnamePartsIndex","childRequestKeyPart","createSegmentRequestKeyPart","childRequestKey","appendSegmentRequestKeyPart","endsWith","PAGE_SEGMENT_KEY","finalizePageVaryPath","finalizeMetadataVaryPath","SegmentHasLoadingBoundary","convertRootFlightRouterStateToRouteTree","flightRouterState","convertFlightRouterStateToRouteTree","parentPartialVaryPath","originalSegment","Array","isArray","paramCacheKey","parallelRoutes","childRouterState","undefined","routeTree","segmentPath","headers","RSC_HEADER","NEXT_ROUTER_PREFETCH_HEADER","NEXT_ROUTER_SEGMENT_PREFETCH_HEADER","NEXT_URL","url","response","urlAfterRedirects","headResponse","fetch","method","Date","redirected","fetchPrefetchResponse","addSegmentPathToUrlInOutputExportMode","ok","body","varyHeader","get","includes","closed","routeIsPPREnabled","NEXT_DID_POSTPONE_HEADER","prefetchStream","createPrefetchResponseStream","onResponseSizeUpdate","setSizeInCacheMap","serverData","createFromNextReadableStream","buildId","getAppBuildId","getRenderedPathname","getRenderedSearch","staleTimeMs","staleTime","b","writeDynamicTreeResponseIntoCache","LoadingBoundary","fulfilledVaryPath","getFulfilledRouteVaryPath","value","routeKey","normalizedRequestKey","requestUrl","dynamicRequestTree","spawnedEntries","has","NEXT_ROUTER_STATE_TREE_HEADER","prepareFlightRouterStateForRequest","PPRRuntime","rejectSegmentEntriesIfStillPending","fulfilledEntries","totalBytesReceivedSoFar","averageSize","length","isResponsePartial","rp","writeDynamicRenderResponseIntoCache","normalizedFlightDataResult","normalizeFlightData","f","flightData","isRootRender","parseInt","NEXT_ROUTER_STALE_TIME_HEADER","isNaN","STATIC_STALETIME_MS","entries","values","push","flightDatas","seedData","i","writeSeedDataIntoCache","head","fulfillEntrySpawnedByRuntimePrefetch","isHeadPartial","entriesOwnedByCurrentTask","seedDataChildren","childSeedData","ownedEntry","possiblyNewEntry","newEntry","fetchPriority","shouldImmediatelyDecode","createFetch","contentType","isFlightResponse","startsWith","RSC_CONTENT_TYPE_HEADER","originalFlightStream","onStreamClose","totalByteLength","reader","getReader","ReadableStream","pull","controller","done","read","enqueue","byteLength","staticUrl","routeDir","slice","staticExportFilename","convertSegmentPathToStaticExportFilename","currentStrategy","newStrategy"],"mappings":"AA+QEyB,QAAQC,GAAG,CAACC,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAhGJ3B,WAAW,EAAA;eAAXA;;IAqkEFC,qCAAqC,EAAA;eAArCA;;IAhgCAC,mCAAmC,EAAA;eAAnCA;;IApcAC,+BAA+B,EAAA;eAA/BA;;IAydMC,qBAAqB,EAAA;eAArBA;;IAoRAC,uBAAuB,EAAA;eAAvBA;;IAqHAC,yCAAyC,EAAA;eAAzCA;;IA32CNC,sBAAsB,EAAA;eAAtBA;;IAvMAC,cAAc,EAAA;eAAdA;;IAqoBAC,sCAAsC,EAAA;eAAtCA;;IAzXAC,yBAAyB,EAAA;eAAzBA;;IAuUAC,oCAAoC,EAAA;eAApCA;;IAlPAC,2BAA2B,EAAA;eAA3BA;;IA2NAC,6BAA6B,EAAA;eAA7BA;;IA7RAC,mBAAmB,EAAA;eAAnBA;;IAmBAC,qBAAqB,EAAA;eAArBA;;IA2FAC,gCAAgC,EAAA;eAAhCA;;IA5LAC,qBAAqB,EAAA;eAArBA;;IAq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BACnC5E,qBAAqBmE;oBACrB;gBACF;gBACA,qEAAqE;gBACrE,sDAAsD;gBACtDD;gBACA;YACF;QACF;IACF;AACF;AAEA,SAAS7E,sCACPT,GAAQ,EACRN,WAA8B;IAE9B,IAAIzK,oBAAoB;;IAYxB,OAAO+K;AACT;AAuBO,SAAStM,sCACd4S,eAA8B,EAC9BC,WAA0B;IAE1B,OAAOD,kBAAkBC;AAC3B","ignoreList":[0]}}, - {"offset": {"line": 7620, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/segment-cache/navigation.ts"],"sourcesContent":["import type {\n CacheNodeSeedData,\n FlightRouterState,\n FlightSegmentPath,\n} from '../../../shared/lib/app-router-types'\nimport type { CacheNode } from '../../../shared/lib/app-router-types'\nimport type {\n HeadData,\n LoadingModuleData,\n} from '../../../shared/lib/app-router-types'\nimport type { NormalizedFlightData } from '../../flight-data-helpers'\nimport { fetchServerResponse } from '../router-reducer/fetch-server-response'\nimport {\n startPPRNavigation,\n spawnDynamicRequests,\n FreshnessPolicy,\n type NavigationTask,\n type NavigationRequestAccumulation,\n} from '../router-reducer/ppr-navigations'\nimport { createHrefFromUrl } from '../router-reducer/create-href-from-url'\nimport {\n EntryStatus,\n readRouteCacheEntry,\n readSegmentCacheEntry,\n waitForSegmentCacheEntry,\n requestOptimisticRouteCacheEntry,\n type RouteTree,\n type FulfilledRouteCacheEntry,\n} from './cache'\nimport { createCacheKey } from './cache-key'\nimport { addSearchParamsIfPageSegment } from '../../../shared/lib/segment'\nimport { NavigationResultTag } from './types'\n\ntype MPANavigationResult = {\n tag: NavigationResultTag.MPA\n data: string\n}\n\ntype SuccessfulNavigationResult = {\n tag: NavigationResultTag.Success\n data: {\n flightRouterState: FlightRouterState\n cacheNode: CacheNode\n canonicalUrl: string\n renderedSearch: string\n scrollableSegments: Array<FlightSegmentPath> | null\n shouldScroll: boolean\n hash: string\n }\n}\n\ntype AsyncNavigationResult = {\n tag: NavigationResultTag.Async\n data: Promise<MPANavigationResult | SuccessfulNavigationResult>\n}\n\nexport type NavigationResult =\n | MPANavigationResult\n | SuccessfulNavigationResult\n | AsyncNavigationResult\n\n/**\n * Navigate to a new URL, using the Segment Cache to construct a response.\n *\n * To allow for synchronous navigations whenever possible, this is not an async\n * function. It returns a promise only if there's no matching prefetch in\n * the cache. Otherwise it returns an immediate result and uses Suspense/RSC to\n * stream in any missing data.\n */\nexport function navigate(\n url: URL,\n currentUrl: URL,\n currentCacheNode: CacheNode | null,\n currentFlightRouterState: FlightRouterState,\n nextUrl: string | null,\n freshnessPolicy: FreshnessPolicy,\n shouldScroll: boolean,\n accumulation: { collectedDebugInfo?: Array<unknown> }\n): NavigationResult {\n const now = Date.now()\n const href = url.href\n\n // We special case navigations to the exact same URL as the current location.\n // It's a common UI pattern for apps to refresh when you click a link to the\n // current page. So when this happens, we refresh the dynamic data in the page\n // segments.\n //\n // Note that this does not apply if the any part of the hash or search query\n // has changed. This might feel a bit weird but it makes more sense when you\n // consider that the way to trigger this behavior is to click the same link\n // multiple times.\n //\n // TODO: We should probably refresh the *entire* route when this case occurs,\n // not just the page segments. Essentially treating it the same as a refresh()\n // triggered by an action, which is the more explicit way of modeling the UI\n // pattern described above.\n //\n // Also note that this only refreshes the dynamic data, not static/ cached\n // data. If the page segment is fully static and prefetched, the request is\n // skipped. (This is also how refresh() works.)\n const isSamePageNavigation = href === currentUrl.href\n\n const cacheKey = createCacheKey(href, nextUrl)\n const route = readRouteCacheEntry(now, cacheKey)\n if (route !== null && route.status === EntryStatus.Fulfilled) {\n // We have a matching prefetch.\n const snapshot = readRenderSnapshotFromCache(now, route, route.tree)\n const prefetchFlightRouterState = snapshot.flightRouterState\n const prefetchSeedData = snapshot.seedData\n const headSnapshot = readHeadSnapshotFromCache(now, route)\n const prefetchHead = headSnapshot.rsc\n const isPrefetchHeadPartial = headSnapshot.isPartial\n // TODO: The \"canonicalUrl\" stored in the cache doesn't include the hash,\n // because hash entries do not vary by hash fragment. However, the one\n // we set in the router state *does* include the hash, and it's used to\n // sync with the actual browser location. To make this less of a refactor\n // hazard, we should always track the hash separately from the rest of\n // the URL.\n const newCanonicalUrl = route.canonicalUrl + url.hash\n const renderedSearch = route.renderedSearch\n return navigateUsingPrefetchedRouteTree(\n now,\n url,\n currentUrl,\n nextUrl,\n isSamePageNavigation,\n currentCacheNode,\n currentFlightRouterState,\n prefetchFlightRouterState,\n prefetchSeedData,\n prefetchHead,\n isPrefetchHeadPartial,\n newCanonicalUrl,\n renderedSearch,\n freshnessPolicy,\n shouldScroll\n )\n }\n\n // There was no matching route tree in the cache. Let's see if we can\n // construct an \"optimistic\" route tree.\n //\n // Do not construct an optimistic route tree if there was a cache hit, but\n // the entry has a rejected status, since it may have been rejected due to a\n // rewrite or redirect based on the search params.\n //\n // TODO: There are multiple reasons a prefetch might be rejected; we should\n // track them explicitly and choose what to do here based on that.\n if (route === null || route.status !== EntryStatus.Rejected) {\n const optimisticRoute = requestOptimisticRouteCacheEntry(now, url, nextUrl)\n if (optimisticRoute !== null) {\n // We have an optimistic route tree. Proceed with the normal flow.\n const snapshot = readRenderSnapshotFromCache(\n now,\n optimisticRoute,\n optimisticRoute.tree\n )\n const prefetchFlightRouterState = snapshot.flightRouterState\n const prefetchSeedData = snapshot.seedData\n const headSnapshot = readHeadSnapshotFromCache(now, optimisticRoute)\n const prefetchHead = headSnapshot.rsc\n const isPrefetchHeadPartial = headSnapshot.isPartial\n const newCanonicalUrl = optimisticRoute.canonicalUrl + url.hash\n const newRenderedSearch = optimisticRoute.renderedSearch\n return navigateUsingPrefetchedRouteTree(\n now,\n url,\n currentUrl,\n nextUrl,\n isSamePageNavigation,\n currentCacheNode,\n currentFlightRouterState,\n prefetchFlightRouterState,\n prefetchSeedData,\n prefetchHead,\n isPrefetchHeadPartial,\n newCanonicalUrl,\n newRenderedSearch,\n freshnessPolicy,\n shouldScroll\n )\n }\n }\n\n // There's no matching prefetch for this route in the cache.\n let collectedDebugInfo = accumulation.collectedDebugInfo ?? []\n if (accumulation.collectedDebugInfo === undefined) {\n collectedDebugInfo = accumulation.collectedDebugInfo = []\n }\n return {\n tag: NavigationResultTag.Async,\n data: navigateDynamicallyWithNoPrefetch(\n now,\n url,\n currentUrl,\n nextUrl,\n currentCacheNode,\n currentFlightRouterState,\n freshnessPolicy,\n shouldScroll,\n collectedDebugInfo\n ),\n }\n}\n\nexport function navigateToSeededRoute(\n now: number,\n url: URL,\n canonicalUrl: string,\n navigationSeed: NavigationSeed,\n currentUrl: URL,\n currentCacheNode: CacheNode | null,\n currentFlightRouterState: FlightRouterState,\n freshnessPolicy: FreshnessPolicy,\n nextUrl: string | null,\n shouldScroll: boolean\n): SuccessfulNavigationResult | MPANavigationResult {\n // A version of navigate() that accepts the target route tree as an argument\n // rather than reading it from the prefetch cache.\n const accumulation: NavigationRequestAccumulation = {\n scrollableSegments: null,\n separateRefreshUrls: null,\n }\n const isSamePageNavigation = url.href === currentUrl.href\n const task = startPPRNavigation(\n now,\n currentUrl,\n currentCacheNode,\n currentFlightRouterState,\n navigationSeed.tree,\n freshnessPolicy,\n navigationSeed.data,\n navigationSeed.head,\n null,\n null,\n false,\n isSamePageNavigation,\n accumulation\n )\n if (task !== null) {\n spawnDynamicRequests(task, url, nextUrl, freshnessPolicy, accumulation)\n return navigationTaskToResult(\n task,\n canonicalUrl,\n navigationSeed.renderedSearch,\n accumulation.scrollableSegments,\n shouldScroll,\n url.hash\n )\n }\n // Could not perform a SPA navigation. Revert to a full-page (MPA) navigation.\n return {\n tag: NavigationResultTag.MPA,\n data: canonicalUrl,\n }\n}\n\nfunction navigateUsingPrefetchedRouteTree(\n now: number,\n url: URL,\n currentUrl: URL,\n nextUrl: string | null,\n isSamePageNavigation: boolean,\n currentCacheNode: CacheNode | null,\n currentFlightRouterState: FlightRouterState,\n prefetchFlightRouterState: FlightRouterState,\n prefetchSeedData: CacheNodeSeedData | null,\n prefetchHead: HeadData | null,\n isPrefetchHeadPartial: boolean,\n canonicalUrl: string,\n renderedSearch: string,\n freshnessPolicy: FreshnessPolicy,\n shouldScroll: boolean\n): SuccessfulNavigationResult | MPANavigationResult {\n // Recursively construct a prefetch tree by reading from the Segment Cache. To\n // maintain compatibility, we output the same data structures as the old\n // prefetching implementation: FlightRouterState and CacheNodeSeedData.\n // TODO: Eventually updateCacheNodeOnNavigation (or the equivalent) should\n // read from the Segment Cache directly. It's only structured this way for now\n // so we can share code with the old prefetching implementation.\n const accumulation: NavigationRequestAccumulation = {\n scrollableSegments: null,\n separateRefreshUrls: null,\n }\n const seedData = null\n const seedHead = null\n const task = startPPRNavigation(\n now,\n currentUrl,\n currentCacheNode,\n currentFlightRouterState,\n prefetchFlightRouterState,\n freshnessPolicy,\n seedData,\n seedHead,\n prefetchSeedData,\n prefetchHead,\n isPrefetchHeadPartial,\n isSamePageNavigation,\n accumulation\n )\n if (task !== null) {\n spawnDynamicRequests(task, url, nextUrl, freshnessPolicy, accumulation)\n return navigationTaskToResult(\n task,\n canonicalUrl,\n renderedSearch,\n accumulation.scrollableSegments,\n shouldScroll,\n url.hash\n )\n }\n // Could not perform a SPA navigation. Revert to a full-page (MPA) navigation.\n return {\n tag: NavigationResultTag.MPA,\n data: canonicalUrl,\n }\n}\n\nfunction navigationTaskToResult(\n task: NavigationTask,\n canonicalUrl: string,\n renderedSearch: string,\n scrollableSegments: Array<FlightSegmentPath> | null,\n shouldScroll: boolean,\n hash: string\n): SuccessfulNavigationResult | MPANavigationResult {\n return {\n tag: NavigationResultTag.Success,\n data: {\n flightRouterState: task.route,\n cacheNode: task.node,\n canonicalUrl,\n renderedSearch,\n scrollableSegments,\n shouldScroll,\n hash,\n },\n }\n}\n\nfunction readRenderSnapshotFromCache(\n now: number,\n route: FulfilledRouteCacheEntry,\n tree: RouteTree\n): { flightRouterState: FlightRouterState; seedData: CacheNodeSeedData } {\n let childRouterStates: { [parallelRouteKey: string]: FlightRouterState } = {}\n let childSeedDatas: {\n [parallelRouteKey: string]: CacheNodeSeedData | null\n } = {}\n const slots = tree.slots\n if (slots !== null) {\n for (const parallelRouteKey in slots) {\n const childTree = slots[parallelRouteKey]\n const childResult = readRenderSnapshotFromCache(now, route, childTree)\n childRouterStates[parallelRouteKey] = childResult.flightRouterState\n childSeedDatas[parallelRouteKey] = childResult.seedData\n }\n }\n\n let rsc: React.ReactNode | null = null\n let loading: LoadingModuleData | Promise<LoadingModuleData> = null\n let isPartial: boolean = true\n\n const segmentEntry = readSegmentCacheEntry(now, tree.varyPath)\n if (segmentEntry !== null) {\n switch (segmentEntry.status) {\n case EntryStatus.Fulfilled: {\n // Happy path: a cache hit\n rsc = segmentEntry.rsc\n loading = segmentEntry.loading\n isPartial = segmentEntry.isPartial\n break\n }\n case EntryStatus.Pending: {\n // We haven't received data for this segment yet, but there's already\n // an in-progress request. Since it's extremely likely to arrive\n // before the dynamic data response, we might as well use it.\n const promiseForFulfilledEntry = waitForSegmentCacheEntry(segmentEntry)\n rsc = promiseForFulfilledEntry.then((entry) =>\n entry !== null ? entry.rsc : null\n )\n loading = promiseForFulfilledEntry.then((entry) =>\n entry !== null ? entry.loading : null\n )\n // Because the request is still pending, we typically don't know yet\n // whether the response will be partial. We shouldn't skip this segment\n // during the dynamic navigation request. Otherwise, we might need to\n // do yet another request to fill in the remaining data, creating\n // a waterfall.\n //\n // The one exception is if this segment is being fetched with via\n // prefetch={true} (i.e. the \"force stale\" or \"full\" strategy). If so,\n // we can assume the response will be full. This field is set to `false`\n // for such segments.\n isPartial = segmentEntry.isPartial\n break\n }\n case EntryStatus.Empty:\n case EntryStatus.Rejected:\n break\n default:\n segmentEntry satisfies never\n }\n }\n\n // The navigation implementation expects the search params to be\n // included in the segment. However, the Segment Cache tracks search\n // params separately from the rest of the segment key. So we need to\n // add them back here.\n //\n // See corresponding comment in convertFlightRouterStateToTree.\n //\n // TODO: What we should do instead is update the navigation diffing\n // logic to compare search params explicitly. This is a temporary\n // solution until more of the Segment Cache implementation has settled.\n const segment = addSearchParamsIfPageSegment(\n tree.segment,\n Object.fromEntries(new URLSearchParams(route.renderedSearch))\n )\n\n // We don't need this information in a render snapshot, so this can just be a placeholder.\n const hasRuntimePrefetch = false\n\n return {\n flightRouterState: [\n segment,\n childRouterStates,\n null,\n null,\n tree.isRootLayout,\n ],\n seedData: [rsc, childSeedDatas, loading, isPartial, hasRuntimePrefetch],\n }\n}\n\nfunction readHeadSnapshotFromCache(\n now: number,\n route: FulfilledRouteCacheEntry\n): { rsc: HeadData; isPartial: boolean } {\n // Same as readRenderSnapshotFromCache, but for the head\n let rsc: React.ReactNode | null = null\n let isPartial: boolean = true\n const segmentEntry = readSegmentCacheEntry(now, route.metadata.varyPath)\n if (segmentEntry !== null) {\n switch (segmentEntry.status) {\n case EntryStatus.Fulfilled: {\n rsc = segmentEntry.rsc\n isPartial = segmentEntry.isPartial\n break\n }\n case EntryStatus.Pending: {\n const promiseForFulfilledEntry = waitForSegmentCacheEntry(segmentEntry)\n rsc = promiseForFulfilledEntry.then((entry) =>\n entry !== null ? entry.rsc : null\n )\n isPartial = segmentEntry.isPartial\n break\n }\n case EntryStatus.Empty:\n case EntryStatus.Rejected:\n break\n default:\n segmentEntry satisfies never\n }\n }\n return { rsc, isPartial }\n}\n\n// Used to request all the dynamic data for a route, rather than just a subset,\n// e.g. during a refresh or a revalidation. Typically this gets constructed\n// during the normal flow when diffing the route tree, but for an unprefetched\n// navigation, where we don't know the structure of the target route, we use\n// this instead.\nconst DynamicRequestTreeForEntireRoute: FlightRouterState = [\n '',\n {},\n null,\n 'refetch',\n]\n\nasync function navigateDynamicallyWithNoPrefetch(\n now: number,\n url: URL,\n currentUrl: URL,\n nextUrl: string | null,\n currentCacheNode: CacheNode | null,\n currentFlightRouterState: FlightRouterState,\n freshnessPolicy: FreshnessPolicy,\n shouldScroll: boolean,\n collectedDebugInfo: Array<unknown>\n): Promise<MPANavigationResult | SuccessfulNavigationResult> {\n // Runs when a navigation happens but there's no cached prefetch we can use.\n // Don't bother to wait for a prefetch response; go straight to a full\n // navigation that contains both static and dynamic data in a single stream.\n // (This is unlike the old navigation implementation, which instead blocks\n // the dynamic request until a prefetch request is received.)\n //\n // To avoid duplication of logic, we're going to pretend that the tree\n // returned by the dynamic request is, in fact, a prefetch tree. Then we can\n // use the same server response to write the actual data into the CacheNode\n // tree. So it's the same flow as the \"happy path\" (prefetch, then\n // navigation), except we use a single server response for both stages.\n\n let dynamicRequestTree: FlightRouterState\n switch (freshnessPolicy) {\n case FreshnessPolicy.Default:\n case FreshnessPolicy.HistoryTraversal:\n dynamicRequestTree = currentFlightRouterState\n break\n case FreshnessPolicy.Hydration: // <- shouldn't happen during client nav\n case FreshnessPolicy.RefreshAll:\n case FreshnessPolicy.HMRRefresh:\n dynamicRequestTree = DynamicRequestTreeForEntireRoute\n break\n default:\n freshnessPolicy satisfies never\n dynamicRequestTree = currentFlightRouterState\n break\n }\n\n const promiseForDynamicServerResponse = fetchServerResponse(url, {\n flightRouterState: dynamicRequestTree,\n nextUrl,\n })\n const result = await promiseForDynamicServerResponse\n if (typeof result === 'string') {\n // This is an MPA navigation.\n const newUrl = result\n return {\n tag: NavigationResultTag.MPA,\n data: newUrl,\n }\n }\n\n const {\n flightData,\n canonicalUrl,\n renderedSearch,\n debugInfo: debugInfoFromResponse,\n } = result\n if (debugInfoFromResponse !== null) {\n collectedDebugInfo.push(...debugInfoFromResponse)\n }\n\n // Since the response format of dynamic requests and prefetches is slightly\n // different, we'll need to massage the data a bit. Create FlightRouterState\n // tree that simulates what we'd receive as the result of a prefetch.\n const navigationSeed = convertServerPatchToFullTree(\n currentFlightRouterState,\n flightData,\n renderedSearch\n )\n\n return navigateToSeededRoute(\n now,\n url,\n createHrefFromUrl(canonicalUrl),\n navigationSeed,\n currentUrl,\n currentCacheNode,\n currentFlightRouterState,\n freshnessPolicy,\n nextUrl,\n shouldScroll\n )\n}\n\nexport type NavigationSeed = {\n tree: FlightRouterState\n renderedSearch: string\n data: CacheNodeSeedData | null\n head: HeadData | null\n}\n\nexport function convertServerPatchToFullTree(\n currentTree: FlightRouterState,\n flightData: Array<NormalizedFlightData>,\n renderedSearch: string\n): NavigationSeed {\n // During a client navigation or prefetch, the server sends back only a patch\n // for the parts of the tree that have changed.\n //\n // This applies the patch to the base tree to create a full representation of\n // the resulting tree.\n //\n // The return type includes a full FlightRouterState tree and a full\n // CacheNodeSeedData tree. (Conceptually these are the same tree, and should\n // eventually be unified, but there's still lots of existing code that\n // operates on FlightRouterState trees alone without the CacheNodeSeedData.)\n //\n // TODO: This similar to what apply-router-state-patch-to-tree does. It\n // will eventually fully replace it. We should get rid of all the remaining\n // places where we iterate over the server patch format. This should also\n // eventually replace normalizeFlightData.\n\n let baseTree: FlightRouterState = currentTree\n let baseData: CacheNodeSeedData | null = null\n let head: HeadData | null = null\n for (const {\n segmentPath,\n tree: treePatch,\n seedData: dataPatch,\n head: headPatch,\n } of flightData) {\n const result = convertServerPatchToFullTreeImpl(\n baseTree,\n baseData,\n treePatch,\n dataPatch,\n segmentPath,\n 0\n )\n baseTree = result.tree\n baseData = result.data\n // This is the same for all patches per response, so just pick an\n // arbitrary one\n head = headPatch\n }\n\n return {\n tree: baseTree,\n data: baseData,\n renderedSearch,\n head,\n }\n}\n\nfunction convertServerPatchToFullTreeImpl(\n baseRouterState: FlightRouterState,\n baseData: CacheNodeSeedData | null,\n treePatch: FlightRouterState,\n dataPatch: CacheNodeSeedData | null,\n segmentPath: FlightSegmentPath,\n index: number\n): { tree: FlightRouterState; data: CacheNodeSeedData | null } {\n if (index === segmentPath.length) {\n // We reached the part of the tree that we need to patch.\n return {\n tree: treePatch,\n data: dataPatch,\n }\n }\n\n // segmentPath represents the parent path of subtree. It's a repeating\n // pattern of parallel route key and segment:\n //\n // [string, Segment, string, Segment, string, Segment, ...]\n //\n // This path tells us which part of the base tree to apply the tree patch.\n //\n // NOTE: We receive the FlightRouterState patch in the same request as the\n // seed data patch. Therefore we don't need to worry about diffing the segment\n // values; we can assume the server sent us a correct result.\n const updatedParallelRouteKey: string = segmentPath[index]\n // const segment: Segment = segmentPath[index + 1] <-- Not used, see note above\n\n const baseTreeChildren = baseRouterState[1]\n const baseSeedDataChildren = baseData !== null ? baseData[1] : null\n const newTreeChildren: Record<string, FlightRouterState> = {}\n const newSeedDataChildren: Record<string, CacheNodeSeedData | null> = {}\n for (const parallelRouteKey in baseTreeChildren) {\n const childBaseRouterState = baseTreeChildren[parallelRouteKey]\n const childBaseSeedData =\n baseSeedDataChildren !== null\n ? (baseSeedDataChildren[parallelRouteKey] ?? null)\n : null\n if (parallelRouteKey === updatedParallelRouteKey) {\n const result = convertServerPatchToFullTreeImpl(\n childBaseRouterState,\n childBaseSeedData,\n treePatch,\n dataPatch,\n segmentPath,\n // Advance the index by two and keep cloning until we reach\n // the end of the segment path.\n index + 2\n )\n\n newTreeChildren[parallelRouteKey] = result.tree\n newSeedDataChildren[parallelRouteKey] = result.data\n } else {\n // This child is not being patched. Copy it over as-is.\n newTreeChildren[parallelRouteKey] = childBaseRouterState\n newSeedDataChildren[parallelRouteKey] = childBaseSeedData\n }\n }\n\n let clonedTree: FlightRouterState\n let clonedSeedData: CacheNodeSeedData\n // Clone all the fields except the children.\n\n // Clone the FlightRouterState tree. Based on equivalent logic in\n // apply-router-state-patch-to-tree, but should confirm whether we need to\n // copy all of these fields. Not sure the server ever sends, e.g. the\n // refetch marker.\n clonedTree = [baseRouterState[0], newTreeChildren]\n if (2 in baseRouterState) {\n clonedTree[2] = baseRouterState[2]\n }\n if (3 in baseRouterState) {\n clonedTree[3] = baseRouterState[3]\n }\n if (4 in baseRouterState) {\n clonedTree[4] = baseRouterState[4]\n }\n\n // Clone the CacheNodeSeedData tree.\n const isEmptySeedDataPartial = true\n clonedSeedData = [\n null,\n newSeedDataChildren,\n null,\n isEmptySeedDataPartial,\n false,\n ]\n\n return {\n tree: clonedTree,\n data: clonedSeedData,\n }\n}\n"],"names":["convertServerPatchToFullTree","navigate","navigateToSeededRoute","url","currentUrl","currentCacheNode","currentFlightRouterState","nextUrl","freshnessPolicy","shouldScroll","accumulation","now","Date","href","isSamePageNavigation","cacheKey","createCacheKey","route","readRouteCacheEntry","status","EntryStatus","Fulfilled","snapshot","readRenderSnapshotFromCache","tree","prefetchFlightRouterState","flightRouterState","prefetchSeedData","seedData","headSnapshot","readHeadSnapshotFromCache","prefetchHead","rsc","isPrefetchHeadPartial","isPartial","newCanonicalUrl","canonicalUrl","hash","renderedSearch","navigateUsingPrefetchedRouteTree","Rejected","optimisticRoute","requestOptimisticRouteCacheEntry","newRenderedSearch","collectedDebugInfo","undefined","tag","NavigationResultTag","Async","data","navigateDynamicallyWithNoPrefetch","navigationSeed","scrollableSegments","separateRefreshUrls","task","startPPRNavigation","head","spawnDynamicRequests","navigationTaskToResult","MPA","seedHead","Success","cacheNode","node","childRouterStates","childSeedDatas","slots","parallelRouteKey","childTree","childResult","loading","segmentEntry","readSegmentCacheEntry","varyPath","Pending","promiseForFulfilledEntry","waitForSegmentCacheEntry","then","entry","Empty","segment","addSearchParamsIfPageSegment","Object","fromEntries","URLSearchParams","hasRuntimePrefetch","isRootLayout","metadata","DynamicRequestTreeForEntireRoute","dynamicRequestTree","FreshnessPolicy","Default","HistoryTraversal","Hydration","RefreshAll","HMRRefresh","promiseForDynamicServerResponse","fetchServerResponse","result","newUrl","flightData","debugInfo","debugInfoFromResponse","push","createHrefFromUrl","currentTree","baseTree","baseData","segmentPath","treePatch","dataPatch","headPatch","convertServerPatchToFullTreeImpl","baseRouterState","index","length","updatedParallelRouteKey","baseTreeChildren","baseSeedDataChildren","newTreeChildren","newSeedDataChildren","childBaseRouterState","childBaseSeedData","clonedTree","clonedSeedData","isEmptySeedDataPartial"],"mappings":";;;;;;;;;;;;;;;IA+jBgBA,4BAA4B,EAAA;eAA5BA;;IA1fAC,QAAQ,EAAA;eAARA;;IAwIAC,qBAAqB,EAAA;eAArBA;;;qCAlMoB;gCAO7B;mCAC2B;uBAS3B;0BACwB;yBACc;uBACT;AAsC7B,SAASD,SACdE,GAAQ,EACRC,UAAe,EACfC,gBA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,WACAF,aACA,AACA,+BAA+B,4BAD4B;YAE3DM,QAAQ;YAGVK,eAAe,CAACpD,iBAAiB,GAAG+B,OAAO1E,IAAI;YAC/CgG,mBAAmB,CAACrD,iBAAiB,GAAG+B,OAAOjD,IAAI;QACrD,OAAO;YACL,uDAAuD;YACvDsE,eAAe,CAACpD,iBAAiB,GAAGsD;YACpCD,mBAAmB,CAACrD,iBAAiB,GAAGuD;QAC1C;IACF;IAEA,IAAIC;IACJ,IAAIC;IACJ,4CAA4C;IAE5C,iEAAiE;IACjE,0EAA0E;IAC1E,qEAAqE;IACrE,kBAAkB;IAClBD,aAAa;QAACV,eAAe,CAAC,EAAE;QAAEM;KAAgB;IAClD,IAAI,KAAKN,iBAAiB;QACxBU,UAAU,CAAC,EAAE,GAAGV,eAAe,CAAC,EAAE;IACpC;IACA,IAAI,KAAKA,iBAAiB;QACxBU,UAAU,CAAC,EAAE,GAAGV,eAAe,CAAC,EAAE;IACpC;IACA,IAAI,KAAKA,iBAAiB;QACxBU,UAAU,CAAC,EAAE,GAAGV,eAAe,CAAC,EAAE;IACpC;IAEA,oCAAoC;IACpC,MAAMY,yBAAyB;IAC/BD,iBAAiB;QACf;QACAJ;QACA;QACAK;QACA;KACD;IAED,OAAO;QACLrG,MAAMmG;QACN1E,MAAM2E;IACR;AACF","ignoreList":[0]}}, - {"offset": {"line": 8080, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/router-reducer/reducers/navigate-reducer.ts"],"sourcesContent":["import type {\n FlightRouterState,\n FlightSegmentPath,\n} from '../../../../shared/lib/app-router-types'\nimport { createHrefFromUrl } from '../create-href-from-url'\nimport type {\n Mutable,\n NavigateAction,\n ReadonlyReducerState,\n ReducerState,\n} from '../router-reducer-types'\nimport { handleMutable } from '../handle-mutable'\n\nimport {\n navigate as navigateUsingSegmentCache,\n type NavigationResult,\n} from '../../segment-cache/navigation'\nimport { NavigationResultTag } from '../../segment-cache/types'\nimport { getStaleTimeMs } from '../../segment-cache/cache'\nimport { FreshnessPolicy } from '../ppr-navigations'\n\n// These values are set by `define-env-plugin` (based on `nextConfig.experimental.staleTimes`)\n// and default to 5 minutes (static) / 0 seconds (dynamic)\nexport const DYNAMIC_STALETIME_MS =\n Number(process.env.__NEXT_CLIENT_ROUTER_DYNAMIC_STALETIME) * 1000\n\nexport const STATIC_STALETIME_MS = getStaleTimeMs(\n Number(process.env.__NEXT_CLIENT_ROUTER_STATIC_STALETIME)\n)\n\nexport function handleExternalUrl(\n state: ReadonlyReducerState,\n mutable: Mutable,\n url: string,\n pendingPush: boolean\n) {\n mutable.mpaNavigation = true\n mutable.canonicalUrl = url\n mutable.pendingPush = pendingPush\n mutable.scrollableSegments = undefined\n\n return handleMutable(state, mutable)\n}\n\nexport function generateSegmentsFromPatch(\n flightRouterPatch: FlightRouterState\n): FlightSegmentPath[] {\n const segments: FlightSegmentPath[] = []\n const [segment, parallelRoutes] = flightRouterPatch\n\n if (Object.keys(parallelRoutes).length === 0) {\n return [[segment]]\n }\n\n for (const [parallelRouteKey, parallelRoute] of Object.entries(\n parallelRoutes\n )) {\n for (const childSegment of generateSegmentsFromPatch(parallelRoute)) {\n // If the segment is empty, it means we are at the root of the tree\n if (segment === '') {\n segments.push([parallelRouteKey, ...childSegment])\n } else {\n segments.push([segment, parallelRouteKey, ...childSegment])\n }\n }\n }\n\n return segments\n}\n\nexport function handleNavigationResult(\n url: URL,\n state: ReadonlyReducerState,\n mutable: Mutable,\n pendingPush: boolean,\n result: NavigationResult\n): ReducerState {\n switch (result.tag) {\n case NavigationResultTag.MPA: {\n // Perform an MPA navigation.\n const newUrl = result.data\n return handleExternalUrl(state, mutable, newUrl, pendingPush)\n }\n case NavigationResultTag.Success: {\n // Received a new result.\n mutable.cache = result.data.cacheNode\n mutable.patchedTree = result.data.flightRouterState\n mutable.renderedSearch = result.data.renderedSearch\n mutable.canonicalUrl = result.data.canonicalUrl\n // TODO: During a refresh, we don't set the `scrollableSegments`. There's\n // some confusing and subtle logic in `handleMutable` that decides what\n // to do when `shouldScroll` is set but `scrollableSegments` is not. I'm\n // not convinced it's totally coherent but the tests assert on this\n // particular behavior so I've ported the logic as-is from the previous\n // router implementation, for now.\n mutable.scrollableSegments = result.data.scrollableSegments ?? undefined\n mutable.shouldScroll = result.data.shouldScroll\n mutable.hashFragment = result.data.hash\n\n // Check if the only thing that changed was the hash fragment.\n const oldUrl = new URL(state.canonicalUrl, url)\n const onlyHashChange =\n // We don't need to compare the origins, because client-driven\n // navigations are always same-origin.\n url.pathname === oldUrl.pathname &&\n url.search === oldUrl.search &&\n url.hash !== oldUrl.hash\n if (onlyHashChange) {\n // The only updated part of the URL is the hash.\n mutable.onlyHashChange = true\n mutable.shouldScroll = result.data.shouldScroll\n mutable.hashFragment = url.hash\n // Setting this to an empty array triggers a scroll for all new and\n // updated segments. See `ScrollAndFocusHandler` for more details.\n mutable.scrollableSegments = []\n }\n\n return handleMutable(state, mutable)\n }\n case NavigationResultTag.Async: {\n return result.data.then(\n (asyncResult) =>\n handleNavigationResult(url, state, mutable, pendingPush, asyncResult),\n // If the navigation failed, return the current state.\n // TODO: This matches the current behavior but we need to do something\n // better here if the network fails.\n () => {\n return state\n }\n )\n }\n default: {\n result satisfies never\n return state\n }\n }\n}\n\nexport function navigateReducer(\n state: ReadonlyReducerState,\n action: NavigateAction\n): ReducerState {\n const { url, isExternalUrl, navigateType, shouldScroll } = action\n const mutable: Mutable = {}\n const href = createHrefFromUrl(url)\n const pendingPush = navigateType === 'push'\n\n mutable.preserveCustomHistoryState = false\n mutable.pendingPush = pendingPush\n\n if (isExternalUrl) {\n return handleExternalUrl(state, mutable, url.toString(), pendingPush)\n }\n\n // Handles case where `<meta http-equiv=\"refresh\">` tag is present,\n // which will trigger an MPA navigation.\n if (document.getElementById('__next-page-redirect')) {\n return handleExternalUrl(state, mutable, href, pendingPush)\n }\n\n // Temporary glue code between the router reducer and the new navigation\n // implementation. Eventually we'll rewrite the router reducer to a\n // state machine.\n const currentUrl = new URL(state.canonicalUrl, location.origin)\n const result = navigateUsingSegmentCache(\n url,\n currentUrl,\n state.cache,\n state.tree,\n state.nextUrl,\n FreshnessPolicy.Default,\n shouldScroll,\n mutable\n )\n return handleNavigationResult(url, state, mutable, pendingPush, result)\n}\n"],"names":["DYNAMIC_STALETIME_MS","STATIC_STALETIME_MS","generateSegmentsFromPatch","handleExternalUrl","handleNavigationResult","navigateReducer","Number","process","env","__NEXT_CLIENT_ROUTER_DYNAMIC_STALETIME","getStaleTimeMs","__NEXT_CLIENT_ROUTER_STATIC_STALETIME","state","mutable","url","pendingPush","mpaNavigation","canonicalUrl","scrollableSegments","undefined","handleMutable","flightRouterPatch","segments","segment","parallelRoutes","Object","keys","length","parallelRouteKey","parallelRoute","entries","childSegment","push","result","tag","NavigationResultTag","MPA","newUrl","data","Success","cache","cacheNode","patchedTree","flightRouterState","renderedSearch","shouldScroll","hashFragment","hash","oldUrl","URL","onlyHashChange","pathname","search","Async","then","asyncResult","action","isExternalUrl","navigateType","href","createHrefFromUrl","preserveCustomHistoryState","toString","document","getElementById","currentUrl","location","origin","navigateUsingSegmentCache","tree","nextUrl","FreshnessPolicy","Default"],"mappings":"AAwBSO,QAAQC,GAAG,CAACC,sCAAsC;;;;;;;;;;;;;;;;;;;;IAD9CT,oBAAoB,EAAA;eAApBA;;IAGAC,mBAAmB,EAAA;eAAnBA;;IAkBGC,yBAAyB,EAAA;eAAzBA;;IAdAC,iBAAiB,EAAA;eAAjBA;;IAwCAC,sBAAsB,EAAA;eAAtBA;;IAoEAC,eAAe,EAAA;eAAfA;;;mCAtIkB;+BAOJ;4BAKvB;uBAC6B;uBACL;gCACC;AAIzB,MAAML,uBACXM,gDAA6D;AAExD,MAAML,sBAAsBS,CAAAA,GAAAA,OAAAA,cAAc,EAC/CJ,OAAOC,QAAQC,GAAG,CAACG,qCAAqC;AAGnD,SAASR,kBACdS,KAA2B,EAC3BC,OAAgB,EAChBC,GAAW,EACXC,WAAoB;IA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AAEC,YAAY,EAAEb,YAAY,EAAE,GAAGW;IAC3D,MAAM3C,UAAmB,CAAC;IAC1B,MAAM8C,OAAOC,CAAAA,GAAAA,mBAAAA,iBAAiB,EAAC9C;IAC/B,MAAMC,cAAc2C,iBAAiB;IAErC7C,QAAQgD,0BAA0B,GAAG;IACrChD,QAAQE,WAAW,GAAGA;IAEtB,IAAI0C,eAAe;QACjB,OAAOtD,kBAAkBS,OAAOC,SAASC,IAAIgD,QAAQ,IAAI/C;IAC3D;IAEA,mEAAmE;IACnE,wCAAwC;IACxC,IAAIgD,SAASC,cAAc,CAAC,yBAAyB;QACnD,OAAO7D,kBAAkBS,OAAOC,SAAS8C,MAAM5C;IACjD;IAEA,wEAAwE;IACxE,mEAAmE;IACnE,iBAAiB;IACjB,MAAMkD,aAAa,IAAIhB,IAAIrC,MAAMK,YAAY,EAAEiD,SAASC,MAAM;IAC9D,MAAMlC,SAASmC,CAAAA,GAAAA,YAAAA,QAAyB,EACtCtD,KACAmD,YACArD,MAAM4B,KAAK,EACX5B,MAAMyD,IAAI,EACVzD,MAAM0D,OAAO,EACbC,gBAAAA,eAAe,CAACC,OAAO,EACvB3B,cACAhC;IAEF,OAAOT,uBAAuBU,KAAKF,OAAOC,SAASE,aAAakB;AAClE","ignoreList":[0]}}, - {"offset": {"line": 8250, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/router-reducer/reducers/has-interception-route-in-current-tree.ts"],"sourcesContent":["import type { FlightRouterState } from '../../../../shared/lib/app-router-types'\nimport { isInterceptionRouteAppPath } from '../../../../shared/lib/router/utils/interception-routes'\n\nexport function hasInterceptionRouteInCurrentTree([\n segment,\n parallelRoutes,\n]: FlightRouterState): boolean {\n // If we have a dynamic segment, it's marked as an interception route by the presence of the `i` suffix.\n if (\n Array.isArray(segment) &&\n (segment[2] === 'di(..)(..)' ||\n segment[2] === 'ci(..)(..)' ||\n segment[2] === 'di(.)' ||\n segment[2] === 'ci(.)' ||\n segment[2] === 'di(..)' ||\n segment[2] === 'ci(..)' ||\n segment[2] === 'di(...)' ||\n segment[2] === 'ci(...)')\n ) {\n return true\n }\n\n // If segment is not an array, apply the existing string-based check\n if (typeof segment === 'string' && isInterceptionRouteAppPath(segment)) {\n return true\n }\n\n // Iterate through parallelRoutes if they exist\n if (parallelRoutes) {\n for (const key in parallelRoutes) {\n if (hasInterceptionRouteInCurrentTree(parallelRoutes[key])) {\n return true\n }\n }\n }\n\n return false\n}\n"],"names":["hasInterceptionRouteInCurrentTree","segment","parallelRoutes","Array","isArray","isInterceptionRouteAppPath","key"],"mappings":";;;+BAGgBA,qCAAAA;;;eAAAA;;;oCAF2B;AAEpC,SAASA,kCAAkC,CAChDC,SACAC,eACkB;IAClB,wGAAwG;IACxG,IACEC,MAAMC,OAAO,CAACH,YACbA,CAAAA,OAAO,CAAC,EAAE,KAAK,gBACdA,OAAO,CAAC,EAAE,KAAK,gBACfA,OAAO,CAAC,EAAE,KAAK,WACfA,OAAO,CAAC,EAAE,KAAK,WACfA,OAAO,CAAC,EAAE,KAAK,YACfA,OAAO,CAAC,EAAE,KAAK,YACfA,OAAO,CAAC,EAAE,KAAK,aACfA,OAAO,CAAC,EAAE,KAAK,SAAQ,GACzB;QACA,OAAO;IACT;IAEA,oEAAoE;IACpE,IAAI,OAAOA,YAAY,YAAYI,CAAAA,GAAAA,oBAAAA,0BAA0B,EAACJ,UAAU;QACtE,OAAO;IACT;IAEA,+CAA+C;IAC/C,IAAIC,gBAAgB;QAClB,IAAK,MAAMI,OAAOJ,eAAgB;YAChC,IAAIF,kCAAkCE,cAAc,CAACI,IAAI,GAAG;gBAC1D,OAAO;YACT;QACF;IACF;IAEA,OAAO;AACT","ignoreList":[0]}}, - {"offset": {"line": 8290, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/router-reducer/reducers/refresh-reducer.ts"],"sourcesContent":["import type {\n Mutable,\n ReadonlyReducerState,\n ReducerState,\n} from '../router-reducer-types'\nimport { handleNavigationResult } from './navigate-reducer'\nimport { navigateToSeededRoute } from '../../segment-cache/navigation'\nimport { revalidateEntireCache } from '../../segment-cache/cache'\nimport { hasInterceptionRouteInCurrentTree } from './has-interception-route-in-current-tree'\nimport { FreshnessPolicy } from '../ppr-navigations'\n\nexport function refreshReducer(state: ReadonlyReducerState): ReducerState {\n // TODO: Currently, all refreshes purge the prefetch cache. In the future,\n // only client-side refreshes will have this behavior; the server-side\n // `refresh` should send new data without purging the prefetch cache.\n const currentNextUrl = state.nextUrl\n const currentRouterState = state.tree\n revalidateEntireCache(currentNextUrl, currentRouterState)\n return refreshDynamicData(state, FreshnessPolicy.RefreshAll)\n}\n\nexport function refreshDynamicData(\n state: ReadonlyReducerState,\n freshnessPolicy: FreshnessPolicy.RefreshAll | FreshnessPolicy.HMRRefresh\n): ReducerState {\n const currentNextUrl = state.nextUrl\n\n // We always send the last next-url, not the current when performing a dynamic\n // request. This is because we update the next-url after a navigation, but we\n // want the same interception route to be matched that used the last next-url.\n const nextUrlForRefresh = hasInterceptionRouteInCurrentTree(state.tree)\n ? state.previousNextUrl || currentNextUrl\n : null\n\n // A refresh is modeled as a navigation to the current URL, but where any\n // existing dynamic data (including in shared layouts) is re-fetched.\n const currentCanonicalUrl = state.canonicalUrl\n const currentUrl = new URL(currentCanonicalUrl, location.origin)\n const currentFlightRouterState = state.tree\n const shouldScroll = true\n\n const navigationSeed = {\n tree: state.tree,\n renderedSearch: state.renderedSearch,\n data: null,\n head: null,\n }\n\n const now = Date.now()\n const result = navigateToSeededRoute(\n now,\n currentUrl,\n currentCanonicalUrl,\n navigationSeed,\n currentUrl,\n state.cache,\n currentFlightRouterState,\n freshnessPolicy,\n nextUrlForRefresh,\n shouldScroll\n )\n\n const mutable: Mutable = {}\n mutable.preserveCustomHistoryState = false\n\n return handleNavigationResult(currentUrl, state, mutable, false, result)\n}\n"],"names":["refreshDynamicData","refreshReducer","state","currentNextUrl","nextUrl","currentRouterState","tree","revalidateEntireCache","FreshnessPolicy","RefreshAll","freshnessPolicy","nextUrlForRefresh","hasInterceptionRouteInCurrentTree","previousNextUrl","currentCanonicalUrl","canonicalUrl","currentUrl","URL","location","origin","currentFlightRouterState","shouldScroll","navigationSeed","renderedSearch","data","head","now","Date","result","navigateToSeededRoute","cache","mutable","preserveCustomHistoryState","handleNavigationResult"],"mappings":";;;;;;;;;;;;;;IAqBgBA,kBAAkB,EAAA;eAAlBA;;IAVAC,cAAc,EAAA;eAAdA;;;iCANuB;4BACD;uBACA;mDACY;gCAClB;AAEzB,SAASA,eAAeC,KAA2B;IACxD,0EAA0E;IAC1E,sEAAsE;IACtE,qEAAqE;IACrE,MAAMC,iBAAiBD,MAAME,OAAO;IACpC,MAAMC,qBAAqBH,MAAMI,IAAI;IACrCC,CAAAA,GAAAA,OAAAA,qBAAqB,EAACJ,gBAAgBE;IACtC,OAAOL,mBAAmBE,OAAOM,gBAAAA,eAAe,CAACC,UAAU;AAC7D;AAEO,SAAST,mBACdE,KAA2B,EAC3BQ,eAAwE;IAExE,MAAMP,iBAAiBD,MAAME,OAAO;IAEpC,8EAA8E;IAC9E,6EAA6E;IAC7E,8EAA8E;IAC9E,MAAMO,oBAAoBC,CAAAA,GAAAA,mCAAAA,iCAAiC,EAACV,MAAMI,IAAI,IAClEJ,MAAMW,eAAe,IAAIV,iBACzB;IAEJ,yEAAyE;IACzE,qEAAqE;IACrE,MAAMW,sBAAsBZ,MAAMa,YAAY;IAC9C,MAAMC,aAAa,IAAIC,IAAIH,qBAAqBI,SAASC,MAAM;IAC/D,MAAMC,2BAA2BlB,MAAMI,IAAI;IAC3C,MAAMe,eAAe;IAErB,MAAMC,iBAAiB;QACrBhB,MAAMJ,MAAMI,IAAI;QAChBiB,gBAAgBrB,MAAMqB,cAAc;QACpCC,MAAM;QACNC,MAAM;IACR;IAEA,MAAMC,MAAMC,KAAKD,GAAG;IACpB,MAAME,SAASC,CAAAA,GAAAA,YAAAA,qBAAqB,EAClCH,KACAV,YACAF,qBACAQ,gBACAN,YACAd,MAAM4B,KAAK,EACXV,0BACAV,iBACAC,mBACAU;IAGF,MAAMU,UAAmB,CAAC;IAC1BA,QAAQC,0BAA0B,GAAG;IAErC,OAAOC,CAAAA,GAAAA,iBAAAA,sBAAsB,EAACjB,YAAYd,OAAO6B,SAAS,OAAOH;AACnE","ignoreList":[0]}}, - {"offset": {"line": 8360, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/router-reducer/reducers/server-patch-reducer.ts"],"sourcesContent":["import { createHrefFromUrl } from '../create-href-from-url'\nimport type {\n ServerPatchAction,\n ReducerState,\n ReadonlyReducerState,\n Mutable,\n} from '../router-reducer-types'\nimport { handleExternalUrl, handleNavigationResult } from './navigate-reducer'\nimport { navigateToSeededRoute } from '../../segment-cache/navigation'\nimport { refreshReducer } from './refresh-reducer'\nimport { FreshnessPolicy } from '../ppr-navigations'\n\nexport function serverPatchReducer(\n state: ReadonlyReducerState,\n action: ServerPatchAction\n): ReducerState {\n const mutable: Mutable = {}\n mutable.preserveCustomHistoryState = false\n\n // A \"retry\" is a navigation that happens due to a route mismatch. It's\n // similar to a refresh, because we will omit any existing dynamic data on\n // the page. But we seed the retry navigation with the exact tree that the\n // server just responded with.\n const retryMpa = action.mpa\n const retryUrl = new URL(action.url, location.origin)\n const retrySeed = action.seed\n if (retryMpa || retrySeed === null) {\n // If the server did not send back data during the mismatch, fall back to\n // an MPA navigation.\n return handleExternalUrl(state, mutable, retryUrl.href, false)\n }\n const currentUrl = new URL(state.canonicalUrl, location.origin)\n if (action.previousTree !== state.tree) {\n // There was another, more recent navigation since the once that\n // mismatched. We can abort the retry, but we still need to refresh the\n // page to evict any stale dynamic data.\n return refreshReducer(state)\n }\n // There have been no new navigations since the mismatched one. Refresh,\n // using the tree we just received from the server.\n const retryCanonicalUrl = createHrefFromUrl(retryUrl)\n const retryNextUrl = action.nextUrl\n // A retry should not create a new history entry.\n const pendingPush = false\n const shouldScroll = true\n const now = Date.now()\n const result = navigateToSeededRoute(\n now,\n retryUrl,\n retryCanonicalUrl,\n retrySeed,\n currentUrl,\n state.cache,\n state.tree,\n FreshnessPolicy.RefreshAll,\n retryNextUrl,\n shouldScroll\n )\n return handleNavigationResult(retryUrl, state, mutable, pendingPush, result)\n}\n"],"names":["serverPatchReducer","state","action","mutable","preserveCustomHistoryState","retryMpa","mpa","retryUrl","URL","url","location","origin","retrySeed","seed","handleExternalUrl","href","currentUrl","canonicalUrl","previousTree","tree","refreshReducer","retryCanonicalUrl","createHrefFromUrl","retryNextUrl","nextUrl","pendingPush","shouldScroll","now","Date","result","navigateToSeededRoute","cache","FreshnessPolicy","RefreshAll","handleNavigationResult"],"mappings":";;;+BAYgBA,sBAAAA;;;eAAAA;;;mCAZkB;iCAOwB;4BACpB;gCACP;gCACC;AAEzB,SAASA,mBACdC,KAA2B,EAC3BC,MAAyB;IAEzB,MAAMC,UAAmB,CAAC;IAC1BA,QAAQC,0BAA0B,GAAG;IAErC,uEAAuE;IACvE,0EAA0E;IAC1E,0EAA0E;IAC1E,8BAA8B;IAC9B,MAAMC,WAAWH,OAAOI,GAAG;IAC3B,MAAMC,WAAW,IAAIC,IAAIN,OAAOO,GAAG,EAAEC,SAASC,MAAM;IACpD,MAAMC,YAAYV,OAAOW,IAAI;IAC7B,IAAIR,YAAYO,cAAc,MAAM;QAClC,yEAAyE;QACzE,qBAAqB;QACrB,OAAOE,CAAAA,GAAAA,iBAAAA,iBAAiB,EAACb,OAAOE,SAASI,SAASQ,IAAI,EAAE;IAC1D;IACA,MAAMC,aAAa,IAAIR,IAAIP,MAAMgB,YAAY,EAAEP,SAASC,MAAM;IAC9D,IAAIT,OAAOgB,YAAY,KAAKjB,MAAMkB,IAAI,EAAE;QACtC,gEAAgE;QAChE,uEAAuE;QACvE,wCAAwC;QACxC,OAAOC,CAAAA,GAAAA,gBAAAA,cAAc,EAACnB;IACxB;IACA,wEAAwE;IACxE,mDAAmD;IACnD,MAAMoB,oBAAoBC,CAAAA,GAAAA,mBAAAA,iBAAiB,EAACf;IAC5C,MAAMgB,eAAerB,OAAOsB,OAAO;IACnC,iDAAiD;IACjD,MAAMC,cAAc;IACpB,MAAMC,eAAe;IACrB,MAAMC,MAAMC,KAAKD,GAAG;IACpB,MAAME,SAASC,CAAAA,GAAAA,YAAAA,qBAAqB,EAClCH,KACApB,UACAc,mBACAT,WACAI,YACAf,MAAM8B,KAAK,EACX9B,MAAMkB,IAAI,EACVa,gBAAAA,eAAe,CAACC,UAAU,EAC1BV,cACAG;IAEF,OAAOQ,CAAAA,GAAAA,iBAAAA,sBAAsB,EAAC3B,UAAUN,OAAOE,SAASsB,aAAaI;AACvE","ignoreList":[0]}}, - {"offset": {"line": 8418, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/router-reducer/reducers/restore-reducer.ts"],"sourcesContent":["import { createHrefFromUrl } from '../create-href-from-url'\nimport type {\n ReadonlyReducerState,\n ReducerState,\n RestoreAction,\n} from '../router-reducer-types'\nimport { extractPathFromFlightRouterState } from '../compute-changed-path'\nimport {\n FreshnessPolicy,\n spawnDynamicRequests,\n startPPRNavigation,\n type NavigationRequestAccumulation,\n} from '../ppr-navigations'\nimport type { FlightRouterState } from '../../../../shared/lib/app-router-types'\nimport { handleExternalUrl } from './navigate-reducer'\nimport type { Mutable } from '../router-reducer-types'\n\nexport function restoreReducer(\n state: ReadonlyReducerState,\n action: RestoreAction\n): ReducerState {\n // This action is used to restore the router state from the history state.\n // However, it's possible that the history state no longer contains the `FlightRouterState`.\n // We will copy over the internal state on pushState/replaceState events, but if a history entry\n // occurred before hydration, or if the user navigated to a hash using a regular anchor link,\n // the history state will not contain the `FlightRouterState`.\n // In this case, we'll continue to use the existing tree so the router doesn't get into an invalid state.\n let treeToRestore: FlightRouterState | undefined\n let renderedSearch: string | undefined\n const historyState = action.historyState\n if (historyState) {\n treeToRestore = historyState.tree\n renderedSearch = historyState.renderedSearch\n } else {\n treeToRestore = state.tree\n renderedSearch = state.renderedSearch\n }\n\n const currentUrl = new URL(state.canonicalUrl, location.origin)\n const restoredUrl = action.url\n const restoredCanonicalUrl = createHrefFromUrl(restoredUrl)\n const restoredNextUrl =\n extractPathFromFlightRouterState(treeToRestore) ?? restoredUrl.pathname\n\n const now = Date.now()\n const accumulation: NavigationRequestAccumulation = {\n scrollableSegments: null,\n separateRefreshUrls: null,\n }\n const task = startPPRNavigation(\n now,\n currentUrl,\n state.cache,\n state.tree,\n treeToRestore,\n FreshnessPolicy.HistoryTraversal,\n null,\n null,\n null,\n null,\n false,\n false,\n accumulation\n )\n\n if (task === null) {\n const mutable: Mutable = {\n preserveCustomHistoryState: true,\n }\n return handleExternalUrl(state, mutable, restoredCanonicalUrl, false)\n }\n\n spawnDynamicRequests(\n task,\n restoredUrl,\n restoredNextUrl,\n FreshnessPolicy.HistoryTraversal,\n accumulation\n )\n\n return {\n // Set canonical url\n canonicalUrl: restoredCanonicalUrl,\n renderedSearch,\n pushRef: {\n pendingPush: false,\n mpaNavigation: false,\n // Ensures that the custom history state that was set is preserved when applying this update.\n preserveCustomHistoryState: true,\n },\n focusAndScrollRef: state.focusAndScrollRef,\n cache: task.node,\n // Restore provided tree\n tree: treeToRestore,\n\n nextUrl: restoredNextUrl,\n // TODO: We need to restore previousNextUrl, too, which represents the\n // Next-Url that was used to fetch the data. Anywhere we fetch using the\n // canonical URL, there should be a corresponding Next-Url.\n previousNextUrl: null,\n debugInfo: null,\n }\n}\n"],"names":["restoreReducer","state","action","treeToRestore","renderedSearch","historyState","tree","currentUrl","URL","canonicalUrl","location","origin","restoredUrl","url","restoredCanonicalUrl","createHrefFromUrl","restoredNextUrl","extractPathFromFlightRouterState","pathname","now","Date","accumulation","scrollableSegments","separateRefreshUrls","task","startPPRNavigation","cache","FreshnessPolicy","HistoryTraversal","mutable","preserveCustomHistoryState","handleExternalUrl","spawnDynamicRequests","pushRef","pendingPush","mpaNav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BAAgB,EAChCP;IAGF,OAAO;QACL,oBAAoB;QACpBZ,cAAcK;QACdV;QACA6B,SAAS;YACPC,aAAa;YACbC,eAAe;YACf,6FAA6F;YAC7FL,4BAA4B;QAC9B;QACAM,mBAAmBnC,MAAMmC,iBAAiB;QAC1CV,OAAOF,KAAKa,IAAI;QAChB,wBAAwB;QACxB/B,MAAMH;QAENmC,SAAStB;QACT,sEAAsE;QACtE,wEAAwE;QACxE,2DAA2D;QAC3DuB,iBAAiB;QACjBC,WAAW;IACb;AACF","ignoreList":[0]}}, - {"offset": {"line": 8498, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/router-reducer/reducers/hmr-refresh-reducer.ts"],"sourcesContent":["import type {\n ReadonlyReducerState,\n ReducerState,\n} from '../router-reducer-types'\nimport { refreshDynamicData } from './refresh-reducer'\nimport { FreshnessPolicy } from '../ppr-navigations'\n\nexport function hmrRefreshReducer(state: ReadonlyReducerState): ReducerState {\n return refreshDynamicData(state, FreshnessPolicy.HMRRefresh)\n}\n"],"names":["hmrRefreshReducer","state","refreshDynamicData","FreshnessPolicy","HMRRefresh"],"mappings":";;;+BAOgBA,qBAAAA;;;eAAAA;;;gCAHmB;gCACH;AAEzB,SAASA,kBAAkBC,KAA2B;IAC3D,OAAOC,CAAAA,GAAAA,gBAAAA,kBAAkB,EAACD,OAAOE,gBAAAA,eAAe,CAACC,UAAU;AAC7D","ignoreList":[0]}}, - {"offset": {"line": 8523, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/unrecognized-action-error.ts"],"sourcesContent":["export class UnrecognizedActionError extends Error {\n constructor(...args: ConstructorParameters<typeof Error>) {\n super(...args)\n this.name = 'UnrecognizedActionError'\n }\n}\n\n/**\n * Check whether a server action call failed because the server action was not recognized by the server.\n * This can happen if the client and the server are not from the same deployment.\n *\n * Example usage:\n * ```ts\n * try {\n * await myServerAction();\n * } catch (err) {\n * if (unstable_isUnrecognizedActionError(err)) {\n * // The client is from a different deployment than the server.\n * // Reloading the page will fix this mismatch.\n * window.alert(\"Please refresh the page and try again\");\n * return;\n * }\n * }\n * ```\n * */\nexport function unstable_isUnrecognizedActionError(\n error: unknown\n): error is UnrecognizedActionError {\n return !!(\n error &&\n typeof error === 'object' &&\n error instanceof UnrecognizedActionError\n )\n}\n"],"names":["UnrecognizedActionError","unstable_isUnrecognizedActionError","Error","constructor","args","name","error"],"mappings":";;;;;;;;;;;;;;IAAaA,uBAAuB,EAAA;eAAvBA;;IAyBGC,kCAAkC,EAAA;eAAlCA;;;AAzBT,MAAMD,gCAAgCE;IAC3CC,YAAY,GAAGC,IAAyC,CAAE;QACxD,KAAK,IAAIA;QACT,IAAI,CAACC,IAAI,GAAG;IACd;AACF;AAoBO,SAASJ,mCACdK,KAAc;IAEd,OAAO,CAAC,CACNA,CAAAA,SACA,OAAOA,UAAU,YACjBA,iBAAiBN,uBAAsB;AAE3C","ignoreList":[0]}}, - {"offset": {"line": 8564, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/assign-location.ts"],"sourcesContent":["import { addBasePath } from './add-base-path'\n\n/**\n * Function to correctly assign location to URL\n *\n * The method will add basePath, and will also correctly add location (including if it is a relative path)\n * @param location Location that should be added to the url\n * @param url Base URL to which the location should be assigned\n */\nexport function assignLocation(location: string, url: URL): URL {\n if (location.startsWith('.')) {\n const urlBase = url.origin + url.pathname\n return new URL(\n // In order for a relative path to be added to the current url correctly, the current url must end with a slash\n // new URL('./relative', 'https://example.com/subdir').href -> 'https://example.com/relative'\n // new URL('./relative', 'https://example.com/subdir/').href -> 'https://example.com/subdir/relative'\n (urlBase.endsWith('/') ? urlBase : urlBase + '/') + location\n )\n }\n\n return new URL(addBasePath(location), url.href)\n}\n"],"names":["assignLocation","location","url","startsWith","urlBase","origin","pathname","URL","endsWith","addBasePath","href"],"mappings":";;;+BASgBA,kBAAAA;;;eAAAA;;;6BATY;AASrB,SAASA,eAAeC,QAAgB,EAAEC,GAAQ;IACvD,IAAID,SAASE,UAAU,CAAC,MAAM;QAC5B,MAAMC,UAAUF,IAAIG,MAAM,GAAGH,IAAII,QAAQ;QACzC,OAAO,IAAIC,IACT,AAGA,AAFA,6FAA6F,kBADkB;QAE/G,qGAAqG;QACpGH,CAAAA,QAAQI,QAAQ,CAAC,OAAOJ,UAAUA,UAAU,GAAE,IAAKH;IAExD;IAEA,OAAO,IAAIM,IAAIE,CAAAA,GAAAA,aAAAA,WAAW,EAACR,WAAWC,IAAIQ,IAAI;AAChD","ignoreList":[0]}}, - {"offset": {"line": 8594, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/redirect.ts"],"sourcesContent":["import { RedirectStatusCode } from './redirect-status-code'\nimport {\n RedirectType,\n type RedirectError,\n isRedirectError,\n REDIRECT_ERROR_CODE,\n} from './redirect-error'\n\nconst actionAsyncStorage =\n typeof window === 'undefined'\n ? (\n require('../../server/app-render/action-async-storage.external') as typeof import('../../server/app-render/action-async-storage.external')\n ).actionAsyncStorage\n : undefined\n\nexport function getRedirectError(\n url: string,\n type: RedirectType,\n statusCode: RedirectStatusCode = RedirectStatusCode.TemporaryRedirect\n): RedirectError {\n const error = new Error(REDIRECT_ERROR_CODE) as RedirectError\n error.digest = `${REDIRECT_ERROR_CODE};${type};${url};${statusCode};`\n return error\n}\n\n/**\n * This function allows you to redirect the user to another URL. It can be used in\n * [Server Components](https://nextjs.org/docs/app/building-your-application/rendering/server-components),\n * [Route Handlers](https://nextjs.org/docs/app/building-your-application/routing/route-handlers), and\n * [Server Actions](https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations).\n *\n * - In a Server Component, this will insert a meta tag to redirect the user to the target page.\n * - In a Route Handler or Server Action, it will serve a 307/303 to the caller.\n * - In a Server Action, type defaults to 'push' and 'replace' elsewhere.\n *\n * Read more: [Next.js Docs: `redirect`](https://nextjs.org/docs/app/api-reference/functions/redirect)\n */\nexport function redirect(\n /** The URL to redirect to */\n url: string,\n type?: RedirectType\n): never {\n type ??= actionAsyncStorage?.getStore()?.isAction\n ? RedirectType.push\n : RedirectType.replace\n\n throw getRedirectError(url, type, RedirectStatusCode.TemporaryRedirect)\n}\n\n/**\n * This function allows you to redirect the user to another URL. It can be used in\n * [Server Components](https://nextjs.org/docs/app/building-your-application/rendering/server-components),\n * [Route Handlers](https://nextjs.org/docs/app/building-your-application/routing/route-handlers), and\n * [Server Actions](https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations).\n *\n * - In a Server Component, this will insert a meta tag to redirect the user to the target page.\n * - In a Route Handler or Server Action, it will serve a 308/303 to the caller.\n *\n * Read more: [Next.js Docs: `redirect`](https://nextjs.org/docs/app/api-reference/functions/redirect)\n */\nexport function permanentRedirect(\n /** The URL to redirect to */\n url: string,\n type: RedirectType = RedirectType.replace\n): never {\n throw getRedirectError(url, type, RedirectStatusCode.PermanentRedirect)\n}\n\n/**\n * Returns the encoded URL from the error if it's a RedirectError, null\n * otherwise. Note that this does not validate the URL returned.\n *\n * @param error the error that may be a redirect error\n * @return the url if the error was a redirect error\n */\nexport function getURLFromRedirectError(error: RedirectError): string\nexport function getURLFromRedirectError(error: unknown): string | null {\n if (!isRedirectError(error)) return null\n\n // Slices off the beginning of the digest that contains the code and the\n // separating ';'.\n return error.digest.split(';').slice(2, -2).join(';')\n}\n\nexport function getRedirectTypeFromError(error: RedirectError): RedirectType {\n if (!isRedirectError(error)) {\n throw new Error('Not a redirect error')\n }\n\n return error.digest.split(';', 2)[1] as RedirectType\n}\n\nexport function getRedirectStatusCodeFromError(error: RedirectError): number {\n if (!isRedirectError(error)) {\n throw new Error('Not a redirect error')\n }\n\n return Number(error.digest.split(';').at(-2))\n}\n"],"names":["getRedirectError","getRedirectStatusCodeFromError","getRedirectTypeFromError","getURLFromRedirectError","permanentRedirect","redirect","actionAsyncStorage","window","require","undefined","url","type","statusCode","RedirectStatusCode","TemporaryRedirect","error","Error","REDIRECT_ERROR_CODE","digest","getStore","isAction","RedirectType","push","replace","PermanentRedirect","isRedirectError","split","slice","join","Number","at"],"mappings":";;;;;;;;;;;;;;;;;;IAegBA,gBAAgB,EAAA;eAAhBA;;IA6EAC,8BAA8B,EAAA;eAA9BA;;IARAC,wBAAwB,EAAA;eAAxBA;;IARAC,uBAAuB,EAAA;eAAvBA;;IAhBAC,iBAAiB,EAAA;eAAjBA;;IAvBAC,QAAQ,EAAA;eAARA;;;oCArCmB;+BAM5B;AAEP,MAAMC,qBACJ,OAAOC,WAAW,cAEZC,QAAQ,iIACRF,kBAAkB,GACpBG;AAEC,SAAST,iBACdU,GAAW,EACXC,IAAkB,EAClBC,aAAiCC,oBAAAA,kBAAkB,CAACC,iBAAiB;IAErE,MAAMC,QAAQ,OAAA,cAA8B,CAA9B,IAAIC,MAAMC,eAAAA,mBAAmB,GAA7B,qBAAA;eAAA;oBAAA;sBAAA;IAA6B;IAC3CF,MAAMG,MAAM,GAAG,GAAGD,eAAAA,mBAAmB,CAAC,CAAC,EAAEN,KAAK,CAAC,EAAED,IAAI,CAAC,EAAEE,WAAW,CAAC,CAAC;IACrE,OAAOG;AACT;AAcO,SAASV,SACd,2BAA2B,GAC3BK,GAAW,EACXC,IAAmB;IAEnBA,SAASL,oBAAoBa,YAAYC,WACrCC,eAAAA,YAAY,CAACC,IAAI,GACjBD,eAAAA,YAAY,CAACE,OAAO;IAExB,MAAMvB,iBAAiBU,KAAKC,MAAME,oBAAAA,kBAAkB,CAACC,iBAAiB;AACxE;AAaO,SAASV,kBACd,2BAA2B,GAC3BM,GAAW,EACXC,OAAqBU,eAAAA,YAAY,CAACE,OAAO;IAEzC,MAAMvB,iBAAiBU,KAAKC,MAAME,oBAAAA,kBAAkB,CAACW,iBAAiB;AACxE;AAUO,SAASrB,wBAAwBY,KAAc;IACpD,IAAI,CAACU,CAAAA,GAAAA,eAAAA,eAAe,EAACV,QAAQ,OAAO;IAEpC,wEAAwE;IACxE,kBAAkB;IAClB,OAAOA,MAAMG,MAAM,CAACQ,KAAK,CAAC,KAAKC,KAAK,CAAC,GAAG,CAAC,GAAGC,IAAI,CAAC;AACnD;AAEO,SAAS1B,yBAAyBa,KAAoB;IAC3D,IAAI,CAACU,CAAAA,GAAAA,eAAAA,eAAe,EAACV,QAAQ;QAC3B,MAAM,OAAA,cAAiC,CAAjC,IAAIC,MAAM,yBAAV,qBAAA;mBAAA;wBAAA;0BAAA;QAAgC;IACxC;IAEA,OAAOD,MAAMG,MAAM,CAACQ,KAAK,CAAC,KAAK,EAAE,CAAC,EAAE;AACtC;AAEO,SAASzB,+BAA+Bc,KAAoB;IACjE,IAAI,CAACU,CAAAA,GAAAA,eAAAA,eAAe,EAACV,QAAQ;QAC3B,MAAM,OAAA,cAAiC,CAAjC,IAAIC,MAAM,yBAAV,qBAAA;mBAAA;wBAAA;0BAAA;QAAgC;IACxC;IAEA,OAAOa,OAAOd,MAAMG,MAAM,CAACQ,KAAK,CAAC,KAAKI,EAAE,CAAC,CAAC;AAC5C","ignoreList":[0]}}, - {"offset": {"line": 8687, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/has-base-path.ts"],"sourcesContent":["import { pathHasPrefix } from '../shared/lib/router/utils/path-has-prefix'\n\nconst basePath = (process.env.__NEXT_ROUTER_BASEPATH as string) || ''\n\nexport function hasBasePath(path: string): boolean {\n return pathHasPrefix(path, basePath)\n}\n"],"names":["hasBasePath","basePath","process","env","__NEXT_ROUTER_BASEPATH","path","pathHasPrefix"],"mappings":"AAEkBE,QAAQC,GAAG,CAACC,sBAAsB;;;;;+BAEpCJ,eAAAA;;;eAAAA;;;+BAJc;AAE9B,MAAMC,mDAA6D;AAE5D,SAASD,YAAYK,IAAY;IACtC,OAAOC,CAAAA,GAAAA,eAAAA,aAAa,EAACD,MAAMJ;AAC7B","ignoreList":[0]}}, - {"offset": {"line": 8714, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/remove-base-path.ts"],"sourcesContent":["import { hasBasePath } from './has-base-path'\n\nconst basePath = (process.env.__NEXT_ROUTER_BASEPATH as string) || ''\n\nexport function removeBasePath(path: string): string {\n if (process.env.__NEXT_MANUAL_CLIENT_BASE_PATH) {\n if (!hasBasePath(path)) {\n return path\n }\n }\n\n // Can't trim the basePath if it has zero length!\n if (basePath.length === 0) return path\n\n path = path.slice(basePath.length)\n if (!path.startsWith('/')) path = `/${path}`\n return path\n}\n"],"names":["removeBasePath","basePath","process","env","__NEXT_ROUTER_BASEPATH","path","__NEXT_MANUAL_CLIENT_BASE_PATH","hasBasePath","length","slice","startsWith"],"mappings":"AAEkBE,QAAQC,GAAG,CAACC,sBAAsB;;;;;+BAEpCJ,kBAAAA;;;eAAAA;;;6BAJY;AAE5B,MAAMC,mDAA6D;AAE5D,SAASD,eAAeK,IAAY;IACzC,IAAIH,QAAQC,GAAG,CAACG,8BAA8B,EAAE;;IAMhD,iDAAiD;IACjD,IAAIL,SAASO,MAAM,KAAK,GAAG,OAAOH;IAElCA,OAAOA,KAAKI,KAAK,CAACR,SAASO,MAAM;IACjC,IAAI,CAACH,KAAKK,UAAU,CAAC,MAAML,OAAO,CAAC,CAAC,EAAEA,MAAM;IAC5C,OAAOA;AACT","ignoreList":[0]}}, - {"offset": {"line": 8747, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/router-reducer/reducers/server-action-reducer.ts"],"sourcesContent":["import type {\n ActionFlightResponse,\n ActionResult,\n} from '../../../../shared/lib/app-router-types'\nimport { callServer } from '../../../app-call-server'\nimport { findSourceMapURL } from '../../../app-find-source-map-url'\nimport {\n ACTION_HEADER,\n NEXT_ACTION_NOT_FOUND_HEADER,\n NEXT_IS_PRERENDER_HEADER,\n NEXT_HTML_REQUEST_ID_HEADER,\n NEXT_ROUTER_STATE_TREE_HEADER,\n NEXT_URL,\n RSC_CONTENT_TYPE_HEADER,\n NEXT_REQUEST_ID_HEADER,\n} from '../../app-router-headers'\nimport { UnrecognizedActionError } from '../../unrecognized-action-error'\n\n// TODO: Explicitly import from client.browser\n// eslint-disable-next-line import/no-extraneous-dependencies\nimport {\n createFromFetch as createFromFetchBrowser,\n createTemporaryReferenceSet,\n encodeReply,\n} from 'react-server-dom-webpack/client'\n\nimport type {\n ReadonlyReducerState,\n ReducerState,\n ServerActionAction,\n ServerActionMutable,\n} from '../router-reducer-types'\nimport { assignLocation } from '../../../assign-location'\nimport { createHrefFromUrl } from '../create-href-from-url'\nimport { handleExternalUrl, handleNavigationResult } from './navigate-reducer'\nimport { hasInterceptionRouteInCurrentTree } from './has-interception-route-in-current-tree'\nimport {\n normalizeFlightData,\n prepareFlightRouterStateForRequest,\n type NormalizedFlightData,\n} from '../../../flight-data-helpers'\nimport { getRedirectError } from '../../redirect'\nimport { RedirectType } from '../../redirect-error'\nimport { removeBasePath } from '../../../remove-base-path'\nimport { hasBasePath } from '../../../has-base-path'\nimport {\n extractInfoFromServerReferenceId,\n omitUnusedArgs,\n} from '../../../../shared/lib/server-reference-info'\nimport { revalidateEntireCache } from '../../segment-cache/cache'\nimport { getDeploymentId } from '../../../../shared/lib/deployment-id'\nimport {\n navigateToSeededRoute,\n navigate as navigateUsingSegmentCache,\n} from '../../segment-cache/navigation'\nimport type { NormalizedSearch } from '../../segment-cache/cache-key'\nimport {\n ActionDidNotRevalidate,\n ActionDidRevalidateDynamicOnly,\n ActionDidRevalidateStaticAndDynamic,\n type ActionRevalidationKind,\n} from '../../../../shared/lib/action-revalidation-kind'\nimport { isExternalURL } from '../../app-router-utils'\nimport { FreshnessPolicy } from '../ppr-navigations'\n\nconst createFromFetch =\n createFromFetchBrowser as (typeof import('react-server-dom-webpack/client.browser'))['createFromFetch']\n\nlet createDebugChannel:\n | typeof import('../../../dev/debug-channel').createDebugChannel\n | undefined\n\nif (\n process.env.NODE_ENV !== 'production' &&\n process.env.__NEXT_REACT_DEBUG_CHANNEL\n) {\n createDebugChannel = (\n require('../../../dev/debug-channel') as typeof import('../../../dev/debug-channel')\n ).createDebugChannel\n}\n\n// TODO: Refactor to be a discriminated union. Or just get rid of it;\n// fetchServerAction only has one caller, no reason this intermediate type has\n// to exist.\ntype FetchServerActionResult = {\n redirectLocation: URL | undefined\n redirectType: RedirectType | undefined\n revalidationKind: ActionRevalidationKind\n actionResult: ActionResult | undefined\n actionFlightData: NormalizedFlightData[] | string | undefined\n actionFlightDataRenderedSearch: NormalizedSearch | undefined\n actionFlightDataCouldBeIntercepted: boolean | undefined\n isPrerender: boolean\n}\n\nasync function fetchServerAction(\n state: ReadonlyReducerState,\n nextUrl: ReadonlyReducerState['nextUrl'],\n { actionId, actionArgs }: ServerActionAction\n): Promise<FetchServerActionResult> {\n const temporaryReferences = createTemporaryReferenceSet()\n const info = extractInfoFromServerReferenceId(actionId)\n\n // TODO: Currently, we're only omitting unused args for the experimental \"use\n // cache\" functions. Once the server reference info byte feature is stable, we\n // should apply this to server actions as well.\n const usedArgs =\n info.type === 'use-cache' ? omitUnusedArgs(actionArgs, info) : actionArgs\n\n const body = await encodeReply(usedArgs, { temporaryReferences })\n\n const headers: Record<string, string> = {\n Accept: RSC_CONTENT_TYPE_HEADER,\n [ACTION_HEADER]: actionId,\n [NEXT_ROUTER_STATE_TREE_HEADER]: prepareFlightRouterStateForRequest(\n state.tree\n ),\n }\n\n const deploymentId = getDeploymentId()\n if (deploymentId) {\n headers['x-deployment-id'] = deploymentId\n }\n\n if (nextUrl) {\n headers[NEXT_URL] = nextUrl\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (self.__next_r) {\n headers[NEXT_HTML_REQUEST_ID_HEADER] = self.__next_r\n }\n\n // Create a new request ID for the server action request. The server uses\n // this to tag debug information sent via WebSocket to the client, which\n // then routes those chunks to the debug channel associated with this ID.\n headers[NEXT_REQUEST_ID_HEADER] = crypto\n .getRandomValues(new Uint32Array(1))[0]\n .toString(16)\n }\n\n const res = await fetch(state.canonicalUrl, { method: 'POST', headers, body })\n\n // Handle server actions that the server didn't recognize.\n const unrecognizedActionHeader = res.headers.get(NEXT_ACTION_NOT_FOUND_HEADER)\n if (unrecognizedActionHeader === '1') {\n throw new UnrecognizedActionError(\n `Server Action \"${actionId}\" was not found on the server. \\nRead more: https://nextjs.org/docs/messages/failed-to-find-server-action`\n )\n }\n\n const redirectHeader = res.headers.get('x-action-redirect')\n const [location, _redirectType] = redirectHeader?.split(';') || []\n let redirectType: RedirectType | undefined\n switch (_redirectType) {\n case 'push':\n redirectType = RedirectType.push\n break\n case 'replace':\n redirectType = RedirectType.replace\n break\n default:\n redirectType = undefined\n }\n\n const isPrerender = !!res.headers.get(NEXT_IS_PRERENDER_HEADER)\n\n let revalidationKind: ActionRevalidationKind = ActionDidNotRevalidate\n try {\n const revalidationHeader = res.headers.get('x-action-revalidated')\n if (revalidationHeader) {\n const parsedKind = JSON.parse(revalidationHeader)\n if (\n parsedKind === ActionDidRevalidateStaticAndDynamic ||\n parsedKind === ActionDidRevalidateDynamicOnly\n ) {\n revalidationKind = parsedKind\n }\n }\n } catch {}\n\n const redirectLocation = location\n ? assignLocation(\n location,\n new URL(state.canonicalUrl, window.location.href)\n )\n : undefined\n\n const contentType = res.headers.get('content-type')\n const isRscResponse = !!(\n contentType && contentType.startsWith(RSC_CONTENT_TYPE_HEADER)\n )\n\n // Handle invalid server action responses.\n // A valid response must have `content-type: text/x-component`, unless it's an external redirect.\n // (external redirects have an 'x-action-redirect' header, but the body is an empty 'text/plain')\n if (!isRscResponse && !redirectLocation) {\n // The server can respond with a text/plain error message, but we'll fallback to something generic\n // if there isn't one.\n const message =\n res.status >= 400 && contentType === 'text/plain'\n ? await res.text()\n : 'An unexpected response was received from the server.'\n\n throw new Error(message)\n }\n\n let actionResult: FetchServerActionResult['actionResult']\n let actionFlightData: FetchServerActionResult['actionFlightData']\n let actionFlightDataRenderedSearch: FetchServerActionResult['actionFlightDataRenderedSearch']\n let actionFlightDataCouldBeIntercepted: FetchServerActionResult['actionFlightDataCouldBeIntercepted']\n\n if (isRscResponse) {\n const response: ActionFlightResponse = await createFromFetch(\n Promise.resolve(res),\n {\n callServer,\n findSourceMapURL,\n temporaryReferences,\n debugChannel: createDebugChannel && createDebugChannel(headers),\n }\n )\n\n // An internal redirect can send an RSC response, but does not have a useful `actionResult`.\n actionResult = redirectLocation ? undefined : response.a\n const maybeFlightData = normalizeFlightData(response.f)\n if (maybeFlightData !== '') {\n actionFlightData = maybeFlightData\n actionFlightDataRenderedSearch = response.q as NormalizedSearch\n actionFlightDataCouldBeIntercepted = response.i\n }\n } else {\n // An external redirect doesn't contain RSC data.\n actionResult = undefined\n actionFlightData = undefined\n actionFlightDataRenderedSearch = undefined\n actionFlightDataCouldBeIntercepted = undefined\n }\n\n return {\n actionResult,\n actionFlightData,\n actionFlightDataRenderedSearch,\n actionFlightDataCouldBeIntercepted,\n redirectLocation,\n redirectType,\n revalidationKind,\n isPrerender,\n }\n}\n\n/*\n * This reducer is responsible for calling the server action and processing any side-effects from the server action.\n * It does not mutate the state by itself but rather delegates to other reducers to do the actual mutation.\n */\nexport function serverActionReducer(\n state: ReadonlyReducerState,\n action: ServerActionAction\n): ReducerState {\n const { resolve, reject } = action\n const mutable: ServerActionMutable = {}\n\n mutable.preserveCustomHistoryState = false\n\n // only pass along the `nextUrl` param (used for interception routes) if the current route was intercepted.\n // If the route has been intercepted, the action should be as well.\n // Otherwise the server action might be intercepted with the wrong action id\n // (ie, one that corresponds with the intercepted route)\n const nextUrl =\n // We always send the last next-url, not the current when\n // performing a dynamic request. This is because we update\n // the next-url after a navigation, but we want the same\n // interception route to be matched that used the last\n // next-url.\n (state.previousNextUrl || state.nextUrl) &&\n hasInterceptionRouteInCurrentTree(state.tree)\n ? state.previousNextUrl || state.nextUrl\n : null\n\n return fetchServerAction(state, nextUrl, action).then(\n async ({\n revalidationKind,\n actionResult,\n actionFlightData: flightData,\n actionFlightDataRenderedSearch: flightDataRenderedSearch,\n actionFlightDataCouldBeIntercepted: flightDataCouldBeIntercepted,\n redirectLocation,\n redirectType,\n }) => {\n if (revalidationKind !== ActionDidNotRevalidate) {\n // Store whether this action triggered any revalidation\n // The action queue will use this information to potentially\n // trigger a refresh action if the action was discarded\n // (ie, due to a navigation, before the action completed)\n action.didRevalidate = true\n\n // If there was a revalidation, evict the entire prefetch cache.\n // TODO: Evict only segments with matching tags and/or paths.\n if (revalidationKind === ActionDidRevalidateStaticAndDynamic) {\n revalidateEntireCache(nextUrl, state.tree)\n }\n }\n\n const pendingPush = redirectType !== RedirectType.replace\n state.pushRef.pendingPush = pendingPush\n mutable.pendingPush = pendingPush\n\n if (redirectLocation !== undefined) {\n // If the action triggered a redirect, the action promise will be rejected with\n // a redirect so that it's handled by RedirectBoundary as we won't have a valid\n // action result to resolve the promise with. This will effectively reset the state of\n // the component that called the action as the error boundary will remount the tree.\n // The status code doesn't matter here as the action handler will have already sent\n // a response with the correct status code.\n const resolvedRedirectType = redirectType || RedirectType.push\n\n if (isExternalURL(redirectLocation)) {\n // External redirect. Triggers an MPA navigation.\n const redirectHref = redirectLocation.href\n const redirectError = createRedirectErrorForAction(\n redirectHref,\n resolvedRedirectType\n )\n reject(redirectError)\n return handleExternalUrl(state, mutable, redirectHref, pendingPush)\n } else {\n // Internal redirect. Triggers an SPA navigation.\n const redirectWithBasepath = createHrefFromUrl(\n redirectLocation,\n false\n )\n const redirectHref = hasBasePath(redirectWithBasepath)\n ? removeBasePath(redirectWithBasepath)\n : redirectWithBasepath\n const redirectError = createRedirectErrorForAction(\n redirectHref,\n resolvedRedirectType\n )\n reject(redirectError)\n }\n } else {\n // If there's no redirect, resolve the action with the result.\n resolve(actionResult)\n }\n\n // Check if we can bail out without updating any state.\n if (\n // Did the action trigger a redirect?\n redirectLocation === undefined &&\n // Did the action revalidate any data?\n revalidationKind === ActionDidNotRevalidate &&\n // Did the server render new data?\n flightData === undefined\n ) {\n // The action did not trigger any revalidations or redirects. No\n // navigation is required.\n return state\n }\n\n if (flightData === undefined && redirectLocation !== undefined) {\n // The server redirected, but did not send any Flight data. This implies\n // an external redirect.\n // TODO: We should refactor the action response type to be more explicit\n // about the various response types.\n return handleExternalUrl(\n state,\n mutable,\n redirectLocation.href,\n pendingPush\n )\n }\n\n if (typeof flightData === 'string') {\n // If the flight data is just a string, something earlier in the\n // response handling triggered an external redirect.\n return handleExternalUrl(state, mutable, flightData, pendingPush)\n }\n\n // The action triggered a navigation — either a redirect, a revalidation,\n // or both.\n\n // If there was no redirect, then the target URL is the same as the\n // current URL.\n const currentUrl = new URL(state.canonicalUrl, location.origin)\n const redirectUrl =\n redirectLocation !== undefined ? redirectLocation : currentUrl\n const currentFlightRouterState = state.tree\n const shouldScroll = true\n\n // If the action triggered a revalidation of the cache, we should also\n // refresh all the dynamic data.\n const freshnessPolicy =\n revalidationKind === ActionDidNotRevalidate\n ? FreshnessPolicy.Default\n : FreshnessPolicy.RefreshAll\n\n // The server may have sent back new data. If so, we will perform a\n // \"seeded\" navigation that uses the data from the response.\n if (flightData !== undefined) {\n const normalizedFlightData = flightData[0]\n if (\n normalizedFlightData !== undefined &&\n // TODO: Currently the server always renders from the root in\n // response to a Server Action. In the case of a normal redirect\n // with no revalidation, it should skip over the shared layouts.\n normalizedFlightData.isRootRender &&\n flightDataRenderedSearch !== undefined &&\n flightDataCouldBeIntercepted !== undefined\n ) {\n // The server sent back new route data as part of the response. We\n // will use this to render the new page. If this happens to be only a\n // subset of the data needed to render the new page, we'll initiate a\n // new fetch, like we would for a normal navigation.\n const redirectCanonicalUrl = createHrefFromUrl(redirectUrl)\n const navigationSeed = {\n tree: normalizedFlightData.tree,\n renderedSearch: flightDataRenderedSearch,\n data: normalizedFlightData.seedData,\n head: normalizedFlightData.head,\n }\n const now = Date.now()\n const result = navigateToSeededRoute(\n now,\n redirectUrl,\n redirectCanonicalUrl,\n navigationSeed,\n currentUrl,\n state.cache,\n currentFlightRouterState,\n freshnessPolicy,\n nextUrl,\n shouldScroll\n )\n return handleNavigationResult(\n redirectUrl,\n state,\n mutable,\n pendingPush,\n result\n )\n }\n }\n\n // The server did not send back new data. We'll perform a regular, non-\n // seeded navigation — effectively the same as <Link> or router.push().\n const result = navigateUsingSegmentCache(\n redirectUrl,\n currentUrl,\n state.cache,\n currentFlightRouterState,\n nextUrl,\n freshnessPolicy,\n shouldScroll,\n mutable\n )\n return handleNavigationResult(\n redirectUrl,\n state,\n mutable,\n pendingPush,\n result\n )\n },\n (e: any) => {\n // When the server action is rejected we don't update the state and instead call the reject handler of the promise.\n reject(e)\n\n return state\n }\n )\n}\n\nfunction createRedirectErrorForAction(\n redirectHref: string,\n resolvedRedirectType: RedirectType\n) {\n const redirectError = getRedirectError(redirectHref, resolvedRedirectType)\n // We mark the error as handled because we don't want the redirect to be tried later by\n // the RedirectBoundary, in case the user goes back and `Activity` triggers the redirect\n // again, as it's run within an effect.\n // We don't actually need the RedirectBoundary to do a router.push because we already\n // have all the necessary RSC data to render the new page within a single roundtrip.\n ;(redirectError as any).handled = true\n return redirectError\n}\n"],"names":["serverActionReducer","createFromFetch","createFromFetchBrowser","createDebugChannel","process","env","NODE_ENV","__NEXT_REACT_DEBUG_CHANNEL","require","fetchServerAction","state","nextUrl","actionId","actionArgs","temporaryReferences","createTemporaryReferenceSet","info","extractInfoFromServerReferenceId","usedArgs","type","omitUnusedArgs","body","encodeReply","headers","Accept","RSC_CONTENT_TYPE_HEADER","ACTION_HEADER","NEXT_ROUTER_STATE_TREE_HEADER","prepareFlightRouterStateForRequest","tree","deploymentId","getDeploymentId","NEXT_URL","self","__next_r","NEXT_HTML_REQUEST_ID_HEADER","NEXT_REQUEST_ID_HEADER","crypto","getRandomValues","Uint32Array","toString","res","fetch","canonicalUrl","method","unrecognizedActionHeader","get","NEXT_ACTION_NOT_FOUND_HEADER","UnrecognizedActionError","redirectHeader","location","_redirectType","split","redirectType","RedirectType","push","replace","undefined","isPrerender","NEXT_IS_PRERENDER_HEADER","revalidationKind","ActionDidNotRevalidate","revalidationHeader","parsedKind","JSON","parse","ActionDidRevalidateStaticAndDynamic","ActionDidRevalidateDynamicOnly","redirectLocation","assignLocation","URL","window","href","contentType","isRscResponse","startsWith","message","status","text","Error","actionResult","actionFlightData","actionFlightDataRenderedSearch","actionFlightDataCouldBeIntercepted","response","Promise","resolve","callServer","findSourceMapURL","debugChannel","a","maybeFlightData","normalizeFlightData","f","q","i","action","reject","mutable","preserveCustomHistoryState","previousNextUrl","hasInterceptionRouteInCurrentTree","then","flightData","flightDataRenderedSearch","flightDataCouldBeIntercepted","didRevalidate","revalidateEntireCache","pendingPush","pushRef","resolvedRedirectType","isExternalURL","redirectHref","redirectError","createRedirectErrorForAction","handleExternalUrl","redirectWithBasepath","createHrefFromUrl","hasBasePath","removeBasePath","currentUrl","origin","redirectUrl","currentFlightRouterState","shouldScroll","freshnessPolicy","FreshnessPolicy","Default","RefreshAll","normalizedFlightData","isRootRender","redirectCanonicalUrl","navigationSeed","renderedSearch","data","seedData","head","now","Date","result","navigateToSeededRoute","cache","handleNavigationResult","navigateUsingSegmentCache","e","getRedirectError","handled"],"mappings":"AAyEEI,QAAQC,GAAG,CAACC,QAAQ,KAAK,gBACzBF,QAAQC,GAAG,CAACE,0BAA0B,EACtC;;;;;+BAoLcP,uBAAAA;;;eAAAA;;;+BA3PW;qCACM;kCAU1B;yCACiC;wBAQjC;gCAQwB;mCACG;iCACwB;mDACR;mCAK3C;0BAC0B;+BACJ;gCACE;6BACH;qCAIrB;uBAC+B;8BACN;4BAIzB;wCAOA;gCACuB;gCACE;AAEhC,MAAMC,kBACJC,QAAAA,eAAsB;AAExB,IAAIC;AAIJ;;AAuBA,eAAeM,kBACbC,KAA2B,EAC3BC,OAAwC,EACxC,EAAEC,QAAQ,EAAEC,UAAU,EAAsB;IAE5C,MAAMC,sBAAsBC,CAAAA,GAAAA,QAAAA,2BAA2B;IACvD,MAAMC,OAAOC,CAAAA,GAAAA,qBAAAA,gCAAgC,EAACL;IAE9C,6EAA6E;IAC7E,8EA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D,iCAAiChD,WACjC;gBACA,kEAAkE;gBAClE,qEAAqE;gBACrE,qEAAqE;gBACrE,oDAAoD;gBACpD,MAAM0E,uBAAuBd,CAAAA,GAAAA,mBAAAA,iBAAiB,EAACK;gBAC/C,MAAMU,iBAAiB;oBACrBvG,MAAMoG,qBAAqBpG,IAAI;oBAC/BwG,gBAAgB7B;oBAChB8B,MAAML,qBAAqBM,QAAQ;oBACnCC,MAAMP,qBAAqBO,IAAI;gBACjC;gBACA,MAAMC,MAAMC,KAAKD,GAAG;gBACpB,MAAME,SAASC,CAAAA,GAAAA,YAAAA,qBAAqB,EAClCH,KACAf,aACAS,sBACAC,gBACAZ,YACA9G,MAAMmI,KAAK,EACXlB,0BACAE,iBACAlH,SACAiH;gBAEF,OAAOkB,CAAAA,GAAAA,iBAAAA,sBAAsB,EAC3BpB,aACAhH,OACAwF,SACAU,aACA+B;YAEJ;QACF;QAEA,uEAAuE;QACvE,uEAAuE;QACvE,MAAMA,SAASI,CAAAA,GAAAA,YAAAA,QAAyB,EACtCrB,aACAF,YACA9G,MAAMmI,KAAK,EACXlB,0BACAhH,SACAkH,iBACAD,cACA1B;QAEF,OAAO4C,CAAAA,GAAAA,iBAAAA,sBAAsB,EAC3BpB,aACAhH,OACAwF,SACAU,aACA+B;IAEJ,GACA,CAACK;QACC,mHAAmH;QACnH/C,OAAO+C;QAEP,OAAOtI;IACT;AAEJ;AAEA,SAASwG,6BACPF,YAAoB,EACpBF,oBAAkC;IAElC,MAAMG,gBAAgBgC,CAAAA,GAAAA,UAAAA,gBAAgB,EAACjC,cAAcF;IAMnDG,cAAsBiC,OAAO,GAAG;IAClC,OAAOjC;AACT","ignoreList":[0]}}, - {"offset": {"line": 9040, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/router-reducer/router-reducer.ts"],"sourcesContent":["import {\n ACTION_NAVIGATE,\n ACTION_SERVER_PATCH,\n ACTION_RESTORE,\n ACTION_REFRESH,\n ACTION_HMR_REFRESH,\n ACTION_SERVER_ACTION,\n} from './router-reducer-types'\nimport type {\n ReducerActions,\n ReducerState,\n ReadonlyReducerState,\n} from './router-reducer-types'\nimport { navigateReducer } from './reducers/navigate-reducer'\nimport { serverPatchReducer } from './reducers/server-patch-reducer'\nimport { restoreReducer } from './reducers/restore-reducer'\nimport { refreshReducer } from './reducers/refresh-reducer'\nimport { hmrRefreshReducer } from './reducers/hmr-refresh-reducer'\nimport { serverActionReducer } from './reducers/server-action-reducer'\n\n/**\n * Reducer that handles the app-router state updates.\n */\nfunction clientReducer(\n state: ReadonlyReducerState,\n action: ReducerActions\n): ReducerState {\n switch (action.type) {\n case ACTION_NAVIGATE: {\n return navigateReducer(state, action)\n }\n case ACTION_SERVER_PATCH: {\n return serverPatchReducer(state, action)\n }\n case ACTION_RESTORE: {\n return restoreReducer(state, action)\n }\n case ACTION_REFRESH: {\n return refreshReducer(state)\n }\n case ACTION_HMR_REFRESH: {\n return hmrRefreshReducer(state)\n }\n case ACTION_SERVER_ACTION: {\n return serverActionReducer(state, action)\n }\n // This case should never be hit as dispatch is strongly typed.\n default:\n throw new Error('Unknown action')\n }\n}\n\nfunction serverReducer(\n state: ReadonlyReducerState,\n _action: ReducerActions\n): ReducerState {\n return state\n}\n\n// we don't run the client reducer on the server, so we use a noop function for better tree shaking\nexport const reducer =\n typeof window === 'undefined' ? serverReducer : clientReducer\n"],"names":["reducer","clientReducer","state","action","type","ACTION_NAVIGATE","navigateReducer","ACTION_SERVER_PATCH","serverPatchReducer","ACTION_RESTORE","restoreReducer","ACTION_REFRESH","refreshReducer","ACTION_HMR_REFRESH","hmrRefreshReducer","ACTION_SERVER_ACTION","serverActionReducer","Error","serverReducer","_action","window"],"mappings":";;;+BA4DaA,WAAAA;;;eAAAA;;;oCArDN;iCAMyB;oCACG;gCACJ;gCACA;mCACG;qCACE;AAEpC;;CAEC,GACD,SAASC,cACPC,KAA2B,EAC3BC,MAAsB;IAEtB,OAAQA,OAAOC,IAAI;QACjB,KAAKC,oBAAAA,eAAe;YAAE;gBACpB,OAAOC,CAAAA,GAAAA,iBAAAA,eAAe,EAACJ,OAAOC;YAChC;QACA,KAAKI,oBAAAA,mBAAmB;YAAE;gBACxB,OAAOC,CAAAA,GAAAA,oBAAAA,kBAAkB,EAACN,OAAOC;YACnC;QACA,KAAKM,oBAAAA,cAAc;YAAE;gBACnB,OAAOC,CAAAA,GAAAA,gBAAAA,cAAc,EAACR,OAAOC;YAC/B;QACA,KAAKQ,oBAAAA,cAAc;YAAE;gBACnB,OAAOC,CAAAA,GAAAA,gBAAAA,cAAc,EAACV;YACxB;QACA,KAAKW,oBAAAA,kBAAkB;YAAE;gBACvB,OAAOC,CAAAA,GAAAA,mBAAAA,iBAAiB,EAACZ;YAC3B;QACA,KAAKa,oBAAAA,oBAAoB;YAAE;gBACzB,OAAOC,CAAAA,GAAAA,qBAAAA,mBAAmB,EAACd,OAAOC;YACpC;QACA,+DAA+D;QAC/D;YACE,MAAM,OAAA,cAA2B,CAA3B,IAAIc,MAAM,mBAAV,qBAAA;uBAAA;4BAAA;8BAAA;YAA0B;IACpC;AACF;AAEA,SAASC,cACPhB,KAA2B,EAC3BiB,OAAuB;IAEvB,OAAOjB;AACT;AAGO,MAAMF,UACX,OAAOoB,WAAW,cAAcF,gBAAgBjB","ignoreList":[0]}}, - {"offset": {"line": 9108, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/segment-cache/prefetch.ts"],"sourcesContent":["import type { FlightRouterState } from '../../../shared/lib/app-router-types'\nimport { createPrefetchURL } from '../app-router-utils'\nimport { createCacheKey } from './cache-key'\nimport { schedulePrefetchTask } from './scheduler'\nimport { PrefetchPriority, type PrefetchTaskFetchStrategy } from './types'\n\n/**\n * Entrypoint for prefetching a URL into the Segment Cache.\n * @param href - The URL to prefetch. Typically this will come from a <Link>,\n * or router.prefetch. It must be validated before we attempt to prefetch it.\n * @param nextUrl - A special header used by the server for interception routes.\n * Roughly corresponds to the current URL.\n * @param treeAtTimeOfPrefetch - The FlightRouterState at the time the prefetch\n * was requested. This is only used when PPR is disabled.\n * @param fetchStrategy - Whether to prefetch dynamic data, in addition to\n * static data. This is used by `<Link prefetch={true}>`.\n * @param onInvalidate - A callback that will be called when the prefetch cache\n * When called, it signals to the listener that the data associated with the\n * prefetch may have been invalidated from the cache. This is not a live\n * subscription — it's called at most once per `prefetch` call. The only\n * supported use case is to trigger a new prefetch inside the listener, if\n * desired. It also may be called even in cases where the associated data is\n * still cached. Prefetching is a poll-based (pull) operation, not an event-\n * based (push) one. Rather than subscribe to specific cache entries, you\n * occasionally poll the prefetch cache to check if anything is missing.\n */\nexport function prefetch(\n href: string,\n nextUrl: string | null,\n treeAtTimeOfPrefetch: FlightRouterState,\n fetchStrategy: PrefetchTaskFetchStrategy,\n onInvalidate: null | (() => void)\n) {\n const url = createPrefetchURL(href)\n if (url === null) {\n // This href should not be prefetched.\n return\n }\n const cacheKey = createCacheKey(url.href, nextUrl)\n schedulePrefetchTask(\n cacheKey,\n treeAtTimeOfPrefetch,\n fetchStrategy,\n PrefetchPriority.Default,\n onInvalidate\n )\n}\n"],"names":["prefetch","href","nextUrl","treeAtTimeOfPrefetch","fetchStrategy","onInvalidate","url","createPrefetchURL","cacheKey","createCacheKey","schedulePrefetchTask","PrefetchPriority","Default"],"mappings":";;;+BA0BgBA,YAAAA;;;eAAAA;;;gCAzBkB;0BACH;2BACM;uBAC4B;AAsB1D,SAASA,SACdC,IAAY,EACZC,OAAsB,EACtBC,oBAAuC,EACvCC,aAAwC,EACxCC,YAAiC;IAEjC,MAAMC,MAAMC,CAAAA,GAAAA,gBAAAA,iBAAiB,EAACN;IAC9B,IAAIK,QAAQ,MAAM;QAChB,sCAAsC;QACtC;IACF;IACA,MAAME,WAAWC,CAAAA,GAAAA,UAAAA,cAAc,EAACH,IAAIL,IAAI,EAAEC;IAC1CQ,CAAAA,GAAAA,WAAAA,oBAAoB,EAClBF,UACAL,sBACAC,eACAO,OAAAA,gBAAgB,CAACC,OAAO,EACxBP;AAEJ","ignoreList":[0]}}, - {"offset": {"line": 9141, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/app-router-instance.ts"],"sourcesContent":["import {\n type AppRouterState,\n type ReducerActions,\n type ReducerState,\n ACTION_REFRESH,\n ACTION_SERVER_ACTION,\n ACTION_NAVIGATE,\n ACTION_RESTORE,\n type NavigateAction,\n ACTION_HMR_REFRESH,\n PrefetchKind,\n type AppHistoryState,\n} from './router-reducer/router-reducer-types'\nimport { reducer } from './router-reducer/router-reducer'\nimport { startTransition } from 'react'\nimport { isThenable } from '../../shared/lib/is-thenable'\nimport {\n FetchStrategy,\n type PrefetchTaskFetchStrategy,\n} from './segment-cache/types'\nimport { prefetch as prefetchWithSegmentCache } from './segment-cache/prefetch'\nimport { dispatchAppRouterAction } from './use-action-queue'\nimport { addBasePath } from '../add-base-path'\nimport { isExternalURL } from './app-router-utils'\nimport type {\n AppRouterInstance,\n NavigateOptions,\n PrefetchOptions,\n} from '../../shared/lib/app-router-context.shared-runtime'\nimport { setLinkForCurrentNavigation, type LinkInstance } from './links'\nimport type { ClientInstrumentationHooks } from '../app-index'\nimport type { GlobalErrorComponent } from './builtin/global-error'\n\nexport type DispatchStatePromise = React.Dispatch<ReducerState>\n\nexport type AppRouterActionQueue = {\n state: AppRouterState\n dispatch: (payload: ReducerActions, setState: DispatchStatePromise) => void\n action: (state: AppRouterState, action: ReducerActions) => ReducerState\n\n onRouterTransitionStart:\n | ((url: string, type: 'push' | 'replace' | 'traverse') => void)\n | null\n\n pending: ActionQueueNode | null\n needsRefresh?: boolean\n last: ActionQueueNode | null\n}\n\nexport type GlobalErrorState = [\n GlobalError: GlobalErrorComponent,\n styles: React.ReactNode,\n]\n\nexport type ActionQueueNode = {\n payload: ReducerActions\n next: ActionQueueNode | null\n resolve: (value: ReducerState) => void\n reject: (err: Error) => void\n discarded?: boolean\n}\n\nfunction runRemainingActions(\n actionQueue: AppRouterActionQueue,\n setState: DispatchStatePromise\n) {\n if (actionQueue.pending !== null) {\n actionQueue.pending = actionQueue.pending.next\n if (actionQueue.pending !== null) {\n runAction({\n actionQueue,\n action: actionQueue.pending,\n setState,\n })\n }\n } else {\n // Check for refresh when pending is already null\n // This handles the case where a discarded server action completes\n // after the navigation has already finished and the queue is empty\n if (actionQueue.needsRefresh) {\n actionQueue.needsRefresh = false\n actionQueue.dispatch({ type: ACTION_REFRESH }, setState)\n }\n }\n}\n\nasync function runAction({\n actionQueue,\n action,\n setState,\n}: {\n actionQueue: AppRouterActionQueue\n action: ActionQueueNode\n setState: DispatchStatePromise\n}) {\n const prevState = actionQueue.state\n\n actionQueue.pending = action\n\n const payload = action.payload\n const actionResult = actionQueue.action(prevState, payload)\n\n function handleResult(nextState: AppRouterState) {\n // if we discarded this action, the state should also be discarded\n if (action.discarded) {\n // Check if the discarded server action revalidated data\n if (\n action.payload.type === ACTION_SERVER_ACTION &&\n action.payload.didRevalidate\n ) {\n // The server action was discarded but it revalidated data,\n // mark that we need to refresh after all actions complete\n actionQueue.needsRefresh = true\n }\n // Still need to run remaining actions even for discarded actions\n // to potentially trigger the refresh\n runRemainingActions(actionQueue, setState)\n return\n }\n\n actionQueue.state = nextState\n\n runRemainingActions(actionQueue, setState)\n action.resolve(nextState)\n }\n\n // if the action is a promise, set up a callback to resolve it\n if (isThenable(actionResult)) {\n actionResult.then(handleResult, (err) => {\n runRemainingActions(actionQueue, setState)\n action.reject(err)\n })\n } else {\n handleResult(actionResult)\n }\n}\n\nfunction dispatchAction(\n actionQueue: AppRouterActionQueue,\n payload: ReducerActions,\n setState: DispatchStatePromise\n) {\n let resolvers: {\n resolve: (value: ReducerState) => void\n reject: (reason: any) => void\n } = { resolve: setState, reject: () => {} }\n\n // most of the action types are async with the exception of restore\n // it's important that restore is handled quickly since it's fired on the popstate event\n // and we don't want to add any delay on a back/forward nav\n // this only creates a promise for the async actions\n if (payload.type !== ACTION_RESTORE) {\n // Create the promise and assign the resolvers to the object.\n const deferredPromise = new Promise<AppRouterState>((resolve, reject) => {\n resolvers = { resolve, reject }\n })\n\n startTransition(() => {\n // we immediately notify React of the pending promise -- the resolver is attached to the action node\n // and will be called when the associated action promise resolves\n setState(deferredPromise)\n })\n }\n\n const newAction: ActionQueueNode = {\n payload,\n next: null,\n resolve: resolvers.resolve,\n reject: resolvers.reject,\n }\n\n // Check if the queue is empty\n if (actionQueue.pending === null) {\n // The queue is empty, so add the action and start it immediately\n // Mark this action as the last in the queue\n actionQueue.last = newAction\n\n runAction({\n actionQueue,\n action: newAction,\n setState,\n })\n } else if (\n payload.type === ACTION_NAVIGATE ||\n payload.type === ACTION_RESTORE\n ) {\n // Navigations (including back/forward) take priority over any pending actions.\n // Mark the pending action as discarded (so the state is never applied) and start the navigation action immediately.\n actionQueue.pending.discarded = true\n\n // The rest of the current queue should still execute after this navigation.\n // (Note that it can't contain any earlier navigations, because we always put those into `actionQueue.pending` by calling `runAction`)\n newAction.next = actionQueue.pending.next\n\n runAction({\n actionQueue,\n action: newAction,\n setState,\n })\n } else {\n // The queue is not empty, so add the action to the end of the queue\n // It will be started by runRemainingActions after the previous action finishes\n if (actionQueue.last !== null) {\n actionQueue.last.next = newAction\n }\n actionQueue.last = newAction\n }\n}\n\nlet globalActionQueue: AppRouterActionQueue | null = null\n\nexport function createMutableActionQueue(\n initialState: AppRouterState,\n instrumentationHooks: ClientInstrumentationHooks | null\n): AppRouterActionQueue {\n const actionQueue: AppRouterActionQueue = {\n state: initialState,\n dispatch: (payload: ReducerActions, setState: DispatchStatePromise) =>\n dispatchAction(actionQueue, payload, setState),\n action: async (state: AppRouterState, action: ReducerActions) => {\n const result = reducer(state, action)\n return result\n },\n pending: null,\n last: null,\n onRouterTransitionStart:\n instrumentationHooks !== null &&\n typeof instrumentationHooks.onRouterTransitionStart === 'function'\n ? // This profiling hook will be called at the start of every navigation.\n instrumentationHooks.onRouterTransitionStart\n : null,\n }\n\n if (typeof window !== 'undefined') {\n // The action queue is lazily created on hydration, but after that point\n // it doesn't change. So we can store it in a global rather than pass\n // it around everywhere via props/context.\n if (globalActionQueue !== null) {\n throw new Error(\n 'Internal Next.js Error: createMutableActionQueue was called more ' +\n 'than once'\n )\n }\n globalActionQueue = actionQueue\n }\n\n return actionQueue\n}\n\nexport function getCurrentAppRouterState(): AppRouterState | null {\n return globalActionQueue !== null ? globalActionQueue.state : null\n}\n\nfunction getAppRouterActionQueue(): AppRouterActionQueue {\n if (globalActionQueue === null) {\n throw new Error(\n 'Internal Next.js error: Router action dispatched before initialization.'\n )\n }\n return globalActionQueue\n}\n\nfunction getProfilingHookForOnNavigationStart() {\n if (globalActionQueue !== null) {\n return globalActionQueue.onRouterTransitionStart\n }\n return null\n}\n\nexport function dispatchNavigateAction(\n href: string,\n navigateType: NavigateAction['navigateType'],\n shouldScroll: boolean,\n linkInstanceRef: LinkInstance | null\n): void {\n // TODO: This stuff could just go into the reducer. Leaving as-is for now\n // since we're about to rewrite all the router reducer stuff anyway.\n const url = new URL(addBasePath(href), location.href)\n if (process.env.__NEXT_APP_NAV_FAIL_HANDLING) {\n window.next.__pendingUrl = url\n }\n\n setLinkForCurrentNavigation(linkInstanceRef)\n\n const onRouterTransitionStart = getProfilingHookForOnNavigationStart()\n if (onRouterTransitionStart !== null) {\n onRouterTransitionStart(href, navigateType)\n }\n\n dispatchAppRouterAction({\n type: ACTION_NAVIGATE,\n url,\n isExternalUrl: isExternalURL(url),\n locationSearch: location.search,\n shouldScroll,\n navigateType,\n })\n}\n\nexport function dispatchTraverseAction(\n href: string,\n historyState: AppHistoryState | undefined\n) {\n const onRouterTransitionStart = getProfilingHookForOnNavigationStart()\n if (onRouterTransitionStart !== null) {\n onRouterTransitionStart(href, 'traverse')\n }\n dispatchAppRouterAction({\n type: ACTION_RESTORE,\n url: new URL(href),\n historyState,\n })\n}\n\n/**\n * The app router that is exposed through `useRouter`. These are public API\n * methods. Internal Next.js code should call the lower level methods directly\n * (although there's lots of existing code that doesn't do that).\n */\nexport const publicAppRouterInstance: AppRouterInstance = {\n back: () => window.history.back(),\n forward: () => window.history.forward(),\n prefetch:\n // Unlike the old implementation, the Segment Cache doesn't store its\n // data in the router reducer state; it writes into a global mutable\n // cache. So we don't need to dispatch an action.\n (href: string, options?: PrefetchOptions) => {\n const actionQueue = getAppRouterActionQueue()\n const prefetchKind = options?.kind ?? PrefetchKind.AUTO\n\n // We don't currently offer a way to issue a runtime prefetch via `router.prefetch()`.\n // This will be possible when we update its API to not take a PrefetchKind.\n let fetchStrategy: PrefetchTaskFetchStrategy\n switch (prefetchKind) {\n case PrefetchKind.AUTO: {\n // We default to PPR. We'll discover whether or not the route supports it with the initial prefetch.\n fetchStrategy = FetchStrategy.PPR\n break\n }\n case PrefetchKind.FULL: {\n fetchStrategy = FetchStrategy.Full\n break\n }\n default: {\n prefetchKind satisfies never\n // Despite typescript thinking that this can't happen,\n // we might get an unexpected value from user code.\n // We don't know what they want, but we know they want a prefetch,\n // so use the default.\n fetchStrategy = FetchStrategy.PPR\n }\n }\n\n prefetchWithSegmentCache(\n href,\n actionQueue.state.nextUrl,\n actionQueue.state.tree,\n fetchStrategy,\n options?.onInvalidate ?? null\n )\n },\n replace: (href: string, options?: NavigateOptions) => {\n startTransition(() => {\n dispatchNavigateAction(href, 'replace', options?.scroll ?? true, null)\n })\n },\n push: (href: string, options?: NavigateOptions) => {\n startTransition(() => {\n dispatchNavigateAction(href, 'push', options?.scroll ?? true, null)\n })\n },\n refresh: () => {\n startTransition(() => {\n dispatchAppRouterAction({\n type: ACTION_REFRESH,\n })\n })\n },\n hmrRefresh: () => {\n if (process.env.NODE_ENV !== 'development') {\n throw new Error(\n 'hmrRefresh can only be used in development mode. Please use refresh instead.'\n )\n } else {\n startTransition(() => {\n dispatchAppRouterAction({\n type: ACTION_HMR_REFRESH,\n })\n })\n }\n },\n}\n\n// Exists for debugging purposes. Don't use in application code.\nif (typeof window !== 'undefined' && window.next) {\n window.next.router = publicAppRouterInstance\n}\n"],"names":["createMutableActionQueue","dispatchNavigateAction","dispatchTraverseAction","getCurrentAppRouterState","publicAppRouterInstance","runRemainingActions","actionQueue","setState","pending","next","runAction","action","needsRefresh","dispatch","type","ACTION_REFRESH","prevState","state","payload","actionResult","handleResult","nextState","discarded","ACTION_SERVER_ACTION","didRevalidate","resolve","isThenable","then","err","reject","dispatchAction","resolvers","ACTION_RESTORE","deferredPromise","Promise","startTransition","newAction","last","ACTION_NAVIGATE","globalActionQueue","initialState","instrumentationHooks","result","reducer","onRouterTransitionStart","window","Error","getAppRouterActionQueue","getProfilingHookForOnNavigationStart","href","navigateType","shouldScroll","linkInstanceRef","url","URL","addBasePath","location","process","env","__NEXT_APP_NAV_FAIL_HANDLING","__pendingUrl","setLinkForCurrentNavigation","dispatchAppRouterAction","isExternalUrl","isExternalURL","locationSearch","search","historyState","back","history","forward","prefetch","options","prefetchKind","kind","PrefetchKind","AUTO","fetchStrategy","FetchStrategy","PPR","FULL","Full","prefetchWithSegmentCache","nextUrl","tree","onInvalidate","replace","scroll","push","refresh","hmrRefresh","NODE_ENV","ACTION_HMR_REFRESH","router"],"mappings":"AA2XQyD,QAAQC,GAAG,CAACiC,QAAQ,KAAK,eAAe;;;;;;;;;;;;;;;;;;;IAxKhC3F,wBAAwB,EAAA;eAAxBA;;IA0DAC,sBAAsB,EAAA;eAAtBA;;IA8BAC,sBAAsB,EAAA;eAAtBA;;IAlDAC,wBAAwB,EAAA;eAAxBA;;IAsEHC,uBAAuB,EAAA;eAAvBA;;;oCAnTN;+BACiB;uBACQ;4BACL;uBAIpB;0BAC8C;gCACb;6BACZ;gCACE;uBAMiC;AAiC/D,SAASC,oBACPC,WAAiC,EACjCC,QAA8B;IAE9B,IAAID,YAAYE,OAAO,KAAK,MAAM;QAChCF,YAAYE,OAAO,GAAGF,YAAYE,OAAO,CAACC,IAAI;QAC9C,IAAIH,YAAYE,OAAO,KAAK,MAAM;YAChCE,UAAU;gBACRJ;gBACAK,QA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AWuB,SAASe,UAAU,MAAM;QACnE;IACF;IACAC,MAAM,CAACvC,MAAcuB;QACnBrC,CAAAA,GAAAA,OAAAA,eAAe,EAAC;YACdlC,uBAAuBgD,MAAM,QAAQuB,SAASe,UAAU,MAAM;QAChE;IACF;IACAE,SAAS;QACPtD,CAAAA,GAAAA,OAAAA,eAAe,EAAC;YACd2B,CAAAA,GAAAA,gBAAAA,uBAAuB,EAAC;gBACtBhD,MAAMC,oBAAAA,cAAc;YACtB;QACF;IACF;IACA2E,YAAY;QACV;;aAIO;YACLvD,CAAAA,GAAAA,OAAAA,eAAe,EAAC;gBACd2B,CAAAA,GAAAA,gBAAAA,uBAAuB,EAAC;oBACtBhD,MAAM8E,oBAAAA,kBAAkB;gBAC1B;YACF;QACF;IACF;AACF;AAEA,gEAAgE;AAChE,IAAI,OAAO/C,WAAW,eAAeA,OAAOpC,IAAI,EAAE;IAChDoC,OAAOpC,IAAI,CAACoF,MAAM,GAAGzF;AACvB","ignoreList":[0]}}, - {"offset": {"line": 9458, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/app-router-announcer.tsx"],"sourcesContent":["import { useEffect, useRef, useState } from 'react'\nimport { createPortal } from 'react-dom'\nimport type { FlightRouterState } from '../../shared/lib/app-router-types'\n\nconst ANNOUNCER_TYPE = 'next-route-announcer'\nconst ANNOUNCER_ID = '__next-route-announcer__'\n\nfunction getAnnouncerNode() {\n const existingAnnouncer = document.getElementsByName(ANNOUNCER_TYPE)[0]\n if (existingAnnouncer?.shadowRoot?.childNodes[0]) {\n return existingAnnouncer.shadowRoot.childNodes[0] as HTMLElement\n } else {\n const container = document.createElement(ANNOUNCER_TYPE)\n container.style.cssText = 'position:absolute'\n const announcer = document.createElement('div')\n announcer.ariaLive = 'assertive'\n announcer.id = ANNOUNCER_ID\n announcer.role = 'alert'\n announcer.style.cssText =\n 'position:absolute;border:0;height:1px;margin:-1px;padding:0;width:1px;clip:rect(0 0 0 0);overflow:hidden;white-space:nowrap;word-wrap:normal'\n\n // Use shadow DOM here to avoid any potential CSS bleed\n const shadow = container.attachShadow({ mode: 'open' })\n shadow.appendChild(announcer)\n document.body.appendChild(container)\n return announcer\n }\n}\n\nexport function AppRouterAnnouncer({ tree }: { tree: FlightRouterState }) {\n const [portalNode, setPortalNode] = useState<HTMLElement | null>(null)\n\n useEffect(() => {\n const announcer = getAnnouncerNode()\n setPortalNode(announcer)\n return () => {\n const container = document.getElementsByTagName(ANNOUNCER_TYPE)[0]\n if (container?.isConnected) {\n document.body.removeChild(container)\n }\n }\n }, [])\n\n const [routeAnnouncement, setRouteAnnouncement] = useState('')\n const previousTitle = useRef<string | undefined>(undefined)\n\n useEffect(() => {\n let currentTitle = ''\n if (document.title) {\n currentTitle = document.title\n } else {\n const pageHeader = document.querySelector('h1')\n if (pageHeader) {\n currentTitle = pageHeader.innerText || pageHeader.textContent || ''\n }\n }\n\n // Only announce the title change, but not for the first load because screen\n // readers do that automatically.\n if (\n previousTitle.current !== undefined &&\n previousTitle.current !== currentTitle\n ) {\n setRouteAnnouncement(currentTitle)\n }\n previousTitle.current = currentTitle\n }, [tree])\n\n return portalNode ? createPortal(routeAnnouncement, portalNode) : null\n}\n"],"names":["AppRouterAnnouncer","ANNOUNCER_TYPE","ANNOUNCER_ID","getAnnouncerNode","existingAnnouncer","document","getElementsByName","shadowRoot","childNodes","container","createElement","style","cssText","announcer","ariaLive","id","role","shadow","attachShadow","mode","appendChild","body","tree","portalNode","setPortalNode","useState","useEffect","getElementsByTagName","isConnected","removeChild","routeAnnouncement","setRouteAnnouncement","previousTitle","useRef","undefined","currentTitle","title","pageHeader","querySelector","innerText","textContent","current","createPortal"],"mappings":";;;+BA6BgBA,sBAAAA;;;eAAAA;;;uBA7B4B;0BACf;AAG7B,MAAMC,iBAAiB;AACvB,MAAMC,eAAe;AAErB,SAASC;IACP,MAAMC,oBAAoBC,SAASC,iBAAiB,CAACL,eAAe,CAAC,EAAE;IACvE,IAA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AWE,SAAS,IAAIF,WAAWG,WAAW,IAAI;YACnE;QACF;QAEA,4EAA4E;QAC5E,iCAAiC;QACjC,IACER,cAAcS,OAAO,KAAKP,aAC1BF,cAAcS,OAAO,KAAKN,cAC1B;YACAJ,qBAAqBI;QACvB;QACAH,cAAcS,OAAO,GAAGN;IAC1B,GAAG;QAACb;KAAK;IAET,OAAOC,aAAAA,WAAAA,GAAamB,CAAAA,GAAAA,UAAAA,YAAY,EAACZ,mBAAmBP,cAAc;AACpE","ignoreList":[0]}}, - {"offset": {"line": 9538, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/forbidden.ts"],"sourcesContent":["import {\n HTTP_ERROR_FALLBACK_ERROR_CODE,\n type HTTPAccessFallbackError,\n} from './http-access-fallback/http-access-fallback'\n\n// TODO: Add `forbidden` docs\n/**\n * @experimental\n * This function allows you to render the [forbidden.js file](https://nextjs.org/docs/app/api-reference/file-conventions/forbidden)\n * within a route segment as well as inject a tag.\n *\n * `forbidden()` can be used in\n * [Server Components](https://nextjs.org/docs/app/building-your-application/rendering/server-components),\n * [Route Handlers](https://nextjs.org/docs/app/building-your-application/routing/route-handlers), and\n * [Server Actions](https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations).\n *\n * Read more: [Next.js Docs: `forbidden`](https://nextjs.org/docs/app/api-reference/functions/forbidden)\n */\n\nconst DIGEST = `${HTTP_ERROR_FALLBACK_ERROR_CODE};403`\n\nexport function forbidden(): never {\n if (!process.env.__NEXT_EXPERIMENTAL_AUTH_INTERRUPTS) {\n throw new Error(\n `\\`forbidden()\\` is experimental and only allowed to be enabled when \\`experimental.authInterrupts\\` is enabled.`\n )\n }\n\n const error = new Error(DIGEST) as HTTPAccessFallbackError\n ;(error as HTTPAccessFallbackError).digest = DIGEST\n throw error\n}\n"],"names":["forbidden","DIGEST","HTTP_ERROR_FALLBACK_ERROR_CODE","process","env","__NEXT_EXPERIMENTAL_AUTH_INTERRUPTS","Error","error","digest"],"mappings":"AAsBOG,QAAQC,GAAG,CAACC,mCAAmC;;;;;+BADtCL,aAAAA;;;eAAAA;;;oCAlBT;AAEP,6BAA6B;AAC7B;;;;;;;;;;;CAWC,GAED,MAAMC,SAAS,GAAGC,oBAAAA,8BAA8B,CAAC,IAAI,CAAC;AAE/C,SAASF;IACd,IAAI,oCAAkD;QACpD,MAAM,OAAA,cAEL,CAFK,IAAIM,MACR,CAAC,+GAA+G,CAAC,GAD7G,qBAAA;mBAAA;wBAAA;0BAAA;QAEN;IACF;IAEA,MAAMC,QAAQ,OAAA,cAAiB,CAAjB,IAAID,MAAML,SAAV,qBAAA;eAAA;oBAAA;sBAAA;IAAgB;IAC5BM,MAAkCC,MAAM,GAAGP;IAC7C,MAAMM;AACR","ignoreList":[0]}}, - {"offset": {"line": 9590, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/unauthorized.ts"],"sourcesContent":["import {\n HTTP_ERROR_FALLBACK_ERROR_CODE,\n type HTTPAccessFallbackError,\n} from './http-access-fallback/http-access-fallback'\n\n// TODO: Add `unauthorized` docs\n/**\n * @experimental\n * This function allows you to render the [unauthorized.js file](https://nextjs.org/docs/app/api-reference/file-conventions/unauthorized)\n * within a route segment as well as inject a tag.\n *\n * `unauthorized()` can be used in\n * [Server Components](https://nextjs.org/docs/app/building-your-application/rendering/server-components),\n * [Route Handlers](https://nextjs.org/docs/app/building-your-application/routing/route-handlers), and\n * [Server Actions](https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations).\n *\n *\n * Read more: [Next.js Docs: `unauthorized`](https://nextjs.org/docs/app/api-reference/functions/unauthorized)\n */\n\nconst DIGEST = `${HTTP_ERROR_FALLBACK_ERROR_CODE};401`\n\nexport function unauthorized(): never {\n if (!process.env.__NEXT_EXPERIMENTAL_AUTH_INTERRUPTS) {\n throw new Error(\n `\\`unauthorized()\\` is experimental and only allowed to be used when \\`experimental.authInterrupts\\` is enabled.`\n )\n }\n\n const error = new Error(DIGEST) as HTTPAccessFallbackError\n ;(error as HTTPAccessFallbackError).digest = DIGEST\n throw error\n}\n"],"names":["unauthorized","DIGEST","HTTP_ERROR_FALLBACK_ERROR_CODE","process","env","__NEXT_EXPERIMENTAL_AUTH_INTERRUPTS","Error","error","digest"],"mappings":"AAuBOG,QAAQC,GAAG,CAACC,mCAAmC;;;;;+BADtCL,gBAAAA;;;eAAAA;;;oCAnBT;AAEP,gCAAgC;AAChC;;;;;;;;;;;;CAYC,GAED,MAAMC,SAAS,GAAGC,oBAAAA,8BAA8B,CAAC,IAAI,CAAC;AAE/C,SAASF;IACd,IAAI,oCAAkD;QACpD,MAAM,OAAA,cAEL,CAFK,IAAIM,MACR,CAAC,+GAA+G,CAAC,GAD7G,qBAAA;mBAAA;wBAAA;0BAAA;QAEN;IACF;IAEA,MAAMC,QAAQ,OAAA,cAAiB,CAAjB,IAAID,MAAML,SAAV,qBAAA;eAAA;oBAAA;sBAAA;IAAgB;IAC5BM,MAAkCC,MAAM,GAAGP;IAC7C,MAAMM;AACR","ignoreList":[0]}}, - {"offset": {"line": 9643, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/unstable-rethrow.browser.ts"],"sourcesContent":["import { isBailoutToCSRError } from '../../shared/lib/lazy-dynamic/bailout-to-csr'\nimport { isNextRouterError } from './is-next-router-error'\n\nexport function unstable_rethrow(error: unknown): void {\n if (isNextRouterError(error) || isBailoutToCSRError(error)) {\n throw error\n }\n\n if (error instanceof Error && 'cause' in error) {\n unstable_rethrow(error.cause)\n }\n}\n"],"names":["unstable_rethrow","error","isNextRouterError","isBailoutToCSRError","Error","cause"],"mappings":";;;+BAGgBA,oBAAAA;;;eAAAA;;;8BAHoB;mCACF;AAE3B,SAASA,iBAAiBC,KAAc;IAC7C,IAAIC,CAAAA,GAAAA,mBAAAA,iBAAiB,EAACD,UAAUE,CAAAA,GAAAA,cAAAA,mBAAmB,EAACF,QAAQ;QAC1D,MAAMA;IACR;IAEA,IAAIA,iBAAiBG,SAAS,WAAWH,OAAO;QAC9CD,iBAAiBC,MAAMI,KAAK;IAC9B;AACF","ignoreList":[0]}}, - {"offset": {"line": 9673, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/hooks-server-context.ts"],"sourcesContent":["const DYNAMIC_ERROR_CODE = 'DYNAMIC_SERVER_USAGE'\n\nexport class DynamicServerError extends Error {\n digest: typeof DYNAMIC_ERROR_CODE = DYNAMIC_ERROR_CODE\n\n constructor(public readonly description: string) {\n super(`Dynamic server usage: ${description}`)\n }\n}\n\nexport function isDynamicServerError(err: unknown): err is DynamicServerError {\n if (\n typeof err !== 'object' ||\n err === null ||\n !('digest' in err) ||\n typeof err.digest !== 'string'\n ) {\n return false\n }\n\n return err.digest === DYNAMIC_ERROR_CODE\n}\n"],"names":["DynamicServerError","isDynamicServerError","DYNAMIC_ERROR_CODE","Error","constructor","description","digest","err"],"mappings":";;;;;;;;;;;;;;IAEaA,kBAAkB,EAAA;eAAlBA;;IAQGC,oBAAoB,EAAA;eAApBA;;;AAVhB,MAAMC,qBAAqB;AAEpB,MAAMF,2BAA2BG;IAGtCC,YAA4BC,WAAmB,CAAE;QAC/C,KAAK,CAAC,CAAC,sBAAsB,EAAEA,aAAa,GAAA,IAAA,CADlBA,WAAAA,GAAAA,aAAAA,IAAAA,CAF5BC,MAAAA,GAAoCJ;IAIpC;AACF;AAEO,SAASD,qBAAqBM,GAAY;IAC/C,IACE,OAAOA,QAAQ,YACfA,QAAQ,QACR,CAAE,CAAA,YAAYA,GAAE,KAChB,OAAOA,IAAID,MAAM,KAAK,UACtB;QACA,OAAO;IACT;IAEA,OAAOC,IAAID,MAAM,KAAKJ;AACxB","ignoreList":[0]}}, - {"offset": {"line": 9717, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/static-generation-bailout.ts"],"sourcesContent":["const NEXT_STATIC_GEN_BAILOUT = 'NEXT_STATIC_GEN_BAILOUT'\n\nexport class StaticGenBailoutError extends Error {\n public readonly code = NEXT_STATIC_GEN_BAILOUT\n}\n\nexport function isStaticGenBailoutError(\n error: unknown\n): error is StaticGenBailoutError {\n if (typeof error !== 'object' || error === null || !('code' in error)) {\n return false\n }\n\n return error.code === NEXT_STATIC_GEN_BAILOUT\n}\n"],"names":["StaticGenBailoutError","isStaticGenBailoutError","NEXT_STATIC_GEN_BAILOUT","Error","code","error"],"mappings":";;;;;;;;;;;;;;IAEaA,qBAAqB,EAAA;eAArBA;;IAIGC,uBAAuB,EAAA;eAAvBA;;;AANhB,MAAMC,0BAA0B;AAEzB,MAAMF,8BAA8BG;;QAApC,KAAA,IAAA,OAAA,IAAA,CACWC,IAAAA,GAAOF;;AACzB;AAEO,SAASD,wBACdI,KAAc;IAEd,IAAI,OAAOA,UAAU,YAAYA,UAAU,QAAQ,CAAE,CAAA,UAAUA,KAAI,GAAI;QACrE,OAAO;IACT;IAEA,OAAOA,MAAMD,IAAI,KAAKF;AACxB","ignoreList":[0]}}, - {"offset": {"line": 9761, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/unstable-rethrow.server.ts"],"sourcesContent":["import { isHangingPromiseRejectionError } from '../../server/dynamic-rendering-utils'\nimport { isPostpone } from '../../server/lib/router-utils/is-postpone'\nimport { isBailoutToCSRError } from '../../shared/lib/lazy-dynamic/bailout-to-csr'\nimport { isNextRouterError } from './is-next-router-error'\nimport {\n isDynamicPostpone,\n isPrerenderInterruptedError,\n} from '../../server/app-render/dynamic-rendering'\nimport { isDynamicServerError } from './hooks-server-context'\n\nexport function unstable_rethrow(error: unknown): void {\n if (\n isNextRouterError(error) ||\n isBailoutToCSRError(error) ||\n isDynamicServerError(error) ||\n isDynamicPostpone(error) ||\n isPostpone(error) ||\n isHangingPromiseRejectionError(error) ||\n isPrerenderInterruptedError(error)\n ) {\n throw error\n }\n\n if (error instanceof Error && 'cause' in error) {\n unstable_rethrow(error.cause)\n }\n}\n"],"names":["unstable_rethrow","error","isNextRouterError","isBailoutToCSRError","isDynamicServerError","isDynamicPostpone","isPostpone","isHangingPromiseRejectionError","isPrerenderInterruptedError","Error","cause"],"mappings":";;;+BAUgBA,oBAAAA;;;eAAAA;;;uCAV+B;4BACpB;8BACS;mCACF;kCAI3B;oCAC8B;AAE9B,SAASA,iBAAiBC,KAAc;IAC7C,IACEC,CAAAA,GAAAA,mBAAAA,iBAAiB,EAACD,UAClBE,CAAAA,GAAAA,cAAAA,mBAAmB,EAACF,UACpBG,CAAAA,GAAAA,oBAAAA,oBAAoB,EAACH,UACrBI,CAAAA,GAAAA,kBAAAA,iBAAiB,EAACJ,UAClBK,CAAAA,GAAAA,YAAAA,UAAU,EAACL,UACXM,CAAAA,GAAAA,uBAAAA,8BAA8B,EAACN,UAC/BO,CAAAA,GAAAA,kBAAAA,2BAA2B,EAACP,QAC5B;QACA,MAAMA;IACR;IAEA,IAAIA,iBAAiBQ,SAAS,WAAWR,OAAO;QAC9CD,iBAAiBC,MAAMS,KAAK;IAC9B;AACF","ignoreList":[0]}}, - {"offset": {"line": 9795, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/unstable-rethrow.ts"],"sourcesContent":["/**\n * This function should be used to rethrow internal Next.js errors so that they can be handled by the framework.\n * When wrapping an API that uses errors to interrupt control flow, you should use this function before you do any error handling.\n * This function will rethrow the error if it is a Next.js error so it can be handled, otherwise it will do nothing.\n *\n * Read more: [Next.js Docs: `unstable_rethrow`](https://nextjs.org/docs/app/api-reference/functions/unstable_rethrow)\n */\nexport const unstable_rethrow =\n typeof window === 'undefined'\n ? (\n require('./unstable-rethrow.server') as typeof import('./unstable-rethrow.server')\n ).unstable_rethrow\n : (\n require('./unstable-rethrow.browser') as typeof import('./unstable-rethrow.browser')\n ).unstable_rethrow\n"],"names":["unstable_rethrow","window","require"],"mappings":"AAAA;;;;;;CAMC;;;+BACYA,oBAAAA;;;eAAAA;;;AAAN,MAAMA,mBACX,OAAOC,WAAW,cAEZC,QAAQ,2HACRF,gBAAgB,GAEhBE,QAAQ,4HACRF,gBAAgB","ignoreList":[0]}}, - {"offset": {"line": 9822, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/navigation.react-server.ts"],"sourcesContent":["import { ReadonlyURLSearchParams } from './readonly-url-search-params'\n\nexport function unstable_isUnrecognizedActionError(): boolean {\n throw new Error(\n '`unstable_isUnrecognizedActionError` can only be used on the client.'\n )\n}\n\nexport { redirect, permanentRedirect } from './redirect'\nexport { RedirectType } from './redirect-error'\nexport { notFound } from './not-found'\nexport { forbidden } from './forbidden'\nexport { unauthorized } from './unauthorized'\nexport { unstable_rethrow } from './unstable-rethrow'\nexport { ReadonlyURLSearchParams }\n"],"names":["ReadonlyURLSearchParams","RedirectType","forbidden","notFound","permanentRedirect","redirect","unauthorized","unstable_isUnrecognizedActionError","unstable_rethrow","Error"],"mappings":";;;;;;;;;;;;;;;;;;;;;IAcSA,uBAAuB,EAAA;eAAvBA,yBAAAA,uBAAuB;;IALvBC,YAAY,EAAA;eAAZA,eAAAA,YAAY;;IAEZC,SAAS,EAAA;eAATA,WAAAA,SAAS;;IADTC,QAAQ,EAAA;eAARA,UAAAA,QAAQ;;IAFEC,iBAAiB,EAAA;eAAjBA,UAAAA,iBAAiB;;IAA3BC,QAAQ,EAAA;eAARA,UAAAA,QAAQ;;IAIRC,YAAY,EAAA;eAAZA,cAAAA,YAAY;;IAVLC,kCAAkC,EAAA;eAAlCA;;IAWPC,gBAAgB,EAAA;eAAhBA,iBAAAA,gBAAgB;;;yCAbe;0BAQI;+BACf;0BACJ;2BACC;8BACG;iCACI;AAX1B,SAASD;IACd,MAAM,OAAA,cAEL,CAFK,IAAIE,MACR,yEADI,qBAAA;eAAA;oBAAA;sBAAA;IAEN;AACF","ignoreList":[0]}}, - {"offset": {"line": 9896, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/navigation.ts"],"sourcesContent":["import type { Params } from '../../server/request/params'\n\nimport React, { useContext, useMemo, use } from 'react'\nimport {\n AppRouterContext,\n LayoutRouterContext,\n type AppRouterInstance,\n} from '../../shared/lib/app-router-context.shared-runtime'\nimport {\n SearchParamsContext,\n PathnameContext,\n PathParamsContext,\n NavigationPromisesContext,\n ReadonlyURLSearchParams,\n} from '../../shared/lib/hooks-client-context.shared-runtime'\nimport {\n computeSelectedLayoutSegment,\n getSelectedLayoutSegmentPath,\n} from '../../shared/lib/segment'\n\nconst useDynamicRouteParams =\n typeof window === 'undefined'\n ? (\n require('../../server/app-render/dynamic-rendering') as typeof import('../../server/app-render/dynamic-rendering')\n ).useDynamicRouteParams\n : undefined\n\nconst useDynamicSearchParams =\n typeof window === 'undefined'\n ? (\n require('../../server/app-render/dynamic-rendering') as typeof import('../../server/app-render/dynamic-rendering')\n ).useDynamicSearchParams\n : undefined\n\n/**\n * A [Client Component](https://nextjs.org/docs/app/building-your-application/rendering/client-components) hook\n * that lets you *read* the current URL's search parameters.\n *\n * Learn more about [`URLSearchParams` on MDN](https://developer.mozilla.org/docs/Web/API/URLSearchParams)\n *\n * @example\n * ```ts\n * \"use client\"\n * import { useSearchParams } from 'next/navigation'\n *\n * export default function Page() {\n * const searchParams = useSearchParams()\n * searchParams.get('foo') // returns 'bar' when ?foo=bar\n * // ...\n * }\n * ```\n *\n * Read more: [Next.js Docs: `useSearchParams`](https://nextjs.org/docs/app/api-reference/functions/use-search-params)\n */\n// Client components API\nexport function useSearchParams(): ReadonlyURLSearchParams {\n useDynamicSearchParams?.('useSearchParams()')\n\n const searchParams = useContext(SearchParamsContext)\n\n // In the case where this is `null`, the compat types added in\n // `next-env.d.ts` will add a new overload that changes the return type to\n // include `null`.\n const readonlySearchParams = useMemo((): ReadonlyURLSearchParams => {\n if (!searchParams) {\n // When the router is not ready in pages, we won't have the search params\n // available.\n return null!\n }\n\n return new ReadonlyURLSearchParams(searchParams)\n }, [searchParams])\n\n // Instrument with Suspense DevTools (dev-only)\n if (process.env.NODE_ENV !== 'production' && 'use' in React) {\n const navigationPromises = use(NavigationPromisesContext)\n if (navigationPromises) {\n return use(navigationPromises.searchParams)\n }\n }\n\n return readonlySearchParams\n}\n\n/**\n * A [Client Component](https://nextjs.org/docs/app/building-your-application/rendering/client-components) hook\n * that lets you read the current URL's pathname.\n *\n * @example\n * ```ts\n * \"use client\"\n * import { usePathname } from 'next/navigation'\n *\n * export default function Page() {\n * const pathname = usePathname() // returns \"/dashboard\" on /dashboard?foo=bar\n * // ...\n * }\n * ```\n *\n * Read more: [Next.js Docs: `usePathname`](https://nextjs.org/docs/app/api-reference/functions/use-pathname)\n */\n// Client components API\nexport function usePathname(): string {\n useDynamicRouteParams?.('usePathname()')\n\n // In the case where this is `null`, the compat types added in `next-env.d.ts`\n // will add a new overload that changes the return type to include `null`.\n const pathname = useContext(PathnameContext) as string\n\n // Instrument with Suspense DevTools (dev-only)\n if (process.env.NODE_ENV !== 'production' && 'use' in React) {\n const navigationPromises = use(NavigationPromisesContext)\n if (navigationPromises) {\n return use(navigationPromises.pathname)\n }\n }\n\n return pathname\n}\n\n// Client components API\nexport {\n ServerInsertedHTMLContext,\n useServerInsertedHTML,\n} from '../../shared/lib/server-inserted-html.shared-runtime'\n\n/**\n *\n * This hook allows you to programmatically change routes inside [Client Component](https://nextjs.org/docs/app/building-your-application/rendering/client-components).\n *\n * @example\n * ```ts\n * \"use client\"\n * import { useRouter } from 'next/navigation'\n *\n * export default function Page() {\n * const router = useRouter()\n * // ...\n * router.push('/dashboard') // Navigate to /dashboard\n * }\n * ```\n *\n * Read more: [Next.js Docs: `useRouter`](https://nextjs.org/docs/app/api-reference/functions/use-router)\n */\n// Client components API\nexport function useRouter(): AppRouterInstance {\n const router = useContext(AppRouterContext)\n if (router === null) {\n throw new Error('invariant expected app router to be mounted')\n }\n\n return router\n}\n\n/**\n * A [Client Component](https://nextjs.org/docs/app/building-your-application/rendering/client-components) hook\n * that lets you read a route's dynamic params filled in by the current URL.\n *\n * @example\n * ```ts\n * \"use client\"\n * import { useParams } from 'next/navigation'\n *\n * export default function Page() {\n * // on /dashboard/[team] where pathname is /dashboard/nextjs\n * const { team } = useParams() // team === \"nextjs\"\n * }\n * ```\n *\n * Read more: [Next.js Docs: `useParams`](https://nextjs.org/docs/app/api-reference/functions/use-params)\n */\n// Client components API\nexport function useParams<T extends Params = Params>(): T {\n useDynamicRouteParams?.('useParams()')\n\n const params = useContext(PathParamsContext) as T\n\n // Instrument with Suspense DevTools (dev-only)\n if (process.env.NODE_ENV !== 'production' && 'use' in React) {\n const navigationPromises = use(NavigationPromisesContext)\n if (navigationPromises) {\n return use(navigationPromises.params) as T\n }\n }\n\n return params\n}\n\n/**\n * A [Client Component](https://nextjs.org/docs/app/building-your-application/rendering/client-components) hook\n * that lets you read the active route segments **below** the Layout it is called from.\n *\n * @example\n * ```ts\n * 'use client'\n *\n * import { useSelectedLayoutSegments } from 'next/navigation'\n *\n * export default function ExampleClientComponent() {\n * const segments = useSelectedLayoutSegments()\n *\n * return (\n * <ul>\n * {segments.map((segment, index) => (\n * <li key={index}>{segment}</li>\n * ))}\n * </ul>\n * )\n * }\n * ```\n *\n * Read more: [Next.js Docs: `useSelectedLayoutSegments`](https://nextjs.org/docs/app/api-reference/functions/use-selected-layout-segments)\n */\n// Client components API\nexport function useSelectedLayoutSegments(\n parallelRouteKey: string = 'children'\n): string[] {\n useDynamicRouteParams?.('useSelectedLayoutSegments()')\n\n const context = useContext(LayoutRouterContext)\n // @ts-expect-error This only happens in `pages`. Type is overwritten in navigation.d.ts\n if (!context) return null\n\n // Instrument with Suspense DevTools (dev-only)\n if (process.env.NODE_ENV !== 'production' && 'use' in React) {\n const navigationPromises = use(NavigationPromisesContext)\n if (navigationPromises) {\n const promise =\n navigationPromises.selectedLayoutSegmentsPromises?.get(parallelRouteKey)\n if (promise) {\n // We should always have a promise here, but if we don't, it's not worth erroring over.\n // We just won't be able to instrument it, but can still provide the value.\n return use(promise)\n }\n }\n }\n\n return getSelectedLayoutSegmentPath(context.parentTree, parallelRouteKey)\n}\n\n/**\n * A [Client Component](https://nextjs.org/docs/app/building-your-application/rendering/client-components) hook\n * that lets you read the active route segment **one level below** the Layout it is called from.\n *\n * @example\n * ```ts\n * 'use client'\n * import { useSelectedLayoutSegment } from 'next/navigation'\n *\n * export default function ExampleClientComponent() {\n * const segment = useSelectedLayoutSegment()\n *\n * return <p>Active segment: {segment}</p>\n * }\n * ```\n *\n * Read more: [Next.js Docs: `useSelectedLayoutSegment`](https://nextjs.org/docs/app/api-reference/functions/use-selected-layout-segment)\n */\n// Client components API\nexport function useSelectedLayoutSegment(\n parallelRouteKey: string = 'children'\n): string | null {\n useDynamicRouteParams?.('useSelectedLayoutSegment()')\n const navigationPromises = useContext(NavigationPromisesContext)\n const selectedLayoutSegments = useSelectedLayoutSegments(parallelRouteKey)\n\n // Instrument with Suspense DevTools (dev-only)\n if (\n process.env.NODE_ENV !== 'production' &&\n navigationPromises &&\n 'use' in React\n ) {\n const promise =\n navigationPromises.selectedLayoutSegmentPromises?.get(parallelRouteKey)\n if (promise) {\n // We should always have a promise here, but if we don't, it's not worth erroring over.\n // We just won't be able to instrument it, but can still provide the value.\n return use(promise)\n }\n }\n\n return computeSelectedLayoutSegment(selectedLayoutSegments, parallelRouteKey)\n}\n\nexport { unstable_isUnrecognizedActionError } from './unrecognized-action-error'\n\n// Shared components APIs\nexport {\n // We need the same class that was used to instantiate the context value\n // Otherwise instanceof checks will fail in usercode\n ReadonlyURLSearchParams,\n}\nexport {\n notFound,\n forbidden,\n unauthorized,\n redirect,\n permanentRedirect,\n RedirectType,\n unstable_rethrow,\n} from './navigation.react-server'\n"],"names":["ReadonlyURLSearchParams","RedirectType","ServerInsertedHTMLContext","forbidden","notFound","permanentRedirect","redirect","unauthorized","unstable_isUnrecognizedActionError","unstable_rethrow","useParams","usePathname","useRouter","useSearchParams","useSelectedLayoutSegment","useSelectedLayoutSegments","useServerInsertedHTML","useDynamicRouteParams","window","require","undefined","useDynamicSearchParams","searchParams","useContext","SearchParamsContext","readonlySearchParams","useMemo","process","env","NODE_ENV","React","navigationPromises","use","NavigationPromisesContext","pathname","PathnameContext","router","AppRouterContext","Error","params","PathParamsContext","parallelRouteKey","context","LayoutRouterContext","promise","selectedLayoutSegmentsPromises","get","getSelectedLayoutSegmentPath","parentTree","selectedLayoutSegments","selectedLayoutSegmentPromises","computeSelectedLayoutSegment"],"mappings":"AA0EM2B,QAAQC,GAAG,CAACC,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAsNxB,wEAAwE;IACxE,oDAAoD;IACpD7B,uBAAuB,EAAA;eAAvBA,iCAAAA,uBAAuB;;IAQvBC,YAAY,EAAA;eAAZA,uBAAAA,YAAY;;IAhLZC,yBAAyB,EAAA;eAAzBA,iCAAAA,yBAAyB;;IA4KzBC,SAAS,EAAA;eAATA,uBAAAA,SAAS;;IADTC,QAAQ,EAAA;eAARA,uBAAAA,QAAQ;;IAIRC,iBAAiB,EAAA;eAAjBA,uBAAAA,iBAAiB;;IADjBC,QAAQ,EAAA;eAARA,uBAAAA,QAAQ;;IADRC,YAAY,EAAA;eAAZA,uBAAAA,YAAY;;IAXLC,kCAAkC,EAAA;eAAlCA,yBAAAA,kCAAkC;;IAezCC,gBAAgB,EAAA;eAAhBA,uBAAAA,gBAAgB;;IA/HFC,SAAS,EAAA;eAATA;;IAtEAC,WAAW,EAAA;eAAXA;;IA2CAC,SAAS,EAAA;eAATA;;IA1FAC,eAAe,EAAA;eAAfA;;IA4MAC,wBAAwB,EAAA;eAAxBA;;IA7CAC,yBAAyB,EAAA;eAAzBA;;IA3FdC,qBAAqB,EAAA;eAArBA,iCAAAA,qBAAqB;;;;iEAzHyB;+CAKzC;iDAOA;yBAIA;iDA0GA;yCAgK4C;uCAgB5C;AAx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,OAAAA,UAAU,EAACU,iCAAAA,yBAAyB;IAC/D,MAAMgB,yBAAyBlC,0BAA0B0B;IAEzD,+CAA+C;IAC/C,IACEd,QAAQC,GAAG,CAACC,QAAQ,gCAAK,gBACzBE,sBACA,SAASD,OAAAA,OAAK,EACd;QACA,MAAMc,UACJb,mBAAmBmB,6BAA6B,EAAEJ,IAAIL;QACxD,IAAIG,SAAS;YACX,uFAAuF;YACvF,2EAA2E;YAC3E,OAAOZ,CAAAA,GAAAA,OAAAA,GAAG,EAACY;QACb;IACF;IAEA,OAAOO,CAAAA,GAAAA,SAAAA,4BAA4B,EAACF,wBAAwBR;AAC9D","ignoreList":[0]}}, - {"offset": {"line": 10098, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/redirect-boundary.tsx"],"sourcesContent":["'use client'\nimport React, { useEffect } from 'react'\nimport type { AppRouterInstance } from '../../shared/lib/app-router-context.shared-runtime'\nimport { useRouter } from './navigation'\nimport { getRedirectTypeFromError, getURLFromRedirectError } from './redirect'\nimport { RedirectType, isRedirectError } from './redirect-error'\n\ninterface RedirectBoundaryProps {\n router: AppRouterInstance\n children: React.ReactNode\n}\n\nfunction HandleRedirect({\n redirect,\n reset,\n redirectType,\n}: {\n redirect: string\n redirectType: RedirectType\n reset: () => void\n}) {\n const router = useRouter()\n\n useEffect(() => {\n React.startTransition(() => {\n if (redirectType === RedirectType.push) {\n router.push(redirect, {})\n } else {\n router.replace(redirect, {})\n }\n reset()\n })\n }, [redirect, redirectType, reset, router])\n\n return null\n}\n\nexport class RedirectErrorBoundary extends React.Component<\n RedirectBoundaryProps,\n { redirect: string | null; redirectType: RedirectType | null }\n> {\n constructor(props: RedirectBoundaryProps) {\n super(props)\n this.state = { redirect: null, redirectType: null }\n }\n\n static getDerivedStateFromError(error: any) {\n if (isRedirectError(error)) {\n const url = getURLFromRedirectError(error)\n const redirectType = getRedirectTypeFromError(error)\n if ('handled' in error) {\n // The redirect was already handled. We'll still catch the redirect error\n // so that we can remount the subtree, but we don't actually need to trigger the\n // router.push.\n return { redirect: null, redirectType: null }\n }\n\n return { redirect: url, redirectType }\n }\n // Re-throw if error is not for redirect\n throw error\n }\n\n // Explicit type is needed to avoid the generated `.d.ts` having a wide return type that could be specific to the `@types/react` version.\n render(): React.ReactNode {\n const { redirect, redirectType } = this.state\n if (redirect !== null && redirectType !== null) {\n return (\n <HandleRedirect\n redirect={redirect}\n redirectType={redirectType}\n reset={() => this.setState({ redirect: null })}\n />\n )\n }\n\n return this.props.children\n }\n}\n\nexport function RedirectBoundary({ children }: { children: React.ReactNode }) {\n const router = useRouter()\n return (\n <RedirectErrorBoundary router={router}>{children}</RedirectErrorBoundary>\n )\n}\n"],"names":["RedirectBoundary","RedirectErrorBoundary","HandleRedirect","redirect","reset","redirectType","router","useRouter","useEffect","React","startTransition","RedirectType","push","replace","Component","constructor","props","state","getDerivedStateFromError","error","isRedirectError","url","getURLFromRedirectError","getRedirectTypeFromError","render","setState","children"],"mappings":";;;;;;;;;;;;;;IAgFgBA,gBAAgB,EAAA;eAAhBA;;IA3CHC,qBAAqB,EAAA;eAArBA;;;;;iEApCoB;4BAEP;0BACwC;+BACpB;AAO9C,SAASC,eAAe,EACtBC,QAAQ,EACRC,KAAK,EACLC,YAAY,EAKb;IACC,MAAMC,SAASC,CAAAA,GAAAA,YAAAA,SAAS;IAExBC,CAAAA,GAAAA,OAAAA,SAAS,EAAC;QACRC,OAAAA,OAAK,CAACC,eAAe,CAAC;YACpB,IAAIL,iBAAiBM,eAAAA,YAAY,CAACC,IAAI,EAAE;gBACtCN,OAAOM,IAAI,CAACT,UAAU,CAAC;YACzB,OAAO;gBACLG,OAAOO,OAAO,CAACV,UAAU,CAAC;YAC5B;YACAC;QACF;IACF,GAAG;QAACD;QAAUE;QAAcD;QAAOE;KAAO;IAE1C,OAAO;AACT;AAEO,MAAML,8BAA8BQ,OAAAA,OAAK,CAACK,SAAS;IAIxDC,YAAYC,KAA4B,CAAE;QACxC,KAAK,CAACA;QACN,IAAI,CAACC,KAAK,GAAG;YAAEd,UAAU;YAAME,cAAc;QAAK;IACpD;IAEA,OAAOa,yBAAyBC,KAAU,EAAE;QAC1C,IAAIC,CAAAA,GAAAA,eAAAA,eAAe,EAACD,QAAQ;YAC1B,MAAME,MAAMC,CAAAA,GAAAA,UAAAA,uBAAuB,EAACH;YACpC,MAAMd,eAAekB,CAAAA,GAAAA,UAAAA,wBAAwB,EAACJ;YAC9C,IAAI,aAAaA,OAAO;gBACtB,yEAAyE;gBACzE,gFAAgF;gBAChF,eAAe;gBACf,OAAO;oBAAEhB,UAAU;oBAAME,cAAc;gBAAK;YAC9C;YAEA,OAAO;gBAAEF,UAAUkB;gBAAKhB;YAAa;QACvC;QACA,wCAAwC;QACxC,MAAMc;IACR;IAEA,yIAAyI;IACzIK,SAA0B;QACxB,MAAM,EAAErB,QAAQ,EAAEE,YAAY,EAAE,GAAG,IAAI,CAACY,KAAK;QAC7C,IAAId,aAAa,QAAQE,iBAAiB,MAAM;YAC9C,OAAA,WAAA,GACE,CAAA,GAAA,YAAA,GAAA,EAACH,gBAAAA;gBACCC,UAAUA;gBACVE,cAAcA;gBACdD,OAAO,IAAM,IAAI,CAACqB,QAAQ,CAAC;wBAAEtB,UAAU;oBAAK;;QAGlD;QAEA,OAAO,IAAI,CAACa,KAAK,CAACU,QAAQ;IAC5B;AACF;AAEO,SAAS1B,iBAAiB,EAAE0B,QAAQ,EAAiC;IAC1E,MAAMpB,SAASC,CAAAA,GAAAA,YAAAA,SAAS;IACxB,OAAA,WAAA,GACE,CAAA,GAAA,YAAA,GAAA,EAACN,uBAAAA;QAAsBK,QAAQA;kBAASoB;;AAE5C","ignoreList":[0]}}, - {"offset": {"line": 10206, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/router-reducer/reducers/find-head-in-cache.ts"],"sourcesContent":["import type {\n FlightRouterState,\n CacheNode,\n} from '../../../../shared/lib/app-router-types'\nimport { DEFAULT_SEGMENT_KEY } from '../../../../shared/lib/segment'\nimport { createRouterCacheKey } from '../create-router-cache-key'\n\nexport function findHeadInCache(\n cache: CacheNode,\n parallelRoutes: FlightRouterState[1]\n): [CacheNode, string, string] | null {\n return findHeadInCacheImpl(cache, parallelRoutes, '', '')\n}\n\nfunction findHeadInCacheImpl(\n cache: CacheNode,\n parallelRoutes: FlightRouterState[1],\n keyPrefix: string,\n keyPrefixWithoutSearchParams: string\n): [CacheNode, string, string] | null {\n const isLastItem = Object.keys(parallelRoutes).length === 0\n if (isLastItem) {\n // Returns the entire Cache Node of the segment whose head we will render.\n return [cache, keyPrefix, keyPrefixWithoutSearchParams]\n }\n\n // First try the 'children' parallel route if it exists\n // when starting from the \"root\", this corresponds with the main page component\n const parallelRoutesKeys = Object.keys(parallelRoutes).filter(\n (key) => key !== 'children'\n )\n\n // if we are at the root, we need to check the children slot first\n if ('children' in parallelRoutes) {\n parallelRoutesKeys.unshift('children')\n }\n\n for (const key of parallelRoutesKeys) {\n const [segment, childParallelRoutes] = parallelRoutes[key]\n // If the parallel is not matched and using the default segment,\n // skip searching the head from it.\n if (segment === DEFAULT_SEGMENT_KEY) {\n continue\n }\n const childSegmentMap = cache.parallelRoutes.get(key)\n if (!childSegmentMap) {\n continue\n }\n\n const cacheKey = createRouterCacheKey(segment)\n const cacheKeyWithoutSearchParams = createRouterCacheKey(segment, true)\n\n const cacheNode = childSegmentMap.get(cacheKey)\n if (!cacheNode) {\n continue\n }\n\n const item = findHeadInCacheImpl(\n cacheNode,\n childParallelRoutes,\n keyPrefix + '/' + cacheKey,\n keyPrefix + '/' + cacheKeyWithoutSearchParams\n )\n\n if (item) {\n return item\n }\n }\n\n return null\n}\n"],"names":["findHeadInCache","cache","parallelRoutes","findHeadInCacheImpl","keyPrefix","keyPrefixWithoutSearchParams","isLastItem","Object","keys","length","parallelRoutesKeys","filter","key","unshift","segment","childParallelRoutes","DEFAULT_SEGMENT_KEY","childSegmentMap","get","cacheKey","createRouterCacheKey","cacheKeyWithoutSearchParams","cacheNode","item"],"mappings":";;;+BAOgBA,mBAAAA;;;eAAAA;;;yBAHoB;sCACC;AAE9B,SAASA,gBACdC,KAAgB,EAChBC,cAAoC;IAEpC,OAAOC,oBAAoBF,OAAOC,gBAAgB,IAAI;AACxD;AAEA,SAASC,oBACPF,KAAgB,EAChBC,cAAoC,EACpCE,SAAiB,EACjBC,4BAAoC;IAEpC,MAAMC,aAAaC,OAAOC,IAAI,CAACN,gBAAgBO,MAAM,KAAK;IAC1D,IAAIH,YAAY;QACd,0EAA0E;QAC1E,OAAO;YAACL;YAAOG;YAAWC;SAA6B;IACzD;IAEA,uDAAuD;IACvD,+EAA+E;IAC/E,MAAMK,qBAAqBH,OAAOC,IAAI,CAACN,gBAAgBS,MAAM,CAC3D,CAACC,MAAQA,QAAQ;IAGnB,kEAAkE;IAClE,IAAI,cAAcV,gBAAgB;QAChCQ,mBAAmBG,OAAO,CAAC;IAC7B;IAEA,KAAK,MAAMD,OAAOF,mBAAoB;QACpC,MAAM,CAACI,SAASC,oBAAoB,GAAGb,cAAc,CAACU,IAAI;QAC1D,gEAAgE;QAChE,mCAAmC;QACnC,IAAIE,YAAYE,SAAAA,mBAAmB,EAAE;YACnC;QACF;QACA,MAAMC,kBAAkBhB,MAAMC,cAAc,CAACgB,GAAG,CAACN;QACjD,IAAI,CAACK,iBAAiB;YACpB;QACF;QAEA,MAAME,WAAWC,CAAAA,GAAAA,sBAAAA,oBAAoB,EAACN;QACtC,MAAMO,8BAA8BD,CAAAA,GAAAA,sBAAAA,oBAAoB,EAACN,SAAS;QAElE,MAAMQ,YAAYL,gBAAgBC,GAAG,CAACC;QACtC,IAAI,CAACG,WAAW;YACd;QACF;QAEA,MAAMC,OAAOpB,oBACXmB,WACAP,qBACAX,YAAY,MAAMe,UAClBf,YAAY,MAAMiB;QAGpB,IAAIE,MAAM;YACR,OAAOA;QACT;IACF;IAEA,OAAO;AACT","ignoreList":[0]}}, - {"offset": {"line": 10272, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/unresolved-thenable.ts"],"sourcesContent":["/**\n * Create a \"Thenable\" that does not resolve. This is used to suspend indefinitely when data is not available yet.\n */\nexport const unresolvedThenable = {\n then: () => {},\n} as PromiseLike<void>\n"],"names":["unresolvedThenable","then"],"mappings":"AAAA;;CAEC;;;+BACYA,sBAAAA;;;eAAAA;;;AAAN,MAAMA,qBAAqB;IAChCC,MAAM,KAAO;AACf","ignoreList":[0]}}, - {"offset": {"line": 10297, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/errors/graceful-degrade-boundary.tsx"],"sourcesContent":["'use client'\n\nimport { Component, createRef, type ReactNode } from 'react'\n\ninterface ErrorBoundaryProps {\n children: ReactNode\n}\n\ninterface ErrorBoundaryState {\n hasError: boolean\n}\n\nfunction getDomNodeAttributes(node: HTMLElement): Record<string, string> {\n const result: Record<string, string> = {}\n for (let i = 0; i < node.attributes.length; i++) {\n const attr = node.attributes[i]\n result[attr.name] = attr.value\n }\n return result\n}\n\nexport class GracefulDegradeBoundary extends Component<\n ErrorBoundaryProps,\n ErrorBoundaryState\n> {\n private rootHtml: string\n private htmlAttributes: Record<string, string>\n private htmlRef: React.RefObject<HTMLHtmlElement | null>\n\n constructor(props: ErrorBoundaryProps) {\n super(props)\n this.state = { hasError: false }\n this.rootHtml = ''\n this.htmlAttributes = {}\n this.htmlRef = createRef<HTMLHtmlElement>()\n }\n\n static getDerivedStateFromError(_: unknown): ErrorBoundaryState {\n return { hasError: true }\n }\n\n componentDidMount() {\n const htmlNode = this.htmlRef.current\n if (this.state.hasError && htmlNode) {\n // Reapply the cached HTML attributes to the root element\n Object.entries(this.htmlAttributes).forEach(([key, value]) => {\n htmlNode.setAttribute(key, value)\n })\n }\n }\n\n render() {\n const { hasError } = this.state\n // Cache the root HTML content on the first render\n if (typeof window !== 'undefined' && !this.rootHtml) {\n this.rootHtml = document.documentElement.innerHTML\n this.htmlAttributes = getDomNodeAttributes(document.documentElement)\n }\n\n if (hasError) {\n // Render the current HTML content without hydration\n return (\n <html\n ref={this.htmlRef}\n suppressHydrationWarning\n dangerouslySetInnerHTML={{\n __html: this.rootHtml,\n }}\n />\n )\n }\n\n return this.props.children\n }\n}\n\nexport default GracefulDegradeBoundary\n"],"names":["GracefulDegradeBoundary","getDomNodeAttributes","node","result","i","attributes","length","attr","name","value","Component","constructor","props","state","hasError","rootHtml","htmlAttributes","htmlRef","createRef","getDerivedStateFromError","_","componentDidMount","htmlNode","current","Object","entries","forEach","key","setAttribute","render","window","document","documentElement","innerHTML","html","ref","suppressHydrationWarning","dangerouslySetInnerHTML","__html","children"],"mappings":";;;;;;;;;;;;;;IAqBaA,uBAAuB,EAAA;eAAvBA;;IAuDb,OAAsC,EAAA;eAAtC;;;;uBA1EqD;AAUrD,SAASC,qBAAqBC,IAAiB;IAC7C,MAAMC,SAAiC,CAAC;IACxC,IAAK,IAAIC,IAAI,GAAGA,IAAIF,KAAKG,UAAU,CAACC,MAAM,EAAEF,IAAK;QAC/C,MAAMG,OAAOL,KAAKG,UAAU,CAACD,EAAE;QAC/BD,MAAM,CAACI,KAAKC,IAAI,CAAC,GAAGD,KAAKE,KAAK;IAChC;IACA,OAAON;AACT;AAEO,MAAMH,gCAAgCU,OAAAA,SAAS;IAQpDC,YAAYC,KAAyB,CAAE;QACrC,KAAK,CAACA;QACN,IAAI,CAACC,KAAK,GAAG;YAAEC,UAAU;QAAM;QAC/B,IAAI,CAACC,QAAQ,GAAG;QAChB,IAAI,CAACC,cAAc,GAAG,CAAC;QACvB,IAAI,CAACC,OAAO,GAAA,WAAA,GAAGC,CAAAA,GAAAA,OAAAA,SAAS;IAC1B;IAEA,OAAOC,yBAAyBC,CAAU,EAAsB;QAC9D,OAAO;YAAEN,UAAU;QAAK;IAC1B;IAEAO,oBAAoB;QAClB,MAAMC,WAAW,IAAI,CAACL,OAAO,CAACM,OAAO;QACrC,IAAI,IAAI,CAACV,KAAK,CAACC,QAAQ,IAAIQ,UAAU;YACnC,yDAAyD;YACzDE,OAAOC,OAAO,CAAC,IAAI,CAACT,cAAc,EAAEU,OAAO,CAAC,CAAC,CAACC,KAAKlB,MAAM;gBACvDa,SAASM,YAAY,CAACD,KAAKlB;YAC7B;QACF;IACF;IAEAoB,SAAS;QACP,MAAM,EAAEf,QAAQ,EAAE,GAAG,IAAI,CAACD,KAAK;QAC/B,kDAAkD;QAClD,IAAI,OAAOiB,WAAW,eAAe,CAAC,IAAI,CAACf,QAAQ,EAAE;YACnD,IAAI,CAACA,QAAQ,GAAGgB,SAASC,eAAe,CAACC,SAAS;YAClD,IAAI,CAACjB,cAAc,GAAGf,qBAAqB8B,SAASC,eAAe;QACrE;QAEA,IAAIlB,UAAU;YACZ,oDAAoD;YACpD,OAAA,WAAA,GACE,CAAA,GAAA,YAAA,GAAA,EAACoB,QAAAA;gBACCC,KAAK,IAAI,CAAClB,OAAO;gBACjBmB,wBAAwB,EAAA;gBACxBC,yBAAyB;oBACvBC,QAAQ,IAAI,CAACvB,QAAQ;gBACvB;;QAGN;QAEA,OAAO,IAAI,CAACH,KAAK,CAAC2B,QAAQ;IAC5B;AACF;MAEA,WAAevC","ignoreList":[0]}}, - {"offset": {"line": 10384, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/errors/root-error-boundary.tsx"],"sourcesContent":["'use client'\n\nimport React, { type JSX } from 'react'\nimport GracefulDegradeBoundary from './graceful-degrade-boundary'\nimport { ErrorBoundary, type ErrorBoundaryProps } from '../error-boundary'\nimport { isBot } from '../../../shared/lib/router/utils/is-bot'\n\nconst isBotUserAgent =\n typeof window !== 'undefined' && isBot(window.navigator.userAgent)\n\nexport default function RootErrorBoundary({\n children,\n errorComponent,\n errorStyles,\n errorScripts,\n}: ErrorBoundaryProps & { children: React.ReactNode }): JSX.Element {\n if (isBotUserAgent) {\n // Preserve existing DOM/HTML for bots to avoid replacing content with an error UI\n // and to keep the original SSR output intact.\n return <GracefulDegradeBoundary>{children}</GracefulDegradeBoundary>\n }\n\n return (\n <ErrorBoundary\n errorComponent={errorComponent}\n errorStyles={errorStyles}\n errorScripts={errorScripts}\n >\n {children}\n </ErrorBoundary>\n )\n}\n"],"names":["RootErrorBoundary","isBotUserAgent","window","isBot","navigator","userAgent","children","errorComponent","errorStyles","errorScripts","GracefulDegradeBoundary","ErrorBoundary"],"mappings":";;;+BAUA,WAAA;;;eAAwBA;;;;;gEARQ;kFACI;+BACmB;uBACjC;AAEtB,MAAMC,iBACJ,OAAOC,WAAW,eAAeC,CAAAA,GAAAA,OAAAA,KAAK,EAACD,OAAOE,SAAS,CAACC,SAAS;AAEpD,SAASL,kBAAkB,EACxCM,QAAQ,EACRC,cAAc,EACdC,WAAW,EACXC,YAAY,EACuC;IACnD,IAAIR,gBAAgB;QAClB,kFAAkF;QAClF,8CAA8C;QAC9C,OAAA,WAAA,GAAO,CAAA,GAAA,YAAA,GAAA,EAACS,yBAAAA,OAAuB,EAAA;sBAAEJ;;IACnC;IAEA,OAAA,WAAA,GACE,CAAA,GAAA,YAAA,GAAA,EAACK,eAAAA,aAAa,EAAA;QACZJ,gBAAgBA;QAChBC,aAAaA;QACbC,cAAcA;kBAEbH;;AAGP","ignoreList":[0]}}, - {"offset": {"line": 10426, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/navigation-devtools.ts"],"sourcesContent":["import type { FlightRouterState } from '../../shared/lib/app-router-types'\nimport type { Params } from '../../server/request/params'\nimport {\n createDevToolsInstrumentedPromise,\n ReadonlyURLSearchParams,\n type InstrumentedPromise,\n type NavigationPromises,\n} from '../../shared/lib/hooks-client-context.shared-runtime'\nimport {\n computeSelectedLayoutSegment,\n getSelectedLayoutSegmentPath,\n} from '../../shared/lib/segment'\n\n/**\n * Promises are cached by tree to ensure stability across suspense retries.\n */\ntype LayoutSegmentPromisesCache = {\n selectedLayoutSegmentPromises: Map<string, InstrumentedPromise<string | null>>\n selectedLayoutSegmentsPromises: Map<string, InstrumentedPromise<string[]>>\n}\n\nconst layoutSegmentPromisesCache = new WeakMap<\n FlightRouterState,\n LayoutSegmentPromisesCache\n>()\n\n/**\n * Creates instrumented promises for layout segment hooks at a given tree level.\n * This is dev-only code for React Suspense DevTools instrumentation.\n */\nfunction createLayoutSegmentPromises(\n tree: FlightRouterState\n): LayoutSegmentPromisesCache | null {\n if (process.env.NODE_ENV === 'production') {\n return null\n }\n\n // Check if we already have cached promises for this tree\n const cached = layoutSegmentPromisesCache.get(tree)\n if (cached) {\n return cached\n }\n\n // Create new promises and cache them\n const segmentPromises = new Map<string, InstrumentedPromise<string | null>>()\n const segmentsPromises = new Map<string, InstrumentedPromise<string[]>>()\n\n const parallelRoutes = tree[1]\n for (const parallelRouteKey of Object.keys(parallelRoutes)) {\n const segments = getSelectedLayoutSegmentPath(tree, parallelRouteKey)\n\n // Use the shared logic to compute the segment value\n const segment = computeSelectedLayoutSegment(segments, parallelRouteKey)\n\n segmentPromises.set(\n parallelRouteKey,\n createDevToolsInstrumentedPromise('useSelectedLayoutSegment', segment)\n )\n segmentsPromises.set(\n parallelRouteKey,\n createDevToolsInstrumentedPromise('useSelectedLayoutSegments', segments)\n )\n }\n\n const result: LayoutSegmentPromisesCache = {\n selectedLayoutSegmentPromises: segmentPromises,\n selectedLayoutSegmentsPromises: segmentsPromises,\n }\n\n // Cache the result for future renders\n layoutSegmentPromisesCache.set(tree, result)\n\n return result\n}\n\nconst rootNavigationPromisesCache = new WeakMap<\n FlightRouterState,\n Map<string, NavigationPromises>\n>()\n\n/**\n * Creates instrumented navigation promises for the root app-router.\n */\nexport function createRootNavigationPromises(\n tree: FlightRouterState,\n pathname: string,\n searchParams: URLSearchParams,\n pathParams: Params\n): NavigationPromises | null {\n if (process.env.NODE_ENV === 'production') {\n return null\n }\n\n // Create stable cache keys from the values\n const searchParamsString = searchParams.toString()\n const pathParamsString = JSON.stringify(pathParams)\n const cacheKey = `${pathname}:${searchParamsString}:${pathParamsString}`\n\n // Get or create the cache for this tree\n let treeCache = rootNavigationPromisesCache.get(tree)\n if (!treeCache) {\n treeCache = new Map<string, NavigationPromises>()\n rootNavigationPromisesCache.set(tree, treeCache)\n }\n\n // Check if we have cached promises for this combination\n const cached = treeCache.get(cacheKey)\n if (cached) {\n return cached\n }\n\n const readonlySearchParams = new ReadonlyURLSearchParams(searchParams)\n\n const layoutSegmentPromises = createLayoutSegmentPromises(tree)\n\n const promises: NavigationPromises = {\n pathname: createDevToolsInstrumentedPromise('usePathname', pathname),\n searchParams: createDevToolsInstrumentedPromise(\n 'useSearchParams',\n readonlySearchParams\n ),\n params: createDevToolsInstrumentedPromise('useParams', pathParams),\n ...layoutSegmentPromises,\n }\n\n treeCache.set(cacheKey, promises)\n\n return promises\n}\n\nconst nestedLayoutPromisesCache = new WeakMap<\n FlightRouterState,\n Map<NavigationPromises | null, NavigationPromises>\n>()\n\n/**\n * Creates merged navigation promises for nested layouts.\n * Merges parent promises with layout-specific segment promises.\n */\nexport function createNestedLayoutNavigationPromises(\n tree: FlightRouterState,\n parentNavPromises: NavigationPromises | null\n): NavigationPromises | null {\n if (process.env.NODE_ENV === 'production') {\n return null\n }\n\n const parallelRoutes = tree[1]\n const parallelRouteKeys = Object.keys(parallelRoutes)\n\n // Only create promises if there are parallel routes at this level\n if (parallelRouteKeys.length === 0) {\n return null\n }\n\n // Get or create the cache for this tree\n let treeCache = nestedLayoutPromisesCache.get(tree)\n if (!treeCache) {\n treeCache = new Map<NavigationPromises | null, NavigationPromises>()\n nestedLayoutPromisesCache.set(tree, treeCache)\n }\n\n // Check if we have cached promises for this parent combination\n const cached = treeCache.get(parentNavPromises)\n if (cached) {\n return cached\n }\n\n // Create merged promises\n const layoutSegmentPromises = createLayoutSegmentPromises(tree)\n const promises: NavigationPromises = {\n ...parentNavPromises!,\n ...layoutSegmentPromises,\n }\n\n treeCache.set(parentNavPromises, promises)\n\n return promises\n}\n"],"names":["createNestedLayoutNavigationPromises","createRootNavigationPromises","layoutSegmentPromisesCache","WeakMap","createLayoutSegmentPromises","tree","process","env","NODE_ENV","cached","get","segmentPromises","Map","segmentsPromises","parallelRoutes","parallelRouteKey","Object","keys","segments","getSelectedLayoutSegmentPath","segment","computeSelectedLayoutSegment","set","createDevToolsInstrumentedPromise","result","selectedLayoutSegmentPromises","selectedLayoutSegmentsPromises","rootNavigationPromisesCache","pathname","searchParams","pathParams","searchParamsString","toString","pathParamsString","JSON","stringify","cacheKey","treeCache","readonlySearchParams","ReadonlyURLSearchParams","layoutSegmentPromises","promises","params","nestedLayoutPromisesCache","parentNavPromises","parallelRouteKeys","length"],"mappings":"AAiCMM,QAAQC,GAAG,CAACC,QAAQ,KAAK,cAAc;;;;;;;;;;;;;;;;IA0G7BR,oCAAoC,EAAA;eAApCA;;IAxDAC,4BAA4B,EAAA;eAA5BA;;;iDA5ET;yBAIA;AAUP,MAAMC,6BAA6B,IAAIC;AAKvC;;;CAGC,GACD,SAASC,4BACPC,IAAuB;IAEvB;;IAIA,yDAAyD;IACzD,MAAMI,SAASP,2BAA2BQ,GAAG,CAACL;IAC9C,IAAII,QAAQ;QACV,OAAOA;IACT;IAEA,qCAAqC;IACrC,MAAME,kBAAkB,IAAIC;IAC5B,MAAMC,mBAAmB,IAAID;IAE7B,MAAME,iBAAiBT,IAAI,CAAC,EAAE;IAC9B,KAAK,MAAMU,oBAAoBC,OAAOC,IAAI,CAACH,gBAAiB;QAC1D,MAAMI,WAAWC,CAAAA,GAAAA,SAAAA,4BAA4B,EAACd,MAAMU;QAEpD,oDAAoD;QACpD,MAAMK,UAAUC,CAAAA,GAAAA,SAAAA,4BAA4B,EAACH,UAAUH;QAEvDJ,gBAAgBW,GAAG,CACjBP,kBACAQ,CAAAA,GAAAA,iCAAAA,iCAAiC,EAAC,4BAA4BH;QAEhEP,iBAAiBS,GAAG,CAClBP,kBACAQ,CAAAA,GAAA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,QAAQ,KAAK,cAAc;;IAI3C,MAAMM,iBAAiBT,IAAI,CAAC,EAAE;IAC9B,MAAMwC,oBAAoB7B,OAAOC,IAAI,CAACH;IAEtC,kEAAkE;IAClE,IAAI+B,kBAAkBC,MAAM,KAAK,GAAG;QAClC,OAAO;IACT;IAEA,wCAAwC;IACxC,IAAIT,YAAYM,0BAA0BjC,GAAG,CAACL;IAC9C,IAAI,CAACgC,WAAW;QACdA,YAAY,IAAIzB;QAChB+B,0BAA0BrB,GAAG,CAACjB,MAAMgC;IACtC;IAEA,+DAA+D;IAC/D,MAAM5B,SAAS4B,UAAU3B,GAAG,CAACkC;IAC7B,IAAInC,QAAQ;QACV,OAAOA;IACT;IAEA,yBAAyB;IACzB,MAAM+B,wBAAwBpC,4BAA4BC;IAC1D,MAAMoC,WAA+B;QACnC,GAAGG,iBAAiB;QACpB,GAAGJ,qBAAqB;IAC1B;IAEAH,UAAUf,GAAG,CAACsB,mBAAmBH;IAEjC,OAAOA;AACT","ignoreList":[0]}}, - {"offset": {"line": 10553, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/http-access-fallback/error-boundary.tsx"],"sourcesContent":["'use client'\n\n/**\n * HTTPAccessFallbackBoundary is a boundary that catches errors and renders a\n * fallback component for HTTP errors.\n *\n * It receives the status code, and determine if it should render fallbacks for few HTTP 4xx errors.\n *\n * e.g. 404\n * 404 represents not found, and the fallback component pair contains the component and its styles.\n *\n */\n\nimport React, { useContext } from 'react'\nimport { useUntrackedPathname } from '../navigation-untracked'\nimport {\n HTTPAccessErrorStatus,\n getAccessFallbackHTTPStatus,\n getAccessFallbackErrorTypeByStatus,\n isHTTPAccessFallbackError,\n} from './http-access-fallback'\nimport { warnOnce } from '../../../shared/lib/utils/warn-once'\nimport { MissingSlotContext } from '../../../shared/lib/app-router-context.shared-runtime'\n\ninterface HTTPAccessFallbackBoundaryProps {\n notFound?: React.ReactNode\n forbidden?: React.ReactNode\n unauthorized?: React.ReactNode\n // TODO: Make this required once `React.createElement` understands that positional args go into children\n children?: React.ReactNode\n missingSlots?: Set<string>\n}\n\ninterface HTTPAccessFallbackErrorBoundaryProps\n extends HTTPAccessFallbackBoundaryProps {\n pathname: string | null\n missingSlots?: Set<string>\n}\n\ninterface HTTPAccessBoundaryState {\n triggeredStatus: number | undefined\n previousPathname: string | null\n}\n\nclass HTTPAccessFallbackErrorBoundary extends React.Component<\n HTTPAccessFallbackErrorBoundaryProps,\n HTTPAccessBoundaryState\n> {\n constructor(props: HTTPAccessFallbackErrorBoundaryProps) {\n super(props)\n this.state = {\n triggeredStatus: undefined,\n previousPathname: props.pathname,\n }\n }\n\n componentDidCatch(): void {\n if (\n process.env.NODE_ENV === 'development' &&\n this.props.missingSlots &&\n this.props.missingSlots.size > 0 &&\n // A missing children slot is the typical not-found case, so no need to warn\n !this.props.missingSlots.has('children')\n ) {\n let warningMessage =\n 'No default component was found for a parallel route rendered on this page. Falling back to nearest NotFound boundary.\\n' +\n 'Learn more: https://nextjs.org/docs/app/building-your-application/routing/parallel-routes#defaultjs\\n\\n'\n\n const formattedSlots = Array.from(this.props.missingSlots)\n .sort((a, b) => a.localeCompare(b))\n .map((slot) => `@${slot}`)\n .join(', ')\n\n warningMessage += 'Missing slots: ' + formattedSlots\n\n warnOnce(warningMessage)\n }\n }\n\n static getDerivedStateFromError(error: any) {\n if (isHTTPAccessFallbackError(error)) {\n const httpStatus = getAccessFallbackHTTPStatus(error)\n return {\n triggeredStatus: httpStatus,\n }\n }\n // Re-throw if error is not for 404\n throw error\n }\n\n static getDerivedStateFromProps(\n props: HTTPAccessFallbackErrorBoundaryProps,\n state: HTTPAccessBoundaryState\n ): HTTPAccessBoundaryState | null {\n /**\n * Handles reset of the error boundary when a navigation happens.\n * Ensures the error boundary does not stay enabled when navigating to a new page.\n * Approach of setState in render is safe as it checks the previous pathname and then overrides\n * it as outlined in https://react.dev/reference/react/useState#storing-information-from-previous-renders\n */\n if (props.pathname !== state.previousPathname && state.triggeredStatus) {\n return {\n triggeredStatus: undefined,\n previousPathname: props.pathname,\n }\n }\n return {\n triggeredStatus: state.triggeredStatus,\n previousPathname: props.pathname,\n }\n }\n\n render() {\n const { notFound, forbidden, unauthorized, children } = this.props\n const { triggeredStatus } = this.state\n const errorComponents = {\n [HTTPAccessErrorStatus.NOT_FOUND]: notFound,\n [HTTPAccessErrorStatus.FORBIDDEN]: forbidden,\n [HTTPAccessErrorStatus.UNAUTHORIZED]: unauthorized,\n }\n\n if (triggeredStatus) {\n const isNotFound =\n triggeredStatus === HTTPAccessErrorStatus.NOT_FOUND && notFound\n const isForbidden =\n triggeredStatus === HTTPAccessErrorStatus.FORBIDDEN && forbidden\n const isUnauthorized =\n triggeredStatus === HTTPAccessErrorStatus.UNAUTHORIZED && unauthorized\n\n // If there's no matched boundary in this layer, keep throwing the error by rendering the children\n if (!(isNotFound || isForbidden || isUnauthorized)) {\n return children\n }\n\n return (\n <>\n <meta name=\"robots\" content=\"noindex\" />\n {process.env.NODE_ENV === 'development' && (\n <meta\n name=\"boundary-next-error\"\n content={getAccessFallbackErrorTypeByStatus(triggeredStatus)}\n />\n )}\n {errorComponents[triggeredStatus]}\n </>\n )\n }\n\n return children\n }\n}\n\nexport function HTTPAccessFallbackBoundary({\n notFound,\n forbidden,\n unauthorized,\n children,\n}: HTTPAccessFallbackBoundaryProps) {\n // When we're rendering the missing params shell, this will return null. This\n // is because we won't be rendering any not found boundaries or error\n // boundaries for the missing params shell. When this runs on the client\n // (where these error can occur), we will get the correct pathname.\n const pathname = useUntrackedPathname()\n const missingSlots = useContext(MissingSlotContext)\n const hasErrorFallback = !!(notFound || forbidden || unauthorized)\n\n if (hasErrorFallback) {\n return (\n <HTTPAccessFallbackErrorBoundary\n pathname={pathname}\n notFound={notFound}\n forbidden={forbidden}\n unauthorized={unauthorized}\n missingSlots={missingSlots}\n >\n {children}\n </HTTPAccessFallbackErrorBoundary>\n )\n }\n\n return <>{children}</>\n}\n"],"names":["HTTPAccessFallbackBoundary","HTTPAccessFallbackErrorBoundary","React","Component","constructor","props","state","triggeredStatus","undefined","previousPathname","pathname","componentDidCatch","process","env","NODE_ENV","missingSlots","size","has","warningMessage","formattedSlots","Array","from","sort","a","b","localeCompare","map","slot","join","warnOnce","getDerivedStateFromError","error","isHTTPAccessFallbackError","httpStatus","getAccessFallbackHTTPStatus","getDerivedStateFromProps","render","notFound","forbidden","unauthorized","children","errorComponents","HTTPAccessErrorStatus","NOT_FOUND","FORBIDDEN","UNAUTHORIZED","isNotFound","isForbidden","isUnauthorized","meta","name","content","getAccessFallbackErrorTypeByStatus","useUntrackedPathname","useContext","MissingSlotContext","hasErrorFallback"],"mappings":"AA0DMY,QAAQC,GAAG,CAACC,QAAQ;AA1D1B;;;;;+BAwJgBd,8BAAAA;;;eAAAA;;;;;iEA3IkB;qCACG;oCAM9B;0BACkB;+CACU;AAsBnC,MAAMC,wCAAwCC,OAAAA,OAAK,CAACC,SAAS;IAI3DC,YAAYC,KAA2C,CAAE;QACvD,KAAK,CAACA;QACN,IAAI,CAACC,KAAK,GAAG;YACXC,iBAAiBC;YACjBC,kBAAkBJ,MAAMK,QAAQ;QAClC;IACF;IAEAC,oBAA0B;QACxB,wDAC2B,iBACzB,IAAI,CAACN,KAAK,CAACU,YAAY,IACvB,IAAI,CAACV,KAAK,CAACU,YAAY,CAACC,IAAI,GAAG,KAC/B,4EAA4E;QAC5E,CAAC,IAAI,CAACX,KAAK,CAACU,YAAY,CAACE,GAAG,CAAC,aAC7B;YACA,IAAIC,iBACF,4HACA;YAEF,MAAMC,iBAAiBC,MAAMC,IAAI,CAAC,IAAI,CAAChB,KAAK,CAACU,YAAY,EACtDO,IAAI,CAAC,CAACC,GAAGC,IAAMD,EAAEE,aAAa,CAACD,IAC/BE,GAAG,CAAC,CAACC,OAAS,CAAC,CAAC,EAAEA,MAAM,EACxBC,IAAI,CAAC;YAERV,kBAAkB,oBAAoBC;YAEtCU,CAAAA,GAAAA,UAAAA,QAAQ,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ACE,CAAA,GAAA,YAAA,IAAA,EAAA,YAAA,QAAA,EAAA;;kCACE,CAAA,GAAA,YAAA,GAAA,EAACS,QAAAA;wBAAKC,MAAK;wBAASC,SAAQ;;oBAC3BvC,QAAQC,GAAG,CAACC,QAAQ,gCAAK,iBAAA,WAAA,GACxB,CAAA,GAAA,YAAA,GAAA,EAACmC,QAAAA;wBACCC,MAAK;wBACLC,SAASC,CAAAA,GAAAA,oBAAAA,kCAAkC,EAAC7C;;oBAG/CkC,eAAe,CAAClC,gBAAgB;;;QAGvC;QAEA,OAAOiC;IACT;AACF;AAEO,SAASxC,2BAA2B,EACzCqC,QAAQ,EACRC,SAAS,EACTC,YAAY,EACZC,QAAQ,EACwB;IAChC,6EAA6E;IAC7E,qEAAqE;IACrE,wEAAwE;IACxE,mEAAmE;IACnE,MAAM9B,WAAW2C,CAAAA,GAAAA,qBAAAA,oBAAoB;IACrC,MAAMtC,eAAeuC,CAAAA,GAAAA,OAAAA,UAAU,EAACC,+BAAAA,kBAAkB;IAClD,MAAMC,mBAAmB,CAAC,CAAEnB,CAAAA,YAAYC,aAAaC,YAAW;IAEhE,IAAIiB,kBAAkB;QACpB,OAAA,WAAA,GACE,CAAA,GAAA,YAAA,GAAA,EAACvD,iCAAAA;YACCS,UAAUA;YACV2B,UAAUA;YACVC,WAAWA;YACXC,cAAcA;YACdxB,cAAcA;sBAEbyB;;IAGP;IAEA,OAAA,WAAA,GAAO,CAAA,GAAA,YAAA,GAAA,EAAA,YAAA,QAAA,EAAA;kBAAGA;;AACZ","ignoreList":[0]}}, - {"offset": {"line": 10682, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/dev-root-http-access-fallback-boundary.tsx"],"sourcesContent":["'use client'\n\nimport React from 'react'\nimport { HTTPAccessFallbackBoundary } from './http-access-fallback/error-boundary'\n\n// TODO: error on using forbidden and unauthorized in root layout\nexport function bailOnRootNotFound() {\n throw new Error('notFound() is not allowed to use in root layout')\n}\n\nfunction NotAllowedRootHTTPFallbackError() {\n bailOnRootNotFound()\n return null\n}\n\nexport function DevRootHTTPAccessFallbackBoundary({\n children,\n}: {\n children: React.ReactNode\n}) {\n return (\n <HTTPAccessFallbackBoundary notFound={<NotAllowedRootHTTPFallbackError />}>\n {children}\n </HTTPAccessFallbackBoundary>\n )\n}\n"],"names":["DevRootHTTPAccessFallbackBoundary","bailOnRootNotFound","Error","NotAllowedRootHTTPFallbackError","children","HTTPAccessFallbackBoundary","notFound"],"mappings":";;;;;;;;;;;;;;IAegBA,iCAAiC,EAAA;eAAjCA;;IATAC,kBAAkB,EAAA;eAAlBA;;;;;gEAJE;+BACyB;AAGpC,SAASA;IACd,MAAM,OAAA,cAA4D,CAA5D,IAAIC,MAAM,oDAAV,qBAAA;eAAA;oBAAA;sBAAA;IAA2D;AACnE;AAEA,SAASC;IACPF;IACA,OAAO;AACT;AAEO,SAASD,kCAAkC,EAChDI,QAAQ,EAGT;IACC,OAAA,WAAA,GACE,CAAA,GAAA,YAAA,GAAA,EAACC,eAAAA,0BAA0B,EAAA;QAACC,UAAAA,WAAAA,GAAU,CAAA,GAAA,YAAA,GAAA,EAACH,iCAAAA,CAAAA;kBACpCC;;AAGP","ignoreList":[0]}}, - {"offset": {"line": 10735, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/dev/hot-reloader/shared.ts"],"sourcesContent":["import type { HmrMessageSentToBrowser } from '../../../server/dev/hot-reloader-types'\n\nexport const REACT_REFRESH_FULL_RELOAD =\n '[Fast Refresh] performing full reload\\n\\n' +\n \"Fast Refresh will perform a full reload when you edit a file that's imported by modules outside of the React rendering tree.\\n\" +\n 'You might have a file which exports a React component but also exports a value that is imported by a non-React component file.\\n' +\n 'Consider migrating the non-React component export to a separate file and importing it into both files.\\n\\n' +\n 'It is also possible the parent component of the component you edited is a class component, which disables Fast Refresh.\\n' +\n 'Fast Refresh requires at least one parent function component in your React tree.'\n\nexport const REACT_REFRESH_FULL_RELOAD_FROM_ERROR =\n '[Fast Refresh] performing full reload because your application had an unrecoverable error'\n\nexport function reportInvalidHmrMessage(\n message: HmrMessageSentToBrowser | MessageEvent<unknown>,\n err: unknown\n) {\n console.warn(\n '[HMR] Invalid message: ' +\n JSON.stringify(message) +\n '\\n' +\n ((err instanceof Error && err?.stack) || '')\n )\n}\n"],"names":["REACT_REFRESH_FULL_RELOAD","REACT_REFRESH_FULL_RELOAD_FROM_ERROR","reportInvalidHmrMessage","message","err","console","warn","JSON","stringify","Error","stack"],"mappings":";;;;;;;;;;;;;;;IAEaA,yBAAyB,EAAA;eAAzBA;;IAQAC,oCAAoC,EAAA;eAApCA;;IAGGC,uBAAuB,EAAA;eAAvBA;;;AAXT,MAAMF,4BACX,8CACA,mIACA,qIACA,+GACA,8HACA;AAEK,MAAMC,uCACX;AAEK,SAASC,wBACdC,OAAwD,EACxDC,GAAY;IAEZC,QAAQC,IAAI,CACV,4BACEC,KAAKC,SAAS,CAACL,WACf,OACC,CAACC,eAAeK,SAASL,KAAKM,SAAU,EAAC;AAEhD","ignoreList":[0]}}, - {"offset": {"line": 10776, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/dev/hot-reloader/get-socket-url.ts"],"sourcesContent":["import { normalizedAssetPrefix } from '../../../shared/lib/normalized-asset-prefix'\n\nfunction getSocketProtocol(assetPrefix: string): string {\n let protocol = window.location.protocol\n\n try {\n // assetPrefix is a url\n protocol = new URL(assetPrefix).protocol\n } catch {}\n\n return protocol === 'http:' ? 'ws:' : 'wss:'\n}\n\nexport function getSocketUrl(assetPrefix: string | undefined): string {\n const prefix = normalizedAssetPrefix(assetPrefix)\n const protocol = getSocketProtocol(assetPrefix || '')\n\n if (URL.canParse(prefix)) {\n // since normalized asset prefix is ensured to be a URL format,\n // we can safely replace the protocol\n return prefix.replace(/^http/, 'ws')\n }\n\n const { hostname, port } = window.location\n return `${protocol}//${hostname}${port ? `:${port}` : ''}${prefix}`\n}\n"],"names":["getSocketUrl","getSocketProtocol","assetPrefix","protocol","window","location","URL","prefix","normalizedAssetPrefix","canParse","replace","hostname","port"],"mappings":";;;+BAagBA,gBAAAA;;;eAAAA;;;uCAbsB;AAEtC,SAASC,kBAAkBC,WAAmB;IAC5C,IAAIC,WAAWC,OAAOC,QAAQ,CAACF,QAAQ;IAEvC,IAAI;QACF,uBAAuB;QACvBA,WAAW,IAAIG,IAAIJ,aAAaC,QAAQ;IAC1C,EAAE,OAAM,CAAC;IAET,OAAOA,aAAa,UAAU,QAAQ;AACxC;AAEO,SAASH,aAAaE,WAA+B;IAC1D,MAAMK,SAASC,CAAAA,GAAAA,uBAAAA,qBAAqB,EAACN;IACrC,MAAMC,WAAWF,kBAAkBC,eAAe;IAElD,IAAII,IAAIG,QAAQ,CAACF,SAAS;QACxB,+DAA+D;QAC/D,qCAAqC;QACrC,OAAOA,OAAOG,OAAO,CAAC,SAAS;IACjC;IAEA,MAAM,EAAEC,QAAQ,EAAEC,IAAI,EAAE,GAAGR,OAAOC,QAAQ;IAC1C,OAAO,GAAGF,SAAS,EAAE,EAAEQ,WAAWC,OAAO,CAAC,CAAC,EAAEA,MAAM,GAAG,KAAKL,QAAQ;AACrE","ignoreList":[0]}}, - {"offset": {"line": 10816, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/dev/hot-reloader/app/web-socket.ts"],"sourcesContent":["import { useContext, useEffect } from 'react'\nimport { GlobalLayoutRouterContext } from '../../../../shared/lib/app-router-context.shared-runtime'\nimport { getSocketUrl } from '../get-socket-url'\nimport {\n HMR_MESSAGE_SENT_TO_BROWSER,\n type HmrMessageSentToBrowser,\n type TurbopackMessageSentToBrowser,\n} from '../../../../server/dev/hot-reloader-types'\nimport { reportInvalidHmrMessage } from '../shared'\nimport {\n performFullReload,\n processMessage,\n type StaticIndicatorState,\n} from './hot-reloader-app'\nimport { logQueue } from '../../../../next-devtools/userspace/app/forward-logs'\nimport { InvariantError } from '../../../../shared/lib/invariant-error'\nimport { WEB_SOCKET_MAX_RECONNECTIONS } from '../../../../lib/constants'\n\nlet reconnections = 0\nlet reloading = false\nlet serverSessionId: number | null = null\nlet mostRecentCompilationHash: string | null = null\n\nexport function createWebSocket(\n assetPrefix: string,\n staticIndicatorState: StaticIndicatorState\n) {\n if (!self.__next_r) {\n throw new InvariantError(\n `Expected a request ID to be defined for the document via self.__next_r.`\n )\n }\n\n let webSocket: WebSocket\n let timer: ReturnType<typeof setTimeout>\n\n const sendMessage = (data: string) => {\n if (webSocket && webSocket.readyState === webSocket.OPEN) {\n webSocket.send(data)\n }\n }\n\n const processTurbopackMessage = createProcessTurbopackMessage(sendMessage)\n\n function init() {\n if (webSocket) {\n webSocket.close()\n }\n\n const newWebSocket = new window.WebSocket(\n `${getSocketUrl(assetPrefix)}/_next/webpack-hmr?id=${self.__next_r}`\n )\n\n newWebSocket.binaryType = 'arraybuffer'\n\n function handleOnline() {\n logQueue.onSocketReady(newWebSocket)\n\n reconnections = 0\n window.console.log('[HMR] connected')\n }\n\n function handleMessage(event: MessageEvent) {\n // While the page is reloading, don't respond to any more messages.\n if (reloading) {\n return\n }\n\n try {\n const message: HmrMessageSentToBrowser =\n event.data instanceof ArrayBuffer\n ? parseBinaryMessage(event.data)\n : JSON.parse(event.data)\n\n // Check for server restart in Turbopack mode\n if (message.type === HMR_MESSAGE_SENT_TO_BROWSER.TURBOPACK_CONNECTED) {\n if (\n serverSessionId !== null &&\n serverSessionId !== message.data.sessionId\n ) {\n // Either the server's session id has changed and it's a new server, or\n // it's been too long since we disconnected and we should reload the page.\n window.location.reload()\n reloading = true\n return\n }\n serverSessionId = message.data.sessionId\n }\n\n // Track webpack compilation hash for server restart detection\n if (\n message.type === HMR_MESSAGE_SENT_TO_BROWSER.SYNC &&\n 'hash' in message\n ) {\n // If we had previously reconnected and the hash changed, the server may have restarted\n if (\n mostRecentCompilationHash !== null &&\n mostRecentCompilationHash !== message.hash\n ) {\n window.location.reload()\n reloading = true\n return\n }\n mostRecentCompilationHash = message.hash\n }\n\n processMessage(\n message,\n sendMessage,\n processTurbopackMessage,\n staticIndicatorState\n )\n } catch (err: unknown) {\n reportInvalidHmrMessage(event, err)\n }\n }\n\n function handleDisconnect() {\n newWebSocket.onerror = null\n newWebSocket.onclose = null\n newWebSocket.close()\n reconnections++\n\n // After 25 reconnects we'll want to reload the page as it indicates the dev server is no longer running.\n if (reconnections > WEB_SOCKET_MAX_RECONNECTIONS) {\n reloading = true\n window.location.reload()\n return\n }\n\n clearTimeout(timer)\n // Try again after 5 seconds\n timer = setTimeout(init, reconnections > 5 ? 5000 : 1000)\n }\n\n newWebSocket.onopen = handleOnline\n newWebSocket.onerror = handleDisconnect\n newWebSocket.onclose = handleDisconnect\n newWebSocket.onmessage = handleMessage\n\n webSocket = newWebSocket\n return newWebSocket\n }\n\n return init()\n}\n\nexport function createProcessTurbopackMessage(\n sendMessage: (data: string) => void\n): (msg: TurbopackMessageSentToBrowser) => void {\n if (!process.env.TURBOPACK) {\n return () => {}\n }\n\n let queue: TurbopackMessageSentToBrowser[] = []\n let callback: ((msg: TurbopackMessageSentToBrowser) => void) | undefined\n\n const processTurbopackMessage = (msg: TurbopackMessageSentToBrowser) => {\n if (callback) {\n callback(msg)\n } else {\n queue.push(msg)\n }\n }\n\n import(\n // @ts-expect-error requires \"moduleResolution\": \"node16\" in tsconfig.json and not .ts extension\n '@vercel/turbopack-ecmascript-runtime/browser/dev/hmr-client/hmr-client.ts'\n ).then(({ connect }) => {\n connect({\n addMessageListener(cb: (msg: TurbopackMessageSentToBrowser) => void) {\n callback = cb\n\n // Replay all Turbopack messages before we were able to establish the HMR client.\n for (const msg of queue) {\n cb(msg)\n }\n queue.length = 0\n },\n sendMessage,\n onUpdateError: (err: unknown) => performFullReload(err, sendMessage),\n })\n })\n\n return processTurbopackMessage\n}\n\nexport function useWebSocketPing(webSocket: WebSocket | undefined) {\n const { tree } = useContext(GlobalLayoutRouterContext)\n\n useEffect(() => {\n if (!webSocket) {\n throw new InvariantError('Expected webSocket to be defined in dev mode.')\n }\n\n // Never send pings when using Turbopack as it's not used.\n // Pings were originally used to keep track of active routes in on-demand-entries with webpack.\n if (process.env.TURBOPACK) {\n return\n }\n\n // Taken from on-demand-entries-client.js\n const interval = setInterval(() => {\n if (webSocket.readyState === webSocket.OPEN) {\n webSocket.send(\n JSON.stringify({\n event: 'ping',\n tree,\n appDirRoute: true,\n })\n )\n }\n }, 2500)\n return () => clearInterval(interval)\n }, [tree, webSocket])\n}\n\nconst textDecoder = new TextDecoder()\n\nfunction parseBinaryMessage(data: ArrayBuffer): HmrMessageSentToBrowser {\n assertByteLength(data, 1)\n const view = new DataView(data)\n const messageType = view.getUint8(0)\n\n switch (messageType) {\n case HMR_MESSAGE_SENT_TO_BROWSER.ERRORS_TO_SHOW_IN_BROWSER: {\n const serializedErrors = new Uint8Array(data, 1)\n\n return {\n type: HMR_MESSAGE_SENT_TO_BROWSER.ERRORS_TO_SHOW_IN_BROWSER,\n serializedErrors,\n }\n }\n case HMR_MESSAGE_SENT_TO_BROWSER.REACT_DEBUG_CHUNK: {\n assertByteLength(data, 2)\n const requestIdLength = view.getUint8(1)\n assertByteLength(data, 2 + requestIdLength)\n\n const requestId = textDecoder.decode(\n new Uint8Array(data, 2, requestIdLength)\n )\n\n const chunk =\n data.byteLength > 2 + requestIdLength\n ? new Uint8Array(data, 2 + requestIdLength)\n : null\n\n return {\n type: HMR_MESSAGE_SENT_TO_BROWSER.REACT_DEBUG_CHUNK,\n requestId,\n chunk,\n }\n }\n default: {\n throw new InvariantError(\n `Invalid binary HMR message of type ${messageType}`\n )\n }\n }\n}\n\nfunction assertByteLength(data: ArrayBuffer, expectedLength: number) {\n if (data.byteLength < expectedLength) {\n throw new InvariantError(\n `Invalid binary HMR message: insufficient data (expected ${expectedLength} bytes, got ${data.byteLength})`\n )\n }\n}\n"],"names":["createProcessTurbopackMessage","createWebSocket","useWebSocketPing","reconnections","reloading","serverSessionId","mostRecentCompilationHash","assetPrefix","staticIndicatorState","self","__next_r","InvariantError","webSocket","timer","sendMessage","data","readyState","OPEN","send","processTurbopackMessage","init","close","newWebSocket","window","WebSocket","getSocketUrl","binaryType","handleOnline","logQueue","onSocketReady","console","log","handleMessage","event","message","ArrayBuffer","parseBinaryMessage","JSON","parse","type","HMR_MESSAGE_SENT_TO_BROWSER","TURBOPACK_CONNECTED","sessionId","location","reload","SYNC","hash","processMessage","err","reportInvalidHmrMessage","handleDisconnect","onerror","onclose","WEB_SOCKET_MAX_RECONNECTIONS","clearTimeout","setTimeout","onopen","onmessage","process","env","TURBOPACK","queue","callback","msg","push","then","connect","addMessageListener","cb","length","onUpdateError","performFullReload","tree","useContext","GlobalLayoutRouterContext","useEffect","interval","setInterval","stringify","appDirRoute","clearInterval","textDecoder","TextDecoder","assertByteLength","view","DataView","messageType","getUint8","ERRORS_TO_SHOW_IN_BROWSER","serializedErrors","Uint8Array","REACT_DEBUG_CHUNK","requestIdLength","requestId","decode","chunk","byteLength","expectedLength"],"mappings":"AAsJO0D,QAAQC,GAAG,CAACC,SAAS,EAAE;;;;;;;;;;;;;;;;;IAHd5D,6BAA6B,EAAA;eAA7BA;;IA5HAC,eAAe,EAAA;eAAfA;;IAoKAC,gBAAgB,EAAA;eAAhBA;;;uBA3LsB;+CACI;8BACb;kCAKtB;wBACiC;gCAKjC;6BACkB;gCACM;2BACc;AAE7C,IAAIC,gBAAgB;AACpB,IAAIC,YAAY;AAChB,IAAIC,kBAAiC;AACrC,IAAIC,4BAA2C;AAExC,SAASL,gBACdM,WAAmB,EACnBC,oBAA0C;IAE1C,IAAI,CAACC,KAAKC,QAAQ,EAAE;QAClB,MAAM,OAAA,cAEL,CAFK,IAAIC,gBAAAA,cAAc,CACtB,CAAC,uEAAuE,CAAC,GADrE,qBAAA;mBAAA;wBAAA;0BAAA;QAEN;IACF;IAEA,IAAIC;IACJ,IAAIC;IAEJ,MAAMC,cAAc,CAACC;QACnB,IA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,OAAA,cAEL,CAFK,IAAIpF,gBAAAA,cAAc,CACtB,CAAC,mCAAmC,EAAE2E,aAAa,GAD/C,qBAAA;2BAAA;gCAAA;kCAAA;gBAEN;YACF;IACF;AACF;AAEA,SAASH,iBAAiBpE,IAAiB,EAAEkF,cAAsB;IACjE,IAAIlF,KAAKiF,UAAU,GAAGC,gBAAgB;QACpC,MAAM,OAAA,cAEL,CAFK,IAAItF,gBAAAA,cAAc,CACtB,CAAC,wDAAwD,EAAEsF,eAAe,YAAY,EAAElF,KAAKiF,UAAU,CAAC,CAAC,CAAC,GADtG,qBAAA;mBAAA;wBAAA;0BAAA;QAEN;IACF;AACF","ignoreList":[0]}}, - {"offset": {"line": 11049, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/dev/report-hmr-latency.ts"],"sourcesContent":["declare global {\n interface Window {\n __NEXT_HMR_LATENCY_CB: ((latencyMs: number) => void) | undefined\n }\n}\n\n/**\n * Logs information about a completed HMR to the console, the server (via a\n * `client-hmr-latency` event), and to `self.__NEXT_HMR_LATENCY_CB` (a debugging\n * hook).\n *\n * @param hasUpdate Set this to `false` to avoid reporting the HMR event via a\n * `client-hmr-latency` event or to `self.__NEXT_HMR_LATENCY_CB`. Used by\n * turbopack when we must report a message to the browser console (because we\n * already logged a \"rebuilding\" message), but it's not a real HMR, so we\n * don't want to impact our telemetry.\n */\nexport default function reportHmrLatency(\n sendMessage: (message: string) => void,\n updatedModules: ReadonlyArray<string | number>,\n startMsSinceEpoch: number,\n endMsSinceEpoch: number,\n hasUpdate: boolean = true\n) {\n const latencyMs = endMsSinceEpoch - startMsSinceEpoch\n console.log(`[Fast Refresh] done in ${latencyMs}ms`)\n if (!hasUpdate) {\n return\n }\n sendMessage(\n JSON.stringify({\n event: 'client-hmr-latency',\n id: window.__nextDevClientId,\n startTime: startMsSinceEpoch,\n endTime: endMsSinceEpoch,\n page: window.location.pathname,\n updatedModules,\n // Whether the page (tab) was hidden at the time the event occurred.\n // This can impact the accuracy of the event's timing.\n isPageHidden: document.visibilityState === 'hidden',\n })\n )\n if (self.__NEXT_HMR_LATENCY_CB) {\n self.__NEXT_HMR_LATENCY_CB(latencyMs)\n }\n}\n"],"names":["reportHmrLatency","sendMessage","updatedModules","startMsSinceEpoch","endMsSinceEpoch","hasUpdate","latencyMs","console","log","JSON","stringify","event","id","window","__nextDevClientId","startTime","endTime","page","location","pathname","isPageHidden","document","visibilityState","self","__NEXT_HMR_LATENCY_CB"],"mappings":";;;+BAMA;;;;;;;;;;CAUC,GACD,WAAA;;;eAAwBA;;;AAAT,SAASA,iBACtBC,WAAsC,EACtCC,cAA8C,EAC9CC,iBAAyB,EACzBC,eAAuB,EACvBC,YAAqB,IAAI;IAEzB,MAAMC,YAAYF,kBAAkBD;IACpCI,QAAQC,GAAG,CAAC,CAAC,uBAAuB,EAAEF,UAAU,EAAE,CAAC;IACnD,IAAI,CAACD,WAAW;QACd;IACF;IACAJ,YACEQ,KAAKC,SAAS,CAAC;QACbC,OAAO;QACPC,IAAIC,OAAOC,iBAAiB;QAC5BC,WAAWZ;QACXa,SAASZ;QACTa,MAAMJ,OAAOK,QAAQ,CAACC,QAAQ;QAC9BjB;QACA,oEAAoE;QACpE,sDAAsD;QACtDkB,cAAcC,SAASC,eAAe,KAAK;IAC7C;IAEF,IAAIC,KAAKC,qBAAqB,EAAE;QAC9BD,KAAKC,qBAAqB,CAAClB;IAC7B;AACF","ignoreList":[0]}}, - {"offset": {"line": 11100, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/dev/hot-reloader/turbopack-hot-reloader-common.ts"],"sourcesContent":["import type { TurbopackMessage } from '../../../server/dev/hot-reloader-types'\nimport type { Update as TurbopackUpdate } from '../../../build/swc/types'\n\ndeclare global {\n interface Window {\n __NEXT_HMR_TURBOPACK_REPORT_NOISY_NOOP_EVENTS: boolean | undefined\n }\n}\n\n// How long to wait before reporting the HMR start, used to suppress irrelevant\n// `BUILDING` events. Does not impact reported latency.\nconst TURBOPACK_HMR_START_DELAY_MS = 100\n\ninterface HmrUpdate {\n hasUpdates: boolean\n updatedModules: Set<string>\n startMsSinceEpoch: number\n endMsSinceEpoch: number\n}\n\nexport class TurbopackHmr {\n #updatedModules: Set<string>\n #startMsSinceEpoch: number | undefined\n #lastUpdateMsSinceEpoch: number | undefined\n #deferredReportHmrStartId: ReturnType<typeof setTimeout> | undefined\n #reportedHmrStart: boolean\n\n constructor() {\n this.#updatedModules = new Set()\n this.#reportedHmrStart = false\n }\n\n // HACK: Turbopack tends to generate a lot of irrelevant \"BUILDING\" actions,\n // as it reports *any* compilation, including fully no-op/cached compilations\n // and those unrelated to HMR. Fixing this would require significant\n // architectural changes.\n //\n // Work around this by deferring any \"rebuilding\" message by 100ms. If we get\n // a BUILT event within that threshold and nothing has changed, just suppress\n // the message entirely.\n #runDeferredReportHmrStart() {\n if (this.#deferredReportHmrStartId != null) {\n console.log('[Fast Refresh] rebuilding')\n this.#reportedHmrStart = true\n this.#cancelDeferredReportHmrStart()\n }\n }\n\n #cancelDeferredReportHmrStart() {\n clearTimeout(this.#deferredReportHmrStartId)\n this.#deferredReportHmrStartId = undefined\n }\n\n onBuilding() {\n this.#lastUpdateMsSinceEpoch = undefined\n this.#cancelDeferredReportHmrStart()\n this.#startMsSinceEpoch = Date.now()\n\n // report the HMR start after a short delay\n this.#deferredReportHmrStartId = setTimeout(\n () => this.#runDeferredReportHmrStart(),\n // debugging feature: don't defer/suppress noisy no-op HMR update messages\n self.__NEXT_HMR_TURBOPACK_REPORT_NOISY_NOOP_EVENTS\n ? 0\n : TURBOPACK_HMR_START_DELAY_MS\n )\n }\n\n /** Helper for other `onEvent` methods. */\n #onUpdate() {\n this.#runDeferredReportHmrStart()\n this.#lastUpdateMsSinceEpoch = Date.now()\n }\n\n onTurbopackMessage(msg: TurbopackMessage) {\n this.#onUpdate()\n const updatedModules = extractModulesFromTurbopackMessage(msg.data)\n for (const module of updatedModules) {\n this.#updatedModules.add(module)\n }\n }\n\n onServerComponentChanges() {\n this.#onUpdate()\n }\n\n onReloadPage() {\n this.#onUpdate()\n }\n\n onPageAddRemove() {\n this.#onUpdate()\n }\n\n /**\n * @returns `null` if the caller should ignore the update entirely. Returns an\n * object with `hasUpdates: false` if the caller should report the end of\n * the HMR in the browser console, but the HMR was a no-op.\n */\n onBuilt(): HmrUpdate | null {\n // Check that we got *any* `TurbopackMessage`, even if\n // `updatedModules` is empty (not everything gets recorded there).\n //\n // There's also a case where `onBuilt` gets called before `onBuilding`,\n // which can happen during initial page load. Ignore that too!\n const hasUpdates =\n this.#lastUpdateMsSinceEpoch != null && this.#startMsSinceEpoch != null\n if (!hasUpdates && !this.#reportedHmrStart) {\n // suppress the update entirely\n this.#cancelDeferredReportHmrStart()\n return null\n }\n this.#runDeferredReportHmrStart()\n\n const result = {\n hasUpdates,\n updatedModules: this.#updatedModules,\n startMsSinceEpoch: this.#startMsSinceEpoch!,\n endMsSinceEpoch: this.#lastUpdateMsSinceEpoch ?? Date.now(),\n }\n this.#updatedModules = new Set()\n this.#reportedHmrStart = false\n return result\n }\n}\n\nfunction extractModulesFromTurbopackMessage(\n data: TurbopackUpdate | TurbopackUpdate[]\n): Set<string> {\n const updatedModules: Set<string> = new Set()\n\n const updates = Array.isArray(data) ? data : [data]\n for (const update of updates) {\n // TODO this won't capture changes to CSS since they don't result in a \"merged\" update\n if (\n update.type !== 'partial' ||\n update.instruction.type !== 'ChunkListUpdate' ||\n update.instruction.merged === undefined\n ) {\n continue\n }\n\n for (const mergedUpdate of update.instruction.merged) {\n for (const name of Object.keys(mergedUpdate.entries)) {\n const res = /(.*)\\s+[([].*/.exec(name)\n if (res === null) {\n continue\n }\n\n updatedModules.add(res[1])\n }\n }\n }\n\n return updatedModules\n}\n"],"names":["TurbopackHmr","TURBOPACK_HMR_START_DELAY_MS","constructor","Set","console","log","clearTimeout","undefined","onBuilding","Date","now","setTimeout","self","__NEXT_HMR_TURBOPACK_REPORT_NOISY_NOOP_EVENTS","onTurbopackMessage","msg","updatedModules","extractModulesFromTurbopackMessage","data","module","add","onServerComponentChanges","onReloadPage","onPageAddRemove","onBuilt","hasUpdates","result","startMsSinceEpoch","endMsSinceEpoch","updates","Array","isArray","update","type","instruction","merged","mergedUpdate","name","Object","keys","entries","res","exec"],"mappings":";;;+BAoBaA,gBAAAA;;;eAAAA;;;AAXb,+EAA+E;AAC/E,uDAAuD;AACvD,MAAMC,+BAA+B;AAS9B,MAAMD;KACX,CAAA,aAAe,CAAa;KAC5B,CAAA,gBAAkB,CAAoB;KACtC,CAAA,qBAAuB,CAAoB;KAC3C,CAAA,uBAAyB,CAA2C;KACpE,CAAA,eAAiB,CAAS;IAE1BE,aAAc;QACZ,IAAI,EAAC,CAAA,aAAe,GAAG,IAAIC;QAC3B,IAAI,EAAC,CAAA,eAAiB,GAAG;IAC3B;IAEA,4EAA4E;IAC5E,6EAA6E;IAC7E,oEAAoE;IACpE,yBAAyB;IACzB,EAAE;IACF,6EAA6E;IAC7E,6EAA6E;IAC7E,wBAAwB;KACxB,CAAA,wBAA0B;QACxB,IAAI,IAAI,EAAC,CAAA,uBAAyB,IAAI,MAAM;YAC1CC,QAAQC,GAAG,CAAC;YACZ,IAAI,EAAC,CAAA,eAAiB,GAAG;YACzB,IAAI,EAAC,CAAA,2BAA6B;QACpC;IACF;KAEA,CAAA,2BAA6B;QAC3BC,aAAa,IAAI,EAAC,CAAA,uBAAyB;QAC3C,IAAI,EAAC,CAAA,uBAAyB,GAAGC;IACnC;IAEAC,aAAa;QACX,IAAI,EAAC,CAAA,qBAAuB,GAAGD;QAC/B,IAAI,EAAC,CAAA,2BAA6B;QAClC,IAAI,EAAC,CAAA,gBAAkB,GAAGE,KAAKC,GAAG;QAElC,2CAA2C;QAC3C,IAAI,EAAC,CAAA,uBAAyB,GAAGC,WAC/B,IAAM,IAAI,EAAC,CAAA,wBAA0B,IACrC,AACAC,KAAKC,6CAA6C,GAC9C,IACAZ,iB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QAACA;KAAK;IACnD,KAAK,MAAMc,UAAUH,QAAS;QAC5B,sFAAsF;QACtF,IACEG,OAAOC,IAAI,KAAK,aAChBD,OAAOE,WAAW,CAACD,IAAI,KAAK,qBAC5BD,OAAOE,WAAW,CAACC,MAAM,KAAK5B,WAC9B;YACA;QACF;QAEA,KAAK,MAAM6B,gBAAgBJ,OAAOE,WAAW,CAACC,MAAM,CAAE;YACpD,KAAK,MAAME,QAAQC,OAAOC,IAAI,CAACH,aAAaI,OAAO,EAAG;gBACpD,MAAMC,MAAM,gBAAgBC,IAAI,CAACL;gBACjC,IAAII,QAAQ,MAAM;oBAChB;gBACF;gBAEAzB,eAAeI,GAAG,CAACqB,GAAG,CAAC,EAAE;YAC3B;QACF;IACF;IAEA,OAAOzB;AACT","ignoreList":[0]}}, - {"offset": {"line": 11229, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/dev/debug-channel.ts"],"sourcesContent":["import { NEXT_REQUEST_ID_HEADER } from '../components/app-router-headers'\nimport { InvariantError } from '../../shared/lib/invariant-error'\n\nexport interface DebugChannelReadableWriterPair {\n readonly readable: ReadableStream<Uint8Array>\n readonly writer: WritableStreamDefaultWriter<Uint8Array>\n}\n\nconst pairs = new Map<string, DebugChannelReadableWriterPair>()\n\nexport function getOrCreateDebugChannelReadableWriterPair(\n requestId: string\n): DebugChannelReadableWriterPair {\n let pair = pairs.get(requestId)\n\n if (!pair) {\n const { readable, writable } = new TransformStream<Uint8Array, Uint8Array>()\n pair = { readable, writer: writable.getWriter() }\n pairs.set(requestId, pair)\n pair.writer.closed.finally(() => pairs.delete(requestId))\n }\n\n return pair\n}\n\nexport function createDebugChannel(\n requestHeaders: Record<string, string> | undefined\n): {\n writable?: WritableStream\n readable?: ReadableStream\n} {\n let requestId: string | undefined\n\n if (requestHeaders) {\n requestId = requestHeaders[NEXT_REQUEST_ID_HEADER] ?? undefined\n\n if (!requestId) {\n throw new InvariantError(\n `Expected a ${JSON.stringify(NEXT_REQUEST_ID_HEADER)} request header.`\n )\n }\n } else {\n requestId = self.__next_r\n\n if (!requestId) {\n throw new InvariantError(\n `Expected a request ID to be defined for the document via self.__next_r.`\n )\n }\n }\n\n const { readable } = getOrCreateDebugChannelReadableWriterPair(requestId)\n\n return { readable }\n}\n"],"names":["createDebugChannel","getOrCreateDebugChannelReadableWriterPair","pairs","Map","requestId","pair","get","readable","writable","TransformStream","writer","getWriter","set","closed","finally","delete","requestHeaders","NEXT_REQUEST_ID_HEADER","undefined","InvariantError","JSON","stringify","self","__next_r"],"mappings":";;;;;;;;;;;;;;IAyBgBA,kBAAkB,EAAA;eAAlBA;;IAfAC,yCAAyC,EAAA;eAAzCA;;;kCAVuB;gCACR;AAO/B,MAAMC,QAAQ,IAAIC;AAEX,SAASF,0CACdG,SAAiB;IAEjB,IAAIC,OAAOH,MAAMI,GAAG,CAACF;IAErB,IAAI,CAACC,MAAM;QACT,MAAM,EAAEE,QAAQ,EAAEC,QAAQ,EAAE,GAAG,IAAIC;QACnCJ,OAAO;YAAEE;YAAUG,QAAQF,SAASG,SAAS;QAAG;QAChDT,MAAMU,GAAG,CAACR,WAAWC;QACrBA,KAAKK,MAAM,CAACG,MAAM,CAACC,OAAO,CAAC,IAAMZ,MAAMa,MAAM,CAACX;IAChD;IAEA,OAAOC;AACT;AAEO,SAASL,mBACdgB,cAAkD;IAKlD,IAAIZ;IAEJ,IAAIY,gBAAgB;QAClBZ,YAAYY,cAAc,CAACC,kBAAAA,sBAAsB,CAAC,IAAIC;QAEtD,IAAI,CAACd,WAAW;YACd,MAAM,OAAA,cAEL,CAFK,IAAIe,gBAAAA,cAAc,CACtB,CAAC,WAAW,EAAEC,KAAKC,SAAS,CAACJ,kBAAAA,sBAAsB,EAAE,gBAAgB,CAAC,GADlE,qBAAA;uBAAA;4BAAA;8BAAA;YAEN;QACF;IACF,OAAO;QACLb,YAAYkB,KAAKC,QAAQ;QAEzB,IAAI,CAACnB,WAAW;YACd,MAAM,OAAA,cAEL,CAFK,IAAIe,gBAAAA,cAAc,CACtB,CAAC,uEAAuE,CAAC,GADrE,qBAAA;uBAAA;4BAAA;8BAAA;YAEN;QACF;IACF;IAEA,MAAM,EAAEZ,QAAQ,EAAE,GAAGN,0CAA0CG;IAE/D,OAAO;QAAEG;IAAS;AACpB","ignoreList":[0]}}, - {"offset": {"line": 11303, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/dev/hot-reloader/app/hot-reloader-app.tsx"],"sourcesContent":["/// <reference types=\"webpack/module.d.ts\" />\n\nimport type { ReactNode } from 'react'\nimport { useEffect, startTransition } from 'react'\nimport stripAnsi from 'next/dist/compiled/strip-ansi'\nimport formatWebpackMessages from '../../../../shared/lib/format-webpack-messages'\nimport {\n REACT_REFRESH_FULL_RELOAD,\n REACT_REFRESH_FULL_RELOAD_FROM_ERROR,\n} from '../shared'\nimport {\n dispatcher,\n getSerializedOverlayState,\n getSegmentTrieData,\n} from 'next/dist/compiled/next-devtools'\nimport { ReplaySsrOnlyErrors } from '../../../../next-devtools/userspace/app/errors/replay-ssr-only-errors'\nimport { AppDevOverlayErrorBoundary } from '../../../../next-devtools/userspace/app/app-dev-overlay-error-boundary'\nimport { useErrorHandler } from '../../../../next-devtools/userspace/app/errors/use-error-handler'\nimport { RuntimeErrorHandler } from '../../runtime-error-handler'\nimport { useWebSocketPing } from './web-socket'\nimport {\n HMR_MESSAGE_SENT_TO_BROWSER,\n HMR_MESSAGE_SENT_TO_SERVER,\n} from '../../../../server/dev/hot-reloader-types'\nimport type {\n HmrMessageSentToBrowser,\n TurbopackMessageSentToBrowser,\n} from '../../../../server/dev/hot-reloader-types'\nimport type { McpErrorStateResponse } from '../../../../shared/lib/mcp-error-types'\nimport type { McpPageMetadataResponse } from '../../../../shared/lib/mcp-page-metadata-types'\nimport { useUntrackedPathname } from '../../../components/navigation-untracked'\nimport reportHmrLatency from '../../report-hmr-latency'\nimport { TurbopackHmr } from '../turbopack-hot-reloader-common'\nimport { NEXT_HMR_REFRESH_HASH_COOKIE } from '../../../components/app-router-headers'\nimport {\n publicAppRouterInstance,\n type GlobalErrorState,\n} from '../../../components/app-router-instance'\nimport { InvariantError } from '../../../../shared/lib/invariant-error'\nimport { getOrCreateDebugChannelReadableWriterPair } from '../../debug-channel'\n// TODO: Explicitly import from client.browser (doesn't work with Webpack).\n// eslint-disable-next-line import/no-extraneous-dependencies\nimport { createFromReadableStream as createFromReadableStreamBrowser } from 'react-server-dom-webpack/client'\nimport { findSourceMapURL } from '../../../app-find-source-map-url'\n\nexport interface StaticIndicatorState {\n pathname: string | null\n appIsrManifest: Record<string, boolean> | null\n}\n\nconst createFromReadableStream =\n createFromReadableStreamBrowser as (typeof import('react-server-dom-webpack/client.browser'))['createFromReadableStream']\n\nlet mostRecentCompilationHash: any = null\nlet __nextDevClientId = Math.round(Math.random() * 100 + Date.now())\nlet reloading = false\nlet webpackStartMsSinceEpoch: number | null = null\nconst turbopackHmr: TurbopackHmr | null = process.env.TURBOPACK\n ? new TurbopackHmr()\n : null\n\nlet pendingHotUpdateWebpack = Promise.resolve()\nlet resolvePendingHotUpdateWebpack: () => void = () => {}\nfunction setPendingHotUpdateWebpack() {\n pendingHotUpdateWebpack = new Promise((resolve) => {\n resolvePendingHotUpdateWebpack = () => {\n resolve()\n }\n })\n}\n\nexport function waitForWebpackRuntimeHotUpdate() {\n return pendingHotUpdateWebpack\n}\n\n// There is a newer version of the code available.\nfunction handleAvailableHash(hash: string) {\n // Update last known compilation hash.\n mostRecentCompilationHash = hash\n}\n\n/**\n * Is there a newer version of this code available?\n * For webpack: Check if the hash changed compared to __webpack_hash__\n * For Turbopack: Always true because it doesn't have __webpack_hash__\n */\nfunction isUpdateAvailable() {\n if (process.env.TURBOPACK) {\n return true\n }\n\n /* globals __webpack_hash__ */\n // __webpack_hash__ is the hash of the current compilation.\n // It's a global variable injected by Webpack.\n return mostRecentCompilationHash !== __webpack_hash__\n}\n\n// Webpack disallows updates in other states.\nfunction canApplyUpdates() {\n return module.hot.status() === 'idle'\n}\nfunction afterApplyUpdates(fn: any) {\n if (canApplyUpdates()) {\n fn()\n } else {\n function handler(status: any) {\n if (status === 'idle') {\n module.hot.removeStatusHandler(handler)\n fn()\n }\n }\n module.hot.addStatusHandler(handler)\n }\n}\n\nexport function performFullReload(\n err: any,\n sendMessage: (data: string) => void\n) {\n const stackTrace =\n err &&\n ((err.stack && err.stack.split('\\n').slice(0, 5).join('\\n')) ||\n err.message ||\n err + '')\n\n sendMessage(\n JSON.stringify({\n event: 'client-full-reload',\n stackTrace,\n hadRuntimeError: !!RuntimeErrorHandler.hadRuntimeError,\n dependencyChain: err ? err.dependencyChain : undefined,\n })\n )\n\n if (reloading) return\n reloading = true\n window.location.reload()\n}\n\n// Attempt to update code on the fly, fall back to a hard reload.\nfunction tryApplyUpdatesWebpack(sendMessage: (message: string) => void) {\n if (!isUpdateAvailable() || !canApplyUpdates()) {\n resolvePendingHotUpdateWebpack()\n dispatcher.onBuildOk()\n reportHmrLatency(sendMessage, [], webpackStartMsSinceEpoch!, Date.now())\n return\n }\n\n function handleApplyUpdates(\n err: any,\n updatedModules: (string | number)[] | null\n ) {\n if (err || RuntimeErrorHandler.hadRuntimeError || updatedModules == null) {\n if (err) {\n console.warn(REACT_REFRESH_FULL_RELOAD)\n } else if (RuntimeErrorHandler.hadRuntimeError) {\n console.warn(REACT_REFRESH_FULL_RELOAD_FROM_ERROR)\n }\n performFullReload(err, sendMessage)\n return\n }\n\n dispatcher.onBuildOk()\n\n if (isUpdateAvailable()) {\n // While we were updating, there was a new update! Do it again.\n tryApplyUpdatesWebpack(sendMessage)\n return\n }\n\n dispatcher.onRefresh()\n resolvePendingHotUpdateWebpack()\n reportHmrLatency(\n sendMessage,\n updatedModules,\n webpackStartMsSinceEpoch!,\n Date.now()\n )\n\n if (process.env.__NEXT_TEST_MODE) {\n afterApplyUpdates(() => {\n if (self.__NEXT_HMR_CB) {\n self.__NEXT_HMR_CB()\n self.__NEXT_HMR_CB = null\n }\n })\n }\n }\n\n // https://webpack.js.org/api/hot-module-replacement/#check\n module.hot\n .check(/* autoApply */ false)\n .then((updatedModules: (string | number)[] | null) => {\n if (updatedModules == null) {\n return null\n }\n\n // We should always handle an update, even if updatedModules is empty (but\n // non-null) for any reason. That's what webpack would normally do:\n // https://github.com/webpack/webpack/blob/3aa6b6bc3a64/lib/hmr/HotModuleReplacement.runtime.js#L296-L298\n dispatcher.onBeforeRefresh()\n // https://webpack.js.org/api/hot-module-replacement/#apply\n return module.hot.apply()\n })\n .then(\n (updatedModules: (string | number)[] | null) => {\n handleApplyUpdates(null, updatedModules)\n },\n (err: any) => {\n handleApplyUpdates(err, null)\n }\n )\n}\n\n/** Handles messages from the server for the App Router. */\nexport function processMessage(\n message: HmrMessageSentToBrowser,\n sendMessage: (message: string) => void,\n processTurbopackMessage: (msg: TurbopackMessageSentToBrowser) => void,\n staticIndicatorState: StaticIndicatorState\n) {\n function handleErrors(errors: ReadonlyArray<unknown>) {\n // \"Massage\" webpack messages.\n const formatted = formatWebpackMessages({\n errors: errors,\n warnings: [],\n })\n\n // Only show the first error.\n dispatcher.onBuildError(formatted.errors[0])\n\n // Also log them to the console.\n for (let i = 0; i < formatted.errors.length; i++) {\n console.error(stripAnsi(formatted.errors[i]))\n }\n\n // Do not attempt to reload now.\n // We will reload on next success instead.\n if (process.env.__NEXT_TEST_MODE) {\n if (self.__NEXT_HMR_CB) {\n self.__NEXT_HMR_CB(formatted.errors[0])\n self.__NEXT_HMR_CB = null\n }\n }\n }\n\n function handleHotUpdate() {\n if (process.env.TURBOPACK) {\n const hmrUpdate = turbopackHmr!.onBuilt()\n if (hmrUpdate != null) {\n reportHmrLatency(\n sendMessage,\n [...hmrUpdate.updatedModules],\n hmrUpdate.startMsSinceEpoch,\n hmrUpdate.endMsSinceEpoch,\n // suppress the `client-hmr-latency` event if the update was a no-op:\n hmrUpdate.hasUpdates\n )\n }\n dispatcher.onBuildOk()\n } else {\n tryApplyUpdatesWebpack(sendMessage)\n }\n }\n\n switch (message.type) {\n case HMR_MESSAGE_SENT_TO_BROWSER.ISR_MANIFEST: {\n if (process.env.__NEXT_DEV_INDICATOR) {\n staticIndicatorState.appIsrManifest = message.data\n\n // Handle the initial static indicator status on receiving the ISR\n // manifest. Navigation is handled in an effect inside HotReload for\n // pathname changes as we'll receive the updated manifest before\n // usePathname triggers for a new value.\n\n const isStatic = staticIndicatorState.pathname\n ? message.data[staticIndicatorState.pathname]\n : undefined\n\n dispatcher.onStaticIndicator(\n isStatic === undefined ? 'pending' : isStatic ? 'static' : 'dynamic'\n )\n }\n break\n }\n case HMR_MESSAGE_SENT_TO_BROWSER.BUILDING: {\n dispatcher.buildingIndicatorShow()\n\n if (process.env.TURBOPACK) {\n turbopackHmr!.onBuilding()\n } else {\n webpackStartMsSinceEpoch = Date.now()\n setPendingHotUpdateWebpack()\n console.log('[Fast Refresh] rebuilding')\n }\n break\n }\n case HMR_MESSAGE_SENT_TO_BROWSER.BUILT:\n case HMR_MESSAGE_SENT_TO_BROWSER.SYNC: {\n dispatcher.buildingIndicatorHide()\n\n if (message.hash) {\n handleAvailableHash(message.hash)\n }\n\n const { errors, warnings } = message\n\n // Is undefined when it's a 'built' event\n if ('versionInfo' in message)\n dispatcher.onVersionInfo(message.versionInfo)\n if ('debug' in message && message.debug)\n dispatcher.onDebugInfo(message.debug)\n if ('devIndicator' in message)\n dispatcher.onDevIndicator(message.devIndicator)\n if ('devToolsConfig' in message)\n dispatcher.onDevToolsConfig(message.devToolsConfig)\n\n const hasErrors = Boolean(errors && errors.length)\n // Compilation with errors (e.g. syntax error or missing modules).\n if (hasErrors) {\n sendMessage(\n JSON.stringify({\n event: 'client-error',\n errorCount: errors.length,\n clientId: __nextDevClientId,\n })\n )\n\n handleErrors(errors)\n return\n }\n\n const hasWarnings = Boolean(warnings && warnings.length)\n if (hasWarnings) {\n sendMessage(\n JSON.stringify({\n event: 'client-warning',\n warningCount: warnings.length,\n clientId: __nextDevClientId,\n })\n )\n\n // Print warnings to the console.\n const formattedMessages = formatWebpackMessages({\n warnings: warnings,\n errors: [],\n })\n\n for (let i = 0; i < formattedMessages.warnings.length; i++) {\n if (i === 5) {\n console.warn(\n 'There were more warnings in other files.\\n' +\n 'You can find a complete log in the terminal.'\n )\n break\n }\n console.warn(stripAnsi(formattedMessages.warnings[i]))\n }\n\n // No early return here as we need to apply modules in the same way between warnings only and compiles without warnings\n }\n\n sendMessage(\n JSON.stringify({\n event: 'client-success',\n clientId: __nextDevClientId,\n })\n )\n\n if (message.type === HMR_MESSAGE_SENT_TO_BROWSER.BUILT) {\n handleHotUpdate()\n }\n return\n }\n case HMR_MESSAGE_SENT_TO_BROWSER.TURBOPACK_CONNECTED: {\n processTurbopackMessage({\n type: HMR_MESSAGE_SENT_TO_BROWSER.TURBOPACK_CONNECTED,\n data: {\n sessionId: message.data.sessionId,\n },\n })\n break\n }\n case HMR_MESSAGE_SENT_TO_BROWSER.TURBOPACK_MESSAGE: {\n turbopackHmr!.onTurbopackMessage(message)\n dispatcher.onBeforeRefresh()\n processTurbopackMessage({\n type: HMR_MESSAGE_SENT_TO_BROWSER.TURBOPACK_MESSAGE,\n data: message.data,\n })\n if (RuntimeErrorHandler.hadRuntimeError) {\n console.warn(REACT_REFRESH_FULL_RELOAD_FROM_ERROR)\n performFullReload(null, sendMessage)\n }\n dispatcher.onRefresh()\n break\n }\n // TODO-APP: make server component change more granular\n case HMR_MESSAGE_SENT_TO_BROWSER.SERVER_COMPONENT_CHANGES: {\n turbopackHmr?.onServerComponentChanges()\n sendMessage(\n JSON.stringify({\n event: 'server-component-reload-page',\n clientId: __nextDevClientId,\n hash: message.hash,\n })\n )\n\n // Store the latest hash in a session cookie so that it's sent back to the\n // server with any subsequent requests.\n document.cookie = `${NEXT_HMR_REFRESH_HASH_COOKIE}=${message.hash};path=/`\n\n if (\n RuntimeErrorHandler.hadRuntimeError ||\n document.documentElement.id === '__next_error__'\n ) {\n if (reloading) return\n reloading = true\n return window.location.reload()\n }\n\n startTransition(() => {\n publicAppRouterInstance.hmrRefresh()\n dispatcher.onRefresh()\n })\n\n if (process.env.__NEXT_TEST_MODE) {\n if (self.__NEXT_HMR_CB) {\n self.__NEXT_HMR_CB()\n self.__NEXT_HMR_CB = null\n }\n }\n\n return\n }\n case HMR_MESSAGE_SENT_TO_BROWSER.RELOAD_PAGE: {\n turbopackHmr?.onReloadPage()\n sendMessage(\n JSON.stringify({\n event: 'client-reload-page',\n clientId: __nextDevClientId,\n })\n )\n if (reloading) return\n reloading = true\n return window.location.reload()\n }\n case HMR_MESSAGE_SENT_TO_BROWSER.ADDED_PAGE:\n case HMR_MESSAGE_SENT_TO_BROWSER.REMOVED_PAGE: {\n turbopackHmr?.onPageAddRemove()\n // TODO-APP: potentially only refresh if the currently viewed page was added/removed.\n return publicAppRouterInstance.hmrRefresh()\n }\n case HMR_MESSAGE_SENT_TO_BROWSER.SERVER_ERROR: {\n const { errorJSON } = message\n if (errorJSON) {\n const errorObject = JSON.parse(errorJSON)\n const error = new Error(errorObject.message)\n error.stack = errorObject.stack\n handleErrors([error])\n }\n return\n }\n case HMR_MESSAGE_SENT_TO_BROWSER.DEV_PAGES_MANIFEST_UPDATE: {\n return\n }\n case HMR_MESSAGE_SENT_TO_BROWSER.DEVTOOLS_CONFIG: {\n dispatcher.onDevToolsConfig(message.data)\n return\n }\n case HMR_MESSAGE_SENT_TO_BROWSER.REACT_DEBUG_CHUNK: {\n const { requestId, chunk } = message\n const { writer } = getOrCreateDebugChannelReadableWriterPair(requestId)\n\n if (chunk) {\n writer.ready.then(() => writer.write(chunk)).catch(console.error)\n } else {\n // A null chunk signals that no more chunks will be sent, which allows\n // us to close the writer.\n // TODO: Revisit this cleanup logic when we integrate the return channel\n // that keeps the connection open to be able to lazily retrieve debug\n // objects.\n writer.ready.then(() => writer.close()).catch(console.error)\n }\n\n return\n }\n case HMR_MESSAGE_SENT_TO_BROWSER.REQUEST_CURRENT_ERROR_STATE: {\n const errorState = getSerializedOverlayState()\n const response: McpErrorStateResponse = {\n event: HMR_MESSAGE_SENT_TO_SERVER.MCP_ERROR_STATE_RESPONSE,\n requestId: message.requestId,\n errorState,\n url: window.location.href,\n }\n sendMessage(JSON.stringify(response))\n return\n }\n case HMR_MESSAGE_SENT_TO_BROWSER.REQUEST_PAGE_METADATA: {\n const segmentTrieData = getSegmentTrieData()\n const response: McpPageMetadataResponse = {\n event: HMR_MESSAGE_SENT_TO_SERVER.MCP_PAGE_METADATA_RESPONSE,\n requestId: message.requestId,\n segmentTrieData,\n url: window.location.href,\n }\n sendMessage(JSON.stringify(response))\n return\n }\n case HMR_MESSAGE_SENT_TO_BROWSER.CACHE_INDICATOR: {\n dispatcher.onCacheIndicator(message.state)\n return\n }\n case HMR_MESSAGE_SENT_TO_BROWSER.ERRORS_TO_SHOW_IN_BROWSER: {\n createFromReadableStream<Error[]>(\n new ReadableStream({\n start(controller) {\n controller.enqueue(message.serializedErrors)\n controller.close()\n },\n }),\n { findSourceMapURL }\n ).then(\n (errors) => {\n for (const error of errors) {\n console.error(error)\n }\n },\n (err) => {\n console.error(\n new Error('Failed to deserialize errors.', { cause: err })\n )\n }\n )\n return\n }\n case HMR_MESSAGE_SENT_TO_BROWSER.MIDDLEWARE_CHANGES:\n case HMR_MESSAGE_SENT_TO_BROWSER.CLIENT_CHANGES:\n case HMR_MESSAGE_SENT_TO_BROWSER.SERVER_ONLY_CHANGES:\n // These action types are handled in src/client/page-bootstrap.ts\n break\n default: {\n message satisfies never\n }\n }\n}\n\nexport default function HotReload({\n children,\n globalError,\n webSocket,\n staticIndicatorState,\n}: {\n children: ReactNode\n globalError: GlobalErrorState\n webSocket: WebSocket | undefined\n staticIndicatorState: StaticIndicatorState | undefined\n}) {\n useErrorHandler(dispatcher.onUnhandledError, dispatcher.onUnhandledRejection)\n useWebSocketPing(webSocket)\n\n // We don't want access of the pathname for the dev tools to trigger a dynamic\n // access (as the dev overlay will never be present in production).\n const pathname = useUntrackedPathname()\n\n if (process.env.__NEXT_DEV_INDICATOR) {\n // this conditional is only for dead-code elimination which\n // isn't a runtime conditional only build-time so ignore hooks rule\n // eslint-disable-next-line react-hooks/rules-of-hooks\n useEffect(() => {\n if (!staticIndicatorState) {\n throw new InvariantError(\n 'Expected staticIndicatorState to be defined in dev mode.'\n )\n }\n\n staticIndicatorState.pathname = pathname\n\n if (staticIndicatorState.appIsrManifest) {\n const isStatic = pathname\n ? staticIndicatorState.appIsrManifest[pathname]\n : undefined\n\n dispatcher.onStaticIndicator(\n isStatic === undefined ? 'pending' : isStatic ? 'static' : 'dynamic'\n )\n }\n }, [pathname, staticIndicatorState])\n }\n\n return (\n <AppDevOverlayErrorBoundary globalError={globalError}>\n <ReplaySsrOnlyErrors onBlockingError={dispatcher.openErrorOverlay} />\n {children}\n </AppDevOverlayErrorBoundary>\n )\n}\n"],"names":["HotReload","performFullReload","processMessage","waitForWebpackRuntimeHotUpdate","createFromReadableStream","createFromReadableStreamBrowser","mostRecentCompilationHash","__nextDevClientId","Math","round","random","Date","now","reloading","webpackStartMsSinceEpoch","turbopackHmr","process","env","TURBOPACK","TurbopackHmr","pendingHotUpdateWebpack","Promise","resolve","resolvePendingHotUpdateWebpack","setPendingHotUpdateWebpack","handleAvailableHash","hash","isUpdateAvailable","__webpack_hash__","canApplyUpdates","module","hot","status","afterApplyUpdates","fn","handler","removeStatusHandler","addStatusHandler","err","sendMessage","stackTrace","stack","split","slice","join","message","JSON","stringify","event","hadRuntimeError","RuntimeErrorHandler","dependencyChain","undefined","window","location","reload","tryApplyUpdatesWebpack","dispatcher","onBuildOk","reportHmrLatency","handleApplyUpdates","updatedModules","console","warn","REACT_REFRESH_FULL_RELOAD","REACT_REFRESH_FULL_RELOAD_FROM_ERROR","onRefresh","__NEXT_TEST_MODE","self","__NEXT_HMR_CB","check","then","onBeforeRefresh","apply","processTurbopackMessage","staticIndicatorState","handleErrors","errors","formatted","formatWebpackMessages","warnings","onBuildError","i","length","error","stripAnsi","handleHotUpdate","hmrUpdate","onBuilt","startMsSinceEpoch","endMsSinceEpoch","hasUpdates","type","HMR_MESSAGE_SENT_TO_BROWSER","ISR_MANIFEST","__NEXT_DEV_INDICATOR","appIsrManifest","data","isStatic","pathname","onStaticIndicator","BUILDING","buildingIndicatorShow","onBuilding","log","BUILT","SYNC","buildingIndicatorHide","onVersionInfo","versionInfo","debug","onDebugInfo","onDevIndicator","devIndicator","onDevToolsConfig","devToolsConfig","hasErrors","Boolean","errorCount","clientId","hasWarnings","warningCount","formattedMessages","TURBOPACK_CONNECTED","sessionId","TURBOPACK_MESSAGE","onTurbopackMessage","SERVER_COMPONENT_CHANGES","onServerComponentChanges","document","cookie","NEXT_HMR_REFRESH_HASH_COOKIE","documentElement","id","startTransition","publicAppRouterInstance","hmrRefresh","RELOAD_PAGE","onReloadPage","ADDED_PAGE","REMOVED_PAGE","onPageAddRemove","SERVER_ERROR","errorJSON","errorObject","parse","Error","DEV_PAGES_MANIFEST_UPDATE","DEVTOOLS_CONFIG","REACT_DEBUG_CHUNK","requestId","chunk","writer","getOrCreateDebugChannelReadableWriterPair","ready","write","catch","close","REQUEST_CURRENT_ERROR_STATE","errorState","getSerializedOverlayState","response","HMR_MESSAGE_SENT_TO_SERVER","MCP_ERROR_STATE_RESPONSE","url","href","REQUEST_PAGE_METADATA","segmentTrieData","getSegmentTrieData","MCP_PAGE_METADATA_RESPONSE","CACHE_INDICATOR","onCacheIndicator","state","ERRORS_TO_SHOW_IN_BROWSER","ReadableStream","start","controller","enqueue","serializedErrors","findSourceMapURL","cause","MIDDLEWARE_CHANGES","CLIENT_CHANGES","SERVER_ONLY_CHANGES","children","globalError","webSocket","useErrorHandler","onUnhandledError","onUnhandledRejection","useWebSocketPing","useUntrackedPathname","useEffect","InvariantError","AppDevOverlayErrorBoundary","ReplaySsrOnlyErrors","onBlockingError","openErrorOverlay"],"mappings":"AAyD0CgB,QAAQC,GAAG,CAACC,SAAS;AAzD/D,6CAA6C;;;;;;;;;;;;;;;;;;IAm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AA,IAAA,EAACuH,4BAAAA,0BAA0B,EAAA;QAACT,aAAaA;;0BACvC,CAAA,GAAA,YAAA,GAAA,EAACU,qBAAAA,mBAAmB,EAAA;gBAACC,iBAAiB3I,cAAAA,UAAU,CAAC4I,gBAAgB;;YAChEb;;;AAGP","ignoreList":[0]}}, - {"offset": {"line": 11796, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/app-router.tsx"],"sourcesContent":["import React, {\n useEffect,\n useMemo,\n startTransition,\n useInsertionEffect,\n useDeferredValue,\n} from 'react'\nimport {\n AppRouterContext,\n LayoutRouterContext,\n GlobalLayoutRouterContext,\n} from '../../shared/lib/app-router-context.shared-runtime'\nimport type { CacheNode } from '../../shared/lib/app-router-types'\nimport { ACTION_RESTORE } from './router-reducer/router-reducer-types'\nimport type {\n AppHistoryState,\n AppRouterState,\n} from './router-reducer/router-reducer-types'\nimport { createHrefFromUrl } from './router-reducer/create-href-from-url'\nimport {\n SearchParamsContext,\n PathnameContext,\n PathParamsContext,\n NavigationPromisesContext,\n type NavigationPromises,\n} from '../../shared/lib/hooks-client-context.shared-runtime'\nimport { dispatchAppRouterAction, useActionQueue } from './use-action-queue'\nimport { AppRouterAnnouncer } from './app-router-announcer'\nimport { RedirectBoundary } from './redirect-boundary'\nimport { findHeadInCache } from './router-reducer/reducers/find-head-in-cache'\nimport { unresolvedThenable } from './unresolved-thenable'\nimport { removeBasePath } from '../remove-base-path'\nimport { hasBasePath } from '../has-base-path'\nimport { getSelectedParams } from './router-reducer/compute-changed-path'\nimport { useNavFailureHandler } from './nav-failure-handler'\nimport {\n dispatchTraverseAction,\n publicAppRouterInstance,\n type AppRouterActionQueue,\n type GlobalErrorState,\n} from './app-router-instance'\nimport { getRedirectTypeFromError, getURLFromRedirectError } from './redirect'\nimport { isRedirectError, RedirectType } from './redirect-error'\nimport { pingVisibleLinks } from './links'\nimport RootErrorBoundary from './errors/root-error-boundary'\nimport DefaultGlobalError from './builtin/global-error'\nimport { RootLayoutBoundary } from '../../lib/framework/boundary-components'\nimport type { StaticIndicatorState } from '../dev/hot-reloader/app/hot-reloader-app'\nimport { getDeploymentIdQueryOrEmptyString } from '../../shared/lib/deployment-id'\n\nconst globalMutable: {\n pendingMpaPath?: string\n} = {}\n\nfunction HistoryUpdater({\n appRouterState,\n}: {\n appRouterState: AppRouterState\n}) {\n useInsertionEffect(() => {\n if (process.env.__NEXT_APP_NAV_FAIL_HANDLING) {\n // clear pending URL as navigation is no longer\n // in flight\n window.next.__pendingUrl = undefined\n }\n\n const { tree, pushRef, canonicalUrl, renderedSearch } = appRouterState\n\n const appHistoryState: AppHistoryState = {\n tree,\n renderedSearch,\n }\n\n // TODO: Use Navigation API if available\n const historyState = {\n ...(pushRef.preserveCustomHistoryState ? window.history.state : {}),\n // Identifier is shortened intentionally.\n // __NA is used to identify if the history entry can be handled by the app-router.\n // __N is used to identify if the history entry can be handled by the old router.\n __NA: true,\n __PRIVATE_NEXTJS_INTERNALS_TREE: appHistoryState,\n }\n if (\n pushRef.pendingPush &&\n // Skip pushing an additional history entry if the canonicalUrl is the same as the current url.\n // This mirrors the browser behavior for normal navigation.\n createHrefFromUrl(new URL(window.location.href)) !== canonicalUrl\n ) {\n // This intentionally mutates React state, pushRef is overwritten to ensure additional push/replace calls do not trigger an additional history entry.\n pushRef.pendingPush = false\n window.history.pushState(historyState, '', canonicalUrl)\n } else {\n window.history.replaceState(historyState, '', canonicalUrl)\n }\n }, [appRouterState])\n\n useEffect(() => {\n // The Next-Url and the base tree may affect the result of a prefetch\n // task. Re-prefetch all visible links with the updated values. In most\n // cases, this will not result in any new network requests, only if\n // the prefetch result actually varies on one of these inputs.\n pingVisibleLinks(appRouterState.nextUrl, appRouterState.tree)\n }, [appRouterState.nextUrl, appRouterState.tree])\n\n return null\n}\n\nfunction copyNextJsInternalHistoryState(data: any) {\n if (data == null) data = {}\n const currentState = window.history.state\n const __NA = currentState?.__NA\n if (__NA) {\n data.__NA = __NA\n }\n const __PRIVATE_NEXTJS_INTERNALS_TREE =\n currentState?.__PRIVATE_NEXTJS_INTERNALS_TREE\n if (__PRIVATE_NEXTJS_INTERNALS_TREE) {\n data.__PRIVATE_NEXTJS_INTERNALS_TREE = __PRIVATE_NEXTJS_INTERNALS_TREE\n }\n\n return data\n}\n\nfunction Head({\n headCacheNode,\n}: {\n headCacheNode: CacheNode | null\n}): React.ReactNode {\n // If this segment has a `prefetchHead`, it's the statically prefetched data.\n // We should use that on initial render instead of `head`. Then we'll switch\n // to `head` when the dynamic response streams in.\n const head = headCacheNode !== null ? headCacheNode.head : null\n const prefetchHead =\n headCacheNode !== null ? headCacheNode.prefetchHead : null\n\n // If no prefetch data is available, then we go straight to rendering `head`.\n const resolvedPrefetchRsc = prefetchHead !== null ? prefetchHead : head\n\n // We use `useDeferredValue` to handle switching between the prefetched and\n // final values. The second argument is returned on initial render, then it\n // re-renders with the first argument.\n return useDeferredValue(head, resolvedPrefetchRsc)\n}\n\n/**\n * The global router that wraps the application components.\n */\nfunction Router({\n actionQueue,\n globalError,\n webSocket,\n staticIndicatorState,\n}: {\n actionQueue: AppRouterActionQueue\n globalError: GlobalErrorState\n webSocket: WebSocket | undefined\n staticIndicatorState: StaticIndicatorState | undefined\n}) {\n const state = useActionQueue(actionQueue)\n const { canonicalUrl } = state\n // Add memoized pathname/query for useSearchParams and usePathname.\n const { searchParams, pathname } = useMemo(() => {\n const url = new URL(\n canonicalUrl,\n typeof window === 'undefined' ? 'http://n' : window.location.href\n )\n\n return {\n // This is turned into a readonly class in `useSearchParams`\n searchParams: url.searchParams,\n pathname: hasBasePath(url.pathname)\n ? removeBasePath(url.pathname)\n : url.pathname,\n }\n }, [canonicalUrl])\n\n if (process.env.NODE_ENV !== 'production') {\n const { cache, tree } = state\n\n // This hook is in a conditional but that is ok because `process.env.NODE_ENV` never changes\n // eslint-disable-next-line react-hooks/rules-of-hooks\n useEffect(() => {\n // Add `window.nd` for debugging purposes.\n // This is not meant for use in applications as concurrent rendering will affect the cache/tree/router.\n // @ts-ignore this is for debugging\n window.nd = {\n router: publicAppRouterInstance,\n cache,\n tree,\n }\n }, [cache, tree])\n }\n\n useEffect(() => {\n // If the app is restored from bfcache, it's possible that\n // pushRef.mpaNavigation is true, which would mean that any re-render of this component\n // would trigger the mpa navigation logic again from the lines below.\n // This will restore the router to the initial state in the event that the app is restored from bfcache.\n function handlePageShow(event: PageTransitionEvent) {\n if (\n !event.persisted ||\n !window.history.state?.__PRIVATE_NEXTJS_INTERNALS_TREE\n ) {\n return\n }\n\n // Clear the pendingMpaPath value so that a subsequent MPA navigation to the same URL can be triggered.\n // This is necessary because if the browser restored from bfcache, the pendingMpaPath would still be set to the value\n // of the last MPA navigation.\n globalMutable.pendingMpaPath = undefined\n\n dispatchAppRouterAction({\n type: ACTION_RESTORE,\n url: new URL(window.location.href),\n historyState: window.history.state.__PRIVATE_NEXTJS_INTERNALS_TREE,\n })\n }\n\n window.addEventListener('pageshow', handlePageShow)\n\n return () => {\n window.removeEventListener('pageshow', handlePageShow)\n }\n }, [])\n\n useEffect(() => {\n // Ensure that any redirect errors that bubble up outside of the RedirectBoundary\n // are caught and handled by the router.\n function handleUnhandledRedirect(\n event: ErrorEvent | PromiseRejectionEvent\n ) {\n const error = 'reason' in event ? event.reason : event.error\n if (isRedirectError(error)) {\n event.preventDefault()\n const url = getURLFromRedirectError(error)\n const redirectType = getRedirectTypeFromError(error)\n // TODO: This should access the router methods directly, rather than\n // go through the public interface.\n if (redirectType === RedirectType.push) {\n publicAppRouterInstance.push(url, {})\n } else {\n publicAppRouterInstance.replace(url, {})\n }\n }\n }\n window.addEventListener('error', handleUnhandledRedirect)\n window.addEventListener('unhandledrejection', handleUnhandledRedirect)\n\n return () => {\n window.removeEventListener('error', handleUnhandledRedirect)\n window.removeEventListener('unhandledrejection', handleUnhandledRedirect)\n }\n }, [])\n\n // When mpaNavigation flag is set do a hard navigation to the new url.\n // Infinitely suspend because we don't actually want to rerender any child\n // components with the new URL and any entangled state updates shouldn't\n // commit either (eg: useTransition isPending should stay true until the page\n // unloads).\n //\n // This is a side effect in render. Don't try this at home, kids. It's\n // probably safe because we know this is a singleton component and it's never\n // in <Offscreen>. At least I hope so. (It will run twice in dev strict mode,\n // but that's... fine?)\n const { pushRef } = state\n if (pushRef.mpaNavigation) {\n // if there's a re-render, we don't want to trigger another redirect if one is already in flight to the same URL\n if (globalMutable.pendingMpaPath !== canonicalUrl) {\n const location = window.location\n if (pushRef.pendingPush) {\n location.assign(canonicalUrl)\n } else {\n location.replace(canonicalUrl)\n }\n\n globalMutable.pendingMpaPath = canonicalUrl\n }\n // TODO-APP: Should we listen to navigateerror here to catch failed\n // navigations somehow? And should we call window.stop() if a SPA navigation\n // should interrupt an MPA one?\n // NOTE: This is intentionally using `throw` instead of `use` because we're\n // inside an externally mutable condition (pushRef.mpaNavigation), which\n // violates the rules of hooks.\n throw unresolvedThenable\n }\n\n useEffect(() => {\n const originalPushState = window.history.pushState.bind(window.history)\n const originalReplaceState = window.history.replaceState.bind(\n window.history\n )\n\n // Ensure the canonical URL in the Next.js Router is updated when the URL is changed so that `usePathname` and `useSearchParams` hold the pushed values.\n const applyUrlFromHistoryPushReplace = (\n url: string | URL | null | undefined\n ) => {\n const href = window.location.href\n const appHistoryState: AppHistoryState | undefined =\n window.history.state?.__PRIVATE_NEXTJS_INTERNALS_TREE\n\n startTransition(() => {\n dispatchAppRouterAction({\n type: ACTION_RESTORE,\n url: new URL(url ?? href, href),\n historyState: appHistoryState,\n })\n })\n }\n\n /**\n * Patch pushState to ensure external changes to the history are reflected in the Next.js Router.\n * Ensures Next.js internal history state is copied to the new history entry.\n * Ensures usePathname and useSearchParams hold the newly provided url.\n */\n window.history.pushState = function pushState(\n data: any,\n _unused: string,\n url?: string | URL | null\n ): void {\n // TODO: Warn when Navigation API is available (navigation.navigate() should be used)\n // Avoid a loop when Next.js internals trigger pushState/replaceState\n if (data?.__NA || data?._N) {\n return originalPushState(data, _unused, url)\n }\n\n data = copyNextJsInternalHistoryState(data)\n\n if (url) {\n applyUrlFromHistoryPushReplace(url)\n }\n\n return originalPushState(data, _unused, url)\n }\n\n /**\n * Patch replaceState to ensure external changes to the history are reflected in the Next.js Router.\n * Ensures Next.js internal history state is copied to the new history entry.\n * Ensures usePathname and useSearchParams hold the newly provided url.\n */\n window.history.replaceState = function replaceState(\n data: any,\n _unused: string,\n url?: string | URL | null\n ): void {\n // TODO: Warn when Navigation API is available (navigation.navigate() should be used)\n // Avoid a loop when Next.js internals trigger pushState/replaceState\n if (data?.__NA || data?._N) {\n return originalReplaceState(data, _unused, url)\n }\n data = copyNextJsInternalHistoryState(data)\n\n if (url) {\n applyUrlFromHistoryPushReplace(url)\n }\n return originalReplaceState(data, _unused, url)\n }\n\n /**\n * Handle popstate event, this is used to handle back/forward in the browser.\n * By default dispatches ACTION_RESTORE, however if the history entry was not pushed/replaced by app-router it will reload the page.\n * That case can happen when the old router injected the history entry.\n */\n const onPopState = (event: PopStateEvent) => {\n if (!event.state) {\n // TODO-APP: this case only happens when pushState/replaceState was called outside of Next.js. It should probably reload the page in this case.\n return\n }\n\n // This case happens when the history entry was pushed by the `pages` router.\n if (!event.state.__NA) {\n window.location.reload()\n return\n }\n\n // TODO-APP: Ideally the back button should not use startTransition as it should apply the updates synchronously\n // Without startTransition works if the cache is there for this path\n startTransition(() => {\n dispatchTraverseAction(\n window.location.href,\n event.state.__PRIVATE_NEXTJS_INTERNALS_TREE\n )\n })\n }\n\n // Register popstate event to call onPopstate.\n window.addEventListener('popstate', onPopState)\n return () => {\n window.history.pushState = originalPushState\n window.history.replaceState = originalReplaceState\n window.removeEventListener('popstate', onPopState)\n }\n }, [])\n\n const { cache, tree, nextUrl, focusAndScrollRef, previousNextUrl } = state\n\n const matchingHead = useMemo(() => {\n return findHeadInCache(cache, tree[1])\n }, [cache, tree])\n\n // Add memoized pathParams for useParams.\n const pathParams = useMemo(() => {\n return getSelectedParams(tree)\n }, [tree])\n\n // Create instrumented promises for navigation hooks (dev-only)\n // These are specially instrumented promises to show in the Suspense DevTools\n // Promises are cached outside of render to survive suspense retries.\n let instrumentedNavigationPromises: NavigationPromises | null = null\n if (process.env.NODE_ENV !== 'production') {\n const { createRootNavigationPromises } =\n require('./navigation-devtools') as typeof import('./navigation-devtools')\n\n instrumentedNavigationPromises = createRootNavigationPromises(\n tree,\n pathname,\n searchParams,\n pathParams\n )\n }\n\n const layoutRouterContext = useMemo(() => {\n return {\n parentTree: tree,\n parentCacheNode: cache,\n parentSegmentPath: null,\n parentParams: {},\n // This is the <Activity> \"name\" that shows up in the Suspense DevTools.\n // It represents the root of the app.\n debugNameContext: '/',\n // Root node always has `url`\n // Provided in AppTreeContext to ensure it can be overwritten in layout-router\n url: canonicalUrl,\n // Root segment is always active\n isActive: true,\n }\n }, [tree, cache, canonicalUrl])\n\n const globalLayoutRouterContext = useMemo(() => {\n return {\n tree,\n focusAndScrollRef,\n nextUrl,\n previousNextUrl,\n }\n }, [tree, focusAndScrollRef, nextUrl, previousNextUrl])\n\n let head\n if (matchingHead !== null) {\n // The head is wrapped in an extra component so we can use\n // `useDeferredValue` to swap between the prefetched and final versions of\n // the head. (This is what LayoutRouter does for segment data, too.)\n //\n // The `key` is used to remount the component whenever the head moves to\n // a different segment.\n const [headCacheNode, headKey, headKeyWithoutSearchParams] = matchingHead\n\n head = (\n <Head\n key={\n // Necessary for PPR: omit search params from the key to match prerendered keys\n typeof window === 'undefined' ? headKeyWithoutSearchParams : headKey\n }\n headCacheNode={headCacheNode}\n />\n )\n } else {\n head = null\n }\n\n let content = (\n <RedirectBoundary>\n {head}\n {/* RootLayoutBoundary enables detection of Suspense boundaries around the root layout.\n When users wrap their layout in <Suspense>, this creates the component stack pattern\n \"Suspense -> RootLayoutBoundary\" which dynamic-rendering.ts uses to allow dynamic rendering. */}\n <RootLayoutBoundary>{cache.rsc}</RootLayoutBoundary>\n <AppRouterAnnouncer tree={tree} />\n </RedirectBoundary>\n )\n\n if (process.env.NODE_ENV !== 'production') {\n // In development, we apply few error boundaries and hot-reloader:\n // - DevRootHTTPAccessFallbackBoundary: avoid using navigation API like notFound() in root layout\n // - HotReloader:\n // - hot-reload the app when the code changes\n // - render dev overlay\n // - catch runtime errors and display global-error when necessary\n if (typeof window !== 'undefined') {\n const { DevRootHTTPAccessFallbackBoundary } =\n require('./dev-root-http-access-fallback-boundary') as typeof import('./dev-root-http-access-fallback-boundary')\n content = (\n <DevRootHTTPAccessFallbackBoundary>\n {content}\n </DevRootHTTPAccessFallbackBoundary>\n )\n }\n const HotReloader: typeof import('../dev/hot-reloader/app/hot-reloader-app').default =\n (\n require('../dev/hot-reloader/app/hot-reloader-app') as typeof import('../dev/hot-reloader/app/hot-reloader-app')\n ).default\n\n content = (\n <HotReloader\n globalError={globalError}\n webSocket={webSocket}\n staticIndicatorState={staticIndicatorState}\n >\n {content}\n </HotReloader>\n )\n } else {\n content = (\n <RootErrorBoundary\n errorComponent={globalError[0]}\n errorStyles={globalError[1]}\n >\n {content}\n </RootErrorBoundary>\n )\n }\n\n return (\n <>\n <HistoryUpdater appRouterState={state} />\n <RuntimeStyles />\n <NavigationPromisesContext.Provider\n value={instrumentedNavigationPromises}\n >\n <PathParamsContext.Provider value={pathParams}>\n <PathnameContext.Provider value={pathname}>\n <SearchParamsContext.Provider value={searchParams}>\n <GlobalLayoutRouterContext.Provider\n value={globalLayoutRouterContext}\n >\n {/* TODO: We should be able to remove this context. useRouter\n should import from app-router-instance instead. It's only\n necessary because useRouter is shared between Pages and\n App Router. We should fork that module, then remove this\n context provider. */}\n <AppRouterContext.Provider value={publicAppRouterInstance}>\n <LayoutRouterContext.Provider value={layoutRouterContext}>\n {content}\n </LayoutRouterContext.Provider>\n </AppRouterContext.Provider>\n </GlobalLayoutRouterContext.Provider>\n </SearchParamsContext.Provider>\n </PathnameContext.Provider>\n </PathParamsContext.Provider>\n </NavigationPromisesContext.Provider>\n </>\n )\n}\n\nexport default function AppRouter({\n actionQueue,\n globalErrorState,\n webSocket,\n staticIndicatorState,\n}: {\n actionQueue: AppRouterActionQueue\n globalErrorState: GlobalErrorState\n webSocket?: WebSocket\n staticIndicatorState?: StaticIndicatorState\n}) {\n useNavFailureHandler()\n\n const router = (\n <Router\n actionQueue={actionQueue}\n globalError={globalErrorState}\n webSocket={webSocket}\n staticIndicatorState={staticIndicatorState}\n />\n )\n\n // At the very top level, use the default GlobalError component as the final fallback.\n // When the app router itself fails, which means the framework itself fails, we show the default error.\n return (\n <RootErrorBoundary errorComponent={DefaultGlobalError}>\n {router}\n </RootErrorBoundary>\n )\n}\n\nconst runtimeStyles = new Set<string>()\nlet runtimeStyleChanged = new Set<() => void>()\n\nglobalThis._N_E_STYLE_LOAD = function (href: string) {\n let len = runtimeStyles.size\n runtimeStyles.add(href)\n if (runtimeStyles.size !== len) {\n runtimeStyleChanged.forEach((cb) => cb())\n }\n // TODO figure out how to get a promise here\n // But maybe it's not necessary as react would block rendering until it's loaded\n return Promise.resolve()\n}\n\nfunction RuntimeStyles() {\n const [, forceUpdate] = React.useState(0)\n const renderedStylesSize = runtimeStyles.size\n useEffect(() => {\n const changed = () => forceUpdate((c) => c + 1)\n runtimeStyleChanged.add(changed)\n if (renderedStylesSize !== runtimeStyles.size) {\n changed()\n }\n return () => {\n runtimeStyleChanged.delete(changed)\n }\n }, [renderedStylesSize, forceUpdate])\n\n const dplId = getDeploymentIdQueryOrEmptyString()\n return [...runtimeStyles].map((href, i) => (\n <link\n key={i}\n rel=\"stylesheet\"\n href={`${href}${dplId}`}\n // @ts-ignore\n precedence=\"next\"\n // TODO figure out crossOrigin and nonce\n // crossOrigin={TODO}\n // nonce={TODO}\n />\n ))\n}\n"],"names":["AppRouter","globalMutable","HistoryUpdater","appRouterState","useInsertionEffect","process","env","__NEXT_APP_NAV_FAIL_HANDLING","window","next","__pendingUrl","undefined","tree","pushRef","canonicalUrl","renderedSearch","appHistoryState","historyState","preserveCustomHistoryState","history","state","__NA","__PRIVATE_NEXTJS_INTERNALS_TREE","pendingPush","createHrefFromUrl","URL","location","href","pushState","replaceState","useEffect","pingVisibleLinks","nextUrl","copyNextJsInternalHistoryState","data","currentState","Head","headCacheNode","head","prefetchHead","resolvedPrefetchRsc","useDeferredValue","Router","actionQueue","globalError","webSocket","staticIndicatorState","useActionQueue","searchParams","pathname","useMemo","url","hasBasePath","removeBasePath","NODE_ENV","cache","nd","router","publicAppRouterInstance","handlePageShow","event","persisted","pendingMpaPath","dispatchAppRouterAction","type","ACTION_RESTORE","addEventListener","removeEventListener","handleUnhandledRedirect","error","reason","isRedirectError","preventDefault","getURLFromRedirectError","redirectType","getRedirectTypeFromError","RedirectType","push","replace","mpaNavigation","assign","unresolvedThenable","originalPushState","bind","originalReplaceState","applyUrlFromHistoryPushReplace","startTransition","_unused","_N","onPopState","reload","dispatchTraverseAction","focusAndScrollRef","previousNextUrl","matchingHead","findHeadInCache","pathParams","getSelectedParams","instrumentedNavigationPromises","createRootNavigationPromises","require","layoutRouterContext","parentTree","parentCacheNode","parentSegmentPath","parentParams","debugNameContext","isActive","globalLayoutRouterContext","headKey","headKeyWithoutSearchParams","content","RedirectBoundary","RootLayoutBoundary","rsc","AppRouterAnnouncer","DevRootHTTPAccessFallbackBoundary","HotReloader","default","RootErrorBoundary","errorComponent","errorStyles","RuntimeStyles","NavigationPromisesContext","Provider","value","PathParamsContext","PathnameContext","SearchParamsContext","GlobalLayoutRouterContext","AppRouterContext","LayoutRouterContext","globalErrorState","useNavFailureHandler","DefaultGlobalError","runtimeStyles","Set","runtimeStyleChanged","globalThis","_N_E_STYLE_LOAD","len","size","add","forEach","cb","Promise","resolve","forceUpdate","React","useState","renderedStylesSize","changed","c","delete","dplId","getDeploymentIdQueryOrEmptyString","map","i","link","rel","precedence"],"mappings":"AA4DQK,QAAQC,GAAG,CAACC,4BAA4B,EAAE;;;;;+BA6elD,WAAA;;;eAAwBP;;;;;;iEAniBjB;+CAKA;oCAEwB;mCAKG;iDAO3B;gCACiD;oCACrB;kCACF;iCACD;oCACG;gCACJ;6BACH;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}, - {"offset": {"line": 12286, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/components/router-reducer/create-initial-router-state.ts"],"sourcesContent":["import type { FlightDataPath } from '../../../shared/lib/app-router-types'\n\nimport { createHrefFromUrl } from './create-href-from-url'\nimport { extractPathFromFlightRouterState } from './compute-changed-path'\n\nimport type { AppRouterState } from './router-reducer-types'\nimport { getFlightDataPartsFromPath } from '../../flight-data-helpers'\nimport { createInitialCacheNodeForHydration } from './ppr-navigations'\n\nexport interface InitialRouterStateParameters {\n navigatedAt: number\n initialCanonicalUrlParts: string[]\n initialRenderedSearch: string\n initialFlightData: FlightDataPath[]\n location: Location | null\n}\n\nexport function createInitialRouterState({\n navigatedAt,\n initialFlightData,\n initialCanonicalUrlParts,\n initialRenderedSearch,\n location,\n}: InitialRouterStateParameters): AppRouterState {\n // When initialized on the server, the canonical URL is provided as an array of parts.\n // This is to ensure that when the RSC payload streamed to the client, crawlers don't interpret it\n // as a URL that should be crawled.\n const initialCanonicalUrl = initialCanonicalUrlParts.join('/')\n\n const normalizedFlightData = getFlightDataPartsFromPath(initialFlightData[0])\n const {\n tree: initialTree,\n seedData: initialSeedData,\n head: initialHead,\n } = normalizedFlightData\n // For the SSR render, seed data should always be available (we only send back a `null` response\n // in the case of a `loading` segment, pre-PPR.)\n\n const canonicalUrl =\n // location.href is read as the initial value for canonicalUrl in the browser\n // This is safe to do as canonicalUrl can't be rendered, it's only used to control the history updates in the useEffect further down in this file.\n location\n ? // window.location does not have the same type as URL but has all the fields createHrefFromUrl needs.\n createHrefFromUrl(location)\n : initialCanonicalUrl\n\n const initialState = {\n tree: initialTree,\n cache: createInitialCacheNodeForHydration(\n navigatedAt,\n initialTree,\n initialSeedData,\n initialHead\n ),\n pushRef: {\n pendingPush: false,\n mpaNavigation: false,\n // First render needs to preserve the previous window.history.state\n // to avoid it being overwritten on navigation back/forward with MPA Navigation.\n preserveCustomHistoryState: true,\n },\n focusAndScrollRef: {\n apply: false,\n onlyHashChange: false,\n hashFragment: null,\n segmentPaths: [],\n },\n canonicalUrl,\n renderedSearch: initialRenderedSearch,\n nextUrl:\n // the || operator is intentional, the pathname can be an empty string\n (extractPathFromFlightRouterState(initialTree) || location?.pathname) ??\n null,\n previousNextUrl: null,\n debugInfo: null,\n }\n\n return initialState\n}\n"],"names":["createInitialRouterState","navigatedAt","initialFlightData","initialCanonicalUrlParts","initialRenderedSearch","location","initialCanonicalUrl","join","normalizedFlightData","getFlightDataPartsFromPath","tree","initialTree","seedData","initialSeedData","head","initialHead","canonicalUrl","createHrefFromUrl","initialState","cache","createInitialCacheNodeForHydration","pushRef","pendingPush","mpaNavigation","preserveCustomHistoryState","focusAndScrollRef","apply","onlyHashChange","hashFragment","segmentPaths","renderedSearch","nextUrl","extractPathFromFlightRouterState","pathname","previousNextUrl","debugInfo"],"mappings":";;;+BAiBgBA,4BAAAA;;;eAAAA;;;mCAfkB;oCACe;mCAGN;gCACQ;AAU5C,SAASA,yBAAyB,EACvCC,WAAW,EACXC,iBAAiB,EACjBC,wBAAwB,EACxBC,qBAAqB,EACrBC,QAAQ,EACqB;IAC7B,sFAAsF;IACtF,kGAAkG;IAClG,mCAAmC;IACnC,MAAMC,sBAAsBH,yBAAyBI,IAAI,CAAC;IAE1D,MAAMC,uBAAuBC,CAAAA,GAAAA,mBAAAA,0BAA0B,EAACP,iBAAiB,CAAC,EAAE;IAC5E,MAAM,EACJQ,MAAMC,WAAW,EACjBC,UAAUC,eAAe,EACzBC,MAAMC,WAAW,EAClB,GAAGP;IACJ,gGAAgG;IAChG,gDAAgD;IAEhD,MAAMQ,eACJ,AACA,6EAD6E,qEACqE;IAClJX,WAEIY,CAAAA,GAAAA,mBAAAA,iBAAiB,EAACZ,YAClBC;IAEN,MAAMY,eAAe;QACnBR,MAAMC;QACNQ,OAAOC,CAAAA,GAAAA,gBAAAA,kCAAkC,EACvCnB,aACAU,aACAE,iBACAE;QAEFM,SAAS;YACPC,aAAa;YACbC,eAAe;YACf,mEAAmE;YACnE,gFAAgF;YAChFC,4BAA4B;QAC9B;QACAC,mBAAmB;YACjBC,OAAO;YACPC,gBAAgB;YAChBC,cAAc;YACdC,cAAc,EAAE;QAClB;QACAb;QACAc,gBAAgB1B;QAChB2B,SAEE,AADA,AACCC,CAAAA,CAAAA,GAAAA,oBAAAA,gCAAgC,EAACrB,WADoC,KACpBN,UAAU4B,QAAO,KACnE;QACFC,iBAAiB;QACjBC,WAAW;IACb;IAEA,OAAOjB;AACT","ignoreList":[0]}}, - {"offset": {"line": 12345, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/app-link-gc.ts"],"sourcesContent":["export function linkGc() {\n // TODO-APP: Remove this logic when Float has GC built-in in development.\n if (process.env.NODE_ENV !== 'production') {\n const callback = (mutationList: MutationRecord[]) => {\n for (const mutation of mutationList) {\n if (mutation.type === 'childList') {\n for (const node of mutation.addedNodes) {\n if (\n 'tagName' in node &&\n (node as HTMLLinkElement).tagName === 'LINK'\n ) {\n const link = node as HTMLLinkElement\n if (link.dataset.precedence?.startsWith('next')) {\n const href = link.getAttribute('href')\n if (href) {\n const [resource, version] = href.split('?v=', 2)\n if (version) {\n const currentOrigin = window.location.origin\n const allLinks = [\n ...document.querySelectorAll(\n 'link[href^=\"' + resource + '\"]'\n ),\n // It's possible that the resource is a full URL or only pathname,\n // so we need to remove the alternative href as well.\n ...document.querySelectorAll(\n 'link[href^=\"' +\n (resource.startsWith(currentOrigin)\n ? resource.slice(currentOrigin.length)\n : currentOrigin + resource) +\n '\"]'\n ),\n ] as HTMLLinkElement[]\n\n for (const otherLink of allLinks) {\n if (otherLink.dataset.precedence?.startsWith('next')) {\n const otherHref = otherLink.getAttribute('href')\n if (otherHref) {\n const [, otherVersion] = otherHref.split('?v=', 2)\n if (!otherVersion || +otherVersion < +version) {\n // Delay the removal of the stylesheet to avoid FOUC\n // caused by `@font-face` rules, as they seem to be\n // a couple of ticks delayed between the old and new\n // styles being swapped even if the font is cached.\n setTimeout(() => {\n otherLink.remove()\n }, 5)\n const preloadLink = document.querySelector(\n `link[rel=\"preload\"][as=\"style\"][href=\"${otherHref}\"]`\n )\n if (preloadLink) {\n preloadLink.remove()\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n\n // Create an observer instance linked to the callback function\n const observer = new MutationObserver(callback)\n observer.observe(document.head, {\n childList: true,\n })\n }\n}\n"],"names":["linkGc","process","env","NODE_ENV","callback","mutationList","mutation","type","node","addedNodes","tagName","link","dataset","precedence","startsWith","href","getAttribute","resource","version","split","currentOrigin","window","location","origin","allLinks","document","querySelectorAll","slice","length","otherLink","otherHref","otherVersion","setTimeout","remove","preloadLink","querySelector","observer","MutationObserver","observe","head","childList"],"mappings":"AAEMC,QAAQC,GAAG,CAACC,QAAQ,KAAK;;;;;+BAFfH,UAAAA;;;eAAAA;;;AAAT,SAASA;IACd,yEAAyE;IACzE,wCAA2C;QACzC,MAAMI,WAAW,CAACC;YAChB,KAAK,MAAMC,YAAYD,aAAc;gBACnC,IAAIC,SAASC,IAAI,KAAK,aAAa;oBACjC,KAAK,MAAMC,QAAQF,SAASG,UAAU,CAAE;wBACtC,IACE,aAAaD,QACZA,KAAyBE,OAAO,KAAK,QACtC;4BACA,MAAMC,OAAOH;4BACb,IAAIG,KAAKC,OAAO,CAACC,UAAU,EAAEC,WAAW,SAAS;gCAC/C,MAAMC,OAAOJ,KAAKK,YAAY,CAAC;gCAC/B,IAAID,MAAM;oCACR,MAAM,CAACE,UAAUC,QAAQ,GAAGH,KAAKI,KAAK,CAAC,OAAO;oCAC9C,IAAID,SAAS;wCACX,MAAME,gBAAgBC,OAAOC,QAAQ,CAACC,MAAM;wCAC5C,MAAMC,WAAW;+CACZC,SAASC,gBAAgB,CAC1B,iBAAiBT,WAAW;4CAE9B,kEAAkE;4CAClE,qDAAqD;+CAClDQ,SAASC,gBAAgB,CAC1B,iBACGT,CAAAA,SAASH,UAAU,CAACM,iBACjBH,SAASU,KAAK,CAACP,cAAcQ,MAAM,IACnCR,gBAAgBH,QAAO,IAC3B;yCAEL;wCAED,KAAK,MAAMY,aAAaL,SAAU;4CAChC,IAAIK,UAAUjB,OAAO,CAACC,UAAU,EAAEC,WAAW,SAAS;gDACpD,MAAMgB,YAAYD,UAAUb,YAAY,CAAC;gDACzC,IAAIc,WAAW;oDACb,MAAM,GAAGC,aAAa,GAAGD,UAAUX,KAAK,CAAC,OAAO;oDAChD,IAAI,CAACY,gBAAgB,CAACA,eAAe,CAACb,SAAS;wDAC7C,oDAAoD;wDACpD,mDAAmD;wDACnD,oDAAoD;wDACpD,mDAAmD;wDACnDc,WAAW;4DACTH,UAAUI,MAAM;wDAClB,GAAG;wDACH,MAAMC,cAAcT,SAASU,aAAa,CACxC,CAAC,sCAAsC,EAAEL,UAAU,EAAE,CAAC;wDAExD,IAAII,aAAa;4DACfA,YAAYD,MAAM;wDACpB;oDACF;gDACF;4CACF;wCACF;oCACF;gCACF;4BACF;wBACF;oBACF;gBACF;YACF;QACF;QAEA,8DAA8D;QAC9D,MAAMG,WAAW,IAAIC,iBAAiBjC;QACtCgC,SAASE,OAAO,CAACb,SAASc,IAAI,EAAE;YAC9BC,WAAW;QACb;IACF;AACF","ignoreList":[0]}}, - {"offset": {"line": 12424, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/app-index.tsx"],"sourcesContent":["import './app-globals'\nimport ReactDOMClient from 'react-dom/client'\nimport React from 'react'\n// TODO: Explicitly import from client.browser\n// eslint-disable-next-line import/no-extraneous-dependencies\nimport {\n createFromReadableStream as createFromReadableStreamBrowser,\n createFromFetch as createFromFetchBrowser,\n} from 'react-server-dom-webpack/client'\nimport { HeadManagerContext } from '../shared/lib/head-manager-context.shared-runtime'\nimport { onRecoverableError } from './react-client-callbacks/on-recoverable-error'\nimport {\n onCaughtError,\n onUncaughtError,\n} from './react-client-callbacks/error-boundary-callbacks'\nimport { callServer } from './app-call-server'\nimport { findSourceMapURL } from './app-find-source-map-url'\nimport {\n type AppRouterActionQueue,\n createMutableActionQueue,\n} from './components/app-router-instance'\nimport AppRouter from './components/app-router'\nimport type { InitialRSCPayload } from '../shared/lib/app-router-types'\nimport { createInitialRouterState } from './components/router-reducer/create-initial-router-state'\nimport { MissingSlotContext } from '../shared/lib/app-router-context.shared-runtime'\nimport { setAppBuildId } from './app-build-id'\nimport type { StaticIndicatorState } from './dev/hot-reloader/app/hot-reloader-app'\nimport { createInitialRSCPayloadFromFallbackPrerender } from './flight-data-helpers'\n\n/// <reference types=\"react-dom/experimental\" />\n\nconst createFromReadableStream =\n createFromReadableStreamBrowser as (typeof import('react-server-dom-webpack/client.browser'))['createFromReadableStream']\nconst createFromFetch =\n createFromFetchBrowser as (typeof import('react-server-dom-webpack/client.browser'))['createFromFetch']\n\nconst appElement: HTMLElement | Document = document\n\nconst encoder = new TextEncoder()\n\nlet initialServerDataBuffer: (string | Uint8Array)[] | undefined = undefined\nlet initialServerDataWriter: ReadableStreamDefaultController | undefined =\n undefined\nlet initialServerDataLoaded = false\nlet initialServerDataFlushed = false\n\nlet initialFormStateData: null | any = null\n\ntype FlightSegment =\n | [isBootStrap: 0]\n | [isNotBootstrap: 1, responsePartial: string]\n | [isFormState: 2, formState: any]\n | [isBinary: 3, responseBase64Partial: string]\n\ntype NextFlight = Omit<Array<FlightSegment>, 'push'> & {\n push: (seg: FlightSegment) => void\n}\n\ndeclare global {\n // If you're working in a browser environment\n interface Window {\n /**\n * request ID, dev-only\n */\n __next_r?: string\n __next_f: NextFlight\n }\n}\n\nfunction nextServerDataCallback(seg: FlightSegment): void {\n if (seg[0] === 0) {\n initialServerDataBuffer = []\n } else if (seg[0] === 1) {\n if (!initialServerDataBuffer)\n throw new Error('Unexpected server data: missing bootstrap script.')\n\n if (initialServerDataWriter) {\n initialServerDataWriter.enqueue(encoder.encode(seg[1]))\n } else {\n initialServerDataBuffer.push(seg[1])\n }\n } else if (seg[0] === 2) {\n initialFormStateData = seg[1]\n } else if (seg[0] === 3) {\n if (!initialServerDataBuffer)\n throw new Error('Unexpected server data: missing bootstrap script.')\n\n // Decode the base64 string back to binary data.\n const binaryString = atob(seg[1])\n const decodedChunk = new Uint8Array(binaryString.length)\n for (var i = 0; i < binaryString.length; i++) {\n decodedChunk[i] = binaryString.charCodeAt(i)\n }\n\n if (initialServerDataWriter) {\n initialServerDataWriter.enqueue(decodedChunk)\n } else {\n initialServerDataBuffer.push(decodedChunk)\n }\n }\n}\n\nfunction isStreamErrorOrUnfinished(ctr: ReadableStreamDefaultController) {\n // If `desiredSize` is null, it means the stream is closed or errored. If it is lower than 0, the stream is still unfinished.\n return ctr.desiredSize === null || ctr.desiredSize < 0\n}\n\n// There might be race conditions between `nextServerDataRegisterWriter` and\n// `DOMContentLoaded`. The former will be called when React starts to hydrate\n// the root, the latter will be called when the DOM is fully loaded.\n// For streaming, the former is called first due to partial hydration.\n// For non-streaming, the latter can be called first.\n// Hence, we use two variables `initialServerDataLoaded` and\n// `initialServerDataFlushed` to make sure the writer will be closed and\n// `initialServerDataBuffer` will be cleared in the right time.\nfunction nextServerDataRegisterWriter(ctr: ReadableStreamDefaultController) {\n if (initialServerDataBuffer) {\n initialServerDataBuffer.forEach((val) => {\n ctr.enqueue(typeof val === 'string' ? encoder.encode(val) : val)\n })\n if (initialServerDataLoaded && !initialServerDataFlushed) {\n if (isStreamErrorOrUnfinished(ctr)) {\n ctr.error(\n new Error(\n 'The connection to the page was unexpectedly closed, possibly due to the stop button being clicked, loss of Wi-Fi, or an unstable internet connection.'\n )\n )\n } else {\n ctr.close()\n }\n initialServerDataFlushed = true\n initialServerDataBuffer = undefined\n }\n }\n\n initialServerDataWriter = ctr\n}\n\n// When `DOMContentLoaded`, we can close all pending writers to finish hydration.\nconst DOMContentLoaded = function () {\n if (initialServerDataWriter && !initialServerDataFlushed) {\n initialServerDataWriter.close()\n initialServerDataFlushed = true\n initialServerDataBuffer = undefined\n }\n initialServerDataLoaded = true\n}\n\n// It's possible that the DOM is already loaded.\nif (document.readyState === 'loading') {\n document.addEventListener('DOMContentLoaded', DOMContentLoaded, false)\n} else {\n // Delayed in marco task to ensure it's executed later than hydration\n setTimeout(DOMContentLoaded)\n}\n\nconst nextServerDataLoadingGlobal = (self.__next_f = self.__next_f || [])\n\n// Consume all buffered chunks and clear the global data array right after to release memory.\n// Otherwise it will be retained indefinitely.\nnextServerDataLoadingGlobal.forEach(nextServerDataCallback)\nnextServerDataLoadingGlobal.length = 0\n\n// Patch its push method so subsequent chunks are handled (but not actually pushed to the array).\nnextServerDataLoadingGlobal.push = nextServerDataCallback\n\nconst readable = new ReadableStream({\n start(controller) {\n nextServerDataRegisterWriter(controller)\n },\n})\nif (process.env.NODE_ENV !== 'production') {\n // @ts-expect-error\n readable.name = 'hydration'\n}\n\nlet debugChannel:\n | { readable?: ReadableStream; writable?: WritableStream }\n | undefined\n\nif (\n process.env.NODE_ENV !== 'production' &&\n process.env.__NEXT_REACT_DEBUG_CHANNEL &&\n typeof window !== 'undefined'\n) {\n const { createDebugChannel } =\n require('./dev/debug-channel') as typeof import('./dev/debug-channel')\n\n debugChannel = createDebugChannel(undefined)\n}\n\nconst clientResumeFetch: Promise<Response> | undefined =\n // @ts-expect-error\n window.__NEXT_CLIENT_RESUME\n\nlet initialServerResponse: Promise<InitialRSCPayload>\nif (clientResumeFetch) {\n initialServerResponse = Promise.resolve(\n createFromFetch<InitialRSCPayload>(clientResumeFetch, {\n callServer,\n findSourceMapURL,\n debugChannel,\n })\n ).then(async (fallbackInitialRSCPayload) =>\n createInitialRSCPayloadFromFallbackPrerender(\n await clientResumeFetch,\n fallbackInitialRSCPayload\n )\n )\n} else {\n initialServerResponse = createFromReadableStream<InitialRSCPayload>(\n readable,\n {\n callServer,\n findSourceMapURL,\n debugChannel,\n startTime: 0,\n }\n )\n}\n\nfunction ServerRoot({\n initialRSCPayload,\n actionQueue,\n webSocket,\n staticIndicatorState,\n}: {\n initialRSCPayload: InitialRSCPayload\n actionQueue: AppRouterActionQueue\n webSocket: WebSocket | undefined\n staticIndicatorState: StaticIndicatorState | undefined\n}): React.ReactNode {\n const router = (\n <AppRouter\n actionQueue={actionQueue}\n globalErrorState={initialRSCPayload.G}\n webSocket={webSocket}\n staticIndicatorState={staticIndicatorState}\n />\n )\n\n if (process.env.NODE_ENV === 'development' && initialRSCPayload.m) {\n // We provide missing slot information in a context provider only during development\n // as we log some additional information about the missing slots in the console.\n return (\n <MissingSlotContext value={initialRSCPayload.m}>\n {router}\n </MissingSlotContext>\n )\n }\n\n return router\n}\n\nconst StrictModeIfEnabled = process.env.__NEXT_STRICT_MODE_APP\n ? React.StrictMode\n : React.Fragment\n\nfunction Root({ children }: React.PropsWithChildren<{}>) {\n if (process.env.__NEXT_TEST_MODE) {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useEffect(() => {\n window.__NEXT_HYDRATED = true\n window.__NEXT_HYDRATED_AT = performance.now()\n window.__NEXT_HYDRATED_CB?.()\n }, [])\n }\n\n return children\n}\n\nconst enableTransitionIndicator = process.env.__NEXT_TRANSITION_INDICATOR\n\nfunction noDefaultTransitionIndicator() {\n return () => {}\n}\n\nconst reactRootOptions: ReactDOMClient.RootOptions = {\n onDefaultTransitionIndicator: enableTransitionIndicator\n ? // TODO: Compose default with user-configureable (e.g. nprogress)\n undefined\n : noDefaultTransitionIndicator,\n onRecoverableError,\n onCaughtError,\n onUncaughtError,\n}\n\nexport type ClientInstrumentationHooks = {\n onRouterTransitionStart?: (\n url: string,\n navigationType: 'push' | 'replace' | 'traverse'\n ) => void\n}\n\nexport async function hydrate(\n instrumentationHooks: ClientInstrumentationHooks | null,\n assetPrefix: string\n) {\n let staticIndicatorState: StaticIndicatorState | undefined\n let webSocket: WebSocket | undefined\n\n if (process.env.NODE_ENV !== 'production') {\n const { createWebSocket } =\n require('./dev/hot-reloader/app/web-socket') as typeof import('./dev/hot-reloader/app/web-socket')\n\n staticIndicatorState = { pathname: null, appIsrManifest: null }\n webSocket = createWebSocket(assetPrefix, staticIndicatorState)\n }\n const initialRSCPayload = await initialServerResponse\n // setAppBuildId should be called only once, during JS initialization\n // and before any components have hydrated.\n setAppBuildId(initialRSCPayload.b)\n\n const initialTimestamp = Date.now()\n const actionQueue: AppRouterActionQueue = createMutableActionQueue(\n createInitialRouterState({\n navigatedAt: initialTimestamp,\n initialFlightData: initialRSCPayload.f,\n initialCanonicalUrlParts: initialRSCPayload.c,\n initialRenderedSearch: initialRSCPayload.q,\n location: window.location,\n }),\n instrumentationHooks\n )\n\n const reactEl = (\n <StrictModeIfEnabled>\n <HeadManagerContext.Provider value={{ appDir: true }}>\n <Root>\n <ServerRoot\n initialRSCPayload={initialRSCPayload}\n actionQueue={actionQueue}\n webSocket={webSocket}\n staticIndicatorState={staticIndicatorState}\n />\n </Root>\n </HeadManagerContext.Provider>\n </StrictModeIfEnabled>\n )\n\n if (document.documentElement.id === '__next_error__') {\n let element = reactEl\n // Server rendering failed, fall back to client-side rendering\n if (process.env.NODE_ENV !== 'production') {\n const { RootLevelDevOverlayElement } =\n require('../next-devtools/userspace/app/client-entry') as typeof import('../next-devtools/userspace/app/client-entry')\n\n // Note this won't cause hydration mismatch because we are doing CSR w/o hydration\n element = (\n <RootLevelDevOverlayElement>{element}</RootLevelDevOverlayElement>\n )\n }\n\n ReactDOMClient.createRoot(appElement, reactRootOptions).render(element)\n } else {\n React.startTransition(() => {\n ReactDOMClient.hydrateRoot(appElement, reactEl, {\n ...reactRootOptions,\n formState: initialFormStateData,\n })\n })\n }\n\n // TODO-APP: Remove this logic when Float has GC built-in in development.\n if (process.env.NODE_ENV !== 'production') {\n const { linkGc } =\n require('./app-link-gc') as typeof import('./app-link-gc')\n linkGc()\n }\n}\n"],"names":["hydrate","createFromReadableStream","createFromReadableStreamBrowser","createFromFetch","createFromFetchBrowser","appElement","document","encoder","TextEncoder","initialServerDataBuffer","undefined","initialServerDataWriter","initialServerDataLoaded","initialServerDataFlushed","initialFormStateData","nextServerDataCallback","seg","Error","enqueue","encode","push","binaryString","atob","decodedChunk","Uint8Array","length","i","charCodeAt","isStreamErrorOrUnfinished","ctr","desiredSize","nextServerDataRegisterWriter","forEach","val","error","close","DOMContentLoaded","readyState","addEventListener","setTimeout","nextServerDataLoadingGlobal","self","__next_f","readable","ReadableStream","start","controller","process","env","NODE_ENV","name","debugChannel","__NEXT_REACT_DEBUG_CHANNEL","window","createDebugChannel","require","clientResumeFetch","__NEXT_CLIENT_RESUME","initialServerResponse","Promise","resolve","callServer","findSourceMapURL","then","fallbackInitialRSCPayload","createInitialRSCPayloadFromFallbackPrerender","startTime","ServerRoot","initialRSCPayload","actionQueue","webSocket","staticIndicatorState","router","AppRouter","globalErrorState","G","m","MissingSlotContext","value","StrictModeIfEnabled","__NEXT_STRICT_MODE_APP","React","StrictMode","Fragment","Root","children","__NEXT_TEST_MODE","useEffect","__NEXT_HYDRATED","__NEXT_HYDRATED_AT","performance","now","__NEXT_HYDRATED_CB","enableTransitionIndicator","__NEXT_TRANSITION_INDICATOR","noDefaultTransitionIndicator","reactRootOptions","onDefaultTransitionIndicator","onRecoverableError","onCaughtError","onUncaughtError","instrumentationHooks","assetPrefix","createWebSocket","pathname","appIsrManifest","setAppBuildId","b","initialTimestamp","Date","createMutableActionQueue","createInitialRouterState","navigatedAt","initialFlightData","f","initialCanonicalUrlParts","c","initialRenderedSearch","q","location","reactEl","HeadManagerContext","Provider","appDir","documentElement","id","element","RootLevelDevOverlayElement","ReactDOMClient","createRoot","render","startTransition","hydrateRoot","formState","linkGc"],"mappings":"AA2KI+C,QAAQC,GAAG,CAACC,QAAQ,KAAK;;;;;+BA2HPjD,WAAAA;;;eAAAA;;;;;;iEArSK;gEACT;yBAMX;iDAC4B;oCACA;wCAI5B;+BACoB;qCACM;mCAI1B;oEACe;0CAEmB;+CACN;4BACL;mCAE+B;AAE7D,gDAAgD;AAEhD,MAAMC,2BACJC,SAAAA,wBAA+B;AACjC,MAAMC,kBACJC,SAAAA,eAAsB;AAExB,MA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AA,EAACvC,MAAAA;0BACC,WAAA,GAAA,CAAA,GAAA,YAAA,GAAA,EAACjB,YAAAA;oBACCC,mBAAmBA;oBACnBC,aAAaA;oBACbC,WAAWA;oBACXC,sBAAsBA;;;;;IAOhC,IAAIjE,SAASsH,eAAe,CAACC,EAAE,KAAK,kBAAkB;QACpD,IAAIC,UAAUN;QACd,8DAA8D;QAC9D,IAAIzE,QAAQC,GAAG,CAACC,QAAQ,KAAK,WAAc;YACzC,MAAM,EAAE8E,0BAA0B,EAAE,GAClCxE,QAAQ;YAEV,kFAAkF;YAClFuE,UAAAA,WAAAA,GACE,CAAA,GAAA,YAAA,GAAA,EAACC,4BAAAA;0BAA4BD;;QAEjC;QAEAE,QAAAA,OAAc,CAACC,UAAU,CAAC5H,YAAY2F,kBAAkBkC,MAAM,CAACJ;IACjE,OAAO;QACL7C,OAAAA,OAAK,CAACkD,eAAe,CAAC;YACpBH,QAAAA,OAAc,CAACI,WAAW,CAAC/H,YAAYmH,SAAS;gBAC9C,GAAGxB,gBAAgB;gBACnBqC,WAAWvH;YACb;QACF;IACF;IAEA,yEAAyE;IACzE,IAAIiC,QAAQC,GAAG,CAACC,QAAQ,KAAK,WAAc;QACzC,MAAM,EAAEqF,MAAM,EAAE,GACd/E,QAAQ;QACV+E;IACF;AACF","ignoreList":[0]}}, - {"offset": {"line": 12688, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/client/app-next-turbopack.ts"],"sourcesContent":["import { appBootstrap } from './app-bootstrap'\nimport { isRecoverableError } from './react-client-callbacks/on-recoverable-error'\n\nwindow.next.turbopack = true\n;(self as any).__webpack_hash__ = ''\n\n// eslint-disable-next-line @next/internal/typechecked-require\nconst instrumentationHooks = require('../lib/require-instrumentation-client')\n\nappBootstrap((assetPrefix) => {\n const { hydrate } = require('./app-index') as typeof import('./app-index')\n try {\n hydrate(instrumentationHooks, assetPrefix)\n } finally {\n if (process.env.NODE_ENV !== 'production') {\n const enableCacheIndicator = process.env.__NEXT_CACHE_COMPONENTS\n const { getOwnerStack } =\n require('../next-devtools/userspace/app/errors/stitched-error') as typeof import('../next-devtools/userspace/app/errors/stitched-error')\n const { renderAppDevOverlay } =\n require('next/dist/compiled/next-devtools') as typeof import('next/dist/compiled/next-devtools')\n renderAppDevOverlay(\n getOwnerStack,\n isRecoverableError,\n enableCacheIndicator\n )\n }\n }\n})\n"],"names":["window","next","turbopack","self","__webpack_hash__","instrumentationHooks","require","appBootstrap","assetPrefix","hydrate","process","env","NODE_ENV","enableCacheIndicator","__NEXT_CACHE_COMPONENTS","getOwnerStack","renderAppDevOverlay","isRecoverableError"],"mappings":"AAcQU,QAAQC,GAAG,CAACC,QAAQ,KAAK;;;;;8BAdJ;oCACM;AAEnCZ,OAAOC,IAAI,CAACC,SAAS,GAAG;AACtBC,KAAaC,gBAAgB,GAAG;AAElC,8DAA8D;AAC9D,MAAMC,uBAAuBC,QAAQ;AAErCC,CAAAA,GAAAA,cAAAA,YAAY,EAAC,CAACC;IACZ,MAAM,EAAEC,OAAO,EAAE,GAAGH,QAAQ;IAC5B,IAAI;QACFG,QAAQJ,sBAAsBG;IAChC,SAAU;QACR,wCAA2C;YACzC,MAAMK,uBAAuBH,QAAQC,GAAG,CAACG,uBAAuB;YAChE,MAAM,EAAEC,aAAa,EAAE,GACrBT,QAAQ;YACV,MAAM,EAAEU,mBAAmB,EAAE,GAC3BV,QAAQ;YACVU,oBACED,eACAE,oBAAAA,kBAAkB,EAClBJ;QAEJ;IACF;AACF","ignoreList":[0]}}] -} \ No newline at end of file diff --git a/.next/dev/static/chunks/node_modules_next_dist_client_components_builtin_global-error_1cf6b850.js b/.next/dev/static/chunks/node_modules_next_dist_client_components_builtin_global-error_1cf6b850.js deleted file mode 100644 index 368e25f..0000000 --- a/.next/dev/static/chunks/node_modules_next_dist_client_components_builtin_global-error_1cf6b850.js +++ /dev/null @@ -1,7 +0,0 @@ -(globalThis.TURBOPACK_CHUNK_LISTS || (globalThis.TURBOPACK_CHUNK_LISTS = [])).push({ - script: typeof document === "object" ? document.currentScript : undefined, - chunks: [ - "static/chunks/node_modules_next_dist_be32b49c._.js" -], - source: "dynamic" -}); diff --git a/.next/dev/static/chunks/node_modules_next_dist_compiled_a0e4c7b4._.js b/.next/dev/static/chunks/node_modules_next_dist_compiled_a0e4c7b4._.js deleted file mode 100644 index 79c1413..0000000 --- a/.next/dev/static/chunks/node_modules_next_dist_compiled_a0e4c7b4._.js +++ /dev/null @@ -1,2916 +0,0 @@ -(globalThis.TURBOPACK || (globalThis.TURBOPACK = [])).push([typeof document === "object" ? document.currentScript : undefined, -"[project]/node_modules/next/dist/compiled/process/browser.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { - -(function() { - var e = { - 229: function(e) { - var t = e.exports = {}; - var r; - var n; - function defaultSetTimout() { - throw new Error("setTimeout has not been defined"); - } - function defaultClearTimeout() { - throw new Error("clearTimeout has not been defined"); - } - (function() { - try { - if (typeof setTimeout === "function") { - r = setTimeout; - } else { - r = defaultSetTimout; - } - } catch (e) { - r = defaultSetTimout; - } - try { - if (typeof clearTimeout === "function") { - n = clearTimeout; - } else { - n = defaultClearTimeout; - } - } catch (e) { - n = defaultClearTimeout; - } - })(); - function runTimeout(e) { - if (r === setTimeout) { - return setTimeout(e, 0); - } - if ((r === defaultSetTimout || !r) && setTimeout) { - r = setTimeout; - return setTimeout(e, 0); - } - try { - return r(e, 0); - } catch (t) { - try { - return r.call(null, e, 0); - } catch (t) { - return r.call(this, e, 0); - } - } - } - function runClearTimeout(e) { - if (n === clearTimeout) { - return clearTimeout(e); - } - if ((n === defaultClearTimeout || !n) && clearTimeout) { - n = clearTimeout; - return clearTimeout(e); - } - try { - return n(e); - } catch (t) { - try { - return n.call(null, e); - } catch (t) { - return n.call(this, e); - } - } - } - var i = []; - var o = false; - var u; - var a = -1; - function cleanUpNextTick() { - if (!o || !u) { - return; - } - o = false; - if (u.length) { - i = u.concat(i); - } else { - a = -1; - } - if (i.length) { - drainQueue(); - } - } - function drainQueue() { - if (o) { - return; - } - var e = runTimeout(cleanUpNextTick); - o = true; - var t = i.length; - while(t){ - u = i; - i = []; - while(++a < t){ - if (u) { - u[a].run(); - } - } - a = -1; - t = i.length; - } - u = null; - o = false; - runClearTimeout(e); - } - t.nextTick = function(e) { - var t = new Array(arguments.length - 1); - if (arguments.length > 1) { - for(var r = 1; r < arguments.length; r++){ - t[r - 1] = arguments[r]; - } - } - i.push(new Item(e, t)); - if (i.length === 1 && !o) { - runTimeout(drainQueue); - } - }; - function Item(e, t) { - this.fun = e; - this.array = t; - } - Item.prototype.run = function() { - this.fun.apply(null, this.array); - }; - t.title = "browser"; - t.browser = true; - t.env = {}; - t.argv = []; - t.version = ""; - t.versions = {}; - function noop() {} - t.on = noop; - t.addListener = noop; - t.once = noop; - t.off = noop; - t.removeListener = noop; - t.removeAllListeners = noop; - t.emit = noop; - t.prependListener = noop; - t.prependOnceListener = noop; - t.listeners = function(e) { - return []; - }; - t.binding = function(e) { - throw new Error("process.binding is not supported"); - }; - t.cwd = function() { - return "/"; - }; - t.chdir = function(e) { - throw new Error("process.chdir is not supported"); - }; - t.umask = function() { - return 0; - }; - } - }; - var t = {}; - function __nccwpck_require__(r) { - var n = t[r]; - if (n !== undefined) { - return n.exports; - } - var i = t[r] = { - exports: {} - }; - var o = true; - try { - e[r](i, i.exports, __nccwpck_require__); - o = false; - } finally{ - if (o) delete t[r]; - } - return i.exports; - } - if (typeof __nccwpck_require__ !== "undefined") __nccwpck_require__.ab = ("TURBOPACK compile-time value", "/ROOT/node_modules/next/dist/compiled/process") + "/"; - var r = __nccwpck_require__(229); - module.exports = r; -})(); -}), -"[project]/node_modules/next/dist/compiled/react-refresh/cjs/react-refresh-runtime.development.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -/** - * @license React - * react-refresh-runtime.development.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ 'use strict'; -if ("TURBOPACK compile-time truthy", 1) { - (function() { - 'use strict'; - // ATTENTION - var REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref'); - var REACT_MEMO_TYPE = Symbol.for('react.memo'); - var PossiblyWeakMap = typeof WeakMap === 'function' ? WeakMap : Map; // We never remove these associations. - // It's OK to reference families, but use WeakMap/Set for types. - var allFamiliesByID = new Map(); - var allFamiliesByType = new PossiblyWeakMap(); - var allSignaturesByType = new PossiblyWeakMap(); // This WeakMap is read by React, so we only put families - // that have actually been edited here. This keeps checks fast. - // $FlowIssue - var updatedFamiliesByType = new PossiblyWeakMap(); // This is cleared on every performReactRefresh() call. - // It is an array of [Family, NextType] tuples. - var pendingUpdates = []; // This is injected by the renderer via DevTools global hook. - var helpersByRendererID = new Map(); - var helpersByRoot = new Map(); // We keep track of mounted roots so we can schedule updates. - var mountedRoots = new Set(); // If a root captures an error, we remember it so we can retry on edit. - var failedRoots = new Set(); // In environments that support WeakMap, we also remember the last element for every root. - // It needs to be weak because we do this even for roots that failed to mount. - // If there is no WeakMap, we won't attempt to do retrying. - // $FlowIssue - var rootElements = typeof WeakMap === 'function' ? new WeakMap() : null; - var isPerformingRefresh = false; - function computeFullKey(signature) { - if (signature.fullKey !== null) { - return signature.fullKey; - } - var fullKey = signature.ownKey; - var hooks; - try { - hooks = signature.getCustomHooks(); - } catch (err) { - // This can happen in an edge case, e.g. if expression like Foo.useSomething - // depends on Foo which is lazily initialized during rendering. - // In that case just assume we'll have to remount. - signature.forceReset = true; - signature.fullKey = fullKey; - return fullKey; - } - for(var i = 0; i < hooks.length; i++){ - var hook = hooks[i]; - if (typeof hook !== 'function') { - // Something's wrong. Assume we need to remount. - signature.forceReset = true; - signature.fullKey = fullKey; - return fullKey; - } - var nestedHookSignature = allSignaturesByType.get(hook); - if (nestedHookSignature === undefined) { - continue; - } - var nestedHookKey = computeFullKey(nestedHookSignature); - if (nestedHookSignature.forceReset) { - signature.forceReset = true; - } - fullKey += '\n---\n' + nestedHookKey; - } - signature.fullKey = fullKey; - return fullKey; - } - function haveEqualSignatures(prevType, nextType) { - var prevSignature = allSignaturesByType.get(prevType); - var nextSignature = allSignaturesByType.get(nextType); - if (prevSignature === undefined && nextSignature === undefined) { - return true; - } - if (prevSignature === undefined || nextSignature === undefined) { - return false; - } - if (computeFullKey(prevSignature) !== computeFullKey(nextSignature)) { - return false; - } - if (nextSignature.forceReset) { - return false; - } - return true; - } - function isReactClass(type) { - return type.prototype && type.prototype.isReactComponent; - } - function canPreserveStateBetween(prevType, nextType) { - if (isReactClass(prevType) || isReactClass(nextType)) { - return false; - } - if (haveEqualSignatures(prevType, nextType)) { - return true; - } - return false; - } - function resolveFamily(type) { - // Only check updated types to keep lookups fast. - return updatedFamiliesByType.get(type); - } // If we didn't care about IE11, we could use new Map/Set(iterable). - function cloneMap(map) { - var clone = new Map(); - map.forEach(function(value, key) { - clone.set(key, value); - }); - return clone; - } - function cloneSet(set) { - var clone = new Set(); - set.forEach(function(value) { - clone.add(value); - }); - return clone; - } // This is a safety mechanism to protect against rogue getters and Proxies. - function getProperty(object, property) { - try { - return object[property]; - } catch (err) { - // Intentionally ignore. - return undefined; - } - } - function performReactRefresh() { - if (pendingUpdates.length === 0) { - return null; - } - if (isPerformingRefresh) { - return null; - } - isPerformingRefresh = true; - try { - var staleFamilies = new Set(); - var updatedFamilies = new Set(); - var updates = pendingUpdates; - pendingUpdates = []; - updates.forEach(function(_ref) { - var family = _ref[0], nextType = _ref[1]; - // Now that we got a real edit, we can create associations - // that will be read by the React reconciler. - var prevType = family.current; - updatedFamiliesByType.set(prevType, family); - updatedFamiliesByType.set(nextType, family); - family.current = nextType; // Determine whether this should be a re-render or a re-mount. - if (canPreserveStateBetween(prevType, nextType)) { - updatedFamilies.add(family); - } else { - staleFamilies.add(family); - } - }); // TODO: rename these fields to something more meaningful. - var update = { - updatedFamilies: updatedFamilies, - // Families that will re-render preserving state - staleFamilies: staleFamilies // Families that will be remounted - }; - helpersByRendererID.forEach(function(helpers) { - // Even if there are no roots, set the handler on first update. - // This ensures that if *new* roots are mounted, they'll use the resolve handler. - helpers.setRefreshHandler(resolveFamily); - }); - var didError = false; - var firstError = null; // We snapshot maps and sets that are mutated during commits. - // If we don't do this, there is a risk they will be mutated while - // we iterate over them. For example, trying to recover a failed root - // may cause another root to be added to the failed list -- an infinite loop. - var failedRootsSnapshot = cloneSet(failedRoots); - var mountedRootsSnapshot = cloneSet(mountedRoots); - var helpersByRootSnapshot = cloneMap(helpersByRoot); - failedRootsSnapshot.forEach(function(root) { - var helpers = helpersByRootSnapshot.get(root); - if (helpers === undefined) { - throw new Error('Could not find helpers for a root. This is a bug in React Refresh.'); - } - if (!failedRoots.has(root)) {} - if (rootElements === null) { - return; - } - if (!rootElements.has(root)) { - return; - } - var element = rootElements.get(root); - try { - helpers.scheduleRoot(root, element); - } catch (err) { - if (!didError) { - didError = true; - firstError = err; - } // Keep trying other roots. - } - }); - mountedRootsSnapshot.forEach(function(root) { - var helpers = helpersByRootSnapshot.get(root); - if (helpers === undefined) { - throw new Error('Could not find helpers for a root. This is a bug in React Refresh.'); - } - if (!mountedRoots.has(root)) {} - try { - helpers.scheduleRefresh(root, update); - } catch (err) { - if (!didError) { - didError = true; - firstError = err; - } // Keep trying other roots. - } - }); - if (didError) { - throw firstError; - } - return update; - } finally{ - isPerformingRefresh = false; - } - } - function register(type, id) { - { - if (type === null) { - return; - } - if (typeof type !== 'function' && typeof type !== 'object') { - return; - } // This can happen in an edge case, e.g. if we register - // return value of a HOC but it returns a cached component. - // Ignore anything but the first registration for each type. - if (allFamiliesByType.has(type)) { - return; - } // Create family or remember to update it. - // None of this bookkeeping affects reconciliation - // until the first performReactRefresh() call above. - var family = allFamiliesByID.get(id); - if (family === undefined) { - family = { - current: type - }; - allFamiliesByID.set(id, family); - } else { - pendingUpdates.push([ - family, - type - ]); - } - allFamiliesByType.set(type, family); // Visit inner types because we might not have registered them. - if (typeof type === 'object' && type !== null) { - switch(getProperty(type, '$$typeof')){ - case REACT_FORWARD_REF_TYPE: - register(type.render, id + '$render'); - break; - case REACT_MEMO_TYPE: - register(type.type, id + '$type'); - break; - } - } - } - } - function setSignature(type, key) { - var forceReset = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; - var getCustomHooks = arguments.length > 3 ? arguments[3] : undefined; - { - if (!allSignaturesByType.has(type)) { - allSignaturesByType.set(type, { - forceReset: forceReset, - ownKey: key, - fullKey: null, - getCustomHooks: getCustomHooks || function() { - return []; - } - }); - } // Visit inner types because we might not have signed them. - if (typeof type === 'object' && type !== null) { - switch(getProperty(type, '$$typeof')){ - case REACT_FORWARD_REF_TYPE: - setSignature(type.render, key, forceReset, getCustomHooks); - break; - case REACT_MEMO_TYPE: - setSignature(type.type, key, forceReset, getCustomHooks); - break; - } - } - } - } // This is lazily called during first render for a type. - // It captures Hook list at that time so inline requires don't break comparisons. - function collectCustomHooksForSignature(type) { - { - var signature = allSignaturesByType.get(type); - if (signature !== undefined) { - computeFullKey(signature); - } - } - } - function getFamilyByID(id) { - { - return allFamiliesByID.get(id); - } - } - function getFamilyByType(type) { - { - return allFamiliesByType.get(type); - } - } - function findAffectedHostInstances(families) { - { - var affectedInstances = new Set(); - mountedRoots.forEach(function(root) { - var helpers = helpersByRoot.get(root); - if (helpers === undefined) { - throw new Error('Could not find helpers for a root. This is a bug in React Refresh.'); - } - var instancesForRoot = helpers.findHostInstancesForRefresh(root, families); - instancesForRoot.forEach(function(inst) { - affectedInstances.add(inst); - }); - }); - return affectedInstances; - } - } - function injectIntoGlobalHook(globalObject) { - { - // For React Native, the global hook will be set up by require('react-devtools-core'). - // That code will run before us. So we need to monkeypatch functions on existing hook. - // For React Web, the global hook will be set up by the extension. - // This will also run before us. - var hook = globalObject.__REACT_DEVTOOLS_GLOBAL_HOOK__; - if (hook === undefined) { - // However, if there is no DevTools extension, we'll need to set up the global hook ourselves. - // Note that in this case it's important that renderer code runs *after* this method call. - // Otherwise, the renderer will think that there is no global hook, and won't do the injection. - var nextID = 0; - globalObject.__REACT_DEVTOOLS_GLOBAL_HOOK__ = hook = { - renderers: new Map(), - supportsFiber: true, - inject: function(injected) { - return nextID++; - }, - onScheduleFiberRoot: function(id, root, children) {}, - onCommitFiberRoot: function(id, root, maybePriorityLevel, didError) {}, - onCommitFiberUnmount: function() {} - }; - } - if (hook.isDisabled) { - // This isn't a real property on the hook, but it can be set to opt out - // of DevTools integration and associated warnings and logs. - // Using console['warn'] to evade Babel and ESLint - console['warn']('Something has shimmed the React DevTools global hook (__REACT_DEVTOOLS_GLOBAL_HOOK__). ' + 'Fast Refresh is not compatible with this shim and will be disabled.'); - return; - } // Here, we just want to get a reference to scheduleRefresh. - var oldInject = hook.inject; - hook.inject = function(injected) { - var id = oldInject.apply(this, arguments); - if (typeof injected.scheduleRefresh === 'function' && typeof injected.setRefreshHandler === 'function') { - // This version supports React Refresh. - helpersByRendererID.set(id, injected); - } - return id; - }; // Do the same for any already injected roots. - // This is useful if ReactDOM has already been initialized. - // https://github.com/facebook/react/issues/17626 - hook.renderers.forEach(function(injected, id) { - if (typeof injected.scheduleRefresh === 'function' && typeof injected.setRefreshHandler === 'function') { - // This version supports React Refresh. - helpersByRendererID.set(id, injected); - } - }); // We also want to track currently mounted roots. - var oldOnCommitFiberRoot = hook.onCommitFiberRoot; - var oldOnScheduleFiberRoot = hook.onScheduleFiberRoot || function() {}; - hook.onScheduleFiberRoot = function(id, root, children) { - if (!isPerformingRefresh) { - // If it was intentionally scheduled, don't attempt to restore. - // This includes intentionally scheduled unmounts. - failedRoots.delete(root); - if (rootElements !== null) { - rootElements.set(root, children); - } - } - return oldOnScheduleFiberRoot.apply(this, arguments); - }; - hook.onCommitFiberRoot = function(id, root, maybePriorityLevel, didError) { - var helpers = helpersByRendererID.get(id); - if (helpers !== undefined) { - helpersByRoot.set(root, helpers); - var current = root.current; - var alternate = current.alternate; // We need to determine whether this root has just (un)mounted. - // This logic is copy-pasted from similar logic in the DevTools backend. - // If this breaks with some refactoring, you'll want to update DevTools too. - if (alternate !== null) { - var wasMounted = alternate.memoizedState != null && alternate.memoizedState.element != null && mountedRoots.has(root); - var isMounted = current.memoizedState != null && current.memoizedState.element != null; - if (!wasMounted && isMounted) { - // Mount a new root. - mountedRoots.add(root); - failedRoots.delete(root); - } else if (wasMounted && isMounted) ; - else if (wasMounted && !isMounted) { - // Unmount an existing root. - mountedRoots.delete(root); - if (didError) { - // We'll remount it on future edits. - failedRoots.add(root); - } else { - helpersByRoot.delete(root); - } - } else if (!wasMounted && !isMounted) { - if (didError) { - // We'll remount it on future edits. - failedRoots.add(root); - } - } - } else { - // Mount a new root. - mountedRoots.add(root); - } - } // Always call the decorated DevTools hook. - return oldOnCommitFiberRoot.apply(this, arguments); - }; - } - } - function hasUnrecoverableErrors() { - // TODO: delete this after removing dependency in RN. - return false; - } // Exposed for testing. - function _getMountedRootCount() { - { - return mountedRoots.size; - } - } // This is a wrapper over more primitive functions for setting signature. - // Signatures let us decide whether the Hook order has changed on refresh. - // - // This function is intended to be used as a transform target, e.g.: - // var _s = createSignatureFunctionForTransform() - // - // function Hello() { - // const [foo, setFoo] = useState(0); - // const value = useCustomHook(); - // _s(); /* Call without arguments triggers collecting the custom Hook list. - // * This doesn't happen during the module evaluation because we - // * don't want to change the module order with inline requires. - // * Next calls are noops. */ - // return <h1>Hi</h1>; - // } - // - // /* Call with arguments attaches the signature to the type: */ - // _s( - // Hello, - // 'useState{[foo, setFoo]}(0)', - // () => [useCustomHook], /* Lazy to avoid triggering inline requires */ - // ); - function createSignatureFunctionForTransform() { - { - var savedType; - var hasCustomHooks; - var didCollectHooks = false; - return function(type, key, forceReset, getCustomHooks) { - if (typeof key === 'string') { - // We're in the initial phase that associates signatures - // with the functions. Note this may be called multiple times - // in HOC chains like _s(hoc1(_s(hoc2(_s(actualFunction))))). - if (!savedType) { - // We're in the innermost call, so this is the actual type. - savedType = type; - hasCustomHooks = typeof getCustomHooks === 'function'; - } // Set the signature for all types (even wrappers!) in case - // they have no signatures of their own. This is to prevent - // problems like https://github.com/facebook/react/issues/20417. - if (type != null && (typeof type === 'function' || typeof type === 'object')) { - setSignature(type, key, forceReset, getCustomHooks); - } - return type; - } else { - // We're in the _s() call without arguments, which means - // this is the time to collect custom Hook signatures. - // Only do this once. This path is hot and runs *inside* every render! - if (!didCollectHooks && hasCustomHooks) { - didCollectHooks = true; - collectCustomHooksForSignature(savedType); - } - } - }; - } - } - function isLikelyComponentType(type) { - { - switch(typeof type){ - case 'function': - { - // First, deal with classes. - if (type.prototype != null) { - if (type.prototype.isReactComponent) { - // React class. - return true; - } - var ownNames = Object.getOwnPropertyNames(type.prototype); - if (ownNames.length > 1 || ownNames[0] !== 'constructor') { - // This looks like a class. - return false; - } // eslint-disable-next-line no-proto - if (type.prototype.__proto__ !== Object.prototype) { - // It has a superclass. - return false; - } // Pass through. - // This looks like a regular function with empty prototype. - } // For plain functions and arrows, use name as a heuristic. - var name = type.name || type.displayName; - return typeof name === 'string' && /^[A-Z]/.test(name); - } - case 'object': - { - if (type != null) { - switch(getProperty(type, '$$typeof')){ - case REACT_FORWARD_REF_TYPE: - case REACT_MEMO_TYPE: - // Definitely React components. - return true; - default: - return false; - } - } - return false; - } - default: - { - return false; - } - } - } - } - exports._getMountedRootCount = _getMountedRootCount; - exports.collectCustomHooksForSignature = collectCustomHooksForSignature; - exports.createSignatureFunctionForTransform = createSignatureFunctionForTransform; - exports.findAffectedHostInstances = findAffectedHostInstances; - exports.getFamilyByID = getFamilyByID; - exports.getFamilyByType = getFamilyByType; - exports.hasUnrecoverableErrors = hasUnrecoverableErrors; - exports.injectIntoGlobalHook = injectIntoGlobalHook; - exports.isLikelyComponentType = isLikelyComponentType; - exports.performReactRefresh = performReactRefresh; - exports.register = register; - exports.setSignature = setSignature; - })(); -} -}), -"[project]/node_modules/next/dist/compiled/react-refresh/runtime.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -'use strict'; -if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable -; -else { - module.exports = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react-refresh/cjs/react-refresh-runtime.development.js [app-client] (ecmascript)"); -} -}), -"[project]/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/internal/helpers.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -/** - * MIT License - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - */ var __importDefault = /*TURBOPACK member replacement*/ __turbopack_context__.e && /*TURBOPACK member replacement*/ __turbopack_context__.e.__importDefault || function(mod) { - return mod && mod.__esModule ? mod : { - "default": mod - }; -}; -Object.defineProperty(exports, "__esModule", { - value: true -}); -// This file is copied from the Metro JavaScript bundler, with minor tweaks for -// webpack 4 compatibility. -// -// https://github.com/facebook/metro/blob/d6b9685c730d0d63577db40f41369157f28dfa3a/packages/metro/src/lib/polyfills/require.js -const runtime_1 = __importDefault(__turbopack_context__.r("[project]/node_modules/next/dist/compiled/react-refresh/runtime.js [app-client] (ecmascript)")); -function isSafeExport(key) { - return key === '__esModule' || key === '__N_SSG' || key === '__N_SSP' || // TODO: remove this key from page config instead of allow listing it - key === 'config'; -} -function registerExportsForReactRefresh(moduleExports, moduleID) { - runtime_1.default.register(moduleExports, moduleID + ' %exports%'); - if (moduleExports == null || typeof moduleExports !== 'object') { - // Exit if we can't iterate over exports. - // (This is important for legacy environments.) - return; - } - for(var key in moduleExports){ - if (isSafeExport(key)) { - continue; - } - try { - var exportValue = moduleExports[key]; - } catch (_a) { - continue; - } - var typeID = moduleID + ' %exports% ' + key; - runtime_1.default.register(exportValue, typeID); - } -} -function getRefreshBoundarySignature(moduleExports) { - var signature = []; - signature.push(runtime_1.default.getFamilyByType(moduleExports)); - if (moduleExports == null || typeof moduleExports !== 'object') { - // Exit if we can't iterate over exports. - // (This is important for legacy environments.) - return signature; - } - for(var key in moduleExports){ - if (isSafeExport(key)) { - continue; - } - try { - var exportValue = moduleExports[key]; - } catch (_a) { - continue; - } - signature.push(key); - signature.push(runtime_1.default.getFamilyByType(exportValue)); - } - return signature; -} -function isReactRefreshBoundary(moduleExports) { - if (runtime_1.default.isLikelyComponentType(moduleExports)) { - return true; - } - if (moduleExports == null || typeof moduleExports !== 'object') { - // Exit if we can't iterate over exports. - return false; - } - var hasExports = false; - var areAllExportsComponents = true; - for(var key in moduleExports){ - hasExports = true; - if (isSafeExport(key)) { - continue; - } - try { - var exportValue = moduleExports[key]; - } catch (_a) { - // This might fail due to circular dependencies - return false; - } - if (!runtime_1.default.isLikelyComponentType(exportValue)) { - areAllExportsComponents = false; - } - } - return hasExports && areAllExportsComponents; -} -function shouldInvalidateReactRefreshBoundary(prevSignature, nextSignature) { - if (prevSignature.length !== nextSignature.length) { - return true; - } - for(var i = 0; i < nextSignature.length; i++){ - if (prevSignature[i] !== nextSignature[i]) { - return true; - } - } - return false; -} -var isUpdateScheduled = false; -// This function aggregates updates from multiple modules into a single React Refresh call. -function scheduleUpdate() { - if (isUpdateScheduled) { - return; - } - isUpdateScheduled = true; - function canApplyUpdate(status) { - return status === 'idle'; - } - function applyUpdate() { - isUpdateScheduled = false; - try { - runtime_1.default.performReactRefresh(); - } catch (err) { - console.warn('Warning: Failed to re-render. We will retry on the next Fast Refresh event.\n' + err); - } - } - if (canApplyUpdate(module.hot.status())) { - // Apply update on the next tick. - Promise.resolve().then(()=>{ - applyUpdate(); - }); - return; - } - const statusHandler = (status)=>{ - if (canApplyUpdate(status)) { - module.hot.removeStatusHandler(statusHandler); - applyUpdate(); - } - }; - // Apply update once the HMR runtime's status is idle. - module.hot.addStatusHandler(statusHandler); -} -// Needs to be compatible with IE11 -exports.default = { - registerExportsForReactRefresh: registerExportsForReactRefresh, - isReactRefreshBoundary: isReactRefreshBoundary, - shouldInvalidateReactRefreshBoundary: shouldInvalidateReactRefreshBoundary, - getRefreshBoundarySignature: getRefreshBoundarySignature, - scheduleUpdate: scheduleUpdate -}; //# sourceMappingURL=helpers.js.map -}), -"[project]/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __importDefault = /*TURBOPACK member replacement*/ __turbopack_context__.e && /*TURBOPACK member replacement*/ __turbopack_context__.e.__importDefault || function(mod) { - return mod && mod.__esModule ? mod : { - "default": mod - }; -}; -Object.defineProperty(exports, "__esModule", { - value: true -}); -const runtime_1 = __importDefault(__turbopack_context__.r("[project]/node_modules/next/dist/compiled/react-refresh/runtime.js [app-client] (ecmascript)")); -const helpers_1 = __importDefault(__turbopack_context__.r("[project]/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/internal/helpers.js [app-client] (ecmascript)")); -// Hook into ReactDOM initialization -runtime_1.default.injectIntoGlobalHook(self); -// Register global helpers -self.$RefreshHelpers$ = helpers_1.default; -// Register a helper for module execution interception -self.$RefreshInterceptModuleExecution$ = function(webpackModuleId) { - var prevRefreshReg = self.$RefreshReg$; - var prevRefreshSig = self.$RefreshSig$; - self.$RefreshReg$ = function(type, id) { - runtime_1.default.register(type, webpackModuleId + ' ' + id); - }; - self.$RefreshSig$ = runtime_1.default.createSignatureFunctionForTransform; - // Modeled after `useEffect` cleanup pattern: - // https://react.dev/learn/synchronizing-with-effects#step-3-add-cleanup-if-needed - return function() { - self.$RefreshReg$ = prevRefreshReg; - self.$RefreshSig$ = prevRefreshSig; - }; -}; //# sourceMappingURL=runtime.js.map -}), -"[project]/node_modules/next/dist/compiled/react/cjs/react.development.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -/** - * @license React - * react.development.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ "use strict"; -"production" !== ("TURBOPACK compile-time value", "development") && function() { - function defineDeprecationWarning(methodName, info) { - Object.defineProperty(Component.prototype, methodName, { - get: function() { - console.warn("%s(...) is deprecated in plain JavaScript React classes. %s", info[0], info[1]); - } - }); - } - function getIteratorFn(maybeIterable) { - if (null === maybeIterable || "object" !== typeof maybeIterable) return null; - maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable["@@iterator"]; - return "function" === typeof maybeIterable ? maybeIterable : null; - } - function warnNoop(publicInstance, callerName) { - publicInstance = (publicInstance = publicInstance.constructor) && (publicInstance.displayName || publicInstance.name) || "ReactClass"; - var warningKey = publicInstance + "." + callerName; - didWarnStateUpdateForUnmountedComponent[warningKey] || (console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.", callerName, publicInstance), didWarnStateUpdateForUnmountedComponent[warningKey] = !0); - } - function Component(props, context, updater) { - this.props = props; - this.context = context; - this.refs = emptyObject; - this.updater = updater || ReactNoopUpdateQueue; - } - function ComponentDummy() {} - function PureComponent(props, context, updater) { - this.props = props; - this.context = context; - this.refs = emptyObject; - this.updater = updater || ReactNoopUpdateQueue; - } - function noop() {} - function testStringCoercion(value) { - return "" + value; - } - function checkKeyStringCoercion(value) { - try { - testStringCoercion(value); - var JSCompiler_inline_result = !1; - } catch (e) { - JSCompiler_inline_result = !0; - } - if (JSCompiler_inline_result) { - JSCompiler_inline_result = console; - var JSCompiler_temp_const = JSCompiler_inline_result.error; - var JSCompiler_inline_result$jscomp$0 = "function" === typeof Symbol && Symbol.toStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object"; - JSCompiler_temp_const.call(JSCompiler_inline_result, "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.", JSCompiler_inline_result$jscomp$0); - return testStringCoercion(value); - } - } - function getComponentNameFromType(type) { - if (null == type) return null; - if ("function" === typeof type) return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null; - if ("string" === typeof type) return type; - switch(type){ - case REACT_FRAGMENT_TYPE: - return "Fragment"; - case REACT_PROFILER_TYPE: - return "Profiler"; - case REACT_STRICT_MODE_TYPE: - return "StrictMode"; - case REACT_SUSPENSE_TYPE: - return "Suspense"; - case REACT_SUSPENSE_LIST_TYPE: - return "SuspenseList"; - case REACT_ACTIVITY_TYPE: - return "Activity"; - case REACT_VIEW_TRANSITION_TYPE: - return "ViewTransition"; - } - if ("object" === typeof type) switch("number" === typeof type.tag && console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), type.$$typeof){ - case REACT_PORTAL_TYPE: - return "Portal"; - case REACT_CONTEXT_TYPE: - return type.displayName || "Context"; - case REACT_CONSUMER_TYPE: - return (type._context.displayName || "Context") + ".Consumer"; - case REACT_FORWARD_REF_TYPE: - var innerType = type.render; - type = type.displayName; - type || (type = innerType.displayName || innerType.name || "", type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef"); - return type; - case REACT_MEMO_TYPE: - return innerType = type.displayName || null, null !== innerType ? innerType : getComponentNameFromType(type.type) || "Memo"; - case REACT_LAZY_TYPE: - innerType = type._payload; - type = type._init; - try { - return getComponentNameFromType(type(innerType)); - } catch (x) {} - } - return null; - } - function getTaskName(type) { - if (type === REACT_FRAGMENT_TYPE) return "<>"; - if ("object" === typeof type && null !== type && type.$$typeof === REACT_LAZY_TYPE) return "<...>"; - try { - var name = getComponentNameFromType(type); - return name ? "<" + name + ">" : "<...>"; - } catch (x) { - return "<...>"; - } - } - function getOwner() { - var dispatcher = ReactSharedInternals.A; - return null === dispatcher ? null : dispatcher.getOwner(); - } - function UnknownOwner() { - return Error("react-stack-top-frame"); - } - function hasValidKey(config) { - if (hasOwnProperty.call(config, "key")) { - var getter = Object.getOwnPropertyDescriptor(config, "key").get; - if (getter && getter.isReactWarning) return !1; - } - return void 0 !== config.key; - } - function defineKeyPropWarningGetter(props, displayName) { - function warnAboutAccessingKey() { - specialPropKeyWarningShown || (specialPropKeyWarningShown = !0, console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)", displayName)); - } - warnAboutAccessingKey.isReactWarning = !0; - Object.defineProperty(props, "key", { - get: warnAboutAccessingKey, - configurable: !0 - }); - } - function elementRefGetterWithDeprecationWarning() { - var componentName = getComponentNameFromType(this.type); - didWarnAboutElementRef[componentName] || (didWarnAboutElementRef[componentName] = !0, console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")); - componentName = this.props.ref; - return void 0 !== componentName ? componentName : null; - } - function ReactElement(type, key, props, owner, debugStack, debugTask) { - var refProp = props.ref; - type = { - $$typeof: REACT_ELEMENT_TYPE, - type: type, - key: key, - props: props, - _owner: owner - }; - null !== (void 0 !== refProp ? refProp : null) ? Object.defineProperty(type, "ref", { - enumerable: !1, - get: elementRefGetterWithDeprecationWarning - }) : Object.defineProperty(type, "ref", { - enumerable: !1, - value: null - }); - type._store = {}; - Object.defineProperty(type._store, "validated", { - configurable: !1, - enumerable: !1, - writable: !0, - value: 0 - }); - Object.defineProperty(type, "_debugInfo", { - configurable: !1, - enumerable: !1, - writable: !0, - value: null - }); - Object.defineProperty(type, "_debugStack", { - configurable: !1, - enumerable: !1, - writable: !0, - value: debugStack - }); - Object.defineProperty(type, "_debugTask", { - configurable: !1, - enumerable: !1, - writable: !0, - value: debugTask - }); - Object.freeze && (Object.freeze(type.props), Object.freeze(type)); - return type; - } - function cloneAndReplaceKey(oldElement, newKey) { - newKey = ReactElement(oldElement.type, newKey, oldElement.props, oldElement._owner, oldElement._debugStack, oldElement._debugTask); - oldElement._store && (newKey._store.validated = oldElement._store.validated); - return newKey; - } - function validateChildKeys(node) { - isValidElement(node) ? node._store && (node._store.validated = 1) : "object" === typeof node && null !== node && node.$$typeof === REACT_LAZY_TYPE && ("fulfilled" === node._payload.status ? isValidElement(node._payload.value) && node._payload.value._store && (node._payload.value._store.validated = 1) : node._store && (node._store.validated = 1)); - } - function isValidElement(object) { - return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE; - } - function escape(key) { - var escaperLookup = { - "=": "=0", - ":": "=2" - }; - return "$" + key.replace(/[=:]/g, function(match) { - return escaperLookup[match]; - }); - } - function getElementKey(element, index) { - return "object" === typeof element && null !== element && null != element.key ? (checkKeyStringCoercion(element.key), escape("" + element.key)) : index.toString(36); - } - function resolveThenable(thenable) { - switch(thenable.status){ - case "fulfilled": - return thenable.value; - case "rejected": - throw thenable.reason; - default: - switch("string" === typeof thenable.status ? thenable.then(noop, noop) : (thenable.status = "pending", thenable.then(function(fulfilledValue) { - "pending" === thenable.status && (thenable.status = "fulfilled", thenable.value = fulfilledValue); - }, function(error) { - "pending" === thenable.status && (thenable.status = "rejected", thenable.reason = error); - })), thenable.status){ - case "fulfilled": - return thenable.value; - case "rejected": - throw thenable.reason; - } - } - throw thenable; - } - function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) { - var type = typeof children; - if ("undefined" === type || "boolean" === type) children = null; - var invokeCallback = !1; - if (null === children) invokeCallback = !0; - else switch(type){ - case "bigint": - case "string": - case "number": - invokeCallback = !0; - break; - case "object": - switch(children.$$typeof){ - case REACT_ELEMENT_TYPE: - case REACT_PORTAL_TYPE: - invokeCallback = !0; - break; - case REACT_LAZY_TYPE: - return invokeCallback = children._init, mapIntoArray(invokeCallback(children._payload), array, escapedPrefix, nameSoFar, callback); - } - } - if (invokeCallback) { - invokeCallback = children; - callback = callback(invokeCallback); - var childKey = "" === nameSoFar ? "." + getElementKey(invokeCallback, 0) : nameSoFar; - isArrayImpl(callback) ? (escapedPrefix = "", null != childKey && (escapedPrefix = childKey.replace(userProvidedKeyEscapeRegex, "$&/") + "/"), mapIntoArray(callback, array, escapedPrefix, "", function(c) { - return c; - })) : null != callback && (isValidElement(callback) && (null != callback.key && (invokeCallback && invokeCallback.key === callback.key || checkKeyStringCoercion(callback.key)), escapedPrefix = cloneAndReplaceKey(callback, escapedPrefix + (null == callback.key || invokeCallback && invokeCallback.key === callback.key ? "" : ("" + callback.key).replace(userProvidedKeyEscapeRegex, "$&/") + "/") + childKey), "" !== nameSoFar && null != invokeCallback && isValidElement(invokeCallback) && null == invokeCallback.key && invokeCallback._store && !invokeCallback._store.validated && (escapedPrefix._store.validated = 2), callback = escapedPrefix), array.push(callback)); - return 1; - } - invokeCallback = 0; - childKey = "" === nameSoFar ? "." : nameSoFar + ":"; - if (isArrayImpl(children)) for(var i = 0; i < children.length; i++)nameSoFar = children[i], type = childKey + getElementKey(nameSoFar, i), invokeCallback += mapIntoArray(nameSoFar, array, escapedPrefix, type, callback); - else if (i = getIteratorFn(children), "function" === typeof i) for(i === children.entries && (didWarnAboutMaps || console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), didWarnAboutMaps = !0), children = i.call(children), i = 0; !(nameSoFar = children.next()).done;)nameSoFar = nameSoFar.value, type = childKey + getElementKey(nameSoFar, i++), invokeCallback += mapIntoArray(nameSoFar, array, escapedPrefix, type, callback); - else if ("object" === type) { - if ("function" === typeof children.then) return mapIntoArray(resolveThenable(children), array, escapedPrefix, nameSoFar, callback); - array = String(children); - throw Error("Objects are not valid as a React child (found: " + ("[object Object]" === array ? "object with keys {" + Object.keys(children).join(", ") + "}" : array) + "). If you meant to render a collection of children, use an array instead."); - } - return invokeCallback; - } - function mapChildren(children, func, context) { - if (null == children) return children; - var result = [], count = 0; - mapIntoArray(children, result, "", "", function(child) { - return func.call(context, child, count++); - }); - return result; - } - function lazyInitializer(payload) { - if (-1 === payload._status) { - var resolveDebugValue = null, rejectDebugValue = null, ioInfo = payload._ioInfo; - null != ioInfo && (ioInfo.start = ioInfo.end = performance.now(), ioInfo.value = new Promise(function(resolve, reject) { - resolveDebugValue = resolve; - rejectDebugValue = reject; - })); - ioInfo = payload._result; - var thenable = ioInfo(); - thenable.then(function(moduleObject) { - if (0 === payload._status || -1 === payload._status) { - payload._status = 1; - payload._result = moduleObject; - var _ioInfo = payload._ioInfo; - if (null != _ioInfo) { - _ioInfo.end = performance.now(); - var debugValue = null == moduleObject ? void 0 : moduleObject.default; - resolveDebugValue(debugValue); - _ioInfo.value.status = "fulfilled"; - _ioInfo.value.value = debugValue; - } - void 0 === thenable.status && (thenable.status = "fulfilled", thenable.value = moduleObject); - } - }, function(error) { - if (0 === payload._status || -1 === payload._status) { - payload._status = 2; - payload._result = error; - var _ioInfo2 = payload._ioInfo; - null != _ioInfo2 && (_ioInfo2.end = performance.now(), _ioInfo2.value.then(noop, noop), rejectDebugValue(error), _ioInfo2.value.status = "rejected", _ioInfo2.value.reason = error); - void 0 === thenable.status && (thenable.status = "rejected", thenable.reason = error); - } - }); - ioInfo = payload._ioInfo; - if (null != ioInfo) { - var displayName = thenable.displayName; - "string" === typeof displayName && (ioInfo.name = displayName); - } - -1 === payload._status && (payload._status = 0, payload._result = thenable); - } - if (1 === payload._status) return ioInfo = payload._result, void 0 === ioInfo && console.error("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?", ioInfo), "default" in ioInfo || console.error("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))", ioInfo), ioInfo.default; - throw payload._result; - } - function resolveDispatcher() { - var dispatcher = ReactSharedInternals.H; - null === dispatcher && console.error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."); - return dispatcher; - } - function releaseAsyncTransition() { - ReactSharedInternals.asyncTransitions--; - } - function startTransition(scope) { - var prevTransition = ReactSharedInternals.T, currentTransition = {}; - currentTransition.types = null !== prevTransition ? prevTransition.types : null; - currentTransition._updatedFibers = new Set(); - ReactSharedInternals.T = currentTransition; - try { - var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S; - null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue); - "object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && (ReactSharedInternals.asyncTransitions++, returnValue.then(releaseAsyncTransition, releaseAsyncTransition), returnValue.then(noop, reportGlobalError)); - } catch (error) { - reportGlobalError(error); - } finally{ - null === prevTransition && currentTransition._updatedFibers && (scope = currentTransition._updatedFibers.size, currentTransition._updatedFibers.clear(), 10 < scope && console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")), null !== prevTransition && null !== currentTransition.types && (null !== prevTransition.types && prevTransition.types !== currentTransition.types && console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."), prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition; - } - } - function addTransitionType(type) { - var transition = ReactSharedInternals.T; - if (null !== transition) { - var transitionTypes = transition.types; - null === transitionTypes ? transition.types = [ - type - ] : -1 === transitionTypes.indexOf(type) && transitionTypes.push(type); - } else 0 === ReactSharedInternals.asyncTransitions && console.error("addTransitionType can only be called inside a `startTransition()` callback. It must be associated with a specific Transition."), startTransition(addTransitionType.bind(null, type)); - } - function enqueueTask(task) { - if (null === enqueueTaskImpl) try { - var requireString = ("require" + Math.random()).slice(0, 7); - enqueueTaskImpl = (module && module[requireString]).call(module, "timers").setImmediate; - } catch (_err) { - enqueueTaskImpl = function(callback) { - !1 === didWarnAboutMessageChannel && (didWarnAboutMessageChannel = !0, "undefined" === typeof MessageChannel && console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning.")); - var channel = new MessageChannel(); - channel.port1.onmessage = callback; - channel.port2.postMessage(void 0); - }; - } - return enqueueTaskImpl(task); - } - function aggregateErrors(errors) { - return 1 < errors.length && "function" === typeof AggregateError ? new AggregateError(errors) : errors[0]; - } - function popActScope(prevActQueue, prevActScopeDepth) { - prevActScopeDepth !== actScopeDepth - 1 && console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "); - actScopeDepth = prevActScopeDepth; - } - function recursivelyFlushAsyncActWork(returnValue, resolve, reject) { - var queue = ReactSharedInternals.actQueue; - if (null !== queue) if (0 !== queue.length) try { - flushActQueue(queue); - enqueueTask(function() { - return recursivelyFlushAsyncActWork(returnValue, resolve, reject); - }); - return; - } catch (error) { - ReactSharedInternals.thrownErrors.push(error); - } - else ReactSharedInternals.actQueue = null; - 0 < ReactSharedInternals.thrownErrors.length ? (queue = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, reject(queue)) : resolve(returnValue); - } - function flushActQueue(queue) { - if (!isFlushing) { - isFlushing = !0; - var i = 0; - try { - for(; i < queue.length; i++){ - var callback = queue[i]; - do { - ReactSharedInternals.didUsePromise = !1; - var continuation = callback(!1); - if (null !== continuation) { - if (ReactSharedInternals.didUsePromise) { - queue[i] = callback; - queue.splice(0, i); - return; - } - callback = continuation; - } else break; - }while (1) - } - queue.length = 0; - } catch (error) { - queue.splice(0, i + 1), ReactSharedInternals.thrownErrors.push(error); - } finally{ - isFlushing = !1; - } - } - } - "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()); - var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator, didWarnStateUpdateForUnmountedComponent = {}, ReactNoopUpdateQueue = { - isMounted: function() { - return !1; - }, - enqueueForceUpdate: function(publicInstance) { - warnNoop(publicInstance, "forceUpdate"); - }, - enqueueReplaceState: function(publicInstance) { - warnNoop(publicInstance, "replaceState"); - }, - enqueueSetState: function(publicInstance) { - warnNoop(publicInstance, "setState"); - } - }, assign = Object.assign, emptyObject = {}; - Object.freeze(emptyObject); - Component.prototype.isReactComponent = {}; - Component.prototype.setState = function(partialState, callback) { - if ("object" !== typeof partialState && "function" !== typeof partialState && null != partialState) throw Error("takes an object of state variables to update or a function which returns an object of state variables."); - this.updater.enqueueSetState(this, partialState, callback, "setState"); - }; - Component.prototype.forceUpdate = function(callback) { - this.updater.enqueueForceUpdate(this, callback, "forceUpdate"); - }; - var deprecatedAPIs = { - isMounted: [ - "isMounted", - "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks." - ], - replaceState: [ - "replaceState", - "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)." - ] - }; - for(fnName in deprecatedAPIs)deprecatedAPIs.hasOwnProperty(fnName) && defineDeprecationWarning(fnName, deprecatedAPIs[fnName]); - ComponentDummy.prototype = Component.prototype; - deprecatedAPIs = PureComponent.prototype = new ComponentDummy(); - deprecatedAPIs.constructor = PureComponent; - assign(deprecatedAPIs, Component.prototype); - deprecatedAPIs.isPureReactComponent = !0; - var isArrayImpl = Array.isArray, REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), ReactSharedInternals = { - H: null, - A: null, - T: null, - S: null, - actQueue: null, - asyncTransitions: 0, - isBatchingLegacy: !1, - didScheduleLegacyUpdate: !1, - didUsePromise: !1, - thrownErrors: [], - getCurrentStack: null, - recentlyCreatedOwnerStacks: 0 - }, hasOwnProperty = Object.prototype.hasOwnProperty, createTask = console.createTask ? console.createTask : function() { - return null; - }; - deprecatedAPIs = { - react_stack_bottom_frame: function(callStackForError) { - return callStackForError(); - } - }; - var specialPropKeyWarningShown, didWarnAboutOldJSXRuntime; - var didWarnAboutElementRef = {}; - var unknownOwnerDebugStack = deprecatedAPIs.react_stack_bottom_frame.bind(deprecatedAPIs, UnknownOwner)(); - var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner)); - var didWarnAboutMaps = !1, userProvidedKeyEscapeRegex = /\/+/g, reportGlobalError = "function" === typeof reportError ? reportError : function(error) { - if ("object" === typeof window && "function" === typeof window.ErrorEvent) { - var event = new window.ErrorEvent("error", { - bubbles: !0, - cancelable: !0, - message: "object" === typeof error && null !== error && "string" === typeof error.message ? String(error.message) : String(error), - error: error - }); - if (!window.dispatchEvent(event)) return; - } else if ("object" === typeof __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"] && "function" === typeof __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"].emit) { - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"].emit("uncaughtException", error); - return; - } - console.error(error); - }, didWarnAboutMessageChannel = !1, enqueueTaskImpl = null, actScopeDepth = 0, didWarnNoAwaitAct = !1, isFlushing = !1, queueSeveralMicrotasks = "function" === typeof queueMicrotask ? function(callback) { - queueMicrotask(function() { - return queueMicrotask(callback); - }); - } : enqueueTask; - deprecatedAPIs = Object.freeze({ - __proto__: null, - c: function(size) { - return resolveDispatcher().useMemoCache(size); - } - }); - var fnName = { - map: mapChildren, - forEach: function(children, forEachFunc, forEachContext) { - mapChildren(children, function() { - forEachFunc.apply(this, arguments); - }, forEachContext); - }, - count: function(children) { - var n = 0; - mapChildren(children, function() { - n++; - }); - return n; - }, - toArray: function(children) { - return mapChildren(children, function(child) { - return child; - }) || []; - }, - only: function(children) { - if (!isValidElement(children)) throw Error("React.Children.only expected to receive a single React element child."); - return children; - } - }; - exports.Activity = REACT_ACTIVITY_TYPE; - exports.Children = fnName; - exports.Component = Component; - exports.Fragment = REACT_FRAGMENT_TYPE; - exports.Profiler = REACT_PROFILER_TYPE; - exports.PureComponent = PureComponent; - exports.StrictMode = REACT_STRICT_MODE_TYPE; - exports.Suspense = REACT_SUSPENSE_TYPE; - exports.ViewTransition = REACT_VIEW_TRANSITION_TYPE; - exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals; - exports.__COMPILER_RUNTIME = deprecatedAPIs; - exports.act = function(callback) { - var prevActQueue = ReactSharedInternals.actQueue, prevActScopeDepth = actScopeDepth; - actScopeDepth++; - var queue = ReactSharedInternals.actQueue = null !== prevActQueue ? prevActQueue : [], didAwaitActCall = !1; - try { - var result = callback(); - } catch (error) { - ReactSharedInternals.thrownErrors.push(error); - } - if (0 < ReactSharedInternals.thrownErrors.length) throw popActScope(prevActQueue, prevActScopeDepth), callback = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, callback; - if (null !== result && "object" === typeof result && "function" === typeof result.then) { - var thenable = result; - queueSeveralMicrotasks(function() { - didAwaitActCall || didWarnNoAwaitAct || (didWarnNoAwaitAct = !0, console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);")); - }); - return { - then: function(resolve, reject) { - didAwaitActCall = !0; - thenable.then(function(returnValue) { - popActScope(prevActQueue, prevActScopeDepth); - if (0 === prevActScopeDepth) { - try { - flushActQueue(queue), enqueueTask(function() { - return recursivelyFlushAsyncActWork(returnValue, resolve, reject); - }); - } catch (error$0) { - ReactSharedInternals.thrownErrors.push(error$0); - } - if (0 < ReactSharedInternals.thrownErrors.length) { - var _thrownError = aggregateErrors(ReactSharedInternals.thrownErrors); - ReactSharedInternals.thrownErrors.length = 0; - reject(_thrownError); - } - } else resolve(returnValue); - }, function(error) { - popActScope(prevActQueue, prevActScopeDepth); - 0 < ReactSharedInternals.thrownErrors.length ? (error = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, reject(error)) : reject(error); - }); - } - }; - } - var returnValue$jscomp$0 = result; - popActScope(prevActQueue, prevActScopeDepth); - 0 === prevActScopeDepth && (flushActQueue(queue), 0 !== queue.length && queueSeveralMicrotasks(function() { - didAwaitActCall || didWarnNoAwaitAct || (didWarnNoAwaitAct = !0, console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)")); - }), ReactSharedInternals.actQueue = null); - if (0 < ReactSharedInternals.thrownErrors.length) throw callback = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, callback; - return { - then: function(resolve, reject) { - didAwaitActCall = !0; - 0 === prevActScopeDepth ? (ReactSharedInternals.actQueue = queue, enqueueTask(function() { - return recursivelyFlushAsyncActWork(returnValue$jscomp$0, resolve, reject); - })) : resolve(returnValue$jscomp$0); - } - }; - }; - exports.addTransitionType = addTransitionType; - exports.cache = function(fn) { - return function() { - return fn.apply(null, arguments); - }; - }; - exports.cacheSignal = function() { - return null; - }; - exports.captureOwnerStack = function() { - var getCurrentStack = ReactSharedInternals.getCurrentStack; - return null === getCurrentStack ? null : getCurrentStack(); - }; - exports.cloneElement = function(element, config, children) { - if (null === element || void 0 === element) throw Error("The argument must be a React element, but you passed " + element + "."); - var props = assign({}, element.props), key = element.key, owner = element._owner; - if (null != config) { - var JSCompiler_inline_result; - a: { - if (hasOwnProperty.call(config, "ref") && (JSCompiler_inline_result = Object.getOwnPropertyDescriptor(config, "ref").get) && JSCompiler_inline_result.isReactWarning) { - JSCompiler_inline_result = !1; - break a; - } - JSCompiler_inline_result = void 0 !== config.ref; - } - JSCompiler_inline_result && (owner = getOwner()); - hasValidKey(config) && (checkKeyStringCoercion(config.key), key = "" + config.key); - for(propName in config)!hasOwnProperty.call(config, propName) || "key" === propName || "__self" === propName || "__source" === propName || "ref" === propName && void 0 === config.ref || (props[propName] = config[propName]); - } - var propName = arguments.length - 2; - if (1 === propName) props.children = children; - else if (1 < propName) { - JSCompiler_inline_result = Array(propName); - for(var i = 0; i < propName; i++)JSCompiler_inline_result[i] = arguments[i + 2]; - props.children = JSCompiler_inline_result; - } - props = ReactElement(element.type, key, props, owner, element._debugStack, element._debugTask); - for(key = 2; key < arguments.length; key++)validateChildKeys(arguments[key]); - return props; - }; - exports.createContext = function(defaultValue) { - defaultValue = { - $$typeof: REACT_CONTEXT_TYPE, - _currentValue: defaultValue, - _currentValue2: defaultValue, - _threadCount: 0, - Provider: null, - Consumer: null - }; - defaultValue.Provider = defaultValue; - defaultValue.Consumer = { - $$typeof: REACT_CONSUMER_TYPE, - _context: defaultValue - }; - defaultValue._currentRenderer = null; - defaultValue._currentRenderer2 = null; - return defaultValue; - }; - exports.createElement = function(type, config, children) { - for(var i = 2; i < arguments.length; i++)validateChildKeys(arguments[i]); - var propName; - i = {}; - var key = null; - if (null != config) for(propName in didWarnAboutOldJSXRuntime || !("__self" in config) || "key" in config || (didWarnAboutOldJSXRuntime = !0, console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")), hasValidKey(config) && (checkKeyStringCoercion(config.key), key = "" + config.key), config)hasOwnProperty.call(config, propName) && "key" !== propName && "__self" !== propName && "__source" !== propName && (i[propName] = config[propName]); - var childrenLength = arguments.length - 2; - if (1 === childrenLength) i.children = children; - else if (1 < childrenLength) { - for(var childArray = Array(childrenLength), _i = 0; _i < childrenLength; _i++)childArray[_i] = arguments[_i + 2]; - Object.freeze && Object.freeze(childArray); - i.children = childArray; - } - if (type && type.defaultProps) for(propName in childrenLength = type.defaultProps, childrenLength)void 0 === i[propName] && (i[propName] = childrenLength[propName]); - key && defineKeyPropWarningGetter(i, "function" === typeof type ? type.displayName || type.name || "Unknown" : type); - (propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++) ? (childArray = Error.stackTraceLimit, Error.stackTraceLimit = 10, childrenLength = Error("react-stack-top-frame"), Error.stackTraceLimit = childArray) : childrenLength = unknownOwnerDebugStack; - return ReactElement(type, key, i, getOwner(), childrenLength, propName ? createTask(getTaskName(type)) : unknownOwnerDebugTask); - }; - exports.createRef = function() { - var refObject = { - current: null - }; - Object.seal(refObject); - return refObject; - }; - exports.forwardRef = function(render) { - null != render && render.$$typeof === REACT_MEMO_TYPE ? console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).") : "function" !== typeof render ? console.error("forwardRef requires a render function but was given %s.", null === render ? "null" : typeof render) : 0 !== render.length && 2 !== render.length && console.error("forwardRef render functions accept exactly two parameters: props and ref. %s", 1 === render.length ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined."); - null != render && null != render.defaultProps && console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?"); - var elementType = { - $$typeof: REACT_FORWARD_REF_TYPE, - render: render - }, ownName; - Object.defineProperty(elementType, "displayName", { - enumerable: !1, - configurable: !0, - get: function() { - return ownName; - }, - set: function(name) { - ownName = name; - render.name || render.displayName || (Object.defineProperty(render, "name", { - value: name - }), render.displayName = name); - } - }); - return elementType; - }; - exports.isValidElement = isValidElement; - exports.lazy = function(ctor) { - ctor = { - _status: -1, - _result: ctor - }; - var lazyType = { - $$typeof: REACT_LAZY_TYPE, - _payload: ctor, - _init: lazyInitializer - }, ioInfo = { - name: "lazy", - start: -1, - end: -1, - value: null, - owner: null, - debugStack: Error("react-stack-top-frame"), - debugTask: console.createTask ? console.createTask("lazy()") : null - }; - ctor._ioInfo = ioInfo; - lazyType._debugInfo = [ - { - awaited: ioInfo - } - ]; - return lazyType; - }; - exports.memo = function(type, compare) { - null == type && console.error("memo: The first argument must be a component. Instead received: %s", null === type ? "null" : typeof type); - compare = { - $$typeof: REACT_MEMO_TYPE, - type: type, - compare: void 0 === compare ? null : compare - }; - var ownName; - Object.defineProperty(compare, "displayName", { - enumerable: !1, - configurable: !0, - get: function() { - return ownName; - }, - set: function(name) { - ownName = name; - type.name || type.displayName || (Object.defineProperty(type, "name", { - value: name - }), type.displayName = name); - } - }); - return compare; - }; - exports.startTransition = startTransition; - exports.unstable_useCacheRefresh = function() { - return resolveDispatcher().useCacheRefresh(); - }; - exports.use = function(usable) { - return resolveDispatcher().use(usable); - }; - exports.useActionState = function(action, initialState, permalink) { - return resolveDispatcher().useActionState(action, initialState, permalink); - }; - exports.useCallback = function(callback, deps) { - return resolveDispatcher().useCallback(callback, deps); - }; - exports.useContext = function(Context) { - var dispatcher = resolveDispatcher(); - Context.$$typeof === REACT_CONSUMER_TYPE && console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"); - return dispatcher.useContext(Context); - }; - exports.useDebugValue = function(value, formatterFn) { - return resolveDispatcher().useDebugValue(value, formatterFn); - }; - exports.useDeferredValue = function(value, initialValue) { - return resolveDispatcher().useDeferredValue(value, initialValue); - }; - exports.useEffect = function(create, deps) { - null == create && console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"); - return resolveDispatcher().useEffect(create, deps); - }; - exports.useEffectEvent = function(callback) { - return resolveDispatcher().useEffectEvent(callback); - }; - exports.useId = function() { - return resolveDispatcher().useId(); - }; - exports.useImperativeHandle = function(ref, create, deps) { - return resolveDispatcher().useImperativeHandle(ref, create, deps); - }; - exports.useInsertionEffect = function(create, deps) { - null == create && console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"); - return resolveDispatcher().useInsertionEffect(create, deps); - }; - exports.useLayoutEffect = function(create, deps) { - null == create && console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"); - return resolveDispatcher().useLayoutEffect(create, deps); - }; - exports.useMemo = function(create, deps) { - return resolveDispatcher().useMemo(create, deps); - }; - exports.useOptimistic = function(passthrough, reducer) { - return resolveDispatcher().useOptimistic(passthrough, reducer); - }; - exports.useReducer = function(reducer, initialArg, init) { - return resolveDispatcher().useReducer(reducer, initialArg, init); - }; - exports.useRef = function(initialValue) { - return resolveDispatcher().useRef(initialValue); - }; - exports.useState = function(initialState) { - return resolveDispatcher().useState(initialState); - }; - exports.useSyncExternalStore = function(subscribe, getSnapshot, getServerSnapshot) { - return resolveDispatcher().useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot); - }; - exports.useTransition = function() { - return resolveDispatcher().useTransition(); - }; - exports.version = "19.3.0-canary-f93b9fd4-20251217"; - "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error()); -}(); -}), -"[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -'use strict'; -if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable -; -else { - module.exports = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/cjs/react.development.js [app-client] (ecmascript)"); -} -}), -"[project]/node_modules/next/dist/compiled/react/cjs/react-jsx-runtime.development.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -/** - * @license React - * react-jsx-runtime.development.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ "use strict"; -"production" !== ("TURBOPACK compile-time value", "development") && function() { - function getComponentNameFromType(type) { - if (null == type) return null; - if ("function" === typeof type) return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null; - if ("string" === typeof type) return type; - switch(type){ - case REACT_FRAGMENT_TYPE: - return "Fragment"; - case REACT_PROFILER_TYPE: - return "Profiler"; - case REACT_STRICT_MODE_TYPE: - return "StrictMode"; - case REACT_SUSPENSE_TYPE: - return "Suspense"; - case REACT_SUSPENSE_LIST_TYPE: - return "SuspenseList"; - case REACT_ACTIVITY_TYPE: - return "Activity"; - case REACT_VIEW_TRANSITION_TYPE: - return "ViewTransition"; - } - if ("object" === typeof type) switch("number" === typeof type.tag && console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), type.$$typeof){ - case REACT_PORTAL_TYPE: - return "Portal"; - case REACT_CONTEXT_TYPE: - return type.displayName || "Context"; - case REACT_CONSUMER_TYPE: - return (type._context.displayName || "Context") + ".Consumer"; - case REACT_FORWARD_REF_TYPE: - var innerType = type.render; - type = type.displayName; - type || (type = innerType.displayName || innerType.name || "", type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef"); - return type; - case REACT_MEMO_TYPE: - return innerType = type.displayName || null, null !== innerType ? innerType : getComponentNameFromType(type.type) || "Memo"; - case REACT_LAZY_TYPE: - innerType = type._payload; - type = type._init; - try { - return getComponentNameFromType(type(innerType)); - } catch (x) {} - } - return null; - } - function testStringCoercion(value) { - return "" + value; - } - function checkKeyStringCoercion(value) { - try { - testStringCoercion(value); - var JSCompiler_inline_result = !1; - } catch (e) { - JSCompiler_inline_result = !0; - } - if (JSCompiler_inline_result) { - JSCompiler_inline_result = console; - var JSCompiler_temp_const = JSCompiler_inline_result.error; - var JSCompiler_inline_result$jscomp$0 = "function" === typeof Symbol && Symbol.toStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object"; - JSCompiler_temp_const.call(JSCompiler_inline_result, "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.", JSCompiler_inline_result$jscomp$0); - return testStringCoercion(value); - } - } - function getTaskName(type) { - if (type === REACT_FRAGMENT_TYPE) return "<>"; - if ("object" === typeof type && null !== type && type.$$typeof === REACT_LAZY_TYPE) return "<...>"; - try { - var name = getComponentNameFromType(type); - return name ? "<" + name + ">" : "<...>"; - } catch (x) { - return "<...>"; - } - } - function getOwner() { - var dispatcher = ReactSharedInternals.A; - return null === dispatcher ? null : dispatcher.getOwner(); - } - function UnknownOwner() { - return Error("react-stack-top-frame"); - } - function hasValidKey(config) { - if (hasOwnProperty.call(config, "key")) { - var getter = Object.getOwnPropertyDescriptor(config, "key").get; - if (getter && getter.isReactWarning) return !1; - } - return void 0 !== config.key; - } - function defineKeyPropWarningGetter(props, displayName) { - function warnAboutAccessingKey() { - specialPropKeyWarningShown || (specialPropKeyWarningShown = !0, console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)", displayName)); - } - warnAboutAccessingKey.isReactWarning = !0; - Object.defineProperty(props, "key", { - get: warnAboutAccessingKey, - configurable: !0 - }); - } - function elementRefGetterWithDeprecationWarning() { - var componentName = getComponentNameFromType(this.type); - didWarnAboutElementRef[componentName] || (didWarnAboutElementRef[componentName] = !0, console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")); - componentName = this.props.ref; - return void 0 !== componentName ? componentName : null; - } - function ReactElement(type, key, props, owner, debugStack, debugTask) { - var refProp = props.ref; - type = { - $$typeof: REACT_ELEMENT_TYPE, - type: type, - key: key, - props: props, - _owner: owner - }; - null !== (void 0 !== refProp ? refProp : null) ? Object.defineProperty(type, "ref", { - enumerable: !1, - get: elementRefGetterWithDeprecationWarning - }) : Object.defineProperty(type, "ref", { - enumerable: !1, - value: null - }); - type._store = {}; - Object.defineProperty(type._store, "validated", { - configurable: !1, - enumerable: !1, - writable: !0, - value: 0 - }); - Object.defineProperty(type, "_debugInfo", { - configurable: !1, - enumerable: !1, - writable: !0, - value: null - }); - Object.defineProperty(type, "_debugStack", { - configurable: !1, - enumerable: !1, - writable: !0, - value: debugStack - }); - Object.defineProperty(type, "_debugTask", { - configurable: !1, - enumerable: !1, - writable: !0, - value: debugTask - }); - Object.freeze && (Object.freeze(type.props), Object.freeze(type)); - return type; - } - function jsxDEVImpl(type, config, maybeKey, isStaticChildren, debugStack, debugTask) { - var children = config.children; - if (void 0 !== children) if (isStaticChildren) if (isArrayImpl(children)) { - for(isStaticChildren = 0; isStaticChildren < children.length; isStaticChildren++)validateChildKeys(children[isStaticChildren]); - Object.freeze && Object.freeze(children); - } else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."); - else validateChildKeys(children); - if (hasOwnProperty.call(config, "key")) { - children = getComponentNameFromType(type); - var keys = Object.keys(config).filter(function(k) { - return "key" !== k; - }); - isStaticChildren = 0 < keys.length ? "{key: someKey, " + keys.join(": ..., ") + ": ...}" : "{key: someKey}"; - didWarnAboutKeySpread[children + isStaticChildren] || (keys = 0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}", console.error('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />', isStaticChildren, children, keys, children), didWarnAboutKeySpread[children + isStaticChildren] = !0); - } - children = null; - void 0 !== maybeKey && (checkKeyStringCoercion(maybeKey), children = "" + maybeKey); - hasValidKey(config) && (checkKeyStringCoercion(config.key), children = "" + config.key); - if ("key" in config) { - maybeKey = {}; - for(var propName in config)"key" !== propName && (maybeKey[propName] = config[propName]); - } else maybeKey = config; - children && defineKeyPropWarningGetter(maybeKey, "function" === typeof type ? type.displayName || type.name || "Unknown" : type); - return ReactElement(type, children, maybeKey, getOwner(), debugStack, debugTask); - } - function validateChildKeys(node) { - isValidElement(node) ? node._store && (node._store.validated = 1) : "object" === typeof node && null !== node && node.$$typeof === REACT_LAZY_TYPE && ("fulfilled" === node._payload.status ? isValidElement(node._payload.value) && node._payload.value._store && (node._payload.value._store.validated = 1) : node._store && (node._store.validated = 1)); - } - function isValidElement(object) { - return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE; - } - var React = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"), REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"), REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, hasOwnProperty = Object.prototype.hasOwnProperty, isArrayImpl = Array.isArray, createTask = console.createTask ? console.createTask : function() { - return null; - }; - React = { - react_stack_bottom_frame: function(callStackForError) { - return callStackForError(); - } - }; - var specialPropKeyWarningShown; - var didWarnAboutElementRef = {}; - var unknownOwnerDebugStack = React.react_stack_bottom_frame.bind(React, UnknownOwner)(); - var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner)); - var didWarnAboutKeySpread = {}; - exports.Fragment = REACT_FRAGMENT_TYPE; - exports.jsx = function(type, config, maybeKey) { - var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++; - if (trackActualOwner) { - var previousStackTraceLimit = Error.stackTraceLimit; - Error.stackTraceLimit = 10; - var debugStackDEV = Error("react-stack-top-frame"); - Error.stackTraceLimit = previousStackTraceLimit; - } else debugStackDEV = unknownOwnerDebugStack; - return jsxDEVImpl(type, config, maybeKey, !1, debugStackDEV, trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask); - }; - exports.jsxs = function(type, config, maybeKey) { - var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++; - if (trackActualOwner) { - var previousStackTraceLimit = Error.stackTraceLimit; - Error.stackTraceLimit = 10; - var debugStackDEV = Error("react-stack-top-frame"); - Error.stackTraceLimit = previousStackTraceLimit; - } else debugStackDEV = unknownOwnerDebugStack; - return jsxDEVImpl(type, config, maybeKey, !0, debugStackDEV, trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask); - }; -}(); -}), -"[project]/node_modules/next/dist/compiled/react/jsx-runtime.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -'use strict'; -if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable -; -else { - module.exports = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/cjs/react-jsx-runtime.development.js [app-client] (ecmascript)"); -} -}), -"[project]/node_modules/next/dist/compiled/safe-stable-stringify/index.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { - -(function() { - "use strict"; - var e = { - 879: function(e, t) { - const { hasOwnProperty: n } = Object.prototype; - const r = configure(); - r.configure = configure; - r.stringify = r; - r.default = r; - t.stringify = r; - t.configure = configure; - e.exports = r; - const i = /[\u0000-\u001f\u0022\u005c\ud800-\udfff]/; - function strEscape(e) { - if (e.length < 5e3 && !i.test(e)) { - return `"${e}"`; - } - return JSON.stringify(e); - } - function sort(e, t) { - if (e.length > 200 || t) { - return e.sort(t); - } - for(let t = 1; t < e.length; t++){ - const n = e[t]; - let r = t; - while(r !== 0 && e[r - 1] > n){ - e[r] = e[r - 1]; - r--; - } - e[r] = n; - } - return e; - } - const f = Object.getOwnPropertyDescriptor(Object.getPrototypeOf(Object.getPrototypeOf(new Int8Array)), Symbol.toStringTag).get; - function isTypedArrayWithEntries(e) { - return f.call(e) !== undefined && e.length !== 0; - } - function stringifyTypedArray(e, t, n) { - if (e.length < n) { - n = e.length; - } - const r = t === "," ? "" : " "; - let i = `"0":${r}${e[0]}`; - for(let f = 1; f < n; f++){ - i += `${t}"${f}":${r}${e[f]}`; - } - return i; - } - function getCircularValueOption(e) { - if (n.call(e, "circularValue")) { - const t = e.circularValue; - if (typeof t === "string") { - return `"${t}"`; - } - if (t == null) { - return t; - } - if (t === Error || t === TypeError) { - return { - toString () { - throw new TypeError("Converting circular structure to JSON"); - } - }; - } - throw new TypeError('The "circularValue" argument must be of type string or the value null or undefined'); - } - return '"[Circular]"'; - } - function getDeterministicOption(e) { - let t; - if (n.call(e, "deterministic")) { - t = e.deterministic; - if (typeof t !== "boolean" && typeof t !== "function") { - throw new TypeError('The "deterministic" argument must be of type boolean or comparator function'); - } - } - return t === undefined ? true : t; - } - function getBooleanOption(e, t) { - let r; - if (n.call(e, t)) { - r = e[t]; - if (typeof r !== "boolean") { - throw new TypeError(`The "${t}" argument must be of type boolean`); - } - } - return r === undefined ? true : r; - } - function getPositiveIntegerOption(e, t) { - let r; - if (n.call(e, t)) { - r = e[t]; - if (typeof r !== "number") { - throw new TypeError(`The "${t}" argument must be of type number`); - } - if (!Number.isInteger(r)) { - throw new TypeError(`The "${t}" argument must be an integer`); - } - if (r < 1) { - throw new RangeError(`The "${t}" argument must be >= 1`); - } - } - return r === undefined ? Infinity : r; - } - function getItemCount(e) { - if (e === 1) { - return "1 item"; - } - return `${e} items`; - } - function getUniqueReplacerSet(e) { - const t = new Set; - for (const n of e){ - if (typeof n === "string" || typeof n === "number") { - t.add(String(n)); - } - } - return t; - } - function getStrictOption(e) { - if (n.call(e, "strict")) { - const t = e.strict; - if (typeof t !== "boolean") { - throw new TypeError('The "strict" argument must be of type boolean'); - } - if (t) { - return (e)=>{ - let t = `Object can not safely be stringified. Received type ${typeof e}`; - if (typeof e !== "function") t += ` (${e.toString()})`; - throw new Error(t); - }; - } - } - } - function configure(e) { - e = { - ...e - }; - const t = getStrictOption(e); - if (t) { - if (e.bigint === undefined) { - e.bigint = false; - } - if (!("circularValue" in e)) { - e.circularValue = Error; - } - } - const n = getCircularValueOption(e); - const r = getBooleanOption(e, "bigint"); - const i = getDeterministicOption(e); - const f = typeof i === "function" ? i : undefined; - const u = getPositiveIntegerOption(e, "maximumDepth"); - const o = getPositiveIntegerOption(e, "maximumBreadth"); - function stringifyFnReplacer(e, s, l, c, a, g) { - let p = s[e]; - if (typeof p === "object" && p !== null && typeof p.toJSON === "function") { - p = p.toJSON(e); - } - p = c.call(s, e, p); - switch(typeof p){ - case "string": - return strEscape(p); - case "object": - { - if (p === null) { - return "null"; - } - if (l.indexOf(p) !== -1) { - return n; - } - let e = ""; - let t = ","; - const r = g; - if (Array.isArray(p)) { - if (p.length === 0) { - return "[]"; - } - if (u < l.length + 1) { - return '"[Array]"'; - } - l.push(p); - if (a !== "") { - g += a; - e += `\n${g}`; - t = `,\n${g}`; - } - const n = Math.min(p.length, o); - let i = 0; - for(; i < n - 1; i++){ - const n = stringifyFnReplacer(String(i), p, l, c, a, g); - e += n !== undefined ? n : "null"; - e += t; - } - const f = stringifyFnReplacer(String(i), p, l, c, a, g); - e += f !== undefined ? f : "null"; - if (p.length - 1 > o) { - const n = p.length - o - 1; - e += `${t}"... ${getItemCount(n)} not stringified"`; - } - if (a !== "") { - e += `\n${r}`; - } - l.pop(); - return `[${e}]`; - } - let s = Object.keys(p); - const y = s.length; - if (y === 0) { - return "{}"; - } - if (u < l.length + 1) { - return '"[Object]"'; - } - let d = ""; - let h = ""; - if (a !== "") { - g += a; - t = `,\n${g}`; - d = " "; - } - const $ = Math.min(y, o); - if (i && !isTypedArrayWithEntries(p)) { - s = sort(s, f); - } - l.push(p); - for(let n = 0; n < $; n++){ - const r = s[n]; - const i = stringifyFnReplacer(r, p, l, c, a, g); - if (i !== undefined) { - e += `${h}${strEscape(r)}:${d}${i}`; - h = t; - } - } - if (y > o) { - const n = y - o; - e += `${h}"...":${d}"${getItemCount(n)} not stringified"`; - h = t; - } - if (a !== "" && h.length > 1) { - e = `\n${g}${e}\n${r}`; - } - l.pop(); - return `{${e}}`; - } - case "number": - return isFinite(p) ? String(p) : t ? t(p) : "null"; - case "boolean": - return p === true ? "true" : "false"; - case "undefined": - return undefined; - case "bigint": - if (r) { - return String(p); - } - default: - return t ? t(p) : undefined; - } - } - function stringifyArrayReplacer(e, i, f, s, l, c) { - if (typeof i === "object" && i !== null && typeof i.toJSON === "function") { - i = i.toJSON(e); - } - switch(typeof i){ - case "string": - return strEscape(i); - case "object": - { - if (i === null) { - return "null"; - } - if (f.indexOf(i) !== -1) { - return n; - } - const e = c; - let t = ""; - let r = ","; - if (Array.isArray(i)) { - if (i.length === 0) { - return "[]"; - } - if (u < f.length + 1) { - return '"[Array]"'; - } - f.push(i); - if (l !== "") { - c += l; - t += `\n${c}`; - r = `,\n${c}`; - } - const n = Math.min(i.length, o); - let a = 0; - for(; a < n - 1; a++){ - const e = stringifyArrayReplacer(String(a), i[a], f, s, l, c); - t += e !== undefined ? e : "null"; - t += r; - } - const g = stringifyArrayReplacer(String(a), i[a], f, s, l, c); - t += g !== undefined ? g : "null"; - if (i.length - 1 > o) { - const e = i.length - o - 1; - t += `${r}"... ${getItemCount(e)} not stringified"`; - } - if (l !== "") { - t += `\n${e}`; - } - f.pop(); - return `[${t}]`; - } - f.push(i); - let a = ""; - if (l !== "") { - c += l; - r = `,\n${c}`; - a = " "; - } - let g = ""; - for (const e of s){ - const n = stringifyArrayReplacer(e, i[e], f, s, l, c); - if (n !== undefined) { - t += `${g}${strEscape(e)}:${a}${n}`; - g = r; - } - } - if (l !== "" && g.length > 1) { - t = `\n${c}${t}\n${e}`; - } - f.pop(); - return `{${t}}`; - } - case "number": - return isFinite(i) ? String(i) : t ? t(i) : "null"; - case "boolean": - return i === true ? "true" : "false"; - case "undefined": - return undefined; - case "bigint": - if (r) { - return String(i); - } - default: - return t ? t(i) : undefined; - } - } - function stringifyIndent(e, s, l, c, a) { - switch(typeof s){ - case "string": - return strEscape(s); - case "object": - { - if (s === null) { - return "null"; - } - if (typeof s.toJSON === "function") { - s = s.toJSON(e); - if (typeof s !== "object") { - return stringifyIndent(e, s, l, c, a); - } - if (s === null) { - return "null"; - } - } - if (l.indexOf(s) !== -1) { - return n; - } - const t = a; - if (Array.isArray(s)) { - if (s.length === 0) { - return "[]"; - } - if (u < l.length + 1) { - return '"[Array]"'; - } - l.push(s); - a += c; - let e = `\n${a}`; - const n = `,\n${a}`; - const r = Math.min(s.length, o); - let i = 0; - for(; i < r - 1; i++){ - const t = stringifyIndent(String(i), s[i], l, c, a); - e += t !== undefined ? t : "null"; - e += n; - } - const f = stringifyIndent(String(i), s[i], l, c, a); - e += f !== undefined ? f : "null"; - if (s.length - 1 > o) { - const t = s.length - o - 1; - e += `${n}"... ${getItemCount(t)} not stringified"`; - } - e += `\n${t}`; - l.pop(); - return `[${e}]`; - } - let r = Object.keys(s); - const g = r.length; - if (g === 0) { - return "{}"; - } - if (u < l.length + 1) { - return '"[Object]"'; - } - a += c; - const p = `,\n${a}`; - let y = ""; - let d = ""; - let h = Math.min(g, o); - if (isTypedArrayWithEntries(s)) { - y += stringifyTypedArray(s, p, o); - r = r.slice(s.length); - h -= s.length; - d = p; - } - if (i) { - r = sort(r, f); - } - l.push(s); - for(let e = 0; e < h; e++){ - const t = r[e]; - const n = stringifyIndent(t, s[t], l, c, a); - if (n !== undefined) { - y += `${d}${strEscape(t)}: ${n}`; - d = p; - } - } - if (g > o) { - const e = g - o; - y += `${d}"...": "${getItemCount(e)} not stringified"`; - d = p; - } - if (d !== "") { - y = `\n${a}${y}\n${t}`; - } - l.pop(); - return `{${y}}`; - } - case "number": - return isFinite(s) ? String(s) : t ? t(s) : "null"; - case "boolean": - return s === true ? "true" : "false"; - case "undefined": - return undefined; - case "bigint": - if (r) { - return String(s); - } - default: - return t ? t(s) : undefined; - } - } - function stringifySimple(e, s, l) { - switch(typeof s){ - case "string": - return strEscape(s); - case "object": - { - if (s === null) { - return "null"; - } - if (typeof s.toJSON === "function") { - s = s.toJSON(e); - if (typeof s !== "object") { - return stringifySimple(e, s, l); - } - if (s === null) { - return "null"; - } - } - if (l.indexOf(s) !== -1) { - return n; - } - let t = ""; - const r = s.length !== undefined; - if (r && Array.isArray(s)) { - if (s.length === 0) { - return "[]"; - } - if (u < l.length + 1) { - return '"[Array]"'; - } - l.push(s); - const e = Math.min(s.length, o); - let n = 0; - for(; n < e - 1; n++){ - const e = stringifySimple(String(n), s[n], l); - t += e !== undefined ? e : "null"; - t += ","; - } - const r = stringifySimple(String(n), s[n], l); - t += r !== undefined ? r : "null"; - if (s.length - 1 > o) { - const e = s.length - o - 1; - t += `,"... ${getItemCount(e)} not stringified"`; - } - l.pop(); - return `[${t}]`; - } - let c = Object.keys(s); - const a = c.length; - if (a === 0) { - return "{}"; - } - if (u < l.length + 1) { - return '"[Object]"'; - } - let g = ""; - let p = Math.min(a, o); - if (r && isTypedArrayWithEntries(s)) { - t += stringifyTypedArray(s, ",", o); - c = c.slice(s.length); - p -= s.length; - g = ","; - } - if (i) { - c = sort(c, f); - } - l.push(s); - for(let e = 0; e < p; e++){ - const n = c[e]; - const r = stringifySimple(n, s[n], l); - if (r !== undefined) { - t += `${g}${strEscape(n)}:${r}`; - g = ","; - } - } - if (a > o) { - const e = a - o; - t += `${g}"...":"${getItemCount(e)} not stringified"`; - } - l.pop(); - return `{${t}}`; - } - case "number": - return isFinite(s) ? String(s) : t ? t(s) : "null"; - case "boolean": - return s === true ? "true" : "false"; - case "undefined": - return undefined; - case "bigint": - if (r) { - return String(s); - } - default: - return t ? t(s) : undefined; - } - } - function stringify(e, t, n) { - if (arguments.length > 1) { - let r = ""; - if (typeof n === "number") { - r = " ".repeat(Math.min(n, 10)); - } else if (typeof n === "string") { - r = n.slice(0, 10); - } - if (t != null) { - if (typeof t === "function") { - return stringifyFnReplacer("", { - "": e - }, [], t, r, ""); - } - if (Array.isArray(t)) { - return stringifyArrayReplacer("", e, [], getUniqueReplacerSet(t), r, ""); - } - } - if (r.length !== 0) { - return stringifyIndent("", e, [], r, ""); - } - } - return stringifySimple("", e, []); - } - return stringify; - } - } - }; - var t = {}; - function __nccwpck_require__(n) { - var r = t[n]; - if (r !== undefined) { - return r.exports; - } - var i = t[n] = { - exports: {} - }; - var f = true; - try { - e[n](i, i.exports, __nccwpck_require__); - f = false; - } finally{ - if (f) delete t[n]; - } - return i.exports; - } - if (typeof __nccwpck_require__ !== "undefined") __nccwpck_require__.ab = ("TURBOPACK compile-time value", "/ROOT/node_modules/next/dist/compiled/safe-stable-stringify") + "/"; - var n = __nccwpck_require__(879); - module.exports = n; -})(); -}), -"[project]/node_modules/next/dist/compiled/scheduler/cjs/scheduler.development.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -/** - * @license React - * scheduler.development.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ "use strict"; -"production" !== ("TURBOPACK compile-time value", "development") && function() { - function performWorkUntilDeadline() { - needsPaint = !1; - if (isMessageLoopRunning) { - var currentTime = exports.unstable_now(); - startTime = currentTime; - var hasMoreWork = !0; - try { - a: { - isHostCallbackScheduled = !1; - isHostTimeoutScheduled && (isHostTimeoutScheduled = !1, localClearTimeout(taskTimeoutID), taskTimeoutID = -1); - isPerformingWork = !0; - var previousPriorityLevel = currentPriorityLevel; - try { - b: { - advanceTimers(currentTime); - for(currentTask = peek(taskQueue); null !== currentTask && !(currentTask.expirationTime > currentTime && shouldYieldToHost());){ - var callback = currentTask.callback; - if ("function" === typeof callback) { - currentTask.callback = null; - currentPriorityLevel = currentTask.priorityLevel; - var continuationCallback = callback(currentTask.expirationTime <= currentTime); - currentTime = exports.unstable_now(); - if ("function" === typeof continuationCallback) { - currentTask.callback = continuationCallback; - advanceTimers(currentTime); - hasMoreWork = !0; - break b; - } - currentTask === peek(taskQueue) && pop(taskQueue); - advanceTimers(currentTime); - } else pop(taskQueue); - currentTask = peek(taskQueue); - } - if (null !== currentTask) hasMoreWork = !0; - else { - var firstTimer = peek(timerQueue); - null !== firstTimer && requestHostTimeout(handleTimeout, firstTimer.startTime - currentTime); - hasMoreWork = !1; - } - } - break a; - } finally{ - currentTask = null, currentPriorityLevel = previousPriorityLevel, isPerformingWork = !1; - } - hasMoreWork = void 0; - } - } finally{ - hasMoreWork ? schedulePerformWorkUntilDeadline() : isMessageLoopRunning = !1; - } - } - } - function push(heap, node) { - var index = heap.length; - heap.push(node); - a: for(; 0 < index;){ - var parentIndex = index - 1 >>> 1, parent = heap[parentIndex]; - if (0 < compare(parent, node)) heap[parentIndex] = node, heap[index] = parent, index = parentIndex; - else break a; - } - } - function peek(heap) { - return 0 === heap.length ? null : heap[0]; - } - function pop(heap) { - if (0 === heap.length) return null; - var first = heap[0], last = heap.pop(); - if (last !== first) { - heap[0] = last; - a: for(var index = 0, length = heap.length, halfLength = length >>> 1; index < halfLength;){ - var leftIndex = 2 * (index + 1) - 1, left = heap[leftIndex], rightIndex = leftIndex + 1, right = heap[rightIndex]; - if (0 > compare(left, last)) rightIndex < length && 0 > compare(right, left) ? (heap[index] = right, heap[rightIndex] = last, index = rightIndex) : (heap[index] = left, heap[leftIndex] = last, index = leftIndex); - else if (rightIndex < length && 0 > compare(right, last)) heap[index] = right, heap[rightIndex] = last, index = rightIndex; - else break a; - } - } - return first; - } - function compare(a, b) { - var diff = a.sortIndex - b.sortIndex; - return 0 !== diff ? diff : a.id - b.id; - } - function advanceTimers(currentTime) { - for(var timer = peek(timerQueue); null !== timer;){ - if (null === timer.callback) pop(timerQueue); - else if (timer.startTime <= currentTime) pop(timerQueue), timer.sortIndex = timer.expirationTime, push(taskQueue, timer); - else break; - timer = peek(timerQueue); - } - } - function handleTimeout(currentTime) { - isHostTimeoutScheduled = !1; - advanceTimers(currentTime); - if (!isHostCallbackScheduled) if (null !== peek(taskQueue)) isHostCallbackScheduled = !0, isMessageLoopRunning || (isMessageLoopRunning = !0, schedulePerformWorkUntilDeadline()); - else { - var firstTimer = peek(timerQueue); - null !== firstTimer && requestHostTimeout(handleTimeout, firstTimer.startTime - currentTime); - } - } - function shouldYieldToHost() { - return needsPaint ? !0 : exports.unstable_now() - startTime < frameInterval ? !1 : !0; - } - function requestHostTimeout(callback, ms) { - taskTimeoutID = localSetTimeout(function() { - callback(exports.unstable_now()); - }, ms); - } - "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()); - exports.unstable_now = void 0; - if ("object" === typeof performance && "function" === typeof performance.now) { - var localPerformance = performance; - exports.unstable_now = function() { - return localPerformance.now(); - }; - } else { - var localDate = Date, initialTime = localDate.now(); - exports.unstable_now = function() { - return localDate.now() - initialTime; - }; - } - var taskQueue = [], timerQueue = [], taskIdCounter = 1, currentTask = null, currentPriorityLevel = 3, isPerformingWork = !1, isHostCallbackScheduled = !1, isHostTimeoutScheduled = !1, needsPaint = !1, localSetTimeout = "function" === typeof setTimeout ? setTimeout : null, localClearTimeout = "function" === typeof clearTimeout ? clearTimeout : null, localSetImmediate = "undefined" !== typeof setImmediate ? setImmediate : null, isMessageLoopRunning = !1, taskTimeoutID = -1, frameInterval = 5, startTime = -1; - if ("function" === typeof localSetImmediate) var schedulePerformWorkUntilDeadline = function() { - localSetImmediate(performWorkUntilDeadline); - }; - else if ("undefined" !== typeof MessageChannel) { - var channel = new MessageChannel(), port = channel.port2; - channel.port1.onmessage = performWorkUntilDeadline; - schedulePerformWorkUntilDeadline = function() { - port.postMessage(null); - }; - } else schedulePerformWorkUntilDeadline = function() { - localSetTimeout(performWorkUntilDeadline, 0); - }; - exports.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(task) { - task.callback = null; - }; - exports.unstable_forceFrameRate = function(fps) { - 0 > fps || 125 < fps ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : frameInterval = 0 < fps ? Math.floor(1e3 / fps) : 5; - }; - exports.unstable_getCurrentPriorityLevel = function() { - return currentPriorityLevel; - }; - exports.unstable_next = function(eventHandler) { - switch(currentPriorityLevel){ - case 1: - case 2: - case 3: - var priorityLevel = 3; - break; - default: - priorityLevel = currentPriorityLevel; - } - var previousPriorityLevel = currentPriorityLevel; - currentPriorityLevel = priorityLevel; - try { - return eventHandler(); - } finally{ - currentPriorityLevel = previousPriorityLevel; - } - }; - exports.unstable_requestPaint = function() { - needsPaint = !0; - }; - exports.unstable_runWithPriority = function(priorityLevel, eventHandler) { - switch(priorityLevel){ - case 1: - case 2: - case 3: - case 4: - case 5: - break; - default: - priorityLevel = 3; - } - var previousPriorityLevel = currentPriorityLevel; - currentPriorityLevel = priorityLevel; - try { - return eventHandler(); - } finally{ - currentPriorityLevel = previousPriorityLevel; - } - }; - exports.unstable_scheduleCallback = function(priorityLevel, callback, options) { - var currentTime = exports.unstable_now(); - "object" === typeof options && null !== options ? (options = options.delay, options = "number" === typeof options && 0 < options ? currentTime + options : currentTime) : options = currentTime; - switch(priorityLevel){ - case 1: - var timeout = -1; - break; - case 2: - timeout = 250; - break; - case 5: - timeout = 1073741823; - break; - case 4: - timeout = 1e4; - break; - default: - timeout = 5e3; - } - timeout = options + timeout; - priorityLevel = { - id: taskIdCounter++, - callback: callback, - priorityLevel: priorityLevel, - startTime: options, - expirationTime: timeout, - sortIndex: -1 - }; - options > currentTime ? (priorityLevel.sortIndex = options, push(timerQueue, priorityLevel), null === peek(taskQueue) && priorityLevel === peek(timerQueue) && (isHostTimeoutScheduled ? (localClearTimeout(taskTimeoutID), taskTimeoutID = -1) : isHostTimeoutScheduled = !0, requestHostTimeout(handleTimeout, options - currentTime))) : (priorityLevel.sortIndex = timeout, push(taskQueue, priorityLevel), isHostCallbackScheduled || isPerformingWork || (isHostCallbackScheduled = !0, isMessageLoopRunning || (isMessageLoopRunning = !0, schedulePerformWorkUntilDeadline()))); - return priorityLevel; - }; - exports.unstable_shouldYield = shouldYieldToHost; - exports.unstable_wrapCallback = function(callback) { - var parentPriorityLevel = currentPriorityLevel; - return function() { - var previousPriorityLevel = currentPriorityLevel; - currentPriorityLevel = parentPriorityLevel; - try { - return callback.apply(this, arguments); - } finally{ - currentPriorityLevel = previousPriorityLevel; - } - }; - }; - "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error()); -}(); -}), -"[project]/node_modules/next/dist/compiled/scheduler/index.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -'use strict'; -if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable -; -else { - module.exports = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/scheduler/cjs/scheduler.development.js [app-client] (ecmascript)"); -} -}), -"[project]/node_modules/next/dist/compiled/strip-ansi/index.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { - -(()=>{ - "use strict"; - var e = { - 511: (e)=>{ - e.exports = ({ onlyFirst: e = false } = {})=>{ - const r = [ - "[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)", - "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))" - ].join("|"); - return new RegExp(r, e ? undefined : "g"); - }; - }, - 532: (e, r, _)=>{ - const t = _(511); - e.exports = (e)=>typeof e === "string" ? e.replace(t(), "") : e; - } - }; - var r = {}; - function __nccwpck_require__(_) { - var t = r[_]; - if (t !== undefined) { - return t.exports; - } - var a = r[_] = { - exports: {} - }; - var n = true; - try { - e[_](a, a.exports, __nccwpck_require__); - n = false; - } finally{ - if (n) delete r[_]; - } - return a.exports; - } - if (typeof __nccwpck_require__ !== "undefined") __nccwpck_require__.ab = ("TURBOPACK compile-time value", "/ROOT/node_modules/next/dist/compiled/strip-ansi") + "/"; - var _ = __nccwpck_require__(532); - module.exports = _; -})(); -}), -]); - -//# sourceMappingURL=node_modules_next_dist_compiled_a0e4c7b4._.js.map \ No newline at end of file diff --git a/.next/dev/static/chunks/node_modules_next_dist_compiled_a0e4c7b4._.js.map b/.next/dev/static/chunks/node_modules_next_dist_compiled_a0e4c7b4._.js.map deleted file mode 100644 index 7ada6ac..0000000 --- a/.next/dev/static/chunks/node_modules_next_dist_compiled_a0e4c7b4._.js.map +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 3, - "sources": [], - "sections": [ - {"offset": {"line": 3, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/dist/compiled/process/browser.js"],"sourcesContent":["(function(){var e={229:function(e){var t=e.exports={};var r;var n;function defaultSetTimout(){throw new Error(\"setTimeout has not been defined\")}function defaultClearTimeout(){throw new Error(\"clearTimeout has not been defined\")}(function(){try{if(typeof setTimeout===\"function\"){r=setTimeout}else{r=defaultSetTimout}}catch(e){r=defaultSetTimout}try{if(typeof clearTimeout===\"function\"){n=clearTimeout}else{n=defaultClearTimeout}}catch(e){n=defaultClearTimeout}})();function runTimeout(e){if(r===setTimeout){return setTimeout(e,0)}if((r===defaultSetTimout||!r)&&setTimeout){r=setTimeout;return setTimeout(e,0)}try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}function runClearTimeout(e){if(n===clearTimeout){return clearTimeout(e)}if((n===defaultClearTimeout||!n)&&clearTimeout){n=clearTimeout;return clearTimeout(e)}try{return n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}var i=[];var o=false;var u;var a=-1;function cleanUpNextTick(){if(!o||!u){return}o=false;if(u.length){i=u.concat(i)}else{a=-1}if(i.length){drainQueue()}}function drainQueue(){if(o){return}var e=runTimeout(cleanUpNextTick);o=true;var t=i.length;while(t){u=i;i=[];while(++a<t){if(u){u[a].run()}}a=-1;t=i.length}u=null;o=false;runClearTimeout(e)}t.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1){for(var r=1;r<arguments.length;r++){t[r-1]=arguments[r]}}i.push(new Item(e,t));if(i.length===1&&!o){runTimeout(drainQueue)}};function Item(e,t){this.fun=e;this.array=t}Item.prototype.run=function(){this.fun.apply(null,this.array)};t.title=\"browser\";t.browser=true;t.env={};t.argv=[];t.version=\"\";t.versions={};function noop(){}t.on=noop;t.addListener=noop;t.once=noop;t.off=noop;t.removeListener=noop;t.removeAllListeners=noop;t.emit=noop;t.prependListener=noop;t.prependOnceListener=noop;t.listeners=function(e){return[]};t.binding=function(e){throw new Error(\"process.binding is not supported\")};t.cwd=function(){return\"/\"};t.chdir=function(e){throw new Error(\"process.chdir is not supported\")};t.umask=function(){return 0}}};var t={};function __nccwpck_require__(r){var n=t[r];if(n!==undefined){return n.exports}var i=t[r]={exports:{}};var o=true;try{e[r](i,i.exports,__nccwpck_require__);o=false}finally{if(o)delete t[r]}return i.exports}if(typeof __nccwpck_require__!==\"undefined\")__nccwpck_require__.ab=__dirname+\"/\";var r=__nccwpck_require__(229);module.exports=r})();"],"names":[],"mappings":"AAAA,CAAC;IAAW,IAAI,IAAE;QAAC,KAAI,SAAS,CAAC;YAAE,IAAI,IAAE,EAAE,OAAO,GAAC,CAAC;YAAE,IAAI;YAAE,IAAI;YAAE,SAAS;gBAAmB,MAAM,IAAI,MAAM;YAAkC;YAAC,SAAS;gBAAsB,MAAM,IAAI,MAAM;YAAoC;YAAC,CAAC;gBAAW,IAAG;oBAAC,IAAG,OAAO,eAAa,YAAW;wBAAC,IAAE;oBAAU,OAAK;wBAAC,IAAE;oBAAgB;gBAAC,EAAC,OAAM,GAAE;oBAAC,IAAE;gBAAgB;gBAAC,IAAG;oBAAC,IAAG,OAAO,iBAAe,YAAW;wBAAC,IAAE;oBAAY,OAAK;wBAAC,IAAE;oBAAmB;gBAAC,EAAC,OAAM,GAAE;oBAAC,IAAE;gBAAmB;YAAC,CAAC;YAAI,SAAS,WAAW,CAAC;gBAAE,IAAG,MAAI,YAAW;oBAAC,OAAO,WAAW,GAAE;gBAAE;gBAAC,IAAG,CAAC,MAAI,oBAAkB,C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,EAAE,GAAG,GAAC;gBAAW,OAAM;YAAG;YAAE,EAAE,KAAK,GAAC,SAAS,CAAC;gBAAE,MAAM,IAAI,MAAM;YAAiC;YAAE,EAAE,KAAK,GAAC;gBAAW,OAAO;YAAC;QAAC;IAAC;IAAE,IAAI,IAAE,CAAC;IAAE,SAAS,oBAAoB,CAAC;QAAE,IAAI,IAAE,CAAC,CAAC,EAAE;QAAC,IAAG,MAAI,WAAU;YAAC,OAAO,EAAE,OAAO;QAAA;QAAC,IAAI,IAAE,CAAC,CAAC,EAAE,GAAC;YAAC,SAAQ,CAAC;QAAC;QAAE,IAAI,IAAE;QAAK,IAAG;YAAC,CAAC,CAAC,EAAE,CAAC,GAAE,EAAE,OAAO,EAAC;YAAqB,IAAE;QAAK,SAAQ;YAAC,IAAG,GAAE,OAAO,CAAC,CAAC,EAAE;QAAA;QAAC,OAAO,EAAE,OAAO;IAAA;IAAC,IAAG,OAAO,wBAAsB,aAAY,oBAAoB,EAAE,GAAC,oFAAU;IAAI,IAAI,IAAE,oBAAoB;IAAK,OAAO,OAAO,GAAC;AAAC,CAAC","ignoreList":[0]}}, - {"offset": {"line": 189, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/dist/compiled/react-refresh/cjs/react-refresh-runtime.development.js"],"sourcesContent":["/**\n * @license React\n * react-refresh-runtime.development.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\n'use strict';\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n'use strict';\n\n// ATTENTION\nvar REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');\nvar REACT_MEMO_TYPE = Symbol.for('react.memo');\n\nvar PossiblyWeakMap = typeof WeakMap === 'function' ? WeakMap : Map; // We never remove these associations.\n// It's OK to reference families, but use WeakMap/Set for types.\n\nvar allFamiliesByID = new Map();\nvar allFamiliesByType = new PossiblyWeakMap();\nvar allSignaturesByType = new PossiblyWeakMap(); // This WeakMap is read by React, so we only put families\n// that have actually been edited here. This keeps checks fast.\n// $FlowIssue\n\nvar updatedFamiliesByType = new PossiblyWeakMap(); // This is cleared on every performReactRefresh() call.\n// It is an array of [Family, NextType] tuples.\n\nvar pendingUpdates = []; // This is injected by the renderer via DevTools global hook.\n\nvar helpersByRendererID = new Map();\nvar helpersByRoot = new Map(); // We keep track of mounted roots so we can schedule updates.\n\nvar mountedRoots = new Set(); // If a root captures an error, we remember it so we can retry on edit.\n\nvar failedRoots = new Set(); // In environments that support WeakMap, we also remember the last element for every root.\n// It needs to be weak because we do this even for roots that failed to mount.\n// If there is no WeakMap, we won't attempt to do retrying.\n// $FlowIssue\n\nvar rootElements = // $FlowIssue\ntypeof WeakMap === 'function' ? new WeakMap() : null;\nvar isPerformingRefresh = false;\n\nfunction computeFullKey(signature) {\n if (signature.fullKey !== null) {\n return signature.fullKey;\n }\n\n var fullKey = signature.ownKey;\n var hooks;\n\n try {\n hooks = signature.getCustomHooks();\n } catch (err) {\n // This can happen in an edge case, e.g. if expression like Foo.useSomething\n // depends on Foo which is lazily initialized during rendering.\n // In that case just assume we'll have to remount.\n signature.forceReset = true;\n signature.fullKey = fullKey;\n return fullKey;\n }\n\n for (var i = 0; i < hooks.length; i++) {\n var hook = hooks[i];\n\n if (typeof hook !== 'function') {\n // Something's wrong. Assume we need to remount.\n signature.forceReset = true;\n signature.fullKey = fullKey;\n return fullKey;\n }\n\n var nestedHookSignature = allSignaturesByType.get(hook);\n\n if (nestedHookSignature === undefined) {\n // No signature means Hook wasn't in the source code, e.g. in a library.\n // We'll skip it because we can assume it won't change during this session.\n continue;\n }\n\n var nestedHookKey = computeFullKey(nestedHookSignature);\n\n if (nestedHookSignature.forceReset) {\n signature.forceReset = true;\n }\n\n fullKey += '\\n---\\n' + nestedHookKey;\n }\n\n signature.fullKey = fullKey;\n return fullKey;\n}\n\nfunction haveEqualSignatures(prevType, nextType) {\n var prevSignature = allSignaturesByType.get(prevType);\n var nextSignature = allSignaturesByType.get(nextType);\n\n if (prevSignature === undefined && nextSignature === undefined) {\n return true;\n }\n\n if (prevSignature === undefined || nextSignature === undefined) {\n return false;\n }\n\n if (computeFullKey(prevSignature) !== computeFullKey(nextSignature)) {\n return false;\n }\n\n if (nextSignature.forceReset) {\n return false;\n }\n\n return true;\n}\n\nfunction isReactClass(type) {\n return type.prototype && type.prototype.isReactComponent;\n}\n\nfunction canPreserveStateBetween(prevType, nextType) {\n if (isReactClass(prevType) || isReactClass(nextType)) {\n return false;\n }\n\n if (haveEqualSignatures(prevType, nextType)) {\n return true;\n }\n\n return false;\n}\n\nfunction resolveFamily(type) {\n // Only check updated types to keep lookups fast.\n return updatedFamiliesByType.get(type);\n} // If we didn't care about IE11, we could use new Map/Set(iterable).\n\n\nfunction cloneMap(map) {\n var clone = new Map();\n map.forEach(function (value, key) {\n clone.set(key, value);\n });\n return clone;\n}\n\nfunction cloneSet(set) {\n var clone = new Set();\n set.forEach(function (value) {\n clone.add(value);\n });\n return clone;\n} // This is a safety mechanism to protect against rogue getters and Proxies.\n\n\nfunction getProperty(object, property) {\n try {\n return object[property];\n } catch (err) {\n // Intentionally ignore.\n return undefined;\n }\n}\n\nfunction performReactRefresh() {\n\n if (pendingUpdates.length === 0) {\n return null;\n }\n\n if (isPerformingRefresh) {\n return null;\n }\n\n isPerformingRefresh = true;\n\n try {\n var staleFamilies = new Set();\n var updatedFamilies = new Set();\n var updates = pendingUpdates;\n pendingUpdates = [];\n updates.forEach(function (_ref) {\n var family = _ref[0],\n nextType = _ref[1];\n // Now that we got a real edit, we can create associations\n // that will be read by the React reconciler.\n var prevType = family.current;\n updatedFamiliesByType.set(prevType, family);\n updatedFamiliesByType.set(nextType, family);\n family.current = nextType; // Determine whether this should be a re-render or a re-mount.\n\n if (canPreserveStateBetween(prevType, nextType)) {\n updatedFamilies.add(family);\n } else {\n staleFamilies.add(family);\n }\n }); // TODO: rename these fields to something more meaningful.\n\n var update = {\n updatedFamilies: updatedFamilies,\n // Families that will re-render preserving state\n staleFamilies: staleFamilies // Families that will be remounted\n\n };\n helpersByRendererID.forEach(function (helpers) {\n // Even if there are no roots, set the handler on first update.\n // This ensures that if *new* roots are mounted, they'll use the resolve handler.\n helpers.setRefreshHandler(resolveFamily);\n });\n var didError = false;\n var firstError = null; // We snapshot maps and sets that are mutated during commits.\n // If we don't do this, there is a risk they will be mutated while\n // we iterate over them. For example, trying to recover a failed root\n // may cause another root to be added to the failed list -- an infinite loop.\n\n var failedRootsSnapshot = cloneSet(failedRoots);\n var mountedRootsSnapshot = cloneSet(mountedRoots);\n var helpersByRootSnapshot = cloneMap(helpersByRoot);\n failedRootsSnapshot.forEach(function (root) {\n var helpers = helpersByRootSnapshot.get(root);\n\n if (helpers === undefined) {\n throw new Error('Could not find helpers for a root. This is a bug in React Refresh.');\n }\n\n if (!failedRoots.has(root)) {// No longer failed.\n }\n\n if (rootElements === null) {\n return;\n }\n\n if (!rootElements.has(root)) {\n return;\n }\n\n var element = rootElements.get(root);\n\n try {\n helpers.scheduleRoot(root, element);\n } catch (err) {\n if (!didError) {\n didError = true;\n firstError = err;\n } // Keep trying other roots.\n\n }\n });\n mountedRootsSnapshot.forEach(function (root) {\n var helpers = helpersByRootSnapshot.get(root);\n\n if (helpers === undefined) {\n throw new Error('Could not find helpers for a root. This is a bug in React Refresh.');\n }\n\n if (!mountedRoots.has(root)) {// No longer mounted.\n }\n\n try {\n helpers.scheduleRefresh(root, update);\n } catch (err) {\n if (!didError) {\n didError = true;\n firstError = err;\n } // Keep trying other roots.\n\n }\n });\n\n if (didError) {\n throw firstError;\n }\n\n return update;\n } finally {\n isPerformingRefresh = false;\n }\n}\nfunction register(type, id) {\n {\n if (type === null) {\n return;\n }\n\n if (typeof type !== 'function' && typeof type !== 'object') {\n return;\n } // This can happen in an edge case, e.g. if we register\n // return value of a HOC but it returns a cached component.\n // Ignore anything but the first registration for each type.\n\n\n if (allFamiliesByType.has(type)) {\n return;\n } // Create family or remember to update it.\n // None of this bookkeeping affects reconciliation\n // until the first performReactRefresh() call above.\n\n\n var family = allFamiliesByID.get(id);\n\n if (family === undefined) {\n family = {\n current: type\n };\n allFamiliesByID.set(id, family);\n } else {\n pendingUpdates.push([family, type]);\n }\n\n allFamiliesByType.set(type, family); // Visit inner types because we might not have registered them.\n\n if (typeof type === 'object' && type !== null) {\n switch (getProperty(type, '$$typeof')) {\n case REACT_FORWARD_REF_TYPE:\n register(type.render, id + '$render');\n break;\n\n case REACT_MEMO_TYPE:\n register(type.type, id + '$type');\n break;\n }\n }\n }\n}\nfunction setSignature(type, key) {\n var forceReset = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n var getCustomHooks = arguments.length > 3 ? arguments[3] : undefined;\n\n {\n if (!allSignaturesByType.has(type)) {\n allSignaturesByType.set(type, {\n forceReset: forceReset,\n ownKey: key,\n fullKey: null,\n getCustomHooks: getCustomHooks || function () {\n return [];\n }\n });\n } // Visit inner types because we might not have signed them.\n\n\n if (typeof type === 'object' && type !== null) {\n switch (getProperty(type, '$$typeof')) {\n case REACT_FORWARD_REF_TYPE:\n setSignature(type.render, key, forceReset, getCustomHooks);\n break;\n\n case REACT_MEMO_TYPE:\n setSignature(type.type, key, forceReset, getCustomHooks);\n break;\n }\n }\n }\n} // This is lazily called during first render for a type.\n// It captures Hook list at that time so inline requires don't break comparisons.\n\nfunction collectCustomHooksForSignature(type) {\n {\n var signature = allSignaturesByType.get(type);\n\n if (signature !== undefined) {\n computeFullKey(signature);\n }\n }\n}\nfunction getFamilyByID(id) {\n {\n return allFamiliesByID.get(id);\n }\n}\nfunction getFamilyByType(type) {\n {\n return allFamiliesByType.get(type);\n }\n}\nfunction findAffectedHostInstances(families) {\n {\n var affectedInstances = new Set();\n mountedRoots.forEach(function (root) {\n var helpers = helpersByRoot.get(root);\n\n if (helpers === undefined) {\n throw new Error('Could not find helpers for a root. This is a bug in React Refresh.');\n }\n\n var instancesForRoot = helpers.findHostInstancesForRefresh(root, families);\n instancesForRoot.forEach(function (inst) {\n affectedInstances.add(inst);\n });\n });\n return affectedInstances;\n }\n}\nfunction injectIntoGlobalHook(globalObject) {\n {\n // For React Native, the global hook will be set up by require('react-devtools-core').\n // That code will run before us. So we need to monkeypatch functions on existing hook.\n // For React Web, the global hook will be set up by the extension.\n // This will also run before us.\n var hook = globalObject.__REACT_DEVTOOLS_GLOBAL_HOOK__;\n\n if (hook === undefined) {\n // However, if there is no DevTools extension, we'll need to set up the global hook ourselves.\n // Note that in this case it's important that renderer code runs *after* this method call.\n // Otherwise, the renderer will think that there is no global hook, and won't do the injection.\n var nextID = 0;\n globalObject.__REACT_DEVTOOLS_GLOBAL_HOOK__ = hook = {\n renderers: new Map(),\n supportsFiber: true,\n inject: function (injected) {\n return nextID++;\n },\n onScheduleFiberRoot: function (id, root, children) {},\n onCommitFiberRoot: function (id, root, maybePriorityLevel, didError) {},\n onCommitFiberUnmount: function () {}\n };\n }\n\n if (hook.isDisabled) {\n // This isn't a real property on the hook, but it can be set to opt out\n // of DevTools integration and associated warnings and logs.\n // Using console['warn'] to evade Babel and ESLint\n console['warn']('Something has shimmed the React DevTools global hook (__REACT_DEVTOOLS_GLOBAL_HOOK__). ' + 'Fast Refresh is not compatible with this shim and will be disabled.');\n return;\n } // Here, we just want to get a reference to scheduleRefresh.\n\n\n var oldInject = hook.inject;\n\n hook.inject = function (injected) {\n var id = oldInject.apply(this, arguments);\n\n if (typeof injected.scheduleRefresh === 'function' && typeof injected.setRefreshHandler === 'function') {\n // This version supports React Refresh.\n helpersByRendererID.set(id, injected);\n }\n\n return id;\n }; // Do the same for any already injected roots.\n // This is useful if ReactDOM has already been initialized.\n // https://github.com/facebook/react/issues/17626\n\n\n hook.renderers.forEach(function (injected, id) {\n if (typeof injected.scheduleRefresh === 'function' && typeof injected.setRefreshHandler === 'function') {\n // This version supports React Refresh.\n helpersByRendererID.set(id, injected);\n }\n }); // We also want to track currently mounted roots.\n\n var oldOnCommitFiberRoot = hook.onCommitFiberRoot;\n\n var oldOnScheduleFiberRoot = hook.onScheduleFiberRoot || function () {};\n\n hook.onScheduleFiberRoot = function (id, root, children) {\n if (!isPerformingRefresh) {\n // If it was intentionally scheduled, don't attempt to restore.\n // This includes intentionally scheduled unmounts.\n failedRoots.delete(root);\n\n if (rootElements !== null) {\n rootElements.set(root, children);\n }\n }\n\n return oldOnScheduleFiberRoot.apply(this, arguments);\n };\n\n hook.onCommitFiberRoot = function (id, root, maybePriorityLevel, didError) {\n var helpers = helpersByRendererID.get(id);\n\n if (helpers !== undefined) {\n helpersByRoot.set(root, helpers);\n var current = root.current;\n var alternate = current.alternate; // We need to determine whether this root has just (un)mounted.\n // This logic is copy-pasted from similar logic in the DevTools backend.\n // If this breaks with some refactoring, you'll want to update DevTools too.\n\n if (alternate !== null) {\n var wasMounted = alternate.memoizedState != null && alternate.memoizedState.element != null && mountedRoots.has(root);\n var isMounted = current.memoizedState != null && current.memoizedState.element != null;\n\n if (!wasMounted && isMounted) {\n // Mount a new root.\n mountedRoots.add(root);\n failedRoots.delete(root);\n } else if (wasMounted && isMounted) ; else if (wasMounted && !isMounted) {\n // Unmount an existing root.\n mountedRoots.delete(root);\n\n if (didError) {\n // We'll remount it on future edits.\n failedRoots.add(root);\n } else {\n helpersByRoot.delete(root);\n }\n } else if (!wasMounted && !isMounted) {\n if (didError) {\n // We'll remount it on future edits.\n failedRoots.add(root);\n }\n }\n } else {\n // Mount a new root.\n mountedRoots.add(root);\n }\n } // Always call the decorated DevTools hook.\n\n\n return oldOnCommitFiberRoot.apply(this, arguments);\n };\n }\n}\nfunction hasUnrecoverableErrors() {\n // TODO: delete this after removing dependency in RN.\n return false;\n} // Exposed for testing.\n\nfunction _getMountedRootCount() {\n {\n return mountedRoots.size;\n }\n} // This is a wrapper over more primitive functions for setting signature.\n// Signatures let us decide whether the Hook order has changed on refresh.\n//\n// This function is intended to be used as a transform target, e.g.:\n// var _s = createSignatureFunctionForTransform()\n//\n// function Hello() {\n// const [foo, setFoo] = useState(0);\n// const value = useCustomHook();\n// _s(); /* Call without arguments triggers collecting the custom Hook list.\n// * This doesn't happen during the module evaluation because we\n// * don't want to change the module order with inline requires.\n// * Next calls are noops. */\n// return <h1>Hi</h1>;\n// }\n//\n// /* Call with arguments attaches the signature to the type: */\n// _s(\n// Hello,\n// 'useState{[foo, setFoo]}(0)',\n// () => [useCustomHook], /* Lazy to avoid triggering inline requires */\n// );\n\nfunction createSignatureFunctionForTransform() {\n {\n var savedType;\n var hasCustomHooks;\n var didCollectHooks = false;\n return function (type, key, forceReset, getCustomHooks) {\n if (typeof key === 'string') {\n // We're in the initial phase that associates signatures\n // with the functions. Note this may be called multiple times\n // in HOC chains like _s(hoc1(_s(hoc2(_s(actualFunction))))).\n if (!savedType) {\n // We're in the innermost call, so this is the actual type.\n savedType = type;\n hasCustomHooks = typeof getCustomHooks === 'function';\n } // Set the signature for all types (even wrappers!) in case\n // they have no signatures of their own. This is to prevent\n // problems like https://github.com/facebook/react/issues/20417.\n\n\n if (type != null && (typeof type === 'function' || typeof type === 'object')) {\n setSignature(type, key, forceReset, getCustomHooks);\n }\n\n return type;\n } else {\n // We're in the _s() call without arguments, which means\n // this is the time to collect custom Hook signatures.\n // Only do this once. This path is hot and runs *inside* every render!\n if (!didCollectHooks && hasCustomHooks) {\n didCollectHooks = true;\n collectCustomHooksForSignature(savedType);\n }\n }\n };\n }\n}\nfunction isLikelyComponentType(type) {\n {\n switch (typeof type) {\n case 'function':\n {\n // First, deal with classes.\n if (type.prototype != null) {\n if (type.prototype.isReactComponent) {\n // React class.\n return true;\n }\n\n var ownNames = Object.getOwnPropertyNames(type.prototype);\n\n if (ownNames.length > 1 || ownNames[0] !== 'constructor') {\n // This looks like a class.\n return false;\n } // eslint-disable-next-line no-proto\n\n\n if (type.prototype.__proto__ !== Object.prototype) {\n // It has a superclass.\n return false;\n } // Pass through.\n // This looks like a regular function with empty prototype.\n\n } // For plain functions and arrows, use name as a heuristic.\n\n\n var name = type.name || type.displayName;\n return typeof name === 'string' && /^[A-Z]/.test(name);\n }\n\n case 'object':\n {\n if (type != null) {\n switch (getProperty(type, '$$typeof')) {\n case REACT_FORWARD_REF_TYPE:\n case REACT_MEMO_TYPE:\n // Definitely React components.\n return true;\n\n default:\n return false;\n }\n }\n\n return false;\n }\n\n default:\n {\n return false;\n }\n }\n }\n}\n\nexports._getMountedRootCount = _getMountedRootCount;\nexports.collectCustomHooksForSignature = collectCustomHooksForSignature;\nexports.createSignatureFunctionForTransform = createSignatureFunctionForTransform;\nexports.findAffectedHostInstances = findAffectedHostInstances;\nexports.getFamilyByID = getFamilyByID;\nexports.getFamilyByType = getFamilyByType;\nexports.hasUnrecoverableErrors = hasUnrecoverableErrors;\nexports.injectIntoGlobalHook = injectIntoGlobalHook;\nexports.isLikelyComponentType = isLikelyComponentType;\nexports.performReactRefresh = performReactRefresh;\nexports.register = register;\nexports.setSignature = setSignature;\n })();\n}\n"],"names":[],"mappings":"AAYI;AAZJ;;;;;;;;CAQC,GAED;AAEA,wCAA2C;IACzC,CAAC;QACH;QAEA,YAAY;QACZ,IAAI,yBAAyB,OAAO,GAAG,CAAC;QACxC,IAAI,kBAAkB,OAAO,GAAG,CAAC;QAEjC,IAAI,kBAAkB,OAAO,YAAY,aAAa,UAAU,KAAK,sCAAsC;QAC3G,gEAAgE;QAEhE,IAAI,kBAAkB,IAAI;QAC1B,IAAI,oBAAoB,IAAI;QAC5B,IAAI,sBAAsB,IAAI,mBAAmB,yDAAyD;QAC1G,+DAA+D;QAC/D,aAAa;QAEb,IAAI,wBAAwB,IAAI,mBAAmB,uDAAuD;QAC1G,+CAA+C;QAE/C,IAAI,iBAAiB,EAAE,EAAE,6DAA6D;QAEtF,IAAI,sBAAsB,IAAI;QAC9B,IAAI,gBAAgB,IAAI,OAAO,6DAA6D;QAE5F,IAAI,eAAe,IAAI,OAAO,uEAAuE;QAErG,IAAI,cAAc,IAAI,OAAO,0FAA0F;QACvH,8EAA8E;QAC9E,2DAA2D;QAC3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C,KAAK,SAAS;gCAExD,IAAI,SAAS,MAAM,GAAG,KAAK,QAAQ,CAAC,EAAE,KAAK,eAAe;oCACxD,2BAA2B;oCAC3B,OAAO;gCACT,EAAE,oCAAoC;gCAGtC,IAAI,KAAK,SAAS,CAAC,SAAS,KAAK,OAAO,SAAS,EAAE;oCACjD,uBAAuB;oCACvB,OAAO;gCACT,EAAE,gBAAgB;4BAClB,2DAA2D;4BAE7D,EAAE,2DAA2D;4BAG7D,IAAI,OAAO,KAAK,IAAI,IAAI,KAAK,WAAW;4BACxC,OAAO,OAAO,SAAS,YAAY,SAAS,IAAI,CAAC;wBACnD;oBAEF,KAAK;wBACH;4BACE,IAAI,QAAQ,MAAM;gCAChB,OAAQ,YAAY,MAAM;oCACxB,KAAK;oCACL,KAAK;wCACH,+BAA+B;wCAC/B,OAAO;oCAET;wCACE,OAAO;gCACX;4BACF;4BAEA,OAAO;wBACT;oBAEF;wBACE;4BACE,OAAO;wBACT;gBACJ;YACF;QACF;QAEA,QAAQ,oBAAoB,GAAG;QAC/B,QAAQ,8BAA8B,GAAG;QACzC,QAAQ,mCAAmC,GAAG;QAC9C,QAAQ,yBAAyB,GAAG;QACpC,QAAQ,aAAa,GAAG;QACxB,QAAQ,eAAe,GAAG;QAC1B,QAAQ,sBAAsB,GAAG;QACjC,QAAQ,oBAAoB,GAAG;QAC/B,QAAQ,qBAAqB,GAAG;QAChC,QAAQ,mBAAmB,GAAG;QAC9B,QAAQ,QAAQ,GAAG;QACnB,QAAQ,YAAY,GAAG;IACrB,CAAC;AACH","ignoreList":[0]}}, - {"offset": {"line": 734, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/dist/compiled/react-refresh/runtime.js"],"sourcesContent":["'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-refresh-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-refresh-runtime.development.js');\n}\n"],"names":[],"mappings":"AAEI;AAFJ;AAEA;;KAEO;IACL,OAAO,OAAO;AAChB","ignoreList":[0]}}, - {"offset": {"line": 745, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/internal/helpers.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/dist/compiled/%40next/react-refresh-utils/internal/helpers.ts"],"sourcesContent":["unable to read source [project]/node_modules/next/dist/compiled/@next/react-refresh-utils/internal/helpers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;;;;;;;;AAEH,+EAA+E;AAC/E,2BAA2B;AAC3B,EAAE;AACF,8HAA8H;AAE9H,MAAA,YAAA,kDAAkD;AAsBlD,SAAS,YAAY,CAAC,GAAW;IAC/B,OAAO,AACL,GAAG,KAAK,YAAY,IACpB,GAAG,KAAK,SAAS,IACjB,GAAG,KAAK,SAAS,IACjB,qEAAqE;IACrE,GAAG,KAAK,QAAQ,CACjB,CAAA;AACH,CAAC;AAED,SAAS,8BAA8B,CACrC,aAAsB,EACtB,QAAgB;IAEhB,UAAA,OAAc,CAAC,QAAQ,CAAC,aAAa,EAAE,QAAQ,GAAG,YAAY,CAAC,CAAA;IAC/D,IAAI,aAAa,IAAI,IAAI,IAAI,OAAO,aAAa,KAAK,QAAQ,EAAE,CAAC;QAC/D,yCAAyC;QACzC,+CAA+C;QAC/C,OAAM;IACR,CAAC;IACD,IAAK,IAAI,GAAG,IAAI,aAAa,CAAE,CAAC;QAC9B,IAAI,YAAY,CAAC,GAAG,CAAC,EAAE,CAAC;YACtB,SAAQ;QACV,CAAC;QACD,IAAI,CAAC;YACH,IAAI,WAAW,GAAG,aAAa,CAAC,GAAG,CAAC,CAAA;QACtC,CAAC,CAAC,OAAA,IAAM,CAAC;YAEP,SAAQ;QACV,CAAC;QACD,IAAI,MAAM,GAAG,QAAQ,GAAG,aAAa,GAAG,GAAG,CAAA;QAC3C,UAAA,OAAc,CAAC,QAAQ,CAAC,WAAW,EAAE,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AC;IAED,IAAI,cAAc,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,EAAE,CAAC,EAAE,CAAC;QACxC,iCAAiC;QACjC,OAAO,CAAC,OAAO,EAAE,CAAC,IAAI,CAAC,GAAG,EAAE;YAC1B,WAAW,EAAE,CAAA;QACf,CAAC,CAAC,CAAA;QACF,OAAM;IACR,CAAC;IAED,MAAM,aAAa,GAAG,CAAC,MAAM,EAAE,EAAE;QAC/B,IAAI,cAAc,CAAC,MAAM,CAAC,EAAE,CAAC;YAC3B,MAAM,CAAC,GAAG,CAAC,mBAAmB,CAAC,aAAa,CAAC,CAAA;YAC7C,WAAW,EAAE,CAAA;QACf,CAAC;IACH,CAAC,CAAA;IAED,sDAAsD;IACtD,MAAM,CAAC,GAAG,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAA;AAC5C,CAAC;AAED,mCAAmC;AACnC,QAAA,OAAA,GAAe;IACb,8BAA8B,EAAE,8BAA8B;IAC9D,sBAAsB,EAAE,sBAAsB;IAC9C,oCAAoC,EAAE,oCAAoC;IAC1E,2BAA2B,EAAE,2BAA2B;IACxD,cAAc,EAAE,cAAc;CAC/B,CAAA"}}, - {"offset": {"line": 910, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js","sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/dist/compiled/%40next/react-refresh-utils/runtime.ts"],"sourcesContent":["unable to read source [project]/node_modules/next/dist/compiled/@next/react-refresh-utils/runtime.ts"],"names":[],"mappings":";;;;;;;;AAAA,MAAA,YAAA,kDAAkD;AAClD,MAAA,YAAA,+CAA+C;AAW/C,oCAAoC;AACpC,UAAA,OAAc,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAA;AAEzC,0BAA0B;AAC1B,IAAI,CAAC,gBAAgB,GAAG,UAAA,OAAc,CAAA;AAEtC,sDAAsD;AACtD,IAAI,CAAC,iCAAiC,GAAG,SAAU,eAAe;IAChE,IAAI,cAAc,GAAG,IAAI,CAAC,YAAY,CAAA;IACtC,IAAI,cAAc,GAAG,IAAI,CAAC,YAAY,CAAA;IAEtC,IAAI,CAAC,YAAY,GAAG,SAAU,IAAI,EAAE,EAAE;QACpC,UAAA,OAAc,CAAC,QAAQ,CAAC,IAAI,EAAE,eAAe,GAAG,GAAG,GAAG,EAAE,CAAC,CAAA;IAC3D,CAAC,CAAA;IACD,IAAI,CAAC,YAAY,GAAG,UAAA,OAAc,CAAC,mCAAmC,CAAA;IAEtE,6CAA6C;IAC7C,kFAAkF;IAClF,OAAO;QACL,IAAI,CAAC,YAAY,GAAG,cAAc,CAAA;QAClC,IAAI,CAAC,YAAY,GAAG,cAAc,CAAA;IACpC,CAAC,CAAA;AACH,CAAC,CAAA"}}, - {"offset": {"line": 943, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/dist/compiled/react/cjs/react.development.js"],"sourcesContent":["/**\n * @license React\n * react.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and 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\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function defineDeprecationWarning(methodName, info) {\n Object.defineProperty(Component.prototype, methodName, {\n get: function () {\n console.warn(\n \"%s(...) is deprecated in plain JavaScript React classes. %s\",\n info[0],\n info[1]\n );\n }\n });\n }\n function getIteratorFn(maybeIterable) {\n if (null === maybeIterable || \"object\" !== typeof maybeIterable)\n return null;\n maybeIterable =\n (MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) ||\n maybeIterable[\"@@iterator\"];\n return \"function\" === typeof maybeIterable ? maybeIterable : null;\n }\n function warnNoop(publicInstance, callerName) {\n publicInstance =\n ((publicInstance = publicInstance.constructor) &&\n (publicInstance.displayName || publicInstance.name)) ||\n \"ReactClass\";\n var warningKey = publicInstance + \".\" + callerName;\n didWarnStateUpdateForUnmountedComponent[warningKey] ||\n (console.error(\n \"Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.\",\n callerName,\n publicInstance\n ),\n (didWarnStateUpdateForUnmountedComponent[warningKey] = !0));\n }\n function Component(props, context, updater) {\n this.props = props;\n this.context = context;\n this.refs = emptyObject;\n this.updater = updater || ReactNoopUpdateQueue;\n }\n function ComponentDummy() {}\n function PureComponent(props, context, updater) {\n this.props = props;\n this.context = context;\n this.refs = emptyObject;\n this.updater = updater || ReactNoopUpdateQueue;\n }\n function noop() {}\n function testStringCoercion(value) {\n return \"\" + value;\n }\n function checkKeyStringCoercion(value) {\n try {\n testStringCoercion(value);\n var JSCompiler_inline_result = !1;\n } catch (e) {\n JSCompiler_inline_result = !0;\n }\n if (JSCompiler_inline_result) {\n JSCompiler_inline_result = console;\n var JSCompiler_temp_const = JSCompiler_inline_result.error;\n var JSCompiler_inline_result$jscomp$0 =\n (\"function\" === typeof Symbol &&\n Symbol.toStringTag &&\n value[Symbol.toStringTag]) ||\n value.constructor.name ||\n \"Object\";\n JSCompiler_temp_const.call(\n JSCompiler_inline_result,\n \"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",\n JSCompiler_inline_result$jscomp$0\n );\n return testStringCoercion(value);\n }\n }\n function getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type)\n return type.$$typeof === REACT_CLIENT_REFERENCE\n ? null\n : type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n case REACT_ACTIVITY_TYPE:\n return \"Activity\";\n case REACT_VIEW_TRANSITION_TYPE:\n return \"ViewTransition\";\n }\n if (\"object\" === typeof type)\n switch (\n (\"number\" === typeof type.tag &&\n console.error(\n \"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"\n ),\n type.$$typeof)\n ) {\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_CONTEXT_TYPE:\n return type.displayName || \"Context\";\n case REACT_CONSUMER_TYPE:\n return (type._context.displayName || \"Context\") + \".Consumer\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n }\n function getTaskName(type) {\n if (type === REACT_FRAGMENT_TYPE) return \"<>\";\n if (\n \"object\" === typeof type &&\n null !== type &&\n type.$$typeof === REACT_LAZY_TYPE\n )\n return \"<...>\";\n try {\n var name = getComponentNameFromType(type);\n return name ? \"<\" + name + \">\" : \"<...>\";\n } catch (x) {\n return \"<...>\";\n }\n }\n function getOwner() {\n var dispatcher = ReactSharedInternals.A;\n return null === dispatcher ? null : dispatcher.getOwner();\n }\n function UnknownOwner() {\n return Error(\"react-stack-top-frame\");\n }\n function hasValidKey(config) {\n if (hasOwnProperty.call(config, \"key\")) {\n var getter = Object.getOwnPropertyDescriptor(config, \"key\").get;\n if (getter && getter.isReactWarning) return !1;\n }\n return void 0 !== config.key;\n }\n function defineKeyPropWarningGetter(props, displayName) {\n function warnAboutAccessingKey() {\n specialPropKeyWarningShown ||\n ((specialPropKeyWarningShown = !0),\n console.error(\n \"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)\",\n displayName\n ));\n }\n warnAboutAccessingKey.isReactWarning = !0;\n Object.defineProperty(props, \"key\", {\n get: warnAboutAccessingKey,\n configurable: !0\n });\n }\n function elementRefGetterWithDeprecationWarning() {\n var componentName = getComponentNameFromType(this.type);\n didWarnAboutElementRef[componentName] ||\n ((didWarnAboutElementRef[componentName] = !0),\n console.error(\n \"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.\"\n ));\n componentName = this.props.ref;\n return void 0 !== componentName ? componentName : null;\n }\n function ReactElement(type, key, props, owner, debugStack, debugTask) {\n var refProp = props.ref;\n type = {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n props: props,\n _owner: owner\n };\n null !== (void 0 !== refProp ? refProp : null)\n ? Object.defineProperty(type, \"ref\", {\n enumerable: !1,\n get: elementRefGetterWithDeprecationWarning\n })\n : Object.defineProperty(type, \"ref\", { enumerable: !1, value: null });\n type._store = {};\n Object.defineProperty(type._store, \"validated\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: 0\n });\n Object.defineProperty(type, \"_debugInfo\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: null\n });\n Object.defineProperty(type, \"_debugStack\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugStack\n });\n Object.defineProperty(type, \"_debugTask\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugTask\n });\n Object.freeze && (Object.freeze(type.props), Object.freeze(type));\n return type;\n }\n function cloneAndReplaceKey(oldElement, newKey) {\n newKey = ReactElement(\n oldElement.type,\n newKey,\n oldElement.props,\n oldElement._owner,\n oldElement._debugStack,\n oldElement._debugTask\n );\n oldElement._store &&\n (newKey._store.validated = oldElement._store.validated);\n return newKey;\n }\n function validateChildKeys(node) {\n isValidElement(node)\n ? node._store && (node._store.validated = 1)\n : \"object\" === typeof node &&\n null !== node &&\n node.$$typeof === REACT_LAZY_TYPE &&\n (\"fulfilled\" === node._payload.status\n ? isValidElement(node._payload.value) &&\n node._payload.value._store &&\n (node._payload.value._store.validated = 1)\n : node._store && (node._store.validated = 1));\n }\n function isValidElement(object) {\n return (\n \"object\" === typeof object &&\n null !== object &&\n object.$$typeof === REACT_ELEMENT_TYPE\n );\n }\n function escape(key) {\n var escaperLookup = { \"=\": \"=0\", \":\": \"=2\" };\n return (\n \"$\" +\n key.replace(/[=:]/g, function (match) {\n return escaperLookup[match];\n })\n );\n }\n function getElementKey(element, index) {\n return \"object\" === typeof element &&\n null !== element &&\n null != element.key\n ? (checkKeyStringCoercion(element.key), escape(\"\" + element.key))\n : index.toString(36);\n }\n function resolveThenable(thenable) {\n switch (thenable.status) {\n case \"fulfilled\":\n return thenable.value;\n case \"rejected\":\n throw thenable.reason;\n default:\n switch (\n (\"string\" === typeof thenable.status\n ? thenable.then(noop, noop)\n : ((thenable.status = \"pending\"),\n thenable.then(\n function (fulfilledValue) {\n \"pending\" === thenable.status &&\n ((thenable.status = \"fulfilled\"),\n (thenable.value = fulfilledValue));\n },\n function (error) {\n \"pending\" === thenable.status &&\n ((thenable.status = \"rejected\"),\n (thenable.reason = error));\n }\n )),\n thenable.status)\n ) {\n case \"fulfilled\":\n return thenable.value;\n case \"rejected\":\n throw thenable.reason;\n }\n }\n throw thenable;\n }\n function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {\n var type = typeof children;\n if (\"undefined\" === type || \"boolean\" === type) children = null;\n var invokeCallback = !1;\n if (null === children) invokeCallback = !0;\n else\n switch (type) {\n case \"bigint\":\n case \"string\":\n case \"number\":\n invokeCallback = !0;\n break;\n case \"object\":\n switch (children.$$typeof) {\n case REACT_ELEMENT_TYPE:\n case REACT_PORTAL_TYPE:\n invokeCallback = !0;\n break;\n case REACT_LAZY_TYPE:\n return (\n (invokeCallback = children._init),\n mapIntoArray(\n invokeCallback(children._payload),\n array,\n escapedPrefix,\n nameSoFar,\n callback\n )\n );\n }\n }\n if (invokeCallback) {\n invokeCallback = children;\n callback = callback(invokeCallback);\n var childKey =\n \"\" === nameSoFar ? \".\" + getElementKey(invokeCallback, 0) : nameSoFar;\n isArrayImpl(callback)\n ? ((escapedPrefix = \"\"),\n null != childKey &&\n (escapedPrefix =\n childKey.replace(userProvidedKeyEscapeRegex, \"$&/\") + \"/\"),\n mapIntoArray(callback, array, escapedPrefix, \"\", function (c) {\n return c;\n }))\n : null != callback &&\n (isValidElement(callback) &&\n (null != callback.key &&\n ((invokeCallback && invokeCallback.key === callback.key) ||\n checkKeyStringCoercion(callback.key)),\n (escapedPrefix = cloneAndReplaceKey(\n callback,\n escapedPrefix +\n (null == callback.key ||\n (invokeCallback && invokeCallback.key === callback.key)\n ? \"\"\n : (\"\" + callback.key).replace(\n userProvidedKeyEscapeRegex,\n \"$&/\"\n ) + \"/\") +\n childKey\n )),\n \"\" !== nameSoFar &&\n null != invokeCallback &&\n isValidElement(invokeCallback) &&\n null == invokeCallback.key &&\n invokeCallback._store &&\n !invokeCallback._store.validated &&\n (escapedPrefix._store.validated = 2),\n (callback = escapedPrefix)),\n array.push(callback));\n return 1;\n }\n invokeCallback = 0;\n childKey = \"\" === nameSoFar ? \".\" : nameSoFar + \":\";\n if (isArrayImpl(children))\n for (var i = 0; i < children.length; i++)\n (nameSoFar = children[i]),\n (type = childKey + getElementKey(nameSoFar, i)),\n (invokeCallback += mapIntoArray(\n nameSoFar,\n array,\n escapedPrefix,\n type,\n callback\n ));\n else if (((i = getIteratorFn(children)), \"function\" === typeof i))\n for (\n i === children.entries &&\n (didWarnAboutMaps ||\n console.warn(\n \"Using Maps as children is not supported. Use an array of keyed ReactElements instead.\"\n ),\n (didWarnAboutMaps = !0)),\n children = i.call(children),\n i = 0;\n !(nameSoFar = children.next()).done;\n\n )\n (nameSoFar = nameSoFar.value),\n (type = childKey + getElementKey(nameSoFar, i++)),\n (invokeCallback += mapIntoArray(\n nameSoFar,\n array,\n escapedPrefix,\n type,\n callback\n ));\n else if (\"object\" === type) {\n if (\"function\" === typeof children.then)\n return mapIntoArray(\n resolveThenable(children),\n array,\n escapedPrefix,\n nameSoFar,\n callback\n );\n array = String(children);\n throw Error(\n \"Objects are not valid as a React child (found: \" +\n (\"[object Object]\" === array\n ? \"object with keys {\" + Object.keys(children).join(\", \") + \"}\"\n : array) +\n \"). If you meant to render a collection of children, use an array instead.\"\n );\n }\n return invokeCallback;\n }\n function mapChildren(children, func, context) {\n if (null == children) return children;\n var result = [],\n count = 0;\n mapIntoArray(children, result, \"\", \"\", function (child) {\n return func.call(context, child, count++);\n });\n return result;\n }\n function lazyInitializer(payload) {\n if (-1 === payload._status) {\n var resolveDebugValue = null,\n rejectDebugValue = null,\n ioInfo = payload._ioInfo;\n null != ioInfo &&\n ((ioInfo.start = ioInfo.end = performance.now()),\n (ioInfo.value = new Promise(function (resolve, reject) {\n resolveDebugValue = resolve;\n rejectDebugValue = reject;\n })));\n ioInfo = payload._result;\n var thenable = ioInfo();\n thenable.then(\n function (moduleObject) {\n if (0 === payload._status || -1 === payload._status) {\n payload._status = 1;\n payload._result = moduleObject;\n var _ioInfo = payload._ioInfo;\n if (null != _ioInfo) {\n _ioInfo.end = performance.now();\n var debugValue =\n null == moduleObject ? void 0 : moduleObject.default;\n resolveDebugValue(debugValue);\n _ioInfo.value.status = \"fulfilled\";\n _ioInfo.value.value = debugValue;\n }\n void 0 === thenable.status &&\n ((thenable.status = \"fulfilled\"),\n (thenable.value = moduleObject));\n }\n },\n function (error) {\n if (0 === payload._status || -1 === payload._status) {\n payload._status = 2;\n payload._result = error;\n var _ioInfo2 = payload._ioInfo;\n null != _ioInfo2 &&\n ((_ioInfo2.end = performance.now()),\n _ioInfo2.value.then(noop, noop),\n rejectDebugValue(error),\n (_ioInfo2.value.status = \"rejected\"),\n (_ioInfo2.value.reason = error));\n void 0 === thenable.status &&\n ((thenable.status = \"rejected\"), (thenable.reason = error));\n }\n }\n );\n ioInfo = payload._ioInfo;\n if (null != ioInfo) {\n var displayName = thenable.displayName;\n \"string\" === typeof displayName && (ioInfo.name = displayName);\n }\n -1 === payload._status &&\n ((payload._status = 0), (payload._result = thenable));\n }\n if (1 === payload._status)\n return (\n (ioInfo = payload._result),\n void 0 === ioInfo &&\n console.error(\n \"lazy: Expected the result of a dynamic import() call. Instead received: %s\\n\\nYour code should look like: \\n const MyComponent = lazy(() => import('./MyComponent'))\\n\\nDid you accidentally put curly braces around the import?\",\n ioInfo\n ),\n \"default\" in ioInfo ||\n console.error(\n \"lazy: Expected the result of a dynamic import() call. Instead received: %s\\n\\nYour code should look like: \\n const MyComponent = lazy(() => import('./MyComponent'))\",\n ioInfo\n ),\n ioInfo.default\n );\n throw payload._result;\n }\n function resolveDispatcher() {\n var dispatcher = ReactSharedInternals.H;\n null === dispatcher &&\n console.error(\n \"Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\\n1. You might have mismatching versions of React and the renderer (such as React DOM)\\n2. You might be breaking the Rules of Hooks\\n3. You might have more than one copy of React in the same app\\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.\"\n );\n return dispatcher;\n }\n function releaseAsyncTransition() {\n ReactSharedInternals.asyncTransitions--;\n }\n function startTransition(scope) {\n var prevTransition = ReactSharedInternals.T,\n currentTransition = {};\n currentTransition.types =\n null !== prevTransition ? prevTransition.types : null;\n currentTransition._updatedFibers = new Set();\n ReactSharedInternals.T = currentTransition;\n try {\n var returnValue = scope(),\n onStartTransitionFinish = ReactSharedInternals.S;\n null !== onStartTransitionFinish &&\n onStartTransitionFinish(currentTransition, returnValue);\n \"object\" === typeof returnValue &&\n null !== returnValue &&\n \"function\" === typeof returnValue.then &&\n (ReactSharedInternals.asyncTransitions++,\n returnValue.then(releaseAsyncTransition, releaseAsyncTransition),\n returnValue.then(noop, reportGlobalError));\n } catch (error) {\n reportGlobalError(error);\n } finally {\n null === prevTransition &&\n currentTransition._updatedFibers &&\n ((scope = currentTransition._updatedFibers.size),\n currentTransition._updatedFibers.clear(),\n 10 < scope &&\n console.warn(\n \"Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.\"\n )),\n null !== prevTransition &&\n null !== currentTransition.types &&\n (null !== prevTransition.types &&\n prevTransition.types !== currentTransition.types &&\n console.error(\n \"We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React.\"\n ),\n (prevTransition.types = currentTransition.types)),\n (ReactSharedInternals.T = prevTransition);\n }\n }\n function addTransitionType(type) {\n var transition = ReactSharedInternals.T;\n if (null !== transition) {\n var transitionTypes = transition.types;\n null === transitionTypes\n ? (transition.types = [type])\n : -1 === transitionTypes.indexOf(type) && transitionTypes.push(type);\n } else\n 0 === ReactSharedInternals.asyncTransitions &&\n console.error(\n \"addTransitionType can only be called inside a `startTransition()` callback. It must be associated with a specific Transition.\"\n ),\n startTransition(addTransitionType.bind(null, type));\n }\n function enqueueTask(task) {\n if (null === enqueueTaskImpl)\n try {\n var requireString = (\"require\" + Math.random()).slice(0, 7);\n enqueueTaskImpl = (module && module[requireString]).call(\n module,\n \"timers\"\n ).setImmediate;\n } catch (_err) {\n enqueueTaskImpl = function (callback) {\n !1 === didWarnAboutMessageChannel &&\n ((didWarnAboutMessageChannel = !0),\n \"undefined\" === typeof MessageChannel &&\n console.error(\n \"This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning.\"\n ));\n var channel = new MessageChannel();\n channel.port1.onmessage = callback;\n channel.port2.postMessage(void 0);\n };\n }\n return enqueueTaskImpl(task);\n }\n function aggregateErrors(errors) {\n return 1 < errors.length && \"function\" === typeof AggregateError\n ? new AggregateError(errors)\n : errors[0];\n }\n function popActScope(prevActQueue, prevActScopeDepth) {\n prevActScopeDepth !== actScopeDepth - 1 &&\n console.error(\n \"You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. \"\n );\n actScopeDepth = prevActScopeDepth;\n }\n function recursivelyFlushAsyncActWork(returnValue, resolve, reject) {\n var queue = ReactSharedInternals.actQueue;\n if (null !== queue)\n if (0 !== queue.length)\n try {\n flushActQueue(queue);\n enqueueTask(function () {\n return recursivelyFlushAsyncActWork(returnValue, resolve, reject);\n });\n return;\n } catch (error) {\n ReactSharedInternals.thrownErrors.push(error);\n }\n else ReactSharedInternals.actQueue = null;\n 0 < ReactSharedInternals.thrownErrors.length\n ? ((queue = aggregateErrors(ReactSharedInternals.thrownErrors)),\n (ReactSharedInternals.thrownErrors.length = 0),\n reject(queue))\n : resolve(returnValue);\n }\n function flushActQueue(queue) {\n if (!isFlushing) {\n isFlushing = !0;\n var i = 0;\n try {\n for (; i < queue.length; i++) {\n var callback = queue[i];\n do {\n ReactSharedInternals.didUsePromise = !1;\n var continuation = callback(!1);\n if (null !== continuation) {\n if (ReactSharedInternals.didUsePromise) {\n queue[i] = callback;\n queue.splice(0, i);\n return;\n }\n callback = continuation;\n } else break;\n } while (1);\n }\n queue.length = 0;\n } catch (error) {\n queue.splice(0, i + 1), ReactSharedInternals.thrownErrors.push(error);\n } finally {\n isFlushing = !1;\n }\n }\n }\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());\n var REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\"),\n REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n REACT_VIEW_TRANSITION_TYPE = Symbol.for(\"react.view_transition\"),\n MAYBE_ITERATOR_SYMBOL = Symbol.iterator,\n didWarnStateUpdateForUnmountedComponent = {},\n ReactNoopUpdateQueue = {\n isMounted: function () {\n return !1;\n },\n enqueueForceUpdate: function (publicInstance) {\n warnNoop(publicInstance, \"forceUpdate\");\n },\n enqueueReplaceState: function (publicInstance) {\n warnNoop(publicInstance, \"replaceState\");\n },\n enqueueSetState: function (publicInstance) {\n warnNoop(publicInstance, \"setState\");\n }\n },\n assign = Object.assign,\n emptyObject = {};\n Object.freeze(emptyObject);\n Component.prototype.isReactComponent = {};\n Component.prototype.setState = function (partialState, callback) {\n if (\n \"object\" !== typeof partialState &&\n \"function\" !== typeof partialState &&\n null != partialState\n )\n throw Error(\n \"takes an object of state variables to update or a function which returns an object of state variables.\"\n );\n this.updater.enqueueSetState(this, partialState, callback, \"setState\");\n };\n Component.prototype.forceUpdate = function (callback) {\n this.updater.enqueueForceUpdate(this, callback, \"forceUpdate\");\n };\n var deprecatedAPIs = {\n isMounted: [\n \"isMounted\",\n \"Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks.\"\n ],\n replaceState: [\n \"replaceState\",\n \"Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236).\"\n ]\n };\n for (fnName in deprecatedAPIs)\n deprecatedAPIs.hasOwnProperty(fnName) &&\n defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);\n ComponentDummy.prototype = Component.prototype;\n deprecatedAPIs = PureComponent.prototype = new ComponentDummy();\n deprecatedAPIs.constructor = PureComponent;\n assign(deprecatedAPIs, Component.prototype);\n deprecatedAPIs.isPureReactComponent = !0;\n var isArrayImpl = Array.isArray,\n REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\"),\n ReactSharedInternals = {\n H: null,\n A: null,\n T: null,\n S: null,\n actQueue: null,\n asyncTransitions: 0,\n isBatchingLegacy: !1,\n didScheduleLegacyUpdate: !1,\n didUsePromise: !1,\n thrownErrors: [],\n getCurrentStack: null,\n recentlyCreatedOwnerStacks: 0\n },\n hasOwnProperty = Object.prototype.hasOwnProperty,\n createTask = console.createTask\n ? console.createTask\n : function () {\n return null;\n };\n deprecatedAPIs = {\n react_stack_bottom_frame: function (callStackForError) {\n return callStackForError();\n }\n };\n var specialPropKeyWarningShown, didWarnAboutOldJSXRuntime;\n var didWarnAboutElementRef = {};\n var unknownOwnerDebugStack = deprecatedAPIs.react_stack_bottom_frame.bind(\n deprecatedAPIs,\n UnknownOwner\n )();\n var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));\n var didWarnAboutMaps = !1,\n userProvidedKeyEscapeRegex = /\\/+/g,\n reportGlobalError =\n \"function\" === typeof reportError\n ? reportError\n : function (error) {\n if (\n \"object\" === typeof window &&\n \"function\" === typeof window.ErrorEvent\n ) {\n var event = new window.ErrorEvent(\"error\", {\n bubbles: !0,\n cancelable: !0,\n message:\n \"object\" === typeof error &&\n null !== error &&\n \"string\" === typeof error.message\n ? String(error.message)\n : String(error),\n error: error\n });\n if (!window.dispatchEvent(event)) return;\n } else if (\n \"object\" === typeof process &&\n \"function\" === typeof process.emit\n ) {\n process.emit(\"uncaughtException\", error);\n return;\n }\n console.error(error);\n },\n didWarnAboutMessageChannel = !1,\n enqueueTaskImpl = null,\n actScopeDepth = 0,\n didWarnNoAwaitAct = !1,\n isFlushing = !1,\n queueSeveralMicrotasks =\n \"function\" === typeof queueMicrotask\n ? function (callback) {\n queueMicrotask(function () {\n return queueMicrotask(callback);\n });\n }\n : enqueueTask;\n deprecatedAPIs = Object.freeze({\n __proto__: null,\n c: function (size) {\n return resolveDispatcher().useMemoCache(size);\n }\n });\n var fnName = {\n map: mapChildren,\n forEach: function (children, forEachFunc, forEachContext) {\n mapChildren(\n children,\n function () {\n forEachFunc.apply(this, arguments);\n },\n forEachContext\n );\n },\n count: function (children) {\n var n = 0;\n mapChildren(children, function () {\n n++;\n });\n return n;\n },\n toArray: function (children) {\n return (\n mapChildren(children, function (child) {\n return child;\n }) || []\n );\n },\n only: function (children) {\n if (!isValidElement(children))\n throw Error(\n \"React.Children.only expected to receive a single React element child.\"\n );\n return children;\n }\n };\n exports.Activity = REACT_ACTIVITY_TYPE;\n exports.Children = fnName;\n exports.Component = Component;\n exports.Fragment = REACT_FRAGMENT_TYPE;\n exports.Profiler = REACT_PROFILER_TYPE;\n exports.PureComponent = PureComponent;\n exports.StrictMode = REACT_STRICT_MODE_TYPE;\n exports.Suspense = REACT_SUSPENSE_TYPE;\n exports.ViewTransition = REACT_VIEW_TRANSITION_TYPE;\n exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =\n ReactSharedInternals;\n exports.__COMPILER_RUNTIME = deprecatedAPIs;\n exports.act = function (callback) {\n var prevActQueue = ReactSharedInternals.actQueue,\n prevActScopeDepth = actScopeDepth;\n actScopeDepth++;\n var queue = (ReactSharedInternals.actQueue =\n null !== prevActQueue ? prevActQueue : []),\n didAwaitActCall = !1;\n try {\n var result = callback();\n } catch (error) {\n ReactSharedInternals.thrownErrors.push(error);\n }\n if (0 < ReactSharedInternals.thrownErrors.length)\n throw (\n (popActScope(prevActQueue, prevActScopeDepth),\n (callback = aggregateErrors(ReactSharedInternals.thrownErrors)),\n (ReactSharedInternals.thrownErrors.length = 0),\n callback)\n );\n if (\n null !== result &&\n \"object\" === typeof result &&\n \"function\" === typeof result.then\n ) {\n var thenable = result;\n queueSeveralMicrotasks(function () {\n didAwaitActCall ||\n didWarnNoAwaitAct ||\n ((didWarnNoAwaitAct = !0),\n console.error(\n \"You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);\"\n ));\n });\n return {\n then: function (resolve, reject) {\n didAwaitActCall = !0;\n thenable.then(\n function (returnValue) {\n popActScope(prevActQueue, prevActScopeDepth);\n if (0 === prevActScopeDepth) {\n try {\n flushActQueue(queue),\n enqueueTask(function () {\n return recursivelyFlushAsyncActWork(\n returnValue,\n resolve,\n reject\n );\n });\n } catch (error$0) {\n ReactSharedInternals.thrownErrors.push(error$0);\n }\n if (0 < ReactSharedInternals.thrownErrors.length) {\n var _thrownError = aggregateErrors(\n ReactSharedInternals.thrownErrors\n );\n ReactSharedInternals.thrownErrors.length = 0;\n reject(_thrownError);\n }\n } else resolve(returnValue);\n },\n function (error) {\n popActScope(prevActQueue, prevActScopeDepth);\n 0 < ReactSharedInternals.thrownErrors.length\n ? ((error = aggregateErrors(\n ReactSharedInternals.thrownErrors\n )),\n (ReactSharedInternals.thrownErrors.length = 0),\n reject(error))\n : reject(error);\n }\n );\n }\n };\n }\n var returnValue$jscomp$0 = result;\n popActScope(prevActQueue, prevActScopeDepth);\n 0 === prevActScopeDepth &&\n (flushActQueue(queue),\n 0 !== queue.length &&\n queueSeveralMicrotasks(function () {\n didAwaitActCall ||\n didWarnNoAwaitAct ||\n ((didWarnNoAwaitAct = !0),\n console.error(\n \"A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\\n\\nawait act(() => ...)\"\n ));\n }),\n (ReactSharedInternals.actQueue = null));\n if (0 < ReactSharedInternals.thrownErrors.length)\n throw (\n ((callback = aggregateErrors(ReactSharedInternals.thrownErrors)),\n (ReactSharedInternals.thrownErrors.length = 0),\n callback)\n );\n return {\n then: function (resolve, reject) {\n didAwaitActCall = !0;\n 0 === prevActScopeDepth\n ? ((ReactSharedInternals.actQueue = queue),\n enqueueTask(function () {\n return recursivelyFlushAsyncActWork(\n returnValue$jscomp$0,\n resolve,\n reject\n );\n }))\n : resolve(returnValue$jscomp$0);\n }\n };\n };\n exports.addTransitionType = addTransitionType;\n exports.cache = function (fn) {\n return function () {\n return fn.apply(null, arguments);\n };\n };\n exports.cacheSignal = function () {\n return null;\n };\n exports.captureOwnerStack = function () {\n var getCurrentStack = ReactSharedInternals.getCurrentStack;\n return null === getCurrentStack ? null : getCurrentStack();\n };\n exports.cloneElement = function (element, config, children) {\n if (null === element || void 0 === element)\n throw Error(\n \"The argument must be a React element, but you passed \" +\n element +\n \".\"\n );\n var props = assign({}, element.props),\n key = element.key,\n owner = element._owner;\n if (null != config) {\n var JSCompiler_inline_result;\n a: {\n if (\n hasOwnProperty.call(config, \"ref\") &&\n (JSCompiler_inline_result = Object.getOwnPropertyDescriptor(\n config,\n \"ref\"\n ).get) &&\n JSCompiler_inline_result.isReactWarning\n ) {\n JSCompiler_inline_result = !1;\n break a;\n }\n JSCompiler_inline_result = void 0 !== config.ref;\n }\n JSCompiler_inline_result && (owner = getOwner());\n hasValidKey(config) &&\n (checkKeyStringCoercion(config.key), (key = \"\" + config.key));\n for (propName in config)\n !hasOwnProperty.call(config, propName) ||\n \"key\" === propName ||\n \"__self\" === propName ||\n \"__source\" === propName ||\n (\"ref\" === propName && void 0 === config.ref) ||\n (props[propName] = config[propName]);\n }\n var propName = arguments.length - 2;\n if (1 === propName) props.children = children;\n else if (1 < propName) {\n JSCompiler_inline_result = Array(propName);\n for (var i = 0; i < propName; i++)\n JSCompiler_inline_result[i] = arguments[i + 2];\n props.children = JSCompiler_inline_result;\n }\n props = ReactElement(\n element.type,\n key,\n props,\n owner,\n element._debugStack,\n element._debugTask\n );\n for (key = 2; key < arguments.length; key++)\n validateChildKeys(arguments[key]);\n return props;\n };\n exports.createContext = function (defaultValue) {\n defaultValue = {\n $$typeof: REACT_CONTEXT_TYPE,\n _currentValue: defaultValue,\n _currentValue2: defaultValue,\n _threadCount: 0,\n Provider: null,\n Consumer: null\n };\n defaultValue.Provider = defaultValue;\n defaultValue.Consumer = {\n $$typeof: REACT_CONSUMER_TYPE,\n _context: defaultValue\n };\n defaultValue._currentRenderer = null;\n defaultValue._currentRenderer2 = null;\n return defaultValue;\n };\n exports.createElement = function (type, config, children) {\n for (var i = 2; i < arguments.length; i++)\n validateChildKeys(arguments[i]);\n var propName;\n i = {};\n var key = null;\n if (null != config)\n for (propName in (didWarnAboutOldJSXRuntime ||\n !(\"__self\" in config) ||\n \"key\" in config ||\n ((didWarnAboutOldJSXRuntime = !0),\n console.warn(\n \"Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform\"\n )),\n hasValidKey(config) &&\n (checkKeyStringCoercion(config.key), (key = \"\" + config.key)),\n config))\n hasOwnProperty.call(config, propName) &&\n \"key\" !== propName &&\n \"__self\" !== propName &&\n \"__source\" !== propName &&\n (i[propName] = config[propName]);\n var childrenLength = arguments.length - 2;\n if (1 === childrenLength) i.children = children;\n else if (1 < childrenLength) {\n for (\n var childArray = Array(childrenLength), _i = 0;\n _i < childrenLength;\n _i++\n )\n childArray[_i] = arguments[_i + 2];\n Object.freeze && Object.freeze(childArray);\n i.children = childArray;\n }\n if (type && type.defaultProps)\n for (propName in ((childrenLength = type.defaultProps), childrenLength))\n void 0 === i[propName] && (i[propName] = childrenLength[propName]);\n key &&\n defineKeyPropWarningGetter(\n i,\n \"function\" === typeof type\n ? type.displayName || type.name || \"Unknown\"\n : type\n );\n (propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++)\n ? ((childArray = Error.stackTraceLimit),\n (Error.stackTraceLimit = 10),\n (childrenLength = Error(\"react-stack-top-frame\")),\n (Error.stackTraceLimit = childArray))\n : (childrenLength = unknownOwnerDebugStack);\n return ReactElement(\n type,\n key,\n i,\n getOwner(),\n childrenLength,\n propName ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n exports.createRef = function () {\n var refObject = { current: null };\n Object.seal(refObject);\n return refObject;\n };\n exports.forwardRef = function (render) {\n null != render && render.$$typeof === REACT_MEMO_TYPE\n ? console.error(\n \"forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).\"\n )\n : \"function\" !== typeof render\n ? console.error(\n \"forwardRef requires a render function but was given %s.\",\n null === render ? \"null\" : typeof render\n )\n : 0 !== render.length &&\n 2 !== render.length &&\n console.error(\n \"forwardRef render functions accept exactly two parameters: props and ref. %s\",\n 1 === render.length\n ? \"Did you forget to use the ref parameter?\"\n : \"Any additional parameter will be undefined.\"\n );\n null != render &&\n null != render.defaultProps &&\n console.error(\n \"forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?\"\n );\n var elementType = { $$typeof: REACT_FORWARD_REF_TYPE, render: render },\n ownName;\n Object.defineProperty(elementType, \"displayName\", {\n enumerable: !1,\n configurable: !0,\n get: function () {\n return ownName;\n },\n set: function (name) {\n ownName = name;\n render.name ||\n render.displayName ||\n (Object.defineProperty(render, \"name\", { value: name }),\n (render.displayName = name));\n }\n });\n return elementType;\n };\n exports.isValidElement = isValidElement;\n exports.lazy = function (ctor) {\n ctor = { _status: -1, _result: ctor };\n var lazyType = {\n $$typeof: REACT_LAZY_TYPE,\n _payload: ctor,\n _init: lazyInitializer\n },\n ioInfo = {\n name: \"lazy\",\n start: -1,\n end: -1,\n value: null,\n owner: null,\n debugStack: Error(\"react-stack-top-frame\"),\n debugTask: console.createTask ? console.createTask(\"lazy()\") : null\n };\n ctor._ioInfo = ioInfo;\n lazyType._debugInfo = [{ awaited: ioInfo }];\n return lazyType;\n };\n exports.memo = function (type, compare) {\n null == type &&\n console.error(\n \"memo: The first argument must be a component. Instead received: %s\",\n null === type ? \"null\" : typeof type\n );\n compare = {\n $$typeof: REACT_MEMO_TYPE,\n type: type,\n compare: void 0 === compare ? null : compare\n };\n var ownName;\n Object.defineProperty(compare, \"displayName\", {\n enumerable: !1,\n configurable: !0,\n get: function () {\n return ownName;\n },\n set: function (name) {\n ownName = name;\n type.name ||\n type.displayName ||\n (Object.defineProperty(type, \"name\", { value: name }),\n (type.displayName = name));\n }\n });\n return compare;\n };\n exports.startTransition = startTransition;\n exports.unstable_useCacheRefresh = function () {\n return resolveDispatcher().useCacheRefresh();\n };\n exports.use = function (usable) {\n return resolveDispatcher().use(usable);\n };\n exports.useActionState = function (action, initialState, permalink) {\n return resolveDispatcher().useActionState(\n action,\n initialState,\n permalink\n );\n };\n exports.useCallback = function (callback, deps) {\n return resolveDispatcher().useCallback(callback, deps);\n };\n exports.useContext = function (Context) {\n var dispatcher = resolveDispatcher();\n Context.$$typeof === REACT_CONSUMER_TYPE &&\n console.error(\n \"Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?\"\n );\n return dispatcher.useContext(Context);\n };\n exports.useDebugValue = function (value, formatterFn) {\n return resolveDispatcher().useDebugValue(value, formatterFn);\n };\n exports.useDeferredValue = function (value, initialValue) {\n return resolveDispatcher().useDeferredValue(value, initialValue);\n };\n exports.useEffect = function (create, deps) {\n null == create &&\n console.warn(\n \"React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?\"\n );\n return resolveDispatcher().useEffect(create, deps);\n };\n exports.useEffectEvent = function (callback) {\n return resolveDispatcher().useEffectEvent(callback);\n };\n exports.useId = function () {\n return resolveDispatcher().useId();\n };\n exports.useImperativeHandle = function (ref, create, deps) {\n return resolveDispatcher().useImperativeHandle(ref, create, deps);\n };\n exports.useInsertionEffect = function (create, deps) {\n null == create &&\n console.warn(\n \"React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?\"\n );\n return resolveDispatcher().useInsertionEffect(create, deps);\n };\n exports.useLayoutEffect = function (create, deps) {\n null == create &&\n console.warn(\n \"React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?\"\n );\n return resolveDispatcher().useLayoutEffect(create, deps);\n };\n exports.useMemo = function (create, deps) {\n return resolveDispatcher().useMemo(create, deps);\n };\n exports.useOptimistic = function (passthrough, reducer) {\n return resolveDispatcher().useOptimistic(passthrough, reducer);\n };\n exports.useReducer = function (reducer, initialArg, init) {\n return resolveDispatcher().useReducer(reducer, initialArg, init);\n };\n exports.useRef = function (initialValue) {\n return resolveDispatcher().useRef(initialValue);\n };\n exports.useState = function (initialState) {\n return resolveDispatcher().useState(initialState);\n };\n exports.useSyncExternalStore = function (\n subscribe,\n getSnapshot,\n getServerSnapshot\n ) {\n return resolveDispatcher().useSyncExternalStore(\n subscribe,\n getSnapshot,\n getServerSnapshot\n );\n };\n exports.useTransition = function () {\n return resolveDispatcher().useTransition();\n };\n exports.version = \"19.3.0-canary-f93b9fd4-20251217\";\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());\n })();\n"],"names":[],"mappings":"AAWiB;AAXjB;;;;;;;;CAQC,GAED;AACA,oEACE,AAAC;IACC,SAAS,yBAAyB,UAAU,EAAE,IAAI;QAChD,OAAO,cAAc,CAAC,UAAU,SAAS,EAAE,YAAY;YACrD,KAAK;gBACH,QAAQ,IAAI,CACV,+DACA,IAAI,CAAC,EAAE,EACP,IAAI,CAAC,EAAE;YAEX;QACF;IACF;IACA,SAAS,cAAc,aAAa;QAClC,IAAI,SAAS,iBAAiB,aAAa,OAAO,eAChD,OAAO;QACT,gBACE,AAAC,yBAAyB,aAAa,CAAC,sBAAsB,IAC9D,aAAa,CAAC,aAAa;QAC7B,OAAO,eAAe,OAAO,gBAAgB,gBAAgB;IAC/D;IACA,SAAS,SAAS,cAAc,EAAE,UAAU;QAC1C,iBACE,AAAC,CAAC,iBAAiB,eAAe,WAAW,KAC3C,CAAC,eAAe,WAAW,IAAI,eAAe,IAAI,KACpD;QACF,IAAI,aAAa,iBAAiB,MAAM;QACxC,uCAAuC,CAAC,WAAW,IACjD,CAAC,QAAQ,KAAK,CACZ,yPACA,YACA,iBAED,uCAAuC,CAAC,WAAW,GAAG,CAAC,CAAE;IAC9D;IACA,SAAS,UAAU,KAAK,EAAE,OAAO,EAA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AAI;QAC9C,QAAQ,UACN,QAAQ,IAAI,CACV;QAEJ,OAAO,oBAAoB,eAAe,CAAC,QAAQ;IACrD;IACA,QAAQ,OAAO,GAAG,SAAU,MAAM,EAAE,IAAI;QACtC,OAAO,oBAAoB,OAAO,CAAC,QAAQ;IAC7C;IACA,QAAQ,aAAa,GAAG,SAAU,WAAW,EAAE,OAAO;QACpD,OAAO,oBAAoB,aAAa,CAAC,aAAa;IACxD;IACA,QAAQ,UAAU,GAAG,SAAU,OAAO,EAAE,UAAU,EAAE,IAAI;QACtD,OAAO,oBAAoB,UAAU,CAAC,SAAS,YAAY;IAC7D;IACA,QAAQ,MAAM,GAAG,SAAU,YAAY;QACrC,OAAO,oBAAoB,MAAM,CAAC;IACpC;IACA,QAAQ,QAAQ,GAAG,SAAU,YAAY;QACvC,OAAO,oBAAoB,QAAQ,CAAC;IACtC;IACA,QAAQ,oBAAoB,GAAG,SAC7B,SAAS,EACT,WAAW,EACX,iBAAiB;QAEjB,OAAO,oBAAoB,oBAAoB,CAC7C,WACA,aACA;IAEJ;IACA,QAAQ,aAAa,GAAG;QACtB,OAAO,oBAAoB,aAAa;IAC1C;IACA,QAAQ,OAAO,GAAG;IAClB,gBAAgB,OAAO,kCACrB,eACE,OAAO,+BAA+B,0BAA0B,IAClE,+BAA+B,0BAA0B,CAAC;AAC9D","ignoreList":[0]}}, - {"offset": {"line": 1768, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/dist/compiled/react/index.js"],"sourcesContent":["'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react.production.js');\n} else {\n module.exports = require('./cjs/react.development.js');\n}\n"],"names":[],"mappings":"AAEI;AAFJ;AAEA;;KAEO;IACL,OAAO,OAAO;AAChB","ignoreList":[0]}}, - {"offset": {"line": 1779, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/dist/compiled/react/cjs/react-jsx-runtime.development.js"],"sourcesContent":["/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and 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\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type)\n return type.$$typeof === REACT_CLIENT_REFERENCE\n ? null\n : type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n case REACT_ACTIVITY_TYPE:\n return \"Activity\";\n case REACT_VIEW_TRANSITION_TYPE:\n return \"ViewTransition\";\n }\n if (\"object\" === typeof type)\n switch (\n (\"number\" === typeof type.tag &&\n console.error(\n \"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"\n ),\n type.$$typeof)\n ) {\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_CONTEXT_TYPE:\n return type.displayName || \"Context\";\n case REACT_CONSUMER_TYPE:\n return (type._context.displayName || \"Context\") + \".Consumer\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n }\n function testStringCoercion(value) {\n return \"\" + value;\n }\n function checkKeyStringCoercion(value) {\n try {\n testStringCoercion(value);\n var JSCompiler_inline_result = !1;\n } catch (e) {\n JSCompiler_inline_result = !0;\n }\n if (JSCompiler_inline_result) {\n JSCompiler_inline_result = console;\n var JSCompiler_temp_const = JSCompiler_inline_result.error;\n var JSCompiler_inline_result$jscomp$0 =\n (\"function\" === typeof Symbol &&\n Symbol.toStringTag &&\n value[Symbol.toStringTag]) ||\n value.constructor.name ||\n \"Object\";\n JSCompiler_temp_const.call(\n JSCompiler_inline_result,\n \"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",\n JSCompiler_inline_result$jscomp$0\n );\n return testStringCoercion(value);\n }\n }\n function getTaskName(type) {\n if (type === REACT_FRAGMENT_TYPE) return \"<>\";\n if (\n \"object\" === typeof type &&\n null !== type &&\n type.$$typeof === REACT_LAZY_TYPE\n )\n return \"<...>\";\n try {\n var name = getComponentNameFromType(type);\n return name ? \"<\" + name + \">\" : \"<...>\";\n } catch (x) {\n return \"<...>\";\n }\n }\n function getOwner() {\n var dispatcher = ReactSharedInternals.A;\n return null === dispatcher ? null : dispatcher.getOwner();\n }\n function UnknownOwner() {\n return Error(\"react-stack-top-frame\");\n }\n function hasValidKey(config) {\n if (hasOwnProperty.call(config, \"key\")) {\n var getter = Object.getOwnPropertyDescriptor(config, \"key\").get;\n if (getter && getter.isReactWarning) return !1;\n }\n return void 0 !== config.key;\n }\n function defineKeyPropWarningGetter(props, displayName) {\n function warnAboutAccessingKey() {\n specialPropKeyWarningShown ||\n ((specialPropKeyWarningShown = !0),\n console.error(\n \"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)\",\n displayName\n ));\n }\n warnAboutAccessingKey.isReactWarning = !0;\n Object.defineProperty(props, \"key\", {\n get: warnAboutAccessingKey,\n configurable: !0\n });\n }\n function elementRefGetterWithDeprecationWarning() {\n var componentName = getComponentNameFromType(this.type);\n didWarnAboutElementRef[componentName] ||\n ((didWarnAboutElementRef[componentName] = !0),\n console.error(\n \"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.\"\n ));\n componentName = this.props.ref;\n return void 0 !== componentName ? componentName : null;\n }\n function ReactElement(type, key, props, owner, debugStack, debugTask) {\n var refProp = props.ref;\n type = {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n props: props,\n _owner: owner\n };\n null !== (void 0 !== refProp ? refProp : null)\n ? Object.defineProperty(type, \"ref\", {\n enumerable: !1,\n get: elementRefGetterWithDeprecationWarning\n })\n : Object.defineProperty(type, \"ref\", { enumerable: !1, value: null });\n type._store = {};\n Object.defineProperty(type._store, \"validated\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: 0\n });\n Object.defineProperty(type, \"_debugInfo\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: null\n });\n Object.defineProperty(type, \"_debugStack\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugStack\n });\n Object.defineProperty(type, \"_debugTask\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugTask\n });\n Object.freeze && (Object.freeze(type.props), Object.freeze(type));\n return type;\n }\n function jsxDEVImpl(\n type,\n config,\n maybeKey,\n isStaticChildren,\n debugStack,\n debugTask\n ) {\n var children = config.children;\n if (void 0 !== children)\n if (isStaticChildren)\n if (isArrayImpl(children)) {\n for (\n isStaticChildren = 0;\n isStaticChildren < children.length;\n isStaticChildren++\n )\n validateChildKeys(children[isStaticChildren]);\n Object.freeze && Object.freeze(children);\n } else\n console.error(\n \"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.\"\n );\n else validateChildKeys(children);\n if (hasOwnProperty.call(config, \"key\")) {\n children = getComponentNameFromType(type);\n var keys = Object.keys(config).filter(function (k) {\n return \"key\" !== k;\n });\n isStaticChildren =\n 0 < keys.length\n ? \"{key: someKey, \" + keys.join(\": ..., \") + \": ...}\"\n : \"{key: someKey}\";\n didWarnAboutKeySpread[children + isStaticChildren] ||\n ((keys =\n 0 < keys.length ? \"{\" + keys.join(\": ..., \") + \": ...}\" : \"{}\"),\n console.error(\n 'A props object containing a \"key\" prop is being spread into JSX:\\n let props = %s;\\n <%s {...props} />\\nReact keys must be passed directly to JSX without using spread:\\n let props = %s;\\n <%s key={someKey} {...props} />',\n isStaticChildren,\n children,\n keys,\n children\n ),\n (didWarnAboutKeySpread[children + isStaticChildren] = !0));\n }\n children = null;\n void 0 !== maybeKey &&\n (checkKeyStringCoercion(maybeKey), (children = \"\" + maybeKey));\n hasValidKey(config) &&\n (checkKeyStringCoercion(config.key), (children = \"\" + config.key));\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n children &&\n defineKeyPropWarningGetter(\n maybeKey,\n \"function\" === typeof type\n ? type.displayName || type.name || \"Unknown\"\n : type\n );\n return ReactElement(\n type,\n children,\n maybeKey,\n getOwner(),\n debugStack,\n debugTask\n );\n }\n function validateChildKeys(node) {\n isValidElement(node)\n ? node._store && (node._store.validated = 1)\n : \"object\" === typeof node &&\n null !== node &&\n node.$$typeof === REACT_LAZY_TYPE &&\n (\"fulfilled\" === node._payload.status\n ? isValidElement(node._payload.value) &&\n node._payload.value._store &&\n (node._payload.value._store.validated = 1)\n : node._store && (node._store.validated = 1));\n }\n function isValidElement(object) {\n return (\n \"object\" === typeof object &&\n null !== object &&\n object.$$typeof === REACT_ELEMENT_TYPE\n );\n }\n var React = require(\"next/dist/compiled/react\"),\n REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\"),\n REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n REACT_VIEW_TRANSITION_TYPE = Symbol.for(\"react.view_transition\"),\n REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\"),\n ReactSharedInternals =\n React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n hasOwnProperty = Object.prototype.hasOwnProperty,\n isArrayImpl = Array.isArray,\n createTask = console.createTask\n ? console.createTask\n : function () {\n return null;\n };\n React = {\n react_stack_bottom_frame: function (callStackForError) {\n return callStackForError();\n }\n };\n var specialPropKeyWarningShown;\n var didWarnAboutElementRef = {};\n var unknownOwnerDebugStack = React.react_stack_bottom_frame.bind(\n React,\n UnknownOwner\n )();\n var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));\n var didWarnAboutKeySpread = {};\n exports.Fragment = REACT_FRAGMENT_TYPE;\n exports.jsx = function (type, config, maybeKey) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n if (trackActualOwner) {\n var previousStackTraceLimit = Error.stackTraceLimit;\n Error.stackTraceLimit = 10;\n var debugStackDEV = Error(\"react-stack-top-frame\");\n Error.stackTraceLimit = previousStackTraceLimit;\n } else debugStackDEV = unknownOwnerDebugStack;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !1,\n debugStackDEV,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n exports.jsxs = function (type, config, maybeKey) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n if (trackActualOwner) {\n var previousStackTraceLimit = Error.stackTraceLimit;\n Error.stackTraceLimit = 10;\n var debugStackDEV = Error(\"react-stack-top-frame\");\n Error.stackTraceLimit = previousStackTraceLimit;\n } else debugStackDEV = unknownOwnerDebugStack;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !0,\n debugStackDEV,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n })();\n"],"names":[],"mappings":"AAWiB;AAXjB;;;;;;;;CAQC,GAED;AACA,oEACE,AAAC;IACC,SAAS,yBAAyB,IAAI;QACpC,IAAI,QAAQ,MAAM,OAAO;QACzB,IAAI,eAAe,OAAO,MACxB,OAAO,KAAK,QAAQ,KAAK,yBACrB,OACA,KAAK,WAAW,IAAI,KAAK,IAAI,IAAI;QACvC,IAAI,aAAa,OAAO,MAAM,OAAO;QACrC,OAAQ;YACN,KAAK;gBACH,OAAO;YACT,KAAK;gBACH,OAAO;YACT,KAAK;gBACH,OAAO;YACT,KAAK;gBACH,OAAO;YACT,KAAK;gBACH,OAAO;YACT,KAAK;gBACH,OAAO;YACT,KAAK;gBACH,OAAO;QACX;QACA,IAAI,aAAa,OAAO,MACtB,OACG,aAAa,OAAO,KAAK,GAAG,IAC3B,QAAQ,KAAK,CACX,sHAEJ,KAAK,QAAQ;YAEb,KAAK;gBACH,OAAO;YACT,KAAK;gBACH,OAAO,KAAK,WAAW,IAAI;YAC7B,KAAK;gBACH,OAAO,CAAC,KAAK,QAAQ,CAAC,WAAW,IAAI,SAAS,IAAI;YACpD,KAAK;gBACH,IAAI,YAAY,KAAK,MAAM;gBAC3B,OAAO,KAAK,WAAW;gBACvB,QACE,CAAC,AAAC,OAAO,UAAU,WAAW,IAAI,UAAU,IAAI,IAAI,IACnD,OAAO,OAAO,OAAO,gBAAgB,OAAO,MAAM,YAAa;gBAClE,OAAO;YACT,KAAK;gBACH,OACE,AAAC,YAAY,KAAK,WAAW,IAAI,MACjC,S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CAAC,2BACpC,uBACE,MAAM,+DAA+D,EACvE,iBAAiB,OAAO,SAAS,CAAC,cAAc,EAChD,cAAc,MAAM,OAAO,EAC3B,aAAa,QAAQ,UAAU,GAC3B,QAAQ,UAAU,GAClB;QACE,OAAO;IACT;IACN,QAAQ;QACN,0BAA0B,SAAU,iBAAiB;YACnD,OAAO;QACT;IACF;IACA,IAAI;IACJ,IAAI,yBAAyB,CAAC;IAC9B,IAAI,yBAAyB,MAAM,wBAAwB,CAAC,IAAI,CAC9D,OACA;IAEF,IAAI,wBAAwB,WAAW,YAAY;IACnD,IAAI,wBAAwB,CAAC;IAC7B,QAAQ,QAAQ,GAAG;IACnB,QAAQ,GAAG,GAAG,SAAU,IAAI,EAAE,MAAM,EAAE,QAAQ;QAC5C,IAAI,mBACF,MAAM,qBAAqB,0BAA0B;QACvD,IAAI,kBAAkB;YACpB,IAAI,0BAA0B,MAAM,eAAe;YACnD,MAAM,eAAe,GAAG;YACxB,IAAI,gBAAgB,MAAM;YAC1B,MAAM,eAAe,GAAG;QAC1B,OAAO,gBAAgB;QACvB,OAAO,WACL,MACA,QACA,UACA,CAAC,GACD,eACA,mBAAmB,WAAW,YAAY,SAAS;IAEvD;IACA,QAAQ,IAAI,GAAG,SAAU,IAAI,EAAE,MAAM,EAAE,QAAQ;QAC7C,IAAI,mBACF,MAAM,qBAAqB,0BAA0B;QACvD,IAAI,kBAAkB;YACpB,IAAI,0BAA0B,MAAM,eAAe;YACnD,MAAM,eAAe,GAAG;YACxB,IAAI,gBAAgB,MAAM;YAC1B,MAAM,eAAe,GAAG;QAC1B,OAAO,gBAAgB;QACvB,OAAO,WACL,MACA,QACA,UACA,CAAC,GACD,eACA,mBAAmB,WAAW,YAAY,SAAS;IAEvD;AACF","ignoreList":[0]}}, - {"offset": {"line": 2005, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/dist/compiled/react/jsx-runtime.js"],"sourcesContent":["'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n"],"names":[],"mappings":"AAEI;AAFJ;AAEA;;KAEO;IACL,OAAO,OAAO;AAChB","ignoreList":[0]}}, - {"offset": {"line": 2015, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/dist/compiled/safe-stable-stringify/index.js"],"sourcesContent":["(function(){\"use strict\";var e={879:function(e,t){const{hasOwnProperty:n}=Object.prototype;const r=configure();r.configure=configure;r.stringify=r;r.default=r;t.stringify=r;t.configure=configure;e.exports=r;const i=/[\\u0000-\\u001f\\u0022\\u005c\\ud800-\\udfff]/;function strEscape(e){if(e.length<5e3&&!i.test(e)){return`\"${e}\"`}return JSON.stringify(e)}function sort(e,t){if(e.length>200||t){return e.sort(t)}for(let t=1;t<e.length;t++){const n=e[t];let r=t;while(r!==0&&e[r-1]>n){e[r]=e[r-1];r--}e[r]=n}return e}const f=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(Object.getPrototypeOf(new Int8Array)),Symbol.toStringTag).get;function isTypedArrayWithEntries(e){return f.call(e)!==undefined&&e.length!==0}function stringifyTypedArray(e,t,n){if(e.length<n){n=e.length}const r=t===\",\"?\"\":\" \";let i=`\"0\":${r}${e[0]}`;for(let f=1;f<n;f++){i+=`${t}\"${f}\":${r}${e[f]}`}return i}function getCircularValueOption(e){if(n.call(e,\"circularValue\")){const t=e.circularValue;if(typeof t===\"string\"){return`\"${t}\"`}if(t==null){return t}if(t===Error||t===TypeError){return{toString(){throw new TypeError(\"Converting circular structure to JSON\")}}}throw new TypeError('The \"circularValue\" argument must be of type string or the value null or undefined')}return'\"[Circular]\"'}function getDeterministicOption(e){let t;if(n.call(e,\"deterministic\")){t=e.deterministic;if(typeof t!==\"boolean\"&&typeof t!==\"function\"){throw new TypeError('The \"deterministic\" argument must be of type boolean or comparator function')}}return t===undefined?true:t}function getBooleanOption(e,t){let r;if(n.call(e,t)){r=e[t];if(typeof r!==\"boolean\"){throw new TypeError(`The \"${t}\" argument must be of type boolean`)}}return r===undefined?true:r}function getPositiveIntegerOption(e,t){let r;if(n.call(e,t)){r=e[t];if(typeof r!==\"number\"){throw new TypeError(`The \"${t}\" argument must be of type number`)}if(!Number.isInteger(r)){throw new TypeError(`The \"${t}\" argument must be an integer`)}if(r<1){throw new RangeError(`The \"${t}\" argument must be >= 1`)}}return r===undefined?Infinity:r}function getItemCount(e){if(e===1){return\"1 item\"}return`${e} items`}function getUniqueReplacerSet(e){const t=new Set;for(const n of e){if(typeof n===\"string\"||typeof n===\"number\"){t.add(String(n))}}return t}function getStrictOption(e){if(n.call(e,\"strict\")){const t=e.strict;if(typeof t!==\"boolean\"){throw new TypeError('The \"strict\" argument must be of type boolean')}if(t){return e=>{let t=`Object can not safely be stringified. Received type ${typeof e}`;if(typeof e!==\"function\")t+=` (${e.toString()})`;throw new Error(t)}}}}function configure(e){e={...e};const t=getStrictOption(e);if(t){if(e.bigint===undefined){e.bigint=false}if(!(\"circularValue\"in e)){e.circularValue=Error}}const n=getCircularValueOption(e);const r=getBooleanOption(e,\"bigint\");const i=getDeterministicOption(e);const f=typeof i===\"function\"?i:undefined;const u=getPositiveIntegerOption(e,\"maximumDepth\");const o=getPositiveIntegerOption(e,\"maximumBreadth\");function stringifyFnReplacer(e,s,l,c,a,g){let p=s[e];if(typeof p===\"object\"&&p!==null&&typeof p.toJSON===\"function\"){p=p.toJSON(e)}p=c.call(s,e,p);switch(typeof p){case\"string\":return strEscape(p);case\"object\":{if(p===null){return\"null\"}if(l.indexOf(p)!==-1){return n}let e=\"\";let t=\",\";const r=g;if(Array.isArray(p)){if(p.length===0){return\"[]\"}if(u<l.length+1){return'\"[Array]\"'}l.push(p);if(a!==\"\"){g+=a;e+=`\\n${g}`;t=`,\\n${g}`}const n=Math.min(p.length,o);let i=0;for(;i<n-1;i++){const n=stringifyFnReplacer(String(i),p,l,c,a,g);e+=n!==undefined?n:\"null\";e+=t}const f=stringifyFnReplacer(String(i),p,l,c,a,g);e+=f!==undefined?f:\"null\";if(p.length-1>o){const n=p.length-o-1;e+=`${t}\"... ${getItemCount(n)} not stringified\"`}if(a!==\"\"){e+=`\\n${r}`}l.pop();return`[${e}]`}let s=Object.keys(p);const y=s.length;if(y===0){return\"{}\"}if(u<l.length+1){return'\"[Object]\"'}let d=\"\";let h=\"\";if(a!==\"\"){g+=a;t=`,\\n${g}`;d=\" \"}const $=Math.min(y,o);if(i&&!isTypedArrayWithEntries(p)){s=sort(s,f)}l.push(p);for(let n=0;n<$;n++){const r=s[n];const i=stringifyFnReplacer(r,p,l,c,a,g);if(i!==undefined){e+=`${h}${strEscape(r)}:${d}${i}`;h=t}}if(y>o){const n=y-o;e+=`${h}\"...\":${d}\"${getItemCount(n)} not stringified\"`;h=t}if(a!==\"\"&&h.length>1){e=`\\n${g}${e}\\n${r}`}l.pop();return`{${e}}`}case\"number\":return isFinite(p)?String(p):t?t(p):\"null\";case\"boolean\":return p===true?\"true\":\"false\";case\"undefined\":return undefined;case\"bigint\":if(r){return String(p)}default:return t?t(p):undefined}}function stringifyArrayReplacer(e,i,f,s,l,c){if(typeof i===\"object\"&&i!==null&&typeof i.toJSON===\"function\"){i=i.toJSON(e)}switch(typeof i){case\"string\":return strEscape(i);case\"object\":{if(i===null){return\"null\"}if(f.indexOf(i)!==-1){return n}const e=c;let t=\"\";let r=\",\";if(Array.isArray(i)){if(i.length===0){return\"[]\"}if(u<f.length+1){return'\"[Array]\"'}f.push(i);if(l!==\"\"){c+=l;t+=`\\n${c}`;r=`,\\n${c}`}const n=Math.min(i.length,o);let a=0;for(;a<n-1;a++){const e=stringifyArrayReplacer(String(a),i[a],f,s,l,c);t+=e!==undefined?e:\"null\";t+=r}const g=stringifyArrayReplacer(String(a),i[a],f,s,l,c);t+=g!==undefined?g:\"null\";if(i.length-1>o){const e=i.length-o-1;t+=`${r}\"... ${getItemCount(e)} not stringified\"`}if(l!==\"\"){t+=`\\n${e}`}f.pop();return`[${t}]`}f.push(i);let a=\"\";if(l!==\"\"){c+=l;r=`,\\n${c}`;a=\" \"}let g=\"\";for(const e of s){const n=stringifyArrayReplacer(e,i[e],f,s,l,c);if(n!==undefined){t+=`${g}${strEscape(e)}:${a}${n}`;g=r}}if(l!==\"\"&&g.length>1){t=`\\n${c}${t}\\n${e}`}f.pop();return`{${t}}`}case\"number\":return isFinite(i)?String(i):t?t(i):\"null\";case\"boolean\":return i===true?\"true\":\"false\";case\"undefined\":return undefined;case\"bigint\":if(r){return String(i)}default:return t?t(i):undefined}}function stringifyIndent(e,s,l,c,a){switch(typeof s){case\"string\":return strEscape(s);case\"object\":{if(s===null){return\"null\"}if(typeof s.toJSON===\"function\"){s=s.toJSON(e);if(typeof s!==\"object\"){return stringifyIndent(e,s,l,c,a)}if(s===null){return\"null\"}}if(l.indexOf(s)!==-1){return n}const t=a;if(Array.isArray(s)){if(s.length===0){return\"[]\"}if(u<l.length+1){return'\"[Array]\"'}l.push(s);a+=c;let e=`\\n${a}`;const n=`,\\n${a}`;const r=Math.min(s.length,o);let i=0;for(;i<r-1;i++){const t=stringifyIndent(String(i),s[i],l,c,a);e+=t!==undefined?t:\"null\";e+=n}const f=stringifyIndent(String(i),s[i],l,c,a);e+=f!==undefined?f:\"null\";if(s.length-1>o){const t=s.length-o-1;e+=`${n}\"... ${getItemCount(t)} not stringified\"`}e+=`\\n${t}`;l.pop();return`[${e}]`}let r=Object.keys(s);const g=r.length;if(g===0){return\"{}\"}if(u<l.length+1){return'\"[Object]\"'}a+=c;const p=`,\\n${a}`;let y=\"\";let d=\"\";let h=Math.min(g,o);if(isTypedArrayWithEntries(s)){y+=stringifyTypedArray(s,p,o);r=r.slice(s.length);h-=s.length;d=p}if(i){r=sort(r,f)}l.push(s);for(let e=0;e<h;e++){const t=r[e];const n=stringifyIndent(t,s[t],l,c,a);if(n!==undefined){y+=`${d}${strEscape(t)}: ${n}`;d=p}}if(g>o){const e=g-o;y+=`${d}\"...\": \"${getItemCount(e)} not stringified\"`;d=p}if(d!==\"\"){y=`\\n${a}${y}\\n${t}`}l.pop();return`{${y}}`}case\"number\":return isFinite(s)?String(s):t?t(s):\"null\";case\"boolean\":return s===true?\"true\":\"false\";case\"undefined\":return undefined;case\"bigint\":if(r){return String(s)}default:return t?t(s):undefined}}function stringifySimple(e,s,l){switch(typeof s){case\"string\":return strEscape(s);case\"object\":{if(s===null){return\"null\"}if(typeof s.toJSON===\"function\"){s=s.toJSON(e);if(typeof s!==\"object\"){return stringifySimple(e,s,l)}if(s===null){return\"null\"}}if(l.indexOf(s)!==-1){return n}let t=\"\";const r=s.length!==undefined;if(r&&Array.isArray(s)){if(s.length===0){return\"[]\"}if(u<l.length+1){return'\"[Array]\"'}l.push(s);const e=Math.min(s.length,o);let n=0;for(;n<e-1;n++){const e=stringifySimple(String(n),s[n],l);t+=e!==undefined?e:\"null\";t+=\",\"}const r=stringifySimple(String(n),s[n],l);t+=r!==undefined?r:\"null\";if(s.length-1>o){const e=s.length-o-1;t+=`,\"... ${getItemCount(e)} not stringified\"`}l.pop();return`[${t}]`}let c=Object.keys(s);const a=c.length;if(a===0){return\"{}\"}if(u<l.length+1){return'\"[Object]\"'}let g=\"\";let p=Math.min(a,o);if(r&&isTypedArrayWithEntries(s)){t+=stringifyTypedArray(s,\",\",o);c=c.slice(s.length);p-=s.length;g=\",\"}if(i){c=sort(c,f)}l.push(s);for(let e=0;e<p;e++){const n=c[e];const r=stringifySimple(n,s[n],l);if(r!==undefined){t+=`${g}${strEscape(n)}:${r}`;g=\",\"}}if(a>o){const e=a-o;t+=`${g}\"...\":\"${getItemCount(e)} not stringified\"`}l.pop();return`{${t}}`}case\"number\":return isFinite(s)?String(s):t?t(s):\"null\";case\"boolean\":return s===true?\"true\":\"false\";case\"undefined\":return undefined;case\"bigint\":if(r){return String(s)}default:return t?t(s):undefined}}function stringify(e,t,n){if(arguments.length>1){let r=\"\";if(typeof n===\"number\"){r=\" \".repeat(Math.min(n,10))}else if(typeof n===\"string\"){r=n.slice(0,10)}if(t!=null){if(typeof t===\"function\"){return stringifyFnReplacer(\"\",{\"\":e},[],t,r,\"\")}if(Array.isArray(t)){return stringifyArrayReplacer(\"\",e,[],getUniqueReplacerSet(t),r,\"\")}}if(r.length!==0){return stringifyIndent(\"\",e,[],r,\"\")}}return stringifySimple(\"\",e,[])}return stringify}}};var t={};function __nccwpck_require__(n){var r=t[n];if(r!==undefined){return r.exports}var i=t[n]={exports:{}};var f=true;try{e[n](i,i.exports,__nccwpck_require__);f=false}finally{if(f)delete t[n]}return i.exports}if(typeof __nccwpck_require__!==\"undefined\")__nccwpck_require__.ab=__dirname+\"/\";var n=__nccwpck_require__(879);module.exports=n})();"],"names":[],"mappings":"AAAA,CAAC;IAAW;IAAa,IAAI,IAAE;QAAC,KAAI,SAAS,CAAC,EAAC,CAAC;YAAE,MAAK,EAAC,gBAAe,CAAC,EAAC,GAAC,OAAO,SAAS;YAAC,MAAM,IAAE;YAAY,EAAE,SAAS,GAAC;YAAU,EAAE,SAAS,GAAC;YAAE,EAAE,OAAO,GAAC;YAAE,EAAE,SAAS,GAAC;YAAE,EAAE,SAAS,GAAC;YAAU,EAAE,OAAO,GAAC;YAAE,MAAM,IAAE;YAA2C,SAAS,UAAU,CAAC;gBAAE,IAAG,EAAE,MAAM,GAAC,OAAK,CAAC,EAAE,IAAI,CAAC,IAAG;oBAAC,OAAM,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;gBAAA;gBAAC,OAAO,KAAK,SAAS,CAAC;YAAE;YAAC,SAAS,KAAK,CAAC,EAAC,CAAC;gBAAE,IAAG,EAAE,MAAM,GAAC,OAAK,GAAE;oBAAC,OAAO,EAAE,IAAI,CAAC;gBAAE;gBAAC,IAAI,IAAI,IAAE,GAAE,IAAE,EAAE,MAAM,EAAC,IAAI;oBAAC,MAAM,IAAE,CAAC,CAAC,EAAE;oBAAC,IAAI,IAAE;oBAAE,MAAM,MAAI,KAAG,CAAC,CAAC,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":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/dist/compiled/scheduler/cjs/scheduler.development.js"],"sourcesContent":["/**\n * @license React\n * scheduler.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and 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\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function performWorkUntilDeadline() {\n needsPaint = !1;\n if (isMessageLoopRunning) {\n var currentTime = exports.unstable_now();\n startTime = currentTime;\n var hasMoreWork = !0;\n try {\n a: {\n isHostCallbackScheduled = !1;\n isHostTimeoutScheduled &&\n ((isHostTimeoutScheduled = !1),\n localClearTimeout(taskTimeoutID),\n (taskTimeoutID = -1));\n isPerformingWork = !0;\n var previousPriorityLevel = currentPriorityLevel;\n try {\n b: {\n advanceTimers(currentTime);\n for (\n currentTask = peek(taskQueue);\n null !== currentTask &&\n !(\n currentTask.expirationTime > currentTime &&\n shouldYieldToHost()\n );\n\n ) {\n var callback = currentTask.callback;\n if (\"function\" === typeof callback) {\n currentTask.callback = null;\n currentPriorityLevel = currentTask.priorityLevel;\n var continuationCallback = callback(\n currentTask.expirationTime <= currentTime\n );\n currentTime = exports.unstable_now();\n if (\"function\" === typeof continuationCallback) {\n currentTask.callback = continuationCallback;\n advanceTimers(currentTime);\n hasMoreWork = !0;\n break b;\n }\n currentTask === peek(taskQueue) && pop(taskQueue);\n advanceTimers(currentTime);\n } else pop(taskQueue);\n currentTask = peek(taskQueue);\n }\n if (null !== currentTask) hasMoreWork = !0;\n else {\n var firstTimer = peek(timerQueue);\n null !== firstTimer &&\n requestHostTimeout(\n handleTimeout,\n firstTimer.startTime - currentTime\n );\n hasMoreWork = !1;\n }\n }\n break a;\n } finally {\n (currentTask = null),\n (currentPriorityLevel = previousPriorityLevel),\n (isPerformingWork = !1);\n }\n hasMoreWork = void 0;\n }\n } finally {\n hasMoreWork\n ? schedulePerformWorkUntilDeadline()\n : (isMessageLoopRunning = !1);\n }\n }\n }\n function push(heap, node) {\n var index = heap.length;\n heap.push(node);\n a: for (; 0 < index; ) {\n var parentIndex = (index - 1) >>> 1,\n parent = heap[parentIndex];\n if (0 < compare(parent, node))\n (heap[parentIndex] = node),\n (heap[index] = parent),\n (index = parentIndex);\n else break a;\n }\n }\n function peek(heap) {\n return 0 === heap.length ? null : heap[0];\n }\n function pop(heap) {\n if (0 === heap.length) return null;\n var first = heap[0],\n last = heap.pop();\n if (last !== first) {\n heap[0] = last;\n a: for (\n var index = 0, length = heap.length, halfLength = length >>> 1;\n index < halfLength;\n\n ) {\n var leftIndex = 2 * (index + 1) - 1,\n left = heap[leftIndex],\n rightIndex = leftIndex + 1,\n right = heap[rightIndex];\n if (0 > compare(left, last))\n rightIndex < length && 0 > compare(right, left)\n ? ((heap[index] = right),\n (heap[rightIndex] = last),\n (index = rightIndex))\n : ((heap[index] = left),\n (heap[leftIndex] = last),\n (index = leftIndex));\n else if (rightIndex < length && 0 > compare(right, last))\n (heap[index] = right),\n (heap[rightIndex] = last),\n (index = rightIndex);\n else break a;\n }\n }\n return first;\n }\n function compare(a, b) {\n var diff = a.sortIndex - b.sortIndex;\n return 0 !== diff ? diff : a.id - b.id;\n }\n function advanceTimers(currentTime) {\n for (var timer = peek(timerQueue); null !== timer; ) {\n if (null === timer.callback) pop(timerQueue);\n else if (timer.startTime <= currentTime)\n pop(timerQueue),\n (timer.sortIndex = timer.expirationTime),\n push(taskQueue, timer);\n else break;\n timer = peek(timerQueue);\n }\n }\n function handleTimeout(currentTime) {\n isHostTimeoutScheduled = !1;\n advanceTimers(currentTime);\n if (!isHostCallbackScheduled)\n if (null !== peek(taskQueue))\n (isHostCallbackScheduled = !0),\n isMessageLoopRunning ||\n ((isMessageLoopRunning = !0), schedulePerformWorkUntilDeadline());\n else {\n var firstTimer = peek(timerQueue);\n null !== firstTimer &&\n requestHostTimeout(\n handleTimeout,\n firstTimer.startTime - currentTime\n );\n }\n }\n function shouldYieldToHost() {\n return needsPaint\n ? !0\n : exports.unstable_now() - startTime < frameInterval\n ? !1\n : !0;\n }\n function requestHostTimeout(callback, ms) {\n taskTimeoutID = localSetTimeout(function () {\n callback(exports.unstable_now());\n }, ms);\n }\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());\n exports.unstable_now = void 0;\n if (\n \"object\" === typeof performance &&\n \"function\" === typeof performance.now\n ) {\n var localPerformance = performance;\n exports.unstable_now = function () {\n return localPerformance.now();\n };\n } else {\n var localDate = Date,\n initialTime = localDate.now();\n exports.unstable_now = function () {\n return localDate.now() - initialTime;\n };\n }\n var taskQueue = [],\n timerQueue = [],\n taskIdCounter = 1,\n currentTask = null,\n currentPriorityLevel = 3,\n isPerformingWork = !1,\n isHostCallbackScheduled = !1,\n isHostTimeoutScheduled = !1,\n needsPaint = !1,\n localSetTimeout = \"function\" === typeof setTimeout ? setTimeout : null,\n localClearTimeout =\n \"function\" === typeof clearTimeout ? clearTimeout : null,\n localSetImmediate =\n \"undefined\" !== typeof setImmediate ? setImmediate : null,\n isMessageLoopRunning = !1,\n taskTimeoutID = -1,\n frameInterval = 5,\n startTime = -1;\n if (\"function\" === typeof localSetImmediate)\n var schedulePerformWorkUntilDeadline = function () {\n localSetImmediate(performWorkUntilDeadline);\n };\n else if (\"undefined\" !== typeof MessageChannel) {\n var channel = new MessageChannel(),\n port = channel.port2;\n channel.port1.onmessage = performWorkUntilDeadline;\n schedulePerformWorkUntilDeadline = function () {\n port.postMessage(null);\n };\n } else\n schedulePerformWorkUntilDeadline = function () {\n localSetTimeout(performWorkUntilDeadline, 0);\n };\n exports.unstable_IdlePriority = 5;\n exports.unstable_ImmediatePriority = 1;\n exports.unstable_LowPriority = 4;\n exports.unstable_NormalPriority = 3;\n exports.unstable_Profiling = null;\n exports.unstable_UserBlockingPriority = 2;\n exports.unstable_cancelCallback = function (task) {\n task.callback = null;\n };\n exports.unstable_forceFrameRate = function (fps) {\n 0 > fps || 125 < fps\n ? console.error(\n \"forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported\"\n )\n : (frameInterval = 0 < fps ? Math.floor(1e3 / fps) : 5);\n };\n exports.unstable_getCurrentPriorityLevel = function () {\n return currentPriorityLevel;\n };\n exports.unstable_next = function (eventHandler) {\n switch (currentPriorityLevel) {\n case 1:\n case 2:\n case 3:\n var priorityLevel = 3;\n break;\n default:\n priorityLevel = currentPriorityLevel;\n }\n var previousPriorityLevel = currentPriorityLevel;\n currentPriorityLevel = priorityLevel;\n try {\n return eventHandler();\n } finally {\n currentPriorityLevel = previousPriorityLevel;\n }\n };\n exports.unstable_requestPaint = function () {\n needsPaint = !0;\n };\n exports.unstable_runWithPriority = function (priorityLevel, eventHandler) {\n switch (priorityLevel) {\n case 1:\n case 2:\n case 3:\n case 4:\n case 5:\n break;\n default:\n priorityLevel = 3;\n }\n var previousPriorityLevel = currentPriorityLevel;\n currentPriorityLevel = priorityLevel;\n try {\n return eventHandler();\n } finally {\n currentPriorityLevel = previousPriorityLevel;\n }\n };\n exports.unstable_scheduleCallback = function (\n priorityLevel,\n callback,\n options\n ) {\n var currentTime = exports.unstable_now();\n \"object\" === typeof options && null !== options\n ? ((options = options.delay),\n (options =\n \"number\" === typeof options && 0 < options\n ? currentTime + options\n : currentTime))\n : (options = currentTime);\n switch (priorityLevel) {\n case 1:\n var timeout = -1;\n break;\n case 2:\n timeout = 250;\n break;\n case 5:\n timeout = 1073741823;\n break;\n case 4:\n timeout = 1e4;\n break;\n default:\n timeout = 5e3;\n }\n timeout = options + timeout;\n priorityLevel = {\n id: taskIdCounter++,\n callback: callback,\n priorityLevel: priorityLevel,\n startTime: options,\n expirationTime: timeout,\n sortIndex: -1\n };\n options > currentTime\n ? ((priorityLevel.sortIndex = options),\n push(timerQueue, priorityLevel),\n null === peek(taskQueue) &&\n priorityLevel === peek(timerQueue) &&\n (isHostTimeoutScheduled\n ? (localClearTimeout(taskTimeoutID), (taskTimeoutID = -1))\n : (isHostTimeoutScheduled = !0),\n requestHostTimeout(handleTimeout, options - currentTime)))\n : ((priorityLevel.sortIndex = timeout),\n push(taskQueue, priorityLevel),\n isHostCallbackScheduled ||\n isPerformingWork ||\n ((isHostCallbackScheduled = !0),\n isMessageLoopRunning ||\n ((isMessageLoopRunning = !0),\n schedulePerformWorkUntilDeadline())));\n return priorityLevel;\n };\n exports.unstable_shouldYield = shouldYieldToHost;\n exports.unstable_wrapCallback = function (callback) {\n var parentPriorityLevel = currentPriorityLevel;\n return function () {\n var previousPriorityLevel = currentPriorityLevel;\n currentPriorityLevel = parentPriorityLevel;\n try {\n return callback.apply(this, arguments);\n } finally {\n currentPriorityLevel = previousPriorityLevel;\n }\n };\n };\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());\n })();\n"],"names":[],"mappings":"AAWiB;AAXjB;;;;;;;;CAQC,GAED;AACA,oEACE,AAAC;IACC,SAAS;QACP,aAAa,CAAC;QACd,IAAI,sBAAsB;YACxB,IAAI,cAAc,QAAQ,YAAY;YACtC,YAAY;YACZ,IAAI,cAAc,CAAC;YACnB,IAAI;gBACF,GAAG;oBACD,0BAA0B,CAAC;oBAC3B,0BACE,CAAC,AAAC,yBAAyB,CAAC,GAC5B,kBAAkB,gBACjB,gBAAgB,CAAC,CAAE;oBACtB,mBAAmB,CAAC;oBACpB,IAAI,wBAAwB;oBAC5B,IAAI;wBACF,GAAG;4BACD,cAAc;4BACd,IACE,cAAc,KAAK,YACnB,SAAS,eACT,CAAC,CACC,YAAY,cAAc,GAAG,eAC7B,mBACF,GAEA;gCACA,IAAI,WAAW,YAAY,QAAQ;gCACnC,IAAI,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QACf,OAAQ;YACN,KAAK;gBACH,IAAI,UAAU,CAAC;gBACf;YACF,KAAK;gBACH,UAAU;gBACV;YACF,KAAK;gBACH,UAAU;gBACV;YACF,KAAK;gBACH,UAAU;gBACV;YACF;gBACE,UAAU;QACd;QACA,UAAU,UAAU;QACpB,gBAAgB;YACd,IAAI;YACJ,UAAU;YACV,eAAe;YACf,WAAW;YACX,gBAAgB;YAChB,WAAW,CAAC;QACd;QACA,UAAU,cACN,CAAC,AAAC,cAAc,SAAS,GAAG,SAC5B,KAAK,YAAY,gBACjB,SAAS,KAAK,cACZ,kBAAkB,KAAK,eACvB,CAAC,yBACG,CAAC,kBAAkB,gBAAiB,gBAAgB,CAAC,CAAE,IACtD,yBAAyB,CAAC,GAC/B,mBAAmB,eAAe,UAAU,YAAY,CAAC,IAC3D,CAAC,AAAC,cAAc,SAAS,GAAG,SAC5B,KAAK,WAAW,gBAChB,2BACE,oBACA,CAAC,AAAC,0BAA0B,CAAC,GAC7B,wBACE,CAAC,AAAC,uBAAuB,CAAC,GAC1B,kCAAkC,CAAC,CAAC;QAC5C,OAAO;IACT;IACA,QAAQ,oBAAoB,GAAG;IAC/B,QAAQ,qBAAqB,GAAG,SAAU,QAAQ;QAChD,IAAI,sBAAsB;QAC1B,OAAO;YACL,IAAI,wBAAwB;YAC5B,uBAAuB;YACvB,IAAI;gBACF,OAAO,SAAS,KAAK,CAAC,IAAI,EAAE;YAC9B,SAAU;gBACR,uBAAuB;YACzB;QACF;IACF;IACA,gBAAgB,OAAO,kCACrB,eACE,OAAO,+BAA+B,0BAA0B,IAClE,+BAA+B,0BAA0B,CAAC;AAC9D","ignoreList":[0]}}, - {"offset": {"line": 2863, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/dist/compiled/scheduler/index.js"],"sourcesContent":["'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/scheduler.production.js');\n} else {\n module.exports = require('./cjs/scheduler.development.js');\n}\n"],"names":[],"mappings":"AAEI;AAFJ;AAEA;;KAEO;IACL,OAAO,OAAO;AAChB","ignoreList":[0]}}, - {"offset": {"line": 2873, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/dist/compiled/strip-ansi/index.js"],"sourcesContent":["(()=>{\"use strict\";var e={511:e=>{e.exports=({onlyFirst:e=false}={})=>{const r=[\"[\\\\u001B\\\\u009B][[\\\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\\\d\\\\/#&.:=?%@~_]+)*|[a-zA-Z\\\\d]+(?:;[-a-zA-Z\\\\d\\\\/#&.:=?%@~_]*)*)?\\\\u0007)\",\"(?:(?:\\\\d{1,4}(?:;\\\\d{0,4})*)?[\\\\dA-PR-TZcf-ntqry=><~]))\"].join(\"|\");return new RegExp(r,e?undefined:\"g\")}},532:(e,r,_)=>{const t=_(511);e.exports=e=>typeof e===\"string\"?e.replace(t(),\"\"):e}};var r={};function __nccwpck_require__(_){var t=r[_];if(t!==undefined){return t.exports}var a=r[_]={exports:{}};var n=true;try{e[_](a,a.exports,__nccwpck_require__);n=false}finally{if(n)delete r[_]}return a.exports}if(typeof __nccwpck_require__!==\"undefined\")__nccwpck_require__.ab=__dirname+\"/\";var _=__nccwpck_require__(532);module.exports=_})();"],"names":[],"mappings":"AAAA,CAAC;IAAK;IAAa,IAAI,IAAE;QAAC,KAAI,CAAA;YAAI,EAAE,OAAO,GAAC,CAAC,EAAC,WAAU,IAAE,KAAK,EAAC,GAAC,CAAC,CAAC;gBAAI,MAAM,IAAE;oBAAC;oBAA+H;iBAA2D,CAAC,IAAI,CAAC;gBAAK,OAAO,IAAI,OAAO,GAAE,IAAE,YAAU;YAAI;QAAC;QAAE,KAAI,CAAC,GAAE,GAAE;YAAK,MAAM,IAAE,EAAE;YAAK,EAAE,OAAO,GAAC,CAAA,IAAG,OAAO,MAAI,WAAS,EAAE,OAAO,CAAC,KAAI,MAAI;QAAC;IAAC;IAAE,IAAI,IAAE,CAAC;IAAE,SAAS,oBAAoB,CAAC;QAAE,IAAI,IAAE,CAAC,CAAC,EAAE;QAAC,IAAG,MAAI,WAAU;YAAC,OAAO,EAAE,OAAO;QAAA;QAAC,IAAI,IAAE,CAAC,CAAC,EAAE,GAAC;YAAC,SAAQ,CAAC;QAAC;QAAE,IAAI,IAAE;QAAK,IAAG;YAAC,CAAC,CAAC,EAAE,CAAC,GAAE,EAAE,OAAO,EAAC;YAAqB,IAAE;QAAK,SAAQ;YAAC,IAAG,GAAE,OAAO,CAAC,CAAC,EAAE;QAAA;QAAC,OAAO,EAAE,OAAO;IAAA;IAAC,IAAG,OAAO,wBAAsB,aAAY,oBAAoB,EAAE,GAAC,uFAAU;IAAI,IAAI,IAAE,oBAAoB;IAAK,OAAO,OAAO,GAAC;AAAC,CAAC","ignoreList":[0]}}] -} \ No newline at end of file diff --git a/.next/dev/static/chunks/node_modules_next_dist_compiled_next-devtools_index_1dd7fb59.js b/.next/dev/static/chunks/node_modules_next_dist_compiled_next-devtools_index_1dd7fb59.js deleted file mode 100644 index d712848..0000000 --- a/.next/dev/static/chunks/node_modules_next_dist_compiled_next-devtools_index_1dd7fb59.js +++ /dev/null @@ -1,1661 +0,0 @@ -(globalThis.TURBOPACK || (globalThis.TURBOPACK = [])).push([typeof document === "object" ? document.currentScript : undefined, -"[project]/node_modules/next/dist/compiled/next-devtools/index.js (raw)", ((__turbopack_context__, module, exports) => { - -var process = {env: -{"__NEXT_DEV_INDICATOR":true,"__NEXT_DEV_INDICATOR_POSITION":"bottom-left","__NEXT_ROUTER_BASEPATH":"","__NEXT_TELEMETRY_DISABLED":false,"__NEXT_BUNDLER":"Turbopack","__NEXT_BUNDLER_HAS_PERSISTENT_CACHE":true,"TURBOPACK":true,"__NEXT_CACHE_COMPONENTS":false,"__NEXT_DIST_DIR":"D:\\sol-ui.com\\sol-ui\\docs\\.next\\dev"} -}; -(function(){ -var __webpack_modules__={"../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/components/devtools-indicator/devtools-indicator.css"(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=n.n(r),a=n("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/api.js"),i=n.n(a)()(o());i.push([e.id,`[data-nextjs-toast] { - &[data-hidden='true'] { - display: none; - } -} - -.dev-tools-indicator-menu { - display: flex; - flex-direction: column; - align-items: flex-start; - background: var(--color-background-100); - border: 1px solid var(--color-gray-alpha-400); - background-clip: padding-box; - box-shadow: var(--shadow-menu); - border-radius: var(--rounded-xl); - position: absolute; - font-family: var(--font-stack-sans); - z-index: 3; - overflow: hidden; - opacity: 0; - outline: 0; - min-width: 248px; - transition: opacity var(--animate-out-duration-ms) - var(--animate-out-timing-function); - - &[data-rendered='true'] { - opacity: 1; - scale: 1; - } -} - -.dev-tools-indicator-inner { - padding: 6px; - width: 100%; -} - -.dev-tools-indicator-item { - display: flex; - align-items: center; - padding: 8px 6px; - height: var(--size-36); - border-radius: 6px; - text-decoration: none !important; - user-select: none; - white-space: nowrap; - - svg { - width: var(--size-16); - height: var(--size-16); - } - - &:focus-visible { - outline: 0; - } -} - -.dev-tools-indicator-footer { - background: var(--color-background-200); - padding: 6px; - border-top: 1px solid var(--color-gray-400); - width: 100%; -} - -.dev-tools-indicator-item[data-selected='true'] { - cursor: pointer; - background-color: var(--color-gray-200); -} - -.dev-tools-indicator-label { - font-size: var(--size-14); - line-height: var(--size-20); - color: var(--color-gray-1000); -} - -.dev-tools-indicator-value { - font-size: var(--size-14); - line-height: var(--size-20); - color: var(--color-gray-900); - margin-left: auto; -} - -.dev-tools-indicator-issue-count { - --color-primary: var(--color-gray-800); - --color-secondary: var(--color-gray-100); - display: flex; - flex-direction: row; - align-items: center; - justify-content: center; - gap: 8px; - min-width: var(--size-40); - height: var(--size-24); - background: var(--color-background-100); - border: 1px solid var(--color-gray-alpha-400); - background-clip: padding-box; - box-shadow: var(--shadow-small); - padding: 2px; - color: var(--color-gray-1000); - border-radius: 128px; - font-weight: 500; - font-size: var(--size-13); - font-variant-numeric: tabular-nums; - - &[data-has-issues='true'] { - --color-primary: var(--color-red-800); - --color-secondary: var(--color-red-100); - } - - .dev-tools-indicator-issue-count-indicator { - width: var(--size-8); - height: var(--size-8); - background: var(--color-primary); - box-shadow: 0 0 0 2px var(--color-secondary); - border-radius: 50%; - } -} - -.dev-tools-indicator-shortcut { - display: flex; - gap: 4px; - - kbd { - width: var(--size-20); - height: var(--size-20); - display: flex; - justify-content: center; - align-items: center; - border-radius: var(--rounded-md); - border: 1px solid var(--color-gray-400); - font-family: var(--font-stack-sans); - background: var(--color-background-100); - color: var(--color-gray-1000); - text-align: center; - font-size: var(--size-12); - line-height: var(--size-16); - } -} - -.dev-tools-grabbing { - cursor: grabbing; - - > * { - pointer-events: none; - } -} -`,""]);let l=i},"../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/components/devtools-panel/resize/resize-handle.css"(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=n.n(r),a=n("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/api.js"),i=n.n(a)()(o());i.push([e.id,`.resize-container { - position: absolute; - /* todo: better z index */ - z-index: 10; - /* todo: is this needed */ - background: transparent; -} - -.resize-line { - position: absolute; - /* todo smarter z index */ - z-index: -1; - pointer-events: none; - /* a normal exit animation curve- at this point the exit animation is */ - /* immediately responsive so we don't need a bespoke curve */ - transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); - /* todo: better var? */ - border: 1px solid var(--color-gray-400); -} - -/* start really fast because we start super hidden initially behind the panel, otherwise feels like an unintended animation delay */ -.resize-container:hover ~ .resize-line { - transition: transform 0.25s cubic-bezier(0.23, 1, 0.32, 0.9); -} - -.resize-container.right, -.resize-container.left { - top: 0; - height: 100%; - width: 22px; - cursor: ew-resize; -} - -/* todo: don't hard code all these values/use vars */ - -.resize-container.bottom, -.resize-container.top { - left: 0; - width: 100%; - height: 22px; - cursor: ns-resize; -} - -.resize-container.top { - top: -7px; -} -.resize-container.bottom { - bottom: -7px; -} -.resize-container.left { - left: -7px; -} -.resize-container.right { - right: -7px; -} - -.resize-container.top-left, -.resize-container.top-right, -.resize-container.bottom-left, -.resize-container.bottom-right { - width: 26px; - height: 26px; - z-index: 15; -} - -.resize-container.top-left { - top: -5px; - left: -5px; - cursor: nwse-resize; -} -.resize-container.top-right { - top: -5px; - right: -5px; - cursor: nesw-resize; -} -.resize-container.bottom-left { - bottom: -5px; - left: -5px; - cursor: nesw-resize; -} -.resize-container.bottom-right { - bottom: -5px; - right: -5px; - cursor: nwse-resize; -} - -.resize-line.top, -.resize-line.bottom { - height: 18px; - width: 100%; - background-color: var(--color-background-200); -} - -.resize-line.left, -.resize-line.right { - width: 18px; - height: 100%; - background-color: var(--color-background-200); -} - -.resize-line.top { - top: -7px; - left: calc(-1 * var(--border-left, 2px)); - width: calc(100% + var(--border-horizontal, 4px)); - border-radius: var(--rounded-lg) var(--rounded-lg) 0 0; - transform: translateY(18px); -} - -.resize-line.bottom { - bottom: -7px; - left: calc(-1 * var(--border-left, 2px)); - width: calc(100% + var(--border-horizontal, 4px)); - border-radius: 0 0 var(--rounded-lg) var(--rounded-lg); - transform: translateY(-18px); -} - -.resize-line.left { - top: calc(-1 * var(--border-top, 2px)); - left: -7px; - height: calc(100% + var(--border-vertical, 4px)); - border-radius: var(--rounded-lg) 0 0 var(--rounded-lg); - transform: translateX(18px); -} - -.resize-line.right { - top: calc(-1 * var(--border-top, 2px)); - right: -7px; - height: calc(100% + var(--border-vertical, 4px)); - border-radius: 0 var(--rounded-lg) var(--rounded-lg) 0; - transform: translateX(-18px); -} - -.resize-container.right:hover ~ .resize-line.right, -.resize-container.left:hover ~ .resize-line.left, -.resize-line.right.dragging, -.resize-line.left.dragging { - transform: translateX(0); -} - -.resize-container.bottom:hover ~ .resize-line.bottom, -.resize-container.top:hover ~ .resize-line.top, -.resize-line.bottom.dragging, -.resize-line.top.dragging { - transform: translateY(0); -} - -/* make sure that we don't show multiple handles at once - * we should only ever show the currently resizing handle - * regardless of hover state - */ -.resize-container.no-hover.right:hover ~ .resize-line.right { - transform: translateX(-20px); -} -.resize-container.no-hover.left:hover ~ .resize-line.left { - transform: translateX(20px); -} -.resize-container.no-hover.bottom:hover ~ .resize-line.bottom { - transform: translateY(-20px); -} -.resize-container.no-hover.top:hover ~ .resize-line.top { - transform: translateY(20px); -} -`,""]);let l=i},"../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/components/overview/segment-boundary-trigger.css"(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=n.n(r),a=n("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/api.js"),i=n.n(a)()(o());i.push([e.id,`.segment-boundary-trigger { - display: flex; - align-items: center; - gap: 4px; - padding: 4px 6px; - line-height: 16px; - font-weight: 500; - color: var(--color-gray-1000); - border-radius: 999px; - border: none; - font-size: var(--size-12); - cursor: pointer; - transition: background-color 0.15s ease; -} - -.segment-boundary-trigger-text { - font-size: var(--size-12); - font-weight: 500; - user-select: none; - display: inline-flex; - align-items: center; - justify-content: center; -} - -.segment-boundary-trigger-text .plus-icon { - transition: transform 0.25s ease; -} - -.segment-boundary-trigger-text:hover .plus-icon { - color: var(--color-gray-800); -} - -.segment-boundary-trigger svg { - width: 14px; - height: 14px; - flex-shrink: 0; - vertical-align: middle; -} - -.segment-boundary-trigger:hover svg { - color: var(--color-gray-700); -} - -.segment-boundary-trigger[disabled] svg, -.segment-boundary-trigger[disabled]:hover svg { - color: var(--color-gray-400); - cursor: not-allowed; -} - -.segment-boundary-dropdown { - padding: 8px; - background: var(--color-background-100); - border: 1px solid var(--color-gray-400); - border-radius: 16px; - min-width: 120px; - user-select: none; - cursor: default; - box-shadow: 0px 4px 8px -4px - color-mix(in srgb, var(--color-gray-900) 4%, transparent); -} - -.segment-boundary-dropdown-positioner { - z-index: var(--top-z-index); -} - -.segment-boundary-dropdown-item { - display: flex; - align-items: center; - padding: 8px; - line-height: 20px; - font-size: 14px; - border-radius: 6px; - color: var(--color-gray-1000); - cursor: pointer; - min-width: 220px; - border: none; - background: none; - width: 100%; -} - -.segment-boundary-dropdown-item[data-disabled] { - color: var(--color-gray-400); - cursor: not-allowed; -} - -.segment-boundary-dropdown-item svg { - margin-right: 12px; - color: currentColor; -} - -.segment-boundary-dropdown-item:hover { - background: var(--color-gray-200); -} - -.segment-boundary-dropdown-item:first-child { - border-top-left-radius: 4px; - border-top-right-radius: 4px; -} - -.segment-boundary-dropdown-item:last-child { - border-bottom-left-radius: 4px; - border-bottom-right-radius: 4px; -} - -.segment-boundary-group-label { - padding: 8px; - font-size: 13px; - line-height: 16px; - font-weight: 400; - color: var(--color-gray-900); -} -`,""]);let l=i},"../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/components/overview/segment-explorer.css"(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=n.n(r),a=n("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/api.js"),i=n.n(a)()(o());i.push([e.id,`.segment-explorer-content { - font-size: var(--size-14); - padding: 0 8px; - width: 100%; - height: 100%; -} - -.segment-explorer-page-route-bar { - display: flex; - align-items: center; - padding: 14px 16px; - background-color: var(--color-background-200); - gap: 12px; -} - -.segment-explorer-page-route-bar-path { - font-size: var(--size-14); - font-weight: 500; - color: var(--color-gray-1000); - font-family: var(--font-mono); - white-space: nowrap; - line-height: 20px; -} - -.segment-explorer-item { - margin: 4px 0; - border-radius: 6px; -} - -.segment-explorer-item:nth-child(even) { - background-color: var(--color-background-200); -} -.segment-explorer-item-row { - display: flex; - flex-direction: column; - padding-top: 10px; - padding-bottom: 10px; - padding-right: 4px; -} -.segment-explorer-item-row-main { - display: flex; - align-items: center; - white-space: pre; - color: var(--color-gray-1000); -} - -.segment-explorer-children--intended { - padding-left: 16px; -} - -.segment-explorer-filename { - display: inline-flex; - width: 100%; - align-items: center; -} - -.segment-explorer-filename select { - margin-left: auto; -} -.segment-explorer-filename--path { - margin-right: 8px; -} -.segment-explorer-filename--path small { - display: inline-block; - width: 0; - opacity: 0; -} -.segment-explorer-filename--name { - color: var(--color-gray-800); -} - -.segment-explorer-files { - display: inline-flex; - gap: 8px; - margin-left: auto; -} - -.segment-explorer-files + .segment-boundary-trigger { - margin-left: 8px; -} - -.segment-explorer-file-label { - display: inline-flex; - align-items: center; - justify-content: center; - padding: 0 6px; - height: 20px; - border-radius: 16px; - line-height: 16px; - font-size: var(--size-12); - font-weight: 500; - background-color: var(--color-gray-300); - color: var(--color-gray-1000); -} -.segment-explorer-file-label-text { - display: inline-flex; - align-items: center; -} - -.segment-explorer-file-label--overridden { - background-color: var(--color-amber-300); - color: var(--color-amber-900); -} - -.segment-explorer-file-label .code-icon { - opacity: 0; - margin-left: 0; - width: 0; - transition: all 0.15s ease-in-out; -} -.segment-explorer-file-label:hover .code-icon { - opacity: 1; - width: 12px; - margin-left: 4px; -} - -.segment-explorer-file-label:hover { - filter: brightness(0.95); -} - -.segment-explorer-file-label--builtin { - background-color: transparent; - color: var(--color-gray-900); - border: 1px dashed var(--color-gray-500); - height: 24px; - cursor: default; -} -.segment-explorer-file-label--builtin svg { - margin-left: 4px; - margin-right: -4px; -} - -/* Footer styles */ -.segment-explorer-footer { - padding: 8px; - border-top: 1px solid var(--color-gray-400); - user-select: none; -} - -.segment-explorer-footer-button { - display: flex; - align-items: center; - justify-content: center; - gap: 8px; - width: 100%; - padding: 6px; - background: var(--color-background-100); - border: 1px solid var(--color-gray-400); - border-radius: 6px; - color: var(--color-gray-1000); - font-size: var(--size-14); - font-weight: 500; - cursor: pointer; - transition: background-color 0.15s ease; -} - -.segment-explorer-footer-button:hover:not(:disabled) { - background: var(--color-gray-200); -} - -.segment-explorer-footer-button--disabled { - cursor: not-allowed; -} - -.segment-explorer-footer-text { - text-align: center; -} - -.segment-explorer-footer-badge { - display: inline-flex; - align-items: center; - justify-content: center; - min-width: 20px; - height: 20px; - padding: 0 6px; - background: var(--color-amber-300); - color: var(--color-amber-900); - border-radius: 10px; - font-size: var(--size-12); - font-weight: 600; - line-height: 1; -} - -.segment-explorer-file-label-tooltip--sm { - white-space: nowrap; -} - -.segment-explorer-file-label-tooltip--lg { - min-width: 200px; -} - -.segment-explorer-suggestions { - display: inline-flex; - gap: 8px; -} - -.segment-explorer-suggestions-tooltip { - width: 200px; -} -`,""]);let l=i},"../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/components/toast/style.css"(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=n.n(r),a=n("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/api.js"),i=n.n(a)()(o());i.push([e.id,`.nextjs-toast { - position: fixed; - z-index: var(--top-z-index); - max-width: 420px; - box-shadow: 0px 16px 32px rgba(0, 0, 0, 0.25); -} - -.nextjs-toast-errors-parent { - padding: 16px; - border-radius: var(--rounded-4xl); - font-weight: 500; - color: var(--color-ansi-bright-white); - background-color: var(--color-ansi-red); -} -`,""]);let l=i},"../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/components/tooltip/tooltip.css"(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=n.n(r),a=n("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/api.js"),i=n.n(a)()(o());i.push([e.id,`.tooltip-wrapper { - position: relative; - display: inline-block; - line-height: 1; -} - -.tooltip { - position: relative; - padding: 6px 12px; - border-radius: 8px; - font-size: 14px; - line-height: 1.4; - pointer-events: none; - color: var(--color-gray-100); - background-color: var(--color-gray-1000); -} - -.tooltip-arrow { - position: absolute; - width: 0; - height: 0; - border-style: solid; - border-width: var(--arrow-size, 6px); - border-color: transparent; -} - -.tooltip-arrow--top { - border-width: var(--arrow-size, 6px) var(--arrow-size, 6px) 0 - var(--arrow-size, 6px); - border-top-color: var(--color-gray-1000); - bottom: 0; - transform: translateY(100%); -} - -.tooltip-arrow--bottom { - border-width: 0 var(--arrow-size, 6px) var(--arrow-size, 6px) - var(--arrow-size, 6px); - border-bottom-color: var(--color-gray-1000); - top: 0; - transform: translateY(-100%); -} - -.tooltip-arrow--left { - border-width: var(--arrow-size, 6px) 0 var(--arrow-size, 6px) - var(--arrow-size, 6px); - border-left-color: var(--color-gray-1000); - right: 0; - transform: translateX(100%); -} - -.tooltip-arrow--right { - border-width: var(--arrow-size, 6px) var(--arrow-size, 6px) - var(--arrow-size, 6px) 0; - border-right-color: var(--color-gray-1000); - left: 0; - transform: translateX(-100%); -} - -.tooltip-positioner { - z-index: var(--top-z-index); -} -`,""]);let l=i},"../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/global.css"(e,t,n){"use strict";n.d(t,{A:()=>f});var r=n("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=n.n(r),a=n("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/api.js"),i=n.n(a),l=n("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/normalize.css"),s=n("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/styles/default-theme.css"),c=n("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/styles/dark-theme.css"),u=n("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/styles/colors.css"),d=i()(o());d.i(l.A),d.i(s.A),d.i(c.A),d.i(u.A),d.push([e.id,`/* devtool global css variables */ -:host { - /* variables */ - --top-z-index: 2147483647; -} - -/* global styles */ -* { - -webkit-font-smoothing: antialiased; -} - -/* global reset for draggable content scrollbar styles */ -[data-nextjs-scrollable-content], -[data-nextjs-scrollable-content] * { - &::-webkit-scrollbar { - width: 6px; - height: 6px; - border-radius: 0 0 1rem 1rem; - margin-bottom: 1rem; - } - - &::-webkit-scrollbar-button { - display: none; - } - - &::-webkit-scrollbar-track { - border-radius: 0 0 1rem 1rem; - background-color: var(--color-background-100); - } - - &::-webkit-scrollbar-thumb { - border-radius: 1rem; - background-color: var(--color-gray-500); - } -} - -/* Place overflow: hidden on this so we can break out from [data-nextjs-dialog] */ -[data-nextjs-scrollable-content] { - overflow: hidden; - border-radius: inherit; -} -`,""]);let f=d},"../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/menu/panel-router.css"(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=n.n(r),a=n("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/api.js"),i=n.n(a)()(o());i.push([e.id,`/* Panel content padding styles */ -.panel-content { - padding: 16px; - padding-top: 8px; - overflow: hidden; -} - -/* User preferences wrapper styles */ -.user-preferences-wrapper { - padding: 20px; - padding-top: 8px; - overflow: hidden; -} - -/* Panel route base styles */ -.panel-route { - opacity: var(--panel-opacity); - transition: var(--panel-transition); -} - -.turbopack-upgrade-link { - text-decoration: underline; - font-weight: 500; -} -`,""]);let l=i},"../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/normalize.css"(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=n.n(r),a=n("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/api.js"),i=n.n(a)()(o());i.push([e.id,`:host { - all: initial; - - /* the direction property is not reset by 'all' */ - direction: ltr; -} - -/*! - * Bootstrap Reboot v4.4.1 (https://getbootstrap.com/) - * Copyright 2011-2019 The Bootstrap Authors - * Copyright 2011-2019 Twitter, Inc. - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - * Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md) - */ -*, -*::before, -*::after { - box-sizing: border-box; -} - -:host { - font-family: sans-serif; - line-height: 1.15; - -webkit-text-size-adjust: 100%; - -webkit-tap-highlight-color: rgba(0, 0, 0, 0); -} - -article, -aside, -figcaption, -figure, -footer, -header, -hgroup, -main, -nav, -section { - display: block; -} - -:host { - margin: 0; - font-family: - -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', - Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', - 'Segoe UI Symbol', 'Noto Color Emoji'; - font-size: 16px; - font-weight: 400; - line-height: 1.5; - color: var(--color-font); - text-align: left; -} - -:host:not(button) { - background-color: #fff; -} - -[tabindex='-1']:focus:not(:focus-visible) { - outline: 0 !important; -} - -hr { - box-sizing: content-box; - height: 0; - overflow: visible; -} - -h1, -h2, -h3, -h4, -h5, -h6 { - margin-top: 0; - margin-bottom: 8px; -} - -p { - margin-top: 0; - margin-bottom: 16px; -} - -abbr[title], -abbr[data-original-title] { - text-decoration: underline; - -webkit-text-decoration: underline dotted; - text-decoration: underline dotted; - cursor: help; - border-bottom: 0; - -webkit-text-decoration-skip-ink: none; - text-decoration-skip-ink: none; -} - -address { - margin-bottom: 16px; - font-style: normal; - line-height: inherit; -} - -ol, -ul, -dl { - margin-top: 0; - margin-bottom: 16px; -} - -ol ol, -ul ul, -ol ul, -ul ol { - margin-bottom: 0; -} - -dt { - font-weight: 700; -} - -dd { - margin-bottom: 8px; - margin-left: 0; -} - -blockquote { - margin: 0 0 16px; -} - -b, -strong { - font-weight: bolder; -} - -small { - font-size: 80%; -} - -sub, -sup { - position: relative; - font-size: 75%; - line-height: 0; - vertical-align: baseline; -} - -sub { - bottom: -0.25em; -} - -sup { - top: -0.5em; -} - -a { - color: #007bff; - text-decoration: none; - background-color: transparent; -} - -a:hover { - color: #0056b3; - text-decoration: underline; -} - -a:not([href]) { - color: inherit; - text-decoration: none; -} - -a:not([href]):hover { - color: inherit; - text-decoration: none; -} - -pre, -code, -kbd, -samp { - font-family: - SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', - monospace; - font-size: 1em; -} - -pre { - margin-top: 0; - margin-bottom: 16px; - overflow: auto; -} - -figure { - margin: 0 0 16px; -} - -img { - vertical-align: middle; - border-style: none; -} - -svg { - overflow: hidden; - vertical-align: middle; -} - -table { - border-collapse: collapse; -} - -caption { - padding-top: 12px; - padding-bottom: 12px; - color: #6c757d; - text-align: left; - caption-side: bottom; -} - -th { - text-align: inherit; -} - -label { - display: inline-block; - margin-bottom: 8px; -} - -button { - border-radius: 0; - border: 0; - padding: 0; - margin: 0; - background: none; - appearance: none; - -webkit-appearance: none; -} - -button:focus { - outline: 1px dotted; - outline: 5px auto -webkit-focus-ring-color; -} - -button:focus:not(:focus-visible) { - outline: none; -} - -input, -button, -select, -optgroup, -textarea { - margin: 0; - font-family: inherit; - font-size: inherit; - line-height: inherit; -} - -button, -input { - overflow: visible; -} - -button, -select { - text-transform: none; -} - -select { - word-wrap: normal; -} - -button, -[type='button'], -[type='reset'], -[type='submit'] { - -webkit-appearance: button; -} - -button:not(:disabled), -[type='button']:not(:disabled), -[type='reset']:not(:disabled), -[type='submit']:not(:disabled) { - cursor: pointer; -} - -button::-moz-focus-inner, -[type='button']::-moz-focus-inner, -[type='reset']::-moz-focus-inner, -[type='submit']::-moz-focus-inner { - padding: 0; - border-style: none; -} - -input[type='radio'], -input[type='checkbox'] { - box-sizing: border-box; - padding: 0; -} - -input[type='date'], -input[type='time'], -input[type='datetime-local'], -input[type='month'] { - -webkit-appearance: listbox; -} - -textarea { - overflow: auto; - resize: vertical; -} - -fieldset { - min-width: 0; - padding: 0; - margin: 0; - border: 0; -} - -legend { - display: block; - width: 100%; - max-width: 100%; - padding: 0; - margin-bottom: 8px; - font-size: 24px; - line-height: inherit; - color: inherit; - white-space: normal; -} - -progress { - vertical-align: baseline; -} - -[type='number']::-webkit-inner-spin-button, -[type='number']::-webkit-outer-spin-button { - height: auto; -} - -[type='search'] { - outline-offset: -2px; - -webkit-appearance: none; -} - -[type='search']::-webkit-search-decoration { - -webkit-appearance: none; -} - -::-webkit-file-upload-button { - font: inherit; - -webkit-appearance: button; -} - -output { - display: inline-block; -} - -summary { - display: list-item; - cursor: pointer; -} - -template { - display: none; -} - -[hidden] { - display: none !important; -} -`,""]);let l=i},"../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/panel/dynamic-panel.css"(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=n.n(r),a=n("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/api.js"),i=n.n(a)()(o());i.push([e.id,`/* Panel container base styles with dynamic positioning and sizing */ -.dynamic-panel-container { - position: fixed; - z-index: 2147483646; - outline: none; - top: var(--panel-top, auto); - bottom: var(--panel-bottom, auto); - left: var(--panel-left, auto); - right: var(--panel-right, auto); - width: var(--panel-width); - height: var(--panel-height); - min-width: var(--panel-min-width); - min-height: var(--panel-min-height); - max-width: var(--panel-max-width); - max-height: var(--panel-max-height); -} - -/* Panel content container styles */ -.panel-content-container { - position: relative; - width: 100%; - height: 100%; - border: 1px solid var(--color-gray-alpha-400); - border-radius: var(--rounded-xl); - background: var(--color-background-100); - display: flex; - flex-direction: column; -} - -/* Draggable content area styles */ -.draggable-content { - flex: 1; - overflow: auto; -} -`,""]);let l=i},"../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/styles/colors.css"(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=n.n(r),a=n("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/api.js"),i=n.n(a)()(o());i.push([e.id,`:host { - /* - * CAUTION: THIS IS A WORKAROUND! - * For now, we use @babel/code-frame to parse the code frame which does not support option to change the color. - * x-ref: https://github.com/babel/babel/blob/efa52324ff835b794c48080f14877b6caf32cd15/packages/babel-code-frame/src/defs.ts#L40-L54 - * So, we do a workaround mapping to change the color matching the theme. - * - * For example, in @babel/code-frame, the "keyword" is mapped to ANSI "cyan". - * We want the "keyword" to use the "syntax-keyword" color in the theme. - * So, we map the "cyan" to the "syntax-keyword" in the theme. - */ - /* cyan: keyword */ - --color-ansi-cyan: var(--color-syntax-keyword); - /* yellow: capitalized, jsxIdentifier, punctuation */ - --color-ansi-yellow: var(--color-syntax-function); - /* magenta: number, regex */ - --color-ansi-magenta: var(--color-syntax-keyword); - /* green: string */ - --color-ansi-green: var(--color-syntax-string); - /* gray (bright black): comment, gutter */ - --color-ansi-bright-black: var(--color-syntax-comment); - - /* Ansi - Temporary */ - --color-ansi-selection: var(--color-gray-alpha-300); - --color-ansi-bg: var(--color-background-200); - --color-ansi-fg: var(--color-gray-1000); - - --color-ansi-white: var(--color-gray-700); - --color-ansi-black: var(--color-gray-200); - --color-ansi-blue: var(--color-blue-700); - --color-ansi-red: var(--color-red-700); - --color-ansi-bright-white: var(--color-gray-1000); - --color-ansi-bright-blue: var(--color-blue-800); - --color-ansi-bright-cyan: var(--color-blue-800); - --color-ansi-bright-green: var(--color-green-800); - --color-ansi-bright-magenta: var(--color-blue-800); - --color-ansi-bright-red: var(--color-red-800); - --color-ansi-bright-yellow: var(--color-amber-900); - - /* Background Light */ - --color-background-100: #ffffff; - --color-background-200: #fafafa; - - /* Syntax Light */ - --color-syntax-comment: #545454; - --color-syntax-constant: #171717; - --color-syntax-function: #0054ad; - --color-syntax-keyword: #a51850; - --color-syntax-link: #066056; - --color-syntax-parameter: #8f3e00; - --color-syntax-punctuation: #171717; - --color-syntax-string: #036157; - --color-syntax-string-expression: #066056; - - /* Gray Scale Light */ - --color-gray-100: #f2f2f2; - --color-gray-200: #ebebeb; - --color-gray-300: #e6e6e6; - --color-gray-400: #eaeaea; - --color-gray-500: #c9c9c9; - --color-gray-600: #a8a8a8; - --color-gray-700: #8f8f8f; - --color-gray-800: #7d7d7d; - --color-gray-900: #666666; - --color-gray-1000: #171717; - - /* Gray Alpha Scale Light */ - --color-gray-alpha-100: rgba(0, 0, 0, 0.05); - --color-gray-alpha-200: rgba(0, 0, 0, 0.081); - --color-gray-alpha-300: rgba(0, 0, 0, 0.1); - --color-gray-alpha-400: rgba(0, 0, 0, 0.08); - --color-gray-alpha-500: rgba(0, 0, 0, 0.21); - --color-gray-alpha-600: rgba(0, 0, 0, 0.34); - --color-gray-alpha-700: rgba(0, 0, 0, 0.44); - --color-gray-alpha-800: rgba(0, 0, 0, 0.51); - --color-gray-alpha-900: rgba(0, 0, 0, 0.605); - --color-gray-alpha-1000: rgba(0, 0, 0, 0.91); - - /* Blue Scale Light */ - --color-blue-100: #f0f7ff; - --color-blue-200: #edf6ff; - --color-blue-300: #e1f0ff; - --color-blue-400: #cde7ff; - --color-blue-500: #99ceff; - --color-blue-600: #52aeff; - --color-blue-700: #0070f3; - --color-blue-800: #0060d1; - --color-blue-900: #0067d6; - --color-blue-1000: #0025ad; - - /* Red Scale Light */ - --color-red-100: #fff0f0; - --color-red-200: #ffebeb; - --color-red-300: #ffe5e5; - --color-red-400: #fdd8d8; - --color-red-500: #f8baba; - --color-red-600: #f87274; - --color-red-700: #e5484d; - --color-red-800: #da3036; - --color-red-900: #ca2a30; - --color-red-1000: #381316; - - /* Amber Scale Light */ - --color-amber-100: #fff6e5; - --color-amber-200: #fff4d5; - --color-amber-300: #fef0cd; - --color-amber-400: #ffddbf; - --color-amber-500: #ffc96b; - --color-amber-600: #f5b047; - --color-amber-700: #ffb224; - --color-amber-800: #ff990a; - --color-amber-900: #a35200; - --color-amber-1000: #4e2009; - - /* Green Scale Light */ - --color-green-100: #effbef; - --color-green-200: #eafaea; - --color-green-300: #dcf6dc; - --color-green-400: #c8f1c9; - --color-green-500: #99e59f; - --color-green-600: #6cda76; - --color-green-700: #46a758; - --color-green-800: #388e4a; - --color-green-900: #297c3b; - --color-green-1000: #18311e; - - /* Turbopack Light - Temporary */ - --color-turbopack-text-red: #ff1e56; - --color-turbopack-text-blue: #0096ff; - --color-turbopack-border-red: #f0adbe; - --color-turbopack-border-blue: #adccea; - --color-turbopack-background-red: #fff7f9; - --color-turbopack-background-blue: #f6fbff; -} -`,""]);let l=i},"../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/styles/dark-theme.css"(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=n.n(r),a=n("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/api.js"),i=n.n(a)()(o());i.push([e.id,`:host(.dark) { - --color-font: white; - --color-backdrop: rgba(0, 0, 0, 0.8); - --color-border-shadow: rgba(255, 255, 255, 0.145); - - --color-title-color: #fafafa; - --color-stack-notes: #a9a9a9; - - /* Background Dark */ - --color-background-100: #0a0a0a; - --color-background-200: #000000; - - /* Syntax Dark */ - --color-syntax-comment: #a0a0a0; - --color-syntax-constant: #ededed; - --color-syntax-function: #52a9ff; - --color-syntax-keyword: #f76e99; - --color-syntax-link: #0ac5b2; - --color-syntax-parameter: #f1a10d; - --color-syntax-punctuation: #ededed; - --color-syntax-string: #0ac5b2; - --color-syntax-string-expression: #0ac5b2; - - /* Gray Scale Dark */ - --color-gray-100: #1a1a1a; - --color-gray-200: #1f1f1f; - --color-gray-300: #292929; - --color-gray-400: #2e2e2e; - --color-gray-500: #454545; - --color-gray-600: #878787; - --color-gray-700: #8f8f8f; - --color-gray-800: #7d7d7d; - --color-gray-900: #a0a0a0; - --color-gray-1000: #ededed; - - /* Gray Alpha Scale Dark */ - --color-gray-alpha-100: rgba(255, 255, 255, 0.066); - --color-gray-alpha-200: rgba(255, 255, 255, 0.087); - --color-gray-alpha-300: rgba(255, 255, 255, 0.125); - --color-gray-alpha-400: rgba(255, 255, 255, 0.145); - --color-gray-alpha-500: rgba(255, 255, 255, 0.239); - --color-gray-alpha-600: rgba(255, 255, 255, 0.506); - --color-gray-alpha-700: rgba(255, 255, 255, 0.54); - --color-gray-alpha-800: rgba(255, 255, 255, 0.47); - --color-gray-alpha-900: rgba(255, 255, 255, 0.61); - --color-gray-alpha-1000: rgba(255, 255, 255, 0.923); - - /* Blue Scale Dark */ - --color-blue-100: #0f1b2d; - --color-blue-200: #10243e; - --color-blue-300: #0f3058; - --color-blue-400: #0d3868; - --color-blue-500: #0a4481; - --color-blue-600: #0091ff; - --color-blue-700: #0070f3; - --color-blue-800: #0060d1; - --color-blue-900: #52a9ff; - --color-blue-1000: #eaf6ff; - - /* Red Scale Dark */ - --color-red-100: #2a1314; - --color-red-200: #3d1719; - --color-red-300: #551a1e; - --color-red-400: #671e22; - --color-red-500: #822025; - --color-red-600: #e5484d; - --color-red-700: #e5484d; - --color-red-800: #da3036; - --color-red-900: #ff6369; - --color-red-1000: #ffecee; - - /* Amber Scale Dark */ - --color-amber-100: #271700; - --color-amber-200: #341c00; - --color-amber-300: #4a2900; - --color-amber-400: #573300; - --color-amber-500: #693f05; - --color-amber-600: #e79c13; - --color-amber-700: #ffb224; - --color-amber-800: #ff990a; - --color-amber-900: #f1a10d; - --color-amber-1000: #fef3dd; - - /* Green Scale Dark */ - --color-green-100: #0b2211; - --color-green-200: #0f2c17; - --color-green-300: #11351b; - --color-green-400: #0c461b; - --color-green-500: #126427; - --color-green-600: #1a9338; - --color-green-700: #46a758; - --color-green-800: #388e4a; - --color-green-900: #63c174; - --color-green-1000: #e5fbeb; - - /* Turbopack Dark - Temporary */ - --color-turbopack-text-red: #ff6d92; - --color-turbopack-text-blue: #45b2ff; - --color-turbopack-border-red: #6e293b; - --color-turbopack-border-blue: #284f80; - --color-turbopack-background-red: #250d12; - --color-turbopack-background-blue: #0a1723; -} - -@media (prefers-color-scheme: dark) { - :host(:not(.light)) { - --color-font: white; - --color-backdrop: rgba(0, 0, 0, 0.8); - --color-border-shadow: rgba(255, 255, 255, 0.145); - - --color-title-color: #fafafa; - --color-stack-notes: #a9a9a9; - - /* Background Dark */ - --color-background-100: #0a0a0a; - --color-background-200: #000000; - - /* Syntax Dark */ - --color-syntax-comment: #a0a0a0; - --color-syntax-constant: #ededed; - --color-syntax-function: #52a9ff; - --color-syntax-keyword: #f76e99; - --color-syntax-link: #0ac5b2; - --color-syntax-parameter: #f1a10d; - --color-syntax-punctuation: #ededed; - --color-syntax-string: #0ac5b2; - --color-syntax-string-expression: #0ac5b2; - - /* Gray Scale Dark */ - --color-gray-100: #1a1a1a; - --color-gray-200: #1f1f1f; - --color-gray-300: #292929; - --color-gray-400: #2e2e2e; - --color-gray-500: #454545; - --color-gray-600: #878787; - --color-gray-700: #8f8f8f; - --color-gray-800: #7d7d7d; - --color-gray-900: #a0a0a0; - --color-gray-1000: #ededed; - - /* Gray Alpha Scale Dark */ - --color-gray-alpha-100: rgba(255, 255, 255, 0.066); - --color-gray-alpha-200: rgba(255, 255, 255, 0.087); - --color-gray-alpha-300: rgba(255, 255, 255, 0.125); - --color-gray-alpha-400: rgba(255, 255, 255, 0.145); - --color-gray-alpha-500: rgba(255, 255, 255, 0.239); - --color-gray-alpha-600: rgba(255, 255, 255, 0.506); - --color-gray-alpha-700: rgba(255, 255, 255, 0.54); - --color-gray-alpha-800: rgba(255, 255, 255, 0.47); - --color-gray-alpha-900: rgba(255, 255, 255, 0.61); - --color-gray-alpha-1000: rgba(255, 255, 255, 0.923); - - /* Blue Scale Dark */ - --color-blue-100: #0f1b2d; - --color-blue-200: #10243e; - --color-blue-300: #0f3058; - --color-blue-400: #0d3868; - --color-blue-500: #0a4481; - --color-blue-600: #0091ff; - --color-blue-700: #0070f3; - --color-blue-800: #0060d1; - --color-blue-900: #52a9ff; - --color-blue-1000: #eaf6ff; - - /* Red Scale Dark */ - --color-red-100: #2a1314; - --color-red-200: #3d1719; - --color-red-300: #551a1e; - --color-red-400: #671e22; - --color-red-500: #822025; - --color-red-600: #e5484d; - --color-red-700: #e5484d; - --color-red-800: #da3036; - --color-red-900: #ff6369; - --color-red-1000: #ffecee; - - /* Amber Scale Dark */ - --color-amber-100: #271700; - --color-amber-200: #341c00; - --color-amber-300: #4a2900; - --color-amber-400: #573300; - --color-amber-500: #693f05; - --color-amber-600: #e79c13; - --color-amber-700: #ffb224; - --color-amber-800: #ff990a; - --color-amber-900: #f1a10d; - --color-amber-1000: #fef3dd; - - /* Green Scale Dark */ - --color-green-100: #0b2211; - --color-green-200: #0f2c17; - --color-green-300: #11351b; - --color-green-400: #0c461b; - --color-green-500: #126427; - --color-green-600: #1a9338; - --color-green-700: #46a758; - --color-green-800: #388e4a; - --color-green-900: #63c174; - --color-green-1000: #e5fbeb; - - /* Turbopack Dark - Temporary */ - --color-turbopack-text-red: #ff6d92; - --color-turbopack-text-blue: #45b2ff; - --color-turbopack-border-red: #6e293b; - --color-turbopack-border-blue: #284f80; - --color-turbopack-background-red: #250d12; - --color-turbopack-background-blue: #0a1723; - } -} -`,""]);let l=i},"../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/styles/default-theme.css"(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=n.n(r),a=n("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/api.js"),i=n.n(a)()(o());i.push([e.id,`:host { - /* - * Although the style applied to the shadow host is isolated, - * the element that attached the shadow host (i.e. "nextjs-portal") - * is still affected by the parent's style (e.g. "body"). This may - * occur style conflicts like "display: flex", with other children - * elements therefore give the shadow host an absolute position. - */ - position: absolute; - - --color-font: #757575; - --color-backdrop: rgba(250, 250, 250, 0.8); - --color-border-shadow: rgba(0, 0, 0, 0.145); - - --color-title-color: #1f1f1f; - --color-stack-notes: #777; - - --color-accents-1: #808080; - --color-accents-2: #222222; - --color-accents-3: #404040; - - --font-stack-monospace: - '__nextjs-Geist Mono', 'Geist Mono', 'SFMono-Regular', Consolas, - 'Liberation Mono', Menlo, Courier, monospace; - --font-stack-sans: - '__nextjs-Geist', 'Geist', -apple-system, 'Source Sans Pro', sans-serif; - - font-family: var(--font-stack-sans); - font-variant-ligatures: none; - - /* TODO: Remove replaced ones. */ - --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05); - --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1); - --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); - --shadow-lg: - 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); - --shadow-xl: - 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); - --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25); - --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05); - --shadow-none: 0 0 #0000; - - --shadow-small: 0px 2px 2px rgba(0, 0, 0, 0.04); - --shadow-menu: - 0px 1px 1px rgba(0, 0, 0, 0.02), 0px 4px 8px -4px rgba(0, 0, 0, 0.04), - 0px 16px 24px -8px rgba(0, 0, 0, 0.06); - - --focus-color: var(--color-blue-800); - --focus-ring: 2px solid var(--focus-color); - - --timing-swift: cubic-bezier(0.23, 0.88, 0.26, 0.92); - --timing-overlay: cubic-bezier(0.175, 0.885, 0.32, 1.1); - /* prettier-ignore */ - --timing-bounce: linear(0 0%, 0.005871 1%, 0.022058 2%, 0.046612 3%, 0.077823 4%, 0.114199 5%, 0.154441 6%, 0.197431 7.000000000000001%, 0.242208 8%, 0.287959 9%, 0.333995 10%, 0.379743 11%, 0.424732 12%, 0.46858 13%, 0.510982 14.000000000000002%, 0.551702 15%, 0.590564 16%, 0.627445 17%, 0.662261 18%, 0.694971 19%, 0.725561 20%, 0.754047 21%, 0.780462 22%, 0.804861 23%, 0.82731 24%, 0.847888 25%, 0.866679 26%, 0.883775 27%, 0.899272 28.000000000000004%, 0.913267 28.999999999999996%, 0.925856 30%, 0.937137 31%, 0.947205 32%, 0.956153 33%, 0.96407 34%, 0.971043 35%, 0.977153 36%, 0.982479 37%, 0.987094 38%, 0.991066 39%, 0.994462 40%, 0.997339 41%, 0.999755 42%, 1.001761 43%, 1.003404 44%, 1.004727 45%, 1.00577 46%, 1.006569 47%, 1.007157 48%, 1.007563 49%, 1.007813 50%, 1.007931 51%, 1.007939 52%, 1.007855 53%, 1.007697 54%, 1.007477 55.00000000000001%, 1.00721 56.00000000000001%, 1.006907 56.99999999999999%, 1.006576 57.99999999999999%, 1.006228 59%, 1.005868 60%, 1.005503 61%, 1.005137 62%, 1.004776 63%, 1.004422 64%, 1.004078 65%, 1.003746 66%, 1.003429 67%, 1.003127 68%, 1.00284 69%, 1.002571 70%, 1.002318 71%, 1.002082 72%, 1.001863 73%, 1.00166 74%, 1.001473 75%, 1.001301 76%, 1.001143 77%, 1.001 78%, 1.000869 79%, 1.000752 80%, 1.000645 81%, 1.00055 82%, 1.000464 83%, 1.000388 84%, 1.000321 85%, 1.000261 86%, 1.000209 87%, 1.000163 88%, 1.000123 89%, 1.000088 90%); - - --rounded-none: 0px; - --rounded-sm: 2px; - --rounded-md: 4px; - --rounded-md-2: 6px; - --rounded-lg: 8px; - --rounded-xl: 12px; - --rounded-2xl: 16px; - --rounded-3xl: 24px; - --rounded-4xl: 32px; - --rounded-full: 9999px; - - /* - This value gets set from the Dev Tools preferences, - and we use the following --size-* variables to - scale the relevant elements. - - The reason why we don't rely on rem values is because - if an app sets their root font size to something tiny, - it feels unexpected to have the app root size leak - into a Next.js surface. - - https://github.com/vercel/next.js/discussions/76812 - */ - --nextjs-dev-tools-scale: 1; - --size-1: calc(1px / var(--nextjs-dev-tools-scale)); - --size-2: calc(2px / var(--nextjs-dev-tools-scale)); - --size-3: calc(3px / var(--nextjs-dev-tools-scale)); - --size-4: calc(4px / var(--nextjs-dev-tools-scale)); - --size-5: calc(5px / var(--nextjs-dev-tools-scale)); - --size-6: calc(6px / var(--nextjs-dev-tools-scale)); - --size-7: calc(7px / var(--nextjs-dev-tools-scale)); - --size-8: calc(8px / var(--nextjs-dev-tools-scale)); - --size-9: calc(9px / var(--nextjs-dev-tools-scale)); - --size-10: calc(10px / var(--nextjs-dev-tools-scale)); - --size-11: calc(11px / var(--nextjs-dev-tools-scale)); - --size-12: calc(12px / var(--nextjs-dev-tools-scale)); - --size-13: calc(13px / var(--nextjs-dev-tools-scale)); - --size-14: calc(14px / var(--nextjs-dev-tools-scale)); - --size-15: calc(15px / var(--nextjs-dev-tools-scale)); - --size-16: calc(16px / var(--nextjs-dev-tools-scale)); - --size-17: calc(17px / var(--nextjs-dev-tools-scale)); - --size-18: calc(18px / var(--nextjs-dev-tools-scale)); - --size-20: calc(20px / var(--nextjs-dev-tools-scale)); - --size-22: calc(22px / var(--nextjs-dev-tools-scale)); - --size-24: calc(24px / var(--nextjs-dev-tools-scale)); - --size-26: calc(26px / var(--nextjs-dev-tools-scale)); - --size-28: calc(28px / var(--nextjs-dev-tools-scale)); - --size-30: calc(30px / var(--nextjs-dev-tools-scale)); - --size-32: calc(32px / var(--nextjs-dev-tools-scale)); - --size-34: calc(34px / var(--nextjs-dev-tools-scale)); - --size-36: calc(36px / var(--nextjs-dev-tools-scale)); - --size-38: calc(38px / var(--nextjs-dev-tools-scale)); - --size-40: calc(40px / var(--nextjs-dev-tools-scale)); - --size-42: calc(42px / var(--nextjs-dev-tools-scale)); - --size-44: calc(44px / var(--nextjs-dev-tools-scale)); - --size-46: calc(46px / var(--nextjs-dev-tools-scale)); - --size-48: calc(48px / var(--nextjs-dev-tools-scale)); - - @media print { - display: none; - } -} - -h1, -h2, -h3, -h4, -h5, -h6 { - margin-bottom: 8px; - font-weight: 500; - line-height: 1.5; -} - -a { - color: var(--color-blue-900); - &:hover { - color: var(--color-blue-900); - } - &:focus-visible { - outline: var(--focus-ring); - } -} -`,""]);let l=i},"../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/api.js"(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,r,o,a){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(r)for(var l=0;l<this.length;l++){var s=this[l][0];null!=s&&(i[s]=!0)}for(var c=0;c<e.length;c++){var u=[].concat(e[c]);r&&i[u[0]]||(void 0!==a&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=a),n&&(u[2]&&(u[1]="@media ".concat(u[2]," {").concat(u[1],"}")),u[2]=n),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},"../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/noSourceMaps.js"(e){"use strict";e.exports=function(e){return e[1]}},"../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"(e){"use strict";var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var o={},a=[],i=0;i<e.length;i++){var l=e[i],s=r.base?l[0]+r.base:l[0],c=o[s]||0,u="".concat(s," ").concat(c);o[s]=c+1;var d=n(u),f={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==d)t[d].references++,t[d].updater(f);else{var p=function(e,t){var n=t.domAPI(t);return n.update(e),function(t){t?(t.css!==e.css||t.media!==e.media||t.sourceMap!==e.sourceMap||t.supports!==e.supports||t.layer!==e.layer)&&n.update(e=t):n.remove()}}(f,r);r.byIndex=i,t.splice(i,0,{identifier:u,updater:p,references:1})}a.push(u)}return a}e.exports=function(e,o){var a=r(e=e||[],o=o||{});return function(e){e=e||[];for(var i=0;i<a.length;i++){var l=n(a[i]);t[l].references--}for(var s=r(e,o),c=0;c<a.length;c++){var u=n(a[c]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}a=s}}},"../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/insertStyleElement.js"(e){"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},"../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"(e,t,n){"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},"../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/styleDomAPI.js"(e){"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){var r,o,a;r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {")),(o=void 0!==n.layer)&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}"),(a=n.sourceMap)&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),e.styleTagTransform(r,t,e.options)},remove:function(){var e;null===(e=t).parentNode||e.parentNode.removeChild(e)}}}},"../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/styleTagTransform.js"(e){"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},"./dist/compiled/anser/index.js"(e){(()=>{"use strict";var t={211:e=>{var t=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=[[{color:"0, 0, 0",class:"ansi-black"},{color:"187, 0, 0",class:"ansi-red"},{color:"0, 187, 0",class:"ansi-green"},{color:"187, 187, 0",class:"ansi-yellow"},{color:"0, 0, 187",class:"ansi-blue"},{color:"187, 0, 187",class:"ansi-magenta"},{color:"0, 187, 187",class:"ansi-cyan"},{color:"255,255,255",class:"ansi-white"}],[{color:"85, 85, 85",class:"ansi-bright-black"},{color:"255, 85, 85",class:"ansi-bright-red"},{color:"0, 255, 0",class:"ansi-bright-green"},{color:"255, 255, 85",class:"ansi-bright-yellow"},{color:"85, 85, 255",class:"ansi-bright-blue"},{color:"255, 85, 255",class:"ansi-bright-magenta"},{color:"85, 255, 255",class:"ansi-bright-cyan"},{color:"255, 255, 255",class:"ansi-bright-white"}]];e.exports=function(){function e(){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");this.fg=this.bg=this.fg_truecolor=this.bg_truecolor=null,this.bright=0}return t(e,null,[{key:"escapeForHtml",value:function(t){return(new e).escapeForHtml(t)}},{key:"linkify",value:function(t){return(new e).linkify(t)}},{key:"ansiToHtml",value:function(t,n){return(new e).ansiToHtml(t,n)}},{key:"ansiToJson",value:function(t,n){return(new e).ansiToJson(t,n)}},{key:"ansiToText",value:function(t){return(new e).ansiToText(t)}}]),t(e,[{key:"setupPalette",value:function(){this.PALETTE_COLORS=[];for(var e=0;e<2;++e)for(var t=0;t<8;++t)this.PALETTE_COLORS.push(n[e][t].color);for(var r=[0,95,135,175,215,255],o=function(e,t,n){return r[e]+", "+r[t]+", "+r[n]},a=0;a<6;++a)for(var i=0;i<6;++i)for(var l=0;l<6;++l)this.PALETTE_COLORS.push(o(a,i,l));for(var s=8,c=0;c<24;++c,s+=10)this.PALETTE_COLORS.push(o(s,s,s))}},{key:"escapeForHtml",value:function(e){return e.replace(/[&<>]/gm,function(e){return"&"==e?"&":"<"==e?"<":">"==e?">":""})}},{key:"linkify",value:function(e){return e.replace(/(https?:\/\/[^\s]+)/gm,function(e){return'<a href="'+e+'">'+e+"</a>"})}},{key:"ansiToHtml",value:function(e,t){return this.process(e,t,!0)}},{key:"ansiToJson",value:function(e,t){return(t=t||{}).json=!0,t.clearLine=!1,this.process(e,t,!0)}},{key:"ansiToText",value:function(e){return this.process(e,{},!1)}},{key:"process",value:function(e,t,n){var r=this,o=e.split(/\033\[/),a=o.shift();null==t&&(t={}),t.clearLine=/\r/.test(e);var i=o.map(function(e){return r.processChunk(e,t,n)});if(t&&t.json){var l=this.processChunkJson("");return l.content=a,l.clearLine=t.clearLine,i.unshift(l),t.remove_empty&&(i=i.filter(function(e){return!e.isEmpty()})),i}return i.unshift(a),i.join("")}},{key:"processChunkJson",value:function(e,t,r){var o=(t=void 0===t?{}:t).use_classes=void 0!==t.use_classes&&t.use_classes,a=t.key=o?"class":"color",i={content:e,fg:null,bg:null,fg_truecolor:null,bg_truecolor:null,clearLine:t.clearLine,decoration:null,was_processed:!1,isEmpty:function(){return!i.content}},l=e.match(/^([!\x3c-\x3f]*)([\d;]*)([\x20-\x2c]*[\x40-\x7e])([\s\S]*)/m);if(!l)return i;i.content=l[4];var s=l[2].split(";");if(""!==l[1]||"m"!==l[3]||!r)return i;for(this.decoration=null;s.length>0;){var c=parseInt(s.shift());if(isNaN(c)||0===c)this.fg=this.bg=this.decoration=null;else if(1===c)this.decoration="bold";else if(2===c)this.decoration="dim";else if(3==c)this.decoration="italic";else if(4==c)this.decoration="underline";else if(5==c)this.decoration="blink";else if(7===c)this.decoration="reverse";else if(8===c)this.decoration="hidden";else if(9===c)this.decoration="strikethrough";else if(39==c)this.fg=null;else if(49==c)this.bg=null;else if(c>=30&&c<38)this.fg=n[0][c%10][a];else if(c>=90&&c<98)this.fg=n[1][c%10][a];else if(c>=40&&c<48)this.bg=n[0][c%10][a];else if(c>=100&&c<108)this.bg=n[1][c%10][a];else if(38===c||48===c){var u=38===c;if(s.length>=1){var d=s.shift();if("5"===d&&s.length>=1){var f=parseInt(s.shift());if(f>=0&&f<=255)if(o){var p=f>=16?"ansi-palette-"+f:n[+(f>7)][f%8].class;u?this.fg=p:this.bg=p}else this.PALETTE_COLORS||this.setupPalette(),u?this.fg=this.PALETTE_COLORS[f]:this.bg=this.PALETTE_COLORS[f]}else if("2"===d&&s.length>=3){var h=parseInt(s.shift()),m=parseInt(s.shift()),g=parseInt(s.shift());if(h>=0&&h<=255&&m>=0&&m<=255&&g>=0&&g<=255){var y=h+", "+m+", "+g;o?u?(this.fg="ansi-truecolor",this.fg_truecolor=y):(this.bg="ansi-truecolor",this.bg_truecolor=y):u?this.fg=y:this.bg=y}}}}}return null===this.fg&&null===this.bg&&null===this.decoration||(i.fg=this.fg,i.bg=this.bg,i.fg_truecolor=this.fg_truecolor,i.bg_truecolor=this.bg_truecolor,i.decoration=this.decoration,i.was_processed=!0),i}},{key:"processChunk",value:function(e,t,n){var r=this;t=t||{};var o=this.processChunkJson(e,t,n);if(t.json)return o;if(o.isEmpty())return"";if(!o.was_processed)return o.content;var a=t.use_classes,i=[],l=[],s={},c=function(e){var t=[],n=void 0;for(n in e)e.hasOwnProperty(n)&&t.push("data-"+n+'="'+r.escapeForHtml(e[n])+'"');return t.length>0?" "+t.join(" "):""};return(o.fg&&(a?(l.push(o.fg+"-fg"),null!==o.fg_truecolor&&(s["ansi-truecolor-fg"]=o.fg_truecolor,o.fg_truecolor=null)):i.push("color:rgb("+o.fg+")")),o.bg&&(a?(l.push(o.bg+"-bg"),null!==o.bg_truecolor&&(s["ansi-truecolor-bg"]=o.bg_truecolor,o.bg_truecolor=null)):i.push("background-color:rgb("+o.bg+")")),o.decoration&&(a?l.push("ansi-"+o.decoration):"bold"===o.decoration?i.push("font-weight:bold"):"dim"===o.decoration?i.push("opacity:0.5"):"italic"===o.decoration?i.push("font-style:italic"):"reverse"===o.decoration?i.push("filter:invert(100%)"):"hidden"===o.decoration?i.push("visibility:hidden"):"strikethrough"===o.decoration?i.push("text-decoration:line-through"):i.push("text-decoration:"+o.decoration)),a)?'<span class="'+l.join(" ")+'"'+c(s)+">"+o.content+"</span>":'<span style="'+i.join(";")+'"'+c(s)+">"+o.content+"</span>"}}]),e}()}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var a=n[e]={exports:{}},i=!0;try{t[e](a,a.exports,r),i=!1}finally{i&&delete n[e]}return a.exports}r.ab="//",e.exports=r(211)})()},"./dist/compiled/react-dom/cjs/react-dom-client.production.js"(e,t,n){"use strict";var r,o=n("./dist/compiled/scheduler/index.js"),a=n("./dist/compiled/react/index.js"),i=n("./dist/compiled/react-dom/index.js");function l(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do 0!=(4098&(t=e).flags)&&(n=t.return),e=t.return;while(e)}return 3===t.tag?n:null}function c(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function u(e){if(31===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function d(e){if(s(e)!==e)throw Error(l(188))}function f(e,t,n,r,o,a){for(;null!==e;){if(5===e.tag&&n(e,r,o,a)||(22!==e.tag||null===e.memoizedState)&&(t||5!==e.tag)&&f(e.child,t,n,r,o,a))return!0;e=e.sibling}return!1}function p(e){for(e=e.return;null!==e;){if(3===e.tag||5===e.tag)return e;e=e.return}return null}function h(e){switch(e.tag){case 5:return e.stateNode;case 3:return e.stateNode.containerInfo;default:throw Error(l(559))}}var m=null,g=null;function y(e){return m=e,!0}function v(e,t,n){return e===n||e===t&&(m=e,!0)}function b(e,t,n){return e===n?(g=e,!1):e===t&&(null!==g&&(m=e),!0)}function x(e){if(null===e)return null;do e=null===e?null:e.return;while(e&&5!==e.tag&&27!==e.tag&&3!==e.tag);return e||null}function w(e,t,n){for(var r=0,o=e;o;o=n(o))r++;o=0;for(var a=t;a;a=n(a))o++;for(;0<r-o;)e=n(e),r--;for(;0<o-r;)t=n(t),o--;for(;r--;){if(e===t||null!==t&&e===t.alternate)return e;e=n(e),t=n(t)}return null}var _=Object.assign,j=Symbol.for("react.element"),k=Symbol.for("react.transitional.element"),S=Symbol.for("react.portal"),O=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),P=Symbol.for("react.profiler"),E=Symbol.for("react.consumer"),T=Symbol.for("react.context"),N=Symbol.for("react.forward_ref"),I=Symbol.for("react.suspense"),L=Symbol.for("react.suspense_list"),A=Symbol.for("react.memo"),z=Symbol.for("react.lazy");Symbol.for("react.scope");var R=Symbol.for("react.activity"),D=Symbol.for("react.legacy_hidden");Symbol.for("react.tracing_marker");var M=Symbol.for("react.memo_cache_sentinel"),Z=Symbol.for("react.view_transition"),U=Symbol.iterator;function F(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=U&&e[U]||e["@@iterator"])?e:null}var H=Symbol.for("react.client.reference"),V=Array.isArray,B=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,$=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,q={pending:!1,data:null,method:null,action:null},W=[],K=-1;function Y(e){return{current:e}}function X(e){0>K||(e.current=W[K],W[K]=null,K--)}function G(e,t){W[++K]=e.current,e.current=t}var Q=Y(null),J=Y(null),ee=Y(null),et=Y(null);function en(e,t){switch(G(ee,t),G(J,e),G(Q,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?uu(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)e=ud(t=uu(t),e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}X(Q),G(Q,e)}function er(){X(Q),X(J),X(ee)}function eo(e){var t=e.memoizedState;null!==t&&(db._currentValue=t.memoizedState,G(et,e));var n=ud(t=Q.current,e.type);t!==n&&(G(J,e),G(Q,n))}function ea(e){J.current===e&&(X(Q),X(J)),et.current===e&&(X(et),db._currentValue=q)}function ei(e){if(void 0===tX)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);tX=t&&t[1]||"",tG=-1<e.stack.indexOf("\n at")?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+tX+e+tG}var el=!1;function es(e,t){if(!e||el)return"";el=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&"function"==typeof n.catch&&n.catch(function(){})}}catch(e){if(e&&r&&"string"==typeof e.stack)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var a=r.DetermineComponentFrameRoot(),i=a[0],l=a[1];if(i&&l){var s=i.split("\n"),c=l.split("\n");for(o=r=0;r<s.length&&!s[r].includes("DetermineComponentFrameRoot");)r++;for(;o<c.length&&!c[o].includes("DetermineComponentFrameRoot");)o++;if(r===s.length||o===c.length)for(r=s.length-1,o=c.length-1;1<=r&&0<=o&&s[r]!==c[o];)o--;for(;1<=r&&0<=o;r--,o--)if(s[r]!==c[o]){if(1!==r||1!==o)do if(r--,o--,0>o||s[r]!==c[o]){var u="\n"+s[r].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}while(1<=r&&0<=o);break}}}finally{el=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?ei(n):""}function ec(e){try{var t="",n=null;do t+=function(e,t){switch(e.tag){case 26:case 27:case 5:return ei(e.type);case 16:return ei("Lazy");case 13:return e.child!==t&&null!==t?ei("Suspense Fallback"):ei("Suspense");case 19:return ei("SuspenseList");case 0:case 15:return es(e.type,!1);case 11:return es(e.type.render,!1);case 1:return es(e.type,!0);case 31:return ei("Activity");case 30:return ei("ViewTransition");default:return""}}(e,n),n=e,e=e.return;while(e);return t}catch(e){return"\nError generating stack: "+e.message+"\n"+e.stack}}var eu=Object.prototype.hasOwnProperty,ed=o.unstable_scheduleCallback,ef=o.unstable_cancelCallback,ep=o.unstable_shouldYield,eh=o.unstable_requestPaint,em=o.unstable_now,eg=o.unstable_getCurrentPriorityLevel,ey=o.unstable_ImmediatePriority,ev=o.unstable_UserBlockingPriority,eb=o.unstable_NormalPriority,ex=o.unstable_LowPriority,ew=o.unstable_IdlePriority,e_=o.log,ej=o.unstable_setDisableYieldValue,ek=null,eS=null;function eO(e){if("function"==typeof e_&&ej(e),eS&&"function"==typeof eS.setStrictMode)try{eS.setStrictMode(ek,e)}catch(e){}}var eC=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(eP(e)/eE|0)|0},eP=Math.log,eE=Math.LN2,eT=256,eN=262144,eI=4194304;function eL(e){var t=42&e;if(0!==t)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return 261888&e;case 262144:case 524288:case 1048576:case 2097152:return 3932160&e;case 4194304:case 8388608:case 0x1000000:case 0x2000000:return 0x3c00000&e;case 0x4000000:return 0x4000000;case 0x8000000:return 0x8000000;case 0x10000000:return 0x10000000;case 0x20000000:return 0x20000000;case 0x40000000:return 0;default:return e}}function eA(e,t,n){var r=e.pendingLanes;if(0===r)return 0;var o=0,a=e.suspendedLanes,i=e.pingedLanes;e=e.warmLanes;var l=0x7ffffff&r;return 0!==l?0!=(r=l&~a)?o=eL(r):0!=(i&=l)?o=eL(i):n||0!=(n=l&~e)&&(o=eL(n)):0!=(l=r&~a)?o=eL(l):0!==i?o=eL(i):n||0!=(n=r&~e)&&(o=eL(n)),0===o?0:0!==t&&t!==o&&0==(t&a)&&((a=o&-o)>=(n=t&-t)||32===a&&0!=(4194048&n))?t:o}function ez(e,t){return 0==(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)}function eR(){var e=eI;return 0==(0x3c00000&(eI<<=1))&&(eI=4194304),e}function eD(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function eM(e,t){e.pendingLanes|=t,0x10000000!==t&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function eZ(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-eC(t);e.entangledLanes|=t,e.entanglements[r]=0x40000000|e.entanglements[r]|261930&n}function eU(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-eC(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}function eF(e,t){var n=t&-t;return 0!=((n=0!=(42&n)?1:eH(n))&(e.suspendedLanes|t))?0:n}function eH(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 0x1000000:case 0x2000000:e=128;break;case 0x10000000:e=0x8000000;break;default:e=0}return e}function eV(e){return 2<(e&=-e)?8<e?0!=(0x7ffffff&e)?32:0x10000000:8:2}function eB(){var e=$.p;return 0!==e?e:void 0===(e=window.event)?32:dL(e.type)}function e$(e,t){var n=$.p;try{return $.p=e,t()}finally{$.p=n}}var eq=Math.random().toString(36).slice(2),eW="__reactFiber$"+eq,eK="__reactProps$"+eq,eY="__reactContainer$"+eq,eX="__reactEvents$"+eq,eG="__reactListeners$"+eq,eQ="__reactHandles$"+eq,eJ="__reactResources$"+eq,e0="__reactMarker$"+eq;function e1(e){delete e[eW],delete e[eK],delete e[eX],delete e[eG],delete e[eQ]}function e2(e){var t;if(t=e[eW])return t;for(var n=e.parentNode;n;){if(t=n[eY]||n[eW]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=uY(e);null!==e;){if(n=e[eW])return n;e=uY(e)}return t}n=(e=n).parentNode}return null}function e3(e){if(e=e[eW]||e[eY]){var t=e.tag;if(5===t||6===t||13===t||31===t||26===t||27===t||3===t)return e}return null}function e4(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e.stateNode;throw Error(l(33))}function e5(e){var t=e[eJ];return t||(t=e[eJ]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function e6(e){e[e0]=!0}var e9=new Set,e8={};function e7(e,t){te(e,t),te(e+"Capture",t)}function te(e,t){for(e8[e]=t,e=0;e<t.length;e++)e9.add(t[e])}var tt=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),tn={},tr={},to=!1;function ta(){var e=to;return to=!1,e}function ti(e,t,n){if(eu.call(tr,t)||!eu.call(tn,t)&&(tt.test(t)?tr[t]=!0:(tn[t]=!0,!1)))if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var r=t.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return void e.removeAttribute(t)}e.setAttribute(t,""+n)}}function tl(e,t,n){if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+n)}}function ts(e,t,n,r){if(null===r)e.removeAttribute(n);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttributeNS(t,n,""+r)}}function tc(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function tu(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function td(e){if(!e._valueTracker){var t=tu(e)?"checked":"value";e._valueTracker=function(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&void 0!==r&&"function"==typeof r.get&&"function"==typeof r.set){var o=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){n=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e,t,""+e[t])}}function tf(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=tu(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function tp(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}var th=/[\n"\\]/g;function tm(e){return e.replace(th,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function tg(e,t,n,r,o,a,i,l){e.name="",null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i?e.type=i:e.removeAttribute("type"),null!=t?"number"===i?(0===t&&""===e.value||e.value!=t)&&(e.value=""+tc(t)):e.value!==""+tc(t)&&(e.value=""+tc(t)):"submit"!==i&&"reset"!==i||e.removeAttribute("value"),null!=t?tv(e,i,tc(t)):null!=n?tv(e,i,tc(n)):null!=r&&e.removeAttribute("value"),null==o&&null!=a&&(e.defaultChecked=!!a),null!=o&&(e.checked=o&&"function"!=typeof o&&"symbol"!=typeof o),null!=l&&"function"!=typeof l&&"symbol"!=typeof l&&"boolean"!=typeof l?e.name=""+tc(l):e.removeAttribute("name")}function ty(e,t,n,r,o,a,i,l){if(null!=a&&"function"!=typeof a&&"symbol"!=typeof a&&"boolean"!=typeof a&&(e.type=a),null!=t||null!=n){if(("submit"===a||"reset"===a)&&null==t)return void td(e);n=null!=n?""+tc(n):"",t=null!=t?""+tc(t):n,l||t===e.value||(e.value=t),e.defaultValue=t}r="function"!=typeof(r=null!=r?r:o)&&"symbol"!=typeof r&&!!r,e.checked=l?e.checked:!!r,e.defaultChecked=!!r,null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i&&(e.name=i),td(e)}function tv(e,t,n){"number"===t&&tp(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function tb(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(o=0,n=""+tc(n),t=null;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function tx(e,t,n){if(null!=t&&((t=""+tc(t))!==e.value&&(e.value=t),null==n)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=null!=n?""+tc(n):""}function tw(e,t,n,r){if(null==t){if(null!=r){if(null!=n)throw Error(l(92));if(V(r)){if(1<r.length)throw Error(l(93));r=r[0]}n=r}null==n&&(n=""),t=n}e.defaultValue=n=tc(t),(r=e.textContent)===n&&""!==r&&null!==r&&(e.value=r),td(e)}function t_(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType){n.nodeValue=t;return}}e.textContent=t}var tj=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function tk(e,t,n){var r=0===t.indexOf("--");null==n||"boolean"==typeof n||""===n?r?e.setProperty(t,""):"float"===t?e.cssFloat="":e[t]="":r?e.setProperty(t,n):"number"!=typeof n||0===n||tj.has(t)?"float"===t?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function tS(e,t,n){if(null!=t&&"object"!=typeof t)throw Error(l(62));if(e=e.style,null!=n){for(var r in n)!n.hasOwnProperty(r)||null!=t&&t.hasOwnProperty(r)||(0===r.indexOf("--")?e.setProperty(r,""):"float"===r?e.cssFloat="":e[r]="",to=!0);for(var o in t)r=t[o],t.hasOwnProperty(o)&&n[o]!==r&&(tk(e,o,r),to=!0)}else for(var a in t)t.hasOwnProperty(a)&&tk(e,a,t[a])}function tO(e){if(-1===e.indexOf("-"))return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var tC=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),tP=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function tE(e){return tP.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function tT(){}var tN=null;function tI(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var tL=null,tA=null;function tz(e){var t=e3(e);if(t&&(e=t.stateNode)){var n=e[eK]||null;switch(e=t.stateNode,t.type){case"input":if(tg(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+tm(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=r[eK]||null;if(!o)throw Error(l(90));tg(r,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(t=0;t<n.length;t++)(r=n[t]).form===e.form&&tf(r)}break;case"textarea":tx(e,n.value,n.defaultValue);break;case"select":null!=(t=n.value)&&tb(e,!!n.multiple,t,!1)}}}var tR=!1;function tD(e,t,n){if(tR)return e(t,n);tR=!0;try{return e(t)}finally{if(tR=!1,(null!==tL||null!==tA)&&(cn(),tL&&(t=tL,e=tA,tA=tL=null,tz(t),e)))for(t=0;t<e.length;t++)tz(e[t])}}function tM(e,t){var n=e.stateNode;if(null===n)return null;var r=n[eK]||null;if(null===r)return null;switch(n=r[t],t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r="button"!==(e=e.type)&&"input"!==e&&"select"!==e&&"textarea"!==e),e=!r;break;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(l(231,t,typeof n));return n}var tZ="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,tU=!1;if(tZ)try{var tF={};Object.defineProperty(tF,"passive",{get:function(){tU=!0}}),window.addEventListener("test",tF,tF),window.removeEventListener("test",tF,tF)}catch(e){tU=!1}var tH=null,tV=null,tB=null;function t$(){if(tB)return tB;var e,t,n=tV,r=n.length,o="value"in tH?tH.value:tH.textContent,a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);return tB=o.slice(e,1<t?1-t:void 0)}function tq(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function tW(){return!0}function tK(){return!1}function tY(e){function t(t,n,r,o,a){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(o):o[i]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?tW:tK,this.isPropagationStopped=tK,this}return _(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=tW)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=tW)},persist:function(){},isPersistent:tW}),t}var tX,tG,tQ,tJ,t0,t1={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},t2=tY(t1),t3=_({},t1,{view:0,detail:0}),t4=tY(t3),t5=_({},t3,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ni,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==t0&&(t0&&"mousemove"===e.type?(tQ=e.screenX-t0.screenX,tJ=e.screenY-t0.screenY):tJ=tQ=0,t0=e),tQ)},movementY:function(e){return"movementY"in e?e.movementY:tJ}}),t6=tY(t5),t9=tY(_({},t5,{dataTransfer:0})),t8=tY(_({},t3,{relatedTarget:0})),t7=tY(_({},t1,{animationName:0,elapsedTime:0,pseudoElement:0})),ne=tY(_({},t1,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),nt=tY(_({},t1,{data:0})),nn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},nr={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},no={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function na(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=no[e])&&!!t[e]}function ni(){return na}var nl=tY(_({},t3,{key:function(e){if(e.key){var t=nn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tq(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?nr[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ni,charCode:function(e){return"keypress"===e.type?tq(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tq(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),ns=tY(_({},t5,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),nc=tY(_({},t3,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ni})),nu=tY(_({},t1,{propertyName:0,elapsedTime:0,pseudoElement:0})),nd=tY(_({},t5,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),nf=tY(_({},t1,{newState:0,oldState:0})),np=[9,13,27,32],nh=tZ&&"CompositionEvent"in window,nm=null;tZ&&"documentMode"in document&&(nm=document.documentMode);var ng=tZ&&"TextEvent"in window&&!nm,ny=tZ&&(!nh||nm&&8<nm&&11>=nm),nv=!1;function nb(e,t){switch(e){case"keyup":return -1!==np.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function nx(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var nw=!1,n_={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function nj(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!n_[e.type]:"textarea"===t}function nk(e,t,n,r){tL?tA?tA.push(r):tA=[r]:tL=r,0<(t=c6(t,"onChange")).length&&(n=new t2("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var nS=null,nO=null;function nC(e){cQ(e,0)}function nP(e){if(tf(e4(e)))return e}function nE(e,t){if("change"===e)return t}var nT=!1;if(tZ){if(tZ){var nN="oninput"in document;if(!nN){var nI=document.createElement("div");nI.setAttribute("oninput","return;"),nN="function"==typeof nI.oninput}r=nN}else r=!1;nT=r&&(!document.documentMode||9<document.documentMode)}function nL(){nS&&(nS.detachEvent("onpropertychange",nA),nO=nS=null)}function nA(e){if("value"===e.propertyName&&nP(nO)){var t=[];nk(t,nO,e,tI(e)),tD(nC,t)}}function nz(e,t,n){"focusin"===e?(nL(),nS=t,nO=n,nS.attachEvent("onpropertychange",nA)):"focusout"===e&&nL()}function nR(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return nP(nO)}function nD(e,t){if("click"===e)return nP(t)}function nM(e,t){if("input"===e||"change"===e)return nP(t)}var nZ="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function nU(e,t){if(nZ(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!eu.call(t,o)||!nZ(e[o],t[o]))return!1}return!0}function nF(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function nH(e,t){var n,r=nF(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=nF(r)}}function nV(e){e=null!=e&&null!=e.ownerDocument&&null!=e.ownerDocument.defaultView?e.ownerDocument.defaultView:window;for(var t=tp(e.document);t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(n)e=t.contentWindow;else break;t=tp(e.document)}return t}function nB(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var n$=tZ&&"documentMode"in document&&11>=document.documentMode,nq=null,nW=null,nK=null,nY=!1;function nX(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;nY||null==nq||nq!==tp(r)||(r="selectionStart"in(r=nq)&&nB(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},nK&&nU(nK,r)||(nK=r,0<(r=c6(nW,"onSelect")).length&&(t=new t2("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=nq)))}function nG(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var nQ={animationend:nG("Animation","AnimationEnd"),animationiteration:nG("Animation","AnimationIteration"),animationstart:nG("Animation","AnimationStart"),transitionrun:nG("Transition","TransitionRun"),transitionstart:nG("Transition","TransitionStart"),transitioncancel:nG("Transition","TransitionCancel"),transitionend:nG("Transition","TransitionEnd")},nJ={},n0={};function n1(e){if(nJ[e])return nJ[e];if(!nQ[e])return e;var t,n=nQ[e];for(t in n)if(n.hasOwnProperty(t)&&t in n0)return nJ[e]=n[t];return e}tZ&&(n0=document.createElement("div").style,"AnimationEvent"in window||(delete nQ.animationend.animation,delete nQ.animationiteration.animation,delete nQ.animationstart.animation),"TransitionEvent"in window||delete nQ.transitionend.transition);var n2=n1("animationend"),n3=n1("animationiteration"),n4=n1("animationstart"),n5=n1("transitionrun"),n6=n1("transitionstart"),n9=n1("transitioncancel"),n8=n1("transitionend"),n7=new Map,re="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function rt(e,t){n7.set(e,t),e7(t,[e])}re.push("scrollEnd");var rn=0;function rr(e,t){return null!=e.name&&"auto"!==e.name?e.name:null!==t.autoName?t.autoName:t.autoName=e="_"+(e=sK.identifierPrefix)+"t_"+(rn++).toString(32)+"_"}function ro(e){if(null==e||"string"==typeof e)return e;var t=null,n=s2;if(null!==n)for(var r=0;r<n.length;r++){var o=e[n[r]];if(null!=o){if("none"===o)return"none";t=null==t?o:t+" "+o}}return null==t?e.default:t}function ra(e,t){return e=ro(e),null==(t=ro(t))?"auto"===e?null:e:"auto"===t?null:t}var ri="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)},rl=[],rs=0,rc=0;function ru(){for(var e=rs,t=rc=rs=0;t<e;){var n=rl[t];rl[t++]=null;var r=rl[t];rl[t++]=null;var o=rl[t];rl[t++]=null;var a=rl[t];if(rl[t++]=null,null!==r&&null!==o){var i=r.pending;null===i?o.next=o:(o.next=i.next,i.next=o),r.pending=o}0!==a&&rh(n,o,a)}}function rd(e,t,n,r){rl[rs++]=e,rl[rs++]=t,rl[rs++]=n,rl[rs++]=r,rc|=r,e.lanes|=r,null!==(e=e.alternate)&&(e.lanes|=r)}function rf(e,t,n,r){return rd(e,t,n,r),rm(e)}function rp(e,t){return rd(e,null,null,t),rm(e)}function rh(e,t,n){e.lanes|=n;var r=e.alternate;null!==r&&(r.lanes|=n);for(var o=!1,a=e.return;null!==a;)a.childLanes|=n,null!==(r=a.alternate)&&(r.childLanes|=n),22===a.tag&&(null===(e=a.stateNode)||1&e._visibility||(o=!0)),e=a,a=a.return;return 3===e.tag?(a=e.stateNode,o&&null!==t&&(o=31-eC(n),null===(r=(e=a.hiddenUpdates)[o])?e[o]=[t]:r.push(t),t.lane=0x20000000|n),a):null}function rm(e){if(50<s3)throw s3=0,s4=null,Error(l(185));for(var t=e.return;null!==t;)t=(e=t).return;return 3===e.tag?e.stateNode:null}var rg={};function ry(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function rv(e,t,n,r){return new ry(e,t,n,r)}function rb(e){return!(!(e=e.prototype)||!e.isReactComponent)}function rx(e,t){var n=e.alternate;return null===n?((n=rv(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=0x7e00000&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function rw(e,t){e.flags&=0x7e00002;var n=e.alternate;return null===n?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,e.dependencies=null===(t=n.dependencies)?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function r_(e,t,n,r,o,a){var i=0;if(r=e,"function"==typeof e)rb(e)&&(i=1);else if("string"==typeof e)i=!function(e,t,n){if(1===n||null!=t.itemProp)return!1;switch(e){case"meta":case"title":return!0;case"style":if("string"!=typeof t.precedence||"string"!=typeof t.href||""===t.href)break;return!0;case"link":if("string"!=typeof t.rel||"string"!=typeof t.href||""===t.href||t.onLoad||t.onError)break;if("stylesheet"===t.rel)return e=t.disabled,"string"==typeof t.precedence&&null==e;return!0;case"script":if(t.async&&"function"!=typeof t.async&&"symbol"!=typeof t.async&&!t.onLoad&&!t.onError&&t.src&&"string"==typeof t.src)return!0}return!1}(e,n,Q.current)?"html"===e||"head"===e||"body"===e?27:5:26;else e:switch(e){case R:return(e=rv(31,n,t,o)).elementType=R,e.lanes=a,e;case O:return rj(n.children,o,a,t);case C:i=8,o|=24;break;case P:return(e=rv(12,n,t,2|o)).elementType=P,e.lanes=a,e;case I:return(e=rv(13,n,t,o)).elementType=I,e.lanes=a,e;case L:return(e=rv(19,n,t,o)).elementType=L,e.lanes=a,e;case D:case Z:return(e=rv(30,n,t,e=32|o)).elementType=Z,e.lanes=a,e.stateNode={autoName:null,paired:null,clones:null,ref:null},e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case T:i=10;break e;case E:i=9;break e;case N:i=11;break e;case A:i=14;break e;case z:i=16,r=null;break e}i=29,n=Error(l(130,null===e?"null":typeof e,"")),r=null}return(t=rv(i,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function rj(e,t,n,r){return(e=rv(7,e,r,t)).lanes=n,e}function rk(e,t,n){return(e=rv(6,e,null,t)).lanes=n,e}function rS(e){var t=rv(18,null,null,0);return t.stateNode=e,t}function rO(e,t,n){return(t=rv(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var rC=new WeakMap;function rP(e,t){if("object"==typeof e&&null!==e){var n=rC.get(e);return void 0!==n?n:(t={value:e,source:t,stack:ec(t)},rC.set(e,t),t)}return{value:e,source:t,stack:ec(t)}}var rE=[],rT=0,rN=null,rI=0,rL=[],rA=0,rz=null,rR=1,rD="";function rM(e,t){rE[rT++]=rI,rE[rT++]=rN,rN=e,rI=t}function rZ(e,t,n){rL[rA++]=rR,rL[rA++]=rD,rL[rA++]=rz,rz=e;var r=rR;e=rD;var o=32-eC(r)-1;r&=~(1<<o),n+=1;var a=32-eC(t)+o;if(30<a){var i=o-o%5;a=(r&(1<<i)-1).toString(32),r>>=i,o-=i,rR=1<<32-eC(t)+o|n<<o|r,rD=a+e}else rR=1<<a|n<<o|r,rD=e}function rU(e){null!==e.return&&(rM(e,1),rZ(e,1,0))}function rF(e){for(;e===rN;)rN=rE[--rT],rE[rT]=null,rI=rE[--rT],rE[rT]=null;for(;e===rz;)rz=rL[--rA],rL[rA]=null,rD=rL[--rA],rL[rA]=null,rR=rL[--rA],rL[rA]=null}function rH(e,t){rL[rA++]=rR,rL[rA++]=rD,rL[rA++]=rz,rR=t.id,rD=t.overflow,rz=e}var rV=null,rB=null,r$=!1,rq=null,rW=!1,rK=Error(l(519));function rY(e){var t=Error(l(418,1<arguments.length&&void 0!==arguments[1]&&arguments[1]?"text":"HTML",""));throw r1(rP(t,e)),rK}function rX(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[eW]=e,t[eK]=r,n){case"dialog":cJ("cancel",t),cJ("close",t);break;case"iframe":case"object":case"embed":cJ("load",t);break;case"video":case"audio":for(n=0;n<cX.length;n++)cJ(cX[n],t);break;case"source":cJ("error",t);break;case"img":case"image":case"link":cJ("error",t),cJ("load",t);break;case"details":cJ("toggle",t);break;case"input":cJ("invalid",t),ty(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case"select":cJ("invalid",t);break;case"textarea":cJ("invalid",t),tw(t,r.value,r.defaultValue,r.children)}"string"!=typeof(n=r.children)&&"number"!=typeof n&&"bigint"!=typeof n||t.textContent===""+n||!0===r.suppressHydrationWarning||un(t.textContent,n)?(null!=r.popover&&(cJ("beforetoggle",t),cJ("toggle",t)),null!=r.onScroll&&cJ("scroll",t),null!=r.onScrollEnd&&cJ("scrollend",t),null!=r.onClick&&(t.onclick=tT),t=!0):t=!1,t||rY(e,!0)}function rG(e){for(rV=e.return;rV;)switch(rV.tag){case 5:case 31:case 13:rW=!1;return;case 27:case 3:rW=!0;return;default:rV=rV.return}}function rQ(e){if(e!==rV)return!1;if(!r$)return rG(e),r$=!0,!1;var t,n=e.tag;if((t=3!==n&&27!==n)&&((t=5===n)&&(t="form"===(t=e.type)||"button"===t||uf(e.type,e.memoizedProps)),t=!t),t&&rB&&rY(e),rG(e),13===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(l(317));rB=uK(e)}else if(31===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(l(317));rB=uK(e)}else 27===n?(n=rB,ub(e.type)?(e=uW,uW=null,rB=e):rB=n):rB=rV?uq(e.stateNode.nextSibling):null;return!0}function rJ(){rB=rV=null,r$=!1}function r0(){var e=rq;return null!==e&&(null===sU?sU=e:sU.push.apply(sU,e),rq=null),e}function r1(e){null===rq?rq=[e]:rq.push(e)}var r2=Y(null),r3=null,r4=null;function r5(e,t,n){G(r2,t._currentValue),t._currentValue=n}function r6(e){e._currentValue=r2.current,X(r2)}function r9(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function r8(e,t,n,r){var o=e.child;for(null!==o&&(o.return=e);null!==o;){var a=o.dependencies;if(null!==a){var i=o.child;a=a.firstContext;e:for(;null!==a;){var s=a;a=o;for(var c=0;c<t.length;c++)if(s.context===t[c]){a.lanes|=n,null!==(s=a.alternate)&&(s.lanes|=n),r9(a.return,n,e),r||(i=null);break e}a=s.next}}else if(18===o.tag){if(null===(i=o.return))throw Error(l(341));i.lanes|=n,null!==(a=i.alternate)&&(a.lanes|=n),r9(i,n,e),i=null}else i=o.child;if(null!==i)i.return=o;else for(i=o;null!==i;){if(i===e){i=null;break}if(null!==(o=i.sibling)){o.return=i.return,i=o;break}i=i.return}o=i}}function r7(e,t,n,r){e=null;for(var o=t,a=!1;null!==o;){if(!a){if(0!=(524288&o.flags))a=!0;else if(0!=(262144&o.flags))break}if(10===o.tag){var i=o.alternate;if(null===i)throw Error(l(387));if(null!==(i=i.memoizedProps)){var s=o.type;nZ(o.pendingProps.value,i.value)||(null!==e?e.push(s):e=[s])}}else if(o===et.current){if(null===(i=o.alternate))throw Error(l(387));i.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(null!==e?e.push(db):e=[db])}o=o.return}null!==e&&r8(t,e,n,r),t.flags|=262144}function oe(e){for(e=e.firstContext;null!==e;){if(!nZ(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function ot(e){r3=e,r4=null,null!==(e=e.dependencies)&&(e.firstContext=null)}function on(e){return oo(r3,e)}function or(e,t){return null===r3&&ot(e),oo(e,t)}function oo(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},null===r4){if(null===e)throw Error(l(308));r4=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else r4=r4.next=t;return n}var oa="undefined"!=typeof AbortController?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},oi=o.unstable_scheduleCallback,ol=o.unstable_NormalPriority,os={$$typeof:T,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function oc(){return{controller:new oa,data:new Map,refCount:0}}function ou(e){e.refCount--,0===e.refCount&&oi(ol,function(){e.controller.abort()})}function od(e,t){if(0!=(4194048&e.pendingLanes)){var n=e.transitionTypes;for(null===n&&(n=e.transitionTypes=[]),e=0;e<t.length;e++){var r=t[e];-1===n.indexOf(r)&&n.push(r)}}}var of=null,op=null,oh=0,om=0,og=null;function oy(){if(0==--oh&&(of=null,null!==op)){null!==og&&(og.status="fulfilled");var e=op;op=null,om=0,og=null;for(var t=0;t<e.length;t++)(0,e[t])()}}var ov=B.S;B.S=function(e,t){if(sV=em(),"object"==typeof t&&null!==t&&"function"==typeof t.then&&function(e,t){if(null===op){var n=op=[];oh=0,om=c$(),og={status:"pending",value:void 0,then:function(e){n.push(e)}}}oh++,t.then(oy,oy)}(0,t),null!==of)for(var n=cI;null!==n;)od(n,of),n=n.next;if(null!==(n=e.types)){for(var r=cI;null!==r;)od(r,n),r=r.next;if(0!==om){null===(r=of)&&(r=of=[]);for(var o=0;o<n.length;o++){var a=n[o];-1===r.indexOf(a)&&r.push(a)}}}null!==ov&&ov(e,t)};var ob=Y(null);function ox(){var e=ob.current;return null!==e?e:sk.pooledCache}function ow(e,t){null===t?G(ob,ob.current):G(ob,t.pool)}function o_(){var e=ox();return null===e?null:{parent:os._currentValue,pool:e}}var oj=Error(l(460)),ok=Error(l(474)),oS=Error(l(542)),oO={then:function(){}};function oC(e){return"fulfilled"===(e=e.status)||"rejected"===e}function oP(e,t,n){switch(void 0===(n=e[n])?e.push(t):n!==t&&(t.then(tT,tT),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw oI(e=t.reason),e;default:if("string"==typeof t.status)t.then(tT,tT);else{if(null!==(e=sk)&&100<e.shellSuspendCounter)throw Error(l(482));(e=t).status="pending",e.then(function(e){if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}},function(e){if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw oI(e=t.reason),e}throw oT=t,oj}}function oE(e){try{return(0,e._init)(e._payload)}catch(e){if(null!==e&&"object"==typeof e&&"function"==typeof e.then)throw oT=e,oj;throw e}}var oT=null;function oN(){if(null===oT)throw Error(l(459));var e=oT;return oT=null,e}function oI(e){if(e===oj||e===oS)throw Error(l(483))}var oL=null,oA=0;function oz(e){var t=oA;return oA+=1,null===oL&&(oL=[]),oP(oL,e,t)}function oR(e,t){e.ref=void 0!==(t=t.props.ref)?t:null}function oD(e,t){if(t.$$typeof===j)throw Error(l(525));throw Error(l(31,"[object Object]"===(e=Object.prototype.toString.call(t))?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function oM(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;null!==e;)null===e.key?t.set(e.index,e):t.set(e.key,e),e=e.sibling;return t}function o(e,t){return(e=rx(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return(t.index=r,e)?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=0x8000002,n):r:(t.flags|=0x8000002,n):(t.flags|=1048576,n)}function i(t){return e&&null===t.alternate&&(t.flags|=0x8000002),t}function s(e,t,n,r){return null===t||6!==t.tag?(t=rk(n,e.mode,r)).return=e:(t=o(t,n)).return=e,t}function c(e,t,n,r){var a=n.type;return a===O?(oR(e=d(e,t,n.props.children,r,n.key),n),e):(null!==t&&(t.elementType===a||"object"==typeof a&&null!==a&&a.$$typeof===z&&oE(a)===t.type)?oR(t=o(t,n.props),n):oR(t=r_(n.type,n.key,n.props,null,e.mode,r),n),t.return=e,t)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=rO(n,e.mode,r)).return=e:(t=o(t,n.children||[])).return=e,t}function d(e,t,n,r,a){return null===t||7!==t.tag?(t=rj(n,e.mode,r,a)).return=e:(t=o(t,n)).return=e,t}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t||"bigint"==typeof t)return(t=rk(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case k:return oR(n=r_(t.type,t.key,t.props,null,e.mode,n),t),n.return=e,n;case S:return(t=rO(t,e.mode,n)).return=e,t;case z:return f(e,t=oE(t),n)}if(V(t)||F(t))return(t=rj(t,e.mode,n,null)).return=e,t;if("function"==typeof t.then)return f(e,oz(t),n);if(t.$$typeof===T)return f(e,or(e,t),n);oD(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n||"bigint"==typeof n)return null!==o?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case k:return n.key===o?c(e,t,n,r):null;case S:return n.key===o?u(e,t,n,r):null;case z:return p(e,t,n=oE(n),r)}if(V(n)||F(n))return null!==o?null:d(e,t,n,r,null);if("function"==typeof n.then)return p(e,t,oz(n),r);if(n.$$typeof===T)return p(e,t,or(e,n),r);oD(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r||"bigint"==typeof r)return s(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case k:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case S:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case z:return h(e,t,n,r=oE(r),o)}if(V(r)||F(r))return d(t,e=e.get(n)||null,r,o,null);if("function"==typeof r.then)return h(e,t,n,oz(r),o);if(r.$$typeof===T)return h(e,t,n,or(t,r),o);oD(t,r)}return null}return function(s,c,u,d){try{oA=0;var m=function s(c,u,d,m){if("object"==typeof d&&null!==d&&d.type===O&&null===d.key&&void 0===d.props.ref&&(d=d.props.children),"object"==typeof d&&null!==d){switch(d.$$typeof){case k:e:{for(var g=d.key;null!==u;){if(u.key===g){if((g=d.type)===O){if(7===u.tag){n(c,u.sibling),oR(m=o(u,d.props.children),d),m.return=c,c=m;break e}}else if(u.elementType===g||"object"==typeof g&&null!==g&&g.$$typeof===z&&oE(g)===u.type){n(c,u.sibling),oR(m=o(u,d.props),d),m.return=c,c=m;break e}n(c,u);break}t(c,u),u=u.sibling}d.type===O?oR(m=rj(d.props.children,c.mode,m,d.key),d):oR(m=r_(d.type,d.key,d.props,null,c.mode,m),d),m.return=c,c=m}return i(c);case S:e:{for(g=d.key;null!==u;){if(u.key===g)if(4===u.tag&&u.stateNode.containerInfo===d.containerInfo&&u.stateNode.implementation===d.implementation){n(c,u.sibling),(m=o(u,d.children||[])).return=c,c=m;break e}else{n(c,u);break}t(c,u),u=u.sibling}(m=rO(d,c.mode,m)).return=c,c=m}return i(c);case z:return s(c,u,d=oE(d),m)}if(V(d))return function(o,i,l,s){for(var c=null,u=null,d=i,m=i=0,g=null;null!==d&&m<l.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var y=p(o,d,l[m],s);if(null===y){null===d&&(d=g);break}e&&d&&null===y.alternate&&t(o,d),i=a(y,i,m),null===u?c=y:u.sibling=y,u=y,d=g}if(m===l.length)return n(o,d),r$&&rM(o,m),c;if(null===d){for(;m<l.length;m++)null!==(d=f(o,l[m],s))&&(i=a(d,i,m),null===u?c=d:u.sibling=d,u=d);return r$&&rM(o,m),c}for(d=r(d);m<l.length;m++)null!==(g=h(d,o,m,l[m],s))&&(e&&null!==(y=g.alternate)&&d.delete(null===y.key?m:y.key),i=a(g,i,m),null===u?c=g:u.sibling=g,u=g);return e&&d.forEach(function(e){return t(o,e)}),r$&&rM(o,m),c}(c,u,d,m);if(F(d)){if("function"!=typeof(g=F(d)))throw Error(l(150));return function(o,i,s,c){if(null==s)throw Error(l(151));for(var u=null,d=null,m=i,g=i=0,y=null,v=s.next();null!==m&&!v.done;g++,v=s.next()){m.index>g?(y=m,m=null):y=m.sibling;var b=p(o,m,v.value,c);if(null===b){null===m&&(m=y);break}e&&m&&null===b.alternate&&t(o,m),i=a(b,i,g),null===d?u=b:d.sibling=b,d=b,m=y}if(v.done)return n(o,m),r$&&rM(o,g),u;if(null===m){for(;!v.done;g++,v=s.next())null!==(v=f(o,v.value,c))&&(i=a(v,i,g),null===d?u=v:d.sibling=v,d=v);return r$&&rM(o,g),u}for(m=r(m);!v.done;g++,v=s.next())null!==(v=h(m,o,g,v.value,c))&&(e&&null!==(y=v.alternate)&&m.delete(null===y.key?g:y.key),i=a(v,i,g),null===d?u=v:d.sibling=v,d=v);return e&&m.forEach(function(e){return t(o,e)}),r$&&rM(o,g),u}(c,u,d=g.call(d),m)}if("function"==typeof d.then)return s(c,u,oz(d),m);if(d.$$typeof===T)return s(c,u,or(c,d),m);oD(c,d)}return"string"==typeof d&&""!==d||"number"==typeof d||"bigint"==typeof d?(d=""+d,null!==u&&6===u.tag?(n(c,u.sibling),(m=o(u,d)).return=c):(n(c,u),(m=rk(d,c.mode,m)).return=c),i(c=m)):n(c,u)}(s,c,u,d);return oL=null,m}catch(e){if(e===oj||e===oS)throw e;var g=rv(29,e,null,s.mode);return g.lanes=d,g.return=s,g}finally{}}}var oZ=oM(!0),oU=oM(!1),oF=!1;function oH(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function oV(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function oB(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function o$(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&sj)){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,t=rm(e),rh(e,null,n),t}return rd(e,r,t,n),rm(e)}function oq(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194048&n))){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,eU(e,n)}}function oW(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var i={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};null===a?o=a=i:a=a.next=i,n=n.next}while(null!==n);null===a?o=a=t:a=a.next=t}else o=a=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n;return}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var oK=!1;function oY(){if(oK){var e=og;if(null!==e)throw e}}function oX(e,t,n,r){oK=!1;var o=e.updateQueue;oF=!1;var a=o.firstBaseUpdate,i=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var s=l,c=s.next;s.next=null,null===i?a=c:i.next=c,i=s;var u=e.alternate;null!==u&&(l=(u=u.updateQueue).lastBaseUpdate)!==i&&(null===l?u.firstBaseUpdate=c:l.next=c,u.lastBaseUpdate=s)}if(null!==a){var d=o.baseState;for(i=0,u=c=s=null,l=a;;){var f=-0x20000001&l.lane,p=f!==l.lane;if(p?(sO&f)===f:(r&f)===f){0!==f&&f===om&&(oK=!0),null!==u&&(u=u.next={lane:0,tag:l.tag,payload:l.payload,callback:null,next:null});e:{var h=e,m=l;switch(f=t,m.tag){case 1:if("function"==typeof(h=m.payload)){d=h.call(n,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(f="function"==typeof(h=m.payload)?h.call(n,d,f):h))break e;d=_({},d,f);break e;case 2:oF=!0}}null!==(f=l.callback)&&(e.flags|=64,p&&(e.flags|=8192),null===(p=o.callbacks)?o.callbacks=[f]:p.push(f))}else p={lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===u?(c=u=p,s=d):u=u.next=p,i|=f;if(null===(l=l.next))if(null===(l=o.shared.pending))break;else l=(p=l).next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}null===u&&(s=d),o.baseState=s,o.firstBaseUpdate=c,o.lastBaseUpdate=u,null===a&&(o.shared.lanes=0),sA|=i,e.lanes=i,e.memoizedState=d}}function oG(e,t){if("function"!=typeof e)throw Error(l(191,e));e.call(t)}function oQ(e,t){var n=e.callbacks;if(null!==n)for(e.callbacks=null,e=0;e<n.length;e++)oG(n[e],t)}var oJ=Y(null),o0=Y(0);function o1(e,t){G(o0,e=sI),G(oJ,t),sI=e|t.baseLanes}function o2(){G(o0,sI),G(oJ,oJ.current)}function o3(){sI=o0.current,X(oJ),X(o0)}var o4=Y(null),o5=null;function o6(e){var t=e.alternate;G(at,1&at.current),G(o4,e),null===o5&&(null===t||null!==oJ.current?o5=e:null!==t.memoizedState&&(o5=e))}function o9(e){G(at,at.current),G(o4,e),null===o5&&(o5=e)}function o8(e){22===e.tag?(G(at,at.current),G(o4,e),null===o5&&(o5=e)):o7()}function o7(){G(at,at.current),G(o4,o4.current)}function ae(e){X(o4),o5===e&&(o5=null),X(at)}var at=Y(0);function an(e,t){G(o4,o4.current),G(at,t)}function ar(e){X(at),X(o4),o5===e&&(o5=null)}function ao(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||uB(n)||u$(n)))return t}else if(19===t.tag&&"independent"!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var aa=0,ai=null,al=null,as=null,ac=!1,au=!1,ad=!1,af=0,ap=0,ah=null,am=0;function ag(){throw Error(l(321))}function ay(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!nZ(e[n],t[n]))return!1;return!0}function av(e,t,n,r,o,a){return aa=a,ai=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,B.H=null===e||null===e.memoizedState?iO:iC,ad=!1,a=n(r,o),ad=!1,au&&(a=ax(t,n,r,o)),ab(e),a}function ab(e){B.H=iS;var t=null!==al&&null!==al.next;if(aa=0,as=al=ai=null,ac=!1,ap=0,ah=null,t)throw Error(l(300));null===e||iV||null!==(e=e.dependencies)&&oe(e)&&(iV=!0)}function ax(e,t,n,r){ai=e;var o=0;do{if(au&&(ah=null),ap=0,au=!1,25<=o)throw Error(l(301));if(o+=1,as=al=null,null!=e.updateQueue){var a=e.updateQueue;a.lastEffect=null,a.events=null,a.stores=null,null!=a.memoCache&&(a.memoCache.index=0)}B.H=iP,a=t(n,r)}while(au);return a}function aw(){var e=B.H,t=e.useState()[0];return t="function"==typeof t.then?aP(t):t,e=e.useState()[0],(null!==al?al.memoizedState:null)!==e&&(ai.flags|=1024),t}function a_(){var e=0!==af;return af=0,e}function aj(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function ak(e){if(ac){for(e=e.memoizedState;null!==e;){var t=e.queue;null!==t&&(t.pending=null),e=e.next}ac=!1}aa=0,as=al=ai=null,au=!1,ap=af=0,ah=null}function aS(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===as?ai.memoizedState=as=e:as=as.next=e,as}function aO(){if(null===al){var e=ai.alternate;e=null!==e?e.memoizedState:null}else e=al.next;var t=null===as?ai.memoizedState:as.next;if(null!==t)as=t,al=e;else{if(null===e){if(null===ai.alternate)throw Error(l(467));throw Error(l(310))}e={memoizedState:(al=e).memoizedState,baseState:al.baseState,baseQueue:al.baseQueue,queue:al.queue,next:null},null===as?ai.memoizedState=as=e:as=as.next=e}return as}function aC(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function aP(e){var t=ap;return ap+=1,null===ah&&(ah=[]),e=oP(ah,e,t),t=ai,null===(null===as?t.memoizedState:as.next)&&(B.H=null===(t=t.alternate)||null===t.memoizedState?iO:iC),e}function aE(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return aP(e);if(e.$$typeof===T)return on(e)}throw Error(l(438,String(e)))}function aT(e){var t=null,n=ai.updateQueue;if(null!==n&&(t=n.memoCache),null==t){var r=ai.alternate;null!==r&&null!==(r=r.updateQueue)&&null!=(r=r.memoCache)&&(t={data:r.data.map(function(e){return e.slice()}),index:0})}if(null==t&&(t={data:[],index:0}),null===n&&(n=aC(),ai.updateQueue=n),n.memoCache=t,void 0===(n=t.data[t.index]))for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=M;return t.index++,n}function aN(e,t){return"function"==typeof t?t(e):t}function aI(e){return aL(aO(),al,e)}function aL(e,t,n){var r=e.queue;if(null===r)throw Error(l(311));r.lastRenderedReducer=n;var o=e.baseQueue,a=r.pending;if(null!==a){if(null!==o){var i=o.next;o.next=a.next,a.next=i}t.baseQueue=o=a,r.pending=null}if(a=e.baseState,null===o)e.memoizedState=a;else{t=o.next;var s=i=null,c=null,u=t,d=!1;do{var f=-0x20000001&u.lane;if(f!==u.lane?(sO&f)===f:(aa&f)===f){var p=u.revertLane;if(0===p)null!==c&&(c=c.next={lane:0,revertLane:0,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),f===om&&(d=!0);else if((aa&p)===p){u=u.next,p===om&&(d=!0);continue}else f={lane:0,revertLane:u.revertLane,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},null===c?(s=c=f,i=a):c=c.next=f,ai.lanes|=p,sA|=p;f=u.action,ad&&n(a,f),a=u.hasEagerState?u.eagerState:n(a,f)}else p={lane:f,revertLane:u.revertLane,gesture:u.gesture,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},null===c?(s=c=p,i=a):c=c.next=p,ai.lanes|=f,sA|=f;u=u.next}while(null!==u&&u!==t);if(null===c?i=a:c.next=s,!nZ(a,e.memoizedState)&&(iV=!0,d&&null!==(n=og)))throw n;e.memoizedState=a,e.baseState=i,e.baseQueue=c,r.lastRenderedState=a}return null===o&&(r.lanes=0),[e.memoizedState,r.dispatch]}function aA(e){var t=aO(),n=t.queue;if(null===n)throw Error(l(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var i=o=o.next;do a=e(a,i.action),i=i.next;while(i!==o);nZ(a,t.memoizedState)||(iV=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function az(e,t,n){var r=ai,o=aO(),a=r$;if(a){if(void 0===n)throw Error(l(407));n=n()}else n=t();var i=!nZ((al||o).memoizedState,n);if(i&&(o.memoizedState=n,iV=!0),o=o.queue,a6(aM.bind(null,r,o,e),[e]),o.getSnapshot!==t||i||null!==as&&1&as.memoizedState.tag){if(r.flags|=2048,a1(9,{destroy:void 0},aD.bind(null,r,o,n,t),null),null===sk)throw Error(l(349));a||0!=(127&aa)||aR(r,t,n)}return n}function aR(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=ai.updateQueue)?(t=aC(),ai.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function aD(e,t,n,r){t.value=n,t.getSnapshot=r,aZ(t)&&aU(e)}function aM(e,t,n){return n(function(){aZ(t)&&aU(e)})}function aZ(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!nZ(e,n)}catch(e){return!0}}function aU(e){var t=rp(e,2);null!==t&&s8(t,e,2)}function aF(e){var t=aS();if("function"==typeof e){var n=e;if(e=n(),ad){eO(!0);try{n()}finally{eO(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:aN,lastRenderedState:e},t}function aH(e,t,n,r){return e.baseState=n,aL(e,al,"function"==typeof r?r:aN)}function aV(e,t,n,r,o){if(i_(e))throw Error(l(485));if(null!==(e=t.action)){var a={payload:o,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(e){a.listeners.push(e)}};null!==B.T?n(!0):a.isTransition=!1,r(a),null===(n=t.pending)?(a.next=t.pending=a,aB(t,a)):(a.next=n.next,t.pending=n.next=a)}}function aB(e,t){var n=t.action,r=t.payload,o=e.state;if(t.isTransition){var a=B.T,i={};i.types=null!==a?a.types:null,B.T=i;try{var l=n(o,r),s=B.S;null!==s&&s(i,l),a$(e,t,l)}catch(n){aW(e,t,n)}finally{null!==a&&null!==i.types&&(a.types=i.types),B.T=a}}else try{a=n(o,r),a$(e,t,a)}catch(n){aW(e,t,n)}}function a$(e,t,n){null!==n&&"object"==typeof n&&"function"==typeof n.then?n.then(function(n){aq(e,t,n)},function(n){return aW(e,t,n)}):aq(e,t,n)}function aq(e,t,n){t.status="fulfilled",t.value=n,aK(t),e.state=n,null!==(t=e.pending)&&((n=t.next)===t?e.pending=null:(n=n.next,t.next=n,aB(e,n)))}function aW(e,t,n){var r=e.pending;if(e.pending=null,null!==r){r=r.next;do t.status="rejected",t.reason=n,aK(t),t=t.next;while(t!==r)}e.action=null}function aK(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function aY(e,t){return t}function aX(e,t){if(r$){var n=sk.formState;if(null!==n){e:{var r=ai;if(r$){if(rB){t:{for(var o=rB,a=rW;8!==o.nodeType;)if(!a||null===(o=uq(o.nextSibling))){o=null;break t}o="F!"===(a=o.data)||"F"===a?o:null}if(o){rB=uq(o.nextSibling),r="F!"===o.data;break e}}rY(r)}r=!1}r&&(t=n[0])}}return(n=aS()).memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:aY,lastRenderedState:t},n.queue=r,n=ib.bind(null,ai,r),r.dispatch=n,r=aF(!1),a=iw.bind(null,ai,!1,r.queue),r=aS(),o={state:t,dispatch:null,action:e,pending:null},r.queue=o,n=aV.bind(null,ai,o,a,n),o.dispatch=n,r.memoizedState=e,[t,n,!1]}function aG(e){return aQ(aO(),al,e)}function aQ(e,t,n){if(t=aL(e,t,aY)[0],e=aI(aN)[0],"object"==typeof t&&null!==t&&"function"==typeof t.then)try{var r=aP(t)}catch(e){if(e===oj)throw oS;throw e}else r=t;var o=(t=aO()).queue,a=o.dispatch;return n!==t.memoizedState&&(ai.flags|=2048,a1(9,{destroy:void 0},aJ.bind(null,o,n),null)),[r,a,e]}function aJ(e,t){e.action=t}function a0(e){var t=aO(),n=al;if(null!==n)return aQ(t,n,e);aO(),t=t.memoizedState;var r=(n=aO()).queue.dispatch;return n.memoizedState=e,[t,r,!1]}function a1(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},null===(t=ai.updateQueue)&&(t=aC(),ai.updateQueue=t),null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function a2(){return aO().memoizedState}function a3(e,t,n,r){var o=aS();ai.flags|=e,o.memoizedState=a1(1|t,{destroy:void 0},n,void 0===r?null:r)}function a4(e,t,n,r){var o=aO();r=void 0===r?null:r;var a=o.memoizedState.inst;null!==al&&null!==r&&ay(r,al.memoizedState.deps)?o.memoizedState=a1(t,a,n,r):(ai.flags|=e,o.memoizedState=a1(1|t,a,n,r))}function a5(e,t){a3(8390656,8,e,t)}function a6(e,t){a4(2048,8,e,t)}function a9(e){var t=aO().memoizedState,n={ref:t,nextImpl:e};ai.flags|=4;var r=ai.updateQueue;if(null===r)r=aC(),ai.updateQueue=r,r.events=[n];else{var o=r.events;null===o?r.events=[n]:o.push(n)}return function(){if(0!=(2&sj))throw Error(l(440));return t.impl.apply(void 0,arguments)}}function a8(e,t){return a4(4,2,e,t)}function a7(e,t){return a4(4,4,e,t)}function ie(e,t){if("function"==typeof t){var n=t(e=e());return function(){"function"==typeof n?n():t(null)}}if(null!=t)return t.current=e=e(),function(){t.current=null}}function it(e,t,n){n=null!=n?n.concat([e]):null,a4(4,4,ie.bind(null,t,e),n)}function ir(){}function io(e,t){var n=aO();t=void 0===t?null:t;var r=n.memoizedState;return null!==t&&ay(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function ia(e,t){var n=aO();t=void 0===t?null:t;var r=n.memoizedState;if(null!==t&&ay(t,r[1]))return r[0];if(r=e(),ad){eO(!0);try{e()}finally{eO(!1)}}return n.memoizedState=[r,t],r}function ii(e,t,n){return void 0===n||0!=(0x40000000&aa)&&0==(261930&sO)?e.memoizedState=t:(e.memoizedState=n,e=s6(),ai.lanes|=e,sA|=e,n)}function il(e,t,n,r){return nZ(n,t)?n:null!==oJ.current?(nZ(e=ii(e,n,r),t)||(iV=!0),e):0==(42&aa)||0!=(0x40000000&aa)&&0==(261930&sO)?(iV=!0,e.memoizedState=n):(e=s6(),ai.lanes|=e,sA|=e,t)}function is(e,t,n,r,o){var a=$.p;$.p=0!==a&&8>a?a:8;var i=B.T,l={};l.types=null!==i?i.types:null,B.T=l,iw(e,!1,t,n);try{var s=o(),c=B.S;if(null!==c&&c(l,s),null!==s&&"object"==typeof s&&"function"==typeof s.then){var u,d,f=(u=[],d={status:"pending",value:null,reason:null,then:function(e){u.push(e)}},s.then(function(){d.status="fulfilled",d.value=r;for(var e=0;e<u.length;e++)(0,u[e])(r)},function(e){for(d.status="rejected",d.reason=e,e=0;e<u.length;e++)(0,u[e])(void 0)}),d);ix(e,t,f,s5(e))}else ix(e,t,r,s5(e))}catch(n){ix(e,t,{then:function(){},status:"rejected",reason:n},s5())}finally{$.p=a,null!==i&&null!==l.types&&(i.types=l.types),B.T=i}}function ic(){}function iu(e,t,n,r){if(5!==e.tag)throw Error(l(476));var o=id(e).queue;is(e,o,t,q,null===n?ic:function(){return ip(e),n(r)})}function id(e){var t=e.memoizedState;if(null!==t)return t;var n={};return(t={memoizedState:q,baseState:q,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:aN,lastRenderedState:q},next:null}).next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:aN,lastRenderedState:n},next:null},e.memoizedState=t,null!==(e=e.alternate)&&(e.memoizedState=t),t}function ip(e){var t=id(e);null===t.next&&(t=e.alternate.memoizedState),ix(e,t.next.queue,{},s5())}function ih(){return on(db)}function im(){return aO().memoizedState}function ig(){return aO().memoizedState}function iy(e){for(var t=e.return;null!==t;){switch(t.tag){case 24:case 3:var n=s5(),r=o$(t,e=oB(n),n);null!==r&&(s8(r,t,n),oq(r,t,n)),t={cache:oc()},e.payload=t;return}t=t.return}}function iv(e,t,n){var r=s5();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},i_(e)?ij(t,n):null!==(n=rf(e,t,n,r))&&(s8(n,e,r),ik(n,t,r))}function ib(e,t,n){ix(e,t,n,s5())}function ix(e,t,n,r){var o={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(i_(e))ij(t,o);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var i=t.lastRenderedState,l=a(i,n);if(o.hasEagerState=!0,o.eagerState=l,nZ(l,i))return rd(e,t,o,0),null===sk&&ru(),!1}catch(e){}finally{}if(null!==(n=rf(e,t,o,r)))return s8(n,e,r),ik(n,t,r),!0}return!1}function iw(e,t,n,r){if(r={lane:2,revertLane:c$(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},i_(e)){if(t)throw Error(l(479))}else null!==(t=rf(e,n,r,2))&&s8(t,e,2)}function i_(e){var t=e.alternate;return e===ai||null!==t&&t===ai}function ij(e,t){au=ac=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ik(e,t,n){if(0!=(4194048&n)){var r=t.lanes;r&=e.pendingLanes,t.lanes=n|=r,eU(e,n)}}var iS={readContext:on,use:aE,useCallback:ag,useContext:ag,useEffect:ag,useImperativeHandle:ag,useLayoutEffect:ag,useInsertionEffect:ag,useMemo:ag,useReducer:ag,useRef:ag,useState:ag,useDebugValue:ag,useDeferredValue:ag,useTransition:ag,useSyncExternalStore:ag,useId:ag,useHostTransitionStatus:ag,useFormState:ag,useActionState:ag,useOptimistic:ag,useMemoCache:ag,useCacheRefresh:ag};iS.useEffectEvent=ag;var iO={readContext:on,use:aE,useCallback:function(e,t){return aS().memoizedState=[e,void 0===t?null:t],e},useContext:on,useEffect:a5,useImperativeHandle:function(e,t,n){n=null!=n?n.concat([e]):null,a3(4194308,4,ie.bind(null,t,e),n)},useLayoutEffect:function(e,t){return a3(4194308,4,e,t)},useInsertionEffect:function(e,t){a3(4,2,e,t)},useMemo:function(e,t){var n=aS();t=void 0===t?null:t;var r=e();if(ad){eO(!0);try{e()}finally{eO(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=aS();if(void 0!==n){var o=n(t);if(ad){eO(!0);try{n(t)}finally{eO(!1)}}}else o=t;return r.memoizedState=r.baseState=o,r.queue=e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:o},e=e.dispatch=iv.bind(null,ai,e),[r.memoizedState,e]},useRef:function(e){return aS().memoizedState={current:e}},useState:function(e){var t=(e=aF(e)).queue,n=ib.bind(null,ai,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:ir,useDeferredValue:function(e,t){return ii(aS(),e,t)},useTransition:function(){var e=aF(!1);return e=is.bind(null,ai,e.queue,!0,!1),aS().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=ai,o=aS();if(r$){if(void 0===n)throw Error(l(407));n=n()}else{if(n=t(),null===sk)throw Error(l(349));0!=(127&sO)||aR(r,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,a5(aM.bind(null,r,a,e),[e]),r.flags|=2048,a1(9,{destroy:void 0},aD.bind(null,r,a,n,t),null),n},useId:function(){var e=aS(),t=sk.identifierPrefix;if(r$){var n=rD,r=rR;t="_"+t+"R_"+(n=(r&~(1<<32-eC(r)-1)).toString(32)+n),0<(n=af++)&&(t+="H"+n.toString(32)),t+="_"}else t="_"+t+"r_"+(n=am++).toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:ih,useFormState:aX,useActionState:aX,useOptimistic:function(e){var t=aS();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=iw.bind(null,ai,!0,n),n.dispatch=t,[e,t]},useMemoCache:aT,useCacheRefresh:function(){return aS().memoizedState=iy.bind(null,ai)},useEffectEvent:function(e){var t=aS(),n={impl:e};return t.memoizedState=n,function(){if(0!=(2&sj))throw Error(l(440));return n.impl.apply(void 0,arguments)}}},iC={readContext:on,use:aE,useCallback:io,useContext:on,useEffect:a6,useImperativeHandle:it,useInsertionEffect:a8,useLayoutEffect:a7,useMemo:ia,useReducer:aI,useRef:a2,useState:function(){return aI(aN)},useDebugValue:ir,useDeferredValue:function(e,t){return il(aO(),al.memoizedState,e,t)},useTransition:function(){var e=aI(aN)[0],t=aO().memoizedState;return["boolean"==typeof e?e:aP(e),t]},useSyncExternalStore:az,useId:im,useHostTransitionStatus:ih,useFormState:aG,useActionState:aG,useOptimistic:function(e,t){return aH(aO(),al,e,t)},useMemoCache:aT,useCacheRefresh:ig};iC.useEffectEvent=a9;var iP={readContext:on,use:aE,useCallback:io,useContext:on,useEffect:a6,useImperativeHandle:it,useInsertionEffect:a8,useLayoutEffect:a7,useMemo:ia,useReducer:aA,useRef:a2,useState:function(){return aA(aN)},useDebugValue:ir,useDeferredValue:function(e,t){var n=aO();return null===al?ii(n,e,t):il(n,al.memoizedState,e,t)},useTransition:function(){var e=aA(aN)[0],t=aO().memoizedState;return["boolean"==typeof e?e:aP(e),t]},useSyncExternalStore:az,useId:im,useHostTransitionStatus:ih,useFormState:a0,useActionState:a0,useOptimistic:function(e,t){var n=aO();return null!==al?aH(n,al,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:aT,useCacheRefresh:ig};function iE(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:_({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}iP.useEffectEvent=a9;var iT={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=s5(),o=oB(r);o.payload=t,null!=n&&(o.callback=n),null!==(t=o$(e,o,r))&&(s8(t,e,r),oq(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=s5(),o=oB(r);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=o$(e,o,r))&&(s8(t,e,r),oq(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=s5(),r=oB(n);r.tag=2,null!=t&&(r.callback=t),null!==(t=o$(e,r,n))&&(s8(t,e,n),oq(t,e,n))}};function iN(e,t,n,r,o,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,i):!t.prototype||!t.prototype.isPureReactComponent||!nU(n,r)||!nU(o,a)}function iI(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&iT.enqueueReplaceState(t,t.state,null)}function iL(e,t){var n=t;if("ref"in t)for(var r in n={},t)"ref"!==r&&(n[r]=t[r]);if(e=e.defaultProps)for(var o in n===t&&(n=_({},n)),e)void 0===n[o]&&(n[o]=e[o]);return n}function iA(e){ri(e)}function iz(e){console.error(e)}function iR(e){ri(e)}function iD(e,t){try{(0,e.onUncaughtError)(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function iM(e,t,n){try{(0,e.onCaughtError)(n.value,{componentStack:n.stack,errorBoundary:1===t.tag?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function iZ(e,t,n){return(n=oB(n)).tag=3,n.payload={element:null},n.callback=function(){iD(e,t)},n}function iU(e){return(e=oB(e)).tag=3,e}function iF(e,t,n,r){var o=n.type.getDerivedStateFromError;if("function"==typeof o){var a=r.value;e.payload=function(){return o(a)},e.callback=function(){iM(t,n,r)}}var i=n.stateNode;null!==i&&"function"==typeof i.componentDidCatch&&(e.callback=function(){iM(t,n,r),"function"!=typeof o&&(null===sq?sq=new Set([this]):sq.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:null!==e?e:""})})}var iH=Error(l(461)),iV=!1;function iB(e,t,n,r){t.child=null===e?oU(t,null,n,r):oZ(t,e.child,n,r)}function i$(e,t,n,r,o){n=n.render;var a=t.ref;if("ref"in r){var i={};for(var l in r)"ref"!==l&&(i[l]=r[l])}else i=r;return(ot(t),r=av(e,t,n,i,a,o),l=a_(),null===e||iV)?(r$&&l&&rU(t),t.flags|=1,iB(e,t,r,o),t.child):(aj(e,t,o),li(e,t,o))}function iq(e,t,n,r,o){if(null===e){var a=n.type;return"function"!=typeof a||rb(a)||void 0!==a.defaultProps||null!==n.compare?((e=r_(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,iW(e,t,a,r,o))}if(a=e.child,!ll(e,o)){var i=a.memoizedProps;if((n=null!==(n=n.compare)?n:nU)(i,r)&&e.ref===t.ref)return li(e,t,o)}return t.flags|=1,(e=rx(a,r)).ref=t.ref,e.return=t,t.child=e}function iW(e,t,n,r,o){if(null!==e){var a=e.memoizedProps;if(nU(a,r)&&e.ref===t.ref)if(iV=!1,t.pendingProps=r=a,!ll(e,o))return t.lanes=e.lanes,li(e,t,o);else 0!=(131072&e.flags)&&(iV=!0)}return i0(e,t,n,r,o)}function iK(e,t,n,r){var o=r.children,a=null!==e?e.memoizedState:null;if(null===e&&null===t.stateNode&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),"hidden"===r.mode){if(0!=(128&t.flags)){if(a=null!==a?a.baseLanes|n:n,null!==e){for(o=0,r=t.child=e.child;null!==r;)o=o|r.lanes|r.childLanes,r=r.sibling;r=o&~a}else r=0,t.child=null;return iX(e,t,a,n,r)}if(0==(0x20000000&n))return r=t.lanes=0x20000000,iX(e,t,null!==a?a.baseLanes|n:n,n,r);t.memoizedState={baseLanes:0,cachePool:null},null!==e&&ow(t,null!==a?a.cachePool:null),null!==a?o1(t,a):o2(),o8(t)}else null!==a?(ow(t,a.cachePool),o1(t,a),o7(),t.memoizedState=null):(null!==e&&ow(t,null),o2(),o7());return iB(e,t,o,n),t.child}function iY(e,t){return null!==e&&22===e.tag||null!==t.stateNode||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function iX(e,t,n,r,o){var a=ox();return t.memoizedState={baseLanes:n,cachePool:a=null===a?null:{parent:os._currentValue,pool:a}},null!==e&&ow(t,null),o2(),o8(t),null!==e&&r7(e,t,r,!0),t.childLanes=o,null}function iG(e,t){return(t=i7({mode:t.mode,children:t.children},e.mode)).ref=e.ref,e.child=t,t.return=e,t}function iQ(e,t,n){return oZ(t,e.child,null,n),e=iG(t,t.pendingProps),e.flags|=2,ae(t),t.memoizedState=null,e}function iJ(e,t){var n=t.ref;if(null===n)null!==e&&null!==e.ref&&(t.flags|=4194816);else{if("function"!=typeof n&&"object"!=typeof n)throw Error(l(284));(null===e||e.ref!==n)&&(t.flags|=4194816)}}function i0(e,t,n,r,o){return(ot(t),n=av(e,t,n,r,void 0,o),r=a_(),null===e||iV)?(r$&&r&&rU(t),t.flags|=1,iB(e,t,n,o),t.child):(aj(e,t,o),li(e,t,o))}function i1(e,t,n,r,o,a){return(ot(t),t.updateQueue=null,n=ax(t,r,n,o),ab(e),r=a_(),null===e||iV)?(r$&&r&&rU(t),t.flags|=1,iB(e,t,n,a),t.child):(aj(e,t,a),li(e,t,a))}function i2(e,t,n,r,o){if(ot(t),null===t.stateNode){var a=rg,i=n.contextType;"object"==typeof i&&null!==i&&(a=on(i)),t.memoizedState=null!==(a=new n(r,a)).state&&void 0!==a.state?a.state:null,a.updater=iT,t.stateNode=a,a._reactInternals=t,(a=t.stateNode).props=r,a.state=t.memoizedState,a.refs={},oH(t),i=n.contextType,a.context="object"==typeof i&&null!==i?on(i):rg,a.state=t.memoizedState,"function"==typeof(i=n.getDerivedStateFromProps)&&(iE(t,n,i,r),a.state=t.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(i=a.state,"function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),i!==a.state&&iT.enqueueReplaceState(a,a.state,null),oX(t,r,a,o),oY(),a.state=t.memoizedState),"function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!0}else if(null===e){a=t.stateNode;var l=t.memoizedProps,s=iL(n,l);a.props=s;var c=a.context,u=n.contextType;i=rg,"object"==typeof u&&null!==u&&(i=on(u));var d=n.getDerivedStateFromProps;u="function"==typeof d||"function"==typeof a.getSnapshotBeforeUpdate,l=t.pendingProps!==l,u||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l||c!==i)&&iI(t,a,r,i),oF=!1;var f=t.memoizedState;a.state=f,oX(t,r,a,o),oY(),c=t.memoizedState,l||f!==c||oF?("function"==typeof d&&(iE(t,n,d,r),c=t.memoizedState),(s=oF||iN(t,n,s,r,f,c,i))?(u||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),a.props=r,a.state=c,a.context=i,r=s):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,oV(e,t),u=iL(n,i=t.memoizedProps),a.props=u,d=t.pendingProps,f=a.context,c=n.contextType,s=rg,"object"==typeof c&&null!==c&&(s=on(c)),(c="function"==typeof(l=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(i!==d||f!==s)&&iI(t,a,r,s),oF=!1,f=t.memoizedState,a.state=f,oX(t,r,a,o),oY();var p=t.memoizedState;i!==d||f!==p||oF||null!==e&&null!==e.dependencies&&oe(e.dependencies)?("function"==typeof l&&(iE(t,n,l,r),p=t.memoizedState),(u=oF||iN(t,n,u,r,f,p,s)||null!==e&&null!==e.dependencies&&oe(e.dependencies))?(c||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,p,s),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,p,s)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=s,r=u):("function"!=typeof a.componentDidUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return a=r,iJ(e,t),r=0!=(128&t.flags),a||r?(a=t.stateNode,n=r&&"function"!=typeof n.getDerivedStateFromError?null:a.render(),t.flags|=1,null!==e&&r?(t.child=oZ(t,e.child,null,o),t.child=oZ(t,null,n,o)):iB(e,t,n,o),t.memoizedState=a.state,e=t.child):e=li(e,t,o),e}function i3(e,t,n,r){return rJ(),t.flags|=256,iB(e,t,n,r),t.child}var i4={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function i5(e){return{baseLanes:e,cachePool:o_()}}function i6(e,t,n){return e=null!==e?e.childLanes&~n:0,t&&(e|=sD),e}function i9(e,t,n){var r,o=t.pendingProps,a=!1,i=0!=(128&t.flags);if((r=i)||(r=(null===e||null!==e.memoizedState)&&0!=(2&at.current)),r&&(a=!0,t.flags&=-129),r=0!=(32&t.flags),t.flags&=-33,null===e){if(r$){if(a?o6(t):o7(),(e=rB)?null!==(e=null!==(e=uV(e,rW))&&"&"!==e.data?e:null)&&(t.memoizedState={dehydrated:e,treeContext:null!==rz?{id:rR,overflow:rD}:null,retryLane:0x20000000,hydrationErrors:null},(n=rS(e)).return=t,t.child=n,rV=t,rB=null):e=null,null===e)throw rY(t);return u$(e)?t.lanes=32:t.lanes=0x20000000,null}var s=o.children;return(o=o.fallback,a)?(o7(),s=i7({mode:"hidden",children:s},a=t.mode),o=rj(o,a,n,null),s.return=t,o.return=t,s.sibling=o,t.child=s,(o=t.child).memoizedState=i5(n),o.childLanes=i6(e,r,n),t.memoizedState=i4,iY(null,o)):(o6(t),i8(t,s))}var c=e.memoizedState;if(null!==c&&null!==(s=c.dehydrated)){if(i)256&t.flags?(o6(t),t.flags&=-257,t=le(e,t,n)):null!==t.memoizedState?(o7(),t.child=e.child,t.flags|=128,t=null):(o7(),s=o.fallback,a=t.mode,o=i7({mode:"visible",children:o.children},a),s=rj(s,a,n,null),s.flags|=2,o.return=t,s.return=t,o.sibling=s,t.child=o,oZ(t,e.child,null,n),(o=t.child).memoizedState=i5(n),o.childLanes=i6(e,r,n),t.memoizedState=i4,t=iY(null,o));else if(o6(t),u$(s)){if(r=s.nextSibling&&s.nextSibling.dataset)var u=r.dgst;r=u,(o=Error(l(419))).stack="",o.digest=r,r1({value:o,source:null,stack:null}),t=le(e,t,n)}else if(iV||r7(e,t,n,!1),r=0!=(n&e.childLanes),iV||r){if(null!==(r=sk)&&0!==(o=eF(r,n))&&o!==c.retryLane)throw c.retryLane=o,rp(e,o),s8(r,e,o),iH;uB(s)||cc(),t=le(e,t,n)}else uB(s)?(t.flags|=192,t.child=e.child,t=null):(e=c.treeContext,rB=uq(s.nextSibling),rV=t,r$=!0,rq=null,rW=!1,null!==e&&rH(t,e),t=i8(t,o.children),t.flags|=4096);return t}return a?(o7(),s=o.fallback,a=t.mode,u=(c=e.child).sibling,(o=rx(c,{mode:"hidden",children:o.children})).subtreeFlags=0x7e00000&c.subtreeFlags,null!==u?s=rx(u,s):(s=rj(s,a,n,null),s.flags|=2),s.return=t,o.return=t,o.sibling=s,t.child=o,iY(null,o),o=t.child,null===(s=e.child.memoizedState)?s=i5(n):(null!==(a=s.cachePool)?(c=os._currentValue,a=a.parent!==c?{parent:c,pool:c}:a):a=o_(),s={baseLanes:s.baseLanes|n,cachePool:a}),o.memoizedState=s,o.childLanes=i6(e,r,n),t.memoizedState=i4,iY(e.child,o)):(o6(t),e=(n=e.child).sibling,(n=rx(n,{mode:"visible",children:o.children})).return=t,n.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n)}function i8(e,t){return(t=i7({mode:"visible",children:t},e.mode)).return=e,e.child=t}function i7(e,t){return(e=rv(22,e,null,t)).lanes=0,e}function le(e,t,n){return oZ(t,e.child,null,n),e=i8(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function lt(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),r9(e.return,t,n)}function ln(e){for(var t=null;null!==e;){var n=e.alternate;null!==n&&null===ao(n)&&(t=e),e=e.sibling}return t}function lr(e,t,n,r,o,a){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o,treeForkCount:a}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o,i.treeForkCount=a)}function lo(e){var t=e.child;for(e.child=null;null!==t;){var n=t.sibling;t.sibling=e.child,e.child=t,t=n}}function la(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;r=r.children;var i=at.current;if(128&t.flags)return an(t,i),null;var l=0!=(2&i);if(l?(i=1&i|2,t.flags|=128):i&=1,an(t,i),"backwards"===o&&null!==e?(lo(e),iB(e,t,r,n),lo(e)):iB(e,t,r,n),r=r$?rI:0,!l&&null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&<(e,n,t);else if(19===e.tag)lt(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(o){case"backwards":null===(n=ln(t.child))?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null,lo(t)),lr(t,!0,o,null,a,r);break;case"unstable_legacy-backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ao(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}lr(t,!0,n,null,a,r);break;case"together":lr(t,!1,null,null,void 0,r);break;case"independent":t.memoizedState=null;break;default:null===(n=ln(t.child))?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),lr(t,!1,o,n,a,r)}return t.child}function li(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),sA|=t.lanes,0==(n&t.childLanes)){if(null===e)return null;else if(r7(e,t,n,!1),0==(n&t.childLanes))return null}if(null!==e&&t.child!==e.child)throw Error(l(153));if(null!==t.child){for(n=rx(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=rx(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function ll(e,t){return 0!=(e.lanes&t)||!!(null!==(e=e.dependencies)&&oe(e))}function ls(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps)iV=!0;else{if(!ll(e,n)&&0==(128&t.flags))return iV=!1,function(e,t,n){switch(t.tag){case 3:en(t,t.stateNode.containerInfo),r5(t,os,e.memoizedState.cache),rJ();break;case 27:case 5:eo(t);break;case 4:en(t,t.stateNode.containerInfo);break;case 10:r5(t,t.type,t.memoizedProps.value);break;case 31:if(null!==t.memoizedState)return t.flags|=128,o9(t),null;break;case 13:var r=t.memoizedState;if(null!==r){if(null!==r.dehydrated)return o6(t),t.flags|=128,null;if(0!=(n&t.child.childLanes))return i9(e,t,n);return o6(t),null!==(e=li(e,t,n))?e.sibling:null}o6(t);break;case 19:if(128&t.flags)return la(e,t,n);var o=0!=(128&e.flags);if((r=0!=(n&t.childLanes))||(r7(e,t,n,!1),r=0!=(n&t.childLanes)),o){if(r)return la(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),an(t,at.current),!r)return null;break;case 22:return t.lanes=0,iK(e,t,n,t.pendingProps);case 24:r5(t,os,e.memoizedState.cache)}return li(e,t,n)}(e,t,n);iV=0!=(131072&e.flags)}else iV=!1,r$&&0!=(1048576&t.flags)&&rZ(t,rI,t.index);switch(t.lanes=0,t.tag){case 16:e:{var r=t.pendingProps;if(e=oE(t.elementType),t.type=e,"function"==typeof e)rb(e)?(r=iL(e,r),t.tag=1,t=i2(null,t,e,r,n)):(t.tag=0,t=i0(null,t,e,r,n));else{if(null!=e){var o=e.$$typeof;if(o===N){t.tag=11,t=i$(null,t,e,r,n);break e}if(o===A){t.tag=14,t=iq(null,t,e,r,n);break e}}throw Error(l(306,t=function e(t){if(null==t)return null;if("function"==typeof t)return t.$$typeof===H?null:t.displayName||t.name||null;if("string"==typeof t)return t;switch(t){case O:return"Fragment";case P:return"Profiler";case C:return"StrictMode";case I:return"Suspense";case L:return"SuspenseList";case R:return"Activity";case Z:return"ViewTransition"}if("object"==typeof t)switch(t.$$typeof){case S:return"Portal";case T:return t.displayName||"Context";case E:return(t._context.displayName||"Context")+".Consumer";case N:var n=t.render;return(t=t.displayName)||(t=""!==(t=n.displayName||n.name||"")?"ForwardRef("+t+")":"ForwardRef"),t;case A:return null!==(n=t.displayName||null)?n:e(t.type)||"Memo";case z:n=t._payload,t=t._init;try{return e(t(n))}catch(e){}}return null}(e)||e,""))}}return t;case 0:return i0(e,t,t.type,t.pendingProps,n);case 1:return o=iL(r=t.type,t.pendingProps),i2(e,t,r,o,n);case 3:e:{if(en(t,t.stateNode.containerInfo),null===e)throw Error(l(387));r=t.pendingProps;var a=t.memoizedState;o=a.element,oV(e,t),oX(t,r,null,n);var i=t.memoizedState;if(r5(t,os,r=i.cache),r!==a.cache&&r8(t,[os],n,!0),oY(),r=i.element,a.isDehydrated)if(a={element:r,isDehydrated:!1,cache:i.cache},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=i3(e,t,r,n);break e}else if(r!==o){r1(o=rP(Error(l(424)),t)),t=i3(e,t,r,n);break e}else for(rB=uq((e=9===(e=t.stateNode.containerInfo).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e).firstChild),rV=t,r$=!0,rq=null,rW=!0,n=oU(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling;else{if(rJ(),r===o){t=li(e,t,n);break e}iB(e,t,r,n)}t=t.child}return t;case 26:return iJ(e,t),null===e?(n=u4(t.type,null,t.pendingProps,null))?t.memoizedState=n:r$||(n=t.type,e=t.pendingProps,(r=uc(ee.current).createElement(n))[eW]=t,r[eK]=e,ua(r,n,e),e6(r),t.stateNode=r):t.memoizedState=u4(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return eo(t),null===e&&r$&&(r=t.stateNode=uX(t.type,t.pendingProps,ee.current),rV=t,rW=!0,o=rB,ub(t.type)?(uW=o,rB=uq(r.firstChild)):rB=o),iB(e,t,t.pendingProps.children,n),iJ(e,t),null===e&&(t.flags|=4194304),t.child;case 5:return null===e&&r$&&((o=r=rB)&&(null!==(r=function(e,t,n,r){for(;1===e.nodeType;){if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&("INPUT"!==e.nodeName||"hidden"!==e.type))break}else if(r){if(!e[e0])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if("stylesheet"===(o=e.getAttribute("rel"))&&e.hasAttribute("data-precedence")||o!==n.rel||e.getAttribute("href")!==(null==n.href||""===n.href?null:n.href)||e.getAttribute("crossorigin")!==(null==n.crossOrigin?null:n.crossOrigin)||e.getAttribute("title")!==(null==n.title?null:n.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(((o=e.getAttribute("src"))!==(null==n.src?null:n.src)||e.getAttribute("type")!==(null==n.type?null:n.type)||e.getAttribute("crossorigin")!==(null==n.crossOrigin?null:n.crossOrigin))&&o&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else{if("input"!==t||"hidden"!==e.type)return e;var o=null==n.name?null:""+n.name;if("hidden"===n.type&&e.getAttribute("name")===o)return e}if(null===(e=uq(e.nextSibling)))break}return null}(r,t.type,t.pendingProps,rW))?(t.stateNode=r,rV=t,rB=uq(r.firstChild),rW=!1,o=!0):o=!1),o||rY(t)),eo(t),o=t.type,a=t.pendingProps,i=null!==e?e.memoizedProps:null,r=a.children,uf(o,a)?r=null:null!==i&&uf(o,i)&&(t.flags|=32),null!==t.memoizedState&&(db._currentValue=o=av(e,t,aw,null,null,n)),iJ(e,t),iB(e,t,r,n),t.child;case 6:return null===e&&r$&&((e=n=rB)&&(null!==(n=function(e,t,n){if(""===t)return null;for(;3!==e.nodeType;)if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!n||null===(e=uq(e.nextSibling)))return null;return e}(n,t.pendingProps,rW))?(t.stateNode=n,rV=t,rB=null,e=!0):e=!1),e||rY(t)),null;case 13:return i9(e,t,n);case 4:return en(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=oZ(t,null,r,n):iB(e,t,r,n),t.child;case 11:return i$(e,t,t.type,t.pendingProps,n);case 7:return r=t.pendingProps,iJ(e,t),iB(e,t,r,n),t.child;case 8:case 12:return iB(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.pendingProps,r5(t,t.type,r.value),iB(e,t,r.children,n),t.child;case 9:return o=t.type._context,r=t.pendingProps.children,ot(t),r=r(o=on(o)),t.flags|=1,iB(e,t,r,n),t.child;case 14:return iq(e,t,t.type,t.pendingProps,n);case 15:return iW(e,t,t.type,t.pendingProps,n);case 19:return la(e,t,n);case 31:var s=e,c=t,u=n,d=c.pendingProps,f=0!=(128&c.flags);if(c.flags&=-129,null===s){if(r$){if("hidden"===d.mode)return s=iG(c,d),c.lanes=0x20000000,iY(null,s);if(o9(c),(s=rB)?null!==(s=null!==(s=uV(s,rW))&&"&"===s.data?s:null)&&(c.memoizedState={dehydrated:s,treeContext:null!==rz?{id:rR,overflow:rD}:null,retryLane:0x20000000,hydrationErrors:null},(u=rS(s)).return=c,c.child=u,rV=c,rB=null):s=null,null===s)throw rY(c);return c.lanes=0x20000000,null}return iG(c,d)}var p=s.memoizedState;if(null!==p){var h=p.dehydrated;if(o9(c),f)if(256&c.flags)c.flags&=-257,c=iQ(s,c,u);else if(null!==c.memoizedState)c.child=s.child,c.flags|=128,c=null;else throw Error(l(558));else if(iV||r7(s,c,u,!1),f=0!=(u&s.childLanes),iV||f){if(null!==(d=sk)&&0!==(h=eF(d,u))&&h!==p.retryLane)throw p.retryLane=h,rp(s,h),s8(d,s,h),iH;cc(),c=iQ(s,c,u)}else s=p.treeContext,rB=uq(h.nextSibling),rV=c,r$=!0,rq=null,rW=!1,null!==s&&rH(c,s),c=iG(c,d),c.flags|=4096;return c}return(s=rx(s.child,{mode:d.mode,children:d.children})).ref=c.ref,c.child=s,s.return=c,s;case 22:return iK(e,t,n,t.pendingProps);case 24:return ot(t),r=on(os),null===e?(null===(o=ox())&&(o=sk,a=oc(),o.pooledCache=a,a.refCount++,null!==a&&(o.pooledCacheLanes|=n),o=a),t.memoizedState={parent:r,cache:o},oH(t),r5(t,os,o)):(0!=(e.lanes&n)&&(oV(e,t),oX(t,null,null,n),oY()),o=e.memoizedState,a=t.memoizedState,o.parent!==r?(o={parent:r,cache:r},t.memoizedState=o,0===t.lanes&&(t.memoizedState=t.updateQueue.baseState=o),r5(t,os,r)):(r5(t,os,r=a.cache),r!==o.cache&&r8(t,[os],n,!0))),iB(e,t,t.pendingProps.children,n),t.child;case 30:return null!=(r=t.pendingProps).name&&"auto"!==r.name?t.flags|=null===e?0x1202000:0x1200000:r$&&rU(t),null!==e&&e.memoizedProps.name!==r.name?t.flags|=4194816:iJ(e,t),iB(e,t,r.children,n),t.child;case 29:throw t.pendingProps}throw Error(l(156,t.tag))}function lc(e){e.flags|=4}function lu(e,t,n,r,o){var a;if((a=0!=(32&e.mode))&&(a=null===n?ds(t,r):ds(t,r)&&(r.src!==n.src||r.srcSet!==n.srcSet)),a){if(e.flags|=0x1000000,(0x13ffff40&o)===o)if(e.stateNode.complete)e.flags|=8192;else if(ci())e.flags|=8192;else throw oT=oO,ok}else e.flags&=-0x1000001}function ld(e,t){if("stylesheet"!==t.type||0!=(4&t.state.loading))e.flags&=-0x1000001;else if(e.flags|=0x1000000,!dc(t))if(ci())e.flags|=8192;else throw oT=oO,ok}function lf(e,t){null!==t&&(e.flags|=4),16384&e.flags&&(t=22!==e.tag?eR():0x20000000,e.lanes|=t,sM|=t)}function lp(e,t){if(!r$)switch(e.tailMode){case"visible":break;case"collapsed":for(var n=e.tail,r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null;break;default:for(n=null,t=e.tail;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null}}function lh(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=0x7e00000&o.subtreeFlags,r|=0x7e00000&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function lm(e,t){switch(rF(t),t.tag){case 3:r6(os),er();break;case 26:case 27:case 5:ea(t);break;case 4:er();break;case 31:null!==t.memoizedState&&ae(t);break;case 13:ae(t);break;case 19:ar(t);break;case 10:r6(t.type);break;case 22:case 23:ae(t),o3(),null!==e&&X(ob);break;case 24:r6(os)}}function lg(e,t){try{var n=t.updateQueue,r=null!==n?n.lastEffect:null;if(null!==r){var o=r.next;n=o;do{if((n.tag&e)===e){r=void 0;var a=n.create;n.inst.destroy=r=a()}n=n.next}while(n!==o)}}catch(e){cO(t,t.return,e)}}function ly(e,t,n){try{var r=t.updateQueue,o=null!==r?r.lastEffect:null;if(null!==o){var a=o.next;r=a;do{if((r.tag&e)===e){var i=r.inst,l=i.destroy;if(void 0!==l){i.destroy=void 0,o=t;try{l()}catch(e){cO(o,n,e)}}}r=r.next}while(r!==a)}}catch(e){cO(t,t.return,e)}}function lv(e){var t=e.updateQueue;if(null!==t){var n=e.stateNode;try{oQ(t,n)}catch(t){cO(e,e.return,t)}}}function lb(e,t,n){n.props=iL(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){cO(e,t,n)}}function lx(e,t){try{var n=e.ref;if(null!==n){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:var o=e.stateNode,a=rr(e.memoizedProps,o);(null===o.ref||o.ref.name!==a)&&(o.ref=uE(a)),r=o.ref;break;case 7:null===e.stateNode&&(e.stateNode=new uT(e)),r=e.stateNode;break;default:r=e.stateNode}"function"==typeof n?e.refCleanup=n(r):n.current=r}}catch(n){cO(e,t,n)}}function lw(e,t){var n=e.ref,r=e.refCleanup;if(null!==n)if("function"==typeof r)try{r()}catch(n){cO(e,t,n)}finally{e.refCleanup=null,null!=(e=e.alternate)&&(e.refCleanup=null)}else if("function"==typeof n)try{n(null)}catch(n){cO(e,t,n)}else n.current=null}function l_(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&r.focus();break;case"img":n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){cO(e,e.return,t)}}function lj(e,t,n){try{var r=e.stateNode;(function(e,t,n,r){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var o=null,a=null,i=null,s=null,c=null,u=null,d=null;for(h in n){var f=n[h];if(n.hasOwnProperty(h)&&null!=f)switch(h){case"checked":case"value":break;case"defaultValue":c=f;default:r.hasOwnProperty(h)||ur(e,t,h,null,r,f)}}for(var p in r){var h=r[p];if(f=n[p],r.hasOwnProperty(p)&&(null!=h||null!=f))switch(p){case"type":h!==f&&(to=!0),a=h;break;case"name":h!==f&&(to=!0),o=h;break;case"checked":h!==f&&(to=!0),u=h;break;case"defaultChecked":h!==f&&(to=!0),d=h;break;case"value":h!==f&&(to=!0),i=h;break;case"defaultValue":h!==f&&(to=!0),s=h;break;case"children":case"dangerouslySetInnerHTML":if(null!=h)throw Error(l(137,t));break;default:h!==f&&ur(e,t,p,h,r,f)}}tg(e,i,s,c,u,d,a,o);return;case"select":for(a in h=i=s=p=null,n)if(c=n[a],n.hasOwnProperty(a)&&null!=c)switch(a){case"value":break;case"multiple":h=c;default:r.hasOwnProperty(a)||ur(e,t,a,null,r,c)}for(o in r)if(a=r[o],c=n[o],r.hasOwnProperty(o)&&(null!=a||null!=c))switch(o){case"value":a!==c&&(to=!0),p=a;break;case"defaultValue":a!==c&&(to=!0),s=a;break;case"multiple":a!==c&&(to=!0),i=a;default:a!==c&&ur(e,t,o,a,r,c)}t=s,n=i,r=h,null!=p?tb(e,!!n,p,!1):!!r!=!!n&&(null!=t?tb(e,!!n,t,!0):tb(e,!!n,n?[]:"",!1));return;case"textarea":for(s in h=p=null,n)if(o=n[s],n.hasOwnProperty(s)&&null!=o&&!r.hasOwnProperty(s))switch(s){case"value":case"children":break;default:ur(e,t,s,null,r,o)}for(i in r)if(o=r[i],a=n[i],r.hasOwnProperty(i)&&(null!=o||null!=a))switch(i){case"value":o!==a&&(to=!0),p=o;break;case"defaultValue":o!==a&&(to=!0),h=o;break;case"children":break;case"dangerouslySetInnerHTML":if(null!=o)throw Error(l(91));break;default:o!==a&&ur(e,t,i,o,r,a)}tx(e,p,h);return;case"option":for(var m in n)p=n[m],n.hasOwnProperty(m)&&null!=p&&!r.hasOwnProperty(m)&&("selected"===m?e.selected=!1:ur(e,t,m,null,r,p));for(c in r)p=r[c],h=n[c],r.hasOwnProperty(c)&&p!==h&&(null!=p||null!=h)&&("selected"===c?(p!==h&&(to=!0),e.selected=p&&"function"!=typeof p&&"symbol"!=typeof p):ur(e,t,c,p,r,h));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var g in n)p=n[g],n.hasOwnProperty(g)&&null!=p&&!r.hasOwnProperty(g)&&ur(e,t,g,null,r,p);for(u in r)if(p=r[u],h=n[u],r.hasOwnProperty(u)&&p!==h&&(null!=p||null!=h))switch(u){case"children":case"dangerouslySetInnerHTML":if(null!=p)throw Error(l(137,t));break;default:ur(e,t,u,p,r,h)}return;default:if(tO(t)){for(var y in n)p=n[y],n.hasOwnProperty(y)&&void 0!==p&&!r.hasOwnProperty(y)&&uo(e,t,y,void 0,r,p);for(d in r)p=r[d],h=n[d],r.hasOwnProperty(d)&&p!==h&&(void 0!==p||void 0!==h)&&uo(e,t,d,p,r,h);return}}for(var v in n)p=n[v],n.hasOwnProperty(v)&&null!=p&&!r.hasOwnProperty(v)&&ur(e,t,v,null,r,p);for(f in r)p=r[f],h=n[f],r.hasOwnProperty(f)&&p!==h&&(null!=p||null!=h)&&ur(e,t,f,p,r,h)})(r,e.type,n,t),r[eK]=t}catch(t){cO(e,e.return,t)}}function lk(e,t){if(5===e.tag&&null===e.alternate&&null!==t)for(var n=0;n<t.length;n++)uF(e.stateNode,t[n])}function lS(e){for(var t=e.return;null!==t;){if(lC(t)){var n=e.stateNode,r=t.stateNode._eventListeners;if(null!==r)for(var o=0;o<r.length;o++){var a=r[o];n.removeEventListener(a.type,a.listener,a.optionsOrUseCapture)}}if(lO(t))break;t=t.return}}function lO(e){return 5===e.tag||3===e.tag||26===e.tag||27===e.tag&&ub(e.type)||4===e.tag}function lC(e){return e&&7===e.tag&&null!==e.stateNode}function lP(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||lO(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(27===e.tag&&ub(e.type)||2&e.flags||null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function lE(e,t,n,r){var o=e.tag;if(5===o||6===o)o=e.stateNode,t?n.insertBefore(o,t):n.appendChild(o),lk(e,r),to=!0;else if(4!==o&&(27===o&&ub(e.type)&&(n=e.stateNode),null!==(e=e.child)))for(lE(e,t,n,r),e=e.sibling;null!==e;)lE(e,t,n,r),e=e.sibling}function lT(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,o=t.attributes;o.length;)t.removeAttributeNode(o[0]);ua(t,r,n),t[eW]=e,t[eK]=n}catch(t){cO(e,e.return,t)}}var lN=!1,lI=null;function lL(e){(30===e.tag||0!=(0x2000000&e.subtreeFlags))&&(lN=!0)}var lA=null;function lz(){var e=lA;return lA=null,e}var lR=0;function lD(e,t,n,r,o){return lR=0,function e(t,n,r,o,a){for(var i=!1;null!==t;){if(5===t.tag){var l=t.stateNode;if(null!==o){var s=uS(l);o.push(s),s.view&&(i=!0)}else i||uS(l).view&&(i=!0);lN=!0,u_(l,0===lR?n:n+"_"+lR,r),lR++}else(22!==t.tag||null===t.memoizedState)&&(30===t.tag&&a||e(t.child,n,r,o,a)&&(i=!0));t=t.sibling}return i}(e.child,t,n,r,o)}function lM(e,t){for(;null!==e;)5===e.tag?uj(e.stateNode,e.memoizedProps):(22!==e.tag||null===e.memoizedState)&&(30===e.tag&&t||lM(e.child,t)),e=e.sibling}function lZ(e){if(0!=(0x1200000&e.subtreeFlags))for(e=e.child;null!==e;){if((22!==e.tag||null===e.memoizedState)&&(lZ(e),30===e.tag&&0!=(0x1200000&e.flags)&&e.stateNode.paired)){var t=e.memoizedProps;if(null==t.name||"auto"===t.name)throw Error(l(544));var n=t.name;"none"!==(t=ra(t.default,t.share))&&(lD(e,n,t,null,!1)||lM(e.child,!1))}e=e.sibling}}function lU(e,t){if(30===e.tag){var n=e.stateNode,r=e.memoizedProps,o=rr(r,n),a=ra(r.default,n.paired?r.share:r.enter);"none"!==a?lD(e,o,a,null,!1)?(lZ(e),n.paired||t||s9(e,r.onEnter)):lM(e.child,!1):lZ(e)}else if(0!=(0x2000000&e.subtreeFlags))for(e=e.child;null!==e;)lU(e,t),e=e.sibling;else lZ(e)}function lF(e){if(null!==lI&&0!==lI.size){var t=lI;if(0!=(0x1200000&e.subtreeFlags))for(e=e.child;null!==e;){if(22!==e.tag||null===e.memoizedState){if(30===e.tag&&0!=(0x1200000&e.flags)){var n=e.memoizedProps,r=n.name;if(null!=r&&"auto"!==r){var o=t.get(r);if(void 0!==o){var a=ra(n.default,n.share);if("none"!==a&&(lD(e,r,a,null,!1)?(o.paired=a=e.stateNode,a.paired=o,s9(e,n.onShare)):lM(e.child,!1)),t.delete(r),0===t.size)break}}}lF(e)}e=e.sibling}}}function lH(e){if(30===e.tag){var t=e.memoizedProps,n=rr(t,e.stateNode),r=null!==lI?lI.get(n):void 0,o=ra(t.default,void 0!==r?t.share:t.exit);"none"!==o&&(lD(e,n,o,null,!1)?void 0!==r?(r.paired=o=e.stateNode,o.paired=r,lI.delete(n),s9(e,t.onShare)):s9(e,t.onExit):lM(e.child,!1)),null!==lI&&lF(e)}else if(0!=(0x2000000&e.subtreeFlags))for(e=e.child;null!==e;)lH(e),e=e.sibling;else null!==lI&&lF(e)}function lV(e){if(0!=(0x1200000&e.subtreeFlags))for(e=e.child;null!==e;){if(22!==e.tag||null===e.memoizedState){if(30===e.tag&&0!=(0x1200000&e.flags)){var t=e.stateNode;null!==t.paired&&(t.paired=null,lM(e.child,!1))}lV(e)}e=e.sibling}}function lB(e){if(30===e.tag)e.stateNode.paired=null,lM(e.child,!1),lV(e);else if(0!=(0x2000000&e.subtreeFlags))for(e=e.child;null!==e;)lB(e),e=e.sibling;else lV(e)}function l$(e,t,n,r,o,a,i){for(var l=!1;null!==t;){if(5===t.tag){var s=t.stateNode;if(null!==a&&lR<a.length){var c,u=a[lR],d=uS(s);if((u.view||d.view)&&(l=!0),c=0==(4&e.flags))if(d.clip)c=!0;else{c=u.rect;var f=d.rect;c=c.y!==f.y||c.x!==f.x||c.height!==f.height||c.width!==f.width}c&&(e.flags|=4),d.abs?d=!u.abs:(u=u.rect,d=d.rect,d=u.height!==d.height||u.width!==d.width),d&&(e.flags|=32)}else e.flags|=32;0!=(4&e.flags)&&u_(s,0===lR?n:n+"_"+lR,o),l&&0!=(4&e.flags)||(null===lA&&(lA=[]),lA.push(s,r,t.memoizedProps)),lR++}else(22!==t.tag||null===t.memoizedState)&&(30===t.tag&&i?e.flags|=32&t.flags:l$(e,t.child,n,r,o,a,i)&&(l=!0));t=t.sibling}return l}var lq=!1,lW=!1,lK=!1,lY=!1,lX="function"==typeof WeakSet?WeakSet:Set,lG=null,lQ=!1,lJ=!1,l0=!1,l1=!1;function l2(e){for(;null!==lG;){var t=lG,n=e,r=t.alternate,o=t.flags;switch(t.tag){case 0:case 11:case 15:if(0!=(4&o)&&null!==(r=null!==(r=t.updateQueue)?r.events:null))for(n=0;n<r.length;n++)(o=r[n]).ref.impl=o.nextImpl;break;case 1:if(0!=(1024&o)&&null!==r){n=void 0,o=r.memoizedProps,r=r.memoizedState;var a=t.stateNode;try{var i=iL(t.type,o);n=a.getSnapshotBeforeUpdate(i,r),a.__reactInternalSnapshotBeforeUpdate=n}catch(e){cO(t,t.return,e)}}break;case 3:if(0!=(1024&o)){if(9===(n=(r=t.stateNode.containerInfo).nodeType))uH(r);else if(1===n)switch(r.nodeName){case"HEAD":case"HTML":case"BODY":uH(r);break;default:r.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;case 30:n&&null!==r&&(n=rr(r.memoizedProps,r.stateNode),"none"!==(o=ra((o=t.memoizedProps).default,o.update))&&lD(r,n,o,r.memoizedState=[],!0));break;default:if(0!=(1024&o))throw Error(l(163))}if(null!==(r=t.sibling)){r.return=t.return,lG=r;break}lG=t.return}}function l3(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:ss(e,n),4&r&&lg(5,n);break;case 1:if(ss(e,n),4&r)if(e=n.stateNode,null===t)try{e.componentDidMount()}catch(e){cO(n,n.return,e)}else{var o=iL(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(o,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){cO(n,n.return,e)}}64&r&&lv(n),512&r&&lx(n,n.return);break;case 3:if(ss(e,n),64&r&&null!==(e=n.updateQueue)){if(t=null,null!==n.child)switch(n.child.tag){case 27:case 5:case 1:t=n.child.stateNode}try{oQ(e,t)}catch(e){cO(n,n.return,e)}}break;case 27:null===t&&4&r&&lT(n);case 26:case 5:ss(e,n),null===t&&4&r&&l_(n),512&r&&lx(n,n.return);break;case 12:ss(e,n);break;case 31:ss(e,n),4&r&&l7(e,n);break;case 13:ss(e,n),4&r&&se(e,n),64&r&&null!==(e=n.memoizedState)&&null!==(e=e.dehydrated)&&function(e,t){var n=e.ownerDocument;if("$~"===e.data)e._reactRetry=t;else if("$?"!==e.data||"loading"!==n.readyState)t();else{var r=function(){t(),n.removeEventListener("DOMContentLoaded",r)};n.addEventListener("DOMContentLoaded",r),e._reactRetry=r}}(e,n=cT.bind(null,n));break;case 22:if(!(r=null!==n.memoizedState||lq)){t=null!==t&&null!==t.memoizedState||lW,o=lq;var a=lW;lq=r,(lW=t)&&!a?function e(t,n,r){for(r=r&&0!=(8772&n.subtreeFlags),n=n.child;null!==n;){var o=n.alternate,a=t,i=n,l=i.flags;switch(i.tag){case 0:case 11:case 15:e(a,i,r),lg(4,i);break;case 1:if(e(a,i,r),"function"==typeof(a=(o=i).stateNode).componentDidMount)try{a.componentDidMount()}catch(e){cO(o,o.return,e)}if(null!==(a=(o=i).updateQueue)){var s=o.stateNode;try{var c=a.shared.hiddenCallbacks;if(null!==c)for(a.shared.hiddenCallbacks=null,a=0;a<c.length;a++)oG(c[a],s)}catch(e){cO(o,o.return,e)}}r&&64&l&&lv(i),lx(i,i.return);break;case 27:lT(i);case 26:case 5:if(5===i.tag){s=i;for(var u=s.return;null!==u&&(lC(u)&&uF(s.stateNode,u.stateNode),!lO(u));)u=u.return}e(a,i,r),r&&null===o&&4&l&&l_(i),lx(i,i.return);break;case 12:e(a,i,r);break;case 31:e(a,i,r),r&&4&l&&l7(a,i);break;case 13:e(a,i,r),r&&4&l&&se(a,i);break;case 22:null===i.memoizedState&&e(a,i,r),lx(i,i.return);break;case 30:e(a,i,r),lx(i,i.return);break;case 7:lx(i,i.return);default:e(a,i,r)}n=n.sibling}}(e,n,0!=(8772&n.subtreeFlags)):ss(e,n),lq=o,lW=a}break;case 30:ss(e,n),512&r&&lx(n,n.return);break;case 7:512&r&&lx(n,n.return);default:ss(e,n)}}function l4(e,t){for(e=e.child;null!==e;)(function e(t,n){switch(t.tag){case 5:case 26:try{var r=t.stateNode;if(n){var o=r.style;"function"==typeof o.setProperty?o.setProperty("display","none","important"):o.display="none"}else{var a=t.stateNode,i=t.memoizedProps.style,l=null!=i&&i.hasOwnProperty("display")?i.display:null;a.style.display=null==l||"boolean"==typeof l?"":(""+l).trim()}}catch(e){cO(t,t.return,e)}!function t(n,r){if(0x4000000&n.subtreeFlags)for(n=n.child;null!==n;){e:{var o=n;switch(o.tag){case 4:e(o,r);break e;case 22:null===o.memoizedState&&t(o,r);break e;default:t(o,r)}}n=n.sibling}}(t,n);break;case 6:try{t.stateNode.nodeValue=n?"":t.memoizedProps,to=!0}catch(e){cO(t,t.return,e)}break;case 18:try{var s=t.stateNode;n?uw(s,!0):uw(t.stateNode,!1)}catch(e){cO(t,t.return,e)}break;case 22:case 23:null===t.memoizedState&&l4(t,n);break;default:l4(t,n)}})(e,t),e=e.sibling}var l5=null,l6=!1;function l9(e,t,n){for(n=n.child;null!==n;)l8(e,t,n),n=n.sibling}function l8(e,t,n){if(eS&&"function"==typeof eS.onCommitFiberUnmount)try{eS.onCommitFiberUnmount(ek,n)}catch(e){}switch(n.tag){case 26:lW||lw(n,t),l9(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode).parentNode.removeChild(n);break;case 27:lW||lw(n,t);var r=l5,o=l6;ub(n.type)&&(l5=n.stateNode,l6=!1),l9(e,t,n),uG(n.stateNode),l5=r,l6=o;break;case 5:lW||lw(n,t),5===n.tag&&lS(n);case 6:if(r=l5,o=l6,l5=null,l9(e,t,n),l5=r,l6=o,null!==l5)if(l6)try{(9===l5.nodeType?l5.body:"HTML"===l5.nodeName?l5.ownerDocument.body:l5).removeChild(n.stateNode),to=!0}catch(e){cO(n,t,e)}else try{l5.removeChild(n.stateNode),to=!0}catch(e){cO(n,t,e)}break;case 18:null!==l5&&(l6?(ux(9===(e=l5).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e,n.stateNode),dG(e)):ux(l5,n.stateNode));break;case 4:r=l5,o=l6,l5=n.stateNode.containerInfo,l6=!0,l9(e,t,n),l5=r,l6=o;break;case 0:case 11:case 14:case 15:ly(2,n,t),lW||ly(4,n,t),l9(e,t,n);break;case 1:lW||(lw(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount&&lb(n,t,r)),l9(e,t,n);break;case 21:default:l9(e,t,n);break;case 22:lW=(r=lW)||null!==n.memoizedState,l9(e,t,n),lW=r;break;case 30:lw(n,t),l9(e,t,n);break;case 7:lW||lw(n,t),l9(e,t,n)}}function l7(e,t){if(null===t.memoizedState&&null!==(e=t.alternate)&&null!==(e=e.memoizedState)){e=e.dehydrated;try{dG(e)}catch(e){cO(t,t.return,e)}}}function se(e,t){if(null===t.memoizedState&&null!==(e=t.alternate)&&null!==(e=e.memoizedState)&&null!==(e=e.dehydrated))try{dG(e)}catch(e){cO(t,t.return,e)}}function st(e,t){var n=function(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return null===t&&(t=e.stateNode=new lX),t;case 22:return null===(t=(e=e.stateNode)._retryCache)&&(t=e._retryCache=new lX),t;default:throw Error(l(435,e.tag))}}(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=cN.bind(null,e,t);t.then(r,r)}})}function sn(e,t,n){var r=t.deletions;if(null!==r)for(var o=0;o<r.length;o++){var a=r[o],i=e,s=t,c=s;e:for(;null!==c;){switch(c.tag){case 27:if(ub(c.type)){l5=c.stateNode,l6=!1;break e}break;case 5:l5=c.stateNode,l6=!1;break e;case 3:case 4:l5=c.stateNode.containerInfo,l6=!0;break e}c=c.return}if(null===l5)throw Error(l(160));l8(i,s,a),l5=null,l6=!1,null!==(i=a.alternate)&&(i.return=null),a.return=null}if(13886&t.subtreeFlags)for(t=t.child;null!==t;)so(t,e,n),t=t.sibling}var sr=null;function so(e,t,n){var r=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:sn(t,e,n),sa(e),4&o&&(ly(3,e,e.return),lg(3,e),ly(5,e,e.return));break;case 1:sn(t,e,n),sa(e),512&o&&(lW||null===r||lw(r,r.return)),64&o&&lq&&null!==(e=e.updateQueue)&&null!==(r=e.callbacks)&&(t=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=null===t?r:t.concat(r));break;case 26:var a=sr;if(sn(t,e,n),sa(e),512&o&&(lW||null===r||lw(r,r.return)),4&o)if(n=null!==r?r.memoizedState:null,t=e.memoizedState,null===r)if(null===t)if(null===e.stateNode){e:{r=e.type,t=e.memoizedProps,n=a.ownerDocument||a;t:switch(r){case"title":(!(o=n.getElementsByTagName("title")[0])||o[e0]||o[eW]||"http://www.w3.org/2000/svg"===o.namespaceURI||o.hasAttribute("itemprop"))&&(o=n.createElement(r),n.head.insertBefore(o,n.querySelector("head > title"))),ua(o,r,t),o[eW]=e,e6(o),r=o;break e;case"link":if(a=di("link","href",n).get(r+(t.href||""))){for(var i=0;i<a.length;i++)if((o=a[i]).getAttribute("href")===(null==t.href||""===t.href?null:t.href)&&o.getAttribute("rel")===(null==t.rel?null:t.rel)&&o.getAttribute("title")===(null==t.title?null:t.title)&&o.getAttribute("crossorigin")===(null==t.crossOrigin?null:t.crossOrigin)){a.splice(i,1);break t}}ua(o=n.createElement(r),r,t),n.head.appendChild(o);break;case"meta":if(a=di("meta","content",n).get(r+(t.content||""))){for(i=0;i<a.length;i++)if((o=a[i]).getAttribute("content")===(null==t.content?null:""+t.content)&&o.getAttribute("name")===(null==t.name?null:t.name)&&o.getAttribute("property")===(null==t.property?null:t.property)&&o.getAttribute("http-equiv")===(null==t.httpEquiv?null:t.httpEquiv)&&o.getAttribute("charset")===(null==t.charSet?null:t.charSet)){a.splice(i,1);break t}}ua(o=n.createElement(r),r,t),n.head.appendChild(o);break;default:throw Error(l(468,r))}o[eW]=e,e6(o),r=o}e.stateNode=r}else dl(a,e.type,e.stateNode);else e.stateNode=de(a,t,e.memoizedProps);else n!==t?(null===n?null!==r.stateNode&&(r=r.stateNode).parentNode.removeChild(r):n.count--,null===t?dl(a,e.type,e.stateNode):de(a,t,e.memoizedProps)):null===t&&null!==e.stateNode&&lj(e,e.memoizedProps,r.memoizedProps);break;case 27:sn(t,e,n),sa(e),512&o&&(lW||null===r||lw(r,r.return)),null!==r&&4&o&&lj(e,e.memoizedProps,r.memoizedProps);break;case 5:if(a=lK,lK=!1,sn(t,e,n),lK=a,sa(e),512&o&&(lW||null===r||lw(r,r.return)),32&e.flags){t=e.stateNode;try{t_(t,""),to=!0}catch(t){cO(e,e.return,t)}}4&o&&null!=e.stateNode&&(t=e.memoizedProps,lj(e,t,null!==r?r.memoizedProps:t)),1024&o&&(lY=!0);break;case 6:if(sn(t,e,n),sa(e),4&o){if(null===e.stateNode)throw Error(l(162));r=e.memoizedProps,t=e.stateNode;try{t.nodeValue=r,to=!0}catch(t){cO(e,e.return,t)}}break;case 3:if(to=!1,da=null,a=sr,sr=u0(t.containerInfo),sn(t,e,n),sr=a,sa(e),4&o&&null!==r&&r.memoizedState.isDehydrated)try{dG(t.containerInfo)}catch(t){cO(e,e.return,t)}lY&&(lY=!1,function e(t){if(1024&t.subtreeFlags)for(t=t.child;null!==t;){var n=t;e(n),5===n.tag&&1024&n.flags&&n.stateNode.reset(),t=t.sibling}}(e)),to=!1;break;case 4:r=lK,lK=lq,o=ta(),a=sr,sr=u0(e.stateNode.containerInfo),sn(t,e,n),sa(e),sr=a,to&&lJ&&(l0=!0),to=o,lK=r;break;case 12:sn(t,e,n),sa(e);break;case 31:case 19:sn(t,e,n),sa(e),4&o&&null!==(r=e.updateQueue)&&(e.updateQueue=null,st(e,r));break;case 13:sn(t,e,n),sa(e),8192&e.child.flags&&null!==e.memoizedState!=(null!==r&&null!==r.memoizedState)&&(sH=em()),4&o&&null!==(r=e.updateQueue)&&(e.updateQueue=null,st(e,r));break;case 22:a=null!==e.memoizedState,i=null!==r&&null!==r.memoizedState;var s=lq,c=lW,u=lK;lq=s||a,lK=u||a,lW=c||i,sn(t,e,n),lW=c,lK=u,lq=s,sa(e),8192&o&&((t=e.stateNode)._visibility=a?-2&t._visibility:1|t._visibility,a&&(null===r||i||lq||lW||function e(t){for(t=t.child;null!==t;){var n=t;switch(n.tag){case 0:case 11:case 14:case 15:ly(4,n,n.return),e(n);break;case 1:lw(n,n.return);var r=n.stateNode;"function"==typeof r.componentWillUnmount&&lb(n,n.return,r),e(n);break;case 27:uG(n.stateNode);case 26:case 5:lw(n,n.return),5===n.tag&&lS(n),e(n);break;case 22:null===n.memoizedState&&e(n);break;case 30:lw(n,n.return),e(n);break;case 7:lw(n,n.return);default:e(n)}t=t.sibling}}(e)),!a&&lK||l4(e,a)),4&o&&null!==(r=e.updateQueue)&&null!==(t=r.retryQueue)&&(r.retryQueue=null,st(e,t));break;case 30:512&o&&(lW||null===r||lw(r,r.return)),o=ta(),a=lJ,i=(0x13ffff00&n)===n,s=e.memoizedProps,lJ=i&&"none"!==ra(s.default,s.update),sn(t,e,n),sa(e),i&&null!==r&&to&&(e.flags|=4),lJ=a,to=o;break;case 21:break;case 7:r&&null!==r.stateNode&&(r.stateNode._fragmentFiber=e);default:sn(t,e,n),sa(e)}}function sa(e){var t=e.flags;if(2&t){try{for(var n,r=null,o=e.return;null!==o;){if(lC(o)){var a=o.stateNode;null===r?r=[a]:r.push(a)}if(lO(o)){n=o;break}o=o.return}if(null==n)throw Error(l(160));switch(n.tag){case 27:var i=n.stateNode,s=lP(e);lE(e,s,i,r);break;case 5:var c=n.stateNode;32&n.flags&&(t_(c,""),n.flags&=-33);var u=lP(e);lE(e,u,c,r);break;case 3:case 4:var d=n.stateNode.containerInfo,f=lP(e);!function e(t,n,r,o){var a=t.tag;if(5===a||6===a)a=t.stateNode,n?(9===r.nodeType?r.body:"HTML"===r.nodeName?r.ownerDocument.body:r).insertBefore(a,n):((n=9===r.nodeType?r.body:"HTML"===r.nodeName?r.ownerDocument.body:r).appendChild(a),null!=(r=r._reactRootContainer)||null!==n.onclick||(n.onclick=tT)),lk(t,o),to=!0;else if(4!==a&&(27===a&&ub(t.type)&&(r=t.stateNode,n=null),null!==(t=t.child)))for(e(t,n,r,o),t=t.sibling;null!==t;)e(t,n,r,o),t=t.sibling}(e,f,d,r);break;default:throw Error(l(161))}}catch(t){cO(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function si(e,t){if(9270&t.subtreeFlags)for(t=t.child;null!==t;)sl(t,e),t=t.sibling;else!function e(t,n){for(t=t.child;null!==t;){if(30===t.tag){var r=t.memoizedProps,o=t.stateNode,a=rr(r,o),i=ra(r.default,r.update);if(n)var l=null===(o=o.clones)?null:o.map(uO);else l=t.memoizedState,t.memoizedState=null;o=t;var s=t.child;lR=0,a=l$(o,s,a,a,i,l,!1),0!=(4&t.flags)&&a&&(n||s9(t,r.onUpdate))}else 0!=(0x2000000&t.subtreeFlags)&&e(t,n);t=t.sibling}}(t,!1)}function sl(e,t){var n=e.alternate;if(null===n)lU(e,!1);else switch(e.tag){case 3:if(l1=lQ=!1,lz(),si(t,e),!lQ&&!l0){if(null!==(e=lA))for(var r=0;r<e.length;r+=3){n=e[r];var o=e[r+1];uj(n,e[r+2]),null!==(n=n.ownerDocument.documentElement)&&n.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group("+o+")"})}null!==(e=9===(e=t.containerInfo).nodeType?e.documentElement:e.ownerDocument.documentElement)&&""===e.style.viewTransitionName&&(e.style.viewTransitionName="none",e.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group(root)"}),e.animate({width:[0,0],height:[0,0]},{duration:0,fill:"forwards",pseudoElement:"::view-transition"})),l1=!0}lA=null;break;case 5:default:si(t,e);break;case 4:r=lQ,lQ=!1,si(t,e),lQ&&(l0=!0),lQ=r;break;case 22:null===e.memoizedState&&(null!==n.memoizedState?lU(e,!1):si(t,e));break;case 30:r=lQ,o=lz(),lQ=!1,si(t,e),lQ&&(e.flags|=4);var a=e.memoizedProps,i=e.stateNode;t=rr(a,i),i=rr(n.memoizedProps,i);var l=ra(a.default,a.update);"none"===l?t=!1:(a=n.memoizedState,n.memoizedState=null,n=e.child,lR=0,t=l$(e,n,t,i,l,a,!0),lR!==(null===a?0:a.length)&&(e.flags|=32)),0!=(4&e.flags)&&t?(s9(e,e.memoizedProps.onUpdate),lA=o):null!==o&&(o.push.apply(o,lA),lA=o),lQ=0!=(32&e.flags)||r}}function ss(e,t){if(8772&t.subtreeFlags)for(t=t.child;null!==t;)l3(e,t.alternate,t),t=t.sibling}function sc(e,t){var n=null;null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),e=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(e=t.memoizedState.cachePool.pool),e!==n&&(null!=e&&e.refCount++,null!=n&&ou(n))}function su(e,t){e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&ou(e))}function sd(e,t,n,r){var o=(0x13ffff00&n)===n;if(t.subtreeFlags&(o?10262:10256))for(t=t.child;null!==t;)sf(e,t,n,r),t=t.sibling;else o&&function e(t){for(t=t.child;null!==t;)30===t.tag?lM(t.child,!1):0!=(0x2000000&t.subtreeFlags)&&e(t),t=t.sibling}(t)}function sf(e,t,n,r){var o=(0x13ffff00&n)===n;o&&null===t.alternate&&null!==t.return&&null!==t.return.alternate&&lB(t);var a=t.flags;switch(t.tag){case 0:case 11:case 15:sd(e,t,n,r),2048&a&&lg(9,t);break;case 1:case 31:case 13:default:sd(e,t,n,r);break;case 3:sd(e,t,n,r),o&&l1&&("root"===(e=9===(e=e.containerInfo).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e).style.viewTransitionName&&(e.style.viewTransitionName=""),null!==(e=e.ownerDocument.documentElement)&&"none"===e.style.viewTransitionName&&(e.style.viewTransitionName="")),2048&a&&(a=null,null!==t.alternate&&(a=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==a&&(t.refCount++,null!=a&&ou(a)));break;case 12:if(2048&a){sd(e,t,n,r),a=t.stateNode;try{var i=t.memoizedProps,l=i.id,s=i.onPostCommit;"function"==typeof s&&s(l,null===t.alternate?"mount":"update",a.passiveEffectDuration,-0)}catch(e){cO(t,t.return,e)}}else sd(e,t,n,r);break;case 23:break;case 22:i=t.stateNode,l=t.alternate,null!==t.memoizedState?(o&&null!==l&&null===l.memoizedState&&lB(l),2&i._visibility?sd(e,t,n,r):sp(e,t)):(o&&null!==l&&null!==l.memoizedState&&lB(t),2&i._visibility?sd(e,t,n,r):(i._visibility|=2,function e(t,n,r,o,a){for(a=a&&0!=(10256&n.subtreeFlags),n=n.child;null!==n;){var i=n,l=i.flags;switch(i.tag){case 0:case 11:case 15:e(t,i,r,o,a),lg(8,i);break;case 23:break;case 22:var s=i.stateNode;null!==i.memoizedState?2&s._visibility?e(t,i,r,o,a):sp(t,i):(s._visibility|=2,e(t,i,r,o,a)),a&&2048&l&&sc(i.alternate,i);break;case 24:e(t,i,r,o,a),a&&2048&l&&su(i.alternate,i);break;default:e(t,i,r,o,a)}n=n.sibling}}(e,t,n,r,0!=(10256&t.subtreeFlags)))),2048&a&&sc(l,t);break;case 24:sd(e,t,n,r),2048&a&&su(t.alternate,t);break;case 30:o&&null!==(a=t.alternate)&&(lM(a.child,!0),lM(t.child,!0)),sd(e,t,n,r)}}function sp(e,t){if(10256&t.subtreeFlags)for(t=t.child;null!==t;){var n=t,r=n.flags;switch(n.tag){case 22:sp(e,n),2048&r&&sc(n.alternate,n);break;case 24:sp(e,n),2048&r&&su(n.alternate,n);break;default:sp(e,n)}t=t.sibling}}var sh=8192;function sm(e,t,n){if(e.subtreeFlags&sh)for(e=e.child;null!==e;)sg(e,t,n),e=e.sibling}function sg(e,t,n){switch(e.tag){case 26:sm(e,t,n),e.flags&sh&&(null!==e.memoizedState?function(e,t,n,r){if("stylesheet"===n.type&&("string"!=typeof r.media||!1!==matchMedia(r.media).matches)&&0==(4&n.state.loading)){if(null===n.instance){var o=u5(r.href),a=t.querySelector(u6(o));if(a){null!==(t=a._p)&&"object"==typeof t&&"function"==typeof t.then&&(e.count++,e=dh.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,e6(a);return}a=t.ownerDocument||t,r=u9(r),(o=uQ.get(o))&&dn(r,o),e6(a=a.createElement("link"));var i=a;i._p=new Promise(function(e,t){i.onload=e,i.onerror=t}),ua(a,"link",r),n.instance=a}null===e.stylesheets&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&0==(3&n.state.loading)&&(e.count++,n=dh.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}(n,sr,e.memoizedState,e.memoizedProps):(e=e.stateNode,(0x13ffff40&t)===t&&dd(n,e)));break;case 5:sm(e,t,n),e.flags&sh&&(e=e.stateNode,(0x13ffff40&t)===t&&dd(n,e));break;case 3:case 4:var r=sr;sr=u0(e.stateNode.containerInfo),sm(e,t,n),sr=r;break;case 22:null===e.memoizedState&&(null!==(r=e.alternate)&&null!==r.memoizedState?(r=sh,sh=0x1000000,sm(e,t,n),sh=r):sm(e,t,n));break;case 30:if(0!=(e.flags&sh)&&null!=(r=e.memoizedProps.name)&&"auto"!==r){var o=e.stateNode;o.paired=null,null===lI&&(lI=new Map),lI.set(r,o)}sm(e,t,n);break;default:sm(e,t,n)}}function sy(e){var t=e.alternate;if(null!==t&&null!==(e=t.child)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(null!==e)}}function sv(e){var t=e.deletions;if(0!=(16&e.flags)){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];lG=r,sx(r,e)}sy(e)}if(10256&e.subtreeFlags)for(e=e.child;null!==e;)sb(e),e=e.sibling}function sb(e){switch(e.tag){case 0:case 11:case 15:sv(e),2048&e.flags&&ly(9,e,e.return);break;case 3:case 12:default:sv(e);break;case 22:var t=e.stateNode;null!==e.memoizedState&&2&t._visibility&&(null===e.return||13!==e.return.tag)?(t._visibility&=-3,function e(t){var n=t.deletions;if(0!=(16&t.flags)){if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];lG=o,sx(o,t)}sy(t)}for(t=t.child;null!==t;){switch((n=t).tag){case 0:case 11:case 15:ly(8,n,n.return),e(n);break;case 22:2&(r=n.stateNode)._visibility&&(r._visibility&=-3,e(n));break;default:e(n)}t=t.sibling}}(e)):sv(e)}}function sx(e,t){for(;null!==lG;){var n=lG;switch(n.tag){case 0:case 11:case 15:ly(8,n,t);break;case 23:case 22:if(null!==n.memoizedState&&null!==n.memoizedState.cachePool){var r=n.memoizedState.cachePool.pool;null!=r&&r.refCount++}break;case 24:ou(n.memoizedState.cache)}if(null!==(r=n.child))r.return=n,lG=r;else for(n=e;null!==lG;){var o=(r=lG).sibling,a=r.return;if(!function e(t){var n=t.alternate;null!==n&&(t.alternate=null,e(n)),t.child=null,t.deletions=null,t.sibling=null,5===t.tag&&null!==(n=t.stateNode)&&e1(n),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}(r),r===n){lG=null;break}if(null!==o){o.return=a,lG=o;break}lG=a}}}var sw={getCacheForType:function(e){var t=on(os),n=t.data.get(e);return void 0===n&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return on(os).controller.signal}},s_="function"==typeof WeakMap?WeakMap:Map,sj=0,sk=null,sS=null,sO=0,sC=0,sP=null,sE=!1,sT=!1,sN=!1,sI=0,sL=0,sA=0,sz=0,sR=0,sD=0,sM=0,sZ=null,sU=null,sF=!1,sH=0,sV=0,sB=1/0,s$=null,sq=null,sW=0,sK=null,sY=null,sX=0,sG=0,sQ=null,sJ=null,s0=null,s1=null,s2=null,s3=0,s4=null;function s5(){return 0!=(2&sj)&&0!==sO?sO&-sO:null!==B.T?c$():eB()}function s6(){if(0===sD)if(0==(0x20000000&sO)||r$){var e=eN;0==(3932160&(eN<<=1))&&(eN=262144),sD=e}else sD=0x20000000;return null!==(e=o4.current)&&(e.flags|=32),sD}function s9(e,t){if(null!=t){var n=e.stateNode,r=n.ref;null===r&&(r=n.ref=uE(rr(e.memoizedProps,n))),null===s1&&(s1=[]),s1.push(t.bind(null,r))}}function s8(e,t,n){(e===sk&&(2===sC||9===sC)||null!==e.cancelPendingCommit)&&(co(e,0),ct(e,sO,sD,!1)),eM(e,n),(0==(2&sj)||e!==sk)&&(e===sk&&(0==(2&sj)&&(sz|=n),4===sL&&ct(e,sO,sD,!1)),cM(e))}function s7(e,t,n){if(0!=(6&sj))throw Error(l(327));for(var r=!n&&0==(127&t)&&0==(t&e.expiredLanes)||ez(e,t),o=r?function(e,t){var n=sj;sj|=2;var r=cl(),o=cs();sk!==e||sO!==t?(s$=null,sB=em()+500,co(e,t)):sT=ez(e,t);e:for(;;)try{if(0!==sC&&null!==sS){t=sS;var a=sP;t:switch(sC){case 1:sC=0,sP=null,cp(e,t,a,1);break;case 2:case 9:if(oC(a)){sC=0,sP=null,cf(t);break}t=function(){2!==sC&&9!==sC||sk!==e||(sC=7),cM(e)},a.then(t,t);break e;case 3:sC=7;break e;case 4:sC=5;break e;case 7:oC(a)?(sC=0,sP=null,cf(t)):(sC=0,sP=null,cp(e,t,a,7));break;case 5:var i=null;switch(sS.tag){case 26:i=sS.memoizedState;case 5:case 27:var s=sS;if(i?dc(i):s.stateNode.complete){sC=0,sP=null;var c=s.sibling;if(null!==c)sS=c;else{var u=s.return;null!==u?(sS=u,ch(u)):sS=null}break t}}sC=0,sP=null,cp(e,t,a,5);break;case 6:sC=0,sP=null,cp(e,t,a,6);break;case 8:cr(),sL=6;break e;default:throw Error(l(462))}}for(;null!==sS&&!ep();)cd(sS);break}catch(t){ca(e,t)}return(r4=r3=null,B.H=r,B.A=o,sj=n,null!==sS)?0:(sk=null,sO=0,ru(),sL)}(e,t):cu(e,t,!0),a=r;;){if(0===o)sT&&!r&&ct(e,t,0,!1);else{if(n=e.current.alternate,a&&!function(e){for(var t=e;;){var n=t.tag;if((0===n||11===n||15===n)&&16384&t.flags&&null!==(n=t.updateQueue)&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],a=o.getSnapshot;o=o.value;try{if(!nZ(a(),o))return!1}catch(e){return!1}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(n)){o=cu(e,t,!1),a=!1;continue}if(2===o){if(a=t,e.errorRecoveryDisabledLanes&a)var i=0;else i=0!=(i=-0x20000001&e.pendingLanes)?i:0x20000000&i?0x20000000:0;if(0!==i){t=i;e:{o=sZ;var s=e.current.memoizedState.isDehydrated;if(s&&(co(e,i).flags|=256),2!==(i=cu(e,i,!1))){if(sN&&!s){e.errorRecoveryDisabledLanes|=a,sz|=a,o=4;break e}a=sU,sU=o,null!==a&&(null===sU?sU=a:sU.push.apply(sU,a))}o=i}if(a=!1,2!==o)continue}}if(1===o){co(e,0),ct(e,t,0,!0);break}e:{switch(r=e,a=o){case 0:case 1:throw Error(l(345));case 4:if((4194048&t)!==t&&(0x3c00000&t)!==t)break;case 6:ct(r,t,sD,!sE);break e;case 2:sU=null;break;case 3:case 5:break;default:throw Error(l(329))}if((0x3c00000&t)===t&&10<(o=sH+300-em())){if(ct(r,t,sD,!sE),0!==eA(r,0,!0))break e;sX=t,r.timeoutHandle=uh(ce.bind(null,r,n,sU,s$,sF,t,sD,sz,sM,sE,a,"Throttled",-0,0),o);break e}ce(r,n,sU,s$,sF,t,sD,sz,sM,sE,a,null,-0,0)}}break}cM(e)}function ce(e,t,n,r,o,a,i,l,s,c,u,d,f,p){e.timeoutHandle=-1;var h,m,g=t.subtreeFlags,y=(0x13ffff00&a)===a;if(d=null,(y||8192&g||0x1002000==(0x1002000&g))&&(lI=null,sg(t,a,d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:tT}),y&&(g=d,null!=(y=(9===(y=e.containerInfo).nodeType?y:y.ownerDocument).__reactViewTransition)&&(g.count++,g.waitingForViewTransition=!0,g=dh.bind(g),y.finished.then(g,g))),null!==(h=d,m=g=(0x3c00000&a)===a?sH-em():(4194048&a)===a?sV-em():0,h.stylesheets&&0===h.count&&dy(h,h.stylesheets),g=0<h.count||0<h.imgCount?function(e){var t=setTimeout(function(){if(h.stylesheets&&dy(h,h.stylesheets),h.unsuspend){var e=h.unsuspend;h.unsuspend=null,e()}},6e4+m);0<h.imgBytes&&0===df&&(df=62500*function(){if("function"==typeof performance.getEntriesByType){for(var e=0,t=0,n=performance.getEntriesByType("resource"),r=0;r<n.length;r++){var o=n[r],a=o.transferSize,i=o.initiatorType,l=o.duration;if(a&&l&&ui(i)){for(i=0,l=o.responseEnd,r+=1;r<n.length;r++){var s=n[r],c=s.startTime;if(c>l)break;var u=s.transferSize,d=s.initiatorType;u&&ui(d)&&(i+=u*((s=s.responseEnd)<l?1:(l-c)/(s-c)))}if(--r,t+=8*(a+i)/(o.duration/1e3),10<++e)break}}if(0<e)return t/e/1e6}return navigator.connection&&"number"==typeof(e=navigator.connection.downlink)?e:5}());var n=setTimeout(function(){if(h.waitingForImages=!1,0===h.count&&(h.stylesheets&&dy(h,h.stylesheets),h.unsuspend)){var e=h.unsuspend;h.unsuspend=null,e()}},(h.imgBytes>df?50:800)+m);return h.unsuspend=e,function(){h.unsuspend=null,clearTimeout(t),clearTimeout(n)}}:null))){sX=a,e.cancelPendingCommit=g(cg.bind(null,e,t,a,n,r,o,i,l,s,u,d,null,f,p)),ct(e,a,i,!c);return}cg(e,t,a,n,r,o,i,l,s,u,d)}function ct(e,t,n,r){t&=~sR,t&=~sz,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var o=t;0<o;){var a=31-eC(o),i=1<<a;r[a]=-1,o&=~i}0!==n&&eZ(e,n,t)}function cn(){return 0!=(6&sj)||(cZ(0,!1),!1)}function cr(){if(null!==sS){if(0===sC)var e=sS.return;else e=sS,r4=r3=null,ak(e),oL=null,oA=0,e=sS;for(;null!==e;)lm(e.alternate,e),e=e.return;sS=null}}function co(e,t){var n=e.timeoutHandle;-1!==n&&(e.timeoutHandle=-1,um(n)),null!==(n=e.cancelPendingCommit)&&(e.cancelPendingCommit=null,n()),sX=0,cr(),sk=e,sS=n=rx(e.current,null),sO=t,sC=0,sP=null,sE=!1,sT=ez(e,t),sN=!1,sM=sD=sR=sz=sA=sL=0,sU=sZ=null,sF=!1,0!=(8&t)&&(t|=32&t);var r=e.entangledLanes;if(0!==r)for(e=e.entanglements,r&=t;0<r;){var o=31-eC(r),a=1<<o;t|=e[o],r&=~a}return sI=t,ru(),n}function ca(e,t){ai=null,B.H=iS,t===oj||t===oS?(t=oN(),sC=3):t===ok?(t=oN(),sC=4):sC=t===iH?8:null!==t&&"object"==typeof t&&"function"==typeof t.then?6:1,sP=t,null===sS&&(sL=1,iD(e,rP(t,e.current)))}function ci(){var e=o4.current;return null===e||((4194048&sO)===sO?null===o5:((0x3c00000&sO)===sO||0!=(0x20000000&sO))&&e===o5)}function cl(){var e=B.H;return B.H=iS,null===e?iS:e}function cs(){var e=B.A;return B.A=sw,e}function cc(){sL=4,sE||(4194048&sO)!==sO&&null!==o4.current||(sT=!0),0==(0x7ffffff&sA)&&0==(0x7ffffff&sz)||null===sk||ct(sk,sO,sD,!1)}function cu(e,t,n){var r=sj;sj|=2;var o=cl(),a=cs();(sk!==e||sO!==t)&&(s$=null,co(e,t)),t=!1;var i=sL;e:for(;;)try{if(0!==sC&&null!==sS){var l=sS,s=sP;switch(sC){case 8:cr(),i=6;break e;case 3:case 2:case 9:case 6:null===o4.current&&(t=!0);var c=sC;if(sC=0,sP=null,cp(e,l,s,c),n&&sT){i=0;break e}break;default:c=sC,sC=0,sP=null,cp(e,l,s,c)}}(function(){for(;null!==sS;)cd(sS)})(),i=sL;break}catch(t){ca(e,t)}return t&&e.shellSuspendCounter++,r4=r3=null,sj=r,B.H=o,B.A=a,null===sS&&(sk=null,sO=0,ru()),i}function cd(e){var t=ls(e.alternate,e,sI);e.memoizedProps=e.pendingProps,null===t?ch(e):sS=t}function cf(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=i1(n,t,t.pendingProps,t.type,void 0,sO);break;case 11:t=i1(n,t,t.pendingProps,t.type.render,t.ref,sO);break;case 5:ak(t);default:lm(n,t),t=ls(n,t=sS=rw(t,sI),sI)}e.memoizedProps=e.pendingProps,null===t?ch(e):sS=t}function cp(e,t,n,r){r4=r3=null,ak(t),oL=null,oA=0;var o=t.return;try{if(function(e,t,n,r,o){if(n.flags|=32768,null!==r&&"object"==typeof r&&"function"==typeof r.then){if(null!==(t=n.alternate)&&r7(t,n,o,!0),null!==(n=o4.current)){switch(n.tag){case 31:case 13:case 19:return null===o5?cc():null===n.alternate&&0===sL&&(sL=3),n.flags&=-257,n.flags|=65536,n.lanes=o,r===oO?n.flags|=16384:(null===(t=n.updateQueue)?n.updateQueue=new Set([r]):t.add(r),cC(e,r,o)),!1;case 22:return n.flags|=65536,r===oO?n.flags|=16384:(null===(t=n.updateQueue)?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):null===(n=t.retryQueue)?t.retryQueue=new Set([r]):n.add(r),cC(e,r,o)),!1}throw Error(l(435,n.tag))}return cC(e,r,o),cc(),!1}if(r$)return null!==(t=o4.current)?(0==(65536&t.flags)&&(t.flags|=256),t.flags|=65536,t.lanes=o,r!==rK&&r1(rP(e=Error(l(422),{cause:r}),n))):(r!==rK&&r1(rP(t=Error(l(423),{cause:r}),n)),e=e.current.alternate,e.flags|=65536,o&=-o,e.lanes|=o,r=rP(r,n),o=iZ(e.stateNode,r,o),oW(e,o),4!==sL&&(sL=2)),!1;var a=Error(l(520),{cause:r});if(a=rP(a,n),null===sZ?sZ=[a]:sZ.push(a),4!==sL&&(sL=2),null===t)return!0;r=rP(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=o&-o,n.lanes|=e,e=iZ(n.stateNode,r,e),oW(n,e),!1;case 1:if(t=n.type,a=n.stateNode,0==(128&n.flags)&&("function"==typeof t.getDerivedStateFromError||null!==a&&"function"==typeof a.componentDidCatch&&(null===sq||!sq.has(a))))return n.flags|=65536,o&=-o,n.lanes|=o,iF(o=iU(o),e,n,r),oW(n,o),!1;break;case 22:if(null!==n.memoizedState)return n.flags|=65536,!1}n=n.return}while(null!==n);return!1}(e,o,t,n,sO)){sL=1,iD(e,rP(n,e.current)),sS=null;return}}catch(t){if(null!==o)throw sS=o,t;sL=1,iD(e,rP(n,e.current)),sS=null;return}32768&t.flags?(r$||1===r?e=!0:sT||0!=(0x20000000&sO)?e=!1:(sE=e=!0,(2===r||9===r||3===r||6===r)&&null!==(r=o4.current)&&13===r.tag&&(r.flags|=16384)),cm(t,e)):ch(t)}function ch(e){var t=e;do{if(0!=(32768&t.flags))return void cm(t,sE);e=t.return;var n=function(e,t,n){var r=t.pendingProps;switch(rF(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:case 1:return lh(t),null;case 3:return n=t.stateNode,r=null,null!==e&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),r6(os),er(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(null===e||null===e.child)&&(rQ(t)?lc(t):null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,r0())),lh(t),null;case 26:var o=t.type,a=t.memoizedState;return null===e?(lc(t),null!==a?(lh(t),ld(t,a)):(lh(t),lu(t,o,null,r,n))):a?a!==e.memoizedState?(lc(t),lh(t),ld(t,a)):(lh(t),t.flags&=-0x1000001):((e=e.memoizedProps)!==r&&lc(t),lh(t),lu(t,o,e,r,n)),null;case 27:if(ea(t),n=ee.current,o=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&lc(t);else{if(!r){if(null===t.stateNode)throw Error(l(166));return lh(t),t.subtreeFlags&=-0x2000001,null}e=Q.current,rQ(t)?rX(t,e):(t.stateNode=e=uX(o,r,n),lc(t))}return lh(t),t.subtreeFlags&=-0x2000001,null;case 5:if(ea(t),o=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&lc(t);else{if(!r){if(null===t.stateNode)throw Error(l(166));return lh(t),t.subtreeFlags&=-0x2000001,null}if(a=Q.current,rQ(t))rX(t,a);else{var i=uc(ee.current);switch(a){case 1:a=i.createElementNS("http://www.w3.org/2000/svg",o);break;case 2:a=i.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;default:switch(o){case"svg":a=i.createElementNS("http://www.w3.org/2000/svg",o);break;case"math":a=i.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;case"script":(a=i.createElement("div")).innerHTML="<script><\/script>",a=a.removeChild(a.firstChild);break;case"select":a="string"==typeof r.is?i.createElement("select",{is:r.is}):i.createElement("select"),r.multiple?a.multiple=!0:r.size&&(a.size=r.size);break;default:a="string"==typeof r.is?i.createElement(o,{is:r.is}):i.createElement(o)}}a[eW]=t,a[eK]=r;e:for(i=t.child;null!==i;){if(5===i.tag||6===i.tag)a.appendChild(i.stateNode);else if(4!==i.tag&&27!==i.tag&&null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}switch(t.stateNode=a,ua(a,o,r),o){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break;case"img":r=!0;break;default:r=!1}r&&lc(t)}}return lh(t),t.subtreeFlags&=-0x2000001,lu(t,t.type,null===e?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&null!=t.stateNode)e.memoizedProps!==r&&lc(t);else{if("string"!=typeof r&&null===t.stateNode)throw Error(l(166));if(e=ee.current,rQ(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,null!==(o=rV))switch(o.tag){case 27:case 5:r=o.memoizedProps}e[eW]=t,(e=!!(e.nodeValue===n||null!==r&&!0===r.suppressHydrationWarning||un(e.nodeValue,n)))||rY(t,!0)}else(e=uc(e).createTextNode(r))[eW]=t,t.stateNode=e}return lh(t),null;case 31:if(n=t.memoizedState,null===e||null!==e.memoizedState){if(r=rQ(t),null!==n){if(null===e){if(!r)throw Error(l(318));if(!(e=null!==(e=t.memoizedState)?e.dehydrated:null))throw Error(l(557));e[eW]=t}else rJ(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;lh(t),e=!1}else n=r0(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e){if(256&t.flags)return ae(t),t;return ae(t),null}if(0!=(128&t.flags))throw Error(l(558))}return lh(t),null;case 13:if(r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(o=rQ(t),null!==r&&null!==r.dehydrated){if(null===e){if(!o)throw Error(l(318));if(!(o=null!==(o=t.memoizedState)?o.dehydrated:null))throw Error(l(317));o[eW]=t}else rJ(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;lh(t),o=!1}else o=r0(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=o),o=!0;if(!o){if(256&t.flags)return ae(t),t;return ae(t),null}}if(ae(t),0!=(128&t.flags))return t.lanes=n,t;return n=null!==r,e=null!==e&&null!==e.memoizedState,n&&(r=t.child,o=null,null!==r.alternate&&null!==r.alternate.memoizedState&&null!==r.alternate.memoizedState.cachePool&&(o=r.alternate.memoizedState.cachePool.pool),a=null,null!==r.memoizedState&&null!==r.memoizedState.cachePool&&(a=r.memoizedState.cachePool.pool),a!==o&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),lf(t,t.updateQueue),lh(t),null;case 4:return er(),null===e&&c2(t.stateNode.containerInfo),t.flags|=0x4000000,lh(t),null;case 10:return r6(t.type),lh(t),null;case 19:if(ar(t),null===(r=t.memoizedState))return lh(t),null;if(o=0!=(128&t.flags),null===(a=r.rendering))if(o)lp(r,!1);else{if(0!==sL||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(a=ao(e))){for(t.flags|=128,lp(r,!1),t.updateQueue=e=a.updateQueue,lf(t,e),t.subtreeFlags=0,e=n,n=t.child;null!==n;)rw(n,e),n=n.sibling;return an(t,1&at.current|2),r$&&rM(t,r.treeForkCount),t.child}e=e.sibling}null!==r.tail&&em()>sB&&(t.flags|=128,o=!0,lp(r,!1),t.lanes=4194304)}else{if(!o)if(null!==(e=ao(a))){if(t.flags|=128,o=!0,t.updateQueue=e=e.updateQueue,lf(t,e),lp(r,!0),null===r.tail&&"collapsed"!==r.tailMode&&"visible"!==r.tailMode&&!a.alternate&&!r$)return lh(t),null}else 2*em()-r.renderingStartTime>sB&&0x20000000!==n&&(t.flags|=128,o=!0,lp(r,!1),t.lanes=4194304);r.isBackwards?(a.sibling=t.child,t.child=a):(null!==(e=r.last)?e.sibling=a:t.child=a,r.last=a)}if(null!==r.tail){e=r.tail;e:{for(n=e;null!==n;){if(null!==n.alternate){n=!1;break e}n=n.sibling}n=!0}return r.rendering=e,r.tail=e.sibling,r.renderingStartTime=em(),e.sibling=null,a=at.current,a=o?1&a|2:1&a,"visible"===r.tailMode||"collapsed"===r.tailMode||!n||r$?an(t,a):(n=a,G(o4,t),G(at,n),null===o5&&(o5=t)),r$&&rM(t,r.treeForkCount),e}return lh(t),null;case 22:case 23:return ae(t),o3(),r=null!==t.memoizedState,null!==e?null!==e.memoizedState!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?0!=(0x20000000&n)&&0==(128&t.flags)&&(lh(t),6&t.subtreeFlags&&(t.flags|=8192)):lh(t),null!==(n=t.updateQueue)&&lf(t,n.retryQueue),n=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),r=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),null!==e&&X(ob),null;case 24:return n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),r6(os),lh(t),null;case 25:return null;case 30:return t.flags|=0x2000000,lh(t),null}throw Error(l(156,t.tag))}(t.alternate,t,sI);if(null!==n){sS=n;return}if(null!==(t=t.sibling)){sS=t;return}sS=t=e}while(null!==t);0===sL&&(sL=5)}function cm(e,t){do{var n=function(e,t){switch(rF(t),t.tag){case 1:return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return r6(os),er(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 26:case 27:case 5:return ea(t),null;case 31:if(null!==t.memoizedState){if(ae(t),null===t.alternate)throw Error(l(340));rJ()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 13:if(ae(t),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(l(340));rJ()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return ar(t),65536&(e=t.flags)?(t.flags=-65537&e|128,null!==(e=t.memoizedState)&&(e.rendering=null,e.tail=null),t.flags|=4,t):null;case 4:return er(),null;case 10:return r6(t.type),null;case 22:case 23:return ae(t),o3(),null!==e&&X(ob),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 24:return r6(os),null;default:return null}}(e.alternate,e);if(null!==n){n.flags&=32767,sS=n;return}if(null!==(n=e.return)&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&null!==(e=e.sibling)){sS=e;return}sS=e=n}while(null!==e);sL=6,sS=null}function cg(e,t,n,r,o,a,i,s,c,u,d){e.cancelPendingCommit=null;do cj();while(0!==sW);if(0!=(6&sj))throw Error(l(327));if(null!==t){var f;if(t===e.current)throw Error(l(177));if(!function(e,t,n,r,o,a){var i=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var l=e.entanglements,s=e.expirationTimes,c=e.hiddenUpdates;for(n=i&~n;0<n;){var u=31-eC(n),d=1<<u;l[u]=0,s[u]=-1;var f=c[u];if(null!==f)for(c[u]=null,u=0;u<f.length;u++){var p=f[u];null!==p&&(p.lane&=-0x20000001)}n&=~d}0!==r&&eZ(e,r,0),0!==a&&0===o&&0!==e.tag&&(e.suspendedLanes|=a&~(i&~t))}(e,n,a=t.lanes|t.childLanes|rc,i,s,c),e===sk&&(sS=sk=null,sO=0),sY=t,sK=e,sX=n,sG=a,sQ=o,sJ=r,s1=null,(0x13ffff00&n)===n?(f=e.transitionTypes,e.transitionTypes=null,s2=f,r=10262):(s2=null,r=10256),0!=(t.subtreeFlags&r)||0!=(t.flags&r)?(e.callbackNode=null,e.callbackPriority=0,ed(eb,function(){return ck(),null})):(e.callbackNode=null,e.callbackPriority=0),lN=!1,r=0!=(13878&t.flags),0!=(13878&t.subtreeFlags)||r){r=B.T,B.T=null,o=$.p,$.p=2,i=sj,sj|=4;try{!function(e,t,n){if(e=e.containerInfo,ul=dO,nB(e=nV(e))){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{var o=(r=(r=e.ownerDocument)&&r.defaultView||window).getSelection&&r.getSelection();if(o&&0!==o.rangeCount){r=o.anchorNode;var a,i=o.anchorOffset,l=o.focusNode;o=o.focusOffset;try{r.nodeType,l.nodeType}catch(e){r=null;break e}var s=0,c=-1,u=-1,d=0,f=0,p=e,h=null;t:for(;;){for(;p!==r||0!==i&&3!==p.nodeType||(c=s+i),p!==l||0!==o&&3!==p.nodeType||(u=s+o),3===p.nodeType&&(s+=p.nodeValue.length),null!==(a=p.firstChild);)h=p,p=a;for(;;){if(p===e)break t;if(h===r&&++d===i&&(c=s),h===l&&++f===o&&(u=s),null!==(a=p.nextSibling))break;h=(p=h).parentNode}p=a}r=-1===c||-1===u?null:{start:c,end:u}}else r=null}r=r||{start:0,end:0}}else r=null;for(us={focusedElem:e,selectionRange:r},dO=!1,n=(0x13ffff00&n)===n,lG=t,t=n?9270:1028;null!==lG;){if(e=lG,n&&null!==(r=e.deletions))for(i=0;i<r.length;i++)n&&lH(r[i]);if(null===e.alternate&&0!=(2&e.flags))n&&lL(e),l2(n);else{if(22===e.tag){if(r=e.alternate,null!==e.memoizedState){null!==r&&null===r.memoizedState&&n&&lH(r),l2(n);continue}else if(null!==r&&null!==r.memoizedState){n&&lL(e),l2(n);continue}}r=e.child,0!=(e.subtreeFlags&t)&&null!==r?(r.return=e,lG=r):(n&&function e(t){for(t=t.child;null!==t;){if(30===t.tag){var n=t.memoizedProps,r=rr(n,t.stateNode);n=ra(n.default,n.update),t.flags&=-5,"none"!==n&&lD(t,r,n,t.memoizedState=[],!1)}else 0!=(0x2000000&t.subtreeFlags)&&e(t);t=t.sibling}}(e),l2(n))}}lI=null}(e,t,n)}finally{sj=i,$.p=o,B.T=r}}sW=1,(t=lN)?s0=function(e,t,n,r,o,a,i,l,s){var c=9===t.nodeType?t:t.ownerDocument;try{var u=c.startViewTransition({update:function(){var t=c.defaultView,n=t.navigation&&t.navigation.transition,i=c.fonts.status;r();var l=[];if("loaded"===i&&(c.documentElement.clientHeight,"loading"===c.fonts.status&&l.push(c.fonts.ready)),i=l.length,null!==e)for(var s=e.suspenseyImages,u=0,d=0;d<s.length;d++){var f=s[d];if(!f.complete){var p=f.getBoundingClientRect();if(0<p.bottom&&0<p.right&&p.top<t.innerHeight&&p.left<t.innerWidth){if((u+=du(f))>df){l.length=i;break}f=new Promise(uC.bind(f)),l.push(f)}}}return 0<l.length?(t=Promise.race([Promise.all(l),new Promise(function(e){return setTimeout(e,500)})]).then(o,o),(n?Promise.allSettled([n.finished,t]):t).then(a,a)):(o(),n)?n.finished.then(a,a):void a()},types:n});c.__reactViewTransition=u;var d=[];return u.ready.then(function(){for(var e=c.documentElement.getAnimations({subtree:!0}),t=0;t<e.length;t++){var n=e[t],r=n.effect,o=r.pseudoElement;if(null!=o&&o.startsWith("::view-transition")){d.push(n),n=r.getKeyframes();for(var a=o=void 0,l=!0,s=0;s<n.length;s++){var u=n[s],f=u.width;if(void 0===o)o=f;else if(o!==f){l=!1;break}if(f=u.height,void 0===a)a=f;else if(a!==f){l=!1;break}delete u.width,delete u.height,"none"===u.transform&&delete u.transform}l&&void 0!==o&&void 0!==a&&(r.setKeyframes(n),(l=getComputedStyle(r.target,r.pseudoElement)).width!==o||l.height!==a)&&((l=n[0]).width=o,l.height=a,(l=n[n.length-1]).width=o,l.height=a,r.setKeyframes(n))}}i()},function(e){c.__reactViewTransition===u&&(c.__reactViewTransition=null);try{"object"==typeof e&&null!==e&&"InvalidStateError"===e.name&&("View transition was skipped because document visibility state is hidden."===e.message||"Skipping view transition because document visibility state has become hidden."===e.message||"Skipping view transition because viewport size changed."===e.message||"Transition was aborted because of invalid state"===e.message)&&(e=null),null!==e&&s(e)}finally{r(),o(),i()}}),u.finished.finally(function(){for(var e=0;e<d.length;e++)d[e].cancel();c.__reactViewTransition===u&&(c.__reactViewTransition=null),l()}),u}catch(e){return r(),o(),i(),null}}(d,e.containerInfo,s2,cb,cx,cv,cw,ck,cy,null,null):(cb(),cx(),cw())}}function cy(e){0!==sW&&(0,sK.onRecoverableError)(e,{componentStack:null})}function cv(){3===sW&&(sW=0,sl(sY,sK),sW=4)}function cb(){if(1===sW){sW=0;var e=sK,t=sY,n=sX,r=0!=(13878&t.flags);if(0!=(13878&t.subtreeFlags)||r){r=B.T,B.T=null;var o=$.p;$.p=2;var a=sj;sj|=4;try{lJ=l0=!1,so(t,e,n),n=us;var i=nV(e.containerInfo),l=n.focusedElem,s=n.selectionRange;if(i!==l&&l&&l.ownerDocument&&function e(t,n){return!!t&&!!n&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(l.ownerDocument.documentElement,l)){if(null!==s&&nB(l)){var c=s.start,u=s.end;if(void 0===u&&(u=c),"selectionStart"in l)l.selectionStart=c,l.selectionEnd=Math.min(u,l.value.length);else{var d=l.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),h=l.textContent.length,m=Math.min(s.start,h),g=void 0===s.end?m:Math.min(s.end,h);!p.extend&&m>g&&(i=g,g=m,m=i);var y=nH(l,m),v=nH(l,g);if(y&&v&&(1!==p.rangeCount||p.anchorNode!==y.node||p.anchorOffset!==y.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var b=d.createRange();b.setStart(y.node,y.offset),p.removeAllRanges(),m>g?(p.addRange(b),p.extend(v.node,v.offset)):(b.setEnd(v.node,v.offset),p.addRange(b))}}}}for(d=[],p=l;p=p.parentNode;)1===p.nodeType&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for("function"==typeof l.focus&&l.focus(),l=0;l<d.length;l++){var x=d[l];x.element.scrollLeft=x.left,x.element.scrollTop=x.top}}dO=!!ul,us=ul=null}finally{sj=a,$.p=o,B.T=r}}e.current=t,sW=2}}function cx(){if(2===sW){sW=0;var e=sK,t=sY,n=0!=(8772&t.flags);if(0!=(8772&t.subtreeFlags)||n){n=B.T,B.T=null;var r=$.p;$.p=2;var o=sj;sj|=4;try{l3(e,t.alternate,t)}finally{sj=o,$.p=r,B.T=n}}sW=3}}function cw(){if(4===sW||3===sW){sW=0,s0=null,eh();var e=sK,t=sY,n=sX,r=sJ,o=(0x13ffff00&n)===n?10262:10256;if(0!=(t.subtreeFlags&o)||0!=(t.flags&o)?sW=5:(sW=0,sY=sK=null,c_(e,e.pendingLanes)),0===(o=e.pendingLanes)&&(sq=null),eV(n),t=t.stateNode,eS&&"function"==typeof eS.onCommitFiberRoot)try{eS.onCommitFiberRoot(ek,t,void 0,128==(128&t.current.flags))}catch(e){}if(null!==r){t=B.T,o=$.p,$.p=2,B.T=null;try{for(var a=e.onRecoverableError,i=0;i<r.length;i++){var l=r[i];a(l.value,{componentStack:l.stack})}}finally{B.T=t,$.p=o}}if(r=s1,a=s2,s2=null,null!==r)for(s1=null,null===a&&(a=[]),l=0;l<r.length;l++)(0,r[l])(a);0!=(3&sX)&&cj(),cM(e),o=e.pendingLanes,0!=(261930&n)&&0!=(42&o)?e===s4?s3++:(s3=0,s4=e):s3=0,cZ(0,!1)}}function c_(e,t){0==(e.pooledCacheLanes&=t)&&null!=(t=e.pooledCache)&&(e.pooledCache=null,ou(t))}function cj(){return null!==s0&&(s0.skipTransition(),s0=null),cb(),cx(),cw(),ck()}function ck(){if(5!==sW)return!1;var e=sK,t=sG;sG=0;var n=eV(sX),r=B.T,o=$.p;try{$.p=32>n?32:n,B.T=null,n=sQ,sQ=null;var a=sK,i=sX;if(sW=0,sY=sK=null,sX=0,0!=(6&sj))throw Error(l(331));var s=sj;if(sj|=4,sb(a.current),sf(a,a.current,i,n),sj=s,cZ(0,!1),eS&&"function"==typeof eS.onPostCommitFiberRoot)try{eS.onPostCommitFiberRoot(ek,a)}catch(e){}return!0}finally{$.p=o,B.T=r,c_(e,t)}}function cS(e,t,n){t=rP(n,t),t=iZ(e.stateNode,t,2),null!==(e=o$(e,t,2))&&(eM(e,2),cM(e))}function cO(e,t,n){if(3===e.tag)cS(e,e,n);else for(;null!==t;){if(3===t.tag){cS(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===sq||!sq.has(r))){e=rP(n,e),null!==(r=o$(t,n=iU(2),2))&&(iF(n,r,t,e),eM(r,2),cM(r));break}}t=t.return}}function cC(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new s_;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(sN=!0,o.add(n),e=cP.bind(null,e,t,n),t.then(e,e))}function cP(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,sk===e&&(sO&n)===n&&(4===sL||3===sL&&(0x3c00000&sO)===sO&&300>em()-sH?0==(2&sj)&&co(e,0):sR|=n,sM===sO&&(sM=0)),cM(e)}function cE(e,t){0===t&&(t=eR()),null!==(e=rp(e,t))&&(eM(e,t),cM(e))}function cT(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),cE(e,n)}function cN(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(l(314))}null!==r&&r.delete(t),cE(e,n)}var cI=null,cL=null,cA=!1,cz=!1,cR=!1,cD=0;function cM(e){e!==cL&&null===e.next&&(null===cL?cI=cL=e:cL=cL.next=e),cz=!0,cA||(cA=!0,uy(function(){0!=(6&sj)?ed(ey,cU):cF()}))}function cZ(e,t){if(!cR&&cz){cR=!0;do for(var n=!1,r=cI;null!==r;){if(!t)if(0!==e){var o=r.pendingLanes;if(0===o)var a=0;else{var i=r.suspendedLanes,l=r.pingedLanes;a=0xc000095&(a=(1<<31-eC(42|e)+1)-1&(o&~(i&~l)))?0xc000095&a|1:a?2|a:0}0!==a&&(n=!0,cB(r,a))}else a=sO,0==(3&(a=eA(r,r===sk?a:0,null!==r.cancelPendingCommit||-1!==r.timeoutHandle)))||ez(r,a)||(n=!0,cB(r,a));r=r.next}while(n);cR=!1}}function cU(){cF()}function cF(){cz=cA=!1;var e,t=0;0===cD||((e=window.event)&&"popstate"===e.type?e===up||(up=e,0):(up=null,1))||(t=cD);for(var n=em(),r=null,o=cI;null!==o;){var a=o.next,i=cH(o,n);0===i?(o.next=null,null===r?cI=a:r.next=a,null===a&&(cL=r)):(r=o,(0!==t||0!=(3&i))&&(cz=!0)),o=a}0!==sW&&5!==sW||cZ(t,!1),0!==cD&&(cD=0)}function cH(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,a=-0x3c00001&e.pendingLanes;0<a;){var i=31-eC(a),l=1<<i,s=o[i];-1===s?(0==(l&n)||0!=(l&r))&&(o[i]=function(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return -1}}(l,t)):s<=t&&(e.expiredLanes|=l),a&=~l}if(t=sk,n=sO,n=eA(e,e===t?n:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle),r=e.callbackNode,0===n||e===t&&(2===sC||9===sC)||null!==e.cancelPendingCommit)return null!==r&&null!==r&&ef(r),e.callbackNode=null,e.callbackPriority=0;if(0==(3&n)||ez(e,n)){if((t=n&-n)===e.callbackPriority)return t;switch(null!==r&&ef(r),eV(n)){case 2:case 8:n=ev;break;case 32:default:n=eb;break;case 0x10000000:n=ew}return n=ed(n,r=cV.bind(null,e)),e.callbackPriority=t,e.callbackNode=n,t}return null!==r&&null!==r&&ef(r),e.callbackPriority=2,e.callbackNode=null,2}function cV(e,t){if(0!==sW&&5!==sW)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(cj()&&e.callbackNode!==n)return null;var r=sO;return 0===(r=eA(e,e===sk?r:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle))?null:(s7(e,r,t),cH(e,em()),null!=e.callbackNode&&e.callbackNode===n?cV.bind(null,e):null)}function cB(e,t){if(cj())return null;s7(e,t,!0)}function c$(){if(0===cD){var e=om;0===e&&(e=eT,0==(261888&(eT<<=1))&&(eT=256)),cD=e}return cD}function cq(e){return null==e||"symbol"==typeof e||"boolean"==typeof e?null:"function"==typeof e?e:tE(""+e)}function cW(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}for(var cK=0;cK<re.length;cK++){var cY=re[cK];rt(cY.toLowerCase(),"on"+(cY[0].toUpperCase()+cY.slice(1)))}rt(n2,"onAnimationEnd"),rt(n3,"onAnimationIteration"),rt(n4,"onAnimationStart"),rt("dblclick","onDoubleClick"),rt("focusin","onFocus"),rt("focusout","onBlur"),rt(n5,"onTransitionRun"),rt(n6,"onTransitionStart"),rt(n9,"onTransitionCancel"),rt(n8,"onTransitionEnd"),te("onMouseEnter",["mouseout","mouseover"]),te("onMouseLeave",["mouseout","mouseover"]),te("onPointerEnter",["pointerout","pointerover"]),te("onPointerLeave",["pointerout","pointerover"]),e7("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),e7("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),e7("onBeforeInput",["compositionend","keypress","textInput","paste"]),e7("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),e7("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),e7("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var cX="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),cG=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(cX));function cQ(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var i=r.length-1;0<=i;i--){var l=r[i],s=l.instance,c=l.currentTarget;if(l=l.listener,s!==a&&o.isPropagationStopped())break e;a=l,o.currentTarget=c;try{a(o)}catch(e){ri(e)}o.currentTarget=null,a=s}else for(i=0;i<r.length;i++){if(s=(l=r[i]).instance,c=l.currentTarget,l=l.listener,s!==a&&o.isPropagationStopped())break e;a=l,o.currentTarget=c;try{a(o)}catch(e){ri(e)}o.currentTarget=null,a=s}}}}function cJ(e,t){var n=t[eX];void 0===n&&(n=t[eX]=new Set);var r=e+"__bubble";n.has(r)||(c3(t,e,2,!1),n.add(r))}function c0(e,t,n){var r=0;t&&(r|=4),c3(n,e,r,t)}var c1="_reactListening"+Math.random().toString(36).slice(2);function c2(e){if(!e[c1]){e[c1]=!0,e9.forEach(function(t){"selectionchange"!==t&&(cG.has(t)||c0(t,!1,e),c0(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[c1]||(t[c1]=!0,c0("selectionchange",!1,t))}}function c3(e,t,n,r){switch(dL(t)){case 2:var o=dC;break;case 8:o=dP;break;default:o=dE}n=o.bind(null,t,n,e),o=void 0,tU&&("touchstart"===t||"touchmove"===t||"wheel"===t)&&(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function c4(e,t,n,r,o){var a=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var l=r.stateNode.containerInfo;if(l===o)break;if(4===i)for(i=r.return;null!==i;){var c=i.tag;if((3===c||4===c)&&i.stateNode.containerInfo===o)return;i=i.return}for(;null!==l;){if(null===(i=e2(l)))return;if(5===(c=i.tag)||6===c||26===c||27===c){r=a=i;continue e}l=l.parentNode}}r=r.return}tD(function(){var r=a,o=tI(n),i=[];e:{var l=n7.get(e);if(void 0!==l){var c=t2,u=e;switch(e){case"keypress":if(0===tq(n))break e;case"keydown":case"keyup":c=nl;break;case"focusin":u="focus",c=t8;break;case"focusout":u="blur",c=t8;break;case"beforeblur":case"afterblur":c=t8;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":c=t6;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":c=t9;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":c=nc;break;case n2:case n3:case n4:c=t7;break;case n8:c=nu;break;case"scroll":case"scrollend":c=t4;break;case"wheel":c=nd;break;case"copy":case"cut":case"paste":c=ne;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":c=ns;break;case"toggle":case"beforetoggle":c=nf}var d=0!=(4&t),f=!d&&("scroll"===e||"scrollend"===e),p=d?null!==l?l+"Capture":null:l;d=[];for(var h,m=r;null!==m;){var g=m;if(h=g.stateNode,5!==(g=g.tag)&&26!==g&&27!==g||null===h||null===p||null!=(g=tM(m,p))&&d.push(c5(m,g,h)),f)break;m=m.return}0<d.length&&(l=new c(l,u,null,n,o),i.push({event:l,listeners:d}))}}if(0==(7&t)){c="mouseover"===e||"pointerover"===e,l="mouseout"===e||"pointerout"===e,!(c&&n!==tN&&(u=n.relatedTarget||n.fromElement)&&(e2(u)||u[eY]))&&(l||c)&&(u=o.window===o?o:(c=o.ownerDocument)?c.defaultView||c.parentWindow:window,l?(c=n.relatedTarget||n.toElement,l=r,null!==(c=c?e2(c):null)&&(f=s(c),d=c.tag,c!==f||5!==d&&27!==d&&6!==d)&&(c=null)):(l=null,c=r),l!==c&&(d=t6,g="onMouseLeave",p="onMouseEnter",m="mouse",("pointerout"===e||"pointerover"===e)&&(d=ns,g="onPointerLeave",p="onPointerEnter",m="pointer"),f=null==l?u:e4(l),h=null==c?u:e4(c),(u=new d(g,m+"leave",l,n,o)).target=f,u.relatedTarget=h,g=null,e2(o)===r&&((d=new d(p,m+"enter",c,n,o)).target=h,d.relatedTarget=f,g=d),f=g,d=l&&c?w(l,c,c9):null,null!==l&&c8(i,u,l,d,!1),null!==c&&null!==f&&c8(i,f,c,d,!0)));e:{if("select"===(c=(l=r?e4(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===c&&"file"===l.type)var y,v=nE;else if(nj(l))if(nT)v=nM;else{v=nR;var b=nz}else(c=l.nodeName)&&"input"===c.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)?v=nD:r&&tO(r.elementType)&&(v=nE);if(v&&(v=v(e,r))){nk(i,v,n,o);break e}b&&b(e,l,r),"focusout"===e&&r&&"number"===l.type&&null!=r.memoizedProps.value&&tv(l,"number",l.value)}switch(b=r?e4(r):window,e){case"focusin":(nj(b)||"true"===b.contentEditable)&&(nq=b,nW=r,nK=null);break;case"focusout":nK=nW=nq=null;break;case"mousedown":nY=!0;break;case"contextmenu":case"mouseup":case"dragend":nY=!1,nX(i,n,o);break;case"selectionchange":if(n$)break;case"keydown":case"keyup":nX(i,n,o)}if(nh)t:{switch(e){case"compositionstart":var x="onCompositionStart";break t;case"compositionend":x="onCompositionEnd";break t;case"compositionupdate":x="onCompositionUpdate";break t}x=void 0}else nw?nb(e,n)&&(x="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(x="onCompositionStart");x&&(ny&&"ko"!==n.locale&&(nw||"onCompositionStart"!==x?"onCompositionEnd"===x&&nw&&(y=t$()):(tV="value"in(tH=o)?tH.value:tH.textContent,nw=!0)),0<(b=c6(r,x)).length&&(x=new nt(x,e,null,n,o),i.push({event:x,listeners:b}),y?x.data=y:null!==(y=nx(n))&&(x.data=y))),(y=ng?function(e,t){switch(e){case"compositionend":return nx(t);case"keypress":if(32!==t.which)return null;return nv=!0," ";case"textInput":return" "===(e=t.data)&&nv?null:e;default:return null}}(e,n):function(e,t){if(nw)return"compositionend"===e||!nh&&nb(e,t)?(e=t$(),tB=tV=tH=null,nw=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return ny&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(x=c6(r,"onBeforeInput")).length&&(b=new nt("onBeforeInput","beforeinput",null,n,o),i.push({event:b,listeners:x}),b.data=y);var _=e;if("submit"===_&&r&&r.stateNode===o){var j=cq((o[eK]||null).action),k=n.submitter;k&&null!==(_=(_=k[eK]||null)?cq(_.formAction):k.getAttribute("formAction"))&&(j=_,k=null);var S=new t2("action","action",null,n,o);i.push({event:S,listeners:[{instance:null,listener:function(){if(n.defaultPrevented){if(0!==cD){var e=k?cW(o,k):new FormData(o);iu(r,{pending:!0,data:e,method:o.method,action:j},null,e)}}else"function"==typeof j&&(S.preventDefault(),iu(r,{pending:!0,data:e=k?cW(o,k):new FormData(o),method:o.method,action:j},j,e))},currentTarget:o}]})}}cQ(i,t)})}function c5(e,t,n){return{instance:e,listener:t,currentTarget:n}}function c6(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,a=o.stateNode;if(5!==(o=o.tag)&&26!==o&&27!==o||null===a||(null!=(o=tM(e,n))&&r.unshift(c5(e,o,a)),null!=(o=tM(e,t))&&r.push(c5(e,o,a))),3===e.tag)return r;e=e.return}return[]}function c9(e){if(null===e)return null;do e=e.return;while(e&&5!==e.tag&&27!==e.tag);return e||null}function c8(e,t,n,r,o){for(var a=t._reactName,i=[];null!==n&&n!==r;){var l=n,s=l.alternate,c=l.stateNode;if(l=l.tag,null!==s&&s===r)break;5!==l&&26!==l&&27!==l||null===c||(s=c,o?null!=(c=tM(n,a))&&i.unshift(c5(n,c,s)):o||null!=(c=tM(n,a))&&i.push(c5(n,c,s))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var c7=/\r\n?/g,ue=/\u0000|\uFFFD/g;function ut(e){return("string"==typeof e?e:""+e).replace(c7,"\n").replace(ue,"")}function un(e,t){return t=ut(t),ut(e)===t}function ur(e,t,n,r,o,a){switch(n){case"children":if("string"==typeof r)"body"===t||"textarea"===t&&""===r||t_(e,r);else{if("number"!=typeof r&&"bigint"!=typeof r)return;"body"!==t&&t_(e,""+r)}break;case"className":tl(e,"class",r);break;case"tabIndex":tl(e,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":tl(e,n,r);break;case"style":tS(e,r,a);return;case"data":if("object"!==t){tl(e,"data",r);break}case"src":case"href":if(""===r&&("a"!==t||"href"!==n)||null==r||"function"==typeof r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}r=tE(""+r),e.setAttribute(n,r);break;case"action":case"formAction":if("function"==typeof r){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}if("function"==typeof a&&("formAction"===n?("input"!==t&&ur(e,t,"name",o.name,o,null),ur(e,t,"formEncType",o.formEncType,o,null),ur(e,t,"formMethod",o.formMethod,o,null),ur(e,t,"formTarget",o.formTarget,o,null)):(ur(e,t,"encType",o.encType,o,null),ur(e,t,"method",o.method,o,null),ur(e,t,"target",o.target,o,null))),null==r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}r=tE(""+r),e.setAttribute(n,r);break;case"onClick":null!=r&&(e.onclick=tT);return;case"onScroll":null!=r&&cJ("scroll",e);return;case"onScrollEnd":null!=r&&cJ("scrollend",e);return;case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error(l(61));if(null!=(n=r.__html)){if(null!=o.children)throw Error(l(60));e.innerHTML=n}}break;case"multiple":e.multiple=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"muted":e.muted=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":case"autoFocus":break;case"xlinkHref":if(null==r||"function"==typeof r||"boolean"==typeof r||"symbol"==typeof r){e.removeAttribute("xlink:href");break}n=tE(""+r),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":null!=r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,""+r):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":!0===r?e.setAttribute(n,""):!1!==r&&null!=r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,r):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":null!=r&&"function"!=typeof r&&"symbol"!=typeof r&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case"rowSpan":case"start":null==r||"function"==typeof r||"symbol"==typeof r||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case"popover":cJ("beforetoggle",e),cJ("toggle",e),ti(e,"popover",r);break;case"xlinkActuate":ts(e,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":ts(e,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":ts(e,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":ts(e,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":ts(e,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":ts(e,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":ts(e,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":ts(e,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":ts(e,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":ti(e,"is",r);break;case"innerText":case"textContent":return;default:if(2<n.length&&("o"===n[0]||"O"===n[0])&&("n"===n[1]||"N"===n[1]))return;ti(e,n=tC.get(n)||n,r)}to=!0}function uo(e,t,n,r,o,a){switch(n){case"style":tS(e,r,a);return;case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error(l(61));if(null!=(n=r.__html)){if(null!=o.children)throw Error(l(60));e.innerHTML=n}}break;case"children":if("string"==typeof r)t_(e,r);else{if("number"!=typeof r&&"bigint"!=typeof r)return;t_(e,""+r)}break;case"onScroll":null!=r&&cJ("scroll",e);return;case"onScrollEnd":null!=r&&cJ("scrollend",e);return;case"onClick":null!=r&&(e.onclick=tT);return;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":case"innerText":case"textContent":return;default:if(!e8.hasOwnProperty(n))e:{if("o"===n[0]&&"n"===n[1]&&(o=n.endsWith("Capture"),t=n.slice(2,o?n.length-7:void 0),"function"==typeof(a=null!=(a=e[eK]||null)?a[n]:null)&&e.removeEventListener(t,a,o),"function"==typeof r)){"function"!=typeof a&&null!==a&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,r,o);break e}to=!0,n in e?e[n]=r:!0===r?e.setAttribute(n,""):ti(e,n,r)}return}to=!0}function ua(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":cJ("error",e),cJ("load",e);var r,o=!1,a=!1;for(r in n)if(n.hasOwnProperty(r)){var i=n[r];if(null!=i)switch(r){case"src":o=!0;break;case"srcSet":a=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(l(137,t));default:ur(e,t,r,i,n,null)}}a&&ur(e,t,"srcSet",n.srcSet,n,null),o&&ur(e,t,"src",n.src,n,null);return;case"input":cJ("invalid",e);var s=r=i=a=null,c=null,u=null;for(o in n)if(n.hasOwnProperty(o)){var d=n[o];if(null!=d)switch(o){case"name":a=d;break;case"type":i=d;break;case"checked":c=d;break;case"defaultChecked":u=d;break;case"value":r=d;break;case"defaultValue":s=d;break;case"children":case"dangerouslySetInnerHTML":if(null!=d)throw Error(l(137,t));break;default:ur(e,t,o,d,n,null)}}ty(e,r,s,c,u,i,a,!1);return;case"select":for(a in cJ("invalid",e),o=i=r=null,n)if(n.hasOwnProperty(a)&&null!=(s=n[a]))switch(a){case"value":r=s;break;case"defaultValue":i=s;break;case"multiple":o=s;default:ur(e,t,a,s,n,null)}t=r,n=i,e.multiple=!!o,null!=t?tb(e,!!o,t,!1):null!=n&&tb(e,!!o,n,!0);return;case"textarea":for(i in cJ("invalid",e),r=a=o=null,n)if(n.hasOwnProperty(i)&&null!=(s=n[i]))switch(i){case"value":o=s;break;case"defaultValue":a=s;break;case"children":r=s;break;case"dangerouslySetInnerHTML":if(null!=s)throw Error(l(91));break;default:ur(e,t,i,s,n,null)}tw(e,o,a,r);return;case"option":for(c in n)n.hasOwnProperty(c)&&null!=(o=n[c])&&("selected"===c?e.selected=o&&"function"!=typeof o&&"symbol"!=typeof o:ur(e,t,c,o,n,null));return;case"dialog":cJ("beforetoggle",e),cJ("toggle",e),cJ("cancel",e),cJ("close",e);break;case"iframe":case"object":cJ("load",e);break;case"video":case"audio":for(o=0;o<cX.length;o++)cJ(cX[o],e);break;case"image":cJ("error",e),cJ("load",e);break;case"details":cJ("toggle",e);break;case"embed":case"source":case"link":cJ("error",e),cJ("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(u in n)if(n.hasOwnProperty(u)&&null!=(o=n[u]))switch(u){case"children":case"dangerouslySetInnerHTML":throw Error(l(137,t));default:ur(e,t,u,o,n,null)}return;default:if(tO(t)){for(d in n)n.hasOwnProperty(d)&&void 0!==(o=n[d])&&uo(e,t,d,o,n,void 0);return}}for(s in n)n.hasOwnProperty(s)&&null!=(o=n[s])&&ur(e,t,s,o,n,null)}function ui(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}var ul=null,us=null;function uc(e){return 9===e.nodeType?e:e.ownerDocument}function uu(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function ud(e,t){if(0===e)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return 1===e&&"foreignObject"===t?0:e}function uf(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"bigint"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var up=null,uh="function"==typeof setTimeout?setTimeout:void 0,um="function"==typeof clearTimeout?clearTimeout:void 0,ug="function"==typeof Promise?Promise:void 0,uy="function"==typeof queueMicrotask?queueMicrotask:void 0!==ug?function(e){return ug.resolve(null).then(e).catch(uv)}:uh;function uv(e){setTimeout(function(){throw e})}function ub(e){return"head"===e}function ux(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)||"/&"===n){if(0===r){e.removeChild(o),dG(t);return}r--}else if("$"===n||"$?"===n||"$~"===n||"$!"===n||"&"===n)r++;else if("html"===n)uG(e.ownerDocument.documentElement);else if("head"===n){uG(n=e.ownerDocument.head);for(var a=n.firstChild;a;){var i=a.nextSibling,l=a.nodeName;a[e0]||"SCRIPT"===l||"STYLE"===l||"LINK"===l&&"stylesheet"===a.rel.toLowerCase()||n.removeChild(a),a=i}}else"body"===n&&uG(e.ownerDocument.body);n=o}while(n);dG(t)}function uw(e,t){var n=e;e=0;do{var r=n.nextSibling;if(1===n.nodeType?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",""===n.getAttribute("style")&&n.removeAttribute("style")):3===n.nodeType&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),r&&8===r.nodeType)if("/$"===(n=r.data))if(0===e)break;else e--;else"$"!==n&&"$?"!==n&&"$~"!==n&&"$!"!==n||e++;n=r}while(n)}function u_(e,t,n){if(t=CSS.escape(t)!==t?"r-"+btoa(t).replace(/=/g,""):t,e.style.viewTransitionName=t,null!=n&&(e.style.viewTransitionClass=n),"inline"===(n=getComputedStyle(e)).display){if(1===(t=e.getClientRects()).length)var r=1;else for(var o=r=0;o<t.length;o++){var a=t[o];0<a.width&&0<a.height&&r++}1===r&&((e=e.style).display=1===t.length?"inline-block":"block",e.marginTop="-"+n.paddingTop,e.marginBottom="-"+n.paddingBottom)}}function uj(e,t){e=e.style;var n=null!=(t=t.style)?t.hasOwnProperty("viewTransitionName")?t.viewTransitionName:t.hasOwnProperty("view-transition-name")?t["view-transition-name"]:null:null;e.viewTransitionName=null==n||"boolean"==typeof n?"":(""+n).trim(),n=null!=t?t.hasOwnProperty("viewTransitionClass")?t.viewTransitionClass:t.hasOwnProperty("view-transition-class")?t["view-transition-class"]:null:null,e.viewTransitionClass=null==n||"boolean"==typeof n?"":(""+n).trim(),"inline-block"===e.display&&(null==t?e.display=e.margin="":(n=t.display,e.display=null==n||"boolean"==typeof n?"":n,null!=(n=t.margin)?e.margin=n:(n=t.hasOwnProperty("marginTop")?t.marginTop:t["margin-top"],e.marginTop=null==n||"boolean"==typeof n?"":n,t=t.hasOwnProperty("marginBottom")?t.marginBottom:t["margin-bottom"],e.marginBottom=null==t||"boolean"==typeof t?"":t)))}function uk(e,t,n){return n=n.ownerDocument.defaultView,{rect:e,abs:"absolute"===t.position||"fixed"===t.position,clip:"none"!==t.clipPath||"visible"!==t.overflow||"none"!==t.filter||"none"!==t.mask||"none"!==t.mask||"0px"!==t.borderRadius,view:0<=e.bottom&&0<=e.right&&e.top<=n.innerHeight&&e.left<=n.innerWidth}}function uS(e){return uk(e.getBoundingClientRect(),getComputedStyle(e),e)}function uO(e){var t=e.getBoundingClientRect();return uk(t=new DOMRect(t.x+2e4,t.y+2e4,t.width,t.height),getComputedStyle(e),e)}function uC(e){this.addEventListener("load",e),this.addEventListener("error",e)}function uP(e,t){this._scope=document.documentElement,this._selector="::view-transition-"+e+"("+t+")"}function uE(e){return{name:e,group:new uP("group",e),imagePair:new uP("image-pair",e),old:new uP("old",e),new:new uP("new",e)}}function uT(e){this._fragmentFiber=e,this._observers=this._eventListeners=null}function uN(e,t,n,r){return h(e).addEventListener(t,n,r),!1}function uI(e,t,n,r){return h(e).removeEventListener(t,n,r),!1}function uL(e){return null==e?"0":"boolean"==typeof e?"c="+(e?"1":"0"):"c="+(e.capture?"1":"0")+"&o="+(e.once?"1":"0")+"&p="+(e.passive?"1":"0")}function uA(e,t,n,r){for(var o=0;o<e.length;o++){var a=e[o];if(a.type===t&&a.listener===n&&uL(a.optionsOrUseCapture)===uL(r))return o}return -1}function uz(e,t){var n=e=h(e),r=t;function o(){a=!0}var a=!1;try{n.addEventListener("focus",o),(n.focus||HTMLElement.prototype.focus).call(n,r)}finally{n.removeEventListener("focus",o)}return a}function uR(e,t){return t.push(e),!1}function uD(e){return(e=h(e))===e.ownerDocument.activeElement&&(e.blur(),!0)}function uM(e,t){return e=h(e),t.observe(e),!1}function uZ(e,t){return e=h(e),t.unobserve(e),!1}function uU(e,t){return e=h(e),t.push.apply(t,e.getClientRects()),!1}function uF(e,t){var n=t._eventListeners;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];e.addEventListener(o.type,o.listener,o.optionsOrUseCapture)}null!==t._observers&&t._observers.forEach(function(t){t.observe(e)})}function uH(e){var t=e.firstChild;for(t&&10===t.nodeType&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":uH(n),e1(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if("stylesheet"===n.rel.toLowerCase())continue}e.removeChild(n)}}function uV(e,t){for(;8!==e.nodeType;)if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!t||null===(e=uq(e.nextSibling)))return null;return e}function uB(e){return"$?"===e.data||"$~"===e.data}function u$(e){return"$!"===e.data||"$?"===e.data&&"loading"!==e.ownerDocument.readyState}function uq(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t||"$~"===t||"&"===t||"F!"===t||"F"===t)break;if("/$"===t||"/&"===t)return null}}return e}uP.prototype.animate=function(e,t){return(t="number"==typeof t?{duration:t}:_({},t)).pseudoElement=this._selector,this._scope.animate(e,t)},uP.prototype.getAnimations=function(){for(var e=this._scope,t=this._selector,n=e.getAnimations({subtree:!0}),r=[],o=0;o<n.length;o++){var a=n[o].effect;null!==a&&a.target===e&&a.pseudoElement===t&&r.push(n[o])}return r},uP.prototype.getComputedStyle=function(){return getComputedStyle(this._scope,this._selector)},uT.prototype.addEventListener=function(e,t,n){null===this._eventListeners&&(this._eventListeners=[]);var r=this._eventListeners;-1===uA(r,e,t,n)&&(r.push({type:e,listener:t,optionsOrUseCapture:n}),f(this._fragmentFiber.child,!1,uN,e,t,n)),this._eventListeners=r},uT.prototype.removeEventListener=function(e,t,n){var r=this._eventListeners;null!=r&&0<r.length&&(f(this._fragmentFiber.child,!1,uI,e,t,n),e=uA(r,e,t,n),null!==this._eventListeners&&this._eventListeners.splice(e,1))},uT.prototype.dispatchEvent=function(e){var t=p(this._fragmentFiber);if(null===t)return!0;t=h(t);var n=this._eventListeners;if(null!==n&&0<n.length||!e.bubbles){var r=document.createTextNode("");if(n)for(var o=0;o<n.length;o++){var a=n[o];r.addEventListener(a.type,a.listener,a.optionsOrUseCapture)}if(t.appendChild(r),e=r.dispatchEvent(e),n)for(o=0;o<n.length;o++)a=n[o],r.removeEventListener(a.type,a.listener,a.optionsOrUseCapture);return t.removeChild(r),e}return t.dispatchEvent(e)},uT.prototype.focus=function(e){f(this._fragmentFiber.child,!0,uz,e,void 0,void 0)},uT.prototype.focusLast=function(e){var t=[];f(this._fragmentFiber.child,!0,uR,t,void 0,void 0);for(var n=t.length-1;0<=n&&!uz(t[n],e);n--);},uT.prototype.blur=function(){f(this._fragmentFiber.child,!1,uD,void 0,void 0,void 0)},uT.prototype.observeUsing=function(e){null===this._observers&&(this._observers=new Set),this._observers.add(e),f(this._fragmentFiber.child,!1,uM,e,void 0,void 0)},uT.prototype.unobserveUsing=function(e){var t=this._observers;null!==t&&t.has(e)&&(t.delete(e),f(this._fragmentFiber.child,!1,uZ,e,void 0,void 0))},uT.prototype.getClientRects=function(){var e=[];return f(this._fragmentFiber.child,!1,uU,e,void 0,void 0),e},uT.prototype.getRootNode=function(e){var t=p(this._fragmentFiber);return null===t?this:h(t).getRootNode(e)},uT.prototype.compareDocumentPosition=function(e){var t=p(this._fragmentFiber);if(null===t)return Node.DOCUMENT_POSITION_DISCONNECTED;var n=[];f(this._fragmentFiber.child,!1,uR,n,void 0,void 0);var r=h(t);if(0===n.length){n=this._fragmentFiber;var o=r.compareDocumentPosition(e);return t=o,r===e?t=Node.DOCUMENT_POSITION_CONTAINS:o&Node.DOCUMENT_POSITION_CONTAINED_BY&&(f(n.sibling,!1,y),n=m,m=null,t=null===n?Node.DOCUMENT_POSITION_PRECEDING:0===(e=h(n).compareDocumentPosition(e))||e&Node.DOCUMENT_POSITION_FOLLOWING?Node.DOCUMENT_POSITION_FOLLOWING:Node.DOCUMENT_POSITION_PRECEDING),t|Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC}t=h(n[0]),o=h(n[n.length-1]);for(var a=h(n[0]),i=!1,l=this._fragmentFiber.return;null!==l&&(4===l.tag&&(i=!0),3!==l.tag&&5!==l.tag);)l=l.return;if(null==(a=i?a.parentElement:r))return Node.DOCUMENT_POSITION_DISCONNECTED;r=a.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY,a=a.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_CONTAINED_BY,i=t.compareDocumentPosition(e);var s=o.compareDocumentPosition(e);return l=i&Node.DOCUMENT_POSITION_CONTAINED_BY||s&Node.DOCUMENT_POSITION_CONTAINED_BY,s=r&&a&&i&Node.DOCUMENT_POSITION_FOLLOWING&&s&Node.DOCUMENT_POSITION_PRECEDING,(t=r&&t===e||a&&o===e||l||s?Node.DOCUMENT_POSITION_CONTAINED_BY:(r||t!==e)&&(a||o!==e)?i:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC)&Node.DOCUMENT_POSITION_DISCONNECTED||t&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC||function(e,t,n,r,o){var a=e2(o);if(e&Node.DOCUMENT_POSITION_CONTAINED_BY){if(n=!!a)e:{for(;null!==a;){if(7===a.tag&&(a===t||a.alternate===t)){n=!0;break e}a=a.return}n=!1}return n}if(e&Node.DOCUMENT_POSITION_CONTAINS){if(null===a)return a=o.ownerDocument,o===a||o===a.body;e:{for(a=t,t=p(t);null!==a;){if((5===a.tag||3===a.tag)&&(a===t||a.alternate===t)){a=!0;break e}a=a.return}a=!1}return a}return e&Node.DOCUMENT_POSITION_PRECEDING?((t=!!a)&&!(t=a===n)&&(null===(t=w(n,a,x))?t=!1:(f(t,!0,v,a,n),a=m,m=null,t=null!==a)),t):!!(e&Node.DOCUMENT_POSITION_FOLLOWING)&&((t=!!a)&&!(t=a===r)&&(null===(t=w(r,a,x))?t=!1:(f(t,!0,b,a,r),a=m,g=m=null,t=null!==a)),t)}(t,this._fragmentFiber,n[0],n[n.length-1],e)?t:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC},uT.prototype.scrollIntoView=function(e){if("object"==typeof e)throw Error(l(566));var t=[];f(this._fragmentFiber.child,!1,uR,t,void 0,void 0);var n=!1!==e;if(0===t.length){t=this._fragmentFiber;var r=[null,null],o=p(t);null!==o&&function e(t,n,r){for(var o=3<arguments.length&&void 0!==arguments[3]&&arguments[3];null!==r;){if(r===n)if(o=!0,!r.sibling)return!0;else r=r.sibling;if(5===r.tag){if(o)return t[1]=r,!0;t[0]=r}else if((22!==r.tag||null===r.memoizedState)&&e(t,n,r.child,o))return!0;r=r.sibling}return!1}(r,t,o.child),null!==(n=n?r[1]||r[0]||p(this._fragmentFiber):r[0]||r[1])&&h(n).scrollIntoView(e)}else for(r=n?t.length-1:0;r!==(n?-1:t.length);)h(t[r]).scrollIntoView(e),r+=n?-1:1};var uW=null;function uK(e){e=e.nextSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n||"/&"===n){if(0===t)return uq(e.nextSibling);t--}else"$"!==n&&"$!"!==n&&"$?"!==n&&"$~"!==n&&"&"!==n||t++}e=e.nextSibling}return null}function uY(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n||"$~"===n||"&"===n){if(0===t)return e;t--}else"/$"!==n&&"/&"!==n||t++}e=e.previousSibling}return null}function uX(e,t,n){switch(t=uc(n),e){case"html":if(!(e=t.documentElement))throw Error(l(452));return e;case"head":if(!(e=t.head))throw Error(l(453));return e;case"body":if(!(e=t.body))throw Error(l(454));return e;default:throw Error(l(451))}}function uG(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);e1(e)}var uQ=new Map,uJ=new Set;function u0(e){return"function"==typeof e.getRootNode?e.getRootNode():9===e.nodeType?e:e.ownerDocument}var u1=$.d;$.d={f:function(){var e=u1.f(),t=cn();return e||t},r:function(e){var t=e3(e);null!==t&&5===t.tag&&"form"===t.type?ip(t):u1.r(e)},D:function(e){u1.D(e),u3("dns-prefetch",e,null)},C:function(e,t){u1.C(e,t),u3("preconnect",e,t)},L:function(e,t,n){if(u1.L(e,t,n),u2&&e&&t){var r='link[rel="preload"][as="'+tm(t)+'"]';"image"===t&&n&&n.imageSrcSet?(r+='[imagesrcset="'+tm(n.imageSrcSet)+'"]',"string"==typeof n.imageSizes&&(r+='[imagesizes="'+tm(n.imageSizes)+'"]')):r+='[href="'+tm(e)+'"]';var o=r;switch(t){case"style":o=u5(e);break;case"script":o=u8(e)}uQ.has(o)||(e=_({rel:"preload",href:"image"===t&&n&&n.imageSrcSet?void 0:e,as:t},n),uQ.set(o,e),null!==u2.querySelector(r)||"style"===t&&u2.querySelector(u6(o))||"script"===t&&u2.querySelector(u7(o))||(ua(t=u2.createElement("link"),"link",e),e6(t),u2.head.appendChild(t)))}},m:function(e,t){if(u1.m(e,t),u2&&e){var n=t&&"string"==typeof t.as?t.as:"script",r='link[rel="modulepreload"][as="'+tm(n)+'"][href="'+tm(e)+'"]',o=r;switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":o=u8(e)}if(!uQ.has(o)&&(e=_({rel:"modulepreload",href:e},t),uQ.set(o,e),null===u2.querySelector(r))){switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(u2.querySelector(u7(o)))return}ua(n=u2.createElement("link"),"link",e),e6(n),u2.head.appendChild(n)}}},X:function(e,t){if(u1.X(e,t),u2&&e){var n=e5(u2).hoistableScripts,r=u8(e),o=n.get(r);o||((o=u2.querySelector(u7(r)))||(e=_({src:e,async:!0},t),(t=uQ.get(r))&&dr(e,t),e6(o=u2.createElement("script")),ua(o,"link",e),u2.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},n.set(r,o))}},S:function(e,t,n){if(u1.S(e,t,n),u2&&e){var r=e5(u2).hoistableStyles,o=u5(e);t=t||"default";var a=r.get(o);if(!a){var i={loading:0,preload:null};if(a=u2.querySelector(u6(o)))i.loading=5;else{e=_({rel:"stylesheet",href:e,"data-precedence":t},n),(n=uQ.get(o))&&dn(e,n);var l=a=u2.createElement("link");e6(l),ua(l,"link",e),l._p=new Promise(function(e,t){l.onload=e,l.onerror=t}),l.addEventListener("load",function(){i.loading|=1}),l.addEventListener("error",function(){i.loading|=2}),i.loading|=4,dt(a,t,u2)}a={type:"stylesheet",instance:a,count:1,state:i},r.set(o,a)}}},M:function(e,t){if(u1.M(e,t),u2&&e){var n=e5(u2).hoistableScripts,r=u8(e),o=n.get(r);o||((o=u2.querySelector(u7(r)))||(e=_({src:e,async:!0,type:"module"},t),(t=uQ.get(r))&&dr(e,t),e6(o=u2.createElement("script")),ua(o,"link",e),u2.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},n.set(r,o))}}};var u2="undefined"==typeof document?null:document;function u3(e,t,n){if(u2&&"string"==typeof t&&t){var r=tm(t);r='link[rel="'+e+'"][href="'+r+'"]',"string"==typeof n&&(r+='[crossorigin="'+n+'"]'),uJ.has(r)||(uJ.add(r),e={rel:e,crossOrigin:n,href:t},null===u2.querySelector(r)&&(ua(t=u2.createElement("link"),"link",e),e6(t),u2.head.appendChild(t)))}}function u4(e,t,n,r){var o=(o=ee.current)?u0(o):null;if(!o)throw Error(l(446));switch(e){case"meta":case"title":return null;case"style":return"string"==typeof n.precedence&&"string"==typeof n.href?(t=u5(n.href),(r=(n=e5(o).hoistableStyles).get(t))||(r={type:"style",instance:null,count:0,state:null},n.set(t,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===n.rel&&"string"==typeof n.href&&"string"==typeof n.precedence){e=u5(n.href);var a,i,s,c,u=e5(o).hoistableStyles,d=u.get(e);if(d||(o=o.ownerDocument||o,d={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(e,d),(u=o.querySelector(u6(e)))&&!u._p&&(d.instance=u,d.state.loading=5),uQ.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},uQ.set(e,n),u||(a=o,i=e,s=n,c=d.state,a.querySelector('link[rel="preload"][as="style"]['+i+"]")?c.loading=1:(c.preload=i=a.createElement("link"),i.addEventListener("load",function(){return c.loading|=1}),i.addEventListener("error",function(){return c.loading|=2}),ua(i,"link",s),e6(i),a.head.appendChild(i))))),t&&null===r)throw Error(l(528,""));return d}if(t&&null!==r)throw Error(l(529,""));return null;case"script":return t=n.async,"string"==typeof(n=n.src)&&t&&"function"!=typeof t&&"symbol"!=typeof t?(t=u8(n),(r=(n=e5(o).hoistableScripts).get(t))||(r={type:"script",instance:null,count:0,state:null},n.set(t,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error(l(444,e))}}function u5(e){return'href="'+tm(e)+'"'}function u6(e){return'link[rel="stylesheet"]['+e+"]"}function u9(e){return _({},e,{"data-precedence":e.precedence,precedence:null})}function u8(e){return'[src="'+tm(e)+'"]'}function u7(e){return"script[async]"+e}function de(e,t,n){if(t.count++,null===t.instance)switch(t.type){case"style":var r=e.querySelector('style[data-href~="'+tm(n.href)+'"]');if(r)return t.instance=r,e6(r),r;var o=_({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return e6(r=(e.ownerDocument||e).createElement("style")),ua(r,"style",o),dt(r,n.precedence,e),t.instance=r;case"stylesheet":o=u5(n.href);var a=e.querySelector(u6(o));if(a)return t.state.loading|=4,t.instance=a,e6(a),a;r=u9(n),(o=uQ.get(o))&&dn(r,o),e6(a=(e.ownerDocument||e).createElement("link"));var i=a;return i._p=new Promise(function(e,t){i.onload=e,i.onerror=t}),ua(a,"link",r),t.state.loading|=4,dt(a,n.precedence,e),t.instance=a;case"script":if(a=u8(n.src),o=e.querySelector(u7(a)))return t.instance=o,e6(o),o;return r=n,(o=uQ.get(a))&&dr(r=_({},n),o),e6(o=(e=e.ownerDocument||e).createElement("script")),ua(o,"link",r),e.head.appendChild(o),t.instance=o;case"void":return null;default:throw Error(l(443,t.type))}return"stylesheet"===t.type&&0==(4&t.state.loading)&&(r=t.instance,t.state.loading|=4,dt(r,n.precedence,e)),t.instance}function dt(e,t,n){for(var r=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=r.length?r[r.length-1]:null,a=o,i=0;i<r.length;i++){var l=r[i];if(l.dataset.precedence===t)a=l;else if(a!==o)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=9===n.nodeType?n.head:n).insertBefore(e,t.firstChild)}function dn(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.title&&(e.title=t.title)}function dr(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.integrity&&(e.integrity=t.integrity)}var da=null;function di(e,t,n){if(null===da){var r=new Map,o=da=new Map;o.set(n,r)}else(r=(o=da).get(n))||(r=new Map,o.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),o=0;o<n.length;o++){var a=n[o];if(!(a[e0]||a[eW]||"link"===e&&"stylesheet"===a.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==a.namespaceURI){var i=a.getAttribute(t)||"";i=e+i;var l=r.get(i);l?l.push(a):r.set(i,[a])}}return r}function dl(e,t,n){(e=e.ownerDocument||e).head.insertBefore(n,"title"===t?e.querySelector("head > title"):null)}function ds(e,t){return"img"===e&&null!=t.src&&""!==t.src&&null==t.onLoad&&"lazy"!==t.loading}function dc(e){return"stylesheet"!==e.type||0!=(3&e.state.loading)}function du(e){return(e.width||100)*(e.height||100)*("number"==typeof devicePixelRatio?devicePixelRatio:1)*.25}function dd(e,t){"function"==typeof t.decode&&(e.imgCount++,t.complete||(e.imgBytes+=du(t),e.suspenseyImages.push(t)),e=dm.bind(e),t.decode().then(e,e))}var df=0;function dp(e){if(0===e.count&&(0===e.imgCount||!e.waitingForImages)){if(e.stylesheets)dy(e,e.stylesheets);else if(e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}}function dh(){this.count--,dp(this)}function dm(){this.imgCount--,dp(this)}var dg=null;function dy(e,t){e.stylesheets=null,null!==e.unsuspend&&(e.count++,dg=new Map,t.forEach(dv,e),dg=null,dh.call(e))}function dv(e,t){if(!(4&t.state.loading)){var n=dg.get(e);if(n)var r=n.get(null);else{n=new Map,dg.set(e,n);for(var o=e.querySelectorAll("link[data-precedence],style[data-precedence]"),a=0;a<o.length;a++){var i=o[a];("LINK"===i.nodeName||"not all"!==i.getAttribute("media"))&&(n.set(i.dataset.precedence,i),r=i)}r&&n.set(null,r)}i=(o=t.instance).getAttribute("data-precedence"),(a=n.get(i)||r)===r&&n.set(null,o),n.set(i,o),this.count++,r=dh.bind(this),o.addEventListener("load",r),o.addEventListener("error",r),a?a.parentNode.insertBefore(o,a.nextSibling):(e=9===e.nodeType?e.head:e).insertBefore(o,e.firstChild),t.state.loading|=4}}var db={$$typeof:T,Provider:null,Consumer:null,_currentValue:q,_currentValue2:q,_threadCount:0};function dx(e,t,n,r,o,a,i,l,s){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=eD(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=eD(0),this.hiddenUpdates=eD(null),this.identifierPrefix=r,this.onUncaughtError=o,this.onCaughtError=a,this.onRecoverableError=i,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=s,this.transitionTypes=null,this.incompleteTransitions=new Map}function dw(e,t,n,r,o,a){o=o?rg:rg,null===r.context?r.context=o:r.pendingContext=o,(r=oB(t)).payload={element:n},null!==(a=void 0===a?null:a)&&(r.callback=a),null!==(n=o$(e,r,t))&&(s8(n,e,t),oq(n,e,t))}function d_(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function dj(e,t){d_(e,t),(e=e.alternate)&&d_(e,t)}function dk(e){if(13===e.tag||31===e.tag){var t=rp(e,0x4000000);null!==t&&s8(t,e,0x4000000),dj(e,0x4000000)}}function dS(e){if(13===e.tag||31===e.tag){var t=s5(),n=rp(e,t=eH(t));null!==n&&s8(n,e,t),dj(e,t)}}var dO=!0;function dC(e,t,n,r){var o=B.T;B.T=null;var a=$.p;try{$.p=2,dE(e,t,n,r)}finally{$.p=a,B.T=o}}function dP(e,t,n,r){var o=B.T;B.T=null;var a=$.p;try{$.p=8,dE(e,t,n,r)}finally{$.p=a,B.T=o}}function dE(e,t,n,r){if(dO){var o=dT(r);if(null===o)c4(e,t,r,dN,n),dH(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return dz=dV(dz,e,t,n,r,o),!0;case"dragenter":return dR=dV(dR,e,t,n,r,o),!0;case"mouseover":return dD=dV(dD,e,t,n,r,o),!0;case"pointerover":var a=o.pointerId;return dM.set(a,dV(dM.get(a)||null,e,t,n,r,o)),!0;case"gotpointercapture":return a=o.pointerId,dZ.set(a,dV(dZ.get(a)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(dH(e,r),4&t&&-1<dF.indexOf(e)){for(;null!==o;){var a=e3(o);if(null!==a)switch(a.tag){case 3:if((a=a.stateNode).current.memoizedState.isDehydrated){var i=eL(a.pendingLanes);if(0!==i){var l=a;for(l.pendingLanes|=2,l.entangledLanes|=2;i;){var s=1<<31-eC(i);l.entanglements[1]|=s,i&=~s}cM(a),0==(6&sj)&&(sB=em()+500,cZ(0,!1))}}break;case 31:case 13:null!==(l=rp(a,2))&&s8(l,a,2),cn(),dj(a,2)}if(null===(a=dT(r))&&c4(e,t,r,dN,n),a===o)break;o=a}null!==o&&r.stopPropagation()}else c4(e,t,r,null,n)}}function dT(e){return dI(e=tI(e))}var dN=null;function dI(e){if(dN=null,null!==(e=e2(e))){var t=s(e);if(null===t)e=null;else{var n=t.tag;if(13===n){if(null!==(e=c(t)))return e;e=null}else if(31===n){if(null!==(e=u(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return dN=e,null}function dL(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"resize":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(eg()){case ey:return 2;case ev:return 8;case eb:case ex:return 32;case ew:return 0x10000000;default:return 32}default:return 32}}var dA=!1,dz=null,dR=null,dD=null,dM=new Map,dZ=new Map,dU=[],dF="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function dH(e,t){switch(e){case"focusin":case"focusout":dz=null;break;case"dragenter":case"dragleave":dR=null;break;case"mouseover":case"mouseout":dD=null;break;case"pointerover":case"pointerout":dM.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":dZ.delete(t.pointerId)}}function dV(e,t,n,r,o,a){return null===e||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[o]},null!==t&&null!==(t=e3(t))&&dk(t)):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o)),e}function dB(e){var t=e2(e.target);if(null!==t){var n=s(t);if(null!==n){if(13===(t=n.tag)){if(null!==(t=c(n))){e.blockedOn=t,e$(e.priority,function(){dS(n)});return}}else if(31===t){if(null!==(t=u(n))){e.blockedOn=t,e$(e.priority,function(){dS(n)});return}}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=3===n.tag?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function d$(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=dT(e.nativeEvent);if(null!==n)return null!==(t=e3(n))&&dk(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);tN=r,n.target.dispatchEvent(r),tN=null,t.shift()}return!0}function dq(e,t,n){d$(e)&&n.delete(t)}function dW(){dA=!1,null!==dz&&d$(dz)&&(dz=null),null!==dR&&d$(dR)&&(dR=null),null!==dD&&d$(dD)&&(dD=null),dM.forEach(dq),dZ.forEach(dq)}function dK(e,t){e.blockedOn===t&&(e.blockedOn=null,dA||(dA=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,dW)))}var dY=null;function dX(e){dY!==e&&(dY=e,o.unstable_scheduleCallback(o.unstable_NormalPriority,function(){dY===e&&(dY=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],o=e[t+2];if("function"!=typeof r)if(null===dI(r||n))continue;else break;var a=e3(n);null!==a&&(e.splice(t,3),t-=3,iu(a,{pending:!0,data:o,method:n.method,action:r},r,o))}}))}function dG(e){function t(t){return dK(t,e)}null!==dz&&dK(dz,e),null!==dR&&dK(dR,e),null!==dD&&dK(dD,e),dM.forEach(t),dZ.forEach(t);for(var n=0;n<dU.length;n++){var r=dU[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<dU.length&&null===(n=dU[0]).blockedOn;)dB(n),null===n.blockedOn&&dU.shift();if(null!=(n=(e.ownerDocument||e).$$reactFormReplay))for(r=0;r<n.length;r+=3){var o=n[r],a=n[r+1],i=o[eK]||null;if("function"==typeof a)i||dX(n);else if(i){var l=null;if(a&&a.hasAttribute("formAction")){if(o=a,i=a[eK]||null)l=i.formAction;else if(null!==dI(o))continue}else l=i.action;"function"==typeof l?n[r+1]=l:(n.splice(r,3),r-=3),dX(n)}}}function dQ(){function e(e){e.canIntercept&&"react-transition"===e.info&&e.intercept({handler:function(){return new Promise(function(e){return o=e})},focusReset:"manual",scroll:"manual"})}function t(){null!==o&&(o(),o=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&null!=e.url&&navigation.navigate(e.url,{state:e.getState(),info:"react-transition",history:"replace"})}}if("object"==typeof navigation){var r=!1,o=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),null!==o&&(o(),o=null)}}}function dJ(e){this._internalRoot=e}function d0(e){this._internalRoot=e}d0.prototype.render=dJ.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(l(409));dw(t.current,s5(),e,t,null,null)},d0.prototype.unmount=dJ.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;dw(e.current,2,null,e,null,null),cn(),t[eY]=null}},d0.prototype.unstable_scheduleHydration=function(e){if(e){var t=eB();e={blockedOn:null,target:e,priority:t};for(var n=0;n<dU.length&&0!==t&&t<dU[n].priority;n++);dU.splice(n,0,e),0===n&&dB(e)}};var d1=a.version;if("19.3.0-canary-f93b9fd4-20251217"!==d1)throw Error(l(527,d1,"19.3.0-canary-f93b9fd4-20251217"));if($.findDOMNode=function(e){var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(l(188));throw Error(l(268,e=Object.keys(e).join(",")))}return null===(e=null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=s(e)))throw Error(l(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return d(o),e;if(a===r)return d(o),t;a=a.sibling}throw Error(l(188))}if(n.return!==r.return)n=o,r=a;else{for(var i=!1,c=o.child;c;){if(c===n){i=!0,n=o,r=a;break}if(c===r){i=!0,r=o,n=a;break}c=c.sibling}if(!i){for(c=a.child;c;){if(c===n){i=!0,n=a,r=o;break}if(c===r){i=!0,r=a,n=o;break}c=c.sibling}if(!i)throw Error(l(189))}}if(n.alternate!==r)throw Error(l(190))}if(3!==n.tag)throw Error(l(188));return n.stateNode.current===n?e:t}(t))?function e(t){var n=t.tag;if(5===n||26===n||27===n||6===n)return t;for(t=t.child;null!==t;){if(null!==(n=e(t)))return n;t=t.sibling}return null}(e):null)?null:e.stateNode},"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var d2=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!d2.isDisabled&&d2.supportsFiber)try{ek=d2.inject({bundleType:0,version:"19.3.0-canary-f93b9fd4-20251217",rendererPackageName:"react-dom",currentDispatcherRef:B,reconcilerVersion:"19.3.0-canary-f93b9fd4-20251217"}),eS=d2}catch(e){}}t.createRoot=function(e,t){if(!(n=e)||1!==n.nodeType&&9!==n.nodeType&&11!==n.nodeType)throw Error(l(299));var n,r,o,a,i,s,c,u,d=!1,f="",p=iA,h=iz,m=iR;return null!=t&&(!0===t.unstable_strictMode&&(d=!0),void 0!==t.identifierPrefix&&(f=t.identifierPrefix),void 0!==t.onUncaughtError&&(p=t.onUncaughtError),void 0!==t.onCaughtError&&(h=t.onCaughtError),void 0!==t.onRecoverableError&&(m=t.onRecoverableError)),r=e,o=1,a=!1,i=null,s=0,c=d,u=null,r=new dx(r,o,a,f,p,h,m,dQ,null),o=1,!0===c&&(o|=24),c=rv(3,null,null,o),r.current=c,c.stateNode=r,o=oc(),o.refCount++,r.pooledCache=o,o.refCount++,c.memoizedState={element:null,isDehydrated:a,cache:o},oH(c),t=r,e[eY]=t.current,c2(e),new dJ(t)}},"./dist/compiled/react-dom/cjs/react-dom.production.js"(e,t,n){"use strict";var r=n("./dist/compiled/react/index.js");function o(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(){}var i={d:{f:a,r:function(){throw Error(o(522))},D:a,C:a,L:a,m:a,X:a,S:a,M:a},p:0,findDOMNode:null},l=Symbol.for("react.portal"),s=Symbol.for("react.optimistic_key"),c=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function u(e,t){return"font"===e?"":"string"==typeof t?"use-credentials"===t?t:"":void 0}t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType)throw Error(o(299));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:l,key:null==r?null:r===s?s:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.flushSync=function(e){var t=c.T,n=i.p;try{if(c.T=null,i.p=2,e)return e()}finally{c.T=t,i.p=n,i.d.f()}},t.preconnect=function(e,t){"string"==typeof e&&(t=t?"string"==typeof(t=t.crossOrigin)?"use-credentials"===t?t:"":void 0:null,i.d.C(e,t))},t.prefetchDNS=function(e){"string"==typeof e&&i.d.D(e)},t.preinit=function(e,t){if("string"==typeof e&&t&&"string"==typeof t.as){var n=t.as,r=u(n,t.crossOrigin),o="string"==typeof t.integrity?t.integrity:void 0,a="string"==typeof t.fetchPriority?t.fetchPriority:void 0;"style"===n?i.d.S(e,"string"==typeof t.precedence?t.precedence:void 0,{crossOrigin:r,integrity:o,fetchPriority:a}):"script"===n&&i.d.X(e,{crossOrigin:r,integrity:o,fetchPriority:a,nonce:"string"==typeof t.nonce?t.nonce:void 0})}},t.preinitModule=function(e,t){if("string"==typeof e)if("object"==typeof t&&null!==t){if(null==t.as||"script"===t.as){var n=u(t.as,t.crossOrigin);i.d.M(e,{crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0})}}else null==t&&i.d.M(e)},t.preload=function(e,t){if("string"==typeof e&&"object"==typeof t&&null!==t&&"string"==typeof t.as){var n=t.as,r=u(n,t.crossOrigin);i.d.L(e,n,{crossOrigin:r,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0,type:"string"==typeof t.type?t.type:void 0,fetchPriority:"string"==typeof t.fetchPriority?t.fetchPriority:void 0,referrerPolicy:"string"==typeof t.referrerPolicy?t.referrerPolicy:void 0,imageSrcSet:"string"==typeof t.imageSrcSet?t.imageSrcSet:void 0,imageSizes:"string"==typeof t.imageSizes?t.imageSizes:void 0,media:"string"==typeof t.media?t.media:void 0})}},t.preloadModule=function(e,t){if("string"==typeof e)if(t){var n=u(t.as,t.crossOrigin);i.d.m(e,{as:"string"==typeof t.as&&"script"!==t.as?t.as:void 0,crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0})}else i.d.m(e)},t.requestFormReset=function(e){i.d.r(e)},t.unstable_batchedUpdates=function(e,t){return e(t)},t.useFormState=function(e,t,n){return c.H.useFormState(e,t,n)},t.useFormStatus=function(){return c.H.useHostTransitionStatus()},t.version="19.3.0-canary-f93b9fd4-20251217"},"./dist/compiled/react-dom/client.js"(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n("./dist/compiled/react-dom/cjs/react-dom-client.production.js")},"./dist/compiled/react-dom/index.js"(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n("./dist/compiled/react-dom/cjs/react-dom.production.js")},"./dist/compiled/react/cjs/react-compiler-runtime.production.js"(e,t,n){"use strict";var r=n("./dist/compiled/react/index.js").__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;t.c=function(e){return r.H.useMemoCache(e)}},"./dist/compiled/react/cjs/react-jsx-runtime.production.js"(e,t){"use strict";var n=Symbol.for("react.transitional.element");function r(e,t,r){var o=null;if(void 0!==r&&(o=""+r),void 0!==t.key&&(o=""+t.key),"key"in t)for(var a in r={},t)"key"!==a&&(r[a]=t[a]);else r=t;return{$$typeof:n,type:e,key:o,ref:void 0!==(t=r.ref)?t:null,props:r}}t.Fragment=Symbol.for("react.fragment"),t.jsx=r,t.jsxs=r},"./dist/compiled/react/cjs/react.production.js"(e,t){"use strict";var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),l=Symbol.for("react.consumer"),s=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.for("react.activity"),h=Symbol.for("react.view_transition"),m=Symbol.iterator,g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y=Object.assign,v={};function b(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||g}function x(){}function w(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||g}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},x.prototype=b.prototype;var _=w.prototype=new x;_.constructor=w,y(_,b.prototype),_.isPureReactComponent=!0;var j=Array.isArray;function k(){}var S={H:null,A:null,T:null,S:null},O=Object.prototype.hasOwnProperty;function C(e,t,r){var o=r.ref;return{$$typeof:n,type:e,key:t,ref:void 0!==o?o:null,props:r}}function P(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var E=/\/+/g;function T(e,t){var n,r;return"object"==typeof e&&null!==e&&null!=e.key?(n=""+e.key,r={"=":"=0",":":"=2"},"$"+n.replace(/[=:]/g,function(e){return r[e]})):t.toString(36)}function N(e,t,o){if(null==e)return e;var a=[],i=0;return!function e(t,o,a,i,l){var s,c,u,d=typeof t;("undefined"===d||"boolean"===d)&&(t=null);var p=!1;if(null===t)p=!0;else switch(d){case"bigint":case"string":case"number":p=!0;break;case"object":switch(t.$$typeof){case n:case r:p=!0;break;case f:return e((p=t._init)(t._payload),o,a,i,l)}}if(p)return l=l(t),p=""===i?"."+T(t,0):i,j(l)?(a="",null!=p&&(a=p.replace(E,"$&/")+"/"),e(l,o,a,"",function(e){return e})):null!=l&&(P(l)&&(s=l,c=a+(null==l.key||t&&t.key===l.key?"":(""+l.key).replace(E,"$&/")+"/")+p,l=C(s.type,c,s.props)),o.push(l)),1;p=0;var h=""===i?".":i+":";if(j(t))for(var g=0;g<t.length;g++)d=h+T(i=t[g],g),p+=e(i,o,a,d,l);else if("function"==typeof(g=null===(u=t)||"object"!=typeof u?null:"function"==typeof(u=m&&u[m]||u["@@iterator"])?u:null))for(t=g.call(t),g=0;!(i=t.next()).done;)d=h+T(i=i.value,g++),p+=e(i,o,a,d,l);else if("object"===d){if("function"==typeof t.then)return e(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(k,k):(e.status="pending",e.then(function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)},function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(t),o,a,i,l);throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(o=String(t))?"object with keys {"+Object.keys(t).join(", ")+"}":o)+"). If you meant to render a collection of children, use an array instead.")}return p}(e,a,"","",function(e){return t.call(o,e,i++)}),a}function I(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){(0===e._status||-1===e._status)&&(e._status=1,e._result=t)},function(t){(0===e._status||-1===e._status)&&(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var L="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)};function A(e){var t=S.T,n={};n.types=null!==t?t.types:null,S.T=n;try{var r=e(),o=S.S;null!==o&&o(n,r),"object"==typeof r&&null!==r&&"function"==typeof r.then&&r.then(k,L)}catch(e){L(e)}finally{null!==t&&null!==n.types&&(t.types=n.types),S.T=t}}function z(e){var t=S.T;if(null!==t){var n=t.types;null===n?t.types=[e]:-1===n.indexOf(e)&&n.push(e)}else A(z.bind(null,e))}t.Activity=p,t.Children={map:N,forEach:function(e,t,n){N(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return N(e,function(){t++}),t},toArray:function(e){return N(e,function(e){return e})||[]},only:function(e){if(!P(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=b,t.Fragment=o,t.Profiler=i,t.PureComponent=w,t.StrictMode=a,t.Suspense=u,t.ViewTransition=h,t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=S,t.__COMPILER_RUNTIME={__proto__:null,c:function(e){return S.H.useMemoCache(e)}},t.addTransitionType=z,t.cache=function(e){return function(){return e.apply(null,arguments)}},t.cacheSignal=function(){return null},t.cloneElement=function(e,t,n){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var r=y({},e.props),o=e.key;if(null!=t)for(a in void 0!==t.key&&(o=""+t.key),t)O.call(t,a)&&"key"!==a&&"__self"!==a&&"__source"!==a&&("ref"!==a||void 0!==t.ref)&&(r[a]=t[a]);var a=arguments.length-2;if(1===a)r.children=n;else if(1<a){for(var i=Array(a),l=0;l<a;l++)i[l]=arguments[l+2];r.children=i}return C(e.type,o,r)},t.createContext=function(e){return(e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:l,_context:e},e},t.createElement=function(e,t,n){var r,o={},a=null;if(null!=t)for(r in void 0!==t.key&&(a=""+t.key),t)O.call(t,r)&&"key"!==r&&"__self"!==r&&"__source"!==r&&(o[r]=t[r]);var i=arguments.length-2;if(1===i)o.children=n;else if(1<i){for(var l=Array(i),s=0;s<i;s++)l[s]=arguments[s+2];o.children=l}if(e&&e.defaultProps)for(r in i=e.defaultProps)void 0===o[r]&&(o[r]=i[r]);return C(e,a,o)},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=P,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:I}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=A,t.unstable_useCacheRefresh=function(){return S.H.useCacheRefresh()},t.use=function(e){return S.H.use(e)},t.useActionState=function(e,t,n){return S.H.useActionState(e,t,n)},t.useCallback=function(e,t){return S.H.useCallback(e,t)},t.useContext=function(e){return S.H.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e,t){return S.H.useDeferredValue(e,t)},t.useEffect=function(e,t){return S.H.useEffect(e,t)},t.useEffectEvent=function(e){return S.H.useEffectEvent(e)},t.useId=function(){return S.H.useId()},t.useImperativeHandle=function(e,t,n){return S.H.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return S.H.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return S.H.useLayoutEffect(e,t)},t.useMemo=function(e,t){return S.H.useMemo(e,t)},t.useOptimistic=function(e,t){return S.H.useOptimistic(e,t)},t.useReducer=function(e,t,n){return S.H.useReducer(e,t,n)},t.useRef=function(e){return S.H.useRef(e)},t.useState=function(e){return S.H.useState(e)},t.useSyncExternalStore=function(e,t,n){return S.H.useSyncExternalStore(e,t,n)},t.useTransition=function(){return S.H.useTransition()},t.version="19.3.0-canary-f93b9fd4-20251217"},"./dist/compiled/react/compiler-runtime.js"(e,t,n){"use strict";e.exports=n("./dist/compiled/react/cjs/react-compiler-runtime.production.js")},"./dist/compiled/react/index.js"(e,t,n){"use strict";e.exports=n("./dist/compiled/react/cjs/react.production.js")},"./dist/compiled/react/jsx-runtime.js"(e,t,n){"use strict";e.exports=n("./dist/compiled/react/cjs/react-jsx-runtime.production.js")},"./dist/compiled/scheduler/cjs/scheduler.production.js"(e,t){"use strict";function n(e,t){var n=e.length;for(e.push(t);0<n;){var r=n-1>>>1,o=e[r];if(0<a(o,t))e[r]=t,e[n]=o,n=r;else break}}function r(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;for(var r=0,o=e.length,i=o>>>1;r<i;){var l=2*(r+1)-1,s=e[l],c=l+1,u=e[c];if(0>a(s,n))c<o&&0>a(u,s)?(e[r]=u,e[c]=n,r=c):(e[r]=s,e[l]=n,r=l);else if(c<o&&0>a(u,n))e[r]=u,e[c]=n,r=c;else break}}return t}function a(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if(t.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var i,l=performance;t.unstable_now=function(){return l.now()}}else{var s=Date,c=s.now();t.unstable_now=function(){return s.now()-c}}var u=[],d=[],f=1,p=null,h=3,m=!1,g=!1,y=!1,v=!1,b="function"==typeof setTimeout?setTimeout:null,x="function"==typeof clearTimeout?clearTimeout:null,w="undefined"!=typeof setImmediate?setImmediate:null;function _(e){for(var t=r(d);null!==t;){if(null===t.callback)o(d);else if(t.startTime<=e)o(d),t.sortIndex=t.expirationTime,n(u,t);else break;t=r(d)}}function j(e){if(y=!1,_(e),!g)if(null!==r(u))g=!0,k||(k=!0,i());else{var t=r(d);null!==t&&I(j,t.startTime-e)}}var k=!1,S=-1,O=5,C=-1;function P(){return!!v||!(t.unstable_now()-C<O)}function E(){if(v=!1,k){var e=t.unstable_now();C=e;var n=!0;try{e:{g=!1,y&&(y=!1,x(S),S=-1),m=!0;var a=h;try{t:{for(_(e),p=r(u);null!==p&&!(p.expirationTime>e&&P());){var l=p.callback;if("function"==typeof l){p.callback=null,h=p.priorityLevel;var s=l(p.expirationTime<=e);if(e=t.unstable_now(),"function"==typeof s){p.callback=s,_(e),n=!0;break t}p===r(u)&&o(u),_(e)}else o(u);p=r(u)}if(null!==p)n=!0;else{var c=r(d);null!==c&&I(j,c.startTime-e),n=!1}}break e}finally{p=null,h=a,m=!1}}}finally{n?i():k=!1}}}if("function"==typeof w)i=function(){w(E)};else if("undefined"!=typeof MessageChannel){var T=new MessageChannel,N=T.port2;T.port1.onmessage=E,i=function(){N.postMessage(null)}}else i=function(){b(E,0)};function I(e,n){S=b(function(){e(t.unstable_now())},n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):O=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return h},t.unstable_next=function(e){switch(h){case 1:case 2:case 3:var t=3;break;default:t=h}var n=h;h=t;try{return e()}finally{h=n}},t.unstable_requestPaint=function(){v=!0},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=h;h=e;try{return t()}finally{h=n}},t.unstable_scheduleCallback=function(e,o,a){var l=t.unstable_now();switch(a="object"==typeof a&&null!==a&&"number"==typeof(a=a.delay)&&0<a?l+a:l,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=0x3fffffff;break;case 4:s=1e4;break;default:s=5e3}return s=a+s,e={id:f++,callback:o,priorityLevel:e,startTime:a,expirationTime:s,sortIndex:-1},a>l?(e.sortIndex=a,n(d,e),null===r(u)&&e===r(d)&&(y?(x(S),S=-1):y=!0,I(j,a-l))):(e.sortIndex=s,n(u,e),g||m||(g=!0,k||(k=!0,i()))),e},t.unstable_shouldYield=P,t.unstable_wrapCallback=function(e){var t=h;return function(){var n=h;h=t;try{return e.apply(this,arguments)}finally{h=n}}}},"./dist/compiled/scheduler/index.js"(e,t,n){"use strict";e.exports=n("./dist/compiled/scheduler/cjs/scheduler.production.js")},"./dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js"(e){(()=>{"use strict";"undefined"!=typeof __nccwpck_require__&&(__nccwpck_require__.ab="//");var t,n,r,o,a,i,l,s,c={};Object.defineProperty(c,"__esModule",{value:!0}),t="<unknown>",n=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|webpack-internal|rsc|about|turbopack|<anonymous>|\/|[a-z]:\\|\\\\).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,r=/\((\S*)(?::(\d+))(?::(\d+))\)/,o=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|webpack-internal|rsc|about|turbopack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,a=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|webpack-internal|rsc|about|turbopack|resource|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,i=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,l=/^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?):(\d+)(?::(\d+))?\s*$/i,s=/^\s*at (?:((?:\[object object\])?[^\\/]+(?: \[as \S+\])?) )?\(?(.*?):(\d+)(?::(\d+))?\)?\s*$/i,c.parse=function(e){return e.split("\n").reduce(function(e,c){var u,d,f,p,h,m,g=function(e){var o=n.exec(e);if(!o)return null;var a=o[2]&&0===o[2].indexOf("native"),i=o[2]&&0===o[2].indexOf("eval"),l=r.exec(o[2]);return i&&null!=l&&(o[2]=l[1],o[3]=l[2],o[4]=l[3]),{file:a?null:o[2],methodName:o[1]||t,arguments:a?[o[2]]:[],lineNumber:o[3]?+o[3]:null,column:o[4]?+o[4]:null}}(c)||(u=c,(d=o.exec(u))?{file:d[2],methodName:d[1]||t,arguments:[],lineNumber:+d[3],column:d[4]?+d[4]:null}:null)||function(e){var n=a.exec(e);if(!n)return null;var r=n[3]&&n[3].indexOf(" > eval")>-1,o=i.exec(n[3]);return r&&null!=o&&(n[3]=o[1],n[4]=o[2],n[5]=null),{file:n[3],methodName:n[1]||t,arguments:n[2]?n[2].split(","):[],lineNumber:n[4]?+n[4]:null,column:n[5]?+n[5]:null}}(c)||(f=c,(p=s.exec(f))?{file:p[2],methodName:p[1]||t,arguments:[],lineNumber:+p[3],column:p[4]?+p[4]:null}:null)||(h=c,(m=l.exec(h))?{file:m[3],methodName:m[1]||t,arguments:[],lineNumber:+m[4],column:m[5]?+m[5]:null}:null);return g&&e.push(g),e},[])},e.exports=c})()},"./dist/compiled/strip-ansi/index.js"(e){(()=>{"use strict";var t={511:e=>{e.exports=({onlyFirst:e=!1}={})=>RegExp("[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)|(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))",e?void 0:"g")},532:(e,t,n)=>{let r=n(511);e.exports=e=>"string"==typeof e?e.replace(r(),""):e}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var a=n[e]={exports:{}},i=!0;try{t[e](a,a.exports,r),i=!1}finally{i&&delete n[e]}return a.exports}r.ab="//",e.exports=r(532)})()},"./src/build/webpack/loaders/devtool/devtool-style-inject.js"(e){function t(){let e=window._nextjsDevtoolsStyleCache;if(e.cachedShadowRoot)return e.cachedShadowRoot;let t=document.querySelector("nextjs-portal"),n=t?.shadowRoot||null;return n&&(e.cachedShadowRoot=n),n}function n(e,t){let n=window._nextjsDevtoolsStyleCache;n.lastInsertedElement?n.lastInsertedElement.nextSibling?t.insertBefore(e,n.lastInsertedElement.nextSibling):t.appendChild(e):t.insertBefore(e,t.firstChild),n.lastInsertedElement=e}function r(){let e=window._nextjsDevtoolsStyleCache,r=t();r&&(e.pendingElements.forEach(e=>{n(e,r)}),e.pendingElements=[])}"undefined"!=typeof window&&(window._nextjsDevtoolsStyleCache=window._nextjsDevtoolsStyleCache||{pendingElements:[],isObserving:!1,lastInsertedElement:null,cachedShadowRoot:null}),e.exports=function(e){e.setAttribute("data-nextjs-dev-tool-style","true");let o=t();o?n(e,o):(window._nextjsDevtoolsStyleCache.pendingElements.push(e),function(){let e=window._nextjsDevtoolsStyleCache;if(e.isObserving)return;if(e.isObserving=!0,t())return r();let n=new MutationObserver(o=>{if(0!==o.length){for(let a of o)if(0!==a.addedNodes.length)for(let o of a.addedNodes){if(o.nodeType!==Node.ELEMENT_NODE)continue;let a=null;if("SCRIPT"===o.tagName&&o.getAttribute("data-nextjs-dev-overlay")?a=o.firstChild:"NEXTJS-PORTAL"===o.tagName&&(a=o),a){let o=()=>{t()?(r(),n.disconnect(),e.isObserving=!1):setTimeout(o,20)};o();return}}}});n.observe(document.body,{childList:!0,subtree:!0})}())}},"./dist/compiled/zod/index.cjs"(e){(()=>{"use strict";var t={629:function(e,t,n){var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.z=void 0;let l=a(n(923));t.z=l,i(n(923),t),t.default=l},348:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ZodError=t.quotelessJson=t.ZodIssueCode=void 0;let r=n(709);t.ZodIssueCode=r.util.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),t.quotelessJson=e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:");class o extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=e=>{this.issues=[...this.issues,e]},this.addIssues=(e=[])=>{this.issues=[...this.issues,...e]};const t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}format(e){let t=e||function(e){return e.message},n={_errors:[]},r=e=>{for(let o of e.issues)if("invalid_union"===o.code)o.unionErrors.map(r);else if("invalid_return_type"===o.code)r(o.returnTypeError);else if("invalid_arguments"===o.code)r(o.argumentsError);else if(0===o.path.length)n._errors.push(t(o));else{let e=n,r=0;for(;r<o.path.length;){let n=o.path[r];r===o.path.length-1?(e[n]=e[n]||{_errors:[]},e[n]._errors.push(t(o))):e[n]=e[n]||{_errors:[]},e=e[n],r++}}};return r(this),n}static assert(e){if(!(e instanceof o))throw Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,r.util.jsonStringifyReplacer,2)}get isEmpty(){return 0===this.issues.length}flatten(e=e=>e.message){let t={},n=[];for(let r of this.issues)if(r.path.length>0){let n=r.path[0];t[n]=t[n]||[],t[n].push(e(r))}else n.push(e(r));return{formErrors:n,fieldErrors:t}}get formErrors(){return this.flatten()}}t.ZodError=o,o.create=e=>new o(e)},61:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.defaultErrorMap=void 0,t.setErrorMap=function(e){a=e},t.getErrorMap=function(){return a};let o=r(n(871));t.defaultErrorMap=o.default;let a=o.default},923:function(e,t,n){var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(61),t),o(n(818),t),o(n(515),t),o(n(709),t),o(n(155),t),o(n(348),t)},538:(e,t)=>{var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.errorUtil=void 0,(r=n||(t.errorUtil=n={})).errToObj=e=>"string"==typeof e?{message:e}:e||{},r.toString=e=>"string"==typeof e?e:e?.message},818:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.isAsync=t.isValid=t.isDirty=t.isAborted=t.OK=t.DIRTY=t.INVALID=t.ParseStatus=t.EMPTY_PATH=t.makeIssue=void 0,t.addIssueToContext=function(e,n){let r=(0,o.getErrorMap)(),i=(0,t.makeIssue)({issueData:n,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,r,r===a.default?void 0:a.default].filter(e=>!!e)});e.common.issues.push(i)};let o=n(61),a=r(n(871));t.makeIssue=e=>{let{data:t,path:n,errorMaps:r,issueData:o}=e,a=[...n,...o.path||[]],i={...o,path:a};if(void 0!==o.message)return{...o,path:a,message:o.message};let l="";for(let e of r.filter(e=>!!e).slice().reverse())l=e(i,{data:t,defaultError:l}).message;return{...o,path:a,message:l}},t.EMPTY_PATH=[];class i{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(this.value="dirty")}abort(){"aborted"!==this.value&&(this.value="aborted")}static mergeArray(e,n){let r=[];for(let o of n){if("aborted"===o.status)return t.INVALID;"dirty"===o.status&&e.dirty(),r.push(o.value)}return{status:e.value,value:r}}static async mergeObjectAsync(e,t){let n=[];for(let e of t){let t=await e.key,r=await e.value;n.push({key:t,value:r})}return i.mergeObjectSync(e,n)}static mergeObjectSync(e,n){let r={};for(let o of n){let{key:n,value:a}=o;if("aborted"===n.status||"aborted"===a.status)return t.INVALID;"dirty"===n.status&&e.dirty(),"dirty"===a.status&&e.dirty(),"__proto__"!==n.value&&(void 0!==a.value||o.alwaysSet)&&(r[n.value]=a.value)}return{status:e.value,value:r}}}t.ParseStatus=i,t.INVALID=Object.freeze({status:"aborted"}),t.DIRTY=e=>({status:"dirty",value:e}),t.OK=e=>({status:"valid",value:e}),t.isAborted=e=>"aborted"===e.status,t.isDirty=e=>"dirty"===e.status,t.isValid=e=>"valid"===e.status,t.isAsync=e=>"undefined"!=typeof Promise&&e instanceof Promise},515:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},709:(e,t)=>{var n,r,o;Object.defineProperty(t,"__esModule",{value:!0}),t.getParsedType=t.ZodParsedType=t.objectUtil=t.util=void 0,(o=n||(t.util=n={})).assertEqual=e=>{},o.assertIs=function(e){},o.assertNever=function(e){throw Error()},o.arrayToEnum=e=>{let t={};for(let n of e)t[n]=n;return t},o.getValidEnumValues=e=>{let t=o.objectKeys(e).filter(t=>"number"!=typeof e[e[t]]),n={};for(let r of t)n[r]=e[r];return o.objectValues(n)},o.objectValues=e=>o.objectKeys(e).map(function(t){return e[t]}),o.objectKeys="function"==typeof Object.keys?e=>Object.keys(e):e=>{let t=[];for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t},o.find=(e,t)=>{for(let n of e)if(t(n))return n},o.isInteger="function"==typeof Number.isInteger?e=>Number.isInteger(e):e=>"number"==typeof e&&Number.isFinite(e)&&Math.floor(e)===e,o.joinValues=function(e,t=" | "){return e.map(e=>"string"==typeof e?`'${e}'`:e).join(t)},o.jsonStringifyReplacer=(e,t)=>"bigint"==typeof t?t.toString():t,(r||(t.objectUtil=r={})).mergeShapes=(e,t)=>({...e,...t}),t.ZodParsedType=n.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),t.getParsedType=e=>{switch(typeof e){case"undefined":return t.ZodParsedType.undefined;case"string":return t.ZodParsedType.string;case"number":return Number.isNaN(e)?t.ZodParsedType.nan:t.ZodParsedType.number;case"boolean":return t.ZodParsedType.boolean;case"function":return t.ZodParsedType.function;case"bigint":return t.ZodParsedType.bigint;case"symbol":return t.ZodParsedType.symbol;case"object":if(Array.isArray(e))return t.ZodParsedType.array;if(null===e)return t.ZodParsedType.null;if(e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch)return t.ZodParsedType.promise;if("undefined"!=typeof Map&&e instanceof Map)return t.ZodParsedType.map;if("undefined"!=typeof Set&&e instanceof Set)return t.ZodParsedType.set;if("undefined"!=typeof Date&&e instanceof Date)return t.ZodParsedType.date;return t.ZodParsedType.object;default:return t.ZodParsedType.unknown}}},871:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});let r=n(348),o=n(709);t.default=(e,t)=>{let n;switch(e.code){case r.ZodIssueCode.invalid_type:n=e.received===o.ZodParsedType.undefined?"Required":`Expected ${e.expected}, received ${e.received}`;break;case r.ZodIssueCode.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,o.util.jsonStringifyReplacer)}`;break;case r.ZodIssueCode.unrecognized_keys:n=`Unrecognized key(s) in object: ${o.util.joinValues(e.keys,", ")}`;break;case r.ZodIssueCode.invalid_union:n="Invalid input";break;case r.ZodIssueCode.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${o.util.joinValues(e.options)}`;break;case r.ZodIssueCode.invalid_enum_value:n=`Invalid enum value. Expected ${o.util.joinValues(e.options)}, received '${e.received}'`;break;case r.ZodIssueCode.invalid_arguments:n="Invalid function arguments";break;case r.ZodIssueCode.invalid_return_type:n="Invalid function return type";break;case r.ZodIssueCode.invalid_date:n="Invalid date";break;case r.ZodIssueCode.invalid_string:"object"==typeof e.validation?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,"number"==typeof e.validation.position&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:o.util.assertNever(e.validation):n="regex"!==e.validation?`Invalid ${e.validation}`:"Invalid";break;case r.ZodIssueCode.too_small:n="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:"number"===e.type||"bigint"===e.type?`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:"date"===e.type?`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:"Invalid input";break;case r.ZodIssueCode.too_big:n="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"bigint"===e.type?`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"date"===e.type?`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:"Invalid input";break;case r.ZodIssueCode.custom:n="Invalid input";break;case r.ZodIssueCode.invalid_intersection_types:n="Intersection results could not be merged";break;case r.ZodIssueCode.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case r.ZodIssueCode.not_finite:n="Number must be finite";break;default:n=t.defaultError,o.util.assertNever(e)}return{message:n}}},155:(e,t,n)=>{var r,o;let a;Object.defineProperty(t,"__esModule",{value:!0}),t.discriminatedUnion=t.date=t.boolean=t.bigint=t.array=t.any=t.coerce=t.ZodFirstPartyTypeKind=t.late=t.ZodSchema=t.Schema=t.ZodReadonly=t.ZodPipeline=t.ZodBranded=t.BRAND=t.ZodNaN=t.ZodCatch=t.ZodDefault=t.ZodNullable=t.ZodOptional=t.ZodTransformer=t.ZodEffects=t.ZodPromise=t.ZodNativeEnum=t.ZodEnum=t.ZodLiteral=t.ZodLazy=t.ZodFunction=t.ZodSet=t.ZodMap=t.ZodRecord=t.ZodTuple=t.ZodIntersection=t.ZodDiscriminatedUnion=t.ZodUnion=t.ZodObject=t.ZodArray=t.ZodVoid=t.ZodNever=t.ZodUnknown=t.ZodAny=t.ZodNull=t.ZodUndefined=t.ZodSymbol=t.ZodDate=t.ZodBoolean=t.ZodBigInt=t.ZodNumber=t.ZodString=t.ZodType=void 0,t.NEVER=t.void=t.unknown=t.union=t.undefined=t.tuple=t.transformer=t.symbol=t.string=t.strictObject=t.set=t.record=t.promise=t.preprocess=t.pipeline=t.ostring=t.optional=t.onumber=t.oboolean=t.object=t.number=t.nullable=t.null=t.never=t.nativeEnum=t.nan=t.map=t.literal=t.lazy=t.intersection=t.instanceof=t.function=t.enum=t.effect=void 0,t.datetimeRegex=I,t.custom=ev;let i=n(348),l=n(61),s=n(538),c=n(818),u=n(709);class d{constructor(e,t,n,r){this._cachedPath=[],this.parent=e,this.data=t,this._path=n,this._key=r}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}let f=(e,t)=>{if((0,c.isValid)(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let t=new i.ZodError(e.common.issues);return this._error=t,this._error}}};function p(e){if(!e)return{};let{errorMap:t,invalid_type_error:n,required_error:r,description:o}=e;if(t&&(n||r))throw Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');return t?{errorMap:t,description:o}:{errorMap:(t,o)=>{let{message:a}=e;return"invalid_enum_value"===t.code?{message:a??o.defaultError}:void 0===o.data?{message:a??r??o.defaultError}:"invalid_type"!==t.code?{message:o.defaultError}:{message:a??n??o.defaultError}},description:o}}class h{get description(){return this._def.description}_getType(e){return(0,u.getParsedType)(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:(0,u.getParsedType)(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new c.ParseStatus,ctx:{common:e.parent.common,data:e.data,parsedType:(0,u.getParsedType)(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let t=this._parse(e);if((0,c.isAsync)(t))throw Error("Synchronous parse encountered promise.");return t}_parseAsync(e){return Promise.resolve(this._parse(e))}parse(e,t){let n=this.safeParse(e,t);if(n.success)return n.data;throw n.error}safeParse(e,t){let n={common:{issues:[],async:t?.async??!1,contextualErrorMap:t?.errorMap},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:(0,u.getParsedType)(e)},r=this._parseSync({data:e,path:n.path,parent:n});return f(n,r)}"~validate"(e){let t={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:(0,u.getParsedType)(e)};if(!this["~standard"].async)try{let n=this._parseSync({data:e,path:[],parent:t});return(0,c.isValid)(n)?{value:n.value}:{issues:t.common.issues}}catch(e){e?.message?.toLowerCase()?.includes("encountered")&&(this["~standard"].async=!0),t.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:t}).then(e=>(0,c.isValid)(e)?{value:e.value}:{issues:t.common.issues})}async parseAsync(e,t){let n=await this.safeParseAsync(e,t);if(n.success)return n.data;throw n.error}async safeParseAsync(e,t){let n={common:{issues:[],contextualErrorMap:t?.errorMap,async:!0},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:(0,u.getParsedType)(e)},r=this._parse({data:e,path:n.path,parent:n});return f(n,await ((0,c.isAsync)(r)?r:Promise.resolve(r)))}refine(e,t){return this._refinement((n,r)=>{let o=e(n),a=()=>r.addIssue({code:i.ZodIssueCode.custom,..."string"==typeof t||void 0===t?{message:t}:"function"==typeof t?t(n):t});return"undefined"!=typeof Promise&&o instanceof Promise?o.then(e=>!!e||(a(),!1)):!!o||(a(),!1)})}refinement(e,t){return this._refinement((n,r)=>!!e(n)||(r.addIssue("function"==typeof t?t(n,r):t),!1))}_refinement(e){return new es({schema:this,typeName:r.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:e=>this["~validate"](e)}}optional(){return ec.create(this,this._def)}nullable(){return eu.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return $.create(this)}promise(){return el.create(this,this._def)}or(e){return W.create([this,e],this._def)}and(e){return X.create(this,e,this._def)}transform(e){return new es({...p(this._def),schema:this,typeName:r.ZodEffects,effect:{type:"transform",transform:e}})}default(e){return new ed({...p(this._def),innerType:this,defaultValue:"function"==typeof e?e:()=>e,typeName:r.ZodDefault})}brand(){return new eh({typeName:r.ZodBranded,type:this,...p(this._def)})}catch(e){return new ef({...p(this._def),innerType:this,catchValue:"function"==typeof e?e:()=>e,typeName:r.ZodCatch})}describe(e){return new this.constructor({...this._def,description:e})}pipe(e){return em.create(this,e)}readonly(){return eg.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}t.ZodType=h,t.Schema=h,t.ZodSchema=h;let m=/^c[^\s-]{8,}$/i,g=/^[0-9a-z]+$/,y=/^[0-9A-HJKMNP-TV-Z]{26}$/i,v=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,b=/^[a-z0-9_-]{21}$/i,x=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,w=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,_=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-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{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,C=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,P=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,E="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",T=RegExp(`^${E}$`);function N(e){let t="[0-5]\\d";e.precision?t=`${t}\\.\\d{${e.precision}}`:null==e.precision&&(t=`${t}(\\.\\d+)?`);let n=e.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${t})${n}`}function I(e){let t=`${E}T${N(e)}`,n=[];return n.push(e.local?"Z?":"Z"),e.offset&&n.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${n.join("|")})`,RegExp(`^${t}$`)}class L extends h{_parse(e){var t,n,r,o;let l;if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==u.ZodParsedType.string){let t=this._getOrReturnCtx(e);return(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.invalid_type,expected:u.ZodParsedType.string,received:t.parsedType}),c.INVALID}let s=new c.ParseStatus;for(let d of this._def.checks)if("min"===d.kind)e.data.length<d.value&&(l=this._getOrReturnCtx(e,l),(0,c.addIssueToContext)(l,{code:i.ZodIssueCode.too_small,minimum:d.value,type:"string",inclusive:!0,exact:!1,message:d.message}),s.dirty());else if("max"===d.kind)e.data.length>d.value&&(l=this._getOrReturnCtx(e,l),(0,c.addIssueToContext)(l,{code:i.ZodIssueCode.too_big,maximum:d.value,type:"string",inclusive:!0,exact:!1,message:d.message}),s.dirty());else if("length"===d.kind){let t=e.data.length>d.value,n=e.data.length<d.value;(t||n)&&(l=this._getOrReturnCtx(e,l),t?(0,c.addIssueToContext)(l,{code:i.ZodIssueCode.too_big,maximum:d.value,type:"string",inclusive:!0,exact:!0,message:d.message}):n&&(0,c.addIssueToContext)(l,{code:i.ZodIssueCode.too_small,minimum:d.value,type:"string",inclusive:!0,exact:!0,message:d.message}),s.dirty())}else if("email"===d.kind)_.test(e.data)||(l=this._getOrReturnCtx(e,l),(0,c.addIssueToContext)(l,{validation:"email",code:i.ZodIssueCode.invalid_string,message:d.message}),s.dirty());else if("emoji"===d.kind)a||(a=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),a.test(e.data)||(l=this._getOrReturnCtx(e,l),(0,c.addIssueToContext)(l,{validation:"emoji",code:i.ZodIssueCode.invalid_string,message:d.message}),s.dirty());else if("uuid"===d.kind)v.test(e.data)||(l=this._getOrReturnCtx(e,l),(0,c.addIssueToContext)(l,{validation:"uuid",code:i.ZodIssueCode.invalid_string,message:d.message}),s.dirty());else if("nanoid"===d.kind)b.test(e.data)||(l=this._getOrReturnCtx(e,l),(0,c.addIssueToContext)(l,{validation:"nanoid",code:i.ZodIssueCode.invalid_string,message:d.message}),s.dirty());else if("cuid"===d.kind)m.test(e.data)||(l=this._getOrReturnCtx(e,l),(0,c.addIssueToContext)(l,{validation:"cuid",code:i.ZodIssueCode.invalid_string,message:d.message}),s.dirty());else if("cuid2"===d.kind)g.test(e.data)||(l=this._getOrReturnCtx(e,l),(0,c.addIssueToContext)(l,{validation:"cuid2",code:i.ZodIssueCode.invalid_string,message:d.message}),s.dirty());else if("ulid"===d.kind)y.test(e.data)||(l=this._getOrReturnCtx(e,l),(0,c.addIssueToContext)(l,{validation:"ulid",code:i.ZodIssueCode.invalid_string,message:d.message}),s.dirty());else if("url"===d.kind)try{new URL(e.data)}catch{l=this._getOrReturnCtx(e,l),(0,c.addIssueToContext)(l,{validation:"url",code:i.ZodIssueCode.invalid_string,message:d.message}),s.dirty()}else"regex"===d.kind?(d.regex.lastIndex=0,d.regex.test(e.data)||(l=this._getOrReturnCtx(e,l),(0,c.addIssueToContext)(l,{validation:"regex",code:i.ZodIssueCode.invalid_string,message:d.message}),s.dirty())):"trim"===d.kind?e.data=e.data.trim():"includes"===d.kind?e.data.includes(d.value,d.position)||(l=this._getOrReturnCtx(e,l),(0,c.addIssueToContext)(l,{code:i.ZodIssueCode.invalid_string,validation:{includes:d.value,position:d.position},message:d.message}),s.dirty()):"toLowerCase"===d.kind?e.data=e.data.toLowerCase():"toUpperCase"===d.kind?e.data=e.data.toUpperCase():"startsWith"===d.kind?e.data.startsWith(d.value)||(l=this._getOrReturnCtx(e,l),(0,c.addIssueToContext)(l,{code:i.ZodIssueCode.invalid_string,validation:{startsWith:d.value},message:d.message}),s.dirty()):"endsWith"===d.kind?e.data.endsWith(d.value)||(l=this._getOrReturnCtx(e,l),(0,c.addIssueToContext)(l,{code:i.ZodIssueCode.invalid_string,validation:{endsWith:d.value},message:d.message}),s.dirty()):"datetime"===d.kind?I(d).test(e.data)||(l=this._getOrReturnCtx(e,l),(0,c.addIssueToContext)(l,{code:i.ZodIssueCode.invalid_string,validation:"datetime",message:d.message}),s.dirty()):"date"===d.kind?T.test(e.data)||(l=this._getOrReturnCtx(e,l),(0,c.addIssueToContext)(l,{code:i.ZodIssueCode.invalid_string,validation:"date",message:d.message}),s.dirty()):"time"===d.kind?RegExp(`^${N(d)}$`).test(e.data)||(l=this._getOrReturnCtx(e,l),(0,c.addIssueToContext)(l,{code:i.ZodIssueCode.invalid_string,validation:"time",message:d.message}),s.dirty()):"duration"===d.kind?w.test(e.data)||(l=this._getOrReturnCtx(e,l),(0,c.addIssueToContext)(l,{validation:"duration",code:i.ZodIssueCode.invalid_string,message:d.message}),s.dirty()):"ip"===d.kind?(t=e.data,!(("v4"===(n=d.version)||!n)&&j.test(t)||("v6"===n||!n)&&S.test(t))&&1&&(l=this._getOrReturnCtx(e,l),(0,c.addIssueToContext)(l,{validation:"ip",code:i.ZodIssueCode.invalid_string,message:d.message}),s.dirty())):"jwt"===d.kind?!function(e,t){if(!x.test(e))return!1;try{let[n]=e.split(".");if(!n)return!1;let r=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),o=JSON.parse(atob(r));if("object"!=typeof o||null===o||"typ"in o&&o?.typ!=="JWT"||!o.alg||t&&o.alg!==t)return!1;return!0}catch{return!1}}(e.data,d.alg)&&(l=this._getOrReturnCtx(e,l),(0,c.addIssueToContext)(l,{validation:"jwt",code:i.ZodIssueCode.invalid_string,message:d.message}),s.dirty()):"cidr"===d.kind?(r=e.data,!(("v4"===(o=d.version)||!o)&&k.test(r)||("v6"===o||!o)&&O.test(r))&&1&&(l=this._getOrReturnCtx(e,l),(0,c.addIssueToContext)(l,{validation:"cidr",code:i.ZodIssueCode.invalid_string,message:d.message}),s.dirty())):"base64"===d.kind?C.test(e.data)||(l=this._getOrReturnCtx(e,l),(0,c.addIssueToContext)(l,{validation:"base64",code:i.ZodIssueCode.invalid_string,message:d.message}),s.dirty()):"base64url"===d.kind?P.test(e.data)||(l=this._getOrReturnCtx(e,l),(0,c.addIssueToContext)(l,{validation:"base64url",code:i.ZodIssueCode.invalid_string,message:d.message}),s.dirty()):u.util.assertNever(d);return{status:s.value,value:e.data}}_regex(e,t,n){return this.refinement(t=>e.test(t),{validation:t,code:i.ZodIssueCode.invalid_string,...s.errorUtil.errToObj(n)})}_addCheck(e){return new L({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...s.errorUtil.errToObj(e)})}url(e){return this._addCheck({kind:"url",...s.errorUtil.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...s.errorUtil.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...s.errorUtil.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...s.errorUtil.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...s.errorUtil.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...s.errorUtil.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...s.errorUtil.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...s.errorUtil.errToObj(e)})}base64url(e){return this._addCheck({kind:"base64url",...s.errorUtil.errToObj(e)})}jwt(e){return this._addCheck({kind:"jwt",...s.errorUtil.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...s.errorUtil.errToObj(e)})}cidr(e){return this._addCheck({kind:"cidr",...s.errorUtil.errToObj(e)})}datetime(e){return"string"==typeof e?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:void 0===e?.precision?null:e?.precision,offset:e?.offset??!1,local:e?.local??!1,...s.errorUtil.errToObj(e?.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return"string"==typeof e?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:void 0===e?.precision?null:e?.precision,...s.errorUtil.errToObj(e?.message)})}duration(e){return this._addCheck({kind:"duration",...s.errorUtil.errToObj(e)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...s.errorUtil.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:t?.position,...s.errorUtil.errToObj(t?.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...s.errorUtil.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...s.errorUtil.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...s.errorUtil.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...s.errorUtil.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...s.errorUtil.errToObj(t)})}nonempty(e){return this.min(1,s.errorUtil.errToObj(e))}trim(){return new L({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new L({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new L({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>"datetime"===e.kind)}get isDate(){return!!this._def.checks.find(e=>"date"===e.kind)}get isTime(){return!!this._def.checks.find(e=>"time"===e.kind)}get isDuration(){return!!this._def.checks.find(e=>"duration"===e.kind)}get isEmail(){return!!this._def.checks.find(e=>"email"===e.kind)}get isURL(){return!!this._def.checks.find(e=>"url"===e.kind)}get isEmoji(){return!!this._def.checks.find(e=>"emoji"===e.kind)}get isUUID(){return!!this._def.checks.find(e=>"uuid"===e.kind)}get isNANOID(){return!!this._def.checks.find(e=>"nanoid"===e.kind)}get isCUID(){return!!this._def.checks.find(e=>"cuid"===e.kind)}get isCUID2(){return!!this._def.checks.find(e=>"cuid2"===e.kind)}get isULID(){return!!this._def.checks.find(e=>"ulid"===e.kind)}get isIP(){return!!this._def.checks.find(e=>"ip"===e.kind)}get isCIDR(){return!!this._def.checks.find(e=>"cidr"===e.kind)}get isBase64(){return!!this._def.checks.find(e=>"base64"===e.kind)}get isBase64url(){return!!this._def.checks.find(e=>"base64url"===e.kind)}get minLength(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}t.ZodString=L,L.create=e=>new L({checks:[],typeName:r.ZodString,coerce:e?.coerce??!1,...p(e)});class A extends h{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){let t;if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==u.ZodParsedType.number){let t=this._getOrReturnCtx(e);return(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.invalid_type,expected:u.ZodParsedType.number,received:t.parsedType}),c.INVALID}let n=new c.ParseStatus;for(let r of this._def.checks)"int"===r.kind?u.util.isInteger(e.data)||(t=this._getOrReturnCtx(e,t),(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.invalid_type,expected:"integer",received:"float",message:r.message}),n.dirty()):"min"===r.kind?(r.inclusive?e.data<r.value:e.data<=r.value)&&(t=this._getOrReturnCtx(e,t),(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.too_small,minimum:r.value,type:"number",inclusive:r.inclusive,exact:!1,message:r.message}),n.dirty()):"max"===r.kind?(r.inclusive?e.data>r.value:e.data>=r.value)&&(t=this._getOrReturnCtx(e,t),(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.too_big,maximum:r.value,type:"number",inclusive:r.inclusive,exact:!1,message:r.message}),n.dirty()):"multipleOf"===r.kind?0!==function(e,t){let n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,o=n>r?n:r;return Number.parseInt(e.toFixed(o).replace(".",""))%Number.parseInt(t.toFixed(o).replace(".",""))/10**o}(e.data,r.value)&&(t=this._getOrReturnCtx(e,t),(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):"finite"===r.kind?Number.isFinite(e.data)||(t=this._getOrReturnCtx(e,t),(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.not_finite,message:r.message}),n.dirty()):u.util.assertNever(r);return{status:n.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,s.errorUtil.toString(t))}gt(e,t){return this.setLimit("min",e,!1,s.errorUtil.toString(t))}lte(e,t){return this.setLimit("max",e,!0,s.errorUtil.toString(t))}lt(e,t){return this.setLimit("max",e,!1,s.errorUtil.toString(t))}setLimit(e,t,n,r){return new A({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:s.errorUtil.toString(r)}]})}_addCheck(e){return new A({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:s.errorUtil.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:s.errorUtil.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:s.errorUtil.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:s.errorUtil.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:s.errorUtil.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:s.errorUtil.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:s.errorUtil.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:s.errorUtil.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:s.errorUtil.toString(e)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}get isInt(){return!!this._def.checks.find(e=>"int"===e.kind||"multipleOf"===e.kind&&u.util.isInteger(e.value))}get isFinite(){let e=null,t=null;for(let n of this._def.checks)if("finite"===n.kind||"int"===n.kind||"multipleOf"===n.kind)return!0;else"min"===n.kind?(null===t||n.value>t)&&(t=n.value):"max"===n.kind&&(null===e||n.value<e)&&(e=n.value);return Number.isFinite(t)&&Number.isFinite(e)}}t.ZodNumber=A,A.create=e=>new A({checks:[],typeName:r.ZodNumber,coerce:e?.coerce||!1,...p(e)});class z extends h{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){let t;if(this._def.coerce)try{e.data=BigInt(e.data)}catch{return this._getInvalidInput(e)}if(this._getType(e)!==u.ZodParsedType.bigint)return this._getInvalidInput(e);let n=new c.ParseStatus;for(let r of this._def.checks)"min"===r.kind?(r.inclusive?e.data<r.value:e.data<=r.value)&&(t=this._getOrReturnCtx(e,t),(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.too_small,type:"bigint",minimum:r.value,inclusive:r.inclusive,message:r.message}),n.dirty()):"max"===r.kind?(r.inclusive?e.data>r.value:e.data>=r.value)&&(t=this._getOrReturnCtx(e,t),(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.too_big,type:"bigint",maximum:r.value,inclusive:r.inclusive,message:r.message}),n.dirty()):"multipleOf"===r.kind?e.data%r.value!==BigInt(0)&&(t=this._getOrReturnCtx(e,t),(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):u.util.assertNever(r);return{status:n.value,value:e.data}}_getInvalidInput(e){let t=this._getOrReturnCtx(e);return(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.invalid_type,expected:u.ZodParsedType.bigint,received:t.parsedType}),c.INVALID}gte(e,t){return this.setLimit("min",e,!0,s.errorUtil.toString(t))}gt(e,t){return this.setLimit("min",e,!1,s.errorUtil.toString(t))}lte(e,t){return this.setLimit("max",e,!0,s.errorUtil.toString(t))}lt(e,t){return this.setLimit("max",e,!1,s.errorUtil.toString(t))}setLimit(e,t,n,r){return new z({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:s.errorUtil.toString(r)}]})}_addCheck(e){return new z({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:s.errorUtil.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:s.errorUtil.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:s.errorUtil.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:s.errorUtil.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:s.errorUtil.toString(t)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}t.ZodBigInt=z,z.create=e=>new z({checks:[],typeName:r.ZodBigInt,coerce:e?.coerce??!1,...p(e)});class R extends h{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==u.ZodParsedType.boolean){let t=this._getOrReturnCtx(e);return(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.invalid_type,expected:u.ZodParsedType.boolean,received:t.parsedType}),c.INVALID}return(0,c.OK)(e.data)}}t.ZodBoolean=R,R.create=e=>new R({typeName:r.ZodBoolean,coerce:e?.coerce||!1,...p(e)});class D extends h{_parse(e){let t;if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==u.ZodParsedType.date){let t=this._getOrReturnCtx(e);return(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.invalid_type,expected:u.ZodParsedType.date,received:t.parsedType}),c.INVALID}if(Number.isNaN(e.data.getTime())){let t=this._getOrReturnCtx(e);return(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.invalid_date}),c.INVALID}let n=new c.ParseStatus;for(let r of this._def.checks)"min"===r.kind?e.data.getTime()<r.value&&(t=this._getOrReturnCtx(e,t),(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.too_small,message:r.message,inclusive:!0,exact:!1,minimum:r.value,type:"date"}),n.dirty()):"max"===r.kind?e.data.getTime()>r.value&&(t=this._getOrReturnCtx(e,t),(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.too_big,message:r.message,inclusive:!0,exact:!1,maximum:r.value,type:"date"}),n.dirty()):u.util.assertNever(r);return{status:n.value,value:new Date(e.data.getTime())}}_addCheck(e){return new D({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:s.errorUtil.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:s.errorUtil.toString(t)})}get minDate(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return null!=e?new Date(e):null}get maxDate(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return null!=e?new Date(e):null}}t.ZodDate=D,D.create=e=>new D({checks:[],coerce:e?.coerce||!1,typeName:r.ZodDate,...p(e)});class M extends h{_parse(e){if(this._getType(e)!==u.ZodParsedType.symbol){let t=this._getOrReturnCtx(e);return(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.invalid_type,expected:u.ZodParsedType.symbol,received:t.parsedType}),c.INVALID}return(0,c.OK)(e.data)}}t.ZodSymbol=M,M.create=e=>new M({typeName:r.ZodSymbol,...p(e)});class Z extends h{_parse(e){if(this._getType(e)!==u.ZodParsedType.undefined){let t=this._getOrReturnCtx(e);return(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.invalid_type,expected:u.ZodParsedType.undefined,received:t.parsedType}),c.INVALID}return(0,c.OK)(e.data)}}t.ZodUndefined=Z,Z.create=e=>new Z({typeName:r.ZodUndefined,...p(e)});class U extends h{_parse(e){if(this._getType(e)!==u.ZodParsedType.null){let t=this._getOrReturnCtx(e);return(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.invalid_type,expected:u.ZodParsedType.null,received:t.parsedType}),c.INVALID}return(0,c.OK)(e.data)}}t.ZodNull=U,U.create=e=>new U({typeName:r.ZodNull,...p(e)});class F extends h{constructor(){super(...arguments),this._any=!0}_parse(e){return(0,c.OK)(e.data)}}t.ZodAny=F,F.create=e=>new F({typeName:r.ZodAny,...p(e)});class H extends h{constructor(){super(...arguments),this._unknown=!0}_parse(e){return(0,c.OK)(e.data)}}t.ZodUnknown=H,H.create=e=>new H({typeName:r.ZodUnknown,...p(e)});class V extends h{_parse(e){let t=this._getOrReturnCtx(e);return(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.invalid_type,expected:u.ZodParsedType.never,received:t.parsedType}),c.INVALID}}t.ZodNever=V,V.create=e=>new V({typeName:r.ZodNever,...p(e)});class B extends h{_parse(e){if(this._getType(e)!==u.ZodParsedType.undefined){let t=this._getOrReturnCtx(e);return(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.invalid_type,expected:u.ZodParsedType.void,received:t.parsedType}),c.INVALID}return(0,c.OK)(e.data)}}t.ZodVoid=B,B.create=e=>new B({typeName:r.ZodVoid,...p(e)});class $ extends h{_parse(e){let{ctx:t,status:n}=this._processInputParams(e),r=this._def;if(t.parsedType!==u.ZodParsedType.array)return(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.invalid_type,expected:u.ZodParsedType.array,received:t.parsedType}),c.INVALID;if(null!==r.exactLength){let e=t.data.length>r.exactLength.value,o=t.data.length<r.exactLength.value;(e||o)&&((0,c.addIssueToContext)(t,{code:e?i.ZodIssueCode.too_big:i.ZodIssueCode.too_small,minimum:o?r.exactLength.value:void 0,maximum:e?r.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:r.exactLength.message}),n.dirty())}if(null!==r.minLength&&t.data.length<r.minLength.value&&((0,c.addIssueToContext)(t,{code:i.ZodIssueCode.too_small,minimum:r.minLength.value,type:"array",inclusive:!0,exact:!1,message:r.minLength.message}),n.dirty()),null!==r.maxLength&&t.data.length>r.maxLength.value&&((0,c.addIssueToContext)(t,{code:i.ZodIssueCode.too_big,maximum:r.maxLength.value,type:"array",inclusive:!0,exact:!1,message:r.maxLength.message}),n.dirty()),t.common.async)return Promise.all([...t.data].map((e,n)=>r.type._parseAsync(new d(t,e,t.path,n)))).then(e=>c.ParseStatus.mergeArray(n,e));let o=[...t.data].map((e,n)=>r.type._parseSync(new d(t,e,t.path,n)));return c.ParseStatus.mergeArray(n,o)}get element(){return this._def.type}min(e,t){return new $({...this._def,minLength:{value:e,message:s.errorUtil.toString(t)}})}max(e,t){return new $({...this._def,maxLength:{value:e,message:s.errorUtil.toString(t)}})}length(e,t){return new $({...this._def,exactLength:{value:e,message:s.errorUtil.toString(t)}})}nonempty(e){return this.min(1,e)}}t.ZodArray=$,$.create=(e,t)=>new $({type:e,minLength:null,maxLength:null,exactLength:null,typeName:r.ZodArray,...p(t)});class q extends h{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(null!==this._cached)return this._cached;let e=this._def.shape(),t=u.util.objectKeys(e);return this._cached={shape:e,keys:t},this._cached}_parse(e){if(this._getType(e)!==u.ZodParsedType.object){let t=this._getOrReturnCtx(e);return(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.invalid_type,expected:u.ZodParsedType.object,received:t.parsedType}),c.INVALID}let{status:t,ctx:n}=this._processInputParams(e),{shape:r,keys:o}=this._getCached(),a=[];if(!(this._def.catchall instanceof V&&"strip"===this._def.unknownKeys))for(let e in n.data)o.includes(e)||a.push(e);let l=[];for(let e of o){let t=r[e],o=n.data[e];l.push({key:{status:"valid",value:e},value:t._parse(new d(n,o,n.path,e)),alwaysSet:e in n.data})}if(this._def.catchall instanceof V){let e=this._def.unknownKeys;if("passthrough"===e)for(let e of a)l.push({key:{status:"valid",value:e},value:{status:"valid",value:n.data[e]}});else if("strict"===e)a.length>0&&((0,c.addIssueToContext)(n,{code:i.ZodIssueCode.unrecognized_keys,keys:a}),t.dirty());else if("strip"===e);else throw Error("Internal ZodObject error: invalid unknownKeys value.")}else{let e=this._def.catchall;for(let t of a){let r=n.data[t];l.push({key:{status:"valid",value:t},value:e._parse(new d(n,r,n.path,t)),alwaysSet:t in n.data})}}return n.common.async?Promise.resolve().then(async()=>{let e=[];for(let t of l){let n=await t.key,r=await t.value;e.push({key:n,value:r,alwaysSet:t.alwaysSet})}return e}).then(e=>c.ParseStatus.mergeObjectSync(t,e)):c.ParseStatus.mergeObjectSync(t,l)}get shape(){return this._def.shape()}strict(e){return s.errorUtil.errToObj,new q({...this._def,unknownKeys:"strict",...void 0!==e?{errorMap:(t,n)=>{let r=this._def.errorMap?.(t,n).message??n.defaultError;return"unrecognized_keys"===t.code?{message:s.errorUtil.errToObj(e).message??r}:{message:r}}}:{}})}strip(){return new q({...this._def,unknownKeys:"strip"})}passthrough(){return new q({...this._def,unknownKeys:"passthrough"})}extend(e){return new q({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new q({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:r.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new q({...this._def,catchall:e})}pick(e){let t={};for(let n of u.util.objectKeys(e))e[n]&&this.shape[n]&&(t[n]=this.shape[n]);return new q({...this._def,shape:()=>t})}omit(e){let t={};for(let n of u.util.objectKeys(this.shape))e[n]||(t[n]=this.shape[n]);return new q({...this._def,shape:()=>t})}deepPartial(){return function e(t){if(t instanceof q){let n={};for(let r in t.shape){let o=t.shape[r];n[r]=ec.create(e(o))}return new q({...t._def,shape:()=>n})}if(t instanceof $)return new $({...t._def,type:e(t.element)});if(t instanceof ec)return ec.create(e(t.unwrap()));if(t instanceof eu)return eu.create(e(t.unwrap()));if(t instanceof G)return G.create(t.items.map(t=>e(t)));else return t}(this)}partial(e){let t={};for(let n of u.util.objectKeys(this.shape)){let r=this.shape[n];e&&!e[n]?t[n]=r:t[n]=r.optional()}return new q({...this._def,shape:()=>t})}required(e){let t={};for(let n of u.util.objectKeys(this.shape))if(e&&!e[n])t[n]=this.shape[n];else{let e=this.shape[n];for(;e instanceof ec;)e=e._def.innerType;t[n]=e}return new q({...this._def,shape:()=>t})}keyof(){return eo(u.util.objectKeys(this.shape))}}t.ZodObject=q,q.create=(e,t)=>new q({shape:()=>e,unknownKeys:"strip",catchall:V.create(),typeName:r.ZodObject,...p(t)}),q.strictCreate=(e,t)=>new q({shape:()=>e,unknownKeys:"strict",catchall:V.create(),typeName:r.ZodObject,...p(t)}),q.lazycreate=(e,t)=>new q({shape:e,unknownKeys:"strip",catchall:V.create(),typeName:r.ZodObject,...p(t)});class W extends h{_parse(e){let{ctx:t}=this._processInputParams(e),n=this._def.options;if(t.common.async)return Promise.all(n.map(async e=>{let n={...t,common:{...t.common,issues:[]},parent:null};return{result:await e._parseAsync({data:t.data,path:t.path,parent:n}),ctx:n}})).then(function(e){for(let t of e)if("valid"===t.result.status)return t.result;for(let n of e)if("dirty"===n.result.status)return t.common.issues.push(...n.ctx.common.issues),n.result;let n=e.map(e=>new i.ZodError(e.ctx.common.issues));return(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.invalid_union,unionErrors:n}),c.INVALID});{let e,r=[];for(let o of n){let n={...t,common:{...t.common,issues:[]},parent:null},a=o._parseSync({data:t.data,path:t.path,parent:n});if("valid"===a.status)return a;"dirty"!==a.status||e||(e={result:a,ctx:n}),n.common.issues.length&&r.push(n.common.issues)}if(e)return t.common.issues.push(...e.ctx.common.issues),e.result;let o=r.map(e=>new i.ZodError(e));return(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.invalid_union,unionErrors:o}),c.INVALID}}get options(){return this._def.options}}t.ZodUnion=W,W.create=(e,t)=>new W({options:e,typeName:r.ZodUnion,...p(t)});let K=e=>{if(e instanceof en)return K(e.schema);if(e instanceof es)return K(e.innerType());if(e instanceof er)return[e.value];if(e instanceof ea)return e.options;if(e instanceof ei)return u.util.objectValues(e.enum);else if(e instanceof ed)return K(e._def.innerType);else if(e instanceof Z)return[void 0];else if(e instanceof U)return[null];else if(e instanceof ec)return[void 0,...K(e.unwrap())];else if(e instanceof eu)return[null,...K(e.unwrap())];else if(e instanceof eh)return K(e.unwrap());else if(e instanceof eg)return K(e.unwrap());else if(e instanceof ef)return K(e._def.innerType);else return[]};class Y extends h{_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==u.ZodParsedType.object)return(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.invalid_type,expected:u.ZodParsedType.object,received:t.parsedType}),c.INVALID;let n=this.discriminator,r=t.data[n],o=this.optionsMap.get(r);return o?t.common.async?o._parseAsync({data:t.data,path:t.path,parent:t}):o._parseSync({data:t.data,path:t.path,parent:t}):((0,c.addIssueToContext)(t,{code:i.ZodIssueCode.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[n]}),c.INVALID)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,n){let o=new Map;for(let n of t){let t=K(n.shape[e]);if(!t.length)throw Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(let r of t){if(o.has(r))throw Error(`Discriminator property ${String(e)} has duplicate value ${String(r)}`);o.set(r,n)}}return new Y({typeName:r.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:o,...p(n)})}}t.ZodDiscriminatedUnion=Y;class X extends h{_parse(e){let{status:t,ctx:n}=this._processInputParams(e),r=(e,r)=>{if((0,c.isAborted)(e)||(0,c.isAborted)(r))return c.INVALID;let o=function e(t,n){let r=(0,u.getParsedType)(t),o=(0,u.getParsedType)(n);if(t===n)return{valid:!0,data:t};if(r===u.ZodParsedType.object&&o===u.ZodParsedType.object){let r=u.util.objectKeys(n),o=u.util.objectKeys(t).filter(e=>-1!==r.indexOf(e)),a={...t,...n};for(let r of o){let o=e(t[r],n[r]);if(!o.valid)return{valid:!1};a[r]=o.data}return{valid:!0,data:a}}if(r===u.ZodParsedType.array&&o===u.ZodParsedType.array){if(t.length!==n.length)return{valid:!1};let r=[];for(let o=0;o<t.length;o++){let a=e(t[o],n[o]);if(!a.valid)return{valid:!1};r.push(a.data)}return{valid:!0,data:r}}if(r===u.ZodParsedType.date&&o===u.ZodParsedType.date&&+t==+n)return{valid:!0,data:t};return{valid:!1}}(e.value,r.value);return o.valid?(((0,c.isDirty)(e)||(0,c.isDirty)(r))&&t.dirty(),{status:t.value,value:o.data}):((0,c.addIssueToContext)(n,{code:i.ZodIssueCode.invalid_intersection_types}),c.INVALID)};return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,parent:n})]).then(([e,t])=>r(e,t)):r(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}}t.ZodIntersection=X,X.create=(e,t,n)=>new X({left:e,right:t,typeName:r.ZodIntersection,...p(n)});class G extends h{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==u.ZodParsedType.array)return(0,c.addIssueToContext)(n,{code:i.ZodIssueCode.invalid_type,expected:u.ZodParsedType.array,received:n.parsedType}),c.INVALID;if(n.data.length<this._def.items.length)return(0,c.addIssueToContext)(n,{code:i.ZodIssueCode.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),c.INVALID;!this._def.rest&&n.data.length>this._def.items.length&&((0,c.addIssueToContext)(n,{code:i.ZodIssueCode.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());let r=[...n.data].map((e,t)=>{let r=this._def.items[t]||this._def.rest;return r?r._parse(new d(n,e,n.path,t)):null}).filter(e=>!!e);return n.common.async?Promise.all(r).then(e=>c.ParseStatus.mergeArray(t,e)):c.ParseStatus.mergeArray(t,r)}get items(){return this._def.items}rest(e){return new G({...this._def,rest:e})}}t.ZodTuple=G,G.create=(e,t)=>{if(!Array.isArray(e))throw Error("You must pass an array of schemas to z.tuple([ ... ])");return new G({items:e,typeName:r.ZodTuple,rest:null,...p(t)})};class Q extends h{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==u.ZodParsedType.object)return(0,c.addIssueToContext)(n,{code:i.ZodIssueCode.invalid_type,expected:u.ZodParsedType.object,received:n.parsedType}),c.INVALID;let r=[],o=this._def.keyType,a=this._def.valueType;for(let e in n.data)r.push({key:o._parse(new d(n,e,n.path,e)),value:a._parse(new d(n,n.data[e],n.path,e)),alwaysSet:e in n.data});return n.common.async?c.ParseStatus.mergeObjectAsync(t,r):c.ParseStatus.mergeObjectSync(t,r)}get element(){return this._def.valueType}static create(e,t,n){return new Q(t instanceof h?{keyType:e,valueType:t,typeName:r.ZodRecord,...p(n)}:{keyType:L.create(),valueType:e,typeName:r.ZodRecord,...p(t)})}}t.ZodRecord=Q;class J extends h{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==u.ZodParsedType.map)return(0,c.addIssueToContext)(n,{code:i.ZodIssueCode.invalid_type,expected:u.ZodParsedType.map,received:n.parsedType}),c.INVALID;let r=this._def.keyType,o=this._def.valueType,a=[...n.data.entries()].map(([e,t],a)=>({key:r._parse(new d(n,e,n.path,[a,"key"])),value:o._parse(new d(n,t,n.path,[a,"value"]))}));if(n.common.async){let e=new Map;return Promise.resolve().then(async()=>{for(let n of a){let r=await n.key,o=await n.value;if("aborted"===r.status||"aborted"===o.status)return c.INVALID;("dirty"===r.status||"dirty"===o.status)&&t.dirty(),e.set(r.value,o.value)}return{status:t.value,value:e}})}{let e=new Map;for(let n of a){let r=n.key,o=n.value;if("aborted"===r.status||"aborted"===o.status)return c.INVALID;("dirty"===r.status||"dirty"===o.status)&&t.dirty(),e.set(r.value,o.value)}return{status:t.value,value:e}}}}t.ZodMap=J,J.create=(e,t,n)=>new J({valueType:t,keyType:e,typeName:r.ZodMap,...p(n)});class ee extends h{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==u.ZodParsedType.set)return(0,c.addIssueToContext)(n,{code:i.ZodIssueCode.invalid_type,expected:u.ZodParsedType.set,received:n.parsedType}),c.INVALID;let r=this._def;null!==r.minSize&&n.data.size<r.minSize.value&&((0,c.addIssueToContext)(n,{code:i.ZodIssueCode.too_small,minimum:r.minSize.value,type:"set",inclusive:!0,exact:!1,message:r.minSize.message}),t.dirty()),null!==r.maxSize&&n.data.size>r.maxSize.value&&((0,c.addIssueToContext)(n,{code:i.ZodIssueCode.too_big,maximum:r.maxSize.value,type:"set",inclusive:!0,exact:!1,message:r.maxSize.message}),t.dirty());let o=this._def.valueType;function a(e){let n=new Set;for(let r of e){if("aborted"===r.status)return c.INVALID;"dirty"===r.status&&t.dirty(),n.add(r.value)}return{status:t.value,value:n}}let l=[...n.data.values()].map((e,t)=>o._parse(new d(n,e,n.path,t)));return n.common.async?Promise.all(l).then(e=>a(e)):a(l)}min(e,t){return new ee({...this._def,minSize:{value:e,message:s.errorUtil.toString(t)}})}max(e,t){return new ee({...this._def,maxSize:{value:e,message:s.errorUtil.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}t.ZodSet=ee,ee.create=(e,t)=>new ee({valueType:e,minSize:null,maxSize:null,typeName:r.ZodSet,...p(t)});class et extends h{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==u.ZodParsedType.function)return(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.invalid_type,expected:u.ZodParsedType.function,received:t.parsedType}),c.INVALID;function n(e,n){return(0,c.makeIssue)({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,(0,l.getErrorMap)(),l.defaultErrorMap].filter(e=>!!e),issueData:{code:i.ZodIssueCode.invalid_arguments,argumentsError:n}})}function r(e,n){return(0,c.makeIssue)({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,(0,l.getErrorMap)(),l.defaultErrorMap].filter(e=>!!e),issueData:{code:i.ZodIssueCode.invalid_return_type,returnTypeError:n}})}let o={errorMap:t.common.contextualErrorMap},a=t.data;if(this._def.returns instanceof el){let e=this;return(0,c.OK)(async function(...t){let l=new i.ZodError([]),s=await e._def.args.parseAsync(t,o).catch(e=>{throw l.addIssue(n(t,e)),l}),c=await Reflect.apply(a,this,s);return await e._def.returns._def.type.parseAsync(c,o).catch(e=>{throw l.addIssue(r(c,e)),l})})}{let e=this;return(0,c.OK)(function(...t){let l=e._def.args.safeParse(t,o);if(!l.success)throw new i.ZodError([n(t,l.error)]);let s=Reflect.apply(a,this,l.data),c=e._def.returns.safeParse(s,o);if(!c.success)throw new i.ZodError([r(s,c.error)]);return c.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new et({...this._def,args:G.create(e).rest(H.create())})}returns(e){return new et({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,t,n){return new et({args:e||G.create([]).rest(H.create()),returns:t||H.create(),typeName:r.ZodFunction,...p(n)})}}t.ZodFunction=et;class en extends h{get schema(){return this._def.getter()}_parse(e){let{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}}t.ZodLazy=en,en.create=(e,t)=>new en({getter:e,typeName:r.ZodLazy,...p(t)});class er extends h{_parse(e){if(e.data!==this._def.value){let t=this._getOrReturnCtx(e);return(0,c.addIssueToContext)(t,{received:t.data,code:i.ZodIssueCode.invalid_literal,expected:this._def.value}),c.INVALID}return{status:"valid",value:e.data}}get value(){return this._def.value}}function eo(e,t){return new ea({values:e,typeName:r.ZodEnum,...p(t)})}t.ZodLiteral=er,er.create=(e,t)=>new er({value:e,typeName:r.ZodLiteral,...p(t)});class ea extends h{_parse(e){if("string"!=typeof e.data){let t=this._getOrReturnCtx(e),n=this._def.values;return(0,c.addIssueToContext)(t,{expected:u.util.joinValues(n),received:t.parsedType,code:i.ZodIssueCode.invalid_type}),c.INVALID}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(e.data)){let t=this._getOrReturnCtx(e),n=this._def.values;return(0,c.addIssueToContext)(t,{received:t.data,code:i.ZodIssueCode.invalid_enum_value,options:n}),c.INVALID}return(0,c.OK)(e.data)}get options(){return this._def.values}get enum(){let e={};for(let t of this._def.values)e[t]=t;return e}get Values(){let e={};for(let t of this._def.values)e[t]=t;return e}get Enum(){let e={};for(let t of this._def.values)e[t]=t;return e}extract(e,t=this._def){return ea.create(e,{...this._def,...t})}exclude(e,t=this._def){return ea.create(this.options.filter(t=>!e.includes(t)),{...this._def,...t})}}t.ZodEnum=ea,ea.create=eo;class ei extends h{_parse(e){let t=u.util.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(e);if(n.parsedType!==u.ZodParsedType.string&&n.parsedType!==u.ZodParsedType.number){let e=u.util.objectValues(t);return(0,c.addIssueToContext)(n,{expected:u.util.joinValues(e),received:n.parsedType,code:i.ZodIssueCode.invalid_type}),c.INVALID}if(this._cache||(this._cache=new Set(u.util.getValidEnumValues(this._def.values))),!this._cache.has(e.data)){let e=u.util.objectValues(t);return(0,c.addIssueToContext)(n,{received:n.data,code:i.ZodIssueCode.invalid_enum_value,options:e}),c.INVALID}return(0,c.OK)(e.data)}get enum(){return this._def.values}}t.ZodNativeEnum=ei,ei.create=(e,t)=>new ei({values:e,typeName:r.ZodNativeEnum,...p(t)});class el extends h{unwrap(){return this._def.type}_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==u.ZodParsedType.promise&&!1===t.common.async)return(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.invalid_type,expected:u.ZodParsedType.promise,received:t.parsedType}),c.INVALID;let n=t.parsedType===u.ZodParsedType.promise?t.data:Promise.resolve(t.data);return(0,c.OK)(n.then(e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap})))}}t.ZodPromise=el,el.create=(e,t)=>new el({type:e,typeName:r.ZodPromise,...p(t)});class es extends h{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===r.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:t,ctx:n}=this._processInputParams(e),r=this._def.effect||null,o={addIssue:e=>{(0,c.addIssueToContext)(n,e),e.fatal?t.abort():t.dirty()},get path(){return n.path}};if(o.addIssue=o.addIssue.bind(o),"preprocess"===r.type){let e=r.transform(n.data,o);if(n.common.async)return Promise.resolve(e).then(async e=>{if("aborted"===t.value)return c.INVALID;let r=await this._def.schema._parseAsync({data:e,path:n.path,parent:n});return"aborted"===r.status?c.INVALID:"dirty"===r.status||"dirty"===t.value?(0,c.DIRTY)(r.value):r});{if("aborted"===t.value)return c.INVALID;let r=this._def.schema._parseSync({data:e,path:n.path,parent:n});return"aborted"===r.status?c.INVALID:"dirty"===r.status||"dirty"===t.value?(0,c.DIRTY)(r.value):r}}if("refinement"===r.type){let e=e=>{let t=r.refinement(e,o);if(n.common.async)return Promise.resolve(t);if(t instanceof Promise)throw Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return e};if(!1!==n.common.async)return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(n=>"aborted"===n.status?c.INVALID:("dirty"===n.status&&t.dirty(),e(n.value).then(()=>({status:t.value,value:n.value}))));{let r=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return"aborted"===r.status?c.INVALID:("dirty"===r.status&&t.dirty(),e(r.value),{status:t.value,value:r.value})}}if("transform"===r.type)if(!1!==n.common.async)return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(e=>(0,c.isValid)(e)?Promise.resolve(r.transform(e.value,o)).then(e=>({status:t.value,value:e})):c.INVALID);else{let e=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!(0,c.isValid)(e))return c.INVALID;let a=r.transform(e.value,o);if(a instanceof Promise)throw Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:a}}u.util.assertNever(r)}}t.ZodEffects=es,t.ZodTransformer=es,es.create=(e,t,n)=>new es({schema:e,typeName:r.ZodEffects,effect:t,...p(n)}),es.createWithPreprocess=(e,t,n)=>new es({schema:t,effect:{type:"preprocess",transform:e},typeName:r.ZodEffects,...p(n)});class ec extends h{_parse(e){return this._getType(e)===u.ZodParsedType.undefined?(0,c.OK)(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}t.ZodOptional=ec,ec.create=(e,t)=>new ec({innerType:e,typeName:r.ZodOptional,...p(t)});class eu extends h{_parse(e){return this._getType(e)===u.ZodParsedType.null?(0,c.OK)(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}t.ZodNullable=eu,eu.create=(e,t)=>new eu({innerType:e,typeName:r.ZodNullable,...p(t)});class ed extends h{_parse(e){let{ctx:t}=this._processInputParams(e),n=t.data;return t.parsedType===u.ZodParsedType.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}t.ZodDefault=ed,ed.create=(e,t)=>new ed({innerType:e,typeName:r.ZodDefault,defaultValue:"function"==typeof t.default?t.default:()=>t.default,...p(t)});class ef extends h{_parse(e){let{ctx:t}=this._processInputParams(e),n={...t,common:{...t.common,issues:[]}},r=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});return(0,c.isAsync)(r)?r.then(e=>({status:"valid",value:"valid"===e.status?e.value:this._def.catchValue({get error(){return new i.ZodError(n.common.issues)},input:n.data})})):{status:"valid",value:"valid"===r.status?r.value:this._def.catchValue({get error(){return new i.ZodError(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}}t.ZodCatch=ef,ef.create=(e,t)=>new ef({innerType:e,typeName:r.ZodCatch,catchValue:"function"==typeof t.catch?t.catch:()=>t.catch,...p(t)});class ep extends h{_parse(e){if(this._getType(e)!==u.ZodParsedType.nan){let t=this._getOrReturnCtx(e);return(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.invalid_type,expected:u.ZodParsedType.nan,received:t.parsedType}),c.INVALID}return{status:"valid",value:e.data}}}t.ZodNaN=ep,ep.create=e=>new ep({typeName:r.ZodNaN,...p(e)}),t.BRAND=Symbol("zod_brand");class eh extends h{_parse(e){let{ctx:t}=this._processInputParams(e),n=t.data;return this._def.type._parse({data:n,path:t.path,parent:t})}unwrap(){return this._def.type}}t.ZodBranded=eh;class em extends h{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.common.async)return(async()=>{let e=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return"aborted"===e.status?c.INVALID:"dirty"===e.status?(t.dirty(),(0,c.DIRTY)(e.value)):this._def.out._parseAsync({data:e.value,path:n.path,parent:n})})();{let e=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return"aborted"===e.status?c.INVALID:"dirty"===e.status?(t.dirty(),{status:"dirty",value:e.value}):this._def.out._parseSync({data:e.value,path:n.path,parent:n})}}static create(e,t){return new em({in:e,out:t,typeName:r.ZodPipeline})}}t.ZodPipeline=em;class eg extends h{_parse(e){let t=this._def.innerType._parse(e),n=e=>((0,c.isValid)(e)&&(e.value=Object.freeze(e.value)),e);return(0,c.isAsync)(t)?t.then(e=>n(e)):n(t)}unwrap(){return this._def.innerType}}function ey(e,t){let n="function"==typeof e?e(t):"string"==typeof e?{message:e}:e;return"string"==typeof n?{message:n}:n}function ev(e,t={},n){return e?F.create().superRefine((r,o)=>{let a=e(r);if(a instanceof Promise)return a.then(e=>{if(!e){let e=ey(t,r),a=e.fatal??n??!0;o.addIssue({code:"custom",...e,fatal:a})}});if(!a){let e=ey(t,r),a=e.fatal??n??!0;o.addIssue({code:"custom",...e,fatal:a})}}):F.create()}t.ZodReadonly=eg,eg.create=(e,t)=>new eg({innerType:e,typeName:r.ZodReadonly,...p(t)}),t.late={object:q.lazycreate},(o=r||(t.ZodFirstPartyTypeKind=r={})).ZodString="ZodString",o.ZodNumber="ZodNumber",o.ZodNaN="ZodNaN",o.ZodBigInt="ZodBigInt",o.ZodBoolean="ZodBoolean",o.ZodDate="ZodDate",o.ZodSymbol="ZodSymbol",o.ZodUndefined="ZodUndefined",o.ZodNull="ZodNull",o.ZodAny="ZodAny",o.ZodUnknown="ZodUnknown",o.ZodNever="ZodNever",o.ZodVoid="ZodVoid",o.ZodArray="ZodArray",o.ZodObject="ZodObject",o.ZodUnion="ZodUnion",o.ZodDiscriminatedUnion="ZodDiscriminatedUnion",o.ZodIntersection="ZodIntersection",o.ZodTuple="ZodTuple",o.ZodRecord="ZodRecord",o.ZodMap="ZodMap",o.ZodSet="ZodSet",o.ZodFunction="ZodFunction",o.ZodLazy="ZodLazy",o.ZodLiteral="ZodLiteral",o.ZodEnum="ZodEnum",o.ZodEffects="ZodEffects",o.ZodNativeEnum="ZodNativeEnum",o.ZodOptional="ZodOptional",o.ZodNullable="ZodNullable",o.ZodDefault="ZodDefault",o.ZodCatch="ZodCatch",o.ZodPromise="ZodPromise",o.ZodBranded="ZodBranded",o.ZodPipeline="ZodPipeline",o.ZodReadonly="ZodReadonly",t.instanceof=(e,t={message:`Input not instance of ${e.name}`})=>ev(t=>t instanceof e,t);let eb=L.create;t.string=eb;let ex=A.create;t.number=ex,t.nan=ep.create,t.bigint=z.create;let ew=R.create;t.boolean=ew,t.date=D.create,t.symbol=M.create,t.undefined=Z.create,t.null=U.create,t.any=F.create,t.unknown=H.create,t.never=V.create,t.void=B.create,t.array=$.create,t.object=q.create,t.strictObject=q.strictCreate,t.union=W.create,t.discriminatedUnion=Y.create,t.intersection=X.create,t.tuple=G.create,t.record=Q.create,t.map=J.create,t.set=ee.create,t.function=et.create,t.lazy=en.create,t.literal=er.create,t.enum=ea.create,t.nativeEnum=ei.create,t.promise=el.create;let e_=es.create;t.effect=e_,t.transformer=e_,t.optional=ec.create,t.nullable=eu.create,t.preprocess=es.createWithPreprocess,t.pipeline=em.create,t.ostring=()=>eb().optional(),t.onumber=()=>ex().optional(),t.oboolean=()=>ew().optional(),t.coerce={string:e=>L.create({...e,coerce:!0}),number:e=>A.create({...e,coerce:!0}),boolean:e=>R.create({...e,coerce:!0}),bigint:e=>z.create({...e,coerce:!0}),date:e=>D.create({...e,coerce:!0})},t.NEVER=c.INVALID}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var a=n[e]={exports:{}},i=!0;try{t[e].call(a.exports,a,a.exports,r),i=!1}finally{i&&delete n[e]}return a.exports}r.ab="//",e.exports=r(629)})()}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={id:e,exports:{}};return __webpack_modules__[e](n,n.exports,__webpack_require__),n.exports}__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;__webpack_require__.t=function(n,r){if(1&r&&(n=this(n)),8&r||"object"==typeof n&&n&&(4&r&&n.__esModule||16&r&&"function"==typeof n.then))return n;var o=Object.create(null);__webpack_require__.r(o);var a={};e=e||[null,t({}),t([]),t(t)];for(var i=2&r&&n;("object"==typeof i||"function"==typeof i)&&!~e.indexOf(i);i=t(i))Object.getOwnPropertyNames(i).forEach(e=>{a[e]=()=>n[e]});return a.default=()=>n,__webpack_require__.d(o,a),o}})(),__webpack_require__.d=(e,t)=>{for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.nc=void 0;var __webpack_exports__={};for(var __rspack_i in(()=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{DevOverlayContext:()=>dx,dispatcher:()=>dv,renderPagesDevOverlay:()=>dO,getSerializedOverlayState:()=>dm,useDevOverlayContext:()=>dw,renderAppDevOverlay:()=>dS,getSegmentTrieData:()=>dg});var e,t,n,r,o,a,i,l,s,c=__webpack_require__("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),u=__webpack_require__.n(c),d=__webpack_require__("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/styleDomAPI.js"),f=__webpack_require__.n(d),p=__webpack_require__("./src/build/webpack/loaders/devtool/devtool-style-inject.js"),h=__webpack_require__.n(p),m=__webpack_require__("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),g=__webpack_require__.n(m),y=__webpack_require__("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/insertStyleElement.js"),v=__webpack_require__.n(y),b=__webpack_require__("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/styleTagTransform.js"),x=__webpack_require__.n(b),w=__webpack_require__("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/global.css"),_={};_.styleTagTransform=x(),_.setAttributes=g(),_.insert=h(),_.domAPI=f(),_.insertStyleElement=v(),u()(w.A,_),w.A&&w.A.locals&&w.A.locals;var j=__webpack_require__("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/components/toast/style.css"),k={};k.styleTagTransform=x(),k.setAttributes=g(),k.insert=h(),k.domAPI=f(),k.insertStyleElement=v(),u()(j.A,k),j.A&&j.A.locals&&j.A.locals;var S=__webpack_require__("./dist/compiled/react/jsx-runtime.js"),O=__webpack_require__("./dist/compiled/react/compiler-runtime.js"),C=__webpack_require__("./dist/compiled/react/index.js"),P=__webpack_require__.t(C,2),E=__webpack_require__("./dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js"),T=/\/_next(\/static\/.+)/,N=Symbol.for("next.console.error.digest");function I(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function L(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){I(e,t,n[t])})}return e}function A(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}var z={Small:16/14,Medium:1,Large:16/18},R="cache-indicator",D="static-indicator",M="build-ok",Z="build-error",U="before-fast-refresh",F="fast-refresh",H="version-info",V="unhandled-error",B="unhandled-rejection",$="debug-info",q="dev-indicator",W="dev-indicator-disable",K="error-overlay-open",Y="error-overlay-close",X="error-overlay-toggle",G="building-indicator-show",Q="building-indicator-hide",J="rendering-indicator-show",ee="rendering-indicator-hide",et="devtools-position",en="devtools-panel-position",er="devtools-scale",eo="devtools-config",ea="__nextjs-dev-tools-panel-position",ei="__nextjs-dev-tools-panel-size",el="__nextjs-dev-tools-shared-panel-size",es="__nextjs-dev-tools-shared-panel-location",ec="segment-explorer-update-route-state",eu=/\s+(at Object\.react_stack_bottom_frame.*)|(react_stack_bottom_frame@.*)|(at react-stack-bottom-frame.*)|(react-stack-bottom-frame@.*)/;function ed(e){return null==e?void 0:e.split(eu)[0]}var ef=(null==(a=process.env.__NEXT_DEV_INDICATOR)?void 0:a.toString())==="false",ep=null!=(i=process.env.__NEXT_DEV_INDICATOR_POSITION)?i:"bottom-left",eh={nextId:1,buildError:null,errors:[],notFound:!1,renderingIndicator:!1,cacheIndicator:"disabled",staticIndicator:"disabled",showIndicator:!1,disableDevIndicator:!1,buildingIndicator:!1,refreshState:{type:"idle"},versionInfo:{installed:"0.0.0",staleness:"unknown"},debugInfo:{devtoolsFrontendUrl:void 0},devToolsPosition:ep,devToolsPanelPosition:I({},es,ep),devToolsPanelSize:{},scale:z.Medium,page:"",theme:"system",hideShortcut:null},em=__webpack_require__("./dist/compiled/react-dom/client.js");function eg(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=e.length-1;return(e.slice(0,o).reduce(function(e,t,r){return e+t+n[r]},"")+e[o]).replace(/\/\*[\s\S]*?\*\//g,"").replace(/\s+/g," ").replace(/\s*([:;,{}])\s*/g,"$1").replace(/;+}/g,"}").trim()}function ey(){var e,t,n=(e=["\n /* latin-ext */\n @font-face {\n font-family: '__nextjs-Geist';\n font-style: normal;\n font-weight: 400 600;\n font-display: swap;\n src: url(/__nextjs_font/geist-latin-ext.woff2) format('woff2');\n unicode-range:\n U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,\n U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,\n U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;\n }\n /* latin-ext */\n @font-face {\n font-family: '__nextjs-Geist Mono';\n font-style: normal;\n font-weight: 400 600;\n font-display: swap;\n src: url(/__nextjs_font/geist-mono-latin-ext.woff2) format('woff2');\n unicode-range:\n U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,\n U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,\n U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;\n }\n /* latin */\n @font-face {\n font-family: '__nextjs-Geist';\n font-style: normal;\n font-weight: 400 600;\n font-display: swap;\n src: url(/__nextjs_font/geist-latin.woff2) format('woff2');\n unicode-range:\n U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,\n U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,\n U+2212, U+2215, U+FEFF, U+FFFD;\n }\n /* latin */\n @font-face {\n font-family: '__nextjs-Geist Mono';\n font-style: normal;\n font-weight: 400 600;\n font-display: swap;\n src: url(/__nextjs_font/geist-mono-latin.woff2) format('woff2');\n unicode-range:\n U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,\n U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,\n U+2212, U+2215, U+FEFF, U+FFFD;\n }\n "],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return ey=function(){return n},n}var ev=function(){var e,t=(0,O.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=[],t[0]=e):e=t[0],(0,C.useInsertionEffect)(eb,e),null};function eb(){var e=document.createElement("style");return e.textContent=eg(ey()),document.head.appendChild(e),function(){document.head.removeChild(e)}}var ex=__webpack_require__("./dist/compiled/react-dom/index.js");function ew(e){var t,n=(0,O.c)(3),r=e.children,o=dw().shadowRoot;return n[0]!==r||n[1]!==o?(t=(0,ex.createPortal)(r,o),n[0]=r,n[1]=o,n[2]=t):t=n[2],t}function e_(e){if(""===e.trim())throw Error("can't decode empty hex");var t=parseInt(e,16);if(isNaN(t))throw Error("invalid hex: `".concat(e,"`"));return String.fromCodePoint(t)}var ej=/^__TURBOPACK__([a-zA-Z0-9_$]+)__$/,ek=/__TURBOPACK__[a-zA-Z0-9_$]+__/g;function eS(e){return e.replace(/\[project\]/g,".").replace(/\s\[([^\]]*)\]/g,"").replace(/\s\(([^)]*)\)/g,"").replace(/\s<([^>]*)>/g,"").trim()}function eO(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var eC=/https?:\/\/[^\s/$.?#].[^\s)'"]*/i,eP=function(e){var t,n=(0,O.c)(7),r=e.text,o=e.matcher;if(n[0]!==o||n[1]!==r){var a,i,l=function(e){for(var t=e.replace(RegExp("\\(0\\s*,\\s*(__TURBOPACK__[a-zA-Z0-9_$]+__\\.[\\p{ID_Start}_$][\\p{ID_Continue}$]*)\\)","u"),"$1"),n=[],r=0,o=RegExp(ek.source,"g"),a=o.exec(t);null!==a;a=o.exec(t)){var i=a.index,l=o.lastIndex,s=a[0];if(i>r){var c=t.substring(r,i);n.push(["raw",c])}try{var u=function(e){var t=e.match(ej);if(!t)return e;for(var n=t[1],r="",o=0,a="",i=0;i<n.length;i++){var l=n[i];if(0===o)"_"===l?o=1:"$"===l?o=2:r+=l;else if(1===o)"_"===l?(r+=" ",o=0):"$"===l?(r+="_",o=2):(r+=l,o=0);else if(2===o)if(2===a.length&&(r+=e_(a),a=""),"_"===l){if(""!==a)throw Error("invalid hex: `".concat(a,"`"));o=3}else if("$"===l){if(""!==a)throw Error("invalid hex: `".concat(a,"`"));o=0}else a+=l;else if(3===o)if("_"===l)throw Error("invalid hex: `".concat(a+l,"`"));else"$"===l?(r+=e_(a),a="",o=0):a+=l}return r}(s);if(u!==s){var d=u.match(/^imported module (.+)$/);if(d){var f=d[1],p=eS(f);n.push(["deobfuscated","{imported module ".concat(p,"}")])}else{var h=eS(u);n.push(["deobfuscated","{".concat(h,"}")])}}else n.push(["raw",s])}catch(e){n.push(["deobfuscated","{".concat(s," (decoding failed: ").concat(e,")}")])}r=l}if(r<t.length){var m=t.substring(r);n.push(["raw",m])}return n}(r);n[3]!==o?(i=function(e,t){var n,r=function(e){if(Array.isArray(e))return e}(n=e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),2!==a.length);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(n,2)||function(e,t){if(e){if("string"==typeof e)return eO(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return eO(e,2)}}(n,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),a=r[0],i=r[1];if("raw"===a)return i.split(/(\s+|https?:\/\/[^\s/$.?#].[^\s)'"]*)/).map(function(e,n){if(!eC.test(e))return(0,S.jsx)(C.Fragment,{children:e},"text-".concat(t,"-").concat(n));var r=eC.exec(e)[0],a=null;return"function"==typeof o&&null===(a=o(r))?(0,S.jsx)(C.Fragment,{children:e},"link-".concat(t,"-").concat(n)):(0,S.jsx)(C.Fragment,{children:(0,S.jsx)("a",{href:r,target:"_blank",rel:"noreferrer noopener",className:a||void 0,children:e})},"link-".concat(t,"-").concat(n))});if("deobfuscated"===a)return(0,S.jsx)("i",{children:i},"ident-".concat(t));throw Error("Unknown text part type: ".concat(a))},n[3]=o,n[4]=i):i=n[4],a=l.map(i),n[0]=o,n[1]=r,n[2]=a}else a=n[2];return n[5]!==a?(t=(0,S.jsx)(S.Fragment,{children:a}),n[5]=a,n[6]=t):t=n[6],t},eE=[/^webpack-internal:\/\/\/(\([\w-]+\)\/)?/,/^(webpack:\/\/\/|webpack:\/\/(_N_E\/)?)(\([\w-]+\)\/)?/];function eT(e){var t=!0,n=!1,r=void 0;try{for(var o,a=eE[Symbol.iterator]();!(t=(o=a.next()).done);t=!0){var i=o.value;if(i.test(e))return!0;e=e.replace(i,"")}}catch(e){n=!0,r=e}finally{try{t||null==a.return||a.return()}finally{if(n)throw r}}return!1}function eN(e){var t=!0,n=!1,r=void 0;try{for(var o,a=eE[Symbol.iterator]();!(t=(o=a.next()).done);t=!0){var i=o.value;e=e.replace(i,"")}}catch(e){n=!0,r=e}finally{try{t||null==a.return||a.return()}finally{if(n)throw r}}return e}function eI(e,t,n,r,o,a,i){try{var l=e[a](i),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,o)}function eL(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function i(e){eI(a,r,o,i,l,"next",e)}function l(e){eI(a,r,o,i,l,"throw",e)}i(void 0)})}}function eA(e,t){var n,r,o,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=l(0),i.throw=l(1),i.return=l(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(s){var c=[l,s];if(n)throw TypeError("Generator is already executing.");for(;i&&(i=0,c[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,r=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===c[0]||2===c[0])){a=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){a.label=c[1];break}if(6===c[0]&&a.label<o[1]){a.label=o[1],o=c;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(c);break}o[2]&&a.ops.pop(),a.trys.pop();continue}c=t.call(e,a)}catch(e){c=[6,e],r=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}function ez(e,t){var n;return"file://"===e.file||(null==(n=e.file)?void 0:n.match(/https?:\/\//))?Promise.resolve({error:!1,reason:null,external:!0,sourceStackFrame:e,originalStackFrame:null,originalCodeFrame:null,ignored:!0}):eL(function(){var n,r;return eA(this,function(o){if("rejected"===t.status)throw Error(t.reason);return[2,{error:!1,reason:null,external:!1,sourceStackFrame:e,originalStackFrame:(r=t.value).originalStackFrame,originalCodeFrame:r.originalCodeFrame||null,ignored:(null==(n=r.originalStackFrame)?void 0:n.ignored)||!1}]})})().catch(function(t){var n,r;return{error:!0,reason:null!=(r=null!=(n=null==t?void 0:t.message)?n:null==t?void 0:t.toString())?r:"Unknown Error",external:!1,sourceStackFrame:e,originalStackFrame:null,originalCodeFrame:null,ignored:!1}})}function eR(e,t,n){return eL(function(){var r,o,a,i;return eA(this,function(l){switch(l.label){case 0:r={frames:e,isServer:"server"===t,isEdgeServer:"edge-server"===t,isAppDirectory:n},o=void 0,a=void 0,l.label=1;case 1:return l.trys.push([1,3,,4]),[4,fetch("/__nextjs_original-stack-frames",{method:"POST",body:JSON.stringify(r)})];case 2:return o=l.sent(),[3,4];case 3:return a=l.sent()+"",[3,4];case 4:if(!(o&&o.ok&&204!==o.status))return[3,6];return[4,o.json()];case 5:return i=l.sent(),[2,Promise.all(e.map(function(e,t){return ez(e,i[t])}))];case 6:if(!o)return[3,8];return[4,o.text()];case 7:a=l.sent(),l.label=8;case 8:return[2,Promise.all(e.map(function(e){return ez(e,{status:"rejected",reason:"Failed to fetch the original stack frames ".concat(a?": ".concat(a):"")})}))]}})})()}function eD(e){if(!e.file)return"";var t=eT(e.file),n="";if(t)n=eN(e.file);else try{var r,o=new URL(e.file),a="";(null==(r=globalThis.location)?void 0:r.origin)!==o.origin&&("null"===o.origin?a+=o.protocol:a+=o.origin),a+=o.pathname,n=eN(a)}catch(t){n=eN(e.file)}return!eT(e.file)&&null!=e.line1&&n&&"<anonymous>"!==e.file&&(null!=e.column1?n+=" (".concat(e.line1,":").concat(e.column1,")"):n+=" (".concat(e.line1,")")),n}function eM(e){var t,n,r=(0,O.c)(6);r[0]!==e?(t=void 0===e?{}:e,r[0]=e,r[1]=t):t=r[1];var o=t.file,a=t.line1,i=t.column1;return r[2]!==i||r[3]!==o||r[4]!==a?(n=function(){if(null!=o&&null!=a&&null!=i){var e=new URLSearchParams;e.append("file",o),e.append("line1",String(a)),e.append("column1",String(i)),self.fetch("".concat(process.env.__NEXT_ROUTER_BASEPATH||"","/__nextjs_launch-editor?").concat(e.toString())).then(eZ,function(e){console.error('Failed to open file "'.concat(o," (").concat(a,":").concat(i,')" in your editor. Cause:'),e)})}},r[2]=i,r[3]=o,r[4]=a,r[5]=n):n=r[5],n}function eZ(){}function eU(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}function eF(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function eH(e){var t,n,r=(0,O.c)(3);return r[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,S.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",fill:"currentColor",d:"M11.5 9.75V11.25C11.5 11.3881 11.3881 11.5 11.25 11.5H4.75C4.61193 11.5 4.5 11.3881 4.5 11.25L4.5 4.75C4.5 4.61193 4.61193 4.5 4.75 4.5H6.25H7V3H6.25H4.75C3.7835 3 3 3.7835 3 4.75V11.25C3 12.2165 3.7835 13 4.75 13H11.25C12.2165 13 13 12.2165 13 11.25V9.75V9H11.5V9.75ZM8.5 3H9.25H12.2495C12.6637 3 12.9995 3.33579 12.9995 3.75V6.75V7.5H11.4995V6.75V5.56066L8.53033 8.52978L8 9.06011L6.93934 7.99945L7.46967 7.46912L10.4388 4.5H9.25H8.5V3Z"}),r[0]=t):t=r[0],r[1]!==e?(n=(0,S.jsx)("svg",eF(eU({xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},e),{children:t})),r[1]=e,r[2]=n):n=r[2],n}function eV(e){var t,n,r=(0,O.c)(3);return r[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,S.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.55846 2H7.44148L1.88975 13.5H14.1102L8.55846 2ZM9.90929 1.34788C9.65902 0.829456 9.13413 0.5 8.55846 0.5H7.44148C6.86581 0.5 6.34092 0.829454 6.09065 1.34787L0.192608 13.5653C-0.127943 14.2293 0.355835 15 1.09316 15H14.9068C15.6441 15 16.1279 14.2293 15.8073 13.5653L9.90929 1.34788ZM8.74997 4.75V5.5V8V8.75H7.24997V8V5.5V4.75H8.74997ZM7.99997 12C8.55226 12 8.99997 11.5523 8.99997 11C8.99997 10.4477 8.55226 10 7.99997 10C7.44769 10 6.99997 10.4477 6.99997 11C6.99997 11.5523 7.44769 12 7.99997 12Z",fill:"currentColor"}),r[0]=t):t=r[0],r[1]!==e?(n=(0,S.jsx)("svg",eF(eU({xmlns:"http://www.w3.org/2000/svg",height:"16",strokeLinejoin:"round",viewBox:"-4 -4 24 24",width:"16"},e),{children:t})),r[1]=e,r[2]=n):n=r[2],n}function eB(e){var t,n,r,o,a,i,l=(0,O.c)(6),s=e.lang;if(!s)return l[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,S.jsx)(eK,{}),l[0]=t):t=l[0],t;switch(s.toLowerCase()){case"jsx":case"tsx":return l[1]===Symbol.for("react.memo_cache_sentinel")?(n=(0,S.jsx)(eY,{}),l[1]=n):n=l[1],n;case"ts":case"typescript":return l[2]===Symbol.for("react.memo_cache_sentinel")?(r=(0,S.jsx)(eW,{}),l[2]=r):r=l[2],r;case"javascript":case"js":case"mjs":return l[3]===Symbol.for("react.memo_cache_sentinel")?(o=(0,S.jsx)(eq,{}),l[3]=o):o=l[3],o;case"json":return l[4]===Symbol.for("react.memo_cache_sentinel")?(a=(0,S.jsx)(e$,{}),l[4]=a):a=l[4],a;default:return l[5]===Symbol.for("react.memo_cache_sentinel")?(i=(0,S.jsx)(eK,{}),l[5]=i):i=l[5],i}}function e$(){var e,t=(0,O.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,S.jsx)("svg",{clipRule:"evenodd",fillRule:"evenodd",height:"16",viewBox:"0 0 1321.45 1333.33",width:"16",children:(0,S.jsx)("path",{d:"M221.37 618.44h757.94V405.15H755.14c-23.5 0-56.32-12.74-71.82-28.24-15.5-15.5-25-43.47-25-66.97V82.89H88.39c-1.99 0-3.49 1-4.49 2-1.5 1-2 2.5-2 4.5v1155.04c0 1.5 1 3.5 2 4.5 1 1.49 3 1.99 4.49 1.99H972.8c2 0 1.89-.99 2.89-1.99 1.5-1 3.61-3 3.61-4.5v-121.09H221.36c-44.96 0-82-36.9-82-81.99V700.44c0-45.1 36.9-82 82-82zm126.51 117.47h75.24v146.61c0 30.79-2.44 54.23-7.33 70.31-4.92 16.03-14.8 29.67-29.65 40.85-14.86 11.12-33.91 16.72-57.05 16.72-24.53 0-43.51-3.71-56.94-11.06-13.5-7.36-23.89-18.1-31.23-32.3-7.35-14.14-11.69-31.67-12.99-52.53l71.5-10.81c.11 11.81 1.07 20.61 2.81 26.33 1.76 5.78 4.75 10.37 9 13.95 2.87 2.33 6.94 3.46 12.25 3.46 8.4 0 14.58-3.46 18.53-10.37 3.9-6.92 5.87-18.6 5.87-35V735.92zm112.77 180.67l71.17-4.97c1.54 12.81 4.69 22.62 9.44 29.28 7.74 10.88 18.74 16.34 33.09 16.34 10.68 0 18.93-2.76 24.68-8.36 5.81-5.58 8.7-12.07 8.7-19.41 0-6.97-2.71-13.26-8.2-18.79-5.47-5.53-18.23-10.68-38.28-15.65-32.89-8.17-56.27-19.1-70.26-32.74-14.12-13.57-21.18-30.92-21.18-52.03 0-13.83 3.61-26.89 10.85-39.21 7.22-12.38 18.07-22.06 32.59-29.09 14.52-7.04 34.4-10.56 59.65-10.56 31 0 54.62 6.41 70.88 19.29 16.28 12.81 25.92 33.24 29.04 61.27l-70.5 4.65c-1.87-12.25-5.81-21.17-11.81-26.7-6.05-5.6-14.35-8.36-24.9-8.36-8.71 0-15.31 2.07-19.73 6.16-4.4 4.09-6.59 9.12-6.59 15.02 0 4.27 1.81 8.11 5.37 11.57 3.45 3.59 11.8 6.85 25.02 9.93 32.75 7.86 56.2 15.84 70.31 23.87 14.18 8.05 24.52 17.98 30.96 29.92 6.44 11.88 9.66 25.2 9.66 39.96 0 17.29-4.3 33.24-12.88 47.89-8.63 14.58-20.61 25.7-36.08 33.24-15.41 7.54-34.85 11.31-58.33 11.31-41.24 0-69.81-8.86-85.68-26.52-15.88-17.65-24.85-40.09-26.96-67.3zm248.74-45.5c0-44.05 11.02-78.36 33.09-102.87 22.09-24.57 52.82-36.82 92.24-36.82 40.38 0 71.5 12.07 93.34 36.13 21.86 24.13 32.77 57.94 32.77 101.37 0 31.54-4.75 57.36-14.3 77.54-9.54 20.18-23.37 35.89-41.4 47.13-18.07 11.24-40.55 16.84-67.48 16.84-27.33 0-49.99-4.83-67.94-14.52-17.92-9.74-32.49-25.07-43.62-46.06-11.13-20.92-16.72-47.19-16.72-78.74zm74.89.19c0 27.21 4.57 46.81 13.68 58.68 9.13 11.88 21.57 17.85 37.26 17.85 16.1 0 28.65-5.84 37.45-17.47 8.87-11.68 13.28-32.54 13.28-62.77 0-25.39-4.63-43.92-13.84-55.61-9.26-11.76-21.75-17.6-37.56-17.6-15.13 0-27.34 5.97-36.49 17.85-9.21 11.88-13.78 31.61-13.78 59.07zm209.08-135.36h69.99l90.98 149.05V735.91h70.83v269.96h-70.83l-90.48-148.24v148.24h-70.49V735.91zm67.71-117.47h178.37c45.1 0 82 37.04 82 82v340.91c0 44.96-37.03 81.99-82 81.99h-178.37v147c0 17.5-6.99 32.99-18.5 44.5-11.5 11.49-27 18.5-44.5 18.5H62.97c-17.5 0-32.99-7-44.5-18.5-11.49-11.5-18.5-27-18.5-44.5V63.49c0-17.5 7-33 18.5-44.5S45.97.49 62.97.49H700.1c1.5-.5 3-.5 4.5-.5 7 0 14 3 19 7.49h1c1 .5 1.5 1 2.5 2l325.46 329.47c5.5 5.5 9.5 13 9.5 21.5 0 2.5-.5 4.5-1 7v250.98zM732.61 303.47V96.99l232.48 235.47H761.6c-7.99 0-14.99-3.5-20.5-8.49-4.99-5-8.49-12.5-8.49-20.5z",fill:"currentColor"})}),t[0]=e):e=t[0],e}function eq(){var e,t=(0,O.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,S.jsx)("svg",{height:"16",viewBox:"0 0 50 50",width:"16",xmlns:"http://www.w3.org/2000/svg",children:(0,S.jsx)("path",{d:"M 43.335938 4 L 6.667969 4 C 5.195313 4 4 5.195313 4 6.667969 L 4 43.332031 C 4 44.804688 5.195313 46 6.667969 46 L 43.332031 46 C 44.804688 46 46 44.804688 46 43.335938 L 46 6.667969 C 46 5.195313 44.804688 4 43.335938 4 Z M 27 36.183594 C 27 40.179688 24.65625 42 21.234375 42 C 18.140625 42 15.910156 39.925781 15 38 L 18.144531 36.097656 C 18.75 37.171875 19.671875 38 21 38 C 22.269531 38 23 37.503906 23 35.574219 L 23 23 L 27 23 Z M 35.675781 42 C 32.132813 42 30.121094 40.214844 29 38 L 32 36 C 32.816406 37.335938 33.707031 38.613281 35.589844 38.613281 C 37.171875 38.613281 38 37.824219 38 36.730469 C 38 35.425781 37.140625 34.960938 35.402344 34.199219 L 34.449219 33.789063 C 31.695313 32.617188 29.863281 31.148438 29.863281 28.039063 C 29.863281 25.179688 32.046875 23 35.453125 23 C 37.878906 23 39.621094 23.84375 40.878906 26.054688 L 37.910156 27.964844 C 37.253906 26.789063 36.550781 26.328125 35.453125 26.328125 C 34.335938 26.328125 33.628906 27.039063 33.628906 27.964844 C 33.628906 29.109375 34.335938 29.570313 35.972656 30.28125 L 36.925781 30.691406 C 40.171875 32.078125 42 33.496094 42 36.683594 C 42 40.117188 39.300781 42 35.675781 42 Z",fill:"currentColor"})}),t[0]=e):e=t[0],e}function eW(){var e,t=(0,O.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,S.jsxs)("svg",{fill:"none",height:"14",viewBox:"0 0 512 512",width:"14",xmlns:"http://www.w3.org/2000/svg",children:[(0,S.jsx)("rect",{fill:"currentColor",height:"512",rx:"50",width:"512"}),(0,S.jsx)("rect",{fill:"currentColor",height:"512",rx:"50",width:"512"}),(0,S.jsx)("path",{clipRule:"evenodd",d:"m316.939 407.424v50.061c8.138 4.172 17.763 7.3 28.875 9.386s22.823 3.129 35.135 3.129c11.999 0 23.397-1.147 34.196-3.442 10.799-2.294 20.268-6.075 28.406-11.342 8.138-5.266 14.581-12.15 19.328-20.65s7.121-19.007 7.121-31.522c0-9.074-1.356-17.026-4.069-23.857s-6.625-12.906-11.738-18.225c-5.112-5.319-11.242-10.091-18.389-14.315s-15.207-8.213-24.18-11.967c-6.573-2.712-12.468-5.345-17.685-7.9-5.217-2.556-9.651-5.163-13.303-7.822-3.652-2.66-6.469-5.476-8.451-8.448-1.982-2.973-2.974-6.336-2.974-10.091 0-3.441.887-6.544 2.661-9.308s4.278-5.136 7.512-7.118c3.235-1.981 7.199-3.52 11.894-4.615 4.696-1.095 9.912-1.642 15.651-1.642 4.173 0 8.581.313 13.224.938 4.643.626 9.312 1.591 14.008 2.894 4.695 1.304 9.259 2.947 13.694 4.928 4.434 1.982 8.529 4.276 12.285 6.884v-46.776c-7.616-2.92-15.937-5.084-24.962-6.492s-19.381-2.112-31.066-2.112c-11.895 0-23.163 1.278-33.805 3.833s-20.006 6.544-28.093 11.967c-8.086 5.424-14.476 12.333-19.171 20.729-4.695 8.395-7.043 18.433-7.043 30.114 0 14.914 4.304 27.638 12.912 38.172 8.607 10.533 21.675 19.45 39.204 26.751 6.886 2.816 13.303 5.579 19.25 8.291s11.086 5.528 15.415 8.448c4.33 2.92 7.747 6.101 10.252 9.543 2.504 3.441 3.756 7.352 3.756 11.733 0 3.233-.783 6.231-2.348 8.995s-3.939 5.162-7.121 7.196-7.147 3.624-11.894 4.771c-4.748 1.148-10.303 1.721-16.668 1.721-10.851 0-21.597-1.903-32.24-5.71-10.642-3.806-20.502-9.516-29.579-17.13zm-84.159-123.342h64.22v-41.082h-179v41.082h63.906v182.918h50.874z",fill:"var(--color-background-100)",fillRule:"evenodd"})]}),t[0]=e):e=t[0],e}function eK(){var e,t=(0,O.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,S.jsx)("svg",{width:"16",height:"17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,S.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.5 7v7a2.5 2.5 0 0 1-2.5 2.5H4A2.5 2.5 0 0 1 1.5 14V.5h7.586a1 1 0 0 1 .707.293l4.414 4.414a1 1 0 0 1 .293.707V7zM13 7v7a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V2h5v5h5zM9.5 2.621V5.5h2.879L9.5 2.621z",fill:"currentColor"})}),t[0]=e):e=t[0],e}function eY(){var e,t,n=(0,O.c)(2);return n[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,S.jsx)("g",{clipPath:"url(#file_react_clip0_872_3183)",children:(0,S.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5 1.93782C4.70129 1.82161 4.99472 1.7858 5.41315 1.91053C5.83298 2.03567 6.33139 2.31073 6.87627 2.73948C7.01136 2.84578 7.14803 2.96052 7.28573 3.08331C6.86217 3.53446 6.44239 4.04358 6.03752 4.60092C5.35243 4.67288 4.70164 4.78186 4.09916 4.92309C4.06167 4.74244 4.03064 4.56671 4.00612 4.39656C3.90725 3.71031 3.91825 3.14114 4.01979 2.71499C4.12099 2.29025 4.29871 2.05404 4.5 1.93782ZM7.49466 1.95361C7.66225 2.08548 7.83092 2.22804 7.99999 2.38067C8.16906 2.22804 8.33773 2.08548 8.50532 1.95361C9.10921 1.47842 9.71982 1.12549 10.3012 0.952202C10.8839 0.778496 11.4838 0.7738 12 1.0718C12.5161 1.3698 12.812 1.89169 12.953 2.48322C13.0936 3.07333 13.0932 3.77858 12.9836 4.53917C12.9532 4.75024 12.9141 4.9676 12.8665 5.19034C13.0832 5.26044 13.291 5.33524 13.489 5.41444C14.2025 5.69983 14.8134 6.05217 15.2542 6.46899C15.696 6.8868 16 7.404 16 8C16 8.596 15.696 9.11319 15.2542 9.53101C14.8134 9.94783 14.2025 10.3002 13.489 10.5856C13.291 10.6648 13.0832 10.7396 12.8665 10.8097C12.9141 11.0324 12.9532 11.2498 12.9837 11.4608C13.0932 12.2214 13.0936 12.9267 12.953 13.5168C12.812 14.1083 12.5161 14.6302 12 14.9282C11.4839 15.2262 10.8839 15.2215 10.3012 15.0478C9.71984 14.8745 9.10923 14.5216 8.50534 14.0464C8.33775 13.9145 8.16906 13.7719 7.99999 13.6193C7.83091 13.7719 7.66223 13.9145 7.49464 14.0464C6.89075 14.5216 6.28014 14.8745 5.69879 15.0478C5.11605 15.2215 4.51613 15.2262 3.99998 14.9282C3.48383 14.6302 3.18794 14.1083 3.047 13.5168C2.9064 12.9267 2.90674 12.2214 3.01632 11.4608C3.04673 11.2498 3.08586 11.0324 3.13351 10.8097C2.91679 10.7395 2.709 10.6648 2.511 10.5856C1.79752 10.3002 1.18658 9.94783 0.745833 9.53101C0.304028 9.11319 0 8.596 0 8C0 7.404 0.304028 6.8868 0.745833 6.46899C1.18658 6.05217 1.79752 5.69983 2.511 5.41444C2.709 5.33524 2.9168 5.26044 3.13352 5.19034C3.08587 4.9676 3.04675 4.75024 3.01634 4.53917C2.90676 3.77858 2.90642 3.07332 3.04702 2.48321C3.18796 1.89169 3.48385 1.3698 4 1.0718C4.51615 0.773798 5.11607 0.778495 5.69881 0.952201C6.28016 1.12549 6.89077 1.47841 7.49466 1.95361ZM7.36747 4.51025C7.57735 4.25194 7.78881 4.00927 7.99999 3.78356C8.21117 4.00927 8.42263 4.25194 8.63251 4.51025C8.42369 4.50346 8.21274 4.5 8 4.5C7.78725 4.5 7.5763 4.50345 7.36747 4.51025ZM8.71425 3.08331C9.13781 3.53447 9.55759 4.04358 9.96246 4.60092C10.6475 4.67288 11.2983 4.78186 11.9008 4.92309C11.9383 4.74244 11.9693 4.56671 11.9939 4.39657C12.0927 3.71031 12.0817 3.14114 11.9802 2.71499C11.879 2.29025 11.7013 2.05404 11.5 1.93782C11.2987 1.82161 11.0053 1.7858 10.5868 1.91053C10.167 2.03568 9.66859 2.31073 9.12371 2.73948C8.98862 2.84578 8.85196 2.96052 8.71425 3.08331ZM8 5.5C8.48433 5.5 8.95638 5.51885 9.41188 5.55456C9.67056 5.93118 9.9229 6.33056 10.1651 6.75C10.4072 7.16944 10.6269 7.58766 10.8237 7.99998C10.6269 8.41232 10.4072 8.83055 10.165 9.25C9.92288 9.66944 9.67053 10.0688 9.41185 10.4454C8.95636 10.4812 8.48432 10.5 8 10.5C7.51567 10.5 7.04363 10.4812 6.58813 10.4454C6.32945 10.0688 6.0771 9.66944 5.83494 9.25C5.59277 8.83055 5.37306 8.41232 5.17624 7.99998C5.37306 7.58765 5.59275 7.16944 5.83492 6.75C6.07708 6.33056 6.32942 5.93118 6.5881 5.55456C7.04361 5.51884 7.51566 5.5 8 5.5ZM11.0311 6.25C11.1375 6.43423 11.2399 6.61864 11.3385 6.80287C11.4572 6.49197 11.5616 6.18752 11.6515 5.89178C11.3505 5.82175 11.0346 5.75996 10.706 5.70736C10.8163 5.8848 10.9247 6.06576 11.0311 6.25ZM11.0311 9.75C11.1374 9.56576 11.2399 9.38133 11.3385 9.19709C11.4572 9.50801 11.5617 9.81246 11.6515 10.1082C11.3505 10.1782 11.0346 10.24 10.7059 10.2926C10.8162 10.1152 10.9247 9.93424 11.0311 9.75ZM11.9249 7.99998C12.2051 8.62927 12.4362 9.24738 12.6151 9.83977C12.7903 9.78191 12.958 9.72092 13.1176 9.65708C13.7614 9.39958 14.2488 9.10547 14.5671 8.80446C14.8843 8.50445 15 8.23243 15 8C15 7.76757 14.8843 7.49555 14.5671 7.19554C14.2488 6.89453 13.7614 6.60042 13.1176 6.34292C12.958 6.27907 12.7903 6.21808 12.6151 6.16022C12.4362 6.7526 12.2051 7.37069 11.9249 7.99998ZM9.96244 11.3991C10.6475 11.3271 11.2983 11.2181 11.9008 11.0769C11.9383 11.2576 11.9694 11.4333 11.9939 11.6034C12.0928 12.2897 12.0817 12.8589 11.9802 13.285C11.879 13.7098 11.7013 13.946 11.5 14.0622C11.2987 14.1784 11.0053 14.2142 10.5868 14.0895C10.167 13.9643 9.66861 13.6893 9.12373 13.2605C8.98863 13.1542 8.85196 13.0395 8.71424 12.9167C9.1378 12.4655 9.55758 11.9564 9.96244 11.3991ZM8.63249 11.4898C8.42262 11.7481 8.21116 11.9907 7.99999 12.2164C7.78881 11.9907 7.57737 11.7481 7.36749 11.4897C7.57631 11.4965 7.78726 11.5 8 11.5C8.21273 11.5 8.42367 11.4965 8.63249 11.4898ZM4.96891 9.75C5.07528 9.93424 5.18375 10.1152 5.29404 10.2926C4.9654 10.24 4.64951 10.1782 4.34844 10.1082C4.43833 9.81246 4.54276 9.508 4.66152 9.19708C4.76005 9.38133 4.86254 9.56575 4.96891 9.75ZM6.03754 11.3991C5.35244 11.3271 4.70163 11.2181 4.09914 11.0769C4.06165 11.2576 4.03062 11.4333 4.0061 11.6034C3.90723 12.2897 3.91823 12.8589 4.01977 13.285C4.12097 13.7098 4.29869 13.946 4.49998 14.0622C4.70127 14.1784 4.9947 14.2142 5.41313 14.0895C5.83296 13.9643 6.33137 13.6893 6.87625 13.2605C7.01135 13.1542 7.14802 13.0395 7.28573 12.9167C6.86217 12.4655 6.4424 11.9564 6.03754 11.3991ZM4.07507 7.99998C3.79484 8.62927 3.56381 9.24737 3.38489 9.83977C3.20969 9.78191 3.042 9.72092 2.88239 9.65708C2.23864 9.39958 1.75123 9.10547 1.43294 8.80446C1.11571 8.50445 1 8.23243 1 8C1 7.76757 1.11571 7.49555 1.43294 7.19554C1.75123 6.89453 2.23864 6.60042 2.88239 6.34292C3.042 6.27907 3.2097 6.21808 3.3849 6.16022C3.56383 6.75261 3.79484 7.37069 4.07507 7.99998ZM4.66152 6.80287C4.54277 6.49197 4.43835 6.18752 4.34846 5.89178C4.64952 5.82175 4.96539 5.75996 5.29402 5.70736C5.18373 5.8848 5.07526 6.06576 4.96889 6.25C4.86253 6.43423 4.76005 6.61864 4.66152 6.80287ZM9.25 8C9.25 8.69036 8.69036 9.25 8 9.25C7.30964 9.25 6.75 8.69036 6.75 8C6.75 7.30965 7.30964 6.75 8 6.75C8.69036 6.75 9.25 7.30965 9.25 8Z",fill:"currentColor"})}),n[0]=e):e=n[0],n[1]===Symbol.for("react.memo_cache_sentinel")?(t=(0,S.jsxs)("svg",{height:"16",strokeLinejoin:"round",viewBox:"0 0 16 16",width:"16",children:[e,(0,S.jsx)("defs",{children:(0,S.jsx)("clipPath",{id:"file_react_clip0_872_3183",children:(0,S.jsx)("rect",{width:"16",height:"16",fill:"white"})})})]}),n[1]=t):t=n[1],t}var eX=__webpack_require__("./dist/compiled/anser/index.js"),eG=__webpack_require__.n(eX),eQ=__webpack_require__("./dist/compiled/strip-ansi/index.js"),eJ=__webpack_require__.n(eQ);function e0(e){var t=e.split(/\r?\n/g),n=t.map(function(e){return null===/^>? +\d+ +\| [ ]+/.exec(eJ()(e))?null:/^>? +\d+ +\| ( *)/.exec(eJ()(e))}).filter(Boolean).map(function(e){return e.pop()}).reduce(function(e,t){return isNaN(e)?t.length:Math.min(e,t.length)},NaN);return n>1?t.map(function(e,t){return~(t=e.indexOf("|"))?e.substring(0,t)+e.substring(t).replace("^\\ {".concat(n,"}"),""):e}).join("\n"):t.join("\n")}function e1(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}function e2(e){var t,n,r,o=e.stackFrame,a=e.codeFrame,i=(0,C.useMemo)(function(){return(function(e){var t=eG().ansiToJson(e,{json:!0,use_classes:!0,remove_empty:!0}),n=[],r=[],o=!0,a=!1,i=void 0;try{for(var l,s=t[Symbol.iterator]();!(o=(l=s.next()).done);o=!0){var c=l.value;if("string"==typeof c.content&&c.content.includes("\n"))for(var u=c.content.split("\n"),d=0;d<u.length;d++){var f=u[d];f&&r.push(function(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({},c),{content:f})),d<u.length-1&&(n.push(r),r=[])}else r.push(c)}}catch(e){a=!0,i=e}finally{try{o||null==s.return||s.return()}finally{if(a)throw i}}return r.length>0&&n.push(r),n})(e0(a)).map(function(e){var t,n,r,a,i,l,s,c,u;return{line:e,parsedLine:(t=e,n=o,((null==(r=t[0])?void 0:r.content)===">"||(null==(a=t[0])?void 0:a.content)===" ")&&(s=null==(l=t[1])||null==(u=l.content)||null==(c=u.replace("|",""))?void 0:c.trim()),{lineNumber:s,isErroredLine:s===(null==(i=n.line1)?void 0:i.toString())})}})},[a,o]),l=eM({file:o.file,line1:null!=(n=o.line1)?n:1,column1:null!=(r=o.column1)?r:1}),s=null==o||null==(t=o.file)?void 0:t.split(".").pop();return(0,S.jsxs)("div",{"data-nextjs-codeframe":!0,children:[(0,S.jsx)("div",{className:"code-frame-header",children:(0,S.jsxs)("p",{className:"code-frame-link",children:[(0,S.jsx)("span",{className:"code-frame-icon",children:(0,S.jsx)(eB,{lang:s})}),(0,S.jsxs)("span",{"data-text":!0,children:[eD(o)," @"," ",(0,S.jsx)(eP,{text:o.methodName})]}),(0,S.jsx)("button",{"aria-label":"Open in editor","data-with-open-in-editor-link-source-file":!0,onClick:l,children:(0,S.jsx)("span",{className:"code-frame-icon","data-icon":"right",children:(0,S.jsx)(eH,{width:16,height:16})})})]})}),(0,S.jsx)("pre",{className:"code-frame-pre",children:(0,S.jsx)("div",{className:"code-frame-lines",children:i.map(function(e,t){var n,r,o=e.line,a=e.parsedLine,i=a.lineNumber,l=a.isErroredLine,s={};return i&&(s["data-nextjs-codeframe-line"]=i),l&&(s["data-nextjs-codeframe-line--errored"]=!0),(0,S.jsx)("div",(n=e1({},s),r=r={children:o.map(function(e,t){return(0,S.jsx)("span",{style:e1({color:e.fg?"var(--color-".concat(e.fg,")"):void 0},"bold"===e.decoration?{fontWeight:500}:"italic"===e.decoration?{fontStyle:"italic"}:void 0),children:e.content},"frame-".concat(t))})},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(r)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}),n),"line-".concat(t))})})})]})}var e3=function(e){var t,n,r,o,a,i,l=(0,O.c)(8);return(l[0]!==e?(a=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["children","className"]),r=e.children,o=e.className,l[0]=e,l[1]=r,l[2]=o,l[3]=a):(r=l[1],o=l[2],a=l[3]),l[4]!==r||l[5]!==o||l[6]!==a)?(i=(0,S.jsx)("div",(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({"data-nextjs-dialog-body":!0,className:o},a),n=n={children:r},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t)),l[4]=r,l[5]=o,l[6]=a,l[7]=i):i=l[7],i},e4=function(e){var t,n,r,o,a,i,l=(0,O.c)(8);return(l[0]!==e?(a=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["children","className"]),r=e.children,o=e.className,l[0]=e,l[1]=r,l[2]=o,l[3]=a):(r=l[1],o=l[2],a=l[3]),l[4]!==r||l[5]!==o||l[6]!==a)?(i=(0,S.jsx)("div",(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({"data-nextjs-dialog-content":!0,className:o},a),n=n={children:r},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t)),l[4]=r,l[5]=o,l[6]=a,l[7]=i):i=l[7],i};function e5(){var e,t,n=(e=["\n [data-nextjs-dialog-root] {\n --next-dialog-radius: var(--rounded-xl);\n --next-dialog-max-width: 960px;\n --next-dialog-row-padding: 16px;\n --next-dialog-padding: 12px;\n --next-dialog-notch-height: 42px;\n --next-dialog-border-width: 1px;\n\n display: flex;\n flex-direction: column;\n width: 100%;\n max-height: calc(100% - 56px);\n max-width: var(--next-dialog-max-width);\n margin-right: auto;\n margin-left: auto;\n scale: 0.97;\n opacity: 0;\n transition-property: scale, opacity;\n transition-duration: var(--transition-duration);\n transition-timing-function: var(--timing-overlay);\n\n &[data-rendered='true'] {\n opacity: 1;\n scale: 1;\n }\n\n [data-nextjs-scroll-fader][data-side='top'] {\n left: 1px;\n top: calc(\n var(--next-dialog-notch-height) + var(--next-dialog-border-width)\n );\n width: calc(100% - var(--next-dialog-padding));\n opacity: 0;\n }\n }\n\n [data-nextjs-dialog] {\n outline: 0;\n }\n\n [data-nextjs-dialog-backdrop] {\n opacity: 0;\n transition: opacity var(--transition-duration) var(--timing-overlay);\n }\n\n [data-nextjs-dialog-overlay] {\n margin: 8px;\n }\n\n [data-nextjs-dialog-overlay][data-rendered='true']\n [data-nextjs-dialog-backdrop] {\n opacity: 1;\n }\n\n [data-nextjs-dialog-content] {\n border: none;\n margin: 0;\n display: flex;\n flex-direction: column;\n position: relative;\n padding: var(--next-dialog-padding);\n }\n\n [data-nextjs-dialog-content] > [data-nextjs-dialog-header] {\n flex-shrink: 0;\n margin-bottom: 8px;\n }\n\n [data-nextjs-dialog-content] > [data-nextjs-dialog-body] {\n position: relative;\n flex: 1 1 auto;\n }\n\n @media (max-height: 812px) {\n [data-nextjs-dialog-overlay] {\n max-height: calc(100% - 15px);\n }\n }\n\n @media (min-width: 576px) {\n [data-nextjs-dialog-root] {\n --next-dialog-max-width: 540px;\n }\n }\n\n @media (min-width: 768px) {\n [data-nextjs-dialog-root] {\n --next-dialog-max-width: 720px;\n }\n }\n\n @media (min-width: 992px) {\n [data-nextjs-dialog-root] {\n --next-dialog-max-width: 960px;\n }\n }\n"],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return e5=function(){return n},n}var e6=eg(e5());function e9(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(Boolean).join(" ")}function e8(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function e7(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}function te(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function tt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return e8(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return e8(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tn(e,t){return"reset"===t.type?{state:"initial"}:"copied"===t.type?{state:"success"}:"copying"===t.type?{state:"pending"}:"error"===t.type?{state:"error",error:t.error}:e}function tr(e){return{state:"error",error:e}}function to(){return{state:"success"}}var ta="function"==typeof C.useActionState?function(e){var t,n,r,o,a,i=(0,O.c)(8);i[0]!==e?(t=function(t,n){return"reset"===n?{state:"initial"}:"copy"===n?navigator.clipboard?navigator.clipboard.writeText(e).then(to,tr):{state:"error",error:"Copy to clipboard is not supported in this browser"}:t},i[0]=e,i[1]=t):t=i[1],i[2]===Symbol.for("react.memo_cache_sentinel")?(n={state:"initial"},i[2]=n):n=i[2];var l=tt(C.useActionState(t,n),3),s=l[0],c=l[1],u=l[2];i[3]===Symbol.for("react.memo_cache_sentinel")?(r=function(){C.startTransition(function(){c("copy")})},i[3]=r):r=i[3];var d=r;i[4]===Symbol.for("react.memo_cache_sentinel")?(o=function(){c("reset")},i[4]=o):o=i[4];var f=o;return i[5]!==s||i[6]!==u?(a=[s,d,f,u],i[5]=s,i[6]=u,i[7]=a):a=i[7],a}:function(e){var t,n,r,o,a,i,l,s=(0,O.c)(14);s[0]===Symbol.for("react.memo_cache_sentinel")?(t={state:"initial"},s[0]=t):t=s[0];var c=tt(C.useReducer(tn,t),2),u=c[0],d=c[1];return s[1]!==e||s[2]!==u.state?(s[6]!==e?(a=function(){r||(navigator.clipboard?(d({type:"copying"}),navigator.clipboard.writeText(e).then(function(){d({type:"copied"})},function(e){d({type:"error",error:e})})):d({type:"error",error:"Copy to clipboard is not supported in this browser"}))},s[6]=e,s[7]=a):a=s[7],n=a,s[8]===Symbol.for("react.memo_cache_sentinel")?(i=function(){d({type:"reset"})},s[8]=i):i=s[8],o=i,r="pending"===u.state,s[1]=e,s[2]=u.state,s[3]=n,s[4]=r,s[5]=o):(n=s[3],r=s[4],o=s[5]),s[9]!==n||s[10]!==u||s[11]!==r||s[12]!==o?(l=[u,n,o,r],s[9]=n,s[10]=u,s[11]=r,s[12]=o,s[13]=l):l=s[13],l};function ti(e){var t,n,r,o,a,i,l,s,c,u,d,f,p,h,m,g,y=(0,O.c)(38);y[0]!==e?(i=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["content","getContent","actionLabel","successLabel","icon","disabled"]),n=e.content,o=e.getContent,t=e.actionLabel,l=e.successLabel,a=e.icon,r=e.disabled,y[0]=e,y[1]=t,y[2]=n,y[3]=r,y[4]=o,y[5]=a,y[6]=i,y[7]=l):(t=y[1],n=y[2],r=y[3],o=y[4],a=y[5],i=y[6],l=y[7]),y[8]!==n||y[9]!==o?(s=n||(o?o():""),y[8]=n,y[9]=o,y[10]=s):s=y[10];var v=tt(ta(s),4),b=v[0],x=v[1],w=v[2],_=v[3],j="error"===b.state?b.error:null;y[11]!==j?(c=function(){null!==j&&console.warn(j)},u=[j],y[11]=j,y[12]=c,y[13]=u):(c=y[12],u=y[13]),C.useEffect(c,u),y[14]!==b.state||y[15]!==w?(d=function(){if("success"===b.state){var e=setTimeout(function(){w()},2e3);return function(){clearTimeout(e)}}},y[14]=b.state,y[15]=w,y[16]=d):d=y[16],y[17]!==b.state||y[18]!==_||y[19]!==w?(f=[_,b.state,w],y[17]=b.state,y[18]=_,y[19]=w,y[20]=f):f=y[20],C.useEffect(d,f);var k=!navigator.clipboard||_||r||!!j,P="success"===b.state?l:t;y[21]!==b.state||y[22]!==a?(p="success"===b.state?(0,S.jsx)(ts,{}):a||(0,S.jsx)(tl,{width:14,height:14,className:"error-overlay-toolbar-button-icon"}),y[21]=b.state,y[22]=a,y[23]=p):p=y[23];var E=p,T="nextjs-data-copy-button--".concat(b.state);y[24]!==e.className||y[25]!==T?(h=e9(e.className,"nextjs-data-copy-button",T),y[24]=e.className,y[25]=T,y[26]=h):h=y[26],y[27]!==x||y[28]!==k?(m=function(){k||x()},y[27]=x,y[28]=k,y[29]=m):m=y[29];var N="error"===b.state?" ".concat(b.error):null;return y[30]!==k||y[31]!==P||y[32]!==E||y[33]!==i||y[34]!==h||y[35]!==m||y[36]!==N?(g=(0,S.jsxs)("button",te(e7({},i),{type:"button",title:P,"aria-label":P,"aria-disabled":k,disabled:k,"data-nextjs-copy-button":!0,className:h,onClick:m,children:[E,N]})),y[30]=k,y[31]=P,y[32]=E,y[33]=i,y[34]=h,y[35]=m,y[36]=N,y[37]=g):g=y[37],g}function tl(e){var t,n,r=(0,O.c)(3);return r[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,S.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.406.438c-.845 0-1.531.685-1.531 1.53v6.563c0 .846.686 1.531 1.531 1.531H3.937V8.75H2.406a.219.219 0 0 1-.219-.219V1.97c0-.121.098-.219.22-.219h4.812c.12 0 .218.098.218.219v.656H8.75v-.656c0-.846-.686-1.532-1.531-1.532H2.406zm4.375 3.5c-.845 0-1.531.685-1.531 1.53v6.563c0 .846.686 1.531 1.531 1.531h4.813c.845 0 1.531-.685 1.531-1.53V5.468c0-.846-.686-1.532-1.531-1.532H6.78zm-.218 1.53c0-.12.097-.218.218-.218h4.813c.12 0 .219.098.219.219v6.562c0 .121-.098.219-.22.219H6.782a.219.219 0 0 1-.218-.219V5.47z",fill:"currentColor"}),r[0]=t):t=r[0],r[1]!==e?(n=(0,S.jsx)("svg",te(e7({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{children:t})),r[1]=e,r[2]=n):n=r[2],n}function ts(){var e,t=(0,O.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,S.jsx)("svg",{height:"16",xlinkTitle:"copied",viewBox:"0 0 16 16",width:"16",stroke:"currentColor",fill:"currentColor",children:(0,S.jsx)("path",{d:"M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"})}),t[0]=e):e=t[0],e}function tc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function tu(e,t,n,r,o,a,i){try{var l=e[a](i),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,o)}function td(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}function tf(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function tp(e){var t,n,r,o,a,i,l,s,c,u,d,f,p,h=(0,O.c)(14);return h[0]===Symbol.for("react.memo_cache_sentinel")?(t={maskType:"luminance"},h[0]=t):t=h[0],h[1]===Symbol.for("react.memo_cache_sentinel")?(n=(0,S.jsx)("mask",{id:"nodejs_icon_mask_a",style:t,maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"14",height:"14",children:(0,S.jsx)("path",{d:"M6.67.089 1.205 3.256a.663.663 0 0 0-.33.573v6.339c0 .237.126.455.33.574l5.466 3.17a.66.66 0 0 0 .66 0l5.465-3.17a.664.664 0 0 0 .329-.574V3.829a.663.663 0 0 0-.33-.573L7.33.089a.663.663 0 0 0-.661 0",fill:"#fff"})}),h[1]=n):n=h[1],h[2]===Symbol.for("react.memo_cache_sentinel")?(r=(0,S.jsx)("g",{mask:"url(#nodejs_icon_mask_a)",children:(0,S.jsx)("path",{d:"M18.648 2.717 3.248-4.86-4.648 11.31l15.4 7.58 7.896-16.174z",fill:"url(#nodejs_icon_linear_gradient_b)"})}),h[2]=r):r=h[2],h[3]===Symbol.for("react.memo_cache_sentinel")?(o={maskType:"luminance"},h[3]=o):o=h[3],h[4]===Symbol.for("react.memo_cache_sentinel")?(a=(0,S.jsx)("mask",{id:"nodejs_icon_mask_c",style:o,maskUnits:"userSpaceOnUse",x:"1",y:"0",width:"12",height:"14",children:(0,S.jsx)("path",{d:"M1.01 10.57a.663.663 0 0 0 .195.17l4.688 2.72.781.45a.66.66 0 0 0 .51.063l5.764-10.597a.653.653 0 0 0-.153-.122L9.216 1.18 7.325.087a.688.688 0 0 0-.171-.07L1.01 10.57z",fill:"#fff"})}),h[4]=a):a=h[4],h[5]===Symbol.for("react.memo_cache_sentinel")?(i=(0,S.jsx)("g",{mask:"url(#nodejs_icon_mask_c)",children:(0,S.jsx)("path",{d:"M-5.647 4.958 5.226 19.734l14.38-10.667L8.734-5.71-5.647 4.958z",fill:"url(#nodejs_icon_linear_gradient_d)"})}),h[5]=i):i=h[5],h[6]===Symbol.for("react.memo_cache_sentinel")?(l={maskType:"luminance"},h[6]=l):l=h[6],h[7]===Symbol.for("react.memo_cache_sentinel")?(s=(0,S.jsx)("mask",{id:"nodejs_icon_mask_e",style:l,maskUnits:"userSpaceOnUse",x:"1",y:"0",width:"13",height:"14",children:(0,S.jsx)("path",{d:"M6.934.004A.665.665 0 0 0 6.67.09L1.22 3.247l5.877 10.746a.655.655 0 0 0 .235-.08l5.465-3.17a.665.665 0 0 0 .319-.453L7.126.015a.684.684 0 0 0-.189-.01",fill:"#fff"})}),h[7]=s):s=h[7],h[8]===Symbol.for("react.memo_cache_sentinel")?(c=(0,S.jsxs)("g",{children:[s,(0,S.jsx)("g",{mask:"url(#nodejs_icon_mask_e)",children:(0,S.jsx)("path",{d:"M1.22.002v13.992h11.894V.002H1.22z",fill:"url(#nodejs_icon_linear_gradient_f)"})})]}),h[8]=c):c=h[8],h[9]===Symbol.for("react.memo_cache_sentinel")?(u=(0,S.jsxs)("linearGradient",{id:"nodejs_icon_linear_gradient_b",x1:"10.943",y1:"-1.084",x2:"2.997",y2:"15.062",gradientUnits:"userSpaceOnUse",children:[(0,S.jsx)("stop",{offset:".3",stopColor:"#3E863D"}),(0,S.jsx)("stop",{offset:".5",stopColor:"#55934F"}),(0,S.jsx)("stop",{offset:".8",stopColor:"#5AAD45"})]}),h[9]=u):u=h[9],h[10]===Symbol.for("react.memo_cache_sentinel")?(d=(0,S.jsxs)("linearGradient",{id:"nodejs_icon_linear_gradient_d",x1:"-.145",y1:"12.431",x2:"14.277",y2:"1.818",gradientUnits:"userSpaceOnUse",children:[(0,S.jsx)("stop",{offset:".57",stopColor:"#3E863D"}),(0,S.jsx)("stop",{offset:".72",stopColor:"#619857"}),(0,S.jsx)("stop",{offset:"1",stopColor:"#76AC64"})]}),h[10]=d):d=h[10],h[11]===Symbol.for("react.memo_cache_sentinel")?(f=(0,S.jsxs)("defs",{children:[u,d,(0,S.jsxs)("linearGradient",{id:"nodejs_icon_linear_gradient_f",x1:"1.225",y1:"6.998",x2:"13.116",y2:"6.998",gradientUnits:"userSpaceOnUse",children:[(0,S.jsx)("stop",{offset:".16",stopColor:"#6BBF47"}),(0,S.jsx)("stop",{offset:".38",stopColor:"#79B461"}),(0,S.jsx)("stop",{offset:".47",stopColor:"#75AC64"}),(0,S.jsx)("stop",{offset:".7",stopColor:"#659E5A"}),(0,S.jsx)("stop",{offset:".9",stopColor:"#3E863D"})]})]}),h[11]=f):f=h[11],h[12]!==e?(p=(0,S.jsxs)("svg",tf(td({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{children:[n,r,a,i,c,f]})),h[12]=e,h[13]=p):p=h[13],p}function th(e){var t,n,r,o,a,i,l,s,c,u,d,f,p,h=(0,O.c)(14);return h[0]===Symbol.for("react.memo_cache_sentinel")?(t={maskType:"luminance"},h[0]=t):t=h[0],h[1]===Symbol.for("react.memo_cache_sentinel")?(n=(0,S.jsx)("mask",{id:"nodejs_icon_mask_a",style:t,maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"14",height:"14",children:(0,S.jsx)("path",{d:"M6.67.089 1.205 3.256a.663.663 0 0 0-.33.573v6.339c0 .237.126.455.33.574l5.466 3.17a.66.66 0 0 0 .66 0l5.465-3.17a.664.664 0 0 0 .329-.574V3.829a.663.663 0 0 0-.33-.573L7.33.089a.663.663 0 0 0-.661 0",fill:"#fff"})}),h[1]=n):n=h[1],h[2]===Symbol.for("react.memo_cache_sentinel")?(r=(0,S.jsx)("g",{mask:"url(#nodejs_icon_mask_a)",children:(0,S.jsx)("path",{d:"M18.648 2.717 3.248-4.86-4.646 11.31l15.399 7.58 7.896-16.174z",fill:"url(#nodejs_icon_linear_gradient_b)"})}),h[2]=r):r=h[2],h[3]===Symbol.for("react.memo_cache_sentinel")?(o={maskType:"luminance"},h[3]=o):o=h[3],h[4]===Symbol.for("react.memo_cache_sentinel")?(a=(0,S.jsx)("mask",{id:"nodejs_icon_mask_c",style:o,maskUnits:"userSpaceOnUse",x:"1",y:"0",width:"12",height:"15",children:(0,S.jsx)("path",{d:"M1.01 10.571a.66.66 0 0 0 .195.172l4.688 2.718.781.451a.66.66 0 0 0 .51.063l5.764-10.597a.653.653 0 0 0-.153-.122L9.216 1.181 7.325.09a.688.688 0 0 0-.171-.07L1.01 10.572z",fill:"#fff"})}),h[4]=a):a=h[4],h[5]===Symbol.for("react.memo_cache_sentinel")?(i=(0,S.jsx)("g",{mask:"url(#nodejs_icon_mask_c)",children:(0,S.jsx)("path",{d:"M-5.647 4.96 5.226 19.736 19.606 9.07 8.734-5.707-5.647 4.96z",fill:"url(#nodejs_icon_linear_gradient_d)"})}),h[5]=i):i=h[5],h[6]===Symbol.for("react.memo_cache_sentinel")?(l={maskType:"luminance"},h[6]=l):l=h[6],h[7]===Symbol.for("react.memo_cache_sentinel")?(s=(0,S.jsx)("mask",{id:"nodejs_icon_mask_e",style:l,maskUnits:"userSpaceOnUse",x:"1",y:"0",width:"13",height:"14",children:(0,S.jsx)("path",{d:"M6.935.003a.665.665 0 0 0-.264.085l-5.45 3.158 5.877 10.747a.653.653 0 0 0 .235-.082l5.465-3.17a.665.665 0 0 0 .319-.452L7.127.014a.684.684 0 0 0-.189-.01",fill:"#fff"})}),h[7]=s):s=h[7],h[8]===Symbol.for("react.memo_cache_sentinel")?(c=(0,S.jsxs)("g",{children:[s,(0,S.jsx)("g",{mask:"url(#nodejs_icon_mask_e)",children:(0,S.jsx)("path",{d:"M1.222.001v13.992h11.893V0H1.222z",fill:"url(#nodejs_icon_linear_gradient_f)"})})]}),h[8]=c):c=h[8],h[9]===Symbol.for("react.memo_cache_sentinel")?(u=(0,S.jsxs)("linearGradient",{id:"nodejs_icon_linear_gradient_b",x1:"10.944",y1:"-1.084",x2:"2.997",y2:"15.062",gradientUnits:"userSpaceOnUse",children:[(0,S.jsx)("stop",{offset:".3",stopColor:"#676767"}),(0,S.jsx)("stop",{offset:".5",stopColor:"#858585"}),(0,S.jsx)("stop",{offset:".8",stopColor:"#989A98"})]}),h[9]=u):u=h[9],h[10]===Symbol.for("react.memo_cache_sentinel")?(d=(0,S.jsxs)("linearGradient",{id:"nodejs_icon_linear_gradient_d",x1:"-.145",y1:"12.433",x2:"14.277",y2:"1.819",gradientUnits:"userSpaceOnUse",children:[(0,S.jsx)("stop",{offset:".57",stopColor:"#747474"}),(0,S.jsx)("stop",{offset:".72",stopColor:"#707070"}),(0,S.jsx)("stop",{offset:"1",stopColor:"#929292"})]}),h[10]=d):d=h[10],h[11]===Symbol.for("react.memo_cache_sentinel")?(f=(0,S.jsxs)("defs",{children:[u,d,(0,S.jsxs)("linearGradient",{id:"nodejs_icon_linear_gradient_f",x1:"1.226",y1:"6.997",x2:"13.117",y2:"6.997",gradientUnits:"userSpaceOnUse",children:[(0,S.jsx)("stop",{offset:".16",stopColor:"#878787"}),(0,S.jsx)("stop",{offset:".38",stopColor:"#A9A9A9"}),(0,S.jsx)("stop",{offset:".47",stopColor:"#A5A5A5"}),(0,S.jsx)("stop",{offset:".7",stopColor:"#8F8F8F"}),(0,S.jsx)("stop",{offset:".9",stopColor:"#626262"})]})]}),h[11]=f):f=h[11],h[12]!==e?(p=(0,S.jsxs)("svg",tf(td({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{children:[n,r,a,i,c,f]})),h[12]=e,h[13]=p):p=h[13],p}function tm(e){var t,n=e.defaultDevtoolsFrontendUrl,r=(t=(0,C.useActionState)(function(){var e;return(e=function(){var e,t,n,r;return function(e,t){var n,r,o,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=l(0),i.throw=l(1),i.return=l(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(s){var c=[l,s];if(n)throw TypeError("Generator is already executing.");for(;i&&(i=0,c[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,r=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===c[0]||2===c[0])){a=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){a.label=c[1];break}if(6===c[0]&&a.label<o[1]){a.label=o[1],o=c;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(c);break}o[2]&&a.ops.pop(),a.trys.pop();continue}c=t.call(e,a)}catch(e){c=[6,e],r=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}(this,function(o){switch(o.label){case 0:return o.trys.push([0,5,,6]),[4,fetch("/__nextjs_attach-nodejs-inspector",{method:"POST"})];case 1:if((e=o.sent()).ok)return[3,3];return t=Error.bind,r=(n="".concat(e.status," ").concat(e.statusText,": ")).concat,[4,e.text()];case 2:throw new(t.apply(Error,[void 0,r.apply(n,[o.sent()])]));case 3:return[4,e.json()];case 4:return[2,{status:"fulfilled",value:o.sent()}];case 5:return[2,{status:"rejected",reason:Error("Failed to attach Node.js inspector: "+String(o.sent()))}];case 6:return[2]}})},function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function i(e){tu(a,r,o,i,l,"next",e)}function l(e){tu(a,r,o,i,l,"throw",e)}i(void 0)})})()},{status:"fulfilled",value:n}),function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),3!==a.length);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(t,3)||function(e,t){if(e){if("string"==typeof e)return tc(e,3);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return tc(e,3)}}(t,3)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=r[0],a=r[1],i=r[2],l="fulfilled"===o.status?o.value:void 0;(0,C.useEffect)(function(){"rejected"===o.status&&console.error(o.reason)},[o]);var s=C.startTransition.bind(null,a);return void 0===l?(0,S.jsx)("button",{className:"nodejs-inspector-button","data-pending":i,onClick:i?void 0:s,title:"rejected"===o.status?"Retry attaching Node.js inspector":"Attach Node.js inspector",children:(0,S.jsx)(th,{className:"error-overlay-toolbar-button-icon",width:14,height:14})}):(0,S.jsx)(ti,{"data-nextjs-data-runtime-error-copy-devtools-url":!0,className:"nodejs-inspector-button",actionLabel:"Copy DevTools URL for Chrome",successLabel:"Copied",content:l,icon:(0,S.jsx)(tp,{className:"error-overlay-toolbar-button-icon",width:14,height:14})})}function tg(e){var t,n=(0,O.c)(3),r=e.error,o=e.generateErrorInfo,a=!r;return n[0]!==o||n[1]!==a?(t=(0,S.jsx)(ti,{"data-nextjs-data-runtime-error-copy-stack":!0,className:"copy-error-button",actionLabel:"Copy Error Info",successLabel:"Error Info Copied",getContent:o,disabled:a}),n[0]=o,n[1]=a,n[2]=t):t=n[2],t}function ty(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function tv(e){if(Array.isArray(e))return e}function tb(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function tx(e,t){return tv(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(e,t)||t_(e,t)||tb()}function tw(e){return tv(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||t_(e)||tb()}function t_(e,t){if(e){if("string"==typeof e)return ty(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ty(e,t)}}var tj="https://react.dev/link/hydration-mismatch",tk="https://nextjs.org/docs/messages/react-hydration-error",tS=[/^In HTML, (.+?) cannot be a child of <(.+?)>\.(.*)\nThis will cause a hydration error\.(.*)/,/^In HTML, (.+?) cannot be a descendant of <(.+?)>\.\nThis will cause a hydration error\.(.*)/,/^In HTML, text nodes cannot be a child of <(.+?)>\.\nThis will cause a hydration error\./,/^In HTML, whitespace text nodes cannot be a child of <(.+?)>\. Make sure you don't have any extra whitespace between tags on each line of your source code\.\nThis will cause a hydration error\./];function tO(e){return tS.some(function(t){return t.test(e)})}var tC=["https://nextjs.org","https://react.dev"];function tP(e){return tC.some(function(t){return e.startsWith(t)})}function tE(e){var t,n,r,o,a=(0,O.c)(6),i=e.errorMessage;a[0]!==i?(t=function(e){var t,n,r,o=(t=e,n=tP,r=Array.from(t.matchAll(/https?:\/\/[^\s/$.?#].[^\s)'"]*/gi),function(e){return e[0]}),n?r.filter(function(e){return n(e)}):r);if(0===o.length)return null;var a=o[0];return a===tj?tk:a}(i),a[0]=i,a[1]=t):t=a[1];var l=t;return l?(a[3]===Symbol.for("react.memo_cache_sentinel")?(r=(0,S.jsx)(tT,{className:"error-overlay-toolbar-button-icon",width:14,height:14}),a[3]=r):r=a[3],a[4]!==l?(o=(0,S.jsx)("a",{title:"Go to related documentation","aria-label":"Go to related documentation",className:"docs-link-button",href:l,target:"_blank",rel:"noopener noreferrer",children:r}),a[4]=l,a[5]=o):o=a[5],o):(a[2]===Symbol.for("react.memo_cache_sentinel")?(n=(0,S.jsx)("button",{title:"No related documentation found","aria-label":"No related documentation found",className:"docs-link-button",disabled:!0,children:(0,S.jsx)(tT,{className:"error-overlay-toolbar-button-icon",width:14,height:14})}),a[2]=n):n=a[2],n)}function tT(e){var t,n,r,o,a=(0,O.c)(3);return(a[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,S.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 .875h4.375C5.448.875 6.401 1.39 7 2.187A3.276 3.276 0 0 1 9.625.875H14v11.156H9.4c-.522 0-1.023.208-1.392.577l-.544.543h-.928l-.544-.543c-.369-.37-.87-.577-1.392-.577H0V.875zm6.344 3.281a1.969 1.969 0 0 0-1.969-1.968H1.312v8.53H4.6c.622 0 1.225.177 1.744.502V4.156zm1.312 7.064V4.156c0-1.087.882-1.968 1.969-1.968h3.063v8.53H9.4c-.622 0-1.225.177-1.744.502z",fill:"currentColor"}),a[0]=r):r=a[0],a[1]!==e)?(o=(0,S.jsx)("svg",(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n=n={children:r},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t)),a[1]=e,a[2]=o):o=a[2],o}function tN(e){var t,n,r,o,a=(0,O.c)(13),i=e.error,l=e.debugInfo,s=e.feedbackButton,c=e.generateErrorInfo;a[0]!==i||a[1]!==c?(t=(0,S.jsx)(tg,{error:i,generateErrorInfo:c}),a[0]=i,a[1]=c,a[2]=t):t=a[2],a[3]!==i.message?(n=(0,S.jsx)(tE,{errorMessage:i.message}),a[3]=i.message,a[4]=n):n=a[4];var u=null==l?void 0:l.devtoolsFrontendUrl,d=null==l?void 0:l.devtoolsFrontendUrl;return a[5]!==u||a[6]!==d?(r=(0,S.jsx)(tm,{defaultDevtoolsFrontendUrl:d},u),a[5]=u,a[6]=d,a[7]=r):r=a[7],a[8]!==s||a[9]!==t||a[10]!==n||a[11]!==r?(o=(0,S.jsxs)("span",{className:"error-overlay-toolbar",children:[s,t,n,r]}),a[8]=s,a[9]=t,a[10]=n,a[11]=r,a[12]=o):o=a[12],o}function tI(e){var t,n,r,o,a=(0,O.c)(3);return(a[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,S.jsx)("g",{id:"thumb-up-16",children:(0,S.jsx)("path",{id:"Union",fillRule:"evenodd",clipRule:"evenodd",d:"M6.89531 2.23959C6.72984 2.1214 6.5 2.23968 6.5 2.44303V5.24989C6.5 6.21639 5.7165 6.99989 4.75 6.99989H2.5V13.4999H12.1884C12.762 13.4999 13.262 13.1095 13.4011 12.5531L14.4011 8.55306C14.5984 7.76412 14.0017 6.99989 13.1884 6.99989H9.25H8.5V6.24989V3.51446C8.5 3.43372 8.46101 3.35795 8.39531 3.31102L6.89531 2.23959ZM5 2.44303C5 1.01963 6.6089 0.191656 7.76717 1.01899L9.26717 2.09042C9.72706 2.41892 10 2.94929 10 3.51446V5.49989H13.1884C14.9775 5.49989 16.2903 7.18121 15.8563 8.91686L14.8563 12.9169C14.5503 14.1411 13.4503 14.9999 12.1884 14.9999H1.75H1V14.2499V6.24989V5.49989H1.75H4.75C4.88807 5.49989 5 5.38796 5 5.24989V2.44303Z",fill:"currentColor"})}),a[0]=r):r=a[0],a[1]!==e)?(o=(0,S.jsx)("svg",(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"thumbs-up-icon"},e),n=n={children:r},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t)),a[1]=e,a[2]=o):o=a[2],o}function tL(e){var t,n,r,o,a=(0,O.c)(3);return(a[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,S.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.89531 12.7603C5.72984 12.8785 5.5 12.7602 5.5 12.5569V9.75C5.5 8.7835 4.7165 8 3.75 8H1.5V1.5H11.1884C11.762 1.5 12.262 1.89037 12.4011 2.44683L13.4011 6.44683C13.5984 7.23576 13.0017 8 12.1884 8H8.25H7.5V8.75V11.4854C7.5 11.5662 7.46101 11.6419 7.39531 11.6889L5.89531 12.7603ZM4 12.5569C4 13.9803 5.6089 14.8082 6.76717 13.9809L8.26717 12.9095C8.72706 12.581 9 12.0506 9 11.4854V9.5H12.1884C13.9775 9.5 15.2903 7.81868 14.8563 6.08303L13.8563 2.08303C13.5503 0.858816 12.4503 0 11.1884 0H0.75H0V0.75V8.75V9.5H0.75H3.75C3.88807 9.5 4 9.61193 4 9.75V12.5569Z",fill:"currentColor"}),a[0]=r):r=a[0],a[1]!==e)?(o=(0,S.jsx)("svg",(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"thumbs-down-icon"},e),n=n={children:r},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t)),a[1]=e,a[2]=o):o=a[2],o}function tA(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function tz(e,t,n,r,o,a,i){try{var l=e[a](i),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,o)}function tR(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tD(e){var t,n=e.errorCode,r=e.className,o=(t=(0,C.useState)({}),function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),2!==a.length);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(t,2)||function(e,t){if(e){if("string"==typeof e)return tA(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return tA(e,2)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=o[0],i=o[1],l=a[n],s=process.env.__NEXT_TELEMETRY_DISABLED,c=(0,C.useCallback)(function(e){var t;return(t=function(){return function(e,t){var n,r,o,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=l(0),i.throw=l(1),i.return=l(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(s){var c=[l,s];if(n)throw TypeError("Generator is already executing.");for(;i&&(i=0,c[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,r=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===c[0]||2===c[0])){a=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){a.label=c[1];break}if(6===c[0]&&a.label<o[1]){a.label=o[1],o=c;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(c);break}o[2]&&a.ops.pop(),a.trys.pop();continue}c=t.call(e,a)}catch(e){c=[6,e],r=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}(this,function(t){switch(t.label){case 0:i(function(t){var r,o;return r=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){tR(e,t,n[t])})}return e}({},t),o=null!=(o=tR({},n,e))?o:{},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(o)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(o,e))}),r}),t.label=1;case 1:return t.trys.push([1,3,,4]),[4,fetch("".concat(process.env.__NEXT_ROUTER_BASEPATH||"","/__nextjs_error_feedback?").concat(new URLSearchParams({errorCode:n,wasHelpful:e.toString()})))];case 2:return t.sent().ok||console.error("Failed to record feedback on the server."),[3,4];case 3:return console.error("Failed to record feedback:",t.sent()),[3,4];case 4:return[2]}})},function(){var e=this,n=arguments;return new Promise(function(r,o){var a=t.apply(e,n);function i(e){tz(a,r,o,i,l,"next",e)}function l(e){tz(a,r,o,i,l,"throw",e)}i(void 0)})})()},[n]);return(0,S.jsx)("div",{className:e9("error-feedback",r),role:"region","aria-label":"Error feedback",children:void 0!==l?(0,S.jsx)("p",{className:"error-feedback-thanks",role:"status","aria-live":"polite",children:"Thanks for your feedback!"}):(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)("p",{children:(0,S.jsx)("a",{href:"https://nextjs.org/telemetry#error-feedback",rel:"noopener noreferrer",target:"_blank",children:"Was this helpful?"})}),(0,S.jsx)("button",{"aria-disabled":s?"true":void 0,"aria-label":"Mark as helpful",onClick:s?void 0:function(){return c(!0)},className:e9("feedback-button",!0===l&&"voted"),title:s?"Feedback disabled due to setting NEXT_TELEMETRY_DISABLED":void 0,type:"button",children:(0,S.jsx)(tI,{"aria-hidden":"true"})}),(0,S.jsx)("button",{"aria-disabled":s?"true":void 0,"aria-label":"Mark as not helpful",onClick:s?void 0:function(){return c(!1)},className:e9("feedback-button",!1===l&&"voted"),title:s?"Feedback disabled due to setting NEXT_TELEMETRY_DISABLED":void 0,type:"button",children:(0,S.jsx)(tL,{"aria-hidden":"true",style:{translate:"1px 1px"}})})]})})}function tM(e){var t,n,r=(0,O.c)(4),o=e.errorCode;return r[0]!==o?(t=o?(0,S.jsx)(tD,{className:"error-feedback",errorCode:o}):null,r[0]=o,r[1]=t):t=r[1],r[2]!==t?(n=(0,S.jsx)("footer",{"data-nextjs-error-overlay-footer":!0,className:"error-overlay-footer",children:t}),r[2]=t,r[3]=n):n=r[3],n}var tZ="\n .error-overlay-footer {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n\n gap: 8px;\n padding: 12px;\n background: var(--color-background-200);\n border-top: 1px solid var(--color-gray-400);\n }\n\n .error-feedback {\n margin-left: auto;\n\n p {\n font-size: var(--size-14);\n font-weight: 500;\n margin: 0;\n }\n }\n\n ".concat("\n .error-feedback {\n display: flex;\n align-items: center;\n gap: 8px;\n white-space: nowrap;\n color: var(--color-gray-900);\n }\n\n .error-feedback-thanks {\n height: var(--size-24);\n display: flex;\n align-items: center;\n padding-right: 4px; /* To match the 4px inner padding of the thumbs up and down icons */\n }\n\n .feedback-button {\n background: none;\n border: none;\n border-radius: var(--rounded-md);\n width: var(--size-24);\n height: var(--size-24);\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n &:focus {\n outline: var(--focus-ring);\n }\n\n &:hover {\n background: var(--color-gray-alpha-100);\n }\n\n &:active {\n background: var(--color-gray-alpha-200);\n }\n }\n\n .feedback-button[aria-disabled='true'] {\n opacity: 0.7;\n cursor: not-allowed;\n }\n\n .feedback-button.voted {\n background: var(--color-gray-alpha-200);\n }\n\n .thumbs-up-icon,\n .thumbs-down-icon {\n color: var(--color-gray-900);\n width: var(--size-16);\n height: var(--size-16);\n }\n","\n");function tU(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function tF(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return tU(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return tU(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tH(e){var t,n,r,o,a,i=(0,O.c)(12),l=e.errorMessage,s=e.errorType,c=tF((0,C.useState)(!1),2),u=c[0],d=c[1],f=tF((0,C.useState)(!1),2),p=f[0],h=f[1],m=(0,C.useRef)(null);i[0]===Symbol.for("react.memo_cache_sentinel")?(t=function(){m.current&&h(m.current.scrollHeight>200)},i[0]=t):t=i[0],i[1]!==l?(n=[l],i[1]=l,i[2]=n):n=i[2],(0,C.useLayoutEffect)(t,n);var g=p&&"Blocking Route"!==s,y="nextjs__container_errors_desc ".concat(g&&!u?"truncated":"");return i[3]!==l||i[4]!==y?(r=(0,S.jsx)("div",{ref:m,id:"nextjs__container_errors_desc",className:y,children:l}),i[3]=l,i[4]=y,i[5]=r):r=i[5],i[6]!==u||i[7]!==g?(o=g&&!u&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)("div",{className:"nextjs__container_errors_gradient_overlay"}),(0,S.jsx)("button",{onClick:function(){return d(!0)},className:"nextjs__container_errors_expand_button","aria-expanded":u,"aria-controls":"nextjs__container_errors_desc",children:"Show More"})]}),i[6]=u,i[7]=g,i[8]=o):o=i[8],i[9]!==r||i[10]!==o?(a=(0,S.jsxs)("div",{className:"nextjs__container_errors_wrapper",children:[r,o]}),i[9]=r,i[10]=o,i[11]=a):a=i[11],a}function tV(e){var t,n=(0,O.c)(3),r=e.errorType,o="nextjs__container_errors_label ".concat("Blocking Route"===r||"Ambiguous Metadata"===r?"nextjs__container_errors_label_blocking_page":"");return n[0]!==r||n[1]!==o?(t=(0,S.jsx)("span",{id:"nextjs__container_errors_label",className:o,children:r}),n[0]=r,n[1]=o,n[2]=t):t=n[2],t}function tB(e){var t,n,r=(0,O.c)(4),o=e.title,a=e.className;return r[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,S.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.24996 12.0608L8.71963 11.5304L5.89641 8.70722C5.50588 8.3167 5.50588 7.68353 5.89641 7.29301L8.71963 4.46978L9.24996 3.93945L10.3106 5.00011L9.78029 5.53044L7.31062 8.00011L9.78029 10.4698L10.3106 11.0001L9.24996 12.0608Z",fill:"currentColor"}),r[0]=t):t=r[0],r[1]!==a||r[2]!==o?(n=(0,S.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-label":o,className:a,children:t}),r[1]=a,r[2]=o,r[3]=n):n=r[3],n}function t$(e){var t,n,r=(0,O.c)(4),o=e.title,a=e.className;return r[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,S.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.75011 3.93945L7.28044 4.46978L10.1037 7.29301C10.4942 7.68353 10.4942 8.3167 10.1037 8.70722L7.28044 11.5304L6.75011 12.0608L5.68945 11.0001L6.21978 10.4698L8.68945 8.00011L6.21978 5.53044L5.68945 5.00011L6.75011 3.93945Z",fill:"currentColor"}),r[0]=t):t=r[0],r[1]!==a||r[2]!==o?(n=(0,S.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:a,"aria-label":o,children:t}),r[1]=a,r[2]=o,r[3]=n):n=r[3],n}function tq(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function tW(e){var t,n,r,o,a,i,l,s,c,u,d,f,p,h,m,g,y=(0,O.c)(40),v=e.runtimeErrors,b=e.activeIdx,x=e.onActiveIndexChange;y[0]!==b||y[1]!==x?(n=function(){return(0,C.startTransition)(function(){b>0&&x(Math.max(0,b-1))})},y[0]=b,y[1]=x,y[2]=n):n=y[2];var w=n;y[3]!==b||y[4]!==x||y[5]!==v.length?(r=function(){return(0,C.startTransition)(function(){b<v.length-1&&x(Math.max(0,Math.min(v.length-1,b+1)))})},y[3]=b,y[4]=x,y[5]=v.length,y[6]=r):r=y[6];var _=r,j=(0,C.useRef)(null),k=(0,C.useRef)(null),P=(t=(0,C.useState)(null),function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),2!==a.length);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(t,2)||function(e,t){if(e){if("string"==typeof e)return tq(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return tq(e,2)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),E=P[0],T=P[1];y[7]===Symbol.for("react.memo_cache_sentinel")?(o=function(e){T(e)},y[7]=o):o=y[7];var N=o;y[8]!==_||y[9]!==w||y[10]!==E?(a=function(){if(null!=E){var e=E.getRootNode(),t=self.document,n=function(e){"ArrowLeft"===e.key?(e.preventDefault(),e.stopPropagation(),w&&w()):"ArrowRight"===e.key&&(e.preventDefault(),e.stopPropagation(),_&&_())};return e.addEventListener("keydown",n),e!==t&&t.addEventListener("keydown",n),function(){e.removeEventListener("keydown",n),e!==t&&t.removeEventListener("keydown",n)}}},i=[E,_,w],y[8]=_,y[9]=w,y[10]=E,y[11]=a,y[12]=i):(a=y[11],i=y[12]),(0,C.useEffect)(a,i),y[13]!==b||y[14]!==E||y[15]!==v.length?(l=function(){if(null!=E){var e,t,n=E.getRootNode();if(e=n,null!=(t=ShadowRoot)&&"undefined"!=typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t){var r=n.activeElement;0===b?j.current&&r===j.current&&j.current.blur():b===v.length-1&&k.current&&r===k.current&&k.current.blur()}}},s=[E,b,v.length],y[13]=b,y[14]=E,y[15]=v.length,y[16]=l,y[17]=s):(l=y[16],s=y[17]),(0,C.useEffect)(l,s);var I=0===b,L=0===b;y[18]===Symbol.for("react.memo_cache_sentinel")?(c=(0,S.jsx)(tB,{title:"previous",className:"error-overlay-pagination-button-icon"}),y[18]=c):c=y[18],y[19]!==w||y[20]!==I||y[21]!==L?(u=(0,S.jsx)("button",{ref:j,type:"button",disabled:I,"aria-disabled":L,onClick:w,"data-nextjs-dialog-error-previous":!0,className:"error-overlay-pagination-button",children:c}),y[19]=w,y[20]=I,y[21]=L,y[22]=u):u=y[22];var A=b+1;y[23]!==b||y[24]!==A?(d=(0,S.jsxs)("span",{"data-nextjs-dialog-error-index":b,children:[A,"/"]}),y[23]=b,y[24]=A,y[25]=d):d=y[25];var z=v.length||1;y[26]!==z?(f=(0,S.jsx)("span",{"data-nextjs-dialog-header-total-count":!0,children:z}),y[26]=z,y[27]=f):f=y[27],y[28]!==d||y[29]!==f?(p=(0,S.jsxs)("div",{className:"error-overlay-pagination-count",children:[d,f]}),y[28]=d,y[29]=f,y[30]=p):p=y[30];var R=b>=v.length-1,D=b>=v.length-1;return y[31]===Symbol.for("react.memo_cache_sentinel")?(h=(0,S.jsx)(t$,{title:"next",className:"error-overlay-pagination-button-icon"}),y[31]=h):h=y[31],y[32]!==_||y[33]!==R||y[34]!==D?(m=(0,S.jsx)("button",{ref:k,type:"button",disabled:R,"aria-disabled":D,onClick:_,"data-nextjs-dialog-error-next":!0,className:"error-overlay-pagination-button",children:h}),y[32]=_,y[33]=R,y[34]=D,y[35]=m):m=y[35],y[36]!==u||y[37]!==p||y[38]!==m?(g=(0,S.jsxs)("nav",{className:"error-overlay-pagination dialog-exclude-closing-from-outside-click",ref:N,children:[u,p,m]}),y[36]=u,y[37]=p,y[38]=m,y[39]=g):g=y[39],g}function tK(e){var t,n,r,o,a=(0,O.c)(3);return(a[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,S.jsx)("circle",{cx:"7",cy:"7",r:"5.5",strokeWidth:"3"}),a[0]=r):r=a[0],a[1]!==e)?(o=(0,S.jsx)("svg",(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n=n={children:r},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t)),a[1]=e,a[2]=o):o=a[2],o}function tY(e){var t,n,r,o,a,i=(0,O.c)(31),l=e.versionInfo,s=e.bundlerName,c=l.staleness;if(i[0]!==s||i[1]!==c||i[2]!==l){v=Symbol.for("react.early_return_sentinel");n:{var u=function(e){var t=e.installed,n=e.staleness,r=e.expected,o="",a="",i="",l="Next.js ".concat(t);switch(n){case"newer-than-npm":case"fresh":o=l,a="Latest available version is detected (".concat(t,")."),i="fresh";break;case"stale-patch":case"stale-minor":o="".concat(l," (stale)"),a="There is a newer version (".concat(r,") available, upgrade recommended! "),i="stale";break;case"stale-major":o="".concat(l," (outdated)"),a="An outdated version detected (latest is ".concat(r,"), upgrade is highly recommended!"),i="outdated";break;case"stale-prerelease":o="".concat(l," (stale)"),a="There is a newer canary version (".concat(r,") available, please upgrade! "),i="stale";break;case"unknown":o="".concat(l," (unknown)"),a="No Next.js version data was found.",i="unknown"}return{text:o,indicatorClass:i,title:a}}(l),d=u.text,f=u.indicatorClass,p=u.title;if(b=d,x=p,m="Turbopack"===s,c.startsWith("stale")){var h,m,g,y,v,b,x,w,_,j=m&&"turbopack-text";i[10]!==j?(w=e9(j),i[10]=j,i[11]=w):w=i[11],i[12]!==s||i[13]!==w?(_=(0,S.jsx)("span",{className:w,children:s}),i[12]=s,i[13]=w,i[14]=_):_=i[14],v=(0,S.jsxs)("a",{className:"nextjs-container-build-error-version-status dialog-exclude-closing-from-outside-click",target:"_blank",rel:"noopener noreferrer",href:"https://nextjs.org/docs/messages/version-staleness",children:[(0,S.jsx)(tK,{className:e9("version-staleness-indicator",f)}),(0,S.jsx)("span",{"data-nextjs-version-checker":!0,title:x,children:b}),_]});break n}y="nextjs-container-build-error-version-status dialog-exclude-closing-from-outside-click",h=tK,g=e9("version-staleness-indicator",f)}i[0]=s,i[1]=c,i[2]=l,i[3]=h,i[4]=m,i[5]=g,i[6]=y,i[7]=v,i[8]=b,i[9]=x}else h=i[3],m=i[4],g=i[5],y=i[6],v=i[7],b=i[8],x=i[9];if(v!==Symbol.for("react.early_return_sentinel"))return v;i[15]!==h||i[16]!==g?(t=(0,S.jsx)(h,{className:g}),i[15]=h,i[16]=g,i[17]=t):t=i[17],i[18]!==b||i[19]!==x?(n=(0,S.jsx)("span",{"data-nextjs-version-checker":!0,title:x,children:b}),i[18]=b,i[19]=x,i[20]=n):n=i[20];var k=m&&"turbopack-text";return i[21]!==k?(r=e9(k),i[21]=k,i[22]=r):r=i[22],i[23]!==s||i[24]!==r?(o=(0,S.jsx)("span",{className:r,children:s}),i[23]=s,i[24]=r,i[25]=o):o=i[25],i[26]!==y||i[27]!==t||i[28]!==n||i[29]!==o?(a=(0,S.jsxs)("span",{className:y,children:[t,n,o]}),i[26]=y,i[27]=t,i[28]=n,i[29]=o,i[30]=a):a=i[30],a}function tX(e){var t,n,r,o,a=(0,O.c)(11),i=e.runtimeErrors,l=e.activeIdx,s=e.setActiveIndex,c=e.versionInfo,u=process.env.__NEXT_BUNDLER||"Turbopack";a[0]!==i?(t=null!=i?i:[],a[0]=i,a[1]=t):t=a[1];var d=null!=l?l:0,f=null!=s?s:tG;return a[2]!==t||a[3]!==d||a[4]!==f?(n=(0,S.jsx)(tQ,{side:"left",children:(0,S.jsx)(tW,{runtimeErrors:t,activeIdx:d,onActiveIndexChange:f})}),a[2]=t,a[3]=d,a[4]=f,a[5]=n):n=a[5],a[6]!==c?(r=c&&(0,S.jsx)(tQ,{side:"right",children:(0,S.jsx)(tY,{versionInfo:c,bundlerName:u})}),a[6]=c,a[7]=r):r=a[7],a[8]!==n||a[9]!==r?(o=(0,S.jsxs)("div",{"data-nextjs-error-overlay-nav":!0,children:[n,r]}),a[8]=n,a[9]=r,a[10]=o):o=a[10],o}function tG(){}function tQ(e){var t,n,r=(0,O.c)(4),o=e.children,a=e.side,i=void 0===a?"left":a;return r[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,S.jsx)(tJ,{}),r[0]=t):t=r[0],r[1]!==o||r[2]!==i?(n=(0,S.jsxs)("div",{className:"error-overlay-notch","data-side":i,children:[o,t]}),r[1]=o,r[2]=i,r[3]=n):n=r[3],n}function tJ(){var e,t,n,r=(0,O.c)(3);return r[0]===Symbol.for("react.memo_cache_sentinel")?(e={maskType:"alpha"},r[0]=e):e=r[0],r[1]===Symbol.for("react.memo_cache_sentinel")?(t=(0,S.jsxs)("mask",{id:"error_overlay_nav_mask0_2667_14687",style:e,maskUnits:"userSpaceOnUse",x:"0",y:"-1",width:"60",height:"43",children:[(0,S.jsxs)("mask",{id:"error_overlay_nav_path_1_outside_1_2667_14687",maskUnits:"userSpaceOnUse",x:"0",y:"-1",width:"60",height:"43",fill:"black",children:[(0,S.jsx)("rect",{fill:"white",y:"-1",width:"60",height:"43"}),(0,S.jsx)("path",{d:"M1 0L8.0783 0C15.772 0 22.7836 4.41324 26.111 11.3501L34.8889 29.6498C38.2164 36.5868 45.228 41 52.9217 41H60H1L1 0Z"})]}),(0,S.jsx)("path",{d:"M1 0L8.0783 0C15.772 0 22.7836 4.41324 26.111 11.3501L34.8889 29.6498C38.2164 36.5868 45.228 41 52.9217 41H60H1L1 0Z",fill:"white"}),(0,S.jsx)("path",{d:"M1 0V-1H0V0L1 0ZM1 41H0V42H1V41ZM34.8889 29.6498L33.9873 30.0823L34.8889 29.6498ZM26.111 11.3501L27.0127 10.9177L26.111 11.3501ZM1 1H8.0783V-1H1V1ZM60 40H1V42H60V40ZM2 41V0L0 0L0 41H2ZM25.2094 11.7826L33.9873 30.0823L35.7906 29.2174L27.0127 10.9177L25.2094 11.7826ZM52.9217 42H60V40H52.9217V42ZM33.9873 30.0823C37.4811 37.3661 44.8433 42 52.9217 42V40C45.6127 40 38.9517 35.8074 35.7906 29.2174L33.9873 30.0823ZM8.0783 1C15.3873 1 22.0483 5.19257 25.2094 11.7826L27.0127 10.9177C23.5188 3.6339 16.1567 -1 8.0783 -1V1Z",fill:"black",mask:"url(#error_overlay_nav_path_1_outside_1_2667_14687)"})]}),r[1]=t):t=r[1],r[2]===Symbol.for("react.memo_cache_sentinel")?(n=(0,S.jsxs)("svg",{width:"60",height:"42",viewBox:"0 0 60 42",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"error-overlay-notch-tail",preserveAspectRatio:"none",children:[t,(0,S.jsxs)("g",{mask:"url(#error_overlay_nav_mask0_2667_14687)",children:[(0,S.jsxs)("mask",{id:"error_overlay_nav_path_3_outside_2_2667_14687",maskUnits:"userSpaceOnUse",x:"-1",y:"0.0244141",width:"60",height:"43",fill:"black",children:[(0,S.jsx)("rect",{fill:"white",x:"-1",y:"0.0244141",width:"60",height:"43"}),(0,S.jsx)("path",{d:"M0 1.02441H7.0783C14.772 1.02441 21.7836 5.43765 25.111 12.3746L33.8889 30.6743C37.2164 37.6112 44.228 42.0244 51.9217 42.0244H59H0L0 1.02441Z"})]}),(0,S.jsx)("path",{d:"M0 1.02441H7.0783C14.772 1.02441 21.7836 5.43765 25.111 12.3746L33.8889 30.6743C37.2164 37.6112 44.228 42.0244 51.9217 42.0244H59H0L0 1.02441Z",fill:"var(--background-color)"}),(0,S.jsx)("path",{d:"M0 1.02441L0 0.0244141H-1V1.02441H0ZM0 42.0244H-1V43.0244H0L0 42.0244ZM33.8889 30.6743L32.9873 31.1068L33.8889 30.6743ZM25.111 12.3746L26.0127 11.9421L25.111 12.3746ZM0 2.02441H7.0783V0.0244141H0L0 2.02441ZM59 41.0244H0L0 43.0244H59V41.0244ZM1 42.0244L1 1.02441H-1L-1 42.0244H1ZM24.2094 12.8071L32.9873 31.1068L34.7906 30.2418L26.0127 11.9421L24.2094 12.8071ZM51.9217 43.0244H59V41.0244H51.9217V43.0244ZM32.9873 31.1068C36.4811 38.3905 43.8433 43.0244 51.9217 43.0244V41.0244C44.6127 41.0244 37.9517 36.8318 34.7906 30.2418L32.9873 31.1068ZM7.0783 2.02441C14.3873 2.02441 21.0483 6.21699 24.2094 12.8071L26.0127 11.9421C22.5188 4.65831 15.1567 0.0244141 7.0783 0.0244141V2.02441Z",fill:"var(--stroke-color)",mask:"url(#error_overlay_nav_path_3_outside_2_2667_14687)"})]})]}),r[2]=n):n=r[2],n}function t0(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var t1=["[data-next-mark]","[data-issues-open]","#nextjs-dev-tools-menu","[data-nextjs-error-overlay-nav]","[data-info-popover]","[data-nextjs-devtools-panel-overlay]","[data-nextjs-devtools-panel-footer]","[data-nextjs-error-overlay-footer]"],t2=function(e){var t,n,r,o,a,i,l,s,c,u,d,f,p,h,m,g,y,v,b,x,w,_,j=(0,O.c)(23);j[0]!==e?(m=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["children","className","onClose","aria-labelledby","aria-describedby"]),f=e.children,p=e.className,h=e.onClose,d=e["aria-labelledby"],u=e["aria-describedby"],j[0]=e,j[1]=u,j[2]=d,j[3]=f,j[4]=p,j[5]=h,j[6]=m):(u=j[1],d=j[2],f=j[3],p=j[4],h=j[5],m=j[6]);var k=C.useRef(null),P=(t=C.useState("undefined"!=typeof document&&document.hasFocus()?"dialog":void 0),function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),2!==a.length);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(t,2)||function(e,t){if(e){if("string"==typeof e)return t0(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return t0(e,2)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),E=P[0],T=P[1];return(j[7]!==h?(g=function(e){return e.preventDefault(),null==h?void 0:h()},j[7]=h,j[8]=g):g=j[8],n=k,r=t1,o=g,(l=(0,O.c)(5))[0]!==r||l[1]!==n||l[2]!==o?(a=function(){var e=n&&"current"in n?n.current:n;if(null!=e&&null!=o){var t=function(t){!e||e.contains(t.target)||r.some(function(e){return t.target.closest(e)})||o(t)},a=e.getRootNode();return a.addEventListener("mouseup",t),a.addEventListener("touchend",t,{passive:!1}),function(){a.removeEventListener("mouseup",t),a.removeEventListener("touchend",t)}}},i=[o,n,r],l[0]=r,l[1]=n,l[2]=o,l[3]=a,l[4]=i):(a=l[3],i=l[4]),C.useEffect(a,i),j[9]===Symbol.for("react.memo_cache_sentinel")?(y=function(){if(null!=k.current){var e=function(){T(document.hasFocus()?"dialog":void 0)};return window.addEventListener("focus",e),window.addEventListener("blur",e),function(){window.removeEventListener("focus",e),window.removeEventListener("blur",e)}}},v=[],j[9]=y,j[10]=v):(y=j[9],v=j[10]),C.useEffect(y,v),j[11]===Symbol.for("react.memo_cache_sentinel")?(b=function(){var e,t,n=k.current,r=null==n?void 0:n.getRootNode(),o=(e=r,null!=(t=ShadowRoot)&&"undefined"!=typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t)?null==r?void 0:r.activeElement:null;return null==n||n.focus(),function(){null==n||n.blur(),null==o||o.focus()}},x=[],j[11]=b,j[12]=x):(b=j[11],x=j[12]),C.useEffect(b,x),j[13]!==h?(w=function(e){"Escape"===e.key&&(null==h||h())},j[13]=h,j[14]=w):w=j[14],j[15]!==u||j[16]!==d||j[17]!==f||j[18]!==p||j[19]!==m||j[20]!==E||j[21]!==w)?(_=(0,S.jsx)("div",(s=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({ref:k,tabIndex:-1,"data-nextjs-dialog":!0,"data-nextjs-scrollable-content":!0,role:E,"aria-labelledby":d,"aria-describedby":u,"aria-modal":"true",className:p,onKeyDown:w},m),c=c={children:f},Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(c)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(c)).forEach(function(e){Object.defineProperty(s,e,Object.getOwnPropertyDescriptor(c,e))}),s)),j[15]=u,j[16]=d,j[17]=f,j[18]=p,j[19]=m,j[20]=E,j[21]=w,j[22]=_):_=j[22],_};function t3(e){var t,n,r,o,a,i,l,s,c=(0,O.c)(12);return(c[0]!==e?(i=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["children","onClose","footer"]),r=e.children,a=e.onClose,o=e.footer,c[0]=e,c[1]=r,c[2]=o,c[3]=a,c[4]=i):(r=c[1],o=c[2],a=c[3],i=c[4]),c[5]!==r||c[6]!==a||c[7]!==i)?(l=(0,S.jsx)(t2,(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({"aria-labelledby":"nextjs__container_errors_label","aria-describedby":"nextjs__container_errors_desc",className:"error-overlay-dialog-scroll",onClose:a},i),n=n={children:r},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t)),c[5]=r,c[6]=a,c[7]=i,c[8]=l):l=c[8],c[9]!==o||c[10]!==l?(s=(0,S.jsxs)("div",{className:"error-overlay-dialog-container",children:[l,o]}),c[9]=o,c[10]=l,c[11]=s):s=c[11],s}function t4(e){var t,n,r,o=(0,O.c)(2);return o[0]!==e?(r=(0,S.jsx)("div",(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({"data-nextjs-dialog-header":!0},e),n=n={children:e.children},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t)),o[0]=e,o[1]=r):r=o[1],r}function t5(e){var t,n=(0,O.c)(2),r=e.children;return n[0]!==r?(t=(0,S.jsx)(t4,{className:"nextjs-container-errors-header",children:r}),n[0]=r,n[1]=t):t=n[1],t}function t6(e){var t,n=(0,O.c)(2),r=e.children;return n[0]!==r?(t=(0,S.jsx)(e3,{className:"nextjs-container-errors-body",children:r}),n[0]=r,n[1]=t):t=n[1],t}var t9=0,t8=function(e){var t,n,r,o,a,i,l,s=(0,O.c)(9);return(s[0]!==e?(a=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["className","children"]),o=e.className,r=e.children,s[0]=e,s[1]=r,s[2]=o,s[3]=a):(r=s[1],o=s[2],a=s[3]),s[4]===Symbol.for("react.memo_cache_sentinel")?(i=[],s[4]=i):i=s[4],C.useEffect(ne,i),s[5]!==r||s[6]!==o||s[7]!==a)?(l=(0,S.jsx)("div",(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({"data-nextjs-dialog-overlay":!0,className:o},a),n=n={children:r},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t)),s[5]=r,s[6]=o,s[7]=a,s[8]=l):l=s[8],l};function t7(){setTimeout(function(){0!==t9&&0==--t9&&(void 0!==l&&(document.body.style.paddingRight=l,l=void 0),void 0!==s&&(document.body.style.overflow=s,s=void 0))})}function ne(){return setTimeout(function(){if(!(t9++>0)){var e=window.innerWidth-document.documentElement.clientWidth;e>0&&(l=document.body.style.paddingRight,document.body.style.paddingRight="".concat(e,"px")),s=document.body.style.overflow,document.body.style.overflow="hidden"}}),t7}function nt(){var e,t,n=(e=["\n [data-nextjs-dialog-overlay] {\n padding: initial;\n top: 10vh;\n }\n"],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return nt=function(){return n},n}function nn(e){var t,n,r,o,a,i=(0,O.c)(6);return(i[0]!==e?(o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["children"]),r=e.children,i[0]=e,i[1]=r,i[2]=o):(r=i[1],o=i[2]),i[3]!==r||i[4]!==o)?(a=(0,S.jsx)(t8,(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({},o),n=n={children:r},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t)),i[3]=r,i[4]=o,i[5]=a):a=i[5],a}var nr=eg(nt());function no(e){var t,n,r,o=(0,O.c)(4),a=Math.min(e.errorCount-e.activeIdx-1,2);return o[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,S.jsx)("div",{className:"error-overlay-bottom-stack-layer error-overlay-bottom-stack-layer-1",children:"1"}),n=(0,S.jsx)("div",{className:"error-overlay-bottom-stack-layer error-overlay-bottom-stack-layer-2",children:"2"}),o[0]=t,o[1]=n):(t=o[0],n=o[1]),o[2]!==a?(r=(0,S.jsx)("div",{"aria-hidden":!0,className:"error-overlay-bottom-stack",children:(0,S.jsxs)("div",{className:"error-overlay-bottom-stack-stack","data-stack-count":a,children:[t,n]})}),o[2]=a,o[3]=r):r=o[3],r}function na(e){var t,n=(0,O.c)(2),r=e.environmentName;return n[0]!==r?(t=(0,S.jsx)("span",{"data-nextjs-environment-name-label":!0,children:r}),n[0]=r,n[1]=t):t=n[1],t}function ni(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function nl(e){var t,n,r=null==e?void 0:e.getRootNode();return(t=r,null!=(n=ShadowRoot)&&"undefined"!=typeof Symbol&&n[Symbol.hasInstance]?!!n[Symbol.hasInstance](t):t instanceof n)?null==r?void 0:r.activeElement:null}function ns(e,t,n,r,o){var a,i,l=(0,O.c)(7);l[0]!==n||l[1]!==r||l[2]!==o||l[3]!==e||l[4]!==t?(a=function(){if(n){var a,i=o||(null==(a=e.current)?void 0:a.ownerDocument),l=function(n){var o,a,i=n.target;!(e.current&&e.current.contains(i))&&(null!=(o=e.current)&&o.getBoundingClientRect()&&n.clientX>=e.current.getBoundingClientRect().left-10&&n.clientX<=e.current.getBoundingClientRect().right+10&&n.clientY>=e.current.getBoundingClientRect().top-10&&n.clientY<=e.current.getBoundingClientRect().bottom+10||null!=(a=t.current)&&a.getBoundingClientRect()&&n.clientX>=t.current.getBoundingClientRect().left-10&&n.clientX<=t.current.getBoundingClientRect().right+10&&n.clientY>=t.current.getBoundingClientRect().top-10&&n.clientY<=t.current.getBoundingClientRect().bottom+10||r("outside"))},s=function(e){"Escape"===e.key&&r("escape")};return null==i||i.addEventListener("mousedown",l),null==i||i.addEventListener("keydown",s),function(){null==i||i.removeEventListener("mousedown",l),null==i||i.removeEventListener("keydown",s)}}},i=[n,r,o,e,t],l[0]=n,l[1]=r,l[2]=o,l[3]=e,l[4]=t,l[5]=a,l[6]=i):(a=l[5],i=l[6]),(0,C.useEffect)(a,i)}var nc="cubic-bezier(0.175, 0.885, 0.32, 1.1)",nu=(0,C.forwardRef)(function(e,t){var n,r,o=(0,O.c)(9),a=e.stop,i=e.blur,l=e.side,s=e.style,c=e.height,u="".concat(c,"px");o[0]!==i||o[1]!==a||o[2]!==s||o[3]!==u?(n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({"--stop":a,"--blur":i,"--height":u},s),o[0]=i,o[1]=a,o[2]=s,o[3]=u,o[4]=n):n=o[4];var d=n;return o[5]!==t||o[6]!==l||o[7]!==d?(r=(0,S.jsx)("div",{ref:t,"aria-hidden":!0,"data-nextjs-scroll-fader":!0,className:"nextjs-scroll-fader","data-side":l,style:d}),o[5]=t,o[6]=l,o[7]=d,o[8]=r):r=o[8],r});function nd(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function nf(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return nd(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return nd(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var np=(0,C.forwardRef)(function(e,t){var n,r,o,a,i,l,s,c,u,d,f,p,h,m,g,y,v,b,x,w,_=(0,O.c)(13);_[0]!==e?(v=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["children","measure"]),g=e.children,y=e.measure,_[0]=e,_[1]=g,_[2]=y,_[3]=v):(g=_[1],y=_[2],v=_[3]);var j=nf((0,C.useState)(null),2),k=j[0],P=j[1],E=nf((n=k,r=y,l=(0,O.c)(7),c=(s=nf((0,C.useState)(0),2))[0],u=s[1],f=(d=nf((0,C.useState)(!0),2))[0],p=d[1],l[0]!==n||l[1]!==r?(o=function(){if(r&&n){var e,t=new ResizeObserver(function(t){var n=nf(t,1)[0].contentRect;clearTimeout(e),e=window.setTimeout(function(){p(!1)},100),u(n.height)});return t.observe(n),function(){return t.disconnect()}}},a=[r,n],l[0]=n,l[1]=r,l[2]=o,l[3]=a):(o=l[2],a=l[3]),(0,C.useEffect)(o,a),l[4]!==c||l[5]!==f?(i=[c,f],l[4]=c,l[5]=f,l[6]=i):i=l[6],i),2),T=E[0],N=E[1]?"auto":T;return(_[4]!==N?(b={height:N,transition:"height 250ms var(--timing-swift)"},_[4]=N,_[5]=b):b=_[5],_[6]!==g?(x=(0,S.jsx)("div",{ref:P,children:g}),_[6]=g,_[7]=x):x=_[7],_[8]!==v||_[9]!==t||_[10]!==b||_[11]!==x)?(w=(0,S.jsx)("div",(h=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({},v),m=m={ref:t,style:b,children:x},Object.getOwnPropertyDescriptors?Object.defineProperties(h,Object.getOwnPropertyDescriptors(m)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(m)).forEach(function(e){Object.defineProperty(h,e,Object.getOwnPropertyDescriptor(m,e))}),h)),_[8]=v,_[9]=t,_[10]=b,_[11]=x,_[12]=w):w=_[12],w});function nh(e){var t,n,r,o=(0,O.c)(6);o[0]!==e?(n=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["fixed"]),t=e.fixed,o[0]=e,o[1]=t,o[2]=n):(t=o[1],n=o[2]);var a=!!t||void 0;return o[3]!==n||o[4]!==a?(r=(0,S.jsx)("div",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({"data-nextjs-dialog-backdrop":!0,"data-nextjs-dialog-backdrop-fixed":a},n)),o[3]=n,o[4]=a,o[5]=r):r=o[5],r}function nm(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ng(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}function ny(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function nv(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return nm(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return nm(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function nb(e){var t,n,r,o,a,i,l,s,c,u,d,f,p,h,m,g,y,v,b,x,w,_,j,k,P,E,T,N,I,L=(0,O.c)(66),A=e.errorMessage,z=e.errorType,R=e.children,D=e.errorCode,M=e.errorCount,Z=e.error,U=e.debugInfo,F=e.isBuildError,H=e.onClose,V=e.versionInfo,B=e.runtimeErrors,$=e.activeIdx,q=e.setActiveIndex,W=e.isTurbopack,K=e.dialogResizerRef,Y=e.generateErrorInfo,X=e.rendered,G=e.transitionDurationMs,Q=void 0===X||X,J="".concat(G,"ms");L[0]!==J?(s={"--transition-duration":J},L[0]=J,L[1]=s):s=L[1];var ee=s;L[2]!==Q||L[3]!==ee?(c={"data-rendered":Q,style:ee},L[2]=Q,L[3]=ee,L[4]=c):c=L[4];var et=c,en=nv(C.useState(!!G),2),er=en[0],eo=en[1],ea=C.useRef(null),ei=!!D,el=C.useRef(null);t=el,n=Q,void 0!==(i=(0,O.c)(11))[0]?(r=function(e){null==e||e.focus()},i[0]=void 0,i[1]=r):r=i[1],l=(0,C.useEffectEvent)(r),i[2]!==n||i[3]!==l||i[4]!==t||null!==i[5]?(o=function(){var e=null,r=function(t){if("Tab"===t.key&&null!==e){var n,r,o=(r=(n=e.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'))?[n[0],n[n.length-1]]:[],function(e){if(Array.isArray(e))return e}(r)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),2!==a.length);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(r,2)||function(e,t){if(e){if("string"==typeof e)return ni(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ni(e,2)}}(r,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=o[0],i=o[1],l=nl(e);t.shiftKey?l===a&&(null==i||i.focus(),t.preventDefault()):l===i&&(null==a||a.focus(),t.preventDefault())}},o=setTimeout(function(){if(e=t.current,n)l(e),null==e||e.addEventListener("keydown",r);else nl(e)});return function(){clearTimeout(o),null==e||e.removeEventListener("keydown",r)}},i[2]=n,i[3]=l,i[4]=t,i[5]=null,i[6]=o):o=i[6],i[7]!==n||i[8]!==t||null!==i[9]?(a=[n,t,null],i[7]=n,i[8]=t,i[9]=null,i[10]=a):a=i[10],(0,C.useEffect)(o,a),L[5]===Symbol.for("react.memo_cache_sentinel")?(u=function(e){if(ea.current){var t,n,r=(t=e.currentTarget.scrollTop/17,Math.min(Math.max(t,(n=nv([0,1],2))[0]),n[1]));ea.current.style.opacity=String(r)}},L[5]=u):u=L[5];var es=u;L[6]===Symbol.for("react.memo_cache_sentinel")?(d=function(e){var t=e.propertyName,n=e.target;"scale"===t&&n===el.current&&eo(!1)},L[6]=d):d=L[6];var ec=d;L[7]!==F?(f=(0,S.jsx)(nh,{fixed:F}),L[7]=F,L[8]=f):f=L[8],L[9]!==$||L[10]!==W||L[11]!==B||L[12]!==q||L[13]!==V?(p=(0,S.jsx)(tX,{runtimeErrors:B,activeIdx:$,setActiveIndex:q,versionInfo:V,isTurbopack:W}),L[9]=$,L[10]=W,L[11]=B,L[12]=q,L[13]=V,L[14]=p):p=L[14],L[15]!==D||L[16]!==ei?(h=ei&&(0,S.jsx)(tM,{errorCode:D}),L[15]=D,L[16]=ei,L[17]=h):h=L[17];var eu=!er;L[18]!==z?(m=(0,S.jsx)(tV,{errorType:z}),L[18]=z,L[19]=m):m=L[19],L[20]!==Z.environmentName?(g=Z.environmentName&&(0,S.jsx)(na,{environmentName:Z.environmentName}),L[20]=Z.environmentName,L[21]=g):g=L[21],L[22]!==m||L[23]!==g?(y=(0,S.jsxs)("span",{"data-nextjs-error-label-group":!0,children:[m,g]}),L[22]=m,L[23]=g,L[24]=y):y=L[24],L[25]!==U||L[26]!==Z||L[27]!==Y?(v=(0,S.jsx)(tN,{error:Z,debugInfo:U,generateErrorInfo:Y}),L[25]=U,L[26]=Z,L[27]=Y,L[28]=v):v=L[28],L[29]!==D||L[30]!==y||L[31]!==v?(b=(0,S.jsxs)("div",{className:"nextjs__container_errors__error_title","data-nextjs-error-code":D,children:[y,v]}),L[29]=D,L[30]=y,L[31]=v,L[32]=b):b=L[32],L[33]!==A||L[34]!==z?(x=(0,S.jsx)(tH,{errorMessage:A,errorType:z}),L[33]=A,L[34]=z,L[35]=x):x=L[35],L[36]!==b||L[37]!==x?(w=(0,S.jsxs)(t5,{children:[b,x]}),L[36]=b,L[37]=x,L[38]=w):w=L[38],L[39]!==R?(_=(0,S.jsx)(t6,{children:R}),L[39]=R,L[40]=_):_=L[40],L[41]!==w||L[42]!==_?(j=(0,S.jsxs)(e4,{children:[w,_]}),L[41]=w,L[42]=_,L[43]=j):j=L[43],L[44]!==K||L[45]!==eu||L[46]!==j?(k=(0,S.jsx)(np,{ref:K,measure:eu,"data-nextjs-dialog-sizer":!0,children:j}),L[44]=K,L[45]=eu,L[46]=j,L[47]=k):k=L[47];var ed=null!=$?$:0;return L[48]!==M||L[49]!==ed?(P=(0,S.jsx)(no,{errorCount:M,activeIdx:ed}),L[48]=M,L[49]=ed,L[50]=P):P=L[50],L[51]!==ei||L[52]!==H||L[53]!==h||L[54]!==k||L[55]!==P?(E=(0,S.jsxs)(t3,{onClose:H,"data-has-footer":ei,onScroll:es,footer:h,children:[k,P]}),L[51]=ei,L[52]=H,L[53]=h,L[54]=k,L[55]=P,L[56]=E):E=L[56],L[57]===Symbol.for("react.memo_cache_sentinel")?(T=(0,S.jsx)(nu,{ref:ea,side:"top",stop:"50%",blur:"4px",height:48}),L[57]=T):T=L[57],L[58]!==et||L[59]!==E||L[60]!==p?(N=(0,S.jsxs)("div",ny(ng({"data-nextjs-dialog-root":!0,onTransitionEnd:ec,ref:el},et),{children:[p,E,T]})),L[58]=et,L[59]=E,L[60]=p,L[61]=N):N=L[61],L[62]!==et||L[63]!==N||L[64]!==f?(I=(0,S.jsxs)(nn,ny(ng({},et),{children:[f,N]})),L[62]=et,L[63]=N,L[64]=f,L[65]=I):I=L[65],I}var nx="\n ".concat(nr,"\n ").concat("\n .error-overlay-dialog-container {\n display: flex;\n flex-direction: column;\n background: var(--color-background-100);\n background-clip: padding-box;\n border: var(--next-dialog-border-width) solid var(--color-gray-400);\n border-radius: 0 0 var(--next-dialog-radius) var(--next-dialog-radius);\n box-shadow: var(--shadow-menu);\n position: relative;\n overflow: hidden;\n }\n\n .error-overlay-dialog-scroll {\n overflow-y: auto;\n height: 100%;\n }\n","\n ").concat("\n .nextjs-container-errors-header {\n position: relative;\n }\n .nextjs-container-errors-header > h1 {\n font-size: var(--size-20);\n line-height: var(--size-24);\n font-weight: bold;\n margin: calc(16px * 1.5) 0;\n color: var(--color-title-h1);\n }\n .nextjs-container-errors-header small {\n font-size: var(--size-14);\n color: var(--color-accents-1);\n margin-left: 16px;\n }\n .nextjs-container-errors-header small > span {\n font-family: var(--font-stack-monospace);\n }\n .nextjs-container-errors-header > div > small {\n margin: 0;\n margin-top: 4px;\n }\n .nextjs-container-errors-header > p > a {\n color: inherit;\n font-weight: bold;\n }\n .nextjs-container-errors-header\n > .nextjs-container-build-error-version-status {\n position: absolute;\n top: 16px;\n right: 16px;\n }\n","\n ").concat("","\n\n ").concat("\n [data-nextjs-error-overlay-nav] {\n --stroke-color: var(--color-gray-400);\n --background-color: var(--color-background-100);\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n width: 100%;\n\n position: relative;\n z-index: 2;\n outline: none;\n translate: var(--next-dialog-border-width) var(--next-dialog-border-width);\n max-width: var(--next-dialog-max-width);\n\n .error-overlay-notch {\n translate: calc(var(--next-dialog-border-width) * -1);\n width: auto;\n height: var(--next-dialog-notch-height);\n padding: 12px;\n background: var(--background-color);\n border: var(--next-dialog-border-width) solid var(--stroke-color);\n border-bottom: none;\n position: relative;\n\n &[data-side='left'] {\n padding-right: 0;\n border-radius: var(--next-dialog-radius) 0 0 0;\n\n .error-overlay-notch-tail {\n right: -54px;\n }\n\n > *:not(.error-overlay-notch-tail) {\n margin-right: -10px;\n }\n }\n\n &[data-side='right'] {\n padding-left: 0;\n border-radius: 0 var(--next-dialog-radius) 0 0;\n\n .error-overlay-notch-tail {\n left: -54px;\n transform: rotateY(180deg);\n }\n\n > *:not(.error-overlay-notch-tail) {\n margin-left: -12px;\n }\n }\n\n .error-overlay-notch-tail {\n position: absolute;\n top: calc(var(--next-dialog-border-width) * -1);\n pointer-events: none;\n z-index: -1;\n height: calc(100% + var(--next-dialog-border-width));\n }\n }\n }\n\n @media (max-width: 600px) {\n [data-nextjs-error-overlay-nav] {\n background: var(--background-color);\n border-radius: var(--next-dialog-radius) var(--next-dialog-radius) 0 0;\n border: var(--next-dialog-border-width) solid var(--stroke-color);\n border-bottom: none;\n overflow: hidden;\n translate: 0 var(--next-dialog-border-width);\n \n .error-overlay-notch {\n border-radius: 0;\n border: 0;\n\n &[data-side=\"left\"], &[data-side=\"right\"] {\n border-radius: 0;\n }\n\n .error-overlay-notch-tail {\n display: none;\n }\n }\n }\n }\n","\n ").concat("\n .nextjs__container_errors_label {\n padding: 2px 6px;\n margin: 0;\n border-radius: var(--rounded-md-2);\n background: var(--color-red-100);\n font-weight: 600;\n font-size: var(--size-12);\n color: var(--color-red-900);\n font-family: var(--font-stack-monospace);\n line-height: var(--size-20);\n }\n\n .nextjs__container_errors_label_blocking_page {\n background: var(--color-blue-100);\n color: var(--color-blue-900);\n }\n","\n ").concat("\n .nextjs__container_errors_wrapper {\n position: relative;\n }\n\n .nextjs__container_errors_desc {\n margin: 0;\n margin-left: 4px;\n color: var(--color-red-900);\n font-weight: 500;\n font-size: var(--size-16);\n letter-spacing: -0.32px;\n line-height: var(--size-24);\n overflow-wrap: break-word;\n white-space: pre-wrap;\n }\n\n .nextjs__container_errors_desc.truncated {\n max-height: 200px;\n overflow: hidden;\n }\n\n .nextjs__container_errors_gradient_overlay {\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n height: 85px;\n background: linear-gradient(\n 180deg,\n rgba(250, 250, 250, 0) 0%,\n var(--color-background-100) 100%\n );\n }\n\n .nextjs__container_errors_expand_button {\n position: absolute;\n bottom: 10px;\n left: 50%;\n transform: translateX(-50%);\n display: flex;\n align-items: center;\n padding: 6px 8px;\n background: var(--color-background-100);\n border: 1px solid var(--color-gray-alpha-400);\n border-radius: 999px;\n box-shadow:\n 0px 2px 2px var(--color-gray-alpha-100),\n 0px 8px 8px -8px var(--color-gray-alpha-100);\n font-size: var(--size-13);\n cursor: pointer;\n color: var(--color-gray-900);\n font-weight: 500;\n transition: background-color 0.2s ease;\n }\n\n .nextjs__container_errors_expand_button:hover {\n background: var(--color-gray-100);\n }\n","\n ").concat("\n .error-overlay-toolbar {\n display: flex;\n gap: 6px;\n }\n\n .nodejs-inspector-button,\n .copy-error-button,\n .docs-link-button {\n display: flex;\n justify-content: center;\n align-items: center;\n\n width: var(--size-28);\n height: var(--size-28);\n background: var(--color-background-100);\n background-clip: padding-box;\n border: 1px solid var(--color-gray-alpha-400);\n box-shadow: var(--shadow-small);\n border-radius: var(--rounded-full);\n\n svg {\n width: var(--size-14);\n height: var(--size-14);\n }\n\n &:focus {\n outline: var(--focus-ring);\n }\n\n &:not(:disabled):hover {\n background: var(--color-gray-alpha-100);\n }\n\n &:not(:disabled):active {\n background: var(--color-gray-alpha-200);\n }\n\n &:disabled {\n background-color: var(--color-gray-100);\n cursor: not-allowed;\n }\n }\n\n .nodejs-inspector-button[data-pending='true'] {\n cursor: wait;\n }\n\n .error-overlay-toolbar-button-icon {\n color: var(--color-gray-900);\n }\n","\n\n [data-nextjs-error-label-group] {\n display: flex;\n align-items: center;\n gap: 8px;\n }\n");function nw(){var e,t,n=(e=["\n [data-nextjs-dialog-overlay] {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n /* secondary z-index, -1 than toast z-index */\n z-index: 2147483646;\n\n display: flex;\n align-content: center;\n align-items: center;\n flex-direction: column;\n padding: 10vh 15px 0;\n }\n\n @media (max-height: 812px) {\n [data-nextjs-dialog-overlay] {\n padding: 15px 15px 0;\n }\n }\n\n [data-nextjs-dialog-backdrop] {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background-color: var(--color-backdrop);\n backdrop-filter: blur(10px);\n pointer-events: all;\n z-index: -1;\n }\n\n [data-nextjs-dialog-backdrop-fixed] {\n cursor: not-allowed;\n -webkit-backdrop-filter: blur(8px);\n backdrop-filter: blur(8px);\n }\n"],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return nw=function(){return n},n}var n_=eg(nw());function nj(e){var t,n,r,o,a,i=(0,O.c)(9),l=e.file,s=e.location,c=null!=(t=null==s?void 0:s.line)?t:1,u=null!=(n=null==s?void 0:s.column)?n:1;i[0]!==l||i[1]!==c||i[2]!==u?(r={file:l,line1:c,column1:u},i[0]=l,i[1]=c,i[2]=u,i[3]=r):r=i[3];var d=eM(r),f=s?":".concat(s.line,":").concat(s.column):null;return i[4]===Symbol.for("react.memo_cache_sentinel")?(o=(0,S.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,S.jsx)("path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"}),(0,S.jsx)("polyline",{points:"15 3 21 3 21 9"}),(0,S.jsx)("line",{x1:"10",y1:"14",x2:"21",y2:"3"})]}),i[4]=o):o=i[4],i[5]!==l||i[6]!==d||i[7]!==f?(a=(0,S.jsxs)("div",{"data-with-open-in-editor-link":!0,"data-with-open-in-editor-link-import-trace":!0,role:"link",onClick:d,title:"Click to open in your editor",children:[l,f,o]}),i[5]=l,i[6]=d,i[7]=f,i[8]=a):a=i[8],a}function nk(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var nS=function(e){var t,n,r,o,a,i,l,s,c,u,d=e.content,f=C.useMemo(function(){var e,t,n;return t=function(e){var t,n=e.shift();if(!n)return null;var r=(t=n.split(":",3),function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),3!==a.length);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(t,3)||function(e,t){if(e){if("string"==typeof e)return nk(e,3);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return nk(e,3)}}(t,3)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=r[0],a=r[1],i=r[2],l=Number(a),s=Number(i),c=!Number.isNaN(l)&&!Number.isNaN(s);return{fileName:c?o:n,location:c?{line1:l,column1:s}:void 0}}(e=d.split("\n")),n=function(e){if(e.some(function(e){return/ReactServerComponentsError:/.test(e)})||e.some(function(e){return/Import trace for requested module:/.test(e)})){for(var t=[];/.+\..+/.test(e[e.length-1])&&!e[e.length-1].includes(":");){var n=e.pop().trim();t.unshift(n)}return t}return[]}(e),{file:t,source:e.join("\n"),importTraceFiles:n}},[d]),p=f.file,h=f.source,m=f.importTraceFiles,g=C.useMemo(function(){return eG().ansiToJson(h,{json:!0,use_classes:!0,remove_empty:!0})},[h]),y=eM({file:null==p?void 0:p.fileName,line1:null!=(i=null==p||null==(t=p.location)?void 0:t.line1)?i:1,column1:null!=(l=null==p||null==(n=p.location)?void 0:n.column1)?l:1}),v={file:null!=(s=null==p?void 0:p.fileName)?s:null,methodName:"",arguments:[],line1:null!=(c=null==p||null==(r=p.location)?void 0:r.line1)?c:null,column1:null!=(u=null==p||null==(o=p.location)?void 0:o.column1)?u:null},b=null==v||null==(a=v.file)?void 0:a.split(".").pop();return(0,S.jsxs)("div",{"data-nextjs-codeframe":!0,children:[(0,S.jsx)("div",{className:"code-frame-header",children:(0,S.jsxs)("div",{className:"code-frame-link",children:[(0,S.jsx)("span",{className:"code-frame-icon",children:(0,S.jsx)(eB,{lang:b})}),(0,S.jsx)("span",{"data-text":!0,children:eD(v)}),(0,S.jsx)("button",{"aria-label":"Open in editor","data-with-open-in-editor-link-source-file":!0,onClick:y,children:(0,S.jsx)("span",{className:"code-frame-icon","data-icon":"right",children:(0,S.jsx)(eH,{width:16,height:16})})})]})}),(0,S.jsx)("pre",{className:"code-frame-pre",children:(0,S.jsxs)("div",{className:"code-frame-lines",children:[g.map(function(e,t){return(0,S.jsx)("span",{style:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({color:e.fg?"var(--color-".concat(e.fg,")"):void 0},"bold"===e.decoration?{fontWeight:500}:"italic"===e.decoration?{fontStyle:"italic"}:void 0),children:(0,S.jsx)(eP,{text:e.content})},"terminal-entry-".concat(t))}),m.map(function(e){return(0,S.jsx)(nj,{isSourceFile:!1,file:e},e)})]})})]})},nO=function(e){var t=e.split("\n");return eJ()(t[1]||"").replace(/^Error: /,"")},nC=function(e){var t,n,r,o,a,i,l,s,c,u=(0,O.c)(19);u[0]!==e?(o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["message"]),r=e.message,u[0]=e,u[1]=r,u[2]=o):(r=u[1],o=u[2]),u[3]!==r?(a=Error(r),u[3]=r,u[4]=a):a=u[4];var d=a;u[5]!==r?(i=nO(r)||"Failed to compile",u[5]=r,u[6]=i):i=u[6];var f=i;u[7]!==f||u[8]!==r||u[9]!==o.versionInfo.installed?(l=function(){var e=[];if(e.push("## Error Type\nBuild Error"),f&&e.push("## Error Message\n".concat(f)),r){var t=eJ()(r);e.push("## Build Output\n".concat(t))}return"".concat(e.join("\n\n"),"\n\nNext.js version: ").concat(o.versionInfo.installed," (").concat(process.env.__NEXT_BUNDLER,")\n")},u[7]=f,u[8]=r,u[9]=o.versionInfo.installed,u[10]=l):l=u[10];var p=l;return(u[11]!==r?(s=(0,S.jsx)(nS,{content:r}),u[11]=r,u[12]=s):s=u[12],u[13]!==d||u[14]!==f||u[15]!==p||u[16]!==o||u[17]!==s)?(c=(0,S.jsx)(nb,(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({errorType:"Build Error",errorMessage:f,onClose:nP,error:d,generateErrorInfo:p},o),n=n={children:s},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t)),u[13]=d,u[14]=f,u[15]=p,u[16]=o,u[17]=s,u[18]=c):c=u[18],c};function nP(){}var nE=function(e){var t,n,r,o,a,i,l,s,c,u,d,f=(0,O.c)(26),p=e.frame,h=null!=(t=p.originalStackFrame)?t:p.sourceStackFrame,m=!!p.originalCodeFrame;f[0]!==h||f[1]!==m?(n=m?{file:h.file,line1:null!=(r=h.line1)?r:1,column1:null!=(o=h.column1)?o:1}:void 0,f[0]=h,f[1]=m,f[2]=n):n=f[2];var g=eM(n);f[3]!==h?(a=eD(h),f[3]=h,f[4]=a):a=f[4];var y=a;if(!y)return null;var v=!m;return f[5]!==h.methodName?(i=(0,S.jsx)(eP,{text:h.methodName}),f[5]=h.methodName,f[6]=i):i=f[6],f[7]!==h.methodName||f[8]!==m||f[9]!==g?(l=m&&(0,S.jsx)("button",{onClick:g,className:"open-in-editor-button","aria-label":"Open ".concat(h.methodName," in editor"),children:(0,S.jsx)(eH,{width:16,height:16})}),f[7]=h.methodName,f[8]=m,f[9]=g,f[10]=l):l=f[10],f[11]!==p.error||f[12]!==p.reason?(s=p.error?(0,S.jsx)("button",{className:"source-mapping-error-button",onClick:function(){return console.error(p.reason)},title:"Sourcemapping failed. Click to log cause of error.",children:(0,S.jsx)(eV,{width:16,height:16})}):null,f[11]=p.error,f[12]=p.reason,f[13]=s):s=f[13],f[14]!==i||f[15]!==l||f[16]!==s?(c=(0,S.jsxs)("div",{className:"call-stack-frame-method-name",children:[i,l,s]}),f[14]=i,f[15]=l,f[16]=s,f[17]=c):c=f[17],f[18]!==y||f[19]!==m?(u=(0,S.jsx)("span",{className:"call-stack-frame-file-source","data-has-source":m,children:y}),f[18]=y,f[19]=m,f[20]=u):u=f[20],f[21]!==p.ignored||f[22]!==v||f[23]!==c||f[24]!==u?(d=(0,S.jsxs)("div",{"data-nextjs-call-stack-frame":!0,"data-nextjs-call-stack-frame-no-source":v,"data-nextjs-call-stack-frame-ignored":p.ignored,children:[c,u]}),f[21]=p.ignored,f[22]=v,f[23]=c,f[24]=u,f[25]=d):d=f[25],d};function nT(){var e,t=(0,O.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,S.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,S.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.70722 2.39641C8.3167 2.00588 7.68353 2.00588 7.29301 2.39641L4.46978 5.21963L3.93945 5.74996L5.00011 6.81062L5.53044 6.28029L8.00011 3.81062L10.4698 6.28029L11.0001 6.81062L12.0608 5.74996L11.5304 5.21963L8.70722 2.39641ZM5.53044 9.71963L5.00011 9.1893L3.93945 10.25L4.46978 10.7803L7.29301 13.6035C7.68353 13.994 8.3167 13.994 8.70722 13.6035L11.5304 10.7803L12.0608 10.25L11.0001 9.1893L10.4698 9.71963L8.00011 12.1893L5.53044 9.71963Z",fill:"currentColor"})}),t[0]=e):e=t[0],e}function nN(){var e,t,n=(e=["\n [data-nextjs-call-stack-container] {\n position: relative;\n margin-top: 8px;\n }\n\n [data-nextjs-call-stack-header] {\n display: flex;\n justify-content: space-between;\n align-items: center;\n min-height: var(--size-28);\n padding: 8px 8px 12px 4px;\n width: 100%;\n }\n\n [data-nextjs-call-stack-title] {\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: 8px;\n\n margin: 0;\n\n color: var(--color-gray-1000);\n font-size: var(--size-16);\n font-weight: 500;\n }\n\n [data-nextjs-call-stack-count] {\n display: flex;\n justify-content: center;\n align-items: center;\n\n width: var(--size-20);\n height: var(--size-20);\n gap: 4px;\n\n color: var(--color-gray-1000);\n text-align: center;\n font-size: var(--size-11);\n font-weight: 500;\n line-height: var(--size-16);\n\n border-radius: var(--rounded-full);\n background: var(--color-gray-300);\n }\n\n [data-nextjs-call-stack-ignored-list-toggle-button] {\n all: unset;\n display: flex;\n align-items: center;\n gap: 6px;\n color: var(--color-gray-900);\n font-size: var(--size-14);\n line-height: var(--size-20);\n border-radius: 6px;\n padding: 4px 6px;\n margin-right: -6px;\n transition: background 150ms ease;\n\n &:hover {\n background: var(--color-gray-100);\n }\n\n &:focus {\n outline: var(--focus-ring);\n }\n\n svg {\n width: var(--size-16);\n height: var(--size-16);\n }\n }\n"],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return nN=function(){return n},n}function nI(e){var t,n,r,o,a,i,l=(0,O.c)(17),s=e.frames,c=e.isIgnoreListOpen,u=e.ignoredFramesTally,d=e.onToggleIgnoreList;return l[0]!==s.length?(t=(0,S.jsxs)("p",{"data-nextjs-call-stack-title":!0,children:["Call Stack ",(0,S.jsx)("span",{"data-nextjs-call-stack-count":!0,children:s.length})]}),l[0]=s.length,l[1]=t):t=l[1],l[2]!==u||l[3]!==c||l[4]!==d?(n=u>0&&(0,S.jsxs)("button",{"data-nextjs-call-stack-ignored-list-toggle-button":c,onClick:d,children:["".concat(c?"Hide":"Show"," ").concat(u," ignore-listed frame(s)"),(0,S.jsx)(nT,{})]}),l[2]=u,l[3]=c,l[4]=d,l[5]=n):n=l[5],l[6]!==t||l[7]!==n?(r=(0,S.jsxs)("div",{"data-nextjs-call-stack-header":!0,children:[t,n]}),l[6]=t,l[7]=n,l[8]=r):r=l[8],l[9]!==s||l[10]!==c?(l[12]!==c?(a=function(e,t){return!e.ignored||c?(0,S.jsx)(nE,{frame:e},t):null},l[12]=c,l[13]=a):a=l[13],o=s.map(a),l[9]=s,l[10]=c,l[11]=o):o=l[11],l[14]!==r||l[15]!==o?(i=(0,S.jsxs)("div",{"data-nextjs-call-stack-container":!0,children:[r,o]}),l[14]=r,l[15]=o,l[16]=i):i=l[16],i}var nL=eg(nN());function nA(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function nz(e){var t,n=e.frames,r=e.dialogResizerRef,o=(0,C.useRef)(NaN),a=(t=(0,C.useState)(!1),function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),2!==a.length);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(t,2)||function(e,t){if(e){if("string"==typeof e)return nA(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return nA(e,2)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),i=a[0],l=a[1],s=(0,C.useMemo)(function(){return n.reduce(function(e,t){return e+ +!!t.ignored},0)},[n]);return(0,S.jsx)(nI,{frames:n,isIgnoreListOpen:i,onToggleIgnoreList:function(){var e=null==r?void 0:r.current;if(e){var t=e.getBoundingClientRect().height;o.current||(o.current=t),i?(e.style.height="".concat(o.current,"px"),e.addEventListener("transitionend",function t(){e.removeEventListener("transitionend",t),l(!1)})):l(!0)}},ignoredFramesTally:s})}function nR(e){var t,n,r,o,a,i,l=(0,O.c)(8);l[0]!==e?(r=void 0===e?{}:e,l[0]=e,l[1]=r):r=l[1];var s=r.collapsed;return(l[2]!==s?(o="boolean"==typeof s?{style:{transform:s?void 0:"rotate(90deg)"}}:{},l[2]=s,l[3]=o):o=l[3],l[4]===Symbol.for("react.memo_cache_sentinel")?(a=(0,S.jsx)("path",{style:{fill:"var(--color-font)"},fillRule:"evenodd",d:"m6.75 3.94.53.53 2.824 2.823a1 1 0 0 1 0 1.414L7.28 11.53l-.53.53L5.69 11l.53-.53L8.69 8 6.22 5.53 5.69 5l1.06-1.06Z",clipRule:"evenodd"}),l[4]=a):a=l[4],l[5]!==s||l[6]!==o)?(i=(0,S.jsx)("svg",(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({"data-nextjs-call-stack-chevron-icon":!0,"data-collapsed":s,width:"16",height:"16",fill:"none"},o),n=n={children:a},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t)),l[5]=s,l[6]=o,l[7]=i):i=l[7],i}function nD(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function nM(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return nD(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return nD(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function nZ(e){var t,n,r,o,a,i,l=(0,O.c)(15),s=e.reactOutputComponentDiff,c=nM((0,C.useState)(!0),2),u=c[0],d=c[1];l[0]!==s?(t=[],s.split("\n").forEach(function(e,n){var r,o,a="+"===e[0]||"-"===e[0],i=">"===e[0],l=a||i,s=l?e[0]:"",c=l?e.indexOf(s):-1,u=nM(l?[e.slice(0,c),e.slice(c+1)]:[e,""],2),d=u[0],f=u[1];a?t.push((0,S.jsx)("span",{"data-nextjs-container-errors-pseudo-html-line":!0,"data-nextjs-container-errors-pseudo-html--diff":"+"===s?"add":"remove",children:(0,S.jsxs)("span",{children:[d,(0,S.jsx)("span",{"data-nextjs-container-errors-pseudo-html-line-sign":!0,children:s}),f,"\n"]})},"comp-diff"+n)):t.push((0,S.jsxs)("span",(r=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({"data-nextjs-container-errors-pseudo-html-line":!0},i?{"data-nextjs-container-errors-pseudo-html--diff":"error"}:void 0),o=o={children:[d,(0,S.jsx)("span",{"data-nextjs-container-errors-pseudo-html-line-sign":!0,children:s}),f,"\n"]},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(o)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(o,e))}),r),"comp-diff"+n))}),l[0]=s,l[1]=t):t=l[1];var f=t,p=!u;return l[2]!==u?(n=function(){return d(!u)},r=(0,S.jsx)(nR,{collapsed:u}),l[2]=u,l[3]=n,l[4]=r):(n=l[3],r=l[4]),l[5]!==p||l[6]!==n||l[7]!==r?(o=(0,S.jsx)("button",{"aria-expanded":p,"aria-label":"complete Component Stack","data-nextjs-container-errors-pseudo-html-collapse-button":!0,onClick:n,children:r}),l[5]=p,l[6]=n,l[7]=r,l[8]=o):o=l[8],l[9]!==f?(a=(0,S.jsx)("pre",{className:"nextjs__container_errors__component-stack",children:(0,S.jsx)("code",{children:f})}),l[9]=f,l[10]=a):a=l[10],l[11]!==u||l[12]!==o||l[13]!==a?(i=(0,S.jsxs)("div",{"data-nextjs-container-errors-pseudo-html":!0,"data-nextjs-container-errors-pseudo-html-collapse":u,children:[o,a]}),l[11]=u,l[12]=o,l[13]=a,l[14]=i):i=l[14],i}var nU=Symbol.for("NextjsError");function nF(e){return e[nU]||null}function nH(e,t,n,r,o,a,i){try{var l=e[a](i),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,o)}function nV(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function i(e){nH(a,r,o,i,l,"next",e)}function l(e){nH(a,r,o,i,l,"throw",e)}i(void 0)})}}function nB(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}function n$(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function nq(e,t){var n,r,o,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=l(0),i.throw=l(1),i.return=l(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(s){var c=[l,s];if(n)throw TypeError("Generator is already executing.");for(;i&&(i=0,c[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,r=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===c[0]||2===c[0])){a=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){a.label=c[1];break}if(6===c[0]&&a.label<o[1]){a.label=o[1],o=c;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(c);break}o[2]&&a.ops.pop(),a.trys.pop();continue}c=t.call(e,a)}catch(e){c=[6,e],r=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}var nW=function(e){if(!e)return[];var t=e.frames;if("function"!=typeof t)throw Error("Invariant: frames must be a function when the React version has React.use. This is a bug in Next.js.");return C.use(t())};function nK(e){var t,n,r,o,a=(0,O.c)(8),i=e.error,l=e.dialogResizerRef,s=nW(i),c=s.findIndex(nY),u=null!=(t=s[c])?t:null;return a[0]!==u?(n=u&&(0,S.jsx)(e2,{stackFrame:u.originalStackFrame,codeFrame:u.originalCodeFrame}),a[0]=u,a[1]=n):n=a[1],a[2]!==l||a[3]!==s?(r=s.length>0&&(0,S.jsx)(nz,{dialogResizerRef:l,frames:s}),a[2]=l,a[3]=s,a[4]=r):r=a[4],a[5]!==n||a[6]!==r?(o=(0,S.jsxs)(S.Fragment,{children:[n,r]}),a[5]=n,a[6]=r,a[7]=o):o=a[7],o}function nY(e){return!e.ignored&&!!e.originalCodeFrame&&!!e.originalStackFrame}var nX="\n ".concat("\n [data-nextjs-container-errors-pseudo-html] {\n padding: 8px 0;\n margin: 8px 0;\n border: 1px solid var(--color-gray-400);\n background: var(--color-background-200);\n color: var(--color-syntax-constant);\n font-family: var(--font-stack-monospace);\n font-size: var(--size-12);\n line-height: 1.33em; /* 16px in 12px font size */\n border-radius: var(--rounded-md-2);\n }\n [data-nextjs-container-errors-pseudo-html-line] {\n display: inline-block;\n width: 100%;\n padding-left: 40px;\n line-height: calc(5 / 3);\n }\n [data-nextjs-container-errors-pseudo-html--diff='error'] {\n background: var(--color-amber-100);\n box-shadow: 2px 0 0 0 var(--color-amber-900) inset;\n font-weight: bold;\n }\n [data-nextjs-container-errors-pseudo-html-collapse-button] {\n all: unset;\n margin-left: 12px;\n &:focus {\n outline: none;\n }\n }\n [data-nextjs-container-errors-pseudo-html--diff='add'] {\n background: var(--color-green-300);\n }\n [data-nextjs-container-errors-pseudo-html-line-sign] {\n margin-left: calc(24px * -1);\n margin-right: 24px;\n }\n [data-nextjs-container-errors-pseudo-html--diff='add']\n [data-nextjs-container-errors-pseudo-html-line-sign] {\n color: var(--color-green-900);\n }\n [data-nextjs-container-errors-pseudo-html--diff='remove'] {\n background: var(--color-red-300);\n }\n [data-nextjs-container-errors-pseudo-html--diff='remove']\n [data-nextjs-container-errors-pseudo-html-line-sign] {\n color: var(--color-red-900);\n margin-left: calc(24px * -1);\n margin-right: 24px;\n }\n [data-nextjs-container-errors-pseudo-html--diff='error']\n [data-nextjs-container-errors-pseudo-html-line-sign] {\n color: var(--color-amber-900);\n }\n \n [data-nextjs-container-errors-pseudo-html--hint] {\n display: inline-block;\n font-size: 0;\n height: 0;\n }\n [data-nextjs-container-errors-pseudo-html--tag-adjacent='false'] {\n color: var(--color-accents-1);\n }\n .nextjs__container_errors__component-stack {\n margin: 0;\n }\n [data-nextjs-container-errors-pseudo-html-collapse='true']\n .nextjs__container_errors__component-stack\n code {\n max-height: 120px;\n mask-image: linear-gradient(to bottom,rgba(0,0,0,0) 0%,black 10%);\n padding-bottom: 40px;\n }\n .nextjs__container_errors__component-stack code {\n display: block;\n width: 100%;\n white-space: pre-wrap;\n scroll-snap-type: y mandatory;\n overflow-y: hidden;\n }\n [data-nextjs-container-errors-pseudo-html--diff] {\n scroll-snap-align: center;\n }\n .error-overlay-hydration-error-diff-plus-icon {\n color: var(--color-green-900);\n }\n .error-overlay-hydration-error-diff-minus-icon {\n color: var(--color-red-900);\n }\n","\n");function nG(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function nQ(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function nJ(e){return e.startsWith("https://nextjs.org")?"nextjs-link":e.startsWith("https://")||e.startsWith("http://")?"external-link":null}function n0(e){var t,n=(0,O.c)(2),r=e.message;return n[0]!==r?(t=(0,S.jsx)(eP,{text:r,matcher:nJ}),n[0]=r,n[1]=t):t=n[1],t}function n1(e){var t,n,r=(0,O.c)(5),o=e.error,a="environmentName"in o?o.environmentName:"",i=a?"[ ".concat(a," ] "):"",l=o.message;return l.startsWith(i)&&(r[0]!==i.length||r[1]!==l?(t=l.slice(i.length),r[0]=i.length,r[1]=l,r[2]=t):t=r[2],l=t),r[3]!==l?(n=(0,S.jsx)(S.Fragment,{children:(0,S.jsx)(eP,{text:l,matcher:nJ})}),r[3]=l,r[4]=n):n=r[4],n}function n2(e){var t,n,r,o,a,i,l,s,c,u,d,f,p,h,m,g,y,v,b,x,w=(0,O.c)(20);return"navigation"===e.variant?(w[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,S.jsxs)("h3",{className:"nextjs__blocking_page_load_error_description_title",children:["Data that blocks navigation was accessed inside"," ",(0,S.jsx)("code",{children:"generateMetadata()"})," in an otherwise prerenderable page"]}),w[0]=t):t=w[0],w[1]===Symbol.for("react.memo_cache_sentinel")?(n=(0,S.jsx)("code",{children:"fetch(...)"}),w[1]=n):n=w[1],w[2]===Symbol.for("react.memo_cache_sentinel")?(r=(0,S.jsxs)("p",{children:["When Document metadata is the only part of a page that cannot be prerendered Next.js expects you to either make it prerenderable or make some other part of the page non-prerenderable to avoid unintentional partially dynamic pages. Uncached data such as"," ",n,", cached data with a low expire time, or"," ",(0,S.jsx)("code",{children:"connection()"})," are all examples of data that only resolve on navigation."]}),o=(0,S.jsx)("h4",{children:"To fix this:"}),w[2]=r,w[3]=o):(r=w[2],o=w[3]),w[4]===Symbol.for("react.memo_cache_sentinel")?(a=(0,S.jsxs)("strong",{children:["Move the asynchronous await into a Cache Component (",(0,S.jsx)("code",{children:'"use cache"'}),")"]}),w[4]=a):a=w[4],w[5]===Symbol.for("react.memo_cache_sentinel")?(i=(0,S.jsxs)("p",{className:"nextjs__blocking_page_load_error_fix_option",children:[a,". This allows Next.js to statically prerender"," ",(0,S.jsx)("code",{children:"generateMetadata()"})," as part of the HTML document, so it's instantly visible to the user."]}),l=(0,S.jsx)("h4",{className:"nextjs__blocking_page_load_error_fix_option_separator",children:"or"}),w[5]=i,w[6]=l):(i=w[5],l=w[6]),w[7]===Symbol.for("react.memo_cache_sentinel")?(s=(0,S.jsx)("code",{children:"connection()"}),w[7]=s):s=w[7],w[8]===Symbol.for("react.memo_cache_sentinel")?(c=(0,S.jsxs)("p",{className:"nextjs__blocking_page_load_error_fix_option",children:[(0,S.jsxs)("strong",{children:["add ",s," inside a ",(0,S.jsx)("code",{children:"<Suspense>"})]})," ","somewhere in a Page or Layout. This tells Next.js that the page is intended to have some non-prerenderable parts."]}),w[8]=c):c=w[8],w[9]===Symbol.for("react.memo_cache_sentinel")?(u=(0,S.jsxs)("div",{className:"nextjs__blocking_page_load_error_description",children:[t,r,o,i,l,c,(0,S.jsxs)("p",{children:["Learn more:"," ",(0,S.jsx)("a",{href:"https://nextjs.org/docs/messages/next-prerender-dynamic-metadata",children:"https://nextjs.org/docs/messages/next-prerender-dynamic-metadata"})]})]}),w[9]=u):u=w[9],u):(w[10]===Symbol.for("react.memo_cache_sentinel")?(d=(0,S.jsxs)("h3",{className:"nextjs__blocking_page_load_error_description_title",children:["Runtime data was accessed inside ",(0,S.jsx)("code",{children:"generateMetadata()"})," or file-based metadata"]}),f=(0,S.jsx)("p",{children:"When Document metadata is the only part of a page that cannot be prerendered Next.js expects you to either make it prerenderable or make some other part of the page non-prerenderable to avoid unintentional partially dynamic pages."}),p=(0,S.jsx)("h4",{children:"To fix this:"}),w[10]=d,w[11]=f,w[12]=p):(d=w[10],f=w[11],p=w[12]),w[13]===Symbol.for("react.memo_cache_sentinel")?(h=(0,S.jsxs)("strong",{children:["Remove the Runtime data access from ",(0,S.jsx)("code",{children:"generateMetadata()"})]}),w[13]=h):h=w[13],w[14]===Symbol.for("react.memo_cache_sentinel")?(m=(0,S.jsxs)("p",{className:"nextjs__blocking_page_load_error_fix_option",children:[h,". This allows Next.js to statically prerender"," ",(0,S.jsx)("code",{children:"generateMetadata()"})," as part of the HTML document, so it's instantly visible to the user."]}),g=(0,S.jsx)("h4",{className:"nextjs__blocking_page_load_error_fix_option_separator",children:"or"}),w[14]=m,w[15]=g):(m=w[14],g=w[15]),w[16]===Symbol.for("react.memo_cache_sentinel")?(y=(0,S.jsx)("code",{children:"connection()"}),w[16]=y):y=w[16],w[17]===Symbol.for("react.memo_cache_sentinel")?(v=(0,S.jsxs)("p",{className:"nextjs__blocking_page_load_error_fix_option",children:[(0,S.jsxs)("strong",{children:["add ",y," inside a ",(0,S.jsx)("code",{children:"<Suspense>"})]})," ","somewhere in a Page or Layout. This tells Next.js that the page is intended to have some non-prerenderable parts."]}),b=(0,S.jsx)("p",{children:"Note that if you are using file-based metadata, such as icons, inside a route with dynamic params then the only recourse is to make some other part of the page non-prerenderable."}),w[17]=v,w[18]=b):(v=w[17],b=w[18]),w[19]===Symbol.for("react.memo_cache_sentinel")?(x=(0,S.jsxs)("div",{className:"nextjs__blocking_page_load_error_description",children:[d,f,p,m,g,v,b,(0,S.jsxs)("p",{children:["Learn more:"," ",(0,S.jsx)("a",{href:"https://nextjs.org/docs/messages/next-prerender-dynamic-metadata",children:"https://nextjs.org/docs/messages/next-prerender-dynamic-metadata"})]})]}),w[19]=x):x=w[19],x)}function n3(e){var t,n,r,o,a,i,l,s,c,u,d,f,p,h,m,g,y,v,b,x,w,_,j,k,C,P,E,T,N,I,L,A,z,R,D,M,Z,U,F,H,V,B,$,q,W,K,Y,X,G,Q,J,ee,et,en,er,eo,ea,ei,el,es,ec,eu,ed=(0,O.c)(62),ef=e.variant,ep=e.refinement;return"generateViewport"===ep?"navigation"===ef?(ed[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,S.jsxs)("h3",{className:"nextjs__blocking_page_load_error_description_title",children:["Data that blocks navigation was accessed inside"," ",(0,S.jsx)("code",{children:"generateViewport()"})]}),ed[0]=t):t=ed[0],ed[1]===Symbol.for("react.memo_cache_sentinel")?(n=(0,S.jsx)("code",{children:"fetch(...)"}),ed[1]=n):n=ed[1],ed[2]===Symbol.for("react.memo_cache_sentinel")?(r=(0,S.jsxs)("p",{children:["Viewport metadata needs to be available on page load so accessing data that waits for a user navigation while producing it prevents Next.js from prerendering an initial UI. Uncached data such as"," ",n,", cached data with a low expire time, or"," ",(0,S.jsx)("code",{children:"connection()"})," are all examples of data that only resolve on navigation."]}),o=(0,S.jsx)("h4",{children:"To fix this:"}),ed[2]=r,ed[3]=o):(r=ed[2],o=ed[3]),ed[4]===Symbol.for("react.memo_cache_sentinel")?(a=(0,S.jsxs)("strong",{children:["Move the asynchronous await into a Cache Component (",(0,S.jsx)("code",{children:'"use cache"'}),")"]}),ed[4]=a):a=ed[4],ed[5]===Symbol.for("react.memo_cache_sentinel")?(i=(0,S.jsxs)("p",{className:"nextjs__blocking_page_load_error_fix_option",children:[a,". This allows Next.js to statically prerender"," ",(0,S.jsx)("code",{children:"generateViewport()"})," as part of the HTML document, so it's instantly visible to the user."]}),l=(0,S.jsx)("h4",{className:"nextjs__blocking_page_load_error_fix_option_separator",children:"or"}),ed[5]=i,ed[6]=l):(i=ed[5],l=ed[6]),ed[7]===Symbol.for("react.memo_cache_sentinel")?(s=(0,S.jsx)("code",{children:"<Suspense>"}),ed[7]=s):s=ed[7],ed[8]===Symbol.for("react.memo_cache_sentinel")?(c=(0,S.jsxs)("p",{className:"nextjs__blocking_page_load_error_fix_option",children:[(0,S.jsxs)("strong",{children:["Put a ",s," around your document"," ",(0,S.jsx)("code",{children:"<body>"}),"."]}),"This indicate to Next.js that you are opting into allowing blocking navigations for any page."]}),ed[8]=c):c=ed[8],ed[9]===Symbol.for("react.memo_cache_sentinel")?(u=(0,S.jsxs)("div",{className:"nextjs__blocking_page_load_error_description",children:[t,r,o,i,l,c,(0,S.jsxs)("p",{children:["Learn more:"," ",(0,S.jsx)("a",{href:"https://nextjs.org/docs/messages/next-prerender-dynamic-viewport",children:"https://nextjs.org/docs/messages/next-prerender-dynamic-viewport"})]})]}),ed[9]=u):u=ed[9],u):(ed[10]===Symbol.for("react.memo_cache_sentinel")?(d=(0,S.jsxs)("h3",{className:"nextjs__blocking_page_load_error_description_title",children:["Runtime data was accessed inside ",(0,S.jsx)("code",{children:"generateViewport()"})]}),ed[10]=d):d=ed[10],ed[11]===Symbol.for("react.memo_cache_sentinel")?(f=(0,S.jsx)("code",{children:"cookies()"}),ed[11]=f):f=ed[11],ed[12]===Symbol.for("react.memo_cache_sentinel")?(p=(0,S.jsx)("code",{children:"headers()"}),ed[12]=p):p=ed[12],ed[13]===Symbol.for("react.memo_cache_sentinel")?(h=(0,S.jsxs)("p",{children:["Viewport metadata needs to be available on page load so accessing data that comes from a user Request while producing it prevents Next.js from prerendering an initial UI.",f,", ",p,", and"," ",(0,S.jsx)("code",{children:"searchParams"}),", are examples of Runtime data that can only come from a user request."]}),m=(0,S.jsx)("h4",{children:"To fix this:"}),ed[13]=h,ed[14]=m):(h=ed[13],m=ed[14]),ed[15]===Symbol.for("react.memo_cache_sentinel")?(g=(0,S.jsx)("strong",{children:"Remove the Runtime data requirement"}),ed[15]=g):g=ed[15],ed[16]===Symbol.for("react.memo_cache_sentinel")?(y=(0,S.jsx)("code",{children:"generateViewport"}),ed[16]=y):y=ed[16],ed[17]===Symbol.for("react.memo_cache_sentinel")?(v=(0,S.jsxs)("p",{className:"nextjs__blocking_page_load_error_fix_option",children:[g," from"," ",y,". This allows Next.js to statically prerender ",(0,S.jsx)("code",{children:"generateViewport()"})," as part of the HTML document, so it's instantly visible to the user."]}),b=(0,S.jsx)("h4",{className:"nextjs__blocking_page_load_error_fix_option_separator",children:"or"}),ed[17]=v,ed[18]=b):(v=ed[17],b=ed[18]),ed[19]===Symbol.for("react.memo_cache_sentinel")?(x=(0,S.jsx)("code",{children:"<Suspense>"}),ed[19]=x):x=ed[19],ed[20]===Symbol.for("react.memo_cache_sentinel")?(w=(0,S.jsxs)("p",{className:"nextjs__blocking_page_load_error_fix_option",children:[(0,S.jsxs)("strong",{children:["Put a ",x," around your document"," ",(0,S.jsx)("code",{children:"<body>"}),"."]}),"This indicate to Next.js that you are opting into allowing blocking navigations for any page."]}),_=(0,S.jsx)("code",{children:"params"}),ed[20]=w,ed[21]=_):(w=ed[20],_=ed[21]),ed[22]===Symbol.for("react.memo_cache_sentinel")?(j=(0,S.jsxs)("p",{children:[_," are usually considered Runtime data but if all params are provided a value using ",(0,S.jsx)("code",{children:"generateStaticParams"})," ","they can be statically prerendered."]}),ed[22]=j):j=ed[22],ed[23]===Symbol.for("react.memo_cache_sentinel")?(k=(0,S.jsxs)("div",{className:"nextjs__blocking_page_load_error_description",children:[d,h,m,v,b,w,j,(0,S.jsxs)("p",{children:["Learn more:"," ",(0,S.jsx)("a",{href:"https://nextjs.org/docs/messages/next-prerender-dynamic-viewport",children:"https://nextjs.org/docs/messages/next-prerender-dynamic-viewport"})]})]}),ed[23]=k):k=ed[23],k):"generateMetadata"===ep?"navigation"===ef?(ed[24]===Symbol.for("react.memo_cache_sentinel")?(C=(0,S.jsxs)("h3",{className:"nextjs__blocking_page_load_error_description_title",children:["Data that blocks navigation was accessed inside"," ",(0,S.jsx)("code",{children:"generateMetadata()"})," in an otherwise prerenderable page"]}),ed[24]=C):C=ed[24],ed[25]===Symbol.for("react.memo_cache_sentinel")?(P=(0,S.jsx)("code",{children:"fetch(...)"}),ed[25]=P):P=ed[25],ed[26]===Symbol.for("react.memo_cache_sentinel")?(E=(0,S.jsxs)("p",{children:["When Document metadata is the only part of a page that cannot be prerendered Next.js expects you to either make it prerenderable or make some other part of the page non-prerenderable to avoid unintentional partially dynamic pages. Uncached data such as"," ",P,", cached data with a low expire time, or"," ",(0,S.jsx)("code",{children:"connection()"})," are all examples of data that only resolve on navigation."]}),T=(0,S.jsx)("h4",{children:"To fix this:"}),ed[26]=E,ed[27]=T):(E=ed[26],T=ed[27]),ed[28]===Symbol.for("react.memo_cache_sentinel")?(N=(0,S.jsxs)("strong",{children:["Move the asynchronous await into a Cache Component (",(0,S.jsx)("code",{children:'"use cache"'}),")"]}),ed[28]=N):N=ed[28],ed[29]===Symbol.for("react.memo_cache_sentinel")?(I=(0,S.jsxs)("p",{className:"nextjs__blocking_page_load_error_fix_option",children:[N,". This allows Next.js to statically prerender"," ",(0,S.jsx)("code",{children:"generateMetadata()"})," as part of the HTML document, so it's instantly visible to the user."]}),L=(0,S.jsx)("h4",{className:"nextjs__blocking_page_load_error_fix_option_separator",children:"or"}),ed[29]=I,ed[30]=L):(I=ed[29],L=ed[30]),ed[31]===Symbol.for("react.memo_cache_sentinel")?(A=(0,S.jsx)("code",{children:"connection()"}),ed[31]=A):A=ed[31],ed[32]===Symbol.for("react.memo_cache_sentinel")?(z=(0,S.jsxs)("p",{className:"nextjs__blocking_page_load_error_fix_option",children:[(0,S.jsxs)("strong",{children:["add ",A," inside a ",(0,S.jsx)("code",{children:"<Suspense>"})]})," ","somewhere in a Page or Layout. This tells Next.js that the page is intended to have some non-prerenderable parts."]}),ed[32]=z):z=ed[32],ed[33]===Symbol.for("react.memo_cache_sentinel")?(R=(0,S.jsxs)("div",{className:"nextjs__blocking_page_load_error_description",children:[C,E,T,I,L,z,(0,S.jsxs)("p",{children:["Learn more:"," ",(0,S.jsx)("a",{href:"https://nextjs.org/docs/messages/next-prerender-dynamic-metadata",children:"https://nextjs.org/docs/messages/next-prerender-dynamic-metadata"})]})]}),ed[33]=R):R=ed[33],R):(ed[34]===Symbol.for("react.memo_cache_sentinel")?(D=(0,S.jsxs)("h3",{className:"nextjs__blocking_page_load_error_description_title",children:["Runtime data was accessed inside ",(0,S.jsx)("code",{children:"generateMetadata()"})," or file-based metadata"]}),M=(0,S.jsx)("p",{children:"When Document metadata is the only part of a page that cannot be prerendered Next.js expects you to either make it prerenderable or make some other part of the page non-prerenderable to avoid unintentional partially dynamic pages."}),Z=(0,S.jsx)("h4",{children:"To fix this:"}),ed[34]=D,ed[35]=M,ed[36]=Z):(D=ed[34],M=ed[35],Z=ed[36]),ed[37]===Symbol.for("react.memo_cache_sentinel")?(U=(0,S.jsxs)("strong",{children:["Remove the Runtime data access from"," ",(0,S.jsx)("code",{children:"generateMetadata()"})]}),ed[37]=U):U=ed[37],ed[38]===Symbol.for("react.memo_cache_sentinel")?(F=(0,S.jsxs)("p",{className:"nextjs__blocking_page_load_error_fix_option",children:[U,". This allows Next.js to statically prerender"," ",(0,S.jsx)("code",{children:"generateMetadata()"})," as part of the HTML document, so it's instantly visible to the user."]}),H=(0,S.jsx)("h4",{className:"nextjs__blocking_page_load_error_fix_option_separator",children:"or"}),ed[38]=F,ed[39]=H):(F=ed[38],H=ed[39]),ed[40]===Symbol.for("react.memo_cache_sentinel")?(V=(0,S.jsx)("code",{children:"connection()"}),ed[40]=V):V=ed[40],ed[41]===Symbol.for("react.memo_cache_sentinel")?(B=(0,S.jsxs)("p",{className:"nextjs__blocking_page_load_error_fix_option",children:[(0,S.jsxs)("strong",{children:["add ",V," inside a ",(0,S.jsx)("code",{children:"<Suspense>"})]})," ","somewhere in a Page or Layout. This tells Next.js that the page is intended to have some non-prerenderable parts."]}),$=(0,S.jsx)("p",{children:"Note that if you are using file-based metadata, such as icons, inside a route with dynamic params then the only recourse is to make some other part of the page non-prerenderable."}),ed[41]=B,ed[42]=$):(B=ed[41],$=ed[42]),ed[43]===Symbol.for("react.memo_cache_sentinel")?(q=(0,S.jsxs)("div",{className:"nextjs__blocking_page_load_error_description",children:[D,M,Z,F,H,B,$,(0,S.jsxs)("p",{children:["Learn more:"," ",(0,S.jsx)("a",{href:"https://nextjs.org/docs/messages/next-prerender-dynamic-metadata",children:"https://nextjs.org/docs/messages/next-prerender-dynamic-metadata"})]})]}),ed[43]=q):q=ed[43],q):"runtime"===ef?(ed[44]===Symbol.for("react.memo_cache_sentinel")?(W=(0,S.jsxs)("h3",{className:"nextjs__blocking_page_load_error_description_title",children:["Runtime data was accessed outside of ","<Suspense>"]}),ed[44]=W):W=ed[44],ed[45]===Symbol.for("react.memo_cache_sentinel")?(K=(0,S.jsx)("code",{children:"cookies()"}),ed[45]=K):K=ed[45],ed[46]===Symbol.for("react.memo_cache_sentinel")?(Y=(0,S.jsx)("code",{children:"headers()"}),ed[46]=Y):Y=ed[46],ed[47]===Symbol.for("react.memo_cache_sentinel")?(X=(0,S.jsxs)("p",{children:["This delays the entire page from rendering, resulting in a slow user experience. Next.js uses this error to ensure your app loads instantly on every navigation. ",K,", ",Y,", and ",(0,S.jsx)("code",{children:"searchParams"}),", are examples of Runtime data that can only come from a user request."]}),G=(0,S.jsx)("h4",{children:"To fix this:"}),ed[47]=X,ed[48]=G):(X=ed[47],G=ed[48]),ed[49]===Symbol.for("react.memo_cache_sentinel")?(Q=(0,S.jsxs)("p",{className:"nextjs__blocking_page_load_error_fix_option",children:[(0,S.jsxs)("strong",{children:["Provide a fallback UI using ","<Suspense>"]})," around this component."]}),J=(0,S.jsx)("h4",{className:"nextjs__blocking_page_load_error_fix_option_separator",children:"or"}),ed[49]=Q,ed[50]=J):(Q=ed[49],J=ed[50]),ed[51]===Symbol.for("react.memo_cache_sentinel")?(ee=(0,S.jsx)("p",{className:"nextjs__blocking_page_load_error_fix_option",children:(0,S.jsxs)("strong",{children:["Move the Runtime data access into a deeper component wrapped in"," ","<Suspense>","."]})}),et=(0,S.jsx)("p",{children:"In either case this allows Next.js to stream its contents to the user when they request the page, while still providing an initial UI that is prerendered and prefetchable for instant navigations."}),ed[51]=ee,ed[52]=et):(ee=ed[51],et=ed[52]),ed[53]===Symbol.for("react.memo_cache_sentinel")?(en=(0,S.jsxs)("div",{className:"nextjs__blocking_page_load_error_description",children:[W,X,G,Q,J,ee,et,(0,S.jsxs)("p",{children:["Learn more:"," ",(0,S.jsx)("a",{href:"https://nextjs.org/docs/messages/blocking-route",children:"https://nextjs.org/docs/messages/blocking-route"})]})]}),ed[53]=en):en=ed[53],en):(ed[54]===Symbol.for("react.memo_cache_sentinel")?(er=(0,S.jsxs)("h3",{className:"nextjs__blocking_page_load_error_description_title",children:["Data that blocks navigation was accessed outside of ","<Suspense>"]}),ed[54]=er):er=ed[54],ed[55]===Symbol.for("react.memo_cache_sentinel")?(eo=(0,S.jsx)("code",{children:"fetch(...)"}),ed[55]=eo):eo=ed[55],ed[56]===Symbol.for("react.memo_cache_sentinel")?(ea=(0,S.jsxs)("p",{children:["This delays the entire page from rendering, resulting in a slow user experience. Next.js uses this error to ensure your app loads instantly on every navigation. Uncached data such as ",eo,", cached data with a low expire time, or ",(0,S.jsx)("code",{children:"connection()"})," are all examples of data that only resolve on navigation."]}),ei=(0,S.jsx)("h4",{children:"To fix this, you can either:"}),ed[56]=ea,ed[57]=ei):(ea=ed[56],ei=ed[57]),ed[58]===Symbol.for("react.memo_cache_sentinel")?(el=(0,S.jsxs)("p",{className:"nextjs__blocking_page_load_error_fix_option",children:[(0,S.jsxs)("strong",{children:["Provide a fallback UI using ","<Suspense>"]})," around this component. This allows Next.js to stream its contents to the user as soon as it's ready, without blocking the rest of the app."]}),es=(0,S.jsx)("h4",{className:"nextjs__blocking_page_load_error_fix_option_separator",children:"or"}),ed[58]=el,ed[59]=es):(el=ed[58],es=ed[59]),ed[60]===Symbol.for("react.memo_cache_sentinel")?(ec=(0,S.jsxs)("p",{className:"nextjs__blocking_page_load_error_fix_option",children:[(0,S.jsxs)("strong",{children:["Move the asynchronous await into a Cache Component (",(0,S.jsx)("code",{children:'"use cache"'}),")"]}),". This allows Next.js to statically prerender the component as part of the HTML document, so it's instantly visible to the user."]}),ed[60]=ec):ec=ed[60],ed[61]===Symbol.for("react.memo_cache_sentinel")?(eu=(0,S.jsxs)("div",{className:"nextjs__blocking_page_load_error_description",children:[er,ea,ei,el,es,ec,(0,S.jsxs)("p",{children:["Learn more:"," ",(0,S.jsx)("a",{href:"https://nextjs.org/docs/messages/blocking-route",children:"https://nextjs.org/docs/messages/blocking-route"})]})]}),ed[61]=eu):eu=ed[61],eu)}var n4={type:"empty"};function n5(e){var t,n,r,o=e.getSquashedHydrationErrorDetails,a=e.runtimeErrors,i=e.debugInfo,l=e.onClose,s=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["getSquashedHydrationErrorDetails","runtimeErrors","debugInfo","onClose"]),c=(0,C.useRef)(null),u=function(e){var t,n,r,o,a,i,l,s,c,u,d=(0,O.c)(16),f=e.runtimeErrors,p=e.getSquashedHydrationErrorDetails,h=(o=(0,C.useState)(0),function(e){if(Array.isArray(e))return e}(o)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),2!==a.length);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(o,2)||function(e,t){if(e){if("string"==typeof e)return nQ(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return nQ(e,2)}}(o,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),m=h[0],g=h[1],y=0===f.length,v=null!=(i=f[m])?i:null,b=function(e,t){var n=(0,O.c)(5);n:{if(void 0===e){o=n4;break n}n[0]!==e||n[1]!==t?(a=function(e,t){var n,r,o,a=t(e);if(null!==a)return{type:"hydration",warning:null!=(r=a.warning)?r:null,notes:null,reactOutputComponentDiff:null!=(o=a.reactOutputComponentDiff)?o:null};if(!(tO((n=e).message)||/Hydration failed because the server rendered (text|HTML) didn't match the client\./.test(n.message)||/A tree hydrated but some attributes of the server rendered HTML didn't match the client properties./.test(n.message)))return null;var i=function(e){var t=e.message;if(tO(t)){var n=tx(t.split("\n\n"),2),r=n[0],o=n[1],a=(void 0===o?"":o).trim();return{message:""===a?t.trim():r.trim(),diff:a,notes:null}}var i=tx(t.split("".concat(tj)),2),l=i[0],s=i[1],c=l.trim();if(void 0!==s&&s.length>1){var u=[];s.split("\n").forEach(function(e){""!==e.trim()&&(e.trim().startsWith("at ")||u.push(e))});var d=tw(c.split("\n\n")),f=d[0],p=d.slice(1);return{message:f,diff:u.join("\n"),notes:p.join("\n\n")||null}}var h=tw(c.split("\n\n"));return{message:h[0],diff:null,notes:h.slice(1).join("\n\n")}}(e),l=i.message,s=i.notes,c=i.diff;return null===l?null:{type:"hydration",warning:l,notes:s,reactOutputComponentDiff:c}}(e,t),n[0]=e,n[1]=t,n[2]=a):a=n[2];var r,o,a,i,l=a;if(l){o=l;break n}n[3]!==e?(i=(r=e).message.includes("/blocking-route")?{type:"blocking-route",variant:r.message.includes("cookies()")?"runtime":"navigation",refinement:""}:r.message.includes("/next-prerender-dynamic-metadata")?{type:"dynamic-metadata",variant:r.message.includes("cookies()")?"runtime":"navigation"}:r.message.includes("/next-prerender-dynamic-viewport")?{type:"blocking-route",variant:r.message.includes("cookies()")?"runtime":"navigation",refinement:"generateViewport"}:null,n[3]=e,n[4]=i):i=n[4];var s=i;if(s){o=s;break n}o=n4}return o}(null==v?void 0:v.error,p);if(y||!v)return d[0]!==m||d[1]!==y?(l={isLoading:y,activeIdx:m,setActiveIndex:g,activeError:null,errorDetails:null,errorCode:null,errorType:null},d[0]=m,d[1]=y,d[2]=l):l=d[2],l;var x=v.error;d[3]!==x?(s=(void 0===(a=x)?"undefined":nG(a))==="object"&&null!==a&&"__NEXT_ERROR_CODE"in a&&"string"==typeof a.__NEXT_ERROR_CODE?a.__NEXT_ERROR_CODE:(void 0===a?"undefined":nG(a))==="object"&&null!==a&&"digest"in a&&"string"==typeof a.digest?a.digest.split("@").find(function(e){return e.startsWith("E")}):void 0,d[3]=x,d[4]=s):s=d[4];var w=s;d[5]!==v.type||d[6]!==x||d[7]!==b?(t=x,n=v.type,c="blocking-route"===(r=b).type?"Blocking Route":"dynamic-metadata"===r.type?"Ambiguous Metadata":"recoverable"===n?"Recoverable ".concat(t.name):"console"===n?"Console ".concat(t.name):"Runtime ".concat(t.name),d[5]=v.type,d[6]=x,d[7]=b,d[8]=c):c=d[8];var _=c;return d[9]!==v||d[10]!==m||d[11]!==w||d[12]!==b||d[13]!==_||d[14]!==y?(u={isLoading:y,activeIdx:m,setActiveIndex:g,activeError:v,errorDetails:b,errorCode:w,errorType:_},d[9]=v,d[10]=m,d[11]=w,d[12]=b,d[13]=_,d[14]=y,d[15]=u):u=d[15],u}({runtimeErrors:a,getSquashedHydrationErrorDetails:o}),d=u.isLoading,f=u.errorCode,p=u.errorType,h=u.activeIdx,m=u.errorDetails,g=u.activeError,y=u.setActiveIndex,v=nW(g),b=(0,C.useMemo)(function(){var e,t=v.findIndex(function(e){return!e.ignored&&!!e.originalCodeFrame&&!!e.originalStackFrame});return null!=(e=v[t])?e:null},[v]),x=(0,C.useCallback)(function(){if(!g)return"";var e=[];p&&e.push("## Error Type\n".concat(p));var t=g.error,n=t.message;if("environmentName"in t&&t.environmentName){var r="[ ".concat(t.environmentName," ] ");n.startsWith(r)&&(n=n.slice(r.length))}if(n&&e.push("## Error Message\n".concat(n)),v.length>0){var o=v.filter(function(e){return!e.ignored});if(o.length>0){var a=o.map(function(e){if(e.originalStackFrame){var t=e.originalStackFrame,n=t.methodName,r=t.file,o=t.line1,a=t.column1;return" at ".concat(n," (").concat(r,":").concat(o,":").concat(a,")")}if(e.sourceStackFrame){var i=e.sourceStackFrame,l=i.methodName,s=i.file,c=i.line1,u=i.column1;return" at ".concat(l," (").concat(s,":").concat(c,":").concat(u,")")}return""}).filter(Boolean);a.length>0&&e.push("\n".concat(a.join("\n")))}}if(null==b?void 0:b.originalCodeFrame){var i=eJ()(e0(b.originalCodeFrame));e.push("## Code Frame\n".concat(i))}return"".concat(e.join("\n\n"),"\n\nNext.js version: ").concat(s.versionInfo.installed," (").concat(process.env.__NEXT_BUNDLER,")\n")},[g,p,b,v,s.versionInfo]);if(d)return(0,S.jsx)(t8,{children:(0,S.jsx)(nh,{})});if(!g)return null;var w=g.error,_=["server","edge-server"].includes(nF(w)||""),j=null,k=null;switch(m.type){case"hydration":r=m.warning?(0,S.jsx)(n0,{message:m.warning}):(0,S.jsx)(n1,{error:w}),j=(0,S.jsxs)("div",{className:"error-overlay-notes-container",children:[m.notes?(0,S.jsx)(S.Fragment,{children:(0,S.jsx)("p",{id:"nextjs__container_errors__notes",className:"nextjs__container_errors__notes",children:m.notes})}):null,m.warning?(0,S.jsx)("p",{id:"nextjs__container_errors__link",className:"nextjs__container_errors__link",children:(0,S.jsx)(eP,{text:"See more info here: ".concat(tk)})}):null]}),m.reactOutputComponentDiff&&(k=(0,S.jsx)(nZ,{reactOutputComponentDiff:m.reactOutputComponentDiff||""}));break;case"blocking-route":r=(0,S.jsx)(n3,{variant:m.variant,refinement:m.refinement});break;case"dynamic-metadata":r=(0,S.jsx)(n2,{variant:m.variant});break;case"empty":r=(0,S.jsx)(n1,{error:w})}return(0,S.jsxs)(nb,(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({errorCode:f,errorType:p,errorMessage:r,onClose:_?void 0:l,debugInfo:i,error:w,runtimeErrors:a,activeIdx:h,setActiveIndex:y,dialogResizerRef:c,generateErrorInfo:x},s),n=n={children:[j,k,(0,S.jsx)(C.Suspense,{fallback:(0,S.jsx)("div",{"data-nextjs-error-suspended":!0}),children:(0,S.jsx)(nK,{error:g,dialogResizerRef:c},g.id.toString())})]},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t))}function n6(){var e,t=(0,O.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,S.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"none",children:(0,S.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"m.191 2.063.56.498 13.5 12 .561.498.997-1.121-.56-.498-1.81-1.608 2.88-3.342v-.98l-3.204-3.72C10.645.923 6.365.686 3.594 3.08L1.748 1.44 1.188.94.19 2.063ZM14.761 8l-2.442 2.836-1.65-1.466a3.001 3.001 0 0 0-4.342-3.86l-1.6-1.422a5.253 5.253 0 0 1 7.251.682L14.76 8ZM7.526 6.576l1.942 1.727a1.499 1.499 0 0 0-1.942-1.727Zm-7.845.935 1.722-2 1.137.979L1.24 8l2.782 3.23A5.25 5.25 0 0 0 9.9 12.703l.54 1.4a6.751 6.751 0 0 1-7.555-1.892L-.318 8.49v-.98Z",clipRule:"evenodd"})}),t[0]=e):e=t[0],e}function n9(){var e,t,n=(0,O.c)(2);return n[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,S.jsx)("g",{clipPath:"url(#light_icon_clip_path)",children:(0,S.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M8.75.75V0h-1.5v2h1.5V.75ZM3.26 4.32l-.53-.53-.354-.353-.53-.53 1.06-1.061.53.53.354.354.53.53-1.06 1.06Zm8.42-1.06.53-.53.353-.354.53-.53 1.061 1.06-.53.53-.354.354-.53.53-1.06-1.06ZM8 11.25a3.25 3.25 0 1 0 0-6.5 3.25 3.25 0 0 0 0 6.5Zm0 1.5a4.75 4.75 0 1 0 0-9.5 4.75 4.75 0 0 0 0 9.5Zm6-5.5h2v1.5h-2v-1.5Zm-13.25 0H0v1.5h2v-1.5H.75Zm1.62 5.32-.53.53 1.06 1.06.53-.53.354-.353.53-.53-1.06-1.061-.53.53-.354.354Zm10.2 1.06.53.53 1.06-1.06-.53-.53-.354-.354-.53-.53-1.06 1.06.53.53.353.354ZM8.75 14v2h-1.5v-2h1.5Z",clipRule:"evenodd"})}),n[0]=e):e=n[0],n[1]===Symbol.for("react.memo_cache_sentinel")?(t=(0,S.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"16",viewBox:"0 0 16 16",fill:"none",children:[e,(0,S.jsx)("defs",{children:(0,S.jsx)("clipPath",{id:"light_icon_clip_path",children:(0,S.jsx)("path",{fill:"currentColor",d:"M0 0h16v16H0z"})})})]}),n[1]=t):t=n[1],t}function n8(){var e,t=(0,O.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,S.jsx)("svg",{"data-testid":"geist-icon",height:"16",strokeLinejoin:"round",viewBox:"0 0 16 16",width:"16",children:(0,S.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 8.00005C1.5 5.53089 2.99198 3.40932 5.12349 2.48889C4.88136 3.19858 4.75 3.95936 4.75 4.7501C4.75 8.61609 7.88401 11.7501 11.75 11.7501C11.8995 11.7501 12.048 11.7454 12.1953 11.7361C11.0955 13.1164 9.40047 14.0001 7.5 14.0001C4.18629 14.0001 1.5 11.3138 1.5 8.00005ZM6.41706 0.577759C2.78784 1.1031 0 4.22536 0 8.00005C0 12.1422 3.35786 15.5001 7.5 15.5001C10.5798 15.5001 13.2244 13.6438 14.3792 10.9921L13.4588 9.9797C12.9218 10.155 12.3478 10.2501 11.75 10.2501C8.71243 10.2501 6.25 7.78767 6.25 4.7501C6.25 3.63431 6.58146 2.59823 7.15111 1.73217L6.41706 0.577759ZM13.25 1V1.75V2.75L14.25 2.75H15V4.25H14.25H13.25V5.25V6H11.75V5.25V4.25H10.75L10 4.25V2.75H10.75L11.75 2.75V1.75V1H13.25Z",fill:"currentColor"})}),t[0]=e):e=t[0],e}function n7(){var e,t=(0,O.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,S.jsx)("svg",{width:"16",height:"16",strokeLinejoin:"round",children:(0,S.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M0 2a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v8.5a1 1 0 0 1-1 1H8.75v3h1.75V16h-5v-1.5h1.75v-3H1a1 1 0 0 1-1-1V2Zm1.5.5V10h13V2.5h-13Z",clipRule:"evenodd"})}),t[0]=e):e=t[0],e}function re(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function rt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(e,t)||rr(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function rn(e){return function(e){if(Array.isArray(e))return re(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||rr(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function rr(e,t){if(e){if("string"==typeof e)return re(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return re(e,t)}}function ro(){var e,t,n=(e=["\n .shortcut-recorder {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 8px;\n position: relative;\n font-family: var(--font-stack-sans);\n\n .shortcut-recorder-button {\n display: flex;\n align-items: center;\n gap: 4px;\n background: transparent;\n border: 1px dashed var(--color-gray-500);\n border-radius: var(--rounded-lg);\n padding: 6px 8px;\n font-weight: 400;\n font-size: var(--size-14);\n color: var(--color-gray-1000);\n transition: border-color 150ms var(--timing-swift);\n\n &[data-has-shortcut='true'] {\n border: 1px solid var(--color-gray-alpha-400);\n\n &:hover {\n border-color: var(--color-gray-500);\n }\n }\n\n &:hover {\n border-color: var(--color-gray-600);\n }\n\n &::placeholder {\n color: var(--color-gray-900);\n }\n\n &[data-pristine='false']::placeholder {\n color: transparent;\n }\n\n &:focus-visible {\n outline: var(--focus-ring);\n outline-offset: -1px;\n }\n }\n\n kbd {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n font-family: var(--font-stack-sans);\n background: var(--color-gray-200);\n min-width: 20px;\n height: 20px;\n font-size: 14px;\n border-radius: 4px;\n color: var(--color-gray-1000);\n\n &[data-symbol='false'] {\n padding: 0 4px;\n }\n }\n\n .shortcut-recorder-clear-button {\n cursor: pointer;\n color: var(--color-gray-1000);\n width: 20px;\n height: 20px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 4px;\n transition: background 150ms var(--timing-swift);\n\n &:hover {\n background: var(--color-gray-300);\n }\n\n &:focus-visible {\n outline: var(--focus-ring);\n }\n\n svg {\n width: 14px;\n height: 14px;\n }\n }\n }\n\n .shortcut-recorder-keys {\n pointer-events: none;\n user-select: none;\n display: flex;\n align-items: center;\n gap: 2px;\n }\n\n .shortcut-recorder-tooltip {\n --gap: 8px;\n --background: var(--color-gray-1000);\n background: var(--background);\n color: var(--color-background-100);\n font-size: var(--size-14);\n padding: 4px 8px;\n border-radius: 8px;\n position: absolute;\n bottom: calc(100% + var(--gap));\n text-align: center;\n opacity: 0;\n scale: 0.96;\n white-space: nowrap;\n user-select: none;\n transition:\n opacity 150ms var(--timing-swift),\n scale 150ms var(--timing-swift);\n\n &[data-show='true'] {\n opacity: 1;\n scale: 1;\n }\n\n svg {\n position: absolute;\n transform: translateX(-50%);\n bottom: -6px;\n left: 50%;\n }\n\n .shortcut-recorder-status {\n display: flex;\n align-items: center;\n gap: 6px;\n }\n\n .shortcut-recorder-status-icon {\n width: 7px;\n height: 7px;\n border-radius: 50%;\n flex-shrink: 0;\n background: var(--color-red-700);\n\n &[data-success='true'] {\n background: var(--color-green-700);\n }\n }\n }\n"],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return ro=function(){return n},n}var ra=["Meta","Control","Ctrl","Alt","Option","Shift"];function ri(e){var t,n,r,o,a,i,l,s,c,u,d,f,p,h=(0,O.c)(33),m=e.value,g=e.onChange,y=rt((0,C.useState)(!0),2),v=y[0],b=y[1],x=rt((0,C.useState)(!1),2),w=x[0],_=x[1];h[0]!==m?(t=null!=m?m:[],h[0]=m,h[1]=t):t=h[1];var j=rt((0,C.useState)(t),2),k=j[0],P=j[1],E=rt((0,C.useState)(!1),2),T=E[0],N=E[1],I=(0,C.useRef)(null),L=(0,C.useRef)(null),A=!!m||k.length>0;h[2]!==g||h[3]!==v||h[4]!==w?(n=function(e){if(e.target===L.current&&"Tab"!==e.key){I.current&&clearTimeout(I.current),w||_(!0),v&&(P([]),b(!1));var t=function(e){I.current=window.setTimeout(function(){N(!0),g(e.join("+")),I.current=window.setTimeout(function(){_(!1)},1e3)},180)};e.preventDefault(),e.stopPropagation(),P(function(n){if(n.includes(e.code)||n.includes(e.key))return n;if(!ra.includes(e.key)){var r=n.findIndex(rc);if(-1!==r){var o=rn(n);return o[r]=e.code,t(o),o}var a=rn(n).concat([e.code]);return t(a),a}for(var i=rn(n),l=ra.indexOf(e.key),s=0,c=0;c<i.length;c++)if(ra.includes(i[c])){if(l<ra.indexOf(i[c])){s=c;break}s=c+1}else break;return i.splice(s,0,e.key),t(i),i})}},h[2]=g,h[3]=v,h[4]=w,h[5]=n):n=h[5];var z=n;h[6]!==g?(r=function(){var e;null==(e=L.current)||e.focus(),P([]),N(!1),setTimeout(function(){_(!0)}),g(null)},h[6]=g,h[7]=r):r=h[7];var R=r;h[8]===Symbol.for("react.memo_cache_sentinel")?(o=function(){N(!1),_(!1),b(!0)},h[8]=o):o=h[8];var D=o;h[9]===Symbol.for("react.memo_cache_sentinel")?(a=function(){var e;I.current&&clearTimeout(I.current),_(!0),null==(e=L.current)||e.focus()},h[9]=a):a=h[9];var M=a;h[10]!==A||h[11]!==k?(i=A?(0,S.jsx)("div",{className:"shortcut-recorder-keys",children:k.map(rs)}):"Record Shortcut",h[10]=A,h[11]=k,h[12]=i):i=h[12],h[13]!==R||h[14]!==A?(l=A&&(0,S.jsx)("div",{className:"shortcut-recorder-clear-button",role:"button",onClick:R,onFocus:rl,onKeyDown:function(e){("Enter"===e.key||" "===e.key)&&(R(),e.stopPropagation())},"aria-label":"Clear shortcut",tabIndex:0,children:(0,S.jsx)(rp,{})}),h[13]=R,h[14]=A,h[15]=l):l=h[15],h[16]!==z||h[17]!==A||h[18]!==i||h[19]!==l?(s=(0,S.jsxs)("button",{className:"shortcut-recorder-button",ref:L,onClick:M,onFocus:M,onBlur:D,onKeyDown:z,"data-has-shortcut":A,"data-shortcut-recorder":"true",children:[i,l]}),h[16]=z,h[17]=A,h[18]=i,h[19]=l,h[20]=s):s=h[20],h[21]!==T?(c=(0,S.jsx)("div",{className:"shortcut-recorder-status-icon","data-success":T}),h[21]=T,h[22]=c):c=h[22];var Z=T?"Shortcut set":"Recording";return h[23]!==Z||h[24]!==c?(u=(0,S.jsxs)("div",{className:"shortcut-recorder-status",children:[c,Z]}),h[23]=Z,h[24]=c,h[25]=u):u=h[25],h[26]===Symbol.for("react.memo_cache_sentinel")?(d=(0,S.jsx)(ru,{}),h[26]=d):d=h[26],h[27]!==w||h[28]!==u?(f=(0,S.jsxs)("div",{className:"shortcut-recorder-tooltip","data-show":w,children:[u,d]}),h[27]=w,h[28]=u,h[29]=f):f=h[29],h[30]!==f||h[31]!==s?(p=(0,S.jsxs)("div",{className:"shortcut-recorder",children:[s,f]}),h[30]=f,h[31]=s,h[32]=p):p=h[32],p}function rl(e){return e.stopPropagation()}function rs(e){return(0,S.jsx)(rd,{children:e},e)}function rc(e){return!ra.includes(e)}function ru(){var e,t=(0,O.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,S.jsx)("svg",{fill:"none",height:"6",viewBox:"0 0 14 6",width:"14",xmlns:"http://www.w3.org/2000/svg",children:(0,S.jsx)("path",{d:"M13.8284 0H0.17157C0.702003 0 1.21071 0.210714 1.58578 0.585787L5.58578 4.58579C6.36683 5.36684 7.63316 5.36683 8.41421 4.58579L12.4142 0.585786C12.7893 0.210714 13.298 0 13.8284 0Z",fill:"var(--background)"})}),t[0]=e):e=t[0],e}function rd(e){var t,n,r,o,a=(0,O.c)(9),i=e.children;a[0]!==i?(t=function(e){switch(e){case"Meta":return(0,S.jsx)(rf,{});case"Alt":case"Option":return"⌥";case"Control":case"Ctrl":return"Ctrl";case"Shift":return"⇧";case"Enter":return"⏎";case"Escape":case"Esc":return"Esc";case" ":case"Space":case"Spacebar":return"Space";case"ArrowUp":return"↑";case"ArrowDown":return"↓";case"ArrowLeft":return"←";case"ArrowRight":return"→";case"Tab":return"Tab";case"Backspace":return"⌫";case"Delete":return"⌦";default:if(1===i.length)return i.toUpperCase();return i}},a[0]=i,a[1]=t):t=a[1];var l=t;if(a[2]!==i||a[3]!==l){var s=l(i);n="string"==typeof s&&1===s.length,r=function(e){if("string"!=typeof e)return e;var t={Minus:"-",Equal:"=",BracketLeft:"[",BracketRight:"]",Backslash:"\\",Semicolon:";",Quote:"'",Comma:",",Period:".",Backquote:"`",Space:" ",Slash:"/",IntlBackslash:"\\"};return t[e]?t[e]:/^Key([A-Z])$/.test(e)?e.replace(/^Key/,""):/^Digit([0-9])$/.test(e)?e.replace(/^Digit/,""):/^Numpad([0-9])$/.test(e)?e.replace(/^Numpad/,""):"NumpadAdd"===e?"+":"NumpadSubtract"===e?"-":"NumpadMultiply"===e?"*":"NumpadDivide"===e?"/":"NumpadDecimal"===e?".":"NumpadEnter"===e?"Enter":e}(s),a[2]=i,a[3]=l,a[4]=n,a[5]=r}else n=a[4],r=a[5];return a[6]!==n||a[7]!==r?(o=(0,S.jsx)("kbd",{"data-symbol":n,children:r}),a[6]=n,a[7]=r,a[8]=o):o=a[8],o}function rf(){var e,t=(0,O.c)(1),n=rm(/^Mac/)||rm(/^iPhone/)||rm(/^iPad/)||rm(/^Mac/)&&navigator.maxTouchPoints>1?"⌘":"Ctrl";return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,S.jsx)("span",{style:{minWidth:"1em",display:"inline-block"},children:n}),t[0]=e):e=t[0],e}function rp(){var e,t=(0,O.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,S.jsx)("svg",{height:"16",strokeLinejoin:"round",viewBox:"0 0 16 16",width:"16",children:(0,S.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.4697 13.5303L13 14.0607L14.0607 13L13.5303 12.4697L9.06065 7.99999L13.5303 3.53032L14.0607 2.99999L13 1.93933L12.4697 2.46966L7.99999 6.93933L3.53032 2.46966L2.99999 1.93933L1.93933 2.99999L2.46966 3.53032L6.93933 7.99999L2.46966 12.4697L1.93933 13L2.99999 14.0607L3.53032 13.5303L7.99999 9.06065L12.4697 13.5303Z",fill:"currentColor"})}),t[0]=e):e=t[0],e}var rh=eg(ro());function rm(e){return null!=window.navigator?e.test(window.navigator.platform):void 0}function rg(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ry(e,t,n,r,o,a,i){try{var l=e[a](i),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,o)}var rv=__webpack_require__("./dist/compiled/zod/index.cjs"),rb=rv.z.object({theme:rv.z.enum(["light","dark","system"]).optional(),disableDevIndicator:rv.z.boolean().optional(),devToolsPosition:rv.z.enum(["top-left","top-right","bottom-left","bottom-right"]).optional(),devToolsPanelPosition:rv.z.record(rv.z.string(),rv.z.enum(["top-left","top-right","bottom-left","bottom-right"])).optional(),devToolsPanelSize:rv.z.record(rv.z.string(),rv.z.object({width:rv.z.number(),height:rv.z.number()})).optional(),scale:rv.z.number().optional(),hideShortcut:rv.z.string().nullable().optional()});function rx(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}var rw={},r_=null;function rj(){if(0!==Object.keys(rw).length){var e=JSON.stringify(rw);rw={},fetch("/__nextjs_devtools_config",{method:"POST",headers:{"Content-Type":"application/json"},body:e,keepalive:!0}).catch(function(t){console.warn("[Next.js DevTools] Failed to save config:",{data:e,error:t})})}}function rk(e){var t=rb.safeParse(e);t.success?(rw=function e(t,n){if(!n||(void 0===n?"undefined":rx(n))!=="object"||Array.isArray(n)||!t||(void 0===t?"undefined":rx(t))!=="object"||Array.isArray(t))return n;var r=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({},t);for(var o in n){var a=n[o],i=t[o];void 0!==a&&(a&&(void 0===a?"undefined":rx(a))==="object"&&!Array.isArray(a)&&i&&(void 0===i?"undefined":rx(i))==="object"&&!Array.isArray(i)?r[o]=e(i,a):r[o]=a)}return r}(rw,e),r_&&clearTimeout(r_),r_=setTimeout(rj,120)):console.warn("[Next.js DevTools] Invalid config patch:",t.error.message)}function rS(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function rO(){var e,t,n=(e=["\n .preferences-container {\n width: 100%;\n }\n\n @media (min-width: 576px) {\n .preferences-container {\n width: 480px;\n }\n }\n\n .preference-section:first-child {\n padding-top: 0;\n }\n\n .preference-section {\n padding: 12px 0;\n border-bottom: 1px solid var(--color-gray-400);\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: 24px;\n }\n\n .preference-section:last-child {\n border-bottom: none;\n }\n\n .preference-header {\n margin-bottom: 0;\n flex: 1;\n }\n\n .preference-header label {\n font-size: var(--size-14);\n font-weight: 500;\n color: var(--color-gray-1000);\n margin: 0;\n }\n\n .preference-description {\n color: var(--color-gray-900);\n font-size: var(--size-14);\n margin: 0;\n }\n\n .select-button,\n .action-button {\n display: flex;\n align-items: center;\n gap: 8px;\n background: var(--color-background-100);\n border: 1px solid var(--color-gray-400);\n border-radius: var(--rounded-lg);\n font-weight: 400;\n font-size: var(--size-14);\n color: var(--color-gray-1000);\n padding: 6px 8px;\n transition: border-color 150ms var(--timing-swift);\n\n &:hover {\n border-color: var(--color-gray-500);\n }\n\n svg {\n width: 14px;\n height: 14px;\n overflow: visible;\n }\n }\n\n .select-button {\n &:focus-within {\n outline: var(--focus-ring);\n outline-offset: -1px;\n }\n\n select {\n all: unset;\n }\n\n option {\n color: var(--color-gray-1000);\n background: var(--color-background-100);\n }\n }\n\n .preference-section button:disabled {\n opacity: 0.6;\n cursor: not-allowed;\n }\n\n :global(.icon) {\n width: 18px;\n height: 18px;\n color: #666;\n }\n"],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return rO=function(){return n},n}function rC(e){var t,n,r,o,a,i,l,s,c,u,d,f,p,h,m,g,y,v,b,x,w,_,j,k,P,E,T,N,I,L,A,R,D,M,Z,U,F,H,V,B=(0,O.c)(61),$=e.theme,q=e.hide,W=e.hideShortcut,K=e.setHideShortcut,Y=e.scale,X=e.setPosition,G=e.setScale,Q=e.position,J=(r=(t=(0,C.useState)(!1),n=function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),2!==a.length);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(t,2)||function(e,t){if(e){if("string"==typeof e)return rg(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return rg(e,2)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],o=n[1],{restartServer:function(e){var t,n=e.invalidateFileSystemCache;return(t=function(){var e,t,r,a,i,l;return function(e,t){var n,r,o,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=l(0),i.throw=l(1),i.return=l(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(s){var c=[l,s];if(n)throw TypeError("Generator is already executing.");for(;i&&(i=0,c[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,r=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===c[0]||2===c[0])){a=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){a.label=c[1];break}if(6===c[0]&&a.label<o[1]){a.label=o[1],o=c;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(c);break}o[2]&&a.ops.pop(),a.trys.pop();continue}c=t.call(e,a)}catch(e){c=[6,e],r=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}(this,function(s){switch(s.label){case 0:o(!0),e=n?"/__nextjs_restart_dev?invalidateFileSystemCache=1":"/__nextjs_restart_dev",t=!1,s.label=1;case 1:return s.trys.push([1,11,12,13]),[4,fetch("/__nextjs_server_status").then(function(e){return e.json()}).then(function(e){return e.executionId}).catch(function(e){return console.log("[Next.js DevTools] Failed to fetch server status while restarting dev server.",e),null})];case 2:if(!(r=s.sent()))return console.log("[Next.js DevTools] Failed to get the current server execution ID while restarting dev server."),[2];return[4,fetch(e,{method:"POST"})];case 3:if(!(a=s.sent()).ok)return console.log("[Next.js DevTools] Failed to fetch restart server endpoint. Status:",a.status),[2];i=0,s.label=4;case 4:if(!(i<10))return[3,10];return[4,new Promise(function(e){return setTimeout(e,1e3)})];case 5:s.sent(),s.label=6;case 6:return s.trys.push([6,8,,9]),[4,fetch("/__nextjs_server_status").then(function(e){return e.json()}).then(function(e){return e.executionId})];case 7:if(l=s.sent(),r!==l)return t=!0,window.location.reload(),[2];return[3,9];case 8:return s.sent(),[3,9];case 9:return i++,[3,4];case 10:return console.log("[Next.js DevTools] Failed to restart server. Exhausted all polling attempts."),[2];case 11:return console.log("[Next.js DevTools] Failed to restart server.",s.sent()),[2];case 12:return t||o(!1),[7];case 13:return[2]}})},function(){var e=this,n=arguments;return new Promise(function(r,o){var a=t.apply(e,n);function i(e){ry(a,r,o,i,l,"next",e)}function l(e){ry(a,r,o,i,l,"throw",e)}i(void 0)})})()},isPending:r}),ee=J.restartServer,et=J.isPending,en=dw().shadowRoot;B[0]!==en.host?(a=function(e){var t=en.host;if("system"===e.target.value){t.classList.remove("dark"),t.classList.remove("light"),rk({theme:"system"});return}"dark"===e.target.value?(t.classList.add("dark"),t.classList.remove("light"),rk({theme:"dark"})):(t.classList.remove("dark"),t.classList.add("light"),rk({theme:"light"}))},B[0]=en.host,B[1]=a):a=B[1];var er=a;B[2]!==X?(i=function(e){X(e.target.value),rk({devToolsPosition:e.target.value})},B[2]=X,B[3]=i):i=B[3];var eo=i;B[4]!==G?(l=function(e){var t=Number(e.target.value);G(t),rk({scale:t})},B[4]=G,B[5]=l):l=B[5];var ea=l;return B[6]===Symbol.for("react.memo_cache_sentinel")?(s=(0,S.jsxs)("div",{className:"preference-header",children:[(0,S.jsx)("label",{htmlFor:"theme",children:"Theme"}),(0,S.jsx)("p",{className:"preference-description",children:"Select your theme preference."})]}),B[6]=s):s=B[6],B[7]!==$?(c=(0,S.jsx)(rT,{theme:$}),B[7]=$,B[8]=c):c=B[8],B[9]===Symbol.for("react.memo_cache_sentinel")?(u=(0,S.jsx)("option",{value:"system",children:"System"}),d=(0,S.jsx)("option",{value:"light",children:"Light"}),f=(0,S.jsx)("option",{value:"dark",children:"Dark"}),B[9]=u,B[10]=d,B[11]=f):(u=B[9],d=B[10],f=B[11]),B[12]!==er||B[13]!==c||B[14]!==$?(p=(0,S.jsxs)("div",{className:"preference-section",children:[s,(0,S.jsxs)(rE,{id:"theme",name:"theme",prefix:c,value:$,onChange:er,children:[u,d,f]})]}),B[12]=er,B[13]=c,B[14]=$,B[15]=p):p=B[15],B[16]===Symbol.for("react.memo_cache_sentinel")?(h=(0,S.jsxs)("div",{className:"preference-header",children:[(0,S.jsx)("label",{htmlFor:"position",children:"Position"}),(0,S.jsx)("p",{className:"preference-description",children:"Adjust the placement of your dev tools."})]}),B[16]=h):h=B[16],B[17]===Symbol.for("react.memo_cache_sentinel")?(m=(0,S.jsx)("option",{value:"bottom-left",children:"Bottom Left"}),g=(0,S.jsx)("option",{value:"bottom-right",children:"Bottom Right"}),y=(0,S.jsx)("option",{value:"top-left",children:"Top Left"}),v=(0,S.jsx)("option",{value:"top-right",children:"Top Right"}),B[17]=m,B[18]=g,B[19]=y,B[20]=v):(m=B[17],g=B[18],y=B[19],v=B[20]),B[21]!==eo||B[22]!==Q?(b=(0,S.jsxs)("div",{className:"preference-section",children:[h,(0,S.jsxs)(rE,{id:"position",name:"position",value:Q,onChange:eo,children:[m,g,y,v]})]}),B[21]=eo,B[22]=Q,B[23]=b):b=B[23],B[24]===Symbol.for("react.memo_cache_sentinel")?(x=(0,S.jsxs)("div",{className:"preference-header",children:[(0,S.jsx)("label",{htmlFor:"size",children:"Size"}),(0,S.jsx)("p",{className:"preference-description",children:"Adjust the size of your dev tools."})]}),B[24]=x):x=B[24],B[25]===Symbol.for("react.memo_cache_sentinel")?(w=Object.entries(z).map(rP),B[25]=w):w=B[25],B[26]!==ea||B[27]!==Y?(_=(0,S.jsxs)("div",{className:"preference-section",children:[x,(0,S.jsx)(rE,{id:"size",name:"size",value:Y,onChange:ea,children:w})]}),B[26]=ea,B[27]=Y,B[28]=_):_=B[28],B[29]===Symbol.for("react.memo_cache_sentinel")?(j=(0,S.jsxs)("div",{className:"preference-header",children:[(0,S.jsx)("label",{id:"hide-dev-tools",children:"Hide Dev Tools for this session"}),(0,S.jsx)("p",{className:"preference-description",children:"Hide Dev Tools until you restart your dev server, or 1 day."})]}),B[29]=j):j=B[29],B[30]===Symbol.for("react.memo_cache_sentinel")?(k=(0,S.jsx)(n6,{}),P=(0,S.jsx)("span",{children:"Hide"}),B[30]=k,B[31]=P):(k=B[30],P=B[31]),B[32]!==q?(E=(0,S.jsxs)("div",{className:"preference-section",children:[j,(0,S.jsx)("div",{className:"preference-control",children:(0,S.jsxs)("button",{"aria-describedby":"hide-dev-tools",name:"hide-dev-tools","data-hide-dev-tools":!0,className:"action-button",onClick:q,children:[k,P]})})]}),B[32]=q,B[33]=E):E=B[33],B[34]===Symbol.for("react.memo_cache_sentinel")?(T=(0,S.jsxs)("div",{className:"preference-header",children:[(0,S.jsx)("label",{id:"hide-dev-tools",children:"Hide Dev Tools shortcut"}),(0,S.jsx)("p",{className:"preference-description",children:"Set a custom keyboard shortcut to toggle visibility."})]}),B[34]=T):T=B[34],B[35]!==W?(N=null!=(I=null==W?void 0:W.split("+"))?I:null,B[35]=W,B[36]=N):N=B[36],B[37]!==K||B[38]!==N?(L=(0,S.jsxs)("div",{className:"preference-section",children:[T,(0,S.jsx)("div",{className:"preference-control",children:(0,S.jsx)(ri,{value:N,onChange:K})})]}),B[37]=K,B[38]=N,B[39]=L):L=B[39],B[40]===Symbol.for("react.memo_cache_sentinel")?(A=(0,S.jsx)("label",{children:"Disable Dev Tools for this project"}),B[40]=A):A=B[40],B[41]===Symbol.for("react.memo_cache_sentinel")?(R=(0,S.jsx)("code",{className:"dev-tools-info-code",children:"devIndicators: false"}),B[41]=R):R=B[41],B[42]===Symbol.for("react.memo_cache_sentinel")?(D=(0,S.jsx)("div",{className:"preference-section",children:(0,S.jsxs)("div",{className:"preference-header",children:[A,(0,S.jsxs)("p",{className:"preference-description",children:["To disable this UI completely, set"," ",R," in your ",(0,S.jsx)("code",{className:"dev-tools-info-code",children:"next.config"})," file."]})]})}),B[42]=D):D=B[42],B[43]===Symbol.for("react.memo_cache_sentinel")?(M=(0,S.jsxs)("div",{className:"preference-header",children:[(0,S.jsx)("label",{id:"restart-dev-server",children:"Restart Dev Server"}),(0,S.jsx)("p",{className:"preference-description",children:"Restarts the development server without needing to leave the browser."})]}),B[43]=M):M=B[43],B[44]!==ee?(Z=function(){return ee({invalidateFileSystemCache:!1})},B[44]=ee,B[45]=Z):Z=B[45],B[46]===Symbol.for("react.memo_cache_sentinel")?(U=(0,S.jsx)("span",{children:"Restart"}),B[46]=U):U=B[46],B[47]!==et||B[48]!==Z?(F=(0,S.jsxs)("div",{className:"preference-section",children:[M,(0,S.jsx)("div",{className:"preference-control",children:(0,S.jsx)("button",{"aria-describedby":"restart-dev-server",title:"Restarts the development server without needing to leave the browser.",name:"restart-dev-server","data-restart-dev-server":!0,className:"action-button",onClick:Z,disabled:et,children:U})})]}),B[47]=et,B[48]=Z,B[49]=F):F=B[49],B[50]!==et||B[51]!==ee?(H=process.env.__NEXT_BUNDLER_HAS_PERSISTENT_CACHE?(0,S.jsxs)("div",{className:"preference-section",children:[(0,S.jsxs)("div",{className:"preference-header",children:[(0,S.jsx)("label",{id:"reset-bundler-cache",children:"Reset Bundler Cache"}),(0,S.jsx)("p",{className:"preference-description",children:"Clears the bundler cache and restarts the dev server. Helpful if you are seeing stale errors or changes are not appearing."})]}),(0,S.jsx)("div",{className:"preference-control",children:(0,S.jsx)("button",{"aria-describedby":"reset-bundler-cache",title:"Clears the bundler cache and restarts the dev server. Helpful if you are seeing stale errors or changes are not appearing.",name:"reset-bundler-cache","data-reset-bundler-cache":!0,className:"action-button",onClick:function(){return ee({invalidateFileSystemCache:!0})},disabled:et,children:(0,S.jsx)("span",{children:"Reset Cache"})})})]}):null,B[50]=et,B[51]=ee,B[52]=H):H=B[52],B[53]!==p||B[54]!==b||B[55]!==_||B[56]!==E||B[57]!==L||B[58]!==F||B[59]!==H?(V=(0,S.jsxs)("div",{className:"preferences-container",children:[p,b,_,E,L,D,F,H]}),B[53]=p,B[54]=b,B[55]=_,B[56]=E,B[57]=L,B[58]=F,B[59]=H,B[60]=V):V=B[60],V}function rP(e){var t,n=function(e){if(Array.isArray(e))return e}(t=e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),2!==a.length);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(t,2)||function(e,t){if(e){if("string"==typeof e)return rS(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return rS(e,2)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),r=n[0],o=n[1];return(0,S.jsx)("option",{value:o,children:r},r)}function rE(e){var t,n,r,o,a,i,l,s,c=(0,O.c)(11);return(c[0]!==e?(a=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["children","prefix"]),r=e.children,o=e.prefix,c[0]=e,c[1]=r,c[2]=o,c[3]=a):(r=c[1],o=c[2],a=c[3]),c[4]!==r||c[5]!==a)?(i=(0,S.jsx)("select",(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({},a),n=n={children:r},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t)),c[4]=r,c[5]=a,c[6]=i):i=c[6],c[7]===Symbol.for("react.memo_cache_sentinel")?(l=(0,S.jsx)(rI,{}),c[7]=l):l=c[7],c[8]!==o||c[9]!==i?(s=(0,S.jsxs)("div",{className:"select-button",children:[o,i,l]}),c[8]=o,c[9]=i,c[10]=s):s=c[10],s}function rT(e){var t,n,r,o=(0,O.c)(3);switch(e.theme){case"system":return o[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,S.jsx)(n7,{}),o[0]=t):t=o[0],t;case"dark":return o[1]===Symbol.for("react.memo_cache_sentinel")?(n=(0,S.jsx)(n8,{}),o[1]=n):n=o[1],n;case"light":return o[2]===Symbol.for("react.memo_cache_sentinel")?(r=(0,S.jsx)(n9,{}),o[2]=r):r=o[2],r;default:return null}}var rN=eg(rO());function rI(){var e,t=(0,O.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,S.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16","aria-hidden":!0,children:(0,S.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.0607 5.49999L13.5303 6.03032L8.7071 10.8535C8.31658 11.2441 7.68341 11.2441 7.29289 10.8535L2.46966 6.03032L1.93933 5.49999L2.99999 4.43933L3.53032 4.96966L7.99999 9.43933L12.4697 4.96966L13 4.43933L14.0607 5.49999Z",fill:"currentColor"})}),t[0]=e):e=t[0],e}function rL(){var e,t,n=(e=["\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n "],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return rL=function(){return n},n}function rA(){return(0,S.jsx)("style",{children:eg(rL(),"\n .nextjs-data-copy-button {\n color: inherit;\n\n svg {\n width: var(--size-16);\n height: var(--size-16);\n }\n }\n .nextjs-data-copy-button:disabled {\n background-color: var(--color-gray-100);\n cursor: not-allowed;\n }\n .nextjs-data-copy-button--initial:hover:not(:disabled) {\n cursor: pointer;\n }\n .nextjs-data-copy-button--error:not(:disabled),\n .nextjs-data-copy-button--error:hover:not(:disabled) {\n color: var(--color-ansi-red);\n }\n .nextjs-data-copy-button--success:not(:disabled) {\n color: var(--color-ansi-green);\n }\n",'\n [data-nextjs-call-stack-frame-no-source] {\n padding: 6px 8px;\n margin-bottom: 4px;\n\n border-radius: var(--rounded-lg);\n }\n\n [data-nextjs-call-stack-frame-no-source]:last-child {\n margin-bottom: 0;\n }\n\n [data-nextjs-call-stack-frame-ignored="true"] {\n opacity: 0.6;\n }\n\n [data-nextjs-call-stack-frame] {\n user-select: text;\n display: block;\n box-sizing: border-box;\n\n user-select: text;\n -webkit-user-select: text;\n -moz-user-select: text;\n -ms-user-select: text;\n\n padding: 6px 8px;\n\n border-radius: var(--rounded-lg);\n }\n\n .call-stack-frame-method-name {\n display: flex;\n align-items: center;\n gap: 4px;\n\n margin-bottom: 4px;\n font-family: var(--font-stack-monospace);\n\n color: var(--color-gray-1000);\n font-size: var(--size-14);\n font-weight: 500;\n line-height: var(--size-20);\n\n svg {\n width: var(--size-16px);\n height: var(--size-16px);\n }\n }\n\n .open-in-editor-button, .source-mapping-error-button {\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: var(--rounded-full);\n padding: 4px;\n color: var(--color-font);\n\n svg {\n width: var(--size-16);\n height: var(--size-16);\n }\n\n &:focus-visible {\n outline: var(--focus-ring);\n outline-offset: -2px;\n }\n\n &:hover {\n background: var(--color-gray-100);\n }\n }\n\n .call-stack-frame-file-source {\n color: var(--color-gray-900);\n font-size: var(--size-14);\n line-height: var(--size-20);\n }\n',nL,"\n [data-nextjs-environment-name-label] {\n padding: 2px 6px;\n margin: 0;\n border-radius: var(--rounded-md-2);\n background: var(--color-gray-100);\n font-weight: 600;\n font-size: var(--size-12);\n color: var(--color-gray-900);\n font-family: var(--font-stack-monospace);\n line-height: var(--size-20);\n }\n",n_,e6,nx,tZ,"\n .error-overlay-bottom-stack-layer {\n width: 100%;\n height: var(--stack-layer-height);\n position: relative;\n border: 1px solid var(--color-gray-400);\n border-radius: var(--rounded-xl);\n background: var(--color-background-200);\n transition:\n translate 350ms var(--timing-swift),\n box-shadow 350ms var(--timing-swift);\n }\n\n .error-overlay-bottom-stack-layer-1 {\n width: calc(100% - var(--size-24));\n }\n\n .error-overlay-bottom-stack-layer-2 {\n width: calc(100% - var(--size-48));\n z-index: -1;\n }\n\n .error-overlay-bottom-stack {\n width: 100%;\n position: absolute;\n bottom: -1px;\n height: 0;\n overflow: visible;\n }\n\n .error-overlay-bottom-stack-stack {\n --stack-layer-height: 44px;\n --stack-layer-height-half: calc(var(--stack-layer-height) / 2);\n --stack-layer-trim: 13px;\n --shadow: 0px 0.925px 0.925px 0px rgba(0, 0, 0, 0.02),\n 0px 3.7px 7.4px -3.7px rgba(0, 0, 0, 0.04),\n 0px 14.8px 22.2px -7.4px rgba(0, 0, 0, 0.06);\n\n display: grid;\n place-items: center center;\n width: 100%;\n position: fixed;\n height: 0;\n overflow: visible;\n z-index: -1;\n max-width: var(--next-dialog-max-width);\n\n .error-overlay-bottom-stack-layer {\n grid-area: 1 / 1;\n /* Hide */\n translate: 0 calc(var(--stack-layer-height) * -1);\n }\n\n &[data-stack-count='1'],\n &[data-stack-count='2'] {\n .error-overlay-bottom-stack-layer-1 {\n translate: 0\n calc(var(--stack-layer-height-half) * -1 - var(--stack-layer-trim));\n }\n }\n\n &[data-stack-count='2'] {\n .error-overlay-bottom-stack-layer-2 {\n translate: 0 calc(var(--stack-layer-trim) * -1 * 2);\n }\n }\n\n /* Only the bottom stack should have the shadow */\n &[data-stack-count='1'] .error-overlay-bottom-stack-layer-1 {\n box-shadow: var(--shadow);\n }\n\n &[data-stack-count='2'] {\n .error-overlay-bottom-stack-layer-2 {\n box-shadow: var(--shadow);\n }\n }\n }\n","\n .error-overlay-pagination {\n -webkit-font-smoothing: antialiased;\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 8px;\n width: fit-content;\n }\n\n .error-overlay-pagination-count {\n color: var(--color-gray-900);\n text-align: center;\n font-size: var(--size-14);\n font-weight: 500;\n line-height: var(--size-16);\n font-variant-numeric: tabular-nums;\n }\n\n .error-overlay-pagination-button {\n display: flex;\n justify-content: center;\n align-items: center;\n\n width: var(--size-24);\n height: var(--size-24);\n background: var(--color-gray-300);\n flex-shrink: 0;\n\n border: none;\n border-radius: var(--rounded-full);\n\n svg {\n width: var(--size-16);\n height: var(--size-16);\n }\n\n &:focus-visible {\n outline: var(--focus-ring);\n }\n\n &:not(:disabled):active {\n background: var(--color-gray-500);\n }\n\n &:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n }\n }\n\n .error-overlay-pagination-button-icon {\n color: var(--color-gray-1000);\n }\n",'\n [data-nextjs-codeframe] {\n --code-frame-padding: 12px;\n --code-frame-line-height: var(--size-16);\n background-color: var(--color-background-200);\n color: var(--color-gray-1000);\n text-overflow: ellipsis;\n border: 1px solid var(--color-gray-400);\n border-radius: 8px;\n font-family: var(--font-stack-monospace);\n font-size: var(--size-12);\n line-height: var(--code-frame-line-height);\n margin: 8px 0;\n\n svg {\n width: var(--size-16);\n height: var(--size-16);\n }\n }\n\n .code-frame-link,\n .code-frame-pre {\n padding: var(--code-frame-padding);\n }\n\n .code-frame-link svg {\n flex-shrink: 0;\n }\n\n .code-frame-lines {\n min-width: max-content;\n }\n\n .code-frame-link [data-text] {\n text-align: left;\n margin: auto 6px;\n }\n\n .code-frame-header {\n width: 100%;\n transition: background 100ms ease-out;\n border-radius: 8px 8px 0 0;\n border-bottom: 1px solid var(--color-gray-400);\n }\n\n [data-with-open-in-editor-link-source-file] {\n padding: 4px;\n margin: -4px 0 -4px auto;\n border-radius: var(--rounded-full);\n margin-left: auto;\n\n &:focus-visible {\n outline: var(--focus-ring);\n outline-offset: -2px;\n }\n\n &:hover {\n background: var(--color-gray-100);\n }\n }\n\n [data-nextjs-codeframe]::selection,\n [data-nextjs-codeframe] *::selection {\n background-color: var(--color-ansi-selection);\n }\n\n [data-nextjs-codeframe] *:not(a) {\n color: inherit;\n background-color: transparent;\n font-family: var(--font-stack-monospace);\n }\n\n [data-nextjs-codeframe-line][data-nextjs-codeframe-line--errored="true"] {\n position: relative;\n isolation: isolate;\n\n > span { \n position: relative;\n z-index: 1;\n }\n\n &::after {\n content: "";\n width: calc(100% + var(--code-frame-padding) * 2);\n height: var(--code-frame-line-height);\n left: calc(-1 * var(--code-frame-padding));\n background: var(--color-red-200);\n box-shadow: 2px 0 0 0 var(--color-red-900) inset;\n position: absolute;\n }\n }\n\n\n [data-nextjs-codeframe] > * {\n margin: 0;\n }\n\n .code-frame-link {\n display: flex;\n margin: 0;\n outline: 0;\n }\n .code-frame-link [data-icon=\'right\'] {\n margin-left: auto;\n }\n\n [data-nextjs-codeframe] div > pre {\n overflow: hidden;\n display: inline-block;\n }\n\n [data-nextjs-codeframe] svg {\n color: var(--color-gray-900);\n }\n',"\n [data-nextjs-terminal]::selection,\n [data-nextjs-terminal] *::selection {\n background-color: var(--color-ansi-selection);\n }\n\n [data-nextjs-terminal] * {\n color: inherit;\n background-color: transparent;\n font-family: var(--font-stack-monospace);\n }\n\n [data-nextjs-terminal] > div > p {\n display: flex;\n align-items: center;\n justify-content: space-between;\n cursor: pointer;\n margin: 0;\n }\n [data-nextjs-terminal] > div > p:hover {\n text-decoration: underline dotted;\n }\n [data-nextjs-terminal] div > pre {\n overflow: hidden;\n display: inline-block;\n }\n","\n [data-with-open-in-editor-link] svg {\n width: auto;\n height: var(--size-14);\n margin-left: 8px;\n }\n [data-with-open-in-editor-link] {\n cursor: pointer;\n }\n [data-with-open-in-editor-link]:hover {\n text-decoration: underline dotted;\n }\n [data-with-open-in-editor-link-import-trace] {\n margin-left: 16px;\n }\n","","\n .nextjs-error-with-static {\n bottom: calc(16px * 4.5);\n }\n p.nextjs__container_errors__link {\n font-size: var(--size-14);\n }\n p.nextjs__container_errors__notes {\n color: var(--color-stack-notes);\n font-size: var(--size-14);\n line-height: 1.5;\n }\n .nextjs-container-errors-body > h2:not(:first-child) {\n margin-top: calc(16px + 8px);\n }\n .nextjs-container-errors-body > h2 {\n color: var(--color-title-color);\n margin-bottom: 8px;\n font-size: var(--size-20);\n }\n .nextjs-toast-errors-parent {\n cursor: pointer;\n transition: transform 0.2s ease;\n }\n .nextjs-toast-errors-parent:hover {\n transform: scale(1.1);\n }\n .nextjs-toast-errors {\n display: flex;\n align-items: center;\n justify-content: flex-start;\n }\n .nextjs-toast-errors > svg {\n margin-right: 8px;\n }\n .nextjs-toast-hide-button {\n margin-left: 24px;\n border: none;\n background: none;\n color: var(--color-ansi-bright-white);\n padding: 0;\n transition: opacity 0.25s ease;\n opacity: 0.7;\n }\n .nextjs-toast-hide-button:hover {\n opacity: 1;\n }\n .nextjs__container_errors__error_title {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 14px;\n }\n .error-overlay-notes-container {\n margin: 8px 2px;\n }\n .error-overlay-notes-container p {\n white-space: pre-wrap;\n }\n .nextjs__blocking_page_load_error_description {\n color: var(--color-stack-notes);\n }\n .nextjs__blocking_page_load_error_description_title {\n color: var(--color-title-color);\n }\n .nextjs__blocking_page_load_error_fix_option {\n background-color: var(--color-background-200);\n padding: 14px;\n border-radius: var(--rounded-md-2);\n border: 1px solid var(--color-gray-alpha-400);\n }\n .external-link, .external-link:hover {\n color:inherit;\n }\n",nX,"\n .nextjs-container-build-error-version-status {\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 4px;\n\n height: var(--size-26);\n padding: 6px 8px 6px 6px;\n background: var(--color-background-100);\n background-clip: padding-box;\n border: 1px solid var(--color-gray-alpha-400);\n box-shadow: var(--shadow-small);\n border-radius: var(--rounded-full);\n\n color: var(--color-gray-900);\n font-size: var(--size-12);\n font-weight: 500;\n line-height: var(--size-16);\n }\n\n a.nextjs-container-build-error-version-status {\n text-decoration: none;\n color: var(--color-gray-900);\n\n &:hover {\n background: var(--color-gray-100);\n }\n\n &:focus {\n outline: var(--focus-ring);\n }\n }\n\n .version-staleness-indicator.fresh {\n fill: var(--color-green-800);\n stroke: var(--color-green-300);\n }\n .version-staleness-indicator.stale {\n fill: var(--color-amber-800);\n stroke: var(--color-amber-300);\n }\n .version-staleness-indicator.outdated {\n fill: var(--color-red-800);\n stroke: var(--color-red-300);\n }\n .version-staleness-indicator.unknown {\n fill: var(--color-gray-800);\n stroke: var(--color-gray-300);\n }\n\n .nextjs-container-build-error-version-status > .turbopack-text {\n background: linear-gradient(\n to right,\n var(--color-turbopack-text-red) 0%,\n var(--color-turbopack-text-blue) 100%\n );\n background-clip: text;\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n }\n",rN,'\n .nextjs-scroll-fader {\n --blur: 1px;\n --stop: 25%;\n --height: 150px;\n --color-bg: var(--color-background-100);\n position: absolute;\n pointer-events: none;\n user-select: none;\n width: 100%;\n height: var(--height);\n left: 0;\n backdrop-filter: blur(var(--blur));\n\n &[data-side="top"] {\n top: 0;\n background: linear-gradient(to top, transparent, var(--color-bg));\n mask-image: linear-gradient(to bottom, var(--color-bg) var(--stop), transparent);\n }\n }\n',rh)})}function rz(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function rR(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return rz(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return rz(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function rD(e,t){var n,r,o,a,i=(0,O.c)(10),l=void 0!==e&&e;i[0]!==t?(n=void 0===t?{}:t,i[0]=t,i[1]=n):n=i[1];var s=n,c=rR((0,C.useState)(l),2),u=c[0],d=c[1],f=rR((0,C.useState)(!1),2),p=f[0],h=f[1],m=s.enterDelay,g=s.exitDelay,y=void 0===m?1:m,v=void 0===g?0:g;return i[2]!==l||i[3]!==y||i[4]!==v?(r=function(){var e,t;return l?(d(!0),y<=0?h(!0):e=setTimeout(function(){h(!0)},y)):(h(!1),v<=0?d(!1):t=setTimeout(function(){d(!1)},v)),function(){clearTimeout(e),clearTimeout(t)}},o=[l,y,v],i[2]=l,i[3]=y,i[4]=v,i[5]=r,i[6]=o):(r=i[5],o=i[6]),(0,C.useEffect)(r,o),i[7]!==u||i[8]!==p?(a={mounted:u,rendered:p},i[7]=u,i[8]=p,i[9]=a):a=i[9],a}function rM(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}function rZ(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function rU(e){var t,n,r,o,a,i,l,s=(0,O.c)(18),c=e.state,u=e.dispatch,d=e.getSquashedHydrationErrorDetails,f=e.runtimeErrors,p=e.errorCount,h=!!process.env.TURBOPACK;s[0]===Symbol.for("react.memo_cache_sentinel")?(t={exitDelay:200},s[0]=t):t=s[0];var m=rD(c.isErrorOverlayOpen,t),g=m.mounted,y=m.rendered;s[1]!==p||s[2]!==y||s[3]!==c.versionInfo?(n={rendered:y,transitionDurationMs:200,isTurbopack:h,versionInfo:c.versionInfo,errorCount:p},s[1]=p,s[2]=y,s[3]=c.versionInfo,s[4]=n):n=s[4];var v=n;return null!==c.buildError?(s[5]!==v||s[6]!==c.buildError?(r=(0,S.jsx)(nC,rZ(rM({},v),{message:c.buildError,rendered:!0})),s[5]=v,s[6]=c.buildError,s[7]=r):r=s[7],r):f.length?g?(s[10]!==u?(i=function(){u({type:Y})},s[10]=u,s[11]=i):i=s[11],s[12]!==v||s[13]!==d||s[14]!==f||s[15]!==c.debugInfo||s[16]!==i?(l=(0,S.jsx)(n5,rZ(rM({},v),{debugInfo:c.debugInfo,getSquashedHydrationErrorDetails:d,runtimeErrors:f,onClose:i})),s[12]=v,s[13]=d,s[14]=f,s[15]=c.debugInfo,s[16]=i,s[17]=l):l=s[17],l):(s[9]===Symbol.for("react.memo_cache_sentinel")?(a=(0,S.jsx)(C.Suspense,{}),s[9]=a):a=s[9],a):(s[8]===Symbol.for("react.memo_cache_sentinel")?(o=(0,S.jsx)(C.Suspense,{}),s[8]=o):o=s[8],o)}function rF(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function rH(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rV(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){rH(e,t,n[t])})}return e}function rB(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return rF(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return rF(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var r$=function(e){var t,n,r=(0,O.c)(4);return e.state.buildError?(r[0]!==e?(t=(0,S.jsx)(rW,rV({},e)),r[0]=e,r[1]=t):t=r[1],t):(r[2]!==e?(n=(0,S.jsx)(rq,rV({},e)),r[2]=e,r[3]=n):n=r[3],n)},rq=function(e){var t=e.children,n=e.state,r=e.isAppDir,o=n.errors,a=rB((0,C.useState)({}),2),i=a[0],l=a[1],s=rB((0,C.useMemo)(function(){for(var e=[],t=null,n=0;n<o.length;++n){var r=o[n],a=r.id;if(a in i){e.push(i[a]);continue}t=r;break}return[e,t]},[o,i]),2),c=s[0],u=s[1];return(0,C.useEffect)(function(){if(null!=u){var e,t,n=!0;return(e=u,t=r,nV(function(){var n,r,o;return nq(this,function(a){switch(a.label){case 0:var i,l;return n={id:e.id,runtime:!0,error:e.error,type:e.type},[2,n$(nB({},n),{frames:(l=(i=function(){return nV(function(){return nq(this,function(n){switch(n.label){case 0:return[4,eR(e.frames,nF(e.error),t)];case 1:return[2,n.sent()]}})})()})(),function(){return l})})];case 1:return r=[nB({},n)],o={},[4,eR(e.frames,nF(e.error),t)];case 2:return[2,n$.apply(void 0,r.concat([(o.frames=a.sent(),o)]))];case 3:return[2]}})})()).then(function(e){n&&l(function(t){var n,r;return n=rV({},t),r=null!=(r=rH({},e.id,e))?r:{},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(r)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}),n})}),function(){n=!1}}},[u,r]),t({runtimeErrors:c,totalErrorCount:o.length})},rW=function(e){return(0,e.children)({runtimeErrors:[],totalErrorCount:1})};function rK(){var e,t,n=(0,O.c)(4),r=dw(),o=r.shadowRoot,a=r.state;return n[0]!==o||n[1]!==a.scale?(e=function(){(null==o?void 0:o.host)&&o.host.style.setProperty("--nextjs-dev-tools-scale",String(a.scale||1))},t=[o,a.scale],n[0]=o,n[1]=a.scale,n[2]=e,n[3]=t):(e=n[2],t=n[3]),(0,C.useLayoutEffect)(e,t),null}var rY=__webpack_require__("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/components/devtools-indicator/devtools-indicator.css"),rX={};function rG(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function rQ(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function rJ(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return rQ(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return rQ(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r0(e){var t,n,r,o,a=(0,O.c)(3);return(a[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,S.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.08889 11.8384L2.62486 12.3024L1.69678 11.3744L2.16082 10.9103L6.07178 6.99937L2.16082 3.08841L1.69678 2.62437L2.62486 1.69629L3.08889 2.16033L6.99986 6.07129L10.9108 2.16033L11.3749 1.69629L12.3029 2.62437L11.8389 3.08841L7.92793 6.99937L11.8389 10.9103L12.3029 11.3744L11.3749 12.3024L10.9108 11.8384L6.99986 7.92744L3.08889 11.8384Z",fill:"currentColor"}),a[0]=r):r=a[0],a[1]!==e)?(o=(0,S.jsx)("svg",(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({width:"12",height:"12",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n=n={children:r},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t)),a[1]=e,a[2]=o):o=a[2],o}function r1(e){var t,n,r,o,a=(0,O.c)(3);return(a[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,S.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.98071 1.125L1.125 3.98071L1.125 8.01929L3.98071 10.875H8.01929L10.875 8.01929V3.98071L8.01929 1.125H3.98071ZM3.82538 0C3.62647 0 3.4357 0.0790176 3.29505 0.21967L0.21967 3.29505C0.0790176 3.4357 0 3.62647 0 3.82538V8.17462C0 8.37353 0.0790178 8.5643 0.21967 8.70495L3.29505 11.7803C3.4357 11.921 3.62647 12 3.82538 12H8.17462C8.37353 12 8.5643 11.921 8.70495 11.7803L11.7803 8.70495C11.921 8.5643 12 8.37353 12 8.17462V3.82538C12 3.62647 11.921 3.4357 11.7803 3.29505L8.70495 0.21967C8.5643 0.0790177 8.37353 0 8.17462 0H3.82538ZM6.5625 2.8125V3.375V6V6.5625H5.4375V6V3.375V2.8125H6.5625ZM6 9C6.41421 9 6.75 8.66421 6.75 8.25C6.75 7.83579 6.41421 7.5 6 7.5C5.58579 7.5 5.25 7.83579 5.25 8.25C5.25 8.66421 5.58579 9 6 9Z",fill:"currentColor"}),a[0]=r):r=a[0],a[1]!==e)?(o=(0,S.jsx)("svg",(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n=n={children:r},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t)),a[1]=e,a[2]=o):o=a[2],o}rX.styleTagTransform=x(),rX.setAttributes=g(),rX.insert=h(),rX.domAPI=f(),rX.insertStyleElement=v(),u()(rY.A,rX),rY.A&&rY.A.locals&&rY.A.locals;var r2=(0,C.createContext)(null),r3=function(){return(0,C.useContext)(r2)};function r4(e){return oS+36/e.scale+9}function r5(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r6(){var e,t,n=(e=["\n [data-indicator-status] {\n --padding-left: 8px;\n display: flex;\n gap: 6px;\n align-items: center;\n padding-left: 12px;\n padding-right: 8px;\n height: var(--size-32);\n margin-right: 2px;\n border-radius: var(--rounded-full);\n transition: background var(--duration-short) ease;\n color: white;\n font-size: var(--size-13);\n font-weight: 500;\n white-space: nowrap;\n border: none;\n background: transparent;\n cursor: pointer;\n outline: none;\n }\n\n [data-indicator-status]:focus-visible {\n outline: 2px solid var(--color-blue-800, #3b82f6);\n outline-offset: 3px;\n }\n\n [data-status-dot] {\n width: 8px;\n height: 8px;\n border-radius: 50%;\n flex-shrink: 0;\n }\n\n [data-status-text-animation] {\n display: inline-flex;\n align-items: center;\n position: relative;\n overflow: hidden;\n height: 100%;\n\n > * {\n white-space: nowrap;\n line-height: 1;\n }\n\n [data-status-text-enter] {\n animation: slotMachineEnter 150ms cubic-bezier(0, 0, 0.2, 1)\n forwards;\n }\n }\n\n [data-status-ellipsis] {\n display: inline-flex;\n margin-left: 2px;\n }\n\n [data-status-ellipsis] span {\n animation: ellipsisFade 1.2s infinite;\n margin: 0 1px;\n }\n\n [data-status-ellipsis] span:nth-child(2) {\n animation-delay: 0.2s;\n }\n\n [data-status-ellipsis] span:nth-child(3) {\n animation-delay: 0.4s;\n }\n\n @keyframes ellipsisFade {\n 0%,\n 60%,\n 100% {\n opacity: 0.2;\n }\n 30% {\n opacity: 1;\n }\n }\n\n @keyframes slotMachineEnter {\n 0% {\n transform: translateY(0.8em);\n opacity: 0;\n }\n 50% {\n opacity: 0.8;\n }\n 100% {\n transform: translateY(0);\n opacity: 1;\n }\n }\n "],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return r6=function(){return n},n}var r9=((e={}).None="none",e.Rendering="rendering",e.Compiling="compiling",e.Prerendering="prerendering",e.CacheBypassing="cache-bypassing",e);function r8(e){var t,n,r,o,a,i,l,s,c=(0,O.c)(13),u=e.status,d=e.onClick;c[0]===Symbol.for("react.memo_cache_sentinel")?(r5(n={},"none",""),r5(n,"cache-bypassing","Cache disabled"),r5(n,"prerendering","Prerendering"),r5(n,"compiling","Compiling"),r5(n,"rendering","Rendering"),t=n,c[0]=t):t=c[0];var f=t;c[1]===Symbol.for("react.memo_cache_sentinel")?(r5(o={},"none",""),r5(o,"cache-bypassing",""),r5(o,"prerendering","#f5a623"),r5(o,"compiling","#f5a623"),r5(o,"rendering","#50e3c2"),r=o,c[1]=r):r=c[1];var p=r;if("none"===u)return null;c[2]===Symbol.for("react.memo_cache_sentinel")?(a=(0,S.jsx)("style",{children:eg(r6())}),c[2]=a):a=c[2],c[3]!==u?(i=p[u]&&(0,S.jsx)("div",{"data-status-dot":!0,style:{backgroundColor:p[u]}}),c[3]=u,c[4]=i):i=c[4];var h="cache-bypassing"!==u,m=f[u];return c[5]!==u||c[6]!==h||c[7]!==m?(l=(0,S.jsx)(r7,{statusKey:u,showEllipsis:h,children:m},u),c[5]=u,c[6]=h,c[7]=m,c[8]=l):l=c[8],c[9]!==d||c[10]!==i||c[11]!==l?(s=(0,S.jsxs)(S.Fragment,{children:[a,(0,S.jsxs)("button",{"data-indicator-status":!0,"data-nextjs-dev-tools-button":!0,onClick:d,"aria-label":"Open Next.js Dev Tools",children:[i,l]})]}),c[9]=d,c[10]=i,c[11]=l,c[12]=s):s=c[12],s}function r7(e){var t,n,r=(0,O.c)(5),o=e.children,a=e.showEllipsis,i=void 0===a||a;return r[0]!==i?(t=i&&(0,S.jsxs)("span",{"data-status-ellipsis":!0,children:[(0,S.jsx)("span",{children:"."}),(0,S.jsx)("span",{children:"."}),(0,S.jsx)("span",{children:"."})]}),r[0]=i,r[1]=t):t=r[1],r[2]!==t||r[3]!==o?(n=(0,S.jsx)("div",{"data-status-text-animation":!0,children:(0,S.jsxs)("div",{"data-status-text-enter":!0,children:[o,t]})}),r[2]=t,r[3]=o,r[4]=n):n=r[4],n}function oe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ot(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}function on(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function or(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function oo(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return oe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return oe(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function oa(){var e,t,n=(e=["\n [data-next-badge-root] {\n --timing: cubic-bezier(0.23, 0.88, 0.26, 0.92);\n --duration-long: 250ms;\n --color-outer-border: #171717;\n --color-inner-border: hsla(0, 0%, 100%, 0.14);\n --color-hover-alpha-subtle: hsla(0, 0%, 100%, 0.13);\n --color-hover-alpha-error: hsla(0, 0%, 100%, 0.2);\n --color-hover-alpha-error-2: hsla(0, 0%, 100%, 0.25);\n --mark-size: calc(var(--size) - var(--size-2) * 2);\n\n --focus-color: var(--color-blue-800);\n --focus-ring: 2px solid var(--focus-color);\n\n &:has([data-next-badge][data-error='true']) {\n --focus-color: #fff;\n }\n }\n\n [data-disabled-icon] {\n display: flex;\n align-items: center;\n justify-content: center;\n padding-right: 4px;\n }\n\n [data-next-badge] {\n width: var(--size);\n height: var(--size);\n display: flex;\n align-items: center;\n position: relative;\n background: rgba(0, 0, 0, 0.8);\n box-shadow:\n 0 0 0 1px var(--color-outer-border),\n inset 0 0 0 1px var(--color-inner-border),\n 0px 16px 32px -8px rgba(0, 0, 0, 0.24);\n backdrop-filter: blur(48px);\n border-radius: var(--rounded-full);\n user-select: none;\n cursor: pointer;\n scale: 1;\n overflow: hidden;\n will-change: scale, box-shadow, width, background;\n transition:\n scale var(--duration-short) var(--timing),\n width var(--duration-long) var(--timing),\n box-shadow var(--duration-long) var(--timing),\n background var(--duration-short) ease;\n\n &:active[data-error='false'] {\n scale: 0.95;\n }\n\n &[data-animate='true']:not(:hover) {\n scale: 1.02;\n }\n\n &[data-error='false']:has([data-next-mark]:focus-visible) {\n outline: var(--focus-ring);\n outline-offset: 3px;\n }\n\n &[data-error='true'] {\n background: #ca2a30;\n --color-inner-border: #e5484d;\n\n [data-next-mark] {\n background: var(--color-hover-alpha-error);\n outline-offset: 0px;\n\n &:focus-visible {\n outline: var(--focus-ring);\n outline-offset: -1px;\n }\n\n &:hover {\n background: var(--color-hover-alpha-error-2);\n }\n }\n }\n\n &[data-cache-bypassing='true']:not([data-error='true']) {\n background: rgba(217, 119, 6, 0.95);\n --color-inner-border: rgba(245, 158, 11, 0.9);\n\n [data-issues-open] {\n color: white;\n }\n }\n\n &[data-error-expanded='false'][data-error='true'] ~ [data-dot] {\n scale: 1;\n }\n\n > div {\n display: flex;\n }\n }\n\n [data-issues-collapse]:focus-visible {\n outline: var(--focus-ring);\n }\n\n [data-issues]:has([data-issues-open]:focus-visible) {\n outline: var(--focus-ring);\n outline-offset: -1px;\n }\n\n [data-dot] {\n content: '';\n width: var(--size-8);\n height: var(--size-8);\n background: #fff;\n box-shadow: 0 0 0 1px var(--color-outer-border);\n border-radius: 50%;\n position: absolute;\n top: 2px;\n right: 0px;\n scale: 0;\n pointer-events: none;\n transition: scale 200ms var(--timing);\n transition-delay: var(--duration-short);\n }\n\n [data-issues] {\n --padding-left: 8px;\n display: flex;\n gap: 2px;\n align-items: center;\n padding-left: 8px;\n padding-right: 8px;\n height: var(--size-32);\n margin-right: 2px;\n border-radius: var(--rounded-full);\n transition: background var(--duration-short) ease;\n\n &:has([data-issues-open]:hover) {\n background: var(--color-hover-alpha-error);\n }\n\n &:has([data-issues-collapse]) {\n padding-right: calc(var(--padding-left) / 2);\n }\n\n [data-cross] {\n translate: 0px -1px;\n }\n }\n\n [data-issues-open] {\n font-size: var(--size-13);\n color: white;\n width: fit-content;\n height: 100%;\n display: flex;\n gap: 2px;\n align-items: center;\n margin: 0;\n line-height: var(--size-36);\n font-weight: 500;\n z-index: 2;\n white-space: nowrap;\n\n &:focus-visible {\n outline: 0;\n }\n }\n\n [data-issues-collapse] {\n width: var(--size-24);\n height: var(--size-24);\n border-radius: var(--rounded-full);\n transition: background var(--duration-short) ease;\n\n &:hover {\n background: var(--color-hover-alpha-error);\n }\n }\n\n [data-cross] {\n color: #fff;\n width: var(--size-12);\n height: var(--size-12);\n }\n\n [data-next-mark] {\n width: var(--mark-size);\n height: var(--mark-size);\n margin: 0 2px;\n display: flex;\n align-items: center;\n border-radius: var(--rounded-full);\n transition: background var(--duration-long) var(--timing);\n\n &:focus-visible {\n outline: 0;\n }\n\n &:hover {\n background: var(--color-hover-alpha-subtle);\n }\n\n svg {\n flex-shrink: 0;\n width: var(--size-40);\n height: var(--size-40);\n }\n }\n\n [data-issues-count-animation] {\n display: grid;\n place-items: center center;\n font-variant-numeric: tabular-nums;\n\n &[data-animate='false'] {\n [data-issues-count-exit],\n [data-issues-count-enter] {\n animation-duration: 0ms;\n }\n }\n\n > * {\n grid-area: 1 / 1;\n }\n\n [data-issues-count-exit] {\n animation: fadeOut 300ms var(--timing) forwards;\n }\n\n [data-issues-count-enter] {\n animation: fadeIn 300ms var(--timing) forwards;\n }\n }\n\n [data-issues-count-plural] {\n display: inline-block;\n &[data-animate='true'] {\n animation: fadeIn 300ms var(--timing) forwards;\n }\n }\n\n .paused {\n stroke-dashoffset: 0;\n }\n\n @keyframes fadeIn {\n 0% {\n opacity: 0;\n filter: blur(2px);\n transform: translateY(8px);\n }\n 100% {\n opacity: 1;\n filter: blur(0px);\n transform: translateY(0);\n }\n }\n\n @keyframes fadeOut {\n 0% {\n opacity: 1;\n filter: blur(0px);\n transform: translateY(0);\n }\n 100% {\n opacity: 0;\n transform: translateY(-12px);\n filter: blur(2px);\n }\n }\n\n @media (prefers-reduced-motion) {\n [data-issues-count-exit],\n [data-issues-count-enter],\n [data-issues-count-plural] {\n animation-duration: 0ms !important;\n }\n }\n "],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return oa=function(){return n},n}function oi(e){var t,n,r,o,a,i,l,s,c,u,d,f,p,h,m,g,y,v,b,x,w,_,j,k,P,E,T,N,I,L,A,z,R,D=(0,O.c)(54);D[0]!==e?(w=or(e,["onTriggerClick"]),_=e.onTriggerClick,D[0]=e,D[1]=w,D[2]=_):(w=D[1],_=D[2]);var M=dw(),Z=M.state,U=M.dispatch,F=da().totalErrorCount,H=36/Z.scale,V=r3(),B=V.panel,$=V.triggerRef,q=V.setPanel,W="panel-selector"===B,X=F>0,G=oo((0,C.useState)(X),2),Q=G[0],J=G[1],ee=oo((0,C.useState)(X),2),et=ee[0],en=ee[1];et!==X&&(en(X),J(X));var er=oo((0,C.useState)(!1),2),eo=er[0],ea=er[1],ei=(t=F,o=(0,O.c)(4),a=150,i=(0,C.useRef)(null),c=(l=(0,C.useState)(!1),s=function(e){if(Array.isArray(e))return e}(l)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),2!==a.length);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(l,2)||function(e,t){if(e){if("string"==typeof e)return rG(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return rG(e,2)}}(l,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],u=s[1],o[0]!==a||o[1]!==t?(n=function(){if(t>0){var e=i.current?Date.now()-i.current:-1;if(i.current=Date.now(),!(e<=a)){u(!0);var n=window.setTimeout(function(){u(!1)},a);return function(){clearTimeout(n)}}}},r=[t,a],o[0]=a,o[1]=t,o[2]=n,o[3]=r):(n=o[2],r=o[3]),(0,C.useEffect)(n,r),c),el="filling"===Z.cacheIndicator,es="bypass"===Z.cacheIndicator,ec=Z.buildingIndicator||Z.renderingIndicator||el;D[3]===Symbol.for("react.memo_cache_sentinel")?(j={enterDelay:400,exitDelay:500},D[3]=j):j=D[3];var eu=rD(ec,j).rendered,ed=(0,C.useRef)(null),ef=(d=ed,h=(0,O.c)(3),g=(m=rJ((0,C.useState)(0),2))[0],y=m[1],h[0]!==d?(f=function(){var e=d.current;if(e){var t=new ResizeObserver(function(e){y(rJ(e,1)[0].contentRect.width)});return t.observe(e),function(){return t.disconnect()}}},p=[d],h[0]=d,h[1]=f,h[2]=p):(f=h[1],p=h[2]),(0,C.useEffect)(f,p),g);D[4]!==Z.buildingIndicator||D[5]!==Z.cacheIndicator||D[6]!==Z.renderingIndicator?(v=Z.buildingIndicator,b=Z.renderingIndicator,x=Z.cacheIndicator,k=v?"compiling":"filling"===x?"prerendering":b?"rendering":"none",D[4]=Z.buildingIndicator,D[5]=Z.cacheIndicator,D[6]=Z.renderingIndicator,D[7]=k):k=D[7];var ep=k,eh=eu?ep:r9.None,em=Q||es||eu||Z.disableDevIndicator,ey=0===ef?"auto":ef,ev="".concat(H,"px"),eb=Z.disableDevIndicator&&(!X||eo)?"none":"block";D[8]!==ev||D[9]!==eb?(P={"--size":ev,"--duration-short":"".concat(150,"ms"),display:eb},D[8]=ev,D[9]=eb,D[10]=P):P=D[10];var ex=P;D[11]===Symbol.for("react.memo_cache_sentinel")?(E=(0,S.jsx)("style",{children:eg(oa())}),D[11]=E):E=D[11];var ew=X||es?r9.None:ep;return D[12]!==ey?(T={width:ey},D[12]=ey,D[13]=T):T=D[13],D[14]!==w||D[15]!==X||D[16]!==es||D[17]!==W||D[18]!==_||D[19]!==eu||D[20]!==Z.disableDevIndicator||D[21]!==$?(N=!Z.disableDevIndicator&&(0,S.jsx)("button",on(ot({id:"next-logo",ref:$,"data-next-mark":!0,onClick:_,disabled:Z.disableDevIndicator,"aria-haspopup":"menu","aria-expanded":W,"aria-controls":"nextjs-dev-tools-menu","aria-label":"".concat(W?"Close":"Open"," Next.js Dev Tools"),"data-nextjs-dev-tools-button":!0,style:{display:!eu||X||es?"flex":"none"}},w),{children:(0,S.jsx)(oc,{})})),D[14]=w,D[15]=X,D[16]=es,D[17]=W,D[18]=_,D[19]=eu,D[20]=Z.disableDevIndicator,D[21]=$,D[22]=N):N=D[22],D[23]!==U||D[24]!==eh||D[25]!==X||D[26]!==es||D[27]!==Q||D[28]!==em||D[29]!==ei||D[30]!==_||D[31]!==q||D[32]!==eu||D[33]!==Z.buildError||D[34]!==Z.disableDevIndicator||D[35]!==Z.isErrorOverlayOpen||D[36]!==F||D[37]!==$?(I=em&&(0,S.jsxs)(S.Fragment,{children:[(Q||Z.disableDevIndicator)&&(0,S.jsxs)("div",{"data-issues":!0,children:[(0,S.jsxs)("button",{"data-issues-open":!0,"aria-label":"Open issues overlay",onClick:function(){Z.isErrorOverlayOpen?U({type:Y}):(U({type:K}),q(null))},children:[Z.disableDevIndicator&&(0,S.jsx)("div",{"data-disabled-icon":!0,children:(0,S.jsx)(r1,{})}),(0,S.jsx)(ol,{animate:ei,"data-issues-count-animation":!0,children:F},F)," ",(0,S.jsxs)("div",{children:["Issue",F>1&&(0,S.jsx)("span",{"aria-hidden":!0,"data-issues-count-plural":!0,"data-animate":ei&&2===F,children:"s"})]})]}),!Z.buildError&&(0,S.jsx)("button",{"data-issues-collapse":!0,"aria-label":"Collapse issues badge",onClick:function(){var e;Z.disableDevIndicator?ea(!0):J(!1),null==(e=$.current)||e.focus()},children:(0,S.jsx)(r0,{"data-cross":!0})})]}),es&&!X&&!Z.disableDevIndicator&&(0,S.jsx)(os,{onTriggerClick:_,triggerRef:$}),eu&&!X&&!es&&!Z.disableDevIndicator&&(0,S.jsx)(r8,{status:eh,onClick:_})]}),D[23]=U,D[24]=eh,D[25]=X,D[26]=es,D[27]=Q,D[28]=em,D[29]=ei,D[30]=_,D[31]=q,D[32]=eu,D[33]=Z.buildError,D[34]=Z.disableDevIndicator,D[35]=Z.isErrorOverlayOpen,D[36]=F,D[37]=$,D[38]=I):I=D[38],D[39]!==N||D[40]!==I?(L=(0,S.jsxs)("div",{ref:ed,children:[N,I]}),D[39]=N,D[40]=I,D[41]=L):L=D[41],D[42]!==X||D[43]!==es||D[44]!==em||D[45]!==ei||D[46]!==L||D[47]!==ew||D[48]!==T?(A=(0,S.jsx)("div",{"data-next-badge":!0,"data-error":X,"data-error-expanded":em,"data-status":ew,"data-cache-bypassing":es,"data-animate":ei,style:T,children:L}),D[42]=X,D[43]=es,D[44]=em,D[45]=ei,D[46]=L,D[47]=ew,D[48]=T,D[49]=A):A=D[49],D[50]===Symbol.for("react.memo_cache_sentinel")?(z=(0,S.jsx)("div",{"aria-hidden":!0,"data-dot":!0}),D[50]=z):z=D[50],D[51]!==A||D[52]!==ex?(R=(0,S.jsxs)("div",{"data-next-badge-root":!0,style:ex,children:[E,A,z]}),D[51]=A,D[52]=ex,D[53]=R):R=D[53],R}function ol(e){var t,n,r,o,a,i,l=(0,O.c)(13);l[0]!==e?(n=or(e,["children","animate"]),t=e.children,r=e.animate,l[0]=e,l[1]=t,l[2]=n,l[3]=r):(t=l[1],n=l[2],r=l[3]);var s=void 0===r||r,c=t-1;return l[4]!==c?(o=(0,S.jsx)("div",{"aria-hidden":!0,"data-issues-count-exit":!0,children:c}),l[4]=c,l[5]=o):o=l[5],l[6]!==t?(a=(0,S.jsx)("div",{"data-issues-count":!0,"data-issues-count-enter":!0,children:t}),l[6]=t,l[7]=a):a=l[7],l[8]!==s||l[9]!==n||l[10]!==o||l[11]!==a?(i=(0,S.jsxs)("div",on(ot({},n),{"data-animate":s,children:[o,a]})),l[8]=s,l[9]=n,l[10]=o,l[11]=a,l[12]=i):i=l[12],i}function os(e){var t,n,r,o,a,i=(0,O.c)(10),l=e.onTriggerClick,s=e.triggerRef,c=oo((0,C.useState)(!1),2),u=c[0],d=c[1];return u?null:(i[0]!==l?(t=(0,S.jsx)("button",{"data-issues-open":!0,"data-nextjs-dev-tools-button":!0,"aria-label":"Open Next.js Dev Tools",onClick:l,children:"Cache disabled"}),i[0]=l,i[1]=t):t=i[1],i[2]!==s?(n=function(){var e;d(!0),null==(e=s.current)||e.focus()},i[2]=s,i[3]=n):n=i[3],i[4]===Symbol.for("react.memo_cache_sentinel")?(r=(0,S.jsx)(r0,{"data-cross":!0}),i[4]=r):r=i[4],i[5]!==n?(o=(0,S.jsx)("button",{"data-issues-collapse":!0,"aria-label":"Collapse cache bypass badge",onClick:n,children:r}),i[5]=n,i[6]=o):o=i[6],i[7]!==t||i[8]!==o?(a=(0,S.jsxs)("div",{"data-issues":!0,"data-cache-bypass-badge":!0,children:[t,o]}),i[7]=t,i[8]=o,i[9]=a):a=i[9],a)}function oc(){var e,t,n,r,o=(0,O.c)(4);return o[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,S.jsxs)("g",{transform:"translate(8.5, 13)",children:[(0,S.jsx)("path",{className:"paused",d:"M13.3 15.2 L2.34 1 V12.6",fill:"none",stroke:"url(#next_logo_paint0_linear_1357_10853)",strokeWidth:"1.86",mask:"url(#next_logo_mask0)",strokeDasharray:"29.6",strokeDashoffset:"29.6"}),(0,S.jsx)("path",{className:"paused",d:"M11.825 1.5 V13.1",strokeWidth:"1.86",stroke:"url(#next_logo_paint1_linear_1357_10853)",strokeDasharray:"11.6",strokeDashoffset:"11.6"})]}),o[0]=e):e=o[0],o[1]===Symbol.for("react.memo_cache_sentinel")?(t=(0,S.jsxs)("linearGradient",{id:"next_logo_paint0_linear_1357_10853",x1:"9.95555",y1:"11.1226",x2:"15.4778",y2:"17.9671",gradientUnits:"userSpaceOnUse",children:[(0,S.jsx)("stop",{stopColor:"white"}),(0,S.jsx)("stop",{offset:"0.604072",stopColor:"white",stopOpacity:"0"}),(0,S.jsx)("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]}),o[1]=t):t=o[1],o[2]===Symbol.for("react.memo_cache_sentinel")?(n=(0,S.jsxs)("linearGradient",{id:"next_logo_paint1_linear_1357_10853",x1:"11.8222",y1:"1.40039",x2:"11.791",y2:"9.62542",gradientUnits:"userSpaceOnUse",children:[(0,S.jsx)("stop",{stopColor:"white"}),(0,S.jsx)("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]}),o[2]=n):n=o[2],o[3]===Symbol.for("react.memo_cache_sentinel")?(r=(0,S.jsxs)("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",children:[e,(0,S.jsxs)("defs",{children:[t,n,(0,S.jsxs)("mask",{id:"next_logo_mask0",children:[(0,S.jsx)("rect",{width:"100%",height:"100%",fill:"white"}),(0,S.jsx)("rect",{width:"5",height:"1.5",fill:"black"})]})]})]}),o[3]=r):r=o[3],r}var ou=C.forwardRef(function(e,t){var n,r,o,a,i,l,s,c,u,d=(0,O.c)(15);return(d[0]!==e?(l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["onClick","children","className"]),i=e.onClick,o=e.children,a=e.className,d[0]=e,d[1]=o,d[2]=a,d[3]=i,d[4]=l):(o=d[1],a=d[2],i=d[3],l=d[4]),d[5]!==i?(s=function(e){return e.target.closest("a")||e.preventDefault(),null==i?void 0:i()},d[5]=i,d[6]=s):s=d[6],d[7]!==a?(c=e9("nextjs-toast",a),d[7]=a,d[8]=c):c=d[8],d[9]!==o||d[10]!==l||d[11]!==t||d[12]!==s||d[13]!==c)?(u=(0,S.jsx)("div",(n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({},l),r=r={ref:t,onClick:s,className:c,children:o},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(r)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}),n)),d[9]=o,d[10]=l,d[11]=t,d[12]=s,d[13]=c,d[14]=u):u=d[14],u});function od(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}var of=(0,C.createContext)(null);function op(e){var t=e.children,n=e.disabled,r=void 0!==n&&n,o=(0,C.useRef)(new Set),a=(0,C.useCallback)(function(e){o.current.add(e)},[]),i=(0,C.useCallback)(function(e){o.current.delete(e)},[]),l=(0,C.useMemo)(function(){return{register:a,unregister:i,handles:o.current,disabled:r}},[a,i,r]);return(0,S.jsx)(of.Provider,{value:l,children:t})}function oh(){return(0,C.useContext)(of)}function om(e){var t,n,r,o,a,i,l,s,c,u,d,f=(0,O.c)(19);f[0]!==e?(o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["children","ref"]),r=e.children,a=e.ref,f[0]=e,f[1]=r,f[2]=o,f[3]=a):(r=f[1],o=f[2],a=f[3]);var p=(0,C.useRef)(null),h=oh();f[4]!==a?(i=function(e){if(p.current=null!=e?e:null,"function"==typeof a)a(e);else{var t;a&&(void 0===a?"undefined":(t=a)&&"undefined"!=typeof Symbol&&t.constructor===Symbol?"symbol":typeof t)=="object"&&(a.current=e)}},f[4]=a,f[5]=i):i=f[5];var m=i;f[6]!==h?(l=function(){if(h&&p.current&&!h.disabled){var e=p.current;return h.register(e),function(){return h.unregister(e)}}},s=[h],f[6]=h,f[7]=l,f[8]=s):(l=f[7],s=f[8]),(0,C.useEffect)(l,s);var g=(null==h?void 0:h.disabled)?"default":"grab";return(f[9]!==o.style?(c=o.style||{},f[9]=o.style,f[10]=c):c=f[10],f[11]!==g||f[12]!==c?(u=od({cursor:g},c),f[11]=g,f[12]=c,f[13]=u):u=f[13],f[14]!==r||f[15]!==o||f[16]!==m||f[17]!==u)?(d=(0,S.jsx)("div",(t=od({ref:m},o),n=n={style:u,children:r},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t)),f[14]=r,f[15]=o,f[16]=m,f[17]=u,f[18]=d):d=f[18],d}function og(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function oy(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function ov(e){return function(e){if(Array.isArray(e))return og(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||ob(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ob(e,t){if(e){if("string"==typeof e)return og(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return og(e,t)}}function ox(e){var t,n,r,o,a,i,l,s,c,u,d,f,p,h=(0,O.c)(15);h[0]!==e?(u=oy(e,["children","padding","position","setPosition","onDragStart","dragHandleSelector","disableDrag","avoidZone"]),a=e.children,c=e.padding,i=e.position,d=e.setPosition,s=e.onDragStart,l=e.dragHandleSelector,f=e.disableDrag,o=e.avoidZone,h[0]=e,h[1]=o,h[2]=a,h[3]=i,h[4]=l,h[5]=s,h[6]=c,h[7]=u,h[8]=d,h[9]=f):(o=h[1],a=h[2],i=h[3],l=h[4],s=h[5],c=h[6],u=h[7],d=h[8],f=h[9]);var m=function(e){var t=(0,C.useRef)(null),n=(0,C.useRef)({state:"idle"}),r=(0,C.useRef)(null),o=(0,C.useRef)({x:0,y:0}),a=(0,C.useRef)({x:0,y:0}),i=(0,C.useRef)(0),l=(0,C.useRef)([]),s=(0,C.useCallback)(function(){var e,o,a;"drag"===n.current.state&&(null==(a=t.current)||a.releasePointerCapture(n.current.pointerId)),n.current="drag"===n.current.state?{state:"drag-end"}:{state:"idle"},null!==r.current&&(r.current(),r.current=null),l.current=[],null==(e=t.current)||e.classList.remove("dev-tools-grabbing"),null==(o=t.current)||o.style.removeProperty("-webkit-user-select"),document.body.style.removeProperty("user-select"),document.body.style.removeProperty("-webkit-user-select")},[]);function c(e){t.current&&(a.current=e,t.current.style.translate="".concat(e.x,"px ").concat(e.y,"px"))}function u(n){var r=t.current;null!==r&&(r.style.transition="translate 491.22ms var(--timing-bounce)",r.addEventListener("transitionend",function t(o){if("translate"===o.propertyName){var i;null==(i=e.onAnimationEnd)||i.call(e,n),a.current={x:0,y:0},r.style.transition="",r.removeEventListener("transitionend",t)}}),c(n.translation))}function d(e){if("drag-end"===n.current.state){var r;e.preventDefault(),e.stopPropagation(),n.current={state:"idle"},null==(r=t.current)||r.removeEventListener("click",d)}}function f(r){if("press"===n.current.state){var s,u,d,f,p,h=r.clientX-o.current.x,m=r.clientY-o.current.y;Math.sqrt(h*h+m*m)>=e.threshold&&(n.current={state:"drag",pointerId:r.pointerId},null==(u=t.current)||u.setPointerCapture(r.pointerId),null==(d=t.current)||d.classList.add("dev-tools-grabbing"),null==(f=t.current)||f.style.setProperty("-webkit-user-select","none"),document.body.style.userSelect="none",document.body.style.webkitUserSelect="none",null==(p=e.onDragStart)||p.call(e))}if("drag"===n.current.state){var g={x:r.clientX,y:r.clientY},y=g.x-o.current.x,v=g.y-o.current.y;o.current=g,c({x:a.current.x+y,y:a.current.y+v});var b=Date.now();b-i.current>=10&&(l.current=ov(l.current.slice(-5)).concat([{position:g,timestamp:b}])),i.current=b,null==(s=e.onDrag)||s.call(e,a.current)}}function p(){var t,n=function(e){if(e.length<2)return{x:0,y:0};var t=e[0],n=e[e.length-1],r=n.timestamp-t.timestamp;return 0===r?{x:0,y:0}:{x:1e3*((n.position.x-t.position.x)/r),y:1e3*((n.position.y-t.position.y)/r)}}(l.current);s(),null==(t=e.onDragEnd)||t.call(e,a.current,n)}return(0,C.useLayoutEffect)(function(){e.disabled&&s()},[s,e.disabled]),e.disabled?{ref:t,animate:u}:{ref:t,onPointerDown:function(a){var i;0!==a.button||function(n){if(!n||!t.current)return!0;if(e.handles&&e.handles.size>0){for(var r=n;r&&r!==t.current;){if(e.handles.has(r))return!0;r=r.parentElement}return!1}return!e.dragHandleSelector||null!==n.closest(e.dragHandleSelector)}(a.target)&&(o.current={x:a.clientX,y:a.clientY},n.current={state:"press"},window.addEventListener("pointermove",f),window.addEventListener("pointerup",p),null!==r.current&&(r.current(),r.current=null),r.current=function(){window.removeEventListener("pointermove",f),window.removeEventListener("pointerup",p)},null==(i=t.current)||i.addEventListener("click",d))},animate:u}}({disabled:void 0!==f&&f,handles:null==(r=oh())?void 0:r.handles,threshold:5,onDragStart:s,onDragEnd:function(e,t){var n,r,a,l,s,u,d,f,p,h,m,v,b,x,w,_,j,k;if(0===Math.sqrt(e.x*e.x+e.y*e.y)){null==(n=g.current)||n.style.removeProperty("translate");return}y((b=(r={x:e.x+o_(t.x),y:e.y+o_(t.y)}).x,x=r.y,_=Object.entries(w=(s=2*c,u=(null==(a=g.current)?void 0:a.offsetWidth)||0,d=(null==(l=g.current)?void 0:l.offsetHeight)||0,f=window.innerWidth-document.documentElement.clientWidth,h=(p=function(e){var t=e.includes("right"),n=e.includes("bottom"),r=t?window.innerWidth-f-s-u:0,a=n?window.innerHeight-s-d:0;if(o&&o.corner===e){var i=o.square+o.padding;n?a-=i:a+=i}return{x:r,y:a}})(i),{"top-left":(m=function(e){return{x:e.x-h.x,y:e.y-h.y}})(p("top-left")),"top-right":m(p("top-right")),"bottom-left":m(p("bottom-left")),"bottom-right":m(p("bottom-right"))})).map(function(e){var t,n=function(e){if(Array.isArray(e))return e}(t=e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),2!==a.length);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(t,2)||ob(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),r=n[0],o=n[1];return{key:r,distance:Math.sqrt(Math.pow(b-o.x,2)+Math.pow(x-o.y,2))}}),j=(v=Math).min.apply(v,ov(_.map(ow))),(k=_.find(function(e){return e.distance===j}))?{translation:w[k.key],corner:k.key}:{corner:i,translation:w[i]}))},onAnimationEnd:function(e){var t=e.corner;setTimeout(function(){var e;null==(e=g.current)||e.style.removeProperty("translate"),d(t)})},dragHandleSelector:l}),g=m.ref,y=m.animate,v=oy(m,["ref","animate"]);return h[10]!==a||h[11]!==v||h[12]!==u||h[13]!==g?(p=(0,S.jsx)("div",(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({},u,v),n=n={ref:g,children:a},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t)),h[10]=a,h[11]=v,h[12]=u,h[13]=g,h[14]=p):p=h[14],p}function ow(e){return e.distance}function o_(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.999;return e/1e3*t/(1-t)}function oj(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ok(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var oS=20;function oO(){var e,t,n,r,o,a,i,l,s=(0,O.c)(20),c=dw(),u=c.state,d=c.dispatch,f=r3(),p=f.panel,h=f.setPanel,m=f.setSelectedIndex,g=oC();s[0]!==u.devToolsPosition?(t=u.devToolsPosition.split("-",2),s[0]=u.devToolsPosition,s[1]=t):t=s[1];var y=function(e){if(Array.isArray(e))return e}(e=t)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),2!==a.length);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(e,2)||function(e,t){if(e){if("string"==typeof e)return oj(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return oj(e,2)}}(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),v=y[0],b=y[1];s[2]!==b||s[3]!==v?(ok(r={"--animate-out-duration-ms":"".concat(200,"ms"),"--animate-out-timing-function":nc,boxShadow:"none"},v,"".concat(oS,"px")),ok(r,b,"".concat(oS,"px")),n=r,s[2]=b,s[3]=v,s[4]=n):n=s[4];var x=n,w=null!==p;return s[5]!==d||s[6]!==g?(o=function(e){d({type:et,devToolsPosition:e}),rk({devToolsPosition:e}),g(e)},s[5]=d,s[6]=g,s[7]=o):o=s[7],s[8]!==p||s[9]!==h||s[10]!==m?(a=(0,S.jsx)(oi,{onTriggerClick:function(){var e="panel-selector"===p?null:"panel-selector";if(h(e),!e)return void m(-1)}}),s[8]=p,s[9]=h,s[10]=m,s[11]=a):a=s[11],s[12]!==u.devToolsPosition||s[13]!==w||s[14]!==o||s[15]!==a?(i=(0,S.jsx)(ox,{disableDrag:w,padding:oS,position:u.devToolsPosition,setPosition:o,children:a}),s[12]=u.devToolsPosition,s[13]=w,s[14]=o,s[15]=a,s[16]=i):i=s[16],s[17]!==x||s[18]!==i?(l=(0,S.jsx)(ou,{id:"devtools-indicator","data-nextjs-toast":!0,style:x,children:i}),s[17]=x,s[18]=i,s[19]=l):l=s[19],l}var oC=function(){var e,t=(0,O.c)(3),n=dw(),r=n.state,o=n.dispatch;return t[0]!==o||t[1]!==r.devToolsPanelPosition?(e=function(e){o({type:en,devToolsPanelPosition:e,key:es});var t=Object.keys(r.devToolsPanelPosition).filter(oP),n=ok({},es,e);t.forEach(function(t){o({type:en,devToolsPanelPosition:e,key:t}),n[t]=e}),rk({devToolsPanelPosition:n})},t[0]=o,t[1]=r.devToolsPanelPosition,t[2]=e):e=t[2],e};function oP(e){return e.startsWith(ea)}function oE(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function oT(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oN(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){oT(e,t,n[t])})}return e}function oI(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function oL(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return oE(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return oE(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var oA=(0,C.createContext)({});function oz(e){var t,n,r,o,a,i,l,s,c,u,d,f,p,h=(0,O.c)(37);h[0]!==e?(a=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["index","label","value","onClick","href"]),n=e.index,r=e.label,i=e.value,o=e.onClick,t=e.href,h[0]=e,h[1]=t,h[2]=n,h[3]=r,h[4]=o,h[5]=a,h[6]=i):(t=h[1],n=h[2],r=h[3],o=h[4],a=h[5],i=h[6]);var m="function"==typeof o||"string"==typeof t,g=(0,C.useContext)(oA),y=g.closeMenu,v=g.selectedIndex,b=g.setSelectedIndex,x=v===n;h[7]!==y||h[8]!==t||h[9]!==m||h[10]!==o?(l=function(){m&&(null==o||o(),null==y||y(),t&&window.open(t,"_blank","noopener, noreferrer"))},h[7]=y,h[8]=t,h[9]=m,h[10]=o,h[11]=l):l=h[11];var w=l;h[12]!==n||h[13]!==m||h[14]!==v||h[15]!==b?(s=function(){m&&void 0!==n&&v!==n&&b(n)},h[12]=n,h[13]=m,h[14]=v,h[15]=b,h[16]=s):s=h[16],h[17]!==b?(c=function(){return b(-1)},h[17]=b,h[18]=c):c=h[18],h[19]!==w?(u=function(e){("Enter"===e.key||" "===e.key)&&w()},h[19]=w,h[20]=u):u=h[20];var _=m?"menuitem":void 0,j=x?0:-1;return h[21]!==r?(d=(0,S.jsx)("span",{className:"dev-tools-indicator-label",children:r}),h[21]=r,h[22]=d):d=h[22],h[23]!==i?(f=(0,S.jsx)("span",{className:"dev-tools-indicator-value",children:i}),h[23]=i,h[24]=f):f=h[24],h[25]!==w||h[26]!==n||h[27]!==a||h[28]!==x||h[29]!==s||h[30]!==c||h[31]!==u||h[32]!==_||h[33]!==j||h[34]!==d||h[35]!==f?(p=(0,S.jsxs)("div",oI(oN({className:"dev-tools-indicator-item","data-index":n,"data-selected":x,onClick:w,onMouseMove:s,onMouseLeave:c,onKeyDown:u,role:_,tabIndex:j},a),{children:[d,f]})),h[25]=w,h[26]=n,h[27]=a,h[28]=x,h[29]=s,h[30]=c,h[31]=u,h[32]=_,h[33]=j,h[34]=d,h[35]=f,h[36]=p):p=h[36],p}var oR=function(e){var t,n=e.closeOnClickOutside,r=void 0===n||n,o=e.items,a=dw().state,i=r3(),l=i.setPanel,s=i.triggerRef,c=i.setSelectedIndex,u=i.selectedIndex,d=u9().mounted,f=oL(a.devToolsPosition.split("-",2),2),p=f[0],h=f[1],m=(0,C.useRef)(null);ns(m,s,r&&d,function(e){switch(e){case"escape":l(null),c(-1);return;case"outside":if(!r)return;l(null),c(-1);return;default:return null}});var g=(0,C.useEffectEvent)(function(){oU({index:-1===u?"first":u,menuRef:m,setSelectedIndex:c})});(0,C.useLayoutEffect)(function(){var e;null==(e=m.current)||e.focus(),g()},[]);var y=r4(a),v=oL(a.devToolsPosition.split("-",2),2),b=v[0],x=v[1],w=p===b&&h===x?y:oS,_=(oT(t={},p,"".concat(w,"px")),oT(t,h,"".concat(oS,"px")),oT(t,"top"===p?"bottom":"top","auto"),oT(t,"left"===h?"right":"left","auto"),t),j=o.filter(function(e){return!!e}),k=j.filter(function(e){return!e.footer}),O=j.filter(function(e){return e.footer});return(0,S.jsx)("div",{ref:m,onKeyDown:function(e){e.preventDefault();var t=j.filter(function(e){return e.onClick}).length;switch(e.key){case"ArrowDown":oU({index:u>=t-1?0:u+1,menuRef:m,setSelectedIndex:c});break;case"ArrowUp":oU({index:u<=0?t-1:u-1,menuRef:m,setSelectedIndex:c});break;case"Home":oU({index:"first",menuRef:m,setSelectedIndex:c});break;case"End":oU({index:"last",menuRef:m,setSelectedIndex:c});break;case"n":e.ctrlKey&&oU({index:u>=t-1?0:u+1,menuRef:m,setSelectedIndex:c});break;case"p":e.ctrlKey&&oU({index:u<=0?t-1:u-1,menuRef:m,setSelectedIndex:c})}},id:"nextjs-dev-tools-menu",role:"menu",dir:"ltr","aria-orientation":"vertical","aria-label":"Next.js Dev Tools Items",tabIndex:-1,style:oN({outline:0,WebkitFontSmoothing:"antialiased",display:"flex",flexDirection:"column",alignItems:"flex-start",background:"var(--color-background-100)",backgroundClip:"padding-box",boxShadow:"var(--shadow-menu)",borderRadius:"var(--rounded-xl)",position:"fixed",fontFamily:"var(--font-stack-sans)",zIndex:"var(--top-z-index)",overflow:"hidden",opacity:1,minWidth:"248px",transition:"opacity var(--animate-out-duration-ms) var(--animate-out-timing-function)",border:"1px solid var(--color-gray-alpha-400)"},_),children:(0,S.jsxs)(oA,{value:{selectedIndex:u,setSelectedIndex:c},children:[(0,S.jsx)("div",{style:{padding:"6px",width:"100%"},children:k.map(function(e,t){return(0,S.jsx)(oz,oN({title:e.title,label:e.label,value:e.value,onClick:e.onClick,index:e.onClick?oD(k,t):void 0},e.attributes),e.label)})}),(0,S.jsx)("div",{className:"dev-tools-indicator-footer",children:O.map(function(e,t){var n;return(0,S.jsx)(oz,oI(oN({title:e.title,label:e.label,value:e.value,onClick:e.onClick},e.attributes),{index:e.onClick?oD(O,t)+(n=k).filter(function(e){return e.onClick}).length:void 0}),e.label)})})]})})};function oD(e,t){for(var n=0,r=0;r<=t&&r<e.length;r++)if(e[r].onClick){if(r===t)return n;n++}return n}function oM(e){var t,n,r=(0,O.c)(4),o=e.children,a=o>0;return r[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,S.jsx)("span",{className:"dev-tools-indicator-issue-count-indicator"}),r[0]=t):t=r[0],r[1]!==o||r[2]!==a?(n=(0,S.jsxs)("span",{className:"dev-tools-indicator-issue-count","data-has-issues":a,children:[t,o]}),r[1]=o,r[2]=a,r[3]=n):n=r[3],n}function oZ(){var e,t=(0,O.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,S.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:(0,S.jsx)("path",{fill:"#666",fillRule:"evenodd",clipRule:"evenodd",d:"M5.50011 1.93945L6.03044 2.46978L10.8537 7.293C11.2442 7.68353 11.2442 8.31669 10.8537 8.70722L6.03044 13.5304L5.50011 14.0608L4.43945 13.0001L4.96978 12.4698L9.43945 8.00011L4.96978 3.53044L4.43945 3.00011L5.50011 1.93945Z"})}),t[0]=e):e=t[0],e}function oU(e){var t,n=e.index,r=e.menuRef,o=e.setSelectedIndex;if("first"===n)return void setTimeout(function(){var e,t=null==(e=r.current)?void 0:e.querySelectorAll('[role="menuitem"]');t&&oU({index:Number(t[0].getAttribute("data-index")),menuRef:r,setSelectedIndex:o})});if("last"===n)return void setTimeout(function(){var e,t=null==(e=r.current)?void 0:e.querySelectorAll('[role="menuitem"]');t&&oU({index:t.length-1,menuRef:r,setSelectedIndex:o})});var a=null==(t=r.current)?void 0:t.querySelector('[data-index="'.concat(n,'"]'));a&&(o(n),null==a||a.focus())}function oF(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var oH=(0,C.createContext)(null),oV=function(e){var t=.95*window.innerWidth,n=.95*window.innerHeight;return{width:Math.min(t,Math.max(e.minWidth,e.width)),height:Math.min(n,Math.max(e.minHeight,e.height))}},oB=function(e){var t,n,r,o,a,i,l,s,c,u,d,f,p,h,m=(0,O.c)(34),g=e.value,y=e.children,v=null!=(o=g.minWidth)?o:100,b=null!=(a=g.minHeight)?a:80,x=g.maxWidth,w=g.maxHeight,_=(t=(0,C.useState)(null),function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),2!==a.length);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(t,2)||function(e,t){if(e){if("string"==typeof e)return oF(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return oF(e,2)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),j=_[0],k=_[1],P=null!=(i=g.storageKey)?i:el,E=g.resizeRef;m[0]!==j||m[1]!==b||m[2]!==v||m[3]!==E||m[4]!==P||m[5]!==g.devToolsPanelSize?(l=function(){if(E.current&&null===j){var e=g.devToolsPanelSize[P];if(e){var t,n,r=oV((t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({},e),n=n={minWidth:null!=v?v:100,minHeight:null!=b?b:80},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t)),o=r.height,a=r.width;return E.current.style.width="".concat(a,"px"),E.current.style.height="".concat(o,"px"),!0}}},m[0]=j,m[1]=b,m[2]=v,m[3]=E,m[4]=P,m[5]=g.devToolsPanelSize,m[6]=l):l=m[6];var T=l;m[7]!==T||m[8]!==b||m[9]!==v||m[10]!==E||m[11]!==g.initialSize?(s=function(){var e;if(!T()&&E.current&&(null==(e=g.initialSize)?void 0:e.height)&&g.initialSize.width){var t=oV({height:g.initialSize.height,width:g.initialSize.width,minWidth:null!=v?v:100,minHeight:null!=b?b:80}),n=t.height,r=t.width;E.current.style.width="".concat(r,"px"),E.current.style.height="".concat(n,"px")}},m[7]=T,m[8]=b,m[9]=v,m[10]=E,m[11]=g.initialSize,m[12]=s):s=m[12];var N=(0,C.useEffectEvent)(s);m[13]!==N?(c=function(){N()},m[13]=N,m[14]=c):c=m[14],m[15]===Symbol.for("react.memo_cache_sentinel")?(u=[],m[15]=u):u=m[15],(0,C.useLayoutEffect)(c,u),m[16]!==T?(d=function(){return window.addEventListener("resize",T),function(){return window.removeEventListener("resize",T)}},m[16]=T,m[17]=d):d=m[17];var I=null==(n=g.initialSize)?void 0:n.height,L=null==(r=g.initialSize)?void 0:r.width;return m[18]!==T||m[19]!==I||m[20]!==L||m[21]!==g.resizeRef?(f=[T,I,L,g.resizeRef],m[18]=T,m[19]=I,m[20]=L,m[21]=g.resizeRef,m[22]=f):f=m[22],(0,C.useLayoutEffect)(d,f),m[23]!==j||m[24]!==w||m[25]!==x||m[26]!==b||m[27]!==v||m[28]!==P||m[29]!==g.resizeRef?(p={resizeRef:g.resizeRef,minWidth:v,minHeight:b,maxWidth:x,maxHeight:w,draggingDirection:j,setDraggingDirection:k,storageKey:P},m[23]=j,m[24]=w,m[25]=x,m[26]=b,m[27]=v,m[28]=P,m[29]=g.resizeRef,m[30]=p):p=m[30],m[31]!==y||m[32]!==p?(h=(0,S.jsx)(oH.Provider,{value:p,children:y}),m[31]=y,m[32]=p,m[33]=h):h=m[33],h},o$=function(){var e=(0,C.useContext)(oH);if(!e)throw Error("useResize must be used within a Resize provider");return e},oq=__webpack_require__("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/components/devtools-panel/resize/resize-handle.css"),oW={};function oK(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}oW.styleTagTransform=x(),oW.setAttributes=g(),oW.insert=h(),oW.domAPI=f(),oW.insertStyleElement=v(),u()(oq.A,oW),oq.A&&oq.A.locals&&oq.A.locals;var oY=function(e){var t,n,r,o,a,i,l,s,c,u=(0,O.c)(31),d=e.direction,f=e.position,p=o$(),h=p.resizeRef,m=p.minWidth,g=p.minHeight,y=p.maxWidth,v=p.maxHeight,b=p.storageKey,x=p.draggingDirection,w=p.setDraggingDirection;u[0]===Symbol.for("react.memo_cache_sentinel")?(n={top:0,right:0,bottom:0,left:0},u[0]=n):n=u[0];var _=(t=(0,C.useState)(n),function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),2!==a.length);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(t,2)||function(e,t){if(e){if("string"==typeof e)return oK(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return oK(e,2)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),j=_[0],k=_[1];u[1]!==h?(r=function(){if(h.current){var e=h.current,t=window.getComputedStyle(e);k({top:parseFloat(t.borderTopWidth)||0,right:parseFloat(t.borderRightWidth)||0,bottom:parseFloat(t.borderBottomWidth)||0,left:parseFloat(t.borderLeftWidth)||0})}},o=[h],u[1]=h,u[2]=r,u[3]=o):(r=u[2],o=u[3]),(0,C.useLayoutEffect)(r,o),u[4]!==d||u[5]!==v||u[6]!==y||u[7]!==g||u[8]!==m||u[9]!==h||u[10]!==w||u[11]!==b?(a=function(e){if(e.preventDefault(),h.current){w(d);var t=h.current,n=t.getBoundingClientRect(),r=e.clientX,o=e.clientY,a=function(e){var a=oX(d,e.clientX-r,e.clientY-o,n,m,g,y,v),i=a.newWidth,l=a.newHeight;void 0!==i&&(t.style.width="".concat(i,"px")),void 0!==l&&(t.style.height="".concat(l,"px"))},i=function(){if(w(null),document.removeEventListener("mousemove",a),document.removeEventListener("mouseup",i),h.current){var e,t,n,r=h.current.getBoundingClientRect(),o=r.width,l=r.height;rk({devToolsPanelSize:(e={},t=b,n={width:o,height:l},t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e)})}};document.addEventListener("mousemove",a),document.addEventListener("mouseup",i)}},u[4]=d,u[5]=v,u[6]=y,u[7]=g,u[8]=m,u[9]=h,u[10]=w,u[11]=b,u[12]=a):a=u[12];var P=a;if(!(!f.split("-").includes(d)&&(!d.includes("-")||d===oG(f))))return null;var E=j.left+j.right,T=j.top+j.bottom;u[13]!==d?(i=d.includes("-"),u[13]=d,u[14]=i):i=u[14];var N=i,I="resize-container ".concat(d," ").concat(x&&x!==d?"no-hover":"");return u[15]!==P||u[16]!==I?(l=(0,S.jsx)("div",{className:I,onMouseDown:P}),u[15]=P,u[16]=I,u[17]=l):l=u[17],u[18]!==j.bottom||u[19]!==j.left||u[20]!==j.right||u[21]!==j.top||u[22]!==d||u[23]!==x||u[24]!==N||u[25]!==E||u[26]!==T?(s=!N&&(0,S.jsx)("div",{className:"resize-line ".concat(d," ").concat(x===d?"dragging":""),style:{"--border-horizontal":"".concat(E,"px"),"--border-vertical":"".concat(T,"px"),"--border-top":"".concat(j.top,"px"),"--border-right":"".concat(j.right,"px"),"--border-bottom":"".concat(j.bottom,"px"),"--border-left":"".concat(j.left,"px")}}),u[18]=j.bottom,u[19]=j.left,u[20]=j.right,u[21]=j.top,u[22]=d,u[23]=x,u[24]=N,u[25]=E,u[26]=T,u[27]=s):s=u[27],u[28]!==l||u[29]!==s?(c=(0,S.jsxs)(S.Fragment,{children:[l,s]}),u[28]=l,u[29]=s,u[30]=c):c=u[30],c},oX=function(e,t,n,r,o,a,i,l){var s=null!=i?i:.95*window.innerWidth,c=null!=l?l:.95*window.innerHeight;switch(e){case"right":return{newWidth:Math.min(s,Math.max(o,r.width+t)),newHeight:r.height};case"left":return{newWidth:Math.min(s,Math.max(o,r.width-t)),newHeight:r.height};case"bottom":return{newWidth:r.width,newHeight:Math.min(c,Math.max(a,r.height+n))};case"top":return{newWidth:r.width,newHeight:Math.min(c,Math.max(a,r.height-n))};case"top-left":return{newWidth:Math.min(s,Math.max(o,r.width-t)),newHeight:Math.min(c,Math.max(a,r.height-n))};case"top-right":return{newWidth:Math.min(s,Math.max(o,r.width+t)),newHeight:Math.min(c,Math.max(a,r.height-n))};case"bottom-left":return{newWidth:Math.min(s,Math.max(o,r.width-t)),newHeight:Math.min(c,Math.max(a,r.height+n))};case"bottom-right":return{newWidth:Math.min(s,Math.max(o,r.width+t)),newHeight:Math.min(c,Math.max(a,r.height+n))};default:return null}};function oG(e){switch(e){case"top-left":return"bottom-right";case"top-right":return"bottom-left";case"bottom-left":return"top-right";case"bottom-right":return"top-left";default:return null}}var oQ=__webpack_require__("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/panel/dynamic-panel.css"),oJ={};function o0(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function o1(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o2(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){o1(e,t,n[t])})}return e}function o3(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return o0(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o0(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o4(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"width";if("number"==typeof e)return e;var n=document.createElement("div");n.style.position="absolute",n.style.visibility="hidden","width"===t?n.style.width=e:n.style.height=e,document.body.appendChild(n);var r="width"===t?n.offsetWidth:n.offsetHeight;return document.body.removeChild(n),r}function o5(e){var t,n,r,o,a,i,l,s,c,u,d,f,p,h,m,g=e.header,y=e.children,v=e.draggable,b=void 0!==v&&v,x=e.sizeConfig,w=void 0===x?{kind:"resizable",minWidth:400,minHeight:350,maxWidth:1e3,maxHeight:1e3,initialSize:{height:400,width:500}}:x,_=e.closeOnClickOutside,j=void 0!==_&&_,k=e.sharePanelSizeGlobally,P=e.sharePanelPositionGlobally,E=e.containerProps,T=r3().setPanel,N=u9(),I=N.name,L=N.mounted,A=void 0===k||k?el:"".concat(ei,"_").concat(I),z=void 0===P||P?es:"".concat(ea,"_").concat(I),R=dw(),D=R.dispatch,M=R.state,Z=null!=(h=M.devToolsPanelPosition[z])?h:M.devToolsPosition,U=o3(Z.split("-",2),2),F=U[0],H=U[1],V=(0,C.useRef)(null);ns(V,r3().triggerRef,L,function(e){switch(e){case"escape":return void T("panel-selector");case"outside":j&&T("panel-selector");return;default:return null}});var B=r4(M),$=o3(M.devToolsPosition.split("-",2),2),q=$[0],W=$[1],K=F===q&&H===W?B:oS,Y=(o1(m={},F,"".concat(K,"px")),o1(m,H,"".concat(oS,"px")),o1(m,"top"===F?"bottom":"top","auto"),o1(m,"left"===H?"right":"left","auto"),m),X="resizable"===w.kind,G=(t=X?w.minWidth:void 0,n=X?w.minHeight:void 0,r=X?w.maxWidth:void 0,o=X?w.maxHeight:void 0,(s=(0,O.c)(11))[0]!==o||s[1]!==r||s[2]!==n||s[3]!==t?(a=function(){return{minWidth:t?o4(t,"width"):void 0,minHeight:n?o4(n,"height"):void 0,maxWidth:r?o4(r,"width"):void 0,maxHeight:o?o4(o,"height"):void 0}},s[0]=o,s[1]=r,s[2]=n,s[3]=t,s[4]=a):a=s[4],u=(c=o3((0,C.useState)(a),2))[0],d=c[1],s[5]!==o||s[6]!==r||s[7]!==n||s[8]!==t?(i=function(){var e=function(){d({minWidth:t?o4(t,"width"):void 0,minHeight:n?o4(n,"height"):void 0,maxWidth:r?o4(r,"width"):void 0,maxHeight:o?o4(o,"height"):void 0})};return window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}},l=[t,n,r,o],s[5]=o,s[6]=r,s[7]=n,s[8]=t,s[9]=i,s[10]=l):(i=s[9],l=s[10]),(0,C.useEffect)(i,l),u),Q=G.minWidth,J=G.minHeight,ee=G.maxWidth,et=G.maxHeight,er=I?"".concat(ei,"_").concat(I):el,eo=M.devToolsPanelSize[er];return(0,S.jsx)(oB,{value:{resizeRef:V,initialSize:"resizable"===w.kind?w.initialSize:w,minWidth:Q,minHeight:J,maxWidth:ee,maxHeight:et,devToolsPosition:M.devToolsPosition,devToolsPanelSize:M.devToolsPanelSize,storageKey:A},children:(0,S.jsx)("div",{tabIndex:-1,ref:V,className:"dynamic-panel-container",style:o2({"--panel-top":Y.top,"--panel-bottom":Y.bottom,"--panel-left":Y.left,"--panel-right":Y.right},X?{"--panel-min-width":Q?"".concat(Q,"px"):void 0,"--panel-min-height":J?"".concat(J,"px"):void 0,"--panel-max-width":ee?"".concat(ee,"px"):void 0,"--panel-max-height":et?"".concat(et,"px"):void 0}:{"--panel-height":"".concat(eo?eo.height:w.height,"px"),"--panel-width":"".concat(eo?eo.width:w.width,"px")}),children:(0,S.jsx)(op,{disabled:!b,children:(0,S.jsx)(ox,{dragHandleSelector:".resize-container",avoidZone:{corner:M.devToolsPosition,square:25/M.scale,padding:oS},padding:oS,position:Z,setPosition:function(e){D({type:en,devToolsPanelPosition:e,key:z}),"resizable"===w.kind&&rk({devToolsPanelPosition:o1({},z,e)})},style:{overflow:"auto",width:"100%",height:"100%"},disableDrag:!b,children:(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)("div",(f=o2({},E),p=p={className:"panel-content-container ".concat((null==E?void 0:E.className)||""),style:o2({},null==E?void 0:E.style),children:[(0,S.jsx)(om,{children:g}),(0,S.jsx)("div",{"data-nextjs-scrollable-content":!0,className:"draggable-content",children:y})]},Object.getOwnPropertyDescriptors?Object.defineProperties(f,Object.getOwnPropertyDescriptors(p)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(p)).forEach(function(e){Object.defineProperty(f,e,Object.getOwnPropertyDescriptor(p,e))}),f)),X&&(0,S.jsxs)(S.Fragment,{children:[(!w.sides||w.sides.includes("vertical"))&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(oY,{position:Z,direction:"top"}),(0,S.jsx)(oY,{position:Z,direction:"bottom"})]}),(!w.sides||w.sides.includes("horizontal"))&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(oY,{position:Z,direction:"right"}),(0,S.jsx)(oY,{position:Z,direction:"left"})]}),(!w.sides||w.sides.includes("diagonal"))&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(oY,{position:Z,direction:"top-left"}),(0,S.jsx)(oY,{position:Z,direction:"top-right"}),(0,S.jsx)(oY,{position:Z,direction:"bottom-left"}),(0,S.jsx)(oY,{position:Z,direction:"bottom-right"})]})]})]})})})})})}function o6(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}function o9(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function o8(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function o7(e){var t,n,r,o,a,i,l=(0,O.c)(10);l[0]!==e?(t=o8(e,["routerType"]),n=e.routerType,l[0]=e,l[1]=t,l[2]=n):(t=l[1],n=l[2]),l[3]===Symbol.for("react.memo_cache_sentinel")?(r=(0,S.jsxs)("p",{className:"dev-tools-info-paragraph",children:["The path"," ",(0,S.jsx)("code",{className:"dev-tools-info-code",children:window.location.pathname})," ",'is marked as "static" since it will be prerendered during the build time.']}),l[3]=r):r=l[3];var s="pages"===n?"https://nextjs.org/docs/pages/building-your-application/data-fetching/incremental-static-regeneration":"https://nextjs.org/docs/app/building-your-application/data-fetching/incremental-static-regeneration";return l[4]!==s?(o=(0,S.jsxs)("p",{className:"dev-tools-info-paragraph",children:["With Static Rendering, routes are rendered at build time, or in the background after"," ",(0,S.jsx)("a",{className:"dev-tools-info-link",href:s,target:"_blank",rel:"noopener noreferrer",children:"data revalidation"}),"."]}),l[4]=s,l[5]=o):o=l[5],l[6]===Symbol.for("react.memo_cache_sentinel")?(a=(0,S.jsx)("p",{className:"dev-tools-info-paragraph",children:"Static rendering is useful when a route has data that is not personalized to the user and can be known at build time, such as a static blog post or a product page."}),l[6]=a):a=l[6],l[7]!==t||l[8]!==o?(i=(0,S.jsxs)("article",o9(o6({className:"dev-tools-info-article"},t),{children:[r,o,a]})),l[7]=t,l[8]=o,l[9]=i):i=l[9],i}function ae(e){var t,n,r,o,a,i,l,s=(0,O.c)(11);return s[0]!==e?(t=o8(e,["routerType"]),n=e.routerType,s[0]=e,s[1]=t,s[2]=n):(t=s[1],n=s[2]),s[3]===Symbol.for("react.memo_cache_sentinel")?(r=(0,S.jsx)("code",{className:"dev-tools-info-code",children:window.location.pathname}),s[3]=r):r=s[3],s[4]===Symbol.for("react.memo_cache_sentinel")?(o=(0,S.jsxs)("p",{className:"dev-tools-info-paragraph",children:["The path"," ",r," ",'is marked as "dynamic" since it will be rendered for each user at'," ",(0,S.jsx)("strong",{children:"request time"}),"."]}),a=(0,S.jsx)("p",{className:"dev-tools-info-paragraph",children:"Dynamic rendering is useful when a route has data that is personalized to the user or has information that can only be known at request time, such as cookies or the URL's search params."}),s[4]=o,s[5]=a):(o=s[4],a=s[5]),s[6]!==n?(i="pages"===n?(0,S.jsxs)("p",{className:"dev-tools-info-pagraph",children:["Exporting the"," ",(0,S.jsx)("a",{className:"dev-tools-info-link",href:"https://nextjs.org/docs/pages/building-your-application/data-fetching/get-server-side-props",target:"_blank",rel:"noopener noreferrer",children:"getServerSideProps"})," ","function will opt the route into dynamic rendering. This function will be called by the server on every request."]}):(0,S.jsxs)("p",{className:"dev-tools-info-paragraph",children:["During rendering, if a"," ",(0,S.jsx)("a",{className:"dev-tools-info-link",href:"https://nextjs.org/docs/app/building-your-application/rendering/server-components#dynamic-apis",target:"_blank",rel:"noopener noreferrer",children:"Dynamic API"})," ","or a"," ",(0,S.jsx)("a",{className:"dev-tools-info-link",href:"https://nextjs.org/docs/app/api-reference/functions/fetch",target:"_blank",rel:"noopener noreferrer",children:"fetch"})," ","option of"," ",(0,S.jsx)("code",{className:"dev-tools-info-code",children:"{ cache: 'no-store' }"})," ","is discovered, Next.js will switch to dynamically rendering the whole route."]}),s[6]=n,s[7]=i):i=s[7],s[8]!==t||s[9]!==i?(l=(0,S.jsxs)("article",o9(o6({className:"dev-tools-info-article"},t),{children:[o,a,i]})),s[8]=t,s[9]=i,s[10]=l):l=s[10],l}oJ.styleTagTransform=x(),oJ.setAttributes=g(),oJ.insert=h(),oJ.domAPI=f(),oJ.insertStyleElement=v(),u()(oQ.A,oJ),oQ.A&&oQ.A.locals&&oQ.A.locals;var at={pages:{static:"https://nextjs.org/docs/pages/building-your-application/rendering/static-site-generation",dynamic:"https://nextjs.org/docs/pages/building-your-application/rendering/server-side-rendering"},app:{static:"https://nextjs.org/docs/app/building-your-application/rendering/server-components#static-rendering-default",dynamic:"https://nextjs.org/docs/app/building-your-application/rendering/server-components#dynamic-rendering"}};function an(e){var t,n,r,o,a=(0,O.c)(8);return a[0]!==e?(n=o8(e,["routerType","isStaticRoute"]),r=e.routerType,t=e.isStaticRoute,a[0]=e,a[1]=t,a[2]=n,a[3]=r):(t=a[1],n=a[2],r=a[3]),a[4]!==t||a[5]!==n||a[6]!==r?(o=t?(0,S.jsx)(o7,o6({routerType:r},n)):(0,S.jsx)(ae,o6({routerType:r},n)),a[4]=t,a[5]=n,a[6]=r,a[7]=o):o=a[7],o}var ar=__webpack_require__("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/components/overview/segment-explorer.css"),ao={};function aa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}ao.styleTagTransform=x(),ao.setAttributes=g(),ao.insert=h(),ao.domAPI=f(),ao.insertStyleElement=v(),u()(ar.A,ao),ar.A&&ar.A.locals&&ar.A.locals;var ai=new Set,al=function(e){return ai.add(e),function(){return ai.delete(e)}},as=function(){return au.getRoot()},ac=function(){return au.getRoot()},au=function(e){var t=e.getCharacters,n=void 0===t?function(e){return[e]}:t,r=e.compare,o=void 0===r?function(e,t){return e===t}:r,a={value:void 0,children:{}};function i(){var e=!0,t=!1,n=void 0;try{for(var r,o=ai[Symbol.iterator]();!(e=(r=o.next()).done);e=!0)(0,r.value)()}catch(e){t=!0,n=e}finally{try{e||null==o.return||o.return()}finally{if(t)throw n}}}return{insert:function(e){var t=a,r=n(e),o=!0,l=!1,s=void 0;try{for(var c,u=r[Symbol.iterator]();!(o=(c=u.next()).done);o=!0){var d=c.value;t.children[d]||(t.children[d]={value:void 0,children:{}}),t=t.children[d]}}catch(e){l=!0,s=e}finally{try{o||null==u.return||u.return()}finally{if(l)throw s}}t.value=e,a=aa({},a),i()},remove:function(e){var t=a,r=n(e),l=[],s=!0,c=!0,u=!1,d=void 0;try{for(var f,p=r[Symbol.iterator]();!(c=(f=p.next()).done);c=!0){var h=f.value;if(!t.children[h]){s=!1;break}l.push(t),t=t.children[h]}}catch(e){u=!0,d=e}finally{try{c||null==p.return||p.return()}finally{if(u)throw d}}if(s&&o(t.value,e)){t.value=void 0;for(var m=l.length-1;m>=0;m--){var g=l[m],y=r[m];0===Object.keys(g.children[y].children).length&&delete g.children[y]}a=aa({},a),i()}},getRoot:function(){return a}}}({compare:function(e,t){return!!e&&!!t&&e.pagePath===t.pagePath&&e.type===t.type&&e.boundaryType===t.boundaryType},getCharacters:function(e){return e.pagePath.split("/")}}),ad=au.insert,af=au.remove,ap=au.getRoot,ah=__webpack_require__("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/components/overview/segment-boundary-trigger.css"),am={};am.styleTagTransform=x(),am.setAttributes=g(),am.insert=h(),am.domAPI=f(),am.insertStyleElement=v(),u()(ah.A,am),ah.A&&ah.A.locals&&ah.A.locals;let ag={};function ay(e,t){let n=C.useRef(ag);return n.current===ag&&(n.current=e(t)),n}let av=[];function ab(e){C.useEffect(e,av)}class ax{static create(){return new ax}currentId=0;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=0,t()},e)}isStarted(){return 0!==this.currentId}clear=()=>{0!==this.currentId&&(clearTimeout(this.currentId),this.currentId=0)};disposeEffect=()=>this.clear}function aw(){let e=ay(ax.create).current;return ab(e.disposeEffect),e}let a_=P[`useInsertionEffect${Math.random().toFixed(1)}`.slice(0,-3)],aj=a_&&a_!==C.useLayoutEffect?a_:e=>e();function ak(e){let t=ay(aS).current;return t.next=e,aj(t.effect),t.trampoline}function aS(){let e={next:void 0,callback:aO,trampoline:(...t)=>e.callback?.(...t),effect:()=>{e.callback=e.next}};return e}function aO(){}function aC({controlled:e,default:t,name:n,state:r="value"}){let{current:o}=C.useRef(void 0!==e),[a,i]=C.useState(t),l=C.useCallback(e=>{o||i(e)},[]);return[o?e:a,l]}let aP={...P},aE=0,aT=aP.useId;function aN(e,t){if(void 0!==aT){let n=aT();return e??(t?`${t}-${n}`:n)}return function(e,t="mui"){let[n,r]=C.useState(e),o=e||n;return C.useEffect(()=>{null==n&&(aE+=1,r(`${t}-${aE}`))},[n,t]),o}(e,t)}function aI(){let e=new Map;return{emit(t,n){e.get(t)?.forEach(e=>e(n))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){e.get(t)?.delete(n)}}}let aL="undefined"!=typeof document?C.useLayoutEffect:()=>{},aA=C.createContext(null),az=C.createContext(null),aR=()=>P.useContext(aA)?.id||null;function aD(e){let{children:t,id:n}=e,r=aR();return(0,S.jsx)(aA.Provider,{value:C.useMemo(()=>({id:n,parentId:r}),[n,r]),children:t})}function aM(e){let{children:t}=e,n=C.useRef([]),r=C.useCallback(e=>{n.current=[...n.current,e]},[]),o=C.useCallback(e=>{n.current=n.current.filter(t=>t!==e)},[]),[a]=C.useState(()=>aI());return(0,S.jsx)(az.Provider,{value:C.useMemo(()=>({nodesRef:n,addNode:r,removeNode:o,events:a}),[r,o,a]),children:t})}function aZ(e){let{open:t=!1,onOpenChange:n,elements:r}=e,o=aN(),a=C.useRef({}),[i]=C.useState(()=>aI()),l=null!=aR(),[s,c]=C.useState(r.reference),u=ak((e,t,r)=>{a.current.openEvent=e?t:void 0,i.emit("openchange",{open:e,event:t,reason:r,nested:l}),n?.(e,t,r)}),d=C.useMemo(()=>({setPositionReference:c}),[]),f=C.useMemo(()=>({reference:s||r.reference||null,floating:r.floating||null,domReference:r.reference}),[s,r.reference,r.floating]);return C.useMemo(()=>({dataRef:a,open:t,onOpenChange:u,elements:f,events:i,floatingId:o,refs:d}),[t,u,f,i,o,d])}function aU(){return"undefined"!=typeof window}function aF(e){return aB(e)?(e.nodeName||"").toLowerCase():"#document"}function aH(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function aV(e){var t;return null==(t=(aB(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function aB(e){return!!aU()&&(e instanceof Node||e instanceof aH(e).Node)}function a$(e){return!!aU()&&(e instanceof Element||e instanceof aH(e).Element)}function aq(e){return!!aU()&&(e instanceof HTMLElement||e instanceof aH(e).HTMLElement)}function aW(e){return!!aU()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof aH(e).ShadowRoot)}let aK=new Set(["inline","contents"]);function aY(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=a6(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!aK.has(o)}let aX=new Set(["table","td","th"]),aG=[":popover-open",":modal"];function aQ(e){return aG.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let aJ=["transform","translate","scale","rotate","perspective"],a0=["transform","translate","scale","rotate","perspective","filter"],a1=["paint","layout","strict","content"];function a2(e){let t=a3(),n=a$(e)?a6(e):e;return aJ.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||a0.some(e=>(n.willChange||"").includes(e))||a1.some(e=>(n.contain||"").includes(e))}function a3(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let a4=new Set(["html","body","#document"]);function a5(e){return a4.has(aF(e))}function a6(e){return aH(e).getComputedStyle(e)}function a9(e){return a$(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function a8(e){if("html"===aF(e))return e;let t=e.assignedSlot||e.parentNode||aW(e)&&e.host||aV(e);return aW(t)?t.host:t}function a7(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let o=function e(t){let n=a8(t);return a5(n)?t.ownerDocument?t.ownerDocument.body:t.body:aq(n)&&aY(n)?n:e(n)}(e),a=o===(null==(r=e.ownerDocument)?void 0:r.body),i=aH(o);if(a){let e=ie(i);return t.concat(i,i.visualViewport||[],aY(o)?o:[],e&&n?a7(e):[])}return t.concat(o,a7(o,[],n))}function ie(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function it(e){let t=ay(ir,e).current;return t.next=e,aL(t.effect),t}function ir(e){let t={current:e,next:e,effect:()=>{t.current=t.next}};return t}let io="undefined"!=typeof navigator,ia=function(){if(!io)return{platform:"",maxTouchPoints:-1};let e=navigator.userAgentData;return e?.platform?{platform:e.platform,maxTouchPoints:navigator.maxTouchPoints}:{platform:navigator.platform??"",maxTouchPoints:navigator.maxTouchPoints??-1}}(),ii=function(){if(!io)return"";let e=navigator.userAgentData;return e?.platform?e.platform:navigator.platform??""}(),il=function(){if(!io)return"";let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(({brand:e,version:t})=>`${e}/${t}`).join(" "):navigator.userAgent}(),is="undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter:none"),ic="MacIntel"===ia.platform&&ia.maxTouchPoints>1||/iP(hone|ad|od)|iOS/.test(ia.platform);io&&/firefox/i.test(il);let iu=io&&/apple/i.test(navigator.vendor),id=io&&/android/i.test(ii)||/android/i.test(il),ip=io&&ii.toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints,ih=il.includes("jsdom/");function im(e){e.preventDefault(),e.stopPropagation()}function ig(e){return 0===e.mozInputSource&&!!e.isTrusted||(id&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function iy(e){return!ih&&(!id&&0===e.width&&0===e.height||id&&1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType||e.width<1&&e.height<1&&0===e.pressure&&0===e.detail&&"touch"===e.pointerType)}function iv(e,t){let n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}let ib="data-base-ui-focusable",ix="active",iw="selected",i_="ArrowLeft",ij="ArrowRight",ik="ArrowUp",iS="ArrowDown";function iO(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}function iC(e,t){if(!e||!t)return!1;let n=t.getRootNode?.();if(e.contains(t))return!0;if(n&&aW(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function iP(e){return"composedPath"in e?e.composedPath()[0]:e.target}function iE(e,t){return null!=t&&("composedPath"in e?e.composedPath().includes(t):null!=e.target&&t.contains(e.target))}function iT(e){return e?.ownerDocument||document}function iN(e){return aq(e)&&e.matches("input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])")}function iI(e){return!!e&&"combobox"===e.getAttribute("role")&&iN(e)}function iL(e){return e?e.hasAttribute(ib)?e:e.querySelector(`[${ib}]`)||e:null}function iA(e){return`data-base-ui-${e}`}let iz=iA("safe-polygon");function iR(e,t,n){if(n&&!iv(n))return 0;if("number"==typeof e)return e;if("function"==typeof e){let n=e();return"number"==typeof n?n:n?.[t]}return e?.[t]}function iD(e){return"function"==typeof e?e():e}function iM(e,t={}){let{open:n,onOpenChange:r,dataRef:o,events:a,elements:i}=e,{enabled:l=!0,delay:s=0,handleClose:c=null,mouseOnly:u=!1,restMs:d=0,move:f=!0}=t,p=C.useContext(az),h=aR(),m=it(c),g=it(s),y=it(n),v=it(d),b=C.useRef(void 0),x=aw(),w=C.useRef(void 0),_=aw(),j=C.useRef(!0),k=C.useRef(!1),S=C.useRef(()=>{}),O=C.useRef(!1),P=ak(()=>{let e=o.current.openEvent?.type;return e?.includes("mouse")&&"mousedown"!==e});C.useEffect(()=>{if(l)return a.on("openchange",e),()=>{a.off("openchange",e)};function e({open:e}){e||(x.clear(),_.clear(),j.current=!0,O.current=!1)}},[l,a,x,_]),C.useEffect(()=>{if(!l||!m.current||!n)return;function e(e){P()&&r(!1,e,"hover")}let t=iT(i.floating).documentElement;return t.addEventListener("mouseleave",e),()=>{t.removeEventListener("mouseleave",e)}},[i.floating,n,r,l,m,P]);let E=C.useCallback((e,t=!0,n="hover")=>{let o=iR(g.current,"close",b.current);o&&!w.current?x.start(o,()=>r(!1,e,n)):t&&(x.clear(),r(!1,e,n))},[g,r,x]),T=ak(()=>{S.current(),w.current=void 0}),N=ak(()=>{if(k.current){let e=iT(i.floating).body;e.style.pointerEvents="",e.removeAttribute(iz),k.current=!1}}),I=ak(()=>!!o.current.openEvent&&["click","mousedown"].includes(o.current.openEvent.type));C.useEffect(()=>{if(l&&a$(i.domReference)){let r=i.domReference,o=i.floating;return n&&r.addEventListener("mouseleave",a),f&&r.addEventListener("mousemove",e,{once:!0}),r.addEventListener("mouseenter",e),r.addEventListener("mouseleave",t),o&&(o.addEventListener("mouseleave",a),o.addEventListener("mouseenter",s),o.addEventListener("mouseleave",c)),()=>{n&&r.removeEventListener("mouseleave",a),f&&r.removeEventListener("mousemove",e),r.removeEventListener("mouseenter",e),r.removeEventListener("mouseleave",t),o&&(o.removeEventListener("mouseleave",a),o.removeEventListener("mouseenter",s),o.removeEventListener("mouseleave",c))}}function e(e){if(x.clear(),j.current=!1,u&&!iv(b.current)||iD(v.current)>0&&!iR(g.current,"open"))return;let t=iR(g.current,"open",b.current);t?x.start(t,()=>{y.current||r(!0,e,"hover")}):n||r(!0,e,"hover")}function t(e){if(I())return void N();S.current();let t=iT(i.floating);if(_.clear(),O.current=!1,m.current&&o.current.floatingContext){n||x.clear(),w.current=m.current({...o.current.floatingContext,tree:p,x:e.clientX,y:e.clientY,onClose(){N(),T(),I()||E(e,!0,"safe-polygon")}});let r=w.current;t.addEventListener("mousemove",r),S.current=()=>{t.removeEventListener("mousemove",r)};return}"touch"===b.current&&iC(i.floating,e.relatedTarget)||E(e)}function a(e){I()||o.current.floatingContext&&m.current?.({...o.current.floatingContext,tree:p,x:e.clientX,y:e.clientY,onClose(){N(),T(),I()||E(e)}})(e)}function s(){x.clear()}function c(e){I()||E(e,!1)}},[i,l,e,u,f,E,T,N,r,n,y,p,g,m,o,I,v,x,_]),aL(()=>{if(l&&n&&m.current?.__options?.blockPointerEvents&&P()){k.current=!0;let e=i.floating;if(a$(i.domReference)&&e){let t=iT(i.floating).body;t.setAttribute(iz,"");let n=i.domReference,r=p?.nodesRef.current.find(e=>e.id===h)?.context?.elements.floating;return r&&(r.style.pointerEvents=""),t.style.pointerEvents="none",n.style.pointerEvents="auto",e.style.pointerEvents="auto",()=>{t.style.pointerEvents="",n.style.pointerEvents="",e.style.pointerEvents=""}}}},[l,n,h,i,p,m,P]),aL(()=>{n||(b.current=void 0,O.current=!1,T(),N())},[n,T,N]),C.useEffect(()=>()=>{T(),x.clear(),_.clear(),N()},[l,i.domReference,T,N,x,_]);let L=C.useMemo(()=>{function e(e){b.current=e.pointerType}return{onPointerDown:e,onPointerEnter:e,onMouseMove(e){let{nativeEvent:t}=e;function o(){j.current||y.current||r(!0,t,"hover")}u&&!iv(b.current)||n||0===iD(v.current)||O.current&&e.movementX**2+e.movementY**2<2||(_.clear(),"touch"===b.current?o():(O.current=!0,_.start(iD(v.current),o)))}}},[u,r,n,y,v,_]);return C.useMemo(()=>l?{reference:L}:{},[l,L])}function iZ(e,t,n=!0){return e.filter(e=>e.parentId===t&&(!n||e.context?.open)).flatMap(t=>[t,...iZ(e,t.id,n)])}function iU(e,t){let n=[],r=e.find(e=>e.id===t)?.parentId;for(;r;){let t=e.find(e=>e.id===r);r=t?.parentId,t&&(n=n.concat(t))}return n}function iF(e,t){let[n,r]=e,o=!1,a=t.length;for(let e=0,i=a-1;e<a;i=e++){let[a,l]=t[e]||[0,0],[s,c]=t[i]||[0,0];l>=r!=c>=r&&n<=(s-a)*(r-l)/(c-l)+a&&(o=!o)}return o}function iH(e={}){let{buffer:t=.5,blockPointerEvents:n=!1,requireIntent:r=!0}=e,o=new ax,a=!1,i=null,l=null,s="undefined"!=typeof performance?performance.now():0,c=({x:e,y:n,placement:c,elements:u,onClose:d,nodeId:f,tree:p})=>function(h){var m,g;function y(){o.clear(),d()}if(o.clear(),!u.domReference||!u.floating||null==c||null==e||null==n)return;let{clientX:v,clientY:b}=h,x=[v,b],w=iP(h),_="mouseleave"===h.type,j=iC(u.floating,w),k=iC(u.domReference,w),S=u.domReference.getBoundingClientRect(),O=u.floating.getBoundingClientRect(),C=c.split("-")[0],P=e>O.right-O.width/2,E=n>O.bottom-O.height/2,T=(m=x,g=S,m[0]>=g.x&&m[0]<=g.x+g.width&&m[1]>=g.y&&m[1]<=g.y+g.height),N=O.width>S.width,I=O.height>S.height,L=(N?S:O).left,A=(N?S:O).right,z=(I?S:O).top,R=(I?S:O).bottom;if(j&&(a=!0,!_))return;if(k&&(a=!1),k&&!_){a=!0;return}if(_&&a$(h.relatedTarget)&&iC(u.floating,h.relatedTarget)||p&&iZ(p.nodesRef.current,f).some(({context:e})=>e?.open))return;if("top"===C&&n>=S.bottom-1||"bottom"===C&&n<=S.top+1||"left"===C&&e>=S.right-1||"right"===C&&e<=S.left+1)return y();let D=[];switch(C){case"top":D=[[L,S.top+1],[L,O.bottom-1],[A,O.bottom-1],[A,S.top+1]];break;case"bottom":D=[[L,O.top+1],[L,S.bottom-1],[A,S.bottom-1],[A,O.top+1]];break;case"left":D=[[O.right-1,R],[O.right-1,z],[S.left+1,z],[S.left+1,R]];break;case"right":D=[[S.right-1,R],[S.right-1,z],[O.left+1,z],[O.left+1,R]]}if(!iF([v,b],D)){if(a&&!T)return y();if(!_&&r){let e=function(e,t){let n=performance.now(),r=n-s;if(null===i||null===l||0===r)return i=e,l=t,s=n,null;let o=e-i,a=t-l,c=Math.sqrt(o*o+a*a);return i=e,l=t,s=n,c/r}(h.clientX,h.clientY);if(null!==e&&e<.1)return y()}iF([v,b],function([e,n]){switch(C){case"top":{let r=[[O.left,P||N?O.bottom-t:O.top],[O.right,P?N?O.bottom-t:O.top:O.bottom-t]];return[[N?e+t/2:P?e+4*t:e-4*t,n+t+1],[N?e-t/2:P?e+4*t:e-4*t,n+t+1],...r]}case"bottom":{let r=[[O.left,P||N?O.top+t:O.bottom],[O.right,P?N?O.top+t:O.bottom:O.top+t]];return[[N?e+t/2:P?e+4*t:e-4*t,n-t],[N?e-t/2:P?e+4*t:e-4*t,n-t],...r]}case"left":return[[E||I?O.right-t:O.left,O.top],[E?I?O.right-t:O.left:O.right-t,O.bottom],[e+t+1,I?n+t/2:E?n+4*t:n-4*t],[e+t+1,I?n-t/2:E?n+4*t:n-4*t]];case"right":{let r=[[E||I?O.left+t:O.right,O.top],[E?I?O.left+t:O.right:O.left+t,O.bottom]];return[[e-t,I?n+t/2:E?n+4*t:n-4*t],[e-t,I?n-t/2:E?n+4*t:n-4*t],...r]}default:return[]}}([e,n]))?!a&&r&&o.start(40,y):y()}};return c.__options={blockPointerEvents:n},c}let iV=ip&&iu;function iB(e,t={}){let{open:n,onOpenChange:r,events:o,dataRef:a,elements:i}=e,{enabled:l=!0,visibleOnly:s=!0}=t,c=C.useRef(!1),u=aw(),d=C.useRef(!0);C.useEffect(()=>{if(!l)return;let e=aH(i.domReference);function t(){!n&&aq(i.domReference)&&i.domReference===iO(iT(i.domReference))&&(c.current=!0)}function r(){d.current=!0}function o(){d.current=!1}return e.addEventListener("blur",t),iV&&(e.addEventListener("keydown",r,!0),e.addEventListener("pointerdown",o,!0)),()=>{e.removeEventListener("blur",t),iV&&(e.removeEventListener("keydown",r,!0),e.removeEventListener("pointerdown",o,!0))}},[i.domReference,n,l]),C.useEffect(()=>{if(l)return o.on("openchange",e),()=>{o.off("openchange",e)};function e({reason:e}){("reference-press"===e||"escape-key"===e)&&(c.current=!0)}},[o,l]);let f=C.useMemo(()=>({onMouseLeave(){c.current=!1},onFocus(e){if(c.current)return;let t=iP(e.nativeEvent);if(s&&a$(t)){if(iV&&!e.relatedTarget){if(!d.current&&!iN(t))return}else if(!function(e){if(!e||ih)return!0;try{return e.matches(":focus-visible")}catch(e){return!0}}(t))return}r(!0,e.nativeEvent,"focus")},onBlur(e){c.current=!1;let t=e.relatedTarget,n=e.nativeEvent,o=a$(t)&&t.hasAttribute(iA("focus-guard"))&&"outside"===t.getAttribute("data-type");u.start(0,()=>{let e=iO(i.domReference?i.domReference.ownerDocument:document);!t&&e===i.domReference||iC(a.current.floatingContext?.refs.floating.current,e)||iC(i.domReference,e)||o||r(!1,n,"focus")})}}),[a,i.domReference,r,s,u]);return C.useMemo(()=>l?{reference:f}:{},[l,f])}let i$=new class{callbacks=[];callbacksCount=0;nextId=1;startId=1;isScheduled=!1;tick=e=>{this.isScheduled=!1;let t=this.callbacks,n=this.callbacksCount;if(this.callbacks=[],this.callbacksCount=0,this.startId=this.nextId,n>0)for(let n=0;n<t.length;n+=1)t[n]?.(e)};request(e){let t=this.nextId;return this.nextId+=1,this.callbacks.push(e),this.callbacksCount+=1,this.isScheduled||(requestAnimationFrame(this.tick),this.isScheduled=!0),t}cancel(e){let t=e-this.startId;t<0||t>=this.callbacks.length||(this.callbacks[t]=null,this.callbacksCount-=1)}};class iq{static create(){return new iq}static request(e){return i$.request(e)}static cancel(e){return i$.cancel(e)}currentId=null;request(e){this.cancel(),this.currentId=i$.request(()=>{this.currentId=null,e()})}cancel=()=>{null!==this.currentId&&(i$.cancel(this.currentId),this.currentId=null)};disposeEffect=()=>this.cancel}function iW(){let e=ay(iq.create).current;return ab(e.disposeEffect),e}let iK={style:{transition:"none"}},iY={},iX=[],iG={fallbackAxisSide:"none"},iQ={fallbackAxisSide:"end"},iJ={intentional:"onClick",sloppy:"onPointerDown"};function i0(e){return{escapeKey:"boolean"==typeof e?e:e?.escapeKey??!1,outsidePress:"boolean"==typeof e?e:e?.outsidePress??!0}}function i1(e,t={}){let{open:n,onOpenChange:r,elements:o,dataRef:a}=e,{enabled:i=!0,escapeKey:l=!0,outsidePress:s=!0,outsidePressEvent:c="sloppy",referencePress:u=!1,referencePressEvent:d="sloppy",ancestorScroll:f=!1,bubbles:p,capture:h}=t,m=C.useContext(az),g=ak("function"==typeof s?s:()=>!1),y="function"==typeof s?g:s,v=C.useRef(!1),{escapeKey:b,outsidePress:x}=i0(p),{escapeKey:w,outsidePress:_}=i0(h),j=C.useRef(null),k=aw(),S=aw(),O=C.useRef(!1),P=C.useRef(""),E=ak(e=>{P.current=e.pointerType}),T=ak(()=>{let e=P.current;return"string"==typeof c?c:c["pen"!==e&&e?e:"mouse"]}),N=ak(e=>{if(!n||!i||!l||"Escape"!==e.key||O.current)return;let t=a.current.floatingContext?.nodeId,o=m?iZ(m.nodesRef.current,t):[];if(!b&&(e.stopPropagation(),o.length>0)){let e=!0;if(o.forEach(t=>{t.context?.open&&!t.context.dataRef.current.__escapeKeyBubbles&&(e=!1)}),!e)return}r(!1,"nativeEvent"in e?e.nativeEvent:e,"escape-key")}),I=ak(e=>{let t=T();return"intentional"===t&&"click"!==e.type||"sloppy"===t&&"click"===e.type}),L=ak(e=>{let t=()=>{N(e),iP(e)?.removeEventListener("keydown",t)};iP(e)?.addEventListener("keydown",t)}),A=ak(e=>{if(I(e))return;let t=a.current.insideReactTree;a.current.insideReactTree=!1;let n=v.current;if(v.current=!1,"intentional"===T()&&n||t||"function"==typeof y&&!y(e))return;let i=iP(e),l=`[${iA("inert")}]`,s=iT(o.floating).querySelectorAll(l),c=a$(i)?i:null;for(;c&&!a5(c);){let e=a8(c);if(a5(e)||!a$(e))break;c=e}if(s.length&&a$(i)&&!i.matches("html,body")&&!iC(i,o.floating)&&Array.from(s).every(e=>!iC(c,e)))return;if(aq(i)){let t=a5(i),n=a6(i),r=/auto|scroll/,o=t||r.test(n.overflowX),a=t||r.test(n.overflowY),l=o&&i.clientWidth>0&&i.scrollWidth>i.clientWidth,s=a&&i.clientHeight>0&&i.scrollHeight>i.clientHeight,c="rtl"===n.direction,u=s&&(c?e.offsetX<=i.offsetWidth-i.clientWidth:e.offsetX>i.clientWidth),d=l&&e.offsetY>i.clientHeight;if(u||d)return}let u=a.current.floatingContext?.nodeId,d=m&&iZ(m.nodesRef.current,u).some(t=>iE(e,t.context?.elements.floating));if(iE(e,o.floating)||iE(e,o.domReference)||d)return;let f=m?iZ(m.nodesRef.current,u):[];if(f.length>0){let e=!0;if(f.forEach(t=>{t.context?.open&&!t.context.dataRef.current.__outsidePressBubbles&&(e=!1)}),!e)return}r(!1,e,"outside-press")}),z=ak(e=>{if(!("sloppy"!==T()||!n||!i||iE(e,o.floating)||iE(e,o.domReference))){if("touch"===e.pointerType){j.current={startTime:Date.now(),startX:e.clientX,startY:e.clientY,dismissOnPointerUp:!1,dismissOnMouseDown:!0},k.start(1e3,()=>{j.current&&(j.current.dismissOnPointerUp=!1,j.current.dismissOnMouseDown=!1)});return}A(e)}}),R=ak(e=>{if(I(e)||(k.clear(),"mousedown"===e.type&&j.current&&!j.current.dismissOnMouseDown))return;let t=()=>{"pointerdown"===e.type?z(e):A(e),iP(e)?.removeEventListener(e.type,t)};iP(e)?.addEventListener(e.type,t)}),D=ak(e=>{if("sloppy"!==T()||"touch"!==e.pointerType||!j.current||iE(e,o.floating)||iE(e,o.domReference))return;let t=Math.abs(e.clientX-j.current.startX),n=Math.abs(e.clientY-j.current.startY),r=Math.sqrt(t*t+n*n);r>5&&(j.current.dismissOnPointerUp=!0),r>10&&(A(e),k.clear(),j.current=null)}),M=ak(e=>{"sloppy"!==T()||"touch"!==e.pointerType||!j.current||iE(e,o.floating)||iE(e,o.domReference)||(j.current.dismissOnPointerUp&&A(e),k.clear(),j.current=null)});C.useEffect(()=>{if(!n||!i)return;a.current.__escapeKeyBubbles=b,a.current.__outsidePressBubbles=x;let e=new ax;function t(e){r(!1,e,"ancestor-scroll")}function s(){e.clear(),O.current=!0}function c(){e.start(5*!!a3(),()=>{O.current=!1})}let u=iT(o.floating);u.addEventListener("pointerdown",E,!0),l&&(u.addEventListener("keydown",w?L:N,w),u.addEventListener("compositionstart",s),u.addEventListener("compositionend",c)),y&&(u.addEventListener("click",_?R:A,_),u.addEventListener("pointerdown",_?R:A,_),u.addEventListener("pointermove",D,_),u.addEventListener("pointerup",M,_),u.addEventListener("mousedown",R,_));let d=[];return f&&(a$(o.domReference)&&(d=a7(o.domReference)),a$(o.floating)&&(d=d.concat(a7(o.floating))),!a$(o.reference)&&o.reference&&o.reference.contextElement&&(d=d.concat(a7(o.reference.contextElement)))),(d=d.filter(e=>e!==u.defaultView?.visualViewport)).forEach(e=>{e.addEventListener("scroll",t,{passive:!0})}),()=>{u.removeEventListener("pointerdown",E,!0),l&&(u.removeEventListener("keydown",w?L:N,w),u.removeEventListener("compositionstart",s),u.removeEventListener("compositionend",c)),y&&(u.removeEventListener("click",_?R:A,_),u.removeEventListener("pointerdown",_?R:A,_),u.removeEventListener("pointermove",D,_),u.removeEventListener("pointerup",M,_),u.removeEventListener("mousedown",R,_)),d.forEach(e=>{e.removeEventListener("scroll",t)}),e.clear()}},[a,o,l,y,c,n,r,f,i,b,x,N,w,L,A,_,R,z,D,M,E]),C.useEffect(()=>{a.current.insideReactTree=!1},[a,y]);let Z=C.useMemo(()=>({onKeyDown:N,...u&&{[iJ[d]]:e=>{r(!1,e.nativeEvent,"reference-press")},..."intentional"!==d&&{onClick(e){r(!1,e.nativeEvent,"reference-press")}}}}),[N,r,u,d]),U=ak(e=>{let t=iP(e.nativeEvent);iC(o.floating,t)&&(v.current=!0)}),F=ak(()=>{a.current.insideReactTree=!0,S.start(0,()=>{a.current.insideReactTree=!1})}),H=C.useMemo(()=>({onKeyDown:N,onMouseDown:U,onMouseUp:U,onPointerDownCapture:F,onMouseDownCapture:F,onClickCapture:F}),[N,U,F]);return C.useMemo(()=>i?{reference:Z,floating:H}:{},[i,Z,H])}let i2=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]),i3=["top","right","bottom","left"],i4=Math.min,i5=Math.max,i6=Math.round,i9=Math.floor,i8=e=>({x:e,y:e}),i7={left:"right",right:"left",bottom:"top",top:"bottom"},le={start:"end",end:"start"};function lt(e,t){return"function"==typeof e?e(t):e}function ln(e){return e.split("-")[0]}function lr(e){return e.split("-")[1]}function lo(e){return"x"===e?"y":"x"}function la(e){return"y"===e?"height":"width"}let li=new Set(["top","bottom"]);function ll(e){return li.has(ln(e))?"y":"x"}function ls(e){return e.replace(/start|end/g,e=>le[e])}let lc=["left","right"],lu=["right","left"],ld=["top","bottom"],lf=["bottom","top"];function lp(e){return e.replace(/left|right|bottom|top/g,e=>i7[e])}function lh(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function lm(e){let{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function lg(e,t,n){return Math.floor(e/t)!==n}function ly(e,t){return t<0||t>=e.current.length}function lv(e,t){return lx(e,{disabledIndices:t})}function lb(e,t){return lx(e,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function lx(e,{startingIndex:t=-1,decrement:n=!1,disabledIndices:r,amount:o=1}={}){let a=t;do a+=n?-o:o;while(a>=0&&a<=e.current.length-1&&lw(e,a,r));return a}function lw(e,t,n){if("function"==typeof n)return n(t);if(n)return n.includes(t);let r=e.current[t];return null==r||r.hasAttribute("disabled")||"true"===r.getAttribute("aria-disabled")}let l_=0;function lj(e,t={}){let{preventScroll:n=!1,cancelPrevious:r=!0,sync:o=!1}=t;r&&cancelAnimationFrame(l_);let a=()=>e?.focus({preventScroll:n});o?a():l_=requestAnimationFrame(a)}function lk(e,t,n){switch(e){case"vertical":return t;case"horizontal":return n;default:return t||n}}function lS(e,t){return lk(t,e===ik||e===iS,e===i_||e===ij)}function lO(e,t,n){return lk(t,e===iS,n?e===i_:e===ij)||"Enter"===e||" "===e||""===e}function lC(e=[]){let t=e.map(e=>e?.reference),n=e.map(e=>e?.floating),r=e.map(e=>e?.item),o=C.useCallback(t=>lP(t,e,"reference"),t),a=C.useCallback(t=>lP(t,e,"floating"),n),i=C.useCallback(t=>lP(t,e,"item"),r);return C.useMemo(()=>({getReferenceProps:o,getFloatingProps:a,getItemProps:i}),[o,a,i])}function lP(e,t,n){let r=new Map,o="item"===n,a={};for(let t in"floating"===n&&(a.tabIndex=-1,a[ib]=""),e)o&&e&&(t===ix||t===iw)||(a[t]=e[t]);for(let i=0;i<t.length;i+=1){let l,s=t[i]?.[n];(l="function"==typeof s?e?s(e):null:s)&&lE(a,l,o,r)}return lE(a,e,o,r),a}function lE(e,t,n,r){for(let o in t){let a=t[o];n&&(o===ix||o===iw)||(o.startsWith("on")?(r.has(o)||r.set(o,[]),"function"==typeof a&&(r.get(o)?.push(a),e[o]=(...e)=>r.get(o)?.map(t=>t(...e)).find(e=>void 0!==e))):e[o]=a)}}let lT=C.createContext(void 0);function lN(e){let t=C.useContext(lT);if(void 0===t&&!e)throw Error("Base UI: MenuRootContext is missing. Menu parts must be placed within <Menu.Root>.");return t}let lI=C.createContext(null);function lL(e,t=!1,n=!1){let[r,o]=C.useState(e&&t?"idle":void 0),[a,i]=C.useState(e);return e&&!a&&(i(!0),o("starting")),e||!a||"ending"===r||n||o("ending"),e||a||"ending"!==r||o(void 0),aL(()=>{if(!e&&a&&"ending"!==r&&n){let e=iq.request(()=>{o("ending")});return()=>{iq.cancel(e)}}},[e,a,r,n]),aL(()=>{if(!e||t)return;let n=iq.request(()=>{ex.flushSync(()=>{o(void 0)})});return()=>{iq.cancel(n)}},[t,e]),aL(()=>{if(!e||!t)return;e&&a&&"idle"!==r&&o("starting");let n=iq.request(()=>{o("idle")});return()=>{iq.cancel(n)}},[t,e,a,o,r]),C.useMemo(()=>({mounted:a,setMounted:i,transitionStatus:r}),[a,r])}function lA(e){let{enabled:t=!0,open:n,ref:r,onComplete:o}=e,a=it(n),i=ak(o),l=function(e,t=!1){let n=iW();return ak((r,o=null)=>{let a;if(n.cancel(),null!=e){if("current"in e){if(null==e.current)return;a=e.current}else a=e;"function"!=typeof a.getAnimations||globalThis.BASE_UI_ANIMATIONS_DISABLED?r():n.request(()=>{function e(){a&&Promise.allSettled(a.getAnimations().map(e=>e.finished)).then(()=>{null!=o&&o.aborted||ex.flushSync(r)})}t?n.request(e):e()})}})}(r,n);C.useEffect(()=>{t&&l(()=>{n===a.current&&i()})},[t,n,i,l,a])}let lz=C.createContext(void 0);function lR(e=!0){let t=C.useContext(lz);if(void 0===t&&!e)throw Error("Base UI: DirectionContext is missing.");return t?.direction??"ltr"}function lD(e){return e?.ownerDocument||document}let lM=()=>{},lZ={},lU={},lF="";class lH{lockCount=0;restore=null;timeoutLock=ax.create();timeoutUnlock=ax.create();acquire(e){return this.lockCount+=1,1===this.lockCount&&null===this.restore&&this.timeoutLock.start(0,()=>this.lock(e)),this.release}release=()=>{this.lockCount-=1,0===this.lockCount&&this.restore&&this.timeoutUnlock.start(0,this.unlock)};unlock=()=>{0===this.lockCount&&this.restore&&(this.restore?.(),this.restore=null)};lock(e){let t,n;if(0===this.lockCount||null!==this.restore)return;let r=lD(e).documentElement,o=aH(r).getComputedStyle(r).overflowY;if("hidden"===o||"clip"===o){this.restore=lM;return}let a=ic||!function(e){if("undefined"==typeof document)return!1;let t=lD(e);return aH(t).innerWidth-t.documentElement.clientWidth>0}(e);this.restore=a?(n=(t=lD(e).documentElement).style.overflow,t.style.overflow="hidden",()=>{t.style.overflow=n}):function(e){let t=lD(e),n=t.documentElement,r=t.body,o=aH(n),a=0,i=0,l=iq.create();if(is&&(o.visualViewport?.scale??1)!==1)return()=>{};function s(){let e=o.getComputedStyle(n),t=o.getComputedStyle(r);a=n.scrollTop,i=n.scrollLeft,lZ={scrollbarGutter:n.style.scrollbarGutter,overflowY:n.style.overflowY,overflowX:n.style.overflowX},lF=n.style.scrollBehavior,lU={position:r.style.position,height:r.style.height,width:r.style.width,boxSizing:r.style.boxSizing,overflowY:r.style.overflowY,overflowX:r.style.overflowX,scrollBehavior:r.style.scrollBehavior};let l="undefined"!=typeof CSS&&CSS.supports?.("scrollbar-gutter","stable"),s=n.scrollHeight>n.clientHeight,c=n.scrollWidth>n.clientWidth,u="scroll"===e.overflowY||"scroll"===t.overflowY,d="scroll"===e.overflowX||"scroll"===t.overflowX,f=Math.max(0,o.innerWidth-n.clientWidth),p=Math.max(0,o.innerHeight-n.clientHeight),h=parseFloat(t.marginTop)+parseFloat(t.marginBottom),m=parseFloat(t.marginLeft)+parseFloat(t.marginRight);Object.assign(n.style,{scrollbarGutter:"stable",overflowY:!l&&(s||u)?"scroll":"hidden",overflowX:!l&&(c||d)?"scroll":"hidden"}),Object.assign(r.style,{position:"relative",height:h||p?`calc(100dvh - ${h+p}px)`:"100dvh",width:m||f?`calc(100vw - ${m+f}px)`:"100vw",boxSizing:"border-box",overflow:"hidden",scrollBehavior:"unset"}),r.scrollTop=a,r.scrollLeft=i,n.setAttribute("data-base-ui-scroll-locked",""),n.style.scrollBehavior="unset"}function c(){Object.assign(n.style,lZ),Object.assign(r.style,lU),n.scrollTop=a,n.scrollLeft=i,n.removeAttribute("data-base-ui-scroll-locked"),n.style.scrollBehavior=lF}function u(){c(),l.request(s)}return s(),o.addEventListener("resize",u),()=>{l.cancel(),c(),o.removeEventListener("resize",u)}}(e)}}let lV=new lH;function lB(e){if(e)return({"focus-out":"focus-out","escape-key":"escape-key","outside-press":"outside-press","list-navigation":"list-navigation",click:"trigger-press",hover:"trigger-hover",focus:"trigger-focus","reference-press":"trigger-press","safe-polygon":"trigger-hover","ancestor-scroll":void 0})[e]}let l$=C.createContext(void 0);function lq(e=!0){let t=C.useContext(l$);if(void 0===t&&!e)throw Error("Base UI: ContextMenuRootContext is missing. ContextMenu parts must be placed within <ContextMenu.Root>.");return t}let lW=C.createContext(!1);function lK(e,t){return e&&!t?e:!e&&t?t:e||t?{...e,...t}:void 0}let lY={};function lX(e,t,n,r,o){let a={...lJ(e,lY)};return t&&(a=lG(a,t)),n&&(a=lG(a,n)),r&&(a=lG(a,r)),o&&(a=lG(a,o)),a}function lG(e,t){return lQ(t)?t(e):function(e,t){if(!t)return e;for(let n in t){let r=t[n];switch(n){case"style":e[n]=lK(e.style,r);break;case"className":e[n]=l1(e.className,r);break;default:!function(e,t){let n=e.charCodeAt(0),r=e.charCodeAt(1),o=e.charCodeAt(2);return 111===n&&110===r&&o>=65&&o<=90&&("function"==typeof t||void 0===t)}(n,r)?e[n]=r:e[n]=function(e,t){return t?e?n=>{var r;if(null!=(r=n)&&"object"==typeof r&&"nativeEvent"in r){l0(n);let r=t(n);return n.baseUIHandlerPrevented||e?.(n),r}let o=t(n);return e?.(n),o}:t:e}(e[n],r)}}return e}(e,t)}function lQ(e){return"function"==typeof e}function lJ(e,t){return lQ(e)?e(t):e??lY}function l0(e){return e.preventBaseUIHandler=()=>{e.baseUIHandlerPrevented=!0},e}function l1(e,t){return t?e?t+" "+e:t:e}let l2=[],l3={current:!1},l4=function(e){let t,n,{children:r,open:o,onOpenChange:a,onOpenChangeComplete:i,defaultOpen:l=!1,disabled:s=!1,modal:c,loop:u=!0,orientation:d="vertical",actionsRef:f,openOnHover:p,delay:h=100,closeDelay:m=0,closeParentOnEsc:g=!0}=e,[y,v]=C.useState(null),[b,x]=C.useState(null),[w,_]=C.useState(),[j,k]=C.useState(!0),[O,P]=C.useState(null),[E,T]=C.useState(null),[N,I]=C.useState(!0),[L,A]=C.useState(!1),z=C.useRef(null),R=C.useRef(null),D=C.useRef(null),M=C.useRef([]),Z=C.useRef([]),U=aw(),F=lq(!0),H=C.useContext(lW);{let e=lN(!0),n=function(e){let t=C.useContext(lI);if(null===t&&!e)throw Error("Base UI: MenubarContext is missing. Menubar parts must be placed within <Menubar>.");return t}(!0);t=H&&e?{type:"menu",context:e}:n?{type:"menubar",context:n}:F?{type:"context-menu",context:F}:{type:void 0}}let V=aN();void 0!==t.type&&(V=t.context.rootId);let B=(void 0===t.type||"context-menu"===t.type)&&(c??!0),$="menu"===t.type?t.context.allowMouseEnter:L,q="menu"===t.type?t.context.setAllowMouseEnter:A,W=p??("menu"===t.type||"menubar"===t.type&&t.context.hasSubmenuOpen),[K,Y]=aC({controlled:o,default:l,name:"MenuRoot",state:"open"}),X=C.useRef("context-menu"!==t.type),G=aw();C.useEffect(()=>{if(K||(z.current=null),"context-menu"===t.type){if(!K){G.clear(),X.current=!1;return}G.start(500,()=>{X.current=!0})}},[G,K,t.type]);let Q=C.useCallback(e=>{D.current=e,x(e)},[]),{mounted:J,setMounted:ee,transitionStatus:et}=lL(K),{openMethod:en,triggerProps:er,reset:eo}=function(e){var t;let n,r,[o,a]=C.useState(null),i=ak((t,n)=>{e||a(n)}),l=ak(()=>{a(null)}),{onClick:s,onPointerDown:c}=(t=i,n=C.useRef(""),r=C.useCallback(e=>{e.defaultPrevented||(n.current=e.pointerType,t(e,e.pointerType))},[t]),{onClick:C.useCallback(e=>{0===e.detail?t(e,"keyboard"):("pointerType"in e&&t(e,e.pointerType),t(e,n.current),n.current="")},[t]),onPointerDown:r});return C.useMemo(()=>({openMethod:o,reset:l,triggerProps:{onClick:s,onPointerDown:c}}),[o,l,s,c])}(K);!function(e){let{enabled:t=!0,mounted:n,open:r,referenceElement:o=null}=e;aL(()=>{if(t&&is&&n&&!r){let e=lD(o),t=e.body.style.userSelect,n=e.body.style.webkitUserSelect;return e.body.style.userSelect="none",e.body.style.webkitUserSelect="none",()=>{e.body.style.userSelect=t,e.body.style.webkitUserSelect=n}}},[t,n,r,o]),aL(()=>{if(t)return lV.acquire(o)},[t,o])}({enabled:K&&B&&"trigger-hover"!==E&&"touch"!==en,mounted:J,open:K,referenceElement:b}),K||j||k(!0);let ea=ak(()=>{ee(!1),I(!0),q(!1),i?.(!1),eo()});lA({enabled:!f,open:K,ref:R,onComplete(){K||ea()}});let ei=C.useRef(!0),el=aw(),es=ak((e,n,r)=>{if(K===e||!1===e&&n?.type==="click"&&"touch"===n.pointerType&&!ei.current)return;if(!e&&null!==O){let e=M.current[O];queueMicrotask(()=>{e?.setAttribute("tabindex","-1")})}e&&"trigger-focus"===r?(ei.current=!1,el.start(300,()=>{ei.current=!0})):(ei.current=!0,el.clear());let o=("trigger-press"===r||"item-press"===r)&&0===n.detail&&n?.isTrusted,i=!e&&("escape-key"===r||null==r);function l(){a?.(e,n,r),Y(e),T(r??null),z.current=n??null}"trigger-hover"===r?(I(!0),U.start(500,()=>{I(!1)}),ex.flushSync(l)):l(),"menubar"===t.type&&("trigger-focus"===r||"focus-out"===r||"trigger-hover"===r||"list-navigation"===r||"sibling-open"===r)?_("group"):o||i?_(o?"click":"dismiss"):_(void 0)});C.useImperativeHandle(f,()=>({unmount:ea}),[ea]),"context-menu"===t.type&&(n=t.context),C.useImperativeHandle(n?.positionerRef,()=>b,[b]),C.useImperativeHandle(n?.actionsRef,()=>({setOpen:es}),[es]),C.useEffect(()=>{K||U.clear()},[U,K]);let ec=aZ({elements:{reference:y,floating:b},open:K,onOpenChange(e,t,n){es(e,t,lB(n))}}),eu=iM(ec,{enabled:j&&W&&!s&&"context-menu"!==t.type&&("menubar"!==t.type||t.context.hasSubmenuOpen&&!K),handleClose:iH({blockPointerEvents:!0}),mouseOnly:!0,move:"menu"===t.type,restMs:void 0===t.type||"menu"===t.type&&$?h:void 0,delay:"menu"===t.type?{open:$?h:1e10,close:m}:{close:m}}),ed=iB(ec,{enabled:!s&&!K&&"menubar"===t.type&&t.context.hasSubmenuOpen&&!F}),ef=function(e,t={}){let{open:n,onOpenChange:r,dataRef:o}=e,{enabled:a=!0,event:i="click",toggle:l=!0,ignoreMouse:s=!1,stickIfOpen:c=!0}=t,u=C.useRef(void 0),d=iW(),f=C.useMemo(()=>({onPointerDown(e){u.current=e.pointerType},onMouseDown(e){let t=u.current,a=e.nativeEvent;if(0!==e.button||"click"===i||iv(t,!0)&&s)return;let f=o.current.openEvent,p=f?.type,h=!(n&&l&&(!f||!c||"click"===p||"mousedown"===p));d.request(()=>{r(h,a,"click")})},onClick(e){let t=u.current;if("mousedown"===i&&t){u.current=void 0;return}if(iv(t,!0)&&s)return;let a=o.current.openEvent,d=a?.type;r(!(n&&l&&(!a||!c||"click"===d||"mousedown"===d||"keydown"===d||"keyup"===d)),e.nativeEvent,"click")},onKeyDown(){u.current=void 0}}),[o,i,s,r,n,c,l,d]);return C.useMemo(()=>a?{reference:f}:iY,[a,f])}(ec,{enabled:!s&&"context-menu"!==t.type,event:K&&"menubar"===t.type?"click":"mousedown",toggle:!W||"menu"!==t.type,ignoreMouse:W&&"menu"===t.type,stickIfOpen:void 0===t.type&&N}),ep=i1(ec,{enabled:!s,bubbles:g&&"menu"===t.type,outsidePress:()=>"context-menu"!==t.type||z.current?.type==="contextmenu"||X.current}),eh=function(e,t={}){let{open:n,elements:r,floatingId:o}=e,{enabled:a=!0,role:i="dialog"}=t,l=aN(),s=r.domReference?.id||l,c=C.useMemo(()=>iL(r.floating)?.id||o,[r.floating,o]),u=i2.get(i)??i,d=null!=aR(),f=C.useMemo(()=>"tooltip"===u||"label"===i?{[`aria-${"label"===i?"labelledby":"describedby"}`]:n?c:void 0}:{"aria-expanded":n?"true":"false","aria-haspopup":"alertdialog"===u?"dialog":u,"aria-controls":n?c:void 0,..."listbox"===u&&{role:"combobox"},..."menu"===u&&{id:s},..."menu"===u&&d&&{role:"menuitem"},..."select"===i&&{"aria-autocomplete":"none"},..."combobox"===i&&{"aria-autocomplete":"list"}},[u,c,d,n,s,i]),p=C.useMemo(()=>{let e={id:c,...u&&{role:u}};return"tooltip"===u||"label"===i?e:{...e,..."menu"===u&&{"aria-labelledby":s}}},[u,c,s,i]),h=C.useCallback(({active:e,selected:t})=>{let n={role:"option",...e&&{id:`${c}-fui-option`}};switch(i){case"select":case"combobox":return{...n,"aria-selected":t}}return{}},[c,i]);return C.useMemo(()=>a?{reference:f,floating:p,item:h}:{},[a,f,p,h])}(ec,{role:"menu"}),em=lR(),eg=function(e,t){let{open:n,onOpenChange:r,elements:o,floatingId:a}=e,{listRef:i,activeIndex:l,onNavigate:s=()=>{},enabled:c=!0,selectedIndex:u=null,allowEscape:d=!1,loop:f=!1,nested:p=!1,rtl:h=!1,virtual:m=!1,focusItemOnOpen:g="auto",focusItemOnHover:y=!0,openOnArrowKeyDown:v=!0,disabledIndices:b,orientation:x="vertical",parentOrientation:w,cols:_=1,scrollItemIntoView:j=!0,virtualItemRef:k,itemSizes:S,dense:O=!1}=t,P=it(iL(o.floating)),E=aR(),T=C.useContext(az);aL(()=>{e.dataRef.current.orientation=x},[e,x]);let N=iI(o.domReference),I=C.useRef(g),L=C.useRef(u??-1),A=C.useRef(null),z=C.useRef(!0),R=ak(()=>{s(-1===L.current?null:L.current)}),D=C.useRef(R),M=C.useRef(!!o.floating),Z=C.useRef(n),U=C.useRef(!1),F=C.useRef(!1),H=it(b),V=it(n),B=it(j),$=it(u),[q,W]=C.useState(),K=ak(()=>{function e(e){m?(e.id?.endsWith("-fui-option")&&(e.id=`${a}-${Math.random().toString(16).slice(2,10)}`),W(e.id),T?.events.emit("virtualfocus",e),k&&(k.current=e)):lj(e,{sync:U.current,preventScroll:!0})}let t=i.current[L.current],n=F.current;t&&e(t),(U.current?e=>e():requestAnimationFrame)(()=>{let r=i.current[L.current]||t;if(!r)return;t||e(r);let o=B.current;o&&X&&(n||!z.current)&&r.scrollIntoView?.("boolean"==typeof o?{block:"nearest",inline:"nearest"}:o)})});aL(()=>{c&&(n&&o.floating?I.current&&null!=u&&(F.current=!0,L.current=u,R()):M.current&&(L.current=-1,D.current()))},[c,n,o.floating,u,R]),aL(()=>{if(c&&n&&o.floating)if(null==l){if(U.current=!1,null!=$.current)return;if(M.current&&(L.current=-1,K()),(!Z.current||!M.current)&&I.current&&(null!=A.current||!0===I.current&&null==A.current)){let e=0,t=()=>{null==i.current[0]?(e<2&&(e?requestAnimationFrame:queueMicrotask)(t),e+=1):(L.current=null==A.current||lO(A.current,x,h)||p?lv(i,H.current):lb(i,H.current),A.current=null,R())};t()}}else ly(i,l)||(L.current=l,K(),F.current=!1)},[c,n,o.floating,l,$,p,i,x,h,R,K,H]),aL(()=>{if(!c||o.floating||!T||m||!M.current)return;let e=T.nodesRef.current,t=e.find(e=>e.id===E)?.context?.elements.floating,n=iO(iT(o.floating)),r=e.some(e=>e.context&&iC(e.context.elements.floating,n));t&&!r&&z.current&&t.focus({preventScroll:!0})},[c,o.floating,T,E,m]),aL(()=>{D.current=R,Z.current=n,M.current=!!o.floating}),aL(()=>{n||(A.current=null,I.current=g)},[n,g]);let Y=null!=l,X=C.useMemo(()=>{function e(e){if(!V.current)return;let t=i.current.indexOf(e);-1!==t&&L.current!==t&&(L.current=t,R())}return{onFocus({currentTarget:t}){U.current=!0,e(t)},onClick:({currentTarget:e})=>e.focus({preventScroll:!0}),onMouseMove({currentTarget:t}){U.current=!0,F.current=!1,y&&e(t)},onPointerLeave({pointerType:e}){!z.current||"touch"===e||(U.current=!0,y&&(L.current=-1,R(),m||P.current?.focus({preventScroll:!0})))}}},[V,P,y,i,R,m]),G=C.useCallback(()=>w??T?.nodesRef.current.find(e=>e.id===E)?.context?.dataRef?.current.orientation,[E,T,w]),Q=ak(e=>{var t,a,l,s,c,u,g,y;if(z.current=!1,U.current=!0,229===e.which||!V.current&&e.currentTarget===P.current)return;if(p&&(t=e.key,a=x,l=h,s=_,"both"===a||"horizontal"===a&&s&&s>1?"Escape"===t:lk(a,l?t===ij:t===i_,t===ik))){lS(e.key,G())||im(e),r(!1,e.nativeEvent,"list-navigation"),aq(o.domReference)&&(m?T?.events.emit("virtualfocus",o.domReference):o.domReference.focus());return}let v=L.current,w=lv(i,b),j=lb(i,b);if(N||("Home"===e.key&&(im(e),L.current=w,R()),"End"===e.key&&(im(e),L.current=j,R())),_>1){let t,n,r=S||Array.from({length:i.current.length},()=>({width:1,height:1})),o=(c=r,u=_,g=O,t=[],n=0,c.forEach(({width:e,height:r},o)=>{let a=!1;for(g&&(n=0);!a;){let i=[];for(let t=0;t<e;t+=1)for(let e=0;e<r;e+=1)i.push(n+t+e*u);n%u+e<=u&&i.every(e=>null==t[e])?(i.forEach(e=>{t[e]=o}),a=!0):n+=1}}),[...t]),a=o.findIndex(e=>null!=e&&!lw(i,e,b)),l=o.reduce((e,t,n)=>null==t||lw(i,t,b)?e:n,-1),s=o[function(e,{event:t,orientation:n,loop:r,rtl:o,cols:a,disabledIndices:i,minIndex:l,maxIndex:s,prevIndex:c,stopEvent:u=!1}){let d=c;if(t.key===ik){if(u&&im(t),-1===c)d=s;else if(d=lx(e,{startingIndex:d,amount:a,decrement:!0,disabledIndices:i}),r&&(c-a<l||d<0)){let e=c%a,t=s%a,n=s-(t-e);d=t===e?s:t>e?n:n-a}ly(e,d)&&(d=c)}if(t.key===iS&&(u&&im(t),-1===c?d=l:(d=lx(e,{startingIndex:c,amount:a,disabledIndices:i}),r&&c+a>s&&(d=lx(e,{startingIndex:c%a-a,amount:a,disabledIndices:i}))),ly(e,d)&&(d=c)),"both"===n){let n=i9(c/a);t.key===(o?i_:ij)&&(u&&im(t),c%a!=a-1?(d=lx(e,{startingIndex:c,disabledIndices:i}),r&&lg(d,a,n)&&(d=lx(e,{startingIndex:c-c%a-1,disabledIndices:i}))):r&&(d=lx(e,{startingIndex:c-c%a-1,disabledIndices:i})),lg(d,a,n)&&(d=c)),t.key===(o?ij:i_)&&(u&&im(t),c%a!=0?(d=lx(e,{startingIndex:c,decrement:!0,disabledIndices:i}),r&&lg(d,a,n)&&(d=lx(e,{startingIndex:c+(a-c%a),decrement:!0,disabledIndices:i}))):r&&(d=lx(e,{startingIndex:c+(a-c%a),decrement:!0,disabledIndices:i})),lg(d,a,n)&&(d=c));let l=i9(s/a)===n;ly(e,d)&&(d=r&&l?t.key===(o?ij:i_)?s:lx(e,{startingIndex:c-c%a-1,disabledIndices:i}):c)}return d}({current:o.map(e=>null!=e?i.current[e]:null)},{event:e,orientation:x,loop:f,rtl:h,cols:_,disabledIndices:(y=[...("function"!=typeof b?b:null)||i.current.map((e,t)=>lw(i,t,b)?t:void 0),void 0],o.flatMap((e,t)=>y.includes(e)?[t]:[])),minIndex:a,maxIndex:l,prevIndex:function(e,t,n,r,o){if(-1===e)return -1;let a=n.indexOf(e),i=t[e];switch(o){case"tl":return a;case"tr":if(!i)return a;return a+i.width-1;case"bl":if(!i)return a;return a+(i.height-1)*r;case"br":return n.lastIndexOf(e);default:return -1}}(L.current>j?w:L.current,r,o,_,e.key===iS?"bl":e.key===(h?i_:ij)?"tr":"tl"),stopEvent:!0})];if(null!=s&&(L.current=s,R()),"both"===x)return}if(lS(e.key,x)){if(im(e),n&&!m&&iO(e.currentTarget.ownerDocument)===e.currentTarget){L.current=lO(e.key,x,h)?w:j,R();return}lO(e.key,x,h)?f?L.current=v>=j?d&&v!==i.current.length?-1:w:lx(i,{startingIndex:v,disabledIndices:b}):L.current=Math.min(j,lx(i,{startingIndex:v,disabledIndices:b})):f?L.current=v<=w?d&&-1!==v?i.current.length:j:lx(i,{startingIndex:v,decrement:!0,disabledIndices:b}):L.current=Math.max(w,lx(i,{startingIndex:v,decrement:!0,disabledIndices:b})),ly(i,L.current)&&(L.current=-1),R()}}),J=C.useMemo(()=>m&&n&&Y&&{"aria-activedescendant":q},[m,n,Y,q]),ee=C.useMemo(()=>({"aria-orientation":"both"===x?void 0:x,...!N?J:{},onKeyDown(e){if("Tab"===e.key&&e.shiftKey&&n&&!m){im(e),r(!1,e.nativeEvent,"list-navigation"),aq(o.domReference)&&o.domReference.focus();return}Q(e)},onPointerMove(){z.current=!0}}),[J,Q,x,N,r,n,m,o.domReference]),et=C.useMemo(()=>{function e(e){"auto"===g&&ig(e.nativeEvent)&&(I.current=!0)}function t(e){I.current=g,"auto"===g&&iy(e.nativeEvent)&&(I.current=!0)}return{...J,onKeyDown(e){var t,o;z.current=!1;let a=e.key.startsWith("Arrow"),l=(t=e.key,o=G(),lk(o,h?t===i_:t===ij,t===iS)),s=lS(e.key,x),c=(p?l:s)||"Enter"===e.key||""===e.key.trim();if(m&&n)return Q(e);if(n||v||!a){if(c){let t=lS(e.key,G());A.current=p&&t?null:e.key}if(p){l&&(im(e),n?(L.current=lv(i,H.current),R()):r(!0,e.nativeEvent,"list-navigation"));return}s&&(null!=u&&(L.current=u),im(e),!n&&v?r(!0,e.nativeEvent,"list-navigation"):Q(e),n&&R())}},onFocus(){n&&!m&&(L.current=-1,R())},onPointerDown:t,onPointerEnter:t,onMouseDown:e,onClick:e}},[J,Q,H,g,i,p,R,r,n,v,x,G,h,u,m]);return C.useMemo(()=>c?{reference:et,floating:ee,item:X}:{},[c,et,ee,X])}(ec,{enabled:!s,listRef:M,activeIndex:O,nested:void 0!==t.type,loop:u,orientation:d,parentOrientation:"menubar"===t.type?t.context.orientation:void 0,rtl:"rtl"===em,disabledIndices:l2,onNavigate:P,openOnArrowKeyDown:"context-menu"!==t.type}),ey=C.useRef(!1),ev=function(e,t){let{open:n,dataRef:r}=e,{listRef:o,activeIndex:a,onMatch:i,onTypingChange:l,enabled:s=!0,findMatch:c=null,resetMs:u=750,ignoreKeys:d=[],selectedIndex:f=null}=t,p=aw(),h=C.useRef(""),m=C.useRef(f??a??-1),g=C.useRef(null),y=ak(i),v=ak(l),b=it(c),x=it(d);aL(()=>{n&&(p.clear(),g.current=null,h.current="")},[n,p]),aL(()=>{n&&""===h.current&&(m.current=f??a??-1)},[n,f,a]);let w=ak(e=>{e?r.current.typing||(r.current.typing=e,v(e)):r.current.typing&&(r.current.typing=e,v(e))}),_=ak(e=>{function t(e,t,n){let r=b.current?b.current(t,n):t.find(e=>e?.toLocaleLowerCase().indexOf(n.toLocaleLowerCase())===0);return r?e.indexOf(r):-1}let r=o.current;if(h.current.length>0&&" "!==h.current[0]&&(-1===t(r,r,h.current)?w(!1):" "===e.key&&im(e)),null==r||x.current.includes(e.key)||1!==e.key.length||e.ctrlKey||e.metaKey||e.altKey)return;n&&" "!==e.key&&(im(e),w(!0)),r.every(e=>!e||e[0]?.toLocaleLowerCase()!==e[1]?.toLocaleLowerCase())&&h.current===e.key&&(h.current="",m.current=g.current),h.current+=e.key,p.start(u,()=>{h.current="",m.current=g.current,w(!1)});let a=m.current,i=t(r,[...r.slice((a||0)+1),...r.slice(0,(a||0)+1)],h.current);-1!==i?(y(i),g.current=i):" "!==e.key&&(h.current="",w(!1))}),j=C.useMemo(()=>({onKeyDown:_}),[_]),k=C.useMemo(()=>({onKeyDown:_,onKeyUp(e){" "===e.key&&w(!1)}}),[_,w]);return C.useMemo(()=>s?{reference:j,floating:k}:{},[s,j,k])}(ec,{listRef:Z,activeIndex:O,resetMs:500,onMatch:e=>{K&&e!==O&&P(e)},onTypingChange:C.useCallback(e=>{ey.current=e},[])}),{getReferenceProps:eb,getFloatingProps:ew,getItemProps:e_}=lC([eu,ef,ep,ed,eh,eg,ev]),ej=function(e){let{enabled:t=!0,mouseDownAction:n,open:r}=e,o=C.useRef(!1);return C.useMemo(()=>t?{onMouseDown:e=>{("open"===n&&!r||"close"===n&&r)&&(o.current=!0,lD(e.currentTarget).addEventListener("click",()=>{o.current=!1},{once:!0}))},onClick:e=>{o.current&&(o.current=!1,e.preventBaseUIHandler())}}:iY,[t,n,r])}({open:K,enabled:"menubar"===t.type,mouseDownAction:"open"}),ek=C.useMemo(()=>{let e=lX(eb(),{onMouseEnter(){k(!0)},onMouseMove(){q(!0)}},er,ej);return delete e.role,e},[eb,ej,q,er]),eS=C.useMemo(()=>ew({onMouseEnter(){W&&"menu"!==t.type||k(!1)},onMouseMove(){q(!0)},onClick(){W&&k(!1)}}),[ew,W,t.type,q]),eO=C.useMemo(()=>e_(),[e_]),eC=C.useMemo(()=>({activeIndex:O,setActiveIndex:P,allowMouseUpTriggerRef:t.type?t.context.allowMouseUpTriggerRef:l3,floatingRootContext:ec,itemProps:eO,popupProps:eS,triggerProps:ek,itemDomElements:M,itemLabels:Z,mounted:J,open:K,popupRef:R,positionerRef:D,setOpen:es,setPositionerElement:Q,triggerElement:y,setTriggerElement:v,transitionStatus:et,lastOpenChangeReason:E,instantType:w,onOpenChangeComplete:i,setHoverEnabled:k,typingRef:ey,modal:B,disabled:s,parent:t,rootId:V,allowMouseEnter:$,setAllowMouseEnter:q}),[O,ec,eO,eS,ek,M,Z,J,K,D,es,et,y,Q,E,w,i,B,s,t,V,$,q]),eP=(0,S.jsx)(lT.Provider,{value:eC,children:r});return void 0===t.type||"context-menu"===t.type?(0,S.jsx)(aM,{children:eP}):eP};function l5(e,t,n,r){var o,a,i,l,s;let c=ay(l6).current;return o=c,a=e,i=t,l=n,s=r,(o.refs[0]!==a||o.refs[1]!==i||o.refs[2]!==l||o.refs[3]!==s)&&l9(c,[e,t,n,r]),c.callback}function l6(){return{callback:null,cleanup:null,refs:[]}}function l9(e,t){if(e.refs=t,t.every(e=>null==e)){e.callback=null;return}e.callback=n=>{if(e.cleanup&&(e.cleanup(),e.cleanup=null),null!=n){let r=Array(t.length).fill(null);for(let e=0;e<t.length;e+=1){let o=t[e];if(null!=o)switch(typeof o){case"function":{let t=o(n);"function"==typeof t&&(r[e]=t);break}case"object":o.current=n}}e.cleanup=()=>{for(let e=0;e<t.length;e+=1){let n=t[e];if(null!=n)switch(typeof n){case"function":{let t=r[e];"function"==typeof t?t():n(null);break}case"object":n.current=null}}}}}}let l8=((t={}).startingStyle="data-starting-style",t.endingStyle="data-ending-style",t),l7={[l8.startingStyle]:""},se={[l8.endingStyle]:""},st={transitionStatus:e=>"starting"===e?l7:"ending"===e?se:null},sn=((n={}).open="data-open",n.closed="data-closed",n[n.startingStyle=l8.startingStyle]="startingStyle",n[n.endingStyle=l8.endingStyle]="endingStyle",n.anchorHidden="data-anchor-hidden",n),sr=((r={}).popupOpen="data-popup-open",r.pressed="data-pressed",r),so={[sr.popupOpen]:""},sa={[sr.popupOpen]:"",[sr.pressed]:""},si={[sn.open]:""},sl={[sn.closed]:""},ss={[sn.anchorHidden]:""},sc={open:e=>e?so:null},su={open:e=>e?sa:null},sd={open:e=>e?si:sl,anchorHidden:e=>e?ss:null},sf=parseInt(C.version,10);function sp(e,t,n={}){let r=t.render,o=function(e,t={}){var n,r,o,a,i;let l,{className:s,render:c}=e,{state:u=iY,ref:d,props:f,disableStyleHooks:p,customStyleHookMapping:h,enabled:m=!0}=t,g=m?(n=s,r=u,"function"==typeof n?n(r):n):void 0;!0!==p&&(l=C.useMemo(()=>m?function(e,t){let n={};for(let r in e){let o=e[r];if(t?.hasOwnProperty(r)){let e=t[r](o);null!=e&&Object.assign(n,e);continue}!0===o?n[`data-${r.toLowerCase()}`]="":o&&(n[`data-${r.toLowerCase()}`]=o.toString())}return n}(u,h):iY,[u,h,m]));let y=m?lK(l,Array.isArray(f)?function(e){if(0===e.length)return lY;if(1===e.length)return lJ(e[0],lY);let t={...lJ(e[0],lY)};for(let n=1;n<e.length;n+=1)t=lG(t,e[n]);return t}(f):f)??iY:iY;if("undefined"!=typeof document)if(m)if(Array.isArray(d)){let e;o=[y.ref,sh(c),...d],a=e=ay(l6).current,i=o,(a.refs.length!==i.length||a.refs.some((e,t)=>e!==i[t]))&&l9(e,o),y.ref=e.callback}else y.ref=l5(y.ref,sh(c),d);else l5(null,null);return m?(void 0!==g&&(y.className=l1(y.className,g)),y):iY}(t,n);return!1===n.enabled?null:function(e,t,n,r){if(t){if("function"==typeof t)return t(n,r);let e=lX(n,t.props);return e.ref=n.ref,C.cloneElement(t,e)}if(e&&"string"==typeof e){var o,a;return o=e,a=n,"button"===o?(0,S.jsx)("button",{type:"button",...a}):"img"===o?(0,S.jsx)("img",{alt:"",...a}):C.createElement(o,a)}throw Error("Base UI: Render element or function are not defined.")}(e,r,o,n.state??iY)}function sh(e){return e&&"function"!=typeof e?sf>=19?e.props.ref:e.ref:null}let sm=C.createContext(void 0);function sg(e=!1){let t=C.useContext(sm);if(void 0===t&&!e)throw Error("Base UI: CompositeRootContext is missing. Composite parts must be placed within <Composite.Root>.");return t}function sy(e={}){let{disabled:t=!1,focusableWhenDisabled:n,tabIndex:r=0,native:o=!0}=e,a=C.useRef(null),i=void 0!==sg(!0),l=ak(()=>{let e=a.current;return!!(e?.tagName==="A"&&e?.href)}),{props:s}=function(e){let{focusableWhenDisabled:t,disabled:n,composite:r=!1,tabIndex:o=0,isNativeButton:a}=e,i=r&&!1!==t,l=r&&!1===t;return{props:C.useMemo(()=>{let e={onKeyDown(e){n&&t&&"Tab"!==e.key&&e.preventDefault()}};return r||(e.tabIndex=o,!a&&n&&(e.tabIndex=t?o:-1)),(a&&(t||i)||!a&&n)&&(e["aria-disabled"]=n),a&&(!t||l)&&(e.disabled=n),e},[r,n,t,i,l,a,o])}}({focusableWhenDisabled:n,disabled:t,composite:i,tabIndex:r,isNativeButton:o});return aL(()=>{let e=a.current;e instanceof HTMLButtonElement&&i&&t&&void 0===s.disabled&&e.disabled&&(e.disabled=!1)},[t,s.disabled,i]),{getButtonProps:C.useCallback((e={})=>{let{onClick:n,onMouseDown:r,onKeyUp:a,onKeyDown:i,onPointerDown:c,...u}=e;return lX({type:o?"button":void 0,onClick(e){t?e.preventDefault():n?.(e)},onMouseDown(e){t||r?.(e)},onKeyDown(e){if(t||(l0(e),i?.(e)),e.baseUIHandlerPrevented)return;let r=e.target===e.currentTarget&&!o&&!l()&&!t,a="Enter"===e.key,s=" "===e.key;r&&((s||a)&&e.preventDefault(),a&&n?.(e))},onKeyUp(e){t||(l0(e),a?.(e)),!e.baseUIHandlerPrevented&&(e.target!==e.currentTarget||o||t||" "!==e.key||n?.(e))},onPointerDown(e){t?e.preventDefault():c?.(e)}},o?void 0:{role:"button"},s,u)},[t,s,o,l]),buttonRef:a}}let sv=C.createContext({register:()=>{},unregister:()=>{},subscribeMapChange:()=>()=>{},elementsRef:{current:[]},nextIndexRef:{current:0}}),sb=((o={})[o.None=0]="None",o[o.GuessFromOrder=1]="GuessFromOrder",o);function sx(e={}){let{label:t,metadata:n,textRef:r,indexGuessBehavior:o}=e,{register:a,unregister:i,subscribeMapChange:l,elementsRef:s,labelsRef:c,nextIndexRef:u}=C.useContext(sv),d=C.useRef(-1),[f,p]=C.useState(o===sb.GuessFromOrder?()=>{if(-1===d.current){let e=u.current;u.current+=1,d.current=e}return d.current}:-1),h=C.useRef(null),m=C.useCallback(e=>{if(h.current=e,-1!==f&&null!==e&&(s.current[f]=e,c)){let n=void 0!==t;c.current[f]=n?t:r?.current?.textContent??e.textContent}},[f,s,c,t,r]);return aL(()=>{let e=h.current;if(e)return a(e,n),()=>{i(e)}},[a,i,n]),aL(()=>l(e=>{let t=h.current?e.get(h.current)?.index:null;null!=t&&p(t)}),[l,p]),C.useMemo(()=>({ref:m,index:f}),[f,m])}function sw(e){let{render:t,className:n,state:r=iY,props:o=iX,refs:a=iX,metadata:i,customStyleHookMapping:l,tag:s="div",...c}=e,{compositeProps:u,compositeRef:d}=function(e={}){let{highlightItemOnHover:t,highlightedIndex:n,onHighlightedIndexChange:r}=sg(),{ref:o,index:a}=sx(e),i=n===a,l=C.useRef(null),s=l5(o,l);return{compositeProps:C.useMemo(()=>({tabIndex:i?0:-1,onFocus(){r(a)},onMouseMove(){let e=l.current;if(!t||!e)return;let n=e.hasAttribute("disabled")||"true"===e.ariaDisabled;i||n||e.focus()}}),[i,r,a,t]),compositeRef:s,index:a}}({metadata:i});return sp(s,e,{state:r,ref:[...a,d],props:[u,...o,c],customStyleHookMapping:l})}let s_=C.forwardRef(function(e,t){let{render:n,className:r,disabled:o=!1,nativeButton:a=!0,...i}=e,{triggerProps:l,disabled:s,setTriggerElement:c,open:u,allowMouseUpTriggerRef:d,positionerRef:f,parent:p,lastOpenChangeReason:h,rootId:m}=lN(),g=o||s,y=C.useRef(null),v=aw(),{getButtonProps:b,buttonRef:x}=sy({disabled:g,native:a}),w=l5(x,c),{events:_}=C.useContext(az);C.useEffect(()=>{u||void 0!==p.type||(d.current=!1)},[d,u,p.type]);let j=ak(e=>{if(!y.current)return;v.clear(),d.current=!1;let t=e.target;if(iC(y.current,t)||iC(f.current,t)||t===y.current||null!=t&&function e(t){return aq(t)&&t.hasAttribute("data-rootownerid")?t.getAttribute("data-rootownerid")??void 0:a5(t)?void 0:e(a8(t))}(t)===m)return;let n=function(e){let t=e.getBoundingClientRect(),n=window.getComputedStyle(e,"::before"),r=window.getComputedStyle(e,"::after");if("none"===n.content&&"none"===r.content)return t;let o=parseFloat(n.width)||0,a=parseFloat(n.height)||0,i=parseFloat(r.width)||0,l=parseFloat(r.height)||0,s=Math.max(t.width,o,i),c=Math.max(t.height,a,l),u=s-t.width,d=c-t.height;return{left:t.left-u/2,right:t.right+u/2,top:t.top-d/2,bottom:t.bottom+d/2}}(y.current);e.clientX>=n.left-2&&e.clientX<=n.right+2&&e.clientY>=n.top-2&&e.clientY<=n.bottom+2||_.emit("close",{domEvent:e,reason:"cancel-open"})});C.useEffect(()=>{u&&"trigger-hover"===h&&lD(y.current).addEventListener("mouseup",j,{once:!0})},[u,j,h]);let k="menubar"===p.type,O=C.useCallback(e=>lX(k?{role:"menuitem"}:{},{"aria-haspopup":"menu",ref:w,onMouseDown:e=>{u||(v.start(200,()=>{d.current=!0}),lD(e.currentTarget).addEventListener("mouseup",j,{once:!0}))}},e,b),[b,w,u,d,v,j,k]),P=C.useMemo(()=>({disabled:g,open:u}),[g,u]),E=[y,t,x],T=[l,i,O],N=sp("button",e,{enabled:!k,customStyleHookMapping:su,state:P,ref:E,props:T});return k?(0,S.jsx)(sw,{tag:"button",render:n,className:r,state:P,refs:E,props:T,customStyleHookMapping:su}):N}),sj={clip:"rect(0 0 0 0)",overflow:"hidden",whiteSpace:"nowrap",position:"fixed",top:0,left:0,border:0,padding:0,width:1,height:1,margin:-1},sk=C.forwardRef(function(e,t){let[n,r]=C.useState();return aL(()=>{iu&&r("button")},[]),(0,S.jsx)("span",{...e,ref:t,tabIndex:0,role:n,"aria-hidden":!n||void 0,style:sj,"data-base-ui-focus-guard":""})});var sS='input:not([inert]),select:not([inert]),textarea:not([inert]),a[href]:not([inert]),button:not([inert]),[tabindex]:not(slot):not([inert]),audio[controls]:not([inert]),video[controls]:not([inert]),[contenteditable]:not([contenteditable="false"]):not([inert]),details>summary:first-of-type:not([inert]),details:not([inert])',sO="undefined"==typeof Element,sC=sO?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,sP=!sO&&Element.prototype.getRootNode?function(e){var t;return null==e||null==(t=e.getRootNode)?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},sE=function e(t,n){void 0===n&&(n=!0);var r,o=null==t||null==(r=t.getAttribute)?void 0:r.call(t,"inert");return""===o||"true"===o||n&&t&&e(t.parentNode)},sT=function(e){var t,n=null==e||null==(t=e.getAttribute)?void 0:t.call(e,"contenteditable");return""===n||"true"===n},sN=function(e,t,n){if(sE(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(sS));return t&&sC.call(e,sS)&&r.unshift(e),r=r.filter(n)},sI=function e(t,n,r){for(var o=[],a=Array.from(t);a.length;){var i=a.shift();if(!sE(i,!1))if("SLOT"===i.tagName){var l=i.assignedElements(),s=e(l.length?l:i.children,!0,r);r.flatten?o.push.apply(o,s):o.push({scopeParent:i,candidates:s})}else{sC.call(i,sS)&&r.filter(i)&&(n||!t.includes(i))&&o.push(i);var c=i.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(i),u=!sE(c,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(i));if(c&&u){var d=e(!0===c?i.children:c.children,!0,r);r.flatten?o.push.apply(o,d):o.push({scopeParent:i,candidates:d})}else a.unshift.apply(a,i.children)}}return o},sL=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},sA=function(e){if(!e)throw Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||sT(e))&&!sL(e)?0:e.tabIndex},sz=function(e,t){var n=sA(e);return n<0&&t&&!sL(e)?0:n},sR=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},sD=function(e){return"INPUT"===e.tagName},sM=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]},sZ=function(e){if(!e.name)return!0;var t,n=e.form||sP(e),r=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var o=sM(t,e.form);return!o||o===e},sU=function(e){var t;return sD(t=e)&&"radio"===t.type&&!sZ(e)},sF=function(e){var t,n,r,o,a,i,l,s=e&&sP(e),c=null==(t=s)?void 0:t.host,u=!1;if(s&&s!==e)for(u=!!(null!=(n=c)&&null!=(r=n.ownerDocument)&&r.contains(c)||null!=e&&null!=(o=e.ownerDocument)&&o.contains(e));!u&&c;)u=!!(null!=(i=c=null==(a=s=sP(c))?void 0:a.host)&&null!=(l=i.ownerDocument)&&l.contains(c));return u},sH=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return 0===n&&0===r},sV=function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var o=sC.call(e,"details>summary:first-of-type")?e.parentElement:e;if(sC.call(o,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return sH(e)}else{if("function"==typeof r){for(var a=e;e;){var i=e.parentElement,l=sP(e);if(i&&!i.shadowRoot&&!0===r(i))return sH(e);e=e.assignedSlot?e.assignedSlot:i||l===e.ownerDocument?i:l.host}e=a}if(sF(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1},sB=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if("LEGEND"===r.tagName)return!!sC.call(t,"fieldset[disabled] *")||!r.contains(e)}return!0}t=t.parentElement}return!1},s$=function(e,t){var n,r;return!(t.disabled||sE(t)||sD(n=t)&&"hidden"===n.type||sV(t,e)||"DETAILS"===(r=t).tagName&&Array.prototype.slice.apply(r.children).some(function(e){return"SUMMARY"===e.tagName})||sB(t))},sq=function(e,t){return!(sU(t)||0>sA(t))&&!!s$(e,t)},sW=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!isNaN(t)||!!(t>=0)},sK=function e(t){var n=[],r=[];return t.forEach(function(t,o){var a=!!t.scopeParent,i=a?t.scopeParent:t,l=sz(i,a),s=a?e(t.candidates):i;0===l?a?n.push.apply(n,s):n.push(i):r.push({documentOrder:o,tabIndex:l,item:t,isScope:a,content:s})}),r.sort(sR).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(n)},sY=function(e,t){return sK((t=t||{}).getShadowRoot?sI([e],t.includeContainer,{filter:sq.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:sW}):sN(e,t.includeContainer,sq.bind(null,t)))},sX=function(e,t){return(t=t||{}).getShadowRoot?sI([e],t.includeContainer,{filter:s$.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):sN(e,t.includeContainer,s$.bind(null,t))},sG=function(e,t){if(t=t||{},!e)throw Error("No node provided");return!1!==sC.call(e,sS)&&sq(t,e)};let sQ=()=>({getShadowRoot:!0,displayCheck:"function"==typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function sJ(e,t){let n=sY(e,sQ()),r=n.length;if(0===r)return;let o=iO(iT(e)),a=n.indexOf(o);return n[-1===a?1===t?0:r-1:a+t]}function s0(e){return sJ(iT(e).body,1)||e}function s1(e){return sJ(iT(e).body,-1)||e}function s2(e,t){let n=t||e.currentTarget,r=e.relatedTarget;return!r||!iC(n,r)}function s3(e){sY(e,sQ()).forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")})}function s4(e){e.querySelectorAll("[data-tabindex]").forEach(e=>{let t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute("tabindex",t):e.removeAttribute("tabindex")})}let s5=C.createContext(null),s6=iA("portal");function s9(e={}){let{id:t,root:n}=e,r=aN(),o=C.useContext(s5),[a,i]=C.useState(null),l=C.useRef(null);return aL(()=>()=>{a?.remove(),queueMicrotask(()=>{l.current=null})},[a]),aL(()=>{if(!r||l.current)return;let e=t?document.getElementById(t):null;if(!e)return;let n=document.createElement("div");n.id=r,n.setAttribute(s6,""),e.appendChild(n),l.current=n,i(n)},[t,r]),aL(()=>{if(null===n||!r||l.current)return;let e=n||o?.portalNode;e&&!aB(e)&&(e=e.current),e=e||document.body;let a=null;t&&((a=document.createElement("div")).id=t,e.appendChild(a));let s=document.createElement("div");s.id=r,s.setAttribute(s6,""),(e=a||e).appendChild(s),l.current=s,i(s)},[t,n,r,o]),a}function s8(e){let{children:t,id:n,root:r,preserveTabOrder:o=!0}=e,a=s9({id:n,root:r}),[i,l]=C.useState(null),s=C.useRef(null),c=C.useRef(null),u=C.useRef(null),d=C.useRef(null),f=i?.modal,p=i?.open,h=!!i&&!i.modal&&i.open&&o&&!!(r||a);return C.useEffect(()=>{if(a&&o&&!f)return a.addEventListener("focusin",e,!0),a.addEventListener("focusout",e,!0),()=>{a.removeEventListener("focusin",e,!0),a.removeEventListener("focusout",e,!0)};function e(e){if(a&&s2(e)){let t="focusin"===e.type;(t?s4:s3)(a)}}},[a,o,f]),C.useEffect(()=>{!a||p||s4(a)},[p,a]),(0,S.jsxs)(s5.Provider,{value:C.useMemo(()=>({preserveTabOrder:o,beforeOutsideRef:s,afterOutsideRef:c,beforeInsideRef:u,afterInsideRef:d,portalNode:a,setFocusManagerState:l}),[o,a]),children:[h&&a&&(0,S.jsx)(sk,{"data-type":"outside",ref:s,onFocus:e=>{if(s2(e,a))u.current?.focus();else{let e=s1(i?i.domReference:null);e?.focus()}}}),h&&a&&(0,S.jsx)("span",{"aria-owns":a.id,style:sj}),a&&ex.createPortal(t,a),h&&a&&(0,S.jsx)(sk,{"data-type":"outside",ref:c,onFocus:e=>{if(s2(e,a))d.current?.focus();else{let t=s0(i?i.domReference:null);t?.focus(),i?.closeOnFocusOut&&i?.onOpenChange(!1,e.nativeEvent,"focus-out")}}})]})}let s7=C.createContext(void 0);function ce(e){let{children:t,keepMounted:n=!1,container:r}=e,{mounted:o}=lN();return o||n?(0,S.jsx)(s7.Provider,{value:n,children:(0,S.jsx)(s8,{root:r,children:t})}):null}let ct=C.createContext(void 0);function cn(e,t,n){let r,{reference:o,floating:a}=e,i=ll(t),l=lo(ll(t)),s=la(l),c=ln(t),u="y"===i,d=o.x+o.width/2-a.width/2,f=o.y+o.height/2-a.height/2,p=o[s]/2-a[s]/2;switch(c){case"top":r={x:d,y:o.y-a.height};break;case"bottom":r={x:d,y:o.y+o.height};break;case"right":r={x:o.x+o.width,y:f};break;case"left":r={x:o.x-a.width,y:f};break;default:r={x:o.x,y:o.y}}switch(lr(t)){case"start":r[l]-=p*(n&&u?-1:1);break;case"end":r[l]+=p*(n&&u?-1:1)}return r}let cr=async(e,t,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:a=[],platform:i}=n,l=a.filter(Boolean),s=await (null==i.isRTL?void 0:i.isRTL(t)),c=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=cn(c,r,s),f=r,p={},h=0;for(let n=0;n<l.length;n++){let{name:a,fn:m}=l[n],{x:g,y:y,data:v,reset:b}=await m({x:u,y:d,initialPlacement:r,placement:f,strategy:o,middlewareData:p,rects:c,platform:i,elements:{reference:e,floating:t}});u=null!=g?g:u,d=null!=y?y:d,p={...p,[a]:{...p[a],...v}},b&&h<=50&&(h++,"object"==typeof b&&(b.placement&&(f=b.placement),b.rects&&(c=!0===b.rects?await i.getElementRects({reference:e,floating:t,strategy:o}):b.rects),{x:u,y:d}=cn(c,f,s)),n=-1)}return{x:u,y:d,placement:f,strategy:o,middlewareData:p}};async function co(e,t){var n;void 0===t&&(t={});let{x:r,y:o,platform:a,rects:i,elements:l,strategy:s}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=lt(t,e),h=lh(p),m=l[f?"floating"===d?"reference":"floating":d],g=lm(await a.getClippingRect({element:null==(n=await (null==a.isElement?void 0:a.isElement(m)))||n?m:m.contextElement||await (null==a.getDocumentElement?void 0:a.getDocumentElement(l.floating)),boundary:c,rootBoundary:u,strategy:s})),y="floating"===d?{x:r,y:o,width:i.floating.width,height:i.floating.height}:i.reference,v=await (null==a.getOffsetParent?void 0:a.getOffsetParent(l.floating)),b=await (null==a.isElement?void 0:a.isElement(v))&&await (null==a.getScale?void 0:a.getScale(v))||{x:1,y:1},x=lm(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:y,offsetParent:v,strategy:s}):y);return{top:(g.top-x.top+h.top)/b.y,bottom:(x.bottom-g.bottom+h.bottom)/b.y,left:(g.left-x.left+h.left)/b.x,right:(x.right-g.right+h.right)/b.x}}function ca(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function ci(e){return i3.some(t=>e[t]>=0)}let cl=new Set(["left","top"]);async function cs(e,t){let{placement:n,platform:r,elements:o}=e,a=await (null==r.isRTL?void 0:r.isRTL(o.floating)),i=ln(n),l=lr(n),s="y"===ll(n),c=cl.has(i)?-1:1,u=a&&s?-1:1,d=lt(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:h}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return l&&"number"==typeof h&&(p="end"===l?-1*h:h),s?{x:p*u,y:f*c}:{x:f*c,y:p*u}}function cc(e){let t=a6(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,o=aq(e),a=o?e.offsetWidth:n,i=o?e.offsetHeight:r,l=i6(n)!==a||i6(r)!==i;return l&&(n=a,r=i),{width:n,height:r,$:l}}function cu(e){return a$(e)?e:e.contextElement}function cd(e){let t=cu(e);if(!aq(t))return i8(1);let n=t.getBoundingClientRect(),{width:r,height:o,$:a}=cc(t),i=(a?i6(n.width):n.width)/r,l=(a?i6(n.height):n.height)/o;return i&&Number.isFinite(i)||(i=1),l&&Number.isFinite(l)||(l=1),{x:i,y:l}}let cf=i8(0);function cp(e){let t=aH(e);return a3()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:cf}function ch(e,t,n,r){var o,a,i;void 0===t&&(t=!1),void 0===n&&(n=!1);let l=e.getBoundingClientRect(),s=cu(e),c=i8(1);t&&(r?a$(r)&&(c=cd(r)):c=cd(e));let u=(o=s,void 0===(a=n)&&(a=!1),(i=r)&&(!a||i===aH(o))&&a)?cp(s):i8(0),d=(l.left+u.x)/c.x,f=(l.top+u.y)/c.y,p=l.width/c.x,h=l.height/c.y;if(s){let e=aH(s),t=r&&a$(r)?aH(r):r,n=e,o=ie(n);for(;o&&r&&t!==n;){let e=cd(o),t=o.getBoundingClientRect(),r=a6(o),a=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,i=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;d*=e.x,f*=e.y,p*=e.x,h*=e.y,d+=a,f+=i,o=ie(n=aH(o))}}return lm({width:p,height:h,x:d,y:f})}function cm(e,t){let n=a9(e).scrollLeft;return t?t.left+n:ch(aV(e)).left+n}function cg(e,t,n){void 0===n&&(n=!1);let r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-(n?0:cm(e,r));return{x:o,y:r.top+t.scrollTop}}let cy=new Set(["absolute","fixed"]);function cv(e,t,n){var r,o;let a;if("viewport"===t)a=function(e,t){let n=aH(e),r=aV(e),o=n.visualViewport,a=r.clientWidth,i=r.clientHeight,l=0,s=0;if(o){a=o.width,i=o.height;let e=a3();(!e||e&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:a,height:i,x:l,y:s}}(e,n);else if("document"===t){let t,n,o,i,l,s,c;r=aV(e),t=aV(r),n=a9(r),o=r.ownerDocument.body,i=i5(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),l=i5(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight),s=-n.scrollLeft+cm(r),c=-n.scrollTop,"rtl"===a6(o).direction&&(s+=i5(t.clientWidth,o.clientWidth)-i),a={width:i,height:l,x:s,y:c}}else if(a$(t)){let e,r,i,l,s,c,u;r=(e=ch(o=t,!0,"fixed"===n)).top+o.clientTop,i=e.left+o.clientLeft,l=aq(o)?cd(o):i8(1),s=o.clientWidth*l.x,c=o.clientHeight*l.y,u=i*l.x,a={width:s,height:c,x:u,y:r*l.y}}else{let n=cp(e);a={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return lm(a)}function cb(e){return"static"===a6(e).position}function cx(e,t){if(!aq(e)||"fixed"===a6(e).position)return null;if(t)return t(e);let n=e.offsetParent;return aV(e)===n&&(n=n.ownerDocument.body),n}function cw(e,t){var n;let r=aH(e);if(aQ(e))return r;if(!aq(e)){let t=a8(e);for(;t&&!a5(t);){if(a$(t)&&!cb(t))return t;t=a8(t)}return r}let o=cx(e,t);for(;o&&(n=o,aX.has(aF(n)))&&cb(o);)o=cx(o,t);return o&&a5(o)&&cb(o)&&!a2(o)?r:o||function(e){let t=a8(e);for(;aq(t)&&!a5(t);){if(a2(t))return t;if(aQ(t))break;t=a8(t)}return null}(e)||r}let c_=async function(e){let t=this.getOffsetParent||cw,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=aq(t),o=aV(t),a="fixed"===n,i=ch(e,!0,a,t),l={scrollLeft:0,scrollTop:0},s=i8(0);if(r||!r&&!a)if(("body"!==aF(t)||aY(o))&&(l=a9(t)),r){let e=ch(t,!0,a,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else o&&(s.x=cm(o));a&&!r&&o&&(s.x=cm(o));let c=!o||r||a?i8(0):cg(o,l),u=i.left+l.scrollLeft-s.x-c.x;return{x:u,y:i.top+l.scrollTop-s.y-c.y,width:i.width,height:i.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},cj={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e,a="fixed"===o,i=aV(r),l=!!t&&aQ(t.floating);if(r===i||l&&a)return n;let s={scrollLeft:0,scrollTop:0},c=i8(1),u=i8(0),d=aq(r);if((d||!d&&!a)&&(("body"!==aF(r)||aY(i))&&(s=a9(r)),aq(r))){let e=ch(r);c=cd(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=!i||d||a?i8(0):cg(i,s,!0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-s.scrollLeft*c.x+u.x+f.x,y:n.y*c.y-s.scrollTop*c.y+u.y+f.y}},getDocumentElement:aV,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e,a=[..."clippingAncestors"===n?aQ(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=a7(e,[],!1).filter(e=>a$(e)&&"body"!==aF(e)),o=null,a="fixed"===a6(e).position,i=a?a8(e):e;for(;a$(i)&&!a5(i);){let t=a6(i),n=a2(i);n||"fixed"!==t.position||(o=null),(a?!n&&!o:!n&&"static"===t.position&&!!o&&cy.has(o.position)||aY(i)&&!n&&function e(t,n){let r=a8(t);return!(r===n||!a$(r)||a5(r))&&("fixed"===a6(r).position||e(r,n))}(e,i))?r=r.filter(e=>e!==i):o=t,i=a8(i)}return t.set(e,r),r}(t,this._c):[].concat(n),r],i=a[0],l=a.reduce((e,n)=>{let r=cv(t,n,o);return e.top=i5(r.top,e.top),e.right=i4(r.right,e.right),e.bottom=i4(r.bottom,e.bottom),e.left=i5(r.left,e.left),e},cv(t,i,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:cw,getElementRects:c_,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=cc(e);return{width:t,height:n}},getScale:cd,isElement:a$,isRTL:function(e){return"rtl"===a6(e).direction}};function ck(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function cS(e,t,n,r){let o;void 0===r&&(r={});let{ancestorScroll:a=!0,ancestorResize:i=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:c=!1}=r,u=cu(e),d=a||i?[...u?a7(u):[],...a7(t)]:[];d.forEach(e=>{a&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)});let f=u&&s?function(e,t){let n,r=null,o=aV(e);function a(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function i(l,s){void 0===l&&(l=!1),void 0===s&&(s=1),a();let c=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=c;if(l||t(),!f||!p)return;let h=i9(d),m=i9(o.clientWidth-(u+f)),g=i9(o.clientHeight-(d+p)),y={rootMargin:-h+"px "+-m+"px "+-g+"px "+-i9(u)+"px",threshold:i5(0,i4(1,s))||1},v=!0;function b(t){let r=t[0].intersectionRatio;if(r!==s){if(!v)return i();r?i(!1,r):n=setTimeout(()=>{i(!1,1e-7)},1e3)}1!==r||ck(c,e.getBoundingClientRect())||i(),v=!1}try{r=new IntersectionObserver(b,{...y,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(b,y)}r.observe(e)}(!0),a}(u,n):null,p=-1,h=null;l&&(h=new ResizeObserver(e=>{let[r]=e;r&&r.target===u&&h&&(h.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),n()}),u&&!c&&h.observe(u),h.observe(t));let m=c?ch(e):null;return c&&function t(){let r=ch(e);m&&!ck(m,r)&&n(),m=r,o=requestAnimationFrame(t)}(),n(),()=>{var e;d.forEach(e=>{a&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)}),null==f||f(),null==(e=h)||e.disconnect(),h=null,c&&cancelAnimationFrame(o)}}var cO="undefined"!=typeof document,cC=cO?C.useLayoutEffect:function(){};function cP(e,t){let n,r,o;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!cP(e[r],t[r]))return!1;return!0}if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){let n=o[r];if(("_owner"!==n||!e.$$typeof)&&!cP(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function cE(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function cT(e,t){let n=cE(e);return Math.round(t*n)/n}function cN(e){let t=C.useRef(e);return cC(()=>{t.current=e}),t}function cI(e,t,n){let r="inline-start"===e||"inline-end"===e;return({top:"top",right:r?n?"inline-start":"inline-end":"right",bottom:"bottom",left:r?n?"inline-end":"inline-start":"left"})[t]}function cL(e,t,n){let{rects:r,placement:o}=e;return{side:cI(t,ln(o),n),align:lr(o)||"center",anchor:{width:r.reference.width,height:r.reference.height},positioner:{width:r.floating.width,height:r.floating.height}}}function cA(e){var t,n,r,o,a,i,l,s,c,u,d,f,p,h,m,g,y;let v,{anchor:b,positionMethod:x="absolute",side:w="bottom",sideOffset:_=0,align:j="center",alignOffset:k=0,collisionBoundary:S,collisionPadding:O=5,sticky:P=!1,arrowPadding:E=5,trackAnchor:T=!0,keepMounted:N=!1,floatingRootContext:I,mounted:L,collisionAvoidance:A,shiftCrossAxis:z=!1,nodeId:R,adaptiveOrigin:D}=e,M=A.side||"flip",Z=A.align||"flip",U=A.fallbackAxisSide||"end",F="function"==typeof b?b:void 0,H=ak(F),V=F?H:b,B=it(b),$="rtl"===lR(),q={top:"top",right:"right",bottom:"bottom",left:"left","inline-end":$?"left":"right","inline-start":$?"right":"left"}[w],W="center"===j?q:`${q}-${j}`,K={boundary:"clipping-ancestors"===S?"clippingAncestors":S,padding:O},Y=C.useRef(null),X=it(_),G=it(k),Q="function"!=typeof _?_:0,J=[(t=e=>{let t=cL(e,w,$),n="function"==typeof X.current?X.current(t):X.current,r="function"==typeof G.current?G.current(t):G.current;return{mainAxis:n,crossAxis:r,alignmentAxis:r}},n=[Q,"function"!=typeof k?k:0,$,w],{...(void 0===(r=t)&&(r=0),{name:"offset",options:r,async fn(e){var t,n;let{x:o,y:a,placement:i,middlewareData:l}=e,s=await cs(e,r);return i===(null==(t=l.offset)?void 0:t.placement)&&null!=(n=l.arrow)&&n.alignmentOffset?{}:{x:o+s.x,y:a+s.y,data:{...s,placement:i}}}}),options:[t,n]})],ee="none"===Z&&"shift"!==M,et=!ee&&(P||z||"shift"===M),en="none"===M?null:{...{name:"flip",options:i=o={...K,mainAxis:!z&&"flip"===M,crossAxis:"flip"===Z&&"alignment",fallbackAxisSideDirection:U},async fn(e){var t,n,r,o,a,l,s,c,u,d,f,p,h;let m,g,y,{placement:v,middlewareData:b,rects:x,initialPlacement:w,platform:_,elements:j}=e,{mainAxis:k=!0,crossAxis:S=!0,fallbackPlacements:O,fallbackStrategy:C="bestFit",fallbackAxisSideDirection:P="none",flipAlignment:E=!0,...T}=lt(i,e);if(null!=(t=b.arrow)&&t.alignmentOffset)return{};let N=ln(v),I=ll(w),L=ln(w)===w,A=await (null==_.isRTL?void 0:_.isRTL(j.floating)),z=O||(L||!E?[lp(w)]:(m=lp(l=w),[ls(l),m,ls(m)])),R="none"!==P;!O&&R&&z.push(...(s=w,c=E,u=P,d=A,g=lr(s),y=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?lu:lc;return t?lc:lu;case"left":case"right":return t?ld:lf;default:return[]}}(ln(s),"start"===u,d),g&&(y=y.map(e=>e+"-"+g),c&&(y=y.concat(y.map(ls)))),y));let D=[w,...z],M=await co(e,T),Z=[],U=(null==(n=b.flip)?void 0:n.overflows)||[];if(k&&Z.push(M[N]),S){let e,t,n,r,o=(f=v,p=x,void 0===(h=A)&&(h=!1),e=lr(f),t=lo(ll(f)),n=la(t),r="x"===t?e===(h?"end":"start")?"right":"left":"start"===e?"bottom":"top",p.reference[n]>p.floating[n]&&(r=lp(r)),[r,lp(r)]);Z.push(M[o[0]],M[o[1]])}if(U=[...U,{placement:v,overflows:Z}],!Z.every(e=>e<=0)){let e=((null==(r=b.flip)?void 0:r.index)||0)+1,t=D[e];if(t&&("alignment"!==S||I===ll(t)||U.every(e=>ll(e.placement)!==I||e.overflows[0]>0)))return{data:{index:e,overflows:U},reset:{placement:t}};let n=null==(o=U.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(C){case"bestFit":{let e=null==(a=U.filter(e=>{if(R){let t=ll(e.placement);return t===I||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:a[0];e&&(n=e);break}case"initialPlacement":n=w}if(v!==n)return{reset:{placement:n}}}return{}}},options:[o,a]},er=ee?null:(l=e=>{var t,n,r;let o=lD(e.elements.floating).documentElement;return{...K,rootBoundary:z?{x:0,y:0,width:o.clientWidth,height:o.clientHeight}:void 0,mainAxis:"none"!==Z,crossAxis:et,limiter:P||z?void 0:{...(void 0===(r=t=()=>{if(!Y.current)return{};let{height:e}=Y.current.getBoundingClientRect();return{offset:e/2+("number"==typeof O?O:0)}})&&(r={}),{options:r,fn(e){let{x:t,y:n,placement:o,rects:a,middlewareData:i}=e,{offset:l=0,mainAxis:s=!0,crossAxis:c=!0}=lt(r,e),u={x:t,y:n},d=ll(o),f=lo(d),p=u[f],h=u[d],m=lt(l,e),g="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(s){let e="y"===f?"height":"width",t=a.reference[f]-a.floating[e]+g.mainAxis,n=a.reference[f]+a.reference[e]-g.mainAxis;p<t?p=t:p>n&&(p=n)}if(c){var y,v;let e="y"===f?"width":"height",t=cl.has(ln(o)),n=a.reference[d]-a.floating[e]+(t&&(null==(y=i.offset)?void 0:y[d])||0)+(t?0:g.crossAxis),r=a.reference[d]+a.reference[e]+(t?0:(null==(v=i.offset)?void 0:v[d])||0)-(t?g.crossAxis:0);h<n?h=n:h>r&&(h=r)}return{[f]:p,[d]:h}}}),options:[t,n]}}},s=[K,P,z,O,Z],{...(void 0===(c=l)&&(c={}),{name:"shift",options:c,async fn(e){let{x:t,y:n,placement:r}=e,{mainAxis:o=!0,crossAxis:a=!1,limiter:i={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=lt(c,e),s={x:t,y:n},u=await co(e,l),d=ll(ln(r)),f=lo(d),p=s[f],h=s[d];if(o){let e="y"===f?"top":"left",t="y"===f?"bottom":"right",n=p+u[e],r=p-u[t];p=i5(n,i4(p,r))}if(a){let e="y"===d?"top":"left",t="y"===d?"bottom":"right",n=h+u[e],r=h-u[t];h=i5(n,i4(h,r))}let m=i.fn({...e,[f]:p,[d]:h});return{...m,data:{x:m.x-t,y:m.y-n,enabled:{[f]:o,[d]:a}}}}}),options:[l,s]});"shift"===M||"shift"===Z||"center"===j?J.push(er,en):J.push(en,er),J.push({...{name:"size",options:f=u={...K,apply({elements:{floating:e},rects:{reference:t},availableWidth:n,availableHeight:r}){Object.entries({"--available-width":`${n}px`,"--available-height":`${r}px`,"--anchor-width":`${t.width}px`,"--anchor-height":`${t.height}px`}).forEach(([t,n])=>{e.style.setProperty(t,n)})}},async fn(e){var t,n;let r,o,{placement:a,rects:i,platform:l,elements:s}=e,{apply:c=()=>{},...u}=lt(f,e),d=await co(e,u),p=ln(a),h=lr(a),m="y"===ll(a),{width:g,height:y}=i.floating;"top"===p||"bottom"===p?(r=p,o=h===(await (null==l.isRTL?void 0:l.isRTL(s.floating))?"start":"end")?"left":"right"):(o=p,r="end"===h?"top":"bottom");let v=y-d.top-d.bottom,b=g-d.left-d.right,x=i4(y-d[r],v),w=i4(g-d[o],b),_=!e.middlewareData.shift,j=x,k=w;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(k=b),null!=(n=e.middlewareData.shift)&&n.enabled.y&&(j=v),_&&!h){let e=i5(d.left,0),t=i5(d.right,0),n=i5(d.top,0),r=i5(d.bottom,0);m?k=g-2*(0!==e||0!==t?e+t:i5(d.left,d.right)):j=y-2*(0!==n||0!==r?n+r:i5(d.top,d.bottom))}await c({...e,availableWidth:k,availableHeight:j});let S=await l.getDimensions(s.floating);return g!==S.width||y!==S.height?{reset:{rects:!0}}:{}}},options:[u,d]},(p=()=>({element:Y.current||document.createElement("div"),padding:E,offsetParent:"floating"}),h=[E],{...{name:"arrow",options:v=p,async fn(e){let{x:t,y:n,placement:r,rects:o,platform:a,elements:i,middlewareData:l}=e,{element:s,padding:c=0,offsetParent:u="real"}=lt(v,e)||{};if(null==s)return{};let d=lh(c),f={x:t,y:n},p=lo(ll(r)),h=la(p),m=await a.getDimensions(s),g="y"===p,y=g?"clientHeight":"clientWidth",b=o.reference[h]+o.reference[p]-f[p]-o.floating[h],x=f[p]-o.reference[p],w="real"===u?await a.getOffsetParent?.(s):i.floating,_=i.floating[y]||o.floating[h];_&&await a.isElement?.(w)||(_=i.floating[y]||o.floating[h]);let j=_/2-m[h]/2-1,k=Math.min(d[g?"top":"left"],j),S=Math.min(d[g?"bottom":"right"],j),O=_-m[h]-S,C=_/2-m[h]/2+(b/2-x/2),P=i5(k,i4(C,O)),E=!l.arrow&&null!=lr(r)&&C!==P&&o.reference[h]/2-(C<k?k:S)-m[h]/2<0,T=E?C<k?C-k:C-O:0;return{[p]:f[p]+T,data:{[p]:P,centerOffset:C-P-T,...E&&{alignmentOffset:T}},reset:E}}},options:[p,h]}),{...(void 0===(y=m)&&(y={}),{name:"hide",options:y,async fn(e){let{rects:t}=e,{strategy:n="referenceHidden",...r}=lt(y,e);switch(n){case"referenceHidden":{let n=ca(await co(e,{...r,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:ci(n)}}}case"escaped":{let n=ca(await co(e,{...r,altBoundary:!0}),t.floating);return{data:{escapedOffsets:n,escaped:ci(n)}}}default:return{}}}}),options:[m,g]},{name:"transformOrigin",fn(e){let{elements:t,middlewareData:n,placement:r,rects:o,y:a}=e,i=ln(r),l=ll(i),s=Y.current,c=n.arrow?.x||0,u=n.arrow?.y||0,d=s?.clientWidth||0,f=s?.clientHeight||0,p=c+d/2,h=u+f/2,m=Math.abs(n.shift?.y||0),g=o.reference.height/2,y=m>("function"==typeof _?_(cL(e,w,$)):_),v={top:`${p}px calc(100% + ${_}px)`,bottom:`${p}px ${-_}px`,left:`calc(100% + ${_}px) ${h}px`,right:`${-_}px ${h}px`}[i],b=`${p}px ${o.reference.y+g-a}px`;return t.floating.style.setProperty("--transform-origin",et&&"y"===l&&y?b:v),{}}},D);let eo=I;!L&&I&&(eo={...I,elements:{reference:null,floating:null,domReference:null}});let ea=C.useMemo(()=>({elementResize:T&&"undefined"!=typeof ResizeObserver,layoutShift:T&&"undefined"!=typeof IntersectionObserver}),[T]),{refs:ei,elements:el,x:es,y:ec,middlewareData:eu,update:ed,placement:ef,context:ep,isPositioned:eh,floatingStyles:em}=function(e={}){let{nodeId:t}=e,n=aZ({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,o=r.elements,[a,i]=C.useState(null),[l,s]=C.useState(null),c=o?.domReference||a,u=C.useRef(null),d=C.useContext(az);aL(()=>{c&&(u.current=c)},[c]);let f=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:a,floating:i}={},transform:l=!0,whileElementsMounted:s,open:c}=e,[u,d]=C.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,p]=C.useState(r);cP(f,r)||p(r);let[h,m]=C.useState(null),[g,y]=C.useState(null),v=C.useCallback(e=>{e!==_.current&&(_.current=e,m(e))},[]),b=C.useCallback(e=>{e!==j.current&&(j.current=e,y(e))},[]),x=a||h,w=i||g,_=C.useRef(null),j=C.useRef(null),k=C.useRef(u),S=null!=s,O=cN(s),P=cN(o),E=cN(c),T=C.useCallback(()=>{var e,r,o;let a,i,l;if(!_.current||!j.current)return;let s={placement:t,strategy:n,middleware:f};P.current&&(s.platform=P.current),(e=_.current,r=j.current,o=s,a=new Map,l={...(i={platform:cj,...o}).platform,_c:a},cr(e,r,{...i,platform:l})).then(e=>{let t={...e,isPositioned:!1!==E.current};N.current&&!cP(k.current,t)&&(k.current=t,ex.flushSync(()=>{d(t)}))})},[f,t,n,P,E]);cC(()=>{!1===c&&k.current.isPositioned&&(k.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[c]);let N=C.useRef(!1);cC(()=>(N.current=!0,()=>{N.current=!1}),[]),cC(()=>{if(x&&(_.current=x),w&&(j.current=w),x&&w){if(O.current)return O.current(x,w,T);T()}},[x,w,T,O,S]);let I=C.useMemo(()=>({reference:_,floating:j,setReference:v,setFloating:b}),[v,b]),L=C.useMemo(()=>({reference:x,floating:w}),[x,w]),A=C.useMemo(()=>{let e={position:n,left:0,top:0};if(!L.floating)return e;let t=cT(L.floating,u.x),r=cT(L.floating,u.y);return l?{...e,transform:"translate("+t+"px, "+r+"px)",...cE(L.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,l,L.floating,u.x,u.y]);return C.useMemo(()=>({...u,update:T,refs:I,elements:L,floatingStyles:A}),[u,T,I,L,A])}({...e,elements:{...o,...l&&{reference:l}}}),p=C.useCallback(e=>{let t=a$(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;s(t),f.refs.setReference(t)},[f.refs]),h=C.useCallback(e=>{(a$(e)||null===e)&&(u.current=e,i(e)),(a$(f.refs.reference.current)||null===f.refs.reference.current||null!==e&&!a$(e))&&f.refs.setReference(e)},[f.refs]),m=C.useMemo(()=>({...f.refs,setReference:h,setPositionReference:p,domReference:u}),[f.refs,h,p]),g=C.useMemo(()=>({...f.elements,domReference:c}),[f.elements,c]),y=C.useMemo(()=>({...f,...r,refs:m,elements:g,nodeId:t}),[f,m,g,t,r]);return aL(()=>{r.dataRef.current.floatingContext=y;let e=d?.nodesRef.current.find(e=>e.id===t);e&&(e.context=y)}),C.useMemo(()=>({...f,context:y,refs:m,elements:g}),[f,m,g,y])}({rootContext:eo,placement:W,middleware:J,strategy:x,whileElementsMounted:N?void 0:(...e)=>cS(...e,ea),nodeId:R}),{sideX:eg,sideY:ey}=eu.adaptiveOrigin||{},ev=C.useMemo(()=>D?{position:x,[eg]:`${es}px`,[ey]:`${ec}px`}:em,[D,eg,ey,x,es,ec,em]),eb=C.useRef(null);aL(()=>{if(!L)return;let e=B.current,t="function"==typeof e?e():e,n=(cz(t)?t.current:t)||null;n!==eb.current&&(ei.setPositionReference(n),eb.current=n)},[L,ei,V,B]),C.useEffect(()=>{if(!L)return;let e=B.current;"function"!=typeof e&&cz(e)&&e.current!==eb.current&&(ei.setPositionReference(e.current),eb.current=e.current)},[L,ei,V,B]),C.useEffect(()=>{if(N&&L&&el.domReference&&el.floating)return cS(el.domReference,el.floating,ed,ea)},[N,L,el,ed,ea]);let ew=cI(w,ln(ef),$),e_=lr(ef)||"center",ej=!!eu.hide?.referenceHidden,ek=C.useMemo(()=>({position:"absolute",top:eu.arrow?.y,left:eu.arrow?.x}),[eu.arrow]),eS=eu.arrow?.centerOffset!==0;return C.useMemo(()=>({positionerStyles:ev,arrowStyles:ek,arrowRef:Y,arrowUncentered:eS,side:ew,align:e_,anchorHidden:ej,refs:ei,context:ep,isPositioned:eh,update:ed}),[ev,ek,Y,eS,ew,e_,ej,ei,ep,eh,ed])}function cz(e){return null!=e&&"current"in e}function cR(e){let{children:t,elementsRef:n,labelsRef:r,onMapChange:o}=e,a=C.useRef(0),i=ay(cM).current,l=ay(cD).current,[s,c]=C.useState(0),u=C.useRef(s),d=ak((e,t)=>{l.set(e,t??null),u.current+=1,c(u.current)}),f=ak(e=>{l.delete(e),u.current+=1,c(u.current)}),p=C.useMemo(()=>{let e=new Map;return Array.from(l.keys()).sort(cZ).forEach((t,n)=>{let r=l.get(t)??{};e.set(t,{...r,index:n})}),e},[l,s]);aL(()=>{u.current===s&&(n.current.length!==p.size&&(n.current.length=p.size),r&&r.current.length!==p.size&&(r.current.length=p.size)),o?.(p)},[o,p,n,r,s,u]);let h=ak(e=>(i.add(e),()=>{i.delete(e)}));aL(()=>{i.forEach(e=>e(p))},[i,p]);let m=C.useMemo(()=>({register:d,unregister:f,subscribeMapChange:h,elementsRef:n,labelsRef:r,nextIndexRef:a}),[d,f,h,n,r,a]);return(0,S.jsx)(sv.Provider,{value:m,children:t})}function cD(){return new Map}function cM(){return new Set}function cZ(e,t){let n=e.compareDocumentPosition(t);return n&Node.DOCUMENT_POSITION_FOLLOWING||n&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:n&Node.DOCUMENT_POSITION_PRECEDING||n&Node.DOCUMENT_POSITION_CONTAINS?1:0}let cU=C.forwardRef(function(e,t){let n,{cutout:r,...o}=e;if(r){let e=r?.getBoundingClientRect();n=`polygon( - 0% 0%, - 100% 0%, - 100% 100%, - 0% 100%, - 0% 0%, - ${e.left}px ${e.top}px, - ${e.left}px ${e.bottom}px, - ${e.right}px ${e.bottom}px, - ${e.right}px ${e.top}px, - ${e.left}px ${e.top}px - )`}return(0,S.jsx)("div",{ref:t,role:"presentation","data-base-ui-inert":"",...o,style:{position:"fixed",inset:0,userSelect:"none",WebkitUserSelect:"none",clipPath:n}})}),cF=C.forwardRef(function(e,t){var n;let r,o,a,i,{anchor:l,positionMethod:s="absolute",className:c,render:u,side:d,align:f,sideOffset:p=0,alignOffset:h=0,collisionBoundary:m="clipping-ancestors",collisionPadding:g=5,arrowPadding:y=5,sticky:v=!1,trackAnchor:b=!0,collisionAvoidance:x=iG,...w}=e,{open:_,setOpen:j,floatingRootContext:k,setPositionerElement:O,itemDomElements:P,itemLabels:E,mounted:T,modal:N,lastOpenChangeReason:I,parent:L,setHoverEnabled:A,triggerElement:z}=lN(),R=function(){let e=C.useContext(s7);if(void 0===e)throw Error("Base UI: <Menu.Portal> is missing.");return e}(),D=(r=aN(),o=C.useContext(az),i=a=aR(),aL(()=>{if(!r)return;let e={id:r,parentId:i};return o?.addNode(e),()=>{o?.removeNode(e)}},[o,r,i]),r),M=aR(),Z=lq(!0),U=l,F=p,H=h,V=f;"context-menu"===L.type&&(U=L.context?.anchor??l,V=e.align??"start",H=e.alignOffset??2,F=e.sideOffset??-5);let B=d,$=V;"menu"===L.type?(B=B??"inline-end",$=$??"start"):"menubar"===L.type&&(B=B??"bottom",$=$??"start");let q="context-menu"===L.type,W=cA({anchor:U,floatingRootContext:k,positionMethod:Z?"fixed":s,mounted:T,side:B,sideOffset:F,align:$,alignOffset:H,arrowPadding:q?0:y,collisionBoundary:m,collisionPadding:g,sticky:v,nodeId:D,keepMounted:R,trackAnchor:b,collisionAvoidance:x,shiftCrossAxis:q}),{events:K}=C.useContext(az),Y=C.useMemo(()=>{let e={};return _||(e.pointerEvents="none"),{role:"presentation",hidden:!T,style:{...W.positionerStyles,...e}}},[_,T,W.positionerStyles]);C.useEffect(()=>{function e(e){e.open?(e.parentNodeId===D&&A(!1),e.nodeId!==D&&e.parentNodeId===M&&j(!1,void 0,"sibling-open")):e.parentNodeId===D&&A(!0)}return K.on("openchange",e),()=>{K.off("openchange",e)}},[K,D,M,j,A]),C.useEffect(()=>{K.emit("openchange",{open:_,nodeId:D,parentNodeId:M})},[K,_,D,M]);let X=C.useMemo(()=>({open:_,side:W.side,align:W.align,anchorHidden:W.anchorHidden,nested:"menu"===L.type}),[_,W.side,W.align,W.anchorHidden,L.type]),G=C.useMemo(()=>({side:W.side,align:W.align,arrowRef:W.arrowRef,arrowUncentered:W.arrowUncentered,arrowStyles:W.arrowStyles,floatingContext:W.context}),[W.side,W.align,W.arrowRef,W.arrowUncentered,W.arrowStyles,W.context]),Q=sp("div",e,{state:X,customStyleHookMapping:sd,ref:[t,O],props:{...Y,...w}}),J=T&&"menu"!==L.type&&("menubar"!==L.type&&N&&"trigger-hover"!==I||"menubar"===L.type&&L.context.modal),ee=null;return"menubar"===L.type?ee=L.context.contentElement:void 0===L.type&&(ee=z),(0,S.jsxs)(ct.Provider,{value:G,children:[J&&(0,S.jsx)(cU,{ref:"context-menu"===L.type||"nested-context-menu"===L.type?L.context.internalBackdropRef:null,inert:(n=!_,sf>=19?n:n?"true":void 0),cutout:ee}),(0,S.jsx)(aD,{id:D,children:(0,S.jsx)(cR,{elementsRef:P,labelsRef:E,children:Q})})]})}),cH={inert:new WeakMap,"aria-hidden":new WeakMap,none:new WeakMap};function cV(e){return"inert"===e?cH.inert:"aria-hidden"===e?cH["aria-hidden"]:cH.none}let cB=new WeakSet,c$={},cq=0,cW=e=>e&&(e.host||cW(e.parentNode)),cK=[];function cY(){cK=cK.filter(e=>e.isConnected)}function cX(){return cY(),cK[cK.length-1]}function cG(e,t){if(!t.current.includes("floating")&&!e.getAttribute("role")?.includes("dialog"))return;let n=sQ(),r=sX(e,n).filter(e=>{let t=e.getAttribute("data-tabindex")||"";return sG(e,n)||e.hasAttribute("data-tabindex")&&!t.startsWith("-")}),o=e.getAttribute("tabindex");t.current.includes("floating")||0===r.length?"0"!==o&&e.setAttribute("tabindex","0"):("-1"!==o||e.hasAttribute("data-tabindex")&&"-1"!==e.getAttribute("data-tabindex"))&&(e.setAttribute("tabindex","-1"),e.setAttribute("data-tabindex","-1"))}function cQ(e){let{context:t,children:n,disabled:r=!1,order:o=["content"],initialFocus:a=0,returnFocus:i=!0,restoreFocus:l=!1,modal:s=!0,closeOnFocusOut:c=!0,getInsideElements:u=()=>[]}=e,{open:d,onOpenChange:f,events:p,dataRef:h,elements:{domReference:m,floating:g}}=t,y=ak(()=>h.current.floatingContext?.nodeId),v=ak(u),b="number"==typeof a&&a<0,x=iI(m)&&b,w=it(o),_=it(a),j=it(i),k=C.useContext(az),O=C.useContext(s5),P=C.useRef(null),E=C.useRef(null),T=C.useRef(!1),N=C.useRef(!1),I=C.useRef(-1),L=aw(),A=null!=O,z=iL(g),R=ak((e=z)=>e?sY(e,sQ()):[]),D=ak(e=>{let t=R(e);return w.current.map(()=>t).filter(Boolean).flat()});C.useEffect(()=>{if(r||!s)return;function e(e){"Tab"===e.key&&iC(z,iO(iT(z)))&&0===R().length&&!x&&im(e)}let t=iT(z);return t.addEventListener("keydown",e),()=>{t.removeEventListener("keydown",e)}},[r,m,z,s,w,x,R,D]),C.useEffect(()=>{if(!r&&g)return g.addEventListener("focusin",e),()=>{g.removeEventListener("focusin",e)};function e(e){let t=iP(e),n=R().indexOf(t);-1!==n&&(I.current=n)}},[r,g,R]),C.useEffect(()=>{if(r||!c)return;function e(){N.current=!0}function t(e){let t=e.relatedTarget,n=e.currentTarget,r=iP(e);queueMicrotask(()=>{let o=y(),a=!(iC(m,t)||iC(g,t)||iC(t,g)||iC(O?.portalNode,t)||t?.hasAttribute(iA("focus-guard"))||k&&(iZ(k.nodesRef.current,o).find(e=>iC(e.context?.elements.floating,t)||iC(e.context?.elements.domReference,t))||iU(k.nodesRef.current,o).find(e=>[e.context?.elements.floating,iL(e.context?.elements.floating)].includes(t)||e.context?.elements.domReference===t)));if(n===m&&z&&cG(z,w),l&&n!==m&&!r?.isConnected&&iO(iT(z))===iT(z).body){aq(z)&&z.focus();let e=I.current,t=R(),n=t[e]||t[t.length-1]||z;aq(n)&&n.focus()}if(h.current.insideReactTree){h.current.insideReactTree=!1;return}if(N.current){N.current=!1;return}(x||!s)&&t&&a&&t!==cX()&&(T.current=!0,f(!1,e,"focus-out"))})}let n=!!(!k&&O);function o(){h.current.insideReactTree=!0,L.start(0,()=>{h.current.insideReactTree=!1})}if(g&&aq(m))return m.addEventListener("focusout",t),m.addEventListener("pointerdown",e),g.addEventListener("focusout",t),n&&g.addEventListener("focusout",o,!0),()=>{m.removeEventListener("focusout",t),m.removeEventListener("pointerdown",e),g.removeEventListener("focusout",t),n&&g.removeEventListener("focusout",o,!0)}},[r,m,g,z,s,k,O,f,c,l,R,x,y,w,h,L]);let M=C.useRef(null),Z=C.useRef(null),U=l5(M,O?.beforeInsideRef),F=l5(Z,O?.afterInsideRef);C.useEffect(()=>{if(r||!g)return;let e=Array.from(O?.portalNode?.querySelectorAll(`[${iA("portal")}]`)||[]),t=k?iU(k.nodesRef.current,y()):[],n=function(e,t=!1,n=!1){var r,o,a;let i,l,s,c,u,d,f,p,h=iT(e[0]).body;return r=e.concat(Array.from(h.querySelectorAll("[aria-live]"))),o=h,a=t,i="data-base-ui-inert",l=n?"inert":a?"aria-hidden":null,s=o,c=r.map(e=>{if(s.contains(e))return e;let t=cW(e);return s.contains(t)?t:null}).filter(e=>null!=e),u=new Set,d=new Set(c),f=[],c$[i]||(c$[i]=new WeakMap),p=c$[i],c.forEach(function e(t){!(!t||u.has(t))&&(u.add(t),t.parentNode&&e(t.parentNode))}),function e(t){!t||d.has(t)||[].forEach.call(t.children,t=>{if("script"!==aF(t))if(u.has(t))e(t);else{let e=l?t.getAttribute(l):null,n=null!==e&&"false"!==e,r=cV(l),o=(r.get(t)||0)+1,a=(p.get(t)||0)+1;r.set(t,o),p.set(t,a),f.push(t),1===o&&n&&cB.add(t),1===a&&t.setAttribute(i,""),!n&&l&&t.setAttribute(l,"inert"===l?"":"true")}})}(o),u.clear(),cq+=1,()=>{f.forEach(e=>{let t=cV(l),n=(t.get(e)||0)-1,r=(p.get(e)||0)-1;t.set(e,n),p.set(e,r),n||(!cB.has(e)&&l&&e.removeAttribute(l),cB.delete(e)),r||e.removeAttribute(i)}),(cq-=1)||(cH.inert=new WeakMap,cH["aria-hidden"]=new WeakMap,cH.none=new WeakMap,cB=new WeakSet,c$={})}}([g,t.find(e=>iI(e.context?.elements.domReference||null))?.context?.elements.domReference,...e,...v(),P.current,E.current,M.current,Z.current,O?.beforeOutsideRef.current,O?.afterOutsideRef.current,x?m:null].filter(e=>null!=e),s||x);return()=>{n()}},[r,m,g,s,w,O,x,k,y,v]),aL(()=>{if(r||!aq(z))return;let e=iO(iT(z));queueMicrotask(()=>{let t=D(z),n=_.current,r=("number"==typeof n?t[n]:n.current)||z,o=iC(z,e);b||o||!d||lj(r,{preventScroll:r===z})})},[r,d,z,b,D,_]),aL(()=>{var e;if(r||!z)return;let t=iT(z);function n({reason:e,event:t,nested:n}){if(["hover","safe-polygon"].includes(e)&&"mouseleave"===t.type&&(T.current=!0),"outside-press"===e)if(n)T.current=!1;else if(ig(t)||iy(t))T.current=!1;else{let e=!1;document.createElement("div").focus({get preventScroll(){return e=!0,!1}}),e?T.current=!1:T.current=!0}}e=iO(t),cY(),e&&"body"!==aF(e)&&(cK.push(e),cK.length>20&&(cK=cK.slice(-20))),p.on("openchange",n);let o=t.createElement("span");return o.setAttribute("tabindex","-1"),o.setAttribute("aria-hidden","true"),Object.assign(o.style,sj),A&&m&&m.insertAdjacentElement("afterend",o),()=>{p.off("openchange",n);let e=iO(t),r=iC(g,e)||k&&iZ(k.nodesRef.current,y(),!1).some(t=>iC(t.context?.elements.floating,e)),a=function(){if("boolean"==typeof j.current){let e=m||cX();return e&&e.isConnected?e:o}return j.current.current||o}();queueMicrotask(()=>{var n;let i,l=(n=a,i=sQ(),sG(n,i)?n:sY(n,i)[0]||n);j.current&&!T.current&&aq(l)&&(l===e||e===t.body||r)&&l.focus({preventScroll:!0}),o.remove()})}},[r,g,z,j,h,p,k,A,m,y]),C.useEffect(()=>{queueMicrotask(()=>{T.current=!1})},[r]),C.useEffect(()=>{if(r||!d)return;function e(e){let t=iP(e);t?.closest("[data-base-ui-click-trigger]")&&(N.current=!0)}let t=iT(z);return t.addEventListener("pointerdown",e,!0),()=>{t.removeEventListener("pointerdown",e,!0)}},[r,d,z]),aL(()=>{if(!r&&O)return O.setFocusManagerState({modal:s,closeOnFocusOut:c,open:d,onOpenChange:f,domReference:m}),()=>{O.setFocusManagerState(null)}},[r,O,s,d,f,c,m]),aL(()=>{if(!r&&z)return cG(z,w),()=>{queueMicrotask(cY)}},[r,z,w]);let H=!r&&(!s||!x)&&(A||s);return(0,S.jsxs)(C.Fragment,{children:[H&&(0,S.jsx)(sk,{"data-type":"inside",ref:U,onFocus:e=>{if(s){let e=D();lj(e[e.length-1])}else if(O?.preserveTabOrder&&O.portalNode)if(T.current=!1,s2(e,O.portalNode)){let e=s0(m);e?.focus()}else O.beforeOutsideRef.current?.focus()}}),n,H&&(0,S.jsx)(sk,{"data-type":"inside",ref:F,onFocus:e=>{if(s)lj(D()[0]);else if(O?.preserveTabOrder&&O.portalNode)if(c&&(T.current=!0),s2(e,O.portalNode)){let e=s1(m);e?.focus()}else O.afterOutsideRef.current?.focus()}})]})}let cJ={...sd,...st},c0=C.forwardRef(function(e,t){let{render:n,className:r,finalFocus:o,...a}=e,{open:i,setOpen:l,popupRef:s,transitionStatus:c,popupProps:u,mounted:d,instantType:f,onOpenChangeComplete:p,parent:h,lastOpenChangeReason:m,rootId:g}=lN(),{side:y,align:v,floatingContext:b}=function(){let e=C.useContext(ct);if(void 0===e)throw Error("Base UI: MenuPositionerContext is missing. MenuPositioner parts must be placed within <Menu.Positioner>.");return e}();lA({open:i,ref:s,onComplete(){i&&p?.(!0)}});let{events:x}=C.useContext(az);C.useEffect(()=>{function e(e){l(!1,e.domEvent,e.reason)}return x.on("close",e),()=>{x.off("close",e)}},[x,l]);let w=sp("div",e,{state:C.useMemo(()=>({transitionStatus:c,side:y,align:v,open:i,nested:"menu"===h.type,instant:f}),[c,y,v,i,h.type,f]),ref:[t,s],customStyleHookMapping:cJ,props:[u,"starting"===c?iK:iY,a,{"data-rootownerid":g}]}),_=void 0===h.type||"context-menu"===h.type;return"menubar"===h.type&&"outside-press"!==m&&(_=!0),(0,S.jsx)(cQ,{context:b,modal:!1,disabled:!d,returnFocus:o||_,initialFocus:"menu"===h.type?-1:0,restoreFocus:!0,children:w})}),c1=C.createContext(void 0),c2=C.forwardRef(function(e,t){let{render:n,className:r,...o}=e,[a,i]=C.useState(void 0),l=C.useMemo(()=>({setLabelId:i}),[i]),s=sp("div",e,{ref:t,props:{role:"group","aria-labelledby":a,...o}});return(0,S.jsx)(c1.Provider,{value:l,children:s})});function c3(e){return aN(e,"base-ui")}let c4=C.forwardRef(function(e,t){let{className:n,render:r,id:o,...a}=e,i=c3(o),{setLabelId:l}=function(){let e=C.useContext(c1);if(void 0===e)throw Error("Base UI: MenuGroupRootContext is missing. Menu group parts must be used within <Menu.Group>.");return e}();return aL(()=>(l(i),()=>{l(void 0)}),[l,i]),sp("div",e,{ref:t,props:{id:i,role:"presentation",...a}})}),c5={type:"regular-item"},c6=C.memo(C.forwardRef(function(e,t){let{className:n,closeOnClick:r=!0,disabled:o=!1,highlighted:a,id:i,menuEvents:l,itemProps:s,render:c,allowMouseUpTriggerRef:u,typingRef:d,nativeButton:f,...p}=e,{getItemProps:h,itemRef:m}=function(e){let{closeOnClick:t,disabled:n=!1,highlighted:r,id:o,menuEvents:a,allowMouseUpTriggerRef:i,typingRef:l,nativeButton:s,itemMetadata:c}=e,u=C.useRef(null),{getButtonProps:d,buttonRef:f}=sy({disabled:n,focusableWhenDisabled:!0,native:s}),p=C.useCallback(e=>lX({id:o,role:"menuitem",tabIndex:r?0:-1,onMouseEnter(){"submenu-trigger"===c.type&&c.setActive()},onKeyUp:e=>{" "===e.key&&l.current&&e.preventBaseUIHandler()},onClick:e=>{t&&a.emit("close",{domEvent:e,reason:"item-press"})},onMouseUp:()=>{u.current&&i.current&&"regular-item"===c.type&&u.current.click()}},e,d),[o,r,d,l,t,a,i,c]),h=l5(u,f);return C.useMemo(()=>({getItemProps:p,itemRef:h}),[p,h])}({closeOnClick:r,disabled:o,highlighted:a,id:i,menuEvents:l,allowMouseUpTriggerRef:u,typingRef:d,nativeButton:f,itemMetadata:c5});return sp("div",e,{state:C.useMemo(()=>({disabled:o,highlighted:a}),[o,a]),ref:[m,t],props:[s,p,h]})})),c9=C.forwardRef(function(e,t){let{id:n,label:r,nativeButton:o=!1,...a}=e,i=C.useRef(null),l=sx({label:r}),s=l5(t,l.ref,i),{itemProps:c,activeIndex:u,allowMouseUpTriggerRef:d,typingRef:f}=lN(),p=c3(n),h=l.index===u,{events:m}=C.useContext(az);return(0,S.jsx)(c6,{...a,id:p,ref:s,highlighted:h,menuEvents:m,itemProps:c,allowMouseUpTriggerRef:d,typingRef:f,nativeButton:o})});var c8="__next_builtin__";function c7(e){return e.replace(new RegExp("^".concat(c8)),"").replace(new RegExp("".concat("@boundary","$")),"")}var ue="boundary:";function ut(e){return e.startsWith(ue)}function un(e){return e.replace(ue,"")}function ur(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function uo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}function ua(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function ui(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ur(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ur(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var ul=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){t.forEach(function(t){"function"==typeof t?t(e):t&&(t.current=e)})}};function us(e){var t,n=e.nodeState,r=e.boundaries,o=n.pagePath,a=n.boundaryType,i=n.setBoundaryType,l=ui((0,C.useState)(!1),2),s=l[0],c=l[1],u=dw().shadowRoot,d=(0,C.useRef)(null),f=(0,C.useRef)(null);ns(f,d,s,function(){c(!1)},null==(t=d.current)?void 0:t.ownerDocument);var p=(Object.values(r).find(function(e){return null!==e})||"").split(".").pop()||"js",h=(0,C.useMemo)(function(){return Object.fromEntries(Object.entries(r).map(function(e){var t=ui(e,2),n=t[0],r=c7((t[1]||"").split("/").pop()||"".concat(n,".").concat(p));return[n,r]}))},[r,p]),m=(o||"").split("/").pop()||"",g=c7(a?"page.".concat(p):m||"page.".concat(p)),y=[{label:h.loading,value:"loading",icon:(0,S.jsx)(uc,{}),disabled:!r.loading},{label:h.error,value:"error",icon:(0,S.jsx)(uu,{}),disabled:!r.error},{label:h["not-found"],value:"not-found",icon:(0,S.jsx)(ud,{}),disabled:!r["not-found"]}],v={label:a?"Reset":g,value:"reset",icon:(0,S.jsx)(uf,{}),disabled:null===a},b=(0,C.useCallback)(function(e){var t=new URLSearchParams({file:e.filePath,isAppRelativePath:"1"});fetch("".concat(process.env.__NEXT_ROUTER_BASEPATH||"","/__nextjs_launch-editor?").concat(t.toString())).catch(console.warn)},[]),x=(0,C.useCallback)(function(e){switch(e){case"not-found":case"loading":case"error":i(e);break;case"reset":i(null);break;case"open-editor":o&&b({filePath:o})}},[i,o,b]),w=(0,C.useMemo)(function(){return"layout"!==n.type&&"template"!==n.type&&Object.values(r).some(function(e){return null!==e})},[n.type,r]);return(0,S.jsxs)(l4,{delay:0,modal:!1,open:s,onOpenChange:c,children:[(0,S.jsx)(s_,{className:"segment-boundary-trigger","data-nextjs-dev-overlay-segment-boundary-trigger-button":!0,render:function(e){var t=ul(e.ref,d);return(0,S.jsx)(uh,ua(uo({},e),{ref:t}))},disabled:!w}),(0,S.jsx)(ce,{container:u,children:(0,S.jsx)(cF,{className:"segment-boundary-dropdown-positioner",side:"bottom",align:"center",sideOffset:6,arrowPadding:8,ref:f,children:(0,S.jsxs)(c0,{className:"segment-boundary-dropdown",children:[(0,S.jsxs)(c2,{children:[(0,S.jsx)(c4,{className:"segment-boundary-group-label",children:"Toggle Overrides"}),y.map(function(e){return(0,S.jsxs)(c9,{className:"segment-boundary-dropdown-item",onClick:function(){return x(e.value)},disabled:e.disabled,children:[e.icon,e.label]},e.value)})]}),(0,S.jsx)(c2,{children:(0,S.jsxs)(c9,{className:"segment-boundary-dropdown-item",onClick:function(){return x(v.value)},disabled:v.disabled,children:[v.icon,v.label]},v.value)})]})})})]})}function uc(){var e,t,n=(0,O.c)(2);return n[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,S.jsx)("g",{clipPath:"url(#clip0_2759_1866)",children:(0,S.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 3.5C13.5899 3.5 16.5 6.41015 16.5 10C16.5 13.5899 13.5899 16.5 10 16.5C6.41015 16.5 3.5 13.5899 3.5 10C3.5 6.41015 6.41015 3.5 10 3.5ZM2 10C2 14.4183 5.58172 18 10 18C14.4183 18 18 14.4183 18 10C18 5.58172 14.4183 2 10 2C5.58172 2 2 5.58172 2 10ZM10.75 9.62402V6H9.25V9.875C9.25 10.1898 9.39858 10.486 9.65039 10.6748L11.5498 12.0996L12.1504 12.5498L13.0498 11.3496L12.4502 10.9004L10.75 9.62402Z",fill:"currentColor"})}),n[0]=e):e=n[0],n[1]===Symbol.for("react.memo_cache_sentinel")?(t=(0,S.jsxs)("svg",{width:"20px",height:"20px",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e,(0,S.jsx)("defs",{children:(0,S.jsx)("clipPath",{id:"clip0_2759_1866",children:(0,S.jsx)("rect",{width:"16",height:"16",fill:"white",transform:"translate(2 2)"})})})]}),n[1]=t):t=n[1],t}function uu(){var e,t,n=(0,O.c)(2);return n[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,S.jsx)("g",{clipPath:"url(#clip0_2759_1881)",children:(0,S.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 7.30762V12.6924L7.30762 16.5H12.6924L16.5 12.6924V7.30762L12.6924 3.5H7.30762L3.5 7.30762ZM18 12.8994L17.9951 12.998C17.9724 13.2271 17.8712 13.4423 17.707 13.6064L13.6064 17.707L13.5332 17.7734C13.3806 17.8985 13.1944 17.9757 12.998 17.9951L12.8994 18H7.10059L7.00195 17.9951C6.80562 17.9757 6.6194 17.8985 6.4668 17.7734L6.39355 17.707L2.29297 13.6064C2.12883 13.4423 2.02756 13.2271 2.00488 12.998L2 12.8994V7.10059C2 6.83539 2.10546 6.58109 2.29297 6.39355L6.39355 2.29297C6.55771 2.12883 6.77294 2.02756 7.00195 2.00488L7.10059 2H12.8994L12.998 2.00488C13.2271 2.02756 13.4423 2.12883 13.6064 2.29297L17.707 6.39355C17.8945 6.58109 18 6.83539 18 7.10059V12.8994ZM9.25 5.75H10.75L10.75 10.75H9.25L9.25 5.75ZM10 14C10.5523 14 11 13.5523 11 13C11 12.4477 10.5523 12 10 12C9.44772 12 9 12.4477 9 13C9 13.5523 9.44772 14 10 14Z",fill:"currentColor"})}),n[0]=e):e=n[0],n[1]===Symbol.for("react.memo_cache_sentinel")?(t=(0,S.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e,(0,S.jsx)("defs",{children:(0,S.jsx)("clipPath",{id:"clip0_2759_1881",children:(0,S.jsx)("rect",{width:"16",height:"16",fill:"white",transform:"translate(2 2)"})})})]}),n[1]=t):t=n[1],t}function ud(){var e,t=(0,O.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,S.jsx)("svg",{width:"20px",height:"20px",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,S.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5586 2.5C11.1341 2.50004 11.6588 2.8294 11.9091 3.34766L17.8076 15.5654C18.1278 16.2292 17.6442 16.9997 16.9072 17H3.09274C2.35574 16.9997 1.8721 16.2292 2.19235 15.5654L8.09079 3.34766C8.34109 2.8294 8.86583 2.50004 9.44137 2.5H10.5586ZM3.89059 15.5H16.1093L10.5586 4H9.44137L3.89059 15.5ZM9.24997 6.75H10.75L10.75 10.75H9.24997L9.24997 6.75ZM9.99997 14C10.5523 14 11 13.5523 11 13C11 12.4477 10.5523 12 9.99997 12C9.44768 12 8.99997 12.4477 8.99997 13C8.99997 13.5523 9.44768 14 9.99997 14Z",fill:"currentColor"})}),t[0]=e):e=t[0],e}function uf(){var e,t=(0,O.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,S.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,S.jsx)("path",{d:"M9.96484 3C13.8463 3.00018 17 6.13012 17 10C17 13.8699 13.8463 16.9998 9.96484 17C7.62404 17 5.54877 15.8617 4.27051 14.1123L3.82812 13.5068L5.03906 12.6221L5.48145 13.2275C6.48815 14.6053 8.12092 15.5 9.96484 15.5C13.0259 15.4998 15.5 13.0335 15.5 10C15.5 6.96654 13.0259 4.50018 9.96484 4.5C7.42905 4.5 5.29544 6.19429 4.63867 8.5H8V10H2.75C2.33579 10 2 9.66421 2 9.25V4H3.5V7.2373C4.57781 4.74376 7.06749 3 9.96484 3Z",fill:"currentColor"})}),t[0]=e):e=t[0],e}function up(e){var t,n,r=(0,O.c)(3);return r[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,S.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.7071 2.39644C8.31658 2.00592 7.68341 2.00592 7.29289 2.39644L4.46966 5.21966L3.93933 5.74999L4.99999 6.81065L5.53032 6.28032L7.99999 3.81065L10.4697 6.28032L11 6.81065L12.0607 5.74999L11.5303 5.21966L8.7071 2.39644ZM5.53032 9.71966L4.99999 9.18933L3.93933 10.25L4.46966 10.7803L7.29289 13.6035C7.68341 13.9941 8.31658 13.9941 8.7071 13.6035L11.5303 10.7803L12.0607 10.25L11 9.18933L10.4697 9.71966L7.99999 12.1893L5.53032 9.71966Z",fill:"currentColor"}),r[0]=t):t=r[0],r[1]!==e?(n=(0,S.jsx)("svg",ua(uo({strokeLinejoin:"round",viewBox:"0 0 16 16"},e),{children:t})),r[1]=e,r[2]=n):n=r[2],n}function uh(e){var t,n,r=(0,O.c)(3);return r[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,S.jsx)("span",{className:"segment-boundary-trigger-text",children:(0,S.jsx)(up,{className:"plus-icon"})}),r[0]=t):t=r[0],r[1]!==e?(n=(0,S.jsx)("button",ua(uo({},e),{children:t})),r[1]=e,r[2]=n):n=r[2],n}let um=C.createContext(void 0);function ug(){let e=C.useContext(um);if(void 0===e)throw Error("Base UI: TooltipRootContext is missing. Tooltip parts must be placed within <Tooltip.Root>.");return e}let uy=C.forwardRef(function(e,t){let{className:n,render:r,...o}=e,{open:a,setTriggerElement:i,triggerProps:l}=ug();return sp("button",e,{state:C.useMemo(()=>({open:a}),[a]),ref:[t,i],props:[l,o],customStyleHookMapping:sc})}),uv=C.createContext(void 0);function ub(){let e=C.useContext(uv);if(void 0===e)throw Error("Base UI: TooltipPositionerContext is missing. TooltipPositioner parts must be placed within <Tooltip.Positioner>.");return e}let ux=C.forwardRef(function(e,t){let{className:n,render:r,...o}=e,{open:a,arrowRef:i,side:l,align:s,arrowUncentered:c,arrowStyles:u}=ub();return sp("div",e,{state:C.useMemo(()=>({open:a,side:l,align:s,uncentered:c}),[a,l,s,c]),ref:[t,i],props:[{style:u,"aria-hidden":!0},o],customStyleHookMapping:sd})}),uw={...sd,...st},u_=C.forwardRef(function(e,t){let{className:n,render:r,...o}=e,{open:a,instantType:i,transitionStatus:l,popupProps:s,popupRef:c,onOpenChangeComplete:u}=ug(),{side:d,align:f}=ub();return lA({open:a,ref:c,onComplete(){a&&u?.(!0)}}),sp("div",e,{state:C.useMemo(()=>({open:a,side:d,align:f,instant:i,transitionStatus:l}),[a,d,f,i,l]),ref:[t,c],props:[s,"starting"===l?iK:iY,o],customStyleHookMapping:uw})}),uj=C.createContext(void 0),uk=C.forwardRef(function(e,t){let{render:n,className:r,anchor:o,positionMethod:a="absolute",side:i="top",align:l="center",sideOffset:s=0,alignOffset:c=0,collisionBoundary:u="clipping-ancestors",collisionPadding:d=5,arrowPadding:f=5,sticky:p=!1,trackAnchor:h=!0,collisionAvoidance:m=iQ,...g}=e,{open:y,setPositionerElement:v,mounted:b,floatingRootContext:x,trackCursorAxis:w,hoverable:_}=ug(),j=cA({anchor:o,positionMethod:a,floatingRootContext:x,mounted:b,side:i,sideOffset:s,align:l,alignOffset:c,collisionBoundary:u,collisionPadding:d,sticky:p,arrowPadding:f,trackAnchor:h,keepMounted:function(){let e=C.useContext(uj);if(void 0===e)throw Error("Base UI: <Tooltip.Portal> is missing.");return e}(),collisionAvoidance:m}),k=C.useMemo(()=>{let e={};return y&&"both"!==w&&_||(e.pointerEvents="none"),{role:"presentation",hidden:!b,style:{...j.positionerStyles,...e}}},[y,w,_,b,j.positionerStyles]),O=C.useMemo(()=>({props:k,...j}),[k,j]),P=C.useMemo(()=>({open:y,side:O.side,align:O.align,anchorHidden:O.anchorHidden}),[y,O.side,O.align,O.anchorHidden]),E=C.useMemo(()=>({...P,arrowRef:O.arrowRef,arrowStyles:O.arrowStyles,arrowUncentered:O.arrowUncentered}),[P,O.arrowRef,O.arrowStyles,O.arrowUncentered]),T=sp("div",e,{state:P,props:[O.props,g],ref:[t,v],customStyleHookMapping:sd});return(0,S.jsx)(uv.Provider,{value:E,children:T})});function uS(e){let t=s9({root:e.root});return t&&ex.createPortal(e.children,t)}function uO(e){let{children:t,keepMounted:n=!1,container:r}=e,{mounted:o}=ug();return o||n?(0,S.jsx)(uj.Provider,{value:n,children:(0,S.jsx)(uS,{root:r,children:t})}):null}let uC=C.createContext({hasProvider:!1,timeoutMs:0,delayRef:{current:0},initialDelayRef:{current:0},timeout:new ax,currentIdRef:{current:null},currentContextRef:{current:null}});function uP(e){let{children:t,delay:n,timeoutMs:r=0}=e,o=C.useRef(n),a=C.useRef(n),i=C.useRef(null),l=C.useRef(null),s=aw();return(0,S.jsx)(uC.Provider,{value:C.useMemo(()=>({hasProvider:!0,delayRef:o,initialDelayRef:a,currentIdRef:i,timeoutMs:r,currentContextRef:l,timeout:s}),[r,s]),children:t})}let uE=C.createContext(void 0),uT=function(e){let{delay:t,closeDelay:n,timeout:r=400}=e,o=C.useMemo(()=>({delay:t,closeDelay:n}),[t,n]),a=C.useMemo(()=>({open:t,close:n}),[t,n]);return(0,S.jsx)(uE.Provider,{value:o,children:(0,S.jsx)(uP,{delay:a,timeoutMs:r,children:e.children})})};function uN(e){return null!=e&&null!=e.clientX}function uI(e){let{disabled:t=!1,defaultOpen:n=!1,onOpenChange:r,open:o,delay:a,closeDelay:i,hoverable:l=!0,trackCursorAxis:s="none",actionsRef:c,onOpenChangeComplete:u}=e,d=a??600,f=i??0,[p,h]=C.useState(null),[m,g]=C.useState(null),[y,v]=C.useState(),b=C.useRef(null),[x,w]=aC({controlled:o,default:n,name:"Tooltip",state:"open"}),_=!t&&x;function j(e,t,n){let o="trigger-hover"===n,a=e&&"trigger-focus"===n,i=!e&&("trigger-press"===n||"escape-key"===n);function l(){r?.(e,t,n),w(e)}o?ex.flushSync(l):l(),a||i?v(a?"focus":"dismiss"):"trigger-hover"===n&&v(void 0)}let k=ak(j);x&&t&&j(!1,void 0,"disabled");let{mounted:O,setMounted:P,transitionStatus:E}=lL(_),T=ak(()=>{P(!1),u?.(!1)});lA({enabled:!c,open:_,ref:b,onComplete(){_||T()}}),C.useImperativeHandle(c,()=>({unmount:T}),[T]);let N=aZ({elements:{reference:p,floating:m},open:_,onOpenChange(e,t,n){k(e,t,lB(n))}}),I=C.useContext(uE),{delayRef:L,isInstantPhase:A,hasProvider:z}=function(e,t={}){let{open:n,onOpenChange:r,floatingId:o}=e,{enabled:a=!0}=t,{currentIdRef:i,delayRef:l,timeoutMs:s,initialDelayRef:c,currentContextRef:u,hasProvider:d,timeout:f}=C.useContext(uC),[p,h]=C.useState(!1);return aL(()=>{function e(){h(!1),u.current?.setIsInstantPhase(!1),i.current=null,u.current=null,l.current=c.current}if(a&&i.current&&!n&&i.current===o){if(h(!1),s)return f.start(s,e),()=>{f.clear()};e()}},[a,n,o,i,l,s,c,u,f]),aL(()=>{if(!a||!n)return;let e=u.current,t=i.current;u.current={onOpenChange:r,setIsInstantPhase:h},i.current=o,l.current={open:0,close:iR(c.current,"close")},null!==t&&t!==o?(f.clear(),h(!0),e?.setIsInstantPhase(!0),e?.onOpenChange(!1)):(h(!1),e?.setIsInstantPhase(!1))},[a,n,o,r,i,l,s,c,u,f]),aL(()=>()=>{u.current=null},[u]),C.useMemo(()=>({hasProvider:d,delayRef:l,isInstantPhase:p}),[d,l,p])}(N),R=A?"delay":y,D=iM(N,{enabled:!t,mouseOnly:!0,move:!1,handleClose:l&&"both"!==s?iH():null,restMs(){let e=I?.delay,t="object"==typeof L.current?L.current.open:void 0,n=d;return z&&(n=0!==t?a??e??d:0),n},delay(){let e="object"==typeof L.current?L.current.close:void 0,t=f;return null==i&&z&&(t=e),{close:t}}}),M=iB(N,{enabled:!t}),Z=i1(N,{enabled:!t,referencePress:!0}),{getReferenceProps:U,getFloatingProps:F}=lC([D,M,Z,function(e,t={}){let{open:n,dataRef:r,elements:{floating:o,domReference:a},refs:i}=e,{enabled:l=!0,axis:s="both",x:c=null,y:u=null}=t,d=C.useRef(!1),f=C.useRef(null),[p,h]=C.useState(),[m,g]=C.useState([]),y=ak((e,t)=>{if(!d.current&&(!r.current.openEvent||uN(r.current.openEvent))){var n,o;let l,c,u;i.setPositionReference((n=a,o={x:e,y:t,axis:s,dataRef:r,pointerType:p},l=null,c=null,u=!1,{contextElement:n||void 0,getBoundingClientRect(){let e=n?.getBoundingClientRect()||{width:0,height:0,x:0,y:0},t="x"===o.axis||"both"===o.axis,r="y"===o.axis||"both"===o.axis,a=["mouseenter","mousemove"].includes(o.dataRef.current.openEvent?.type||"")&&"touch"!==o.pointerType,i=e.width,s=e.height,d=e.x,f=e.y;return null==l&&o.x&&t&&(l=e.x-o.x),null==c&&o.y&&r&&(c=e.y-o.y),d-=l||0,f-=c||0,i=0,s=0,!u||a?(i="y"===o.axis?e.width:0,s="x"===o.axis?e.height:0,d=t&&null!=o.x?o.x:d,f=r&&null!=o.y?o.y:f):u&&!a&&(s="x"===o.axis?e.height:s,i="y"===o.axis?e.width:i),u=!0,{width:i,height:s,x:d,y:f,top:f,right:d+i,bottom:f+s,left:d}}}))}}),v=ak(e=>{null==c&&null==u&&(n?f.current||g([]):y(e.clientX,e.clientY))}),b=iv(p)?o:n,x=C.useCallback(()=>{if(!b||!l||null!=c||null!=u)return;let e=aH(o);function t(n){iC(o,iP(n))?(e.removeEventListener("mousemove",t),f.current=null):y(n.clientX,n.clientY)}if(!r.current.openEvent||uN(r.current.openEvent)){e.addEventListener("mousemove",t);let n=()=>{e.removeEventListener("mousemove",t),f.current=null};return f.current=n,n}i.setPositionReference(a)},[b,l,c,u,o,r,i,a,y]);C.useEffect(()=>x(),[x,m]),C.useEffect(()=>{l&&!o&&(d.current=!1)},[l,o]),C.useEffect(()=>{!l&&n&&(d.current=!0)},[l,n]),aL(()=>{l&&(null!=c||null!=u)&&(d.current=!1,y(c,u))},[l,c,u,y]);let w=C.useMemo(()=>{function e(e){h(e.pointerType)}return{onPointerDown:e,onPointerEnter:e,onMouseMove:v,onMouseEnter:v}},[v]);return C.useMemo(()=>l?{reference:w}:{},[l,w])}(N,{enabled:!t&&"none"!==s,axis:"none"===s?void 0:s})]),H=C.useMemo(()=>({open:_,setOpen:k,mounted:O,setMounted:P,setTriggerElement:h,positionerElement:m,setPositionerElement:g,popupRef:b,triggerProps:U(),popupProps:F(),floatingRootContext:N,instantType:R,transitionStatus:E,onOpenChangeComplete:u}),[_,k,O,P,h,m,g,b,U,F,N,R,E,u]),V=C.useMemo(()=>({...H,delay:d,closeDelay:f,trackCursorAxis:s,hoverable:l}),[H,d,f,s,l]);return(0,S.jsx)(um.Provider,{value:V,children:e.children})}var uL=__webpack_require__("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/components/tooltip/tooltip.css"),uA={};uA.styleTagTransform=x(),uA.setAttributes=g(),uA.insert=h(),uA.domAPI=f(),uA.insertStyleElement=v(),u()(uL.A,uA),uL.A&&uL.A.locals&&uL.A.locals;var uz=(0,C.forwardRef)(function(e,t){var n,r,o,a,i,l,s,c,u,d,f,p,h=(0,O.c)(35),m=e.className,g=e.children,y=e.title,v=e.direction,b=e.arrowSize,x=e.offset,w=void 0===v?"top":v,_=void 0===b?6:b,j=dw().shadowRoot;if(!y)return g;h[0]!==g?(n=function(e){var t,n;return(0,S.jsx)("span",(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({},e),n=n={children:g},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t))},h[0]=g,h[1]=n):n=h[1],h[2]!==t||h[3]!==n?(r=(0,S.jsx)(uy,{ref:t,render:n}),h[2]=t,h[3]=n,h[4]=r):r=h[4];var k=(void 0===x?8:x)+_,C="".concat(_,"px"),P="".concat(_,"px");h[5]!==C||h[6]!==P?(o={"--anchor-width":C,"--anchor-height":P},h[5]=C,h[6]=P,h[7]=o):o=h[7];var E=o;h[8]!==m?(a=e9("tooltip",m),h[8]=m,h[9]=a):a=h[9];var T="".concat(_,"px");h[10]!==T?(i={"--arrow-size":T},h[10]=T,h[11]=i):i=h[11];var N=i,I="tooltip-arrow--".concat(w);h[12]!==I?(l=e9("tooltip-arrow",I),h[12]=I,h[13]=l):l=h[13];var L="".concat(_,"px");h[14]!==L?(s={"--arrow-size":L},h[14]=L,h[15]=s):s=h[15];var A=s;return h[16]!==l||h[17]!==A?(c=(0,S.jsx)(ux,{className:l,style:A}),h[16]=l,h[17]=A,h[18]=c):c=h[18],h[19]!==a||h[20]!==N||h[21]!==c||h[22]!==y?(u=(0,S.jsxs)(u_,{className:a,style:N,children:[y,c]}),h[19]=a,h[20]=N,h[21]=c,h[22]=y,h[23]=u):u=h[23],h[24]!==w||h[25]!==E||h[26]!==u||h[27]!==k?(d=(0,S.jsx)(uk,{side:w,sideOffset:k,className:"tooltip-positioner",style:E,children:u}),h[24]=w,h[25]=E,h[26]=u,h[27]=k,h[28]=d):d=h[28],h[29]!==j||h[30]!==d?(f=(0,S.jsx)(uO,{container:j,children:d}),h[29]=j,h[30]=d,h[31]=f):f=h[31],h[32]!==f||h[33]!==r?(p=(0,S.jsx)(uT,{children:(0,S.jsxs)(uI,{delay:400,children:[r,f]})}),h[32]=f,h[33]=r,h[34]=p):p=h[34],p});function uR(e){var t,n,r=(0,O.c)(3),o=e.possibleExtension,a=e.missingGlobalError?"No global-error.".concat(o," found: Add one to ensure users see a helpful message when an unexpected error occurs."):null;return r[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,S.jsx)(uq,{}),r[0]=t):t=r[0],r[1]!==a?(n=(0,S.jsx)("span",{className:"segment-explorer-suggestions",children:(0,S.jsx)(uz,{className:"segment-explorer-suggestions-tooltip",title:a,children:t})}),r[1]=a,r[2]=n):n=r[2],n}function uD(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}function uM(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}var uZ=function(e){var t,n;return!!(null==(t=e.value)?void 0:t.type)&&!!(null==(n=e.value)?void 0:n.pagePath)};function uU(e){var t,n,r=(0,O.c)(3),o=e.page;return r[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,S.jsx)(uW,{}),r[0]=t):t=r[0],r[1]!==o?(n=(0,S.jsxs)("div",{className:"segment-explorer-page-route-bar",children:[t,(0,S.jsx)("span",{className:"segment-explorer-page-route-bar-path",children:o})]}),r[1]=o,r[2]=n):n=r[2],n}function uF(e){var t,n,r,o=(0,O.c)(9),a=e.activeBoundariesCount,i=e.onGlobalReset,l=a>0,s="segment-explorer-footer-button ".concat(l?"":"segment-explorer-footer-button--disabled"),c=l?i:void 0,u=!l;return o[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,S.jsx)("span",{className:"segment-explorer-footer-text",children:"Clear Segment Overrides"}),o[0]=t):t=o[0],o[1]!==a||o[2]!==l?(n=l&&(0,S.jsx)("span",{className:"segment-explorer-footer-badge",children:a}),o[1]=a,o[2]=l,o[3]=n):n=o[3],o[4]!==s||o[5]!==c||o[6]!==u||o[7]!==n?(r=(0,S.jsx)("div",{className:"segment-explorer-footer",children:(0,S.jsxs)("button",{className:s,onClick:c,disabled:u,type:"button",children:[t,n]})}),o[4]=s,o[5]=c,o[6]=u,o[7]=n,o[8]=r):r=o[8],r}function uH(e){var t,n,r,o,a,i=(0,O.c)(15),l=e.type,s=e.isBuiltin,c=e.isOverridden,u=e.filePath,d=e.fileName,f="segment-explorer-file-label--".concat(l),p=s&&"segment-explorer-file-label--builtin",h=c&&"segment-explorer-file-label--overridden";return i[0]!==f||i[1]!==p||i[2]!==h?(t=e9("segment-explorer-file-label",f,p,h),i[0]=f,i[1]=p,i[2]=h,i[3]=t):t=i[3],i[4]!==u?(n=function(){var e;e=new URLSearchParams({file:{filePath:u}.filePath,isAppRelativePath:"1"}),fetch("".concat(process.env.__NEXT_ROUTER_BASEPATH||"","/__nextjs_launch-editor?").concat(e.toString()))},i[4]=u,i[5]=n):n=i[5],i[6]!==d?(r=(0,S.jsx)("span",{className:"segment-explorer-file-label-text",children:d}),i[6]=d,i[7]=r):r=i[7],i[8]!==s?(o=s?(0,S.jsx)(uq,{}):(0,S.jsx)(uK,{className:"code-icon"}),i[8]=s,i[9]=o):o=i[9],i[10]!==t||i[11]!==n||i[12]!==r||i[13]!==o?(a=(0,S.jsxs)("span",{className:t,onClick:n,children:[r,o]}),i[10]=t,i[11]=n,i[12]=r,i[13]=o,i[14]=a):a=i[14],a}function uV(e){var t,n,r,o,a,i,l,s,c=(0,O.c)(17),u=e.page,d=(0,C.useSyncExternalStore)(al,as,ac);c[0]!==d?(t=function e(t){var n,r=0;return(null==(n=t.value)?void 0:n.setBoundaryType)&&null!==t.value.boundaryType&&!ut(t.value.type)&&r++,Object.values(t.children).forEach(function(t){t&&(r+=e(t))}),r}(d),c[0]=d,c[1]=t):t=c[1];var f=t;c[2]!==d?(n=function(){!function e(t){var n;(null==(n=t.value)?void 0:n.setBoundaryType)&&t.value.setBoundaryType(null),Object.values(t.children).forEach(function(t){t&&e(t)})}(d)},c[2]=d,c[3]=n):n=c[3];var p=n;return c[4]===Symbol.for("react.memo_cache_sentinel")?(r={display:"flex",flexDirection:"column",height:"100%"},c[4]=r):r=c[4],c[5]!==u?(o=(0,S.jsx)(uU,{page:u}),c[5]=u,c[6]=o):o=c[6],c[7]===Symbol.for("react.memo_cache_sentinel")?(a={flex:"1 1 auto",overflow:"auto"},c[7]=a):a=c[7],c[8]!==d?(i=(0,S.jsx)("div",{className:"segment-explorer-content","data-nextjs-devtool-segment-explorer":!0,style:a,children:(0,S.jsx)(u$,{node:d,level:0,segment:""})}),c[8]=d,c[9]=i):i=c[9],c[10]!==f||c[11]!==p?(l=(0,S.jsx)(uF,{activeBoundariesCount:f,onGlobalReset:p}),c[10]=f,c[11]=p,c[12]=l):l=c[12],c[13]!==o||c[14]!==i||c[15]!==l?(s=(0,S.jsxs)("div",{"data-nextjs-devtools-panel-segments-explorer":!0,style:r,children:[o,i,l]}),c[13]=o,c[14]=i,c[15]=l,c[16]=s):s=c[16],s}var uB="global-error";function u$(e){var t=e.segment,n=e.node,r=e.level,o=(0,C.useMemo)(function(){return Object.keys(n.children)},[n.children]),a=(0,C.useMemo)(function(){var e=[];return o.forEach(function(t){var r=n.children[t];if(r&&r.value){var o=un(r.value.type),a=o===uB;(a&&!r.value.pagePath.startsWith(c8)||!a&&ut(r.value.type))&&e.push(o)}}),0===r&&!e.includes(uB)},[n.children,o,r]),i=o.sort(function(e,t){var r=e.includes("."),o=t.includes(".");if(r&&!o)return -1;if(!r&&o)return 1;if(r&&o){var a,i,l,s,c,u,d,f,p=null==(i=n.children[e])||null==(a=i.value)?void 0:a.type,h=null==(s=n.children[t])||null==(l=s.value)?void 0:l.type,m=function(e){return e?"layout"===e?1:"template"===e?2:"page"===e?3:ut(e)?4:5:5},g=m(p),y=m(h);if(g!==y)return g-y;var v=(null==(u=n.children[e])||null==(c=u.value)?void 0:c.pagePath)||"",b=(null==(f=n.children[t])||null==(d=f.value)?void 0:d.pagePath)||"";return v.localeCompare(b)}return e.localeCompare(t)}),l=0!==r||t?t:"app",s=[],c=[],u=!0,d=!1,f=void 0;try{for(var p,h=i[Symbol.iterator]();!(u=(p=h.next()).done);u=!0){var m=p.value,g=n.children[m];if(g){if(uZ(g)){c.push(m);continue}s.push(m)}}}catch(e){d=!0,f=e}finally{try{u||null==h.return||h.return()}finally{if(d)throw f}}for(var y=c7(c[0]||"").split(".").pop()||"js",v=null,b=i.length-1;b>=0;b--){var x=n.children[i[b]];if(x&&x.value){var w=ut(x.value.type);if(!v&&!w){v=x;break}}}var _=null,j=!0,k=!1,O=void 0;try{for(var P,E=i[Symbol.iterator]();!(j=(P=E.next()).done);j=!0){var T=P.value,N=n.children[T];if(N&&N.value&&ut(N.value.type)){_=N;break}}}catch(e){k=!0,O=e}finally{try{j||null==E.return||E.return()}finally{if(k)throw O}}v=v||_;var I=c.length>0,L={"not-found":null,loading:null,error:null,"global-error":null};return c.forEach(function(e){var t=n.children[e];if(t&&t.value&&ut(t.value.type)){var r=un(t.value.type);r in L&&(L[r]=t.value.pagePath||null)}}),(0,S.jsxs)(S.Fragment,{children:[I&&(0,S.jsx)("div",{className:"segment-explorer-item","data-nextjs-devtool-segment-explorer-segment":t+"-"+r,children:(0,S.jsx)("div",{className:"segment-explorer-item-row",style:uD({},{paddingLeft:"".concat((r+1)*8,"px")}),children:(0,S.jsx)("div",{className:"segment-explorer-item-row-main",children:(0,S.jsxs)("div",{className:"segment-explorer-filename",children:[l&&(0,S.jsxs)("span",{className:"segment-explorer-filename--path",children:[l,(0,S.jsx)("small",{children:"/"})]}),a&&(0,S.jsx)(uR,{possibleExtension:y,missingGlobalError:a}),c.length>0&&(0,S.jsx)("span",{className:"segment-explorer-files",children:c.map(function(e){var t=n.children[e];if(!t||!t.value||ut(t.value.type))return null;var r=t.value.pagePath,o=r.split("/").pop()||"",a=r.startsWith(c8),i=c7(o),l=a?"The default Next.js ".concat(t.value.type," is being shown. You can customize this page by adding your own ").concat(i," file to the app/ directory."):null,s=null!==t.value.boundaryType;return(0,S.jsx)(uz,{className:"segment-explorer-file-label-tooltip--"+(a?"lg":"sm"),direction:a?"right":"top",title:l,offset:12,children:(0,S.jsx)(uH,{type:t.value.type,isBuiltin:a,isOverridden:s,filePath:r,fileName:i})},e)})}),v&&v.value&&(0,S.jsx)(us,{nodeState:v.value,boundaries:L})]})})})}),s.map(function(e){var o=n.children[e];if(!o)return null;var a=I?e:t+" / "+e;return(0,S.jsx)(u$,{segment:a,node:o,level:I?r+1:r},e)})]})}function uq(e){var t,n,r,o=(0,O.c)(4);return o[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,S.jsx)("path",{d:"M14 8C14 11.3137 11.3137 14 8 14C4.68629 14 2 11.3137 2 8C2 4.68629 4.68629 2 8 2C11.3137 2 14 4.68629 14 8Z",fill:"var(--color-gray-400)"}),n=(0,S.jsx)("path",{d:"M7.75 7C8.30228 7.00001 8.75 7.44772 8.75 8V11.25H7.25V8.5H6.25V7H7.75ZM8 4C8.55228 4 9 4.44772 9 5C9 5.55228 8.55228 6 8 6C7.44772 6 7 5.55228 7 5C7 4.44772 7.44772 4 8 4Z",fill:"var(--color-gray-900)"}),o[0]=t,o[1]=n):(t=o[0],n=o[1]),o[2]!==e?(r=(0,S.jsxs)("svg",uM(uD({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{children:[t,n]})),o[2]=e,o[3]=r):r=o[3],r}function uW(){var e,t=(0,O.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,S.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"var(--color-gray-600)",xmlns:"http://www.w3.org/2000/svg",children:(0,S.jsx)("path",{d:"M4.5 11.25C4.5 11.3881 4.61193 11.5 4.75 11.5H14.4395L11.9395 9L13 7.93945L16.7803 11.7197L16.832 11.7764C17.0723 12.0709 17.0549 12.5057 16.7803 12.7803L13 16.5605L11.9395 15.5L14.4395 13H4.75C3.7835 13 3 12.2165 3 11.25V4.25H4.5V11.25Z"})}),t[0]=e):e=t[0],e}function uK(e){var t,n,r=(0,O.c)(3);return r[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,S.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.22763 14.1819L10.2276 2.18193L10.4095 1.45432L8.95432 1.09052L8.77242 1.81812L5.77242 13.8181L5.59051 14.5457L7.04573 14.9095L7.22763 14.1819ZM3.75002 12.0607L3.21969 11.5304L0.39647 8.70713C0.00594559 8.31661 0.00594559 7.68344 0.39647 7.29292L3.21969 4.46969L3.75002 3.93936L4.81068 5.00002L4.28035 5.53035L1.81068 8.00003L4.28035 10.4697L4.81068 11L3.75002 12.0607ZM12.25 12.0607L12.7804 11.5304L15.6036 8.70713C15.9941 8.31661 15.9941 7.68344 15.6036 7.29292L12.7804 4.46969L12.25 3.93936L11.1894 5.00002L11.7197 5.53035L14.1894 8.00003L11.7197 10.4697L11.1894 11L12.25 12.0607Z",fill:"currentColor"}),r[0]=t):t=r[0],r[1]!==e?(n=(0,S.jsx)("svg",uM(uD({width:"12",height:"12",strokeLinejoin:"round",viewBox:"0 0 16 16",fill:"currentColor"},e),{children:t})),r[1]=e,r[2]=n):n=r[2],n}function uY(){var e,t,n=(e=["\n .dev-tools-info-close-button:focus-visible {\n outline: var(--focus-ring);\n }\n "],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return uY=function(){return n},n}function uX(e){var t,n,r,o,a,i,l,s,c,u,d,f=(0,O.c)(18),p=e.title,h=e.children,m=e.ref,g=r3().setPanel,y=(0,C.useRef)(null);return f[0]===Symbol.for("react.memo_cache_sentinel")?(t=function(){var e;null==(e=y.current)||e.focus()},n=[],f[0]=t,f[1]=n):(t=f[0],n=f[1]),(0,C.useLayoutEffect)(t,n),f[2]===Symbol.for("react.memo_cache_sentinel")?(r={width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between",padding:"8px 20px",userSelect:"none",WebkitUserSelect:"none",borderBottom:"1px solid var(--color-gray-alpha-400)"},f[2]=r):r=f[2],f[3]===Symbol.for("react.memo_cache_sentinel")?(o={margin:0,fontSize:"14px",color:"var(--color-text-primary)",fontWeight:"normal"},f[3]=o):o=f[3],f[4]!==p?(a=(0,S.jsx)("h3",{style:o,children:p}),f[4]=p,f[5]=a):a=f[5],f[6]!==g?(i=function(){g("panel-selector")},f[6]=g,f[7]=i):i=f[7],f[8]===Symbol.for("react.memo_cache_sentinel")?(l={background:"none",border:"none",cursor:"pointer",padding:"4px",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"4px",color:"var(--color-gray-900)"},s=(0,S.jsx)(uG,{}),f[8]=l,f[9]=s):(l=f[8],s=f[9]),f[10]!==i?(c=(0,S.jsx)("button",{ref:y,id:"_next-devtools-panel-close",className:"dev-tools-info-close-button",onClick:i,"aria-label":"Close devtools panel",style:l,children:s}),f[10]=i,f[11]=c):c=f[11],f[12]===Symbol.for("react.memo_cache_sentinel")?(u=(0,S.jsx)("style",{children:eg(uY())}),f[12]=u):u=f[12],f[13]!==h||f[14]!==m||f[15]!==a||f[16]!==c?(d=(0,S.jsxs)("div",{style:r,ref:m,children:[a,h,c,u]}),f[13]=h,f[14]=m,f[15]=a,f[16]=c,f[17]=d):d=f[17],d}function uG(e){var t,n,r,o=(0,O.c)(4),a=e.size,i=void 0===a?22:a;return o[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,S.jsx)("path",{d:"M18 6 6 18"}),n=(0,S.jsx)("path",{d:"m6 6 12 12"}),o[0]=t,o[1]=n):(t=o[0],n=o[1]),o[2]!==i?(r=(0,S.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[t,n]}),o[2]=i,o[3]=r):r=o[3],r}function uQ(){var e,t=(0,O.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,S.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 20 20",fill:"none",children:(0,S.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"m9.7 3.736.045-.236h.51l.044.236a2.024 2.024 0 0 0 1.334 1.536c.19.066.375.143.554.23.618.301 1.398.29 2.03-.143l.199-.136.36.361-.135.199a2.024 2.024 0 0 0-.143 2.03c.087.179.164.364.23.554.224.65.783 1.192 1.536 1.334l.236.044v.51l-.236.044a2.024 2.024 0 0 0-1.536 1.334 4.95 4.95 0 0 1-.23.554 2.024 2.024 0 0 0 .143 2.03l.136.199-.361.36-.199-.135a2.024 2.024 0 0 0-2.03-.143c-.179.087-.364.164-.554.23a2.024 2.024 0 0 0-1.334 1.536l-.044.236h-.51l-.044-.236a2.024 2.024 0 0 0-1.334-1.536 4.952 4.952 0 0 1-.554-.23 2.024 2.024 0 0 0-2.03.143l-.199.136-.36-.361.135-.199a2.024 2.024 0 0 0 .143-2.03 4.958 4.958 0 0 1-.23-.554 2.024 2.024 0 0 0-1.536-1.334l-.236-.044v-.51l.236-.044a2.024 2.024 0 0 0 1.536-1.334 4.96 4.96 0 0 1 .23-.554 2.024 2.024 0 0 0-.143-2.03l-.136-.199.361-.36.199.135a2.024 2.024 0 0 0 2.03.143c.179-.087.364-.164.554-.23a2.024 2.024 0 0 0 1.334-1.536ZM8.5 2h3l.274 1.46c.034.185.17.333.348.394.248.086.49.186.722.3.17.082.37.074.526-.033l1.226-.839 2.122 2.122-.84 1.226a.524.524 0 0 0-.032.526c.114.233.214.474.3.722.061.177.21.314.394.348L18 8.5v3l-1.46.274a.524.524 0 0 0-.394.348 6.47 6.47 0 0 1-.3.722.524.524 0 0 0 .033.526l.839 1.226-2.122 2.122-1.226-.84a.524.524 0 0 0-.526-.032 6.477 6.477 0 0 1-.722.3.524.524 0 0 0-.348.394L11.5 18h-3l-.274-1.46a.524.524 0 0 0-.348-.394 6.477 6.477 0 0 1-.722-.3.524.524 0 0 0-.526.033l-1.226.839-2.122-2.122.84-1.226a.524.524 0 0 0 .032-.526 6.453 6.453 0 0 1-.3-.722.524.524 0 0 0-.394-.348L2 11.5v-3l1.46-.274a.524.524 0 0 0 .394-.348c.086-.248.186-.49.3-.722a.524.524 0 0 0-.033-.526l-.839-1.226 2.122-2.122 1.226.84a.524.524 0 0 0 .526.032 6.46 6.46 0 0 1 .722-.3.524.524 0 0 0 .348-.394L8.5 2Zm3 8a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm1.5 0a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z",clipRule:"evenodd"})}),t[0]=e):e=t[0],e}function uJ(){var e,t=(0,O.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,S.jsx)("svg",{width:"20px",height:"20px",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,S.jsx)("circle",{cx:"10",cy:"10",r:"7",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeDasharray:"32 12",opacity:"0.8",children:(0,S.jsx)("animateTransform",{attributeName:"transform",type:"rotate",from:"0 10 10",to:"360 10 10",dur:"1s",repeatCount:"indefinite"})})}),t[0]=e):e=t[0],e}var u0=__webpack_require__("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/menu/panel-router.css"),u1={};u1.styleTagTransform=x(),u1.setAttributes=g(),u1.insert=h(),u1.domAPI=f(),u1.insertStyleElement=v(),u()(u0.A,u1),u0.A&&u0.A.locals&&u0.A.locals;var u2=function(){var e,t,n,r,o,a,i,l,s,c,u=(0,O.c)(25),d=r3(),f=d.setPanel,p=d.setSelectedIndex,h=dw(),m=h.state,g=h.dispatch,y=da().totalErrorCount,v="app"===m.routerType;return u[0]!==g||u[1]!==f||u[2]!==p||u[3]!==m.isErrorOverlayOpen||u[4]!==y?(e=y>0&&{title:"".concat(y," ").concat(1===y?"issue":"issues"," found. Click to view details in the dev overlay."),label:"Issues",value:(0,S.jsx)(oM,{children:y}),onClick:function(){if(m.isErrorOverlayOpen){g({type:Y}),f(null);return}f(null),p(-1),y>0&&g({type:K})}},u[0]=g,u[1]=f,u[2]=p,u[3]=m.isErrorOverlayOpen,u[4]=y,u[5]=e):e=u[5],u[6]!==f||u[7]!==m.staticIndicator?(t="disabled"===m.staticIndicator?void 0:"pending"===m.staticIndicator?{title:"Loading...",label:"Route",value:(0,S.jsx)(uJ,{})}:{title:"Current route is ".concat(m.staticIndicator,"."),label:"Route",value:"static"===m.staticIndicator?"Static":"Dynamic",onClick:function(){return f("route-type")},attributes:{"data-nextjs-route-type":m.staticIndicator}},u[6]=f,u[7]=m.staticIndicator,u[8]=t):t=u[8],u[9]===Symbol.for("react.memo_cache_sentinel")?(n=process.env.TURBOPACK?{title:"Turbopack is enabled.",label:"Bundler",value:"Turbopack"}:{title:"Learn about Turbopack and how to enable it in your application.",label:"Bundler",value:(0,S.jsx)("a",{href:"https://nextjs.org/docs/app/api-reference/config/next-config-js/turbopack",target:"_blank",rel:"noreferrer noopener",className:"turbopack-upgrade-link",children:process.env.__NEXT_BUNDLER||"Turbopack"})},r=!!process.env.__NEXT_CACHE_COMPONENTS&&{title:"Cache Components is enabled.",label:"Cache Components",value:"Enabled"},u[9]=n,u[10]=r):(n=u[9],r=u[10]),u[11]!==v||u[12]!==f?(o=v&&{label:"Route Info",value:(0,S.jsx)(oZ,{}),onClick:function(){return f("segment-explorer")},attributes:{"data-segment-explorer":!0}},u[11]=v,u[12]=f,u[13]=o):o=u[13],u[14]===Symbol.for("react.memo_cache_sentinel")?(a=(0,S.jsx)(uQ,{}),u[14]=a):a=u[14],u[15]!==f?(i=function(){return f("preferences")},u[15]=f,u[16]=i):i=u[16],u[17]===Symbol.for("react.memo_cache_sentinel")?(l={"data-preferences":!0},u[17]=l):l=u[17],u[18]!==i?(s={label:"Preferences",value:a,onClick:i,footer:!0,attributes:l},u[18]=i,u[19]=s):s=u[19],u[20]!==e||u[21]!==t||u[22]!==o||u[23]!==s?(c=(0,S.jsx)(oR,{items:[e,t,n,r,o,s]}),u[20]=e,u[21]=t,u[22]=o,u[23]=s,u[24]=c):c=u[24],c},u3=function(){var e,t=(0,O.c)(4),n=dw(),r=n.state,o=n.dispatch,a=n.shadowRoot;return t[0]!==o||t[1]!==a||t[2]!==r.disableDevIndicator?(e=function(){o({type:W,disabled:!r.disableDevIndicator});var e=a.getElementById("panel-route"),t=a.getElementById("data-devtools-indicator");if(e&&e.firstElementChild){var n=e.firstElementChild,i="none"===n.style.display;n.style.display=i?"":"none"}if(t){var l="none"===t.style.display;t.style.display=l?"":"none"}},t[0]=o,t[1]=a,t[2]=r.disableDevIndicator,t[3]=e):e=t[3],e},u4=function(){var e,t,n,r,o,a,i,l,s,c,u,d,f,p,h,m,g,y=(0,O.c)(22),v=dw().state,b=r3().triggerRef,x=u3(),w="app"===v.routerType;y[0]!==v.hideShortcut||y[1]!==x?(s=v.hideShortcut?(e={},t=v.hideShortcut,n=x,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e):{},y[0]=v.hideShortcut,y[1]=x,y[2]=s):s=y[2],r=s,o=b,(l=(0,O.c)(4))[0]!==o||l[1]!==r?(a=function(){var e=function(e){if(!((n=nl((t=o).current))&&("true"===n.contentEditable||"INPUT"===n.tagName||"TEXTAREA"===n.tagName||"SELECT"===n.tagName||"true"===n.dataset["shortcut-recorder"])&&!n.hasAttribute("readonly"))){var t,n,a=[];e.metaKey&&a.push("Meta"),e.ctrlKey&&a.push("Control"),e.altKey&&a.push("Alt"),e.shiftKey&&a.push("Shift"),"Meta"!==e.key&&"Control"!==e.key&&"Alt"!==e.key&&"Shift"!==e.key&&a.push(e.code);var i=a.join("+");r[i]&&(e.preventDefault(),r[i]())}};return window.addEventListener("keydown",e),function(){return window.removeEventListener("keydown",e)}},i=[o,r],l[0]=o,l[1]=r,l[2]=a,l[3]=i):(a=l[2],i=l[3]),(0,C.useEffect)(a,i),y[3]===Symbol.for("react.memo_cache_sentinel")?(c=(0,S.jsx)(u7,{name:"panel-selector",children:(0,S.jsx)(u2,{})}),y[3]=c):c=y[3];var _=500/v.scale;return y[4]!==_?(u={kind:"fixed",height:_,width:512},y[4]=_,y[5]=u):u=y[5],y[6]===Symbol.for("react.memo_cache_sentinel")?(d=(0,S.jsx)(uX,{title:"Preferences"}),f=(0,S.jsx)(u6,{}),y[6]=d,y[7]=f):(d=y[6],f=y[7]),y[8]!==u?(p=(0,S.jsx)(u7,{name:"preferences",children:(0,S.jsx)(o5,{sharePanelSizeGlobally:!1,sizeConfig:u,closeOnClickOutside:!0,header:d,children:f})}),y[8]=u,y[9]=p):p=y[9],y[10]!==v.routerType||y[11]!==v.scale||y[12]!==v.staticIndicator?(h="disabled"!==v.staticIndicator&&"pending"!==v.staticIndicator&&(0,S.jsx)(u7,{name:"route-type",children:(0,S.jsx)(o5,{sharePanelSizeGlobally:!1,sizeConfig:{kind:"fixed",height:"static"===v.staticIndicator?300/v.scale:325/v.scale,width:400/v.scale},closeOnClickOutside:!0,header:(0,S.jsx)(uX,{title:"".concat("static"===v.staticIndicator?"Static":"Dynamic"," Route")}),children:(0,S.jsxs)("div",{className:"panel-content",children:[(0,S.jsx)(an,{routerType:v.routerType,isStaticRoute:"static"===v.staticIndicator}),(0,S.jsx)(u5,{href:at[v.routerType][v.staticIndicator]})]})},v.staticIndicator)}),y[10]=v.routerType,y[11]=v.scale,y[12]=v.staticIndicator,y[13]=h):h=y[13],y[14]!==w||y[15]!==v.page||y[16]!==v.scale?(m=w&&(0,S.jsx)(u7,{name:"segment-explorer",children:(0,S.jsx)(o5,{sharePanelSizeGlobally:!1,sharePanelPositionGlobally:!1,draggable:!0,sizeConfig:{kind:"resizable",maxHeight:"90vh",maxWidth:"90vw",minHeight:200/v.scale,minWidth:250/v.scale,initialSize:{height:375/v.scale,width:400/v.scale}},header:(0,S.jsx)(uX,{title:"Route Info"}),children:(0,S.jsx)(uV,{page:v.page})})}),y[14]=w,y[15]=v.page,y[16]=v.scale,y[17]=m):m=y[17],y[18]!==p||y[19]!==h||y[20]!==m?(g=(0,S.jsxs)(S.Fragment,{children:[c,p,h,m]}),y[18]=p,y[19]=h,y[20]=m,y[21]=g):g=y[21],g},u5=function(e){var t,n=(0,O.c)(2),r=e.href;return n[0]!==r?(t=(0,S.jsx)("div",{className:"dev-tools-info-button-container",children:(0,S.jsx)("a",{className:"dev-tools-info-learn-more-button",href:r,target:"_blank",rel:"noreferrer noopener",children:"Learn More"})}),n[0]=r,n[1]=t):t=n[1],t},u6=function(){var e,t,n,r,o=(0,O.c)(17),a=dw(),i=a.dispatch,l=a.state,s=r3(),c=s.setPanel,u=s.setSelectedIndex,d=oC();return o[0]!==i?(e=function(e){i({type:er,scale:e})},o[0]=i,o[1]=e):e=o[1],o[2]!==i||o[3]!==d?(t=function(e){i({type:et,devToolsPosition:e}),d(e)},o[2]=i,o[3]=d,o[4]=t):t=o[4],o[5]!==i||o[6]!==c||o[7]!==u?(n=function(){i({type:W,disabled:!0}),u(-1),c(null),fetch("/__nextjs_disable_dev_indicator",{method:"POST"})},o[5]=i,o[6]=c,o[7]=u,o[8]=n):n=o[8],o[9]!==l.devToolsPosition||o[10]!==l.hideShortcut||o[11]!==l.scale||o[12]!==l.theme||o[13]!==e||o[14]!==t||o[15]!==n?(r=(0,S.jsx)("div",{className:"user-preferences-wrapper",children:(0,S.jsx)(rC,{theme:l.theme,position:l.devToolsPosition,scale:l.scale,setScale:e,setPosition:t,hideShortcut:l.hideShortcut,setHideShortcut:de,hide:n})}),o[9]=l.devToolsPosition,o[10]=l.hideShortcut,o[11]=l.scale,o[12]=l.theme,o[13]=e,o[14]=t,o[15]=n,o[16]=r):r=o[16],r},u9=function(){return(0,C.useContext)(u8)},u8=(0,C.createContext)(null);function u7(e){var t,n,r,o,a,i=(0,O.c)(12),l=e.children,s=e.name,c=r3().panel;i[0]===Symbol.for("react.memo_cache_sentinel")?(t={enterDelay:0,exitDelay:200},i[0]=t):t=i[0];var u=rD(s===c,t),d=u.mounted,f=u.rendered;if(!d)return null;i[1]!==d||i[2]!==s?(n={name:s,mounted:d},i[1]=d,i[2]=s,i[3]=n):n=i[3];var p=+!!f;i[4]!==p?(r={"--panel-opacity":p,"--panel-transition":"opacity ".concat(200,"ms ").concat(nc)},i[4]=p,i[5]=r):r=i[5];var h=r;return i[6]!==l||i[7]!==h?(o=(0,S.jsx)("div",{id:"panel-route",className:"panel-route",style:h,children:l}),i[6]=l,i[7]=h,i[8]=o):o=i[8],i[9]!==n||i[10]!==o?(a=(0,S.jsx)(u8,{value:n,children:o}),i[9]=n,i[10]=o,i[11]=a):a=i[11],a}function de(e){rk({hideShortcut:e})}function dt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function dn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return dt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return dt(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var dr=(0,C.createContext)(null),da=function(){return(0,C.useContext)(dr)};function di(){var e,t,n,r,o=(0,O.c)(11),a=dn((0,C.useState)(null),2),i=a[0],l=a[1],s=dn((0,C.useState)(-1),2),c=s[0],u=s[1],d=dw(),f=d.state,p=d.dispatch,h=d.getSquashedHydrationErrorDetails,m=(0,C.useRef)(null);return o[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,S.jsx)(rK,{}),t=(0,S.jsx)(rA,{}),o[0]=e,o[1]=t):(e=o[0],t=o[1]),o[2]!==p||o[3]!==h||o[4]!==i||o[5]!==c||o[6]!==f?(n=function(e){var t=e.runtimeErrors,n=e.totalErrorCount;return(0,S.jsx)(S.Fragment,{children:f.showIndicator?(0,S.jsx)(S.Fragment,{children:(0,S.jsx)(dr,{value:{runtimeErrors:t,totalErrorCount:n},children:(0,S.jsxs)(r2,{value:{panel:i,setPanel:l,triggerRef:m,selectedIndex:c,setSelectedIndex:u},children:[(0,S.jsx)(rU,{state:f,dispatch:p,getSquashedHydrationErrorDetails:h,runtimeErrors:t,errorCount:n}),(0,S.jsx)(u4,{}),(0,S.jsx)(oO,{})]})})}):null})},o[2]=p,o[3]=h,o[4]=i,o[5]=c,o[6]=f,o[7]=n):n=o[7],o[8]!==f||o[9]!==n?(r=(0,S.jsxs)(ew,{children:[e,t,(0,S.jsx)(r$,{state:f,isAppDir:!0,children:n})]}),o[8]=f,o[9]=n,o[10]=r):r=o[10],r}function dl(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ds(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}function dc(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function du(e){return function(e){if(Array.isArray(e))return dl(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||dd(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function dd(e,t){if(e){if("string"==typeof e)return dl(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return dl(e,t)}}var df=null,dp=[],dh=null;function dm(){return dh?dc(ds({},dh),{errors:dh.errors.map(function(e){return dc(ds({},e),{error:e.error?{name:e.error.name,message:e.error.message,stack:e.error.stack}:null})})}):null}function dg(){return dh?{segmentTrie:ap(),routerType:dh.routerType}:null}function dy(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];df?e.apply(void 0,[df].concat(du(n))):dp.push(function(t){e.apply(void 0,[t].concat(du(n)))})}}var dv={onBuildOk:dy(function(e){e({type:M})}),onBuildError:dy(function(e,t){e({type:Z,message:t})}),onBeforeRefresh:dy(function(e){e({type:U})}),onRefresh:dy(function(e){e({type:F})}),onVersionInfo:dy(function(e,t){e({type:H,versionInfo:t})}),onCacheIndicator:dy(function(e,t){e({type:R,cacheIndicator:t})}),onStaticIndicator:dy(function(e,t){e({type:D,staticIndicator:t})}),onDebugInfo:dy(function(e,t){e({type:$,debugInfo:t})}),onDevIndicator:dy(function(e,t){e({type:q,devIndicator:t})}),onDevToolsConfig:dy(function(e,t){e({type:eo,devToolsConfig:t})}),onUnhandledError:dy(function(e,t){e({type:V,reason:t})}),onUnhandledRejection:dy(function(e,t){e({type:B,reason:t})}),openErrorOverlay:dy(function(e){e({type:K})}),closeErrorOverlay:dy(function(e){e({type:Y})}),toggleErrorOverlay:dy(function(e){e({type:X})}),buildingIndicatorHide:dy(function(e){e({type:Q})}),buildingIndicatorShow:dy(function(e){e({type:G})}),renderingIndicatorHide:dy(function(e){e({type:ee})}),renderingIndicatorShow:dy(function(e){e({type:J})}),segmentExplorerNodeAdd:dy(function(e,t){ad(t)}),segmentExplorerNodeRemove:dy(function(e,t){af(t)}),segmentExplorerUpdateRouteState:dy(function(e,t){e({type:ec,page:t})})};function db(e){var t,n,r,o,a,i,l,s,c,u,d,f,p,h,m,g,y,v,b,x,w,_,j=(0,O.c)(22),k=e.enableCacheIndicator,P=e.getOwnerStack,z=e.getSquashedHydrationErrorDetails,ea=e.isRecoverableError,ei=e.routerType,el=e.shadowRoot,es=(t=ei,n=P,r=ea,o=k,(u=(0,O.c)(8))[0]!==n||u[1]!==r?(l=function(e,t,o){var a,i=n(o),l=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:process.env.__NEXT_DIST_DIR;return e?(e=e.split("\n").map(function(e){return e.includes("(eval ")&&(e=e.replace(/eval code/g,"eval").replace(/\(eval at [^()]* \(/,"(file://").replace(/\),.*$/g,")")),e}).join("\n"),(0,E.parse)(e).map(function(e){try{var n=new URL(e.file),r=T.exec(n.pathname);if(r){var o,a=null==t||null==(o=t.replace(/\\/g,"/"))?void 0:o.replace(/\/$/,"");a&&(e.file="file://"+a.concat(r.pop())+n.search)}}catch(e){}return{file:e.file,line1:e.lineNumber,column1:e.column,methodName:e.methodName,arguments:e.arguments}})):[]}((o.stack||"")+(i||"")),s={id:t,error:o,frames:l,type:r(o)?"recoverable":(a=o)&&"NEXT_CONSOLE_ERROR"===a[N]?"console":"runtime"},c=e.filter(function(e){return""+e.error!=""+s.error||e.error.stack!==s.error.stack&&ed(e.error.stack)!==ed(s.error.stack)||n(e.error)!==n(s.error)});return c.length===e.length?(c.push(s),c):e},u[0]=n,u[1]=r,u[2]=l):l=u[2],d=l,(u[3]!==d?(s=function(e,t){switch(t.type){case $:return A(L({},e),{debugInfo:t.debugInfo});case R:return A(L({},e),{cacheIndicator:t.cacheIndicator});case D:return A(L({},e),{staticIndicator:t.staticIndicator});case M:return A(L({},e),{buildError:null});case Z:return A(L({},e),{buildError:t.message});case U:return A(L({},e),{refreshState:{type:"pending",errors:[]}});case F:return A(L({},e),{buildError:null,errors:"pending"===e.refreshState.type?e.refreshState.errors:[],refreshState:{type:"idle"}});case V:case B:switch(e.refreshState.type){case"idle":return A(L({},e),{nextId:e.nextId+1,errors:d(e.errors,e.nextId,t.reason)});case"pending":return A(L({},e),{nextId:e.nextId+1,refreshState:A(L({},e.refreshState),{errors:d(e.errors,e.nextId,t.reason)})});default:return e}case H:return A(L({},e),{versionInfo:t.versionInfo});case W:return A(L({},e),{disableDevIndicator:t.disabled});case q:return A(L({},e),{showIndicator:!0,disableDevIndicator:ef||!!t.devIndicator.disabledUntil});case K:return A(L({},e),{isErrorOverlayOpen:!0});case Y:return A(L({},e),{isErrorOverlayOpen:!1});case X:return A(L({},e),{isErrorOverlayOpen:!e.isErrorOverlayOpen});case G:return A(L({},e),{buildingIndicator:!0});case Q:return A(L({},e),{buildingIndicator:!1});case J:return A(L({},e),{renderingIndicator:!0});case ee:return A(L({},e),{renderingIndicator:!1});case et:return A(L({},e),{devToolsPosition:t.devToolsPosition});case en:return A(L({},e),{devToolsPanelPosition:A(L({},e.devToolsPanelPosition),I({},t.key,t.devToolsPanelPosition))});case er:return A(L({},e),{scale:t.scale});case ec:return A(L({},e),{page:t.page});case eo:var n=t.devToolsConfig,r=n.theme,o=n.disableDevIndicator,a=n.devToolsPosition,i=n.devToolsPanelPosition,l=n.devToolsPanelSize,s=n.scale,c=n.hideShortcut;return A(L({},e),{theme:null!=r?r:e.theme,disableDevIndicator:null!=o?o:e.disableDevIndicator,devToolsPosition:null!=a?a:e.devToolsPosition,devToolsPanelPosition:null!=i?i:e.devToolsPanelPosition,scale:null!=s?s:e.scale,devToolsPanelSize:null!=l?l:e.devToolsPanelSize,hideShortcut:void 0!==c?c:e.hideShortcut});default:return e}},u[3]=d,u[4]=s):s=u[4],u[5]!==o||u[6]!==t)?(a=t,i=o,c=A(L({},eh),{isErrorOverlayOpen:"pages"===a,routerType:a,cacheIndicator:i?"ready":"disabled"}),u[5]=o,u[6]=t,u[7]=c):c=u[7],f=(0,C.useReducer)(s,c),function(e){if(Array.isArray(e))return e}(f)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),2!==a.length);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(f,2)||dd(f,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),eu=es[0],ep=es[1];return j[0]!==ei||j[1]!==eu?(p=function(){dh=dc(ds({},eu),{routerType:ei})},h=[eu,ei],j[0]=ei,j[1]=eu,j[2]=p,j[3]=h):(p=j[2],h=j[3]),(0,C.useEffect)(p,h),j[4]!==el.host||j[5]!==eu.theme?(m=function(){var e=el.host;"dark"===eu.theme?(e.classList.add("dark"),e.classList.remove("light")):"light"===eu.theme?(e.classList.add("light"),e.classList.remove("dark")):(e.classList.remove("dark"),e.classList.remove("light"))},j[4]=el.host,j[5]=eu.theme,j[6]=m):m=j[6],j[7]!==el||j[8]!==eu.theme?(g=[el,eu.theme],j[7]=el,j[8]=eu.theme,j[9]=g):g=j[9],(0,C.useLayoutEffect)(m,g),j[10]!==ep?(y=function(){df=ep;var e=setTimeout(function(){!function(e){try{var t=!0,n=!1,r=void 0;try{for(var o,a=dp[Symbol.iterator]();!(t=(o=a.next()).done);t=!0)(0,o.value)(e)}catch(e){n=!0,r=e}finally{try{t||null==a.return||a.return()}finally{if(n)throw r}}}finally{dp.length=0}}(ep)});return function(){df=null,clearTimeout(e)}},j[10]=ep,j[11]=y):y=j[11],j[12]===Symbol.for("react.memo_cache_sentinel")?(v=[],j[12]=v):v=j[12],(0,C.useInsertionEffect)(y,v),j[13]===Symbol.for("react.memo_cache_sentinel")?(b=(0,S.jsx)(ev,{}),j[13]=b):b=j[13],j[14]!==ep||j[15]!==z||j[16]!==el||j[17]!==eu?(x={dispatch:ep,getSquashedHydrationErrorDetails:z,shadowRoot:el,state:eu},j[14]=ep,j[15]=z,j[16]=el,j[17]=eu,j[18]=x):x=j[18],j[19]===Symbol.for("react.memo_cache_sentinel")?(w=(0,S.jsx)(di,{}),j[19]=w):w=j[19],j[20]!==x?(_=(0,S.jsxs)(S.Fragment,{children:[b,(0,S.jsx)(dx,{value:x,children:w})]}),j[20]=x,j[21]=_):_=j[21],_}var dx=(0,C.createContext)(null),dw=function(){return(0,C.useContext)(dx)},d_=!1,dj=!1;function dk(){return null}function dS(e,t,n){if(d_)throw Error("Next DevTools: Pages Dev Overlay is already mounted. This is a bug in Next.js");if(!dj){var r=document.createElement("script");r.style.display="block",r.style.position="absolute",r.setAttribute("data-nextjs-dev-overlay","true");var o=document.createElement("nextjs-portal");r.appendChild(o),document.body.appendChild(r);var a=(0,em.createRoot)(o,{identifierPrefix:"ndt-",onDefaultTransitionIndicator:function(){return function(){}}}),i=o.attachShadow({mode:"open"});(0,C.startTransition)(function(){a.render((0,S.jsx)(db,{enableCacheIndicator:n,getOwnerStack:e,getSquashedHydrationErrorDetails:dk,isRecoverableError:t,routerType:"app",shadowRoot:i}))}),dj=!0}}function dO(e,t,n){if(dj)throw Error("Next DevTools: App Dev Overlay is already mounted. This is a bug in Next.js");if(!d_){var r=document.createElement("nextjs-portal");r.style.position="absolute",new MutationObserver(function(e){var t=!0,n=!1,o=void 0;try{for(var a,i=e[Symbol.iterator]();!(t=(a=i.next()).done);t=!0){var l=a.value;if("childList"===l.type){var s=!0,c=!1,u=void 0;try{for(var d,f=l.removedNodes[Symbol.iterator]();!(s=(d=f.next()).done);s=!0)d.value===r&&document.body.appendChild(r)}catch(e){c=!0,u=e}finally{try{s||null==f.return||f.return()}finally{if(c)throw u}}}}}catch(e){n=!0,o=e}finally{try{t||null==i.return||i.return()}finally{if(n)throw o}}}).observe(document.body,{childList:!0}),document.body.appendChild(r);var o=(0,em.createRoot)(r,{identifierPrefix:"ndt-"}),a=r.attachShadow({mode:"open"});(0,C.startTransition)(function(){o.render((0,S.jsx)(db,{enableCacheIndicator:!1,getOwnerStack:e,getSquashedHydrationErrorDetails:t,isRecoverableError:n,routerType:"pages",shadowRoot:a}))}),d_=!0}}})(),exports.DevOverlayContext=__webpack_exports__.DevOverlayContext,exports.dispatcher=__webpack_exports__.dispatcher,exports.getSegmentTrieData=__webpack_exports__.getSegmentTrieData,exports.getSerializedOverlayState=__webpack_exports__.getSerializedOverlayState,exports.renderAppDevOverlay=__webpack_exports__.renderAppDevOverlay,exports.renderPagesDevOverlay=__webpack_exports__.renderPagesDevOverlay,exports.useDevOverlayContext=__webpack_exports__.useDevOverlayContext,__webpack_exports__)-1===["DevOverlayContext","dispatcher","getSegmentTrieData","getSerializedOverlayState","renderAppDevOverlay","renderPagesDevOverlay","useDevOverlayContext"].indexOf(__rspack_i)&&(exports[__rspack_i]=__webpack_exports__[__rspack_i]);Object.defineProperty(exports,"__esModule",{value:!0}); -//# sourceMappingURL=index.js.map -})(); -}), -]); - -//# sourceMappingURL=node_modules_next_dist_compiled_next-devtools_index_1dd7fb59.js.map \ No newline at end of file diff --git a/.next/dev/static/chunks/node_modules_next_dist_compiled_next-devtools_index_1dd7fb59.js.map b/.next/dev/static/chunks/node_modules_next_dist_compiled_next-devtools_index_1dd7fb59.js.map deleted file mode 100644 index 1e24857..0000000 --- a/.next/dev/static/chunks/node_modules_next_dist_compiled_next-devtools_index_1dd7fb59.js.map +++ /dev/null @@ -1,6 +0,0 @@ -{ - "version": 3, - "sources": [], - "sections": [ - {"offset": {"line": 3, "column": 0}, "map": {"version":3,"sources":["webpack://next/./src/next-devtools/dev-overlay/components/devtools-indicator/devtools-indicator.css","webpack://next/./src/next-devtools/dev-overlay/components/devtools-panel/resize/resize-handle.css","webpack://next/./src/next-devtools/dev-overlay/components/overview/segment-boundary-trigger.css","webpack://next/./src/next-devtools/dev-overlay/components/overview/segment-explorer.css","webpack://next/./src/next-devtools/dev-overlay/components/toast/style.css","webpack://next/./src/next-devtools/dev-overlay/components/tooltip/tooltip.css","webpack://next/./src/next-devtools/dev-overlay/global.css","webpack://next/./src/next-devtools/dev-overlay/menu/panel-router.css","webpack://next/./src/next-devtools/dev-overlay/normalize.css","webpack://next/./src/next-devtools/dev-overlay/panel/dynamic-panel.css","webpack://next/./src/next-devtools/dev-overlay/styles/colors.css","webpack://next/./src/next-devtools/dev-overlay/styles/dark-theme.css","webpack://next/./src/next-devtools/dev-overlay/styles/default-theme.css","webpack://next/../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/api.js","webpack://next/../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/noSourceMaps.js","webpack://next/../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack://next/../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/insertStyleElement.js","webpack://next/../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js","webpack://next/../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/styleDomAPI.js","webpack://next/../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/styleTagTransform.js","webpack://next/./dist/compiled/anser/index.js","webpack://next/./dist/compiled/react-dom/cjs/react-dom-client.production.js","webpack://next/./dist/compiled/react-dom/cjs/react-dom.production.js","webpack://next/./dist/compiled/react-dom/client.js","webpack://next/./dist/compiled/react-dom/index.js","webpack://next/./dist/compiled/react/cjs/react-compiler-runtime.production.js","webpack://next/./dist/compiled/react/cjs/react-jsx-runtime.production.js","webpack://next/./dist/compiled/react/cjs/react.production.js","webpack://next/./dist/compiled/react/compiler-runtime.js","webpack://next/./dist/compiled/react/index.js","webpack://next/./dist/compiled/react/jsx-runtime.js","webpack://next/./dist/compiled/scheduler/cjs/scheduler.production.js","webpack://next/./dist/compiled/scheduler/index.js","webpack://next/./dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","webpack://next/./dist/compiled/strip-ansi/index.js","webpack://next/./src/build/webpack/loaders/devtool/devtool-style-inject.js","webpack://next/./dist/compiled/zod/index.cjs","webpack://next/webpack/runtime/compat_get_default_export","webpack://next/webpack/runtime/create_fake_namespace_object","webpack://next/webpack/runtime/define_property_getters","webpack://next/webpack/runtime/has_own_property","webpack://next/webpack/runtime/make_namespace_object","webpack://next/webpack/runtime/nonce","webpack://next/./src/next-devtools/dev-overlay/components/devtools-indicator/status-indicator.tsx","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/utils/styleHookMapping.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/utils/popupStateMapping.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/composite/list/useCompositeListItem.js","webpack://next/./src/next-devtools/dev-overlay/shared.ts","webpack://next/./src/next-devtools/dev-overlay/components/overlay/body-locker.ts","webpack://next/./src/next-devtools/dev-overlay/global.css?b52d","webpack://next/./src/next-devtools/dev-overlay/components/toast/style.css?be9e","webpack://next/./src/server/lib/parse-stack.ts","webpack://next/./src/next-devtools/shared/console-error.ts","webpack://next/./src/next-devtools/dev-overlay/utils/css.ts","webpack://next/./src/next-devtools/dev-overlay/font/font-styles.tsx","webpack://next/./src/next-devtools/dev-overlay/components/shadow-portal.tsx","webpack://next/./src/shared/lib/magic-identifier.ts","webpack://next/./src/next-devtools/dev-overlay/components/hot-linked-text/index.tsx","webpack://next/./src/next-devtools/shared/webpack-module-path.ts","webpack://next/./src/next-devtools/shared/stack-frame.ts","webpack://next/./src/next-devtools/dev-overlay/utils/use-open-in-editor.ts","webpack://next/./src/next-devtools/dev-overlay/icons/external.tsx","webpack://next/./src/next-devtools/dev-overlay/icons/file.tsx","webpack://next/./src/next-devtools/dev-overlay/components/code-frame/parse-code-frame.ts","webpack://next/./src/next-devtools/dev-overlay/components/code-frame/code-frame.tsx","webpack://next/./src/next-devtools/dev-overlay/components/dialog/dialog-body.tsx","webpack://next/./src/next-devtools/dev-overlay/components/dialog/dialog-content.tsx","webpack://next/./src/next-devtools/dev-overlay/components/dialog/styles.ts","webpack://next/./src/next-devtools/dev-overlay/utils/cx.ts","webpack://next/./src/next-devtools/dev-overlay/components/copy-button/index.tsx","webpack://next/./src/next-devtools/dev-overlay/components/errors/error-overlay-toolbar/nodejs-inspector-button.tsx","webpack://next/./src/next-devtools/dev-overlay/components/errors/error-overlay-toolbar/copy-error-button.tsx","webpack://next/./src/next-devtools/shared/react-19-hydration-error.ts","webpack://next/./src/next-devtools/dev-overlay/components/errors/error-overlay-toolbar/docs-link-button.tsx","webpack://next/./src/next-devtools/dev-overlay/utils/parse-url-from-text.ts","webpack://next/./src/next-devtools/dev-overlay/components/errors/error-overlay-toolbar/error-overlay-toolbar.tsx","webpack://next/./src/next-devtools/dev-overlay/icons/thumbs/thumbs-up.tsx","webpack://next/./src/next-devtools/dev-overlay/icons/thumbs/thumbs-down.tsx","webpack://next/./src/next-devtools/dev-overlay/components/errors/error-overlay-footer/error-feedback/error-feedback.tsx","webpack://next/./src/next-devtools/dev-overlay/components/errors/error-overlay-footer/error-overlay-footer.tsx","webpack://next/./src/next-devtools/dev-overlay/components/errors/error-message/error-message.tsx","webpack://next/./src/next-devtools/dev-overlay/components/errors/error-type-label/error-type-label.tsx","webpack://next/./src/next-devtools/dev-overlay/icons/left-arrow.tsx","webpack://next/./src/next-devtools/dev-overlay/icons/right-arrow.tsx","webpack://next/./src/next-devtools/dev-overlay/components/errors/error-overlay-pagination/error-overlay-pagination.tsx","webpack://next/./src/next-devtools/dev-overlay/icons/eclipse.tsx","webpack://next/./src/next-devtools/dev-overlay/components/version-staleness-info/version-staleness-info.tsx","webpack://next/./src/next-devtools/shared/version-staleness.ts","webpack://next/./src/next-devtools/dev-overlay/components/errors/error-overlay-nav/error-overlay-nav.tsx","webpack://next/./src/next-devtools/dev-overlay/components/dialog/dialog.tsx","webpack://next/./src/next-devtools/dev-overlay/hooks/use-on-click-outside.ts","webpack://next/./src/next-devtools/dev-overlay/components/errors/dialog/dialog.tsx","webpack://next/./src/next-devtools/dev-overlay/components/dialog/dialog-header.tsx","webpack://next/./src/next-devtools/dev-overlay/components/errors/dialog/header.tsx","webpack://next/./src/next-devtools/dev-overlay/components/errors/dialog/body.tsx","webpack://next/./src/next-devtools/dev-overlay/components/overlay/overlay.tsx","webpack://next/./src/next-devtools/dev-overlay/components/errors/overlay/overlay.tsx","webpack://next/./src/next-devtools/dev-overlay/components/errors/error-overlay-bottom-stack/index.tsx","webpack://next/./src/next-devtools/dev-overlay/components/errors/environment-name-label/environment-name-label.tsx","webpack://next/./src/next-devtools/dev-overlay/components/errors/dev-tools-indicator/utils.ts","webpack://next/./src/next-devtools/dev-overlay/components/fader/index.tsx","webpack://next/./src/next-devtools/dev-overlay/components/resizer/index.tsx","webpack://next/./src/next-devtools/dev-overlay/components/overlay/overlay-backdrop.tsx","webpack://next/./src/next-devtools/dev-overlay/components/errors/error-overlay-layout/error-overlay-layout.tsx","webpack://next/./src/next-devtools/dev-overlay/components/overlay/styles.tsx","webpack://next/./src/next-devtools/dev-overlay/components/terminal/editor-link.tsx","webpack://next/./src/next-devtools/dev-overlay/components/terminal/terminal.tsx","webpack://next/./src/next-devtools/dev-overlay/container/build-error.tsx","webpack://next/./src/next-devtools/dev-overlay/components/call-stack-frame/call-stack-frame.tsx","webpack://next/./src/next-devtools/dev-overlay/icons/chevron-up-down.tsx","webpack://next/./src/next-devtools/dev-overlay/components/call-stack/call-stack.tsx","webpack://next/./src/next-devtools/dev-overlay/components/errors/error-overlay-call-stack/error-overlay-call-stack.tsx","webpack://next/./src/next-devtools/dev-overlay/icons/collapse-icon.tsx","webpack://next/./src/next-devtools/dev-overlay/components/hydration-diff/diff-view.tsx","webpack://next/./src/shared/lib/error-source.ts","webpack://next/./src/next-devtools/dev-overlay/utils/get-error-by-type.ts","webpack://next/./src/next-devtools/dev-overlay/container/runtime-error/index.tsx","webpack://next/./src/next-devtools/dev-overlay/container/runtime-error/component-stack-pseudo-html.tsx","webpack://next/./src/next-devtools/dev-overlay/container/errors.tsx","webpack://next/./src/next-devtools/dev-overlay/hooks/use-active-runtime-error.ts","webpack://next/./src/lib/error-telemetry-utils.ts","webpack://next/./src/next-devtools/dev-overlay/icons/eye-icon.tsx","webpack://next/./src/next-devtools/dev-overlay/icons/light-icon.tsx","webpack://next/./src/next-devtools/dev-overlay/icons/dark-icon.tsx","webpack://next/./src/next-devtools/dev-overlay/icons/system-icon.tsx","webpack://next/./src/next-devtools/dev-overlay/components/errors/dev-tools-indicator/dev-tools-info/shortcut-recorder.tsx","webpack://next/./src/next-devtools/shared/devtools-config-schema.ts","webpack://next/./src/next-devtools/dev-overlay/utils/save-devtools-config.ts","webpack://next/./src/next-devtools/shared/deepmerge.ts","webpack://next/./src/next-devtools/dev-overlay/components/errors/dev-tools-indicator/dev-tools-info/user-preferences.tsx","webpack://next/./src/next-devtools/dev-overlay/components/errors/error-overlay-toolbar/use-restart-server.ts","webpack://next/./src/next-devtools/dev-overlay/styles/component-styles.tsx","webpack://next/./src/next-devtools/dev-overlay/hooks/use-delayed-render.ts","webpack://next/./src/next-devtools/dev-overlay/components/errors/error-overlay/error-overlay.tsx","webpack://next/./src/next-devtools/dev-overlay/container/runtime-error/render-error.tsx","webpack://next/./src/next-devtools/dev-overlay/styles/scale-updater.tsx","webpack://next/./src/next-devtools/dev-overlay/components/devtools-indicator/devtools-indicator.css?5a1f","webpack://next/./src/next-devtools/dev-overlay/icons/cross.tsx","webpack://next/./src/next-devtools/dev-overlay/icons/warning.tsx","webpack://next/./src/next-devtools/dev-overlay/menu/context.tsx","webpack://next/./src/next-devtools/dev-overlay/utils/indicator-metrics.ts","webpack://next/./src/next-devtools/dev-overlay/components/devtools-indicator/next-logo.tsx","webpack://next/./src/next-devtools/dev-overlay/components/devtools-indicator/hooks/use-update-animation.ts","webpack://next/./src/next-devtools/dev-overlay/components/devtools-indicator/hooks/use-measure-width.ts","webpack://next/./src/next-devtools/dev-overlay/components/toast/toast.tsx","webpack://next/./src/next-devtools/dev-overlay/components/errors/dev-tools-indicator/drag-context.tsx","webpack://next/./src/next-devtools/dev-overlay/components/errors/dev-tools-indicator/draggable.tsx","webpack://next/./src/next-devtools/dev-overlay/components/devtools-indicator/devtools-indicator.tsx","webpack://next/./src/next-devtools/dev-overlay/menu/dev-overlay-menu.tsx","webpack://next/./src/next-devtools/dev-overlay/components/devtools-panel/resize/resize-provider.tsx","webpack://next/./src/next-devtools/dev-overlay/components/devtools-panel/resize/resize-handle.css?390f","webpack://next/./src/next-devtools/dev-overlay/components/devtools-panel/resize/resize-handle.tsx","webpack://next/./src/next-devtools/dev-overlay/panel/dynamic-panel.css?7165","webpack://next/./src/next-devtools/dev-overlay/panel/dynamic-panel.tsx","webpack://next/./src/next-devtools/dev-overlay/components/errors/dev-tools-indicator/dev-tools-info/route-info.tsx","webpack://next/./src/next-devtools/dev-overlay/components/overview/segment-explorer.css?efbd","webpack://next/./src/next-devtools/dev-overlay/segment-explorer-trie.ts","webpack://next/./src/next-devtools/dev-overlay/components/overview/segment-boundary-trigger.css?98e3","webpack://next/../../node_modules/.pnpm/@base-ui-components+utils@0.1.0_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-20251217_tllinc7dqn33q7njcbojl6xrce/node_modules/@base-ui-components/utils/esm/useRefWithInit.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+utils@0.1.0_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-20251217_tllinc7dqn33q7njcbojl6xrce/node_modules/@base-ui-components/utils/esm/useOnMount.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+utils@0.1.0_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-20251217_tllinc7dqn33q7njcbojl6xrce/node_modules/@base-ui-components/utils/esm/useTimeout.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+utils@0.1.0_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-20251217_tllinc7dqn33q7njcbojl6xrce/node_modules/@base-ui-components/utils/esm/useEventCallback.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+utils@0.1.0_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-20251217_tllinc7dqn33q7njcbojl6xrce/node_modules/@base-ui-components/utils/esm/useControlled.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+utils@0.1.0_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-20251217_tllinc7dqn33q7njcbojl6xrce/node_modules/@base-ui-components/utils/esm/safeReact.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+utils@0.1.0_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-20251217_tllinc7dqn33q7njcbojl6xrce/node_modules/@base-ui-components/utils/esm/useId.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/floating-ui-react/utils/createEventEmitter.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+utils@0.1.0_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-20251217_tllinc7dqn33q7njcbojl6xrce/node_modules/@base-ui-components/utils/esm/useIsoLayoutEffect.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/floating-ui-react/components/FloatingTree.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useFloatingRootContext.js","webpack://next/../../node_modules/.pnpm/@floating-ui+utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs","webpack://next/../../node_modules/.pnpm/@base-ui-components+utils@0.1.0_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-20251217_tllinc7dqn33q7njcbojl6xrce/node_modules/@base-ui-components/utils/esm/useLatestRef.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+utils@0.1.0_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-20251217_tllinc7dqn33q7njcbojl6xrce/node_modules/@base-ui-components/utils/esm/detectBrowser.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/floating-ui-react/utils/event.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/floating-ui-react/utils/constants.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/floating-ui-react/utils/element.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/floating-ui-react/utils/createAttribute.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useHover.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/floating-ui-react/utils/nodes.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/floating-ui-react/safePolygon.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useFocus.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+utils@0.1.0_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-20251217_tllinc7dqn33q7njcbojl6xrce/node_modules/@base-ui-components/utils/esm/useAnimationFrame.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/utils/constants.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useDismiss.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useRole.js","webpack://next/../../node_modules/.pnpm/@floating-ui+utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/floating-ui-react/utils/composite.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/floating-ui-react/utils/enqueueFocus.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useListNavigation.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useInteractions.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/menu/root/MenuRootContext.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/menubar/MenubarContext.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/utils/useTransitionStatus.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/utils/useOpenChangeComplete.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/utils/useAnimationsFinished.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/direction-provider/DirectionContext.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+utils@0.1.0_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-20251217_tllinc7dqn33q7njcbojl6xrce/node_modules/@base-ui-components/utils/esm/owner.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/utils/noop.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/utils/useScrollLock.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/utils/translateOpenChangeReason.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/context-menu/root/ContextMenuRootContext.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/menu/submenu-root/MenuSubmenuRootContext.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+utils@0.1.0_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-20251217_tllinc7dqn33q7njcbojl6xrce/node_modules/@base-ui-components/utils/esm/mergeObjects.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/merge-props/mergeProps.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/menu/root/MenuRoot.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/utils/useOpenInteractionType.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+utils@0.1.0_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-20251217_tllinc7dqn33q7njcbojl6xrce/node_modules/@base-ui-components/utils/esm/useEnhancedClickHandler.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useClick.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useTypeahead.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/utils/useMixedToggleClickHander.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+utils@0.1.0_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-20251217_tllinc7dqn33q7njcbojl6xrce/node_modules/@base-ui-components/utils/esm/useMergedRefs.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+utils@0.1.0_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-20251217_tllinc7dqn33q7njcbojl6xrce/node_modules/@base-ui-components/utils/esm/reactVersion.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/utils/useRenderElement.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/utils/resolveClassName.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/utils/getStyleHookProps.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/composite/root/CompositeRootContext.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/use-button/useButton.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/utils/useFocusableWhenDisabled.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/composite/list/CompositeListContext.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/composite/item/CompositeItem.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/composite/item/useCompositeItem.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/menu/trigger/MenuTrigger.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/utils/getPseudoElementBounds.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+utils@0.1.0_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-20251217_tllinc7dqn33q7njcbojl6xrce/node_modules/@base-ui-components/utils/esm/visuallyHidden.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/utils/FocusGuard.js","webpack://next/../../node_modules/.pnpm/tabbable@6.2.0/node_modules/tabbable/src/index.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/floating-ui-react/utils/tabbable.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/floating-ui-react/components/FloatingPortal.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/menu/portal/MenuPortalContext.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/menu/portal/MenuPortal.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/menu/positioner/MenuPositionerContext.js","webpack://next/../../node_modules/.pnpm/@floating-ui+core@1.7.3/node_modules/@floating-ui/core/dist/floating-ui.core.mjs","webpack://next/../../node_modules/.pnpm/@floating-ui+dom@1.7.3/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs","webpack://next/../../node_modules/.pnpm/@floating-ui+react-dom@2.1.5_react-dom@19.3.0-canary-f93b9fd4-20251217_react@19.3.0-canary-f9_uajganyphuebxm4owqfqltyvfy/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/utils/useAnchorPositioning.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/floating-ui-react/middleware/arrow.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useFloating.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/composite/list/CompositeList.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/utils/InternalBackdrop.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/menu/positioner/MenuPositioner.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+utils@0.1.0_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-20251217_tllinc7dqn33q7njcbojl6xrce/node_modules/@base-ui-components/utils/esm/inertValue.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/floating-ui-react/utils/markOthers.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/floating-ui-react/components/FloatingFocusManager.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/menu/popup/MenuPopup.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/menu/group/MenuGroupContext.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/menu/group/MenuGroup.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/utils/useBaseUiId.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/menu/group-label/MenuGroupLabel.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/menu/item/useMenuItem.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/menu/item/MenuItem.js","webpack://next/./src/server/app-render/segment-explorer-path.ts","webpack://next/./src/next-devtools/dev-overlay/components/overview/segment-boundary-trigger.tsx","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/tooltip/root/TooltipRootContext.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/tooltip/trigger/TooltipTrigger.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/tooltip/positioner/TooltipPositionerContext.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/tooltip/arrow/TooltipArrow.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/tooltip/popup/TooltipPopup.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/tooltip/portal/TooltipPortalContext.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/tooltip/positioner/TooltipPositioner.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/utils/FloatingPortalLite.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/tooltip/portal/TooltipPortal.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/floating-ui-react/components/FloatingDelayGroup.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/tooltip/provider/TooltipProviderContext.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/tooltip/provider/TooltipProvider.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useClientPoint.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/tooltip/root/TooltipRoot.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.2_react-dom@19.3.0-canary-f93b9fd4-2_cpa3xtuy4iwbizrd4k4keh6gla/node_modules/@base-ui-components/react/esm/tooltip/utils/constants.js","webpack://next/./src/next-devtools/dev-overlay/components/tooltip/tooltip.css?ded2","webpack://next/./src/next-devtools/dev-overlay/components/tooltip/tooltip.tsx","webpack://next/./src/next-devtools/dev-overlay/components/overview/segment-suggestion.tsx","webpack://next/./src/next-devtools/dev-overlay/components/overview/segment-explorer.tsx","webpack://next/./src/next-devtools/dev-overlay/components/errors/dev-tools-indicator/dev-tools-info/dev-tools-header.tsx","webpack://next/./src/next-devtools/dev-overlay/icons/gear-icon.tsx","webpack://next/./src/next-devtools/dev-overlay/icons/loading-icon.tsx","webpack://next/./src/next-devtools/dev-overlay/menu/panel-router.css?5df7","webpack://next/./src/next-devtools/dev-overlay/menu/panel-router.tsx","webpack://next/./src/next-devtools/dev-overlay/hooks/use-shortcuts.ts","webpack://next/./src/next-devtools/dev-overlay/dev-overlay.tsx","webpack://next/./src/next-devtools/dev-overlay.browser.tsx"],"sourcesContent":["// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `[data-nextjs-toast] {\n &[data-hidden='true'] {\n display: none;\n }\n}\n\n.dev-tools-indicator-menu {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n background: var(--color-background-100);\n border: 1px solid var(--color-gray-alpha-400);\n background-clip: padding-box;\n box-shadow: var(--shadow-menu);\n border-radius: var(--rounded-xl);\n position: absolute;\n font-family: var(--font-stack-sans);\n z-index: 3;\n overflow: hidden;\n opacity: 0;\n outline: 0;\n min-width: 248px;\n transition: opacity var(--animate-out-duration-ms)\n var(--animate-out-timing-function);\n\n &[data-rendered='true'] {\n opacity: 1;\n scale: 1;\n }\n}\n\n.dev-tools-indicator-inner {\n padding: 6px;\n width: 100%;\n}\n\n.dev-tools-indicator-item {\n display: flex;\n align-items: center;\n padding: 8px 6px;\n height: var(--size-36);\n border-radius: 6px;\n text-decoration: none !important;\n user-select: none;\n white-space: nowrap;\n\n svg {\n width: var(--size-16);\n height: var(--size-16);\n }\n\n &:focus-visible {\n outline: 0;\n }\n}\n\n.dev-tools-indicator-footer {\n background: var(--color-background-200);\n padding: 6px;\n border-top: 1px solid var(--color-gray-400);\n width: 100%;\n}\n\n.dev-tools-indicator-item[data-selected='true'] {\n cursor: pointer;\n background-color: var(--color-gray-200);\n}\n\n.dev-tools-indicator-label {\n font-size: var(--size-14);\n line-height: var(--size-20);\n color: var(--color-gray-1000);\n}\n\n.dev-tools-indicator-value {\n font-size: var(--size-14);\n line-height: var(--size-20);\n color: var(--color-gray-900);\n margin-left: auto;\n}\n\n.dev-tools-indicator-issue-count {\n --color-primary: var(--color-gray-800);\n --color-secondary: var(--color-gray-100);\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n gap: 8px;\n min-width: var(--size-40);\n height: var(--size-24);\n background: var(--color-background-100);\n border: 1px solid var(--color-gray-alpha-400);\n background-clip: padding-box;\n box-shadow: var(--shadow-small);\n padding: 2px;\n color: var(--color-gray-1000);\n border-radius: 128px;\n font-weight: 500;\n font-size: var(--size-13);\n font-variant-numeric: tabular-nums;\n\n &[data-has-issues='true'] {\n --color-primary: var(--color-red-800);\n --color-secondary: var(--color-red-100);\n }\n\n .dev-tools-indicator-issue-count-indicator {\n width: var(--size-8);\n height: var(--size-8);\n background: var(--color-primary);\n box-shadow: 0 0 0 2px var(--color-secondary);\n border-radius: 50%;\n }\n}\n\n.dev-tools-indicator-shortcut {\n display: flex;\n gap: 4px;\n\n kbd {\n width: var(--size-20);\n height: var(--size-20);\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: var(--rounded-md);\n border: 1px solid var(--color-gray-400);\n font-family: var(--font-stack-sans);\n background: var(--color-background-100);\n color: var(--color-gray-1000);\n text-align: center;\n font-size: var(--size-12);\n line-height: var(--size-16);\n }\n}\n\n.dev-tools-grabbing {\n cursor: grabbing;\n\n > * {\n pointer-events: none;\n }\n}\n`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.resize-container {\n position: absolute;\n /* todo: better z index */\n z-index: 10;\n /* todo: is this needed */\n background: transparent;\n}\n\n.resize-line {\n position: absolute;\n /* todo smarter z index */\n z-index: -1;\n pointer-events: none;\n /* a normal exit animation curve- at this point the exit animation is */\n /* immediately responsive so we don't need a bespoke curve */\n transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);\n /* todo: better var? */\n border: 1px solid var(--color-gray-400);\n}\n\n/* start really fast because we start super hidden initially behind the panel, otherwise feels like an unintended animation delay */\n.resize-container:hover ~ .resize-line {\n transition: transform 0.25s cubic-bezier(0.23, 1, 0.32, 0.9);\n}\n\n.resize-container.right,\n.resize-container.left {\n top: 0;\n height: 100%;\n width: 22px;\n cursor: ew-resize;\n}\n\n/* todo: don't hard code all these values/use vars */\n\n.resize-container.bottom,\n.resize-container.top {\n left: 0;\n width: 100%;\n height: 22px;\n cursor: ns-resize;\n}\n\n.resize-container.top {\n top: -7px;\n}\n.resize-container.bottom {\n bottom: -7px;\n}\n.resize-container.left {\n left: -7px;\n}\n.resize-container.right {\n right: -7px;\n}\n\n.resize-container.top-left,\n.resize-container.top-right,\n.resize-container.bottom-left,\n.resize-container.bottom-right {\n width: 26px;\n height: 26px;\n z-index: 15;\n}\n\n.resize-container.top-left {\n top: -5px;\n left: -5px;\n cursor: nwse-resize;\n}\n.resize-container.top-right {\n top: -5px;\n right: -5px;\n cursor: nesw-resize;\n}\n.resize-container.bottom-left {\n bottom: -5px;\n left: -5px;\n cursor: nesw-resize;\n}\n.resize-container.bottom-right {\n bottom: -5px;\n right: -5px;\n cursor: nwse-resize;\n}\n\n.resize-line.top,\n.resize-line.bottom {\n height: 18px;\n width: 100%;\n background-color: var(--color-background-200);\n}\n\n.resize-line.left,\n.resize-line.right {\n width: 18px;\n height: 100%;\n background-color: var(--color-background-200);\n}\n\n.resize-line.top {\n top: -7px;\n left: calc(-1 * var(--border-left, 2px));\n width: calc(100% + var(--border-horizontal, 4px));\n border-radius: var(--rounded-lg) var(--rounded-lg) 0 0;\n transform: translateY(18px);\n}\n\n.resize-line.bottom {\n bottom: -7px;\n left: calc(-1 * var(--border-left, 2px));\n width: calc(100% + var(--border-horizontal, 4px));\n border-radius: 0 0 var(--rounded-lg) var(--rounded-lg);\n transform: translateY(-18px);\n}\n\n.resize-line.left {\n top: calc(-1 * var(--border-top, 2px));\n left: -7px;\n height: calc(100% + var(--border-vertical, 4px));\n border-radius: var(--rounded-lg) 0 0 var(--rounded-lg);\n transform: translateX(18px);\n}\n\n.resize-line.right {\n top: calc(-1 * var(--border-top, 2px));\n right: -7px;\n height: calc(100% + var(--border-vertical, 4px));\n border-radius: 0 var(--rounded-lg) var(--rounded-lg) 0;\n transform: translateX(-18px);\n}\n\n.resize-container.right:hover ~ .resize-line.right,\n.resize-container.left:hover ~ .resize-line.left,\n.resize-line.right.dragging,\n.resize-line.left.dragging {\n transform: translateX(0);\n}\n\n.resize-container.bottom:hover ~ .resize-line.bottom,\n.resize-container.top:hover ~ .resize-line.top,\n.resize-line.bottom.dragging,\n.resize-line.top.dragging {\n transform: translateY(0);\n}\n\n/* make sure that we don't show multiple handles at once\n * we should only ever show the currently resizing handle\n * regardless of hover state \n */\n.resize-container.no-hover.right:hover ~ .resize-line.right {\n transform: translateX(-20px);\n}\n.resize-container.no-hover.left:hover ~ .resize-line.left {\n transform: translateX(20px);\n}\n.resize-container.no-hover.bottom:hover ~ .resize-line.bottom {\n transform: translateY(-20px);\n}\n.resize-container.no-hover.top:hover ~ .resize-line.top {\n transform: translateY(20px);\n}\n`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.segment-boundary-trigger {\n display: flex;\n align-items: center;\n gap: 4px;\n padding: 4px 6px;\n line-height: 16px;\n font-weight: 500;\n color: var(--color-gray-1000);\n border-radius: 999px;\n border: none;\n font-size: var(--size-12);\n cursor: pointer;\n transition: background-color 0.15s ease;\n}\n\n.segment-boundary-trigger-text {\n font-size: var(--size-12);\n font-weight: 500;\n user-select: none;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n}\n\n.segment-boundary-trigger-text .plus-icon {\n transition: transform 0.25s ease;\n}\n\n.segment-boundary-trigger-text:hover .plus-icon {\n color: var(--color-gray-800);\n}\n\n.segment-boundary-trigger svg {\n width: 14px;\n height: 14px;\n flex-shrink: 0;\n vertical-align: middle;\n}\n\n.segment-boundary-trigger:hover svg {\n color: var(--color-gray-700);\n}\n\n.segment-boundary-trigger[disabled] svg,\n.segment-boundary-trigger[disabled]:hover svg {\n color: var(--color-gray-400);\n cursor: not-allowed;\n}\n\n.segment-boundary-dropdown {\n padding: 8px;\n background: var(--color-background-100);\n border: 1px solid var(--color-gray-400);\n border-radius: 16px;\n min-width: 120px;\n user-select: none;\n cursor: default;\n box-shadow: 0px 4px 8px -4px\n color-mix(in srgb, var(--color-gray-900) 4%, transparent);\n}\n\n.segment-boundary-dropdown-positioner {\n z-index: var(--top-z-index);\n}\n\n.segment-boundary-dropdown-item {\n display: flex;\n align-items: center;\n padding: 8px;\n line-height: 20px;\n font-size: 14px;\n border-radius: 6px;\n color: var(--color-gray-1000);\n cursor: pointer;\n min-width: 220px;\n border: none;\n background: none;\n width: 100%;\n}\n\n.segment-boundary-dropdown-item[data-disabled] {\n color: var(--color-gray-400);\n cursor: not-allowed;\n}\n\n.segment-boundary-dropdown-item svg {\n margin-right: 12px;\n color: currentColor;\n}\n\n.segment-boundary-dropdown-item:hover {\n background: var(--color-gray-200);\n}\n\n.segment-boundary-dropdown-item:first-child {\n border-top-left-radius: 4px;\n border-top-right-radius: 4px;\n}\n\n.segment-boundary-dropdown-item:last-child {\n border-bottom-left-radius: 4px;\n border-bottom-right-radius: 4px;\n}\n\n.segment-boundary-group-label {\n padding: 8px;\n font-size: 13px;\n line-height: 16px;\n font-weight: 400;\n color: var(--color-gray-900);\n}\n`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.segment-explorer-content {\n font-size: var(--size-14);\n padding: 0 8px;\n width: 100%;\n height: 100%;\n}\n\n.segment-explorer-page-route-bar {\n display: flex;\n align-items: center;\n padding: 14px 16px;\n background-color: var(--color-background-200);\n gap: 12px;\n}\n\n.segment-explorer-page-route-bar-path {\n font-size: var(--size-14);\n font-weight: 500;\n color: var(--color-gray-1000);\n font-family: var(--font-mono);\n white-space: nowrap;\n line-height: 20px;\n}\n\n.segment-explorer-item {\n margin: 4px 0;\n border-radius: 6px;\n}\n\n.segment-explorer-item:nth-child(even) {\n background-color: var(--color-background-200);\n}\n.segment-explorer-item-row {\n display: flex;\n flex-direction: column;\n padding-top: 10px;\n padding-bottom: 10px;\n padding-right: 4px;\n}\n.segment-explorer-item-row-main {\n display: flex;\n align-items: center;\n white-space: pre;\n color: var(--color-gray-1000);\n}\n\n.segment-explorer-children--intended {\n padding-left: 16px;\n}\n\n.segment-explorer-filename {\n display: inline-flex;\n width: 100%;\n align-items: center;\n}\n\n.segment-explorer-filename select {\n margin-left: auto;\n}\n.segment-explorer-filename--path {\n margin-right: 8px;\n}\n.segment-explorer-filename--path small {\n display: inline-block;\n width: 0;\n opacity: 0;\n}\n.segment-explorer-filename--name {\n color: var(--color-gray-800);\n}\n\n.segment-explorer-files {\n display: inline-flex;\n gap: 8px;\n margin-left: auto;\n}\n\n.segment-explorer-files + .segment-boundary-trigger {\n margin-left: 8px;\n}\n\n.segment-explorer-file-label {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n padding: 0 6px;\n height: 20px;\n border-radius: 16px;\n line-height: 16px;\n font-size: var(--size-12);\n font-weight: 500;\n background-color: var(--color-gray-300);\n color: var(--color-gray-1000);\n}\n.segment-explorer-file-label-text {\n display: inline-flex;\n align-items: center;\n}\n\n.segment-explorer-file-label--overridden {\n background-color: var(--color-amber-300);\n color: var(--color-amber-900);\n}\n\n.segment-explorer-file-label .code-icon {\n opacity: 0;\n margin-left: 0;\n width: 0;\n transition: all 0.15s ease-in-out;\n}\n.segment-explorer-file-label:hover .code-icon {\n opacity: 1;\n width: 12px;\n margin-left: 4px;\n}\n\n.segment-explorer-file-label:hover {\n filter: brightness(0.95);\n}\n\n.segment-explorer-file-label--builtin {\n background-color: transparent;\n color: var(--color-gray-900);\n border: 1px dashed var(--color-gray-500);\n height: 24px;\n cursor: default;\n}\n.segment-explorer-file-label--builtin svg {\n margin-left: 4px;\n margin-right: -4px;\n}\n\n/* Footer styles */\n.segment-explorer-footer {\n padding: 8px;\n border-top: 1px solid var(--color-gray-400);\n user-select: none;\n}\n\n.segment-explorer-footer-button {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 8px;\n width: 100%;\n padding: 6px;\n background: var(--color-background-100);\n border: 1px solid var(--color-gray-400);\n border-radius: 6px;\n color: var(--color-gray-1000);\n font-size: var(--size-14);\n font-weight: 500;\n cursor: pointer;\n transition: background-color 0.15s ease;\n}\n\n.segment-explorer-footer-button:hover:not(:disabled) {\n background: var(--color-gray-200);\n}\n\n.segment-explorer-footer-button--disabled {\n cursor: not-allowed;\n}\n\n.segment-explorer-footer-text {\n text-align: center;\n}\n\n.segment-explorer-footer-badge {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n min-width: 20px;\n height: 20px;\n padding: 0 6px;\n background: var(--color-amber-300);\n color: var(--color-amber-900);\n border-radius: 10px;\n font-size: var(--size-12);\n font-weight: 600;\n line-height: 1;\n}\n\n.segment-explorer-file-label-tooltip--sm {\n white-space: nowrap;\n}\n\n.segment-explorer-file-label-tooltip--lg {\n min-width: 200px;\n}\n\n.segment-explorer-suggestions {\n display: inline-flex;\n gap: 8px;\n}\n\n.segment-explorer-suggestions-tooltip {\n width: 200px;\n}\n`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.nextjs-toast {\n position: fixed;\n z-index: var(--top-z-index);\n max-width: 420px;\n box-shadow: 0px 16px 32px rgba(0, 0, 0, 0.25);\n}\n\n.nextjs-toast-errors-parent {\n padding: 16px;\n border-radius: var(--rounded-4xl);\n font-weight: 500;\n color: var(--color-ansi-bright-white);\n background-color: var(--color-ansi-red);\n}\n`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.tooltip-wrapper {\n position: relative;\n display: inline-block;\n line-height: 1;\n}\n\n.tooltip {\n position: relative;\n padding: 6px 12px;\n border-radius: 8px;\n font-size: 14px;\n line-height: 1.4;\n pointer-events: none;\n color: var(--color-gray-100);\n background-color: var(--color-gray-1000);\n}\n\n.tooltip-arrow {\n position: absolute;\n width: 0;\n height: 0;\n border-style: solid;\n border-width: var(--arrow-size, 6px);\n border-color: transparent;\n}\n\n.tooltip-arrow--top {\n border-width: var(--arrow-size, 6px) var(--arrow-size, 6px) 0\n var(--arrow-size, 6px);\n border-top-color: var(--color-gray-1000);\n bottom: 0;\n transform: translateY(100%);\n}\n\n.tooltip-arrow--bottom {\n border-width: 0 var(--arrow-size, 6px) var(--arrow-size, 6px)\n var(--arrow-size, 6px);\n border-bottom-color: var(--color-gray-1000);\n top: 0;\n transform: translateY(-100%);\n}\n\n.tooltip-arrow--left {\n border-width: var(--arrow-size, 6px) 0 var(--arrow-size, 6px)\n var(--arrow-size, 6px);\n border-left-color: var(--color-gray-1000);\n right: 0;\n transform: translateX(100%);\n}\n\n.tooltip-arrow--right {\n border-width: var(--arrow-size, 6px) var(--arrow-size, 6px)\n var(--arrow-size, 6px) 0;\n border-right-color: var(--color-gray-1000);\n left: 0;\n transform: translateX(-100%);\n}\n\n.tooltip-positioner {\n z-index: var(--top-z-index);\n}\n`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/api.js\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_0___ from \"-!../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./normalize.css\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_1___ from \"-!../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./styles/default-theme.css\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_2___ from \"-!../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./styles/dark-theme.css\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_3___ from \"-!../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./styles/colors.css\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_1___);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_2___);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_3___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `/* devtool global css variables */\n:host {\n /* variables */\n --top-z-index: 2147483647;\n}\n\n/* global styles */\n* {\n -webkit-font-smoothing: antialiased;\n}\n\n/* global reset for draggable content scrollbar styles */\n[data-nextjs-scrollable-content],\n[data-nextjs-scrollable-content] * {\n &::-webkit-scrollbar {\n width: 6px;\n height: 6px;\n border-radius: 0 0 1rem 1rem;\n margin-bottom: 1rem;\n }\n\n &::-webkit-scrollbar-button {\n display: none;\n }\n\n &::-webkit-scrollbar-track {\n border-radius: 0 0 1rem 1rem;\n background-color: var(--color-background-100);\n }\n\n &::-webkit-scrollbar-thumb {\n border-radius: 1rem;\n background-color: var(--color-gray-500);\n }\n}\n\n/* Place overflow: hidden on this so we can break out from [data-nextjs-dialog] */\n[data-nextjs-scrollable-content] {\n overflow: hidden;\n border-radius: inherit;\n}\n`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `/* Panel content padding styles */\n.panel-content {\n padding: 16px;\n padding-top: 8px;\n overflow: hidden;\n}\n\n/* User preferences wrapper styles */\n.user-preferences-wrapper {\n padding: 20px;\n padding-top: 8px;\n overflow: hidden;\n}\n\n/* Panel route base styles */\n.panel-route {\n opacity: var(--panel-opacity);\n transition: var(--panel-transition);\n}\n\n.turbopack-upgrade-link {\n text-decoration: underline;\n font-weight: 500;\n}\n`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `:host {\n all: initial;\n\n /* the direction property is not reset by 'all' */\n direction: ltr;\n}\n\n/*!\n * Bootstrap Reboot v4.4.1 (https://getbootstrap.com/)\n * Copyright 2011-2019 The Bootstrap Authors\n * Copyright 2011-2019 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)\n */\n*,\n*::before,\n*::after {\n box-sizing: border-box;\n}\n\n:host {\n font-family: sans-serif;\n line-height: 1.15;\n -webkit-text-size-adjust: 100%;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n\narticle,\naside,\nfigcaption,\nfigure,\nfooter,\nheader,\nhgroup,\nmain,\nnav,\nsection {\n display: block;\n}\n\n:host {\n margin: 0;\n font-family:\n -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',\n Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',\n 'Segoe UI Symbol', 'Noto Color Emoji';\n font-size: 16px;\n font-weight: 400;\n line-height: 1.5;\n color: var(--color-font);\n text-align: left;\n}\n\n:host:not(button) {\n background-color: #fff;\n}\n\n[tabindex='-1']:focus:not(:focus-visible) {\n outline: 0 !important;\n}\n\nhr {\n box-sizing: content-box;\n height: 0;\n overflow: visible;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n margin-top: 0;\n margin-bottom: 8px;\n}\n\np {\n margin-top: 0;\n margin-bottom: 16px;\n}\n\nabbr[title],\nabbr[data-original-title] {\n text-decoration: underline;\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n cursor: help;\n border-bottom: 0;\n -webkit-text-decoration-skip-ink: none;\n text-decoration-skip-ink: none;\n}\n\naddress {\n margin-bottom: 16px;\n font-style: normal;\n line-height: inherit;\n}\n\nol,\nul,\ndl {\n margin-top: 0;\n margin-bottom: 16px;\n}\n\nol ol,\nul ul,\nol ul,\nul ol {\n margin-bottom: 0;\n}\n\ndt {\n font-weight: 700;\n}\n\ndd {\n margin-bottom: 8px;\n margin-left: 0;\n}\n\nblockquote {\n margin: 0 0 16px;\n}\n\nb,\nstrong {\n font-weight: bolder;\n}\n\nsmall {\n font-size: 80%;\n}\n\nsub,\nsup {\n position: relative;\n font-size: 75%;\n line-height: 0;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\na {\n color: #007bff;\n text-decoration: none;\n background-color: transparent;\n}\n\na:hover {\n color: #0056b3;\n text-decoration: underline;\n}\n\na:not([href]) {\n color: inherit;\n text-decoration: none;\n}\n\na:not([href]):hover {\n color: inherit;\n text-decoration: none;\n}\n\npre,\ncode,\nkbd,\nsamp {\n font-family:\n SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',\n monospace;\n font-size: 1em;\n}\n\npre {\n margin-top: 0;\n margin-bottom: 16px;\n overflow: auto;\n}\n\nfigure {\n margin: 0 0 16px;\n}\n\nimg {\n vertical-align: middle;\n border-style: none;\n}\n\nsvg {\n overflow: hidden;\n vertical-align: middle;\n}\n\ntable {\n border-collapse: collapse;\n}\n\ncaption {\n padding-top: 12px;\n padding-bottom: 12px;\n color: #6c757d;\n text-align: left;\n caption-side: bottom;\n}\n\nth {\n text-align: inherit;\n}\n\nlabel {\n display: inline-block;\n margin-bottom: 8px;\n}\n\nbutton {\n border-radius: 0;\n border: 0;\n padding: 0;\n margin: 0;\n background: none;\n appearance: none;\n -webkit-appearance: none;\n}\n\nbutton:focus {\n outline: 1px dotted;\n outline: 5px auto -webkit-focus-ring-color;\n}\n\nbutton:focus:not(:focus-visible) {\n outline: none;\n}\n\ninput,\nbutton,\nselect,\noptgroup,\ntextarea {\n margin: 0;\n font-family: inherit;\n font-size: inherit;\n line-height: inherit;\n}\n\nbutton,\ninput {\n overflow: visible;\n}\n\nbutton,\nselect {\n text-transform: none;\n}\n\nselect {\n word-wrap: normal;\n}\n\nbutton,\n[type='button'],\n[type='reset'],\n[type='submit'] {\n -webkit-appearance: button;\n}\n\nbutton:not(:disabled),\n[type='button']:not(:disabled),\n[type='reset']:not(:disabled),\n[type='submit']:not(:disabled) {\n cursor: pointer;\n}\n\nbutton::-moz-focus-inner,\n[type='button']::-moz-focus-inner,\n[type='reset']::-moz-focus-inner,\n[type='submit']::-moz-focus-inner {\n padding: 0;\n border-style: none;\n}\n\ninput[type='radio'],\ninput[type='checkbox'] {\n box-sizing: border-box;\n padding: 0;\n}\n\ninput[type='date'],\ninput[type='time'],\ninput[type='datetime-local'],\ninput[type='month'] {\n -webkit-appearance: listbox;\n}\n\ntextarea {\n overflow: auto;\n resize: vertical;\n}\n\nfieldset {\n min-width: 0;\n padding: 0;\n margin: 0;\n border: 0;\n}\n\nlegend {\n display: block;\n width: 100%;\n max-width: 100%;\n padding: 0;\n margin-bottom: 8px;\n font-size: 24px;\n line-height: inherit;\n color: inherit;\n white-space: normal;\n}\n\nprogress {\n vertical-align: baseline;\n}\n\n[type='number']::-webkit-inner-spin-button,\n[type='number']::-webkit-outer-spin-button {\n height: auto;\n}\n\n[type='search'] {\n outline-offset: -2px;\n -webkit-appearance: none;\n}\n\n[type='search']::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n::-webkit-file-upload-button {\n font: inherit;\n -webkit-appearance: button;\n}\n\noutput {\n display: inline-block;\n}\n\nsummary {\n display: list-item;\n cursor: pointer;\n}\n\ntemplate {\n display: none;\n}\n\n[hidden] {\n display: none !important;\n}\n`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `/* Panel container base styles with dynamic positioning and sizing */\n.dynamic-panel-container {\n position: fixed;\n z-index: 2147483646;\n outline: none;\n top: var(--panel-top, auto);\n bottom: var(--panel-bottom, auto);\n left: var(--panel-left, auto);\n right: var(--panel-right, auto);\n width: var(--panel-width);\n height: var(--panel-height);\n min-width: var(--panel-min-width);\n min-height: var(--panel-min-height);\n max-width: var(--panel-max-width);\n max-height: var(--panel-max-height);\n}\n\n/* Panel content container styles */\n.panel-content-container {\n position: relative;\n width: 100%;\n height: 100%;\n border: 1px solid var(--color-gray-alpha-400);\n border-radius: var(--rounded-xl);\n background: var(--color-background-100);\n display: flex;\n flex-direction: column;\n}\n\n/* Draggable content area styles */\n.draggable-content {\n flex: 1;\n overflow: auto;\n}\n`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `:host {\n /* \n * CAUTION: THIS IS A WORKAROUND!\n * For now, we use @babel/code-frame to parse the code frame which does not support option to change the color.\n * x-ref: https://github.com/babel/babel/blob/efa52324ff835b794c48080f14877b6caf32cd15/packages/babel-code-frame/src/defs.ts#L40-L54\n * So, we do a workaround mapping to change the color matching the theme.\n *\n * For example, in @babel/code-frame, the \"keyword\" is mapped to ANSI \"cyan\".\n * We want the \"keyword\" to use the \"syntax-keyword\" color in the theme.\n * So, we map the \"cyan\" to the \"syntax-keyword\" in the theme.\n */\n /* cyan: keyword */\n --color-ansi-cyan: var(--color-syntax-keyword);\n /* yellow: capitalized, jsxIdentifier, punctuation */\n --color-ansi-yellow: var(--color-syntax-function);\n /* magenta: number, regex */\n --color-ansi-magenta: var(--color-syntax-keyword);\n /* green: string */\n --color-ansi-green: var(--color-syntax-string);\n /* gray (bright black): comment, gutter */\n --color-ansi-bright-black: var(--color-syntax-comment);\n\n /* Ansi - Temporary */\n --color-ansi-selection: var(--color-gray-alpha-300);\n --color-ansi-bg: var(--color-background-200);\n --color-ansi-fg: var(--color-gray-1000);\n\n --color-ansi-white: var(--color-gray-700);\n --color-ansi-black: var(--color-gray-200);\n --color-ansi-blue: var(--color-blue-700);\n --color-ansi-red: var(--color-red-700);\n --color-ansi-bright-white: var(--color-gray-1000);\n --color-ansi-bright-blue: var(--color-blue-800);\n --color-ansi-bright-cyan: var(--color-blue-800);\n --color-ansi-bright-green: var(--color-green-800);\n --color-ansi-bright-magenta: var(--color-blue-800);\n --color-ansi-bright-red: var(--color-red-800);\n --color-ansi-bright-yellow: var(--color-amber-900);\n\n /* Background Light */\n --color-background-100: #ffffff;\n --color-background-200: #fafafa;\n\n /* Syntax Light */\n --color-syntax-comment: #545454;\n --color-syntax-constant: #171717;\n --color-syntax-function: #0054ad;\n --color-syntax-keyword: #a51850;\n --color-syntax-link: #066056;\n --color-syntax-parameter: #8f3e00;\n --color-syntax-punctuation: #171717;\n --color-syntax-string: #036157;\n --color-syntax-string-expression: #066056;\n\n /* Gray Scale Light */\n --color-gray-100: #f2f2f2;\n --color-gray-200: #ebebeb;\n --color-gray-300: #e6e6e6;\n --color-gray-400: #eaeaea;\n --color-gray-500: #c9c9c9;\n --color-gray-600: #a8a8a8;\n --color-gray-700: #8f8f8f;\n --color-gray-800: #7d7d7d;\n --color-gray-900: #666666;\n --color-gray-1000: #171717;\n\n /* Gray Alpha Scale Light */\n --color-gray-alpha-100: rgba(0, 0, 0, 0.05);\n --color-gray-alpha-200: rgba(0, 0, 0, 0.081);\n --color-gray-alpha-300: rgba(0, 0, 0, 0.1);\n --color-gray-alpha-400: rgba(0, 0, 0, 0.08);\n --color-gray-alpha-500: rgba(0, 0, 0, 0.21);\n --color-gray-alpha-600: rgba(0, 0, 0, 0.34);\n --color-gray-alpha-700: rgba(0, 0, 0, 0.44);\n --color-gray-alpha-800: rgba(0, 0, 0, 0.51);\n --color-gray-alpha-900: rgba(0, 0, 0, 0.605);\n --color-gray-alpha-1000: rgba(0, 0, 0, 0.91);\n\n /* Blue Scale Light */\n --color-blue-100: #f0f7ff;\n --color-blue-200: #edf6ff;\n --color-blue-300: #e1f0ff;\n --color-blue-400: #cde7ff;\n --color-blue-500: #99ceff;\n --color-blue-600: #52aeff;\n --color-blue-700: #0070f3;\n --color-blue-800: #0060d1;\n --color-blue-900: #0067d6;\n --color-blue-1000: #0025ad;\n\n /* Red Scale Light */\n --color-red-100: #fff0f0;\n --color-red-200: #ffebeb;\n --color-red-300: #ffe5e5;\n --color-red-400: #fdd8d8;\n --color-red-500: #f8baba;\n --color-red-600: #f87274;\n --color-red-700: #e5484d;\n --color-red-800: #da3036;\n --color-red-900: #ca2a30;\n --color-red-1000: #381316;\n\n /* Amber Scale Light */\n --color-amber-100: #fff6e5;\n --color-amber-200: #fff4d5;\n --color-amber-300: #fef0cd;\n --color-amber-400: #ffddbf;\n --color-amber-500: #ffc96b;\n --color-amber-600: #f5b047;\n --color-amber-700: #ffb224;\n --color-amber-800: #ff990a;\n --color-amber-900: #a35200;\n --color-amber-1000: #4e2009;\n\n /* Green Scale Light */\n --color-green-100: #effbef;\n --color-green-200: #eafaea;\n --color-green-300: #dcf6dc;\n --color-green-400: #c8f1c9;\n --color-green-500: #99e59f;\n --color-green-600: #6cda76;\n --color-green-700: #46a758;\n --color-green-800: #388e4a;\n --color-green-900: #297c3b;\n --color-green-1000: #18311e;\n\n /* Turbopack Light - Temporary */\n --color-turbopack-text-red: #ff1e56;\n --color-turbopack-text-blue: #0096ff;\n --color-turbopack-border-red: #f0adbe;\n --color-turbopack-border-blue: #adccea;\n --color-turbopack-background-red: #fff7f9;\n --color-turbopack-background-blue: #f6fbff;\n}\n`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `:host(.dark) {\n --color-font: white;\n --color-backdrop: rgba(0, 0, 0, 0.8);\n --color-border-shadow: rgba(255, 255, 255, 0.145);\n\n --color-title-color: #fafafa;\n --color-stack-notes: #a9a9a9;\n\n /* Background Dark */\n --color-background-100: #0a0a0a;\n --color-background-200: #000000;\n\n /* Syntax Dark */\n --color-syntax-comment: #a0a0a0;\n --color-syntax-constant: #ededed;\n --color-syntax-function: #52a9ff;\n --color-syntax-keyword: #f76e99;\n --color-syntax-link: #0ac5b2;\n --color-syntax-parameter: #f1a10d;\n --color-syntax-punctuation: #ededed;\n --color-syntax-string: #0ac5b2;\n --color-syntax-string-expression: #0ac5b2;\n\n /* Gray Scale Dark */\n --color-gray-100: #1a1a1a;\n --color-gray-200: #1f1f1f;\n --color-gray-300: #292929;\n --color-gray-400: #2e2e2e;\n --color-gray-500: #454545;\n --color-gray-600: #878787;\n --color-gray-700: #8f8f8f;\n --color-gray-800: #7d7d7d;\n --color-gray-900: #a0a0a0;\n --color-gray-1000: #ededed;\n\n /* Gray Alpha Scale Dark */\n --color-gray-alpha-100: rgba(255, 255, 255, 0.066);\n --color-gray-alpha-200: rgba(255, 255, 255, 0.087);\n --color-gray-alpha-300: rgba(255, 255, 255, 0.125);\n --color-gray-alpha-400: rgba(255, 255, 255, 0.145);\n --color-gray-alpha-500: rgba(255, 255, 255, 0.239);\n --color-gray-alpha-600: rgba(255, 255, 255, 0.506);\n --color-gray-alpha-700: rgba(255, 255, 255, 0.54);\n --color-gray-alpha-800: rgba(255, 255, 255, 0.47);\n --color-gray-alpha-900: rgba(255, 255, 255, 0.61);\n --color-gray-alpha-1000: rgba(255, 255, 255, 0.923);\n\n /* Blue Scale Dark */\n --color-blue-100: #0f1b2d;\n --color-blue-200: #10243e;\n --color-blue-300: #0f3058;\n --color-blue-400: #0d3868;\n --color-blue-500: #0a4481;\n --color-blue-600: #0091ff;\n --color-blue-700: #0070f3;\n --color-blue-800: #0060d1;\n --color-blue-900: #52a9ff;\n --color-blue-1000: #eaf6ff;\n\n /* Red Scale Dark */\n --color-red-100: #2a1314;\n --color-red-200: #3d1719;\n --color-red-300: #551a1e;\n --color-red-400: #671e22;\n --color-red-500: #822025;\n --color-red-600: #e5484d;\n --color-red-700: #e5484d;\n --color-red-800: #da3036;\n --color-red-900: #ff6369;\n --color-red-1000: #ffecee;\n\n /* Amber Scale Dark */\n --color-amber-100: #271700;\n --color-amber-200: #341c00;\n --color-amber-300: #4a2900;\n --color-amber-400: #573300;\n --color-amber-500: #693f05;\n --color-amber-600: #e79c13;\n --color-amber-700: #ffb224;\n --color-amber-800: #ff990a;\n --color-amber-900: #f1a10d;\n --color-amber-1000: #fef3dd;\n\n /* Green Scale Dark */\n --color-green-100: #0b2211;\n --color-green-200: #0f2c17;\n --color-green-300: #11351b;\n --color-green-400: #0c461b;\n --color-green-500: #126427;\n --color-green-600: #1a9338;\n --color-green-700: #46a758;\n --color-green-800: #388e4a;\n --color-green-900: #63c174;\n --color-green-1000: #e5fbeb;\n\n /* Turbopack Dark - Temporary */\n --color-turbopack-text-red: #ff6d92;\n --color-turbopack-text-blue: #45b2ff;\n --color-turbopack-border-red: #6e293b;\n --color-turbopack-border-blue: #284f80;\n --color-turbopack-background-red: #250d12;\n --color-turbopack-background-blue: #0a1723;\n}\n\n@media (prefers-color-scheme: dark) {\n :host(:not(.light)) {\n --color-font: white;\n --color-backdrop: rgba(0, 0, 0, 0.8);\n --color-border-shadow: rgba(255, 255, 255, 0.145);\n\n --color-title-color: #fafafa;\n --color-stack-notes: #a9a9a9;\n\n /* Background Dark */\n --color-background-100: #0a0a0a;\n --color-background-200: #000000;\n\n /* Syntax Dark */\n --color-syntax-comment: #a0a0a0;\n --color-syntax-constant: #ededed;\n --color-syntax-function: #52a9ff;\n --color-syntax-keyword: #f76e99;\n --color-syntax-link: #0ac5b2;\n --color-syntax-parameter: #f1a10d;\n --color-syntax-punctuation: #ededed;\n --color-syntax-string: #0ac5b2;\n --color-syntax-string-expression: #0ac5b2;\n\n /* Gray Scale Dark */\n --color-gray-100: #1a1a1a;\n --color-gray-200: #1f1f1f;\n --color-gray-300: #292929;\n --color-gray-400: #2e2e2e;\n --color-gray-500: #454545;\n --color-gray-600: #878787;\n --color-gray-700: #8f8f8f;\n --color-gray-800: #7d7d7d;\n --color-gray-900: #a0a0a0;\n --color-gray-1000: #ededed;\n\n /* Gray Alpha Scale Dark */\n --color-gray-alpha-100: rgba(255, 255, 255, 0.066);\n --color-gray-alpha-200: rgba(255, 255, 255, 0.087);\n --color-gray-alpha-300: rgba(255, 255, 255, 0.125);\n --color-gray-alpha-400: rgba(255, 255, 255, 0.145);\n --color-gray-alpha-500: rgba(255, 255, 255, 0.239);\n --color-gray-alpha-600: rgba(255, 255, 255, 0.506);\n --color-gray-alpha-700: rgba(255, 255, 255, 0.54);\n --color-gray-alpha-800: rgba(255, 255, 255, 0.47);\n --color-gray-alpha-900: rgba(255, 255, 255, 0.61);\n --color-gray-alpha-1000: rgba(255, 255, 255, 0.923);\n\n /* Blue Scale Dark */\n --color-blue-100: #0f1b2d;\n --color-blue-200: #10243e;\n --color-blue-300: #0f3058;\n --color-blue-400: #0d3868;\n --color-blue-500: #0a4481;\n --color-blue-600: #0091ff;\n --color-blue-700: #0070f3;\n --color-blue-800: #0060d1;\n --color-blue-900: #52a9ff;\n --color-blue-1000: #eaf6ff;\n\n /* Red Scale Dark */\n --color-red-100: #2a1314;\n --color-red-200: #3d1719;\n --color-red-300: #551a1e;\n --color-red-400: #671e22;\n --color-red-500: #822025;\n --color-red-600: #e5484d;\n --color-red-700: #e5484d;\n --color-red-800: #da3036;\n --color-red-900: #ff6369;\n --color-red-1000: #ffecee;\n\n /* Amber Scale Dark */\n --color-amber-100: #271700;\n --color-amber-200: #341c00;\n --color-amber-300: #4a2900;\n --color-amber-400: #573300;\n --color-amber-500: #693f05;\n --color-amber-600: #e79c13;\n --color-amber-700: #ffb224;\n --color-amber-800: #ff990a;\n --color-amber-900: #f1a10d;\n --color-amber-1000: #fef3dd;\n\n /* Green Scale Dark */\n --color-green-100: #0b2211;\n --color-green-200: #0f2c17;\n --color-green-300: #11351b;\n --color-green-400: #0c461b;\n --color-green-500: #126427;\n --color-green-600: #1a9338;\n --color-green-700: #46a758;\n --color-green-800: #388e4a;\n --color-green-900: #63c174;\n --color-green-1000: #e5fbeb;\n\n /* Turbopack Dark - Temporary */\n --color-turbopack-text-red: #ff6d92;\n --color-turbopack-text-blue: #45b2ff;\n --color-turbopack-border-red: #6e293b;\n --color-turbopack-border-blue: #284f80;\n --color-turbopack-background-red: #250d12;\n --color-turbopack-background-blue: #0a1723;\n }\n}\n`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `:host {\n /* \n * Although the style applied to the shadow host is isolated,\n * the element that attached the shadow host (i.e. \"nextjs-portal\")\n * is still affected by the parent's style (e.g. \"body\"). This may\n * occur style conflicts like \"display: flex\", with other children\n * elements therefore give the shadow host an absolute position.\n */\n position: absolute;\n\n --color-font: #757575;\n --color-backdrop: rgba(250, 250, 250, 0.8);\n --color-border-shadow: rgba(0, 0, 0, 0.145);\n\n --color-title-color: #1f1f1f;\n --color-stack-notes: #777;\n\n --color-accents-1: #808080;\n --color-accents-2: #222222;\n --color-accents-3: #404040;\n\n --font-stack-monospace:\n '__nextjs-Geist Mono', 'Geist Mono', 'SFMono-Regular', Consolas,\n 'Liberation Mono', Menlo, Courier, monospace;\n --font-stack-sans:\n '__nextjs-Geist', 'Geist', -apple-system, 'Source Sans Pro', sans-serif;\n\n font-family: var(--font-stack-sans);\n font-variant-ligatures: none;\n\n /* TODO: Remove replaced ones. */\n --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);\n --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);\n --shadow-lg:\n 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);\n --shadow-xl:\n 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);\n --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);\n --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);\n --shadow-none: 0 0 #0000;\n\n --shadow-small: 0px 2px 2px rgba(0, 0, 0, 0.04);\n --shadow-menu:\n 0px 1px 1px rgba(0, 0, 0, 0.02), 0px 4px 8px -4px rgba(0, 0, 0, 0.04),\n 0px 16px 24px -8px rgba(0, 0, 0, 0.06);\n\n --focus-color: var(--color-blue-800);\n --focus-ring: 2px solid var(--focus-color);\n\n --timing-swift: cubic-bezier(0.23, 0.88, 0.26, 0.92);\n --timing-overlay: cubic-bezier(0.175, 0.885, 0.32, 1.1);\n /* prettier-ignore */\n --timing-bounce: linear(0 0%, 0.005871 1%, 0.022058 2%, 0.046612 3%, 0.077823 4%, 0.114199 5%, 0.154441 6%, 0.197431 7.000000000000001%, 0.242208 8%, 0.287959 9%, 0.333995 10%, 0.379743 11%, 0.424732 12%, 0.46858 13%, 0.510982 14.000000000000002%, 0.551702 15%, 0.590564 16%, 0.627445 17%, 0.662261 18%, 0.694971 19%, 0.725561 20%, 0.754047 21%, 0.780462 22%, 0.804861 23%, 0.82731 24%, 0.847888 25%, 0.866679 26%, 0.883775 27%, 0.899272 28.000000000000004%, 0.913267 28.999999999999996%, 0.925856 30%, 0.937137 31%, 0.947205 32%, 0.956153 33%, 0.96407 34%, 0.971043 35%, 0.977153 36%, 0.982479 37%, 0.987094 38%, 0.991066 39%, 0.994462 40%, 0.997339 41%, 0.999755 42%, 1.001761 43%, 1.003404 44%, 1.004727 45%, 1.00577 46%, 1.006569 47%, 1.007157 48%, 1.007563 49%, 1.007813 50%, 1.007931 51%, 1.007939 52%, 1.007855 53%, 1.007697 54%, 1.007477 55.00000000000001%, 1.00721 56.00000000000001%, 1.006907 56.99999999999999%, 1.006576 57.99999999999999%, 1.006228 59%, 1.005868 60%, 1.005503 61%, 1.005137 62%, 1.004776 63%, 1.004422 64%, 1.004078 65%, 1.003746 66%, 1.003429 67%, 1.003127 68%, 1.00284 69%, 1.002571 70%, 1.002318 71%, 1.002082 72%, 1.001863 73%, 1.00166 74%, 1.001473 75%, 1.001301 76%, 1.001143 77%, 1.001 78%, 1.000869 79%, 1.000752 80%, 1.000645 81%, 1.00055 82%, 1.000464 83%, 1.000388 84%, 1.000321 85%, 1.000261 86%, 1.000209 87%, 1.000163 88%, 1.000123 89%, 1.000088 90%);\n\n --rounded-none: 0px;\n --rounded-sm: 2px;\n --rounded-md: 4px;\n --rounded-md-2: 6px;\n --rounded-lg: 8px;\n --rounded-xl: 12px;\n --rounded-2xl: 16px;\n --rounded-3xl: 24px;\n --rounded-4xl: 32px;\n --rounded-full: 9999px;\n\n /* \n This value gets set from the Dev Tools preferences,\n and we use the following --size-* variables to \n scale the relevant elements.\n\n The reason why we don't rely on rem values is because\n if an app sets their root font size to something tiny, \n it feels unexpected to have the app root size leak \n into a Next.js surface.\n\n https://github.com/vercel/next.js/discussions/76812\n */\n --nextjs-dev-tools-scale: 1;\n --size-1: calc(1px / var(--nextjs-dev-tools-scale));\n --size-2: calc(2px / var(--nextjs-dev-tools-scale));\n --size-3: calc(3px / var(--nextjs-dev-tools-scale));\n --size-4: calc(4px / var(--nextjs-dev-tools-scale));\n --size-5: calc(5px / var(--nextjs-dev-tools-scale));\n --size-6: calc(6px / var(--nextjs-dev-tools-scale));\n --size-7: calc(7px / var(--nextjs-dev-tools-scale));\n --size-8: calc(8px / var(--nextjs-dev-tools-scale));\n --size-9: calc(9px / var(--nextjs-dev-tools-scale));\n --size-10: calc(10px / var(--nextjs-dev-tools-scale));\n --size-11: calc(11px / var(--nextjs-dev-tools-scale));\n --size-12: calc(12px / var(--nextjs-dev-tools-scale));\n --size-13: calc(13px / var(--nextjs-dev-tools-scale));\n --size-14: calc(14px / var(--nextjs-dev-tools-scale));\n --size-15: calc(15px / var(--nextjs-dev-tools-scale));\n --size-16: calc(16px / var(--nextjs-dev-tools-scale));\n --size-17: calc(17px / var(--nextjs-dev-tools-scale));\n --size-18: calc(18px / var(--nextjs-dev-tools-scale));\n --size-20: calc(20px / var(--nextjs-dev-tools-scale));\n --size-22: calc(22px / var(--nextjs-dev-tools-scale));\n --size-24: calc(24px / var(--nextjs-dev-tools-scale));\n --size-26: calc(26px / var(--nextjs-dev-tools-scale));\n --size-28: calc(28px / var(--nextjs-dev-tools-scale));\n --size-30: calc(30px / var(--nextjs-dev-tools-scale));\n --size-32: calc(32px / var(--nextjs-dev-tools-scale));\n --size-34: calc(34px / var(--nextjs-dev-tools-scale));\n --size-36: calc(36px / var(--nextjs-dev-tools-scale));\n --size-38: calc(38px / var(--nextjs-dev-tools-scale));\n --size-40: calc(40px / var(--nextjs-dev-tools-scale));\n --size-42: calc(42px / var(--nextjs-dev-tools-scale));\n --size-44: calc(44px / var(--nextjs-dev-tools-scale));\n --size-46: calc(46px / var(--nextjs-dev-tools-scale));\n --size-48: calc(48px / var(--nextjs-dev-tools-scale));\n\n @media print {\n display: none;\n }\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n margin-bottom: 8px;\n font-weight: 500;\n line-height: 1.5;\n}\n\na {\n color: var(--color-blue-900);\n &:hover {\n color: var(--color-blue-900);\n }\n &:focus-visible {\n outline: var(--focus-ring);\n }\n}\n`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n var list = [];\n\n // return the list of modules as css string\n list.toString = function toString() {\n return this.map(function (item) {\n var content = \"\";\n var needLayer = typeof item[5] !== \"undefined\";\n if (item[4]) {\n content += \"@supports (\".concat(item[4], \") {\");\n }\n if (item[2]) {\n content += \"@media \".concat(item[2], \" {\");\n }\n if (needLayer) {\n content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n }\n content += cssWithMappingToString(item);\n if (needLayer) {\n content += \"}\";\n }\n if (item[2]) {\n content += \"}\";\n }\n if (item[4]) {\n content += \"}\";\n }\n return content;\n }).join(\"\");\n };\n\n // import a list of modules into the list\n list.i = function i(modules, media, dedupe, supports, layer) {\n if (typeof modules === \"string\") {\n modules = [[null, modules, undefined]];\n }\n var alreadyImportedModules = {};\n if (dedupe) {\n for (var k = 0; k < this.length; k++) {\n var id = this[k][0];\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n for (var _k = 0; _k < modules.length; _k++) {\n var item = [].concat(modules[_k]);\n if (dedupe && alreadyImportedModules[item[0]]) {\n continue;\n }\n if (typeof layer !== \"undefined\") {\n if (typeof item[5] === \"undefined\") {\n item[5] = layer;\n } else {\n item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n item[5] = layer;\n }\n }\n if (media) {\n if (!item[2]) {\n item[2] = media;\n } else {\n item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n item[2] = media;\n }\n }\n if (supports) {\n if (!item[4]) {\n item[4] = \"\".concat(supports);\n } else {\n item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n item[4] = supports;\n }\n }\n list.push(item);\n }\n };\n return list;\n};","\"use strict\";\n\nmodule.exports = function (i) {\n return i[1];\n};","\"use strict\";\n\nvar stylesInDOM = [];\nfunction getIndexByIdentifier(identifier) {\n var result = -1;\n for (var i = 0; i < stylesInDOM.length; i++) {\n if (stylesInDOM[i].identifier === identifier) {\n result = i;\n break;\n }\n }\n return result;\n}\nfunction modulesToDom(list, options) {\n var idCountMap = {};\n var identifiers = [];\n for (var i = 0; i < list.length; i++) {\n var item = list[i];\n var id = options.base ? item[0] + options.base : item[0];\n var count = idCountMap[id] || 0;\n var identifier = \"\".concat(id, \" \").concat(count);\n idCountMap[id] = count + 1;\n var indexByIdentifier = getIndexByIdentifier(identifier);\n var obj = {\n css: item[1],\n media: item[2],\n sourceMap: item[3],\n supports: item[4],\n layer: item[5]\n };\n if (indexByIdentifier !== -1) {\n stylesInDOM[indexByIdentifier].references++;\n stylesInDOM[indexByIdentifier].updater(obj);\n } else {\n var updater = addElementStyle(obj, options);\n options.byIndex = i;\n stylesInDOM.splice(i, 0, {\n identifier: identifier,\n updater: updater,\n references: 1\n });\n }\n identifiers.push(identifier);\n }\n return identifiers;\n}\nfunction addElementStyle(obj, options) {\n var api = options.domAPI(options);\n api.update(obj);\n var updater = function updater(newObj) {\n if (newObj) {\n if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {\n return;\n }\n api.update(obj = newObj);\n } else {\n api.remove();\n }\n };\n return updater;\n}\nmodule.exports = function (list, options) {\n options = options || {};\n list = list || [];\n var lastIdentifiers = modulesToDom(list, options);\n return function update(newList) {\n newList = newList || [];\n for (var i = 0; i < lastIdentifiers.length; i++) {\n var identifier = lastIdentifiers[i];\n var index = getIndexByIdentifier(identifier);\n stylesInDOM[index].references--;\n }\n var newLastIdentifiers = modulesToDom(newList, options);\n for (var _i = 0; _i < lastIdentifiers.length; _i++) {\n var _identifier = lastIdentifiers[_i];\n var _index = getIndexByIdentifier(_identifier);\n if (stylesInDOM[_index].references === 0) {\n stylesInDOM[_index].updater();\n stylesInDOM.splice(_index, 1);\n }\n }\n lastIdentifiers = newLastIdentifiers;\n };\n};","\"use strict\";\n\n/* istanbul ignore next */\nfunction insertStyleElement(options) {\n var element = document.createElement(\"style\");\n options.setAttributes(element, options.attributes);\n options.insert(element, options.options);\n return element;\n}\nmodule.exports = insertStyleElement;","\"use strict\";\n\n/* istanbul ignore next */\nfunction setAttributesWithoutAttributes(styleElement) {\n var nonce = typeof __webpack_nonce__ !== \"undefined\" ? __webpack_nonce__ : null;\n if (nonce) {\n styleElement.setAttribute(\"nonce\", nonce);\n }\n}\nmodule.exports = setAttributesWithoutAttributes;","\"use strict\";\n\n/* istanbul ignore next */\nfunction apply(styleElement, options, obj) {\n var css = \"\";\n if (obj.supports) {\n css += \"@supports (\".concat(obj.supports, \") {\");\n }\n if (obj.media) {\n css += \"@media \".concat(obj.media, \" {\");\n }\n var needLayer = typeof obj.layer !== \"undefined\";\n if (needLayer) {\n css += \"@layer\".concat(obj.layer.length > 0 ? \" \".concat(obj.layer) : \"\", \" {\");\n }\n css += obj.css;\n if (needLayer) {\n css += \"}\";\n }\n if (obj.media) {\n css += \"}\";\n }\n if (obj.supports) {\n css += \"}\";\n }\n var sourceMap = obj.sourceMap;\n if (sourceMap && typeof btoa !== \"undefined\") {\n css += \"\\n/*# sourceMappingURL=data:application/json;base64,\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), \" */\");\n }\n\n // For old IE\n /* istanbul ignore if */\n options.styleTagTransform(css, styleElement, options.options);\n}\nfunction removeStyleElement(styleElement) {\n // istanbul ignore if\n if (styleElement.parentNode === null) {\n return false;\n }\n styleElement.parentNode.removeChild(styleElement);\n}\n\n/* istanbul ignore next */\nfunction domAPI(options) {\n if (typeof document === \"undefined\") {\n return {\n update: function update() {},\n remove: function remove() {}\n };\n }\n var styleElement = options.insertStyleElement(options);\n return {\n update: function update(obj) {\n apply(styleElement, options, obj);\n },\n remove: function remove() {\n removeStyleElement(styleElement);\n }\n };\n}\nmodule.exports = domAPI;","\"use strict\";\n\n/* istanbul ignore next */\nfunction styleTagTransform(css, styleElement) {\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = css;\n } else {\n while (styleElement.firstChild) {\n styleElement.removeChild(styleElement.firstChild);\n }\n styleElement.appendChild(document.createTextNode(css));\n }\n}\nmodule.exports = styleTagTransform;","(()=>{\"use strict\";var e={211:e=>{var r=function(){function defineProperties(e,r){for(var n=0;n<r.length;n++){var s=r[n];s.enumerable=s.enumerable||false;s.configurable=true;if(\"value\"in s)s.writable=true;Object.defineProperty(e,s.key,s)}}return function(e,r,n){if(r)defineProperties(e.prototype,r);if(n)defineProperties(e,n);return e}}();function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError(\"Cannot call a class as a function\")}}var n=[[{color:\"0, 0, 0\",class:\"ansi-black\"},{color:\"187, 0, 0\",class:\"ansi-red\"},{color:\"0, 187, 0\",class:\"ansi-green\"},{color:\"187, 187, 0\",class:\"ansi-yellow\"},{color:\"0, 0, 187\",class:\"ansi-blue\"},{color:\"187, 0, 187\",class:\"ansi-magenta\"},{color:\"0, 187, 187\",class:\"ansi-cyan\"},{color:\"255,255,255\",class:\"ansi-white\"}],[{color:\"85, 85, 85\",class:\"ansi-bright-black\"},{color:\"255, 85, 85\",class:\"ansi-bright-red\"},{color:\"0, 255, 0\",class:\"ansi-bright-green\"},{color:\"255, 255, 85\",class:\"ansi-bright-yellow\"},{color:\"85, 85, 255\",class:\"ansi-bright-blue\"},{color:\"255, 85, 255\",class:\"ansi-bright-magenta\"},{color:\"85, 255, 255\",class:\"ansi-bright-cyan\"},{color:\"255, 255, 255\",class:\"ansi-bright-white\"}]];var s=function(){r(Anser,null,[{key:\"escapeForHtml\",value:function escapeForHtml(e){return(new Anser).escapeForHtml(e)}},{key:\"linkify\",value:function linkify(e){return(new Anser).linkify(e)}},{key:\"ansiToHtml\",value:function ansiToHtml(e,r){return(new Anser).ansiToHtml(e,r)}},{key:\"ansiToJson\",value:function ansiToJson(e,r){return(new Anser).ansiToJson(e,r)}},{key:\"ansiToText\",value:function ansiToText(e){return(new Anser).ansiToText(e)}}]);function Anser(){_classCallCheck(this,Anser);this.fg=this.bg=this.fg_truecolor=this.bg_truecolor=null;this.bright=0}r(Anser,[{key:\"setupPalette\",value:function setupPalette(){this.PALETTE_COLORS=[];for(var e=0;e<2;++e){for(var r=0;r<8;++r){this.PALETTE_COLORS.push(n[e][r].color)}}var s=[0,95,135,175,215,255];var i=function format(e,r,n){return s[e]+\", \"+s[r]+\", \"+s[n]};var t=void 0,o=void 0,a=void 0;for(var l=0;l<6;++l){for(var c=0;c<6;++c){for(var u=0;u<6;++u){this.PALETTE_COLORS.push(i(l,c,u))}}}var f=8;for(var h=0;h<24;++h,f+=10){this.PALETTE_COLORS.push(i(f,f,f))}}},{key:\"escapeForHtml\",value:function escapeForHtml(e){return e.replace(/[&<>]/gm,(function(e){return e==\"&\"?\"&\":e==\"<\"?\"<\":e==\">\"?\">\":\"\"}))}},{key:\"linkify\",value:function linkify(e){return e.replace(/(https?:\\/\\/[^\\s]+)/gm,(function(e){return'<a href=\"'+e+'\">'+e+\"</a>\"}))}},{key:\"ansiToHtml\",value:function ansiToHtml(e,r){return this.process(e,r,true)}},{key:\"ansiToJson\",value:function ansiToJson(e,r){r=r||{};r.json=true;r.clearLine=false;return this.process(e,r,true)}},{key:\"ansiToText\",value:function ansiToText(e){return this.process(e,{},false)}},{key:\"process\",value:function process(e,r,n){var s=this;var i=this;var t=e.split(/\\033\\[/);var o=t.shift();if(r===undefined||r===null){r={}}r.clearLine=/\\r/.test(e);var a=t.map((function(e){return s.processChunk(e,r,n)}));if(r&&r.json){var l=i.processChunkJson(\"\");l.content=o;l.clearLine=r.clearLine;a.unshift(l);if(r.remove_empty){a=a.filter((function(e){return!e.isEmpty()}))}return a}else{a.unshift(o)}return a.join(\"\")}},{key:\"processChunkJson\",value:function processChunkJson(e,r,s){r=typeof r==\"undefined\"?{}:r;var i=r.use_classes=typeof r.use_classes!=\"undefined\"&&r.use_classes;var t=r.key=i?\"class\":\"color\";var o={content:e,fg:null,bg:null,fg_truecolor:null,bg_truecolor:null,clearLine:r.clearLine,decoration:null,was_processed:false,isEmpty:function isEmpty(){return!o.content}};var a=e.match(/^([!\\x3c-\\x3f]*)([\\d;]*)([\\x20-\\x2c]*[\\x40-\\x7e])([\\s\\S]*)/m);if(!a)return o;var l=o.content=a[4];var c=a[2].split(\";\");if(a[1]!==\"\"||a[3]!==\"m\"){return o}if(!s){return o}var u=this;u.decoration=null;while(c.length>0){var f=c.shift();var h=parseInt(f);if(isNaN(h)||h===0){u.fg=u.bg=u.decoration=null}else if(h===1){u.decoration=\"bold\"}else if(h===2){u.decoration=\"dim\"}else if(h==3){u.decoration=\"italic\"}else if(h==4){u.decoration=\"underline\"}else if(h==5){u.decoration=\"blink\"}else if(h===7){u.decoration=\"reverse\"}else if(h===8){u.decoration=\"hidden\"}else if(h===9){u.decoration=\"strikethrough\"}else if(h==39){u.fg=null}else if(h==49){u.bg=null}else if(h>=30&&h<38){u.fg=n[0][h%10][t]}else if(h>=90&&h<98){u.fg=n[1][h%10][t]}else if(h>=40&&h<48){u.bg=n[0][h%10][t]}else if(h>=100&&h<108){u.bg=n[1][h%10][t]}else if(h===38||h===48){var p=h===38;if(c.length>=1){var g=c.shift();if(g===\"5\"&&c.length>=1){var v=parseInt(c.shift());if(v>=0&&v<=255){if(!i){if(!this.PALETTE_COLORS){u.setupPalette()}if(p){u.fg=this.PALETTE_COLORS[v]}else{u.bg=this.PALETTE_COLORS[v]}}else{var d=v>=16?\"ansi-palette-\"+v:n[v>7?1:0][v%8][\"class\"];if(p){u.fg=d}else{u.bg=d}}}}else if(g===\"2\"&&c.length>=3){var _=parseInt(c.shift());var b=parseInt(c.shift());var y=parseInt(c.shift());if(_>=0&&_<=255&&b>=0&&b<=255&&y>=0&&y<=255){var k=_+\", \"+b+\", \"+y;if(!i){if(p){u.fg=k}else{u.bg=k}}else{if(p){u.fg=\"ansi-truecolor\";u.fg_truecolor=k}else{u.bg=\"ansi-truecolor\";u.bg_truecolor=k}}}}}}}if(u.fg===null&&u.bg===null&&u.decoration===null){return o}else{var T=[];var m=[];var w={};o.fg=u.fg;o.bg=u.bg;o.fg_truecolor=u.fg_truecolor;o.bg_truecolor=u.bg_truecolor;o.decoration=u.decoration;o.was_processed=true;return o}}},{key:\"processChunk\",value:function processChunk(e,r,n){var s=this;var i=this;r=r||{};var t=this.processChunkJson(e,r,n);if(r.json){return t}if(t.isEmpty()){return\"\"}if(!t.was_processed){return t.content}var o=r.use_classes;var a=[];var l=[];var c={};var u=function render_data(e){var r=[];var n=void 0;for(n in e){if(e.hasOwnProperty(n)){r.push(\"data-\"+n+'=\"'+s.escapeForHtml(e[n])+'\"')}}return r.length>0?\" \"+r.join(\" \"):\"\"};if(t.fg){if(o){l.push(t.fg+\"-fg\");if(t.fg_truecolor!==null){c[\"ansi-truecolor-fg\"]=t.fg_truecolor;t.fg_truecolor=null}}else{a.push(\"color:rgb(\"+t.fg+\")\")}}if(t.bg){if(o){l.push(t.bg+\"-bg\");if(t.bg_truecolor!==null){c[\"ansi-truecolor-bg\"]=t.bg_truecolor;t.bg_truecolor=null}}else{a.push(\"background-color:rgb(\"+t.bg+\")\")}}if(t.decoration){if(o){l.push(\"ansi-\"+t.decoration)}else if(t.decoration===\"bold\"){a.push(\"font-weight:bold\")}else if(t.decoration===\"dim\"){a.push(\"opacity:0.5\")}else if(t.decoration===\"italic\"){a.push(\"font-style:italic\")}else if(t.decoration===\"reverse\"){a.push(\"filter:invert(100%)\")}else if(t.decoration===\"hidden\"){a.push(\"visibility:hidden\")}else if(t.decoration===\"strikethrough\"){a.push(\"text-decoration:line-through\")}else{a.push(\"text-decoration:\"+t.decoration)}}if(o){return'<span class=\"'+l.join(\" \")+'\"'+u(c)+\">\"+t.content+\"</span>\"}else{return'<span style=\"'+a.join(\";\")+'\"'+u(c)+\">\"+t.content+\"</span>\"}}}]);return Anser}();e.exports=s}};var r={};function __nccwpck_require__(n){var s=r[n];if(s!==undefined){return s.exports}var i=r[n]={exports:{}};var t=true;try{e[n](i,i.exports,__nccwpck_require__);t=false}finally{if(t)delete r[n]}return i.exports}if(typeof __nccwpck_require__!==\"undefined\")__nccwpck_require__.ab=__dirname+\"/\";var n=__nccwpck_require__(211);module.exports=n})();","/**\n * @license React\n * react-dom-client.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and 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\n/*\n Modernizr 3.0.0pre (Custom Build) | MIT\n*/\n\"use strict\";\nvar Scheduler = require(\"next/dist/compiled/scheduler\"),\n React = require(\"next/dist/compiled/react\"),\n ReactDOM = require(\"next/dist/compiled/react-dom\");\nfunction formatProdErrorMessage(code) {\n var url = \"https://react.dev/errors/\" + code;\n if (1 < arguments.length) {\n url += \"?args[]=\" + encodeURIComponent(arguments[1]);\n for (var i = 2; i < arguments.length; i++)\n url += \"&args[]=\" + encodeURIComponent(arguments[i]);\n }\n return (\n \"Minified React error #\" +\n code +\n \"; visit \" +\n url +\n \" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.\"\n );\n}\nfunction isValidContainer(node) {\n return !(\n !node ||\n (1 !== node.nodeType && 9 !== node.nodeType && 11 !== node.nodeType)\n );\n}\nfunction getNearestMountedFiber(fiber) {\n var node = fiber,\n nearestMounted = fiber;\n if (fiber.alternate) for (; node.return; ) node = node.return;\n else {\n fiber = node;\n do\n (node = fiber),\n 0 !== (node.flags & 4098) && (nearestMounted = node.return),\n (fiber = node.return);\n while (fiber);\n }\n return 3 === node.tag ? nearestMounted : null;\n}\nfunction getSuspenseInstanceFromFiber(fiber) {\n if (13 === fiber.tag) {\n var suspenseState = fiber.memoizedState;\n null === suspenseState &&\n ((fiber = fiber.alternate),\n null !== fiber && (suspenseState = fiber.memoizedState));\n if (null !== suspenseState) return suspenseState.dehydrated;\n }\n return null;\n}\nfunction getActivityInstanceFromFiber(fiber) {\n if (31 === fiber.tag) {\n var activityState = fiber.memoizedState;\n null === activityState &&\n ((fiber = fiber.alternate),\n null !== fiber && (activityState = fiber.memoizedState));\n if (null !== activityState) return activityState.dehydrated;\n }\n return null;\n}\nfunction assertIsMounted(fiber) {\n if (getNearestMountedFiber(fiber) !== fiber)\n throw Error(formatProdErrorMessage(188));\n}\nfunction findCurrentFiberUsingSlowPath(fiber) {\n var alternate = fiber.alternate;\n if (!alternate) {\n alternate = getNearestMountedFiber(fiber);\n if (null === alternate) throw Error(formatProdErrorMessage(188));\n return alternate !== fiber ? null : fiber;\n }\n for (var a = fiber, b = alternate; ; ) {\n var parentA = a.return;\n if (null === parentA) break;\n var parentB = parentA.alternate;\n if (null === parentB) {\n b = parentA.return;\n if (null !== b) {\n a = b;\n continue;\n }\n break;\n }\n if (parentA.child === parentB.child) {\n for (parentB = parentA.child; parentB; ) {\n if (parentB === a) return assertIsMounted(parentA), fiber;\n if (parentB === b) return assertIsMounted(parentA), alternate;\n parentB = parentB.sibling;\n }\n throw Error(formatProdErrorMessage(188));\n }\n if (a.return !== b.return) (a = parentA), (b = parentB);\n else {\n for (var didFindChild = !1, child$0 = parentA.child; child$0; ) {\n if (child$0 === a) {\n didFindChild = !0;\n a = parentA;\n b = parentB;\n break;\n }\n if (child$0 === b) {\n didFindChild = !0;\n b = parentA;\n a = parentB;\n break;\n }\n child$0 = child$0.sibling;\n }\n if (!didFindChild) {\n for (child$0 = parentB.child; child$0; ) {\n if (child$0 === a) {\n didFindChild = !0;\n a = parentB;\n b = parentA;\n break;\n }\n if (child$0 === b) {\n didFindChild = !0;\n b = parentB;\n a = parentA;\n break;\n }\n child$0 = child$0.sibling;\n }\n if (!didFindChild) throw Error(formatProdErrorMessage(189));\n }\n }\n if (a.alternate !== b) throw Error(formatProdErrorMessage(190));\n }\n if (3 !== a.tag) throw Error(formatProdErrorMessage(188));\n return a.stateNode.current === a ? fiber : alternate;\n}\nfunction findCurrentHostFiberImpl(node) {\n var tag = node.tag;\n if (5 === tag || 26 === tag || 27 === tag || 6 === tag) return node;\n for (node = node.child; null !== node; ) {\n tag = findCurrentHostFiberImpl(node);\n if (null !== tag) return tag;\n node = node.sibling;\n }\n return null;\n}\nfunction traverseVisibleHostChildren(child, searchWithinHosts, fn, a, b, c) {\n for (; null !== child; ) {\n if (\n (5 === child.tag && fn(child, a, b, c)) ||\n ((22 !== child.tag || null === child.memoizedState) &&\n (searchWithinHosts || 5 !== child.tag) &&\n traverseVisibleHostChildren(\n child.child,\n searchWithinHosts,\n fn,\n a,\n b,\n c\n ))\n )\n return !0;\n child = child.sibling;\n }\n return !1;\n}\nfunction getFragmentParentHostFiber(fiber) {\n for (fiber = fiber.return; null !== fiber; ) {\n if (3 === fiber.tag || 5 === fiber.tag) return fiber;\n fiber = fiber.return;\n }\n return null;\n}\nfunction findFragmentInstanceSiblings(result, self, child) {\n for (\n var foundSelf =\n 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : !1;\n null !== child;\n\n ) {\n if (child === self)\n if (((foundSelf = !0), child.sibling)) child = child.sibling;\n else return !0;\n if (5 === child.tag) {\n if (foundSelf) return (result[1] = child), !0;\n result[0] = child;\n } else if (\n (22 !== child.tag || null === child.memoizedState) &&\n findFragmentInstanceSiblings(result, self, child.child, foundSelf)\n )\n return !0;\n child = child.sibling;\n }\n return !1;\n}\nfunction getInstanceFromHostFiber(fiber) {\n switch (fiber.tag) {\n case 5:\n return fiber.stateNode;\n case 3:\n return fiber.stateNode.containerInfo;\n default:\n throw Error(formatProdErrorMessage(559));\n }\n}\nvar searchTarget = null,\n searchBoundary = null;\nfunction findNextSibling(child) {\n searchTarget = child;\n return !0;\n}\nfunction isFiberPrecedingCheck(child, target, boundary) {\n return child === boundary\n ? !0\n : child === target\n ? ((searchTarget = child), !0)\n : !1;\n}\nfunction isFiberFollowingCheck(child, target, boundary) {\n return child === boundary\n ? ((searchBoundary = child), !1)\n : child === target\n ? (null !== searchBoundary && (searchTarget = child), !0)\n : !1;\n}\nfunction getParentForFragmentAncestors(inst) {\n if (null === inst) return null;\n do inst = null === inst ? null : inst.return;\n while (inst && 5 !== inst.tag && 27 !== inst.tag && 3 !== inst.tag);\n return inst ? inst : null;\n}\nfunction getLowestCommonAncestor(instA, instB, getParent) {\n for (var depthA = 0, tempA = instA; tempA; tempA = getParent(tempA)) depthA++;\n tempA = 0;\n for (var tempB = instB; tempB; tempB = getParent(tempB)) tempA++;\n for (; 0 < depthA - tempA; ) (instA = getParent(instA)), depthA--;\n for (; 0 < tempA - depthA; ) (instB = getParent(instB)), tempA--;\n for (; depthA--; ) {\n if (instA === instB || (null !== instB && instA === instB.alternate))\n return instA;\n instA = getParent(instA);\n instB = getParent(instB);\n }\n return null;\n}\nvar assign = Object.assign,\n REACT_LEGACY_ELEMENT_TYPE = Symbol.for(\"react.element\"),\n REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\"),\n REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\");\nSymbol.for(\"react.scope\");\nvar REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n REACT_LEGACY_HIDDEN_TYPE = Symbol.for(\"react.legacy_hidden\");\nSymbol.for(\"react.tracing_marker\");\nvar REACT_MEMO_CACHE_SENTINEL = Symbol.for(\"react.memo_cache_sentinel\"),\n REACT_VIEW_TRANSITION_TYPE = Symbol.for(\"react.view_transition\"),\n MAYBE_ITERATOR_SYMBOL = Symbol.iterator;\nfunction getIteratorFn(maybeIterable) {\n if (null === maybeIterable || \"object\" !== typeof maybeIterable) return null;\n maybeIterable =\n (MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) ||\n maybeIterable[\"@@iterator\"];\n return \"function\" === typeof maybeIterable ? maybeIterable : null;\n}\nvar REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\");\nfunction getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type)\n return type.$$typeof === REACT_CLIENT_REFERENCE\n ? null\n : type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n case REACT_ACTIVITY_TYPE:\n return \"Activity\";\n case REACT_VIEW_TRANSITION_TYPE:\n return \"ViewTransition\";\n }\n if (\"object\" === typeof type)\n switch (type.$$typeof) {\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_CONTEXT_TYPE:\n return type.displayName || \"Context\";\n case REACT_CONSUMER_TYPE:\n return (type._context.displayName || \"Context\") + \".Consumer\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n}\nvar isArrayImpl = Array.isArray,\n ReactSharedInternals =\n React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n ReactDOMSharedInternals =\n ReactDOM.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n sharedNotPendingObject = {\n pending: !1,\n data: null,\n method: null,\n action: null\n },\n valueStack = [],\n index = -1;\nfunction createCursor(defaultValue) {\n return { current: defaultValue };\n}\nfunction pop(cursor) {\n 0 > index ||\n ((cursor.current = valueStack[index]), (valueStack[index] = null), index--);\n}\nfunction push(cursor, value) {\n index++;\n valueStack[index] = cursor.current;\n cursor.current = value;\n}\nvar contextStackCursor = createCursor(null),\n contextFiberStackCursor = createCursor(null),\n rootInstanceStackCursor = createCursor(null),\n hostTransitionProviderCursor = createCursor(null);\nfunction pushHostContainer(fiber, nextRootInstance) {\n push(rootInstanceStackCursor, nextRootInstance);\n push(contextFiberStackCursor, fiber);\n push(contextStackCursor, null);\n switch (nextRootInstance.nodeType) {\n case 9:\n case 11:\n fiber = (fiber = nextRootInstance.documentElement)\n ? (fiber = fiber.namespaceURI)\n ? getOwnHostContext(fiber)\n : 0\n : 0;\n break;\n default:\n if (\n ((fiber = nextRootInstance.tagName),\n (nextRootInstance = nextRootInstance.namespaceURI))\n )\n (nextRootInstance = getOwnHostContext(nextRootInstance)),\n (fiber = getChildHostContextProd(nextRootInstance, fiber));\n else\n switch (fiber) {\n case \"svg\":\n fiber = 1;\n break;\n case \"math\":\n fiber = 2;\n break;\n default:\n fiber = 0;\n }\n }\n pop(contextStackCursor);\n push(contextStackCursor, fiber);\n}\nfunction popHostContainer() {\n pop(contextStackCursor);\n pop(contextFiberStackCursor);\n pop(rootInstanceStackCursor);\n}\nfunction pushHostContext(fiber) {\n var stateHook = fiber.memoizedState;\n null !== stateHook &&\n ((HostTransitionContext._currentValue = stateHook.memoizedState),\n push(hostTransitionProviderCursor, fiber));\n stateHook = contextStackCursor.current;\n var JSCompiler_inline_result = getChildHostContextProd(stateHook, fiber.type);\n stateHook !== JSCompiler_inline_result &&\n (push(contextFiberStackCursor, fiber),\n push(contextStackCursor, JSCompiler_inline_result));\n}\nfunction popHostContext(fiber) {\n contextFiberStackCursor.current === fiber &&\n (pop(contextStackCursor), pop(contextFiberStackCursor));\n hostTransitionProviderCursor.current === fiber &&\n (pop(hostTransitionProviderCursor),\n (HostTransitionContext._currentValue = sharedNotPendingObject));\n}\nvar prefix, suffix;\nfunction describeBuiltInComponentFrame(name) {\n if (void 0 === prefix)\n try {\n throw Error();\n } catch (x) {\n var match = x.stack.trim().match(/\\n( *(at )?)/);\n prefix = (match && match[1]) || \"\";\n suffix =\n -1 < x.stack.indexOf(\"\\n at\")\n ? \" (<anonymous>)\"\n : -1 < x.stack.indexOf(\"@\")\n ? \"@unknown:0:0\"\n : \"\";\n }\n return \"\\n\" + prefix + name + suffix;\n}\nvar reentry = !1;\nfunction describeNativeComponentFrame(fn, construct) {\n if (!fn || reentry) return \"\";\n reentry = !0;\n var previousPrepareStackTrace = Error.prepareStackTrace;\n Error.prepareStackTrace = void 0;\n try {\n var RunInRootFrame = {\n DetermineComponentFrameRoot: function () {\n try {\n if (construct) {\n var Fake = function () {\n throw Error();\n };\n Object.defineProperty(Fake.prototype, \"props\", {\n set: function () {\n throw Error();\n }\n });\n if (\"object\" === typeof Reflect && Reflect.construct) {\n try {\n Reflect.construct(Fake, []);\n } catch (x) {\n var control = x;\n }\n Reflect.construct(fn, [], Fake);\n } else {\n try {\n Fake.call();\n } catch (x$1) {\n control = x$1;\n }\n fn.call(Fake.prototype);\n }\n } else {\n try {\n throw Error();\n } catch (x$2) {\n control = x$2;\n }\n (Fake = fn()) &&\n \"function\" === typeof Fake.catch &&\n Fake.catch(function () {});\n }\n } catch (sample) {\n if (sample && control && \"string\" === typeof sample.stack)\n return [sample.stack, control.stack];\n }\n return [null, null];\n }\n };\n RunInRootFrame.DetermineComponentFrameRoot.displayName =\n \"DetermineComponentFrameRoot\";\n var namePropDescriptor = Object.getOwnPropertyDescriptor(\n RunInRootFrame.DetermineComponentFrameRoot,\n \"name\"\n );\n namePropDescriptor &&\n namePropDescriptor.configurable &&\n Object.defineProperty(\n RunInRootFrame.DetermineComponentFrameRoot,\n \"name\",\n { value: \"DetermineComponentFrameRoot\" }\n );\n var _RunInRootFrame$Deter = RunInRootFrame.DetermineComponentFrameRoot(),\n sampleStack = _RunInRootFrame$Deter[0],\n controlStack = _RunInRootFrame$Deter[1];\n if (sampleStack && controlStack) {\n var sampleLines = sampleStack.split(\"\\n\"),\n controlLines = controlStack.split(\"\\n\");\n for (\n namePropDescriptor = RunInRootFrame = 0;\n RunInRootFrame < sampleLines.length &&\n !sampleLines[RunInRootFrame].includes(\"DetermineComponentFrameRoot\");\n\n )\n RunInRootFrame++;\n for (\n ;\n namePropDescriptor < controlLines.length &&\n !controlLines[namePropDescriptor].includes(\n \"DetermineComponentFrameRoot\"\n );\n\n )\n namePropDescriptor++;\n if (\n RunInRootFrame === sampleLines.length ||\n namePropDescriptor === controlLines.length\n )\n for (\n RunInRootFrame = sampleLines.length - 1,\n namePropDescriptor = controlLines.length - 1;\n 1 <= RunInRootFrame &&\n 0 <= namePropDescriptor &&\n sampleLines[RunInRootFrame] !== controlLines[namePropDescriptor];\n\n )\n namePropDescriptor--;\n for (\n ;\n 1 <= RunInRootFrame && 0 <= namePropDescriptor;\n RunInRootFrame--, namePropDescriptor--\n )\n if (sampleLines[RunInRootFrame] !== controlLines[namePropDescriptor]) {\n if (1 !== RunInRootFrame || 1 !== namePropDescriptor) {\n do\n if (\n (RunInRootFrame--,\n namePropDescriptor--,\n 0 > namePropDescriptor ||\n sampleLines[RunInRootFrame] !==\n controlLines[namePropDescriptor])\n ) {\n var frame =\n \"\\n\" +\n sampleLines[RunInRootFrame].replace(\" at new \", \" at \");\n fn.displayName &&\n frame.includes(\"<anonymous>\") &&\n (frame = frame.replace(\"<anonymous>\", fn.displayName));\n return frame;\n }\n while (1 <= RunInRootFrame && 0 <= namePropDescriptor);\n }\n break;\n }\n }\n } finally {\n (reentry = !1), (Error.prepareStackTrace = previousPrepareStackTrace);\n }\n return (previousPrepareStackTrace = fn ? fn.displayName || fn.name : \"\")\n ? describeBuiltInComponentFrame(previousPrepareStackTrace)\n : \"\";\n}\nfunction describeFiber(fiber, childFiber) {\n switch (fiber.tag) {\n case 26:\n case 27:\n case 5:\n return describeBuiltInComponentFrame(fiber.type);\n case 16:\n return describeBuiltInComponentFrame(\"Lazy\");\n case 13:\n return fiber.child !== childFiber && null !== childFiber\n ? describeBuiltInComponentFrame(\"Suspense Fallback\")\n : describeBuiltInComponentFrame(\"Suspense\");\n case 19:\n return describeBuiltInComponentFrame(\"SuspenseList\");\n case 0:\n case 15:\n return describeNativeComponentFrame(fiber.type, !1);\n case 11:\n return describeNativeComponentFrame(fiber.type.render, !1);\n case 1:\n return describeNativeComponentFrame(fiber.type, !0);\n case 31:\n return describeBuiltInComponentFrame(\"Activity\");\n case 30:\n return describeBuiltInComponentFrame(\"ViewTransition\");\n default:\n return \"\";\n }\n}\nfunction getStackByFiberInDevAndProd(workInProgress) {\n try {\n var info = \"\",\n previous = null;\n do\n (info += describeFiber(workInProgress, previous)),\n (previous = workInProgress),\n (workInProgress = workInProgress.return);\n while (workInProgress);\n return info;\n } catch (x) {\n return \"\\nError generating stack: \" + x.message + \"\\n\" + x.stack;\n }\n}\nvar hasOwnProperty = Object.prototype.hasOwnProperty,\n scheduleCallback$3 = Scheduler.unstable_scheduleCallback,\n cancelCallback$1 = Scheduler.unstable_cancelCallback,\n shouldYield = Scheduler.unstable_shouldYield,\n requestPaint = Scheduler.unstable_requestPaint,\n now = Scheduler.unstable_now,\n getCurrentPriorityLevel = Scheduler.unstable_getCurrentPriorityLevel,\n ImmediatePriority = Scheduler.unstable_ImmediatePriority,\n UserBlockingPriority = Scheduler.unstable_UserBlockingPriority,\n NormalPriority$1 = Scheduler.unstable_NormalPriority,\n LowPriority = Scheduler.unstable_LowPriority,\n IdlePriority = Scheduler.unstable_IdlePriority,\n log$1 = Scheduler.log,\n unstable_setDisableYieldValue = Scheduler.unstable_setDisableYieldValue,\n rendererID = null,\n injectedHook = null;\nfunction setIsStrictModeForDevtools(newIsStrictMode) {\n \"function\" === typeof log$1 && unstable_setDisableYieldValue(newIsStrictMode);\n if (injectedHook && \"function\" === typeof injectedHook.setStrictMode)\n try {\n injectedHook.setStrictMode(rendererID, newIsStrictMode);\n } catch (err) {}\n}\nvar clz32 = Math.clz32 ? Math.clz32 : clz32Fallback,\n log = Math.log,\n LN2 = Math.LN2;\nfunction clz32Fallback(x) {\n x >>>= 0;\n return 0 === x ? 32 : (31 - ((log(x) / LN2) | 0)) | 0;\n}\nvar nextTransitionUpdateLane = 256,\n nextTransitionDeferredLane = 262144,\n nextRetryLane = 4194304;\nfunction getHighestPriorityLanes(lanes) {\n var pendingSyncLanes = lanes & 42;\n if (0 !== pendingSyncLanes) return pendingSyncLanes;\n switch (lanes & -lanes) {\n case 1:\n return 1;\n case 2:\n return 2;\n case 4:\n return 4;\n case 8:\n return 8;\n case 16:\n return 16;\n case 32:\n return 32;\n case 64:\n return 64;\n case 128:\n return 128;\n case 256:\n case 512:\n case 1024:\n case 2048:\n case 4096:\n case 8192:\n case 16384:\n case 32768:\n case 65536:\n case 131072:\n return lanes & 261888;\n case 262144:\n case 524288:\n case 1048576:\n case 2097152:\n return lanes & 3932160;\n case 4194304:\n case 8388608:\n case 16777216:\n case 33554432:\n return lanes & 62914560;\n case 67108864:\n return 67108864;\n case 134217728:\n return 134217728;\n case 268435456:\n return 268435456;\n case 536870912:\n return 536870912;\n case 1073741824:\n return 0;\n default:\n return lanes;\n }\n}\nfunction getNextLanes(root, wipLanes, rootHasPendingCommit) {\n var pendingLanes = root.pendingLanes;\n if (0 === pendingLanes) return 0;\n var nextLanes = 0,\n suspendedLanes = root.suspendedLanes,\n pingedLanes = root.pingedLanes;\n root = root.warmLanes;\n var nonIdlePendingLanes = pendingLanes & 134217727;\n 0 !== nonIdlePendingLanes\n ? ((pendingLanes = nonIdlePendingLanes & ~suspendedLanes),\n 0 !== pendingLanes\n ? (nextLanes = getHighestPriorityLanes(pendingLanes))\n : ((pingedLanes &= nonIdlePendingLanes),\n 0 !== pingedLanes\n ? (nextLanes = getHighestPriorityLanes(pingedLanes))\n : rootHasPendingCommit ||\n ((rootHasPendingCommit = nonIdlePendingLanes & ~root),\n 0 !== rootHasPendingCommit &&\n (nextLanes = getHighestPriorityLanes(rootHasPendingCommit)))))\n : ((nonIdlePendingLanes = pendingLanes & ~suspendedLanes),\n 0 !== nonIdlePendingLanes\n ? (nextLanes = getHighestPriorityLanes(nonIdlePendingLanes))\n : 0 !== pingedLanes\n ? (nextLanes = getHighestPriorityLanes(pingedLanes))\n : rootHasPendingCommit ||\n ((rootHasPendingCommit = pendingLanes & ~root),\n 0 !== rootHasPendingCommit &&\n (nextLanes = getHighestPriorityLanes(rootHasPendingCommit))));\n return 0 === nextLanes\n ? 0\n : 0 !== wipLanes &&\n wipLanes !== nextLanes &&\n 0 === (wipLanes & suspendedLanes) &&\n ((suspendedLanes = nextLanes & -nextLanes),\n (rootHasPendingCommit = wipLanes & -wipLanes),\n suspendedLanes >= rootHasPendingCommit ||\n (32 === suspendedLanes && 0 !== (rootHasPendingCommit & 4194048)))\n ? wipLanes\n : nextLanes;\n}\nfunction checkIfRootIsPrerendering(root, renderLanes) {\n return (\n 0 ===\n (root.pendingLanes &\n ~(root.suspendedLanes & ~root.pingedLanes) &\n renderLanes)\n );\n}\nfunction computeExpirationTime(lane, currentTime) {\n switch (lane) {\n case 1:\n case 2:\n case 4:\n case 8:\n case 64:\n return currentTime + 250;\n case 16:\n case 32:\n case 128:\n case 256:\n case 512:\n case 1024:\n case 2048:\n case 4096:\n case 8192:\n case 16384:\n case 32768:\n case 65536:\n case 131072:\n case 262144:\n case 524288:\n case 1048576:\n case 2097152:\n return currentTime + 5e3;\n case 4194304:\n case 8388608:\n case 16777216:\n case 33554432:\n return -1;\n case 67108864:\n case 134217728:\n case 268435456:\n case 536870912:\n case 1073741824:\n return -1;\n default:\n return -1;\n }\n}\nfunction claimNextRetryLane() {\n var lane = nextRetryLane;\n nextRetryLane <<= 1;\n 0 === (nextRetryLane & 62914560) && (nextRetryLane = 4194304);\n return lane;\n}\nfunction createLaneMap(initial) {\n for (var laneMap = [], i = 0; 31 > i; i++) laneMap.push(initial);\n return laneMap;\n}\nfunction markRootUpdated$1(root, updateLane) {\n root.pendingLanes |= updateLane;\n 268435456 !== updateLane &&\n ((root.suspendedLanes = 0), (root.pingedLanes = 0), (root.warmLanes = 0));\n}\nfunction markRootFinished(\n root,\n finishedLanes,\n remainingLanes,\n spawnedLane,\n updatedLanes,\n suspendedRetryLanes\n) {\n var previouslyPendingLanes = root.pendingLanes;\n root.pendingLanes = remainingLanes;\n root.suspendedLanes = 0;\n root.pingedLanes = 0;\n root.warmLanes = 0;\n root.expiredLanes &= remainingLanes;\n root.entangledLanes &= remainingLanes;\n root.errorRecoveryDisabledLanes &= remainingLanes;\n root.shellSuspendCounter = 0;\n var entanglements = root.entanglements,\n expirationTimes = root.expirationTimes,\n hiddenUpdates = root.hiddenUpdates;\n for (\n remainingLanes = previouslyPendingLanes & ~remainingLanes;\n 0 < remainingLanes;\n\n ) {\n var index$7 = 31 - clz32(remainingLanes),\n lane = 1 << index$7;\n entanglements[index$7] = 0;\n expirationTimes[index$7] = -1;\n var hiddenUpdatesForLane = hiddenUpdates[index$7];\n if (null !== hiddenUpdatesForLane)\n for (\n hiddenUpdates[index$7] = null, index$7 = 0;\n index$7 < hiddenUpdatesForLane.length;\n index$7++\n ) {\n var update = hiddenUpdatesForLane[index$7];\n null !== update && (update.lane &= -536870913);\n }\n remainingLanes &= ~lane;\n }\n 0 !== spawnedLane && markSpawnedDeferredLane(root, spawnedLane, 0);\n 0 !== suspendedRetryLanes &&\n 0 === updatedLanes &&\n 0 !== root.tag &&\n (root.suspendedLanes |=\n suspendedRetryLanes & ~(previouslyPendingLanes & ~finishedLanes));\n}\nfunction markSpawnedDeferredLane(root, spawnedLane, entangledLanes) {\n root.pendingLanes |= spawnedLane;\n root.suspendedLanes &= ~spawnedLane;\n var spawnedLaneIndex = 31 - clz32(spawnedLane);\n root.entangledLanes |= spawnedLane;\n root.entanglements[spawnedLaneIndex] =\n root.entanglements[spawnedLaneIndex] |\n 1073741824 |\n (entangledLanes & 261930);\n}\nfunction markRootEntangled(root, entangledLanes) {\n var rootEntangledLanes = (root.entangledLanes |= entangledLanes);\n for (root = root.entanglements; rootEntangledLanes; ) {\n var index$8 = 31 - clz32(rootEntangledLanes),\n lane = 1 << index$8;\n (lane & entangledLanes) | (root[index$8] & entangledLanes) &&\n (root[index$8] |= entangledLanes);\n rootEntangledLanes &= ~lane;\n }\n}\nfunction getBumpedLaneForHydration(root, renderLanes) {\n var renderLane = renderLanes & -renderLanes;\n renderLane =\n 0 !== (renderLane & 42) ? 1 : getBumpedLaneForHydrationByLane(renderLane);\n return 0 !== (renderLane & (root.suspendedLanes | renderLanes))\n ? 0\n : renderLane;\n}\nfunction getBumpedLaneForHydrationByLane(lane) {\n switch (lane) {\n case 2:\n lane = 1;\n break;\n case 8:\n lane = 4;\n break;\n case 32:\n lane = 16;\n break;\n case 256:\n case 512:\n case 1024:\n case 2048:\n case 4096:\n case 8192:\n case 16384:\n case 32768:\n case 65536:\n case 131072:\n case 262144:\n case 524288:\n case 1048576:\n case 2097152:\n case 4194304:\n case 8388608:\n case 16777216:\n case 33554432:\n lane = 128;\n break;\n case 268435456:\n lane = 134217728;\n break;\n default:\n lane = 0;\n }\n return lane;\n}\nfunction lanesToEventPriority(lanes) {\n lanes &= -lanes;\n return 2 < lanes\n ? 8 < lanes\n ? 0 !== (lanes & 134217727)\n ? 32\n : 268435456\n : 8\n : 2;\n}\nfunction resolveUpdatePriority() {\n var updatePriority = ReactDOMSharedInternals.p;\n if (0 !== updatePriority) return updatePriority;\n updatePriority = window.event;\n return void 0 === updatePriority ? 32 : getEventPriority(updatePriority.type);\n}\nfunction runWithPriority(priority, fn) {\n var previousPriority = ReactDOMSharedInternals.p;\n try {\n return (ReactDOMSharedInternals.p = priority), fn();\n } finally {\n ReactDOMSharedInternals.p = previousPriority;\n }\n}\nvar randomKey = Math.random().toString(36).slice(2),\n internalInstanceKey = \"__reactFiber$\" + randomKey,\n internalPropsKey = \"__reactProps$\" + randomKey,\n internalContainerInstanceKey = \"__reactContainer$\" + randomKey,\n internalEventHandlersKey = \"__reactEvents$\" + randomKey,\n internalEventHandlerListenersKey = \"__reactListeners$\" + randomKey,\n internalEventHandlesSetKey = \"__reactHandles$\" + randomKey,\n internalRootNodeResourcesKey = \"__reactResources$\" + randomKey,\n internalHoistableMarker = \"__reactMarker$\" + randomKey;\nfunction detachDeletedInstance(node) {\n delete node[internalInstanceKey];\n delete node[internalPropsKey];\n delete node[internalEventHandlersKey];\n delete node[internalEventHandlerListenersKey];\n delete node[internalEventHandlesSetKey];\n}\nfunction getClosestInstanceFromNode(targetNode) {\n var targetInst;\n if ((targetInst = targetNode[internalInstanceKey])) return targetInst;\n for (var parentNode = targetNode.parentNode; parentNode; ) {\n if (\n (targetInst =\n parentNode[internalContainerInstanceKey] ||\n parentNode[internalInstanceKey])\n ) {\n parentNode = targetInst.alternate;\n if (\n null !== targetInst.child ||\n (null !== parentNode && null !== parentNode.child)\n )\n for (\n targetNode = getParentHydrationBoundary(targetNode);\n null !== targetNode;\n\n ) {\n if ((parentNode = targetNode[internalInstanceKey])) return parentNode;\n targetNode = getParentHydrationBoundary(targetNode);\n }\n return targetInst;\n }\n targetNode = parentNode;\n parentNode = targetNode.parentNode;\n }\n return null;\n}\nfunction getInstanceFromNode(node) {\n if (\n (node = node[internalInstanceKey] || node[internalContainerInstanceKey])\n ) {\n var tag = node.tag;\n if (\n 5 === tag ||\n 6 === tag ||\n 13 === tag ||\n 31 === tag ||\n 26 === tag ||\n 27 === tag ||\n 3 === tag\n )\n return node;\n }\n return null;\n}\nfunction getNodeFromInstance(inst) {\n var tag = inst.tag;\n if (5 === tag || 26 === tag || 27 === tag || 6 === tag) return inst.stateNode;\n throw Error(formatProdErrorMessage(33));\n}\nfunction getResourcesFromRoot(root) {\n var resources = root[internalRootNodeResourcesKey];\n resources ||\n (resources = root[internalRootNodeResourcesKey] =\n { hoistableStyles: new Map(), hoistableScripts: new Map() });\n return resources;\n}\nfunction markNodeAsHoistable(node) {\n node[internalHoistableMarker] = !0;\n}\nvar allNativeEvents = new Set(),\n registrationNameDependencies = {};\nfunction registerTwoPhaseEvent(registrationName, dependencies) {\n registerDirectEvent(registrationName, dependencies);\n registerDirectEvent(registrationName + \"Capture\", dependencies);\n}\nfunction registerDirectEvent(registrationName, dependencies) {\n registrationNameDependencies[registrationName] = dependencies;\n for (\n registrationName = 0;\n registrationName < dependencies.length;\n registrationName++\n )\n allNativeEvents.add(dependencies[registrationName]);\n}\nvar VALID_ATTRIBUTE_NAME_REGEX = RegExp(\n \"^[:A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD][:A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD\\\\-.0-9\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040]*$\"\n ),\n illegalAttributeNameCache = {},\n validatedAttributeNameCache = {};\nfunction isAttributeNameSafe(attributeName) {\n if (hasOwnProperty.call(validatedAttributeNameCache, attributeName))\n return !0;\n if (hasOwnProperty.call(illegalAttributeNameCache, attributeName)) return !1;\n if (VALID_ATTRIBUTE_NAME_REGEX.test(attributeName))\n return (validatedAttributeNameCache[attributeName] = !0);\n illegalAttributeNameCache[attributeName] = !0;\n return !1;\n}\nvar viewTransitionMutationContext = !1;\nfunction pushMutationContext() {\n var prev = viewTransitionMutationContext;\n viewTransitionMutationContext = !1;\n return prev;\n}\nfunction setValueForAttribute(node, name, value) {\n if (isAttributeNameSafe(name))\n if (null === value) node.removeAttribute(name);\n else {\n switch (typeof value) {\n case \"undefined\":\n case \"function\":\n case \"symbol\":\n node.removeAttribute(name);\n return;\n case \"boolean\":\n var prefix$10 = name.toLowerCase().slice(0, 5);\n if (\"data-\" !== prefix$10 && \"aria-\" !== prefix$10) {\n node.removeAttribute(name);\n return;\n }\n }\n node.setAttribute(name, \"\" + value);\n }\n}\nfunction setValueForKnownAttribute(node, name, value) {\n if (null === value) node.removeAttribute(name);\n else {\n switch (typeof value) {\n case \"undefined\":\n case \"function\":\n case \"symbol\":\n case \"boolean\":\n node.removeAttribute(name);\n return;\n }\n node.setAttribute(name, \"\" + value);\n }\n}\nfunction setValueForNamespacedAttribute(node, namespace, name, value) {\n if (null === value) node.removeAttribute(name);\n else {\n switch (typeof value) {\n case \"undefined\":\n case \"function\":\n case \"symbol\":\n case \"boolean\":\n node.removeAttribute(name);\n return;\n }\n node.setAttributeNS(namespace, name, \"\" + value);\n }\n}\nfunction getToStringValue(value) {\n switch (typeof value) {\n case \"bigint\":\n case \"boolean\":\n case \"number\":\n case \"string\":\n case \"undefined\":\n return value;\n case \"object\":\n return value;\n default:\n return \"\";\n }\n}\nfunction isCheckable(elem) {\n var type = elem.type;\n return (\n (elem = elem.nodeName) &&\n \"input\" === elem.toLowerCase() &&\n (\"checkbox\" === type || \"radio\" === type)\n );\n}\nfunction trackValueOnNode(node, valueField, currentValue) {\n var descriptor = Object.getOwnPropertyDescriptor(\n node.constructor.prototype,\n valueField\n );\n if (\n !node.hasOwnProperty(valueField) &&\n \"undefined\" !== typeof descriptor &&\n \"function\" === typeof descriptor.get &&\n \"function\" === typeof descriptor.set\n ) {\n var get = descriptor.get,\n set = descriptor.set;\n Object.defineProperty(node, valueField, {\n configurable: !0,\n get: function () {\n return get.call(this);\n },\n set: function (value) {\n currentValue = \"\" + value;\n set.call(this, value);\n }\n });\n Object.defineProperty(node, valueField, {\n enumerable: descriptor.enumerable\n });\n return {\n getValue: function () {\n return currentValue;\n },\n setValue: function (value) {\n currentValue = \"\" + value;\n },\n stopTracking: function () {\n node._valueTracker = null;\n delete node[valueField];\n }\n };\n }\n}\nfunction track(node) {\n if (!node._valueTracker) {\n var valueField = isCheckable(node) ? \"checked\" : \"value\";\n node._valueTracker = trackValueOnNode(\n node,\n valueField,\n \"\" + node[valueField]\n );\n }\n}\nfunction updateValueIfChanged(node) {\n if (!node) return !1;\n var tracker = node._valueTracker;\n if (!tracker) return !0;\n var lastValue = tracker.getValue();\n var value = \"\";\n node &&\n (value = isCheckable(node)\n ? node.checked\n ? \"true\"\n : \"false\"\n : node.value);\n node = value;\n return node !== lastValue ? (tracker.setValue(node), !0) : !1;\n}\nfunction getActiveElement(doc) {\n doc = doc || (\"undefined\" !== typeof document ? document : void 0);\n if (\"undefined\" === typeof doc) return null;\n try {\n return doc.activeElement || doc.body;\n } catch (e) {\n return doc.body;\n }\n}\nvar escapeSelectorAttributeValueInsideDoubleQuotesRegex = /[\\n\"\\\\]/g;\nfunction escapeSelectorAttributeValueInsideDoubleQuotes(value) {\n return value.replace(\n escapeSelectorAttributeValueInsideDoubleQuotesRegex,\n function (ch) {\n return \"\\\\\" + ch.charCodeAt(0).toString(16) + \" \";\n }\n );\n}\nfunction updateInput(\n element,\n value,\n defaultValue,\n lastDefaultValue,\n checked,\n defaultChecked,\n type,\n name\n) {\n element.name = \"\";\n null != type &&\n \"function\" !== typeof type &&\n \"symbol\" !== typeof type &&\n \"boolean\" !== typeof type\n ? (element.type = type)\n : element.removeAttribute(\"type\");\n if (null != value)\n if (\"number\" === type) {\n if ((0 === value && \"\" === element.value) || element.value != value)\n element.value = \"\" + getToStringValue(value);\n } else\n element.value !== \"\" + getToStringValue(value) &&\n (element.value = \"\" + getToStringValue(value));\n else\n (\"submit\" !== type && \"reset\" !== type) || element.removeAttribute(\"value\");\n null != value\n ? setDefaultValue(element, type, getToStringValue(value))\n : null != defaultValue\n ? setDefaultValue(element, type, getToStringValue(defaultValue))\n : null != lastDefaultValue && element.removeAttribute(\"value\");\n null == checked &&\n null != defaultChecked &&\n (element.defaultChecked = !!defaultChecked);\n null != checked &&\n (element.checked =\n checked && \"function\" !== typeof checked && \"symbol\" !== typeof checked);\n null != name &&\n \"function\" !== typeof name &&\n \"symbol\" !== typeof name &&\n \"boolean\" !== typeof name\n ? (element.name = \"\" + getToStringValue(name))\n : element.removeAttribute(\"name\");\n}\nfunction initInput(\n element,\n value,\n defaultValue,\n checked,\n defaultChecked,\n type,\n name,\n isHydrating\n) {\n null != type &&\n \"function\" !== typeof type &&\n \"symbol\" !== typeof type &&\n \"boolean\" !== typeof type &&\n (element.type = type);\n if (null != value || null != defaultValue) {\n if (\n !(\n (\"submit\" !== type && \"reset\" !== type) ||\n (void 0 !== value && null !== value)\n )\n ) {\n track(element);\n return;\n }\n defaultValue =\n null != defaultValue ? \"\" + getToStringValue(defaultValue) : \"\";\n value = null != value ? \"\" + getToStringValue(value) : defaultValue;\n isHydrating || value === element.value || (element.value = value);\n element.defaultValue = value;\n }\n checked = null != checked ? checked : defaultChecked;\n checked =\n \"function\" !== typeof checked && \"symbol\" !== typeof checked && !!checked;\n element.checked = isHydrating ? element.checked : !!checked;\n element.defaultChecked = !!checked;\n null != name &&\n \"function\" !== typeof name &&\n \"symbol\" !== typeof name &&\n \"boolean\" !== typeof name &&\n (element.name = name);\n track(element);\n}\nfunction setDefaultValue(node, type, value) {\n (\"number\" === type && getActiveElement(node.ownerDocument) === node) ||\n node.defaultValue === \"\" + value ||\n (node.defaultValue = \"\" + value);\n}\nfunction updateOptions(node, multiple, propValue, setDefaultSelected) {\n node = node.options;\n if (multiple) {\n multiple = {};\n for (var i = 0; i < propValue.length; i++)\n multiple[\"$\" + propValue[i]] = !0;\n for (propValue = 0; propValue < node.length; propValue++)\n (i = multiple.hasOwnProperty(\"$\" + node[propValue].value)),\n node[propValue].selected !== i && (node[propValue].selected = i),\n i && setDefaultSelected && (node[propValue].defaultSelected = !0);\n } else {\n propValue = \"\" + getToStringValue(propValue);\n multiple = null;\n for (i = 0; i < node.length; i++) {\n if (node[i].value === propValue) {\n node[i].selected = !0;\n setDefaultSelected && (node[i].defaultSelected = !0);\n return;\n }\n null !== multiple || node[i].disabled || (multiple = node[i]);\n }\n null !== multiple && (multiple.selected = !0);\n }\n}\nfunction updateTextarea(element, value, defaultValue) {\n if (\n null != value &&\n ((value = \"\" + getToStringValue(value)),\n value !== element.value && (element.value = value),\n null == defaultValue)\n ) {\n element.defaultValue !== value && (element.defaultValue = value);\n return;\n }\n element.defaultValue =\n null != defaultValue ? \"\" + getToStringValue(defaultValue) : \"\";\n}\nfunction initTextarea(element, value, defaultValue, children) {\n if (null == value) {\n if (null != children) {\n if (null != defaultValue) throw Error(formatProdErrorMessage(92));\n if (isArrayImpl(children)) {\n if (1 < children.length) throw Error(formatProdErrorMessage(93));\n children = children[0];\n }\n defaultValue = children;\n }\n null == defaultValue && (defaultValue = \"\");\n value = defaultValue;\n }\n defaultValue = getToStringValue(value);\n element.defaultValue = defaultValue;\n children = element.textContent;\n children === defaultValue &&\n \"\" !== children &&\n null !== children &&\n (element.value = children);\n track(element);\n}\nfunction setTextContent(node, text) {\n if (text) {\n var firstChild = node.firstChild;\n if (\n firstChild &&\n firstChild === node.lastChild &&\n 3 === firstChild.nodeType\n ) {\n firstChild.nodeValue = text;\n return;\n }\n }\n node.textContent = text;\n}\nvar unitlessNumbers = new Set(\n \"animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp\".split(\n \" \"\n )\n);\nfunction setValueForStyle(style, styleName, value) {\n var isCustomProperty = 0 === styleName.indexOf(\"--\");\n null == value || \"boolean\" === typeof value || \"\" === value\n ? isCustomProperty\n ? style.setProperty(styleName, \"\")\n : \"float\" === styleName\n ? (style.cssFloat = \"\")\n : (style[styleName] = \"\")\n : isCustomProperty\n ? style.setProperty(styleName, value)\n : \"number\" !== typeof value ||\n 0 === value ||\n unitlessNumbers.has(styleName)\n ? \"float\" === styleName\n ? (style.cssFloat = value)\n : (style[styleName] = (\"\" + value).trim())\n : (style[styleName] = value + \"px\");\n}\nfunction setValueForStyles(node, styles, prevStyles) {\n if (null != styles && \"object\" !== typeof styles)\n throw Error(formatProdErrorMessage(62));\n node = node.style;\n if (null != prevStyles) {\n for (var styleName in prevStyles)\n !prevStyles.hasOwnProperty(styleName) ||\n (null != styles && styles.hasOwnProperty(styleName)) ||\n (0 === styleName.indexOf(\"--\")\n ? node.setProperty(styleName, \"\")\n : \"float\" === styleName\n ? (node.cssFloat = \"\")\n : (node[styleName] = \"\"),\n (viewTransitionMutationContext = !0));\n for (var styleName$16 in styles)\n (styleName = styles[styleName$16]),\n styles.hasOwnProperty(styleName$16) &&\n prevStyles[styleName$16] !== styleName &&\n (setValueForStyle(node, styleName$16, styleName),\n (viewTransitionMutationContext = !0));\n } else\n for (var styleName$17 in styles)\n styles.hasOwnProperty(styleName$17) &&\n setValueForStyle(node, styleName$17, styles[styleName$17]);\n}\nfunction isCustomElement(tagName) {\n if (-1 === tagName.indexOf(\"-\")) return !1;\n switch (tagName) {\n case \"annotation-xml\":\n case \"color-profile\":\n case \"font-face\":\n case \"font-face-src\":\n case \"font-face-uri\":\n case \"font-face-format\":\n case \"font-face-name\":\n case \"missing-glyph\":\n return !1;\n default:\n return !0;\n }\n}\nvar aliases = new Map([\n [\"acceptCharset\", \"accept-charset\"],\n [\"htmlFor\", \"for\"],\n [\"httpEquiv\", \"http-equiv\"],\n [\"crossOrigin\", \"crossorigin\"],\n [\"accentHeight\", \"accent-height\"],\n [\"alignmentBaseline\", \"alignment-baseline\"],\n [\"arabicForm\", \"arabic-form\"],\n [\"baselineShift\", \"baseline-shift\"],\n [\"capHeight\", \"cap-height\"],\n [\"clipPath\", \"clip-path\"],\n [\"clipRule\", \"clip-rule\"],\n [\"colorInterpolation\", \"color-interpolation\"],\n [\"colorInterpolationFilters\", \"color-interpolation-filters\"],\n [\"colorProfile\", \"color-profile\"],\n [\"colorRendering\", \"color-rendering\"],\n [\"dominantBaseline\", \"dominant-baseline\"],\n [\"enableBackground\", \"enable-background\"],\n [\"fillOpacity\", \"fill-opacity\"],\n [\"fillRule\", \"fill-rule\"],\n [\"floodColor\", \"flood-color\"],\n [\"floodOpacity\", \"flood-opacity\"],\n [\"fontFamily\", \"font-family\"],\n [\"fontSize\", \"font-size\"],\n [\"fontSizeAdjust\", \"font-size-adjust\"],\n [\"fontStretch\", \"font-stretch\"],\n [\"fontStyle\", \"font-style\"],\n [\"fontVariant\", \"font-variant\"],\n [\"fontWeight\", \"font-weight\"],\n [\"glyphName\", \"glyph-name\"],\n [\"glyphOrientationHorizontal\", \"glyph-orientation-horizontal\"],\n [\"glyphOrientationVertical\", \"glyph-orientation-vertical\"],\n [\"horizAdvX\", \"horiz-adv-x\"],\n [\"horizOriginX\", \"horiz-origin-x\"],\n [\"imageRendering\", \"image-rendering\"],\n [\"letterSpacing\", \"letter-spacing\"],\n [\"lightingColor\", \"lighting-color\"],\n [\"markerEnd\", \"marker-end\"],\n [\"markerMid\", \"marker-mid\"],\n [\"markerStart\", \"marker-start\"],\n [\"overlinePosition\", \"overline-position\"],\n [\"overlineThickness\", \"overline-thickness\"],\n [\"paintOrder\", \"paint-order\"],\n [\"panose-1\", \"panose-1\"],\n [\"pointerEvents\", \"pointer-events\"],\n [\"renderingIntent\", \"rendering-intent\"],\n [\"shapeRendering\", \"shape-rendering\"],\n [\"stopColor\", \"stop-color\"],\n [\"stopOpacity\", \"stop-opacity\"],\n [\"strikethroughPosition\", \"strikethrough-position\"],\n [\"strikethroughThickness\", \"strikethrough-thickness\"],\n [\"strokeDasharray\", \"stroke-dasharray\"],\n [\"strokeDashoffset\", \"stroke-dashoffset\"],\n [\"strokeLinecap\", \"stroke-linecap\"],\n [\"strokeLinejoin\", \"stroke-linejoin\"],\n [\"strokeMiterlimit\", \"stroke-miterlimit\"],\n [\"strokeOpacity\", \"stroke-opacity\"],\n [\"strokeWidth\", \"stroke-width\"],\n [\"textAnchor\", \"text-anchor\"],\n [\"textDecoration\", \"text-decoration\"],\n [\"textRendering\", \"text-rendering\"],\n [\"transformOrigin\", \"transform-origin\"],\n [\"underlinePosition\", \"underline-position\"],\n [\"underlineThickness\", \"underline-thickness\"],\n [\"unicodeBidi\", \"unicode-bidi\"],\n [\"unicodeRange\", \"unicode-range\"],\n [\"unitsPerEm\", \"units-per-em\"],\n [\"vAlphabetic\", \"v-alphabetic\"],\n [\"vHanging\", \"v-hanging\"],\n [\"vIdeographic\", \"v-ideographic\"],\n [\"vMathematical\", \"v-mathematical\"],\n [\"vectorEffect\", \"vector-effect\"],\n [\"vertAdvY\", \"vert-adv-y\"],\n [\"vertOriginX\", \"vert-origin-x\"],\n [\"vertOriginY\", \"vert-origin-y\"],\n [\"wordSpacing\", \"word-spacing\"],\n [\"writingMode\", \"writing-mode\"],\n [\"xmlnsXlink\", \"xmlns:xlink\"],\n [\"xHeight\", \"x-height\"]\n ]),\n isJavaScriptProtocol =\n /^[\\u0000-\\u001F ]*j[\\r\\n\\t]*a[\\r\\n\\t]*v[\\r\\n\\t]*a[\\r\\n\\t]*s[\\r\\n\\t]*c[\\r\\n\\t]*r[\\r\\n\\t]*i[\\r\\n\\t]*p[\\r\\n\\t]*t[\\r\\n\\t]*:/i;\nfunction sanitizeURL(url) {\n return isJavaScriptProtocol.test(\"\" + url)\n ? \"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')\"\n : url;\n}\nfunction noop$1() {}\nvar currentReplayingEvent = null;\nfunction getEventTarget(nativeEvent) {\n nativeEvent = nativeEvent.target || nativeEvent.srcElement || window;\n nativeEvent.correspondingUseElement &&\n (nativeEvent = nativeEvent.correspondingUseElement);\n return 3 === nativeEvent.nodeType ? nativeEvent.parentNode : nativeEvent;\n}\nvar restoreTarget = null,\n restoreQueue = null;\nfunction restoreStateOfTarget(target) {\n var internalInstance = getInstanceFromNode(target);\n if (internalInstance && (target = internalInstance.stateNode)) {\n var props = target[internalPropsKey] || null;\n a: switch (((target = internalInstance.stateNode), internalInstance.type)) {\n case \"input\":\n updateInput(\n target,\n props.value,\n props.defaultValue,\n props.defaultValue,\n props.checked,\n props.defaultChecked,\n props.type,\n props.name\n );\n internalInstance = props.name;\n if (\"radio\" === props.type && null != internalInstance) {\n for (props = target; props.parentNode; ) props = props.parentNode;\n props = props.querySelectorAll(\n 'input[name=\"' +\n escapeSelectorAttributeValueInsideDoubleQuotes(\n \"\" + internalInstance\n ) +\n '\"][type=\"radio\"]'\n );\n for (\n internalInstance = 0;\n internalInstance < props.length;\n internalInstance++\n ) {\n var otherNode = props[internalInstance];\n if (otherNode !== target && otherNode.form === target.form) {\n var otherProps = otherNode[internalPropsKey] || null;\n if (!otherProps) throw Error(formatProdErrorMessage(90));\n updateInput(\n otherNode,\n otherProps.value,\n otherProps.defaultValue,\n otherProps.defaultValue,\n otherProps.checked,\n otherProps.defaultChecked,\n otherProps.type,\n otherProps.name\n );\n }\n }\n for (\n internalInstance = 0;\n internalInstance < props.length;\n internalInstance++\n )\n (otherNode = props[internalInstance]),\n otherNode.form === target.form && updateValueIfChanged(otherNode);\n }\n break a;\n case \"textarea\":\n updateTextarea(target, props.value, props.defaultValue);\n break a;\n case \"select\":\n (internalInstance = props.value),\n null != internalInstance &&\n updateOptions(target, !!props.multiple, internalInstance, !1);\n }\n }\n}\nvar isInsideEventHandler = !1;\nfunction batchedUpdates$1(fn, a, b) {\n if (isInsideEventHandler) return fn(a, b);\n isInsideEventHandler = !0;\n try {\n var JSCompiler_inline_result = fn(a);\n return JSCompiler_inline_result;\n } finally {\n if (\n ((isInsideEventHandler = !1),\n null !== restoreTarget || null !== restoreQueue)\n )\n if (\n (flushSyncWork$1(),\n restoreTarget &&\n ((a = restoreTarget),\n (fn = restoreQueue),\n (restoreQueue = restoreTarget = null),\n restoreStateOfTarget(a),\n fn))\n )\n for (a = 0; a < fn.length; a++) restoreStateOfTarget(fn[a]);\n }\n}\nfunction getListener(inst, registrationName) {\n var stateNode = inst.stateNode;\n if (null === stateNode) return null;\n var props = stateNode[internalPropsKey] || null;\n if (null === props) return null;\n stateNode = props[registrationName];\n a: switch (registrationName) {\n case \"onClick\":\n case \"onClickCapture\":\n case \"onDoubleClick\":\n case \"onDoubleClickCapture\":\n case \"onMouseDown\":\n case \"onMouseDownCapture\":\n case \"onMouseMove\":\n case \"onMouseMoveCapture\":\n case \"onMouseUp\":\n case \"onMouseUpCapture\":\n case \"onMouseEnter\":\n (props = !props.disabled) ||\n ((inst = inst.type),\n (props = !(\n \"button\" === inst ||\n \"input\" === inst ||\n \"select\" === inst ||\n \"textarea\" === inst\n )));\n inst = !props;\n break a;\n default:\n inst = !1;\n }\n if (inst) return null;\n if (stateNode && \"function\" !== typeof stateNode)\n throw Error(\n formatProdErrorMessage(231, registrationName, typeof stateNode)\n );\n return stateNode;\n}\nvar canUseDOM = !(\n \"undefined\" === typeof window ||\n \"undefined\" === typeof window.document ||\n \"undefined\" === typeof window.document.createElement\n ),\n passiveBrowserEventsSupported = !1;\nif (canUseDOM)\n try {\n var options = {};\n Object.defineProperty(options, \"passive\", {\n get: function () {\n passiveBrowserEventsSupported = !0;\n }\n });\n window.addEventListener(\"test\", options, options);\n window.removeEventListener(\"test\", options, options);\n } catch (e) {\n passiveBrowserEventsSupported = !1;\n }\nvar root = null,\n startText = null,\n fallbackText = null;\nfunction getData() {\n if (fallbackText) return fallbackText;\n var start,\n startValue = startText,\n startLength = startValue.length,\n end,\n endValue = \"value\" in root ? root.value : root.textContent,\n endLength = endValue.length;\n for (\n start = 0;\n start < startLength && startValue[start] === endValue[start];\n start++\n );\n var minEnd = startLength - start;\n for (\n end = 1;\n end <= minEnd &&\n startValue[startLength - end] === endValue[endLength - end];\n end++\n );\n return (fallbackText = endValue.slice(start, 1 < end ? 1 - end : void 0));\n}\nfunction getEventCharCode(nativeEvent) {\n var keyCode = nativeEvent.keyCode;\n \"charCode\" in nativeEvent\n ? ((nativeEvent = nativeEvent.charCode),\n 0 === nativeEvent && 13 === keyCode && (nativeEvent = 13))\n : (nativeEvent = keyCode);\n 10 === nativeEvent && (nativeEvent = 13);\n return 32 <= nativeEvent || 13 === nativeEvent ? nativeEvent : 0;\n}\nfunction functionThatReturnsTrue() {\n return !0;\n}\nfunction functionThatReturnsFalse() {\n return !1;\n}\nfunction createSyntheticEvent(Interface) {\n function SyntheticBaseEvent(\n reactName,\n reactEventType,\n targetInst,\n nativeEvent,\n nativeEventTarget\n ) {\n this._reactName = reactName;\n this._targetInst = targetInst;\n this.type = reactEventType;\n this.nativeEvent = nativeEvent;\n this.target = nativeEventTarget;\n this.currentTarget = null;\n for (var propName in Interface)\n Interface.hasOwnProperty(propName) &&\n ((reactName = Interface[propName]),\n (this[propName] = reactName\n ? reactName(nativeEvent)\n : nativeEvent[propName]));\n this.isDefaultPrevented = (\n null != nativeEvent.defaultPrevented\n ? nativeEvent.defaultPrevented\n : !1 === nativeEvent.returnValue\n )\n ? functionThatReturnsTrue\n : functionThatReturnsFalse;\n this.isPropagationStopped = functionThatReturnsFalse;\n return this;\n }\n assign(SyntheticBaseEvent.prototype, {\n preventDefault: function () {\n this.defaultPrevented = !0;\n var event = this.nativeEvent;\n event &&\n (event.preventDefault\n ? event.preventDefault()\n : \"unknown\" !== typeof event.returnValue && (event.returnValue = !1),\n (this.isDefaultPrevented = functionThatReturnsTrue));\n },\n stopPropagation: function () {\n var event = this.nativeEvent;\n event &&\n (event.stopPropagation\n ? event.stopPropagation()\n : \"unknown\" !== typeof event.cancelBubble &&\n (event.cancelBubble = !0),\n (this.isPropagationStopped = functionThatReturnsTrue));\n },\n persist: function () {},\n isPersistent: functionThatReturnsTrue\n });\n return SyntheticBaseEvent;\n}\nvar EventInterface = {\n eventPhase: 0,\n bubbles: 0,\n cancelable: 0,\n timeStamp: function (event) {\n return event.timeStamp || Date.now();\n },\n defaultPrevented: 0,\n isTrusted: 0\n },\n SyntheticEvent = createSyntheticEvent(EventInterface),\n UIEventInterface = assign({}, EventInterface, { view: 0, detail: 0 }),\n SyntheticUIEvent = createSyntheticEvent(UIEventInterface),\n lastMovementX,\n lastMovementY,\n lastMouseEvent,\n MouseEventInterface = assign({}, UIEventInterface, {\n screenX: 0,\n screenY: 0,\n clientX: 0,\n clientY: 0,\n pageX: 0,\n pageY: 0,\n ctrlKey: 0,\n shiftKey: 0,\n altKey: 0,\n metaKey: 0,\n getModifierState: getEventModifierState,\n button: 0,\n buttons: 0,\n relatedTarget: function (event) {\n return void 0 === event.relatedTarget\n ? event.fromElement === event.srcElement\n ? event.toElement\n : event.fromElement\n : event.relatedTarget;\n },\n movementX: function (event) {\n if (\"movementX\" in event) return event.movementX;\n event !== lastMouseEvent &&\n (lastMouseEvent && \"mousemove\" === event.type\n ? ((lastMovementX = event.screenX - lastMouseEvent.screenX),\n (lastMovementY = event.screenY - lastMouseEvent.screenY))\n : (lastMovementY = lastMovementX = 0),\n (lastMouseEvent = event));\n return lastMovementX;\n },\n movementY: function (event) {\n return \"movementY\" in event ? event.movementY : lastMovementY;\n }\n }),\n SyntheticMouseEvent = createSyntheticEvent(MouseEventInterface),\n DragEventInterface = assign({}, MouseEventInterface, { dataTransfer: 0 }),\n SyntheticDragEvent = createSyntheticEvent(DragEventInterface),\n FocusEventInterface = assign({}, UIEventInterface, { relatedTarget: 0 }),\n SyntheticFocusEvent = createSyntheticEvent(FocusEventInterface),\n AnimationEventInterface = assign({}, EventInterface, {\n animationName: 0,\n elapsedTime: 0,\n pseudoElement: 0\n }),\n SyntheticAnimationEvent = createSyntheticEvent(AnimationEventInterface),\n ClipboardEventInterface = assign({}, EventInterface, {\n clipboardData: function (event) {\n return \"clipboardData\" in event\n ? event.clipboardData\n : window.clipboardData;\n }\n }),\n SyntheticClipboardEvent = createSyntheticEvent(ClipboardEventInterface),\n CompositionEventInterface = assign({}, EventInterface, { data: 0 }),\n SyntheticCompositionEvent = createSyntheticEvent(CompositionEventInterface),\n normalizeKey = {\n Esc: \"Escape\",\n Spacebar: \" \",\n Left: \"ArrowLeft\",\n Up: \"ArrowUp\",\n Right: \"ArrowRight\",\n Down: \"ArrowDown\",\n Del: \"Delete\",\n Win: \"OS\",\n Menu: \"ContextMenu\",\n Apps: \"ContextMenu\",\n Scroll: \"ScrollLock\",\n MozPrintableKey: \"Unidentified\"\n },\n translateToKey = {\n 8: \"Backspace\",\n 9: \"Tab\",\n 12: \"Clear\",\n 13: \"Enter\",\n 16: \"Shift\",\n 17: \"Control\",\n 18: \"Alt\",\n 19: \"Pause\",\n 20: \"CapsLock\",\n 27: \"Escape\",\n 32: \" \",\n 33: \"PageUp\",\n 34: \"PageDown\",\n 35: \"End\",\n 36: \"Home\",\n 37: \"ArrowLeft\",\n 38: \"ArrowUp\",\n 39: \"ArrowRight\",\n 40: \"ArrowDown\",\n 45: \"Insert\",\n 46: \"Delete\",\n 112: \"F1\",\n 113: \"F2\",\n 114: \"F3\",\n 115: \"F4\",\n 116: \"F5\",\n 117: \"F6\",\n 118: \"F7\",\n 119: \"F8\",\n 120: \"F9\",\n 121: \"F10\",\n 122: \"F11\",\n 123: \"F12\",\n 144: \"NumLock\",\n 145: \"ScrollLock\",\n 224: \"Meta\"\n },\n modifierKeyToProp = {\n Alt: \"altKey\",\n Control: \"ctrlKey\",\n Meta: \"metaKey\",\n Shift: \"shiftKey\"\n };\nfunction modifierStateGetter(keyArg) {\n var nativeEvent = this.nativeEvent;\n return nativeEvent.getModifierState\n ? nativeEvent.getModifierState(keyArg)\n : (keyArg = modifierKeyToProp[keyArg])\n ? !!nativeEvent[keyArg]\n : !1;\n}\nfunction getEventModifierState() {\n return modifierStateGetter;\n}\nvar KeyboardEventInterface = assign({}, UIEventInterface, {\n key: function (nativeEvent) {\n if (nativeEvent.key) {\n var key = normalizeKey[nativeEvent.key] || nativeEvent.key;\n if (\"Unidentified\" !== key) return key;\n }\n return \"keypress\" === nativeEvent.type\n ? ((nativeEvent = getEventCharCode(nativeEvent)),\n 13 === nativeEvent ? \"Enter\" : String.fromCharCode(nativeEvent))\n : \"keydown\" === nativeEvent.type || \"keyup\" === nativeEvent.type\n ? translateToKey[nativeEvent.keyCode] || \"Unidentified\"\n : \"\";\n },\n code: 0,\n location: 0,\n ctrlKey: 0,\n shiftKey: 0,\n altKey: 0,\n metaKey: 0,\n repeat: 0,\n locale: 0,\n getModifierState: getEventModifierState,\n charCode: function (event) {\n return \"keypress\" === event.type ? getEventCharCode(event) : 0;\n },\n keyCode: function (event) {\n return \"keydown\" === event.type || \"keyup\" === event.type\n ? event.keyCode\n : 0;\n },\n which: function (event) {\n return \"keypress\" === event.type\n ? getEventCharCode(event)\n : \"keydown\" === event.type || \"keyup\" === event.type\n ? event.keyCode\n : 0;\n }\n }),\n SyntheticKeyboardEvent = createSyntheticEvent(KeyboardEventInterface),\n PointerEventInterface = assign({}, MouseEventInterface, {\n pointerId: 0,\n width: 0,\n height: 0,\n pressure: 0,\n tangentialPressure: 0,\n tiltX: 0,\n tiltY: 0,\n twist: 0,\n pointerType: 0,\n isPrimary: 0\n }),\n SyntheticPointerEvent = createSyntheticEvent(PointerEventInterface),\n TouchEventInterface = assign({}, UIEventInterface, {\n touches: 0,\n targetTouches: 0,\n changedTouches: 0,\n altKey: 0,\n metaKey: 0,\n ctrlKey: 0,\n shiftKey: 0,\n getModifierState: getEventModifierState\n }),\n SyntheticTouchEvent = createSyntheticEvent(TouchEventInterface),\n TransitionEventInterface = assign({}, EventInterface, {\n propertyName: 0,\n elapsedTime: 0,\n pseudoElement: 0\n }),\n SyntheticTransitionEvent = createSyntheticEvent(TransitionEventInterface),\n WheelEventInterface = assign({}, MouseEventInterface, {\n deltaX: function (event) {\n return \"deltaX\" in event\n ? event.deltaX\n : \"wheelDeltaX\" in event\n ? -event.wheelDeltaX\n : 0;\n },\n deltaY: function (event) {\n return \"deltaY\" in event\n ? event.deltaY\n : \"wheelDeltaY\" in event\n ? -event.wheelDeltaY\n : \"wheelDelta\" in event\n ? -event.wheelDelta\n : 0;\n },\n deltaZ: 0,\n deltaMode: 0\n }),\n SyntheticWheelEvent = createSyntheticEvent(WheelEventInterface),\n ToggleEventInterface = assign({}, EventInterface, {\n newState: 0,\n oldState: 0\n }),\n SyntheticToggleEvent = createSyntheticEvent(ToggleEventInterface),\n END_KEYCODES = [9, 13, 27, 32],\n canUseCompositionEvent = canUseDOM && \"CompositionEvent\" in window,\n documentMode = null;\ncanUseDOM &&\n \"documentMode\" in document &&\n (documentMode = document.documentMode);\nvar canUseTextInputEvent = canUseDOM && \"TextEvent\" in window && !documentMode,\n useFallbackCompositionData =\n canUseDOM &&\n (!canUseCompositionEvent ||\n (documentMode && 8 < documentMode && 11 >= documentMode)),\n SPACEBAR_CHAR = String.fromCharCode(32),\n hasSpaceKeypress = !1;\nfunction isFallbackCompositionEnd(domEventName, nativeEvent) {\n switch (domEventName) {\n case \"keyup\":\n return -1 !== END_KEYCODES.indexOf(nativeEvent.keyCode);\n case \"keydown\":\n return 229 !== nativeEvent.keyCode;\n case \"keypress\":\n case \"mousedown\":\n case \"focusout\":\n return !0;\n default:\n return !1;\n }\n}\nfunction getDataFromCustomEvent(nativeEvent) {\n nativeEvent = nativeEvent.detail;\n return \"object\" === typeof nativeEvent && \"data\" in nativeEvent\n ? nativeEvent.data\n : null;\n}\nvar isComposing = !1;\nfunction getNativeBeforeInputChars(domEventName, nativeEvent) {\n switch (domEventName) {\n case \"compositionend\":\n return getDataFromCustomEvent(nativeEvent);\n case \"keypress\":\n if (32 !== nativeEvent.which) return null;\n hasSpaceKeypress = !0;\n return SPACEBAR_CHAR;\n case \"textInput\":\n return (\n (domEventName = nativeEvent.data),\n domEventName === SPACEBAR_CHAR && hasSpaceKeypress ? null : domEventName\n );\n default:\n return null;\n }\n}\nfunction getFallbackBeforeInputChars(domEventName, nativeEvent) {\n if (isComposing)\n return \"compositionend\" === domEventName ||\n (!canUseCompositionEvent &&\n isFallbackCompositionEnd(domEventName, nativeEvent))\n ? ((domEventName = getData()),\n (fallbackText = startText = root = null),\n (isComposing = !1),\n domEventName)\n : null;\n switch (domEventName) {\n case \"paste\":\n return null;\n case \"keypress\":\n if (\n !(nativeEvent.ctrlKey || nativeEvent.altKey || nativeEvent.metaKey) ||\n (nativeEvent.ctrlKey && nativeEvent.altKey)\n ) {\n if (nativeEvent.char && 1 < nativeEvent.char.length)\n return nativeEvent.char;\n if (nativeEvent.which) return String.fromCharCode(nativeEvent.which);\n }\n return null;\n case \"compositionend\":\n return useFallbackCompositionData && \"ko\" !== nativeEvent.locale\n ? null\n : nativeEvent.data;\n default:\n return null;\n }\n}\nvar supportedInputTypes = {\n color: !0,\n date: !0,\n datetime: !0,\n \"datetime-local\": !0,\n email: !0,\n month: !0,\n number: !0,\n password: !0,\n range: !0,\n search: !0,\n tel: !0,\n text: !0,\n time: !0,\n url: !0,\n week: !0\n};\nfunction isTextInputElement(elem) {\n var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();\n return \"input\" === nodeName\n ? !!supportedInputTypes[elem.type]\n : \"textarea\" === nodeName\n ? !0\n : !1;\n}\nfunction createAndAccumulateChangeEvent(\n dispatchQueue,\n inst,\n nativeEvent,\n target\n) {\n restoreTarget\n ? restoreQueue\n ? restoreQueue.push(target)\n : (restoreQueue = [target])\n : (restoreTarget = target);\n inst = accumulateTwoPhaseListeners(inst, \"onChange\");\n 0 < inst.length &&\n ((nativeEvent = new SyntheticEvent(\n \"onChange\",\n \"change\",\n null,\n nativeEvent,\n target\n )),\n dispatchQueue.push({ event: nativeEvent, listeners: inst }));\n}\nvar activeElement$1 = null,\n activeElementInst$1 = null;\nfunction runEventInBatch(dispatchQueue) {\n processDispatchQueue(dispatchQueue, 0);\n}\nfunction getInstIfValueChanged(targetInst) {\n var targetNode = getNodeFromInstance(targetInst);\n if (updateValueIfChanged(targetNode)) return targetInst;\n}\nfunction getTargetInstForChangeEvent(domEventName, targetInst) {\n if (\"change\" === domEventName) return targetInst;\n}\nvar isInputEventSupported = !1;\nif (canUseDOM) {\n var JSCompiler_inline_result$jscomp$312;\n if (canUseDOM) {\n var isSupported$jscomp$inline_473 = \"oninput\" in document;\n if (!isSupported$jscomp$inline_473) {\n var element$jscomp$inline_474 = document.createElement(\"div\");\n element$jscomp$inline_474.setAttribute(\"oninput\", \"return;\");\n isSupported$jscomp$inline_473 =\n \"function\" === typeof element$jscomp$inline_474.oninput;\n }\n JSCompiler_inline_result$jscomp$312 = isSupported$jscomp$inline_473;\n } else JSCompiler_inline_result$jscomp$312 = !1;\n isInputEventSupported =\n JSCompiler_inline_result$jscomp$312 &&\n (!document.documentMode || 9 < document.documentMode);\n}\nfunction stopWatchingForValueChange() {\n activeElement$1 &&\n (activeElement$1.detachEvent(\"onpropertychange\", handlePropertyChange),\n (activeElementInst$1 = activeElement$1 = null));\n}\nfunction handlePropertyChange(nativeEvent) {\n if (\n \"value\" === nativeEvent.propertyName &&\n getInstIfValueChanged(activeElementInst$1)\n ) {\n var dispatchQueue = [];\n createAndAccumulateChangeEvent(\n dispatchQueue,\n activeElementInst$1,\n nativeEvent,\n getEventTarget(nativeEvent)\n );\n batchedUpdates$1(runEventInBatch, dispatchQueue);\n }\n}\nfunction handleEventsForInputEventPolyfill(domEventName, target, targetInst) {\n \"focusin\" === domEventName\n ? (stopWatchingForValueChange(),\n (activeElement$1 = target),\n (activeElementInst$1 = targetInst),\n activeElement$1.attachEvent(\"onpropertychange\", handlePropertyChange))\n : \"focusout\" === domEventName && stopWatchingForValueChange();\n}\nfunction getTargetInstForInputEventPolyfill(domEventName) {\n if (\n \"selectionchange\" === domEventName ||\n \"keyup\" === domEventName ||\n \"keydown\" === domEventName\n )\n return getInstIfValueChanged(activeElementInst$1);\n}\nfunction getTargetInstForClickEvent(domEventName, targetInst) {\n if (\"click\" === domEventName) return getInstIfValueChanged(targetInst);\n}\nfunction getTargetInstForInputOrChangeEvent(domEventName, targetInst) {\n if (\"input\" === domEventName || \"change\" === domEventName)\n return getInstIfValueChanged(targetInst);\n}\nfunction is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n}\nvar objectIs = \"function\" === typeof Object.is ? Object.is : is;\nfunction shallowEqual(objA, objB) {\n if (objectIs(objA, objB)) return !0;\n if (\n \"object\" !== typeof objA ||\n null === objA ||\n \"object\" !== typeof objB ||\n null === objB\n )\n return !1;\n var keysA = Object.keys(objA),\n keysB = Object.keys(objB);\n if (keysA.length !== keysB.length) return !1;\n for (keysB = 0; keysB < keysA.length; keysB++) {\n var currentKey = keysA[keysB];\n if (\n !hasOwnProperty.call(objB, currentKey) ||\n !objectIs(objA[currentKey], objB[currentKey])\n )\n return !1;\n }\n return !0;\n}\nfunction getLeafNode(node) {\n for (; node && node.firstChild; ) node = node.firstChild;\n return node;\n}\nfunction getNodeForCharacterOffset(root, offset) {\n var node = getLeafNode(root);\n root = 0;\n for (var nodeEnd; node; ) {\n if (3 === node.nodeType) {\n nodeEnd = root + node.textContent.length;\n if (root <= offset && nodeEnd >= offset)\n return { node: node, offset: offset - root };\n root = nodeEnd;\n }\n a: {\n for (; node; ) {\n if (node.nextSibling) {\n node = node.nextSibling;\n break a;\n }\n node = node.parentNode;\n }\n node = void 0;\n }\n node = getLeafNode(node);\n }\n}\nfunction containsNode(outerNode, innerNode) {\n return outerNode && innerNode\n ? outerNode === innerNode\n ? !0\n : outerNode && 3 === outerNode.nodeType\n ? !1\n : innerNode && 3 === innerNode.nodeType\n ? containsNode(outerNode, innerNode.parentNode)\n : \"contains\" in outerNode\n ? outerNode.contains(innerNode)\n : outerNode.compareDocumentPosition\n ? !!(outerNode.compareDocumentPosition(innerNode) & 16)\n : !1\n : !1;\n}\nfunction getActiveElementDeep(containerInfo) {\n containerInfo =\n null != containerInfo &&\n null != containerInfo.ownerDocument &&\n null != containerInfo.ownerDocument.defaultView\n ? containerInfo.ownerDocument.defaultView\n : window;\n for (\n var element = getActiveElement(containerInfo.document);\n element instanceof containerInfo.HTMLIFrameElement;\n\n ) {\n try {\n var JSCompiler_inline_result =\n \"string\" === typeof element.contentWindow.location.href;\n } catch (err) {\n JSCompiler_inline_result = !1;\n }\n if (JSCompiler_inline_result) containerInfo = element.contentWindow;\n else break;\n element = getActiveElement(containerInfo.document);\n }\n return element;\n}\nfunction hasSelectionCapabilities(elem) {\n var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();\n return (\n nodeName &&\n ((\"input\" === nodeName &&\n (\"text\" === elem.type ||\n \"search\" === elem.type ||\n \"tel\" === elem.type ||\n \"url\" === elem.type ||\n \"password\" === elem.type)) ||\n \"textarea\" === nodeName ||\n \"true\" === elem.contentEditable)\n );\n}\nvar skipSelectionChangeEvent =\n canUseDOM && \"documentMode\" in document && 11 >= document.documentMode,\n activeElement = null,\n activeElementInst = null,\n lastSelection = null,\n mouseDown = !1;\nfunction constructSelectEvent(dispatchQueue, nativeEvent, nativeEventTarget) {\n var doc =\n nativeEventTarget.window === nativeEventTarget\n ? nativeEventTarget.document\n : 9 === nativeEventTarget.nodeType\n ? nativeEventTarget\n : nativeEventTarget.ownerDocument;\n mouseDown ||\n null == activeElement ||\n activeElement !== getActiveElement(doc) ||\n ((doc = activeElement),\n \"selectionStart\" in doc && hasSelectionCapabilities(doc)\n ? (doc = { start: doc.selectionStart, end: doc.selectionEnd })\n : ((doc = (\n (doc.ownerDocument && doc.ownerDocument.defaultView) ||\n window\n ).getSelection()),\n (doc = {\n anchorNode: doc.anchorNode,\n anchorOffset: doc.anchorOffset,\n focusNode: doc.focusNode,\n focusOffset: doc.focusOffset\n })),\n (lastSelection && shallowEqual(lastSelection, doc)) ||\n ((lastSelection = doc),\n (doc = accumulateTwoPhaseListeners(activeElementInst, \"onSelect\")),\n 0 < doc.length &&\n ((nativeEvent = new SyntheticEvent(\n \"onSelect\",\n \"select\",\n null,\n nativeEvent,\n nativeEventTarget\n )),\n dispatchQueue.push({ event: nativeEvent, listeners: doc }),\n (nativeEvent.target = activeElement))));\n}\nfunction makePrefixMap(styleProp, eventName) {\n var prefixes = {};\n prefixes[styleProp.toLowerCase()] = eventName.toLowerCase();\n prefixes[\"Webkit\" + styleProp] = \"webkit\" + eventName;\n prefixes[\"Moz\" + styleProp] = \"moz\" + eventName;\n return prefixes;\n}\nvar vendorPrefixes = {\n animationend: makePrefixMap(\"Animation\", \"AnimationEnd\"),\n animationiteration: makePrefixMap(\"Animation\", \"AnimationIteration\"),\n animationstart: makePrefixMap(\"Animation\", \"AnimationStart\"),\n transitionrun: makePrefixMap(\"Transition\", \"TransitionRun\"),\n transitionstart: makePrefixMap(\"Transition\", \"TransitionStart\"),\n transitioncancel: makePrefixMap(\"Transition\", \"TransitionCancel\"),\n transitionend: makePrefixMap(\"Transition\", \"TransitionEnd\")\n },\n prefixedEventNames = {},\n style = {};\ncanUseDOM &&\n ((style = document.createElement(\"div\").style),\n \"AnimationEvent\" in window ||\n (delete vendorPrefixes.animationend.animation,\n delete vendorPrefixes.animationiteration.animation,\n delete vendorPrefixes.animationstart.animation),\n \"TransitionEvent\" in window ||\n delete vendorPrefixes.transitionend.transition);\nfunction getVendorPrefixedEventName(eventName) {\n if (prefixedEventNames[eventName]) return prefixedEventNames[eventName];\n if (!vendorPrefixes[eventName]) return eventName;\n var prefixMap = vendorPrefixes[eventName],\n styleProp;\n for (styleProp in prefixMap)\n if (prefixMap.hasOwnProperty(styleProp) && styleProp in style)\n return (prefixedEventNames[eventName] = prefixMap[styleProp]);\n return eventName;\n}\nvar ANIMATION_END = getVendorPrefixedEventName(\"animationend\"),\n ANIMATION_ITERATION = getVendorPrefixedEventName(\"animationiteration\"),\n ANIMATION_START = getVendorPrefixedEventName(\"animationstart\"),\n TRANSITION_RUN = getVendorPrefixedEventName(\"transitionrun\"),\n TRANSITION_START = getVendorPrefixedEventName(\"transitionstart\"),\n TRANSITION_CANCEL = getVendorPrefixedEventName(\"transitioncancel\"),\n TRANSITION_END = getVendorPrefixedEventName(\"transitionend\"),\n topLevelEventsToReactNames = new Map(),\n simpleEventPluginEvents =\n \"abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel\".split(\n \" \"\n );\nsimpleEventPluginEvents.push(\"scrollEnd\");\nfunction registerSimpleEvent(domEventName, reactName) {\n topLevelEventsToReactNames.set(domEventName, reactName);\n registerTwoPhaseEvent(reactName, [domEventName]);\n}\nvar globalClientIdCounter$1 = 0;\nfunction getViewTransitionName(props, instance) {\n if (null != props.name && \"auto\" !== props.name) return props.name;\n if (null !== instance.autoName) return instance.autoName;\n props = pendingEffectsRoot.identifierPrefix;\n var globalClientId = globalClientIdCounter$1++;\n props = \"_\" + props + \"t_\" + globalClientId.toString(32) + \"_\";\n return (instance.autoName = props);\n}\nfunction getClassNameByType(classByType) {\n if (null == classByType || \"string\" === typeof classByType)\n return classByType;\n var className = null,\n activeTypes = pendingTransitionTypes;\n if (null !== activeTypes)\n for (var i = 0; i < activeTypes.length; i++) {\n var match = classByType[activeTypes[i]];\n if (null != match) {\n if (\"none\" === match) return \"none\";\n className = null == className ? match : className + (\" \" + match);\n }\n }\n return null == className ? classByType.default : className;\n}\nfunction getViewTransitionClassName(defaultClass, eventClass) {\n defaultClass = getClassNameByType(defaultClass);\n eventClass = getClassNameByType(eventClass);\n return null == eventClass\n ? \"auto\" === defaultClass\n ? null\n : defaultClass\n : \"auto\" === eventClass\n ? null\n : eventClass;\n}\nvar reportGlobalError =\n \"function\" === typeof reportError\n ? reportError\n : function (error) {\n if (\n \"object\" === typeof window &&\n \"function\" === typeof window.ErrorEvent\n ) {\n var event = new window.ErrorEvent(\"error\", {\n bubbles: !0,\n cancelable: !0,\n message:\n \"object\" === typeof error &&\n null !== error &&\n \"string\" === typeof error.message\n ? String(error.message)\n : String(error),\n error: error\n });\n if (!window.dispatchEvent(event)) return;\n } else if (\n \"object\" === typeof process &&\n \"function\" === typeof process.emit\n ) {\n process.emit(\"uncaughtException\", error);\n return;\n }\n console.error(error);\n },\n concurrentQueues = [],\n concurrentQueuesIndex = 0,\n concurrentlyUpdatedLanes = 0;\nfunction finishQueueingConcurrentUpdates() {\n for (\n var endIndex = concurrentQueuesIndex,\n i = (concurrentlyUpdatedLanes = concurrentQueuesIndex = 0);\n i < endIndex;\n\n ) {\n var fiber = concurrentQueues[i];\n concurrentQueues[i++] = null;\n var queue = concurrentQueues[i];\n concurrentQueues[i++] = null;\n var update = concurrentQueues[i];\n concurrentQueues[i++] = null;\n var lane = concurrentQueues[i];\n concurrentQueues[i++] = null;\n if (null !== queue && null !== update) {\n var pending = queue.pending;\n null === pending\n ? (update.next = update)\n : ((update.next = pending.next), (pending.next = update));\n queue.pending = update;\n }\n 0 !== lane && markUpdateLaneFromFiberToRoot(fiber, update, lane);\n }\n}\nfunction enqueueUpdate$1(fiber, queue, update, lane) {\n concurrentQueues[concurrentQueuesIndex++] = fiber;\n concurrentQueues[concurrentQueuesIndex++] = queue;\n concurrentQueues[concurrentQueuesIndex++] = update;\n concurrentQueues[concurrentQueuesIndex++] = lane;\n concurrentlyUpdatedLanes |= lane;\n fiber.lanes |= lane;\n fiber = fiber.alternate;\n null !== fiber && (fiber.lanes |= lane);\n}\nfunction enqueueConcurrentHookUpdate(fiber, queue, update, lane) {\n enqueueUpdate$1(fiber, queue, update, lane);\n return getRootForUpdatedFiber(fiber);\n}\nfunction enqueueConcurrentRenderForLane(fiber, lane) {\n enqueueUpdate$1(fiber, null, null, lane);\n return getRootForUpdatedFiber(fiber);\n}\nfunction markUpdateLaneFromFiberToRoot(sourceFiber, update, lane) {\n sourceFiber.lanes |= lane;\n var alternate = sourceFiber.alternate;\n null !== alternate && (alternate.lanes |= lane);\n for (var isHidden = !1, parent = sourceFiber.return; null !== parent; )\n (parent.childLanes |= lane),\n (alternate = parent.alternate),\n null !== alternate && (alternate.childLanes |= lane),\n 22 === parent.tag &&\n ((sourceFiber = parent.stateNode),\n null === sourceFiber || sourceFiber._visibility & 1 || (isHidden = !0)),\n (sourceFiber = parent),\n (parent = parent.return);\n return 3 === sourceFiber.tag\n ? ((parent = sourceFiber.stateNode),\n isHidden &&\n null !== update &&\n ((isHidden = 31 - clz32(lane)),\n (sourceFiber = parent.hiddenUpdates),\n (alternate = sourceFiber[isHidden]),\n null === alternate\n ? (sourceFiber[isHidden] = [update])\n : alternate.push(update),\n (update.lane = lane | 536870912)),\n parent)\n : null;\n}\nfunction getRootForUpdatedFiber(sourceFiber) {\n if (50 < nestedUpdateCount)\n throw (\n ((nestedUpdateCount = 0),\n (rootWithNestedUpdates = null),\n Error(formatProdErrorMessage(185)))\n );\n for (var parent = sourceFiber.return; null !== parent; )\n (sourceFiber = parent), (parent = sourceFiber.return);\n return 3 === sourceFiber.tag ? sourceFiber.stateNode : null;\n}\nvar emptyContextObject = {};\nfunction FiberNode(tag, pendingProps, key, mode) {\n this.tag = tag;\n this.key = key;\n this.sibling =\n this.child =\n this.return =\n this.stateNode =\n this.type =\n this.elementType =\n null;\n this.index = 0;\n this.refCleanup = this.ref = null;\n this.pendingProps = pendingProps;\n this.dependencies =\n this.memoizedState =\n this.updateQueue =\n this.memoizedProps =\n null;\n this.mode = mode;\n this.subtreeFlags = this.flags = 0;\n this.deletions = null;\n this.childLanes = this.lanes = 0;\n this.alternate = null;\n}\nfunction createFiberImplClass(tag, pendingProps, key, mode) {\n return new FiberNode(tag, pendingProps, key, mode);\n}\nfunction shouldConstruct(Component) {\n Component = Component.prototype;\n return !(!Component || !Component.isReactComponent);\n}\nfunction createWorkInProgress(current, pendingProps) {\n var workInProgress = current.alternate;\n null === workInProgress\n ? ((workInProgress = createFiberImplClass(\n current.tag,\n pendingProps,\n current.key,\n current.mode\n )),\n (workInProgress.elementType = current.elementType),\n (workInProgress.type = current.type),\n (workInProgress.stateNode = current.stateNode),\n (workInProgress.alternate = current),\n (current.alternate = workInProgress))\n : ((workInProgress.pendingProps = pendingProps),\n (workInProgress.type = current.type),\n (workInProgress.flags = 0),\n (workInProgress.subtreeFlags = 0),\n (workInProgress.deletions = null));\n workInProgress.flags = current.flags & 132120576;\n workInProgress.childLanes = current.childLanes;\n workInProgress.lanes = current.lanes;\n workInProgress.child = current.child;\n workInProgress.memoizedProps = current.memoizedProps;\n workInProgress.memoizedState = current.memoizedState;\n workInProgress.updateQueue = current.updateQueue;\n pendingProps = current.dependencies;\n workInProgress.dependencies =\n null === pendingProps\n ? null\n : { lanes: pendingProps.lanes, firstContext: pendingProps.firstContext };\n workInProgress.sibling = current.sibling;\n workInProgress.index = current.index;\n workInProgress.ref = current.ref;\n workInProgress.refCleanup = current.refCleanup;\n return workInProgress;\n}\nfunction resetWorkInProgress(workInProgress, renderLanes) {\n workInProgress.flags &= 132120578;\n var current = workInProgress.alternate;\n null === current\n ? ((workInProgress.childLanes = 0),\n (workInProgress.lanes = renderLanes),\n (workInProgress.child = null),\n (workInProgress.subtreeFlags = 0),\n (workInProgress.memoizedProps = null),\n (workInProgress.memoizedState = null),\n (workInProgress.updateQueue = null),\n (workInProgress.dependencies = null),\n (workInProgress.stateNode = null))\n : ((workInProgress.childLanes = current.childLanes),\n (workInProgress.lanes = current.lanes),\n (workInProgress.child = current.child),\n (workInProgress.subtreeFlags = 0),\n (workInProgress.deletions = null),\n (workInProgress.memoizedProps = current.memoizedProps),\n (workInProgress.memoizedState = current.memoizedState),\n (workInProgress.updateQueue = current.updateQueue),\n (workInProgress.type = current.type),\n (renderLanes = current.dependencies),\n (workInProgress.dependencies =\n null === renderLanes\n ? null\n : {\n lanes: renderLanes.lanes,\n firstContext: renderLanes.firstContext\n }));\n return workInProgress;\n}\nfunction createFiberFromTypeAndProps(\n type,\n key,\n pendingProps,\n owner,\n mode,\n lanes\n) {\n var fiberTag = 0;\n owner = type;\n if (\"function\" === typeof type) shouldConstruct(type) && (fiberTag = 1);\n else if (\"string\" === typeof type)\n fiberTag = isHostHoistableType(\n type,\n pendingProps,\n contextStackCursor.current\n )\n ? 26\n : \"html\" === type || \"head\" === type || \"body\" === type\n ? 27\n : 5;\n else\n a: switch (type) {\n case REACT_ACTIVITY_TYPE:\n return (\n (type = createFiberImplClass(31, pendingProps, key, mode)),\n (type.elementType = REACT_ACTIVITY_TYPE),\n (type.lanes = lanes),\n type\n );\n case REACT_FRAGMENT_TYPE:\n return createFiberFromFragment(pendingProps.children, mode, lanes, key);\n case REACT_STRICT_MODE_TYPE:\n fiberTag = 8;\n mode |= 24;\n break;\n case REACT_PROFILER_TYPE:\n return (\n (type = createFiberImplClass(12, pendingProps, key, mode | 2)),\n (type.elementType = REACT_PROFILER_TYPE),\n (type.lanes = lanes),\n type\n );\n case REACT_SUSPENSE_TYPE:\n return (\n (type = createFiberImplClass(13, pendingProps, key, mode)),\n (type.elementType = REACT_SUSPENSE_TYPE),\n (type.lanes = lanes),\n type\n );\n case REACT_SUSPENSE_LIST_TYPE:\n return (\n (type = createFiberImplClass(19, pendingProps, key, mode)),\n (type.elementType = REACT_SUSPENSE_LIST_TYPE),\n (type.lanes = lanes),\n type\n );\n case REACT_LEGACY_HIDDEN_TYPE:\n case REACT_VIEW_TRANSITION_TYPE:\n return (\n (type = mode | 32),\n (type = createFiberImplClass(30, pendingProps, key, type)),\n (type.elementType = REACT_VIEW_TRANSITION_TYPE),\n (type.lanes = lanes),\n (type.stateNode = {\n autoName: null,\n paired: null,\n clones: null,\n ref: null\n }),\n type\n );\n default:\n if (\"object\" === typeof type && null !== type)\n switch (type.$$typeof) {\n case REACT_CONTEXT_TYPE:\n fiberTag = 10;\n break a;\n case REACT_CONSUMER_TYPE:\n fiberTag = 9;\n break a;\n case REACT_FORWARD_REF_TYPE:\n fiberTag = 11;\n break a;\n case REACT_MEMO_TYPE:\n fiberTag = 14;\n break a;\n case REACT_LAZY_TYPE:\n fiberTag = 16;\n owner = null;\n break a;\n }\n fiberTag = 29;\n pendingProps = Error(\n formatProdErrorMessage(130, null === type ? \"null\" : typeof type, \"\")\n );\n owner = null;\n }\n key = createFiberImplClass(fiberTag, pendingProps, key, mode);\n key.elementType = type;\n key.type = owner;\n key.lanes = lanes;\n return key;\n}\nfunction createFiberFromFragment(elements, mode, lanes, key) {\n elements = createFiberImplClass(7, elements, key, mode);\n elements.lanes = lanes;\n return elements;\n}\nfunction createFiberFromText(content, mode, lanes) {\n content = createFiberImplClass(6, content, null, mode);\n content.lanes = lanes;\n return content;\n}\nfunction createFiberFromDehydratedFragment(dehydratedNode) {\n var fiber = createFiberImplClass(18, null, null, 0);\n fiber.stateNode = dehydratedNode;\n return fiber;\n}\nfunction createFiberFromPortal(portal, mode, lanes) {\n mode = createFiberImplClass(\n 4,\n null !== portal.children ? portal.children : [],\n portal.key,\n mode\n );\n mode.lanes = lanes;\n mode.stateNode = {\n containerInfo: portal.containerInfo,\n pendingChildren: null,\n implementation: portal.implementation\n };\n return mode;\n}\nvar CapturedStacks = new WeakMap();\nfunction createCapturedValueAtFiber(value, source) {\n if (\"object\" === typeof value && null !== value) {\n var existing = CapturedStacks.get(value);\n if (void 0 !== existing) return existing;\n source = {\n value: value,\n source: source,\n stack: getStackByFiberInDevAndProd(source)\n };\n CapturedStacks.set(value, source);\n return source;\n }\n return {\n value: value,\n source: source,\n stack: getStackByFiberInDevAndProd(source)\n };\n}\nvar forkStack = [],\n forkStackIndex = 0,\n treeForkProvider = null,\n treeForkCount = 0,\n idStack = [],\n idStackIndex = 0,\n treeContextProvider = null,\n treeContextId = 1,\n treeContextOverflow = \"\";\nfunction pushTreeFork(workInProgress, totalChildren) {\n forkStack[forkStackIndex++] = treeForkCount;\n forkStack[forkStackIndex++] = treeForkProvider;\n treeForkProvider = workInProgress;\n treeForkCount = totalChildren;\n}\nfunction pushTreeId(workInProgress, totalChildren, index) {\n idStack[idStackIndex++] = treeContextId;\n idStack[idStackIndex++] = treeContextOverflow;\n idStack[idStackIndex++] = treeContextProvider;\n treeContextProvider = workInProgress;\n var baseIdWithLeadingBit = treeContextId;\n workInProgress = treeContextOverflow;\n var baseLength = 32 - clz32(baseIdWithLeadingBit) - 1;\n baseIdWithLeadingBit &= ~(1 << baseLength);\n index += 1;\n var length = 32 - clz32(totalChildren) + baseLength;\n if (30 < length) {\n var numberOfOverflowBits = baseLength - (baseLength % 5);\n length = (\n baseIdWithLeadingBit &\n ((1 << numberOfOverflowBits) - 1)\n ).toString(32);\n baseIdWithLeadingBit >>= numberOfOverflowBits;\n baseLength -= numberOfOverflowBits;\n treeContextId =\n (1 << (32 - clz32(totalChildren) + baseLength)) |\n (index << baseLength) |\n baseIdWithLeadingBit;\n treeContextOverflow = length + workInProgress;\n } else\n (treeContextId =\n (1 << length) | (index << baseLength) | baseIdWithLeadingBit),\n (treeContextOverflow = workInProgress);\n}\nfunction pushMaterializedTreeId(workInProgress) {\n null !== workInProgress.return &&\n (pushTreeFork(workInProgress, 1), pushTreeId(workInProgress, 1, 0));\n}\nfunction popTreeContext(workInProgress) {\n for (; workInProgress === treeForkProvider; )\n (treeForkProvider = forkStack[--forkStackIndex]),\n (forkStack[forkStackIndex] = null),\n (treeForkCount = forkStack[--forkStackIndex]),\n (forkStack[forkStackIndex] = null);\n for (; workInProgress === treeContextProvider; )\n (treeContextProvider = idStack[--idStackIndex]),\n (idStack[idStackIndex] = null),\n (treeContextOverflow = idStack[--idStackIndex]),\n (idStack[idStackIndex] = null),\n (treeContextId = idStack[--idStackIndex]),\n (idStack[idStackIndex] = null);\n}\nfunction restoreSuspendedTreeContext(workInProgress, suspendedContext) {\n idStack[idStackIndex++] = treeContextId;\n idStack[idStackIndex++] = treeContextOverflow;\n idStack[idStackIndex++] = treeContextProvider;\n treeContextId = suspendedContext.id;\n treeContextOverflow = suspendedContext.overflow;\n treeContextProvider = workInProgress;\n}\nvar hydrationParentFiber = null,\n nextHydratableInstance = null,\n isHydrating = !1,\n hydrationErrors = null,\n rootOrSingletonContext = !1,\n HydrationMismatchException = Error(formatProdErrorMessage(519));\nfunction throwOnHydrationMismatch(fiber) {\n var error = Error(\n formatProdErrorMessage(\n 418,\n 1 < arguments.length && void 0 !== arguments[1] && arguments[1]\n ? \"text\"\n : \"HTML\",\n \"\"\n )\n );\n queueHydrationError(createCapturedValueAtFiber(error, fiber));\n throw HydrationMismatchException;\n}\nfunction prepareToHydrateHostInstance(fiber) {\n var instance = fiber.stateNode,\n type = fiber.type,\n props = fiber.memoizedProps;\n instance[internalInstanceKey] = fiber;\n instance[internalPropsKey] = props;\n switch (type) {\n case \"dialog\":\n listenToNonDelegatedEvent(\"cancel\", instance);\n listenToNonDelegatedEvent(\"close\", instance);\n break;\n case \"iframe\":\n case \"object\":\n case \"embed\":\n listenToNonDelegatedEvent(\"load\", instance);\n break;\n case \"video\":\n case \"audio\":\n for (type = 0; type < mediaEventTypes.length; type++)\n listenToNonDelegatedEvent(mediaEventTypes[type], instance);\n break;\n case \"source\":\n listenToNonDelegatedEvent(\"error\", instance);\n break;\n case \"img\":\n case \"image\":\n case \"link\":\n listenToNonDelegatedEvent(\"error\", instance);\n listenToNonDelegatedEvent(\"load\", instance);\n break;\n case \"details\":\n listenToNonDelegatedEvent(\"toggle\", instance);\n break;\n case \"input\":\n listenToNonDelegatedEvent(\"invalid\", instance);\n initInput(\n instance,\n props.value,\n props.defaultValue,\n props.checked,\n props.defaultChecked,\n props.type,\n props.name,\n !0\n );\n break;\n case \"select\":\n listenToNonDelegatedEvent(\"invalid\", instance);\n break;\n case \"textarea\":\n listenToNonDelegatedEvent(\"invalid\", instance),\n initTextarea(instance, props.value, props.defaultValue, props.children);\n }\n type = props.children;\n (\"string\" !== typeof type &&\n \"number\" !== typeof type &&\n \"bigint\" !== typeof type) ||\n instance.textContent === \"\" + type ||\n !0 === props.suppressHydrationWarning ||\n checkForUnmatchedText(instance.textContent, type)\n ? (null != props.popover &&\n (listenToNonDelegatedEvent(\"beforetoggle\", instance),\n listenToNonDelegatedEvent(\"toggle\", instance)),\n null != props.onScroll && listenToNonDelegatedEvent(\"scroll\", instance),\n null != props.onScrollEnd &&\n listenToNonDelegatedEvent(\"scrollend\", instance),\n null != props.onClick && (instance.onclick = noop$1),\n (instance = !0))\n : (instance = !1);\n instance || throwOnHydrationMismatch(fiber, !0);\n}\nfunction popToNextHostParent(fiber) {\n for (hydrationParentFiber = fiber.return; hydrationParentFiber; )\n switch (hydrationParentFiber.tag) {\n case 5:\n case 31:\n case 13:\n rootOrSingletonContext = !1;\n return;\n case 27:\n case 3:\n rootOrSingletonContext = !0;\n return;\n default:\n hydrationParentFiber = hydrationParentFiber.return;\n }\n}\nfunction popHydrationState(fiber) {\n if (fiber !== hydrationParentFiber) return !1;\n if (!isHydrating) return popToNextHostParent(fiber), (isHydrating = !0), !1;\n var tag = fiber.tag,\n JSCompiler_temp;\n if ((JSCompiler_temp = 3 !== tag && 27 !== tag)) {\n if ((JSCompiler_temp = 5 === tag))\n (JSCompiler_temp = fiber.type),\n (JSCompiler_temp =\n !(\"form\" !== JSCompiler_temp && \"button\" !== JSCompiler_temp) ||\n shouldSetTextContent(fiber.type, fiber.memoizedProps));\n JSCompiler_temp = !JSCompiler_temp;\n }\n JSCompiler_temp && nextHydratableInstance && throwOnHydrationMismatch(fiber);\n popToNextHostParent(fiber);\n if (13 === tag) {\n fiber = fiber.memoizedState;\n fiber = null !== fiber ? fiber.dehydrated : null;\n if (!fiber) throw Error(formatProdErrorMessage(317));\n nextHydratableInstance =\n getNextHydratableInstanceAfterHydrationBoundary(fiber);\n } else if (31 === tag) {\n fiber = fiber.memoizedState;\n fiber = null !== fiber ? fiber.dehydrated : null;\n if (!fiber) throw Error(formatProdErrorMessage(317));\n nextHydratableInstance =\n getNextHydratableInstanceAfterHydrationBoundary(fiber);\n } else\n 27 === tag\n ? ((tag = nextHydratableInstance),\n isSingletonScope(fiber.type)\n ? ((fiber = previousHydratableOnEnteringScopedSingleton),\n (previousHydratableOnEnteringScopedSingleton = null),\n (nextHydratableInstance = fiber))\n : (nextHydratableInstance = tag))\n : (nextHydratableInstance = hydrationParentFiber\n ? getNextHydratable(fiber.stateNode.nextSibling)\n : null);\n return !0;\n}\nfunction resetHydrationState() {\n nextHydratableInstance = hydrationParentFiber = null;\n isHydrating = !1;\n}\nfunction upgradeHydrationErrorsToRecoverable() {\n var queuedErrors = hydrationErrors;\n null !== queuedErrors &&\n (null === workInProgressRootRecoverableErrors\n ? (workInProgressRootRecoverableErrors = queuedErrors)\n : workInProgressRootRecoverableErrors.push.apply(\n workInProgressRootRecoverableErrors,\n queuedErrors\n ),\n (hydrationErrors = null));\n return queuedErrors;\n}\nfunction queueHydrationError(error) {\n null === hydrationErrors\n ? (hydrationErrors = [error])\n : hydrationErrors.push(error);\n}\nvar valueCursor = createCursor(null),\n currentlyRenderingFiber$1 = null,\n lastContextDependency = null;\nfunction pushProvider(providerFiber, context, nextValue) {\n push(valueCursor, context._currentValue);\n context._currentValue = nextValue;\n}\nfunction popProvider(context) {\n context._currentValue = valueCursor.current;\n pop(valueCursor);\n}\nfunction scheduleContextWorkOnParentPath(parent, renderLanes, propagationRoot) {\n for (; null !== parent; ) {\n var alternate = parent.alternate;\n (parent.childLanes & renderLanes) !== renderLanes\n ? ((parent.childLanes |= renderLanes),\n null !== alternate && (alternate.childLanes |= renderLanes))\n : null !== alternate &&\n (alternate.childLanes & renderLanes) !== renderLanes &&\n (alternate.childLanes |= renderLanes);\n if (parent === propagationRoot) break;\n parent = parent.return;\n }\n}\nfunction propagateContextChanges(\n workInProgress,\n contexts,\n renderLanes,\n forcePropagateEntireTree\n) {\n var fiber = workInProgress.child;\n null !== fiber && (fiber.return = workInProgress);\n for (; null !== fiber; ) {\n var list = fiber.dependencies;\n if (null !== list) {\n var nextFiber = fiber.child;\n list = list.firstContext;\n a: for (; null !== list; ) {\n var dependency = list;\n list = fiber;\n for (var i = 0; i < contexts.length; i++)\n if (dependency.context === contexts[i]) {\n list.lanes |= renderLanes;\n dependency = list.alternate;\n null !== dependency && (dependency.lanes |= renderLanes);\n scheduleContextWorkOnParentPath(\n list.return,\n renderLanes,\n workInProgress\n );\n forcePropagateEntireTree || (nextFiber = null);\n break a;\n }\n list = dependency.next;\n }\n } else if (18 === fiber.tag) {\n nextFiber = fiber.return;\n if (null === nextFiber) throw Error(formatProdErrorMessage(341));\n nextFiber.lanes |= renderLanes;\n list = nextFiber.alternate;\n null !== list && (list.lanes |= renderLanes);\n scheduleContextWorkOnParentPath(nextFiber, renderLanes, workInProgress);\n nextFiber = null;\n } else nextFiber = fiber.child;\n if (null !== nextFiber) nextFiber.return = fiber;\n else\n for (nextFiber = fiber; null !== nextFiber; ) {\n if (nextFiber === workInProgress) {\n nextFiber = null;\n break;\n }\n fiber = nextFiber.sibling;\n if (null !== fiber) {\n fiber.return = nextFiber.return;\n nextFiber = fiber;\n break;\n }\n nextFiber = nextFiber.return;\n }\n fiber = nextFiber;\n }\n}\nfunction propagateParentContextChanges(\n current,\n workInProgress,\n renderLanes,\n forcePropagateEntireTree\n) {\n current = null;\n for (\n var parent = workInProgress, isInsidePropagationBailout = !1;\n null !== parent;\n\n ) {\n if (!isInsidePropagationBailout)\n if (0 !== (parent.flags & 524288)) isInsidePropagationBailout = !0;\n else if (0 !== (parent.flags & 262144)) break;\n if (10 === parent.tag) {\n var currentParent = parent.alternate;\n if (null === currentParent) throw Error(formatProdErrorMessage(387));\n currentParent = currentParent.memoizedProps;\n if (null !== currentParent) {\n var context = parent.type;\n objectIs(parent.pendingProps.value, currentParent.value) ||\n (null !== current ? current.push(context) : (current = [context]));\n }\n } else if (parent === hostTransitionProviderCursor.current) {\n currentParent = parent.alternate;\n if (null === currentParent) throw Error(formatProdErrorMessage(387));\n currentParent.memoizedState.memoizedState !==\n parent.memoizedState.memoizedState &&\n (null !== current\n ? current.push(HostTransitionContext)\n : (current = [HostTransitionContext]));\n }\n parent = parent.return;\n }\n null !== current &&\n propagateContextChanges(\n workInProgress,\n current,\n renderLanes,\n forcePropagateEntireTree\n );\n workInProgress.flags |= 262144;\n}\nfunction checkIfContextChanged(currentDependencies) {\n for (\n currentDependencies = currentDependencies.firstContext;\n null !== currentDependencies;\n\n ) {\n if (\n !objectIs(\n currentDependencies.context._currentValue,\n currentDependencies.memoizedValue\n )\n )\n return !0;\n currentDependencies = currentDependencies.next;\n }\n return !1;\n}\nfunction prepareToReadContext(workInProgress) {\n currentlyRenderingFiber$1 = workInProgress;\n lastContextDependency = null;\n workInProgress = workInProgress.dependencies;\n null !== workInProgress && (workInProgress.firstContext = null);\n}\nfunction readContext(context) {\n return readContextForConsumer(currentlyRenderingFiber$1, context);\n}\nfunction readContextDuringReconciliation(consumer, context) {\n null === currentlyRenderingFiber$1 && prepareToReadContext(consumer);\n return readContextForConsumer(consumer, context);\n}\nfunction readContextForConsumer(consumer, context) {\n var value = context._currentValue;\n context = { context: context, memoizedValue: value, next: null };\n if (null === lastContextDependency) {\n if (null === consumer) throw Error(formatProdErrorMessage(308));\n lastContextDependency = context;\n consumer.dependencies = { lanes: 0, firstContext: context };\n consumer.flags |= 524288;\n } else lastContextDependency = lastContextDependency.next = context;\n return value;\n}\nvar AbortControllerLocal =\n \"undefined\" !== typeof AbortController\n ? AbortController\n : function () {\n var listeners = [],\n signal = (this.signal = {\n aborted: !1,\n addEventListener: function (type, listener) {\n listeners.push(listener);\n }\n });\n this.abort = function () {\n signal.aborted = !0;\n listeners.forEach(function (listener) {\n return listener();\n });\n };\n },\n scheduleCallback$2 = Scheduler.unstable_scheduleCallback,\n NormalPriority = Scheduler.unstable_NormalPriority,\n CacheContext = {\n $$typeof: REACT_CONTEXT_TYPE,\n Consumer: null,\n Provider: null,\n _currentValue: null,\n _currentValue2: null,\n _threadCount: 0\n };\nfunction createCache() {\n return {\n controller: new AbortControllerLocal(),\n data: new Map(),\n refCount: 0\n };\n}\nfunction releaseCache(cache) {\n cache.refCount--;\n 0 === cache.refCount &&\n scheduleCallback$2(NormalPriority, function () {\n cache.controller.abort();\n });\n}\nfunction queueTransitionTypes(root, transitionTypes) {\n if (0 !== (root.pendingLanes & 4194048)) {\n var queued = root.transitionTypes;\n null === queued && (queued = root.transitionTypes = []);\n for (root = 0; root < transitionTypes.length; root++) {\n var transitionType = transitionTypes[root];\n -1 === queued.indexOf(transitionType) && queued.push(transitionType);\n }\n }\n}\nvar entangledTransitionTypes = null;\nfunction claimQueuedTransitionTypes(root) {\n var claimed = root.transitionTypes;\n root.transitionTypes = null;\n return claimed;\n}\nvar currentEntangledListeners = null,\n currentEntangledPendingCount = 0,\n currentEntangledLane = 0,\n currentEntangledActionThenable = null;\nfunction entangleAsyncAction(transition, thenable) {\n if (null === currentEntangledListeners) {\n var entangledListeners = (currentEntangledListeners = []);\n currentEntangledPendingCount = 0;\n currentEntangledLane = requestTransitionLane();\n currentEntangledActionThenable = {\n status: \"pending\",\n value: void 0,\n then: function (resolve) {\n entangledListeners.push(resolve);\n }\n };\n }\n currentEntangledPendingCount++;\n thenable.then(pingEngtangledActionScope, pingEngtangledActionScope);\n return thenable;\n}\nfunction pingEngtangledActionScope() {\n if (\n 0 === --currentEntangledPendingCount &&\n ((entangledTransitionTypes = null), null !== currentEntangledListeners)\n ) {\n null !== currentEntangledActionThenable &&\n (currentEntangledActionThenable.status = \"fulfilled\");\n var listeners = currentEntangledListeners;\n currentEntangledListeners = null;\n currentEntangledLane = 0;\n currentEntangledActionThenable = null;\n for (var i = 0; i < listeners.length; i++) (0, listeners[i])();\n }\n}\nfunction chainThenableValue(thenable, result) {\n var listeners = [],\n thenableWithOverride = {\n status: \"pending\",\n value: null,\n reason: null,\n then: function (resolve) {\n listeners.push(resolve);\n }\n };\n thenable.then(\n function () {\n thenableWithOverride.status = \"fulfilled\";\n thenableWithOverride.value = result;\n for (var i = 0; i < listeners.length; i++) (0, listeners[i])(result);\n },\n function (error) {\n thenableWithOverride.status = \"rejected\";\n thenableWithOverride.reason = error;\n for (error = 0; error < listeners.length; error++)\n (0, listeners[error])(void 0);\n }\n );\n return thenableWithOverride;\n}\nvar prevOnStartTransitionFinish = ReactSharedInternals.S;\nReactSharedInternals.S = function (transition, returnValue) {\n globalMostRecentTransitionTime = now();\n \"object\" === typeof returnValue &&\n null !== returnValue &&\n \"function\" === typeof returnValue.then &&\n entangleAsyncAction(transition, returnValue);\n if (null !== entangledTransitionTypes)\n for (var root$26 = firstScheduledRoot; null !== root$26; )\n queueTransitionTypes(root$26, entangledTransitionTypes),\n (root$26 = root$26.next);\n root$26 = transition.types;\n if (null !== root$26) {\n for (var root$27 = firstScheduledRoot; null !== root$27; )\n queueTransitionTypes(root$27, root$26), (root$27 = root$27.next);\n if (0 !== currentEntangledLane) {\n root$27 = entangledTransitionTypes;\n null === root$27 && (root$27 = entangledTransitionTypes = []);\n for (var i = 0; i < root$26.length; i++) {\n var transitionType = root$26[i];\n -1 === root$27.indexOf(transitionType) && root$27.push(transitionType);\n }\n }\n }\n null !== prevOnStartTransitionFinish &&\n prevOnStartTransitionFinish(transition, returnValue);\n};\nvar resumedCache = createCursor(null);\nfunction peekCacheFromPool() {\n var cacheResumedFromPreviousRender = resumedCache.current;\n return null !== cacheResumedFromPreviousRender\n ? cacheResumedFromPreviousRender\n : workInProgressRoot.pooledCache;\n}\nfunction pushTransition(offscreenWorkInProgress, prevCachePool) {\n null === prevCachePool\n ? push(resumedCache, resumedCache.current)\n : push(resumedCache, prevCachePool.pool);\n}\nfunction getSuspendedCache() {\n var cacheFromPool = peekCacheFromPool();\n return null === cacheFromPool\n ? null\n : { parent: CacheContext._currentValue, pool: cacheFromPool };\n}\nvar SuspenseException = Error(formatProdErrorMessage(460)),\n SuspenseyCommitException = Error(formatProdErrorMessage(474)),\n SuspenseActionException = Error(formatProdErrorMessage(542)),\n noopSuspenseyCommitThenable = { then: function () {} };\nfunction isThenableResolved(thenable) {\n thenable = thenable.status;\n return \"fulfilled\" === thenable || \"rejected\" === thenable;\n}\nfunction trackUsedThenable(thenableState, thenable, index) {\n index = thenableState[index];\n void 0 === index\n ? thenableState.push(thenable)\n : index !== thenable && (thenable.then(noop$1, noop$1), (thenable = index));\n switch (thenable.status) {\n case \"fulfilled\":\n return thenable.value;\n case \"rejected\":\n throw (\n ((thenableState = thenable.reason),\n checkIfUseWrappedInAsyncCatch(thenableState),\n thenableState)\n );\n default:\n if (\"string\" === typeof thenable.status) thenable.then(noop$1, noop$1);\n else {\n thenableState = workInProgressRoot;\n if (null !== thenableState && 100 < thenableState.shellSuspendCounter)\n throw Error(formatProdErrorMessage(482));\n thenableState = thenable;\n thenableState.status = \"pending\";\n thenableState.then(\n function (fulfilledValue) {\n if (\"pending\" === thenable.status) {\n var fulfilledThenable = thenable;\n fulfilledThenable.status = \"fulfilled\";\n fulfilledThenable.value = fulfilledValue;\n }\n },\n function (error) {\n if (\"pending\" === thenable.status) {\n var rejectedThenable = thenable;\n rejectedThenable.status = \"rejected\";\n rejectedThenable.reason = error;\n }\n }\n );\n }\n switch (thenable.status) {\n case \"fulfilled\":\n return thenable.value;\n case \"rejected\":\n throw (\n ((thenableState = thenable.reason),\n checkIfUseWrappedInAsyncCatch(thenableState),\n thenableState)\n );\n }\n suspendedThenable = thenable;\n throw SuspenseException;\n }\n}\nfunction resolveLazy(lazyType) {\n try {\n var init = lazyType._init;\n return init(lazyType._payload);\n } catch (x) {\n if (null !== x && \"object\" === typeof x && \"function\" === typeof x.then)\n throw ((suspendedThenable = x), SuspenseException);\n throw x;\n }\n}\nvar suspendedThenable = null;\nfunction getSuspendedThenable() {\n if (null === suspendedThenable) throw Error(formatProdErrorMessage(459));\n var thenable = suspendedThenable;\n suspendedThenable = null;\n return thenable;\n}\nfunction checkIfUseWrappedInAsyncCatch(rejectedReason) {\n if (\n rejectedReason === SuspenseException ||\n rejectedReason === SuspenseActionException\n )\n throw Error(formatProdErrorMessage(483));\n}\nvar thenableState$1 = null,\n thenableIndexCounter$1 = 0;\nfunction unwrapThenable(thenable) {\n var index = thenableIndexCounter$1;\n thenableIndexCounter$1 += 1;\n null === thenableState$1 && (thenableState$1 = []);\n return trackUsedThenable(thenableState$1, thenable, index);\n}\nfunction coerceRef(workInProgress, element) {\n element = element.props.ref;\n workInProgress.ref = void 0 !== element ? element : null;\n}\nfunction throwOnInvalidObjectTypeImpl(returnFiber, newChild) {\n if (newChild.$$typeof === REACT_LEGACY_ELEMENT_TYPE)\n throw Error(formatProdErrorMessage(525));\n returnFiber = Object.prototype.toString.call(newChild);\n throw Error(\n formatProdErrorMessage(\n 31,\n \"[object Object]\" === returnFiber\n ? \"object with keys {\" + Object.keys(newChild).join(\", \") + \"}\"\n : returnFiber\n )\n );\n}\nfunction createChildReconciler(shouldTrackSideEffects) {\n function deleteChild(returnFiber, childToDelete) {\n if (shouldTrackSideEffects) {\n var deletions = returnFiber.deletions;\n null === deletions\n ? ((returnFiber.deletions = [childToDelete]), (returnFiber.flags |= 16))\n : deletions.push(childToDelete);\n }\n }\n function deleteRemainingChildren(returnFiber, currentFirstChild) {\n if (!shouldTrackSideEffects) return null;\n for (; null !== currentFirstChild; )\n deleteChild(returnFiber, currentFirstChild),\n (currentFirstChild = currentFirstChild.sibling);\n return null;\n }\n function mapRemainingChildren(currentFirstChild) {\n for (var existingChildren = new Map(); null !== currentFirstChild; )\n null === currentFirstChild.key\n ? existingChildren.set(currentFirstChild.index, currentFirstChild)\n : existingChildren.set(currentFirstChild.key, currentFirstChild),\n (currentFirstChild = currentFirstChild.sibling);\n return existingChildren;\n }\n function useFiber(fiber, pendingProps) {\n fiber = createWorkInProgress(fiber, pendingProps);\n fiber.index = 0;\n fiber.sibling = null;\n return fiber;\n }\n function placeChild(newFiber, lastPlacedIndex, newIndex) {\n newFiber.index = newIndex;\n if (!shouldTrackSideEffects)\n return (newFiber.flags |= 1048576), lastPlacedIndex;\n newIndex = newFiber.alternate;\n if (null !== newIndex)\n return (\n (newIndex = newIndex.index),\n newIndex < lastPlacedIndex\n ? ((newFiber.flags |= 134217730), lastPlacedIndex)\n : newIndex\n );\n newFiber.flags |= 134217730;\n return lastPlacedIndex;\n }\n function placeSingleChild(newFiber) {\n shouldTrackSideEffects &&\n null === newFiber.alternate &&\n (newFiber.flags |= 134217730);\n return newFiber;\n }\n function updateTextNode(returnFiber, current, textContent, lanes) {\n if (null === current || 6 !== current.tag)\n return (\n (current = createFiberFromText(textContent, returnFiber.mode, lanes)),\n (current.return = returnFiber),\n current\n );\n current = useFiber(current, textContent);\n current.return = returnFiber;\n return current;\n }\n function updateElement(returnFiber, current, element, lanes) {\n var elementType = element.type;\n if (elementType === REACT_FRAGMENT_TYPE)\n return (\n (returnFiber = updateFragment(\n returnFiber,\n current,\n element.props.children,\n lanes,\n element.key\n )),\n coerceRef(returnFiber, element),\n returnFiber\n );\n if (\n null !== current &&\n (current.elementType === elementType ||\n (\"object\" === typeof elementType &&\n null !== elementType &&\n elementType.$$typeof === REACT_LAZY_TYPE &&\n resolveLazy(elementType) === current.type))\n )\n return (\n (current = useFiber(current, element.props)),\n coerceRef(current, element),\n (current.return = returnFiber),\n current\n );\n current = createFiberFromTypeAndProps(\n element.type,\n element.key,\n element.props,\n null,\n returnFiber.mode,\n lanes\n );\n coerceRef(current, element);\n current.return = returnFiber;\n return current;\n }\n function updatePortal(returnFiber, current, portal, lanes) {\n if (\n null === current ||\n 4 !== current.tag ||\n current.stateNode.containerInfo !== portal.containerInfo ||\n current.stateNode.implementation !== portal.implementation\n )\n return (\n (current = createFiberFromPortal(portal, returnFiber.mode, lanes)),\n (current.return = returnFiber),\n current\n );\n current = useFiber(current, portal.children || []);\n current.return = returnFiber;\n return current;\n }\n function updateFragment(returnFiber, current, fragment, lanes, key) {\n if (null === current || 7 !== current.tag)\n return (\n (current = createFiberFromFragment(\n fragment,\n returnFiber.mode,\n lanes,\n key\n )),\n (current.return = returnFiber),\n current\n );\n current = useFiber(current, fragment);\n current.return = returnFiber;\n return current;\n }\n function createChild(returnFiber, newChild, lanes) {\n if (\n (\"string\" === typeof newChild && \"\" !== newChild) ||\n \"number\" === typeof newChild ||\n \"bigint\" === typeof newChild\n )\n return (\n (newChild = createFiberFromText(\n \"\" + newChild,\n returnFiber.mode,\n lanes\n )),\n (newChild.return = returnFiber),\n newChild\n );\n if (\"object\" === typeof newChild && null !== newChild) {\n switch (newChild.$$typeof) {\n case REACT_ELEMENT_TYPE:\n return (\n (lanes = createFiberFromTypeAndProps(\n newChild.type,\n newChild.key,\n newChild.props,\n null,\n returnFiber.mode,\n lanes\n )),\n coerceRef(lanes, newChild),\n (lanes.return = returnFiber),\n lanes\n );\n case REACT_PORTAL_TYPE:\n return (\n (newChild = createFiberFromPortal(\n newChild,\n returnFiber.mode,\n lanes\n )),\n (newChild.return = returnFiber),\n newChild\n );\n case REACT_LAZY_TYPE:\n return (\n (newChild = resolveLazy(newChild)),\n createChild(returnFiber, newChild, lanes)\n );\n }\n if (isArrayImpl(newChild) || getIteratorFn(newChild))\n return (\n (newChild = createFiberFromFragment(\n newChild,\n returnFiber.mode,\n lanes,\n null\n )),\n (newChild.return = returnFiber),\n newChild\n );\n if (\"function\" === typeof newChild.then)\n return createChild(returnFiber, unwrapThenable(newChild), lanes);\n if (newChild.$$typeof === REACT_CONTEXT_TYPE)\n return createChild(\n returnFiber,\n readContextDuringReconciliation(returnFiber, newChild),\n lanes\n );\n throwOnInvalidObjectTypeImpl(returnFiber, newChild);\n }\n return null;\n }\n function updateSlot(returnFiber, oldFiber, newChild, lanes) {\n var key = null !== oldFiber ? oldFiber.key : null;\n if (\n (\"string\" === typeof newChild && \"\" !== newChild) ||\n \"number\" === typeof newChild ||\n \"bigint\" === typeof newChild\n )\n return null !== key\n ? null\n : updateTextNode(returnFiber, oldFiber, \"\" + newChild, lanes);\n if (\"object\" === typeof newChild && null !== newChild) {\n switch (newChild.$$typeof) {\n case REACT_ELEMENT_TYPE:\n return newChild.key === key\n ? updateElement(returnFiber, oldFiber, newChild, lanes)\n : null;\n case REACT_PORTAL_TYPE:\n return newChild.key === key\n ? updatePortal(returnFiber, oldFiber, newChild, lanes)\n : null;\n case REACT_LAZY_TYPE:\n return (\n (newChild = resolveLazy(newChild)),\n updateSlot(returnFiber, oldFiber, newChild, lanes)\n );\n }\n if (isArrayImpl(newChild) || getIteratorFn(newChild))\n return null !== key\n ? null\n : updateFragment(returnFiber, oldFiber, newChild, lanes, null);\n if (\"function\" === typeof newChild.then)\n return updateSlot(\n returnFiber,\n oldFiber,\n unwrapThenable(newChild),\n lanes\n );\n if (newChild.$$typeof === REACT_CONTEXT_TYPE)\n return updateSlot(\n returnFiber,\n oldFiber,\n readContextDuringReconciliation(returnFiber, newChild),\n lanes\n );\n throwOnInvalidObjectTypeImpl(returnFiber, newChild);\n }\n return null;\n }\n function updateFromMap(\n existingChildren,\n returnFiber,\n newIdx,\n newChild,\n lanes\n ) {\n if (\n (\"string\" === typeof newChild && \"\" !== newChild) ||\n \"number\" === typeof newChild ||\n \"bigint\" === typeof newChild\n )\n return (\n (existingChildren = existingChildren.get(newIdx) || null),\n updateTextNode(returnFiber, existingChildren, \"\" + newChild, lanes)\n );\n if (\"object\" === typeof newChild && null !== newChild) {\n switch (newChild.$$typeof) {\n case REACT_ELEMENT_TYPE:\n return (\n (existingChildren =\n existingChildren.get(\n null === newChild.key ? newIdx : newChild.key\n ) || null),\n updateElement(returnFiber, existingChildren, newChild, lanes)\n );\n case REACT_PORTAL_TYPE:\n return (\n (existingChildren =\n existingChildren.get(\n null === newChild.key ? newIdx : newChild.key\n ) || null),\n updatePortal(returnFiber, existingChildren, newChild, lanes)\n );\n case REACT_LAZY_TYPE:\n return (\n (newChild = resolveLazy(newChild)),\n updateFromMap(\n existingChildren,\n returnFiber,\n newIdx,\n newChild,\n lanes\n )\n );\n }\n if (isArrayImpl(newChild) || getIteratorFn(newChild))\n return (\n (existingChildren = existingChildren.get(newIdx) || null),\n updateFragment(returnFiber, existingChildren, newChild, lanes, null)\n );\n if (\"function\" === typeof newChild.then)\n return updateFromMap(\n existingChildren,\n returnFiber,\n newIdx,\n unwrapThenable(newChild),\n lanes\n );\n if (newChild.$$typeof === REACT_CONTEXT_TYPE)\n return updateFromMap(\n existingChildren,\n returnFiber,\n newIdx,\n readContextDuringReconciliation(returnFiber, newChild),\n lanes\n );\n throwOnInvalidObjectTypeImpl(returnFiber, newChild);\n }\n return null;\n }\n function reconcileChildrenArray(\n returnFiber,\n currentFirstChild,\n newChildren,\n lanes\n ) {\n for (\n var resultingFirstChild = null,\n previousNewFiber = null,\n oldFiber = currentFirstChild,\n newIdx = (currentFirstChild = 0),\n nextOldFiber = null;\n null !== oldFiber && newIdx < newChildren.length;\n newIdx++\n ) {\n oldFiber.index > newIdx\n ? ((nextOldFiber = oldFiber), (oldFiber = null))\n : (nextOldFiber = oldFiber.sibling);\n var newFiber = updateSlot(\n returnFiber,\n oldFiber,\n newChildren[newIdx],\n lanes\n );\n if (null === newFiber) {\n null === oldFiber && (oldFiber = nextOldFiber);\n break;\n }\n shouldTrackSideEffects &&\n oldFiber &&\n null === newFiber.alternate &&\n deleteChild(returnFiber, oldFiber);\n currentFirstChild = placeChild(newFiber, currentFirstChild, newIdx);\n null === previousNewFiber\n ? (resultingFirstChild = newFiber)\n : (previousNewFiber.sibling = newFiber);\n previousNewFiber = newFiber;\n oldFiber = nextOldFiber;\n }\n if (newIdx === newChildren.length)\n return (\n deleteRemainingChildren(returnFiber, oldFiber),\n isHydrating && pushTreeFork(returnFiber, newIdx),\n resultingFirstChild\n );\n if (null === oldFiber) {\n for (; newIdx < newChildren.length; newIdx++)\n (oldFiber = createChild(returnFiber, newChildren[newIdx], lanes)),\n null !== oldFiber &&\n ((currentFirstChild = placeChild(\n oldFiber,\n currentFirstChild,\n newIdx\n )),\n null === previousNewFiber\n ? (resultingFirstChild = oldFiber)\n : (previousNewFiber.sibling = oldFiber),\n (previousNewFiber = oldFiber));\n isHydrating && pushTreeFork(returnFiber, newIdx);\n return resultingFirstChild;\n }\n for (\n oldFiber = mapRemainingChildren(oldFiber);\n newIdx < newChildren.length;\n newIdx++\n )\n (nextOldFiber = updateFromMap(\n oldFiber,\n returnFiber,\n newIdx,\n newChildren[newIdx],\n lanes\n )),\n null !== nextOldFiber &&\n (shouldTrackSideEffects &&\n ((newFiber = nextOldFiber.alternate),\n null !== newFiber &&\n oldFiber.delete(null === newFiber.key ? newIdx : newFiber.key)),\n (currentFirstChild = placeChild(\n nextOldFiber,\n currentFirstChild,\n newIdx\n )),\n null === previousNewFiber\n ? (resultingFirstChild = nextOldFiber)\n : (previousNewFiber.sibling = nextOldFiber),\n (previousNewFiber = nextOldFiber));\n shouldTrackSideEffects &&\n oldFiber.forEach(function (child) {\n return deleteChild(returnFiber, child);\n });\n isHydrating && pushTreeFork(returnFiber, newIdx);\n return resultingFirstChild;\n }\n function reconcileChildrenIterator(\n returnFiber,\n currentFirstChild,\n newChildren,\n lanes\n ) {\n if (null == newChildren) throw Error(formatProdErrorMessage(151));\n for (\n var resultingFirstChild = null,\n previousNewFiber = null,\n oldFiber = currentFirstChild,\n newIdx = (currentFirstChild = 0),\n nextOldFiber = null,\n step = newChildren.next();\n null !== oldFiber && !step.done;\n newIdx++, step = newChildren.next()\n ) {\n oldFiber.index > newIdx\n ? ((nextOldFiber = oldFiber), (oldFiber = null))\n : (nextOldFiber = oldFiber.sibling);\n var newFiber = updateSlot(returnFiber, oldFiber, step.value, lanes);\n if (null === newFiber) {\n null === oldFiber && (oldFiber = nextOldFiber);\n break;\n }\n shouldTrackSideEffects &&\n oldFiber &&\n null === newFiber.alternate &&\n deleteChild(returnFiber, oldFiber);\n currentFirstChild = placeChild(newFiber, currentFirstChild, newIdx);\n null === previousNewFiber\n ? (resultingFirstChild = newFiber)\n : (previousNewFiber.sibling = newFiber);\n previousNewFiber = newFiber;\n oldFiber = nextOldFiber;\n }\n if (step.done)\n return (\n deleteRemainingChildren(returnFiber, oldFiber),\n isHydrating && pushTreeFork(returnFiber, newIdx),\n resultingFirstChild\n );\n if (null === oldFiber) {\n for (; !step.done; newIdx++, step = newChildren.next())\n (step = createChild(returnFiber, step.value, lanes)),\n null !== step &&\n ((currentFirstChild = placeChild(step, currentFirstChild, newIdx)),\n null === previousNewFiber\n ? (resultingFirstChild = step)\n : (previousNewFiber.sibling = step),\n (previousNewFiber = step));\n isHydrating && pushTreeFork(returnFiber, newIdx);\n return resultingFirstChild;\n }\n for (\n oldFiber = mapRemainingChildren(oldFiber);\n !step.done;\n newIdx++, step = newChildren.next()\n )\n (step = updateFromMap(oldFiber, returnFiber, newIdx, step.value, lanes)),\n null !== step &&\n (shouldTrackSideEffects &&\n ((nextOldFiber = step.alternate),\n null !== nextOldFiber &&\n oldFiber.delete(\n null === nextOldFiber.key ? newIdx : nextOldFiber.key\n )),\n (currentFirstChild = placeChild(step, currentFirstChild, newIdx)),\n null === previousNewFiber\n ? (resultingFirstChild = step)\n : (previousNewFiber.sibling = step),\n (previousNewFiber = step));\n shouldTrackSideEffects &&\n oldFiber.forEach(function (child) {\n return deleteChild(returnFiber, child);\n });\n isHydrating && pushTreeFork(returnFiber, newIdx);\n return resultingFirstChild;\n }\n function reconcileChildFibersImpl(\n returnFiber,\n currentFirstChild,\n newChild,\n lanes\n ) {\n \"object\" === typeof newChild &&\n null !== newChild &&\n newChild.type === REACT_FRAGMENT_TYPE &&\n null === newChild.key &&\n void 0 === newChild.props.ref &&\n (newChild = newChild.props.children);\n if (\"object\" === typeof newChild && null !== newChild) {\n switch (newChild.$$typeof) {\n case REACT_ELEMENT_TYPE:\n a: {\n for (var key = newChild.key; null !== currentFirstChild; ) {\n if (currentFirstChild.key === key) {\n key = newChild.type;\n if (key === REACT_FRAGMENT_TYPE) {\n if (7 === currentFirstChild.tag) {\n deleteRemainingChildren(\n returnFiber,\n currentFirstChild.sibling\n );\n lanes = useFiber(\n currentFirstChild,\n newChild.props.children\n );\n coerceRef(lanes, newChild);\n lanes.return = returnFiber;\n returnFiber = lanes;\n break a;\n }\n } else if (\n currentFirstChild.elementType === key ||\n (\"object\" === typeof key &&\n null !== key &&\n key.$$typeof === REACT_LAZY_TYPE &&\n resolveLazy(key) === currentFirstChild.type)\n ) {\n deleteRemainingChildren(\n returnFiber,\n currentFirstChild.sibling\n );\n lanes = useFiber(currentFirstChild, newChild.props);\n coerceRef(lanes, newChild);\n lanes.return = returnFiber;\n returnFiber = lanes;\n break a;\n }\n deleteRemainingChildren(returnFiber, currentFirstChild);\n break;\n } else deleteChild(returnFiber, currentFirstChild);\n currentFirstChild = currentFirstChild.sibling;\n }\n newChild.type === REACT_FRAGMENT_TYPE\n ? ((lanes = createFiberFromFragment(\n newChild.props.children,\n returnFiber.mode,\n lanes,\n newChild.key\n )),\n coerceRef(lanes, newChild),\n (lanes.return = returnFiber),\n (returnFiber = lanes))\n : ((lanes = createFiberFromTypeAndProps(\n newChild.type,\n newChild.key,\n newChild.props,\n null,\n returnFiber.mode,\n lanes\n )),\n coerceRef(lanes, newChild),\n (lanes.return = returnFiber),\n (returnFiber = lanes));\n }\n return placeSingleChild(returnFiber);\n case REACT_PORTAL_TYPE:\n a: {\n for (key = newChild.key; null !== currentFirstChild; ) {\n if (currentFirstChild.key === key)\n if (\n 4 === currentFirstChild.tag &&\n currentFirstChild.stateNode.containerInfo ===\n newChild.containerInfo &&\n currentFirstChild.stateNode.implementation ===\n newChild.implementation\n ) {\n deleteRemainingChildren(\n returnFiber,\n currentFirstChild.sibling\n );\n lanes = useFiber(currentFirstChild, newChild.children || []);\n lanes.return = returnFiber;\n returnFiber = lanes;\n break a;\n } else {\n deleteRemainingChildren(returnFiber, currentFirstChild);\n break;\n }\n else deleteChild(returnFiber, currentFirstChild);\n currentFirstChild = currentFirstChild.sibling;\n }\n lanes = createFiberFromPortal(newChild, returnFiber.mode, lanes);\n lanes.return = returnFiber;\n returnFiber = lanes;\n }\n return placeSingleChild(returnFiber);\n case REACT_LAZY_TYPE:\n return (\n (newChild = resolveLazy(newChild)),\n reconcileChildFibersImpl(\n returnFiber,\n currentFirstChild,\n newChild,\n lanes\n )\n );\n }\n if (isArrayImpl(newChild))\n return reconcileChildrenArray(\n returnFiber,\n currentFirstChild,\n newChild,\n lanes\n );\n if (getIteratorFn(newChild)) {\n key = getIteratorFn(newChild);\n if (\"function\" !== typeof key) throw Error(formatProdErrorMessage(150));\n newChild = key.call(newChild);\n return reconcileChildrenIterator(\n returnFiber,\n currentFirstChild,\n newChild,\n lanes\n );\n }\n if (\"function\" === typeof newChild.then)\n return reconcileChildFibersImpl(\n returnFiber,\n currentFirstChild,\n unwrapThenable(newChild),\n lanes\n );\n if (newChild.$$typeof === REACT_CONTEXT_TYPE)\n return reconcileChildFibersImpl(\n returnFiber,\n currentFirstChild,\n readContextDuringReconciliation(returnFiber, newChild),\n lanes\n );\n throwOnInvalidObjectTypeImpl(returnFiber, newChild);\n }\n return (\"string\" === typeof newChild && \"\" !== newChild) ||\n \"number\" === typeof newChild ||\n \"bigint\" === typeof newChild\n ? ((newChild = \"\" + newChild),\n null !== currentFirstChild && 6 === currentFirstChild.tag\n ? (deleteRemainingChildren(returnFiber, currentFirstChild.sibling),\n (lanes = useFiber(currentFirstChild, newChild)),\n (lanes.return = returnFiber),\n (returnFiber = lanes))\n : (deleteRemainingChildren(returnFiber, currentFirstChild),\n (lanes = createFiberFromText(newChild, returnFiber.mode, lanes)),\n (lanes.return = returnFiber),\n (returnFiber = lanes)),\n placeSingleChild(returnFiber))\n : deleteRemainingChildren(returnFiber, currentFirstChild);\n }\n return function (returnFiber, currentFirstChild, newChild, lanes) {\n try {\n thenableIndexCounter$1 = 0;\n var firstChildFiber = reconcileChildFibersImpl(\n returnFiber,\n currentFirstChild,\n newChild,\n lanes\n );\n thenableState$1 = null;\n return firstChildFiber;\n } catch (x) {\n if (x === SuspenseException || x === SuspenseActionException) throw x;\n var fiber = createFiberImplClass(29, x, null, returnFiber.mode);\n fiber.lanes = lanes;\n fiber.return = returnFiber;\n return fiber;\n } finally {\n }\n };\n}\nvar reconcileChildFibers = createChildReconciler(!0),\n mountChildFibers = createChildReconciler(!1),\n hasForceUpdate = !1;\nfunction initializeUpdateQueue(fiber) {\n fiber.updateQueue = {\n baseState: fiber.memoizedState,\n firstBaseUpdate: null,\n lastBaseUpdate: null,\n shared: { pending: null, lanes: 0, hiddenCallbacks: null },\n callbacks: null\n };\n}\nfunction cloneUpdateQueue(current, workInProgress) {\n current = current.updateQueue;\n workInProgress.updateQueue === current &&\n (workInProgress.updateQueue = {\n baseState: current.baseState,\n firstBaseUpdate: current.firstBaseUpdate,\n lastBaseUpdate: current.lastBaseUpdate,\n shared: current.shared,\n callbacks: null\n });\n}\nfunction createUpdate(lane) {\n return { lane: lane, tag: 0, payload: null, callback: null, next: null };\n}\nfunction enqueueUpdate(fiber, update, lane) {\n var updateQueue = fiber.updateQueue;\n if (null === updateQueue) return null;\n updateQueue = updateQueue.shared;\n if (0 !== (executionContext & 2)) {\n var pending = updateQueue.pending;\n null === pending\n ? (update.next = update)\n : ((update.next = pending.next), (pending.next = update));\n updateQueue.pending = update;\n update = getRootForUpdatedFiber(fiber);\n markUpdateLaneFromFiberToRoot(fiber, null, lane);\n return update;\n }\n enqueueUpdate$1(fiber, updateQueue, update, lane);\n return getRootForUpdatedFiber(fiber);\n}\nfunction entangleTransitions(root, fiber, lane) {\n fiber = fiber.updateQueue;\n if (null !== fiber && ((fiber = fiber.shared), 0 !== (lane & 4194048))) {\n var queueLanes = fiber.lanes;\n queueLanes &= root.pendingLanes;\n lane |= queueLanes;\n fiber.lanes = lane;\n markRootEntangled(root, lane);\n }\n}\nfunction enqueueCapturedUpdate(workInProgress, capturedUpdate) {\n var queue = workInProgress.updateQueue,\n current = workInProgress.alternate;\n if (\n null !== current &&\n ((current = current.updateQueue), queue === current)\n ) {\n var newFirst = null,\n newLast = null;\n queue = queue.firstBaseUpdate;\n if (null !== queue) {\n do {\n var clone = {\n lane: queue.lane,\n tag: queue.tag,\n payload: queue.payload,\n callback: null,\n next: null\n };\n null === newLast\n ? (newFirst = newLast = clone)\n : (newLast = newLast.next = clone);\n queue = queue.next;\n } while (null !== queue);\n null === newLast\n ? (newFirst = newLast = capturedUpdate)\n : (newLast = newLast.next = capturedUpdate);\n } else newFirst = newLast = capturedUpdate;\n queue = {\n baseState: current.baseState,\n firstBaseUpdate: newFirst,\n lastBaseUpdate: newLast,\n shared: current.shared,\n callbacks: current.callbacks\n };\n workInProgress.updateQueue = queue;\n return;\n }\n workInProgress = queue.lastBaseUpdate;\n null === workInProgress\n ? (queue.firstBaseUpdate = capturedUpdate)\n : (workInProgress.next = capturedUpdate);\n queue.lastBaseUpdate = capturedUpdate;\n}\nvar didReadFromEntangledAsyncAction = !1;\nfunction suspendIfUpdateReadFromEntangledAsyncAction() {\n if (didReadFromEntangledAsyncAction) {\n var entangledActionThenable = currentEntangledActionThenable;\n if (null !== entangledActionThenable) throw entangledActionThenable;\n }\n}\nfunction processUpdateQueue(\n workInProgress$jscomp$0,\n props,\n instance$jscomp$0,\n renderLanes\n) {\n didReadFromEntangledAsyncAction = !1;\n var queue = workInProgress$jscomp$0.updateQueue;\n hasForceUpdate = !1;\n var firstBaseUpdate = queue.firstBaseUpdate,\n lastBaseUpdate = queue.lastBaseUpdate,\n pendingQueue = queue.shared.pending;\n if (null !== pendingQueue) {\n queue.shared.pending = null;\n var lastPendingUpdate = pendingQueue,\n firstPendingUpdate = lastPendingUpdate.next;\n lastPendingUpdate.next = null;\n null === lastBaseUpdate\n ? (firstBaseUpdate = firstPendingUpdate)\n : (lastBaseUpdate.next = firstPendingUpdate);\n lastBaseUpdate = lastPendingUpdate;\n var current = workInProgress$jscomp$0.alternate;\n null !== current &&\n ((current = current.updateQueue),\n (pendingQueue = current.lastBaseUpdate),\n pendingQueue !== lastBaseUpdate &&\n (null === pendingQueue\n ? (current.firstBaseUpdate = firstPendingUpdate)\n : (pendingQueue.next = firstPendingUpdate),\n (current.lastBaseUpdate = lastPendingUpdate)));\n }\n if (null !== firstBaseUpdate) {\n var newState = queue.baseState;\n lastBaseUpdate = 0;\n current = firstPendingUpdate = lastPendingUpdate = null;\n pendingQueue = firstBaseUpdate;\n do {\n var updateLane = pendingQueue.lane & -536870913,\n isHiddenUpdate = updateLane !== pendingQueue.lane;\n if (\n isHiddenUpdate\n ? (workInProgressRootRenderLanes & updateLane) === updateLane\n : (renderLanes & updateLane) === updateLane\n ) {\n 0 !== updateLane &&\n updateLane === currentEntangledLane &&\n (didReadFromEntangledAsyncAction = !0);\n null !== current &&\n (current = current.next =\n {\n lane: 0,\n tag: pendingQueue.tag,\n payload: pendingQueue.payload,\n callback: null,\n next: null\n });\n a: {\n var workInProgress = workInProgress$jscomp$0,\n update = pendingQueue;\n updateLane = props;\n var instance = instance$jscomp$0;\n switch (update.tag) {\n case 1:\n workInProgress = update.payload;\n if (\"function\" === typeof workInProgress) {\n newState = workInProgress.call(instance, newState, updateLane);\n break a;\n }\n newState = workInProgress;\n break a;\n case 3:\n workInProgress.flags = (workInProgress.flags & -65537) | 128;\n case 0:\n workInProgress = update.payload;\n updateLane =\n \"function\" === typeof workInProgress\n ? workInProgress.call(instance, newState, updateLane)\n : workInProgress;\n if (null === updateLane || void 0 === updateLane) break a;\n newState = assign({}, newState, updateLane);\n break a;\n case 2:\n hasForceUpdate = !0;\n }\n }\n updateLane = pendingQueue.callback;\n null !== updateLane &&\n ((workInProgress$jscomp$0.flags |= 64),\n isHiddenUpdate && (workInProgress$jscomp$0.flags |= 8192),\n (isHiddenUpdate = queue.callbacks),\n null === isHiddenUpdate\n ? (queue.callbacks = [updateLane])\n : isHiddenUpdate.push(updateLane));\n } else\n (isHiddenUpdate = {\n lane: updateLane,\n tag: pendingQueue.tag,\n payload: pendingQueue.payload,\n callback: pendingQueue.callback,\n next: null\n }),\n null === current\n ? ((firstPendingUpdate = current = isHiddenUpdate),\n (lastPendingUpdate = newState))\n : (current = current.next = isHiddenUpdate),\n (lastBaseUpdate |= updateLane);\n pendingQueue = pendingQueue.next;\n if (null === pendingQueue)\n if (((pendingQueue = queue.shared.pending), null === pendingQueue))\n break;\n else\n (isHiddenUpdate = pendingQueue),\n (pendingQueue = isHiddenUpdate.next),\n (isHiddenUpdate.next = null),\n (queue.lastBaseUpdate = isHiddenUpdate),\n (queue.shared.pending = null);\n } while (1);\n null === current && (lastPendingUpdate = newState);\n queue.baseState = lastPendingUpdate;\n queue.firstBaseUpdate = firstPendingUpdate;\n queue.lastBaseUpdate = current;\n null === firstBaseUpdate && (queue.shared.lanes = 0);\n workInProgressRootSkippedLanes |= lastBaseUpdate;\n workInProgress$jscomp$0.lanes = lastBaseUpdate;\n workInProgress$jscomp$0.memoizedState = newState;\n }\n}\nfunction callCallback(callback, context) {\n if (\"function\" !== typeof callback)\n throw Error(formatProdErrorMessage(191, callback));\n callback.call(context);\n}\nfunction commitCallbacks(updateQueue, context) {\n var callbacks = updateQueue.callbacks;\n if (null !== callbacks)\n for (\n updateQueue.callbacks = null, updateQueue = 0;\n updateQueue < callbacks.length;\n updateQueue++\n )\n callCallback(callbacks[updateQueue], context);\n}\nvar currentTreeHiddenStackCursor = createCursor(null),\n prevEntangledRenderLanesCursor = createCursor(0);\nfunction pushHiddenContext(fiber, context) {\n fiber = entangledRenderLanes;\n push(prevEntangledRenderLanesCursor, fiber);\n push(currentTreeHiddenStackCursor, context);\n entangledRenderLanes = fiber | context.baseLanes;\n}\nfunction reuseHiddenContextOnStack() {\n push(prevEntangledRenderLanesCursor, entangledRenderLanes);\n push(currentTreeHiddenStackCursor, currentTreeHiddenStackCursor.current);\n}\nfunction popHiddenContext() {\n entangledRenderLanes = prevEntangledRenderLanesCursor.current;\n pop(currentTreeHiddenStackCursor);\n pop(prevEntangledRenderLanesCursor);\n}\nvar suspenseHandlerStackCursor = createCursor(null),\n shellBoundary = null;\nfunction pushPrimaryTreeSuspenseHandler(handler) {\n var current = handler.alternate;\n push(suspenseStackCursor, suspenseStackCursor.current & 1);\n push(suspenseHandlerStackCursor, handler);\n null === shellBoundary &&\n (null === current || null !== currentTreeHiddenStackCursor.current\n ? (shellBoundary = handler)\n : null !== current.memoizedState && (shellBoundary = handler));\n}\nfunction pushDehydratedActivitySuspenseHandler(fiber) {\n push(suspenseStackCursor, suspenseStackCursor.current);\n push(suspenseHandlerStackCursor, fiber);\n null === shellBoundary && (shellBoundary = fiber);\n}\nfunction pushOffscreenSuspenseHandler(fiber) {\n 22 === fiber.tag\n ? (push(suspenseStackCursor, suspenseStackCursor.current),\n push(suspenseHandlerStackCursor, fiber),\n null === shellBoundary && (shellBoundary = fiber))\n : reuseSuspenseHandlerOnStack();\n}\nfunction reuseSuspenseHandlerOnStack() {\n push(suspenseStackCursor, suspenseStackCursor.current);\n push(suspenseHandlerStackCursor, suspenseHandlerStackCursor.current);\n}\nfunction popSuspenseHandler(fiber) {\n pop(suspenseHandlerStackCursor);\n shellBoundary === fiber && (shellBoundary = null);\n pop(suspenseStackCursor);\n}\nvar suspenseStackCursor = createCursor(0);\nfunction pushSuspenseListContext(fiber, newContext) {\n push(suspenseHandlerStackCursor, suspenseHandlerStackCursor.current);\n push(suspenseStackCursor, newContext);\n}\nfunction popSuspenseListContext(fiber) {\n pop(suspenseStackCursor);\n pop(suspenseHandlerStackCursor);\n shellBoundary === fiber && (shellBoundary = null);\n}\nfunction findFirstSuspended(row) {\n for (var node = row; null !== node; ) {\n if (13 === node.tag) {\n var state = node.memoizedState;\n if (\n null !== state &&\n ((state = state.dehydrated),\n null === state ||\n isSuspenseInstancePending(state) ||\n isSuspenseInstanceFallback(state))\n )\n return node;\n } else if (\n 19 === node.tag &&\n \"independent\" !== node.memoizedProps.revealOrder\n ) {\n if (0 !== (node.flags & 128)) return node;\n } else if (null !== node.child) {\n node.child.return = node;\n node = node.child;\n continue;\n }\n if (node === row) break;\n for (; null === node.sibling; ) {\n if (null === node.return || node.return === row) return null;\n node = node.return;\n }\n node.sibling.return = node.return;\n node = node.sibling;\n }\n return null;\n}\nvar renderLanes = 0,\n currentlyRenderingFiber = null,\n currentHook = null,\n workInProgressHook = null,\n didScheduleRenderPhaseUpdate = !1,\n didScheduleRenderPhaseUpdateDuringThisPass = !1,\n shouldDoubleInvokeUserFnsInHooksDEV = !1,\n localIdCounter = 0,\n thenableIndexCounter = 0,\n thenableState = null,\n globalClientIdCounter = 0;\nfunction throwInvalidHookError() {\n throw Error(formatProdErrorMessage(321));\n}\nfunction areHookInputsEqual(nextDeps, prevDeps) {\n if (null === prevDeps) return !1;\n for (var i = 0; i < prevDeps.length && i < nextDeps.length; i++)\n if (!objectIs(nextDeps[i], prevDeps[i])) return !1;\n return !0;\n}\nfunction renderWithHooks(\n current,\n workInProgress,\n Component,\n props,\n secondArg,\n nextRenderLanes\n) {\n renderLanes = nextRenderLanes;\n currentlyRenderingFiber = workInProgress;\n workInProgress.memoizedState = null;\n workInProgress.updateQueue = null;\n workInProgress.lanes = 0;\n ReactSharedInternals.H =\n null === current || null === current.memoizedState\n ? HooksDispatcherOnMount\n : HooksDispatcherOnUpdate;\n shouldDoubleInvokeUserFnsInHooksDEV = !1;\n nextRenderLanes = Component(props, secondArg);\n shouldDoubleInvokeUserFnsInHooksDEV = !1;\n didScheduleRenderPhaseUpdateDuringThisPass &&\n (nextRenderLanes = renderWithHooksAgain(\n workInProgress,\n Component,\n props,\n secondArg\n ));\n finishRenderingHooks(current);\n return nextRenderLanes;\n}\nfunction finishRenderingHooks(current) {\n ReactSharedInternals.H = ContextOnlyDispatcher;\n var didRenderTooFewHooks = null !== currentHook && null !== currentHook.next;\n renderLanes = 0;\n workInProgressHook = currentHook = currentlyRenderingFiber = null;\n didScheduleRenderPhaseUpdate = !1;\n thenableIndexCounter = 0;\n thenableState = null;\n if (didRenderTooFewHooks) throw Error(formatProdErrorMessage(300));\n null === current ||\n didReceiveUpdate ||\n ((current = current.dependencies),\n null !== current &&\n checkIfContextChanged(current) &&\n (didReceiveUpdate = !0));\n}\nfunction renderWithHooksAgain(workInProgress, Component, props, secondArg) {\n currentlyRenderingFiber = workInProgress;\n var numberOfReRenders = 0;\n do {\n didScheduleRenderPhaseUpdateDuringThisPass && (thenableState = null);\n thenableIndexCounter = 0;\n didScheduleRenderPhaseUpdateDuringThisPass = !1;\n if (25 <= numberOfReRenders) throw Error(formatProdErrorMessage(301));\n numberOfReRenders += 1;\n workInProgressHook = currentHook = null;\n if (null != workInProgress.updateQueue) {\n var children = workInProgress.updateQueue;\n children.lastEffect = null;\n children.events = null;\n children.stores = null;\n null != children.memoCache && (children.memoCache.index = 0);\n }\n ReactSharedInternals.H = HooksDispatcherOnRerender;\n children = Component(props, secondArg);\n } while (didScheduleRenderPhaseUpdateDuringThisPass);\n return children;\n}\nfunction TransitionAwareHostComponent() {\n var dispatcher = ReactSharedInternals.H,\n maybeThenable = dispatcher.useState()[0];\n maybeThenable =\n \"function\" === typeof maybeThenable.then\n ? useThenable(maybeThenable)\n : maybeThenable;\n dispatcher = dispatcher.useState()[0];\n (null !== currentHook ? currentHook.memoizedState : null) !== dispatcher &&\n (currentlyRenderingFiber.flags |= 1024);\n return maybeThenable;\n}\nfunction checkDidRenderIdHook() {\n var didRenderIdHook = 0 !== localIdCounter;\n localIdCounter = 0;\n return didRenderIdHook;\n}\nfunction bailoutHooks(current, workInProgress, lanes) {\n workInProgress.updateQueue = current.updateQueue;\n workInProgress.flags &= -2053;\n current.lanes &= ~lanes;\n}\nfunction resetHooksOnUnwind(workInProgress) {\n if (didScheduleRenderPhaseUpdate) {\n for (\n workInProgress = workInProgress.memoizedState;\n null !== workInProgress;\n\n ) {\n var queue = workInProgress.queue;\n null !== queue && (queue.pending = null);\n workInProgress = workInProgress.next;\n }\n didScheduleRenderPhaseUpdate = !1;\n }\n renderLanes = 0;\n workInProgressHook = currentHook = currentlyRenderingFiber = null;\n didScheduleRenderPhaseUpdateDuringThisPass = !1;\n thenableIndexCounter = localIdCounter = 0;\n thenableState = null;\n}\nfunction mountWorkInProgressHook() {\n var hook = {\n memoizedState: null,\n baseState: null,\n baseQueue: null,\n queue: null,\n next: null\n };\n null === workInProgressHook\n ? (currentlyRenderingFiber.memoizedState = workInProgressHook = hook)\n : (workInProgressHook = workInProgressHook.next = hook);\n return workInProgressHook;\n}\nfunction updateWorkInProgressHook() {\n if (null === currentHook) {\n var nextCurrentHook = currentlyRenderingFiber.alternate;\n nextCurrentHook =\n null !== nextCurrentHook ? nextCurrentHook.memoizedState : null;\n } else nextCurrentHook = currentHook.next;\n var nextWorkInProgressHook =\n null === workInProgressHook\n ? currentlyRenderingFiber.memoizedState\n : workInProgressHook.next;\n if (null !== nextWorkInProgressHook)\n (workInProgressHook = nextWorkInProgressHook),\n (currentHook = nextCurrentHook);\n else {\n if (null === nextCurrentHook) {\n if (null === currentlyRenderingFiber.alternate)\n throw Error(formatProdErrorMessage(467));\n throw Error(formatProdErrorMessage(310));\n }\n currentHook = nextCurrentHook;\n nextCurrentHook = {\n memoizedState: currentHook.memoizedState,\n baseState: currentHook.baseState,\n baseQueue: currentHook.baseQueue,\n queue: currentHook.queue,\n next: null\n };\n null === workInProgressHook\n ? (currentlyRenderingFiber.memoizedState = workInProgressHook =\n nextCurrentHook)\n : (workInProgressHook = workInProgressHook.next = nextCurrentHook);\n }\n return workInProgressHook;\n}\nfunction createFunctionComponentUpdateQueue() {\n return { lastEffect: null, events: null, stores: null, memoCache: null };\n}\nfunction useThenable(thenable) {\n var index = thenableIndexCounter;\n thenableIndexCounter += 1;\n null === thenableState && (thenableState = []);\n thenable = trackUsedThenable(thenableState, thenable, index);\n index = currentlyRenderingFiber;\n null ===\n (null === workInProgressHook\n ? index.memoizedState\n : workInProgressHook.next) &&\n ((index = index.alternate),\n (ReactSharedInternals.H =\n null === index || null === index.memoizedState\n ? HooksDispatcherOnMount\n : HooksDispatcherOnUpdate));\n return thenable;\n}\nfunction use(usable) {\n if (null !== usable && \"object\" === typeof usable) {\n if (\"function\" === typeof usable.then) return useThenable(usable);\n if (usable.$$typeof === REACT_CONTEXT_TYPE) return readContext(usable);\n }\n throw Error(formatProdErrorMessage(438, String(usable)));\n}\nfunction useMemoCache(size) {\n var memoCache = null,\n updateQueue = currentlyRenderingFiber.updateQueue;\n null !== updateQueue && (memoCache = updateQueue.memoCache);\n if (null == memoCache) {\n var current = currentlyRenderingFiber.alternate;\n null !== current &&\n ((current = current.updateQueue),\n null !== current &&\n ((current = current.memoCache),\n null != current &&\n (memoCache = {\n data: current.data.map(function (array) {\n return array.slice();\n }),\n index: 0\n })));\n }\n null == memoCache && (memoCache = { data: [], index: 0 });\n null === updateQueue &&\n ((updateQueue = createFunctionComponentUpdateQueue()),\n (currentlyRenderingFiber.updateQueue = updateQueue));\n updateQueue.memoCache = memoCache;\n updateQueue = memoCache.data[memoCache.index];\n if (void 0 === updateQueue)\n for (\n updateQueue = memoCache.data[memoCache.index] = Array(size), current = 0;\n current < size;\n current++\n )\n updateQueue[current] = REACT_MEMO_CACHE_SENTINEL;\n memoCache.index++;\n return updateQueue;\n}\nfunction basicStateReducer(state, action) {\n return \"function\" === typeof action ? action(state) : action;\n}\nfunction updateReducer(reducer) {\n var hook = updateWorkInProgressHook();\n return updateReducerImpl(hook, currentHook, reducer);\n}\nfunction updateReducerImpl(hook, current, reducer) {\n var queue = hook.queue;\n if (null === queue) throw Error(formatProdErrorMessage(311));\n queue.lastRenderedReducer = reducer;\n var baseQueue = hook.baseQueue,\n pendingQueue = queue.pending;\n if (null !== pendingQueue) {\n if (null !== baseQueue) {\n var baseFirst = baseQueue.next;\n baseQueue.next = pendingQueue.next;\n pendingQueue.next = baseFirst;\n }\n current.baseQueue = baseQueue = pendingQueue;\n queue.pending = null;\n }\n pendingQueue = hook.baseState;\n if (null === baseQueue) hook.memoizedState = pendingQueue;\n else {\n current = baseQueue.next;\n var newBaseQueueFirst = (baseFirst = null),\n newBaseQueueLast = null,\n update = current,\n didReadFromEntangledAsyncAction$62 = !1;\n do {\n var updateLane = update.lane & -536870913;\n if (\n updateLane !== update.lane\n ? (workInProgressRootRenderLanes & updateLane) === updateLane\n : (renderLanes & updateLane) === updateLane\n ) {\n var revertLane = update.revertLane;\n if (0 === revertLane)\n null !== newBaseQueueLast &&\n (newBaseQueueLast = newBaseQueueLast.next =\n {\n lane: 0,\n revertLane: 0,\n gesture: null,\n action: update.action,\n hasEagerState: update.hasEagerState,\n eagerState: update.eagerState,\n next: null\n }),\n updateLane === currentEntangledLane &&\n (didReadFromEntangledAsyncAction$62 = !0);\n else if ((renderLanes & revertLane) === revertLane) {\n update = update.next;\n revertLane === currentEntangledLane &&\n (didReadFromEntangledAsyncAction$62 = !0);\n continue;\n } else\n (updateLane = {\n lane: 0,\n revertLane: update.revertLane,\n gesture: null,\n action: update.action,\n hasEagerState: update.hasEagerState,\n eagerState: update.eagerState,\n next: null\n }),\n null === newBaseQueueLast\n ? ((newBaseQueueFirst = newBaseQueueLast = updateLane),\n (baseFirst = pendingQueue))\n : (newBaseQueueLast = newBaseQueueLast.next = updateLane),\n (currentlyRenderingFiber.lanes |= revertLane),\n (workInProgressRootSkippedLanes |= revertLane);\n updateLane = update.action;\n shouldDoubleInvokeUserFnsInHooksDEV &&\n reducer(pendingQueue, updateLane);\n pendingQueue = update.hasEagerState\n ? update.eagerState\n : reducer(pendingQueue, updateLane);\n } else\n (revertLane = {\n lane: updateLane,\n revertLane: update.revertLane,\n gesture: update.gesture,\n action: update.action,\n hasEagerState: update.hasEagerState,\n eagerState: update.eagerState,\n next: null\n }),\n null === newBaseQueueLast\n ? ((newBaseQueueFirst = newBaseQueueLast = revertLane),\n (baseFirst = pendingQueue))\n : (newBaseQueueLast = newBaseQueueLast.next = revertLane),\n (currentlyRenderingFiber.lanes |= updateLane),\n (workInProgressRootSkippedLanes |= updateLane);\n update = update.next;\n } while (null !== update && update !== current);\n null === newBaseQueueLast\n ? (baseFirst = pendingQueue)\n : (newBaseQueueLast.next = newBaseQueueFirst);\n if (\n !objectIs(pendingQueue, hook.memoizedState) &&\n ((didReceiveUpdate = !0),\n didReadFromEntangledAsyncAction$62 &&\n ((reducer = currentEntangledActionThenable), null !== reducer))\n )\n throw reducer;\n hook.memoizedState = pendingQueue;\n hook.baseState = baseFirst;\n hook.baseQueue = newBaseQueueLast;\n queue.lastRenderedState = pendingQueue;\n }\n null === baseQueue && (queue.lanes = 0);\n return [hook.memoizedState, queue.dispatch];\n}\nfunction rerenderReducer(reducer) {\n var hook = updateWorkInProgressHook(),\n queue = hook.queue;\n if (null === queue) throw Error(formatProdErrorMessage(311));\n queue.lastRenderedReducer = reducer;\n var dispatch = queue.dispatch,\n lastRenderPhaseUpdate = queue.pending,\n newState = hook.memoizedState;\n if (null !== lastRenderPhaseUpdate) {\n queue.pending = null;\n var update = (lastRenderPhaseUpdate = lastRenderPhaseUpdate.next);\n do (newState = reducer(newState, update.action)), (update = update.next);\n while (update !== lastRenderPhaseUpdate);\n objectIs(newState, hook.memoizedState) || (didReceiveUpdate = !0);\n hook.memoizedState = newState;\n null === hook.baseQueue && (hook.baseState = newState);\n queue.lastRenderedState = newState;\n }\n return [newState, dispatch];\n}\nfunction updateSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) {\n var fiber = currentlyRenderingFiber,\n hook = updateWorkInProgressHook(),\n isHydrating$jscomp$0 = isHydrating;\n if (isHydrating$jscomp$0) {\n if (void 0 === getServerSnapshot) throw Error(formatProdErrorMessage(407));\n getServerSnapshot = getServerSnapshot();\n } else getServerSnapshot = getSnapshot();\n var snapshotChanged = !objectIs(\n (currentHook || hook).memoizedState,\n getServerSnapshot\n );\n snapshotChanged &&\n ((hook.memoizedState = getServerSnapshot), (didReceiveUpdate = !0));\n hook = hook.queue;\n updateEffect(subscribeToStore.bind(null, fiber, hook, subscribe), [\n subscribe\n ]);\n if (\n hook.getSnapshot !== getSnapshot ||\n snapshotChanged ||\n (null !== workInProgressHook && workInProgressHook.memoizedState.tag & 1)\n ) {\n fiber.flags |= 2048;\n pushSimpleEffect(\n 9,\n { destroy: void 0 },\n updateStoreInstance.bind(\n null,\n fiber,\n hook,\n getServerSnapshot,\n getSnapshot\n ),\n null\n );\n if (null === workInProgressRoot) throw Error(formatProdErrorMessage(349));\n isHydrating$jscomp$0 ||\n 0 !== (renderLanes & 127) ||\n pushStoreConsistencyCheck(fiber, getSnapshot, getServerSnapshot);\n }\n return getServerSnapshot;\n}\nfunction pushStoreConsistencyCheck(fiber, getSnapshot, renderedSnapshot) {\n fiber.flags |= 16384;\n fiber = { getSnapshot: getSnapshot, value: renderedSnapshot };\n getSnapshot = currentlyRenderingFiber.updateQueue;\n null === getSnapshot\n ? ((getSnapshot = createFunctionComponentUpdateQueue()),\n (currentlyRenderingFiber.updateQueue = getSnapshot),\n (getSnapshot.stores = [fiber]))\n : ((renderedSnapshot = getSnapshot.stores),\n null === renderedSnapshot\n ? (getSnapshot.stores = [fiber])\n : renderedSnapshot.push(fiber));\n}\nfunction updateStoreInstance(fiber, inst, nextSnapshot, getSnapshot) {\n inst.value = nextSnapshot;\n inst.getSnapshot = getSnapshot;\n checkIfSnapshotChanged(inst) && forceStoreRerender(fiber);\n}\nfunction subscribeToStore(fiber, inst, subscribe) {\n return subscribe(function () {\n checkIfSnapshotChanged(inst) && forceStoreRerender(fiber);\n });\n}\nfunction checkIfSnapshotChanged(inst) {\n var latestGetSnapshot = inst.getSnapshot;\n inst = inst.value;\n try {\n var nextValue = latestGetSnapshot();\n return !objectIs(inst, nextValue);\n } catch (error) {\n return !0;\n }\n}\nfunction forceStoreRerender(fiber) {\n var root = enqueueConcurrentRenderForLane(fiber, 2);\n null !== root && scheduleUpdateOnFiber(root, fiber, 2);\n}\nfunction mountStateImpl(initialState) {\n var hook = mountWorkInProgressHook();\n if (\"function\" === typeof initialState) {\n var initialStateInitializer = initialState;\n initialState = initialStateInitializer();\n if (shouldDoubleInvokeUserFnsInHooksDEV) {\n setIsStrictModeForDevtools(!0);\n try {\n initialStateInitializer();\n } finally {\n setIsStrictModeForDevtools(!1);\n }\n }\n }\n hook.memoizedState = hook.baseState = initialState;\n hook.queue = {\n pending: null,\n lanes: 0,\n dispatch: null,\n lastRenderedReducer: basicStateReducer,\n lastRenderedState: initialState\n };\n return hook;\n}\nfunction updateOptimisticImpl(hook, current, passthrough, reducer) {\n hook.baseState = passthrough;\n return updateReducerImpl(\n hook,\n currentHook,\n \"function\" === typeof reducer ? reducer : basicStateReducer\n );\n}\nfunction dispatchActionState(\n fiber,\n actionQueue,\n setPendingState,\n setState,\n payload\n) {\n if (isRenderPhaseUpdate(fiber)) throw Error(formatProdErrorMessage(485));\n fiber = actionQueue.action;\n if (null !== fiber) {\n var actionNode = {\n payload: payload,\n action: fiber,\n next: null,\n isTransition: !0,\n status: \"pending\",\n value: null,\n reason: null,\n listeners: [],\n then: function (listener) {\n actionNode.listeners.push(listener);\n }\n };\n null !== ReactSharedInternals.T\n ? setPendingState(!0)\n : (actionNode.isTransition = !1);\n setState(actionNode);\n setPendingState = actionQueue.pending;\n null === setPendingState\n ? ((actionNode.next = actionQueue.pending = actionNode),\n runActionStateAction(actionQueue, actionNode))\n : ((actionNode.next = setPendingState.next),\n (actionQueue.pending = setPendingState.next = actionNode));\n }\n}\nfunction runActionStateAction(actionQueue, node) {\n var action = node.action,\n payload = node.payload,\n prevState = actionQueue.state;\n if (node.isTransition) {\n var prevTransition = ReactSharedInternals.T,\n currentTransition = {};\n currentTransition.types =\n null !== prevTransition ? prevTransition.types : null;\n ReactSharedInternals.T = currentTransition;\n try {\n var returnValue = action(prevState, payload),\n onStartTransitionFinish = ReactSharedInternals.S;\n null !== onStartTransitionFinish &&\n onStartTransitionFinish(currentTransition, returnValue);\n handleActionReturnValue(actionQueue, node, returnValue);\n } catch (error) {\n onActionError(actionQueue, node, error);\n } finally {\n null !== prevTransition &&\n null !== currentTransition.types &&\n (prevTransition.types = currentTransition.types),\n (ReactSharedInternals.T = prevTransition);\n }\n } else\n try {\n (prevTransition = action(prevState, payload)),\n handleActionReturnValue(actionQueue, node, prevTransition);\n } catch (error$68) {\n onActionError(actionQueue, node, error$68);\n }\n}\nfunction handleActionReturnValue(actionQueue, node, returnValue) {\n null !== returnValue &&\n \"object\" === typeof returnValue &&\n \"function\" === typeof returnValue.then\n ? returnValue.then(\n function (nextState) {\n onActionSuccess(actionQueue, node, nextState);\n },\n function (error) {\n return onActionError(actionQueue, node, error);\n }\n )\n : onActionSuccess(actionQueue, node, returnValue);\n}\nfunction onActionSuccess(actionQueue, actionNode, nextState) {\n actionNode.status = \"fulfilled\";\n actionNode.value = nextState;\n notifyActionListeners(actionNode);\n actionQueue.state = nextState;\n actionNode = actionQueue.pending;\n null !== actionNode &&\n ((nextState = actionNode.next),\n nextState === actionNode\n ? (actionQueue.pending = null)\n : ((nextState = nextState.next),\n (actionNode.next = nextState),\n runActionStateAction(actionQueue, nextState)));\n}\nfunction onActionError(actionQueue, actionNode, error) {\n var last = actionQueue.pending;\n actionQueue.pending = null;\n if (null !== last) {\n last = last.next;\n do\n (actionNode.status = \"rejected\"),\n (actionNode.reason = error),\n notifyActionListeners(actionNode),\n (actionNode = actionNode.next);\n while (actionNode !== last);\n }\n actionQueue.action = null;\n}\nfunction notifyActionListeners(actionNode) {\n actionNode = actionNode.listeners;\n for (var i = 0; i < actionNode.length; i++) (0, actionNode[i])();\n}\nfunction actionStateReducer(oldState, newState) {\n return newState;\n}\nfunction mountActionState(action, initialStateProp) {\n if (isHydrating) {\n var ssrFormState = workInProgressRoot.formState;\n if (null !== ssrFormState) {\n a: {\n var JSCompiler_inline_result = currentlyRenderingFiber;\n if (isHydrating) {\n if (nextHydratableInstance) {\n b: {\n var JSCompiler_inline_result$jscomp$0 = nextHydratableInstance;\n for (\n var inRootOrSingleton = rootOrSingletonContext;\n 8 !== JSCompiler_inline_result$jscomp$0.nodeType;\n\n ) {\n if (!inRootOrSingleton) {\n JSCompiler_inline_result$jscomp$0 = null;\n break b;\n }\n JSCompiler_inline_result$jscomp$0 = getNextHydratable(\n JSCompiler_inline_result$jscomp$0.nextSibling\n );\n if (null === JSCompiler_inline_result$jscomp$0) {\n JSCompiler_inline_result$jscomp$0 = null;\n break b;\n }\n }\n inRootOrSingleton = JSCompiler_inline_result$jscomp$0.data;\n JSCompiler_inline_result$jscomp$0 =\n \"F!\" === inRootOrSingleton || \"F\" === inRootOrSingleton\n ? JSCompiler_inline_result$jscomp$0\n : null;\n }\n if (JSCompiler_inline_result$jscomp$0) {\n nextHydratableInstance = getNextHydratable(\n JSCompiler_inline_result$jscomp$0.nextSibling\n );\n JSCompiler_inline_result =\n \"F!\" === JSCompiler_inline_result$jscomp$0.data;\n break a;\n }\n }\n throwOnHydrationMismatch(JSCompiler_inline_result);\n }\n JSCompiler_inline_result = !1;\n }\n JSCompiler_inline_result && (initialStateProp = ssrFormState[0]);\n }\n }\n ssrFormState = mountWorkInProgressHook();\n ssrFormState.memoizedState = ssrFormState.baseState = initialStateProp;\n JSCompiler_inline_result = {\n pending: null,\n lanes: 0,\n dispatch: null,\n lastRenderedReducer: actionStateReducer,\n lastRenderedState: initialStateProp\n };\n ssrFormState.queue = JSCompiler_inline_result;\n ssrFormState = dispatchSetState.bind(\n null,\n currentlyRenderingFiber,\n JSCompiler_inline_result\n );\n JSCompiler_inline_result.dispatch = ssrFormState;\n JSCompiler_inline_result = mountStateImpl(!1);\n inRootOrSingleton = dispatchOptimisticSetState.bind(\n null,\n currentlyRenderingFiber,\n !1,\n JSCompiler_inline_result.queue\n );\n JSCompiler_inline_result = mountWorkInProgressHook();\n JSCompiler_inline_result$jscomp$0 = {\n state: initialStateProp,\n dispatch: null,\n action: action,\n pending: null\n };\n JSCompiler_inline_result.queue = JSCompiler_inline_result$jscomp$0;\n ssrFormState = dispatchActionState.bind(\n null,\n currentlyRenderingFiber,\n JSCompiler_inline_result$jscomp$0,\n inRootOrSingleton,\n ssrFormState\n );\n JSCompiler_inline_result$jscomp$0.dispatch = ssrFormState;\n JSCompiler_inline_result.memoizedState = action;\n return [initialStateProp, ssrFormState, !1];\n}\nfunction updateActionState(action) {\n var stateHook = updateWorkInProgressHook();\n return updateActionStateImpl(stateHook, currentHook, action);\n}\nfunction updateActionStateImpl(stateHook, currentStateHook, action) {\n currentStateHook = updateReducerImpl(\n stateHook,\n currentStateHook,\n actionStateReducer\n )[0];\n stateHook = updateReducer(basicStateReducer)[0];\n if (\n \"object\" === typeof currentStateHook &&\n null !== currentStateHook &&\n \"function\" === typeof currentStateHook.then\n )\n try {\n var state = useThenable(currentStateHook);\n } catch (x) {\n if (x === SuspenseException) throw SuspenseActionException;\n throw x;\n }\n else state = currentStateHook;\n currentStateHook = updateWorkInProgressHook();\n var actionQueue = currentStateHook.queue,\n dispatch = actionQueue.dispatch;\n action !== currentStateHook.memoizedState &&\n ((currentlyRenderingFiber.flags |= 2048),\n pushSimpleEffect(\n 9,\n { destroy: void 0 },\n actionStateActionEffect.bind(null, actionQueue, action),\n null\n ));\n return [state, dispatch, stateHook];\n}\nfunction actionStateActionEffect(actionQueue, action) {\n actionQueue.action = action;\n}\nfunction rerenderActionState(action) {\n var stateHook = updateWorkInProgressHook(),\n currentStateHook = currentHook;\n if (null !== currentStateHook)\n return updateActionStateImpl(stateHook, currentStateHook, action);\n updateWorkInProgressHook();\n stateHook = stateHook.memoizedState;\n currentStateHook = updateWorkInProgressHook();\n var dispatch = currentStateHook.queue.dispatch;\n currentStateHook.memoizedState = action;\n return [stateHook, dispatch, !1];\n}\nfunction pushSimpleEffect(tag, inst, create, deps) {\n tag = { tag: tag, create: create, deps: deps, inst: inst, next: null };\n inst = currentlyRenderingFiber.updateQueue;\n null === inst &&\n ((inst = createFunctionComponentUpdateQueue()),\n (currentlyRenderingFiber.updateQueue = inst));\n create = inst.lastEffect;\n null === create\n ? (inst.lastEffect = tag.next = tag)\n : ((deps = create.next),\n (create.next = tag),\n (tag.next = deps),\n (inst.lastEffect = tag));\n return tag;\n}\nfunction updateRef() {\n return updateWorkInProgressHook().memoizedState;\n}\nfunction mountEffectImpl(fiberFlags, hookFlags, create, deps) {\n var hook = mountWorkInProgressHook();\n currentlyRenderingFiber.flags |= fiberFlags;\n hook.memoizedState = pushSimpleEffect(\n 1 | hookFlags,\n { destroy: void 0 },\n create,\n void 0 === deps ? null : deps\n );\n}\nfunction updateEffectImpl(fiberFlags, hookFlags, create, deps) {\n var hook = updateWorkInProgressHook();\n deps = void 0 === deps ? null : deps;\n var inst = hook.memoizedState.inst;\n null !== currentHook &&\n null !== deps &&\n areHookInputsEqual(deps, currentHook.memoizedState.deps)\n ? (hook.memoizedState = pushSimpleEffect(hookFlags, inst, create, deps))\n : ((currentlyRenderingFiber.flags |= fiberFlags),\n (hook.memoizedState = pushSimpleEffect(\n 1 | hookFlags,\n inst,\n create,\n deps\n )));\n}\nfunction mountEffect(create, deps) {\n mountEffectImpl(8390656, 8, create, deps);\n}\nfunction updateEffect(create, deps) {\n updateEffectImpl(2048, 8, create, deps);\n}\nfunction useEffectEventImpl(payload) {\n currentlyRenderingFiber.flags |= 4;\n var componentUpdateQueue = currentlyRenderingFiber.updateQueue;\n if (null === componentUpdateQueue)\n (componentUpdateQueue = createFunctionComponentUpdateQueue()),\n (currentlyRenderingFiber.updateQueue = componentUpdateQueue),\n (componentUpdateQueue.events = [payload]);\n else {\n var events = componentUpdateQueue.events;\n null === events\n ? (componentUpdateQueue.events = [payload])\n : events.push(payload);\n }\n}\nfunction updateEvent(callback) {\n var ref = updateWorkInProgressHook().memoizedState;\n useEffectEventImpl({ ref: ref, nextImpl: callback });\n return function () {\n if (0 !== (executionContext & 2)) throw Error(formatProdErrorMessage(440));\n return ref.impl.apply(void 0, arguments);\n };\n}\nfunction updateInsertionEffect(create, deps) {\n return updateEffectImpl(4, 2, create, deps);\n}\nfunction updateLayoutEffect(create, deps) {\n return updateEffectImpl(4, 4, create, deps);\n}\nfunction imperativeHandleEffect(create, ref) {\n if (\"function\" === typeof ref) {\n create = create();\n var refCleanup = ref(create);\n return function () {\n \"function\" === typeof refCleanup ? refCleanup() : ref(null);\n };\n }\n if (null !== ref && void 0 !== ref)\n return (\n (create = create()),\n (ref.current = create),\n function () {\n ref.current = null;\n }\n );\n}\nfunction updateImperativeHandle(ref, create, deps) {\n deps = null !== deps && void 0 !== deps ? deps.concat([ref]) : null;\n updateEffectImpl(4, 4, imperativeHandleEffect.bind(null, create, ref), deps);\n}\nfunction mountDebugValue() {}\nfunction updateCallback(callback, deps) {\n var hook = updateWorkInProgressHook();\n deps = void 0 === deps ? null : deps;\n var prevState = hook.memoizedState;\n if (null !== deps && areHookInputsEqual(deps, prevState[1]))\n return prevState[0];\n hook.memoizedState = [callback, deps];\n return callback;\n}\nfunction updateMemo(nextCreate, deps) {\n var hook = updateWorkInProgressHook();\n deps = void 0 === deps ? null : deps;\n var prevState = hook.memoizedState;\n if (null !== deps && areHookInputsEqual(deps, prevState[1]))\n return prevState[0];\n prevState = nextCreate();\n if (shouldDoubleInvokeUserFnsInHooksDEV) {\n setIsStrictModeForDevtools(!0);\n try {\n nextCreate();\n } finally {\n setIsStrictModeForDevtools(!1);\n }\n }\n hook.memoizedState = [prevState, deps];\n return prevState;\n}\nfunction mountDeferredValueImpl(hook, value, initialValue) {\n if (\n void 0 === initialValue ||\n (0 !== (renderLanes & 1073741824) &&\n 0 === (workInProgressRootRenderLanes & 261930))\n )\n return (hook.memoizedState = value);\n hook.memoizedState = initialValue;\n hook = requestDeferredLane();\n currentlyRenderingFiber.lanes |= hook;\n workInProgressRootSkippedLanes |= hook;\n return initialValue;\n}\nfunction updateDeferredValueImpl(hook, prevValue, value, initialValue) {\n if (objectIs(value, prevValue)) return value;\n if (null !== currentTreeHiddenStackCursor.current)\n return (\n (hook = mountDeferredValueImpl(hook, value, initialValue)),\n objectIs(hook, prevValue) || (didReceiveUpdate = !0),\n hook\n );\n if (\n 0 === (renderLanes & 42) ||\n (0 !== (renderLanes & 1073741824) &&\n 0 === (workInProgressRootRenderLanes & 261930))\n )\n return (didReceiveUpdate = !0), (hook.memoizedState = value);\n hook = requestDeferredLane();\n currentlyRenderingFiber.lanes |= hook;\n workInProgressRootSkippedLanes |= hook;\n return prevValue;\n}\nfunction startTransition(fiber, queue, pendingState, finishedState, callback) {\n var previousPriority = ReactDOMSharedInternals.p;\n ReactDOMSharedInternals.p =\n 0 !== previousPriority && 8 > previousPriority ? previousPriority : 8;\n var prevTransition = ReactSharedInternals.T,\n currentTransition = {};\n currentTransition.types =\n null !== prevTransition ? prevTransition.types : null;\n ReactSharedInternals.T = currentTransition;\n dispatchOptimisticSetState(fiber, !1, queue, pendingState);\n try {\n var returnValue = callback(),\n onStartTransitionFinish = ReactSharedInternals.S;\n null !== onStartTransitionFinish &&\n onStartTransitionFinish(currentTransition, returnValue);\n if (\n null !== returnValue &&\n \"object\" === typeof returnValue &&\n \"function\" === typeof returnValue.then\n ) {\n var thenableForFinishedState = chainThenableValue(\n returnValue,\n finishedState\n );\n dispatchSetStateInternal(\n fiber,\n queue,\n thenableForFinishedState,\n requestUpdateLane(fiber)\n );\n } else\n dispatchSetStateInternal(\n fiber,\n queue,\n finishedState,\n requestUpdateLane(fiber)\n );\n } catch (error) {\n dispatchSetStateInternal(\n fiber,\n queue,\n { then: function () {}, status: \"rejected\", reason: error },\n requestUpdateLane()\n );\n } finally {\n (ReactDOMSharedInternals.p = previousPriority),\n null !== prevTransition &&\n null !== currentTransition.types &&\n (prevTransition.types = currentTransition.types),\n (ReactSharedInternals.T = prevTransition);\n }\n}\nfunction noop() {}\nfunction startHostTransition(formFiber, pendingState, action, formData) {\n if (5 !== formFiber.tag) throw Error(formatProdErrorMessage(476));\n var queue = ensureFormComponentIsStateful(formFiber).queue;\n startTransition(\n formFiber,\n queue,\n pendingState,\n sharedNotPendingObject,\n null === action\n ? noop\n : function () {\n requestFormReset$1(formFiber);\n return action(formData);\n }\n );\n}\nfunction ensureFormComponentIsStateful(formFiber) {\n var existingStateHook = formFiber.memoizedState;\n if (null !== existingStateHook) return existingStateHook;\n existingStateHook = {\n memoizedState: sharedNotPendingObject,\n baseState: sharedNotPendingObject,\n baseQueue: null,\n queue: {\n pending: null,\n lanes: 0,\n dispatch: null,\n lastRenderedReducer: basicStateReducer,\n lastRenderedState: sharedNotPendingObject\n },\n next: null\n };\n var initialResetState = {};\n existingStateHook.next = {\n memoizedState: initialResetState,\n baseState: initialResetState,\n baseQueue: null,\n queue: {\n pending: null,\n lanes: 0,\n dispatch: null,\n lastRenderedReducer: basicStateReducer,\n lastRenderedState: initialResetState\n },\n next: null\n };\n formFiber.memoizedState = existingStateHook;\n formFiber = formFiber.alternate;\n null !== formFiber && (formFiber.memoizedState = existingStateHook);\n return existingStateHook;\n}\nfunction requestFormReset$1(formFiber) {\n var stateHook = ensureFormComponentIsStateful(formFiber);\n null === stateHook.next && (stateHook = formFiber.alternate.memoizedState);\n dispatchSetStateInternal(\n formFiber,\n stateHook.next.queue,\n {},\n requestUpdateLane()\n );\n}\nfunction useHostTransitionStatus() {\n return readContext(HostTransitionContext);\n}\nfunction updateId() {\n return updateWorkInProgressHook().memoizedState;\n}\nfunction updateRefresh() {\n return updateWorkInProgressHook().memoizedState;\n}\nfunction refreshCache(fiber) {\n for (var provider = fiber.return; null !== provider; ) {\n switch (provider.tag) {\n case 24:\n case 3:\n var lane = requestUpdateLane();\n fiber = createUpdate(lane);\n var root$71 = enqueueUpdate(provider, fiber, lane);\n null !== root$71 &&\n (scheduleUpdateOnFiber(root$71, provider, lane),\n entangleTransitions(root$71, provider, lane));\n provider = { cache: createCache() };\n fiber.payload = provider;\n return;\n }\n provider = provider.return;\n }\n}\nfunction dispatchReducerAction(fiber, queue, action) {\n var lane = requestUpdateLane();\n action = {\n lane: lane,\n revertLane: 0,\n gesture: null,\n action: action,\n hasEagerState: !1,\n eagerState: null,\n next: null\n };\n isRenderPhaseUpdate(fiber)\n ? enqueueRenderPhaseUpdate(queue, action)\n : ((action = enqueueConcurrentHookUpdate(fiber, queue, action, lane)),\n null !== action &&\n (scheduleUpdateOnFiber(action, fiber, lane),\n entangleTransitionUpdate(action, queue, lane)));\n}\nfunction dispatchSetState(fiber, queue, action) {\n var lane = requestUpdateLane();\n dispatchSetStateInternal(fiber, queue, action, lane);\n}\nfunction dispatchSetStateInternal(fiber, queue, action, lane) {\n var update = {\n lane: lane,\n revertLane: 0,\n gesture: null,\n action: action,\n hasEagerState: !1,\n eagerState: null,\n next: null\n };\n if (isRenderPhaseUpdate(fiber)) enqueueRenderPhaseUpdate(queue, update);\n else {\n var alternate = fiber.alternate;\n if (\n 0 === fiber.lanes &&\n (null === alternate || 0 === alternate.lanes) &&\n ((alternate = queue.lastRenderedReducer), null !== alternate)\n )\n try {\n var currentState = queue.lastRenderedState,\n eagerState = alternate(currentState, action);\n update.hasEagerState = !0;\n update.eagerState = eagerState;\n if (objectIs(eagerState, currentState))\n return (\n enqueueUpdate$1(fiber, queue, update, 0),\n null === workInProgressRoot && finishQueueingConcurrentUpdates(),\n !1\n );\n } catch (error) {\n } finally {\n }\n action = enqueueConcurrentHookUpdate(fiber, queue, update, lane);\n if (null !== action)\n return (\n scheduleUpdateOnFiber(action, fiber, lane),\n entangleTransitionUpdate(action, queue, lane),\n !0\n );\n }\n return !1;\n}\nfunction dispatchOptimisticSetState(fiber, throwIfDuringRender, queue, action) {\n action = {\n lane: 2,\n revertLane: requestTransitionLane(),\n gesture: null,\n action: action,\n hasEagerState: !1,\n eagerState: null,\n next: null\n };\n if (isRenderPhaseUpdate(fiber)) {\n if (throwIfDuringRender) throw Error(formatProdErrorMessage(479));\n } else\n (throwIfDuringRender = enqueueConcurrentHookUpdate(\n fiber,\n queue,\n action,\n 2\n )),\n null !== throwIfDuringRender &&\n scheduleUpdateOnFiber(throwIfDuringRender, fiber, 2);\n}\nfunction isRenderPhaseUpdate(fiber) {\n var alternate = fiber.alternate;\n return (\n fiber === currentlyRenderingFiber ||\n (null !== alternate && alternate === currentlyRenderingFiber)\n );\n}\nfunction enqueueRenderPhaseUpdate(queue, update) {\n didScheduleRenderPhaseUpdateDuringThisPass = didScheduleRenderPhaseUpdate =\n !0;\n var pending = queue.pending;\n null === pending\n ? (update.next = update)\n : ((update.next = pending.next), (pending.next = update));\n queue.pending = update;\n}\nfunction entangleTransitionUpdate(root, queue, lane) {\n if (0 !== (lane & 4194048)) {\n var queueLanes = queue.lanes;\n queueLanes &= root.pendingLanes;\n lane |= queueLanes;\n queue.lanes = lane;\n markRootEntangled(root, lane);\n }\n}\nvar ContextOnlyDispatcher = {\n readContext: readContext,\n use: use,\n useCallback: throwInvalidHookError,\n useContext: throwInvalidHookError,\n useEffect: throwInvalidHookError,\n useImperativeHandle: throwInvalidHookError,\n useLayoutEffect: throwInvalidHookError,\n useInsertionEffect: throwInvalidHookError,\n useMemo: throwInvalidHookError,\n useReducer: throwInvalidHookError,\n useRef: throwInvalidHookError,\n useState: throwInvalidHookError,\n useDebugValue: throwInvalidHookError,\n useDeferredValue: throwInvalidHookError,\n useTransition: throwInvalidHookError,\n useSyncExternalStore: throwInvalidHookError,\n useId: throwInvalidHookError,\n useHostTransitionStatus: throwInvalidHookError,\n useFormState: throwInvalidHookError,\n useActionState: throwInvalidHookError,\n useOptimistic: throwInvalidHookError,\n useMemoCache: throwInvalidHookError,\n useCacheRefresh: throwInvalidHookError\n};\nContextOnlyDispatcher.useEffectEvent = throwInvalidHookError;\nvar HooksDispatcherOnMount = {\n readContext: readContext,\n use: use,\n useCallback: function (callback, deps) {\n mountWorkInProgressHook().memoizedState = [\n callback,\n void 0 === deps ? null : deps\n ];\n return callback;\n },\n useContext: readContext,\n useEffect: mountEffect,\n useImperativeHandle: function (ref, create, deps) {\n deps = null !== deps && void 0 !== deps ? deps.concat([ref]) : null;\n mountEffectImpl(\n 4194308,\n 4,\n imperativeHandleEffect.bind(null, create, ref),\n deps\n );\n },\n useLayoutEffect: function (create, deps) {\n return mountEffectImpl(4194308, 4, create, deps);\n },\n useInsertionEffect: function (create, deps) {\n mountEffectImpl(4, 2, create, deps);\n },\n useMemo: function (nextCreate, deps) {\n var hook = mountWorkInProgressHook();\n deps = void 0 === deps ? null : deps;\n var nextValue = nextCreate();\n if (shouldDoubleInvokeUserFnsInHooksDEV) {\n setIsStrictModeForDevtools(!0);\n try {\n nextCreate();\n } finally {\n setIsStrictModeForDevtools(!1);\n }\n }\n hook.memoizedState = [nextValue, deps];\n return nextValue;\n },\n useReducer: function (reducer, initialArg, init) {\n var hook = mountWorkInProgressHook();\n if (void 0 !== init) {\n var initialState = init(initialArg);\n if (shouldDoubleInvokeUserFnsInHooksDEV) {\n setIsStrictModeForDevtools(!0);\n try {\n init(initialArg);\n } finally {\n setIsStrictModeForDevtools(!1);\n }\n }\n } else initialState = initialArg;\n hook.memoizedState = hook.baseState = initialState;\n reducer = {\n pending: null,\n lanes: 0,\n dispatch: null,\n lastRenderedReducer: reducer,\n lastRenderedState: initialState\n };\n hook.queue = reducer;\n reducer = reducer.dispatch = dispatchReducerAction.bind(\n null,\n currentlyRenderingFiber,\n reducer\n );\n return [hook.memoizedState, reducer];\n },\n useRef: function (initialValue) {\n var hook = mountWorkInProgressHook();\n initialValue = { current: initialValue };\n return (hook.memoizedState = initialValue);\n },\n useState: function (initialState) {\n initialState = mountStateImpl(initialState);\n var queue = initialState.queue,\n dispatch = dispatchSetState.bind(null, currentlyRenderingFiber, queue);\n queue.dispatch = dispatch;\n return [initialState.memoizedState, dispatch];\n },\n useDebugValue: mountDebugValue,\n useDeferredValue: function (value, initialValue) {\n var hook = mountWorkInProgressHook();\n return mountDeferredValueImpl(hook, value, initialValue);\n },\n useTransition: function () {\n var stateHook = mountStateImpl(!1);\n stateHook = startTransition.bind(\n null,\n currentlyRenderingFiber,\n stateHook.queue,\n !0,\n !1\n );\n mountWorkInProgressHook().memoizedState = stateHook;\n return [!1, stateHook];\n },\n useSyncExternalStore: function (subscribe, getSnapshot, getServerSnapshot) {\n var fiber = currentlyRenderingFiber,\n hook = mountWorkInProgressHook();\n if (isHydrating) {\n if (void 0 === getServerSnapshot)\n throw Error(formatProdErrorMessage(407));\n getServerSnapshot = getServerSnapshot();\n } else {\n getServerSnapshot = getSnapshot();\n if (null === workInProgressRoot)\n throw Error(formatProdErrorMessage(349));\n 0 !== (workInProgressRootRenderLanes & 127) ||\n pushStoreConsistencyCheck(fiber, getSnapshot, getServerSnapshot);\n }\n hook.memoizedState = getServerSnapshot;\n var inst = { value: getServerSnapshot, getSnapshot: getSnapshot };\n hook.queue = inst;\n mountEffect(subscribeToStore.bind(null, fiber, inst, subscribe), [\n subscribe\n ]);\n fiber.flags |= 2048;\n pushSimpleEffect(\n 9,\n { destroy: void 0 },\n updateStoreInstance.bind(\n null,\n fiber,\n inst,\n getServerSnapshot,\n getSnapshot\n ),\n null\n );\n return getServerSnapshot;\n },\n useId: function () {\n var hook = mountWorkInProgressHook(),\n identifierPrefix = workInProgressRoot.identifierPrefix;\n if (isHydrating) {\n var JSCompiler_inline_result = treeContextOverflow;\n var idWithLeadingBit = treeContextId;\n JSCompiler_inline_result =\n (\n idWithLeadingBit & ~(1 << (32 - clz32(idWithLeadingBit) - 1))\n ).toString(32) + JSCompiler_inline_result;\n identifierPrefix =\n \"_\" + identifierPrefix + \"R_\" + JSCompiler_inline_result;\n JSCompiler_inline_result = localIdCounter++;\n 0 < JSCompiler_inline_result &&\n (identifierPrefix += \"H\" + JSCompiler_inline_result.toString(32));\n identifierPrefix += \"_\";\n } else\n (JSCompiler_inline_result = globalClientIdCounter++),\n (identifierPrefix =\n \"_\" +\n identifierPrefix +\n \"r_\" +\n JSCompiler_inline_result.toString(32) +\n \"_\");\n return (hook.memoizedState = identifierPrefix);\n },\n useHostTransitionStatus: useHostTransitionStatus,\n useFormState: mountActionState,\n useActionState: mountActionState,\n useOptimistic: function (passthrough) {\n var hook = mountWorkInProgressHook();\n hook.memoizedState = hook.baseState = passthrough;\n var queue = {\n pending: null,\n lanes: 0,\n dispatch: null,\n lastRenderedReducer: null,\n lastRenderedState: null\n };\n hook.queue = queue;\n hook = dispatchOptimisticSetState.bind(\n null,\n currentlyRenderingFiber,\n !0,\n queue\n );\n queue.dispatch = hook;\n return [passthrough, hook];\n },\n useMemoCache: useMemoCache,\n useCacheRefresh: function () {\n return (mountWorkInProgressHook().memoizedState = refreshCache.bind(\n null,\n currentlyRenderingFiber\n ));\n },\n useEffectEvent: function (callback) {\n var hook = mountWorkInProgressHook(),\n ref = { impl: callback };\n hook.memoizedState = ref;\n return function () {\n if (0 !== (executionContext & 2))\n throw Error(formatProdErrorMessage(440));\n return ref.impl.apply(void 0, arguments);\n };\n }\n },\n HooksDispatcherOnUpdate = {\n readContext: readContext,\n use: use,\n useCallback: updateCallback,\n useContext: readContext,\n useEffect: updateEffect,\n useImperativeHandle: updateImperativeHandle,\n useInsertionEffect: updateInsertionEffect,\n useLayoutEffect: updateLayoutEffect,\n useMemo: updateMemo,\n useReducer: updateReducer,\n useRef: updateRef,\n useState: function () {\n return updateReducer(basicStateReducer);\n },\n useDebugValue: mountDebugValue,\n useDeferredValue: function (value, initialValue) {\n var hook = updateWorkInProgressHook();\n return updateDeferredValueImpl(\n hook,\n currentHook.memoizedState,\n value,\n initialValue\n );\n },\n useTransition: function () {\n var booleanOrThenable = updateReducer(basicStateReducer)[0],\n start = updateWorkInProgressHook().memoizedState;\n return [\n \"boolean\" === typeof booleanOrThenable\n ? booleanOrThenable\n : useThenable(booleanOrThenable),\n start\n ];\n },\n useSyncExternalStore: updateSyncExternalStore,\n useId: updateId,\n useHostTransitionStatus: useHostTransitionStatus,\n useFormState: updateActionState,\n useActionState: updateActionState,\n useOptimistic: function (passthrough, reducer) {\n var hook = updateWorkInProgressHook();\n return updateOptimisticImpl(hook, currentHook, passthrough, reducer);\n },\n useMemoCache: useMemoCache,\n useCacheRefresh: updateRefresh\n };\nHooksDispatcherOnUpdate.useEffectEvent = updateEvent;\nvar HooksDispatcherOnRerender = {\n readContext: readContext,\n use: use,\n useCallback: updateCallback,\n useContext: readContext,\n useEffect: updateEffect,\n useImperativeHandle: updateImperativeHandle,\n useInsertionEffect: updateInsertionEffect,\n useLayoutEffect: updateLayoutEffect,\n useMemo: updateMemo,\n useReducer: rerenderReducer,\n useRef: updateRef,\n useState: function () {\n return rerenderReducer(basicStateReducer);\n },\n useDebugValue: mountDebugValue,\n useDeferredValue: function (value, initialValue) {\n var hook = updateWorkInProgressHook();\n return null === currentHook\n ? mountDeferredValueImpl(hook, value, initialValue)\n : updateDeferredValueImpl(\n hook,\n currentHook.memoizedState,\n value,\n initialValue\n );\n },\n useTransition: function () {\n var booleanOrThenable = rerenderReducer(basicStateReducer)[0],\n start = updateWorkInProgressHook().memoizedState;\n return [\n \"boolean\" === typeof booleanOrThenable\n ? booleanOrThenable\n : useThenable(booleanOrThenable),\n start\n ];\n },\n useSyncExternalStore: updateSyncExternalStore,\n useId: updateId,\n useHostTransitionStatus: useHostTransitionStatus,\n useFormState: rerenderActionState,\n useActionState: rerenderActionState,\n useOptimistic: function (passthrough, reducer) {\n var hook = updateWorkInProgressHook();\n if (null !== currentHook)\n return updateOptimisticImpl(hook, currentHook, passthrough, reducer);\n hook.baseState = passthrough;\n return [passthrough, hook.queue.dispatch];\n },\n useMemoCache: useMemoCache,\n useCacheRefresh: updateRefresh\n};\nHooksDispatcherOnRerender.useEffectEvent = updateEvent;\nfunction applyDerivedStateFromProps(\n workInProgress,\n ctor,\n getDerivedStateFromProps,\n nextProps\n) {\n ctor = workInProgress.memoizedState;\n getDerivedStateFromProps = getDerivedStateFromProps(nextProps, ctor);\n getDerivedStateFromProps =\n null === getDerivedStateFromProps || void 0 === getDerivedStateFromProps\n ? ctor\n : assign({}, ctor, getDerivedStateFromProps);\n workInProgress.memoizedState = getDerivedStateFromProps;\n 0 === workInProgress.lanes &&\n (workInProgress.updateQueue.baseState = getDerivedStateFromProps);\n}\nvar classComponentUpdater = {\n enqueueSetState: function (inst, payload, callback) {\n inst = inst._reactInternals;\n var lane = requestUpdateLane(),\n update = createUpdate(lane);\n update.payload = payload;\n void 0 !== callback && null !== callback && (update.callback = callback);\n payload = enqueueUpdate(inst, update, lane);\n null !== payload &&\n (scheduleUpdateOnFiber(payload, inst, lane),\n entangleTransitions(payload, inst, lane));\n },\n enqueueReplaceState: function (inst, payload, callback) {\n inst = inst._reactInternals;\n var lane = requestUpdateLane(),\n update = createUpdate(lane);\n update.tag = 1;\n update.payload = payload;\n void 0 !== callback && null !== callback && (update.callback = callback);\n payload = enqueueUpdate(inst, update, lane);\n null !== payload &&\n (scheduleUpdateOnFiber(payload, inst, lane),\n entangleTransitions(payload, inst, lane));\n },\n enqueueForceUpdate: function (inst, callback) {\n inst = inst._reactInternals;\n var lane = requestUpdateLane(),\n update = createUpdate(lane);\n update.tag = 2;\n void 0 !== callback && null !== callback && (update.callback = callback);\n callback = enqueueUpdate(inst, update, lane);\n null !== callback &&\n (scheduleUpdateOnFiber(callback, inst, lane),\n entangleTransitions(callback, inst, lane));\n }\n};\nfunction checkShouldComponentUpdate(\n workInProgress,\n ctor,\n oldProps,\n newProps,\n oldState,\n newState,\n nextContext\n) {\n workInProgress = workInProgress.stateNode;\n return \"function\" === typeof workInProgress.shouldComponentUpdate\n ? workInProgress.shouldComponentUpdate(newProps, newState, nextContext)\n : ctor.prototype && ctor.prototype.isPureReactComponent\n ? !shallowEqual(oldProps, newProps) || !shallowEqual(oldState, newState)\n : !0;\n}\nfunction callComponentWillReceiveProps(\n workInProgress,\n instance,\n newProps,\n nextContext\n) {\n workInProgress = instance.state;\n \"function\" === typeof instance.componentWillReceiveProps &&\n instance.componentWillReceiveProps(newProps, nextContext);\n \"function\" === typeof instance.UNSAFE_componentWillReceiveProps &&\n instance.UNSAFE_componentWillReceiveProps(newProps, nextContext);\n instance.state !== workInProgress &&\n classComponentUpdater.enqueueReplaceState(instance, instance.state, null);\n}\nfunction resolveClassComponentProps(Component, baseProps) {\n var newProps = baseProps;\n if (\"ref\" in baseProps) {\n newProps = {};\n for (var propName in baseProps)\n \"ref\" !== propName && (newProps[propName] = baseProps[propName]);\n }\n if ((Component = Component.defaultProps)) {\n newProps === baseProps && (newProps = assign({}, newProps));\n for (var propName$75 in Component)\n void 0 === newProps[propName$75] &&\n (newProps[propName$75] = Component[propName$75]);\n }\n return newProps;\n}\nfunction defaultOnUncaughtError(error) {\n reportGlobalError(error);\n}\nfunction defaultOnCaughtError(error) {\n console.error(error);\n}\nfunction defaultOnRecoverableError(error) {\n reportGlobalError(error);\n}\nfunction logUncaughtError(root, errorInfo) {\n try {\n var onUncaughtError = root.onUncaughtError;\n onUncaughtError(errorInfo.value, { componentStack: errorInfo.stack });\n } catch (e$76) {\n setTimeout(function () {\n throw e$76;\n });\n }\n}\nfunction logCaughtError(root, boundary, errorInfo) {\n try {\n var onCaughtError = root.onCaughtError;\n onCaughtError(errorInfo.value, {\n componentStack: errorInfo.stack,\n errorBoundary: 1 === boundary.tag ? boundary.stateNode : null\n });\n } catch (e$77) {\n setTimeout(function () {\n throw e$77;\n });\n }\n}\nfunction createRootErrorUpdate(root, errorInfo, lane) {\n lane = createUpdate(lane);\n lane.tag = 3;\n lane.payload = { element: null };\n lane.callback = function () {\n logUncaughtError(root, errorInfo);\n };\n return lane;\n}\nfunction createClassErrorUpdate(lane) {\n lane = createUpdate(lane);\n lane.tag = 3;\n return lane;\n}\nfunction initializeClassErrorUpdate(update, root, fiber, errorInfo) {\n var getDerivedStateFromError = fiber.type.getDerivedStateFromError;\n if (\"function\" === typeof getDerivedStateFromError) {\n var error = errorInfo.value;\n update.payload = function () {\n return getDerivedStateFromError(error);\n };\n update.callback = function () {\n logCaughtError(root, fiber, errorInfo);\n };\n }\n var inst = fiber.stateNode;\n null !== inst &&\n \"function\" === typeof inst.componentDidCatch &&\n (update.callback = function () {\n logCaughtError(root, fiber, errorInfo);\n \"function\" !== typeof getDerivedStateFromError &&\n (null === legacyErrorBoundariesThatAlreadyFailed\n ? (legacyErrorBoundariesThatAlreadyFailed = new Set([this]))\n : legacyErrorBoundariesThatAlreadyFailed.add(this));\n var stack = errorInfo.stack;\n this.componentDidCatch(errorInfo.value, {\n componentStack: null !== stack ? stack : \"\"\n });\n });\n}\nfunction throwException(\n root,\n returnFiber,\n sourceFiber,\n value,\n rootRenderLanes\n) {\n sourceFiber.flags |= 32768;\n if (\n null !== value &&\n \"object\" === typeof value &&\n \"function\" === typeof value.then\n ) {\n returnFiber = sourceFiber.alternate;\n null !== returnFiber &&\n propagateParentContextChanges(\n returnFiber,\n sourceFiber,\n rootRenderLanes,\n !0\n );\n sourceFiber = suspenseHandlerStackCursor.current;\n if (null !== sourceFiber) {\n switch (sourceFiber.tag) {\n case 31:\n case 13:\n case 19:\n return (\n null === shellBoundary\n ? renderDidSuspendDelayIfPossible()\n : null === sourceFiber.alternate &&\n 0 === workInProgressRootExitStatus &&\n (workInProgressRootExitStatus = 3),\n (sourceFiber.flags &= -257),\n (sourceFiber.flags |= 65536),\n (sourceFiber.lanes = rootRenderLanes),\n value === noopSuspenseyCommitThenable\n ? (sourceFiber.flags |= 16384)\n : ((returnFiber = sourceFiber.updateQueue),\n null === returnFiber\n ? (sourceFiber.updateQueue = new Set([value]))\n : returnFiber.add(value),\n attachPingListener(root, value, rootRenderLanes)),\n !1\n );\n case 22:\n return (\n (sourceFiber.flags |= 65536),\n value === noopSuspenseyCommitThenable\n ? (sourceFiber.flags |= 16384)\n : ((returnFiber = sourceFiber.updateQueue),\n null === returnFiber\n ? ((returnFiber = {\n transitions: null,\n markerInstances: null,\n retryQueue: new Set([value])\n }),\n (sourceFiber.updateQueue = returnFiber))\n : ((sourceFiber = returnFiber.retryQueue),\n null === sourceFiber\n ? (returnFiber.retryQueue = new Set([value]))\n : sourceFiber.add(value)),\n attachPingListener(root, value, rootRenderLanes)),\n !1\n );\n }\n throw Error(formatProdErrorMessage(435, sourceFiber.tag));\n }\n attachPingListener(root, value, rootRenderLanes);\n renderDidSuspendDelayIfPossible();\n return !1;\n }\n if (isHydrating)\n return (\n (returnFiber = suspenseHandlerStackCursor.current),\n null !== returnFiber\n ? (0 === (returnFiber.flags & 65536) && (returnFiber.flags |= 256),\n (returnFiber.flags |= 65536),\n (returnFiber.lanes = rootRenderLanes),\n value !== HydrationMismatchException &&\n ((root = Error(formatProdErrorMessage(422), { cause: value })),\n queueHydrationError(createCapturedValueAtFiber(root, sourceFiber))))\n : (value !== HydrationMismatchException &&\n ((returnFiber = Error(formatProdErrorMessage(423), {\n cause: value\n })),\n queueHydrationError(\n createCapturedValueAtFiber(returnFiber, sourceFiber)\n )),\n (root = root.current.alternate),\n (root.flags |= 65536),\n (rootRenderLanes &= -rootRenderLanes),\n (root.lanes |= rootRenderLanes),\n (value = createCapturedValueAtFiber(value, sourceFiber)),\n (rootRenderLanes = createRootErrorUpdate(\n root.stateNode,\n value,\n rootRenderLanes\n )),\n enqueueCapturedUpdate(root, rootRenderLanes),\n 4 !== workInProgressRootExitStatus &&\n (workInProgressRootExitStatus = 2)),\n !1\n );\n var wrapperError = Error(formatProdErrorMessage(520), { cause: value });\n wrapperError = createCapturedValueAtFiber(wrapperError, sourceFiber);\n null === workInProgressRootConcurrentErrors\n ? (workInProgressRootConcurrentErrors = [wrapperError])\n : workInProgressRootConcurrentErrors.push(wrapperError);\n 4 !== workInProgressRootExitStatus && (workInProgressRootExitStatus = 2);\n if (null === returnFiber) return !0;\n value = createCapturedValueAtFiber(value, sourceFiber);\n sourceFiber = returnFiber;\n do {\n switch (sourceFiber.tag) {\n case 3:\n return (\n (sourceFiber.flags |= 65536),\n (root = rootRenderLanes & -rootRenderLanes),\n (sourceFiber.lanes |= root),\n (root = createRootErrorUpdate(sourceFiber.stateNode, value, root)),\n enqueueCapturedUpdate(sourceFiber, root),\n !1\n );\n case 1:\n returnFiber = sourceFiber.type;\n wrapperError = sourceFiber.stateNode;\n if (\n 0 === (sourceFiber.flags & 128) &&\n (\"function\" === typeof returnFiber.getDerivedStateFromError ||\n (null !== wrapperError &&\n \"function\" === typeof wrapperError.componentDidCatch &&\n (null === legacyErrorBoundariesThatAlreadyFailed ||\n !legacyErrorBoundariesThatAlreadyFailed.has(wrapperError))))\n )\n return (\n (sourceFiber.flags |= 65536),\n (rootRenderLanes &= -rootRenderLanes),\n (sourceFiber.lanes |= rootRenderLanes),\n (rootRenderLanes = createClassErrorUpdate(rootRenderLanes)),\n initializeClassErrorUpdate(\n rootRenderLanes,\n root,\n sourceFiber,\n value\n ),\n enqueueCapturedUpdate(sourceFiber, rootRenderLanes),\n !1\n );\n break;\n case 22:\n if (null !== sourceFiber.memoizedState)\n return (sourceFiber.flags |= 65536), !1;\n }\n sourceFiber = sourceFiber.return;\n } while (null !== sourceFiber);\n return !1;\n}\nvar SelectiveHydrationException = Error(formatProdErrorMessage(461)),\n didReceiveUpdate = !1;\nfunction reconcileChildren(current, workInProgress, nextChildren, renderLanes) {\n workInProgress.child =\n null === current\n ? mountChildFibers(workInProgress, null, nextChildren, renderLanes)\n : reconcileChildFibers(\n workInProgress,\n current.child,\n nextChildren,\n renderLanes\n );\n}\nfunction updateForwardRef(\n current,\n workInProgress,\n Component,\n nextProps,\n renderLanes\n) {\n Component = Component.render;\n var ref = workInProgress.ref;\n if (\"ref\" in nextProps) {\n var propsWithoutRef = {};\n for (var key in nextProps)\n \"ref\" !== key && (propsWithoutRef[key] = nextProps[key]);\n } else propsWithoutRef = nextProps;\n prepareToReadContext(workInProgress);\n nextProps = renderWithHooks(\n current,\n workInProgress,\n Component,\n propsWithoutRef,\n ref,\n renderLanes\n );\n key = checkDidRenderIdHook();\n if (null !== current && !didReceiveUpdate)\n return (\n bailoutHooks(current, workInProgress, renderLanes),\n bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes)\n );\n isHydrating && key && pushMaterializedTreeId(workInProgress);\n workInProgress.flags |= 1;\n reconcileChildren(current, workInProgress, nextProps, renderLanes);\n return workInProgress.child;\n}\nfunction updateMemoComponent(\n current,\n workInProgress,\n Component,\n nextProps,\n renderLanes\n) {\n if (null === current) {\n var type = Component.type;\n if (\n \"function\" === typeof type &&\n !shouldConstruct(type) &&\n void 0 === type.defaultProps &&\n null === Component.compare\n )\n return (\n (workInProgress.tag = 15),\n (workInProgress.type = type),\n updateSimpleMemoComponent(\n current,\n workInProgress,\n type,\n nextProps,\n renderLanes\n )\n );\n current = createFiberFromTypeAndProps(\n Component.type,\n null,\n nextProps,\n workInProgress,\n workInProgress.mode,\n renderLanes\n );\n current.ref = workInProgress.ref;\n current.return = workInProgress;\n return (workInProgress.child = current);\n }\n type = current.child;\n if (!checkScheduledUpdateOrContext(current, renderLanes)) {\n var prevProps = type.memoizedProps;\n Component = Component.compare;\n Component = null !== Component ? Component : shallowEqual;\n if (Component(prevProps, nextProps) && current.ref === workInProgress.ref)\n return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes);\n }\n workInProgress.flags |= 1;\n current = createWorkInProgress(type, nextProps);\n current.ref = workInProgress.ref;\n current.return = workInProgress;\n return (workInProgress.child = current);\n}\nfunction updateSimpleMemoComponent(\n current,\n workInProgress,\n Component,\n nextProps,\n renderLanes\n) {\n if (null !== current) {\n var prevProps = current.memoizedProps;\n if (\n shallowEqual(prevProps, nextProps) &&\n current.ref === workInProgress.ref\n )\n if (\n ((didReceiveUpdate = !1),\n (workInProgress.pendingProps = nextProps = prevProps),\n checkScheduledUpdateOrContext(current, renderLanes))\n )\n 0 !== (current.flags & 131072) && (didReceiveUpdate = !0);\n else\n return (\n (workInProgress.lanes = current.lanes),\n bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes)\n );\n }\n return updateFunctionComponent(\n current,\n workInProgress,\n Component,\n nextProps,\n renderLanes\n );\n}\nfunction updateOffscreenComponent(\n current,\n workInProgress,\n renderLanes,\n nextProps\n) {\n var nextChildren = nextProps.children,\n prevState = null !== current ? current.memoizedState : null;\n null === current &&\n null === workInProgress.stateNode &&\n (workInProgress.stateNode = {\n _visibility: 1,\n _pendingMarkers: null,\n _retryCache: null,\n _transitions: null\n });\n if (\"hidden\" === nextProps.mode) {\n if (0 !== (workInProgress.flags & 128)) {\n prevState =\n null !== prevState ? prevState.baseLanes | renderLanes : renderLanes;\n if (null !== current) {\n nextProps = workInProgress.child = current.child;\n for (nextChildren = 0; null !== nextProps; )\n (nextChildren =\n nextChildren | nextProps.lanes | nextProps.childLanes),\n (nextProps = nextProps.sibling);\n nextProps = nextChildren & ~prevState;\n } else (nextProps = 0), (workInProgress.child = null);\n return deferHiddenOffscreenComponent(\n current,\n workInProgress,\n prevState,\n renderLanes,\n nextProps\n );\n }\n if (0 !== (renderLanes & 536870912))\n (workInProgress.memoizedState = { baseLanes: 0, cachePool: null }),\n null !== current &&\n pushTransition(\n workInProgress,\n null !== prevState ? prevState.cachePool : null\n ),\n null !== prevState\n ? pushHiddenContext(workInProgress, prevState)\n : reuseHiddenContextOnStack(),\n pushOffscreenSuspenseHandler(workInProgress);\n else\n return (\n (nextProps = workInProgress.lanes = 536870912),\n deferHiddenOffscreenComponent(\n current,\n workInProgress,\n null !== prevState ? prevState.baseLanes | renderLanes : renderLanes,\n renderLanes,\n nextProps\n )\n );\n } else\n null !== prevState\n ? (pushTransition(workInProgress, prevState.cachePool),\n pushHiddenContext(workInProgress, prevState),\n reuseSuspenseHandlerOnStack(),\n (workInProgress.memoizedState = null))\n : (null !== current && pushTransition(workInProgress, null),\n reuseHiddenContextOnStack(),\n reuseSuspenseHandlerOnStack());\n reconcileChildren(current, workInProgress, nextChildren, renderLanes);\n return workInProgress.child;\n}\nfunction bailoutOffscreenComponent(current, workInProgress) {\n (null !== current && 22 === current.tag) ||\n null !== workInProgress.stateNode ||\n (workInProgress.stateNode = {\n _visibility: 1,\n _pendingMarkers: null,\n _retryCache: null,\n _transitions: null\n });\n return workInProgress.sibling;\n}\nfunction deferHiddenOffscreenComponent(\n current,\n workInProgress,\n nextBaseLanes,\n renderLanes,\n remainingChildLanes\n) {\n var JSCompiler_inline_result = peekCacheFromPool();\n JSCompiler_inline_result =\n null === JSCompiler_inline_result\n ? null\n : { parent: CacheContext._currentValue, pool: JSCompiler_inline_result };\n workInProgress.memoizedState = {\n baseLanes: nextBaseLanes,\n cachePool: JSCompiler_inline_result\n };\n null !== current && pushTransition(workInProgress, null);\n reuseHiddenContextOnStack();\n pushOffscreenSuspenseHandler(workInProgress);\n null !== current &&\n propagateParentContextChanges(current, workInProgress, renderLanes, !0);\n workInProgress.childLanes = remainingChildLanes;\n return null;\n}\nfunction mountActivityChildren(workInProgress, nextProps) {\n nextProps = mountWorkInProgressOffscreenFiber(\n { mode: nextProps.mode, children: nextProps.children },\n workInProgress.mode\n );\n nextProps.ref = workInProgress.ref;\n workInProgress.child = nextProps;\n nextProps.return = workInProgress;\n return nextProps;\n}\nfunction retryActivityComponentWithoutHydrating(\n current,\n workInProgress,\n renderLanes\n) {\n reconcileChildFibers(workInProgress, current.child, null, renderLanes);\n current = mountActivityChildren(workInProgress, workInProgress.pendingProps);\n current.flags |= 2;\n popSuspenseHandler(workInProgress);\n workInProgress.memoizedState = null;\n return current;\n}\nfunction updateActivityComponent(current, workInProgress, renderLanes) {\n var nextProps = workInProgress.pendingProps,\n didSuspend = 0 !== (workInProgress.flags & 128);\n workInProgress.flags &= -129;\n if (null === current) {\n if (isHydrating) {\n if (\"hidden\" === nextProps.mode)\n return (\n (current = mountActivityChildren(workInProgress, nextProps)),\n (workInProgress.lanes = 536870912),\n bailoutOffscreenComponent(null, current)\n );\n pushDehydratedActivitySuspenseHandler(workInProgress);\n (current = nextHydratableInstance)\n ? ((current = canHydrateHydrationBoundary(\n current,\n rootOrSingletonContext\n )),\n (current = null !== current && \"&\" === current.data ? current : null),\n null !== current &&\n ((workInProgress.memoizedState = {\n dehydrated: current,\n treeContext:\n null !== treeContextProvider\n ? { id: treeContextId, overflow: treeContextOverflow }\n : null,\n retryLane: 536870912,\n hydrationErrors: null\n }),\n (renderLanes = createFiberFromDehydratedFragment(current)),\n (renderLanes.return = workInProgress),\n (workInProgress.child = renderLanes),\n (hydrationParentFiber = workInProgress),\n (nextHydratableInstance = null)))\n : (current = null);\n if (null === current) throw throwOnHydrationMismatch(workInProgress);\n workInProgress.lanes = 536870912;\n return null;\n }\n return mountActivityChildren(workInProgress, nextProps);\n }\n var prevState = current.memoizedState;\n if (null !== prevState) {\n var dehydrated = prevState.dehydrated;\n pushDehydratedActivitySuspenseHandler(workInProgress);\n if (didSuspend)\n if (workInProgress.flags & 256)\n (workInProgress.flags &= -257),\n (workInProgress = retryActivityComponentWithoutHydrating(\n current,\n workInProgress,\n renderLanes\n ));\n else if (null !== workInProgress.memoizedState)\n (workInProgress.child = current.child),\n (workInProgress.flags |= 128),\n (workInProgress = null);\n else throw Error(formatProdErrorMessage(558));\n else if (\n (didReceiveUpdate ||\n propagateParentContextChanges(current, workInProgress, renderLanes, !1),\n (didSuspend = 0 !== (renderLanes & current.childLanes)),\n didReceiveUpdate || didSuspend)\n ) {\n nextProps = workInProgressRoot;\n if (\n null !== nextProps &&\n ((dehydrated = getBumpedLaneForHydration(nextProps, renderLanes)),\n 0 !== dehydrated && dehydrated !== prevState.retryLane)\n )\n throw (\n ((prevState.retryLane = dehydrated),\n enqueueConcurrentRenderForLane(current, dehydrated),\n scheduleUpdateOnFiber(nextProps, current, dehydrated),\n SelectiveHydrationException)\n );\n renderDidSuspendDelayIfPossible();\n workInProgress = retryActivityComponentWithoutHydrating(\n current,\n workInProgress,\n renderLanes\n );\n } else\n (current = prevState.treeContext),\n (nextHydratableInstance = getNextHydratable(dehydrated.nextSibling)),\n (hydrationParentFiber = workInProgress),\n (isHydrating = !0),\n (hydrationErrors = null),\n (rootOrSingletonContext = !1),\n null !== current &&\n restoreSuspendedTreeContext(workInProgress, current),\n (workInProgress = mountActivityChildren(workInProgress, nextProps)),\n (workInProgress.flags |= 4096);\n return workInProgress;\n }\n current = createWorkInProgress(current.child, {\n mode: nextProps.mode,\n children: nextProps.children\n });\n current.ref = workInProgress.ref;\n workInProgress.child = current;\n current.return = workInProgress;\n return current;\n}\nfunction markRef(current, workInProgress) {\n var ref = workInProgress.ref;\n if (null === ref)\n null !== current &&\n null !== current.ref &&\n (workInProgress.flags |= 4194816);\n else {\n if (\"function\" !== typeof ref && \"object\" !== typeof ref)\n throw Error(formatProdErrorMessage(284));\n if (null === current || current.ref !== ref)\n workInProgress.flags |= 4194816;\n }\n}\nfunction updateFunctionComponent(\n current,\n workInProgress,\n Component,\n nextProps,\n renderLanes\n) {\n prepareToReadContext(workInProgress);\n Component = renderWithHooks(\n current,\n workInProgress,\n Component,\n nextProps,\n void 0,\n renderLanes\n );\n nextProps = checkDidRenderIdHook();\n if (null !== current && !didReceiveUpdate)\n return (\n bailoutHooks(current, workInProgress, renderLanes),\n bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes)\n );\n isHydrating && nextProps && pushMaterializedTreeId(workInProgress);\n workInProgress.flags |= 1;\n reconcileChildren(current, workInProgress, Component, renderLanes);\n return workInProgress.child;\n}\nfunction replayFunctionComponent(\n current,\n workInProgress,\n nextProps,\n Component,\n secondArg,\n renderLanes\n) {\n prepareToReadContext(workInProgress);\n workInProgress.updateQueue = null;\n nextProps = renderWithHooksAgain(\n workInProgress,\n Component,\n nextProps,\n secondArg\n );\n finishRenderingHooks(current);\n Component = checkDidRenderIdHook();\n if (null !== current && !didReceiveUpdate)\n return (\n bailoutHooks(current, workInProgress, renderLanes),\n bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes)\n );\n isHydrating && Component && pushMaterializedTreeId(workInProgress);\n workInProgress.flags |= 1;\n reconcileChildren(current, workInProgress, nextProps, renderLanes);\n return workInProgress.child;\n}\nfunction updateClassComponent(\n current,\n workInProgress,\n Component,\n nextProps,\n renderLanes\n) {\n prepareToReadContext(workInProgress);\n if (null === workInProgress.stateNode) {\n var context = emptyContextObject,\n contextType = Component.contextType;\n \"object\" === typeof contextType &&\n null !== contextType &&\n (context = readContext(contextType));\n context = new Component(nextProps, context);\n workInProgress.memoizedState =\n null !== context.state && void 0 !== context.state ? context.state : null;\n context.updater = classComponentUpdater;\n workInProgress.stateNode = context;\n context._reactInternals = workInProgress;\n context = workInProgress.stateNode;\n context.props = nextProps;\n context.state = workInProgress.memoizedState;\n context.refs = {};\n initializeUpdateQueue(workInProgress);\n contextType = Component.contextType;\n context.context =\n \"object\" === typeof contextType && null !== contextType\n ? readContext(contextType)\n : emptyContextObject;\n context.state = workInProgress.memoizedState;\n contextType = Component.getDerivedStateFromProps;\n \"function\" === typeof contextType &&\n (applyDerivedStateFromProps(\n workInProgress,\n Component,\n contextType,\n nextProps\n ),\n (context.state = workInProgress.memoizedState));\n \"function\" === typeof Component.getDerivedStateFromProps ||\n \"function\" === typeof context.getSnapshotBeforeUpdate ||\n (\"function\" !== typeof context.UNSAFE_componentWillMount &&\n \"function\" !== typeof context.componentWillMount) ||\n ((contextType = context.state),\n \"function\" === typeof context.componentWillMount &&\n context.componentWillMount(),\n \"function\" === typeof context.UNSAFE_componentWillMount &&\n context.UNSAFE_componentWillMount(),\n contextType !== context.state &&\n classComponentUpdater.enqueueReplaceState(context, context.state, null),\n processUpdateQueue(workInProgress, nextProps, context, renderLanes),\n suspendIfUpdateReadFromEntangledAsyncAction(),\n (context.state = workInProgress.memoizedState));\n \"function\" === typeof context.componentDidMount &&\n (workInProgress.flags |= 4194308);\n nextProps = !0;\n } else if (null === current) {\n context = workInProgress.stateNode;\n var unresolvedOldProps = workInProgress.memoizedProps,\n oldProps = resolveClassComponentProps(Component, unresolvedOldProps);\n context.props = oldProps;\n var oldContext = context.context,\n contextType$jscomp$0 = Component.contextType;\n contextType = emptyContextObject;\n \"object\" === typeof contextType$jscomp$0 &&\n null !== contextType$jscomp$0 &&\n (contextType = readContext(contextType$jscomp$0));\n var getDerivedStateFromProps = Component.getDerivedStateFromProps;\n contextType$jscomp$0 =\n \"function\" === typeof getDerivedStateFromProps ||\n \"function\" === typeof context.getSnapshotBeforeUpdate;\n unresolvedOldProps = workInProgress.pendingProps !== unresolvedOldProps;\n contextType$jscomp$0 ||\n (\"function\" !== typeof context.UNSAFE_componentWillReceiveProps &&\n \"function\" !== typeof context.componentWillReceiveProps) ||\n ((unresolvedOldProps || oldContext !== contextType) &&\n callComponentWillReceiveProps(\n workInProgress,\n context,\n nextProps,\n contextType\n ));\n hasForceUpdate = !1;\n var oldState = workInProgress.memoizedState;\n context.state = oldState;\n processUpdateQueue(workInProgress, nextProps, context, renderLanes);\n suspendIfUpdateReadFromEntangledAsyncAction();\n oldContext = workInProgress.memoizedState;\n unresolvedOldProps || oldState !== oldContext || hasForceUpdate\n ? (\"function\" === typeof getDerivedStateFromProps &&\n (applyDerivedStateFromProps(\n workInProgress,\n Component,\n getDerivedStateFromProps,\n nextProps\n ),\n (oldContext = workInProgress.memoizedState)),\n (oldProps =\n hasForceUpdate ||\n checkShouldComponentUpdate(\n workInProgress,\n Component,\n oldProps,\n nextProps,\n oldState,\n oldContext,\n contextType\n ))\n ? (contextType$jscomp$0 ||\n (\"function\" !== typeof context.UNSAFE_componentWillMount &&\n \"function\" !== typeof context.componentWillMount) ||\n (\"function\" === typeof context.componentWillMount &&\n context.componentWillMount(),\n \"function\" === typeof context.UNSAFE_componentWillMount &&\n context.UNSAFE_componentWillMount()),\n \"function\" === typeof context.componentDidMount &&\n (workInProgress.flags |= 4194308))\n : (\"function\" === typeof context.componentDidMount &&\n (workInProgress.flags |= 4194308),\n (workInProgress.memoizedProps = nextProps),\n (workInProgress.memoizedState = oldContext)),\n (context.props = nextProps),\n (context.state = oldContext),\n (context.context = contextType),\n (nextProps = oldProps))\n : (\"function\" === typeof context.componentDidMount &&\n (workInProgress.flags |= 4194308),\n (nextProps = !1));\n } else {\n context = workInProgress.stateNode;\n cloneUpdateQueue(current, workInProgress);\n contextType = workInProgress.memoizedProps;\n contextType$jscomp$0 = resolveClassComponentProps(Component, contextType);\n context.props = contextType$jscomp$0;\n getDerivedStateFromProps = workInProgress.pendingProps;\n oldState = context.context;\n oldContext = Component.contextType;\n oldProps = emptyContextObject;\n \"object\" === typeof oldContext &&\n null !== oldContext &&\n (oldProps = readContext(oldContext));\n unresolvedOldProps = Component.getDerivedStateFromProps;\n (oldContext =\n \"function\" === typeof unresolvedOldProps ||\n \"function\" === typeof context.getSnapshotBeforeUpdate) ||\n (\"function\" !== typeof context.UNSAFE_componentWillReceiveProps &&\n \"function\" !== typeof context.componentWillReceiveProps) ||\n ((contextType !== getDerivedStateFromProps || oldState !== oldProps) &&\n callComponentWillReceiveProps(\n workInProgress,\n context,\n nextProps,\n oldProps\n ));\n hasForceUpdate = !1;\n oldState = workInProgress.memoizedState;\n context.state = oldState;\n processUpdateQueue(workInProgress, nextProps, context, renderLanes);\n suspendIfUpdateReadFromEntangledAsyncAction();\n var newState = workInProgress.memoizedState;\n contextType !== getDerivedStateFromProps ||\n oldState !== newState ||\n hasForceUpdate ||\n (null !== current &&\n null !== current.dependencies &&\n checkIfContextChanged(current.dependencies))\n ? (\"function\" === typeof unresolvedOldProps &&\n (applyDerivedStateFromProps(\n workInProgress,\n Component,\n unresolvedOldProps,\n nextProps\n ),\n (newState = workInProgress.memoizedState)),\n (contextType$jscomp$0 =\n hasForceUpdate ||\n checkShouldComponentUpdate(\n workInProgress,\n Component,\n contextType$jscomp$0,\n nextProps,\n oldState,\n newState,\n oldProps\n ) ||\n (null !== current &&\n null !== current.dependencies &&\n checkIfContextChanged(current.dependencies)))\n ? (oldContext ||\n (\"function\" !== typeof context.UNSAFE_componentWillUpdate &&\n \"function\" !== typeof context.componentWillUpdate) ||\n (\"function\" === typeof context.componentWillUpdate &&\n context.componentWillUpdate(nextProps, newState, oldProps),\n \"function\" === typeof context.UNSAFE_componentWillUpdate &&\n context.UNSAFE_componentWillUpdate(\n nextProps,\n newState,\n oldProps\n )),\n \"function\" === typeof context.componentDidUpdate &&\n (workInProgress.flags |= 4),\n \"function\" === typeof context.getSnapshotBeforeUpdate &&\n (workInProgress.flags |= 1024))\n : (\"function\" !== typeof context.componentDidUpdate ||\n (contextType === current.memoizedProps &&\n oldState === current.memoizedState) ||\n (workInProgress.flags |= 4),\n \"function\" !== typeof context.getSnapshotBeforeUpdate ||\n (contextType === current.memoizedProps &&\n oldState === current.memoizedState) ||\n (workInProgress.flags |= 1024),\n (workInProgress.memoizedProps = nextProps),\n (workInProgress.memoizedState = newState)),\n (context.props = nextProps),\n (context.state = newState),\n (context.context = oldProps),\n (nextProps = contextType$jscomp$0))\n : (\"function\" !== typeof context.componentDidUpdate ||\n (contextType === current.memoizedProps &&\n oldState === current.memoizedState) ||\n (workInProgress.flags |= 4),\n \"function\" !== typeof context.getSnapshotBeforeUpdate ||\n (contextType === current.memoizedProps &&\n oldState === current.memoizedState) ||\n (workInProgress.flags |= 1024),\n (nextProps = !1));\n }\n context = nextProps;\n markRef(current, workInProgress);\n nextProps = 0 !== (workInProgress.flags & 128);\n context || nextProps\n ? ((context = workInProgress.stateNode),\n (Component =\n nextProps && \"function\" !== typeof Component.getDerivedStateFromError\n ? null\n : context.render()),\n (workInProgress.flags |= 1),\n null !== current && nextProps\n ? ((workInProgress.child = reconcileChildFibers(\n workInProgress,\n current.child,\n null,\n renderLanes\n )),\n (workInProgress.child = reconcileChildFibers(\n workInProgress,\n null,\n Component,\n renderLanes\n )))\n : reconcileChildren(current, workInProgress, Component, renderLanes),\n (workInProgress.memoizedState = context.state),\n (current = workInProgress.child))\n : (current = bailoutOnAlreadyFinishedWork(\n current,\n workInProgress,\n renderLanes\n ));\n return current;\n}\nfunction mountHostRootWithoutHydrating(\n current,\n workInProgress,\n nextChildren,\n renderLanes\n) {\n resetHydrationState();\n workInProgress.flags |= 256;\n reconcileChildren(current, workInProgress, nextChildren, renderLanes);\n return workInProgress.child;\n}\nvar SUSPENDED_MARKER = {\n dehydrated: null,\n treeContext: null,\n retryLane: 0,\n hydrationErrors: null\n};\nfunction mountSuspenseOffscreenState(renderLanes) {\n return { baseLanes: renderLanes, cachePool: getSuspendedCache() };\n}\nfunction getRemainingWorkInPrimaryTree(\n current,\n primaryTreeDidDefer,\n renderLanes\n) {\n current = null !== current ? current.childLanes & ~renderLanes : 0;\n primaryTreeDidDefer && (current |= workInProgressDeferredLane);\n return current;\n}\nfunction updateSuspenseComponent(current, workInProgress, renderLanes) {\n var nextProps = workInProgress.pendingProps,\n showFallback = !1,\n didSuspend = 0 !== (workInProgress.flags & 128),\n JSCompiler_temp;\n (JSCompiler_temp = didSuspend) ||\n (JSCompiler_temp =\n null !== current && null === current.memoizedState\n ? !1\n : 0 !== (suspenseStackCursor.current & 2));\n JSCompiler_temp && ((showFallback = !0), (workInProgress.flags &= -129));\n JSCompiler_temp = 0 !== (workInProgress.flags & 32);\n workInProgress.flags &= -33;\n if (null === current) {\n if (isHydrating) {\n showFallback\n ? pushPrimaryTreeSuspenseHandler(workInProgress)\n : reuseSuspenseHandlerOnStack();\n (current = nextHydratableInstance)\n ? ((current = canHydrateHydrationBoundary(\n current,\n rootOrSingletonContext\n )),\n (current = null !== current && \"&\" !== current.data ? current : null),\n null !== current &&\n ((workInProgress.memoizedState = {\n dehydrated: current,\n treeContext:\n null !== treeContextProvider\n ? { id: treeContextId, overflow: treeContextOverflow }\n : null,\n retryLane: 536870912,\n hydrationErrors: null\n }),\n (renderLanes = createFiberFromDehydratedFragment(current)),\n (renderLanes.return = workInProgress),\n (workInProgress.child = renderLanes),\n (hydrationParentFiber = workInProgress),\n (nextHydratableInstance = null)))\n : (current = null);\n if (null === current) throw throwOnHydrationMismatch(workInProgress);\n isSuspenseInstanceFallback(current)\n ? (workInProgress.lanes = 32)\n : (workInProgress.lanes = 536870912);\n return null;\n }\n var nextPrimaryChildren = nextProps.children;\n nextProps = nextProps.fallback;\n if (showFallback)\n return (\n reuseSuspenseHandlerOnStack(),\n (showFallback = workInProgress.mode),\n (nextPrimaryChildren = mountWorkInProgressOffscreenFiber(\n { mode: \"hidden\", children: nextPrimaryChildren },\n showFallback\n )),\n (nextProps = createFiberFromFragment(\n nextProps,\n showFallback,\n renderLanes,\n null\n )),\n (nextPrimaryChildren.return = workInProgress),\n (nextProps.return = workInProgress),\n (nextPrimaryChildren.sibling = nextProps),\n (workInProgress.child = nextPrimaryChildren),\n (nextProps = workInProgress.child),\n (nextProps.memoizedState = mountSuspenseOffscreenState(renderLanes)),\n (nextProps.childLanes = getRemainingWorkInPrimaryTree(\n current,\n JSCompiler_temp,\n renderLanes\n )),\n (workInProgress.memoizedState = SUSPENDED_MARKER),\n bailoutOffscreenComponent(null, nextProps)\n );\n pushPrimaryTreeSuspenseHandler(workInProgress);\n return mountSuspensePrimaryChildren(workInProgress, nextPrimaryChildren);\n }\n var prevState = current.memoizedState;\n if (\n null !== prevState &&\n ((nextPrimaryChildren = prevState.dehydrated), null !== nextPrimaryChildren)\n ) {\n if (didSuspend)\n workInProgress.flags & 256\n ? (pushPrimaryTreeSuspenseHandler(workInProgress),\n (workInProgress.flags &= -257),\n (workInProgress = retrySuspenseComponentWithoutHydrating(\n current,\n workInProgress,\n renderLanes\n )))\n : null !== workInProgress.memoizedState\n ? (reuseSuspenseHandlerOnStack(),\n (workInProgress.child = current.child),\n (workInProgress.flags |= 128),\n (workInProgress = null))\n : (reuseSuspenseHandlerOnStack(),\n (nextPrimaryChildren = nextProps.fallback),\n (showFallback = workInProgress.mode),\n (nextProps = mountWorkInProgressOffscreenFiber(\n { mode: \"visible\", children: nextProps.children },\n showFallback\n )),\n (nextPrimaryChildren = createFiberFromFragment(\n nextPrimaryChildren,\n showFallback,\n renderLanes,\n null\n )),\n (nextPrimaryChildren.flags |= 2),\n (nextProps.return = workInProgress),\n (nextPrimaryChildren.return = workInProgress),\n (nextProps.sibling = nextPrimaryChildren),\n (workInProgress.child = nextProps),\n reconcileChildFibers(\n workInProgress,\n current.child,\n null,\n renderLanes\n ),\n (nextProps = workInProgress.child),\n (nextProps.memoizedState =\n mountSuspenseOffscreenState(renderLanes)),\n (nextProps.childLanes = getRemainingWorkInPrimaryTree(\n current,\n JSCompiler_temp,\n renderLanes\n )),\n (workInProgress.memoizedState = SUSPENDED_MARKER),\n (workInProgress = bailoutOffscreenComponent(null, nextProps)));\n else if (\n (pushPrimaryTreeSuspenseHandler(workInProgress),\n isSuspenseInstanceFallback(nextPrimaryChildren))\n ) {\n JSCompiler_temp =\n nextPrimaryChildren.nextSibling &&\n nextPrimaryChildren.nextSibling.dataset;\n if (JSCompiler_temp) var digest = JSCompiler_temp.dgst;\n JSCompiler_temp = digest;\n nextProps = Error(formatProdErrorMessage(419));\n nextProps.stack = \"\";\n nextProps.digest = JSCompiler_temp;\n queueHydrationError({ value: nextProps, source: null, stack: null });\n workInProgress = retrySuspenseComponentWithoutHydrating(\n current,\n workInProgress,\n renderLanes\n );\n } else if (\n (didReceiveUpdate ||\n propagateParentContextChanges(current, workInProgress, renderLanes, !1),\n (JSCompiler_temp = 0 !== (renderLanes & current.childLanes)),\n didReceiveUpdate || JSCompiler_temp)\n ) {\n JSCompiler_temp = workInProgressRoot;\n if (\n null !== JSCompiler_temp &&\n ((nextProps = getBumpedLaneForHydration(JSCompiler_temp, renderLanes)),\n 0 !== nextProps && nextProps !== prevState.retryLane)\n )\n throw (\n ((prevState.retryLane = nextProps),\n enqueueConcurrentRenderForLane(current, nextProps),\n scheduleUpdateOnFiber(JSCompiler_temp, current, nextProps),\n SelectiveHydrationException)\n );\n isSuspenseInstancePending(nextPrimaryChildren) ||\n renderDidSuspendDelayIfPossible();\n workInProgress = retrySuspenseComponentWithoutHydrating(\n current,\n workInProgress,\n renderLanes\n );\n } else\n isSuspenseInstancePending(nextPrimaryChildren)\n ? ((workInProgress.flags |= 192),\n (workInProgress.child = current.child),\n (workInProgress = null))\n : ((current = prevState.treeContext),\n (nextHydratableInstance = getNextHydratable(\n nextPrimaryChildren.nextSibling\n )),\n (hydrationParentFiber = workInProgress),\n (isHydrating = !0),\n (hydrationErrors = null),\n (rootOrSingletonContext = !1),\n null !== current &&\n restoreSuspendedTreeContext(workInProgress, current),\n (workInProgress = mountSuspensePrimaryChildren(\n workInProgress,\n nextProps.children\n )),\n (workInProgress.flags |= 4096));\n return workInProgress;\n }\n if (showFallback)\n return (\n reuseSuspenseHandlerOnStack(),\n (nextPrimaryChildren = nextProps.fallback),\n (showFallback = workInProgress.mode),\n (prevState = current.child),\n (digest = prevState.sibling),\n (nextProps = createWorkInProgress(prevState, {\n mode: \"hidden\",\n children: nextProps.children\n })),\n (nextProps.subtreeFlags = prevState.subtreeFlags & 132120576),\n null !== digest\n ? (nextPrimaryChildren = createWorkInProgress(\n digest,\n nextPrimaryChildren\n ))\n : ((nextPrimaryChildren = createFiberFromFragment(\n nextPrimaryChildren,\n showFallback,\n renderLanes,\n null\n )),\n (nextPrimaryChildren.flags |= 2)),\n (nextPrimaryChildren.return = workInProgress),\n (nextProps.return = workInProgress),\n (nextProps.sibling = nextPrimaryChildren),\n (workInProgress.child = nextProps),\n bailoutOffscreenComponent(null, nextProps),\n (nextProps = workInProgress.child),\n (nextPrimaryChildren = current.child.memoizedState),\n null === nextPrimaryChildren\n ? (nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes))\n : ((showFallback = nextPrimaryChildren.cachePool),\n null !== showFallback\n ? ((prevState = CacheContext._currentValue),\n (showFallback =\n showFallback.parent !== prevState\n ? { parent: prevState, pool: prevState }\n : showFallback))\n : (showFallback = getSuspendedCache()),\n (nextPrimaryChildren = {\n baseLanes: nextPrimaryChildren.baseLanes | renderLanes,\n cachePool: showFallback\n })),\n (nextProps.memoizedState = nextPrimaryChildren),\n (nextProps.childLanes = getRemainingWorkInPrimaryTree(\n current,\n JSCompiler_temp,\n renderLanes\n )),\n (workInProgress.memoizedState = SUSPENDED_MARKER),\n bailoutOffscreenComponent(current.child, nextProps)\n );\n pushPrimaryTreeSuspenseHandler(workInProgress);\n renderLanes = current.child;\n current = renderLanes.sibling;\n renderLanes = createWorkInProgress(renderLanes, {\n mode: \"visible\",\n children: nextProps.children\n });\n renderLanes.return = workInProgress;\n renderLanes.sibling = null;\n null !== current &&\n ((JSCompiler_temp = workInProgress.deletions),\n null === JSCompiler_temp\n ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16))\n : JSCompiler_temp.push(current));\n workInProgress.child = renderLanes;\n workInProgress.memoizedState = null;\n return renderLanes;\n}\nfunction mountSuspensePrimaryChildren(workInProgress, primaryChildren) {\n primaryChildren = mountWorkInProgressOffscreenFiber(\n { mode: \"visible\", children: primaryChildren },\n workInProgress.mode\n );\n primaryChildren.return = workInProgress;\n return (workInProgress.child = primaryChildren);\n}\nfunction mountWorkInProgressOffscreenFiber(offscreenProps, mode) {\n offscreenProps = createFiberImplClass(22, offscreenProps, null, mode);\n offscreenProps.lanes = 0;\n return offscreenProps;\n}\nfunction retrySuspenseComponentWithoutHydrating(\n current,\n workInProgress,\n renderLanes\n) {\n reconcileChildFibers(workInProgress, current.child, null, renderLanes);\n current = mountSuspensePrimaryChildren(\n workInProgress,\n workInProgress.pendingProps.children\n );\n current.flags |= 2;\n workInProgress.memoizedState = null;\n return current;\n}\nfunction scheduleSuspenseWorkOnFiber(fiber, renderLanes, propagationRoot) {\n fiber.lanes |= renderLanes;\n var alternate = fiber.alternate;\n null !== alternate && (alternate.lanes |= renderLanes);\n scheduleContextWorkOnParentPath(fiber.return, renderLanes, propagationRoot);\n}\nfunction findLastContentRow(firstChild) {\n for (var lastContentRow = null; null !== firstChild; ) {\n var currentRow = firstChild.alternate;\n null !== currentRow &&\n null === findFirstSuspended(currentRow) &&\n (lastContentRow = firstChild);\n firstChild = firstChild.sibling;\n }\n return lastContentRow;\n}\nfunction initSuspenseListRenderState(\n workInProgress,\n isBackwards,\n tail,\n lastContentRow,\n tailMode,\n treeForkCount\n) {\n var renderState = workInProgress.memoizedState;\n null === renderState\n ? (workInProgress.memoizedState = {\n isBackwards: isBackwards,\n rendering: null,\n renderingStartTime: 0,\n last: lastContentRow,\n tail: tail,\n tailMode: tailMode,\n treeForkCount: treeForkCount\n })\n : ((renderState.isBackwards = isBackwards),\n (renderState.rendering = null),\n (renderState.renderingStartTime = 0),\n (renderState.last = lastContentRow),\n (renderState.tail = tail),\n (renderState.tailMode = tailMode),\n (renderState.treeForkCount = treeForkCount));\n}\nfunction reverseChildren(fiber) {\n var row = fiber.child;\n for (fiber.child = null; null !== row; ) {\n var nextRow = row.sibling;\n row.sibling = fiber.child;\n fiber.child = row;\n row = nextRow;\n }\n}\nfunction updateSuspenseListComponent(current, workInProgress, renderLanes) {\n var nextProps = workInProgress.pendingProps,\n revealOrder = nextProps.revealOrder,\n tailMode = nextProps.tail;\n nextProps = nextProps.children;\n var suspenseContext = suspenseStackCursor.current;\n if (workInProgress.flags & 128)\n return pushSuspenseListContext(workInProgress, suspenseContext), null;\n var shouldForceFallback = 0 !== (suspenseContext & 2);\n shouldForceFallback\n ? ((suspenseContext = (suspenseContext & 1) | 2),\n (workInProgress.flags |= 128))\n : (suspenseContext &= 1);\n pushSuspenseListContext(workInProgress, suspenseContext);\n \"backwards\" === revealOrder && null !== current\n ? (reverseChildren(current),\n reconcileChildren(current, workInProgress, nextProps, renderLanes),\n reverseChildren(current))\n : reconcileChildren(current, workInProgress, nextProps, renderLanes);\n nextProps = isHydrating ? treeForkCount : 0;\n if (!shouldForceFallback && null !== current && 0 !== (current.flags & 128))\n a: for (current = workInProgress.child; null !== current; ) {\n if (13 === current.tag)\n null !== current.memoizedState &&\n scheduleSuspenseWorkOnFiber(current, renderLanes, workInProgress);\n else if (19 === current.tag)\n scheduleSuspenseWorkOnFiber(current, renderLanes, workInProgress);\n else if (null !== current.child) {\n current.child.return = current;\n current = current.child;\n continue;\n }\n if (current === workInProgress) break a;\n for (; null === current.sibling; ) {\n if (null === current.return || current.return === workInProgress)\n break a;\n current = current.return;\n }\n current.sibling.return = current.return;\n current = current.sibling;\n }\n switch (revealOrder) {\n case \"backwards\":\n renderLanes = findLastContentRow(workInProgress.child);\n null === renderLanes\n ? ((revealOrder = workInProgress.child), (workInProgress.child = null))\n : ((revealOrder = renderLanes.sibling),\n (renderLanes.sibling = null),\n reverseChildren(workInProgress));\n initSuspenseListRenderState(\n workInProgress,\n !0,\n revealOrder,\n null,\n tailMode,\n nextProps\n );\n break;\n case \"unstable_legacy-backwards\":\n renderLanes = null;\n revealOrder = workInProgress.child;\n for (workInProgress.child = null; null !== revealOrder; ) {\n current = revealOrder.alternate;\n if (null !== current && null === findFirstSuspended(current)) {\n workInProgress.child = revealOrder;\n break;\n }\n current = revealOrder.sibling;\n revealOrder.sibling = renderLanes;\n renderLanes = revealOrder;\n revealOrder = current;\n }\n initSuspenseListRenderState(\n workInProgress,\n !0,\n renderLanes,\n null,\n tailMode,\n nextProps\n );\n break;\n case \"together\":\n initSuspenseListRenderState(\n workInProgress,\n !1,\n null,\n null,\n void 0,\n nextProps\n );\n break;\n case \"independent\":\n workInProgress.memoizedState = null;\n break;\n default:\n (renderLanes = findLastContentRow(workInProgress.child)),\n null === renderLanes\n ? ((revealOrder = workInProgress.child),\n (workInProgress.child = null))\n : ((revealOrder = renderLanes.sibling), (renderLanes.sibling = null)),\n initSuspenseListRenderState(\n workInProgress,\n !1,\n revealOrder,\n renderLanes,\n tailMode,\n nextProps\n );\n }\n return workInProgress.child;\n}\nfunction bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes) {\n null !== current && (workInProgress.dependencies = current.dependencies);\n workInProgressRootSkippedLanes |= workInProgress.lanes;\n if (0 === (renderLanes & workInProgress.childLanes))\n if (null !== current) {\n if (\n (propagateParentContextChanges(\n current,\n workInProgress,\n renderLanes,\n !1\n ),\n 0 === (renderLanes & workInProgress.childLanes))\n )\n return null;\n } else return null;\n if (null !== current && workInProgress.child !== current.child)\n throw Error(formatProdErrorMessage(153));\n if (null !== workInProgress.child) {\n current = workInProgress.child;\n renderLanes = createWorkInProgress(current, current.pendingProps);\n workInProgress.child = renderLanes;\n for (renderLanes.return = workInProgress; null !== current.sibling; )\n (current = current.sibling),\n (renderLanes = renderLanes.sibling =\n createWorkInProgress(current, current.pendingProps)),\n (renderLanes.return = workInProgress);\n renderLanes.sibling = null;\n }\n return workInProgress.child;\n}\nfunction checkScheduledUpdateOrContext(current, renderLanes) {\n if (0 !== (current.lanes & renderLanes)) return !0;\n current = current.dependencies;\n return null !== current && checkIfContextChanged(current) ? !0 : !1;\n}\nfunction attemptEarlyBailoutIfNoScheduledUpdate(\n current,\n workInProgress,\n renderLanes\n) {\n switch (workInProgress.tag) {\n case 3:\n pushHostContainer(workInProgress, workInProgress.stateNode.containerInfo);\n pushProvider(workInProgress, CacheContext, current.memoizedState.cache);\n resetHydrationState();\n break;\n case 27:\n case 5:\n pushHostContext(workInProgress);\n break;\n case 4:\n pushHostContainer(workInProgress, workInProgress.stateNode.containerInfo);\n break;\n case 10:\n pushProvider(\n workInProgress,\n workInProgress.type,\n workInProgress.memoizedProps.value\n );\n break;\n case 31:\n if (null !== workInProgress.memoizedState)\n return (\n (workInProgress.flags |= 128),\n pushDehydratedActivitySuspenseHandler(workInProgress),\n null\n );\n break;\n case 13:\n var state$106 = workInProgress.memoizedState;\n if (null !== state$106) {\n if (null !== state$106.dehydrated)\n return (\n pushPrimaryTreeSuspenseHandler(workInProgress),\n (workInProgress.flags |= 128),\n null\n );\n if (0 !== (renderLanes & workInProgress.child.childLanes))\n return updateSuspenseComponent(current, workInProgress, renderLanes);\n pushPrimaryTreeSuspenseHandler(workInProgress);\n current = bailoutOnAlreadyFinishedWork(\n current,\n workInProgress,\n renderLanes\n );\n return null !== current ? current.sibling : null;\n }\n pushPrimaryTreeSuspenseHandler(workInProgress);\n break;\n case 19:\n if (workInProgress.flags & 128)\n return updateSuspenseListComponent(\n current,\n workInProgress,\n renderLanes\n );\n var didSuspendBefore = 0 !== (current.flags & 128);\n state$106 = 0 !== (renderLanes & workInProgress.childLanes);\n state$106 ||\n (propagateParentContextChanges(\n current,\n workInProgress,\n renderLanes,\n !1\n ),\n (state$106 = 0 !== (renderLanes & workInProgress.childLanes)));\n if (didSuspendBefore) {\n if (state$106)\n return updateSuspenseListComponent(\n current,\n workInProgress,\n renderLanes\n );\n workInProgress.flags |= 128;\n }\n didSuspendBefore = workInProgress.memoizedState;\n null !== didSuspendBefore &&\n ((didSuspendBefore.rendering = null),\n (didSuspendBefore.tail = null),\n (didSuspendBefore.lastEffect = null));\n pushSuspenseListContext(workInProgress, suspenseStackCursor.current);\n if (state$106) break;\n else return null;\n case 22:\n return (\n (workInProgress.lanes = 0),\n updateOffscreenComponent(\n current,\n workInProgress,\n renderLanes,\n workInProgress.pendingProps\n )\n );\n case 24:\n pushProvider(workInProgress, CacheContext, current.memoizedState.cache);\n }\n return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes);\n}\nfunction beginWork(current, workInProgress, renderLanes) {\n if (null !== current)\n if (current.memoizedProps !== workInProgress.pendingProps)\n didReceiveUpdate = !0;\n else {\n if (\n !checkScheduledUpdateOrContext(current, renderLanes) &&\n 0 === (workInProgress.flags & 128)\n )\n return (\n (didReceiveUpdate = !1),\n attemptEarlyBailoutIfNoScheduledUpdate(\n current,\n workInProgress,\n renderLanes\n )\n );\n didReceiveUpdate = 0 !== (current.flags & 131072) ? !0 : !1;\n }\n else\n (didReceiveUpdate = !1),\n isHydrating &&\n 0 !== (workInProgress.flags & 1048576) &&\n pushTreeId(workInProgress, treeForkCount, workInProgress.index);\n workInProgress.lanes = 0;\n switch (workInProgress.tag) {\n case 16:\n a: {\n var props = workInProgress.pendingProps;\n current = resolveLazy(workInProgress.elementType);\n workInProgress.type = current;\n if (\"function\" === typeof current)\n shouldConstruct(current)\n ? ((props = resolveClassComponentProps(current, props)),\n (workInProgress.tag = 1),\n (workInProgress = updateClassComponent(\n null,\n workInProgress,\n current,\n props,\n renderLanes\n )))\n : ((workInProgress.tag = 0),\n (workInProgress = updateFunctionComponent(\n null,\n workInProgress,\n current,\n props,\n renderLanes\n )));\n else {\n if (void 0 !== current && null !== current) {\n var $$typeof = current.$$typeof;\n if ($$typeof === REACT_FORWARD_REF_TYPE) {\n workInProgress.tag = 11;\n workInProgress = updateForwardRef(\n null,\n workInProgress,\n current,\n props,\n renderLanes\n );\n break a;\n } else if ($$typeof === REACT_MEMO_TYPE) {\n workInProgress.tag = 14;\n workInProgress = updateMemoComponent(\n null,\n workInProgress,\n current,\n props,\n renderLanes\n );\n break a;\n }\n }\n workInProgress = getComponentNameFromType(current) || current;\n throw Error(formatProdErrorMessage(306, workInProgress, \"\"));\n }\n }\n return workInProgress;\n case 0:\n return updateFunctionComponent(\n current,\n workInProgress,\n workInProgress.type,\n workInProgress.pendingProps,\n renderLanes\n );\n case 1:\n return (\n (props = workInProgress.type),\n ($$typeof = resolveClassComponentProps(\n props,\n workInProgress.pendingProps\n )),\n updateClassComponent(\n current,\n workInProgress,\n props,\n $$typeof,\n renderLanes\n )\n );\n case 3:\n a: {\n pushHostContainer(\n workInProgress,\n workInProgress.stateNode.containerInfo\n );\n if (null === current) throw Error(formatProdErrorMessage(387));\n props = workInProgress.pendingProps;\n var prevState = workInProgress.memoizedState;\n $$typeof = prevState.element;\n cloneUpdateQueue(current, workInProgress);\n processUpdateQueue(workInProgress, props, null, renderLanes);\n var nextState = workInProgress.memoizedState;\n props = nextState.cache;\n pushProvider(workInProgress, CacheContext, props);\n props !== prevState.cache &&\n propagateContextChanges(\n workInProgress,\n [CacheContext],\n renderLanes,\n !0\n );\n suspendIfUpdateReadFromEntangledAsyncAction();\n props = nextState.element;\n if (prevState.isDehydrated)\n if (\n ((prevState = {\n element: props,\n isDehydrated: !1,\n cache: nextState.cache\n }),\n (workInProgress.updateQueue.baseState = prevState),\n (workInProgress.memoizedState = prevState),\n workInProgress.flags & 256)\n ) {\n workInProgress = mountHostRootWithoutHydrating(\n current,\n workInProgress,\n props,\n renderLanes\n );\n break a;\n } else if (props !== $$typeof) {\n $$typeof = createCapturedValueAtFiber(\n Error(formatProdErrorMessage(424)),\n workInProgress\n );\n queueHydrationError($$typeof);\n workInProgress = mountHostRootWithoutHydrating(\n current,\n workInProgress,\n props,\n renderLanes\n );\n break a;\n } else {\n current = workInProgress.stateNode.containerInfo;\n switch (current.nodeType) {\n case 9:\n current = current.body;\n break;\n default:\n current =\n \"HTML\" === current.nodeName\n ? current.ownerDocument.body\n : current;\n }\n nextHydratableInstance = getNextHydratable(current.firstChild);\n hydrationParentFiber = workInProgress;\n isHydrating = !0;\n hydrationErrors = null;\n rootOrSingletonContext = !0;\n renderLanes = mountChildFibers(\n workInProgress,\n null,\n props,\n renderLanes\n );\n for (workInProgress.child = renderLanes; renderLanes; )\n (renderLanes.flags = (renderLanes.flags & -3) | 4096),\n (renderLanes = renderLanes.sibling);\n }\n else {\n resetHydrationState();\n if (props === $$typeof) {\n workInProgress = bailoutOnAlreadyFinishedWork(\n current,\n workInProgress,\n renderLanes\n );\n break a;\n }\n reconcileChildren(current, workInProgress, props, renderLanes);\n }\n workInProgress = workInProgress.child;\n }\n return workInProgress;\n case 26:\n return (\n markRef(current, workInProgress),\n null === current\n ? (renderLanes = getResource(\n workInProgress.type,\n null,\n workInProgress.pendingProps,\n null\n ))\n ? (workInProgress.memoizedState = renderLanes)\n : isHydrating ||\n ((renderLanes = workInProgress.type),\n (current = workInProgress.pendingProps),\n (props = getOwnerDocumentFromRootContainer(\n rootInstanceStackCursor.current\n ).createElement(renderLanes)),\n (props[internalInstanceKey] = workInProgress),\n (props[internalPropsKey] = current),\n setInitialProperties(props, renderLanes, current),\n markNodeAsHoistable(props),\n (workInProgress.stateNode = props))\n : (workInProgress.memoizedState = getResource(\n workInProgress.type,\n current.memoizedProps,\n workInProgress.pendingProps,\n current.memoizedState\n )),\n null\n );\n case 27:\n return (\n pushHostContext(workInProgress),\n null === current &&\n isHydrating &&\n ((props = workInProgress.stateNode =\n resolveSingletonInstance(\n workInProgress.type,\n workInProgress.pendingProps,\n rootInstanceStackCursor.current\n )),\n (hydrationParentFiber = workInProgress),\n (rootOrSingletonContext = !0),\n ($$typeof = nextHydratableInstance),\n isSingletonScope(workInProgress.type)\n ? ((previousHydratableOnEnteringScopedSingleton = $$typeof),\n (nextHydratableInstance = getNextHydratable(props.firstChild)))\n : (nextHydratableInstance = $$typeof)),\n reconcileChildren(\n current,\n workInProgress,\n workInProgress.pendingProps.children,\n renderLanes\n ),\n markRef(current, workInProgress),\n null === current && (workInProgress.flags |= 4194304),\n workInProgress.child\n );\n case 5:\n if (null === current && isHydrating) {\n if (($$typeof = props = nextHydratableInstance))\n (props = canHydrateInstance(\n props,\n workInProgress.type,\n workInProgress.pendingProps,\n rootOrSingletonContext\n )),\n null !== props\n ? ((workInProgress.stateNode = props),\n (hydrationParentFiber = workInProgress),\n (nextHydratableInstance = getNextHydratable(props.firstChild)),\n (rootOrSingletonContext = !1),\n ($$typeof = !0))\n : ($$typeof = !1);\n $$typeof || throwOnHydrationMismatch(workInProgress);\n }\n pushHostContext(workInProgress);\n $$typeof = workInProgress.type;\n prevState = workInProgress.pendingProps;\n nextState = null !== current ? current.memoizedProps : null;\n props = prevState.children;\n shouldSetTextContent($$typeof, prevState)\n ? (props = null)\n : null !== nextState &&\n shouldSetTextContent($$typeof, nextState) &&\n (workInProgress.flags |= 32);\n null !== workInProgress.memoizedState &&\n (($$typeof = renderWithHooks(\n current,\n workInProgress,\n TransitionAwareHostComponent,\n null,\n null,\n renderLanes\n )),\n (HostTransitionContext._currentValue = $$typeof));\n markRef(current, workInProgress);\n reconcileChildren(current, workInProgress, props, renderLanes);\n return workInProgress.child;\n case 6:\n if (null === current && isHydrating) {\n if ((current = renderLanes = nextHydratableInstance))\n (renderLanes = canHydrateTextInstance(\n renderLanes,\n workInProgress.pendingProps,\n rootOrSingletonContext\n )),\n null !== renderLanes\n ? ((workInProgress.stateNode = renderLanes),\n (hydrationParentFiber = workInProgress),\n (nextHydratableInstance = null),\n (current = !0))\n : (current = !1);\n current || throwOnHydrationMismatch(workInProgress);\n }\n return null;\n case 13:\n return updateSuspenseComponent(current, workInProgress, renderLanes);\n case 4:\n return (\n pushHostContainer(\n workInProgress,\n workInProgress.stateNode.containerInfo\n ),\n (props = workInProgress.pendingProps),\n null === current\n ? (workInProgress.child = reconcileChildFibers(\n workInProgress,\n null,\n props,\n renderLanes\n ))\n : reconcileChildren(current, workInProgress, props, renderLanes),\n workInProgress.child\n );\n case 11:\n return updateForwardRef(\n current,\n workInProgress,\n workInProgress.type,\n workInProgress.pendingProps,\n renderLanes\n );\n case 7:\n return (\n (props = workInProgress.pendingProps),\n markRef(current, workInProgress),\n reconcileChildren(current, workInProgress, props, renderLanes),\n workInProgress.child\n );\n case 8:\n return (\n reconcileChildren(\n current,\n workInProgress,\n workInProgress.pendingProps.children,\n renderLanes\n ),\n workInProgress.child\n );\n case 12:\n return (\n reconcileChildren(\n current,\n workInProgress,\n workInProgress.pendingProps.children,\n renderLanes\n ),\n workInProgress.child\n );\n case 10:\n return (\n (props = workInProgress.pendingProps),\n pushProvider(workInProgress, workInProgress.type, props.value),\n reconcileChildren(current, workInProgress, props.children, renderLanes),\n workInProgress.child\n );\n case 9:\n return (\n ($$typeof = workInProgress.type._context),\n (props = workInProgress.pendingProps.children),\n prepareToReadContext(workInProgress),\n ($$typeof = readContext($$typeof)),\n (props = props($$typeof)),\n (workInProgress.flags |= 1),\n reconcileChildren(current, workInProgress, props, renderLanes),\n workInProgress.child\n );\n case 14:\n return updateMemoComponent(\n current,\n workInProgress,\n workInProgress.type,\n workInProgress.pendingProps,\n renderLanes\n );\n case 15:\n return updateSimpleMemoComponent(\n current,\n workInProgress,\n workInProgress.type,\n workInProgress.pendingProps,\n renderLanes\n );\n case 19:\n return updateSuspenseListComponent(current, workInProgress, renderLanes);\n case 31:\n return updateActivityComponent(current, workInProgress, renderLanes);\n case 22:\n return updateOffscreenComponent(\n current,\n workInProgress,\n renderLanes,\n workInProgress.pendingProps\n );\n case 24:\n return (\n prepareToReadContext(workInProgress),\n (props = readContext(CacheContext)),\n null === current\n ? (($$typeof = peekCacheFromPool()),\n null === $$typeof &&\n (($$typeof = workInProgressRoot),\n (prevState = createCache()),\n ($$typeof.pooledCache = prevState),\n prevState.refCount++,\n null !== prevState && ($$typeof.pooledCacheLanes |= renderLanes),\n ($$typeof = prevState)),\n (workInProgress.memoizedState = { parent: props, cache: $$typeof }),\n initializeUpdateQueue(workInProgress),\n pushProvider(workInProgress, CacheContext, $$typeof))\n : (0 !== (current.lanes & renderLanes) &&\n (cloneUpdateQueue(current, workInProgress),\n processUpdateQueue(workInProgress, null, null, renderLanes),\n suspendIfUpdateReadFromEntangledAsyncAction()),\n ($$typeof = current.memoizedState),\n (prevState = workInProgress.memoizedState),\n $$typeof.parent !== props\n ? (($$typeof = { parent: props, cache: props }),\n (workInProgress.memoizedState = $$typeof),\n 0 === workInProgress.lanes &&\n (workInProgress.memoizedState =\n workInProgress.updateQueue.baseState =\n $$typeof),\n pushProvider(workInProgress, CacheContext, props))\n : ((props = prevState.cache),\n pushProvider(workInProgress, CacheContext, props),\n props !== $$typeof.cache &&\n propagateContextChanges(\n workInProgress,\n [CacheContext],\n renderLanes,\n !0\n ))),\n reconcileChildren(\n current,\n workInProgress,\n workInProgress.pendingProps.children,\n renderLanes\n ),\n workInProgress.child\n );\n case 30:\n return (\n (props = workInProgress.pendingProps),\n null != props.name && \"auto\" !== props.name\n ? (workInProgress.flags |= null === current ? 18882560 : 18874368)\n : isHydrating && pushMaterializedTreeId(workInProgress),\n null !== current && current.memoizedProps.name !== props.name\n ? (workInProgress.flags |= 4194816)\n : markRef(current, workInProgress),\n reconcileChildren(current, workInProgress, props.children, renderLanes),\n workInProgress.child\n );\n case 29:\n throw workInProgress.pendingProps;\n }\n throw Error(formatProdErrorMessage(156, workInProgress.tag));\n}\nfunction markUpdate(workInProgress) {\n workInProgress.flags |= 4;\n}\nfunction preloadInstanceAndSuspendIfNeeded(\n workInProgress,\n type,\n oldProps,\n newProps,\n renderLanes\n) {\n var JSCompiler_temp;\n if ((JSCompiler_temp = 0 !== (workInProgress.mode & 32)))\n JSCompiler_temp =\n null === oldProps\n ? maySuspendCommit(type, newProps)\n : maySuspendCommit(type, newProps) &&\n (newProps.src !== oldProps.src ||\n newProps.srcSet !== oldProps.srcSet);\n if (JSCompiler_temp) {\n if (\n ((workInProgress.flags |= 16777216),\n (renderLanes & 335544128) === renderLanes)\n )\n if (workInProgress.stateNode.complete) workInProgress.flags |= 8192;\n else if (shouldRemainOnPreviousScreen()) workInProgress.flags |= 8192;\n else\n throw (\n ((suspendedThenable = noopSuspenseyCommitThenable),\n SuspenseyCommitException)\n );\n } else workInProgress.flags &= -16777217;\n}\nfunction preloadResourceAndSuspendIfNeeded(workInProgress, resource) {\n if (\"stylesheet\" !== resource.type || 0 !== (resource.state.loading & 4))\n workInProgress.flags &= -16777217;\n else if (((workInProgress.flags |= 16777216), !preloadResource(resource)))\n if (shouldRemainOnPreviousScreen()) workInProgress.flags |= 8192;\n else\n throw (\n ((suspendedThenable = noopSuspenseyCommitThenable),\n SuspenseyCommitException)\n );\n}\nfunction scheduleRetryEffect(workInProgress, retryQueue) {\n null !== retryQueue && (workInProgress.flags |= 4);\n workInProgress.flags & 16384 &&\n ((retryQueue =\n 22 !== workInProgress.tag ? claimNextRetryLane() : 536870912),\n (workInProgress.lanes |= retryQueue),\n (workInProgressSuspendedRetryLanes |= retryQueue));\n}\nfunction cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {\n if (!isHydrating)\n switch (renderState.tailMode) {\n case \"visible\":\n break;\n case \"collapsed\":\n for (\n var tailNode = renderState.tail, lastTailNode = null;\n null !== tailNode;\n\n )\n null !== tailNode.alternate && (lastTailNode = tailNode),\n (tailNode = tailNode.sibling);\n null === lastTailNode\n ? hasRenderedATailFallback || null === renderState.tail\n ? (renderState.tail = null)\n : (renderState.tail.sibling = null)\n : (lastTailNode.sibling = null);\n break;\n default:\n hasRenderedATailFallback = renderState.tail;\n for (tailNode = null; null !== hasRenderedATailFallback; )\n null !== hasRenderedATailFallback.alternate &&\n (tailNode = hasRenderedATailFallback),\n (hasRenderedATailFallback = hasRenderedATailFallback.sibling);\n null === tailNode\n ? (renderState.tail = null)\n : (tailNode.sibling = null);\n }\n}\nfunction bubbleProperties(completedWork) {\n var didBailout =\n null !== completedWork.alternate &&\n completedWork.alternate.child === completedWork.child,\n newChildLanes = 0,\n subtreeFlags = 0;\n if (didBailout)\n for (var child$111 = completedWork.child; null !== child$111; )\n (newChildLanes |= child$111.lanes | child$111.childLanes),\n (subtreeFlags |= child$111.subtreeFlags & 132120576),\n (subtreeFlags |= child$111.flags & 132120576),\n (child$111.return = completedWork),\n (child$111 = child$111.sibling);\n else\n for (child$111 = completedWork.child; null !== child$111; )\n (newChildLanes |= child$111.lanes | child$111.childLanes),\n (subtreeFlags |= child$111.subtreeFlags),\n (subtreeFlags |= child$111.flags),\n (child$111.return = completedWork),\n (child$111 = child$111.sibling);\n completedWork.subtreeFlags |= subtreeFlags;\n completedWork.childLanes = newChildLanes;\n return didBailout;\n}\nfunction completeWork(current, workInProgress, renderLanes) {\n var newProps = workInProgress.pendingProps;\n popTreeContext(workInProgress);\n switch (workInProgress.tag) {\n case 16:\n case 15:\n case 0:\n case 11:\n case 7:\n case 8:\n case 12:\n case 9:\n case 14:\n return bubbleProperties(workInProgress), null;\n case 1:\n return bubbleProperties(workInProgress), null;\n case 3:\n renderLanes = workInProgress.stateNode;\n newProps = null;\n null !== current && (newProps = current.memoizedState.cache);\n workInProgress.memoizedState.cache !== newProps &&\n (workInProgress.flags |= 2048);\n popProvider(CacheContext);\n popHostContainer();\n renderLanes.pendingContext &&\n ((renderLanes.context = renderLanes.pendingContext),\n (renderLanes.pendingContext = null));\n if (null === current || null === current.child)\n popHydrationState(workInProgress)\n ? markUpdate(workInProgress)\n : null === current ||\n (current.memoizedState.isDehydrated &&\n 0 === (workInProgress.flags & 256)) ||\n ((workInProgress.flags |= 1024),\n upgradeHydrationErrorsToRecoverable());\n bubbleProperties(workInProgress);\n return null;\n case 26:\n var type = workInProgress.type,\n nextResource = workInProgress.memoizedState;\n null === current\n ? (markUpdate(workInProgress),\n null !== nextResource\n ? (bubbleProperties(workInProgress),\n preloadResourceAndSuspendIfNeeded(workInProgress, nextResource))\n : (bubbleProperties(workInProgress),\n preloadInstanceAndSuspendIfNeeded(\n workInProgress,\n type,\n null,\n newProps,\n renderLanes\n )))\n : nextResource\n ? nextResource !== current.memoizedState\n ? (markUpdate(workInProgress),\n bubbleProperties(workInProgress),\n preloadResourceAndSuspendIfNeeded(workInProgress, nextResource))\n : (bubbleProperties(workInProgress),\n (workInProgress.flags &= -16777217))\n : ((current = current.memoizedProps),\n current !== newProps && markUpdate(workInProgress),\n bubbleProperties(workInProgress),\n preloadInstanceAndSuspendIfNeeded(\n workInProgress,\n type,\n current,\n newProps,\n renderLanes\n ));\n return null;\n case 27:\n popHostContext(workInProgress);\n renderLanes = rootInstanceStackCursor.current;\n type = workInProgress.type;\n if (null !== current && null != workInProgress.stateNode)\n current.memoizedProps !== newProps && markUpdate(workInProgress);\n else {\n if (!newProps) {\n if (null === workInProgress.stateNode)\n throw Error(formatProdErrorMessage(166));\n bubbleProperties(workInProgress);\n workInProgress.subtreeFlags &= -33554433;\n return null;\n }\n current = contextStackCursor.current;\n popHydrationState(workInProgress)\n ? prepareToHydrateHostInstance(workInProgress, current)\n : ((current = resolveSingletonInstance(type, newProps, renderLanes)),\n (workInProgress.stateNode = current),\n markUpdate(workInProgress));\n }\n bubbleProperties(workInProgress);\n workInProgress.subtreeFlags &= -33554433;\n return null;\n case 5:\n popHostContext(workInProgress);\n type = workInProgress.type;\n if (null !== current && null != workInProgress.stateNode)\n current.memoizedProps !== newProps && markUpdate(workInProgress);\n else {\n if (!newProps) {\n if (null === workInProgress.stateNode)\n throw Error(formatProdErrorMessage(166));\n bubbleProperties(workInProgress);\n workInProgress.subtreeFlags &= -33554433;\n return null;\n }\n nextResource = contextStackCursor.current;\n if (popHydrationState(workInProgress))\n prepareToHydrateHostInstance(workInProgress, nextResource);\n else {\n var ownerDocument = getOwnerDocumentFromRootContainer(\n rootInstanceStackCursor.current\n );\n switch (nextResource) {\n case 1:\n nextResource = ownerDocument.createElementNS(\n \"http://www.w3.org/2000/svg\",\n type\n );\n break;\n case 2:\n nextResource = ownerDocument.createElementNS(\n \"http://www.w3.org/1998/Math/MathML\",\n type\n );\n break;\n default:\n switch (type) {\n case \"svg\":\n nextResource = ownerDocument.createElementNS(\n \"http://www.w3.org/2000/svg\",\n type\n );\n break;\n case \"math\":\n nextResource = ownerDocument.createElementNS(\n \"http://www.w3.org/1998/Math/MathML\",\n type\n );\n break;\n case \"script\":\n nextResource = ownerDocument.createElement(\"div\");\n nextResource.innerHTML = \"<script>\\x3c/script>\";\n nextResource = nextResource.removeChild(\n nextResource.firstChild\n );\n break;\n case \"select\":\n nextResource =\n \"string\" === typeof newProps.is\n ? ownerDocument.createElement(\"select\", {\n is: newProps.is\n })\n : ownerDocument.createElement(\"select\");\n newProps.multiple\n ? (nextResource.multiple = !0)\n : newProps.size && (nextResource.size = newProps.size);\n break;\n default:\n nextResource =\n \"string\" === typeof newProps.is\n ? ownerDocument.createElement(type, { is: newProps.is })\n : ownerDocument.createElement(type);\n }\n }\n nextResource[internalInstanceKey] = workInProgress;\n nextResource[internalPropsKey] = newProps;\n a: for (\n ownerDocument = workInProgress.child;\n null !== ownerDocument;\n\n ) {\n if (5 === ownerDocument.tag || 6 === ownerDocument.tag)\n nextResource.appendChild(ownerDocument.stateNode);\n else if (\n 4 !== ownerDocument.tag &&\n 27 !== ownerDocument.tag &&\n null !== ownerDocument.child\n ) {\n ownerDocument.child.return = ownerDocument;\n ownerDocument = ownerDocument.child;\n continue;\n }\n if (ownerDocument === workInProgress) break a;\n for (; null === ownerDocument.sibling; ) {\n if (\n null === ownerDocument.return ||\n ownerDocument.return === workInProgress\n )\n break a;\n ownerDocument = ownerDocument.return;\n }\n ownerDocument.sibling.return = ownerDocument.return;\n ownerDocument = ownerDocument.sibling;\n }\n workInProgress.stateNode = nextResource;\n a: switch (\n (setInitialProperties(nextResource, type, newProps), type)\n ) {\n case \"button\":\n case \"input\":\n case \"select\":\n case \"textarea\":\n newProps = !!newProps.autoFocus;\n break a;\n case \"img\":\n newProps = !0;\n break a;\n default:\n newProps = !1;\n }\n newProps && markUpdate(workInProgress);\n }\n }\n bubbleProperties(workInProgress);\n workInProgress.subtreeFlags &= -33554433;\n preloadInstanceAndSuspendIfNeeded(\n workInProgress,\n workInProgress.type,\n null === current ? null : current.memoizedProps,\n workInProgress.pendingProps,\n renderLanes\n );\n return null;\n case 6:\n if (current && null != workInProgress.stateNode)\n current.memoizedProps !== newProps && markUpdate(workInProgress);\n else {\n if (\"string\" !== typeof newProps && null === workInProgress.stateNode)\n throw Error(formatProdErrorMessage(166));\n current = rootInstanceStackCursor.current;\n if (popHydrationState(workInProgress)) {\n current = workInProgress.stateNode;\n renderLanes = workInProgress.memoizedProps;\n newProps = null;\n type = hydrationParentFiber;\n if (null !== type)\n switch (type.tag) {\n case 27:\n case 5:\n newProps = type.memoizedProps;\n }\n current[internalInstanceKey] = workInProgress;\n current =\n current.nodeValue === renderLanes ||\n (null !== newProps && !0 === newProps.suppressHydrationWarning) ||\n checkForUnmatchedText(current.nodeValue, renderLanes)\n ? !0\n : !1;\n current || throwOnHydrationMismatch(workInProgress, !0);\n } else\n (current =\n getOwnerDocumentFromRootContainer(current).createTextNode(\n newProps\n )),\n (current[internalInstanceKey] = workInProgress),\n (workInProgress.stateNode = current);\n }\n bubbleProperties(workInProgress);\n return null;\n case 31:\n renderLanes = workInProgress.memoizedState;\n if (null === current || null !== current.memoizedState) {\n newProps = popHydrationState(workInProgress);\n if (null !== renderLanes) {\n if (null === current) {\n if (!newProps) throw Error(formatProdErrorMessage(318));\n current = workInProgress.memoizedState;\n current = null !== current ? current.dehydrated : null;\n if (!current) throw Error(formatProdErrorMessage(557));\n current[internalInstanceKey] = workInProgress;\n } else\n resetHydrationState(),\n 0 === (workInProgress.flags & 128) &&\n (workInProgress.memoizedState = null),\n (workInProgress.flags |= 4);\n bubbleProperties(workInProgress);\n current = !1;\n } else\n (renderLanes = upgradeHydrationErrorsToRecoverable()),\n null !== current &&\n null !== current.memoizedState &&\n (current.memoizedState.hydrationErrors = renderLanes),\n (current = !0);\n if (!current) {\n if (workInProgress.flags & 256)\n return popSuspenseHandler(workInProgress), workInProgress;\n popSuspenseHandler(workInProgress);\n return null;\n }\n if (0 !== (workInProgress.flags & 128))\n throw Error(formatProdErrorMessage(558));\n }\n bubbleProperties(workInProgress);\n return null;\n case 13:\n newProps = workInProgress.memoizedState;\n if (\n null === current ||\n (null !== current.memoizedState &&\n null !== current.memoizedState.dehydrated)\n ) {\n type = popHydrationState(workInProgress);\n if (null !== newProps && null !== newProps.dehydrated) {\n if (null === current) {\n if (!type) throw Error(formatProdErrorMessage(318));\n type = workInProgress.memoizedState;\n type = null !== type ? type.dehydrated : null;\n if (!type) throw Error(formatProdErrorMessage(317));\n type[internalInstanceKey] = workInProgress;\n } else\n resetHydrationState(),\n 0 === (workInProgress.flags & 128) &&\n (workInProgress.memoizedState = null),\n (workInProgress.flags |= 4);\n bubbleProperties(workInProgress);\n type = !1;\n } else\n (type = upgradeHydrationErrorsToRecoverable()),\n null !== current &&\n null !== current.memoizedState &&\n (current.memoizedState.hydrationErrors = type),\n (type = !0);\n if (!type) {\n if (workInProgress.flags & 256)\n return popSuspenseHandler(workInProgress), workInProgress;\n popSuspenseHandler(workInProgress);\n return null;\n }\n }\n popSuspenseHandler(workInProgress);\n if (0 !== (workInProgress.flags & 128))\n return (workInProgress.lanes = renderLanes), workInProgress;\n renderLanes = null !== newProps;\n current = null !== current && null !== current.memoizedState;\n renderLanes &&\n ((newProps = workInProgress.child),\n (type = null),\n null !== newProps.alternate &&\n null !== newProps.alternate.memoizedState &&\n null !== newProps.alternate.memoizedState.cachePool &&\n (type = newProps.alternate.memoizedState.cachePool.pool),\n (nextResource = null),\n null !== newProps.memoizedState &&\n null !== newProps.memoizedState.cachePool &&\n (nextResource = newProps.memoizedState.cachePool.pool),\n nextResource !== type && (newProps.flags |= 2048));\n renderLanes !== current &&\n renderLanes &&\n (workInProgress.child.flags |= 8192);\n scheduleRetryEffect(workInProgress, workInProgress.updateQueue);\n bubbleProperties(workInProgress);\n return null;\n case 4:\n return (\n popHostContainer(),\n null === current &&\n listenToAllSupportedEvents(workInProgress.stateNode.containerInfo),\n (workInProgress.flags |= 67108864),\n bubbleProperties(workInProgress),\n null\n );\n case 10:\n return (\n popProvider(workInProgress.type), bubbleProperties(workInProgress), null\n );\n case 19:\n popSuspenseListContext(workInProgress);\n newProps = workInProgress.memoizedState;\n if (null === newProps) return bubbleProperties(workInProgress), null;\n type = 0 !== (workInProgress.flags & 128);\n nextResource = newProps.rendering;\n if (null === nextResource)\n if (type) cutOffTailIfNeeded(newProps, !1);\n else {\n if (\n 0 !== workInProgressRootExitStatus ||\n (null !== current && 0 !== (current.flags & 128))\n )\n for (current = workInProgress.child; null !== current; ) {\n nextResource = findFirstSuspended(current);\n if (null !== nextResource) {\n workInProgress.flags |= 128;\n cutOffTailIfNeeded(newProps, !1);\n current = nextResource.updateQueue;\n workInProgress.updateQueue = current;\n scheduleRetryEffect(workInProgress, current);\n workInProgress.subtreeFlags = 0;\n current = renderLanes;\n for (renderLanes = workInProgress.child; null !== renderLanes; )\n resetWorkInProgress(renderLanes, current),\n (renderLanes = renderLanes.sibling);\n pushSuspenseListContext(\n workInProgress,\n (suspenseStackCursor.current & 1) | 2\n );\n isHydrating &&\n pushTreeFork(workInProgress, newProps.treeForkCount);\n return workInProgress.child;\n }\n current = current.sibling;\n }\n null !== newProps.tail &&\n now() > workInProgressRootRenderTargetTime &&\n ((workInProgress.flags |= 128),\n (type = !0),\n cutOffTailIfNeeded(newProps, !1),\n (workInProgress.lanes = 4194304));\n }\n else {\n if (!type)\n if (\n ((current = findFirstSuspended(nextResource)), null !== current)\n ) {\n if (\n ((workInProgress.flags |= 128),\n (type = !0),\n (current = current.updateQueue),\n (workInProgress.updateQueue = current),\n scheduleRetryEffect(workInProgress, current),\n cutOffTailIfNeeded(newProps, !0),\n null === newProps.tail &&\n \"collapsed\" !== newProps.tailMode &&\n \"visible\" !== newProps.tailMode &&\n !nextResource.alternate &&\n !isHydrating)\n )\n return bubbleProperties(workInProgress), null;\n } else\n 2 * now() - newProps.renderingStartTime >\n workInProgressRootRenderTargetTime &&\n 536870912 !== renderLanes &&\n ((workInProgress.flags |= 128),\n (type = !0),\n cutOffTailIfNeeded(newProps, !1),\n (workInProgress.lanes = 4194304));\n newProps.isBackwards\n ? ((nextResource.sibling = workInProgress.child),\n (workInProgress.child = nextResource))\n : ((current = newProps.last),\n null !== current\n ? (current.sibling = nextResource)\n : (workInProgress.child = nextResource),\n (newProps.last = nextResource));\n }\n if (null !== newProps.tail) {\n current = newProps.tail;\n a: {\n for (renderLanes = current; null !== renderLanes; ) {\n if (null !== renderLanes.alternate) {\n renderLanes = !1;\n break a;\n }\n renderLanes = renderLanes.sibling;\n }\n renderLanes = !0;\n }\n newProps.rendering = current;\n newProps.tail = current.sibling;\n newProps.renderingStartTime = now();\n current.sibling = null;\n nextResource = suspenseStackCursor.current;\n nextResource = type ? (nextResource & 1) | 2 : nextResource & 1;\n \"visible\" === newProps.tailMode ||\n \"collapsed\" === newProps.tailMode ||\n !renderLanes ||\n isHydrating\n ? pushSuspenseListContext(workInProgress, nextResource)\n : ((renderLanes = nextResource),\n push(suspenseHandlerStackCursor, workInProgress),\n push(suspenseStackCursor, renderLanes),\n null === shellBoundary && (shellBoundary = workInProgress));\n isHydrating && pushTreeFork(workInProgress, newProps.treeForkCount);\n return current;\n }\n bubbleProperties(workInProgress);\n return null;\n case 22:\n case 23:\n return (\n popSuspenseHandler(workInProgress),\n popHiddenContext(),\n (newProps = null !== workInProgress.memoizedState),\n null !== current\n ? (null !== current.memoizedState) !== newProps &&\n (workInProgress.flags |= 8192)\n : newProps && (workInProgress.flags |= 8192),\n newProps\n ? 0 !== (renderLanes & 536870912) &&\n 0 === (workInProgress.flags & 128) &&\n (bubbleProperties(workInProgress),\n workInProgress.subtreeFlags & 6 && (workInProgress.flags |= 8192))\n : bubbleProperties(workInProgress),\n (renderLanes = workInProgress.updateQueue),\n null !== renderLanes &&\n scheduleRetryEffect(workInProgress, renderLanes.retryQueue),\n (renderLanes = null),\n null !== current &&\n null !== current.memoizedState &&\n null !== current.memoizedState.cachePool &&\n (renderLanes = current.memoizedState.cachePool.pool),\n (newProps = null),\n null !== workInProgress.memoizedState &&\n null !== workInProgress.memoizedState.cachePool &&\n (newProps = workInProgress.memoizedState.cachePool.pool),\n newProps !== renderLanes && (workInProgress.flags |= 2048),\n null !== current && pop(resumedCache),\n null\n );\n case 24:\n return (\n (renderLanes = null),\n null !== current && (renderLanes = current.memoizedState.cache),\n workInProgress.memoizedState.cache !== renderLanes &&\n (workInProgress.flags |= 2048),\n popProvider(CacheContext),\n bubbleProperties(workInProgress),\n null\n );\n case 25:\n return null;\n case 30:\n return (\n (workInProgress.flags |= 33554432),\n bubbleProperties(workInProgress),\n null\n );\n }\n throw Error(formatProdErrorMessage(156, workInProgress.tag));\n}\nfunction unwindWork(current, workInProgress) {\n popTreeContext(workInProgress);\n switch (workInProgress.tag) {\n case 1:\n return (\n (current = workInProgress.flags),\n current & 65536\n ? ((workInProgress.flags = (current & -65537) | 128), workInProgress)\n : null\n );\n case 3:\n return (\n popProvider(CacheContext),\n popHostContainer(),\n (current = workInProgress.flags),\n 0 !== (current & 65536) && 0 === (current & 128)\n ? ((workInProgress.flags = (current & -65537) | 128), workInProgress)\n : null\n );\n case 26:\n case 27:\n case 5:\n return popHostContext(workInProgress), null;\n case 31:\n if (null !== workInProgress.memoizedState) {\n popSuspenseHandler(workInProgress);\n if (null === workInProgress.alternate)\n throw Error(formatProdErrorMessage(340));\n resetHydrationState();\n }\n current = workInProgress.flags;\n return current & 65536\n ? ((workInProgress.flags = (current & -65537) | 128), workInProgress)\n : null;\n case 13:\n popSuspenseHandler(workInProgress);\n current = workInProgress.memoizedState;\n if (null !== current && null !== current.dehydrated) {\n if (null === workInProgress.alternate)\n throw Error(formatProdErrorMessage(340));\n resetHydrationState();\n }\n current = workInProgress.flags;\n return current & 65536\n ? ((workInProgress.flags = (current & -65537) | 128), workInProgress)\n : null;\n case 19:\n return (\n popSuspenseListContext(workInProgress),\n (current = workInProgress.flags),\n current & 65536\n ? ((workInProgress.flags = (current & -65537) | 128),\n (current = workInProgress.memoizedState),\n null !== current &&\n ((current.rendering = null), (current.tail = null)),\n (workInProgress.flags |= 4),\n workInProgress)\n : null\n );\n case 4:\n return popHostContainer(), null;\n case 10:\n return popProvider(workInProgress.type), null;\n case 22:\n case 23:\n return (\n popSuspenseHandler(workInProgress),\n popHiddenContext(),\n null !== current && pop(resumedCache),\n (current = workInProgress.flags),\n current & 65536\n ? ((workInProgress.flags = (current & -65537) | 128), workInProgress)\n : null\n );\n case 24:\n return popProvider(CacheContext), null;\n case 25:\n return null;\n default:\n return null;\n }\n}\nfunction unwindInterruptedWork(current, interruptedWork) {\n popTreeContext(interruptedWork);\n switch (interruptedWork.tag) {\n case 3:\n popProvider(CacheContext);\n popHostContainer();\n break;\n case 26:\n case 27:\n case 5:\n popHostContext(interruptedWork);\n break;\n case 4:\n popHostContainer();\n break;\n case 31:\n null !== interruptedWork.memoizedState &&\n popSuspenseHandler(interruptedWork);\n break;\n case 13:\n popSuspenseHandler(interruptedWork);\n break;\n case 19:\n popSuspenseListContext(interruptedWork);\n break;\n case 10:\n popProvider(interruptedWork.type);\n break;\n case 22:\n case 23:\n popSuspenseHandler(interruptedWork);\n popHiddenContext();\n null !== current && pop(resumedCache);\n break;\n case 24:\n popProvider(CacheContext);\n }\n}\nfunction commitHookEffectListMount(flags, finishedWork) {\n try {\n var updateQueue = finishedWork.updateQueue,\n lastEffect = null !== updateQueue ? updateQueue.lastEffect : null;\n if (null !== lastEffect) {\n var firstEffect = lastEffect.next;\n updateQueue = firstEffect;\n do {\n if ((updateQueue.tag & flags) === flags) {\n lastEffect = void 0;\n var create = updateQueue.create,\n inst = updateQueue.inst;\n lastEffect = create();\n inst.destroy = lastEffect;\n }\n updateQueue = updateQueue.next;\n } while (updateQueue !== firstEffect);\n }\n } catch (error) {\n captureCommitPhaseError(finishedWork, finishedWork.return, error);\n }\n}\nfunction commitHookEffectListUnmount(\n flags,\n finishedWork,\n nearestMountedAncestor$jscomp$0\n) {\n try {\n var updateQueue = finishedWork.updateQueue,\n lastEffect = null !== updateQueue ? updateQueue.lastEffect : null;\n if (null !== lastEffect) {\n var firstEffect = lastEffect.next;\n updateQueue = firstEffect;\n do {\n if ((updateQueue.tag & flags) === flags) {\n var inst = updateQueue.inst,\n destroy = inst.destroy;\n if (void 0 !== destroy) {\n inst.destroy = void 0;\n lastEffect = finishedWork;\n var nearestMountedAncestor = nearestMountedAncestor$jscomp$0,\n destroy_ = destroy;\n try {\n destroy_();\n } catch (error) {\n captureCommitPhaseError(\n lastEffect,\n nearestMountedAncestor,\n error\n );\n }\n }\n }\n updateQueue = updateQueue.next;\n } while (updateQueue !== firstEffect);\n }\n } catch (error) {\n captureCommitPhaseError(finishedWork, finishedWork.return, error);\n }\n}\nfunction commitClassCallbacks(finishedWork) {\n var updateQueue = finishedWork.updateQueue;\n if (null !== updateQueue) {\n var instance = finishedWork.stateNode;\n try {\n commitCallbacks(updateQueue, instance);\n } catch (error) {\n captureCommitPhaseError(finishedWork, finishedWork.return, error);\n }\n }\n}\nfunction safelyCallComponentWillUnmount(\n current,\n nearestMountedAncestor,\n instance\n) {\n instance.props = resolveClassComponentProps(\n current.type,\n current.memoizedProps\n );\n instance.state = current.memoizedState;\n try {\n instance.componentWillUnmount();\n } catch (error) {\n captureCommitPhaseError(current, nearestMountedAncestor, error);\n }\n}\nfunction safelyAttachRef(current, nearestMountedAncestor) {\n try {\n var ref = current.ref;\n if (null !== ref) {\n switch (current.tag) {\n case 26:\n case 27:\n case 5:\n var instanceToUse = current.stateNode;\n break;\n case 30:\n var instance = current.stateNode,\n name = getViewTransitionName(current.memoizedProps, instance);\n if (null === instance.ref || instance.ref.name !== name)\n instance.ref = createViewTransitionInstance(name);\n instanceToUse = instance.ref;\n break;\n case 7:\n null === current.stateNode &&\n (current.stateNode = new FragmentInstance(current));\n instanceToUse = current.stateNode;\n break;\n default:\n instanceToUse = current.stateNode;\n }\n \"function\" === typeof ref\n ? (current.refCleanup = ref(instanceToUse))\n : (ref.current = instanceToUse);\n }\n } catch (error) {\n captureCommitPhaseError(current, nearestMountedAncestor, error);\n }\n}\nfunction safelyDetachRef(current, nearestMountedAncestor) {\n var ref = current.ref,\n refCleanup = current.refCleanup;\n if (null !== ref)\n if (\"function\" === typeof refCleanup)\n try {\n refCleanup();\n } catch (error) {\n captureCommitPhaseError(current, nearestMountedAncestor, error);\n } finally {\n (current.refCleanup = null),\n (current = current.alternate),\n null != current && (current.refCleanup = null);\n }\n else if (\"function\" === typeof ref)\n try {\n ref(null);\n } catch (error$146) {\n captureCommitPhaseError(current, nearestMountedAncestor, error$146);\n }\n else ref.current = null;\n}\nfunction commitHostMount(finishedWork) {\n var type = finishedWork.type,\n props = finishedWork.memoizedProps,\n instance = finishedWork.stateNode;\n try {\n a: switch (type) {\n case \"button\":\n case \"input\":\n case \"select\":\n case \"textarea\":\n props.autoFocus && instance.focus();\n break a;\n case \"img\":\n props.src\n ? (instance.src = props.src)\n : props.srcSet && (instance.srcset = props.srcSet);\n }\n } catch (error) {\n captureCommitPhaseError(finishedWork, finishedWork.return, error);\n }\n}\nfunction commitHostUpdate(finishedWork, newProps, oldProps) {\n try {\n var domElement = finishedWork.stateNode;\n updateProperties(domElement, finishedWork.type, oldProps, newProps);\n domElement[internalPropsKey] = newProps;\n } catch (error) {\n captureCommitPhaseError(finishedWork, finishedWork.return, error);\n }\n}\nfunction commitNewChildToFragmentInstances(fiber, parentFragmentInstances) {\n if (\n 5 === fiber.tag &&\n null === fiber.alternate &&\n null !== parentFragmentInstances\n )\n for (var i = 0; i < parentFragmentInstances.length; i++)\n commitNewChildToFragmentInstance(\n fiber.stateNode,\n parentFragmentInstances[i]\n );\n}\nfunction commitFragmentInstanceDeletionEffects(fiber) {\n for (var parent = fiber.return; null !== parent; ) {\n if (isFragmentInstanceParent(parent)) {\n var childInstance = fiber.stateNode,\n eventListeners = parent.stateNode._eventListeners;\n if (null !== eventListeners)\n for (var i = 0; i < eventListeners.length; i++) {\n var _eventListeners$i4 = eventListeners[i];\n childInstance.removeEventListener(\n _eventListeners$i4.type,\n _eventListeners$i4.listener,\n _eventListeners$i4.optionsOrUseCapture\n );\n }\n }\n if (isHostParent(parent)) break;\n parent = parent.return;\n }\n}\nfunction isHostParent(fiber) {\n return (\n 5 === fiber.tag ||\n 3 === fiber.tag ||\n 26 === fiber.tag ||\n (27 === fiber.tag && isSingletonScope(fiber.type)) ||\n 4 === fiber.tag\n );\n}\nfunction isFragmentInstanceParent(fiber) {\n return fiber && 7 === fiber.tag && null !== fiber.stateNode;\n}\nfunction getHostSibling(fiber) {\n a: for (;;) {\n for (; null === fiber.sibling; ) {\n if (null === fiber.return || isHostParent(fiber.return)) return null;\n fiber = fiber.return;\n }\n fiber.sibling.return = fiber.return;\n for (\n fiber = fiber.sibling;\n 5 !== fiber.tag && 6 !== fiber.tag && 18 !== fiber.tag;\n\n ) {\n if (27 === fiber.tag && isSingletonScope(fiber.type)) continue a;\n if (fiber.flags & 2) continue a;\n if (null === fiber.child || 4 === fiber.tag) continue a;\n else (fiber.child.return = fiber), (fiber = fiber.child);\n }\n if (!(fiber.flags & 2)) return fiber.stateNode;\n }\n}\nfunction insertOrAppendPlacementNodeIntoContainer(\n node,\n before,\n parent,\n parentFragmentInstances\n) {\n var tag = node.tag;\n if (5 === tag || 6 === tag)\n (tag = node.stateNode),\n before\n ? (9 === parent.nodeType\n ? parent.body\n : \"HTML\" === parent.nodeName\n ? parent.ownerDocument.body\n : parent\n ).insertBefore(tag, before)\n : ((before =\n 9 === parent.nodeType\n ? parent.body\n : \"HTML\" === parent.nodeName\n ? parent.ownerDocument.body\n : parent),\n before.appendChild(tag),\n (parent = parent._reactRootContainer),\n (null !== parent && void 0 !== parent) ||\n null !== before.onclick ||\n (before.onclick = noop$1)),\n commitNewChildToFragmentInstances(node, parentFragmentInstances),\n (viewTransitionMutationContext = !0);\n else if (\n 4 !== tag &&\n (27 === tag &&\n isSingletonScope(node.type) &&\n ((parent = node.stateNode), (before = null)),\n (node = node.child),\n null !== node)\n )\n for (\n insertOrAppendPlacementNodeIntoContainer(\n node,\n before,\n parent,\n parentFragmentInstances\n ),\n node = node.sibling;\n null !== node;\n\n )\n insertOrAppendPlacementNodeIntoContainer(\n node,\n before,\n parent,\n parentFragmentInstances\n ),\n (node = node.sibling);\n}\nfunction insertOrAppendPlacementNode(\n node,\n before,\n parent,\n parentFragmentInstances\n) {\n var tag = node.tag;\n if (5 === tag || 6 === tag)\n (tag = node.stateNode),\n before ? parent.insertBefore(tag, before) : parent.appendChild(tag),\n commitNewChildToFragmentInstances(node, parentFragmentInstances),\n (viewTransitionMutationContext = !0);\n else if (\n 4 !== tag &&\n (27 === tag && isSingletonScope(node.type) && (parent = node.stateNode),\n (node = node.child),\n null !== node)\n )\n for (\n insertOrAppendPlacementNode(\n node,\n before,\n parent,\n parentFragmentInstances\n ),\n node = node.sibling;\n null !== node;\n\n )\n insertOrAppendPlacementNode(\n node,\n before,\n parent,\n parentFragmentInstances\n ),\n (node = node.sibling);\n}\nfunction commitHostSingletonAcquisition(finishedWork) {\n var singleton = finishedWork.stateNode,\n props = finishedWork.memoizedProps;\n try {\n for (\n var type = finishedWork.type, attributes = singleton.attributes;\n attributes.length;\n\n )\n singleton.removeAttributeNode(attributes[0]);\n setInitialProperties(singleton, type, props);\n singleton[internalInstanceKey] = finishedWork;\n singleton[internalPropsKey] = props;\n } catch (error) {\n captureCommitPhaseError(finishedWork, finishedWork.return, error);\n }\n}\nvar shouldStartViewTransition = !1,\n appearingViewTransitions = null;\nfunction trackEnterViewTransitions(placement) {\n if (30 === placement.tag || 0 !== (placement.subtreeFlags & 33554432))\n shouldStartViewTransition = !0;\n}\nvar viewTransitionCancelableChildren = null;\nfunction pushViewTransitionCancelableScope() {\n var prevChildren = viewTransitionCancelableChildren;\n viewTransitionCancelableChildren = null;\n return prevChildren;\n}\nvar viewTransitionHostInstanceIdx = 0;\nfunction applyViewTransitionToHostInstances(\n fiber,\n name,\n className,\n collectMeasurements,\n stopAtNestedViewTransitions\n) {\n viewTransitionHostInstanceIdx = 0;\n return applyViewTransitionToHostInstancesRecursive(\n fiber.child,\n name,\n className,\n collectMeasurements,\n stopAtNestedViewTransitions\n );\n}\nfunction applyViewTransitionToHostInstancesRecursive(\n child,\n name,\n className,\n collectMeasurements,\n stopAtNestedViewTransitions\n) {\n for (var inViewport = !1; null !== child; ) {\n if (5 === child.tag) {\n var instance = child.stateNode;\n if (null !== collectMeasurements) {\n var measurement = measureInstance(instance);\n collectMeasurements.push(measurement);\n measurement.view && (inViewport = !0);\n } else\n inViewport || (measureInstance(instance).view && (inViewport = !0));\n shouldStartViewTransition = !0;\n applyViewTransitionName(\n instance,\n 0 === viewTransitionHostInstanceIdx\n ? name\n : name + \"_\" + viewTransitionHostInstanceIdx,\n className\n );\n viewTransitionHostInstanceIdx++;\n } else if (22 !== child.tag || null === child.memoizedState)\n (30 === child.tag && stopAtNestedViewTransitions) ||\n (applyViewTransitionToHostInstancesRecursive(\n child.child,\n name,\n className,\n collectMeasurements,\n stopAtNestedViewTransitions\n ) &&\n (inViewport = !0));\n child = child.sibling;\n }\n return inViewport;\n}\nfunction restoreViewTransitionOnHostInstances(\n child,\n stopAtNestedViewTransitions\n) {\n for (; null !== child; ) {\n if (5 === child.tag)\n restoreViewTransitionName(child.stateNode, child.memoizedProps);\n else if (22 !== child.tag || null === child.memoizedState)\n (30 === child.tag && stopAtNestedViewTransitions) ||\n restoreViewTransitionOnHostInstances(\n child.child,\n stopAtNestedViewTransitions\n );\n child = child.sibling;\n }\n}\nfunction commitAppearingPairViewTransitions(placement) {\n if (0 !== (placement.subtreeFlags & 18874368))\n for (placement = placement.child; null !== placement; ) {\n if (22 !== placement.tag || null === placement.memoizedState)\n if (\n (commitAppearingPairViewTransitions(placement),\n 30 === placement.tag &&\n 0 !== (placement.flags & 18874368) &&\n placement.stateNode.paired)\n ) {\n var props = placement.memoizedProps;\n if (null == props.name || \"auto\" === props.name)\n throw Error(formatProdErrorMessage(544));\n var name = props.name;\n props = getViewTransitionClassName(props.default, props.share);\n \"none\" !== props &&\n (applyViewTransitionToHostInstances(\n placement,\n name,\n props,\n null,\n !1\n ) ||\n restoreViewTransitionOnHostInstances(placement.child, !1));\n }\n placement = placement.sibling;\n }\n}\nfunction commitEnterViewTransitions(placement, gesture) {\n if (30 === placement.tag) {\n var state = placement.stateNode,\n props = placement.memoizedProps,\n name = getViewTransitionName(props, state),\n className = getViewTransitionClassName(\n props.default,\n state.paired ? props.share : props.enter\n );\n \"none\" !== className\n ? applyViewTransitionToHostInstances(placement, name, className, null, !1)\n ? (commitAppearingPairViewTransitions(placement),\n state.paired ||\n gesture ||\n scheduleViewTransitionEvent(placement, props.onEnter))\n : restoreViewTransitionOnHostInstances(placement.child, !1)\n : commitAppearingPairViewTransitions(placement);\n } else if (0 !== (placement.subtreeFlags & 33554432))\n for (placement = placement.child; null !== placement; )\n commitEnterViewTransitions(placement, gesture),\n (placement = placement.sibling);\n else commitAppearingPairViewTransitions(placement);\n}\nfunction commitDeletedPairViewTransitions(deletion) {\n if (\n null !== appearingViewTransitions &&\n 0 !== appearingViewTransitions.size\n ) {\n var pairs = appearingViewTransitions;\n if (0 !== (deletion.subtreeFlags & 18874368))\n for (deletion = deletion.child; null !== deletion; ) {\n if (22 !== deletion.tag || null === deletion.memoizedState) {\n if (30 === deletion.tag && 0 !== (deletion.flags & 18874368)) {\n var props = deletion.memoizedProps,\n name = props.name;\n if (null != name && \"auto\" !== name) {\n var pair = pairs.get(name);\n if (void 0 !== pair) {\n var className = getViewTransitionClassName(\n props.default,\n props.share\n );\n \"none\" !== className &&\n (applyViewTransitionToHostInstances(\n deletion,\n name,\n className,\n null,\n !1\n )\n ? ((className = deletion.stateNode),\n (pair.paired = className),\n (className.paired = pair),\n scheduleViewTransitionEvent(deletion, props.onShare))\n : restoreViewTransitionOnHostInstances(deletion.child, !1));\n pairs.delete(name);\n if (0 === pairs.size) break;\n }\n }\n }\n commitDeletedPairViewTransitions(deletion);\n }\n deletion = deletion.sibling;\n }\n }\n}\nfunction commitExitViewTransitions(deletion) {\n if (30 === deletion.tag) {\n var props = deletion.memoizedProps,\n name = getViewTransitionName(props, deletion.stateNode),\n pair =\n null !== appearingViewTransitions\n ? appearingViewTransitions.get(name)\n : void 0,\n className = getViewTransitionClassName(\n props.default,\n void 0 !== pair ? props.share : props.exit\n );\n \"none\" !== className &&\n (applyViewTransitionToHostInstances(deletion, name, className, null, !1)\n ? void 0 !== pair\n ? ((className = deletion.stateNode),\n (pair.paired = className),\n (className.paired = pair),\n appearingViewTransitions.delete(name),\n scheduleViewTransitionEvent(deletion, props.onShare))\n : scheduleViewTransitionEvent(deletion, props.onExit)\n : restoreViewTransitionOnHostInstances(deletion.child, !1));\n null !== appearingViewTransitions &&\n commitDeletedPairViewTransitions(deletion);\n } else if (0 !== (deletion.subtreeFlags & 33554432))\n for (deletion = deletion.child; null !== deletion; )\n commitExitViewTransitions(deletion), (deletion = deletion.sibling);\n else\n null !== appearingViewTransitions &&\n commitDeletedPairViewTransitions(deletion);\n}\nfunction commitNestedViewTransitions(changedParent) {\n for (changedParent = changedParent.child; null !== changedParent; ) {\n if (30 === changedParent.tag) {\n var props = changedParent.memoizedProps,\n name = getViewTransitionName(props, changedParent.stateNode);\n props = getViewTransitionClassName(props.default, props.update);\n changedParent.flags &= -5;\n \"none\" !== props &&\n applyViewTransitionToHostInstances(\n changedParent,\n name,\n props,\n (changedParent.memoizedState = []),\n !1\n );\n } else\n 0 !== (changedParent.subtreeFlags & 33554432) &&\n commitNestedViewTransitions(changedParent);\n changedParent = changedParent.sibling;\n }\n}\nfunction restorePairedViewTransitions(parent) {\n if (0 !== (parent.subtreeFlags & 18874368))\n for (parent = parent.child; null !== parent; ) {\n if (22 !== parent.tag || null === parent.memoizedState) {\n if (30 === parent.tag && 0 !== (parent.flags & 18874368)) {\n var instance = parent.stateNode;\n null !== instance.paired &&\n ((instance.paired = null),\n restoreViewTransitionOnHostInstances(parent.child, !1));\n }\n restorePairedViewTransitions(parent);\n }\n parent = parent.sibling;\n }\n}\nfunction restoreEnterOrExitViewTransitions(fiber) {\n if (30 === fiber.tag)\n (fiber.stateNode.paired = null),\n restoreViewTransitionOnHostInstances(fiber.child, !1),\n restorePairedViewTransitions(fiber);\n else if (0 !== (fiber.subtreeFlags & 33554432))\n for (fiber = fiber.child; null !== fiber; )\n restoreEnterOrExitViewTransitions(fiber), (fiber = fiber.sibling);\n else restorePairedViewTransitions(fiber);\n}\nfunction restoreNestedViewTransitions(changedParent) {\n for (changedParent = changedParent.child; null !== changedParent; )\n 30 === changedParent.tag\n ? restoreViewTransitionOnHostInstances(changedParent.child, !1)\n : 0 !== (changedParent.subtreeFlags & 33554432) &&\n restoreNestedViewTransitions(changedParent),\n (changedParent = changedParent.sibling);\n}\nfunction measureViewTransitionHostInstancesRecursive(\n parentViewTransition,\n child,\n newName,\n oldName,\n className,\n previousMeasurements,\n stopAtNestedViewTransitions\n) {\n for (var inViewport = !1; null !== child; ) {\n if (5 === child.tag) {\n var instance = child.stateNode;\n if (\n null !== previousMeasurements &&\n viewTransitionHostInstanceIdx < previousMeasurements.length\n ) {\n var previousMeasurement =\n previousMeasurements[viewTransitionHostInstanceIdx],\n nextMeasurement = measureInstance(instance);\n if (previousMeasurement.view || nextMeasurement.view) inViewport = !0;\n var JSCompiler_temp;\n if ((JSCompiler_temp = 0 === (parentViewTransition.flags & 4)))\n if (nextMeasurement.clip) JSCompiler_temp = !0;\n else {\n JSCompiler_temp = previousMeasurement.rect;\n var newRect = nextMeasurement.rect;\n JSCompiler_temp =\n JSCompiler_temp.y !== newRect.y ||\n JSCompiler_temp.x !== newRect.x ||\n JSCompiler_temp.height !== newRect.height ||\n JSCompiler_temp.width !== newRect.width;\n }\n JSCompiler_temp && (parentViewTransition.flags |= 4);\n nextMeasurement.abs\n ? (nextMeasurement = !previousMeasurement.abs)\n : ((previousMeasurement = previousMeasurement.rect),\n (nextMeasurement = nextMeasurement.rect),\n (nextMeasurement =\n previousMeasurement.height !== nextMeasurement.height ||\n previousMeasurement.width !== nextMeasurement.width));\n nextMeasurement && (parentViewTransition.flags |= 32);\n } else parentViewTransition.flags |= 32;\n 0 !== (parentViewTransition.flags & 4) &&\n applyViewTransitionName(\n instance,\n 0 === viewTransitionHostInstanceIdx\n ? newName\n : newName + \"_\" + viewTransitionHostInstanceIdx,\n className\n );\n (inViewport && 0 !== (parentViewTransition.flags & 4)) ||\n (null === viewTransitionCancelableChildren &&\n (viewTransitionCancelableChildren = []),\n viewTransitionCancelableChildren.push(\n instance,\n oldName,\n child.memoizedProps\n ));\n viewTransitionHostInstanceIdx++;\n } else if (22 !== child.tag || null === child.memoizedState)\n 30 === child.tag && stopAtNestedViewTransitions\n ? (parentViewTransition.flags |= child.flags & 32)\n : measureViewTransitionHostInstancesRecursive(\n parentViewTransition,\n child.child,\n newName,\n oldName,\n className,\n previousMeasurements,\n stopAtNestedViewTransitions\n ) && (inViewport = !0);\n child = child.sibling;\n }\n return inViewport;\n}\nfunction measureNestedViewTransitions(changedParent, gesture) {\n for (changedParent = changedParent.child; null !== changedParent; ) {\n if (30 === changedParent.tag) {\n var props = changedParent.memoizedProps,\n state = changedParent.stateNode,\n name = getViewTransitionName(props, state),\n className = getViewTransitionClassName(props.default, props.update);\n if (gesture) {\n state = state.clones;\n var previousMeasurements =\n null === state ? null : state.map(measureClonedInstance);\n } else\n (previousMeasurements = changedParent.memoizedState),\n (changedParent.memoizedState = null);\n state = changedParent;\n var child = changedParent.child;\n viewTransitionHostInstanceIdx = 0;\n name = measureViewTransitionHostInstancesRecursive(\n state,\n child,\n name,\n name,\n className,\n previousMeasurements,\n !1\n );\n 0 !== (changedParent.flags & 4) &&\n name &&\n (gesture || scheduleViewTransitionEvent(changedParent, props.onUpdate));\n } else\n 0 !== (changedParent.subtreeFlags & 33554432) &&\n measureNestedViewTransitions(changedParent, gesture);\n changedParent = changedParent.sibling;\n }\n}\nvar offscreenSubtreeIsHidden = !1,\n offscreenSubtreeWasHidden = !1,\n offscreenDirectParentIsHidden = !1,\n needsFormReset = !1,\n PossiblyWeakSet = \"function\" === typeof WeakSet ? WeakSet : Set,\n nextEffect = null,\n viewTransitionContextChanged = !1,\n inUpdateViewTransition = !1,\n rootViewTransitionAffected = !1,\n rootViewTransitionNameCanceled = !1;\nfunction commitBeforeMutationEffects(root, firstChild, committedLanes) {\n root = root.containerInfo;\n eventsEnabled = _enabled;\n root = getActiveElementDeep(root);\n if (hasSelectionCapabilities(root)) {\n if (\"selectionStart\" in root)\n var JSCompiler_temp = {\n start: root.selectionStart,\n end: root.selectionEnd\n };\n else\n a: {\n JSCompiler_temp =\n ((JSCompiler_temp = root.ownerDocument) &&\n JSCompiler_temp.defaultView) ||\n window;\n var selection =\n JSCompiler_temp.getSelection && JSCompiler_temp.getSelection();\n if (selection && 0 !== selection.rangeCount) {\n JSCompiler_temp = selection.anchorNode;\n var anchorOffset = selection.anchorOffset,\n focusNode = selection.focusNode;\n selection = selection.focusOffset;\n try {\n JSCompiler_temp.nodeType, focusNode.nodeType;\n } catch (e$20) {\n JSCompiler_temp = null;\n break a;\n }\n var length = 0,\n start = -1,\n end = -1,\n indexWithinAnchor = 0,\n indexWithinFocus = 0,\n node = root,\n parentNode = null;\n b: for (;;) {\n for (var next; ; ) {\n node !== JSCompiler_temp ||\n (0 !== anchorOffset && 3 !== node.nodeType) ||\n (start = length + anchorOffset);\n node !== focusNode ||\n (0 !== selection && 3 !== node.nodeType) ||\n (end = length + selection);\n 3 === node.nodeType && (length += node.nodeValue.length);\n if (null === (next = node.firstChild)) break;\n parentNode = node;\n node = next;\n }\n for (;;) {\n if (node === root) break b;\n parentNode === JSCompiler_temp &&\n ++indexWithinAnchor === anchorOffset &&\n (start = length);\n parentNode === focusNode &&\n ++indexWithinFocus === selection &&\n (end = length);\n if (null !== (next = node.nextSibling)) break;\n node = parentNode;\n parentNode = node.parentNode;\n }\n node = next;\n }\n JSCompiler_temp =\n -1 === start || -1 === end ? null : { start: start, end: end };\n } else JSCompiler_temp = null;\n }\n JSCompiler_temp = JSCompiler_temp || { start: 0, end: 0 };\n } else JSCompiler_temp = null;\n selectionInformation = { focusedElem: root, selectionRange: JSCompiler_temp };\n _enabled = !1;\n committedLanes = (committedLanes & 335544064) === committedLanes;\n nextEffect = firstChild;\n for (firstChild = committedLanes ? 9270 : 1028; null !== nextEffect; ) {\n root = nextEffect;\n if (\n committedLanes &&\n ((JSCompiler_temp = root.deletions), null !== JSCompiler_temp)\n )\n for (\n anchorOffset = 0;\n anchorOffset < JSCompiler_temp.length;\n anchorOffset++\n )\n committedLanes &&\n commitExitViewTransitions(JSCompiler_temp[anchorOffset]);\n if (null === root.alternate && 0 !== (root.flags & 2))\n committedLanes && trackEnterViewTransitions(root),\n commitBeforeMutationEffects_complete(committedLanes);\n else {\n if (22 === root.tag)\n if (((JSCompiler_temp = root.alternate), null !== root.memoizedState)) {\n null !== JSCompiler_temp &&\n null === JSCompiler_temp.memoizedState &&\n committedLanes &&\n commitExitViewTransitions(JSCompiler_temp);\n commitBeforeMutationEffects_complete(committedLanes);\n continue;\n } else if (\n null !== JSCompiler_temp &&\n null !== JSCompiler_temp.memoizedState\n ) {\n committedLanes && trackEnterViewTransitions(root);\n commitBeforeMutationEffects_complete(committedLanes);\n continue;\n }\n JSCompiler_temp = root.child;\n 0 !== (root.subtreeFlags & firstChild) && null !== JSCompiler_temp\n ? ((JSCompiler_temp.return = root), (nextEffect = JSCompiler_temp))\n : (committedLanes && commitNestedViewTransitions(root),\n commitBeforeMutationEffects_complete(committedLanes));\n }\n }\n appearingViewTransitions = null;\n}\nfunction commitBeforeMutationEffects_complete(\n isViewTransitionEligible$jscomp$0\n) {\n for (; null !== nextEffect; ) {\n var fiber = nextEffect,\n isViewTransitionEligible = isViewTransitionEligible$jscomp$0,\n current = fiber.alternate,\n flags = fiber.flags;\n switch (fiber.tag) {\n case 0:\n case 11:\n case 15:\n if (\n 0 !== (flags & 4) &&\n ((current = fiber.updateQueue),\n (current = null !== current ? current.events : null),\n null !== current)\n )\n for (\n isViewTransitionEligible = 0;\n isViewTransitionEligible < current.length;\n isViewTransitionEligible++\n )\n (flags = current[isViewTransitionEligible]),\n (flags.ref.impl = flags.nextImpl);\n break;\n case 1:\n if (0 !== (flags & 1024) && null !== current) {\n isViewTransitionEligible = void 0;\n flags = current.memoizedProps;\n current = current.memoizedState;\n var instance = fiber.stateNode;\n try {\n var resolvedPrevProps = resolveClassComponentProps(\n fiber.type,\n flags\n );\n isViewTransitionEligible = instance.getSnapshotBeforeUpdate(\n resolvedPrevProps,\n current\n );\n instance.__reactInternalSnapshotBeforeUpdate =\n isViewTransitionEligible;\n } catch (error) {\n captureCommitPhaseError(fiber, fiber.return, error);\n }\n }\n break;\n case 3:\n if (0 !== (flags & 1024))\n if (\n ((current = fiber.stateNode.containerInfo),\n (isViewTransitionEligible = current.nodeType),\n 9 === isViewTransitionEligible)\n )\n clearContainerSparingly(current);\n else if (1 === isViewTransitionEligible)\n switch (current.nodeName) {\n case \"HEAD\":\n case \"HTML\":\n case \"BODY\":\n clearContainerSparingly(current);\n break;\n default:\n current.textContent = \"\";\n }\n break;\n case 5:\n case 26:\n case 27:\n case 6:\n case 4:\n case 17:\n break;\n case 30:\n isViewTransitionEligible &&\n null !== current &&\n ((isViewTransitionEligible = getViewTransitionName(\n current.memoizedProps,\n current.stateNode\n )),\n (flags = fiber.memoizedProps),\n (flags = getViewTransitionClassName(flags.default, flags.update)),\n \"none\" !== flags &&\n applyViewTransitionToHostInstances(\n current,\n isViewTransitionEligible,\n flags,\n (current.memoizedState = []),\n !0\n ));\n break;\n default:\n if (0 !== (flags & 1024)) throw Error(formatProdErrorMessage(163));\n }\n current = fiber.sibling;\n if (null !== current) {\n current.return = fiber.return;\n nextEffect = current;\n break;\n }\n nextEffect = fiber.return;\n }\n}\nfunction commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {\n var flags = finishedWork.flags;\n switch (finishedWork.tag) {\n case 0:\n case 11:\n case 15:\n recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);\n flags & 4 && commitHookEffectListMount(5, finishedWork);\n break;\n case 1:\n recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);\n if (flags & 4)\n if (((finishedRoot = finishedWork.stateNode), null === current))\n try {\n finishedRoot.componentDidMount();\n } catch (error) {\n captureCommitPhaseError(finishedWork, finishedWork.return, error);\n }\n else {\n var prevProps = resolveClassComponentProps(\n finishedWork.type,\n current.memoizedProps\n );\n current = current.memoizedState;\n try {\n finishedRoot.componentDidUpdate(\n prevProps,\n current,\n finishedRoot.__reactInternalSnapshotBeforeUpdate\n );\n } catch (error$144) {\n captureCommitPhaseError(\n finishedWork,\n finishedWork.return,\n error$144\n );\n }\n }\n flags & 64 && commitClassCallbacks(finishedWork);\n flags & 512 && safelyAttachRef(finishedWork, finishedWork.return);\n break;\n case 3:\n recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);\n if (\n flags & 64 &&\n ((finishedRoot = finishedWork.updateQueue), null !== finishedRoot)\n ) {\n current = null;\n if (null !== finishedWork.child)\n switch (finishedWork.child.tag) {\n case 27:\n case 5:\n current = finishedWork.child.stateNode;\n break;\n case 1:\n current = finishedWork.child.stateNode;\n }\n try {\n commitCallbacks(finishedRoot, current);\n } catch (error) {\n captureCommitPhaseError(finishedWork, finishedWork.return, error);\n }\n }\n break;\n case 27:\n null === current &&\n flags & 4 &&\n commitHostSingletonAcquisition(finishedWork);\n case 26:\n case 5:\n recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);\n null === current && flags & 4 && commitHostMount(finishedWork);\n flags & 512 && safelyAttachRef(finishedWork, finishedWork.return);\n break;\n case 12:\n recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);\n break;\n case 31:\n recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);\n flags & 4 && commitActivityHydrationCallbacks(finishedRoot, finishedWork);\n break;\n case 13:\n recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);\n flags & 4 && commitSuspenseHydrationCallbacks(finishedRoot, finishedWork);\n flags & 64 &&\n ((finishedRoot = finishedWork.memoizedState),\n null !== finishedRoot &&\n ((finishedRoot = finishedRoot.dehydrated),\n null !== finishedRoot &&\n ((finishedWork = retryDehydratedSuspenseBoundary.bind(\n null,\n finishedWork\n )),\n registerSuspenseInstanceRetry(finishedRoot, finishedWork))));\n break;\n case 22:\n flags = null !== finishedWork.memoizedState || offscreenSubtreeIsHidden;\n if (!flags) {\n current =\n (null !== current && null !== current.memoizedState) ||\n offscreenSubtreeWasHidden;\n prevProps = offscreenSubtreeIsHidden;\n var prevOffscreenSubtreeWasHidden = offscreenSubtreeWasHidden;\n offscreenSubtreeIsHidden = flags;\n (offscreenSubtreeWasHidden = current) && !prevOffscreenSubtreeWasHidden\n ? recursivelyTraverseReappearLayoutEffects(\n finishedRoot,\n finishedWork,\n 0 !== (finishedWork.subtreeFlags & 8772)\n )\n : recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);\n offscreenSubtreeIsHidden = prevProps;\n offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden;\n }\n break;\n case 30:\n recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);\n flags & 512 && safelyAttachRef(finishedWork, finishedWork.return);\n break;\n case 7:\n flags & 512 && safelyAttachRef(finishedWork, finishedWork.return);\n default:\n recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);\n }\n}\nfunction hideOrUnhideAllChildren(parentFiber, isHidden) {\n for (parentFiber = parentFiber.child; null !== parentFiber; )\n hideOrUnhideAllChildrenOnFiber(parentFiber, isHidden),\n (parentFiber = parentFiber.sibling);\n}\nfunction hideOrUnhideAllChildrenOnFiber(fiber, isHidden) {\n switch (fiber.tag) {\n case 5:\n case 26:\n try {\n var instance = fiber.stateNode;\n if (isHidden) {\n var style = instance.style;\n \"function\" === typeof style.setProperty\n ? style.setProperty(\"display\", \"none\", \"important\")\n : (style.display = \"none\");\n } else {\n var instance$jscomp$0 = fiber.stateNode,\n styleProp = fiber.memoizedProps.style,\n display =\n void 0 !== styleProp &&\n null !== styleProp &&\n styleProp.hasOwnProperty(\"display\")\n ? styleProp.display\n : null;\n instance$jscomp$0.style.display =\n null == display || \"boolean\" === typeof display\n ? \"\"\n : (\"\" + display).trim();\n }\n } catch (error) {\n captureCommitPhaseError(fiber, fiber.return, error);\n }\n hideOrUnhideNearestPortals(fiber, isHidden);\n break;\n case 6:\n try {\n (fiber.stateNode.nodeValue = isHidden ? \"\" : fiber.memoizedProps),\n (viewTransitionMutationContext = !0);\n } catch (error) {\n captureCommitPhaseError(fiber, fiber.return, error);\n }\n break;\n case 18:\n try {\n var instance$jscomp$1 = fiber.stateNode;\n isHidden\n ? hideOrUnhideDehydratedBoundary(instance$jscomp$1, !0)\n : hideOrUnhideDehydratedBoundary(fiber.stateNode, !1);\n } catch (error) {\n captureCommitPhaseError(fiber, fiber.return, error);\n }\n break;\n case 22:\n case 23:\n null === fiber.memoizedState && hideOrUnhideAllChildren(fiber, isHidden);\n break;\n default:\n hideOrUnhideAllChildren(fiber, isHidden);\n }\n}\nfunction hideOrUnhideNearestPortals(parentFiber, isHidden$jscomp$0) {\n if (parentFiber.subtreeFlags & 67108864)\n for (parentFiber = parentFiber.child; null !== parentFiber; ) {\n a: {\n var fiber = parentFiber,\n isHidden = isHidden$jscomp$0;\n switch (fiber.tag) {\n case 4:\n hideOrUnhideAllChildrenOnFiber(fiber, isHidden);\n break a;\n case 22:\n null === fiber.memoizedState &&\n hideOrUnhideNearestPortals(fiber, isHidden);\n break a;\n default:\n hideOrUnhideNearestPortals(fiber, isHidden);\n }\n }\n parentFiber = parentFiber.sibling;\n }\n}\nfunction detachFiberAfterEffects(fiber) {\n var alternate = fiber.alternate;\n null !== alternate &&\n ((fiber.alternate = null), detachFiberAfterEffects(alternate));\n fiber.child = null;\n fiber.deletions = null;\n fiber.sibling = null;\n 5 === fiber.tag &&\n ((alternate = fiber.stateNode),\n null !== alternate && detachDeletedInstance(alternate));\n fiber.stateNode = null;\n fiber.return = null;\n fiber.dependencies = null;\n fiber.memoizedProps = null;\n fiber.memoizedState = null;\n fiber.pendingProps = null;\n fiber.stateNode = null;\n fiber.updateQueue = null;\n}\nvar hostParent = null,\n hostParentIsContainer = !1;\nfunction recursivelyTraverseDeletionEffects(\n finishedRoot,\n nearestMountedAncestor,\n parent\n) {\n for (parent = parent.child; null !== parent; )\n commitDeletionEffectsOnFiber(finishedRoot, nearestMountedAncestor, parent),\n (parent = parent.sibling);\n}\nfunction commitDeletionEffectsOnFiber(\n finishedRoot,\n nearestMountedAncestor,\n deletedFiber\n) {\n if (injectedHook && \"function\" === typeof injectedHook.onCommitFiberUnmount)\n try {\n injectedHook.onCommitFiberUnmount(rendererID, deletedFiber);\n } catch (err) {}\n switch (deletedFiber.tag) {\n case 26:\n offscreenSubtreeWasHidden ||\n safelyDetachRef(deletedFiber, nearestMountedAncestor);\n recursivelyTraverseDeletionEffects(\n finishedRoot,\n nearestMountedAncestor,\n deletedFiber\n );\n deletedFiber.memoizedState\n ? deletedFiber.memoizedState.count--\n : deletedFiber.stateNode &&\n ((deletedFiber = deletedFiber.stateNode),\n deletedFiber.parentNode.removeChild(deletedFiber));\n break;\n case 27:\n offscreenSubtreeWasHidden ||\n safelyDetachRef(deletedFiber, nearestMountedAncestor);\n var prevHostParent = hostParent,\n prevHostParentIsContainer = hostParentIsContainer;\n isSingletonScope(deletedFiber.type) &&\n ((hostParent = deletedFiber.stateNode), (hostParentIsContainer = !1));\n recursivelyTraverseDeletionEffects(\n finishedRoot,\n nearestMountedAncestor,\n deletedFiber\n );\n releaseSingletonInstance(deletedFiber.stateNode);\n hostParent = prevHostParent;\n hostParentIsContainer = prevHostParentIsContainer;\n break;\n case 5:\n offscreenSubtreeWasHidden ||\n safelyDetachRef(deletedFiber, nearestMountedAncestor),\n 5 === deletedFiber.tag &&\n commitFragmentInstanceDeletionEffects(deletedFiber);\n case 6:\n prevHostParent = hostParent;\n prevHostParentIsContainer = hostParentIsContainer;\n hostParent = null;\n recursivelyTraverseDeletionEffects(\n finishedRoot,\n nearestMountedAncestor,\n deletedFiber\n );\n hostParent = prevHostParent;\n hostParentIsContainer = prevHostParentIsContainer;\n if (null !== hostParent)\n if (hostParentIsContainer)\n try {\n (9 === hostParent.nodeType\n ? hostParent.body\n : \"HTML\" === hostParent.nodeName\n ? hostParent.ownerDocument.body\n : hostParent\n ).removeChild(deletedFiber.stateNode),\n (viewTransitionMutationContext = !0);\n } catch (error) {\n captureCommitPhaseError(\n deletedFiber,\n nearestMountedAncestor,\n error\n );\n }\n else\n try {\n hostParent.removeChild(deletedFiber.stateNode),\n (viewTransitionMutationContext = !0);\n } catch (error) {\n captureCommitPhaseError(\n deletedFiber,\n nearestMountedAncestor,\n error\n );\n }\n break;\n case 18:\n null !== hostParent &&\n (hostParentIsContainer\n ? ((finishedRoot = hostParent),\n clearHydrationBoundary(\n 9 === finishedRoot.nodeType\n ? finishedRoot.body\n : \"HTML\" === finishedRoot.nodeName\n ? finishedRoot.ownerDocument.body\n : finishedRoot,\n deletedFiber.stateNode\n ),\n retryIfBlockedOn(finishedRoot))\n : clearHydrationBoundary(hostParent, deletedFiber.stateNode));\n break;\n case 4:\n prevHostParent = hostParent;\n prevHostParentIsContainer = hostParentIsContainer;\n hostParent = deletedFiber.stateNode.containerInfo;\n hostParentIsContainer = !0;\n recursivelyTraverseDeletionEffects(\n finishedRoot,\n nearestMountedAncestor,\n deletedFiber\n );\n hostParent = prevHostParent;\n hostParentIsContainer = prevHostParentIsContainer;\n break;\n case 0:\n case 11:\n case 14:\n case 15:\n commitHookEffectListUnmount(2, deletedFiber, nearestMountedAncestor);\n offscreenSubtreeWasHidden ||\n commitHookEffectListUnmount(4, deletedFiber, nearestMountedAncestor);\n recursivelyTraverseDeletionEffects(\n finishedRoot,\n nearestMountedAncestor,\n deletedFiber\n );\n break;\n case 1:\n offscreenSubtreeWasHidden ||\n (safelyDetachRef(deletedFiber, nearestMountedAncestor),\n (prevHostParent = deletedFiber.stateNode),\n \"function\" === typeof prevHostParent.componentWillUnmount &&\n safelyCallComponentWillUnmount(\n deletedFiber,\n nearestMountedAncestor,\n prevHostParent\n ));\n recursivelyTraverseDeletionEffects(\n finishedRoot,\n nearestMountedAncestor,\n deletedFiber\n );\n break;\n case 21:\n recursivelyTraverseDeletionEffects(\n finishedRoot,\n nearestMountedAncestor,\n deletedFiber\n );\n break;\n case 22:\n offscreenSubtreeWasHidden =\n (prevHostParent = offscreenSubtreeWasHidden) ||\n null !== deletedFiber.memoizedState;\n recursivelyTraverseDeletionEffects(\n finishedRoot,\n nearestMountedAncestor,\n deletedFiber\n );\n offscreenSubtreeWasHidden = prevHostParent;\n break;\n case 30:\n safelyDetachRef(deletedFiber, nearestMountedAncestor);\n recursivelyTraverseDeletionEffects(\n finishedRoot,\n nearestMountedAncestor,\n deletedFiber\n );\n break;\n case 7:\n offscreenSubtreeWasHidden ||\n safelyDetachRef(deletedFiber, nearestMountedAncestor);\n recursivelyTraverseDeletionEffects(\n finishedRoot,\n nearestMountedAncestor,\n deletedFiber\n );\n break;\n default:\n recursivelyTraverseDeletionEffects(\n finishedRoot,\n nearestMountedAncestor,\n deletedFiber\n );\n }\n}\nfunction commitActivityHydrationCallbacks(finishedRoot, finishedWork) {\n if (\n null === finishedWork.memoizedState &&\n ((finishedRoot = finishedWork.alternate),\n null !== finishedRoot &&\n ((finishedRoot = finishedRoot.memoizedState), null !== finishedRoot))\n ) {\n finishedRoot = finishedRoot.dehydrated;\n try {\n retryIfBlockedOn(finishedRoot);\n } catch (error) {\n captureCommitPhaseError(finishedWork, finishedWork.return, error);\n }\n }\n}\nfunction commitSuspenseHydrationCallbacks(finishedRoot, finishedWork) {\n if (\n null === finishedWork.memoizedState &&\n ((finishedRoot = finishedWork.alternate),\n null !== finishedRoot &&\n ((finishedRoot = finishedRoot.memoizedState),\n null !== finishedRoot &&\n ((finishedRoot = finishedRoot.dehydrated), null !== finishedRoot)))\n )\n try {\n retryIfBlockedOn(finishedRoot);\n } catch (error) {\n captureCommitPhaseError(finishedWork, finishedWork.return, error);\n }\n}\nfunction getRetryCache(finishedWork) {\n switch (finishedWork.tag) {\n case 31:\n case 13:\n case 19:\n var retryCache = finishedWork.stateNode;\n null === retryCache &&\n (retryCache = finishedWork.stateNode = new PossiblyWeakSet());\n return retryCache;\n case 22:\n return (\n (finishedWork = finishedWork.stateNode),\n (retryCache = finishedWork._retryCache),\n null === retryCache &&\n (retryCache = finishedWork._retryCache = new PossiblyWeakSet()),\n retryCache\n );\n default:\n throw Error(formatProdErrorMessage(435, finishedWork.tag));\n }\n}\nfunction attachSuspenseRetryListeners(finishedWork, wakeables) {\n var retryCache = getRetryCache(finishedWork);\n wakeables.forEach(function (wakeable) {\n if (!retryCache.has(wakeable)) {\n retryCache.add(wakeable);\n var retry = resolveRetryWakeable.bind(null, finishedWork, wakeable);\n wakeable.then(retry, retry);\n }\n });\n}\nfunction recursivelyTraverseMutationEffects(root$jscomp$0, parentFiber, lanes) {\n var deletions = parentFiber.deletions;\n if (null !== deletions)\n for (var i = 0; i < deletions.length; i++) {\n var childToDelete = deletions[i],\n root = root$jscomp$0,\n returnFiber = parentFiber,\n parent = returnFiber;\n a: for (; null !== parent; ) {\n switch (parent.tag) {\n case 27:\n if (isSingletonScope(parent.type)) {\n hostParent = parent.stateNode;\n hostParentIsContainer = !1;\n break a;\n }\n break;\n case 5:\n hostParent = parent.stateNode;\n hostParentIsContainer = !1;\n break a;\n case 3:\n case 4:\n hostParent = parent.stateNode.containerInfo;\n hostParentIsContainer = !0;\n break a;\n }\n parent = parent.return;\n }\n if (null === hostParent) throw Error(formatProdErrorMessage(160));\n commitDeletionEffectsOnFiber(root, returnFiber, childToDelete);\n hostParent = null;\n hostParentIsContainer = !1;\n root = childToDelete.alternate;\n null !== root && (root.return = null);\n childToDelete.return = null;\n }\n if (parentFiber.subtreeFlags & 13886)\n for (parentFiber = parentFiber.child; null !== parentFiber; )\n commitMutationEffectsOnFiber(parentFiber, root$jscomp$0, lanes),\n (parentFiber = parentFiber.sibling);\n}\nvar currentHoistableRoot = null;\nfunction commitMutationEffectsOnFiber(finishedWork, root, lanes) {\n var current = finishedWork.alternate,\n flags = finishedWork.flags;\n switch (finishedWork.tag) {\n case 0:\n case 11:\n case 14:\n case 15:\n recursivelyTraverseMutationEffects(root, finishedWork, lanes);\n commitReconciliationEffects(finishedWork);\n flags & 4 &&\n (commitHookEffectListUnmount(3, finishedWork, finishedWork.return),\n commitHookEffectListMount(3, finishedWork),\n commitHookEffectListUnmount(5, finishedWork, finishedWork.return));\n break;\n case 1:\n recursivelyTraverseMutationEffects(root, finishedWork, lanes);\n commitReconciliationEffects(finishedWork);\n flags & 512 &&\n (offscreenSubtreeWasHidden ||\n null === current ||\n safelyDetachRef(current, current.return));\n flags & 64 &&\n offscreenSubtreeIsHidden &&\n ((finishedWork = finishedWork.updateQueue),\n null !== finishedWork &&\n ((current = finishedWork.callbacks),\n null !== current &&\n ((root = finishedWork.shared.hiddenCallbacks),\n (finishedWork.shared.hiddenCallbacks =\n null === root ? current : root.concat(current)))));\n break;\n case 26:\n var hoistableRoot = currentHoistableRoot;\n recursivelyTraverseMutationEffects(root, finishedWork, lanes);\n commitReconciliationEffects(finishedWork);\n flags & 512 &&\n (offscreenSubtreeWasHidden ||\n null === current ||\n safelyDetachRef(current, current.return));\n if (flags & 4)\n if (\n ((lanes = null !== current ? current.memoizedState : null),\n (root = finishedWork.memoizedState),\n null === current)\n )\n if (null === root)\n if (null === finishedWork.stateNode) {\n a: {\n current = finishedWork.type;\n root = finishedWork.memoizedProps;\n lanes = hoistableRoot.ownerDocument || hoistableRoot;\n b: switch (current) {\n case \"title\":\n flags = lanes.getElementsByTagName(\"title\")[0];\n if (\n !flags ||\n flags[internalHoistableMarker] ||\n flags[internalInstanceKey] ||\n \"http://www.w3.org/2000/svg\" === flags.namespaceURI ||\n flags.hasAttribute(\"itemprop\")\n )\n (flags = lanes.createElement(current)),\n lanes.head.insertBefore(\n flags,\n lanes.querySelector(\"head > title\")\n );\n setInitialProperties(flags, current, root);\n flags[internalInstanceKey] = finishedWork;\n markNodeAsHoistable(flags);\n current = flags;\n break a;\n case \"link\":\n if (\n (hoistableRoot = getHydratableHoistableCache(\n \"link\",\n \"href\",\n lanes\n ).get(current + (root.href || \"\")))\n )\n for (var i = 0; i < hoistableRoot.length; i++)\n if (\n ((flags = hoistableRoot[i]),\n flags.getAttribute(\"href\") ===\n (null == root.href || \"\" === root.href\n ? null\n : root.href) &&\n flags.getAttribute(\"rel\") ===\n (null == root.rel ? null : root.rel) &&\n flags.getAttribute(\"title\") ===\n (null == root.title ? null : root.title) &&\n flags.getAttribute(\"crossorigin\") ===\n (null == root.crossOrigin\n ? null\n : root.crossOrigin))\n ) {\n hoistableRoot.splice(i, 1);\n break b;\n }\n flags = lanes.createElement(current);\n setInitialProperties(flags, current, root);\n lanes.head.appendChild(flags);\n break;\n case \"meta\":\n if (\n (hoistableRoot = getHydratableHoistableCache(\n \"meta\",\n \"content\",\n lanes\n ).get(current + (root.content || \"\")))\n )\n for (i = 0; i < hoistableRoot.length; i++)\n if (\n ((flags = hoistableRoot[i]),\n flags.getAttribute(\"content\") ===\n (null == root.content ? null : \"\" + root.content) &&\n flags.getAttribute(\"name\") ===\n (null == root.name ? null : root.name) &&\n flags.getAttribute(\"property\") ===\n (null == root.property ? null : root.property) &&\n flags.getAttribute(\"http-equiv\") ===\n (null == root.httpEquiv\n ? null\n : root.httpEquiv) &&\n flags.getAttribute(\"charset\") ===\n (null == root.charSet ? null : root.charSet))\n ) {\n hoistableRoot.splice(i, 1);\n break b;\n }\n flags = lanes.createElement(current);\n setInitialProperties(flags, current, root);\n lanes.head.appendChild(flags);\n break;\n default:\n throw Error(formatProdErrorMessage(468, current));\n }\n flags[internalInstanceKey] = finishedWork;\n markNodeAsHoistable(flags);\n current = flags;\n }\n finishedWork.stateNode = current;\n } else\n mountHoistable(\n hoistableRoot,\n finishedWork.type,\n finishedWork.stateNode\n );\n else\n finishedWork.stateNode = acquireResource(\n hoistableRoot,\n root,\n finishedWork.memoizedProps\n );\n else\n lanes !== root\n ? (null === lanes\n ? null !== current.stateNode &&\n ((current = current.stateNode),\n current.parentNode.removeChild(current))\n : lanes.count--,\n null === root\n ? mountHoistable(\n hoistableRoot,\n finishedWork.type,\n finishedWork.stateNode\n )\n : acquireResource(\n hoistableRoot,\n root,\n finishedWork.memoizedProps\n ))\n : null === root &&\n null !== finishedWork.stateNode &&\n commitHostUpdate(\n finishedWork,\n finishedWork.memoizedProps,\n current.memoizedProps\n );\n break;\n case 27:\n recursivelyTraverseMutationEffects(root, finishedWork, lanes);\n commitReconciliationEffects(finishedWork);\n flags & 512 &&\n (offscreenSubtreeWasHidden ||\n null === current ||\n safelyDetachRef(current, current.return));\n null !== current &&\n flags & 4 &&\n commitHostUpdate(\n finishedWork,\n finishedWork.memoizedProps,\n current.memoizedProps\n );\n break;\n case 5:\n hoistableRoot = offscreenDirectParentIsHidden;\n offscreenDirectParentIsHidden = !1;\n recursivelyTraverseMutationEffects(root, finishedWork, lanes);\n offscreenDirectParentIsHidden = hoistableRoot;\n commitReconciliationEffects(finishedWork);\n flags & 512 &&\n (offscreenSubtreeWasHidden ||\n null === current ||\n safelyDetachRef(current, current.return));\n if (finishedWork.flags & 32) {\n root = finishedWork.stateNode;\n try {\n setTextContent(root, \"\"), (viewTransitionMutationContext = !0);\n } catch (error) {\n captureCommitPhaseError(finishedWork, finishedWork.return, error);\n }\n }\n flags & 4 &&\n null != finishedWork.stateNode &&\n ((root = finishedWork.memoizedProps),\n commitHostUpdate(\n finishedWork,\n root,\n null !== current ? current.memoizedProps : root\n ));\n flags & 1024 && (needsFormReset = !0);\n break;\n case 6:\n recursivelyTraverseMutationEffects(root, finishedWork, lanes);\n commitReconciliationEffects(finishedWork);\n if (flags & 4) {\n if (null === finishedWork.stateNode)\n throw Error(formatProdErrorMessage(162));\n current = finishedWork.memoizedProps;\n root = finishedWork.stateNode;\n try {\n (root.nodeValue = current), (viewTransitionMutationContext = !0);\n } catch (error) {\n captureCommitPhaseError(finishedWork, finishedWork.return, error);\n }\n }\n break;\n case 3:\n viewTransitionMutationContext = !1;\n tagCaches = null;\n hoistableRoot = currentHoistableRoot;\n currentHoistableRoot = getHoistableRoot(root.containerInfo);\n recursivelyTraverseMutationEffects(root, finishedWork, lanes);\n currentHoistableRoot = hoistableRoot;\n commitReconciliationEffects(finishedWork);\n if (flags & 4 && null !== current && current.memoizedState.isDehydrated)\n try {\n retryIfBlockedOn(root.containerInfo);\n } catch (error) {\n captureCommitPhaseError(finishedWork, finishedWork.return, error);\n }\n needsFormReset &&\n ((needsFormReset = !1), recursivelyResetForms(finishedWork));\n viewTransitionMutationContext = !1;\n break;\n case 4:\n current = offscreenDirectParentIsHidden;\n offscreenDirectParentIsHidden = offscreenSubtreeIsHidden;\n flags = pushMutationContext();\n hoistableRoot = currentHoistableRoot;\n currentHoistableRoot = getHoistableRoot(\n finishedWork.stateNode.containerInfo\n );\n recursivelyTraverseMutationEffects(root, finishedWork, lanes);\n commitReconciliationEffects(finishedWork);\n currentHoistableRoot = hoistableRoot;\n viewTransitionMutationContext &&\n inUpdateViewTransition &&\n (rootViewTransitionAffected = !0);\n viewTransitionMutationContext = flags;\n offscreenDirectParentIsHidden = current;\n break;\n case 12:\n recursivelyTraverseMutationEffects(root, finishedWork, lanes);\n commitReconciliationEffects(finishedWork);\n break;\n case 31:\n recursivelyTraverseMutationEffects(root, finishedWork, lanes);\n commitReconciliationEffects(finishedWork);\n flags & 4 &&\n ((current = finishedWork.updateQueue),\n null !== current &&\n ((finishedWork.updateQueue = null),\n attachSuspenseRetryListeners(finishedWork, current)));\n break;\n case 13:\n recursivelyTraverseMutationEffects(root, finishedWork, lanes);\n commitReconciliationEffects(finishedWork);\n finishedWork.child.flags & 8192 &&\n (null !== finishedWork.memoizedState) !==\n (null !== current && null !== current.memoizedState) &&\n (globalMostRecentFallbackTime = now());\n flags & 4 &&\n ((current = finishedWork.updateQueue),\n null !== current &&\n ((finishedWork.updateQueue = null),\n attachSuspenseRetryListeners(finishedWork, current)));\n break;\n case 22:\n hoistableRoot = null !== finishedWork.memoizedState;\n i = null !== current && null !== current.memoizedState;\n var prevOffscreenSubtreeIsHidden = offscreenSubtreeIsHidden,\n prevOffscreenSubtreeWasHidden = offscreenSubtreeWasHidden,\n prevOffscreenDirectParentIsHidden$162 = offscreenDirectParentIsHidden;\n offscreenSubtreeIsHidden = prevOffscreenSubtreeIsHidden || hoistableRoot;\n offscreenDirectParentIsHidden =\n prevOffscreenDirectParentIsHidden$162 || hoistableRoot;\n offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden || i;\n recursivelyTraverseMutationEffects(root, finishedWork, lanes);\n offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden;\n offscreenDirectParentIsHidden = prevOffscreenDirectParentIsHidden$162;\n offscreenSubtreeIsHidden = prevOffscreenSubtreeIsHidden;\n commitReconciliationEffects(finishedWork);\n flags & 8192 &&\n ((root = finishedWork.stateNode),\n (root._visibility = hoistableRoot\n ? root._visibility & -2\n : root._visibility | 1),\n hoistableRoot &&\n (null === current ||\n i ||\n offscreenSubtreeIsHidden ||\n offscreenSubtreeWasHidden ||\n recursivelyTraverseDisappearLayoutEffects(finishedWork)),\n (!hoistableRoot && offscreenDirectParentIsHidden) ||\n hideOrUnhideAllChildren(finishedWork, hoistableRoot));\n flags & 4 &&\n ((current = finishedWork.updateQueue),\n null !== current &&\n ((root = current.retryQueue),\n null !== root &&\n ((current.retryQueue = null),\n attachSuspenseRetryListeners(finishedWork, root))));\n break;\n case 19:\n recursivelyTraverseMutationEffects(root, finishedWork, lanes);\n commitReconciliationEffects(finishedWork);\n flags & 4 &&\n ((current = finishedWork.updateQueue),\n null !== current &&\n ((finishedWork.updateQueue = null),\n attachSuspenseRetryListeners(finishedWork, current)));\n break;\n case 30:\n flags & 512 &&\n (offscreenSubtreeWasHidden ||\n null === current ||\n safelyDetachRef(current, current.return));\n flags = pushMutationContext();\n hoistableRoot = inUpdateViewTransition;\n i = (lanes & 335544064) === lanes;\n prevOffscreenSubtreeIsHidden = finishedWork.memoizedProps;\n inUpdateViewTransition =\n i &&\n \"none\" !==\n getViewTransitionClassName(\n prevOffscreenSubtreeIsHidden.default,\n prevOffscreenSubtreeIsHidden.update\n );\n recursivelyTraverseMutationEffects(root, finishedWork, lanes);\n commitReconciliationEffects(finishedWork);\n i &&\n null !== current &&\n viewTransitionMutationContext &&\n (finishedWork.flags |= 4);\n inUpdateViewTransition = hoistableRoot;\n viewTransitionMutationContext = flags;\n break;\n case 21:\n break;\n case 7:\n current &&\n null !== current.stateNode &&\n (current.stateNode._fragmentFiber = finishedWork);\n default:\n recursivelyTraverseMutationEffects(root, finishedWork, lanes),\n commitReconciliationEffects(finishedWork);\n }\n}\nfunction commitReconciliationEffects(finishedWork) {\n var flags = finishedWork.flags;\n if (flags & 2) {\n try {\n for (\n var hostParentFiber,\n parentFragmentInstances = null,\n parentFiber = finishedWork.return;\n null !== parentFiber;\n\n ) {\n if (isFragmentInstanceParent(parentFiber)) {\n var fragmentInstance = parentFiber.stateNode;\n null === parentFragmentInstances\n ? (parentFragmentInstances = [fragmentInstance])\n : parentFragmentInstances.push(fragmentInstance);\n }\n if (isHostParent(parentFiber)) {\n hostParentFiber = parentFiber;\n break;\n }\n parentFiber = parentFiber.return;\n }\n if (null == hostParentFiber) throw Error(formatProdErrorMessage(160));\n switch (hostParentFiber.tag) {\n case 27:\n var parent = hostParentFiber.stateNode,\n before = getHostSibling(finishedWork);\n insertOrAppendPlacementNode(\n finishedWork,\n before,\n parent,\n parentFragmentInstances\n );\n break;\n case 5:\n var parent$147 = hostParentFiber.stateNode;\n hostParentFiber.flags & 32 &&\n (setTextContent(parent$147, \"\"), (hostParentFiber.flags &= -33));\n var before$148 = getHostSibling(finishedWork);\n insertOrAppendPlacementNode(\n finishedWork,\n before$148,\n parent$147,\n parentFragmentInstances\n );\n break;\n case 3:\n case 4:\n var parent$149 = hostParentFiber.stateNode.containerInfo,\n before$150 = getHostSibling(finishedWork);\n insertOrAppendPlacementNodeIntoContainer(\n finishedWork,\n before$150,\n parent$149,\n parentFragmentInstances\n );\n break;\n default:\n throw Error(formatProdErrorMessage(161));\n }\n } catch (error) {\n captureCommitPhaseError(finishedWork, finishedWork.return, error);\n }\n finishedWork.flags &= -3;\n }\n flags & 4096 && (finishedWork.flags &= -4097);\n}\nfunction recursivelyResetForms(parentFiber) {\n if (parentFiber.subtreeFlags & 1024)\n for (parentFiber = parentFiber.child; null !== parentFiber; ) {\n var fiber = parentFiber;\n recursivelyResetForms(fiber);\n 5 === fiber.tag && fiber.flags & 1024 && fiber.stateNode.reset();\n parentFiber = parentFiber.sibling;\n }\n}\nfunction recursivelyTraverseAfterMutationEffects(root, parentFiber) {\n if (parentFiber.subtreeFlags & 9270)\n for (parentFiber = parentFiber.child; null !== parentFiber; )\n commitAfterMutationEffectsOnFiber(parentFiber, root),\n (parentFiber = parentFiber.sibling);\n else measureNestedViewTransitions(parentFiber, !1);\n}\nfunction commitAfterMutationEffectsOnFiber(finishedWork, root) {\n var current = finishedWork.alternate;\n if (null === current) commitEnterViewTransitions(finishedWork, !1);\n else\n switch (finishedWork.tag) {\n case 3:\n rootViewTransitionNameCanceled = viewTransitionContextChanged = !1;\n pushViewTransitionCancelableScope();\n recursivelyTraverseAfterMutationEffects(root, finishedWork);\n if (!viewTransitionContextChanged && !rootViewTransitionAffected) {\n finishedWork = viewTransitionCancelableChildren;\n if (null !== finishedWork)\n for (var i = 0; i < finishedWork.length; i += 3) {\n current = finishedWork[i];\n var oldName = finishedWork[i + 1];\n restoreViewTransitionName(current, finishedWork[i + 2]);\n current = current.ownerDocument.documentElement;\n null !== current &&\n current.animate(\n { opacity: [0, 0], pointerEvents: [\"none\", \"none\"] },\n {\n duration: 0,\n fill: \"forwards\",\n pseudoElement: \"::view-transition-group(\" + oldName + \")\"\n }\n );\n }\n finishedWork = root.containerInfo;\n finishedWork =\n 9 === finishedWork.nodeType\n ? finishedWork.documentElement\n : finishedWork.ownerDocument.documentElement;\n null !== finishedWork &&\n \"\" === finishedWork.style.viewTransitionName &&\n ((finishedWork.style.viewTransitionName = \"none\"),\n finishedWork.animate(\n { opacity: [0, 0], pointerEvents: [\"none\", \"none\"] },\n {\n duration: 0,\n fill: \"forwards\",\n pseudoElement: \"::view-transition-group(root)\"\n }\n ),\n finishedWork.animate(\n { width: [0, 0], height: [0, 0] },\n {\n duration: 0,\n fill: \"forwards\",\n pseudoElement: \"::view-transition\"\n }\n ));\n rootViewTransitionNameCanceled = !0;\n }\n viewTransitionCancelableChildren = null;\n break;\n case 5:\n recursivelyTraverseAfterMutationEffects(root, finishedWork);\n break;\n case 4:\n i = viewTransitionContextChanged;\n viewTransitionContextChanged = !1;\n recursivelyTraverseAfterMutationEffects(root, finishedWork);\n viewTransitionContextChanged && (rootViewTransitionAffected = !0);\n viewTransitionContextChanged = i;\n break;\n case 22:\n null === finishedWork.memoizedState &&\n (null !== current.memoizedState\n ? commitEnterViewTransitions(finishedWork, !1)\n : recursivelyTraverseAfterMutationEffects(root, finishedWork));\n break;\n case 30:\n i = viewTransitionContextChanged;\n oldName = pushViewTransitionCancelableScope();\n viewTransitionContextChanged = !1;\n recursivelyTraverseAfterMutationEffects(root, finishedWork);\n viewTransitionContextChanged && (finishedWork.flags |= 4);\n var props = finishedWork.memoizedProps,\n state = finishedWork.stateNode;\n root = getViewTransitionName(props, state);\n state = getViewTransitionName(current.memoizedProps, state);\n var className = getViewTransitionClassName(props.default, props.update);\n \"none\" === className\n ? (root = !1)\n : ((props = current.memoizedState),\n (current.memoizedState = null),\n (current = finishedWork.child),\n (viewTransitionHostInstanceIdx = 0),\n (root = measureViewTransitionHostInstancesRecursive(\n finishedWork,\n current,\n root,\n state,\n className,\n props,\n !0\n )),\n viewTransitionHostInstanceIdx !==\n (null === props ? 0 : props.length) &&\n (finishedWork.flags |= 32));\n 0 !== (finishedWork.flags & 4) && root\n ? (scheduleViewTransitionEvent(\n finishedWork,\n finishedWork.memoizedProps.onUpdate\n ),\n (viewTransitionCancelableChildren = oldName))\n : null !== oldName &&\n (oldName.push.apply(oldName, viewTransitionCancelableChildren),\n (viewTransitionCancelableChildren = oldName));\n viewTransitionContextChanged = 0 !== (finishedWork.flags & 32) ? !0 : i;\n break;\n default:\n recursivelyTraverseAfterMutationEffects(root, finishedWork);\n }\n}\nfunction recursivelyTraverseLayoutEffects(root, parentFiber) {\n if (parentFiber.subtreeFlags & 8772)\n for (parentFiber = parentFiber.child; null !== parentFiber; )\n commitLayoutEffectOnFiber(root, parentFiber.alternate, parentFiber),\n (parentFiber = parentFiber.sibling);\n}\nfunction recursivelyTraverseDisappearLayoutEffects(parentFiber) {\n for (parentFiber = parentFiber.child; null !== parentFiber; ) {\n var finishedWork = parentFiber;\n switch (finishedWork.tag) {\n case 0:\n case 11:\n case 14:\n case 15:\n commitHookEffectListUnmount(4, finishedWork, finishedWork.return);\n recursivelyTraverseDisappearLayoutEffects(finishedWork);\n break;\n case 1:\n safelyDetachRef(finishedWork, finishedWork.return);\n var instance = finishedWork.stateNode;\n \"function\" === typeof instance.componentWillUnmount &&\n safelyCallComponentWillUnmount(\n finishedWork,\n finishedWork.return,\n instance\n );\n recursivelyTraverseDisappearLayoutEffects(finishedWork);\n break;\n case 27:\n releaseSingletonInstance(finishedWork.stateNode);\n case 26:\n case 5:\n safelyDetachRef(finishedWork, finishedWork.return);\n 5 === finishedWork.tag &&\n commitFragmentInstanceDeletionEffects(finishedWork);\n recursivelyTraverseDisappearLayoutEffects(finishedWork);\n break;\n case 22:\n null === finishedWork.memoizedState &&\n recursivelyTraverseDisappearLayoutEffects(finishedWork);\n break;\n case 30:\n safelyDetachRef(finishedWork, finishedWork.return);\n recursivelyTraverseDisappearLayoutEffects(finishedWork);\n break;\n case 7:\n safelyDetachRef(finishedWork, finishedWork.return);\n default:\n recursivelyTraverseDisappearLayoutEffects(finishedWork);\n }\n parentFiber = parentFiber.sibling;\n }\n}\nfunction recursivelyTraverseReappearLayoutEffects(\n finishedRoot$jscomp$0,\n parentFiber,\n includeWorkInProgressEffects\n) {\n includeWorkInProgressEffects =\n includeWorkInProgressEffects && 0 !== (parentFiber.subtreeFlags & 8772);\n for (parentFiber = parentFiber.child; null !== parentFiber; ) {\n var current = parentFiber.alternate,\n finishedRoot = finishedRoot$jscomp$0,\n finishedWork = parentFiber,\n flags = finishedWork.flags;\n switch (finishedWork.tag) {\n case 0:\n case 11:\n case 15:\n recursivelyTraverseReappearLayoutEffects(\n finishedRoot,\n finishedWork,\n includeWorkInProgressEffects\n );\n commitHookEffectListMount(4, finishedWork);\n break;\n case 1:\n recursivelyTraverseReappearLayoutEffects(\n finishedRoot,\n finishedWork,\n includeWorkInProgressEffects\n );\n current = finishedWork;\n finishedRoot = current.stateNode;\n if (\"function\" === typeof finishedRoot.componentDidMount)\n try {\n finishedRoot.componentDidMount();\n } catch (error) {\n captureCommitPhaseError(current, current.return, error);\n }\n current = finishedWork;\n finishedRoot = current.updateQueue;\n if (null !== finishedRoot) {\n var instance = current.stateNode;\n try {\n var hiddenCallbacks = finishedRoot.shared.hiddenCallbacks;\n if (null !== hiddenCallbacks)\n for (\n finishedRoot.shared.hiddenCallbacks = null, finishedRoot = 0;\n finishedRoot < hiddenCallbacks.length;\n finishedRoot++\n )\n callCallback(hiddenCallbacks[finishedRoot], instance);\n } catch (error) {\n captureCommitPhaseError(current, current.return, error);\n }\n }\n includeWorkInProgressEffects &&\n flags & 64 &&\n commitClassCallbacks(finishedWork);\n safelyAttachRef(finishedWork, finishedWork.return);\n break;\n case 27:\n commitHostSingletonAcquisition(finishedWork);\n case 26:\n case 5:\n if (5 === finishedWork.tag) {\n instance = finishedWork;\n for (var parent = instance.return; null !== parent; ) {\n isFragmentInstanceParent(parent) &&\n commitNewChildToFragmentInstance(\n instance.stateNode,\n parent.stateNode\n );\n if (isHostParent(parent)) break;\n parent = parent.return;\n }\n }\n recursivelyTraverseReappearLayoutEffects(\n finishedRoot,\n finishedWork,\n includeWorkInProgressEffects\n );\n includeWorkInProgressEffects &&\n null === current &&\n flags & 4 &&\n commitHostMount(finishedWork);\n safelyAttachRef(finishedWork, finishedWork.return);\n break;\n case 12:\n recursivelyTraverseReappearLayoutEffects(\n finishedRoot,\n finishedWork,\n includeWorkInProgressEffects\n );\n break;\n case 31:\n recursivelyTraverseReappearLayoutEffects(\n finishedRoot,\n finishedWork,\n includeWorkInProgressEffects\n );\n includeWorkInProgressEffects &&\n flags & 4 &&\n commitActivityHydrationCallbacks(finishedRoot, finishedWork);\n break;\n case 13:\n recursivelyTraverseReappearLayoutEffects(\n finishedRoot,\n finishedWork,\n includeWorkInProgressEffects\n );\n includeWorkInProgressEffects &&\n flags & 4 &&\n commitSuspenseHydrationCallbacks(finishedRoot, finishedWork);\n break;\n case 22:\n null === finishedWork.memoizedState &&\n recursivelyTraverseReappearLayoutEffects(\n finishedRoot,\n finishedWork,\n includeWorkInProgressEffects\n );\n safelyAttachRef(finishedWork, finishedWork.return);\n break;\n case 30:\n recursivelyTraverseReappearLayoutEffects(\n finishedRoot,\n finishedWork,\n includeWorkInProgressEffects\n );\n safelyAttachRef(finishedWork, finishedWork.return);\n break;\n case 7:\n safelyAttachRef(finishedWork, finishedWork.return);\n default:\n recursivelyTraverseReappearLayoutEffects(\n finishedRoot,\n finishedWork,\n includeWorkInProgressEffects\n );\n }\n parentFiber = parentFiber.sibling;\n }\n}\nfunction commitOffscreenPassiveMountEffects(current, finishedWork) {\n var previousCache = null;\n null !== current &&\n null !== current.memoizedState &&\n null !== current.memoizedState.cachePool &&\n (previousCache = current.memoizedState.cachePool.pool);\n current = null;\n null !== finishedWork.memoizedState &&\n null !== finishedWork.memoizedState.cachePool &&\n (current = finishedWork.memoizedState.cachePool.pool);\n current !== previousCache &&\n (null != current && current.refCount++,\n null != previousCache && releaseCache(previousCache));\n}\nfunction commitCachePassiveMountEffect(current, finishedWork) {\n current = null;\n null !== finishedWork.alternate &&\n (current = finishedWork.alternate.memoizedState.cache);\n finishedWork = finishedWork.memoizedState.cache;\n finishedWork !== current &&\n (finishedWork.refCount++, null != current && releaseCache(current));\n}\nfunction recursivelyTraversePassiveMountEffects(\n root,\n parentFiber,\n committedLanes,\n committedTransitions\n) {\n var isViewTransitionEligible =\n (committedLanes & 335544064) === committedLanes;\n if (parentFiber.subtreeFlags & (isViewTransitionEligible ? 10262 : 10256))\n for (parentFiber = parentFiber.child; null !== parentFiber; )\n commitPassiveMountOnFiber(\n root,\n parentFiber,\n committedLanes,\n committedTransitions\n ),\n (parentFiber = parentFiber.sibling);\n else isViewTransitionEligible && restoreNestedViewTransitions(parentFiber);\n}\nfunction commitPassiveMountOnFiber(\n finishedRoot,\n finishedWork,\n committedLanes,\n committedTransitions\n) {\n var isViewTransitionEligible =\n (committedLanes & 335544064) === committedLanes;\n isViewTransitionEligible &&\n null === finishedWork.alternate &&\n null !== finishedWork.return &&\n null !== finishedWork.return.alternate &&\n restoreEnterOrExitViewTransitions(finishedWork);\n var flags = finishedWork.flags;\n switch (finishedWork.tag) {\n case 0:\n case 11:\n case 15:\n recursivelyTraversePassiveMountEffects(\n finishedRoot,\n finishedWork,\n committedLanes,\n committedTransitions\n );\n flags & 2048 && commitHookEffectListMount(9, finishedWork);\n break;\n case 1:\n recursivelyTraversePassiveMountEffects(\n finishedRoot,\n finishedWork,\n committedLanes,\n committedTransitions\n );\n break;\n case 3:\n recursivelyTraversePassiveMountEffects(\n finishedRoot,\n finishedWork,\n committedLanes,\n committedTransitions\n );\n isViewTransitionEligible &&\n rootViewTransitionNameCanceled &&\n ((finishedRoot = finishedRoot.containerInfo),\n (finishedRoot =\n 9 === finishedRoot.nodeType\n ? finishedRoot.body\n : \"HTML\" === finishedRoot.nodeName\n ? finishedRoot.ownerDocument.body\n : finishedRoot),\n \"root\" === finishedRoot.style.viewTransitionName &&\n (finishedRoot.style.viewTransitionName = \"\"),\n (finishedRoot = finishedRoot.ownerDocument.documentElement),\n null !== finishedRoot &&\n \"none\" === finishedRoot.style.viewTransitionName &&\n (finishedRoot.style.viewTransitionName = \"\"));\n flags & 2048 &&\n ((flags = null),\n null !== finishedWork.alternate &&\n (flags = finishedWork.alternate.memoizedState.cache),\n (finishedWork = finishedWork.memoizedState.cache),\n finishedWork !== flags &&\n (finishedWork.refCount++, null != flags && releaseCache(flags)));\n break;\n case 12:\n if (flags & 2048) {\n recursivelyTraversePassiveMountEffects(\n finishedRoot,\n finishedWork,\n committedLanes,\n committedTransitions\n );\n flags = finishedWork.stateNode;\n try {\n var _finishedWork$memoize2 = finishedWork.memoizedProps,\n id = _finishedWork$memoize2.id,\n onPostCommit = _finishedWork$memoize2.onPostCommit;\n \"function\" === typeof onPostCommit &&\n onPostCommit(\n id,\n null === finishedWork.alternate ? \"mount\" : \"update\",\n flags.passiveEffectDuration,\n -0\n );\n } catch (error) {\n captureCommitPhaseError(finishedWork, finishedWork.return, error);\n }\n } else\n recursivelyTraversePassiveMountEffects(\n finishedRoot,\n finishedWork,\n committedLanes,\n committedTransitions\n );\n break;\n case 31:\n recursivelyTraversePassiveMountEffects(\n finishedRoot,\n finishedWork,\n committedLanes,\n committedTransitions\n );\n break;\n case 13:\n recursivelyTraversePassiveMountEffects(\n finishedRoot,\n finishedWork,\n committedLanes,\n committedTransitions\n );\n break;\n case 23:\n break;\n case 22:\n _finishedWork$memoize2 = finishedWork.stateNode;\n id = finishedWork.alternate;\n null !== finishedWork.memoizedState\n ? (isViewTransitionEligible &&\n null !== id &&\n null === id.memoizedState &&\n restoreEnterOrExitViewTransitions(id),\n _finishedWork$memoize2._visibility & 2\n ? recursivelyTraversePassiveMountEffects(\n finishedRoot,\n finishedWork,\n committedLanes,\n committedTransitions\n )\n : recursivelyTraverseAtomicPassiveEffects(\n finishedRoot,\n finishedWork\n ))\n : (isViewTransitionEligible &&\n null !== id &&\n null !== id.memoizedState &&\n restoreEnterOrExitViewTransitions(finishedWork),\n _finishedWork$memoize2._visibility & 2\n ? recursivelyTraversePassiveMountEffects(\n finishedRoot,\n finishedWork,\n committedLanes,\n committedTransitions\n )\n : ((_finishedWork$memoize2._visibility |= 2),\n recursivelyTraverseReconnectPassiveEffects(\n finishedRoot,\n finishedWork,\n committedLanes,\n committedTransitions,\n 0 !== (finishedWork.subtreeFlags & 10256) || !1\n )));\n flags & 2048 && commitOffscreenPassiveMountEffects(id, finishedWork);\n break;\n case 24:\n recursivelyTraversePassiveMountEffects(\n finishedRoot,\n finishedWork,\n committedLanes,\n committedTransitions\n );\n flags & 2048 &&\n commitCachePassiveMountEffect(finishedWork.alternate, finishedWork);\n break;\n case 30:\n isViewTransitionEligible &&\n ((flags = finishedWork.alternate),\n null !== flags &&\n (restoreViewTransitionOnHostInstances(flags.child, !0),\n restoreViewTransitionOnHostInstances(finishedWork.child, !0)));\n recursivelyTraversePassiveMountEffects(\n finishedRoot,\n finishedWork,\n committedLanes,\n committedTransitions\n );\n break;\n default:\n recursivelyTraversePassiveMountEffects(\n finishedRoot,\n finishedWork,\n committedLanes,\n committedTransitions\n );\n }\n}\nfunction recursivelyTraverseReconnectPassiveEffects(\n finishedRoot$jscomp$0,\n parentFiber,\n committedLanes$jscomp$0,\n committedTransitions$jscomp$0,\n includeWorkInProgressEffects\n) {\n includeWorkInProgressEffects =\n includeWorkInProgressEffects &&\n (0 !== (parentFiber.subtreeFlags & 10256) || !1);\n for (parentFiber = parentFiber.child; null !== parentFiber; ) {\n var finishedRoot = finishedRoot$jscomp$0,\n finishedWork = parentFiber,\n committedLanes = committedLanes$jscomp$0,\n committedTransitions = committedTransitions$jscomp$0,\n flags = finishedWork.flags;\n switch (finishedWork.tag) {\n case 0:\n case 11:\n case 15:\n recursivelyTraverseReconnectPassiveEffects(\n finishedRoot,\n finishedWork,\n committedLanes,\n committedTransitions,\n includeWorkInProgressEffects\n );\n commitHookEffectListMount(8, finishedWork);\n break;\n case 23:\n break;\n case 22:\n var instance = finishedWork.stateNode;\n null !== finishedWork.memoizedState\n ? instance._visibility & 2\n ? recursivelyTraverseReconnectPassiveEffects(\n finishedRoot,\n finishedWork,\n committedLanes,\n committedTransitions,\n includeWorkInProgressEffects\n )\n : recursivelyTraverseAtomicPassiveEffects(\n finishedRoot,\n finishedWork\n )\n : ((instance._visibility |= 2),\n recursivelyTraverseReconnectPassiveEffects(\n finishedRoot,\n finishedWork,\n committedLanes,\n committedTransitions,\n includeWorkInProgressEffects\n ));\n includeWorkInProgressEffects &&\n flags & 2048 &&\n commitOffscreenPassiveMountEffects(\n finishedWork.alternate,\n finishedWork\n );\n break;\n case 24:\n recursivelyTraverseReconnectPassiveEffects(\n finishedRoot,\n finishedWork,\n committedLanes,\n committedTransitions,\n includeWorkInProgressEffects\n );\n includeWorkInProgressEffects &&\n flags & 2048 &&\n commitCachePassiveMountEffect(finishedWork.alternate, finishedWork);\n break;\n default:\n recursivelyTraverseReconnectPassiveEffects(\n finishedRoot,\n finishedWork,\n committedLanes,\n committedTransitions,\n includeWorkInProgressEffects\n );\n }\n parentFiber = parentFiber.sibling;\n }\n}\nfunction recursivelyTraverseAtomicPassiveEffects(\n finishedRoot$jscomp$0,\n parentFiber\n) {\n if (parentFiber.subtreeFlags & 10256)\n for (parentFiber = parentFiber.child; null !== parentFiber; ) {\n var finishedRoot = finishedRoot$jscomp$0,\n finishedWork = parentFiber,\n flags = finishedWork.flags;\n switch (finishedWork.tag) {\n case 22:\n recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork);\n flags & 2048 &&\n commitOffscreenPassiveMountEffects(\n finishedWork.alternate,\n finishedWork\n );\n break;\n case 24:\n recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork);\n flags & 2048 &&\n commitCachePassiveMountEffect(finishedWork.alternate, finishedWork);\n break;\n default:\n recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork);\n }\n parentFiber = parentFiber.sibling;\n }\n}\nvar suspenseyCommitFlag = 8192;\nfunction recursivelyAccumulateSuspenseyCommit(\n parentFiber,\n committedLanes,\n suspendedState\n) {\n if (parentFiber.subtreeFlags & suspenseyCommitFlag)\n for (parentFiber = parentFiber.child; null !== parentFiber; )\n accumulateSuspenseyCommitOnFiber(\n parentFiber,\n committedLanes,\n suspendedState\n ),\n (parentFiber = parentFiber.sibling);\n}\nfunction accumulateSuspenseyCommitOnFiber(\n fiber,\n committedLanes,\n suspendedState\n) {\n switch (fiber.tag) {\n case 26:\n recursivelyAccumulateSuspenseyCommit(\n fiber,\n committedLanes,\n suspendedState\n );\n fiber.flags & suspenseyCommitFlag &&\n (null !== fiber.memoizedState\n ? suspendResource(\n suspendedState,\n currentHoistableRoot,\n fiber.memoizedState,\n fiber.memoizedProps\n )\n : ((fiber = fiber.stateNode),\n (committedLanes & 335544128) === committedLanes &&\n suspendInstance(suspendedState, fiber)));\n break;\n case 5:\n recursivelyAccumulateSuspenseyCommit(\n fiber,\n committedLanes,\n suspendedState\n );\n fiber.flags & suspenseyCommitFlag &&\n ((fiber = fiber.stateNode),\n (committedLanes & 335544128) === committedLanes &&\n suspendInstance(suspendedState, fiber));\n break;\n case 3:\n case 4:\n var previousHoistableRoot = currentHoistableRoot;\n currentHoistableRoot = getHoistableRoot(fiber.stateNode.containerInfo);\n recursivelyAccumulateSuspenseyCommit(\n fiber,\n committedLanes,\n suspendedState\n );\n currentHoistableRoot = previousHoistableRoot;\n break;\n case 22:\n null === fiber.memoizedState &&\n ((previousHoistableRoot = fiber.alternate),\n null !== previousHoistableRoot &&\n null !== previousHoistableRoot.memoizedState\n ? ((previousHoistableRoot = suspenseyCommitFlag),\n (suspenseyCommitFlag = 16777216),\n recursivelyAccumulateSuspenseyCommit(\n fiber,\n committedLanes,\n suspendedState\n ),\n (suspenseyCommitFlag = previousHoistableRoot))\n : recursivelyAccumulateSuspenseyCommit(\n fiber,\n committedLanes,\n suspendedState\n ));\n break;\n case 30:\n if (\n 0 !== (fiber.flags & suspenseyCommitFlag) &&\n ((previousHoistableRoot = fiber.memoizedProps.name),\n null != previousHoistableRoot && \"auto\" !== previousHoistableRoot)\n ) {\n var state = fiber.stateNode;\n state.paired = null;\n null === appearingViewTransitions &&\n (appearingViewTransitions = new Map());\n appearingViewTransitions.set(previousHoistableRoot, state);\n }\n recursivelyAccumulateSuspenseyCommit(\n fiber,\n committedLanes,\n suspendedState\n );\n break;\n default:\n recursivelyAccumulateSuspenseyCommit(\n fiber,\n committedLanes,\n suspendedState\n );\n }\n}\nfunction detachAlternateSiblings(parentFiber) {\n var previousFiber = parentFiber.alternate;\n if (\n null !== previousFiber &&\n ((parentFiber = previousFiber.child), null !== parentFiber)\n ) {\n previousFiber.child = null;\n do\n (previousFiber = parentFiber.sibling),\n (parentFiber.sibling = null),\n (parentFiber = previousFiber);\n while (null !== parentFiber);\n }\n}\nfunction recursivelyTraversePassiveUnmountEffects(parentFiber) {\n var deletions = parentFiber.deletions;\n if (0 !== (parentFiber.flags & 16)) {\n if (null !== deletions)\n for (var i = 0; i < deletions.length; i++) {\n var childToDelete = deletions[i];\n nextEffect = childToDelete;\n commitPassiveUnmountEffectsInsideOfDeletedTree_begin(\n childToDelete,\n parentFiber\n );\n }\n detachAlternateSiblings(parentFiber);\n }\n if (parentFiber.subtreeFlags & 10256)\n for (parentFiber = parentFiber.child; null !== parentFiber; )\n commitPassiveUnmountOnFiber(parentFiber),\n (parentFiber = parentFiber.sibling);\n}\nfunction commitPassiveUnmountOnFiber(finishedWork) {\n switch (finishedWork.tag) {\n case 0:\n case 11:\n case 15:\n recursivelyTraversePassiveUnmountEffects(finishedWork);\n finishedWork.flags & 2048 &&\n commitHookEffectListUnmount(9, finishedWork, finishedWork.return);\n break;\n case 3:\n recursivelyTraversePassiveUnmountEffects(finishedWork);\n break;\n case 12:\n recursivelyTraversePassiveUnmountEffects(finishedWork);\n break;\n case 22:\n var instance = finishedWork.stateNode;\n null !== finishedWork.memoizedState &&\n instance._visibility & 2 &&\n (null === finishedWork.return || 13 !== finishedWork.return.tag)\n ? ((instance._visibility &= -3),\n recursivelyTraverseDisconnectPassiveEffects(finishedWork))\n : recursivelyTraversePassiveUnmountEffects(finishedWork);\n break;\n default:\n recursivelyTraversePassiveUnmountEffects(finishedWork);\n }\n}\nfunction recursivelyTraverseDisconnectPassiveEffects(parentFiber) {\n var deletions = parentFiber.deletions;\n if (0 !== (parentFiber.flags & 16)) {\n if (null !== deletions)\n for (var i = 0; i < deletions.length; i++) {\n var childToDelete = deletions[i];\n nextEffect = childToDelete;\n commitPassiveUnmountEffectsInsideOfDeletedTree_begin(\n childToDelete,\n parentFiber\n );\n }\n detachAlternateSiblings(parentFiber);\n }\n for (parentFiber = parentFiber.child; null !== parentFiber; ) {\n deletions = parentFiber;\n switch (deletions.tag) {\n case 0:\n case 11:\n case 15:\n commitHookEffectListUnmount(8, deletions, deletions.return);\n recursivelyTraverseDisconnectPassiveEffects(deletions);\n break;\n case 22:\n i = deletions.stateNode;\n i._visibility & 2 &&\n ((i._visibility &= -3),\n recursivelyTraverseDisconnectPassiveEffects(deletions));\n break;\n default:\n recursivelyTraverseDisconnectPassiveEffects(deletions);\n }\n parentFiber = parentFiber.sibling;\n }\n}\nfunction commitPassiveUnmountEffectsInsideOfDeletedTree_begin(\n deletedSubtreeRoot,\n nearestMountedAncestor\n) {\n for (; null !== nextEffect; ) {\n var fiber = nextEffect;\n switch (fiber.tag) {\n case 0:\n case 11:\n case 15:\n commitHookEffectListUnmount(8, fiber, nearestMountedAncestor);\n break;\n case 23:\n case 22:\n if (\n null !== fiber.memoizedState &&\n null !== fiber.memoizedState.cachePool\n ) {\n var cache = fiber.memoizedState.cachePool.pool;\n null != cache && cache.refCount++;\n }\n break;\n case 24:\n releaseCache(fiber.memoizedState.cache);\n }\n cache = fiber.child;\n if (null !== cache) (cache.return = fiber), (nextEffect = cache);\n else\n a: for (fiber = deletedSubtreeRoot; null !== nextEffect; ) {\n cache = nextEffect;\n var sibling = cache.sibling,\n returnFiber = cache.return;\n detachFiberAfterEffects(cache);\n if (cache === fiber) {\n nextEffect = null;\n break a;\n }\n if (null !== sibling) {\n sibling.return = returnFiber;\n nextEffect = sibling;\n break a;\n }\n nextEffect = returnFiber;\n }\n }\n}\nvar DefaultAsyncDispatcher = {\n getCacheForType: function (resourceType) {\n var cache = readContext(CacheContext),\n cacheForType = cache.data.get(resourceType);\n void 0 === cacheForType &&\n ((cacheForType = resourceType()),\n cache.data.set(resourceType, cacheForType));\n return cacheForType;\n },\n cacheSignal: function () {\n return readContext(CacheContext).controller.signal;\n }\n },\n PossiblyWeakMap = \"function\" === typeof WeakMap ? WeakMap : Map,\n executionContext = 0,\n workInProgressRoot = null,\n workInProgress = null,\n workInProgressRootRenderLanes = 0,\n workInProgressSuspendedReason = 0,\n workInProgressThrownValue = null,\n workInProgressRootDidSkipSuspendedSiblings = !1,\n workInProgressRootIsPrerendering = !1,\n workInProgressRootDidAttachPingListener = !1,\n entangledRenderLanes = 0,\n workInProgressRootExitStatus = 0,\n workInProgressRootSkippedLanes = 0,\n workInProgressRootInterleavedUpdatedLanes = 0,\n workInProgressRootPingedLanes = 0,\n workInProgressDeferredLane = 0,\n workInProgressSuspendedRetryLanes = 0,\n workInProgressRootConcurrentErrors = null,\n workInProgressRootRecoverableErrors = null,\n workInProgressRootDidIncludeRecursiveRenderUpdate = !1,\n globalMostRecentFallbackTime = 0,\n globalMostRecentTransitionTime = 0,\n workInProgressRootRenderTargetTime = Infinity,\n workInProgressTransitions = null,\n legacyErrorBoundariesThatAlreadyFailed = null,\n pendingEffectsStatus = 0,\n pendingEffectsRoot = null,\n pendingFinishedWork = null,\n pendingEffectsLanes = 0,\n pendingEffectsRemainingLanes = 0,\n pendingPassiveTransitions = null,\n pendingRecoverableErrors = null,\n pendingViewTransition = null,\n pendingViewTransitionEvents = null,\n pendingTransitionTypes = null,\n nestedUpdateCount = 0,\n rootWithNestedUpdates = null;\nfunction requestUpdateLane() {\n return 0 !== (executionContext & 2) && 0 !== workInProgressRootRenderLanes\n ? workInProgressRootRenderLanes & -workInProgressRootRenderLanes\n : null !== ReactSharedInternals.T\n ? requestTransitionLane()\n : resolveUpdatePriority();\n}\nfunction requestDeferredLane() {\n if (0 === workInProgressDeferredLane)\n if (0 === (workInProgressRootRenderLanes & 536870912) || isHydrating) {\n var lane = nextTransitionDeferredLane;\n nextTransitionDeferredLane <<= 1;\n 0 === (nextTransitionDeferredLane & 3932160) &&\n (nextTransitionDeferredLane = 262144);\n workInProgressDeferredLane = lane;\n } else workInProgressDeferredLane = 536870912;\n lane = suspenseHandlerStackCursor.current;\n null !== lane && (lane.flags |= 32);\n return workInProgressDeferredLane;\n}\nfunction scheduleViewTransitionEvent(fiber, callback) {\n if (null != callback) {\n var state = fiber.stateNode,\n instance = state.ref;\n null === instance &&\n (instance = state.ref =\n createViewTransitionInstance(\n getViewTransitionName(fiber.memoizedProps, state)\n ));\n null === pendingViewTransitionEvents && (pendingViewTransitionEvents = []);\n pendingViewTransitionEvents.push(callback.bind(null, instance));\n }\n}\nfunction scheduleUpdateOnFiber(root, fiber, lane) {\n if (\n (root === workInProgressRoot &&\n (2 === workInProgressSuspendedReason ||\n 9 === workInProgressSuspendedReason)) ||\n null !== root.cancelPendingCommit\n )\n prepareFreshStack(root, 0),\n markRootSuspended(\n root,\n workInProgressRootRenderLanes,\n workInProgressDeferredLane,\n !1\n );\n markRootUpdated$1(root, lane);\n if (0 === (executionContext & 2) || root !== workInProgressRoot)\n root === workInProgressRoot &&\n (0 === (executionContext & 2) &&\n (workInProgressRootInterleavedUpdatedLanes |= lane),\n 4 === workInProgressRootExitStatus &&\n markRootSuspended(\n root,\n workInProgressRootRenderLanes,\n workInProgressDeferredLane,\n !1\n )),\n ensureRootIsScheduled(root);\n}\nfunction performWorkOnRoot(root$jscomp$0, lanes, forceSync) {\n if (0 !== (executionContext & 6)) throw Error(formatProdErrorMessage(327));\n var shouldTimeSlice =\n (!forceSync &&\n 0 === (lanes & 127) &&\n 0 === (lanes & root$jscomp$0.expiredLanes)) ||\n checkIfRootIsPrerendering(root$jscomp$0, lanes),\n exitStatus = shouldTimeSlice\n ? renderRootConcurrent(root$jscomp$0, lanes)\n : renderRootSync(root$jscomp$0, lanes, !0),\n renderWasConcurrent = shouldTimeSlice;\n do {\n if (0 === exitStatus) {\n workInProgressRootIsPrerendering &&\n !shouldTimeSlice &&\n markRootSuspended(root$jscomp$0, lanes, 0, !1);\n break;\n } else {\n forceSync = root$jscomp$0.current.alternate;\n if (\n renderWasConcurrent &&\n !isRenderConsistentWithExternalStores(forceSync)\n ) {\n exitStatus = renderRootSync(root$jscomp$0, lanes, !1);\n renderWasConcurrent = !1;\n continue;\n }\n if (2 === exitStatus) {\n renderWasConcurrent = lanes;\n if (root$jscomp$0.errorRecoveryDisabledLanes & renderWasConcurrent)\n var JSCompiler_inline_result = 0;\n else\n (JSCompiler_inline_result = root$jscomp$0.pendingLanes & -536870913),\n (JSCompiler_inline_result =\n 0 !== JSCompiler_inline_result\n ? JSCompiler_inline_result\n : JSCompiler_inline_result & 536870912\n ? 536870912\n : 0);\n if (0 !== JSCompiler_inline_result) {\n lanes = JSCompiler_inline_result;\n a: {\n var root = root$jscomp$0;\n exitStatus = workInProgressRootConcurrentErrors;\n var wasRootDehydrated = root.current.memoizedState.isDehydrated;\n wasRootDehydrated &&\n (prepareFreshStack(root, JSCompiler_inline_result).flags |= 256);\n JSCompiler_inline_result = renderRootSync(\n root,\n JSCompiler_inline_result,\n !1\n );\n if (2 !== JSCompiler_inline_result) {\n if (\n workInProgressRootDidAttachPingListener &&\n !wasRootDehydrated\n ) {\n root.errorRecoveryDisabledLanes |= renderWasConcurrent;\n workInProgressRootInterleavedUpdatedLanes |=\n renderWasConcurrent;\n exitStatus = 4;\n break a;\n }\n renderWasConcurrent = workInProgressRootRecoverableErrors;\n workInProgressRootRecoverableErrors = exitStatus;\n null !== renderWasConcurrent &&\n (null === workInProgressRootRecoverableErrors\n ? (workInProgressRootRecoverableErrors = renderWasConcurrent)\n : workInProgressRootRecoverableErrors.push.apply(\n workInProgressRootRecoverableErrors,\n renderWasConcurrent\n ));\n }\n exitStatus = JSCompiler_inline_result;\n }\n renderWasConcurrent = !1;\n if (2 !== exitStatus) continue;\n }\n }\n if (1 === exitStatus) {\n prepareFreshStack(root$jscomp$0, 0);\n markRootSuspended(root$jscomp$0, lanes, 0, !0);\n break;\n }\n a: {\n shouldTimeSlice = root$jscomp$0;\n renderWasConcurrent = exitStatus;\n switch (renderWasConcurrent) {\n case 0:\n case 1:\n throw Error(formatProdErrorMessage(345));\n case 4:\n if ((lanes & 4194048) !== lanes && (lanes & 62914560) !== lanes)\n break;\n case 6:\n markRootSuspended(\n shouldTimeSlice,\n lanes,\n workInProgressDeferredLane,\n !workInProgressRootDidSkipSuspendedSiblings\n );\n break a;\n case 2:\n workInProgressRootRecoverableErrors = null;\n break;\n case 3:\n case 5:\n break;\n default:\n throw Error(formatProdErrorMessage(329));\n }\n if (\n (lanes & 62914560) === lanes &&\n ((exitStatus = globalMostRecentFallbackTime + 300 - now()),\n 10 < exitStatus)\n ) {\n markRootSuspended(\n shouldTimeSlice,\n lanes,\n workInProgressDeferredLane,\n !workInProgressRootDidSkipSuspendedSiblings\n );\n if (0 !== getNextLanes(shouldTimeSlice, 0, !0)) break a;\n pendingEffectsLanes = lanes;\n shouldTimeSlice.timeoutHandle = scheduleTimeout(\n commitRootWhenReady.bind(\n null,\n shouldTimeSlice,\n forceSync,\n workInProgressRootRecoverableErrors,\n workInProgressTransitions,\n workInProgressRootDidIncludeRecursiveRenderUpdate,\n lanes,\n workInProgressDeferredLane,\n workInProgressRootInterleavedUpdatedLanes,\n workInProgressSuspendedRetryLanes,\n workInProgressRootDidSkipSuspendedSiblings,\n renderWasConcurrent,\n \"Throttled\",\n -0,\n 0\n ),\n exitStatus\n );\n break a;\n }\n commitRootWhenReady(\n shouldTimeSlice,\n forceSync,\n workInProgressRootRecoverableErrors,\n workInProgressTransitions,\n workInProgressRootDidIncludeRecursiveRenderUpdate,\n lanes,\n workInProgressDeferredLane,\n workInProgressRootInterleavedUpdatedLanes,\n workInProgressSuspendedRetryLanes,\n workInProgressRootDidSkipSuspendedSiblings,\n renderWasConcurrent,\n null,\n -0,\n 0\n );\n }\n }\n break;\n } while (1);\n ensureRootIsScheduled(root$jscomp$0);\n}\nfunction commitRootWhenReady(\n root,\n finishedWork,\n recoverableErrors,\n transitions,\n didIncludeRenderPhaseUpdate,\n lanes,\n spawnedLane,\n updatedLanes,\n suspendedRetryLanes,\n didSkipSuspendedSiblings,\n exitStatus,\n suspendedCommitReason,\n completedRenderStartTime,\n completedRenderEndTime\n) {\n root.timeoutHandle = -1;\n var subtreeFlags = finishedWork.subtreeFlags,\n isViewTransitionEligible = (lanes & 335544064) === lanes;\n suspendedCommitReason = null;\n if (\n isViewTransitionEligible ||\n subtreeFlags & 8192 ||\n 16785408 === (subtreeFlags & 16785408)\n )\n if (\n ((suspendedCommitReason = {\n stylesheets: null,\n count: 0,\n imgCount: 0,\n imgBytes: 0,\n suspenseyImages: [],\n waitingForImages: !0,\n waitingForViewTransition: !1,\n unsuspend: noop$1\n }),\n (appearingViewTransitions = null),\n accumulateSuspenseyCommitOnFiber(\n finishedWork,\n lanes,\n suspendedCommitReason\n ),\n isViewTransitionEligible &&\n ((subtreeFlags = suspendedCommitReason),\n (isViewTransitionEligible = root.containerInfo),\n (isViewTransitionEligible = (\n 9 === isViewTransitionEligible.nodeType\n ? isViewTransitionEligible\n : isViewTransitionEligible.ownerDocument\n ).__reactViewTransition),\n null != isViewTransitionEligible &&\n (subtreeFlags.count++,\n (subtreeFlags.waitingForViewTransition = !0),\n (subtreeFlags = onUnsuspend.bind(subtreeFlags)),\n isViewTransitionEligible.finished.then(subtreeFlags, subtreeFlags))),\n (subtreeFlags =\n (lanes & 62914560) === lanes\n ? globalMostRecentFallbackTime - now()\n : (lanes & 4194048) === lanes\n ? globalMostRecentTransitionTime - now()\n : 0),\n (subtreeFlags = waitForCommitToBeReady(\n suspendedCommitReason,\n subtreeFlags\n )),\n null !== subtreeFlags)\n ) {\n pendingEffectsLanes = lanes;\n root.cancelPendingCommit = subtreeFlags(\n commitRoot.bind(\n null,\n root,\n finishedWork,\n lanes,\n recoverableErrors,\n transitions,\n didIncludeRenderPhaseUpdate,\n spawnedLane,\n updatedLanes,\n suspendedRetryLanes,\n exitStatus,\n suspendedCommitReason,\n null,\n completedRenderStartTime,\n completedRenderEndTime\n )\n );\n markRootSuspended(root, lanes, spawnedLane, !didSkipSuspendedSiblings);\n return;\n }\n commitRoot(\n root,\n finishedWork,\n lanes,\n recoverableErrors,\n transitions,\n didIncludeRenderPhaseUpdate,\n spawnedLane,\n updatedLanes,\n suspendedRetryLanes,\n exitStatus,\n suspendedCommitReason\n );\n}\nfunction isRenderConsistentWithExternalStores(finishedWork) {\n for (var node = finishedWork; ; ) {\n var tag = node.tag;\n if (\n (0 === tag || 11 === tag || 15 === tag) &&\n node.flags & 16384 &&\n ((tag = node.updateQueue),\n null !== tag && ((tag = tag.stores), null !== tag))\n )\n for (var i = 0; i < tag.length; i++) {\n var check = tag[i],\n getSnapshot = check.getSnapshot;\n check = check.value;\n try {\n if (!objectIs(getSnapshot(), check)) return !1;\n } catch (error) {\n return !1;\n }\n }\n tag = node.child;\n if (node.subtreeFlags & 16384 && null !== tag)\n (tag.return = node), (node = tag);\n else {\n if (node === finishedWork) break;\n for (; null === node.sibling; ) {\n if (null === node.return || node.return === finishedWork) return !0;\n node = node.return;\n }\n node.sibling.return = node.return;\n node = node.sibling;\n }\n }\n return !0;\n}\nfunction markRootSuspended(\n root,\n suspendedLanes,\n spawnedLane,\n didAttemptEntireTree\n) {\n suspendedLanes &= ~workInProgressRootPingedLanes;\n suspendedLanes &= ~workInProgressRootInterleavedUpdatedLanes;\n root.suspendedLanes |= suspendedLanes;\n root.pingedLanes &= ~suspendedLanes;\n didAttemptEntireTree && (root.warmLanes |= suspendedLanes);\n didAttemptEntireTree = root.expirationTimes;\n for (var lanes = suspendedLanes; 0 < lanes; ) {\n var index$6 = 31 - clz32(lanes),\n lane = 1 << index$6;\n didAttemptEntireTree[index$6] = -1;\n lanes &= ~lane;\n }\n 0 !== spawnedLane &&\n markSpawnedDeferredLane(root, spawnedLane, suspendedLanes);\n}\nfunction flushSyncWork$1() {\n return 0 === (executionContext & 6)\n ? (flushSyncWorkAcrossRoots_impl(0, !1), !1)\n : !0;\n}\nfunction resetWorkInProgressStack() {\n if (null !== workInProgress) {\n if (0 === workInProgressSuspendedReason)\n var interruptedWork = workInProgress.return;\n else\n (interruptedWork = workInProgress),\n (lastContextDependency = currentlyRenderingFiber$1 = null),\n resetHooksOnUnwind(interruptedWork),\n (thenableState$1 = null),\n (thenableIndexCounter$1 = 0),\n (interruptedWork = workInProgress);\n for (; null !== interruptedWork; )\n unwindInterruptedWork(interruptedWork.alternate, interruptedWork),\n (interruptedWork = interruptedWork.return);\n workInProgress = null;\n }\n}\nfunction prepareFreshStack(root, lanes) {\n var timeoutHandle = root.timeoutHandle;\n -1 !== timeoutHandle &&\n ((root.timeoutHandle = -1), cancelTimeout(timeoutHandle));\n timeoutHandle = root.cancelPendingCommit;\n null !== timeoutHandle &&\n ((root.cancelPendingCommit = null), timeoutHandle());\n pendingEffectsLanes = 0;\n resetWorkInProgressStack();\n workInProgressRoot = root;\n workInProgress = timeoutHandle = createWorkInProgress(root.current, null);\n workInProgressRootRenderLanes = lanes;\n workInProgressSuspendedReason = 0;\n workInProgressThrownValue = null;\n workInProgressRootDidSkipSuspendedSiblings = !1;\n workInProgressRootIsPrerendering = checkIfRootIsPrerendering(root, lanes);\n workInProgressRootDidAttachPingListener = !1;\n workInProgressSuspendedRetryLanes =\n workInProgressDeferredLane =\n workInProgressRootPingedLanes =\n workInProgressRootInterleavedUpdatedLanes =\n workInProgressRootSkippedLanes =\n workInProgressRootExitStatus =\n 0;\n workInProgressRootRecoverableErrors = workInProgressRootConcurrentErrors =\n null;\n workInProgressRootDidIncludeRecursiveRenderUpdate = !1;\n 0 !== (lanes & 8) && (lanes |= lanes & 32);\n var allEntangledLanes = root.entangledLanes;\n if (0 !== allEntangledLanes)\n for (\n root = root.entanglements, allEntangledLanes &= lanes;\n 0 < allEntangledLanes;\n\n ) {\n var index$4 = 31 - clz32(allEntangledLanes),\n lane = 1 << index$4;\n lanes |= root[index$4];\n allEntangledLanes &= ~lane;\n }\n entangledRenderLanes = lanes;\n finishQueueingConcurrentUpdates();\n return timeoutHandle;\n}\nfunction handleThrow(root, thrownValue) {\n currentlyRenderingFiber = null;\n ReactSharedInternals.H = ContextOnlyDispatcher;\n thrownValue === SuspenseException || thrownValue === SuspenseActionException\n ? ((thrownValue = getSuspendedThenable()),\n (workInProgressSuspendedReason = 3))\n : thrownValue === SuspenseyCommitException\n ? ((thrownValue = getSuspendedThenable()),\n (workInProgressSuspendedReason = 4))\n : (workInProgressSuspendedReason =\n thrownValue === SelectiveHydrationException\n ? 8\n : null !== thrownValue &&\n \"object\" === typeof thrownValue &&\n \"function\" === typeof thrownValue.then\n ? 6\n : 1);\n workInProgressThrownValue = thrownValue;\n null === workInProgress &&\n ((workInProgressRootExitStatus = 1),\n logUncaughtError(\n root,\n createCapturedValueAtFiber(thrownValue, root.current)\n ));\n}\nfunction shouldRemainOnPreviousScreen() {\n var handler = suspenseHandlerStackCursor.current;\n return null === handler\n ? !0\n : (workInProgressRootRenderLanes & 4194048) ===\n workInProgressRootRenderLanes\n ? null === shellBoundary\n ? !0\n : !1\n : (workInProgressRootRenderLanes & 62914560) ===\n workInProgressRootRenderLanes ||\n 0 !== (workInProgressRootRenderLanes & 536870912)\n ? handler === shellBoundary\n : !1;\n}\nfunction pushDispatcher() {\n var prevDispatcher = ReactSharedInternals.H;\n ReactSharedInternals.H = ContextOnlyDispatcher;\n return null === prevDispatcher ? ContextOnlyDispatcher : prevDispatcher;\n}\nfunction pushAsyncDispatcher() {\n var prevAsyncDispatcher = ReactSharedInternals.A;\n ReactSharedInternals.A = DefaultAsyncDispatcher;\n return prevAsyncDispatcher;\n}\nfunction renderDidSuspendDelayIfPossible() {\n workInProgressRootExitStatus = 4;\n workInProgressRootDidSkipSuspendedSiblings ||\n ((workInProgressRootRenderLanes & 4194048) !==\n workInProgressRootRenderLanes &&\n null !== suspenseHandlerStackCursor.current) ||\n (workInProgressRootIsPrerendering = !0);\n (0 === (workInProgressRootSkippedLanes & 134217727) &&\n 0 === (workInProgressRootInterleavedUpdatedLanes & 134217727)) ||\n null === workInProgressRoot ||\n markRootSuspended(\n workInProgressRoot,\n workInProgressRootRenderLanes,\n workInProgressDeferredLane,\n !1\n );\n}\nfunction renderRootSync(root, lanes, shouldYieldForPrerendering) {\n var prevExecutionContext = executionContext;\n executionContext |= 2;\n var prevDispatcher = pushDispatcher(),\n prevAsyncDispatcher = pushAsyncDispatcher();\n if (workInProgressRoot !== root || workInProgressRootRenderLanes !== lanes)\n (workInProgressTransitions = null), prepareFreshStack(root, lanes);\n lanes = !1;\n var exitStatus = workInProgressRootExitStatus;\n a: do\n try {\n if (0 !== workInProgressSuspendedReason && null !== workInProgress) {\n var unitOfWork = workInProgress,\n thrownValue = workInProgressThrownValue;\n switch (workInProgressSuspendedReason) {\n case 8:\n resetWorkInProgressStack();\n exitStatus = 6;\n break a;\n case 3:\n case 2:\n case 9:\n case 6:\n null === suspenseHandlerStackCursor.current && (lanes = !0);\n var reason = workInProgressSuspendedReason;\n workInProgressSuspendedReason = 0;\n workInProgressThrownValue = null;\n throwAndUnwindWorkLoop(root, unitOfWork, thrownValue, reason);\n if (\n shouldYieldForPrerendering &&\n workInProgressRootIsPrerendering\n ) {\n exitStatus = 0;\n break a;\n }\n break;\n default:\n (reason = workInProgressSuspendedReason),\n (workInProgressSuspendedReason = 0),\n (workInProgressThrownValue = null),\n throwAndUnwindWorkLoop(root, unitOfWork, thrownValue, reason);\n }\n }\n workLoopSync();\n exitStatus = workInProgressRootExitStatus;\n break;\n } catch (thrownValue$177) {\n handleThrow(root, thrownValue$177);\n }\n while (1);\n lanes && root.shellSuspendCounter++;\n lastContextDependency = currentlyRenderingFiber$1 = null;\n executionContext = prevExecutionContext;\n ReactSharedInternals.H = prevDispatcher;\n ReactSharedInternals.A = prevAsyncDispatcher;\n null === workInProgress &&\n ((workInProgressRoot = null),\n (workInProgressRootRenderLanes = 0),\n finishQueueingConcurrentUpdates());\n return exitStatus;\n}\nfunction workLoopSync() {\n for (; null !== workInProgress; ) performUnitOfWork(workInProgress);\n}\nfunction renderRootConcurrent(root, lanes) {\n var prevExecutionContext = executionContext;\n executionContext |= 2;\n var prevDispatcher = pushDispatcher(),\n prevAsyncDispatcher = pushAsyncDispatcher();\n workInProgressRoot !== root || workInProgressRootRenderLanes !== lanes\n ? ((workInProgressTransitions = null),\n (workInProgressRootRenderTargetTime = now() + 500),\n prepareFreshStack(root, lanes))\n : (workInProgressRootIsPrerendering = checkIfRootIsPrerendering(\n root,\n lanes\n ));\n a: do\n try {\n if (0 !== workInProgressSuspendedReason && null !== workInProgress) {\n lanes = workInProgress;\n var thrownValue = workInProgressThrownValue;\n b: switch (workInProgressSuspendedReason) {\n case 1:\n workInProgressSuspendedReason = 0;\n workInProgressThrownValue = null;\n throwAndUnwindWorkLoop(root, lanes, thrownValue, 1);\n break;\n case 2:\n case 9:\n if (isThenableResolved(thrownValue)) {\n workInProgressSuspendedReason = 0;\n workInProgressThrownValue = null;\n replaySuspendedUnitOfWork(lanes);\n break;\n }\n lanes = function () {\n (2 !== workInProgressSuspendedReason &&\n 9 !== workInProgressSuspendedReason) ||\n workInProgressRoot !== root ||\n (workInProgressSuspendedReason = 7);\n ensureRootIsScheduled(root);\n };\n thrownValue.then(lanes, lanes);\n break a;\n case 3:\n workInProgressSuspendedReason = 7;\n break a;\n case 4:\n workInProgressSuspendedReason = 5;\n break a;\n case 7:\n isThenableResolved(thrownValue)\n ? ((workInProgressSuspendedReason = 0),\n (workInProgressThrownValue = null),\n replaySuspendedUnitOfWork(lanes))\n : ((workInProgressSuspendedReason = 0),\n (workInProgressThrownValue = null),\n throwAndUnwindWorkLoop(root, lanes, thrownValue, 7));\n break;\n case 5:\n var resource = null;\n switch (workInProgress.tag) {\n case 26:\n resource = workInProgress.memoizedState;\n case 5:\n case 27:\n var hostFiber = workInProgress;\n if (\n resource\n ? preloadResource(resource)\n : hostFiber.stateNode.complete\n ) {\n workInProgressSuspendedReason = 0;\n workInProgressThrownValue = null;\n var sibling = hostFiber.sibling;\n if (null !== sibling) workInProgress = sibling;\n else {\n var returnFiber = hostFiber.return;\n null !== returnFiber\n ? ((workInProgress = returnFiber),\n completeUnitOfWork(returnFiber))\n : (workInProgress = null);\n }\n break b;\n }\n }\n workInProgressSuspendedReason = 0;\n workInProgressThrownValue = null;\n throwAndUnwindWorkLoop(root, lanes, thrownValue, 5);\n break;\n case 6:\n workInProgressSuspendedReason = 0;\n workInProgressThrownValue = null;\n throwAndUnwindWorkLoop(root, lanes, thrownValue, 6);\n break;\n case 8:\n resetWorkInProgressStack();\n workInProgressRootExitStatus = 6;\n break a;\n default:\n throw Error(formatProdErrorMessage(462));\n }\n }\n workLoopConcurrentByScheduler();\n break;\n } catch (thrownValue$179) {\n handleThrow(root, thrownValue$179);\n }\n while (1);\n lastContextDependency = currentlyRenderingFiber$1 = null;\n ReactSharedInternals.H = prevDispatcher;\n ReactSharedInternals.A = prevAsyncDispatcher;\n executionContext = prevExecutionContext;\n if (null !== workInProgress) return 0;\n workInProgressRoot = null;\n workInProgressRootRenderLanes = 0;\n finishQueueingConcurrentUpdates();\n return workInProgressRootExitStatus;\n}\nfunction workLoopConcurrentByScheduler() {\n for (; null !== workInProgress && !shouldYield(); )\n performUnitOfWork(workInProgress);\n}\nfunction performUnitOfWork(unitOfWork) {\n var next = beginWork(unitOfWork.alternate, unitOfWork, entangledRenderLanes);\n unitOfWork.memoizedProps = unitOfWork.pendingProps;\n null === next ? completeUnitOfWork(unitOfWork) : (workInProgress = next);\n}\nfunction replaySuspendedUnitOfWork(unitOfWork) {\n var next = unitOfWork;\n var current = next.alternate;\n switch (next.tag) {\n case 15:\n case 0:\n next = replayFunctionComponent(\n current,\n next,\n next.pendingProps,\n next.type,\n void 0,\n workInProgressRootRenderLanes\n );\n break;\n case 11:\n next = replayFunctionComponent(\n current,\n next,\n next.pendingProps,\n next.type.render,\n next.ref,\n workInProgressRootRenderLanes\n );\n break;\n case 5:\n resetHooksOnUnwind(next);\n default:\n unwindInterruptedWork(current, next),\n (next = workInProgress =\n resetWorkInProgress(next, entangledRenderLanes)),\n (next = beginWork(current, next, entangledRenderLanes));\n }\n unitOfWork.memoizedProps = unitOfWork.pendingProps;\n null === next ? completeUnitOfWork(unitOfWork) : (workInProgress = next);\n}\nfunction throwAndUnwindWorkLoop(\n root,\n unitOfWork,\n thrownValue,\n suspendedReason\n) {\n lastContextDependency = currentlyRenderingFiber$1 = null;\n resetHooksOnUnwind(unitOfWork);\n thenableState$1 = null;\n thenableIndexCounter$1 = 0;\n var returnFiber = unitOfWork.return;\n try {\n if (\n throwException(\n root,\n returnFiber,\n unitOfWork,\n thrownValue,\n workInProgressRootRenderLanes\n )\n ) {\n workInProgressRootExitStatus = 1;\n logUncaughtError(\n root,\n createCapturedValueAtFiber(thrownValue, root.current)\n );\n workInProgress = null;\n return;\n }\n } catch (error) {\n if (null !== returnFiber) throw ((workInProgress = returnFiber), error);\n workInProgressRootExitStatus = 1;\n logUncaughtError(\n root,\n createCapturedValueAtFiber(thrownValue, root.current)\n );\n workInProgress = null;\n return;\n }\n if (unitOfWork.flags & 32768) {\n if (isHydrating || 1 === suspendedReason) root = !0;\n else if (\n workInProgressRootIsPrerendering ||\n 0 !== (workInProgressRootRenderLanes & 536870912)\n )\n root = !1;\n else if (\n ((workInProgressRootDidSkipSuspendedSiblings = root = !0),\n 2 === suspendedReason ||\n 9 === suspendedReason ||\n 3 === suspendedReason ||\n 6 === suspendedReason)\n )\n (suspendedReason = suspenseHandlerStackCursor.current),\n null !== suspendedReason &&\n 13 === suspendedReason.tag &&\n (suspendedReason.flags |= 16384);\n unwindUnitOfWork(unitOfWork, root);\n } else completeUnitOfWork(unitOfWork);\n}\nfunction completeUnitOfWork(unitOfWork) {\n var completedWork = unitOfWork;\n do {\n if (0 !== (completedWork.flags & 32768)) {\n unwindUnitOfWork(\n completedWork,\n workInProgressRootDidSkipSuspendedSiblings\n );\n return;\n }\n unitOfWork = completedWork.return;\n var next = completeWork(\n completedWork.alternate,\n completedWork,\n entangledRenderLanes\n );\n if (null !== next) {\n workInProgress = next;\n return;\n }\n completedWork = completedWork.sibling;\n if (null !== completedWork) {\n workInProgress = completedWork;\n return;\n }\n workInProgress = completedWork = unitOfWork;\n } while (null !== completedWork);\n 0 === workInProgressRootExitStatus && (workInProgressRootExitStatus = 5);\n}\nfunction unwindUnitOfWork(unitOfWork, skipSiblings) {\n do {\n var next = unwindWork(unitOfWork.alternate, unitOfWork);\n if (null !== next) {\n next.flags &= 32767;\n workInProgress = next;\n return;\n }\n next = unitOfWork.return;\n null !== next &&\n ((next.flags |= 32768), (next.subtreeFlags = 0), (next.deletions = null));\n if (\n !skipSiblings &&\n ((unitOfWork = unitOfWork.sibling), null !== unitOfWork)\n ) {\n workInProgress = unitOfWork;\n return;\n }\n workInProgress = unitOfWork = next;\n } while (null !== unitOfWork);\n workInProgressRootExitStatus = 6;\n workInProgress = null;\n}\nfunction commitRoot(\n root,\n finishedWork,\n lanes,\n recoverableErrors,\n transitions,\n didIncludeRenderPhaseUpdate,\n spawnedLane,\n updatedLanes,\n suspendedRetryLanes,\n exitStatus,\n suspendedState\n) {\n root.cancelPendingCommit = null;\n do flushPendingEffects();\n while (0 !== pendingEffectsStatus);\n if (0 !== (executionContext & 6)) throw Error(formatProdErrorMessage(327));\n if (null !== finishedWork) {\n if (finishedWork === root.current) throw Error(formatProdErrorMessage(177));\n didIncludeRenderPhaseUpdate = finishedWork.lanes | finishedWork.childLanes;\n didIncludeRenderPhaseUpdate |= concurrentlyUpdatedLanes;\n markRootFinished(\n root,\n lanes,\n didIncludeRenderPhaseUpdate,\n spawnedLane,\n updatedLanes,\n suspendedRetryLanes\n );\n root === workInProgressRoot &&\n ((workInProgress = workInProgressRoot = null),\n (workInProgressRootRenderLanes = 0));\n pendingFinishedWork = finishedWork;\n pendingEffectsRoot = root;\n pendingEffectsLanes = lanes;\n pendingEffectsRemainingLanes = didIncludeRenderPhaseUpdate;\n pendingPassiveTransitions = transitions;\n pendingRecoverableErrors = recoverableErrors;\n pendingViewTransitionEvents = null;\n (lanes & 335544064) === lanes\n ? ((pendingTransitionTypes = claimQueuedTransitionTypes(root)),\n (recoverableErrors = 10262))\n : ((pendingTransitionTypes = null), (recoverableErrors = 10256));\n 0 !== (finishedWork.subtreeFlags & recoverableErrors) ||\n 0 !== (finishedWork.flags & recoverableErrors)\n ? ((root.callbackNode = null),\n (root.callbackPriority = 0),\n scheduleCallback$1(NormalPriority$1, function () {\n flushPassiveEffects();\n return null;\n }))\n : ((root.callbackNode = null), (root.callbackPriority = 0));\n shouldStartViewTransition = !1;\n recoverableErrors = 0 !== (finishedWork.flags & 13878);\n if (0 !== (finishedWork.subtreeFlags & 13878) || recoverableErrors) {\n recoverableErrors = ReactSharedInternals.T;\n ReactSharedInternals.T = null;\n transitions = ReactDOMSharedInternals.p;\n ReactDOMSharedInternals.p = 2;\n spawnedLane = executionContext;\n executionContext |= 4;\n try {\n commitBeforeMutationEffects(root, finishedWork, lanes);\n } finally {\n (executionContext = spawnedLane),\n (ReactDOMSharedInternals.p = transitions),\n (ReactSharedInternals.T = recoverableErrors);\n }\n }\n finishedWork = shouldStartViewTransition;\n pendingEffectsStatus = 1;\n finishedWork\n ? (pendingViewTransition = startViewTransition(\n suspendedState,\n root.containerInfo,\n pendingTransitionTypes,\n flushMutationEffects,\n flushLayoutEffects,\n flushAfterMutationEffects,\n flushSpawnedWork,\n flushPassiveEffects,\n reportViewTransitionError,\n null,\n null\n ))\n : (flushMutationEffects(), flushLayoutEffects(), flushSpawnedWork());\n }\n}\nfunction reportViewTransitionError(error) {\n if (0 !== pendingEffectsStatus) {\n var onRecoverableError = pendingEffectsRoot.onRecoverableError;\n onRecoverableError(error, { componentStack: null });\n }\n}\nfunction flushAfterMutationEffects() {\n 3 === pendingEffectsStatus &&\n ((pendingEffectsStatus = 0),\n commitAfterMutationEffectsOnFiber(pendingFinishedWork, pendingEffectsRoot),\n (pendingEffectsStatus = 4));\n}\nfunction flushMutationEffects() {\n if (1 === pendingEffectsStatus) {\n pendingEffectsStatus = 0;\n var root = pendingEffectsRoot,\n finishedWork = pendingFinishedWork,\n lanes = pendingEffectsLanes,\n rootMutationHasEffect = 0 !== (finishedWork.flags & 13878);\n if (0 !== (finishedWork.subtreeFlags & 13878) || rootMutationHasEffect) {\n rootMutationHasEffect = ReactSharedInternals.T;\n ReactSharedInternals.T = null;\n var previousPriority = ReactDOMSharedInternals.p;\n ReactDOMSharedInternals.p = 2;\n var prevExecutionContext = executionContext;\n executionContext |= 4;\n try {\n inUpdateViewTransition = rootViewTransitionAffected = !1;\n commitMutationEffectsOnFiber(finishedWork, root, lanes);\n lanes = selectionInformation;\n var curFocusedElem = getActiveElementDeep(root.containerInfo),\n priorFocusedElem = lanes.focusedElem,\n priorSelectionRange = lanes.selectionRange;\n if (\n curFocusedElem !== priorFocusedElem &&\n priorFocusedElem &&\n priorFocusedElem.ownerDocument &&\n containsNode(\n priorFocusedElem.ownerDocument.documentElement,\n priorFocusedElem\n )\n ) {\n if (\n null !== priorSelectionRange &&\n hasSelectionCapabilities(priorFocusedElem)\n ) {\n var start = priorSelectionRange.start,\n end = priorSelectionRange.end;\n void 0 === end && (end = start);\n if (\"selectionStart\" in priorFocusedElem)\n (priorFocusedElem.selectionStart = start),\n (priorFocusedElem.selectionEnd = Math.min(\n end,\n priorFocusedElem.value.length\n ));\n else {\n var doc = priorFocusedElem.ownerDocument || document,\n win = (doc && doc.defaultView) || window;\n if (win.getSelection) {\n var selection = win.getSelection(),\n length = priorFocusedElem.textContent.length,\n start$jscomp$0 = Math.min(priorSelectionRange.start, length),\n end$jscomp$0 =\n void 0 === priorSelectionRange.end\n ? start$jscomp$0\n : Math.min(priorSelectionRange.end, length);\n !selection.extend &&\n start$jscomp$0 > end$jscomp$0 &&\n ((curFocusedElem = end$jscomp$0),\n (end$jscomp$0 = start$jscomp$0),\n (start$jscomp$0 = curFocusedElem));\n var startMarker = getNodeForCharacterOffset(\n priorFocusedElem,\n start$jscomp$0\n ),\n endMarker = getNodeForCharacterOffset(\n priorFocusedElem,\n end$jscomp$0\n );\n if (\n startMarker &&\n endMarker &&\n (1 !== selection.rangeCount ||\n selection.anchorNode !== startMarker.node ||\n selection.anchorOffset !== startMarker.offset ||\n selection.focusNode !== endMarker.node ||\n selection.focusOffset !== endMarker.offset)\n ) {\n var range = doc.createRange();\n range.setStart(startMarker.node, startMarker.offset);\n selection.removeAllRanges();\n start$jscomp$0 > end$jscomp$0\n ? (selection.addRange(range),\n selection.extend(endMarker.node, endMarker.offset))\n : (range.setEnd(endMarker.node, endMarker.offset),\n selection.addRange(range));\n }\n }\n }\n }\n doc = [];\n for (\n selection = priorFocusedElem;\n (selection = selection.parentNode);\n\n )\n 1 === selection.nodeType &&\n doc.push({\n element: selection,\n left: selection.scrollLeft,\n top: selection.scrollTop\n });\n \"function\" === typeof priorFocusedElem.focus &&\n priorFocusedElem.focus();\n for (\n priorFocusedElem = 0;\n priorFocusedElem < doc.length;\n priorFocusedElem++\n ) {\n var info = doc[priorFocusedElem];\n info.element.scrollLeft = info.left;\n info.element.scrollTop = info.top;\n }\n }\n _enabled = !!eventsEnabled;\n selectionInformation = eventsEnabled = null;\n } finally {\n (executionContext = prevExecutionContext),\n (ReactDOMSharedInternals.p = previousPriority),\n (ReactSharedInternals.T = rootMutationHasEffect);\n }\n }\n root.current = finishedWork;\n pendingEffectsStatus = 2;\n }\n}\nfunction flushLayoutEffects() {\n if (2 === pendingEffectsStatus) {\n pendingEffectsStatus = 0;\n var root = pendingEffectsRoot,\n finishedWork = pendingFinishedWork,\n rootHasLayoutEffect = 0 !== (finishedWork.flags & 8772);\n if (0 !== (finishedWork.subtreeFlags & 8772) || rootHasLayoutEffect) {\n rootHasLayoutEffect = ReactSharedInternals.T;\n ReactSharedInternals.T = null;\n var previousPriority = ReactDOMSharedInternals.p;\n ReactDOMSharedInternals.p = 2;\n var prevExecutionContext = executionContext;\n executionContext |= 4;\n try {\n commitLayoutEffectOnFiber(root, finishedWork.alternate, finishedWork);\n } finally {\n (executionContext = prevExecutionContext),\n (ReactDOMSharedInternals.p = previousPriority),\n (ReactSharedInternals.T = rootHasLayoutEffect);\n }\n }\n pendingEffectsStatus = 3;\n }\n}\nfunction flushSpawnedWork() {\n if (4 === pendingEffectsStatus || 3 === pendingEffectsStatus) {\n pendingEffectsStatus = 0;\n pendingViewTransition = null;\n requestPaint();\n var root = pendingEffectsRoot,\n finishedWork = pendingFinishedWork,\n lanes = pendingEffectsLanes,\n recoverableErrors = pendingRecoverableErrors,\n passiveSubtreeMask = (lanes & 335544064) === lanes ? 10262 : 10256;\n 0 !== (finishedWork.subtreeFlags & passiveSubtreeMask) ||\n 0 !== (finishedWork.flags & passiveSubtreeMask)\n ? (pendingEffectsStatus = 5)\n : ((pendingEffectsStatus = 0),\n (pendingFinishedWork = pendingEffectsRoot = null),\n releaseRootPooledCache(root, root.pendingLanes));\n passiveSubtreeMask = root.pendingLanes;\n 0 === passiveSubtreeMask && (legacyErrorBoundariesThatAlreadyFailed = null);\n lanesToEventPriority(lanes);\n finishedWork = finishedWork.stateNode;\n if (injectedHook && \"function\" === typeof injectedHook.onCommitFiberRoot)\n try {\n injectedHook.onCommitFiberRoot(\n rendererID,\n finishedWork,\n void 0,\n 128 === (finishedWork.current.flags & 128)\n );\n } catch (err) {}\n if (null !== recoverableErrors) {\n finishedWork = ReactSharedInternals.T;\n passiveSubtreeMask = ReactDOMSharedInternals.p;\n ReactDOMSharedInternals.p = 2;\n ReactSharedInternals.T = null;\n try {\n for (\n var onRecoverableError = root.onRecoverableError, i = 0;\n i < recoverableErrors.length;\n i++\n ) {\n var recoverableError = recoverableErrors[i];\n onRecoverableError(recoverableError.value, {\n componentStack: recoverableError.stack\n });\n }\n } finally {\n (ReactSharedInternals.T = finishedWork),\n (ReactDOMSharedInternals.p = passiveSubtreeMask);\n }\n }\n recoverableErrors = pendingViewTransitionEvents;\n onRecoverableError = pendingTransitionTypes;\n pendingTransitionTypes = null;\n if (null !== recoverableErrors)\n for (\n pendingViewTransitionEvents = null,\n null === onRecoverableError && (onRecoverableError = []),\n recoverableError = 0;\n recoverableError < recoverableErrors.length;\n recoverableError++\n )\n (0, recoverableErrors[recoverableError])(onRecoverableError);\n 0 !== (pendingEffectsLanes & 3) && flushPendingEffects();\n ensureRootIsScheduled(root);\n passiveSubtreeMask = root.pendingLanes;\n 0 !== (lanes & 261930) && 0 !== (passiveSubtreeMask & 42)\n ? root === rootWithNestedUpdates\n ? nestedUpdateCount++\n : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root))\n : (nestedUpdateCount = 0);\n flushSyncWorkAcrossRoots_impl(0, !1);\n }\n}\nfunction releaseRootPooledCache(root, remainingLanes) {\n 0 === (root.pooledCacheLanes &= remainingLanes) &&\n ((remainingLanes = root.pooledCache),\n null != remainingLanes &&\n ((root.pooledCache = null), releaseCache(remainingLanes)));\n}\nfunction flushPendingEffects() {\n null !== pendingViewTransition &&\n (pendingViewTransition.skipTransition(), (pendingViewTransition = null));\n flushMutationEffects();\n flushLayoutEffects();\n flushSpawnedWork();\n return flushPassiveEffects();\n}\nfunction flushPassiveEffects() {\n if (5 !== pendingEffectsStatus) return !1;\n var root = pendingEffectsRoot,\n remainingLanes = pendingEffectsRemainingLanes;\n pendingEffectsRemainingLanes = 0;\n var renderPriority = lanesToEventPriority(pendingEffectsLanes),\n prevTransition = ReactSharedInternals.T,\n previousPriority = ReactDOMSharedInternals.p;\n try {\n ReactDOMSharedInternals.p = 32 > renderPriority ? 32 : renderPriority;\n ReactSharedInternals.T = null;\n renderPriority = pendingPassiveTransitions;\n pendingPassiveTransitions = null;\n var root$jscomp$0 = pendingEffectsRoot,\n lanes = pendingEffectsLanes;\n pendingEffectsStatus = 0;\n pendingFinishedWork = pendingEffectsRoot = null;\n pendingEffectsLanes = 0;\n if (0 !== (executionContext & 6)) throw Error(formatProdErrorMessage(331));\n var prevExecutionContext = executionContext;\n executionContext |= 4;\n commitPassiveUnmountOnFiber(root$jscomp$0.current);\n commitPassiveMountOnFiber(\n root$jscomp$0,\n root$jscomp$0.current,\n lanes,\n renderPriority\n );\n executionContext = prevExecutionContext;\n flushSyncWorkAcrossRoots_impl(0, !1);\n if (\n injectedHook &&\n \"function\" === typeof injectedHook.onPostCommitFiberRoot\n )\n try {\n injectedHook.onPostCommitFiberRoot(rendererID, root$jscomp$0);\n } catch (err) {}\n return !0;\n } finally {\n (ReactDOMSharedInternals.p = previousPriority),\n (ReactSharedInternals.T = prevTransition),\n releaseRootPooledCache(root, remainingLanes);\n }\n}\nfunction captureCommitPhaseErrorOnRoot(rootFiber, sourceFiber, error) {\n sourceFiber = createCapturedValueAtFiber(error, sourceFiber);\n sourceFiber = createRootErrorUpdate(rootFiber.stateNode, sourceFiber, 2);\n rootFiber = enqueueUpdate(rootFiber, sourceFiber, 2);\n null !== rootFiber &&\n (markRootUpdated$1(rootFiber, 2), ensureRootIsScheduled(rootFiber));\n}\nfunction captureCommitPhaseError(sourceFiber, nearestMountedAncestor, error) {\n if (3 === sourceFiber.tag)\n captureCommitPhaseErrorOnRoot(sourceFiber, sourceFiber, error);\n else\n for (; null !== nearestMountedAncestor; ) {\n if (3 === nearestMountedAncestor.tag) {\n captureCommitPhaseErrorOnRoot(\n nearestMountedAncestor,\n sourceFiber,\n error\n );\n break;\n } else if (1 === nearestMountedAncestor.tag) {\n var instance = nearestMountedAncestor.stateNode;\n if (\n \"function\" ===\n typeof nearestMountedAncestor.type.getDerivedStateFromError ||\n (\"function\" === typeof instance.componentDidCatch &&\n (null === legacyErrorBoundariesThatAlreadyFailed ||\n !legacyErrorBoundariesThatAlreadyFailed.has(instance)))\n ) {\n sourceFiber = createCapturedValueAtFiber(error, sourceFiber);\n error = createClassErrorUpdate(2);\n instance = enqueueUpdate(nearestMountedAncestor, error, 2);\n null !== instance &&\n (initializeClassErrorUpdate(\n error,\n instance,\n nearestMountedAncestor,\n sourceFiber\n ),\n markRootUpdated$1(instance, 2),\n ensureRootIsScheduled(instance));\n break;\n }\n }\n nearestMountedAncestor = nearestMountedAncestor.return;\n }\n}\nfunction attachPingListener(root, wakeable, lanes) {\n var pingCache = root.pingCache;\n if (null === pingCache) {\n pingCache = root.pingCache = new PossiblyWeakMap();\n var threadIDs = new Set();\n pingCache.set(wakeable, threadIDs);\n } else\n (threadIDs = pingCache.get(wakeable)),\n void 0 === threadIDs &&\n ((threadIDs = new Set()), pingCache.set(wakeable, threadIDs));\n threadIDs.has(lanes) ||\n ((workInProgressRootDidAttachPingListener = !0),\n threadIDs.add(lanes),\n (root = pingSuspendedRoot.bind(null, root, wakeable, lanes)),\n wakeable.then(root, root));\n}\nfunction pingSuspendedRoot(root, wakeable, pingedLanes) {\n var pingCache = root.pingCache;\n null !== pingCache && pingCache.delete(wakeable);\n root.pingedLanes |= root.suspendedLanes & pingedLanes;\n root.warmLanes &= ~pingedLanes;\n workInProgressRoot === root &&\n (workInProgressRootRenderLanes & pingedLanes) === pingedLanes &&\n (4 === workInProgressRootExitStatus ||\n (3 === workInProgressRootExitStatus &&\n (workInProgressRootRenderLanes & 62914560) ===\n workInProgressRootRenderLanes &&\n 300 > now() - globalMostRecentFallbackTime)\n ? 0 === (executionContext & 2) && prepareFreshStack(root, 0)\n : (workInProgressRootPingedLanes |= pingedLanes),\n workInProgressSuspendedRetryLanes === workInProgressRootRenderLanes &&\n (workInProgressSuspendedRetryLanes = 0));\n ensureRootIsScheduled(root);\n}\nfunction retryTimedOutBoundary(boundaryFiber, retryLane) {\n 0 === retryLane && (retryLane = claimNextRetryLane());\n boundaryFiber = enqueueConcurrentRenderForLane(boundaryFiber, retryLane);\n null !== boundaryFiber &&\n (markRootUpdated$1(boundaryFiber, retryLane),\n ensureRootIsScheduled(boundaryFiber));\n}\nfunction retryDehydratedSuspenseBoundary(boundaryFiber) {\n var suspenseState = boundaryFiber.memoizedState,\n retryLane = 0;\n null !== suspenseState && (retryLane = suspenseState.retryLane);\n retryTimedOutBoundary(boundaryFiber, retryLane);\n}\nfunction resolveRetryWakeable(boundaryFiber, wakeable) {\n var retryLane = 0;\n switch (boundaryFiber.tag) {\n case 31:\n case 13:\n var retryCache = boundaryFiber.stateNode;\n var suspenseState = boundaryFiber.memoizedState;\n null !== suspenseState && (retryLane = suspenseState.retryLane);\n break;\n case 19:\n retryCache = boundaryFiber.stateNode;\n break;\n case 22:\n retryCache = boundaryFiber.stateNode._retryCache;\n break;\n default:\n throw Error(formatProdErrorMessage(314));\n }\n null !== retryCache && retryCache.delete(wakeable);\n retryTimedOutBoundary(boundaryFiber, retryLane);\n}\nfunction scheduleCallback$1(priorityLevel, callback) {\n return scheduleCallback$3(priorityLevel, callback);\n}\nvar firstScheduledRoot = null,\n lastScheduledRoot = null,\n didScheduleMicrotask = !1,\n mightHavePendingSyncWork = !1,\n isFlushingWork = !1,\n currentEventTransitionLane = 0;\nfunction ensureRootIsScheduled(root) {\n root !== lastScheduledRoot &&\n null === root.next &&\n (null === lastScheduledRoot\n ? (firstScheduledRoot = lastScheduledRoot = root)\n : (lastScheduledRoot = lastScheduledRoot.next = root));\n mightHavePendingSyncWork = !0;\n didScheduleMicrotask ||\n ((didScheduleMicrotask = !0), scheduleImmediateRootScheduleTask());\n}\nfunction flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {\n if (!isFlushingWork && mightHavePendingSyncWork) {\n isFlushingWork = !0;\n do {\n var didPerformSomeWork = !1;\n for (var root$183 = firstScheduledRoot; null !== root$183; ) {\n if (!onlyLegacy)\n if (0 !== syncTransitionLanes) {\n var pendingLanes = root$183.pendingLanes;\n if (0 === pendingLanes) var JSCompiler_inline_result = 0;\n else {\n var suspendedLanes = root$183.suspendedLanes,\n pingedLanes = root$183.pingedLanes;\n JSCompiler_inline_result =\n (1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1;\n JSCompiler_inline_result &=\n pendingLanes & ~(suspendedLanes & ~pingedLanes);\n JSCompiler_inline_result =\n JSCompiler_inline_result & 201326741\n ? (JSCompiler_inline_result & 201326741) | 1\n : JSCompiler_inline_result\n ? JSCompiler_inline_result | 2\n : 0;\n }\n 0 !== JSCompiler_inline_result &&\n ((didPerformSomeWork = !0),\n performSyncWorkOnRoot(root$183, JSCompiler_inline_result));\n } else\n (JSCompiler_inline_result = workInProgressRootRenderLanes),\n (JSCompiler_inline_result = getNextLanes(\n root$183,\n root$183 === workInProgressRoot ? JSCompiler_inline_result : 0,\n null !== root$183.cancelPendingCommit ||\n -1 !== root$183.timeoutHandle\n )),\n 0 === (JSCompiler_inline_result & 3) ||\n checkIfRootIsPrerendering(root$183, JSCompiler_inline_result) ||\n ((didPerformSomeWork = !0),\n performSyncWorkOnRoot(root$183, JSCompiler_inline_result));\n root$183 = root$183.next;\n }\n } while (didPerformSomeWork);\n isFlushingWork = !1;\n }\n}\nfunction processRootScheduleInImmediateTask() {\n processRootScheduleInMicrotask();\n}\nfunction processRootScheduleInMicrotask() {\n mightHavePendingSyncWork = didScheduleMicrotask = !1;\n var syncTransitionLanes = 0;\n 0 !== currentEventTransitionLane &&\n shouldAttemptEagerTransition() &&\n (syncTransitionLanes = currentEventTransitionLane);\n for (\n var currentTime = now(), prev = null, root = firstScheduledRoot;\n null !== root;\n\n ) {\n var next = root.next,\n nextLanes = scheduleTaskForRootDuringMicrotask(root, currentTime);\n if (0 === nextLanes)\n (root.next = null),\n null === prev ? (firstScheduledRoot = next) : (prev.next = next),\n null === next && (lastScheduledRoot = prev);\n else if (\n ((prev = root), 0 !== syncTransitionLanes || 0 !== (nextLanes & 3))\n )\n mightHavePendingSyncWork = !0;\n root = next;\n }\n (0 !== pendingEffectsStatus && 5 !== pendingEffectsStatus) ||\n flushSyncWorkAcrossRoots_impl(syncTransitionLanes, !1);\n 0 !== currentEventTransitionLane && (currentEventTransitionLane = 0);\n}\nfunction scheduleTaskForRootDuringMicrotask(root, currentTime) {\n for (\n var suspendedLanes = root.suspendedLanes,\n pingedLanes = root.pingedLanes,\n expirationTimes = root.expirationTimes,\n lanes = root.pendingLanes & -62914561;\n 0 < lanes;\n\n ) {\n var index$5 = 31 - clz32(lanes),\n lane = 1 << index$5,\n expirationTime = expirationTimes[index$5];\n if (-1 === expirationTime) {\n if (0 === (lane & suspendedLanes) || 0 !== (lane & pingedLanes))\n expirationTimes[index$5] = computeExpirationTime(lane, currentTime);\n } else expirationTime <= currentTime && (root.expiredLanes |= lane);\n lanes &= ~lane;\n }\n currentTime = workInProgressRoot;\n suspendedLanes = workInProgressRootRenderLanes;\n suspendedLanes = getNextLanes(\n root,\n root === currentTime ? suspendedLanes : 0,\n null !== root.cancelPendingCommit || -1 !== root.timeoutHandle\n );\n pingedLanes = root.callbackNode;\n if (\n 0 === suspendedLanes ||\n (root === currentTime &&\n (2 === workInProgressSuspendedReason ||\n 9 === workInProgressSuspendedReason)) ||\n null !== root.cancelPendingCommit\n )\n return (\n null !== pingedLanes &&\n null !== pingedLanes &&\n cancelCallback$1(pingedLanes),\n (root.callbackNode = null),\n (root.callbackPriority = 0)\n );\n if (\n 0 === (suspendedLanes & 3) ||\n checkIfRootIsPrerendering(root, suspendedLanes)\n ) {\n currentTime = suspendedLanes & -suspendedLanes;\n if (currentTime === root.callbackPriority) return currentTime;\n null !== pingedLanes && cancelCallback$1(pingedLanes);\n switch (lanesToEventPriority(suspendedLanes)) {\n case 2:\n case 8:\n suspendedLanes = UserBlockingPriority;\n break;\n case 32:\n suspendedLanes = NormalPriority$1;\n break;\n case 268435456:\n suspendedLanes = IdlePriority;\n break;\n default:\n suspendedLanes = NormalPriority$1;\n }\n pingedLanes = performWorkOnRootViaSchedulerTask.bind(null, root);\n suspendedLanes = scheduleCallback$3(suspendedLanes, pingedLanes);\n root.callbackPriority = currentTime;\n root.callbackNode = suspendedLanes;\n return currentTime;\n }\n null !== pingedLanes && null !== pingedLanes && cancelCallback$1(pingedLanes);\n root.callbackPriority = 2;\n root.callbackNode = null;\n return 2;\n}\nfunction performWorkOnRootViaSchedulerTask(root, didTimeout) {\n if (0 !== pendingEffectsStatus && 5 !== pendingEffectsStatus)\n return (root.callbackNode = null), (root.callbackPriority = 0), null;\n var originalCallbackNode = root.callbackNode;\n if (flushPendingEffects() && root.callbackNode !== originalCallbackNode)\n return null;\n var workInProgressRootRenderLanes$jscomp$0 = workInProgressRootRenderLanes;\n workInProgressRootRenderLanes$jscomp$0 = getNextLanes(\n root,\n root === workInProgressRoot ? workInProgressRootRenderLanes$jscomp$0 : 0,\n null !== root.cancelPendingCommit || -1 !== root.timeoutHandle\n );\n if (0 === workInProgressRootRenderLanes$jscomp$0) return null;\n performWorkOnRoot(root, workInProgressRootRenderLanes$jscomp$0, didTimeout);\n scheduleTaskForRootDuringMicrotask(root, now());\n return null != root.callbackNode && root.callbackNode === originalCallbackNode\n ? performWorkOnRootViaSchedulerTask.bind(null, root)\n : null;\n}\nfunction performSyncWorkOnRoot(root, lanes) {\n if (flushPendingEffects()) return null;\n performWorkOnRoot(root, lanes, !0);\n}\nfunction scheduleImmediateRootScheduleTask() {\n scheduleMicrotask(function () {\n 0 !== (executionContext & 6)\n ? scheduleCallback$3(\n ImmediatePriority,\n processRootScheduleInImmediateTask\n )\n : processRootScheduleInMicrotask();\n });\n}\nfunction requestTransitionLane() {\n if (0 === currentEventTransitionLane) {\n var actionScopeLane = currentEntangledLane;\n 0 === actionScopeLane &&\n ((actionScopeLane = nextTransitionUpdateLane),\n (nextTransitionUpdateLane <<= 1),\n 0 === (nextTransitionUpdateLane & 261888) &&\n (nextTransitionUpdateLane = 256));\n currentEventTransitionLane = actionScopeLane;\n }\n return currentEventTransitionLane;\n}\nfunction coerceFormActionProp(actionProp) {\n return null == actionProp ||\n \"symbol\" === typeof actionProp ||\n \"boolean\" === typeof actionProp\n ? null\n : \"function\" === typeof actionProp\n ? actionProp\n : sanitizeURL(\"\" + actionProp);\n}\nfunction createFormDataWithSubmitter(form, submitter) {\n var temp = submitter.ownerDocument.createElement(\"input\");\n temp.name = submitter.name;\n temp.value = submitter.value;\n form.id && temp.setAttribute(\"form\", form.id);\n submitter.parentNode.insertBefore(temp, submitter);\n form = new FormData(form);\n temp.parentNode.removeChild(temp);\n return form;\n}\nfunction extractEvents$1(\n dispatchQueue,\n domEventName,\n maybeTargetInst,\n nativeEvent,\n nativeEventTarget\n) {\n if (\n \"submit\" === domEventName &&\n maybeTargetInst &&\n maybeTargetInst.stateNode === nativeEventTarget\n ) {\n var action = coerceFormActionProp(\n (nativeEventTarget[internalPropsKey] || null).action\n ),\n submitter = nativeEvent.submitter;\n submitter &&\n ((domEventName = (domEventName = submitter[internalPropsKey] || null)\n ? coerceFormActionProp(domEventName.formAction)\n : submitter.getAttribute(\"formAction\")),\n null !== domEventName && ((action = domEventName), (submitter = null)));\n var event = new SyntheticEvent(\n \"action\",\n \"action\",\n null,\n nativeEvent,\n nativeEventTarget\n );\n dispatchQueue.push({\n event: event,\n listeners: [\n {\n instance: null,\n listener: function () {\n if (nativeEvent.defaultPrevented) {\n if (0 !== currentEventTransitionLane) {\n var formData = submitter\n ? createFormDataWithSubmitter(nativeEventTarget, submitter)\n : new FormData(nativeEventTarget);\n startHostTransition(\n maybeTargetInst,\n {\n pending: !0,\n data: formData,\n method: nativeEventTarget.method,\n action: action\n },\n null,\n formData\n );\n }\n } else\n \"function\" === typeof action &&\n (event.preventDefault(),\n (formData = submitter\n ? createFormDataWithSubmitter(nativeEventTarget, submitter)\n : new FormData(nativeEventTarget)),\n startHostTransition(\n maybeTargetInst,\n {\n pending: !0,\n data: formData,\n method: nativeEventTarget.method,\n action: action\n },\n action,\n formData\n ));\n },\n currentTarget: nativeEventTarget\n }\n ]\n });\n }\n}\nfor (\n var i$jscomp$inline_1691 = 0;\n i$jscomp$inline_1691 < simpleEventPluginEvents.length;\n i$jscomp$inline_1691++\n) {\n var eventName$jscomp$inline_1692 =\n simpleEventPluginEvents[i$jscomp$inline_1691],\n domEventName$jscomp$inline_1693 =\n eventName$jscomp$inline_1692.toLowerCase(),\n capitalizedEvent$jscomp$inline_1694 =\n eventName$jscomp$inline_1692[0].toUpperCase() +\n eventName$jscomp$inline_1692.slice(1);\n registerSimpleEvent(\n domEventName$jscomp$inline_1693,\n \"on\" + capitalizedEvent$jscomp$inline_1694\n );\n}\nregisterSimpleEvent(ANIMATION_END, \"onAnimationEnd\");\nregisterSimpleEvent(ANIMATION_ITERATION, \"onAnimationIteration\");\nregisterSimpleEvent(ANIMATION_START, \"onAnimationStart\");\nregisterSimpleEvent(\"dblclick\", \"onDoubleClick\");\nregisterSimpleEvent(\"focusin\", \"onFocus\");\nregisterSimpleEvent(\"focusout\", \"onBlur\");\nregisterSimpleEvent(TRANSITION_RUN, \"onTransitionRun\");\nregisterSimpleEvent(TRANSITION_START, \"onTransitionStart\");\nregisterSimpleEvent(TRANSITION_CANCEL, \"onTransitionCancel\");\nregisterSimpleEvent(TRANSITION_END, \"onTransitionEnd\");\nregisterDirectEvent(\"onMouseEnter\", [\"mouseout\", \"mouseover\"]);\nregisterDirectEvent(\"onMouseLeave\", [\"mouseout\", \"mouseover\"]);\nregisterDirectEvent(\"onPointerEnter\", [\"pointerout\", \"pointerover\"]);\nregisterDirectEvent(\"onPointerLeave\", [\"pointerout\", \"pointerover\"]);\nregisterTwoPhaseEvent(\n \"onChange\",\n \"change click focusin focusout input keydown keyup selectionchange\".split(\" \")\n);\nregisterTwoPhaseEvent(\n \"onSelect\",\n \"focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange\".split(\n \" \"\n )\n);\nregisterTwoPhaseEvent(\"onBeforeInput\", [\n \"compositionend\",\n \"keypress\",\n \"textInput\",\n \"paste\"\n]);\nregisterTwoPhaseEvent(\n \"onCompositionEnd\",\n \"compositionend focusout keydown keypress keyup mousedown\".split(\" \")\n);\nregisterTwoPhaseEvent(\n \"onCompositionStart\",\n \"compositionstart focusout keydown keypress keyup mousedown\".split(\" \")\n);\nregisterTwoPhaseEvent(\n \"onCompositionUpdate\",\n \"compositionupdate focusout keydown keypress keyup mousedown\".split(\" \")\n);\nvar mediaEventTypes =\n \"abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting\".split(\n \" \"\n ),\n nonDelegatedEvents = new Set(\n \"beforetoggle cancel close invalid load scroll scrollend toggle\"\n .split(\" \")\n .concat(mediaEventTypes)\n );\nfunction processDispatchQueue(dispatchQueue, eventSystemFlags) {\n eventSystemFlags = 0 !== (eventSystemFlags & 4);\n for (var i = 0; i < dispatchQueue.length; i++) {\n var _dispatchQueue$i = dispatchQueue[i],\n event = _dispatchQueue$i.event;\n _dispatchQueue$i = _dispatchQueue$i.listeners;\n a: {\n var previousInstance = void 0;\n if (eventSystemFlags)\n for (\n var i$jscomp$0 = _dispatchQueue$i.length - 1;\n 0 <= i$jscomp$0;\n i$jscomp$0--\n ) {\n var _dispatchListeners$i = _dispatchQueue$i[i$jscomp$0],\n instance = _dispatchListeners$i.instance,\n currentTarget = _dispatchListeners$i.currentTarget;\n _dispatchListeners$i = _dispatchListeners$i.listener;\n if (instance !== previousInstance && event.isPropagationStopped())\n break a;\n previousInstance = _dispatchListeners$i;\n event.currentTarget = currentTarget;\n try {\n previousInstance(event);\n } catch (error) {\n reportGlobalError(error);\n }\n event.currentTarget = null;\n previousInstance = instance;\n }\n else\n for (\n i$jscomp$0 = 0;\n i$jscomp$0 < _dispatchQueue$i.length;\n i$jscomp$0++\n ) {\n _dispatchListeners$i = _dispatchQueue$i[i$jscomp$0];\n instance = _dispatchListeners$i.instance;\n currentTarget = _dispatchListeners$i.currentTarget;\n _dispatchListeners$i = _dispatchListeners$i.listener;\n if (instance !== previousInstance && event.isPropagationStopped())\n break a;\n previousInstance = _dispatchListeners$i;\n event.currentTarget = currentTarget;\n try {\n previousInstance(event);\n } catch (error) {\n reportGlobalError(error);\n }\n event.currentTarget = null;\n previousInstance = instance;\n }\n }\n }\n}\nfunction listenToNonDelegatedEvent(domEventName, targetElement) {\n var JSCompiler_inline_result = targetElement[internalEventHandlersKey];\n void 0 === JSCompiler_inline_result &&\n (JSCompiler_inline_result = targetElement[internalEventHandlersKey] =\n new Set());\n var listenerSetKey = domEventName + \"__bubble\";\n JSCompiler_inline_result.has(listenerSetKey) ||\n (addTrappedEventListener(targetElement, domEventName, 2, !1),\n JSCompiler_inline_result.add(listenerSetKey));\n}\nfunction listenToNativeEvent(domEventName, isCapturePhaseListener, target) {\n var eventSystemFlags = 0;\n isCapturePhaseListener && (eventSystemFlags |= 4);\n addTrappedEventListener(\n target,\n domEventName,\n eventSystemFlags,\n isCapturePhaseListener\n );\n}\nvar listeningMarker = \"_reactListening\" + Math.random().toString(36).slice(2);\nfunction listenToAllSupportedEvents(rootContainerElement) {\n if (!rootContainerElement[listeningMarker]) {\n rootContainerElement[listeningMarker] = !0;\n allNativeEvents.forEach(function (domEventName) {\n \"selectionchange\" !== domEventName &&\n (nonDelegatedEvents.has(domEventName) ||\n listenToNativeEvent(domEventName, !1, rootContainerElement),\n listenToNativeEvent(domEventName, !0, rootContainerElement));\n });\n var ownerDocument =\n 9 === rootContainerElement.nodeType\n ? rootContainerElement\n : rootContainerElement.ownerDocument;\n null === ownerDocument ||\n ownerDocument[listeningMarker] ||\n ((ownerDocument[listeningMarker] = !0),\n listenToNativeEvent(\"selectionchange\", !1, ownerDocument));\n }\n}\nfunction addTrappedEventListener(\n targetContainer,\n domEventName,\n eventSystemFlags,\n isCapturePhaseListener\n) {\n switch (getEventPriority(domEventName)) {\n case 2:\n var listenerWrapper = dispatchDiscreteEvent;\n break;\n case 8:\n listenerWrapper = dispatchContinuousEvent;\n break;\n default:\n listenerWrapper = dispatchEvent;\n }\n eventSystemFlags = listenerWrapper.bind(\n null,\n domEventName,\n eventSystemFlags,\n targetContainer\n );\n listenerWrapper = void 0;\n !passiveBrowserEventsSupported ||\n (\"touchstart\" !== domEventName &&\n \"touchmove\" !== domEventName &&\n \"wheel\" !== domEventName) ||\n (listenerWrapper = !0);\n isCapturePhaseListener\n ? void 0 !== listenerWrapper\n ? targetContainer.addEventListener(domEventName, eventSystemFlags, {\n capture: !0,\n passive: listenerWrapper\n })\n : targetContainer.addEventListener(domEventName, eventSystemFlags, !0)\n : void 0 !== listenerWrapper\n ? targetContainer.addEventListener(domEventName, eventSystemFlags, {\n passive: listenerWrapper\n })\n : targetContainer.addEventListener(domEventName, eventSystemFlags, !1);\n}\nfunction dispatchEventForPluginEventSystem(\n domEventName,\n eventSystemFlags,\n nativeEvent,\n targetInst$jscomp$0,\n targetContainer\n) {\n var ancestorInst = targetInst$jscomp$0;\n if (\n 0 === (eventSystemFlags & 1) &&\n 0 === (eventSystemFlags & 2) &&\n null !== targetInst$jscomp$0\n )\n a: for (;;) {\n if (null === targetInst$jscomp$0) return;\n var nodeTag = targetInst$jscomp$0.tag;\n if (3 === nodeTag || 4 === nodeTag) {\n var container = targetInst$jscomp$0.stateNode.containerInfo;\n if (container === targetContainer) break;\n if (4 === nodeTag)\n for (nodeTag = targetInst$jscomp$0.return; null !== nodeTag; ) {\n var grandTag = nodeTag.tag;\n if (\n (3 === grandTag || 4 === grandTag) &&\n nodeTag.stateNode.containerInfo === targetContainer\n )\n return;\n nodeTag = nodeTag.return;\n }\n for (; null !== container; ) {\n nodeTag = getClosestInstanceFromNode(container);\n if (null === nodeTag) return;\n grandTag = nodeTag.tag;\n if (\n 5 === grandTag ||\n 6 === grandTag ||\n 26 === grandTag ||\n 27 === grandTag\n ) {\n targetInst$jscomp$0 = ancestorInst = nodeTag;\n continue a;\n }\n container = container.parentNode;\n }\n }\n targetInst$jscomp$0 = targetInst$jscomp$0.return;\n }\n batchedUpdates$1(function () {\n var targetInst = ancestorInst,\n nativeEventTarget = getEventTarget(nativeEvent),\n dispatchQueue = [];\n a: {\n var reactName = topLevelEventsToReactNames.get(domEventName);\n if (void 0 !== reactName) {\n var SyntheticEventCtor = SyntheticEvent,\n reactEventType = domEventName;\n switch (domEventName) {\n case \"keypress\":\n if (0 === getEventCharCode(nativeEvent)) break a;\n case \"keydown\":\n case \"keyup\":\n SyntheticEventCtor = SyntheticKeyboardEvent;\n break;\n case \"focusin\":\n reactEventType = \"focus\";\n SyntheticEventCtor = SyntheticFocusEvent;\n break;\n case \"focusout\":\n reactEventType = \"blur\";\n SyntheticEventCtor = SyntheticFocusEvent;\n break;\n case \"beforeblur\":\n case \"afterblur\":\n SyntheticEventCtor = SyntheticFocusEvent;\n break;\n case \"click\":\n if (2 === nativeEvent.button) break a;\n case \"auxclick\":\n case \"dblclick\":\n case \"mousedown\":\n case \"mousemove\":\n case \"mouseup\":\n case \"mouseout\":\n case \"mouseover\":\n case \"contextmenu\":\n SyntheticEventCtor = SyntheticMouseEvent;\n break;\n case \"drag\":\n case \"dragend\":\n case \"dragenter\":\n case \"dragexit\":\n case \"dragleave\":\n case \"dragover\":\n case \"dragstart\":\n case \"drop\":\n SyntheticEventCtor = SyntheticDragEvent;\n break;\n case \"touchcancel\":\n case \"touchend\":\n case \"touchmove\":\n case \"touchstart\":\n SyntheticEventCtor = SyntheticTouchEvent;\n break;\n case ANIMATION_END:\n case ANIMATION_ITERATION:\n case ANIMATION_START:\n SyntheticEventCtor = SyntheticAnimationEvent;\n break;\n case TRANSITION_END:\n SyntheticEventCtor = SyntheticTransitionEvent;\n break;\n case \"scroll\":\n case \"scrollend\":\n SyntheticEventCtor = SyntheticUIEvent;\n break;\n case \"wheel\":\n SyntheticEventCtor = SyntheticWheelEvent;\n break;\n case \"copy\":\n case \"cut\":\n case \"paste\":\n SyntheticEventCtor = SyntheticClipboardEvent;\n break;\n case \"gotpointercapture\":\n case \"lostpointercapture\":\n case \"pointercancel\":\n case \"pointerdown\":\n case \"pointermove\":\n case \"pointerout\":\n case \"pointerover\":\n case \"pointerup\":\n SyntheticEventCtor = SyntheticPointerEvent;\n break;\n case \"toggle\":\n case \"beforetoggle\":\n SyntheticEventCtor = SyntheticToggleEvent;\n }\n var inCapturePhase = 0 !== (eventSystemFlags & 4),\n accumulateTargetOnly =\n !inCapturePhase &&\n (\"scroll\" === domEventName || \"scrollend\" === domEventName),\n reactEventName = inCapturePhase\n ? null !== reactName\n ? reactName + \"Capture\"\n : null\n : reactName;\n inCapturePhase = [];\n for (\n var instance = targetInst, lastHostComponent;\n null !== instance;\n\n ) {\n var _instance = instance;\n lastHostComponent = _instance.stateNode;\n _instance = _instance.tag;\n (5 !== _instance && 26 !== _instance && 27 !== _instance) ||\n null === lastHostComponent ||\n null === reactEventName ||\n ((_instance = getListener(instance, reactEventName)),\n null != _instance &&\n inCapturePhase.push(\n createDispatchListener(instance, _instance, lastHostComponent)\n ));\n if (accumulateTargetOnly) break;\n instance = instance.return;\n }\n 0 < inCapturePhase.length &&\n ((reactName = new SyntheticEventCtor(\n reactName,\n reactEventType,\n null,\n nativeEvent,\n nativeEventTarget\n )),\n dispatchQueue.push({ event: reactName, listeners: inCapturePhase }));\n }\n }\n if (0 === (eventSystemFlags & 7)) {\n a: {\n SyntheticEventCtor =\n \"mouseover\" === domEventName || \"pointerover\" === domEventName;\n reactName =\n \"mouseout\" === domEventName || \"pointerout\" === domEventName;\n if (\n SyntheticEventCtor &&\n nativeEvent !== currentReplayingEvent &&\n (reactEventType =\n nativeEvent.relatedTarget || nativeEvent.fromElement) &&\n (getClosestInstanceFromNode(reactEventType) ||\n reactEventType[internalContainerInstanceKey])\n )\n break a;\n if (reactName || SyntheticEventCtor) {\n reactEventType =\n nativeEventTarget.window === nativeEventTarget\n ? nativeEventTarget\n : (SyntheticEventCtor = nativeEventTarget.ownerDocument)\n ? SyntheticEventCtor.defaultView ||\n SyntheticEventCtor.parentWindow\n : window;\n if (reactName) {\n if (\n ((SyntheticEventCtor =\n nativeEvent.relatedTarget || nativeEvent.toElement),\n (reactName = targetInst),\n (SyntheticEventCtor = SyntheticEventCtor\n ? getClosestInstanceFromNode(SyntheticEventCtor)\n : null),\n null !== SyntheticEventCtor &&\n ((accumulateTargetOnly =\n getNearestMountedFiber(SyntheticEventCtor)),\n (inCapturePhase = SyntheticEventCtor.tag),\n SyntheticEventCtor !== accumulateTargetOnly ||\n (5 !== inCapturePhase &&\n 27 !== inCapturePhase &&\n 6 !== inCapturePhase)))\n )\n SyntheticEventCtor = null;\n } else (reactName = null), (SyntheticEventCtor = targetInst);\n if (reactName !== SyntheticEventCtor) {\n inCapturePhase = SyntheticMouseEvent;\n _instance = \"onMouseLeave\";\n reactEventName = \"onMouseEnter\";\n instance = \"mouse\";\n if (\"pointerout\" === domEventName || \"pointerover\" === domEventName)\n (inCapturePhase = SyntheticPointerEvent),\n (_instance = \"onPointerLeave\"),\n (reactEventName = \"onPointerEnter\"),\n (instance = \"pointer\");\n accumulateTargetOnly =\n null == reactName\n ? reactEventType\n : getNodeFromInstance(reactName);\n lastHostComponent =\n null == SyntheticEventCtor\n ? reactEventType\n : getNodeFromInstance(SyntheticEventCtor);\n reactEventType = new inCapturePhase(\n _instance,\n instance + \"leave\",\n reactName,\n nativeEvent,\n nativeEventTarget\n );\n reactEventType.target = accumulateTargetOnly;\n reactEventType.relatedTarget = lastHostComponent;\n _instance = null;\n getClosestInstanceFromNode(nativeEventTarget) === targetInst &&\n ((inCapturePhase = new inCapturePhase(\n reactEventName,\n instance + \"enter\",\n SyntheticEventCtor,\n nativeEvent,\n nativeEventTarget\n )),\n (inCapturePhase.target = lastHostComponent),\n (inCapturePhase.relatedTarget = accumulateTargetOnly),\n (_instance = inCapturePhase));\n accumulateTargetOnly = _instance;\n inCapturePhase =\n reactName && SyntheticEventCtor\n ? getLowestCommonAncestor(\n reactName,\n SyntheticEventCtor,\n getParent\n )\n : null;\n null !== reactName &&\n accumulateEnterLeaveListenersForEvent(\n dispatchQueue,\n reactEventType,\n reactName,\n inCapturePhase,\n !1\n );\n null !== SyntheticEventCtor &&\n null !== accumulateTargetOnly &&\n accumulateEnterLeaveListenersForEvent(\n dispatchQueue,\n accumulateTargetOnly,\n SyntheticEventCtor,\n inCapturePhase,\n !0\n );\n }\n }\n }\n a: {\n reactName = targetInst ? getNodeFromInstance(targetInst) : window;\n SyntheticEventCtor =\n reactName.nodeName && reactName.nodeName.toLowerCase();\n if (\n \"select\" === SyntheticEventCtor ||\n (\"input\" === SyntheticEventCtor && \"file\" === reactName.type)\n )\n var getTargetInstFunc = getTargetInstForChangeEvent;\n else if (isTextInputElement(reactName))\n if (isInputEventSupported)\n getTargetInstFunc = getTargetInstForInputOrChangeEvent;\n else {\n getTargetInstFunc = getTargetInstForInputEventPolyfill;\n var handleEventFunc = handleEventsForInputEventPolyfill;\n }\n else\n (SyntheticEventCtor = reactName.nodeName),\n !SyntheticEventCtor ||\n \"input\" !== SyntheticEventCtor.toLowerCase() ||\n (\"checkbox\" !== reactName.type && \"radio\" !== reactName.type)\n ? targetInst &&\n isCustomElement(targetInst.elementType) &&\n (getTargetInstFunc = getTargetInstForChangeEvent)\n : (getTargetInstFunc = getTargetInstForClickEvent);\n if (\n getTargetInstFunc &&\n (getTargetInstFunc = getTargetInstFunc(domEventName, targetInst))\n ) {\n createAndAccumulateChangeEvent(\n dispatchQueue,\n getTargetInstFunc,\n nativeEvent,\n nativeEventTarget\n );\n break a;\n }\n handleEventFunc && handleEventFunc(domEventName, reactName, targetInst);\n \"focusout\" === domEventName &&\n targetInst &&\n \"number\" === reactName.type &&\n null != targetInst.memoizedProps.value &&\n setDefaultValue(reactName, \"number\", reactName.value);\n }\n handleEventFunc = targetInst ? getNodeFromInstance(targetInst) : window;\n switch (domEventName) {\n case \"focusin\":\n if (\n isTextInputElement(handleEventFunc) ||\n \"true\" === handleEventFunc.contentEditable\n )\n (activeElement = handleEventFunc),\n (activeElementInst = targetInst),\n (lastSelection = null);\n break;\n case \"focusout\":\n lastSelection = activeElementInst = activeElement = null;\n break;\n case \"mousedown\":\n mouseDown = !0;\n break;\n case \"contextmenu\":\n case \"mouseup\":\n case \"dragend\":\n mouseDown = !1;\n constructSelectEvent(dispatchQueue, nativeEvent, nativeEventTarget);\n break;\n case \"selectionchange\":\n if (skipSelectionChangeEvent) break;\n case \"keydown\":\n case \"keyup\":\n constructSelectEvent(dispatchQueue, nativeEvent, nativeEventTarget);\n }\n var fallbackData;\n if (canUseCompositionEvent)\n b: {\n switch (domEventName) {\n case \"compositionstart\":\n var eventType = \"onCompositionStart\";\n break b;\n case \"compositionend\":\n eventType = \"onCompositionEnd\";\n break b;\n case \"compositionupdate\":\n eventType = \"onCompositionUpdate\";\n break b;\n }\n eventType = void 0;\n }\n else\n isComposing\n ? isFallbackCompositionEnd(domEventName, nativeEvent) &&\n (eventType = \"onCompositionEnd\")\n : \"keydown\" === domEventName &&\n 229 === nativeEvent.keyCode &&\n (eventType = \"onCompositionStart\");\n eventType &&\n (useFallbackCompositionData &&\n \"ko\" !== nativeEvent.locale &&\n (isComposing || \"onCompositionStart\" !== eventType\n ? \"onCompositionEnd\" === eventType &&\n isComposing &&\n (fallbackData = getData())\n : ((root = nativeEventTarget),\n (startText = \"value\" in root ? root.value : root.textContent),\n (isComposing = !0))),\n (handleEventFunc = accumulateTwoPhaseListeners(targetInst, eventType)),\n 0 < handleEventFunc.length &&\n ((eventType = new SyntheticCompositionEvent(\n eventType,\n domEventName,\n null,\n nativeEvent,\n nativeEventTarget\n )),\n dispatchQueue.push({ event: eventType, listeners: handleEventFunc }),\n fallbackData\n ? (eventType.data = fallbackData)\n : ((fallbackData = getDataFromCustomEvent(nativeEvent)),\n null !== fallbackData && (eventType.data = fallbackData))));\n if (\n (fallbackData = canUseTextInputEvent\n ? getNativeBeforeInputChars(domEventName, nativeEvent)\n : getFallbackBeforeInputChars(domEventName, nativeEvent))\n )\n (eventType = accumulateTwoPhaseListeners(targetInst, \"onBeforeInput\")),\n 0 < eventType.length &&\n ((handleEventFunc = new SyntheticCompositionEvent(\n \"onBeforeInput\",\n \"beforeinput\",\n null,\n nativeEvent,\n nativeEventTarget\n )),\n dispatchQueue.push({\n event: handleEventFunc,\n listeners: eventType\n }),\n (handleEventFunc.data = fallbackData));\n extractEvents$1(\n dispatchQueue,\n domEventName,\n targetInst,\n nativeEvent,\n nativeEventTarget\n );\n }\n processDispatchQueue(dispatchQueue, eventSystemFlags);\n });\n}\nfunction createDispatchListener(instance, listener, currentTarget) {\n return {\n instance: instance,\n listener: listener,\n currentTarget: currentTarget\n };\n}\nfunction accumulateTwoPhaseListeners(targetFiber, reactName) {\n for (\n var captureName = reactName + \"Capture\", listeners = [];\n null !== targetFiber;\n\n ) {\n var _instance2 = targetFiber,\n stateNode = _instance2.stateNode;\n _instance2 = _instance2.tag;\n (5 !== _instance2 && 26 !== _instance2 && 27 !== _instance2) ||\n null === stateNode ||\n ((_instance2 = getListener(targetFiber, captureName)),\n null != _instance2 &&\n listeners.unshift(\n createDispatchListener(targetFiber, _instance2, stateNode)\n ),\n (_instance2 = getListener(targetFiber, reactName)),\n null != _instance2 &&\n listeners.push(\n createDispatchListener(targetFiber, _instance2, stateNode)\n ));\n if (3 === targetFiber.tag) return listeners;\n targetFiber = targetFiber.return;\n }\n return [];\n}\nfunction getParent(inst) {\n if (null === inst) return null;\n do inst = inst.return;\n while (inst && 5 !== inst.tag && 27 !== inst.tag);\n return inst ? inst : null;\n}\nfunction accumulateEnterLeaveListenersForEvent(\n dispatchQueue,\n event,\n target,\n common,\n inCapturePhase\n) {\n for (\n var registrationName = event._reactName, listeners = [];\n null !== target && target !== common;\n\n ) {\n var _instance3 = target,\n alternate = _instance3.alternate,\n stateNode = _instance3.stateNode;\n _instance3 = _instance3.tag;\n if (null !== alternate && alternate === common) break;\n (5 !== _instance3 && 26 !== _instance3 && 27 !== _instance3) ||\n null === stateNode ||\n ((alternate = stateNode),\n inCapturePhase\n ? ((stateNode = getListener(target, registrationName)),\n null != stateNode &&\n listeners.unshift(\n createDispatchListener(target, stateNode, alternate)\n ))\n : inCapturePhase ||\n ((stateNode = getListener(target, registrationName)),\n null != stateNode &&\n listeners.push(\n createDispatchListener(target, stateNode, alternate)\n )));\n target = target.return;\n }\n 0 !== listeners.length &&\n dispatchQueue.push({ event: event, listeners: listeners });\n}\nvar NORMALIZE_NEWLINES_REGEX = /\\r\\n?/g,\n NORMALIZE_NULL_AND_REPLACEMENT_REGEX = /\\u0000|\\uFFFD/g;\nfunction normalizeMarkupForTextOrAttribute(markup) {\n return (\"string\" === typeof markup ? markup : \"\" + markup)\n .replace(NORMALIZE_NEWLINES_REGEX, \"\\n\")\n .replace(NORMALIZE_NULL_AND_REPLACEMENT_REGEX, \"\");\n}\nfunction checkForUnmatchedText(serverText, clientText) {\n clientText = normalizeMarkupForTextOrAttribute(clientText);\n return normalizeMarkupForTextOrAttribute(serverText) === clientText ? !0 : !1;\n}\nfunction setProp(domElement, tag, key, value, props, prevValue) {\n switch (key) {\n case \"children\":\n if (\"string\" === typeof value)\n \"body\" === tag ||\n (\"textarea\" === tag && \"\" === value) ||\n setTextContent(domElement, value);\n else if (\"number\" === typeof value || \"bigint\" === typeof value)\n \"body\" !== tag && setTextContent(domElement, \"\" + value);\n else return;\n break;\n case \"className\":\n setValueForKnownAttribute(domElement, \"class\", value);\n break;\n case \"tabIndex\":\n setValueForKnownAttribute(domElement, \"tabindex\", value);\n break;\n case \"dir\":\n case \"role\":\n case \"viewBox\":\n case \"width\":\n case \"height\":\n setValueForKnownAttribute(domElement, key, value);\n break;\n case \"style\":\n setValueForStyles(domElement, value, prevValue);\n return;\n case \"data\":\n if (\"object\" !== tag) {\n setValueForKnownAttribute(domElement, \"data\", value);\n break;\n }\n case \"src\":\n case \"href\":\n if (\"\" === value && (\"a\" !== tag || \"href\" !== key)) {\n domElement.removeAttribute(key);\n break;\n }\n if (\n null == value ||\n \"function\" === typeof value ||\n \"symbol\" === typeof value ||\n \"boolean\" === typeof value\n ) {\n domElement.removeAttribute(key);\n break;\n }\n value = sanitizeURL(\"\" + value);\n domElement.setAttribute(key, value);\n break;\n case \"action\":\n case \"formAction\":\n if (\"function\" === typeof value) {\n domElement.setAttribute(\n key,\n \"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')\"\n );\n break;\n } else\n \"function\" === typeof prevValue &&\n (\"formAction\" === key\n ? (\"input\" !== tag &&\n setProp(domElement, tag, \"name\", props.name, props, null),\n setProp(\n domElement,\n tag,\n \"formEncType\",\n props.formEncType,\n props,\n null\n ),\n setProp(\n domElement,\n tag,\n \"formMethod\",\n props.formMethod,\n props,\n null\n ),\n setProp(\n domElement,\n tag,\n \"formTarget\",\n props.formTarget,\n props,\n null\n ))\n : (setProp(domElement, tag, \"encType\", props.encType, props, null),\n setProp(domElement, tag, \"method\", props.method, props, null),\n setProp(domElement, tag, \"target\", props.target, props, null)));\n if (\n null == value ||\n \"symbol\" === typeof value ||\n \"boolean\" === typeof value\n ) {\n domElement.removeAttribute(key);\n break;\n }\n value = sanitizeURL(\"\" + value);\n domElement.setAttribute(key, value);\n break;\n case \"onClick\":\n null != value && (domElement.onclick = noop$1);\n return;\n case \"onScroll\":\n null != value && listenToNonDelegatedEvent(\"scroll\", domElement);\n return;\n case \"onScrollEnd\":\n null != value && listenToNonDelegatedEvent(\"scrollend\", domElement);\n return;\n case \"dangerouslySetInnerHTML\":\n if (null != value) {\n if (\"object\" !== typeof value || !(\"__html\" in value))\n throw Error(formatProdErrorMessage(61));\n key = value.__html;\n if (null != key) {\n if (null != props.children) throw Error(formatProdErrorMessage(60));\n domElement.innerHTML = key;\n }\n }\n break;\n case \"multiple\":\n domElement.multiple =\n value && \"function\" !== typeof value && \"symbol\" !== typeof value;\n break;\n case \"muted\":\n domElement.muted =\n value && \"function\" !== typeof value && \"symbol\" !== typeof value;\n break;\n case \"suppressContentEditableWarning\":\n case \"suppressHydrationWarning\":\n case \"defaultValue\":\n case \"defaultChecked\":\n case \"innerHTML\":\n case \"ref\":\n break;\n case \"autoFocus\":\n break;\n case \"xlinkHref\":\n if (\n null == value ||\n \"function\" === typeof value ||\n \"boolean\" === typeof value ||\n \"symbol\" === typeof value\n ) {\n domElement.removeAttribute(\"xlink:href\");\n break;\n }\n key = sanitizeURL(\"\" + value);\n domElement.setAttributeNS(\n \"http://www.w3.org/1999/xlink\",\n \"xlink:href\",\n key\n );\n break;\n case \"contentEditable\":\n case \"spellCheck\":\n case \"draggable\":\n case \"value\":\n case \"autoReverse\":\n case \"externalResourcesRequired\":\n case \"focusable\":\n case \"preserveAlpha\":\n null != value && \"function\" !== typeof value && \"symbol\" !== typeof value\n ? domElement.setAttribute(key, \"\" + value)\n : domElement.removeAttribute(key);\n break;\n case \"inert\":\n case \"allowFullScreen\":\n case \"async\":\n case \"autoPlay\":\n case \"controls\":\n case \"default\":\n case \"defer\":\n case \"disabled\":\n case \"disablePictureInPicture\":\n case \"disableRemotePlayback\":\n case \"formNoValidate\":\n case \"hidden\":\n case \"loop\":\n case \"noModule\":\n case \"noValidate\":\n case \"open\":\n case \"playsInline\":\n case \"readOnly\":\n case \"required\":\n case \"reversed\":\n case \"scoped\":\n case \"seamless\":\n case \"itemScope\":\n value && \"function\" !== typeof value && \"symbol\" !== typeof value\n ? domElement.setAttribute(key, \"\")\n : domElement.removeAttribute(key);\n break;\n case \"capture\":\n case \"download\":\n !0 === value\n ? domElement.setAttribute(key, \"\")\n : !1 !== value &&\n null != value &&\n \"function\" !== typeof value &&\n \"symbol\" !== typeof value\n ? domElement.setAttribute(key, value)\n : domElement.removeAttribute(key);\n break;\n case \"cols\":\n case \"rows\":\n case \"size\":\n case \"span\":\n null != value &&\n \"function\" !== typeof value &&\n \"symbol\" !== typeof value &&\n !isNaN(value) &&\n 1 <= value\n ? domElement.setAttribute(key, value)\n : domElement.removeAttribute(key);\n break;\n case \"rowSpan\":\n case \"start\":\n null == value ||\n \"function\" === typeof value ||\n \"symbol\" === typeof value ||\n isNaN(value)\n ? domElement.removeAttribute(key)\n : domElement.setAttribute(key, value);\n break;\n case \"popover\":\n listenToNonDelegatedEvent(\"beforetoggle\", domElement);\n listenToNonDelegatedEvent(\"toggle\", domElement);\n setValueForAttribute(domElement, \"popover\", value);\n break;\n case \"xlinkActuate\":\n setValueForNamespacedAttribute(\n domElement,\n \"http://www.w3.org/1999/xlink\",\n \"xlink:actuate\",\n value\n );\n break;\n case \"xlinkArcrole\":\n setValueForNamespacedAttribute(\n domElement,\n \"http://www.w3.org/1999/xlink\",\n \"xlink:arcrole\",\n value\n );\n break;\n case \"xlinkRole\":\n setValueForNamespacedAttribute(\n domElement,\n \"http://www.w3.org/1999/xlink\",\n \"xlink:role\",\n value\n );\n break;\n case \"xlinkShow\":\n setValueForNamespacedAttribute(\n domElement,\n \"http://www.w3.org/1999/xlink\",\n \"xlink:show\",\n value\n );\n break;\n case \"xlinkTitle\":\n setValueForNamespacedAttribute(\n domElement,\n \"http://www.w3.org/1999/xlink\",\n \"xlink:title\",\n value\n );\n break;\n case \"xlinkType\":\n setValueForNamespacedAttribute(\n domElement,\n \"http://www.w3.org/1999/xlink\",\n \"xlink:type\",\n value\n );\n break;\n case \"xmlBase\":\n setValueForNamespacedAttribute(\n domElement,\n \"http://www.w3.org/XML/1998/namespace\",\n \"xml:base\",\n value\n );\n break;\n case \"xmlLang\":\n setValueForNamespacedAttribute(\n domElement,\n \"http://www.w3.org/XML/1998/namespace\",\n \"xml:lang\",\n value\n );\n break;\n case \"xmlSpace\":\n setValueForNamespacedAttribute(\n domElement,\n \"http://www.w3.org/XML/1998/namespace\",\n \"xml:space\",\n value\n );\n break;\n case \"is\":\n setValueForAttribute(domElement, \"is\", value);\n break;\n case \"innerText\":\n case \"textContent\":\n return;\n default:\n if (\n !(2 < key.length) ||\n (\"o\" !== key[0] && \"O\" !== key[0]) ||\n (\"n\" !== key[1] && \"N\" !== key[1])\n )\n (key = aliases.get(key) || key),\n setValueForAttribute(domElement, key, value);\n else return;\n }\n viewTransitionMutationContext = !0;\n}\nfunction setPropOnCustomElement(domElement, tag, key, value, props, prevValue) {\n switch (key) {\n case \"style\":\n setValueForStyles(domElement, value, prevValue);\n return;\n case \"dangerouslySetInnerHTML\":\n if (null != value) {\n if (\"object\" !== typeof value || !(\"__html\" in value))\n throw Error(formatProdErrorMessage(61));\n key = value.__html;\n if (null != key) {\n if (null != props.children) throw Error(formatProdErrorMessage(60));\n domElement.innerHTML = key;\n }\n }\n break;\n case \"children\":\n if (\"string\" === typeof value) setTextContent(domElement, value);\n else if (\"number\" === typeof value || \"bigint\" === typeof value)\n setTextContent(domElement, \"\" + value);\n else return;\n break;\n case \"onScroll\":\n null != value && listenToNonDelegatedEvent(\"scroll\", domElement);\n return;\n case \"onScrollEnd\":\n null != value && listenToNonDelegatedEvent(\"scrollend\", domElement);\n return;\n case \"onClick\":\n null != value && (domElement.onclick = noop$1);\n return;\n case \"suppressContentEditableWarning\":\n case \"suppressHydrationWarning\":\n case \"innerHTML\":\n case \"ref\":\n return;\n case \"innerText\":\n case \"textContent\":\n return;\n default:\n if (!registrationNameDependencies.hasOwnProperty(key))\n a: {\n if (\n \"o\" === key[0] &&\n \"n\" === key[1] &&\n ((props = key.endsWith(\"Capture\")),\n (tag = key.slice(2, props ? key.length - 7 : void 0)),\n (prevValue = domElement[internalPropsKey] || null),\n (prevValue = null != prevValue ? prevValue[key] : null),\n \"function\" === typeof prevValue &&\n domElement.removeEventListener(tag, prevValue, props),\n \"function\" === typeof value)\n ) {\n \"function\" !== typeof prevValue &&\n null !== prevValue &&\n (key in domElement\n ? (domElement[key] = null)\n : domElement.hasAttribute(key) &&\n domElement.removeAttribute(key));\n domElement.addEventListener(tag, value, props);\n break a;\n }\n viewTransitionMutationContext = !0;\n key in domElement\n ? (domElement[key] = value)\n : !0 === value\n ? domElement.setAttribute(key, \"\")\n : setValueForAttribute(domElement, key, value);\n }\n return;\n }\n viewTransitionMutationContext = !0;\n}\nfunction setInitialProperties(domElement, tag, props) {\n switch (tag) {\n case \"div\":\n case \"span\":\n case \"svg\":\n case \"path\":\n case \"a\":\n case \"g\":\n case \"p\":\n case \"li\":\n break;\n case \"img\":\n listenToNonDelegatedEvent(\"error\", domElement);\n listenToNonDelegatedEvent(\"load\", domElement);\n var hasSrc = !1,\n hasSrcSet = !1,\n propKey;\n for (propKey in props)\n if (props.hasOwnProperty(propKey)) {\n var propValue = props[propKey];\n if (null != propValue)\n switch (propKey) {\n case \"src\":\n hasSrc = !0;\n break;\n case \"srcSet\":\n hasSrcSet = !0;\n break;\n case \"children\":\n case \"dangerouslySetInnerHTML\":\n throw Error(formatProdErrorMessage(137, tag));\n default:\n setProp(domElement, tag, propKey, propValue, props, null);\n }\n }\n hasSrcSet &&\n setProp(domElement, tag, \"srcSet\", props.srcSet, props, null);\n hasSrc && setProp(domElement, tag, \"src\", props.src, props, null);\n return;\n case \"input\":\n listenToNonDelegatedEvent(\"invalid\", domElement);\n var defaultValue = (propKey = propValue = hasSrcSet = null),\n checked = null,\n defaultChecked = null;\n for (hasSrc in props)\n if (props.hasOwnProperty(hasSrc)) {\n var propValue$197 = props[hasSrc];\n if (null != propValue$197)\n switch (hasSrc) {\n case \"name\":\n hasSrcSet = propValue$197;\n break;\n case \"type\":\n propValue = propValue$197;\n break;\n case \"checked\":\n checked = propValue$197;\n break;\n case \"defaultChecked\":\n defaultChecked = propValue$197;\n break;\n case \"value\":\n propKey = propValue$197;\n break;\n case \"defaultValue\":\n defaultValue = propValue$197;\n break;\n case \"children\":\n case \"dangerouslySetInnerHTML\":\n if (null != propValue$197)\n throw Error(formatProdErrorMessage(137, tag));\n break;\n default:\n setProp(domElement, tag, hasSrc, propValue$197, props, null);\n }\n }\n initInput(\n domElement,\n propKey,\n defaultValue,\n checked,\n defaultChecked,\n propValue,\n hasSrcSet,\n !1\n );\n return;\n case \"select\":\n listenToNonDelegatedEvent(\"invalid\", domElement);\n hasSrc = propValue = propKey = null;\n for (hasSrcSet in props)\n if (\n props.hasOwnProperty(hasSrcSet) &&\n ((defaultValue = props[hasSrcSet]), null != defaultValue)\n )\n switch (hasSrcSet) {\n case \"value\":\n propKey = defaultValue;\n break;\n case \"defaultValue\":\n propValue = defaultValue;\n break;\n case \"multiple\":\n hasSrc = defaultValue;\n default:\n setProp(domElement, tag, hasSrcSet, defaultValue, props, null);\n }\n tag = propKey;\n props = propValue;\n domElement.multiple = !!hasSrc;\n null != tag\n ? updateOptions(domElement, !!hasSrc, tag, !1)\n : null != props && updateOptions(domElement, !!hasSrc, props, !0);\n return;\n case \"textarea\":\n listenToNonDelegatedEvent(\"invalid\", domElement);\n propKey = hasSrcSet = hasSrc = null;\n for (propValue in props)\n if (\n props.hasOwnProperty(propValue) &&\n ((defaultValue = props[propValue]), null != defaultValue)\n )\n switch (propValue) {\n case \"value\":\n hasSrc = defaultValue;\n break;\n case \"defaultValue\":\n hasSrcSet = defaultValue;\n break;\n case \"children\":\n propKey = defaultValue;\n break;\n case \"dangerouslySetInnerHTML\":\n if (null != defaultValue) throw Error(formatProdErrorMessage(91));\n break;\n default:\n setProp(domElement, tag, propValue, defaultValue, props, null);\n }\n initTextarea(domElement, hasSrc, hasSrcSet, propKey);\n return;\n case \"option\":\n for (checked in props)\n if (\n props.hasOwnProperty(checked) &&\n ((hasSrc = props[checked]), null != hasSrc)\n )\n switch (checked) {\n case \"selected\":\n domElement.selected =\n hasSrc &&\n \"function\" !== typeof hasSrc &&\n \"symbol\" !== typeof hasSrc;\n break;\n default:\n setProp(domElement, tag, checked, hasSrc, props, null);\n }\n return;\n case \"dialog\":\n listenToNonDelegatedEvent(\"beforetoggle\", domElement);\n listenToNonDelegatedEvent(\"toggle\", domElement);\n listenToNonDelegatedEvent(\"cancel\", domElement);\n listenToNonDelegatedEvent(\"close\", domElement);\n break;\n case \"iframe\":\n case \"object\":\n listenToNonDelegatedEvent(\"load\", domElement);\n break;\n case \"video\":\n case \"audio\":\n for (hasSrc = 0; hasSrc < mediaEventTypes.length; hasSrc++)\n listenToNonDelegatedEvent(mediaEventTypes[hasSrc], domElement);\n break;\n case \"image\":\n listenToNonDelegatedEvent(\"error\", domElement);\n listenToNonDelegatedEvent(\"load\", domElement);\n break;\n case \"details\":\n listenToNonDelegatedEvent(\"toggle\", domElement);\n break;\n case \"embed\":\n case \"source\":\n case \"link\":\n listenToNonDelegatedEvent(\"error\", domElement),\n listenToNonDelegatedEvent(\"load\", domElement);\n case \"area\":\n case \"base\":\n case \"br\":\n case \"col\":\n case \"hr\":\n case \"keygen\":\n case \"meta\":\n case \"param\":\n case \"track\":\n case \"wbr\":\n case \"menuitem\":\n for (defaultChecked in props)\n if (\n props.hasOwnProperty(defaultChecked) &&\n ((hasSrc = props[defaultChecked]), null != hasSrc)\n )\n switch (defaultChecked) {\n case \"children\":\n case \"dangerouslySetInnerHTML\":\n throw Error(formatProdErrorMessage(137, tag));\n default:\n setProp(domElement, tag, defaultChecked, hasSrc, props, null);\n }\n return;\n default:\n if (isCustomElement(tag)) {\n for (propValue$197 in props)\n props.hasOwnProperty(propValue$197) &&\n ((hasSrc = props[propValue$197]),\n void 0 !== hasSrc &&\n setPropOnCustomElement(\n domElement,\n tag,\n propValue$197,\n hasSrc,\n props,\n void 0\n ));\n return;\n }\n }\n for (defaultValue in props)\n props.hasOwnProperty(defaultValue) &&\n ((hasSrc = props[defaultValue]),\n null != hasSrc &&\n setProp(domElement, tag, defaultValue, hasSrc, props, null));\n}\nfunction updateProperties(domElement, tag, lastProps, nextProps) {\n switch (tag) {\n case \"div\":\n case \"span\":\n case \"svg\":\n case \"path\":\n case \"a\":\n case \"g\":\n case \"p\":\n case \"li\":\n break;\n case \"input\":\n var name = null,\n type = null,\n value = null,\n defaultValue = null,\n lastDefaultValue = null,\n checked = null,\n defaultChecked = null;\n for (propKey in lastProps) {\n var lastProp = lastProps[propKey];\n if (lastProps.hasOwnProperty(propKey) && null != lastProp)\n switch (propKey) {\n case \"checked\":\n break;\n case \"value\":\n break;\n case \"defaultValue\":\n lastDefaultValue = lastProp;\n default:\n nextProps.hasOwnProperty(propKey) ||\n setProp(domElement, tag, propKey, null, nextProps, lastProp);\n }\n }\n for (var propKey$214 in nextProps) {\n var propKey = nextProps[propKey$214];\n lastProp = lastProps[propKey$214];\n if (\n nextProps.hasOwnProperty(propKey$214) &&\n (null != propKey || null != lastProp)\n )\n switch (propKey$214) {\n case \"type\":\n propKey !== lastProp && (viewTransitionMutationContext = !0);\n type = propKey;\n break;\n case \"name\":\n propKey !== lastProp && (viewTransitionMutationContext = !0);\n name = propKey;\n break;\n case \"checked\":\n propKey !== lastProp && (viewTransitionMutationContext = !0);\n checked = propKey;\n break;\n case \"defaultChecked\":\n propKey !== lastProp && (viewTransitionMutationContext = !0);\n defaultChecked = propKey;\n break;\n case \"value\":\n propKey !== lastProp && (viewTransitionMutationContext = !0);\n value = propKey;\n break;\n case \"defaultValue\":\n propKey !== lastProp && (viewTransitionMutationContext = !0);\n defaultValue = propKey;\n break;\n case \"children\":\n case \"dangerouslySetInnerHTML\":\n if (null != propKey)\n throw Error(formatProdErrorMessage(137, tag));\n break;\n default:\n propKey !== lastProp &&\n setProp(\n domElement,\n tag,\n propKey$214,\n propKey,\n nextProps,\n lastProp\n );\n }\n }\n updateInput(\n domElement,\n value,\n defaultValue,\n lastDefaultValue,\n checked,\n defaultChecked,\n type,\n name\n );\n return;\n case \"select\":\n propKey = value = defaultValue = propKey$214 = null;\n for (type in lastProps)\n if (\n ((lastDefaultValue = lastProps[type]),\n lastProps.hasOwnProperty(type) && null != lastDefaultValue)\n )\n switch (type) {\n case \"value\":\n break;\n case \"multiple\":\n propKey = lastDefaultValue;\n default:\n nextProps.hasOwnProperty(type) ||\n setProp(\n domElement,\n tag,\n type,\n null,\n nextProps,\n lastDefaultValue\n );\n }\n for (name in nextProps)\n if (\n ((type = nextProps[name]),\n (lastDefaultValue = lastProps[name]),\n nextProps.hasOwnProperty(name) &&\n (null != type || null != lastDefaultValue))\n )\n switch (name) {\n case \"value\":\n type !== lastDefaultValue && (viewTransitionMutationContext = !0);\n propKey$214 = type;\n break;\n case \"defaultValue\":\n type !== lastDefaultValue && (viewTransitionMutationContext = !0);\n defaultValue = type;\n break;\n case \"multiple\":\n type !== lastDefaultValue && (viewTransitionMutationContext = !0),\n (value = type);\n default:\n type !== lastDefaultValue &&\n setProp(\n domElement,\n tag,\n name,\n type,\n nextProps,\n lastDefaultValue\n );\n }\n tag = defaultValue;\n lastProps = value;\n nextProps = propKey;\n null != propKey$214\n ? updateOptions(domElement, !!lastProps, propKey$214, !1)\n : !!nextProps !== !!lastProps &&\n (null != tag\n ? updateOptions(domElement, !!lastProps, tag, !0)\n : updateOptions(domElement, !!lastProps, lastProps ? [] : \"\", !1));\n return;\n case \"textarea\":\n propKey = propKey$214 = null;\n for (defaultValue in lastProps)\n if (\n ((name = lastProps[defaultValue]),\n lastProps.hasOwnProperty(defaultValue) &&\n null != name &&\n !nextProps.hasOwnProperty(defaultValue))\n )\n switch (defaultValue) {\n case \"value\":\n break;\n case \"children\":\n break;\n default:\n setProp(domElement, tag, defaultValue, null, nextProps, name);\n }\n for (value in nextProps)\n if (\n ((name = nextProps[value]),\n (type = lastProps[value]),\n nextProps.hasOwnProperty(value) && (null != name || null != type))\n )\n switch (value) {\n case \"value\":\n name !== type && (viewTransitionMutationContext = !0);\n propKey$214 = name;\n break;\n case \"defaultValue\":\n name !== type && (viewTransitionMutationContext = !0);\n propKey = name;\n break;\n case \"children\":\n break;\n case \"dangerouslySetInnerHTML\":\n if (null != name) throw Error(formatProdErrorMessage(91));\n break;\n default:\n name !== type &&\n setProp(domElement, tag, value, name, nextProps, type);\n }\n updateTextarea(domElement, propKey$214, propKey);\n return;\n case \"option\":\n for (var propKey$230 in lastProps)\n if (\n ((propKey$214 = lastProps[propKey$230]),\n lastProps.hasOwnProperty(propKey$230) &&\n null != propKey$214 &&\n !nextProps.hasOwnProperty(propKey$230))\n )\n switch (propKey$230) {\n case \"selected\":\n domElement.selected = !1;\n break;\n default:\n setProp(\n domElement,\n tag,\n propKey$230,\n null,\n nextProps,\n propKey$214\n );\n }\n for (lastDefaultValue in nextProps)\n if (\n ((propKey$214 = nextProps[lastDefaultValue]),\n (propKey = lastProps[lastDefaultValue]),\n nextProps.hasOwnProperty(lastDefaultValue) &&\n propKey$214 !== propKey &&\n (null != propKey$214 || null != propKey))\n )\n switch (lastDefaultValue) {\n case \"selected\":\n propKey$214 !== propKey && (viewTransitionMutationContext = !0);\n domElement.selected =\n propKey$214 &&\n \"function\" !== typeof propKey$214 &&\n \"symbol\" !== typeof propKey$214;\n break;\n default:\n setProp(\n domElement,\n tag,\n lastDefaultValue,\n propKey$214,\n nextProps,\n propKey\n );\n }\n return;\n case \"img\":\n case \"link\":\n case \"area\":\n case \"base\":\n case \"br\":\n case \"col\":\n case \"embed\":\n case \"hr\":\n case \"keygen\":\n case \"meta\":\n case \"param\":\n case \"source\":\n case \"track\":\n case \"wbr\":\n case \"menuitem\":\n for (var propKey$235 in lastProps)\n (propKey$214 = lastProps[propKey$235]),\n lastProps.hasOwnProperty(propKey$235) &&\n null != propKey$214 &&\n !nextProps.hasOwnProperty(propKey$235) &&\n setProp(domElement, tag, propKey$235, null, nextProps, propKey$214);\n for (checked in nextProps)\n if (\n ((propKey$214 = nextProps[checked]),\n (propKey = lastProps[checked]),\n nextProps.hasOwnProperty(checked) &&\n propKey$214 !== propKey &&\n (null != propKey$214 || null != propKey))\n )\n switch (checked) {\n case \"children\":\n case \"dangerouslySetInnerHTML\":\n if (null != propKey$214)\n throw Error(formatProdErrorMessage(137, tag));\n break;\n default:\n setProp(\n domElement,\n tag,\n checked,\n propKey$214,\n nextProps,\n propKey\n );\n }\n return;\n default:\n if (isCustomElement(tag)) {\n for (var propKey$240 in lastProps)\n (propKey$214 = lastProps[propKey$240]),\n lastProps.hasOwnProperty(propKey$240) &&\n void 0 !== propKey$214 &&\n !nextProps.hasOwnProperty(propKey$240) &&\n setPropOnCustomElement(\n domElement,\n tag,\n propKey$240,\n void 0,\n nextProps,\n propKey$214\n );\n for (defaultChecked in nextProps)\n (propKey$214 = nextProps[defaultChecked]),\n (propKey = lastProps[defaultChecked]),\n !nextProps.hasOwnProperty(defaultChecked) ||\n propKey$214 === propKey ||\n (void 0 === propKey$214 && void 0 === propKey) ||\n setPropOnCustomElement(\n domElement,\n tag,\n defaultChecked,\n propKey$214,\n nextProps,\n propKey\n );\n return;\n }\n }\n for (var propKey$245 in lastProps)\n (propKey$214 = lastProps[propKey$245]),\n lastProps.hasOwnProperty(propKey$245) &&\n null != propKey$214 &&\n !nextProps.hasOwnProperty(propKey$245) &&\n setProp(domElement, tag, propKey$245, null, nextProps, propKey$214);\n for (lastProp in nextProps)\n (propKey$214 = nextProps[lastProp]),\n (propKey = lastProps[lastProp]),\n !nextProps.hasOwnProperty(lastProp) ||\n propKey$214 === propKey ||\n (null == propKey$214 && null == propKey) ||\n setProp(domElement, tag, lastProp, propKey$214, nextProps, propKey);\n}\nfunction isLikelyStaticResource(initiatorType) {\n switch (initiatorType) {\n case \"css\":\n case \"script\":\n case \"font\":\n case \"img\":\n case \"image\":\n case \"input\":\n case \"link\":\n return !0;\n default:\n return !1;\n }\n}\nfunction estimateBandwidth() {\n if (\"function\" === typeof performance.getEntriesByType) {\n for (\n var count = 0,\n bits = 0,\n resourceEntries = performance.getEntriesByType(\"resource\"),\n i = 0;\n i < resourceEntries.length;\n i++\n ) {\n var entry = resourceEntries[i],\n transferSize = entry.transferSize,\n initiatorType = entry.initiatorType,\n duration = entry.duration;\n if (transferSize && duration && isLikelyStaticResource(initiatorType)) {\n initiatorType = 0;\n duration = entry.responseEnd;\n for (i += 1; i < resourceEntries.length; i++) {\n var overlapEntry = resourceEntries[i],\n overlapStartTime = overlapEntry.startTime;\n if (overlapStartTime > duration) break;\n var overlapTransferSize = overlapEntry.transferSize,\n overlapInitiatorType = overlapEntry.initiatorType;\n overlapTransferSize &&\n isLikelyStaticResource(overlapInitiatorType) &&\n ((overlapEntry = overlapEntry.responseEnd),\n (initiatorType +=\n overlapTransferSize *\n (overlapEntry < duration\n ? 1\n : (duration - overlapStartTime) /\n (overlapEntry - overlapStartTime))));\n }\n --i;\n bits += (8 * (transferSize + initiatorType)) / (entry.duration / 1e3);\n count++;\n if (10 < count) break;\n }\n }\n if (0 < count) return bits / count / 1e6;\n }\n return navigator.connection &&\n ((count = navigator.connection.downlink), \"number\" === typeof count)\n ? count\n : 5;\n}\nvar eventsEnabled = null,\n selectionInformation = null;\nfunction getOwnerDocumentFromRootContainer(rootContainerElement) {\n return 9 === rootContainerElement.nodeType\n ? rootContainerElement\n : rootContainerElement.ownerDocument;\n}\nfunction getOwnHostContext(namespaceURI) {\n switch (namespaceURI) {\n case \"http://www.w3.org/2000/svg\":\n return 1;\n case \"http://www.w3.org/1998/Math/MathML\":\n return 2;\n default:\n return 0;\n }\n}\nfunction getChildHostContextProd(parentNamespace, type) {\n if (0 === parentNamespace)\n switch (type) {\n case \"svg\":\n return 1;\n case \"math\":\n return 2;\n default:\n return 0;\n }\n return 1 === parentNamespace && \"foreignObject\" === type\n ? 0\n : parentNamespace;\n}\nfunction shouldSetTextContent(type, props) {\n return (\n \"textarea\" === type ||\n \"noscript\" === type ||\n \"string\" === typeof props.children ||\n \"number\" === typeof props.children ||\n \"bigint\" === typeof props.children ||\n (\"object\" === typeof props.dangerouslySetInnerHTML &&\n null !== props.dangerouslySetInnerHTML &&\n null != props.dangerouslySetInnerHTML.__html)\n );\n}\nvar currentPopstateTransitionEvent = null;\nfunction shouldAttemptEagerTransition() {\n var event = window.event;\n if (event && \"popstate\" === event.type) {\n if (event === currentPopstateTransitionEvent) return !1;\n currentPopstateTransitionEvent = event;\n return !0;\n }\n currentPopstateTransitionEvent = null;\n return !1;\n}\nvar scheduleTimeout = \"function\" === typeof setTimeout ? setTimeout : void 0,\n cancelTimeout = \"function\" === typeof clearTimeout ? clearTimeout : void 0,\n localPromise = \"function\" === typeof Promise ? Promise : void 0,\n scheduleMicrotask =\n \"function\" === typeof queueMicrotask\n ? queueMicrotask\n : \"undefined\" !== typeof localPromise\n ? function (callback) {\n return localPromise\n .resolve(null)\n .then(callback)\n .catch(handleErrorInNextTick);\n }\n : scheduleTimeout;\nfunction handleErrorInNextTick(error) {\n setTimeout(function () {\n throw error;\n });\n}\nfunction isSingletonScope(type) {\n return \"head\" === type;\n}\nfunction clearHydrationBoundary(parentInstance, hydrationInstance) {\n var node = hydrationInstance,\n depth = 0;\n do {\n var nextNode = node.nextSibling;\n parentInstance.removeChild(node);\n if (nextNode && 8 === nextNode.nodeType)\n if (((node = nextNode.data), \"/$\" === node || \"/&\" === node)) {\n if (0 === depth) {\n parentInstance.removeChild(nextNode);\n retryIfBlockedOn(hydrationInstance);\n return;\n }\n depth--;\n } else if (\n \"$\" === node ||\n \"$?\" === node ||\n \"$~\" === node ||\n \"$!\" === node ||\n \"&\" === node\n )\n depth++;\n else if (\"html\" === node)\n releaseSingletonInstance(parentInstance.ownerDocument.documentElement);\n else if (\"head\" === node) {\n node = parentInstance.ownerDocument.head;\n releaseSingletonInstance(node);\n for (var node$jscomp$0 = node.firstChild; node$jscomp$0; ) {\n var nextNode$jscomp$0 = node$jscomp$0.nextSibling,\n nodeName = node$jscomp$0.nodeName;\n node$jscomp$0[internalHoistableMarker] ||\n \"SCRIPT\" === nodeName ||\n \"STYLE\" === nodeName ||\n (\"LINK\" === nodeName &&\n \"stylesheet\" === node$jscomp$0.rel.toLowerCase()) ||\n node.removeChild(node$jscomp$0);\n node$jscomp$0 = nextNode$jscomp$0;\n }\n } else\n \"body\" === node &&\n releaseSingletonInstance(parentInstance.ownerDocument.body);\n node = nextNode;\n } while (node);\n retryIfBlockedOn(hydrationInstance);\n}\nfunction hideOrUnhideDehydratedBoundary(suspenseInstance, isHidden) {\n var node = suspenseInstance;\n suspenseInstance = 0;\n do {\n var nextNode = node.nextSibling;\n 1 === node.nodeType\n ? isHidden\n ? ((node._stashedDisplay = node.style.display),\n (node.style.display = \"none\"))\n : ((node.style.display = node._stashedDisplay || \"\"),\n \"\" === node.getAttribute(\"style\") && node.removeAttribute(\"style\"))\n : 3 === node.nodeType &&\n (isHidden\n ? ((node._stashedText = node.nodeValue), (node.nodeValue = \"\"))\n : (node.nodeValue = node._stashedText || \"\"));\n if (nextNode && 8 === nextNode.nodeType)\n if (((node = nextNode.data), \"/$\" === node))\n if (0 === suspenseInstance) break;\n else suspenseInstance--;\n else\n (\"$\" !== node && \"$?\" !== node && \"$~\" !== node && \"$!\" !== node) ||\n suspenseInstance++;\n node = nextNode;\n } while (node);\n}\nfunction applyViewTransitionName(instance, name, className) {\n name = CSS.escape(name) !== name ? \"r-\" + btoa(name).replace(/=/g, \"\") : name;\n instance.style.viewTransitionName = name;\n null != className && (instance.style.viewTransitionClass = className);\n className = getComputedStyle(instance);\n if (\"inline\" === className.display) {\n name = instance.getClientRects();\n if (1 === name.length) var JSCompiler_inline_result = 1;\n else\n for (var i = (JSCompiler_inline_result = 0); i < name.length; i++) {\n var rect = name[i];\n 0 < rect.width && 0 < rect.height && JSCompiler_inline_result++;\n }\n 1 === JSCompiler_inline_result &&\n ((instance = instance.style),\n (instance.display = 1 === name.length ? \"inline-block\" : \"block\"),\n (instance.marginTop = \"-\" + className.paddingTop),\n (instance.marginBottom = \"-\" + className.paddingBottom));\n }\n}\nfunction restoreViewTransitionName(instance, props) {\n instance = instance.style;\n props = props.style;\n var viewTransitionName =\n null != props\n ? props.hasOwnProperty(\"viewTransitionName\")\n ? props.viewTransitionName\n : props.hasOwnProperty(\"view-transition-name\")\n ? props[\"view-transition-name\"]\n : null\n : null;\n instance.viewTransitionName =\n null == viewTransitionName || \"boolean\" === typeof viewTransitionName\n ? \"\"\n : (\"\" + viewTransitionName).trim();\n viewTransitionName =\n null != props\n ? props.hasOwnProperty(\"viewTransitionClass\")\n ? props.viewTransitionClass\n : props.hasOwnProperty(\"view-transition-class\")\n ? props[\"view-transition-class\"]\n : null\n : null;\n instance.viewTransitionClass =\n null == viewTransitionName || \"boolean\" === typeof viewTransitionName\n ? \"\"\n : (\"\" + viewTransitionName).trim();\n \"inline-block\" === instance.display &&\n (null == props\n ? (instance.display = instance.margin = \"\")\n : ((viewTransitionName = props.display),\n (instance.display =\n null == viewTransitionName || \"boolean\" === typeof viewTransitionName\n ? \"\"\n : viewTransitionName),\n (viewTransitionName = props.margin),\n null != viewTransitionName\n ? (instance.margin = viewTransitionName)\n : ((viewTransitionName = props.hasOwnProperty(\"marginTop\")\n ? props.marginTop\n : props[\"margin-top\"]),\n (instance.marginTop =\n null == viewTransitionName ||\n \"boolean\" === typeof viewTransitionName\n ? \"\"\n : viewTransitionName),\n (props = props.hasOwnProperty(\"marginBottom\")\n ? props.marginBottom\n : props[\"margin-bottom\"]),\n (instance.marginBottom =\n null == props || \"boolean\" === typeof props ? \"\" : props))));\n}\nfunction createMeasurement(rect, computedStyle, element) {\n element = element.ownerDocument.defaultView;\n return {\n rect: rect,\n abs:\n \"absolute\" === computedStyle.position ||\n \"fixed\" === computedStyle.position,\n clip:\n \"none\" !== computedStyle.clipPath ||\n \"visible\" !== computedStyle.overflow ||\n \"none\" !== computedStyle.filter ||\n \"none\" !== computedStyle.mask ||\n \"none\" !== computedStyle.mask ||\n \"0px\" !== computedStyle.borderRadius,\n view:\n 0 <= rect.bottom &&\n 0 <= rect.right &&\n rect.top <= element.innerHeight &&\n rect.left <= element.innerWidth\n };\n}\nfunction measureInstance(instance) {\n var rect = instance.getBoundingClientRect(),\n computedStyle = getComputedStyle(instance);\n return createMeasurement(rect, computedStyle, instance);\n}\nfunction measureClonedInstance(instance) {\n var measuredRect = instance.getBoundingClientRect();\n measuredRect = new DOMRect(\n measuredRect.x + 2e4,\n measuredRect.y + 2e4,\n measuredRect.width,\n measuredRect.height\n );\n var computedStyle = getComputedStyle(instance);\n return createMeasurement(measuredRect, computedStyle, instance);\n}\nfunction forceLayout(ownerDocument) {\n return ownerDocument.documentElement.clientHeight;\n}\nfunction waitForImageToLoad(resolve) {\n this.addEventListener(\"load\", resolve);\n this.addEventListener(\"error\", resolve);\n}\nfunction startViewTransition(\n suspendedState,\n rootContainer,\n transitionTypes,\n mutationCallback,\n layoutCallback,\n afterMutationCallback,\n spawnedWorkCallback,\n passiveCallback,\n errorCallback\n) {\n var ownerDocument =\n 9 === rootContainer.nodeType ? rootContainer : rootContainer.ownerDocument;\n try {\n var transition = ownerDocument.startViewTransition({\n update: function () {\n var ownerWindow = ownerDocument.defaultView,\n pendingNavigation =\n ownerWindow.navigation && ownerWindow.navigation.transition,\n previousFontLoadingStatus = ownerDocument.fonts.status;\n mutationCallback();\n var blockingPromises = [];\n \"loaded\" === previousFontLoadingStatus &&\n (forceLayout(ownerDocument),\n \"loading\" === ownerDocument.fonts.status &&\n blockingPromises.push(ownerDocument.fonts.ready));\n previousFontLoadingStatus = blockingPromises.length;\n if (null !== suspendedState)\n for (\n var suspenseyImages = suspendedState.suspenseyImages,\n imgBytes = 0,\n i = 0;\n i < suspenseyImages.length;\n i++\n ) {\n var suspenseyImage = suspenseyImages[i];\n if (!suspenseyImage.complete) {\n var rect = suspenseyImage.getBoundingClientRect();\n if (\n 0 < rect.bottom &&\n 0 < rect.right &&\n rect.top < ownerWindow.innerHeight &&\n rect.left < ownerWindow.innerWidth\n ) {\n imgBytes += estimateImageBytes(suspenseyImage);\n if (imgBytes > estimatedBytesWithinLimit) {\n blockingPromises.length = previousFontLoadingStatus;\n break;\n }\n suspenseyImage = new Promise(\n waitForImageToLoad.bind(suspenseyImage)\n );\n blockingPromises.push(suspenseyImage);\n }\n }\n }\n if (0 < blockingPromises.length)\n return (\n (ownerWindow = Promise.race([\n Promise.all(blockingPromises),\n new Promise(function (resolve) {\n return setTimeout(resolve, 500);\n })\n ]).then(layoutCallback, layoutCallback)),\n (pendingNavigation\n ? Promise.allSettled([pendingNavigation.finished, ownerWindow])\n : ownerWindow\n ).then(afterMutationCallback, afterMutationCallback)\n );\n layoutCallback();\n if (pendingNavigation)\n return pendingNavigation.finished.then(\n afterMutationCallback,\n afterMutationCallback\n );\n afterMutationCallback();\n },\n types: transitionTypes\n });\n ownerDocument.__reactViewTransition = transition;\n var viewTransitionAnimations = [];\n transition.ready.then(\n function () {\n for (\n var animations = ownerDocument.documentElement.getAnimations({\n subtree: !0\n }),\n i = 0;\n i < animations.length;\n i++\n ) {\n var animation = animations[i],\n effect = animation.effect,\n pseudoElement = effect.pseudoElement;\n if (\n null != pseudoElement &&\n pseudoElement.startsWith(\"::view-transition\")\n ) {\n viewTransitionAnimations.push(animation);\n animation = effect.getKeyframes();\n for (\n var height = (pseudoElement = void 0),\n unchangedDimensions = !0,\n j = 0;\n j < animation.length;\n j++\n ) {\n var keyframe = animation[j],\n w = keyframe.width;\n if (void 0 === pseudoElement) pseudoElement = w;\n else if (pseudoElement !== w) {\n unchangedDimensions = !1;\n break;\n }\n w = keyframe.height;\n if (void 0 === height) height = w;\n else if (height !== w) {\n unchangedDimensions = !1;\n break;\n }\n delete keyframe.width;\n delete keyframe.height;\n \"none\" === keyframe.transform && delete keyframe.transform;\n }\n unchangedDimensions &&\n void 0 !== pseudoElement &&\n void 0 !== height &&\n (effect.setKeyframes(animation),\n (unchangedDimensions = getComputedStyle(\n effect.target,\n effect.pseudoElement\n )),\n unchangedDimensions.width !== pseudoElement ||\n unchangedDimensions.height !== height) &&\n ((unchangedDimensions = animation[0]),\n (unchangedDimensions.width = pseudoElement),\n (unchangedDimensions.height = height),\n (unchangedDimensions = animation[animation.length - 1]),\n (unchangedDimensions.width = pseudoElement),\n (unchangedDimensions.height = height),\n effect.setKeyframes(animation));\n }\n }\n spawnedWorkCallback();\n },\n function (error) {\n ownerDocument.__reactViewTransition === transition &&\n (ownerDocument.__reactViewTransition = null);\n try {\n if (\"object\" === typeof error && null !== error)\n switch (error.name) {\n case \"InvalidStateError\":\n if (\n \"View transition was skipped because document visibility state is hidden.\" ===\n error.message ||\n \"Skipping view transition because document visibility state has become hidden.\" ===\n error.message ||\n \"Skipping view transition because viewport size changed.\" ===\n error.message ||\n \"Transition was aborted because of invalid state\" ===\n error.message\n )\n error = null;\n }\n null !== error && errorCallback(error);\n } finally {\n mutationCallback(), layoutCallback(), spawnedWorkCallback();\n }\n }\n );\n transition.finished.finally(function () {\n for (var i = 0; i < viewTransitionAnimations.length; i++)\n viewTransitionAnimations[i].cancel();\n ownerDocument.__reactViewTransition === transition &&\n (ownerDocument.__reactViewTransition = null);\n passiveCallback();\n });\n return transition;\n } catch (x) {\n return mutationCallback(), layoutCallback(), spawnedWorkCallback(), null;\n }\n}\nfunction ViewTransitionPseudoElement(pseudo, name) {\n this._scope = document.documentElement;\n this._selector = \"::view-transition-\" + pseudo + \"(\" + name + \")\";\n}\nViewTransitionPseudoElement.prototype.animate = function (keyframes, options) {\n options =\n \"number\" === typeof options ? { duration: options } : assign({}, options);\n options.pseudoElement = this._selector;\n return this._scope.animate(keyframes, options);\n};\nViewTransitionPseudoElement.prototype.getAnimations = function () {\n for (\n var scope = this._scope,\n selector = this._selector,\n animations = scope.getAnimations({ subtree: !0 }),\n result = [],\n i = 0;\n i < animations.length;\n i++\n ) {\n var effect = animations[i].effect;\n null !== effect &&\n effect.target === scope &&\n effect.pseudoElement === selector &&\n result.push(animations[i]);\n }\n return result;\n};\nViewTransitionPseudoElement.prototype.getComputedStyle = function () {\n return getComputedStyle(this._scope, this._selector);\n};\nfunction createViewTransitionInstance(name) {\n return {\n name: name,\n group: new ViewTransitionPseudoElement(\"group\", name),\n imagePair: new ViewTransitionPseudoElement(\"image-pair\", name),\n old: new ViewTransitionPseudoElement(\"old\", name),\n new: new ViewTransitionPseudoElement(\"new\", name)\n };\n}\nfunction FragmentInstance(fragmentFiber) {\n this._fragmentFiber = fragmentFiber;\n this._observers = this._eventListeners = null;\n}\nFragmentInstance.prototype.addEventListener = function (\n type,\n listener,\n optionsOrUseCapture\n) {\n null === this._eventListeners && (this._eventListeners = []);\n var listeners = this._eventListeners;\n -1 === indexOfEventListener(listeners, type, listener, optionsOrUseCapture) &&\n (listeners.push({\n type: type,\n listener: listener,\n optionsOrUseCapture: optionsOrUseCapture\n }),\n traverseVisibleHostChildren(\n this._fragmentFiber.child,\n !1,\n addEventListenerToChild,\n type,\n listener,\n optionsOrUseCapture\n ));\n this._eventListeners = listeners;\n};\nfunction addEventListenerToChild(child, type, listener, optionsOrUseCapture) {\n getInstanceFromHostFiber(child).addEventListener(\n type,\n listener,\n optionsOrUseCapture\n );\n return !1;\n}\nFragmentInstance.prototype.removeEventListener = function (\n type,\n listener,\n optionsOrUseCapture\n) {\n var listeners = this._eventListeners;\n null !== listeners &&\n \"undefined\" !== typeof listeners &&\n 0 < listeners.length &&\n (traverseVisibleHostChildren(\n this._fragmentFiber.child,\n !1,\n removeEventListenerFromChild,\n type,\n listener,\n optionsOrUseCapture\n ),\n (type = indexOfEventListener(\n listeners,\n type,\n listener,\n optionsOrUseCapture\n )),\n null !== this._eventListeners && this._eventListeners.splice(type, 1));\n};\nfunction removeEventListenerFromChild(\n child,\n type,\n listener,\n optionsOrUseCapture\n) {\n getInstanceFromHostFiber(child).removeEventListener(\n type,\n listener,\n optionsOrUseCapture\n );\n return !1;\n}\nfunction normalizeListenerOptions(opts) {\n return null == opts\n ? \"0\"\n : \"boolean\" === typeof opts\n ? \"c=\" + (opts ? \"1\" : \"0\")\n : \"c=\" +\n (opts.capture ? \"1\" : \"0\") +\n \"&o=\" +\n (opts.once ? \"1\" : \"0\") +\n \"&p=\" +\n (opts.passive ? \"1\" : \"0\");\n}\nfunction indexOfEventListener(\n eventListeners,\n type,\n listener,\n optionsOrUseCapture\n) {\n for (var i = 0; i < eventListeners.length; i++) {\n var item = eventListeners[i];\n if (\n item.type === type &&\n item.listener === listener &&\n normalizeListenerOptions(item.optionsOrUseCapture) ===\n normalizeListenerOptions(optionsOrUseCapture)\n )\n return i;\n }\n return -1;\n}\nFragmentInstance.prototype.dispatchEvent = function (event) {\n var parentHostFiber = getFragmentParentHostFiber(this._fragmentFiber);\n if (null === parentHostFiber) return !0;\n parentHostFiber = getInstanceFromHostFiber(parentHostFiber);\n var eventListeners = this._eventListeners;\n if (\n (null !== eventListeners && 0 < eventListeners.length) ||\n !event.bubbles\n ) {\n var temp = document.createTextNode(\"\");\n if (eventListeners)\n for (var i = 0; i < eventListeners.length; i++) {\n var _eventListeners$i = eventListeners[i];\n temp.addEventListener(\n _eventListeners$i.type,\n _eventListeners$i.listener,\n _eventListeners$i.optionsOrUseCapture\n );\n }\n parentHostFiber.appendChild(temp);\n event = temp.dispatchEvent(event);\n if (eventListeners)\n for (i = 0; i < eventListeners.length; i++)\n (_eventListeners$i = eventListeners[i]),\n temp.removeEventListener(\n _eventListeners$i.type,\n _eventListeners$i.listener,\n _eventListeners$i.optionsOrUseCapture\n );\n parentHostFiber.removeChild(temp);\n return event;\n }\n return parentHostFiber.dispatchEvent(event);\n};\nFragmentInstance.prototype.focus = function (focusOptions) {\n traverseVisibleHostChildren(\n this._fragmentFiber.child,\n !0,\n setFocusOnFiberIfFocusable,\n focusOptions,\n void 0,\n void 0\n );\n};\nfunction setFocusOnFiberIfFocusable(fiber, focusOptions) {\n fiber = getInstanceFromHostFiber(fiber);\n return setFocusIfFocusable(fiber, focusOptions);\n}\nFragmentInstance.prototype.focusLast = function (focusOptions) {\n var children = [];\n traverseVisibleHostChildren(\n this._fragmentFiber.child,\n !0,\n collectChildren,\n children,\n void 0,\n void 0\n );\n for (\n var i = children.length - 1;\n 0 <= i && !setFocusOnFiberIfFocusable(children[i], focusOptions);\n i--\n );\n};\nfunction collectChildren(child, collection) {\n collection.push(child);\n return !1;\n}\nFragmentInstance.prototype.blur = function () {\n traverseVisibleHostChildren(\n this._fragmentFiber.child,\n !1,\n blurActiveElementWithinFragment,\n void 0,\n void 0,\n void 0\n );\n};\nfunction blurActiveElementWithinFragment(child) {\n child = getInstanceFromHostFiber(child);\n return child === child.ownerDocument.activeElement ? (child.blur(), !0) : !1;\n}\nFragmentInstance.prototype.observeUsing = function (observer) {\n null === this._observers && (this._observers = new Set());\n this._observers.add(observer);\n traverseVisibleHostChildren(\n this._fragmentFiber.child,\n !1,\n observeChild,\n observer,\n void 0,\n void 0\n );\n};\nfunction observeChild(child, observer) {\n child = getInstanceFromHostFiber(child);\n observer.observe(child);\n return !1;\n}\nFragmentInstance.prototype.unobserveUsing = function (observer) {\n var observers = this._observers;\n null !== observers &&\n observers.has(observer) &&\n (observers.delete(observer),\n traverseVisibleHostChildren(\n this._fragmentFiber.child,\n !1,\n unobserveChild,\n observer,\n void 0,\n void 0\n ));\n};\nfunction unobserveChild(child, observer) {\n child = getInstanceFromHostFiber(child);\n observer.unobserve(child);\n return !1;\n}\nFragmentInstance.prototype.getClientRects = function () {\n var rects = [];\n traverseVisibleHostChildren(\n this._fragmentFiber.child,\n !1,\n collectClientRects,\n rects,\n void 0,\n void 0\n );\n return rects;\n};\nfunction collectClientRects(child, rects) {\n child = getInstanceFromHostFiber(child);\n rects.push.apply(rects, child.getClientRects());\n return !1;\n}\nFragmentInstance.prototype.getRootNode = function (getRootNodeOptions) {\n var parentHostFiber = getFragmentParentHostFiber(this._fragmentFiber);\n return null === parentHostFiber\n ? this\n : getInstanceFromHostFiber(parentHostFiber).getRootNode(getRootNodeOptions);\n};\nFragmentInstance.prototype.compareDocumentPosition = function (otherNode) {\n var parentHostFiber = getFragmentParentHostFiber(this._fragmentFiber);\n if (null === parentHostFiber) return Node.DOCUMENT_POSITION_DISCONNECTED;\n var children = [];\n traverseVisibleHostChildren(\n this._fragmentFiber.child,\n !1,\n collectChildren,\n children,\n void 0,\n void 0\n );\n var parentHostInstance = getInstanceFromHostFiber(parentHostFiber);\n if (0 === children.length) {\n children = this._fragmentFiber;\n var parentResult = parentHostInstance.compareDocumentPosition(otherNode);\n parentHostFiber = parentResult;\n parentHostInstance === otherNode\n ? (parentHostFiber = Node.DOCUMENT_POSITION_CONTAINS)\n : parentResult & Node.DOCUMENT_POSITION_CONTAINED_BY &&\n (traverseVisibleHostChildren(children.sibling, !1, findNextSibling),\n (children = searchTarget),\n (searchTarget = null),\n null === children\n ? (parentHostFiber = Node.DOCUMENT_POSITION_PRECEDING)\n : ((otherNode =\n getInstanceFromHostFiber(children).compareDocumentPosition(\n otherNode\n )),\n (parentHostFiber =\n 0 === otherNode || otherNode & Node.DOCUMENT_POSITION_FOLLOWING\n ? Node.DOCUMENT_POSITION_FOLLOWING\n : Node.DOCUMENT_POSITION_PRECEDING)));\n return (parentHostFiber |= Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC);\n }\n parentHostFiber = getInstanceFromHostFiber(children[0]);\n parentResult = getInstanceFromHostFiber(children[children.length - 1]);\n for (\n var firstInstance = getInstanceFromHostFiber(children[0]),\n foundPortalParent = !1,\n parent = this._fragmentFiber.return;\n null !== parent;\n\n ) {\n 4 === parent.tag && (foundPortalParent = !0);\n if (3 === parent.tag || 5 === parent.tag) break;\n parent = parent.return;\n }\n firstInstance = foundPortalParent\n ? firstInstance.parentElement\n : parentHostInstance;\n if (null == firstInstance) return Node.DOCUMENT_POSITION_DISCONNECTED;\n parentHostInstance =\n firstInstance.compareDocumentPosition(parentHostFiber) &\n Node.DOCUMENT_POSITION_CONTAINED_BY;\n firstInstance =\n firstInstance.compareDocumentPosition(parentResult) &\n Node.DOCUMENT_POSITION_CONTAINED_BY;\n foundPortalParent = parentHostFiber.compareDocumentPosition(otherNode);\n var lastResult = parentResult.compareDocumentPosition(otherNode);\n parent =\n foundPortalParent & Node.DOCUMENT_POSITION_CONTAINED_BY ||\n lastResult & Node.DOCUMENT_POSITION_CONTAINED_BY;\n lastResult =\n parentHostInstance &&\n firstInstance &&\n foundPortalParent & Node.DOCUMENT_POSITION_FOLLOWING &&\n lastResult & Node.DOCUMENT_POSITION_PRECEDING;\n parentHostFiber =\n (parentHostInstance && parentHostFiber === otherNode) ||\n (firstInstance && parentResult === otherNode) ||\n parent ||\n lastResult\n ? Node.DOCUMENT_POSITION_CONTAINED_BY\n : (!parentHostInstance && parentHostFiber === otherNode) ||\n (!firstInstance && parentResult === otherNode)\n ? Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC\n : foundPortalParent;\n return parentHostFiber & Node.DOCUMENT_POSITION_DISCONNECTED ||\n parentHostFiber & Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC ||\n validateDocumentPositionWithFiberTree(\n parentHostFiber,\n this._fragmentFiber,\n children[0],\n children[children.length - 1],\n otherNode\n )\n ? parentHostFiber\n : Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC;\n};\nfunction validateDocumentPositionWithFiberTree(\n documentPosition,\n fragmentFiber,\n precedingBoundaryFiber,\n followingBoundaryFiber,\n otherNode\n) {\n var otherFiber = getClosestInstanceFromNode(otherNode);\n if (documentPosition & Node.DOCUMENT_POSITION_CONTAINED_BY) {\n if ((precedingBoundaryFiber = !!otherFiber))\n a: {\n for (; null !== otherFiber; ) {\n if (\n 7 === otherFiber.tag &&\n (otherFiber === fragmentFiber ||\n otherFiber.alternate === fragmentFiber)\n ) {\n precedingBoundaryFiber = !0;\n break a;\n }\n otherFiber = otherFiber.return;\n }\n precedingBoundaryFiber = !1;\n }\n return precedingBoundaryFiber;\n }\n if (documentPosition & Node.DOCUMENT_POSITION_CONTAINS) {\n if (null === otherFiber)\n return (\n (otherFiber = otherNode.ownerDocument),\n otherNode === otherFiber || otherNode === otherFiber.body\n );\n a: {\n otherFiber = fragmentFiber;\n for (\n fragmentFiber = getFragmentParentHostFiber(fragmentFiber);\n null !== otherFiber;\n\n ) {\n if (\n !(\n (5 !== otherFiber.tag && 3 !== otherFiber.tag) ||\n (otherFiber !== fragmentFiber &&\n otherFiber.alternate !== fragmentFiber)\n )\n ) {\n otherFiber = !0;\n break a;\n }\n otherFiber = otherFiber.return;\n }\n otherFiber = !1;\n }\n return otherFiber;\n }\n return documentPosition & Node.DOCUMENT_POSITION_PRECEDING\n ? ((fragmentFiber = !!otherFiber) &&\n !(fragmentFiber = otherFiber === precedingBoundaryFiber) &&\n ((fragmentFiber = getLowestCommonAncestor(\n precedingBoundaryFiber,\n otherFiber,\n getParentForFragmentAncestors\n )),\n null === fragmentFiber\n ? (fragmentFiber = !1)\n : (traverseVisibleHostChildren(\n fragmentFiber,\n !0,\n isFiberPrecedingCheck,\n otherFiber,\n precedingBoundaryFiber\n ),\n (otherFiber = searchTarget),\n (searchTarget = null),\n (fragmentFiber = null !== otherFiber))),\n fragmentFiber)\n : documentPosition & Node.DOCUMENT_POSITION_FOLLOWING\n ? ((fragmentFiber = !!otherFiber) &&\n !(fragmentFiber = otherFiber === followingBoundaryFiber) &&\n ((fragmentFiber = getLowestCommonAncestor(\n followingBoundaryFiber,\n otherFiber,\n getParentForFragmentAncestors\n )),\n null === fragmentFiber\n ? (fragmentFiber = !1)\n : (traverseVisibleHostChildren(\n fragmentFiber,\n !0,\n isFiberFollowingCheck,\n otherFiber,\n followingBoundaryFiber\n ),\n (otherFiber = searchTarget),\n (searchBoundary = searchTarget = null),\n (fragmentFiber = null !== otherFiber))),\n fragmentFiber)\n : !1;\n}\nFragmentInstance.prototype.scrollIntoView = function (alignToTop) {\n if (\"object\" === typeof alignToTop) throw Error(formatProdErrorMessage(566));\n var children = [];\n traverseVisibleHostChildren(\n this._fragmentFiber.child,\n !1,\n collectChildren,\n children,\n void 0,\n void 0\n );\n var resolvedAlignToTop = !1 !== alignToTop;\n if (0 === children.length) {\n children = this._fragmentFiber;\n var result = [null, null],\n parentHostFiber = getFragmentParentHostFiber(children);\n null !== parentHostFiber &&\n findFragmentInstanceSiblings(result, children, parentHostFiber.child);\n resolvedAlignToTop = resolvedAlignToTop\n ? result[1] ||\n result[0] ||\n getFragmentParentHostFiber(this._fragmentFiber)\n : result[0] || result[1];\n null !== resolvedAlignToTop &&\n getInstanceFromHostFiber(resolvedAlignToTop).scrollIntoView(alignToTop);\n } else\n for (\n result = resolvedAlignToTop ? children.length - 1 : 0;\n result !== (resolvedAlignToTop ? -1 : children.length);\n\n )\n getInstanceFromHostFiber(children[result]).scrollIntoView(alignToTop),\n (result += resolvedAlignToTop ? -1 : 1);\n};\nfunction commitNewChildToFragmentInstance(childInstance, fragmentInstance) {\n var eventListeners = fragmentInstance._eventListeners;\n if (null !== eventListeners)\n for (var i = 0; i < eventListeners.length; i++) {\n var _eventListeners$i3 = eventListeners[i];\n childInstance.addEventListener(\n _eventListeners$i3.type,\n _eventListeners$i3.listener,\n _eventListeners$i3.optionsOrUseCapture\n );\n }\n null !== fragmentInstance._observers &&\n fragmentInstance._observers.forEach(function (observer) {\n observer.observe(childInstance);\n });\n}\nfunction clearContainerSparingly(container) {\n var nextNode = container.firstChild;\n nextNode && 10 === nextNode.nodeType && (nextNode = nextNode.nextSibling);\n for (; nextNode; ) {\n var node = nextNode;\n nextNode = nextNode.nextSibling;\n switch (node.nodeName) {\n case \"HTML\":\n case \"HEAD\":\n case \"BODY\":\n clearContainerSparingly(node);\n detachDeletedInstance(node);\n continue;\n case \"SCRIPT\":\n case \"STYLE\":\n continue;\n case \"LINK\":\n if (\"stylesheet\" === node.rel.toLowerCase()) continue;\n }\n container.removeChild(node);\n }\n}\nfunction canHydrateInstance(instance, type, props, inRootOrSingleton) {\n for (; 1 === instance.nodeType; ) {\n var anyProps = props;\n if (instance.nodeName.toLowerCase() !== type.toLowerCase()) {\n if (\n !inRootOrSingleton &&\n (\"INPUT\" !== instance.nodeName || \"hidden\" !== instance.type)\n )\n break;\n } else if (!inRootOrSingleton)\n if (\"input\" === type && \"hidden\" === instance.type) {\n var name = null == anyProps.name ? null : \"\" + anyProps.name;\n if (\n \"hidden\" === anyProps.type &&\n instance.getAttribute(\"name\") === name\n )\n return instance;\n } else return instance;\n else if (!instance[internalHoistableMarker])\n switch (type) {\n case \"meta\":\n if (!instance.hasAttribute(\"itemprop\")) break;\n return instance;\n case \"link\":\n name = instance.getAttribute(\"rel\");\n if (\"stylesheet\" === name && instance.hasAttribute(\"data-precedence\"))\n break;\n else if (\n name !== anyProps.rel ||\n instance.getAttribute(\"href\") !==\n (null == anyProps.href || \"\" === anyProps.href\n ? null\n : anyProps.href) ||\n instance.getAttribute(\"crossorigin\") !==\n (null == anyProps.crossOrigin ? null : anyProps.crossOrigin) ||\n instance.getAttribute(\"title\") !==\n (null == anyProps.title ? null : anyProps.title)\n )\n break;\n return instance;\n case \"style\":\n if (instance.hasAttribute(\"data-precedence\")) break;\n return instance;\n case \"script\":\n name = instance.getAttribute(\"src\");\n if (\n (name !== (null == anyProps.src ? null : anyProps.src) ||\n instance.getAttribute(\"type\") !==\n (null == anyProps.type ? null : anyProps.type) ||\n instance.getAttribute(\"crossorigin\") !==\n (null == anyProps.crossOrigin ? null : anyProps.crossOrigin)) &&\n name &&\n instance.hasAttribute(\"async\") &&\n !instance.hasAttribute(\"itemprop\")\n )\n break;\n return instance;\n default:\n return instance;\n }\n instance = getNextHydratable(instance.nextSibling);\n if (null === instance) break;\n }\n return null;\n}\nfunction canHydrateTextInstance(instance, text, inRootOrSingleton) {\n if (\"\" === text) return null;\n for (; 3 !== instance.nodeType; ) {\n if (\n (1 !== instance.nodeType ||\n \"INPUT\" !== instance.nodeName ||\n \"hidden\" !== instance.type) &&\n !inRootOrSingleton\n )\n return null;\n instance = getNextHydratable(instance.nextSibling);\n if (null === instance) return null;\n }\n return instance;\n}\nfunction canHydrateHydrationBoundary(instance, inRootOrSingleton) {\n for (; 8 !== instance.nodeType; ) {\n if (\n (1 !== instance.nodeType ||\n \"INPUT\" !== instance.nodeName ||\n \"hidden\" !== instance.type) &&\n !inRootOrSingleton\n )\n return null;\n instance = getNextHydratable(instance.nextSibling);\n if (null === instance) return null;\n }\n return instance;\n}\nfunction isSuspenseInstancePending(instance) {\n return \"$?\" === instance.data || \"$~\" === instance.data;\n}\nfunction isSuspenseInstanceFallback(instance) {\n return (\n \"$!\" === instance.data ||\n (\"$?\" === instance.data && \"loading\" !== instance.ownerDocument.readyState)\n );\n}\nfunction registerSuspenseInstanceRetry(instance, callback) {\n var ownerDocument = instance.ownerDocument;\n if (\"$~\" === instance.data) instance._reactRetry = callback;\n else if (\"$?\" !== instance.data || \"loading\" !== ownerDocument.readyState)\n callback();\n else {\n var listener = function () {\n callback();\n ownerDocument.removeEventListener(\"DOMContentLoaded\", listener);\n };\n ownerDocument.addEventListener(\"DOMContentLoaded\", listener);\n instance._reactRetry = listener;\n }\n}\nfunction getNextHydratable(node) {\n for (; null != node; node = node.nextSibling) {\n var nodeType = node.nodeType;\n if (1 === nodeType || 3 === nodeType) break;\n if (8 === nodeType) {\n nodeType = node.data;\n if (\n \"$\" === nodeType ||\n \"$!\" === nodeType ||\n \"$?\" === nodeType ||\n \"$~\" === nodeType ||\n \"&\" === nodeType ||\n \"F!\" === nodeType ||\n \"F\" === nodeType\n )\n break;\n if (\"/$\" === nodeType || \"/&\" === nodeType) return null;\n }\n }\n return node;\n}\nvar previousHydratableOnEnteringScopedSingleton = null;\nfunction getNextHydratableInstanceAfterHydrationBoundary(hydrationInstance) {\n hydrationInstance = hydrationInstance.nextSibling;\n for (var depth = 0; hydrationInstance; ) {\n if (8 === hydrationInstance.nodeType) {\n var data = hydrationInstance.data;\n if (\"/$\" === data || \"/&\" === data) {\n if (0 === depth)\n return getNextHydratable(hydrationInstance.nextSibling);\n depth--;\n } else\n (\"$\" !== data &&\n \"$!\" !== data &&\n \"$?\" !== data &&\n \"$~\" !== data &&\n \"&\" !== data) ||\n depth++;\n }\n hydrationInstance = hydrationInstance.nextSibling;\n }\n return null;\n}\nfunction getParentHydrationBoundary(targetInstance) {\n targetInstance = targetInstance.previousSibling;\n for (var depth = 0; targetInstance; ) {\n if (8 === targetInstance.nodeType) {\n var data = targetInstance.data;\n if (\n \"$\" === data ||\n \"$!\" === data ||\n \"$?\" === data ||\n \"$~\" === data ||\n \"&\" === data\n ) {\n if (0 === depth) return targetInstance;\n depth--;\n } else (\"/$\" !== data && \"/&\" !== data) || depth++;\n }\n targetInstance = targetInstance.previousSibling;\n }\n return null;\n}\nfunction setFocusIfFocusable(node, focusOptions) {\n function handleFocus() {\n didFocus = !0;\n }\n var didFocus = !1;\n try {\n node.addEventListener(\"focus\", handleFocus),\n (node.focus || HTMLElement.prototype.focus).call(node, focusOptions);\n } finally {\n node.removeEventListener(\"focus\", handleFocus);\n }\n return didFocus;\n}\nfunction resolveSingletonInstance(type, props, rootContainerInstance) {\n props = getOwnerDocumentFromRootContainer(rootContainerInstance);\n switch (type) {\n case \"html\":\n type = props.documentElement;\n if (!type) throw Error(formatProdErrorMessage(452));\n return type;\n case \"head\":\n type = props.head;\n if (!type) throw Error(formatProdErrorMessage(453));\n return type;\n case \"body\":\n type = props.body;\n if (!type) throw Error(formatProdErrorMessage(454));\n return type;\n default:\n throw Error(formatProdErrorMessage(451));\n }\n}\nfunction releaseSingletonInstance(instance) {\n for (var attributes = instance.attributes; attributes.length; )\n instance.removeAttributeNode(attributes[0]);\n detachDeletedInstance(instance);\n}\nvar preloadPropsMap = new Map(),\n preconnectsSet = new Set();\nfunction getHoistableRoot(container) {\n return \"function\" === typeof container.getRootNode\n ? container.getRootNode()\n : 9 === container.nodeType\n ? container\n : container.ownerDocument;\n}\nvar previousDispatcher = ReactDOMSharedInternals.d;\nReactDOMSharedInternals.d = {\n f: flushSyncWork,\n r: requestFormReset,\n D: prefetchDNS,\n C: preconnect,\n L: preload,\n m: preloadModule,\n X: preinitScript,\n S: preinitStyle,\n M: preinitModuleScript\n};\nfunction flushSyncWork() {\n var previousWasRendering = previousDispatcher.f(),\n wasRendering = flushSyncWork$1();\n return previousWasRendering || wasRendering;\n}\nfunction requestFormReset(form) {\n var formInst = getInstanceFromNode(form);\n null !== formInst && 5 === formInst.tag && \"form\" === formInst.type\n ? requestFormReset$1(formInst)\n : previousDispatcher.r(form);\n}\nvar globalDocument = \"undefined\" === typeof document ? null : document;\nfunction preconnectAs(rel, href, crossOrigin) {\n var ownerDocument = globalDocument;\n if (ownerDocument && \"string\" === typeof href && href) {\n var limitedEscapedHref =\n escapeSelectorAttributeValueInsideDoubleQuotes(href);\n limitedEscapedHref =\n 'link[rel=\"' + rel + '\"][href=\"' + limitedEscapedHref + '\"]';\n \"string\" === typeof crossOrigin &&\n (limitedEscapedHref += '[crossorigin=\"' + crossOrigin + '\"]');\n preconnectsSet.has(limitedEscapedHref) ||\n (preconnectsSet.add(limitedEscapedHref),\n (rel = { rel: rel, crossOrigin: crossOrigin, href: href }),\n null === ownerDocument.querySelector(limitedEscapedHref) &&\n ((href = ownerDocument.createElement(\"link\")),\n setInitialProperties(href, \"link\", rel),\n markNodeAsHoistable(href),\n ownerDocument.head.appendChild(href)));\n }\n}\nfunction prefetchDNS(href) {\n previousDispatcher.D(href);\n preconnectAs(\"dns-prefetch\", href, null);\n}\nfunction preconnect(href, crossOrigin) {\n previousDispatcher.C(href, crossOrigin);\n preconnectAs(\"preconnect\", href, crossOrigin);\n}\nfunction preload(href, as, options) {\n previousDispatcher.L(href, as, options);\n var ownerDocument = globalDocument;\n if (ownerDocument && href && as) {\n var preloadSelector =\n 'link[rel=\"preload\"][as=\"' +\n escapeSelectorAttributeValueInsideDoubleQuotes(as) +\n '\"]';\n \"image\" === as\n ? options && options.imageSrcSet\n ? ((preloadSelector +=\n '[imagesrcset=\"' +\n escapeSelectorAttributeValueInsideDoubleQuotes(\n options.imageSrcSet\n ) +\n '\"]'),\n \"string\" === typeof options.imageSizes &&\n (preloadSelector +=\n '[imagesizes=\"' +\n escapeSelectorAttributeValueInsideDoubleQuotes(\n options.imageSizes\n ) +\n '\"]'))\n : (preloadSelector +=\n '[href=\"' +\n escapeSelectorAttributeValueInsideDoubleQuotes(href) +\n '\"]')\n : (preloadSelector +=\n '[href=\"' +\n escapeSelectorAttributeValueInsideDoubleQuotes(href) +\n '\"]');\n var key = preloadSelector;\n switch (as) {\n case \"style\":\n key = getStyleKey(href);\n break;\n case \"script\":\n key = getScriptKey(href);\n }\n preloadPropsMap.has(key) ||\n ((href = assign(\n {\n rel: \"preload\",\n href:\n \"image\" === as && options && options.imageSrcSet ? void 0 : href,\n as: as\n },\n options\n )),\n preloadPropsMap.set(key, href),\n null !== ownerDocument.querySelector(preloadSelector) ||\n (\"style\" === as &&\n ownerDocument.querySelector(getStylesheetSelectorFromKey(key))) ||\n (\"script\" === as &&\n ownerDocument.querySelector(getScriptSelectorFromKey(key))) ||\n ((as = ownerDocument.createElement(\"link\")),\n setInitialProperties(as, \"link\", href),\n markNodeAsHoistable(as),\n ownerDocument.head.appendChild(as)));\n }\n}\nfunction preloadModule(href, options) {\n previousDispatcher.m(href, options);\n var ownerDocument = globalDocument;\n if (ownerDocument && href) {\n var as = options && \"string\" === typeof options.as ? options.as : \"script\",\n preloadSelector =\n 'link[rel=\"modulepreload\"][as=\"' +\n escapeSelectorAttributeValueInsideDoubleQuotes(as) +\n '\"][href=\"' +\n escapeSelectorAttributeValueInsideDoubleQuotes(href) +\n '\"]',\n key = preloadSelector;\n switch (as) {\n case \"audioworklet\":\n case \"paintworklet\":\n case \"serviceworker\":\n case \"sharedworker\":\n case \"worker\":\n case \"script\":\n key = getScriptKey(href);\n }\n if (\n !preloadPropsMap.has(key) &&\n ((href = assign({ rel: \"modulepreload\", href: href }, options)),\n preloadPropsMap.set(key, href),\n null === ownerDocument.querySelector(preloadSelector))\n ) {\n switch (as) {\n case \"audioworklet\":\n case \"paintworklet\":\n case \"serviceworker\":\n case \"sharedworker\":\n case \"worker\":\n case \"script\":\n if (ownerDocument.querySelector(getScriptSelectorFromKey(key)))\n return;\n }\n as = ownerDocument.createElement(\"link\");\n setInitialProperties(as, \"link\", href);\n markNodeAsHoistable(as);\n ownerDocument.head.appendChild(as);\n }\n }\n}\nfunction preinitStyle(href, precedence, options) {\n previousDispatcher.S(href, precedence, options);\n var ownerDocument = globalDocument;\n if (ownerDocument && href) {\n var styles = getResourcesFromRoot(ownerDocument).hoistableStyles,\n key = getStyleKey(href);\n precedence = precedence || \"default\";\n var resource = styles.get(key);\n if (!resource) {\n var state = { loading: 0, preload: null };\n if (\n (resource = ownerDocument.querySelector(\n getStylesheetSelectorFromKey(key)\n ))\n )\n state.loading = 5;\n else {\n href = assign(\n { rel: \"stylesheet\", href: href, \"data-precedence\": precedence },\n options\n );\n (options = preloadPropsMap.get(key)) &&\n adoptPreloadPropsForStylesheet(href, options);\n var link = (resource = ownerDocument.createElement(\"link\"));\n markNodeAsHoistable(link);\n setInitialProperties(link, \"link\", href);\n link._p = new Promise(function (resolve, reject) {\n link.onload = resolve;\n link.onerror = reject;\n });\n link.addEventListener(\"load\", function () {\n state.loading |= 1;\n });\n link.addEventListener(\"error\", function () {\n state.loading |= 2;\n });\n state.loading |= 4;\n insertStylesheet(resource, precedence, ownerDocument);\n }\n resource = {\n type: \"stylesheet\",\n instance: resource,\n count: 1,\n state: state\n };\n styles.set(key, resource);\n }\n }\n}\nfunction preinitScript(src, options) {\n previousDispatcher.X(src, options);\n var ownerDocument = globalDocument;\n if (ownerDocument && src) {\n var scripts = getResourcesFromRoot(ownerDocument).hoistableScripts,\n key = getScriptKey(src),\n resource = scripts.get(key);\n resource ||\n ((resource = ownerDocument.querySelector(getScriptSelectorFromKey(key))),\n resource ||\n ((src = assign({ src: src, async: !0 }, options)),\n (options = preloadPropsMap.get(key)) &&\n adoptPreloadPropsForScript(src, options),\n (resource = ownerDocument.createElement(\"script\")),\n markNodeAsHoistable(resource),\n setInitialProperties(resource, \"link\", src),\n ownerDocument.head.appendChild(resource)),\n (resource = {\n type: \"script\",\n instance: resource,\n count: 1,\n state: null\n }),\n scripts.set(key, resource));\n }\n}\nfunction preinitModuleScript(src, options) {\n previousDispatcher.M(src, options);\n var ownerDocument = globalDocument;\n if (ownerDocument && src) {\n var scripts = getResourcesFromRoot(ownerDocument).hoistableScripts,\n key = getScriptKey(src),\n resource = scripts.get(key);\n resource ||\n ((resource = ownerDocument.querySelector(getScriptSelectorFromKey(key))),\n resource ||\n ((src = assign({ src: src, async: !0, type: \"module\" }, options)),\n (options = preloadPropsMap.get(key)) &&\n adoptPreloadPropsForScript(src, options),\n (resource = ownerDocument.createElement(\"script\")),\n markNodeAsHoistable(resource),\n setInitialProperties(resource, \"link\", src),\n ownerDocument.head.appendChild(resource)),\n (resource = {\n type: \"script\",\n instance: resource,\n count: 1,\n state: null\n }),\n scripts.set(key, resource));\n }\n}\nfunction getResource(type, currentProps, pendingProps, currentResource) {\n var JSCompiler_inline_result = (JSCompiler_inline_result =\n rootInstanceStackCursor.current)\n ? getHoistableRoot(JSCompiler_inline_result)\n : null;\n if (!JSCompiler_inline_result) throw Error(formatProdErrorMessage(446));\n switch (type) {\n case \"meta\":\n case \"title\":\n return null;\n case \"style\":\n return \"string\" === typeof pendingProps.precedence &&\n \"string\" === typeof pendingProps.href\n ? ((currentProps = getStyleKey(pendingProps.href)),\n (pendingProps = getResourcesFromRoot(\n JSCompiler_inline_result\n ).hoistableStyles),\n (currentResource = pendingProps.get(currentProps)),\n currentResource ||\n ((currentResource = {\n type: \"style\",\n instance: null,\n count: 0,\n state: null\n }),\n pendingProps.set(currentProps, currentResource)),\n currentResource)\n : { type: \"void\", instance: null, count: 0, state: null };\n case \"link\":\n if (\n \"stylesheet\" === pendingProps.rel &&\n \"string\" === typeof pendingProps.href &&\n \"string\" === typeof pendingProps.precedence\n ) {\n type = getStyleKey(pendingProps.href);\n var styles$261 = getResourcesFromRoot(\n JSCompiler_inline_result\n ).hoistableStyles,\n resource$262 = styles$261.get(type);\n resource$262 ||\n ((JSCompiler_inline_result =\n JSCompiler_inline_result.ownerDocument || JSCompiler_inline_result),\n (resource$262 = {\n type: \"stylesheet\",\n instance: null,\n count: 0,\n state: { loading: 0, preload: null }\n }),\n styles$261.set(type, resource$262),\n (styles$261 = JSCompiler_inline_result.querySelector(\n getStylesheetSelectorFromKey(type)\n )) &&\n !styles$261._p &&\n ((resource$262.instance = styles$261),\n (resource$262.state.loading = 5)),\n preloadPropsMap.has(type) ||\n ((pendingProps = {\n rel: \"preload\",\n as: \"style\",\n href: pendingProps.href,\n crossOrigin: pendingProps.crossOrigin,\n integrity: pendingProps.integrity,\n media: pendingProps.media,\n hrefLang: pendingProps.hrefLang,\n referrerPolicy: pendingProps.referrerPolicy\n }),\n preloadPropsMap.set(type, pendingProps),\n styles$261 ||\n preloadStylesheet(\n JSCompiler_inline_result,\n type,\n pendingProps,\n resource$262.state\n )));\n if (currentProps && null === currentResource)\n throw Error(formatProdErrorMessage(528, \"\"));\n return resource$262;\n }\n if (currentProps && null !== currentResource)\n throw Error(formatProdErrorMessage(529, \"\"));\n return null;\n case \"script\":\n return (\n (currentProps = pendingProps.async),\n (pendingProps = pendingProps.src),\n \"string\" === typeof pendingProps &&\n currentProps &&\n \"function\" !== typeof currentProps &&\n \"symbol\" !== typeof currentProps\n ? ((currentProps = getScriptKey(pendingProps)),\n (pendingProps = getResourcesFromRoot(\n JSCompiler_inline_result\n ).hoistableScripts),\n (currentResource = pendingProps.get(currentProps)),\n currentResource ||\n ((currentResource = {\n type: \"script\",\n instance: null,\n count: 0,\n state: null\n }),\n pendingProps.set(currentProps, currentResource)),\n currentResource)\n : { type: \"void\", instance: null, count: 0, state: null }\n );\n default:\n throw Error(formatProdErrorMessage(444, type));\n }\n}\nfunction getStyleKey(href) {\n return 'href=\"' + escapeSelectorAttributeValueInsideDoubleQuotes(href) + '\"';\n}\nfunction getStylesheetSelectorFromKey(key) {\n return 'link[rel=\"stylesheet\"][' + key + \"]\";\n}\nfunction stylesheetPropsFromRawProps(rawProps) {\n return assign({}, rawProps, {\n \"data-precedence\": rawProps.precedence,\n precedence: null\n });\n}\nfunction preloadStylesheet(ownerDocument, key, preloadProps, state) {\n ownerDocument.querySelector('link[rel=\"preload\"][as=\"style\"][' + key + \"]\")\n ? (state.loading = 1)\n : ((key = ownerDocument.createElement(\"link\")),\n (state.preload = key),\n key.addEventListener(\"load\", function () {\n return (state.loading |= 1);\n }),\n key.addEventListener(\"error\", function () {\n return (state.loading |= 2);\n }),\n setInitialProperties(key, \"link\", preloadProps),\n markNodeAsHoistable(key),\n ownerDocument.head.appendChild(key));\n}\nfunction getScriptKey(src) {\n return '[src=\"' + escapeSelectorAttributeValueInsideDoubleQuotes(src) + '\"]';\n}\nfunction getScriptSelectorFromKey(key) {\n return \"script[async]\" + key;\n}\nfunction acquireResource(hoistableRoot, resource, props) {\n resource.count++;\n if (null === resource.instance)\n switch (resource.type) {\n case \"style\":\n var instance = hoistableRoot.querySelector(\n 'style[data-href~=\"' +\n escapeSelectorAttributeValueInsideDoubleQuotes(props.href) +\n '\"]'\n );\n if (instance)\n return (\n (resource.instance = instance),\n markNodeAsHoistable(instance),\n instance\n );\n var styleProps = assign({}, props, {\n \"data-href\": props.href,\n \"data-precedence\": props.precedence,\n href: null,\n precedence: null\n });\n instance = (hoistableRoot.ownerDocument || hoistableRoot).createElement(\n \"style\"\n );\n markNodeAsHoistable(instance);\n setInitialProperties(instance, \"style\", styleProps);\n insertStylesheet(instance, props.precedence, hoistableRoot);\n return (resource.instance = instance);\n case \"stylesheet\":\n styleProps = getStyleKey(props.href);\n var instance$267 = hoistableRoot.querySelector(\n getStylesheetSelectorFromKey(styleProps)\n );\n if (instance$267)\n return (\n (resource.state.loading |= 4),\n (resource.instance = instance$267),\n markNodeAsHoistable(instance$267),\n instance$267\n );\n instance = stylesheetPropsFromRawProps(props);\n (styleProps = preloadPropsMap.get(styleProps)) &&\n adoptPreloadPropsForStylesheet(instance, styleProps);\n instance$267 = (\n hoistableRoot.ownerDocument || hoistableRoot\n ).createElement(\"link\");\n markNodeAsHoistable(instance$267);\n var linkInstance = instance$267;\n linkInstance._p = new Promise(function (resolve, reject) {\n linkInstance.onload = resolve;\n linkInstance.onerror = reject;\n });\n setInitialProperties(instance$267, \"link\", instance);\n resource.state.loading |= 4;\n insertStylesheet(instance$267, props.precedence, hoistableRoot);\n return (resource.instance = instance$267);\n case \"script\":\n instance$267 = getScriptKey(props.src);\n if (\n (styleProps = hoistableRoot.querySelector(\n getScriptSelectorFromKey(instance$267)\n ))\n )\n return (\n (resource.instance = styleProps),\n markNodeAsHoistable(styleProps),\n styleProps\n );\n instance = props;\n if ((styleProps = preloadPropsMap.get(instance$267)))\n (instance = assign({}, props)),\n adoptPreloadPropsForScript(instance, styleProps);\n hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot;\n styleProps = hoistableRoot.createElement(\"script\");\n markNodeAsHoistable(styleProps);\n setInitialProperties(styleProps, \"link\", instance);\n hoistableRoot.head.appendChild(styleProps);\n return (resource.instance = styleProps);\n case \"void\":\n return null;\n default:\n throw Error(formatProdErrorMessage(443, resource.type));\n }\n else\n \"stylesheet\" === resource.type &&\n 0 === (resource.state.loading & 4) &&\n ((instance = resource.instance),\n (resource.state.loading |= 4),\n insertStylesheet(instance, props.precedence, hoistableRoot));\n return resource.instance;\n}\nfunction insertStylesheet(instance, precedence, root) {\n for (\n var nodes = root.querySelectorAll(\n 'link[rel=\"stylesheet\"][data-precedence],style[data-precedence]'\n ),\n last = nodes.length ? nodes[nodes.length - 1] : null,\n prior = last,\n i = 0;\n i < nodes.length;\n i++\n ) {\n var node = nodes[i];\n if (node.dataset.precedence === precedence) prior = node;\n else if (prior !== last) break;\n }\n prior\n ? prior.parentNode.insertBefore(instance, prior.nextSibling)\n : ((precedence = 9 === root.nodeType ? root.head : root),\n precedence.insertBefore(instance, precedence.firstChild));\n}\nfunction adoptPreloadPropsForStylesheet(stylesheetProps, preloadProps) {\n null == stylesheetProps.crossOrigin &&\n (stylesheetProps.crossOrigin = preloadProps.crossOrigin);\n null == stylesheetProps.referrerPolicy &&\n (stylesheetProps.referrerPolicy = preloadProps.referrerPolicy);\n null == stylesheetProps.title && (stylesheetProps.title = preloadProps.title);\n}\nfunction adoptPreloadPropsForScript(scriptProps, preloadProps) {\n null == scriptProps.crossOrigin &&\n (scriptProps.crossOrigin = preloadProps.crossOrigin);\n null == scriptProps.referrerPolicy &&\n (scriptProps.referrerPolicy = preloadProps.referrerPolicy);\n null == scriptProps.integrity &&\n (scriptProps.integrity = preloadProps.integrity);\n}\nvar tagCaches = null;\nfunction getHydratableHoistableCache(type, keyAttribute, ownerDocument) {\n if (null === tagCaches) {\n var cache = new Map();\n var caches = (tagCaches = new Map());\n caches.set(ownerDocument, cache);\n } else\n (caches = tagCaches),\n (cache = caches.get(ownerDocument)),\n cache || ((cache = new Map()), caches.set(ownerDocument, cache));\n if (cache.has(type)) return cache;\n cache.set(type, null);\n ownerDocument = ownerDocument.getElementsByTagName(type);\n for (caches = 0; caches < ownerDocument.length; caches++) {\n var node = ownerDocument[caches];\n if (\n !(\n node[internalHoistableMarker] ||\n node[internalInstanceKey] ||\n (\"link\" === type && \"stylesheet\" === node.getAttribute(\"rel\"))\n ) &&\n \"http://www.w3.org/2000/svg\" !== node.namespaceURI\n ) {\n var nodeKey = node.getAttribute(keyAttribute) || \"\";\n nodeKey = type + nodeKey;\n var existing = cache.get(nodeKey);\n existing ? existing.push(node) : cache.set(nodeKey, [node]);\n }\n }\n return cache;\n}\nfunction mountHoistable(hoistableRoot, type, instance) {\n hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot;\n hoistableRoot.head.insertBefore(\n instance,\n \"title\" === type ? hoistableRoot.querySelector(\"head > title\") : null\n );\n}\nfunction isHostHoistableType(type, props, hostContext) {\n if (1 === hostContext || null != props.itemProp) return !1;\n switch (type) {\n case \"meta\":\n case \"title\":\n return !0;\n case \"style\":\n if (\n \"string\" !== typeof props.precedence ||\n \"string\" !== typeof props.href ||\n \"\" === props.href\n )\n break;\n return !0;\n case \"link\":\n if (\n \"string\" !== typeof props.rel ||\n \"string\" !== typeof props.href ||\n \"\" === props.href ||\n props.onLoad ||\n props.onError\n )\n break;\n switch (props.rel) {\n case \"stylesheet\":\n return (\n (type = props.disabled),\n \"string\" === typeof props.precedence && null == type\n );\n default:\n return !0;\n }\n case \"script\":\n if (\n props.async &&\n \"function\" !== typeof props.async &&\n \"symbol\" !== typeof props.async &&\n !props.onLoad &&\n !props.onError &&\n props.src &&\n \"string\" === typeof props.src\n )\n return !0;\n }\n return !1;\n}\nfunction maySuspendCommit(type, props) {\n return (\n \"img\" === type &&\n null != props.src &&\n \"\" !== props.src &&\n null == props.onLoad &&\n \"lazy\" !== props.loading\n );\n}\nfunction preloadResource(resource) {\n return \"stylesheet\" === resource.type && 0 === (resource.state.loading & 3)\n ? !1\n : !0;\n}\nfunction estimateImageBytes(instance) {\n return (\n (instance.width || 100) *\n (instance.height || 100) *\n (\"number\" === typeof devicePixelRatio ? devicePixelRatio : 1) *\n 0.25\n );\n}\nfunction suspendInstance(state, instance) {\n \"function\" === typeof instance.decode &&\n (state.imgCount++,\n instance.complete ||\n ((state.imgBytes += estimateImageBytes(instance)),\n state.suspenseyImages.push(instance)),\n (state = onUnsuspendImg.bind(state)),\n instance.decode().then(state, state));\n}\nfunction suspendResource(state, hoistableRoot, resource, props) {\n if (\n \"stylesheet\" === resource.type &&\n (\"string\" !== typeof props.media ||\n !1 !== matchMedia(props.media).matches) &&\n 0 === (resource.state.loading & 4)\n ) {\n if (null === resource.instance) {\n var key = getStyleKey(props.href),\n instance = hoistableRoot.querySelector(\n getStylesheetSelectorFromKey(key)\n );\n if (instance) {\n hoistableRoot = instance._p;\n null !== hoistableRoot &&\n \"object\" === typeof hoistableRoot &&\n \"function\" === typeof hoistableRoot.then &&\n (state.count++,\n (state = onUnsuspend.bind(state)),\n hoistableRoot.then(state, state));\n resource.state.loading |= 4;\n resource.instance = instance;\n markNodeAsHoistable(instance);\n return;\n }\n instance = hoistableRoot.ownerDocument || hoistableRoot;\n props = stylesheetPropsFromRawProps(props);\n (key = preloadPropsMap.get(key)) &&\n adoptPreloadPropsForStylesheet(props, key);\n instance = instance.createElement(\"link\");\n markNodeAsHoistable(instance);\n var linkInstance = instance;\n linkInstance._p = new Promise(function (resolve, reject) {\n linkInstance.onload = resolve;\n linkInstance.onerror = reject;\n });\n setInitialProperties(instance, \"link\", props);\n resource.instance = instance;\n }\n null === state.stylesheets && (state.stylesheets = new Map());\n state.stylesheets.set(resource, hoistableRoot);\n (hoistableRoot = resource.state.preload) &&\n 0 === (resource.state.loading & 3) &&\n (state.count++,\n (resource = onUnsuspend.bind(state)),\n hoistableRoot.addEventListener(\"load\", resource),\n hoistableRoot.addEventListener(\"error\", resource));\n }\n}\nvar estimatedBytesWithinLimit = 0;\nfunction waitForCommitToBeReady(state, timeoutOffset) {\n state.stylesheets &&\n 0 === state.count &&\n insertSuspendedStylesheets(state, state.stylesheets);\n return 0 < state.count || 0 < state.imgCount\n ? function (commit) {\n var stylesheetTimer = setTimeout(function () {\n state.stylesheets &&\n insertSuspendedStylesheets(state, state.stylesheets);\n if (state.unsuspend) {\n var unsuspend = state.unsuspend;\n state.unsuspend = null;\n unsuspend();\n }\n }, 6e4 + timeoutOffset);\n 0 < state.imgBytes &&\n 0 === estimatedBytesWithinLimit &&\n (estimatedBytesWithinLimit = 62500 * estimateBandwidth());\n var imgTimer = setTimeout(\n function () {\n state.waitingForImages = !1;\n if (\n 0 === state.count &&\n (state.stylesheets &&\n insertSuspendedStylesheets(state, state.stylesheets),\n state.unsuspend)\n ) {\n var unsuspend = state.unsuspend;\n state.unsuspend = null;\n unsuspend();\n }\n },\n (state.imgBytes > estimatedBytesWithinLimit ? 50 : 800) +\n timeoutOffset\n );\n state.unsuspend = commit;\n return function () {\n state.unsuspend = null;\n clearTimeout(stylesheetTimer);\n clearTimeout(imgTimer);\n };\n }\n : null;\n}\nfunction checkIfFullyUnsuspended(state) {\n if (0 === state.count && (0 === state.imgCount || !state.waitingForImages))\n if (state.stylesheets) insertSuspendedStylesheets(state, state.stylesheets);\n else if (state.unsuspend) {\n var unsuspend = state.unsuspend;\n state.unsuspend = null;\n unsuspend();\n }\n}\nfunction onUnsuspend() {\n this.count--;\n checkIfFullyUnsuspended(this);\n}\nfunction onUnsuspendImg() {\n this.imgCount--;\n checkIfFullyUnsuspended(this);\n}\nvar precedencesByRoot = null;\nfunction insertSuspendedStylesheets(state, resources) {\n state.stylesheets = null;\n null !== state.unsuspend &&\n (state.count++,\n (precedencesByRoot = new Map()),\n resources.forEach(insertStylesheetIntoRoot, state),\n (precedencesByRoot = null),\n onUnsuspend.call(state));\n}\nfunction insertStylesheetIntoRoot(root, resource) {\n if (!(resource.state.loading & 4)) {\n var precedences = precedencesByRoot.get(root);\n if (precedences) var last = precedences.get(null);\n else {\n precedences = new Map();\n precedencesByRoot.set(root, precedences);\n for (\n var nodes = root.querySelectorAll(\n \"link[data-precedence],style[data-precedence]\"\n ),\n i = 0;\n i < nodes.length;\n i++\n ) {\n var node = nodes[i];\n if (\n \"LINK\" === node.nodeName ||\n \"not all\" !== node.getAttribute(\"media\")\n )\n precedences.set(node.dataset.precedence, node), (last = node);\n }\n last && precedences.set(null, last);\n }\n nodes = resource.instance;\n node = nodes.getAttribute(\"data-precedence\");\n i = precedences.get(node) || last;\n i === last && precedences.set(null, nodes);\n precedences.set(node, nodes);\n this.count++;\n last = onUnsuspend.bind(this);\n nodes.addEventListener(\"load\", last);\n nodes.addEventListener(\"error\", last);\n i\n ? i.parentNode.insertBefore(nodes, i.nextSibling)\n : ((root = 9 === root.nodeType ? root.head : root),\n root.insertBefore(nodes, root.firstChild));\n resource.state.loading |= 4;\n }\n}\nvar HostTransitionContext = {\n $$typeof: REACT_CONTEXT_TYPE,\n Provider: null,\n Consumer: null,\n _currentValue: sharedNotPendingObject,\n _currentValue2: sharedNotPendingObject,\n _threadCount: 0\n};\nfunction FiberRootNode(\n containerInfo,\n tag,\n hydrate,\n identifierPrefix,\n onUncaughtError,\n onCaughtError,\n onRecoverableError,\n onDefaultTransitionIndicator,\n formState\n) {\n this.tag = 1;\n this.containerInfo = containerInfo;\n this.pingCache = this.current = this.pendingChildren = null;\n this.timeoutHandle = -1;\n this.callbackNode =\n this.next =\n this.pendingContext =\n this.context =\n this.cancelPendingCommit =\n null;\n this.callbackPriority = 0;\n this.expirationTimes = createLaneMap(-1);\n this.entangledLanes =\n this.shellSuspendCounter =\n this.errorRecoveryDisabledLanes =\n this.expiredLanes =\n this.warmLanes =\n this.pingedLanes =\n this.suspendedLanes =\n this.pendingLanes =\n 0;\n this.entanglements = createLaneMap(0);\n this.hiddenUpdates = createLaneMap(null);\n this.identifierPrefix = identifierPrefix;\n this.onUncaughtError = onUncaughtError;\n this.onCaughtError = onCaughtError;\n this.onRecoverableError = onRecoverableError;\n this.pooledCache = null;\n this.pooledCacheLanes = 0;\n this.formState = formState;\n this.transitionTypes = null;\n this.incompleteTransitions = new Map();\n}\nfunction createFiberRoot(\n containerInfo,\n tag,\n hydrate,\n initialChildren,\n hydrationCallbacks,\n isStrictMode,\n identifierPrefix,\n formState,\n onUncaughtError,\n onCaughtError,\n onRecoverableError,\n onDefaultTransitionIndicator\n) {\n containerInfo = new FiberRootNode(\n containerInfo,\n tag,\n hydrate,\n identifierPrefix,\n onUncaughtError,\n onCaughtError,\n onRecoverableError,\n onDefaultTransitionIndicator,\n formState\n );\n tag = 1;\n !0 === isStrictMode && (tag |= 24);\n isStrictMode = createFiberImplClass(3, null, null, tag);\n containerInfo.current = isStrictMode;\n isStrictMode.stateNode = containerInfo;\n tag = createCache();\n tag.refCount++;\n containerInfo.pooledCache = tag;\n tag.refCount++;\n isStrictMode.memoizedState = {\n element: initialChildren,\n isDehydrated: hydrate,\n cache: tag\n };\n initializeUpdateQueue(isStrictMode);\n return containerInfo;\n}\nfunction getContextForSubtree(parentComponent) {\n if (!parentComponent) return emptyContextObject;\n parentComponent = emptyContextObject;\n return parentComponent;\n}\nfunction updateContainerImpl(\n rootFiber,\n lane,\n element,\n container,\n parentComponent,\n callback\n) {\n parentComponent = getContextForSubtree(parentComponent);\n null === container.context\n ? (container.context = parentComponent)\n : (container.pendingContext = parentComponent);\n container = createUpdate(lane);\n container.payload = { element: element };\n callback = void 0 === callback ? null : callback;\n null !== callback && (container.callback = callback);\n element = enqueueUpdate(rootFiber, container, lane);\n null !== element &&\n (scheduleUpdateOnFiber(element, rootFiber, lane),\n entangleTransitions(element, rootFiber, lane));\n}\nfunction markRetryLaneImpl(fiber, retryLane) {\n fiber = fiber.memoizedState;\n if (null !== fiber && null !== fiber.dehydrated) {\n var a = fiber.retryLane;\n fiber.retryLane = 0 !== a && a < retryLane ? a : retryLane;\n }\n}\nfunction markRetryLaneIfNotHydrated(fiber, retryLane) {\n markRetryLaneImpl(fiber, retryLane);\n (fiber = fiber.alternate) && markRetryLaneImpl(fiber, retryLane);\n}\nfunction attemptContinuousHydration(fiber) {\n if (13 === fiber.tag || 31 === fiber.tag) {\n var root = enqueueConcurrentRenderForLane(fiber, 67108864);\n null !== root && scheduleUpdateOnFiber(root, fiber, 67108864);\n markRetryLaneIfNotHydrated(fiber, 67108864);\n }\n}\nfunction attemptHydrationAtCurrentPriority(fiber) {\n if (13 === fiber.tag || 31 === fiber.tag) {\n var lane = requestUpdateLane();\n lane = getBumpedLaneForHydrationByLane(lane);\n var root = enqueueConcurrentRenderForLane(fiber, lane);\n null !== root && scheduleUpdateOnFiber(root, fiber, lane);\n markRetryLaneIfNotHydrated(fiber, lane);\n }\n}\nvar _enabled = !0;\nfunction dispatchDiscreteEvent(\n domEventName,\n eventSystemFlags,\n container,\n nativeEvent\n) {\n var prevTransition = ReactSharedInternals.T;\n ReactSharedInternals.T = null;\n var previousPriority = ReactDOMSharedInternals.p;\n try {\n (ReactDOMSharedInternals.p = 2),\n dispatchEvent(domEventName, eventSystemFlags, container, nativeEvent);\n } finally {\n (ReactDOMSharedInternals.p = previousPriority),\n (ReactSharedInternals.T = prevTransition);\n }\n}\nfunction dispatchContinuousEvent(\n domEventName,\n eventSystemFlags,\n container,\n nativeEvent\n) {\n var prevTransition = ReactSharedInternals.T;\n ReactSharedInternals.T = null;\n var previousPriority = ReactDOMSharedInternals.p;\n try {\n (ReactDOMSharedInternals.p = 8),\n dispatchEvent(domEventName, eventSystemFlags, container, nativeEvent);\n } finally {\n (ReactDOMSharedInternals.p = previousPriority),\n (ReactSharedInternals.T = prevTransition);\n }\n}\nfunction dispatchEvent(\n domEventName,\n eventSystemFlags,\n targetContainer,\n nativeEvent\n) {\n if (_enabled) {\n var blockedOn = findInstanceBlockingEvent(nativeEvent);\n if (null === blockedOn)\n dispatchEventForPluginEventSystem(\n domEventName,\n eventSystemFlags,\n nativeEvent,\n return_targetInst,\n targetContainer\n ),\n clearIfContinuousEvent(domEventName, nativeEvent);\n else if (\n queueIfContinuousEvent(\n blockedOn,\n domEventName,\n eventSystemFlags,\n targetContainer,\n nativeEvent\n )\n )\n nativeEvent.stopPropagation();\n else if (\n (clearIfContinuousEvent(domEventName, nativeEvent),\n eventSystemFlags & 4 &&\n -1 < discreteReplayableEvents.indexOf(domEventName))\n ) {\n for (; null !== blockedOn; ) {\n var fiber = getInstanceFromNode(blockedOn);\n if (null !== fiber)\n switch (fiber.tag) {\n case 3:\n fiber = fiber.stateNode;\n if (fiber.current.memoizedState.isDehydrated) {\n var lanes = getHighestPriorityLanes(fiber.pendingLanes);\n if (0 !== lanes) {\n var root = fiber;\n root.pendingLanes |= 2;\n for (root.entangledLanes |= 2; lanes; ) {\n var lane = 1 << (31 - clz32(lanes));\n root.entanglements[1] |= lane;\n lanes &= ~lane;\n }\n ensureRootIsScheduled(fiber);\n 0 === (executionContext & 6) &&\n ((workInProgressRootRenderTargetTime = now() + 500),\n flushSyncWorkAcrossRoots_impl(0, !1));\n }\n }\n break;\n case 31:\n case 13:\n (root = enqueueConcurrentRenderForLane(fiber, 2)),\n null !== root && scheduleUpdateOnFiber(root, fiber, 2),\n flushSyncWork$1(),\n markRetryLaneIfNotHydrated(fiber, 2);\n }\n fiber = findInstanceBlockingEvent(nativeEvent);\n null === fiber &&\n dispatchEventForPluginEventSystem(\n domEventName,\n eventSystemFlags,\n nativeEvent,\n return_targetInst,\n targetContainer\n );\n if (fiber === blockedOn) break;\n blockedOn = fiber;\n }\n null !== blockedOn && nativeEvent.stopPropagation();\n } else\n dispatchEventForPluginEventSystem(\n domEventName,\n eventSystemFlags,\n nativeEvent,\n null,\n targetContainer\n );\n }\n}\nfunction findInstanceBlockingEvent(nativeEvent) {\n nativeEvent = getEventTarget(nativeEvent);\n return findInstanceBlockingTarget(nativeEvent);\n}\nvar return_targetInst = null;\nfunction findInstanceBlockingTarget(targetNode) {\n return_targetInst = null;\n targetNode = getClosestInstanceFromNode(targetNode);\n if (null !== targetNode) {\n var nearestMounted = getNearestMountedFiber(targetNode);\n if (null === nearestMounted) targetNode = null;\n else {\n var tag = nearestMounted.tag;\n if (13 === tag) {\n targetNode = getSuspenseInstanceFromFiber(nearestMounted);\n if (null !== targetNode) return targetNode;\n targetNode = null;\n } else if (31 === tag) {\n targetNode = getActivityInstanceFromFiber(nearestMounted);\n if (null !== targetNode) return targetNode;\n targetNode = null;\n } else if (3 === tag) {\n if (nearestMounted.stateNode.current.memoizedState.isDehydrated)\n return 3 === nearestMounted.tag\n ? nearestMounted.stateNode.containerInfo\n : null;\n targetNode = null;\n } else nearestMounted !== targetNode && (targetNode = null);\n }\n }\n return_targetInst = targetNode;\n return null;\n}\nfunction getEventPriority(domEventName) {\n switch (domEventName) {\n case \"beforetoggle\":\n case \"cancel\":\n case \"click\":\n case \"close\":\n case \"contextmenu\":\n case \"copy\":\n case \"cut\":\n case \"auxclick\":\n case \"dblclick\":\n case \"dragend\":\n case \"dragstart\":\n case \"drop\":\n case \"focusin\":\n case \"focusout\":\n case \"input\":\n case \"invalid\":\n case \"keydown\":\n case \"keypress\":\n case \"keyup\":\n case \"mousedown\":\n case \"mouseup\":\n case \"paste\":\n case \"pause\":\n case \"play\":\n case \"pointercancel\":\n case \"pointerdown\":\n case \"pointerup\":\n case \"ratechange\":\n case \"reset\":\n case \"seeked\":\n case \"submit\":\n case \"toggle\":\n case \"touchcancel\":\n case \"touchend\":\n case \"touchstart\":\n case \"volumechange\":\n case \"change\":\n case \"selectionchange\":\n case \"textInput\":\n case \"compositionstart\":\n case \"compositionend\":\n case \"compositionupdate\":\n case \"beforeblur\":\n case \"afterblur\":\n case \"beforeinput\":\n case \"blur\":\n case \"fullscreenchange\":\n case \"focus\":\n case \"hashchange\":\n case \"popstate\":\n case \"select\":\n case \"selectstart\":\n return 2;\n case \"drag\":\n case \"dragenter\":\n case \"dragexit\":\n case \"dragleave\":\n case \"dragover\":\n case \"mousemove\":\n case \"mouseout\":\n case \"mouseover\":\n case \"pointermove\":\n case \"pointerout\":\n case \"pointerover\":\n case \"resize\":\n case \"scroll\":\n case \"touchmove\":\n case \"wheel\":\n case \"mouseenter\":\n case \"mouseleave\":\n case \"pointerenter\":\n case \"pointerleave\":\n return 8;\n case \"message\":\n switch (getCurrentPriorityLevel()) {\n case ImmediatePriority:\n return 2;\n case UserBlockingPriority:\n return 8;\n case NormalPriority$1:\n case LowPriority:\n return 32;\n case IdlePriority:\n return 268435456;\n default:\n return 32;\n }\n default:\n return 32;\n }\n}\nvar hasScheduledReplayAttempt = !1,\n queuedFocus = null,\n queuedDrag = null,\n queuedMouse = null,\n queuedPointers = new Map(),\n queuedPointerCaptures = new Map(),\n queuedExplicitHydrationTargets = [],\n discreteReplayableEvents =\n \"mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset\".split(\n \" \"\n );\nfunction clearIfContinuousEvent(domEventName, nativeEvent) {\n switch (domEventName) {\n case \"focusin\":\n case \"focusout\":\n queuedFocus = null;\n break;\n case \"dragenter\":\n case \"dragleave\":\n queuedDrag = null;\n break;\n case \"mouseover\":\n case \"mouseout\":\n queuedMouse = null;\n break;\n case \"pointerover\":\n case \"pointerout\":\n queuedPointers.delete(nativeEvent.pointerId);\n break;\n case \"gotpointercapture\":\n case \"lostpointercapture\":\n queuedPointerCaptures.delete(nativeEvent.pointerId);\n }\n}\nfunction accumulateOrCreateContinuousQueuedReplayableEvent(\n existingQueuedEvent,\n blockedOn,\n domEventName,\n eventSystemFlags,\n targetContainer,\n nativeEvent\n) {\n if (\n null === existingQueuedEvent ||\n existingQueuedEvent.nativeEvent !== nativeEvent\n )\n return (\n (existingQueuedEvent = {\n blockedOn: blockedOn,\n domEventName: domEventName,\n eventSystemFlags: eventSystemFlags,\n nativeEvent: nativeEvent,\n targetContainers: [targetContainer]\n }),\n null !== blockedOn &&\n ((blockedOn = getInstanceFromNode(blockedOn)),\n null !== blockedOn && attemptContinuousHydration(blockedOn)),\n existingQueuedEvent\n );\n existingQueuedEvent.eventSystemFlags |= eventSystemFlags;\n blockedOn = existingQueuedEvent.targetContainers;\n null !== targetContainer &&\n -1 === blockedOn.indexOf(targetContainer) &&\n blockedOn.push(targetContainer);\n return existingQueuedEvent;\n}\nfunction queueIfContinuousEvent(\n blockedOn,\n domEventName,\n eventSystemFlags,\n targetContainer,\n nativeEvent\n) {\n switch (domEventName) {\n case \"focusin\":\n return (\n (queuedFocus = accumulateOrCreateContinuousQueuedReplayableEvent(\n queuedFocus,\n blockedOn,\n domEventName,\n eventSystemFlags,\n targetContainer,\n nativeEvent\n )),\n !0\n );\n case \"dragenter\":\n return (\n (queuedDrag = accumulateOrCreateContinuousQueuedReplayableEvent(\n queuedDrag,\n blockedOn,\n domEventName,\n eventSystemFlags,\n targetContainer,\n nativeEvent\n )),\n !0\n );\n case \"mouseover\":\n return (\n (queuedMouse = accumulateOrCreateContinuousQueuedReplayableEvent(\n queuedMouse,\n blockedOn,\n domEventName,\n eventSystemFlags,\n targetContainer,\n nativeEvent\n )),\n !0\n );\n case \"pointerover\":\n var pointerId = nativeEvent.pointerId;\n queuedPointers.set(\n pointerId,\n accumulateOrCreateContinuousQueuedReplayableEvent(\n queuedPointers.get(pointerId) || null,\n blockedOn,\n domEventName,\n eventSystemFlags,\n targetContainer,\n nativeEvent\n )\n );\n return !0;\n case \"gotpointercapture\":\n return (\n (pointerId = nativeEvent.pointerId),\n queuedPointerCaptures.set(\n pointerId,\n accumulateOrCreateContinuousQueuedReplayableEvent(\n queuedPointerCaptures.get(pointerId) || null,\n blockedOn,\n domEventName,\n eventSystemFlags,\n targetContainer,\n nativeEvent\n )\n ),\n !0\n );\n }\n return !1;\n}\nfunction attemptExplicitHydrationTarget(queuedTarget) {\n var targetInst = getClosestInstanceFromNode(queuedTarget.target);\n if (null !== targetInst) {\n var nearestMounted = getNearestMountedFiber(targetInst);\n if (null !== nearestMounted)\n if (((targetInst = nearestMounted.tag), 13 === targetInst)) {\n if (\n ((targetInst = getSuspenseInstanceFromFiber(nearestMounted)),\n null !== targetInst)\n ) {\n queuedTarget.blockedOn = targetInst;\n runWithPriority(queuedTarget.priority, function () {\n attemptHydrationAtCurrentPriority(nearestMounted);\n });\n return;\n }\n } else if (31 === targetInst) {\n if (\n ((targetInst = getActivityInstanceFromFiber(nearestMounted)),\n null !== targetInst)\n ) {\n queuedTarget.blockedOn = targetInst;\n runWithPriority(queuedTarget.priority, function () {\n attemptHydrationAtCurrentPriority(nearestMounted);\n });\n return;\n }\n } else if (\n 3 === targetInst &&\n nearestMounted.stateNode.current.memoizedState.isDehydrated\n ) {\n queuedTarget.blockedOn =\n 3 === nearestMounted.tag\n ? nearestMounted.stateNode.containerInfo\n : null;\n return;\n }\n }\n queuedTarget.blockedOn = null;\n}\nfunction attemptReplayContinuousQueuedEvent(queuedEvent) {\n if (null !== queuedEvent.blockedOn) return !1;\n for (\n var targetContainers = queuedEvent.targetContainers;\n 0 < targetContainers.length;\n\n ) {\n var nextBlockedOn = findInstanceBlockingEvent(queuedEvent.nativeEvent);\n if (null === nextBlockedOn) {\n nextBlockedOn = queuedEvent.nativeEvent;\n var nativeEventClone = new nextBlockedOn.constructor(\n nextBlockedOn.type,\n nextBlockedOn\n );\n currentReplayingEvent = nativeEventClone;\n nextBlockedOn.target.dispatchEvent(nativeEventClone);\n currentReplayingEvent = null;\n } else\n return (\n (targetContainers = getInstanceFromNode(nextBlockedOn)),\n null !== targetContainers &&\n attemptContinuousHydration(targetContainers),\n (queuedEvent.blockedOn = nextBlockedOn),\n !1\n );\n targetContainers.shift();\n }\n return !0;\n}\nfunction attemptReplayContinuousQueuedEventInMap(queuedEvent, key, map) {\n attemptReplayContinuousQueuedEvent(queuedEvent) && map.delete(key);\n}\nfunction replayUnblockedEvents() {\n hasScheduledReplayAttempt = !1;\n null !== queuedFocus &&\n attemptReplayContinuousQueuedEvent(queuedFocus) &&\n (queuedFocus = null);\n null !== queuedDrag &&\n attemptReplayContinuousQueuedEvent(queuedDrag) &&\n (queuedDrag = null);\n null !== queuedMouse &&\n attemptReplayContinuousQueuedEvent(queuedMouse) &&\n (queuedMouse = null);\n queuedPointers.forEach(attemptReplayContinuousQueuedEventInMap);\n queuedPointerCaptures.forEach(attemptReplayContinuousQueuedEventInMap);\n}\nfunction scheduleCallbackIfUnblocked(queuedEvent, unblocked) {\n queuedEvent.blockedOn === unblocked &&\n ((queuedEvent.blockedOn = null),\n hasScheduledReplayAttempt ||\n ((hasScheduledReplayAttempt = !0),\n Scheduler.unstable_scheduleCallback(\n Scheduler.unstable_NormalPriority,\n replayUnblockedEvents\n )));\n}\nvar lastScheduledReplayQueue = null;\nfunction scheduleReplayQueueIfNeeded(formReplayingQueue) {\n lastScheduledReplayQueue !== formReplayingQueue &&\n ((lastScheduledReplayQueue = formReplayingQueue),\n Scheduler.unstable_scheduleCallback(\n Scheduler.unstable_NormalPriority,\n function () {\n lastScheduledReplayQueue === formReplayingQueue &&\n (lastScheduledReplayQueue = null);\n for (var i = 0; i < formReplayingQueue.length; i += 3) {\n var form = formReplayingQueue[i],\n submitterOrAction = formReplayingQueue[i + 1],\n formData = formReplayingQueue[i + 2];\n if (\"function\" !== typeof submitterOrAction)\n if (null === findInstanceBlockingTarget(submitterOrAction || form))\n continue;\n else break;\n var formInst = getInstanceFromNode(form);\n null !== formInst &&\n (formReplayingQueue.splice(i, 3),\n (i -= 3),\n startHostTransition(\n formInst,\n {\n pending: !0,\n data: formData,\n method: form.method,\n action: submitterOrAction\n },\n submitterOrAction,\n formData\n ));\n }\n }\n ));\n}\nfunction retryIfBlockedOn(unblocked) {\n function unblock(queuedEvent) {\n return scheduleCallbackIfUnblocked(queuedEvent, unblocked);\n }\n null !== queuedFocus && scheduleCallbackIfUnblocked(queuedFocus, unblocked);\n null !== queuedDrag && scheduleCallbackIfUnblocked(queuedDrag, unblocked);\n null !== queuedMouse && scheduleCallbackIfUnblocked(queuedMouse, unblocked);\n queuedPointers.forEach(unblock);\n queuedPointerCaptures.forEach(unblock);\n for (var i = 0; i < queuedExplicitHydrationTargets.length; i++) {\n var queuedTarget = queuedExplicitHydrationTargets[i];\n queuedTarget.blockedOn === unblocked && (queuedTarget.blockedOn = null);\n }\n for (\n ;\n 0 < queuedExplicitHydrationTargets.length &&\n ((i = queuedExplicitHydrationTargets[0]), null === i.blockedOn);\n\n )\n attemptExplicitHydrationTarget(i),\n null === i.blockedOn && queuedExplicitHydrationTargets.shift();\n i = (unblocked.ownerDocument || unblocked).$$reactFormReplay;\n if (null != i)\n for (queuedTarget = 0; queuedTarget < i.length; queuedTarget += 3) {\n var form = i[queuedTarget],\n submitterOrAction = i[queuedTarget + 1],\n formProps = form[internalPropsKey] || null;\n if (\"function\" === typeof submitterOrAction)\n formProps || scheduleReplayQueueIfNeeded(i);\n else if (formProps) {\n var action = null;\n if (submitterOrAction && submitterOrAction.hasAttribute(\"formAction\"))\n if (\n ((form = submitterOrAction),\n (formProps = submitterOrAction[internalPropsKey] || null))\n )\n action = formProps.formAction;\n else {\n if (null !== findInstanceBlockingTarget(form)) continue;\n }\n else action = formProps.action;\n \"function\" === typeof action\n ? (i[queuedTarget + 1] = action)\n : (i.splice(queuedTarget, 3), (queuedTarget -= 3));\n scheduleReplayQueueIfNeeded(i);\n }\n }\n}\nfunction defaultOnDefaultTransitionIndicator() {\n function handleNavigate(event) {\n event.canIntercept &&\n \"react-transition\" === event.info &&\n event.intercept({\n handler: function () {\n return new Promise(function (resolve) {\n return (pendingResolve = resolve);\n });\n },\n focusReset: \"manual\",\n scroll: \"manual\"\n });\n }\n function handleNavigateComplete() {\n null !== pendingResolve && (pendingResolve(), (pendingResolve = null));\n isCancelled || setTimeout(startFakeNavigation, 20);\n }\n function startFakeNavigation() {\n if (!isCancelled && !navigation.transition) {\n var currentEntry = navigation.currentEntry;\n currentEntry &&\n null != currentEntry.url &&\n navigation.navigate(currentEntry.url, {\n state: currentEntry.getState(),\n info: \"react-transition\",\n history: \"replace\"\n });\n }\n }\n if (\"object\" === typeof navigation) {\n var isCancelled = !1,\n pendingResolve = null;\n navigation.addEventListener(\"navigate\", handleNavigate);\n navigation.addEventListener(\"navigatesuccess\", handleNavigateComplete);\n navigation.addEventListener(\"navigateerror\", handleNavigateComplete);\n setTimeout(startFakeNavigation, 100);\n return function () {\n isCancelled = !0;\n navigation.removeEventListener(\"navigate\", handleNavigate);\n navigation.removeEventListener(\"navigatesuccess\", handleNavigateComplete);\n navigation.removeEventListener(\"navigateerror\", handleNavigateComplete);\n null !== pendingResolve && (pendingResolve(), (pendingResolve = null));\n };\n }\n}\nfunction ReactDOMRoot(internalRoot) {\n this._internalRoot = internalRoot;\n}\nReactDOMHydrationRoot.prototype.render = ReactDOMRoot.prototype.render =\n function (children) {\n var root = this._internalRoot;\n if (null === root) throw Error(formatProdErrorMessage(409));\n var current = root.current,\n lane = requestUpdateLane();\n updateContainerImpl(current, lane, children, root, null, null);\n };\nReactDOMHydrationRoot.prototype.unmount = ReactDOMRoot.prototype.unmount =\n function () {\n var root = this._internalRoot;\n if (null !== root) {\n this._internalRoot = null;\n var container = root.containerInfo;\n updateContainerImpl(root.current, 2, null, root, null, null);\n flushSyncWork$1();\n container[internalContainerInstanceKey] = null;\n }\n };\nfunction ReactDOMHydrationRoot(internalRoot) {\n this._internalRoot = internalRoot;\n}\nReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {\n if (target) {\n var updatePriority = resolveUpdatePriority();\n target = { blockedOn: null, target: target, priority: updatePriority };\n for (\n var i = 0;\n i < queuedExplicitHydrationTargets.length &&\n 0 !== updatePriority &&\n updatePriority < queuedExplicitHydrationTargets[i].priority;\n i++\n );\n queuedExplicitHydrationTargets.splice(i, 0, target);\n 0 === i && attemptExplicitHydrationTarget(target);\n }\n};\nvar isomorphicReactPackageVersion$jscomp$inline_2040 = React.version;\nif (\n \"19.3.0-canary-f93b9fd4-20251217\" !==\n isomorphicReactPackageVersion$jscomp$inline_2040\n)\n throw Error(\n formatProdErrorMessage(\n 527,\n isomorphicReactPackageVersion$jscomp$inline_2040,\n \"19.3.0-canary-f93b9fd4-20251217\"\n )\n );\nReactDOMSharedInternals.findDOMNode = function (componentOrElement) {\n var fiber = componentOrElement._reactInternals;\n if (void 0 === fiber) {\n if (\"function\" === typeof componentOrElement.render)\n throw Error(formatProdErrorMessage(188));\n componentOrElement = Object.keys(componentOrElement).join(\",\");\n throw Error(formatProdErrorMessage(268, componentOrElement));\n }\n componentOrElement = findCurrentFiberUsingSlowPath(fiber);\n componentOrElement =\n null !== componentOrElement\n ? findCurrentHostFiberImpl(componentOrElement)\n : null;\n componentOrElement =\n null === componentOrElement ? null : componentOrElement.stateNode;\n return componentOrElement;\n};\nvar internals$jscomp$inline_2628 = {\n bundleType: 0,\n version: \"19.3.0-canary-f93b9fd4-20251217\",\n rendererPackageName: \"react-dom\",\n currentDispatcherRef: ReactSharedInternals,\n reconcilerVersion: \"19.3.0-canary-f93b9fd4-20251217\"\n};\nif (\"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {\n var hook$jscomp$inline_2629 = __REACT_DEVTOOLS_GLOBAL_HOOK__;\n if (\n !hook$jscomp$inline_2629.isDisabled &&\n hook$jscomp$inline_2629.supportsFiber\n )\n try {\n (rendererID = hook$jscomp$inline_2629.inject(\n internals$jscomp$inline_2628\n )),\n (injectedHook = hook$jscomp$inline_2629);\n } catch (err) {}\n}\nexports.createRoot = function (container, options) {\n if (!isValidContainer(container)) throw Error(formatProdErrorMessage(299));\n var isStrictMode = !1,\n identifierPrefix = \"\",\n onUncaughtError = defaultOnUncaughtError,\n onCaughtError = defaultOnCaughtError,\n onRecoverableError = defaultOnRecoverableError;\n null !== options &&\n void 0 !== options &&\n (!0 === options.unstable_strictMode && (isStrictMode = !0),\n void 0 !== options.identifierPrefix &&\n (identifierPrefix = options.identifierPrefix),\n void 0 !== options.onUncaughtError &&\n (onUncaughtError = options.onUncaughtError),\n void 0 !== options.onCaughtError && (onCaughtError = options.onCaughtError),\n void 0 !== options.onRecoverableError &&\n (onRecoverableError = options.onRecoverableError));\n options = createFiberRoot(\n container,\n 1,\n !1,\n null,\n null,\n isStrictMode,\n identifierPrefix,\n null,\n onUncaughtError,\n onCaughtError,\n onRecoverableError,\n defaultOnDefaultTransitionIndicator\n );\n container[internalContainerInstanceKey] = options.current;\n listenToAllSupportedEvents(container);\n return new ReactDOMRoot(options);\n};\nexports.hydrateRoot = function (container, initialChildren, options) {\n if (!isValidContainer(container)) throw Error(formatProdErrorMessage(299));\n var isStrictMode = !1,\n identifierPrefix = \"\",\n onUncaughtError = defaultOnUncaughtError,\n onCaughtError = defaultOnCaughtError,\n onRecoverableError = defaultOnRecoverableError,\n formState = null;\n null !== options &&\n void 0 !== options &&\n (!0 === options.unstable_strictMode && (isStrictMode = !0),\n void 0 !== options.identifierPrefix &&\n (identifierPrefix = options.identifierPrefix),\n void 0 !== options.onUncaughtError &&\n (onUncaughtError = options.onUncaughtError),\n void 0 !== options.onCaughtError && (onCaughtError = options.onCaughtError),\n void 0 !== options.onRecoverableError &&\n (onRecoverableError = options.onRecoverableError),\n void 0 !== options.formState && (formState = options.formState));\n initialChildren = createFiberRoot(\n container,\n 1,\n !0,\n initialChildren,\n null != options ? options : null,\n isStrictMode,\n identifierPrefix,\n formState,\n onUncaughtError,\n onCaughtError,\n onRecoverableError,\n defaultOnDefaultTransitionIndicator\n );\n initialChildren.context = getContextForSubtree(null);\n options = initialChildren.current;\n isStrictMode = requestUpdateLane();\n isStrictMode = getBumpedLaneForHydrationByLane(isStrictMode);\n identifierPrefix = createUpdate(isStrictMode);\n identifierPrefix.callback = null;\n enqueueUpdate(options, identifierPrefix, isStrictMode);\n options = isStrictMode;\n initialChildren.current.lanes = options;\n markRootUpdated$1(initialChildren, options);\n ensureRootIsScheduled(initialChildren);\n container[internalContainerInstanceKey] = initialChildren.current;\n listenToAllSupportedEvents(container);\n return new ReactDOMHydrationRoot(initialChildren);\n};\nexports.version = \"19.3.0-canary-f93b9fd4-20251217\";\n","/**\n * @license React\n * react-dom.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and 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\n\"use strict\";\nvar React = require(\"next/dist/compiled/react\");\nfunction formatProdErrorMessage(code) {\n var url = \"https://react.dev/errors/\" + code;\n if (1 < arguments.length) {\n url += \"?args[]=\" + encodeURIComponent(arguments[1]);\n for (var i = 2; i < arguments.length; i++)\n url += \"&args[]=\" + encodeURIComponent(arguments[i]);\n }\n return (\n \"Minified React error #\" +\n code +\n \"; visit \" +\n url +\n \" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.\"\n );\n}\nfunction noop() {}\nvar Internals = {\n d: {\n f: noop,\n r: function () {\n throw Error(formatProdErrorMessage(522));\n },\n D: noop,\n C: noop,\n L: noop,\n m: noop,\n X: noop,\n S: noop,\n M: noop\n },\n p: 0,\n findDOMNode: null\n },\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_OPTIMISTIC_KEY = Symbol.for(\"react.optimistic_key\");\nfunction createPortal$1(children, containerInfo, implementation) {\n var key =\n 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;\n return {\n $$typeof: REACT_PORTAL_TYPE,\n key:\n null == key\n ? null\n : key === REACT_OPTIMISTIC_KEY\n ? REACT_OPTIMISTIC_KEY\n : \"\" + key,\n children: children,\n containerInfo: containerInfo,\n implementation: implementation\n };\n}\nvar ReactSharedInternals =\n React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;\nfunction getCrossOriginStringAs(as, input) {\n if (\"font\" === as) return \"\";\n if (\"string\" === typeof input)\n return \"use-credentials\" === input ? input : \"\";\n}\nexports.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =\n Internals;\nexports.createPortal = function (children, container) {\n var key =\n 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null;\n if (\n !container ||\n (1 !== container.nodeType &&\n 9 !== container.nodeType &&\n 11 !== container.nodeType)\n )\n throw Error(formatProdErrorMessage(299));\n return createPortal$1(children, container, null, key);\n};\nexports.flushSync = function (fn) {\n var previousTransition = ReactSharedInternals.T,\n previousUpdatePriority = Internals.p;\n try {\n if (((ReactSharedInternals.T = null), (Internals.p = 2), fn)) return fn();\n } finally {\n (ReactSharedInternals.T = previousTransition),\n (Internals.p = previousUpdatePriority),\n Internals.d.f();\n }\n};\nexports.preconnect = function (href, options) {\n \"string\" === typeof href &&\n (options\n ? ((options = options.crossOrigin),\n (options =\n \"string\" === typeof options\n ? \"use-credentials\" === options\n ? options\n : \"\"\n : void 0))\n : (options = null),\n Internals.d.C(href, options));\n};\nexports.prefetchDNS = function (href) {\n \"string\" === typeof href && Internals.d.D(href);\n};\nexports.preinit = function (href, options) {\n if (\"string\" === typeof href && options && \"string\" === typeof options.as) {\n var as = options.as,\n crossOrigin = getCrossOriginStringAs(as, options.crossOrigin),\n integrity =\n \"string\" === typeof options.integrity ? options.integrity : void 0,\n fetchPriority =\n \"string\" === typeof options.fetchPriority\n ? options.fetchPriority\n : void 0;\n \"style\" === as\n ? Internals.d.S(\n href,\n \"string\" === typeof options.precedence ? options.precedence : void 0,\n {\n crossOrigin: crossOrigin,\n integrity: integrity,\n fetchPriority: fetchPriority\n }\n )\n : \"script\" === as &&\n Internals.d.X(href, {\n crossOrigin: crossOrigin,\n integrity: integrity,\n fetchPriority: fetchPriority,\n nonce: \"string\" === typeof options.nonce ? options.nonce : void 0\n });\n }\n};\nexports.preinitModule = function (href, options) {\n if (\"string\" === typeof href)\n if (\"object\" === typeof options && null !== options) {\n if (null == options.as || \"script\" === options.as) {\n var crossOrigin = getCrossOriginStringAs(\n options.as,\n options.crossOrigin\n );\n Internals.d.M(href, {\n crossOrigin: crossOrigin,\n integrity:\n \"string\" === typeof options.integrity ? options.integrity : void 0,\n nonce: \"string\" === typeof options.nonce ? options.nonce : void 0\n });\n }\n } else null == options && Internals.d.M(href);\n};\nexports.preload = function (href, options) {\n if (\n \"string\" === typeof href &&\n \"object\" === typeof options &&\n null !== options &&\n \"string\" === typeof options.as\n ) {\n var as = options.as,\n crossOrigin = getCrossOriginStringAs(as, options.crossOrigin);\n Internals.d.L(href, as, {\n crossOrigin: crossOrigin,\n integrity:\n \"string\" === typeof options.integrity ? options.integrity : void 0,\n nonce: \"string\" === typeof options.nonce ? options.nonce : void 0,\n type: \"string\" === typeof options.type ? options.type : void 0,\n fetchPriority:\n \"string\" === typeof options.fetchPriority\n ? options.fetchPriority\n : void 0,\n referrerPolicy:\n \"string\" === typeof options.referrerPolicy\n ? options.referrerPolicy\n : void 0,\n imageSrcSet:\n \"string\" === typeof options.imageSrcSet ? options.imageSrcSet : void 0,\n imageSizes:\n \"string\" === typeof options.imageSizes ? options.imageSizes : void 0,\n media: \"string\" === typeof options.media ? options.media : void 0\n });\n }\n};\nexports.preloadModule = function (href, options) {\n if (\"string\" === typeof href)\n if (options) {\n var crossOrigin = getCrossOriginStringAs(options.as, options.crossOrigin);\n Internals.d.m(href, {\n as:\n \"string\" === typeof options.as && \"script\" !== options.as\n ? options.as\n : void 0,\n crossOrigin: crossOrigin,\n integrity:\n \"string\" === typeof options.integrity ? options.integrity : void 0\n });\n } else Internals.d.m(href);\n};\nexports.requestFormReset = function (form) {\n Internals.d.r(form);\n};\nexports.unstable_batchedUpdates = function (fn, a) {\n return fn(a);\n};\nexports.useFormState = function (action, initialState, permalink) {\n return ReactSharedInternals.H.useFormState(action, initialState, permalink);\n};\nexports.useFormStatus = function () {\n return ReactSharedInternals.H.useHostTransitionStatus();\n};\nexports.version = \"19.3.0-canary-f93b9fd4-20251217\";\n","'use strict';\n\nfunction checkDCE() {\n /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */\n if (\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined' ||\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== 'function'\n ) {\n return;\n }\n if (process.env.NODE_ENV !== 'production') {\n // This branch is unreachable because this function is only called\n // in production, but the condition is true only in development.\n // Therefore if the branch is still here, dead code elimination wasn't\n // properly applied.\n // Don't change the message. React DevTools relies on it. Also make sure\n // this message doesn't occur elsewhere in this function, or it will cause\n // a false positive.\n throw new Error('^_^');\n }\n try {\n // Verify that the code above has been dead code eliminated (DCE'd).\n __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);\n } catch (err) {\n // DevTools shouldn't crash React, no matter what.\n // We should still report in case we break this code.\n console.error(err);\n }\n}\n\nif (process.env.NODE_ENV === 'production') {\n // DCE check should happen before ReactDOM bundle executes so that\n // DevTools can report bad minification during injection.\n checkDCE();\n module.exports = require('./cjs/react-dom-client.production.js');\n} else {\n module.exports = require('./cjs/react-dom-client.development.js');\n}\n","'use strict';\n\nfunction checkDCE() {\n /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */\n if (\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined' ||\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== 'function'\n ) {\n return;\n }\n if (process.env.NODE_ENV !== 'production') {\n // This branch is unreachable because this function is only called\n // in production, but the condition is true only in development.\n // Therefore if the branch is still here, dead code elimination wasn't\n // properly applied.\n // Don't change the message. React DevTools relies on it. Also make sure\n // this message doesn't occur elsewhere in this function, or it will cause\n // a false positive.\n throw new Error('^_^');\n }\n try {\n // Verify that the code above has been dead code eliminated (DCE'd).\n __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);\n } catch (err) {\n // DevTools shouldn't crash React, no matter what.\n // We should still report in case we break this code.\n console.error(err);\n }\n}\n\nif (process.env.NODE_ENV === 'production') {\n // DCE check should happen before ReactDOM bundle executes so that\n // DevTools can report bad minification during injection.\n checkDCE();\n module.exports = require('./cjs/react-dom.production.js');\n} else {\n module.exports = require('./cjs/react-dom.development.js');\n}\n","/**\n * @license React\n * react-compiler-runtime.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and 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\n\"use strict\";\nvar ReactSharedInternals =\n require(\"next/dist/compiled/react\").__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;\nexports.c = function (size) {\n return ReactSharedInternals.H.useMemoCache(size);\n};\n","/**\n * @license React\n * react-jsx-runtime.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and 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\n\"use strict\";\nvar REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\");\nfunction jsxProd(type, config, maybeKey) {\n var key = null;\n void 0 !== maybeKey && (key = \"\" + maybeKey);\n void 0 !== config.key && (key = \"\" + config.key);\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n config = maybeKey.ref;\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n ref: void 0 !== config ? config : null,\n props: maybeKey\n };\n}\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsxProd;\nexports.jsxs = jsxProd;\n","/**\n * @license React\n * react.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and 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\n\"use strict\";\nvar REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\"),\n REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n REACT_VIEW_TRANSITION_TYPE = Symbol.for(\"react.view_transition\"),\n MAYBE_ITERATOR_SYMBOL = Symbol.iterator;\nfunction getIteratorFn(maybeIterable) {\n if (null === maybeIterable || \"object\" !== typeof maybeIterable) return null;\n maybeIterable =\n (MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) ||\n maybeIterable[\"@@iterator\"];\n return \"function\" === typeof maybeIterable ? maybeIterable : null;\n}\nvar ReactNoopUpdateQueue = {\n isMounted: function () {\n return !1;\n },\n enqueueForceUpdate: function () {},\n enqueueReplaceState: function () {},\n enqueueSetState: function () {}\n },\n assign = Object.assign,\n emptyObject = {};\nfunction Component(props, context, updater) {\n this.props = props;\n this.context = context;\n this.refs = emptyObject;\n this.updater = updater || ReactNoopUpdateQueue;\n}\nComponent.prototype.isReactComponent = {};\nComponent.prototype.setState = function (partialState, callback) {\n if (\n \"object\" !== typeof partialState &&\n \"function\" !== typeof partialState &&\n null != partialState\n )\n throw Error(\n \"takes an object of state variables to update or a function which returns an object of state variables.\"\n );\n this.updater.enqueueSetState(this, partialState, callback, \"setState\");\n};\nComponent.prototype.forceUpdate = function (callback) {\n this.updater.enqueueForceUpdate(this, callback, \"forceUpdate\");\n};\nfunction ComponentDummy() {}\nComponentDummy.prototype = Component.prototype;\nfunction PureComponent(props, context, updater) {\n this.props = props;\n this.context = context;\n this.refs = emptyObject;\n this.updater = updater || ReactNoopUpdateQueue;\n}\nvar pureComponentPrototype = (PureComponent.prototype = new ComponentDummy());\npureComponentPrototype.constructor = PureComponent;\nassign(pureComponentPrototype, Component.prototype);\npureComponentPrototype.isPureReactComponent = !0;\nvar isArrayImpl = Array.isArray;\nfunction noop() {}\nvar ReactSharedInternals = { H: null, A: null, T: null, S: null },\n hasOwnProperty = Object.prototype.hasOwnProperty;\nfunction ReactElement(type, key, props) {\n var refProp = props.ref;\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n ref: void 0 !== refProp ? refProp : null,\n props: props\n };\n}\nfunction cloneAndReplaceKey(oldElement, newKey) {\n return ReactElement(oldElement.type, newKey, oldElement.props);\n}\nfunction isValidElement(object) {\n return (\n \"object\" === typeof object &&\n null !== object &&\n object.$$typeof === REACT_ELEMENT_TYPE\n );\n}\nfunction escape(key) {\n var escaperLookup = { \"=\": \"=0\", \":\": \"=2\" };\n return (\n \"$\" +\n key.replace(/[=:]/g, function (match) {\n return escaperLookup[match];\n })\n );\n}\nvar userProvidedKeyEscapeRegex = /\\/+/g;\nfunction getElementKey(element, index) {\n return \"object\" === typeof element && null !== element && null != element.key\n ? escape(\"\" + element.key)\n : index.toString(36);\n}\nfunction resolveThenable(thenable) {\n switch (thenable.status) {\n case \"fulfilled\":\n return thenable.value;\n case \"rejected\":\n throw thenable.reason;\n default:\n switch (\n (\"string\" === typeof thenable.status\n ? thenable.then(noop, noop)\n : ((thenable.status = \"pending\"),\n thenable.then(\n function (fulfilledValue) {\n \"pending\" === thenable.status &&\n ((thenable.status = \"fulfilled\"),\n (thenable.value = fulfilledValue));\n },\n function (error) {\n \"pending\" === thenable.status &&\n ((thenable.status = \"rejected\"), (thenable.reason = error));\n }\n )),\n thenable.status)\n ) {\n case \"fulfilled\":\n return thenable.value;\n case \"rejected\":\n throw thenable.reason;\n }\n }\n throw thenable;\n}\nfunction mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {\n var type = typeof children;\n if (\"undefined\" === type || \"boolean\" === type) children = null;\n var invokeCallback = !1;\n if (null === children) invokeCallback = !0;\n else\n switch (type) {\n case \"bigint\":\n case \"string\":\n case \"number\":\n invokeCallback = !0;\n break;\n case \"object\":\n switch (children.$$typeof) {\n case REACT_ELEMENT_TYPE:\n case REACT_PORTAL_TYPE:\n invokeCallback = !0;\n break;\n case REACT_LAZY_TYPE:\n return (\n (invokeCallback = children._init),\n mapIntoArray(\n invokeCallback(children._payload),\n array,\n escapedPrefix,\n nameSoFar,\n callback\n )\n );\n }\n }\n if (invokeCallback)\n return (\n (callback = callback(children)),\n (invokeCallback =\n \"\" === nameSoFar ? \".\" + getElementKey(children, 0) : nameSoFar),\n isArrayImpl(callback)\n ? ((escapedPrefix = \"\"),\n null != invokeCallback &&\n (escapedPrefix =\n invokeCallback.replace(userProvidedKeyEscapeRegex, \"$&/\") + \"/\"),\n mapIntoArray(callback, array, escapedPrefix, \"\", function (c) {\n return c;\n }))\n : null != callback &&\n (isValidElement(callback) &&\n (callback = cloneAndReplaceKey(\n callback,\n escapedPrefix +\n (null == callback.key ||\n (children && children.key === callback.key)\n ? \"\"\n : (\"\" + callback.key).replace(\n userProvidedKeyEscapeRegex,\n \"$&/\"\n ) + \"/\") +\n invokeCallback\n )),\n array.push(callback)),\n 1\n );\n invokeCallback = 0;\n var nextNamePrefix = \"\" === nameSoFar ? \".\" : nameSoFar + \":\";\n if (isArrayImpl(children))\n for (var i = 0; i < children.length; i++)\n (nameSoFar = children[i]),\n (type = nextNamePrefix + getElementKey(nameSoFar, i)),\n (invokeCallback += mapIntoArray(\n nameSoFar,\n array,\n escapedPrefix,\n type,\n callback\n ));\n else if (((i = getIteratorFn(children)), \"function\" === typeof i))\n for (\n children = i.call(children), i = 0;\n !(nameSoFar = children.next()).done;\n\n )\n (nameSoFar = nameSoFar.value),\n (type = nextNamePrefix + getElementKey(nameSoFar, i++)),\n (invokeCallback += mapIntoArray(\n nameSoFar,\n array,\n escapedPrefix,\n type,\n callback\n ));\n else if (\"object\" === type) {\n if (\"function\" === typeof children.then)\n return mapIntoArray(\n resolveThenable(children),\n array,\n escapedPrefix,\n nameSoFar,\n callback\n );\n array = String(children);\n throw Error(\n \"Objects are not valid as a React child (found: \" +\n (\"[object Object]\" === array\n ? \"object with keys {\" + Object.keys(children).join(\", \") + \"}\"\n : array) +\n \"). If you meant to render a collection of children, use an array instead.\"\n );\n }\n return invokeCallback;\n}\nfunction mapChildren(children, func, context) {\n if (null == children) return children;\n var result = [],\n count = 0;\n mapIntoArray(children, result, \"\", \"\", function (child) {\n return func.call(context, child, count++);\n });\n return result;\n}\nfunction lazyInitializer(payload) {\n if (-1 === payload._status) {\n var ctor = payload._result;\n ctor = ctor();\n ctor.then(\n function (moduleObject) {\n if (0 === payload._status || -1 === payload._status)\n (payload._status = 1), (payload._result = moduleObject);\n },\n function (error) {\n if (0 === payload._status || -1 === payload._status)\n (payload._status = 2), (payload._result = error);\n }\n );\n -1 === payload._status && ((payload._status = 0), (payload._result = ctor));\n }\n if (1 === payload._status) return payload._result.default;\n throw payload._result;\n}\nvar reportGlobalError =\n \"function\" === typeof reportError\n ? reportError\n : function (error) {\n if (\n \"object\" === typeof window &&\n \"function\" === typeof window.ErrorEvent\n ) {\n var event = new window.ErrorEvent(\"error\", {\n bubbles: !0,\n cancelable: !0,\n message:\n \"object\" === typeof error &&\n null !== error &&\n \"string\" === typeof error.message\n ? String(error.message)\n : String(error),\n error: error\n });\n if (!window.dispatchEvent(event)) return;\n } else if (\n \"object\" === typeof process &&\n \"function\" === typeof process.emit\n ) {\n process.emit(\"uncaughtException\", error);\n return;\n }\n console.error(error);\n };\nfunction startTransition(scope) {\n var prevTransition = ReactSharedInternals.T,\n currentTransition = {};\n currentTransition.types =\n null !== prevTransition ? prevTransition.types : null;\n ReactSharedInternals.T = currentTransition;\n try {\n var returnValue = scope(),\n onStartTransitionFinish = ReactSharedInternals.S;\n null !== onStartTransitionFinish &&\n onStartTransitionFinish(currentTransition, returnValue);\n \"object\" === typeof returnValue &&\n null !== returnValue &&\n \"function\" === typeof returnValue.then &&\n returnValue.then(noop, reportGlobalError);\n } catch (error) {\n reportGlobalError(error);\n } finally {\n null !== prevTransition &&\n null !== currentTransition.types &&\n (prevTransition.types = currentTransition.types),\n (ReactSharedInternals.T = prevTransition);\n }\n}\nfunction addTransitionType(type) {\n var transition = ReactSharedInternals.T;\n if (null !== transition) {\n var transitionTypes = transition.types;\n null === transitionTypes\n ? (transition.types = [type])\n : -1 === transitionTypes.indexOf(type) && transitionTypes.push(type);\n } else startTransition(addTransitionType.bind(null, type));\n}\nvar Children = {\n map: mapChildren,\n forEach: function (children, forEachFunc, forEachContext) {\n mapChildren(\n children,\n function () {\n forEachFunc.apply(this, arguments);\n },\n forEachContext\n );\n },\n count: function (children) {\n var n = 0;\n mapChildren(children, function () {\n n++;\n });\n return n;\n },\n toArray: function (children) {\n return (\n mapChildren(children, function (child) {\n return child;\n }) || []\n );\n },\n only: function (children) {\n if (!isValidElement(children))\n throw Error(\n \"React.Children.only expected to receive a single React element child.\"\n );\n return children;\n }\n};\nexports.Activity = REACT_ACTIVITY_TYPE;\nexports.Children = Children;\nexports.Component = Component;\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.Profiler = REACT_PROFILER_TYPE;\nexports.PureComponent = PureComponent;\nexports.StrictMode = REACT_STRICT_MODE_TYPE;\nexports.Suspense = REACT_SUSPENSE_TYPE;\nexports.ViewTransition = REACT_VIEW_TRANSITION_TYPE;\nexports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =\n ReactSharedInternals;\nexports.__COMPILER_RUNTIME = {\n __proto__: null,\n c: function (size) {\n return ReactSharedInternals.H.useMemoCache(size);\n }\n};\nexports.addTransitionType = addTransitionType;\nexports.cache = function (fn) {\n return function () {\n return fn.apply(null, arguments);\n };\n};\nexports.cacheSignal = function () {\n return null;\n};\nexports.cloneElement = function (element, config, children) {\n if (null === element || void 0 === element)\n throw Error(\n \"The argument must be a React element, but you passed \" + element + \".\"\n );\n var props = assign({}, element.props),\n key = element.key;\n if (null != config)\n for (propName in (void 0 !== config.key && (key = \"\" + config.key), config))\n !hasOwnProperty.call(config, propName) ||\n \"key\" === propName ||\n \"__self\" === propName ||\n \"__source\" === propName ||\n (\"ref\" === propName && void 0 === config.ref) ||\n (props[propName] = config[propName]);\n var propName = arguments.length - 2;\n if (1 === propName) props.children = children;\n else if (1 < propName) {\n for (var childArray = Array(propName), i = 0; i < propName; i++)\n childArray[i] = arguments[i + 2];\n props.children = childArray;\n }\n return ReactElement(element.type, key, props);\n};\nexports.createContext = function (defaultValue) {\n defaultValue = {\n $$typeof: REACT_CONTEXT_TYPE,\n _currentValue: defaultValue,\n _currentValue2: defaultValue,\n _threadCount: 0,\n Provider: null,\n Consumer: null\n };\n defaultValue.Provider = defaultValue;\n defaultValue.Consumer = {\n $$typeof: REACT_CONSUMER_TYPE,\n _context: defaultValue\n };\n return defaultValue;\n};\nexports.createElement = function (type, config, children) {\n var propName,\n props = {},\n key = null;\n if (null != config)\n for (propName in (void 0 !== config.key && (key = \"\" + config.key), config))\n hasOwnProperty.call(config, propName) &&\n \"key\" !== propName &&\n \"__self\" !== propName &&\n \"__source\" !== propName &&\n (props[propName] = config[propName]);\n var childrenLength = arguments.length - 2;\n if (1 === childrenLength) props.children = children;\n else if (1 < childrenLength) {\n for (var childArray = Array(childrenLength), i = 0; i < childrenLength; i++)\n childArray[i] = arguments[i + 2];\n props.children = childArray;\n }\n if (type && type.defaultProps)\n for (propName in ((childrenLength = type.defaultProps), childrenLength))\n void 0 === props[propName] &&\n (props[propName] = childrenLength[propName]);\n return ReactElement(type, key, props);\n};\nexports.createRef = function () {\n return { current: null };\n};\nexports.forwardRef = function (render) {\n return { $$typeof: REACT_FORWARD_REF_TYPE, render: render };\n};\nexports.isValidElement = isValidElement;\nexports.lazy = function (ctor) {\n return {\n $$typeof: REACT_LAZY_TYPE,\n _payload: { _status: -1, _result: ctor },\n _init: lazyInitializer\n };\n};\nexports.memo = function (type, compare) {\n return {\n $$typeof: REACT_MEMO_TYPE,\n type: type,\n compare: void 0 === compare ? null : compare\n };\n};\nexports.startTransition = startTransition;\nexports.unstable_useCacheRefresh = function () {\n return ReactSharedInternals.H.useCacheRefresh();\n};\nexports.use = function (usable) {\n return ReactSharedInternals.H.use(usable);\n};\nexports.useActionState = function (action, initialState, permalink) {\n return ReactSharedInternals.H.useActionState(action, initialState, permalink);\n};\nexports.useCallback = function (callback, deps) {\n return ReactSharedInternals.H.useCallback(callback, deps);\n};\nexports.useContext = function (Context) {\n return ReactSharedInternals.H.useContext(Context);\n};\nexports.useDebugValue = function () {};\nexports.useDeferredValue = function (value, initialValue) {\n return ReactSharedInternals.H.useDeferredValue(value, initialValue);\n};\nexports.useEffect = function (create, deps) {\n return ReactSharedInternals.H.useEffect(create, deps);\n};\nexports.useEffectEvent = function (callback) {\n return ReactSharedInternals.H.useEffectEvent(callback);\n};\nexports.useId = function () {\n return ReactSharedInternals.H.useId();\n};\nexports.useImperativeHandle = function (ref, create, deps) {\n return ReactSharedInternals.H.useImperativeHandle(ref, create, deps);\n};\nexports.useInsertionEffect = function (create, deps) {\n return ReactSharedInternals.H.useInsertionEffect(create, deps);\n};\nexports.useLayoutEffect = function (create, deps) {\n return ReactSharedInternals.H.useLayoutEffect(create, deps);\n};\nexports.useMemo = function (create, deps) {\n return ReactSharedInternals.H.useMemo(create, deps);\n};\nexports.useOptimistic = function (passthrough, reducer) {\n return ReactSharedInternals.H.useOptimistic(passthrough, reducer);\n};\nexports.useReducer = function (reducer, initialArg, init) {\n return ReactSharedInternals.H.useReducer(reducer, initialArg, init);\n};\nexports.useRef = function (initialValue) {\n return ReactSharedInternals.H.useRef(initialValue);\n};\nexports.useState = function (initialState) {\n return ReactSharedInternals.H.useState(initialState);\n};\nexports.useSyncExternalStore = function (\n subscribe,\n getSnapshot,\n getServerSnapshot\n) {\n return ReactSharedInternals.H.useSyncExternalStore(\n subscribe,\n getSnapshot,\n getServerSnapshot\n );\n};\nexports.useTransition = function () {\n return ReactSharedInternals.H.useTransition();\n};\nexports.version = \"19.3.0-canary-f93b9fd4-20251217\";\n","/**\n * Copyright (c) Meta Platforms, Inc. and 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\n'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-compiler-runtime.production.js');\n} else {\n module.exports = require('./cjs/react-compiler-runtime.development.js');\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react.production.js');\n} else {\n module.exports = require('./cjs/react.development.js');\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","/**\n * @license React\n * scheduler.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and 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\n\"use strict\";\nfunction push(heap, node) {\n var index = heap.length;\n heap.push(node);\n a: for (; 0 < index; ) {\n var parentIndex = (index - 1) >>> 1,\n parent = heap[parentIndex];\n if (0 < compare(parent, node))\n (heap[parentIndex] = node), (heap[index] = parent), (index = parentIndex);\n else break a;\n }\n}\nfunction peek(heap) {\n return 0 === heap.length ? null : heap[0];\n}\nfunction pop(heap) {\n if (0 === heap.length) return null;\n var first = heap[0],\n last = heap.pop();\n if (last !== first) {\n heap[0] = last;\n a: for (\n var index = 0, length = heap.length, halfLength = length >>> 1;\n index < halfLength;\n\n ) {\n var leftIndex = 2 * (index + 1) - 1,\n left = heap[leftIndex],\n rightIndex = leftIndex + 1,\n right = heap[rightIndex];\n if (0 > compare(left, last))\n rightIndex < length && 0 > compare(right, left)\n ? ((heap[index] = right),\n (heap[rightIndex] = last),\n (index = rightIndex))\n : ((heap[index] = left),\n (heap[leftIndex] = last),\n (index = leftIndex));\n else if (rightIndex < length && 0 > compare(right, last))\n (heap[index] = right), (heap[rightIndex] = last), (index = rightIndex);\n else break a;\n }\n }\n return first;\n}\nfunction compare(a, b) {\n var diff = a.sortIndex - b.sortIndex;\n return 0 !== diff ? diff : a.id - b.id;\n}\nexports.unstable_now = void 0;\nif (\"object\" === typeof performance && \"function\" === typeof performance.now) {\n var localPerformance = performance;\n exports.unstable_now = function () {\n return localPerformance.now();\n };\n} else {\n var localDate = Date,\n initialTime = localDate.now();\n exports.unstable_now = function () {\n return localDate.now() - initialTime;\n };\n}\nvar taskQueue = [],\n timerQueue = [],\n taskIdCounter = 1,\n currentTask = null,\n currentPriorityLevel = 3,\n isPerformingWork = !1,\n isHostCallbackScheduled = !1,\n isHostTimeoutScheduled = !1,\n needsPaint = !1,\n localSetTimeout = \"function\" === typeof setTimeout ? setTimeout : null,\n localClearTimeout = \"function\" === typeof clearTimeout ? clearTimeout : null,\n localSetImmediate = \"undefined\" !== typeof setImmediate ? setImmediate : null;\nfunction advanceTimers(currentTime) {\n for (var timer = peek(timerQueue); null !== timer; ) {\n if (null === timer.callback) pop(timerQueue);\n else if (timer.startTime <= currentTime)\n pop(timerQueue),\n (timer.sortIndex = timer.expirationTime),\n push(taskQueue, timer);\n else break;\n timer = peek(timerQueue);\n }\n}\nfunction handleTimeout(currentTime) {\n isHostTimeoutScheduled = !1;\n advanceTimers(currentTime);\n if (!isHostCallbackScheduled)\n if (null !== peek(taskQueue))\n (isHostCallbackScheduled = !0),\n isMessageLoopRunning ||\n ((isMessageLoopRunning = !0), schedulePerformWorkUntilDeadline());\n else {\n var firstTimer = peek(timerQueue);\n null !== firstTimer &&\n requestHostTimeout(handleTimeout, firstTimer.startTime - currentTime);\n }\n}\nvar isMessageLoopRunning = !1,\n taskTimeoutID = -1,\n frameInterval = 5,\n startTime = -1;\nfunction shouldYieldToHost() {\n return needsPaint\n ? !0\n : exports.unstable_now() - startTime < frameInterval\n ? !1\n : !0;\n}\nfunction performWorkUntilDeadline() {\n needsPaint = !1;\n if (isMessageLoopRunning) {\n var currentTime = exports.unstable_now();\n startTime = currentTime;\n var hasMoreWork = !0;\n try {\n a: {\n isHostCallbackScheduled = !1;\n isHostTimeoutScheduled &&\n ((isHostTimeoutScheduled = !1),\n localClearTimeout(taskTimeoutID),\n (taskTimeoutID = -1));\n isPerformingWork = !0;\n var previousPriorityLevel = currentPriorityLevel;\n try {\n b: {\n advanceTimers(currentTime);\n for (\n currentTask = peek(taskQueue);\n null !== currentTask &&\n !(\n currentTask.expirationTime > currentTime && shouldYieldToHost()\n );\n\n ) {\n var callback = currentTask.callback;\n if (\"function\" === typeof callback) {\n currentTask.callback = null;\n currentPriorityLevel = currentTask.priorityLevel;\n var continuationCallback = callback(\n currentTask.expirationTime <= currentTime\n );\n currentTime = exports.unstable_now();\n if (\"function\" === typeof continuationCallback) {\n currentTask.callback = continuationCallback;\n advanceTimers(currentTime);\n hasMoreWork = !0;\n break b;\n }\n currentTask === peek(taskQueue) && pop(taskQueue);\n advanceTimers(currentTime);\n } else pop(taskQueue);\n currentTask = peek(taskQueue);\n }\n if (null !== currentTask) hasMoreWork = !0;\n else {\n var firstTimer = peek(timerQueue);\n null !== firstTimer &&\n requestHostTimeout(\n handleTimeout,\n firstTimer.startTime - currentTime\n );\n hasMoreWork = !1;\n }\n }\n break a;\n } finally {\n (currentTask = null),\n (currentPriorityLevel = previousPriorityLevel),\n (isPerformingWork = !1);\n }\n hasMoreWork = void 0;\n }\n } finally {\n hasMoreWork\n ? schedulePerformWorkUntilDeadline()\n : (isMessageLoopRunning = !1);\n }\n }\n}\nvar schedulePerformWorkUntilDeadline;\nif (\"function\" === typeof localSetImmediate)\n schedulePerformWorkUntilDeadline = function () {\n localSetImmediate(performWorkUntilDeadline);\n };\nelse if (\"undefined\" !== typeof MessageChannel) {\n var channel = new MessageChannel(),\n port = channel.port2;\n channel.port1.onmessage = performWorkUntilDeadline;\n schedulePerformWorkUntilDeadline = function () {\n port.postMessage(null);\n };\n} else\n schedulePerformWorkUntilDeadline = function () {\n localSetTimeout(performWorkUntilDeadline, 0);\n };\nfunction requestHostTimeout(callback, ms) {\n taskTimeoutID = localSetTimeout(function () {\n callback(exports.unstable_now());\n }, ms);\n}\nexports.unstable_IdlePriority = 5;\nexports.unstable_ImmediatePriority = 1;\nexports.unstable_LowPriority = 4;\nexports.unstable_NormalPriority = 3;\nexports.unstable_Profiling = null;\nexports.unstable_UserBlockingPriority = 2;\nexports.unstable_cancelCallback = function (task) {\n task.callback = null;\n};\nexports.unstable_forceFrameRate = function (fps) {\n 0 > fps || 125 < fps\n ? console.error(\n \"forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported\"\n )\n : (frameInterval = 0 < fps ? Math.floor(1e3 / fps) : 5);\n};\nexports.unstable_getCurrentPriorityLevel = function () {\n return currentPriorityLevel;\n};\nexports.unstable_next = function (eventHandler) {\n switch (currentPriorityLevel) {\n case 1:\n case 2:\n case 3:\n var priorityLevel = 3;\n break;\n default:\n priorityLevel = currentPriorityLevel;\n }\n var previousPriorityLevel = currentPriorityLevel;\n currentPriorityLevel = priorityLevel;\n try {\n return eventHandler();\n } finally {\n currentPriorityLevel = previousPriorityLevel;\n }\n};\nexports.unstable_requestPaint = function () {\n needsPaint = !0;\n};\nexports.unstable_runWithPriority = function (priorityLevel, eventHandler) {\n switch (priorityLevel) {\n case 1:\n case 2:\n case 3:\n case 4:\n case 5:\n break;\n default:\n priorityLevel = 3;\n }\n var previousPriorityLevel = currentPriorityLevel;\n currentPriorityLevel = priorityLevel;\n try {\n return eventHandler();\n } finally {\n currentPriorityLevel = previousPriorityLevel;\n }\n};\nexports.unstable_scheduleCallback = function (\n priorityLevel,\n callback,\n options\n) {\n var currentTime = exports.unstable_now();\n \"object\" === typeof options && null !== options\n ? ((options = options.delay),\n (options =\n \"number\" === typeof options && 0 < options\n ? currentTime + options\n : currentTime))\n : (options = currentTime);\n switch (priorityLevel) {\n case 1:\n var timeout = -1;\n break;\n case 2:\n timeout = 250;\n break;\n case 5:\n timeout = 1073741823;\n break;\n case 4:\n timeout = 1e4;\n break;\n default:\n timeout = 5e3;\n }\n timeout = options + timeout;\n priorityLevel = {\n id: taskIdCounter++,\n callback: callback,\n priorityLevel: priorityLevel,\n startTime: options,\n expirationTime: timeout,\n sortIndex: -1\n };\n options > currentTime\n ? ((priorityLevel.sortIndex = options),\n push(timerQueue, priorityLevel),\n null === peek(taskQueue) &&\n priorityLevel === peek(timerQueue) &&\n (isHostTimeoutScheduled\n ? (localClearTimeout(taskTimeoutID), (taskTimeoutID = -1))\n : (isHostTimeoutScheduled = !0),\n requestHostTimeout(handleTimeout, options - currentTime)))\n : ((priorityLevel.sortIndex = timeout),\n push(taskQueue, priorityLevel),\n isHostCallbackScheduled ||\n isPerformingWork ||\n ((isHostCallbackScheduled = !0),\n isMessageLoopRunning ||\n ((isMessageLoopRunning = !0), schedulePerformWorkUntilDeadline())));\n return priorityLevel;\n};\nexports.unstable_shouldYield = shouldYieldToHost;\nexports.unstable_wrapCallback = function (callback) {\n var parentPriorityLevel = currentPriorityLevel;\n return function () {\n var previousPriorityLevel = currentPriorityLevel;\n currentPriorityLevel = parentPriorityLevel;\n try {\n return callback.apply(this, arguments);\n } finally {\n currentPriorityLevel = previousPriorityLevel;\n }\n };\n};\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/scheduler.production.js');\n} else {\n module.exports = require('./cjs/scheduler.development.js');\n}\n","(()=>{\"use strict\";if(typeof __nccwpck_require__!==\"undefined\")__nccwpck_require__.ab=__dirname+\"/\";var e={};(()=>{var r=e;Object.defineProperty(r,\"__esModule\",{value:true});var n=\"<unknown>\";function parse(e){var r=e.split(\"\\n\");return r.reduce((function(e,r){var n=parseChrome(r)||parseWinjs(r)||parseGecko(r)||parseNode(r)||parseJSC(r);if(n){e.push(n)}return e}),[])}var a=/^\\s*at (.*?) ?\\(((?:file|https?|blob|chrome-extension|native|eval|webpack|webpack-internal|rsc|about|turbopack|<anonymous>|\\/|[a-z]:\\\\|\\\\\\\\).*?)(?::(\\d+))?(?::(\\d+))?\\)?\\s*$/i;var u=/\\((\\S*)(?::(\\d+))(?::(\\d+))\\)/;function parseChrome(e){var r=a.exec(e);if(!r){return null}var l=r[2]&&r[2].indexOf(\"native\")===0;var t=r[2]&&r[2].indexOf(\"eval\")===0;var i=u.exec(r[2]);if(t&&i!=null){r[2]=i[1];r[3]=i[2];r[4]=i[3]}return{file:!l?r[2]:null,methodName:r[1]||n,arguments:l?[r[2]]:[],lineNumber:r[3]?+r[3]:null,column:r[4]?+r[4]:null}}var l=/^\\s*at (?:((?:\\[object object\\])?.+) )?\\(?((?:file|ms-appx|https?|webpack|webpack-internal|rsc|about|turbopack|blob):.*?):(\\d+)(?::(\\d+))?\\)?\\s*$/i;function parseWinjs(e){var r=l.exec(e);if(!r){return null}return{file:r[2],methodName:r[1]||n,arguments:[],lineNumber:+r[3],column:r[4]?+r[4]:null}}var t=/^\\s*(.*?)(?:\\((.*?)\\))?(?:^|@)((?:file|https?|blob|chrome|webpack|webpack-internal|rsc|about|turbopack|resource|\\[native).*?|[^@]*bundle)(?::(\\d+))?(?::(\\d+))?\\s*$/i;var i=/(\\S+) line (\\d+)(?: > eval line \\d+)* > eval/i;function parseGecko(e){var r=t.exec(e);if(!r){return null}var a=r[3]&&r[3].indexOf(\" > eval\")>-1;var u=i.exec(r[3]);if(a&&u!=null){r[3]=u[1];r[4]=u[2];r[5]=null}return{file:r[3],methodName:r[1]||n,arguments:r[2]?r[2].split(\",\"):[],lineNumber:r[4]?+r[4]:null,column:r[5]?+r[5]:null}}var o=/^\\s*(?:([^@]*)(?:\\((.*?)\\))?@)?(\\S.*?):(\\d+)(?::(\\d+))?\\s*$/i;function parseJSC(e){var r=o.exec(e);if(!r){return null}return{file:r[3],methodName:r[1]||n,arguments:[],lineNumber:+r[4],column:r[5]?+r[5]:null}}var s=/^\\s*at (?:((?:\\[object object\\])?[^\\\\/]+(?: \\[as \\S+\\])?) )?\\(?(.*?):(\\d+)(?::(\\d+))?\\)?\\s*$/i;function parseNode(e){var r=s.exec(e);if(!r){return null}return{file:r[2],methodName:r[1]||n,arguments:[],lineNumber:+r[3],column:r[4]?+r[4]:null}}r.parse=parse})();module.exports=e})();","(()=>{\"use strict\";var e={511:e=>{e.exports=({onlyFirst:e=false}={})=>{const r=[\"[\\\\u001B\\\\u009B][[\\\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\\\d\\\\/#&.:=?%@~_]+)*|[a-zA-Z\\\\d]+(?:;[-a-zA-Z\\\\d\\\\/#&.:=?%@~_]*)*)?\\\\u0007)\",\"(?:(?:\\\\d{1,4}(?:;\\\\d{0,4})*)?[\\\\dA-PR-TZcf-ntqry=><~]))\"].join(\"|\");return new RegExp(r,e?undefined:\"g\")}},532:(e,r,_)=>{const t=_(511);e.exports=e=>typeof e===\"string\"?e.replace(t(),\"\"):e}};var r={};function __nccwpck_require__(_){var t=r[_];if(t!==undefined){return t.exports}var a=r[_]={exports:{}};var n=true;try{e[_](a,a.exports,__nccwpck_require__);n=false}finally{if(n)delete r[_]}return a.exports}if(typeof __nccwpck_require__!==\"undefined\")__nccwpck_require__.ab=__dirname+\"/\";var _=__nccwpck_require__(532);module.exports=_})();","/* @ts-check */\n/**\n * Style injection mechanism for Next.js devtools with shadow DOM support\n * Handles caching of style elements when the nextjs-portal shadow root is not available\n */\n\n// Global cache for style elements when shadow root is not available\nif (typeof window !== 'undefined') {\n window._nextjsDevtoolsStyleCache = window._nextjsDevtoolsStyleCache || {\n pendingElements: [],\n isObserving: false,\n lastInsertedElement: null,\n cachedShadowRoot: null, // Cache the shadow root once found\n }\n}\n\n/**\n * @returns {ShadowRoot | null}\n */\nfunction getShadowRoot() {\n const cache = window._nextjsDevtoolsStyleCache\n\n // Return cached shadow root if available\n if (cache.cachedShadowRoot) {\n return cache.cachedShadowRoot\n }\n\n // Query the DOM and cache the result if found\n const portal = document.querySelector('nextjs-portal')\n const shadowRoot = portal?.shadowRoot || null\n\n if (shadowRoot) {\n cache.cachedShadowRoot = shadowRoot\n }\n\n return shadowRoot\n}\n\n/**\n * @param {HTMLElement} element\n * @param {ShadowRoot} shadowRoot\n */\nfunction insertElementIntoShadowRoot(element, shadowRoot) {\n const cache = window._nextjsDevtoolsStyleCache\n\n if (!cache.lastInsertedElement) {\n shadowRoot.insertBefore(element, shadowRoot.firstChild)\n } else if (cache.lastInsertedElement.nextSibling) {\n shadowRoot.insertBefore(element, cache.lastInsertedElement.nextSibling)\n } else {\n shadowRoot.appendChild(element)\n }\n\n cache.lastInsertedElement = element\n}\n\nfunction flushCachedElements() {\n const cache = window._nextjsDevtoolsStyleCache\n const shadowRoot = getShadowRoot()\n\n if (!shadowRoot) {\n return\n }\n\n cache.pendingElements.forEach((element) => {\n insertElementIntoShadowRoot(element, shadowRoot)\n })\n cache.pendingElements = []\n}\n\nfunction startObservingForPortal() {\n const cache = window._nextjsDevtoolsStyleCache\n\n if (cache.isObserving) {\n return\n }\n cache.isObserving = true\n\n // First check if the portal already exists\n const shadowRoot = getShadowRoot() // This will cache it if found\n if (shadowRoot) {\n flushCachedElements()\n return\n }\n\n // Set up MutationObserver to watch for the portal element\n const observer = new MutationObserver((mutations) => {\n if (mutations.length === 0) {\n return\n }\n\n // Check all mutations and all added nodes\n for (const mutation of mutations) {\n if (mutation.addedNodes.length === 0) continue\n\n for (const addedNode of mutation.addedNodes) {\n if (addedNode.nodeType !== Node.ELEMENT_NODE) continue\n\n const mutationNode = addedNode\n\n let portalNode = null\n if (\n // app router: body > script[data-nextjs-dev-overlay] > nextjs-portal\n mutationNode.tagName === 'SCRIPT' &&\n mutationNode.getAttribute('data-nextjs-dev-overlay')\n ) {\n portalNode = mutationNode.firstChild\n } else if (\n // pages router: body > nextjs-portal\n mutationNode.tagName === 'NEXTJS-PORTAL'\n ) {\n portalNode = mutationNode\n }\n\n if (portalNode) {\n // Wait until shadow root is available\n const checkShadowRoot = () => {\n if (getShadowRoot()) {\n flushCachedElements()\n observer.disconnect()\n cache.isObserving = false\n } else {\n // Try again after a short delay\n setTimeout(checkShadowRoot, 20)\n }\n }\n checkShadowRoot()\n return // Exit early once we find a portal\n }\n }\n }\n })\n\n observer.observe(document.body, {\n childList: true,\n subtree: true,\n })\n}\n\n/**\n * @param {HTMLElement} element\n */\nfunction insertAtTop(element) {\n // Add special recognizable data prop to element\n element.setAttribute('data-nextjs-dev-tool-style', 'true')\n\n const shadowRoot = getShadowRoot()\n if (shadowRoot) {\n // Shadow root is available, insert directly\n insertElementIntoShadowRoot(element, shadowRoot)\n } else {\n // Shadow root not available, cache the element\n const cache = window._nextjsDevtoolsStyleCache\n cache.pendingElements.push(element)\n\n // Start observing for the portal if not already observing\n startObservingForPortal()\n }\n}\n\nmodule.exports = insertAtTop\n","(()=>{\"use strict\";var e={629:function(e,t,s){var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;var a=Object.getOwnPropertyDescriptor(t,s);if(!a||(\"get\"in a?!t.__esModule:a.writable||a.configurable)){a={enumerable:true,get:function(){return t[s]}}}Object.defineProperty(e,r,a)}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,\"default\",{enumerable:true,value:t})}:function(e,t){e[\"default\"]=t});var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var s in e)if(s!==\"default\"&&Object.prototype.hasOwnProperty.call(e,s))r(t,e,s);a(t,e);return t};var i=this&&this.__exportStar||function(e,t){for(var s in e)if(s!==\"default\"&&!Object.prototype.hasOwnProperty.call(t,s))r(t,e,s)};Object.defineProperty(t,\"__esModule\",{value:true});t.z=void 0;const o=n(s(923));t.z=o;i(s(923),t);t[\"default\"]=o},348:(e,t,s)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.ZodError=t.quotelessJson=t.ZodIssueCode=void 0;const r=s(709);t.ZodIssueCode=r.util.arrayToEnum([\"invalid_type\",\"invalid_literal\",\"custom\",\"invalid_union\",\"invalid_union_discriminator\",\"invalid_enum_value\",\"unrecognized_keys\",\"invalid_arguments\",\"invalid_return_type\",\"invalid_date\",\"invalid_string\",\"too_small\",\"too_big\",\"invalid_intersection_types\",\"not_multiple_of\",\"not_finite\"]);const quotelessJson=e=>{const t=JSON.stringify(e,null,2);return t.replace(/\"([^\"]+)\":/g,\"$1:\")};t.quotelessJson=quotelessJson;class ZodError extends Error{get errors(){return this.issues}constructor(e){super();this.issues=[];this.addIssue=e=>{this.issues=[...this.issues,e]};this.addIssues=(e=[])=>{this.issues=[...this.issues,...e]};const t=new.target.prototype;if(Object.setPrototypeOf){Object.setPrototypeOf(this,t)}else{this.__proto__=t}this.name=\"ZodError\";this.issues=e}format(e){const t=e||function(e){return e.message};const s={_errors:[]};const processError=e=>{for(const r of e.issues){if(r.code===\"invalid_union\"){r.unionErrors.map(processError)}else if(r.code===\"invalid_return_type\"){processError(r.returnTypeError)}else if(r.code===\"invalid_arguments\"){processError(r.argumentsError)}else if(r.path.length===0){s._errors.push(t(r))}else{let e=s;let a=0;while(a<r.path.length){const s=r.path[a];const n=a===r.path.length-1;if(!n){e[s]=e[s]||{_errors:[]}}else{e[s]=e[s]||{_errors:[]};e[s]._errors.push(t(r))}e=e[s];a++}}}};processError(this);return s}static assert(e){if(!(e instanceof ZodError)){throw new Error(`Not a ZodError: ${e}`)}}toString(){return this.message}get message(){return JSON.stringify(this.issues,r.util.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(e=(e=>e.message)){const t={};const s=[];for(const r of this.issues){if(r.path.length>0){const s=r.path[0];t[s]=t[s]||[];t[s].push(e(r))}else{s.push(e(r))}}return{formErrors:s,fieldErrors:t}}get formErrors(){return this.flatten()}}t.ZodError=ZodError;ZodError.create=e=>{const t=new ZodError(e);return t}},61:function(e,t,s){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:true});t.defaultErrorMap=void 0;t.setErrorMap=setErrorMap;t.getErrorMap=getErrorMap;const a=r(s(871));t.defaultErrorMap=a.default;let n=a.default;function setErrorMap(e){n=e}function getErrorMap(){return n}},923:function(e,t,s){var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;var a=Object.getOwnPropertyDescriptor(t,s);if(!a||(\"get\"in a?!t.__esModule:a.writable||a.configurable)){a={enumerable:true,get:function(){return t[s]}}}Object.defineProperty(e,r,a)}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var a=this&&this.__exportStar||function(e,t){for(var s in e)if(s!==\"default\"&&!Object.prototype.hasOwnProperty.call(t,s))r(t,e,s)};Object.defineProperty(t,\"__esModule\",{value:true});a(s(61),t);a(s(818),t);a(s(515),t);a(s(709),t);a(s(155),t);a(s(348),t)},538:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.errorUtil=void 0;var s;(function(e){e.errToObj=e=>typeof e===\"string\"?{message:e}:e||{};e.toString=e=>typeof e===\"string\"?e:e?.message})(s||(t.errorUtil=s={}))},818:function(e,t,s){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:true});t.isAsync=t.isValid=t.isDirty=t.isAborted=t.OK=t.DIRTY=t.INVALID=t.ParseStatus=t.EMPTY_PATH=t.makeIssue=void 0;t.addIssueToContext=addIssueToContext;const a=s(61);const n=r(s(871));const makeIssue=e=>{const{data:t,path:s,errorMaps:r,issueData:a}=e;const n=[...s,...a.path||[]];const i={...a,path:n};if(a.message!==undefined){return{...a,path:n,message:a.message}}let o=\"\";const d=r.filter((e=>!!e)).slice().reverse();for(const e of d){o=e(i,{data:t,defaultError:o}).message}return{...a,path:n,message:o}};t.makeIssue=makeIssue;t.EMPTY_PATH=[];function addIssueToContext(e,s){const r=(0,a.getErrorMap)();const i=(0,t.makeIssue)({issueData:s,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,r,r===n.default?undefined:n.default].filter((e=>!!e))});e.common.issues.push(i)}class ParseStatus{constructor(){this.value=\"valid\"}dirty(){if(this.value===\"valid\")this.value=\"dirty\"}abort(){if(this.value!==\"aborted\")this.value=\"aborted\"}static mergeArray(e,s){const r=[];for(const a of s){if(a.status===\"aborted\")return t.INVALID;if(a.status===\"dirty\")e.dirty();r.push(a.value)}return{status:e.value,value:r}}static async mergeObjectAsync(e,t){const s=[];for(const e of t){const t=await e.key;const r=await e.value;s.push({key:t,value:r})}return ParseStatus.mergeObjectSync(e,s)}static mergeObjectSync(e,s){const r={};for(const a of s){const{key:s,value:n}=a;if(s.status===\"aborted\")return t.INVALID;if(n.status===\"aborted\")return t.INVALID;if(s.status===\"dirty\")e.dirty();if(n.status===\"dirty\")e.dirty();if(s.value!==\"__proto__\"&&(typeof n.value!==\"undefined\"||a.alwaysSet)){r[s.value]=n.value}}return{status:e.value,value:r}}}t.ParseStatus=ParseStatus;t.INVALID=Object.freeze({status:\"aborted\"});const DIRTY=e=>({status:\"dirty\",value:e});t.DIRTY=DIRTY;const OK=e=>({status:\"valid\",value:e});t.OK=OK;const isAborted=e=>e.status===\"aborted\";t.isAborted=isAborted;const isDirty=e=>e.status===\"dirty\";t.isDirty=isDirty;const isValid=e=>e.status===\"valid\";t.isValid=isValid;const isAsync=e=>typeof Promise!==\"undefined\"&&e instanceof Promise;t.isAsync=isAsync},515:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true})},709:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.getParsedType=t.ZodParsedType=t.objectUtil=t.util=void 0;var s;(function(e){e.assertEqual=e=>{};function assertIs(e){}e.assertIs=assertIs;function assertNever(e){throw new Error}e.assertNever=assertNever;e.arrayToEnum=e=>{const t={};for(const s of e){t[s]=s}return t};e.getValidEnumValues=t=>{const s=e.objectKeys(t).filter((e=>typeof t[t[e]]!==\"number\"));const r={};for(const e of s){r[e]=t[e]}return e.objectValues(r)};e.objectValues=t=>e.objectKeys(t).map((function(e){return t[e]}));e.objectKeys=typeof Object.keys===\"function\"?e=>Object.keys(e):e=>{const t=[];for(const s in e){if(Object.prototype.hasOwnProperty.call(e,s)){t.push(s)}}return t};e.find=(e,t)=>{for(const s of e){if(t(s))return s}return undefined};e.isInteger=typeof Number.isInteger===\"function\"?e=>Number.isInteger(e):e=>typeof e===\"number\"&&Number.isFinite(e)&&Math.floor(e)===e;function joinValues(e,t=\" | \"){return e.map((e=>typeof e===\"string\"?`'${e}'`:e)).join(t)}e.joinValues=joinValues;e.jsonStringifyReplacer=(e,t)=>{if(typeof t===\"bigint\"){return t.toString()}return t}})(s||(t.util=s={}));var r;(function(e){e.mergeShapes=(e,t)=>({...e,...t})})(r||(t.objectUtil=r={}));t.ZodParsedType=s.arrayToEnum([\"string\",\"nan\",\"number\",\"integer\",\"float\",\"boolean\",\"date\",\"bigint\",\"symbol\",\"function\",\"undefined\",\"null\",\"array\",\"object\",\"unknown\",\"promise\",\"void\",\"never\",\"map\",\"set\"]);const getParsedType=e=>{const s=typeof e;switch(s){case\"undefined\":return t.ZodParsedType.undefined;case\"string\":return t.ZodParsedType.string;case\"number\":return Number.isNaN(e)?t.ZodParsedType.nan:t.ZodParsedType.number;case\"boolean\":return t.ZodParsedType.boolean;case\"function\":return t.ZodParsedType.function;case\"bigint\":return t.ZodParsedType.bigint;case\"symbol\":return t.ZodParsedType.symbol;case\"object\":if(Array.isArray(e)){return t.ZodParsedType.array}if(e===null){return t.ZodParsedType.null}if(e.then&&typeof e.then===\"function\"&&e.catch&&typeof e.catch===\"function\"){return t.ZodParsedType.promise}if(typeof Map!==\"undefined\"&&e instanceof Map){return t.ZodParsedType.map}if(typeof Set!==\"undefined\"&&e instanceof Set){return t.ZodParsedType.set}if(typeof Date!==\"undefined\"&&e instanceof Date){return t.ZodParsedType.date}return t.ZodParsedType.object;default:return t.ZodParsedType.unknown}};t.getParsedType=getParsedType},871:(e,t,s)=>{Object.defineProperty(t,\"__esModule\",{value:true});const r=s(348);const a=s(709);const errorMap=(e,t)=>{let s;switch(e.code){case r.ZodIssueCode.invalid_type:if(e.received===a.ZodParsedType.undefined){s=\"Required\"}else{s=`Expected ${e.expected}, received ${e.received}`}break;case r.ZodIssueCode.invalid_literal:s=`Invalid literal value, expected ${JSON.stringify(e.expected,a.util.jsonStringifyReplacer)}`;break;case r.ZodIssueCode.unrecognized_keys:s=`Unrecognized key(s) in object: ${a.util.joinValues(e.keys,\", \")}`;break;case r.ZodIssueCode.invalid_union:s=`Invalid input`;break;case r.ZodIssueCode.invalid_union_discriminator:s=`Invalid discriminator value. Expected ${a.util.joinValues(e.options)}`;break;case r.ZodIssueCode.invalid_enum_value:s=`Invalid enum value. Expected ${a.util.joinValues(e.options)}, received '${e.received}'`;break;case r.ZodIssueCode.invalid_arguments:s=`Invalid function arguments`;break;case r.ZodIssueCode.invalid_return_type:s=`Invalid function return type`;break;case r.ZodIssueCode.invalid_date:s=`Invalid date`;break;case r.ZodIssueCode.invalid_string:if(typeof e.validation===\"object\"){if(\"includes\"in e.validation){s=`Invalid input: must include \"${e.validation.includes}\"`;if(typeof e.validation.position===\"number\"){s=`${s} at one or more positions greater than or equal to ${e.validation.position}`}}else if(\"startsWith\"in e.validation){s=`Invalid input: must start with \"${e.validation.startsWith}\"`}else if(\"endsWith\"in e.validation){s=`Invalid input: must end with \"${e.validation.endsWith}\"`}else{a.util.assertNever(e.validation)}}else if(e.validation!==\"regex\"){s=`Invalid ${e.validation}`}else{s=\"Invalid\"}break;case r.ZodIssueCode.too_small:if(e.type===\"array\")s=`Array must contain ${e.exact?\"exactly\":e.inclusive?`at least`:`more than`} ${e.minimum} element(s)`;else if(e.type===\"string\")s=`String must contain ${e.exact?\"exactly\":e.inclusive?`at least`:`over`} ${e.minimum} character(s)`;else if(e.type===\"number\")s=`Number must be ${e.exact?`exactly equal to `:e.inclusive?`greater than or equal to `:`greater than `}${e.minimum}`;else if(e.type===\"bigint\")s=`Number must be ${e.exact?`exactly equal to `:e.inclusive?`greater than or equal to `:`greater than `}${e.minimum}`;else if(e.type===\"date\")s=`Date must be ${e.exact?`exactly equal to `:e.inclusive?`greater than or equal to `:`greater than `}${new Date(Number(e.minimum))}`;else s=\"Invalid input\";break;case r.ZodIssueCode.too_big:if(e.type===\"array\")s=`Array must contain ${e.exact?`exactly`:e.inclusive?`at most`:`less than`} ${e.maximum} element(s)`;else if(e.type===\"string\")s=`String must contain ${e.exact?`exactly`:e.inclusive?`at most`:`under`} ${e.maximum} character(s)`;else if(e.type===\"number\")s=`Number must be ${e.exact?`exactly`:e.inclusive?`less than or equal to`:`less than`} ${e.maximum}`;else if(e.type===\"bigint\")s=`BigInt must be ${e.exact?`exactly`:e.inclusive?`less than or equal to`:`less than`} ${e.maximum}`;else if(e.type===\"date\")s=`Date must be ${e.exact?`exactly`:e.inclusive?`smaller than or equal to`:`smaller than`} ${new Date(Number(e.maximum))}`;else s=\"Invalid input\";break;case r.ZodIssueCode.custom:s=`Invalid input`;break;case r.ZodIssueCode.invalid_intersection_types:s=`Intersection results could not be merged`;break;case r.ZodIssueCode.not_multiple_of:s=`Number must be a multiple of ${e.multipleOf}`;break;case r.ZodIssueCode.not_finite:s=\"Number must be finite\";break;default:s=t.defaultError;a.util.assertNever(e)}return{message:s}};t[\"default\"]=errorMap},155:(e,t,s)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.discriminatedUnion=t.date=t.boolean=t.bigint=t.array=t.any=t.coerce=t.ZodFirstPartyTypeKind=t.late=t.ZodSchema=t.Schema=t.ZodReadonly=t.ZodPipeline=t.ZodBranded=t.BRAND=t.ZodNaN=t.ZodCatch=t.ZodDefault=t.ZodNullable=t.ZodOptional=t.ZodTransformer=t.ZodEffects=t.ZodPromise=t.ZodNativeEnum=t.ZodEnum=t.ZodLiteral=t.ZodLazy=t.ZodFunction=t.ZodSet=t.ZodMap=t.ZodRecord=t.ZodTuple=t.ZodIntersection=t.ZodDiscriminatedUnion=t.ZodUnion=t.ZodObject=t.ZodArray=t.ZodVoid=t.ZodNever=t.ZodUnknown=t.ZodAny=t.ZodNull=t.ZodUndefined=t.ZodSymbol=t.ZodDate=t.ZodBoolean=t.ZodBigInt=t.ZodNumber=t.ZodString=t.ZodType=void 0;t.NEVER=t[\"void\"]=t.unknown=t.union=t.undefined=t.tuple=t.transformer=t.symbol=t.string=t.strictObject=t.set=t.record=t.promise=t.preprocess=t.pipeline=t.ostring=t.optional=t.onumber=t.oboolean=t.object=t.number=t.nullable=t[\"null\"]=t.never=t.nativeEnum=t.nan=t.map=t.literal=t.lazy=t.intersection=t[\"instanceof\"]=t[\"function\"]=t[\"enum\"]=t.effect=void 0;t.datetimeRegex=datetimeRegex;t.custom=custom;const r=s(348);const a=s(61);const n=s(538);const i=s(818);const o=s(709);class ParseInputLazyPath{constructor(e,t,s,r){this._cachedPath=[];this.parent=e;this.data=t;this._path=s;this._key=r}get path(){if(!this._cachedPath.length){if(Array.isArray(this._key)){this._cachedPath.push(...this._path,...this._key)}else{this._cachedPath.push(...this._path,this._key)}}return this._cachedPath}}const handleResult=(e,t)=>{if((0,i.isValid)(t)){return{success:true,data:t.value}}else{if(!e.common.issues.length){throw new Error(\"Validation failed but no issues detected.\")}return{success:false,get error(){if(this._error)return this._error;const t=new r.ZodError(e.common.issues);this._error=t;return this._error}}}};function processCreateParams(e){if(!e)return{};const{errorMap:t,invalid_type_error:s,required_error:r,description:a}=e;if(t&&(s||r)){throw new Error(`Can't use \"invalid_type_error\" or \"required_error\" in conjunction with custom error map.`)}if(t)return{errorMap:t,description:a};const customMap=(t,a)=>{const{message:n}=e;if(t.code===\"invalid_enum_value\"){return{message:n??a.defaultError}}if(typeof a.data===\"undefined\"){return{message:n??r??a.defaultError}}if(t.code!==\"invalid_type\")return{message:a.defaultError};return{message:n??s??a.defaultError}};return{errorMap:customMap,description:a}}class ZodType{get description(){return this._def.description}_getType(e){return(0,o.getParsedType)(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:(0,o.getParsedType)(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new i.ParseStatus,ctx:{common:e.parent.common,data:e.data,parsedType:(0,o.getParsedType)(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){const t=this._parse(e);if((0,i.isAsync)(t)){throw new Error(\"Synchronous parse encountered promise.\")}return t}_parseAsync(e){const t=this._parse(e);return Promise.resolve(t)}parse(e,t){const s=this.safeParse(e,t);if(s.success)return s.data;throw s.error}safeParse(e,t){const s={common:{issues:[],async:t?.async??false,contextualErrorMap:t?.errorMap},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:(0,o.getParsedType)(e)};const r=this._parseSync({data:e,path:s.path,parent:s});return handleResult(s,r)}\"~validate\"(e){const t={common:{issues:[],async:!!this[\"~standard\"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:(0,o.getParsedType)(e)};if(!this[\"~standard\"].async){try{const s=this._parseSync({data:e,path:[],parent:t});return(0,i.isValid)(s)?{value:s.value}:{issues:t.common.issues}}catch(e){if(e?.message?.toLowerCase()?.includes(\"encountered\")){this[\"~standard\"].async=true}t.common={issues:[],async:true}}}return this._parseAsync({data:e,path:[],parent:t}).then((e=>(0,i.isValid)(e)?{value:e.value}:{issues:t.common.issues}))}async parseAsync(e,t){const s=await this.safeParseAsync(e,t);if(s.success)return s.data;throw s.error}async safeParseAsync(e,t){const s={common:{issues:[],contextualErrorMap:t?.errorMap,async:true},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:(0,o.getParsedType)(e)};const r=this._parse({data:e,path:s.path,parent:s});const a=await((0,i.isAsync)(r)?r:Promise.resolve(r));return handleResult(s,a)}refine(e,t){const getIssueProperties=e=>{if(typeof t===\"string\"||typeof t===\"undefined\"){return{message:t}}else if(typeof t===\"function\"){return t(e)}else{return t}};return this._refinement(((t,s)=>{const a=e(t);const setError=()=>s.addIssue({code:r.ZodIssueCode.custom,...getIssueProperties(t)});if(typeof Promise!==\"undefined\"&&a instanceof Promise){return a.then((e=>{if(!e){setError();return false}else{return true}}))}if(!a){setError();return false}else{return true}}))}refinement(e,t){return this._refinement(((s,r)=>{if(!e(s)){r.addIssue(typeof t===\"function\"?t(s,r):t);return false}else{return true}}))}_refinement(e){return new ZodEffects({schema:this,typeName:k.ZodEffects,effect:{type:\"refinement\",refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync;this._def=e;this.parse=this.parse.bind(this);this.safeParse=this.safeParse.bind(this);this.parseAsync=this.parseAsync.bind(this);this.safeParseAsync=this.safeParseAsync.bind(this);this.spa=this.spa.bind(this);this.refine=this.refine.bind(this);this.refinement=this.refinement.bind(this);this.superRefine=this.superRefine.bind(this);this.optional=this.optional.bind(this);this.nullable=this.nullable.bind(this);this.nullish=this.nullish.bind(this);this.array=this.array.bind(this);this.promise=this.promise.bind(this);this.or=this.or.bind(this);this.and=this.and.bind(this);this.transform=this.transform.bind(this);this.brand=this.brand.bind(this);this.default=this.default.bind(this);this.catch=this.catch.bind(this);this.describe=this.describe.bind(this);this.pipe=this.pipe.bind(this);this.readonly=this.readonly.bind(this);this.isNullable=this.isNullable.bind(this);this.isOptional=this.isOptional.bind(this);this[\"~standard\"]={version:1,vendor:\"zod\",validate:e=>this[\"~validate\"](e)}}optional(){return ZodOptional.create(this,this._def)}nullable(){return ZodNullable.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return ZodArray.create(this)}promise(){return ZodPromise.create(this,this._def)}or(e){return ZodUnion.create([this,e],this._def)}and(e){return ZodIntersection.create(this,e,this._def)}transform(e){return new ZodEffects({...processCreateParams(this._def),schema:this,typeName:k.ZodEffects,effect:{type:\"transform\",transform:e}})}default(e){const t=typeof e===\"function\"?e:()=>e;return new ZodDefault({...processCreateParams(this._def),innerType:this,defaultValue:t,typeName:k.ZodDefault})}brand(){return new ZodBranded({typeName:k.ZodBranded,type:this,...processCreateParams(this._def)})}catch(e){const t=typeof e===\"function\"?e:()=>e;return new ZodCatch({...processCreateParams(this._def),innerType:this,catchValue:t,typeName:k.ZodCatch})}describe(e){const t=this.constructor;return new t({...this._def,description:e})}pipe(e){return ZodPipeline.create(this,e)}readonly(){return ZodReadonly.create(this)}isOptional(){return this.safeParse(undefined).success}isNullable(){return this.safeParse(null).success}}t.ZodType=ZodType;t.Schema=ZodType;t.ZodSchema=ZodType;const d=/^c[^\\s-]{8,}$/i;const u=/^[0-9a-z]+$/;const c=/^[0-9A-HJKMNP-TV-Z]{26}$/i;const l=/^[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}$/i;const p=/^[a-z0-9_-]{21}$/i;const f=/^[A-Za-z0-9-_]+\\.[A-Za-z0-9-_]+\\.[A-Za-z0-9-_]*$/;const h=/^[-+]?P(?!$)(?:(?:[-+]?\\d+Y)|(?:[-+]?\\d+[.,]\\d+Y$))?(?:(?:[-+]?\\d+M)|(?:[-+]?\\d+[.,]\\d+M$))?(?:(?:[-+]?\\d+W)|(?:[-+]?\\d+[.,]\\d+W$))?(?:(?:[-+]?\\d+D)|(?:[-+]?\\d+[.,]\\d+D$))?(?:T(?=[\\d+-])(?:(?:[-+]?\\d+H)|(?:[-+]?\\d+[.,]\\d+H$))?(?:(?:[-+]?\\d+M)|(?:[-+]?\\d+[.,]\\d+M$))?(?:[-+]?\\d+(?:[.,]\\d+)?S)?)??$/;const m=/^(?!\\.)(?!.*\\.\\.)([A-Z0-9_'+\\-\\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\\-]*\\.)+[A-Z]{2,}$/i;const y=`^(\\\\p{Extended_Pictographic}|\\\\p{Emoji_Component})+$`;let Z;const _=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/;const g=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\/(3[0-2]|[12]?[0-9])$/;const v=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a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0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/;const T=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/;const b=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/;const x=`((\\\\d\\\\d[2468][048]|\\\\d\\\\d[13579][26]|\\\\d\\\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\\\d|30)|(02)-(0[1-9]|1\\\\d|2[0-8])))`;const C=new RegExp(`^${x}$`);function timeRegexSource(e){let t=`[0-5]\\\\d`;if(e.precision){t=`${t}\\\\.\\\\d{${e.precision}}`}else if(e.precision==null){t=`${t}(\\\\.\\\\d+)?`}const s=e.precision?\"+\":\"?\";return`([01]\\\\d|2[0-3]):[0-5]\\\\d(:${t})${s}`}function timeRegex(e){return new RegExp(`^${timeRegexSource(e)}$`)}function datetimeRegex(e){let t=`${x}T${timeRegexSource(e)}`;const s=[];s.push(e.local?`Z?`:`Z`);if(e.offset)s.push(`([+-]\\\\d{2}:?\\\\d{2})`);t=`${t}(${s.join(\"|\")})`;return new RegExp(`^${t}$`)}function isValidIP(e,t){if((t===\"v4\"||!t)&&_.test(e)){return true}if((t===\"v6\"||!t)&&v.test(e)){return true}return false}function isValidJWT(e,t){if(!f.test(e))return false;try{const[s]=e.split(\".\");if(!s)return false;const r=s.replace(/-/g,\"+\").replace(/_/g,\"/\").padEnd(s.length+(4-s.length%4)%4,\"=\");const a=JSON.parse(atob(r));if(typeof a!==\"object\"||a===null)return false;if(\"typ\"in a&&a?.typ!==\"JWT\")return false;if(!a.alg)return false;if(t&&a.alg!==t)return false;return true}catch{return false}}function isValidCidr(e,t){if((t===\"v4\"||!t)&&g.test(e)){return true}if((t===\"v6\"||!t)&&I.test(e)){return true}return false}class ZodString extends ZodType{_parse(e){if(this._def.coerce){e.data=String(e.data)}const t=this._getType(e);if(t!==o.ZodParsedType.string){const t=this._getOrReturnCtx(e);(0,i.addIssueToContext)(t,{code:r.ZodIssueCode.invalid_type,expected:o.ZodParsedType.string,received:t.parsedType});return i.INVALID}const s=new i.ParseStatus;let a=undefined;for(const t of this._def.checks){if(t.kind===\"min\"){if(e.data.length<t.value){a=this._getOrReturnCtx(e,a);(0,i.addIssueToContext)(a,{code:r.ZodIssueCode.too_small,minimum:t.value,type:\"string\",inclusive:true,exact:false,message:t.message});s.dirty()}}else if(t.kind===\"max\"){if(e.data.length>t.value){a=this._getOrReturnCtx(e,a);(0,i.addIssueToContext)(a,{code:r.ZodIssueCode.too_big,maximum:t.value,type:\"string\",inclusive:true,exact:false,message:t.message});s.dirty()}}else if(t.kind===\"length\"){const n=e.data.length>t.value;const o=e.data.length<t.value;if(n||o){a=this._getOrReturnCtx(e,a);if(n){(0,i.addIssueToContext)(a,{code:r.ZodIssueCode.too_big,maximum:t.value,type:\"string\",inclusive:true,exact:true,message:t.message})}else if(o){(0,i.addIssueToContext)(a,{code:r.ZodIssueCode.too_small,minimum:t.value,type:\"string\",inclusive:true,exact:true,message:t.message})}s.dirty()}}else if(t.kind===\"email\"){if(!m.test(e.data)){a=this._getOrReturnCtx(e,a);(0,i.addIssueToContext)(a,{validation:\"email\",code:r.ZodIssueCode.invalid_string,message:t.message});s.dirty()}}else if(t.kind===\"emoji\"){if(!Z){Z=new RegExp(y,\"u\")}if(!Z.test(e.data)){a=this._getOrReturnCtx(e,a);(0,i.addIssueToContext)(a,{validation:\"emoji\",code:r.ZodIssueCode.invalid_string,message:t.message});s.dirty()}}else if(t.kind===\"uuid\"){if(!l.test(e.data)){a=this._getOrReturnCtx(e,a);(0,i.addIssueToContext)(a,{validation:\"uuid\",code:r.ZodIssueCode.invalid_string,message:t.message});s.dirty()}}else if(t.kind===\"nanoid\"){if(!p.test(e.data)){a=this._getOrReturnCtx(e,a);(0,i.addIssueToContext)(a,{validation:\"nanoid\",code:r.ZodIssueCode.invalid_string,message:t.message});s.dirty()}}else if(t.kind===\"cuid\"){if(!d.test(e.data)){a=this._getOrReturnCtx(e,a);(0,i.addIssueToContext)(a,{validation:\"cuid\",code:r.ZodIssueCode.invalid_string,message:t.message});s.dirty()}}else if(t.kind===\"cuid2\"){if(!u.test(e.data)){a=this._getOrReturnCtx(e,a);(0,i.addIssueToContext)(a,{validation:\"cuid2\",code:r.ZodIssueCode.invalid_string,message:t.message});s.dirty()}}else if(t.kind===\"ulid\"){if(!c.test(e.data)){a=this._getOrReturnCtx(e,a);(0,i.addIssueToContext)(a,{validation:\"ulid\",code:r.ZodIssueCode.invalid_string,message:t.message});s.dirty()}}else if(t.kind===\"url\"){try{new URL(e.data)}catch{a=this._getOrReturnCtx(e,a);(0,i.addIssueToContext)(a,{validation:\"url\",code:r.ZodIssueCode.invalid_string,message:t.message});s.dirty()}}else if(t.kind===\"regex\"){t.regex.lastIndex=0;const n=t.regex.test(e.data);if(!n){a=this._getOrReturnCtx(e,a);(0,i.addIssueToContext)(a,{validation:\"regex\",code:r.ZodIssueCode.invalid_string,message:t.message});s.dirty()}}else if(t.kind===\"trim\"){e.data=e.data.trim()}else if(t.kind===\"includes\"){if(!e.data.includes(t.value,t.position)){a=this._getOrReturnCtx(e,a);(0,i.addIssueToContext)(a,{code:r.ZodIssueCode.invalid_string,validation:{includes:t.value,position:t.position},message:t.message});s.dirty()}}else if(t.kind===\"toLowerCase\"){e.data=e.data.toLowerCase()}else if(t.kind===\"toUpperCase\"){e.data=e.data.toUpperCase()}else if(t.kind===\"startsWith\"){if(!e.data.startsWith(t.value)){a=this._getOrReturnCtx(e,a);(0,i.addIssueToContext)(a,{code:r.ZodIssueCode.invalid_string,validation:{startsWith:t.value},message:t.message});s.dirty()}}else if(t.kind===\"endsWith\"){if(!e.data.endsWith(t.value)){a=this._getOrReturnCtx(e,a);(0,i.addIssueToContext)(a,{code:r.ZodIssueCode.invalid_string,validation:{endsWith:t.value},message:t.message});s.dirty()}}else if(t.kind===\"datetime\"){const n=datetimeRegex(t);if(!n.test(e.data)){a=this._getOrReturnCtx(e,a);(0,i.addIssueToContext)(a,{code:r.ZodIssueCode.invalid_string,validation:\"datetime\",message:t.message});s.dirty()}}else if(t.kind===\"date\"){const n=C;if(!n.test(e.data)){a=this._getOrReturnCtx(e,a);(0,i.addIssueToContext)(a,{code:r.ZodIssueCode.invalid_string,validation:\"date\",message:t.message});s.dirty()}}else if(t.kind===\"time\"){const n=timeRegex(t);if(!n.test(e.data)){a=this._getOrReturnCtx(e,a);(0,i.addIssueToContext)(a,{code:r.ZodIssueCode.invalid_string,validation:\"time\",message:t.message});s.dirty()}}else if(t.kind===\"duration\"){if(!h.test(e.data)){a=this._getOrReturnCtx(e,a);(0,i.addIssueToContext)(a,{validation:\"duration\",code:r.ZodIssueCode.invalid_string,message:t.message});s.dirty()}}else if(t.kind===\"ip\"){if(!isValidIP(e.data,t.version)){a=this._getOrReturnCtx(e,a);(0,i.addIssueToContext)(a,{validation:\"ip\",code:r.ZodIssueCode.invalid_string,message:t.message});s.dirty()}}else if(t.kind===\"jwt\"){if(!isValidJWT(e.data,t.alg)){a=this._getOrReturnCtx(e,a);(0,i.addIssueToContext)(a,{validation:\"jwt\",code:r.ZodIssueCode.invalid_string,message:t.message});s.dirty()}}else if(t.kind===\"cidr\"){if(!isValidCidr(e.data,t.version)){a=this._getOrReturnCtx(e,a);(0,i.addIssueToContext)(a,{validation:\"cidr\",code:r.ZodIssueCode.invalid_string,message:t.message});s.dirty()}}else if(t.kind===\"base64\"){if(!T.test(e.data)){a=this._getOrReturnCtx(e,a);(0,i.addIssueToContext)(a,{validation:\"base64\",code:r.ZodIssueCode.invalid_string,message:t.message});s.dirty()}}else if(t.kind===\"base64url\"){if(!b.test(e.data)){a=this._getOrReturnCtx(e,a);(0,i.addIssueToContext)(a,{validation:\"base64url\",code:r.ZodIssueCode.invalid_string,message:t.message});s.dirty()}}else{o.util.assertNever(t)}}return{status:s.value,value:e.data}}_regex(e,t,s){return this.refinement((t=>e.test(t)),{validation:t,code:r.ZodIssueCode.invalid_string,...n.errorUtil.errToObj(s)})}_addCheck(e){return new ZodString({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:\"email\",...n.errorUtil.errToObj(e)})}url(e){return this._addCheck({kind:\"url\",...n.errorUtil.errToObj(e)})}emoji(e){return this._addCheck({kind:\"emoji\",...n.errorUtil.errToObj(e)})}uuid(e){return this._addCheck({kind:\"uuid\",...n.errorUtil.errToObj(e)})}nanoid(e){return this._addCheck({kind:\"nanoid\",...n.errorUtil.errToObj(e)})}cuid(e){return this._addCheck({kind:\"cuid\",...n.errorUtil.errToObj(e)})}cuid2(e){return this._addCheck({kind:\"cuid2\",...n.errorUtil.errToObj(e)})}ulid(e){return this._addCheck({kind:\"ulid\",...n.errorUtil.errToObj(e)})}base64(e){return this._addCheck({kind:\"base64\",...n.errorUtil.errToObj(e)})}base64url(e){return this._addCheck({kind:\"base64url\",...n.errorUtil.errToObj(e)})}jwt(e){return this._addCheck({kind:\"jwt\",...n.errorUtil.errToObj(e)})}ip(e){return this._addCheck({kind:\"ip\",...n.errorUtil.errToObj(e)})}cidr(e){return this._addCheck({kind:\"cidr\",...n.errorUtil.errToObj(e)})}datetime(e){if(typeof e===\"string\"){return this._addCheck({kind:\"datetime\",precision:null,offset:false,local:false,message:e})}return this._addCheck({kind:\"datetime\",precision:typeof e?.precision===\"undefined\"?null:e?.precision,offset:e?.offset??false,local:e?.local??false,...n.errorUtil.errToObj(e?.message)})}date(e){return this._addCheck({kind:\"date\",message:e})}time(e){if(typeof e===\"string\"){return this._addCheck({kind:\"time\",precision:null,message:e})}return this._addCheck({kind:\"time\",precision:typeof e?.precision===\"undefined\"?null:e?.precision,...n.errorUtil.errToObj(e?.message)})}duration(e){return this._addCheck({kind:\"duration\",...n.errorUtil.errToObj(e)})}regex(e,t){return this._addCheck({kind:\"regex\",regex:e,...n.errorUtil.errToObj(t)})}includes(e,t){return this._addCheck({kind:\"includes\",value:e,position:t?.position,...n.errorUtil.errToObj(t?.message)})}startsWith(e,t){return this._addCheck({kind:\"startsWith\",value:e,...n.errorUtil.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:\"endsWith\",value:e,...n.errorUtil.errToObj(t)})}min(e,t){return this._addCheck({kind:\"min\",value:e,...n.errorUtil.errToObj(t)})}max(e,t){return this._addCheck({kind:\"max\",value:e,...n.errorUtil.errToObj(t)})}length(e,t){return this._addCheck({kind:\"length\",value:e,...n.errorUtil.errToObj(t)})}nonempty(e){return this.min(1,n.errorUtil.errToObj(e))}trim(){return new ZodString({...this._def,checks:[...this._def.checks,{kind:\"trim\"}]})}toLowerCase(){return new ZodString({...this._def,checks:[...this._def.checks,{kind:\"toLowerCase\"}]})}toUpperCase(){return new ZodString({...this._def,checks:[...this._def.checks,{kind:\"toUpperCase\"}]})}get isDatetime(){return!!this._def.checks.find((e=>e.kind===\"datetime\"))}get isDate(){return!!this._def.checks.find((e=>e.kind===\"date\"))}get isTime(){return!!this._def.checks.find((e=>e.kind===\"time\"))}get isDuration(){return!!this._def.checks.find((e=>e.kind===\"duration\"))}get isEmail(){return!!this._def.checks.find((e=>e.kind===\"email\"))}get isURL(){return!!this._def.checks.find((e=>e.kind===\"url\"))}get isEmoji(){return!!this._def.checks.find((e=>e.kind===\"emoji\"))}get isUUID(){return!!this._def.checks.find((e=>e.kind===\"uuid\"))}get isNANOID(){return!!this._def.checks.find((e=>e.kind===\"nanoid\"))}get isCUID(){return!!this._def.checks.find((e=>e.kind===\"cuid\"))}get isCUID2(){return!!this._def.checks.find((e=>e.kind===\"cuid2\"))}get isULID(){return!!this._def.checks.find((e=>e.kind===\"ulid\"))}get isIP(){return!!this._def.checks.find((e=>e.kind===\"ip\"))}get isCIDR(){return!!this._def.checks.find((e=>e.kind===\"cidr\"))}get isBase64(){return!!this._def.checks.find((e=>e.kind===\"base64\"))}get isBase64url(){return!!this._def.checks.find((e=>e.kind===\"base64url\"))}get minLength(){let e=null;for(const t of this._def.checks){if(t.kind===\"min\"){if(e===null||t.value>e)e=t.value}}return e}get maxLength(){let e=null;for(const t of this._def.checks){if(t.kind===\"max\"){if(e===null||t.value<e)e=t.value}}return e}}t.ZodString=ZodString;ZodString.create=e=>new ZodString({checks:[],typeName:k.ZodString,coerce:e?.coerce??false,...processCreateParams(e)});function floatSafeRemainder(e,t){const s=(e.toString().split(\".\")[1]||\"\").length;const r=(t.toString().split(\".\")[1]||\"\").length;const a=s>r?s:r;const n=Number.parseInt(e.toFixed(a).replace(\".\",\"\"));const i=Number.parseInt(t.toFixed(a).replace(\".\",\"\"));return n%i/10**a}class ZodNumber extends ZodType{constructor(){super(...arguments);this.min=this.gte;this.max=this.lte;this.step=this.multipleOf}_parse(e){if(this._def.coerce){e.data=Number(e.data)}const t=this._getType(e);if(t!==o.ZodParsedType.number){const t=this._getOrReturnCtx(e);(0,i.addIssueToContext)(t,{code:r.ZodIssueCode.invalid_type,expected:o.ZodParsedType.number,received:t.parsedType});return i.INVALID}let s=undefined;const a=new i.ParseStatus;for(const t of this._def.checks){if(t.kind===\"int\"){if(!o.util.isInteger(e.data)){s=this._getOrReturnCtx(e,s);(0,i.addIssueToContext)(s,{code:r.ZodIssueCode.invalid_type,expected:\"integer\",received:\"float\",message:t.message});a.dirty()}}else if(t.kind===\"min\"){const n=t.inclusive?e.data<t.value:e.data<=t.value;if(n){s=this._getOrReturnCtx(e,s);(0,i.addIssueToContext)(s,{code:r.ZodIssueCode.too_small,minimum:t.value,type:\"number\",inclusive:t.inclusive,exact:false,message:t.message});a.dirty()}}else if(t.kind===\"max\"){const n=t.inclusive?e.data>t.value:e.data>=t.value;if(n){s=this._getOrReturnCtx(e,s);(0,i.addIssueToContext)(s,{code:r.ZodIssueCode.too_big,maximum:t.value,type:\"number\",inclusive:t.inclusive,exact:false,message:t.message});a.dirty()}}else if(t.kind===\"multipleOf\"){if(floatSafeRemainder(e.data,t.value)!==0){s=this._getOrReturnCtx(e,s);(0,i.addIssueToContext)(s,{code:r.ZodIssueCode.not_multiple_of,multipleOf:t.value,message:t.message});a.dirty()}}else if(t.kind===\"finite\"){if(!Number.isFinite(e.data)){s=this._getOrReturnCtx(e,s);(0,i.addIssueToContext)(s,{code:r.ZodIssueCode.not_finite,message:t.message});a.dirty()}}else{o.util.assertNever(t)}}return{status:a.value,value:e.data}}gte(e,t){return this.setLimit(\"min\",e,true,n.errorUtil.toString(t))}gt(e,t){return this.setLimit(\"min\",e,false,n.errorUtil.toString(t))}lte(e,t){return this.setLimit(\"max\",e,true,n.errorUtil.toString(t))}lt(e,t){return this.setLimit(\"max\",e,false,n.errorUtil.toString(t))}setLimit(e,t,s,r){return new ZodNumber({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:s,message:n.errorUtil.toString(r)}]})}_addCheck(e){return new ZodNumber({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:\"int\",message:n.errorUtil.toString(e)})}positive(e){return this._addCheck({kind:\"min\",value:0,inclusive:false,message:n.errorUtil.toString(e)})}negative(e){return this._addCheck({kind:\"max\",value:0,inclusive:false,message:n.errorUtil.toString(e)})}nonpositive(e){return this._addCheck({kind:\"max\",value:0,inclusive:true,message:n.errorUtil.toString(e)})}nonnegative(e){return this._addCheck({kind:\"min\",value:0,inclusive:true,message:n.errorUtil.toString(e)})}multipleOf(e,t){return this._addCheck({kind:\"multipleOf\",value:e,message:n.errorUtil.toString(t)})}finite(e){return this._addCheck({kind:\"finite\",message:n.errorUtil.toString(e)})}safe(e){return this._addCheck({kind:\"min\",inclusive:true,value:Number.MIN_SAFE_INTEGER,message:n.errorUtil.toString(e)})._addCheck({kind:\"max\",inclusive:true,value:Number.MAX_SAFE_INTEGER,message:n.errorUtil.toString(e)})}get minValue(){let e=null;for(const t of this._def.checks){if(t.kind===\"min\"){if(e===null||t.value>e)e=t.value}}return e}get maxValue(){let e=null;for(const t of this._def.checks){if(t.kind===\"max\"){if(e===null||t.value<e)e=t.value}}return e}get isInt(){return!!this._def.checks.find((e=>e.kind===\"int\"||e.kind===\"multipleOf\"&&o.util.isInteger(e.value)))}get isFinite(){let e=null;let t=null;for(const s of this._def.checks){if(s.kind===\"finite\"||s.kind===\"int\"||s.kind===\"multipleOf\"){return true}else if(s.kind===\"min\"){if(t===null||s.value>t)t=s.value}else if(s.kind===\"max\"){if(e===null||s.value<e)e=s.value}}return Number.isFinite(t)&&Number.isFinite(e)}}t.ZodNumber=ZodNumber;ZodNumber.create=e=>new ZodNumber({checks:[],typeName:k.ZodNumber,coerce:e?.coerce||false,...processCreateParams(e)});class ZodBigInt extends ZodType{constructor(){super(...arguments);this.min=this.gte;this.max=this.lte}_parse(e){if(this._def.coerce){try{e.data=BigInt(e.data)}catch{return this._getInvalidInput(e)}}const t=this._getType(e);if(t!==o.ZodParsedType.bigint){return this._getInvalidInput(e)}let s=undefined;const a=new i.ParseStatus;for(const t of this._def.checks){if(t.kind===\"min\"){const n=t.inclusive?e.data<t.value:e.data<=t.value;if(n){s=this._getOrReturnCtx(e,s);(0,i.addIssueToContext)(s,{code:r.ZodIssueCode.too_small,type:\"bigint\",minimum:t.value,inclusive:t.inclusive,message:t.message});a.dirty()}}else if(t.kind===\"max\"){const n=t.inclusive?e.data>t.value:e.data>=t.value;if(n){s=this._getOrReturnCtx(e,s);(0,i.addIssueToContext)(s,{code:r.ZodIssueCode.too_big,type:\"bigint\",maximum:t.value,inclusive:t.inclusive,message:t.message});a.dirty()}}else if(t.kind===\"multipleOf\"){if(e.data%t.value!==BigInt(0)){s=this._getOrReturnCtx(e,s);(0,i.addIssueToContext)(s,{code:r.ZodIssueCode.not_multiple_of,multipleOf:t.value,message:t.message});a.dirty()}}else{o.util.assertNever(t)}}return{status:a.value,value:e.data}}_getInvalidInput(e){const t=this._getOrReturnCtx(e);(0,i.addIssueToContext)(t,{code:r.ZodIssueCode.invalid_type,expected:o.ZodParsedType.bigint,received:t.parsedType});return i.INVALID}gte(e,t){return this.setLimit(\"min\",e,true,n.errorUtil.toString(t))}gt(e,t){return this.setLimit(\"min\",e,false,n.errorUtil.toString(t))}lte(e,t){return this.setLimit(\"max\",e,true,n.errorUtil.toString(t))}lt(e,t){return this.setLimit(\"max\",e,false,n.errorUtil.toString(t))}setLimit(e,t,s,r){return new ZodBigInt({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:s,message:n.errorUtil.toString(r)}]})}_addCheck(e){return new ZodBigInt({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:\"min\",value:BigInt(0),inclusive:false,message:n.errorUtil.toString(e)})}negative(e){return this._addCheck({kind:\"max\",value:BigInt(0),inclusive:false,message:n.errorUtil.toString(e)})}nonpositive(e){return this._addCheck({kind:\"max\",value:BigInt(0),inclusive:true,message:n.errorUtil.toString(e)})}nonnegative(e){return this._addCheck({kind:\"min\",value:BigInt(0),inclusive:true,message:n.errorUtil.toString(e)})}multipleOf(e,t){return this._addCheck({kind:\"multipleOf\",value:e,message:n.errorUtil.toString(t)})}get minValue(){let e=null;for(const t of this._def.checks){if(t.kind===\"min\"){if(e===null||t.value>e)e=t.value}}return e}get maxValue(){let e=null;for(const t of this._def.checks){if(t.kind===\"max\"){if(e===null||t.value<e)e=t.value}}return e}}t.ZodBigInt=ZodBigInt;ZodBigInt.create=e=>new ZodBigInt({checks:[],typeName:k.ZodBigInt,coerce:e?.coerce??false,...processCreateParams(e)});class ZodBoolean extends ZodType{_parse(e){if(this._def.coerce){e.data=Boolean(e.data)}const t=this._getType(e);if(t!==o.ZodParsedType.boolean){const t=this._getOrReturnCtx(e);(0,i.addIssueToContext)(t,{code:r.ZodIssueCode.invalid_type,expected:o.ZodParsedType.boolean,received:t.parsedType});return i.INVALID}return(0,i.OK)(e.data)}}t.ZodBoolean=ZodBoolean;ZodBoolean.create=e=>new ZodBoolean({typeName:k.ZodBoolean,coerce:e?.coerce||false,...processCreateParams(e)});class ZodDate extends ZodType{_parse(e){if(this._def.coerce){e.data=new Date(e.data)}const t=this._getType(e);if(t!==o.ZodParsedType.date){const t=this._getOrReturnCtx(e);(0,i.addIssueToContext)(t,{code:r.ZodIssueCode.invalid_type,expected:o.ZodParsedType.date,received:t.parsedType});return i.INVALID}if(Number.isNaN(e.data.getTime())){const t=this._getOrReturnCtx(e);(0,i.addIssueToContext)(t,{code:r.ZodIssueCode.invalid_date});return i.INVALID}const s=new i.ParseStatus;let a=undefined;for(const t of this._def.checks){if(t.kind===\"min\"){if(e.data.getTime()<t.value){a=this._getOrReturnCtx(e,a);(0,i.addIssueToContext)(a,{code:r.ZodIssueCode.too_small,message:t.message,inclusive:true,exact:false,minimum:t.value,type:\"date\"});s.dirty()}}else if(t.kind===\"max\"){if(e.data.getTime()>t.value){a=this._getOrReturnCtx(e,a);(0,i.addIssueToContext)(a,{code:r.ZodIssueCode.too_big,message:t.message,inclusive:true,exact:false,maximum:t.value,type:\"date\"});s.dirty()}}else{o.util.assertNever(t)}}return{status:s.value,value:new Date(e.data.getTime())}}_addCheck(e){return new ZodDate({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:\"min\",value:e.getTime(),message:n.errorUtil.toString(t)})}max(e,t){return this._addCheck({kind:\"max\",value:e.getTime(),message:n.errorUtil.toString(t)})}get minDate(){let e=null;for(const t of this._def.checks){if(t.kind===\"min\"){if(e===null||t.value>e)e=t.value}}return e!=null?new Date(e):null}get maxDate(){let e=null;for(const t of this._def.checks){if(t.kind===\"max\"){if(e===null||t.value<e)e=t.value}}return e!=null?new Date(e):null}}t.ZodDate=ZodDate;ZodDate.create=e=>new ZodDate({checks:[],coerce:e?.coerce||false,typeName:k.ZodDate,...processCreateParams(e)});class ZodSymbol extends ZodType{_parse(e){const t=this._getType(e);if(t!==o.ZodParsedType.symbol){const t=this._getOrReturnCtx(e);(0,i.addIssueToContext)(t,{code:r.ZodIssueCode.invalid_type,expected:o.ZodParsedType.symbol,received:t.parsedType});return i.INVALID}return(0,i.OK)(e.data)}}t.ZodSymbol=ZodSymbol;ZodSymbol.create=e=>new ZodSymbol({typeName:k.ZodSymbol,...processCreateParams(e)});class ZodUndefined extends ZodType{_parse(e){const t=this._getType(e);if(t!==o.ZodParsedType.undefined){const t=this._getOrReturnCtx(e);(0,i.addIssueToContext)(t,{code:r.ZodIssueCode.invalid_type,expected:o.ZodParsedType.undefined,received:t.parsedType});return i.INVALID}return(0,i.OK)(e.data)}}t.ZodUndefined=ZodUndefined;ZodUndefined.create=e=>new ZodUndefined({typeName:k.ZodUndefined,...processCreateParams(e)});class ZodNull extends ZodType{_parse(e){const t=this._getType(e);if(t!==o.ZodParsedType.null){const t=this._getOrReturnCtx(e);(0,i.addIssueToContext)(t,{code:r.ZodIssueCode.invalid_type,expected:o.ZodParsedType.null,received:t.parsedType});return i.INVALID}return(0,i.OK)(e.data)}}t.ZodNull=ZodNull;ZodNull.create=e=>new ZodNull({typeName:k.ZodNull,...processCreateParams(e)});class ZodAny extends ZodType{constructor(){super(...arguments);this._any=true}_parse(e){return(0,i.OK)(e.data)}}t.ZodAny=ZodAny;ZodAny.create=e=>new ZodAny({typeName:k.ZodAny,...processCreateParams(e)});class ZodUnknown extends ZodType{constructor(){super(...arguments);this._unknown=true}_parse(e){return(0,i.OK)(e.data)}}t.ZodUnknown=ZodUnknown;ZodUnknown.create=e=>new ZodUnknown({typeName:k.ZodUnknown,...processCreateParams(e)});class ZodNever extends ZodType{_parse(e){const t=this._getOrReturnCtx(e);(0,i.addIssueToContext)(t,{code:r.ZodIssueCode.invalid_type,expected:o.ZodParsedType.never,received:t.parsedType});return i.INVALID}}t.ZodNever=ZodNever;ZodNever.create=e=>new ZodNever({typeName:k.ZodNever,...processCreateParams(e)});class ZodVoid extends ZodType{_parse(e){const t=this._getType(e);if(t!==o.ZodParsedType.undefined){const t=this._getOrReturnCtx(e);(0,i.addIssueToContext)(t,{code:r.ZodIssueCode.invalid_type,expected:o.ZodParsedType.void,received:t.parsedType});return i.INVALID}return(0,i.OK)(e.data)}}t.ZodVoid=ZodVoid;ZodVoid.create=e=>new ZodVoid({typeName:k.ZodVoid,...processCreateParams(e)});class ZodArray extends ZodType{_parse(e){const{ctx:t,status:s}=this._processInputParams(e);const a=this._def;if(t.parsedType!==o.ZodParsedType.array){(0,i.addIssueToContext)(t,{code:r.ZodIssueCode.invalid_type,expected:o.ZodParsedType.array,received:t.parsedType});return i.INVALID}if(a.exactLength!==null){const e=t.data.length>a.exactLength.value;const n=t.data.length<a.exactLength.value;if(e||n){(0,i.addIssueToContext)(t,{code:e?r.ZodIssueCode.too_big:r.ZodIssueCode.too_small,minimum:n?a.exactLength.value:undefined,maximum:e?a.exactLength.value:undefined,type:\"array\",inclusive:true,exact:true,message:a.exactLength.message});s.dirty()}}if(a.minLength!==null){if(t.data.length<a.minLength.value){(0,i.addIssueToContext)(t,{code:r.ZodIssueCode.too_small,minimum:a.minLength.value,type:\"array\",inclusive:true,exact:false,message:a.minLength.message});s.dirty()}}if(a.maxLength!==null){if(t.data.length>a.maxLength.value){(0,i.addIssueToContext)(t,{code:r.ZodIssueCode.too_big,maximum:a.maxLength.value,type:\"array\",inclusive:true,exact:false,message:a.maxLength.message});s.dirty()}}if(t.common.async){return Promise.all([...t.data].map(((e,s)=>a.type._parseAsync(new ParseInputLazyPath(t,e,t.path,s))))).then((e=>i.ParseStatus.mergeArray(s,e)))}const n=[...t.data].map(((e,s)=>a.type._parseSync(new ParseInputLazyPath(t,e,t.path,s))));return i.ParseStatus.mergeArray(s,n)}get element(){return this._def.type}min(e,t){return new ZodArray({...this._def,minLength:{value:e,message:n.errorUtil.toString(t)}})}max(e,t){return new ZodArray({...this._def,maxLength:{value:e,message:n.errorUtil.toString(t)}})}length(e,t){return new ZodArray({...this._def,exactLength:{value:e,message:n.errorUtil.toString(t)}})}nonempty(e){return this.min(1,e)}}t.ZodArray=ZodArray;ZodArray.create=(e,t)=>new ZodArray({type:e,minLength:null,maxLength:null,exactLength:null,typeName:k.ZodArray,...processCreateParams(t)});function deepPartialify(e){if(e instanceof ZodObject){const t={};for(const s in e.shape){const r=e.shape[s];t[s]=ZodOptional.create(deepPartialify(r))}return new ZodObject({...e._def,shape:()=>t})}else if(e instanceof ZodArray){return new ZodArray({...e._def,type:deepPartialify(e.element)})}else if(e instanceof ZodOptional){return ZodOptional.create(deepPartialify(e.unwrap()))}else if(e instanceof ZodNullable){return ZodNullable.create(deepPartialify(e.unwrap()))}else if(e instanceof ZodTuple){return ZodTuple.create(e.items.map((e=>deepPartialify(e))))}else{return e}}class ZodObject extends ZodType{constructor(){super(...arguments);this._cached=null;this.nonstrict=this.passthrough;this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const e=this._def.shape();const t=o.util.objectKeys(e);this._cached={shape:e,keys:t};return this._cached}_parse(e){const t=this._getType(e);if(t!==o.ZodParsedType.object){const t=this._getOrReturnCtx(e);(0,i.addIssueToContext)(t,{code:r.ZodIssueCode.invalid_type,expected:o.ZodParsedType.object,received:t.parsedType});return i.INVALID}const{status:s,ctx:a}=this._processInputParams(e);const{shape:n,keys:d}=this._getCached();const u=[];if(!(this._def.catchall instanceof ZodNever&&this._def.unknownKeys===\"strip\")){for(const e in a.data){if(!d.includes(e)){u.push(e)}}}const c=[];for(const e of d){const t=n[e];const s=a.data[e];c.push({key:{status:\"valid\",value:e},value:t._parse(new ParseInputLazyPath(a,s,a.path,e)),alwaysSet:e in a.data})}if(this._def.catchall instanceof ZodNever){const e=this._def.unknownKeys;if(e===\"passthrough\"){for(const e of u){c.push({key:{status:\"valid\",value:e},value:{status:\"valid\",value:a.data[e]}})}}else if(e===\"strict\"){if(u.length>0){(0,i.addIssueToContext)(a,{code:r.ZodIssueCode.unrecognized_keys,keys:u});s.dirty()}}else if(e===\"strip\"){}else{throw new Error(`Internal ZodObject error: invalid unknownKeys value.`)}}else{const e=this._def.catchall;for(const t of u){const s=a.data[t];c.push({key:{status:\"valid\",value:t},value:e._parse(new ParseInputLazyPath(a,s,a.path,t)),alwaysSet:t in a.data})}}if(a.common.async){return Promise.resolve().then((async()=>{const e=[];for(const t of c){const s=await t.key;const r=await t.value;e.push({key:s,value:r,alwaysSet:t.alwaysSet})}return e})).then((e=>i.ParseStatus.mergeObjectSync(s,e)))}else{return i.ParseStatus.mergeObjectSync(s,c)}}get shape(){return this._def.shape()}strict(e){n.errorUtil.errToObj;return new ZodObject({...this._def,unknownKeys:\"strict\",...e!==undefined?{errorMap:(t,s)=>{const r=this._def.errorMap?.(t,s).message??s.defaultError;if(t.code===\"unrecognized_keys\")return{message:n.errorUtil.errToObj(e).message??r};return{message:r}}}:{}})}strip(){return new ZodObject({...this._def,unknownKeys:\"strip\"})}passthrough(){return new ZodObject({...this._def,unknownKeys:\"passthrough\"})}extend(e){return new ZodObject({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){const t=new ZodObject({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:k.ZodObject});return t}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new ZodObject({...this._def,catchall:e})}pick(e){const t={};for(const s of o.util.objectKeys(e)){if(e[s]&&this.shape[s]){t[s]=this.shape[s]}}return new ZodObject({...this._def,shape:()=>t})}omit(e){const t={};for(const s of o.util.objectKeys(this.shape)){if(!e[s]){t[s]=this.shape[s]}}return new ZodObject({...this._def,shape:()=>t})}deepPartial(){return deepPartialify(this)}partial(e){const t={};for(const s of o.util.objectKeys(this.shape)){const r=this.shape[s];if(e&&!e[s]){t[s]=r}else{t[s]=r.optional()}}return new ZodObject({...this._def,shape:()=>t})}required(e){const t={};for(const s of o.util.objectKeys(this.shape)){if(e&&!e[s]){t[s]=this.shape[s]}else{const e=this.shape[s];let r=e;while(r instanceof ZodOptional){r=r._def.innerType}t[s]=r}}return new ZodObject({...this._def,shape:()=>t})}keyof(){return createZodEnum(o.util.objectKeys(this.shape))}}t.ZodObject=ZodObject;ZodObject.create=(e,t)=>new ZodObject({shape:()=>e,unknownKeys:\"strip\",catchall:ZodNever.create(),typeName:k.ZodObject,...processCreateParams(t)});ZodObject.strictCreate=(e,t)=>new ZodObject({shape:()=>e,unknownKeys:\"strict\",catchall:ZodNever.create(),typeName:k.ZodObject,...processCreateParams(t)});ZodObject.lazycreate=(e,t)=>new ZodObject({shape:e,unknownKeys:\"strip\",catchall:ZodNever.create(),typeName:k.ZodObject,...processCreateParams(t)});class ZodUnion extends ZodType{_parse(e){const{ctx:t}=this._processInputParams(e);const s=this._def.options;function handleResults(e){for(const t of e){if(t.result.status===\"valid\"){return t.result}}for(const s of e){if(s.result.status===\"dirty\"){t.common.issues.push(...s.ctx.common.issues);return s.result}}const s=e.map((e=>new r.ZodError(e.ctx.common.issues)));(0,i.addIssueToContext)(t,{code:r.ZodIssueCode.invalid_union,unionErrors:s});return i.INVALID}if(t.common.async){return Promise.all(s.map((async e=>{const s={...t,common:{...t.common,issues:[]},parent:null};return{result:await e._parseAsync({data:t.data,path:t.path,parent:s}),ctx:s}}))).then(handleResults)}else{let e=undefined;const a=[];for(const r of s){const s={...t,common:{...t.common,issues:[]},parent:null};const n=r._parseSync({data:t.data,path:t.path,parent:s});if(n.status===\"valid\"){return n}else if(n.status===\"dirty\"&&!e){e={result:n,ctx:s}}if(s.common.issues.length){a.push(s.common.issues)}}if(e){t.common.issues.push(...e.ctx.common.issues);return e.result}const n=a.map((e=>new r.ZodError(e)));(0,i.addIssueToContext)(t,{code:r.ZodIssueCode.invalid_union,unionErrors:n});return i.INVALID}}get options(){return this._def.options}}t.ZodUnion=ZodUnion;ZodUnion.create=(e,t)=>new ZodUnion({options:e,typeName:k.ZodUnion,...processCreateParams(t)});const getDiscriminator=e=>{if(e instanceof ZodLazy){return getDiscriminator(e.schema)}else if(e instanceof ZodEffects){return getDiscriminator(e.innerType())}else if(e instanceof ZodLiteral){return[e.value]}else if(e instanceof ZodEnum){return e.options}else if(e instanceof ZodNativeEnum){return o.util.objectValues(e.enum)}else if(e instanceof ZodDefault){return getDiscriminator(e._def.innerType)}else if(e instanceof ZodUndefined){return[undefined]}else if(e instanceof ZodNull){return[null]}else if(e instanceof ZodOptional){return[undefined,...getDiscriminator(e.unwrap())]}else if(e instanceof ZodNullable){return[null,...getDiscriminator(e.unwrap())]}else if(e instanceof ZodBranded){return getDiscriminator(e.unwrap())}else if(e instanceof ZodReadonly){return getDiscriminator(e.unwrap())}else if(e instanceof ZodCatch){return getDiscriminator(e._def.innerType)}else{return[]}};class ZodDiscriminatedUnion extends ZodType{_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==o.ZodParsedType.object){(0,i.addIssueToContext)(t,{code:r.ZodIssueCode.invalid_type,expected:o.ZodParsedType.object,received:t.parsedType});return i.INVALID}const s=this.discriminator;const a=t.data[s];const n=this.optionsMap.get(a);if(!n){(0,i.addIssueToContext)(t,{code:r.ZodIssueCode.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[s]});return i.INVALID}if(t.common.async){return n._parseAsync({data:t.data,path:t.path,parent:t})}else{return n._parseSync({data:t.data,path:t.path,parent:t})}}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,s){const r=new Map;for(const s of t){const t=getDiscriminator(s.shape[e]);if(!t.length){throw new Error(`A discriminator value for key \\`${e}\\` could not be extracted from all schema options`)}for(const a of t){if(r.has(a)){throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(a)}`)}r.set(a,s)}}return new ZodDiscriminatedUnion({typeName:k.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:r,...processCreateParams(s)})}}t.ZodDiscriminatedUnion=ZodDiscriminatedUnion;function mergeValues(e,t){const s=(0,o.getParsedType)(e);const r=(0,o.getParsedType)(t);if(e===t){return{valid:true,data:e}}else if(s===o.ZodParsedType.object&&r===o.ZodParsedType.object){const s=o.util.objectKeys(t);const r=o.util.objectKeys(e).filter((e=>s.indexOf(e)!==-1));const a={...e,...t};for(const s of r){const r=mergeValues(e[s],t[s]);if(!r.valid){return{valid:false}}a[s]=r.data}return{valid:true,data:a}}else if(s===o.ZodParsedType.array&&r===o.ZodParsedType.array){if(e.length!==t.length){return{valid:false}}const s=[];for(let r=0;r<e.length;r++){const a=e[r];const n=t[r];const i=mergeValues(a,n);if(!i.valid){return{valid:false}}s.push(i.data)}return{valid:true,data:s}}else if(s===o.ZodParsedType.date&&r===o.ZodParsedType.date&&+e===+t){return{valid:true,data:e}}else{return{valid:false}}}class ZodIntersection extends ZodType{_parse(e){const{status:t,ctx:s}=this._processInputParams(e);const handleParsed=(e,a)=>{if((0,i.isAborted)(e)||(0,i.isAborted)(a)){return i.INVALID}const n=mergeValues(e.value,a.value);if(!n.valid){(0,i.addIssueToContext)(s,{code:r.ZodIssueCode.invalid_intersection_types});return i.INVALID}if((0,i.isDirty)(e)||(0,i.isDirty)(a)){t.dirty()}return{status:t.value,value:n.data}};if(s.common.async){return Promise.all([this._def.left._parseAsync({data:s.data,path:s.path,parent:s}),this._def.right._parseAsync({data:s.data,path:s.path,parent:s})]).then((([e,t])=>handleParsed(e,t)))}else{return handleParsed(this._def.left._parseSync({data:s.data,path:s.path,parent:s}),this._def.right._parseSync({data:s.data,path:s.path,parent:s}))}}}t.ZodIntersection=ZodIntersection;ZodIntersection.create=(e,t,s)=>new ZodIntersection({left:e,right:t,typeName:k.ZodIntersection,...processCreateParams(s)});class ZodTuple extends ZodType{_parse(e){const{status:t,ctx:s}=this._processInputParams(e);if(s.parsedType!==o.ZodParsedType.array){(0,i.addIssueToContext)(s,{code:r.ZodIssueCode.invalid_type,expected:o.ZodParsedType.array,received:s.parsedType});return i.INVALID}if(s.data.length<this._def.items.length){(0,i.addIssueToContext)(s,{code:r.ZodIssueCode.too_small,minimum:this._def.items.length,inclusive:true,exact:false,type:\"array\"});return i.INVALID}const a=this._def.rest;if(!a&&s.data.length>this._def.items.length){(0,i.addIssueToContext)(s,{code:r.ZodIssueCode.too_big,maximum:this._def.items.length,inclusive:true,exact:false,type:\"array\"});t.dirty()}const n=[...s.data].map(((e,t)=>{const r=this._def.items[t]||this._def.rest;if(!r)return null;return r._parse(new ParseInputLazyPath(s,e,s.path,t))})).filter((e=>!!e));if(s.common.async){return Promise.all(n).then((e=>i.ParseStatus.mergeArray(t,e)))}else{return i.ParseStatus.mergeArray(t,n)}}get items(){return this._def.items}rest(e){return new ZodTuple({...this._def,rest:e})}}t.ZodTuple=ZodTuple;ZodTuple.create=(e,t)=>{if(!Array.isArray(e)){throw new Error(\"You must pass an array of schemas to z.tuple([ ... ])\")}return new ZodTuple({items:e,typeName:k.ZodTuple,rest:null,...processCreateParams(t)})};class ZodRecord extends ZodType{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:s}=this._processInputParams(e);if(s.parsedType!==o.ZodParsedType.object){(0,i.addIssueToContext)(s,{code:r.ZodIssueCode.invalid_type,expected:o.ZodParsedType.object,received:s.parsedType});return i.INVALID}const a=[];const n=this._def.keyType;const d=this._def.valueType;for(const e in s.data){a.push({key:n._parse(new ParseInputLazyPath(s,e,s.path,e)),value:d._parse(new ParseInputLazyPath(s,s.data[e],s.path,e)),alwaysSet:e in s.data})}if(s.common.async){return i.ParseStatus.mergeObjectAsync(t,a)}else{return i.ParseStatus.mergeObjectSync(t,a)}}get element(){return this._def.valueType}static create(e,t,s){if(t instanceof ZodType){return new ZodRecord({keyType:e,valueType:t,typeName:k.ZodRecord,...processCreateParams(s)})}return new ZodRecord({keyType:ZodString.create(),valueType:e,typeName:k.ZodRecord,...processCreateParams(t)})}}t.ZodRecord=ZodRecord;class ZodMap extends ZodType{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:s}=this._processInputParams(e);if(s.parsedType!==o.ZodParsedType.map){(0,i.addIssueToContext)(s,{code:r.ZodIssueCode.invalid_type,expected:o.ZodParsedType.map,received:s.parsedType});return i.INVALID}const a=this._def.keyType;const n=this._def.valueType;const d=[...s.data.entries()].map((([e,t],r)=>({key:a._parse(new ParseInputLazyPath(s,e,s.path,[r,\"key\"])),value:n._parse(new ParseInputLazyPath(s,t,s.path,[r,\"value\"]))})));if(s.common.async){const e=new Map;return Promise.resolve().then((async()=>{for(const s of d){const r=await s.key;const a=await s.value;if(r.status===\"aborted\"||a.status===\"aborted\"){return i.INVALID}if(r.status===\"dirty\"||a.status===\"dirty\"){t.dirty()}e.set(r.value,a.value)}return{status:t.value,value:e}}))}else{const e=new Map;for(const s of d){const r=s.key;const a=s.value;if(r.status===\"aborted\"||a.status===\"aborted\"){return i.INVALID}if(r.status===\"dirty\"||a.status===\"dirty\"){t.dirty()}e.set(r.value,a.value)}return{status:t.value,value:e}}}}t.ZodMap=ZodMap;ZodMap.create=(e,t,s)=>new ZodMap({valueType:t,keyType:e,typeName:k.ZodMap,...processCreateParams(s)});class ZodSet extends ZodType{_parse(e){const{status:t,ctx:s}=this._processInputParams(e);if(s.parsedType!==o.ZodParsedType.set){(0,i.addIssueToContext)(s,{code:r.ZodIssueCode.invalid_type,expected:o.ZodParsedType.set,received:s.parsedType});return i.INVALID}const a=this._def;if(a.minSize!==null){if(s.data.size<a.minSize.value){(0,i.addIssueToContext)(s,{code:r.ZodIssueCode.too_small,minimum:a.minSize.value,type:\"set\",inclusive:true,exact:false,message:a.minSize.message});t.dirty()}}if(a.maxSize!==null){if(s.data.size>a.maxSize.value){(0,i.addIssueToContext)(s,{code:r.ZodIssueCode.too_big,maximum:a.maxSize.value,type:\"set\",inclusive:true,exact:false,message:a.maxSize.message});t.dirty()}}const n=this._def.valueType;function finalizeSet(e){const s=new Set;for(const r of e){if(r.status===\"aborted\")return i.INVALID;if(r.status===\"dirty\")t.dirty();s.add(r.value)}return{status:t.value,value:s}}const d=[...s.data.values()].map(((e,t)=>n._parse(new ParseInputLazyPath(s,e,s.path,t))));if(s.common.async){return Promise.all(d).then((e=>finalizeSet(e)))}else{return finalizeSet(d)}}min(e,t){return new ZodSet({...this._def,minSize:{value:e,message:n.errorUtil.toString(t)}})}max(e,t){return new ZodSet({...this._def,maxSize:{value:e,message:n.errorUtil.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}t.ZodSet=ZodSet;ZodSet.create=(e,t)=>new ZodSet({valueType:e,minSize:null,maxSize:null,typeName:k.ZodSet,...processCreateParams(t)});class ZodFunction extends ZodType{constructor(){super(...arguments);this.validate=this.implement}_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==o.ZodParsedType.function){(0,i.addIssueToContext)(t,{code:r.ZodIssueCode.invalid_type,expected:o.ZodParsedType.function,received:t.parsedType});return i.INVALID}function makeArgsIssue(e,s){return(0,i.makeIssue)({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,(0,a.getErrorMap)(),a.defaultErrorMap].filter((e=>!!e)),issueData:{code:r.ZodIssueCode.invalid_arguments,argumentsError:s}})}function makeReturnsIssue(e,s){return(0,i.makeIssue)({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,(0,a.getErrorMap)(),a.defaultErrorMap].filter((e=>!!e)),issueData:{code:r.ZodIssueCode.invalid_return_type,returnTypeError:s}})}const s={errorMap:t.common.contextualErrorMap};const n=t.data;if(this._def.returns instanceof ZodPromise){const e=this;return(0,i.OK)((async function(...t){const a=new r.ZodError([]);const i=await e._def.args.parseAsync(t,s).catch((e=>{a.addIssue(makeArgsIssue(t,e));throw a}));const o=await Reflect.apply(n,this,i);const d=await e._def.returns._def.type.parseAsync(o,s).catch((e=>{a.addIssue(makeReturnsIssue(o,e));throw a}));return d}))}else{const e=this;return(0,i.OK)((function(...t){const a=e._def.args.safeParse(t,s);if(!a.success){throw new r.ZodError([makeArgsIssue(t,a.error)])}const i=Reflect.apply(n,this,a.data);const o=e._def.returns.safeParse(i,s);if(!o.success){throw new r.ZodError([makeReturnsIssue(i,o.error)])}return o.data}))}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new ZodFunction({...this._def,args:ZodTuple.create(e).rest(ZodUnknown.create())})}returns(e){return new ZodFunction({...this._def,returns:e})}implement(e){const t=this.parse(e);return t}strictImplement(e){const t=this.parse(e);return t}static create(e,t,s){return new ZodFunction({args:e?e:ZodTuple.create([]).rest(ZodUnknown.create()),returns:t||ZodUnknown.create(),typeName:k.ZodFunction,...processCreateParams(s)})}}t.ZodFunction=ZodFunction;class ZodLazy extends ZodType{get schema(){return this._def.getter()}_parse(e){const{ctx:t}=this._processInputParams(e);const s=this._def.getter();return s._parse({data:t.data,path:t.path,parent:t})}}t.ZodLazy=ZodLazy;ZodLazy.create=(e,t)=>new ZodLazy({getter:e,typeName:k.ZodLazy,...processCreateParams(t)});class ZodLiteral extends ZodType{_parse(e){if(e.data!==this._def.value){const t=this._getOrReturnCtx(e);(0,i.addIssueToContext)(t,{received:t.data,code:r.ZodIssueCode.invalid_literal,expected:this._def.value});return i.INVALID}return{status:\"valid\",value:e.data}}get value(){return this._def.value}}t.ZodLiteral=ZodLiteral;ZodLiteral.create=(e,t)=>new ZodLiteral({value:e,typeName:k.ZodLiteral,...processCreateParams(t)});function createZodEnum(e,t){return new ZodEnum({values:e,typeName:k.ZodEnum,...processCreateParams(t)})}class ZodEnum extends ZodType{_parse(e){if(typeof e.data!==\"string\"){const t=this._getOrReturnCtx(e);const s=this._def.values;(0,i.addIssueToContext)(t,{expected:o.util.joinValues(s),received:t.parsedType,code:r.ZodIssueCode.invalid_type});return i.INVALID}if(!this._cache){this._cache=new Set(this._def.values)}if(!this._cache.has(e.data)){const t=this._getOrReturnCtx(e);const s=this._def.values;(0,i.addIssueToContext)(t,{received:t.data,code:r.ZodIssueCode.invalid_enum_value,options:s});return i.INVALID}return(0,i.OK)(e.data)}get options(){return this._def.values}get enum(){const e={};for(const t of this._def.values){e[t]=t}return e}get Values(){const e={};for(const t of this._def.values){e[t]=t}return e}get Enum(){const e={};for(const t of this._def.values){e[t]=t}return e}extract(e,t=this._def){return ZodEnum.create(e,{...this._def,...t})}exclude(e,t=this._def){return ZodEnum.create(this.options.filter((t=>!e.includes(t))),{...this._def,...t})}}t.ZodEnum=ZodEnum;ZodEnum.create=createZodEnum;class ZodNativeEnum extends ZodType{_parse(e){const t=o.util.getValidEnumValues(this._def.values);const s=this._getOrReturnCtx(e);if(s.parsedType!==o.ZodParsedType.string&&s.parsedType!==o.ZodParsedType.number){const e=o.util.objectValues(t);(0,i.addIssueToContext)(s,{expected:o.util.joinValues(e),received:s.parsedType,code:r.ZodIssueCode.invalid_type});return i.INVALID}if(!this._cache){this._cache=new Set(o.util.getValidEnumValues(this._def.values))}if(!this._cache.has(e.data)){const e=o.util.objectValues(t);(0,i.addIssueToContext)(s,{received:s.data,code:r.ZodIssueCode.invalid_enum_value,options:e});return i.INVALID}return(0,i.OK)(e.data)}get enum(){return this._def.values}}t.ZodNativeEnum=ZodNativeEnum;ZodNativeEnum.create=(e,t)=>new ZodNativeEnum({values:e,typeName:k.ZodNativeEnum,...processCreateParams(t)});class ZodPromise extends ZodType{unwrap(){return this._def.type}_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==o.ZodParsedType.promise&&t.common.async===false){(0,i.addIssueToContext)(t,{code:r.ZodIssueCode.invalid_type,expected:o.ZodParsedType.promise,received:t.parsedType});return i.INVALID}const s=t.parsedType===o.ZodParsedType.promise?t.data:Promise.resolve(t.data);return(0,i.OK)(s.then((e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap}))))}}t.ZodPromise=ZodPromise;ZodPromise.create=(e,t)=>new ZodPromise({type:e,typeName:k.ZodPromise,...processCreateParams(t)});class ZodEffects extends ZodType{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===k.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){const{status:t,ctx:s}=this._processInputParams(e);const r=this._def.effect||null;const a={addIssue:e=>{(0,i.addIssueToContext)(s,e);if(e.fatal){t.abort()}else{t.dirty()}},get path(){return s.path}};a.addIssue=a.addIssue.bind(a);if(r.type===\"preprocess\"){const e=r.transform(s.data,a);if(s.common.async){return Promise.resolve(e).then((async e=>{if(t.value===\"aborted\")return i.INVALID;const r=await this._def.schema._parseAsync({data:e,path:s.path,parent:s});if(r.status===\"aborted\")return i.INVALID;if(r.status===\"dirty\")return(0,i.DIRTY)(r.value);if(t.value===\"dirty\")return(0,i.DIRTY)(r.value);return r}))}else{if(t.value===\"aborted\")return i.INVALID;const r=this._def.schema._parseSync({data:e,path:s.path,parent:s});if(r.status===\"aborted\")return i.INVALID;if(r.status===\"dirty\")return(0,i.DIRTY)(r.value);if(t.value===\"dirty\")return(0,i.DIRTY)(r.value);return r}}if(r.type===\"refinement\"){const executeRefinement=e=>{const t=r.refinement(e,a);if(s.common.async){return Promise.resolve(t)}if(t instanceof Promise){throw new Error(\"Async refinement encountered during synchronous parse operation. Use .parseAsync instead.\")}return e};if(s.common.async===false){const e=this._def.schema._parseSync({data:s.data,path:s.path,parent:s});if(e.status===\"aborted\")return i.INVALID;if(e.status===\"dirty\")t.dirty();executeRefinement(e.value);return{status:t.value,value:e.value}}else{return this._def.schema._parseAsync({data:s.data,path:s.path,parent:s}).then((e=>{if(e.status===\"aborted\")return i.INVALID;if(e.status===\"dirty\")t.dirty();return executeRefinement(e.value).then((()=>({status:t.value,value:e.value})))}))}}if(r.type===\"transform\"){if(s.common.async===false){const e=this._def.schema._parseSync({data:s.data,path:s.path,parent:s});if(!(0,i.isValid)(e))return i.INVALID;const n=r.transform(e.value,a);if(n instanceof Promise){throw new Error(`Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.`)}return{status:t.value,value:n}}else{return this._def.schema._parseAsync({data:s.data,path:s.path,parent:s}).then((e=>{if(!(0,i.isValid)(e))return i.INVALID;return Promise.resolve(r.transform(e.value,a)).then((e=>({status:t.value,value:e})))}))}}o.util.assertNever(r)}}t.ZodEffects=ZodEffects;t.ZodTransformer=ZodEffects;ZodEffects.create=(e,t,s)=>new ZodEffects({schema:e,typeName:k.ZodEffects,effect:t,...processCreateParams(s)});ZodEffects.createWithPreprocess=(e,t,s)=>new ZodEffects({schema:t,effect:{type:\"preprocess\",transform:e},typeName:k.ZodEffects,...processCreateParams(s)});class ZodOptional extends ZodType{_parse(e){const t=this._getType(e);if(t===o.ZodParsedType.undefined){return(0,i.OK)(undefined)}return this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}t.ZodOptional=ZodOptional;ZodOptional.create=(e,t)=>new ZodOptional({innerType:e,typeName:k.ZodOptional,...processCreateParams(t)});class ZodNullable extends ZodType{_parse(e){const t=this._getType(e);if(t===o.ZodParsedType.null){return(0,i.OK)(null)}return this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}t.ZodNullable=ZodNullable;ZodNullable.create=(e,t)=>new ZodNullable({innerType:e,typeName:k.ZodNullable,...processCreateParams(t)});class ZodDefault extends ZodType{_parse(e){const{ctx:t}=this._processInputParams(e);let s=t.data;if(t.parsedType===o.ZodParsedType.undefined){s=this._def.defaultValue()}return this._def.innerType._parse({data:s,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}t.ZodDefault=ZodDefault;ZodDefault.create=(e,t)=>new ZodDefault({innerType:e,typeName:k.ZodDefault,defaultValue:typeof t.default===\"function\"?t.default:()=>t.default,...processCreateParams(t)});class ZodCatch extends ZodType{_parse(e){const{ctx:t}=this._processInputParams(e);const s={...t,common:{...t.common,issues:[]}};const a=this._def.innerType._parse({data:s.data,path:s.path,parent:{...s}});if((0,i.isAsync)(a)){return a.then((e=>({status:\"valid\",value:e.status===\"valid\"?e.value:this._def.catchValue({get error(){return new r.ZodError(s.common.issues)},input:s.data})})))}else{return{status:\"valid\",value:a.status===\"valid\"?a.value:this._def.catchValue({get error(){return new r.ZodError(s.common.issues)},input:s.data})}}}removeCatch(){return this._def.innerType}}t.ZodCatch=ZodCatch;ZodCatch.create=(e,t)=>new ZodCatch({innerType:e,typeName:k.ZodCatch,catchValue:typeof t.catch===\"function\"?t.catch:()=>t.catch,...processCreateParams(t)});class ZodNaN extends ZodType{_parse(e){const t=this._getType(e);if(t!==o.ZodParsedType.nan){const t=this._getOrReturnCtx(e);(0,i.addIssueToContext)(t,{code:r.ZodIssueCode.invalid_type,expected:o.ZodParsedType.nan,received:t.parsedType});return i.INVALID}return{status:\"valid\",value:e.data}}}t.ZodNaN=ZodNaN;ZodNaN.create=e=>new ZodNaN({typeName:k.ZodNaN,...processCreateParams(e)});t.BRAND=Symbol(\"zod_brand\");class ZodBranded extends ZodType{_parse(e){const{ctx:t}=this._processInputParams(e);const s=t.data;return this._def.type._parse({data:s,path:t.path,parent:t})}unwrap(){return this._def.type}}t.ZodBranded=ZodBranded;class ZodPipeline extends ZodType{_parse(e){const{status:t,ctx:s}=this._processInputParams(e);if(s.common.async){const handleAsync=async()=>{const e=await this._def.in._parseAsync({data:s.data,path:s.path,parent:s});if(e.status===\"aborted\")return i.INVALID;if(e.status===\"dirty\"){t.dirty();return(0,i.DIRTY)(e.value)}else{return this._def.out._parseAsync({data:e.value,path:s.path,parent:s})}};return handleAsync()}else{const e=this._def.in._parseSync({data:s.data,path:s.path,parent:s});if(e.status===\"aborted\")return i.INVALID;if(e.status===\"dirty\"){t.dirty();return{status:\"dirty\",value:e.value}}else{return this._def.out._parseSync({data:e.value,path:s.path,parent:s})}}}static create(e,t){return new ZodPipeline({in:e,out:t,typeName:k.ZodPipeline})}}t.ZodPipeline=ZodPipeline;class ZodReadonly extends ZodType{_parse(e){const t=this._def.innerType._parse(e);const freeze=e=>{if((0,i.isValid)(e)){e.value=Object.freeze(e.value)}return e};return(0,i.isAsync)(t)?t.then((e=>freeze(e))):freeze(t)}unwrap(){return this._def.innerType}}t.ZodReadonly=ZodReadonly;ZodReadonly.create=(e,t)=>new ZodReadonly({innerType:e,typeName:k.ZodReadonly,...processCreateParams(t)});function cleanParams(e,t){const s=typeof e===\"function\"?e(t):typeof e===\"string\"?{message:e}:e;const r=typeof s===\"string\"?{message:s}:s;return r}function custom(e,t={},s){if(e)return ZodAny.create().superRefine(((r,a)=>{const n=e(r);if(n instanceof Promise){return n.then((e=>{if(!e){const e=cleanParams(t,r);const n=e.fatal??s??true;a.addIssue({code:\"custom\",...e,fatal:n})}}))}if(!n){const e=cleanParams(t,r);const n=e.fatal??s??true;a.addIssue({code:\"custom\",...e,fatal:n})}return}));return ZodAny.create()}t.late={object:ZodObject.lazycreate};var k;(function(e){e[\"ZodString\"]=\"ZodString\";e[\"ZodNumber\"]=\"ZodNumber\";e[\"ZodNaN\"]=\"ZodNaN\";e[\"ZodBigInt\"]=\"ZodBigInt\";e[\"ZodBoolean\"]=\"ZodBoolean\";e[\"ZodDate\"]=\"ZodDate\";e[\"ZodSymbol\"]=\"ZodSymbol\";e[\"ZodUndefined\"]=\"ZodUndefined\";e[\"ZodNull\"]=\"ZodNull\";e[\"ZodAny\"]=\"ZodAny\";e[\"ZodUnknown\"]=\"ZodUnknown\";e[\"ZodNever\"]=\"ZodNever\";e[\"ZodVoid\"]=\"ZodVoid\";e[\"ZodArray\"]=\"ZodArray\";e[\"ZodObject\"]=\"ZodObject\";e[\"ZodUnion\"]=\"ZodUnion\";e[\"ZodDiscriminatedUnion\"]=\"ZodDiscriminatedUnion\";e[\"ZodIntersection\"]=\"ZodIntersection\";e[\"ZodTuple\"]=\"ZodTuple\";e[\"ZodRecord\"]=\"ZodRecord\";e[\"ZodMap\"]=\"ZodMap\";e[\"ZodSet\"]=\"ZodSet\";e[\"ZodFunction\"]=\"ZodFunction\";e[\"ZodLazy\"]=\"ZodLazy\";e[\"ZodLiteral\"]=\"ZodLiteral\";e[\"ZodEnum\"]=\"ZodEnum\";e[\"ZodEffects\"]=\"ZodEffects\";e[\"ZodNativeEnum\"]=\"ZodNativeEnum\";e[\"ZodOptional\"]=\"ZodOptional\";e[\"ZodNullable\"]=\"ZodNullable\";e[\"ZodDefault\"]=\"ZodDefault\";e[\"ZodCatch\"]=\"ZodCatch\";e[\"ZodPromise\"]=\"ZodPromise\";e[\"ZodBranded\"]=\"ZodBranded\";e[\"ZodPipeline\"]=\"ZodPipeline\";e[\"ZodReadonly\"]=\"ZodReadonly\"})(k||(t.ZodFirstPartyTypeKind=k={}));class Class{constructor(...e){}}const instanceOfType=(e,t={message:`Input not instance of ${e.name}`})=>custom((t=>t instanceof e),t);t[\"instanceof\"]=instanceOfType;const P=ZodString.create;t.string=P;const w=ZodNumber.create;t.number=w;const N=ZodNaN.create;t.nan=N;const O=ZodBigInt.create;t.bigint=O;const A=ZodBoolean.create;t.boolean=A;const S=ZodDate.create;t.date=S;const j=ZodSymbol.create;t.symbol=j;const E=ZodUndefined.create;t.undefined=E;const D=ZodNull.create;t[\"null\"]=D;const L=ZodAny.create;t.any=L;const U=ZodUnknown.create;t.unknown=U;const R=ZodNever.create;t.never=R;const V=ZodVoid.create;t[\"void\"]=V;const M=ZodArray.create;t.array=M;const $=ZodObject.create;t.object=$;const z=ZodObject.strictCreate;t.strictObject=z;const F=ZodUnion.create;t.union=F;const B=ZodDiscriminatedUnion.create;t.discriminatedUnion=B;const K=ZodIntersection.create;t.intersection=K;const q=ZodTuple.create;t.tuple=q;const W=ZodRecord.create;t.record=W;const Y=ZodMap.create;t.map=Y;const J=ZodSet.create;t.set=J;const H=ZodFunction.create;t[\"function\"]=H;const G=ZodLazy.create;t.lazy=G;const X=ZodLiteral.create;t.literal=X;const Q=ZodEnum.create;t[\"enum\"]=Q;const ee=ZodNativeEnum.create;t.nativeEnum=ee;const te=ZodPromise.create;t.promise=te;const se=ZodEffects.create;t.effect=se;t.transformer=se;const re=ZodOptional.create;t.optional=re;const ae=ZodNullable.create;t.nullable=ae;const ne=ZodEffects.createWithPreprocess;t.preprocess=ne;const ie=ZodPipeline.create;t.pipeline=ie;const ostring=()=>P().optional();t.ostring=ostring;const onumber=()=>w().optional();t.onumber=onumber;const oboolean=()=>A().optional();t.oboolean=oboolean;t.coerce={string:e=>ZodString.create({...e,coerce:true}),number:e=>ZodNumber.create({...e,coerce:true}),boolean:e=>ZodBoolean.create({...e,coerce:true}),bigint:e=>ZodBigInt.create({...e,coerce:true}),date:e=>ZodDate.create({...e,coerce:true})};t.NEVER=i.INVALID}};var t={};function __nccwpck_require__(s){var r=t[s];if(r!==undefined){return r.exports}var a=t[s]={exports:{}};var n=true;try{e[s].call(a.exports,a,a.exports,__nccwpck_require__);n=false}finally{if(n)delete t[s]}return a.exports}if(typeof __nccwpck_require__!==\"undefined\")__nccwpck_require__.ab=__dirname+\"/\";var s=__nccwpck_require__(629);module.exports=s})();","// getDefaultExport function for compatibility with non-ESM modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};\n","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};","__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n }\n }\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};","__webpack_require__.nc = undefined;","import type { CacheIndicatorState } from '../../cache-indicator'\nimport { css } from '../../utils/css'\n\nexport enum Status {\n None = 'none',\n Rendering = 'rendering',\n Compiling = 'compiling',\n Prerendering = 'prerendering',\n CacheBypassing = 'cache-bypassing',\n}\n\nexport function getCurrentStatus(\n buildingIndicator: boolean,\n renderingIndicator: boolean,\n cacheIndicator: CacheIndicatorState\n): Status {\n const isCacheFilling = cacheIndicator === 'filling'\n\n // Priority order: compiling > prerendering > rendering\n // Note: cache bypassing is now handled as a badge, not a status indicator\n if (buildingIndicator) {\n return Status.Compiling\n }\n if (isCacheFilling) {\n return Status.Prerendering\n }\n if (renderingIndicator) {\n return Status.Rendering\n }\n return Status.None\n}\n\ninterface StatusIndicatorProps {\n status: Status\n onClick?: () => void\n}\n\nexport function StatusIndicator({ status, onClick }: StatusIndicatorProps) {\n const statusText: Record<Status, string> = {\n [Status.None]: '',\n [Status.CacheBypassing]: 'Cache disabled',\n [Status.Prerendering]: 'Prerendering',\n [Status.Compiling]: 'Compiling',\n [Status.Rendering]: 'Rendering',\n }\n\n // Status dot colors\n const statusDotColor: Record<Status, string> = {\n [Status.None]: '',\n [Status.CacheBypassing]: '', // No dot for bypass, uses full pill color\n [Status.Prerendering]: '#f5a623',\n [Status.Compiling]: '#f5a623',\n [Status.Rendering]: '#50e3c2',\n }\n\n if (status === Status.None) {\n return null\n }\n\n return (\n <>\n <style>\n {css`\n [data-indicator-status] {\n --padding-left: 8px;\n display: flex;\n gap: 6px;\n align-items: center;\n padding-left: 12px;\n padding-right: 8px;\n height: var(--size-32);\n margin-right: 2px;\n border-radius: var(--rounded-full);\n transition: background var(--duration-short) ease;\n color: white;\n font-size: var(--size-13);\n font-weight: 500;\n white-space: nowrap;\n border: none;\n background: transparent;\n cursor: pointer;\n outline: none;\n }\n\n [data-indicator-status]:focus-visible {\n outline: 2px solid var(--color-blue-800, #3b82f6);\n outline-offset: 3px;\n }\n\n [data-status-dot] {\n width: 8px;\n height: 8px;\n border-radius: 50%;\n flex-shrink: 0;\n }\n\n [data-status-text-animation] {\n display: inline-flex;\n align-items: center;\n position: relative;\n overflow: hidden;\n height: 100%;\n\n > * {\n white-space: nowrap;\n line-height: 1;\n }\n\n [data-status-text-enter] {\n animation: slotMachineEnter 150ms cubic-bezier(0, 0, 0.2, 1)\n forwards;\n }\n }\n\n [data-status-ellipsis] {\n display: inline-flex;\n margin-left: 2px;\n }\n\n [data-status-ellipsis] span {\n animation: ellipsisFade 1.2s infinite;\n margin: 0 1px;\n }\n\n [data-status-ellipsis] span:nth-child(2) {\n animation-delay: 0.2s;\n }\n\n [data-status-ellipsis] span:nth-child(3) {\n animation-delay: 0.4s;\n }\n\n @keyframes ellipsisFade {\n 0%,\n 60%,\n 100% {\n opacity: 0.2;\n }\n 30% {\n opacity: 1;\n }\n }\n\n @keyframes slotMachineEnter {\n 0% {\n transform: translateY(0.8em);\n opacity: 0;\n }\n 50% {\n opacity: 0.8;\n }\n 100% {\n transform: translateY(0);\n opacity: 1;\n }\n }\n `}\n </style>\n <button\n data-indicator-status\n data-nextjs-dev-tools-button\n onClick={onClick}\n aria-label=\"Open Next.js Dev Tools\"\n >\n {statusDotColor[status] && (\n <div\n data-status-dot\n style={{\n backgroundColor: statusDotColor[status],\n }}\n />\n )}\n <AnimateStatusText\n key={status} // Key here triggers re-mount and animation\n statusKey={status}\n showEllipsis={status !== Status.CacheBypassing}\n >\n {statusText[status]}\n </AnimateStatusText>\n </button>\n </>\n )\n}\n\nfunction AnimateStatusText({\n children: text,\n showEllipsis = true,\n}: {\n children: string\n statusKey?: string // Keep for type compatibility but unused\n showEllipsis?: boolean\n}) {\n return (\n <div data-status-text-animation>\n <div data-status-text-enter>\n {text}\n {showEllipsis && (\n <span data-status-ellipsis>\n <span>.</span>\n <span>.</span>\n <span>.</span>\n </span>\n )}\n </div>\n </div>\n )\n}\n","export let TransitionStatusDataAttributes = /*#__PURE__*/function (TransitionStatusDataAttributes) {\n /**\n * Present when the component is animating in.\n */\n TransitionStatusDataAttributes[\"startingStyle\"] = \"data-starting-style\";\n /**\n * Present when the component is animating out.\n */\n TransitionStatusDataAttributes[\"endingStyle\"] = \"data-ending-style\";\n return TransitionStatusDataAttributes;\n}({});\nconst STARTING_HOOK = {\n [TransitionStatusDataAttributes.startingStyle]: ''\n};\nconst ENDING_HOOK = {\n [TransitionStatusDataAttributes.endingStyle]: ''\n};\nexport const transitionStatusMapping = {\n transitionStatus(value) {\n if (value === 'starting') {\n return STARTING_HOOK;\n }\n if (value === 'ending') {\n return ENDING_HOOK;\n }\n return null;\n }\n};","import { TransitionStatusDataAttributes } from \"./styleHookMapping.js\";\nexport let CommonPopupDataAttributes = function (CommonPopupDataAttributes) {\n /**\n * Present when the popup is open.\n */\n CommonPopupDataAttributes[\"open\"] = \"data-open\";\n /**\n * Present when the popup is closed.\n */\n CommonPopupDataAttributes[\"closed\"] = \"data-closed\";\n /**\n * Present when the popup is animating in.\n */\n CommonPopupDataAttributes[CommonPopupDataAttributes[\"startingStyle\"] = TransitionStatusDataAttributes.startingStyle] = \"startingStyle\";\n /**\n * Present when the popup is animating out.\n */\n CommonPopupDataAttributes[CommonPopupDataAttributes[\"endingStyle\"] = TransitionStatusDataAttributes.endingStyle] = \"endingStyle\";\n /**\n * Present when the anchor is hidden.\n */\n CommonPopupDataAttributes[\"anchorHidden\"] = \"data-anchor-hidden\";\n return CommonPopupDataAttributes;\n}({});\nexport let CommonTriggerDataAttributes = /*#__PURE__*/function (CommonTriggerDataAttributes) {\n /**\n * Present when the popup is open.\n */\n CommonTriggerDataAttributes[\"popupOpen\"] = \"data-popup-open\";\n /**\n * Present when a pressable trigger is pressed.\n */\n CommonTriggerDataAttributes[\"pressed\"] = \"data-pressed\";\n return CommonTriggerDataAttributes;\n}({});\nconst TRIGGER_HOOK = {\n [CommonTriggerDataAttributes.popupOpen]: ''\n};\nconst PRESSABLE_TRIGGER_HOOK = {\n [CommonTriggerDataAttributes.popupOpen]: '',\n [CommonTriggerDataAttributes.pressed]: ''\n};\nconst POPUP_OPEN_HOOK = {\n [CommonPopupDataAttributes.open]: ''\n};\nconst POPUP_CLOSED_HOOK = {\n [CommonPopupDataAttributes.closed]: ''\n};\nconst ANCHOR_HIDDEN_HOOK = {\n [CommonPopupDataAttributes.anchorHidden]: ''\n};\nexport const triggerOpenStateMapping = {\n open(value) {\n if (value) {\n return TRIGGER_HOOK;\n }\n return null;\n }\n};\nexport const pressableTriggerOpenStateMapping = {\n open(value) {\n if (value) {\n return PRESSABLE_TRIGGER_HOOK;\n }\n return null;\n }\n};\nexport const popupStateMapping = {\n open(value) {\n if (value) {\n return POPUP_OPEN_HOOK;\n }\n return POPUP_CLOSED_HOOK;\n },\n anchorHidden(value) {\n if (value) {\n return ANCHOR_HIDDEN_HOOK;\n }\n return null;\n }\n};","'use client';\n\nimport * as React from 'react';\nimport { useIsoLayoutEffect } from '@base-ui-components/utils/useIsoLayoutEffect';\nimport { useCompositeListContext } from \"./CompositeListContext.js\";\nexport let IndexGuessBehavior = /*#__PURE__*/function (IndexGuessBehavior) {\n IndexGuessBehavior[IndexGuessBehavior[\"None\"] = 0] = \"None\";\n IndexGuessBehavior[IndexGuessBehavior[\"GuessFromOrder\"] = 1] = \"GuessFromOrder\";\n return IndexGuessBehavior;\n}({});\n\n/**\n * Used to register a list item and its index (DOM position) in the `CompositeList`.\n */\nexport function useCompositeListItem(params = {}) {\n const {\n label,\n metadata,\n textRef,\n indexGuessBehavior\n } = params;\n const {\n register,\n unregister,\n subscribeMapChange,\n elementsRef,\n labelsRef,\n nextIndexRef\n } = useCompositeListContext();\n const indexRef = React.useRef(-1);\n const [index, setIndex] = React.useState(indexGuessBehavior === IndexGuessBehavior.GuessFromOrder ? () => {\n if (indexRef.current === -1) {\n const newIndex = nextIndexRef.current;\n nextIndexRef.current += 1;\n indexRef.current = newIndex;\n }\n return indexRef.current;\n } : -1);\n const componentRef = React.useRef(null);\n const ref = React.useCallback(node => {\n componentRef.current = node;\n if (index !== -1 && node !== null) {\n elementsRef.current[index] = node;\n if (labelsRef) {\n const isLabelDefined = label !== undefined;\n labelsRef.current[index] = isLabelDefined ? label : textRef?.current?.textContent ?? node.textContent;\n }\n }\n }, [index, elementsRef, labelsRef, label, textRef]);\n useIsoLayoutEffect(() => {\n const node = componentRef.current;\n if (node) {\n register(node, metadata);\n return () => {\n unregister(node);\n };\n }\n return undefined;\n }, [register, unregister, metadata]);\n useIsoLayoutEffect(() => {\n return subscribeMapChange(map => {\n const i = componentRef.current ? map.get(componentRef.current)?.index : null;\n if (i != null) {\n setIndex(i);\n }\n });\n }, [subscribeMapChange, setIndex]);\n return React.useMemo(() => ({\n ref,\n index\n }), [index, ref]);\n}","import { useReducer } from 'react'\n\nimport type { VersionInfo } from '../../server/dev/parse-version-info'\nimport type { SupportedErrorEvent } from './container/runtime-error/render-error'\nimport type { DebugInfo } from '../shared/types'\nimport type { DevIndicatorServerState } from '../../server/dev/dev-indicator-server-state'\nimport { parseStack } from '../../server/lib/parse-stack'\nimport { isConsoleError } from '../shared/console-error'\nimport type { CacheIndicatorState } from './cache-indicator'\n\nexport type DevToolsConfig = {\n theme?: 'light' | 'dark' | 'system'\n disableDevIndicator?: boolean\n devToolsPosition?: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right'\n devToolsPanelPosition?: Record<\n string,\n 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right'\n >\n devToolsPanelSize?: Record<string, { width: number; height: number }>\n scale?: number\n hideShortcut?: string | null\n}\n\nexport type Corners = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right'\nexport type DevToolsIndicatorPosition = Corners\n\nconst BASE_SIZE = 16\n\nexport const NEXT_DEV_TOOLS_SCALE = {\n Small: BASE_SIZE / 14,\n Medium: BASE_SIZE / 16,\n Large: BASE_SIZE / 18,\n}\n\nexport type DevToolsScale =\n (typeof NEXT_DEV_TOOLS_SCALE)[keyof typeof NEXT_DEV_TOOLS_SCALE]\n\ntype FastRefreshState =\n /** No refresh in progress. */\n | { type: 'idle' }\n /** The refresh process has been triggered, but the new code has not been executed yet. */\n | { type: 'pending'; errors: readonly SupportedErrorEvent[] }\n\nexport interface OverlayState {\n readonly nextId: number\n readonly buildError: string | null\n readonly errors: readonly SupportedErrorEvent[]\n readonly refreshState: FastRefreshState\n readonly versionInfo: VersionInfo\n readonly notFound: boolean\n readonly buildingIndicator: boolean\n readonly renderingIndicator: boolean\n readonly cacheIndicator: CacheIndicatorState\n readonly staticIndicator: 'pending' | 'static' | 'dynamic' | 'disabled'\n readonly showIndicator: boolean\n readonly disableDevIndicator: boolean\n readonly debugInfo: DebugInfo\n readonly routerType: 'pages' | 'app'\n /** This flag is used to handle the Error Overlay state in the \"old\" overlay.\n * In the DevTools panel, this value will used for the \"Error Overlay Mode\"\n * which is viewing the \"Issues Tab\" as a fullscreen.\n */\n readonly isErrorOverlayOpen: boolean\n readonly devToolsPosition: Corners\n readonly devToolsPanelPosition: Readonly<Record<DevtoolsPanelName, Corners>>\n readonly devToolsPanelSize: Readonly<\n Record<DevtoolsPanelName, { width: number; height: number }>\n >\n readonly scale: number\n readonly page: string\n readonly theme: 'light' | 'dark' | 'system'\n readonly hideShortcut: string | null\n}\ntype DevtoolsPanelName = string\nexport type OverlayDispatch = React.Dispatch<DispatcherEvent>\n\nexport const ACTION_CACHE_INDICATOR = 'cache-indicator'\nexport const ACTION_STATIC_INDICATOR = 'static-indicator'\nexport const ACTION_BUILD_OK = 'build-ok'\nexport const ACTION_BUILD_ERROR = 'build-error'\nexport const ACTION_BEFORE_REFRESH = 'before-fast-refresh'\nexport const ACTION_REFRESH = 'fast-refresh'\nexport const ACTION_VERSION_INFO = 'version-info'\nexport const ACTION_UNHANDLED_ERROR = 'unhandled-error'\nexport const ACTION_UNHANDLED_REJECTION = 'unhandled-rejection'\nexport const ACTION_DEBUG_INFO = 'debug-info'\nexport const ACTION_DEV_INDICATOR = 'dev-indicator'\nexport const ACTION_DEV_INDICATOR_SET = 'dev-indicator-disable'\n\nexport const ACTION_ERROR_OVERLAY_OPEN = 'error-overlay-open'\nexport const ACTION_ERROR_OVERLAY_CLOSE = 'error-overlay-close'\nexport const ACTION_ERROR_OVERLAY_TOGGLE = 'error-overlay-toggle'\n\nexport const ACTION_BUILDING_INDICATOR_SHOW = 'building-indicator-show'\nexport const ACTION_BUILDING_INDICATOR_HIDE = 'building-indicator-hide'\nexport const ACTION_RENDERING_INDICATOR_SHOW = 'rendering-indicator-show'\nexport const ACTION_RENDERING_INDICATOR_HIDE = 'rendering-indicator-hide'\n\nexport const ACTION_DEVTOOLS_POSITION = 'devtools-position'\nexport const ACTION_DEVTOOLS_PANEL_POSITION = 'devtools-panel-position'\nexport const ACTION_DEVTOOLS_SCALE = 'devtools-scale'\n\nexport const ACTION_DEVTOOLS_CONFIG = 'devtools-config'\n\nexport const STORAGE_KEY_PANEL_POSITION_PREFIX =\n '__nextjs-dev-tools-panel-position'\nexport const STORE_KEY_PANEL_SIZE_PREFIX = '__nextjs-dev-tools-panel-size'\nexport const STORE_KEY_SHARED_PANEL_SIZE =\n '__nextjs-dev-tools-shared-panel-size'\nexport const STORE_KEY_SHARED_PANEL_LOCATION =\n '__nextjs-dev-tools-shared-panel-location'\n\nexport const ACTION_DEVTOOL_UPDATE_ROUTE_STATE =\n 'segment-explorer-update-route-state'\n\ninterface CacheIndicatorAction {\n type: typeof ACTION_CACHE_INDICATOR\n cacheIndicator: CacheIndicatorState\n}\n\ninterface StaticIndicatorAction {\n type: typeof ACTION_STATIC_INDICATOR\n staticIndicator: 'pending' | 'static' | 'dynamic' | 'disabled'\n}\n\ninterface BuildOkAction {\n type: typeof ACTION_BUILD_OK\n}\ninterface BuildErrorAction {\n type: typeof ACTION_BUILD_ERROR\n message: string\n}\ninterface BeforeFastRefreshAction {\n type: typeof ACTION_BEFORE_REFRESH\n}\ninterface FastRefreshAction {\n type: typeof ACTION_REFRESH\n}\n\ninterface UnhandledErrorAction {\n type: typeof ACTION_UNHANDLED_ERROR\n reason: Error\n}\ninterface UnhandledRejectionAction {\n type: typeof ACTION_UNHANDLED_REJECTION\n reason: Error\n}\n\ninterface DebugInfoAction {\n type: typeof ACTION_DEBUG_INFO\n debugInfo: any\n}\n\ninterface VersionInfoAction {\n type: typeof ACTION_VERSION_INFO\n versionInfo: VersionInfo\n}\n\ninterface DevIndicatorAction {\n type: typeof ACTION_DEV_INDICATOR\n devIndicator: DevIndicatorServerState\n}\n\ninterface DevIndicatorSetAction {\n type: typeof ACTION_DEV_INDICATOR_SET\n disabled: boolean\n}\n\ninterface ErrorOverlayOpenAction {\n type: typeof ACTION_ERROR_OVERLAY_OPEN\n}\ninterface ErrorOverlayCloseAction {\n type: typeof ACTION_ERROR_OVERLAY_CLOSE\n}\ninterface ErrorOverlayToggleAction {\n type: typeof ACTION_ERROR_OVERLAY_TOGGLE\n}\n\ninterface BuildingIndicatorShowAction {\n type: typeof ACTION_BUILDING_INDICATOR_SHOW\n}\ninterface BuildingIndicatorHideAction {\n type: typeof ACTION_BUILDING_INDICATOR_HIDE\n}\n\ninterface RenderingIndicatorShowAction {\n type: typeof ACTION_RENDERING_INDICATOR_SHOW\n}\ninterface RenderingIndicatorHideAction {\n type: typeof ACTION_RENDERING_INDICATOR_HIDE\n}\n\ninterface DevToolsIndicatorPositionAction {\n type: typeof ACTION_DEVTOOLS_POSITION\n devToolsPosition: Corners\n}\n\ninterface DevToolsPanelPositionAction {\n type: typeof ACTION_DEVTOOLS_PANEL_POSITION\n key: string\n devToolsPanelPosition: Corners\n}\n\ninterface DevToolsScaleAction {\n type: typeof ACTION_DEVTOOLS_SCALE\n scale: number\n}\n\ninterface DevToolUpdateRouteStateAction {\n type: typeof ACTION_DEVTOOL_UPDATE_ROUTE_STATE\n page: string\n}\n\ninterface DevToolsConfigAction {\n type: typeof ACTION_DEVTOOLS_CONFIG\n devToolsConfig: DevToolsConfig\n}\n\nexport type DispatcherEvent =\n | BuildOkAction\n | BuildErrorAction\n | BeforeFastRefreshAction\n | FastRefreshAction\n | UnhandledErrorAction\n | UnhandledRejectionAction\n | VersionInfoAction\n | CacheIndicatorAction\n | StaticIndicatorAction\n | DebugInfoAction\n | DevIndicatorAction\n | ErrorOverlayOpenAction\n | ErrorOverlayCloseAction\n | ErrorOverlayToggleAction\n | BuildingIndicatorShowAction\n | BuildingIndicatorHideAction\n | RenderingIndicatorShowAction\n | RenderingIndicatorHideAction\n | DevToolsIndicatorPositionAction\n | DevToolsPanelPositionAction\n | DevToolsScaleAction\n | DevToolUpdateRouteStateAction\n | DevIndicatorSetAction\n | DevToolsConfigAction\n\nconst REACT_ERROR_STACK_BOTTOM_FRAME_REGEX =\n // 1st group: new frame + v8\n // 2nd group: new frame + SpiderMonkey, JavaScriptCore\n // 3rd group: old frame + v8\n // 4th group: old frame + SpiderMonkey, JavaScriptCore\n /\\s+(at Object\\.react_stack_bottom_frame.*)|(react_stack_bottom_frame@.*)|(at react-stack-bottom-frame.*)|(react-stack-bottom-frame@.*)/\n\n// React calls user code starting from a special stack frame.\n// The basic stack will be different if the same error location is hit again\n// due to StrictMode.\n// This gets only the stack after React which is unaffected by StrictMode.\nfunction getStackIgnoringStrictMode(stack: string | undefined) {\n return stack?.split(REACT_ERROR_STACK_BOTTOM_FRAME_REGEX)[0]\n}\n\nconst shouldDisableDevIndicator =\n process.env.__NEXT_DEV_INDICATOR?.toString() === 'false'\n\nconst devToolsInitialPositionFromNextConfig = (process.env\n .__NEXT_DEV_INDICATOR_POSITION ?? 'bottom-left') as Corners\n\nexport const INITIAL_OVERLAY_STATE: Omit<\n OverlayState,\n 'isErrorOverlayOpen' | 'routerType'\n> = {\n nextId: 1,\n buildError: null,\n errors: [],\n notFound: false,\n renderingIndicator: false,\n cacheIndicator: 'disabled',\n staticIndicator: 'disabled',\n /* \n This is set to `true` when we can reliably know\n whether the indicator is in disabled state or not. \n Otherwise the surface would flicker because the disabled flag loads from the config.\n */\n showIndicator: false,\n disableDevIndicator: false,\n buildingIndicator: false,\n refreshState: { type: 'idle' },\n versionInfo: { installed: '0.0.0', staleness: 'unknown' },\n debugInfo: { devtoolsFrontendUrl: undefined },\n devToolsPosition: devToolsInitialPositionFromNextConfig,\n devToolsPanelPosition: {\n [STORE_KEY_SHARED_PANEL_LOCATION]: devToolsInitialPositionFromNextConfig,\n },\n devToolsPanelSize: {},\n scale: NEXT_DEV_TOOLS_SCALE.Medium,\n page: '',\n theme: 'system',\n hideShortcut: null,\n}\n\nfunction getInitialState(\n routerType: 'pages' | 'app',\n enableCacheIndicator: boolean\n): OverlayState & { routerType: 'pages' | 'app' } {\n return {\n ...INITIAL_OVERLAY_STATE,\n // Pages Router only listenes to thrown errors which\n // always open the overlay.\n // TODO: Should be the same default as App Router once we surface console.error in Pages Router.\n isErrorOverlayOpen: routerType === 'pages',\n routerType,\n cacheIndicator: enableCacheIndicator ? 'ready' : 'disabled',\n }\n}\n\nexport function useErrorOverlayReducer(\n routerType: 'pages' | 'app',\n getOwnerStack: (error: Error) => string | null | undefined,\n isRecoverableError: (error: Error) => boolean,\n enableCacheIndicator: boolean\n) {\n function pushErrorFilterDuplicates(\n events: readonly SupportedErrorEvent[],\n id: number,\n error: Error\n ): readonly SupportedErrorEvent[] {\n const ownerStack = getOwnerStack(error)\n const frames = parseStack((error.stack || '') + (ownerStack || ''))\n const pendingEvent: SupportedErrorEvent = {\n id,\n error,\n frames,\n type: isRecoverableError(error)\n ? 'recoverable'\n : isConsoleError(error)\n ? 'console'\n : 'runtime',\n }\n const pendingEvents = events.filter((event) => {\n // Filter out duplicate errors\n return (\n // SpiderMonkey and JavaScriptCore don't include the error message in the stack.\n // We don't want to dedupe errors with different messages for which we don't have a good stack\n '' + event.error !== '' + pendingEvent.error ||\n (event.error.stack !== pendingEvent.error.stack &&\n // TODO: Let ReactDevTools control deduping instead?\n getStackIgnoringStrictMode(event.error.stack) !==\n getStackIgnoringStrictMode(pendingEvent.error.stack)) ||\n getOwnerStack(event.error) !== getOwnerStack(pendingEvent.error)\n )\n })\n // If there's nothing filtered out, the event is a brand new error\n if (pendingEvents.length === events.length) {\n pendingEvents.push(pendingEvent)\n return pendingEvents\n }\n // Otherwise remain the same events\n return events\n }\n\n return useReducer(\n (state: OverlayState, action: DispatcherEvent): OverlayState => {\n switch (action.type) {\n case ACTION_DEBUG_INFO: {\n return { ...state, debugInfo: action.debugInfo }\n }\n case ACTION_CACHE_INDICATOR: {\n return { ...state, cacheIndicator: action.cacheIndicator }\n }\n case ACTION_STATIC_INDICATOR: {\n return { ...state, staticIndicator: action.staticIndicator }\n }\n case ACTION_BUILD_OK: {\n return { ...state, buildError: null }\n }\n case ACTION_BUILD_ERROR: {\n return { ...state, buildError: action.message }\n }\n case ACTION_BEFORE_REFRESH: {\n return { ...state, refreshState: { type: 'pending', errors: [] } }\n }\n case ACTION_REFRESH: {\n return {\n ...state,\n buildError: null,\n errors:\n // Errors can come in during updates. In this case, UNHANDLED_ERROR\n // and UNHANDLED_REJECTION events might be dispatched between the\n // BEFORE_REFRESH and the REFRESH event. We want to keep those errors\n // around until the next refresh. Otherwise we run into a race\n // condition where those errors would be cleared on refresh completion\n // before they can be displayed.\n state.refreshState.type === 'pending'\n ? state.refreshState.errors\n : [],\n refreshState: { type: 'idle' },\n }\n }\n case ACTION_UNHANDLED_ERROR:\n case ACTION_UNHANDLED_REJECTION: {\n switch (state.refreshState.type) {\n case 'idle': {\n return {\n ...state,\n nextId: state.nextId + 1,\n errors: pushErrorFilterDuplicates(\n state.errors,\n state.nextId,\n action.reason\n ),\n }\n }\n case 'pending': {\n return {\n ...state,\n nextId: state.nextId + 1,\n refreshState: {\n ...state.refreshState,\n errors: pushErrorFilterDuplicates(\n state.errors,\n state.nextId,\n action.reason\n ),\n },\n }\n }\n default:\n return state\n }\n }\n case ACTION_VERSION_INFO: {\n return { ...state, versionInfo: action.versionInfo }\n }\n case ACTION_DEV_INDICATOR_SET: {\n return { ...state, disableDevIndicator: action.disabled }\n }\n case ACTION_DEV_INDICATOR: {\n return {\n ...state,\n showIndicator: true,\n disableDevIndicator:\n shouldDisableDevIndicator || !!action.devIndicator.disabledUntil,\n }\n }\n case ACTION_ERROR_OVERLAY_OPEN: {\n return { ...state, isErrorOverlayOpen: true }\n }\n case ACTION_ERROR_OVERLAY_CLOSE: {\n return { ...state, isErrorOverlayOpen: false }\n }\n case ACTION_ERROR_OVERLAY_TOGGLE: {\n return { ...state, isErrorOverlayOpen: !state.isErrorOverlayOpen }\n }\n case ACTION_BUILDING_INDICATOR_SHOW: {\n return { ...state, buildingIndicator: true }\n }\n case ACTION_BUILDING_INDICATOR_HIDE: {\n return { ...state, buildingIndicator: false }\n }\n case ACTION_RENDERING_INDICATOR_SHOW: {\n return { ...state, renderingIndicator: true }\n }\n case ACTION_RENDERING_INDICATOR_HIDE: {\n return { ...state, renderingIndicator: false }\n }\n\n case ACTION_DEVTOOLS_POSITION: {\n return { ...state, devToolsPosition: action.devToolsPosition }\n }\n case ACTION_DEVTOOLS_PANEL_POSITION: {\n return {\n ...state,\n devToolsPanelPosition: {\n ...state.devToolsPanelPosition,\n [action.key]: action.devToolsPanelPosition,\n },\n }\n }\n\n case ACTION_DEVTOOLS_SCALE: {\n return { ...state, scale: action.scale }\n }\n case ACTION_DEVTOOL_UPDATE_ROUTE_STATE: {\n return { ...state, page: action.page }\n }\n case ACTION_DEVTOOLS_CONFIG: {\n const {\n theme,\n disableDevIndicator,\n devToolsPosition,\n devToolsPanelPosition,\n devToolsPanelSize,\n scale,\n hideShortcut,\n } = action.devToolsConfig\n\n return {\n ...state,\n theme: theme ?? state.theme,\n disableDevIndicator:\n disableDevIndicator ?? state.disableDevIndicator,\n devToolsPosition: devToolsPosition ?? state.devToolsPosition,\n devToolsPanelPosition:\n devToolsPanelPosition ?? state.devToolsPanelPosition,\n scale: scale ?? state.scale,\n devToolsPanelSize: devToolsPanelSize ?? state.devToolsPanelSize,\n hideShortcut:\n // hideShortcut can be null.\n hideShortcut !== undefined ? hideShortcut : state.hideShortcut,\n }\n }\n default: {\n return state\n }\n }\n },\n getInitialState(routerType, enableCacheIndicator)\n )\n}\n","let previousBodyPaddingRight: string | undefined\nlet previousBodyOverflowSetting: string | undefined\n\nlet activeLocks = 0\n\nexport function lock() {\n setTimeout(() => {\n if (activeLocks++ > 0) {\n return\n }\n\n const scrollBarGap =\n window.innerWidth - document.documentElement.clientWidth\n\n if (scrollBarGap > 0) {\n previousBodyPaddingRight = document.body.style.paddingRight\n document.body.style.paddingRight = `${scrollBarGap}px`\n }\n\n previousBodyOverflowSetting = document.body.style.overflow\n document.body.style.overflow = 'hidden'\n })\n}\n\nexport function unlock() {\n setTimeout(() => {\n if (activeLocks === 0 || --activeLocks !== 0) {\n return\n }\n\n if (previousBodyPaddingRight !== undefined) {\n document.body.style.paddingRight = previousBodyPaddingRight\n previousBodyPaddingRight = undefined\n }\n\n if (previousBodyOverflowSetting !== undefined) {\n document.body.style.overflow = previousBodyOverflowSetting\n previousBodyOverflowSetting = undefined\n }\n })\n}\n","\n import API from \"!../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"../../build/webpack/loaders/devtool/devtool-style-inject.js\";\n import setAttributes from \"!../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./global.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn;\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./global.css\";\n export default content && content.locals ? content.locals : undefined;\n","\n import API from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"../../../../build/webpack/loaders/devtool/devtool-style-inject.js\";\n import setAttributes from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./style.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn;\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./style.css\";\n export default content && content.locals ? content.locals : undefined;\n","import { parse } from 'next/dist/compiled/stacktrace-parser'\n\nconst regexNextStatic = /\\/_next(\\/static\\/.+)/\n\nexport interface StackFrame {\n file: string | null\n methodName: string\n arguments: string[]\n /** 1-based */\n line1: number | null\n /** 1-based */\n column1: number | null\n}\n\nexport function parseStack(\n stack: string,\n distDir = process.env.__NEXT_DIST_DIR\n): StackFrame[] {\n if (!stack) return []\n\n // throw away eval information that stacktrace-parser doesn't support\n // adapted from https://github.com/stacktracejs/error-stack-parser/blob/9f33c224b5d7b607755eb277f9d51fcdb7287e24/error-stack-parser.js#L59C33-L59C62\n stack = stack\n .split('\\n')\n .map((line) => {\n if (line.includes('(eval ')) {\n line = line\n .replace(/eval code/g, 'eval')\n .replace(/\\(eval at [^()]* \\(/, '(file://')\n .replace(/\\),.*$/g, ')')\n }\n\n return line\n })\n .join('\\n')\n\n const frames = parse(stack)\n return frames.map((frame) => {\n try {\n const url = new URL(frame.file!)\n const res = regexNextStatic.exec(url.pathname)\n if (res) {\n const effectiveDistDir = distDir\n ?.replace(/\\\\/g, '/')\n ?.replace(/\\/$/, '')\n if (effectiveDistDir) {\n frame.file =\n 'file://' + effectiveDistDir.concat(res.pop()!) + url.search\n }\n }\n } catch {}\n return {\n file: frame.file,\n line1: frame.lineNumber,\n column1: frame.column,\n methodName: frame.methodName,\n arguments: frame.arguments,\n }\n })\n}\n","// To distinguish from React error.digest, we use a different symbol here to determine if the error is from console.error or unhandled promise rejection.\nconst digestSym = Symbol.for('next.console.error.digest')\n\n// Represent non Error shape unhandled promise rejections or console.error errors.\n// Those errors will be captured and displayed in Error Overlay.\ntype ConsoleError = Error & {\n [digestSym]: 'NEXT_CONSOLE_ERROR'\n environmentName: string\n}\n\nexport function createConsoleError(\n message: string | Error,\n environmentName?: string | null\n): ConsoleError {\n const error = (\n typeof message === 'string' ? new Error(message) : message\n ) as ConsoleError\n error[digestSym] = 'NEXT_CONSOLE_ERROR'\n\n if (environmentName && !error.environmentName) {\n error.environmentName = environmentName\n }\n\n return error\n}\n\nexport const isConsoleError = (error: any): error is ConsoleError => {\n return error && error[digestSym] === 'NEXT_CONSOLE_ERROR'\n}\n","export function css(\n strings: TemplateStringsArray,\n ...keys: readonly string[]\n): string {\n const lastIndex = strings.length - 1\n const str =\n // Convert template literal into a single line string\n strings.slice(0, lastIndex).reduce((p, s, i) => p + s + keys[i], '') +\n strings[lastIndex]\n\n return (\n str\n // Remove comments\n .replace(/\\/\\*[\\s\\S]*?\\*\\//g, '')\n // Remove whitespace, tabs, and newlines\n .replace(/\\s+/g, ' ')\n // Remove spaces before and after semicolons, and spaces after commas\n .replace(/\\s*([:;,{}])\\s*/g, '$1')\n // Remove extra semicolons\n .replace(/;+}/g, '}')\n // Trim leading and trailing whitespaces\n .trim()\n )\n}\n","import { css } from '../utils/css'\nimport { useInsertionEffect } from 'react'\n\nexport const FontStyles = () => {\n useInsertionEffect(() => {\n const style = document.createElement('style')\n style.textContent = css`\n /* latin-ext */\n @font-face {\n font-family: '__nextjs-Geist';\n font-style: normal;\n font-weight: 400 600;\n font-display: swap;\n src: url(/__nextjs_font/geist-latin-ext.woff2) format('woff2');\n unicode-range:\n U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,\n U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,\n U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;\n }\n /* latin-ext */\n @font-face {\n font-family: '__nextjs-Geist Mono';\n font-style: normal;\n font-weight: 400 600;\n font-display: swap;\n src: url(/__nextjs_font/geist-mono-latin-ext.woff2) format('woff2');\n unicode-range:\n U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,\n U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,\n U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;\n }\n /* latin */\n @font-face {\n font-family: '__nextjs-Geist';\n font-style: normal;\n font-weight: 400 600;\n font-display: swap;\n src: url(/__nextjs_font/geist-latin.woff2) format('woff2');\n unicode-range:\n U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,\n U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,\n U+2212, U+2215, U+FEFF, U+FFFD;\n }\n /* latin */\n @font-face {\n font-family: '__nextjs-Geist Mono';\n font-style: normal;\n font-weight: 400 600;\n font-display: swap;\n src: url(/__nextjs_font/geist-mono-latin.woff2) format('woff2');\n unicode-range:\n U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,\n U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,\n U+2212, U+2215, U+FEFF, U+FFFD;\n }\n `\n document.head.appendChild(style)\n\n return () => {\n document.head.removeChild(style)\n }\n }, [])\n\n return null\n}\n","import { createPortal } from 'react-dom'\nimport { useDevOverlayContext } from '../../dev-overlay.browser'\n\nexport function ShadowPortal({ children }: { children: React.ReactNode }) {\n const { shadowRoot } = useDevOverlayContext()\n\n return createPortal(children, shadowRoot)\n}\n","function decodeHex(hexStr: string): string {\n if (hexStr.trim() === '') {\n throw new Error(\"can't decode empty hex\")\n }\n\n const num = parseInt(hexStr, 16)\n if (isNaN(num)) {\n throw new Error(`invalid hex: \\`${hexStr}\\``)\n }\n\n return String.fromCodePoint(num)\n}\n\nconst enum Mode {\n Text,\n Underscore,\n Hex,\n LongHex,\n}\n\nconst DECODE_REGEX = /^__TURBOPACK__([a-zA-Z0-9_$]+)__$/\n\nexport function decodeMagicIdentifier(identifier: string): string {\n const matches = identifier.match(DECODE_REGEX)\n if (!matches) {\n return identifier\n }\n\n const inner = matches[1]\n\n let output = ''\n\n let mode: Mode = Mode.Text\n let buffer = ''\n for (let i = 0; i < inner.length; i++) {\n const char = inner[i]\n\n if (mode === Mode.Text) {\n if (char === '_') {\n mode = Mode.Underscore\n } else if (char === '$') {\n mode = Mode.Hex\n } else {\n output += char\n }\n } else if (mode === Mode.Underscore) {\n if (char === '_') {\n output += ' '\n mode = Mode.Text\n } else if (char === '$') {\n output += '_'\n mode = Mode.Hex\n } else {\n output += char\n mode = Mode.Text\n }\n } else if (mode === Mode.Hex) {\n if (buffer.length === 2) {\n output += decodeHex(buffer)\n buffer = ''\n }\n\n if (char === '_') {\n if (buffer !== '') {\n throw new Error(`invalid hex: \\`${buffer}\\``)\n }\n\n mode = Mode.LongHex\n } else if (char === '$') {\n if (buffer !== '') {\n throw new Error(`invalid hex: \\`${buffer}\\``)\n }\n\n mode = Mode.Text\n } else {\n buffer += char\n }\n } else if (mode === Mode.LongHex) {\n if (char === '_') {\n throw new Error(`invalid hex: \\`${buffer + char}\\``)\n } else if (char === '$') {\n output += decodeHex(buffer)\n buffer = ''\n\n mode = Mode.Text\n } else {\n buffer += char\n }\n }\n }\n\n return output\n}\n\nexport const MAGIC_IDENTIFIER_REGEX = /__TURBOPACK__[a-zA-Z0-9_$]+__/g\n\n/**\n * Cleans up module IDs by removing implementation details.\n * - Replaces [project] with .\n * - Removes content in brackets [], parentheses (), and angle brackets <>\n */\nexport function deobfuscateModuleId(moduleId: string): string {\n return (\n moduleId\n // Replace [project] with .\n .replace(/\\[project\\]/g, '.')\n // Remove content in square brackets (e.g. [app-rsc])\n .replace(/\\s\\[([^\\]]*)\\]/g, '')\n // Remove content in parentheses (e.g. (ecmascript))\n .replace(/\\s\\(([^)]*)\\)/g, '')\n // Remove content in angle brackets (e.g. <locals>)\n .replace(/\\s<([^>]*)>/g, '')\n // Clean up any extra whitespace\n .trim()\n )\n}\n\n/**\n * Removes the free call wrapper pattern (0, expr) from expressions.\n * This is a JavaScript pattern to call a function without binding 'this',\n * but it's noise for developers reading error messages.\n */\nexport function removeFreeCallWrapper(text: string): string {\n // Match (0, <ident>.<ident>) patterns anywhere in the text the beginning\n // Use Unicode property escapes (\\p{ID_Start}, \\p{ID_Continue}) for full JS identifier support\n // Requires the 'u' (unicode) flag in the regex\n return text.replace(\n /\\(0\\s*,\\s*(__TURBOPACK__[a-zA-Z0-9_$]+__\\.[\\p{ID_Start}_$][\\p{ID_Continue}$]*)\\)/u,\n '$1'\n )\n}\n\nexport type TextPartType = 'raw' | 'deobfuscated'\n\n/**\n * Deobfuscates text and returns an array of discriminated parts.\n * Each part is a tuple of [type, string] where type is either 'raw' (unchanged text)\n * or 'deobfuscated' (a magic identifier that was decoded).\n *\n * This is useful when you need to process or display deobfuscated and raw text differently.\n */\nexport function deobfuscateTextParts(\n text: string\n): Array<[TextPartType, string]> {\n // First, remove free call wrappers\n const withoutFreeCall = removeFreeCallWrapper(text)\n\n const parts: Array<[TextPartType, string]> = []\n let lastIndex = 0\n\n // Create a new regex instance for global matching\n const regex = new RegExp(MAGIC_IDENTIFIER_REGEX.source, 'g')\n\n for (\n let match = regex.exec(withoutFreeCall);\n match !== null;\n match = regex.exec(withoutFreeCall)\n ) {\n const matchStart = match.index\n const matchEnd = regex.lastIndex\n const ident = match[0]\n\n // Add raw text before this match (if any)\n if (matchStart > lastIndex) {\n const rawText = withoutFreeCall.substring(lastIndex, matchStart)\n parts.push(['raw', rawText])\n }\n\n // Process and add the deobfuscated part\n try {\n const decoded = decodeMagicIdentifier(ident)\n // If it was a magic identifier, clean up the module ID\n if (decoded !== ident) {\n // Check if this is an \"imported module\" reference\n const importedModuleMatch = decoded.match(/^imported module (.+)$/)\n if (importedModuleMatch) {\n // Clean the entire module path (which includes [app-rsc], etc.)\n const modulePathWithMetadata = importedModuleMatch[1]\n const cleaned = deobfuscateModuleId(modulePathWithMetadata)\n parts.push(['deobfuscated', `{imported module ${cleaned}}`])\n } else {\n const cleaned = deobfuscateModuleId(decoded)\n parts.push(['deobfuscated', `{${cleaned}}`])\n }\n } else {\n // Not actually a magic identifier, treat as raw\n parts.push(['raw', ident])\n }\n } catch (e) {\n parts.push(['deobfuscated', `{${ident} (decoding failed: ${e})}`])\n }\n\n lastIndex = matchEnd\n }\n\n // Add any remaining raw text after the last match\n if (lastIndex < withoutFreeCall.length) {\n const rawText = withoutFreeCall.substring(lastIndex)\n parts.push(['raw', rawText])\n }\n\n return parts\n}\n\n/**\n * Deobfuscates text by:\n * 1. Decoding magic identifiers\n * 2. Cleaning up module IDs\n * 3. Removing free call wrappers\n */\nexport function deobfuscateText(text: string): string {\n const parts = deobfuscateTextParts(text)\n return parts.map((part) => part[1]).join('')\n}\n","import React from 'react'\nimport { deobfuscateTextParts } from '../../../../shared/lib/magic-identifier'\n\nconst linkRegex = /https?:\\/\\/[^\\s/$.?#].[^\\s)'\"]*/i\n\nexport const HotlinkedText: React.FC<{\n text: string\n matcher?: (text: string) => string | null\n}> = function HotlinkedText(props) {\n const { text, matcher } = props\n\n // Deobfuscate the entire text first\n const deobfuscatedParts = deobfuscateTextParts(text)\n\n return (\n <>\n {deobfuscatedParts.map(([type, part], outerIndex) => {\n if (type === 'raw') {\n return (\n part\n // Split on whitespace and links\n .split(/(\\s+|https?:\\/\\/[^\\s/$.?#].[^\\s)'\"]*)/)\n .map((rawPart, index) => {\n if (linkRegex.test(rawPart)) {\n const link = linkRegex.exec(rawPart)!\n const href = link[0]\n // If link matcher is present, check if it returns a className\n let linkClassName: string | null = null\n if (typeof matcher === 'function') {\n linkClassName = matcher(href)\n // If matcher returns null, don't turn it into a link\n if (linkClassName === null) {\n return (\n <React.Fragment key={`link-${outerIndex}-${index}`}>\n {rawPart}\n </React.Fragment>\n )\n }\n }\n return (\n <React.Fragment key={`link-${outerIndex}-${index}`}>\n <a\n href={href}\n target=\"_blank\"\n rel=\"noreferrer noopener\"\n className={linkClassName || undefined}\n >\n {rawPart}\n </a>\n </React.Fragment>\n )\n } else {\n return (\n <React.Fragment key={`text-${outerIndex}-${index}`}>\n {rawPart}\n </React.Fragment>\n )\n }\n })\n )\n } else if (type === 'deobfuscated') {\n // italicize the deobfuscated part\n return <i key={`ident-${outerIndex}`}>{part}</i>\n } else {\n throw new Error(`Unknown text part type: ${type}`)\n }\n })}\n </>\n )\n}\n","const replacementRegExes = [\n /^webpack-internal:\\/\\/\\/(\\([\\w-]+\\)\\/)?/,\n /^(webpack:\\/\\/\\/|webpack:\\/\\/(_N_E\\/)?)(\\([\\w-]+\\)\\/)?/,\n]\n\nexport function isWebpackInternalResource(file: string) {\n for (const regex of replacementRegExes) {\n if (regex.test(file)) return true\n\n file = file.replace(regex, '')\n }\n\n return false\n}\n\n/**\n * Format the webpack internal id to original file path\n *\n * webpack-internal:///./src/hello.tsx => ./src/hello.tsx\n * webpack://_N_E/./src/hello.tsx => ./src/hello.tsx\n * webpack://./src/hello.tsx => ./src/hello.tsx\n * webpack:///./src/hello.tsx => ./src/hello.tsx\n */\nexport function formatFrameSourceFile(file: string) {\n for (const regex of replacementRegExes) {\n file = file.replace(regex, '')\n }\n\n return file\n}\n","import type {\n OriginalStackFrameResponse,\n OriginalStackFrameResponseResult,\n OriginalStackFramesRequest,\n StackFrame,\n} from '../server/shared'\nimport {\n isWebpackInternalResource,\n formatFrameSourceFile,\n} from './webpack-module-path'\n\nexport type { StackFrame }\n\ninterface ResolvedOriginalStackFrame extends OriginalStackFrameResponse {\n error: false\n reason: null\n external: boolean\n ignored: boolean\n sourceStackFrame: StackFrame\n}\n\ninterface RejectedOriginalStackFrame extends OriginalStackFrameResponse {\n error: true\n reason: string\n external: boolean\n ignored: boolean\n sourceStackFrame: StackFrame\n}\n\nexport type OriginalStackFrame =\n | ResolvedOriginalStackFrame\n | RejectedOriginalStackFrame\n\nfunction getOriginalStackFrame(\n source: StackFrame,\n response: OriginalStackFrameResponseResult\n): Promise<OriginalStackFrame> {\n async function _getOriginalStackFrame(): Promise<ResolvedOriginalStackFrame> {\n if (response.status === 'rejected') {\n throw new Error(response.reason)\n }\n\n const body: OriginalStackFrameResponse = response.value\n\n return {\n error: false,\n reason: null,\n external: false,\n sourceStackFrame: source,\n originalStackFrame: body.originalStackFrame,\n originalCodeFrame: body.originalCodeFrame || null,\n ignored: body.originalStackFrame?.ignored || false,\n }\n }\n\n // TODO: merge this section into ignoredList handling\n if (source.file === 'file://' || source.file?.match(/https?:\\/\\//)) {\n return Promise.resolve({\n error: false,\n reason: null,\n external: true,\n sourceStackFrame: source,\n originalStackFrame: null,\n originalCodeFrame: null,\n ignored: true,\n })\n }\n\n return _getOriginalStackFrame().catch(\n (err: Error): RejectedOriginalStackFrame => ({\n error: true,\n reason: err?.message ?? err?.toString() ?? 'Unknown Error',\n external: false,\n sourceStackFrame: source,\n originalStackFrame: null,\n originalCodeFrame: null,\n ignored: false,\n })\n )\n}\n\nexport async function getOriginalStackFrames(\n frames: readonly StackFrame[],\n type: 'server' | 'edge-server' | null,\n isAppDir: boolean\n): Promise<readonly OriginalStackFrame[]> {\n const req: OriginalStackFramesRequest = {\n frames,\n isServer: type === 'server',\n isEdgeServer: type === 'edge-server',\n isAppDirectory: isAppDir,\n }\n\n let res: Response | undefined = undefined\n let reason: string | undefined = undefined\n try {\n res = await fetch('/__nextjs_original-stack-frames', {\n method: 'POST',\n body: JSON.stringify(req),\n })\n } catch (e) {\n reason = e + ''\n }\n\n // When fails to fetch the original stack frames, we reject here to be\n // caught at `_getOriginalStackFrame()` and return the stack frames so\n // that the error overlay can render.\n if (res && res.ok && res.status !== 204) {\n const data = await res.json()\n return Promise.all(\n frames.map((frame, index) => getOriginalStackFrame(frame, data[index]))\n )\n } else {\n if (res) {\n reason = await res.text()\n }\n }\n return Promise.all(\n frames.map((frame) =>\n getOriginalStackFrame(frame, {\n status: 'rejected',\n reason: `Failed to fetch the original stack frames ${reason ? `: ${reason}` : ''}`,\n })\n )\n )\n}\n\nexport function getFrameSource(frame: StackFrame): string {\n if (!frame.file) return ''\n\n const isWebpackFrame = isWebpackInternalResource(frame.file)\n\n let str = ''\n // Skip URL parsing for webpack internal file paths.\n if (isWebpackFrame) {\n str = formatFrameSourceFile(frame.file)\n } else {\n try {\n const u = new URL(frame.file)\n\n let parsedPath = ''\n // Strip the origin for same-origin scripts.\n if (globalThis.location?.origin !== u.origin) {\n // URLs can be valid without an `origin`, so long as they have a\n // `protocol`. However, `origin` is preferred.\n if (u.origin === 'null') {\n parsedPath += u.protocol\n } else {\n parsedPath += u.origin\n }\n }\n\n // Strip query string information as it's typically too verbose to be\n // meaningful.\n parsedPath += u.pathname\n str = formatFrameSourceFile(parsedPath)\n } catch {\n str = formatFrameSourceFile(frame.file)\n }\n }\n\n if (!isWebpackInternalResource(frame.file) && frame.line1 != null) {\n // We don't need line and column numbers for anonymous sources because\n // there's no entrypoint for the location anyway.\n if (str && frame.file !== '<anonymous>') {\n if (frame.column1 != null) {\n str += ` (${frame.line1}:${frame.column1})`\n } else {\n str += ` (${frame.line1})`\n }\n }\n }\n return str\n}\n","import { useCallback } from 'react'\n\nexport function useOpenInEditor({\n file,\n line1,\n column1,\n}: {\n file?: string | null\n line1?: number | null\n column1?: number | null\n} = {}) {\n const openInEditor = useCallback(() => {\n if (file == null || line1 == null || column1 == null) return\n\n const params = new URLSearchParams()\n params.append('file', file)\n params.append('line1', String(line1))\n params.append('column1', String(column1))\n\n self\n .fetch(\n `${\n process.env.__NEXT_ROUTER_BASEPATH || ''\n }/__nextjs_launch-editor?${params.toString()}`\n )\n .then(\n () => {},\n (cause) => {\n console.error(\n `Failed to open file \"${file} (${line1}:${column1})\" in your editor. Cause:`,\n cause\n )\n }\n )\n }, [file, line1, column1])\n\n return openInEditor\n}\n","export function ExternalIcon(props: React.SVGProps<SVGSVGElement>) {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n {...props}\n >\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n fill=\"currentColor\"\n d=\"M11.5 9.75V11.25C11.5 11.3881 11.3881 11.5 11.25 11.5H4.75C4.61193 11.5 4.5 11.3881 4.5 11.25L4.5 4.75C4.5 4.61193 4.61193 4.5 4.75 4.5H6.25H7V3H6.25H4.75C3.7835 3 3 3.7835 3 4.75V11.25C3 12.2165 3.7835 13 4.75 13H11.25C12.2165 13 13 12.2165 13 11.25V9.75V9H11.5V9.75ZM8.5 3H9.25H12.2495C12.6637 3 12.9995 3.33579 12.9995 3.75V6.75V7.5H11.4995V6.75V5.56066L8.53033 8.52978L8 9.06011L6.93934 7.99945L7.46967 7.46912L10.4388 4.5H9.25H8.5V3Z\"\n />\n </svg>\n )\n}\n\nexport function SourceMappingErrorIcon(props: React.SVGProps<SVGSVGElement>) {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n height=\"16\"\n strokeLinejoin=\"round\"\n viewBox=\"-4 -4 24 24\"\n width=\"16\"\n {...props}\n >\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M8.55846 2H7.44148L1.88975 13.5H14.1102L8.55846 2ZM9.90929 1.34788C9.65902 0.829456 9.13413 0.5 8.55846 0.5H7.44148C6.86581 0.5 6.34092 0.829454 6.09065 1.34787L0.192608 13.5653C-0.127943 14.2293 0.355835 15 1.09316 15H14.9068C15.6441 15 16.1279 14.2293 15.8073 13.5653L9.90929 1.34788ZM8.74997 4.75V5.5V8V8.75H7.24997V8V5.5V4.75H8.74997ZM7.99997 12C8.55226 12 8.99997 11.5523 8.99997 11C8.99997 10.4477 8.55226 10 7.99997 10C7.44769 10 6.99997 10.4477 6.99997 11C6.99997 11.5523 7.44769 12 7.99997 12Z\"\n fill=\"currentColor\"\n ></path>\n </svg>\n )\n}\n","export function FileIcon({ lang }: { lang?: string }) {\n if (!lang) return <File />\n\n switch (lang.toLowerCase()) {\n case 'jsx':\n case 'tsx':\n return <React />\n case 'ts':\n case 'typescript':\n return <Ts />\n case 'javascript':\n case 'js':\n case 'mjs':\n return <Js />\n case 'json':\n return <Json />\n default:\n return <File />\n }\n}\n\nfunction Json() {\n return (\n <svg\n clipRule=\"evenodd\"\n fillRule=\"evenodd\"\n height=\"16\"\n viewBox=\"0 0 1321.45 1333.33\"\n width=\"16\"\n >\n <path\n d=\"M221.37 618.44h757.94V405.15H755.14c-23.5 0-56.32-12.74-71.82-28.24-15.5-15.5-25-43.47-25-66.97V82.89H88.39c-1.99 0-3.49 1-4.49 2-1.5 1-2 2.5-2 4.5v1155.04c0 1.5 1 3.5 2 4.5 1 1.49 3 1.99 4.49 1.99H972.8c2 0 1.89-.99 2.89-1.99 1.5-1 3.61-3 3.61-4.5v-121.09H221.36c-44.96 0-82-36.9-82-81.99V700.44c0-45.1 36.9-82 82-82zm126.51 117.47h75.24v146.61c0 30.79-2.44 54.23-7.33 70.31-4.92 16.03-14.8 29.67-29.65 40.85-14.86 11.12-33.91 16.72-57.05 16.72-24.53 0-43.51-3.71-56.94-11.06-13.5-7.36-23.89-18.1-31.23-32.3-7.35-14.14-11.69-31.67-12.99-52.53l71.5-10.81c.11 11.81 1.07 20.61 2.81 26.33 1.76 5.78 4.75 10.37 9 13.95 2.87 2.33 6.94 3.46 12.25 3.46 8.4 0 14.58-3.46 18.53-10.37 3.9-6.92 5.87-18.6 5.87-35V735.92zm112.77 180.67l71.17-4.97c1.54 12.81 4.69 22.62 9.44 29.28 7.74 10.88 18.74 16.34 33.09 16.34 10.68 0 18.93-2.76 24.68-8.36 5.81-5.58 8.7-12.07 8.7-19.41 0-6.97-2.71-13.26-8.2-18.79-5.47-5.53-18.23-10.68-38.28-15.65-32.89-8.17-56.27-19.1-70.26-32.74-14.12-13.57-21.18-30.92-21.18-52.03 0-13.83 3.61-26.89 10.85-39.21 7.22-12.38 18.07-22.06 32.59-29.09 14.52-7.04 34.4-10.56 59.65-10.56 31 0 54.62 6.41 70.88 19.29 16.28 12.81 25.92 33.24 29.04 61.27l-70.5 4.65c-1.87-12.25-5.81-21.17-11.81-26.7-6.05-5.6-14.35-8.36-24.9-8.36-8.71 0-15.31 2.07-19.73 6.16-4.4 4.09-6.59 9.12-6.59 15.02 0 4.27 1.81 8.11 5.37 11.57 3.45 3.59 11.8 6.85 25.02 9.93 32.75 7.86 56.2 15.84 70.31 23.87 14.18 8.05 24.52 17.98 30.96 29.92 6.44 11.88 9.66 25.2 9.66 39.96 0 17.29-4.3 33.24-12.88 47.89-8.63 14.58-20.61 25.7-36.08 33.24-15.41 7.54-34.85 11.31-58.33 11.31-41.24 0-69.81-8.86-85.68-26.52-15.88-17.65-24.85-40.09-26.96-67.3zm248.74-45.5c0-44.05 11.02-78.36 33.09-102.87 22.09-24.57 52.82-36.82 92.24-36.82 40.38 0 71.5 12.07 93.34 36.13 21.86 24.13 32.77 57.94 32.77 101.37 0 31.54-4.75 57.36-14.3 77.54-9.54 20.18-23.37 35.89-41.4 47.13-18.07 11.24-40.55 16.84-67.48 16.84-27.33 0-49.99-4.83-67.94-14.52-17.92-9.74-32.49-25.07-43.62-46.06-11.13-20.92-16.72-47.19-16.72-78.74zm74.89.19c0 27.21 4.57 46.81 13.68 58.68 9.13 11.88 21.57 17.85 37.26 17.85 16.1 0 28.65-5.84 37.45-17.47 8.87-11.68 13.28-32.54 13.28-62.77 0-25.39-4.63-43.92-13.84-55.61-9.26-11.76-21.75-17.6-37.56-17.6-15.13 0-27.34 5.97-36.49 17.85-9.21 11.88-13.78 31.61-13.78 59.07zm209.08-135.36h69.99l90.98 149.05V735.91h70.83v269.96h-70.83l-90.48-148.24v148.24h-70.49V735.91zm67.71-117.47h178.37c45.1 0 82 37.04 82 82v340.91c0 44.96-37.03 81.99-82 81.99h-178.37v147c0 17.5-6.99 32.99-18.5 44.5-11.5 11.49-27 18.5-44.5 18.5H62.97c-17.5 0-32.99-7-44.5-18.5-11.49-11.5-18.5-27-18.5-44.5V63.49c0-17.5 7-33 18.5-44.5S45.97.49 62.97.49H700.1c1.5-.5 3-.5 4.5-.5 7 0 14 3 19 7.49h1c1 .5 1.5 1 2.5 2l325.46 329.47c5.5 5.5 9.5 13 9.5 21.5 0 2.5-.5 4.5-1 7v250.98zM732.61 303.47V96.99l232.48 235.47H761.6c-7.99 0-14.99-3.5-20.5-8.49-4.99-5-8.49-12.5-8.49-20.5z\"\n fill=\"currentColor\"\n />\n </svg>\n )\n}\n\nfunction Js() {\n return (\n <svg\n height=\"16\"\n viewBox=\"0 0 50 50\"\n width=\"16\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M 43.335938 4 L 6.667969 4 C 5.195313 4 4 5.195313 4 6.667969 L 4 43.332031 C 4 44.804688 5.195313 46 6.667969 46 L 43.332031 46 C 44.804688 46 46 44.804688 46 43.335938 L 46 6.667969 C 46 5.195313 44.804688 4 43.335938 4 Z M 27 36.183594 C 27 40.179688 24.65625 42 21.234375 42 C 18.140625 42 15.910156 39.925781 15 38 L 18.144531 36.097656 C 18.75 37.171875 19.671875 38 21 38 C 22.269531 38 23 37.503906 23 35.574219 L 23 23 L 27 23 Z M 35.675781 42 C 32.132813 42 30.121094 40.214844 29 38 L 32 36 C 32.816406 37.335938 33.707031 38.613281 35.589844 38.613281 C 37.171875 38.613281 38 37.824219 38 36.730469 C 38 35.425781 37.140625 34.960938 35.402344 34.199219 L 34.449219 33.789063 C 31.695313 32.617188 29.863281 31.148438 29.863281 28.039063 C 29.863281 25.179688 32.046875 23 35.453125 23 C 37.878906 23 39.621094 23.84375 40.878906 26.054688 L 37.910156 27.964844 C 37.253906 26.789063 36.550781 26.328125 35.453125 26.328125 C 34.335938 26.328125 33.628906 27.039063 33.628906 27.964844 C 33.628906 29.109375 34.335938 29.570313 35.972656 30.28125 L 36.925781 30.691406 C 40.171875 32.078125 42 33.496094 42 36.683594 C 42 40.117188 39.300781 42 35.675781 42 Z\"\n fill=\"currentColor\"\n />\n </svg>\n )\n}\n\nfunction Ts() {\n return (\n <svg\n fill=\"none\"\n height=\"14\"\n viewBox=\"0 0 512 512\"\n width=\"14\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <rect fill=\"currentColor\" height=\"512\" rx=\"50\" width=\"512\" />\n <rect fill=\"currentColor\" height=\"512\" rx=\"50\" width=\"512\" />\n <path\n clipRule=\"evenodd\"\n d=\"m316.939 407.424v50.061c8.138 4.172 17.763 7.3 28.875 9.386s22.823 3.129 35.135 3.129c11.999 0 23.397-1.147 34.196-3.442 10.799-2.294 20.268-6.075 28.406-11.342 8.138-5.266 14.581-12.15 19.328-20.65s7.121-19.007 7.121-31.522c0-9.074-1.356-17.026-4.069-23.857s-6.625-12.906-11.738-18.225c-5.112-5.319-11.242-10.091-18.389-14.315s-15.207-8.213-24.18-11.967c-6.573-2.712-12.468-5.345-17.685-7.9-5.217-2.556-9.651-5.163-13.303-7.822-3.652-2.66-6.469-5.476-8.451-8.448-1.982-2.973-2.974-6.336-2.974-10.091 0-3.441.887-6.544 2.661-9.308s4.278-5.136 7.512-7.118c3.235-1.981 7.199-3.52 11.894-4.615 4.696-1.095 9.912-1.642 15.651-1.642 4.173 0 8.581.313 13.224.938 4.643.626 9.312 1.591 14.008 2.894 4.695 1.304 9.259 2.947 13.694 4.928 4.434 1.982 8.529 4.276 12.285 6.884v-46.776c-7.616-2.92-15.937-5.084-24.962-6.492s-19.381-2.112-31.066-2.112c-11.895 0-23.163 1.278-33.805 3.833s-20.006 6.544-28.093 11.967c-8.086 5.424-14.476 12.333-19.171 20.729-4.695 8.395-7.043 18.433-7.043 30.114 0 14.914 4.304 27.638 12.912 38.172 8.607 10.533 21.675 19.45 39.204 26.751 6.886 2.816 13.303 5.579 19.25 8.291s11.086 5.528 15.415 8.448c4.33 2.92 7.747 6.101 10.252 9.543 2.504 3.441 3.756 7.352 3.756 11.733 0 3.233-.783 6.231-2.348 8.995s-3.939 5.162-7.121 7.196-7.147 3.624-11.894 4.771c-4.748 1.148-10.303 1.721-16.668 1.721-10.851 0-21.597-1.903-32.24-5.71-10.642-3.806-20.502-9.516-29.579-17.13zm-84.159-123.342h64.22v-41.082h-179v41.082h63.906v182.918h50.874z\"\n fill=\"var(--color-background-100)\"\n fillRule=\"evenodd\"\n />\n </svg>\n )\n}\n\nfunction File() {\n return (\n <svg width=\"16\" height=\"17\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M14.5 7v7a2.5 2.5 0 0 1-2.5 2.5H4A2.5 2.5 0 0 1 1.5 14V.5h7.586a1 1 0 0 1 .707.293l4.414 4.414a1 1 0 0 1 .293.707V7zM13 7v7a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V2h5v5h5zM9.5 2.621V5.5h2.879L9.5 2.621z\"\n fill=\"currentColor\"\n />\n </svg>\n )\n}\n\nfunction React() {\n return (\n <svg height=\"16\" strokeLinejoin=\"round\" viewBox=\"0 0 16 16\" width=\"16\">\n <g clipPath=\"url(#file_react_clip0_872_3183)\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M4.5 1.93782C4.70129 1.82161 4.99472 1.7858 5.41315 1.91053C5.83298 2.03567 6.33139 2.31073 6.87627 2.73948C7.01136 2.84578 7.14803 2.96052 7.28573 3.08331C6.86217 3.53446 6.44239 4.04358 6.03752 4.60092C5.35243 4.67288 4.70164 4.78186 4.09916 4.92309C4.06167 4.74244 4.03064 4.56671 4.00612 4.39656C3.90725 3.71031 3.91825 3.14114 4.01979 2.71499C4.12099 2.29025 4.29871 2.05404 4.5 1.93782ZM7.49466 1.95361C7.66225 2.08548 7.83092 2.22804 7.99999 2.38067C8.16906 2.22804 8.33773 2.08548 8.50532 1.95361C9.10921 1.47842 9.71982 1.12549 10.3012 0.952202C10.8839 0.778496 11.4838 0.7738 12 1.0718C12.5161 1.3698 12.812 1.89169 12.953 2.48322C13.0936 3.07333 13.0932 3.77858 12.9836 4.53917C12.9532 4.75024 12.9141 4.9676 12.8665 5.19034C13.0832 5.26044 13.291 5.33524 13.489 5.41444C14.2025 5.69983 14.8134 6.05217 15.2542 6.46899C15.696 6.8868 16 7.404 16 8C16 8.596 15.696 9.11319 15.2542 9.53101C14.8134 9.94783 14.2025 10.3002 13.489 10.5856C13.291 10.6648 13.0832 10.7396 12.8665 10.8097C12.9141 11.0324 12.9532 11.2498 12.9837 11.4608C13.0932 12.2214 13.0936 12.9267 12.953 13.5168C12.812 14.1083 12.5161 14.6302 12 14.9282C11.4839 15.2262 10.8839 15.2215 10.3012 15.0478C9.71984 14.8745 9.10923 14.5216 8.50534 14.0464C8.33775 13.9145 8.16906 13.7719 7.99999 13.6193C7.83091 13.7719 7.66223 13.9145 7.49464 14.0464C6.89075 14.5216 6.28014 14.8745 5.69879 15.0478C5.11605 15.2215 4.51613 15.2262 3.99998 14.9282C3.48383 14.6302 3.18794 14.1083 3.047 13.5168C2.9064 12.9267 2.90674 12.2214 3.01632 11.4608C3.04673 11.2498 3.08586 11.0324 3.13351 10.8097C2.91679 10.7395 2.709 10.6648 2.511 10.5856C1.79752 10.3002 1.18658 9.94783 0.745833 9.53101C0.304028 9.11319 0 8.596 0 8C0 7.404 0.304028 6.8868 0.745833 6.46899C1.18658 6.05217 1.79752 5.69983 2.511 5.41444C2.709 5.33524 2.9168 5.26044 3.13352 5.19034C3.08587 4.9676 3.04675 4.75024 3.01634 4.53917C2.90676 3.77858 2.90642 3.07332 3.04702 2.48321C3.18796 1.89169 3.48385 1.3698 4 1.0718C4.51615 0.773798 5.11607 0.778495 5.69881 0.952201C6.28016 1.12549 6.89077 1.47841 7.49466 1.95361ZM7.36747 4.51025C7.57735 4.25194 7.78881 4.00927 7.99999 3.78356C8.21117 4.00927 8.42263 4.25194 8.63251 4.51025C8.42369 4.50346 8.21274 4.5 8 4.5C7.78725 4.5 7.5763 4.50345 7.36747 4.51025ZM8.71425 3.08331C9.13781 3.53447 9.55759 4.04358 9.96246 4.60092C10.6475 4.67288 11.2983 4.78186 11.9008 4.92309C11.9383 4.74244 11.9693 4.56671 11.9939 4.39657C12.0927 3.71031 12.0817 3.14114 11.9802 2.71499C11.879 2.29025 11.7013 2.05404 11.5 1.93782C11.2987 1.82161 11.0053 1.7858 10.5868 1.91053C10.167 2.03568 9.66859 2.31073 9.12371 2.73948C8.98862 2.84578 8.85196 2.96052 8.71425 3.08331ZM8 5.5C8.48433 5.5 8.95638 5.51885 9.41188 5.55456C9.67056 5.93118 9.9229 6.33056 10.1651 6.75C10.4072 7.16944 10.6269 7.58766 10.8237 7.99998C10.6269 8.41232 10.4072 8.83055 10.165 9.25C9.92288 9.66944 9.67053 10.0688 9.41185 10.4454C8.95636 10.4812 8.48432 10.5 8 10.5C7.51567 10.5 7.04363 10.4812 6.58813 10.4454C6.32945 10.0688 6.0771 9.66944 5.83494 9.25C5.59277 8.83055 5.37306 8.41232 5.17624 7.99998C5.37306 7.58765 5.59275 7.16944 5.83492 6.75C6.07708 6.33056 6.32942 5.93118 6.5881 5.55456C7.04361 5.51884 7.51566 5.5 8 5.5ZM11.0311 6.25C11.1375 6.43423 11.2399 6.61864 11.3385 6.80287C11.4572 6.49197 11.5616 6.18752 11.6515 5.89178C11.3505 5.82175 11.0346 5.75996 10.706 5.70736C10.8163 5.8848 10.9247 6.06576 11.0311 6.25ZM11.0311 9.75C11.1374 9.56576 11.2399 9.38133 11.3385 9.19709C11.4572 9.50801 11.5617 9.81246 11.6515 10.1082C11.3505 10.1782 11.0346 10.24 10.7059 10.2926C10.8162 10.1152 10.9247 9.93424 11.0311 9.75ZM11.9249 7.99998C12.2051 8.62927 12.4362 9.24738 12.6151 9.83977C12.7903 9.78191 12.958 9.72092 13.1176 9.65708C13.7614 9.39958 14.2488 9.10547 14.5671 8.80446C14.8843 8.50445 15 8.23243 15 8C15 7.76757 14.8843 7.49555 14.5671 7.19554C14.2488 6.89453 13.7614 6.60042 13.1176 6.34292C12.958 6.27907 12.7903 6.21808 12.6151 6.16022C12.4362 6.7526 12.2051 7.37069 11.9249 7.99998ZM9.96244 11.3991C10.6475 11.3271 11.2983 11.2181 11.9008 11.0769C11.9383 11.2576 11.9694 11.4333 11.9939 11.6034C12.0928 12.2897 12.0817 12.8589 11.9802 13.285C11.879 13.7098 11.7013 13.946 11.5 14.0622C11.2987 14.1784 11.0053 14.2142 10.5868 14.0895C10.167 13.9643 9.66861 13.6893 9.12373 13.2605C8.98863 13.1542 8.85196 13.0395 8.71424 12.9167C9.1378 12.4655 9.55758 11.9564 9.96244 11.3991ZM8.63249 11.4898C8.42262 11.7481 8.21116 11.9907 7.99999 12.2164C7.78881 11.9907 7.57737 11.7481 7.36749 11.4897C7.57631 11.4965 7.78726 11.5 8 11.5C8.21273 11.5 8.42367 11.4965 8.63249 11.4898ZM4.96891 9.75C5.07528 9.93424 5.18375 10.1152 5.29404 10.2926C4.9654 10.24 4.64951 10.1782 4.34844 10.1082C4.43833 9.81246 4.54276 9.508 4.66152 9.19708C4.76005 9.38133 4.86254 9.56575 4.96891 9.75ZM6.03754 11.3991C5.35244 11.3271 4.70163 11.2181 4.09914 11.0769C4.06165 11.2576 4.03062 11.4333 4.0061 11.6034C3.90723 12.2897 3.91823 12.8589 4.01977 13.285C4.12097 13.7098 4.29869 13.946 4.49998 14.0622C4.70127 14.1784 4.9947 14.2142 5.41313 14.0895C5.83296 13.9643 6.33137 13.6893 6.87625 13.2605C7.01135 13.1542 7.14802 13.0395 7.28573 12.9167C6.86217 12.4655 6.4424 11.9564 6.03754 11.3991ZM4.07507 7.99998C3.79484 8.62927 3.56381 9.24737 3.38489 9.83977C3.20969 9.78191 3.042 9.72092 2.88239 9.65708C2.23864 9.39958 1.75123 9.10547 1.43294 8.80446C1.11571 8.50445 1 8.23243 1 8C1 7.76757 1.11571 7.49555 1.43294 7.19554C1.75123 6.89453 2.23864 6.60042 2.88239 6.34292C3.042 6.27907 3.2097 6.21808 3.3849 6.16022C3.56383 6.75261 3.79484 7.37069 4.07507 7.99998ZM4.66152 6.80287C4.54277 6.49197 4.43835 6.18752 4.34846 5.89178C4.64952 5.82175 4.96539 5.75996 5.29402 5.70736C5.18373 5.8848 5.07526 6.06576 4.96889 6.25C4.86253 6.43423 4.76005 6.61864 4.66152 6.80287ZM9.25 8C9.25 8.69036 8.69036 9.25 8 9.25C7.30964 9.25 6.75 8.69036 6.75 8C6.75 7.30965 7.30964 6.75 8 6.75C8.69036 6.75 9.25 7.30965 9.25 8Z\"\n fill=\"currentColor\"\n />\n </g>\n <defs>\n <clipPath id=\"file_react_clip0_872_3183\">\n <rect width=\"16\" height=\"16\" fill=\"white\"></rect>\n </clipPath>\n </defs>\n </svg>\n )\n}\n","import Anser, { type AnserJsonEntry } from 'next/dist/compiled/anser'\nimport stripAnsi from 'next/dist/compiled/strip-ansi'\nimport type { StackFrame } from '../../../shared/stack-frame'\n\n// Strip leading spaces out of the code frame\nexport function formatCodeFrame(codeFrame: string) {\n const lines = codeFrame.split(/\\r?\\n/g)\n\n // Find the minimum length of leading spaces after `|` in the code frame\n const miniLeadingSpacesLength = lines\n .map((line) =>\n /^>? +\\d+ +\\| [ ]+/.exec(stripAnsi(line)) === null\n ? null\n : /^>? +\\d+ +\\| ( *)/.exec(stripAnsi(line))\n )\n .filter(Boolean)\n .map((v) => v!.pop()!)\n .reduce((c, n) => (isNaN(c) ? n.length : Math.min(c, n.length)), NaN)\n\n // When the minimum length of leading spaces is greater than 1, remove them\n // from the code frame to help the indentation looks better when there's a lot leading spaces.\n if (miniLeadingSpacesLength > 1) {\n return lines\n .map((line, a) =>\n ~(a = line.indexOf('|'))\n ? line.substring(0, a) +\n line.substring(a).replace(`^\\\\ {${miniLeadingSpacesLength}}`, '')\n : line\n )\n .join('\\n')\n }\n return lines.join('\\n')\n}\n\nexport function groupCodeFrameLines(formattedFrame: string) {\n // Map the decoded lines to a format that can be rendered\n const decoded = Anser.ansiToJson(formattedFrame, {\n json: true,\n use_classes: true,\n remove_empty: true,\n })\n const lines: (typeof decoded)[] = []\n\n let line: typeof decoded = []\n for (const token of decoded) {\n // If the token is a new line with only line break \"\\n\",\n // break here into a new line.\n // The line could also contain spaces, it's still considered line break if \"\\n\" line has spaces.\n if (typeof token.content === 'string' && token.content.includes('\\n')) {\n const segments = token.content.split('\\n')\n for (let i = 0; i < segments.length; i++) {\n const segment = segments[i]\n if (segment) {\n line.push({\n ...token,\n content: segment,\n })\n }\n if (i < segments.length - 1) {\n lines.push(line)\n line = []\n }\n }\n } else {\n line.push(token)\n }\n }\n if (line.length > 0) {\n lines.push(line)\n }\n\n return lines\n}\n\nexport function parseLineNumberFromCodeFrameLine(\n line: AnserJsonEntry[],\n stackFrame: StackFrame\n) {\n let lineNumberToken: AnserJsonEntry | undefined\n let line1: string | undefined\n // parse line number from line first 2 tokens\n // e.g. ` > 1 | const foo = 'bar'` => `1`, first token is `1 |`\n // e.g. ` 2 | const foo = 'bar'` => `2`. first 2 tokens are ' ' and ' 2 |'\n if (line[0]?.content === '>' || line[0]?.content === ' ') {\n lineNumberToken = line[1]\n line1 = lineNumberToken?.content?.replace('|', '')?.trim()\n }\n\n // When the line number is possibly undefined, it can be just the non-source code line\n // e.g. the ^ sign can also take a line, we skip rendering line number for it\n return {\n lineNumber: line1,\n isErroredLine: line1 === stackFrame.line1?.toString(),\n }\n}\n","import { useMemo } from 'react'\nimport { HotlinkedText } from '../hot-linked-text'\nimport { getFrameSource, type StackFrame } from '../../../shared/stack-frame'\nimport { useOpenInEditor } from '../../utils/use-open-in-editor'\nimport { ExternalIcon } from '../../icons/external'\nimport { FileIcon } from '../../icons/file'\nimport {\n formatCodeFrame,\n groupCodeFrameLines,\n parseLineNumberFromCodeFrameLine,\n} from './parse-code-frame'\n\ntype CodeFrameProps = {\n stackFrame: StackFrame\n codeFrame: string\n}\n\nexport function CodeFrame({ stackFrame, codeFrame }: CodeFrameProps) {\n const parsedLineStates = useMemo(() => {\n const decodedLines = groupCodeFrameLines(formatCodeFrame(codeFrame))\n\n return decodedLines.map((line) => {\n return {\n line,\n parsedLine: parseLineNumberFromCodeFrameLine(line, stackFrame),\n }\n })\n }, [codeFrame, stackFrame])\n\n const open = useOpenInEditor({\n file: stackFrame.file,\n line1: stackFrame.line1 ?? 1,\n column1: stackFrame.column1 ?? 1,\n })\n\n const fileExtension = stackFrame?.file?.split('.').pop()\n\n // TODO: make the caret absolute\n return (\n <div data-nextjs-codeframe>\n <div className=\"code-frame-header\">\n {/* TODO: This is <div> in `Terminal` component.\n Changing now will require multiple test snapshots updates.\n Leaving as <div> as is trivial and does not affect the UI.\n Change when the new redbox matcher `toDisplayRedbox` is used.\n */}\n <p className=\"code-frame-link\">\n <span className=\"code-frame-icon\">\n <FileIcon lang={fileExtension} />\n </span>\n <span data-text>\n {getFrameSource(stackFrame)} @{' '}\n <HotlinkedText text={stackFrame.methodName} />\n </span>\n <button\n aria-label=\"Open in editor\"\n data-with-open-in-editor-link-source-file\n onClick={open}\n >\n <span className=\"code-frame-icon\" data-icon=\"right\">\n <ExternalIcon width={16} height={16} />\n </span>\n </button>\n </p>\n </div>\n <pre className=\"code-frame-pre\">\n <div className=\"code-frame-lines\">\n {parsedLineStates.map(({ line, parsedLine }, lineIndex) => {\n const { lineNumber, isErroredLine } = parsedLine\n\n const lineNumberProps: Record<string, string | boolean> = {}\n if (lineNumber) {\n lineNumberProps['data-nextjs-codeframe-line'] = lineNumber\n }\n if (isErroredLine) {\n lineNumberProps['data-nextjs-codeframe-line--errored'] = true\n }\n\n return (\n <div key={`line-${lineIndex}`} {...lineNumberProps}>\n {line.map((entry, entryIndex) => (\n <span\n key={`frame-${entryIndex}`}\n style={{\n color: entry.fg ? `var(--color-${entry.fg})` : undefined,\n ...(entry.decoration === 'bold'\n ? // TODO(jiwon): This used to be 800, but the symbols like `─┬─` are\n // having longer width than expected on Geist Mono font-weight\n // above 600, hence a temporary fix is to use 500 for bold.\n { fontWeight: 500 }\n : entry.decoration === 'italic'\n ? { fontStyle: 'italic' }\n : undefined),\n }}\n >\n {entry.content}\n </span>\n ))}\n </div>\n )\n })}\n </div>\n </pre>\n </div>\n )\n}\n\nexport const CODE_FRAME_STYLES = `\n [data-nextjs-codeframe] {\n --code-frame-padding: 12px;\n --code-frame-line-height: var(--size-16);\n background-color: var(--color-background-200);\n color: var(--color-gray-1000);\n text-overflow: ellipsis;\n border: 1px solid var(--color-gray-400);\n border-radius: 8px;\n font-family: var(--font-stack-monospace);\n font-size: var(--size-12);\n line-height: var(--code-frame-line-height);\n margin: 8px 0;\n\n svg {\n width: var(--size-16);\n height: var(--size-16);\n }\n }\n\n .code-frame-link,\n .code-frame-pre {\n padding: var(--code-frame-padding);\n }\n\n .code-frame-link svg {\n flex-shrink: 0;\n }\n\n .code-frame-lines {\n min-width: max-content;\n }\n\n .code-frame-link [data-text] {\n text-align: left;\n margin: auto 6px;\n }\n\n .code-frame-header {\n width: 100%;\n transition: background 100ms ease-out;\n border-radius: 8px 8px 0 0;\n border-bottom: 1px solid var(--color-gray-400);\n }\n\n [data-with-open-in-editor-link-source-file] {\n padding: 4px;\n margin: -4px 0 -4px auto;\n border-radius: var(--rounded-full);\n margin-left: auto;\n\n &:focus-visible {\n outline: var(--focus-ring);\n outline-offset: -2px;\n }\n\n &:hover {\n background: var(--color-gray-100);\n }\n }\n\n [data-nextjs-codeframe]::selection,\n [data-nextjs-codeframe] *::selection {\n background-color: var(--color-ansi-selection);\n }\n\n [data-nextjs-codeframe] *:not(a) {\n color: inherit;\n background-color: transparent;\n font-family: var(--font-stack-monospace);\n }\n\n [data-nextjs-codeframe-line][data-nextjs-codeframe-line--errored=\"true\"] {\n position: relative;\n isolation: isolate;\n\n > span { \n position: relative;\n z-index: 1;\n }\n\n &::after {\n content: \"\";\n width: calc(100% + var(--code-frame-padding) * 2);\n height: var(--code-frame-line-height);\n left: calc(-1 * var(--code-frame-padding));\n background: var(--color-red-200);\n box-shadow: 2px 0 0 0 var(--color-red-900) inset;\n position: absolute;\n }\n }\n\n\n [data-nextjs-codeframe] > * {\n margin: 0;\n }\n\n .code-frame-link {\n display: flex;\n margin: 0;\n outline: 0;\n }\n .code-frame-link [data-icon='right'] {\n margin-left: auto;\n }\n\n [data-nextjs-codeframe] div > pre {\n overflow: hidden;\n display: inline-block;\n }\n\n [data-nextjs-codeframe] svg {\n color: var(--color-gray-900);\n }\n`\n","import * as React from 'react'\n\ntype DialogBodyProps = {\n children?: React.ReactNode\n className?: string\n} & React.HTMLAttributes<HTMLDivElement>\n\nconst DialogBody: React.FC<DialogBodyProps> = function DialogBody({\n children,\n className,\n ...props\n}) {\n return (\n <div data-nextjs-dialog-body className={className} {...props}>\n {children}\n </div>\n )\n}\n\nexport { DialogBody }\n","import * as React from 'react'\n\ntype DialogContentProps = {\n children?: React.ReactNode\n className?: string\n} & React.HTMLAttributes<HTMLDivElement>\n\nconst DialogContent: React.FC<DialogContentProps> = function DialogContent({\n children,\n className,\n ...props\n}) {\n return (\n <div data-nextjs-dialog-content className={className} {...props}>\n {children}\n </div>\n )\n}\n\nexport { DialogContent }\n","import { css } from '../../utils/css'\n\nexport const styles = css`\n [data-nextjs-dialog-root] {\n --next-dialog-radius: var(--rounded-xl);\n --next-dialog-max-width: 960px;\n --next-dialog-row-padding: 16px;\n --next-dialog-padding: 12px;\n --next-dialog-notch-height: 42px;\n --next-dialog-border-width: 1px;\n\n display: flex;\n flex-direction: column;\n width: 100%;\n max-height: calc(100% - 56px);\n max-width: var(--next-dialog-max-width);\n margin-right: auto;\n margin-left: auto;\n scale: 0.97;\n opacity: 0;\n transition-property: scale, opacity;\n transition-duration: var(--transition-duration);\n transition-timing-function: var(--timing-overlay);\n\n &[data-rendered='true'] {\n opacity: 1;\n scale: 1;\n }\n\n [data-nextjs-scroll-fader][data-side='top'] {\n left: 1px;\n top: calc(\n var(--next-dialog-notch-height) + var(--next-dialog-border-width)\n );\n width: calc(100% - var(--next-dialog-padding));\n opacity: 0;\n }\n }\n\n [data-nextjs-dialog] {\n outline: 0;\n }\n\n [data-nextjs-dialog-backdrop] {\n opacity: 0;\n transition: opacity var(--transition-duration) var(--timing-overlay);\n }\n\n [data-nextjs-dialog-overlay] {\n margin: 8px;\n }\n\n [data-nextjs-dialog-overlay][data-rendered='true']\n [data-nextjs-dialog-backdrop] {\n opacity: 1;\n }\n\n [data-nextjs-dialog-content] {\n border: none;\n margin: 0;\n display: flex;\n flex-direction: column;\n position: relative;\n padding: var(--next-dialog-padding);\n }\n\n [data-nextjs-dialog-content] > [data-nextjs-dialog-header] {\n flex-shrink: 0;\n margin-bottom: 8px;\n }\n\n [data-nextjs-dialog-content] > [data-nextjs-dialog-body] {\n position: relative;\n flex: 1 1 auto;\n }\n\n @media (max-height: 812px) {\n [data-nextjs-dialog-overlay] {\n max-height: calc(100% - 15px);\n }\n }\n\n @media (min-width: 576px) {\n [data-nextjs-dialog-root] {\n --next-dialog-max-width: 540px;\n }\n }\n\n @media (min-width: 768px) {\n [data-nextjs-dialog-root] {\n --next-dialog-max-width: 720px;\n }\n }\n\n @media (min-width: 992px) {\n [data-nextjs-dialog-root] {\n --next-dialog-max-width: 960px;\n }\n }\n`\n","/**\n * Merge multiple args to a single string with spaces. Useful for merging class names.\n * @example\n * cx('foo', 'bar') // 'foo bar'\n * cx('foo', null, 'bar', undefined, 'baz', false) // 'foo bar baz'\n */\nexport function cx(...args: (string | undefined | null | false)[]): string {\n return args.filter(Boolean).join(' ')\n}\n","import * as React from 'react'\nimport { cx } from '../../utils/cx'\n\nfunction useCopyLegacy(content: string) {\n type CopyState =\n | {\n state: 'initial'\n }\n | {\n state: 'error'\n error: unknown\n }\n | { state: 'success' }\n | { state: 'pending' }\n\n // This would be simpler with useActionState but we need to support React 18 here.\n // React 18 also doesn't have async transitions.\n const [copyState, dispatch] = React.useReducer(\n (\n state: CopyState,\n action:\n | { type: 'reset' | 'copied' | 'copying' }\n | { type: 'error'; error: unknown }\n ): CopyState => {\n if (action.type === 'reset') {\n return { state: 'initial' }\n }\n if (action.type === 'copied') {\n return { state: 'success' }\n }\n if (action.type === 'copying') {\n return { state: 'pending' }\n }\n if (action.type === 'error') {\n return { state: 'error', error: action.error }\n }\n return state\n },\n {\n state: 'initial',\n }\n )\n function copy() {\n if (isPending) {\n return\n }\n\n if (!navigator.clipboard) {\n dispatch({\n type: 'error',\n error: 'Copy to clipboard is not supported in this browser',\n })\n } else {\n dispatch({ type: 'copying' })\n navigator.clipboard.writeText(content).then(\n () => {\n dispatch({ type: 'copied' })\n },\n (error) => {\n dispatch({ type: 'error', error })\n }\n )\n }\n }\n const reset = React.useCallback(() => {\n dispatch({ type: 'reset' })\n }, [])\n\n const isPending = copyState.state === 'pending'\n\n return [copyState, copy, reset, isPending] as const\n}\n\nfunction useCopyModern(content: string) {\n type CopyState =\n | {\n state: 'initial'\n }\n | {\n state: 'error'\n error: unknown\n }\n | { state: 'success' }\n\n const [copyState, dispatch, isPending] = React.useActionState(\n (\n state: CopyState,\n action: 'reset' | 'copy'\n ): CopyState | Promise<CopyState> => {\n if (action === 'reset') {\n return { state: 'initial' }\n }\n if (action === 'copy') {\n if (!navigator.clipboard) {\n return {\n state: 'error',\n error: 'Copy to clipboard is not supported in this browser',\n }\n }\n return navigator.clipboard.writeText(content).then(\n () => {\n return { state: 'success' }\n },\n (error) => {\n return { state: 'error', error }\n }\n )\n }\n return state\n },\n {\n state: 'initial',\n }\n )\n\n function copy() {\n React.startTransition(() => {\n dispatch('copy')\n })\n }\n\n const reset = React.useCallback(() => {\n dispatch('reset')\n }, [\n // TODO: `dispatch` from `useActionState` is not reactive.\n // Remove from dependencies once https://github.com/facebook/react/pull/29665 is released.\n dispatch,\n ])\n\n return [copyState, copy, reset, isPending] as const\n}\n\nconst useCopy =\n typeof React.useActionState === 'function' ? useCopyModern : useCopyLegacy\n\ntype CopyButtonProps = React.HTMLProps<HTMLButtonElement> & {\n actionLabel: string\n successLabel: string\n icon?: React.ReactNode\n}\n\nexport function CopyButton(\n props: CopyButtonProps & { content?: string; getContent?: () => string }\n) {\n const {\n content,\n getContent,\n actionLabel,\n successLabel,\n icon,\n disabled,\n ...rest\n } = props\n const getContentString = (): string => {\n if (content) {\n return content\n }\n if (getContent) {\n return getContent()\n }\n return ''\n }\n const contentString = getContentString()\n const [copyState, copy, reset, isPending] = useCopy(contentString)\n\n const error = copyState.state === 'error' ? copyState.error : null\n React.useEffect(() => {\n if (error !== null) {\n // Only log warning in terminal to avoid showing in the error overlay.\n // When it's errored, the copy button will be disabled.\n console.warn(error)\n }\n }, [error])\n React.useEffect(() => {\n if (copyState.state === 'success') {\n const timeoutId = setTimeout(() => {\n reset()\n }, 2000)\n\n return () => {\n clearTimeout(timeoutId)\n }\n }\n }, [isPending, copyState.state, reset])\n const isDisabled = !navigator.clipboard || isPending || disabled || !!error\n const label = copyState.state === 'success' ? successLabel : actionLabel\n\n // Assign default icon\n const renderedIcon =\n copyState.state === 'success' ? (\n <CopySuccessIcon />\n ) : (\n icon || (\n <CopyIcon\n width={14}\n height={14}\n className=\"error-overlay-toolbar-button-icon\"\n />\n )\n )\n\n return (\n <button\n {...rest}\n type=\"button\"\n title={label}\n aria-label={label}\n aria-disabled={isDisabled}\n disabled={isDisabled}\n data-nextjs-copy-button\n className={cx(\n props.className,\n 'nextjs-data-copy-button',\n `nextjs-data-copy-button--${copyState.state}`\n )}\n onClick={() => {\n if (!isDisabled) {\n copy()\n }\n }}\n >\n {renderedIcon}\n {copyState.state === 'error' ? ` ${copyState.error}` : null}\n </button>\n )\n}\n\nfunction CopyIcon(props: React.SVGProps<SVGSVGElement>) {\n return (\n <svg\n width=\"14\"\n height=\"14\"\n viewBox=\"0 0 14 14\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M2.406.438c-.845 0-1.531.685-1.531 1.53v6.563c0 .846.686 1.531 1.531 1.531H3.937V8.75H2.406a.219.219 0 0 1-.219-.219V1.97c0-.121.098-.219.22-.219h4.812c.12 0 .218.098.218.219v.656H8.75v-.656c0-.846-.686-1.532-1.531-1.532H2.406zm4.375 3.5c-.845 0-1.531.685-1.531 1.53v6.563c0 .846.686 1.531 1.531 1.531h4.813c.845 0 1.531-.685 1.531-1.53V5.468c0-.846-.686-1.532-1.531-1.532H6.78zm-.218 1.53c0-.12.097-.218.218-.218h4.813c.12 0 .219.098.219.219v6.562c0 .121-.098.219-.22.219H6.782a.219.219 0 0 1-.218-.219V5.47z\"\n fill=\"currentColor\"\n />\n </svg>\n )\n}\n\nfunction CopySuccessIcon() {\n return (\n <svg\n height=\"16\"\n xlinkTitle=\"copied\"\n viewBox=\"0 0 16 16\"\n width=\"16\"\n stroke=\"currentColor\"\n fill=\"currentColor\"\n >\n <path d=\"M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z\" />\n </svg>\n )\n}\n\nexport const COPY_BUTTON_STYLES = `\n .nextjs-data-copy-button {\n color: inherit;\n\n svg {\n width: var(--size-16);\n height: var(--size-16);\n }\n }\n .nextjs-data-copy-button:disabled {\n background-color: var(--color-gray-100);\n cursor: not-allowed;\n }\n .nextjs-data-copy-button--initial:hover:not(:disabled) {\n cursor: pointer;\n }\n .nextjs-data-copy-button--error:not(:disabled),\n .nextjs-data-copy-button--error:hover:not(:disabled) {\n color: var(--color-ansi-red);\n }\n .nextjs-data-copy-button--success:not(:disabled) {\n color: var(--color-ansi-green);\n }\n`\n","import { startTransition, useActionState, useEffect } from 'react'\nimport { CopyButton } from '../../copy-button'\n\nfunction NodeJsIcon(props: any) {\n return (\n <svg\n width=\"14\"\n height=\"14\"\n viewBox=\"0 0 14 14\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <mask\n id=\"nodejs_icon_mask_a\"\n style={{ maskType: 'luminance' }}\n maskUnits=\"userSpaceOnUse\"\n x=\"0\"\n y=\"0\"\n width=\"14\"\n height=\"14\"\n >\n <path\n d=\"M6.67.089 1.205 3.256a.663.663 0 0 0-.33.573v6.339c0 .237.126.455.33.574l5.466 3.17a.66.66 0 0 0 .66 0l5.465-3.17a.664.664 0 0 0 .329-.574V3.829a.663.663 0 0 0-.33-.573L7.33.089a.663.663 0 0 0-.661 0\"\n fill=\"#fff\"\n />\n </mask>\n <g mask=\"url(#nodejs_icon_mask_a)\">\n <path\n d=\"M18.648 2.717 3.248-4.86-4.648 11.31l15.4 7.58 7.896-16.174z\"\n fill=\"url(#nodejs_icon_linear_gradient_b)\"\n />\n </g>\n <mask\n id=\"nodejs_icon_mask_c\"\n style={{ maskType: 'luminance' }}\n maskUnits=\"userSpaceOnUse\"\n x=\"1\"\n y=\"0\"\n width=\"12\"\n height=\"14\"\n >\n <path\n d=\"M1.01 10.57a.663.663 0 0 0 .195.17l4.688 2.72.781.45a.66.66 0 0 0 .51.063l5.764-10.597a.653.653 0 0 0-.153-.122L9.216 1.18 7.325.087a.688.688 0 0 0-.171-.07L1.01 10.57z\"\n fill=\"#fff\"\n />\n </mask>\n <g mask=\"url(#nodejs_icon_mask_c)\">\n <path\n d=\"M-5.647 4.958 5.226 19.734l14.38-10.667L8.734-5.71-5.647 4.958z\"\n fill=\"url(#nodejs_icon_linear_gradient_d)\"\n />\n </g>\n <g>\n <mask\n id=\"nodejs_icon_mask_e\"\n style={{ maskType: 'luminance' }}\n maskUnits=\"userSpaceOnUse\"\n x=\"1\"\n y=\"0\"\n width=\"13\"\n height=\"14\"\n >\n <path\n d=\"M6.934.004A.665.665 0 0 0 6.67.09L1.22 3.247l5.877 10.746a.655.655 0 0 0 .235-.08l5.465-3.17a.665.665 0 0 0 .319-.453L7.126.015a.684.684 0 0 0-.189-.01\"\n fill=\"#fff\"\n />\n </mask>\n <g mask=\"url(#nodejs_icon_mask_e)\">\n <path\n d=\"M1.22.002v13.992h11.894V.002H1.22z\"\n fill=\"url(#nodejs_icon_linear_gradient_f)\"\n />\n </g>\n </g>\n <defs>\n <linearGradient\n id=\"nodejs_icon_linear_gradient_b\"\n x1=\"10.943\"\n y1=\"-1.084\"\n x2=\"2.997\"\n y2=\"15.062\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop offset=\".3\" stopColor=\"#3E863D\" />\n <stop offset=\".5\" stopColor=\"#55934F\" />\n <stop offset=\".8\" stopColor=\"#5AAD45\" />\n </linearGradient>\n <linearGradient\n id=\"nodejs_icon_linear_gradient_d\"\n x1=\"-.145\"\n y1=\"12.431\"\n x2=\"14.277\"\n y2=\"1.818\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop offset=\".57\" stopColor=\"#3E863D\" />\n <stop offset=\".72\" stopColor=\"#619857\" />\n <stop offset=\"1\" stopColor=\"#76AC64\" />\n </linearGradient>\n <linearGradient\n id=\"nodejs_icon_linear_gradient_f\"\n x1=\"1.225\"\n y1=\"6.998\"\n x2=\"13.116\"\n y2=\"6.998\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop offset=\".16\" stopColor=\"#6BBF47\" />\n <stop offset=\".38\" stopColor=\"#79B461\" />\n <stop offset=\".47\" stopColor=\"#75AC64\" />\n <stop offset=\".7\" stopColor=\"#659E5A\" />\n <stop offset=\".9\" stopColor=\"#3E863D\" />\n </linearGradient>\n </defs>\n </svg>\n )\n}\n\nfunction NodeJsDisabledIcon(props: any) {\n return (\n <svg\n width=\"14\"\n height=\"14\"\n viewBox=\"0 0 14 14\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <mask\n id=\"nodejs_icon_mask_a\"\n style={{ maskType: 'luminance' }}\n maskUnits=\"userSpaceOnUse\"\n x=\"0\"\n y=\"0\"\n width=\"14\"\n height=\"14\"\n >\n <path\n d=\"M6.67.089 1.205 3.256a.663.663 0 0 0-.33.573v6.339c0 .237.126.455.33.574l5.466 3.17a.66.66 0 0 0 .66 0l5.465-3.17a.664.664 0 0 0 .329-.574V3.829a.663.663 0 0 0-.33-.573L7.33.089a.663.663 0 0 0-.661 0\"\n fill=\"#fff\"\n />\n </mask>\n <g mask=\"url(#nodejs_icon_mask_a)\">\n <path\n d=\"M18.648 2.717 3.248-4.86-4.646 11.31l15.399 7.58 7.896-16.174z\"\n fill=\"url(#nodejs_icon_linear_gradient_b)\"\n />\n </g>\n <mask\n id=\"nodejs_icon_mask_c\"\n style={{ maskType: 'luminance' }}\n maskUnits=\"userSpaceOnUse\"\n x=\"1\"\n y=\"0\"\n width=\"12\"\n height=\"15\"\n >\n <path\n d=\"M1.01 10.571a.66.66 0 0 0 .195.172l4.688 2.718.781.451a.66.66 0 0 0 .51.063l5.764-10.597a.653.653 0 0 0-.153-.122L9.216 1.181 7.325.09a.688.688 0 0 0-.171-.07L1.01 10.572z\"\n fill=\"#fff\"\n />\n </mask>\n <g mask=\"url(#nodejs_icon_mask_c)\">\n <path\n d=\"M-5.647 4.96 5.226 19.736 19.606 9.07 8.734-5.707-5.647 4.96z\"\n fill=\"url(#nodejs_icon_linear_gradient_d)\"\n />\n </g>\n <g>\n <mask\n id=\"nodejs_icon_mask_e\"\n style={{ maskType: 'luminance' }}\n maskUnits=\"userSpaceOnUse\"\n x=\"1\"\n y=\"0\"\n width=\"13\"\n height=\"14\"\n >\n <path\n d=\"M6.935.003a.665.665 0 0 0-.264.085l-5.45 3.158 5.877 10.747a.653.653 0 0 0 .235-.082l5.465-3.17a.665.665 0 0 0 .319-.452L7.127.014a.684.684 0 0 0-.189-.01\"\n fill=\"#fff\"\n />\n </mask>\n <g mask=\"url(#nodejs_icon_mask_e)\">\n <path\n d=\"M1.222.001v13.992h11.893V0H1.222z\"\n fill=\"url(#nodejs_icon_linear_gradient_f)\"\n />\n </g>\n </g>\n <defs>\n <linearGradient\n id=\"nodejs_icon_linear_gradient_b\"\n x1=\"10.944\"\n y1=\"-1.084\"\n x2=\"2.997\"\n y2=\"15.062\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop offset=\".3\" stopColor=\"#676767\" />\n <stop offset=\".5\" stopColor=\"#858585\" />\n <stop offset=\".8\" stopColor=\"#989A98\" />\n </linearGradient>\n <linearGradient\n id=\"nodejs_icon_linear_gradient_d\"\n x1=\"-.145\"\n y1=\"12.433\"\n x2=\"14.277\"\n y2=\"1.819\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop offset=\".57\" stopColor=\"#747474\" />\n <stop offset=\".72\" stopColor=\"#707070\" />\n <stop offset=\"1\" stopColor=\"#929292\" />\n </linearGradient>\n <linearGradient\n id=\"nodejs_icon_linear_gradient_f\"\n x1=\"1.226\"\n y1=\"6.997\"\n x2=\"13.117\"\n y2=\"6.997\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop offset=\".16\" stopColor=\"#878787\" />\n <stop offset=\".38\" stopColor=\"#A9A9A9\" />\n <stop offset=\".47\" stopColor=\"#A5A5A5\" />\n <stop offset=\".7\" stopColor=\"#8F8F8F\" />\n <stop offset=\".9\" stopColor=\"#626262\" />\n </linearGradient>\n </defs>\n </svg>\n )\n}\n\nexport function NodejsInspectorButton({\n defaultDevtoolsFrontendUrl,\n}: {\n defaultDevtoolsFrontendUrl: string | undefined\n}) {\n const [devtoolsFrontendUrlState, attachDebuggerAction, isAttachingDebugger] =\n useActionState<\n | { status: 'fulfilled'; value: string | undefined }\n | { status: 'rejected'; reason: unknown }\n >(\n async () => {\n try {\n const response = await fetch('/__nextjs_attach-nodejs-inspector', {\n method: 'POST',\n })\n if (!response.ok) {\n throw new Error(\n `${response.status} ${response.statusText}: ${await response.text()}`\n )\n }\n const devtoolsFrontendUrl = await response.json()\n return {\n status: 'fulfilled',\n value: devtoolsFrontendUrl,\n }\n } catch (cause) {\n return {\n status: 'rejected',\n reason: new Error(\n 'Failed to attach Node.js inspector: ' +\n // TODO: Use `cause` property once Redbox supports displaying `cause`\n String(cause)\n ),\n }\n }\n },\n { status: 'fulfilled', value: defaultDevtoolsFrontendUrl }\n )\n\n const devtoolsFrontendUrl =\n devtoolsFrontendUrlState.status === 'fulfilled'\n ? devtoolsFrontendUrlState.value\n : undefined\n\n useEffect(() => {\n if (devtoolsFrontendUrlState.status === 'rejected') {\n console.error(devtoolsFrontendUrlState.reason)\n }\n }, [devtoolsFrontendUrlState])\n\n const attachDebugger = startTransition.bind(null, attachDebuggerAction)\n\n if (devtoolsFrontendUrl === undefined) {\n return (\n <button\n className=\"nodejs-inspector-button\"\n data-pending={isAttachingDebugger}\n onClick={isAttachingDebugger ? undefined : attachDebugger}\n title={\n devtoolsFrontendUrlState.status === 'rejected'\n ? 'Retry attaching Node.js inspector'\n : 'Attach Node.js inspector'\n }\n >\n <NodeJsDisabledIcon\n className=\"error-overlay-toolbar-button-icon\"\n width={14}\n height={14}\n />\n </button>\n )\n }\n return (\n <CopyButton\n data-nextjs-data-runtime-error-copy-devtools-url\n className=\"nodejs-inspector-button\"\n actionLabel={'Copy DevTools URL for Chrome'}\n successLabel=\"Copied\"\n content={devtoolsFrontendUrl}\n icon={\n <NodeJsIcon\n className=\"error-overlay-toolbar-button-icon\"\n width={14}\n height={14}\n />\n }\n />\n )\n}\n","import { CopyButton } from '../../copy-button'\n\nexport function CopyErrorButton({\n error,\n generateErrorInfo,\n}: {\n error: Error\n generateErrorInfo: () => string\n}) {\n return (\n <CopyButton\n data-nextjs-data-runtime-error-copy-stack\n className=\"copy-error-button\"\n actionLabel=\"Copy Error Info\"\n successLabel=\"Error Info Copied\"\n getContent={generateErrorInfo}\n disabled={!error}\n />\n )\n}\n","export const REACT_HYDRATION_ERROR_LINK =\n 'https://react.dev/link/hydration-mismatch'\nexport const NEXTJS_HYDRATION_ERROR_LINK =\n 'https://nextjs.org/docs/messages/react-hydration-error'\n\n/**\n * Only React 19+ contains component stack diff in the error message\n */\nconst errorMessagesWithComponentStackDiff = [\n /^In HTML, (.+?) cannot be a child of <(.+?)>\\.(.*)\\nThis will cause a hydration error\\.(.*)/,\n /^In HTML, (.+?) cannot be a descendant of <(.+?)>\\.\\nThis will cause a hydration error\\.(.*)/,\n /^In HTML, text nodes cannot be a child of <(.+?)>\\.\\nThis will cause a hydration error\\./,\n /^In HTML, whitespace text nodes cannot be a child of <(.+?)>\\. Make sure you don't have any extra whitespace between tags on each line of your source code\\.\\nThis will cause a hydration error\\./,\n]\n\nexport function isHydrationError(error: Error): boolean {\n return (\n isErrorMessageWithComponentStackDiff(error.message) ||\n /Hydration failed because the server rendered (text|HTML) didn't match the client\\./.test(\n error.message\n ) ||\n /A tree hydrated but some attributes of the server rendered HTML didn't match the client properties./.test(\n error.message\n )\n )\n}\n\nexport function isErrorMessageWithComponentStackDiff(msg: string): boolean {\n return errorMessagesWithComponentStackDiff.some((regex) => regex.test(msg))\n}\n\nexport function getHydrationErrorStackInfo(error: Error): {\n message: string | null\n notes: string | null\n diff: string | null\n} {\n const errorMessage = error.message\n if (isErrorMessageWithComponentStackDiff(errorMessage)) {\n const [message, diffLog = ''] = errorMessage.split('\\n\\n')\n const diff = diffLog.trim()\n return {\n message: diff === '' ? errorMessage.trim() : message.trim(),\n diff,\n notes: null,\n }\n }\n\n const [message, maybeComponentStackDiff] = errorMessage.split(\n `${REACT_HYDRATION_ERROR_LINK}`\n )\n const trimmedMessage = message.trim()\n // React built-in hydration diff starts with a newline\n if (\n maybeComponentStackDiff !== undefined &&\n maybeComponentStackDiff.length > 1\n ) {\n const diffs: string[] = []\n maybeComponentStackDiff.split('\\n').forEach((line) => {\n if (line.trim() === '') return\n if (!line.trim().startsWith('at ')) {\n diffs.push(line)\n }\n })\n\n const [displayedMessage, ...notes] = trimmedMessage.split('\\n\\n')\n return {\n message: displayedMessage,\n diff: diffs.join('\\n'),\n notes: notes.join('\\n\\n') || null,\n }\n } else {\n const [displayedMessage, ...notes] = trimmedMessage.split('\\n\\n')\n return {\n message: displayedMessage,\n diff: null,\n notes: notes.join('\\n\\n'),\n }\n }\n}\n","import {\n NEXTJS_HYDRATION_ERROR_LINK,\n REACT_HYDRATION_ERROR_LINK,\n} from '../../../../shared/react-19-hydration-error'\nimport { parseUrlFromText } from '../../../utils/parse-url-from-text'\n\nconst docsURLAllowlist = ['https://nextjs.org', 'https://react.dev']\n\nfunction docsLinkMatcher(text: string): boolean {\n return docsURLAllowlist.some((url) => text.startsWith(url))\n}\n\nfunction getDocsURLFromErrorMessage(text: string): string | null {\n const urls = parseUrlFromText(text, docsLinkMatcher)\n\n if (urls.length === 0) {\n return null\n }\n\n const href = urls[0]\n\n // Replace react hydration error link with nextjs hydration error link\n if (href === REACT_HYDRATION_ERROR_LINK) {\n return NEXTJS_HYDRATION_ERROR_LINK\n }\n\n return href\n}\n\nexport function DocsLinkButton({ errorMessage }: { errorMessage: string }) {\n const docsURL = getDocsURLFromErrorMessage(errorMessage)\n\n if (!docsURL) {\n return (\n <button\n title=\"No related documentation found\"\n aria-label=\"No related documentation found\"\n className=\"docs-link-button\"\n disabled\n >\n <DocsIcon\n className=\"error-overlay-toolbar-button-icon\"\n width={14}\n height={14}\n />\n </button>\n )\n }\n\n return (\n <a\n title=\"Go to related documentation\"\n aria-label=\"Go to related documentation\"\n className=\"docs-link-button\"\n href={docsURL}\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n >\n <DocsIcon\n className=\"error-overlay-toolbar-button-icon\"\n width={14}\n height={14}\n />\n </a>\n )\n}\n\nfunction DocsIcon(props: React.SVGProps<SVGSVGElement>) {\n return (\n <svg\n width=\"14\"\n height=\"14\"\n viewBox=\"0 0 14 14\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M0 .875h4.375C5.448.875 6.401 1.39 7 2.187A3.276 3.276 0 0 1 9.625.875H14v11.156H9.4c-.522 0-1.023.208-1.392.577l-.544.543h-.928l-.544-.543c-.369-.37-.87-.577-1.392-.577H0V.875zm6.344 3.281a1.969 1.969 0 0 0-1.969-1.968H1.312v8.53H4.6c.622 0 1.225.177 1.744.502V4.156zm1.312 7.064V4.156c0-1.087.882-1.968 1.969-1.968h3.063v8.53H9.4c-.622 0-1.225.177-1.744.502z\"\n fill=\"currentColor\"\n />\n </svg>\n )\n}\n","export function parseUrlFromText(\n text: string,\n matcherFunc?: (text: string) => boolean\n): string[] {\n const linkRegex = /https?:\\/\\/[^\\s/$.?#].[^\\s)'\"]*/gi\n const links = Array.from(text.matchAll(linkRegex), (match) => match[0])\n\n if (matcherFunc) {\n return links.filter((link) => matcherFunc(link))\n }\n\n return links\n}\n","import type { DebugInfo } from '../../../../shared/types'\nimport { NodejsInspectorButton } from './nodejs-inspector-button'\nimport { CopyErrorButton } from './copy-error-button'\nimport { DocsLinkButton } from './docs-link-button'\n\ntype ErrorOverlayToolbarProps = {\n error: Error\n debugInfo: DebugInfo | undefined\n feedbackButton?: React.ReactNode\n generateErrorInfo: () => string\n}\n\nexport function ErrorOverlayToolbar({\n error,\n debugInfo,\n feedbackButton,\n generateErrorInfo,\n}: ErrorOverlayToolbarProps) {\n return (\n <span className=\"error-overlay-toolbar\">\n {/* TODO: Move the button inside and remove the feedback on the footer of the error overlay. */}\n {feedbackButton}\n <CopyErrorButton error={error} generateErrorInfo={generateErrorInfo} />\n <DocsLinkButton errorMessage={error.message} />\n <NodejsInspectorButton\n key={debugInfo?.devtoolsFrontendUrl}\n defaultDevtoolsFrontendUrl={debugInfo?.devtoolsFrontendUrl}\n />\n </span>\n )\n}\n\nexport const styles = `\n .error-overlay-toolbar {\n display: flex;\n gap: 6px;\n }\n\n .nodejs-inspector-button,\n .copy-error-button,\n .docs-link-button {\n display: flex;\n justify-content: center;\n align-items: center;\n\n width: var(--size-28);\n height: var(--size-28);\n background: var(--color-background-100);\n background-clip: padding-box;\n border: 1px solid var(--color-gray-alpha-400);\n box-shadow: var(--shadow-small);\n border-radius: var(--rounded-full);\n\n svg {\n width: var(--size-14);\n height: var(--size-14);\n }\n\n &:focus {\n outline: var(--focus-ring);\n }\n\n &:not(:disabled):hover {\n background: var(--color-gray-alpha-100);\n }\n\n &:not(:disabled):active {\n background: var(--color-gray-alpha-200);\n }\n\n &:disabled {\n background-color: var(--color-gray-100);\n cursor: not-allowed;\n }\n }\n\n .nodejs-inspector-button[data-pending='true'] {\n cursor: wait;\n }\n\n .error-overlay-toolbar-button-icon {\n color: var(--color-gray-900);\n }\n`\n","import type { ComponentProps } from 'react'\n\nexport function ThumbsUp(props: ComponentProps<'svg'>) {\n return (\n <svg\n width=\"16\"\n height=\"16\"\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n className=\"thumbs-up-icon\"\n {...props}\n >\n <g id=\"thumb-up-16\">\n <path\n id=\"Union\"\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M6.89531 2.23959C6.72984 2.1214 6.5 2.23968 6.5 2.44303V5.24989C6.5 6.21639 5.7165 6.99989 4.75 6.99989H2.5V13.4999H12.1884C12.762 13.4999 13.262 13.1095 13.4011 12.5531L14.4011 8.55306C14.5984 7.76412 14.0017 6.99989 13.1884 6.99989H9.25H8.5V6.24989V3.51446C8.5 3.43372 8.46101 3.35795 8.39531 3.31102L6.89531 2.23959ZM5 2.44303C5 1.01963 6.6089 0.191656 7.76717 1.01899L9.26717 2.09042C9.72706 2.41892 10 2.94929 10 3.51446V5.49989H13.1884C14.9775 5.49989 16.2903 7.18121 15.8563 8.91686L14.8563 12.9169C14.5503 14.1411 13.4503 14.9999 12.1884 14.9999H1.75H1V14.2499V6.24989V5.49989H1.75H4.75C4.88807 5.49989 5 5.38796 5 5.24989V2.44303Z\"\n fill=\"currentColor\"\n />\n </g>\n </svg>\n )\n}\n","import type { ComponentProps } from 'react'\n\nexport function ThumbsDown(props: ComponentProps<'svg'>) {\n return (\n <svg\n width=\"16\"\n height=\"16\"\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n className=\"thumbs-down-icon\"\n {...props}\n >\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M5.89531 12.7603C5.72984 12.8785 5.5 12.7602 5.5 12.5569V9.75C5.5 8.7835 4.7165 8 3.75 8H1.5V1.5H11.1884C11.762 1.5 12.262 1.89037 12.4011 2.44683L13.4011 6.44683C13.5984 7.23576 13.0017 8 12.1884 8H8.25H7.5V8.75V11.4854C7.5 11.5662 7.46101 11.6419 7.39531 11.6889L5.89531 12.7603ZM4 12.5569C4 13.9803 5.6089 14.8082 6.76717 13.9809L8.26717 12.9095C8.72706 12.581 9 12.0506 9 11.4854V9.5H12.1884C13.9775 9.5 15.2903 7.81868 14.8563 6.08303L13.8563 2.08303C13.5503 0.858816 12.4503 0 11.1884 0H0.75H0V0.75V8.75V9.5H0.75H3.75C3.88807 9.5 4 9.61193 4 9.75V12.5569Z\"\n fill=\"currentColor\"\n />\n </svg>\n )\n}\n","import { useState, useCallback } from 'react'\nimport { ThumbsUp } from '../../../../icons/thumbs/thumbs-up'\nimport { ThumbsDown } from '../../../../icons/thumbs/thumbs-down'\nimport { cx } from '../../../../utils/cx'\n\ninterface ErrorFeedbackProps {\n errorCode: string\n className?: string\n}\nexport function ErrorFeedback({ errorCode, className }: ErrorFeedbackProps) {\n const [votedMap, setVotedMap] = useState<Record<string, boolean>>({})\n const voted = votedMap[errorCode]\n const hasVoted = voted !== undefined\n const disabled = process.env.__NEXT_TELEMETRY_DISABLED\n\n const handleFeedback = useCallback(\n async (wasHelpful: boolean) => {\n // Optimistically set feedback state without loading/error states to keep implementation simple\n setVotedMap((prev) => ({\n ...prev,\n [errorCode]: wasHelpful,\n }))\n\n try {\n const response = await fetch(\n `${process.env.__NEXT_ROUTER_BASEPATH || ''}/__nextjs_error_feedback?${new URLSearchParams(\n {\n errorCode,\n wasHelpful: wasHelpful.toString(),\n }\n )}`\n )\n\n if (!response.ok) {\n // Handle non-2xx HTTP responses here if needed\n console.error('Failed to record feedback on the server.')\n }\n } catch (error) {\n console.error('Failed to record feedback:', error)\n }\n },\n [errorCode]\n )\n\n return (\n <div\n className={cx('error-feedback', className)}\n role=\"region\"\n aria-label=\"Error feedback\"\n >\n {hasVoted ? (\n <p className=\"error-feedback-thanks\" role=\"status\" aria-live=\"polite\">\n Thanks for your feedback!\n </p>\n ) : (\n <>\n <p>\n <a\n href=\"https://nextjs.org/telemetry#error-feedback\"\n rel=\"noopener noreferrer\"\n target=\"_blank\"\n >\n Was this helpful?\n </a>\n </p>\n <button\n aria-disabled={disabled ? 'true' : undefined}\n aria-label=\"Mark as helpful\"\n onClick={disabled ? undefined : () => handleFeedback(true)}\n className={cx('feedback-button', voted === true && 'voted')}\n title={\n disabled\n ? 'Feedback disabled due to setting NEXT_TELEMETRY_DISABLED'\n : undefined\n }\n type=\"button\"\n >\n <ThumbsUp aria-hidden=\"true\" />\n </button>\n <button\n aria-disabled={disabled ? 'true' : undefined}\n aria-label=\"Mark as not helpful\"\n onClick={disabled ? undefined : () => handleFeedback(false)}\n className={cx('feedback-button', voted === false && 'voted')}\n title={\n disabled\n ? 'Feedback disabled due to setting NEXT_TELEMETRY_DISABLED'\n : undefined\n }\n type=\"button\"\n >\n <ThumbsDown\n aria-hidden=\"true\"\n // Optical alignment\n style={{\n translate: '1px 1px',\n }}\n />\n </button>\n </>\n )}\n </div>\n )\n}\n\nexport const styles = `\n .error-feedback {\n display: flex;\n align-items: center;\n gap: 8px;\n white-space: nowrap;\n color: var(--color-gray-900);\n }\n\n .error-feedback-thanks {\n height: var(--size-24);\n display: flex;\n align-items: center;\n padding-right: 4px; /* To match the 4px inner padding of the thumbs up and down icons */\n }\n\n .feedback-button {\n background: none;\n border: none;\n border-radius: var(--rounded-md);\n width: var(--size-24);\n height: var(--size-24);\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n &:focus {\n outline: var(--focus-ring);\n }\n\n &:hover {\n background: var(--color-gray-alpha-100);\n }\n\n &:active {\n background: var(--color-gray-alpha-200);\n }\n }\n\n .feedback-button[aria-disabled='true'] {\n opacity: 0.7;\n cursor: not-allowed;\n }\n\n .feedback-button.voted {\n background: var(--color-gray-alpha-200);\n }\n\n .thumbs-up-icon,\n .thumbs-down-icon {\n color: var(--color-gray-900);\n width: var(--size-16);\n height: var(--size-16);\n }\n`\n","import { ErrorFeedback } from './error-feedback/error-feedback'\nimport { styles as feedbackStyles } from './error-feedback/error-feedback'\n\ntype ErrorOverlayFooterProps = {\n errorCode: string | undefined\n}\n\nexport function ErrorOverlayFooter({ errorCode }: ErrorOverlayFooterProps) {\n return (\n <footer data-nextjs-error-overlay-footer className=\"error-overlay-footer\">\n {errorCode ? (\n <ErrorFeedback className=\"error-feedback\" errorCode={errorCode} />\n ) : null}\n </footer>\n )\n}\n\nexport const styles = `\n .error-overlay-footer {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n\n gap: 8px;\n padding: 12px;\n background: var(--color-background-200);\n border-top: 1px solid var(--color-gray-400);\n }\n\n .error-feedback {\n margin-left: auto;\n\n p {\n font-size: var(--size-14);\n font-weight: 500;\n margin: 0;\n }\n }\n\n ${feedbackStyles}\n`\n","import { useState, useRef, useLayoutEffect } from 'react'\nimport type { ErrorType } from '../error-type-label/error-type-label'\n\nexport type ErrorMessageType = React.ReactNode\n\ntype ErrorMessageProps = {\n errorMessage: ErrorMessageType\n errorType: ErrorType\n}\n\nexport function ErrorMessage({ errorMessage, errorType }: ErrorMessageProps) {\n const [isExpanded, setIsExpanded] = useState(false)\n const [isTooTall, setIsTooTall] = useState(false)\n const messageRef = useRef<HTMLDivElement>(null)\n\n useLayoutEffect(() => {\n if (messageRef.current) {\n setIsTooTall(messageRef.current.scrollHeight > 200)\n }\n }, [errorMessage])\n\n // The \"Blocking Route\" error message is specifically formatted to look nice\n // in the overlay (rather than just passed through from the console), so we\n // intentionally don't truncate it and rely on the scroll overflow instead.\n const shouldTruncate = isTooTall && errorType !== 'Blocking Route'\n\n return (\n <div className=\"nextjs__container_errors_wrapper\">\n <div\n ref={messageRef}\n id=\"nextjs__container_errors_desc\"\n className={`nextjs__container_errors_desc ${shouldTruncate && !isExpanded ? 'truncated' : ''}`}\n >\n {errorMessage}\n </div>\n {shouldTruncate && !isExpanded && (\n <>\n <div className=\"nextjs__container_errors_gradient_overlay\" />\n <button\n onClick={() => setIsExpanded(true)}\n className=\"nextjs__container_errors_expand_button\"\n aria-expanded={isExpanded}\n aria-controls=\"nextjs__container_errors_desc\"\n >\n Show More\n </button>\n </>\n )}\n </div>\n )\n}\n\nexport const styles = `\n .nextjs__container_errors_wrapper {\n position: relative;\n }\n\n .nextjs__container_errors_desc {\n margin: 0;\n margin-left: 4px;\n color: var(--color-red-900);\n font-weight: 500;\n font-size: var(--size-16);\n letter-spacing: -0.32px;\n line-height: var(--size-24);\n overflow-wrap: break-word;\n white-space: pre-wrap;\n }\n\n .nextjs__container_errors_desc.truncated {\n max-height: 200px;\n overflow: hidden;\n }\n\n .nextjs__container_errors_gradient_overlay {\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n height: 85px;\n background: linear-gradient(\n 180deg,\n rgba(250, 250, 250, 0) 0%,\n var(--color-background-100) 100%\n );\n }\n\n .nextjs__container_errors_expand_button {\n position: absolute;\n bottom: 10px;\n left: 50%;\n transform: translateX(-50%);\n display: flex;\n align-items: center;\n padding: 6px 8px;\n background: var(--color-background-100);\n border: 1px solid var(--color-gray-alpha-400);\n border-radius: 999px;\n box-shadow:\n 0px 2px 2px var(--color-gray-alpha-100),\n 0px 8px 8px -8px var(--color-gray-alpha-100);\n font-size: var(--size-13);\n cursor: pointer;\n color: var(--color-gray-900);\n font-weight: 500;\n transition: background-color 0.2s ease;\n }\n\n .nextjs__container_errors_expand_button:hover {\n background: var(--color-gray-100);\n }\n`\n","export type ErrorType =\n | 'Build Error'\n | `Runtime ${string}`\n | `Console ${string}`\n | `Recoverable ${string}`\n | 'Blocking Route'\n | 'Ambiguous Metadata'\n\ntype ErrorTypeLabelProps = {\n errorType: ErrorType\n}\n\nexport function ErrorTypeLabel({ errorType }: ErrorTypeLabelProps) {\n return (\n <span\n id=\"nextjs__container_errors_label\"\n className={`nextjs__container_errors_label ${errorType === 'Blocking Route' || errorType === 'Ambiguous Metadata' ? 'nextjs__container_errors_label_blocking_page' : ''}`}\n >\n {errorType}\n </span>\n )\n}\n\nexport const styles = `\n .nextjs__container_errors_label {\n padding: 2px 6px;\n margin: 0;\n border-radius: var(--rounded-md-2);\n background: var(--color-red-100);\n font-weight: 600;\n font-size: var(--size-12);\n color: var(--color-red-900);\n font-family: var(--font-stack-monospace);\n line-height: var(--size-20);\n }\n\n .nextjs__container_errors_label_blocking_page {\n background: var(--color-blue-100);\n color: var(--color-blue-900);\n }\n`\n","export function LeftArrow({\n title,\n className,\n}: {\n title?: string\n className?: string\n}) {\n return (\n <svg\n width=\"16\"\n height=\"16\"\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-label={title}\n className={className}\n >\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M9.24996 12.0608L8.71963 11.5304L5.89641 8.70722C5.50588 8.3167 5.50588 7.68353 5.89641 7.29301L8.71963 4.46978L9.24996 3.93945L10.3106 5.00011L9.78029 5.53044L7.31062 8.00011L9.78029 10.4698L10.3106 11.0001L9.24996 12.0608Z\"\n fill=\"currentColor\"\n />\n </svg>\n )\n}\n","export function RightArrow({\n title,\n className,\n}: {\n title?: string\n className?: string\n}) {\n return (\n <svg\n width=\"16\"\n height=\"16\"\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n className={className}\n aria-label={title}\n >\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M6.75011 3.93945L7.28044 4.46978L10.1037 7.29301C10.4942 7.68353 10.4942 8.3167 10.1037 8.70722L7.28044 11.5304L6.75011 12.0608L5.68945 11.0001L6.21978 10.4698L8.68945 8.00011L6.21978 5.53044L5.68945 5.00011L6.75011 3.93945Z\"\n fill=\"currentColor\"\n />\n </svg>\n )\n}\n","import {\n startTransition,\n useCallback,\n useEffect,\n useRef,\n useState,\n} from 'react'\nimport { LeftArrow } from '../../../icons/left-arrow'\nimport { RightArrow } from '../../../icons/right-arrow'\nimport type { ReadyRuntimeError } from '../../../utils/get-error-by-type'\n\ntype ErrorPaginationProps = {\n runtimeErrors: ReadyRuntimeError[]\n activeIdx: number\n onActiveIndexChange: (index: number) => void\n}\n\nexport function ErrorOverlayPagination({\n runtimeErrors,\n activeIdx,\n onActiveIndexChange,\n}: ErrorPaginationProps) {\n const handlePrevious = useCallback(\n () =>\n startTransition(() => {\n if (activeIdx > 0) {\n onActiveIndexChange(Math.max(0, activeIdx - 1))\n }\n }),\n [activeIdx, onActiveIndexChange]\n )\n\n const handleNext = useCallback(\n () =>\n startTransition(() => {\n if (activeIdx < runtimeErrors.length - 1) {\n onActiveIndexChange(\n Math.max(0, Math.min(runtimeErrors.length - 1, activeIdx + 1))\n )\n }\n }),\n [activeIdx, runtimeErrors.length, onActiveIndexChange]\n )\n\n const buttonLeft = useRef<HTMLButtonElement | null>(null)\n const buttonRight = useRef<HTMLButtonElement | null>(null)\n\n const [nav, setNav] = useState<HTMLElement | null>(null)\n const onNav = useCallback((el: HTMLElement) => {\n setNav(el)\n }, [])\n\n useEffect(() => {\n if (nav == null) {\n return\n }\n\n const root = nav.getRootNode()\n const d = self.document\n\n function handler(e: KeyboardEvent) {\n if (e.key === 'ArrowLeft') {\n e.preventDefault()\n e.stopPropagation()\n handlePrevious && handlePrevious()\n } else if (e.key === 'ArrowRight') {\n e.preventDefault()\n e.stopPropagation()\n handleNext && handleNext()\n }\n }\n\n root.addEventListener('keydown', handler as EventListener)\n if (root !== d) {\n d.addEventListener('keydown', handler)\n }\n return function () {\n root.removeEventListener('keydown', handler as EventListener)\n if (root !== d) {\n d.removeEventListener('keydown', handler)\n }\n }\n }, [nav, handleNext, handlePrevious])\n\n // Unlock focus for browsers like Firefox, that break all user focus if the\n // currently focused item becomes disabled.\n useEffect(() => {\n if (nav == null) {\n return\n }\n\n const root = nav.getRootNode()\n // Always true, but we do this for TypeScript:\n if (root instanceof ShadowRoot) {\n const a = root.activeElement\n\n if (activeIdx === 0) {\n if (buttonLeft.current && a === buttonLeft.current) {\n buttonLeft.current.blur()\n }\n } else if (activeIdx === runtimeErrors.length - 1) {\n if (buttonRight.current && a === buttonRight.current) {\n buttonRight.current.blur()\n }\n }\n }\n }, [nav, activeIdx, runtimeErrors.length])\n\n return (\n <nav\n className=\"error-overlay-pagination dialog-exclude-closing-from-outside-click\"\n ref={onNav}\n >\n <button\n ref={buttonLeft}\n type=\"button\"\n disabled={activeIdx === 0}\n aria-disabled={activeIdx === 0}\n onClick={handlePrevious}\n data-nextjs-dialog-error-previous\n className=\"error-overlay-pagination-button\"\n >\n <LeftArrow\n title=\"previous\"\n className=\"error-overlay-pagination-button-icon\"\n />\n </button>\n <div className=\"error-overlay-pagination-count\">\n <span data-nextjs-dialog-error-index={activeIdx}>{activeIdx + 1}/</span>\n <span data-nextjs-dialog-header-total-count>\n {/* Display 1 out of 1 if there are no errors (e.g. for build errors). */}\n {runtimeErrors.length || 1}\n </span>\n </div>\n <button\n ref={buttonRight}\n type=\"button\"\n // If no errors or the last error is active, disable the button.\n disabled={activeIdx >= runtimeErrors.length - 1}\n aria-disabled={activeIdx >= runtimeErrors.length - 1}\n onClick={handleNext}\n data-nextjs-dialog-error-next\n className=\"error-overlay-pagination-button\"\n >\n <RightArrow\n title=\"next\"\n className=\"error-overlay-pagination-button-icon\"\n />\n </button>\n </nav>\n )\n}\n\nexport const styles = `\n .error-overlay-pagination {\n -webkit-font-smoothing: antialiased;\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 8px;\n width: fit-content;\n }\n\n .error-overlay-pagination-count {\n color: var(--color-gray-900);\n text-align: center;\n font-size: var(--size-14);\n font-weight: 500;\n line-height: var(--size-16);\n font-variant-numeric: tabular-nums;\n }\n\n .error-overlay-pagination-button {\n display: flex;\n justify-content: center;\n align-items: center;\n\n width: var(--size-24);\n height: var(--size-24);\n background: var(--color-gray-300);\n flex-shrink: 0;\n\n border: none;\n border-radius: var(--rounded-full);\n\n svg {\n width: var(--size-16);\n height: var(--size-16);\n }\n\n &:focus-visible {\n outline: var(--focus-ring);\n }\n\n &:not(:disabled):active {\n background: var(--color-gray-500);\n }\n\n &:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n }\n }\n\n .error-overlay-pagination-button-icon {\n color: var(--color-gray-1000);\n }\n`\n","export function EclipseIcon(props: React.SVGProps<SVGSVGElement>) {\n return (\n <svg\n width=\"14\"\n height=\"14\"\n viewBox=\"0 0 14 14\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <circle cx=\"7\" cy=\"7\" r=\"5.5\" strokeWidth=\"3\" />\n </svg>\n )\n}\n","import type { VersionInfo } from '../../../../server/dev/parse-version-info'\nimport { getStaleness } from '../../../shared/version-staleness'\nimport { cx } from '../../utils/cx'\nimport { EclipseIcon } from '../../icons/eclipse'\n\nexport function VersionStalenessInfo({\n versionInfo,\n bundlerName,\n}: {\n versionInfo: VersionInfo\n // Passed from parent for easier handling in Storybook.\n bundlerName: 'Webpack' | 'Turbopack' | 'Rspack'\n}) {\n const { staleness } = versionInfo\n let { text, indicatorClass, title } = getStaleness(versionInfo)\n\n const isTurbopack = bundlerName === 'Turbopack'\n const shouldBeLink = staleness.startsWith('stale')\n if (shouldBeLink) {\n return (\n <a\n className=\"nextjs-container-build-error-version-status dialog-exclude-closing-from-outside-click\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n href=\"https://nextjs.org/docs/messages/version-staleness\"\n >\n <EclipseIcon\n className={cx('version-staleness-indicator', indicatorClass)}\n />\n <span data-nextjs-version-checker title={title}>\n {text}\n </span>\n <span className={cx(isTurbopack && 'turbopack-text')}>\n {bundlerName}\n </span>\n </a>\n )\n }\n\n return (\n <span className=\"nextjs-container-build-error-version-status dialog-exclude-closing-from-outside-click\">\n <EclipseIcon\n className={cx('version-staleness-indicator', indicatorClass)}\n />\n <span data-nextjs-version-checker title={title}>\n {text}\n </span>\n <span className={cx(isTurbopack && 'turbopack-text')}>{bundlerName}</span>\n </span>\n )\n}\n\nexport const styles = `\n .nextjs-container-build-error-version-status {\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 4px;\n\n height: var(--size-26);\n padding: 6px 8px 6px 6px;\n background: var(--color-background-100);\n background-clip: padding-box;\n border: 1px solid var(--color-gray-alpha-400);\n box-shadow: var(--shadow-small);\n border-radius: var(--rounded-full);\n\n color: var(--color-gray-900);\n font-size: var(--size-12);\n font-weight: 500;\n line-height: var(--size-16);\n }\n\n a.nextjs-container-build-error-version-status {\n text-decoration: none;\n color: var(--color-gray-900);\n\n &:hover {\n background: var(--color-gray-100);\n }\n\n &:focus {\n outline: var(--focus-ring);\n }\n }\n\n .version-staleness-indicator.fresh {\n fill: var(--color-green-800);\n stroke: var(--color-green-300);\n }\n .version-staleness-indicator.stale {\n fill: var(--color-amber-800);\n stroke: var(--color-amber-300);\n }\n .version-staleness-indicator.outdated {\n fill: var(--color-red-800);\n stroke: var(--color-red-300);\n }\n .version-staleness-indicator.unknown {\n fill: var(--color-gray-800);\n stroke: var(--color-gray-300);\n }\n\n .nextjs-container-build-error-version-status > .turbopack-text {\n background: linear-gradient(\n to right,\n var(--color-turbopack-text-red) 0%,\n var(--color-turbopack-text-blue) 100%\n );\n background-clip: text;\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n }\n`\n","import type { VersionInfo } from '../../server/dev/parse-version-info'\n\nexport function getStaleness({ installed, staleness, expected }: VersionInfo) {\n let text = ''\n let title = ''\n let indicatorClass = ''\n const versionLabel = `Next.js ${installed}`\n switch (staleness) {\n case 'newer-than-npm':\n case 'fresh':\n text = versionLabel\n title = `Latest available version is detected (${installed}).`\n indicatorClass = 'fresh'\n break\n case 'stale-patch':\n case 'stale-minor':\n text = `${versionLabel} (stale)`\n title = `There is a newer version (${expected}) available, upgrade recommended! `\n indicatorClass = 'stale'\n break\n case 'stale-major': {\n text = `${versionLabel} (outdated)`\n title = `An outdated version detected (latest is ${expected}), upgrade is highly recommended!`\n indicatorClass = 'outdated'\n break\n }\n case 'stale-prerelease': {\n text = `${versionLabel} (stale)`\n title = `There is a newer canary version (${expected}) available, please upgrade! `\n indicatorClass = 'stale'\n break\n }\n case 'unknown':\n text = `${versionLabel} (unknown)`\n title = 'No Next.js version data was found.'\n indicatorClass = 'unknown'\n break\n default:\n break\n }\n return { text, indicatorClass, title }\n}\n","import type { VersionInfo } from '../../../../../server/dev/parse-version-info'\n\nimport { ErrorOverlayPagination } from '../error-overlay-pagination/error-overlay-pagination'\nimport { VersionStalenessInfo } from '../../version-staleness-info/version-staleness-info'\nimport type { ReadyRuntimeError } from '../../../utils/get-error-by-type'\n\ntype ErrorOverlayNavProps = {\n runtimeErrors?: ReadyRuntimeError[]\n activeIdx?: number\n setActiveIndex?: (index: number) => void\n versionInfo?: VersionInfo\n isTurbopack?: boolean\n}\n\nexport function ErrorOverlayNav({\n runtimeErrors,\n activeIdx,\n setActiveIndex,\n versionInfo,\n}: ErrorOverlayNavProps) {\n const bundlerName = (process.env.__NEXT_BUNDLER || 'Turbopack') as\n | 'Turbopack'\n | 'Webpack'\n | 'Rspack'\n\n return (\n <div data-nextjs-error-overlay-nav>\n <Notch side=\"left\">\n {/* TODO: better passing data instead of nullish coalescing */}\n <ErrorOverlayPagination\n runtimeErrors={runtimeErrors ?? []}\n activeIdx={activeIdx ?? 0}\n onActiveIndexChange={setActiveIndex ?? (() => {})}\n />\n </Notch>\n {versionInfo && (\n <Notch side=\"right\">\n <VersionStalenessInfo\n versionInfo={versionInfo}\n bundlerName={bundlerName}\n />\n </Notch>\n )}\n </div>\n )\n}\n\nexport const styles = `\n [data-nextjs-error-overlay-nav] {\n --stroke-color: var(--color-gray-400);\n --background-color: var(--color-background-100);\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n width: 100%;\n\n position: relative;\n z-index: 2;\n outline: none;\n translate: var(--next-dialog-border-width) var(--next-dialog-border-width);\n max-width: var(--next-dialog-max-width);\n\n .error-overlay-notch {\n translate: calc(var(--next-dialog-border-width) * -1);\n width: auto;\n height: var(--next-dialog-notch-height);\n padding: 12px;\n background: var(--background-color);\n border: var(--next-dialog-border-width) solid var(--stroke-color);\n border-bottom: none;\n position: relative;\n\n &[data-side='left'] {\n padding-right: 0;\n border-radius: var(--next-dialog-radius) 0 0 0;\n\n .error-overlay-notch-tail {\n right: -54px;\n }\n\n > *:not(.error-overlay-notch-tail) {\n margin-right: -10px;\n }\n }\n\n &[data-side='right'] {\n padding-left: 0;\n border-radius: 0 var(--next-dialog-radius) 0 0;\n\n .error-overlay-notch-tail {\n left: -54px;\n transform: rotateY(180deg);\n }\n\n > *:not(.error-overlay-notch-tail) {\n margin-left: -12px;\n }\n }\n\n .error-overlay-notch-tail {\n position: absolute;\n top: calc(var(--next-dialog-border-width) * -1);\n pointer-events: none;\n z-index: -1;\n height: calc(100% + var(--next-dialog-border-width));\n }\n }\n }\n\n @media (max-width: 600px) {\n [data-nextjs-error-overlay-nav] {\n background: var(--background-color);\n border-radius: var(--next-dialog-radius) var(--next-dialog-radius) 0 0;\n border: var(--next-dialog-border-width) solid var(--stroke-color);\n border-bottom: none;\n overflow: hidden;\n translate: 0 var(--next-dialog-border-width);\n \n .error-overlay-notch {\n border-radius: 0;\n border: 0;\n\n &[data-side=\"left\"], &[data-side=\"right\"] {\n border-radius: 0;\n }\n\n .error-overlay-notch-tail {\n display: none;\n }\n }\n }\n }\n`\n\nfunction Notch({\n children,\n side = 'left',\n}: {\n children: React.ReactNode\n side?: 'left' | 'right'\n}) {\n return (\n <div className=\"error-overlay-notch\" data-side={side}>\n {children}\n <Tail />\n </div>\n )\n}\n\nfunction Tail() {\n return (\n <svg\n width=\"60\"\n height=\"42\"\n viewBox=\"0 0 60 42\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n className=\"error-overlay-notch-tail\"\n preserveAspectRatio=\"none\"\n >\n <mask\n id=\"error_overlay_nav_mask0_2667_14687\"\n style={{\n maskType: 'alpha',\n }}\n maskUnits=\"userSpaceOnUse\"\n x=\"0\"\n y=\"-1\"\n width=\"60\"\n height=\"43\"\n >\n <mask\n id=\"error_overlay_nav_path_1_outside_1_2667_14687\"\n maskUnits=\"userSpaceOnUse\"\n x=\"0\"\n y=\"-1\"\n width=\"60\"\n height=\"43\"\n fill=\"black\"\n >\n <rect fill=\"white\" y=\"-1\" width=\"60\" height=\"43\" />\n <path d=\"M1 0L8.0783 0C15.772 0 22.7836 4.41324 26.111 11.3501L34.8889 29.6498C38.2164 36.5868 45.228 41 52.9217 41H60H1L1 0Z\" />\n </mask>\n <path\n d=\"M1 0L8.0783 0C15.772 0 22.7836 4.41324 26.111 11.3501L34.8889 29.6498C38.2164 36.5868 45.228 41 52.9217 41H60H1L1 0Z\"\n fill=\"white\"\n />\n <path\n d=\"M1 0V-1H0V0L1 0ZM1 41H0V42H1V41ZM34.8889 29.6498L33.9873 30.0823L34.8889 29.6498ZM26.111 11.3501L27.0127 10.9177L26.111 11.3501ZM1 1H8.0783V-1H1V1ZM60 40H1V42H60V40ZM2 41V0L0 0L0 41H2ZM25.2094 11.7826L33.9873 30.0823L35.7906 29.2174L27.0127 10.9177L25.2094 11.7826ZM52.9217 42H60V40H52.9217V42ZM33.9873 30.0823C37.4811 37.3661 44.8433 42 52.9217 42V40C45.6127 40 38.9517 35.8074 35.7906 29.2174L33.9873 30.0823ZM8.0783 1C15.3873 1 22.0483 5.19257 25.2094 11.7826L27.0127 10.9177C23.5188 3.6339 16.1567 -1 8.0783 -1V1Z\"\n fill=\"black\"\n mask=\"url(#error_overlay_nav_path_1_outside_1_2667_14687)\"\n />\n </mask>\n <g mask=\"url(#error_overlay_nav_mask0_2667_14687)\">\n <mask\n id=\"error_overlay_nav_path_3_outside_2_2667_14687\"\n maskUnits=\"userSpaceOnUse\"\n x=\"-1\"\n y=\"0.0244141\"\n width=\"60\"\n height=\"43\"\n fill=\"black\"\n >\n <rect fill=\"white\" x=\"-1\" y=\"0.0244141\" width=\"60\" height=\"43\" />\n <path d=\"M0 1.02441H7.0783C14.772 1.02441 21.7836 5.43765 25.111 12.3746L33.8889 30.6743C37.2164 37.6112 44.228 42.0244 51.9217 42.0244H59H0L0 1.02441Z\" />\n </mask>\n <path\n d=\"M0 1.02441H7.0783C14.772 1.02441 21.7836 5.43765 25.111 12.3746L33.8889 30.6743C37.2164 37.6112 44.228 42.0244 51.9217 42.0244H59H0L0 1.02441Z\"\n fill=\"var(--background-color)\"\n />\n <path\n d=\"M0 1.02441L0 0.0244141H-1V1.02441H0ZM0 42.0244H-1V43.0244H0L0 42.0244ZM33.8889 30.6743L32.9873 31.1068L33.8889 30.6743ZM25.111 12.3746L26.0127 11.9421L25.111 12.3746ZM0 2.02441H7.0783V0.0244141H0L0 2.02441ZM59 41.0244H0L0 43.0244H59V41.0244ZM1 42.0244L1 1.02441H-1L-1 42.0244H1ZM24.2094 12.8071L32.9873 31.1068L34.7906 30.2418L26.0127 11.9421L24.2094 12.8071ZM51.9217 43.0244H59V41.0244H51.9217V43.0244ZM32.9873 31.1068C36.4811 38.3905 43.8433 43.0244 51.9217 43.0244V41.0244C44.6127 41.0244 37.9517 36.8318 34.7906 30.2418L32.9873 31.1068ZM7.0783 2.02441C14.3873 2.02441 21.0483 6.21699 24.2094 12.8071L26.0127 11.9421C22.5188 4.65831 15.1567 0.0244141 7.0783 0.0244141V2.02441Z\"\n fill=\"var(--stroke-color)\"\n mask=\"url(#error_overlay_nav_path_3_outside_2_2667_14687)\"\n />\n </g>\n </svg>\n )\n}\n","import * as React from 'react'\nimport { useOnClickOutside } from '../../hooks/use-on-click-outside'\n\ntype DialogProps = {\n children?: React.ReactNode\n 'aria-labelledby': string\n 'aria-describedby': string\n className?: string\n onClose?: () => void\n} & React.HTMLAttributes<HTMLDivElement>\n\nconst CSS_SELECTORS_TO_EXCLUDE_ON_CLICK_OUTSIDE = [\n '[data-next-mark]',\n '[data-issues-open]',\n '#nextjs-dev-tools-menu',\n '[data-nextjs-error-overlay-nav]',\n '[data-info-popover]',\n '[data-nextjs-devtools-panel-overlay]',\n '[data-nextjs-devtools-panel-footer]',\n '[data-nextjs-error-overlay-footer]',\n]\n\nconst Dialog: React.FC<DialogProps> = function Dialog({\n children,\n className,\n onClose,\n 'aria-labelledby': ariaLabelledBy,\n 'aria-describedby': ariaDescribedBy,\n ...props\n}) {\n const dialogRef = React.useRef<HTMLDivElement | null>(null)\n // TODO: Document is an external store. Either use useSyncExternalStore or always set the role.\n const [role, setRole] = React.useState<string | undefined>(\n typeof document !== 'undefined' && document.hasFocus()\n ? 'dialog'\n : undefined\n )\n\n useOnClickOutside(\n dialogRef,\n CSS_SELECTORS_TO_EXCLUDE_ON_CLICK_OUTSIDE,\n (e) => {\n e.preventDefault()\n return onClose?.()\n }\n )\n\n React.useEffect(() => {\n if (dialogRef.current == null) {\n return\n }\n\n function handleFocus() {\n // safari will force itself as the active application when a background page triggers any sort of autofocus\n // this is a workaround to only set the dialog role if the document has focus\n setRole(document.hasFocus() ? 'dialog' : undefined)\n }\n\n window.addEventListener('focus', handleFocus)\n window.addEventListener('blur', handleFocus)\n return () => {\n window.removeEventListener('focus', handleFocus)\n window.removeEventListener('blur', handleFocus)\n }\n }, [])\n\n React.useEffect(() => {\n const dialog = dialogRef.current\n const root = dialog?.getRootNode()\n const initialActiveElement =\n root instanceof ShadowRoot ? (root?.activeElement as HTMLElement) : null\n\n // Trap focus within the dialog\n dialog?.focus()\n\n return () => {\n // Blur first to avoid getting stuck, in case `activeElement` is missing\n dialog?.blur()\n // Restore focus to the previously active element\n initialActiveElement?.focus()\n }\n }, [])\n\n return (\n <div\n ref={dialogRef}\n tabIndex={-1}\n data-nextjs-dialog\n data-nextjs-scrollable-content\n role={role}\n aria-labelledby={ariaLabelledBy}\n aria-describedby={ariaDescribedBy}\n aria-modal=\"true\"\n className={className}\n onKeyDown={(e) => {\n if (e.key === 'Escape') {\n onClose?.()\n }\n }}\n {...props}\n >\n {children}\n </div>\n )\n}\n\nexport { Dialog }\n","import * as React from 'react'\n\nexport function useOnClickOutside(\n el: Node | React.RefObject<Node | null> | null,\n cssSelectorsToExclude: string[],\n handler: ((e: MouseEvent | TouchEvent) => void) | undefined\n) {\n React.useEffect(() => {\n // Support both direct nodes and ref objects\n const element = el && 'current' in el ? el.current : el\n if (element == null || handler == null) {\n return\n }\n\n const listener = (e: MouseEvent | TouchEvent) => {\n // Do nothing if clicking ref's element or descendent elements\n if (!element || element.contains(e.target as Element)) {\n return\n }\n\n if (\n // Do nothing if clicking on an element that is excluded by the CSS selector(s)\n cssSelectorsToExclude.some((cssSelector) =>\n (e.target as Element).closest(cssSelector)\n )\n ) {\n return\n }\n\n handler(e)\n }\n\n const root = element.getRootNode()\n root.addEventListener('mouseup', listener as EventListener)\n root.addEventListener('touchend', listener as EventListener, {\n passive: false,\n })\n return function () {\n root.removeEventListener('mouseup', listener as EventListener)\n root.removeEventListener('touchend', listener as EventListener)\n }\n }, [handler, el, cssSelectorsToExclude])\n}\n","import { Dialog } from '../../dialog/dialog'\n\ntype ErrorOverlayDialogProps = {\n children?: React.ReactNode\n onClose?: () => void\n footer?: React.ReactNode\n} & React.HTMLAttributes<HTMLDivElement>\n\nexport function ErrorOverlayDialog({\n children,\n onClose,\n footer,\n ...props\n}: ErrorOverlayDialogProps) {\n return (\n <div className=\"error-overlay-dialog-container\">\n <Dialog\n aria-labelledby=\"nextjs__container_errors_label\"\n aria-describedby=\"nextjs__container_errors_desc\"\n className=\"error-overlay-dialog-scroll\"\n onClose={onClose}\n {...props}\n >\n {children}\n </Dialog>\n {footer}\n </div>\n )\n}\n\nexport const DIALOG_STYLES = `\n .error-overlay-dialog-container {\n display: flex;\n flex-direction: column;\n background: var(--color-background-100);\n background-clip: padding-box;\n border: var(--next-dialog-border-width) solid var(--color-gray-400);\n border-radius: 0 0 var(--next-dialog-radius) var(--next-dialog-radius);\n box-shadow: var(--shadow-menu);\n position: relative;\n overflow: hidden;\n }\n\n .error-overlay-dialog-scroll {\n overflow-y: auto;\n height: 100%;\n }\n`\n","type DialogHeaderProps = React.HTMLAttributes<HTMLDivElement>\n\nexport function DialogHeader(props: DialogHeaderProps) {\n return (\n <div data-nextjs-dialog-header {...props}>\n {props.children}\n </div>\n )\n}\n","import { DialogHeader } from '../../dialog/dialog-header'\n\ntype ErrorOverlayDialogHeaderProps = {\n children?: React.ReactNode\n}\n\nexport function ErrorOverlayDialogHeader({\n children,\n}: ErrorOverlayDialogHeaderProps) {\n return (\n <DialogHeader className=\"nextjs-container-errors-header\">\n {children}\n </DialogHeader>\n )\n}\n\nexport const DIALOG_HEADER_STYLES = `\n .nextjs-container-errors-header {\n position: relative;\n }\n .nextjs-container-errors-header > h1 {\n font-size: var(--size-20);\n line-height: var(--size-24);\n font-weight: bold;\n margin: calc(16px * 1.5) 0;\n color: var(--color-title-h1);\n }\n .nextjs-container-errors-header small {\n font-size: var(--size-14);\n color: var(--color-accents-1);\n margin-left: 16px;\n }\n .nextjs-container-errors-header small > span {\n font-family: var(--font-stack-monospace);\n }\n .nextjs-container-errors-header > div > small {\n margin: 0;\n margin-top: 4px;\n }\n .nextjs-container-errors-header > p > a {\n color: inherit;\n font-weight: bold;\n }\n .nextjs-container-errors-header\n > .nextjs-container-build-error-version-status {\n position: absolute;\n top: 16px;\n right: 16px;\n }\n`\n","import { DialogBody } from '../../dialog'\n\ntype ErrorOverlayDialogBodyProps = {\n children?: React.ReactNode\n onClose?: () => void\n}\n\nexport function ErrorOverlayDialogBody({\n children,\n}: ErrorOverlayDialogBodyProps) {\n return (\n <DialogBody className=\"nextjs-container-errors-body\">{children}</DialogBody>\n )\n}\n\nexport const DIALOG_BODY_STYLES = ``\n","import * as React from 'react'\nimport { lock, unlock } from './body-locker'\n\nexport type OverlayProps = React.HTMLAttributes<HTMLDivElement> & {\n fixed?: boolean\n ref?: React.Ref<HTMLDivElement>\n}\n\nconst Overlay: React.FC<OverlayProps> = function Overlay({\n className,\n children,\n ...props\n}) {\n React.useEffect(() => {\n lock()\n return () => {\n unlock()\n }\n }, [])\n\n return (\n <div data-nextjs-dialog-overlay className={className} {...props}>\n {children}\n </div>\n )\n}\n\nexport { Overlay }\n","import { css } from '../../../utils/css'\nimport { Overlay, type OverlayProps } from '../../overlay/overlay'\n\nexport function ErrorOverlayOverlay({ children, ...props }: OverlayProps) {\n return <Overlay {...props}>{children}</Overlay>\n}\n\nexport const OVERLAY_STYLES = css`\n [data-nextjs-dialog-overlay] {\n padding: initial;\n top: 10vh;\n }\n`\n","export function ErrorOverlayBottomStack({\n errorCount,\n activeIdx,\n}: {\n errorCount: number\n activeIdx: number\n}) {\n // If there are more than 2 errors to navigate, the stack count should remain at 2.\n const stackCount = Math.min(errorCount - activeIdx - 1, 2)\n return (\n <div aria-hidden className=\"error-overlay-bottom-stack\">\n <div\n className=\"error-overlay-bottom-stack-stack\"\n data-stack-count={stackCount}\n >\n <div className=\"error-overlay-bottom-stack-layer error-overlay-bottom-stack-layer-1\">\n 1\n </div>\n <div className=\"error-overlay-bottom-stack-layer error-overlay-bottom-stack-layer-2\">\n 2\n </div>\n </div>\n </div>\n )\n}\n\nexport const styles = `\n .error-overlay-bottom-stack-layer {\n width: 100%;\n height: var(--stack-layer-height);\n position: relative;\n border: 1px solid var(--color-gray-400);\n border-radius: var(--rounded-xl);\n background: var(--color-background-200);\n transition:\n translate 350ms var(--timing-swift),\n box-shadow 350ms var(--timing-swift);\n }\n\n .error-overlay-bottom-stack-layer-1 {\n width: calc(100% - var(--size-24));\n }\n\n .error-overlay-bottom-stack-layer-2 {\n width: calc(100% - var(--size-48));\n z-index: -1;\n }\n\n .error-overlay-bottom-stack {\n width: 100%;\n position: absolute;\n bottom: -1px;\n height: 0;\n overflow: visible;\n }\n\n .error-overlay-bottom-stack-stack {\n --stack-layer-height: 44px;\n --stack-layer-height-half: calc(var(--stack-layer-height) / 2);\n --stack-layer-trim: 13px;\n --shadow: 0px 0.925px 0.925px 0px rgba(0, 0, 0, 0.02),\n 0px 3.7px 7.4px -3.7px rgba(0, 0, 0, 0.04),\n 0px 14.8px 22.2px -7.4px rgba(0, 0, 0, 0.06);\n\n display: grid;\n place-items: center center;\n width: 100%;\n position: fixed;\n height: 0;\n overflow: visible;\n z-index: -1;\n max-width: var(--next-dialog-max-width);\n\n .error-overlay-bottom-stack-layer {\n grid-area: 1 / 1;\n /* Hide */\n translate: 0 calc(var(--stack-layer-height) * -1);\n }\n\n &[data-stack-count='1'],\n &[data-stack-count='2'] {\n .error-overlay-bottom-stack-layer-1 {\n translate: 0\n calc(var(--stack-layer-height-half) * -1 - var(--stack-layer-trim));\n }\n }\n\n &[data-stack-count='2'] {\n .error-overlay-bottom-stack-layer-2 {\n translate: 0 calc(var(--stack-layer-trim) * -1 * 2);\n }\n }\n\n /* Only the bottom stack should have the shadow */\n &[data-stack-count='1'] .error-overlay-bottom-stack-layer-1 {\n box-shadow: var(--shadow);\n }\n\n &[data-stack-count='2'] {\n .error-overlay-bottom-stack-layer-2 {\n box-shadow: var(--shadow);\n }\n }\n }\n`\n","export function EnvironmentNameLabel({\n environmentName,\n}: {\n environmentName: string\n}) {\n return <span data-nextjs-environment-name-label>{environmentName}</span>\n}\n\nexport const ENVIRONMENT_NAME_LABEL_STYLES = `\n [data-nextjs-environment-name-label] {\n padding: 2px 6px;\n margin: 0;\n border-radius: var(--rounded-md-2);\n background: var(--color-gray-100);\n font-weight: 600;\n font-size: var(--size-12);\n color: var(--color-gray-900);\n font-family: var(--font-stack-monospace);\n line-height: var(--size-20);\n }\n`\n","import { useEffect, useEffectEvent } from 'react'\n\nexport function useFocusTrap(\n rootRef: React.RefObject<HTMLElement | null>,\n triggerRef: React.RefObject<HTMLButtonElement | null> | null,\n active: boolean,\n onOpenFocus?: () => void\n) {\n const fireOpenFocus = useEffectEvent((rootNode: HTMLElement | null) => {\n if (onOpenFocus) {\n onOpenFocus()\n } else {\n rootNode?.focus()\n }\n })\n useEffect(() => {\n let rootNode: HTMLElement | null = null\n\n function onTab(e: KeyboardEvent) {\n if (e.key !== 'Tab' || rootNode === null) {\n return\n }\n\n const [firstFocusableNode, lastFocusableNode] =\n getFocusableNodes(rootNode)\n const activeElement = getActiveElement(rootNode)\n\n if (e.shiftKey) {\n if (activeElement === firstFocusableNode) {\n lastFocusableNode?.focus()\n e.preventDefault()\n }\n } else {\n if (activeElement === lastFocusableNode) {\n firstFocusableNode?.focus()\n e.preventDefault()\n }\n }\n }\n\n const id = setTimeout(() => {\n // Grab this on next tick to ensure the content is mounted\n rootNode = rootRef.current\n if (active) {\n fireOpenFocus(rootNode)\n rootNode?.addEventListener('keydown', onTab)\n } else {\n const activeElement = getActiveElement(rootNode)\n // Only restore focus if the focus was previously on the content.\n // This avoids us accidentally focusing on mount when the\n // user could want to interact with their own app instead.\n if (triggerRef && rootNode?.contains(activeElement)) {\n triggerRef.current?.focus()\n }\n }\n })\n\n return () => {\n clearTimeout(id)\n rootNode?.removeEventListener('keydown', onTab)\n }\n }, [active, rootRef, triggerRef])\n}\n\nexport function getActiveElement(node: HTMLElement | null) {\n const root = node?.getRootNode()\n return root instanceof ShadowRoot\n ? (root?.activeElement as HTMLElement)\n : null\n}\n\nfunction getFocusableNodes(node: HTMLElement): [HTMLElement, HTMLElement] | [] {\n const focusableElements = node.querySelectorAll(\n 'button, [href], input, select, textarea, [tabindex]:not([tabindex=\"-1\"])'\n )\n if (!focusableElements) return []\n return [\n focusableElements![0] as HTMLElement,\n focusableElements![focusableElements!.length - 1] as HTMLElement,\n ]\n}\n\n//////////////////////////////////////////////////////////////////////////////////////\n\n// TODO: split up escape and click outside logic\nexport function useClickOutsideAndEscape(\n rootRef: React.RefObject<HTMLElement | null>,\n triggerRef: React.RefObject<HTMLButtonElement | null>,\n active: boolean,\n close: (reason: 'escape' | 'outside') => void,\n ownerDocument?: Document\n) {\n useEffect(() => {\n if (!active) {\n return\n }\n\n const ownerDocumentEl = ownerDocument || rootRef.current?.ownerDocument\n\n function handleClickOutside(event: MouseEvent) {\n const target = event.target as HTMLElement\n if (rootRef.current && rootRef.current.contains(target)) {\n return\n }\n\n const cushion = 10\n\n if (\n !(rootRef.current?.getBoundingClientRect()\n ? event.clientX >=\n rootRef.current.getBoundingClientRect()!.left - cushion &&\n event.clientX <=\n rootRef.current.getBoundingClientRect()!.right + cushion &&\n event.clientY >=\n rootRef.current.getBoundingClientRect()!.top - cushion &&\n event.clientY <=\n rootRef.current.getBoundingClientRect()!.bottom + cushion\n : false) &&\n !(triggerRef.current?.getBoundingClientRect()\n ? event.clientX >=\n triggerRef.current.getBoundingClientRect()!.left - cushion &&\n event.clientX <=\n triggerRef.current.getBoundingClientRect()!.right + cushion &&\n event.clientY >=\n triggerRef.current.getBoundingClientRect()!.top - cushion &&\n event.clientY <=\n triggerRef.current.getBoundingClientRect()!.bottom + cushion\n : false)\n ) {\n close('outside')\n }\n }\n\n function handleKeyDown(event: KeyboardEvent) {\n if (event.key === 'Escape') {\n close('escape')\n }\n }\n\n ownerDocumentEl?.addEventListener('mousedown', handleClickOutside)\n\n ownerDocumentEl?.addEventListener('keydown', handleKeyDown)\n\n return () => {\n ownerDocumentEl?.removeEventListener('mousedown', handleClickOutside)\n ownerDocumentEl?.removeEventListener('keydown', handleKeyDown)\n }\n }, [active, close, ownerDocument, rootRef, triggerRef])\n}\n\n//////////////////////////////////////////////////////////////////////////////////////\n\nexport const MENU_DURATION_MS = 200\nexport const MENU_CURVE = 'cubic-bezier(0.175, 0.885, 0.32, 1.1)'\n","import { type CSSProperties, type Ref, forwardRef } from 'react'\n\nexport const Fader = forwardRef(function Fader(\n {\n stop,\n blur,\n side,\n style,\n height,\n }: {\n stop?: string\n blur?: string\n height?: number\n side: 'top' | 'bottom' | 'left' | 'right'\n className?: string\n style?: CSSProperties\n },\n ref: Ref<HTMLDivElement>\n) {\n return (\n <div\n ref={ref}\n aria-hidden\n data-nextjs-scroll-fader\n className=\"nextjs-scroll-fader\"\n data-side={side}\n style={\n {\n '--stop': stop,\n '--blur': blur,\n '--height': `${height}px`,\n ...style,\n } as React.CSSProperties\n }\n />\n )\n})\n\nexport const FADER_STYLES = `\n .nextjs-scroll-fader {\n --blur: 1px;\n --stop: 25%;\n --height: 150px;\n --color-bg: var(--color-background-100);\n position: absolute;\n pointer-events: none;\n user-select: none;\n width: 100%;\n height: var(--height);\n left: 0;\n backdrop-filter: blur(var(--blur));\n\n &[data-side=\"top\"] {\n top: 0;\n background: linear-gradient(to top, transparent, var(--color-bg));\n mask-image: linear-gradient(to bottom, var(--color-bg) var(--stop), transparent);\n }\n }\n`\n","import { forwardRef, useEffect, useState } from 'react'\n\nexport const Resizer = forwardRef(function Resizer(\n {\n children,\n measure,\n ...props\n }: {\n children: React.ReactNode\n measure: boolean\n } & React.HTMLProps<HTMLDivElement>,\n resizerRef: React.Ref<HTMLDivElement | null>\n) {\n const [element, setElement] = useState<HTMLDivElement | null>(null)\n const [height, measuring] = useMeasureHeight(element, measure)\n\n return (\n <div\n {...props}\n ref={resizerRef}\n // [x] Don't animate on initial load\n // [x] No duplicate elements\n // [x] Responds to content growth\n style={{\n height: measuring ? 'auto' : height,\n transition: 'height 250ms var(--timing-swift)',\n }}\n >\n <div ref={setElement}>{children}</div>\n </div>\n )\n})\n\nfunction useMeasureHeight(\n element: HTMLDivElement | null,\n measure: boolean\n): [number, boolean] {\n const [height, setHeight] = useState<number>(0)\n const [measuring, setMeasuring] = useState<boolean>(true)\n\n useEffect(() => {\n if (!measure) {\n return\n }\n\n let timerId: number\n\n if (!element) {\n return\n }\n\n const observer = new ResizeObserver(([{ contentRect }]) => {\n clearTimeout(timerId)\n\n timerId = window.setTimeout(() => {\n setMeasuring(false)\n }, 100)\n\n setHeight(contentRect.height)\n })\n\n observer.observe(element)\n return () => observer.disconnect()\n }, [measure, element])\n\n return [height, measuring]\n}\n","type OverlayBackdropProps = {\n fixed?: boolean\n} & React.HTMLAttributes<HTMLDivElement>\n\nexport function OverlayBackdrop({ fixed, ...props }: OverlayBackdropProps) {\n return (\n <div\n data-nextjs-dialog-backdrop\n data-nextjs-dialog-backdrop-fixed={fixed ? true : undefined}\n {...props}\n />\n )\n}\n","import * as React from 'react'\nimport type { DebugInfo } from '../../../../shared/types'\nimport type { ErrorMessageType } from '../error-message/error-message'\nimport type { ErrorType } from '../error-type-label/error-type-label'\n\nimport { DialogContent } from '../../dialog'\nimport {\n ErrorOverlayToolbar,\n styles as toolbarStyles,\n} from '../error-overlay-toolbar/error-overlay-toolbar'\nimport { ErrorOverlayFooter } from '../error-overlay-footer/error-overlay-footer'\nimport {\n ErrorMessage,\n styles as errorMessageStyles,\n} from '../error-message/error-message'\nimport {\n ErrorTypeLabel,\n styles as errorTypeLabelStyles,\n} from '../error-type-label/error-type-label'\nimport {\n ErrorOverlayNav,\n styles as floatingHeaderStyles,\n} from '../error-overlay-nav/error-overlay-nav'\n\nimport { ErrorOverlayDialog, DIALOG_STYLES } from '../dialog/dialog'\nimport {\n ErrorOverlayDialogHeader,\n DIALOG_HEADER_STYLES,\n} from '../dialog/header'\nimport { ErrorOverlayDialogBody, DIALOG_BODY_STYLES } from '../dialog/body'\nimport { OVERLAY_STYLES, ErrorOverlayOverlay } from '../overlay/overlay'\nimport { ErrorOverlayBottomStack } from '../error-overlay-bottom-stack'\nimport type { ErrorBaseProps } from '../error-overlay/error-overlay'\nimport type { ReadyRuntimeError } from '../../../utils/get-error-by-type'\nimport { EnvironmentNameLabel } from '../environment-name-label/environment-name-label'\nimport { useFocusTrap } from '../dev-tools-indicator/utils'\nimport { Fader } from '../../fader'\nimport { Resizer } from '../../resizer'\nimport { OverlayBackdrop } from '../../overlay'\n\nexport interface ErrorOverlayLayoutProps extends ErrorBaseProps {\n errorMessage: ErrorMessageType\n errorType: ErrorType\n children?: React.ReactNode\n errorCode?: string\n error: ReadyRuntimeError['error']\n debugInfo?: DebugInfo\n isBuildError?: boolean\n onClose?: () => void\n // TODO: better handle receiving\n runtimeErrors?: ReadyRuntimeError[]\n activeIdx?: number\n setActiveIndex?: (index: number) => void\n dialogResizerRef?: React.RefObject<HTMLDivElement | null>\n generateErrorInfo: () => string\n}\n\nexport function ErrorOverlayLayout({\n errorMessage,\n errorType,\n children,\n errorCode,\n errorCount,\n error,\n debugInfo,\n isBuildError,\n onClose,\n versionInfo,\n runtimeErrors,\n activeIdx,\n setActiveIndex,\n isTurbopack,\n dialogResizerRef,\n generateErrorInfo,\n // This prop is used to animate the dialog, it comes from a parent component (<ErrorOverlay>)\n // If it's not being passed, we should just render the component as it is being\n // used without the context of a parent component that controls its state (e.g. Storybook).\n rendered = true,\n transitionDurationMs,\n}: ErrorOverlayLayoutProps) {\n const animationProps = {\n 'data-rendered': rendered,\n style: {\n '--transition-duration': `${transitionDurationMs}ms`,\n } as React.CSSProperties,\n }\n\n const [animating, setAnimating] = React.useState(\n Boolean(transitionDurationMs)\n )\n\n const faderRef = React.useRef<HTMLDivElement | null>(null)\n const hasFooter = Boolean(errorCode)\n const dialogRef = React.useRef<HTMLDivElement | null>(null)\n useFocusTrap(dialogRef, null, rendered)\n\n function onScroll(e: React.UIEvent<HTMLDivElement>) {\n if (faderRef.current) {\n const opacity = clamp(e.currentTarget.scrollTop / 17, [0, 1])\n faderRef.current.style.opacity = String(opacity)\n }\n }\n\n function onTransitionEnd({ propertyName, target }: React.TransitionEvent) {\n // We can only measure height after the `scale` transition ends,\n // otherwise we will measure height as a multiple of the animating value\n // which will give us an incorrect value.\n if (propertyName === 'scale' && target === dialogRef.current) {\n setAnimating(false)\n }\n }\n\n return (\n <ErrorOverlayOverlay {...animationProps}>\n <OverlayBackdrop fixed={isBuildError} />\n <div\n data-nextjs-dialog-root\n onTransitionEnd={onTransitionEnd}\n ref={dialogRef}\n {...animationProps}\n >\n <ErrorOverlayNav\n runtimeErrors={runtimeErrors}\n activeIdx={activeIdx}\n setActiveIndex={setActiveIndex}\n versionInfo={versionInfo}\n isTurbopack={isTurbopack}\n />\n <ErrorOverlayDialog\n onClose={onClose}\n data-has-footer={hasFooter}\n onScroll={onScroll}\n footer={hasFooter && <ErrorOverlayFooter errorCode={errorCode} />}\n >\n <Resizer\n ref={dialogResizerRef}\n measure={!animating}\n data-nextjs-dialog-sizer\n >\n <DialogContent>\n <ErrorOverlayDialogHeader>\n <div\n className=\"nextjs__container_errors__error_title\"\n // allow assertion in tests before error rating is implemented\n data-nextjs-error-code={errorCode}\n >\n <span data-nextjs-error-label-group>\n <ErrorTypeLabel errorType={errorType} />\n {error.environmentName && (\n <EnvironmentNameLabel\n environmentName={error.environmentName}\n />\n )}\n </span>\n <ErrorOverlayToolbar\n error={error}\n debugInfo={debugInfo}\n generateErrorInfo={generateErrorInfo}\n />\n </div>\n <ErrorMessage\n errorMessage={errorMessage}\n errorType={errorType}\n />\n </ErrorOverlayDialogHeader>\n\n <ErrorOverlayDialogBody>{children}</ErrorOverlayDialogBody>\n </DialogContent>\n </Resizer>\n\n <ErrorOverlayBottomStack\n errorCount={errorCount}\n activeIdx={activeIdx ?? 0}\n />\n </ErrorOverlayDialog>\n <Fader ref={faderRef} side=\"top\" stop=\"50%\" blur=\"4px\" height={48} />\n </div>\n </ErrorOverlayOverlay>\n )\n}\n\nfunction clamp(value: number, [min, max]: [number, number]) {\n return Math.min(Math.max(value, min), max)\n}\n\nexport const styles = `\n ${OVERLAY_STYLES}\n ${DIALOG_STYLES}\n ${DIALOG_HEADER_STYLES}\n ${DIALOG_BODY_STYLES}\n\n ${floatingHeaderStyles}\n ${errorTypeLabelStyles}\n ${errorMessageStyles}\n ${toolbarStyles}\n\n [data-nextjs-error-label-group] {\n display: flex;\n align-items: center;\n gap: 8px;\n }\n`\n","import { css } from '../../utils/css'\n\nconst styles = css`\n [data-nextjs-dialog-overlay] {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n /* secondary z-index, -1 than toast z-index */\n z-index: 2147483646;\n\n display: flex;\n align-content: center;\n align-items: center;\n flex-direction: column;\n padding: 10vh 15px 0;\n }\n\n @media (max-height: 812px) {\n [data-nextjs-dialog-overlay] {\n padding: 15px 15px 0;\n }\n }\n\n [data-nextjs-dialog-backdrop] {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background-color: var(--color-backdrop);\n backdrop-filter: blur(10px);\n pointer-events: all;\n z-index: -1;\n }\n\n [data-nextjs-dialog-backdrop-fixed] {\n cursor: not-allowed;\n -webkit-backdrop-filter: blur(8px);\n backdrop-filter: blur(8px);\n }\n`\n\nexport { styles }\n","import { useOpenInEditor } from '../../utils/use-open-in-editor'\n\ntype EditorLinkProps = {\n file: string\n isSourceFile: boolean\n location?: {\n line: number\n column: number\n }\n}\nexport function EditorLink({ file, location }: EditorLinkProps) {\n const open = useOpenInEditor({\n file,\n line1: location?.line ?? 1,\n column1: location?.column ?? 1,\n })\n\n return (\n <div\n data-with-open-in-editor-link\n data-with-open-in-editor-link-import-trace\n role={'link'}\n onClick={open}\n title={'Click to open in your editor'}\n >\n {file}\n {location ? `:${location.line}:${location.column}` : null}\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n >\n <path d=\"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6\"></path>\n <polyline points=\"15 3 21 3 21 9\"></polyline>\n <line x1=\"10\" y1=\"14\" x2=\"21\" y2=\"3\"></line>\n </svg>\n </div>\n )\n}\n\nexport const EDITOR_LINK_STYLES = `\n [data-with-open-in-editor-link] svg {\n width: auto;\n height: var(--size-14);\n margin-left: 8px;\n }\n [data-with-open-in-editor-link] {\n cursor: pointer;\n }\n [data-with-open-in-editor-link]:hover {\n text-decoration: underline dotted;\n }\n [data-with-open-in-editor-link-import-trace] {\n margin-left: 16px;\n }\n`\n","import Anser from 'next/dist/compiled/anser'\nimport * as React from 'react'\nimport { HotlinkedText } from '../hot-linked-text'\nimport { EditorLink } from './editor-link'\nimport { ExternalIcon } from '../../icons/external'\nimport { getFrameSource, type StackFrame } from '../../../shared/stack-frame'\nimport { useOpenInEditor } from '../../utils/use-open-in-editor'\nimport { FileIcon } from '../../icons/file'\n\ntype TerminalProps = { content: string }\n\nfunction getFile(lines: string[]) {\n const contentFileName = lines.shift()\n if (!contentFileName) return null\n const [fileName, line, column] = contentFileName.split(':', 3)\n\n const parsedLine = Number(line)\n const parsedColumn = Number(column)\n const hasLocation = !Number.isNaN(parsedLine) && !Number.isNaN(parsedColumn)\n\n return {\n fileName: hasLocation ? fileName : contentFileName,\n location: hasLocation\n ? {\n line1: parsedLine,\n column1: parsedColumn,\n }\n : undefined,\n }\n}\n\nfunction getImportTraceFiles(lines: string[]) {\n if (\n lines.some((line) => /ReactServerComponentsError:/.test(line)) ||\n lines.some((line) => /Import trace for requested module:/.test(line))\n ) {\n // Grab the lines at the end containing the files\n const files = []\n while (\n /.+\\..+/.test(lines[lines.length - 1]) &&\n !lines[lines.length - 1].includes(':')\n ) {\n const file = lines.pop()!.trim()\n files.unshift(file)\n }\n\n return files\n }\n\n return []\n}\n\nfunction getEditorLinks(content: string) {\n const lines = content.split('\\n')\n const file = getFile(lines)\n const importTraceFiles = getImportTraceFiles(lines)\n\n return { file, source: lines.join('\\n'), importTraceFiles }\n}\n\nexport const Terminal: React.FC<TerminalProps> = function Terminal({\n content,\n}) {\n const { file, source, importTraceFiles } = React.useMemo(\n () => getEditorLinks(content),\n [content]\n )\n\n const decoded = React.useMemo(() => {\n return Anser.ansiToJson(source, {\n json: true,\n use_classes: true,\n remove_empty: true,\n })\n }, [source])\n\n const open = useOpenInEditor({\n file: file?.fileName,\n line1: file?.location?.line1 ?? 1,\n column1: file?.location?.column1 ?? 1,\n })\n\n const stackFrame: StackFrame = {\n file: file?.fileName ?? null,\n methodName: '',\n arguments: [],\n line1: file?.location?.line1 ?? null,\n column1: file?.location?.column1 ?? null,\n }\n\n const fileExtension = stackFrame?.file?.split('.').pop()\n\n return (\n <div data-nextjs-codeframe>\n <div className=\"code-frame-header\">\n <div className=\"code-frame-link\">\n <span className=\"code-frame-icon\">\n <FileIcon lang={fileExtension} />\n </span>\n <span data-text>\n {/* TODO: Unlike the CodeFrame component, the `methodName` is unavailable. */}\n {getFrameSource(stackFrame)}\n </span>\n <button\n aria-label=\"Open in editor\"\n data-with-open-in-editor-link-source-file\n onClick={open}\n >\n <span className=\"code-frame-icon\" data-icon=\"right\">\n <ExternalIcon width={16} height={16} />\n </span>\n </button>\n </div>\n </div>\n <pre className=\"code-frame-pre\">\n <div className=\"code-frame-lines\">\n {decoded.map((entry, index) => (\n <span\n key={`terminal-entry-${index}`}\n style={{\n color: entry.fg ? `var(--color-${entry.fg})` : undefined,\n ...(entry.decoration === 'bold'\n ? // TODO(jiwon): This used to be 800, but the symbols like `─┬─` are\n // having longer width than expected on Geist Mono font-weight\n // above 600, hence a temporary fix is to use 500 for bold.\n { fontWeight: 500 }\n : entry.decoration === 'italic'\n ? { fontStyle: 'italic' }\n : undefined),\n }}\n >\n <HotlinkedText text={entry.content} />\n </span>\n ))}\n {importTraceFiles.map((importTraceFile) => (\n <EditorLink\n isSourceFile={false}\n key={importTraceFile}\n file={importTraceFile}\n />\n ))}\n </div>\n </pre>\n </div>\n )\n}\n\nexport const TERMINAL_STYLES = `\n [data-nextjs-terminal]::selection,\n [data-nextjs-terminal] *::selection {\n background-color: var(--color-ansi-selection);\n }\n\n [data-nextjs-terminal] * {\n color: inherit;\n background-color: transparent;\n font-family: var(--font-stack-monospace);\n }\n\n [data-nextjs-terminal] > div > p {\n display: flex;\n align-items: center;\n justify-content: space-between;\n cursor: pointer;\n margin: 0;\n }\n [data-nextjs-terminal] > div > p:hover {\n text-decoration: underline dotted;\n }\n [data-nextjs-terminal] div > pre {\n overflow: hidden;\n display: inline-block;\n }\n`\n","import React, { useCallback, useMemo } from 'react'\nimport stripAnsi from 'next/dist/compiled/strip-ansi'\nimport { Terminal } from '../components/terminal'\nimport { ErrorOverlayLayout } from '../components/errors/error-overlay-layout/error-overlay-layout'\nimport type { ErrorBaseProps } from '../components/errors/error-overlay/error-overlay'\n\ninterface BuildErrorProps extends ErrorBaseProps {\n message: string\n}\n\nconst getErrorTextFromBuildErrorMessage = (multiLineMessage: string) => {\n const lines = multiLineMessage.split('\\n')\n // The multi-line build error message looks like:\n // <file path>:<line number>:<column number>\n // <error message>\n // <error code frame of compiler or bundler>\n // e.g.\n // ./path/to/file.js:1:1\n // SyntaxError: ...\n // > 1 | con st foo =\n // ...\n return (\n stripAnsi(lines[1] || '')\n // label will already say that it's an error\n .replace(/^Error: /, '')\n )\n}\n\nexport const BuildError: React.FC<BuildErrorProps> = function BuildError({\n message,\n ...props\n}) {\n const noop = useCallback(() => {}, [])\n const error = new Error(message)\n const formattedMessage = useMemo(\n () => getErrorTextFromBuildErrorMessage(message) || 'Failed to compile',\n [message]\n )\n\n const generateErrorInfo = useCallback(() => {\n const parts: string[] = []\n\n // 1. Error Type\n parts.push(`## Error Type\\nBuild Error`)\n\n // 2. Error Message\n if (formattedMessage) {\n parts.push(`## Error Message\\n${formattedMessage}`)\n }\n\n // 3. Build Output (decoded stderr)\n if (message) {\n const decodedOutput = stripAnsi(message)\n parts.push(`## Build Output\\n${decodedOutput}`)\n }\n\n // Format as AI prompt\n const errorInfo = `${parts.join('\\n\\n')}\n\nNext.js version: ${props.versionInfo.installed} (${process.env.__NEXT_BUNDLER})\\n`\n\n return errorInfo\n }, [message, formattedMessage, props.versionInfo])\n\n return (\n <ErrorOverlayLayout\n errorType=\"Build Error\"\n errorMessage={formattedMessage}\n onClose={noop}\n error={error}\n generateErrorInfo={generateErrorInfo}\n {...props}\n >\n <Terminal content={message} />\n </ErrorOverlayLayout>\n )\n}\n\nexport const styles = ``\n","import type { OriginalStackFrame } from '../../../shared/stack-frame'\n\nimport { HotlinkedText } from '../hot-linked-text'\nimport { ExternalIcon, SourceMappingErrorIcon } from '../../icons/external'\nimport { getFrameSource } from '../../../shared/stack-frame'\nimport { useOpenInEditor } from '../../utils/use-open-in-editor'\n\nexport const CallStackFrame: React.FC<{\n frame: OriginalStackFrame\n}> = function CallStackFrame({ frame }) {\n // TODO: ability to expand resolved frames\n\n const f = frame.originalStackFrame ?? frame.sourceStackFrame\n const hasSource = Boolean(frame.originalCodeFrame)\n const open = useOpenInEditor(\n hasSource\n ? {\n file: f.file,\n line1: f.line1 ?? 1,\n column1: f.column1 ?? 1,\n }\n : undefined\n )\n\n // Formatted file source could be empty. e.g. <anonymous> will be formatted to empty string,\n // we'll skip rendering the frame in this case.\n const fileSource = getFrameSource(f)\n\n if (!fileSource) {\n return null\n }\n\n return (\n <div\n data-nextjs-call-stack-frame\n data-nextjs-call-stack-frame-no-source={!hasSource}\n data-nextjs-call-stack-frame-ignored={frame.ignored}\n >\n <div className=\"call-stack-frame-method-name\">\n <HotlinkedText text={f.methodName} />\n {hasSource && (\n <button\n onClick={open}\n className=\"open-in-editor-button\"\n aria-label={`Open ${f.methodName} in editor`}\n >\n <ExternalIcon width={16} height={16} />\n </button>\n )}\n {frame.error ? (\n <button\n className=\"source-mapping-error-button\"\n onClick={() => console.error(frame.reason)}\n title=\"Sourcemapping failed. Click to log cause of error.\"\n >\n <SourceMappingErrorIcon width={16} height={16} />\n </button>\n ) : null}\n </div>\n <span\n className=\"call-stack-frame-file-source\"\n data-has-source={hasSource}\n >\n {fileSource}\n </span>\n </div>\n )\n}\n\nexport const CALL_STACK_FRAME_STYLES = `\n [data-nextjs-call-stack-frame-no-source] {\n padding: 6px 8px;\n margin-bottom: 4px;\n\n border-radius: var(--rounded-lg);\n }\n\n [data-nextjs-call-stack-frame-no-source]:last-child {\n margin-bottom: 0;\n }\n\n [data-nextjs-call-stack-frame-ignored=\"true\"] {\n opacity: 0.6;\n }\n\n [data-nextjs-call-stack-frame] {\n user-select: text;\n display: block;\n box-sizing: border-box;\n\n user-select: text;\n -webkit-user-select: text;\n -moz-user-select: text;\n -ms-user-select: text;\n\n padding: 6px 8px;\n\n border-radius: var(--rounded-lg);\n }\n\n .call-stack-frame-method-name {\n display: flex;\n align-items: center;\n gap: 4px;\n\n margin-bottom: 4px;\n font-family: var(--font-stack-monospace);\n\n color: var(--color-gray-1000);\n font-size: var(--size-14);\n font-weight: 500;\n line-height: var(--size-20);\n\n svg {\n width: var(--size-16px);\n height: var(--size-16px);\n }\n }\n\n .open-in-editor-button, .source-mapping-error-button {\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: var(--rounded-full);\n padding: 4px;\n color: var(--color-font);\n\n svg {\n width: var(--size-16);\n height: var(--size-16);\n }\n\n &:focus-visible {\n outline: var(--focus-ring);\n outline-offset: -2px;\n }\n\n &:hover {\n background: var(--color-gray-100);\n }\n }\n\n .call-stack-frame-file-source {\n color: var(--color-gray-900);\n font-size: var(--size-14);\n line-height: var(--size-20);\n }\n`\n","export function ChevronUpDownIcon() {\n return (\n <svg\n width=\"16\"\n height=\"16\"\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M8.70722 2.39641C8.3167 2.00588 7.68353 2.00588 7.29301 2.39641L4.46978 5.21963L3.93945 5.74996L5.00011 6.81062L5.53044 6.28029L8.00011 3.81062L10.4698 6.28029L11.0001 6.81062L12.0608 5.74996L11.5304 5.21963L8.70722 2.39641ZM5.53044 9.71963L5.00011 9.1893L3.93945 10.25L4.46978 10.7803L7.29301 13.6035C7.68353 13.994 8.3167 13.994 8.70722 13.6035L11.5304 10.7803L12.0608 10.25L11.0001 9.1893L10.4698 9.71963L8.00011 12.1893L5.53044 9.71963Z\"\n fill=\"currentColor\"\n />\n </svg>\n )\n}\n","import type { OriginalStackFrame } from '../../../shared/stack-frame'\n\nimport { CallStackFrame } from '../call-stack-frame/call-stack-frame'\nimport { ChevronUpDownIcon } from '../../icons/chevron-up-down'\nimport { css } from '../../utils/css'\n\nexport function CallStack({\n frames,\n isIgnoreListOpen,\n ignoredFramesTally,\n onToggleIgnoreList,\n}: {\n frames: readonly OriginalStackFrame[]\n isIgnoreListOpen: boolean\n ignoredFramesTally: number\n onToggleIgnoreList: () => void\n}) {\n return (\n <div data-nextjs-call-stack-container>\n <div data-nextjs-call-stack-header>\n <p data-nextjs-call-stack-title>\n Call Stack <span data-nextjs-call-stack-count>{frames.length}</span>\n </p>\n {ignoredFramesTally > 0 && (\n <button\n // The isIgnoreListOpen value is used by tests to confirm whether it is open or not.\n data-nextjs-call-stack-ignored-list-toggle-button={isIgnoreListOpen}\n onClick={onToggleIgnoreList}\n >\n {`${isIgnoreListOpen ? 'Hide' : 'Show'} ${ignoredFramesTally} ignore-listed frame(s)`}\n <ChevronUpDownIcon />\n </button>\n )}\n </div>\n {frames.map((frame, frameIndex) => {\n return !frame.ignored || isIgnoreListOpen ? (\n <CallStackFrame key={frameIndex} frame={frame} />\n ) : null\n })}\n </div>\n )\n}\n\nexport const CALL_STACK_STYLES = css`\n [data-nextjs-call-stack-container] {\n position: relative;\n margin-top: 8px;\n }\n\n [data-nextjs-call-stack-header] {\n display: flex;\n justify-content: space-between;\n align-items: center;\n min-height: var(--size-28);\n padding: 8px 8px 12px 4px;\n width: 100%;\n }\n\n [data-nextjs-call-stack-title] {\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: 8px;\n\n margin: 0;\n\n color: var(--color-gray-1000);\n font-size: var(--size-16);\n font-weight: 500;\n }\n\n [data-nextjs-call-stack-count] {\n display: flex;\n justify-content: center;\n align-items: center;\n\n width: var(--size-20);\n height: var(--size-20);\n gap: 4px;\n\n color: var(--color-gray-1000);\n text-align: center;\n font-size: var(--size-11);\n font-weight: 500;\n line-height: var(--size-16);\n\n border-radius: var(--rounded-full);\n background: var(--color-gray-300);\n }\n\n [data-nextjs-call-stack-ignored-list-toggle-button] {\n all: unset;\n display: flex;\n align-items: center;\n gap: 6px;\n color: var(--color-gray-900);\n font-size: var(--size-14);\n line-height: var(--size-20);\n border-radius: 6px;\n padding: 4px 6px;\n margin-right: -6px;\n transition: background 150ms ease;\n\n &:hover {\n background: var(--color-gray-100);\n }\n\n &:focus {\n outline: var(--focus-ring);\n }\n\n svg {\n width: var(--size-16);\n height: var(--size-16);\n }\n }\n`\n","import type { OriginalStackFrame } from '../../../../shared/stack-frame'\nimport { useMemo, useState, useRef } from 'react'\nimport { CallStack } from '../../call-stack/call-stack'\n\ninterface CallStackProps {\n frames: readonly OriginalStackFrame[]\n dialogResizerRef: React.RefObject<HTMLDivElement | null>\n}\n\nexport function ErrorOverlayCallStack({\n frames,\n dialogResizerRef,\n}: CallStackProps) {\n const initialDialogHeight = useRef<number>(NaN)\n const [isIgnoreListOpen, setIsIgnoreListOpen] = useState(false)\n\n const ignoredFramesTally = useMemo(() => {\n return frames.reduce((tally, frame) => tally + (frame.ignored ? 1 : 0), 0)\n }, [frames])\n\n function onToggleIgnoreList() {\n const dialog = dialogResizerRef?.current\n\n if (!dialog) {\n return\n }\n\n const { height: currentHeight } = dialog.getBoundingClientRect()\n\n if (!initialDialogHeight.current) {\n initialDialogHeight.current = currentHeight\n }\n\n if (isIgnoreListOpen) {\n function onTransitionEnd() {\n // TS bug. We closed over a non-nullable value here.\n dialog!.removeEventListener('transitionend', onTransitionEnd)\n setIsIgnoreListOpen(false)\n }\n // eslint-disable-next-line react-hooks/immutability -- Bug in react-hooks/react-compiler\n dialog.style.height = `${initialDialogHeight.current}px`\n dialog.addEventListener('transitionend', onTransitionEnd)\n } else {\n setIsIgnoreListOpen(true)\n }\n }\n\n return (\n <CallStack\n frames={frames}\n isIgnoreListOpen={isIgnoreListOpen}\n onToggleIgnoreList={onToggleIgnoreList}\n ignoredFramesTally={ignoredFramesTally}\n />\n )\n}\n","export function CollapseIcon({ collapsed }: { collapsed?: boolean } = {}) {\n return (\n <svg\n data-nextjs-call-stack-chevron-icon\n data-collapsed={collapsed}\n width=\"16\"\n height=\"16\"\n fill=\"none\"\n // rotate 90 degrees if not collapsed.\n {...(typeof collapsed === 'boolean'\n ? { style: { transform: collapsed ? undefined : 'rotate(90deg)' } }\n : {})}\n >\n <path\n style={{ fill: 'var(--color-font)' }}\n fillRule=\"evenodd\"\n d=\"m6.75 3.94.53.53 2.824 2.823a1 1 0 0 1 0 1.414L7.28 11.53l-.53.53L5.69 11l.53-.53L8.69 8 6.22 5.53 5.69 5l1.06-1.06Z\"\n clipRule=\"evenodd\"\n />\n </svg>\n )\n}\n","import { useMemo, useState } from 'react'\nimport { CollapseIcon } from '../../icons/collapse-icon'\n/**\n *\n * Format component stack into pseudo HTML\n * component stack is an array of strings, e.g.: ['p', 'p', 'Page', ...]\n *\n * For html tags mismatch, it will render it for the code block\n *\n * ```\n * <pre>\n * <code>{`\n * <Page>\n * <p red>\n * <p red>\n * `}</code>\n * </pre>\n * ```\n *\n * For text mismatch, it will render it for the code block\n *\n * ```\n * <pre>\n * <code>{`\n * <Page>\n * <p>\n * \"Server Text\" (green)\n * \"Client Text\" (red)\n * </p>\n * </Page>\n * `}</code>\n * ```\n *\n * For bad text under a tag it will render it for the code block,\n * e.g. \"Mismatched Text\" under <p>\n *\n * ```\n * <pre>\n * <code>{`\n * <Page>\n * <div>\n * <p>\n * \"Mismatched Text\" (red)\n * </p>\n * </div>\n * </Page>\n * `}</code>\n * ```\n *\n */\nexport function PseudoHtmlDiff({\n reactOutputComponentDiff,\n}: {\n reactOutputComponentDiff: string\n}) {\n const [isDiffCollapsed, toggleCollapseHtml] = useState(true)\n\n const htmlComponents = useMemo(() => {\n const componentStacks: React.ReactNode[] = []\n const reactComponentDiffLines = reactOutputComponentDiff.split('\\n')\n reactComponentDiffLines.forEach((line, index) => {\n const isDiffLine = line[0] === '+' || line[0] === '-'\n const isHighlightedLine = line[0] === '>'\n const hasSign = isDiffLine || isHighlightedLine\n const sign = hasSign ? line[0] : ''\n const signIndex = hasSign ? line.indexOf(sign) : -1\n const [prefix, suffix] = hasSign\n ? [line.slice(0, signIndex), line.slice(signIndex + 1)]\n : [line, '']\n\n if (isDiffLine) {\n componentStacks.push(\n <span\n key={'comp-diff' + index}\n data-nextjs-container-errors-pseudo-html-line\n data-nextjs-container-errors-pseudo-html--diff={\n sign === '+' ? 'add' : 'remove'\n }\n >\n <span>\n {/* Slice 2 spaces for the icon */}\n {prefix}\n <span data-nextjs-container-errors-pseudo-html-line-sign>\n {sign}\n </span>\n {suffix}\n {'\\n'}\n </span>\n </span>\n )\n } else {\n // In general, if it's not collapsed, show the whole diff\n componentStacks.push(\n <span\n data-nextjs-container-errors-pseudo-html-line\n key={'comp-diff' + index}\n {...(isHighlightedLine\n ? {\n 'data-nextjs-container-errors-pseudo-html--diff': 'error',\n }\n : undefined)}\n >\n {prefix}\n <span data-nextjs-container-errors-pseudo-html-line-sign>\n {sign}\n </span>\n {suffix}\n {'\\n'}\n </span>\n )\n }\n })\n return componentStacks\n }, [reactOutputComponentDiff])\n\n return (\n <div\n data-nextjs-container-errors-pseudo-html\n data-nextjs-container-errors-pseudo-html-collapse={isDiffCollapsed}\n >\n <button\n aria-expanded={!isDiffCollapsed}\n aria-label=\"complete Component Stack\"\n data-nextjs-container-errors-pseudo-html-collapse-button\n onClick={() => toggleCollapseHtml(!isDiffCollapsed)}\n >\n <CollapseIcon collapsed={isDiffCollapsed} />\n </button>\n <pre className=\"nextjs__container_errors__component-stack\">\n <code>{htmlComponents}</code>\n </pre>\n </div>\n )\n}\n","const symbolError = Symbol.for('NextjsError')\n\nexport function getErrorSource(error: Error): 'server' | 'edge-server' | null {\n return (error as any)[symbolError] || null\n}\n\nexport type ErrorSourceType = 'edge-server' | 'server'\n\nexport function decorateServerError(error: Error, type: ErrorSourceType) {\n Object.defineProperty(error, symbolError, {\n writable: false,\n enumerable: false,\n configurable: false,\n value: type,\n })\n}\n","import type { SupportedErrorEvent } from '../container/runtime-error/render-error'\nimport { getOriginalStackFrames } from '../../shared/stack-frame'\nimport type { OriginalStackFrame } from '../../shared/stack-frame'\nimport { getErrorSource } from '../../../shared/lib/error-source'\nimport React from 'react'\n\nexport type ReadyRuntimeError = {\n id: number\n runtime: true\n error: Error & { environmentName?: string }\n frames:\n | readonly OriginalStackFrame[]\n | (() => Promise<readonly OriginalStackFrame[]>)\n type: 'runtime' | 'console' | 'recoverable'\n}\n\nexport const useFrames = (\n error: ReadyRuntimeError | null\n): readonly OriginalStackFrame[] => {\n if (!error) return []\n\n if ('use' in React) {\n const frames = error.frames\n\n if (typeof frames !== 'function') {\n throw new Error(\n 'Invariant: frames must be a function when the React version has React.use. This is a bug in Next.js.'\n )\n }\n\n return React.use((frames as () => Promise<readonly OriginalStackFrame[]>)())\n } else {\n if (!Array.isArray(error.frames)) {\n throw new Error(\n 'Invariant: frames must be an array when the React version does not have React.use. This is a bug in Next.js.'\n )\n }\n\n return error.frames\n }\n}\n\nexport async function getErrorByType(\n event: SupportedErrorEvent,\n isAppDir: boolean\n): Promise<ReadyRuntimeError> {\n const baseError = {\n id: event.id,\n runtime: true,\n error: event.error,\n type: event.type,\n } as const\n\n if ('use' in React) {\n const readyRuntimeError: ReadyRuntimeError = {\n ...baseError,\n // createMemoizedPromise dedups calls to getOriginalStackFrames\n frames: createMemoizedPromise(async () => {\n return await getOriginalStackFrames(\n event.frames,\n getErrorSource(event.error),\n isAppDir\n )\n }),\n }\n return readyRuntimeError\n } else {\n const readyRuntimeError: ReadyRuntimeError = {\n ...baseError,\n // createMemoizedPromise dedups calls to getOriginalStackFrames\n frames: await getOriginalStackFrames(\n event.frames,\n getErrorSource(event.error),\n isAppDir\n ),\n }\n return readyRuntimeError\n }\n}\n\nfunction createMemoizedPromise<T>(\n promiseFactory: () => Promise<T>\n): () => Promise<T> {\n const cachedPromise = promiseFactory()\n return function (): Promise<T> {\n return cachedPromise\n }\n}\n","import { useMemo } from 'react'\nimport { CodeFrame } from '../../components/code-frame/code-frame'\nimport { ErrorOverlayCallStack } from '../../components/errors/error-overlay-call-stack/error-overlay-call-stack'\nimport { PSEUDO_HTML_DIFF_STYLES } from './component-stack-pseudo-html'\nimport {\n useFrames,\n type ReadyRuntimeError,\n} from '../../utils/get-error-by-type'\n\ntype RuntimeErrorProps = {\n error: ReadyRuntimeError\n dialogResizerRef: React.RefObject<HTMLDivElement | null>\n}\n\nexport function RuntimeError({ error, dialogResizerRef }: RuntimeErrorProps) {\n const frames = useFrames(error)\n\n const firstFrame = useMemo(() => {\n const firstFirstPartyFrameIndex = frames.findIndex(\n (entry) =>\n !entry.ignored &&\n Boolean(entry.originalCodeFrame) &&\n Boolean(entry.originalStackFrame)\n )\n\n return frames[firstFirstPartyFrameIndex] ?? null\n }, [frames])\n\n return (\n <>\n {firstFrame && (\n <CodeFrame\n stackFrame={firstFrame.originalStackFrame!}\n codeFrame={firstFrame.originalCodeFrame!}\n />\n )}\n\n {frames.length > 0 && (\n <ErrorOverlayCallStack\n dialogResizerRef={dialogResizerRef}\n frames={frames}\n />\n )}\n </>\n )\n}\n\nexport const styles = `\n ${PSEUDO_HTML_DIFF_STYLES}\n`\n","export { PseudoHtmlDiff } from '../../components/hydration-diff/diff-view'\n\nexport const PSEUDO_HTML_DIFF_STYLES = `\n [data-nextjs-container-errors-pseudo-html] {\n padding: 8px 0;\n margin: 8px 0;\n border: 1px solid var(--color-gray-400);\n background: var(--color-background-200);\n color: var(--color-syntax-constant);\n font-family: var(--font-stack-monospace);\n font-size: var(--size-12);\n line-height: 1.33em; /* 16px in 12px font size */\n border-radius: var(--rounded-md-2);\n }\n [data-nextjs-container-errors-pseudo-html-line] {\n display: inline-block;\n width: 100%;\n padding-left: 40px;\n line-height: calc(5 / 3);\n }\n [data-nextjs-container-errors-pseudo-html--diff='error'] {\n background: var(--color-amber-100);\n box-shadow: 2px 0 0 0 var(--color-amber-900) inset;\n font-weight: bold;\n }\n [data-nextjs-container-errors-pseudo-html-collapse-button] {\n all: unset;\n margin-left: 12px;\n &:focus {\n outline: none;\n }\n }\n [data-nextjs-container-errors-pseudo-html--diff='add'] {\n background: var(--color-green-300);\n }\n [data-nextjs-container-errors-pseudo-html-line-sign] {\n margin-left: calc(24px * -1);\n margin-right: 24px;\n }\n [data-nextjs-container-errors-pseudo-html--diff='add']\n [data-nextjs-container-errors-pseudo-html-line-sign] {\n color: var(--color-green-900);\n }\n [data-nextjs-container-errors-pseudo-html--diff='remove'] {\n background: var(--color-red-300);\n }\n [data-nextjs-container-errors-pseudo-html--diff='remove']\n [data-nextjs-container-errors-pseudo-html-line-sign] {\n color: var(--color-red-900);\n margin-left: calc(24px * -1);\n margin-right: 24px;\n }\n [data-nextjs-container-errors-pseudo-html--diff='error']\n [data-nextjs-container-errors-pseudo-html-line-sign] {\n color: var(--color-amber-900);\n }\n ${/* hide but text are still accessible in DOM */ ''}\n [data-nextjs-container-errors-pseudo-html--hint] {\n display: inline-block;\n font-size: 0;\n height: 0;\n }\n [data-nextjs-container-errors-pseudo-html--tag-adjacent='false'] {\n color: var(--color-accents-1);\n }\n .nextjs__container_errors__component-stack {\n margin: 0;\n }\n [data-nextjs-container-errors-pseudo-html-collapse='true']\n .nextjs__container_errors__component-stack\n code {\n max-height: 120px;\n mask-image: linear-gradient(to bottom,rgba(0,0,0,0) 0%,black 10%);\n padding-bottom: 40px;\n }\n .nextjs__container_errors__component-stack code {\n display: block;\n width: 100%;\n white-space: pre-wrap;\n scroll-snap-type: y mandatory;\n overflow-y: hidden;\n }\n [data-nextjs-container-errors-pseudo-html--diff] {\n scroll-snap-align: center;\n }\n .error-overlay-hydration-error-diff-plus-icon {\n color: var(--color-green-900);\n }\n .error-overlay-hydration-error-diff-minus-icon {\n color: var(--color-red-900);\n }\n`\n","import React, { useMemo, useRef, Suspense, useCallback } from 'react'\nimport type { DebugInfo } from '../../shared/types'\nimport { Overlay, OverlayBackdrop } from '../components/overlay'\nimport { RuntimeError } from './runtime-error'\nimport { getErrorSource } from '../../../shared/lib/error-source'\nimport { HotlinkedText } from '../components/hot-linked-text'\nimport { PseudoHtmlDiff } from './runtime-error/component-stack-pseudo-html'\nimport {\n ErrorOverlayLayout,\n type ErrorOverlayLayoutProps,\n} from '../components/errors/error-overlay-layout/error-overlay-layout'\nimport {\n getHydrationErrorStackInfo,\n isHydrationError,\n NEXTJS_HYDRATION_ERROR_LINK,\n} from '../../shared/react-19-hydration-error'\nimport type { ReadyRuntimeError } from '../utils/get-error-by-type'\nimport { useFrames } from '../utils/get-error-by-type'\nimport type { ErrorBaseProps } from '../components/errors/error-overlay/error-overlay'\nimport type { HydrationErrorState } from '../../shared/hydration-error'\nimport { useActiveRuntimeError } from '../hooks/use-active-runtime-error'\nimport { formatCodeFrame } from '../components/code-frame/parse-code-frame'\nimport stripAnsi from 'next/dist/compiled/strip-ansi'\n\ninterface ErrorsProps extends ErrorBaseProps {\n getSquashedHydrationErrorDetails: (error: Error) => HydrationErrorState | null\n runtimeErrors: ReadyRuntimeError[]\n debugInfo: DebugInfo\n onClose: () => void\n}\n\nfunction matchLinkType(text: string): string | null {\n if (text.startsWith('https://nextjs.org')) {\n return 'nextjs-link'\n }\n if (text.startsWith('https://') || text.startsWith('http://')) {\n return 'external-link'\n }\n return null\n}\n\nfunction HydrationErrorDescription({ message }: { message: string }) {\n return <HotlinkedText text={message} matcher={matchLinkType} />\n}\n\nfunction GenericErrorDescription({ error }: { error: Error }) {\n const environmentName =\n 'environmentName' in error ? error.environmentName : ''\n const envPrefix = environmentName ? `[ ${environmentName} ] ` : ''\n\n // The environment name will be displayed as a label, so remove it\n // from the message (e.g. \"[ Server ] hello world\" -> \"hello world\").\n let message = error.message\n if (message.startsWith(envPrefix)) {\n message = message.slice(envPrefix.length)\n }\n\n return (\n <>\n <HotlinkedText text={message} matcher={matchLinkType} />\n </>\n )\n}\n\nfunction DynamicMetadataErrorDescription({\n variant,\n}: {\n variant: 'navigation' | 'runtime'\n}) {\n if (variant === 'navigation') {\n return (\n <div className=\"nextjs__blocking_page_load_error_description\">\n <h3 className=\"nextjs__blocking_page_load_error_description_title\">\n Data that blocks navigation was accessed inside{' '}\n <code>generateMetadata()</code> in an otherwise prerenderable page\n </h3>\n <p>\n When Document metadata is the only part of a page that cannot be\n prerendered Next.js expects you to either make it prerenderable or\n make some other part of the page non-prerenderable to avoid\n unintentional partially dynamic pages. Uncached data such as{' '}\n <code>fetch(...)</code>, cached data with a low expire time, or{' '}\n <code>connection()</code> are all examples of data that only resolve\n on navigation.\n </p>\n <h4>To fix this:</h4>\n <p className=\"nextjs__blocking_page_load_error_fix_option\">\n <strong>\n Move the asynchronous await into a Cache Component (\n <code>\"use cache\"</code>)\n </strong>\n . This allows Next.js to statically prerender{' '}\n <code>generateMetadata()</code> as part of the HTML document, so it's\n instantly visible to the user.\n </p>\n <h4 className=\"nextjs__blocking_page_load_error_fix_option_separator\">\n or\n </h4>\n <p className=\"nextjs__blocking_page_load_error_fix_option\">\n <strong>\n add <code>connection()</code> inside a <code>{'<Suspense>'}</code>\n </strong>{' '}\n somewhere in a Page or Layout. This tells Next.js that the page is\n intended to have some non-prerenderable parts.\n </p>\n <p>\n Learn more:{' '}\n <a href=\"https://nextjs.org/docs/messages/next-prerender-dynamic-metadata\">\n https://nextjs.org/docs/messages/next-prerender-dynamic-metadata\n </a>\n </p>\n </div>\n )\n } else {\n return (\n <div className=\"nextjs__blocking_page_load_error_description\">\n <h3 className=\"nextjs__blocking_page_load_error_description_title\">\n Runtime data was accessed inside <code>generateMetadata()</code> or\n file-based metadata\n </h3>\n <p>\n When Document metadata is the only part of a page that cannot be\n prerendered Next.js expects you to either make it prerenderable or\n make some other part of the page non-prerenderable to avoid\n unintentional partially dynamic pages.\n </p>\n <h4>To fix this:</h4>\n <p className=\"nextjs__blocking_page_load_error_fix_option\">\n <strong>\n Remove the Runtime data access from <code>generateMetadata()</code>\n </strong>\n . This allows Next.js to statically prerender{' '}\n <code>generateMetadata()</code> as part of the HTML document, so it's\n instantly visible to the user.\n </p>\n <h4 className=\"nextjs__blocking_page_load_error_fix_option_separator\">\n or\n </h4>\n <p className=\"nextjs__blocking_page_load_error_fix_option\">\n <strong>\n add <code>connection()</code> inside a <code>{'<Suspense>'}</code>\n </strong>{' '}\n somewhere in a Page or Layout. This tells Next.js that the page is\n intended to have some non-prerenderable parts.\n </p>\n <p>\n Note that if you are using file-based metadata, such as icons, inside\n a route with dynamic params then the only recourse is to make some\n other part of the page non-prerenderable.\n </p>\n <p>\n Learn more:{' '}\n <a href=\"https://nextjs.org/docs/messages/next-prerender-dynamic-metadata\">\n https://nextjs.org/docs/messages/next-prerender-dynamic-metadata\n </a>\n </p>\n </div>\n )\n }\n}\n\nfunction BlockingPageLoadErrorDescription({\n variant,\n refinement,\n}: {\n variant: 'navigation' | 'runtime'\n refinement: '' | 'generateViewport' | 'generateMetadata'\n}) {\n if (refinement === 'generateViewport') {\n if (variant === 'navigation') {\n return (\n <div className=\"nextjs__blocking_page_load_error_description\">\n <h3 className=\"nextjs__blocking_page_load_error_description_title\">\n Data that blocks navigation was accessed inside{' '}\n <code>generateViewport()</code>\n </h3>\n <p>\n Viewport metadata needs to be available on page load so accessing\n data that waits for a user navigation while producing it prevents\n Next.js from prerendering an initial UI. Uncached data such as{' '}\n <code>fetch(...)</code>, cached data with a low expire time, or{' '}\n <code>connection()</code> are all examples of data that only resolve\n on navigation.\n </p>\n <h4>To fix this:</h4>\n <p className=\"nextjs__blocking_page_load_error_fix_option\">\n <strong>\n Move the asynchronous await into a Cache Component (\n <code>\"use cache\"</code>)\n </strong>\n . This allows Next.js to statically prerender{' '}\n <code>generateViewport()</code> as part of the HTML document, so\n it's instantly visible to the user.\n </p>\n <h4 className=\"nextjs__blocking_page_load_error_fix_option_separator\">\n or\n </h4>\n <p className=\"nextjs__blocking_page_load_error_fix_option\">\n <strong>\n Put a <code>{'<Suspense>'}</code> around your document{' '}\n <code>{'<body>'}</code>.\n </strong>\n This indicate to Next.js that you are opting into allowing blocking\n navigations for any page.\n </p>\n <p>\n Learn more:{' '}\n <a href=\"https://nextjs.org/docs/messages/next-prerender-dynamic-viewport\">\n https://nextjs.org/docs/messages/next-prerender-dynamic-viewport\n </a>\n </p>\n </div>\n )\n } else {\n return (\n <div className=\"nextjs__blocking_page_load_error_description\">\n <h3 className=\"nextjs__blocking_page_load_error_description_title\">\n Runtime data was accessed inside <code>generateViewport()</code>\n </h3>\n <p>\n Viewport metadata needs to be available on page load so accessing\n data that comes from a user Request while producing it prevents\n Next.js from prerendering an initial UI.\n <code>cookies()</code>, <code>headers()</code>, and{' '}\n <code>searchParams</code>, are examples of Runtime data that can\n only come from a user request.\n </p>\n <h4>To fix this:</h4>\n <p className=\"nextjs__blocking_page_load_error_fix_option\">\n <strong>Remove the Runtime data requirement</strong> from{' '}\n <code>generateViewport</code>. This allows Next.js to statically\n prerender <code>generateViewport()</code> as part of the HTML\n document, so it's instantly visible to the user.\n </p>\n <h4 className=\"nextjs__blocking_page_load_error_fix_option_separator\">\n or\n </h4>\n <p className=\"nextjs__blocking_page_load_error_fix_option\">\n <strong>\n Put a <code>{'<Suspense>'}</code> around your document{' '}\n <code>{'<body>'}</code>.\n </strong>\n This indicate to Next.js that you are opting into allowing blocking\n navigations for any page.\n </p>\n <p>\n <code>params</code> are usually considered Runtime data but if all\n params are provided a value using <code>generateStaticParams</code>{' '}\n they can be statically prerendered.\n </p>\n <p>\n Learn more:{' '}\n <a href=\"https://nextjs.org/docs/messages/next-prerender-dynamic-viewport\">\n https://nextjs.org/docs/messages/next-prerender-dynamic-viewport\n </a>\n </p>\n </div>\n )\n }\n } else if (refinement === 'generateMetadata') {\n if (variant === 'navigation') {\n return (\n <div className=\"nextjs__blocking_page_load_error_description\">\n <h3 className=\"nextjs__blocking_page_load_error_description_title\">\n Data that blocks navigation was accessed inside{' '}\n <code>generateMetadata()</code> in an otherwise prerenderable page\n </h3>\n <p>\n When Document metadata is the only part of a page that cannot be\n prerendered Next.js expects you to either make it prerenderable or\n make some other part of the page non-prerenderable to avoid\n unintentional partially dynamic pages. Uncached data such as{' '}\n <code>fetch(...)</code>, cached data with a low expire time, or{' '}\n <code>connection()</code> are all examples of data that only resolve\n on navigation.\n </p>\n <h4>To fix this:</h4>\n <p className=\"nextjs__blocking_page_load_error_fix_option\">\n <strong>\n Move the asynchronous await into a Cache Component (\n <code>\"use cache\"</code>)\n </strong>\n . This allows Next.js to statically prerender{' '}\n <code>generateMetadata()</code> as part of the HTML document, so\n it's instantly visible to the user.\n </p>\n <h4 className=\"nextjs__blocking_page_load_error_fix_option_separator\">\n or\n </h4>\n <p className=\"nextjs__blocking_page_load_error_fix_option\">\n <strong>\n add <code>connection()</code> inside a <code>{'<Suspense>'}</code>\n </strong>{' '}\n somewhere in a Page or Layout. This tells Next.js that the page is\n intended to have some non-prerenderable parts.\n </p>\n <p>\n Learn more:{' '}\n <a href=\"https://nextjs.org/docs/messages/next-prerender-dynamic-metadata\">\n https://nextjs.org/docs/messages/next-prerender-dynamic-metadata\n </a>\n </p>\n </div>\n )\n } else {\n return (\n <div className=\"nextjs__blocking_page_load_error_description\">\n <h3 className=\"nextjs__blocking_page_load_error_description_title\">\n Runtime data was accessed inside <code>generateMetadata()</code> or\n file-based metadata\n </h3>\n <p>\n When Document metadata is the only part of a page that cannot be\n prerendered Next.js expects you to either make it prerenderable or\n make some other part of the page non-prerenderable to avoid\n unintentional partially dynamic pages.\n </p>\n <h4>To fix this:</h4>\n <p className=\"nextjs__blocking_page_load_error_fix_option\">\n <strong>\n Remove the Runtime data access from{' '}\n <code>generateMetadata()</code>\n </strong>\n . This allows Next.js to statically prerender{' '}\n <code>generateMetadata()</code> as part of the HTML document, so\n it's instantly visible to the user.\n </p>\n <h4 className=\"nextjs__blocking_page_load_error_fix_option_separator\">\n or\n </h4>\n <p className=\"nextjs__blocking_page_load_error_fix_option\">\n <strong>\n add <code>connection()</code> inside a <code>{'<Suspense>'}</code>\n </strong>{' '}\n somewhere in a Page or Layout. This tells Next.js that the page is\n intended to have some non-prerenderable parts.\n </p>\n <p>\n Note that if you are using file-based metadata, such as icons,\n inside a route with dynamic params then the only recourse is to make\n some other part of the page non-prerenderable.\n </p>\n <p>\n Learn more:{' '}\n <a href=\"https://nextjs.org/docs/messages/next-prerender-dynamic-metadata\">\n https://nextjs.org/docs/messages/next-prerender-dynamic-metadata\n </a>\n </p>\n </div>\n )\n }\n }\n\n if (variant === 'runtime') {\n return (\n <div className=\"nextjs__blocking_page_load_error_description\">\n <h3 className=\"nextjs__blocking_page_load_error_description_title\">\n Runtime data was accessed outside of {'<Suspense>'}\n </h3>\n <p>\n This delays the entire page from rendering, resulting in a slow user\n experience. Next.js uses this error to ensure your app loads instantly\n on every navigation. <code>cookies()</code>, <code>headers()</code>,\n and <code>searchParams</code>, are examples of Runtime data that can\n only come from a user request.\n </p>\n <h4>To fix this:</h4>\n <p className=\"nextjs__blocking_page_load_error_fix_option\">\n <strong>Provide a fallback UI using {'<Suspense>'}</strong> around\n this component.\n </p>\n <h4 className=\"nextjs__blocking_page_load_error_fix_option_separator\">\n or\n </h4>\n <p className=\"nextjs__blocking_page_load_error_fix_option\">\n <strong>\n Move the Runtime data access into a deeper component wrapped in{' '}\n {'<Suspense>'}.\n </strong>\n </p>\n <p>\n In either case this allows Next.js to stream its contents to the user\n when they request the page, while still providing an initial UI that\n is prerendered and prefetchable for instant navigations.\n </p>\n <p>\n Learn more:{' '}\n <a href=\"https://nextjs.org/docs/messages/blocking-route\">\n https://nextjs.org/docs/messages/blocking-route\n </a>\n </p>\n </div>\n )\n } else {\n return (\n <div className=\"nextjs__blocking_page_load_error_description\">\n <h3 className=\"nextjs__blocking_page_load_error_description_title\">\n Data that blocks navigation was accessed outside of {'<Suspense>'}\n </h3>\n <p>\n This delays the entire page from rendering, resulting in a slow user\n experience. Next.js uses this error to ensure your app loads instantly\n on every navigation. Uncached data such as <code>fetch(...)</code>,\n cached data with a low expire time, or <code>connection()</code> are\n all examples of data that only resolve on navigation.\n </p>\n <h4>To fix this, you can either:</h4>\n <p className=\"nextjs__blocking_page_load_error_fix_option\">\n <strong>Provide a fallback UI using {'<Suspense>'}</strong> around\n this component. This allows Next.js to stream its contents to the user\n as soon as it's ready, without blocking the rest of the app.\n </p>\n <h4 className=\"nextjs__blocking_page_load_error_fix_option_separator\">\n or\n </h4>\n <p className=\"nextjs__blocking_page_load_error_fix_option\">\n <strong>\n Move the asynchronous await into a Cache Component (\n <code>\"use cache\"</code>)\n </strong>\n . This allows Next.js to statically prerender the component as part of\n the HTML document, so it's instantly visible to the user.\n </p>\n <p>\n Learn more:{' '}\n <a href=\"https://nextjs.org/docs/messages/blocking-route\">\n https://nextjs.org/docs/messages/blocking-route\n </a>\n </p>\n </div>\n )\n }\n}\n\nexport function getErrorTypeLabel(\n error: Error,\n type: ReadyRuntimeError['type'],\n errorDetails: ErrorDetails\n): ErrorOverlayLayoutProps['errorType'] {\n if (errorDetails.type === 'blocking-route') {\n return `Blocking Route`\n }\n if (errorDetails.type === 'dynamic-metadata') {\n return `Ambiguous Metadata`\n }\n if (type === 'recoverable') {\n return `Recoverable ${error.name}`\n }\n if (type === 'console') {\n return `Console ${error.name}`\n }\n return `Runtime ${error.name}`\n}\n\ntype ErrorDetails =\n | NoErrorDetails\n | HydrationErrorDetails\n | BlockingRouteErrorDetails\n | DynamicMetadataErrorDetails\n\ntype NoErrorDetails = {\n type: 'empty'\n}\n\ntype HydrationErrorDetails = {\n type: 'hydration'\n warning: string | null\n notes: string | null\n reactOutputComponentDiff: string | null\n}\n\ntype BlockingRouteErrorDetails = {\n type: 'blocking-route'\n variant: 'navigation' | 'runtime'\n refinement: '' | 'generateViewport'\n}\n\ntype DynamicMetadataErrorDetails = {\n type: 'dynamic-metadata'\n variant: 'navigation' | 'runtime'\n}\n\nconst noErrorDetails: ErrorDetails = {\n type: 'empty',\n}\n\nexport function useErrorDetails(\n error: Error | undefined,\n getSquashedHydrationErrorDetails: (error: Error) => HydrationErrorState | null\n): ErrorDetails {\n return useMemo(() => {\n if (error === undefined) {\n return noErrorDetails\n }\n\n const hydrationErrorDetails = getHydrationErrorDetails(\n error,\n getSquashedHydrationErrorDetails\n )\n if (hydrationErrorDetails) {\n return hydrationErrorDetails\n }\n\n const blockingRouteErrorDetails = getBlockingRouteErrorDetails(error)\n if (blockingRouteErrorDetails) {\n return blockingRouteErrorDetails\n }\n\n return noErrorDetails\n }, [error, getSquashedHydrationErrorDetails])\n}\n\nfunction getHydrationErrorDetails(\n error: Error,\n getSquashedHydrationErrorDetails: (error: Error) => HydrationErrorState | null\n): null | HydrationErrorDetails {\n const pagesRouterErrorDetails = getSquashedHydrationErrorDetails(error)\n if (pagesRouterErrorDetails !== null) {\n return {\n type: 'hydration',\n warning: pagesRouterErrorDetails.warning ?? null,\n notes: null,\n reactOutputComponentDiff:\n pagesRouterErrorDetails.reactOutputComponentDiff ?? null,\n }\n }\n\n if (!isHydrationError(error)) {\n return null\n }\n\n const { message, notes, diff } = getHydrationErrorStackInfo(error)\n if (message === null) {\n return null\n }\n\n return {\n type: 'hydration',\n warning: message,\n notes,\n reactOutputComponentDiff: diff,\n }\n}\n\nfunction getBlockingRouteErrorDetails(error: Error): null | ErrorDetails {\n const isBlockingPageLoadError = error.message.includes('/blocking-route')\n\n if (isBlockingPageLoadError) {\n const isRuntimeData = error.message.includes('cookies()')\n\n return {\n type: 'blocking-route',\n variant: isRuntimeData ? 'runtime' : 'navigation',\n refinement: '',\n }\n }\n\n const isDynamicMetadataError = error.message.includes(\n '/next-prerender-dynamic-metadata'\n )\n if (isDynamicMetadataError) {\n const isRuntimeData = error.message.includes('cookies()')\n return {\n type: 'dynamic-metadata',\n variant: isRuntimeData ? 'runtime' : 'navigation',\n }\n }\n\n const isBlockingViewportError = error.message.includes(\n '/next-prerender-dynamic-viewport'\n )\n if (isBlockingViewportError) {\n const isRuntimeData = error.message.includes('cookies()')\n return {\n type: 'blocking-route',\n variant: isRuntimeData ? 'runtime' : 'navigation',\n refinement: 'generateViewport',\n }\n }\n\n return null\n}\n\nexport function Errors({\n getSquashedHydrationErrorDetails,\n runtimeErrors,\n debugInfo,\n onClose,\n ...props\n}: ErrorsProps) {\n const dialogResizerRef = useRef<HTMLDivElement | null>(null)\n\n const {\n isLoading,\n errorCode,\n errorType,\n activeIdx,\n errorDetails,\n activeError,\n setActiveIndex,\n } = useActiveRuntimeError({ runtimeErrors, getSquashedHydrationErrorDetails })\n\n // Get parsed frames data\n const frames = useFrames(activeError)\n\n const firstFrame = useMemo(() => {\n const firstFirstPartyFrameIndex = frames.findIndex(\n (entry) =>\n !entry.ignored &&\n Boolean(entry.originalCodeFrame) &&\n Boolean(entry.originalStackFrame)\n )\n\n return frames[firstFirstPartyFrameIndex] ?? null\n }, [frames])\n\n const generateErrorInfo = useCallback(() => {\n if (!activeError) return ''\n\n const parts: string[] = []\n\n // 1. Error Type\n if (errorType) {\n parts.push(`## Error Type\\n${errorType}`)\n }\n\n // 2. Error Message\n const error = activeError.error\n let message = error.message\n if ('environmentName' in error && error.environmentName) {\n const envPrefix = `[ ${error.environmentName} ] `\n if (message.startsWith(envPrefix)) {\n message = message.slice(envPrefix.length)\n }\n }\n if (message) {\n parts.push(`## Error Message\\n${message}`)\n }\n // Append call stack\n if (frames.length > 0) {\n const visibleFrames = frames.filter((frame) => !frame.ignored)\n if (visibleFrames.length > 0) {\n const stackLines = visibleFrames\n .map((frame) => {\n if (frame.originalStackFrame) {\n const { methodName, file, line1, column1 } =\n frame.originalStackFrame\n return ` at ${methodName} (${file}:${line1}:${column1})`\n } else if (frame.sourceStackFrame) {\n const { methodName, file, line1, column1 } =\n frame.sourceStackFrame\n return ` at ${methodName} (${file}:${line1}:${column1})`\n }\n return ''\n })\n .filter(Boolean)\n\n if (stackLines.length > 0) {\n parts.push(`\\n${stackLines.join('\\n')}`)\n }\n }\n }\n\n // 3. Code Frame (decoded)\n if (firstFrame?.originalCodeFrame) {\n const decodedCodeFrame = stripAnsi(\n formatCodeFrame(firstFrame.originalCodeFrame)\n )\n parts.push(`## Code Frame\\n${decodedCodeFrame}`)\n }\n\n // Format as markdown error info\n const errorInfo = `${parts.join('\\n\\n')}\n\nNext.js version: ${props.versionInfo.installed} (${process.env.__NEXT_BUNDLER})\\n`\n\n return errorInfo\n }, [activeError, errorType, firstFrame, frames, props.versionInfo])\n\n if (isLoading) {\n // TODO: better loading state\n return (\n <Overlay>\n <OverlayBackdrop />\n </Overlay>\n )\n }\n\n if (!activeError) {\n return null\n }\n\n const error = activeError.error\n const isServerError = ['server', 'edge-server'].includes(\n getErrorSource(error) || ''\n )\n\n let errorMessage: React.ReactNode\n let maybeNotes: React.ReactNode = null\n let maybeDiff: React.ReactNode = null\n switch (errorDetails.type) {\n case 'hydration':\n errorMessage = errorDetails.warning ? (\n <HydrationErrorDescription message={errorDetails.warning} />\n ) : (\n <GenericErrorDescription error={error} />\n )\n maybeNotes = (\n <div className=\"error-overlay-notes-container\">\n {errorDetails.notes ? (\n <>\n <p\n id=\"nextjs__container_errors__notes\"\n className=\"nextjs__container_errors__notes\"\n >\n {errorDetails.notes}\n </p>\n </>\n ) : null}\n {errorDetails.warning ? (\n <p\n id=\"nextjs__container_errors__link\"\n className=\"nextjs__container_errors__link\"\n >\n <HotlinkedText\n text={`See more info here: ${NEXTJS_HYDRATION_ERROR_LINK}`}\n />\n </p>\n ) : null}\n </div>\n )\n if (errorDetails.reactOutputComponentDiff) {\n maybeDiff = (\n <PseudoHtmlDiff\n reactOutputComponentDiff={\n errorDetails.reactOutputComponentDiff || ''\n }\n />\n )\n }\n break\n case 'blocking-route':\n errorMessage = (\n <BlockingPageLoadErrorDescription\n variant={errorDetails.variant}\n refinement={errorDetails.refinement}\n />\n )\n break\n case 'dynamic-metadata':\n errorMessage = (\n <DynamicMetadataErrorDescription variant={errorDetails.variant} />\n )\n break\n case 'empty':\n errorMessage = <GenericErrorDescription error={error} />\n break\n default:\n errorDetails satisfies never\n }\n\n return (\n <ErrorOverlayLayout\n errorCode={errorCode}\n errorType={errorType}\n errorMessage={errorMessage}\n onClose={isServerError ? undefined : onClose}\n debugInfo={debugInfo}\n error={error}\n runtimeErrors={runtimeErrors}\n activeIdx={activeIdx}\n setActiveIndex={setActiveIndex}\n dialogResizerRef={dialogResizerRef}\n generateErrorInfo={generateErrorInfo}\n {...props}\n >\n {maybeNotes}\n {maybeDiff}\n <Suspense fallback={<div data-nextjs-error-suspended />}>\n <RuntimeError\n key={activeError.id.toString()}\n error={activeError}\n dialogResizerRef={dialogResizerRef}\n />\n </Suspense>\n </ErrorOverlayLayout>\n )\n}\n\nexport const styles = `\n .nextjs-error-with-static {\n bottom: calc(16px * 4.5);\n }\n p.nextjs__container_errors__link {\n font-size: var(--size-14);\n }\n p.nextjs__container_errors__notes {\n color: var(--color-stack-notes);\n font-size: var(--size-14);\n line-height: 1.5;\n }\n .nextjs-container-errors-body > h2:not(:first-child) {\n margin-top: calc(16px + 8px);\n }\n .nextjs-container-errors-body > h2 {\n color: var(--color-title-color);\n margin-bottom: 8px;\n font-size: var(--size-20);\n }\n .nextjs-toast-errors-parent {\n cursor: pointer;\n transition: transform 0.2s ease;\n }\n .nextjs-toast-errors-parent:hover {\n transform: scale(1.1);\n }\n .nextjs-toast-errors {\n display: flex;\n align-items: center;\n justify-content: flex-start;\n }\n .nextjs-toast-errors > svg {\n margin-right: 8px;\n }\n .nextjs-toast-hide-button {\n margin-left: 24px;\n border: none;\n background: none;\n color: var(--color-ansi-bright-white);\n padding: 0;\n transition: opacity 0.25s ease;\n opacity: 0.7;\n }\n .nextjs-toast-hide-button:hover {\n opacity: 1;\n }\n .nextjs__container_errors__error_title {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 14px;\n }\n .error-overlay-notes-container {\n margin: 8px 2px;\n }\n .error-overlay-notes-container p {\n white-space: pre-wrap;\n }\n .nextjs__blocking_page_load_error_description {\n color: var(--color-stack-notes);\n }\n .nextjs__blocking_page_load_error_description_title {\n color: var(--color-title-color);\n }\n .nextjs__blocking_page_load_error_fix_option {\n background-color: var(--color-background-200);\n padding: 14px;\n border-radius: var(--rounded-md-2);\n border: 1px solid var(--color-gray-alpha-400);\n }\n .external-link, .external-link:hover {\n color:inherit;\n }\n`\n","import type { ReadyRuntimeError } from '../utils/get-error-by-type'\nimport type { HydrationErrorState } from '../../shared/hydration-error'\n\nimport { useMemo, useState } from 'react'\nimport { getErrorTypeLabel, useErrorDetails } from '../container/errors'\nimport { extractNextErrorCode } from '../../../lib/error-telemetry-utils'\n\nexport function useActiveRuntimeError({\n runtimeErrors,\n getSquashedHydrationErrorDetails,\n}: {\n runtimeErrors: ReadyRuntimeError[]\n getSquashedHydrationErrorDetails: (error: Error) => HydrationErrorState | null\n}) {\n const [activeIdx, setActiveIndex] = useState<number>(0)\n\n const isLoading = useMemo<boolean>(() => {\n return runtimeErrors.length === 0\n }, [runtimeErrors.length])\n\n const activeError = useMemo<ReadyRuntimeError | null>(\n () => runtimeErrors[activeIdx] ?? null,\n [activeIdx, runtimeErrors]\n )\n\n const errorDetails = useErrorDetails(\n activeError?.error,\n getSquashedHydrationErrorDetails\n )\n\n if (isLoading || !activeError) {\n return {\n isLoading,\n activeIdx,\n setActiveIndex,\n activeError: null,\n errorDetails: null,\n errorCode: null,\n errorType: null,\n }\n }\n\n const error = activeError.error\n const errorCode = extractNextErrorCode(error)\n const errorType = getErrorTypeLabel(error, activeError.type, errorDetails)\n\n return {\n isLoading,\n activeIdx,\n setActiveIndex,\n activeError,\n errorDetails,\n errorCode,\n errorType,\n }\n}\n","const ERROR_CODE_DELIMITER = '@'\n\n/**\n * Augments the digest field of errors thrown in React Server Components (RSC) with an error code.\n * Since RSC errors can only be serialized through the digest field, this provides a way to include\n * an additional error code that can be extracted client-side via `extractNextErrorCode`.\n *\n * The error code is appended to the digest string with a semicolon separator, allowing it to be\n * parsed out later while preserving the original digest value.\n */\nexport const createDigestWithErrorCode = (\n thrownValue: unknown,\n originalDigest: string\n): string => {\n if (\n typeof thrownValue === 'object' &&\n thrownValue !== null &&\n '__NEXT_ERROR_CODE' in thrownValue\n ) {\n return `${originalDigest}${ERROR_CODE_DELIMITER}${thrownValue.__NEXT_ERROR_CODE}`\n }\n return originalDigest\n}\n\nexport const extractNextErrorCode = (error: unknown): string | undefined => {\n if (\n typeof error === 'object' &&\n error !== null &&\n '__NEXT_ERROR_CODE' in error &&\n typeof error.__NEXT_ERROR_CODE === 'string'\n ) {\n return error.__NEXT_ERROR_CODE\n }\n\n if (\n typeof error === 'object' &&\n error !== null &&\n 'digest' in error &&\n typeof error.digest === 'string'\n ) {\n const segments = error.digest.split(ERROR_CODE_DELIMITER)\n const errorCode = segments.find((segment) => segment.startsWith('E'))\n return errorCode\n }\n\n return undefined\n}\n","export default function EyeIcon() {\n return (\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\">\n <path\n fill=\"currentColor\"\n fillRule=\"evenodd\"\n d=\"m.191 2.063.56.498 13.5 12 .561.498.997-1.121-.56-.498-1.81-1.608 2.88-3.342v-.98l-3.204-3.72C10.645.923 6.365.686 3.594 3.08L1.748 1.44 1.188.94.19 2.063ZM14.761 8l-2.442 2.836-1.65-1.466a3.001 3.001 0 0 0-4.342-3.86l-1.6-1.422a5.253 5.253 0 0 1 7.251.682L14.76 8ZM7.526 6.576l1.942 1.727a1.499 1.499 0 0 0-1.942-1.727Zm-7.845.935 1.722-2 1.137.979L1.24 8l2.782 3.23A5.25 5.25 0 0 0 9.9 12.703l.54 1.4a6.751 6.751 0 0 1-7.555-1.892L-.318 8.49v-.98Z\"\n clipRule=\"evenodd\"\n />\n </svg>\n )\n}\n","export default function LightIcon() {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"20\"\n height=\"16\"\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n >\n <g clipPath=\"url(#light_icon_clip_path)\">\n <path\n fill=\"currentColor\"\n fillRule=\"evenodd\"\n d=\"M8.75.75V0h-1.5v2h1.5V.75ZM3.26 4.32l-.53-.53-.354-.353-.53-.53 1.06-1.061.53.53.354.354.53.53-1.06 1.06Zm8.42-1.06.53-.53.353-.354.53-.53 1.061 1.06-.53.53-.354.354-.53.53-1.06-1.06ZM8 11.25a3.25 3.25 0 1 0 0-6.5 3.25 3.25 0 0 0 0 6.5Zm0 1.5a4.75 4.75 0 1 0 0-9.5 4.75 4.75 0 0 0 0 9.5Zm6-5.5h2v1.5h-2v-1.5Zm-13.25 0H0v1.5h2v-1.5H.75Zm1.62 5.32-.53.53 1.06 1.06.53-.53.354-.353.53-.53-1.06-1.061-.53.53-.354.354Zm10.2 1.06.53.53 1.06-1.06-.53-.53-.354-.354-.53-.53-1.06 1.06.53.53.353.354ZM8.75 14v2h-1.5v-2h1.5Z\"\n clipRule=\"evenodd\"\n />\n </g>\n <defs>\n <clipPath id=\"light_icon_clip_path\">\n <path fill=\"currentColor\" d=\"M0 0h16v16H0z\" />\n </clipPath>\n </defs>\n </svg>\n )\n}\n","export default function DarkIcon() {\n return (\n <svg\n data-testid=\"geist-icon\"\n height=\"16\"\n strokeLinejoin=\"round\"\n viewBox=\"0 0 16 16\"\n width=\"16\"\n >\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M1.5 8.00005C1.5 5.53089 2.99198 3.40932 5.12349 2.48889C4.88136 3.19858 4.75 3.95936 4.75 4.7501C4.75 8.61609 7.88401 11.7501 11.75 11.7501C11.8995 11.7501 12.048 11.7454 12.1953 11.7361C11.0955 13.1164 9.40047 14.0001 7.5 14.0001C4.18629 14.0001 1.5 11.3138 1.5 8.00005ZM6.41706 0.577759C2.78784 1.1031 0 4.22536 0 8.00005C0 12.1422 3.35786 15.5001 7.5 15.5001C10.5798 15.5001 13.2244 13.6438 14.3792 10.9921L13.4588 9.9797C12.9218 10.155 12.3478 10.2501 11.75 10.2501C8.71243 10.2501 6.25 7.78767 6.25 4.7501C6.25 3.63431 6.58146 2.59823 7.15111 1.73217L6.41706 0.577759ZM13.25 1V1.75V2.75L14.25 2.75H15V4.25H14.25H13.25V5.25V6H11.75V5.25V4.25H10.75L10 4.25V2.75H10.75L11.75 2.75V1.75V1H13.25Z\"\n fill=\"currentColor\"\n ></path>\n </svg>\n )\n}\n","export default function SystemIcon() {\n return (\n <svg width=\"16\" height=\"16\" strokeLinejoin=\"round\">\n <path\n fill=\"currentColor\"\n fillRule=\"evenodd\"\n d=\"M0 2a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v8.5a1 1 0 0 1-1 1H8.75v3h1.75V16h-5v-1.5h1.75v-3H1a1 1 0 0 1-1-1V2Zm1.5.5V10h13V2.5h-13Z\"\n clipRule=\"evenodd\"\n />\n </svg>\n )\n}\n","import type { JSX } from 'react'\nimport { useState, useRef } from 'react'\nimport { css } from '../../../../utils/css'\n\nconst SUCCESS_SHOW_DELAY_MS = 180\nconst SUCCESS_FADE_DELAY_MS = 1000\n\nconst modifierKeys = ['Meta', 'Control', 'Ctrl', 'Alt', 'Option', 'Shift']\n\nexport function ShortcutRecorder({\n value,\n onChange,\n}: {\n value: string[] | null\n onChange: (value: string | null) => void\n}) {\n const [pristine, setPristine] = useState(true)\n const [show, setShow] = useState(false)\n const [keys, setKeys] = useState<string[]>(value ?? [])\n const [success, setSuccess] = useState<boolean>(false)\n const timeoutRef = useRef<number | null>(null)\n const buttonRef = useRef<HTMLButtonElement>(null)\n const hasShortcut = Boolean(value) || keys.length > 0\n\n function handleKeyDown(e: React.KeyboardEvent<HTMLButtonElement>) {\n // Don't handle events from the Clear button\n if (e.target !== buttonRef.current) return\n if (e.key === 'Tab') return\n if (timeoutRef.current) clearTimeout(timeoutRef.current)\n\n if (!show) {\n setShow(true)\n }\n\n // Reset current shortcut on first key press\n // if this is a fresh recording session\n if (pristine) {\n setKeys([])\n setPristine(false)\n }\n\n function handleValidation(next: string[]) {\n timeoutRef.current = window.setTimeout(() => {\n setSuccess(true)\n onChange(next.join('+'))\n timeoutRef.current = window.setTimeout(() => {\n setShow(false)\n }, SUCCESS_FADE_DELAY_MS)\n }, SUCCESS_SHOW_DELAY_MS)\n }\n\n e.preventDefault()\n e.stopPropagation()\n\n setKeys((prev) => {\n // Don't add duplicate keys\n if (prev.includes(e.code) || prev.includes(e.key)) return prev\n\n /**\n * Why are we using `e.code` for non-modifier keys?\n *\n * Consider this keybind: Alt + L\n *\n * If we capture `e.key` here then it will correspond to an awkward symbol (¬)\n * because pressing Alt + L creates this symbol.\n *\n * While `e.code` will give us `KeyL` as the value which we also later use in\n * `useShortcuts()` to match the keybind correctly without relying on modifier symbols.\n */\n // Handle non-modifier keys (action keys)\n if (!modifierKeys.includes(e.key)) {\n // Replace existing non-modifier key if present\n const existingNonModifierIndex = prev.findIndex(\n (key) => !modifierKeys.includes(key)\n )\n if (existingNonModifierIndex !== -1) {\n const next = [...prev]\n next[existingNonModifierIndex] = e.code\n handleValidation(next)\n return next\n }\n // Add new non-modifier key at the end\n const next = [...prev, e.code]\n handleValidation(next)\n return next\n }\n\n // Handle modifier keys\n const next = [...prev]\n\n // Find the correct position for the modifier key based on predefined order\n const keyOrderIndex = modifierKeys.indexOf(e.key)\n let insertIndex = 0\n\n // Find where to insert by checking existing modifier keys\n for (let i = 0; i < next.length; i++) {\n if (modifierKeys.includes(next[i])) {\n const existingOrderIndex = modifierKeys.indexOf(next[i])\n if (keyOrderIndex < existingOrderIndex) {\n insertIndex = i\n break\n }\n insertIndex = i + 1\n } else {\n // Stop at first non-modifier key\n break\n }\n }\n\n next.splice(insertIndex, 0, e.key)\n handleValidation(next)\n return next\n })\n }\n\n function clear() {\n buttonRef.current?.focus()\n setKeys([])\n setSuccess(false)\n setTimeout(() => {\n setShow(true)\n })\n onChange(null)\n }\n\n function onBlur() {\n setSuccess(false)\n setShow(false)\n setPristine(true)\n }\n\n function onStart() {\n // Clear out timeouts for hiding the tooltip after success\n if (timeoutRef.current) clearTimeout(timeoutRef.current)\n setShow(true)\n buttonRef.current?.focus()\n }\n\n return (\n <div className=\"shortcut-recorder\">\n <button\n className=\"shortcut-recorder-button\"\n ref={buttonRef}\n onClick={onStart}\n onFocus={onStart}\n onBlur={onBlur}\n onKeyDown={handleKeyDown}\n data-has-shortcut={hasShortcut}\n data-shortcut-recorder=\"true\"\n >\n {!hasShortcut ? (\n 'Record Shortcut'\n ) : (\n <div className=\"shortcut-recorder-keys\">\n {keys.map((key) => (\n <Kbd key={key}>{key}</Kbd>\n ))}\n </div>\n )}\n {hasShortcut && (\n <div\n className=\"shortcut-recorder-clear-button\"\n role=\"button\"\n onClick={clear}\n onFocus={(e) => e.stopPropagation()}\n onKeyDown={(e) => {\n if (e.key === 'Enter' || e.key === ' ') {\n clear()\n e.stopPropagation()\n }\n }}\n aria-label=\"Clear shortcut\"\n tabIndex={0}\n >\n <IconCross />\n </div>\n )}\n </button>\n <div className=\"shortcut-recorder-tooltip\" data-show={show}>\n <div className=\"shortcut-recorder-status\">\n <div\n className=\"shortcut-recorder-status-icon\"\n data-success={success}\n />\n {success ? 'Shortcut set' : 'Recording'}\n </div>\n <BottomArrow />\n </div>\n </div>\n )\n}\n\nfunction BottomArrow() {\n return (\n <svg\n fill=\"none\"\n height=\"6\"\n viewBox=\"0 0 14 6\"\n width=\"14\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M13.8284 0H0.17157C0.702003 0 1.21071 0.210714 1.58578 0.585787L5.58578 4.58579C6.36683 5.36684 7.63316 5.36683 8.41421 4.58579L12.4142 0.585786C12.7893 0.210714 13.298 0 13.8284 0Z\"\n fill=\"var(--background)\"\n />\n </svg>\n )\n}\n\nfunction Kbd({ children }: { children: string }) {\n function renderKey(key: string) {\n switch (key) {\n case 'Meta':\n // Command symbol (⌘) on macOS\n // On non-macOS, shows \"Ctrl\"\n return <MetaKey />\n case 'Alt':\n case 'Option':\n // Option symbol (⌥)\n return '⌥'\n case 'Control':\n case 'Ctrl':\n // Control abbreviation\n return 'Ctrl'\n case 'Shift':\n // Shift symbol (⇧)\n return '⇧'\n case 'Enter':\n // Enter symbol (⏎)\n return '⏎'\n case 'Escape':\n case 'Esc':\n return 'Esc'\n case ' ':\n case 'Space':\n case 'Spacebar':\n return 'Space'\n case 'ArrowUp':\n return '↑'\n case 'ArrowDown':\n return '↓'\n case 'ArrowLeft':\n return '←'\n case 'ArrowRight':\n return '→'\n case 'Tab':\n return 'Tab'\n case 'Backspace':\n return '⌫'\n case 'Delete':\n return '⌦'\n default:\n // Capitalize single letters, otherwise show as-is\n if (children.length === 1) {\n return children.toUpperCase()\n }\n return children\n }\n }\n const key = renderKey(children)\n const isSymbol = typeof key === 'string' ? key.length === 1 : false\n return <kbd data-symbol={isSymbol}>{parseKeyCode(key)}</kbd>\n}\n\nfunction parseKeyCode(code: string | JSX.Element) {\n if (typeof code !== 'string') return code\n\n // Map common KeyboardEvent.code values to their corresponding key values\n const codeToKeyMap: Record<string, string> = {\n Minus: '-',\n Equal: '=',\n BracketLeft: '[',\n BracketRight: ']',\n Backslash: '\\\\',\n Semicolon: ';',\n Quote: \"'\",\n Comma: ',',\n Period: '.',\n Backquote: '`',\n Space: ' ',\n Slash: '/',\n IntlBackslash: '\\\\',\n // Add more as needed\n }\n\n if (codeToKeyMap[code]) {\n return codeToKeyMap[code]\n }\n\n // Handle KeyA-Z, Digit0-9, Numpad0-9, NumpadAdd, etc.\n if (/^Key([A-Z])$/.test(code)) {\n return code.replace(/^Key/, '')\n }\n if (/^Digit([0-9])$/.test(code)) {\n return code.replace(/^Digit/, '')\n }\n if (/^Numpad([0-9])$/.test(code)) {\n return code.replace(/^Numpad/, '')\n }\n if (code === 'NumpadAdd') return '+'\n if (code === 'NumpadSubtract') return '-'\n if (code === 'NumpadMultiply') return '*'\n if (code === 'NumpadDivide') return '/'\n if (code === 'NumpadDecimal') return '.'\n if (code === 'NumpadEnter') return 'Enter'\n\n return code\n}\n\nfunction MetaKey() {\n const label = isApple()\n ? // Meta is Command on Apple devices, otherwise Control\n '⌘'\n : // Explicitly say \"Ctrl\" instead of the symbol \"⌃\"\n // because most Windows/Linux laptops do not print the symbol\n // Other keyboard-intensive apps like Linear do this\n 'Ctrl'\n\n return (\n <span style={{ minWidth: '1em', display: 'inline-block' }}>{label}</span>\n )\n}\n\nfunction IconCross() {\n return (\n <svg height=\"16\" strokeLinejoin=\"round\" viewBox=\"0 0 16 16\" width=\"16\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M12.4697 13.5303L13 14.0607L14.0607 13L13.5303 12.4697L9.06065 7.99999L13.5303 3.53032L14.0607 2.99999L13 1.93933L12.4697 2.46966L7.99999 6.93933L3.53032 2.46966L2.99999 1.93933L1.93933 2.99999L2.46966 3.53032L6.93933 7.99999L2.46966 12.4697L1.93933 13L2.99999 14.0607L3.53032 13.5303L7.99999 9.06065L12.4697 13.5303Z\"\n fill=\"currentColor\"\n />\n </svg>\n )\n}\n\nexport const SHORTCUT_RECORDER_STYLES = css`\n .shortcut-recorder {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 8px;\n position: relative;\n font-family: var(--font-stack-sans);\n\n .shortcut-recorder-button {\n display: flex;\n align-items: center;\n gap: 4px;\n background: transparent;\n border: 1px dashed var(--color-gray-500);\n border-radius: var(--rounded-lg);\n padding: 6px 8px;\n font-weight: 400;\n font-size: var(--size-14);\n color: var(--color-gray-1000);\n transition: border-color 150ms var(--timing-swift);\n\n &[data-has-shortcut='true'] {\n border: 1px solid var(--color-gray-alpha-400);\n\n &:hover {\n border-color: var(--color-gray-500);\n }\n }\n\n &:hover {\n border-color: var(--color-gray-600);\n }\n\n &::placeholder {\n color: var(--color-gray-900);\n }\n\n &[data-pristine='false']::placeholder {\n color: transparent;\n }\n\n &:focus-visible {\n outline: var(--focus-ring);\n outline-offset: -1px;\n }\n }\n\n kbd {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n font-family: var(--font-stack-sans);\n background: var(--color-gray-200);\n min-width: 20px;\n height: 20px;\n font-size: 14px;\n border-radius: 4px;\n color: var(--color-gray-1000);\n\n &[data-symbol='false'] {\n padding: 0 4px;\n }\n }\n\n .shortcut-recorder-clear-button {\n cursor: pointer;\n color: var(--color-gray-1000);\n width: 20px;\n height: 20px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 4px;\n transition: background 150ms var(--timing-swift);\n\n &:hover {\n background: var(--color-gray-300);\n }\n\n &:focus-visible {\n outline: var(--focus-ring);\n }\n\n svg {\n width: 14px;\n height: 14px;\n }\n }\n }\n\n .shortcut-recorder-keys {\n pointer-events: none;\n user-select: none;\n display: flex;\n align-items: center;\n gap: 2px;\n }\n\n .shortcut-recorder-tooltip {\n --gap: 8px;\n --background: var(--color-gray-1000);\n background: var(--background);\n color: var(--color-background-100);\n font-size: var(--size-14);\n padding: 4px 8px;\n border-radius: 8px;\n position: absolute;\n bottom: calc(100% + var(--gap));\n text-align: center;\n opacity: 0;\n scale: 0.96;\n white-space: nowrap;\n user-select: none;\n transition:\n opacity 150ms var(--timing-swift),\n scale 150ms var(--timing-swift);\n\n &[data-show='true'] {\n opacity: 1;\n scale: 1;\n }\n\n svg {\n position: absolute;\n transform: translateX(-50%);\n bottom: -6px;\n left: 50%;\n }\n\n .shortcut-recorder-status {\n display: flex;\n align-items: center;\n gap: 6px;\n }\n\n .shortcut-recorder-status-icon {\n width: 7px;\n height: 7px;\n border-radius: 50%;\n flex-shrink: 0;\n background: var(--color-red-700);\n\n &[data-success='true'] {\n background: var(--color-green-700);\n }\n }\n }\n`\n\n///////////////////////////////////////////////////////////////////////////////////////////////////\n\nfunction testPlatform(re: RegExp): boolean | undefined {\n return window.navigator != null\n ? re.test(window.navigator.platform)\n : undefined\n}\n\nfunction isMac(): boolean | undefined {\n return testPlatform(/^Mac/)\n}\n\nfunction isIPhone(): boolean | undefined {\n return testPlatform(/^iPhone/)\n}\n\nfunction isIPad(): boolean | undefined {\n return (\n testPlatform(/^iPad/) ||\n // iPadOS 13 lies and says it's a Mac, but we can distinguish by detecting touch support.\n (isMac() && navigator.maxTouchPoints > 1)\n )\n}\n\nfunction isApple(): boolean | undefined {\n return isMac() || isIPhone() || isIPad()\n}\n","import type { DevToolsConfig } from '../dev-overlay/shared'\nimport { z } from 'next/dist/compiled/zod'\n\nexport const devToolsConfigSchema: z.ZodType<DevToolsConfig> = z.object({\n theme: z.enum(['light', 'dark', 'system']).optional(),\n disableDevIndicator: z.boolean().optional(),\n devToolsPosition: z\n .enum(['top-left', 'top-right', 'bottom-left', 'bottom-right'])\n .optional(),\n devToolsPanelPosition: z\n .record(\n z.string(),\n z.enum(['top-left', 'top-right', 'bottom-left', 'bottom-right'])\n )\n .optional(),\n devToolsPanelSize: z\n .record(z.string(), z.object({ width: z.number(), height: z.number() }))\n .optional(),\n scale: z.number().optional(),\n hideShortcut: z.string().nullable().optional(),\n})\n","import type { DevToolsConfig } from '../shared'\nimport { devToolsConfigSchema } from '../../shared/devtools-config-schema'\nimport { deepMerge } from '../../shared/deepmerge'\n\nlet queuedConfigPatch: DevToolsConfig = {}\nlet timer: ReturnType<typeof setTimeout> | null = null\n\nfunction flushPatch() {\n if (Object.keys(queuedConfigPatch).length === 0) {\n return\n }\n\n const body = JSON.stringify(queuedConfigPatch)\n queuedConfigPatch = {}\n\n fetch('/__nextjs_devtools_config', {\n method: 'POST',\n headers: { 'Content-Type': 'application/json' },\n body,\n // keepalive in case of fetch interrupted, e.g. navigation or reload\n keepalive: true,\n }).catch((error) => {\n console.warn('[Next.js DevTools] Failed to save config:', {\n data: body,\n error,\n })\n })\n}\n\nexport function saveDevToolsConfig(patch: DevToolsConfig) {\n const validation = devToolsConfigSchema.safeParse(patch)\n if (!validation.success) {\n console.warn(\n '[Next.js DevTools] Invalid config patch:',\n validation.error.message\n )\n return\n }\n\n queuedConfigPatch = deepMerge(queuedConfigPatch, patch)\n\n if (timer) {\n clearTimeout(timer)\n }\n\n timer = setTimeout(flushPatch, 120)\n}\n","export function deepMerge(target: any, source: any): any {\n if (!source || typeof source !== 'object' || Array.isArray(source)) {\n return source\n }\n\n if (!target || typeof target !== 'object' || Array.isArray(target)) {\n return source\n }\n\n const result = { ...target }\n\n for (const key in source) {\n const sourceValue = source[key]\n const targetValue = target[key]\n\n if (sourceValue !== undefined) {\n if (\n sourceValue &&\n typeof sourceValue === 'object' &&\n !Array.isArray(sourceValue) &&\n targetValue &&\n typeof targetValue === 'object' &&\n !Array.isArray(targetValue)\n ) {\n result[key] = deepMerge(targetValue, sourceValue)\n } else {\n result[key] = sourceValue\n }\n }\n }\n\n return result\n}\n","import type {\n DevToolsIndicatorPosition,\n DevToolsScale,\n} from '../../../../shared'\n\nimport { useDevOverlayContext } from '../../../../../dev-overlay.browser'\nimport { css } from '../../../../utils/css'\nimport EyeIcon from '../../../../icons/eye-icon'\nimport { NEXT_DEV_TOOLS_SCALE } from '../../../../shared'\nimport LightIcon from '../../../../icons/light-icon'\nimport DarkIcon from '../../../../icons/dark-icon'\nimport SystemIcon from '../../../../icons/system-icon'\nimport { ShortcutRecorder } from './shortcut-recorder'\nimport { useRestartServer } from '../../error-overlay-toolbar/use-restart-server'\nimport { saveDevToolsConfig } from '../../../../utils/save-devtools-config'\n\nexport function UserPreferencesBody({\n theme,\n hide,\n hideShortcut,\n setHideShortcut,\n scale,\n setPosition,\n setScale,\n position,\n}: {\n theme: 'dark' | 'light' | 'system'\n hide: () => void\n hideShortcut: string | null\n setHideShortcut: (value: string | null) => void\n setPosition: (position: DevToolsIndicatorPosition) => void\n position: DevToolsIndicatorPosition\n scale: DevToolsScale\n setScale: (value: DevToolsScale) => void\n}) {\n const { restartServer, isPending } = useRestartServer()\n const { shadowRoot } = useDevOverlayContext()\n\n const handleThemeChange = (e: React.ChangeEvent<HTMLSelectElement>) => {\n const portal = shadowRoot.host\n if (e.target.value === 'system') {\n portal.classList.remove('dark')\n portal.classList.remove('light')\n saveDevToolsConfig({ theme: 'system' })\n return\n }\n\n if (e.target.value === 'dark') {\n portal.classList.add('dark')\n portal.classList.remove('light')\n saveDevToolsConfig({ theme: 'dark' })\n } else {\n portal.classList.remove('dark')\n portal.classList.add('light')\n saveDevToolsConfig({ theme: 'light' })\n }\n }\n\n function handlePositionChange(e: React.ChangeEvent<HTMLSelectElement>) {\n setPosition(e.target.value as DevToolsIndicatorPosition)\n saveDevToolsConfig({\n devToolsPosition: e.target.value as DevToolsIndicatorPosition,\n })\n }\n\n function handleSizeChange({ target }: React.ChangeEvent<HTMLSelectElement>) {\n const value = Number(target.value) as DevToolsScale\n setScale(value)\n saveDevToolsConfig({ scale: value })\n }\n\n return (\n <div className=\"preferences-container\">\n <div className=\"preference-section\">\n <div className=\"preference-header\">\n <label htmlFor=\"theme\">Theme</label>\n <p className=\"preference-description\">\n Select your theme preference.\n </p>\n </div>\n <Select\n id=\"theme\"\n name=\"theme\"\n prefix={<ThemeIcon theme={theme as 'dark' | 'light' | 'system'} />}\n value={theme}\n onChange={handleThemeChange}\n >\n <option value=\"system\">System</option>\n <option value=\"light\">Light</option>\n <option value=\"dark\">Dark</option>\n </Select>\n </div>\n\n <div className=\"preference-section\">\n <div className=\"preference-header\">\n <label htmlFor=\"position\">Position</label>\n <p className=\"preference-description\">\n Adjust the placement of your dev tools.\n </p>\n </div>\n <Select\n id=\"position\"\n name=\"position\"\n value={position}\n onChange={handlePositionChange}\n >\n <option value=\"bottom-left\">Bottom Left</option>\n <option value=\"bottom-right\">Bottom Right</option>\n <option value=\"top-left\">Top Left</option>\n <option value=\"top-right\">Top Right</option>\n </Select>\n </div>\n\n <div className=\"preference-section\">\n <div className=\"preference-header\">\n <label htmlFor=\"size\">Size</label>\n <p className=\"preference-description\">\n Adjust the size of your dev tools.\n </p>\n </div>\n <Select id=\"size\" name=\"size\" value={scale} onChange={handleSizeChange}>\n {Object.entries(NEXT_DEV_TOOLS_SCALE).map(([key, value]) => {\n return (\n <option value={value} key={key}>\n {key}\n </option>\n )\n })}\n </Select>\n </div>\n\n <div className=\"preference-section\">\n <div className=\"preference-header\">\n <label id=\"hide-dev-tools\">Hide Dev Tools for this session</label>\n <p className=\"preference-description\">\n Hide Dev Tools until you restart your dev server, or 1 day.\n </p>\n </div>\n <div className=\"preference-control\">\n <button\n aria-describedby=\"hide-dev-tools\"\n name=\"hide-dev-tools\"\n data-hide-dev-tools\n className=\"action-button\"\n onClick={hide}\n >\n <EyeIcon />\n <span>Hide</span>\n </button>\n </div>\n </div>\n\n <div className=\"preference-section\">\n <div className=\"preference-header\">\n <label id=\"hide-dev-tools\">Hide Dev Tools shortcut</label>\n <p className=\"preference-description\">\n Set a custom keyboard shortcut to toggle visibility.\n </p>\n </div>\n <div className=\"preference-control\">\n <ShortcutRecorder\n value={hideShortcut?.split('+') ?? null}\n onChange={setHideShortcut}\n />\n </div>\n </div>\n\n <div className=\"preference-section\">\n <div className=\"preference-header\">\n <label>Disable Dev Tools for this project</label>\n <p className=\"preference-description\">\n To disable this UI completely, set{' '}\n <code className=\"dev-tools-info-code\">devIndicators: false</code> in\n your <code className=\"dev-tools-info-code\">next.config</code> file.\n </p>\n </div>\n </div>\n\n <div className=\"preference-section\">\n <div className=\"preference-header\">\n <label id=\"restart-dev-server\">Restart Dev Server</label>\n <p className=\"preference-description\">\n Restarts the development server without needing to leave the\n browser.\n </p>\n </div>\n <div className=\"preference-control\">\n <button\n aria-describedby=\"restart-dev-server\"\n title=\"Restarts the development server without needing to leave the browser.\"\n name=\"restart-dev-server\"\n data-restart-dev-server\n className=\"action-button\"\n onClick={() => restartServer({ invalidateFileSystemCache: false })}\n disabled={isPending}\n >\n <span>Restart</span>\n </button>\n </div>\n </div>\n\n {process.env.__NEXT_BUNDLER_HAS_PERSISTENT_CACHE ? (\n <div className=\"preference-section\">\n <div className=\"preference-header\">\n <label id=\"reset-bundler-cache\">Reset Bundler Cache</label>\n <p className=\"preference-description\">\n Clears the bundler cache and restarts the dev server. Helpful if\n you are seeing stale errors or changes are not appearing.\n </p>\n </div>\n <div className=\"preference-control\">\n <button\n aria-describedby=\"reset-bundler-cache\"\n title=\"Clears the bundler cache and restarts the dev server. Helpful if you are seeing stale errors or changes are not appearing.\"\n name=\"reset-bundler-cache\"\n data-reset-bundler-cache\n className=\"action-button\"\n onClick={() => restartServer({ invalidateFileSystemCache: true })}\n disabled={isPending}\n >\n <span>Reset Cache</span>\n </button>\n </div>\n </div>\n ) : null}\n </div>\n )\n}\n\nfunction Select({\n children,\n prefix,\n ...props\n}: {\n prefix?: React.ReactNode\n} & Omit<React.HTMLProps<HTMLSelectElement>, 'prefix'>) {\n return (\n <div className=\"select-button\">\n {prefix}\n <select {...props}>{children}</select>\n <ChevronDownIcon />\n </div>\n )\n}\n\nfunction ThemeIcon({ theme }: { theme: 'dark' | 'light' | 'system' }) {\n switch (theme) {\n case 'system':\n return <SystemIcon />\n case 'dark':\n return <DarkIcon />\n case 'light':\n return <LightIcon />\n default:\n return null\n }\n}\n\nexport const DEV_TOOLS_INFO_USER_PREFERENCES_STYLES = css`\n .preferences-container {\n width: 100%;\n }\n\n @media (min-width: 576px) {\n .preferences-container {\n width: 480px;\n }\n }\n\n .preference-section:first-child {\n padding-top: 0;\n }\n\n .preference-section {\n padding: 12px 0;\n border-bottom: 1px solid var(--color-gray-400);\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: 24px;\n }\n\n .preference-section:last-child {\n border-bottom: none;\n }\n\n .preference-header {\n margin-bottom: 0;\n flex: 1;\n }\n\n .preference-header label {\n font-size: var(--size-14);\n font-weight: 500;\n color: var(--color-gray-1000);\n margin: 0;\n }\n\n .preference-description {\n color: var(--color-gray-900);\n font-size: var(--size-14);\n margin: 0;\n }\n\n .select-button,\n .action-button {\n display: flex;\n align-items: center;\n gap: 8px;\n background: var(--color-background-100);\n border: 1px solid var(--color-gray-400);\n border-radius: var(--rounded-lg);\n font-weight: 400;\n font-size: var(--size-14);\n color: var(--color-gray-1000);\n padding: 6px 8px;\n transition: border-color 150ms var(--timing-swift);\n\n &:hover {\n border-color: var(--color-gray-500);\n }\n\n svg {\n width: 14px;\n height: 14px;\n overflow: visible;\n }\n }\n\n .select-button {\n &:focus-within {\n outline: var(--focus-ring);\n outline-offset: -1px;\n }\n\n select {\n all: unset;\n }\n\n option {\n color: var(--color-gray-1000);\n background: var(--color-background-100);\n }\n }\n\n .preference-section button:disabled {\n opacity: 0.6;\n cursor: not-allowed;\n }\n\n :global(.icon) {\n width: 18px;\n height: 18px;\n color: #666;\n }\n`\n\nfunction ChevronDownIcon() {\n return (\n <svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" aria-hidden>\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M14.0607 5.49999L13.5303 6.03032L8.7071 10.8535C8.31658 11.2441 7.68341 11.2441 7.29289 10.8535L2.46966 6.03032L1.93933 5.49999L2.99999 4.43933L3.53032 4.96966L7.99999 9.43933L12.4697 4.96966L13 4.43933L14.0607 5.49999Z\"\n fill=\"currentColor\"\n />\n </svg>\n )\n}\n","import { useState } from 'react'\n\nexport function useRestartServer() {\n const [isPending, setIsPending] = useState(false)\n\n const restartServer = async ({\n invalidateFileSystemCache,\n }: {\n invalidateFileSystemCache: boolean\n }): Promise<void> => {\n setIsPending(true)\n\n const url = invalidateFileSystemCache\n ? '/__nextjs_restart_dev?invalidateFileSystemCache=1'\n : '/__nextjs_restart_dev'\n\n let serverRestarted = false\n\n try {\n const curId = await fetch('/__nextjs_server_status')\n .then((res) => res.json())\n .then((data) => data.executionId as number)\n .catch((error) => {\n console.log(\n '[Next.js DevTools] Failed to fetch server status while restarting dev server.',\n error\n )\n return null\n })\n\n if (!curId) {\n console.log(\n '[Next.js DevTools] Failed to get the current server execution ID while restarting dev server.'\n )\n return\n }\n\n const restartRes = await fetch(url, {\n method: 'POST',\n })\n\n if (!restartRes.ok) {\n // Use console log to avoid spamming the error overlay which users can't control.\n console.log(\n '[Next.js DevTools] Failed to fetch restart server endpoint. Status:',\n restartRes.status\n )\n return\n }\n\n // Poll for server restart confirmation.\n for (let i = 0; i < 10; i++) {\n // generous 1 second delay for large apps.\n await new Promise((resolveTimeout) => setTimeout(resolveTimeout, 1_000))\n\n try {\n const nextId = await fetch('/__nextjs_server_status')\n .then((res) => res.json())\n .then((data) => data.executionId as number)\n\n // If the execution ID has changed, the server has restarted successfully.\n if (curId !== nextId) {\n serverRestarted = true\n // Reload the page to ensure the connection to the new server.\n window.location.reload()\n return\n }\n } catch (e) {\n continue\n }\n }\n\n console.log(\n '[Next.js DevTools] Failed to restart server. Exhausted all polling attempts.'\n )\n return\n } catch (error) {\n console.log('[Next.js DevTools] Failed to restart server.', error)\n return\n } finally {\n // If server restarted, don't reset isPending since the page will reload.\n if (!serverRestarted) {\n setIsPending(false)\n }\n }\n }\n\n return {\n restartServer,\n isPending,\n }\n}\n","import { CODE_FRAME_STYLES } from '../components/code-frame/code-frame'\nimport { styles as dialog } from '../components/dialog'\nimport { styles as errorLayout } from '../components/errors/error-overlay-layout/error-overlay-layout'\nimport { styles as bottomStack } from '../components/errors/error-overlay-bottom-stack'\nimport { styles as pagination } from '../components/errors/error-overlay-pagination/error-overlay-pagination'\nimport { styles as overlay } from '../components/overlay/styles'\nimport { styles as footer } from '../components/errors/error-overlay-footer/error-overlay-footer'\nimport { TERMINAL_STYLES } from '../components/terminal/terminal'\nimport { styles as versionStaleness } from '../components/version-staleness-info/version-staleness-info'\nimport { styles as buildErrorStyles } from '../container/build-error'\nimport { styles as containerErrorStyles } from '../container/errors'\nimport { styles as containerRuntimeErrorStyles } from '../container/runtime-error'\nimport { COPY_BUTTON_STYLES } from '../components/copy-button'\nimport { CALL_STACK_FRAME_STYLES } from '../components/call-stack-frame/call-stack-frame'\nimport { css } from '../utils/css'\nimport { EDITOR_LINK_STYLES } from '../components/terminal/editor-link'\nimport { ENVIRONMENT_NAME_LABEL_STYLES } from '../components/errors/environment-name-label/environment-name-label'\nimport { DEV_TOOLS_INFO_USER_PREFERENCES_STYLES } from '../components/errors/dev-tools-indicator/dev-tools-info/user-preferences'\nimport { FADER_STYLES } from '../components/fader'\nimport { CALL_STACK_STYLES } from '../components/call-stack/call-stack'\nimport { SHORTCUT_RECORDER_STYLES } from '../components/errors/dev-tools-indicator/dev-tools-info/shortcut-recorder'\n\nexport function ComponentStyles() {\n return (\n <style>\n {css`\n ${COPY_BUTTON_STYLES}\n ${CALL_STACK_FRAME_STYLES}\n ${CALL_STACK_STYLES}\n ${ENVIRONMENT_NAME_LABEL_STYLES}\n ${overlay}\n ${dialog}\n ${errorLayout}\n ${footer}\n ${bottomStack}\n ${pagination}\n ${CODE_FRAME_STYLES}\n ${TERMINAL_STYLES}\n ${EDITOR_LINK_STYLES}\n ${buildErrorStyles}\n ${containerErrorStyles}\n ${containerRuntimeErrorStyles}\n ${versionStaleness}\n ${DEV_TOOLS_INFO_USER_PREFERENCES_STYLES}\n ${FADER_STYLES}\n ${SHORTCUT_RECORDER_STYLES}\n `}\n </style>\n )\n}\n","import { useState, useEffect } from 'react'\n\ninterface Options {\n enterDelay?: number\n exitDelay?: number\n onUnmount?: () => void\n}\n\ntype Timeout = ReturnType<typeof setTimeout>\n\n/**\n * Useful to perform CSS transitions on React components without\n * using libraries like Framer Motion. This hook will defer the\n * unmount of a React component until after a delay.\n *\n * @param active - Whether the component should be rendered\n * @param options - Options for the delayed render\n * @param options.enterDelay - Delay before rendering the component\n * @param options.exitDelay - Delay before unmounting the component\n *\n * const Modal = ({ active }) => {\n * const { mounted, rendered } = useDelayedRender(active, {\n * exitDelay: 2000,\n * })\n *\n * if (!mounted) return null\n *\n * return (\n * <Portal>\n * <div className={rendered ? 'modal visible' : 'modal'}>...</div>\n * </Portal>\n * )\n *}\n *\n * */\nexport function useDelayedRender(active = false, options: Options = {}) {\n const [mounted, setMounted] = useState(active)\n const [rendered, setRendered] = useState(false)\n\n const { enterDelay = 1, exitDelay = 0 } = options\n useEffect(() => {\n let renderTimeout: Timeout | undefined\n let unmountTimeout: Timeout | undefined\n\n if (active) {\n // eslint-disable-next-line react-hooks/set-state-in-effect -- intentional cascading update\n setMounted(true)\n if (enterDelay <= 0) {\n setRendered(true)\n } else {\n renderTimeout = setTimeout(() => {\n setRendered(true)\n }, enterDelay)\n }\n } else {\n setRendered(false)\n if (exitDelay <= 0) {\n setMounted(false)\n } else {\n unmountTimeout = setTimeout(() => {\n setMounted(false)\n }, exitDelay)\n }\n }\n\n return () => {\n clearTimeout(renderTimeout)\n clearTimeout(unmountTimeout)\n }\n }, [active, enterDelay, exitDelay])\n\n return { mounted, rendered }\n}\n","import {\n ACTION_ERROR_OVERLAY_CLOSE,\n type OverlayDispatch,\n type OverlayState,\n} from '../../../shared'\n\nimport { Suspense } from 'react'\nimport { BuildError } from '../../../container/build-error'\nimport { Errors } from '../../../container/errors'\nimport { useDelayedRender } from '../../../hooks/use-delayed-render'\nimport type { ReadyRuntimeError } from '../../../utils/get-error-by-type'\nimport type { HydrationErrorState } from '../../../../shared/hydration-error'\n\nconst transitionDurationMs = 200\n\nexport interface ErrorBaseProps {\n rendered: boolean\n transitionDurationMs: number\n isTurbopack: boolean\n versionInfo: OverlayState['versionInfo']\n errorCount: number\n}\n\nexport function ErrorOverlay({\n state,\n dispatch,\n getSquashedHydrationErrorDetails,\n runtimeErrors,\n errorCount,\n}: {\n state: OverlayState\n dispatch: OverlayDispatch\n getSquashedHydrationErrorDetails: (error: Error) => HydrationErrorState | null\n runtimeErrors: ReadyRuntimeError[]\n errorCount: number\n}) {\n const isTurbopack = !!process.env.TURBOPACK\n\n // This hook lets us do an exit animation before unmounting the component\n const { mounted, rendered } = useDelayedRender(state.isErrorOverlayOpen, {\n exitDelay: transitionDurationMs,\n })\n\n const commonProps = {\n rendered,\n transitionDurationMs,\n isTurbopack,\n versionInfo: state.versionInfo,\n errorCount,\n }\n\n if (state.buildError !== null) {\n return (\n <BuildError\n {...commonProps}\n message={state.buildError}\n // This is not a runtime error, forcedly display error overlay\n rendered\n />\n )\n }\n\n // No Runtime Errors.\n if (!runtimeErrors.length) {\n // Workaround React quirk that triggers \"Switch to client-side rendering\" if\n // we return no Suspense boundary here.\n return <Suspense />\n }\n\n if (!mounted) {\n // Workaround React quirk that triggers \"Switch to client-side rendering\" if\n // we return no Suspense boundary here.\n return <Suspense />\n }\n\n return (\n <Errors\n {...commonProps}\n debugInfo={state.debugInfo}\n getSquashedHydrationErrorDetails={getSquashedHydrationErrorDetails}\n runtimeErrors={runtimeErrors}\n onClose={() => {\n dispatch({ type: ACTION_ERROR_OVERLAY_CLOSE })\n }}\n />\n )\n}\n","import type { OverlayState } from '../../shared'\nimport type { StackFrame } from '../../../shared/stack-frame'\n\nimport { useMemo, useState, useEffect } from 'react'\nimport {\n getErrorByType,\n type ReadyRuntimeError,\n} from '../../utils/get-error-by-type'\n\nexport type SupportedErrorEvent = {\n id: number\n error: Error\n frames: readonly StackFrame[]\n type: 'runtime' | 'recoverable' | 'console'\n}\n\ntype Props = {\n children: (params: {\n runtimeErrors: ReadyRuntimeError[]\n totalErrorCount: number\n }) => React.ReactNode\n state: OverlayState\n isAppDir: boolean\n}\n\nexport const RenderError = (props: Props) => {\n const { state } = props\n const isBuildError = !!state.buildError\n\n if (isBuildError) {\n return <RenderBuildError {...props} />\n } else {\n return <RenderRuntimeError {...props} />\n }\n}\n\nconst RenderRuntimeError = ({ children, state, isAppDir }: Props) => {\n const { errors } = state\n\n const [lookups, setLookups] = useState<{\n [eventId: string]: ReadyRuntimeError\n }>({})\n\n const [runtimeErrors, nextError] = useMemo<\n [ReadyRuntimeError[], SupportedErrorEvent | null]\n >(() => {\n let ready: ReadyRuntimeError[] = []\n let next: SupportedErrorEvent | null = null\n\n // Ensure errors are displayed in the order they occurred in:\n for (let idx = 0; idx < errors.length; ++idx) {\n const e = errors[idx]\n const { id } = e\n if (id in lookups) {\n ready.push(lookups[id])\n continue\n }\n\n next = e\n break\n }\n\n return [ready, next]\n }, [errors, lookups])\n\n useEffect(() => {\n if (nextError == null) {\n return\n }\n\n let mounted = true\n\n getErrorByType(nextError, isAppDir).then((resolved) => {\n if (mounted) {\n // We don't care if the desired error changed while we were resolving,\n // thus we're not tracking it using a ref. Once the work has been done,\n // we'll store it.\n setLookups((m) => ({ ...m, [resolved.id]: resolved }))\n }\n })\n\n return () => {\n mounted = false\n }\n }, [nextError, isAppDir])\n\n const totalErrorCount = errors.length\n\n return children({ runtimeErrors, totalErrorCount })\n}\n\nconst RenderBuildError = ({ children }: Props) => {\n return children({\n runtimeErrors: [],\n // Build errors and missing root layout tags persist until fixed,\n // so we can set a fixed error count of 1\n totalErrorCount: 1,\n })\n}\n","import { useLayoutEffect } from 'react'\nimport { useDevOverlayContext } from '../../dev-overlay.browser'\n\nexport function ScaleUpdater() {\n const { shadowRoot, state } = useDevOverlayContext()\n\n useLayoutEffect(() => {\n // Update the CSS custom property for scale\n if (shadowRoot?.host) {\n ;(shadowRoot.host as HTMLElement).style.setProperty(\n '--nextjs-dev-tools-scale',\n String(state.scale || 1)\n )\n }\n }, [shadowRoot, state.scale])\n\n return null\n}\n","\n import API from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"../../../../build/webpack/loaders/devtool/devtool-style-inject.js\";\n import setAttributes from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./devtools-indicator.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn;\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./devtools-indicator.css\";\n export default content && content.locals ? content.locals : undefined;\n","export function Cross(props: React.SVGProps<SVGSVGElement>) {\n return (\n <svg\n width=\"12\"\n height=\"12\"\n viewBox=\"0 0 14 14\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M3.08889 11.8384L2.62486 12.3024L1.69678 11.3744L2.16082 10.9103L6.07178 6.99937L2.16082 3.08841L1.69678 2.62437L2.62486 1.69629L3.08889 2.16033L6.99986 6.07129L10.9108 2.16033L11.3749 1.69629L12.3029 2.62437L11.8389 3.08841L7.92793 6.99937L11.8389 10.9103L12.3029 11.3744L11.3749 12.3024L10.9108 11.8384L6.99986 7.92744L3.08889 11.8384Z\"\n fill=\"currentColor\"\n />\n </svg>\n )\n}\n","export function Warning(props: React.SVGProps<SVGSVGElement>) {\n return (\n <svg\n width=\"12\"\n height=\"12\"\n viewBox=\"0 0 12 12\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M3.98071 1.125L1.125 3.98071L1.125 8.01929L3.98071 10.875H8.01929L10.875 8.01929V3.98071L8.01929 1.125H3.98071ZM3.82538 0C3.62647 0 3.4357 0.0790176 3.29505 0.21967L0.21967 3.29505C0.0790176 3.4357 0 3.62647 0 3.82538V8.17462C0 8.37353 0.0790178 8.5643 0.21967 8.70495L3.29505 11.7803C3.4357 11.921 3.62647 12 3.82538 12H8.17462C8.37353 12 8.5643 11.921 8.70495 11.7803L11.7803 8.70495C11.921 8.5643 12 8.37353 12 8.17462V3.82538C12 3.62647 11.921 3.4357 11.7803 3.29505L8.70495 0.21967C8.5643 0.0790177 8.37353 0 8.17462 0H3.82538ZM6.5625 2.8125V3.375V6V6.5625H5.4375V6V3.375V2.8125H6.5625ZM6 9C6.41421 9 6.75 8.66421 6.75 8.25C6.75 7.83579 6.41421 7.5 6 7.5C5.58579 7.5 5.25 7.83579 5.25 8.25C5.25 8.66421 5.58579 9 6 9Z\"\n fill=\"currentColor\"\n />\n </svg>\n )\n}\n","import {\n createContext,\n useContext,\n type Dispatch,\n type SetStateAction,\n} from 'react'\n\nexport type PanelStateKind =\n | 'preferences'\n | 'route-type'\n | 'segment-explorer'\n | 'panel-selector'\n\nexport const PanelRouterContext = createContext<{\n panel: PanelStateKind | null\n setPanel: Dispatch<SetStateAction<PanelStateKind | null>>\n triggerRef: React.RefObject<HTMLButtonElement | null>\n selectedIndex: number\n setSelectedIndex: Dispatch<SetStateAction<number>>\n}>(null!)\n\nexport const usePanelRouterContext = () => useContext(PanelRouterContext)\n","import { INDICATOR_PADDING } from '../components/devtools-indicator/devtools-indicator'\nimport type { OverlayState } from '../shared'\n\nexport const BASE_LOGO_SIZE = 36\nconst INDICATOR_GAP = 9\n\nfunction getIndicatorSquare(state: OverlayState): number {\n return BASE_LOGO_SIZE / state.scale\n}\n\nexport function getIndicatorOffset(state: OverlayState): number {\n return INDICATOR_PADDING + getIndicatorSquare(state) + INDICATOR_GAP\n}\n","import { useRef, useState } from 'react'\nimport { useUpdateAnimation } from './hooks/use-update-animation'\nimport { useMeasureWidth } from './hooks/use-measure-width'\nimport { Cross } from '../../icons/cross'\nimport { Warning } from '../../icons/warning'\nimport { css } from '../../utils/css'\nimport { useDevOverlayContext } from '../../../dev-overlay.browser'\nimport { useRenderErrorContext } from '../../dev-overlay'\nimport { useDelayedRender } from '../../hooks/use-delayed-render'\nimport {\n ACTION_ERROR_OVERLAY_CLOSE,\n ACTION_ERROR_OVERLAY_OPEN,\n} from '../../shared'\nimport { usePanelRouterContext } from '../../menu/context'\nimport { BASE_LOGO_SIZE } from '../../utils/indicator-metrics'\nimport { StatusIndicator, Status, getCurrentStatus } from './status-indicator'\n\nconst SHORT_DURATION_MS = 150\n\nexport function NextLogo({\n onTriggerClick,\n ...buttonProps\n}: { onTriggerClick: () => void } & React.ComponentProps<'button'>) {\n const { state, dispatch } = useDevOverlayContext()\n const { totalErrorCount } = useRenderErrorContext()\n const SIZE = BASE_LOGO_SIZE / state.scale\n const { panel, triggerRef, setPanel } = usePanelRouterContext()\n const isMenuOpen = panel === 'panel-selector'\n\n const hasError = totalErrorCount > 0\n const [isErrorExpanded, setIsErrorExpanded] = useState(hasError)\n const [previousHasError, setPreviousHasError] = useState(hasError)\n if (previousHasError !== hasError) {\n setPreviousHasError(hasError)\n // Reset the expanded state when the error state changes\n setIsErrorExpanded(hasError)\n }\n const [dismissed, setDismissed] = useState(false)\n const newErrorDetected = useUpdateAnimation(\n totalErrorCount,\n SHORT_DURATION_MS\n )\n\n // Cache indicator state management\n const isCacheFilling = state.cacheIndicator === 'filling'\n const isCacheBypassing = state.cacheIndicator === 'bypass'\n\n // Determine if we should show any status (excluding cache bypass, which renders like error badge)\n const shouldShowStatus =\n state.buildingIndicator || state.renderingIndicator || isCacheFilling\n\n // Delay showing for 400ms to catch fast operations,\n // and keep visible for minimum time (longer for warnings)\n const { rendered: showStatusIndicator } = useDelayedRender(shouldShowStatus, {\n enterDelay: 400,\n exitDelay: 500,\n })\n\n const ref = useRef<HTMLDivElement | null>(null)\n const measuredWidth = useMeasureWidth(ref)\n\n // Get the current status from the state\n const currentStatus = getCurrentStatus(\n state.buildingIndicator,\n state.renderingIndicator,\n state.cacheIndicator\n )\n\n const displayStatus = showStatusIndicator ? currentStatus : Status.None\n\n const isExpanded =\n isErrorExpanded ||\n isCacheBypassing ||\n showStatusIndicator ||\n state.disableDevIndicator\n const width = measuredWidth === 0 ? 'auto' : measuredWidth\n\n return (\n <div\n data-next-badge-root\n style={\n {\n '--size': `${SIZE}px`,\n '--duration-short': `${SHORT_DURATION_MS}ms`,\n // if the indicator is disabled, hide the badge\n // also allow the \"disabled\" state be dismissed, as long as there are no build errors\n display:\n state.disableDevIndicator && (!hasError || dismissed)\n ? 'none'\n : 'block',\n } as React.CSSProperties\n }\n >\n {/* Styles */}\n <style>\n {css`\n [data-next-badge-root] {\n --timing: cubic-bezier(0.23, 0.88, 0.26, 0.92);\n --duration-long: 250ms;\n --color-outer-border: #171717;\n --color-inner-border: hsla(0, 0%, 100%, 0.14);\n --color-hover-alpha-subtle: hsla(0, 0%, 100%, 0.13);\n --color-hover-alpha-error: hsla(0, 0%, 100%, 0.2);\n --color-hover-alpha-error-2: hsla(0, 0%, 100%, 0.25);\n --mark-size: calc(var(--size) - var(--size-2) * 2);\n\n --focus-color: var(--color-blue-800);\n --focus-ring: 2px solid var(--focus-color);\n\n &:has([data-next-badge][data-error='true']) {\n --focus-color: #fff;\n }\n }\n\n [data-disabled-icon] {\n display: flex;\n align-items: center;\n justify-content: center;\n padding-right: 4px;\n }\n\n [data-next-badge] {\n width: var(--size);\n height: var(--size);\n display: flex;\n align-items: center;\n position: relative;\n background: rgba(0, 0, 0, 0.8);\n box-shadow:\n 0 0 0 1px var(--color-outer-border),\n inset 0 0 0 1px var(--color-inner-border),\n 0px 16px 32px -8px rgba(0, 0, 0, 0.24);\n backdrop-filter: blur(48px);\n border-radius: var(--rounded-full);\n user-select: none;\n cursor: pointer;\n scale: 1;\n overflow: hidden;\n will-change: scale, box-shadow, width, background;\n transition:\n scale var(--duration-short) var(--timing),\n width var(--duration-long) var(--timing),\n box-shadow var(--duration-long) var(--timing),\n background var(--duration-short) ease;\n\n &:active[data-error='false'] {\n scale: 0.95;\n }\n\n &[data-animate='true']:not(:hover) {\n scale: 1.02;\n }\n\n &[data-error='false']:has([data-next-mark]:focus-visible) {\n outline: var(--focus-ring);\n outline-offset: 3px;\n }\n\n &[data-error='true'] {\n background: #ca2a30;\n --color-inner-border: #e5484d;\n\n [data-next-mark] {\n background: var(--color-hover-alpha-error);\n outline-offset: 0px;\n\n &:focus-visible {\n outline: var(--focus-ring);\n outline-offset: -1px;\n }\n\n &:hover {\n background: var(--color-hover-alpha-error-2);\n }\n }\n }\n\n &[data-cache-bypassing='true']:not([data-error='true']) {\n background: rgba(217, 119, 6, 0.95);\n --color-inner-border: rgba(245, 158, 11, 0.9);\n\n [data-issues-open] {\n color: white;\n }\n }\n\n &[data-error-expanded='false'][data-error='true'] ~ [data-dot] {\n scale: 1;\n }\n\n > div {\n display: flex;\n }\n }\n\n [data-issues-collapse]:focus-visible {\n outline: var(--focus-ring);\n }\n\n [data-issues]:has([data-issues-open]:focus-visible) {\n outline: var(--focus-ring);\n outline-offset: -1px;\n }\n\n [data-dot] {\n content: '';\n width: var(--size-8);\n height: var(--size-8);\n background: #fff;\n box-shadow: 0 0 0 1px var(--color-outer-border);\n border-radius: 50%;\n position: absolute;\n top: 2px;\n right: 0px;\n scale: 0;\n pointer-events: none;\n transition: scale 200ms var(--timing);\n transition-delay: var(--duration-short);\n }\n\n [data-issues] {\n --padding-left: 8px;\n display: flex;\n gap: 2px;\n align-items: center;\n padding-left: 8px;\n padding-right: 8px;\n height: var(--size-32);\n margin-right: 2px;\n border-radius: var(--rounded-full);\n transition: background var(--duration-short) ease;\n\n &:has([data-issues-open]:hover) {\n background: var(--color-hover-alpha-error);\n }\n\n &:has([data-issues-collapse]) {\n padding-right: calc(var(--padding-left) / 2);\n }\n\n [data-cross] {\n translate: 0px -1px;\n }\n }\n\n [data-issues-open] {\n font-size: var(--size-13);\n color: white;\n width: fit-content;\n height: 100%;\n display: flex;\n gap: 2px;\n align-items: center;\n margin: 0;\n line-height: var(--size-36);\n font-weight: 500;\n z-index: 2;\n white-space: nowrap;\n\n &:focus-visible {\n outline: 0;\n }\n }\n\n [data-issues-collapse] {\n width: var(--size-24);\n height: var(--size-24);\n border-radius: var(--rounded-full);\n transition: background var(--duration-short) ease;\n\n &:hover {\n background: var(--color-hover-alpha-error);\n }\n }\n\n [data-cross] {\n color: #fff;\n width: var(--size-12);\n height: var(--size-12);\n }\n\n [data-next-mark] {\n width: var(--mark-size);\n height: var(--mark-size);\n margin: 0 2px;\n display: flex;\n align-items: center;\n border-radius: var(--rounded-full);\n transition: background var(--duration-long) var(--timing);\n\n &:focus-visible {\n outline: 0;\n }\n\n &:hover {\n background: var(--color-hover-alpha-subtle);\n }\n\n svg {\n flex-shrink: 0;\n width: var(--size-40);\n height: var(--size-40);\n }\n }\n\n [data-issues-count-animation] {\n display: grid;\n place-items: center center;\n font-variant-numeric: tabular-nums;\n\n &[data-animate='false'] {\n [data-issues-count-exit],\n [data-issues-count-enter] {\n animation-duration: 0ms;\n }\n }\n\n > * {\n grid-area: 1 / 1;\n }\n\n [data-issues-count-exit] {\n animation: fadeOut 300ms var(--timing) forwards;\n }\n\n [data-issues-count-enter] {\n animation: fadeIn 300ms var(--timing) forwards;\n }\n }\n\n [data-issues-count-plural] {\n display: inline-block;\n &[data-animate='true'] {\n animation: fadeIn 300ms var(--timing) forwards;\n }\n }\n\n .paused {\n stroke-dashoffset: 0;\n }\n\n @keyframes fadeIn {\n 0% {\n opacity: 0;\n filter: blur(2px);\n transform: translateY(8px);\n }\n 100% {\n opacity: 1;\n filter: blur(0px);\n transform: translateY(0);\n }\n }\n\n @keyframes fadeOut {\n 0% {\n opacity: 1;\n filter: blur(0px);\n transform: translateY(0);\n }\n 100% {\n opacity: 0;\n transform: translateY(-12px);\n filter: blur(2px);\n }\n }\n\n @media (prefers-reduced-motion) {\n [data-issues-count-exit],\n [data-issues-count-enter],\n [data-issues-count-plural] {\n animation-duration: 0ms !important;\n }\n }\n `}\n </style>\n <div\n data-next-badge\n data-error={hasError}\n data-error-expanded={isExpanded}\n data-status={hasError || isCacheBypassing ? Status.None : currentStatus}\n data-cache-bypassing={isCacheBypassing}\n data-animate={newErrorDetected}\n style={{ width }}\n >\n <div ref={ref}>\n {/* Children */}\n {!state.disableDevIndicator && (\n <button\n id=\"next-logo\"\n ref={triggerRef}\n data-next-mark\n onClick={onTriggerClick}\n disabled={state.disableDevIndicator}\n aria-haspopup=\"menu\"\n aria-expanded={isMenuOpen}\n aria-controls=\"nextjs-dev-tools-menu\"\n aria-label={`${isMenuOpen ? 'Close' : 'Open'} Next.js Dev Tools`}\n data-nextjs-dev-tools-button\n style={{\n display:\n showStatusIndicator && !hasError && !isCacheBypassing\n ? 'none'\n : 'flex',\n }}\n {...buttonProps}\n >\n <NextMark />\n </button>\n )}\n {isExpanded && (\n <>\n {/* Error badge has priority over cache indicator */}\n {(isErrorExpanded || state.disableDevIndicator) && (\n <div data-issues>\n <button\n data-issues-open\n aria-label=\"Open issues overlay\"\n onClick={() => {\n if (state.isErrorOverlayOpen) {\n dispatch({\n type: ACTION_ERROR_OVERLAY_CLOSE,\n })\n return\n }\n dispatch({ type: ACTION_ERROR_OVERLAY_OPEN })\n setPanel(null)\n }}\n >\n {state.disableDevIndicator && (\n <div data-disabled-icon>\n <Warning />\n </div>\n )}\n <AnimateCount\n // Used the key to force a re-render when the count changes.\n key={totalErrorCount}\n animate={newErrorDetected}\n data-issues-count-animation\n >\n {totalErrorCount}\n </AnimateCount>{' '}\n <div>\n Issue\n {totalErrorCount > 1 && (\n <span\n aria-hidden\n data-issues-count-plural\n // This only needs to animate once the count changes from 1 -> 2,\n // otherwise it should stay static between re-renders.\n data-animate={\n newErrorDetected && totalErrorCount === 2\n }\n >\n s\n </span>\n )}\n </div>\n </button>\n {!state.buildError && (\n <button\n data-issues-collapse\n aria-label=\"Collapse issues badge\"\n onClick={() => {\n if (state.disableDevIndicator) {\n setDismissed(true)\n } else {\n setIsErrorExpanded(false)\n }\n // Move focus to the trigger to prevent having it stuck on this element\n triggerRef.current?.focus()\n }}\n >\n <Cross data-cross />\n </button>\n )}\n </div>\n )}\n {/* Cache bypass badge shown when cache is being bypassed */}\n {isCacheBypassing && !hasError && !state.disableDevIndicator && (\n <CacheBypassBadge\n onTriggerClick={onTriggerClick}\n triggerRef={triggerRef}\n />\n )}\n {/* Status indicator shown when no errors and no cache bypass */}\n {showStatusIndicator &&\n !hasError &&\n !isCacheBypassing &&\n !state.disableDevIndicator && (\n <StatusIndicator\n status={displayStatus}\n onClick={onTriggerClick}\n />\n )}\n </>\n )}\n </div>\n </div>\n <div aria-hidden data-dot />\n </div>\n )\n}\n\nfunction AnimateCount({\n children: count,\n animate = true,\n ...props\n}: {\n children: number\n animate: boolean\n}) {\n return (\n <div {...props} data-animate={animate}>\n <div aria-hidden data-issues-count-exit>\n {count - 1}\n </div>\n <div data-issues-count data-issues-count-enter>\n {count}\n </div>\n </div>\n )\n}\n\nfunction CacheBypassBadge({\n onTriggerClick,\n triggerRef,\n}: {\n onTriggerClick: () => void\n triggerRef: React.RefObject<HTMLButtonElement | null>\n}) {\n const [dismissed, setDismissed] = useState(false)\n\n if (dismissed) {\n return null\n }\n\n return (\n <div data-issues data-cache-bypass-badge>\n <button\n data-issues-open\n data-nextjs-dev-tools-button\n aria-label=\"Open Next.js Dev Tools\"\n onClick={onTriggerClick}\n >\n Cache disabled\n </button>\n <button\n data-issues-collapse\n aria-label=\"Collapse cache bypass badge\"\n onClick={() => {\n setDismissed(true)\n // Move focus to the trigger to prevent having it stuck on this element\n triggerRef.current?.focus()\n }}\n >\n <Cross data-cross />\n </button>\n </div>\n )\n}\n\nfunction NextMark() {\n return (\n <svg width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" fill=\"none\">\n <g transform=\"translate(8.5, 13)\">\n <path\n className=\"paused\"\n d=\"M13.3 15.2 L2.34 1 V12.6\"\n fill=\"none\"\n stroke=\"url(#next_logo_paint0_linear_1357_10853)\"\n strokeWidth=\"1.86\"\n mask=\"url(#next_logo_mask0)\"\n strokeDasharray=\"29.6\"\n strokeDashoffset=\"29.6\"\n />\n <path\n className=\"paused\"\n d=\"M11.825 1.5 V13.1\"\n strokeWidth=\"1.86\"\n stroke=\"url(#next_logo_paint1_linear_1357_10853)\"\n strokeDasharray=\"11.6\"\n strokeDashoffset=\"11.6\"\n />\n </g>\n <defs>\n <linearGradient\n id=\"next_logo_paint0_linear_1357_10853\"\n x1=\"9.95555\"\n y1=\"11.1226\"\n x2=\"15.4778\"\n y2=\"17.9671\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stopColor=\"white\" />\n <stop offset=\"0.604072\" stopColor=\"white\" stopOpacity=\"0\" />\n <stop offset=\"1\" stopColor=\"white\" stopOpacity=\"0\" />\n </linearGradient>\n <linearGradient\n id=\"next_logo_paint1_linear_1357_10853\"\n x1=\"11.8222\"\n y1=\"1.40039\"\n x2=\"11.791\"\n y2=\"9.62542\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stopColor=\"white\" />\n <stop offset=\"1\" stopColor=\"white\" stopOpacity=\"0\" />\n </linearGradient>\n <mask id=\"next_logo_mask0\">\n <rect width=\"100%\" height=\"100%\" fill=\"white\" />\n <rect width=\"5\" height=\"1.5\" fill=\"black\" />\n </mask>\n </defs>\n </svg>\n )\n}\n","import { useEffect, useRef, useState } from 'react'\n\nexport function useUpdateAnimation(\n issueCount: number,\n animationDurationMs = 0\n) {\n const lastUpdatedTimeStamp = useRef<number | null>(null)\n const [animate, setAnimate] = useState(false)\n\n useEffect(() => {\n if (issueCount > 0) {\n const deltaMs = lastUpdatedTimeStamp.current\n ? Date.now() - lastUpdatedTimeStamp.current\n : -1\n lastUpdatedTimeStamp.current = Date.now()\n\n // We don't animate if `issueCount` changes too quickly\n if (deltaMs <= animationDurationMs) {\n return\n }\n\n setAnimate(true)\n // It is important to use a CSS transitioned state, not a CSS keyframed animation\n // because if the issue count increases faster than the animation duration, it\n // will abruptly stop and not transition smoothly back to its original state.\n const timeoutId = window.setTimeout(() => {\n setAnimate(false)\n }, animationDurationMs)\n\n return () => {\n clearTimeout(timeoutId)\n }\n }\n }, [issueCount, animationDurationMs])\n\n return animate\n}\n","import { useEffect, useState } from 'react'\n\nexport function useMeasureWidth(\n ref: React.RefObject<HTMLDivElement | null>\n): number {\n const [width, setWidth] = useState<number>(0)\n\n useEffect(() => {\n const el = ref.current\n\n if (!el) {\n return\n }\n\n const observer = new ResizeObserver(([{ contentRect }]) => {\n setWidth(contentRect.width)\n })\n\n observer.observe(el)\n return () => observer.disconnect()\n }, [ref])\n\n return width\n}\n","import * as React from 'react'\nimport { cx } from '../../utils/cx'\ntype ToastProps = React.HTMLProps<HTMLDivElement> & {\n children?: React.ReactNode\n onClick?: () => void\n className?: string\n}\n\nexport const Toast = React.forwardRef<HTMLDivElement, ToastProps>(\n function Toast({ onClick, children, className, ...props }, ref) {\n return (\n <div\n {...props}\n ref={ref}\n onClick={(e) => {\n if (!(e.target as HTMLElement).closest('a')) {\n e.preventDefault()\n }\n return onClick?.()\n }}\n className={cx('nextjs-toast', className)}\n >\n {children}\n </div>\n )\n }\n)\n","import React, {\n createContext,\n useCallback,\n useContext,\n useEffect,\n useMemo,\n useRef,\n type Ref,\n type RefObject,\n} from 'react'\n\ninterface DragContextValue {\n register: (el: HTMLElement) => void\n unregister: (el: HTMLElement) => void\n handles: Set<HTMLElement>\n disabled: boolean\n}\n\nconst DragContext = createContext<DragContextValue | null>(null)\n\nexport function DragProvider({\n children,\n disabled = false,\n}: {\n children: React.ReactNode\n disabled?: boolean\n}) {\n const handlesRef = useRef<Set<HTMLElement>>(new Set())\n\n const register = useCallback((el: HTMLElement) => {\n handlesRef.current.add(el)\n }, [])\n\n const unregister = useCallback((el: HTMLElement) => {\n handlesRef.current.delete(el)\n }, [])\n\n const value = useMemo<DragContextValue>(\n () => ({\n register,\n unregister,\n handles:\n // eslint-disable-next-line react-hooks/refs -- TODO\n handlesRef.current,\n disabled,\n }),\n [register, unregister, disabled]\n )\n\n return <DragContext.Provider value={value}>{children}</DragContext.Provider>\n}\n\nexport function useDragContext() {\n return useContext(DragContext)\n}\n\nexport function DragHandle({\n children,\n ref,\n ...props\n}: React.HTMLAttributes<HTMLDivElement> & { ref?: Ref<HTMLDivElement> }) {\n const internalRef = useRef<HTMLDivElement>(null)\n const ctx = useDragContext()\n\n const setRef = useCallback(\n (node: HTMLDivElement | null) => {\n internalRef.current = node ?? null\n if (typeof ref === 'function') {\n ref(node)\n } else if (ref && typeof ref === 'object') {\n ;(ref as RefObject<HTMLDivElement | null>).current = node\n }\n },\n [ref]\n )\n\n useEffect(() => {\n if (!ctx || !internalRef.current || ctx.disabled) return\n const el = internalRef.current\n ctx.register(el)\n return () => ctx.unregister(el)\n }, [ctx])\n\n return (\n <div\n ref={setRef}\n {...props}\n style={{\n cursor: ctx?.disabled ? 'default' : 'grab',\n ...(props.style || {}),\n }}\n >\n {children}\n </div>\n )\n}\n","import type { Corners } from '../../../shared'\nimport { useCallback, useLayoutEffect, useRef } from 'react'\nimport { useDragContext } from './drag-context'\n\ninterface Point {\n x: number\n y: number\n}\n\ninterface Corner {\n corner: Corners\n translation: Point\n}\n\nexport function Draggable({\n children,\n padding,\n position: currentCorner,\n setPosition: setCurrentCorner,\n onDragStart,\n dragHandleSelector,\n disableDrag = false,\n avoidZone,\n ...props\n}: {\n children: React.ReactElement\n position: Corners\n padding: number\n setPosition: (position: Corners) => void\n onDragStart?: () => void\n dragHandleSelector?: string\n disableDrag?: boolean\n style?: React.CSSProperties\n avoidZone?: {\n square: number\n corner: Corners\n padding: number\n }\n}) {\n const { ref, animate, ...drag } = useDrag({\n disabled: disableDrag,\n handles: useDragContext()?.handles,\n threshold: 5,\n onDragStart,\n onDragEnd,\n onAnimationEnd,\n dragHandleSelector,\n })\n\n function onDragEnd(translation: Point, velocity: Point) {\n const distance = Math.sqrt(\n translation.x * translation.x + translation.y * translation.y\n )\n if (distance === 0) {\n ref.current?.style.removeProperty('translate')\n return\n }\n\n const projectedPosition = {\n x: translation.x + project(velocity.x),\n y: translation.y + project(velocity.y),\n }\n const nearestCorner = getNearestCorner(projectedPosition)\n animate(nearestCorner)\n }\n\n function onAnimationEnd({ corner }: Corner) {\n setTimeout(() => {\n ref.current?.style.removeProperty('translate')\n setCurrentCorner(corner)\n })\n }\n\n function getNearestCorner({ x, y }: Point): Corner {\n const allCorners = getCorners()\n const distances = Object.entries(allCorners).map(([key, translation]) => {\n const distance = Math.sqrt(\n (x - translation.x) ** 2 + (y - translation.y) ** 2\n )\n return { key, distance }\n })\n const min = Math.min(...distances.map((d) => d.distance))\n const nearest = distances.find((d) => d.distance === min)\n if (!nearest) {\n // this should be guarded by an invariant, shouldn't ever happen\n return { corner: currentCorner, translation: allCorners[currentCorner] }\n }\n return {\n translation: allCorners[nearest.key as Corners],\n corner: nearest.key as Corners,\n }\n }\n\n function getCorners(): Record<Corners, Point> {\n const offset = padding * 2\n const triggerWidth = ref.current?.offsetWidth || 0\n const triggerHeight = ref.current?.offsetHeight || 0\n const scrollbarWidth =\n window.innerWidth - document.documentElement.clientWidth\n\n function getAbsolutePosition(corner: Corners) {\n const isRight = corner.includes('right')\n const isBottom = corner.includes('bottom')\n\n // Base positions flush against the chosen corner\n let x = isRight\n ? window.innerWidth - scrollbarWidth - offset - triggerWidth\n : 0\n let y = isBottom ? window.innerHeight - offset - triggerHeight : 0\n\n // Apply avoidZone offset if this corner is occupied. We only move along\n // the vertical axis to keep the panel within the viewport. For bottom\n // corners we move the panel up, for top corners we move it down.\n if (avoidZone && avoidZone.corner === corner) {\n const delta = avoidZone.square + avoidZone.padding\n if (isBottom) {\n // move up\n y -= delta\n } else {\n // move down\n y += delta\n }\n }\n\n return { x, y }\n }\n\n const basePosition = getAbsolutePosition(currentCorner)\n\n function rel(pos: Point): Point {\n return {\n x: pos.x - basePosition.x,\n y: pos.y - basePosition.y,\n }\n }\n\n return {\n 'top-left': rel(getAbsolutePosition('top-left')),\n 'top-right': rel(getAbsolutePosition('top-right')),\n 'bottom-left': rel(getAbsolutePosition('bottom-left')),\n 'bottom-right': rel(getAbsolutePosition('bottom-right')),\n }\n }\n\n return (\n <div {...props} {...drag} ref={ref}>\n {children}\n </div>\n )\n}\n\ninterface UseDragOptions {\n disabled: boolean\n onDragStart?: () => void\n onDrag?: (translation: Point) => void\n onDragEnd?: (translation: Point, velocity: Point) => void\n onAnimationEnd?: (corner: Corner) => void\n threshold: number // Minimum movement before drag starts\n dragHandleSelector?: string\n handles?: Set<HTMLElement>\n}\n\ninterface Velocity {\n position: Point\n timestamp: number\n}\n\nfunction useDrag(options: UseDragOptions) {\n const ref = useRef<HTMLDivElement>(null)\n const machine = useRef<\n | { state: 'idle' | 'press' | 'drag-end' }\n | { state: 'drag'; pointerId: number }\n >({\n state: 'idle',\n })\n const cleanup = useRef<() => void>(null)\n\n const origin = useRef<Point>({ x: 0, y: 0 })\n const translation = useRef<Point>({ x: 0, y: 0 })\n const lastTimestamp = useRef(0)\n const velocities = useRef<Velocity[]>([])\n\n const cancel = useCallback(() => {\n if (machine.current.state === 'drag') {\n ref.current?.releasePointerCapture(machine.current.pointerId)\n }\n\n machine.current =\n machine.current.state === 'drag'\n ? { state: 'drag-end' }\n : { state: 'idle' }\n\n if (cleanup.current !== null) {\n cleanup.current()\n cleanup.current = null\n }\n\n velocities.current = []\n\n ref.current?.classList.remove('dev-tools-grabbing')\n ref.current?.style.removeProperty('-webkit-user-select')\n document.body.style.removeProperty('user-select')\n document.body.style.removeProperty('-webkit-user-select')\n }, [])\n\n useLayoutEffect(() => {\n if (options.disabled) {\n cancel()\n }\n }, [cancel, options.disabled])\n\n function set(position: Point) {\n if (ref.current) {\n translation.current = position\n ref.current.style.translate = `${position.x}px ${position.y}px`\n }\n }\n\n function animate(corner: Corner) {\n const el = ref.current\n if (el === null) return\n\n function listener(e: TransitionEvent) {\n if (e.propertyName === 'translate') {\n options.onAnimationEnd?.(corner)\n translation.current = { x: 0, y: 0 }\n el!.style.transition = ''\n el!.removeEventListener('transitionend', listener)\n }\n }\n\n // Generated from https://www.easing.dev/spring\n el.style.transition = 'translate 491.22ms var(--timing-bounce)'\n el.addEventListener('transitionend', listener)\n set(corner.translation)\n }\n\n function onClick(e: MouseEvent) {\n if (machine.current.state === 'drag-end') {\n e.preventDefault()\n e.stopPropagation()\n machine.current = { state: 'idle' }\n ref.current?.removeEventListener('click', onClick)\n }\n }\n\n function isValidDragHandle(target: EventTarget | null): boolean {\n if (!target || !ref.current) return true\n\n if (options.handles && options.handles.size > 0) {\n let node: HTMLElement | null = target as HTMLElement\n while (node && node !== ref.current) {\n if (options.handles.has(node)) return true\n node = node.parentElement\n }\n return false\n }\n\n if (options.dragHandleSelector) {\n const element = target as Element\n return element.closest(options.dragHandleSelector) !== null\n }\n\n return true\n }\n\n function onPointerDown(e: React.PointerEvent) {\n if (e.button !== 0) {\n return // ignore right click\n }\n\n // Check if the pointer down event is on a valid drag handle\n if (!isValidDragHandle(e.target)) {\n return\n }\n\n origin.current = { x: e.clientX, y: e.clientY }\n machine.current = { state: 'press' }\n window.addEventListener('pointermove', onPointerMove)\n window.addEventListener('pointerup', onPointerUp)\n\n if (cleanup.current !== null) {\n cleanup.current()\n cleanup.current = null\n }\n cleanup.current = () => {\n window.removeEventListener('pointermove', onPointerMove)\n window.removeEventListener('pointerup', onPointerUp)\n }\n\n ref.current?.addEventListener('click', onClick)\n }\n\n function onPointerMove(e: PointerEvent) {\n if (machine.current.state === 'press') {\n const dx = e.clientX - origin.current.x\n const dy = e.clientY - origin.current.y\n const distance = Math.sqrt(dx * dx + dy * dy)\n\n if (distance >= options.threshold) {\n machine.current = { state: 'drag', pointerId: e.pointerId }\n ref.current?.setPointerCapture(e.pointerId)\n ref.current?.classList.add('dev-tools-grabbing')\n ref.current?.style.setProperty('-webkit-user-select', 'none')\n document.body.style.userSelect = 'none'\n document.body.style.webkitUserSelect = 'none'\n options.onDragStart?.()\n }\n }\n\n if (machine.current.state !== 'drag') return\n\n const currentPosition = { x: e.clientX, y: e.clientY }\n\n const dx = currentPosition.x - origin.current.x\n const dy = currentPosition.y - origin.current.y\n origin.current = currentPosition\n\n const newTranslation = {\n x: translation.current.x + dx,\n y: translation.current.y + dy,\n }\n\n set(newTranslation)\n\n // Keep a history of recent positions for velocity calculation\n // Only store points that are at least 10ms apart to avoid too many samples\n const now = Date.now()\n const shouldAddToHistory = now - lastTimestamp.current >= 10\n if (shouldAddToHistory) {\n velocities.current = [\n ...velocities.current.slice(-5),\n { position: currentPosition, timestamp: now },\n ]\n }\n\n lastTimestamp.current = now\n options.onDrag?.(translation.current)\n }\n\n function onPointerUp() {\n const velocity = calculateVelocity(velocities.current)\n\n cancel()\n\n // TODO: This is the onDragEnd when the pointerdown event was fired not the onDragEnd when the pointerup event was fired\n options.onDragEnd?.(translation.current, velocity)\n }\n\n if (options.disabled) {\n return {\n ref,\n animate,\n }\n }\n\n return {\n ref,\n onPointerDown,\n animate,\n }\n}\n\nfunction calculateVelocity(\n history: Array<{ position: Point; timestamp: number }>\n): Point {\n if (history.length < 2) {\n return { x: 0, y: 0 }\n }\n\n const oldestPoint = history[0]\n const latestPoint = history[history.length - 1]\n\n const timeDelta = latestPoint.timestamp - oldestPoint.timestamp\n\n if (timeDelta === 0) {\n return { x: 0, y: 0 }\n }\n\n // Calculate pixels per millisecond\n const velocityX =\n (latestPoint.position.x - oldestPoint.position.x) / timeDelta\n const velocityY =\n (latestPoint.position.y - oldestPoint.position.y) / timeDelta\n\n // Convert to pixels per second for more intuitive values\n return {\n x: velocityX * 1000,\n y: velocityY * 1000,\n }\n}\n\nfunction project(initialVelocity: number, decelerationRate = 0.999) {\n return ((initialVelocity / 1000) * decelerationRate) / (1 - decelerationRate)\n}\n","import './devtools-indicator.css'\nimport type { CSSProperties } from 'react'\nimport type { DevToolsIndicatorPosition } from '../../shared'\nimport { NextLogo } from './next-logo'\nimport { Toast } from '../toast'\nimport {\n MENU_CURVE,\n MENU_DURATION_MS,\n} from '../errors/dev-tools-indicator/utils'\nimport {\n ACTION_DEVTOOLS_POSITION,\n STORE_KEY_SHARED_PANEL_LOCATION,\n STORAGE_KEY_PANEL_POSITION_PREFIX,\n ACTION_DEVTOOLS_PANEL_POSITION,\n} from '../../shared'\nimport { Draggable } from '../errors/dev-tools-indicator/draggable'\nimport { useDevOverlayContext } from '../../../dev-overlay.browser'\nimport { usePanelRouterContext } from '../../menu/context'\nimport { saveDevToolsConfig } from '../../utils/save-devtools-config'\n\nexport const INDICATOR_PADDING = 20\n\nexport function DevToolsIndicator() {\n const { state, dispatch } = useDevOverlayContext()\n const { panel, setPanel, setSelectedIndex } = usePanelRouterContext()\n const updateAllPanelPositions = useUpdateAllPanelPositions()\n const [vertical, horizontal] = state.devToolsPosition.split('-', 2)\n\n return (\n // TODO: why is this called a toast\n <Toast\n id=\"devtools-indicator\"\n data-nextjs-toast\n style={\n {\n '--animate-out-duration-ms': `${MENU_DURATION_MS}ms`,\n '--animate-out-timing-function': MENU_CURVE,\n boxShadow: 'none',\n [vertical]: `${INDICATOR_PADDING}px`,\n [horizontal]: `${INDICATOR_PADDING}px`,\n } as CSSProperties\n }\n >\n <Draggable\n // avoids a lot of weird edge cases that would cause jank if the logo and panel were de-synced\n disableDrag={panel !== null}\n padding={INDICATOR_PADDING}\n position={state.devToolsPosition}\n setPosition={(p) => {\n dispatch({\n type: ACTION_DEVTOOLS_POSITION,\n devToolsPosition: p,\n })\n saveDevToolsConfig({ devToolsPosition: p })\n\n updateAllPanelPositions(p)\n }}\n >\n <NextLogo\n onTriggerClick={() => {\n const newPanel =\n panel === 'panel-selector' ? null : 'panel-selector'\n setPanel(newPanel)\n if (!newPanel) {\n setSelectedIndex(-1)\n return\n }\n }}\n />\n </Draggable>\n </Toast>\n )\n}\n\n/**\n * makes sure we eventually sync the panel to the logo, otherwise\n * it will be jarring if the panels start appearing on the other\n * side of the logo. This wont teleport the panel because the indicator\n * cannot be dragged when any panel is open\n */\nexport const useUpdateAllPanelPositions = () => {\n const { state, dispatch } = useDevOverlayContext()\n return (position: DevToolsIndicatorPosition) => {\n dispatch({\n type: ACTION_DEVTOOLS_PANEL_POSITION,\n devToolsPanelPosition: position,\n key: STORE_KEY_SHARED_PANEL_LOCATION,\n })\n\n const panelPositionKeys = Object.keys(state.devToolsPanelPosition).filter(\n (key) => key.startsWith(STORAGE_KEY_PANEL_POSITION_PREFIX)\n )\n\n const panelPositionPatch: Record<string, DevToolsIndicatorPosition> = {\n [STORE_KEY_SHARED_PANEL_LOCATION]: position,\n }\n\n panelPositionKeys.forEach((key) => {\n dispatch({\n type: ACTION_DEVTOOLS_PANEL_POSITION,\n devToolsPanelPosition: position,\n key,\n })\n\n panelPositionPatch[key] = position\n })\n\n saveDevToolsConfig({\n devToolsPanelPosition: panelPositionPatch,\n })\n }\n}\n","import { useDevOverlayContext } from '../../dev-overlay.browser'\nimport { useClickOutsideAndEscape } from '../components/errors/dev-tools-indicator/utils'\nimport {\n useEffectEvent,\n useLayoutEffect,\n useRef,\n createContext,\n useContext,\n type CSSProperties,\n type Dispatch,\n type SetStateAction,\n} from 'react'\nimport { getIndicatorOffset } from '../utils/indicator-metrics'\nimport { INDICATOR_PADDING } from '../components/devtools-indicator/devtools-indicator'\nimport { usePanelRouterContext } from './context'\nimport { usePanelContext } from './panel-router'\n\ninterface C {\n closeMenu?: () => void\n selectedIndex: number\n setSelectedIndex: Dispatch<SetStateAction<number>>\n}\n\nconst MenuContext = createContext({} as C)\n\nfunction MenuItem({\n index,\n label,\n value,\n onClick,\n href,\n ...props\n}: {\n index?: number\n title?: string\n label: string\n value: React.ReactNode\n href?: string\n onClick?: () => void\n}) {\n const isInteractive =\n typeof onClick === 'function' || typeof href === 'string'\n const { closeMenu, selectedIndex, setSelectedIndex } = useContext(MenuContext)\n const selected = selectedIndex === index\n\n function click() {\n if (isInteractive) {\n onClick?.()\n closeMenu?.()\n if (href) {\n window.open(href, '_blank', 'noopener, noreferrer')\n }\n }\n }\n\n return (\n <div\n className=\"dev-tools-indicator-item\"\n data-index={index}\n data-selected={selected}\n onClick={click}\n // Needs `onMouseMove` instead of enter to work together\n // with keyboard and mouse input\n onMouseMove={() => {\n if (isInteractive && index !== undefined && selectedIndex !== index) {\n setSelectedIndex(index)\n }\n }}\n onMouseLeave={() => setSelectedIndex(-1)}\n onKeyDown={(e) => {\n if (e.key === 'Enter' || e.key === ' ') {\n click()\n }\n }}\n role={isInteractive ? 'menuitem' : undefined}\n tabIndex={selected ? 0 : -1}\n {...props}\n >\n <span className=\"dev-tools-indicator-label\">{label}</span>\n <span className=\"dev-tools-indicator-value\">{value}</span>\n </div>\n )\n}\n\nexport const DevtoolMenu = ({\n closeOnClickOutside = true,\n items,\n}: {\n closeOnClickOutside?: boolean\n items: Array<\n | false\n | undefined\n | null\n | {\n onClick?: () => void\n title?: string\n label: string\n value: React.ReactNode\n attributes?: Record<string, string | boolean>\n footer?: boolean\n }\n >\n}) => {\n const { state } = useDevOverlayContext()\n const { setPanel, triggerRef, setSelectedIndex, selectedIndex } =\n usePanelRouterContext()\n const { mounted } = usePanelContext()\n\n const [vertical, horizontal] = state.devToolsPosition.split('-', 2)\n\n const menuRef = useRef<HTMLDivElement>(null)\n\n useClickOutsideAndEscape(\n menuRef,\n triggerRef,\n closeOnClickOutside && mounted,\n (reason) => {\n switch (reason) {\n case 'escape': {\n setPanel(null)\n setSelectedIndex(-1)\n return\n }\n case 'outside': {\n if (!closeOnClickOutside) {\n return\n }\n setPanel(null)\n setSelectedIndex(-1)\n return\n }\n default: {\n return null!\n }\n }\n }\n )\n const fireInitialSelectMenuItem = useEffectEvent(() => {\n selectMenuItem({\n index: selectedIndex === -1 ? 'first' : selectedIndex,\n menuRef,\n setSelectedIndex,\n })\n })\n\n useLayoutEffect(() => {\n menuRef.current?.focus() // allows keydown to be captured\n fireInitialSelectMenuItem()\n }, [])\n\n const indicatorOffset = getIndicatorOffset(state)\n\n const [indicatorVertical, indicatorHorizontal] = state.devToolsPosition.split(\n '-',\n 2\n )\n\n const verticalOffset =\n vertical === indicatorVertical && horizontal === indicatorHorizontal\n ? indicatorOffset\n : INDICATOR_PADDING\n\n const positionStyle = {\n [vertical]: `${verticalOffset}px`,\n [horizontal]: `${INDICATOR_PADDING}px`,\n [vertical === 'top' ? 'bottom' : 'top']: 'auto',\n [horizontal === 'left' ? 'right' : 'left']: 'auto',\n } as CSSProperties\n const definedItems = items.filter((item) => !!item)\n const itemsAboveFooter = definedItems.filter((item) => !item.footer)\n const itemsBelowFooter = definedItems.filter((item) => item.footer)\n\n function onMenuKeydown(e: React.KeyboardEvent<HTMLDivElement | null>) {\n e.preventDefault()\n\n const clickableItems = definedItems.filter((item) => item.onClick)\n const totalClickableItems = clickableItems.length\n\n switch (e.key) {\n case 'ArrowDown':\n const next =\n selectedIndex >= totalClickableItems - 1 ? 0 : selectedIndex + 1\n selectMenuItem({ index: next, menuRef, setSelectedIndex })\n break\n case 'ArrowUp':\n const prev =\n selectedIndex <= 0 ? totalClickableItems - 1 : selectedIndex - 1\n selectMenuItem({ index: prev, menuRef, setSelectedIndex })\n break\n case 'Home':\n selectMenuItem({ index: 'first', menuRef, setSelectedIndex })\n break\n case 'End':\n selectMenuItem({ index: 'last', menuRef, setSelectedIndex })\n break\n case 'n':\n if (e.ctrlKey) {\n const nextCtrl =\n selectedIndex >= totalClickableItems - 1 ? 0 : selectedIndex + 1\n selectMenuItem({ index: nextCtrl, menuRef, setSelectedIndex })\n }\n break\n case 'p':\n if (e.ctrlKey) {\n const prevCtrl =\n selectedIndex <= 0 ? totalClickableItems - 1 : selectedIndex - 1\n selectMenuItem({ index: prevCtrl, menuRef, setSelectedIndex })\n }\n break\n default:\n break\n }\n }\n\n return (\n <div\n ref={menuRef}\n onKeyDown={onMenuKeydown}\n id=\"nextjs-dev-tools-menu\"\n role=\"menu\"\n dir=\"ltr\"\n aria-orientation=\"vertical\"\n aria-label=\"Next.js Dev Tools Items\"\n tabIndex={-1}\n style={{\n outline: 0,\n WebkitFontSmoothing: 'antialiased',\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'flex-start',\n background: 'var(--color-background-100)',\n\n backgroundClip: 'padding-box',\n boxShadow: 'var(--shadow-menu)',\n borderRadius: 'var(--rounded-xl)',\n position: 'fixed',\n fontFamily: 'var(--font-stack-sans)',\n zIndex: 'var(--top-z-index)',\n overflow: 'hidden',\n opacity: 1,\n minWidth: '248px',\n transition:\n 'opacity var(--animate-out-duration-ms) var(--animate-out-timing-function)',\n border: '1px solid var(--color-gray-alpha-400)',\n ...positionStyle,\n }}\n >\n <MenuContext\n value={{\n selectedIndex,\n setSelectedIndex,\n }}\n >\n <div style={{ padding: '6px', width: '100%' }}>\n {itemsAboveFooter.map((item, index) => (\n <MenuItem\n key={item.label}\n title={item.title}\n label={item.label}\n value={item.value}\n onClick={item.onClick}\n index={\n item.onClick\n ? getAdjustedIndex(itemsAboveFooter, index)\n : undefined\n }\n {...item.attributes}\n />\n ))}\n </div>\n <div className=\"dev-tools-indicator-footer\">\n {itemsBelowFooter.map((item, index) => (\n <MenuItem\n key={item.label}\n title={item.title}\n label={item.label}\n value={item.value}\n onClick={item.onClick}\n {...item.attributes}\n index={\n item.onClick\n ? getAdjustedIndex(itemsBelowFooter, index) +\n getClickableItemsCount(itemsAboveFooter)\n : undefined\n }\n />\n ))}\n </div>\n </MenuContext>\n </div>\n )\n}\n\nfunction getAdjustedIndex(\n items: Array<{ onClick?: () => void }>,\n targetIndex: number\n): number {\n let adjustedIndex = 0\n\n for (let i = 0; i <= targetIndex && i < items.length; i++) {\n if (items[i].onClick) {\n if (i === targetIndex) {\n return adjustedIndex\n }\n adjustedIndex++\n }\n }\n\n return adjustedIndex\n}\n\nfunction getClickableItemsCount(\n items: Array<{ onClick?: () => void }>\n): number {\n return items.filter((item) => item.onClick).length\n}\n\nexport function IssueCount({ children }: { children: number }) {\n return (\n <span\n className=\"dev-tools-indicator-issue-count\"\n data-has-issues={children > 0}\n >\n <span className=\"dev-tools-indicator-issue-count-indicator\" />\n {children}\n </span>\n )\n}\n\nexport function ChevronRight() {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n >\n <path\n fill=\"#666\"\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M5.50011 1.93945L6.03044 2.46978L10.8537 7.293C11.2442 7.68353 11.2442 8.31669 10.8537 8.70722L6.03044 13.5304L5.50011 14.0608L4.43945 13.0001L4.96978 12.4698L9.43945 8.00011L4.96978 3.53044L4.43945 3.00011L5.50011 1.93945Z\"\n />\n </svg>\n )\n}\n\nfunction selectMenuItem({\n index,\n menuRef,\n setSelectedIndex,\n}: {\n index: number | 'first' | 'last'\n menuRef: React.RefObject<HTMLDivElement | null>\n setSelectedIndex: (index: number) => void\n}) {\n if (index === 'first') {\n setTimeout(() => {\n const all = menuRef.current?.querySelectorAll('[role=\"menuitem\"]')\n if (all) {\n const firstIndex = all[0].getAttribute('data-index')\n selectMenuItem({ index: Number(firstIndex), menuRef, setSelectedIndex })\n }\n })\n return\n }\n\n if (index === 'last') {\n setTimeout(() => {\n const all = menuRef.current?.querySelectorAll('[role=\"menuitem\"]')\n if (all) {\n const lastIndex = all.length - 1\n selectMenuItem({ index: lastIndex, menuRef, setSelectedIndex })\n }\n })\n return\n }\n\n const el = menuRef.current?.querySelector(\n `[data-index=\"${index}\"]`\n ) as HTMLElement\n\n if (el) {\n setSelectedIndex(index)\n el?.focus()\n }\n}\n","import {\n createContext,\n useCallback,\n useContext,\n useEffectEvent,\n useLayoutEffect,\n useState,\n type RefObject,\n} from 'react'\nimport { STORE_KEY_SHARED_PANEL_SIZE, type Corners } from '../../../shared'\n\nexport type ResizeDirection =\n | 'top'\n | 'right'\n | 'bottom'\n | 'left'\n | 'top-left'\n | 'top-right'\n | 'bottom-left'\n | 'bottom-right'\n\ninterface ResizeContextValue {\n resizeRef: RefObject<HTMLElement | null>\n minWidth: number\n minHeight: number\n maxWidth?: number\n maxHeight?: number\n draggingDirection: ResizeDirection | null\n setDraggingDirection: (direction: ResizeDirection | null) => void\n storageKey: string\n}\n\nconst ResizeContext = createContext<ResizeContextValue>(null!)\n\nconst constrainDimensions = (params: {\n width: number\n height: number\n minWidth: number\n minHeight: number\n}) => {\n const maxWidth = window.innerWidth * 0.95\n const maxHeight = window.innerHeight * 0.95\n\n return {\n width: Math.min(maxWidth, Math.max(params.minWidth, params.width)),\n height: Math.min(maxHeight, Math.max(params.minHeight, params.height)),\n }\n}\n\ninterface ResizeProviderProps {\n value: {\n resizeRef: RefObject<HTMLElement | null>\n minWidth?: number\n minHeight?: number\n maxWidth?: number\n maxHeight?: number\n devToolsPosition: Corners\n devToolsPanelSize: Record<string, { width: number; height: number }>\n storageKey?: string\n initialSize?: { height: number; width: number }\n }\n children: React.ReactNode\n}\n\nexport const ResizeProvider = ({ value, children }: ResizeProviderProps) => {\n const minWidth = value.minWidth ?? 100\n const minHeight = value.minHeight ?? 80\n const maxWidth = value.maxWidth\n const maxHeight = value.maxHeight\n const [draggingDirection, setDraggingDirection] =\n useState<ResizeDirection | null>(null)\n\n const storageKey = value.storageKey ?? STORE_KEY_SHARED_PANEL_SIZE\n\n const { resizeRef } = value\n const applyConstrainedDimensions = useCallback(() => {\n if (!resizeRef.current) return\n\n // this feels weird to read local storage on resize, but we don't\n // track the dimensions of the container, and this is better than\n // getBoundingClientReact\n\n // an optimization if this is too expensive is to maintain the current\n // container size in a ref and update it on resize, which is essentially\n // what we're doing here, just dumber\n if (draggingDirection !== null) {\n // Don't override live resizing operation with stale cached values.\n return\n }\n\n const dim = value.devToolsPanelSize[storageKey]\n if (!dim) {\n return\n }\n const { height, width } = constrainDimensions({\n ...dim,\n minWidth: minWidth ?? 100,\n minHeight: minHeight ?? 80,\n })\n\n resizeRef.current.style.width = `${width}px`\n resizeRef.current.style.height = `${height}px`\n return true\n }, [\n resizeRef,\n draggingDirection,\n storageKey,\n minWidth,\n minHeight,\n value.devToolsPanelSize,\n ])\n\n const fireInitialConstrainDimensions = useEffectEvent(() => {\n const applied = applyConstrainedDimensions()\n if (\n !applied &&\n resizeRef.current &&\n value.initialSize?.height &&\n value.initialSize.width\n ) {\n const { height, width } = constrainDimensions({\n height: value.initialSize.height,\n width: value.initialSize.width,\n minWidth: minWidth ?? 100,\n minHeight: minHeight ?? 80,\n })\n resizeRef.current.style.width = `${width}px`\n resizeRef.current.style.height = `${height}px`\n }\n })\n\n useLayoutEffect(() => {\n fireInitialConstrainDimensions()\n }, [])\n\n useLayoutEffect(() => {\n window.addEventListener('resize', applyConstrainedDimensions)\n return () =>\n window.removeEventListener('resize', applyConstrainedDimensions)\n }, [\n applyConstrainedDimensions,\n value.initialSize?.height,\n value.initialSize?.width,\n value.resizeRef,\n ])\n\n return (\n <ResizeContext.Provider\n value={{\n resizeRef: value.resizeRef,\n minWidth,\n minHeight,\n maxWidth,\n maxHeight,\n draggingDirection,\n setDraggingDirection,\n storageKey,\n }}\n >\n {children}\n </ResizeContext.Provider>\n )\n}\n\nexport const useResize = () => {\n const context = useContext(ResizeContext)\n if (!context) {\n throw new Error('useResize must be used within a Resize provider')\n }\n return context\n}\n","\n import API from \"!../../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"../../../../../build/webpack/loaders/devtool/devtool-style-inject.js\";\n import setAttributes from \"!../../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./resize-handle.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn;\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./resize-handle.css\";\n export default content && content.locals ? content.locals : undefined;\n","import { useState, useLayoutEffect } from 'react'\nimport type { Corners } from '../../../shared'\nimport { useResize, type ResizeDirection } from './resize-provider'\nimport './resize-handle.css'\nimport { saveDevToolsConfig } from '../../../utils/save-devtools-config'\n\nexport const ResizeHandle = ({\n direction,\n position,\n}: {\n direction: ResizeDirection\n position: Corners\n}) => {\n const {\n resizeRef,\n minWidth,\n minHeight,\n maxWidth,\n maxHeight,\n storageKey,\n draggingDirection,\n setDraggingDirection,\n } = useResize()\n const [borderWidths, setBorderWidths] = useState({\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n })\n\n // TODO: NEXT-4645\n const shouldShowHandle = () => {\n const getOppositeCorner = (corner: Corners): ResizeDirection => {\n switch (corner) {\n case 'top-left':\n return 'bottom-right'\n case 'top-right':\n return 'bottom-left'\n case 'bottom-left':\n return 'top-right'\n case 'bottom-right':\n return 'top-left'\n default: {\n corner satisfies never\n return null!\n }\n }\n }\n\n // we block the sides of the corner its in (bottom-left has bottom and left sides blocked from resizing)\n // because there shouldn't be anywhere to resize, and if the user decides to resize from that point it\n // would be unhandled/slightly janky (the component would have to re-magnetic-snap after the resize)\n if (position.split('-').includes(direction)) return false\n\n // same logic as above, but the only corner resize that makes\n // sense is the corner fully exposed (the opposing corner)\n const isCorner = direction.includes('-')\n if (isCorner) {\n const opposite = getOppositeCorner(position)\n return direction === opposite\n }\n\n return true\n }\n\n // we want the resize lines to be flush with the entire true width of the containers box\n // and we don't want the user of ResizeHandle to have to tell us the border width\n useLayoutEffect(() => {\n if (!resizeRef.current) return\n\n const element = resizeRef.current\n const computedStyle = window.getComputedStyle(element)\n\n const borderTop = parseFloat(computedStyle.borderTopWidth) || 0\n const borderRight = parseFloat(computedStyle.borderRightWidth) || 0\n const borderBottom = parseFloat(computedStyle.borderBottomWidth) || 0\n const borderLeft = parseFloat(computedStyle.borderLeftWidth) || 0\n\n setBorderWidths({\n top: borderTop,\n right: borderRight,\n bottom: borderBottom,\n left: borderLeft,\n })\n }, [resizeRef])\n\n const handleMouseDown = (mouseDownEvent: React.MouseEvent) => {\n mouseDownEvent.preventDefault()\n if (!resizeRef.current) return\n setDraggingDirection(direction)\n\n const element = resizeRef.current\n const initialRect = element.getBoundingClientRect()\n const startX = mouseDownEvent.clientX\n const startY = mouseDownEvent.clientY\n\n const handleMouseMove = (mouseMoveEvent: MouseEvent) => {\n const deltaX = mouseMoveEvent.clientX - startX\n const deltaY = mouseMoveEvent.clientY - startY\n\n const { newWidth, newHeight } = getNewDimensions(\n direction,\n deltaX,\n deltaY,\n initialRect,\n minWidth,\n minHeight,\n maxWidth,\n maxHeight\n )\n\n if (newWidth !== undefined) {\n element.style.width = `${newWidth}px`\n }\n if (newHeight !== undefined) {\n element.style.height = `${newHeight}px`\n }\n }\n\n const handleMouseUp = () => {\n setDraggingDirection(null)\n document.removeEventListener('mousemove', handleMouseMove)\n document.removeEventListener('mouseup', handleMouseUp)\n if (!resizeRef.current) {\n // possible if the user closes during drag\n return\n }\n\n const { width, height } = resizeRef.current.getBoundingClientRect()\n saveDevToolsConfig({\n devToolsPanelSize: { [storageKey]: { width, height } },\n })\n }\n document.addEventListener('mousemove', handleMouseMove)\n document.addEventListener('mouseup', handleMouseUp)\n }\n\n if (!shouldShowHandle()) {\n return null\n }\n const totalHorizontalBorder = borderWidths.left + borderWidths.right\n const totalVerticalBorder = borderWidths.top + borderWidths.bottom\n\n const isCornerHandle = direction.includes('-')\n\n return (\n <>\n {/* this is what actually captures the events, its partially on the container, and partially off */}\n <div\n className={`resize-container ${direction} ${draggingDirection && draggingDirection !== direction ? 'no-hover' : ''}`}\n onMouseDown={handleMouseDown}\n />\n\n {/* this panel appears to capture the click, but its just a visual indicator for user of the resize target */}\n {!isCornerHandle && (\n <div\n className={`resize-line ${direction} ${draggingDirection === direction ? 'dragging' : ''}`}\n style={\n {\n // We want the resize line to appear to come out of the back\n // of the div flush with the full box, otherwise there are a\n // few px missing and it looks jank\n '--border-horizontal': `${totalHorizontalBorder}px`,\n '--border-vertical': `${totalVerticalBorder}px`,\n '--border-top': `${borderWidths.top}px`,\n '--border-right': `${borderWidths.right}px`,\n '--border-bottom': `${borderWidths.bottom}px`,\n '--border-left': `${borderWidths.left}px`,\n } as React.CSSProperties\n }\n />\n )}\n </>\n )\n}\n\nconst getNewDimensions = (\n direction: ResizeDirection,\n deltaX: number,\n deltaY: number,\n initialRect: DOMRect,\n minWidth: number,\n minHeight: number,\n maxWidth?: number,\n maxHeight?: number\n) => {\n const effectiveMaxWidth = maxWidth ?? window.innerWidth * 0.95\n const effectiveMaxHeight = maxHeight ?? window.innerHeight * 0.95\n\n switch (direction) {\n case 'right':\n return {\n newWidth: Math.min(\n effectiveMaxWidth,\n Math.max(minWidth, initialRect.width + deltaX)\n ),\n newHeight: initialRect.height,\n }\n\n case 'left': {\n return {\n newWidth: Math.min(\n effectiveMaxWidth,\n Math.max(minWidth, initialRect.width - deltaX)\n ),\n newHeight: initialRect.height,\n }\n }\n\n case 'bottom':\n return {\n newWidth: initialRect.width,\n newHeight: Math.min(\n effectiveMaxHeight,\n Math.max(minHeight, initialRect.height + deltaY)\n ),\n }\n\n case 'top': {\n return {\n newWidth: initialRect.width,\n newHeight: Math.min(\n effectiveMaxHeight,\n Math.max(minHeight, initialRect.height - deltaY)\n ),\n }\n }\n\n case 'top-left': {\n return {\n newWidth: Math.min(\n effectiveMaxWidth,\n Math.max(minWidth, initialRect.width - deltaX)\n ),\n newHeight: Math.min(\n effectiveMaxHeight,\n Math.max(minHeight, initialRect.height - deltaY)\n ),\n }\n }\n\n case 'top-right': {\n return {\n newWidth: Math.min(\n effectiveMaxWidth,\n Math.max(minWidth, initialRect.width + deltaX)\n ),\n newHeight: Math.min(\n effectiveMaxHeight,\n Math.max(minHeight, initialRect.height - deltaY)\n ),\n }\n }\n\n case 'bottom-left': {\n return {\n newWidth: Math.min(\n effectiveMaxWidth,\n Math.max(minWidth, initialRect.width - deltaX)\n ),\n newHeight: Math.min(\n effectiveMaxHeight,\n Math.max(minHeight, initialRect.height + deltaY)\n ),\n }\n }\n\n case 'bottom-right':\n return {\n newWidth: Math.min(\n effectiveMaxWidth,\n Math.max(minWidth, initialRect.width + deltaX)\n ),\n newHeight: Math.min(\n effectiveMaxHeight,\n Math.max(minHeight, initialRect.height + deltaY)\n ),\n }\n default: {\n direction satisfies never\n return null!\n }\n }\n}\n","\n import API from \"!../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"../../../build/webpack/loaders/devtool/devtool-style-inject.js\";\n import setAttributes from \"!../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./dynamic-panel.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn;\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./dynamic-panel.css\";\n export default content && content.locals ? content.locals : undefined;\n","import { useRef, useState, useEffect, type CSSProperties } from 'react'\nimport { useDevOverlayContext } from '../../dev-overlay.browser'\nimport { INDICATOR_PADDING } from '../components/devtools-indicator/devtools-indicator'\nimport { ResizeHandle } from '../components/devtools-panel/resize/resize-handle'\nimport { ResizeProvider } from '../components/devtools-panel/resize/resize-provider'\nimport {\n DragHandle,\n DragProvider,\n} from '../components/errors/dev-tools-indicator/drag-context'\nimport { Draggable } from '../components/errors/dev-tools-indicator/draggable'\nimport { useClickOutsideAndEscape } from '../components/errors/dev-tools-indicator/utils'\nimport { usePanelRouterContext } from '../menu/context'\nimport { usePanelContext } from '../menu/panel-router'\nimport {\n ACTION_DEVTOOLS_PANEL_POSITION,\n STORAGE_KEY_PANEL_POSITION_PREFIX,\n STORE_KEY_PANEL_SIZE_PREFIX,\n STORE_KEY_SHARED_PANEL_LOCATION,\n STORE_KEY_SHARED_PANEL_SIZE,\n} from '../shared'\nimport { getIndicatorOffset } from '../utils/indicator-metrics'\nimport { saveDevToolsConfig } from '../utils/save-devtools-config'\nimport './dynamic-panel.css'\n\nfunction resolveCSSValue(\n value: string | number,\n dimension: 'width' | 'height' = 'width'\n): number {\n if (typeof value === 'number') return value\n\n // kinda hacky, might be a better way to do this\n const temp = document.createElement('div')\n temp.style.position = 'absolute'\n temp.style.visibility = 'hidden'\n if (dimension === 'width') {\n temp.style.width = value\n } else {\n temp.style.height = value\n }\n document.body.appendChild(temp)\n const pixels = dimension === 'width' ? temp.offsetWidth : temp.offsetHeight\n document.body.removeChild(temp)\n return pixels\n}\n\nfunction useResolvedDimensions(\n minWidth?: string | number,\n minHeight?: string | number,\n maxWidth?: string | number,\n maxHeight?: string | number\n) {\n const [dimensions, setDimensions] = useState(() => ({\n minWidth: minWidth ? resolveCSSValue(minWidth, 'width') : undefined,\n minHeight: minHeight ? resolveCSSValue(minHeight, 'height') : undefined,\n maxWidth: maxWidth ? resolveCSSValue(maxWidth, 'width') : undefined,\n maxHeight: maxHeight ? resolveCSSValue(maxHeight, 'height') : undefined,\n }))\n\n useEffect(() => {\n const updateDimensions = () => {\n setDimensions({\n minWidth: minWidth ? resolveCSSValue(minWidth, 'width') : undefined,\n minHeight: minHeight ? resolveCSSValue(minHeight, 'height') : undefined,\n maxWidth: maxWidth ? resolveCSSValue(maxWidth, 'width') : undefined,\n maxHeight: maxHeight ? resolveCSSValue(maxHeight, 'height') : undefined,\n })\n }\n\n window.addEventListener('resize', updateDimensions)\n return () => window.removeEventListener('resize', updateDimensions)\n }, [minWidth, minHeight, maxWidth, maxHeight])\n\n return dimensions\n}\n\nexport function DynamicPanel({\n header,\n children,\n draggable = false,\n sizeConfig = {\n kind: 'resizable',\n minWidth: 400,\n minHeight: 350,\n maxWidth: 1000,\n maxHeight: 1000,\n initialSize: {\n height: 400,\n width: 500,\n },\n },\n closeOnClickOutside = false,\n sharePanelSizeGlobally = true,\n sharePanelPositionGlobally = true,\n containerProps,\n}: {\n header: React.ReactNode\n children: React.ReactNode\n draggable?: boolean\n sharePanelSizeGlobally?: boolean\n sharePanelPositionGlobally?: boolean\n containerProps?: React.HTMLProps<HTMLDivElement>\n sizeConfig?:\n | {\n kind: 'resizable'\n minWidth: string | number\n minHeight: string | number\n maxWidth: string | number\n maxHeight: string | number\n initialSize: { height: number; width: number }\n sides?: Array<'horizontal' | 'vertical' | 'diagonal'>\n }\n | {\n kind: 'fixed'\n height: number\n width: number\n }\n closeOnClickOutside?: boolean\n}) {\n const { setPanel } = usePanelRouterContext()\n const { name, mounted } = usePanelContext()\n const resizeStorageKey = sharePanelSizeGlobally\n ? STORE_KEY_SHARED_PANEL_SIZE\n : `${STORE_KEY_PANEL_SIZE_PREFIX}_${name}`\n\n const positionStorageKey = sharePanelPositionGlobally\n ? STORE_KEY_SHARED_PANEL_LOCATION\n : `${STORAGE_KEY_PANEL_POSITION_PREFIX}_${name}`\n\n const { dispatch, state } = useDevOverlayContext()\n const devtoolsPanelPosition =\n state.devToolsPanelPosition[positionStorageKey] ?? state.devToolsPosition\n const [panelVertical, panelHorizontal] = devtoolsPanelPosition.split('-', 2)\n const resizeContainerRef = useRef<HTMLDivElement>(null)\n const { triggerRef } = usePanelRouterContext()\n\n useClickOutsideAndEscape(\n resizeContainerRef,\n triggerRef,\n mounted,\n (reason) => {\n switch (reason) {\n case 'escape': {\n setPanel('panel-selector')\n return\n }\n case 'outside': {\n if (closeOnClickOutside) {\n setPanel('panel-selector')\n }\n return\n }\n default: {\n return null!\n }\n }\n }\n )\n\n const indicatorOffset = getIndicatorOffset(state)\n\n const [indicatorVertical, indicatorHorizontal] = state.devToolsPosition.split(\n '-',\n 2\n )\n\n const verticalOffset =\n panelVertical === indicatorVertical &&\n panelHorizontal === indicatorHorizontal\n ? indicatorOffset\n : INDICATOR_PADDING\n\n const positionStyle = {\n [panelVertical]: `${verticalOffset}px`,\n [panelHorizontal]: `${INDICATOR_PADDING}px`,\n [panelVertical === 'top' ? 'bottom' : 'top']: 'auto',\n [panelHorizontal === 'left' ? 'right' : 'left']: 'auto',\n } as CSSProperties\n\n const isResizable = sizeConfig.kind === 'resizable'\n\n const resolvedDimensions = useResolvedDimensions(\n isResizable ? sizeConfig.minWidth : undefined,\n isResizable ? sizeConfig.minHeight : undefined,\n isResizable ? sizeConfig.maxWidth : undefined,\n isResizable ? sizeConfig.maxHeight : undefined\n )\n\n const minWidth = resolvedDimensions.minWidth\n const minHeight = resolvedDimensions.minHeight\n const maxWidth = resolvedDimensions.maxWidth\n const maxHeight = resolvedDimensions.maxHeight\n\n const panelSizeKey = name\n ? `${STORE_KEY_PANEL_SIZE_PREFIX}_${name}`\n : STORE_KEY_SHARED_PANEL_SIZE\n const panelSize = state.devToolsPanelSize[panelSizeKey]\n\n return (\n <ResizeProvider\n value={{\n resizeRef: resizeContainerRef,\n initialSize:\n sizeConfig.kind === 'resizable' ? sizeConfig.initialSize : sizeConfig,\n minWidth,\n minHeight,\n maxWidth,\n maxHeight,\n devToolsPosition: state.devToolsPosition,\n devToolsPanelSize: state.devToolsPanelSize,\n storageKey: resizeStorageKey,\n }}\n >\n <div\n tabIndex={-1}\n ref={resizeContainerRef}\n className=\"dynamic-panel-container\"\n style={\n {\n '--panel-top': positionStyle.top,\n '--panel-bottom': positionStyle.bottom,\n '--panel-left': positionStyle.left,\n '--panel-right': positionStyle.right,\n ...(isResizable\n ? {\n '--panel-min-width': minWidth ? `${minWidth}px` : undefined,\n '--panel-min-height': minHeight\n ? `${minHeight}px`\n : undefined,\n '--panel-max-width': maxWidth ? `${maxWidth}px` : undefined,\n '--panel-max-height': maxHeight\n ? `${maxHeight}px`\n : undefined,\n }\n : {\n '--panel-height': `${panelSize ? panelSize.height : sizeConfig.height}px`,\n '--panel-width': `${panelSize ? panelSize.width : sizeConfig.width}px`,\n }),\n } as React.CSSProperties & Record<string, string | number | undefined>\n }\n >\n <DragProvider disabled={!draggable}>\n <Draggable\n dragHandleSelector=\".resize-container\"\n avoidZone={{\n corner: state.devToolsPosition,\n square: 25 / state.scale,\n padding: INDICATOR_PADDING,\n }}\n padding={INDICATOR_PADDING}\n position={devtoolsPanelPosition}\n setPosition={(p) => {\n dispatch({\n type: ACTION_DEVTOOLS_PANEL_POSITION,\n devToolsPanelPosition: p,\n key: positionStorageKey,\n })\n\n if (sizeConfig.kind === 'resizable') {\n saveDevToolsConfig({\n devToolsPanelPosition: {\n [positionStorageKey]: p,\n },\n })\n }\n }}\n style={{\n overflow: 'auto',\n width: '100%',\n height: '100%',\n }}\n disableDrag={!draggable}\n >\n <>\n <div\n {...containerProps}\n className={`panel-content-container ${containerProps?.className || ''}`}\n style={{\n ...containerProps?.style,\n }}\n >\n <DragHandle>{header}</DragHandle>\n <div\n data-nextjs-scrollable-content\n className=\"draggable-content\"\n >\n {children}\n </div>\n </div>\n {isResizable && (\n <>\n {(!sizeConfig.sides ||\n sizeConfig.sides.includes('vertical')) && (\n <>\n <ResizeHandle\n position={devtoolsPanelPosition}\n direction=\"top\"\n />\n <ResizeHandle\n position={devtoolsPanelPosition}\n direction=\"bottom\"\n />\n </>\n )}\n {(!sizeConfig.sides ||\n sizeConfig.sides.includes('horizontal')) && (\n <>\n <ResizeHandle\n position={devtoolsPanelPosition}\n direction=\"right\"\n />\n <ResizeHandle\n position={devtoolsPanelPosition}\n direction=\"left\"\n />\n </>\n )}\n {(!sizeConfig.sides ||\n sizeConfig.sides.includes('diagonal')) && (\n <>\n <ResizeHandle\n position={devtoolsPanelPosition}\n direction=\"top-left\"\n />\n <ResizeHandle\n position={devtoolsPanelPosition}\n direction=\"top-right\"\n />\n <ResizeHandle\n position={devtoolsPanelPosition}\n direction=\"bottom-left\"\n />\n <ResizeHandle\n position={devtoolsPanelPosition}\n direction=\"bottom-right\"\n />\n </>\n )}\n </>\n )}\n </>\n </Draggable>\n </DragProvider>\n </div>\n </ResizeProvider>\n )\n}\n","import type { ComponentProps } from 'react'\n\nfunction StaticRouteContent({\n routerType,\n ...props\n}: { routerType: 'pages' | 'app' } & ComponentProps<'div'>) {\n return (\n <article className=\"dev-tools-info-article\" {...props}>\n <p className=\"dev-tools-info-paragraph\">\n The path{' '}\n <code className=\"dev-tools-info-code\">{window.location.pathname}</code>{' '}\n is marked as \"static\" since it will be prerendered during the build\n time.\n </p>\n <p className=\"dev-tools-info-paragraph\">\n With Static Rendering, routes are rendered at build time, or in the\n background after{' '}\n <a\n className=\"dev-tools-info-link\"\n href={\n routerType === 'pages'\n ? 'https://nextjs.org/docs/pages/building-your-application/data-fetching/incremental-static-regeneration'\n : `https://nextjs.org/docs/app/building-your-application/data-fetching/incremental-static-regeneration`\n }\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n >\n data revalidation\n </a>\n .\n </p>\n <p className=\"dev-tools-info-paragraph\">\n Static rendering is useful when a route has data that is not\n personalized to the user and can be known at build time, such as a\n static blog post or a product page.\n </p>\n </article>\n )\n}\n\nfunction DynamicRouteContent({\n routerType,\n ...props\n}: { routerType: 'pages' | 'app' } & ComponentProps<'div'>) {\n return (\n <article className=\"dev-tools-info-article\" {...props}>\n <p className=\"dev-tools-info-paragraph\">\n The path{' '}\n <code className=\"dev-tools-info-code\">{window.location.pathname}</code>{' '}\n is marked as \"dynamic\" since it will be rendered for each user at{' '}\n <strong>request time</strong>.\n </p>\n <p className=\"dev-tools-info-paragraph\">\n Dynamic rendering is useful when a route has data that is personalized\n to the user or has information that can only be known at request time,\n such as cookies or the URL's search params.\n </p>\n {routerType === 'pages' ? (\n <p className=\"dev-tools-info-pagraph\">\n Exporting the{' '}\n <a\n className=\"dev-tools-info-link\"\n href=\"https://nextjs.org/docs/pages/building-your-application/data-fetching/get-server-side-props\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n >\n getServerSideProps\n </a>{' '}\n function will opt the route into dynamic rendering. This function will\n be called by the server on every request.\n </p>\n ) : (\n <p className=\"dev-tools-info-paragraph\">\n During rendering, if a{' '}\n <a\n className=\"dev-tools-info-link\"\n href=\"https://nextjs.org/docs/app/building-your-application/rendering/server-components#dynamic-apis\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n >\n Dynamic API\n </a>{' '}\n or a{' '}\n <a\n className=\"dev-tools-info-link\"\n href=\"https://nextjs.org/docs/app/api-reference/functions/fetch\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n >\n fetch\n </a>{' '}\n option of{' '}\n <code className=\"dev-tools-info-code\">{`{ cache: 'no-store' }`}</code>{' '}\n is discovered, Next.js will switch to dynamically rendering the whole\n route.\n </p>\n )}\n </article>\n )\n}\n\nexport const learnMoreLink = {\n pages: {\n static:\n 'https://nextjs.org/docs/pages/building-your-application/rendering/static-site-generation',\n dynamic:\n 'https://nextjs.org/docs/pages/building-your-application/rendering/server-side-rendering',\n },\n app: {\n static:\n 'https://nextjs.org/docs/app/building-your-application/rendering/server-components#static-rendering-default',\n dynamic:\n 'https://nextjs.org/docs/app/building-your-application/rendering/server-components#dynamic-rendering',\n },\n} as const\n\nexport function RouteInfoBody({\n routerType,\n isStaticRoute,\n ...props\n}: {\n routerType: 'pages' | 'app'\n isStaticRoute: boolean\n} & ComponentProps<'div'>) {\n return isStaticRoute ? (\n <StaticRouteContent routerType={routerType} {...props} />\n ) : (\n <DynamicRouteContent routerType={routerType} {...props} />\n )\n}\n","\n import API from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"../../../../build/webpack/loaders/devtool/devtool-style-inject.js\";\n import setAttributes from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./segment-explorer.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn;\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./segment-explorer.css\";\n export default content && content.locals ? content.locals : undefined;\n","import { useSyncExternalStore } from 'react'\nimport type { SegmentNodeState } from '../userspace/app/segment-explorer-node'\n\n/**\n * Trie data structure for storing and searching paths\n *\n * This can be used to store app router paths and search for them efficiently.\n * e.g.\n *\n * [trie root]\n * ├── layout.js\n * ├── page.js\n * ├── blog\n * ├── layout.js\n * ├── page.js\n * ├── [slug]\n * ├── layout.js\n * ├── page.js\n **/\n\ntype TrieNode<Value = string> = {\n value: Value | undefined\n children: {\n [key: string]: TrieNode<Value> | undefined\n }\n}\n\ntype Trie<Value = string> = {\n insert: (value: Value) => void\n remove: (value: Value) => void\n getRoot: () => TrieNode<Value>\n}\n\nconst listeners = new Set<() => void>()\nconst createSegmentTreeStore = (): {\n subscribe: (callback: () => void) => () => void\n getSnapshot: () => SegmentTrieNode\n getServerSnapshot: () => SegmentTrieNode\n} => {\n // return a store that can be used by useSyncExternalStore\n return {\n subscribe: (callback) => {\n listeners.add(callback)\n return () => listeners.delete(callback)\n },\n getSnapshot: () => {\n return trie.getRoot()\n },\n getServerSnapshot: () => {\n return trie.getRoot()\n },\n }\n}\n\n// TODO: Move the Segment Tree into React State\nconst { subscribe, getSnapshot, getServerSnapshot } = createSegmentTreeStore()\n\nfunction createTrie<Value = string>({\n getCharacters = (item: Value) => [item] as string[],\n compare = (a: Value | undefined, b: Value | undefined) => a === b,\n}: {\n getCharacters?: (item: Value) => string[]\n compare?: (a: Value | undefined, b: Value | undefined) => boolean\n}): Trie<Value> {\n let root: TrieNode<Value> = {\n value: undefined,\n children: {},\n }\n\n function markUpdated() {\n for (const listener of listeners) {\n listener()\n }\n }\n\n function insert(value: Value) {\n let currentNode = root\n const segments = getCharacters(value)\n\n for (const segment of segments) {\n if (!currentNode.children[segment]) {\n currentNode.children[segment] = {\n value: undefined,\n // Skip value for intermediate nodes\n children: {},\n }\n }\n currentNode = currentNode.children[segment]\n }\n\n currentNode.value = value\n\n root = { ...root }\n markUpdated()\n }\n\n function remove(value: Value) {\n let currentNode = root\n const segments = getCharacters(value)\n\n const stack: TrieNode<Value>[] = []\n let found = true\n for (const segment of segments) {\n if (!currentNode.children[segment]) {\n found = false\n break\n }\n stack.push(currentNode)\n currentNode = currentNode.children[segment]!\n }\n // If the value is not found, skip removal\n if (!found || !compare(currentNode.value, value)) {\n return\n }\n currentNode.value = undefined\n for (let i = stack.length - 1; i >= 0; i--) {\n const parentNode = stack[i]\n const segment = segments[i]\n if (Object.keys(parentNode.children[segment]!.children).length === 0) {\n delete parentNode.children[segment]\n }\n }\n\n root = { ...root }\n markUpdated()\n }\n\n function getRoot(): TrieNode<Value> {\n return root\n }\n\n return { insert, remove, getRoot }\n}\n\ntype SegmentTrie = Trie<SegmentNodeState>\nexport type SegmentTrieNode = TrieNode<SegmentNodeState>\n\nconst trie: SegmentTrie = createTrie({\n compare: (a, b) => {\n if (!a || !b) return false\n return (\n a.pagePath === b.pagePath &&\n a.type === b.type &&\n a.boundaryType === b.boundaryType\n )\n },\n getCharacters: (item) => item.pagePath.split('/'),\n})\nexport const insertSegmentNode = trie.insert\nexport const removeSegmentNode = trie.remove\nexport const getSegmentTrieRoot = trie.getRoot\n\nexport function useSegmentTree(): SegmentTrieNode {\n const state = useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot)\n return state\n}\n","\n import API from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"../../../../build/webpack/loaders/devtool/devtool-style-inject.js\";\n import setAttributes from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./segment-boundary-trigger.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn;\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./segment-boundary-trigger.css\";\n export default content && content.locals ? content.locals : undefined;\n","'use client';\n\nimport * as React from 'react';\nconst UNINITIALIZED = {};\n\n/**\n * A React.useRef() that is initialized with a function. Note that it accepts an optional\n * initialization argument, so the initialization function doesn't need to be an inline closure.\n *\n * @usage\n * const ref = useRefWithInit(sortColumns, columns)\n */\n\nexport function useRefWithInit(init, initArg) {\n const ref = React.useRef(UNINITIALIZED);\n if (ref.current === UNINITIALIZED) {\n ref.current = init(initArg);\n }\n return ref;\n}","'use client';\n\nimport * as React from 'react';\nconst EMPTY = [];\n\n/**\n * A React.useEffect equivalent that runs once, when the component is mounted.\n */\nexport function useOnMount(fn) {\n // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler -- no need to put `fn` in the dependency array\n /* eslint-disable react-hooks/exhaustive-deps */\n React.useEffect(fn, EMPTY);\n /* eslint-enable react-hooks/exhaustive-deps */\n}","'use client';\n\nimport { useRefWithInit } from \"./useRefWithInit.js\";\nimport { useOnMount } from \"./useOnMount.js\";\nconst EMPTY = 0;\nexport class Timeout {\n static create() {\n return new Timeout();\n }\n currentId = (() => EMPTY)();\n\n /**\n * Executes `fn` after `delay`, clearing any previously scheduled call.\n */\n start(delay, fn) {\n this.clear();\n this.currentId = setTimeout(() => {\n this.currentId = EMPTY;\n fn();\n }, delay); /* Node.js types are enabled in development */\n }\n isStarted() {\n return this.currentId !== EMPTY;\n }\n clear = () => {\n if (this.currentId !== EMPTY) {\n clearTimeout(this.currentId);\n this.currentId = EMPTY;\n }\n };\n disposeEffect = () => {\n return this.clear;\n };\n}\n\n/**\n * A `setTimeout` with automatic cleanup and guard.\n */\nexport function useTimeout() {\n const timeout = useRefWithInit(Timeout.create).current;\n useOnMount(timeout.disposeEffect);\n return timeout;\n}","'use client';\n\nimport * as React from 'react';\nimport { useRefWithInit } from \"./useRefWithInit.js\";\n\n// https://github.com/mui/material-ui/issues/41190#issuecomment-2040873379\nconst useInsertionEffect = React[`useInsertionEffect${Math.random().toFixed(1)}`.slice(0, -3)];\nconst useSafeInsertionEffect =\n// React 17 doesn't have useInsertionEffect.\nuseInsertionEffect &&\n// Preact replaces useInsertionEffect with useLayoutEffect and fires too late.\nuseInsertionEffect !== React.useLayoutEffect ? useInsertionEffect : fn => fn();\nexport function useEventCallback(callback) {\n const stable = useRefWithInit(createStableCallback).current;\n stable.next = callback;\n useSafeInsertionEffect(stable.effect);\n return stable.trampoline;\n}\nfunction createStableCallback() {\n const stable = {\n next: undefined,\n callback: assertNotCalled,\n trampoline: (...args) => stable.callback?.(...args),\n effect: () => {\n stable.callback = stable.next;\n }\n };\n return stable;\n}\nfunction assertNotCalled() {\n if (process.env.NODE_ENV !== 'production') {\n throw new Error('Base UI: Cannot call an event handler while rendering.');\n }\n}","'use client';\n\n// TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler -- process.env never changes, dependency arrays are intentionally ignored\n/* eslint-disable react-hooks/rules-of-hooks, react-hooks/exhaustive-deps */\nimport * as React from 'react';\nexport function useControlled({\n controlled,\n default: defaultProp,\n name,\n state = 'value'\n}) {\n // isControlled is ignored in the hook dependency lists as it should never change.\n const {\n current: isControlled\n } = React.useRef(controlled !== undefined);\n const [valueState, setValue] = React.useState(defaultProp);\n const value = isControlled ? controlled : valueState;\n if (process.env.NODE_ENV !== 'production') {\n React.useEffect(() => {\n if (isControlled !== (controlled !== undefined)) {\n console.error([`Base UI: A component is changing the ${isControlled ? '' : 'un'}controlled ${state} state of ${name} to be ${isControlled ? 'un' : ''}controlled.`, 'Elements should not switch from uncontrolled to controlled (or vice versa).', `Decide between using a controlled or uncontrolled ${name} ` + 'element for the lifetime of the component.', \"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.\", 'More info: https://fb.me/react-controlled-components'].join('\\n'));\n }\n }, [state, name, controlled]);\n const {\n current: defaultValue\n } = React.useRef(defaultProp);\n React.useEffect(() => {\n // Object.is() is not equivalent to the === operator.\n // See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is for more details.\n if (!isControlled && !Object.is(defaultValue, defaultProp)) {\n console.error([`Base UI: A component is changing the default ${state} state of an uncontrolled ${name} after being initialized. ` + `To suppress this warning opt to use a controlled ${name}.`].join('\\n'));\n }\n }, [JSON.stringify(defaultProp)]);\n }\n const setValueIfUncontrolled = React.useCallback(newValue => {\n if (!isControlled) {\n setValue(newValue);\n }\n }, []);\n return [value, setValueIfUncontrolled];\n}","import * as React from 'react';\n\n// https://github.com/mui/material-ui/issues/41190#issuecomment-2040873379\nexport const SafeReact = {\n ...React\n};","'use client';\n\nimport * as React from 'react';\nimport { SafeReact } from \"./safeReact.js\";\nlet globalId = 0;\n\n// TODO React 17: Remove `useGlobalId` once React 17 support is removed\nfunction useGlobalId(idOverride, prefix = 'mui') {\n const [defaultId, setDefaultId] = React.useState(idOverride);\n const id = idOverride || defaultId;\n React.useEffect(() => {\n if (defaultId == null) {\n // Fallback to this default id when possible.\n // Use the incrementing value for client-side rendering only.\n // We can't use it server-side.\n // If you want to use random values please consider the Birthday Problem: https://en.wikipedia.org/wiki/Birthday_problem\n globalId += 1;\n setDefaultId(`${prefix}-${globalId}`);\n }\n }, [defaultId, prefix]);\n return id;\n}\nconst maybeReactUseId = SafeReact.useId;\n\n/**\n *\n * @example <div id={useId()} />\n * @param idOverride\n * @returns {string}\n */\nexport function useId(idOverride, prefix) {\n // React.useId() is only available from React 17.0.0.\n if (maybeReactUseId !== undefined) {\n const reactId = maybeReactUseId();\n return idOverride ?? (prefix ? `${prefix}-${reactId}` : reactId);\n }\n\n // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler\n // eslint-disable-next-line react-hooks/rules-of-hooks -- `React.useId` is invariant at runtime.\n return useGlobalId(idOverride, prefix);\n}","export function createEventEmitter() {\n const map = new Map();\n return {\n emit(event, data) {\n map.get(event)?.forEach(listener => listener(data));\n },\n on(event, listener) {\n if (!map.has(event)) {\n map.set(event, new Set());\n }\n map.get(event).add(listener);\n },\n off(event, listener) {\n map.get(event)?.delete(listener);\n }\n };\n}","'use client';\n\nimport * as React from 'react';\nconst noop = () => {};\nexport const useIsoLayoutEffect = typeof document !== 'undefined' ? React.useLayoutEffect : noop;","import * as React from 'react';\nimport { useId } from '@base-ui-components/utils/useId';\nimport { useIsoLayoutEffect } from '@base-ui-components/utils/useIsoLayoutEffect';\nimport { createEventEmitter } from \"../utils/createEventEmitter.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst FloatingNodeContext = /*#__PURE__*/React.createContext(null);\nif (process.env.NODE_ENV !== \"production\") FloatingNodeContext.displayName = \"FloatingNodeContext\";\nconst FloatingTreeContext = /*#__PURE__*/React.createContext(null);\n\n/**\n * Returns the parent node id for nested floating elements, if available.\n * Returns `null` for top-level floating elements.\n */\nif (process.env.NODE_ENV !== \"production\") FloatingTreeContext.displayName = \"FloatingTreeContext\";\nexport const useFloatingParentNodeId = () => React.useContext(FloatingNodeContext)?.id || null;\n\n/**\n * Returns the nearest floating tree context, if available.\n */\nexport const useFloatingTree = () => React.useContext(FloatingTreeContext);\n\n/**\n * Registers a node into the `FloatingTree`, returning its id.\n * @see https://floating-ui.com/docs/FloatingTree\n */\nexport function useFloatingNodeId(customParentId) {\n const id = useId();\n const tree = useFloatingTree();\n const reactParentId = useFloatingParentNodeId();\n const parentId = customParentId || reactParentId;\n useIsoLayoutEffect(() => {\n if (!id) {\n return undefined;\n }\n const node = {\n id,\n parentId\n };\n tree?.addNode(node);\n return () => {\n tree?.removeNode(node);\n };\n }, [tree, id, parentId]);\n return id;\n}\n/**\n * Provides parent node context for nested floating elements.\n * @see https://floating-ui.com/docs/FloatingTree\n * @internal\n */\nexport function FloatingNode(props) {\n const {\n children,\n id\n } = props;\n const parentId = useFloatingParentNodeId();\n return /*#__PURE__*/_jsx(FloatingNodeContext.Provider, {\n value: React.useMemo(() => ({\n id,\n parentId\n }), [id, parentId]),\n children: children\n });\n}\n/**\n * Provides context for nested floating elements when they are not children of\n * each other on the DOM.\n * This is not necessary in all cases, except when there must be explicit communication between parent and child floating elements. It is necessary for:\n * - The `bubbles` option in the `useDismiss()` Hook\n * - Nested virtual list navigation\n * - Nested floating elements that each open on hover\n * - Custom communication between parent and child floating elements\n * @see https://floating-ui.com/docs/FloatingTree\n * @internal\n */\nexport function FloatingTree(props) {\n const {\n children\n } = props;\n const nodesRef = React.useRef([]);\n const addNode = React.useCallback(node => {\n nodesRef.current = [...nodesRef.current, node];\n }, []);\n const removeNode = React.useCallback(node => {\n nodesRef.current = nodesRef.current.filter(n => n !== node);\n }, []);\n const [events] = React.useState(() => createEventEmitter());\n return /*#__PURE__*/_jsx(FloatingTreeContext.Provider, {\n value: React.useMemo(() => ({\n nodesRef,\n addNode,\n removeNode,\n events\n }), [addNode, removeNode, events]),\n children: children\n });\n}","import * as React from 'react';\nimport { isElement } from '@floating-ui/utils/dom';\nimport { useEventCallback } from '@base-ui-components/utils/useEventCallback';\nimport { useId } from '@base-ui-components/utils/useId';\nimport { createEventEmitter } from \"../utils/createEventEmitter.js\";\nimport { useFloatingParentNodeId } from \"../components/FloatingTree.js\";\nexport function useFloatingRootContext(options) {\n const {\n open = false,\n onOpenChange: onOpenChangeProp,\n elements: elementsProp\n } = options;\n const floatingId = useId();\n const dataRef = React.useRef({});\n const [events] = React.useState(() => createEventEmitter());\n const nested = useFloatingParentNodeId() != null;\n if (process.env.NODE_ENV !== 'production') {\n const optionDomReference = elementsProp.reference;\n if (optionDomReference && !isElement(optionDomReference)) {\n console.error('Cannot pass a virtual element to the `elements.reference` option,', 'as it must be a real DOM element. Use `refs.setPositionReference()`', 'instead.');\n }\n }\n const [positionReference, setPositionReference] = React.useState(elementsProp.reference);\n const onOpenChange = useEventCallback((newOpen, event, reason) => {\n dataRef.current.openEvent = newOpen ? event : undefined;\n events.emit('openchange', {\n open: newOpen,\n event,\n reason,\n nested\n });\n onOpenChangeProp?.(newOpen, event, reason);\n });\n const refs = React.useMemo(() => ({\n setPositionReference\n }), []);\n const elements = React.useMemo(() => ({\n reference: positionReference || elementsProp.reference || null,\n floating: elementsProp.floating || null,\n domReference: elementsProp.reference\n }), [positionReference, elementsProp.reference, elementsProp.floating]);\n return React.useMemo(() => ({\n dataRef,\n open,\n onOpenChange,\n elements,\n events,\n floatingId,\n refs\n }), [open, onOpenChange, elements, events, floatingId, refs]);\n}","function hasWindow() {\n return typeof window !== 'undefined';\n}\nfunction getNodeName(node) {\n if (isNode(node)) {\n return (node.nodeName || '').toLowerCase();\n }\n // Mocked nodes in testing environments may not be instances of Node. By\n // returning `#document` an infinite loop won't occur.\n // https://github.com/floating-ui/floating-ui/issues/2317\n return '#document';\n}\nfunction getWindow(node) {\n var _node$ownerDocument;\n return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;\n}\nfunction getDocumentElement(node) {\n var _ref;\n return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;\n}\nfunction isNode(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof Node || value instanceof getWindow(value).Node;\n}\nfunction isElement(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof Element || value instanceof getWindow(value).Element;\n}\nfunction isHTMLElement(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;\n}\nfunction isShadowRoot(value) {\n if (!hasWindow() || typeof ShadowRoot === 'undefined') {\n return false;\n }\n return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;\n}\nconst invalidOverflowDisplayValues = /*#__PURE__*/new Set(['inline', 'contents']);\nfunction isOverflowElement(element) {\n const {\n overflow,\n overflowX,\n overflowY,\n display\n } = getComputedStyle(element);\n return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !invalidOverflowDisplayValues.has(display);\n}\nconst tableElements = /*#__PURE__*/new Set(['table', 'td', 'th']);\nfunction isTableElement(element) {\n return tableElements.has(getNodeName(element));\n}\nconst topLayerSelectors = [':popover-open', ':modal'];\nfunction isTopLayer(element) {\n return topLayerSelectors.some(selector => {\n try {\n return element.matches(selector);\n } catch (_e) {\n return false;\n }\n });\n}\nconst transformProperties = ['transform', 'translate', 'scale', 'rotate', 'perspective'];\nconst willChangeValues = ['transform', 'translate', 'scale', 'rotate', 'perspective', 'filter'];\nconst containValues = ['paint', 'layout', 'strict', 'content'];\nfunction isContainingBlock(elementOrCss) {\n const webkit = isWebKit();\n const css = isElement(elementOrCss) ? getComputedStyle(elementOrCss) : elementOrCss;\n\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n // https://drafts.csswg.org/css-transforms-2/#individual-transforms\n return transformProperties.some(value => css[value] ? css[value] !== 'none' : false) || (css.containerType ? css.containerType !== 'normal' : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !webkit && (css.filter ? css.filter !== 'none' : false) || willChangeValues.some(value => (css.willChange || '').includes(value)) || containValues.some(value => (css.contain || '').includes(value));\n}\nfunction getContainingBlock(element) {\n let currentNode = getParentNode(element);\n while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {\n if (isContainingBlock(currentNode)) {\n return currentNode;\n } else if (isTopLayer(currentNode)) {\n return null;\n }\n currentNode = getParentNode(currentNode);\n }\n return null;\n}\nfunction isWebKit() {\n if (typeof CSS === 'undefined' || !CSS.supports) return false;\n return CSS.supports('-webkit-backdrop-filter', 'none');\n}\nconst lastTraversableNodeNames = /*#__PURE__*/new Set(['html', 'body', '#document']);\nfunction isLastTraversableNode(node) {\n return lastTraversableNodeNames.has(getNodeName(node));\n}\nfunction getComputedStyle(element) {\n return getWindow(element).getComputedStyle(element);\n}\nfunction getNodeScroll(element) {\n if (isElement(element)) {\n return {\n scrollLeft: element.scrollLeft,\n scrollTop: element.scrollTop\n };\n }\n return {\n scrollLeft: element.scrollX,\n scrollTop: element.scrollY\n };\n}\nfunction getParentNode(node) {\n if (getNodeName(node) === 'html') {\n return node;\n }\n const result =\n // Step into the shadow DOM of the parent of a slotted node.\n node.assignedSlot ||\n // DOM Element detected.\n node.parentNode ||\n // ShadowRoot detected.\n isShadowRoot(node) && node.host ||\n // Fallback.\n getDocumentElement(node);\n return isShadowRoot(result) ? result.host : result;\n}\nfunction getNearestOverflowAncestor(node) {\n const parentNode = getParentNode(node);\n if (isLastTraversableNode(parentNode)) {\n return node.ownerDocument ? node.ownerDocument.body : node.body;\n }\n if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {\n return parentNode;\n }\n return getNearestOverflowAncestor(parentNode);\n}\nfunction getOverflowAncestors(node, list, traverseIframes) {\n var _node$ownerDocument2;\n if (list === void 0) {\n list = [];\n }\n if (traverseIframes === void 0) {\n traverseIframes = true;\n }\n const scrollableAncestor = getNearestOverflowAncestor(node);\n const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);\n const win = getWindow(scrollableAncestor);\n if (isBody) {\n const frameElement = getFrameElement(win);\n return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);\n }\n return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));\n}\nfunction getFrameElement(win) {\n return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;\n}\n\nexport { getComputedStyle, getContainingBlock, getDocumentElement, getFrameElement, getNearestOverflowAncestor, getNodeName, getNodeScroll, getOverflowAncestors, getParentNode, getWindow, isContainingBlock, isElement, isHTMLElement, isLastTraversableNode, isNode, isOverflowElement, isShadowRoot, isTableElement, isTopLayer, isWebKit };\n","'use client';\n\nimport { useIsoLayoutEffect } from \"./useIsoLayoutEffect.js\";\nimport { useRefWithInit } from \"./useRefWithInit.js\";\nexport function useLatestRef(value) {\n const latest = useRefWithInit(createLatestRef, value).current;\n latest.next = value;\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n useIsoLayoutEffect(latest.effect);\n return latest;\n}\nfunction createLatestRef(value) {\n const latest = {\n current: value,\n next: value,\n effect: () => {\n latest.current = latest.next;\n }\n };\n return latest;\n}","const hasNavigator = typeof navigator !== 'undefined';\nconst nav = getNavigatorData();\nconst platform = getPlatform();\nconst userAgent = getUserAgent();\nexport const isWebKit = typeof CSS === 'undefined' || !CSS.supports ? false : CSS.supports('-webkit-backdrop-filter:none');\nexport const isIOS =\n// iPads can claim to be MacIntel\nnav.platform === 'MacIntel' && nav.maxTouchPoints > 1 ? true : /iP(hone|ad|od)|iOS/.test(nav.platform);\nexport const isFirefox = hasNavigator && /firefox/i.test(userAgent);\nexport const isSafari = hasNavigator && /apple/i.test(navigator.vendor);\nexport const isAndroid = hasNavigator && /android/i.test(platform) || /android/i.test(userAgent);\nexport const isMac = hasNavigator && platform.toLowerCase().startsWith('mac') && !navigator.maxTouchPoints;\nexport const isJSDOM = userAgent.includes('jsdom/');\n\n// Avoid Chrome DevTools blue warning.\nfunction getNavigatorData() {\n if (!hasNavigator) {\n return {\n platform: '',\n maxTouchPoints: -1\n };\n }\n const uaData = navigator.userAgentData;\n if (uaData?.platform) {\n return {\n platform: uaData.platform,\n maxTouchPoints: navigator.maxTouchPoints\n };\n }\n return {\n platform: navigator.platform ?? '',\n maxTouchPoints: navigator.maxTouchPoints ?? -1\n };\n}\nfunction getUserAgent() {\n if (!hasNavigator) {\n return '';\n }\n const uaData = navigator.userAgentData;\n if (uaData && Array.isArray(uaData.brands)) {\n return uaData.brands.map(({\n brand,\n version\n }) => `${brand}/${version}`).join(' ');\n }\n return navigator.userAgent;\n}\nfunction getPlatform() {\n if (!hasNavigator) {\n return '';\n }\n const uaData = navigator.userAgentData;\n if (uaData?.platform) {\n return uaData.platform;\n }\n return navigator.platform ?? '';\n}","import { isAndroid, isJSDOM } from '@base-ui-components/utils/detectBrowser';\nexport function stopEvent(event) {\n event.preventDefault();\n event.stopPropagation();\n}\nexport function isReactEvent(event) {\n return 'nativeEvent' in event;\n}\n\n// License: https://github.com/adobe/react-spectrum/blob/b35d5c02fe900badccd0cf1a8f23bb593419f238/packages/@react-aria/utils/src/isVirtualEvent.ts\nexport function isVirtualClick(event) {\n // FIXME: Firefox is now emitting a deprecation warning for `mozInputSource`.\n // Try to find a workaround for this. `react-aria` source still has the check.\n if (event.mozInputSource === 0 && event.isTrusted) {\n return true;\n }\n if (isAndroid && event.pointerType) {\n return event.type === 'click' && event.buttons === 1;\n }\n return event.detail === 0 && !event.pointerType;\n}\nexport function isVirtualPointerEvent(event) {\n if (isJSDOM) {\n return false;\n }\n return !isAndroid && event.width === 0 && event.height === 0 || isAndroid && event.width === 1 && event.height === 1 && event.pressure === 0 && event.detail === 0 && event.pointerType === 'mouse' ||\n // iOS VoiceOver returns 0.333• for width/height.\n event.width < 1 && event.height < 1 && event.pressure === 0 && event.detail === 0 && event.pointerType === 'touch';\n}\nexport function isMouseLikePointerType(pointerType, strict) {\n // On some Linux machines with Chromium, mouse inputs return a `pointerType`\n // of \"pen\": https://github.com/floating-ui/floating-ui/issues/2015\n const values = ['mouse', 'pen'];\n if (!strict) {\n values.push('', undefined);\n }\n return values.includes(pointerType);\n}","export const FOCUSABLE_ATTRIBUTE = 'data-base-ui-focusable';\nexport const ACTIVE_KEY = 'active';\nexport const SELECTED_KEY = 'selected';\nexport const TYPEABLE_SELECTOR = \"input:not([type='hidden']):not([disabled]),\" + \"[contenteditable]:not([contenteditable='false']),textarea:not([disabled])\";\nexport const ARROW_LEFT = 'ArrowLeft';\nexport const ARROW_RIGHT = 'ArrowRight';\nexport const ARROW_UP = 'ArrowUp';\nexport const ARROW_DOWN = 'ArrowDown';","import { isHTMLElement, isShadowRoot } from '@floating-ui/utils/dom';\nimport { isJSDOM } from '@base-ui-components/utils/detectBrowser';\nimport { FOCUSABLE_ATTRIBUTE, TYPEABLE_SELECTOR } from \"./constants.js\";\nexport function activeElement(doc) {\n let element = doc.activeElement;\n while (element?.shadowRoot?.activeElement != null) {\n element = element.shadowRoot.activeElement;\n }\n return element;\n}\nexport function contains(parent, child) {\n if (!parent || !child) {\n return false;\n }\n const rootNode = child.getRootNode?.();\n\n // First, attempt with faster native method\n if (parent.contains(child)) {\n return true;\n }\n\n // then fallback to custom implementation with Shadow DOM support\n if (rootNode && isShadowRoot(rootNode)) {\n let next = child;\n while (next) {\n if (parent === next) {\n return true;\n }\n // @ts-ignore\n next = next.parentNode || next.host;\n }\n }\n\n // Give up, the result is false\n return false;\n}\nexport function getTarget(event) {\n if ('composedPath' in event) {\n return event.composedPath()[0];\n }\n\n // TS thinks `event` is of type never as it assumes all browsers support\n // `composedPath()`, but browsers without shadow DOM don't.\n return event.target;\n}\nexport function isEventTargetWithin(event, node) {\n if (node == null) {\n return false;\n }\n if ('composedPath' in event) {\n return event.composedPath().includes(node);\n }\n\n // TS thinks `event` is of type never as it assumes all browsers support composedPath, but browsers without shadow dom don't\n const eventAgain = event;\n return eventAgain.target != null && node.contains(eventAgain.target);\n}\nexport function isRootElement(element) {\n return element.matches('html,body');\n}\nexport function getDocument(node) {\n return node?.ownerDocument || document;\n}\nexport function isTypeableElement(element) {\n return isHTMLElement(element) && element.matches(TYPEABLE_SELECTOR);\n}\nexport function isTypeableCombobox(element) {\n if (!element) {\n return false;\n }\n return element.getAttribute('role') === 'combobox' && isTypeableElement(element);\n}\nexport function matchesFocusVisible(element) {\n // We don't want to block focus from working with `visibleOnly`\n // (JSDOM doesn't match `:focus-visible` when the element has `:focus`)\n if (!element || isJSDOM) {\n return true;\n }\n try {\n return element.matches(':focus-visible');\n } catch (_e) {\n return true;\n }\n}\nexport function getFloatingFocusElement(floatingElement) {\n if (!floatingElement) {\n return null;\n }\n // Try to find the element that has `{...getFloatingProps()}` spread on it.\n // This indicates the floating element is acting as a positioning wrapper, and\n // so focus should be managed on the child element with the event handlers and\n // aria props.\n return floatingElement.hasAttribute(FOCUSABLE_ATTRIBUTE) ? floatingElement : floatingElement.querySelector(`[${FOCUSABLE_ATTRIBUTE}]`) || floatingElement;\n}","export function createAttribute(name) {\n return `data-base-ui-${name}`;\n}","import * as React from 'react';\nimport { isElement } from '@floating-ui/utils/dom';\nimport { useTimeout } from '@base-ui-components/utils/useTimeout';\nimport { useLatestRef } from '@base-ui-components/utils/useLatestRef';\nimport { useEventCallback } from '@base-ui-components/utils/useEventCallback';\nimport { useIsoLayoutEffect } from '@base-ui-components/utils/useIsoLayoutEffect';\nimport { contains, getDocument, isMouseLikePointerType } from \"../utils.js\";\nimport { useFloatingParentNodeId, useFloatingTree } from \"../components/FloatingTree.js\";\nimport { createAttribute } from \"../utils/createAttribute.js\";\nconst safePolygonIdentifier = createAttribute('safe-polygon');\nexport function getDelay(value, prop, pointerType) {\n if (pointerType && !isMouseLikePointerType(pointerType)) {\n return 0;\n }\n if (typeof value === 'number') {\n return value;\n }\n if (typeof value === 'function') {\n const result = value();\n if (typeof result === 'number') {\n return result;\n }\n return result?.[prop];\n }\n return value?.[prop];\n}\nfunction getRestMs(value) {\n if (typeof value === 'function') {\n return value();\n }\n return value;\n}\n/**\n * Opens the floating element while hovering over the reference element, like\n * CSS `:hover`.\n * @see https://floating-ui.com/docs/useHover\n */\nexport function useHover(context, props = {}) {\n const {\n open,\n onOpenChange,\n dataRef,\n events,\n elements\n } = context;\n const {\n enabled = true,\n delay = 0,\n handleClose = null,\n mouseOnly = false,\n restMs = 0,\n move = true\n } = props;\n const tree = useFloatingTree();\n const parentId = useFloatingParentNodeId();\n const handleCloseRef = useLatestRef(handleClose);\n const delayRef = useLatestRef(delay);\n const openRef = useLatestRef(open);\n const restMsRef = useLatestRef(restMs);\n const pointerTypeRef = React.useRef(undefined);\n const timeout = useTimeout();\n const handlerRef = React.useRef(undefined);\n const restTimeout = useTimeout();\n const blockMouseMoveRef = React.useRef(true);\n const performedPointerEventsMutationRef = React.useRef(false);\n const unbindMouseMoveRef = React.useRef(() => {});\n const restTimeoutPendingRef = React.useRef(false);\n const isHoverOpen = useEventCallback(() => {\n const type = dataRef.current.openEvent?.type;\n return type?.includes('mouse') && type !== 'mousedown';\n });\n\n // When closing before opening, clear the delay timeouts to cancel it\n // from showing.\n React.useEffect(() => {\n if (!enabled) {\n return undefined;\n }\n function onOpenChangeLocal({\n open: newOpen\n }) {\n if (!newOpen) {\n timeout.clear();\n restTimeout.clear();\n blockMouseMoveRef.current = true;\n restTimeoutPendingRef.current = false;\n }\n }\n events.on('openchange', onOpenChangeLocal);\n return () => {\n events.off('openchange', onOpenChangeLocal);\n };\n }, [enabled, events, timeout, restTimeout]);\n React.useEffect(() => {\n if (!enabled) {\n return undefined;\n }\n if (!handleCloseRef.current) {\n return undefined;\n }\n if (!open) {\n return undefined;\n }\n function onLeave(event) {\n if (isHoverOpen()) {\n onOpenChange(false, event, 'hover');\n }\n }\n const html = getDocument(elements.floating).documentElement;\n html.addEventListener('mouseleave', onLeave);\n return () => {\n html.removeEventListener('mouseleave', onLeave);\n };\n }, [elements.floating, open, onOpenChange, enabled, handleCloseRef, isHoverOpen]);\n const closeWithDelay = React.useCallback((event, runElseBranch = true, reason = 'hover') => {\n const closeDelay = getDelay(delayRef.current, 'close', pointerTypeRef.current);\n if (closeDelay && !handlerRef.current) {\n timeout.start(closeDelay, () => onOpenChange(false, event, reason));\n } else if (runElseBranch) {\n timeout.clear();\n onOpenChange(false, event, reason);\n }\n }, [delayRef, onOpenChange, timeout]);\n const cleanupMouseMoveHandler = useEventCallback(() => {\n unbindMouseMoveRef.current();\n handlerRef.current = undefined;\n });\n const clearPointerEvents = useEventCallback(() => {\n if (performedPointerEventsMutationRef.current) {\n const body = getDocument(elements.floating).body;\n body.style.pointerEvents = '';\n body.removeAttribute(safePolygonIdentifier);\n performedPointerEventsMutationRef.current = false;\n }\n });\n const isClickLikeOpenEvent = useEventCallback(() => {\n return dataRef.current.openEvent ? ['click', 'mousedown'].includes(dataRef.current.openEvent.type) : false;\n });\n\n // Registering the mouse events on the reference directly to bypass React's\n // delegation system. If the cursor was on a disabled element and then entered\n // the reference (no gap), `mouseenter` doesn't fire in the delegation system.\n React.useEffect(() => {\n if (!enabled) {\n return undefined;\n }\n function onReferenceMouseEnter(event) {\n timeout.clear();\n blockMouseMoveRef.current = false;\n if (mouseOnly && !isMouseLikePointerType(pointerTypeRef.current) || getRestMs(restMsRef.current) > 0 && !getDelay(delayRef.current, 'open')) {\n return;\n }\n const openDelay = getDelay(delayRef.current, 'open', pointerTypeRef.current);\n if (openDelay) {\n timeout.start(openDelay, () => {\n if (!openRef.current) {\n onOpenChange(true, event, 'hover');\n }\n });\n } else if (!open) {\n onOpenChange(true, event, 'hover');\n }\n }\n function onReferenceMouseLeave(event) {\n if (isClickLikeOpenEvent()) {\n clearPointerEvents();\n return;\n }\n unbindMouseMoveRef.current();\n const doc = getDocument(elements.floating);\n restTimeout.clear();\n restTimeoutPendingRef.current = false;\n if (handleCloseRef.current && dataRef.current.floatingContext) {\n // Prevent clearing `onScrollMouseLeave` timeout.\n if (!open) {\n timeout.clear();\n }\n handlerRef.current = handleCloseRef.current({\n ...dataRef.current.floatingContext,\n tree,\n x: event.clientX,\n y: event.clientY,\n onClose() {\n clearPointerEvents();\n cleanupMouseMoveHandler();\n if (!isClickLikeOpenEvent()) {\n closeWithDelay(event, true, 'safe-polygon');\n }\n }\n });\n const handler = handlerRef.current;\n doc.addEventListener('mousemove', handler);\n unbindMouseMoveRef.current = () => {\n doc.removeEventListener('mousemove', handler);\n };\n return;\n }\n\n // Allow interactivity without `safePolygon` on touch devices. With a\n // pointer, a short close delay is an alternative, so it should work\n // consistently.\n const shouldClose = pointerTypeRef.current === 'touch' ? !contains(elements.floating, event.relatedTarget) : true;\n if (shouldClose) {\n closeWithDelay(event);\n }\n }\n\n // Ensure the floating element closes after scrolling even if the pointer\n // did not move.\n // https://github.com/floating-ui/floating-ui/discussions/1692\n function onScrollMouseLeave(event) {\n if (isClickLikeOpenEvent()) {\n return;\n }\n if (!dataRef.current.floatingContext) {\n return;\n }\n handleCloseRef.current?.({\n ...dataRef.current.floatingContext,\n tree,\n x: event.clientX,\n y: event.clientY,\n onClose() {\n clearPointerEvents();\n cleanupMouseMoveHandler();\n if (!isClickLikeOpenEvent()) {\n closeWithDelay(event);\n }\n }\n })(event);\n }\n function onFloatingMouseEnter() {\n timeout.clear();\n }\n function onFloatingMouseLeave(event) {\n if (!isClickLikeOpenEvent()) {\n closeWithDelay(event, false);\n }\n }\n if (isElement(elements.domReference)) {\n const reference = elements.domReference;\n const floating = elements.floating;\n if (open) {\n reference.addEventListener('mouseleave', onScrollMouseLeave);\n }\n if (move) {\n reference.addEventListener('mousemove', onReferenceMouseEnter, {\n once: true\n });\n }\n reference.addEventListener('mouseenter', onReferenceMouseEnter);\n reference.addEventListener('mouseleave', onReferenceMouseLeave);\n if (floating) {\n floating.addEventListener('mouseleave', onScrollMouseLeave);\n floating.addEventListener('mouseenter', onFloatingMouseEnter);\n floating.addEventListener('mouseleave', onFloatingMouseLeave);\n }\n return () => {\n if (open) {\n reference.removeEventListener('mouseleave', onScrollMouseLeave);\n }\n if (move) {\n reference.removeEventListener('mousemove', onReferenceMouseEnter);\n }\n reference.removeEventListener('mouseenter', onReferenceMouseEnter);\n reference.removeEventListener('mouseleave', onReferenceMouseLeave);\n if (floating) {\n floating.removeEventListener('mouseleave', onScrollMouseLeave);\n floating.removeEventListener('mouseenter', onFloatingMouseEnter);\n floating.removeEventListener('mouseleave', onFloatingMouseLeave);\n }\n };\n }\n return undefined;\n }, [elements, enabled, context, mouseOnly, move, closeWithDelay, cleanupMouseMoveHandler, clearPointerEvents, onOpenChange, open, openRef, tree, delayRef, handleCloseRef, dataRef, isClickLikeOpenEvent, restMsRef, timeout, restTimeout]);\n\n // Block pointer-events of every element other than the reference and floating\n // while the floating element is open and has a `handleClose` handler. Also\n // handles nested floating elements.\n // https://github.com/floating-ui/floating-ui/issues/1722\n useIsoLayoutEffect(() => {\n if (!enabled) {\n return undefined;\n }\n\n // eslint-disable-next-line no-underscore-dangle\n if (open && handleCloseRef.current?.__options?.blockPointerEvents && isHoverOpen()) {\n performedPointerEventsMutationRef.current = true;\n const floatingEl = elements.floating;\n if (isElement(elements.domReference) && floatingEl) {\n const body = getDocument(elements.floating).body;\n body.setAttribute(safePolygonIdentifier, '');\n const ref = elements.domReference;\n const parentFloating = tree?.nodesRef.current.find(node => node.id === parentId)?.context?.elements.floating;\n if (parentFloating) {\n parentFloating.style.pointerEvents = '';\n }\n body.style.pointerEvents = 'none';\n ref.style.pointerEvents = 'auto';\n floatingEl.style.pointerEvents = 'auto';\n return () => {\n body.style.pointerEvents = '';\n ref.style.pointerEvents = '';\n floatingEl.style.pointerEvents = '';\n };\n }\n }\n return undefined;\n }, [enabled, open, parentId, elements, tree, handleCloseRef, isHoverOpen]);\n useIsoLayoutEffect(() => {\n if (!open) {\n pointerTypeRef.current = undefined;\n restTimeoutPendingRef.current = false;\n cleanupMouseMoveHandler();\n clearPointerEvents();\n }\n }, [open, cleanupMouseMoveHandler, clearPointerEvents]);\n React.useEffect(() => {\n return () => {\n cleanupMouseMoveHandler();\n timeout.clear();\n restTimeout.clear();\n clearPointerEvents();\n };\n }, [enabled, elements.domReference, cleanupMouseMoveHandler, clearPointerEvents, timeout, restTimeout]);\n const reference = React.useMemo(() => {\n function setPointerRef(event) {\n pointerTypeRef.current = event.pointerType;\n }\n return {\n onPointerDown: setPointerRef,\n onPointerEnter: setPointerRef,\n onMouseMove(event) {\n const {\n nativeEvent\n } = event;\n function handleMouseMove() {\n if (!blockMouseMoveRef.current && !openRef.current) {\n onOpenChange(true, nativeEvent, 'hover');\n }\n }\n if (mouseOnly && !isMouseLikePointerType(pointerTypeRef.current)) {\n return;\n }\n if (open || getRestMs(restMsRef.current) === 0) {\n return;\n }\n\n // Ignore insignificant movements to account for tremors.\n if (restTimeoutPendingRef.current && event.movementX ** 2 + event.movementY ** 2 < 2) {\n return;\n }\n restTimeout.clear();\n if (pointerTypeRef.current === 'touch') {\n handleMouseMove();\n } else {\n restTimeoutPendingRef.current = true;\n restTimeout.start(getRestMs(restMsRef.current), handleMouseMove);\n }\n }\n };\n }, [mouseOnly, onOpenChange, open, openRef, restMsRef, restTimeout]);\n return React.useMemo(() => enabled ? {\n reference\n } : {}, [enabled, reference]);\n}","/* eslint-disable @typescript-eslint/no-loop-func */\n\nexport function getNodeChildren(nodes, id, onlyOpenChildren = true) {\n const directChildren = nodes.filter(node => node.parentId === id && (!onlyOpenChildren || node.context?.open));\n return directChildren.flatMap(child => [child, ...getNodeChildren(nodes, child.id, onlyOpenChildren)]);\n}\nexport function getDeepestNode(nodes, id) {\n let deepestNodeId;\n let maxDepth = -1;\n function findDeepest(nodeId, depth) {\n if (depth > maxDepth) {\n deepestNodeId = nodeId;\n maxDepth = depth;\n }\n const children = getNodeChildren(nodes, nodeId);\n children.forEach(child => {\n findDeepest(child.id, depth + 1);\n });\n }\n findDeepest(id, 0);\n return nodes.find(node => node.id === deepestNodeId);\n}\nexport function getNodeAncestors(nodes, id) {\n let allAncestors = [];\n let currentParentId = nodes.find(node => node.id === id)?.parentId;\n while (currentParentId) {\n const currentNode = nodes.find(node => node.id === currentParentId);\n currentParentId = currentNode?.parentId;\n if (currentNode) {\n allAncestors = allAncestors.concat(currentNode);\n }\n }\n return allAncestors;\n}","import { isElement } from '@floating-ui/utils/dom';\nimport { Timeout } from '@base-ui-components/utils/useTimeout';\nimport { contains, getTarget } from \"./utils/element.js\";\nimport { getNodeChildren } from \"./utils/nodes.js\";\n\n/* eslint-disable no-nested-ternary */\n\nfunction isPointInPolygon(point, polygon) {\n const [x, y] = point;\n let isInsideValue = false;\n const length = polygon.length;\n // eslint-disable-next-line no-plusplus\n for (let i = 0, j = length - 1; i < length; j = i++) {\n const [xi, yi] = polygon[i] || [0, 0];\n const [xj, yj] = polygon[j] || [0, 0];\n const intersect = yi >= y !== yj >= y && x <= (xj - xi) * (y - yi) / (yj - yi) + xi;\n if (intersect) {\n isInsideValue = !isInsideValue;\n }\n }\n return isInsideValue;\n}\nfunction isInside(point, rect) {\n return point[0] >= rect.x && point[0] <= rect.x + rect.width && point[1] >= rect.y && point[1] <= rect.y + rect.height;\n}\n/**\n * Generates a safe polygon area that the user can traverse without closing the\n * floating element once leaving the reference element.\n * @see https://floating-ui.com/docs/useHover#safepolygon\n */\nexport function safePolygon(options = {}) {\n const {\n buffer = 0.5,\n blockPointerEvents = false,\n requireIntent = true\n } = options;\n const timeout = new Timeout();\n let hasLanded = false;\n let lastX = null;\n let lastY = null;\n let lastCursorTime = typeof performance !== 'undefined' ? performance.now() : 0;\n function getCursorSpeed(x, y) {\n const currentTime = performance.now();\n const elapsedTime = currentTime - lastCursorTime;\n if (lastX === null || lastY === null || elapsedTime === 0) {\n lastX = x;\n lastY = y;\n lastCursorTime = currentTime;\n return null;\n }\n const deltaX = x - lastX;\n const deltaY = y - lastY;\n const distance = Math.sqrt(deltaX * deltaX + deltaY * deltaY);\n const speed = distance / elapsedTime; // px / ms\n\n lastX = x;\n lastY = y;\n lastCursorTime = currentTime;\n return speed;\n }\n const fn = ({\n x,\n y,\n placement,\n elements,\n onClose,\n nodeId,\n tree\n }) => {\n return function onMouseMove(event) {\n function close() {\n timeout.clear();\n onClose();\n }\n timeout.clear();\n if (!elements.domReference || !elements.floating || placement == null || x == null || y == null) {\n return undefined;\n }\n const {\n clientX,\n clientY\n } = event;\n const clientPoint = [clientX, clientY];\n const target = getTarget(event);\n const isLeave = event.type === 'mouseleave';\n const isOverFloatingEl = contains(elements.floating, target);\n const isOverReferenceEl = contains(elements.domReference, target);\n const refRect = elements.domReference.getBoundingClientRect();\n const rect = elements.floating.getBoundingClientRect();\n const side = placement.split('-')[0];\n const cursorLeaveFromRight = x > rect.right - rect.width / 2;\n const cursorLeaveFromBottom = y > rect.bottom - rect.height / 2;\n const isOverReferenceRect = isInside(clientPoint, refRect);\n const isFloatingWider = rect.width > refRect.width;\n const isFloatingTaller = rect.height > refRect.height;\n const left = (isFloatingWider ? refRect : rect).left;\n const right = (isFloatingWider ? refRect : rect).right;\n const top = (isFloatingTaller ? refRect : rect).top;\n const bottom = (isFloatingTaller ? refRect : rect).bottom;\n if (isOverFloatingEl) {\n hasLanded = true;\n if (!isLeave) {\n return undefined;\n }\n }\n if (isOverReferenceEl) {\n hasLanded = false;\n }\n if (isOverReferenceEl && !isLeave) {\n hasLanded = true;\n return undefined;\n }\n\n // Prevent overlapping floating element from being stuck in an open-close\n // loop: https://github.com/floating-ui/floating-ui/issues/1910\n if (isLeave && isElement(event.relatedTarget) && contains(elements.floating, event.relatedTarget)) {\n return undefined;\n }\n\n // If any nested child is open, abort.\n if (tree && getNodeChildren(tree.nodesRef.current, nodeId).some(({\n context\n }) => context?.open)) {\n return undefined;\n }\n\n // If the pointer is leaving from the opposite side, the \"buffer\" logic\n // creates a point where the floating element remains open, but should be\n // ignored.\n // A constant of 1 handles floating point rounding errors.\n if (side === 'top' && y >= refRect.bottom - 1 || side === 'bottom' && y <= refRect.top + 1 || side === 'left' && x >= refRect.right - 1 || side === 'right' && x <= refRect.left + 1) {\n return close();\n }\n\n // Ignore when the cursor is within the rectangular trough between the\n // two elements. Since the triangle is created from the cursor point,\n // which can start beyond the ref element's edge, traversing back and\n // forth from the ref to the floating element can cause it to close. This\n // ensures it always remains open in that case.\n let rectPoly = [];\n switch (side) {\n case 'top':\n rectPoly = [[left, refRect.top + 1], [left, rect.bottom - 1], [right, rect.bottom - 1], [right, refRect.top + 1]];\n break;\n case 'bottom':\n rectPoly = [[left, rect.top + 1], [left, refRect.bottom - 1], [right, refRect.bottom - 1], [right, rect.top + 1]];\n break;\n case 'left':\n rectPoly = [[rect.right - 1, bottom], [rect.right - 1, top], [refRect.left + 1, top], [refRect.left + 1, bottom]];\n break;\n case 'right':\n rectPoly = [[refRect.right - 1, bottom], [refRect.right - 1, top], [rect.left + 1, top], [rect.left + 1, bottom]];\n break;\n default:\n }\n function getPolygon([px, py]) {\n switch (side) {\n case 'top':\n {\n const cursorPointOne = [isFloatingWider ? px + buffer / 2 : cursorLeaveFromRight ? px + buffer * 4 : px - buffer * 4, py + buffer + 1];\n const cursorPointTwo = [isFloatingWider ? px - buffer / 2 : cursorLeaveFromRight ? px + buffer * 4 : px - buffer * 4, py + buffer + 1];\n const commonPoints = [[rect.left, cursorLeaveFromRight ? rect.bottom - buffer : isFloatingWider ? rect.bottom - buffer : rect.top], [rect.right, cursorLeaveFromRight ? isFloatingWider ? rect.bottom - buffer : rect.top : rect.bottom - buffer]];\n return [cursorPointOne, cursorPointTwo, ...commonPoints];\n }\n case 'bottom':\n {\n const cursorPointOne = [isFloatingWider ? px + buffer / 2 : cursorLeaveFromRight ? px + buffer * 4 : px - buffer * 4, py - buffer];\n const cursorPointTwo = [isFloatingWider ? px - buffer / 2 : cursorLeaveFromRight ? px + buffer * 4 : px - buffer * 4, py - buffer];\n const commonPoints = [[rect.left, cursorLeaveFromRight ? rect.top + buffer : isFloatingWider ? rect.top + buffer : rect.bottom], [rect.right, cursorLeaveFromRight ? isFloatingWider ? rect.top + buffer : rect.bottom : rect.top + buffer]];\n return [cursorPointOne, cursorPointTwo, ...commonPoints];\n }\n case 'left':\n {\n const cursorPointOne = [px + buffer + 1, isFloatingTaller ? py + buffer / 2 : cursorLeaveFromBottom ? py + buffer * 4 : py - buffer * 4];\n const cursorPointTwo = [px + buffer + 1, isFloatingTaller ? py - buffer / 2 : cursorLeaveFromBottom ? py + buffer * 4 : py - buffer * 4];\n const commonPoints = [[cursorLeaveFromBottom ? rect.right - buffer : isFloatingTaller ? rect.right - buffer : rect.left, rect.top], [cursorLeaveFromBottom ? isFloatingTaller ? rect.right - buffer : rect.left : rect.right - buffer, rect.bottom]];\n return [...commonPoints, cursorPointOne, cursorPointTwo];\n }\n case 'right':\n {\n const cursorPointOne = [px - buffer, isFloatingTaller ? py + buffer / 2 : cursorLeaveFromBottom ? py + buffer * 4 : py - buffer * 4];\n const cursorPointTwo = [px - buffer, isFloatingTaller ? py - buffer / 2 : cursorLeaveFromBottom ? py + buffer * 4 : py - buffer * 4];\n const commonPoints = [[cursorLeaveFromBottom ? rect.left + buffer : isFloatingTaller ? rect.left + buffer : rect.right, rect.top], [cursorLeaveFromBottom ? isFloatingTaller ? rect.left + buffer : rect.right : rect.left + buffer, rect.bottom]];\n return [cursorPointOne, cursorPointTwo, ...commonPoints];\n }\n default:\n return [];\n }\n }\n if (isPointInPolygon([clientX, clientY], rectPoly)) {\n return undefined;\n }\n if (hasLanded && !isOverReferenceRect) {\n return close();\n }\n if (!isLeave && requireIntent) {\n const cursorSpeed = getCursorSpeed(event.clientX, event.clientY);\n const cursorSpeedThreshold = 0.1;\n if (cursorSpeed !== null && cursorSpeed < cursorSpeedThreshold) {\n return close();\n }\n }\n if (!isPointInPolygon([clientX, clientY], getPolygon([x, y]))) {\n close();\n } else if (!hasLanded && requireIntent) {\n timeout.start(40, close);\n }\n return undefined;\n };\n };\n\n // eslint-disable-next-line no-underscore-dangle\n fn.__options = {\n blockPointerEvents\n };\n return fn;\n}","import * as React from 'react';\nimport { getWindow, isElement, isHTMLElement } from '@floating-ui/utils/dom';\nimport { isMac, isSafari } from '@base-ui-components/utils/detectBrowser';\nimport { useTimeout } from '@base-ui-components/utils/useTimeout';\nimport { activeElement, contains, getDocument, getTarget, isTypeableElement, matchesFocusVisible } from \"../utils.js\";\nimport { createAttribute } from \"../utils/createAttribute.js\";\nconst isMacSafari = isMac && isSafari;\n/**\n * Opens the floating element while the reference element has focus, like CSS\n * `:focus`.\n * @see https://floating-ui.com/docs/useFocus\n */\nexport function useFocus(context, props = {}) {\n const {\n open,\n onOpenChange,\n events,\n dataRef,\n elements\n } = context;\n const {\n enabled = true,\n visibleOnly = true\n } = props;\n const blockFocusRef = React.useRef(false);\n const timeout = useTimeout();\n const keyboardModalityRef = React.useRef(true);\n React.useEffect(() => {\n if (!enabled) {\n return undefined;\n }\n const win = getWindow(elements.domReference);\n\n // If the reference was focused and the user left the tab/window, and the\n // floating element was not open, the focus should be blocked when they\n // return to the tab/window.\n function onBlur() {\n if (!open && isHTMLElement(elements.domReference) && elements.domReference === activeElement(getDocument(elements.domReference))) {\n blockFocusRef.current = true;\n }\n }\n function onKeyDown() {\n keyboardModalityRef.current = true;\n }\n function onPointerDown() {\n keyboardModalityRef.current = false;\n }\n win.addEventListener('blur', onBlur);\n if (isMacSafari) {\n win.addEventListener('keydown', onKeyDown, true);\n win.addEventListener('pointerdown', onPointerDown, true);\n }\n return () => {\n win.removeEventListener('blur', onBlur);\n if (isMacSafari) {\n win.removeEventListener('keydown', onKeyDown, true);\n win.removeEventListener('pointerdown', onPointerDown, true);\n }\n };\n }, [elements.domReference, open, enabled]);\n React.useEffect(() => {\n if (!enabled) {\n return undefined;\n }\n function onOpenChangeLocal({\n reason\n }) {\n if (reason === 'reference-press' || reason === 'escape-key') {\n blockFocusRef.current = true;\n }\n }\n events.on('openchange', onOpenChangeLocal);\n return () => {\n events.off('openchange', onOpenChangeLocal);\n };\n }, [events, enabled]);\n const reference = React.useMemo(() => ({\n onMouseLeave() {\n blockFocusRef.current = false;\n },\n onFocus(event) {\n if (blockFocusRef.current) {\n return;\n }\n const target = getTarget(event.nativeEvent);\n if (visibleOnly && isElement(target)) {\n // Safari fails to match `:focus-visible` if focus was initially\n // outside the document.\n if (isMacSafari && !event.relatedTarget) {\n if (!keyboardModalityRef.current && !isTypeableElement(target)) {\n return;\n }\n } else if (!matchesFocusVisible(target)) {\n return;\n }\n }\n onOpenChange(true, event.nativeEvent, 'focus');\n },\n onBlur(event) {\n blockFocusRef.current = false;\n const relatedTarget = event.relatedTarget;\n const nativeEvent = event.nativeEvent;\n\n // Hit the non-modal focus management portal guard. Focus will be\n // moved into the floating element immediately after.\n const movedToFocusGuard = isElement(relatedTarget) && relatedTarget.hasAttribute(createAttribute('focus-guard')) && relatedTarget.getAttribute('data-type') === 'outside';\n\n // Wait for the window blur listener to fire.\n timeout.start(0, () => {\n const activeEl = activeElement(elements.domReference ? elements.domReference.ownerDocument : document);\n\n // Focus left the page, keep it open.\n if (!relatedTarget && activeEl === elements.domReference) {\n return;\n }\n\n // When focusing the reference element (e.g. regular click), then\n // clicking into the floating element, prevent it from hiding.\n // Note: it must be focusable, e.g. `tabindex=\"-1\"`.\n // We can not rely on relatedTarget to point to the correct element\n // as it will only point to the shadow host of the newly focused element\n // and not the element that actually has received focus if it is located\n // inside a shadow root.\n if (contains(dataRef.current.floatingContext?.refs.floating.current, activeEl) || contains(elements.domReference, activeEl) || movedToFocusGuard) {\n return;\n }\n onOpenChange(false, nativeEvent, 'focus');\n });\n }\n }), [dataRef, elements.domReference, onOpenChange, visibleOnly, timeout]);\n return React.useMemo(() => enabled ? {\n reference\n } : {}, [enabled, reference]);\n}","'use client';\n\nimport { useRefWithInit } from \"./useRefWithInit.js\";\nimport { useOnMount } from \"./useOnMount.js\";\n/** Unlike `setTimeout`, rAF doesn't guarantee a positive integer return value, so we can't have\n * a monomorphic `uint` type with `0` meaning empty.\n * See warning note at:\n * https://developer.mozilla.org/en-US/docs/Web/API/Window/requestAnimationFrame#return_value */\nconst EMPTY = null;\nlet LAST_RAF = globalThis.requestAnimationFrame;\nclass Scheduler {\n /* This implementation uses an array as a backing data-structure for frame callbacks.\n * It allows `O(1)` callback cancelling by inserting a `null` in the array, though it\n * never calls the native `cancelAnimationFrame` if there are no frames left. This can\n * be much more efficient if there is a call pattern that alterns as\n * \"request-cancel-request-cancel-…\".\n * But in the case of \"request-request-…-cancel-cancel-…\", it leaves the final animation\n * frame to run anyway. We turn that frame into a `O(1)` no-op via `callbacksCount`. */\n\n callbacks = (() => [])();\n callbacksCount = 0;\n nextId = 1;\n startId = 1;\n isScheduled = false;\n tick = timestamp => {\n this.isScheduled = false;\n const currentCallbacks = this.callbacks;\n const currentCallbacksCount = this.callbacksCount;\n\n // Update these before iterating, callbacks could call `requestAnimationFrame` again.\n this.callbacks = [];\n this.callbacksCount = 0;\n this.startId = this.nextId;\n if (currentCallbacksCount > 0) {\n for (let i = 0; i < currentCallbacks.length; i += 1) {\n currentCallbacks[i]?.(timestamp);\n }\n }\n };\n request(fn) {\n const id = this.nextId;\n this.nextId += 1;\n this.callbacks.push(fn);\n this.callbacksCount += 1;\n\n /* In a test environment with fake timers, a fake `requestAnimationFrame` can be called\n * but there's no guarantee that the animation frame will actually run before the fake\n * timers are teared, which leaves `isScheduled` set, but won't run our `tick()`. */\n const didRAFChange = process.env.NODE_ENV === 'test' && LAST_RAF !== requestAnimationFrame && (LAST_RAF = requestAnimationFrame, true);\n if (!this.isScheduled || didRAFChange) {\n requestAnimationFrame(this.tick);\n this.isScheduled = true;\n }\n return id;\n }\n cancel(id) {\n const index = id - this.startId;\n if (index < 0 || index >= this.callbacks.length) {\n return;\n }\n this.callbacks[index] = null;\n this.callbacksCount -= 1;\n }\n}\nconst scheduler = new Scheduler();\nexport class AnimationFrame {\n static create() {\n return new AnimationFrame();\n }\n static request(fn) {\n return scheduler.request(fn);\n }\n static cancel(id) {\n return scheduler.cancel(id);\n }\n currentId = (() => EMPTY)();\n\n /**\n * Executes `fn` after `delay`, clearing any previously scheduled call.\n */\n request(fn) {\n this.cancel();\n this.currentId = scheduler.request(() => {\n this.currentId = EMPTY;\n fn();\n });\n }\n cancel = () => {\n if (this.currentId !== EMPTY) {\n scheduler.cancel(this.currentId);\n this.currentId = EMPTY;\n }\n };\n disposeEffect = () => {\n return this.cancel;\n };\n}\n\n/**\n * A `requestAnimationFrame` with automatic cleanup and guard.\n */\nexport function useAnimationFrame() {\n const timeout = useRefWithInit(AnimationFrame.create).current;\n useOnMount(timeout.disposeEffect);\n return timeout;\n}","export const TYPEAHEAD_RESET_MS = 500;\nexport const PATIENT_CLICK_THRESHOLD = 500;\nexport const DISABLED_TRANSITIONS_STYLE = {\n style: {\n transition: 'none'\n }\n};\nexport const EMPTY_OBJECT = {};\nexport const EMPTY_ARRAY = [];\nexport const CLICK_TRIGGER_IDENTIFIER = 'data-base-ui-click-trigger';\n\n/**\n * Used for dropdowns that usually strictly prefer top/bottom placements and\n * use `var(--available-height)` to limit their height.\n */\nexport const DROPDOWN_COLLISION_AVOIDANCE = {\n fallbackAxisSide: 'none'\n};\n\n/**\n * Used by regular popups that usually aren't scrollable and are allowed to\n * freely flip to any axis of placement.\n */\nexport const POPUP_COLLISION_AVOIDANCE = {\n fallbackAxisSide: 'end'\n};","import * as React from 'react';\nimport { getOverflowAncestors } from '@floating-ui/react-dom';\nimport { getComputedStyle, getParentNode, isElement, isHTMLElement, isLastTraversableNode, isWebKit } from '@floating-ui/utils/dom';\nimport { Timeout, useTimeout } from '@base-ui-components/utils/useTimeout';\nimport { useEventCallback } from '@base-ui-components/utils/useEventCallback';\nimport { contains, getDocument, getTarget, isEventTargetWithin, isReactEvent, isRootElement, getNodeChildren } from \"../utils.js\";\n\n/* eslint-disable no-underscore-dangle */\n\nimport { useFloatingTree } from \"../components/FloatingTree.js\";\nimport { createAttribute } from \"../utils/createAttribute.js\";\nconst bubbleHandlerKeys = {\n intentional: 'onClick',\n sloppy: 'onPointerDown'\n};\nexport function normalizeProp(normalizable) {\n return {\n escapeKey: typeof normalizable === 'boolean' ? normalizable : normalizable?.escapeKey ?? false,\n outsidePress: typeof normalizable === 'boolean' ? normalizable : normalizable?.outsidePress ?? true\n };\n}\n/**\n * Closes the floating element when a dismissal is requested — by default, when\n * the user presses the `escape` key or outside of the floating element.\n * @see https://floating-ui.com/docs/useDismiss\n */\nexport function useDismiss(context, props = {}) {\n const {\n open,\n onOpenChange,\n elements,\n dataRef\n } = context;\n const {\n enabled = true,\n escapeKey = true,\n outsidePress: outsidePressProp = true,\n outsidePressEvent = 'sloppy',\n referencePress = false,\n referencePressEvent = 'sloppy',\n ancestorScroll = false,\n bubbles,\n capture\n } = props;\n const tree = useFloatingTree();\n const outsidePressFn = useEventCallback(typeof outsidePressProp === 'function' ? outsidePressProp : () => false);\n const outsidePress = typeof outsidePressProp === 'function' ? outsidePressFn : outsidePressProp;\n const endedOrStartedInsideRef = React.useRef(false);\n const {\n escapeKey: escapeKeyBubbles,\n outsidePress: outsidePressBubbles\n } = normalizeProp(bubbles);\n const {\n escapeKey: escapeKeyCapture,\n outsidePress: outsidePressCapture\n } = normalizeProp(capture);\n const touchStateRef = React.useRef(null);\n const cancelDismissOnEndTimeout = useTimeout();\n const insideReactTreeTimeout = useTimeout();\n const isComposingRef = React.useRef(false);\n const currentPointerTypeRef = React.useRef('');\n const trackPointerType = useEventCallback(event => {\n currentPointerTypeRef.current = event.pointerType;\n });\n const getOutsidePressEvent = useEventCallback(() => {\n const type = currentPointerTypeRef.current;\n const computedType = type === 'pen' || !type ? 'mouse' : type;\n if (typeof outsidePressEvent === 'string') {\n return outsidePressEvent;\n }\n return outsidePressEvent[computedType];\n });\n const closeOnEscapeKeyDown = useEventCallback(event => {\n if (!open || !enabled || !escapeKey || event.key !== 'Escape') {\n return;\n }\n\n // Wait until IME is settled. Pressing `Escape` while composing should\n // close the compose menu, but not the floating element.\n if (isComposingRef.current) {\n return;\n }\n const nodeId = dataRef.current.floatingContext?.nodeId;\n const children = tree ? getNodeChildren(tree.nodesRef.current, nodeId) : [];\n if (!escapeKeyBubbles) {\n event.stopPropagation();\n if (children.length > 0) {\n let shouldDismiss = true;\n children.forEach(child => {\n if (child.context?.open && !child.context.dataRef.current.__escapeKeyBubbles) {\n shouldDismiss = false;\n }\n });\n if (!shouldDismiss) {\n return;\n }\n }\n }\n onOpenChange(false, isReactEvent(event) ? event.nativeEvent : event, 'escape-key');\n });\n const shouldIgnoreEvent = useEventCallback(event => {\n const computedOutsidePressEvent = getOutsidePressEvent();\n return computedOutsidePressEvent === 'intentional' && event.type !== 'click' || computedOutsidePressEvent === 'sloppy' && event.type === 'click';\n });\n const closeOnEscapeKeyDownCapture = useEventCallback(event => {\n const callback = () => {\n closeOnEscapeKeyDown(event);\n getTarget(event)?.removeEventListener('keydown', callback);\n };\n getTarget(event)?.addEventListener('keydown', callback);\n });\n const closeOnPressOutside = useEventCallback(event => {\n if (shouldIgnoreEvent(event)) {\n return;\n }\n\n // Given developers can stop the propagation of the synthetic event,\n // we can only be confident with a positive value.\n const insideReactTree = dataRef.current.insideReactTree;\n dataRef.current.insideReactTree = false;\n\n // When click outside is lazy (`up` event), handle dragging.\n // Don't close if:\n // - The click started inside the floating element.\n // - The click ended inside the floating element.\n const endedOrStartedInside = endedOrStartedInsideRef.current;\n endedOrStartedInsideRef.current = false;\n if (getOutsidePressEvent() === 'intentional' && endedOrStartedInside) {\n return;\n }\n if (insideReactTree) {\n return;\n }\n if (typeof outsidePress === 'function' && !outsidePress(event)) {\n return;\n }\n const target = getTarget(event);\n const inertSelector = `[${createAttribute('inert')}]`;\n const markers = getDocument(elements.floating).querySelectorAll(inertSelector);\n let targetRootAncestor = isElement(target) ? target : null;\n while (targetRootAncestor && !isLastTraversableNode(targetRootAncestor)) {\n const nextParent = getParentNode(targetRootAncestor);\n if (isLastTraversableNode(nextParent) || !isElement(nextParent)) {\n break;\n }\n targetRootAncestor = nextParent;\n }\n\n // Check if the click occurred on a third-party element injected after the\n // floating element rendered.\n if (markers.length && isElement(target) && !isRootElement(target) &&\n // Clicked on a direct ancestor (e.g. FloatingOverlay).\n !contains(target, elements.floating) &&\n // If the target root element contains none of the markers, then the\n // element was injected after the floating element rendered.\n Array.from(markers).every(marker => !contains(targetRootAncestor, marker))) {\n return;\n }\n\n // Check if the click occurred on the scrollbar\n if (isHTMLElement(target)) {\n const lastTraversableNode = isLastTraversableNode(target);\n const style = getComputedStyle(target);\n const scrollRe = /auto|scroll/;\n const isScrollableX = lastTraversableNode || scrollRe.test(style.overflowX);\n const isScrollableY = lastTraversableNode || scrollRe.test(style.overflowY);\n const canScrollX = isScrollableX && target.clientWidth > 0 && target.scrollWidth > target.clientWidth;\n const canScrollY = isScrollableY && target.clientHeight > 0 && target.scrollHeight > target.clientHeight;\n const isRTL = style.direction === 'rtl';\n\n // Check click position relative to scrollbar.\n // In some browsers it is possible to change the <body> (or window)\n // scrollbar to the left side, but is very rare and is difficult to\n // check for. Plus, for modal dialogs with backdrops, it is more\n // important that the backdrop is checked but not so much the window.\n const pressedVerticalScrollbar = canScrollY && (isRTL ? event.offsetX <= target.offsetWidth - target.clientWidth : event.offsetX > target.clientWidth);\n const pressedHorizontalScrollbar = canScrollX && event.offsetY > target.clientHeight;\n if (pressedVerticalScrollbar || pressedHorizontalScrollbar) {\n return;\n }\n }\n const nodeId = dataRef.current.floatingContext?.nodeId;\n const targetIsInsideChildren = tree && getNodeChildren(tree.nodesRef.current, nodeId).some(node => isEventTargetWithin(event, node.context?.elements.floating));\n if (isEventTargetWithin(event, elements.floating) || isEventTargetWithin(event, elements.domReference) || targetIsInsideChildren) {\n return;\n }\n const children = tree ? getNodeChildren(tree.nodesRef.current, nodeId) : [];\n if (children.length > 0) {\n let shouldDismiss = true;\n children.forEach(child => {\n if (child.context?.open && !child.context.dataRef.current.__outsidePressBubbles) {\n shouldDismiss = false;\n }\n });\n if (!shouldDismiss) {\n return;\n }\n }\n onOpenChange(false, event, 'outside-press');\n });\n const handlePointerDown = useEventCallback(event => {\n if (getOutsidePressEvent() !== 'sloppy' || !open || !enabled || isEventTargetWithin(event, elements.floating) || isEventTargetWithin(event, elements.domReference)) {\n return;\n }\n if (event.pointerType === 'touch') {\n touchStateRef.current = {\n startTime: Date.now(),\n startX: event.clientX,\n startY: event.clientY,\n dismissOnPointerUp: false,\n dismissOnMouseDown: true\n };\n cancelDismissOnEndTimeout.start(1000, () => {\n if (touchStateRef.current) {\n touchStateRef.current.dismissOnPointerUp = false;\n touchStateRef.current.dismissOnMouseDown = false;\n }\n });\n return;\n }\n closeOnPressOutside(event);\n });\n const closeOnPressOutsideCapture = useEventCallback(event => {\n if (shouldIgnoreEvent(event)) {\n return;\n }\n cancelDismissOnEndTimeout.clear();\n if (event.type === 'mousedown' && touchStateRef.current && !touchStateRef.current.dismissOnMouseDown) {\n return;\n }\n const callback = () => {\n if (event.type === 'pointerdown') {\n handlePointerDown(event);\n } else {\n closeOnPressOutside(event);\n }\n getTarget(event)?.removeEventListener(event.type, callback);\n };\n getTarget(event)?.addEventListener(event.type, callback);\n });\n const handlePointerMove = useEventCallback(event => {\n if (getOutsidePressEvent() !== 'sloppy' || event.pointerType !== 'touch' || !touchStateRef.current || isEventTargetWithin(event, elements.floating) || isEventTargetWithin(event, elements.domReference)) {\n return;\n }\n const deltaX = Math.abs(event.clientX - touchStateRef.current.startX);\n const deltaY = Math.abs(event.clientY - touchStateRef.current.startY);\n const distance = Math.sqrt(deltaX * deltaX + deltaY * deltaY);\n if (distance > 5) {\n touchStateRef.current.dismissOnPointerUp = true;\n }\n if (distance > 10) {\n closeOnPressOutside(event);\n cancelDismissOnEndTimeout.clear();\n touchStateRef.current = null;\n }\n });\n const handlePointerUp = useEventCallback(event => {\n if (getOutsidePressEvent() !== 'sloppy' || event.pointerType !== 'touch' || !touchStateRef.current || isEventTargetWithin(event, elements.floating) || isEventTargetWithin(event, elements.domReference)) {\n return;\n }\n if (touchStateRef.current.dismissOnPointerUp) {\n closeOnPressOutside(event);\n }\n cancelDismissOnEndTimeout.clear();\n touchStateRef.current = null;\n });\n React.useEffect(() => {\n if (!open || !enabled) {\n return undefined;\n }\n dataRef.current.__escapeKeyBubbles = escapeKeyBubbles;\n dataRef.current.__outsidePressBubbles = outsidePressBubbles;\n const compositionTimeout = new Timeout();\n function onScroll(event) {\n onOpenChange(false, event, 'ancestor-scroll');\n }\n function handleCompositionStart() {\n compositionTimeout.clear();\n isComposingRef.current = true;\n }\n function handleCompositionEnd() {\n // Safari fires `compositionend` before `keydown`, so we need to wait\n // until the next tick to set `isComposing` to `false`.\n // https://bugs.webkit.org/show_bug.cgi?id=165004\n compositionTimeout.start(\n // 0ms or 1ms don't work in Safari. 5ms appears to consistently work.\n // Only apply to WebKit for the test to remain 0ms.\n isWebKit() ? 5 : 0, () => {\n isComposingRef.current = false;\n });\n }\n const doc = getDocument(elements.floating);\n doc.addEventListener('pointerdown', trackPointerType, true);\n if (escapeKey) {\n doc.addEventListener('keydown', escapeKeyCapture ? closeOnEscapeKeyDownCapture : closeOnEscapeKeyDown, escapeKeyCapture);\n doc.addEventListener('compositionstart', handleCompositionStart);\n doc.addEventListener('compositionend', handleCompositionEnd);\n }\n if (outsidePress) {\n doc.addEventListener('click', outsidePressCapture ? closeOnPressOutsideCapture : closeOnPressOutside, outsidePressCapture);\n doc.addEventListener('pointerdown', outsidePressCapture ? closeOnPressOutsideCapture : closeOnPressOutside, outsidePressCapture);\n doc.addEventListener('pointermove', handlePointerMove, outsidePressCapture);\n doc.addEventListener('pointerup', handlePointerUp, outsidePressCapture);\n doc.addEventListener('mousedown', closeOnPressOutsideCapture, outsidePressCapture);\n }\n let ancestors = [];\n if (ancestorScroll) {\n if (isElement(elements.domReference)) {\n ancestors = getOverflowAncestors(elements.domReference);\n }\n if (isElement(elements.floating)) {\n ancestors = ancestors.concat(getOverflowAncestors(elements.floating));\n }\n if (!isElement(elements.reference) && elements.reference && elements.reference.contextElement) {\n ancestors = ancestors.concat(getOverflowAncestors(elements.reference.contextElement));\n }\n }\n\n // Ignore the visual viewport for scrolling dismissal (allow pinch-zoom)\n ancestors = ancestors.filter(ancestor => ancestor !== doc.defaultView?.visualViewport);\n ancestors.forEach(ancestor => {\n ancestor.addEventListener('scroll', onScroll, {\n passive: true\n });\n });\n return () => {\n doc.removeEventListener('pointerdown', trackPointerType, true);\n if (escapeKey) {\n doc.removeEventListener('keydown', escapeKeyCapture ? closeOnEscapeKeyDownCapture : closeOnEscapeKeyDown, escapeKeyCapture);\n doc.removeEventListener('compositionstart', handleCompositionStart);\n doc.removeEventListener('compositionend', handleCompositionEnd);\n }\n if (outsidePress) {\n doc.removeEventListener('click', outsidePressCapture ? closeOnPressOutsideCapture : closeOnPressOutside, outsidePressCapture);\n doc.removeEventListener('pointerdown', outsidePressCapture ? closeOnPressOutsideCapture : closeOnPressOutside, outsidePressCapture);\n doc.removeEventListener('pointermove', handlePointerMove, outsidePressCapture);\n doc.removeEventListener('pointerup', handlePointerUp, outsidePressCapture);\n doc.removeEventListener('mousedown', closeOnPressOutsideCapture, outsidePressCapture);\n }\n ancestors.forEach(ancestor => {\n ancestor.removeEventListener('scroll', onScroll);\n });\n compositionTimeout.clear();\n };\n }, [dataRef, elements, escapeKey, outsidePress, outsidePressEvent, open, onOpenChange, ancestorScroll, enabled, escapeKeyBubbles, outsidePressBubbles, closeOnEscapeKeyDown, escapeKeyCapture, closeOnEscapeKeyDownCapture, closeOnPressOutside, outsidePressCapture, closeOnPressOutsideCapture, handlePointerDown, handlePointerMove, handlePointerUp, trackPointerType]);\n React.useEffect(() => {\n dataRef.current.insideReactTree = false;\n }, [dataRef, outsidePress]);\n const reference = React.useMemo(() => ({\n onKeyDown: closeOnEscapeKeyDown,\n ...(referencePress && {\n [bubbleHandlerKeys[referencePressEvent]]: event => {\n onOpenChange(false, event.nativeEvent, 'reference-press');\n },\n ...(referencePressEvent !== 'intentional' && {\n onClick(event) {\n onOpenChange(false, event.nativeEvent, 'reference-press');\n }\n })\n })\n }), [closeOnEscapeKeyDown, onOpenChange, referencePress, referencePressEvent]);\n const handlePressedInside = useEventCallback(event => {\n const target = getTarget(event.nativeEvent);\n if (!contains(elements.floating, target)) {\n return;\n }\n endedOrStartedInsideRef.current = true;\n });\n const handleCaptureInside = useEventCallback(() => {\n dataRef.current.insideReactTree = true;\n insideReactTreeTimeout.start(0, () => {\n dataRef.current.insideReactTree = false;\n });\n });\n const floating = React.useMemo(() => ({\n onKeyDown: closeOnEscapeKeyDown,\n onMouseDown: handlePressedInside,\n onMouseUp: handlePressedInside,\n onPointerDownCapture: handleCaptureInside,\n onMouseDownCapture: handleCaptureInside,\n onClickCapture: handleCaptureInside\n }), [closeOnEscapeKeyDown, handlePressedInside, handleCaptureInside]);\n return React.useMemo(() => enabled ? {\n reference,\n floating\n } : {}, [enabled, reference, floating]);\n}","import * as React from 'react';\nimport { useId } from '@base-ui-components/utils/useId';\nimport { getFloatingFocusElement } from \"../utils.js\";\nimport { useFloatingParentNodeId } from \"../components/FloatingTree.js\";\nconst componentRoleToAriaRoleMap = new Map([['select', 'listbox'], ['combobox', 'listbox'], ['label', false]]);\n\n/**\n * Adds base screen reader props to the reference and floating elements for a\n * given floating element `role`.\n * @see https://floating-ui.com/docs/useRole\n */\nexport function useRole(context, props = {}) {\n const {\n open,\n elements,\n floatingId: defaultFloatingId\n } = context;\n const {\n enabled = true,\n role = 'dialog'\n } = props;\n const defaultReferenceId = useId();\n const referenceId = elements.domReference?.id || defaultReferenceId;\n const floatingId = React.useMemo(() => getFloatingFocusElement(elements.floating)?.id || defaultFloatingId, [elements.floating, defaultFloatingId]);\n const ariaRole = componentRoleToAriaRoleMap.get(role) ?? role;\n const parentId = useFloatingParentNodeId();\n const isNested = parentId != null;\n const reference = React.useMemo(() => {\n if (ariaRole === 'tooltip' || role === 'label') {\n return {\n [`aria-${role === 'label' ? 'labelledby' : 'describedby'}`]: open ? floatingId : undefined\n };\n }\n return {\n 'aria-expanded': open ? 'true' : 'false',\n 'aria-haspopup': ariaRole === 'alertdialog' ? 'dialog' : ariaRole,\n 'aria-controls': open ? floatingId : undefined,\n ...(ariaRole === 'listbox' && {\n role: 'combobox'\n }),\n ...(ariaRole === 'menu' && {\n id: referenceId\n }),\n ...(ariaRole === 'menu' && isNested && {\n role: 'menuitem'\n }),\n ...(role === 'select' && {\n 'aria-autocomplete': 'none'\n }),\n ...(role === 'combobox' && {\n 'aria-autocomplete': 'list'\n })\n };\n }, [ariaRole, floatingId, isNested, open, referenceId, role]);\n const floating = React.useMemo(() => {\n const floatingProps = {\n id: floatingId,\n ...(ariaRole && {\n role: ariaRole\n })\n };\n if (ariaRole === 'tooltip' || role === 'label') {\n return floatingProps;\n }\n return {\n ...floatingProps,\n ...(ariaRole === 'menu' && {\n 'aria-labelledby': referenceId\n })\n };\n }, [ariaRole, floatingId, referenceId, role]);\n const item = React.useCallback(({\n active,\n selected\n }) => {\n const commonProps = {\n role: 'option',\n ...(active && {\n id: `${floatingId}-fui-option`\n })\n };\n\n // For `menu`, we are unable to tell if the item is a `menuitemradio`\n // or `menuitemcheckbox`. For backwards-compatibility reasons, also\n // avoid defaulting to `menuitem` as it may overwrite custom role props.\n switch (role) {\n case 'select':\n case 'combobox':\n return {\n ...commonProps,\n 'aria-selected': selected\n };\n default:\n }\n return {};\n }, [floatingId, role]);\n return React.useMemo(() => enabled ? {\n reference,\n floating,\n item\n } : {}, [enabled, reference, floating, item]);\n}","/**\n * Custom positioning reference element.\n * @see https://floating-ui.com/docs/virtual-elements\n */\n\nconst sides = ['top', 'right', 'bottom', 'left'];\nconst alignments = ['start', 'end'];\nconst placements = /*#__PURE__*/sides.reduce((acc, side) => acc.concat(side, side + \"-\" + alignments[0], side + \"-\" + alignments[1]), []);\nconst min = Math.min;\nconst max = Math.max;\nconst round = Math.round;\nconst floor = Math.floor;\nconst createCoords = v => ({\n x: v,\n y: v\n});\nconst oppositeSideMap = {\n left: 'right',\n right: 'left',\n bottom: 'top',\n top: 'bottom'\n};\nconst oppositeAlignmentMap = {\n start: 'end',\n end: 'start'\n};\nfunction clamp(start, value, end) {\n return max(start, min(value, end));\n}\nfunction evaluate(value, param) {\n return typeof value === 'function' ? value(param) : value;\n}\nfunction getSide(placement) {\n return placement.split('-')[0];\n}\nfunction getAlignment(placement) {\n return placement.split('-')[1];\n}\nfunction getOppositeAxis(axis) {\n return axis === 'x' ? 'y' : 'x';\n}\nfunction getAxisLength(axis) {\n return axis === 'y' ? 'height' : 'width';\n}\nconst yAxisSides = /*#__PURE__*/new Set(['top', 'bottom']);\nfunction getSideAxis(placement) {\n return yAxisSides.has(getSide(placement)) ? 'y' : 'x';\n}\nfunction getAlignmentAxis(placement) {\n return getOppositeAxis(getSideAxis(placement));\n}\nfunction getAlignmentSides(placement, rects, rtl) {\n if (rtl === void 0) {\n rtl = false;\n }\n const alignment = getAlignment(placement);\n const alignmentAxis = getAlignmentAxis(placement);\n const length = getAxisLength(alignmentAxis);\n let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';\n if (rects.reference[length] > rects.floating[length]) {\n mainAlignmentSide = getOppositePlacement(mainAlignmentSide);\n }\n return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];\n}\nfunction getExpandedPlacements(placement) {\n const oppositePlacement = getOppositePlacement(placement);\n return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];\n}\nfunction getOppositeAlignmentPlacement(placement) {\n return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);\n}\nconst lrPlacement = ['left', 'right'];\nconst rlPlacement = ['right', 'left'];\nconst tbPlacement = ['top', 'bottom'];\nconst btPlacement = ['bottom', 'top'];\nfunction getSideList(side, isStart, rtl) {\n switch (side) {\n case 'top':\n case 'bottom':\n if (rtl) return isStart ? rlPlacement : lrPlacement;\n return isStart ? lrPlacement : rlPlacement;\n case 'left':\n case 'right':\n return isStart ? tbPlacement : btPlacement;\n default:\n return [];\n }\n}\nfunction getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {\n const alignment = getAlignment(placement);\n let list = getSideList(getSide(placement), direction === 'start', rtl);\n if (alignment) {\n list = list.map(side => side + \"-\" + alignment);\n if (flipAlignment) {\n list = list.concat(list.map(getOppositeAlignmentPlacement));\n }\n }\n return list;\n}\nfunction getOppositePlacement(placement) {\n return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);\n}\nfunction expandPaddingObject(padding) {\n return {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n ...padding\n };\n}\nfunction getPaddingObject(padding) {\n return typeof padding !== 'number' ? expandPaddingObject(padding) : {\n top: padding,\n right: padding,\n bottom: padding,\n left: padding\n };\n}\nfunction rectToClientRect(rect) {\n const {\n x,\n y,\n width,\n height\n } = rect;\n return {\n width,\n height,\n top: y,\n left: x,\n right: x + width,\n bottom: y + height,\n x,\n y\n };\n}\n\nexport { alignments, clamp, createCoords, evaluate, expandPaddingObject, floor, getAlignment, getAlignmentAxis, getAlignmentSides, getAxisLength, getExpandedPlacements, getOppositeAlignmentPlacement, getOppositeAxis, getOppositeAxisPlacements, getOppositePlacement, getPaddingObject, getSide, getSideAxis, max, min, placements, rectToClientRect, round, sides };\n","import { floor } from '@floating-ui/utils';\nimport { stopEvent } from \"./event.js\";\nimport { ARROW_DOWN, ARROW_LEFT, ARROW_RIGHT, ARROW_UP } from \"./constants.js\";\nexport function isDifferentGridRow(index, cols, prevRow) {\n return Math.floor(index / cols) !== prevRow;\n}\nexport function isIndexOutOfListBounds(listRef, index) {\n return index < 0 || index >= listRef.current.length;\n}\nexport function getMinListIndex(listRef, disabledIndices) {\n return findNonDisabledListIndex(listRef, {\n disabledIndices\n });\n}\nexport function getMaxListIndex(listRef, disabledIndices) {\n return findNonDisabledListIndex(listRef, {\n decrement: true,\n startingIndex: listRef.current.length,\n disabledIndices\n });\n}\nexport function findNonDisabledListIndex(listRef, {\n startingIndex = -1,\n decrement = false,\n disabledIndices,\n amount = 1\n} = {}) {\n let index = startingIndex;\n do {\n index += decrement ? -amount : amount;\n } while (index >= 0 && index <= listRef.current.length - 1 && isListIndexDisabled(listRef, index, disabledIndices));\n return index;\n}\nexport function getGridNavigatedIndex(listRef, {\n event,\n orientation,\n loop,\n rtl,\n cols,\n disabledIndices,\n minIndex,\n maxIndex,\n prevIndex,\n stopEvent: stop = false\n}) {\n let nextIndex = prevIndex;\n if (event.key === ARROW_UP) {\n if (stop) {\n stopEvent(event);\n }\n if (prevIndex === -1) {\n nextIndex = maxIndex;\n } else {\n nextIndex = findNonDisabledListIndex(listRef, {\n startingIndex: nextIndex,\n amount: cols,\n decrement: true,\n disabledIndices\n });\n if (loop && (prevIndex - cols < minIndex || nextIndex < 0)) {\n const col = prevIndex % cols;\n const maxCol = maxIndex % cols;\n const offset = maxIndex - (maxCol - col);\n if (maxCol === col) {\n nextIndex = maxIndex;\n } else {\n nextIndex = maxCol > col ? offset : offset - cols;\n }\n }\n }\n if (isIndexOutOfListBounds(listRef, nextIndex)) {\n nextIndex = prevIndex;\n }\n }\n if (event.key === ARROW_DOWN) {\n if (stop) {\n stopEvent(event);\n }\n if (prevIndex === -1) {\n nextIndex = minIndex;\n } else {\n nextIndex = findNonDisabledListIndex(listRef, {\n startingIndex: prevIndex,\n amount: cols,\n disabledIndices\n });\n if (loop && prevIndex + cols > maxIndex) {\n nextIndex = findNonDisabledListIndex(listRef, {\n startingIndex: prevIndex % cols - cols,\n amount: cols,\n disabledIndices\n });\n }\n }\n if (isIndexOutOfListBounds(listRef, nextIndex)) {\n nextIndex = prevIndex;\n }\n }\n\n // Remains on the same row/column.\n if (orientation === 'both') {\n const prevRow = floor(prevIndex / cols);\n if (event.key === (rtl ? ARROW_LEFT : ARROW_RIGHT)) {\n if (stop) {\n stopEvent(event);\n }\n if (prevIndex % cols !== cols - 1) {\n nextIndex = findNonDisabledListIndex(listRef, {\n startingIndex: prevIndex,\n disabledIndices\n });\n if (loop && isDifferentGridRow(nextIndex, cols, prevRow)) {\n nextIndex = findNonDisabledListIndex(listRef, {\n startingIndex: prevIndex - prevIndex % cols - 1,\n disabledIndices\n });\n }\n } else if (loop) {\n nextIndex = findNonDisabledListIndex(listRef, {\n startingIndex: prevIndex - prevIndex % cols - 1,\n disabledIndices\n });\n }\n if (isDifferentGridRow(nextIndex, cols, prevRow)) {\n nextIndex = prevIndex;\n }\n }\n if (event.key === (rtl ? ARROW_RIGHT : ARROW_LEFT)) {\n if (stop) {\n stopEvent(event);\n }\n if (prevIndex % cols !== 0) {\n nextIndex = findNonDisabledListIndex(listRef, {\n startingIndex: prevIndex,\n decrement: true,\n disabledIndices\n });\n if (loop && isDifferentGridRow(nextIndex, cols, prevRow)) {\n nextIndex = findNonDisabledListIndex(listRef, {\n startingIndex: prevIndex + (cols - prevIndex % cols),\n decrement: true,\n disabledIndices\n });\n }\n } else if (loop) {\n nextIndex = findNonDisabledListIndex(listRef, {\n startingIndex: prevIndex + (cols - prevIndex % cols),\n decrement: true,\n disabledIndices\n });\n }\n if (isDifferentGridRow(nextIndex, cols, prevRow)) {\n nextIndex = prevIndex;\n }\n }\n const lastRow = floor(maxIndex / cols) === prevRow;\n if (isIndexOutOfListBounds(listRef, nextIndex)) {\n if (loop && lastRow) {\n nextIndex = event.key === (rtl ? ARROW_RIGHT : ARROW_LEFT) ? maxIndex : findNonDisabledListIndex(listRef, {\n startingIndex: prevIndex - prevIndex % cols - 1,\n disabledIndices\n });\n } else {\n nextIndex = prevIndex;\n }\n }\n }\n return nextIndex;\n}\n\n/** For each cell index, gets the item index that occupies that cell */\nexport function createGridCellMap(sizes, cols, dense) {\n const cellMap = [];\n let startIndex = 0;\n sizes.forEach(({\n width,\n height\n }, index) => {\n if (width > cols) {\n if (process.env.NODE_ENV !== 'production') {\n throw new Error(`[Floating UI]: Invalid grid - item width at index ${index} is greater than grid columns`);\n }\n }\n let itemPlaced = false;\n if (dense) {\n startIndex = 0;\n }\n while (!itemPlaced) {\n const targetCells = [];\n for (let i = 0; i < width; i += 1) {\n for (let j = 0; j < height; j += 1) {\n targetCells.push(startIndex + i + j * cols);\n }\n }\n if (startIndex % cols + width <= cols && targetCells.every(cell => cellMap[cell] == null)) {\n targetCells.forEach(cell => {\n cellMap[cell] = index;\n });\n itemPlaced = true;\n } else {\n startIndex += 1;\n }\n }\n });\n\n // convert into a non-sparse array\n return [...cellMap];\n}\n\n/** Gets cell index of an item's corner or -1 when index is -1. */\nexport function getGridCellIndexOfCorner(index, sizes, cellMap, cols, corner) {\n if (index === -1) {\n return -1;\n }\n const firstCellIndex = cellMap.indexOf(index);\n const sizeItem = sizes[index];\n switch (corner) {\n case 'tl':\n return firstCellIndex;\n case 'tr':\n if (!sizeItem) {\n return firstCellIndex;\n }\n return firstCellIndex + sizeItem.width - 1;\n case 'bl':\n if (!sizeItem) {\n return firstCellIndex;\n }\n return firstCellIndex + (sizeItem.height - 1) * cols;\n case 'br':\n return cellMap.lastIndexOf(index);\n default:\n return -1;\n }\n}\n\n/** Gets all cell indices that correspond to the specified indices */\nexport function getGridCellIndices(indices, cellMap) {\n return cellMap.flatMap((index, cellIndex) => indices.includes(index) ? [cellIndex] : []);\n}\nexport function isListIndexDisabled(listRef, index, disabledIndices) {\n if (typeof disabledIndices === 'function') {\n return disabledIndices(index);\n }\n if (disabledIndices) {\n return disabledIndices.includes(index);\n }\n const element = listRef.current[index];\n return element == null || element.hasAttribute('disabled') || element.getAttribute('aria-disabled') === 'true';\n}","let rafId = 0;\nexport function enqueueFocus(el, options = {}) {\n const {\n preventScroll = false,\n cancelPrevious = true,\n sync = false\n } = options;\n if (cancelPrevious) {\n cancelAnimationFrame(rafId);\n }\n const exec = () => el?.focus({\n preventScroll\n });\n if (sync) {\n exec();\n } else {\n rafId = requestAnimationFrame(exec);\n }\n}","import * as React from 'react';\nimport { isHTMLElement } from '@floating-ui/utils/dom';\nimport { useLatestRef } from '@base-ui-components/utils/useLatestRef';\nimport { useEventCallback } from '@base-ui-components/utils/useEventCallback';\nimport { useIsoLayoutEffect } from '@base-ui-components/utils/useIsoLayoutEffect';\nimport { activeElement, contains, getDocument, isTypeableCombobox, isVirtualClick, isVirtualPointerEvent, stopEvent, getFloatingFocusElement, isIndexOutOfListBounds, getMinListIndex, getMaxListIndex, getGridNavigatedIndex, isListIndexDisabled, createGridCellMap, getGridCellIndices, getGridCellIndexOfCorner, findNonDisabledListIndex } from \"../utils.js\";\nimport { useFloatingParentNodeId, useFloatingTree } from \"../components/FloatingTree.js\";\nimport { enqueueFocus } from \"../utils/enqueueFocus.js\";\nimport { ARROW_UP, ARROW_DOWN, ARROW_RIGHT, ARROW_LEFT } from \"../utils/constants.js\";\nexport const ESCAPE = 'Escape';\nfunction doSwitch(orientation, vertical, horizontal) {\n switch (orientation) {\n case 'vertical':\n return vertical;\n case 'horizontal':\n return horizontal;\n default:\n return vertical || horizontal;\n }\n}\nfunction isMainOrientationKey(key, orientation) {\n const vertical = key === ARROW_UP || key === ARROW_DOWN;\n const horizontal = key === ARROW_LEFT || key === ARROW_RIGHT;\n return doSwitch(orientation, vertical, horizontal);\n}\nfunction isMainOrientationToEndKey(key, orientation, rtl) {\n const vertical = key === ARROW_DOWN;\n const horizontal = rtl ? key === ARROW_LEFT : key === ARROW_RIGHT;\n return doSwitch(orientation, vertical, horizontal) || key === 'Enter' || key === ' ' || key === '';\n}\nfunction isCrossOrientationOpenKey(key, orientation, rtl) {\n const vertical = rtl ? key === ARROW_LEFT : key === ARROW_RIGHT;\n const horizontal = key === ARROW_DOWN;\n return doSwitch(orientation, vertical, horizontal);\n}\nfunction isCrossOrientationCloseKey(key, orientation, rtl, cols) {\n const vertical = rtl ? key === ARROW_RIGHT : key === ARROW_LEFT;\n const horizontal = key === ARROW_UP;\n if (orientation === 'both' || orientation === 'horizontal' && cols && cols > 1) {\n return key === ESCAPE;\n }\n return doSwitch(orientation, vertical, horizontal);\n}\n/**\n * Adds arrow key-based navigation of a list of items, either using real DOM\n * focus or virtual focus.\n * @see https://floating-ui.com/docs/useListNavigation\n */\nexport function useListNavigation(context, props) {\n const {\n open,\n onOpenChange,\n elements,\n floatingId\n } = context;\n const {\n listRef,\n activeIndex,\n onNavigate: onNavigateProp = () => {},\n enabled = true,\n selectedIndex = null,\n allowEscape = false,\n loop = false,\n nested = false,\n rtl = false,\n virtual = false,\n focusItemOnOpen = 'auto',\n focusItemOnHover = true,\n openOnArrowKeyDown = true,\n disabledIndices = undefined,\n orientation = 'vertical',\n parentOrientation,\n cols = 1,\n scrollItemIntoView = true,\n virtualItemRef,\n itemSizes,\n dense = false\n } = props;\n if (process.env.NODE_ENV !== 'production') {\n if (allowEscape) {\n if (!loop) {\n console.warn('`useListNavigation` looping must be enabled to allow escaping.');\n }\n if (!virtual) {\n console.warn('`useListNavigation` must be virtual to allow escaping.');\n }\n }\n if (orientation === 'vertical' && cols > 1) {\n console.warn('In grid list navigation mode (`cols` > 1), the `orientation` should', 'be either \"horizontal\" or \"both\".');\n }\n }\n const floatingFocusElement = getFloatingFocusElement(elements.floating);\n const floatingFocusElementRef = useLatestRef(floatingFocusElement);\n const parentId = useFloatingParentNodeId();\n const tree = useFloatingTree();\n useIsoLayoutEffect(() => {\n context.dataRef.current.orientation = orientation;\n }, [context, orientation]);\n const typeableComboboxReference = isTypeableCombobox(elements.domReference);\n const focusItemOnOpenRef = React.useRef(focusItemOnOpen);\n const indexRef = React.useRef(selectedIndex ?? -1);\n const keyRef = React.useRef(null);\n const isPointerModalityRef = React.useRef(true);\n const onNavigate = useEventCallback(() => {\n onNavigateProp(indexRef.current === -1 ? null : indexRef.current);\n });\n const previousOnNavigateRef = React.useRef(onNavigate);\n const previousMountedRef = React.useRef(!!elements.floating);\n const previousOpenRef = React.useRef(open);\n const forceSyncFocusRef = React.useRef(false);\n const forceScrollIntoViewRef = React.useRef(false);\n const disabledIndicesRef = useLatestRef(disabledIndices);\n const latestOpenRef = useLatestRef(open);\n const scrollItemIntoViewRef = useLatestRef(scrollItemIntoView);\n const selectedIndexRef = useLatestRef(selectedIndex);\n const [activeId, setActiveId] = React.useState();\n const focusItem = useEventCallback(() => {\n function runFocus(item) {\n if (virtual) {\n if (item.id?.endsWith('-fui-option')) {\n item.id = `${floatingId}-${Math.random().toString(16).slice(2, 10)}`;\n }\n setActiveId(item.id);\n tree?.events.emit('virtualfocus', item);\n if (virtualItemRef) {\n virtualItemRef.current = item;\n }\n } else {\n enqueueFocus(item, {\n sync: forceSyncFocusRef.current,\n preventScroll: true\n });\n }\n }\n const initialItem = listRef.current[indexRef.current];\n const forceScrollIntoView = forceScrollIntoViewRef.current;\n if (initialItem) {\n runFocus(initialItem);\n }\n const scheduler = forceSyncFocusRef.current ? v => v() : requestAnimationFrame;\n scheduler(() => {\n const waitedItem = listRef.current[indexRef.current] || initialItem;\n if (!waitedItem) {\n return;\n }\n if (!initialItem) {\n runFocus(waitedItem);\n }\n const scrollIntoViewOptions = scrollItemIntoViewRef.current;\n const shouldScrollIntoView =\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n scrollIntoViewOptions && item && (forceScrollIntoView || !isPointerModalityRef.current);\n if (shouldScrollIntoView) {\n // JSDOM doesn't support `.scrollIntoView()` but it's widely supported\n // by all browsers.\n waitedItem.scrollIntoView?.(typeof scrollIntoViewOptions === 'boolean' ? {\n block: 'nearest',\n inline: 'nearest'\n } : scrollIntoViewOptions);\n }\n });\n });\n\n // Sync `selectedIndex` to be the `activeIndex` upon opening the floating\n // element. Also, reset `activeIndex` upon closing the floating element.\n useIsoLayoutEffect(() => {\n if (!enabled) {\n return;\n }\n if (open && elements.floating) {\n if (focusItemOnOpenRef.current && selectedIndex != null) {\n // Regardless of the pointer modality, we want to ensure the selected\n // item comes into view when the floating element is opened.\n forceScrollIntoViewRef.current = true;\n indexRef.current = selectedIndex;\n onNavigate();\n }\n } else if (previousMountedRef.current) {\n // Since the user can specify `onNavigate` conditionally\n // (onNavigate: open ? setActiveIndex : setSelectedIndex),\n // we store and call the previous function.\n indexRef.current = -1;\n previousOnNavigateRef.current();\n }\n }, [enabled, open, elements.floating, selectedIndex, onNavigate]);\n\n // Sync `activeIndex` to be the focused item while the floating element is\n // open.\n useIsoLayoutEffect(() => {\n if (!enabled) {\n return;\n }\n if (!open) {\n return;\n }\n if (!elements.floating) {\n return;\n }\n if (activeIndex == null) {\n forceSyncFocusRef.current = false;\n if (selectedIndexRef.current != null) {\n return;\n }\n\n // Reset while the floating element was open (e.g. the list changed).\n if (previousMountedRef.current) {\n indexRef.current = -1;\n focusItem();\n }\n\n // Initial sync.\n if ((!previousOpenRef.current || !previousMountedRef.current) && focusItemOnOpenRef.current && (keyRef.current != null || focusItemOnOpenRef.current === true && keyRef.current == null)) {\n let runs = 0;\n const waitForListPopulated = () => {\n if (listRef.current[0] == null) {\n // Avoid letting the browser paint if possible on the first try,\n // otherwise use rAF. Don't try more than twice, since something\n // is wrong otherwise.\n if (runs < 2) {\n const scheduler = runs ? requestAnimationFrame : queueMicrotask;\n scheduler(waitForListPopulated);\n }\n runs += 1;\n } else {\n indexRef.current = keyRef.current == null || isMainOrientationToEndKey(keyRef.current, orientation, rtl) || nested ? getMinListIndex(listRef, disabledIndicesRef.current) : getMaxListIndex(listRef, disabledIndicesRef.current);\n keyRef.current = null;\n onNavigate();\n }\n };\n waitForListPopulated();\n }\n } else if (!isIndexOutOfListBounds(listRef, activeIndex)) {\n indexRef.current = activeIndex;\n focusItem();\n forceScrollIntoViewRef.current = false;\n }\n }, [enabled, open, elements.floating, activeIndex, selectedIndexRef, nested, listRef, orientation, rtl, onNavigate, focusItem, disabledIndicesRef]);\n\n // Ensure the parent floating element has focus when a nested child closes\n // to allow arrow key navigation to work after the pointer leaves the child.\n useIsoLayoutEffect(() => {\n if (!enabled || elements.floating || !tree || virtual || !previousMountedRef.current) {\n return;\n }\n const nodes = tree.nodesRef.current;\n const parent = nodes.find(node => node.id === parentId)?.context?.elements.floating;\n const activeEl = activeElement(getDocument(elements.floating));\n const treeContainsActiveEl = nodes.some(node => node.context && contains(node.context.elements.floating, activeEl));\n if (parent && !treeContainsActiveEl && isPointerModalityRef.current) {\n parent.focus({\n preventScroll: true\n });\n }\n }, [enabled, elements.floating, tree, parentId, virtual]);\n useIsoLayoutEffect(() => {\n previousOnNavigateRef.current = onNavigate;\n previousOpenRef.current = open;\n previousMountedRef.current = !!elements.floating;\n });\n useIsoLayoutEffect(() => {\n if (!open) {\n keyRef.current = null;\n focusItemOnOpenRef.current = focusItemOnOpen;\n }\n }, [open, focusItemOnOpen]);\n const hasActiveIndex = activeIndex != null;\n const item = React.useMemo(() => {\n function syncCurrentTarget(currentTarget) {\n if (!latestOpenRef.current) {\n return;\n }\n const index = listRef.current.indexOf(currentTarget);\n if (index !== -1 && indexRef.current !== index) {\n indexRef.current = index;\n onNavigate();\n }\n }\n const itemProps = {\n onFocus({\n currentTarget\n }) {\n forceSyncFocusRef.current = true;\n syncCurrentTarget(currentTarget);\n },\n onClick: ({\n currentTarget\n }) => currentTarget.focus({\n preventScroll: true\n }),\n // Safari\n onMouseMove({\n currentTarget\n }) {\n forceSyncFocusRef.current = true;\n forceScrollIntoViewRef.current = false;\n if (focusItemOnHover) {\n syncCurrentTarget(currentTarget);\n }\n },\n onPointerLeave({\n pointerType\n }) {\n if (!isPointerModalityRef.current || pointerType === 'touch') {\n return;\n }\n forceSyncFocusRef.current = true;\n if (!focusItemOnHover) {\n return;\n }\n indexRef.current = -1;\n onNavigate();\n if (!virtual) {\n floatingFocusElementRef.current?.focus({\n preventScroll: true\n });\n }\n }\n };\n return itemProps;\n }, [latestOpenRef, floatingFocusElementRef, focusItemOnHover, listRef, onNavigate, virtual]);\n const getParentOrientation = React.useCallback(() => {\n return parentOrientation ?? tree?.nodesRef.current.find(node => node.id === parentId)?.context?.dataRef?.current.orientation;\n }, [parentId, tree, parentOrientation]);\n const commonOnKeyDown = useEventCallback(event => {\n isPointerModalityRef.current = false;\n forceSyncFocusRef.current = true;\n\n // When composing a character, Chrome fires ArrowDown twice. Firefox/Safari\n // don't appear to suffer from this. `event.isComposing` is avoided due to\n // Safari not supporting it properly (although it's not needed in the first\n // place for Safari, just avoiding any possible issues).\n if (event.which === 229) {\n return;\n }\n\n // If the floating element is animating out, ignore navigation. Otherwise,\n // the `activeIndex` gets set to 0 despite not being open so the next time\n // the user ArrowDowns, the first item won't be focused.\n if (!latestOpenRef.current && event.currentTarget === floatingFocusElementRef.current) {\n return;\n }\n if (nested && isCrossOrientationCloseKey(event.key, orientation, rtl, cols)) {\n // If the nested list's close key is also the parent navigation key,\n // let the parent navigate. Otherwise, stop propagating the event.\n if (!isMainOrientationKey(event.key, getParentOrientation())) {\n stopEvent(event);\n }\n onOpenChange(false, event.nativeEvent, 'list-navigation');\n if (isHTMLElement(elements.domReference)) {\n if (virtual) {\n tree?.events.emit('virtualfocus', elements.domReference);\n } else {\n elements.domReference.focus();\n }\n }\n return;\n }\n const currentIndex = indexRef.current;\n const minIndex = getMinListIndex(listRef, disabledIndices);\n const maxIndex = getMaxListIndex(listRef, disabledIndices);\n if (!typeableComboboxReference) {\n if (event.key === 'Home') {\n stopEvent(event);\n indexRef.current = minIndex;\n onNavigate();\n }\n if (event.key === 'End') {\n stopEvent(event);\n indexRef.current = maxIndex;\n onNavigate();\n }\n }\n\n // Grid navigation.\n if (cols > 1) {\n const sizes = itemSizes || Array.from({\n length: listRef.current.length\n }, () => ({\n width: 1,\n height: 1\n }));\n // To calculate movements on the grid, we use hypothetical cell indices\n // as if every item was 1x1, then convert back to real indices.\n const cellMap = createGridCellMap(sizes, cols, dense);\n const minGridIndex = cellMap.findIndex(index => index != null && !isListIndexDisabled(listRef, index, disabledIndices));\n // last enabled index\n const maxGridIndex = cellMap.reduce((foundIndex, index, cellIndex) => index != null && !isListIndexDisabled(listRef, index, disabledIndices) ? cellIndex : foundIndex, -1);\n const index = cellMap[getGridNavigatedIndex({\n current: cellMap.map(itemIndex => itemIndex != null ? listRef.current[itemIndex] : null)\n }, {\n event,\n orientation,\n loop,\n rtl,\n cols,\n // treat undefined (empty grid spaces) as disabled indices so we\n // don't end up in them\n disabledIndices: getGridCellIndices([...((typeof disabledIndices !== 'function' ? disabledIndices : null) || listRef.current.map((_, listIndex) => isListIndexDisabled(listRef, listIndex, disabledIndices) ? listIndex : undefined)), undefined], cellMap),\n minIndex: minGridIndex,\n maxIndex: maxGridIndex,\n prevIndex: getGridCellIndexOfCorner(indexRef.current > maxIndex ? minIndex : indexRef.current, sizes, cellMap, cols,\n // use a corner matching the edge closest to the direction\n // we're moving in so we don't end up in the same item. Prefer\n // top/left over bottom/right.\n // eslint-disable-next-line no-nested-ternary\n event.key === ARROW_DOWN ? 'bl' : event.key === (rtl ? ARROW_LEFT : ARROW_RIGHT) ? 'tr' : 'tl'),\n stopEvent: true\n })];\n if (index != null) {\n indexRef.current = index;\n onNavigate();\n }\n if (orientation === 'both') {\n return;\n }\n }\n if (isMainOrientationKey(event.key, orientation)) {\n stopEvent(event);\n\n // Reset the index if no item is focused.\n if (open && !virtual && activeElement(event.currentTarget.ownerDocument) === event.currentTarget) {\n indexRef.current = isMainOrientationToEndKey(event.key, orientation, rtl) ? minIndex : maxIndex;\n onNavigate();\n return;\n }\n if (isMainOrientationToEndKey(event.key, orientation, rtl)) {\n if (loop) {\n indexRef.current =\n // eslint-disable-next-line no-nested-ternary\n currentIndex >= maxIndex ? allowEscape && currentIndex !== listRef.current.length ? -1 : minIndex : findNonDisabledListIndex(listRef, {\n startingIndex: currentIndex,\n disabledIndices\n });\n } else {\n indexRef.current = Math.min(maxIndex, findNonDisabledListIndex(listRef, {\n startingIndex: currentIndex,\n disabledIndices\n }));\n }\n } else if (loop) {\n indexRef.current =\n // eslint-disable-next-line no-nested-ternary\n currentIndex <= minIndex ? allowEscape && currentIndex !== -1 ? listRef.current.length : maxIndex : findNonDisabledListIndex(listRef, {\n startingIndex: currentIndex,\n decrement: true,\n disabledIndices\n });\n } else {\n indexRef.current = Math.max(minIndex, findNonDisabledListIndex(listRef, {\n startingIndex: currentIndex,\n decrement: true,\n disabledIndices\n }));\n }\n if (isIndexOutOfListBounds(listRef, indexRef.current)) {\n indexRef.current = -1;\n }\n onNavigate();\n }\n });\n const ariaActiveDescendantProp = React.useMemo(() => {\n return virtual && open && hasActiveIndex && {\n 'aria-activedescendant': activeId\n };\n }, [virtual, open, hasActiveIndex, activeId]);\n const floating = React.useMemo(() => {\n return {\n 'aria-orientation': orientation === 'both' ? undefined : orientation,\n ...(!typeableComboboxReference ? ariaActiveDescendantProp : {}),\n onKeyDown(event) {\n // Close submenu on Shift+Tab\n if (event.key === 'Tab' && event.shiftKey && open && !virtual) {\n stopEvent(event);\n onOpenChange(false, event.nativeEvent, 'list-navigation');\n if (isHTMLElement(elements.domReference)) {\n elements.domReference.focus();\n }\n return;\n }\n commonOnKeyDown(event);\n },\n onPointerMove() {\n isPointerModalityRef.current = true;\n }\n };\n }, [ariaActiveDescendantProp, commonOnKeyDown, orientation, typeableComboboxReference, onOpenChange, open, virtual, elements.domReference]);\n const reference = React.useMemo(() => {\n function checkVirtualMouse(event) {\n if (focusItemOnOpen === 'auto' && isVirtualClick(event.nativeEvent)) {\n focusItemOnOpenRef.current = true;\n }\n }\n function checkVirtualPointer(event) {\n // `pointerdown` fires first, reset the state then perform the checks.\n focusItemOnOpenRef.current = focusItemOnOpen;\n if (focusItemOnOpen === 'auto' && isVirtualPointerEvent(event.nativeEvent)) {\n focusItemOnOpenRef.current = true;\n }\n }\n return {\n ...ariaActiveDescendantProp,\n onKeyDown(event) {\n isPointerModalityRef.current = false;\n const isArrowKey = event.key.startsWith('Arrow');\n const isParentCrossOpenKey = isCrossOrientationOpenKey(event.key, getParentOrientation(), rtl);\n const isMainKey = isMainOrientationKey(event.key, orientation);\n const isNavigationKey = (nested ? isParentCrossOpenKey : isMainKey) || event.key === 'Enter' || event.key.trim() === '';\n if (virtual && open) {\n return commonOnKeyDown(event);\n }\n\n // If a floating element should not open on arrow key down, avoid\n // setting `activeIndex` while it's closed.\n if (!open && !openOnArrowKeyDown && isArrowKey) {\n return undefined;\n }\n if (isNavigationKey) {\n const isParentMainKey = isMainOrientationKey(event.key, getParentOrientation());\n keyRef.current = nested && isParentMainKey ? null : event.key;\n }\n if (nested) {\n if (isParentCrossOpenKey) {\n stopEvent(event);\n if (open) {\n indexRef.current = getMinListIndex(listRef, disabledIndicesRef.current);\n onNavigate();\n } else {\n onOpenChange(true, event.nativeEvent, 'list-navigation');\n }\n }\n return undefined;\n }\n if (isMainKey) {\n if (selectedIndex != null) {\n indexRef.current = selectedIndex;\n }\n stopEvent(event);\n if (!open && openOnArrowKeyDown) {\n onOpenChange(true, event.nativeEvent, 'list-navigation');\n } else {\n commonOnKeyDown(event);\n }\n if (open) {\n onNavigate();\n }\n }\n return undefined;\n },\n onFocus() {\n if (open && !virtual) {\n indexRef.current = -1;\n onNavigate();\n }\n },\n onPointerDown: checkVirtualPointer,\n onPointerEnter: checkVirtualPointer,\n onMouseDown: checkVirtualMouse,\n onClick: checkVirtualMouse\n };\n }, [ariaActiveDescendantProp, commonOnKeyDown, disabledIndicesRef, focusItemOnOpen, listRef, nested, onNavigate, onOpenChange, open, openOnArrowKeyDown, orientation, getParentOrientation, rtl, selectedIndex, virtual]);\n return React.useMemo(() => enabled ? {\n reference,\n floating,\n item\n } : {}, [enabled, reference, floating, item]);\n}","import * as React from 'react';\nimport { ACTIVE_KEY, FOCUSABLE_ATTRIBUTE, SELECTED_KEY } from \"../utils/constants.js\";\n/**\n * Merges an array of interaction hooks' props into prop getters, allowing\n * event handler functions to be composed together without overwriting one\n * another.\n * @see https://floating-ui.com/docs/useInteractions\n */\nexport function useInteractions(propsList = []) {\n const referenceDeps = propsList.map(key => key?.reference);\n const floatingDeps = propsList.map(key => key?.floating);\n const itemDeps = propsList.map(key => key?.item);\n const getReferenceProps = React.useCallback(userProps => mergeProps(userProps, propsList, 'reference'),\n // eslint-disable-next-line react-hooks/exhaustive-deps\n referenceDeps);\n const getFloatingProps = React.useCallback(userProps => mergeProps(userProps, propsList, 'floating'),\n // eslint-disable-next-line react-hooks/exhaustive-deps\n floatingDeps);\n const getItemProps = React.useCallback(userProps => mergeProps(userProps, propsList, 'item'),\n // eslint-disable-next-line react-hooks/exhaustive-deps\n itemDeps);\n return React.useMemo(() => ({\n getReferenceProps,\n getFloatingProps,\n getItemProps\n }), [getReferenceProps, getFloatingProps, getItemProps]);\n}\n\n/* eslint-disable guard-for-in */\n\nfunction mergeProps(userProps, propsList, elementKey) {\n const eventHandlers = new Map();\n const isItem = elementKey === 'item';\n const outputProps = {};\n if (elementKey === 'floating') {\n outputProps.tabIndex = -1;\n outputProps[FOCUSABLE_ATTRIBUTE] = '';\n }\n for (const key in userProps) {\n if (isItem && userProps) {\n if (key === ACTIVE_KEY || key === SELECTED_KEY) {\n continue;\n }\n }\n outputProps[key] = userProps[key];\n }\n for (let i = 0; i < propsList.length; i += 1) {\n let props;\n const propsOrGetProps = propsList[i]?.[elementKey];\n if (typeof propsOrGetProps === 'function') {\n props = userProps ? propsOrGetProps(userProps) : null;\n } else {\n props = propsOrGetProps;\n }\n if (!props) {\n continue;\n }\n mutablyMergeProps(outputProps, props, isItem, eventHandlers);\n }\n mutablyMergeProps(outputProps, userProps, isItem, eventHandlers);\n return outputProps;\n}\nfunction mutablyMergeProps(outputProps, props, isItem, eventHandlers) {\n for (const key in props) {\n const value = props[key];\n if (isItem && (key === ACTIVE_KEY || key === SELECTED_KEY)) {\n continue;\n }\n if (!key.startsWith('on')) {\n outputProps[key] = value;\n } else {\n if (!eventHandlers.has(key)) {\n eventHandlers.set(key, []);\n }\n if (typeof value === 'function') {\n eventHandlers.get(key)?.push(value);\n outputProps[key] = (...args) => {\n return eventHandlers.get(key)?.map(fn => fn(...args)).find(val => val !== undefined);\n };\n }\n }\n }\n}","'use client';\n\nimport * as React from 'react';\nexport const MenuRootContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") MenuRootContext.displayName = \"MenuRootContext\";\nexport function useMenuRootContext(optional) {\n const context = React.useContext(MenuRootContext);\n if (context === undefined && !optional) {\n throw new Error('Base UI: MenuRootContext is missing. Menu parts must be placed within <Menu.Root>.');\n }\n return context;\n}","'use client';\n\nimport * as React from 'react';\nexport const MenubarContext = /*#__PURE__*/React.createContext(null);\nif (process.env.NODE_ENV !== \"production\") MenubarContext.displayName = \"MenubarContext\";\nexport function useMenubarContext(optional) {\n const context = React.useContext(MenubarContext);\n if (context === null && !optional) {\n throw new Error('Base UI: MenubarContext is missing. Menubar parts must be placed within <Menubar>.');\n }\n return context;\n}","'use client';\n\nimport * as React from 'react';\nimport * as ReactDOM from 'react-dom';\nimport { useIsoLayoutEffect } from '@base-ui-components/utils/useIsoLayoutEffect';\nimport { AnimationFrame } from '@base-ui-components/utils/useAnimationFrame';\n/**\n * Provides a status string for CSS animations.\n * @param open - a boolean that determines if the element is open.\n * @param enableIdleState - a boolean that enables the `'idle'` state between `'starting'` and `'ending'`\n */\nexport function useTransitionStatus(open, enableIdleState = false, deferEndingState = false) {\n const [transitionStatus, setTransitionStatus] = React.useState(open && enableIdleState ? 'idle' : undefined);\n const [mounted, setMounted] = React.useState(open);\n if (open && !mounted) {\n setMounted(true);\n setTransitionStatus('starting');\n }\n if (!open && mounted && transitionStatus !== 'ending' && !deferEndingState) {\n setTransitionStatus('ending');\n }\n if (!open && !mounted && transitionStatus === 'ending') {\n setTransitionStatus(undefined);\n }\n useIsoLayoutEffect(() => {\n if (!open && mounted && transitionStatus !== 'ending' && deferEndingState) {\n const frame = AnimationFrame.request(() => {\n setTransitionStatus('ending');\n });\n return () => {\n AnimationFrame.cancel(frame);\n };\n }\n return undefined;\n }, [open, mounted, transitionStatus, deferEndingState]);\n useIsoLayoutEffect(() => {\n if (!open || enableIdleState) {\n return undefined;\n }\n const frame = AnimationFrame.request(() => {\n ReactDOM.flushSync(() => {\n setTransitionStatus(undefined);\n });\n });\n return () => {\n AnimationFrame.cancel(frame);\n };\n }, [enableIdleState, open]);\n useIsoLayoutEffect(() => {\n if (!open || !enableIdleState) {\n return undefined;\n }\n if (open && mounted && transitionStatus !== 'idle') {\n setTransitionStatus('starting');\n }\n const frame = AnimationFrame.request(() => {\n setTransitionStatus('idle');\n });\n return () => {\n AnimationFrame.cancel(frame);\n };\n }, [enableIdleState, open, mounted, setTransitionStatus, transitionStatus]);\n return React.useMemo(() => ({\n mounted,\n setMounted,\n transitionStatus\n }), [mounted, transitionStatus]);\n}","'use client';\n\nimport * as React from 'react';\nimport { useEventCallback } from '@base-ui-components/utils/useEventCallback';\nimport { useLatestRef } from '@base-ui-components/utils/useLatestRef';\nimport { useAnimationsFinished } from \"./useAnimationsFinished.js\";\n\n/**\n * Calls the provided function when the CSS open/close animation or transition completes.\n */\nexport function useOpenChangeComplete(parameters) {\n const {\n enabled = true,\n open,\n ref,\n onComplete: onCompleteParam\n } = parameters;\n const openRef = useLatestRef(open);\n const onComplete = useEventCallback(onCompleteParam);\n const runOnceAnimationsFinish = useAnimationsFinished(ref, open);\n React.useEffect(() => {\n if (!enabled) {\n return;\n }\n runOnceAnimationsFinish(() => {\n if (open === openRef.current) {\n onComplete();\n }\n });\n }, [enabled, open, onComplete, runOnceAnimationsFinish, openRef]);\n}","'use client';\n\nimport * as ReactDOM from 'react-dom';\nimport { useAnimationFrame } from '@base-ui-components/utils/useAnimationFrame';\nimport { useEventCallback } from '@base-ui-components/utils/useEventCallback';\n\n/**\n * Executes a function once all animations have finished on the provided element.\n * @param elementOrRef - The element to watch for animations.\n * @param waitForNextTick - Whether to wait for the next tick before checking for animations.\n */\nexport function useAnimationsFinished(elementOrRef, waitForNextTick = false) {\n const frame = useAnimationFrame();\n return useEventCallback((fnToExecute,\n /**\n * An optional [AbortSignal](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) that\n * can be used to abort `fnToExecute` before all the animations have finished.\n * @default null\n */\n signal = null) => {\n frame.cancel();\n if (elementOrRef == null) {\n return;\n }\n let element;\n if ('current' in elementOrRef) {\n if (elementOrRef.current == null) {\n return;\n }\n element = elementOrRef.current;\n } else {\n element = elementOrRef;\n }\n if (typeof element.getAnimations !== 'function' || globalThis.BASE_UI_ANIMATIONS_DISABLED) {\n fnToExecute();\n } else {\n frame.request(() => {\n function exec() {\n if (!element) {\n return;\n }\n Promise.allSettled(element.getAnimations().map(anim => anim.finished)).then(() => {\n if (signal != null && signal.aborted) {\n return;\n }\n // Synchronously flush the unmounting of the component so that the browser doesn't\n // paint: https://github.com/mui/base-ui/issues/979\n ReactDOM.flushSync(fnToExecute);\n });\n }\n\n // `open: true` animations need to wait for the next tick to be detected\n if (waitForNextTick) {\n frame.request(exec);\n } else {\n exec();\n }\n });\n }\n });\n}","'use client';\n\nimport * as React from 'react';\n/**\n * @internal\n */\nexport const DirectionContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") DirectionContext.displayName = \"DirectionContext\";\nexport function useDirection(optional = true) {\n const context = React.useContext(DirectionContext);\n if (context === undefined && !optional) {\n throw new Error('Base UI: DirectionContext is missing.');\n }\n return context?.direction ?? 'ltr';\n}","export { getWindow as ownerWindow } from '@floating-ui/utils/dom';\nexport function ownerDocument(node) {\n return node?.ownerDocument || document;\n}","export const NOOP = () => {};","import { isIOS, isWebKit } from '@base-ui-components/utils/detectBrowser';\nimport { ownerDocument, ownerWindow } from '@base-ui-components/utils/owner';\nimport { useIsoLayoutEffect } from '@base-ui-components/utils/useIsoLayoutEffect';\nimport { Timeout } from '@base-ui-components/utils/useTimeout';\nimport { AnimationFrame } from '@base-ui-components/utils/useAnimationFrame';\nimport { NOOP } from \"./noop.js\";\n\n/* eslint-disable lines-between-class-members */\n\nlet originalHtmlStyles = {};\nlet originalBodyStyles = {};\nlet originalHtmlScrollBehavior = '';\nfunction hasInsetScrollbars(referenceElement) {\n if (typeof document === 'undefined') {\n return false;\n }\n const doc = ownerDocument(referenceElement);\n const win = ownerWindow(doc);\n return win.innerWidth - doc.documentElement.clientWidth > 0;\n}\nfunction preventScrollBasic(referenceElement) {\n const doc = ownerDocument(referenceElement);\n const html = doc.documentElement;\n const originalOverflow = html.style.overflow;\n html.style.overflow = 'hidden';\n return () => {\n html.style.overflow = originalOverflow;\n };\n}\nfunction preventScrollStandard(referenceElement) {\n const doc = ownerDocument(referenceElement);\n const html = doc.documentElement;\n const body = doc.body;\n const win = ownerWindow(html);\n let scrollTop = 0;\n let scrollLeft = 0;\n const resizeFrame = AnimationFrame.create();\n\n // Pinch-zoom in Safari causes a shift. Just don't lock scroll if there's any pinch-zoom.\n if (isWebKit && (win.visualViewport?.scale ?? 1) !== 1) {\n return () => {};\n }\n function lockScroll() {\n /* DOM reads: */\n\n const htmlStyles = win.getComputedStyle(html);\n const bodyStyles = win.getComputedStyle(body);\n scrollTop = html.scrollTop;\n scrollLeft = html.scrollLeft;\n originalHtmlStyles = {\n scrollbarGutter: html.style.scrollbarGutter,\n overflowY: html.style.overflowY,\n overflowX: html.style.overflowX\n };\n originalHtmlScrollBehavior = html.style.scrollBehavior;\n originalBodyStyles = {\n position: body.style.position,\n height: body.style.height,\n width: body.style.width,\n boxSizing: body.style.boxSizing,\n overflowY: body.style.overflowY,\n overflowX: body.style.overflowX,\n scrollBehavior: body.style.scrollBehavior\n };\n\n // Handle `scrollbar-gutter` in Chrome when there is no scrollable content.\n const supportsStableScrollbarGutter = typeof CSS !== 'undefined' && CSS.supports?.('scrollbar-gutter', 'stable');\n const isScrollableY = html.scrollHeight > html.clientHeight;\n const isScrollableX = html.scrollWidth > html.clientWidth;\n const hasConstantOverflowY = htmlStyles.overflowY === 'scroll' || bodyStyles.overflowY === 'scroll';\n const hasConstantOverflowX = htmlStyles.overflowX === 'scroll' || bodyStyles.overflowX === 'scroll';\n\n // Values can be negative in Firefox\n const scrollbarWidth = Math.max(0, win.innerWidth - html.clientWidth);\n const scrollbarHeight = Math.max(0, win.innerHeight - html.clientHeight);\n\n // Avoid shift due to the default <body> margin. This does cause elements to be clipped\n // with whitespace. Warn if <body> has margins?\n const marginY = parseFloat(bodyStyles.marginTop) + parseFloat(bodyStyles.marginBottom);\n const marginX = parseFloat(bodyStyles.marginLeft) + parseFloat(bodyStyles.marginRight);\n\n /*\n * DOM writes:\n * Do not read the DOM past this point!\n */\n\n Object.assign(html.style, {\n scrollbarGutter: 'stable',\n overflowY: !supportsStableScrollbarGutter && (isScrollableY || hasConstantOverflowY) ? 'scroll' : 'hidden',\n overflowX: !supportsStableScrollbarGutter && (isScrollableX || hasConstantOverflowX) ? 'scroll' : 'hidden'\n });\n Object.assign(body.style, {\n position: 'relative',\n height: marginY || scrollbarHeight ? `calc(100dvh - ${marginY + scrollbarHeight}px)` : '100dvh',\n width: marginX || scrollbarWidth ? `calc(100vw - ${marginX + scrollbarWidth}px)` : '100vw',\n boxSizing: 'border-box',\n overflow: 'hidden',\n scrollBehavior: 'unset'\n });\n body.scrollTop = scrollTop;\n body.scrollLeft = scrollLeft;\n html.setAttribute('data-base-ui-scroll-locked', '');\n html.style.scrollBehavior = 'unset';\n }\n function cleanup() {\n Object.assign(html.style, originalHtmlStyles);\n Object.assign(body.style, originalBodyStyles);\n html.scrollTop = scrollTop;\n html.scrollLeft = scrollLeft;\n html.removeAttribute('data-base-ui-scroll-locked');\n html.style.scrollBehavior = originalHtmlScrollBehavior;\n }\n function handleResize() {\n cleanup();\n resizeFrame.request(lockScroll);\n }\n lockScroll();\n win.addEventListener('resize', handleResize);\n return () => {\n resizeFrame.cancel();\n cleanup();\n win.removeEventListener('resize', handleResize);\n };\n}\nclass ScrollLocker {\n lockCount = 0;\n restore = (() => null)();\n timeoutLock = (() => Timeout.create())();\n timeoutUnlock = (() => Timeout.create())();\n acquire(referenceElement) {\n this.lockCount += 1;\n if (this.lockCount === 1 && this.restore === null) {\n this.timeoutLock.start(0, () => this.lock(referenceElement));\n }\n return this.release;\n }\n release = () => {\n this.lockCount -= 1;\n if (this.lockCount === 0 && this.restore) {\n this.timeoutUnlock.start(0, this.unlock);\n }\n };\n unlock = () => {\n if (this.lockCount === 0 && this.restore) {\n this.restore?.();\n this.restore = null;\n }\n };\n lock(referenceElement) {\n if (this.lockCount === 0 || this.restore !== null) {\n return;\n }\n const doc = ownerDocument(referenceElement);\n const html = doc.documentElement;\n const htmlOverflowY = ownerWindow(html).getComputedStyle(html).overflowY;\n\n // If the site author already hid overflow on <html>, respect it and bail out.\n if (htmlOverflowY === 'hidden' || htmlOverflowY === 'clip') {\n this.restore = NOOP;\n return;\n }\n const isOverflowHiddenLock = isIOS || !hasInsetScrollbars(referenceElement);\n\n // On iOS, scroll locking does not work if the navbar is collapsed. Due to numerous\n // side effects and bugs that arise on iOS, it must be researched extensively before\n // being enabled to ensure it doesn't cause the following issues:\n // - Textboxes must scroll into view when focused, nor cause a glitchy scroll animation.\n // - The navbar must not force itself into view and cause layout shift.\n // - Scroll containers must not flicker upon closing a popup when it has an exit animation.\n this.restore = isOverflowHiddenLock ? preventScrollBasic(referenceElement) : preventScrollStandard(referenceElement);\n }\n}\nconst SCROLL_LOCKER = new ScrollLocker();\n\n/**\n * Locks the scroll of the document when enabled.\n *\n * @param enabled - Whether to enable the scroll lock.\n */\nexport function useScrollLock(params) {\n const {\n enabled = true,\n mounted,\n open,\n referenceElement = null\n } = params;\n\n // https://github.com/mui/base-ui/issues/1135\n useIsoLayoutEffect(() => {\n if (enabled && isWebKit && mounted && !open) {\n const doc = ownerDocument(referenceElement);\n const originalUserSelect = doc.body.style.userSelect;\n const originalWebkitUserSelect = doc.body.style.webkitUserSelect;\n doc.body.style.userSelect = 'none';\n doc.body.style.webkitUserSelect = 'none';\n return () => {\n doc.body.style.userSelect = originalUserSelect;\n doc.body.style.webkitUserSelect = originalWebkitUserSelect;\n };\n }\n return undefined;\n }, [enabled, mounted, open, referenceElement]);\n useIsoLayoutEffect(() => {\n if (!enabled) {\n return undefined;\n }\n return SCROLL_LOCKER.acquire(referenceElement);\n }, [enabled, referenceElement]);\n}","export function translateOpenChangeReason(nativeReason) {\n if (!nativeReason) {\n return undefined;\n }\n return {\n // Identical mappings\n 'focus-out': 'focus-out',\n 'escape-key': 'escape-key',\n 'outside-press': 'outside-press',\n 'list-navigation': 'list-navigation',\n // New mappings\n click: 'trigger-press',\n hover: 'trigger-hover',\n focus: 'trigger-focus',\n 'reference-press': 'trigger-press',\n 'safe-polygon': 'trigger-hover',\n 'ancestor-scroll': undefined // Not supported\n }[nativeReason];\n}","import * as React from 'react';\nexport const ContextMenuRootContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") ContextMenuRootContext.displayName = \"ContextMenuRootContext\";\nexport function useContextMenuRootContext(optional = true) {\n const context = React.useContext(ContextMenuRootContext);\n if (context === undefined && !optional) {\n throw new Error('Base UI: ContextMenuRootContext is missing. ContextMenu parts must be placed within <ContextMenu.Root>.');\n }\n return context;\n}","import * as React from 'react';\nexport const MenuSubmenuRootContext = /*#__PURE__*/React.createContext(false);\nif (process.env.NODE_ENV !== \"production\") MenuSubmenuRootContext.displayName = \"MenuSubmenuRootContext\";\nexport function useMenuSubmenuRootContext() {\n return React.useContext(MenuSubmenuRootContext);\n}","export function mergeObjects(a, b) {\n if (a && !b) {\n return a;\n }\n if (!a && b) {\n return b;\n }\n if (a || b) {\n return {\n ...a,\n ...b\n };\n }\n return undefined;\n}","import { mergeObjects } from '@base-ui-components/utils/mergeObjects';\nconst EMPTY_PROPS = {};\n\n/**\n * Merges multiple sets of React props. It follows the Object.assign pattern where the rightmost object's fields overwrite\n * the conflicting ones from others. This doesn't apply to event handlers, `className` and `style` props.\n * Event handlers are merged such that they are called in sequence (the rightmost one being called first),\n * and allows the user to prevent the subsequent event handlers from being\n * executed by attaching a `preventBaseUIHandler` method.\n * It also merges the `className` and `style` props, whereby the classes are concatenated\n * and the rightmost styles overwrite the subsequent ones.\n *\n * Props can either be provided as objects or as functions that take the previous props as an argument.\n * The function will receive the merged props up to that point (going from left to right):\n * so in the case of `(obj1, obj2, fn, obj3)`, `fn` will receive the merged props of `obj1` and `obj2`.\n * The function is responsible for chaining event handlers if needed (i.e. we don't run the merge logic).\n *\n * Event handlers returned by the functions are not automatically prevented when `preventBaseUIHandler` is called.\n * They must check `event.baseUIHandlerPrevented` themselves and bail out if it's true.\n *\n * @important **`ref` is not merged.**\n * @param props props to merge.\n * @returns the merged props.\n */\n/* eslint-disable id-denylist */\n\nexport function mergeProps(a, b, c, d, e) {\n // We need to mutably own `merged`\n let merged = {\n ...resolvePropsGetter(a, EMPTY_PROPS)\n };\n if (b) {\n merged = mergeOne(merged, b);\n }\n if (c) {\n merged = mergeOne(merged, c);\n }\n if (d) {\n merged = mergeOne(merged, d);\n }\n if (e) {\n merged = mergeOne(merged, e);\n }\n return merged;\n}\n/* eslint-enable id-denylist */\n\nexport function mergePropsN(props) {\n if (props.length === 0) {\n return EMPTY_PROPS;\n }\n if (props.length === 1) {\n return resolvePropsGetter(props[0], EMPTY_PROPS);\n }\n\n // We need to mutably own `merged`\n let merged = {\n ...resolvePropsGetter(props[0], EMPTY_PROPS)\n };\n for (let i = 1; i < props.length; i += 1) {\n merged = mergeOne(merged, props[i]);\n }\n return merged;\n}\nfunction mergeOne(merged, inputProps) {\n if (isPropsGetter(inputProps)) {\n return inputProps(merged);\n }\n return mutablyMergeInto(merged, inputProps);\n}\n\n/**\n * Merges two sets of props. In case of conflicts, the external props take precedence.\n */\nfunction mutablyMergeInto(mergedProps, externalProps) {\n if (!externalProps) {\n return mergedProps;\n }\n\n // eslint-disable-next-line guard-for-in\n for (const propName in externalProps) {\n const externalPropValue = externalProps[propName];\n switch (propName) {\n case 'style':\n {\n mergedProps[propName] = mergeObjects(mergedProps.style, externalPropValue);\n break;\n }\n case 'className':\n {\n mergedProps[propName] = mergeClassNames(mergedProps.className, externalPropValue);\n break;\n }\n default:\n {\n if (isEventHandler(propName, externalPropValue)) {\n mergedProps[propName] = mergeEventHandlers(mergedProps[propName], externalPropValue);\n } else {\n mergedProps[propName] = externalPropValue;\n }\n }\n }\n }\n return mergedProps;\n}\nfunction isEventHandler(key, value) {\n // This approach is more efficient than using a regex.\n const code0 = key.charCodeAt(0);\n const code1 = key.charCodeAt(1);\n const code2 = key.charCodeAt(2);\n return code0 === 111 /* o */ && code1 === 110 /* n */ && code2 >= 65 /* A */ && code2 <= 90 /* Z */ && (typeof value === 'function' || typeof value === 'undefined');\n}\nfunction isPropsGetter(inputProps) {\n return typeof inputProps === 'function';\n}\nfunction resolvePropsGetter(inputProps, previousProps) {\n if (isPropsGetter(inputProps)) {\n return inputProps(previousProps);\n }\n return inputProps ?? EMPTY_PROPS;\n}\nfunction mergeEventHandlers(ourHandler, theirHandler) {\n if (!theirHandler) {\n return ourHandler;\n }\n if (!ourHandler) {\n return theirHandler;\n }\n return event => {\n if (isSyntheticEvent(event)) {\n const baseUIEvent = event;\n makeEventPreventable(baseUIEvent);\n const result = theirHandler(baseUIEvent);\n if (!baseUIEvent.baseUIHandlerPrevented) {\n ourHandler?.(baseUIEvent);\n }\n return result;\n }\n const result = theirHandler(event);\n ourHandler?.(event);\n return result;\n };\n}\nexport function makeEventPreventable(event) {\n event.preventBaseUIHandler = () => {\n event.baseUIHandlerPrevented = true;\n };\n return event;\n}\nexport function mergeClassNames(ourClassName, theirClassName) {\n if (theirClassName) {\n if (ourClassName) {\n // eslint-disable-next-line prefer-template\n return theirClassName + ' ' + ourClassName;\n }\n return theirClassName;\n }\n return ourClassName;\n}\nfunction isSyntheticEvent(event) {\n return event != null && typeof event === 'object' && 'nativeEvent' in event;\n}","'use client';\n\nimport * as React from 'react';\nimport * as ReactDOM from 'react-dom';\nimport { useTimeout } from '@base-ui-components/utils/useTimeout';\nimport { useEventCallback } from '@base-ui-components/utils/useEventCallback';\nimport { useControlled } from '@base-ui-components/utils/useControlled';\nimport { useId } from '@base-ui-components/utils/useId';\nimport { FloatingTree, useClick, useDismiss, useFloatingRootContext, useFocus, useHover, useInteractions, useListNavigation, useRole, useTypeahead, safePolygon } from \"../../floating-ui-react/index.js\";\nimport { MenuRootContext, useMenuRootContext } from \"./MenuRootContext.js\";\nimport { useMenubarContext } from \"../../menubar/MenubarContext.js\";\nimport { useTransitionStatus } from \"../../utils/useTransitionStatus.js\";\nimport { PATIENT_CLICK_THRESHOLD, TYPEAHEAD_RESET_MS } from \"../../utils/constants.js\";\nimport { useOpenChangeComplete } from \"../../utils/useOpenChangeComplete.js\";\nimport { useDirection } from \"../../direction-provider/DirectionContext.js\";\nimport { useScrollLock } from \"../../utils/useScrollLock.js\";\nimport { useOpenInteractionType } from \"../../utils/useOpenInteractionType.js\";\nimport { translateOpenChangeReason } from \"../../utils/translateOpenChangeReason.js\";\nimport { useContextMenuRootContext } from \"../../context-menu/root/ContextMenuRootContext.js\";\nimport { useMenuSubmenuRootContext } from \"../submenu-root/MenuSubmenuRootContext.js\";\nimport { useMixedToggleClickHandler } from \"../../utils/useMixedToggleClickHander.js\";\nimport { mergeProps } from \"../../merge-props/index.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst EMPTY_ARRAY = [];\nconst EMPTY_REF = {\n current: false\n};\n\n/**\n * Groups all parts of the menu.\n * Doesn’t render its own HTML element.\n *\n * Documentation: [Base UI Menu](https://base-ui.com/react/components/menu)\n */\nexport const MenuRoot = function MenuRoot(props) {\n const {\n children,\n open: openProp,\n onOpenChange,\n onOpenChangeComplete,\n defaultOpen = false,\n disabled = false,\n modal: modalProp,\n loop = true,\n orientation = 'vertical',\n actionsRef,\n openOnHover: openOnHoverProp,\n delay = 100,\n closeDelay = 0,\n closeParentOnEsc = true\n } = props;\n const [triggerElement, setTriggerElement] = React.useState(null);\n const [positionerElement, setPositionerElementUnwrapped] = React.useState(null);\n const [instantType, setInstantType] = React.useState();\n const [hoverEnabled, setHoverEnabled] = React.useState(true);\n const [activeIndex, setActiveIndex] = React.useState(null);\n const [lastOpenChangeReason, setLastOpenChangeReason] = React.useState(null);\n const [stickIfOpen, setStickIfOpen] = React.useState(true);\n const [allowMouseEnterState, setAllowMouseEnterState] = React.useState(false);\n const openEventRef = React.useRef(null);\n const popupRef = React.useRef(null);\n const positionerRef = React.useRef(null);\n const itemDomElements = React.useRef([]);\n const itemLabels = React.useRef([]);\n const stickIfOpenTimeout = useTimeout();\n const contextMenuContext = useContextMenuRootContext(true);\n const isSubmenu = useMenuSubmenuRootContext();\n let parent;\n {\n const parentContext = useMenuRootContext(true);\n const menubarContext = useMenubarContext(true);\n if (isSubmenu && parentContext) {\n parent = {\n type: 'menu',\n context: parentContext\n };\n } else if (menubarContext) {\n parent = {\n type: 'menubar',\n context: menubarContext\n };\n } else if (contextMenuContext) {\n parent = {\n type: 'context-menu',\n context: contextMenuContext\n };\n } else {\n parent = {\n type: undefined\n };\n }\n }\n let rootId = useId();\n if (parent.type !== undefined) {\n rootId = parent.context.rootId;\n }\n const modal = (parent.type === undefined || parent.type === 'context-menu') && (modalProp ?? true);\n\n // If this menu is a submenu, it should inherit `allowMouseEnter` from its\n // parent. Otherwise it manages the state on its own.\n const allowMouseEnter = parent.type === 'menu' ? parent.context.allowMouseEnter : allowMouseEnterState;\n const setAllowMouseEnter = parent.type === 'menu' ? parent.context.setAllowMouseEnter : setAllowMouseEnterState;\n if (process.env.NODE_ENV !== 'production') {\n if (parent.type !== undefined && modalProp !== undefined) {\n console.warn('Base UI: The `modal` prop is not supported on nested menus. It will be ignored.');\n }\n }\n const openOnHover = openOnHoverProp ?? (parent.type === 'menu' || parent.type === 'menubar' && parent.context.hasSubmenuOpen);\n const [open, setOpenUnwrapped] = useControlled({\n controlled: openProp,\n default: defaultOpen,\n name: 'MenuRoot',\n state: 'open'\n });\n const allowOutsidePressDismissalRef = React.useRef(parent.type !== 'context-menu');\n const allowOutsidePressDismissalTimeout = useTimeout();\n React.useEffect(() => {\n if (!open) {\n openEventRef.current = null;\n }\n if (parent.type !== 'context-menu') {\n return;\n }\n if (!open) {\n allowOutsidePressDismissalTimeout.clear();\n allowOutsidePressDismissalRef.current = false;\n return;\n }\n\n // With `mousedown` outside press events and long press touch input, there\n // needs to be a grace period after opening to ensure the dismissal event\n // doesn't fire immediately after open.\n allowOutsidePressDismissalTimeout.start(500, () => {\n allowOutsidePressDismissalRef.current = true;\n });\n }, [allowOutsidePressDismissalTimeout, open, parent.type]);\n const setPositionerElement = React.useCallback(value => {\n positionerRef.current = value;\n setPositionerElementUnwrapped(value);\n }, []);\n const {\n mounted,\n setMounted,\n transitionStatus\n } = useTransitionStatus(open);\n const {\n openMethod,\n triggerProps: interactionTypeProps,\n reset: resetOpenInteractionType\n } = useOpenInteractionType(open);\n useScrollLock({\n enabled: open && modal && lastOpenChangeReason !== 'trigger-hover' && openMethod !== 'touch',\n mounted,\n open,\n referenceElement: positionerElement\n });\n if (!open && !hoverEnabled) {\n setHoverEnabled(true);\n }\n const handleUnmount = useEventCallback(() => {\n setMounted(false);\n setStickIfOpen(true);\n setAllowMouseEnter(false);\n onOpenChangeComplete?.(false);\n resetOpenInteractionType();\n });\n useOpenChangeComplete({\n enabled: !actionsRef,\n open,\n ref: popupRef,\n onComplete() {\n if (!open) {\n handleUnmount();\n }\n }\n });\n const allowTouchToCloseRef = React.useRef(true);\n const allowTouchToCloseTimeout = useTimeout();\n const setOpen = useEventCallback((nextOpen, event, reason) => {\n if (open === nextOpen) {\n return;\n }\n if (nextOpen === false && event?.type === 'click' && event.pointerType === 'touch' && !allowTouchToCloseRef.current) {\n return;\n }\n\n // Workaround `enableFocusInside` in Floating UI setting `tabindex=0` of a non-highlighted\n // option upon close when tabbing out due to `keepMounted=true`:\n // https://github.com/floating-ui/floating-ui/pull/3004/files#diff-962a7439cdeb09ea98d4b622a45d517bce07ad8c3f866e089bda05f4b0bbd875R194-R199\n // This otherwise causes options to retain `tabindex=0` incorrectly when the popup is closed\n // when tabbing outside.\n if (!nextOpen && activeIndex !== null) {\n const activeOption = itemDomElements.current[activeIndex];\n // Wait for Floating UI's focus effect to have fired\n queueMicrotask(() => {\n activeOption?.setAttribute('tabindex', '-1');\n });\n }\n\n // Prevent the menu from closing on mobile devices that have a delayed click event.\n // In some cases the menu, when tapped, will fire the focus event first and then the click event.\n // Without this guard, the menu will close immediately after opening.\n if (nextOpen && reason === 'trigger-focus') {\n allowTouchToCloseRef.current = false;\n allowTouchToCloseTimeout.start(300, () => {\n allowTouchToCloseRef.current = true;\n });\n } else {\n allowTouchToCloseRef.current = true;\n allowTouchToCloseTimeout.clear();\n }\n const isKeyboardClick = (reason === 'trigger-press' || reason === 'item-press') && event.detail === 0 && event?.isTrusted;\n const isDismissClose = !nextOpen && (reason === 'escape-key' || reason == null);\n function changeState() {\n onOpenChange?.(nextOpen, event, reason);\n setOpenUnwrapped(nextOpen);\n setLastOpenChangeReason(reason ?? null);\n openEventRef.current = event ?? null;\n }\n if (reason === 'trigger-hover') {\n // Only allow \"patient\" clicks to close the menu if it's open.\n // If they clicked within 500ms of the menu opening, keep it open.\n setStickIfOpen(true);\n stickIfOpenTimeout.start(PATIENT_CLICK_THRESHOLD, () => {\n setStickIfOpen(false);\n });\n ReactDOM.flushSync(changeState);\n } else {\n changeState();\n }\n if (parent.type === 'menubar' && (reason === 'trigger-focus' || reason === 'focus-out' || reason === 'trigger-hover' || reason === 'list-navigation' || reason === 'sibling-open')) {\n setInstantType('group');\n } else if (isKeyboardClick || isDismissClose) {\n setInstantType(isKeyboardClick ? 'click' : 'dismiss');\n } else {\n setInstantType(undefined);\n }\n });\n React.useImperativeHandle(actionsRef, () => ({\n unmount: handleUnmount\n }), [handleUnmount]);\n let ctx;\n if (parent.type === 'context-menu') {\n ctx = parent.context;\n }\n React.useImperativeHandle(ctx?.positionerRef, () => positionerElement, [positionerElement]);\n React.useImperativeHandle(ctx?.actionsRef, () => ({\n setOpen\n }), [setOpen]);\n React.useEffect(() => {\n if (!open) {\n stickIfOpenTimeout.clear();\n }\n }, [stickIfOpenTimeout, open]);\n const floatingRootContext = useFloatingRootContext({\n elements: {\n reference: triggerElement,\n floating: positionerElement\n },\n open,\n onOpenChange(openValue, eventValue, reasonValue) {\n setOpen(openValue, eventValue, translateOpenChangeReason(reasonValue));\n }\n });\n const hover = useHover(floatingRootContext, {\n enabled: hoverEnabled && openOnHover && !disabled && parent.type !== 'context-menu' && (parent.type !== 'menubar' || parent.context.hasSubmenuOpen && !open),\n handleClose: safePolygon({\n blockPointerEvents: true\n }),\n mouseOnly: true,\n move: parent.type === 'menu',\n restMs: parent.type === undefined || parent.type === 'menu' && allowMouseEnter ? delay : undefined,\n delay: parent.type === 'menu' ? {\n open: allowMouseEnter ? delay : 10 ** 10,\n close: closeDelay\n } : {\n close: closeDelay\n }\n });\n const focus = useFocus(floatingRootContext, {\n enabled: !disabled && !open && parent.type === 'menubar' && parent.context.hasSubmenuOpen && !contextMenuContext\n });\n const click = useClick(floatingRootContext, {\n enabled: !disabled && parent.type !== 'context-menu',\n event: open && parent.type === 'menubar' ? 'click' : 'mousedown',\n toggle: !openOnHover || parent.type !== 'menu',\n ignoreMouse: openOnHover && parent.type === 'menu',\n stickIfOpen: parent.type === undefined ? stickIfOpen : false\n });\n const dismiss = useDismiss(floatingRootContext, {\n enabled: !disabled,\n bubbles: closeParentOnEsc && parent.type === 'menu',\n outsidePress() {\n if (parent.type !== 'context-menu' || openEventRef.current?.type === 'contextmenu') {\n return true;\n }\n return allowOutsidePressDismissalRef.current;\n }\n });\n const role = useRole(floatingRootContext, {\n role: 'menu'\n });\n const direction = useDirection();\n const listNavigation = useListNavigation(floatingRootContext, {\n enabled: !disabled,\n listRef: itemDomElements,\n activeIndex,\n nested: parent.type !== undefined,\n loop,\n orientation,\n parentOrientation: parent.type === 'menubar' ? parent.context.orientation : undefined,\n rtl: direction === 'rtl',\n disabledIndices: EMPTY_ARRAY,\n onNavigate: setActiveIndex,\n openOnArrowKeyDown: parent.type !== 'context-menu'\n });\n const typingRef = React.useRef(false);\n const onTypingChange = React.useCallback(nextTyping => {\n typingRef.current = nextTyping;\n }, []);\n const typeahead = useTypeahead(floatingRootContext, {\n listRef: itemLabels,\n activeIndex,\n resetMs: TYPEAHEAD_RESET_MS,\n onMatch: index => {\n if (open && index !== activeIndex) {\n setActiveIndex(index);\n }\n },\n onTypingChange\n });\n const {\n getReferenceProps,\n getFloatingProps,\n getItemProps\n } = useInteractions([hover, click, dismiss, focus, role, listNavigation, typeahead]);\n const mixedToggleHandlers = useMixedToggleClickHandler({\n open,\n enabled: parent.type === 'menubar',\n mouseDownAction: 'open'\n });\n const triggerProps = React.useMemo(() => {\n const referenceProps = mergeProps(getReferenceProps(), {\n onMouseEnter() {\n setHoverEnabled(true);\n },\n onMouseMove() {\n setAllowMouseEnter(true);\n }\n }, interactionTypeProps, mixedToggleHandlers);\n delete referenceProps.role;\n return referenceProps;\n }, [getReferenceProps, mixedToggleHandlers, setAllowMouseEnter, interactionTypeProps]);\n const popupProps = React.useMemo(() => getFloatingProps({\n onMouseEnter() {\n if (!openOnHover || parent.type === 'menu') {\n setHoverEnabled(false);\n }\n },\n onMouseMove() {\n setAllowMouseEnter(true);\n },\n onClick() {\n if (openOnHover) {\n setHoverEnabled(false);\n }\n }\n }), [getFloatingProps, openOnHover, parent.type, setAllowMouseEnter]);\n const itemProps = React.useMemo(() => getItemProps(), [getItemProps]);\n const context = React.useMemo(() => ({\n activeIndex,\n setActiveIndex,\n allowMouseUpTriggerRef: parent.type ? parent.context.allowMouseUpTriggerRef : EMPTY_REF,\n floatingRootContext,\n itemProps,\n popupProps,\n triggerProps,\n itemDomElements,\n itemLabels,\n mounted,\n open,\n popupRef,\n positionerRef,\n setOpen,\n setPositionerElement,\n triggerElement,\n setTriggerElement,\n transitionStatus,\n lastOpenChangeReason,\n instantType,\n onOpenChangeComplete,\n setHoverEnabled,\n typingRef,\n modal,\n disabled,\n parent,\n rootId,\n allowMouseEnter,\n setAllowMouseEnter\n }), [activeIndex, floatingRootContext, itemProps, popupProps, triggerProps, itemDomElements, itemLabels, mounted, open, positionerRef, setOpen, transitionStatus, triggerElement, setPositionerElement, lastOpenChangeReason, instantType, onOpenChangeComplete, modal, disabled, parent, rootId, allowMouseEnter, setAllowMouseEnter]);\n const content = /*#__PURE__*/_jsx(MenuRootContext.Provider, {\n value: context,\n children: children\n });\n if (parent.type === undefined || parent.type === 'context-menu') {\n // set up a FloatingTree to provide the context to nested menus\n return /*#__PURE__*/_jsx(FloatingTree, {\n children: content\n });\n }\n return content;\n};","'use client';\n\nimport * as React from 'react';\nimport { useEventCallback } from '@base-ui-components/utils/useEventCallback';\nimport { useEnhancedClickHandler } from '@base-ui-components/utils/useEnhancedClickHandler';\n\n/**\n * Determines the interaction type (keyboard, mouse, touch, etc.) that opened the component.\n *\n * @param open The open state of the component.\n */\nexport function useOpenInteractionType(open) {\n const [openMethod, setOpenMethod] = React.useState(null);\n const handleTriggerClick = useEventCallback((_, interactionType) => {\n if (!open) {\n setOpenMethod(interactionType);\n }\n });\n const reset = useEventCallback(() => {\n setOpenMethod(null);\n });\n const {\n onClick,\n onPointerDown\n } = useEnhancedClickHandler(handleTriggerClick);\n return React.useMemo(() => ({\n openMethod,\n reset,\n triggerProps: {\n onClick,\n onPointerDown\n }\n }), [openMethod, reset, onClick, onPointerDown]);\n}","import * as React from 'react';\n/**\n * Provides a cross-browser way to determine the type of the pointer used to click.\n * Safari and Firefox do not provide the PointerEvent to the click handler (they use MouseEvent) yet.\n * Additionally, this implementation detects if the click was triggered by the keyboard.\n *\n * @param handler The function to be called when the button is clicked. The first parameter is the original event and the second parameter is the pointer type.\n */\nexport function useEnhancedClickHandler(handler) {\n const lastClickInteractionTypeRef = React.useRef('');\n const handlePointerDown = React.useCallback(event => {\n if (event.defaultPrevented) {\n return;\n }\n lastClickInteractionTypeRef.current = event.pointerType;\n handler(event, event.pointerType);\n }, [handler]);\n const handleClick = React.useCallback(event => {\n // event.detail has the number of clicks performed on the element. 0 means it was triggered by the keyboard.\n if (event.detail === 0) {\n handler(event, 'keyboard');\n return;\n }\n if ('pointerType' in event) {\n // Chrome and Edge correctly use PointerEvent\n handler(event, event.pointerType);\n }\n handler(event, lastClickInteractionTypeRef.current);\n lastClickInteractionTypeRef.current = '';\n }, [handler]);\n return {\n onClick: handleClick,\n onPointerDown: handlePointerDown\n };\n}","'use client';\n\nimport * as React from 'react';\nimport { useAnimationFrame } from '@base-ui-components/utils/useAnimationFrame';\nimport { EMPTY_OBJECT } from \"../../utils/constants.js\";\nimport { isMouseLikePointerType } from \"../utils.js\";\n/**\n * Opens or closes the floating element when clicking the reference element.\n * @see https://floating-ui.com/docs/useClick\n */\nexport function useClick(context, props = {}) {\n const {\n open,\n onOpenChange,\n dataRef\n } = context;\n const {\n enabled = true,\n event: eventOption = 'click',\n toggle = true,\n ignoreMouse = false,\n stickIfOpen = true\n } = props;\n const pointerTypeRef = React.useRef(undefined);\n const frame = useAnimationFrame();\n const reference = React.useMemo(() => ({\n onPointerDown(event) {\n pointerTypeRef.current = event.pointerType;\n },\n onMouseDown(event) {\n const pointerType = pointerTypeRef.current;\n const nativeEvent = event.nativeEvent;\n\n // Ignore all buttons except for the \"main\" button.\n // https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/button\n if (event.button !== 0 || eventOption === 'click' || isMouseLikePointerType(pointerType, true) && ignoreMouse) {\n return;\n }\n const openEvent = dataRef.current.openEvent;\n const openEventType = openEvent?.type;\n const nextOpen = !(open && toggle && (openEvent && stickIfOpen ? openEventType === 'click' || openEventType === 'mousedown' : true));\n // Wait until focus is set on the element. This is an alternative to\n // `event.preventDefault()` to avoid :focus-visible from appearing when using a pointer.\n frame.request(() => {\n onOpenChange(nextOpen, nativeEvent, 'click');\n });\n },\n onClick(event) {\n const pointerType = pointerTypeRef.current;\n if (eventOption === 'mousedown' && pointerType) {\n pointerTypeRef.current = undefined;\n return;\n }\n if (isMouseLikePointerType(pointerType, true) && ignoreMouse) {\n return;\n }\n const openEvent = dataRef.current.openEvent;\n const openEventType = openEvent?.type;\n const nextOpen = !(open && toggle && (openEvent && stickIfOpen ? openEventType === 'click' || openEventType === 'mousedown' || openEventType === 'keydown' || openEventType === 'keyup' : true));\n onOpenChange(nextOpen, event.nativeEvent, 'click');\n },\n onKeyDown() {\n pointerTypeRef.current = undefined;\n }\n }), [dataRef, eventOption, ignoreMouse, onOpenChange, open, stickIfOpen, toggle, frame]);\n return React.useMemo(() => enabled ? {\n reference\n } : EMPTY_OBJECT, [enabled, reference]);\n}","import * as React from 'react';\nimport { useLatestRef } from '@base-ui-components/utils/useLatestRef';\nimport { useEventCallback } from '@base-ui-components/utils/useEventCallback';\nimport { useIsoLayoutEffect } from '@base-ui-components/utils/useIsoLayoutEffect';\nimport { useTimeout } from '@base-ui-components/utils/useTimeout';\nimport { stopEvent } from \"../utils.js\";\n/**\n * Provides a matching callback that can be used to focus an item as the user\n * types, often used in tandem with `useListNavigation()`.\n * @see https://floating-ui.com/docs/useTypeahead\n */\nexport function useTypeahead(context, props) {\n const {\n open,\n dataRef\n } = context;\n const {\n listRef,\n activeIndex,\n onMatch: onMatchProp,\n onTypingChange: onTypingChangeProp,\n enabled = true,\n findMatch = null,\n resetMs = 750,\n ignoreKeys = [],\n selectedIndex = null\n } = props;\n const timeout = useTimeout();\n const stringRef = React.useRef('');\n const prevIndexRef = React.useRef(selectedIndex ?? activeIndex ?? -1);\n const matchIndexRef = React.useRef(null);\n const onMatch = useEventCallback(onMatchProp);\n const onTypingChange = useEventCallback(onTypingChangeProp);\n const findMatchRef = useLatestRef(findMatch);\n const ignoreKeysRef = useLatestRef(ignoreKeys);\n useIsoLayoutEffect(() => {\n if (open) {\n timeout.clear();\n matchIndexRef.current = null;\n stringRef.current = '';\n }\n }, [open, timeout]);\n useIsoLayoutEffect(() => {\n // Sync arrow key navigation but not typeahead navigation.\n if (open && stringRef.current === '') {\n prevIndexRef.current = selectedIndex ?? activeIndex ?? -1;\n }\n }, [open, selectedIndex, activeIndex]);\n const setTypingChange = useEventCallback(value => {\n if (value) {\n if (!dataRef.current.typing) {\n dataRef.current.typing = value;\n onTypingChange(value);\n }\n } else if (dataRef.current.typing) {\n dataRef.current.typing = value;\n onTypingChange(value);\n }\n });\n const onKeyDown = useEventCallback(event => {\n function getMatchingIndex(list, orderedList, string) {\n const str = findMatchRef.current ? findMatchRef.current(orderedList, string) : orderedList.find(text => text?.toLocaleLowerCase().indexOf(string.toLocaleLowerCase()) === 0);\n return str ? list.indexOf(str) : -1;\n }\n const listContent = listRef.current;\n if (stringRef.current.length > 0 && stringRef.current[0] !== ' ') {\n if (getMatchingIndex(listContent, listContent, stringRef.current) === -1) {\n setTypingChange(false);\n } else if (event.key === ' ') {\n stopEvent(event);\n }\n }\n if (listContent == null || ignoreKeysRef.current.includes(event.key) ||\n // Character key.\n event.key.length !== 1 ||\n // Modifier key.\n event.ctrlKey || event.metaKey || event.altKey) {\n return;\n }\n if (open && event.key !== ' ') {\n stopEvent(event);\n setTypingChange(true);\n }\n\n // Bail out if the list contains a word like \"llama\" or \"aaron\". TODO:\n // allow it in this case, too.\n const allowRapidSuccessionOfFirstLetter = listContent.every(text => text ? text[0]?.toLocaleLowerCase() !== text[1]?.toLocaleLowerCase() : true);\n\n // Allows the user to cycle through items that start with the same letter\n // in rapid succession.\n if (allowRapidSuccessionOfFirstLetter && stringRef.current === event.key) {\n stringRef.current = '';\n prevIndexRef.current = matchIndexRef.current;\n }\n stringRef.current += event.key;\n timeout.start(resetMs, () => {\n stringRef.current = '';\n prevIndexRef.current = matchIndexRef.current;\n setTypingChange(false);\n });\n const prevIndex = prevIndexRef.current;\n const index = getMatchingIndex(listContent, [...listContent.slice((prevIndex || 0) + 1), ...listContent.slice(0, (prevIndex || 0) + 1)], stringRef.current);\n if (index !== -1) {\n onMatch(index);\n matchIndexRef.current = index;\n } else if (event.key !== ' ') {\n stringRef.current = '';\n setTypingChange(false);\n }\n });\n const reference = React.useMemo(() => ({\n onKeyDown\n }), [onKeyDown]);\n const floating = React.useMemo(() => {\n return {\n onKeyDown,\n onKeyUp(event) {\n if (event.key === ' ') {\n setTypingChange(false);\n }\n }\n };\n }, [onKeyDown, setTypingChange]);\n return React.useMemo(() => enabled ? {\n reference,\n floating\n } : {}, [enabled, reference, floating]);\n}","import * as React from 'react';\nimport { ownerDocument } from '@base-ui-components/utils/owner';\nimport { EMPTY_OBJECT } from \"./constants.js\";\n\n/**\n * Returns `click` and `mousedown` handlers that fix the behavior of triggers of popups that are toggled by different events.\n * For example, a button that opens a popup on mousedown and closes it on click.\n * This hook prevents the popup from closing immediately after the mouse button is released.\n */\nexport function useMixedToggleClickHandler(params) {\n const {\n enabled = true,\n mouseDownAction,\n open\n } = params;\n const ignoreClickRef = React.useRef(false);\n return React.useMemo(() => {\n if (!enabled) {\n return EMPTY_OBJECT;\n }\n return {\n onMouseDown: event => {\n if (mouseDownAction === 'open' && !open || mouseDownAction === 'close' && open) {\n ignoreClickRef.current = true;\n ownerDocument(event.currentTarget).addEventListener('click', () => {\n ignoreClickRef.current = false;\n }, {\n once: true\n });\n }\n },\n onClick: event => {\n if (ignoreClickRef.current) {\n ignoreClickRef.current = false;\n event.preventBaseUIHandler();\n }\n }\n };\n }, [enabled, mouseDownAction, open]);\n}","import { useRefWithInit } from \"./useRefWithInit.js\";\n\n/**\n * Merges refs into a single memoized callback ref or `null`.\n * This makes sure multiple refs are updated together and have the same value.\n *\n * This function accepts up to four refs. If you need to merge more, or have an unspecified number of refs to merge,\n * use `useMergedRefsN` instead.\n */\n\nexport function useMergedRefs(a, b, c, d) {\n const forkRef = useRefWithInit(createForkRef).current;\n if (didChange(forkRef, a, b, c, d)) {\n update(forkRef, [a, b, c, d]);\n }\n return forkRef.callback;\n}\n\n/**\n * Merges an array of refs into a single memoized callback ref or `null`.\n *\n * If you need to merge a fixed number (up to four) of refs, use `useMergedRefs` instead for better performance.\n */\nexport function useMergedRefsN(refs) {\n const forkRef = useRefWithInit(createForkRef).current;\n if (didChangeN(forkRef, refs)) {\n update(forkRef, refs);\n }\n return forkRef.callback;\n}\nfunction createForkRef() {\n return {\n callback: null,\n cleanup: null,\n refs: []\n };\n}\nfunction didChange(forkRef, a, b, c, d) {\n // prettier-ignore\n return forkRef.refs[0] !== a || forkRef.refs[1] !== b || forkRef.refs[2] !== c || forkRef.refs[3] !== d;\n}\nfunction didChangeN(forkRef, newRefs) {\n return forkRef.refs.length !== newRefs.length || forkRef.refs.some((ref, index) => ref !== newRefs[index]);\n}\nfunction update(forkRef, refs) {\n forkRef.refs = refs;\n if (refs.every(ref => ref == null)) {\n forkRef.callback = null;\n return;\n }\n forkRef.callback = instance => {\n if (forkRef.cleanup) {\n forkRef.cleanup();\n forkRef.cleanup = null;\n }\n if (instance != null) {\n const cleanupCallbacks = Array(refs.length).fill(null);\n for (let i = 0; i < refs.length; i += 1) {\n const ref = refs[i];\n if (ref == null) {\n continue;\n }\n switch (typeof ref) {\n case 'function':\n {\n const refCleanup = ref(instance);\n if (typeof refCleanup === 'function') {\n cleanupCallbacks[i] = refCleanup;\n }\n break;\n }\n case 'object':\n {\n ref.current = instance;\n break;\n }\n default:\n }\n }\n forkRef.cleanup = () => {\n for (let i = 0; i < refs.length; i += 1) {\n const ref = refs[i];\n if (ref == null) {\n continue;\n }\n switch (typeof ref) {\n case 'function':\n {\n const cleanupCallback = cleanupCallbacks[i];\n if (typeof cleanupCallback === 'function') {\n cleanupCallback();\n } else {\n ref(null);\n }\n break;\n }\n case 'object':\n {\n ref.current = null;\n break;\n }\n default:\n }\n }\n };\n }\n };\n}","import * as React from 'react';\nconst majorVersion = parseInt(React.version, 10);\nexport function isReactVersionAtLeast(reactVersionToCheck) {\n return majorVersion >= reactVersionToCheck;\n}","import * as React from 'react';\nimport { useMergedRefs, useMergedRefsN } from '@base-ui-components/utils/useMergedRefs';\nimport { isReactVersionAtLeast } from '@base-ui-components/utils/reactVersion';\nimport { mergeObjects } from '@base-ui-components/utils/mergeObjects';\nimport { getStyleHookProps } from \"./getStyleHookProps.js\";\nimport { resolveClassName } from \"./resolveClassName.js\";\nimport { mergeProps, mergePropsN, mergeClassNames } from \"../merge-props/index.js\";\nimport { EMPTY_OBJECT } from \"./constants.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\n/**\n * Renders a Base UI element.\n *\n * @param element The default HTML element to render. Can be overridden by the `render` prop.\n * @param componentProps An object containing the `render` and `className` props to be used for element customization. Other props are ignored.\n * @param params Additional parameters for rendering the element.\n */\nexport function useRenderElement(element, componentProps, params = {}) {\n const renderProp = componentProps.render;\n const outProps = useRenderElementProps(componentProps, params);\n if (params.enabled === false) {\n return null;\n }\n const state = params.state ?? EMPTY_OBJECT;\n return evaluateRenderProp(element, renderProp, outProps, state);\n}\n\n/**\n * Computes render element final props.\n */\nfunction useRenderElementProps(componentProps, params = {}) {\n const {\n className: classNameProp,\n render: renderProp\n } = componentProps;\n const {\n state = EMPTY_OBJECT,\n ref,\n props,\n disableStyleHooks,\n customStyleHookMapping,\n enabled = true\n } = params;\n const className = enabled ? resolveClassName(classNameProp, state) : undefined;\n let styleHooks;\n if (disableStyleHooks !== true) {\n // SAFETY: We use typings to ensure `disableStyleHooks` is either always set or\n // always unset, so this `if` block is stable across renders.\n /* eslint-disable-next-line react-hooks/rules-of-hooks */\n styleHooks = React.useMemo(() => enabled ? getStyleHookProps(state, customStyleHookMapping) : EMPTY_OBJECT, [state, customStyleHookMapping, enabled]);\n }\n const outProps = enabled ? mergeObjects(styleHooks, Array.isArray(props) ? mergePropsN(props) : props) ?? EMPTY_OBJECT : EMPTY_OBJECT;\n\n // SAFETY: The `useMergedRefs` functions use a single hook to store the same value,\n // switching between them at runtime is safe. If this assertion fails, React will\n // throw at runtime anyway.\n // This also skips the `useMergedRefs` call on the server, which is fine because\n // refs are not used on the server side.\n /* eslint-disable react-hooks/rules-of-hooks */\n if (typeof document !== 'undefined') {\n if (!enabled) {\n useMergedRefs(null, null);\n } else if (Array.isArray(ref)) {\n outProps.ref = useMergedRefsN([outProps.ref, getChildRef(renderProp), ...ref]);\n } else {\n outProps.ref = useMergedRefs(outProps.ref, getChildRef(renderProp), ref);\n }\n }\n if (!enabled) {\n return EMPTY_OBJECT;\n }\n if (className !== undefined) {\n outProps.className = mergeClassNames(outProps.className, className);\n }\n return outProps;\n}\nfunction evaluateRenderProp(element, render, props, state) {\n if (render) {\n if (typeof render === 'function') {\n return render(props, state);\n }\n const mergedProps = mergeProps(props, render.props);\n mergedProps.ref = props.ref;\n return /*#__PURE__*/React.cloneElement(render, mergedProps);\n }\n if (element) {\n if (typeof element === 'string') {\n return renderTag(element, props);\n }\n }\n // Unreachable, but the typings on `useRenderElement` need to be reworked\n // to annotate it correctly.\n throw new Error('Base UI: Render element or function are not defined.');\n}\nfunction renderTag(Tag, props) {\n if (Tag === 'button') {\n return /*#__PURE__*/_jsx(\"button\", {\n type: \"button\",\n ...props\n });\n }\n if (Tag === 'img') {\n return /*#__PURE__*/_jsx(\"img\", {\n alt: \"\",\n ...props\n });\n }\n return /*#__PURE__*/React.createElement(Tag, props);\n}\nfunction getChildRef(render) {\n if (render && typeof render !== 'function') {\n return isReactVersionAtLeast(19) ? render.props.ref : render.ref;\n }\n return null;\n}","/**\n * If the provided className is a string, it will be returned as is.\n * Otherwise, the function will call the className function with the state as the first argument.\n *\n * @param className\n * @param state\n */\nexport function resolveClassName(className, state) {\n return typeof className === 'function' ? className(state) : className;\n}","export function getStyleHookProps(state, customMapping) {\n const props = {};\n\n /* eslint-disable-next-line guard-for-in */\n for (const key in state) {\n const value = state[key];\n if (customMapping?.hasOwnProperty(key)) {\n const customProps = customMapping[key](value);\n if (customProps != null) {\n Object.assign(props, customProps);\n }\n continue;\n }\n if (value === true) {\n props[`data-${key.toLowerCase()}`] = '';\n } else if (value) {\n props[`data-${key.toLowerCase()}`] = value.toString();\n }\n }\n return props;\n}","'use client';\n\nimport * as React from 'react';\nexport const CompositeRootContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") CompositeRootContext.displayName = \"CompositeRootContext\";\nexport function useCompositeRootContext(optional = false) {\n const context = React.useContext(CompositeRootContext);\n if (context === undefined && !optional) {\n throw new Error('Base UI: CompositeRootContext is missing. Composite parts must be placed within <Composite.Root>.');\n }\n return context;\n}","'use client';\n\nimport * as React from 'react';\nimport { useEventCallback } from '@base-ui-components/utils/useEventCallback';\nimport { error } from '@base-ui-components/utils/error';\nimport { useIsoLayoutEffect } from '@base-ui-components/utils/useIsoLayoutEffect';\nimport { makeEventPreventable, mergeProps } from \"../merge-props/index.js\";\nimport { useCompositeRootContext } from \"../composite/root/CompositeRootContext.js\";\nimport { useFocusableWhenDisabled } from \"../utils/useFocusableWhenDisabled.js\";\nexport function useButton(parameters = {}) {\n const {\n disabled = false,\n focusableWhenDisabled,\n tabIndex = 0,\n native: isNativeButton = true\n } = parameters;\n const buttonRef = React.useRef(null);\n const isCompositeItem = useCompositeRootContext(true) !== undefined;\n const isValidLink = useEventCallback(() => {\n const element = buttonRef.current;\n return Boolean(element?.tagName === 'A' && element?.href);\n });\n const {\n props: focusableWhenDisabledProps\n } = useFocusableWhenDisabled({\n focusableWhenDisabled,\n disabled,\n composite: isCompositeItem,\n tabIndex,\n isNativeButton\n });\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useEffect(() => {\n if (!buttonRef.current) {\n return;\n }\n const isButtonTag = buttonRef.current.tagName === 'BUTTON';\n if (isNativeButton) {\n if (!isButtonTag) {\n error('A component that acts as a button was not rendered as a native <button>, which does not match the default. Ensure that the element passed to the `render` prop of the component is a real <button>, or set the `nativeButton` prop on the component to `false`.');\n }\n } else if (isButtonTag) {\n error('A component that acts as a button was rendered as a native <button>, which does not match the default. Ensure that the element passed to the `render` prop of the component is not a real <button>, or set the `nativeButton` prop on the component to `true`.');\n }\n }, [isNativeButton]);\n }\n\n // handles a disabled composite button rendering another button, e.g.\n // <Toolbar.Button disabled render={<Menu.Trigger />} />\n // the `disabled` prop needs to pass through 2 `useButton`s then finally\n // delete the `disabled` attribute from DOM\n useIsoLayoutEffect(() => {\n const element = buttonRef.current;\n if (!(element instanceof HTMLButtonElement)) {\n return;\n }\n if (isCompositeItem && disabled && focusableWhenDisabledProps.disabled === undefined && element.disabled) {\n element.disabled = false;\n }\n }, [disabled, focusableWhenDisabledProps.disabled, isCompositeItem]);\n const getButtonProps = React.useCallback((externalProps = {}) => {\n const {\n onClick: externalOnClick,\n onMouseDown: externalOnMouseDown,\n onKeyUp: externalOnKeyUp,\n onKeyDown: externalOnKeyDown,\n onPointerDown: externalOnPointerDown,\n ...otherExternalProps\n } = externalProps;\n const type = isNativeButton ? 'button' : undefined;\n return mergeProps({\n type,\n onClick(event) {\n if (disabled) {\n event.preventDefault();\n return;\n }\n externalOnClick?.(event);\n },\n onMouseDown(event) {\n if (!disabled) {\n externalOnMouseDown?.(event);\n }\n },\n onKeyDown(event) {\n if (!disabled) {\n makeEventPreventable(event);\n externalOnKeyDown?.(event);\n }\n if (event.baseUIHandlerPrevented) {\n return;\n }\n const shouldClick = event.target === event.currentTarget && !isNativeButton && !isValidLink() && !disabled;\n const isEnterKey = event.key === 'Enter';\n const isSpaceKey = event.key === ' ';\n\n // Keyboard accessibility for non interactive elements\n if (shouldClick) {\n if (isSpaceKey || isEnterKey) {\n event.preventDefault();\n }\n if (isEnterKey) {\n externalOnClick?.(event);\n }\n }\n },\n onKeyUp(event) {\n // calling preventDefault in keyUp on a <button> will not dispatch a click event if Space is pressed\n // https://codesandbox.io/p/sandbox/button-keyup-preventdefault-dn7f0\n // Keyboard accessibility for non interactive elements\n if (!disabled) {\n makeEventPreventable(event);\n externalOnKeyUp?.(event);\n }\n if (event.baseUIHandlerPrevented) {\n return;\n }\n if (event.target === event.currentTarget && !isNativeButton && !disabled && event.key === ' ') {\n externalOnClick?.(event);\n }\n },\n onPointerDown(event) {\n if (disabled) {\n event.preventDefault();\n return;\n }\n externalOnPointerDown?.(event);\n }\n }, !isNativeButton ? {\n role: 'button'\n } : undefined, focusableWhenDisabledProps, otherExternalProps);\n }, [disabled, focusableWhenDisabledProps, isNativeButton, isValidLink]);\n return {\n getButtonProps,\n buttonRef\n };\n}","'use client';\n\nimport * as React from 'react';\nexport function useFocusableWhenDisabled(parameters) {\n const {\n focusableWhenDisabled,\n disabled,\n composite = false,\n tabIndex: tabIndexProp = 0,\n isNativeButton\n } = parameters;\n const isFocusableComposite = composite && focusableWhenDisabled !== false;\n const isNonFocusableComposite = composite && focusableWhenDisabled === false;\n\n // we can't explicitly assign `undefined` to any of these props because it\n // would otherwise prevent subsequently merged props from setting them\n const props = React.useMemo(() => {\n const additionalProps = {\n // allow Tabbing away from focusableWhenDisabled elements\n onKeyDown(event) {\n if (disabled && focusableWhenDisabled && event.key !== 'Tab') {\n event.preventDefault();\n }\n }\n };\n if (!composite) {\n additionalProps.tabIndex = tabIndexProp;\n if (!isNativeButton && disabled) {\n additionalProps.tabIndex = focusableWhenDisabled ? tabIndexProp : -1;\n }\n }\n if (isNativeButton && (focusableWhenDisabled || isFocusableComposite) || !isNativeButton && disabled) {\n additionalProps['aria-disabled'] = disabled;\n }\n if (isNativeButton && (!focusableWhenDisabled || isNonFocusableComposite)) {\n additionalProps.disabled = disabled;\n }\n return additionalProps;\n }, [composite, disabled, focusableWhenDisabled, isFocusableComposite, isNonFocusableComposite, isNativeButton, tabIndexProp]);\n return {\n props\n };\n}","'use client';\n\nimport * as React from 'react';\nexport const CompositeListContext = /*#__PURE__*/React.createContext({\n register: () => {},\n unregister: () => {},\n subscribeMapChange: () => {\n return () => {};\n },\n elementsRef: {\n current: []\n },\n nextIndexRef: {\n current: 0\n }\n});\nif (process.env.NODE_ENV !== \"production\") CompositeListContext.displayName = \"CompositeListContext\";\nexport function useCompositeListContext() {\n return React.useContext(CompositeListContext);\n}","'use client';\n\nimport { useRenderElement } from \"../../utils/useRenderElement.js\";\nimport { useCompositeItem } from \"./useCompositeItem.js\";\nimport { EMPTY_OBJECT, EMPTY_ARRAY } from \"../../utils/constants.js\";\n/**\n * @internal\n */\nexport function CompositeItem(componentProps) {\n const {\n render,\n className,\n state = EMPTY_OBJECT,\n props = EMPTY_ARRAY,\n refs = EMPTY_ARRAY,\n metadata,\n customStyleHookMapping,\n tag = 'div',\n ...elementProps\n } = componentProps;\n const {\n compositeProps,\n compositeRef\n } = useCompositeItem({\n metadata\n });\n return useRenderElement(tag, componentProps, {\n state,\n ref: [...refs, compositeRef],\n props: [compositeProps, ...props, elementProps],\n customStyleHookMapping\n });\n}","'use client';\n\nimport * as React from 'react';\nimport { useMergedRefs } from '@base-ui-components/utils/useMergedRefs';\nimport { useCompositeRootContext } from \"../root/CompositeRootContext.js\";\nimport { useCompositeListItem } from \"../list/useCompositeListItem.js\";\nexport function useCompositeItem(params = {}) {\n const {\n highlightItemOnHover,\n highlightedIndex,\n onHighlightedIndexChange\n } = useCompositeRootContext();\n const {\n ref,\n index\n } = useCompositeListItem(params);\n const isHighlighted = highlightedIndex === index;\n const itemRef = React.useRef(null);\n const mergedRef = useMergedRefs(ref, itemRef);\n const compositeProps = React.useMemo(() => ({\n tabIndex: isHighlighted ? 0 : -1,\n onFocus() {\n onHighlightedIndexChange(index);\n },\n onMouseMove() {\n const item = itemRef.current;\n if (!highlightItemOnHover || !item) {\n return;\n }\n const disabled = item.hasAttribute('disabled') || item.ariaDisabled === 'true';\n if (!isHighlighted && !disabled) {\n item.focus();\n }\n }\n }), [isHighlighted, onHighlightedIndexChange, index, highlightItemOnHover]);\n return {\n compositeProps,\n compositeRef: mergedRef,\n index\n };\n}","'use client';\n\nimport * as React from 'react';\nimport { getParentNode, isHTMLElement, isLastTraversableNode } from '@floating-ui/utils/dom';\nimport { useMergedRefs } from '@base-ui-components/utils/useMergedRefs';\nimport { useTimeout } from '@base-ui-components/utils/useTimeout';\nimport { ownerDocument } from '@base-ui-components/utils/owner';\nimport { useEventCallback } from '@base-ui-components/utils/useEventCallback';\nimport { contains } from \"../../floating-ui-react/utils.js\";\nimport { useFloatingTree } from \"../../floating-ui-react/index.js\";\nimport { useMenuRootContext } from \"../root/MenuRootContext.js\";\nimport { pressableTriggerOpenStateMapping } from \"../../utils/popupStateMapping.js\";\nimport { useRenderElement } from \"../../utils/useRenderElement.js\";\nimport { mergeProps } from \"../../merge-props/index.js\";\nimport { useButton } from \"../../use-button/useButton.js\";\nimport { getPseudoElementBounds } from \"../../utils/getPseudoElementBounds.js\";\nimport { CompositeItem } from \"../../composite/item/CompositeItem.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst BOUNDARY_OFFSET = 2;\n\n/**\n * A button that opens the menu.\n * Renders a `<button>` element.\n *\n * Documentation: [Base UI Menu](https://base-ui.com/react/components/menu)\n */\nexport const MenuTrigger = /*#__PURE__*/React.forwardRef(function MenuTrigger(componentProps, forwardedRef) {\n const {\n render,\n className,\n disabled: disabledProp = false,\n nativeButton = true,\n ...elementProps\n } = componentProps;\n const {\n triggerProps: rootTriggerProps,\n disabled: menuDisabled,\n setTriggerElement,\n open,\n allowMouseUpTriggerRef,\n positionerRef,\n parent,\n lastOpenChangeReason,\n rootId\n } = useMenuRootContext();\n const disabled = disabledProp || menuDisabled;\n const triggerRef = React.useRef(null);\n const allowMouseUpTriggerTimeout = useTimeout();\n const {\n getButtonProps,\n buttonRef\n } = useButton({\n disabled,\n native: nativeButton\n });\n const handleRef = useMergedRefs(buttonRef, setTriggerElement);\n const {\n events: menuEvents\n } = useFloatingTree();\n React.useEffect(() => {\n if (!open && parent.type === undefined) {\n allowMouseUpTriggerRef.current = false;\n }\n }, [allowMouseUpTriggerRef, open, parent.type]);\n const handleDocumentMouseUp = useEventCallback(mouseEvent => {\n if (!triggerRef.current) {\n return;\n }\n allowMouseUpTriggerTimeout.clear();\n allowMouseUpTriggerRef.current = false;\n const mouseUpTarget = mouseEvent.target;\n if (contains(triggerRef.current, mouseUpTarget) || contains(positionerRef.current, mouseUpTarget) || mouseUpTarget === triggerRef.current) {\n return;\n }\n if (mouseUpTarget != null && findRootOwnerId(mouseUpTarget) === rootId) {\n return;\n }\n const bounds = getPseudoElementBounds(triggerRef.current);\n if (mouseEvent.clientX >= bounds.left - BOUNDARY_OFFSET && mouseEvent.clientX <= bounds.right + BOUNDARY_OFFSET && mouseEvent.clientY >= bounds.top - BOUNDARY_OFFSET && mouseEvent.clientY <= bounds.bottom + BOUNDARY_OFFSET) {\n return;\n }\n menuEvents.emit('close', {\n domEvent: mouseEvent,\n reason: 'cancel-open'\n });\n });\n React.useEffect(() => {\n if (open && lastOpenChangeReason === 'trigger-hover') {\n const doc = ownerDocument(triggerRef.current);\n doc.addEventListener('mouseup', handleDocumentMouseUp, {\n once: true\n });\n }\n }, [open, handleDocumentMouseUp, lastOpenChangeReason]);\n const isMenubar = parent.type === 'menubar';\n const getTriggerProps = React.useCallback(externalProps => {\n return mergeProps(isMenubar ? {\n role: 'menuitem'\n } : {}, {\n 'aria-haspopup': 'menu',\n ref: handleRef,\n onMouseDown: event => {\n if (open) {\n return;\n }\n\n // mousedown -> mouseup on menu item should not trigger it within 200ms.\n allowMouseUpTriggerTimeout.start(200, () => {\n allowMouseUpTriggerRef.current = true;\n });\n const doc = ownerDocument(event.currentTarget);\n doc.addEventListener('mouseup', handleDocumentMouseUp, {\n once: true\n });\n }\n }, externalProps, getButtonProps);\n }, [getButtonProps, handleRef, open, allowMouseUpTriggerRef, allowMouseUpTriggerTimeout, handleDocumentMouseUp, isMenubar]);\n const state = React.useMemo(() => ({\n disabled,\n open\n }), [disabled, open]);\n const ref = [triggerRef, forwardedRef, buttonRef];\n const props = [rootTriggerProps, elementProps, getTriggerProps];\n const element = useRenderElement('button', componentProps, {\n enabled: !isMenubar,\n customStyleHookMapping: pressableTriggerOpenStateMapping,\n state,\n ref,\n props\n });\n if (isMenubar) {\n return /*#__PURE__*/_jsx(CompositeItem, {\n tag: \"button\",\n render: render,\n className: className,\n state: state,\n refs: ref,\n props: props,\n customStyleHookMapping: pressableTriggerOpenStateMapping\n });\n }\n return element;\n});\nif (process.env.NODE_ENV !== \"production\") MenuTrigger.displayName = \"MenuTrigger\";\nfunction findRootOwnerId(node) {\n if (isHTMLElement(node) && node.hasAttribute('data-rootownerid')) {\n return node.getAttribute('data-rootownerid') ?? undefined;\n }\n if (isLastTraversableNode(node)) {\n return undefined;\n }\n return findRootOwnerId(getParentNode(node));\n}","export function getPseudoElementBounds(element) {\n const elementRect = element.getBoundingClientRect();\n\n // Avoid \"Not implemented: window.getComputedStyle(elt, pseudoElt)\"\n if (process.env.NODE_ENV === 'test') {\n return elementRect;\n }\n const beforeStyles = window.getComputedStyle(element, '::before');\n const afterStyles = window.getComputedStyle(element, '::after');\n const hasPseudoElements = beforeStyles.content !== 'none' || afterStyles.content !== 'none';\n if (!hasPseudoElements) {\n return elementRect;\n }\n\n // Get dimensions of pseudo-elements\n const beforeWidth = parseFloat(beforeStyles.width) || 0;\n const beforeHeight = parseFloat(beforeStyles.height) || 0;\n const afterWidth = parseFloat(afterStyles.width) || 0;\n const afterHeight = parseFloat(afterStyles.height) || 0;\n\n // Calculate max dimensions including pseudo-elements\n const totalWidth = Math.max(elementRect.width, beforeWidth, afterWidth);\n const totalHeight = Math.max(elementRect.height, beforeHeight, afterHeight);\n\n // Calculate the differences to extend the bounds\n const widthDiff = totalWidth - elementRect.width;\n const heightDiff = totalHeight - elementRect.height;\n return {\n left: elementRect.left - widthDiff / 2,\n right: elementRect.right + widthDiff / 2,\n top: elementRect.top - heightDiff / 2,\n bottom: elementRect.bottom + heightDiff / 2\n };\n}","export const visuallyHidden = {\n clip: 'rect(0 0 0 0)',\n overflow: 'hidden',\n whiteSpace: 'nowrap',\n position: 'fixed',\n top: 0,\n left: 0,\n border: 0,\n padding: 0,\n width: 1,\n height: 1,\n margin: -1\n};","'use client';\n\nimport * as React from 'react';\nimport { useIsoLayoutEffect } from '@base-ui-components/utils/useIsoLayoutEffect';\nimport { isSafari } from '@base-ui-components/utils/detectBrowser';\nimport { visuallyHidden } from '@base-ui-components/utils/visuallyHidden';\n\n/**\n * @internal\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport const FocusGuard = /*#__PURE__*/React.forwardRef(function FocusGuard(props, ref) {\n const [role, setRole] = React.useState();\n useIsoLayoutEffect(() => {\n if (isSafari) {\n // Unlike other screen readers such as NVDA and JAWS, the virtual cursor\n // on VoiceOver does trigger the onFocus event, so we can use the focus\n // trap element. On Safari, only buttons trigger the onFocus event.\n setRole('button');\n }\n }, []);\n const restProps = {\n ref,\n tabIndex: 0,\n // Role is only for VoiceOver\n role,\n 'aria-hidden': role ? undefined : true,\n style: visuallyHidden\n };\n return /*#__PURE__*/_jsx(\"span\", {\n ...props,\n ...restProps,\n \"data-base-ui-focus-guard\": \"\"\n });\n});\nif (process.env.NODE_ENV !== \"production\") FocusGuard.displayName = \"FocusGuard\";","// NOTE: separate `:not()` selectors has broader browser support than the newer\n// `:not([inert], [inert] *)` (Feb 2023)\n// CAREFUL: JSDom does not support `:not([inert] *)` as a selector; using it causes\n// the entire query to fail, resulting in no nodes found, which will break a lot\n// of things... so we have to rely on JS to identify nodes inside an inert container\nconst candidateSelectors = [\n 'input:not([inert])',\n 'select:not([inert])',\n 'textarea:not([inert])',\n 'a[href]:not([inert])',\n 'button:not([inert])',\n '[tabindex]:not(slot):not([inert])',\n 'audio[controls]:not([inert])',\n 'video[controls]:not([inert])',\n '[contenteditable]:not([contenteditable=\"false\"]):not([inert])',\n 'details>summary:first-of-type:not([inert])',\n 'details:not([inert])',\n];\nconst candidateSelector = /* #__PURE__ */ candidateSelectors.join(',');\n\nconst NoElement = typeof Element === 'undefined';\n\nconst matches = NoElement\n ? function () {}\n : Element.prototype.matches ||\n Element.prototype.msMatchesSelector ||\n Element.prototype.webkitMatchesSelector;\n\nconst getRootNode =\n !NoElement && Element.prototype.getRootNode\n ? (element) => element?.getRootNode?.()\n : (element) => element?.ownerDocument;\n\n/**\n * Determines if a node is inert or in an inert ancestor.\n * @param {Element} [node]\n * @param {boolean} [lookUp] If true and `node` is not inert, looks up at ancestors to\n * see if any of them are inert. If false, only `node` itself is considered.\n * @returns {boolean} True if inert itself or by way of being in an inert ancestor.\n * False if `node` is falsy.\n */\nconst isInert = function (node, lookUp = true) {\n // CAREFUL: JSDom does not support inert at all, so we can't use the `HTMLElement.inert`\n // JS API property; we have to check the attribute, which can either be empty or 'true';\n // if it's `null` (not specified) or 'false', it's an active element\n const inertAtt = node?.getAttribute?.('inert');\n const inert = inertAtt === '' || inertAtt === 'true';\n\n // NOTE: this could also be handled with `node.matches('[inert], :is([inert] *)')`\n // if it weren't for `matches()` not being a function on shadow roots; the following\n // code works for any kind of node\n // CAREFUL: JSDom does not appear to support certain selectors like `:not([inert] *)`\n // so it likely would not support `:is([inert] *)` either...\n const result = inert || (lookUp && node && isInert(node.parentNode)); // recursive\n\n return result;\n};\n\n/**\n * Determines if a node's content is editable.\n * @param {Element} [node]\n * @returns True if it's content-editable; false if it's not or `node` is falsy.\n */\nconst isContentEditable = function (node) {\n // CAREFUL: JSDom does not support the `HTMLElement.isContentEditable` API so we have\n // to use the attribute directly to check for this, which can either be empty or 'true';\n // if it's `null` (not specified) or 'false', it's a non-editable element\n const attValue = node?.getAttribute?.('contenteditable');\n return attValue === '' || attValue === 'true';\n};\n\n/**\n * @param {Element} el container to check in\n * @param {boolean} includeContainer add container to check\n * @param {(node: Element) => boolean} filter filter candidates\n * @returns {Element[]}\n */\nconst getCandidates = function (el, includeContainer, filter) {\n // even if `includeContainer=false`, we still have to check it for inertness because\n // if it's inert, all its children are inert\n if (isInert(el)) {\n return [];\n }\n\n let candidates = Array.prototype.slice.apply(\n el.querySelectorAll(candidateSelector)\n );\n if (includeContainer && matches.call(el, candidateSelector)) {\n candidates.unshift(el);\n }\n candidates = candidates.filter(filter);\n return candidates;\n};\n\n/**\n * @callback GetShadowRoot\n * @param {Element} element to check for shadow root\n * @returns {ShadowRoot|boolean} ShadowRoot if available or boolean indicating if a shadowRoot is attached but not available.\n */\n\n/**\n * @callback ShadowRootFilter\n * @param {Element} shadowHostNode the element which contains shadow content\n * @returns {boolean} true if a shadow root could potentially contain valid candidates.\n */\n\n/**\n * @typedef {Object} CandidateScope\n * @property {Element} scopeParent contains inner candidates\n * @property {Element[]} candidates list of candidates found in the scope parent\n */\n\n/**\n * @typedef {Object} IterativeOptions\n * @property {GetShadowRoot|boolean} getShadowRoot true if shadow support is enabled; falsy if not;\n * if a function, implies shadow support is enabled and either returns the shadow root of an element\n * or a boolean stating if it has an undisclosed shadow root\n * @property {(node: Element) => boolean} filter filter candidates\n * @property {boolean} flatten if true then result will flatten any CandidateScope into the returned list\n * @property {ShadowRootFilter} shadowRootFilter filter shadow roots;\n */\n\n/**\n * @param {Element[]} elements list of element containers to match candidates from\n * @param {boolean} includeContainer add container list to check\n * @param {IterativeOptions} options\n * @returns {Array.<Element|CandidateScope>}\n */\nconst getCandidatesIteratively = function (\n elements,\n includeContainer,\n options\n) {\n const candidates = [];\n const elementsToCheck = Array.from(elements);\n while (elementsToCheck.length) {\n const element = elementsToCheck.shift();\n if (isInert(element, false)) {\n // no need to look up since we're drilling down\n // anything inside this container will also be inert\n continue;\n }\n\n if (element.tagName === 'SLOT') {\n // add shadow dom slot scope (slot itself cannot be focusable)\n const assigned = element.assignedElements();\n const content = assigned.length ? assigned : element.children;\n const nestedCandidates = getCandidatesIteratively(content, true, options);\n if (options.flatten) {\n candidates.push(...nestedCandidates);\n } else {\n candidates.push({\n scopeParent: element,\n candidates: nestedCandidates,\n });\n }\n } else {\n // check candidate element\n const validCandidate = matches.call(element, candidateSelector);\n if (\n validCandidate &&\n options.filter(element) &&\n (includeContainer || !elements.includes(element))\n ) {\n candidates.push(element);\n }\n\n // iterate over shadow content if possible\n const shadowRoot =\n element.shadowRoot ||\n // check for an undisclosed shadow\n (typeof options.getShadowRoot === 'function' &&\n options.getShadowRoot(element));\n\n // no inert look up because we're already drilling down and checking for inertness\n // on the way down, so all containers to this root node should have already been\n // vetted as non-inert\n const validShadowRoot =\n !isInert(shadowRoot, false) &&\n (!options.shadowRootFilter || options.shadowRootFilter(element));\n\n if (shadowRoot && validShadowRoot) {\n // add shadow dom scope IIF a shadow root node was given; otherwise, an undisclosed\n // shadow exists, so look at light dom children as fallback BUT create a scope for any\n // child candidates found because they're likely slotted elements (elements that are\n // children of the web component element (which has the shadow), in the light dom, but\n // slotted somewhere _inside_ the undisclosed shadow) -- the scope is created below,\n // _after_ we return from this recursive call\n const nestedCandidates = getCandidatesIteratively(\n shadowRoot === true ? element.children : shadowRoot.children,\n true,\n options\n );\n\n if (options.flatten) {\n candidates.push(...nestedCandidates);\n } else {\n candidates.push({\n scopeParent: element,\n candidates: nestedCandidates,\n });\n }\n } else {\n // there's not shadow so just dig into the element's (light dom) children\n // __without__ giving the element special scope treatment\n elementsToCheck.unshift(...element.children);\n }\n }\n }\n return candidates;\n};\n\n/**\n * @private\n * Determines if the node has an explicitly specified `tabindex` attribute.\n * @param {HTMLElement} node\n * @returns {boolean} True if so; false if not.\n */\nconst hasTabIndex = function (node) {\n return !isNaN(parseInt(node.getAttribute('tabindex'), 10));\n};\n\n/**\n * Determine the tab index of a given node.\n * @param {HTMLElement} node\n * @returns {number} Tab order (negative, 0, or positive number).\n * @throws {Error} If `node` is falsy.\n */\nconst getTabIndex = function (node) {\n if (!node) {\n throw new Error('No node provided');\n }\n\n if (node.tabIndex < 0) {\n // in Chrome, <details/>, <audio controls/> and <video controls/> elements get a default\n // `tabIndex` of -1 when the 'tabindex' attribute isn't specified in the DOM,\n // yet they are still part of the regular tab order; in FF, they get a default\n // `tabIndex` of 0; since Chrome still puts those elements in the regular tab\n // order, consider their tab index to be 0.\n // Also browsers do not return `tabIndex` correctly for contentEditable nodes;\n // so if they don't have a tabindex attribute specifically set, assume it's 0.\n if (\n (/^(AUDIO|VIDEO|DETAILS)$/.test(node.tagName) ||\n isContentEditable(node)) &&\n !hasTabIndex(node)\n ) {\n return 0;\n }\n }\n\n return node.tabIndex;\n};\n\n/**\n * Determine the tab index of a given node __for sort order purposes__.\n * @param {HTMLElement} node\n * @param {boolean} [isScope] True for a custom element with shadow root or slot that, by default,\n * has tabIndex -1, but needs to be sorted by document order in order for its content to be\n * inserted into the correct sort position.\n * @returns {number} Tab order (negative, 0, or positive number).\n */\nconst getSortOrderTabIndex = function (node, isScope) {\n const tabIndex = getTabIndex(node);\n\n if (tabIndex < 0 && isScope && !hasTabIndex(node)) {\n return 0;\n }\n\n return tabIndex;\n};\n\nconst sortOrderedTabbables = function (a, b) {\n return a.tabIndex === b.tabIndex\n ? a.documentOrder - b.documentOrder\n : a.tabIndex - b.tabIndex;\n};\n\nconst isInput = function (node) {\n return node.tagName === 'INPUT';\n};\n\nconst isHiddenInput = function (node) {\n return isInput(node) && node.type === 'hidden';\n};\n\nconst isDetailsWithSummary = function (node) {\n const r =\n node.tagName === 'DETAILS' &&\n Array.prototype.slice\n .apply(node.children)\n .some((child) => child.tagName === 'SUMMARY');\n return r;\n};\n\nconst getCheckedRadio = function (nodes, form) {\n for (let i = 0; i < nodes.length; i++) {\n if (nodes[i].checked && nodes[i].form === form) {\n return nodes[i];\n }\n }\n};\n\nconst isTabbableRadio = function (node) {\n if (!node.name) {\n return true;\n }\n const radioScope = node.form || getRootNode(node);\n const queryRadios = function (name) {\n return radioScope.querySelectorAll(\n 'input[type=\"radio\"][name=\"' + name + '\"]'\n );\n };\n\n let radioSet;\n if (\n typeof window !== 'undefined' &&\n typeof window.CSS !== 'undefined' &&\n typeof window.CSS.escape === 'function'\n ) {\n radioSet = queryRadios(window.CSS.escape(node.name));\n } else {\n try {\n radioSet = queryRadios(node.name);\n } catch (err) {\n // eslint-disable-next-line no-console\n console.error(\n 'Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s',\n err.message\n );\n return false;\n }\n }\n\n const checked = getCheckedRadio(radioSet, node.form);\n return !checked || checked === node;\n};\n\nconst isRadio = function (node) {\n return isInput(node) && node.type === 'radio';\n};\n\nconst isNonTabbableRadio = function (node) {\n return isRadio(node) && !isTabbableRadio(node);\n};\n\n// determines if a node is ultimately attached to the window's document\nconst isNodeAttached = function (node) {\n // The root node is the shadow root if the node is in a shadow DOM; some document otherwise\n // (but NOT _the_ document; see second 'If' comment below for more).\n // If rootNode is shadow root, it'll have a host, which is the element to which the shadow\n // is attached, and the one we need to check if it's in the document or not (because the\n // shadow, and all nodes it contains, is never considered in the document since shadows\n // behave like self-contained DOMs; but if the shadow's HOST, which is part of the document,\n // is hidden, or is not in the document itself but is detached, it will affect the shadow's\n // visibility, including all the nodes it contains). The host could be any normal node,\n // or a custom element (i.e. web component). Either way, that's the one that is considered\n // part of the document, not the shadow root, nor any of its children (i.e. the node being\n // tested).\n // To further complicate things, we have to look all the way up until we find a shadow HOST\n // that is attached (or find none) because the node might be in nested shadows...\n // If rootNode is not a shadow root, it won't have a host, and so rootNode should be the\n // document (per the docs) and while it's a Document-type object, that document does not\n // appear to be the same as the node's `ownerDocument` for some reason, so it's safer\n // to ignore the rootNode at this point, and use `node.ownerDocument`. Otherwise,\n // using `rootNode.contains(node)` will _always_ be true we'll get false-positives when\n // node is actually detached.\n // NOTE: If `nodeRootHost` or `node` happens to be the `document` itself (which is possible\n // if a tabbable/focusable node was quickly added to the DOM, focused, and then removed\n // from the DOM as in https://github.com/focus-trap/focus-trap-react/issues/905), then\n // `ownerDocument` will be `null`, hence the optional chaining on it.\n let nodeRoot = node && getRootNode(node);\n let nodeRootHost = nodeRoot?.host;\n\n // in some cases, a detached node will return itself as the root instead of a document or\n // shadow root object, in which case, we shouldn't try to look further up the host chain\n let attached = false;\n if (nodeRoot && nodeRoot !== node) {\n attached = !!(\n nodeRootHost?.ownerDocument?.contains(nodeRootHost) ||\n node?.ownerDocument?.contains(node)\n );\n\n while (!attached && nodeRootHost) {\n // since it's not attached and we have a root host, the node MUST be in a nested shadow DOM,\n // which means we need to get the host's host and check if that parent host is contained\n // in (i.e. attached to) the document\n nodeRoot = getRootNode(nodeRootHost);\n nodeRootHost = nodeRoot?.host;\n attached = !!nodeRootHost?.ownerDocument?.contains(nodeRootHost);\n }\n }\n\n return attached;\n};\n\nconst isZeroArea = function (node) {\n const { width, height } = node.getBoundingClientRect();\n return width === 0 && height === 0;\n};\nconst isHidden = function (node, { displayCheck, getShadowRoot }) {\n // NOTE: visibility will be `undefined` if node is detached from the document\n // (see notes about this further down), which means we will consider it visible\n // (this is legacy behavior from a very long way back)\n // NOTE: we check this regardless of `displayCheck=\"none\"` because this is a\n // _visibility_ check, not a _display_ check\n if (getComputedStyle(node).visibility === 'hidden') {\n return true;\n }\n\n const isDirectSummary = matches.call(node, 'details>summary:first-of-type');\n const nodeUnderDetails = isDirectSummary ? node.parentElement : node;\n if (matches.call(nodeUnderDetails, 'details:not([open]) *')) {\n return true;\n }\n\n if (\n !displayCheck ||\n displayCheck === 'full' ||\n displayCheck === 'legacy-full'\n ) {\n if (typeof getShadowRoot === 'function') {\n // figure out if we should consider the node to be in an undisclosed shadow and use the\n // 'non-zero-area' fallback\n const originalNode = node;\n while (node) {\n const parentElement = node.parentElement;\n const rootNode = getRootNode(node);\n if (\n parentElement &&\n !parentElement.shadowRoot &&\n getShadowRoot(parentElement) === true // check if there's an undisclosed shadow\n ) {\n // node has an undisclosed shadow which means we can only treat it as a black box, so we\n // fall back to a non-zero-area test\n return isZeroArea(node);\n } else if (node.assignedSlot) {\n // iterate up slot\n node = node.assignedSlot;\n } else if (!parentElement && rootNode !== node.ownerDocument) {\n // cross shadow boundary\n node = rootNode.host;\n } else {\n // iterate up normal dom\n node = parentElement;\n }\n }\n\n node = originalNode;\n }\n // else, `getShadowRoot` might be true, but all that does is enable shadow DOM support\n // (i.e. it does not also presume that all nodes might have undisclosed shadows); or\n // it might be a falsy value, which means shadow DOM support is disabled\n\n // Since we didn't find it sitting in an undisclosed shadow (or shadows are disabled)\n // now we can just test to see if it would normally be visible or not, provided it's\n // attached to the main document.\n // NOTE: We must consider case where node is inside a shadow DOM and given directly to\n // `isTabbable()` or `isFocusable()` -- regardless of `getShadowRoot` option setting.\n\n if (isNodeAttached(node)) {\n // this works wherever the node is: if there's at least one client rect, it's\n // somehow displayed; it also covers the CSS 'display: contents' case where the\n // node itself is hidden in place of its contents; and there's no need to search\n // up the hierarchy either\n return !node.getClientRects().length;\n }\n\n // Else, the node isn't attached to the document, which means the `getClientRects()`\n // API will __always__ return zero rects (this can happen, for example, if React\n // is used to render nodes onto a detached tree, as confirmed in this thread:\n // https://github.com/facebook/react/issues/9117#issuecomment-284228870)\n //\n // It also means that even window.getComputedStyle(node).display will return `undefined`\n // because styles are only computed for nodes that are in the document.\n //\n // NOTE: THIS HAS BEEN THE CASE FOR YEARS. It is not new, nor is it caused by tabbable\n // somehow. Though it was never stated officially, anyone who has ever used tabbable\n // APIs on nodes in detached containers has actually implicitly used tabbable in what\n // was later (as of v5.2.0 on Apr 9, 2021) called `displayCheck=\"none\"` mode -- essentially\n // considering __everything__ to be visible because of the innability to determine styles.\n //\n // v6.0.0: As of this major release, the default 'full' option __no longer treats detached\n // nodes as visible with the 'none' fallback.__\n if (displayCheck !== 'legacy-full') {\n return true; // hidden\n }\n // else, fallback to 'none' mode and consider the node visible\n } else if (displayCheck === 'non-zero-area') {\n // NOTE: Even though this tests that the node's client rect is non-zero to determine\n // whether it's displayed, and that a detached node will __always__ have a zero-area\n // client rect, we don't special-case for whether the node is attached or not. In\n // this mode, we do want to consider nodes that have a zero area to be hidden at all\n // times, and that includes attached or not.\n return isZeroArea(node);\n }\n\n // visible, as far as we can tell, or per current `displayCheck=none` mode, we assume\n // it's visible\n return false;\n};\n\n// form fields (nested) inside a disabled fieldset are not focusable/tabbable\n// unless they are in the _first_ <legend> element of the top-most disabled\n// fieldset\nconst isDisabledFromFieldset = function (node) {\n if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(node.tagName)) {\n let parentNode = node.parentElement;\n // check if `node` is contained in a disabled <fieldset>\n while (parentNode) {\n if (parentNode.tagName === 'FIELDSET' && parentNode.disabled) {\n // look for the first <legend> among the children of the disabled <fieldset>\n for (let i = 0; i < parentNode.children.length; i++) {\n const child = parentNode.children.item(i);\n // when the first <legend> (in document order) is found\n if (child.tagName === 'LEGEND') {\n // if its parent <fieldset> is not nested in another disabled <fieldset>,\n // return whether `node` is a descendant of its first <legend>\n return matches.call(parentNode, 'fieldset[disabled] *')\n ? true\n : !child.contains(node);\n }\n }\n // the disabled <fieldset> containing `node` has no <legend>\n return true;\n }\n parentNode = parentNode.parentElement;\n }\n }\n\n // else, node's tabbable/focusable state should not be affected by a fieldset's\n // enabled/disabled state\n return false;\n};\n\nconst isNodeMatchingSelectorFocusable = function (options, node) {\n if (\n node.disabled ||\n // we must do an inert look up to filter out any elements inside an inert ancestor\n // because we're limited in the type of selectors we can use in JSDom (see related\n // note related to `candidateSelectors`)\n isInert(node) ||\n isHiddenInput(node) ||\n isHidden(node, options) ||\n // For a details element with a summary, the summary element gets the focus\n isDetailsWithSummary(node) ||\n isDisabledFromFieldset(node)\n ) {\n return false;\n }\n return true;\n};\n\nconst isNodeMatchingSelectorTabbable = function (options, node) {\n if (\n isNonTabbableRadio(node) ||\n getTabIndex(node) < 0 ||\n !isNodeMatchingSelectorFocusable(options, node)\n ) {\n return false;\n }\n return true;\n};\n\nconst isValidShadowRootTabbable = function (shadowHostNode) {\n const tabIndex = parseInt(shadowHostNode.getAttribute('tabindex'), 10);\n if (isNaN(tabIndex) || tabIndex >= 0) {\n return true;\n }\n // If a custom element has an explicit negative tabindex,\n // browsers will not allow tab targeting said element's children.\n return false;\n};\n\n/**\n * @param {Array.<Element|CandidateScope>} candidates\n * @returns Element[]\n */\nconst sortByOrder = function (candidates) {\n const regularTabbables = [];\n const orderedTabbables = [];\n candidates.forEach(function (item, i) {\n const isScope = !!item.scopeParent;\n const element = isScope ? item.scopeParent : item;\n const candidateTabindex = getSortOrderTabIndex(element, isScope);\n const elements = isScope ? sortByOrder(item.candidates) : element;\n if (candidateTabindex === 0) {\n isScope\n ? regularTabbables.push(...elements)\n : regularTabbables.push(element);\n } else {\n orderedTabbables.push({\n documentOrder: i,\n tabIndex: candidateTabindex,\n item: item,\n isScope: isScope,\n content: elements,\n });\n }\n });\n\n return orderedTabbables\n .sort(sortOrderedTabbables)\n .reduce((acc, sortable) => {\n sortable.isScope\n ? acc.push(...sortable.content)\n : acc.push(sortable.content);\n return acc;\n }, [])\n .concat(regularTabbables);\n};\n\nconst tabbable = function (container, options) {\n options = options || {};\n\n let candidates;\n if (options.getShadowRoot) {\n candidates = getCandidatesIteratively(\n [container],\n options.includeContainer,\n {\n filter: isNodeMatchingSelectorTabbable.bind(null, options),\n flatten: false,\n getShadowRoot: options.getShadowRoot,\n shadowRootFilter: isValidShadowRootTabbable,\n }\n );\n } else {\n candidates = getCandidates(\n container,\n options.includeContainer,\n isNodeMatchingSelectorTabbable.bind(null, options)\n );\n }\n return sortByOrder(candidates);\n};\n\nconst focusable = function (container, options) {\n options = options || {};\n\n let candidates;\n if (options.getShadowRoot) {\n candidates = getCandidatesIteratively(\n [container],\n options.includeContainer,\n {\n filter: isNodeMatchingSelectorFocusable.bind(null, options),\n flatten: true,\n getShadowRoot: options.getShadowRoot,\n }\n );\n } else {\n candidates = getCandidates(\n container,\n options.includeContainer,\n isNodeMatchingSelectorFocusable.bind(null, options)\n );\n }\n\n return candidates;\n};\n\nconst isTabbable = function (node, options) {\n options = options || {};\n if (!node) {\n throw new Error('No node provided');\n }\n if (matches.call(node, candidateSelector) === false) {\n return false;\n }\n return isNodeMatchingSelectorTabbable(options, node);\n};\n\nconst focusableCandidateSelector = /* #__PURE__ */ candidateSelectors\n .concat('iframe')\n .join(',');\n\nconst isFocusable = function (node, options) {\n options = options || {};\n if (!node) {\n throw new Error('No node provided');\n }\n if (matches.call(node, focusableCandidateSelector) === false) {\n return false;\n }\n return isNodeMatchingSelectorFocusable(options, node);\n};\n\nexport { tabbable, focusable, isTabbable, isFocusable, getTabIndex };\n","import { tabbable } from 'tabbable';\nimport { activeElement, contains, getDocument } from \"./element.js\";\nexport const getTabbableOptions = () => ({\n getShadowRoot: true,\n displayCheck:\n // JSDOM does not support the `tabbable` library. To solve this we can\n // check if `ResizeObserver` is a real function (not polyfilled), which\n // determines if the current environment is JSDOM-like.\n typeof ResizeObserver === 'function' && ResizeObserver.toString().includes('[native code]') ? 'full' : 'none'\n});\nfunction getTabbableIn(container, dir) {\n const list = tabbable(container, getTabbableOptions());\n const len = list.length;\n if (len === 0) {\n return undefined;\n }\n const active = activeElement(getDocument(container));\n const index = list.indexOf(active);\n // eslint-disable-next-line no-nested-ternary\n const nextIndex = index === -1 ? dir === 1 ? 0 : len - 1 : index + dir;\n return list[nextIndex];\n}\nexport function getNextTabbable(referenceElement) {\n return getTabbableIn(getDocument(referenceElement).body, 1) || referenceElement;\n}\nexport function getPreviousTabbable(referenceElement) {\n return getTabbableIn(getDocument(referenceElement).body, -1) || referenceElement;\n}\nexport function isOutsideEvent(event, container) {\n const containerElement = container || event.currentTarget;\n const relatedTarget = event.relatedTarget;\n return !relatedTarget || !contains(containerElement, relatedTarget);\n}\nexport function disableFocusInside(container) {\n const tabbableElements = tabbable(container, getTabbableOptions());\n tabbableElements.forEach(element => {\n element.dataset.tabindex = element.getAttribute('tabindex') || '';\n element.setAttribute('tabindex', '-1');\n });\n}\nexport function enableFocusInside(container) {\n const elements = container.querySelectorAll('[data-tabindex]');\n elements.forEach(element => {\n const tabindex = element.dataset.tabindex;\n delete element.dataset.tabindex;\n if (tabindex) {\n element.setAttribute('tabindex', tabindex);\n } else {\n element.removeAttribute('tabindex');\n }\n });\n}","import * as React from 'react';\nimport * as ReactDOM from 'react-dom';\nimport { isNode } from '@floating-ui/utils/dom';\nimport { useId } from '@base-ui-components/utils/useId';\nimport { useIsoLayoutEffect } from '@base-ui-components/utils/useIsoLayoutEffect';\nimport { visuallyHidden } from '@base-ui-components/utils/visuallyHidden';\nimport { FocusGuard } from \"../../utils/FocusGuard.js\";\nimport { enableFocusInside, disableFocusInside, getPreviousTabbable, getNextTabbable, isOutsideEvent } from \"../utils.js\";\nimport { createAttribute } from \"../utils/createAttribute.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst PortalContext = /*#__PURE__*/React.createContext(null);\nif (process.env.NODE_ENV !== \"production\") PortalContext.displayName = \"PortalContext\";\nexport const usePortalContext = () => React.useContext(PortalContext);\nconst attr = createAttribute('portal');\n/**\n * @see https://floating-ui.com/docs/FloatingPortal#usefloatingportalnode\n */\nexport function useFloatingPortalNode(props = {}) {\n const {\n id,\n root\n } = props;\n const uniqueId = useId();\n const portalContext = usePortalContext();\n const [portalNode, setPortalNode] = React.useState(null);\n const portalNodeRef = React.useRef(null);\n useIsoLayoutEffect(() => {\n return () => {\n portalNode?.remove();\n // Allow the subsequent layout effects to create a new node on updates.\n // The portal node will still be cleaned up on unmount.\n // https://github.com/floating-ui/floating-ui/issues/2454\n queueMicrotask(() => {\n portalNodeRef.current = null;\n });\n };\n }, [portalNode]);\n useIsoLayoutEffect(() => {\n // Wait for the uniqueId to be generated before creating the portal node in\n // React <18 (using `useFloatingId` instead of the native `useId`).\n // https://github.com/floating-ui/floating-ui/issues/2778\n if (!uniqueId) {\n return;\n }\n if (portalNodeRef.current) {\n return;\n }\n const existingIdRoot = id ? document.getElementById(id) : null;\n if (!existingIdRoot) {\n return;\n }\n const subRoot = document.createElement('div');\n subRoot.id = uniqueId;\n subRoot.setAttribute(attr, '');\n existingIdRoot.appendChild(subRoot);\n portalNodeRef.current = subRoot;\n setPortalNode(subRoot);\n }, [id, uniqueId]);\n useIsoLayoutEffect(() => {\n // Wait for the root to exist before creating the portal node. The root must\n // be stored in state, not a ref, for this to work reactively.\n if (root === null) {\n return;\n }\n if (!uniqueId) {\n return;\n }\n if (portalNodeRef.current) {\n return;\n }\n let container = root || portalContext?.portalNode;\n if (container && !isNode(container)) {\n container = container.current;\n }\n container = container || document.body;\n let idWrapper = null;\n if (id) {\n idWrapper = document.createElement('div');\n idWrapper.id = id;\n container.appendChild(idWrapper);\n }\n const subRoot = document.createElement('div');\n subRoot.id = uniqueId;\n subRoot.setAttribute(attr, '');\n container = idWrapper || container;\n container.appendChild(subRoot);\n portalNodeRef.current = subRoot;\n setPortalNode(subRoot);\n }, [id, root, uniqueId, portalContext]);\n return portalNode;\n}\n/**\n * Portals the floating element into a given container element — by default,\n * outside of the app root and into the body.\n * This is necessary to ensure the floating element can appear outside any\n * potential parent containers that cause clipping (such as `overflow: hidden`),\n * while retaining its location in the React tree.\n * @see https://floating-ui.com/docs/FloatingPortal\n * @internal\n */\nexport function FloatingPortal(props) {\n const {\n children,\n id,\n root,\n preserveTabOrder = true\n } = props;\n const portalNode = useFloatingPortalNode({\n id,\n root\n });\n const [focusManagerState, setFocusManagerState] = React.useState(null);\n const beforeOutsideRef = React.useRef(null);\n const afterOutsideRef = React.useRef(null);\n const beforeInsideRef = React.useRef(null);\n const afterInsideRef = React.useRef(null);\n const modal = focusManagerState?.modal;\n const open = focusManagerState?.open;\n const shouldRenderGuards =\n // The FocusManager and therefore floating element are currently open/\n // rendered.\n !!focusManagerState &&\n // Guards are only for non-modal focus management.\n !focusManagerState.modal &&\n // Don't render if unmount is transitioning.\n focusManagerState.open && preserveTabOrder && !!(root || portalNode);\n\n // https://codesandbox.io/s/tabbable-portal-f4tng?file=/src/TabbablePortal.tsx\n React.useEffect(() => {\n if (!portalNode || !preserveTabOrder || modal) {\n return undefined;\n }\n\n // Make sure elements inside the portal element are tabbable only when the\n // portal has already been focused, either by tabbing into a focus trap\n // element outside or using the mouse.\n function onFocus(event) {\n if (portalNode && isOutsideEvent(event)) {\n const focusing = event.type === 'focusin';\n const manageFocus = focusing ? enableFocusInside : disableFocusInside;\n manageFocus(portalNode);\n }\n }\n // Listen to the event on the capture phase so they run before the focus\n // trap elements onFocus prop is called.\n portalNode.addEventListener('focusin', onFocus, true);\n portalNode.addEventListener('focusout', onFocus, true);\n return () => {\n portalNode.removeEventListener('focusin', onFocus, true);\n portalNode.removeEventListener('focusout', onFocus, true);\n };\n }, [portalNode, preserveTabOrder, modal]);\n React.useEffect(() => {\n if (!portalNode) {\n return;\n }\n if (open) {\n return;\n }\n enableFocusInside(portalNode);\n }, [open, portalNode]);\n return /*#__PURE__*/_jsxs(PortalContext.Provider, {\n value: React.useMemo(() => ({\n preserveTabOrder,\n beforeOutsideRef,\n afterOutsideRef,\n beforeInsideRef,\n afterInsideRef,\n portalNode,\n setFocusManagerState\n }), [preserveTabOrder, portalNode]),\n children: [shouldRenderGuards && portalNode && /*#__PURE__*/_jsx(FocusGuard, {\n \"data-type\": \"outside\",\n ref: beforeOutsideRef,\n onFocus: event => {\n if (isOutsideEvent(event, portalNode)) {\n beforeInsideRef.current?.focus();\n } else {\n const domReference = focusManagerState ? focusManagerState.domReference : null;\n const prevTabbable = getPreviousTabbable(domReference);\n prevTabbable?.focus();\n }\n }\n }), shouldRenderGuards && portalNode && /*#__PURE__*/_jsx(\"span\", {\n \"aria-owns\": portalNode.id,\n style: visuallyHidden\n }), portalNode && /*#__PURE__*/ReactDOM.createPortal(children, portalNode), shouldRenderGuards && portalNode && /*#__PURE__*/_jsx(FocusGuard, {\n \"data-type\": \"outside\",\n ref: afterOutsideRef,\n onFocus: event => {\n if (isOutsideEvent(event, portalNode)) {\n afterInsideRef.current?.focus();\n } else {\n const domReference = focusManagerState ? focusManagerState.domReference : null;\n const nextTabbable = getNextTabbable(domReference);\n nextTabbable?.focus();\n if (focusManagerState?.closeOnFocusOut) {\n focusManagerState?.onOpenChange(false, event.nativeEvent, 'focus-out');\n }\n }\n }\n })]\n });\n}","import * as React from 'react';\nexport const MenuPortalContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") MenuPortalContext.displayName = \"MenuPortalContext\";\nexport function useMenuPortalContext() {\n const value = React.useContext(MenuPortalContext);\n if (value === undefined) {\n throw new Error('Base UI: <Menu.Portal> is missing.');\n }\n return value;\n}","'use client';\n\nimport * as React from 'react';\nimport { FloatingPortal } from \"../../floating-ui-react/index.js\";\nimport { useMenuRootContext } from \"../root/MenuRootContext.js\";\nimport { MenuPortalContext } from \"./MenuPortalContext.js\";\n\n/**\n * A portal element that moves the popup to a different part of the DOM.\n * By default, the portal element is appended to `<body>`.\n *\n * Documentation: [Base UI Menu](https://base-ui.com/react/components/menu)\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport function MenuPortal(props) {\n const {\n children,\n keepMounted = false,\n container\n } = props;\n const {\n mounted\n } = useMenuRootContext();\n const shouldRender = mounted || keepMounted;\n if (!shouldRender) {\n return null;\n }\n return /*#__PURE__*/_jsx(MenuPortalContext.Provider, {\n value: keepMounted,\n children: /*#__PURE__*/_jsx(FloatingPortal, {\n root: container,\n children: children\n })\n });\n}","'use client';\n\nimport * as React from 'react';\nexport const MenuPositionerContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") MenuPositionerContext.displayName = \"MenuPositionerContext\";\nexport function useMenuPositionerContext() {\n const context = React.useContext(MenuPositionerContext);\n if (context === undefined) {\n throw new Error('Base UI: MenuPositionerContext is missing. MenuPositioner parts must be placed within <Menu.Positioner>.');\n }\n return context;\n}","import { getSideAxis, getAlignmentAxis, getAxisLength, getSide, getAlignment, evaluate, getPaddingObject, rectToClientRect, min, clamp, placements, getAlignmentSides, getOppositeAlignmentPlacement, getOppositePlacement, getExpandedPlacements, getOppositeAxisPlacements, sides, max, getOppositeAxis } from '@floating-ui/utils';\nexport { rectToClientRect } from '@floating-ui/utils';\n\nfunction computeCoordsFromPlacement(_ref, placement, rtl) {\n let {\n reference,\n floating\n } = _ref;\n const sideAxis = getSideAxis(placement);\n const alignmentAxis = getAlignmentAxis(placement);\n const alignLength = getAxisLength(alignmentAxis);\n const side = getSide(placement);\n const isVertical = sideAxis === 'y';\n const commonX = reference.x + reference.width / 2 - floating.width / 2;\n const commonY = reference.y + reference.height / 2 - floating.height / 2;\n const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;\n let coords;\n switch (side) {\n case 'top':\n coords = {\n x: commonX,\n y: reference.y - floating.height\n };\n break;\n case 'bottom':\n coords = {\n x: commonX,\n y: reference.y + reference.height\n };\n break;\n case 'right':\n coords = {\n x: reference.x + reference.width,\n y: commonY\n };\n break;\n case 'left':\n coords = {\n x: reference.x - floating.width,\n y: commonY\n };\n break;\n default:\n coords = {\n x: reference.x,\n y: reference.y\n };\n }\n switch (getAlignment(placement)) {\n case 'start':\n coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);\n break;\n case 'end':\n coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);\n break;\n }\n return coords;\n}\n\n/**\n * Computes the `x` and `y` coordinates that will place the floating element\n * next to a given reference element.\n *\n * This export does not have any `platform` interface logic. You will need to\n * write one for the platform you are using Floating UI with.\n */\nconst computePosition = async (reference, floating, config) => {\n const {\n placement = 'bottom',\n strategy = 'absolute',\n middleware = [],\n platform\n } = config;\n const validMiddleware = middleware.filter(Boolean);\n const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));\n let rects = await platform.getElementRects({\n reference,\n floating,\n strategy\n });\n let {\n x,\n y\n } = computeCoordsFromPlacement(rects, placement, rtl);\n let statefulPlacement = placement;\n let middlewareData = {};\n let resetCount = 0;\n for (let i = 0; i < validMiddleware.length; i++) {\n const {\n name,\n fn\n } = validMiddleware[i];\n const {\n x: nextX,\n y: nextY,\n data,\n reset\n } = await fn({\n x,\n y,\n initialPlacement: placement,\n placement: statefulPlacement,\n strategy,\n middlewareData,\n rects,\n platform,\n elements: {\n reference,\n floating\n }\n });\n x = nextX != null ? nextX : x;\n y = nextY != null ? nextY : y;\n middlewareData = {\n ...middlewareData,\n [name]: {\n ...middlewareData[name],\n ...data\n }\n };\n if (reset && resetCount <= 50) {\n resetCount++;\n if (typeof reset === 'object') {\n if (reset.placement) {\n statefulPlacement = reset.placement;\n }\n if (reset.rects) {\n rects = reset.rects === true ? await platform.getElementRects({\n reference,\n floating,\n strategy\n }) : reset.rects;\n }\n ({\n x,\n y\n } = computeCoordsFromPlacement(rects, statefulPlacement, rtl));\n }\n i = -1;\n }\n }\n return {\n x,\n y,\n placement: statefulPlacement,\n strategy,\n middlewareData\n };\n};\n\n/**\n * Resolves with an object of overflow side offsets that determine how much the\n * element is overflowing a given clipping boundary on each side.\n * - positive = overflowing the boundary by that number of pixels\n * - negative = how many pixels left before it will overflow\n * - 0 = lies flush with the boundary\n * @see https://floating-ui.com/docs/detectOverflow\n */\nasync function detectOverflow(state, options) {\n var _await$platform$isEle;\n if (options === void 0) {\n options = {};\n }\n const {\n x,\n y,\n platform,\n rects,\n elements,\n strategy\n } = state;\n const {\n boundary = 'clippingAncestors',\n rootBoundary = 'viewport',\n elementContext = 'floating',\n altBoundary = false,\n padding = 0\n } = evaluate(options, state);\n const paddingObject = getPaddingObject(padding);\n const altContext = elementContext === 'floating' ? 'reference' : 'floating';\n const element = elements[altBoundary ? altContext : elementContext];\n const clippingClientRect = rectToClientRect(await platform.getClippingRect({\n element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || (await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating))),\n boundary,\n rootBoundary,\n strategy\n }));\n const rect = elementContext === 'floating' ? {\n x,\n y,\n width: rects.floating.width,\n height: rects.floating.height\n } : rects.reference;\n const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));\n const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {\n x: 1,\n y: 1\n } : {\n x: 1,\n y: 1\n };\n const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({\n elements,\n rect,\n offsetParent,\n strategy\n }) : rect);\n return {\n top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,\n bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,\n left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,\n right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x\n };\n}\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow = options => ({\n name: 'arrow',\n options,\n async fn(state) {\n const {\n x,\n y,\n placement,\n rects,\n platform,\n elements,\n middlewareData\n } = state;\n // Since `element` is required, we don't Partial<> the type.\n const {\n element,\n padding = 0\n } = evaluate(options, state) || {};\n if (element == null) {\n return {};\n }\n const paddingObject = getPaddingObject(padding);\n const coords = {\n x,\n y\n };\n const axis = getAlignmentAxis(placement);\n const length = getAxisLength(axis);\n const arrowDimensions = await platform.getDimensions(element);\n const isYAxis = axis === 'y';\n const minProp = isYAxis ? 'top' : 'left';\n const maxProp = isYAxis ? 'bottom' : 'right';\n const clientProp = isYAxis ? 'clientHeight' : 'clientWidth';\n const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];\n const startDiff = coords[axis] - rects.reference[axis];\n const arrowOffsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(element));\n let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;\n\n // DOM platform can return `window` as the `offsetParent`.\n if (!clientSize || !(await (platform.isElement == null ? void 0 : platform.isElement(arrowOffsetParent)))) {\n clientSize = elements.floating[clientProp] || rects.floating[length];\n }\n const centerToReference = endDiff / 2 - startDiff / 2;\n\n // If the padding is large enough that it causes the arrow to no longer be\n // centered, modify the padding so that it is centered.\n const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;\n const minPadding = min(paddingObject[minProp], largestPossiblePadding);\n const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);\n\n // Make sure the arrow doesn't overflow the floating element if the center\n // point is outside the floating element's bounds.\n const min$1 = minPadding;\n const max = clientSize - arrowDimensions[length] - maxPadding;\n const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;\n const offset = clamp(min$1, center, max);\n\n // If the reference is small enough that the arrow's padding causes it to\n // to point to nothing for an aligned placement, adjust the offset of the\n // floating element itself. To ensure `shift()` continues to take action,\n // a single reset is performed when this is true.\n const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center !== offset && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;\n const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max : 0;\n return {\n [axis]: coords[axis] + alignmentOffset,\n data: {\n [axis]: offset,\n centerOffset: center - offset - alignmentOffset,\n ...(shouldAddOffset && {\n alignmentOffset\n })\n },\n reset: shouldAddOffset\n };\n }\n});\n\nfunction getPlacementList(alignment, autoAlignment, allowedPlacements) {\n const allowedPlacementsSortedByAlignment = alignment ? [...allowedPlacements.filter(placement => getAlignment(placement) === alignment), ...allowedPlacements.filter(placement => getAlignment(placement) !== alignment)] : allowedPlacements.filter(placement => getSide(placement) === placement);\n return allowedPlacementsSortedByAlignment.filter(placement => {\n if (alignment) {\n return getAlignment(placement) === alignment || (autoAlignment ? getOppositeAlignmentPlacement(placement) !== placement : false);\n }\n return true;\n });\n}\n/**\n * Optimizes the visibility of the floating element by choosing the placement\n * that has the most space available automatically, without needing to specify a\n * preferred placement. Alternative to `flip`.\n * @see https://floating-ui.com/docs/autoPlacement\n */\nconst autoPlacement = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n name: 'autoPlacement',\n options,\n async fn(state) {\n var _middlewareData$autoP, _middlewareData$autoP2, _placementsThatFitOnE;\n const {\n rects,\n middlewareData,\n placement,\n platform,\n elements\n } = state;\n const {\n crossAxis = false,\n alignment,\n allowedPlacements = placements,\n autoAlignment = true,\n ...detectOverflowOptions\n } = evaluate(options, state);\n const placements$1 = alignment !== undefined || allowedPlacements === placements ? getPlacementList(alignment || null, autoAlignment, allowedPlacements) : allowedPlacements;\n const overflow = await detectOverflow(state, detectOverflowOptions);\n const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP.index) || 0;\n const currentPlacement = placements$1[currentIndex];\n if (currentPlacement == null) {\n return {};\n }\n const alignmentSides = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)));\n\n // Make `computeCoords` start from the right place.\n if (placement !== currentPlacement) {\n return {\n reset: {\n placement: placements$1[0]\n }\n };\n }\n const currentOverflows = [overflow[getSide(currentPlacement)], overflow[alignmentSides[0]], overflow[alignmentSides[1]]];\n const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP2.overflows) || []), {\n placement: currentPlacement,\n overflows: currentOverflows\n }];\n const nextPlacement = placements$1[currentIndex + 1];\n\n // There are more placements to check.\n if (nextPlacement) {\n return {\n data: {\n index: currentIndex + 1,\n overflows: allOverflows\n },\n reset: {\n placement: nextPlacement\n }\n };\n }\n const placementsSortedByMostSpace = allOverflows.map(d => {\n const alignment = getAlignment(d.placement);\n return [d.placement, alignment && crossAxis ?\n // Check along the mainAxis and main crossAxis side.\n d.overflows.slice(0, 2).reduce((acc, v) => acc + v, 0) :\n // Check only the mainAxis.\n d.overflows[0], d.overflows];\n }).sort((a, b) => a[1] - b[1]);\n const placementsThatFitOnEachSide = placementsSortedByMostSpace.filter(d => d[2].slice(0,\n // Aligned placements should not check their opposite crossAxis\n // side.\n getAlignment(d[0]) ? 2 : 3).every(v => v <= 0));\n const resetPlacement = ((_placementsThatFitOnE = placementsThatFitOnEachSide[0]) == null ? void 0 : _placementsThatFitOnE[0]) || placementsSortedByMostSpace[0][0];\n if (resetPlacement !== placement) {\n return {\n data: {\n index: currentIndex + 1,\n overflows: allOverflows\n },\n reset: {\n placement: resetPlacement\n }\n };\n }\n return {};\n }\n };\n};\n\n/**\n * Optimizes the visibility of the floating element by flipping the `placement`\n * in order to keep it in view when the preferred placement(s) will overflow the\n * clipping boundary. Alternative to `autoPlacement`.\n * @see https://floating-ui.com/docs/flip\n */\nconst flip = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n name: 'flip',\n options,\n async fn(state) {\n var _middlewareData$arrow, _middlewareData$flip;\n const {\n placement,\n middlewareData,\n rects,\n initialPlacement,\n platform,\n elements\n } = state;\n const {\n mainAxis: checkMainAxis = true,\n crossAxis: checkCrossAxis = true,\n fallbackPlacements: specifiedFallbackPlacements,\n fallbackStrategy = 'bestFit',\n fallbackAxisSideDirection = 'none',\n flipAlignment = true,\n ...detectOverflowOptions\n } = evaluate(options, state);\n\n // If a reset by the arrow was caused due to an alignment offset being\n // added, we should skip any logic now since `flip()` has already done its\n // work.\n // https://github.com/floating-ui/floating-ui/issues/2549#issuecomment-1719601643\n if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {\n return {};\n }\n const side = getSide(placement);\n const initialSideAxis = getSideAxis(initialPlacement);\n const isBasePlacement = getSide(initialPlacement) === initialPlacement;\n const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));\n const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));\n const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== 'none';\n if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {\n fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));\n }\n const placements = [initialPlacement, ...fallbackPlacements];\n const overflow = await detectOverflow(state, detectOverflowOptions);\n const overflows = [];\n let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];\n if (checkMainAxis) {\n overflows.push(overflow[side]);\n }\n if (checkCrossAxis) {\n const sides = getAlignmentSides(placement, rects, rtl);\n overflows.push(overflow[sides[0]], overflow[sides[1]]);\n }\n overflowsData = [...overflowsData, {\n placement,\n overflows\n }];\n\n // One or more sides is overflowing.\n if (!overflows.every(side => side <= 0)) {\n var _middlewareData$flip2, _overflowsData$filter;\n const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;\n const nextPlacement = placements[nextIndex];\n if (nextPlacement) {\n const ignoreCrossAxisOverflow = checkCrossAxis === 'alignment' ? initialSideAxis !== getSideAxis(nextPlacement) : false;\n if (!ignoreCrossAxisOverflow ||\n // We leave the current main axis only if every placement on that axis\n // overflows the main axis.\n overflowsData.every(d => getSideAxis(d.placement) === initialSideAxis ? d.overflows[0] > 0 : true)) {\n // Try next placement and re-run the lifecycle.\n return {\n data: {\n index: nextIndex,\n overflows: overflowsData\n },\n reset: {\n placement: nextPlacement\n }\n };\n }\n }\n\n // First, find the candidates that fit on the mainAxis side of overflow,\n // then find the placement that fits the best on the main crossAxis side.\n let resetPlacement = (_overflowsData$filter = overflowsData.filter(d => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;\n\n // Otherwise fallback.\n if (!resetPlacement) {\n switch (fallbackStrategy) {\n case 'bestFit':\n {\n var _overflowsData$filter2;\n const placement = (_overflowsData$filter2 = overflowsData.filter(d => {\n if (hasFallbackAxisSideDirection) {\n const currentSideAxis = getSideAxis(d.placement);\n return currentSideAxis === initialSideAxis ||\n // Create a bias to the `y` side axis due to horizontal\n // reading directions favoring greater width.\n currentSideAxis === 'y';\n }\n return true;\n }).map(d => [d.placement, d.overflows.filter(overflow => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$filter2[0];\n if (placement) {\n resetPlacement = placement;\n }\n break;\n }\n case 'initialPlacement':\n resetPlacement = initialPlacement;\n break;\n }\n }\n if (placement !== resetPlacement) {\n return {\n reset: {\n placement: resetPlacement\n }\n };\n }\n }\n return {};\n }\n };\n};\n\nfunction getSideOffsets(overflow, rect) {\n return {\n top: overflow.top - rect.height,\n right: overflow.right - rect.width,\n bottom: overflow.bottom - rect.height,\n left: overflow.left - rect.width\n };\n}\nfunction isAnySideFullyClipped(overflow) {\n return sides.some(side => overflow[side] >= 0);\n}\n/**\n * Provides data to hide the floating element in applicable situations, such as\n * when it is not in the same clipping context as the reference element.\n * @see https://floating-ui.com/docs/hide\n */\nconst hide = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n name: 'hide',\n options,\n async fn(state) {\n const {\n rects\n } = state;\n const {\n strategy = 'referenceHidden',\n ...detectOverflowOptions\n } = evaluate(options, state);\n switch (strategy) {\n case 'referenceHidden':\n {\n const overflow = await detectOverflow(state, {\n ...detectOverflowOptions,\n elementContext: 'reference'\n });\n const offsets = getSideOffsets(overflow, rects.reference);\n return {\n data: {\n referenceHiddenOffsets: offsets,\n referenceHidden: isAnySideFullyClipped(offsets)\n }\n };\n }\n case 'escaped':\n {\n const overflow = await detectOverflow(state, {\n ...detectOverflowOptions,\n altBoundary: true\n });\n const offsets = getSideOffsets(overflow, rects.floating);\n return {\n data: {\n escapedOffsets: offsets,\n escaped: isAnySideFullyClipped(offsets)\n }\n };\n }\n default:\n {\n return {};\n }\n }\n }\n };\n};\n\nfunction getBoundingRect(rects) {\n const minX = min(...rects.map(rect => rect.left));\n const minY = min(...rects.map(rect => rect.top));\n const maxX = max(...rects.map(rect => rect.right));\n const maxY = max(...rects.map(rect => rect.bottom));\n return {\n x: minX,\n y: minY,\n width: maxX - minX,\n height: maxY - minY\n };\n}\nfunction getRectsByLine(rects) {\n const sortedRects = rects.slice().sort((a, b) => a.y - b.y);\n const groups = [];\n let prevRect = null;\n for (let i = 0; i < sortedRects.length; i++) {\n const rect = sortedRects[i];\n if (!prevRect || rect.y - prevRect.y > prevRect.height / 2) {\n groups.push([rect]);\n } else {\n groups[groups.length - 1].push(rect);\n }\n prevRect = rect;\n }\n return groups.map(rect => rectToClientRect(getBoundingRect(rect)));\n}\n/**\n * Provides improved positioning for inline reference elements that can span\n * over multiple lines, such as hyperlinks or range selections.\n * @see https://floating-ui.com/docs/inline\n */\nconst inline = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n name: 'inline',\n options,\n async fn(state) {\n const {\n placement,\n elements,\n rects,\n platform,\n strategy\n } = state;\n // A MouseEvent's client{X,Y} coords can be up to 2 pixels off a\n // ClientRect's bounds, despite the event listener being triggered. A\n // padding of 2 seems to handle this issue.\n const {\n padding = 2,\n x,\n y\n } = evaluate(options, state);\n const nativeClientRects = Array.from((await (platform.getClientRects == null ? void 0 : platform.getClientRects(elements.reference))) || []);\n const clientRects = getRectsByLine(nativeClientRects);\n const fallback = rectToClientRect(getBoundingRect(nativeClientRects));\n const paddingObject = getPaddingObject(padding);\n function getBoundingClientRect() {\n // There are two rects and they are disjoined.\n if (clientRects.length === 2 && clientRects[0].left > clientRects[1].right && x != null && y != null) {\n // Find the first rect in which the point is fully inside.\n return clientRects.find(rect => x > rect.left - paddingObject.left && x < rect.right + paddingObject.right && y > rect.top - paddingObject.top && y < rect.bottom + paddingObject.bottom) || fallback;\n }\n\n // There are 2 or more connected rects.\n if (clientRects.length >= 2) {\n if (getSideAxis(placement) === 'y') {\n const firstRect = clientRects[0];\n const lastRect = clientRects[clientRects.length - 1];\n const isTop = getSide(placement) === 'top';\n const top = firstRect.top;\n const bottom = lastRect.bottom;\n const left = isTop ? firstRect.left : lastRect.left;\n const right = isTop ? firstRect.right : lastRect.right;\n const width = right - left;\n const height = bottom - top;\n return {\n top,\n bottom,\n left,\n right,\n width,\n height,\n x: left,\n y: top\n };\n }\n const isLeftSide = getSide(placement) === 'left';\n const maxRight = max(...clientRects.map(rect => rect.right));\n const minLeft = min(...clientRects.map(rect => rect.left));\n const measureRects = clientRects.filter(rect => isLeftSide ? rect.left === minLeft : rect.right === maxRight);\n const top = measureRects[0].top;\n const bottom = measureRects[measureRects.length - 1].bottom;\n const left = minLeft;\n const right = maxRight;\n const width = right - left;\n const height = bottom - top;\n return {\n top,\n bottom,\n left,\n right,\n width,\n height,\n x: left,\n y: top\n };\n }\n return fallback;\n }\n const resetRects = await platform.getElementRects({\n reference: {\n getBoundingClientRect\n },\n floating: elements.floating,\n strategy\n });\n if (rects.reference.x !== resetRects.reference.x || rects.reference.y !== resetRects.reference.y || rects.reference.width !== resetRects.reference.width || rects.reference.height !== resetRects.reference.height) {\n return {\n reset: {\n rects: resetRects\n }\n };\n }\n return {};\n }\n };\n};\n\nconst originSides = /*#__PURE__*/new Set(['left', 'top']);\n\n// For type backwards-compatibility, the `OffsetOptions` type was also\n// Derivable.\n\nasync function convertValueToCoords(state, options) {\n const {\n placement,\n platform,\n elements\n } = state;\n const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));\n const side = getSide(placement);\n const alignment = getAlignment(placement);\n const isVertical = getSideAxis(placement) === 'y';\n const mainAxisMulti = originSides.has(side) ? -1 : 1;\n const crossAxisMulti = rtl && isVertical ? -1 : 1;\n const rawValue = evaluate(options, state);\n\n // eslint-disable-next-line prefer-const\n let {\n mainAxis,\n crossAxis,\n alignmentAxis\n } = typeof rawValue === 'number' ? {\n mainAxis: rawValue,\n crossAxis: 0,\n alignmentAxis: null\n } : {\n mainAxis: rawValue.mainAxis || 0,\n crossAxis: rawValue.crossAxis || 0,\n alignmentAxis: rawValue.alignmentAxis\n };\n if (alignment && typeof alignmentAxis === 'number') {\n crossAxis = alignment === 'end' ? alignmentAxis * -1 : alignmentAxis;\n }\n return isVertical ? {\n x: crossAxis * crossAxisMulti,\n y: mainAxis * mainAxisMulti\n } : {\n x: mainAxis * mainAxisMulti,\n y: crossAxis * crossAxisMulti\n };\n}\n\n/**\n * Modifies the placement by translating the floating element along the\n * specified axes.\n * A number (shorthand for `mainAxis` or distance), or an axes configuration\n * object may be passed.\n * @see https://floating-ui.com/docs/offset\n */\nconst offset = function (options) {\n if (options === void 0) {\n options = 0;\n }\n return {\n name: 'offset',\n options,\n async fn(state) {\n var _middlewareData$offse, _middlewareData$arrow;\n const {\n x,\n y,\n placement,\n middlewareData\n } = state;\n const diffCoords = await convertValueToCoords(state, options);\n\n // If the placement is the same and the arrow caused an alignment offset\n // then we don't need to change the positioning coordinates.\n if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {\n return {};\n }\n return {\n x: x + diffCoords.x,\n y: y + diffCoords.y,\n data: {\n ...diffCoords,\n placement\n }\n };\n }\n };\n};\n\n/**\n * Optimizes the visibility of the floating element by shifting it in order to\n * keep it in view when it will overflow the clipping boundary.\n * @see https://floating-ui.com/docs/shift\n */\nconst shift = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n name: 'shift',\n options,\n async fn(state) {\n const {\n x,\n y,\n placement\n } = state;\n const {\n mainAxis: checkMainAxis = true,\n crossAxis: checkCrossAxis = false,\n limiter = {\n fn: _ref => {\n let {\n x,\n y\n } = _ref;\n return {\n x,\n y\n };\n }\n },\n ...detectOverflowOptions\n } = evaluate(options, state);\n const coords = {\n x,\n y\n };\n const overflow = await detectOverflow(state, detectOverflowOptions);\n const crossAxis = getSideAxis(getSide(placement));\n const mainAxis = getOppositeAxis(crossAxis);\n let mainAxisCoord = coords[mainAxis];\n let crossAxisCoord = coords[crossAxis];\n if (checkMainAxis) {\n const minSide = mainAxis === 'y' ? 'top' : 'left';\n const maxSide = mainAxis === 'y' ? 'bottom' : 'right';\n const min = mainAxisCoord + overflow[minSide];\n const max = mainAxisCoord - overflow[maxSide];\n mainAxisCoord = clamp(min, mainAxisCoord, max);\n }\n if (checkCrossAxis) {\n const minSide = crossAxis === 'y' ? 'top' : 'left';\n const maxSide = crossAxis === 'y' ? 'bottom' : 'right';\n const min = crossAxisCoord + overflow[minSide];\n const max = crossAxisCoord - overflow[maxSide];\n crossAxisCoord = clamp(min, crossAxisCoord, max);\n }\n const limitedCoords = limiter.fn({\n ...state,\n [mainAxis]: mainAxisCoord,\n [crossAxis]: crossAxisCoord\n });\n return {\n ...limitedCoords,\n data: {\n x: limitedCoords.x - x,\n y: limitedCoords.y - y,\n enabled: {\n [mainAxis]: checkMainAxis,\n [crossAxis]: checkCrossAxis\n }\n }\n };\n }\n };\n};\n/**\n * Built-in `limiter` that will stop `shift()` at a certain point.\n */\nconst limitShift = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n options,\n fn(state) {\n const {\n x,\n y,\n placement,\n rects,\n middlewareData\n } = state;\n const {\n offset = 0,\n mainAxis: checkMainAxis = true,\n crossAxis: checkCrossAxis = true\n } = evaluate(options, state);\n const coords = {\n x,\n y\n };\n const crossAxis = getSideAxis(placement);\n const mainAxis = getOppositeAxis(crossAxis);\n let mainAxisCoord = coords[mainAxis];\n let crossAxisCoord = coords[crossAxis];\n const rawOffset = evaluate(offset, state);\n const computedOffset = typeof rawOffset === 'number' ? {\n mainAxis: rawOffset,\n crossAxis: 0\n } : {\n mainAxis: 0,\n crossAxis: 0,\n ...rawOffset\n };\n if (checkMainAxis) {\n const len = mainAxis === 'y' ? 'height' : 'width';\n const limitMin = rects.reference[mainAxis] - rects.floating[len] + computedOffset.mainAxis;\n const limitMax = rects.reference[mainAxis] + rects.reference[len] - computedOffset.mainAxis;\n if (mainAxisCoord < limitMin) {\n mainAxisCoord = limitMin;\n } else if (mainAxisCoord > limitMax) {\n mainAxisCoord = limitMax;\n }\n }\n if (checkCrossAxis) {\n var _middlewareData$offse, _middlewareData$offse2;\n const len = mainAxis === 'y' ? 'width' : 'height';\n const isOriginSide = originSides.has(getSide(placement));\n const limitMin = rects.reference[crossAxis] - rects.floating[len] + (isOriginSide ? ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse[crossAxis]) || 0 : 0) + (isOriginSide ? 0 : computedOffset.crossAxis);\n const limitMax = rects.reference[crossAxis] + rects.reference[len] + (isOriginSide ? 0 : ((_middlewareData$offse2 = middlewareData.offset) == null ? void 0 : _middlewareData$offse2[crossAxis]) || 0) - (isOriginSide ? computedOffset.crossAxis : 0);\n if (crossAxisCoord < limitMin) {\n crossAxisCoord = limitMin;\n } else if (crossAxisCoord > limitMax) {\n crossAxisCoord = limitMax;\n }\n }\n return {\n [mainAxis]: mainAxisCoord,\n [crossAxis]: crossAxisCoord\n };\n }\n };\n};\n\n/**\n * Provides data that allows you to change the size of the floating element —\n * for instance, prevent it from overflowing the clipping boundary or match the\n * width of the reference element.\n * @see https://floating-ui.com/docs/size\n */\nconst size = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n name: 'size',\n options,\n async fn(state) {\n var _state$middlewareData, _state$middlewareData2;\n const {\n placement,\n rects,\n platform,\n elements\n } = state;\n const {\n apply = () => {},\n ...detectOverflowOptions\n } = evaluate(options, state);\n const overflow = await detectOverflow(state, detectOverflowOptions);\n const side = getSide(placement);\n const alignment = getAlignment(placement);\n const isYAxis = getSideAxis(placement) === 'y';\n const {\n width,\n height\n } = rects.floating;\n let heightSide;\n let widthSide;\n if (side === 'top' || side === 'bottom') {\n heightSide = side;\n widthSide = alignment === ((await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating))) ? 'start' : 'end') ? 'left' : 'right';\n } else {\n widthSide = side;\n heightSide = alignment === 'end' ? 'top' : 'bottom';\n }\n const maximumClippingHeight = height - overflow.top - overflow.bottom;\n const maximumClippingWidth = width - overflow.left - overflow.right;\n const overflowAvailableHeight = min(height - overflow[heightSide], maximumClippingHeight);\n const overflowAvailableWidth = min(width - overflow[widthSide], maximumClippingWidth);\n const noShift = !state.middlewareData.shift;\n let availableHeight = overflowAvailableHeight;\n let availableWidth = overflowAvailableWidth;\n if ((_state$middlewareData = state.middlewareData.shift) != null && _state$middlewareData.enabled.x) {\n availableWidth = maximumClippingWidth;\n }\n if ((_state$middlewareData2 = state.middlewareData.shift) != null && _state$middlewareData2.enabled.y) {\n availableHeight = maximumClippingHeight;\n }\n if (noShift && !alignment) {\n const xMin = max(overflow.left, 0);\n const xMax = max(overflow.right, 0);\n const yMin = max(overflow.top, 0);\n const yMax = max(overflow.bottom, 0);\n if (isYAxis) {\n availableWidth = width - 2 * (xMin !== 0 || xMax !== 0 ? xMin + xMax : max(overflow.left, overflow.right));\n } else {\n availableHeight = height - 2 * (yMin !== 0 || yMax !== 0 ? yMin + yMax : max(overflow.top, overflow.bottom));\n }\n }\n await apply({\n ...state,\n availableWidth,\n availableHeight\n });\n const nextDimensions = await platform.getDimensions(elements.floating);\n if (width !== nextDimensions.width || height !== nextDimensions.height) {\n return {\n reset: {\n rects: true\n }\n };\n }\n return {};\n }\n };\n};\n\nexport { arrow, autoPlacement, computePosition, detectOverflow, flip, hide, inline, limitShift, offset, shift, size };\n","import { rectToClientRect, arrow as arrow$1, autoPlacement as autoPlacement$1, detectOverflow as detectOverflow$1, flip as flip$1, hide as hide$1, inline as inline$1, limitShift as limitShift$1, offset as offset$1, shift as shift$1, size as size$1, computePosition as computePosition$1 } from '@floating-ui/core';\nimport { round, createCoords, max, min, floor } from '@floating-ui/utils';\nimport { getComputedStyle, isHTMLElement, isElement, getWindow, isWebKit, getFrameElement, getNodeScroll, getDocumentElement, isTopLayer, getNodeName, isOverflowElement, getOverflowAncestors, getParentNode, isLastTraversableNode, isContainingBlock, isTableElement, getContainingBlock } from '@floating-ui/utils/dom';\nexport { getOverflowAncestors } from '@floating-ui/utils/dom';\n\nfunction getCssDimensions(element) {\n const css = getComputedStyle(element);\n // In testing environments, the `width` and `height` properties are empty\n // strings for SVG elements, returning NaN. Fallback to `0` in this case.\n let width = parseFloat(css.width) || 0;\n let height = parseFloat(css.height) || 0;\n const hasOffset = isHTMLElement(element);\n const offsetWidth = hasOffset ? element.offsetWidth : width;\n const offsetHeight = hasOffset ? element.offsetHeight : height;\n const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;\n if (shouldFallback) {\n width = offsetWidth;\n height = offsetHeight;\n }\n return {\n width,\n height,\n $: shouldFallback\n };\n}\n\nfunction unwrapElement(element) {\n return !isElement(element) ? element.contextElement : element;\n}\n\nfunction getScale(element) {\n const domElement = unwrapElement(element);\n if (!isHTMLElement(domElement)) {\n return createCoords(1);\n }\n const rect = domElement.getBoundingClientRect();\n const {\n width,\n height,\n $\n } = getCssDimensions(domElement);\n let x = ($ ? round(rect.width) : rect.width) / width;\n let y = ($ ? round(rect.height) : rect.height) / height;\n\n // 0, NaN, or Infinity should always fallback to 1.\n\n if (!x || !Number.isFinite(x)) {\n x = 1;\n }\n if (!y || !Number.isFinite(y)) {\n y = 1;\n }\n return {\n x,\n y\n };\n}\n\nconst noOffsets = /*#__PURE__*/createCoords(0);\nfunction getVisualOffsets(element) {\n const win = getWindow(element);\n if (!isWebKit() || !win.visualViewport) {\n return noOffsets;\n }\n return {\n x: win.visualViewport.offsetLeft,\n y: win.visualViewport.offsetTop\n };\n}\nfunction shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {\n if (isFixed === void 0) {\n isFixed = false;\n }\n if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {\n return false;\n }\n return isFixed;\n}\n\nfunction getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {\n if (includeScale === void 0) {\n includeScale = false;\n }\n if (isFixedStrategy === void 0) {\n isFixedStrategy = false;\n }\n const clientRect = element.getBoundingClientRect();\n const domElement = unwrapElement(element);\n let scale = createCoords(1);\n if (includeScale) {\n if (offsetParent) {\n if (isElement(offsetParent)) {\n scale = getScale(offsetParent);\n }\n } else {\n scale = getScale(element);\n }\n }\n const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);\n let x = (clientRect.left + visualOffsets.x) / scale.x;\n let y = (clientRect.top + visualOffsets.y) / scale.y;\n let width = clientRect.width / scale.x;\n let height = clientRect.height / scale.y;\n if (domElement) {\n const win = getWindow(domElement);\n const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;\n let currentWin = win;\n let currentIFrame = getFrameElement(currentWin);\n while (currentIFrame && offsetParent && offsetWin !== currentWin) {\n const iframeScale = getScale(currentIFrame);\n const iframeRect = currentIFrame.getBoundingClientRect();\n const css = getComputedStyle(currentIFrame);\n const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;\n const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;\n x *= iframeScale.x;\n y *= iframeScale.y;\n width *= iframeScale.x;\n height *= iframeScale.y;\n x += left;\n y += top;\n currentWin = getWindow(currentIFrame);\n currentIFrame = getFrameElement(currentWin);\n }\n }\n return rectToClientRect({\n width,\n height,\n x,\n y\n });\n}\n\n// If <html> has a CSS width greater than the viewport, then this will be\n// incorrect for RTL.\nfunction getWindowScrollBarX(element, rect) {\n const leftScroll = getNodeScroll(element).scrollLeft;\n if (!rect) {\n return getBoundingClientRect(getDocumentElement(element)).left + leftScroll;\n }\n return rect.left + leftScroll;\n}\n\nfunction getHTMLOffset(documentElement, scroll, ignoreScrollbarX) {\n if (ignoreScrollbarX === void 0) {\n ignoreScrollbarX = false;\n }\n const htmlRect = documentElement.getBoundingClientRect();\n const x = htmlRect.left + scroll.scrollLeft - (ignoreScrollbarX ? 0 :\n // RTL <body> scrollbar.\n getWindowScrollBarX(documentElement, htmlRect));\n const y = htmlRect.top + scroll.scrollTop;\n return {\n x,\n y\n };\n}\n\nfunction convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {\n let {\n elements,\n rect,\n offsetParent,\n strategy\n } = _ref;\n const isFixed = strategy === 'fixed';\n const documentElement = getDocumentElement(offsetParent);\n const topLayer = elements ? isTopLayer(elements.floating) : false;\n if (offsetParent === documentElement || topLayer && isFixed) {\n return rect;\n }\n let scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n let scale = createCoords(1);\n const offsets = createCoords(0);\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\n if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n if (isHTMLElement(offsetParent)) {\n const offsetRect = getBoundingClientRect(offsetParent);\n scale = getScale(offsetParent);\n offsets.x = offsetRect.x + offsetParent.clientLeft;\n offsets.y = offsetRect.y + offsetParent.clientTop;\n }\n }\n const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll, true) : createCoords(0);\n return {\n width: rect.width * scale.x,\n height: rect.height * scale.y,\n x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x + htmlOffset.x,\n y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y + htmlOffset.y\n };\n}\n\nfunction getClientRects(element) {\n return Array.from(element.getClientRects());\n}\n\n// Gets the entire size of the scrollable document area, even extending outside\n// of the `<html>` and `<body>` rect bounds if horizontally scrollable.\nfunction getDocumentRect(element) {\n const html = getDocumentElement(element);\n const scroll = getNodeScroll(element);\n const body = element.ownerDocument.body;\n const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);\n const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);\n let x = -scroll.scrollLeft + getWindowScrollBarX(element);\n const y = -scroll.scrollTop;\n if (getComputedStyle(body).direction === 'rtl') {\n x += max(html.clientWidth, body.clientWidth) - width;\n }\n return {\n width,\n height,\n x,\n y\n };\n}\n\nfunction getViewportRect(element, strategy) {\n const win = getWindow(element);\n const html = getDocumentElement(element);\n const visualViewport = win.visualViewport;\n let width = html.clientWidth;\n let height = html.clientHeight;\n let x = 0;\n let y = 0;\n if (visualViewport) {\n width = visualViewport.width;\n height = visualViewport.height;\n const visualViewportBased = isWebKit();\n if (!visualViewportBased || visualViewportBased && strategy === 'fixed') {\n x = visualViewport.offsetLeft;\n y = visualViewport.offsetTop;\n }\n }\n return {\n width,\n height,\n x,\n y\n };\n}\n\nconst absoluteOrFixed = /*#__PURE__*/new Set(['absolute', 'fixed']);\n// Returns the inner client rect, subtracting scrollbars if present.\nfunction getInnerBoundingClientRect(element, strategy) {\n const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');\n const top = clientRect.top + element.clientTop;\n const left = clientRect.left + element.clientLeft;\n const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);\n const width = element.clientWidth * scale.x;\n const height = element.clientHeight * scale.y;\n const x = left * scale.x;\n const y = top * scale.y;\n return {\n width,\n height,\n x,\n y\n };\n}\nfunction getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {\n let rect;\n if (clippingAncestor === 'viewport') {\n rect = getViewportRect(element, strategy);\n } else if (clippingAncestor === 'document') {\n rect = getDocumentRect(getDocumentElement(element));\n } else if (isElement(clippingAncestor)) {\n rect = getInnerBoundingClientRect(clippingAncestor, strategy);\n } else {\n const visualOffsets = getVisualOffsets(element);\n rect = {\n x: clippingAncestor.x - visualOffsets.x,\n y: clippingAncestor.y - visualOffsets.y,\n width: clippingAncestor.width,\n height: clippingAncestor.height\n };\n }\n return rectToClientRect(rect);\n}\nfunction hasFixedPositionAncestor(element, stopNode) {\n const parentNode = getParentNode(element);\n if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {\n return false;\n }\n return getComputedStyle(parentNode).position === 'fixed' || hasFixedPositionAncestor(parentNode, stopNode);\n}\n\n// A \"clipping ancestor\" is an `overflow` element with the characteristic of\n// clipping (or hiding) child elements. This returns all clipping ancestors\n// of the given element up the tree.\nfunction getClippingElementAncestors(element, cache) {\n const cachedResult = cache.get(element);\n if (cachedResult) {\n return cachedResult;\n }\n let result = getOverflowAncestors(element, [], false).filter(el => isElement(el) && getNodeName(el) !== 'body');\n let currentContainingBlockComputedStyle = null;\n const elementIsFixed = getComputedStyle(element).position === 'fixed';\n let currentNode = elementIsFixed ? getParentNode(element) : element;\n\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {\n const computedStyle = getComputedStyle(currentNode);\n const currentNodeIsContaining = isContainingBlock(currentNode);\n if (!currentNodeIsContaining && computedStyle.position === 'fixed') {\n currentContainingBlockComputedStyle = null;\n }\n const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && absoluteOrFixed.has(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);\n if (shouldDropCurrentNode) {\n // Drop non-containing blocks.\n result = result.filter(ancestor => ancestor !== currentNode);\n } else {\n // Record last containing block for next iteration.\n currentContainingBlockComputedStyle = computedStyle;\n }\n currentNode = getParentNode(currentNode);\n }\n cache.set(element, result);\n return result;\n}\n\n// Gets the maximum area that the element is visible in due to any number of\n// clipping ancestors.\nfunction getClippingRect(_ref) {\n let {\n element,\n boundary,\n rootBoundary,\n strategy\n } = _ref;\n const elementClippingAncestors = boundary === 'clippingAncestors' ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);\n const clippingAncestors = [...elementClippingAncestors, rootBoundary];\n const firstClippingAncestor = clippingAncestors[0];\n const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {\n const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);\n accRect.top = max(rect.top, accRect.top);\n accRect.right = min(rect.right, accRect.right);\n accRect.bottom = min(rect.bottom, accRect.bottom);\n accRect.left = max(rect.left, accRect.left);\n return accRect;\n }, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));\n return {\n width: clippingRect.right - clippingRect.left,\n height: clippingRect.bottom - clippingRect.top,\n x: clippingRect.left,\n y: clippingRect.top\n };\n}\n\nfunction getDimensions(element) {\n const {\n width,\n height\n } = getCssDimensions(element);\n return {\n width,\n height\n };\n}\n\nfunction getRectRelativeToOffsetParent(element, offsetParent, strategy) {\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\n const documentElement = getDocumentElement(offsetParent);\n const isFixed = strategy === 'fixed';\n const rect = getBoundingClientRect(element, true, isFixed, offsetParent);\n let scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n const offsets = createCoords(0);\n\n // If the <body> scrollbar appears on the left (e.g. RTL systems). Use\n // Firefox with layout.scrollbar.side = 3 in about:config to test this.\n function setLeftRTLScrollbarOffset() {\n offsets.x = getWindowScrollBarX(documentElement);\n }\n if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n if (isOffsetParentAnElement) {\n const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);\n offsets.x = offsetRect.x + offsetParent.clientLeft;\n offsets.y = offsetRect.y + offsetParent.clientTop;\n } else if (documentElement) {\n setLeftRTLScrollbarOffset();\n }\n }\n if (isFixed && !isOffsetParentAnElement && documentElement) {\n setLeftRTLScrollbarOffset();\n }\n const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);\n const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;\n const y = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;\n return {\n x,\n y,\n width: rect.width,\n height: rect.height\n };\n}\n\nfunction isStaticPositioned(element) {\n return getComputedStyle(element).position === 'static';\n}\n\nfunction getTrueOffsetParent(element, polyfill) {\n if (!isHTMLElement(element) || getComputedStyle(element).position === 'fixed') {\n return null;\n }\n if (polyfill) {\n return polyfill(element);\n }\n let rawOffsetParent = element.offsetParent;\n\n // Firefox returns the <html> element as the offsetParent if it's non-static,\n // while Chrome and Safari return the <body> element. The <body> element must\n // be used to perform the correct calculations even if the <html> element is\n // non-static.\n if (getDocumentElement(element) === rawOffsetParent) {\n rawOffsetParent = rawOffsetParent.ownerDocument.body;\n }\n return rawOffsetParent;\n}\n\n// Gets the closest ancestor positioned element. Handles some edge cases,\n// such as table ancestors and cross browser bugs.\nfunction getOffsetParent(element, polyfill) {\n const win = getWindow(element);\n if (isTopLayer(element)) {\n return win;\n }\n if (!isHTMLElement(element)) {\n let svgOffsetParent = getParentNode(element);\n while (svgOffsetParent && !isLastTraversableNode(svgOffsetParent)) {\n if (isElement(svgOffsetParent) && !isStaticPositioned(svgOffsetParent)) {\n return svgOffsetParent;\n }\n svgOffsetParent = getParentNode(svgOffsetParent);\n }\n return win;\n }\n let offsetParent = getTrueOffsetParent(element, polyfill);\n while (offsetParent && isTableElement(offsetParent) && isStaticPositioned(offsetParent)) {\n offsetParent = getTrueOffsetParent(offsetParent, polyfill);\n }\n if (offsetParent && isLastTraversableNode(offsetParent) && isStaticPositioned(offsetParent) && !isContainingBlock(offsetParent)) {\n return win;\n }\n return offsetParent || getContainingBlock(element) || win;\n}\n\nconst getElementRects = async function (data) {\n const getOffsetParentFn = this.getOffsetParent || getOffsetParent;\n const getDimensionsFn = this.getDimensions;\n const floatingDimensions = await getDimensionsFn(data.floating);\n return {\n reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy),\n floating: {\n x: 0,\n y: 0,\n width: floatingDimensions.width,\n height: floatingDimensions.height\n }\n };\n};\n\nfunction isRTL(element) {\n return getComputedStyle(element).direction === 'rtl';\n}\n\nconst platform = {\n convertOffsetParentRelativeRectToViewportRelativeRect,\n getDocumentElement,\n getClippingRect,\n getOffsetParent,\n getElementRects,\n getClientRects,\n getDimensions,\n getScale,\n isElement,\n isRTL\n};\n\nfunction rectsAreEqual(a, b) {\n return a.x === b.x && a.y === b.y && a.width === b.width && a.height === b.height;\n}\n\n// https://samthor.au/2021/observing-dom/\nfunction observeMove(element, onMove) {\n let io = null;\n let timeoutId;\n const root = getDocumentElement(element);\n function cleanup() {\n var _io;\n clearTimeout(timeoutId);\n (_io = io) == null || _io.disconnect();\n io = null;\n }\n function refresh(skip, threshold) {\n if (skip === void 0) {\n skip = false;\n }\n if (threshold === void 0) {\n threshold = 1;\n }\n cleanup();\n const elementRectForRootMargin = element.getBoundingClientRect();\n const {\n left,\n top,\n width,\n height\n } = elementRectForRootMargin;\n if (!skip) {\n onMove();\n }\n if (!width || !height) {\n return;\n }\n const insetTop = floor(top);\n const insetRight = floor(root.clientWidth - (left + width));\n const insetBottom = floor(root.clientHeight - (top + height));\n const insetLeft = floor(left);\n const rootMargin = -insetTop + \"px \" + -insetRight + \"px \" + -insetBottom + \"px \" + -insetLeft + \"px\";\n const options = {\n rootMargin,\n threshold: max(0, min(1, threshold)) || 1\n };\n let isFirstUpdate = true;\n function handleObserve(entries) {\n const ratio = entries[0].intersectionRatio;\n if (ratio !== threshold) {\n if (!isFirstUpdate) {\n return refresh();\n }\n if (!ratio) {\n // If the reference is clipped, the ratio is 0. Throttle the refresh\n // to prevent an infinite loop of updates.\n timeoutId = setTimeout(() => {\n refresh(false, 1e-7);\n }, 1000);\n } else {\n refresh(false, ratio);\n }\n }\n if (ratio === 1 && !rectsAreEqual(elementRectForRootMargin, element.getBoundingClientRect())) {\n // It's possible that even though the ratio is reported as 1, the\n // element is not actually fully within the IntersectionObserver's root\n // area anymore. This can happen under performance constraints. This may\n // be a bug in the browser's IntersectionObserver implementation. To\n // work around this, we compare the element's bounding rect now with\n // what it was at the time we created the IntersectionObserver. If they\n // are not equal then the element moved, so we refresh.\n refresh();\n }\n isFirstUpdate = false;\n }\n\n // Older browsers don't support a `document` as the root and will throw an\n // error.\n try {\n io = new IntersectionObserver(handleObserve, {\n ...options,\n // Handle <iframe>s\n root: root.ownerDocument\n });\n } catch (_e) {\n io = new IntersectionObserver(handleObserve, options);\n }\n io.observe(element);\n }\n refresh(true);\n return cleanup;\n}\n\n/**\n * Automatically updates the position of the floating element when necessary.\n * Should only be called when the floating element is mounted on the DOM or\n * visible on the screen.\n * @returns cleanup function that should be invoked when the floating element is\n * removed from the DOM or hidden from the screen.\n * @see https://floating-ui.com/docs/autoUpdate\n */\nfunction autoUpdate(reference, floating, update, options) {\n if (options === void 0) {\n options = {};\n }\n const {\n ancestorScroll = true,\n ancestorResize = true,\n elementResize = typeof ResizeObserver === 'function',\n layoutShift = typeof IntersectionObserver === 'function',\n animationFrame = false\n } = options;\n const referenceEl = unwrapElement(reference);\n const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...getOverflowAncestors(floating)] : [];\n ancestors.forEach(ancestor => {\n ancestorScroll && ancestor.addEventListener('scroll', update, {\n passive: true\n });\n ancestorResize && ancestor.addEventListener('resize', update);\n });\n const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;\n let reobserveFrame = -1;\n let resizeObserver = null;\n if (elementResize) {\n resizeObserver = new ResizeObserver(_ref => {\n let [firstEntry] = _ref;\n if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {\n // Prevent update loops when using the `size` middleware.\n // https://github.com/floating-ui/floating-ui/issues/1740\n resizeObserver.unobserve(floating);\n cancelAnimationFrame(reobserveFrame);\n reobserveFrame = requestAnimationFrame(() => {\n var _resizeObserver;\n (_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating);\n });\n }\n update();\n });\n if (referenceEl && !animationFrame) {\n resizeObserver.observe(referenceEl);\n }\n resizeObserver.observe(floating);\n }\n let frameId;\n let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;\n if (animationFrame) {\n frameLoop();\n }\n function frameLoop() {\n const nextRefRect = getBoundingClientRect(reference);\n if (prevRefRect && !rectsAreEqual(prevRefRect, nextRefRect)) {\n update();\n }\n prevRefRect = nextRefRect;\n frameId = requestAnimationFrame(frameLoop);\n }\n update();\n return () => {\n var _resizeObserver2;\n ancestors.forEach(ancestor => {\n ancestorScroll && ancestor.removeEventListener('scroll', update);\n ancestorResize && ancestor.removeEventListener('resize', update);\n });\n cleanupIo == null || cleanupIo();\n (_resizeObserver2 = resizeObserver) == null || _resizeObserver2.disconnect();\n resizeObserver = null;\n if (animationFrame) {\n cancelAnimationFrame(frameId);\n }\n };\n}\n\n/**\n * Resolves with an object of overflow side offsets that determine how much the\n * element is overflowing a given clipping boundary on each side.\n * - positive = overflowing the boundary by that number of pixels\n * - negative = how many pixels left before it will overflow\n * - 0 = lies flush with the boundary\n * @see https://floating-ui.com/docs/detectOverflow\n */\nconst detectOverflow = detectOverflow$1;\n\n/**\n * Modifies the placement by translating the floating element along the\n * specified axes.\n * A number (shorthand for `mainAxis` or distance), or an axes configuration\n * object may be passed.\n * @see https://floating-ui.com/docs/offset\n */\nconst offset = offset$1;\n\n/**\n * Optimizes the visibility of the floating element by choosing the placement\n * that has the most space available automatically, without needing to specify a\n * preferred placement. Alternative to `flip`.\n * @see https://floating-ui.com/docs/autoPlacement\n */\nconst autoPlacement = autoPlacement$1;\n\n/**\n * Optimizes the visibility of the floating element by shifting it in order to\n * keep it in view when it will overflow the clipping boundary.\n * @see https://floating-ui.com/docs/shift\n */\nconst shift = shift$1;\n\n/**\n * Optimizes the visibility of the floating element by flipping the `placement`\n * in order to keep it in view when the preferred placement(s) will overflow the\n * clipping boundary. Alternative to `autoPlacement`.\n * @see https://floating-ui.com/docs/flip\n */\nconst flip = flip$1;\n\n/**\n * Provides data that allows you to change the size of the floating element —\n * for instance, prevent it from overflowing the clipping boundary or match the\n * width of the reference element.\n * @see https://floating-ui.com/docs/size\n */\nconst size = size$1;\n\n/**\n * Provides data to hide the floating element in applicable situations, such as\n * when it is not in the same clipping context as the reference element.\n * @see https://floating-ui.com/docs/hide\n */\nconst hide = hide$1;\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow = arrow$1;\n\n/**\n * Provides improved positioning for inline reference elements that can span\n * over multiple lines, such as hyperlinks or range selections.\n * @see https://floating-ui.com/docs/inline\n */\nconst inline = inline$1;\n\n/**\n * Built-in `limiter` that will stop `shift()` at a certain point.\n */\nconst limitShift = limitShift$1;\n\n/**\n * Computes the `x` and `y` coordinates that will place the floating element\n * next to a given reference element.\n */\nconst computePosition = (reference, floating, options) => {\n // This caches the expensive `getClippingElementAncestors` function so that\n // multiple lifecycle resets re-use the same result. It only lives for a\n // single call. If other functions become expensive, we can add them as well.\n const cache = new Map();\n const mergedOptions = {\n platform,\n ...options\n };\n const platformWithCache = {\n ...mergedOptions.platform,\n _c: cache\n };\n return computePosition$1(reference, floating, {\n ...mergedOptions,\n platform: platformWithCache\n });\n};\n\nexport { arrow, autoPlacement, autoUpdate, computePosition, detectOverflow, flip, hide, inline, limitShift, offset, platform, shift, size };\n","import { computePosition, arrow as arrow$2, autoPlacement as autoPlacement$1, flip as flip$1, hide as hide$1, inline as inline$1, limitShift as limitShift$1, offset as offset$1, shift as shift$1, size as size$1 } from '@floating-ui/dom';\nexport { autoUpdate, computePosition, detectOverflow, getOverflowAncestors, platform } from '@floating-ui/dom';\nimport * as React from 'react';\nimport { useLayoutEffect } from 'react';\nimport * as ReactDOM from 'react-dom';\n\nvar isClient = typeof document !== 'undefined';\n\nvar noop = function noop() {};\nvar index = isClient ? useLayoutEffect : noop;\n\n// Fork of `fast-deep-equal` that only does the comparisons we need and compares\n// functions\nfunction deepEqual(a, b) {\n if (a === b) {\n return true;\n }\n if (typeof a !== typeof b) {\n return false;\n }\n if (typeof a === 'function' && a.toString() === b.toString()) {\n return true;\n }\n let length;\n let i;\n let keys;\n if (a && b && typeof a === 'object') {\n if (Array.isArray(a)) {\n length = a.length;\n if (length !== b.length) return false;\n for (i = length; i-- !== 0;) {\n if (!deepEqual(a[i], b[i])) {\n return false;\n }\n }\n return true;\n }\n keys = Object.keys(a);\n length = keys.length;\n if (length !== Object.keys(b).length) {\n return false;\n }\n for (i = length; i-- !== 0;) {\n if (!{}.hasOwnProperty.call(b, keys[i])) {\n return false;\n }\n }\n for (i = length; i-- !== 0;) {\n const key = keys[i];\n if (key === '_owner' && a.$$typeof) {\n continue;\n }\n if (!deepEqual(a[key], b[key])) {\n return false;\n }\n }\n return true;\n }\n return a !== a && b !== b;\n}\n\nfunction getDPR(element) {\n if (typeof window === 'undefined') {\n return 1;\n }\n const win = element.ownerDocument.defaultView || window;\n return win.devicePixelRatio || 1;\n}\n\nfunction roundByDPR(element, value) {\n const dpr = getDPR(element);\n return Math.round(value * dpr) / dpr;\n}\n\nfunction useLatestRef(value) {\n const ref = React.useRef(value);\n index(() => {\n ref.current = value;\n });\n return ref;\n}\n\n/**\n * Provides data to position a floating element.\n * @see https://floating-ui.com/docs/useFloating\n */\nfunction useFloating(options) {\n if (options === void 0) {\n options = {};\n }\n const {\n placement = 'bottom',\n strategy = 'absolute',\n middleware = [],\n platform,\n elements: {\n reference: externalReference,\n floating: externalFloating\n } = {},\n transform = true,\n whileElementsMounted,\n open\n } = options;\n const [data, setData] = React.useState({\n x: 0,\n y: 0,\n strategy,\n placement,\n middlewareData: {},\n isPositioned: false\n });\n const [latestMiddleware, setLatestMiddleware] = React.useState(middleware);\n if (!deepEqual(latestMiddleware, middleware)) {\n setLatestMiddleware(middleware);\n }\n const [_reference, _setReference] = React.useState(null);\n const [_floating, _setFloating] = React.useState(null);\n const setReference = React.useCallback(node => {\n if (node !== referenceRef.current) {\n referenceRef.current = node;\n _setReference(node);\n }\n }, []);\n const setFloating = React.useCallback(node => {\n if (node !== floatingRef.current) {\n floatingRef.current = node;\n _setFloating(node);\n }\n }, []);\n const referenceEl = externalReference || _reference;\n const floatingEl = externalFloating || _floating;\n const referenceRef = React.useRef(null);\n const floatingRef = React.useRef(null);\n const dataRef = React.useRef(data);\n const hasWhileElementsMounted = whileElementsMounted != null;\n const whileElementsMountedRef = useLatestRef(whileElementsMounted);\n const platformRef = useLatestRef(platform);\n const openRef = useLatestRef(open);\n const update = React.useCallback(() => {\n if (!referenceRef.current || !floatingRef.current) {\n return;\n }\n const config = {\n placement,\n strategy,\n middleware: latestMiddleware\n };\n if (platformRef.current) {\n config.platform = platformRef.current;\n }\n computePosition(referenceRef.current, floatingRef.current, config).then(data => {\n const fullData = {\n ...data,\n // The floating element's position may be recomputed while it's closed\n // but still mounted (such as when transitioning out). To ensure\n // `isPositioned` will be `false` initially on the next open, avoid\n // setting it to `true` when `open === false` (must be specified).\n isPositioned: openRef.current !== false\n };\n if (isMountedRef.current && !deepEqual(dataRef.current, fullData)) {\n dataRef.current = fullData;\n ReactDOM.flushSync(() => {\n setData(fullData);\n });\n }\n });\n }, [latestMiddleware, placement, strategy, platformRef, openRef]);\n index(() => {\n if (open === false && dataRef.current.isPositioned) {\n dataRef.current.isPositioned = false;\n setData(data => ({\n ...data,\n isPositioned: false\n }));\n }\n }, [open]);\n const isMountedRef = React.useRef(false);\n index(() => {\n isMountedRef.current = true;\n return () => {\n isMountedRef.current = false;\n };\n }, []);\n index(() => {\n if (referenceEl) referenceRef.current = referenceEl;\n if (floatingEl) floatingRef.current = floatingEl;\n if (referenceEl && floatingEl) {\n if (whileElementsMountedRef.current) {\n return whileElementsMountedRef.current(referenceEl, floatingEl, update);\n }\n update();\n }\n }, [referenceEl, floatingEl, update, whileElementsMountedRef, hasWhileElementsMounted]);\n const refs = React.useMemo(() => ({\n reference: referenceRef,\n floating: floatingRef,\n setReference,\n setFloating\n }), [setReference, setFloating]);\n const elements = React.useMemo(() => ({\n reference: referenceEl,\n floating: floatingEl\n }), [referenceEl, floatingEl]);\n const floatingStyles = React.useMemo(() => {\n const initialStyles = {\n position: strategy,\n left: 0,\n top: 0\n };\n if (!elements.floating) {\n return initialStyles;\n }\n const x = roundByDPR(elements.floating, data.x);\n const y = roundByDPR(elements.floating, data.y);\n if (transform) {\n return {\n ...initialStyles,\n transform: \"translate(\" + x + \"px, \" + y + \"px)\",\n ...(getDPR(elements.floating) >= 1.5 && {\n willChange: 'transform'\n })\n };\n }\n return {\n position: strategy,\n left: x,\n top: y\n };\n }, [strategy, transform, elements.floating, data.x, data.y]);\n return React.useMemo(() => ({\n ...data,\n update,\n refs,\n elements,\n floatingStyles\n }), [data, update, refs, elements, floatingStyles]);\n}\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * This wraps the core `arrow` middleware to allow React refs as the element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow$1 = options => {\n function isRef(value) {\n return {}.hasOwnProperty.call(value, 'current');\n }\n return {\n name: 'arrow',\n options,\n fn(state) {\n const {\n element,\n padding\n } = typeof options === 'function' ? options(state) : options;\n if (element && isRef(element)) {\n if (element.current != null) {\n return arrow$2({\n element: element.current,\n padding\n }).fn(state);\n }\n return {};\n }\n if (element) {\n return arrow$2({\n element,\n padding\n }).fn(state);\n }\n return {};\n }\n };\n};\n\n/**\n * Modifies the placement by translating the floating element along the\n * specified axes.\n * A number (shorthand for `mainAxis` or distance), or an axes configuration\n * object may be passed.\n * @see https://floating-ui.com/docs/offset\n */\nconst offset = (options, deps) => ({\n ...offset$1(options),\n options: [options, deps]\n});\n\n/**\n * Optimizes the visibility of the floating element by shifting it in order to\n * keep it in view when it will overflow the clipping boundary.\n * @see https://floating-ui.com/docs/shift\n */\nconst shift = (options, deps) => ({\n ...shift$1(options),\n options: [options, deps]\n});\n\n/**\n * Built-in `limiter` that will stop `shift()` at a certain point.\n */\nconst limitShift = (options, deps) => ({\n ...limitShift$1(options),\n options: [options, deps]\n});\n\n/**\n * Optimizes the visibility of the floating element by flipping the `placement`\n * in order to keep it in view when the preferred placement(s) will overflow the\n * clipping boundary. Alternative to `autoPlacement`.\n * @see https://floating-ui.com/docs/flip\n */\nconst flip = (options, deps) => ({\n ...flip$1(options),\n options: [options, deps]\n});\n\n/**\n * Provides data that allows you to change the size of the floating element —\n * for instance, prevent it from overflowing the clipping boundary or match the\n * width of the reference element.\n * @see https://floating-ui.com/docs/size\n */\nconst size = (options, deps) => ({\n ...size$1(options),\n options: [options, deps]\n});\n\n/**\n * Optimizes the visibility of the floating element by choosing the placement\n * that has the most space available automatically, without needing to specify a\n * preferred placement. Alternative to `flip`.\n * @see https://floating-ui.com/docs/autoPlacement\n */\nconst autoPlacement = (options, deps) => ({\n ...autoPlacement$1(options),\n options: [options, deps]\n});\n\n/**\n * Provides data to hide the floating element in applicable situations, such as\n * when it is not in the same clipping context as the reference element.\n * @see https://floating-ui.com/docs/hide\n */\nconst hide = (options, deps) => ({\n ...hide$1(options),\n options: [options, deps]\n});\n\n/**\n * Provides improved positioning for inline reference elements that can span\n * over multiple lines, such as hyperlinks or range selections.\n * @see https://floating-ui.com/docs/inline\n */\nconst inline = (options, deps) => ({\n ...inline$1(options),\n options: [options, deps]\n});\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * This wraps the core `arrow` middleware to allow React refs as the element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow = (options, deps) => ({\n ...arrow$1(options),\n options: [options, deps]\n});\n\nexport { arrow, autoPlacement, flip, hide, inline, limitShift, offset, shift, size, useFloating };\n","'use client';\n\nimport * as React from 'react';\nimport { getSide, getAlignment, getSideAxis } from '@floating-ui/utils';\nimport { ownerDocument } from '@base-ui-components/utils/owner';\nimport { useIsoLayoutEffect } from '@base-ui-components/utils/useIsoLayoutEffect';\nimport { useLatestRef } from '@base-ui-components/utils/useLatestRef';\nimport { useEventCallback } from '@base-ui-components/utils/useEventCallback';\nimport { autoUpdate, flip, limitShift, offset, shift, useFloating, size, hide } from \"../floating-ui-react/index.js\";\nimport { useDirection } from \"../direction-provider/DirectionContext.js\";\nimport { arrow } from \"../floating-ui-react/middleware/arrow.js\";\nfunction getLogicalSide(sideParam, renderedSide, isRtl) {\n const isLogicalSideParam = sideParam === 'inline-start' || sideParam === 'inline-end';\n const logicalRight = isRtl ? 'inline-start' : 'inline-end';\n const logicalLeft = isRtl ? 'inline-end' : 'inline-start';\n return {\n top: 'top',\n right: isLogicalSideParam ? logicalRight : 'right',\n bottom: 'bottom',\n left: isLogicalSideParam ? logicalLeft : 'left'\n }[renderedSide];\n}\nfunction getOffsetData(state, sideParam, isRtl) {\n const {\n rects,\n placement\n } = state;\n const data = {\n side: getLogicalSide(sideParam, getSide(placement), isRtl),\n align: getAlignment(placement) || 'center',\n anchor: {\n width: rects.reference.width,\n height: rects.reference.height\n },\n positioner: {\n width: rects.floating.width,\n height: rects.floating.height\n }\n };\n return data;\n}\n/**\n * Provides standardized anchor positioning behavior for floating elements. Wraps Floating UI's\n * `useFloating` hook.\n */\nexport function useAnchorPositioning(params) {\n const {\n // Public parameters\n anchor,\n positionMethod = 'absolute',\n side: sideParam = 'bottom',\n sideOffset = 0,\n align = 'center',\n alignOffset = 0,\n collisionBoundary,\n collisionPadding = 5,\n sticky = false,\n arrowPadding = 5,\n trackAnchor = true,\n // Private parameters\n keepMounted = false,\n floatingRootContext,\n mounted,\n collisionAvoidance,\n shiftCrossAxis = false,\n nodeId,\n adaptiveOrigin\n } = params;\n const collisionAvoidanceSide = collisionAvoidance.side || 'flip';\n const collisionAvoidanceAlign = collisionAvoidance.align || 'flip';\n const collisionAvoidanceFallbackAxisSide = collisionAvoidance.fallbackAxisSide || 'end';\n const anchorFn = typeof anchor === 'function' ? anchor : undefined;\n const anchorFnCallback = useEventCallback(anchorFn);\n const anchorDep = anchorFn ? anchorFnCallback : anchor;\n const anchorValueRef = useLatestRef(anchor);\n const direction = useDirection();\n const isRtl = direction === 'rtl';\n const side = {\n top: 'top',\n right: 'right',\n bottom: 'bottom',\n left: 'left',\n 'inline-end': isRtl ? 'left' : 'right',\n 'inline-start': isRtl ? 'right' : 'left'\n }[sideParam];\n const placement = align === 'center' ? side : `${side}-${align}`;\n const commonCollisionProps = {\n boundary: collisionBoundary === 'clipping-ancestors' ? 'clippingAncestors' : collisionBoundary,\n padding: collisionPadding\n };\n\n // Using a ref assumes that the arrow element is always present in the DOM for the lifetime of the\n // popup. If this assumption ends up being false, we can switch to state to manage the arrow's\n // presence.\n const arrowRef = React.useRef(null);\n\n // Keep these reactive if they're not functions\n const sideOffsetRef = useLatestRef(sideOffset);\n const alignOffsetRef = useLatestRef(alignOffset);\n const sideOffsetDep = typeof sideOffset !== 'function' ? sideOffset : 0;\n const alignOffsetDep = typeof alignOffset !== 'function' ? alignOffset : 0;\n const middleware = [offset(state => {\n const data = getOffsetData(state, sideParam, isRtl);\n const sideAxis = typeof sideOffsetRef.current === 'function' ? sideOffsetRef.current(data) : sideOffsetRef.current;\n const alignAxis = typeof alignOffsetRef.current === 'function' ? alignOffsetRef.current(data) : alignOffsetRef.current;\n return {\n mainAxis: sideAxis,\n crossAxis: alignAxis,\n alignmentAxis: alignAxis\n };\n }, [sideOffsetDep, alignOffsetDep, isRtl, sideParam])];\n const shiftDisabled = collisionAvoidanceAlign === 'none' && collisionAvoidanceSide !== 'shift';\n const crossAxisShiftEnabled = !shiftDisabled && (sticky || shiftCrossAxis || collisionAvoidanceSide === 'shift');\n const flipMiddleware = collisionAvoidanceSide === 'none' ? null : flip({\n ...commonCollisionProps,\n mainAxis: !shiftCrossAxis && collisionAvoidanceSide === 'flip',\n crossAxis: collisionAvoidanceAlign === 'flip' ? 'alignment' : false,\n fallbackAxisSideDirection: collisionAvoidanceFallbackAxisSide\n });\n const shiftMiddleware = shiftDisabled ? null : shift(data => {\n const html = ownerDocument(data.elements.floating).documentElement;\n return {\n ...commonCollisionProps,\n // Use the Layout Viewport to avoid shifting around when pinch-zooming\n // for context menus.\n rootBoundary: shiftCrossAxis ? {\n x: 0,\n y: 0,\n width: html.clientWidth,\n height: html.clientHeight\n } : undefined,\n mainAxis: collisionAvoidanceAlign !== 'none',\n crossAxis: crossAxisShiftEnabled,\n limiter: sticky || shiftCrossAxis ? undefined : limitShift(() => {\n if (!arrowRef.current) {\n return {};\n }\n const {\n height\n } = arrowRef.current.getBoundingClientRect();\n return {\n offset: height / 2 + (typeof collisionPadding === 'number' ? collisionPadding : 0)\n };\n })\n };\n }, [commonCollisionProps, sticky, shiftCrossAxis, collisionPadding, collisionAvoidanceAlign]);\n\n // https://floating-ui.com/docs/flip#combining-with-shift\n if (collisionAvoidanceSide === 'shift' || collisionAvoidanceAlign === 'shift' || align === 'center') {\n middleware.push(shiftMiddleware, flipMiddleware);\n } else {\n middleware.push(flipMiddleware, shiftMiddleware);\n }\n middleware.push(size({\n ...commonCollisionProps,\n apply({\n elements: {\n floating\n },\n rects: {\n reference\n },\n availableWidth,\n availableHeight\n }) {\n Object.entries({\n '--available-width': `${availableWidth}px`,\n '--available-height': `${availableHeight}px`,\n '--anchor-width': `${reference.width}px`,\n '--anchor-height': `${reference.height}px`\n }).forEach(([key, value]) => {\n floating.style.setProperty(key, value);\n });\n }\n }), arrow(() => ({\n // `transform-origin` calculations rely on an element existing. If the arrow hasn't been set,\n // we'll create a fake element.\n element: arrowRef.current || document.createElement('div'),\n padding: arrowPadding,\n offsetParent: 'floating'\n }), [arrowPadding]), hide(), {\n name: 'transformOrigin',\n fn(state) {\n const {\n elements,\n middlewareData,\n placement: renderedPlacement,\n rects,\n y\n } = state;\n const currentRenderedSide = getSide(renderedPlacement);\n const currentRenderedAxis = getSideAxis(currentRenderedSide);\n const arrowEl = arrowRef.current;\n const arrowX = middlewareData.arrow?.x || 0;\n const arrowY = middlewareData.arrow?.y || 0;\n const arrowWidth = arrowEl?.clientWidth || 0;\n const arrowHeight = arrowEl?.clientHeight || 0;\n const transformX = arrowX + arrowWidth / 2;\n const transformY = arrowY + arrowHeight / 2;\n const shiftY = Math.abs(middlewareData.shift?.y || 0);\n const halfAnchorHeight = rects.reference.height / 2;\n const isOverlappingAnchor = shiftY > (typeof sideOffset === 'function' ? sideOffset(getOffsetData(state, sideParam, isRtl)) : sideOffset);\n const adjacentTransformOrigin = {\n top: `${transformX}px calc(100% + ${sideOffset}px)`,\n bottom: `${transformX}px ${-sideOffset}px`,\n left: `calc(100% + ${sideOffset}px) ${transformY}px`,\n right: `${-sideOffset}px ${transformY}px`\n }[currentRenderedSide];\n const overlapTransformOrigin = `${transformX}px ${rects.reference.y + halfAnchorHeight - y}px`;\n elements.floating.style.setProperty('--transform-origin', crossAxisShiftEnabled && currentRenderedAxis === 'y' && isOverlappingAnchor ? overlapTransformOrigin : adjacentTransformOrigin);\n return {};\n }\n }, adaptiveOrigin);\n\n // Ensure positioning doesn't run initially for `keepMounted` elements that\n // aren't initially open.\n let rootContext = floatingRootContext;\n if (!mounted && floatingRootContext) {\n rootContext = {\n ...floatingRootContext,\n elements: {\n reference: null,\n floating: null,\n domReference: null\n }\n };\n }\n const autoUpdateOptions = React.useMemo(() => ({\n elementResize: trackAnchor && typeof ResizeObserver !== 'undefined',\n layoutShift: trackAnchor && typeof IntersectionObserver !== 'undefined'\n }), [trackAnchor]);\n const {\n refs,\n elements,\n x,\n y,\n middlewareData,\n update,\n placement: renderedPlacement,\n context,\n isPositioned,\n floatingStyles: originalFloatingStyles\n } = useFloating({\n rootContext,\n placement,\n middleware,\n strategy: positionMethod,\n whileElementsMounted: keepMounted ? undefined : (...args) => autoUpdate(...args, autoUpdateOptions),\n nodeId\n });\n const {\n sideX,\n sideY\n } = middlewareData.adaptiveOrigin || {};\n const floatingStyles = React.useMemo(() => adaptiveOrigin ? {\n position: positionMethod,\n [sideX]: `${x}px`,\n [sideY]: `${y}px`\n } : originalFloatingStyles, [adaptiveOrigin, sideX, sideY, positionMethod, x, y, originalFloatingStyles]);\n const registeredPositionReferenceRef = React.useRef(null);\n useIsoLayoutEffect(() => {\n if (!mounted) {\n return;\n }\n const anchorValue = anchorValueRef.current;\n const resolvedAnchor = typeof anchorValue === 'function' ? anchorValue() : anchorValue;\n const unwrappedElement = (isRef(resolvedAnchor) ? resolvedAnchor.current : resolvedAnchor) || null;\n const finalAnchor = unwrappedElement || null;\n if (finalAnchor !== registeredPositionReferenceRef.current) {\n refs.setPositionReference(finalAnchor);\n registeredPositionReferenceRef.current = finalAnchor;\n }\n }, [mounted, refs, anchorDep, anchorValueRef]);\n React.useEffect(() => {\n if (!mounted) {\n return;\n }\n const anchorValue = anchorValueRef.current;\n\n // Refs from parent components are set after useLayoutEffect runs and are available in useEffect.\n // Therefore, if the anchor is a ref, we need to update the position reference in useEffect.\n if (typeof anchorValue === 'function') {\n return;\n }\n if (isRef(anchorValue) && anchorValue.current !== registeredPositionReferenceRef.current) {\n refs.setPositionReference(anchorValue.current);\n registeredPositionReferenceRef.current = anchorValue.current;\n }\n }, [mounted, refs, anchorDep, anchorValueRef]);\n React.useEffect(() => {\n if (keepMounted && mounted && elements.domReference && elements.floating) {\n return autoUpdate(elements.domReference, elements.floating, update, autoUpdateOptions);\n }\n return undefined;\n }, [keepMounted, mounted, elements, update, autoUpdateOptions]);\n const renderedSide = getSide(renderedPlacement);\n const logicalRenderedSide = getLogicalSide(sideParam, renderedSide, isRtl);\n const renderedAlign = getAlignment(renderedPlacement) || 'center';\n const anchorHidden = Boolean(middlewareData.hide?.referenceHidden);\n const arrowStyles = React.useMemo(() => ({\n position: 'absolute',\n top: middlewareData.arrow?.y,\n left: middlewareData.arrow?.x\n }), [middlewareData.arrow]);\n const arrowUncentered = middlewareData.arrow?.centerOffset !== 0;\n return React.useMemo(() => ({\n positionerStyles: floatingStyles,\n arrowStyles,\n arrowRef,\n arrowUncentered,\n side: logicalRenderedSide,\n align: renderedAlign,\n anchorHidden,\n refs,\n context,\n isPositioned,\n update\n }), [floatingStyles, arrowStyles, arrowRef, arrowUncentered, logicalRenderedSide, renderedAlign, anchorHidden, refs, context, isPositioned, update]);\n}\nfunction isRef(param) {\n return param != null && 'current' in param;\n}","import { clamp, evaluate, getAlignment, getAlignmentAxis, getAxisLength, getPaddingObject } from '@floating-ui/utils';\n/**\n * Fork of the original `arrow` middleware from Floating UI that allows\n * configuring the offset parent.\n */\nexport const baseArrow = options => ({\n name: 'arrow',\n options,\n async fn(state) {\n const {\n x,\n y,\n placement,\n rects,\n platform,\n elements,\n middlewareData\n } = state;\n // Since `element` is required, we don't Partial<> the type.\n const {\n element,\n padding = 0,\n offsetParent = 'real'\n } = evaluate(options, state) || {};\n if (element == null) {\n return {};\n }\n const paddingObject = getPaddingObject(padding);\n const coords = {\n x,\n y\n };\n const axis = getAlignmentAxis(placement);\n const length = getAxisLength(axis);\n const arrowDimensions = await platform.getDimensions(element);\n const isYAxis = axis === 'y';\n const minProp = isYAxis ? 'top' : 'left';\n const maxProp = isYAxis ? 'bottom' : 'right';\n const clientProp = isYAxis ? 'clientHeight' : 'clientWidth';\n const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];\n const startDiff = coords[axis] - rects.reference[axis];\n const arrowOffsetParent = offsetParent === 'real' ? await platform.getOffsetParent?.(element) : elements.floating;\n let clientSize = elements.floating[clientProp] || rects.floating[length];\n\n // DOM platform can return `window` as the `offsetParent`.\n if (!clientSize || !(await platform.isElement?.(arrowOffsetParent))) {\n clientSize = elements.floating[clientProp] || rects.floating[length];\n }\n const centerToReference = endDiff / 2 - startDiff / 2;\n\n // If the padding is large enough that it causes the arrow to no longer be\n // centered, modify the padding so that it is centered.\n const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;\n const minPadding = Math.min(paddingObject[minProp], largestPossiblePadding);\n const maxPadding = Math.min(paddingObject[maxProp], largestPossiblePadding);\n\n // Make sure the arrow doesn't overflow the floating element if the center\n // point is outside the floating element's bounds.\n const min = minPadding;\n const max = clientSize - arrowDimensions[length] - maxPadding;\n const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;\n const offset = clamp(min, center, max);\n\n // If the reference is small enough that the arrow's padding causes it to\n // to point to nothing for an aligned placement, adjust the offset of the\n // floating element itself. To ensure `shift()` continues to take action,\n // a single reset is performed when this is true.\n const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center !== offset && rects.reference[length] / 2 - (center < min ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;\n // eslint-disable-next-line no-nested-ternary\n const alignmentOffset = shouldAddOffset ? center < min ? center - min : center - max : 0;\n return {\n [axis]: coords[axis] + alignmentOffset,\n data: {\n [axis]: offset,\n centerOffset: center - offset - alignmentOffset,\n ...(shouldAddOffset && {\n alignmentOffset\n })\n },\n reset: shouldAddOffset\n };\n }\n});\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * This wraps the core `arrow` middleware to allow React refs as the element.\n * @see https://floating-ui.com/docs/arrow\n */\nexport const arrow = (options, deps) => ({\n ...baseArrow(options),\n options: [options, deps]\n});","import * as React from 'react';\nimport { useFloating as usePosition } from '@floating-ui/react-dom';\nimport { isElement } from '@floating-ui/utils/dom';\nimport { useIsoLayoutEffect } from '@base-ui-components/utils/useIsoLayoutEffect';\nimport { useFloatingTree } from \"../components/FloatingTree.js\";\nimport { useFloatingRootContext } from \"./useFloatingRootContext.js\";\n\n/**\n * Provides data to position a floating element and context to add interactions.\n * @see https://floating-ui.com/docs/useFloating\n */\nexport function useFloating(options = {}) {\n const {\n nodeId\n } = options;\n const internalRootContext = useFloatingRootContext({\n ...options,\n elements: {\n reference: null,\n floating: null,\n ...options.elements\n }\n });\n const rootContext = options.rootContext || internalRootContext;\n const computedElements = rootContext.elements;\n const [domReferenceState, setDomReference] = React.useState(null);\n const [positionReference, setPositionReferenceRaw] = React.useState(null);\n const optionDomReference = computedElements?.domReference;\n const domReference = optionDomReference || domReferenceState;\n const domReferenceRef = React.useRef(null);\n const tree = useFloatingTree();\n useIsoLayoutEffect(() => {\n if (domReference) {\n domReferenceRef.current = domReference;\n }\n }, [domReference]);\n const position = usePosition({\n ...options,\n elements: {\n ...computedElements,\n ...(positionReference && {\n reference: positionReference\n })\n }\n });\n const setPositionReference = React.useCallback(node => {\n const computedPositionReference = isElement(node) ? {\n getBoundingClientRect: () => node.getBoundingClientRect(),\n getClientRects: () => node.getClientRects(),\n contextElement: node\n } : node;\n // Store the positionReference in state if the DOM reference is specified externally via the\n // `elements.reference` option. This ensures that it won't be overridden on future renders.\n setPositionReferenceRaw(computedPositionReference);\n position.refs.setReference(computedPositionReference);\n }, [position.refs]);\n const setReference = React.useCallback(node => {\n if (isElement(node) || node === null) {\n domReferenceRef.current = node;\n setDomReference(node);\n }\n\n // Backwards-compatibility for passing a virtual element to `reference`\n // after it has set the DOM reference.\n if (isElement(position.refs.reference.current) || position.refs.reference.current === null ||\n // Don't allow setting virtual elements using the old technique back to\n // `null` to support `positionReference` + an unstable `reference`\n // callback ref.\n node !== null && !isElement(node)) {\n position.refs.setReference(node);\n }\n }, [position.refs]);\n const refs = React.useMemo(() => ({\n ...position.refs,\n setReference,\n setPositionReference,\n domReference: domReferenceRef\n }), [position.refs, setReference, setPositionReference]);\n const elements = React.useMemo(() => ({\n ...position.elements,\n domReference\n }), [position.elements, domReference]);\n const context = React.useMemo(() => ({\n ...position,\n ...rootContext,\n refs,\n elements,\n nodeId\n }), [position, refs, elements, nodeId, rootContext]);\n useIsoLayoutEffect(() => {\n rootContext.dataRef.current.floatingContext = context;\n const node = tree?.nodesRef.current.find(n => n.id === nodeId);\n if (node) {\n node.context = context;\n }\n });\n return React.useMemo(() => ({\n ...position,\n context,\n refs,\n elements\n }), [position, refs, elements, context]);\n}","/* eslint-disable no-bitwise */\n'use client';\n\nimport * as React from 'react';\nimport { useRefWithInit } from '@base-ui-components/utils/useRefWithInit';\nimport { useEventCallback } from '@base-ui-components/utils/useEventCallback';\nimport { useIsoLayoutEffect } from '@base-ui-components/utils/useIsoLayoutEffect';\nimport { CompositeListContext } from \"./CompositeListContext.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\n/**\n * Provides context for a list of items in a composite component.\n * @internal\n */\nexport function CompositeList(props) {\n const {\n children,\n elementsRef,\n labelsRef,\n onMapChange\n } = props;\n const nextIndexRef = React.useRef(0);\n const listeners = useRefWithInit(createListeners).current;\n\n // We use a stable `map` to avoid O(n^2) re-allocation costs for large lists.\n // `mapTick` is our re-render trigger mechanism. We also need to update the\n // elements and label refs, but there's a lot of async work going on and sometimes\n // the effect that handles `onMapChange` gets called after those refs have been\n // filled, and we don't want to lose those values by setting their lengths to `0`.\n // We also need to have them at the proper length because floating-ui uses that\n // information for list navigation.\n\n const map = useRefWithInit(createMap).current;\n const [mapTick, setMapTick] = React.useState(0);\n const lastTickRef = React.useRef(mapTick);\n const register = useEventCallback((node, metadata) => {\n map.set(node, metadata ?? null);\n lastTickRef.current += 1;\n setMapTick(lastTickRef.current);\n });\n const unregister = useEventCallback(node => {\n map.delete(node);\n lastTickRef.current += 1;\n setMapTick(lastTickRef.current);\n });\n const sortedMap = React.useMemo(() => {\n // `mapTick` is the `useMemo` trigger as `map` is stable.\n disableEslintWarning(mapTick);\n const newMap = new Map();\n const sortedNodes = Array.from(map.keys()).sort(sortByDocumentPosition);\n sortedNodes.forEach((node, index) => {\n const metadata = map.get(node) ?? {};\n newMap.set(node, {\n ...metadata,\n index\n });\n });\n return newMap;\n }, [map, mapTick]);\n useIsoLayoutEffect(() => {\n const shouldUpdateLengths = lastTickRef.current === mapTick;\n if (shouldUpdateLengths) {\n if (elementsRef.current.length !== sortedMap.size) {\n elementsRef.current.length = sortedMap.size;\n }\n if (labelsRef && labelsRef.current.length !== sortedMap.size) {\n labelsRef.current.length = sortedMap.size;\n }\n }\n onMapChange?.(sortedMap);\n }, [onMapChange, sortedMap, elementsRef, labelsRef, mapTick, lastTickRef]);\n const subscribeMapChange = useEventCallback(fn => {\n listeners.add(fn);\n return () => {\n listeners.delete(fn);\n };\n });\n useIsoLayoutEffect(() => {\n listeners.forEach(l => l(sortedMap));\n }, [listeners, sortedMap]);\n const contextValue = React.useMemo(() => ({\n register,\n unregister,\n subscribeMapChange,\n elementsRef,\n labelsRef,\n nextIndexRef\n }), [register, unregister, subscribeMapChange, elementsRef, labelsRef, nextIndexRef]);\n return /*#__PURE__*/_jsx(CompositeListContext.Provider, {\n value: contextValue,\n children: children\n });\n}\nfunction createMap() {\n return new Map();\n}\nfunction createListeners() {\n return new Set();\n}\nfunction sortByDocumentPosition(a, b) {\n const position = a.compareDocumentPosition(b);\n if (position & Node.DOCUMENT_POSITION_FOLLOWING || position & Node.DOCUMENT_POSITION_CONTAINED_BY) {\n return -1;\n }\n if (position & Node.DOCUMENT_POSITION_PRECEDING || position & Node.DOCUMENT_POSITION_CONTAINS) {\n return 1;\n }\n return 0;\n}\nfunction disableEslintWarning(_) {}","import * as React from 'react';\n\n/**\n * @internal\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport const InternalBackdrop = /*#__PURE__*/React.forwardRef(function InternalBackdrop(props, ref) {\n const {\n cutout,\n ...otherProps\n } = props;\n let clipPath;\n if (cutout) {\n const rect = cutout?.getBoundingClientRect();\n clipPath = `polygon(\n 0% 0%,\n 100% 0%,\n 100% 100%,\n 0% 100%,\n 0% 0%,\n ${rect.left}px ${rect.top}px,\n ${rect.left}px ${rect.bottom}px,\n ${rect.right}px ${rect.bottom}px,\n ${rect.right}px ${rect.top}px,\n ${rect.left}px ${rect.top}px\n )`;\n }\n return /*#__PURE__*/_jsx(\"div\", {\n ref: ref,\n role: \"presentation\"\n // Ensures Floating UI's outside press detection runs, as it considers\n // it an element that existed when the popup rendered.\n ,\n \"data-base-ui-inert\": \"\",\n ...otherProps,\n style: {\n position: 'fixed',\n inset: 0,\n userSelect: 'none',\n WebkitUserSelect: 'none',\n clipPath\n }\n });\n});\nif (process.env.NODE_ENV !== \"production\") InternalBackdrop.displayName = \"InternalBackdrop\";","'use client';\n\nimport * as React from 'react';\nimport { inertValue } from '@base-ui-components/utils/inertValue';\nimport { FloatingNode, useFloatingNodeId, useFloatingParentNodeId, useFloatingTree } from \"../../floating-ui-react/index.js\";\nimport { MenuPositionerContext } from \"./MenuPositionerContext.js\";\nimport { useMenuRootContext } from \"../root/MenuRootContext.js\";\nimport { useAnchorPositioning } from \"../../utils/useAnchorPositioning.js\";\nimport { useRenderElement } from \"../../utils/useRenderElement.js\";\nimport { popupStateMapping } from \"../../utils/popupStateMapping.js\";\nimport { CompositeList } from \"../../composite/list/CompositeList.js\";\nimport { InternalBackdrop } from \"../../utils/InternalBackdrop.js\";\nimport { useMenuPortalContext } from \"../portal/MenuPortalContext.js\";\nimport { DROPDOWN_COLLISION_AVOIDANCE } from \"../../utils/constants.js\";\nimport { useContextMenuRootContext } from \"../../context-menu/root/ContextMenuRootContext.js\";\n\n/**\n * Positions the menu popup against the trigger.\n * Renders a `<div>` element.\n *\n * Documentation: [Base UI Menu](https://base-ui.com/react/components/menu)\n */\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nexport const MenuPositioner = /*#__PURE__*/React.forwardRef(function MenuPositioner(componentProps, forwardedRef) {\n const {\n anchor: anchorProp,\n positionMethod: positionMethodProp = 'absolute',\n className,\n render,\n side,\n align: alignProp,\n sideOffset: sideOffsetProp = 0,\n alignOffset: alignOffsetProp = 0,\n collisionBoundary = 'clipping-ancestors',\n collisionPadding = 5,\n arrowPadding = 5,\n sticky = false,\n trackAnchor = true,\n collisionAvoidance = DROPDOWN_COLLISION_AVOIDANCE,\n ...elementProps\n } = componentProps;\n const {\n open,\n setOpen,\n floatingRootContext,\n setPositionerElement,\n itemDomElements,\n itemLabels,\n mounted,\n modal,\n lastOpenChangeReason,\n parent,\n setHoverEnabled,\n triggerElement\n } = useMenuRootContext();\n const keepMounted = useMenuPortalContext();\n const nodeId = useFloatingNodeId();\n const parentNodeId = useFloatingParentNodeId();\n const contextMenuContext = useContextMenuRootContext(true);\n let anchor = anchorProp;\n let sideOffset = sideOffsetProp;\n let alignOffset = alignOffsetProp;\n let align = alignProp;\n if (parent.type === 'context-menu') {\n anchor = parent.context?.anchor ?? anchorProp;\n align = componentProps.align ?? 'start';\n alignOffset = componentProps.alignOffset ?? 2;\n sideOffset = componentProps.sideOffset ?? -5;\n }\n let computedSide = side;\n let computedAlign = align;\n if (parent.type === 'menu') {\n computedSide = computedSide ?? 'inline-end';\n computedAlign = computedAlign ?? 'start';\n } else if (parent.type === 'menubar') {\n computedSide = computedSide ?? 'bottom';\n computedAlign = computedAlign ?? 'start';\n }\n const contextMenu = parent.type === 'context-menu';\n const positioner = useAnchorPositioning({\n anchor,\n floatingRootContext,\n positionMethod: contextMenuContext ? 'fixed' : positionMethodProp,\n mounted,\n side: computedSide,\n sideOffset,\n align: computedAlign,\n alignOffset,\n arrowPadding: contextMenu ? 0 : arrowPadding,\n collisionBoundary,\n collisionPadding,\n sticky,\n nodeId,\n keepMounted,\n trackAnchor,\n collisionAvoidance,\n shiftCrossAxis: contextMenu\n });\n const {\n events: menuEvents\n } = useFloatingTree();\n const positionerProps = React.useMemo(() => {\n const hiddenStyles = {};\n if (!open) {\n hiddenStyles.pointerEvents = 'none';\n }\n return {\n role: 'presentation',\n hidden: !mounted,\n style: {\n ...positioner.positionerStyles,\n ...hiddenStyles\n }\n };\n }, [open, mounted, positioner.positionerStyles]);\n React.useEffect(() => {\n function onMenuOpenChange(event) {\n if (event.open) {\n if (event.parentNodeId === nodeId) {\n setHoverEnabled(false);\n }\n if (event.nodeId !== nodeId && event.parentNodeId === parentNodeId) {\n setOpen(false, undefined, 'sibling-open');\n }\n } else if (event.parentNodeId === nodeId) {\n setHoverEnabled(true);\n }\n }\n menuEvents.on('openchange', onMenuOpenChange);\n return () => {\n menuEvents.off('openchange', onMenuOpenChange);\n };\n }, [menuEvents, nodeId, parentNodeId, setOpen, setHoverEnabled]);\n React.useEffect(() => {\n menuEvents.emit('openchange', {\n open,\n nodeId,\n parentNodeId\n });\n }, [menuEvents, open, nodeId, parentNodeId]);\n const state = React.useMemo(() => ({\n open,\n side: positioner.side,\n align: positioner.align,\n anchorHidden: positioner.anchorHidden,\n nested: parent.type === 'menu'\n }), [open, positioner.side, positioner.align, positioner.anchorHidden, parent.type]);\n const contextValue = React.useMemo(() => ({\n side: positioner.side,\n align: positioner.align,\n arrowRef: positioner.arrowRef,\n arrowUncentered: positioner.arrowUncentered,\n arrowStyles: positioner.arrowStyles,\n floatingContext: positioner.context\n }), [positioner.side, positioner.align, positioner.arrowRef, positioner.arrowUncentered, positioner.arrowStyles, positioner.context]);\n const element = useRenderElement('div', componentProps, {\n state,\n customStyleHookMapping: popupStateMapping,\n ref: [forwardedRef, setPositionerElement],\n props: {\n ...positionerProps,\n ...elementProps\n }\n });\n const shouldRenderBackdrop = mounted && parent.type !== 'menu' && (parent.type !== 'menubar' && modal && lastOpenChangeReason !== 'trigger-hover' || parent.type === 'menubar' && parent.context.modal);\n\n // cuts a hole in the backdrop to allow pointer interaction with the menubar or dropdown menu trigger element\n let backdropCutout = null;\n if (parent.type === 'menubar') {\n backdropCutout = parent.context.contentElement;\n } else if (parent.type === undefined) {\n backdropCutout = triggerElement;\n }\n return /*#__PURE__*/_jsxs(MenuPositionerContext.Provider, {\n value: contextValue,\n children: [shouldRenderBackdrop && /*#__PURE__*/_jsx(InternalBackdrop, {\n ref: parent.type === 'context-menu' || parent.type === 'nested-context-menu' ? parent.context.internalBackdropRef : null,\n inert: inertValue(!open),\n cutout: backdropCutout\n }), /*#__PURE__*/_jsx(FloatingNode, {\n id: nodeId,\n children: /*#__PURE__*/_jsx(CompositeList, {\n elementsRef: itemDomElements,\n labelsRef: itemLabels,\n children: element\n })\n })]\n });\n});\nif (process.env.NODE_ENV !== \"production\") MenuPositioner.displayName = \"MenuPositioner\";","import { isReactVersionAtLeast } from \"./reactVersion.js\";\nexport function inertValue(value) {\n if (isReactVersionAtLeast(19)) {\n return value;\n }\n // compatibility with React < 19\n return value ? 'true' : undefined;\n}","// Modified to add conditional `aria-hidden` support:\n// https://github.com/theKashey/aria-hidden/blob/9220c8f4a4fd35f63bee5510a9f41a37264382d4/src/index.ts\nimport { getNodeName } from '@floating-ui/utils/dom';\nimport { getDocument } from \"./element.js\";\nconst counters = {\n inert: new WeakMap(),\n 'aria-hidden': new WeakMap(),\n none: new WeakMap()\n};\nfunction getCounterMap(control) {\n if (control === 'inert') {\n return counters.inert;\n }\n if (control === 'aria-hidden') {\n return counters['aria-hidden'];\n }\n return counters.none;\n}\nlet uncontrolledElementsSet = new WeakSet();\nlet markerMap = {};\nlet lockCount = 0;\nexport const supportsInert = () => typeof HTMLElement !== 'undefined' && 'inert' in HTMLElement.prototype;\nconst unwrapHost = node => node && (node.host || unwrapHost(node.parentNode));\nconst correctElements = (parent, targets) => targets.map(target => {\n if (parent.contains(target)) {\n return target;\n }\n const correctedTarget = unwrapHost(target);\n if (parent.contains(correctedTarget)) {\n return correctedTarget;\n }\n return null;\n}).filter(x => x != null);\nfunction applyAttributeToOthers(uncorrectedAvoidElements, body, ariaHidden, inert) {\n const markerName = 'data-base-ui-inert';\n // eslint-disable-next-line no-nested-ternary\n const controlAttribute = inert ? 'inert' : ariaHidden ? 'aria-hidden' : null;\n const avoidElements = correctElements(body, uncorrectedAvoidElements);\n const elementsToKeep = new Set();\n const elementsToStop = new Set(avoidElements);\n const hiddenElements = [];\n if (!markerMap[markerName]) {\n markerMap[markerName] = new WeakMap();\n }\n const markerCounter = markerMap[markerName];\n avoidElements.forEach(keep);\n deep(body);\n elementsToKeep.clear();\n function keep(el) {\n if (!el || elementsToKeep.has(el)) {\n return;\n }\n elementsToKeep.add(el);\n if (el.parentNode) {\n keep(el.parentNode);\n }\n }\n function deep(parent) {\n if (!parent || elementsToStop.has(parent)) {\n return;\n }\n [].forEach.call(parent.children, node => {\n if (getNodeName(node) === 'script') {\n return;\n }\n if (elementsToKeep.has(node)) {\n deep(node);\n } else {\n const attr = controlAttribute ? node.getAttribute(controlAttribute) : null;\n const alreadyHidden = attr !== null && attr !== 'false';\n const counterMap = getCounterMap(controlAttribute);\n const counterValue = (counterMap.get(node) || 0) + 1;\n const markerValue = (markerCounter.get(node) || 0) + 1;\n counterMap.set(node, counterValue);\n markerCounter.set(node, markerValue);\n hiddenElements.push(node);\n if (counterValue === 1 && alreadyHidden) {\n uncontrolledElementsSet.add(node);\n }\n if (markerValue === 1) {\n node.setAttribute(markerName, '');\n }\n if (!alreadyHidden && controlAttribute) {\n node.setAttribute(controlAttribute, controlAttribute === 'inert' ? '' : 'true');\n }\n }\n });\n }\n lockCount += 1;\n return () => {\n hiddenElements.forEach(element => {\n const counterMap = getCounterMap(controlAttribute);\n const currentCounterValue = counterMap.get(element) || 0;\n const counterValue = currentCounterValue - 1;\n const markerValue = (markerCounter.get(element) || 0) - 1;\n counterMap.set(element, counterValue);\n markerCounter.set(element, markerValue);\n if (!counterValue) {\n if (!uncontrolledElementsSet.has(element) && controlAttribute) {\n element.removeAttribute(controlAttribute);\n }\n uncontrolledElementsSet.delete(element);\n }\n if (!markerValue) {\n element.removeAttribute(markerName);\n }\n });\n lockCount -= 1;\n if (!lockCount) {\n counters.inert = new WeakMap();\n counters['aria-hidden'] = new WeakMap();\n counters.none = new WeakMap();\n uncontrolledElementsSet = new WeakSet();\n markerMap = {};\n }\n };\n}\nexport function markOthers(avoidElements, ariaHidden = false, inert = false) {\n const body = getDocument(avoidElements[0]).body;\n return applyAttributeToOthers(avoidElements.concat(Array.from(body.querySelectorAll('[aria-live]'))), body, ariaHidden, inert);\n}","import * as React from 'react';\nimport { tabbable, isTabbable, focusable } from 'tabbable';\nimport { getNodeName, isHTMLElement } from '@floating-ui/utils/dom';\nimport { useMergedRefs } from '@base-ui-components/utils/useMergedRefs';\nimport { useLatestRef } from '@base-ui-components/utils/useLatestRef';\nimport { useEventCallback } from '@base-ui-components/utils/useEventCallback';\nimport { useIsoLayoutEffect } from '@base-ui-components/utils/useIsoLayoutEffect';\nimport { visuallyHidden } from '@base-ui-components/utils/visuallyHidden';\nimport { useTimeout } from '@base-ui-components/utils/useTimeout';\nimport { FocusGuard } from \"../../utils/FocusGuard.js\";\nimport { activeElement, contains, getDocument, getTarget, isTypeableCombobox, isVirtualClick, isVirtualPointerEvent, stopEvent, getNodeAncestors, getNodeChildren, getFloatingFocusElement, getTabbableOptions, isOutsideEvent, getNextTabbable, getPreviousTabbable } from \"../utils.js\";\nimport { createAttribute } from \"../utils/createAttribute.js\";\nimport { enqueueFocus } from \"../utils/enqueueFocus.js\";\nimport { markOthers } from \"../utils/markOthers.js\";\nimport { usePortalContext } from \"./FloatingPortal.js\";\nimport { useFloatingTree } from \"./FloatingTree.js\";\nimport { CLICK_TRIGGER_IDENTIFIER } from \"../../utils/constants.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst LIST_LIMIT = 20;\nlet previouslyFocusedElements = [];\nfunction clearDisconnectedPreviouslyFocusedElements() {\n previouslyFocusedElements = previouslyFocusedElements.filter(el => el.isConnected);\n}\nfunction addPreviouslyFocusedElement(element) {\n clearDisconnectedPreviouslyFocusedElements();\n if (element && getNodeName(element) !== 'body') {\n previouslyFocusedElements.push(element);\n if (previouslyFocusedElements.length > LIST_LIMIT) {\n previouslyFocusedElements = previouslyFocusedElements.slice(-LIST_LIMIT);\n }\n }\n}\nfunction getPreviouslyFocusedElement() {\n clearDisconnectedPreviouslyFocusedElements();\n return previouslyFocusedElements[previouslyFocusedElements.length - 1];\n}\nfunction getFirstTabbableElement(container) {\n const tabbableOptions = getTabbableOptions();\n if (isTabbable(container, tabbableOptions)) {\n return container;\n }\n return tabbable(container, tabbableOptions)[0] || container;\n}\nfunction handleTabIndex(floatingFocusElement, orderRef) {\n if (!orderRef.current.includes('floating') && !floatingFocusElement.getAttribute('role')?.includes('dialog')) {\n return;\n }\n const options = getTabbableOptions();\n const focusableElements = focusable(floatingFocusElement, options);\n const tabbableContent = focusableElements.filter(element => {\n const dataTabIndex = element.getAttribute('data-tabindex') || '';\n return isTabbable(element, options) || element.hasAttribute('data-tabindex') && !dataTabIndex.startsWith('-');\n });\n const tabIndex = floatingFocusElement.getAttribute('tabindex');\n if (orderRef.current.includes('floating') || tabbableContent.length === 0) {\n if (tabIndex !== '0') {\n floatingFocusElement.setAttribute('tabindex', '0');\n }\n } else if (tabIndex !== '-1' || floatingFocusElement.hasAttribute('data-tabindex') && floatingFocusElement.getAttribute('data-tabindex') !== '-1') {\n floatingFocusElement.setAttribute('tabindex', '-1');\n floatingFocusElement.setAttribute('data-tabindex', '-1');\n }\n}\n/**\n * Provides focus management for the floating element.\n * @see https://floating-ui.com/docs/FloatingFocusManager\n * @internal\n */\nexport function FloatingFocusManager(props) {\n const {\n context,\n children,\n disabled = false,\n order = ['content'],\n initialFocus = 0,\n returnFocus = true,\n restoreFocus = false,\n modal = true,\n closeOnFocusOut = true,\n getInsideElements: getInsideElementsProp = () => []\n } = props;\n const {\n open,\n onOpenChange,\n events,\n dataRef,\n elements: {\n domReference,\n floating\n }\n } = context;\n const getNodeId = useEventCallback(() => dataRef.current.floatingContext?.nodeId);\n const getInsideElements = useEventCallback(getInsideElementsProp);\n const ignoreInitialFocus = typeof initialFocus === 'number' && initialFocus < 0;\n // If the reference is a combobox and is typeable (e.g. input/textarea),\n // there are different focus semantics. The guards should not be rendered, but\n // aria-hidden should be applied to all nodes still. Further, the visually\n // hidden dismiss button should only appear at the end of the list, not the\n // start.\n const isUntrappedTypeableCombobox = isTypeableCombobox(domReference) && ignoreInitialFocus;\n const orderRef = useLatestRef(order);\n const initialFocusRef = useLatestRef(initialFocus);\n const returnFocusRef = useLatestRef(returnFocus);\n const tree = useFloatingTree();\n const portalContext = usePortalContext();\n const startDismissButtonRef = React.useRef(null);\n const endDismissButtonRef = React.useRef(null);\n const preventReturnFocusRef = React.useRef(false);\n const isPointerDownRef = React.useRef(false);\n const tabbableIndexRef = React.useRef(-1);\n const blurTimeout = useTimeout();\n const isInsidePortal = portalContext != null;\n const floatingFocusElement = getFloatingFocusElement(floating);\n const getTabbableContent = useEventCallback((container = floatingFocusElement) => {\n return container ? tabbable(container, getTabbableOptions()) : [];\n });\n const getTabbableElements = useEventCallback(container => {\n const content = getTabbableContent(container);\n return orderRef.current.map(() => content).filter(Boolean).flat();\n });\n React.useEffect(() => {\n if (disabled) {\n return undefined;\n }\n if (!modal) {\n return undefined;\n }\n function onKeyDown(event) {\n if (event.key === 'Tab') {\n // The focus guards have nothing to focus, so we need to stop the event.\n if (contains(floatingFocusElement, activeElement(getDocument(floatingFocusElement))) && getTabbableContent().length === 0 && !isUntrappedTypeableCombobox) {\n stopEvent(event);\n }\n }\n }\n const doc = getDocument(floatingFocusElement);\n doc.addEventListener('keydown', onKeyDown);\n return () => {\n doc.removeEventListener('keydown', onKeyDown);\n };\n }, [disabled, domReference, floatingFocusElement, modal, orderRef, isUntrappedTypeableCombobox, getTabbableContent, getTabbableElements]);\n React.useEffect(() => {\n if (disabled) {\n return undefined;\n }\n if (!floating) {\n return undefined;\n }\n function handleFocusIn(event) {\n const target = getTarget(event);\n const tabbableContent = getTabbableContent();\n const tabbableIndex = tabbableContent.indexOf(target);\n if (tabbableIndex !== -1) {\n tabbableIndexRef.current = tabbableIndex;\n }\n }\n floating.addEventListener('focusin', handleFocusIn);\n return () => {\n floating.removeEventListener('focusin', handleFocusIn);\n };\n }, [disabled, floating, getTabbableContent]);\n React.useEffect(() => {\n if (disabled) {\n return undefined;\n }\n if (!closeOnFocusOut) {\n return undefined;\n }\n\n // In Safari, buttons lose focus when pressing them.\n function handlePointerDown() {\n isPointerDownRef.current = true;\n }\n function handleFocusOutside(event) {\n const relatedTarget = event.relatedTarget;\n const currentTarget = event.currentTarget;\n const target = getTarget(event);\n queueMicrotask(() => {\n const nodeId = getNodeId();\n const movedToUnrelatedNode = !(contains(domReference, relatedTarget) || contains(floating, relatedTarget) || contains(relatedTarget, floating) || contains(portalContext?.portalNode, relatedTarget) || relatedTarget?.hasAttribute(createAttribute('focus-guard')) || tree && (getNodeChildren(tree.nodesRef.current, nodeId).find(node => contains(node.context?.elements.floating, relatedTarget) || contains(node.context?.elements.domReference, relatedTarget)) || getNodeAncestors(tree.nodesRef.current, nodeId).find(node => [node.context?.elements.floating, getFloatingFocusElement(node.context?.elements.floating)].includes(relatedTarget) || node.context?.elements.domReference === relatedTarget)));\n if (currentTarget === domReference && floatingFocusElement) {\n handleTabIndex(floatingFocusElement, orderRef);\n }\n\n // Restore focus to the previous tabbable element index to prevent\n // focus from being lost outside the floating tree.\n if (restoreFocus && currentTarget !== domReference && !target?.isConnected && activeElement(getDocument(floatingFocusElement)) === getDocument(floatingFocusElement).body) {\n // Let `FloatingPortal` effect knows that focus is still inside the\n // floating tree.\n if (isHTMLElement(floatingFocusElement)) {\n floatingFocusElement.focus();\n }\n const prevTabbableIndex = tabbableIndexRef.current;\n const tabbableContent = getTabbableContent();\n const nodeToFocus = tabbableContent[prevTabbableIndex] || tabbableContent[tabbableContent.length - 1] || floatingFocusElement;\n if (isHTMLElement(nodeToFocus)) {\n nodeToFocus.focus();\n }\n }\n\n // https://github.com/floating-ui/floating-ui/issues/3060\n if (dataRef.current.insideReactTree) {\n dataRef.current.insideReactTree = false;\n return;\n }\n if (isPointerDownRef.current) {\n isPointerDownRef.current = false;\n return;\n }\n\n // Focus did not move inside the floating tree, and there are no tabbable\n // portal guards to handle closing.\n if ((isUntrappedTypeableCombobox ? true : !modal) && relatedTarget && movedToUnrelatedNode &&\n // Fix React 18 Strict Mode returnFocus due to double rendering.\n relatedTarget !== getPreviouslyFocusedElement()) {\n preventReturnFocusRef.current = true;\n onOpenChange(false, event, 'focus-out');\n }\n });\n }\n const shouldHandleBlurCapture = Boolean(!tree && portalContext);\n function markInsideReactTree() {\n dataRef.current.insideReactTree = true;\n blurTimeout.start(0, () => {\n dataRef.current.insideReactTree = false;\n });\n }\n if (floating && isHTMLElement(domReference)) {\n domReference.addEventListener('focusout', handleFocusOutside);\n domReference.addEventListener('pointerdown', handlePointerDown);\n floating.addEventListener('focusout', handleFocusOutside);\n if (shouldHandleBlurCapture) {\n floating.addEventListener('focusout', markInsideReactTree, true);\n }\n return () => {\n domReference.removeEventListener('focusout', handleFocusOutside);\n domReference.removeEventListener('pointerdown', handlePointerDown);\n floating.removeEventListener('focusout', handleFocusOutside);\n if (shouldHandleBlurCapture) {\n floating.removeEventListener('focusout', markInsideReactTree, true);\n }\n };\n }\n return undefined;\n }, [disabled, domReference, floating, floatingFocusElement, modal, tree, portalContext, onOpenChange, closeOnFocusOut, restoreFocus, getTabbableContent, isUntrappedTypeableCombobox, getNodeId, orderRef, dataRef, blurTimeout]);\n const beforeGuardRef = React.useRef(null);\n const afterGuardRef = React.useRef(null);\n const mergedBeforeGuardRef = useMergedRefs(beforeGuardRef, portalContext?.beforeInsideRef);\n const mergedAfterGuardRef = useMergedRefs(afterGuardRef, portalContext?.afterInsideRef);\n React.useEffect(() => {\n if (disabled) {\n return undefined;\n }\n if (!floating) {\n return undefined;\n }\n\n // Don't hide portals nested within the parent portal.\n const portalNodes = Array.from(portalContext?.portalNode?.querySelectorAll(`[${createAttribute('portal')}]`) || []);\n const ancestors = tree ? getNodeAncestors(tree.nodesRef.current, getNodeId()) : [];\n const rootAncestorComboboxDomReference = ancestors.find(node => isTypeableCombobox(node.context?.elements.domReference || null))?.context?.elements.domReference;\n const insideElements = [floating, rootAncestorComboboxDomReference, ...portalNodes, ...getInsideElements(), startDismissButtonRef.current, endDismissButtonRef.current, beforeGuardRef.current, afterGuardRef.current, portalContext?.beforeOutsideRef.current, portalContext?.afterOutsideRef.current, isUntrappedTypeableCombobox ? domReference : null].filter(x => x != null);\n const cleanup = markOthers(insideElements, modal || isUntrappedTypeableCombobox);\n return () => {\n cleanup();\n };\n }, [disabled, domReference, floating, modal, orderRef, portalContext, isUntrappedTypeableCombobox, tree, getNodeId, getInsideElements]);\n useIsoLayoutEffect(() => {\n if (disabled || !isHTMLElement(floatingFocusElement)) {\n return;\n }\n const doc = getDocument(floatingFocusElement);\n const previouslyFocusedElement = activeElement(doc);\n\n // Wait for any layout effect state setters to execute to set `tabIndex`.\n queueMicrotask(() => {\n const focusableElements = getTabbableElements(floatingFocusElement);\n const initialFocusValue = initialFocusRef.current;\n const elToFocus = (typeof initialFocusValue === 'number' ? focusableElements[initialFocusValue] : initialFocusValue.current) || floatingFocusElement;\n const focusAlreadyInsideFloatingEl = contains(floatingFocusElement, previouslyFocusedElement);\n if (!ignoreInitialFocus && !focusAlreadyInsideFloatingEl && open) {\n enqueueFocus(elToFocus, {\n preventScroll: elToFocus === floatingFocusElement\n });\n }\n });\n }, [disabled, open, floatingFocusElement, ignoreInitialFocus, getTabbableElements, initialFocusRef]);\n useIsoLayoutEffect(() => {\n if (disabled || !floatingFocusElement) {\n return undefined;\n }\n const doc = getDocument(floatingFocusElement);\n const previouslyFocusedElement = activeElement(doc);\n addPreviouslyFocusedElement(previouslyFocusedElement);\n\n // Dismissing via outside press should always ignore `returnFocus` to\n // prevent unwanted scrolling.\n function onOpenChangeLocal({\n reason,\n event,\n nested\n }) {\n if (['hover', 'safe-polygon'].includes(reason) && event.type === 'mouseleave') {\n preventReturnFocusRef.current = true;\n }\n if (reason !== 'outside-press') {\n return;\n }\n if (nested) {\n preventReturnFocusRef.current = false;\n } else if (isVirtualClick(event) || isVirtualPointerEvent(event)) {\n preventReturnFocusRef.current = false;\n } else {\n let isPreventScrollSupported = false;\n document.createElement('div').focus({\n get preventScroll() {\n isPreventScrollSupported = true;\n return false;\n }\n });\n if (isPreventScrollSupported) {\n preventReturnFocusRef.current = false;\n } else {\n preventReturnFocusRef.current = true;\n }\n }\n }\n events.on('openchange', onOpenChangeLocal);\n const fallbackEl = doc.createElement('span');\n fallbackEl.setAttribute('tabindex', '-1');\n fallbackEl.setAttribute('aria-hidden', 'true');\n Object.assign(fallbackEl.style, visuallyHidden);\n if (isInsidePortal && domReference) {\n domReference.insertAdjacentElement('afterend', fallbackEl);\n }\n function getReturnElement() {\n if (typeof returnFocusRef.current === 'boolean') {\n const el = domReference || getPreviouslyFocusedElement();\n return el && el.isConnected ? el : fallbackEl;\n }\n return returnFocusRef.current.current || fallbackEl;\n }\n return () => {\n events.off('openchange', onOpenChangeLocal);\n const activeEl = activeElement(doc);\n const isFocusInsideFloatingTree = contains(floating, activeEl) || tree && getNodeChildren(tree.nodesRef.current, getNodeId(), false).some(node => contains(node.context?.elements.floating, activeEl));\n const returnElement = getReturnElement();\n queueMicrotask(() => {\n // This is `returnElement`, if it's tabbable, or its first tabbable child.\n const tabbableReturnElement = getFirstTabbableElement(returnElement);\n if (\n // eslint-disable-next-line react-hooks/exhaustive-deps\n returnFocusRef.current && !preventReturnFocusRef.current && isHTMLElement(tabbableReturnElement) && (\n // If the focus moved somewhere else after mount, avoid returning focus\n // since it likely entered a different element which should be\n // respected: https://github.com/floating-ui/floating-ui/issues/2607\n tabbableReturnElement !== activeEl && activeEl !== doc.body ? isFocusInsideFloatingTree : true)) {\n tabbableReturnElement.focus({\n preventScroll: true\n });\n }\n fallbackEl.remove();\n });\n };\n }, [disabled, floating, floatingFocusElement, returnFocusRef, dataRef, events, tree, isInsidePortal, domReference, getNodeId]);\n React.useEffect(() => {\n // The `returnFocus` cleanup behavior is inside a microtask; ensure we\n // wait for it to complete before resetting the flag.\n queueMicrotask(() => {\n preventReturnFocusRef.current = false;\n });\n }, [disabled]);\n React.useEffect(() => {\n if (disabled || !open) {\n return undefined;\n }\n function handlePointerDown(event) {\n const target = getTarget(event);\n if (target?.closest(`[${CLICK_TRIGGER_IDENTIFIER}]`)) {\n isPointerDownRef.current = true;\n }\n }\n const doc = getDocument(floatingFocusElement);\n doc.addEventListener('pointerdown', handlePointerDown, true);\n return () => {\n doc.removeEventListener('pointerdown', handlePointerDown, true);\n };\n }, [disabled, open, floatingFocusElement]);\n\n // Synchronize the `context` & `modal` value to the FloatingPortal context.\n // It will decide whether or not it needs to render its own guards.\n useIsoLayoutEffect(() => {\n if (disabled) {\n return undefined;\n }\n if (!portalContext) {\n return undefined;\n }\n portalContext.setFocusManagerState({\n modal,\n closeOnFocusOut,\n open,\n onOpenChange,\n domReference\n });\n return () => {\n portalContext.setFocusManagerState(null);\n };\n }, [disabled, portalContext, modal, open, onOpenChange, closeOnFocusOut, domReference]);\n useIsoLayoutEffect(() => {\n if (disabled || !floatingFocusElement) {\n return undefined;\n }\n handleTabIndex(floatingFocusElement, orderRef);\n return () => {\n queueMicrotask(clearDisconnectedPreviouslyFocusedElements);\n };\n }, [disabled, floatingFocusElement, orderRef]);\n const shouldRenderGuards = !disabled && (modal ? !isUntrappedTypeableCombobox : true) && (isInsidePortal || modal);\n return /*#__PURE__*/_jsxs(React.Fragment, {\n children: [shouldRenderGuards && /*#__PURE__*/_jsx(FocusGuard, {\n \"data-type\": \"inside\",\n ref: mergedBeforeGuardRef,\n onFocus: event => {\n if (modal) {\n const els = getTabbableElements();\n enqueueFocus(els[els.length - 1]);\n } else if (portalContext?.preserveTabOrder && portalContext.portalNode) {\n preventReturnFocusRef.current = false;\n if (isOutsideEvent(event, portalContext.portalNode)) {\n const nextTabbable = getNextTabbable(domReference);\n nextTabbable?.focus();\n } else {\n portalContext.beforeOutsideRef.current?.focus();\n }\n }\n }\n }), children, shouldRenderGuards && /*#__PURE__*/_jsx(FocusGuard, {\n \"data-type\": \"inside\",\n ref: mergedAfterGuardRef,\n onFocus: event => {\n if (modal) {\n enqueueFocus(getTabbableElements()[0]);\n } else if (portalContext?.preserveTabOrder && portalContext.portalNode) {\n if (closeOnFocusOut) {\n preventReturnFocusRef.current = true;\n }\n if (isOutsideEvent(event, portalContext.portalNode)) {\n const prevTabbable = getPreviousTabbable(domReference);\n prevTabbable?.focus();\n } else {\n portalContext.afterOutsideRef.current?.focus();\n }\n }\n }\n })]\n });\n}","'use client';\n\nimport * as React from 'react';\nimport { FloatingFocusManager, useFloatingTree } from \"../../floating-ui-react/index.js\";\nimport { useMenuRootContext } from \"../root/MenuRootContext.js\";\nimport { useMenuPositionerContext } from \"../positioner/MenuPositionerContext.js\";\nimport { useRenderElement } from \"../../utils/useRenderElement.js\";\nimport { popupStateMapping as baseMapping } from \"../../utils/popupStateMapping.js\";\nimport { transitionStatusMapping } from \"../../utils/styleHookMapping.js\";\nimport { useOpenChangeComplete } from \"../../utils/useOpenChangeComplete.js\";\nimport { EMPTY_OBJECT, DISABLED_TRANSITIONS_STYLE } from \"../../utils/constants.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst customStyleHookMapping = {\n ...baseMapping,\n ...transitionStatusMapping\n};\n\n/**\n * A container for the menu items.\n * Renders a `<div>` element.\n *\n * Documentation: [Base UI Menu](https://base-ui.com/react/components/menu)\n */\nexport const MenuPopup = /*#__PURE__*/React.forwardRef(function MenuPopup(componentProps, forwardedRef) {\n const {\n render,\n className,\n finalFocus,\n ...elementProps\n } = componentProps;\n const {\n open,\n setOpen,\n popupRef,\n transitionStatus,\n popupProps,\n mounted,\n instantType,\n onOpenChangeComplete,\n parent,\n lastOpenChangeReason,\n rootId\n } = useMenuRootContext();\n const {\n side,\n align,\n floatingContext\n } = useMenuPositionerContext();\n useOpenChangeComplete({\n open,\n ref: popupRef,\n onComplete() {\n if (open) {\n onOpenChangeComplete?.(true);\n }\n }\n });\n const {\n events: menuEvents\n } = useFloatingTree();\n React.useEffect(() => {\n function handleClose(event) {\n setOpen(false, event.domEvent, event.reason);\n }\n menuEvents.on('close', handleClose);\n return () => {\n menuEvents.off('close', handleClose);\n };\n }, [menuEvents, setOpen]);\n const state = React.useMemo(() => ({\n transitionStatus,\n side,\n align,\n open,\n nested: parent.type === 'menu',\n instant: instantType\n }), [transitionStatus, side, align, open, parent.type, instantType]);\n const element = useRenderElement('div', componentProps, {\n state,\n ref: [forwardedRef, popupRef],\n customStyleHookMapping,\n props: [popupProps, transitionStatus === 'starting' ? DISABLED_TRANSITIONS_STYLE : EMPTY_OBJECT, elementProps, {\n 'data-rootownerid': rootId\n }]\n });\n let returnFocus = parent.type === undefined || parent.type === 'context-menu';\n if (parent.type === 'menubar' && lastOpenChangeReason !== 'outside-press') {\n returnFocus = true;\n }\n return /*#__PURE__*/_jsx(FloatingFocusManager, {\n context: floatingContext,\n modal: false,\n disabled: !mounted,\n returnFocus: finalFocus || returnFocus,\n initialFocus: parent.type === 'menu' ? -1 : 0,\n restoreFocus: true,\n children: element\n });\n});\nif (process.env.NODE_ENV !== \"production\") MenuPopup.displayName = \"MenuPopup\";","import * as React from 'react';\nexport const MenuGroupContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") MenuGroupContext.displayName = \"MenuGroupContext\";\nexport function useMenuGroupRootContext() {\n const context = React.useContext(MenuGroupContext);\n if (context === undefined) {\n throw new Error('Base UI: MenuGroupRootContext is missing. Menu group parts must be used within <Menu.Group>.');\n }\n return context;\n}","'use client';\n\nimport * as React from 'react';\nimport { useRenderElement } from \"../../utils/useRenderElement.js\";\nimport { MenuGroupContext } from \"./MenuGroupContext.js\";\n\n/**\n * Groups related menu items with the corresponding label.\n * Renders a `<div>` element.\n *\n * Documentation: [Base UI Menu](https://base-ui.com/react/components/menu)\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport const MenuGroup = /*#__PURE__*/React.forwardRef(function MenuGroup(componentProps, forwardedRef) {\n const {\n render,\n className,\n ...elementProps\n } = componentProps;\n const [labelId, setLabelId] = React.useState(undefined);\n const context = React.useMemo(() => ({\n setLabelId\n }), [setLabelId]);\n const element = useRenderElement('div', componentProps, {\n ref: forwardedRef,\n props: {\n role: 'group',\n 'aria-labelledby': labelId,\n ...elementProps\n }\n });\n return /*#__PURE__*/_jsx(MenuGroupContext.Provider, {\n value: context,\n children: element\n });\n});\nif (process.env.NODE_ENV !== \"production\") MenuGroup.displayName = \"MenuGroup\";","'use client';\n\nimport { useId } from '@base-ui-components/utils/useId';\n\n/**\n * Wraps `useId` and prefixes generated `id`s with `base-ui-`\n * @param {string | undefined} idOverride overrides the generated id when provided\n * @returns {string | undefined}\n */\nexport function useBaseUiId(idOverride) {\n return useId(idOverride, 'base-ui');\n}","'use client';\n\nimport * as React from 'react';\nimport { useIsoLayoutEffect } from '@base-ui-components/utils/useIsoLayoutEffect';\nimport { useRenderElement } from \"../../utils/useRenderElement.js\";\nimport { useBaseUiId } from \"../../utils/useBaseUiId.js\";\nimport { useMenuGroupRootContext } from \"../group/MenuGroupContext.js\";\n\n/**\n * An accessible label that is automatically associated with its parent group.\n * Renders a `<div>` element.\n *\n * Documentation: [Base UI Menu](https://base-ui.com/react/components/menu)\n */\nexport const MenuGroupLabel = /*#__PURE__*/React.forwardRef(function MenuGroupLabelComponent(componentProps, forwardedRef) {\n const {\n className,\n render,\n id: idProp,\n ...elementProps\n } = componentProps;\n const id = useBaseUiId(idProp);\n const {\n setLabelId\n } = useMenuGroupRootContext();\n useIsoLayoutEffect(() => {\n setLabelId(id);\n return () => {\n setLabelId(undefined);\n };\n }, [setLabelId, id]);\n return useRenderElement('div', componentProps, {\n ref: forwardedRef,\n props: {\n id,\n role: 'presentation',\n ...elementProps\n }\n });\n});\nif (process.env.NODE_ENV !== \"production\") MenuGroupLabel.displayName = \"MenuGroupLabel\";","'use client';\n\nimport * as React from 'react';\nimport { useMergedRefs } from '@base-ui-components/utils/useMergedRefs';\nimport { useButton } from \"../../use-button/index.js\";\nimport { mergeProps } from \"../../merge-props/index.js\";\nexport const REGULAR_ITEM = {\n type: 'regular-item'\n};\nexport function useMenuItem(params) {\n const {\n closeOnClick,\n disabled = false,\n highlighted,\n id,\n menuEvents,\n allowMouseUpTriggerRef,\n typingRef,\n nativeButton,\n itemMetadata\n } = params;\n const itemRef = React.useRef(null);\n const {\n getButtonProps,\n buttonRef\n } = useButton({\n disabled,\n focusableWhenDisabled: true,\n native: nativeButton\n });\n const getItemProps = React.useCallback(externalProps => {\n return mergeProps({\n id,\n role: 'menuitem',\n tabIndex: highlighted ? 0 : -1,\n onMouseEnter() {\n if (itemMetadata.type !== 'submenu-trigger') {\n return;\n }\n itemMetadata.setActive();\n },\n onKeyUp: event => {\n if (event.key === ' ' && typingRef.current) {\n event.preventBaseUIHandler();\n }\n },\n onClick: event => {\n if (closeOnClick) {\n menuEvents.emit('close', {\n domEvent: event,\n reason: 'item-press'\n });\n }\n },\n onMouseUp: () => {\n if (itemRef.current && allowMouseUpTriggerRef.current) {\n // This fires whenever the user clicks on the trigger, moves the cursor, and releases it over the item.\n // We trigger the click and override the `closeOnClick` preference to always close the menu.\n if (itemMetadata.type === 'regular-item') {\n itemRef.current.click();\n }\n }\n }\n }, externalProps, getButtonProps);\n }, [id, highlighted, getButtonProps, typingRef, closeOnClick, menuEvents, allowMouseUpTriggerRef, itemMetadata]);\n const mergedRef = useMergedRefs(itemRef, buttonRef);\n return React.useMemo(() => ({\n getItemProps,\n itemRef: mergedRef\n }), [getItemProps, mergedRef]);\n}","'use client';\n\nimport * as React from 'react';\nimport { useMergedRefs } from '@base-ui-components/utils/useMergedRefs';\nimport { useFloatingTree } from \"../../floating-ui-react/index.js\";\nimport { REGULAR_ITEM, useMenuItem } from \"./useMenuItem.js\";\nimport { useMenuRootContext } from \"../root/MenuRootContext.js\";\nimport { useRenderElement } from \"../../utils/useRenderElement.js\";\nimport { useBaseUiId } from \"../../utils/useBaseUiId.js\";\nimport { useCompositeListItem } from \"../../composite/list/useCompositeListItem.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst InnerMenuItem = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function InnerMenuItem(componentProps, forwardedRef) {\n const {\n className,\n closeOnClick = true,\n disabled = false,\n highlighted,\n id,\n menuEvents,\n itemProps,\n render,\n allowMouseUpTriggerRef,\n typingRef,\n nativeButton,\n ...elementProps\n } = componentProps;\n const {\n getItemProps,\n itemRef\n } = useMenuItem({\n closeOnClick,\n disabled,\n highlighted,\n id,\n menuEvents,\n allowMouseUpTriggerRef,\n typingRef,\n nativeButton,\n itemMetadata: REGULAR_ITEM\n });\n const state = React.useMemo(() => ({\n disabled,\n highlighted\n }), [disabled, highlighted]);\n return useRenderElement('div', componentProps, {\n state,\n ref: [itemRef, forwardedRef],\n props: [itemProps, elementProps, getItemProps]\n });\n}));\n\n/**\n * An individual interactive item in the menu.\n * Renders a `<div>` element.\n *\n * Documentation: [Base UI Menu](https://base-ui.com/react/components/menu)\n */\nif (process.env.NODE_ENV !== \"production\") InnerMenuItem.displayName = \"InnerMenuItem\";\nexport const MenuItem = /*#__PURE__*/React.forwardRef(function MenuItem(props, forwardedRef) {\n const {\n id: idProp,\n label,\n nativeButton = false,\n ...other\n } = props;\n const itemRef = React.useRef(null);\n const listItem = useCompositeListItem({\n label\n });\n const mergedRef = useMergedRefs(forwardedRef, listItem.ref, itemRef);\n const {\n itemProps,\n activeIndex,\n allowMouseUpTriggerRef,\n typingRef\n } = useMenuRootContext();\n const id = useBaseUiId(idProp);\n const highlighted = listItem.index === activeIndex;\n const {\n events: menuEvents\n } = useFloatingTree();\n\n // This wrapper component is used as a performance optimization.\n // MenuItem reads the context and re-renders the actual MenuItem\n // only when it needs to.\n\n return /*#__PURE__*/_jsx(InnerMenuItem, {\n ...other,\n id: id,\n ref: mergedRef,\n highlighted: highlighted,\n menuEvents: menuEvents,\n itemProps: itemProps,\n allowMouseUpTriggerRef: allowMouseUpTriggerRef,\n typingRef: typingRef,\n nativeButton: nativeButton\n });\n});\nif (process.env.NODE_ENV !== \"production\") MenuItem.displayName = \"MenuItem\";","import type { LoaderTree } from '../lib/app-dir-module'\n\nexport const BUILTIN_PREFIX = '__next_builtin__'\n\nconst nextInternalPrefixRegex =\n /^(.*[\\\\/])?next[\\\\/]dist[\\\\/]client[\\\\/]components[\\\\/]builtin[\\\\/]/\n\nexport function normalizeConventionFilePath(\n projectDir: string,\n conventionPath: string | undefined\n) {\n // Turbopack project path is formed as: \"<project root>/<cwd>\".\n // When project root is not the working directory, we can extract the relative project root path.\n // This is mostly used for running Next.js inside a monorepo.\n const cwd = process.env.NEXT_RUNTIME === 'edge' ? '' : process.cwd()\n const relativeProjectRoot = projectDir.replace(cwd, '')\n\n let relativePath = (conventionPath || '')\n // remove turbopack [project] prefix\n .replace(/^\\[project\\]/, '')\n // remove turbopack relative project path, everything after [project] and before the working directory.\n .replace(relativeProjectRoot, '')\n // remove the project root from the path\n .replace(projectDir, '')\n // remove cwd prefix\n .replace(cwd, '')\n // remove /(src/)?app/ dir prefix\n .replace(/^([\\\\/])*(src[\\\\/])?app[\\\\/]/, '')\n\n // If it's internal file only keep the filename, strip nextjs internal prefix\n if (nextInternalPrefixRegex.test(relativePath)) {\n relativePath = relativePath.replace(nextInternalPrefixRegex, '')\n // Add a special prefix to let segment explorer know it's a built-in component\n relativePath = `${BUILTIN_PREFIX}${relativePath}`\n }\n\n return relativePath.replace(/\\\\/g, '/')\n}\n\n// if a filepath is a builtin file. e.g.\n// .../project/node_modules/next/dist/client/components/builtin/global-error.js -> true\n// .../project/app/global-error.js -> false\nexport const isNextjsBuiltinFilePath = (filePath: string) => {\n return nextInternalPrefixRegex.test(filePath)\n}\n\nexport const BOUNDARY_SUFFIX = '@boundary'\nexport function normalizeBoundaryFilename(filename: string) {\n return filename\n .replace(new RegExp(`^${BUILTIN_PREFIX}`), '')\n .replace(new RegExp(`${BOUNDARY_SUFFIX}$`), '')\n}\n\nexport const BOUNDARY_PREFIX = 'boundary:'\nexport function isBoundaryFile(fileType: string) {\n return fileType.startsWith(BOUNDARY_PREFIX)\n}\n\n// if a filename is a builtin file.\n// __next_builtin__global-error.js -> true\n// page.js -> false\nexport function isBuiltinBoundaryFile(fileType: string) {\n return fileType.startsWith(BUILTIN_PREFIX)\n}\n\nexport function getBoundaryOriginFileType(fileType: string) {\n return fileType.replace(BOUNDARY_PREFIX, '')\n}\n\nexport function getConventionPathByType(\n tree: LoaderTree,\n dir: string,\n conventionType:\n | 'layout'\n | 'template'\n | 'page'\n | 'not-found'\n | 'error'\n | 'loading'\n | 'forbidden'\n | 'unauthorized'\n | 'defaultPage'\n | 'global-error'\n) {\n const modules = tree[2]\n const conventionPath = modules[conventionType]\n ? modules[conventionType][1]\n : undefined\n if (conventionPath) {\n return normalizeConventionFilePath(dir, conventionPath)\n }\n return undefined\n}\n","import './segment-boundary-trigger.css'\nimport { useCallback, useState, useRef, useMemo } from 'react'\nimport { Menu } from '@base-ui-components/react/menu'\nimport { useDevOverlayContext } from '../../../dev-overlay.browser'\nimport type {\n SegmentBoundaryType,\n SegmentNodeState,\n} from '../../../userspace/app/segment-explorer-node'\nimport { normalizeBoundaryFilename } from '../../../../server/app-render/segment-explorer-path'\nimport { useClickOutsideAndEscape } from '../errors/dev-tools-indicator/utils'\n\nconst composeRefs = (...refs: (React.Ref<HTMLButtonElement> | undefined)[]) => {\n return (node: HTMLButtonElement | null) => {\n refs.forEach((ref) => {\n if (typeof ref === 'function') {\n ref(node)\n } else if (ref) {\n ref.current = node\n }\n })\n }\n}\n\nexport function SegmentBoundaryTrigger({\n nodeState,\n boundaries,\n}: {\n nodeState: SegmentNodeState\n boundaries: Record<SegmentBoundaryType, string | null>\n}) {\n const currNode = nodeState\n const { pagePath, boundaryType, setBoundaryType: onSelectBoundary } = currNode\n\n const [isOpen, setIsOpen] = useState(false)\n const { shadowRoot } = useDevOverlayContext()\n const triggerRef = useRef<HTMLButtonElement>(null)\n const popupRef = useRef<HTMLDivElement>(null)\n\n // Click outside of popup should close the menu\n useClickOutsideAndEscape(\n popupRef,\n triggerRef,\n isOpen,\n () => {\n setIsOpen(false)\n },\n // eslint-disable-next-line react-hooks/refs -- TODO\n triggerRef.current?.ownerDocument\n )\n\n const firstDefinedBoundary = Object.values(boundaries).find((v) => v !== null)\n const possibleExtension =\n (firstDefinedBoundary || '').split('.').pop() || 'js'\n\n const fileNames = useMemo(() => {\n return Object.fromEntries(\n Object.entries(boundaries).map(([key, filePath]) => {\n const fileName = normalizeBoundaryFilename(\n (filePath || '').split('/').pop() || `${key}.${possibleExtension}`\n )\n return [key, fileName]\n })\n ) as Record<keyof typeof boundaries, string>\n }, [boundaries, possibleExtension])\n\n const fileName = (pagePath || '').split('/').pop() || ''\n const pageFileName = normalizeBoundaryFilename(\n boundaryType\n ? `page.${possibleExtension}`\n : fileName || `page.${possibleExtension}`\n )\n\n const triggerOptions = [\n {\n label: fileNames.loading,\n value: 'loading',\n icon: <LoadingIcon />,\n disabled: !boundaries.loading,\n },\n {\n label: fileNames.error,\n value: 'error',\n icon: <ErrorIcon />,\n disabled: !boundaries.error,\n },\n {\n label: fileNames['not-found'],\n value: 'not-found',\n icon: <NotFoundIcon />,\n disabled: !boundaries['not-found'],\n },\n ]\n\n const resetOption = {\n label: boundaryType ? 'Reset' : pageFileName,\n value: 'reset',\n icon: <ResetIcon />,\n disabled: boundaryType === null,\n }\n\n const openInEditor = useCallback(({ filePath }: { filePath: string }) => {\n const params = new URLSearchParams({\n file: filePath,\n isAppRelativePath: '1',\n })\n fetch(\n `${\n process.env.__NEXT_ROUTER_BASEPATH || ''\n }/__nextjs_launch-editor?${params.toString()}`\n // Log the failures to console, not track them as console errors in error overlay\n ).catch(console.warn)\n }, [])\n\n const handleSelect = useCallback(\n (value: string) => {\n switch (value) {\n case 'not-found':\n case 'loading':\n case 'error':\n onSelectBoundary(value)\n break\n case 'reset':\n onSelectBoundary(null)\n break\n case 'open-editor':\n if (pagePath) {\n openInEditor({ filePath: pagePath })\n }\n break\n default:\n break\n }\n },\n [onSelectBoundary, pagePath, openInEditor]\n )\n\n const MergedRefTrigger = (\n triggerProps: React.ComponentProps<'button'> & {\n ref?: React.Ref<HTMLButtonElement>\n }\n ) => {\n const mergedRef = composeRefs(triggerProps.ref, triggerRef)\n return <Trigger {...triggerProps} ref={mergedRef} />\n }\n\n const hasBoundary = useMemo(() => {\n const hasPageOrBoundary =\n nodeState.type !== 'layout' && nodeState.type !== 'template'\n return (\n hasPageOrBoundary && Object.values(boundaries).some((v) => v !== null)\n )\n }, [nodeState.type, boundaries])\n\n return (\n <Menu.Root delay={0} modal={false} open={isOpen} onOpenChange={setIsOpen}>\n <Menu.Trigger\n className=\"segment-boundary-trigger\"\n data-nextjs-dev-overlay-segment-boundary-trigger-button\n render={MergedRefTrigger}\n disabled={!hasBoundary}\n />\n\n <Menu.Portal container={shadowRoot}>\n <Menu.Positioner\n className=\"segment-boundary-dropdown-positioner\"\n side=\"bottom\"\n align=\"center\"\n sideOffset={6}\n arrowPadding={8}\n ref={popupRef}\n >\n <Menu.Popup className=\"segment-boundary-dropdown\">\n {\n <Menu.Group>\n <Menu.GroupLabel className=\"segment-boundary-group-label\">\n Toggle Overrides\n </Menu.GroupLabel>\n {triggerOptions.map((option) => (\n <Menu.Item\n key={option.value}\n className=\"segment-boundary-dropdown-item\"\n onClick={() => handleSelect(option.value)}\n disabled={option.disabled}\n >\n {option.icon}\n {option.label}\n </Menu.Item>\n ))}\n </Menu.Group>\n }\n\n <Menu.Group>\n {\n <Menu.Item\n key={resetOption.value}\n className=\"segment-boundary-dropdown-item\"\n onClick={() => handleSelect(resetOption.value)}\n disabled={resetOption.disabled}\n >\n {resetOption.icon}\n {resetOption.label}\n </Menu.Item>\n }\n </Menu.Group>\n </Menu.Popup>\n </Menu.Positioner>\n </Menu.Portal>\n </Menu.Root>\n )\n}\n\nfunction LoadingIcon() {\n return (\n <svg\n width=\"20px\"\n height=\"20px\"\n viewBox=\"0 0 20 20\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <g clipPath=\"url(#clip0_2759_1866)\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M10 3.5C13.5899 3.5 16.5 6.41015 16.5 10C16.5 13.5899 13.5899 16.5 10 16.5C6.41015 16.5 3.5 13.5899 3.5 10C3.5 6.41015 6.41015 3.5 10 3.5ZM2 10C2 14.4183 5.58172 18 10 18C14.4183 18 18 14.4183 18 10C18 5.58172 14.4183 2 10 2C5.58172 2 2 5.58172 2 10ZM10.75 9.62402V6H9.25V9.875C9.25 10.1898 9.39858 10.486 9.65039 10.6748L11.5498 12.0996L12.1504 12.5498L13.0498 11.3496L12.4502 10.9004L10.75 9.62402Z\"\n fill=\"currentColor\"\n />\n </g>\n <defs>\n <clipPath id=\"clip0_2759_1866\">\n <rect\n width=\"16\"\n height=\"16\"\n fill=\"white\"\n transform=\"translate(2 2)\"\n />\n </clipPath>\n </defs>\n </svg>\n )\n}\n\nfunction ErrorIcon() {\n return (\n <svg\n width=\"20\"\n height=\"20\"\n viewBox=\"0 0 20 20\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <g clipPath=\"url(#clip0_2759_1881)\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M3.5 7.30762V12.6924L7.30762 16.5H12.6924L16.5 12.6924V7.30762L12.6924 3.5H7.30762L3.5 7.30762ZM18 12.8994L17.9951 12.998C17.9724 13.2271 17.8712 13.4423 17.707 13.6064L13.6064 17.707L13.5332 17.7734C13.3806 17.8985 13.1944 17.9757 12.998 17.9951L12.8994 18H7.10059L7.00195 17.9951C6.80562 17.9757 6.6194 17.8985 6.4668 17.7734L6.39355 17.707L2.29297 13.6064C2.12883 13.4423 2.02756 13.2271 2.00488 12.998L2 12.8994V7.10059C2 6.83539 2.10546 6.58109 2.29297 6.39355L6.39355 2.29297C6.55771 2.12883 6.77294 2.02756 7.00195 2.00488L7.10059 2H12.8994L12.998 2.00488C13.2271 2.02756 13.4423 2.12883 13.6064 2.29297L17.707 6.39355C17.8945 6.58109 18 6.83539 18 7.10059V12.8994ZM9.25 5.75H10.75L10.75 10.75H9.25L9.25 5.75ZM10 14C10.5523 14 11 13.5523 11 13C11 12.4477 10.5523 12 10 12C9.44772 12 9 12.4477 9 13C9 13.5523 9.44772 14 10 14Z\"\n fill=\"currentColor\"\n />\n </g>\n <defs>\n <clipPath id=\"clip0_2759_1881\">\n <rect\n width=\"16\"\n height=\"16\"\n fill=\"white\"\n transform=\"translate(2 2)\"\n />\n </clipPath>\n </defs>\n </svg>\n )\n}\n\nfunction NotFoundIcon() {\n return (\n <svg\n width=\"20px\"\n height=\"20px\"\n viewBox=\"0 0 20 20\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M10.5586 2.5C11.1341 2.50004 11.6588 2.8294 11.9091 3.34766L17.8076 15.5654C18.1278 16.2292 17.6442 16.9997 16.9072 17H3.09274C2.35574 16.9997 1.8721 16.2292 2.19235 15.5654L8.09079 3.34766C8.34109 2.8294 8.86583 2.50004 9.44137 2.5H10.5586ZM3.89059 15.5H16.1093L10.5586 4H9.44137L3.89059 15.5ZM9.24997 6.75H10.75L10.75 10.75H9.24997L9.24997 6.75ZM9.99997 14C10.5523 14 11 13.5523 11 13C11 12.4477 10.5523 12 9.99997 12C9.44768 12 8.99997 12.4477 8.99997 13C8.99997 13.5523 9.44768 14 9.99997 14Z\"\n fill=\"currentColor\"\n />\n </svg>\n )\n}\n\nfunction ResetIcon() {\n return (\n <svg\n width=\"20\"\n height=\"20\"\n viewBox=\"0 0 20 20\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M9.96484 3C13.8463 3.00018 17 6.13012 17 10C17 13.8699 13.8463 16.9998 9.96484 17C7.62404 17 5.54877 15.8617 4.27051 14.1123L3.82812 13.5068L5.03906 12.6221L5.48145 13.2275C6.48815 14.6053 8.12092 15.5 9.96484 15.5C13.0259 15.4998 15.5 13.0335 15.5 10C15.5 6.96654 13.0259 4.50018 9.96484 4.5C7.42905 4.5 5.29544 6.19429 4.63867 8.5H8V10H2.75C2.33579 10 2 9.66421 2 9.25V4H3.5V7.2373C4.57781 4.74376 7.06749 3 9.96484 3Z\"\n fill=\"currentColor\"\n />\n </svg>\n )\n}\n\nfunction SwitchIcon(props: React.SVGProps<SVGSVGElement>) {\n return (\n <svg strokeLinejoin=\"round\" viewBox=\"0 0 16 16\" {...props}>\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M8.7071 2.39644C8.31658 2.00592 7.68341 2.00592 7.29289 2.39644L4.46966 5.21966L3.93933 5.74999L4.99999 6.81065L5.53032 6.28032L7.99999 3.81065L10.4697 6.28032L11 6.81065L12.0607 5.74999L11.5303 5.21966L8.7071 2.39644ZM5.53032 9.71966L4.99999 9.18933L3.93933 10.25L4.46966 10.7803L7.29289 13.6035C7.68341 13.9941 8.31658 13.9941 8.7071 13.6035L11.5303 10.7803L12.0607 10.25L11 9.18933L10.4697 9.71966L7.99999 12.1893L5.53032 9.71966Z\"\n fill=\"currentColor\"\n ></path>\n </svg>\n )\n}\n\nfunction Trigger(props: React.ComponentProps<'button'>) {\n return (\n <button {...props}>\n <span className=\"segment-boundary-trigger-text\">\n <SwitchIcon className=\"plus-icon\" />\n </span>\n </button>\n )\n}\n","'use client';\n\nimport * as React from 'react';\nexport const TooltipRootContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") TooltipRootContext.displayName = \"TooltipRootContext\";\nexport function useTooltipRootContext() {\n const context = React.useContext(TooltipRootContext);\n if (context === undefined) {\n throw new Error('Base UI: TooltipRootContext is missing. Tooltip parts must be placed within <Tooltip.Root>.');\n }\n return context;\n}","'use client';\n\nimport * as React from 'react';\nimport { useTooltipRootContext } from \"../root/TooltipRootContext.js\";\nimport { triggerOpenStateMapping } from \"../../utils/popupStateMapping.js\";\nimport { useRenderElement } from \"../../utils/useRenderElement.js\";\n\n/**\n * An element to attach the tooltip to.\n * Renders a `<button>` element.\n *\n * Documentation: [Base UI Tooltip](https://base-ui.com/react/components/tooltip)\n */\nexport const TooltipTrigger = /*#__PURE__*/React.forwardRef(function TooltipTrigger(componentProps, forwardedRef) {\n const {\n className,\n render,\n ...elementProps\n } = componentProps;\n const {\n open,\n setTriggerElement,\n triggerProps\n } = useTooltipRootContext();\n const state = React.useMemo(() => ({\n open\n }), [open]);\n const element = useRenderElement('button', componentProps, {\n state,\n ref: [forwardedRef, setTriggerElement],\n props: [triggerProps, elementProps],\n customStyleHookMapping: triggerOpenStateMapping\n });\n return element;\n});\nif (process.env.NODE_ENV !== \"production\") TooltipTrigger.displayName = \"TooltipTrigger\";","'use client';\n\nimport * as React from 'react';\nexport const TooltipPositionerContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") TooltipPositionerContext.displayName = \"TooltipPositionerContext\";\nexport function useTooltipPositionerContext() {\n const context = React.useContext(TooltipPositionerContext);\n if (context === undefined) {\n throw new Error('Base UI: TooltipPositionerContext is missing. TooltipPositioner parts must be placed within <Tooltip.Positioner>.');\n }\n return context;\n}","'use client';\n\nimport * as React from 'react';\nimport { useTooltipPositionerContext } from \"../positioner/TooltipPositionerContext.js\";\nimport { popupStateMapping } from \"../../utils/popupStateMapping.js\";\nimport { useRenderElement } from \"../../utils/useRenderElement.js\";\n\n/**\n * Displays an element positioned against the tooltip anchor.\n * Renders a `<div>` element.\n *\n * Documentation: [Base UI Tooltip](https://base-ui.com/react/components/tooltip)\n */\nexport const TooltipArrow = /*#__PURE__*/React.forwardRef(function TooltipArrow(componentProps, forwardedRef) {\n const {\n className,\n render,\n ...elementProps\n } = componentProps;\n const {\n open,\n arrowRef,\n side,\n align,\n arrowUncentered,\n arrowStyles\n } = useTooltipPositionerContext();\n const state = React.useMemo(() => ({\n open,\n side,\n align,\n uncentered: arrowUncentered\n }), [open, side, align, arrowUncentered]);\n const element = useRenderElement('div', componentProps, {\n state,\n ref: [forwardedRef, arrowRef],\n props: [{\n style: arrowStyles,\n 'aria-hidden': true\n }, elementProps],\n customStyleHookMapping: popupStateMapping\n });\n return element;\n});\nif (process.env.NODE_ENV !== \"production\") TooltipArrow.displayName = \"TooltipArrow\";","'use client';\n\nimport * as React from 'react';\nimport { useTooltipRootContext } from \"../root/TooltipRootContext.js\";\nimport { useTooltipPositionerContext } from \"../positioner/TooltipPositionerContext.js\";\nimport { popupStateMapping as baseMapping } from \"../../utils/popupStateMapping.js\";\nimport { transitionStatusMapping } from \"../../utils/styleHookMapping.js\";\nimport { useOpenChangeComplete } from \"../../utils/useOpenChangeComplete.js\";\nimport { useRenderElement } from \"../../utils/useRenderElement.js\";\nimport { EMPTY_OBJECT, DISABLED_TRANSITIONS_STYLE } from \"../../utils/constants.js\";\nconst customStyleHookMapping = {\n ...baseMapping,\n ...transitionStatusMapping\n};\n\n/**\n * A container for the tooltip contents.\n * Renders a `<div>` element.\n *\n * Documentation: [Base UI Tooltip](https://base-ui.com/react/components/tooltip)\n */\nexport const TooltipPopup = /*#__PURE__*/React.forwardRef(function TooltipPopup(componentProps, forwardedRef) {\n const {\n className,\n render,\n ...elementProps\n } = componentProps;\n const {\n open,\n instantType,\n transitionStatus,\n popupProps,\n popupRef,\n onOpenChangeComplete\n } = useTooltipRootContext();\n const {\n side,\n align\n } = useTooltipPositionerContext();\n useOpenChangeComplete({\n open,\n ref: popupRef,\n onComplete() {\n if (open) {\n onOpenChangeComplete?.(true);\n }\n }\n });\n const state = React.useMemo(() => ({\n open,\n side,\n align,\n instant: instantType,\n transitionStatus\n }), [open, side, align, instantType, transitionStatus]);\n const element = useRenderElement('div', componentProps, {\n state,\n ref: [forwardedRef, popupRef],\n props: [popupProps, transitionStatus === 'starting' ? DISABLED_TRANSITIONS_STYLE : EMPTY_OBJECT, elementProps],\n customStyleHookMapping\n });\n return element;\n});\nif (process.env.NODE_ENV !== \"production\") TooltipPopup.displayName = \"TooltipPopup\";","import * as React from 'react';\nexport const TooltipPortalContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") TooltipPortalContext.displayName = \"TooltipPortalContext\";\nexport function useTooltipPortalContext() {\n const value = React.useContext(TooltipPortalContext);\n if (value === undefined) {\n throw new Error('Base UI: <Tooltip.Portal> is missing.');\n }\n return value;\n}","'use client';\n\nimport * as React from 'react';\nimport { useTooltipRootContext } from \"../root/TooltipRootContext.js\";\nimport { TooltipPositionerContext } from \"./TooltipPositionerContext.js\";\nimport { useAnchorPositioning } from \"../../utils/useAnchorPositioning.js\";\nimport { popupStateMapping } from \"../../utils/popupStateMapping.js\";\nimport { useTooltipPortalContext } from \"../portal/TooltipPortalContext.js\";\nimport { useRenderElement } from \"../../utils/useRenderElement.js\";\nimport { POPUP_COLLISION_AVOIDANCE } from \"../../utils/constants.js\";\n\n/**\n * Positions the tooltip against the trigger.\n * Renders a `<div>` element.\n *\n * Documentation: [Base UI Tooltip](https://base-ui.com/react/components/tooltip)\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport const TooltipPositioner = /*#__PURE__*/React.forwardRef(function TooltipPositioner(componentProps, forwardedRef) {\n const {\n render,\n className,\n anchor,\n positionMethod = 'absolute',\n side = 'top',\n align = 'center',\n sideOffset = 0,\n alignOffset = 0,\n collisionBoundary = 'clipping-ancestors',\n collisionPadding = 5,\n arrowPadding = 5,\n sticky = false,\n trackAnchor = true,\n collisionAvoidance = POPUP_COLLISION_AVOIDANCE,\n ...elementProps\n } = componentProps;\n const {\n open,\n setPositionerElement,\n mounted,\n floatingRootContext,\n trackCursorAxis,\n hoverable\n } = useTooltipRootContext();\n const keepMounted = useTooltipPortalContext();\n const positioning = useAnchorPositioning({\n anchor,\n positionMethod,\n floatingRootContext,\n mounted,\n side,\n sideOffset,\n align,\n alignOffset,\n collisionBoundary,\n collisionPadding,\n sticky,\n arrowPadding,\n trackAnchor,\n keepMounted,\n collisionAvoidance\n });\n const defaultProps = React.useMemo(() => {\n const hiddenStyles = {};\n if (!open || trackCursorAxis === 'both' || !hoverable) {\n hiddenStyles.pointerEvents = 'none';\n }\n return {\n role: 'presentation',\n hidden: !mounted,\n style: {\n ...positioning.positionerStyles,\n ...hiddenStyles\n }\n };\n }, [open, trackCursorAxis, hoverable, mounted, positioning.positionerStyles]);\n const positioner = React.useMemo(() => ({\n props: defaultProps,\n ...positioning\n }), [defaultProps, positioning]);\n const state = React.useMemo(() => ({\n open,\n side: positioner.side,\n align: positioner.align,\n anchorHidden: positioner.anchorHidden\n }), [open, positioner.side, positioner.align, positioner.anchorHidden]);\n const contextValue = React.useMemo(() => ({\n ...state,\n arrowRef: positioner.arrowRef,\n arrowStyles: positioner.arrowStyles,\n arrowUncentered: positioner.arrowUncentered\n }), [state, positioner.arrowRef, positioner.arrowStyles, positioner.arrowUncentered]);\n const element = useRenderElement('div', componentProps, {\n state,\n props: [positioner.props, elementProps],\n ref: [forwardedRef, setPositionerElement],\n customStyleHookMapping: popupStateMapping\n });\n return /*#__PURE__*/_jsx(TooltipPositionerContext.Provider, {\n value: contextValue,\n children: element\n });\n});\nif (process.env.NODE_ENV !== \"production\") TooltipPositioner.displayName = \"TooltipPositioner\";","'use client';\n\nimport * as ReactDOM from 'react-dom';\nimport { useFloatingPortalNode } from \"../floating-ui-react/index.js\";\n\n/**\n * `FloatingPortal` includes tabbable logic handling for focus management.\n * For components that don't need tabbable logic, use `FloatingPortalLite`.\n * @internal\n */\nexport function FloatingPortalLite(props) {\n const node = useFloatingPortalNode({\n root: props.root\n });\n return node && /*#__PURE__*/ReactDOM.createPortal(props.children, node);\n}","'use client';\n\nimport * as React from 'react';\nimport { useTooltipRootContext } from \"../root/TooltipRootContext.js\";\nimport { TooltipPortalContext } from \"./TooltipPortalContext.js\";\nimport { FloatingPortalLite } from \"../../utils/FloatingPortalLite.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\n/**\n * A portal element that moves the popup to a different part of the DOM.\n * By default, the portal element is appended to `<body>`.\n *\n * Documentation: [Base UI Tooltip](https://base-ui.com/react/components/tooltip)\n */\nexport function TooltipPortal(props) {\n const {\n children,\n keepMounted = false,\n container\n } = props;\n const {\n mounted\n } = useTooltipRootContext();\n const shouldRender = mounted || keepMounted;\n if (!shouldRender) {\n return null;\n }\n return /*#__PURE__*/_jsx(TooltipPortalContext.Provider, {\n value: keepMounted,\n children: /*#__PURE__*/_jsx(FloatingPortalLite, {\n root: container,\n children: children\n })\n });\n}","import * as React from 'react';\nimport { useTimeout, Timeout } from '@base-ui-components/utils/useTimeout';\nimport { useIsoLayoutEffect } from '@base-ui-components/utils/useIsoLayoutEffect';\nimport { getDelay } from \"../hooks/useHover.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst FloatingDelayGroupContext = /*#__PURE__*/React.createContext({\n hasProvider: false,\n timeoutMs: 0,\n delayRef: {\n current: 0\n },\n initialDelayRef: {\n current: 0\n },\n timeout: new Timeout(),\n currentIdRef: {\n current: null\n },\n currentContextRef: {\n current: null\n }\n});\nif (process.env.NODE_ENV !== \"production\") FloatingDelayGroupContext.displayName = \"FloatingDelayGroupContext\";\n/**\n * Experimental next version of `FloatingDelayGroup` to become the default\n * in the future. This component is not yet stable.\n * Provides context for a group of floating elements that should share a\n * `delay`. Unlike `FloatingDelayGroup`, `useDelayGroup` with this\n * component does not cause a re-render of unrelated consumers of the\n * context when the delay changes.\n * @see https://floating-ui.com/docs/FloatingDelayGroup\n * @internal\n */\nexport function FloatingDelayGroup(props) {\n const {\n children,\n delay,\n timeoutMs = 0\n } = props;\n const delayRef = React.useRef(delay);\n const initialDelayRef = React.useRef(delay);\n const currentIdRef = React.useRef(null);\n const currentContextRef = React.useRef(null);\n const timeout = useTimeout();\n return /*#__PURE__*/_jsx(FloatingDelayGroupContext.Provider, {\n value: React.useMemo(() => ({\n hasProvider: true,\n delayRef,\n initialDelayRef,\n currentIdRef,\n timeoutMs,\n currentContextRef,\n timeout\n }), [timeoutMs, timeout]),\n children: children\n });\n}\n/**\n * Enables grouping when called inside a component that's a child of a\n * `FloatingDelayGroup`.\n * @see https://floating-ui.com/docs/FloatingDelayGroup\n * @internal\n */\nexport function useDelayGroup(context, options = {}) {\n const {\n open,\n onOpenChange,\n floatingId\n } = context;\n const {\n enabled = true\n } = options;\n const groupContext = React.useContext(FloatingDelayGroupContext);\n const {\n currentIdRef,\n delayRef,\n timeoutMs,\n initialDelayRef,\n currentContextRef,\n hasProvider,\n timeout\n } = groupContext;\n const [isInstantPhase, setIsInstantPhase] = React.useState(false);\n useIsoLayoutEffect(() => {\n function unset() {\n setIsInstantPhase(false);\n currentContextRef.current?.setIsInstantPhase(false);\n currentIdRef.current = null;\n currentContextRef.current = null;\n delayRef.current = initialDelayRef.current;\n }\n if (!enabled) {\n return undefined;\n }\n if (!currentIdRef.current) {\n return undefined;\n }\n if (!open && currentIdRef.current === floatingId) {\n setIsInstantPhase(false);\n if (timeoutMs) {\n timeout.start(timeoutMs, unset);\n return () => {\n timeout.clear();\n };\n }\n unset();\n }\n return undefined;\n }, [enabled, open, floatingId, currentIdRef, delayRef, timeoutMs, initialDelayRef, currentContextRef, timeout]);\n useIsoLayoutEffect(() => {\n if (!enabled) {\n return;\n }\n if (!open) {\n return;\n }\n const prevContext = currentContextRef.current;\n const prevId = currentIdRef.current;\n currentContextRef.current = {\n onOpenChange,\n setIsInstantPhase\n };\n currentIdRef.current = floatingId;\n delayRef.current = {\n open: 0,\n close: getDelay(initialDelayRef.current, 'close')\n };\n if (prevId !== null && prevId !== floatingId) {\n timeout.clear();\n setIsInstantPhase(true);\n prevContext?.setIsInstantPhase(true);\n prevContext?.onOpenChange(false);\n } else {\n setIsInstantPhase(false);\n prevContext?.setIsInstantPhase(false);\n }\n }, [enabled, open, floatingId, onOpenChange, currentIdRef, delayRef, timeoutMs, initialDelayRef, currentContextRef, timeout]);\n useIsoLayoutEffect(() => {\n return () => {\n currentContextRef.current = null;\n };\n }, [currentContextRef]);\n return React.useMemo(() => ({\n hasProvider,\n delayRef,\n isInstantPhase\n }), [hasProvider, delayRef, isInstantPhase]);\n}","import * as React from 'react';\nexport const TooltipProviderContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") TooltipProviderContext.displayName = \"TooltipProviderContext\";\nexport function useTooltipProviderContext() {\n return React.useContext(TooltipProviderContext);\n}","'use client';\n\nimport * as React from 'react';\nimport { FloatingDelayGroup } from \"../../floating-ui-react/index.js\";\nimport { TooltipProviderContext } from \"./TooltipProviderContext.js\";\n\n/**\n * Provides a shared delay for multiple tooltips. The grouping logic ensures that\n * once a tooltip becomes visible, the adjacent tooltips will be shown instantly.\n *\n * Documentation: [Base UI Tooltip](https://base-ui.com/react/components/tooltip)\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport const TooltipProvider = function TooltipProvider(props) {\n const {\n delay,\n closeDelay,\n timeout = 400\n } = props;\n const contextValue = React.useMemo(() => ({\n delay,\n closeDelay\n }), [delay, closeDelay]);\n const delayValue = React.useMemo(() => ({\n open: delay,\n close: closeDelay\n }), [delay, closeDelay]);\n return /*#__PURE__*/_jsx(TooltipProviderContext.Provider, {\n value: contextValue,\n children: /*#__PURE__*/_jsx(FloatingDelayGroup, {\n delay: delayValue,\n timeoutMs: timeout,\n children: props.children\n })\n });\n};\nif (process.env.NODE_ENV !== \"production\") TooltipProvider.displayName = \"TooltipProvider\";","import * as React from 'react';\nimport { getWindow } from '@floating-ui/utils/dom';\nimport { useEventCallback } from '@base-ui-components/utils/useEventCallback';\nimport { useIsoLayoutEffect } from '@base-ui-components/utils/useIsoLayoutEffect';\nimport { contains, getTarget, isMouseLikePointerType } from \"../utils.js\";\nfunction createVirtualElement(domElement, data) {\n let offsetX = null;\n let offsetY = null;\n let isAutoUpdateEvent = false;\n return {\n contextElement: domElement || undefined,\n getBoundingClientRect() {\n const domRect = domElement?.getBoundingClientRect() || {\n width: 0,\n height: 0,\n x: 0,\n y: 0\n };\n const isXAxis = data.axis === 'x' || data.axis === 'both';\n const isYAxis = data.axis === 'y' || data.axis === 'both';\n const canTrackCursorOnAutoUpdate = ['mouseenter', 'mousemove'].includes(data.dataRef.current.openEvent?.type || '') && data.pointerType !== 'touch';\n let width = domRect.width;\n let height = domRect.height;\n let x = domRect.x;\n let y = domRect.y;\n if (offsetX == null && data.x && isXAxis) {\n offsetX = domRect.x - data.x;\n }\n if (offsetY == null && data.y && isYAxis) {\n offsetY = domRect.y - data.y;\n }\n x -= offsetX || 0;\n y -= offsetY || 0;\n width = 0;\n height = 0;\n if (!isAutoUpdateEvent || canTrackCursorOnAutoUpdate) {\n width = data.axis === 'y' ? domRect.width : 0;\n height = data.axis === 'x' ? domRect.height : 0;\n x = isXAxis && data.x != null ? data.x : x;\n y = isYAxis && data.y != null ? data.y : y;\n } else if (isAutoUpdateEvent && !canTrackCursorOnAutoUpdate) {\n height = data.axis === 'x' ? domRect.height : height;\n width = data.axis === 'y' ? domRect.width : width;\n }\n isAutoUpdateEvent = true;\n return {\n width,\n height,\n x,\n y,\n top: y,\n right: x + width,\n bottom: y + height,\n left: x\n };\n }\n };\n}\nfunction isMouseBasedEvent(event) {\n return event != null && event.clientX != null;\n}\n/**\n * Positions the floating element relative to a client point (in the viewport),\n * such as the mouse position. By default, it follows the mouse cursor.\n * @see https://floating-ui.com/docs/useClientPoint\n */\nexport function useClientPoint(context, props = {}) {\n const {\n open,\n dataRef,\n elements: {\n floating,\n domReference\n },\n refs\n } = context;\n const {\n enabled = true,\n axis = 'both',\n x = null,\n y = null\n } = props;\n const initialRef = React.useRef(false);\n const cleanupListenerRef = React.useRef(null);\n const [pointerType, setPointerType] = React.useState();\n const [reactive, setReactive] = React.useState([]);\n const setReference = useEventCallback((newX, newY) => {\n if (initialRef.current) {\n return;\n }\n\n // Prevent setting if the open event was not a mouse-like one\n // (e.g. focus to open, then hover over the reference element).\n // Only apply if the event exists.\n if (dataRef.current.openEvent && !isMouseBasedEvent(dataRef.current.openEvent)) {\n return;\n }\n refs.setPositionReference(createVirtualElement(domReference, {\n x: newX,\n y: newY,\n axis,\n dataRef,\n pointerType\n }));\n });\n const handleReferenceEnterOrMove = useEventCallback(event => {\n if (x != null || y != null) {\n return;\n }\n if (!open) {\n setReference(event.clientX, event.clientY);\n } else if (!cleanupListenerRef.current) {\n // If there's no cleanup, there's no listener, but we want to ensure\n // we add the listener if the cursor landed on the floating element and\n // then back on the reference (i.e. it's interactive).\n setReactive([]);\n }\n });\n\n // If the pointer is a mouse-like pointer, we want to continue following the\n // mouse even if the floating element is transitioning out. On touch\n // devices, this is undesirable because the floating element will move to\n // the dismissal touch point.\n const openCheck = isMouseLikePointerType(pointerType) ? floating : open;\n const addListener = React.useCallback(() => {\n // Explicitly specified `x`/`y` coordinates shouldn't add a listener.\n if (!openCheck || !enabled || x != null || y != null) {\n return undefined;\n }\n const win = getWindow(floating);\n function handleMouseMove(event) {\n const target = getTarget(event);\n if (!contains(floating, target)) {\n setReference(event.clientX, event.clientY);\n } else {\n win.removeEventListener('mousemove', handleMouseMove);\n cleanupListenerRef.current = null;\n }\n }\n if (!dataRef.current.openEvent || isMouseBasedEvent(dataRef.current.openEvent)) {\n win.addEventListener('mousemove', handleMouseMove);\n const cleanup = () => {\n win.removeEventListener('mousemove', handleMouseMove);\n cleanupListenerRef.current = null;\n };\n cleanupListenerRef.current = cleanup;\n return cleanup;\n }\n refs.setPositionReference(domReference);\n return undefined;\n }, [openCheck, enabled, x, y, floating, dataRef, refs, domReference, setReference]);\n React.useEffect(() => {\n return addListener();\n }, [addListener, reactive]);\n React.useEffect(() => {\n if (enabled && !floating) {\n initialRef.current = false;\n }\n }, [enabled, floating]);\n React.useEffect(() => {\n if (!enabled && open) {\n initialRef.current = true;\n }\n }, [enabled, open]);\n useIsoLayoutEffect(() => {\n if (enabled && (x != null || y != null)) {\n initialRef.current = false;\n setReference(x, y);\n }\n }, [enabled, x, y, setReference]);\n const reference = React.useMemo(() => {\n function setPointerTypeRef(event) {\n setPointerType(event.pointerType);\n }\n return {\n onPointerDown: setPointerTypeRef,\n onPointerEnter: setPointerTypeRef,\n onMouseMove: handleReferenceEnterOrMove,\n onMouseEnter: handleReferenceEnterOrMove\n };\n }, [handleReferenceEnterOrMove]);\n return React.useMemo(() => enabled ? {\n reference\n } : {}, [enabled, reference]);\n}","'use client';\n\nimport * as React from 'react';\nimport * as ReactDOM from 'react-dom';\nimport { useControlled } from '@base-ui-components/utils/useControlled';\nimport { useEventCallback } from '@base-ui-components/utils/useEventCallback';\nimport { TooltipRootContext } from \"./TooltipRootContext.js\";\nimport { useClientPoint, useDelayGroup, useDismiss, useFloatingRootContext, useFocus, useHover, useInteractions, safePolygon } from \"../../floating-ui-react/index.js\";\nimport { useTransitionStatus } from \"../../utils/useTransitionStatus.js\";\nimport { OPEN_DELAY } from \"../utils/constants.js\";\nimport { translateOpenChangeReason } from \"../../utils/translateOpenChangeReason.js\";\nimport { useOpenChangeComplete } from \"../../utils/useOpenChangeComplete.js\";\nimport { useTooltipProviderContext } from \"../provider/TooltipProviderContext.js\";\n\n/**\n * Groups all parts of the tooltip.\n * Doesn’t render its own HTML element.\n *\n * Documentation: [Base UI Tooltip](https://base-ui.com/react/components/tooltip)\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport function TooltipRoot(props) {\n const {\n disabled = false,\n defaultOpen = false,\n onOpenChange,\n open: openProp,\n delay,\n closeDelay,\n hoverable = true,\n trackCursorAxis = 'none',\n actionsRef,\n onOpenChangeComplete\n } = props;\n const delayWithDefault = delay ?? OPEN_DELAY;\n const closeDelayWithDefault = closeDelay ?? 0;\n const [triggerElement, setTriggerElement] = React.useState(null);\n const [positionerElement, setPositionerElement] = React.useState(null);\n const [instantTypeState, setInstantTypeState] = React.useState();\n const popupRef = React.useRef(null);\n const [openState, setOpenState] = useControlled({\n controlled: openProp,\n default: defaultOpen,\n name: 'Tooltip',\n state: 'open'\n });\n const open = !disabled && openState;\n function setOpenUnwrapped(nextOpen, event, reason) {\n const isHover = reason === 'trigger-hover';\n const isFocusOpen = nextOpen && reason === 'trigger-focus';\n const isDismissClose = !nextOpen && (reason === 'trigger-press' || reason === 'escape-key');\n function changeState() {\n onOpenChange?.(nextOpen, event, reason);\n setOpenState(nextOpen);\n }\n if (isHover) {\n // If a hover reason is provided, we need to flush the state synchronously. This ensures\n // `node.getAnimations()` knows about the new state.\n ReactDOM.flushSync(changeState);\n } else {\n changeState();\n }\n if (isFocusOpen || isDismissClose) {\n setInstantTypeState(isFocusOpen ? 'focus' : 'dismiss');\n } else if (reason === 'trigger-hover') {\n setInstantTypeState(undefined);\n }\n }\n const setOpen = useEventCallback(setOpenUnwrapped);\n if (openState && disabled) {\n setOpenUnwrapped(false, undefined, 'disabled');\n }\n const {\n mounted,\n setMounted,\n transitionStatus\n } = useTransitionStatus(open);\n const handleUnmount = useEventCallback(() => {\n setMounted(false);\n onOpenChangeComplete?.(false);\n });\n useOpenChangeComplete({\n enabled: !actionsRef,\n open,\n ref: popupRef,\n onComplete() {\n if (!open) {\n handleUnmount();\n }\n }\n });\n React.useImperativeHandle(actionsRef, () => ({\n unmount: handleUnmount\n }), [handleUnmount]);\n const floatingRootContext = useFloatingRootContext({\n elements: {\n reference: triggerElement,\n floating: positionerElement\n },\n open,\n onOpenChange(openValue, eventValue, reasonValue) {\n setOpen(openValue, eventValue, translateOpenChangeReason(reasonValue));\n }\n });\n const providerContext = useTooltipProviderContext();\n const {\n delayRef,\n isInstantPhase,\n hasProvider\n } = useDelayGroup(floatingRootContext);\n const instantType = isInstantPhase ? 'delay' : instantTypeState;\n const hover = useHover(floatingRootContext, {\n enabled: !disabled,\n mouseOnly: true,\n move: false,\n handleClose: hoverable && trackCursorAxis !== 'both' ? safePolygon() : null,\n restMs() {\n const providerDelay = providerContext?.delay;\n const groupOpenValue = typeof delayRef.current === 'object' ? delayRef.current.open : undefined;\n let computedRestMs = delayWithDefault;\n if (hasProvider) {\n if (groupOpenValue !== 0) {\n computedRestMs = delay ?? providerDelay ?? delayWithDefault;\n } else {\n computedRestMs = 0;\n }\n }\n return computedRestMs;\n },\n delay() {\n const closeValue = typeof delayRef.current === 'object' ? delayRef.current.close : undefined;\n let computedCloseDelay = closeDelayWithDefault;\n if (closeDelay == null && hasProvider) {\n computedCloseDelay = closeValue;\n }\n return {\n close: computedCloseDelay\n };\n }\n });\n const focus = useFocus(floatingRootContext, {\n enabled: !disabled\n });\n const dismiss = useDismiss(floatingRootContext, {\n enabled: !disabled,\n referencePress: true\n });\n const clientPoint = useClientPoint(floatingRootContext, {\n enabled: !disabled && trackCursorAxis !== 'none',\n axis: trackCursorAxis === 'none' ? undefined : trackCursorAxis\n });\n const {\n getReferenceProps,\n getFloatingProps\n } = useInteractions([hover, focus, dismiss, clientPoint]);\n const tooltipRoot = React.useMemo(() => ({\n open,\n setOpen,\n mounted,\n setMounted,\n setTriggerElement,\n positionerElement,\n setPositionerElement,\n popupRef,\n triggerProps: getReferenceProps(),\n popupProps: getFloatingProps(),\n floatingRootContext,\n instantType,\n transitionStatus,\n onOpenChangeComplete\n }), [open, setOpen, mounted, setMounted, setTriggerElement, positionerElement, setPositionerElement, popupRef, getReferenceProps, getFloatingProps, floatingRootContext, instantType, transitionStatus, onOpenChangeComplete]);\n const contextValue = React.useMemo(() => ({\n ...tooltipRoot,\n delay: delayWithDefault,\n closeDelay: closeDelayWithDefault,\n trackCursorAxis,\n hoverable\n }), [tooltipRoot, delayWithDefault, closeDelayWithDefault, trackCursorAxis, hoverable]);\n return /*#__PURE__*/_jsx(TooltipRootContext.Provider, {\n value: contextValue,\n children: props.children\n });\n}","export const OPEN_DELAY = 600;","\n import API from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"../../../../build/webpack/loaders/devtool/devtool-style-inject.js\";\n import setAttributes from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./tooltip.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn;\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./tooltip.css\";\n export default content && content.locals ? content.locals : undefined;\n","import { forwardRef } from 'react'\nimport { Tooltip as BaseTooltip } from '@base-ui-components/react/tooltip'\nimport { useDevOverlayContext } from '../../../dev-overlay.browser'\nimport { cx } from '../../utils/cx'\nimport './tooltip.css'\n\ntype TooltipDirection = 'top' | 'bottom' | 'left' | 'right'\n\ninterface TooltipProps {\n children: React.ReactNode\n title: string | null\n direction?: TooltipDirection\n arrowSize?: number\n offset?: number\n className?: string\n}\n\nexport const Tooltip = forwardRef<HTMLDivElement, TooltipProps>(\n function Tooltip(\n {\n className,\n children,\n title,\n direction = 'top',\n arrowSize = 6,\n offset = 8,\n },\n ref\n ) {\n const { shadowRoot } = useDevOverlayContext()\n if (!title) {\n return children\n }\n return (\n <BaseTooltip.Provider>\n <BaseTooltip.Root delay={400}>\n <BaseTooltip.Trigger\n ref={ref}\n render={(triggerProps) => {\n return <span {...triggerProps}>{children}</span>\n }}\n />\n\n <BaseTooltip.Portal container={shadowRoot}>\n <BaseTooltip.Positioner\n side={direction}\n sideOffset={offset + arrowSize}\n className=\"tooltip-positioner\"\n style={\n {\n '--anchor-width': `${arrowSize}px`,\n '--anchor-height': `${arrowSize}px`,\n } as React.CSSProperties\n }\n >\n <BaseTooltip.Popup\n className={cx('tooltip', className)}\n style={\n {\n '--arrow-size': `${arrowSize}px`,\n } as React.CSSProperties\n }\n >\n {title}\n <BaseTooltip.Arrow\n className={cx('tooltip-arrow', `tooltip-arrow--${direction}`)}\n style={\n {\n '--arrow-size': `${arrowSize}px`,\n } as React.CSSProperties\n }\n />\n </BaseTooltip.Popup>\n </BaseTooltip.Positioner>\n </BaseTooltip.Portal>\n </BaseTooltip.Root>\n </BaseTooltip.Provider>\n )\n }\n)\n","import { Tooltip } from '../tooltip/tooltip'\nimport { InfoIcon } from './segment-explorer'\n\nexport function SegmentSuggestion({\n possibleExtension,\n missingGlobalError,\n}: {\n possibleExtension: string\n missingGlobalError: boolean\n}) {\n const tooltip = missingGlobalError\n ? `No global-error.${possibleExtension} found: Add one to ensure users see a helpful message when an unexpected error occurs.`\n : null\n return (\n <span className=\"segment-explorer-suggestions\">\n <Tooltip className=\"segment-explorer-suggestions-tooltip\" title={tooltip}>\n <InfoIcon />\n </Tooltip>\n </span>\n )\n}\n","import './segment-explorer.css'\nimport {\n useSegmentTree,\n type SegmentTrieNode,\n} from '../../segment-explorer-trie'\nimport { cx } from '../../utils/cx'\nimport { SegmentBoundaryTrigger } from './segment-boundary-trigger'\nimport { Tooltip } from '../tooltip/tooltip'\nimport { useCallback, useMemo } from 'react'\nimport {\n BUILTIN_PREFIX,\n getBoundaryOriginFileType,\n isBoundaryFile,\n isBuiltinBoundaryFile,\n normalizeBoundaryFilename,\n} from '../../../../server/app-render/segment-explorer-path'\nimport { SegmentSuggestion } from './segment-suggestion'\nimport type { SegmentBoundaryType } from '../../../userspace/app/segment-explorer-node'\n\nconst isFileNode = (node: SegmentTrieNode) => {\n return !!node.value?.type && !!node.value?.pagePath\n}\n\n// Utility functions for global boundary management\nfunction traverseTreeAndResetBoundaries(node: SegmentTrieNode) {\n // Reset this node's boundary if it has setBoundaryType function\n if (node.value?.setBoundaryType) {\n node.value.setBoundaryType(null)\n }\n\n // Recursively traverse children\n Object.values(node.children).forEach((child) => {\n if (child) {\n traverseTreeAndResetBoundaries(child)\n }\n })\n}\n\nfunction countActiveBoundaries(node: SegmentTrieNode): number {\n let count = 0\n\n // Count this node's boundary override if it's active\n // Only count when there's a non \":boundary\" type and it has an active override (boundaryType is not null)\n // This means the file is showing an overridden boundary instead of its original file\n if (\n node.value?.setBoundaryType &&\n node.value.boundaryType !== null &&\n !isBoundaryFile(node.value.type)\n ) {\n count++\n }\n\n // Recursively count children\n Object.values(node.children).forEach((child) => {\n if (child) {\n count += countActiveBoundaries(child)\n }\n })\n\n return count\n}\n\nfunction PageRouteBar({ page }: { page: string }) {\n return (\n <div className=\"segment-explorer-page-route-bar\">\n <BackArrowIcon />\n <span className=\"segment-explorer-page-route-bar-path\">{page}</span>\n </div>\n )\n}\n\nfunction SegmentExplorerFooter({\n activeBoundariesCount,\n onGlobalReset,\n}: {\n activeBoundariesCount: number\n onGlobalReset: () => void\n}) {\n const hasActiveOverrides = activeBoundariesCount > 0\n\n return (\n <div className=\"segment-explorer-footer\">\n <button\n className={`segment-explorer-footer-button ${!hasActiveOverrides ? 'segment-explorer-footer-button--disabled' : ''}`}\n onClick={hasActiveOverrides ? onGlobalReset : undefined}\n disabled={!hasActiveOverrides}\n type=\"button\"\n >\n <span className=\"segment-explorer-footer-text\">\n Clear Segment Overrides\n </span>\n {hasActiveOverrides && (\n <span className=\"segment-explorer-footer-badge\">\n {activeBoundariesCount}\n </span>\n )}\n </button>\n </div>\n )\n}\n\nfunction FilePill({\n type,\n isBuiltin,\n isOverridden,\n filePath,\n fileName,\n}: {\n type: string\n isBuiltin: boolean\n isOverridden: boolean\n filePath: string\n fileName: string\n}) {\n return (\n <span\n className={cx(\n 'segment-explorer-file-label',\n `segment-explorer-file-label--${type}`,\n isBuiltin && 'segment-explorer-file-label--builtin',\n isOverridden && 'segment-explorer-file-label--overridden'\n )}\n onClick={() => {\n openInEditor({ filePath })\n }}\n >\n <span className=\"segment-explorer-file-label-text\">{fileName}</span>\n {isBuiltin ? <InfoIcon /> : <CodeIcon className=\"code-icon\" />}\n </span>\n )\n}\n\nexport function PageSegmentTree({ page }: { page: string }) {\n const tree = useSegmentTree()\n\n // Count active boundaries for the badge\n const activeBoundariesCount = useMemo(() => {\n return countActiveBoundaries(tree)\n }, [tree])\n\n // Global reset handler\n const handleGlobalReset = useCallback(() => {\n traverseTreeAndResetBoundaries(tree)\n }, [tree])\n\n return (\n <div\n data-nextjs-devtools-panel-segments-explorer\n style={{\n display: 'flex',\n flexDirection: 'column',\n height: '100%',\n }}\n >\n <PageRouteBar page={page} />\n <div\n className=\"segment-explorer-content\"\n data-nextjs-devtool-segment-explorer\n style={{\n flex: '1 1 auto',\n overflow: 'auto',\n }}\n >\n <PageSegmentTreeLayerPresentation node={tree} level={0} segment=\"\" />\n </div>\n <SegmentExplorerFooter\n activeBoundariesCount={activeBoundariesCount}\n onGlobalReset={handleGlobalReset}\n />\n </div>\n )\n}\n\nconst GLOBAL_ERROR_BOUNDARY_TYPE = 'global-error'\n\nfunction PageSegmentTreeLayerPresentation({\n segment,\n node,\n level,\n}: {\n segment: string\n node: SegmentTrieNode\n level: number\n}) {\n const childrenKeys = useMemo(\n () => Object.keys(node.children),\n [node.children]\n )\n\n const missingGlobalError = useMemo(() => {\n const existingBoundaries: string[] = []\n childrenKeys.forEach((key) => {\n const childNode = node.children[key]\n if (!childNode || !childNode.value) return\n const boundaryType = getBoundaryOriginFileType(childNode.value.type)\n const isGlobalConvention = boundaryType === GLOBAL_ERROR_BOUNDARY_TYPE\n if (\n // If global-* convention is not built-in, it's existed\n (isGlobalConvention &&\n !isBuiltinBoundaryFile(childNode.value.pagePath)) ||\n (!isGlobalConvention &&\n // If it's non global boundary, we check if file is boundary type\n isBoundaryFile(childNode.value.type))\n ) {\n existingBoundaries.push(boundaryType)\n }\n })\n\n return (\n level === 0 && !existingBoundaries.includes(GLOBAL_ERROR_BOUNDARY_TYPE)\n )\n }, [node.children, childrenKeys, level])\n\n const sortedChildrenKeys = childrenKeys.sort((a, b) => {\n // Prioritize files with extensions over directories\n const aHasExt = a.includes('.')\n const bHasExt = b.includes('.')\n if (aHasExt && !bHasExt) return -1\n if (!aHasExt && bHasExt) return 1\n\n // For files, sort by priority: layout > template > page > boundaries > others\n if (aHasExt && bHasExt) {\n const aType = node.children[a]?.value?.type\n const bType = node.children[b]?.value?.type\n\n // Define priority order\n const getTypePriority = (type: string | undefined): number => {\n if (!type) return 5\n if (type === 'layout') return 1\n if (type === 'template') return 2\n if (type === 'page') return 3\n if (isBoundaryFile(type)) return 4\n return 5\n }\n\n const aPriority = getTypePriority(aType)\n const bPriority = getTypePriority(bType)\n\n // Sort by priority first\n if (aPriority !== bPriority) {\n return aPriority - bPriority\n }\n\n // If same priority, sort by file path\n const aFilePath = node.children[a]?.value?.pagePath || ''\n const bFilePath = node.children[b]?.value?.pagePath || ''\n return aFilePath.localeCompare(bFilePath)\n }\n\n // For directories, sort alphabetically\n return a.localeCompare(b)\n })\n\n // If it's the 1st level and contains a file, use 'app' as the folder name\n const folderName = level === 0 && !segment ? 'app' : segment\n\n const folderChildrenKeys: string[] = []\n const filesChildrenKeys: string[] = []\n\n for (const childKey of sortedChildrenKeys) {\n const childNode = node.children[childKey]\n if (!childNode) continue\n\n // If it's a file node, add it to filesChildrenKeys\n if (isFileNode(childNode)) {\n filesChildrenKeys.push(childKey)\n continue\n }\n\n // Otherwise, it's a folder node, add it to folderChildrenKeys\n folderChildrenKeys.push(childKey)\n }\n\n const possibleExtension =\n normalizeBoundaryFilename(filesChildrenKeys[0] || '')\n .split('.')\n .pop() || 'js'\n\n let firstChild = null\n\n for (let i = sortedChildrenKeys.length - 1; i >= 0; i--) {\n const childNode = node.children[sortedChildrenKeys[i]]\n if (!childNode || !childNode.value) continue\n\n const isBoundary = isBoundaryFile(childNode.value.type)\n\n if (!firstChild && !isBoundary) {\n firstChild = childNode\n break\n }\n }\n let firstBoundaryChild = null\n for (const childKey of sortedChildrenKeys) {\n const childNode = node.children[childKey]\n if (!childNode || !childNode.value) continue\n if (isBoundaryFile(childNode.value.type)) {\n firstBoundaryChild = childNode\n break\n }\n }\n firstChild = firstChild || firstBoundaryChild\n\n const hasFilesChildren = filesChildrenKeys.length > 0\n const boundaries: Record<SegmentBoundaryType, string | null> = {\n 'not-found': null,\n loading: null,\n error: null,\n 'global-error': null,\n }\n\n filesChildrenKeys.forEach((childKey) => {\n const childNode = node.children[childKey]\n if (!childNode || !childNode.value) return\n if (isBoundaryFile(childNode.value.type)) {\n const boundaryType = getBoundaryOriginFileType(childNode.value.type)\n\n if (boundaryType in boundaries) {\n boundaries[boundaryType as keyof typeof boundaries] =\n childNode.value.pagePath || null\n }\n }\n })\n\n return (\n <>\n {hasFilesChildren && (\n <div\n className=\"segment-explorer-item\"\n data-nextjs-devtool-segment-explorer-segment={segment + '-' + level}\n >\n <div\n className=\"segment-explorer-item-row\"\n style={{\n // If it's children levels, show indents if there's any file at that level.\n // Otherwise it's empty folder, no need to show indents.\n ...{ paddingLeft: `${(level + 1) * 8}px` },\n }}\n >\n <div className=\"segment-explorer-item-row-main\">\n <div className=\"segment-explorer-filename\">\n {folderName && (\n <span className=\"segment-explorer-filename--path\">\n {folderName}\n {/* hidden slashes for testing snapshots */}\n <small>{'/'}</small>\n </span>\n )}\n {missingGlobalError && (\n <SegmentSuggestion\n possibleExtension={possibleExtension}\n missingGlobalError={missingGlobalError}\n />\n )}\n {/* display all the file segments in this level */}\n {filesChildrenKeys.length > 0 && (\n <span className=\"segment-explorer-files\">\n {filesChildrenKeys.map((fileChildSegment) => {\n const childNode = node.children[fileChildSegment]\n if (!childNode || !childNode.value) {\n return null\n }\n // If it's boundary node, which marks the existence of the boundary not the rendered status,\n // we don't need to present in the rendered files.\n if (isBoundaryFile(childNode.value.type)) {\n return null\n }\n // If it's a page/default file, don't show it as a separate label since it's represented by the dropdown button\n // if (\n // childNode.value.type === 'page' ||\n // childNode.value.type === 'default'\n // ) {\n // return null\n // }\n const filePath = childNode.value.pagePath\n const lastSegment = filePath.split('/').pop() || ''\n const isBuiltin = filePath.startsWith(BUILTIN_PREFIX)\n const fileName = normalizeBoundaryFilename(lastSegment)\n\n const tooltipMessage = isBuiltin\n ? `The default Next.js ${childNode.value.type} is being shown. You can customize this page by adding your own ${fileName} file to the app/ directory.`\n : null\n\n const isOverridden = childNode.value.boundaryType !== null\n\n return (\n <Tooltip\n key={fileChildSegment}\n className={\n 'segment-explorer-file-label-tooltip--' +\n (isBuiltin ? 'lg' : 'sm')\n }\n direction={isBuiltin ? 'right' : 'top'}\n title={tooltipMessage}\n offset={12}\n >\n <FilePill\n type={childNode.value.type}\n isBuiltin={isBuiltin}\n isOverridden={isOverridden}\n filePath={filePath}\n fileName={fileName}\n />\n </Tooltip>\n )\n })}\n </span>\n )}\n {firstChild && firstChild.value && (\n <SegmentBoundaryTrigger\n nodeState={firstChild.value}\n boundaries={boundaries}\n />\n )}\n </div>\n </div>\n </div>\n </div>\n )}\n\n {folderChildrenKeys.map((childSegment) => {\n const child = node.children[childSegment]\n if (!child) {\n return null\n }\n\n // If it's an folder segment without any files under it,\n // merge it with the segment in the next level.\n const nextSegment = hasFilesChildren\n ? childSegment\n : segment + ' / ' + childSegment\n return (\n <PageSegmentTreeLayerPresentation\n key={childSegment}\n segment={nextSegment}\n node={child}\n level={hasFilesChildren ? level + 1 : level}\n />\n )\n })}\n </>\n )\n}\n\nfunction openInEditor({ filePath }: { filePath: string }) {\n const params = new URLSearchParams({\n file: filePath,\n // Mark the file path is relative to the app directory,\n // The editor launcher will complete the full path for it.\n isAppRelativePath: '1',\n })\n fetch(\n `${\n process.env.__NEXT_ROUTER_BASEPATH || ''\n }/__nextjs_launch-editor?${params.toString()}`\n )\n}\n\nexport function InfoIcon(props: React.SVGProps<SVGSVGElement>) {\n return (\n <svg\n width=\"16\"\n height=\"16\"\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <path\n d=\"M14 8C14 11.3137 11.3137 14 8 14C4.68629 14 2 11.3137 2 8C2 4.68629 4.68629 2 8 2C11.3137 2 14 4.68629 14 8Z\"\n fill=\"var(--color-gray-400)\"\n />\n <path\n d=\"M7.75 7C8.30228 7.00001 8.75 7.44772 8.75 8V11.25H7.25V8.5H6.25V7H7.75ZM8 4C8.55228 4 9 4.44772 9 5C9 5.55228 8.55228 6 8 6C7.44772 6 7 5.55228 7 5C7 4.44772 7.44772 4 8 4Z\"\n fill=\"var(--color-gray-900)\"\n />\n </svg>\n )\n}\n\nfunction BackArrowIcon() {\n return (\n <svg\n width=\"20\"\n height=\"20\"\n viewBox=\"0 0 20 20\"\n fill=\"var(--color-gray-600)\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M4.5 11.25C4.5 11.3881 4.61193 11.5 4.75 11.5H14.4395L11.9395 9L13 7.93945L16.7803 11.7197L16.832 11.7764C17.0723 12.0709 17.0549 12.5057 16.7803 12.7803L13 16.5605L11.9395 15.5L14.4395 13H4.75C3.7835 13 3 12.2165 3 11.25V4.25H4.5V11.25Z\" />\n </svg>\n )\n}\n\nfunction CodeIcon(props: React.SVGProps<SVGSVGElement>) {\n return (\n <svg\n width=\"12\"\n height=\"12\"\n strokeLinejoin=\"round\"\n viewBox=\"0 0 16 16\"\n fill=\"currentColor\"\n {...props}\n >\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M7.22763 14.1819L10.2276 2.18193L10.4095 1.45432L8.95432 1.09052L8.77242 1.81812L5.77242 13.8181L5.59051 14.5457L7.04573 14.9095L7.22763 14.1819ZM3.75002 12.0607L3.21969 11.5304L0.39647 8.70713C0.00594559 8.31661 0.00594559 7.68344 0.39647 7.29292L3.21969 4.46969L3.75002 3.93936L4.81068 5.00002L4.28035 5.53035L1.81068 8.00003L4.28035 10.4697L4.81068 11L3.75002 12.0607ZM12.25 12.0607L12.7804 11.5304L15.6036 8.70713C15.9941 8.31661 15.9941 7.68344 15.6036 7.29292L12.7804 4.46969L12.25 3.93936L11.1894 5.00002L11.7197 5.53035L14.1894 8.00003L11.7197 10.4697L11.1894 11L12.25 12.0607Z\"\n fill=\"currentColor\"\n />\n </svg>\n )\n}\n","import React, { useLayoutEffect, useRef } from 'react'\nimport { usePanelRouterContext } from '../../../../menu/context'\nimport { css } from '../../../../utils/css'\n\ninterface DevToolsHeaderProps {\n title: React.ReactNode\n children?: React.ReactNode\n}\nexport function DevToolsHeader({\n title,\n children,\n ref,\n}: DevToolsHeaderProps & { ref?: React.Ref<HTMLDivElement> }) {\n const { setPanel } = usePanelRouterContext()\n const buttonRef = useRef<HTMLButtonElement>(null)\n useLayoutEffect(() => {\n buttonRef.current?.focus()\n }, [])\n\n return (\n <div\n style={{\n width: '100%',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'space-between',\n padding: '8px 20px',\n userSelect: 'none',\n WebkitUserSelect: 'none',\n borderBottom: '1px solid var(--color-gray-alpha-400)',\n }}\n ref={ref}\n >\n <h3\n style={{\n margin: 0,\n fontSize: '14px',\n color: 'var(--color-text-primary)',\n fontWeight: 'normal',\n }}\n >\n {title}\n </h3>\n {children}\n <button\n ref={buttonRef}\n id=\"_next-devtools-panel-close\"\n className=\"dev-tools-info-close-button\"\n onClick={() => {\n setPanel('panel-selector')\n }}\n aria-label=\"Close devtools panel\"\n style={{\n background: 'none',\n border: 'none',\n cursor: 'pointer',\n padding: '4px',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n borderRadius: '4px',\n color: 'var(--color-gray-900)',\n }}\n >\n <XIcon />\n </button>\n <style>{css`\n .dev-tools-info-close-button:focus-visible {\n outline: var(--focus-ring);\n }\n `}</style>\n </div>\n )\n}\n\nfunction XIcon({ size = 22 }: { size?: number }) {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width={size}\n height={size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n >\n <path d=\"M18 6 6 18\" />\n <path d=\"m6 6 12 12\" />\n </svg>\n )\n}\n","export default function GearIcon() {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n viewBox=\"0 0 20 20\"\n fill=\"none\"\n >\n <path\n fill=\"currentColor\"\n fillRule=\"evenodd\"\n d=\"m9.7 3.736.045-.236h.51l.044.236a2.024 2.024 0 0 0 1.334 1.536c.19.066.375.143.554.23.618.301 1.398.29 2.03-.143l.199-.136.36.361-.135.199a2.024 2.024 0 0 0-.143 2.03c.087.179.164.364.23.554.224.65.783 1.192 1.536 1.334l.236.044v.51l-.236.044a2.024 2.024 0 0 0-1.536 1.334 4.95 4.95 0 0 1-.23.554 2.024 2.024 0 0 0 .143 2.03l.136.199-.361.36-.199-.135a2.024 2.024 0 0 0-2.03-.143c-.179.087-.364.164-.554.23a2.024 2.024 0 0 0-1.334 1.536l-.044.236h-.51l-.044-.236a2.024 2.024 0 0 0-1.334-1.536 4.952 4.952 0 0 1-.554-.23 2.024 2.024 0 0 0-2.03.143l-.199.136-.36-.361.135-.199a2.024 2.024 0 0 0 .143-2.03 4.958 4.958 0 0 1-.23-.554 2.024 2.024 0 0 0-1.536-1.334l-.236-.044v-.51l.236-.044a2.024 2.024 0 0 0 1.536-1.334 4.96 4.96 0 0 1 .23-.554 2.024 2.024 0 0 0-.143-2.03l-.136-.199.361-.36.199.135a2.024 2.024 0 0 0 2.03.143c.179-.087.364-.164.554-.23a2.024 2.024 0 0 0 1.334-1.536ZM8.5 2h3l.274 1.46c.034.185.17.333.348.394.248.086.49.186.722.3.17.082.37.074.526-.033l1.226-.839 2.122 2.122-.84 1.226a.524.524 0 0 0-.032.526c.114.233.214.474.3.722.061.177.21.314.394.348L18 8.5v3l-1.46.274a.524.524 0 0 0-.394.348 6.47 6.47 0 0 1-.3.722.524.524 0 0 0 .033.526l.839 1.226-2.122 2.122-1.226-.84a.524.524 0 0 0-.526-.032 6.477 6.477 0 0 1-.722.3.524.524 0 0 0-.348.394L11.5 18h-3l-.274-1.46a.524.524 0 0 0-.348-.394 6.477 6.477 0 0 1-.722-.3.524.524 0 0 0-.526.033l-1.226.839-2.122-2.122.84-1.226a.524.524 0 0 0 .032-.526 6.453 6.453 0 0 1-.3-.722.524.524 0 0 0-.394-.348L2 11.5v-3l1.46-.274a.524.524 0 0 0 .394-.348c.086-.248.186-.49.3-.722a.524.524 0 0 0-.033-.526l-.839-1.226 2.122-2.122 1.226.84a.524.524 0 0 0 .526.032 6.46 6.46 0 0 1 .722-.3.524.524 0 0 0 .348-.394L8.5 2Zm3 8a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm1.5 0a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"\n clipRule=\"evenodd\"\n />\n </svg>\n )\n}\n","export function LoadingIcon() {\n return (\n <svg\n width=\"20px\"\n height=\"20px\"\n viewBox=\"0 0 20 20\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <circle\n cx=\"10\"\n cy=\"10\"\n r=\"7\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeDasharray=\"32 12\"\n opacity=\"0.8\"\n >\n <animateTransform\n attributeName=\"transform\"\n type=\"rotate\"\n from=\"0 10 10\"\n to=\"360 10 10\"\n dur=\"1s\"\n repeatCount=\"indefinite\"\n />\n </circle>\n </svg>\n )\n}\n","\n import API from \"!../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"../../../build/webpack/loaders/devtool/devtool-style-inject.js\";\n import setAttributes from \"!../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./panel-router.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn;\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./panel-router.css\";\n export default content && content.locals ? content.locals : undefined;\n","import { usePanelRouterContext, type PanelStateKind } from './context'\nimport { ChevronRight, DevtoolMenu, IssueCount } from './dev-overlay-menu'\nimport { DynamicPanel } from '../panel/dynamic-panel'\nimport {\n learnMoreLink,\n RouteInfoBody,\n} from '../components/errors/dev-tools-indicator/dev-tools-info/route-info'\nimport { PageSegmentTree } from '../components/overview/segment-explorer'\nimport { DevToolsHeader } from '../components/errors/dev-tools-indicator/dev-tools-info/dev-tools-header'\nimport { useDelayedRender } from '../hooks/use-delayed-render'\nimport {\n MENU_CURVE,\n MENU_DURATION_MS,\n} from '../components/errors/dev-tools-indicator/utils'\nimport { useDevOverlayContext } from '../../dev-overlay.browser'\nimport { createContext, useContext } from 'react'\nimport { useRenderErrorContext } from '../dev-overlay'\nimport {\n ACTION_DEV_INDICATOR_SET,\n ACTION_DEVTOOLS_POSITION,\n ACTION_DEVTOOLS_SCALE,\n ACTION_ERROR_OVERLAY_CLOSE,\n ACTION_ERROR_OVERLAY_OPEN,\n} from '../shared'\nimport GearIcon from '../icons/gear-icon'\nimport { LoadingIcon } from '../icons/loading-icon'\nimport { UserPreferencesBody } from '../components/errors/dev-tools-indicator/dev-tools-info/user-preferences'\nimport { useShortcuts } from '../hooks/use-shortcuts'\nimport { useUpdateAllPanelPositions } from '../components/devtools-indicator/devtools-indicator'\nimport { saveDevToolsConfig } from '../utils/save-devtools-config'\nimport './panel-router.css'\n\nconst MenuPanel = () => {\n const { setPanel, setSelectedIndex } = usePanelRouterContext()\n const { state, dispatch } = useDevOverlayContext()\n const { totalErrorCount } = useRenderErrorContext()\n const isAppRouter = state.routerType === 'app'\n\n return (\n <DevtoolMenu\n items={[\n totalErrorCount > 0 && {\n title: `${totalErrorCount} ${totalErrorCount === 1 ? 'issue' : 'issues'} found. Click to view details in the dev overlay.`,\n label: 'Issues',\n value: <IssueCount>{totalErrorCount}</IssueCount>,\n onClick: () => {\n if (state.isErrorOverlayOpen) {\n dispatch({\n type: ACTION_ERROR_OVERLAY_CLOSE,\n })\n setPanel(null)\n return\n }\n setPanel(null)\n setSelectedIndex(-1)\n if (totalErrorCount > 0) {\n dispatch({\n type: ACTION_ERROR_OVERLAY_OPEN,\n })\n }\n },\n },\n state.staticIndicator === 'disabled'\n ? undefined\n : state.staticIndicator === 'pending'\n ? {\n title: 'Loading...',\n label: 'Route',\n value: <LoadingIcon />,\n }\n : {\n title: `Current route is ${state.staticIndicator}.`,\n label: 'Route',\n value:\n state.staticIndicator === 'static' ? 'Static' : 'Dynamic',\n onClick: () => setPanel('route-type'),\n attributes: {\n 'data-nextjs-route-type': state.staticIndicator,\n },\n },\n !!process.env.TURBOPACK\n ? {\n title: 'Turbopack is enabled.',\n label: 'Bundler',\n value: 'Turbopack',\n }\n : {\n title:\n 'Learn about Turbopack and how to enable it in your application.',\n label: 'Bundler',\n value: (\n <a\n href=\"https://nextjs.org/docs/app/api-reference/config/next-config-js/turbopack\"\n target=\"_blank\"\n rel=\"noreferrer noopener\"\n className=\"turbopack-upgrade-link\"\n >\n {process.env.__NEXT_BUNDLER || 'Turbopack'}\n </a>\n ),\n },\n !!process.env.__NEXT_CACHE_COMPONENTS && {\n title: 'Cache Components is enabled.',\n label: 'Cache Components',\n value: 'Enabled',\n },\n isAppRouter && {\n label: 'Route Info',\n value: <ChevronRight />,\n onClick: () => setPanel('segment-explorer'),\n attributes: {\n 'data-segment-explorer': true,\n },\n },\n {\n label: 'Preferences',\n value: <GearIcon />,\n onClick: () => setPanel('preferences'),\n footer: true,\n attributes: {\n 'data-preferences': true,\n },\n },\n ]}\n />\n )\n}\n\n// a little hacky but it does the trick\nconst useToggleDevtoolsVisibility = () => {\n const { state, dispatch, shadowRoot } = useDevOverlayContext()\n return () => {\n dispatch({\n type: ACTION_DEV_INDICATOR_SET,\n disabled: !state.disableDevIndicator,\n })\n\n const menuElement = shadowRoot.getElementById('panel-route') as HTMLElement\n const indicatorElement = shadowRoot.getElementById(\n 'data-devtools-indicator'\n ) as HTMLElement\n\n if (menuElement && menuElement.firstElementChild) {\n const firstChild = menuElement.firstElementChild as HTMLElement\n const isCurrentlyHidden = firstChild.style.display === 'none'\n firstChild.style.display = isCurrentlyHidden ? '' : 'none'\n }\n\n if (indicatorElement) {\n const isCurrentlyHidden = indicatorElement.style.display === 'none'\n indicatorElement.style.display = isCurrentlyHidden ? '' : 'none'\n }\n }\n}\n\nexport const PanelRouter = () => {\n const { state } = useDevOverlayContext()\n const { triggerRef } = usePanelRouterContext()\n const toggleDevtools = useToggleDevtoolsVisibility()\n const isAppRouter = state.routerType === 'app'\n\n useShortcuts(\n state.hideShortcut ? { [state.hideShortcut]: toggleDevtools } : {},\n triggerRef\n )\n\n return (\n <>\n <PanelRoute name=\"panel-selector\">\n <MenuPanel />\n </PanelRoute>\n\n {/* TODO: NEXT-4644 */}\n <PanelRoute name=\"preferences\">\n <DynamicPanel\n sharePanelSizeGlobally={false}\n sizeConfig={{\n kind: 'fixed',\n height: 500 / state.scale,\n width: 480 + 32,\n }}\n closeOnClickOutside\n header={<DevToolsHeader title=\"Preferences\" />}\n >\n <UserPreferencesWrapper />\n </DynamicPanel>\n </PanelRoute>\n\n {state.staticIndicator !== 'disabled' &&\n state.staticIndicator !== 'pending' && (\n <PanelRoute name=\"route-type\">\n <DynamicPanel\n key={state.staticIndicator}\n sharePanelSizeGlobally={false}\n sizeConfig={{\n kind: 'fixed',\n height:\n state.staticIndicator === 'static'\n ? 300 / state.scale\n : 325 / state.scale,\n width: 400 / state.scale,\n }}\n closeOnClickOutside\n header={\n <DevToolsHeader\n title={`${state.staticIndicator === 'static' ? 'Static' : 'Dynamic'} Route`}\n />\n }\n >\n <div className=\"panel-content\">\n <RouteInfoBody\n routerType={state.routerType}\n isStaticRoute={state.staticIndicator === 'static'}\n />\n <InfoFooter\n href={learnMoreLink[state.routerType][state.staticIndicator]}\n />\n </div>\n </DynamicPanel>\n </PanelRoute>\n )}\n\n {isAppRouter && (\n <PanelRoute name=\"segment-explorer\">\n <DynamicPanel\n sharePanelSizeGlobally={false}\n sharePanelPositionGlobally={false}\n draggable\n sizeConfig={{\n kind: 'resizable',\n maxHeight: '90vh',\n maxWidth: '90vw',\n minHeight: 200 / state.scale,\n minWidth: 250 / state.scale,\n initialSize: {\n height: 375 / state.scale,\n width: 400 / state.scale,\n },\n }}\n header={<DevToolsHeader title=\"Route Info\" />}\n >\n <PageSegmentTree page={state.page} />\n </DynamicPanel>\n </PanelRoute>\n )}\n </>\n )\n}\n\nconst InfoFooter = ({ href }: { href: string }) => {\n return (\n <div className=\"dev-tools-info-button-container\">\n <a\n className=\"dev-tools-info-learn-more-button\"\n href={href}\n target=\"_blank\"\n rel=\"noreferrer noopener\"\n >\n Learn More\n </a>\n </div>\n )\n}\n\nconst UserPreferencesWrapper = () => {\n const { dispatch, state } = useDevOverlayContext()\n const { setPanel, setSelectedIndex } = usePanelRouterContext()\n const updateAllPanelPositions = useUpdateAllPanelPositions()\n\n return (\n <div className=\"user-preferences-wrapper\">\n <UserPreferencesBody\n theme={state.theme}\n position={state.devToolsPosition}\n scale={state.scale}\n setScale={(scale) => {\n dispatch({\n type: ACTION_DEVTOOLS_SCALE,\n scale,\n })\n }}\n setPosition={(devToolsPosition) => {\n dispatch({\n type: ACTION_DEVTOOLS_POSITION,\n devToolsPosition,\n })\n updateAllPanelPositions(devToolsPosition)\n }}\n hideShortcut={state.hideShortcut}\n setHideShortcut={(value) => {\n saveDevToolsConfig({ hideShortcut: value })\n }}\n hide={() => {\n dispatch({\n type: ACTION_DEV_INDICATOR_SET,\n disabled: true,\n })\n setSelectedIndex(-1)\n setPanel(null)\n fetch('/__nextjs_disable_dev_indicator', {\n method: 'POST',\n })\n }}\n />\n </div>\n )\n}\n\nexport const usePanelContext = () => useContext(PanelContext)\nconst PanelContext = createContext<{\n name: PanelStateKind\n mounted: boolean\n}>(null!)\n// this router can be enhanced by Activity and ViewTransition trivially when we want to use them\nfunction PanelRoute({\n children,\n name,\n}: {\n children: React.ReactNode\n name: PanelStateKind\n}) {\n const { panel } = usePanelRouterContext()\n const { mounted, rendered } = useDelayedRender(name === panel, {\n enterDelay: 0,\n exitDelay: MENU_DURATION_MS,\n })\n\n if (!mounted) return null\n\n return (\n <PanelContext\n value={{\n name,\n mounted,\n }}\n >\n <div\n id=\"panel-route\"\n className=\"panel-route\"\n style={\n {\n '--panel-opacity': rendered ? 1 : 0,\n '--panel-transition': `opacity ${MENU_DURATION_MS}ms ${MENU_CURVE}`,\n } as React.CSSProperties\n }\n >\n {children}\n </div>\n </PanelContext>\n )\n}\n","import { useEffect } from 'react'\nimport { getActiveElement } from '../components/errors/dev-tools-indicator/utils'\n\nexport function useShortcuts(\n shortcuts: Record<string, () => void>,\n rootRef: React.RefObject<HTMLElement | null>\n) {\n useEffect(() => {\n function handleKeyDown(e: KeyboardEvent) {\n if (isFocusedOnElement(rootRef)) return\n\n const keys = []\n\n if (e.metaKey) keys.push('Meta')\n if (e.ctrlKey) keys.push('Control')\n if (e.altKey) keys.push('Alt')\n if (e.shiftKey) keys.push('Shift')\n\n if (\n e.key !== 'Meta' &&\n e.key !== 'Control' &&\n e.key !== 'Alt' &&\n e.key !== 'Shift'\n ) {\n keys.push(e.code)\n }\n\n const shortcut = keys.join('+')\n\n if (shortcuts[shortcut]) {\n e.preventDefault()\n shortcuts[shortcut]()\n }\n }\n\n window.addEventListener('keydown', handleKeyDown)\n return () => window.removeEventListener('keydown', handleKeyDown)\n }, [rootRef, shortcuts])\n}\n\nfunction isFocusedOnElement(rootRef: React.RefObject<HTMLElement | null>) {\n const el = getActiveElement(rootRef.current)\n\n if (!el) return false\n\n if (\n el.contentEditable === 'true' ||\n el.tagName === 'INPUT' ||\n el.tagName === 'TEXTAREA' ||\n el.tagName === 'SELECT' ||\n el.dataset['shortcut-recorder'] === 'true'\n ) {\n // It's okay to trigger global keybinds from readonly inputs\n if (el.hasAttribute('readonly')) {\n return false\n }\n return true\n }\n\n return false\n}\n","import { createContext, useContext, useRef, useState } from 'react'\nimport { ShadowPortal } from './components/shadow-portal'\nimport { ComponentStyles } from './styles/component-styles'\nimport { ErrorOverlay } from './components/errors/error-overlay/error-overlay'\nimport { RenderError } from './container/runtime-error/render-error'\nimport { ScaleUpdater } from './styles/scale-updater'\nimport type { ReadyRuntimeError } from './utils/get-error-by-type'\nimport { DevToolsIndicator } from './components/devtools-indicator/devtools-indicator'\nimport { PanelRouter } from './menu/panel-router'\nimport { PanelRouterContext, type PanelStateKind } from './menu/context'\nimport { useDevOverlayContext } from '../dev-overlay.browser'\n\nexport const RenderErrorContext = createContext<{\n runtimeErrors: ReadyRuntimeError[]\n totalErrorCount: number\n}>(null!)\n\nexport const useRenderErrorContext = () => useContext(RenderErrorContext)\n\nexport function DevOverlay() {\n const [panel, setPanel] = useState<null | PanelStateKind>(null)\n const [selectedIndex, setSelectedIndex] = useState(-1)\n const { state, dispatch, getSquashedHydrationErrorDetails } =\n useDevOverlayContext()\n\n const triggerRef = useRef<HTMLButtonElement>(null)\n return (\n <ShadowPortal>\n <ScaleUpdater />\n <ComponentStyles />\n\n <RenderError state={state} isAppDir={true}>\n {({ runtimeErrors, totalErrorCount }) => {\n return (\n <>\n {state.showIndicator ? (\n <>\n <RenderErrorContext\n value={{ runtimeErrors, totalErrorCount }}\n >\n <PanelRouterContext\n value={{\n panel,\n setPanel,\n triggerRef,\n selectedIndex,\n setSelectedIndex,\n }}\n >\n <ErrorOverlay\n state={state}\n dispatch={dispatch}\n getSquashedHydrationErrorDetails={\n getSquashedHydrationErrorDetails\n }\n runtimeErrors={runtimeErrors}\n errorCount={totalErrorCount}\n />\n <PanelRouter />\n <DevToolsIndicator />\n </PanelRouterContext>\n </RenderErrorContext>\n </>\n ) : null}\n </>\n )\n }}\n </RenderError>\n </ShadowPortal>\n )\n}\n","import {\n ACTION_BEFORE_REFRESH,\n ACTION_BUILD_ERROR,\n ACTION_BUILD_OK,\n ACTION_DEBUG_INFO,\n ACTION_DEV_INDICATOR,\n ACTION_REFRESH,\n ACTION_ERROR_OVERLAY_CLOSE,\n ACTION_ERROR_OVERLAY_OPEN,\n ACTION_ERROR_OVERLAY_TOGGLE,\n ACTION_STATIC_INDICATOR,\n ACTION_UNHANDLED_ERROR,\n ACTION_UNHANDLED_REJECTION,\n ACTION_VERSION_INFO,\n useErrorOverlayReducer,\n ACTION_BUILDING_INDICATOR_HIDE,\n ACTION_BUILDING_INDICATOR_SHOW,\n ACTION_RENDERING_INDICATOR_HIDE,\n ACTION_RENDERING_INDICATOR_SHOW,\n ACTION_DEVTOOL_UPDATE_ROUTE_STATE,\n ACTION_DEVTOOLS_CONFIG,\n type OverlayState,\n type DispatcherEvent,\n ACTION_CACHE_INDICATOR,\n} from './dev-overlay/shared'\n\nimport {\n createContext,\n startTransition,\n useContext,\n useEffect,\n useInsertionEffect,\n useLayoutEffect,\n type ActionDispatch,\n} from 'react'\nimport { createRoot } from 'react-dom/client'\nimport type { CacheIndicatorState } from './dev-overlay/cache-indicator'\nimport { FontStyles } from './dev-overlay/font/font-styles'\nimport type { HydrationErrorState } from './shared/hydration-error'\nimport type { DebugInfo } from './shared/types'\nimport { DevOverlay } from './dev-overlay/dev-overlay'\nimport type { DevIndicatorServerState } from '../server/dev/dev-indicator-server-state'\nimport type { VersionInfo } from '../server/dev/parse-version-info'\nimport {\n insertSegmentNode,\n removeSegmentNode,\n getSegmentTrieRoot,\n} from './dev-overlay/segment-explorer-trie'\nimport type { SegmentNodeState } from './userspace/app/segment-explorer-node'\nimport type { DevToolsConfig } from './dev-overlay/shared'\nimport type { SegmentTrieData } from '../shared/lib/mcp-page-metadata-types'\n\nexport interface Dispatcher {\n onBuildOk(): void\n onBuildError(message: string): void\n onVersionInfo(versionInfo: VersionInfo): void\n onDebugInfo(debugInfo: DebugInfo): void\n onBeforeRefresh(): void\n onRefresh(): void\n onCacheIndicator(status: CacheIndicatorState): void\n onStaticIndicator(status: 'pending' | 'static' | 'dynamic' | 'disabled'): void\n onDevIndicator(devIndicator: DevIndicatorServerState): void\n onDevToolsConfig(config: DevToolsConfig): void\n onUnhandledError(reason: Error): void\n onUnhandledRejection(reason: Error): void\n openErrorOverlay(): void\n closeErrorOverlay(): void\n toggleErrorOverlay(): void\n buildingIndicatorHide(): void\n buildingIndicatorShow(): void\n renderingIndicatorHide(): void\n renderingIndicatorShow(): void\n segmentExplorerNodeAdd(nodeState: SegmentNodeState): void\n segmentExplorerNodeRemove(nodeState: SegmentNodeState): void\n segmentExplorerUpdateRouteState(page: string): void\n}\n\ntype Dispatch = ReturnType<typeof useErrorOverlayReducer>[1]\nlet maybeDispatch: Dispatch | null = null\nconst queue: Array<(dispatch: Dispatch) => void> = []\n\n// Global state store for accessing current overlay state from outside React context\ntype OverlayStateWithRouter = OverlayState & { routerType: 'pages' | 'app' }\n\nlet currentOverlayState: OverlayStateWithRouter | null = null\n\nexport function getSerializedOverlayState(): OverlayStateWithRouter | null {\n // Serialize error objects properly since Error properties are non-enumerable\n // This is used when sending state via HMR/JSON.stringify\n if (!currentOverlayState) return null\n\n return {\n ...currentOverlayState,\n errors: currentOverlayState.errors.map((errorEvent: any) => ({\n ...errorEvent,\n error: errorEvent.error\n ? {\n name: errorEvent.error.name,\n message: errorEvent.error.message,\n stack: errorEvent.error.stack,\n }\n : null,\n })),\n }\n}\n\nexport function getSegmentTrieData(): SegmentTrieData | null {\n if (!currentOverlayState) {\n return null\n }\n const trieRoot = getSegmentTrieRoot()\n return {\n segmentTrie: trieRoot,\n routerType: currentOverlayState.routerType,\n }\n}\n\n// Events might be dispatched before we get a `dispatch` from React (e.g. console.error during module eval).\n// We need to queue them until we have a `dispatch` function available.\nfunction createQueuable<Args extends any[]>(\n queueableFunction: (dispatch: Dispatch, ...args: Args) => void\n) {\n return (...args: Args) => {\n if (maybeDispatch) {\n queueableFunction(maybeDispatch, ...args)\n } else {\n queue.push((dispatch: Dispatch) => {\n queueableFunction(dispatch, ...args)\n })\n }\n }\n}\n\n// TODO: Extract into separate functions that are imported\nexport const dispatcher: Dispatcher = {\n onBuildOk: createQueuable((dispatch: Dispatch) => {\n dispatch({ type: ACTION_BUILD_OK })\n }),\n onBuildError: createQueuable((dispatch: Dispatch, message: string) => {\n dispatch({ type: ACTION_BUILD_ERROR, message })\n }),\n onBeforeRefresh: createQueuable((dispatch: Dispatch) => {\n dispatch({ type: ACTION_BEFORE_REFRESH })\n }),\n onRefresh: createQueuable((dispatch: Dispatch) => {\n dispatch({ type: ACTION_REFRESH })\n }),\n onVersionInfo: createQueuable(\n (dispatch: Dispatch, versionInfo: VersionInfo) => {\n dispatch({ type: ACTION_VERSION_INFO, versionInfo })\n }\n ),\n onCacheIndicator: createQueuable(\n (dispatch: Dispatch, status: CacheIndicatorState) => {\n dispatch({ type: ACTION_CACHE_INDICATOR, cacheIndicator: status })\n }\n ),\n onStaticIndicator: createQueuable(\n (\n dispatch: Dispatch,\n status: 'pending' | 'static' | 'dynamic' | 'disabled'\n ) => {\n dispatch({ type: ACTION_STATIC_INDICATOR, staticIndicator: status })\n }\n ),\n onDebugInfo: createQueuable((dispatch: Dispatch, debugInfo: DebugInfo) => {\n dispatch({ type: ACTION_DEBUG_INFO, debugInfo })\n }),\n onDevIndicator: createQueuable(\n (dispatch: Dispatch, devIndicator: DevIndicatorServerState) => {\n dispatch({ type: ACTION_DEV_INDICATOR, devIndicator })\n }\n ),\n onDevToolsConfig: createQueuable(\n (dispatch: Dispatch, devToolsConfig: DevToolsConfig) => {\n dispatch({ type: ACTION_DEVTOOLS_CONFIG, devToolsConfig })\n }\n ),\n onUnhandledError: createQueuable((dispatch: Dispatch, error: Error) => {\n dispatch({\n type: ACTION_UNHANDLED_ERROR,\n reason: error,\n })\n }),\n onUnhandledRejection: createQueuable((dispatch: Dispatch, error: Error) => {\n dispatch({\n type: ACTION_UNHANDLED_REJECTION,\n reason: error,\n })\n }),\n openErrorOverlay: createQueuable((dispatch: Dispatch) => {\n dispatch({ type: ACTION_ERROR_OVERLAY_OPEN })\n }),\n closeErrorOverlay: createQueuable((dispatch: Dispatch) => {\n dispatch({ type: ACTION_ERROR_OVERLAY_CLOSE })\n }),\n toggleErrorOverlay: createQueuable((dispatch: Dispatch) => {\n dispatch({ type: ACTION_ERROR_OVERLAY_TOGGLE })\n }),\n buildingIndicatorHide: createQueuable((dispatch: Dispatch) => {\n dispatch({ type: ACTION_BUILDING_INDICATOR_HIDE })\n }),\n buildingIndicatorShow: createQueuable((dispatch: Dispatch) => {\n dispatch({ type: ACTION_BUILDING_INDICATOR_SHOW })\n }),\n renderingIndicatorHide: createQueuable((dispatch: Dispatch) => {\n dispatch({ type: ACTION_RENDERING_INDICATOR_HIDE })\n }),\n renderingIndicatorShow: createQueuable((dispatch: Dispatch) => {\n dispatch({ type: ACTION_RENDERING_INDICATOR_SHOW })\n }),\n segmentExplorerNodeAdd: createQueuable(\n (_: Dispatch, nodeState: SegmentNodeState) => {\n insertSegmentNode(nodeState)\n }\n ),\n segmentExplorerNodeRemove: createQueuable(\n (_: Dispatch, nodeState: SegmentNodeState) => {\n removeSegmentNode(nodeState)\n }\n ),\n segmentExplorerUpdateRouteState: createQueuable(\n (dispatch: Dispatch, page: string) => {\n dispatch({ type: ACTION_DEVTOOL_UPDATE_ROUTE_STATE, page })\n }\n ),\n}\n\nfunction replayQueuedEvents(dispatch: NonNullable<typeof maybeDispatch>) {\n try {\n for (const queuedFunction of queue) {\n queuedFunction(dispatch)\n }\n } finally {\n // TODO: What to do with failed events?\n queue.length = 0\n }\n}\n\nfunction DevOverlayRoot({\n enableCacheIndicator,\n getOwnerStack,\n getSquashedHydrationErrorDetails,\n isRecoverableError,\n routerType,\n shadowRoot,\n}: {\n enableCacheIndicator: boolean\n getOwnerStack: (error: Error) => string | null | undefined\n getSquashedHydrationErrorDetails: (error: Error) => HydrationErrorState | null\n isRecoverableError: (error: Error) => boolean\n routerType: 'app' | 'pages'\n shadowRoot: ShadowRoot\n}) {\n const [state, dispatch] = useErrorOverlayReducer(\n routerType,\n getOwnerStack,\n isRecoverableError,\n enableCacheIndicator\n )\n\n useEffect(() => {\n currentOverlayState = { ...state, routerType }\n }, [state, routerType])\n\n useLayoutEffect(() => {\n const portalNode = shadowRoot.host\n if (state.theme === 'dark') {\n portalNode.classList.add('dark')\n portalNode.classList.remove('light')\n } else if (state.theme === 'light') {\n portalNode.classList.add('light')\n portalNode.classList.remove('dark')\n } else {\n portalNode.classList.remove('dark')\n portalNode.classList.remove('light')\n }\n }, [shadowRoot, state.theme])\n\n useInsertionEffect(() => {\n maybeDispatch = dispatch\n\n // Can't schedule updates from useInsertionEffect, so we need to defer.\n // Could move this into a passive Effect but we don't want replaying when\n // we reconnect.\n const replayTimeout = setTimeout(() => {\n replayQueuedEvents(dispatch)\n })\n\n return () => {\n maybeDispatch = null\n clearTimeout(replayTimeout)\n }\n }, [])\n\n return (\n <>\n {/* Fonts can only be loaded outside the Shadow DOM. */}\n <FontStyles />\n <DevOverlayContext\n value={{\n dispatch,\n getSquashedHydrationErrorDetails,\n shadowRoot,\n state,\n }}\n >\n <DevOverlay />\n </DevOverlayContext>\n </>\n )\n}\nexport const DevOverlayContext = createContext<{\n shadowRoot: ShadowRoot\n state: OverlayState & {\n routerType: 'pages' | 'app'\n }\n dispatch: ActionDispatch<[action: DispatcherEvent]>\n getSquashedHydrationErrorDetails: (error: Error) => HydrationErrorState | null\n}>(null!)\nexport const useDevOverlayContext = () => useContext(DevOverlayContext)\n\nlet isPagesMounted = false\nlet isAppMounted = false\n\nfunction getSquashedHydrationErrorDetailsApp() {\n // We don't squash hydration errors in the App Router.\n return null\n}\n\nexport function renderAppDevOverlay(\n getOwnerStack: (error: Error) => string | null | undefined,\n isRecoverableError: (error: Error) => boolean,\n enableCacheIndicator: boolean\n): void {\n if (isPagesMounted) {\n // Switching between App and Pages Router is always a hard navigation\n // TODO: Support soft navigation between App and Pages Router\n throw new Error(\n 'Next DevTools: Pages Dev Overlay is already mounted. This is a bug in Next.js'\n )\n }\n\n if (!isAppMounted) {\n // React 19 will not throw away `<script>` elements in a container it owns.\n // This ensures the actual user-space React does not unmount the Dev Overlay.\n const script = document.createElement('script')\n script.style.display = 'block'\n // Although the style applied to the shadow host is isolated,\n // the element that attached the shadow host (i.e. \"script\")\n // is still affected by the parent's style (e.g. \"body\"). This may\n // occur style conflicts like \"display: flex\", with other children\n // elements therefore give the shadow host an absolute position.\n script.style.position = 'absolute'\n script.setAttribute('data-nextjs-dev-overlay', 'true')\n\n const container = document.createElement('nextjs-portal')\n\n script.appendChild(container)\n document.body.appendChild(script)\n\n const root = createRoot(container, {\n identifierPrefix: 'ndt-',\n // We don't have design for a default Transition indicator for the NDT frontend.\n // So we disable React's built-in one to not conflict with the one for the actual Next.js app.\n onDefaultTransitionIndicator: () => () => {},\n })\n\n const shadowRoot = container.attachShadow({ mode: 'open' })\n\n startTransition(() => {\n // TODO: Dedicated error boundary or root error callbacks?\n // At least it won't unmount any user code if it errors.\n root.render(\n <DevOverlayRoot\n enableCacheIndicator={enableCacheIndicator}\n getOwnerStack={getOwnerStack}\n getSquashedHydrationErrorDetails={getSquashedHydrationErrorDetailsApp}\n isRecoverableError={isRecoverableError}\n routerType=\"app\"\n shadowRoot={shadowRoot}\n />\n )\n })\n\n isAppMounted = true\n }\n}\n\nexport function renderPagesDevOverlay(\n getOwnerStack: (error: Error) => string | null | undefined,\n getSquashedHydrationErrorDetails: (\n error: Error\n ) => HydrationErrorState | null,\n isRecoverableError: (error: Error) => boolean\n): void {\n if (isAppMounted) {\n // Switching between App and Pages Router is always a hard navigation\n // TODO: Support soft navigation between App and Pages Router\n throw new Error(\n 'Next DevTools: App Dev Overlay is already mounted. This is a bug in Next.js'\n )\n }\n\n if (!isPagesMounted) {\n const container = document.createElement('nextjs-portal')\n // Although the style applied to the shadow host is isolated,\n // the element that attached the shadow host (i.e. \"script\")\n // is still affected by the parent's style (e.g. \"body\"). This may\n // occur style conflicts like \"display: flex\", with other children\n // elements therefore give the shadow host an absolute position.\n container.style.position = 'absolute'\n\n // Pages Router runs with React 18 or 19 so we can't use the same trick as with\n // App Router. We just reconnect the container if React wipes it e.g. when\n // we recover from a shell error via createRoot()\n new MutationObserver((records) => {\n for (const record of records) {\n if (record.type === 'childList') {\n for (const node of record.removedNodes) {\n if (node === container) {\n // Reconnect the container to the body\n document.body.appendChild(container)\n }\n }\n }\n }\n }).observe(document.body, {\n childList: true,\n })\n document.body.appendChild(container)\n\n const root = createRoot(container, { identifierPrefix: 'ndt-' })\n\n const shadowRoot = container.attachShadow({ mode: 'open' })\n\n startTransition(() => {\n // TODO: Dedicated error boundary or root error callbacks?\n // At least it won't unmount any user code if it errors.\n root.render(\n <DevOverlayRoot\n // Pages Router does not support Cache Components\n enableCacheIndicator={false}\n getOwnerStack={getOwnerStack}\n getSquashedHydrationErrorDetails={getSquashedHydrationErrorDetails}\n isRecoverableError={isRecoverableError}\n routerType=\"pages\"\n shadowRoot={shadowRoot}\n />\n )\n })\n\n isPagesMounted = true\n }\n}\n"],"names":["i","c","o","document","btoa","unescape","encodeURIComponent","JSON","e","n","Object","TypeError","l","parseInt","isNaN","arguments","Error","t","Symbol","R","Array","Reflect","s","Math","window","Map","Set","RegExp","Date","String","reportError","process","console","WeakMap","AbortController","r","u","d","a","setTimeout","p","WeakSet","matchMedia","Promise","performance","navigator","clearTimeout","getComputedStyle","FormData","queueMicrotask","CSS","DOMRect","HTMLElement","Node","devicePixelRatio","navigation","__REACT_DEVTOOLS_GLOBAL_HOOK__","setImmediate","MessageChannel","__nccwpck_require__","MutationObserver","Number","URL","atob","BigInt","Z","__webpack_require__","previousBodyPaddingRight","previousBodyOverflowSetting","regexNextStatic","digestSym","for","NEXT_DEV_TOOLS_SCALE","Small","BASE_SIZE","Medium","Large","ACTION_CACHE_INDICATOR","ACTION_STATIC_INDICATOR","ACTION_BUILD_OK","ACTION_BUILD_ERROR","ACTION_BEFORE_REFRESH","ACTION_REFRESH","ACTION_VERSION_INFO","ACTION_UNHANDLED_ERROR","ACTION_UNHANDLED_REJECTION","ACTION_DEBUG_INFO","ACTION_DEV_INDICATOR","ACTION_DEV_INDICATOR_SET","ACTION_ERROR_OVERLAY_OPEN","ACTION_ERROR_OVERLAY_CLOSE","ACTION_ERROR_OVERLAY_TOGGLE","ACTION_BUILDING_INDICATOR_SHOW","ACTION_BUILDING_INDICATOR_HIDE","ACTION_RENDERING_INDICATOR_SHOW","ACTION_RENDERING_INDICATOR_HIDE","ACTION_DEVTOOLS_POSITION","ACTION_DEVTOOLS_PANEL_POSITION","ACTION_DEVTOOLS_SCALE","ACTION_DEVTOOLS_CONFIG","STORAGE_KEY_PANEL_POSITION_PREFIX","STORE_KEY_PANEL_SIZE_PREFIX","STORE_KEY_SHARED_PANEL_SIZE","STORE_KEY_SHARED_PANEL_LOCATION","ACTION_DEVTOOL_UPDATE_ROUTE_STATE","REACT_ERROR_STACK_BOTTOM_FRAME_REGEX","getStackIgnoringStrictMode","stack","split","shouldDisableDevIndicator","env","__NEXT_DEV_INDICATOR","toString","devToolsInitialPositionFromNextConfig","__NEXT_DEV_INDICATOR_POSITION","INITIAL_OVERLAY_STATE","nextId","buildError","errors","notFound","renderingIndicator","cacheIndicator","staticIndicator","showIndicator","disableDevIndicator","buildingIndicator","refreshState","type","versionInfo","installed","staleness","debugInfo","devtoolsFrontendUrl","undefined","devToolsPosition","devToolsPanelPosition","devToolsPanelSize","scale","page","theme","hideShortcut","css","strings","keys","lastIndex","length","str","slice","reduce","replace","trim","FontStyles","t0","$","_c","useInsertionEffect","_temp","style","createElement","textContent","head","appendChild","removeChild","ShadowPortal","t1","children","useDevOverlayContext","shadowRoot","createPortal","decodeHex","hexStr","num","fromCodePoint","DECODE_REGEX","MAGIC_IDENTIFIER_REGEX","deobfuscateModuleId","moduleId","linkRegex","HotlinkedText","props","text","matcher","deobfuscatedParts","deobfuscateTextParts","withoutFreeCall","parts","regex","source","match","exec","matchStart","index","matchEnd","ident","rawText","substring","push","decoded","decodeMagicIdentifier","identifier","matches","inner","output","mode","Mode","buffer","char","importedModuleMatch","modulePathWithMetadata","cleaned","t2","outerIndex","part","map","rawPart","test","href","link","linkClassName","replacementRegExes","isWebpackInternalResource","file","formatFrameSourceFile","getOriginalStackFrame","response","resolve","error","reason","external","sourceStackFrame","originalStackFrame","originalCodeFrame","ignored","_getOriginalStackFrame","body","status","value","catch","err","message","getOriginalStackFrames","frames","isAppDir","res","data","req","isServer","isEdgeServer","isAppDirectory","fetch","method","stringify","ok","json","all","frame","getFrameSource","isWebpackFrame","parsedPath","location","globalThis","origin","protocol","pathname","line1","column1","useOpenInEditor","params","URLSearchParams","append","self","__NEXT_ROUTER_BASEPATH","then","cause","ExternalIcon","SourceMappingErrorIcon","FileIcon","lang","toLowerCase","Json","Js","Ts","File","React","formatCodeFrame","codeFrame","lines","miniLeadingSpacesLength","line","stripAnsi","filter","Boolean","v","pop","min","NaN","indexOf","join","CodeFrame","stackFrame","parsedLineStates","useMemo","decodedLines","groupCodeFrameLines","formattedFrame","Anser","use_classes","remove_empty","token","content","includes","segments","segment","AnserJsonEntry","lineNumberToken","parsedLine","lineNumber","isErroredLine","open","fileExtension","methodName","lineIndex","lineNumberProps","entry","entryIndex","color","fg","decoration","fontWeight","fontStyle","DialogBody","className","DialogContent","styles","cx","args","state","action","_temp3","_temp2","useCopy","t3","t4","clipboard","writeText","copyState","dispatch","isPending","copy","reset","CopyButton","actionLabel","disabled","getContent","icon","rest","successLabel","t5","t7","t8","t10","warn","timeoutId","isDisabled","label","renderedIcon","t6","t9","CopyIcon","CopySuccessIcon","NodeJsIcon","t11","t12","maskType","NodeJsDisabledIcon","NodejsInspectorButton","defaultDevtoolsFrontendUrl","statusText","devtoolsFrontendUrlState","attachDebuggerAction","isAttachingDebugger","useActionState","useEffect","attachDebugger","startTransition","CopyErrorButton","generateErrorInfo","REACT_HYDRATION_ERROR_LINK","NEXTJS_HYDRATION_ERROR_LINK","errorMessagesWithComponentStackDiff","isErrorMessageWithComponentStackDiff","msg","some","docsURLAllowlist","docsLinkMatcher","url","startsWith","DocsLinkButton","errorMessage","getDocsURLFromErrorMessage","matcherFunc","links","urls","from","matchAll","docsURL","DocsIcon","ErrorOverlayToolbar","feedbackButton","ThumbsUp","ThumbsDown","ErrorFeedback","errorCode","votedMap","setVotedMap","useState","Record","voted","__NEXT_TELEMETRY_DISABLED","handleFeedback","useCallback","wasHelpful","prev","hasVoted","translate","ErrorOverlayFooter","ErrorMessage","errorType","isExpanded","setIsExpanded","isTooTall","setIsTooTall","messageRef","useRef","current","scrollHeight","useLayoutEffect","shouldTruncate","ErrorTypeLabel","LeftArrow","title","RightArrow","ErrorOverlayPagination","t13","t15","t16","t19","t20","t21","runtimeErrors","activeIdx","onActiveIndexChange","max","handlePrevious","handleNext","buttonLeft","buttonRight","nav","setNav","el","onNav","root","getRootNode","handler","key","preventDefault","stopPropagation","addEventListener","removeEventListener","root_0","ShadowRoot","activeElement","blur","t14","t17","t18","EclipseIcon","VersionStalenessInfo","bundlerName","bb0","getStaleness","expected","indicatorClass","versionLabel","isTurbopack","T0","ErrorOverlayNav","setActiveIndex","__NEXT_BUNDLER","Notch","side","Tail","CSS_SELECTORS_TO_EXCLUDE_ON_CLICK_OUTSIDE","Dialog","cssSelectorsToExclude","ariaDescribedBy","ariaLabelledBy","onClose","dialogRef","hasFocus","role","setRole","element","listener","contains","target","cssSelector","closest","passive","handleFocus","dialog","initialActiveElement","focus","e_0","ErrorOverlayDialog","footer","DialogHeader","ErrorOverlayDialogHeader","ErrorOverlayDialogBody","activeLocks","Overlay","paddingRight","overflow","scrollBarGap","innerWidth","documentElement","clientWidth","ErrorOverlayOverlay","OVERLAY_STYLES","ErrorOverlayBottomStack","stackCount","errorCount","EnvironmentNameLabel","environmentName","getActiveElement","node","useClickOutsideAndEscape","rootRef","triggerRef","active","close","ownerDocument","ownerDocumentEl","handleClickOutside","event","getBoundingClientRect","clientX","left","right","clientY","top","bottom","handleKeyDown","event_0","MENU_CURVE","Fader","forwardRef","ref","stop","height","Resizer","resizerRef","measure","setHeight","measuring","setMeasuring","setElement","timerId","observer","ResizeObserver","contentRect","observe","disconnect","useMeasureHeight","transition","OverlayBackdrop","fixed","ErrorOverlayLayout","fireOpenFocus","t23","t24","t25","t26","t27","isBuildError","dialogResizerRef","rendered","transitionDurationMs","animationProps","animating","setAnimating","faderRef","hasFooter","onOpenFocus","rootNode","useEffectEvent","rootNode_0","onTab","focusableElements","getFocusableNodes","querySelectorAll","firstFocusableNode","lastFocusableNode","shiftKey","id","opacity","currentTarget","scrollTop","onScroll","propertyName","onTransitionEnd","t22","EditorLink","column","Terminal","importTraceFiles","getFile","contentFileName","shift","fileName","parsedColumn","hasLocation","getImportTraceFiles","files","unshift","importTraceFile","getErrorTextFromBuildErrorMessage","multiLineMessage","BuildError","formattedMessage","decodedOutput","noop","CallStackFrame","f","hasSource","fileSource","ChevronUpDownIcon","CallStack","isIgnoreListOpen","ignoredFramesTally","onToggleIgnoreList","frameIndex","CALL_STACK_STYLES","ErrorOverlayCallStack","initialDialogHeight","setIsIgnoreListOpen","tally","currentHeight","CollapseIcon","collapsed","transform","fill","PseudoHtmlDiff","componentStacks","reactOutputComponentDiff","isDiffCollapsed","toggleCollapseHtml","reactComponentDiffLines","forEach","isDiffLine","isHighlightedLine","hasSign","sign","signIndex","prefix","suffix","htmlComponents","symbolError","getErrorSource","useFrames","RuntimeError","firstFirstPartyFrameIndex","findIndex","firstFrame","matchLinkType","HydrationErrorDescription","GenericErrorDescription","envPrefix","DynamicMetadataErrorDescription","variant","BlockingPageLoadErrorDescription","refinement","noErrorDetails","Errors","getSquashedHydrationErrorDetails","useActiveRuntimeError","ReadyRuntimeError","isLoading","activeError","errorDetails","useErrorDetails","getHydrationErrorDetails","pagesRouterErrorDetails","warning","notes","diff","diffLog","maybeComponentStackDiff","trimmedMessage","diffs","displayedMessage","getHydrationErrorStackInfo","hydrationErrorDetails","isRuntimeData","blockingRouteErrorDetails","__NEXT_ERROR_CODE","digest","find","name","visibleFrames","stackLines","decodedCodeFrame","isServerError","maybeNotes","maybeDiff","EyeIcon","LightIcon","DarkIcon","SystemIcon","modifierKeys","ShortcutRecorder","onChange","pristine","setPristine","show","setShow","setKeys","success","setSuccess","timeoutRef","buttonRef","hasShortcut","handleValidation","next","code","existingNonModifierIndex","next_0","next_1","next_2","keyOrderIndex","insertIndex","splice","clear","onBlur","onStart","e_1","key_0","BottomArrow","Kbd","toUpperCase","renderKey","isSymbol","parseKeyCode","codeToKeyMap","Minus","Equal","BracketLeft","BracketRight","Backslash","Semicolon","Quote","Comma","Period","Backquote","Space","Slash","IntlBackslash","MetaKey","isApple","isMac","testPlatform","maxTouchPoints","minWidth","display","IconCross","SHORTCUT_RECORDER_STYLES","re","platform","devToolsConfigSchema","z","optional","width","nullable","queuedConfigPatch","timer","flushPatch","headers","keepalive","saveDevToolsConfig","patch","validation","deepMerge","isArray","result","sourceValue","targetValue","UserPreferencesBody","setIsPending","t28","t29","t30","t31","t32","t33","t34","t35","hide","setHideShortcut","setPosition","setScale","position","useRestartServer","invalidateFileSystemCache","serverRestarted","executionId","log","curId","restartRes","resolveTimeout","reload","restartServer","host","portal","classList","remove","add","handleThemeChange","handlePositionChange","handleSizeChange","entries","__NEXT_BUNDLER_HAS_PERSISTENT_CACHE","value_0","Select","ThemeIcon","DEV_TOOLS_INFO_USER_PREFERENCES_STYLES","ChevronDownIcon","ComponentStyles","overlay","errorLayout","containerRuntimeErrorStyles","useDelayedRender","options","mounted","setMounted","setRendered","enterDelay","exitDelay","renderTimeout","unmountTimeout","ErrorOverlay","TURBOPACK","isErrorOverlayOpen","commonProps","RenderError","RenderRuntimeError","lookups","setLookups","ready","idx","nextError","getErrorByType","promiseFactory","cachedPromise","baseError","runtime","resolved","m","RenderBuildError","totalErrorCount","ScaleUpdater","setProperty","Cross","Warning","PanelRouterContext","createContext","usePanelRouterContext","useContext","getIndicatorOffset","INDICATOR_PADDING","BASE_LOGO_SIZE","Status","StatusIndicator","onClick","statusDotColor","backgroundColor","AnimateStatusText","showEllipsis","NextLogo","issueCount","animationDurationMs","lastUpdatedTimeStamp","animate","setAnimate","setWidth","buttonProps","onTriggerClick","useRenderErrorContext","SIZE","panel","isMenuOpen","hasError","isErrorExpanded","setIsErrorExpanded","previousHasError","setPreviousHasError","dismissed","setDismissed","newErrorDetected","deltaMs","now","isCacheFilling","isCacheBypassing","shouldShowStatus","showStatusIndicator","measuredWidth","currentStatus","displayStatus","setPanel","AnimateCount","count","CacheBypassBadge","NextMark","Toast","DragContext","DragContextValue","DragProvider","handlesRef","register","unregister","delete","handles","useDragContext","DragHandle","internalRef","ctx","HTMLDivElement","setRef","cursor","Draggable","avoidZone","currentCorner","dragHandleSelector","onDragStart","padding","setCurrentCorner","disableDrag","machine","cleanup","x","y","translation","lastTimestamp","velocities","cancel","releasePointerCapture","pointerId","removeProperty","set","corner","onAnimationEnd","onPointerMove","dx","dy","sqrt","threshold","setPointerCapture","userSelect","webkitUserSelect","currentPosition","shouldAddToHistory","timestamp","onDrag","onPointerUp","velocity","calculateVelocity","history","oldestPoint","latestPoint","timeDelta","velocityX","velocityY","onDragEnd","button","isValidDragHandle","size","has","parentElement","offset","triggerWidth","triggerHeight","scrollbarWidth","getAbsolutePosition","basePosition","rel","allCorners","distances","nearest","distance","project","offsetWidth","offsetHeight","corner_0","isRight","isBottom","x_0","y_0","innerHeight","delta","square","pos","translation_0","d_0","useDrag","drag","initialVelocity","decelerationRate","DevToolsIndicator","updateAllPanelPositions","useUpdateAllPanelPositions","vertical","horizontal","boxShadow","setSelectedIndex","newPanel","panelPositionKeys","panelPositionPatch","MenuContext","MenuItem","isInteractive","closeMenu","selectedIndex","selected","click","DevtoolMenu","closeOnClickOutside","items","usePanelContext","menuRef","fireInitialSelectMenuItem","selectMenuItem","indicatorOffset","indicatorVertical","indicatorHorizontal","verticalOffset","positionStyle","definedItems","item","itemsAboveFooter","itemsBelowFooter","totalClickableItems","clickableItems","ctrlKey","outline","WebkitFontSmoothing","flexDirection","alignItems","background","backgroundClip","borderRadius","fontFamily","zIndex","border","getAdjustedIndex","attributes","adjustedIndex","targetIndex","IssueCount","ChevronRight","getAttribute","querySelector","ResizeContext","constrainDimensions","maxWidth","maxHeight","minHeight","ResizeProvider","draggingDirection","setDraggingDirection","storageKey","resizeRef","dim","applyConstrainedDimensions","initialSize","height_0","width_0","fireInitialConstrainDimensions","useResize","context","ResizeHandle","direction","borderWidths","setBorderWidths","computedStyle","parseFloat","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","mouseDownEvent","element_0","initialRect","startX","startY","handleMouseMove","mouseMoveEvent","newWidth","getNewDimensions","newHeight","handleMouseUp","handleMouseDown","getOppositeCorner","totalHorizontalBorder","totalVerticalBorder","isCornerHandle","deltaX","deltaY","effectiveMaxWidth","effectiveMaxHeight","resolveCSSValue","dimension","temp","visibility","pixels","DynamicPanel","dimensions","setDimensions","header","draggable","sizeConfig","kind","containerProps","resizeStorageKey","sharePanelSizeGlobally","positionStorageKey","sharePanelPositionGlobally","devtoolsPanelPosition","panelVertical","panelHorizontal","resizeContainerRef","isResizable","resolvedDimensions","updateDimensions","panelSizeKey","panelSize","sides","StaticRouteContent","routerType","DynamicRouteContent","learnMoreLink","pages","static","dynamic","app","RouteInfoBody","isStaticRoute","listeners","callback","getSnapshot","trie","getRoot","getServerSnapshot","createTrie","getCharacters","compare","b","markUpdated","currentNode","found","parentNode","pagePath","boundaryType","insertSegmentNode","insert","removeSegmentNode","getSegmentTrieRoot","Element","is","requestAnimationFrame","cancelAnimationFrame","HTMLButtonElement","candidateSelector","candidateSelectors","NoElement","prototype","msMatchesSelector","webkitMatchesSelector","_element$getRootNode","call","isInert","lookUp","_node$getAttribute","inertAtt","inert","isContentEditable","_node$getAttribute2","attValue","getCandidates","includeContainer","candidates","apply","getCandidatesIteratively","elements","elementsToCheck","tagName","assigned","assignedElements","nestedCandidates","flatten","scopeParent","validCandidate","getShadowRoot","validShadowRoot","shadowRootFilter","hasTabIndex","getTabIndex","tabIndex","getSortOrderTabIndex","isScope","sortOrderedTabbables","documentOrder","isInput","getCheckedRadio","nodes","form","checked","isTabbableRadio","radioSet","radioScope","queryRadios","escape","isNonTabbableRadio","isRadio","isNodeAttached","_nodeRoot","_nodeRootHost","_nodeRootHost$ownerDo","_node$ownerDocument","_nodeRoot2","_nodeRootHost2","_nodeRootHost2$ownerD","nodeRoot","nodeRootHost","attached","isZeroArea","_node$getBoundingClie","isHidden","_ref","displayCheck","nodeUnderDetails","isDirectSummary","originalNode","assignedSlot","getClientRects","isDisabledFromFieldset","child","isNodeMatchingSelectorFocusable","isNodeMatchingSelectorTabbable","isValidShadowRootTabbable","shadowHostNode","sortByOrder","regularTabbables","orderedTabbables","candidateTabindex","sort","acc","sortable","concat","tabbable","container","bind","focusable","isTabbable","h","IntersectionObserver","BUILTIN_PREFIX","normalizeBoundaryFilename","filename","BOUNDARY_PREFIX","isBoundaryFile","fileType","getBoundaryOriginFileType","composeRefs","refs","Ref","SegmentBoundaryTrigger","nodeState","boundaries","currNode","onSelectBoundary","setBoundaryType","isOpen","setIsOpen","popupRef","possibleExtension","firstDefinedBoundary","values","fileNames","fromEntries","filePath","pageFileName","triggerOptions","loading","resetOption","openInEditor","isAppRelativePath","handleSelect","hasBoundary","hasPageOrBoundary","MergedRefTrigger","triggerProps","mergedRef","option","LoadingIcon","ErrorIcon","NotFoundIcon","ResetIcon","SwitchIcon","Trigger","Tooltip","arrowSize","SegmentSuggestion","tooltip","missingGlobalError","isFileNode","PageRouteBar","SegmentExplorerFooter","activeBoundariesCount","onGlobalReset","hasActiveOverrides","FilePill","isBuiltin","isOverridden","PageSegmentTree","tree","useSyncExternalStore","countActiveBoundaries","traverseTreeAndResetBoundaries","handleGlobalReset","flex","GLOBAL_ERROR_BOUNDARY_TYPE","PageSegmentTreeLayerPresentation","level","childrenKeys","existingBoundaries","childNode","isGlobalConvention","sortedChildrenKeys","aHasExt","bHasExt","aType","bType","getTypePriority","aPriority","bPriority","aFilePath","bFilePath","localeCompare","folderName","folderChildrenKeys","filesChildrenKeys","childKey","firstChild","isBoundary","firstBoundaryChild","hasFilesChildren","paddingLeft","fileChildSegment","lastSegment","tooltipMessage","childSegment","nextSegment","InfoIcon","BackArrowIcon","CodeIcon","DevToolsHeader","justifyContent","WebkitUserSelect","borderBottom","margin","fontSize","XIcon","GearIcon","MenuPanel","isAppRouter","__NEXT_CACHE_COMPONENTS","useToggleDevtoolsVisibility","menuElement","getElementById","indicatorElement","firstElementChild","isCurrentlyHidden","isCurrentlyHidden_0","PanelRouter","shortcuts","toggleDevtools","contentEditable","dataset","hasAttribute","metaKey","altKey","shortcut","InfoFooter","UserPreferencesWrapper","PanelContext","PanelRoute","RenderErrorContext","DevOverlay","maybeDispatch","queue","currentOverlayState","getSerializedOverlayState","errorEvent","getSegmentTrieData","segmentTrie","createQueuable","queueableFunction","dispatcher","onBuildOk","onBuildError","onBeforeRefresh","onRefresh","onVersionInfo","onCacheIndicator","onStaticIndicator","onDebugInfo","onDevIndicator","Dispatch","devIndicator","onDevToolsConfig","devToolsConfig","onUnhandledError","onUnhandledRejection","openErrorOverlay","closeErrorOverlay","toggleErrorOverlay","buildingIndicatorHide","buildingIndicatorShow","renderingIndicatorHide","renderingIndicatorShow","segmentExplorerNodeAdd","_","segmentExplorerNodeRemove","segmentExplorerUpdateRouteState","DevOverlayRoot","getOwnerStack","isRecoverableError","enableCacheIndicator","pushErrorFilterDuplicates","events","ownerStack","parseStack","distDir","__NEXT_DIST_DIR","parse","effectiveDistDir","search","pendingEvent","isConsoleError","pendingEvents","disabledUntil","useReducer","portalNode","replayTimeout","replayQueuedEvents","queuedFunction","DevOverlayContext","isPagesMounted","isAppMounted","getSquashedHydrationErrorDetailsApp","renderAppDevOverlay","script","setAttribute","createRoot","identifierPrefix","onDefaultTransitionIndicator","attachShadow","render","renderPagesDevOverlay","records","record","removedNodes","childList"],"mappings":";;;;uwBAGI,EAA0B,A,SAA4B,KAE1D,EAAwB,IAAI,CAAC,CAAC,EAAO,EAAE,CAAE,CAAC;AAC1C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC,CAAE,GAAG,EAEN,MAAe,C,8uBCpJX,EAA0B,A,SAA4B,KAE1D,EAAwB,IAAI,CAAC,CAAC,EAAO,EAAE,CAAE,CAAC;AAC1C;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,CAAE,GAAG,EAEN,MAAe,C,4uBCtKX,EAA0B,A,SAA4B,KAE1D,EAAwB,IAAI,CAAC,CAAC,EAAO,EAAE,CAAE,CAAC;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,CAAE,GAAG,EAEN,MAAe,C,ouBCnHX,EAA0B,A,SAA4B,KAE1D,EAAwB,IAAI,CAAC,CAAC,EAAO,EAAE,CAAE,CAAC;AAC1C;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC,CAAE,GAAG,EAEN,MAAe,C,stBC3MX,EAA0B,A,SAA4B,KAE1D,EAAwB,IAAI,CAAC,CAAC,EAAO,EAAE,CAAE,CAAC;AAC1C;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,CAAE,GAAG,EAEN,MAAe,C,0tBClBX,EAA0B,A,SAA4B,KAE1D,EAAwB,IAAI,CAAC,CAAC,EAAO,EAAE,CAAE,CAAC;AAC1C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC,CAAE,GAAG,EAEN,MAAe,C,kwDC7DX,EAA0B,IAA4B,KAC1D,EAAwB,CAAC,CAAC,GAAiC,EAC3D,EAAwB,CAAC,CAAC,GAAiC,EAC3D,EAAwB,CAAC,CAAC,GAAiC,EAC3D,EAAwB,CAAC,CAAC,GAAiC,EAE3D,EAAwB,IAAI,CAAC,CAAC,EAAO,EAAE,CAAE,CAAC;AAC1C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC,CAAE,GAAG,EAEN,MAAe,C,itBCrDX,EAA0B,A,SAA4B,KAE1D,EAAwB,IAAI,CAAC,CAAC,EAAO,EAAE,CAAE,CAAC;AAC1C;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC,CAAE,GAAG,EAEN,MAAe,C,ysBC5BX,EAA0B,A,SAA4B,KAE1D,EAAwB,IAAI,CAAC,CAAC,EAAO,EAAE,CAAE,CAAC;AAC1C;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC,CAAE,GAAG,EAEN,MAAe,C,mtBCjXX,EAA0B,A,SAA4B,KAE1D,EAAwB,IAAI,CAAC,CAAC,EAAO,EAAE,CAAE,CAAC;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC,CAAE,GAAG,EAEN,MAAe,C,6sBCtCX,EAA0B,A,SAA4B,KAE1D,EAAwB,IAAI,CAAC,CAAC,EAAO,EAAE,CAAE,CAAC;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,CAAE,GAAG,EAEN,MAAe,C,itBC1IX,EAA0B,A,SAA4B,KAE1D,EAAwB,IAAI,CAAC,CAAC,EAAO,EAAE,CAAE,CAAC;AAC1C;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,CAAE,GAAG,EAEN,MAAe,C,otBCrNX,EAA0B,A,SAA4B,KAE1D,EAAwB,IAAI,CAAC,CAAC,EAAO,EAAE,CAAE,CAAC;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA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AI9uB,iBAAiB,SAAC04C,CAAO,E,2BAC3B,QAA4B,EAA5B,EAAqBA,CAAO,gDAAE,C,IAAnBC,EAAM,QACf,GAAIA,AAAgB,cAAhBA,EAAOx0C,IAAI,CAAkB,C,2BAC/B,QAAsC,EAAtC0f,EAAmB80B,EAAOC,YAAY,2BAAjC,qBACCj7B,AADS,UACA6tB,GAEXjvC,SAASuO,IAAI,CAACzE,WAAW,CAACmlC,E,mFAGhC,CACF,C,gFATK,C,EAUP,GAAGzrB,OAAO,CAACxjB,SAASuO,IAAI,CAAE,CACxB+tC,UAAW,EACb,GACAt8C,SAASuO,IAAI,CAACzE,WAAW,CAACmlC,GAE1B,IAAMvyB,EAAOm/B,GAAAA,GAAAA,UAAAA,EAAW5M,EAAW,CAAE6M,iBAAkB,MAAO,GAExD1xC,EAAa6kC,EAAU+M,YAAY,CAAC,CAAExvC,KAAM,MAAO,GAEzDqL,GAAAA,EAAAA,eAAAA,EAAgB,WAGd6E,EAAKu/B,MAAM,CACT,UAAC,IAEC,qBAAsB,GACtB,cAAehC,EACf,iCAAkCxvB,EAClC,mBAAoByvB,EACpB,WAAW,QACX,WAAY9vC,C,GAGlB,GAEAmxC,GAAiB,EACnB,CACF,C","ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277]}}] -} \ No newline at end of file diff --git a/.next/dev/static/chunks/node_modules_next_dist_compiled_react-dom_1e674e59._.js b/.next/dev/static/chunks/node_modules_next_dist_compiled_react-dom_1e674e59._.js deleted file mode 100644 index ab5d68e..0000000 --- a/.next/dev/static/chunks/node_modules_next_dist_compiled_react-dom_1e674e59._.js +++ /dev/null @@ -1,16537 +0,0 @@ -(globalThis.TURBOPACK || (globalThis.TURBOPACK = [])).push([typeof document === "object" ? document.currentScript : undefined, -"[project]/node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -/** - * @license React - * react-dom.development.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ "use strict"; -"production" !== ("TURBOPACK compile-time value", "development") && function() { - function noop() {} - function testStringCoercion(value) { - return "" + value; - } - function createPortal$1(children, containerInfo, implementation) { - var key = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null; - if (null == key) key = null; - else if (key === REACT_OPTIMISTIC_KEY) key = REACT_OPTIMISTIC_KEY; - else { - try { - testStringCoercion(key); - var JSCompiler_inline_result = !1; - } catch (e) { - JSCompiler_inline_result = !0; - } - JSCompiler_inline_result && (console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.", "function" === typeof Symbol && Symbol.toStringTag && key[Symbol.toStringTag] || key.constructor.name || "Object"), testStringCoercion(key)); - key = "" + key; - } - return { - $$typeof: REACT_PORTAL_TYPE, - key: key, - children: children, - containerInfo: containerInfo, - implementation: implementation - }; - } - function getCrossOriginStringAs(as, input) { - if ("font" === as) return ""; - if ("string" === typeof input) return "use-credentials" === input ? input : ""; - } - function getValueDescriptorExpectingObjectForWarning(thing) { - return null === thing ? "`null`" : void 0 === thing ? "`undefined`" : "" === thing ? "an empty string" : 'something with type "' + typeof thing + '"'; - } - function getValueDescriptorExpectingEnumForWarning(thing) { - return null === thing ? "`null`" : void 0 === thing ? "`undefined`" : "" === thing ? "an empty string" : "string" === typeof thing ? JSON.stringify(thing) : "number" === typeof thing ? "`" + thing + "`" : 'something with type "' + typeof thing + '"'; - } - function resolveDispatcher() { - var dispatcher = ReactSharedInternals.H; - null === dispatcher && console.error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."); - return dispatcher; - } - "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()); - var React = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"), Internals = { - d: { - f: noop, - r: function() { - throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React."); - }, - D: noop, - C: noop, - L: noop, - m: noop, - X: noop, - S: noop, - M: noop - }, - p: 0, - findDOMNode: null - }, REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_OPTIMISTIC_KEY = Symbol.for("react.optimistic_key"), ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE; - "function" === typeof Map && null != Map.prototype && "function" === typeof Map.prototype.forEach && "function" === typeof Set && null != Set.prototype && "function" === typeof Set.prototype.clear && "function" === typeof Set.prototype.forEach || console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"); - exports.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = Internals; - exports.createPortal = function(children, container) { - var key = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null; - if (!container || 1 !== container.nodeType && 9 !== container.nodeType && 11 !== container.nodeType) throw Error("Target container is not a DOM element."); - return createPortal$1(children, container, null, key); - }; - exports.flushSync = function(fn) { - var previousTransition = ReactSharedInternals.T, previousUpdatePriority = Internals.p; - try { - if (ReactSharedInternals.T = null, Internals.p = 2, fn) return fn(); - } finally{ - ReactSharedInternals.T = previousTransition, Internals.p = previousUpdatePriority, Internals.d.f() && console.error("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."); - } - }; - exports.preconnect = function(href, options) { - "string" === typeof href && href ? null != options && "object" !== typeof options ? console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.", getValueDescriptorExpectingEnumForWarning(options)) : null != options && "string" !== typeof options.crossOrigin && console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.", getValueDescriptorExpectingObjectForWarning(options.crossOrigin)) : console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.", getValueDescriptorExpectingObjectForWarning(href)); - "string" === typeof href && (options ? (options = options.crossOrigin, options = "string" === typeof options ? "use-credentials" === options ? options : "" : void 0) : options = null, Internals.d.C(href, options)); - }; - exports.prefetchDNS = function(href) { - if ("string" !== typeof href || !href) console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.", getValueDescriptorExpectingObjectForWarning(href)); - else if (1 < arguments.length) { - var options = arguments[1]; - "object" === typeof options && options.hasOwnProperty("crossOrigin") ? console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.", getValueDescriptorExpectingEnumForWarning(options)) : console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.", getValueDescriptorExpectingEnumForWarning(options)); - } - "string" === typeof href && Internals.d.D(href); - }; - exports.preinit = function(href, options) { - "string" === typeof href && href ? null == options || "object" !== typeof options ? console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.", getValueDescriptorExpectingEnumForWarning(options)) : "style" !== options.as && "script" !== options.as && console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".', getValueDescriptorExpectingEnumForWarning(options.as)) : console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.", getValueDescriptorExpectingObjectForWarning(href)); - if ("string" === typeof href && options && "string" === typeof options.as) { - var as = options.as, crossOrigin = getCrossOriginStringAs(as, options.crossOrigin), integrity = "string" === typeof options.integrity ? options.integrity : void 0, fetchPriority = "string" === typeof options.fetchPriority ? options.fetchPriority : void 0; - "style" === as ? Internals.d.S(href, "string" === typeof options.precedence ? options.precedence : void 0, { - crossOrigin: crossOrigin, - integrity: integrity, - fetchPriority: fetchPriority - }) : "script" === as && Internals.d.X(href, { - crossOrigin: crossOrigin, - integrity: integrity, - fetchPriority: fetchPriority, - nonce: "string" === typeof options.nonce ? options.nonce : void 0 - }); - } - }; - exports.preinitModule = function(href, options) { - var encountered = ""; - "string" === typeof href && href || (encountered += " The `href` argument encountered was " + getValueDescriptorExpectingObjectForWarning(href) + "."); - void 0 !== options && "object" !== typeof options ? encountered += " The `options` argument encountered was " + getValueDescriptorExpectingObjectForWarning(options) + "." : options && "as" in options && "script" !== options.as && (encountered += " The `as` option encountered was " + getValueDescriptorExpectingEnumForWarning(options.as) + "."); - if (encountered) console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s", encountered); - else switch(encountered = options && "string" === typeof options.as ? options.as : "script", encountered){ - case "script": - break; - default: - encountered = getValueDescriptorExpectingEnumForWarning(encountered), console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)', encountered, href); - } - if ("string" === typeof href) if ("object" === typeof options && null !== options) { - if (null == options.as || "script" === options.as) encountered = getCrossOriginStringAs(options.as, options.crossOrigin), Internals.d.M(href, { - crossOrigin: encountered, - integrity: "string" === typeof options.integrity ? options.integrity : void 0, - nonce: "string" === typeof options.nonce ? options.nonce : void 0 - }); - } else null == options && Internals.d.M(href); - }; - exports.preload = function(href, options) { - var encountered = ""; - "string" === typeof href && href || (encountered += " The `href` argument encountered was " + getValueDescriptorExpectingObjectForWarning(href) + "."); - null == options || "object" !== typeof options ? encountered += " The `options` argument encountered was " + getValueDescriptorExpectingObjectForWarning(options) + "." : "string" === typeof options.as && options.as || (encountered += " The `as` option encountered was " + getValueDescriptorExpectingObjectForWarning(options.as) + "."); - encountered && console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s', encountered); - if ("string" === typeof href && "object" === typeof options && null !== options && "string" === typeof options.as) { - encountered = options.as; - var crossOrigin = getCrossOriginStringAs(encountered, options.crossOrigin); - Internals.d.L(href, encountered, { - crossOrigin: crossOrigin, - integrity: "string" === typeof options.integrity ? options.integrity : void 0, - nonce: "string" === typeof options.nonce ? options.nonce : void 0, - type: "string" === typeof options.type ? options.type : void 0, - fetchPriority: "string" === typeof options.fetchPriority ? options.fetchPriority : void 0, - referrerPolicy: "string" === typeof options.referrerPolicy ? options.referrerPolicy : void 0, - imageSrcSet: "string" === typeof options.imageSrcSet ? options.imageSrcSet : void 0, - imageSizes: "string" === typeof options.imageSizes ? options.imageSizes : void 0, - media: "string" === typeof options.media ? options.media : void 0 - }); - } - }; - exports.preloadModule = function(href, options) { - var encountered = ""; - "string" === typeof href && href || (encountered += " The `href` argument encountered was " + getValueDescriptorExpectingObjectForWarning(href) + "."); - void 0 !== options && "object" !== typeof options ? encountered += " The `options` argument encountered was " + getValueDescriptorExpectingObjectForWarning(options) + "." : options && "as" in options && "string" !== typeof options.as && (encountered += " The `as` option encountered was " + getValueDescriptorExpectingObjectForWarning(options.as) + "."); - encountered && console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s', encountered); - "string" === typeof href && (options ? (encountered = getCrossOriginStringAs(options.as, options.crossOrigin), Internals.d.m(href, { - as: "string" === typeof options.as && "script" !== options.as ? options.as : void 0, - crossOrigin: encountered, - integrity: "string" === typeof options.integrity ? options.integrity : void 0 - })) : Internals.d.m(href)); - }; - exports.requestFormReset = function(form) { - Internals.d.r(form); - }; - exports.unstable_batchedUpdates = function(fn, a) { - return fn(a); - }; - exports.useFormState = function(action, initialState, permalink) { - return resolveDispatcher().useFormState(action, initialState, permalink); - }; - exports.useFormStatus = function() { - return resolveDispatcher().useHostTransitionStatus(); - }; - exports.version = "19.3.0-canary-f93b9fd4-20251217"; - "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error()); -}(); -}), -"[project]/node_modules/next/dist/compiled/react-dom/index.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -'use strict'; -function checkDCE() { - /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */ if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined' || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== 'function') { - return; - } - if ("TURBOPACK compile-time truthy", 1) { - // This branch is unreachable because this function is only called - // in production, but the condition is true only in development. - // Therefore if the branch is still here, dead code elimination wasn't - // properly applied. - // Don't change the message. React DevTools relies on it. Also make sure - // this message doesn't occur elsewhere in this function, or it will cause - // a false positive. - throw new Error('^_^'); - } - try { - // Verify that the code above has been dead code eliminated (DCE'd). - __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE); - } catch (err) { - // DevTools shouldn't crash React, no matter what. - // We should still report in case we break this code. - console.error(err); - } -} -if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable -; -else { - module.exports = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js [app-client] (ecmascript)"); -} -}), -"[project]/node_modules/next/dist/compiled/react-dom/cjs/react-dom-client.development.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -/** - * @license React - * react-dom-client.development.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ /* - Modernizr 3.0.0pre (Custom Build) | MIT -*/ "use strict"; -"production" !== ("TURBOPACK compile-time value", "development") && function() { - function findHook(fiber, id) { - for(fiber = fiber.memoizedState; null !== fiber && 0 < id;)fiber = fiber.next, id--; - return fiber; - } - function copyWithSetImpl(obj, path, index, value) { - if (index >= path.length) return value; - var key = path[index], updated = isArrayImpl(obj) ? obj.slice() : assign({}, obj); - updated[key] = copyWithSetImpl(obj[key], path, index + 1, value); - return updated; - } - function copyWithRename(obj, oldPath, newPath) { - if (oldPath.length !== newPath.length) console.warn("copyWithRename() expects paths of the same length"); - else { - for(var i = 0; i < newPath.length - 1; i++)if (oldPath[i] !== newPath[i]) { - console.warn("copyWithRename() expects paths to be the same except for the deepest key"); - return; - } - return copyWithRenameImpl(obj, oldPath, newPath, 0); - } - } - function copyWithRenameImpl(obj, oldPath, newPath, index) { - var oldKey = oldPath[index], updated = isArrayImpl(obj) ? obj.slice() : assign({}, obj); - index + 1 === oldPath.length ? (updated[newPath[index]] = updated[oldKey], isArrayImpl(updated) ? updated.splice(oldKey, 1) : delete updated[oldKey]) : updated[oldKey] = copyWithRenameImpl(obj[oldKey], oldPath, newPath, index + 1); - return updated; - } - function copyWithDeleteImpl(obj, path, index) { - var key = path[index], updated = isArrayImpl(obj) ? obj.slice() : assign({}, obj); - if (index + 1 === path.length) return isArrayImpl(updated) ? updated.splice(key, 1) : delete updated[key], updated; - updated[key] = copyWithDeleteImpl(obj[key], path, index + 1); - return updated; - } - function shouldSuspendImpl() { - return !1; - } - function shouldErrorImpl() { - return null; - } - function warnInvalidHookAccess() { - console.error("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks"); - } - function warnInvalidContextAccess() { - console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."); - } - function noop() {} - function warnForMissingKey() {} - function setToSortedString(set) { - var array = []; - set.forEach(function(value) { - array.push(value); - }); - return array.sort().join(", "); - } - function createFiber(tag, pendingProps, key, mode) { - return new FiberNode(tag, pendingProps, key, mode); - } - function scheduleRoot(root, element) { - root.context === emptyContextObject && (updateContainerImpl(root.current, 2, element, root, null, null), flushSyncWork$1()); - } - function scheduleRefresh(root, update) { - if (null !== resolveFamily) { - var staleFamilies = update.staleFamilies; - update = update.updatedFamilies; - flushPendingEffects(); - scheduleFibersWithFamiliesRecursively(root.current, update, staleFamilies); - flushSyncWork$1(); - } - } - function setRefreshHandler(handler) { - resolveFamily = handler; - } - function isValidContainer(node) { - return !(!node || 1 !== node.nodeType && 9 !== node.nodeType && 11 !== node.nodeType); - } - function getNearestMountedFiber(fiber) { - var node = fiber, nearestMounted = fiber; - if (fiber.alternate) for(; node.return;)node = node.return; - else { - fiber = node; - do node = fiber, 0 !== (node.flags & 4098) && (nearestMounted = node.return), fiber = node.return; - while (fiber) - } - return 3 === node.tag ? nearestMounted : null; - } - function getSuspenseInstanceFromFiber(fiber) { - if (13 === fiber.tag) { - var suspenseState = fiber.memoizedState; - null === suspenseState && (fiber = fiber.alternate, null !== fiber && (suspenseState = fiber.memoizedState)); - if (null !== suspenseState) return suspenseState.dehydrated; - } - return null; - } - function getActivityInstanceFromFiber(fiber) { - if (31 === fiber.tag) { - var activityState = fiber.memoizedState; - null === activityState && (fiber = fiber.alternate, null !== fiber && (activityState = fiber.memoizedState)); - if (null !== activityState) return activityState.dehydrated; - } - return null; - } - function assertIsMounted(fiber) { - if (getNearestMountedFiber(fiber) !== fiber) throw Error("Unable to find node on an unmounted component."); - } - function findCurrentFiberUsingSlowPath(fiber) { - var alternate = fiber.alternate; - if (!alternate) { - alternate = getNearestMountedFiber(fiber); - if (null === alternate) throw Error("Unable to find node on an unmounted component."); - return alternate !== fiber ? null : fiber; - } - for(var a = fiber, b = alternate;;){ - var parentA = a.return; - if (null === parentA) break; - var parentB = parentA.alternate; - if (null === parentB) { - b = parentA.return; - if (null !== b) { - a = b; - continue; - } - break; - } - if (parentA.child === parentB.child) { - for(parentB = parentA.child; parentB;){ - if (parentB === a) return assertIsMounted(parentA), fiber; - if (parentB === b) return assertIsMounted(parentA), alternate; - parentB = parentB.sibling; - } - throw Error("Unable to find node on an unmounted component."); - } - if (a.return !== b.return) a = parentA, b = parentB; - else { - for(var didFindChild = !1, _child = parentA.child; _child;){ - if (_child === a) { - didFindChild = !0; - a = parentA; - b = parentB; - break; - } - if (_child === b) { - didFindChild = !0; - b = parentA; - a = parentB; - break; - } - _child = _child.sibling; - } - if (!didFindChild) { - for(_child = parentB.child; _child;){ - if (_child === a) { - didFindChild = !0; - a = parentB; - b = parentA; - break; - } - if (_child === b) { - didFindChild = !0; - b = parentB; - a = parentA; - break; - } - _child = _child.sibling; - } - if (!didFindChild) throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue."); - } - } - if (a.alternate !== b) throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue."); - } - if (3 !== a.tag) throw Error("Unable to find node on an unmounted component."); - return a.stateNode.current === a ? fiber : alternate; - } - function findCurrentHostFiberImpl(node) { - var tag = node.tag; - if (5 === tag || 26 === tag || 27 === tag || 6 === tag) return node; - for(node = node.child; null !== node;){ - tag = findCurrentHostFiberImpl(node); - if (null !== tag) return tag; - node = node.sibling; - } - return null; - } - function traverseVisibleHostChildren(child, searchWithinHosts, fn, a, b, c) { - for(; null !== child;){ - if (5 === child.tag && fn(child, a, b, c) || (22 !== child.tag || null === child.memoizedState) && (searchWithinHosts || 5 !== child.tag) && traverseVisibleHostChildren(child.child, searchWithinHosts, fn, a, b, c)) return !0; - child = child.sibling; - } - return !1; - } - function getFragmentParentHostFiber(fiber) { - for(fiber = fiber.return; null !== fiber;){ - if (3 === fiber.tag || 5 === fiber.tag) return fiber; - fiber = fiber.return; - } - return null; - } - function findFragmentInstanceSiblings(result, self, child) { - for(var foundSelf = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : !1; null !== child;){ - if (child === self) if (foundSelf = !0, child.sibling) child = child.sibling; - else return !0; - if (5 === child.tag) { - if (foundSelf) return result[1] = child, !0; - result[0] = child; - } else if ((22 !== child.tag || null === child.memoizedState) && findFragmentInstanceSiblings(result, self, child.child, foundSelf)) return !0; - child = child.sibling; - } - return !1; - } - function getInstanceFromHostFiber(fiber) { - switch(fiber.tag){ - case 5: - return fiber.stateNode; - case 3: - return fiber.stateNode.containerInfo; - default: - throw Error("Expected to find a host node. This is a bug in React."); - } - } - function findNextSibling(child) { - searchTarget = child; - return !0; - } - function isFiberPrecedingCheck(child, target, boundary) { - return child === boundary ? !0 : child === target ? (searchTarget = child, !0) : !1; - } - function isFiberFollowingCheck(child, target, boundary) { - return child === boundary ? (searchBoundary = child, !1) : child === target ? (null !== searchBoundary && (searchTarget = child), !0) : !1; - } - function getParentForFragmentAncestors(inst) { - if (null === inst) return null; - do inst = null === inst ? null : inst.return; - while (inst && 5 !== inst.tag && 27 !== inst.tag && 3 !== inst.tag) - return inst ? inst : null; - } - function getLowestCommonAncestor(instA, instB, getParent) { - for(var depthA = 0, tempA = instA; tempA; tempA = getParent(tempA))depthA++; - tempA = 0; - for(var tempB = instB; tempB; tempB = getParent(tempB))tempA++; - for(; 0 < depthA - tempA;)instA = getParent(instA), depthA--; - for(; 0 < tempA - depthA;)instB = getParent(instB), tempA--; - for(; depthA--;){ - if (instA === instB || null !== instB && instA === instB.alternate) return instA; - instA = getParent(instA); - instB = getParent(instB); - } - return null; - } - function getIteratorFn(maybeIterable) { - if (null === maybeIterable || "object" !== typeof maybeIterable) return null; - maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable["@@iterator"]; - return "function" === typeof maybeIterable ? maybeIterable : null; - } - function getComponentNameFromType(type) { - if (null == type) return null; - if ("function" === typeof type) return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null; - if ("string" === typeof type) return type; - switch(type){ - case REACT_FRAGMENT_TYPE: - return "Fragment"; - case REACT_PROFILER_TYPE: - return "Profiler"; - case REACT_STRICT_MODE_TYPE: - return "StrictMode"; - case REACT_SUSPENSE_TYPE: - return "Suspense"; - case REACT_SUSPENSE_LIST_TYPE: - return "SuspenseList"; - case REACT_ACTIVITY_TYPE: - return "Activity"; - case REACT_VIEW_TRANSITION_TYPE: - return "ViewTransition"; - } - if ("object" === typeof type) switch("number" === typeof type.tag && console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), type.$$typeof){ - case REACT_PORTAL_TYPE: - return "Portal"; - case REACT_CONTEXT_TYPE: - return type.displayName || "Context"; - case REACT_CONSUMER_TYPE: - return (type._context.displayName || "Context") + ".Consumer"; - case REACT_FORWARD_REF_TYPE: - var innerType = type.render; - type = type.displayName; - type || (type = innerType.displayName || innerType.name || "", type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef"); - return type; - case REACT_MEMO_TYPE: - return innerType = type.displayName || null, null !== innerType ? innerType : getComponentNameFromType(type.type) || "Memo"; - case REACT_LAZY_TYPE: - innerType = type._payload; - type = type._init; - try { - return getComponentNameFromType(type(innerType)); - } catch (x) {} - } - return null; - } - function getComponentNameFromOwner(owner) { - return "number" === typeof owner.tag ? getComponentNameFromFiber(owner) : "string" === typeof owner.name ? owner.name : null; - } - function getComponentNameFromFiber(fiber) { - var type = fiber.type; - switch(fiber.tag){ - case 31: - return "Activity"; - case 24: - return "Cache"; - case 9: - return (type._context.displayName || "Context") + ".Consumer"; - case 10: - return type.displayName || "Context"; - case 18: - return "DehydratedFragment"; - case 11: - return fiber = type.render, fiber = fiber.displayName || fiber.name || "", type.displayName || ("" !== fiber ? "ForwardRef(" + fiber + ")" : "ForwardRef"); - case 7: - return "Fragment"; - case 26: - case 27: - case 5: - return type; - case 4: - return "Portal"; - case 3: - return "Root"; - case 6: - return "Text"; - case 16: - return getComponentNameFromType(type); - case 8: - return type === REACT_STRICT_MODE_TYPE ? "StrictMode" : "Mode"; - case 22: - return "Offscreen"; - case 12: - return "Profiler"; - case 21: - return "Scope"; - case 13: - return "Suspense"; - case 19: - return "SuspenseList"; - case 25: - return "TracingMarker"; - case 30: - return "ViewTransition"; - case 1: - case 0: - case 14: - case 15: - if ("function" === typeof type) return type.displayName || type.name || null; - if ("string" === typeof type) return type; - break; - case 29: - type = fiber._debugInfo; - if (null != type) { - for(var i = type.length - 1; 0 <= i; i--)if ("string" === typeof type[i].name) return type[i].name; - } - if (null !== fiber.return) return getComponentNameFromFiber(fiber.return); - } - return null; - } - function createCursor(defaultValue) { - return { - current: defaultValue - }; - } - function pop(cursor, fiber) { - 0 > index$jscomp$0 ? console.error("Unexpected pop.") : (fiber !== fiberStack[index$jscomp$0] && console.error("Unexpected Fiber popped."), cursor.current = valueStack[index$jscomp$0], valueStack[index$jscomp$0] = null, fiberStack[index$jscomp$0] = null, index$jscomp$0--); - } - function push(cursor, value, fiber) { - index$jscomp$0++; - valueStack[index$jscomp$0] = cursor.current; - fiberStack[index$jscomp$0] = fiber; - cursor.current = value; - } - function requiredContext(c) { - null === c && console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."); - return c; - } - function pushHostContainer(fiber, nextRootInstance) { - push(rootInstanceStackCursor, nextRootInstance, fiber); - push(contextFiberStackCursor, fiber, fiber); - push(contextStackCursor, null, fiber); - var nextRootContext = nextRootInstance.nodeType; - switch(nextRootContext){ - case 9: - case 11: - nextRootContext = 9 === nextRootContext ? "#document" : "#fragment"; - nextRootInstance = (nextRootInstance = nextRootInstance.documentElement) ? (nextRootInstance = nextRootInstance.namespaceURI) ? getOwnHostContext(nextRootInstance) : HostContextNamespaceNone : HostContextNamespaceNone; - break; - default: - if (nextRootContext = nextRootInstance.tagName, nextRootInstance = nextRootInstance.namespaceURI) nextRootInstance = getOwnHostContext(nextRootInstance), nextRootInstance = getChildHostContextProd(nextRootInstance, nextRootContext); - else switch(nextRootContext){ - case "svg": - nextRootInstance = HostContextNamespaceSvg; - break; - case "math": - nextRootInstance = HostContextNamespaceMath; - break; - default: - nextRootInstance = HostContextNamespaceNone; - } - } - nextRootContext = nextRootContext.toLowerCase(); - nextRootContext = updatedAncestorInfoDev(null, nextRootContext); - nextRootContext = { - context: nextRootInstance, - ancestorInfo: nextRootContext - }; - pop(contextStackCursor, fiber); - push(contextStackCursor, nextRootContext, fiber); - } - function popHostContainer(fiber) { - pop(contextStackCursor, fiber); - pop(contextFiberStackCursor, fiber); - pop(rootInstanceStackCursor, fiber); - } - function getHostContext() { - return requiredContext(contextStackCursor.current); - } - function pushHostContext(fiber) { - var stateHook = fiber.memoizedState; - null !== stateHook && (HostTransitionContext._currentValue = stateHook.memoizedState, push(hostTransitionProviderCursor, fiber, fiber)); - stateHook = requiredContext(contextStackCursor.current); - var type = fiber.type; - var nextContext = getChildHostContextProd(stateHook.context, type); - type = updatedAncestorInfoDev(stateHook.ancestorInfo, type); - nextContext = { - context: nextContext, - ancestorInfo: type - }; - stateHook !== nextContext && (push(contextFiberStackCursor, fiber, fiber), push(contextStackCursor, nextContext, fiber)); - } - function popHostContext(fiber) { - contextFiberStackCursor.current === fiber && (pop(contextStackCursor, fiber), pop(contextFiberStackCursor, fiber)); - hostTransitionProviderCursor.current === fiber && (pop(hostTransitionProviderCursor, fiber), HostTransitionContext._currentValue = NotPendingTransition); - } - function disabledLog() {} - function disableLogs() { - if (0 === disabledDepth) { - prevLog = console.log; - prevInfo = console.info; - prevWarn = console.warn; - prevError = console.error; - prevGroup = console.group; - prevGroupCollapsed = console.groupCollapsed; - prevGroupEnd = console.groupEnd; - var props = { - configurable: !0, - enumerable: !0, - value: disabledLog, - writable: !0 - }; - Object.defineProperties(console, { - info: props, - log: props, - warn: props, - error: props, - group: props, - groupCollapsed: props, - groupEnd: props - }); - } - disabledDepth++; - } - function reenableLogs() { - disabledDepth--; - if (0 === disabledDepth) { - var props = { - configurable: !0, - enumerable: !0, - writable: !0 - }; - Object.defineProperties(console, { - log: assign({}, props, { - value: prevLog - }), - info: assign({}, props, { - value: prevInfo - }), - warn: assign({}, props, { - value: prevWarn - }), - error: assign({}, props, { - value: prevError - }), - group: assign({}, props, { - value: prevGroup - }), - groupCollapsed: assign({}, props, { - value: prevGroupCollapsed - }), - groupEnd: assign({}, props, { - value: prevGroupEnd - }) - }); - } - 0 > disabledDepth && console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue."); - } - function formatOwnerStack(error) { - var prevPrepareStackTrace = Error.prepareStackTrace; - Error.prepareStackTrace = void 0; - error = error.stack; - Error.prepareStackTrace = prevPrepareStackTrace; - error.startsWith("Error: react-stack-top-frame\n") && (error = error.slice(29)); - prevPrepareStackTrace = error.indexOf("\n"); - -1 !== prevPrepareStackTrace && (error = error.slice(prevPrepareStackTrace + 1)); - prevPrepareStackTrace = error.indexOf("react_stack_bottom_frame"); - -1 !== prevPrepareStackTrace && (prevPrepareStackTrace = error.lastIndexOf("\n", prevPrepareStackTrace)); - if (-1 !== prevPrepareStackTrace) error = error.slice(0, prevPrepareStackTrace); - else return ""; - return error; - } - function describeBuiltInComponentFrame(name) { - if (void 0 === prefix) try { - throw Error(); - } catch (x) { - var match = x.stack.trim().match(/\n( *(at )?)/); - prefix = match && match[1] || ""; - suffix = -1 < x.stack.indexOf("\n at") ? " (<anonymous>)" : -1 < x.stack.indexOf("@") ? "@unknown:0:0" : ""; - } - return "\n" + prefix + name + suffix; - } - function describeNativeComponentFrame(fn, construct) { - if (!fn || reentry) return ""; - var frame = componentFrameCache.get(fn); - if (void 0 !== frame) return frame; - reentry = !0; - frame = Error.prepareStackTrace; - Error.prepareStackTrace = void 0; - var previousDispatcher = null; - previousDispatcher = ReactSharedInternals.H; - ReactSharedInternals.H = null; - disableLogs(); - try { - var RunInRootFrame = { - DetermineComponentFrameRoot: function() { - try { - if (construct) { - var Fake = function() { - throw Error(); - }; - Object.defineProperty(Fake.prototype, "props", { - set: function() { - throw Error(); - } - }); - if ("object" === typeof Reflect && Reflect.construct) { - try { - Reflect.construct(Fake, []); - } catch (x) { - var control = x; - } - Reflect.construct(fn, [], Fake); - } else { - try { - Fake.call(); - } catch (x$0) { - control = x$0; - } - fn.call(Fake.prototype); - } - } else { - try { - throw Error(); - } catch (x$1) { - control = x$1; - } - (Fake = fn()) && "function" === typeof Fake.catch && Fake.catch(function() {}); - } - } catch (sample) { - if (sample && control && "string" === typeof sample.stack) return [ - sample.stack, - control.stack - ]; - } - return [ - null, - null - ]; - } - }; - RunInRootFrame.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot"; - var namePropDescriptor = Object.getOwnPropertyDescriptor(RunInRootFrame.DetermineComponentFrameRoot, "name"); - namePropDescriptor && namePropDescriptor.configurable && Object.defineProperty(RunInRootFrame.DetermineComponentFrameRoot, "name", { - value: "DetermineComponentFrameRoot" - }); - var _RunInRootFrame$Deter = RunInRootFrame.DetermineComponentFrameRoot(), sampleStack = _RunInRootFrame$Deter[0], controlStack = _RunInRootFrame$Deter[1]; - if (sampleStack && controlStack) { - var sampleLines = sampleStack.split("\n"), controlLines = controlStack.split("\n"); - for(_RunInRootFrame$Deter = namePropDescriptor = 0; namePropDescriptor < sampleLines.length && !sampleLines[namePropDescriptor].includes("DetermineComponentFrameRoot");)namePropDescriptor++; - for(; _RunInRootFrame$Deter < controlLines.length && !controlLines[_RunInRootFrame$Deter].includes("DetermineComponentFrameRoot");)_RunInRootFrame$Deter++; - if (namePropDescriptor === sampleLines.length || _RunInRootFrame$Deter === controlLines.length) for(namePropDescriptor = sampleLines.length - 1, _RunInRootFrame$Deter = controlLines.length - 1; 1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter && sampleLines[namePropDescriptor] !== controlLines[_RunInRootFrame$Deter];)_RunInRootFrame$Deter--; - for(; 1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter; namePropDescriptor--, _RunInRootFrame$Deter--)if (sampleLines[namePropDescriptor] !== controlLines[_RunInRootFrame$Deter]) { - if (1 !== namePropDescriptor || 1 !== _RunInRootFrame$Deter) { - do if (namePropDescriptor--, _RunInRootFrame$Deter--, 0 > _RunInRootFrame$Deter || sampleLines[namePropDescriptor] !== controlLines[_RunInRootFrame$Deter]) { - var _frame = "\n" + sampleLines[namePropDescriptor].replace(" at new ", " at "); - fn.displayName && _frame.includes("<anonymous>") && (_frame = _frame.replace("<anonymous>", fn.displayName)); - "function" === typeof fn && componentFrameCache.set(fn, _frame); - return _frame; - } - while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter) - } - break; - } - } - } finally{ - reentry = !1, ReactSharedInternals.H = previousDispatcher, reenableLogs(), Error.prepareStackTrace = frame; - } - sampleLines = (sampleLines = fn ? fn.displayName || fn.name : "") ? describeBuiltInComponentFrame(sampleLines) : ""; - "function" === typeof fn && componentFrameCache.set(fn, sampleLines); - return sampleLines; - } - function describeFiber(fiber, childFiber) { - switch(fiber.tag){ - case 26: - case 27: - case 5: - return describeBuiltInComponentFrame(fiber.type); - case 16: - return describeBuiltInComponentFrame("Lazy"); - case 13: - return fiber.child !== childFiber && null !== childFiber ? describeBuiltInComponentFrame("Suspense Fallback") : describeBuiltInComponentFrame("Suspense"); - case 19: - return describeBuiltInComponentFrame("SuspenseList"); - case 0: - case 15: - return describeNativeComponentFrame(fiber.type, !1); - case 11: - return describeNativeComponentFrame(fiber.type.render, !1); - case 1: - return describeNativeComponentFrame(fiber.type, !0); - case 31: - return describeBuiltInComponentFrame("Activity"); - case 30: - return describeBuiltInComponentFrame("ViewTransition"); - default: - return ""; - } - } - function getStackByFiberInDevAndProd(workInProgress) { - try { - var info = "", previous = null; - do { - info += describeFiber(workInProgress, previous); - var debugInfo = workInProgress._debugInfo; - if (debugInfo) for(var i = debugInfo.length - 1; 0 <= i; i--){ - var entry = debugInfo[i]; - if ("string" === typeof entry.name) { - var JSCompiler_temp_const = info; - a: { - var name = entry.name, env = entry.env, location = entry.debugLocation; - if (null != location) { - var childStack = formatOwnerStack(location), idx = childStack.lastIndexOf("\n"), lastLine = -1 === idx ? childStack : childStack.slice(idx + 1); - if (-1 !== lastLine.indexOf(name)) { - var JSCompiler_inline_result = "\n" + lastLine; - break a; - } - } - JSCompiler_inline_result = describeBuiltInComponentFrame(name + (env ? " [" + env + "]" : "")); - } - info = JSCompiler_temp_const + JSCompiler_inline_result; - } - } - previous = workInProgress; - workInProgress = workInProgress.return; - }while (workInProgress) - return info; - } catch (x) { - return "\nError generating stack: " + x.message + "\n" + x.stack; - } - } - function describeFunctionComponentFrameWithoutLineNumber(fn) { - return (fn = fn ? fn.displayName || fn.name : "") ? describeBuiltInComponentFrame(fn) : ""; - } - function getCurrentFiberOwnerNameInDevOrNull() { - if (null === current) return null; - var owner = current._debugOwner; - return null != owner ? getComponentNameFromOwner(owner) : null; - } - function getCurrentFiberStackInDev() { - if (null === current) return ""; - var workInProgress = current; - try { - var info = ""; - 6 === workInProgress.tag && (workInProgress = workInProgress.return); - switch(workInProgress.tag){ - case 26: - case 27: - case 5: - info += describeBuiltInComponentFrame(workInProgress.type); - break; - case 13: - info += describeBuiltInComponentFrame("Suspense"); - break; - case 19: - info += describeBuiltInComponentFrame("SuspenseList"); - break; - case 31: - info += describeBuiltInComponentFrame("Activity"); - break; - case 30: - info += describeBuiltInComponentFrame("ViewTransition"); - break; - case 0: - case 15: - case 1: - workInProgress._debugOwner || "" !== info || (info += describeFunctionComponentFrameWithoutLineNumber(workInProgress.type)); - break; - case 11: - workInProgress._debugOwner || "" !== info || (info += describeFunctionComponentFrameWithoutLineNumber(workInProgress.type.render)); - } - for(; workInProgress;)if ("number" === typeof workInProgress.tag) { - var fiber = workInProgress; - workInProgress = fiber._debugOwner; - var debugStack = fiber._debugStack; - if (workInProgress && debugStack) { - var formattedStack = formatOwnerStack(debugStack); - "" !== formattedStack && (info += "\n" + formattedStack); - } - } else if (null != workInProgress.debugStack) { - var ownerStack = workInProgress.debugStack; - (workInProgress = workInProgress.owner) && ownerStack && (info += "\n" + formatOwnerStack(ownerStack)); - } else break; - var JSCompiler_inline_result = info; - } catch (x) { - JSCompiler_inline_result = "\nError generating stack: " + x.message + "\n" + x.stack; - } - return JSCompiler_inline_result; - } - function runWithFiberInDEV(fiber, callback, arg0, arg1, arg2, arg3, arg4) { - var previousFiber = current; - setCurrentFiber(fiber); - try { - return null !== fiber && fiber._debugTask ? fiber._debugTask.run(callback.bind(null, arg0, arg1, arg2, arg3, arg4)) : callback(arg0, arg1, arg2, arg3, arg4); - } finally{ - setCurrentFiber(previousFiber); - } - throw Error("runWithFiberInDEV should never be called in production. This is a bug in React."); - } - function setCurrentFiber(fiber) { - ReactSharedInternals.getCurrentStack = null === fiber ? null : getCurrentFiberStackInDev; - isRendering = !1; - current = fiber; - } - function typeName(value) { - return "function" === typeof Symbol && Symbol.toStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object"; - } - function willCoercionThrow(value) { - try { - return testStringCoercion(value), !1; - } catch (e) { - return !0; - } - } - function testStringCoercion(value) { - return "" + value; - } - function checkAttributeStringCoercion(value, attributeName) { - if (willCoercionThrow(value)) return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.", attributeName, typeName(value)), testStringCoercion(value); - } - function checkCSSPropertyStringCoercion(value, propName) { - if (willCoercionThrow(value)) return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.", propName, typeName(value)), testStringCoercion(value); - } - function checkFormFieldValueStringCoercion(value) { - if (willCoercionThrow(value)) return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.", typeName(value)), testStringCoercion(value); - } - function injectInternals(internals) { - if ("undefined" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) return !1; - var hook = __REACT_DEVTOOLS_GLOBAL_HOOK__; - if (hook.isDisabled) return !0; - if (!hook.supportsFiber) return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"), !0; - try { - rendererID = hook.inject(internals), injectedHook = hook; - } catch (err) { - console.error("React instrumentation encountered an error: %o.", err); - } - return hook.checkDCE ? !0 : !1; - } - function setIsStrictModeForDevtools(newIsStrictMode) { - "function" === typeof log$1 && unstable_setDisableYieldValue(newIsStrictMode); - if (injectedHook && "function" === typeof injectedHook.setStrictMode) try { - injectedHook.setStrictMode(rendererID, newIsStrictMode); - } catch (err) { - hasLoggedError || (hasLoggedError = !0, console.error("React instrumentation encountered an error: %o", err)); - } - } - function clz32Fallback(x) { - x >>>= 0; - return 0 === x ? 32 : 31 - (log(x) / LN2 | 0) | 0; - } - function getHighestPriorityLanes(lanes) { - var pendingSyncLanes = lanes & 42; - if (0 !== pendingSyncLanes) return pendingSyncLanes; - switch(lanes & -lanes){ - case 1: - return 1; - case 2: - return 2; - case 4: - return 4; - case 8: - return 8; - case 16: - return 16; - case 32: - return 32; - case 64: - return 64; - case 128: - return 128; - case 256: - case 512: - case 1024: - case 2048: - case 4096: - case 8192: - case 16384: - case 32768: - case 65536: - case 131072: - return lanes & 261888; - case 262144: - case 524288: - case 1048576: - case 2097152: - return lanes & 3932160; - case 4194304: - case 8388608: - case 16777216: - case 33554432: - return lanes & 62914560; - case 67108864: - return 67108864; - case 134217728: - return 134217728; - case 268435456: - return 268435456; - case 536870912: - return 536870912; - case 1073741824: - return 0; - default: - return console.error("Should have found matching lanes. This is a bug in React."), lanes; - } - } - function getNextLanes(root, wipLanes, rootHasPendingCommit) { - var pendingLanes = root.pendingLanes; - if (0 === pendingLanes) return 0; - var nextLanes = 0, suspendedLanes = root.suspendedLanes, pingedLanes = root.pingedLanes; - root = root.warmLanes; - var nonIdlePendingLanes = pendingLanes & 134217727; - 0 !== nonIdlePendingLanes ? (pendingLanes = nonIdlePendingLanes & ~suspendedLanes, 0 !== pendingLanes ? nextLanes = getHighestPriorityLanes(pendingLanes) : (pingedLanes &= nonIdlePendingLanes, 0 !== pingedLanes ? nextLanes = getHighestPriorityLanes(pingedLanes) : rootHasPendingCommit || (rootHasPendingCommit = nonIdlePendingLanes & ~root, 0 !== rootHasPendingCommit && (nextLanes = getHighestPriorityLanes(rootHasPendingCommit))))) : (nonIdlePendingLanes = pendingLanes & ~suspendedLanes, 0 !== nonIdlePendingLanes ? nextLanes = getHighestPriorityLanes(nonIdlePendingLanes) : 0 !== pingedLanes ? nextLanes = getHighestPriorityLanes(pingedLanes) : rootHasPendingCommit || (rootHasPendingCommit = pendingLanes & ~root, 0 !== rootHasPendingCommit && (nextLanes = getHighestPriorityLanes(rootHasPendingCommit)))); - return 0 === nextLanes ? 0 : 0 !== wipLanes && wipLanes !== nextLanes && 0 === (wipLanes & suspendedLanes) && (suspendedLanes = nextLanes & -nextLanes, rootHasPendingCommit = wipLanes & -wipLanes, suspendedLanes >= rootHasPendingCommit || 32 === suspendedLanes && 0 !== (rootHasPendingCommit & 4194048)) ? wipLanes : nextLanes; - } - function checkIfRootIsPrerendering(root, renderLanes) { - return 0 === (root.pendingLanes & ~(root.suspendedLanes & ~root.pingedLanes) & renderLanes); - } - function computeExpirationTime(lane, currentTime) { - switch(lane){ - case 1: - case 2: - case 4: - case 8: - case 64: - return currentTime + 250; - case 16: - case 32: - case 128: - case 256: - case 512: - case 1024: - case 2048: - case 4096: - case 8192: - case 16384: - case 32768: - case 65536: - case 131072: - case 262144: - case 524288: - case 1048576: - case 2097152: - return currentTime + 5e3; - case 4194304: - case 8388608: - case 16777216: - case 33554432: - return -1; - case 67108864: - case 134217728: - case 268435456: - case 536870912: - case 1073741824: - return -1; - default: - return console.error("Should have found matching lanes. This is a bug in React."), -1; - } - } - function claimNextRetryLane() { - var lane = nextRetryLane; - nextRetryLane <<= 1; - 0 === (nextRetryLane & 62914560) && (nextRetryLane = 4194304); - return lane; - } - function createLaneMap(initial) { - for(var laneMap = [], i = 0; 31 > i; i++)laneMap.push(initial); - return laneMap; - } - function markRootUpdated$1(root, updateLane) { - root.pendingLanes |= updateLane; - 268435456 !== updateLane && (root.suspendedLanes = 0, root.pingedLanes = 0, root.warmLanes = 0); - } - function markRootFinished(root, finishedLanes, remainingLanes, spawnedLane, updatedLanes, suspendedRetryLanes) { - var previouslyPendingLanes = root.pendingLanes; - root.pendingLanes = remainingLanes; - root.suspendedLanes = 0; - root.pingedLanes = 0; - root.warmLanes = 0; - root.expiredLanes &= remainingLanes; - root.entangledLanes &= remainingLanes; - root.errorRecoveryDisabledLanes &= remainingLanes; - root.shellSuspendCounter = 0; - var entanglements = root.entanglements, expirationTimes = root.expirationTimes, hiddenUpdates = root.hiddenUpdates; - for(remainingLanes = previouslyPendingLanes & ~remainingLanes; 0 < remainingLanes;){ - var index = 31 - clz32(remainingLanes), lane = 1 << index; - entanglements[index] = 0; - expirationTimes[index] = -1; - var hiddenUpdatesForLane = hiddenUpdates[index]; - if (null !== hiddenUpdatesForLane) for(hiddenUpdates[index] = null, index = 0; index < hiddenUpdatesForLane.length; index++){ - var update = hiddenUpdatesForLane[index]; - null !== update && (update.lane &= -536870913); - } - remainingLanes &= ~lane; - } - 0 !== spawnedLane && markSpawnedDeferredLane(root, spawnedLane, 0); - 0 !== suspendedRetryLanes && 0 === updatedLanes && 0 !== root.tag && (root.suspendedLanes |= suspendedRetryLanes & ~(previouslyPendingLanes & ~finishedLanes)); - } - function markSpawnedDeferredLane(root, spawnedLane, entangledLanes) { - root.pendingLanes |= spawnedLane; - root.suspendedLanes &= ~spawnedLane; - var spawnedLaneIndex = 31 - clz32(spawnedLane); - root.entangledLanes |= spawnedLane; - root.entanglements[spawnedLaneIndex] = root.entanglements[spawnedLaneIndex] | 1073741824 | entangledLanes & 261930; - } - function markRootEntangled(root, entangledLanes) { - var rootEntangledLanes = root.entangledLanes |= entangledLanes; - for(root = root.entanglements; rootEntangledLanes;){ - var index = 31 - clz32(rootEntangledLanes), lane = 1 << index; - lane & entangledLanes | root[index] & entangledLanes && (root[index] |= entangledLanes); - rootEntangledLanes &= ~lane; - } - } - function getBumpedLaneForHydration(root, renderLanes) { - var renderLane = renderLanes & -renderLanes; - renderLane = 0 !== (renderLane & 42) ? 1 : getBumpedLaneForHydrationByLane(renderLane); - return 0 !== (renderLane & (root.suspendedLanes | renderLanes)) ? 0 : renderLane; - } - function getBumpedLaneForHydrationByLane(lane) { - switch(lane){ - case 2: - lane = 1; - break; - case 8: - lane = 4; - break; - case 32: - lane = 16; - break; - case 256: - case 512: - case 1024: - case 2048: - case 4096: - case 8192: - case 16384: - case 32768: - case 65536: - case 131072: - case 262144: - case 524288: - case 1048576: - case 2097152: - case 4194304: - case 8388608: - case 16777216: - case 33554432: - lane = 128; - break; - case 268435456: - lane = 134217728; - break; - default: - lane = 0; - } - return lane; - } - function addFiberToLanesMap(root, fiber, lanes) { - if (isDevToolsPresent) for(root = root.pendingUpdatersLaneMap; 0 < lanes;){ - var index = 31 - clz32(lanes), lane = 1 << index; - root[index].add(fiber); - lanes &= ~lane; - } - } - function movePendingFibersToMemoized(root, lanes) { - if (isDevToolsPresent) for(var pendingUpdatersLaneMap = root.pendingUpdatersLaneMap, memoizedUpdaters = root.memoizedUpdaters; 0 < lanes;){ - var index = 31 - clz32(lanes); - root = 1 << index; - index = pendingUpdatersLaneMap[index]; - 0 < index.size && (index.forEach(function(fiber) { - var alternate = fiber.alternate; - null !== alternate && memoizedUpdaters.has(alternate) || memoizedUpdaters.add(fiber); - }), index.clear()); - lanes &= ~root; - } - } - function lanesToEventPriority(lanes) { - lanes &= -lanes; - return 0 !== DiscreteEventPriority && DiscreteEventPriority < lanes ? 0 !== ContinuousEventPriority && ContinuousEventPriority < lanes ? 0 !== (lanes & 134217727) ? DefaultEventPriority : IdleEventPriority : ContinuousEventPriority : DiscreteEventPriority; - } - function resolveUpdatePriority() { - var updatePriority = ReactDOMSharedInternals.p; - if (0 !== updatePriority) return updatePriority; - updatePriority = window.event; - return void 0 === updatePriority ? DefaultEventPriority : getEventPriority(updatePriority.type); - } - function runWithPriority(priority, fn) { - var previousPriority = ReactDOMSharedInternals.p; - try { - return ReactDOMSharedInternals.p = priority, fn(); - } finally{ - ReactDOMSharedInternals.p = previousPriority; - } - } - function detachDeletedInstance(node) { - delete node[internalInstanceKey]; - delete node[internalPropsKey]; - delete node[internalEventHandlersKey]; - delete node[internalEventHandlerListenersKey]; - delete node[internalEventHandlesSetKey]; - } - function getClosestInstanceFromNode(targetNode) { - var targetInst; - if (targetInst = targetNode[internalInstanceKey]) return targetInst; - for(var parentNode = targetNode.parentNode; parentNode;){ - if (targetInst = parentNode[internalContainerInstanceKey] || parentNode[internalInstanceKey]) { - parentNode = targetInst.alternate; - if (null !== targetInst.child || null !== parentNode && null !== parentNode.child) for(targetNode = getParentHydrationBoundary(targetNode); null !== targetNode;){ - if (parentNode = targetNode[internalInstanceKey]) return parentNode; - targetNode = getParentHydrationBoundary(targetNode); - } - return targetInst; - } - targetNode = parentNode; - parentNode = targetNode.parentNode; - } - return null; - } - function getInstanceFromNode(node) { - if (node = node[internalInstanceKey] || node[internalContainerInstanceKey]) { - var tag = node.tag; - if (5 === tag || 6 === tag || 13 === tag || 31 === tag || 26 === tag || 27 === tag || 3 === tag) return node; - } - return null; - } - function getNodeFromInstance(inst) { - var tag = inst.tag; - if (5 === tag || 26 === tag || 27 === tag || 6 === tag) return inst.stateNode; - throw Error("getNodeFromInstance: Invalid argument."); - } - function getResourcesFromRoot(root) { - var resources = root[internalRootNodeResourcesKey]; - resources || (resources = root[internalRootNodeResourcesKey] = { - hoistableStyles: new Map(), - hoistableScripts: new Map() - }); - return resources; - } - function markNodeAsHoistable(node) { - node[internalHoistableMarker] = !0; - } - function registerTwoPhaseEvent(registrationName, dependencies) { - registerDirectEvent(registrationName, dependencies); - registerDirectEvent(registrationName + "Capture", dependencies); - } - function registerDirectEvent(registrationName, dependencies) { - registrationNameDependencies[registrationName] && console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.", registrationName); - registrationNameDependencies[registrationName] = dependencies; - var lowerCasedName = registrationName.toLowerCase(); - possibleRegistrationNames[lowerCasedName] = registrationName; - "onDoubleClick" === registrationName && (possibleRegistrationNames.ondblclick = registrationName); - for(registrationName = 0; registrationName < dependencies.length; registrationName++)allNativeEvents.add(dependencies[registrationName]); - } - function checkControlledValueProps(tagName, props) { - hasReadOnlyValue[props.type] || props.onChange || props.onInput || props.readOnly || props.disabled || null == props.value || ("select" === tagName ? console.error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`.") : console.error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")); - props.onChange || props.readOnly || props.disabled || null == props.checked || console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`."); - } - function isAttributeNameSafe(attributeName) { - if (hasOwnProperty.call(validatedAttributeNameCache, attributeName)) return !0; - if (hasOwnProperty.call(illegalAttributeNameCache, attributeName)) return !1; - if (VALID_ATTRIBUTE_NAME_REGEX.test(attributeName)) return validatedAttributeNameCache[attributeName] = !0; - illegalAttributeNameCache[attributeName] = !0; - console.error("Invalid attribute name: `%s`", attributeName); - return !1; - } - function pushMutationContext() { - var prev = viewTransitionMutationContext; - viewTransitionMutationContext = !1; - return prev; - } - function getValueForAttributeOnCustomComponent(node, name, expected) { - if (isAttributeNameSafe(name)) { - if (!node.hasAttribute(name)) { - switch(typeof expected){ - case "symbol": - case "object": - return expected; - case "function": - return expected; - case "boolean": - if (!1 === expected) return expected; - } - return void 0 === expected ? void 0 : null; - } - node = node.getAttribute(name); - if ("" === node && !0 === expected) return !0; - checkAttributeStringCoercion(expected, name); - return node === "" + expected ? expected : node; - } - } - function setValueForAttribute(node, name, value) { - if (isAttributeNameSafe(name)) if (null === value) node.removeAttribute(name); - else { - switch(typeof value){ - case "undefined": - case "function": - case "symbol": - node.removeAttribute(name); - return; - case "boolean": - var prefix = name.toLowerCase().slice(0, 5); - if ("data-" !== prefix && "aria-" !== prefix) { - node.removeAttribute(name); - return; - } - } - checkAttributeStringCoercion(value, name); - node.setAttribute(name, "" + value); - } - } - function setValueForKnownAttribute(node, name, value) { - if (null === value) node.removeAttribute(name); - else { - switch(typeof value){ - case "undefined": - case "function": - case "symbol": - case "boolean": - node.removeAttribute(name); - return; - } - checkAttributeStringCoercion(value, name); - node.setAttribute(name, "" + value); - } - } - function setValueForNamespacedAttribute(node, namespace, name, value) { - if (null === value) node.removeAttribute(name); - else { - switch(typeof value){ - case "undefined": - case "function": - case "symbol": - case "boolean": - node.removeAttribute(name); - return; - } - checkAttributeStringCoercion(value, name); - node.setAttributeNS(namespace, name, "" + value); - } - } - function getToStringValue(value) { - switch(typeof value){ - case "bigint": - case "boolean": - case "number": - case "string": - case "undefined": - return value; - case "object": - return checkFormFieldValueStringCoercion(value), value; - default: - return ""; - } - } - function isCheckable(elem) { - var type = elem.type; - return (elem = elem.nodeName) && "input" === elem.toLowerCase() && ("checkbox" === type || "radio" === type); - } - function trackValueOnNode(node, valueField, currentValue) { - var descriptor = Object.getOwnPropertyDescriptor(node.constructor.prototype, valueField); - if (!node.hasOwnProperty(valueField) && "undefined" !== typeof descriptor && "function" === typeof descriptor.get && "function" === typeof descriptor.set) { - var get = descriptor.get, set = descriptor.set; - Object.defineProperty(node, valueField, { - configurable: !0, - get: function() { - return get.call(this); - }, - set: function(value) { - checkFormFieldValueStringCoercion(value); - currentValue = "" + value; - set.call(this, value); - } - }); - Object.defineProperty(node, valueField, { - enumerable: descriptor.enumerable - }); - return { - getValue: function() { - return currentValue; - }, - setValue: function(value) { - checkFormFieldValueStringCoercion(value); - currentValue = "" + value; - }, - stopTracking: function() { - node._valueTracker = null; - delete node[valueField]; - } - }; - } - } - function track(node) { - if (!node._valueTracker) { - var valueField = isCheckable(node) ? "checked" : "value"; - node._valueTracker = trackValueOnNode(node, valueField, "" + node[valueField]); - } - } - function updateValueIfChanged(node) { - if (!node) return !1; - var tracker = node._valueTracker; - if (!tracker) return !0; - var lastValue = tracker.getValue(); - var value = ""; - node && (value = isCheckable(node) ? node.checked ? "true" : "false" : node.value); - node = value; - return node !== lastValue ? (tracker.setValue(node), !0) : !1; - } - function getActiveElement(doc) { - doc = doc || ("undefined" !== typeof document ? document : void 0); - if ("undefined" === typeof doc) return null; - try { - return doc.activeElement || doc.body; - } catch (e) { - return doc.body; - } - } - function escapeSelectorAttributeValueInsideDoubleQuotes(value) { - return value.replace(escapeSelectorAttributeValueInsideDoubleQuotesRegex, function(ch) { - return "\\" + ch.charCodeAt(0).toString(16) + " "; - }); - } - function validateInputProps(element, props) { - void 0 === props.checked || void 0 === props.defaultChecked || didWarnCheckedDefaultChecked || (console.error("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components", getCurrentFiberOwnerNameInDevOrNull() || "A component", props.type), didWarnCheckedDefaultChecked = !0); - void 0 === props.value || void 0 === props.defaultValue || didWarnValueDefaultValue$1 || (console.error("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components", getCurrentFiberOwnerNameInDevOrNull() || "A component", props.type), didWarnValueDefaultValue$1 = !0); - } - function updateInput(element, value, defaultValue, lastDefaultValue, checked, defaultChecked, type, name) { - element.name = ""; - null != type && "function" !== typeof type && "symbol" !== typeof type && "boolean" !== typeof type ? (checkAttributeStringCoercion(type, "type"), element.type = type) : element.removeAttribute("type"); - if (null != value) if ("number" === type) { - if (0 === value && "" === element.value || element.value != value) element.value = "" + getToStringValue(value); - } else element.value !== "" + getToStringValue(value) && (element.value = "" + getToStringValue(value)); - else "submit" !== type && "reset" !== type || element.removeAttribute("value"); - null != value ? setDefaultValue(element, type, getToStringValue(value)) : null != defaultValue ? setDefaultValue(element, type, getToStringValue(defaultValue)) : null != lastDefaultValue && element.removeAttribute("value"); - null == checked && null != defaultChecked && (element.defaultChecked = !!defaultChecked); - null != checked && (element.checked = checked && "function" !== typeof checked && "symbol" !== typeof checked); - null != name && "function" !== typeof name && "symbol" !== typeof name && "boolean" !== typeof name ? (checkAttributeStringCoercion(name, "name"), element.name = "" + getToStringValue(name)) : element.removeAttribute("name"); - } - function initInput(element, value, defaultValue, checked, defaultChecked, type, name, isHydrating) { - null != type && "function" !== typeof type && "symbol" !== typeof type && "boolean" !== typeof type && (checkAttributeStringCoercion(type, "type"), element.type = type); - if (null != value || null != defaultValue) { - if (!("submit" !== type && "reset" !== type || void 0 !== value && null !== value)) { - track(element); - return; - } - defaultValue = null != defaultValue ? "" + getToStringValue(defaultValue) : ""; - value = null != value ? "" + getToStringValue(value) : defaultValue; - isHydrating || value === element.value || (element.value = value); - element.defaultValue = value; - } - checked = null != checked ? checked : defaultChecked; - checked = "function" !== typeof checked && "symbol" !== typeof checked && !!checked; - element.checked = isHydrating ? element.checked : !!checked; - element.defaultChecked = !!checked; - null != name && "function" !== typeof name && "symbol" !== typeof name && "boolean" !== typeof name && (checkAttributeStringCoercion(name, "name"), element.name = name); - track(element); - } - function setDefaultValue(node, type, value) { - "number" === type && getActiveElement(node.ownerDocument) === node || node.defaultValue === "" + value || (node.defaultValue = "" + value); - } - function validateOptionProps(element, props) { - null == props.value && ("object" === typeof props.children && null !== props.children ? React.Children.forEach(props.children, function(child) { - null == child || "string" === typeof child || "number" === typeof child || "bigint" === typeof child || didWarnInvalidChild || (didWarnInvalidChild = !0, console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")); - }) : null == props.dangerouslySetInnerHTML || didWarnInvalidInnerHTML || (didWarnInvalidInnerHTML = !0, console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))); - null == props.selected || didWarnSelectedSetOnOption || (console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."), didWarnSelectedSetOnOption = !0); - } - function getDeclarationErrorAddendum() { - var ownerName = getCurrentFiberOwnerNameInDevOrNull(); - return ownerName ? "\n\nCheck the render method of `" + ownerName + "`." : ""; - } - function updateOptions(node, multiple, propValue, setDefaultSelected) { - node = node.options; - if (multiple) { - multiple = {}; - for(var i = 0; i < propValue.length; i++)multiple["$" + propValue[i]] = !0; - for(propValue = 0; propValue < node.length; propValue++)i = multiple.hasOwnProperty("$" + node[propValue].value), node[propValue].selected !== i && (node[propValue].selected = i), i && setDefaultSelected && (node[propValue].defaultSelected = !0); - } else { - propValue = "" + getToStringValue(propValue); - multiple = null; - for(i = 0; i < node.length; i++){ - if (node[i].value === propValue) { - node[i].selected = !0; - setDefaultSelected && (node[i].defaultSelected = !0); - return; - } - null !== multiple || node[i].disabled || (multiple = node[i]); - } - null !== multiple && (multiple.selected = !0); - } - } - function validateSelectProps(element, props) { - for(element = 0; element < valuePropNames.length; element++){ - var propName = valuePropNames[element]; - if (null != props[propName]) { - var propNameIsArray = isArrayImpl(props[propName]); - props.multiple && !propNameIsArray ? console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s", propName, getDeclarationErrorAddendum()) : !props.multiple && propNameIsArray && console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s", propName, getDeclarationErrorAddendum()); - } - } - void 0 === props.value || void 0 === props.defaultValue || didWarnValueDefaultValue || (console.error("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://react.dev/link/controlled-components"), didWarnValueDefaultValue = !0); - } - function validateTextareaProps(element, props) { - void 0 === props.value || void 0 === props.defaultValue || didWarnValDefaultVal || (console.error("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components", getCurrentFiberOwnerNameInDevOrNull() || "A component"), didWarnValDefaultVal = !0); - null != props.children && null == props.value && console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>."); - } - function updateTextarea(element, value, defaultValue) { - if (null != value && (value = "" + getToStringValue(value), value !== element.value && (element.value = value), null == defaultValue)) { - element.defaultValue !== value && (element.defaultValue = value); - return; - } - element.defaultValue = null != defaultValue ? "" + getToStringValue(defaultValue) : ""; - } - function initTextarea(element, value, defaultValue, children) { - if (null == value) { - if (null != children) { - if (null != defaultValue) throw Error("If you supply `defaultValue` on a <textarea>, do not pass children."); - if (isArrayImpl(children)) { - if (1 < children.length) throw Error("<textarea> can only have at most one child."); - children = children[0]; - } - defaultValue = children; - } - null == defaultValue && (defaultValue = ""); - value = defaultValue; - } - defaultValue = getToStringValue(value); - element.defaultValue = defaultValue; - children = element.textContent; - children === defaultValue && "" !== children && null !== children && (element.value = children); - track(element); - } - function findNotableNode(node, indent) { - return void 0 === node.serverProps && 0 === node.serverTail.length && 1 === node.children.length && 3 < node.distanceFromLeaf && node.distanceFromLeaf > 15 - indent ? findNotableNode(node.children[0], indent) : node; - } - function indentation(indent) { - return " " + " ".repeat(indent); - } - function added(indent) { - return "+ " + " ".repeat(indent); - } - function removed(indent) { - return "- " + " ".repeat(indent); - } - function describeFiberType(fiber) { - switch(fiber.tag){ - case 26: - case 27: - case 5: - return fiber.type; - case 16: - return "Lazy"; - case 31: - return "Activity"; - case 13: - return "Suspense"; - case 19: - return "SuspenseList"; - case 0: - case 15: - return fiber = fiber.type, fiber.displayName || fiber.name || null; - case 11: - return fiber = fiber.type.render, fiber.displayName || fiber.name || null; - case 1: - return fiber = fiber.type, fiber.displayName || fiber.name || null; - default: - return null; - } - } - function describeTextNode(content, maxLength) { - return needsEscaping.test(content) ? (content = JSON.stringify(content), content.length > maxLength - 2 ? 8 > maxLength ? '{"..."}' : "{" + content.slice(0, maxLength - 7) + '..."}' : "{" + content + "}") : content.length > maxLength ? 5 > maxLength ? '{"..."}' : content.slice(0, maxLength - 3) + "..." : content; - } - function describeTextDiff(clientText, serverProps, indent) { - var maxLength = 120 - 2 * indent; - if (null === serverProps) return added(indent) + describeTextNode(clientText, maxLength) + "\n"; - if ("string" === typeof serverProps) { - for(var firstDiff = 0; firstDiff < serverProps.length && firstDiff < clientText.length && serverProps.charCodeAt(firstDiff) === clientText.charCodeAt(firstDiff); firstDiff++); - firstDiff > maxLength - 8 && 10 < firstDiff && (clientText = "..." + clientText.slice(firstDiff - 8), serverProps = "..." + serverProps.slice(firstDiff - 8)); - return added(indent) + describeTextNode(clientText, maxLength) + "\n" + removed(indent) + describeTextNode(serverProps, maxLength) + "\n"; - } - return indentation(indent) + describeTextNode(clientText, maxLength) + "\n"; - } - function objectName(object) { - return Object.prototype.toString.call(object).replace(/^\[object (.*)\]$/, function(m, p0) { - return p0; - }); - } - function describeValue(value, maxLength) { - switch(typeof value){ - case "string": - return value = JSON.stringify(value), value.length > maxLength ? 5 > maxLength ? '"..."' : value.slice(0, maxLength - 4) + '..."' : value; - case "object": - if (null === value) return "null"; - if (isArrayImpl(value)) return "[...]"; - if (value.$$typeof === REACT_ELEMENT_TYPE) return (maxLength = getComponentNameFromType(value.type)) ? "<" + maxLength + ">" : "<...>"; - var name = objectName(value); - if ("Object" === name) { - name = ""; - maxLength -= 2; - for(var propName in value)if (value.hasOwnProperty(propName)) { - var jsonPropName = JSON.stringify(propName); - jsonPropName !== '"' + propName + '"' && (propName = jsonPropName); - maxLength -= propName.length - 2; - jsonPropName = describeValue(value[propName], 15 > maxLength ? maxLength : 15); - maxLength -= jsonPropName.length; - if (0 > maxLength) { - name += "" === name ? "..." : ", ..."; - break; - } - name += ("" === name ? "" : ",") + propName + ":" + jsonPropName; - } - return "{" + name + "}"; - } - return name; - case "function": - return (maxLength = value.displayName || value.name) ? "function " + maxLength : "function"; - default: - return String(value); - } - } - function describePropValue(value, maxLength) { - return "string" !== typeof value || needsEscaping.test(value) ? "{" + describeValue(value, maxLength - 2) + "}" : value.length > maxLength - 2 ? 5 > maxLength ? '"..."' : '"' + value.slice(0, maxLength - 5) + '..."' : '"' + value + '"'; - } - function describeExpandedElement(type, props, rowPrefix) { - var remainingRowLength = 120 - rowPrefix.length - type.length, properties = [], propName; - for(propName in props)if (props.hasOwnProperty(propName) && "children" !== propName) { - var propValue = describePropValue(props[propName], 120 - rowPrefix.length - propName.length - 1); - remainingRowLength -= propName.length + propValue.length + 2; - properties.push(propName + "=" + propValue); - } - return 0 === properties.length ? rowPrefix + "<" + type + ">\n" : 0 < remainingRowLength ? rowPrefix + "<" + type + " " + properties.join(" ") + ">\n" : rowPrefix + "<" + type + "\n" + rowPrefix + " " + properties.join("\n" + rowPrefix + " ") + "\n" + rowPrefix + ">\n"; - } - function describePropertiesDiff(clientObject, serverObject, indent) { - var properties = "", remainingServerProperties = assign({}, serverObject), propName; - for(propName in clientObject)if (clientObject.hasOwnProperty(propName)) { - delete remainingServerProperties[propName]; - var maxLength = 120 - 2 * indent - propName.length - 2, clientPropValue = describeValue(clientObject[propName], maxLength); - serverObject.hasOwnProperty(propName) ? (maxLength = describeValue(serverObject[propName], maxLength), properties += added(indent) + propName + ": " + clientPropValue + "\n", properties += removed(indent) + propName + ": " + maxLength + "\n") : properties += added(indent) + propName + ": " + clientPropValue + "\n"; - } - for(var _propName in remainingServerProperties)remainingServerProperties.hasOwnProperty(_propName) && (clientObject = describeValue(remainingServerProperties[_propName], 120 - 2 * indent - _propName.length - 2), properties += removed(indent) + _propName + ": " + clientObject + "\n"); - return properties; - } - function describeElementDiff(type, clientProps, serverProps, indent) { - var content = "", serverPropNames = new Map(); - for(propName$jscomp$0 in serverProps)serverProps.hasOwnProperty(propName$jscomp$0) && serverPropNames.set(propName$jscomp$0.toLowerCase(), propName$jscomp$0); - if (1 === serverPropNames.size && serverPropNames.has("children")) content += describeExpandedElement(type, clientProps, indentation(indent)); - else { - for(var _propName2 in clientProps)if (clientProps.hasOwnProperty(_propName2) && "children" !== _propName2) { - var maxLength$jscomp$0 = 120 - 2 * (indent + 1) - _propName2.length - 1, serverPropName = serverPropNames.get(_propName2.toLowerCase()); - if (void 0 !== serverPropName) { - serverPropNames.delete(_propName2.toLowerCase()); - var propName$jscomp$0 = clientProps[_propName2]; - serverPropName = serverProps[serverPropName]; - var clientPropValue = describePropValue(propName$jscomp$0, maxLength$jscomp$0); - maxLength$jscomp$0 = describePropValue(serverPropName, maxLength$jscomp$0); - "object" === typeof propName$jscomp$0 && null !== propName$jscomp$0 && "object" === typeof serverPropName && null !== serverPropName && "Object" === objectName(propName$jscomp$0) && "Object" === objectName(serverPropName) && (2 < Object.keys(propName$jscomp$0).length || 2 < Object.keys(serverPropName).length || -1 < clientPropValue.indexOf("...") || -1 < maxLength$jscomp$0.indexOf("...")) ? content += indentation(indent + 1) + _propName2 + "={{\n" + describePropertiesDiff(propName$jscomp$0, serverPropName, indent + 2) + indentation(indent + 1) + "}}\n" : (content += added(indent + 1) + _propName2 + "=" + clientPropValue + "\n", content += removed(indent + 1) + _propName2 + "=" + maxLength$jscomp$0 + "\n"); - } else content += indentation(indent + 1) + _propName2 + "=" + describePropValue(clientProps[_propName2], maxLength$jscomp$0) + "\n"; - } - serverPropNames.forEach(function(propName) { - if ("children" !== propName) { - var maxLength = 120 - 2 * (indent + 1) - propName.length - 1; - content += removed(indent + 1) + propName + "=" + describePropValue(serverProps[propName], maxLength) + "\n"; - } - }); - content = "" === content ? indentation(indent) + "<" + type + ">\n" : indentation(indent) + "<" + type + "\n" + content + indentation(indent) + ">\n"; - } - type = serverProps.children; - clientProps = clientProps.children; - if ("string" === typeof type || "number" === typeof type || "bigint" === typeof type) { - serverPropNames = ""; - if ("string" === typeof clientProps || "number" === typeof clientProps || "bigint" === typeof clientProps) serverPropNames = "" + clientProps; - content += describeTextDiff(serverPropNames, "" + type, indent + 1); - } else if ("string" === typeof clientProps || "number" === typeof clientProps || "bigint" === typeof clientProps) content = null == type ? content + describeTextDiff("" + clientProps, null, indent + 1) : content + describeTextDiff("" + clientProps, void 0, indent + 1); - return content; - } - function describeSiblingFiber(fiber, indent) { - var type = describeFiberType(fiber); - if (null === type) { - type = ""; - for(fiber = fiber.child; fiber;)type += describeSiblingFiber(fiber, indent), fiber = fiber.sibling; - return type; - } - return indentation(indent) + "<" + type + ">\n"; - } - function describeNode(node, indent) { - var skipToNode = findNotableNode(node, indent); - if (skipToNode !== node && (1 !== node.children.length || node.children[0] !== skipToNode)) return indentation(indent) + "...\n" + describeNode(skipToNode, indent + 1); - skipToNode = ""; - var debugInfo = node.fiber._debugInfo; - if (debugInfo) for(var i = 0; i < debugInfo.length; i++){ - var serverComponentName = debugInfo[i].name; - "string" === typeof serverComponentName && (skipToNode += indentation(indent) + "<" + serverComponentName + ">\n", indent++); - } - debugInfo = ""; - i = node.fiber.pendingProps; - if (6 === node.fiber.tag) debugInfo = describeTextDiff(i, node.serverProps, indent), indent++; - else if (serverComponentName = describeFiberType(node.fiber), null !== serverComponentName) if (void 0 === node.serverProps) { - debugInfo = indent; - var maxLength = 120 - 2 * debugInfo - serverComponentName.length - 2, content = ""; - for(propName in i)if (i.hasOwnProperty(propName) && "children" !== propName) { - var propValue = describePropValue(i[propName], 15); - maxLength -= propName.length + propValue.length + 2; - if (0 > maxLength) { - content += " ..."; - break; - } - content += " " + propName + "=" + propValue; - } - debugInfo = indentation(debugInfo) + "<" + serverComponentName + content + ">\n"; - indent++; - } else null === node.serverProps ? (debugInfo = describeExpandedElement(serverComponentName, i, added(indent)), indent++) : "string" === typeof node.serverProps ? console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React.") : (debugInfo = describeElementDiff(serverComponentName, i, node.serverProps, indent), indent++); - var propName = ""; - i = node.fiber.child; - for(serverComponentName = 0; i && serverComponentName < node.children.length;)maxLength = node.children[serverComponentName], maxLength.fiber === i ? (propName += describeNode(maxLength, indent), serverComponentName++) : propName += describeSiblingFiber(i, indent), i = i.sibling; - i && 0 < node.children.length && (propName += indentation(indent) + "...\n"); - i = node.serverTail; - null === node.serverProps && indent--; - for(node = 0; node < i.length; node++)serverComponentName = i[node], propName = "string" === typeof serverComponentName ? propName + (removed(indent) + describeTextNode(serverComponentName, 120 - 2 * indent) + "\n") : propName + describeExpandedElement(serverComponentName.type, serverComponentName.props, removed(indent)); - return skipToNode + debugInfo + propName; - } - function describeDiff(rootNode) { - try { - return "\n\n" + describeNode(rootNode, 0); - } catch (x) { - return ""; - } - } - function describeAncestors(ancestor, child, props) { - for(var fiber = child, node = null, distanceFromLeaf = 0; fiber;)fiber === ancestor && (distanceFromLeaf = 0), node = { - fiber: fiber, - children: null !== node ? [ - node - ] : [], - serverProps: fiber === child ? props : fiber === ancestor ? null : void 0, - serverTail: [], - distanceFromLeaf: distanceFromLeaf - }, distanceFromLeaf++, fiber = fiber.return; - return null !== node ? describeDiff(node).replaceAll(/^[+-]/gm, ">") : ""; - } - function updatedAncestorInfoDev(oldInfo, tag) { - var ancestorInfo = assign({}, oldInfo || emptyAncestorInfoDev), info = { - tag: tag - }; - -1 !== inScopeTags.indexOf(tag) && (ancestorInfo.aTagInScope = null, ancestorInfo.buttonTagInScope = null, ancestorInfo.nobrTagInScope = null); - -1 !== buttonScopeTags.indexOf(tag) && (ancestorInfo.pTagInButtonScope = null); - -1 !== specialTags.indexOf(tag) && "address" !== tag && "div" !== tag && "p" !== tag && (ancestorInfo.listItemTagAutoclosing = null, ancestorInfo.dlItemTagAutoclosing = null); - ancestorInfo.current = info; - "form" === tag && (ancestorInfo.formTag = info); - "a" === tag && (ancestorInfo.aTagInScope = info); - "button" === tag && (ancestorInfo.buttonTagInScope = info); - "nobr" === tag && (ancestorInfo.nobrTagInScope = info); - "p" === tag && (ancestorInfo.pTagInButtonScope = info); - "li" === tag && (ancestorInfo.listItemTagAutoclosing = info); - if ("dd" === tag || "dt" === tag) ancestorInfo.dlItemTagAutoclosing = info; - "#document" === tag || "html" === tag ? ancestorInfo.containerTagInScope = null : ancestorInfo.containerTagInScope || (ancestorInfo.containerTagInScope = info); - null !== oldInfo || "#document" !== tag && "html" !== tag && "body" !== tag ? !0 === ancestorInfo.implicitRootScope && (ancestorInfo.implicitRootScope = !1) : ancestorInfo.implicitRootScope = !0; - return ancestorInfo; - } - function isTagValidWithParent(tag, parentTag, implicitRootScope) { - switch(parentTag){ - case "select": - return "hr" === tag || "option" === tag || "optgroup" === tag || "script" === tag || "template" === tag || "#text" === tag; - case "optgroup": - return "option" === tag || "#text" === tag; - case "option": - return "#text" === tag; - case "tr": - return "th" === tag || "td" === tag || "style" === tag || "script" === tag || "template" === tag; - case "tbody": - case "thead": - case "tfoot": - return "tr" === tag || "style" === tag || "script" === tag || "template" === tag; - case "colgroup": - return "col" === tag || "template" === tag; - case "table": - return "caption" === tag || "colgroup" === tag || "tbody" === tag || "tfoot" === tag || "thead" === tag || "style" === tag || "script" === tag || "template" === tag; - case "head": - return "base" === tag || "basefont" === tag || "bgsound" === tag || "link" === tag || "meta" === tag || "title" === tag || "noscript" === tag || "noframes" === tag || "style" === tag || "script" === tag || "template" === tag; - case "html": - if (implicitRootScope) break; - return "head" === tag || "body" === tag || "frameset" === tag; - case "frameset": - return "frame" === tag; - case "#document": - if (!implicitRootScope) return "html" === tag; - } - switch(tag){ - case "h1": - case "h2": - case "h3": - case "h4": - case "h5": - case "h6": - return "h1" !== parentTag && "h2" !== parentTag && "h3" !== parentTag && "h4" !== parentTag && "h5" !== parentTag && "h6" !== parentTag; - case "rp": - case "rt": - return -1 === impliedEndTags.indexOf(parentTag); - case "caption": - case "col": - case "colgroup": - case "frameset": - case "frame": - case "tbody": - case "td": - case "tfoot": - case "th": - case "thead": - case "tr": - return null == parentTag; - case "head": - return implicitRootScope || null === parentTag; - case "html": - return implicitRootScope && "#document" === parentTag || null === parentTag; - case "body": - return implicitRootScope && ("#document" === parentTag || "html" === parentTag) || null === parentTag; - } - return !0; - } - function findInvalidAncestorForTag(tag, ancestorInfo) { - switch(tag){ - case "address": - case "article": - case "aside": - case "blockquote": - case "center": - case "details": - case "dialog": - case "dir": - case "div": - case "dl": - case "fieldset": - case "figcaption": - case "figure": - case "footer": - case "header": - case "hgroup": - case "main": - case "menu": - case "nav": - case "ol": - case "p": - case "section": - case "summary": - case "ul": - case "pre": - case "listing": - case "table": - case "hr": - case "xmp": - case "h1": - case "h2": - case "h3": - case "h4": - case "h5": - case "h6": - return ancestorInfo.pTagInButtonScope; - case "form": - return ancestorInfo.formTag || ancestorInfo.pTagInButtonScope; - case "li": - return ancestorInfo.listItemTagAutoclosing; - case "dd": - case "dt": - return ancestorInfo.dlItemTagAutoclosing; - case "button": - return ancestorInfo.buttonTagInScope; - case "a": - return ancestorInfo.aTagInScope; - case "nobr": - return ancestorInfo.nobrTagInScope; - } - return null; - } - function findAncestor(parent, tagName) { - for(; parent;){ - switch(parent.tag){ - case 5: - case 26: - case 27: - if (parent.type === tagName) return parent; - } - parent = parent.return; - } - return null; - } - function validateDOMNesting(childTag, ancestorInfo) { - ancestorInfo = ancestorInfo || emptyAncestorInfoDev; - var parentInfo = ancestorInfo.current; - ancestorInfo = (parentInfo = isTagValidWithParent(childTag, parentInfo && parentInfo.tag, ancestorInfo.implicitRootScope) ? null : parentInfo) ? null : findInvalidAncestorForTag(childTag, ancestorInfo); - ancestorInfo = parentInfo || ancestorInfo; - if (!ancestorInfo) return !0; - var ancestorTag = ancestorInfo.tag; - ancestorInfo = String(!!parentInfo) + "|" + childTag + "|" + ancestorTag; - if (didWarn[ancestorInfo]) return !1; - didWarn[ancestorInfo] = !0; - var ancestor = (ancestorInfo = current) ? findAncestor(ancestorInfo.return, ancestorTag) : null, ancestorDescription = null !== ancestorInfo && null !== ancestor ? describeAncestors(ancestor, ancestorInfo, null) : "", tagDisplayName = "<" + childTag + ">"; - parentInfo ? (parentInfo = "", "table" === ancestorTag && "tr" === childTag && (parentInfo += " Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."), console.error("In HTML, %s cannot be a child of <%s>.%s\nThis will cause a hydration error.%s", tagDisplayName, ancestorTag, parentInfo, ancestorDescription)) : console.error("In HTML, %s cannot be a descendant of <%s>.\nThis will cause a hydration error.%s", tagDisplayName, ancestorTag, ancestorDescription); - ancestorInfo && (childTag = ancestorInfo.return, null === ancestor || null === childTag || ancestor === childTag && childTag._debugOwner === ancestorInfo._debugOwner || runWithFiberInDEV(ancestor, function() { - console.error("<%s> cannot contain a nested %s.\nSee this log for the ancestor stack trace.", ancestorTag, tagDisplayName); - })); - return !1; - } - function validateTextNesting(childText, parentTag, implicitRootScope) { - if (implicitRootScope || isTagValidWithParent("#text", parentTag, !1)) return !0; - implicitRootScope = "#text|" + parentTag; - if (didWarn[implicitRootScope]) return !1; - didWarn[implicitRootScope] = !0; - var ancestor = (implicitRootScope = current) ? findAncestor(implicitRootScope, parentTag) : null; - implicitRootScope = null !== implicitRootScope && null !== ancestor ? describeAncestors(ancestor, implicitRootScope, 6 !== implicitRootScope.tag ? { - children: null - } : null) : ""; - /\S/.test(childText) ? console.error("In HTML, text nodes cannot be a child of <%s>.\nThis will cause a hydration error.%s", parentTag, implicitRootScope) : console.error("In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.\nThis will cause a hydration error.%s", parentTag, implicitRootScope); - return !1; - } - function setTextContent(node, text) { - if (text) { - var firstChild = node.firstChild; - if (firstChild && firstChild === node.lastChild && 3 === firstChild.nodeType) { - firstChild.nodeValue = text; - return; - } - } - node.textContent = text; - } - function camelize(string) { - return string.replace(hyphenPattern, function(_, character) { - return character.toUpperCase(); - }); - } - function setValueForStyle(style, styleName, value) { - var isCustomProperty = 0 === styleName.indexOf("--"); - isCustomProperty || (-1 < styleName.indexOf("-") ? warnedStyleNames.hasOwnProperty(styleName) && warnedStyleNames[styleName] || (warnedStyleNames[styleName] = !0, console.error("Unsupported style property %s. Did you mean %s?", styleName, camelize(styleName.replace(msPattern, "ms-")))) : badVendoredStyleNamePattern.test(styleName) ? warnedStyleNames.hasOwnProperty(styleName) && warnedStyleNames[styleName] || (warnedStyleNames[styleName] = !0, console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?", styleName, styleName.charAt(0).toUpperCase() + styleName.slice(1))) : !badStyleValueWithSemicolonPattern.test(value) || warnedStyleValues.hasOwnProperty(value) && warnedStyleValues[value] || (warnedStyleValues[value] = !0, console.error('Style property values shouldn\'t contain a semicolon. Try "%s: %s" instead.', styleName, value.replace(badStyleValueWithSemicolonPattern, ""))), "number" === typeof value && (isNaN(value) ? warnedForNaNValue || (warnedForNaNValue = !0, console.error("`NaN` is an invalid value for the `%s` css style property.", styleName)) : isFinite(value) || warnedForInfinityValue || (warnedForInfinityValue = !0, console.error("`Infinity` is an invalid value for the `%s` css style property.", styleName)))); - null == value || "boolean" === typeof value || "" === value ? isCustomProperty ? style.setProperty(styleName, "") : "float" === styleName ? style.cssFloat = "" : style[styleName] = "" : isCustomProperty ? style.setProperty(styleName, value) : "number" !== typeof value || 0 === value || unitlessNumbers.has(styleName) ? "float" === styleName ? style.cssFloat = value : (checkCSSPropertyStringCoercion(value, styleName), style[styleName] = ("" + value).trim()) : style[styleName] = value + "px"; - } - function setValueForStyles(node, styles, prevStyles) { - if (null != styles && "object" !== typeof styles) throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX."); - styles && Object.freeze(styles); - node = node.style; - if (null != prevStyles) { - if (styles) { - var expandedUpdates = {}; - if (prevStyles) { - for(var key in prevStyles)if (prevStyles.hasOwnProperty(key) && !styles.hasOwnProperty(key)) for(var longhands = shorthandToLonghand[key] || [ - key - ], i = 0; i < longhands.length; i++)expandedUpdates[longhands[i]] = key; - } - for(var _key in styles)if (styles.hasOwnProperty(_key) && (!prevStyles || prevStyles[_key] !== styles[_key])) for(key = shorthandToLonghand[_key] || [ - _key - ], longhands = 0; longhands < key.length; longhands++)expandedUpdates[key[longhands]] = _key; - _key = {}; - for(var key$jscomp$0 in styles)for(key = shorthandToLonghand[key$jscomp$0] || [ - key$jscomp$0 - ], longhands = 0; longhands < key.length; longhands++)_key[key[longhands]] = key$jscomp$0; - key$jscomp$0 = {}; - for(var _key2 in expandedUpdates)if (key = expandedUpdates[_key2], (longhands = _key[_key2]) && key !== longhands && (i = key + "," + longhands, !key$jscomp$0[i])) { - key$jscomp$0[i] = !0; - i = console; - var value = styles[key]; - i.error.call(i, "%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.", null == value || "boolean" === typeof value || "" === value ? "Removing" : "Updating", key, longhands); - } - } - for(var styleName in prevStyles)!prevStyles.hasOwnProperty(styleName) || null != styles && styles.hasOwnProperty(styleName) || (0 === styleName.indexOf("--") ? node.setProperty(styleName, "") : "float" === styleName ? node.cssFloat = "" : node[styleName] = "", viewTransitionMutationContext = !0); - for(var _styleName in styles)_key2 = styles[_styleName], styles.hasOwnProperty(_styleName) && prevStyles[_styleName] !== _key2 && (setValueForStyle(node, _styleName, _key2), viewTransitionMutationContext = !0); - } else for(expandedUpdates in styles)styles.hasOwnProperty(expandedUpdates) && setValueForStyle(node, expandedUpdates, styles[expandedUpdates]); - } - function isCustomElement(tagName) { - if (-1 === tagName.indexOf("-")) return !1; - switch(tagName){ - case "annotation-xml": - case "color-profile": - case "font-face": - case "font-face-src": - case "font-face-uri": - case "font-face-format": - case "font-face-name": - case "missing-glyph": - return !1; - default: - return !0; - } - } - function getAttributeAlias(name) { - return aliases.get(name) || name; - } - function validateProperty$1(tagName, name) { - if (hasOwnProperty.call(warnedProperties$1, name) && warnedProperties$1[name]) return !0; - if (rARIACamel$1.test(name)) { - tagName = "aria-" + name.slice(4).toLowerCase(); - tagName = ariaProperties.hasOwnProperty(tagName) ? tagName : null; - if (null == tagName) return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.", name), warnedProperties$1[name] = !0; - if (name !== tagName) return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?", name, tagName), warnedProperties$1[name] = !0; - } - if (rARIA$1.test(name)) { - tagName = name.toLowerCase(); - tagName = ariaProperties.hasOwnProperty(tagName) ? tagName : null; - if (null == tagName) return warnedProperties$1[name] = !0, !1; - name !== tagName && (console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?", name, tagName), warnedProperties$1[name] = !0); - } - return !0; - } - function validateProperties$2(type, props) { - var invalidProps = [], key; - for(key in props)validateProperty$1(type, key) || invalidProps.push(key); - props = invalidProps.map(function(prop) { - return "`" + prop + "`"; - }).join(", "); - 1 === invalidProps.length ? console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props", props, type) : 1 < invalidProps.length && console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props", props, type); - } - function validateProperty(tagName, name, value, eventRegistry) { - if (hasOwnProperty.call(warnedProperties, name) && warnedProperties[name]) return !0; - var lowerCasedName = name.toLowerCase(); - if ("onfocusin" === lowerCasedName || "onfocusout" === lowerCasedName) return console.error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."), warnedProperties[name] = !0; - if ("function" === typeof value && ("form" === tagName && "action" === name || "input" === tagName && "formAction" === name || "button" === tagName && "formAction" === name)) return !0; - if (null != eventRegistry) { - tagName = eventRegistry.possibleRegistrationNames; - if (eventRegistry.registrationNameDependencies.hasOwnProperty(name)) return !0; - eventRegistry = tagName.hasOwnProperty(lowerCasedName) ? tagName[lowerCasedName] : null; - if (null != eventRegistry) return console.error("Invalid event handler property `%s`. Did you mean `%s`?", name, eventRegistry), warnedProperties[name] = !0; - if (EVENT_NAME_REGEX.test(name)) return console.error("Unknown event handler property `%s`. It will be ignored.", name), warnedProperties[name] = !0; - } else if (EVENT_NAME_REGEX.test(name)) return INVALID_EVENT_NAME_REGEX.test(name) && console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.", name), warnedProperties[name] = !0; - if (rARIA.test(name) || rARIACamel.test(name)) return !0; - if ("innerhtml" === lowerCasedName) return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."), warnedProperties[name] = !0; - if ("aria" === lowerCasedName) return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."), warnedProperties[name] = !0; - if ("is" === lowerCasedName && null !== value && void 0 !== value && "string" !== typeof value) return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.", typeof value), warnedProperties[name] = !0; - if ("number" === typeof value && isNaN(value)) return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.", name), warnedProperties[name] = !0; - if (possibleStandardNames.hasOwnProperty(lowerCasedName)) { - if (lowerCasedName = possibleStandardNames[lowerCasedName], lowerCasedName !== name) return console.error("Invalid DOM property `%s`. Did you mean `%s`?", name, lowerCasedName), warnedProperties[name] = !0; - } else if (name !== lowerCasedName) return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.", name, lowerCasedName), warnedProperties[name] = !0; - switch(name){ - case "dangerouslySetInnerHTML": - case "children": - case "style": - case "suppressContentEditableWarning": - case "suppressHydrationWarning": - case "defaultValue": - case "defaultChecked": - case "innerHTML": - case "ref": - return !0; - case "innerText": - case "textContent": - return !0; - } - switch(typeof value){ - case "boolean": - switch(name){ - case "autoFocus": - case "checked": - case "multiple": - case "muted": - case "selected": - case "contentEditable": - case "spellCheck": - case "draggable": - case "value": - case "autoReverse": - case "externalResourcesRequired": - case "focusable": - case "preserveAlpha": - case "allowFullScreen": - case "async": - case "autoPlay": - case "controls": - case "default": - case "defer": - case "disabled": - case "disablePictureInPicture": - case "disableRemotePlayback": - case "formNoValidate": - case "hidden": - case "loop": - case "noModule": - case "noValidate": - case "open": - case "playsInline": - case "readOnly": - case "required": - case "reversed": - case "scoped": - case "seamless": - case "itemScope": - case "capture": - case "download": - case "inert": - return !0; - default: - lowerCasedName = name.toLowerCase().slice(0, 5); - if ("data-" === lowerCasedName || "aria-" === lowerCasedName) return !0; - value ? console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.', value, name, name, value, name) : console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.', value, name, name, value, name, name, name); - return warnedProperties[name] = !0; - } - case "function": - case "symbol": - return warnedProperties[name] = !0, !1; - case "string": - if ("false" === value || "true" === value) { - switch(name){ - case "checked": - case "selected": - case "multiple": - case "muted": - case "allowFullScreen": - case "async": - case "autoPlay": - case "controls": - case "default": - case "defer": - case "disabled": - case "disablePictureInPicture": - case "disableRemotePlayback": - case "formNoValidate": - case "hidden": - case "loop": - case "noModule": - case "noValidate": - case "open": - case "playsInline": - case "readOnly": - case "required": - case "reversed": - case "scoped": - case "seamless": - case "itemScope": - case "inert": - break; - default: - return !0; - } - console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?", value, name, "false" === value ? "The browser will interpret it as a truthy value." : 'Although this works, it will not work as expected if you pass the string "false".', name, value); - warnedProperties[name] = !0; - } - } - return !0; - } - function warnUnknownProperties(type, props, eventRegistry) { - var unknownProps = [], key; - for(key in props)validateProperty(type, key, props[key], eventRegistry) || unknownProps.push(key); - props = unknownProps.map(function(prop) { - return "`" + prop + "`"; - }).join(", "); - 1 === unknownProps.length ? console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ", props, type) : 1 < unknownProps.length && console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ", props, type); - } - function sanitizeURL(url) { - return isJavaScriptProtocol.test("" + url) ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" : url; - } - function noop$1() {} - function getEventTarget(nativeEvent) { - nativeEvent = nativeEvent.target || nativeEvent.srcElement || window; - nativeEvent.correspondingUseElement && (nativeEvent = nativeEvent.correspondingUseElement); - return 3 === nativeEvent.nodeType ? nativeEvent.parentNode : nativeEvent; - } - function restoreStateOfTarget(target) { - var internalInstance = getInstanceFromNode(target); - if (internalInstance && (target = internalInstance.stateNode)) { - var props = target[internalPropsKey] || null; - a: switch(target = internalInstance.stateNode, internalInstance.type){ - case "input": - updateInput(target, props.value, props.defaultValue, props.defaultValue, props.checked, props.defaultChecked, props.type, props.name); - internalInstance = props.name; - if ("radio" === props.type && null != internalInstance) { - for(props = target; props.parentNode;)props = props.parentNode; - checkAttributeStringCoercion(internalInstance, "name"); - props = props.querySelectorAll('input[name="' + escapeSelectorAttributeValueInsideDoubleQuotes("" + internalInstance) + '"][type="radio"]'); - for(internalInstance = 0; internalInstance < props.length; internalInstance++){ - var otherNode = props[internalInstance]; - if (otherNode !== target && otherNode.form === target.form) { - var otherProps = otherNode[internalPropsKey] || null; - if (!otherProps) throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported."); - updateInput(otherNode, otherProps.value, otherProps.defaultValue, otherProps.defaultValue, otherProps.checked, otherProps.defaultChecked, otherProps.type, otherProps.name); - } - } - for(internalInstance = 0; internalInstance < props.length; internalInstance++)otherNode = props[internalInstance], otherNode.form === target.form && updateValueIfChanged(otherNode); - } - break a; - case "textarea": - updateTextarea(target, props.value, props.defaultValue); - break a; - case "select": - internalInstance = props.value, null != internalInstance && updateOptions(target, !!props.multiple, internalInstance, !1); - } - } - } - function batchedUpdates$1(fn, a, b) { - if (isInsideEventHandler) return fn(a, b); - isInsideEventHandler = !0; - try { - var JSCompiler_inline_result = fn(a); - return JSCompiler_inline_result; - } finally{ - if (isInsideEventHandler = !1, null !== restoreTarget || null !== restoreQueue) { - if (flushSyncWork$1(), restoreTarget && (a = restoreTarget, fn = restoreQueue, restoreQueue = restoreTarget = null, restoreStateOfTarget(a), fn)) for(a = 0; a < fn.length; a++)restoreStateOfTarget(fn[a]); - } - } - } - function getListener(inst, registrationName) { - var stateNode = inst.stateNode; - if (null === stateNode) return null; - var props = stateNode[internalPropsKey] || null; - if (null === props) return null; - stateNode = props[registrationName]; - a: switch(registrationName){ - case "onClick": - case "onClickCapture": - case "onDoubleClick": - case "onDoubleClickCapture": - case "onMouseDown": - case "onMouseDownCapture": - case "onMouseMove": - case "onMouseMoveCapture": - case "onMouseUp": - case "onMouseUpCapture": - case "onMouseEnter": - (props = !props.disabled) || (inst = inst.type, props = !("button" === inst || "input" === inst || "select" === inst || "textarea" === inst)); - inst = !props; - break a; - default: - inst = !1; - } - if (inst) return null; - if (stateNode && "function" !== typeof stateNode) throw Error("Expected `" + registrationName + "` listener to be a function, instead got a value of `" + typeof stateNode + "` type."); - return stateNode; - } - function getData() { - if (fallbackText) return fallbackText; - var start, startValue = startText, startLength = startValue.length, end, endValue = "value" in root ? root.value : root.textContent, endLength = endValue.length; - for(start = 0; start < startLength && startValue[start] === endValue[start]; start++); - var minEnd = startLength - start; - for(end = 1; end <= minEnd && startValue[startLength - end] === endValue[endLength - end]; end++); - return fallbackText = endValue.slice(start, 1 < end ? 1 - end : void 0); - } - function getEventCharCode(nativeEvent) { - var keyCode = nativeEvent.keyCode; - "charCode" in nativeEvent ? (nativeEvent = nativeEvent.charCode, 0 === nativeEvent && 13 === keyCode && (nativeEvent = 13)) : nativeEvent = keyCode; - 10 === nativeEvent && (nativeEvent = 13); - return 32 <= nativeEvent || 13 === nativeEvent ? nativeEvent : 0; - } - function functionThatReturnsTrue() { - return !0; - } - function functionThatReturnsFalse() { - return !1; - } - function createSyntheticEvent(Interface) { - function SyntheticBaseEvent(reactName, reactEventType, targetInst, nativeEvent, nativeEventTarget) { - this._reactName = reactName; - this._targetInst = targetInst; - this.type = reactEventType; - this.nativeEvent = nativeEvent; - this.target = nativeEventTarget; - this.currentTarget = null; - for(var propName in Interface)Interface.hasOwnProperty(propName) && (reactName = Interface[propName], this[propName] = reactName ? reactName(nativeEvent) : nativeEvent[propName]); - this.isDefaultPrevented = (null != nativeEvent.defaultPrevented ? nativeEvent.defaultPrevented : !1 === nativeEvent.returnValue) ? functionThatReturnsTrue : functionThatReturnsFalse; - this.isPropagationStopped = functionThatReturnsFalse; - return this; - } - assign(SyntheticBaseEvent.prototype, { - preventDefault: function() { - this.defaultPrevented = !0; - var event = this.nativeEvent; - event && (event.preventDefault ? event.preventDefault() : "unknown" !== typeof event.returnValue && (event.returnValue = !1), this.isDefaultPrevented = functionThatReturnsTrue); - }, - stopPropagation: function() { - var event = this.nativeEvent; - event && (event.stopPropagation ? event.stopPropagation() : "unknown" !== typeof event.cancelBubble && (event.cancelBubble = !0), this.isPropagationStopped = functionThatReturnsTrue); - }, - persist: function() {}, - isPersistent: functionThatReturnsTrue - }); - return SyntheticBaseEvent; - } - function modifierStateGetter(keyArg) { - var nativeEvent = this.nativeEvent; - return nativeEvent.getModifierState ? nativeEvent.getModifierState(keyArg) : (keyArg = modifierKeyToProp[keyArg]) ? !!nativeEvent[keyArg] : !1; - } - function getEventModifierState() { - return modifierStateGetter; - } - function isFallbackCompositionEnd(domEventName, nativeEvent) { - switch(domEventName){ - case "keyup": - return -1 !== END_KEYCODES.indexOf(nativeEvent.keyCode); - case "keydown": - return nativeEvent.keyCode !== START_KEYCODE; - case "keypress": - case "mousedown": - case "focusout": - return !0; - default: - return !1; - } - } - function getDataFromCustomEvent(nativeEvent) { - nativeEvent = nativeEvent.detail; - return "object" === typeof nativeEvent && "data" in nativeEvent ? nativeEvent.data : null; - } - function getNativeBeforeInputChars(domEventName, nativeEvent) { - switch(domEventName){ - case "compositionend": - return getDataFromCustomEvent(nativeEvent); - case "keypress": - if (nativeEvent.which !== SPACEBAR_CODE) return null; - hasSpaceKeypress = !0; - return SPACEBAR_CHAR; - case "textInput": - return domEventName = nativeEvent.data, domEventName === SPACEBAR_CHAR && hasSpaceKeypress ? null : domEventName; - default: - return null; - } - } - function getFallbackBeforeInputChars(domEventName, nativeEvent) { - if (isComposing) return "compositionend" === domEventName || !canUseCompositionEvent && isFallbackCompositionEnd(domEventName, nativeEvent) ? (domEventName = getData(), fallbackText = startText = root = null, isComposing = !1, domEventName) : null; - switch(domEventName){ - case "paste": - return null; - case "keypress": - if (!(nativeEvent.ctrlKey || nativeEvent.altKey || nativeEvent.metaKey) || nativeEvent.ctrlKey && nativeEvent.altKey) { - if (nativeEvent.char && 1 < nativeEvent.char.length) return nativeEvent.char; - if (nativeEvent.which) return String.fromCharCode(nativeEvent.which); - } - return null; - case "compositionend": - return useFallbackCompositionData && "ko" !== nativeEvent.locale ? null : nativeEvent.data; - default: - return null; - } - } - function isTextInputElement(elem) { - var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase(); - return "input" === nodeName ? !!supportedInputTypes[elem.type] : "textarea" === nodeName ? !0 : !1; - } - function isEventSupported(eventNameSuffix) { - if (!canUseDOM) return !1; - eventNameSuffix = "on" + eventNameSuffix; - var isSupported = eventNameSuffix in document; - isSupported || (isSupported = document.createElement("div"), isSupported.setAttribute(eventNameSuffix, "return;"), isSupported = "function" === typeof isSupported[eventNameSuffix]); - return isSupported; - } - function createAndAccumulateChangeEvent(dispatchQueue, inst, nativeEvent, target) { - restoreTarget ? restoreQueue ? restoreQueue.push(target) : restoreQueue = [ - target - ] : restoreTarget = target; - inst = accumulateTwoPhaseListeners(inst, "onChange"); - 0 < inst.length && (nativeEvent = new SyntheticEvent("onChange", "change", null, nativeEvent, target), dispatchQueue.push({ - event: nativeEvent, - listeners: inst - })); - } - function runEventInBatch(dispatchQueue) { - processDispatchQueue(dispatchQueue, 0); - } - function getInstIfValueChanged(targetInst) { - var targetNode = getNodeFromInstance(targetInst); - if (updateValueIfChanged(targetNode)) return targetInst; - } - function getTargetInstForChangeEvent(domEventName, targetInst) { - if ("change" === domEventName) return targetInst; - } - function stopWatchingForValueChange() { - activeElement$1 && (activeElement$1.detachEvent("onpropertychange", handlePropertyChange), activeElementInst$1 = activeElement$1 = null); - } - function handlePropertyChange(nativeEvent) { - if ("value" === nativeEvent.propertyName && getInstIfValueChanged(activeElementInst$1)) { - var dispatchQueue = []; - createAndAccumulateChangeEvent(dispatchQueue, activeElementInst$1, nativeEvent, getEventTarget(nativeEvent)); - batchedUpdates$1(runEventInBatch, dispatchQueue); - } - } - function handleEventsForInputEventPolyfill(domEventName, target, targetInst) { - "focusin" === domEventName ? (stopWatchingForValueChange(), activeElement$1 = target, activeElementInst$1 = targetInst, activeElement$1.attachEvent("onpropertychange", handlePropertyChange)) : "focusout" === domEventName && stopWatchingForValueChange(); - } - function getTargetInstForInputEventPolyfill(domEventName) { - if ("selectionchange" === domEventName || "keyup" === domEventName || "keydown" === domEventName) return getInstIfValueChanged(activeElementInst$1); - } - function getTargetInstForClickEvent(domEventName, targetInst) { - if ("click" === domEventName) return getInstIfValueChanged(targetInst); - } - function getTargetInstForInputOrChangeEvent(domEventName, targetInst) { - if ("input" === domEventName || "change" === domEventName) return getInstIfValueChanged(targetInst); - } - function is(x, y) { - return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y; - } - function shallowEqual(objA, objB) { - if (objectIs(objA, objB)) return !0; - if ("object" !== typeof objA || null === objA || "object" !== typeof objB || null === objB) return !1; - var keysA = Object.keys(objA), keysB = Object.keys(objB); - if (keysA.length !== keysB.length) return !1; - for(keysB = 0; keysB < keysA.length; keysB++){ - var currentKey = keysA[keysB]; - if (!hasOwnProperty.call(objB, currentKey) || !objectIs(objA[currentKey], objB[currentKey])) return !1; - } - return !0; - } - function getLeafNode(node) { - for(; node && node.firstChild;)node = node.firstChild; - return node; - } - function getNodeForCharacterOffset(root, offset) { - var node = getLeafNode(root); - root = 0; - for(var nodeEnd; node;){ - if (3 === node.nodeType) { - nodeEnd = root + node.textContent.length; - if (root <= offset && nodeEnd >= offset) return { - node: node, - offset: offset - root - }; - root = nodeEnd; - } - a: { - for(; node;){ - if (node.nextSibling) { - node = node.nextSibling; - break a; - } - node = node.parentNode; - } - node = void 0; - } - node = getLeafNode(node); - } - } - function containsNode(outerNode, innerNode) { - return outerNode && innerNode ? outerNode === innerNode ? !0 : outerNode && 3 === outerNode.nodeType ? !1 : innerNode && 3 === innerNode.nodeType ? containsNode(outerNode, innerNode.parentNode) : "contains" in outerNode ? outerNode.contains(innerNode) : outerNode.compareDocumentPosition ? !!(outerNode.compareDocumentPosition(innerNode) & 16) : !1 : !1; - } - function getActiveElementDeep(containerInfo) { - containerInfo = null != containerInfo && null != containerInfo.ownerDocument && null != containerInfo.ownerDocument.defaultView ? containerInfo.ownerDocument.defaultView : window; - for(var element = getActiveElement(containerInfo.document); element instanceof containerInfo.HTMLIFrameElement;){ - try { - var JSCompiler_inline_result = "string" === typeof element.contentWindow.location.href; - } catch (err) { - JSCompiler_inline_result = !1; - } - if (JSCompiler_inline_result) containerInfo = element.contentWindow; - else break; - element = getActiveElement(containerInfo.document); - } - return element; - } - function hasSelectionCapabilities(elem) { - var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase(); - return nodeName && ("input" === nodeName && ("text" === elem.type || "search" === elem.type || "tel" === elem.type || "url" === elem.type || "password" === elem.type) || "textarea" === nodeName || "true" === elem.contentEditable); - } - function constructSelectEvent(dispatchQueue, nativeEvent, nativeEventTarget) { - var doc = nativeEventTarget.window === nativeEventTarget ? nativeEventTarget.document : 9 === nativeEventTarget.nodeType ? nativeEventTarget : nativeEventTarget.ownerDocument; - mouseDown || null == activeElement || activeElement !== getActiveElement(doc) || (doc = activeElement, "selectionStart" in doc && hasSelectionCapabilities(doc) ? doc = { - start: doc.selectionStart, - end: doc.selectionEnd - } : (doc = (doc.ownerDocument && doc.ownerDocument.defaultView || window).getSelection(), doc = { - anchorNode: doc.anchorNode, - anchorOffset: doc.anchorOffset, - focusNode: doc.focusNode, - focusOffset: doc.focusOffset - }), lastSelection && shallowEqual(lastSelection, doc) || (lastSelection = doc, doc = accumulateTwoPhaseListeners(activeElementInst, "onSelect"), 0 < doc.length && (nativeEvent = new SyntheticEvent("onSelect", "select", null, nativeEvent, nativeEventTarget), dispatchQueue.push({ - event: nativeEvent, - listeners: doc - }), nativeEvent.target = activeElement))); - } - function makePrefixMap(styleProp, eventName) { - var prefixes = {}; - prefixes[styleProp.toLowerCase()] = eventName.toLowerCase(); - prefixes["Webkit" + styleProp] = "webkit" + eventName; - prefixes["Moz" + styleProp] = "moz" + eventName; - return prefixes; - } - function getVendorPrefixedEventName(eventName) { - if (prefixedEventNames[eventName]) return prefixedEventNames[eventName]; - if (!vendorPrefixes[eventName]) return eventName; - var prefixMap = vendorPrefixes[eventName], styleProp; - for(styleProp in prefixMap)if (prefixMap.hasOwnProperty(styleProp) && styleProp in style) return prefixedEventNames[eventName] = prefixMap[styleProp]; - return eventName; - } - function registerSimpleEvent(domEventName, reactName) { - topLevelEventsToReactNames.set(domEventName, reactName); - registerTwoPhaseEvent(reactName, [ - domEventName - ]); - } - function getViewTransitionName(props, instance) { - if (null != props.name && "auto" !== props.name) return props.name; - if (null !== instance.autoName) return instance.autoName; - props = pendingEffectsRoot.identifierPrefix; - var globalClientId = globalClientIdCounter$1++; - props = "_" + props + "t_" + globalClientId.toString(32) + "_"; - return instance.autoName = props; - } - function getClassNameByType(classByType) { - if (null == classByType || "string" === typeof classByType) return classByType; - var className = null, activeTypes = pendingTransitionTypes; - if (null !== activeTypes) for(var i = 0; i < activeTypes.length; i++){ - var match = classByType[activeTypes[i]]; - if (null != match) { - if ("none" === match) return "none"; - className = null == className ? match : className + (" " + match); - } - } - return null == className ? classByType.default : className; - } - function getViewTransitionClassName(defaultClass, eventClass) { - defaultClass = getClassNameByType(defaultClass); - eventClass = getClassNameByType(eventClass); - return null == eventClass ? "auto" === defaultClass ? null : defaultClass : "auto" === eventClass ? null : eventClass; - } - function getArrayKind(array) { - for(var kind = EMPTY_ARRAY, i = 0; i < array.length && i < OBJECT_WIDTH_LIMIT; i++){ - var value = array[i]; - if ("object" === typeof value && null !== value) if (isArrayImpl(value) && 2 === value.length && "string" === typeof value[0]) { - if (kind !== EMPTY_ARRAY && kind !== ENTRIES_ARRAY) return COMPLEX_ARRAY; - kind = ENTRIES_ARRAY; - } else return COMPLEX_ARRAY; - else { - if ("function" === typeof value || "string" === typeof value && 50 < value.length || kind !== EMPTY_ARRAY && kind !== PRIMITIVE_ARRAY) return COMPLEX_ARRAY; - kind = PRIMITIVE_ARRAY; - } - } - return kind; - } - function addObjectToProperties(object, properties, indent, prefix) { - var addedProperties = 0, key; - for(key in object)if (hasOwnProperty.call(object, key) && "_" !== key[0] && (addedProperties++, addValueToProperties(key, object[key], properties, indent, prefix), addedProperties >= OBJECT_WIDTH_LIMIT)) { - properties.push([ - prefix + "\u00a0\u00a0".repeat(indent) + "Only " + OBJECT_WIDTH_LIMIT + " properties are shown. React will not log more properties of this object.", - "" - ]); - break; - } - } - function addValueToProperties(propertyName, value, properties, indent, prefix) { - switch(typeof value){ - case "object": - if (null === value) { - value = "null"; - break; - } else { - if (value.$$typeof === REACT_ELEMENT_TYPE) { - var typeName = getComponentNameFromType(value.type) || "\u2026", key = value.key; - value = value.props; - var propsKeys = Object.keys(value), propsLength = propsKeys.length; - if (null == key && 0 === propsLength) { - value = "<" + typeName + " />"; - break; - } - if (3 > indent || 1 === propsLength && "children" === propsKeys[0] && null == key) { - value = "<" + typeName + " \u2026 />"; - break; - } - properties.push([ - prefix + "\u00a0\u00a0".repeat(indent) + propertyName, - "<" + typeName - ]); - null !== key && addValueToProperties("key", key, properties, indent + 1, prefix); - propertyName = !1; - key = 0; - for(var propKey in value)if (key++, "children" === propKey ? null != value.children && (!isArrayImpl(value.children) || 0 < value.children.length) && (propertyName = !0) : hasOwnProperty.call(value, propKey) && "_" !== propKey[0] && addValueToProperties(propKey, value[propKey], properties, indent + 1, prefix), key >= OBJECT_WIDTH_LIMIT) break; - properties.push([ - "", - propertyName ? ">\u2026</" + typeName + ">" : "/>" - ]); - return; - } - typeName = Object.prototype.toString.call(value); - propKey = typeName.slice(8, typeName.length - 1); - if ("Array" === propKey) { - if (typeName = value.length > OBJECT_WIDTH_LIMIT, key = getArrayKind(value), key === PRIMITIVE_ARRAY || key === EMPTY_ARRAY) { - value = JSON.stringify(typeName ? value.slice(0, OBJECT_WIDTH_LIMIT).concat("\u2026") : value); - break; - } else if (key === ENTRIES_ARRAY) { - properties.push([ - prefix + "\u00a0\u00a0".repeat(indent) + propertyName, - "" - ]); - for(propertyName = 0; propertyName < value.length && propertyName < OBJECT_WIDTH_LIMIT; propertyName++)propKey = value[propertyName], addValueToProperties(propKey[0], propKey[1], properties, indent + 1, prefix); - typeName && addValueToProperties(OBJECT_WIDTH_LIMIT.toString(), "\u2026", properties, indent + 1, prefix); - return; - } - } - if ("Promise" === propKey) { - if ("fulfilled" === value.status) { - if (typeName = properties.length, addValueToProperties(propertyName, value.value, properties, indent, prefix), properties.length > typeName) { - properties = properties[typeName]; - properties[1] = "Promise<" + (properties[1] || "Object") + ">"; - return; - } - } else if ("rejected" === value.status && (typeName = properties.length, addValueToProperties(propertyName, value.reason, properties, indent, prefix), properties.length > typeName)) { - properties = properties[typeName]; - properties[1] = "Rejected Promise<" + properties[1] + ">"; - return; - } - properties.push([ - "\u00a0\u00a0".repeat(indent) + propertyName, - "Promise" - ]); - return; - } - "Object" === propKey && (typeName = Object.getPrototypeOf(value)) && "function" === typeof typeName.constructor && (propKey = typeName.constructor.name); - properties.push([ - prefix + "\u00a0\u00a0".repeat(indent) + propertyName, - "Object" === propKey ? 3 > indent ? "" : "\u2026" : propKey - ]); - 3 > indent && addObjectToProperties(value, properties, indent + 1, prefix); - return; - } - case "function": - value = "" === value.name ? "() => {}" : value.name + "() {}"; - break; - case "string": - value = value === OMITTED_PROP_ERROR ? "\u2026" : JSON.stringify(value); - break; - case "undefined": - value = "undefined"; - break; - case "boolean": - value = value ? "true" : "false"; - break; - default: - value = String(value); - } - properties.push([ - prefix + "\u00a0\u00a0".repeat(indent) + propertyName, - value - ]); - } - function addObjectDiffToProperties(prev, next, properties, indent) { - var isDeeplyEqual = !0, prevPropertiesChecked = 0; - for(key in prev){ - if (prevPropertiesChecked > OBJECT_WIDTH_LIMIT) { - properties.push([ - "Previous object has more than " + OBJECT_WIDTH_LIMIT + " properties. React will not attempt to diff objects with too many properties.", - "" - ]); - isDeeplyEqual = !1; - break; - } - key in next || (properties.push([ - REMOVED + "\u00a0\u00a0".repeat(indent) + key, - "\u2026" - ]), isDeeplyEqual = !1); - prevPropertiesChecked++; - } - prevPropertiesChecked = 0; - for(var _key in next){ - if (prevPropertiesChecked > OBJECT_WIDTH_LIMIT) { - properties.push([ - "Next object has more than " + OBJECT_WIDTH_LIMIT + " properties. React will not attempt to diff objects with too many properties.", - "" - ]); - isDeeplyEqual = !1; - break; - } - if (_key in prev) { - var key = prev[_key]; - var nextValue = next[_key]; - if (key !== nextValue) { - if (0 === indent && "children" === _key) { - isDeeplyEqual = "\u00a0\u00a0".repeat(indent) + _key; - properties.push([ - REMOVED + isDeeplyEqual, - "\u2026" - ], [ - ADDED + isDeeplyEqual, - "\u2026" - ]); - isDeeplyEqual = !1; - continue; - } - if (!(3 <= indent)) { - if ("object" === typeof key && "object" === typeof nextValue && null !== key && null !== nextValue && key.$$typeof === nextValue.$$typeof) if (nextValue.$$typeof === REACT_ELEMENT_TYPE) { - if (key.type === nextValue.type && key.key === nextValue.key) { - key = getComponentNameFromType(nextValue.type) || "\u2026"; - isDeeplyEqual = "\u00a0\u00a0".repeat(indent) + _key; - key = "<" + key + " \u2026 />"; - properties.push([ - REMOVED + isDeeplyEqual, - key - ], [ - ADDED + isDeeplyEqual, - key - ]); - isDeeplyEqual = !1; - continue; - } - } else { - var prevKind = Object.prototype.toString.call(key), nextKind = Object.prototype.toString.call(nextValue); - if (prevKind === nextKind && ("[object Object]" === nextKind || "[object Array]" === nextKind)) { - prevKind = [ - UNCHANGED + "\u00a0\u00a0".repeat(indent) + _key, - "[object Array]" === nextKind ? "Array" : "" - ]; - properties.push(prevKind); - nextKind = properties.length; - addObjectDiffToProperties(key, nextValue, properties, indent + 1) ? nextKind === properties.length && (prevKind[1] = "Referentially unequal but deeply equal objects. Consider memoization.") : isDeeplyEqual = !1; - continue; - } - } - else if ("function" === typeof key && "function" === typeof nextValue && key.name === nextValue.name && key.length === nextValue.length && (prevKind = Function.prototype.toString.call(key), nextKind = Function.prototype.toString.call(nextValue), prevKind === nextKind)) { - key = "" === nextValue.name ? "() => {}" : nextValue.name + "() {}"; - properties.push([ - UNCHANGED + "\u00a0\u00a0".repeat(indent) + _key, - key + " Referentially unequal function closure. Consider memoization." - ]); - continue; - } - } - addValueToProperties(_key, key, properties, indent, REMOVED); - addValueToProperties(_key, nextValue, properties, indent, ADDED); - isDeeplyEqual = !1; - } - } else properties.push([ - ADDED + "\u00a0\u00a0".repeat(indent) + _key, - "\u2026" - ]), isDeeplyEqual = !1; - prevPropertiesChecked++; - } - return isDeeplyEqual; - } - function setCurrentTrackFromLanes(lanes) { - currentTrack = lanes & 63 ? "Blocking" : lanes & 64 ? "Gesture" : lanes & 4194176 ? "Transition" : lanes & 62914560 ? "Suspense" : lanes & 2080374784 ? "Idle" : "Other"; - } - function logComponentTrigger(fiber, startTime, endTime, trigger) { - supportsUserTiming && (reusableComponentOptions.start = startTime, reusableComponentOptions.end = endTime, reusableComponentDevToolDetails.color = "warning", reusableComponentDevToolDetails.tooltipText = trigger, reusableComponentDevToolDetails.properties = null, (fiber = fiber._debugTask) ? fiber.run(performance.measure.bind(performance, trigger, reusableComponentOptions)) : performance.measure(trigger, reusableComponentOptions), performance.clearMeasures(trigger)); - } - function logComponentReappeared(fiber, startTime, endTime) { - logComponentTrigger(fiber, startTime, endTime, "Reconnect"); - } - function logComponentRender(fiber, startTime, endTime, wasHydrated, committedLanes) { - var name = getComponentNameFromFiber(fiber); - if (null !== name && supportsUserTiming) { - var alternate = fiber.alternate, selfTime = fiber.actualDuration; - if (null === alternate || alternate.child !== fiber.child) for(var child = fiber.child; null !== child; child = child.sibling)selfTime -= child.actualDuration; - selfTime = 0.5 > selfTime ? wasHydrated ? "tertiary-light" : "primary-light" : 10 > selfTime ? wasHydrated ? "tertiary" : "primary" : 100 > selfTime ? wasHydrated ? "tertiary-dark" : "primary-dark" : "error"; - var props = fiber.memoizedProps; - wasHydrated = fiber._debugTask; - null !== props && null !== alternate && alternate.memoizedProps !== props ? (child = [ - reusableChangedPropsEntry - ], props = addObjectDiffToProperties(alternate.memoizedProps, props, child, 0), 1 < child.length ? (props && !alreadyWarnedForDeepEquality && 0 === (alternate.lanes & committedLanes) && 100 < fiber.actualDuration ? (alreadyWarnedForDeepEquality = !0, child[0] = reusableDeeplyEqualPropsEntry, reusableComponentDevToolDetails.color = "warning", reusableComponentDevToolDetails.tooltipText = DEEP_EQUALITY_WARNING) : (reusableComponentDevToolDetails.color = selfTime, reusableComponentDevToolDetails.tooltipText = name), reusableComponentDevToolDetails.properties = child, reusableComponentOptions.start = startTime, reusableComponentOptions.end = endTime, fiber = "\u200b" + name, null != wasHydrated ? wasHydrated.run(performance.measure.bind(performance, fiber, reusableComponentOptions)) : performance.measure(fiber, reusableComponentOptions), performance.clearMeasures(fiber)) : null != wasHydrated ? wasHydrated.run(console.timeStamp.bind(console, name, startTime, endTime, COMPONENTS_TRACK, void 0, selfTime)) : console.timeStamp(name, startTime, endTime, COMPONENTS_TRACK, void 0, selfTime)) : null != wasHydrated ? wasHydrated.run(console.timeStamp.bind(console, name, startTime, endTime, COMPONENTS_TRACK, void 0, selfTime)) : console.timeStamp(name, startTime, endTime, COMPONENTS_TRACK, void 0, selfTime); - } - } - function logComponentErrored(fiber, startTime, endTime, errors) { - if (supportsUserTiming) { - var name = getComponentNameFromFiber(fiber); - if (null !== name) { - for(var debugTask = null, properties = [], i = 0; i < errors.length; i++){ - var capturedValue = errors[i]; - null == debugTask && null !== capturedValue.source && (debugTask = capturedValue.source._debugTask); - capturedValue = capturedValue.value; - properties.push([ - "Error", - "object" === typeof capturedValue && null !== capturedValue && "string" === typeof capturedValue.message ? String(capturedValue.message) : String(capturedValue) - ]); - } - null !== fiber.key && addValueToProperties("key", fiber.key, properties, 0, ""); - null !== fiber.memoizedProps && addObjectToProperties(fiber.memoizedProps, properties, 0, ""); - null == debugTask && (debugTask = fiber._debugTask); - fiber = { - start: startTime, - end: endTime, - detail: { - devtools: { - color: "error", - track: COMPONENTS_TRACK, - tooltipText: 13 === fiber.tag ? "Hydration failed" : "Error boundary caught an error", - properties: properties - } - } - }; - name = "\u200b" + name; - debugTask ? debugTask.run(performance.measure.bind(performance, name, fiber)) : performance.measure(name, fiber); - performance.clearMeasures(name); - } - } - } - function logComponentEffect(fiber, startTime, endTime, selfTime, errors) { - if (null !== errors) { - if (supportsUserTiming) { - var name = getComponentNameFromFiber(fiber); - if (null !== name) { - selfTime = []; - for(var i = 0; i < errors.length; i++){ - var error = errors[i].value; - selfTime.push([ - "Error", - "object" === typeof error && null !== error && "string" === typeof error.message ? String(error.message) : String(error) - ]); - } - null !== fiber.key && addValueToProperties("key", fiber.key, selfTime, 0, ""); - null !== fiber.memoizedProps && addObjectToProperties(fiber.memoizedProps, selfTime, 0, ""); - startTime = { - start: startTime, - end: endTime, - detail: { - devtools: { - color: "error", - track: COMPONENTS_TRACK, - tooltipText: "A lifecycle or effect errored", - properties: selfTime - } - } - }; - fiber = fiber._debugTask; - endTime = "\u200b" + name; - fiber ? fiber.run(performance.measure.bind(performance, endTime, startTime)) : performance.measure(endTime, startTime); - performance.clearMeasures(endTime); - } - } - } else name = getComponentNameFromFiber(fiber), null !== name && supportsUserTiming && (errors = 1 > selfTime ? "secondary-light" : 100 > selfTime ? "secondary" : 500 > selfTime ? "secondary-dark" : "error", (fiber = fiber._debugTask) ? fiber.run(console.timeStamp.bind(console, name, startTime, endTime, COMPONENTS_TRACK, void 0, errors)) : console.timeStamp(name, startTime, endTime, COMPONENTS_TRACK, void 0, errors)); - } - function logRenderPhase(startTime, endTime, lanes, debugTask) { - if (supportsUserTiming && !(endTime <= startTime)) { - var color = (lanes & 738197653) === lanes ? "tertiary-dark" : "primary-dark"; - lanes = (lanes & 536870912) === lanes ? "Prepared" : (lanes & 201326741) === lanes ? "Hydrated" : "Render"; - debugTask ? debugTask.run(console.timeStamp.bind(console, lanes, startTime, endTime, currentTrack, LANES_TRACK_GROUP, color)) : console.timeStamp(lanes, startTime, endTime, currentTrack, LANES_TRACK_GROUP, color); - } - } - function logSuspendedRenderPhase(startTime, endTime, lanes, debugTask) { - !supportsUserTiming || endTime <= startTime || (lanes = (lanes & 738197653) === lanes ? "tertiary-dark" : "primary-dark", debugTask ? debugTask.run(console.timeStamp.bind(console, "Prewarm", startTime, endTime, currentTrack, LANES_TRACK_GROUP, lanes)) : console.timeStamp("Prewarm", startTime, endTime, currentTrack, LANES_TRACK_GROUP, lanes)); - } - function logSuspendedWithDelayPhase(startTime, endTime, lanes, debugTask) { - !supportsUserTiming || endTime <= startTime || (lanes = (lanes & 738197653) === lanes ? "tertiary-dark" : "primary-dark", debugTask ? debugTask.run(console.timeStamp.bind(console, "Suspended", startTime, endTime, currentTrack, LANES_TRACK_GROUP, lanes)) : console.timeStamp("Suspended", startTime, endTime, currentTrack, LANES_TRACK_GROUP, lanes)); - } - function logRecoveredRenderPhase(startTime, endTime, lanes, recoverableErrors, hydrationFailed, debugTask) { - if (supportsUserTiming && !(endTime <= startTime)) { - lanes = []; - for(var i = 0; i < recoverableErrors.length; i++){ - var error = recoverableErrors[i].value; - lanes.push([ - "Recoverable Error", - "object" === typeof error && null !== error && "string" === typeof error.message ? String(error.message) : String(error) - ]); - } - startTime = { - start: startTime, - end: endTime, - detail: { - devtools: { - color: "primary-dark", - track: currentTrack, - trackGroup: LANES_TRACK_GROUP, - tooltipText: hydrationFailed ? "Hydration Failed" : "Recovered after Error", - properties: lanes - } - } - }; - debugTask ? debugTask.run(performance.measure.bind(performance, "Recovered", startTime)) : performance.measure("Recovered", startTime); - performance.clearMeasures("Recovered"); - } - } - function logErroredRenderPhase(startTime, endTime, lanes, debugTask) { - !supportsUserTiming || endTime <= startTime || (debugTask ? debugTask.run(console.timeStamp.bind(console, "Errored", startTime, endTime, currentTrack, LANES_TRACK_GROUP, "error")) : console.timeStamp("Errored", startTime, endTime, currentTrack, LANES_TRACK_GROUP, "error")); - } - function logSuspendedCommitPhase(startTime, endTime, reason, debugTask) { - !supportsUserTiming || endTime <= startTime || (debugTask ? debugTask.run(console.timeStamp.bind(console, reason, startTime, endTime, currentTrack, LANES_TRACK_GROUP, "secondary-light")) : console.timeStamp(reason, startTime, endTime, currentTrack, LANES_TRACK_GROUP, "secondary-light")); - } - function logCommitErrored(startTime, endTime, errors, passive, debugTask) { - if (supportsUserTiming && !(endTime <= startTime)) { - for(var properties = [], i = 0; i < errors.length; i++){ - var error = errors[i].value; - properties.push([ - "Error", - "object" === typeof error && null !== error && "string" === typeof error.message ? String(error.message) : String(error) - ]); - } - startTime = { - start: startTime, - end: endTime, - detail: { - devtools: { - color: "error", - track: currentTrack, - trackGroup: LANES_TRACK_GROUP, - tooltipText: passive ? "Remaining Effects Errored" : "Commit Errored", - properties: properties - } - } - }; - debugTask ? debugTask.run(performance.measure.bind(performance, "Errored", startTime)) : performance.measure("Errored", startTime); - performance.clearMeasures("Errored"); - } - } - function logCommitPhase(startTime, endTime, errors, abortedViewTransition, debugTask) { - null !== errors ? logCommitErrored(startTime, endTime, errors, !1, debugTask) : !supportsUserTiming || endTime <= startTime || (debugTask ? debugTask.run(console.timeStamp.bind(console, abortedViewTransition ? "Commit Interrupted View Transition" : "Commit", startTime, endTime, currentTrack, LANES_TRACK_GROUP, abortedViewTransition ? "error" : "secondary-dark")) : console.timeStamp(abortedViewTransition ? "Commit Interrupted View Transition" : "Commit", startTime, endTime, currentTrack, LANES_TRACK_GROUP, abortedViewTransition ? "error" : "secondary-dark")); - } - function logAnimatingPhase(startTime, endTime, debugTask) { - !supportsUserTiming || endTime <= startTime || (debugTask ? debugTask.run(console.timeStamp.bind(console, "Animating", startTime, endTime, currentTrack, LANES_TRACK_GROUP, "secondary-dark")) : console.timeStamp("Animating", startTime, endTime, currentTrack, LANES_TRACK_GROUP, "secondary-dark")); - } - function finishQueueingConcurrentUpdates() { - for(var endIndex = concurrentQueuesIndex, i = concurrentlyUpdatedLanes = concurrentQueuesIndex = 0; i < endIndex;){ - var fiber = concurrentQueues[i]; - concurrentQueues[i++] = null; - var queue = concurrentQueues[i]; - concurrentQueues[i++] = null; - var update = concurrentQueues[i]; - concurrentQueues[i++] = null; - var lane = concurrentQueues[i]; - concurrentQueues[i++] = null; - if (null !== queue && null !== update) { - var pending = queue.pending; - null === pending ? update.next = update : (update.next = pending.next, pending.next = update); - queue.pending = update; - } - 0 !== lane && markUpdateLaneFromFiberToRoot(fiber, update, lane); - } - } - function enqueueUpdate$1(fiber, queue, update, lane) { - concurrentQueues[concurrentQueuesIndex++] = fiber; - concurrentQueues[concurrentQueuesIndex++] = queue; - concurrentQueues[concurrentQueuesIndex++] = update; - concurrentQueues[concurrentQueuesIndex++] = lane; - concurrentlyUpdatedLanes |= lane; - fiber.lanes |= lane; - fiber = fiber.alternate; - null !== fiber && (fiber.lanes |= lane); - } - function enqueueConcurrentHookUpdate(fiber, queue, update, lane) { - enqueueUpdate$1(fiber, queue, update, lane); - return getRootForUpdatedFiber(fiber); - } - function enqueueConcurrentRenderForLane(fiber, lane) { - enqueueUpdate$1(fiber, null, null, lane); - return getRootForUpdatedFiber(fiber); - } - function markUpdateLaneFromFiberToRoot(sourceFiber, update, lane) { - sourceFiber.lanes |= lane; - var alternate = sourceFiber.alternate; - null !== alternate && (alternate.lanes |= lane); - for(var isHidden = !1, parent = sourceFiber.return; null !== parent;)parent.childLanes |= lane, alternate = parent.alternate, null !== alternate && (alternate.childLanes |= lane), 22 === parent.tag && (sourceFiber = parent.stateNode, null === sourceFiber || sourceFiber._visibility & OffscreenVisible || (isHidden = !0)), sourceFiber = parent, parent = parent.return; - return 3 === sourceFiber.tag ? (parent = sourceFiber.stateNode, isHidden && null !== update && (isHidden = 31 - clz32(lane), sourceFiber = parent.hiddenUpdates, alternate = sourceFiber[isHidden], null === alternate ? sourceFiber[isHidden] = [ - update - ] : alternate.push(update), update.lane = lane | 536870912), parent) : null; - } - function getRootForUpdatedFiber(sourceFiber) { - if (nestedUpdateCount > NESTED_UPDATE_LIMIT) throw nestedPassiveUpdateCount = nestedUpdateCount = 0, rootWithPassiveNestedUpdates = rootWithNestedUpdates = null, Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops."); - nestedPassiveUpdateCount > NESTED_PASSIVE_UPDATE_LIMIT && (nestedPassiveUpdateCount = 0, rootWithPassiveNestedUpdates = null, console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")); - null === sourceFiber.alternate && 0 !== (sourceFiber.flags & 4098) && warnAboutUpdateOnNotYetMountedFiberInDEV(sourceFiber); - for(var node = sourceFiber, parent = node.return; null !== parent;)null === node.alternate && 0 !== (node.flags & 4098) && warnAboutUpdateOnNotYetMountedFiberInDEV(sourceFiber), node = parent, parent = node.return; - return 3 === node.tag ? node.stateNode : null; - } - function resolveFunctionForHotReloading(type) { - if (null === resolveFamily) return type; - var family = resolveFamily(type); - return void 0 === family ? type : family.current; - } - function resolveForwardRefForHotReloading(type) { - if (null === resolveFamily) return type; - var family = resolveFamily(type); - return void 0 === family ? null !== type && void 0 !== type && "function" === typeof type.render && (family = resolveFunctionForHotReloading(type.render), type.render !== family) ? (family = { - $$typeof: REACT_FORWARD_REF_TYPE, - render: family - }, void 0 !== type.displayName && (family.displayName = type.displayName), family) : type : family.current; - } - function isCompatibleFamilyForHotReloading(fiber, element) { - if (null === resolveFamily) return !1; - var prevType = fiber.elementType; - element = element.type; - var needsCompareFamilies = !1, $$typeofNextType = "object" === typeof element && null !== element ? element.$$typeof : null; - switch(fiber.tag){ - case 1: - "function" === typeof element && (needsCompareFamilies = !0); - break; - case 0: - "function" === typeof element ? needsCompareFamilies = !0 : $$typeofNextType === REACT_LAZY_TYPE && (needsCompareFamilies = !0); - break; - case 11: - $$typeofNextType === REACT_FORWARD_REF_TYPE ? needsCompareFamilies = !0 : $$typeofNextType === REACT_LAZY_TYPE && (needsCompareFamilies = !0); - break; - case 14: - case 15: - $$typeofNextType === REACT_MEMO_TYPE ? needsCompareFamilies = !0 : $$typeofNextType === REACT_LAZY_TYPE && (needsCompareFamilies = !0); - break; - default: - return !1; - } - return needsCompareFamilies && (fiber = resolveFamily(prevType), void 0 !== fiber && fiber === resolveFamily(element)) ? !0 : !1; - } - function markFailedErrorBoundaryForHotReloading(fiber) { - null !== resolveFamily && "function" === typeof WeakSet && (null === failedBoundaries && (failedBoundaries = new WeakSet()), failedBoundaries.add(fiber)); - } - function scheduleFibersWithFamiliesRecursively(fiber, updatedFamilies, staleFamilies) { - do { - var _fiber = fiber, alternate = _fiber.alternate, child = _fiber.child, sibling = _fiber.sibling, tag = _fiber.tag; - _fiber = _fiber.type; - var candidateType = null; - switch(tag){ - case 0: - case 15: - case 1: - candidateType = _fiber; - break; - case 11: - candidateType = _fiber.render; - } - if (null === resolveFamily) throw Error("Expected resolveFamily to be set during hot reload."); - var needsRender = !1; - _fiber = !1; - null !== candidateType && (candidateType = resolveFamily(candidateType), void 0 !== candidateType && (staleFamilies.has(candidateType) ? _fiber = !0 : updatedFamilies.has(candidateType) && (1 === tag ? _fiber = !0 : needsRender = !0))); - null !== failedBoundaries && (failedBoundaries.has(fiber) || null !== alternate && failedBoundaries.has(alternate)) && (_fiber = !0); - _fiber && (fiber._debugNeedsRemount = !0); - if (_fiber || needsRender) alternate = enqueueConcurrentRenderForLane(fiber, 2), null !== alternate && scheduleUpdateOnFiber(alternate, fiber, 2); - null === child || _fiber || scheduleFibersWithFamiliesRecursively(child, updatedFamilies, staleFamilies); - if (null === sibling) break; - fiber = sibling; - }while (1) - } - function FiberNode(tag, pendingProps, key, mode) { - this.tag = tag; - this.key = key; - this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null; - this.index = 0; - this.refCleanup = this.ref = null; - this.pendingProps = pendingProps; - this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null; - this.mode = mode; - this.subtreeFlags = this.flags = 0; - this.deletions = null; - this.childLanes = this.lanes = 0; - this.alternate = null; - this.actualDuration = -0; - this.actualStartTime = -1.1; - this.treeBaseDuration = this.selfBaseDuration = -0; - this._debugTask = this._debugStack = this._debugOwner = this._debugInfo = null; - this._debugNeedsRemount = !1; - this._debugHookTypes = null; - hasBadMapPolyfill || "function" !== typeof Object.preventExtensions || Object.preventExtensions(this); - } - function shouldConstruct(Component) { - Component = Component.prototype; - return !(!Component || !Component.isReactComponent); - } - function createWorkInProgress(current, pendingProps) { - var workInProgress = current.alternate; - null === workInProgress ? (workInProgress = createFiber(current.tag, pendingProps, current.key, current.mode), workInProgress.elementType = current.elementType, workInProgress.type = current.type, workInProgress.stateNode = current.stateNode, workInProgress._debugOwner = current._debugOwner, workInProgress._debugStack = current._debugStack, workInProgress._debugTask = current._debugTask, workInProgress._debugHookTypes = current._debugHookTypes, workInProgress.alternate = current, current.alternate = workInProgress) : (workInProgress.pendingProps = pendingProps, workInProgress.type = current.type, workInProgress.flags = 0, workInProgress.subtreeFlags = 0, workInProgress.deletions = null, workInProgress.actualDuration = -0, workInProgress.actualStartTime = -1.1); - workInProgress.flags = current.flags & 132120576; - workInProgress.childLanes = current.childLanes; - workInProgress.lanes = current.lanes; - workInProgress.child = current.child; - workInProgress.memoizedProps = current.memoizedProps; - workInProgress.memoizedState = current.memoizedState; - workInProgress.updateQueue = current.updateQueue; - pendingProps = current.dependencies; - workInProgress.dependencies = null === pendingProps ? null : { - lanes: pendingProps.lanes, - firstContext: pendingProps.firstContext, - _debugThenableState: pendingProps._debugThenableState - }; - workInProgress.sibling = current.sibling; - workInProgress.index = current.index; - workInProgress.ref = current.ref; - workInProgress.refCleanup = current.refCleanup; - workInProgress.selfBaseDuration = current.selfBaseDuration; - workInProgress.treeBaseDuration = current.treeBaseDuration; - workInProgress._debugInfo = current._debugInfo; - workInProgress._debugNeedsRemount = current._debugNeedsRemount; - switch(workInProgress.tag){ - case 0: - case 15: - workInProgress.type = resolveFunctionForHotReloading(current.type); - break; - case 1: - workInProgress.type = resolveFunctionForHotReloading(current.type); - break; - case 11: - workInProgress.type = resolveForwardRefForHotReloading(current.type); - } - return workInProgress; - } - function resetWorkInProgress(workInProgress, renderLanes) { - workInProgress.flags &= 132120578; - var current = workInProgress.alternate; - null === current ? (workInProgress.childLanes = 0, workInProgress.lanes = renderLanes, workInProgress.child = null, workInProgress.subtreeFlags = 0, workInProgress.memoizedProps = null, workInProgress.memoizedState = null, workInProgress.updateQueue = null, workInProgress.dependencies = null, workInProgress.stateNode = null, workInProgress.selfBaseDuration = 0, workInProgress.treeBaseDuration = 0) : (workInProgress.childLanes = current.childLanes, workInProgress.lanes = current.lanes, workInProgress.child = current.child, workInProgress.subtreeFlags = 0, workInProgress.deletions = null, workInProgress.memoizedProps = current.memoizedProps, workInProgress.memoizedState = current.memoizedState, workInProgress.updateQueue = current.updateQueue, workInProgress.type = current.type, renderLanes = current.dependencies, workInProgress.dependencies = null === renderLanes ? null : { - lanes: renderLanes.lanes, - firstContext: renderLanes.firstContext, - _debugThenableState: renderLanes._debugThenableState - }, workInProgress.selfBaseDuration = current.selfBaseDuration, workInProgress.treeBaseDuration = current.treeBaseDuration); - return workInProgress; - } - function createFiberFromTypeAndProps(type, key, pendingProps, owner, mode, lanes) { - var fiberTag = 0, resolvedType = type; - if ("function" === typeof type) shouldConstruct(type) && (fiberTag = 1), resolvedType = resolveFunctionForHotReloading(resolvedType); - else if ("string" === typeof type) fiberTag = getHostContext(), fiberTag = isHostHoistableType(type, pendingProps, fiberTag) ? 26 : "html" === type || "head" === type || "body" === type ? 27 : 5; - else a: switch(type){ - case REACT_ACTIVITY_TYPE: - return key = createFiber(31, pendingProps, key, mode), key.elementType = REACT_ACTIVITY_TYPE, key.lanes = lanes, key; - case REACT_FRAGMENT_TYPE: - return createFiberFromFragment(pendingProps.children, mode, lanes, key); - case REACT_STRICT_MODE_TYPE: - fiberTag = 8; - mode |= StrictLegacyMode; - mode |= StrictEffectsMode; - break; - case REACT_PROFILER_TYPE: - return type = pendingProps, owner = mode, "string" !== typeof type.id && console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.', typeof type.id), key = createFiber(12, type, key, owner | ProfileMode), key.elementType = REACT_PROFILER_TYPE, key.lanes = lanes, key.stateNode = { - effectDuration: 0, - passiveEffectDuration: 0 - }, key; - case REACT_SUSPENSE_TYPE: - return key = createFiber(13, pendingProps, key, mode), key.elementType = REACT_SUSPENSE_TYPE, key.lanes = lanes, key; - case REACT_SUSPENSE_LIST_TYPE: - return key = createFiber(19, pendingProps, key, mode), key.elementType = REACT_SUSPENSE_LIST_TYPE, key.lanes = lanes, key; - case REACT_LEGACY_HIDDEN_TYPE: - case REACT_VIEW_TRANSITION_TYPE: - return type = mode | SuspenseyImagesMode, key = createFiber(30, pendingProps, key, type), key.elementType = REACT_VIEW_TRANSITION_TYPE, key.lanes = lanes, key.stateNode = { - autoName: null, - paired: null, - clones: null, - ref: null - }, key; - default: - if ("object" === typeof type && null !== type) switch(type.$$typeof){ - case REACT_CONTEXT_TYPE: - fiberTag = 10; - break a; - case REACT_CONSUMER_TYPE: - fiberTag = 9; - break a; - case REACT_FORWARD_REF_TYPE: - fiberTag = 11; - resolvedType = resolveForwardRefForHotReloading(resolvedType); - break a; - case REACT_MEMO_TYPE: - fiberTag = 14; - break a; - case REACT_LAZY_TYPE: - fiberTag = 16; - resolvedType = null; - break a; - } - pendingProps = ""; - if (void 0 === type || "object" === typeof type && null !== type && 0 === Object.keys(type).length) pendingProps += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."; - null === type ? resolvedType = "null" : isArrayImpl(type) ? resolvedType = "array" : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE ? (resolvedType = "<" + (getComponentNameFromType(type.type) || "Unknown") + " />", pendingProps = " Did you accidentally export a JSX literal instead of a component?") : resolvedType = typeof type; - (fiberTag = owner ? getComponentNameFromOwner(owner) : null) && (pendingProps += "\n\nCheck the render method of `" + fiberTag + "`."); - fiberTag = 29; - pendingProps = Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: " + (resolvedType + "." + pendingProps)); - resolvedType = null; - } - key = createFiber(fiberTag, pendingProps, key, mode); - key.elementType = type; - key.type = resolvedType; - key.lanes = lanes; - key._debugOwner = owner; - return key; - } - function createFiberFromElement(element, mode, lanes) { - mode = createFiberFromTypeAndProps(element.type, element.key, element.props, element._owner, mode, lanes); - mode._debugOwner = element._owner; - mode._debugStack = element._debugStack; - mode._debugTask = element._debugTask; - return mode; - } - function createFiberFromFragment(elements, mode, lanes, key) { - elements = createFiber(7, elements, key, mode); - elements.lanes = lanes; - return elements; - } - function createFiberFromText(content, mode, lanes) { - content = createFiber(6, content, null, mode); - content.lanes = lanes; - return content; - } - function createFiberFromDehydratedFragment(dehydratedNode) { - var fiber = createFiber(18, null, null, NoMode); - fiber.stateNode = dehydratedNode; - return fiber; - } - function createFiberFromPortal(portal, mode, lanes) { - mode = createFiber(4, null !== portal.children ? portal.children : [], portal.key, mode); - mode.lanes = lanes; - mode.stateNode = { - containerInfo: portal.containerInfo, - pendingChildren: null, - implementation: portal.implementation - }; - return mode; - } - function createCapturedValueAtFiber(value, source) { - if ("object" === typeof value && null !== value) { - var existing = CapturedStacks.get(value); - if (void 0 !== existing) return existing; - source = { - value: value, - source: source, - stack: getStackByFiberInDevAndProd(source) - }; - CapturedStacks.set(value, source); - return source; - } - return { - value: value, - source: source, - stack: getStackByFiberInDevAndProd(source) - }; - } - function pushTreeFork(workInProgress, totalChildren) { - warnIfNotHydrating(); - forkStack[forkStackIndex++] = treeForkCount; - forkStack[forkStackIndex++] = treeForkProvider; - treeForkProvider = workInProgress; - treeForkCount = totalChildren; - } - function pushTreeId(workInProgress, totalChildren, index) { - warnIfNotHydrating(); - idStack[idStackIndex++] = treeContextId; - idStack[idStackIndex++] = treeContextOverflow; - idStack[idStackIndex++] = treeContextProvider; - treeContextProvider = workInProgress; - var baseIdWithLeadingBit = treeContextId; - workInProgress = treeContextOverflow; - var baseLength = 32 - clz32(baseIdWithLeadingBit) - 1; - baseIdWithLeadingBit &= ~(1 << baseLength); - index += 1; - var length = 32 - clz32(totalChildren) + baseLength; - if (30 < length) { - var numberOfOverflowBits = baseLength - baseLength % 5; - length = (baseIdWithLeadingBit & (1 << numberOfOverflowBits) - 1).toString(32); - baseIdWithLeadingBit >>= numberOfOverflowBits; - baseLength -= numberOfOverflowBits; - treeContextId = 1 << 32 - clz32(totalChildren) + baseLength | index << baseLength | baseIdWithLeadingBit; - treeContextOverflow = length + workInProgress; - } else treeContextId = 1 << length | index << baseLength | baseIdWithLeadingBit, treeContextOverflow = workInProgress; - } - function pushMaterializedTreeId(workInProgress) { - warnIfNotHydrating(); - null !== workInProgress.return && (pushTreeFork(workInProgress, 1), pushTreeId(workInProgress, 1, 0)); - } - function popTreeContext(workInProgress) { - for(; workInProgress === treeForkProvider;)treeForkProvider = forkStack[--forkStackIndex], forkStack[forkStackIndex] = null, treeForkCount = forkStack[--forkStackIndex], forkStack[forkStackIndex] = null; - for(; workInProgress === treeContextProvider;)treeContextProvider = idStack[--idStackIndex], idStack[idStackIndex] = null, treeContextOverflow = idStack[--idStackIndex], idStack[idStackIndex] = null, treeContextId = idStack[--idStackIndex], idStack[idStackIndex] = null; - } - function getSuspendedTreeContext() { - warnIfNotHydrating(); - return null !== treeContextProvider ? { - id: treeContextId, - overflow: treeContextOverflow - } : null; - } - function restoreSuspendedTreeContext(workInProgress, suspendedContext) { - warnIfNotHydrating(); - idStack[idStackIndex++] = treeContextId; - idStack[idStackIndex++] = treeContextOverflow; - idStack[idStackIndex++] = treeContextProvider; - treeContextId = suspendedContext.id; - treeContextOverflow = suspendedContext.overflow; - treeContextProvider = workInProgress; - } - function warnIfNotHydrating() { - isHydrating || console.error("Expected to be hydrating. This is a bug in React. Please file an issue."); - } - function buildHydrationDiffNode(fiber, distanceFromLeaf) { - if (null === fiber.return) { - if (null === hydrationDiffRootDEV) hydrationDiffRootDEV = { - fiber: fiber, - children: [], - serverProps: void 0, - serverTail: [], - distanceFromLeaf: distanceFromLeaf - }; - else { - if (hydrationDiffRootDEV.fiber !== fiber) throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React."); - hydrationDiffRootDEV.distanceFromLeaf > distanceFromLeaf && (hydrationDiffRootDEV.distanceFromLeaf = distanceFromLeaf); - } - return hydrationDiffRootDEV; - } - var siblings = buildHydrationDiffNode(fiber.return, distanceFromLeaf + 1).children; - if (0 < siblings.length && siblings[siblings.length - 1].fiber === fiber) return siblings = siblings[siblings.length - 1], siblings.distanceFromLeaf > distanceFromLeaf && (siblings.distanceFromLeaf = distanceFromLeaf), siblings; - distanceFromLeaf = { - fiber: fiber, - children: [], - serverProps: void 0, - serverTail: [], - distanceFromLeaf: distanceFromLeaf - }; - siblings.push(distanceFromLeaf); - return distanceFromLeaf; - } - function warnIfHydrating() { - isHydrating && console.error("We should not be hydrating here. This is a bug in React. Please file a bug."); - } - function warnNonHydratedInstance(fiber, rejectedCandidate) { - didSuspendOrErrorDEV || (fiber = buildHydrationDiffNode(fiber, 0), fiber.serverProps = null, null !== rejectedCandidate && (rejectedCandidate = describeHydratableInstanceForDevWarnings(rejectedCandidate), fiber.serverTail.push(rejectedCandidate))); - } - function throwOnHydrationMismatch(fiber) { - var fromText = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : !1, diff = "", diffRoot = hydrationDiffRootDEV; - null !== diffRoot && (hydrationDiffRootDEV = null, diff = describeDiff(diffRoot)); - queueHydrationError(createCapturedValueAtFiber(Error("Hydration failed because the server rendered " + (fromText ? "text" : "HTML") + " didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:\n\n- A server/client branch `if (typeof window !== 'undefined')`.\n- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.\n- Date formatting in a user's locale which doesn't match the server.\n- External changing data without sending a snapshot of it along with the HTML.\n- Invalid HTML tag nesting.\n\nIt can also happen if the client has a browser extension installed which messes with the HTML before React loaded.\n\nhttps://react.dev/link/hydration-mismatch" + diff), fiber)); - throw HydrationMismatchException; - } - function prepareToHydrateHostInstance(fiber) { - var didHydrate = fiber.stateNode; - var type = fiber.type, props = fiber.memoizedProps; - didHydrate[internalInstanceKey] = fiber; - didHydrate[internalPropsKey] = props; - validatePropertiesInDevelopment(type, props); - switch(type){ - case "dialog": - listenToNonDelegatedEvent("cancel", didHydrate); - listenToNonDelegatedEvent("close", didHydrate); - break; - case "iframe": - case "object": - case "embed": - listenToNonDelegatedEvent("load", didHydrate); - break; - case "video": - case "audio": - for(type = 0; type < mediaEventTypes.length; type++)listenToNonDelegatedEvent(mediaEventTypes[type], didHydrate); - break; - case "source": - listenToNonDelegatedEvent("error", didHydrate); - break; - case "img": - case "image": - case "link": - listenToNonDelegatedEvent("error", didHydrate); - listenToNonDelegatedEvent("load", didHydrate); - break; - case "details": - listenToNonDelegatedEvent("toggle", didHydrate); - break; - case "input": - checkControlledValueProps("input", props); - listenToNonDelegatedEvent("invalid", didHydrate); - validateInputProps(didHydrate, props); - initInput(didHydrate, props.value, props.defaultValue, props.checked, props.defaultChecked, props.type, props.name, !0); - break; - case "option": - validateOptionProps(didHydrate, props); - break; - case "select": - checkControlledValueProps("select", props); - listenToNonDelegatedEvent("invalid", didHydrate); - validateSelectProps(didHydrate, props); - break; - case "textarea": - checkControlledValueProps("textarea", props), listenToNonDelegatedEvent("invalid", didHydrate), validateTextareaProps(didHydrate, props), initTextarea(didHydrate, props.value, props.defaultValue, props.children); - } - type = props.children; - "string" !== typeof type && "number" !== typeof type && "bigint" !== typeof type || didHydrate.textContent === "" + type || !0 === props.suppressHydrationWarning || checkForUnmatchedText(didHydrate.textContent, type) ? (null != props.popover && (listenToNonDelegatedEvent("beforetoggle", didHydrate), listenToNonDelegatedEvent("toggle", didHydrate)), null != props.onScroll && listenToNonDelegatedEvent("scroll", didHydrate), null != props.onScrollEnd && listenToNonDelegatedEvent("scrollend", didHydrate), null != props.onClick && (didHydrate.onclick = noop$1), didHydrate = !0) : didHydrate = !1; - didHydrate || throwOnHydrationMismatch(fiber, !0); - } - function popToNextHostParent(fiber) { - for(hydrationParentFiber = fiber.return; hydrationParentFiber;)switch(hydrationParentFiber.tag){ - case 5: - case 31: - case 13: - rootOrSingletonContext = !1; - return; - case 27: - case 3: - rootOrSingletonContext = !0; - return; - default: - hydrationParentFiber = hydrationParentFiber.return; - } - } - function popHydrationState(fiber) { - if (fiber !== hydrationParentFiber) return !1; - if (!isHydrating) return popToNextHostParent(fiber), isHydrating = !0, !1; - var tag = fiber.tag, JSCompiler_temp; - if (JSCompiler_temp = 3 !== tag && 27 !== tag) { - if (JSCompiler_temp = 5 === tag) JSCompiler_temp = fiber.type, JSCompiler_temp = !("form" !== JSCompiler_temp && "button" !== JSCompiler_temp) || shouldSetTextContent(fiber.type, fiber.memoizedProps); - JSCompiler_temp = !JSCompiler_temp; - } - if (JSCompiler_temp && nextHydratableInstance) { - for(JSCompiler_temp = nextHydratableInstance; JSCompiler_temp;){ - var diffNode = buildHydrationDiffNode(fiber, 0), description = describeHydratableInstanceForDevWarnings(JSCompiler_temp); - diffNode.serverTail.push(description); - JSCompiler_temp = "Suspense" === description.type ? getNextHydratableInstanceAfterHydrationBoundary(JSCompiler_temp) : getNextHydratable(JSCompiler_temp.nextSibling); - } - throwOnHydrationMismatch(fiber); - } - popToNextHostParent(fiber); - if (13 === tag) { - fiber = fiber.memoizedState; - fiber = null !== fiber ? fiber.dehydrated : null; - if (!fiber) throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue."); - nextHydratableInstance = getNextHydratableInstanceAfterHydrationBoundary(fiber); - } else if (31 === tag) { - fiber = fiber.memoizedState; - fiber = null !== fiber ? fiber.dehydrated : null; - if (!fiber) throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue."); - nextHydratableInstance = getNextHydratableInstanceAfterHydrationBoundary(fiber); - } else 27 === tag ? (tag = nextHydratableInstance, isSingletonScope(fiber.type) ? (fiber = previousHydratableOnEnteringScopedSingleton, previousHydratableOnEnteringScopedSingleton = null, nextHydratableInstance = fiber) : nextHydratableInstance = tag) : nextHydratableInstance = hydrationParentFiber ? getNextHydratable(fiber.stateNode.nextSibling) : null; - return !0; - } - function resetHydrationState() { - nextHydratableInstance = hydrationParentFiber = null; - didSuspendOrErrorDEV = isHydrating = !1; - } - function upgradeHydrationErrorsToRecoverable() { - var queuedErrors = hydrationErrors; - null !== queuedErrors && (null === workInProgressRootRecoverableErrors ? workInProgressRootRecoverableErrors = queuedErrors : workInProgressRootRecoverableErrors.push.apply(workInProgressRootRecoverableErrors, queuedErrors), hydrationErrors = null); - return queuedErrors; - } - function queueHydrationError(error) { - null === hydrationErrors ? hydrationErrors = [ - error - ] : hydrationErrors.push(error); - } - function emitPendingHydrationWarnings() { - var diffRoot = hydrationDiffRootDEV; - if (null !== diffRoot) { - hydrationDiffRootDEV = null; - for(var diff = describeDiff(diffRoot); 0 < diffRoot.children.length;)diffRoot = diffRoot.children[0]; - runWithFiberInDEV(diffRoot.fiber, function() { - console.error("A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:\n\n- A server/client branch `if (typeof window !== 'undefined')`.\n- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.\n- Date formatting in a user's locale which doesn't match the server.\n- External changing data without sending a snapshot of it along with the HTML.\n- Invalid HTML tag nesting.\n\nIt can also happen if the client has a browser extension installed which messes with the HTML before React loaded.\n\n%s%s", "https://react.dev/link/hydration-mismatch", diff); - }); - } - } - function resetContextDependencies() { - lastContextDependency = currentlyRenderingFiber$1 = null; - isDisallowedContextReadInDEV = !1; - } - function pushProvider(providerFiber, context, nextValue) { - push(valueCursor, context._currentValue, providerFiber); - context._currentValue = nextValue; - push(rendererCursorDEV, context._currentRenderer, providerFiber); - void 0 !== context._currentRenderer && null !== context._currentRenderer && context._currentRenderer !== rendererSigil && console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."); - context._currentRenderer = rendererSigil; - } - function popProvider(context, providerFiber) { - context._currentValue = valueCursor.current; - var currentRenderer = rendererCursorDEV.current; - pop(rendererCursorDEV, providerFiber); - context._currentRenderer = currentRenderer; - pop(valueCursor, providerFiber); - } - function scheduleContextWorkOnParentPath(parent, renderLanes, propagationRoot) { - for(; null !== parent;){ - var alternate = parent.alternate; - (parent.childLanes & renderLanes) !== renderLanes ? (parent.childLanes |= renderLanes, null !== alternate && (alternate.childLanes |= renderLanes)) : null !== alternate && (alternate.childLanes & renderLanes) !== renderLanes && (alternate.childLanes |= renderLanes); - if (parent === propagationRoot) break; - parent = parent.return; - } - parent !== propagationRoot && console.error("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue."); - } - function propagateContextChanges(workInProgress, contexts, renderLanes, forcePropagateEntireTree) { - var fiber = workInProgress.child; - null !== fiber && (fiber.return = workInProgress); - for(; null !== fiber;){ - var list = fiber.dependencies; - if (null !== list) { - var nextFiber = fiber.child; - list = list.firstContext; - a: for(; null !== list;){ - var dependency = list; - list = fiber; - for(var i = 0; i < contexts.length; i++)if (dependency.context === contexts[i]) { - list.lanes |= renderLanes; - dependency = list.alternate; - null !== dependency && (dependency.lanes |= renderLanes); - scheduleContextWorkOnParentPath(list.return, renderLanes, workInProgress); - forcePropagateEntireTree || (nextFiber = null); - break a; - } - list = dependency.next; - } - } else if (18 === fiber.tag) { - nextFiber = fiber.return; - if (null === nextFiber) throw Error("We just came from a parent so we must have had a parent. This is a bug in React."); - nextFiber.lanes |= renderLanes; - list = nextFiber.alternate; - null !== list && (list.lanes |= renderLanes); - scheduleContextWorkOnParentPath(nextFiber, renderLanes, workInProgress); - nextFiber = null; - } else nextFiber = fiber.child; - if (null !== nextFiber) nextFiber.return = fiber; - else for(nextFiber = fiber; null !== nextFiber;){ - if (nextFiber === workInProgress) { - nextFiber = null; - break; - } - fiber = nextFiber.sibling; - if (null !== fiber) { - fiber.return = nextFiber.return; - nextFiber = fiber; - break; - } - nextFiber = nextFiber.return; - } - fiber = nextFiber; - } - } - function propagateParentContextChanges(current, workInProgress, renderLanes, forcePropagateEntireTree) { - current = null; - for(var parent = workInProgress, isInsidePropagationBailout = !1; null !== parent;){ - if (!isInsidePropagationBailout) { - if (0 !== (parent.flags & 524288)) isInsidePropagationBailout = !0; - else if (0 !== (parent.flags & 262144)) break; - } - if (10 === parent.tag) { - var currentParent = parent.alternate; - if (null === currentParent) throw Error("Should have a current fiber. This is a bug in React."); - currentParent = currentParent.memoizedProps; - if (null !== currentParent) { - var context = parent.type; - objectIs(parent.pendingProps.value, currentParent.value) || (null !== current ? current.push(context) : current = [ - context - ]); - } - } else if (parent === hostTransitionProviderCursor.current) { - currentParent = parent.alternate; - if (null === currentParent) throw Error("Should have a current fiber. This is a bug in React."); - currentParent.memoizedState.memoizedState !== parent.memoizedState.memoizedState && (null !== current ? current.push(HostTransitionContext) : current = [ - HostTransitionContext - ]); - } - parent = parent.return; - } - null !== current && propagateContextChanges(workInProgress, current, renderLanes, forcePropagateEntireTree); - workInProgress.flags |= 262144; - } - function checkIfContextChanged(currentDependencies) { - for(currentDependencies = currentDependencies.firstContext; null !== currentDependencies;){ - if (!objectIs(currentDependencies.context._currentValue, currentDependencies.memoizedValue)) return !0; - currentDependencies = currentDependencies.next; - } - return !1; - } - function prepareToReadContext(workInProgress) { - currentlyRenderingFiber$1 = workInProgress; - lastContextDependency = null; - workInProgress = workInProgress.dependencies; - null !== workInProgress && (workInProgress.firstContext = null); - } - function readContext(context) { - isDisallowedContextReadInDEV && console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."); - return readContextForConsumer(currentlyRenderingFiber$1, context); - } - function readContextDuringReconciliation(consumer, context) { - null === currentlyRenderingFiber$1 && prepareToReadContext(consumer); - return readContextForConsumer(consumer, context); - } - function readContextForConsumer(consumer, context) { - var value = context._currentValue; - context = { - context: context, - memoizedValue: value, - next: null - }; - if (null === lastContextDependency) { - if (null === consumer) throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."); - lastContextDependency = context; - consumer.dependencies = { - lanes: 0, - firstContext: context, - _debugThenableState: null - }; - consumer.flags |= 524288; - } else lastContextDependency = lastContextDependency.next = context; - return value; - } - function createCache() { - return { - controller: new AbortControllerLocal(), - data: new Map(), - refCount: 0 - }; - } - function retainCache(cache) { - cache.controller.signal.aborted && console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."); - cache.refCount++; - } - function releaseCache(cache) { - cache.refCount--; - 0 > cache.refCount && console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."); - 0 === cache.refCount && scheduleCallback$2(NormalPriority, function() { - cache.controller.abort(); - }); - } - function queueTransitionTypes(root, transitionTypes) { - if (0 !== (root.pendingLanes & 4194048)) { - var queued = root.transitionTypes; - null === queued && (queued = root.transitionTypes = []); - for(root = 0; root < transitionTypes.length; root++){ - var transitionType = transitionTypes[root]; - -1 === queued.indexOf(transitionType) && queued.push(transitionType); - } - } - } - function claimQueuedTransitionTypes(root) { - var claimed = root.transitionTypes; - root.transitionTypes = null; - return claimed; - } - function startUpdateTimerByLane(lane, method, fiber) { - if (0 !== (lane & 127)) 0 > blockingUpdateTime && (blockingUpdateTime = now(), blockingUpdateTask = createTask(method), blockingUpdateMethodName = method, null != fiber && (blockingUpdateComponentName = getComponentNameFromFiber(fiber)), (executionContext & (RenderContext | CommitContext)) !== NoContext && (componentEffectSpawnedUpdate = !0, blockingUpdateType = SPAWNED_UPDATE), lane = resolveEventTimeStamp(), method = resolveEventType(), lane !== blockingEventRepeatTime || method !== blockingEventType ? blockingEventRepeatTime = -1.1 : null !== method && (blockingUpdateType = SPAWNED_UPDATE), blockingEventTime = lane, blockingEventType = method); - else if (0 !== (lane & 4194048) && 0 > transitionUpdateTime && (transitionUpdateTime = now(), transitionUpdateTask = createTask(method), transitionUpdateMethodName = method, null != fiber && (transitionUpdateComponentName = getComponentNameFromFiber(fiber)), 0 > transitionStartTime)) { - lane = resolveEventTimeStamp(); - method = resolveEventType(); - if (lane !== transitionEventRepeatTime || method !== transitionEventType) transitionEventRepeatTime = -1.1; - transitionEventTime = lane; - transitionEventType = method; - } - } - function startHostActionTimer(fiber) { - if (0 > blockingUpdateTime) { - blockingUpdateTime = now(); - blockingUpdateTask = null != fiber._debugTask ? fiber._debugTask : null; - (executionContext & (RenderContext | CommitContext)) !== NoContext && (blockingUpdateType = SPAWNED_UPDATE); - var newEventTime = resolveEventTimeStamp(), newEventType = resolveEventType(); - newEventTime !== blockingEventRepeatTime || newEventType !== blockingEventType ? blockingEventRepeatTime = -1.1 : null !== newEventType && (blockingUpdateType = SPAWNED_UPDATE); - blockingEventTime = newEventTime; - blockingEventType = newEventType; - } - if (0 > transitionUpdateTime && (transitionUpdateTime = now(), transitionUpdateTask = null != fiber._debugTask ? fiber._debugTask : null, 0 > transitionStartTime)) { - fiber = resolveEventTimeStamp(); - newEventTime = resolveEventType(); - if (fiber !== transitionEventRepeatTime || newEventTime !== transitionEventType) transitionEventRepeatTime = -1.1; - transitionEventTime = fiber; - transitionEventType = newEventTime; - } - } - function pushNestedEffectDurations() { - var prevEffectDuration = profilerEffectDuration; - profilerEffectDuration = 0; - return prevEffectDuration; - } - function popNestedEffectDurations(prevEffectDuration) { - var elapsedTime = profilerEffectDuration; - profilerEffectDuration = prevEffectDuration; - return elapsedTime; - } - function bubbleNestedEffectDurations(prevEffectDuration) { - var elapsedTime = profilerEffectDuration; - profilerEffectDuration += prevEffectDuration; - return elapsedTime; - } - function resetComponentEffectTimers() { - componentEffectEndTime = componentEffectStartTime = -1.1; - } - function pushComponentEffectStart() { - var prevEffectStart = componentEffectStartTime; - componentEffectStartTime = -1.1; - return prevEffectStart; - } - function popComponentEffectStart(prevEffectStart) { - 0 <= prevEffectStart && (componentEffectStartTime = prevEffectStart); - } - function pushComponentEffectDuration() { - var prevEffectDuration = componentEffectDuration; - componentEffectDuration = -0; - return prevEffectDuration; - } - function popComponentEffectDuration(prevEffectDuration) { - 0 <= prevEffectDuration && (componentEffectDuration = prevEffectDuration); - } - function pushComponentEffectErrors() { - var prevErrors = componentEffectErrors; - componentEffectErrors = null; - return prevErrors; - } - function pushComponentEffectDidSpawnUpdate() { - var prev = componentEffectSpawnedUpdate; - componentEffectSpawnedUpdate = !1; - return prev; - } - function startProfilerTimer(fiber) { - profilerStartTime = now(); - 0 > fiber.actualStartTime && (fiber.actualStartTime = profilerStartTime); - } - function stopProfilerTimerIfRunningAndRecordDuration(fiber) { - if (0 <= profilerStartTime) { - var elapsedTime = now() - profilerStartTime; - fiber.actualDuration += elapsedTime; - fiber.selfBaseDuration = elapsedTime; - profilerStartTime = -1; - } - } - function stopProfilerTimerIfRunningAndRecordIncompleteDuration(fiber) { - if (0 <= profilerStartTime) { - var elapsedTime = now() - profilerStartTime; - fiber.actualDuration += elapsedTime; - profilerStartTime = -1; - } - } - function recordEffectDuration() { - if (0 <= profilerStartTime) { - var endTime = now(), elapsedTime = endTime - profilerStartTime; - profilerStartTime = -1; - profilerEffectDuration += elapsedTime; - componentEffectDuration += elapsedTime; - componentEffectEndTime = endTime; - } - } - function recordEffectError(errorInfo) { - null === componentEffectErrors && (componentEffectErrors = []); - componentEffectErrors.push(errorInfo); - null === commitErrors && (commitErrors = []); - commitErrors.push(errorInfo); - } - function startEffectTimer() { - profilerStartTime = now(); - 0 > componentEffectStartTime && (componentEffectStartTime = profilerStartTime); - } - function transferActualDuration(fiber) { - for(var child = fiber.child; child;)fiber.actualDuration += child.actualDuration, child = child.sibling; - } - function entangleAsyncAction(transition, thenable) { - if (null === currentEntangledListeners) { - var entangledListeners = currentEntangledListeners = []; - currentEntangledPendingCount = 0; - currentEntangledLane = requestTransitionLane(); - currentEntangledActionThenable = { - status: "pending", - value: void 0, - then: function(resolve) { - entangledListeners.push(resolve); - } - }; - } - currentEntangledPendingCount++; - thenable.then(pingEngtangledActionScope, pingEngtangledActionScope); - return thenable; - } - function pingEngtangledActionScope() { - if (0 === --currentEntangledPendingCount && (-1 < transitionUpdateTime || (transitionStartTime = -1.1), entangledTransitionTypes = null, null !== currentEntangledListeners)) { - null !== currentEntangledActionThenable && (currentEntangledActionThenable.status = "fulfilled"); - var listeners = currentEntangledListeners; - currentEntangledListeners = null; - currentEntangledLane = 0; - currentEntangledActionThenable = null; - for(var i = 0; i < listeners.length; i++)(0, listeners[i])(); - } - } - function chainThenableValue(thenable, result) { - var listeners = [], thenableWithOverride = { - status: "pending", - value: null, - reason: null, - then: function(resolve) { - listeners.push(resolve); - } - }; - thenable.then(function() { - thenableWithOverride.status = "fulfilled"; - thenableWithOverride.value = result; - for(var i = 0; i < listeners.length; i++)(0, listeners[i])(result); - }, function(error) { - thenableWithOverride.status = "rejected"; - thenableWithOverride.reason = error; - for(error = 0; error < listeners.length; error++)(0, listeners[error])(void 0); - }); - return thenableWithOverride; - } - function peekCacheFromPool() { - var cacheResumedFromPreviousRender = resumedCache.current; - return null !== cacheResumedFromPreviousRender ? cacheResumedFromPreviousRender : workInProgressRoot.pooledCache; - } - function pushTransition(offscreenWorkInProgress, prevCachePool) { - null === prevCachePool ? push(resumedCache, resumedCache.current, offscreenWorkInProgress) : push(resumedCache, prevCachePool.pool, offscreenWorkInProgress); - } - function getSuspendedCache() { - var cacheFromPool = peekCacheFromPool(); - return null === cacheFromPool ? null : { - parent: CacheContext._currentValue, - pool: cacheFromPool - }; - } - function createThenableState() { - return { - didWarnAboutUncachedPromise: !1, - thenables: [] - }; - } - function isThenableResolved(thenable) { - thenable = thenable.status; - return "fulfilled" === thenable || "rejected" === thenable; - } - function trackUsedThenable(thenableState, thenable, index) { - null !== ReactSharedInternals.actQueue && (ReactSharedInternals.didUsePromise = !0); - var trackedThenables = thenableState.thenables; - index = trackedThenables[index]; - void 0 === index ? trackedThenables.push(thenable) : index !== thenable && (thenableState.didWarnAboutUncachedPromise || (thenableState.didWarnAboutUncachedPromise = !0, console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")), thenable.then(noop$1, noop$1), thenable = index); - if (void 0 === thenable._debugInfo) { - thenableState = performance.now(); - trackedThenables = thenable.displayName; - var ioInfo = { - name: "string" === typeof trackedThenables ? trackedThenables : "Promise", - start: thenableState, - end: thenableState, - value: thenable - }; - thenable._debugInfo = [ - { - awaited: ioInfo - } - ]; - "fulfilled" !== thenable.status && "rejected" !== thenable.status && (thenableState = function() { - ioInfo.end = performance.now(); - }, thenable.then(thenableState, thenableState)); - } - switch(thenable.status){ - case "fulfilled": - return thenable.value; - case "rejected": - throw thenableState = thenable.reason, checkIfUseWrappedInAsyncCatch(thenableState), thenableState; - default: - if ("string" === typeof thenable.status) thenable.then(noop$1, noop$1); - else { - thenableState = workInProgressRoot; - if (null !== thenableState && 100 < thenableState.shellSuspendCounter) throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server."); - thenableState = thenable; - thenableState.status = "pending"; - thenableState.then(function(fulfilledValue) { - if ("pending" === thenable.status) { - var fulfilledThenable = thenable; - fulfilledThenable.status = "fulfilled"; - fulfilledThenable.value = fulfilledValue; - } - }, function(error) { - if ("pending" === thenable.status) { - var rejectedThenable = thenable; - rejectedThenable.status = "rejected"; - rejectedThenable.reason = error; - } - }); - } - switch(thenable.status){ - case "fulfilled": - return thenable.value; - case "rejected": - throw thenableState = thenable.reason, checkIfUseWrappedInAsyncCatch(thenableState), thenableState; - } - suspendedThenable = thenable; - needsToResetSuspendedThenableDEV = !0; - throw SuspenseException; - } - } - function resolveLazy(lazyType) { - try { - return callLazyInitInDEV(lazyType); - } catch (x) { - if (null !== x && "object" === typeof x && "function" === typeof x.then) throw suspendedThenable = x, needsToResetSuspendedThenableDEV = !0, SuspenseException; - throw x; - } - } - function getSuspendedThenable() { - if (null === suspendedThenable) throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue."); - var thenable = suspendedThenable; - suspendedThenable = null; - needsToResetSuspendedThenableDEV = !1; - return thenable; - } - function checkIfUseWrappedInAsyncCatch(rejectedReason) { - if (rejectedReason === SuspenseException || rejectedReason === SuspenseActionException) throw Error("Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server."); - } - function pushDebugInfo(debugInfo) { - var previousDebugInfo = currentDebugInfo; - null != debugInfo && (currentDebugInfo = null === previousDebugInfo ? debugInfo : previousDebugInfo.concat(debugInfo)); - return previousDebugInfo; - } - function getCurrentDebugTask() { - var debugInfo = currentDebugInfo; - if (null != debugInfo) { - for(var i = debugInfo.length - 1; 0 <= i; i--)if (null != debugInfo[i].name) { - var debugTask = debugInfo[i].debugTask; - if (null != debugTask) return debugTask; - } - } - return null; - } - function validateFragmentProps(element, fiber, returnFiber) { - for(var keys = Object.keys(element.props), i = 0; i < keys.length; i++){ - var key = keys[i]; - if ("children" !== key && "key" !== key && "ref" !== key) { - null === fiber && (fiber = createFiberFromElement(element, returnFiber.mode, 0), fiber._debugInfo = currentDebugInfo, fiber.return = returnFiber); - runWithFiberInDEV(fiber, function(erroredKey) { - console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key`, `ref`, and `children` props.", erroredKey); - }, key); - break; - } - } - } - function unwrapThenable(thenable) { - var index = thenableIndexCounter$1; - thenableIndexCounter$1 += 1; - null === thenableState$1 && (thenableState$1 = createThenableState()); - return trackUsedThenable(thenableState$1, thenable, index); - } - function coerceRef(workInProgress, element) { - element = element.props.ref; - workInProgress.ref = void 0 !== element ? element : null; - } - function throwOnInvalidObjectTypeImpl(returnFiber, newChild) { - if (newChild.$$typeof === REACT_LEGACY_ELEMENT_TYPE) throw Error('A React Element from an older version of React was rendered. This is not supported. It can happen if:\n- Multiple copies of the "react" package is used.\n- A library pre-bundled an old copy of "react" or "react/jsx-runtime".\n- A compiler tries to "inline" JSX instead of using the runtime.'); - returnFiber = Object.prototype.toString.call(newChild); - throw Error("Objects are not valid as a React child (found: " + ("[object Object]" === returnFiber ? "object with keys {" + Object.keys(newChild).join(", ") + "}" : returnFiber) + "). If you meant to render a collection of children, use an array instead."); - } - function throwOnInvalidObjectType(returnFiber, newChild) { - var debugTask = getCurrentDebugTask(); - null !== debugTask ? debugTask.run(throwOnInvalidObjectTypeImpl.bind(null, returnFiber, newChild)) : throwOnInvalidObjectTypeImpl(returnFiber, newChild); - } - function warnOnFunctionTypeImpl(returnFiber, invalidChild) { - var parentName = getComponentNameFromFiber(returnFiber) || "Component"; - ownerHasFunctionTypeWarning[parentName] || (ownerHasFunctionTypeWarning[parentName] = !0, invalidChild = invalidChild.displayName || invalidChild.name || "Component", 3 === returnFiber.tag ? console.error("Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.\n root.render(%s)", invalidChild, invalidChild, invalidChild) : console.error("Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.\n <%s>{%s}</%s>", invalidChild, invalidChild, parentName, invalidChild, parentName)); - } - function warnOnFunctionType(returnFiber, invalidChild) { - var debugTask = getCurrentDebugTask(); - null !== debugTask ? debugTask.run(warnOnFunctionTypeImpl.bind(null, returnFiber, invalidChild)) : warnOnFunctionTypeImpl(returnFiber, invalidChild); - } - function warnOnSymbolTypeImpl(returnFiber, invalidChild) { - var parentName = getComponentNameFromFiber(returnFiber) || "Component"; - ownerHasSymbolTypeWarning[parentName] || (ownerHasSymbolTypeWarning[parentName] = !0, invalidChild = String(invalidChild), 3 === returnFiber.tag ? console.error("Symbols are not valid as a React child.\n root.render(%s)", invalidChild) : console.error("Symbols are not valid as a React child.\n <%s>%s</%s>", parentName, invalidChild, parentName)); - } - function warnOnSymbolType(returnFiber, invalidChild) { - var debugTask = getCurrentDebugTask(); - null !== debugTask ? debugTask.run(warnOnSymbolTypeImpl.bind(null, returnFiber, invalidChild)) : warnOnSymbolTypeImpl(returnFiber, invalidChild); - } - function createChildReconciler(shouldTrackSideEffects) { - function deleteChild(returnFiber, childToDelete) { - if (shouldTrackSideEffects) { - var deletions = returnFiber.deletions; - null === deletions ? (returnFiber.deletions = [ - childToDelete - ], returnFiber.flags |= 16) : deletions.push(childToDelete); - } - } - function deleteRemainingChildren(returnFiber, currentFirstChild) { - if (!shouldTrackSideEffects) return null; - for(; null !== currentFirstChild;)deleteChild(returnFiber, currentFirstChild), currentFirstChild = currentFirstChild.sibling; - return null; - } - function mapRemainingChildren(currentFirstChild) { - for(var existingChildren = new Map(); null !== currentFirstChild;)null === currentFirstChild.key ? existingChildren.set(currentFirstChild.index, currentFirstChild) : existingChildren.set(currentFirstChild.key, currentFirstChild), currentFirstChild = currentFirstChild.sibling; - return existingChildren; - } - function useFiber(fiber, pendingProps) { - fiber = createWorkInProgress(fiber, pendingProps); - fiber.index = 0; - fiber.sibling = null; - return fiber; - } - function placeChild(newFiber, lastPlacedIndex, newIndex) { - newFiber.index = newIndex; - if (!shouldTrackSideEffects) return newFiber.flags |= 1048576, lastPlacedIndex; - newIndex = newFiber.alternate; - if (null !== newIndex) return newIndex = newIndex.index, newIndex < lastPlacedIndex ? (newFiber.flags |= 134217730, lastPlacedIndex) : newIndex; - newFiber.flags |= 134217730; - return lastPlacedIndex; - } - function placeSingleChild(newFiber) { - shouldTrackSideEffects && null === newFiber.alternate && (newFiber.flags |= 134217730); - return newFiber; - } - function updateTextNode(returnFiber, current, textContent, lanes) { - if (null === current || 6 !== current.tag) return current = createFiberFromText(textContent, returnFiber.mode, lanes), current.return = returnFiber, current._debugOwner = returnFiber, current._debugTask = returnFiber._debugTask, current._debugInfo = currentDebugInfo, current; - current = useFiber(current, textContent); - current.return = returnFiber; - current._debugInfo = currentDebugInfo; - return current; - } - function updateElement(returnFiber, current, element, lanes) { - var elementType = element.type; - if (elementType === REACT_FRAGMENT_TYPE) return current = updateFragment(returnFiber, current, element.props.children, lanes, element.key), coerceRef(current, element), validateFragmentProps(element, current, returnFiber), current; - if (null !== current && (current.elementType === elementType || isCompatibleFamilyForHotReloading(current, element) || "object" === typeof elementType && null !== elementType && elementType.$$typeof === REACT_LAZY_TYPE && resolveLazy(elementType) === current.type)) return current = useFiber(current, element.props), coerceRef(current, element), current.return = returnFiber, current._debugOwner = element._owner, current._debugInfo = currentDebugInfo, current; - current = createFiberFromElement(element, returnFiber.mode, lanes); - coerceRef(current, element); - current.return = returnFiber; - current._debugInfo = currentDebugInfo; - return current; - } - function updatePortal(returnFiber, current, portal, lanes) { - if (null === current || 4 !== current.tag || current.stateNode.containerInfo !== portal.containerInfo || current.stateNode.implementation !== portal.implementation) return current = createFiberFromPortal(portal, returnFiber.mode, lanes), current.return = returnFiber, current._debugInfo = currentDebugInfo, current; - current = useFiber(current, portal.children || []); - current.return = returnFiber; - current._debugInfo = currentDebugInfo; - return current; - } - function updateFragment(returnFiber, current, fragment, lanes, key) { - if (null === current || 7 !== current.tag) return current = createFiberFromFragment(fragment, returnFiber.mode, lanes, key), current.return = returnFiber, current._debugOwner = returnFiber, current._debugTask = returnFiber._debugTask, current._debugInfo = currentDebugInfo, current; - current = useFiber(current, fragment); - current.return = returnFiber; - current._debugInfo = currentDebugInfo; - return current; - } - function createChild(returnFiber, newChild, lanes) { - if ("string" === typeof newChild && "" !== newChild || "number" === typeof newChild || "bigint" === typeof newChild) return newChild = createFiberFromText("" + newChild, returnFiber.mode, lanes), newChild.return = returnFiber, newChild._debugOwner = returnFiber, newChild._debugTask = returnFiber._debugTask, newChild._debugInfo = currentDebugInfo, newChild; - if ("object" === typeof newChild && null !== newChild) { - switch(newChild.$$typeof){ - case REACT_ELEMENT_TYPE: - return lanes = createFiberFromElement(newChild, returnFiber.mode, lanes), coerceRef(lanes, newChild), lanes.return = returnFiber, returnFiber = pushDebugInfo(newChild._debugInfo), lanes._debugInfo = currentDebugInfo, currentDebugInfo = returnFiber, lanes; - case REACT_PORTAL_TYPE: - return newChild = createFiberFromPortal(newChild, returnFiber.mode, lanes), newChild.return = returnFiber, newChild._debugInfo = currentDebugInfo, newChild; - case REACT_LAZY_TYPE: - var _prevDebugInfo = pushDebugInfo(newChild._debugInfo); - newChild = resolveLazy(newChild); - returnFiber = createChild(returnFiber, newChild, lanes); - currentDebugInfo = _prevDebugInfo; - return returnFiber; - } - if (isArrayImpl(newChild) || getIteratorFn(newChild)) return lanes = createFiberFromFragment(newChild, returnFiber.mode, lanes, null), lanes.return = returnFiber, lanes._debugOwner = returnFiber, lanes._debugTask = returnFiber._debugTask, returnFiber = pushDebugInfo(newChild._debugInfo), lanes._debugInfo = currentDebugInfo, currentDebugInfo = returnFiber, lanes; - if ("function" === typeof newChild.then) return _prevDebugInfo = pushDebugInfo(newChild._debugInfo), returnFiber = createChild(returnFiber, unwrapThenable(newChild), lanes), currentDebugInfo = _prevDebugInfo, returnFiber; - if (newChild.$$typeof === REACT_CONTEXT_TYPE) return createChild(returnFiber, readContextDuringReconciliation(returnFiber, newChild), lanes); - throwOnInvalidObjectType(returnFiber, newChild); - } - "function" === typeof newChild && warnOnFunctionType(returnFiber, newChild); - "symbol" === typeof newChild && warnOnSymbolType(returnFiber, newChild); - return null; - } - function updateSlot(returnFiber, oldFiber, newChild, lanes) { - var key = null !== oldFiber ? oldFiber.key : null; - if ("string" === typeof newChild && "" !== newChild || "number" === typeof newChild || "bigint" === typeof newChild) return null !== key ? null : updateTextNode(returnFiber, oldFiber, "" + newChild, lanes); - if ("object" === typeof newChild && null !== newChild) { - switch(newChild.$$typeof){ - case REACT_ELEMENT_TYPE: - return newChild.key === key ? (key = pushDebugInfo(newChild._debugInfo), returnFiber = updateElement(returnFiber, oldFiber, newChild, lanes), currentDebugInfo = key, returnFiber) : null; - case REACT_PORTAL_TYPE: - return newChild.key === key ? updatePortal(returnFiber, oldFiber, newChild, lanes) : null; - case REACT_LAZY_TYPE: - return key = pushDebugInfo(newChild._debugInfo), newChild = resolveLazy(newChild), returnFiber = updateSlot(returnFiber, oldFiber, newChild, lanes), currentDebugInfo = key, returnFiber; - } - if (isArrayImpl(newChild) || getIteratorFn(newChild)) { - if (null !== key) return null; - key = pushDebugInfo(newChild._debugInfo); - returnFiber = updateFragment(returnFiber, oldFiber, newChild, lanes, null); - currentDebugInfo = key; - return returnFiber; - } - if ("function" === typeof newChild.then) return key = pushDebugInfo(newChild._debugInfo), returnFiber = updateSlot(returnFiber, oldFiber, unwrapThenable(newChild), lanes), currentDebugInfo = key, returnFiber; - if (newChild.$$typeof === REACT_CONTEXT_TYPE) return updateSlot(returnFiber, oldFiber, readContextDuringReconciliation(returnFiber, newChild), lanes); - throwOnInvalidObjectType(returnFiber, newChild); - } - "function" === typeof newChild && warnOnFunctionType(returnFiber, newChild); - "symbol" === typeof newChild && warnOnSymbolType(returnFiber, newChild); - return null; - } - function updateFromMap(existingChildren, returnFiber, newIdx, newChild, lanes) { - if ("string" === typeof newChild && "" !== newChild || "number" === typeof newChild || "bigint" === typeof newChild) return existingChildren = existingChildren.get(newIdx) || null, updateTextNode(returnFiber, existingChildren, "" + newChild, lanes); - if ("object" === typeof newChild && null !== newChild) { - switch(newChild.$$typeof){ - case REACT_ELEMENT_TYPE: - return newIdx = existingChildren.get(null === newChild.key ? newIdx : newChild.key) || null, existingChildren = pushDebugInfo(newChild._debugInfo), returnFiber = updateElement(returnFiber, newIdx, newChild, lanes), currentDebugInfo = existingChildren, returnFiber; - case REACT_PORTAL_TYPE: - return existingChildren = existingChildren.get(null === newChild.key ? newIdx : newChild.key) || null, updatePortal(returnFiber, existingChildren, newChild, lanes); - case REACT_LAZY_TYPE: - var _prevDebugInfo7 = pushDebugInfo(newChild._debugInfo); - newChild = resolveLazy(newChild); - returnFiber = updateFromMap(existingChildren, returnFiber, newIdx, newChild, lanes); - currentDebugInfo = _prevDebugInfo7; - return returnFiber; - } - if (isArrayImpl(newChild) || getIteratorFn(newChild)) return newIdx = existingChildren.get(newIdx) || null, existingChildren = pushDebugInfo(newChild._debugInfo), returnFiber = updateFragment(returnFiber, newIdx, newChild, lanes, null), currentDebugInfo = existingChildren, returnFiber; - if ("function" === typeof newChild.then) return _prevDebugInfo7 = pushDebugInfo(newChild._debugInfo), returnFiber = updateFromMap(existingChildren, returnFiber, newIdx, unwrapThenable(newChild), lanes), currentDebugInfo = _prevDebugInfo7, returnFiber; - if (newChild.$$typeof === REACT_CONTEXT_TYPE) return updateFromMap(existingChildren, returnFiber, newIdx, readContextDuringReconciliation(returnFiber, newChild), lanes); - throwOnInvalidObjectType(returnFiber, newChild); - } - "function" === typeof newChild && warnOnFunctionType(returnFiber, newChild); - "symbol" === typeof newChild && warnOnSymbolType(returnFiber, newChild); - return null; - } - function warnOnInvalidKey(returnFiber, workInProgress, child, knownKeys) { - if ("object" !== typeof child || null === child) return knownKeys; - switch(child.$$typeof){ - case REACT_ELEMENT_TYPE: - case REACT_PORTAL_TYPE: - warnForMissingKey(returnFiber, workInProgress, child); - var key = child.key; - if ("string" !== typeof key) break; - if (null === knownKeys) { - knownKeys = new Set(); - knownKeys.add(key); - break; - } - if (!knownKeys.has(key)) { - knownKeys.add(key); - break; - } - runWithFiberInDEV(workInProgress, function() { - console.error("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted \u2014 the behavior is unsupported and could change in a future version.", key); - }); - break; - case REACT_LAZY_TYPE: - child = resolveLazy(child), warnOnInvalidKey(returnFiber, workInProgress, child, knownKeys); - } - return knownKeys; - } - function reconcileChildrenArray(returnFiber, currentFirstChild, newChildren, lanes) { - for(var knownKeys = null, resultingFirstChild = null, previousNewFiber = null, oldFiber = currentFirstChild, newIdx = currentFirstChild = 0, nextOldFiber = null; null !== oldFiber && newIdx < newChildren.length; newIdx++){ - oldFiber.index > newIdx ? (nextOldFiber = oldFiber, oldFiber = null) : nextOldFiber = oldFiber.sibling; - var newFiber = updateSlot(returnFiber, oldFiber, newChildren[newIdx], lanes); - if (null === newFiber) { - null === oldFiber && (oldFiber = nextOldFiber); - break; - } - knownKeys = warnOnInvalidKey(returnFiber, newFiber, newChildren[newIdx], knownKeys); - shouldTrackSideEffects && oldFiber && null === newFiber.alternate && deleteChild(returnFiber, oldFiber); - currentFirstChild = placeChild(newFiber, currentFirstChild, newIdx); - null === previousNewFiber ? resultingFirstChild = newFiber : previousNewFiber.sibling = newFiber; - previousNewFiber = newFiber; - oldFiber = nextOldFiber; - } - if (newIdx === newChildren.length) return deleteRemainingChildren(returnFiber, oldFiber), isHydrating && pushTreeFork(returnFiber, newIdx), resultingFirstChild; - if (null === oldFiber) { - for(; newIdx < newChildren.length; newIdx++)oldFiber = createChild(returnFiber, newChildren[newIdx], lanes), null !== oldFiber && (knownKeys = warnOnInvalidKey(returnFiber, oldFiber, newChildren[newIdx], knownKeys), currentFirstChild = placeChild(oldFiber, currentFirstChild, newIdx), null === previousNewFiber ? resultingFirstChild = oldFiber : previousNewFiber.sibling = oldFiber, previousNewFiber = oldFiber); - isHydrating && pushTreeFork(returnFiber, newIdx); - return resultingFirstChild; - } - for(oldFiber = mapRemainingChildren(oldFiber); newIdx < newChildren.length; newIdx++)nextOldFiber = updateFromMap(oldFiber, returnFiber, newIdx, newChildren[newIdx], lanes), null !== nextOldFiber && (knownKeys = warnOnInvalidKey(returnFiber, nextOldFiber, newChildren[newIdx], knownKeys), shouldTrackSideEffects && (newFiber = nextOldFiber.alternate, null !== newFiber && oldFiber.delete(null === newFiber.key ? newIdx : newFiber.key)), currentFirstChild = placeChild(nextOldFiber, currentFirstChild, newIdx), null === previousNewFiber ? resultingFirstChild = nextOldFiber : previousNewFiber.sibling = nextOldFiber, previousNewFiber = nextOldFiber); - shouldTrackSideEffects && oldFiber.forEach(function(child) { - return deleteChild(returnFiber, child); - }); - isHydrating && pushTreeFork(returnFiber, newIdx); - return resultingFirstChild; - } - function reconcileChildrenIterator(returnFiber, currentFirstChild, newChildren, lanes) { - if (null == newChildren) throw Error("An iterable object provided no iterator."); - for(var resultingFirstChild = null, previousNewFiber = null, oldFiber = currentFirstChild, newIdx = currentFirstChild = 0, nextOldFiber = null, knownKeys = null, step = newChildren.next(); null !== oldFiber && !step.done; newIdx++, step = newChildren.next()){ - oldFiber.index > newIdx ? (nextOldFiber = oldFiber, oldFiber = null) : nextOldFiber = oldFiber.sibling; - var newFiber = updateSlot(returnFiber, oldFiber, step.value, lanes); - if (null === newFiber) { - null === oldFiber && (oldFiber = nextOldFiber); - break; - } - knownKeys = warnOnInvalidKey(returnFiber, newFiber, step.value, knownKeys); - shouldTrackSideEffects && oldFiber && null === newFiber.alternate && deleteChild(returnFiber, oldFiber); - currentFirstChild = placeChild(newFiber, currentFirstChild, newIdx); - null === previousNewFiber ? resultingFirstChild = newFiber : previousNewFiber.sibling = newFiber; - previousNewFiber = newFiber; - oldFiber = nextOldFiber; - } - if (step.done) return deleteRemainingChildren(returnFiber, oldFiber), isHydrating && pushTreeFork(returnFiber, newIdx), resultingFirstChild; - if (null === oldFiber) { - for(; !step.done; newIdx++, step = newChildren.next())oldFiber = createChild(returnFiber, step.value, lanes), null !== oldFiber && (knownKeys = warnOnInvalidKey(returnFiber, oldFiber, step.value, knownKeys), currentFirstChild = placeChild(oldFiber, currentFirstChild, newIdx), null === previousNewFiber ? resultingFirstChild = oldFiber : previousNewFiber.sibling = oldFiber, previousNewFiber = oldFiber); - isHydrating && pushTreeFork(returnFiber, newIdx); - return resultingFirstChild; - } - for(oldFiber = mapRemainingChildren(oldFiber); !step.done; newIdx++, step = newChildren.next())nextOldFiber = updateFromMap(oldFiber, returnFiber, newIdx, step.value, lanes), null !== nextOldFiber && (knownKeys = warnOnInvalidKey(returnFiber, nextOldFiber, step.value, knownKeys), shouldTrackSideEffects && (step = nextOldFiber.alternate, null !== step && oldFiber.delete(null === step.key ? newIdx : step.key)), currentFirstChild = placeChild(nextOldFiber, currentFirstChild, newIdx), null === previousNewFiber ? resultingFirstChild = nextOldFiber : previousNewFiber.sibling = nextOldFiber, previousNewFiber = nextOldFiber); - shouldTrackSideEffects && oldFiber.forEach(function(child) { - return deleteChild(returnFiber, child); - }); - isHydrating && pushTreeFork(returnFiber, newIdx); - return resultingFirstChild; - } - function reconcileChildFibersImpl(returnFiber, currentFirstChild, newChild, lanes) { - "object" === typeof newChild && null !== newChild && newChild.type === REACT_FRAGMENT_TYPE && null === newChild.key && void 0 === newChild.props.ref && (validateFragmentProps(newChild, null, returnFiber), newChild = newChild.props.children); - if ("object" === typeof newChild && null !== newChild) { - switch(newChild.$$typeof){ - case REACT_ELEMENT_TYPE: - var prevDebugInfo = pushDebugInfo(newChild._debugInfo); - a: { - for(var key = newChild.key; null !== currentFirstChild;){ - if (currentFirstChild.key === key) { - key = newChild.type; - if (key === REACT_FRAGMENT_TYPE) { - if (7 === currentFirstChild.tag) { - deleteRemainingChildren(returnFiber, currentFirstChild.sibling); - lanes = useFiber(currentFirstChild, newChild.props.children); - coerceRef(lanes, newChild); - lanes.return = returnFiber; - lanes._debugOwner = newChild._owner; - lanes._debugInfo = currentDebugInfo; - validateFragmentProps(newChild, lanes, returnFiber); - returnFiber = lanes; - break a; - } - } else if (currentFirstChild.elementType === key || isCompatibleFamilyForHotReloading(currentFirstChild, newChild) || "object" === typeof key && null !== key && key.$$typeof === REACT_LAZY_TYPE && resolveLazy(key) === currentFirstChild.type) { - deleteRemainingChildren(returnFiber, currentFirstChild.sibling); - lanes = useFiber(currentFirstChild, newChild.props); - coerceRef(lanes, newChild); - lanes.return = returnFiber; - lanes._debugOwner = newChild._owner; - lanes._debugInfo = currentDebugInfo; - returnFiber = lanes; - break a; - } - deleteRemainingChildren(returnFiber, currentFirstChild); - break; - } else deleteChild(returnFiber, currentFirstChild); - currentFirstChild = currentFirstChild.sibling; - } - newChild.type === REACT_FRAGMENT_TYPE ? (lanes = createFiberFromFragment(newChild.props.children, returnFiber.mode, lanes, newChild.key), coerceRef(lanes, newChild), lanes.return = returnFiber, lanes._debugOwner = returnFiber, lanes._debugTask = returnFiber._debugTask, lanes._debugInfo = currentDebugInfo, validateFragmentProps(newChild, lanes, returnFiber), returnFiber = lanes) : (lanes = createFiberFromElement(newChild, returnFiber.mode, lanes), coerceRef(lanes, newChild), lanes.return = returnFiber, lanes._debugInfo = currentDebugInfo, returnFiber = lanes); - } - returnFiber = placeSingleChild(returnFiber); - currentDebugInfo = prevDebugInfo; - return returnFiber; - case REACT_PORTAL_TYPE: - a: { - prevDebugInfo = newChild; - for(newChild = prevDebugInfo.key; null !== currentFirstChild;){ - if (currentFirstChild.key === newChild) if (4 === currentFirstChild.tag && currentFirstChild.stateNode.containerInfo === prevDebugInfo.containerInfo && currentFirstChild.stateNode.implementation === prevDebugInfo.implementation) { - deleteRemainingChildren(returnFiber, currentFirstChild.sibling); - lanes = useFiber(currentFirstChild, prevDebugInfo.children || []); - lanes.return = returnFiber; - returnFiber = lanes; - break a; - } else { - deleteRemainingChildren(returnFiber, currentFirstChild); - break; - } - else deleteChild(returnFiber, currentFirstChild); - currentFirstChild = currentFirstChild.sibling; - } - lanes = createFiberFromPortal(prevDebugInfo, returnFiber.mode, lanes); - lanes.return = returnFiber; - returnFiber = lanes; - } - return placeSingleChild(returnFiber); - case REACT_LAZY_TYPE: - return prevDebugInfo = pushDebugInfo(newChild._debugInfo), newChild = resolveLazy(newChild), returnFiber = reconcileChildFibersImpl(returnFiber, currentFirstChild, newChild, lanes), currentDebugInfo = prevDebugInfo, returnFiber; - } - if (isArrayImpl(newChild)) return prevDebugInfo = pushDebugInfo(newChild._debugInfo), returnFiber = reconcileChildrenArray(returnFiber, currentFirstChild, newChild, lanes), currentDebugInfo = prevDebugInfo, returnFiber; - if (getIteratorFn(newChild)) { - prevDebugInfo = pushDebugInfo(newChild._debugInfo); - key = getIteratorFn(newChild); - if ("function" !== typeof key) throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue."); - var newChildren = key.call(newChild); - if (newChildren === newChild) { - if (0 !== returnFiber.tag || "[object GeneratorFunction]" !== Object.prototype.toString.call(returnFiber.type) || "[object Generator]" !== Object.prototype.toString.call(newChildren)) didWarnAboutGenerators || console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."), didWarnAboutGenerators = !0; - } else newChild.entries !== key || didWarnAboutMaps || (console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), didWarnAboutMaps = !0); - returnFiber = reconcileChildrenIterator(returnFiber, currentFirstChild, newChildren, lanes); - currentDebugInfo = prevDebugInfo; - return returnFiber; - } - if ("function" === typeof newChild.then) return prevDebugInfo = pushDebugInfo(newChild._debugInfo), returnFiber = reconcileChildFibersImpl(returnFiber, currentFirstChild, unwrapThenable(newChild), lanes), currentDebugInfo = prevDebugInfo, returnFiber; - if (newChild.$$typeof === REACT_CONTEXT_TYPE) return reconcileChildFibersImpl(returnFiber, currentFirstChild, readContextDuringReconciliation(returnFiber, newChild), lanes); - throwOnInvalidObjectType(returnFiber, newChild); - } - if ("string" === typeof newChild && "" !== newChild || "number" === typeof newChild || "bigint" === typeof newChild) return prevDebugInfo = "" + newChild, null !== currentFirstChild && 6 === currentFirstChild.tag ? (deleteRemainingChildren(returnFiber, currentFirstChild.sibling), lanes = useFiber(currentFirstChild, prevDebugInfo), lanes.return = returnFiber, returnFiber = lanes) : (deleteRemainingChildren(returnFiber, currentFirstChild), lanes = createFiberFromText(prevDebugInfo, returnFiber.mode, lanes), lanes.return = returnFiber, lanes._debugOwner = returnFiber, lanes._debugTask = returnFiber._debugTask, lanes._debugInfo = currentDebugInfo, returnFiber = lanes), placeSingleChild(returnFiber); - "function" === typeof newChild && warnOnFunctionType(returnFiber, newChild); - "symbol" === typeof newChild && warnOnSymbolType(returnFiber, newChild); - return deleteRemainingChildren(returnFiber, currentFirstChild); - } - return function(returnFiber, currentFirstChild, newChild, lanes) { - var prevDebugInfo = currentDebugInfo; - currentDebugInfo = null; - try { - thenableIndexCounter$1 = 0; - var firstChildFiber = reconcileChildFibersImpl(returnFiber, currentFirstChild, newChild, lanes); - thenableState$1 = null; - return firstChildFiber; - } catch (x) { - if (x === SuspenseException || x === SuspenseActionException) throw x; - var fiber = createFiber(29, x, null, returnFiber.mode); - fiber.lanes = lanes; - fiber.return = returnFiber; - var debugInfo = fiber._debugInfo = currentDebugInfo; - fiber._debugOwner = returnFiber._debugOwner; - fiber._debugTask = returnFiber._debugTask; - if (null != debugInfo) { - for(var i = debugInfo.length - 1; 0 <= i; i--)if ("string" === typeof debugInfo[i].stack) { - fiber._debugOwner = debugInfo[i]; - fiber._debugTask = debugInfo[i].debugTask; - break; - } - } - return fiber; - } finally{ - currentDebugInfo = prevDebugInfo; - } - }; - } - function validateSuspenseListNestedChild(childSlot, index) { - var isAnArray = isArrayImpl(childSlot); - childSlot = !isAnArray && "function" === typeof getIteratorFn(childSlot); - return isAnArray || childSlot ? (isAnArray = isAnArray ? "array" : "iterable", console.error("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>", isAnArray, index, isAnArray), !1) : !0; - } - function initializeUpdateQueue(fiber) { - fiber.updateQueue = { - baseState: fiber.memoizedState, - firstBaseUpdate: null, - lastBaseUpdate: null, - shared: { - pending: null, - lanes: 0, - hiddenCallbacks: null - }, - callbacks: null - }; - } - function cloneUpdateQueue(current, workInProgress) { - current = current.updateQueue; - workInProgress.updateQueue === current && (workInProgress.updateQueue = { - baseState: current.baseState, - firstBaseUpdate: current.firstBaseUpdate, - lastBaseUpdate: current.lastBaseUpdate, - shared: current.shared, - callbacks: null - }); - } - function createUpdate(lane) { - return { - lane: lane, - tag: UpdateState, - payload: null, - callback: null, - next: null - }; - } - function enqueueUpdate(fiber, update, lane) { - var updateQueue = fiber.updateQueue; - if (null === updateQueue) return null; - updateQueue = updateQueue.shared; - if (currentlyProcessingQueue === updateQueue && !didWarnUpdateInsideUpdate) { - var componentName = getComponentNameFromFiber(fiber); - console.error("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.\n\nPlease update the following component: %s", componentName); - didWarnUpdateInsideUpdate = !0; - } - if ((executionContext & RenderContext) !== NoContext) return componentName = updateQueue.pending, null === componentName ? update.next = update : (update.next = componentName.next, componentName.next = update), updateQueue.pending = update, update = getRootForUpdatedFiber(fiber), markUpdateLaneFromFiberToRoot(fiber, null, lane), update; - enqueueUpdate$1(fiber, updateQueue, update, lane); - return getRootForUpdatedFiber(fiber); - } - function entangleTransitions(root, fiber, lane) { - fiber = fiber.updateQueue; - if (null !== fiber && (fiber = fiber.shared, 0 !== (lane & 4194048))) { - var queueLanes = fiber.lanes; - queueLanes &= root.pendingLanes; - lane |= queueLanes; - fiber.lanes = lane; - markRootEntangled(root, lane); - } - } - function enqueueCapturedUpdate(workInProgress, capturedUpdate) { - var queue = workInProgress.updateQueue, current = workInProgress.alternate; - if (null !== current && (current = current.updateQueue, queue === current)) { - var newFirst = null, newLast = null; - queue = queue.firstBaseUpdate; - if (null !== queue) { - do { - var clone = { - lane: queue.lane, - tag: queue.tag, - payload: queue.payload, - callback: null, - next: null - }; - null === newLast ? newFirst = newLast = clone : newLast = newLast.next = clone; - queue = queue.next; - }while (null !== queue) - null === newLast ? newFirst = newLast = capturedUpdate : newLast = newLast.next = capturedUpdate; - } else newFirst = newLast = capturedUpdate; - queue = { - baseState: current.baseState, - firstBaseUpdate: newFirst, - lastBaseUpdate: newLast, - shared: current.shared, - callbacks: current.callbacks - }; - workInProgress.updateQueue = queue; - return; - } - workInProgress = queue.lastBaseUpdate; - null === workInProgress ? queue.firstBaseUpdate = capturedUpdate : workInProgress.next = capturedUpdate; - queue.lastBaseUpdate = capturedUpdate; - } - function suspendIfUpdateReadFromEntangledAsyncAction() { - if (didReadFromEntangledAsyncAction) { - var entangledActionThenable = currentEntangledActionThenable; - if (null !== entangledActionThenable) throw entangledActionThenable; - } - } - function processUpdateQueue(workInProgress, props, instance$jscomp$0, renderLanes) { - didReadFromEntangledAsyncAction = !1; - var queue = workInProgress.updateQueue; - hasForceUpdate = !1; - currentlyProcessingQueue = queue.shared; - var firstBaseUpdate = queue.firstBaseUpdate, lastBaseUpdate = queue.lastBaseUpdate, pendingQueue = queue.shared.pending; - if (null !== pendingQueue) { - queue.shared.pending = null; - var lastPendingUpdate = pendingQueue, firstPendingUpdate = lastPendingUpdate.next; - lastPendingUpdate.next = null; - null === lastBaseUpdate ? firstBaseUpdate = firstPendingUpdate : lastBaseUpdate.next = firstPendingUpdate; - lastBaseUpdate = lastPendingUpdate; - var current = workInProgress.alternate; - null !== current && (current = current.updateQueue, pendingQueue = current.lastBaseUpdate, pendingQueue !== lastBaseUpdate && (null === pendingQueue ? current.firstBaseUpdate = firstPendingUpdate : pendingQueue.next = firstPendingUpdate, current.lastBaseUpdate = lastPendingUpdate)); - } - if (null !== firstBaseUpdate) { - var newState = queue.baseState; - lastBaseUpdate = 0; - current = firstPendingUpdate = lastPendingUpdate = null; - pendingQueue = firstBaseUpdate; - do { - var updateLane = pendingQueue.lane & -536870913, isHiddenUpdate = updateLane !== pendingQueue.lane; - if (isHiddenUpdate ? (workInProgressRootRenderLanes & updateLane) === updateLane : (renderLanes & updateLane) === updateLane) { - 0 !== updateLane && updateLane === currentEntangledLane && (didReadFromEntangledAsyncAction = !0); - null !== current && (current = current.next = { - lane: 0, - tag: pendingQueue.tag, - payload: pendingQueue.payload, - callback: null, - next: null - }); - a: { - updateLane = workInProgress; - var partialState = pendingQueue; - var nextProps = props, instance = instance$jscomp$0; - switch(partialState.tag){ - case ReplaceState: - partialState = partialState.payload; - if ("function" === typeof partialState) { - isDisallowedContextReadInDEV = !0; - var nextState = partialState.call(instance, newState, nextProps); - if (updateLane.mode & StrictLegacyMode) { - setIsStrictModeForDevtools(!0); - try { - partialState.call(instance, newState, nextProps); - } finally{ - setIsStrictModeForDevtools(!1); - } - } - isDisallowedContextReadInDEV = !1; - newState = nextState; - break a; - } - newState = partialState; - break a; - case CaptureUpdate: - updateLane.flags = updateLane.flags & -65537 | 128; - case UpdateState: - nextState = partialState.payload; - if ("function" === typeof nextState) { - isDisallowedContextReadInDEV = !0; - partialState = nextState.call(instance, newState, nextProps); - if (updateLane.mode & StrictLegacyMode) { - setIsStrictModeForDevtools(!0); - try { - nextState.call(instance, newState, nextProps); - } finally{ - setIsStrictModeForDevtools(!1); - } - } - isDisallowedContextReadInDEV = !1; - } else partialState = nextState; - if (null === partialState || void 0 === partialState) break a; - newState = assign({}, newState, partialState); - break a; - case ForceUpdate: - hasForceUpdate = !0; - } - } - updateLane = pendingQueue.callback; - null !== updateLane && (workInProgress.flags |= 64, isHiddenUpdate && (workInProgress.flags |= 8192), isHiddenUpdate = queue.callbacks, null === isHiddenUpdate ? queue.callbacks = [ - updateLane - ] : isHiddenUpdate.push(updateLane)); - } else isHiddenUpdate = { - lane: updateLane, - tag: pendingQueue.tag, - payload: pendingQueue.payload, - callback: pendingQueue.callback, - next: null - }, null === current ? (firstPendingUpdate = current = isHiddenUpdate, lastPendingUpdate = newState) : current = current.next = isHiddenUpdate, lastBaseUpdate |= updateLane; - pendingQueue = pendingQueue.next; - if (null === pendingQueue) if (pendingQueue = queue.shared.pending, null === pendingQueue) break; - else isHiddenUpdate = pendingQueue, pendingQueue = isHiddenUpdate.next, isHiddenUpdate.next = null, queue.lastBaseUpdate = isHiddenUpdate, queue.shared.pending = null; - }while (1) - null === current && (lastPendingUpdate = newState); - queue.baseState = lastPendingUpdate; - queue.firstBaseUpdate = firstPendingUpdate; - queue.lastBaseUpdate = current; - null === firstBaseUpdate && (queue.shared.lanes = 0); - workInProgressRootSkippedLanes |= lastBaseUpdate; - workInProgress.lanes = lastBaseUpdate; - workInProgress.memoizedState = newState; - } - currentlyProcessingQueue = null; - } - function callCallback(callback, context) { - if ("function" !== typeof callback) throw Error("Invalid argument passed as callback. Expected a function. Instead received: " + callback); - callback.call(context); - } - function commitHiddenCallbacks(updateQueue, context) { - var hiddenCallbacks = updateQueue.shared.hiddenCallbacks; - if (null !== hiddenCallbacks) for(updateQueue.shared.hiddenCallbacks = null, updateQueue = 0; updateQueue < hiddenCallbacks.length; updateQueue++)callCallback(hiddenCallbacks[updateQueue], context); - } - function commitCallbacks(updateQueue, context) { - var callbacks = updateQueue.callbacks; - if (null !== callbacks) for(updateQueue.callbacks = null, updateQueue = 0; updateQueue < callbacks.length; updateQueue++)callCallback(callbacks[updateQueue], context); - } - function pushHiddenContext(fiber, context) { - var prevEntangledRenderLanes = entangledRenderLanes; - push(prevEntangledRenderLanesCursor, prevEntangledRenderLanes, fiber); - push(currentTreeHiddenStackCursor, context, fiber); - entangledRenderLanes = prevEntangledRenderLanes | context.baseLanes; - } - function reuseHiddenContextOnStack(fiber) { - push(prevEntangledRenderLanesCursor, entangledRenderLanes, fiber); - push(currentTreeHiddenStackCursor, currentTreeHiddenStackCursor.current, fiber); - } - function popHiddenContext(fiber) { - entangledRenderLanes = prevEntangledRenderLanesCursor.current; - pop(currentTreeHiddenStackCursor, fiber); - pop(prevEntangledRenderLanesCursor, fiber); - } - function pushPrimaryTreeSuspenseHandler(handler) { - var current = handler.alternate; - push(suspenseStackCursor, suspenseStackCursor.current & SubtreeSuspenseContextMask, handler); - push(suspenseHandlerStackCursor, handler, handler); - null === shellBoundary && (null === current || null !== currentTreeHiddenStackCursor.current ? shellBoundary = handler : null !== current.memoizedState && (shellBoundary = handler)); - } - function pushDehydratedActivitySuspenseHandler(fiber) { - push(suspenseStackCursor, suspenseStackCursor.current, fiber); - push(suspenseHandlerStackCursor, fiber, fiber); - null === shellBoundary && (shellBoundary = fiber); - } - function pushOffscreenSuspenseHandler(fiber) { - 22 === fiber.tag ? (push(suspenseStackCursor, suspenseStackCursor.current, fiber), push(suspenseHandlerStackCursor, fiber, fiber), null === shellBoundary && (shellBoundary = fiber)) : reuseSuspenseHandlerOnStack(fiber); - } - function reuseSuspenseHandlerOnStack(fiber) { - push(suspenseStackCursor, suspenseStackCursor.current, fiber); - push(suspenseHandlerStackCursor, suspenseHandlerStackCursor.current, fiber); - } - function popSuspenseHandler(fiber) { - pop(suspenseHandlerStackCursor, fiber); - shellBoundary === fiber && (shellBoundary = null); - pop(suspenseStackCursor, fiber); - } - function pushSuspenseListContext(fiber, newContext) { - push(suspenseHandlerStackCursor, suspenseHandlerStackCursor.current, fiber); - push(suspenseStackCursor, newContext, fiber); - } - function popSuspenseListContext(fiber) { - pop(suspenseStackCursor, fiber); - pop(suspenseHandlerStackCursor, fiber); - shellBoundary === fiber && (shellBoundary = null); - } - function findFirstSuspended(row) { - for(var node = row; null !== node;){ - if (13 === node.tag) { - var state = node.memoizedState; - if (null !== state && (state = state.dehydrated, null === state || isSuspenseInstancePending(state) || isSuspenseInstanceFallback(state))) return node; - } else if (19 === node.tag && "independent" !== node.memoizedProps.revealOrder) { - if (0 !== (node.flags & 128)) return node; - } else if (null !== node.child) { - node.child.return = node; - node = node.child; - continue; - } - if (node === row) break; - for(; null === node.sibling;){ - if (null === node.return || node.return === row) return null; - node = node.return; - } - node.sibling.return = node.return; - node = node.sibling; - } - return null; - } - function mountHookTypesDev() { - var hookName = currentHookNameInDev; - null === hookTypesDev ? hookTypesDev = [ - hookName - ] : hookTypesDev.push(hookName); - } - function updateHookTypesDev() { - var hookName = currentHookNameInDev; - if (null !== hookTypesDev && (hookTypesUpdateIndexDev++, hookTypesDev[hookTypesUpdateIndexDev] !== hookName)) { - var componentName = getComponentNameFromFiber(currentlyRenderingFiber); - if (!didWarnAboutMismatchedHooksForComponent.has(componentName) && (didWarnAboutMismatchedHooksForComponent.add(componentName), null !== hookTypesDev)) { - for(var table = "", i = 0; i <= hookTypesUpdateIndexDev; i++){ - var oldHookName = hookTypesDev[i], newHookName = i === hookTypesUpdateIndexDev ? hookName : oldHookName; - for(oldHookName = i + 1 + ". " + oldHookName; 30 > oldHookName.length;)oldHookName += " "; - oldHookName += newHookName + "\n"; - table += oldHookName; - } - console.error("React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks\n\n Previous render Next render\n ------------------------------------------------------\n%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", componentName, table); - } - } - } - function checkDepsAreArrayDev(deps) { - void 0 === deps || null === deps || isArrayImpl(deps) || console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.", currentHookNameInDev, typeof deps); - } - function warnOnUseFormStateInDev() { - var componentName = getComponentNameFromFiber(currentlyRenderingFiber); - didWarnAboutUseFormState.has(componentName) || (didWarnAboutUseFormState.add(componentName), console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.", componentName)); - } - function throwInvalidHookError() { - throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."); - } - function areHookInputsEqual(nextDeps, prevDeps) { - if (ignorePreviousDependencies) return !1; - if (null === prevDeps) return console.error("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.", currentHookNameInDev), !1; - nextDeps.length !== prevDeps.length && console.error("The final argument passed to %s changed size between renders. The order and size of this array must remain constant.\n\nPrevious: %s\nIncoming: %s", currentHookNameInDev, "[" + prevDeps.join(", ") + "]", "[" + nextDeps.join(", ") + "]"); - for(var i = 0; i < prevDeps.length && i < nextDeps.length; i++)if (!objectIs(nextDeps[i], prevDeps[i])) return !1; - return !0; - } - function renderWithHooks(current, workInProgress, Component, props, secondArg, nextRenderLanes) { - renderLanes = nextRenderLanes; - currentlyRenderingFiber = workInProgress; - hookTypesDev = null !== current ? current._debugHookTypes : null; - hookTypesUpdateIndexDev = -1; - ignorePreviousDependencies = null !== current && current.type !== workInProgress.type; - if ("[object AsyncFunction]" === Object.prototype.toString.call(Component) || "[object AsyncGeneratorFunction]" === Object.prototype.toString.call(Component)) nextRenderLanes = getComponentNameFromFiber(currentlyRenderingFiber), didWarnAboutAsyncClientComponent.has(nextRenderLanes) || (didWarnAboutAsyncClientComponent.add(nextRenderLanes), console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.", null === nextRenderLanes ? "An unknown Component" : "<" + nextRenderLanes + ">")); - workInProgress.memoizedState = null; - workInProgress.updateQueue = null; - workInProgress.lanes = 0; - ReactSharedInternals.H = null !== current && null !== current.memoizedState ? HooksDispatcherOnUpdateInDEV : null !== hookTypesDev ? HooksDispatcherOnMountWithHookTypesInDEV : HooksDispatcherOnMountInDEV; - shouldDoubleInvokeUserFnsInHooksDEV = nextRenderLanes = (workInProgress.mode & StrictLegacyMode) !== NoMode; - var children = callComponentInDEV(Component, props, secondArg); - shouldDoubleInvokeUserFnsInHooksDEV = !1; - didScheduleRenderPhaseUpdateDuringThisPass && (children = renderWithHooksAgain(workInProgress, Component, props, secondArg)); - if (nextRenderLanes) { - setIsStrictModeForDevtools(!0); - try { - children = renderWithHooksAgain(workInProgress, Component, props, secondArg); - } finally{ - setIsStrictModeForDevtools(!1); - } - } - finishRenderingHooks(current, workInProgress); - return children; - } - function finishRenderingHooks(current, workInProgress) { - workInProgress._debugHookTypes = hookTypesDev; - null === workInProgress.dependencies ? null !== thenableState && (workInProgress.dependencies = { - lanes: 0, - firstContext: null, - _debugThenableState: thenableState - }) : workInProgress.dependencies._debugThenableState = thenableState; - ReactSharedInternals.H = ContextOnlyDispatcher; - var didRenderTooFewHooks = null !== currentHook && null !== currentHook.next; - renderLanes = 0; - hookTypesDev = currentHookNameInDev = workInProgressHook = currentHook = currentlyRenderingFiber = null; - hookTypesUpdateIndexDev = -1; - null !== current && (current.flags & 132120576) !== (workInProgress.flags & 132120576) && console.error("Internal React error: Expected static flag was missing. Please notify the React team."); - didScheduleRenderPhaseUpdate = !1; - thenableIndexCounter = 0; - thenableState = null; - if (didRenderTooFewHooks) throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement."); - null === current || didReceiveUpdate || (current = current.dependencies, null !== current && checkIfContextChanged(current) && (didReceiveUpdate = !0)); - needsToResetSuspendedThenableDEV ? (needsToResetSuspendedThenableDEV = !1, current = !0) : current = !1; - current && (workInProgress = getComponentNameFromFiber(workInProgress) || "Unknown", didWarnAboutUseWrappedInTryCatch.has(workInProgress) || didWarnAboutAsyncClientComponent.has(workInProgress) || (didWarnAboutUseWrappedInTryCatch.add(workInProgress), console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary."))); - } - function renderWithHooksAgain(workInProgress, Component, props, secondArg) { - currentlyRenderingFiber = workInProgress; - var numberOfReRenders = 0; - do { - didScheduleRenderPhaseUpdateDuringThisPass && (thenableState = null); - thenableIndexCounter = 0; - didScheduleRenderPhaseUpdateDuringThisPass = !1; - if (numberOfReRenders >= RE_RENDER_LIMIT) throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop."); - numberOfReRenders += 1; - ignorePreviousDependencies = !1; - workInProgressHook = currentHook = null; - if (null != workInProgress.updateQueue) { - var children = workInProgress.updateQueue; - children.lastEffect = null; - children.events = null; - children.stores = null; - null != children.memoCache && (children.memoCache.index = 0); - } - hookTypesUpdateIndexDev = -1; - ReactSharedInternals.H = HooksDispatcherOnRerenderInDEV; - children = callComponentInDEV(Component, props, secondArg); - }while (didScheduleRenderPhaseUpdateDuringThisPass) - return children; - } - function TransitionAwareHostComponent() { - var dispatcher = ReactSharedInternals.H, maybeThenable = dispatcher.useState()[0]; - maybeThenable = "function" === typeof maybeThenable.then ? useThenable(maybeThenable) : maybeThenable; - dispatcher = dispatcher.useState()[0]; - (null !== currentHook ? currentHook.memoizedState : null) !== dispatcher && (currentlyRenderingFiber.flags |= 1024); - return maybeThenable; - } - function checkDidRenderIdHook() { - var didRenderIdHook = 0 !== localIdCounter; - localIdCounter = 0; - return didRenderIdHook; - } - function bailoutHooks(current, workInProgress, lanes) { - workInProgress.updateQueue = current.updateQueue; - workInProgress.flags = (workInProgress.mode & StrictEffectsMode) !== NoMode ? workInProgress.flags & -805308421 : workInProgress.flags & -2053; - current.lanes &= ~lanes; - } - function resetHooksOnUnwind(workInProgress) { - if (didScheduleRenderPhaseUpdate) { - for(workInProgress = workInProgress.memoizedState; null !== workInProgress;){ - var queue = workInProgress.queue; - null !== queue && (queue.pending = null); - workInProgress = workInProgress.next; - } - didScheduleRenderPhaseUpdate = !1; - } - renderLanes = 0; - hookTypesDev = workInProgressHook = currentHook = currentlyRenderingFiber = null; - hookTypesUpdateIndexDev = -1; - currentHookNameInDev = null; - didScheduleRenderPhaseUpdateDuringThisPass = !1; - thenableIndexCounter = localIdCounter = 0; - thenableState = null; - } - function mountWorkInProgressHook() { - var hook = { - memoizedState: null, - baseState: null, - baseQueue: null, - queue: null, - next: null - }; - null === workInProgressHook ? currentlyRenderingFiber.memoizedState = workInProgressHook = hook : workInProgressHook = workInProgressHook.next = hook; - return workInProgressHook; - } - function updateWorkInProgressHook() { - if (null === currentHook) { - var nextCurrentHook = currentlyRenderingFiber.alternate; - nextCurrentHook = null !== nextCurrentHook ? nextCurrentHook.memoizedState : null; - } else nextCurrentHook = currentHook.next; - var nextWorkInProgressHook = null === workInProgressHook ? currentlyRenderingFiber.memoizedState : workInProgressHook.next; - if (null !== nextWorkInProgressHook) workInProgressHook = nextWorkInProgressHook, currentHook = nextCurrentHook; - else { - if (null === nextCurrentHook) { - if (null === currentlyRenderingFiber.alternate) throw Error("Update hook called on initial render. This is likely a bug in React. Please file an issue."); - throw Error("Rendered more hooks than during the previous render."); - } - currentHook = nextCurrentHook; - nextCurrentHook = { - memoizedState: currentHook.memoizedState, - baseState: currentHook.baseState, - baseQueue: currentHook.baseQueue, - queue: currentHook.queue, - next: null - }; - null === workInProgressHook ? currentlyRenderingFiber.memoizedState = workInProgressHook = nextCurrentHook : workInProgressHook = workInProgressHook.next = nextCurrentHook; - } - return workInProgressHook; - } - function createFunctionComponentUpdateQueue() { - return { - lastEffect: null, - events: null, - stores: null, - memoCache: null - }; - } - function useThenable(thenable) { - var index = thenableIndexCounter; - thenableIndexCounter += 1; - null === thenableState && (thenableState = createThenableState()); - thenable = trackUsedThenable(thenableState, thenable, index); - index = currentlyRenderingFiber; - null === (null === workInProgressHook ? index.memoizedState : workInProgressHook.next) && (index = index.alternate, ReactSharedInternals.H = null !== index && null !== index.memoizedState ? HooksDispatcherOnUpdateInDEV : HooksDispatcherOnMountInDEV); - return thenable; - } - function use(usable) { - if (null !== usable && "object" === typeof usable) { - if ("function" === typeof usable.then) return useThenable(usable); - if (usable.$$typeof === REACT_CONTEXT_TYPE) return readContext(usable); - } - throw Error("An unsupported type was passed to use(): " + String(usable)); - } - function useMemoCache(size) { - var memoCache = null, updateQueue = currentlyRenderingFiber.updateQueue; - null !== updateQueue && (memoCache = updateQueue.memoCache); - if (null == memoCache) { - var current = currentlyRenderingFiber.alternate; - null !== current && (current = current.updateQueue, null !== current && (current = current.memoCache, null != current && (memoCache = { - data: current.data.map(function(array) { - return array.slice(); - }), - index: 0 - }))); - } - null == memoCache && (memoCache = { - data: [], - index: 0 - }); - null === updateQueue && (updateQueue = createFunctionComponentUpdateQueue(), currentlyRenderingFiber.updateQueue = updateQueue); - updateQueue.memoCache = memoCache; - updateQueue = memoCache.data[memoCache.index]; - if (void 0 === updateQueue || ignorePreviousDependencies) for(updateQueue = memoCache.data[memoCache.index] = Array(size), current = 0; current < size; current++)updateQueue[current] = REACT_MEMO_CACHE_SENTINEL; - else updateQueue.length !== size && console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.", updateQueue.length, size); - memoCache.index++; - return updateQueue; - } - function basicStateReducer(state, action) { - return "function" === typeof action ? action(state) : action; - } - function mountReducer(reducer, initialArg, init) { - var hook = mountWorkInProgressHook(); - if (void 0 !== init) { - var initialState = init(initialArg); - if (shouldDoubleInvokeUserFnsInHooksDEV) { - setIsStrictModeForDevtools(!0); - try { - init(initialArg); - } finally{ - setIsStrictModeForDevtools(!1); - } - } - } else initialState = initialArg; - hook.memoizedState = hook.baseState = initialState; - reducer = { - pending: null, - lanes: 0, - dispatch: null, - lastRenderedReducer: reducer, - lastRenderedState: initialState - }; - hook.queue = reducer; - reducer = reducer.dispatch = dispatchReducerAction.bind(null, currentlyRenderingFiber, reducer); - return [ - hook.memoizedState, - reducer - ]; - } - function updateReducer(reducer) { - var hook = updateWorkInProgressHook(); - return updateReducerImpl(hook, currentHook, reducer); - } - function updateReducerImpl(hook, current, reducer) { - var queue = hook.queue; - if (null === queue) throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)"); - queue.lastRenderedReducer = reducer; - var baseQueue = hook.baseQueue, pendingQueue = queue.pending; - if (null !== pendingQueue) { - if (null !== baseQueue) { - var baseFirst = baseQueue.next; - baseQueue.next = pendingQueue.next; - pendingQueue.next = baseFirst; - } - current.baseQueue !== baseQueue && console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."); - current.baseQueue = baseQueue = pendingQueue; - queue.pending = null; - } - pendingQueue = hook.baseState; - if (null === baseQueue) hook.memoizedState = pendingQueue; - else { - current = baseQueue.next; - var newBaseQueueFirst = baseFirst = null, newBaseQueueLast = null, update = current, didReadFromEntangledAsyncAction = !1; - do { - var updateLane = update.lane & -536870913; - if (updateLane !== update.lane ? (workInProgressRootRenderLanes & updateLane) === updateLane : (renderLanes & updateLane) === updateLane) { - var revertLane = update.revertLane; - if (0 === revertLane) null !== newBaseQueueLast && (newBaseQueueLast = newBaseQueueLast.next = { - lane: 0, - revertLane: 0, - gesture: null, - action: update.action, - hasEagerState: update.hasEagerState, - eagerState: update.eagerState, - next: null - }), updateLane === currentEntangledLane && (didReadFromEntangledAsyncAction = !0); - else if ((renderLanes & revertLane) === revertLane) { - update = update.next; - revertLane === currentEntangledLane && (didReadFromEntangledAsyncAction = !0); - continue; - } else updateLane = { - lane: 0, - revertLane: update.revertLane, - gesture: null, - action: update.action, - hasEagerState: update.hasEagerState, - eagerState: update.eagerState, - next: null - }, null === newBaseQueueLast ? (newBaseQueueFirst = newBaseQueueLast = updateLane, baseFirst = pendingQueue) : newBaseQueueLast = newBaseQueueLast.next = updateLane, currentlyRenderingFiber.lanes |= revertLane, workInProgressRootSkippedLanes |= revertLane; - updateLane = update.action; - shouldDoubleInvokeUserFnsInHooksDEV && reducer(pendingQueue, updateLane); - pendingQueue = update.hasEagerState ? update.eagerState : reducer(pendingQueue, updateLane); - } else revertLane = { - lane: updateLane, - revertLane: update.revertLane, - gesture: update.gesture, - action: update.action, - hasEagerState: update.hasEagerState, - eagerState: update.eagerState, - next: null - }, null === newBaseQueueLast ? (newBaseQueueFirst = newBaseQueueLast = revertLane, baseFirst = pendingQueue) : newBaseQueueLast = newBaseQueueLast.next = revertLane, currentlyRenderingFiber.lanes |= updateLane, workInProgressRootSkippedLanes |= updateLane; - update = update.next; - }while (null !== update && update !== current) - null === newBaseQueueLast ? baseFirst = pendingQueue : newBaseQueueLast.next = newBaseQueueFirst; - if (!objectIs(pendingQueue, hook.memoizedState) && (didReceiveUpdate = !0, didReadFromEntangledAsyncAction && (reducer = currentEntangledActionThenable, null !== reducer))) throw reducer; - hook.memoizedState = pendingQueue; - hook.baseState = baseFirst; - hook.baseQueue = newBaseQueueLast; - queue.lastRenderedState = pendingQueue; - } - null === baseQueue && (queue.lanes = 0); - return [ - hook.memoizedState, - queue.dispatch - ]; - } - function rerenderReducer(reducer) { - var hook = updateWorkInProgressHook(), queue = hook.queue; - if (null === queue) throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)"); - queue.lastRenderedReducer = reducer; - var dispatch = queue.dispatch, lastRenderPhaseUpdate = queue.pending, newState = hook.memoizedState; - if (null !== lastRenderPhaseUpdate) { - queue.pending = null; - var update = lastRenderPhaseUpdate = lastRenderPhaseUpdate.next; - do newState = reducer(newState, update.action), update = update.next; - while (update !== lastRenderPhaseUpdate) - objectIs(newState, hook.memoizedState) || (didReceiveUpdate = !0); - hook.memoizedState = newState; - null === hook.baseQueue && (hook.baseState = newState); - queue.lastRenderedState = newState; - } - return [ - newState, - dispatch - ]; - } - function mountSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) { - var fiber = currentlyRenderingFiber, hook = mountWorkInProgressHook(); - if (isHydrating) { - if (void 0 === getServerSnapshot) throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering."); - var nextSnapshot = getServerSnapshot(); - didWarnUncachedGetSnapshot || nextSnapshot === getServerSnapshot() || (console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"), didWarnUncachedGetSnapshot = !0); - } else { - nextSnapshot = getSnapshot(); - didWarnUncachedGetSnapshot || (getServerSnapshot = getSnapshot(), objectIs(nextSnapshot, getServerSnapshot) || (console.error("The result of getSnapshot should be cached to avoid an infinite loop"), didWarnUncachedGetSnapshot = !0)); - if (null === workInProgressRoot) throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue."); - 0 !== (workInProgressRootRenderLanes & 127) || pushStoreConsistencyCheck(fiber, getSnapshot, nextSnapshot); - } - hook.memoizedState = nextSnapshot; - getServerSnapshot = { - value: nextSnapshot, - getSnapshot: getSnapshot - }; - hook.queue = getServerSnapshot; - mountEffect(subscribeToStore.bind(null, fiber, getServerSnapshot, subscribe), [ - subscribe - ]); - fiber.flags |= 2048; - pushSimpleEffect(HasEffect | Passive, { - destroy: void 0 - }, updateStoreInstance.bind(null, fiber, getServerSnapshot, nextSnapshot, getSnapshot), null); - return nextSnapshot; - } - function updateSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) { - var fiber = currentlyRenderingFiber, hook = updateWorkInProgressHook(), isHydrating$jscomp$0 = isHydrating; - if (isHydrating$jscomp$0) { - if (void 0 === getServerSnapshot) throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering."); - getServerSnapshot = getServerSnapshot(); - } else if (getServerSnapshot = getSnapshot(), !didWarnUncachedGetSnapshot) { - var cachedSnapshot = getSnapshot(); - objectIs(getServerSnapshot, cachedSnapshot) || (console.error("The result of getSnapshot should be cached to avoid an infinite loop"), didWarnUncachedGetSnapshot = !0); - } - if (cachedSnapshot = !objectIs((currentHook || hook).memoizedState, getServerSnapshot)) hook.memoizedState = getServerSnapshot, didReceiveUpdate = !0; - hook = hook.queue; - var create = subscribeToStore.bind(null, fiber, hook, subscribe); - updateEffectImpl(2048, Passive, create, [ - subscribe - ]); - if (hook.getSnapshot !== getSnapshot || cachedSnapshot || null !== workInProgressHook && workInProgressHook.memoizedState.tag & HasEffect) { - fiber.flags |= 2048; - pushSimpleEffect(HasEffect | Passive, { - destroy: void 0 - }, updateStoreInstance.bind(null, fiber, hook, getServerSnapshot, getSnapshot), null); - if (null === workInProgressRoot) throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue."); - isHydrating$jscomp$0 || 0 !== (renderLanes & 127) || pushStoreConsistencyCheck(fiber, getSnapshot, getServerSnapshot); - } - return getServerSnapshot; - } - function pushStoreConsistencyCheck(fiber, getSnapshot, renderedSnapshot) { - fiber.flags |= 16384; - fiber = { - getSnapshot: getSnapshot, - value: renderedSnapshot - }; - getSnapshot = currentlyRenderingFiber.updateQueue; - null === getSnapshot ? (getSnapshot = createFunctionComponentUpdateQueue(), currentlyRenderingFiber.updateQueue = getSnapshot, getSnapshot.stores = [ - fiber - ]) : (renderedSnapshot = getSnapshot.stores, null === renderedSnapshot ? getSnapshot.stores = [ - fiber - ] : renderedSnapshot.push(fiber)); - } - function updateStoreInstance(fiber, inst, nextSnapshot, getSnapshot) { - inst.value = nextSnapshot; - inst.getSnapshot = getSnapshot; - checkIfSnapshotChanged(inst) && forceStoreRerender(fiber); - } - function subscribeToStore(fiber, inst, subscribe) { - return subscribe(function() { - checkIfSnapshotChanged(inst) && (startUpdateTimerByLane(2, "updateSyncExternalStore()", fiber), forceStoreRerender(fiber)); - }); - } - function checkIfSnapshotChanged(inst) { - var latestGetSnapshot = inst.getSnapshot; - inst = inst.value; - try { - var nextValue = latestGetSnapshot(); - return !objectIs(inst, nextValue); - } catch (error) { - return !0; - } - } - function forceStoreRerender(fiber) { - var root = enqueueConcurrentRenderForLane(fiber, 2); - null !== root && scheduleUpdateOnFiber(root, fiber, 2); - } - function mountStateImpl(initialState) { - var hook = mountWorkInProgressHook(); - if ("function" === typeof initialState) { - var initialStateInitializer = initialState; - initialState = initialStateInitializer(); - if (shouldDoubleInvokeUserFnsInHooksDEV) { - setIsStrictModeForDevtools(!0); - try { - initialStateInitializer(); - } finally{ - setIsStrictModeForDevtools(!1); - } - } - } - hook.memoizedState = hook.baseState = initialState; - hook.queue = { - pending: null, - lanes: 0, - dispatch: null, - lastRenderedReducer: basicStateReducer, - lastRenderedState: initialState - }; - return hook; - } - function mountState(initialState) { - initialState = mountStateImpl(initialState); - var queue = initialState.queue, dispatch = dispatchSetState.bind(null, currentlyRenderingFiber, queue); - queue.dispatch = dispatch; - return [ - initialState.memoizedState, - dispatch - ]; - } - function mountOptimistic(passthrough) { - var hook = mountWorkInProgressHook(); - hook.memoizedState = hook.baseState = passthrough; - var queue = { - pending: null, - lanes: 0, - dispatch: null, - lastRenderedReducer: null, - lastRenderedState: null - }; - hook.queue = queue; - hook = dispatchOptimisticSetState.bind(null, currentlyRenderingFiber, !0, queue); - queue.dispatch = hook; - return [ - passthrough, - hook - ]; - } - function updateOptimistic(passthrough, reducer) { - var hook = updateWorkInProgressHook(); - return updateOptimisticImpl(hook, currentHook, passthrough, reducer); - } - function updateOptimisticImpl(hook, current, passthrough, reducer) { - hook.baseState = passthrough; - return updateReducerImpl(hook, currentHook, "function" === typeof reducer ? reducer : basicStateReducer); - } - function rerenderOptimistic(passthrough, reducer) { - var hook = updateWorkInProgressHook(); - if (null !== currentHook) return updateOptimisticImpl(hook, currentHook, passthrough, reducer); - hook.baseState = passthrough; - return [ - passthrough, - hook.queue.dispatch - ]; - } - function dispatchActionState(fiber, actionQueue, setPendingState, setState, payload) { - if (isRenderPhaseUpdate(fiber)) throw Error("Cannot update form state while rendering."); - fiber = actionQueue.action; - if (null !== fiber) { - var actionNode = { - payload: payload, - action: fiber, - next: null, - isTransition: !0, - status: "pending", - value: null, - reason: null, - listeners: [], - then: function(listener) { - actionNode.listeners.push(listener); - } - }; - null !== ReactSharedInternals.T ? setPendingState(!0) : actionNode.isTransition = !1; - setState(actionNode); - setPendingState = actionQueue.pending; - null === setPendingState ? (actionNode.next = actionQueue.pending = actionNode, runActionStateAction(actionQueue, actionNode)) : (actionNode.next = setPendingState.next, actionQueue.pending = setPendingState.next = actionNode); - } - } - function runActionStateAction(actionQueue, node) { - var action = node.action, payload = node.payload, prevState = actionQueue.state; - if (node.isTransition) { - var prevTransition = ReactSharedInternals.T, currentTransition = {}; - currentTransition.types = null !== prevTransition ? prevTransition.types : null; - currentTransition._updatedFibers = new Set(); - ReactSharedInternals.T = currentTransition; - try { - var returnValue = action(prevState, payload), onStartTransitionFinish = ReactSharedInternals.S; - null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue); - handleActionReturnValue(actionQueue, node, returnValue); - } catch (error) { - onActionError(actionQueue, node, error); - } finally{ - null !== prevTransition && null !== currentTransition.types && (null !== prevTransition.types && prevTransition.types !== currentTransition.types && console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."), prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition, null === prevTransition && currentTransition._updatedFibers && (actionQueue = currentTransition._updatedFibers.size, currentTransition._updatedFibers.clear(), 10 < actionQueue && console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")); - } - } else try { - currentTransition = action(prevState, payload), handleActionReturnValue(actionQueue, node, currentTransition); - } catch (error$4) { - onActionError(actionQueue, node, error$4); - } - } - function handleActionReturnValue(actionQueue, node, returnValue) { - null !== returnValue && "object" === typeof returnValue && "function" === typeof returnValue.then ? (ReactSharedInternals.asyncTransitions++, returnValue.then(releaseAsyncTransition, releaseAsyncTransition), returnValue.then(function(nextState) { - onActionSuccess(actionQueue, node, nextState); - }, function(error) { - return onActionError(actionQueue, node, error); - }), node.isTransition || console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")) : onActionSuccess(actionQueue, node, returnValue); - } - function onActionSuccess(actionQueue, actionNode, nextState) { - actionNode.status = "fulfilled"; - actionNode.value = nextState; - notifyActionListeners(actionNode); - actionQueue.state = nextState; - actionNode = actionQueue.pending; - null !== actionNode && (nextState = actionNode.next, nextState === actionNode ? actionQueue.pending = null : (nextState = nextState.next, actionNode.next = nextState, runActionStateAction(actionQueue, nextState))); - } - function onActionError(actionQueue, actionNode, error) { - var last = actionQueue.pending; - actionQueue.pending = null; - if (null !== last) { - last = last.next; - do actionNode.status = "rejected", actionNode.reason = error, notifyActionListeners(actionNode), actionNode = actionNode.next; - while (actionNode !== last) - } - actionQueue.action = null; - } - function notifyActionListeners(actionNode) { - actionNode = actionNode.listeners; - for(var i = 0; i < actionNode.length; i++)(0, actionNode[i])(); - } - function actionStateReducer(oldState, newState) { - return newState; - } - function mountActionState(action, initialStateProp) { - if (isHydrating) { - var ssrFormState = workInProgressRoot.formState; - if (null !== ssrFormState) { - a: { - var isMatching = currentlyRenderingFiber; - if (isHydrating) { - if (nextHydratableInstance) { - b: { - var markerInstance = nextHydratableInstance; - for(var inRootOrSingleton = rootOrSingletonContext; 8 !== markerInstance.nodeType;){ - if (!inRootOrSingleton) { - markerInstance = null; - break b; - } - markerInstance = getNextHydratable(markerInstance.nextSibling); - if (null === markerInstance) { - markerInstance = null; - break b; - } - } - inRootOrSingleton = markerInstance.data; - markerInstance = inRootOrSingleton === FORM_STATE_IS_MATCHING || inRootOrSingleton === FORM_STATE_IS_NOT_MATCHING ? markerInstance : null; - } - if (markerInstance) { - nextHydratableInstance = getNextHydratable(markerInstance.nextSibling); - isMatching = markerInstance.data === FORM_STATE_IS_MATCHING; - break a; - } - } - throwOnHydrationMismatch(isMatching); - } - isMatching = !1; - } - isMatching && (initialStateProp = ssrFormState[0]); - } - } - ssrFormState = mountWorkInProgressHook(); - ssrFormState.memoizedState = ssrFormState.baseState = initialStateProp; - isMatching = { - pending: null, - lanes: 0, - dispatch: null, - lastRenderedReducer: actionStateReducer, - lastRenderedState: initialStateProp - }; - ssrFormState.queue = isMatching; - ssrFormState = dispatchSetState.bind(null, currentlyRenderingFiber, isMatching); - isMatching.dispatch = ssrFormState; - isMatching = mountStateImpl(!1); - inRootOrSingleton = dispatchOptimisticSetState.bind(null, currentlyRenderingFiber, !1, isMatching.queue); - isMatching = mountWorkInProgressHook(); - markerInstance = { - state: initialStateProp, - dispatch: null, - action: action, - pending: null - }; - isMatching.queue = markerInstance; - ssrFormState = dispatchActionState.bind(null, currentlyRenderingFiber, markerInstance, inRootOrSingleton, ssrFormState); - markerInstance.dispatch = ssrFormState; - isMatching.memoizedState = action; - return [ - initialStateProp, - ssrFormState, - !1 - ]; - } - function updateActionState(action) { - var stateHook = updateWorkInProgressHook(); - return updateActionStateImpl(stateHook, currentHook, action); - } - function updateActionStateImpl(stateHook, currentStateHook, action) { - currentStateHook = updateReducerImpl(stateHook, currentStateHook, actionStateReducer)[0]; - stateHook = updateReducer(basicStateReducer)[0]; - if ("object" === typeof currentStateHook && null !== currentStateHook && "function" === typeof currentStateHook.then) try { - var state = useThenable(currentStateHook); - } catch (x) { - if (x === SuspenseException) throw SuspenseActionException; - throw x; - } - else state = currentStateHook; - currentStateHook = updateWorkInProgressHook(); - var actionQueue = currentStateHook.queue, dispatch = actionQueue.dispatch; - action !== currentStateHook.memoizedState && (currentlyRenderingFiber.flags |= 2048, pushSimpleEffect(HasEffect | Passive, { - destroy: void 0 - }, actionStateActionEffect.bind(null, actionQueue, action), null)); - return [ - state, - dispatch, - stateHook - ]; - } - function actionStateActionEffect(actionQueue, action) { - actionQueue.action = action; - } - function rerenderActionState(action) { - var stateHook = updateWorkInProgressHook(), currentStateHook = currentHook; - if (null !== currentStateHook) return updateActionStateImpl(stateHook, currentStateHook, action); - updateWorkInProgressHook(); - stateHook = stateHook.memoizedState; - currentStateHook = updateWorkInProgressHook(); - var dispatch = currentStateHook.queue.dispatch; - currentStateHook.memoizedState = action; - return [ - stateHook, - dispatch, - !1 - ]; - } - function pushSimpleEffect(tag, inst, create, deps) { - tag = { - tag: tag, - create: create, - deps: deps, - inst: inst, - next: null - }; - inst = currentlyRenderingFiber.updateQueue; - null === inst && (inst = createFunctionComponentUpdateQueue(), currentlyRenderingFiber.updateQueue = inst); - create = inst.lastEffect; - null === create ? inst.lastEffect = tag.next = tag : (deps = create.next, create.next = tag, tag.next = deps, inst.lastEffect = tag); - return tag; - } - function mountRef(initialValue) { - var hook = mountWorkInProgressHook(); - initialValue = { - current: initialValue - }; - return hook.memoizedState = initialValue; - } - function mountEffectImpl(fiberFlags, hookFlags, create, deps) { - var hook = mountWorkInProgressHook(); - currentlyRenderingFiber.flags |= fiberFlags; - hook.memoizedState = pushSimpleEffect(HasEffect | hookFlags, { - destroy: void 0 - }, create, void 0 === deps ? null : deps); - } - function updateEffectImpl(fiberFlags, hookFlags, create, deps) { - var hook = updateWorkInProgressHook(); - deps = void 0 === deps ? null : deps; - var inst = hook.memoizedState.inst; - null !== currentHook && null !== deps && areHookInputsEqual(deps, currentHook.memoizedState.deps) ? hook.memoizedState = pushSimpleEffect(hookFlags, inst, create, deps) : (currentlyRenderingFiber.flags |= fiberFlags, hook.memoizedState = pushSimpleEffect(HasEffect | hookFlags, inst, create, deps)); - } - function mountEffect(create, deps) { - (currentlyRenderingFiber.mode & StrictEffectsMode) !== NoMode ? mountEffectImpl(545261568, Passive, create, deps) : mountEffectImpl(8390656, Passive, create, deps); - } - function useEffectEventImpl(payload) { - currentlyRenderingFiber.flags |= 4; - var componentUpdateQueue = currentlyRenderingFiber.updateQueue; - if (null === componentUpdateQueue) componentUpdateQueue = createFunctionComponentUpdateQueue(), currentlyRenderingFiber.updateQueue = componentUpdateQueue, componentUpdateQueue.events = [ - payload - ]; - else { - var events = componentUpdateQueue.events; - null === events ? componentUpdateQueue.events = [ - payload - ] : events.push(payload); - } - } - function mountEvent(callback) { - var hook = mountWorkInProgressHook(), ref = { - impl: callback - }; - hook.memoizedState = ref; - return function() { - if ((executionContext & RenderContext) !== NoContext) throw Error("A function wrapped in useEffectEvent can't be called during rendering."); - return ref.impl.apply(void 0, arguments); - }; - } - function updateEvent(callback) { - var ref = updateWorkInProgressHook().memoizedState; - useEffectEventImpl({ - ref: ref, - nextImpl: callback - }); - return function() { - if ((executionContext & RenderContext) !== NoContext) throw Error("A function wrapped in useEffectEvent can't be called during rendering."); - return ref.impl.apply(void 0, arguments); - }; - } - function mountLayoutEffect(create, deps) { - var fiberFlags = 4194308; - (currentlyRenderingFiber.mode & StrictEffectsMode) !== NoMode && (fiberFlags |= 268435456); - return mountEffectImpl(fiberFlags, Layout, create, deps); - } - function imperativeHandleEffect(create, ref) { - if ("function" === typeof ref) { - create = create(); - var refCleanup = ref(create); - return function() { - "function" === typeof refCleanup ? refCleanup() : ref(null); - }; - } - if (null !== ref && void 0 !== ref) return ref.hasOwnProperty("current") || console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.", "an object with keys {" + Object.keys(ref).join(", ") + "}"), create = create(), ref.current = create, function() { - ref.current = null; - }; - } - function mountImperativeHandle(ref, create, deps) { - "function" !== typeof create && console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.", null !== create ? typeof create : "null"); - deps = null !== deps && void 0 !== deps ? deps.concat([ - ref - ]) : null; - var fiberFlags = 4194308; - (currentlyRenderingFiber.mode & StrictEffectsMode) !== NoMode && (fiberFlags |= 268435456); - mountEffectImpl(fiberFlags, Layout, imperativeHandleEffect.bind(null, create, ref), deps); - } - function updateImperativeHandle(ref, create, deps) { - "function" !== typeof create && console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.", null !== create ? typeof create : "null"); - deps = null !== deps && void 0 !== deps ? deps.concat([ - ref - ]) : null; - updateEffectImpl(4, Layout, imperativeHandleEffect.bind(null, create, ref), deps); - } - function mountCallback(callback, deps) { - mountWorkInProgressHook().memoizedState = [ - callback, - void 0 === deps ? null : deps - ]; - return callback; - } - function updateCallback(callback, deps) { - var hook = updateWorkInProgressHook(); - deps = void 0 === deps ? null : deps; - var prevState = hook.memoizedState; - if (null !== deps && areHookInputsEqual(deps, prevState[1])) return prevState[0]; - hook.memoizedState = [ - callback, - deps - ]; - return callback; - } - function mountMemo(nextCreate, deps) { - var hook = mountWorkInProgressHook(); - deps = void 0 === deps ? null : deps; - var nextValue = nextCreate(); - if (shouldDoubleInvokeUserFnsInHooksDEV) { - setIsStrictModeForDevtools(!0); - try { - nextCreate(); - } finally{ - setIsStrictModeForDevtools(!1); - } - } - hook.memoizedState = [ - nextValue, - deps - ]; - return nextValue; - } - function updateMemo(nextCreate, deps) { - var hook = updateWorkInProgressHook(); - deps = void 0 === deps ? null : deps; - var prevState = hook.memoizedState; - if (null !== deps && areHookInputsEqual(deps, prevState[1])) return prevState[0]; - prevState = nextCreate(); - if (shouldDoubleInvokeUserFnsInHooksDEV) { - setIsStrictModeForDevtools(!0); - try { - nextCreate(); - } finally{ - setIsStrictModeForDevtools(!1); - } - } - hook.memoizedState = [ - prevState, - deps - ]; - return prevState; - } - function mountDeferredValue(value, initialValue) { - var hook = mountWorkInProgressHook(); - return mountDeferredValueImpl(hook, value, initialValue); - } - function updateDeferredValue(value, initialValue) { - var hook = updateWorkInProgressHook(); - return updateDeferredValueImpl(hook, currentHook.memoizedState, value, initialValue); - } - function rerenderDeferredValue(value, initialValue) { - var hook = updateWorkInProgressHook(); - return null === currentHook ? mountDeferredValueImpl(hook, value, initialValue) : updateDeferredValueImpl(hook, currentHook.memoizedState, value, initialValue); - } - function mountDeferredValueImpl(hook, value, initialValue) { - if (void 0 === initialValue || 0 !== (renderLanes & 1073741824) && 0 === (workInProgressRootRenderLanes & 261930)) return hook.memoizedState = value; - hook.memoizedState = initialValue; - hook = requestDeferredLane(); - currentlyRenderingFiber.lanes |= hook; - workInProgressRootSkippedLanes |= hook; - return initialValue; - } - function updateDeferredValueImpl(hook, prevValue, value, initialValue) { - if (objectIs(value, prevValue)) return value; - if (null !== currentTreeHiddenStackCursor.current) return hook = mountDeferredValueImpl(hook, value, initialValue), objectIs(hook, prevValue) || (didReceiveUpdate = !0), hook; - if (0 === (renderLanes & 42) || 0 !== (renderLanes & 1073741824) && 0 === (workInProgressRootRenderLanes & 261930)) return didReceiveUpdate = !0, hook.memoizedState = value; - hook = requestDeferredLane(); - currentlyRenderingFiber.lanes |= hook; - workInProgressRootSkippedLanes |= hook; - return prevValue; - } - function releaseAsyncTransition() { - ReactSharedInternals.asyncTransitions--; - } - function startTransition(fiber, queue, pendingState, finishedState, callback) { - var previousPriority = ReactDOMSharedInternals.p; - ReactDOMSharedInternals.p = 0 !== previousPriority && previousPriority < ContinuousEventPriority ? previousPriority : ContinuousEventPriority; - var prevTransition = ReactSharedInternals.T, currentTransition = {}; - currentTransition.types = null !== prevTransition ? prevTransition.types : null; - currentTransition._updatedFibers = new Set(); - ReactSharedInternals.T = currentTransition; - dispatchOptimisticSetState(fiber, !1, queue, pendingState); - try { - var returnValue = callback(), onStartTransitionFinish = ReactSharedInternals.S; - null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue); - if (null !== returnValue && "object" === typeof returnValue && "function" === typeof returnValue.then) { - ReactSharedInternals.asyncTransitions++; - returnValue.then(releaseAsyncTransition, releaseAsyncTransition); - var thenableForFinishedState = chainThenableValue(returnValue, finishedState); - dispatchSetStateInternal(fiber, queue, thenableForFinishedState, requestUpdateLane(fiber)); - } else dispatchSetStateInternal(fiber, queue, finishedState, requestUpdateLane(fiber)); - } catch (error) { - dispatchSetStateInternal(fiber, queue, { - then: function() {}, - status: "rejected", - reason: error - }, requestUpdateLane(fiber)); - } finally{ - ReactDOMSharedInternals.p = previousPriority, null !== prevTransition && null !== currentTransition.types && (null !== prevTransition.types && prevTransition.types !== currentTransition.types && console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."), prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition, null === prevTransition && currentTransition._updatedFibers && (fiber = currentTransition._updatedFibers.size, currentTransition._updatedFibers.clear(), 10 < fiber && console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")); - } - } - function startHostTransition(formFiber, pendingState, action, formData) { - if (5 !== formFiber.tag) throw Error("Expected the form instance to be a HostComponent. This is a bug in React."); - var queue = ensureFormComponentIsStateful(formFiber).queue; - startHostActionTimer(formFiber); - startTransition(formFiber, queue, pendingState, NotPendingTransition, null === action ? noop : function() { - requestFormReset$1(formFiber); - return action(formData); - }); - } - function ensureFormComponentIsStateful(formFiber) { - var existingStateHook = formFiber.memoizedState; - if (null !== existingStateHook) return existingStateHook; - existingStateHook = { - memoizedState: NotPendingTransition, - baseState: NotPendingTransition, - baseQueue: null, - queue: { - pending: null, - lanes: 0, - dispatch: null, - lastRenderedReducer: basicStateReducer, - lastRenderedState: NotPendingTransition - }, - next: null - }; - var initialResetState = {}; - existingStateHook.next = { - memoizedState: initialResetState, - baseState: initialResetState, - baseQueue: null, - queue: { - pending: null, - lanes: 0, - dispatch: null, - lastRenderedReducer: basicStateReducer, - lastRenderedState: initialResetState - }, - next: null - }; - formFiber.memoizedState = existingStateHook; - formFiber = formFiber.alternate; - null !== formFiber && (formFiber.memoizedState = existingStateHook); - return existingStateHook; - } - function requestFormReset$1(formFiber) { - null === ReactSharedInternals.T && console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition."); - var stateHook = ensureFormComponentIsStateful(formFiber); - null === stateHook.next && (stateHook = formFiber.alternate.memoizedState); - dispatchSetStateInternal(formFiber, stateHook.next.queue, {}, requestUpdateLane(formFiber)); - } - function mountTransition() { - var stateHook = mountStateImpl(!1); - stateHook = startTransition.bind(null, currentlyRenderingFiber, stateHook.queue, !0, !1); - mountWorkInProgressHook().memoizedState = stateHook; - return [ - !1, - stateHook - ]; - } - function updateTransition() { - var booleanOrThenable = updateReducer(basicStateReducer)[0], start = updateWorkInProgressHook().memoizedState; - return [ - "boolean" === typeof booleanOrThenable ? booleanOrThenable : useThenable(booleanOrThenable), - start - ]; - } - function rerenderTransition() { - var booleanOrThenable = rerenderReducer(basicStateReducer)[0], start = updateWorkInProgressHook().memoizedState; - return [ - "boolean" === typeof booleanOrThenable ? booleanOrThenable : useThenable(booleanOrThenable), - start - ]; - } - function useHostTransitionStatus() { - return readContext(HostTransitionContext); - } - function mountId() { - var hook = mountWorkInProgressHook(), identifierPrefix = workInProgressRoot.identifierPrefix; - if (isHydrating) { - var treeId = treeContextOverflow; - var idWithLeadingBit = treeContextId; - treeId = (idWithLeadingBit & ~(1 << 32 - clz32(idWithLeadingBit) - 1)).toString(32) + treeId; - identifierPrefix = "_" + identifierPrefix + "R_" + treeId; - treeId = localIdCounter++; - 0 < treeId && (identifierPrefix += "H" + treeId.toString(32)); - identifierPrefix += "_"; - } else treeId = globalClientIdCounter++, identifierPrefix = "_" + identifierPrefix + "r_" + treeId.toString(32) + "_"; - return hook.memoizedState = identifierPrefix; - } - function mountRefresh() { - return mountWorkInProgressHook().memoizedState = refreshCache.bind(null, currentlyRenderingFiber); - } - function refreshCache(fiber, seedKey) { - for(var provider = fiber.return; null !== provider;){ - switch(provider.tag){ - case 24: - case 3: - var lane = requestUpdateLane(provider), refreshUpdate = createUpdate(lane), root = enqueueUpdate(provider, refreshUpdate, lane); - null !== root && (startUpdateTimerByLane(lane, "refresh()", fiber), scheduleUpdateOnFiber(root, provider, lane), entangleTransitions(root, provider, lane)); - fiber = createCache(); - null !== seedKey && void 0 !== seedKey && null !== root && console.error("The seed argument is not enabled outside experimental channels."); - refreshUpdate.payload = { - cache: fiber - }; - return; - } - provider = provider.return; - } - } - function dispatchReducerAction(fiber, queue, action) { - var args = arguments; - "function" === typeof args[3] && console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."); - args = requestUpdateLane(fiber); - var update = { - lane: args, - revertLane: 0, - gesture: null, - action: action, - hasEagerState: !1, - eagerState: null, - next: null - }; - isRenderPhaseUpdate(fiber) ? enqueueRenderPhaseUpdate(queue, update) : (update = enqueueConcurrentHookUpdate(fiber, queue, update, args), null !== update && (startUpdateTimerByLane(args, "dispatch()", fiber), scheduleUpdateOnFiber(update, fiber, args), entangleTransitionUpdate(update, queue, args))); - } - function dispatchSetState(fiber, queue, action) { - var args = arguments; - "function" === typeof args[3] && console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."); - args = requestUpdateLane(fiber); - dispatchSetStateInternal(fiber, queue, action, args) && startUpdateTimerByLane(args, "setState()", fiber); - } - function dispatchSetStateInternal(fiber, queue, action, lane) { - var update = { - lane: lane, - revertLane: 0, - gesture: null, - action: action, - hasEagerState: !1, - eagerState: null, - next: null - }; - if (isRenderPhaseUpdate(fiber)) enqueueRenderPhaseUpdate(queue, update); - else { - var alternate = fiber.alternate; - if (0 === fiber.lanes && (null === alternate || 0 === alternate.lanes) && (alternate = queue.lastRenderedReducer, null !== alternate)) { - var prevDispatcher = ReactSharedInternals.H; - ReactSharedInternals.H = InvalidNestedHooksDispatcherOnUpdateInDEV; - try { - var currentState = queue.lastRenderedState, eagerState = alternate(currentState, action); - update.hasEagerState = !0; - update.eagerState = eagerState; - if (objectIs(eagerState, currentState)) return enqueueUpdate$1(fiber, queue, update, 0), null === workInProgressRoot && finishQueueingConcurrentUpdates(), !1; - } catch (error) {} finally{ - ReactSharedInternals.H = prevDispatcher; - } - } - action = enqueueConcurrentHookUpdate(fiber, queue, update, lane); - if (null !== action) return scheduleUpdateOnFiber(action, fiber, lane), entangleTransitionUpdate(action, queue, lane), !0; - } - return !1; - } - function dispatchOptimisticSetState(fiber, throwIfDuringRender, queue, action) { - null === ReactSharedInternals.T && 0 === currentEntangledLane && console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."); - action = { - lane: 2, - revertLane: requestTransitionLane(), - gesture: null, - action: action, - hasEagerState: !1, - eagerState: null, - next: null - }; - if (isRenderPhaseUpdate(fiber)) { - if (throwIfDuringRender) throw Error("Cannot update optimistic state while rendering."); - console.error("Cannot call startTransition while rendering."); - } else throwIfDuringRender = enqueueConcurrentHookUpdate(fiber, queue, action, 2), null !== throwIfDuringRender && (startUpdateTimerByLane(2, "setOptimistic()", fiber), scheduleUpdateOnFiber(throwIfDuringRender, fiber, 2)); - } - function isRenderPhaseUpdate(fiber) { - var alternate = fiber.alternate; - return fiber === currentlyRenderingFiber || null !== alternate && alternate === currentlyRenderingFiber; - } - function enqueueRenderPhaseUpdate(queue, update) { - didScheduleRenderPhaseUpdateDuringThisPass = didScheduleRenderPhaseUpdate = !0; - var pending = queue.pending; - null === pending ? update.next = update : (update.next = pending.next, pending.next = update); - queue.pending = update; - } - function entangleTransitionUpdate(root, queue, lane) { - if (0 !== (lane & 4194048)) { - var queueLanes = queue.lanes; - queueLanes &= root.pendingLanes; - lane |= queueLanes; - queue.lanes = lane; - markRootEntangled(root, lane); - } - } - function warnOnInvalidCallback(callback) { - if (null !== callback && "function" !== typeof callback) { - var key = String(callback); - didWarnOnInvalidCallback.has(key) || (didWarnOnInvalidCallback.add(key), console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.", callback)); - } - } - function applyDerivedStateFromProps(workInProgress, ctor, getDerivedStateFromProps, nextProps) { - var prevState = workInProgress.memoizedState, partialState = getDerivedStateFromProps(nextProps, prevState); - if (workInProgress.mode & StrictLegacyMode) { - setIsStrictModeForDevtools(!0); - try { - partialState = getDerivedStateFromProps(nextProps, prevState); - } finally{ - setIsStrictModeForDevtools(!1); - } - } - void 0 === partialState && (ctor = getComponentNameFromType(ctor) || "Component", didWarnAboutUndefinedDerivedState.has(ctor) || (didWarnAboutUndefinedDerivedState.add(ctor), console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.", ctor))); - prevState = null === partialState || void 0 === partialState ? prevState : assign({}, prevState, partialState); - workInProgress.memoizedState = prevState; - 0 === workInProgress.lanes && (workInProgress.updateQueue.baseState = prevState); - } - function checkShouldComponentUpdate(workInProgress, ctor, oldProps, newProps, oldState, newState, nextContext) { - var instance = workInProgress.stateNode; - if ("function" === typeof instance.shouldComponentUpdate) { - oldProps = instance.shouldComponentUpdate(newProps, newState, nextContext); - if (workInProgress.mode & StrictLegacyMode) { - setIsStrictModeForDevtools(!0); - try { - oldProps = instance.shouldComponentUpdate(newProps, newState, nextContext); - } finally{ - setIsStrictModeForDevtools(!1); - } - } - void 0 === oldProps && console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.", getComponentNameFromType(ctor) || "Component"); - return oldProps; - } - return ctor.prototype && ctor.prototype.isPureReactComponent ? !shallowEqual(oldProps, newProps) || !shallowEqual(oldState, newState) : !0; - } - function callComponentWillReceiveProps(workInProgress, instance, newProps, nextContext) { - var oldState = instance.state; - "function" === typeof instance.componentWillReceiveProps && instance.componentWillReceiveProps(newProps, nextContext); - "function" === typeof instance.UNSAFE_componentWillReceiveProps && instance.UNSAFE_componentWillReceiveProps(newProps, nextContext); - instance.state !== oldState && (workInProgress = getComponentNameFromFiber(workInProgress) || "Component", didWarnAboutStateAssignmentForComponent.has(workInProgress) || (didWarnAboutStateAssignmentForComponent.add(workInProgress), console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.", workInProgress)), classComponentUpdater.enqueueReplaceState(instance, instance.state, null)); - } - function resolveClassComponentProps(Component, baseProps) { - var newProps = baseProps; - if ("ref" in baseProps) { - newProps = {}; - for(var propName in baseProps)"ref" !== propName && (newProps[propName] = baseProps[propName]); - } - if (Component = Component.defaultProps) { - newProps === baseProps && (newProps = assign({}, newProps)); - for(var _propName in Component)void 0 === newProps[_propName] && (newProps[_propName] = Component[_propName]); - } - return newProps; - } - function defaultOnUncaughtError(error) { - reportGlobalError(error); - console.warn("%s\n\n%s\n", componentName ? "An error occurred in the <" + componentName + "> component." : "An error occurred in one of your React components.", "Consider adding an error boundary to your tree to customize error handling behavior.\nVisit https://react.dev/link/error-boundaries to learn more about error boundaries."); - } - function defaultOnCaughtError(error) { - var componentNameMessage = componentName ? "The above error occurred in the <" + componentName + "> component." : "The above error occurred in one of your React components.", recreateMessage = "React will try to recreate this component tree from scratch using the error boundary you provided, " + ((errorBoundaryName || "Anonymous") + "."); - if ("object" === typeof error && null !== error && "string" === typeof error.environmentName) { - var JSCompiler_inline_result = error.environmentName; - error = [ - "%o\n\n%s\n\n%s\n", - error, - componentNameMessage, - recreateMessage - ].slice(0); - "string" === typeof error[0] ? error.splice(0, 1, badgeFormat + " " + error[0], badgeStyle, pad + JSCompiler_inline_result + pad, resetStyle) : error.splice(0, 0, badgeFormat, badgeStyle, pad + JSCompiler_inline_result + pad, resetStyle); - error.unshift(console); - JSCompiler_inline_result = bind.apply(console.error, error); - JSCompiler_inline_result(); - } else console.error("%o\n\n%s\n\n%s\n", error, componentNameMessage, recreateMessage); - } - function defaultOnRecoverableError(error) { - reportGlobalError(error); - } - function logUncaughtError(root, errorInfo) { - try { - componentName = errorInfo.source ? getComponentNameFromFiber(errorInfo.source) : null; - errorBoundaryName = null; - var error = errorInfo.value; - if (null !== ReactSharedInternals.actQueue) ReactSharedInternals.thrownErrors.push(error); - else { - var onUncaughtError = root.onUncaughtError; - onUncaughtError(error, { - componentStack: errorInfo.stack - }); - } - } catch (e$5) { - setTimeout(function() { - throw e$5; - }); - } - } - function logCaughtError(root, boundary, errorInfo) { - try { - componentName = errorInfo.source ? getComponentNameFromFiber(errorInfo.source) : null; - errorBoundaryName = getComponentNameFromFiber(boundary); - var onCaughtError = root.onCaughtError; - onCaughtError(errorInfo.value, { - componentStack: errorInfo.stack, - errorBoundary: 1 === boundary.tag ? boundary.stateNode : null - }); - } catch (e$6) { - setTimeout(function() { - throw e$6; - }); - } - } - function createRootErrorUpdate(root, errorInfo, lane) { - lane = createUpdate(lane); - lane.tag = CaptureUpdate; - lane.payload = { - element: null - }; - lane.callback = function() { - runWithFiberInDEV(errorInfo.source, logUncaughtError, root, errorInfo); - }; - return lane; - } - function createClassErrorUpdate(lane) { - lane = createUpdate(lane); - lane.tag = CaptureUpdate; - return lane; - } - function initializeClassErrorUpdate(update, root, fiber, errorInfo) { - var getDerivedStateFromError = fiber.type.getDerivedStateFromError; - if ("function" === typeof getDerivedStateFromError) { - var error = errorInfo.value; - update.payload = function() { - return getDerivedStateFromError(error); - }; - update.callback = function() { - markFailedErrorBoundaryForHotReloading(fiber); - runWithFiberInDEV(errorInfo.source, logCaughtError, root, fiber, errorInfo); - }; - } - var inst = fiber.stateNode; - null !== inst && "function" === typeof inst.componentDidCatch && (update.callback = function() { - markFailedErrorBoundaryForHotReloading(fiber); - runWithFiberInDEV(errorInfo.source, logCaughtError, root, fiber, errorInfo); - "function" !== typeof getDerivedStateFromError && (null === legacyErrorBoundariesThatAlreadyFailed ? legacyErrorBoundariesThatAlreadyFailed = new Set([ - this - ]) : legacyErrorBoundariesThatAlreadyFailed.add(this)); - callComponentDidCatchInDEV(this, errorInfo); - "function" === typeof getDerivedStateFromError || 0 === (fiber.lanes & 2) && console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.", getComponentNameFromFiber(fiber) || "Unknown"); - }); - } - function throwException(root, returnFiber, sourceFiber, value, rootRenderLanes) { - sourceFiber.flags |= 32768; - isDevToolsPresent && restorePendingUpdaters(root, rootRenderLanes); - if (null !== value && "object" === typeof value && "function" === typeof value.then) { - returnFiber = sourceFiber.alternate; - null !== returnFiber && propagateParentContextChanges(returnFiber, sourceFiber, rootRenderLanes, !0); - isHydrating && (didSuspendOrErrorDEV = !0); - sourceFiber = suspenseHandlerStackCursor.current; - if (null !== sourceFiber) { - switch(sourceFiber.tag){ - case 31: - case 13: - case 19: - return null === shellBoundary ? renderDidSuspendDelayIfPossible() : null === sourceFiber.alternate && workInProgressRootExitStatus === RootInProgress && (workInProgressRootExitStatus = RootSuspended), sourceFiber.flags &= -257, sourceFiber.flags |= 65536, sourceFiber.lanes = rootRenderLanes, value === noopSuspenseyCommitThenable ? sourceFiber.flags |= 16384 : (returnFiber = sourceFiber.updateQueue, null === returnFiber ? sourceFiber.updateQueue = new Set([ - value - ]) : returnFiber.add(value), attachPingListener(root, value, rootRenderLanes)), !1; - case 22: - return sourceFiber.flags |= 65536, value === noopSuspenseyCommitThenable ? sourceFiber.flags |= 16384 : (returnFiber = sourceFiber.updateQueue, null === returnFiber ? (returnFiber = { - transitions: null, - markerInstances: null, - retryQueue: new Set([ - value - ]) - }, sourceFiber.updateQueue = returnFiber) : (sourceFiber = returnFiber.retryQueue, null === sourceFiber ? returnFiber.retryQueue = new Set([ - value - ]) : sourceFiber.add(value)), attachPingListener(root, value, rootRenderLanes)), !1; - } - throw Error("Unexpected Suspense handler tag (" + sourceFiber.tag + "). This is a bug in React."); - } - attachPingListener(root, value, rootRenderLanes); - renderDidSuspendDelayIfPossible(); - return !1; - } - if (isHydrating) return didSuspendOrErrorDEV = !0, returnFiber = suspenseHandlerStackCursor.current, null !== returnFiber ? (19 === returnFiber.tag && console.error("SuspenseList should never catch while hydrating. This is a bug in React."), 0 === (returnFiber.flags & 65536) && (returnFiber.flags |= 256), returnFiber.flags |= 65536, returnFiber.lanes = rootRenderLanes, value !== HydrationMismatchException && queueHydrationError(createCapturedValueAtFiber(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.", { - cause: value - }), sourceFiber))) : (value !== HydrationMismatchException && queueHydrationError(createCapturedValueAtFiber(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.", { - cause: value - }), sourceFiber)), root = root.current.alternate, root.flags |= 65536, rootRenderLanes &= -rootRenderLanes, root.lanes |= rootRenderLanes, value = createCapturedValueAtFiber(value, sourceFiber), rootRenderLanes = createRootErrorUpdate(root.stateNode, value, rootRenderLanes), enqueueCapturedUpdate(root, rootRenderLanes), workInProgressRootExitStatus !== RootSuspendedWithDelay && (workInProgressRootExitStatus = RootErrored)), !1; - var error = createCapturedValueAtFiber(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.", { - cause: value - }), sourceFiber); - null === workInProgressRootConcurrentErrors ? workInProgressRootConcurrentErrors = [ - error - ] : workInProgressRootConcurrentErrors.push(error); - workInProgressRootExitStatus !== RootSuspendedWithDelay && (workInProgressRootExitStatus = RootErrored); - if (null === returnFiber) return !0; - value = createCapturedValueAtFiber(value, sourceFiber); - sourceFiber = returnFiber; - do { - switch(sourceFiber.tag){ - case 3: - return sourceFiber.flags |= 65536, root = rootRenderLanes & -rootRenderLanes, sourceFiber.lanes |= root, root = createRootErrorUpdate(sourceFiber.stateNode, value, root), enqueueCapturedUpdate(sourceFiber, root), !1; - case 1: - returnFiber = sourceFiber.type; - error = sourceFiber.stateNode; - if (0 === (sourceFiber.flags & 128) && ("function" === typeof returnFiber.getDerivedStateFromError || null !== error && "function" === typeof error.componentDidCatch && (null === legacyErrorBoundariesThatAlreadyFailed || !legacyErrorBoundariesThatAlreadyFailed.has(error)))) return sourceFiber.flags |= 65536, rootRenderLanes &= -rootRenderLanes, sourceFiber.lanes |= rootRenderLanes, rootRenderLanes = createClassErrorUpdate(rootRenderLanes), initializeClassErrorUpdate(rootRenderLanes, root, sourceFiber, value), enqueueCapturedUpdate(sourceFiber, rootRenderLanes), !1; - break; - case 22: - if (null !== sourceFiber.memoizedState) return sourceFiber.flags |= 65536, !1; - } - sourceFiber = sourceFiber.return; - }while (null !== sourceFiber) - return !1; - } - function reconcileChildren(current, workInProgress, nextChildren, renderLanes) { - workInProgress.child = null === current ? mountChildFibers(workInProgress, null, nextChildren, renderLanes) : reconcileChildFibers(workInProgress, current.child, nextChildren, renderLanes); - } - function updateForwardRef(current, workInProgress, Component, nextProps, renderLanes) { - Component = Component.render; - var ref = workInProgress.ref; - if ("ref" in nextProps) { - var propsWithoutRef = {}; - for(var key in nextProps)"ref" !== key && (propsWithoutRef[key] = nextProps[key]); - } else propsWithoutRef = nextProps; - prepareToReadContext(workInProgress); - nextProps = renderWithHooks(current, workInProgress, Component, propsWithoutRef, ref, renderLanes); - key = checkDidRenderIdHook(); - if (null !== current && !didReceiveUpdate) return bailoutHooks(current, workInProgress, renderLanes), bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes); - isHydrating && key && pushMaterializedTreeId(workInProgress); - workInProgress.flags |= 1; - reconcileChildren(current, workInProgress, nextProps, renderLanes); - return workInProgress.child; - } - function updateMemoComponent(current, workInProgress, Component, nextProps, renderLanes) { - if (null === current) { - var type = Component.type; - if ("function" === typeof type && !shouldConstruct(type) && void 0 === type.defaultProps && null === Component.compare) return Component = resolveFunctionForHotReloading(type), workInProgress.tag = 15, workInProgress.type = Component, validateFunctionComponentInDev(workInProgress, type), updateSimpleMemoComponent(current, workInProgress, Component, nextProps, renderLanes); - current = createFiberFromTypeAndProps(Component.type, null, nextProps, workInProgress, workInProgress.mode, renderLanes); - current.ref = workInProgress.ref; - current.return = workInProgress; - return workInProgress.child = current; - } - type = current.child; - if (!checkScheduledUpdateOrContext(current, renderLanes)) { - var prevProps = type.memoizedProps; - Component = Component.compare; - Component = null !== Component ? Component : shallowEqual; - if (Component(prevProps, nextProps) && current.ref === workInProgress.ref) return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes); - } - workInProgress.flags |= 1; - current = createWorkInProgress(type, nextProps); - current.ref = workInProgress.ref; - current.return = workInProgress; - return workInProgress.child = current; - } - function updateSimpleMemoComponent(current, workInProgress, Component, nextProps, renderLanes) { - if (null !== current) { - var prevProps = current.memoizedProps; - if (shallowEqual(prevProps, nextProps) && current.ref === workInProgress.ref && workInProgress.type === current.type) if (didReceiveUpdate = !1, workInProgress.pendingProps = nextProps = prevProps, checkScheduledUpdateOrContext(current, renderLanes)) 0 !== (current.flags & 131072) && (didReceiveUpdate = !0); - else return workInProgress.lanes = current.lanes, bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes); - } - return updateFunctionComponent(current, workInProgress, Component, nextProps, renderLanes); - } - function updateOffscreenComponent(current, workInProgress, renderLanes, nextProps) { - var nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null; - null === current && null === workInProgress.stateNode && (workInProgress.stateNode = { - _visibility: OffscreenVisible, - _pendingMarkers: null, - _retryCache: null, - _transitions: null - }); - if ("hidden" === nextProps.mode) { - if (0 !== (workInProgress.flags & 128)) { - prevState = null !== prevState ? prevState.baseLanes | renderLanes : renderLanes; - if (null !== current) { - nextProps = workInProgress.child = current.child; - for(nextChildren = 0; null !== nextProps;)nextChildren = nextChildren | nextProps.lanes | nextProps.childLanes, nextProps = nextProps.sibling; - nextProps = nextChildren & ~prevState; - } else nextProps = 0, workInProgress.child = null; - return deferHiddenOffscreenComponent(current, workInProgress, prevState, renderLanes, nextProps); - } - if (0 !== (renderLanes & 536870912)) workInProgress.memoizedState = { - baseLanes: 0, - cachePool: null - }, null !== current && pushTransition(workInProgress, null !== prevState ? prevState.cachePool : null), null !== prevState ? pushHiddenContext(workInProgress, prevState) : reuseHiddenContextOnStack(workInProgress), pushOffscreenSuspenseHandler(workInProgress); - else return nextProps = workInProgress.lanes = 536870912, deferHiddenOffscreenComponent(current, workInProgress, null !== prevState ? prevState.baseLanes | renderLanes : renderLanes, renderLanes, nextProps); - } else null !== prevState ? (pushTransition(workInProgress, prevState.cachePool), pushHiddenContext(workInProgress, prevState), reuseSuspenseHandlerOnStack(workInProgress), workInProgress.memoizedState = null) : (null !== current && pushTransition(workInProgress, null), reuseHiddenContextOnStack(workInProgress), reuseSuspenseHandlerOnStack(workInProgress)); - reconcileChildren(current, workInProgress, nextChildren, renderLanes); - return workInProgress.child; - } - function bailoutOffscreenComponent(current, workInProgress) { - null !== current && 22 === current.tag || null !== workInProgress.stateNode || (workInProgress.stateNode = { - _visibility: OffscreenVisible, - _pendingMarkers: null, - _retryCache: null, - _transitions: null - }); - return workInProgress.sibling; - } - function deferHiddenOffscreenComponent(current, workInProgress, nextBaseLanes, renderLanes, remainingChildLanes) { - var JSCompiler_inline_result = peekCacheFromPool(); - JSCompiler_inline_result = null === JSCompiler_inline_result ? null : { - parent: CacheContext._currentValue, - pool: JSCompiler_inline_result - }; - workInProgress.memoizedState = { - baseLanes: nextBaseLanes, - cachePool: JSCompiler_inline_result - }; - null !== current && pushTransition(workInProgress, null); - reuseHiddenContextOnStack(workInProgress); - pushOffscreenSuspenseHandler(workInProgress); - null !== current && propagateParentContextChanges(current, workInProgress, renderLanes, !0); - workInProgress.childLanes = remainingChildLanes; - return null; - } - function mountActivityChildren(workInProgress, nextProps) { - var hiddenProp = nextProps.hidden; - void 0 !== hiddenProp && console.error('<Activity> doesn\'t accept a hidden prop. Use mode="hidden" instead.\n- <Activity %s>\n+ <Activity %s>', !0 === hiddenProp ? "hidden" : !1 === hiddenProp ? "hidden={false}" : "hidden={...}", hiddenProp ? 'mode="hidden"' : 'mode="visible"'); - nextProps = mountWorkInProgressOffscreenFiber({ - mode: nextProps.mode, - children: nextProps.children - }, workInProgress.mode); - nextProps.ref = workInProgress.ref; - workInProgress.child = nextProps; - nextProps.return = workInProgress; - return nextProps; - } - function retryActivityComponentWithoutHydrating(current, workInProgress, renderLanes) { - reconcileChildFibers(workInProgress, current.child, null, renderLanes); - current = mountActivityChildren(workInProgress, workInProgress.pendingProps); - current.flags |= 2; - popSuspenseHandler(workInProgress); - workInProgress.memoizedState = null; - return current; - } - function updateActivityComponent(current, workInProgress, renderLanes) { - var nextProps = workInProgress.pendingProps, didSuspend = 0 !== (workInProgress.flags & 128); - workInProgress.flags &= -129; - if (null === current) { - if (isHydrating) { - if ("hidden" === nextProps.mode) return current = mountActivityChildren(workInProgress, nextProps), workInProgress.lanes = 536870912, bailoutOffscreenComponent(null, current); - pushDehydratedActivitySuspenseHandler(workInProgress); - (current = nextHydratableInstance) ? (renderLanes = canHydrateHydrationBoundary(current, rootOrSingletonContext), renderLanes = null !== renderLanes && renderLanes.data === ACTIVITY_START_DATA ? renderLanes : null, null !== renderLanes && (nextProps = { - dehydrated: renderLanes, - treeContext: getSuspendedTreeContext(), - retryLane: 536870912, - hydrationErrors: null - }, workInProgress.memoizedState = nextProps, nextProps = createFiberFromDehydratedFragment(renderLanes), nextProps.return = workInProgress, workInProgress.child = nextProps, hydrationParentFiber = workInProgress, nextHydratableInstance = null)) : renderLanes = null; - if (null === renderLanes) throw warnNonHydratedInstance(workInProgress, current), throwOnHydrationMismatch(workInProgress); - workInProgress.lanes = 536870912; - return null; - } - return mountActivityChildren(workInProgress, nextProps); - } - var prevState = current.memoizedState; - if (null !== prevState) { - var activityInstance = prevState.dehydrated; - pushDehydratedActivitySuspenseHandler(workInProgress); - if (didSuspend) if (workInProgress.flags & 256) workInProgress.flags &= -257, workInProgress = retryActivityComponentWithoutHydrating(current, workInProgress, renderLanes); - else if (null !== workInProgress.memoizedState) workInProgress.child = current.child, workInProgress.flags |= 128, workInProgress = null; - else throw Error("Client rendering an Activity suspended it again. This is a bug in React."); - else if (warnIfHydrating(), 0 !== (renderLanes & 536870912) && markRenderDerivedCause(workInProgress), didReceiveUpdate || propagateParentContextChanges(current, workInProgress, renderLanes, !1), didSuspend = 0 !== (renderLanes & current.childLanes), didReceiveUpdate || didSuspend) { - nextProps = workInProgressRoot; - if (null !== nextProps && (activityInstance = getBumpedLaneForHydration(nextProps, renderLanes), 0 !== activityInstance && activityInstance !== prevState.retryLane)) throw prevState.retryLane = activityInstance, enqueueConcurrentRenderForLane(current, activityInstance), scheduleUpdateOnFiber(nextProps, current, activityInstance), SelectiveHydrationException; - renderDidSuspendDelayIfPossible(); - workInProgress = retryActivityComponentWithoutHydrating(current, workInProgress, renderLanes); - } else current = prevState.treeContext, nextHydratableInstance = getNextHydratable(activityInstance.nextSibling), hydrationParentFiber = workInProgress, isHydrating = !0, hydrationErrors = null, didSuspendOrErrorDEV = !1, hydrationDiffRootDEV = null, rootOrSingletonContext = !1, null !== current && restoreSuspendedTreeContext(workInProgress, current), workInProgress = mountActivityChildren(workInProgress, nextProps), workInProgress.flags |= 4096; - return workInProgress; - } - prevState = current.child; - nextProps = { - mode: nextProps.mode, - children: nextProps.children - }; - 0 !== (renderLanes & 536870912) && 0 !== (renderLanes & current.lanes) && markRenderDerivedCause(workInProgress); - current = createWorkInProgress(prevState, nextProps); - current.ref = workInProgress.ref; - workInProgress.child = current; - current.return = workInProgress; - return current; - } - function markRef(current, workInProgress) { - var ref = workInProgress.ref; - if (null === ref) null !== current && null !== current.ref && (workInProgress.flags |= 4194816); - else { - if ("function" !== typeof ref && "object" !== typeof ref) throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null."); - if (null === current || current.ref !== ref) workInProgress.flags |= 4194816; - } - } - function updateFunctionComponent(current, workInProgress, Component, nextProps, renderLanes) { - if (Component.prototype && "function" === typeof Component.prototype.render) { - var componentName = getComponentNameFromType(Component) || "Unknown"; - didWarnAboutBadClass[componentName] || (console.error("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.", componentName, componentName), didWarnAboutBadClass[componentName] = !0); - } - workInProgress.mode & StrictLegacyMode && ReactStrictModeWarnings.recordLegacyContextWarning(workInProgress, null); - null === current && (validateFunctionComponentInDev(workInProgress, workInProgress.type), Component.contextTypes && (componentName = getComponentNameFromType(Component) || "Unknown", didWarnAboutContextTypes[componentName] || (didWarnAboutContextTypes[componentName] = !0, console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)", componentName)))); - prepareToReadContext(workInProgress); - Component = renderWithHooks(current, workInProgress, Component, nextProps, void 0, renderLanes); - nextProps = checkDidRenderIdHook(); - if (null !== current && !didReceiveUpdate) return bailoutHooks(current, workInProgress, renderLanes), bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes); - isHydrating && nextProps && pushMaterializedTreeId(workInProgress); - workInProgress.flags |= 1; - reconcileChildren(current, workInProgress, Component, renderLanes); - return workInProgress.child; - } - function replayFunctionComponent(current, workInProgress, nextProps, Component, secondArg, renderLanes) { - prepareToReadContext(workInProgress); - hookTypesUpdateIndexDev = -1; - ignorePreviousDependencies = null !== current && current.type !== workInProgress.type; - workInProgress.updateQueue = null; - nextProps = renderWithHooksAgain(workInProgress, Component, nextProps, secondArg); - finishRenderingHooks(current, workInProgress); - Component = checkDidRenderIdHook(); - if (null !== current && !didReceiveUpdate) return bailoutHooks(current, workInProgress, renderLanes), bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes); - isHydrating && Component && pushMaterializedTreeId(workInProgress); - workInProgress.flags |= 1; - reconcileChildren(current, workInProgress, nextProps, renderLanes); - return workInProgress.child; - } - function updateClassComponent(current, workInProgress, Component, nextProps, renderLanes) { - switch(shouldErrorImpl(workInProgress)){ - case !1: - var _instance = workInProgress.stateNode, state = new workInProgress.type(workInProgress.memoizedProps, _instance.context).state; - _instance.updater.enqueueSetState(_instance, state, null); - break; - case !0: - workInProgress.flags |= 128; - workInProgress.flags |= 65536; - _instance = Error("Simulated error coming from DevTools"); - var lane = renderLanes & -renderLanes; - workInProgress.lanes |= lane; - state = workInProgressRoot; - if (null === state) throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue."); - lane = createClassErrorUpdate(lane); - initializeClassErrorUpdate(lane, state, workInProgress, createCapturedValueAtFiber(_instance, workInProgress)); - enqueueCapturedUpdate(workInProgress, lane); - } - prepareToReadContext(workInProgress); - if (null === workInProgress.stateNode) { - state = emptyContextObject; - _instance = Component.contextType; - "contextType" in Component && null !== _instance && (void 0 === _instance || _instance.$$typeof !== REACT_CONTEXT_TYPE) && !didWarnAboutInvalidateContextType.has(Component) && (didWarnAboutInvalidateContextType.add(Component), lane = void 0 === _instance ? " However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file." : "object" !== typeof _instance ? " However, it is set to a " + typeof _instance + "." : _instance.$$typeof === REACT_CONSUMER_TYPE ? " Did you accidentally pass the Context.Consumer instead?" : " However, it is set to an object with keys {" + Object.keys(_instance).join(", ") + "}.", console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s", getComponentNameFromType(Component) || "Component", lane)); - "object" === typeof _instance && null !== _instance && (state = readContext(_instance)); - _instance = new Component(nextProps, state); - if (workInProgress.mode & StrictLegacyMode) { - setIsStrictModeForDevtools(!0); - try { - _instance = new Component(nextProps, state); - } finally{ - setIsStrictModeForDevtools(!1); - } - } - state = workInProgress.memoizedState = null !== _instance.state && void 0 !== _instance.state ? _instance.state : null; - _instance.updater = classComponentUpdater; - workInProgress.stateNode = _instance; - _instance._reactInternals = workInProgress; - _instance._reactInternalInstance = fakeInternalInstance; - "function" === typeof Component.getDerivedStateFromProps && null === state && (state = getComponentNameFromType(Component) || "Component", didWarnAboutUninitializedState.has(state) || (didWarnAboutUninitializedState.add(state), console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.", state, null === _instance.state ? "null" : "undefined", state))); - if ("function" === typeof Component.getDerivedStateFromProps || "function" === typeof _instance.getSnapshotBeforeUpdate) { - var foundWillUpdateName = lane = state = null; - "function" === typeof _instance.componentWillMount && !0 !== _instance.componentWillMount.__suppressDeprecationWarning ? state = "componentWillMount" : "function" === typeof _instance.UNSAFE_componentWillMount && (state = "UNSAFE_componentWillMount"); - "function" === typeof _instance.componentWillReceiveProps && !0 !== _instance.componentWillReceiveProps.__suppressDeprecationWarning ? lane = "componentWillReceiveProps" : "function" === typeof _instance.UNSAFE_componentWillReceiveProps && (lane = "UNSAFE_componentWillReceiveProps"); - "function" === typeof _instance.componentWillUpdate && !0 !== _instance.componentWillUpdate.__suppressDeprecationWarning ? foundWillUpdateName = "componentWillUpdate" : "function" === typeof _instance.UNSAFE_componentWillUpdate && (foundWillUpdateName = "UNSAFE_componentWillUpdate"); - if (null !== state || null !== lane || null !== foundWillUpdateName) { - _instance = getComponentNameFromType(Component) || "Component"; - var newApiName = "function" === typeof Component.getDerivedStateFromProps ? "getDerivedStateFromProps()" : "getSnapshotBeforeUpdate()"; - didWarnAboutLegacyLifecyclesAndDerivedState.has(_instance) || (didWarnAboutLegacyLifecyclesAndDerivedState.add(_instance), console.error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n%s uses %s but also contains the following legacy lifecycles:%s%s%s\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://react.dev/link/unsafe-component-lifecycles", _instance, newApiName, null !== state ? "\n " + state : "", null !== lane ? "\n " + lane : "", null !== foundWillUpdateName ? "\n " + foundWillUpdateName : "")); - } - } - _instance = workInProgress.stateNode; - state = getComponentNameFromType(Component) || "Component"; - _instance.render || (Component.prototype && "function" === typeof Component.prototype.render ? console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?", state) : console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.", state)); - !_instance.getInitialState || _instance.getInitialState.isReactClassApproved || _instance.state || console.error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?", state); - _instance.getDefaultProps && !_instance.getDefaultProps.isReactClassApproved && console.error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.", state); - _instance.contextType && console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.", state); - Component.childContextTypes && !didWarnAboutChildContextTypes.has(Component) && (didWarnAboutChildContextTypes.add(Component), console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)", state)); - Component.contextTypes && !didWarnAboutContextTypes$1.has(Component) && (didWarnAboutContextTypes$1.add(Component), console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)", state)); - "function" === typeof _instance.componentShouldUpdate && console.error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.", state); - Component.prototype && Component.prototype.isPureReactComponent && "undefined" !== typeof _instance.shouldComponentUpdate && console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.", getComponentNameFromType(Component) || "A pure component"); - "function" === typeof _instance.componentDidUnmount && console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?", state); - "function" === typeof _instance.componentDidReceiveProps && console.error("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().", state); - "function" === typeof _instance.componentWillRecieveProps && console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?", state); - "function" === typeof _instance.UNSAFE_componentWillRecieveProps && console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?", state); - lane = _instance.props !== nextProps; - void 0 !== _instance.props && lane && console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.", state); - _instance.defaultProps && console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.", state, state); - "function" !== typeof _instance.getSnapshotBeforeUpdate || "function" === typeof _instance.componentDidUpdate || didWarnAboutGetSnapshotBeforeUpdateWithoutDidUpdate.has(Component) || (didWarnAboutGetSnapshotBeforeUpdateWithoutDidUpdate.add(Component), console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.", getComponentNameFromType(Component))); - "function" === typeof _instance.getDerivedStateFromProps && console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.", state); - "function" === typeof _instance.getDerivedStateFromError && console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.", state); - "function" === typeof Component.getSnapshotBeforeUpdate && console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.", state); - (lane = _instance.state) && ("object" !== typeof lane || isArrayImpl(lane)) && console.error("%s.state: must be set to an object or null", state); - "function" === typeof _instance.getChildContext && "object" !== typeof Component.childContextTypes && console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().", state); - _instance = workInProgress.stateNode; - _instance.props = nextProps; - _instance.state = workInProgress.memoizedState; - _instance.refs = {}; - initializeUpdateQueue(workInProgress); - state = Component.contextType; - _instance.context = "object" === typeof state && null !== state ? readContext(state) : emptyContextObject; - _instance.state === nextProps && (state = getComponentNameFromType(Component) || "Component", didWarnAboutDirectlyAssigningPropsToState.has(state) || (didWarnAboutDirectlyAssigningPropsToState.add(state), console.error("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.", state))); - workInProgress.mode & StrictLegacyMode && ReactStrictModeWarnings.recordLegacyContextWarning(workInProgress, _instance); - ReactStrictModeWarnings.recordUnsafeLifecycleWarnings(workInProgress, _instance); - _instance.state = workInProgress.memoizedState; - state = Component.getDerivedStateFromProps; - "function" === typeof state && (applyDerivedStateFromProps(workInProgress, Component, state, nextProps), _instance.state = workInProgress.memoizedState); - "function" === typeof Component.getDerivedStateFromProps || "function" === typeof _instance.getSnapshotBeforeUpdate || "function" !== typeof _instance.UNSAFE_componentWillMount && "function" !== typeof _instance.componentWillMount || (state = _instance.state, "function" === typeof _instance.componentWillMount && _instance.componentWillMount(), "function" === typeof _instance.UNSAFE_componentWillMount && _instance.UNSAFE_componentWillMount(), state !== _instance.state && (console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.", getComponentNameFromFiber(workInProgress) || "Component"), classComponentUpdater.enqueueReplaceState(_instance, _instance.state, null)), processUpdateQueue(workInProgress, nextProps, _instance, renderLanes), suspendIfUpdateReadFromEntangledAsyncAction(), _instance.state = workInProgress.memoizedState); - "function" === typeof _instance.componentDidMount && (workInProgress.flags |= 4194308); - (workInProgress.mode & StrictEffectsMode) !== NoMode && (workInProgress.flags |= 268435456); - _instance = !0; - } else if (null === current) { - _instance = workInProgress.stateNode; - var unresolvedOldProps = workInProgress.memoizedProps; - lane = resolveClassComponentProps(Component, unresolvedOldProps); - _instance.props = lane; - var oldContext = _instance.context; - foundWillUpdateName = Component.contextType; - state = emptyContextObject; - "object" === typeof foundWillUpdateName && null !== foundWillUpdateName && (state = readContext(foundWillUpdateName)); - newApiName = Component.getDerivedStateFromProps; - foundWillUpdateName = "function" === typeof newApiName || "function" === typeof _instance.getSnapshotBeforeUpdate; - unresolvedOldProps = workInProgress.pendingProps !== unresolvedOldProps; - foundWillUpdateName || "function" !== typeof _instance.UNSAFE_componentWillReceiveProps && "function" !== typeof _instance.componentWillReceiveProps || (unresolvedOldProps || oldContext !== state) && callComponentWillReceiveProps(workInProgress, _instance, nextProps, state); - hasForceUpdate = !1; - var oldState = workInProgress.memoizedState; - _instance.state = oldState; - processUpdateQueue(workInProgress, nextProps, _instance, renderLanes); - suspendIfUpdateReadFromEntangledAsyncAction(); - oldContext = workInProgress.memoizedState; - unresolvedOldProps || oldState !== oldContext || hasForceUpdate ? ("function" === typeof newApiName && (applyDerivedStateFromProps(workInProgress, Component, newApiName, nextProps), oldContext = workInProgress.memoizedState), (lane = hasForceUpdate || checkShouldComponentUpdate(workInProgress, Component, lane, nextProps, oldState, oldContext, state)) ? (foundWillUpdateName || "function" !== typeof _instance.UNSAFE_componentWillMount && "function" !== typeof _instance.componentWillMount || ("function" === typeof _instance.componentWillMount && _instance.componentWillMount(), "function" === typeof _instance.UNSAFE_componentWillMount && _instance.UNSAFE_componentWillMount()), "function" === typeof _instance.componentDidMount && (workInProgress.flags |= 4194308), (workInProgress.mode & StrictEffectsMode) !== NoMode && (workInProgress.flags |= 268435456)) : ("function" === typeof _instance.componentDidMount && (workInProgress.flags |= 4194308), (workInProgress.mode & StrictEffectsMode) !== NoMode && (workInProgress.flags |= 268435456), workInProgress.memoizedProps = nextProps, workInProgress.memoizedState = oldContext), _instance.props = nextProps, _instance.state = oldContext, _instance.context = state, _instance = lane) : ("function" === typeof _instance.componentDidMount && (workInProgress.flags |= 4194308), (workInProgress.mode & StrictEffectsMode) !== NoMode && (workInProgress.flags |= 268435456), _instance = !1); - } else { - _instance = workInProgress.stateNode; - cloneUpdateQueue(current, workInProgress); - state = workInProgress.memoizedProps; - foundWillUpdateName = resolveClassComponentProps(Component, state); - _instance.props = foundWillUpdateName; - newApiName = workInProgress.pendingProps; - oldState = _instance.context; - oldContext = Component.contextType; - lane = emptyContextObject; - "object" === typeof oldContext && null !== oldContext && (lane = readContext(oldContext)); - unresolvedOldProps = Component.getDerivedStateFromProps; - (oldContext = "function" === typeof unresolvedOldProps || "function" === typeof _instance.getSnapshotBeforeUpdate) || "function" !== typeof _instance.UNSAFE_componentWillReceiveProps && "function" !== typeof _instance.componentWillReceiveProps || (state !== newApiName || oldState !== lane) && callComponentWillReceiveProps(workInProgress, _instance, nextProps, lane); - hasForceUpdate = !1; - oldState = workInProgress.memoizedState; - _instance.state = oldState; - processUpdateQueue(workInProgress, nextProps, _instance, renderLanes); - suspendIfUpdateReadFromEntangledAsyncAction(); - var newState = workInProgress.memoizedState; - state !== newApiName || oldState !== newState || hasForceUpdate || null !== current && null !== current.dependencies && checkIfContextChanged(current.dependencies) ? ("function" === typeof unresolvedOldProps && (applyDerivedStateFromProps(workInProgress, Component, unresolvedOldProps, nextProps), newState = workInProgress.memoizedState), (foundWillUpdateName = hasForceUpdate || checkShouldComponentUpdate(workInProgress, Component, foundWillUpdateName, nextProps, oldState, newState, lane) || null !== current && null !== current.dependencies && checkIfContextChanged(current.dependencies)) ? (oldContext || "function" !== typeof _instance.UNSAFE_componentWillUpdate && "function" !== typeof _instance.componentWillUpdate || ("function" === typeof _instance.componentWillUpdate && _instance.componentWillUpdate(nextProps, newState, lane), "function" === typeof _instance.UNSAFE_componentWillUpdate && _instance.UNSAFE_componentWillUpdate(nextProps, newState, lane)), "function" === typeof _instance.componentDidUpdate && (workInProgress.flags |= 4), "function" === typeof _instance.getSnapshotBeforeUpdate && (workInProgress.flags |= 1024)) : ("function" !== typeof _instance.componentDidUpdate || state === current.memoizedProps && oldState === current.memoizedState || (workInProgress.flags |= 4), "function" !== typeof _instance.getSnapshotBeforeUpdate || state === current.memoizedProps && oldState === current.memoizedState || (workInProgress.flags |= 1024), workInProgress.memoizedProps = nextProps, workInProgress.memoizedState = newState), _instance.props = nextProps, _instance.state = newState, _instance.context = lane, _instance = foundWillUpdateName) : ("function" !== typeof _instance.componentDidUpdate || state === current.memoizedProps && oldState === current.memoizedState || (workInProgress.flags |= 4), "function" !== typeof _instance.getSnapshotBeforeUpdate || state === current.memoizedProps && oldState === current.memoizedState || (workInProgress.flags |= 1024), _instance = !1); - } - lane = _instance; - markRef(current, workInProgress); - state = 0 !== (workInProgress.flags & 128); - if (lane || state) { - lane = workInProgress.stateNode; - setCurrentFiber(workInProgress); - if (state && "function" !== typeof Component.getDerivedStateFromError) Component = null, profilerStartTime = -1; - else if (Component = callRenderInDEV(lane), workInProgress.mode & StrictLegacyMode) { - setIsStrictModeForDevtools(!0); - try { - callRenderInDEV(lane); - } finally{ - setIsStrictModeForDevtools(!1); - } - } - workInProgress.flags |= 1; - null !== current && state ? (workInProgress.child = reconcileChildFibers(workInProgress, current.child, null, renderLanes), workInProgress.child = reconcileChildFibers(workInProgress, null, Component, renderLanes)) : reconcileChildren(current, workInProgress, Component, renderLanes); - workInProgress.memoizedState = lane.state; - current = workInProgress.child; - } else current = bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes); - renderLanes = workInProgress.stateNode; - _instance && renderLanes.props !== nextProps && (didWarnAboutReassigningProps || console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.", getComponentNameFromFiber(workInProgress) || "a component"), didWarnAboutReassigningProps = !0); - return current; - } - function mountHostRootWithoutHydrating(current, workInProgress, nextChildren, renderLanes) { - resetHydrationState(); - workInProgress.flags |= 256; - reconcileChildren(current, workInProgress, nextChildren, renderLanes); - return workInProgress.child; - } - function validateFunctionComponentInDev(workInProgress, Component) { - Component && Component.childContextTypes && console.error("childContextTypes cannot be defined on a function component.\n %s.childContextTypes = ...", Component.displayName || Component.name || "Component"); - "function" === typeof Component.getDerivedStateFromProps && (workInProgress = getComponentNameFromType(Component) || "Unknown", didWarnAboutGetDerivedStateOnFunctionComponent[workInProgress] || (console.error("%s: Function components do not support getDerivedStateFromProps.", workInProgress), didWarnAboutGetDerivedStateOnFunctionComponent[workInProgress] = !0)); - "object" === typeof Component.contextType && null !== Component.contextType && (Component = getComponentNameFromType(Component) || "Unknown", didWarnAboutContextTypeOnFunctionComponent[Component] || (console.error("%s: Function components do not support contextType.", Component), didWarnAboutContextTypeOnFunctionComponent[Component] = !0)); - } - function mountSuspenseOffscreenState(renderLanes) { - return { - baseLanes: renderLanes, - cachePool: getSuspendedCache() - }; - } - function getRemainingWorkInPrimaryTree(current, primaryTreeDidDefer, renderLanes) { - current = null !== current ? current.childLanes & ~renderLanes : 0; - primaryTreeDidDefer && (current |= workInProgressDeferredLane); - return current; - } - function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_digest_2939; - var JSCompiler_object_inline_stack_2940 = workInProgress.pendingProps; - shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_message_2938 = !1; - var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_digest_2939 = didSuspend) || (JSCompiler_object_inline_digest_2939 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_digest_2939 && (JSCompiler_object_inline_message_2938 = !0, workInProgress.flags &= -129); - JSCompiler_object_inline_digest_2939 = 0 !== (workInProgress.flags & 32); - workInProgress.flags &= -33; - if (null === current) { - if (isHydrating) { - JSCompiler_object_inline_message_2938 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); - (current = nextHydratableInstance) ? (renderLanes = canHydrateHydrationBoundary(current, rootOrSingletonContext), renderLanes = null !== renderLanes && renderLanes.data !== ACTIVITY_START_DATA ? renderLanes : null, null !== renderLanes && (JSCompiler_object_inline_digest_2939 = { - dehydrated: renderLanes, - treeContext: getSuspendedTreeContext(), - retryLane: 536870912, - hydrationErrors: null - }, workInProgress.memoizedState = JSCompiler_object_inline_digest_2939, JSCompiler_object_inline_digest_2939 = createFiberFromDehydratedFragment(renderLanes), JSCompiler_object_inline_digest_2939.return = workInProgress, workInProgress.child = JSCompiler_object_inline_digest_2939, hydrationParentFiber = workInProgress, nextHydratableInstance = null)) : renderLanes = null; - if (null === renderLanes) throw warnNonHydratedInstance(workInProgress, current), throwOnHydrationMismatch(workInProgress); - isSuspenseInstanceFallback(renderLanes) ? workInProgress.lanes = 32 : workInProgress.lanes = 536870912; - return null; - } - var nextPrimaryChildren = JSCompiler_object_inline_stack_2940.children; - JSCompiler_object_inline_stack_2940 = JSCompiler_object_inline_stack_2940.fallback; - if (JSCompiler_object_inline_message_2938) { - reuseSuspenseHandlerOnStack(workInProgress); - var mode = workInProgress.mode; - nextPrimaryChildren = mountWorkInProgressOffscreenFiber({ - mode: "hidden", - children: nextPrimaryChildren - }, mode); - JSCompiler_object_inline_stack_2940 = createFiberFromFragment(JSCompiler_object_inline_stack_2940, mode, renderLanes, null); - nextPrimaryChildren.return = workInProgress; - JSCompiler_object_inline_stack_2940.return = workInProgress; - nextPrimaryChildren.sibling = JSCompiler_object_inline_stack_2940; - workInProgress.child = nextPrimaryChildren; - JSCompiler_object_inline_stack_2940 = workInProgress.child; - JSCompiler_object_inline_stack_2940.memoizedState = mountSuspenseOffscreenState(renderLanes); - JSCompiler_object_inline_stack_2940.childLanes = getRemainingWorkInPrimaryTree(current, JSCompiler_object_inline_digest_2939, renderLanes); - workInProgress.memoizedState = SUSPENDED_MARKER; - return bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2940); - } - pushPrimaryTreeSuspenseHandler(workInProgress); - return mountSuspensePrimaryChildren(workInProgress, nextPrimaryChildren); - } - var prevState = current.memoizedState; - if (null !== prevState) { - var JSCompiler_object_inline_componentStack_2941 = prevState.dehydrated; - if (null !== JSCompiler_object_inline_componentStack_2941) { - if (didSuspend) workInProgress.flags & 256 ? (pushPrimaryTreeSuspenseHandler(workInProgress), workInProgress.flags &= -257, workInProgress = retrySuspenseComponentWithoutHydrating(current, workInProgress, renderLanes)) : null !== workInProgress.memoizedState ? (reuseSuspenseHandlerOnStack(workInProgress), workInProgress.child = current.child, workInProgress.flags |= 128, workInProgress = null) : (reuseSuspenseHandlerOnStack(workInProgress), nextPrimaryChildren = JSCompiler_object_inline_stack_2940.fallback, mode = workInProgress.mode, JSCompiler_object_inline_stack_2940 = mountWorkInProgressOffscreenFiber({ - mode: "visible", - children: JSCompiler_object_inline_stack_2940.children - }, mode), nextPrimaryChildren = createFiberFromFragment(nextPrimaryChildren, mode, renderLanes, null), nextPrimaryChildren.flags |= 2, JSCompiler_object_inline_stack_2940.return = workInProgress, nextPrimaryChildren.return = workInProgress, JSCompiler_object_inline_stack_2940.sibling = nextPrimaryChildren, workInProgress.child = JSCompiler_object_inline_stack_2940, reconcileChildFibers(workInProgress, current.child, null, renderLanes), JSCompiler_object_inline_stack_2940 = workInProgress.child, JSCompiler_object_inline_stack_2940.memoizedState = mountSuspenseOffscreenState(renderLanes), JSCompiler_object_inline_stack_2940.childLanes = getRemainingWorkInPrimaryTree(current, JSCompiler_object_inline_digest_2939, renderLanes), workInProgress.memoizedState = SUSPENDED_MARKER, workInProgress = bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2940)); - else if (pushPrimaryTreeSuspenseHandler(workInProgress), warnIfHydrating(), 0 !== (renderLanes & 536870912) && markRenderDerivedCause(workInProgress), isSuspenseInstanceFallback(JSCompiler_object_inline_componentStack_2941)) { - JSCompiler_object_inline_digest_2939 = JSCompiler_object_inline_componentStack_2941.nextSibling && JSCompiler_object_inline_componentStack_2941.nextSibling.dataset; - if (JSCompiler_object_inline_digest_2939) { - nextPrimaryChildren = JSCompiler_object_inline_digest_2939.dgst; - var message = JSCompiler_object_inline_digest_2939.msg; - mode = JSCompiler_object_inline_digest_2939.stck; - var componentStack = JSCompiler_object_inline_digest_2939.cstck; - } - JSCompiler_object_inline_message_2938 = message; - JSCompiler_object_inline_digest_2939 = nextPrimaryChildren; - JSCompiler_object_inline_stack_2940 = mode; - JSCompiler_object_inline_componentStack_2941 = componentStack; - nextPrimaryChildren = JSCompiler_object_inline_message_2938; - mode = JSCompiler_object_inline_componentStack_2941; - nextPrimaryChildren = nextPrimaryChildren ? Error(nextPrimaryChildren) : Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."); - nextPrimaryChildren.stack = JSCompiler_object_inline_stack_2940 || ""; - nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2939; - JSCompiler_object_inline_digest_2939 = void 0 === mode ? null : mode; - JSCompiler_object_inline_stack_2940 = { - value: nextPrimaryChildren, - source: null, - stack: JSCompiler_object_inline_digest_2939 - }; - "string" === typeof JSCompiler_object_inline_digest_2939 && CapturedStacks.set(nextPrimaryChildren, JSCompiler_object_inline_stack_2940); - queueHydrationError(JSCompiler_object_inline_stack_2940); - workInProgress = retrySuspenseComponentWithoutHydrating(current, workInProgress, renderLanes); - } else if (didReceiveUpdate || propagateParentContextChanges(current, workInProgress, renderLanes, !1), JSCompiler_object_inline_digest_2939 = 0 !== (renderLanes & current.childLanes), didReceiveUpdate || JSCompiler_object_inline_digest_2939) { - JSCompiler_object_inline_digest_2939 = workInProgressRoot; - if (null !== JSCompiler_object_inline_digest_2939 && (JSCompiler_object_inline_stack_2940 = getBumpedLaneForHydration(JSCompiler_object_inline_digest_2939, renderLanes), 0 !== JSCompiler_object_inline_stack_2940 && JSCompiler_object_inline_stack_2940 !== prevState.retryLane)) throw prevState.retryLane = JSCompiler_object_inline_stack_2940, enqueueConcurrentRenderForLane(current, JSCompiler_object_inline_stack_2940), scheduleUpdateOnFiber(JSCompiler_object_inline_digest_2939, current, JSCompiler_object_inline_stack_2940), SelectiveHydrationException; - isSuspenseInstancePending(JSCompiler_object_inline_componentStack_2941) || renderDidSuspendDelayIfPossible(); - workInProgress = retrySuspenseComponentWithoutHydrating(current, workInProgress, renderLanes); - } else isSuspenseInstancePending(JSCompiler_object_inline_componentStack_2941) ? (workInProgress.flags |= 192, workInProgress.child = current.child, workInProgress = null) : (current = prevState.treeContext, nextHydratableInstance = getNextHydratable(JSCompiler_object_inline_componentStack_2941.nextSibling), hydrationParentFiber = workInProgress, isHydrating = !0, hydrationErrors = null, didSuspendOrErrorDEV = !1, hydrationDiffRootDEV = null, rootOrSingletonContext = !1, null !== current && restoreSuspendedTreeContext(workInProgress, current), workInProgress = mountSuspensePrimaryChildren(workInProgress, JSCompiler_object_inline_stack_2940.children), workInProgress.flags |= 4096); - return workInProgress; - } - } - if (JSCompiler_object_inline_message_2938) return reuseSuspenseHandlerOnStack(workInProgress), nextPrimaryChildren = JSCompiler_object_inline_stack_2940.fallback, mode = workInProgress.mode, componentStack = current.child, JSCompiler_object_inline_componentStack_2941 = componentStack.sibling, JSCompiler_object_inline_stack_2940 = createWorkInProgress(componentStack, { - mode: "hidden", - children: JSCompiler_object_inline_stack_2940.children - }), JSCompiler_object_inline_stack_2940.subtreeFlags = componentStack.subtreeFlags & 132120576, null !== JSCompiler_object_inline_componentStack_2941 ? nextPrimaryChildren = createWorkInProgress(JSCompiler_object_inline_componentStack_2941, nextPrimaryChildren) : (nextPrimaryChildren = createFiberFromFragment(nextPrimaryChildren, mode, renderLanes, null), nextPrimaryChildren.flags |= 2), nextPrimaryChildren.return = workInProgress, JSCompiler_object_inline_stack_2940.return = workInProgress, JSCompiler_object_inline_stack_2940.sibling = nextPrimaryChildren, workInProgress.child = JSCompiler_object_inline_stack_2940, bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2940), JSCompiler_object_inline_stack_2940 = workInProgress.child, nextPrimaryChildren = current.child.memoizedState, null === nextPrimaryChildren ? nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes) : (mode = nextPrimaryChildren.cachePool, null !== mode ? (componentStack = CacheContext._currentValue, mode = mode.parent !== componentStack ? { - parent: componentStack, - pool: componentStack - } : mode) : mode = getSuspendedCache(), nextPrimaryChildren = { - baseLanes: nextPrimaryChildren.baseLanes | renderLanes, - cachePool: mode - }), JSCompiler_object_inline_stack_2940.memoizedState = nextPrimaryChildren, JSCompiler_object_inline_stack_2940.childLanes = getRemainingWorkInPrimaryTree(current, JSCompiler_object_inline_digest_2939, renderLanes), workInProgress.memoizedState = SUSPENDED_MARKER, bailoutOffscreenComponent(current.child, JSCompiler_object_inline_stack_2940); - null !== prevState && (renderLanes & 62914560) === renderLanes && 0 !== (renderLanes & current.lanes) && markRenderDerivedCause(workInProgress); - pushPrimaryTreeSuspenseHandler(workInProgress); - renderLanes = current.child; - current = renderLanes.sibling; - renderLanes = createWorkInProgress(renderLanes, { - mode: "visible", - children: JSCompiler_object_inline_stack_2940.children - }); - renderLanes.return = workInProgress; - renderLanes.sibling = null; - null !== current && (JSCompiler_object_inline_digest_2939 = workInProgress.deletions, null === JSCompiler_object_inline_digest_2939 ? (workInProgress.deletions = [ - current - ], workInProgress.flags |= 16) : JSCompiler_object_inline_digest_2939.push(current)); - workInProgress.child = renderLanes; - workInProgress.memoizedState = null; - return renderLanes; - } - function mountSuspensePrimaryChildren(workInProgress, primaryChildren) { - primaryChildren = mountWorkInProgressOffscreenFiber({ - mode: "visible", - children: primaryChildren - }, workInProgress.mode); - primaryChildren.return = workInProgress; - return workInProgress.child = primaryChildren; - } - function mountWorkInProgressOffscreenFiber(offscreenProps, mode) { - offscreenProps = createFiber(22, offscreenProps, null, mode); - offscreenProps.lanes = 0; - return offscreenProps; - } - function retrySuspenseComponentWithoutHydrating(current, workInProgress, renderLanes) { - reconcileChildFibers(workInProgress, current.child, null, renderLanes); - current = mountSuspensePrimaryChildren(workInProgress, workInProgress.pendingProps.children); - current.flags |= 2; - workInProgress.memoizedState = null; - return current; - } - function scheduleSuspenseWorkOnFiber(fiber, renderLanes, propagationRoot) { - fiber.lanes |= renderLanes; - var alternate = fiber.alternate; - null !== alternate && (alternate.lanes |= renderLanes); - scheduleContextWorkOnParentPath(fiber.return, renderLanes, propagationRoot); - } - function findLastContentRow(firstChild) { - for(var lastContentRow = null; null !== firstChild;){ - var currentRow = firstChild.alternate; - null !== currentRow && null === findFirstSuspended(currentRow) && (lastContentRow = firstChild); - firstChild = firstChild.sibling; - } - return lastContentRow; - } - function initSuspenseListRenderState(workInProgress, isBackwards, tail, lastContentRow, tailMode, treeForkCount) { - var renderState = workInProgress.memoizedState; - null === renderState ? workInProgress.memoizedState = { - isBackwards: isBackwards, - rendering: null, - renderingStartTime: 0, - last: lastContentRow, - tail: tail, - tailMode: tailMode, - treeForkCount: treeForkCount - } : (renderState.isBackwards = isBackwards, renderState.rendering = null, renderState.renderingStartTime = 0, renderState.last = lastContentRow, renderState.tail = tail, renderState.tailMode = tailMode, renderState.treeForkCount = treeForkCount); - } - function reverseChildren(fiber) { - var row = fiber.child; - for(fiber.child = null; null !== row;){ - var nextRow = row.sibling; - row.sibling = fiber.child; - fiber.child = row; - row = nextRow; - } - } - function updateSuspenseListComponent(current, workInProgress, renderLanes) { - var nextProps = workInProgress.pendingProps, revealOrder = nextProps.revealOrder, tailMode = nextProps.tail, newChildren = nextProps.children, suspenseContext = suspenseStackCursor.current; - if (workInProgress.flags & 128) return pushSuspenseListContext(workInProgress, suspenseContext), null; - (nextProps = 0 !== (suspenseContext & ForceSuspenseFallback)) ? (suspenseContext = suspenseContext & SubtreeSuspenseContextMask | ForceSuspenseFallback, workInProgress.flags |= 128) : suspenseContext &= SubtreeSuspenseContextMask; - pushSuspenseListContext(workInProgress, suspenseContext); - suspenseContext = null == revealOrder ? "null" : revealOrder; - if (null != revealOrder && "forwards" !== revealOrder && "backwards" !== revealOrder && "unstable_legacy-backwards" !== revealOrder && "together" !== revealOrder && "independent" !== revealOrder && !didWarnAboutRevealOrder[suspenseContext]) if (didWarnAboutRevealOrder[suspenseContext] = !0, "string" === typeof revealOrder) switch(revealOrder.toLowerCase()){ - case "together": - case "forwards": - case "backwards": - case "independent": - console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.', revealOrder, revealOrder.toLowerCase()); - break; - case "forward": - case "backward": - console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.', revealOrder, revealOrder.toLowerCase()); - break; - default: - console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?', revealOrder); - } - else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?', revealOrder); - suspenseContext = null == tailMode ? "null" : tailMode; - didWarnAboutTailOptions[suspenseContext] || null == tailMode || ("visible" !== tailMode && "collapsed" !== tailMode && "hidden" !== tailMode ? (didWarnAboutTailOptions[suspenseContext] = !0, console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?', tailMode)) : null != revealOrder && "forwards" !== revealOrder && "backwards" !== revealOrder && "unstable_legacy-backwards" !== revealOrder && (didWarnAboutTailOptions[suspenseContext] = !0, console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" (default) or "backwards". Did you mean to specify revealOrder="forwards"?', tailMode))); - a: if ((null == revealOrder || "forwards" === revealOrder || "backwards" === revealOrder || "unstable_legacy-backwards" === revealOrder) && void 0 !== newChildren && null !== newChildren && !1 !== newChildren) if (isArrayImpl(newChildren)) for(suspenseContext = 0; suspenseContext < newChildren.length; suspenseContext++){ - if (!validateSuspenseListNestedChild(newChildren[suspenseContext], suspenseContext)) break a; - } - else if (suspenseContext = getIteratorFn(newChildren), "function" === typeof suspenseContext) { - if (suspenseContext = suspenseContext.call(newChildren)) for(var step = suspenseContext.next(), _i = 0; !step.done; step = suspenseContext.next()){ - if (!validateSuspenseListNestedChild(step.value, _i)) break a; - _i++; - } - } else console.error('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?', revealOrder); - "backwards" === revealOrder && null !== current ? (reverseChildren(current), reconcileChildren(current, workInProgress, newChildren, renderLanes), reverseChildren(current)) : reconcileChildren(current, workInProgress, newChildren, renderLanes); - isHydrating ? (warnIfNotHydrating(), newChildren = treeForkCount) : newChildren = 0; - if (!nextProps && null !== current && 0 !== (current.flags & 128)) a: for(current = workInProgress.child; null !== current;){ - if (13 === current.tag) null !== current.memoizedState && scheduleSuspenseWorkOnFiber(current, renderLanes, workInProgress); - else if (19 === current.tag) scheduleSuspenseWorkOnFiber(current, renderLanes, workInProgress); - else if (null !== current.child) { - current.child.return = current; - current = current.child; - continue; - } - if (current === workInProgress) break a; - for(; null === current.sibling;){ - if (null === current.return || current.return === workInProgress) break a; - current = current.return; - } - current.sibling.return = current.return; - current = current.sibling; - } - switch(revealOrder){ - case "backwards": - renderLanes = findLastContentRow(workInProgress.child); - null === renderLanes ? (revealOrder = workInProgress.child, workInProgress.child = null) : (revealOrder = renderLanes.sibling, renderLanes.sibling = null, reverseChildren(workInProgress)); - initSuspenseListRenderState(workInProgress, !0, revealOrder, null, tailMode, newChildren); - break; - case "unstable_legacy-backwards": - renderLanes = null; - revealOrder = workInProgress.child; - for(workInProgress.child = null; null !== revealOrder;){ - current = revealOrder.alternate; - if (null !== current && null === findFirstSuspended(current)) { - workInProgress.child = revealOrder; - break; - } - current = revealOrder.sibling; - revealOrder.sibling = renderLanes; - renderLanes = revealOrder; - revealOrder = current; - } - initSuspenseListRenderState(workInProgress, !0, renderLanes, null, tailMode, newChildren); - break; - case "together": - initSuspenseListRenderState(workInProgress, !1, null, null, void 0, newChildren); - break; - case "independent": - workInProgress.memoizedState = null; - break; - default: - renderLanes = findLastContentRow(workInProgress.child), null === renderLanes ? (revealOrder = workInProgress.child, workInProgress.child = null) : (revealOrder = renderLanes.sibling, renderLanes.sibling = null), initSuspenseListRenderState(workInProgress, !1, revealOrder, renderLanes, tailMode, newChildren); - } - return workInProgress.child; - } - function bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes) { - null !== current && (workInProgress.dependencies = current.dependencies); - profilerStartTime = -1; - workInProgressRootSkippedLanes |= workInProgress.lanes; - if (0 === (renderLanes & workInProgress.childLanes)) if (null !== current) { - if (propagateParentContextChanges(current, workInProgress, renderLanes, !1), 0 === (renderLanes & workInProgress.childLanes)) return null; - } else return null; - if (null !== current && workInProgress.child !== current.child) throw Error("Resuming work not yet implemented."); - if (null !== workInProgress.child) { - current = workInProgress.child; - renderLanes = createWorkInProgress(current, current.pendingProps); - workInProgress.child = renderLanes; - for(renderLanes.return = workInProgress; null !== current.sibling;)current = current.sibling, renderLanes = renderLanes.sibling = createWorkInProgress(current, current.pendingProps), renderLanes.return = workInProgress; - renderLanes.sibling = null; - } - return workInProgress.child; - } - function checkScheduledUpdateOrContext(current, renderLanes) { - if (0 !== (current.lanes & renderLanes)) return !0; - current = current.dependencies; - return null !== current && checkIfContextChanged(current) ? !0 : !1; - } - function attemptEarlyBailoutIfNoScheduledUpdate(current, workInProgress, renderLanes) { - switch(workInProgress.tag){ - case 3: - pushHostContainer(workInProgress, workInProgress.stateNode.containerInfo); - pushProvider(workInProgress, CacheContext, current.memoizedState.cache); - resetHydrationState(); - break; - case 27: - case 5: - pushHostContext(workInProgress); - break; - case 4: - pushHostContainer(workInProgress, workInProgress.stateNode.containerInfo); - break; - case 10: - pushProvider(workInProgress, workInProgress.type, workInProgress.memoizedProps.value); - break; - case 12: - 0 !== (renderLanes & workInProgress.childLanes) && (workInProgress.flags |= 4); - workInProgress.flags |= 2048; - var stateNode = workInProgress.stateNode; - stateNode.effectDuration = -0; - stateNode.passiveEffectDuration = -0; - break; - case 31: - if (null !== workInProgress.memoizedState) return workInProgress.flags |= 128, pushDehydratedActivitySuspenseHandler(workInProgress), null; - break; - case 13: - stateNode = workInProgress.memoizedState; - if (null !== stateNode) { - if (null !== stateNode.dehydrated) return pushPrimaryTreeSuspenseHandler(workInProgress), workInProgress.flags |= 128, null; - if (0 !== (renderLanes & workInProgress.child.childLanes)) return updateSuspenseComponent(current, workInProgress, renderLanes); - pushPrimaryTreeSuspenseHandler(workInProgress); - current = bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes); - return null !== current ? current.sibling : null; - } - pushPrimaryTreeSuspenseHandler(workInProgress); - break; - case 19: - if (workInProgress.flags & 128) return updateSuspenseListComponent(current, workInProgress, renderLanes); - var didSuspendBefore = 0 !== (current.flags & 128); - stateNode = 0 !== (renderLanes & workInProgress.childLanes); - stateNode || (propagateParentContextChanges(current, workInProgress, renderLanes, !1), stateNode = 0 !== (renderLanes & workInProgress.childLanes)); - if (didSuspendBefore) { - if (stateNode) return updateSuspenseListComponent(current, workInProgress, renderLanes); - workInProgress.flags |= 128; - } - didSuspendBefore = workInProgress.memoizedState; - null !== didSuspendBefore && (didSuspendBefore.rendering = null, didSuspendBefore.tail = null, didSuspendBefore.lastEffect = null); - pushSuspenseListContext(workInProgress, suspenseStackCursor.current); - if (stateNode) break; - else return null; - case 22: - return workInProgress.lanes = 0, updateOffscreenComponent(current, workInProgress, renderLanes, workInProgress.pendingProps); - case 24: - pushProvider(workInProgress, CacheContext, current.memoizedState.cache); - } - return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes); - } - function beginWork(current, workInProgress, renderLanes) { - if (workInProgress._debugNeedsRemount && null !== current) { - renderLanes = createFiberFromTypeAndProps(workInProgress.type, workInProgress.key, workInProgress.pendingProps, workInProgress._debugOwner || null, workInProgress.mode, workInProgress.lanes); - renderLanes._debugStack = workInProgress._debugStack; - renderLanes._debugTask = workInProgress._debugTask; - var returnFiber = workInProgress.return; - if (null === returnFiber) throw Error("Cannot swap the root fiber."); - current.alternate = null; - workInProgress.alternate = null; - renderLanes.index = workInProgress.index; - renderLanes.sibling = workInProgress.sibling; - renderLanes.return = workInProgress.return; - renderLanes.ref = workInProgress.ref; - renderLanes._debugInfo = workInProgress._debugInfo; - if (workInProgress === returnFiber.child) returnFiber.child = renderLanes; - else { - var prevSibling = returnFiber.child; - if (null === prevSibling) throw Error("Expected parent to have a child."); - for(; prevSibling.sibling !== workInProgress;)if (prevSibling = prevSibling.sibling, null === prevSibling) throw Error("Expected to find the previous sibling."); - prevSibling.sibling = renderLanes; - } - workInProgress = returnFiber.deletions; - null === workInProgress ? (returnFiber.deletions = [ - current - ], returnFiber.flags |= 16) : workInProgress.push(current); - renderLanes.flags |= 2; - return renderLanes; - } - if (null !== current) if (current.memoizedProps !== workInProgress.pendingProps || workInProgress.type !== current.type) didReceiveUpdate = !0; - else { - if (!checkScheduledUpdateOrContext(current, renderLanes) && 0 === (workInProgress.flags & 128)) return didReceiveUpdate = !1, attemptEarlyBailoutIfNoScheduledUpdate(current, workInProgress, renderLanes); - didReceiveUpdate = 0 !== (current.flags & 131072) ? !0 : !1; - } - else { - didReceiveUpdate = !1; - if (returnFiber = isHydrating) warnIfNotHydrating(), returnFiber = 0 !== (workInProgress.flags & 1048576); - returnFiber && (returnFiber = workInProgress.index, warnIfNotHydrating(), pushTreeId(workInProgress, treeForkCount, returnFiber)); - } - workInProgress.lanes = 0; - switch(workInProgress.tag){ - case 16: - a: if (returnFiber = workInProgress.pendingProps, current = resolveLazy(workInProgress.elementType), workInProgress.type = current, "function" === typeof current) shouldConstruct(current) ? (returnFiber = resolveClassComponentProps(current, returnFiber), workInProgress.tag = 1, workInProgress.type = current = resolveFunctionForHotReloading(current), workInProgress = updateClassComponent(null, workInProgress, current, returnFiber, renderLanes)) : (workInProgress.tag = 0, validateFunctionComponentInDev(workInProgress, current), workInProgress.type = current = resolveFunctionForHotReloading(current), workInProgress = updateFunctionComponent(null, workInProgress, current, returnFiber, renderLanes)); - else { - if (void 0 !== current && null !== current) { - if (prevSibling = current.$$typeof, prevSibling === REACT_FORWARD_REF_TYPE) { - workInProgress.tag = 11; - workInProgress.type = current = resolveForwardRefForHotReloading(current); - workInProgress = updateForwardRef(null, workInProgress, current, returnFiber, renderLanes); - break a; - } else if (prevSibling === REACT_MEMO_TYPE) { - workInProgress.tag = 14; - workInProgress = updateMemoComponent(null, workInProgress, current, returnFiber, renderLanes); - break a; - } - } - workInProgress = ""; - null !== current && "object" === typeof current && current.$$typeof === REACT_LAZY_TYPE && (workInProgress = " Did you wrap a component in React.lazy() more than once?"); - renderLanes = getComponentNameFromType(current) || current; - throw Error("Element type is invalid. Received a promise that resolves to: " + renderLanes + ". Lazy element type must resolve to a class or function." + workInProgress); - } - return workInProgress; - case 0: - return updateFunctionComponent(current, workInProgress, workInProgress.type, workInProgress.pendingProps, renderLanes); - case 1: - return returnFiber = workInProgress.type, prevSibling = resolveClassComponentProps(returnFiber, workInProgress.pendingProps), updateClassComponent(current, workInProgress, returnFiber, prevSibling, renderLanes); - case 3: - a: { - pushHostContainer(workInProgress, workInProgress.stateNode.containerInfo); - if (null === current) throw Error("Should have a current fiber. This is a bug in React."); - returnFiber = workInProgress.pendingProps; - var prevState = workInProgress.memoizedState; - prevSibling = prevState.element; - cloneUpdateQueue(current, workInProgress); - processUpdateQueue(workInProgress, returnFiber, null, renderLanes); - var nextState = workInProgress.memoizedState; - returnFiber = nextState.cache; - pushProvider(workInProgress, CacheContext, returnFiber); - returnFiber !== prevState.cache && propagateContextChanges(workInProgress, [ - CacheContext - ], renderLanes, !0); - suspendIfUpdateReadFromEntangledAsyncAction(); - returnFiber = nextState.element; - if (prevState.isDehydrated) if (prevState = { - element: returnFiber, - isDehydrated: !1, - cache: nextState.cache - }, workInProgress.updateQueue.baseState = prevState, workInProgress.memoizedState = prevState, workInProgress.flags & 256) { - workInProgress = mountHostRootWithoutHydrating(current, workInProgress, returnFiber, renderLanes); - break a; - } else if (returnFiber !== prevSibling) { - prevSibling = createCapturedValueAtFiber(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."), workInProgress); - queueHydrationError(prevSibling); - workInProgress = mountHostRootWithoutHydrating(current, workInProgress, returnFiber, renderLanes); - break a; - } else { - current = workInProgress.stateNode.containerInfo; - switch(current.nodeType){ - case 9: - current = current.body; - break; - default: - current = "HTML" === current.nodeName ? current.ownerDocument.body : current; - } - nextHydratableInstance = getNextHydratable(current.firstChild); - hydrationParentFiber = workInProgress; - isHydrating = !0; - hydrationErrors = null; - didSuspendOrErrorDEV = !1; - hydrationDiffRootDEV = null; - rootOrSingletonContext = !0; - renderLanes = mountChildFibers(workInProgress, null, returnFiber, renderLanes); - for(workInProgress.child = renderLanes; renderLanes;)renderLanes.flags = renderLanes.flags & -3 | 4096, renderLanes = renderLanes.sibling; - } - else { - resetHydrationState(); - if (returnFiber === prevSibling) { - workInProgress = bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes); - break a; - } - reconcileChildren(current, workInProgress, returnFiber, renderLanes); - } - workInProgress = workInProgress.child; - } - return workInProgress; - case 26: - return markRef(current, workInProgress), null === current ? (renderLanes = getResource(workInProgress.type, null, workInProgress.pendingProps, null)) ? workInProgress.memoizedState = renderLanes : isHydrating || (renderLanes = workInProgress.type, current = workInProgress.pendingProps, returnFiber = requiredContext(rootInstanceStackCursor.current), returnFiber = getOwnerDocumentFromRootContainer(returnFiber).createElement(renderLanes), returnFiber[internalInstanceKey] = workInProgress, returnFiber[internalPropsKey] = current, setInitialProperties(returnFiber, renderLanes, current), markNodeAsHoistable(returnFiber), workInProgress.stateNode = returnFiber) : workInProgress.memoizedState = getResource(workInProgress.type, current.memoizedProps, workInProgress.pendingProps, current.memoizedState), null; - case 27: - return pushHostContext(workInProgress), null === current && isHydrating && (returnFiber = requiredContext(rootInstanceStackCursor.current), prevSibling = getHostContext(), returnFiber = workInProgress.stateNode = resolveSingletonInstance(workInProgress.type, workInProgress.pendingProps, returnFiber, prevSibling, !1), didSuspendOrErrorDEV || (prevSibling = diffHydratedProperties(returnFiber, workInProgress.type, workInProgress.pendingProps, prevSibling), null !== prevSibling && (buildHydrationDiffNode(workInProgress, 0).serverProps = prevSibling)), hydrationParentFiber = workInProgress, rootOrSingletonContext = !0, prevSibling = nextHydratableInstance, isSingletonScope(workInProgress.type) ? (previousHydratableOnEnteringScopedSingleton = prevSibling, nextHydratableInstance = getNextHydratable(returnFiber.firstChild)) : nextHydratableInstance = prevSibling), reconcileChildren(current, workInProgress, workInProgress.pendingProps.children, renderLanes), markRef(current, workInProgress), null === current && (workInProgress.flags |= 4194304), workInProgress.child; - case 5: - return null === current && isHydrating && (prevState = getHostContext(), returnFiber = validateDOMNesting(workInProgress.type, prevState.ancestorInfo), prevSibling = nextHydratableInstance, (nextState = !prevSibling) || (nextState = canHydrateInstance(prevSibling, workInProgress.type, workInProgress.pendingProps, rootOrSingletonContext), null !== nextState ? (workInProgress.stateNode = nextState, didSuspendOrErrorDEV || (prevState = diffHydratedProperties(nextState, workInProgress.type, workInProgress.pendingProps, prevState), null !== prevState && (buildHydrationDiffNode(workInProgress, 0).serverProps = prevState)), hydrationParentFiber = workInProgress, nextHydratableInstance = getNextHydratable(nextState.firstChild), rootOrSingletonContext = !1, prevState = !0) : prevState = !1, nextState = !prevState), nextState && (returnFiber && warnNonHydratedInstance(workInProgress, prevSibling), throwOnHydrationMismatch(workInProgress))), pushHostContext(workInProgress), prevSibling = workInProgress.type, prevState = workInProgress.pendingProps, nextState = null !== current ? current.memoizedProps : null, returnFiber = prevState.children, shouldSetTextContent(prevSibling, prevState) ? returnFiber = null : null !== nextState && shouldSetTextContent(prevSibling, nextState) && (workInProgress.flags |= 32), null !== workInProgress.memoizedState && (prevSibling = renderWithHooks(current, workInProgress, TransitionAwareHostComponent, null, null, renderLanes), HostTransitionContext._currentValue = prevSibling), markRef(current, workInProgress), reconcileChildren(current, workInProgress, returnFiber, renderLanes), workInProgress.child; - case 6: - return null === current && isHydrating && (renderLanes = workInProgress.pendingProps, current = getHostContext(), returnFiber = current.ancestorInfo.current, renderLanes = null != returnFiber ? validateTextNesting(renderLanes, returnFiber.tag, current.ancestorInfo.implicitRootScope) : !0, current = nextHydratableInstance, (returnFiber = !current) || (returnFiber = canHydrateTextInstance(current, workInProgress.pendingProps, rootOrSingletonContext), null !== returnFiber ? (workInProgress.stateNode = returnFiber, hydrationParentFiber = workInProgress, nextHydratableInstance = null, returnFiber = !0) : returnFiber = !1, returnFiber = !returnFiber), returnFiber && (renderLanes && warnNonHydratedInstance(workInProgress, current), throwOnHydrationMismatch(workInProgress))), null; - case 13: - return updateSuspenseComponent(current, workInProgress, renderLanes); - case 4: - return pushHostContainer(workInProgress, workInProgress.stateNode.containerInfo), returnFiber = workInProgress.pendingProps, null === current ? workInProgress.child = reconcileChildFibers(workInProgress, null, returnFiber, renderLanes) : reconcileChildren(current, workInProgress, returnFiber, renderLanes), workInProgress.child; - case 11: - return updateForwardRef(current, workInProgress, workInProgress.type, workInProgress.pendingProps, renderLanes); - case 7: - return returnFiber = workInProgress.pendingProps, markRef(current, workInProgress), reconcileChildren(current, workInProgress, returnFiber, renderLanes), workInProgress.child; - case 8: - return reconcileChildren(current, workInProgress, workInProgress.pendingProps.children, renderLanes), workInProgress.child; - case 12: - return workInProgress.flags |= 4, workInProgress.flags |= 2048, returnFiber = workInProgress.stateNode, returnFiber.effectDuration = -0, returnFiber.passiveEffectDuration = -0, reconcileChildren(current, workInProgress, workInProgress.pendingProps.children, renderLanes), workInProgress.child; - case 10: - return returnFiber = workInProgress.type, prevSibling = workInProgress.pendingProps, prevState = prevSibling.value, "value" in prevSibling || hasWarnedAboutUsingNoValuePropOnContextProvider || (hasWarnedAboutUsingNoValuePropOnContextProvider = !0, console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")), pushProvider(workInProgress, returnFiber, prevState), reconcileChildren(current, workInProgress, prevSibling.children, renderLanes), workInProgress.child; - case 9: - return prevSibling = workInProgress.type._context, returnFiber = workInProgress.pendingProps.children, "function" !== typeof returnFiber && console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."), prepareToReadContext(workInProgress), prevSibling = readContext(prevSibling), returnFiber = callComponentInDEV(returnFiber, prevSibling, void 0), workInProgress.flags |= 1, reconcileChildren(current, workInProgress, returnFiber, renderLanes), workInProgress.child; - case 14: - return updateMemoComponent(current, workInProgress, workInProgress.type, workInProgress.pendingProps, renderLanes); - case 15: - return updateSimpleMemoComponent(current, workInProgress, workInProgress.type, workInProgress.pendingProps, renderLanes); - case 19: - return updateSuspenseListComponent(current, workInProgress, renderLanes); - case 31: - return updateActivityComponent(current, workInProgress, renderLanes); - case 22: - return updateOffscreenComponent(current, workInProgress, renderLanes, workInProgress.pendingProps); - case 24: - return prepareToReadContext(workInProgress), returnFiber = readContext(CacheContext), null === current ? (prevSibling = peekCacheFromPool(), null === prevSibling && (prevSibling = workInProgressRoot, prevState = createCache(), prevSibling.pooledCache = prevState, retainCache(prevState), null !== prevState && (prevSibling.pooledCacheLanes |= renderLanes), prevSibling = prevState), workInProgress.memoizedState = { - parent: returnFiber, - cache: prevSibling - }, initializeUpdateQueue(workInProgress), pushProvider(workInProgress, CacheContext, prevSibling)) : (0 !== (current.lanes & renderLanes) && (cloneUpdateQueue(current, workInProgress), processUpdateQueue(workInProgress, null, null, renderLanes), suspendIfUpdateReadFromEntangledAsyncAction()), prevSibling = current.memoizedState, prevState = workInProgress.memoizedState, prevSibling.parent !== returnFiber ? (prevSibling = { - parent: returnFiber, - cache: returnFiber - }, workInProgress.memoizedState = prevSibling, 0 === workInProgress.lanes && (workInProgress.memoizedState = workInProgress.updateQueue.baseState = prevSibling), pushProvider(workInProgress, CacheContext, returnFiber)) : (returnFiber = prevState.cache, pushProvider(workInProgress, CacheContext, returnFiber), returnFiber !== prevSibling.cache && propagateContextChanges(workInProgress, [ - CacheContext - ], renderLanes, !0))), reconcileChildren(current, workInProgress, workInProgress.pendingProps.children, renderLanes), workInProgress.child; - case 30: - return returnFiber = workInProgress.pendingProps, null != returnFiber.name && "auto" !== returnFiber.name ? workInProgress.flags |= null === current ? 18882560 : 18874368 : isHydrating && pushMaterializedTreeId(workInProgress), void 0 !== returnFiber.className && (prevSibling = "string" === typeof returnFiber.className ? JSON.stringify(returnFiber.className) : "{...}", didWarnAboutClassNameOnViewTransition[prevSibling] || (didWarnAboutClassNameOnViewTransition[prevSibling] = !0, console.error('<ViewTransition> doesn\'t accept a "className" prop. It has been renamed to "default".\n- <ViewTransition className=%s>\n+ <ViewTransition default=%s>', prevSibling, prevSibling))), null !== current && current.memoizedProps.name !== returnFiber.name ? workInProgress.flags |= 4194816 : markRef(current, workInProgress), reconcileChildren(current, workInProgress, returnFiber.children, renderLanes), workInProgress.child; - case 29: - throw workInProgress.pendingProps; - } - throw Error("Unknown unit of work tag (" + workInProgress.tag + "). This error is likely caused by a bug in React. Please file an issue."); - } - function markUpdate(workInProgress) { - workInProgress.flags |= 4; - } - function preloadInstanceAndSuspendIfNeeded(workInProgress, type, oldProps, newProps, renderLanes) { - var JSCompiler_temp; - if (JSCompiler_temp = (workInProgress.mode & SuspenseyImagesMode) !== NoMode) JSCompiler_temp = null === oldProps ? maySuspendCommit(type, newProps) : maySuspendCommit(type, newProps) && (newProps.src !== oldProps.src || newProps.srcSet !== oldProps.srcSet); - if (JSCompiler_temp) { - if (workInProgress.flags |= 16777216, (renderLanes & 335544128) === renderLanes) if (workInProgress.stateNode.complete) workInProgress.flags |= 8192; - else if (shouldRemainOnPreviousScreen()) workInProgress.flags |= 8192; - else throw suspendedThenable = noopSuspenseyCommitThenable, SuspenseyCommitException; - } else workInProgress.flags &= -16777217; - } - function preloadResourceAndSuspendIfNeeded(workInProgress, resource) { - if ("stylesheet" !== resource.type || (resource.state.loading & Inserted) !== NotLoaded) workInProgress.flags &= -16777217; - else if (workInProgress.flags |= 16777216, !preloadResource(resource)) if (shouldRemainOnPreviousScreen()) workInProgress.flags |= 8192; - else throw suspendedThenable = noopSuspenseyCommitThenable, SuspenseyCommitException; - } - function scheduleRetryEffect(workInProgress, retryQueue) { - null !== retryQueue && (workInProgress.flags |= 4); - workInProgress.flags & 16384 && (retryQueue = 22 !== workInProgress.tag ? claimNextRetryLane() : 536870912, workInProgress.lanes |= retryQueue, workInProgressSuspendedRetryLanes |= retryQueue); - } - function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) { - if (!isHydrating) switch(renderState.tailMode){ - case "visible": - break; - case "collapsed": - for(var tailNode = renderState.tail, lastTailNode = null; null !== tailNode;)null !== tailNode.alternate && (lastTailNode = tailNode), tailNode = tailNode.sibling; - null === lastTailNode ? hasRenderedATailFallback || null === renderState.tail ? renderState.tail = null : renderState.tail.sibling = null : lastTailNode.sibling = null; - break; - default: - hasRenderedATailFallback = renderState.tail; - for(tailNode = null; null !== hasRenderedATailFallback;)null !== hasRenderedATailFallback.alternate && (tailNode = hasRenderedATailFallback), hasRenderedATailFallback = hasRenderedATailFallback.sibling; - null === tailNode ? renderState.tail = null : tailNode.sibling = null; - } - } - function bubbleProperties(completedWork) { - var didBailout = null !== completedWork.alternate && completedWork.alternate.child === completedWork.child, newChildLanes = 0, subtreeFlags = 0; - if (didBailout) if ((completedWork.mode & ProfileMode) !== NoMode) { - for(var _treeBaseDuration = completedWork.selfBaseDuration, _child2 = completedWork.child; null !== _child2;)newChildLanes |= _child2.lanes | _child2.childLanes, subtreeFlags |= _child2.subtreeFlags & 132120576, subtreeFlags |= _child2.flags & 132120576, _treeBaseDuration += _child2.treeBaseDuration, _child2 = _child2.sibling; - completedWork.treeBaseDuration = _treeBaseDuration; - } else for(_treeBaseDuration = completedWork.child; null !== _treeBaseDuration;)newChildLanes |= _treeBaseDuration.lanes | _treeBaseDuration.childLanes, subtreeFlags |= _treeBaseDuration.subtreeFlags & 132120576, subtreeFlags |= _treeBaseDuration.flags & 132120576, _treeBaseDuration.return = completedWork, _treeBaseDuration = _treeBaseDuration.sibling; - else if ((completedWork.mode & ProfileMode) !== NoMode) { - _treeBaseDuration = completedWork.actualDuration; - _child2 = completedWork.selfBaseDuration; - for(var child = completedWork.child; null !== child;)newChildLanes |= child.lanes | child.childLanes, subtreeFlags |= child.subtreeFlags, subtreeFlags |= child.flags, _treeBaseDuration += child.actualDuration, _child2 += child.treeBaseDuration, child = child.sibling; - completedWork.actualDuration = _treeBaseDuration; - completedWork.treeBaseDuration = _child2; - } else for(_treeBaseDuration = completedWork.child; null !== _treeBaseDuration;)newChildLanes |= _treeBaseDuration.lanes | _treeBaseDuration.childLanes, subtreeFlags |= _treeBaseDuration.subtreeFlags, subtreeFlags |= _treeBaseDuration.flags, _treeBaseDuration.return = completedWork, _treeBaseDuration = _treeBaseDuration.sibling; - completedWork.subtreeFlags |= subtreeFlags; - completedWork.childLanes = newChildLanes; - return didBailout; - } - function completeWork(current, workInProgress, renderLanes) { - var newProps = workInProgress.pendingProps; - popTreeContext(workInProgress); - switch(workInProgress.tag){ - case 16: - case 15: - case 0: - case 11: - case 7: - case 8: - case 12: - case 9: - case 14: - return bubbleProperties(workInProgress), null; - case 1: - return bubbleProperties(workInProgress), null; - case 3: - renderLanes = workInProgress.stateNode; - newProps = null; - null !== current && (newProps = current.memoizedState.cache); - workInProgress.memoizedState.cache !== newProps && (workInProgress.flags |= 2048); - popProvider(CacheContext, workInProgress); - popHostContainer(workInProgress); - renderLanes.pendingContext && (renderLanes.context = renderLanes.pendingContext, renderLanes.pendingContext = null); - if (null === current || null === current.child) popHydrationState(workInProgress) ? (emitPendingHydrationWarnings(), markUpdate(workInProgress)) : null === current || current.memoizedState.isDehydrated && 0 === (workInProgress.flags & 256) || (workInProgress.flags |= 1024, upgradeHydrationErrorsToRecoverable()); - bubbleProperties(workInProgress); - return null; - case 26: - var type = workInProgress.type, nextResource = workInProgress.memoizedState; - null === current ? (markUpdate(workInProgress), null !== nextResource ? (bubbleProperties(workInProgress), preloadResourceAndSuspendIfNeeded(workInProgress, nextResource)) : (bubbleProperties(workInProgress), preloadInstanceAndSuspendIfNeeded(workInProgress, type, null, newProps, renderLanes))) : nextResource ? nextResource !== current.memoizedState ? (markUpdate(workInProgress), bubbleProperties(workInProgress), preloadResourceAndSuspendIfNeeded(workInProgress, nextResource)) : (bubbleProperties(workInProgress), workInProgress.flags &= -16777217) : (current = current.memoizedProps, current !== newProps && markUpdate(workInProgress), bubbleProperties(workInProgress), preloadInstanceAndSuspendIfNeeded(workInProgress, type, current, newProps, renderLanes)); - return null; - case 27: - popHostContext(workInProgress); - renderLanes = requiredContext(rootInstanceStackCursor.current); - type = workInProgress.type; - if (null !== current && null != workInProgress.stateNode) current.memoizedProps !== newProps && markUpdate(workInProgress); - else { - if (!newProps) { - if (null === workInProgress.stateNode) throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue."); - bubbleProperties(workInProgress); - workInProgress.subtreeFlags &= -33554433; - return null; - } - current = getHostContext(); - popHydrationState(workInProgress) ? prepareToHydrateHostInstance(workInProgress, current) : (current = resolveSingletonInstance(type, newProps, renderLanes, current, !0), workInProgress.stateNode = current, markUpdate(workInProgress)); - } - bubbleProperties(workInProgress); - workInProgress.subtreeFlags &= -33554433; - return null; - case 5: - popHostContext(workInProgress); - type = workInProgress.type; - if (null !== current && null != workInProgress.stateNode) current.memoizedProps !== newProps && markUpdate(workInProgress); - else { - if (!newProps) { - if (null === workInProgress.stateNode) throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue."); - bubbleProperties(workInProgress); - workInProgress.subtreeFlags &= -33554433; - return null; - } - var _currentHostContext = getHostContext(); - if (popHydrationState(workInProgress)) prepareToHydrateHostInstance(workInProgress, _currentHostContext); - else { - nextResource = requiredContext(rootInstanceStackCursor.current); - validateDOMNesting(type, _currentHostContext.ancestorInfo); - _currentHostContext = _currentHostContext.context; - nextResource = getOwnerDocumentFromRootContainer(nextResource); - switch(_currentHostContext){ - case HostContextNamespaceSvg: - nextResource = nextResource.createElementNS(SVG_NAMESPACE, type); - break; - case HostContextNamespaceMath: - nextResource = nextResource.createElementNS(MATH_NAMESPACE, type); - break; - default: - switch(type){ - case "svg": - nextResource = nextResource.createElementNS(SVG_NAMESPACE, type); - break; - case "math": - nextResource = nextResource.createElementNS(MATH_NAMESPACE, type); - break; - case "script": - nextResource = nextResource.createElement("div"); - nextResource.innerHTML = "<script>\x3c/script>"; - nextResource = nextResource.removeChild(nextResource.firstChild); - break; - case "select": - nextResource = "string" === typeof newProps.is ? nextResource.createElement("select", { - is: newProps.is - }) : nextResource.createElement("select"); - newProps.multiple ? nextResource.multiple = !0 : newProps.size && (nextResource.size = newProps.size); - break; - default: - nextResource = "string" === typeof newProps.is ? nextResource.createElement(type, { - is: newProps.is - }) : nextResource.createElement(type), -1 === type.indexOf("-") && (type !== type.toLowerCase() && console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.", type), "[object HTMLUnknownElement]" !== Object.prototype.toString.call(nextResource) || hasOwnProperty.call(warnedUnknownTags, type) || (warnedUnknownTags[type] = !0, console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.", type))); - } - } - nextResource[internalInstanceKey] = workInProgress; - nextResource[internalPropsKey] = newProps; - a: for(_currentHostContext = workInProgress.child; null !== _currentHostContext;){ - if (5 === _currentHostContext.tag || 6 === _currentHostContext.tag) nextResource.appendChild(_currentHostContext.stateNode); - else if (4 !== _currentHostContext.tag && 27 !== _currentHostContext.tag && null !== _currentHostContext.child) { - _currentHostContext.child.return = _currentHostContext; - _currentHostContext = _currentHostContext.child; - continue; - } - if (_currentHostContext === workInProgress) break a; - for(; null === _currentHostContext.sibling;){ - if (null === _currentHostContext.return || _currentHostContext.return === workInProgress) break a; - _currentHostContext = _currentHostContext.return; - } - _currentHostContext.sibling.return = _currentHostContext.return; - _currentHostContext = _currentHostContext.sibling; - } - workInProgress.stateNode = nextResource; - a: switch(setInitialProperties(nextResource, type, newProps), type){ - case "button": - case "input": - case "select": - case "textarea": - newProps = !!newProps.autoFocus; - break a; - case "img": - newProps = !0; - break a; - default: - newProps = !1; - } - newProps && markUpdate(workInProgress); - } - } - bubbleProperties(workInProgress); - workInProgress.subtreeFlags &= -33554433; - preloadInstanceAndSuspendIfNeeded(workInProgress, workInProgress.type, null === current ? null : current.memoizedProps, workInProgress.pendingProps, renderLanes); - return null; - case 6: - if (current && null != workInProgress.stateNode) current.memoizedProps !== newProps && markUpdate(workInProgress); - else { - if ("string" !== typeof newProps && null === workInProgress.stateNode) throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue."); - current = requiredContext(rootInstanceStackCursor.current); - renderLanes = getHostContext(); - if (popHydrationState(workInProgress)) { - current = workInProgress.stateNode; - renderLanes = workInProgress.memoizedProps; - type = !didSuspendOrErrorDEV; - newProps = null; - nextResource = hydrationParentFiber; - if (null !== nextResource) switch(nextResource.tag){ - case 3: - type && (type = diffHydratedTextForDevWarnings(current, renderLanes, newProps), null !== type && (buildHydrationDiffNode(workInProgress, 0).serverProps = type)); - break; - case 27: - case 5: - newProps = nextResource.memoizedProps, type && (type = diffHydratedTextForDevWarnings(current, renderLanes, newProps), null !== type && (buildHydrationDiffNode(workInProgress, 0).serverProps = type)); - } - current[internalInstanceKey] = workInProgress; - current = current.nodeValue === renderLanes || null !== newProps && !0 === newProps.suppressHydrationWarning || checkForUnmatchedText(current.nodeValue, renderLanes) ? !0 : !1; - current || throwOnHydrationMismatch(workInProgress, !0); - } else type = renderLanes.ancestorInfo.current, null != type && validateTextNesting(newProps, type.tag, renderLanes.ancestorInfo.implicitRootScope), current = getOwnerDocumentFromRootContainer(current).createTextNode(newProps), current[internalInstanceKey] = workInProgress, workInProgress.stateNode = current; - } - bubbleProperties(workInProgress); - return null; - case 31: - renderLanes = workInProgress.memoizedState; - if (null === current || null !== current.memoizedState) { - newProps = popHydrationState(workInProgress); - if (null !== renderLanes) { - if (null === current) { - if (!newProps) throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React."); - current = workInProgress.memoizedState; - current = null !== current ? current.dehydrated : null; - if (!current) throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue."); - current[internalInstanceKey] = workInProgress; - bubbleProperties(workInProgress); - (workInProgress.mode & ProfileMode) !== NoMode && null !== renderLanes && (current = workInProgress.child, null !== current && (workInProgress.treeBaseDuration -= current.treeBaseDuration)); - } else emitPendingHydrationWarnings(), resetHydrationState(), 0 === (workInProgress.flags & 128) && (renderLanes = workInProgress.memoizedState = null), workInProgress.flags |= 4, bubbleProperties(workInProgress), (workInProgress.mode & ProfileMode) !== NoMode && null !== renderLanes && (current = workInProgress.child, null !== current && (workInProgress.treeBaseDuration -= current.treeBaseDuration)); - current = !1; - } else renderLanes = upgradeHydrationErrorsToRecoverable(), null !== current && null !== current.memoizedState && (current.memoizedState.hydrationErrors = renderLanes), current = !0; - if (!current) { - if (workInProgress.flags & 256) return popSuspenseHandler(workInProgress), workInProgress; - popSuspenseHandler(workInProgress); - return null; - } - if (0 !== (workInProgress.flags & 128)) throw Error("Client rendering an Activity suspended it again. This is a bug in React."); - } - bubbleProperties(workInProgress); - return null; - case 13: - newProps = workInProgress.memoizedState; - if (null === current || null !== current.memoizedState && null !== current.memoizedState.dehydrated) { - type = newProps; - nextResource = popHydrationState(workInProgress); - if (null !== type && null !== type.dehydrated) { - if (null === current) { - if (!nextResource) throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React."); - nextResource = workInProgress.memoizedState; - nextResource = null !== nextResource ? nextResource.dehydrated : null; - if (!nextResource) throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue."); - nextResource[internalInstanceKey] = workInProgress; - bubbleProperties(workInProgress); - (workInProgress.mode & ProfileMode) !== NoMode && null !== type && (type = workInProgress.child, null !== type && (workInProgress.treeBaseDuration -= type.treeBaseDuration)); - } else emitPendingHydrationWarnings(), resetHydrationState(), 0 === (workInProgress.flags & 128) && (type = workInProgress.memoizedState = null), workInProgress.flags |= 4, bubbleProperties(workInProgress), (workInProgress.mode & ProfileMode) !== NoMode && null !== type && (type = workInProgress.child, null !== type && (workInProgress.treeBaseDuration -= type.treeBaseDuration)); - type = !1; - } else type = upgradeHydrationErrorsToRecoverable(), null !== current && null !== current.memoizedState && (current.memoizedState.hydrationErrors = type), type = !0; - if (!type) { - if (workInProgress.flags & 256) return popSuspenseHandler(workInProgress), workInProgress; - popSuspenseHandler(workInProgress); - return null; - } - } - popSuspenseHandler(workInProgress); - if (0 !== (workInProgress.flags & 128)) return workInProgress.lanes = renderLanes, (workInProgress.mode & ProfileMode) !== NoMode && transferActualDuration(workInProgress), workInProgress; - renderLanes = null !== newProps; - current = null !== current && null !== current.memoizedState; - renderLanes && (newProps = workInProgress.child, type = null, null !== newProps.alternate && null !== newProps.alternate.memoizedState && null !== newProps.alternate.memoizedState.cachePool && (type = newProps.alternate.memoizedState.cachePool.pool), nextResource = null, null !== newProps.memoizedState && null !== newProps.memoizedState.cachePool && (nextResource = newProps.memoizedState.cachePool.pool), nextResource !== type && (newProps.flags |= 2048)); - renderLanes !== current && renderLanes && (workInProgress.child.flags |= 8192); - scheduleRetryEffect(workInProgress, workInProgress.updateQueue); - bubbleProperties(workInProgress); - (workInProgress.mode & ProfileMode) !== NoMode && renderLanes && (current = workInProgress.child, null !== current && (workInProgress.treeBaseDuration -= current.treeBaseDuration)); - return null; - case 4: - return popHostContainer(workInProgress), null === current && listenToAllSupportedEvents(workInProgress.stateNode.containerInfo), workInProgress.flags |= 67108864, bubbleProperties(workInProgress), null; - case 10: - return popProvider(workInProgress.type, workInProgress), bubbleProperties(workInProgress), null; - case 19: - popSuspenseListContext(workInProgress); - newProps = workInProgress.memoizedState; - if (null === newProps) return bubbleProperties(workInProgress), null; - type = 0 !== (workInProgress.flags & 128); - nextResource = newProps.rendering; - if (null === nextResource) if (type) cutOffTailIfNeeded(newProps, !1); - else { - if (workInProgressRootExitStatus !== RootInProgress || null !== current && 0 !== (current.flags & 128)) for(current = workInProgress.child; null !== current;){ - nextResource = findFirstSuspended(current); - if (null !== nextResource) { - workInProgress.flags |= 128; - cutOffTailIfNeeded(newProps, !1); - current = nextResource.updateQueue; - workInProgress.updateQueue = current; - scheduleRetryEffect(workInProgress, current); - workInProgress.subtreeFlags = 0; - current = renderLanes; - for(renderLanes = workInProgress.child; null !== renderLanes;)resetWorkInProgress(renderLanes, current), renderLanes = renderLanes.sibling; - pushSuspenseListContext(workInProgress, suspenseStackCursor.current & SubtreeSuspenseContextMask | ForceSuspenseFallback); - isHydrating && pushTreeFork(workInProgress, newProps.treeForkCount); - return workInProgress.child; - } - current = current.sibling; - } - null !== newProps.tail && now$1() > workInProgressRootRenderTargetTime && (workInProgress.flags |= 128, type = !0, cutOffTailIfNeeded(newProps, !1), workInProgress.lanes = 4194304); - } - else { - if (!type) if (current = findFirstSuspended(nextResource), null !== current) { - if (workInProgress.flags |= 128, type = !0, current = current.updateQueue, workInProgress.updateQueue = current, scheduleRetryEffect(workInProgress, current), cutOffTailIfNeeded(newProps, !0), null === newProps.tail && "collapsed" !== newProps.tailMode && "visible" !== newProps.tailMode && !nextResource.alternate && !isHydrating) return bubbleProperties(workInProgress), null; - } else 2 * now$1() - newProps.renderingStartTime > workInProgressRootRenderTargetTime && 536870912 !== renderLanes && (workInProgress.flags |= 128, type = !0, cutOffTailIfNeeded(newProps, !1), workInProgress.lanes = 4194304); - newProps.isBackwards ? (nextResource.sibling = workInProgress.child, workInProgress.child = nextResource) : (current = newProps.last, null !== current ? current.sibling = nextResource : workInProgress.child = nextResource, newProps.last = nextResource); - } - if (null !== newProps.tail) { - current = newProps.tail; - a: { - for(renderLanes = current; null !== renderLanes;){ - if (null !== renderLanes.alternate) { - renderLanes = !1; - break a; - } - renderLanes = renderLanes.sibling; - } - renderLanes = !0; - } - newProps.rendering = current; - newProps.tail = current.sibling; - newProps.renderingStartTime = now$1(); - current.sibling = null; - nextResource = suspenseStackCursor.current; - nextResource = type ? nextResource & SubtreeSuspenseContextMask | ForceSuspenseFallback : nextResource & SubtreeSuspenseContextMask; - "visible" === newProps.tailMode || "collapsed" === newProps.tailMode || !renderLanes || isHydrating ? pushSuspenseListContext(workInProgress, nextResource) : (renderLanes = nextResource, push(suspenseHandlerStackCursor, workInProgress, workInProgress), push(suspenseStackCursor, renderLanes, workInProgress), null === shellBoundary && (shellBoundary = workInProgress)); - isHydrating && pushTreeFork(workInProgress, newProps.treeForkCount); - return current; - } - bubbleProperties(workInProgress); - return null; - case 22: - case 23: - return popSuspenseHandler(workInProgress), popHiddenContext(workInProgress), newProps = null !== workInProgress.memoizedState, null !== current ? null !== current.memoizedState !== newProps && (workInProgress.flags |= 8192) : newProps && (workInProgress.flags |= 8192), newProps ? 0 !== (renderLanes & 536870912) && 0 === (workInProgress.flags & 128) && (bubbleProperties(workInProgress), workInProgress.subtreeFlags & 6 && (workInProgress.flags |= 8192)) : bubbleProperties(workInProgress), renderLanes = workInProgress.updateQueue, null !== renderLanes && scheduleRetryEffect(workInProgress, renderLanes.retryQueue), renderLanes = null, null !== current && null !== current.memoizedState && null !== current.memoizedState.cachePool && (renderLanes = current.memoizedState.cachePool.pool), newProps = null, null !== workInProgress.memoizedState && null !== workInProgress.memoizedState.cachePool && (newProps = workInProgress.memoizedState.cachePool.pool), newProps !== renderLanes && (workInProgress.flags |= 2048), null !== current && pop(resumedCache, workInProgress), null; - case 24: - return renderLanes = null, null !== current && (renderLanes = current.memoizedState.cache), workInProgress.memoizedState.cache !== renderLanes && (workInProgress.flags |= 2048), popProvider(CacheContext, workInProgress), bubbleProperties(workInProgress), null; - case 25: - return null; - case 30: - return workInProgress.flags |= 33554432, bubbleProperties(workInProgress), null; - } - throw Error("Unknown unit of work tag (" + workInProgress.tag + "). This error is likely caused by a bug in React. Please file an issue."); - } - function unwindWork(current, workInProgress) { - popTreeContext(workInProgress); - switch(workInProgress.tag){ - case 1: - return current = workInProgress.flags, current & 65536 ? (workInProgress.flags = current & -65537 | 128, (workInProgress.mode & ProfileMode) !== NoMode && transferActualDuration(workInProgress), workInProgress) : null; - case 3: - return popProvider(CacheContext, workInProgress), popHostContainer(workInProgress), current = workInProgress.flags, 0 !== (current & 65536) && 0 === (current & 128) ? (workInProgress.flags = current & -65537 | 128, workInProgress) : null; - case 26: - case 27: - case 5: - return popHostContext(workInProgress), null; - case 31: - if (null !== workInProgress.memoizedState) { - popSuspenseHandler(workInProgress); - if (null === workInProgress.alternate) throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue."); - resetHydrationState(); - } - current = workInProgress.flags; - return current & 65536 ? (workInProgress.flags = current & -65537 | 128, (workInProgress.mode & ProfileMode) !== NoMode && transferActualDuration(workInProgress), workInProgress) : null; - case 13: - popSuspenseHandler(workInProgress); - current = workInProgress.memoizedState; - if (null !== current && null !== current.dehydrated) { - if (null === workInProgress.alternate) throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue."); - resetHydrationState(); - } - current = workInProgress.flags; - return current & 65536 ? (workInProgress.flags = current & -65537 | 128, (workInProgress.mode & ProfileMode) !== NoMode && transferActualDuration(workInProgress), workInProgress) : null; - case 19: - return popSuspenseListContext(workInProgress), current = workInProgress.flags, current & 65536 ? (workInProgress.flags = current & -65537 | 128, current = workInProgress.memoizedState, null !== current && (current.rendering = null, current.tail = null), workInProgress.flags |= 4, workInProgress) : null; - case 4: - return popHostContainer(workInProgress), null; - case 10: - return popProvider(workInProgress.type, workInProgress), null; - case 22: - case 23: - return popSuspenseHandler(workInProgress), popHiddenContext(workInProgress), null !== current && pop(resumedCache, workInProgress), current = workInProgress.flags, current & 65536 ? (workInProgress.flags = current & -65537 | 128, (workInProgress.mode & ProfileMode) !== NoMode && transferActualDuration(workInProgress), workInProgress) : null; - case 24: - return popProvider(CacheContext, workInProgress), null; - case 25: - return null; - default: - return null; - } - } - function unwindInterruptedWork(current, interruptedWork) { - popTreeContext(interruptedWork); - switch(interruptedWork.tag){ - case 3: - popProvider(CacheContext, interruptedWork); - popHostContainer(interruptedWork); - break; - case 26: - case 27: - case 5: - popHostContext(interruptedWork); - break; - case 4: - popHostContainer(interruptedWork); - break; - case 31: - null !== interruptedWork.memoizedState && popSuspenseHandler(interruptedWork); - break; - case 13: - popSuspenseHandler(interruptedWork); - break; - case 19: - popSuspenseListContext(interruptedWork); - break; - case 10: - popProvider(interruptedWork.type, interruptedWork); - break; - case 22: - case 23: - popSuspenseHandler(interruptedWork); - popHiddenContext(interruptedWork); - null !== current && pop(resumedCache, interruptedWork); - break; - case 24: - popProvider(CacheContext, interruptedWork); - } - } - function shouldProfile(current) { - return (current.mode & ProfileMode) !== NoMode; - } - function commitHookLayoutEffects(finishedWork, hookFlags) { - shouldProfile(finishedWork) ? (startEffectTimer(), commitHookEffectListMount(hookFlags, finishedWork), recordEffectDuration()) : commitHookEffectListMount(hookFlags, finishedWork); - } - function commitHookLayoutUnmountEffects(finishedWork, nearestMountedAncestor, hookFlags) { - shouldProfile(finishedWork) ? (startEffectTimer(), commitHookEffectListUnmount(hookFlags, finishedWork, nearestMountedAncestor), recordEffectDuration()) : commitHookEffectListUnmount(hookFlags, finishedWork, nearestMountedAncestor); - } - function commitHookEffectListMount(flags, finishedWork) { - try { - var updateQueue = finishedWork.updateQueue, lastEffect = null !== updateQueue ? updateQueue.lastEffect : null; - if (null !== lastEffect) { - var firstEffect = lastEffect.next; - updateQueue = firstEffect; - do { - if ((updateQueue.tag & flags) === flags && (lastEffect = void 0, (flags & Insertion) !== NoFlags && (isRunningInsertionEffect = !0), lastEffect = runWithFiberInDEV(finishedWork, callCreateInDEV, updateQueue), (flags & Insertion) !== NoFlags && (isRunningInsertionEffect = !1), void 0 !== lastEffect && "function" !== typeof lastEffect)) { - var hookName = void 0; - hookName = 0 !== (updateQueue.tag & Layout) ? "useLayoutEffect" : 0 !== (updateQueue.tag & Insertion) ? "useInsertionEffect" : "useEffect"; - var addendum = void 0; - addendum = null === lastEffect ? " You returned null. If your effect does not require clean up, return undefined (or nothing)." : "function" === typeof lastEffect.then ? "\n\nIt looks like you wrote " + hookName + "(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:\n\n" + hookName + "(() => {\n async function fetchData() {\n // You can await here\n const response = await MyAPI.getData(someId);\n // ...\n }\n fetchData();\n}, [someId]); // Or [] if effect doesn't need props or state\n\nLearn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching" : " You returned: " + lastEffect; - runWithFiberInDEV(finishedWork, function(n, a) { - console.error("%s must not return anything besides a function, which is used for clean-up.%s", n, a); - }, hookName, addendum); - } - updateQueue = updateQueue.next; - }while (updateQueue !== firstEffect) - } - } catch (error) { - captureCommitPhaseError(finishedWork, finishedWork.return, error); - } - } - function commitHookEffectListUnmount(flags, finishedWork, nearestMountedAncestor) { - try { - var updateQueue = finishedWork.updateQueue, lastEffect = null !== updateQueue ? updateQueue.lastEffect : null; - if (null !== lastEffect) { - var firstEffect = lastEffect.next; - updateQueue = firstEffect; - do { - if ((updateQueue.tag & flags) === flags) { - var inst = updateQueue.inst, destroy = inst.destroy; - void 0 !== destroy && (inst.destroy = void 0, (flags & Insertion) !== NoFlags && (isRunningInsertionEffect = !0), lastEffect = finishedWork, runWithFiberInDEV(lastEffect, callDestroyInDEV, lastEffect, nearestMountedAncestor, destroy), (flags & Insertion) !== NoFlags && (isRunningInsertionEffect = !1)); - } - updateQueue = updateQueue.next; - }while (updateQueue !== firstEffect) - } - } catch (error) { - captureCommitPhaseError(finishedWork, finishedWork.return, error); - } - } - function commitHookPassiveMountEffects(finishedWork, hookFlags) { - shouldProfile(finishedWork) ? (startEffectTimer(), commitHookEffectListMount(hookFlags, finishedWork), recordEffectDuration()) : commitHookEffectListMount(hookFlags, finishedWork); - } - function commitHookPassiveUnmountEffects(finishedWork, nearestMountedAncestor, hookFlags) { - shouldProfile(finishedWork) ? (startEffectTimer(), commitHookEffectListUnmount(hookFlags, finishedWork, nearestMountedAncestor), recordEffectDuration()) : commitHookEffectListUnmount(hookFlags, finishedWork, nearestMountedAncestor); - } - function commitClassCallbacks(finishedWork) { - var updateQueue = finishedWork.updateQueue; - if (null !== updateQueue) { - var instance = finishedWork.stateNode; - finishedWork.type.defaultProps || "ref" in finishedWork.memoizedProps || didWarnAboutReassigningProps || (instance.props !== finishedWork.memoizedProps && console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.", getComponentNameFromFiber(finishedWork) || "instance"), instance.state !== finishedWork.memoizedState && console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.", getComponentNameFromFiber(finishedWork) || "instance")); - try { - runWithFiberInDEV(finishedWork, commitCallbacks, updateQueue, instance); - } catch (error) { - captureCommitPhaseError(finishedWork, finishedWork.return, error); - } - } - } - function callGetSnapshotBeforeUpdates(instance, prevProps, prevState) { - return instance.getSnapshotBeforeUpdate(prevProps, prevState); - } - function commitClassSnapshot(finishedWork, current) { - var prevProps = current.memoizedProps, prevState = current.memoizedState; - current = finishedWork.stateNode; - finishedWork.type.defaultProps || "ref" in finishedWork.memoizedProps || didWarnAboutReassigningProps || (current.props !== finishedWork.memoizedProps && console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.", getComponentNameFromFiber(finishedWork) || "instance"), current.state !== finishedWork.memoizedState && console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.", getComponentNameFromFiber(finishedWork) || "instance")); - try { - var resolvedPrevProps = resolveClassComponentProps(finishedWork.type, prevProps); - var snapshot = runWithFiberInDEV(finishedWork, callGetSnapshotBeforeUpdates, current, resolvedPrevProps, prevState); - prevProps = didWarnAboutUndefinedSnapshotBeforeUpdate; - void 0 !== snapshot || prevProps.has(finishedWork.type) || (prevProps.add(finishedWork.type), runWithFiberInDEV(finishedWork, function() { - console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.", getComponentNameFromFiber(finishedWork)); - })); - current.__reactInternalSnapshotBeforeUpdate = snapshot; - } catch (error) { - captureCommitPhaseError(finishedWork, finishedWork.return, error); - } - } - function safelyCallComponentWillUnmount(current, nearestMountedAncestor, instance) { - instance.props = resolveClassComponentProps(current.type, current.memoizedProps); - instance.state = current.memoizedState; - shouldProfile(current) ? (startEffectTimer(), runWithFiberInDEV(current, callComponentWillUnmountInDEV, current, nearestMountedAncestor, instance), recordEffectDuration()) : runWithFiberInDEV(current, callComponentWillUnmountInDEV, current, nearestMountedAncestor, instance); - } - function commitAttachRef(finishedWork) { - var ref = finishedWork.ref; - if (null !== ref) { - switch(finishedWork.tag){ - case 26: - case 27: - case 5: - var instanceToUse = finishedWork.stateNode; - break; - case 30: - instanceToUse = finishedWork.stateNode; - var name = getViewTransitionName(finishedWork.memoizedProps, instanceToUse); - if (null === instanceToUse.ref || instanceToUse.ref.name !== name) instanceToUse.ref = createViewTransitionInstance(name); - instanceToUse = instanceToUse.ref; - break; - case 7: - null === finishedWork.stateNode && (instanceToUse = new FragmentInstance(finishedWork), finishedWork.stateNode = instanceToUse); - instanceToUse = finishedWork.stateNode; - break; - default: - instanceToUse = finishedWork.stateNode; - } - if ("function" === typeof ref) if (shouldProfile(finishedWork)) try { - startEffectTimer(), finishedWork.refCleanup = ref(instanceToUse); - } finally{ - recordEffectDuration(); - } - else finishedWork.refCleanup = ref(instanceToUse); - else "string" === typeof ref ? console.error("String refs are no longer supported.") : ref.hasOwnProperty("current") || console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().", getComponentNameFromFiber(finishedWork)), ref.current = instanceToUse; - } - } - function safelyAttachRef(current, nearestMountedAncestor) { - try { - runWithFiberInDEV(current, commitAttachRef, current); - } catch (error) { - captureCommitPhaseError(current, nearestMountedAncestor, error); - } - } - function safelyDetachRef(current, nearestMountedAncestor) { - var ref = current.ref, refCleanup = current.refCleanup; - if (null !== ref) if ("function" === typeof refCleanup) try { - if (shouldProfile(current)) try { - startEffectTimer(), runWithFiberInDEV(current, refCleanup); - } finally{ - recordEffectDuration(current); - } - else runWithFiberInDEV(current, refCleanup); - } catch (error) { - captureCommitPhaseError(current, nearestMountedAncestor, error); - } finally{ - current.refCleanup = null, current = current.alternate, null != current && (current.refCleanup = null); - } - else if ("function" === typeof ref) try { - if (shouldProfile(current)) try { - startEffectTimer(), runWithFiberInDEV(current, ref, null); - } finally{ - recordEffectDuration(current); - } - else runWithFiberInDEV(current, ref, null); - } catch (error$7) { - captureCommitPhaseError(current, nearestMountedAncestor, error$7); - } - else ref.current = null; - } - function commitProfiler(finishedWork, current, commitStartTime, effectDuration) { - var _finishedWork$memoize = finishedWork.memoizedProps, id = _finishedWork$memoize.id, onCommit = _finishedWork$memoize.onCommit; - _finishedWork$memoize = _finishedWork$memoize.onRender; - current = null === current ? "mount" : "update"; - currentUpdateIsNested && (current = "nested-update"); - "function" === typeof _finishedWork$memoize && _finishedWork$memoize(id, current, finishedWork.actualDuration, finishedWork.treeBaseDuration, finishedWork.actualStartTime, commitStartTime); - "function" === typeof onCommit && onCommit(id, current, effectDuration, commitStartTime); - } - function commitProfilerPostCommitImpl(finishedWork, current, commitStartTime, passiveEffectDuration) { - var _finishedWork$memoize2 = finishedWork.memoizedProps; - finishedWork = _finishedWork$memoize2.id; - _finishedWork$memoize2 = _finishedWork$memoize2.onPostCommit; - current = null === current ? "mount" : "update"; - currentUpdateIsNested && (current = "nested-update"); - "function" === typeof _finishedWork$memoize2 && _finishedWork$memoize2(finishedWork, current, passiveEffectDuration, commitStartTime); - } - function commitHostMount(finishedWork) { - var type = finishedWork.type, props = finishedWork.memoizedProps, instance = finishedWork.stateNode; - try { - runWithFiberInDEV(finishedWork, commitMount, instance, type, props, finishedWork); - } catch (error) { - captureCommitPhaseError(finishedWork, finishedWork.return, error); - } - } - function commitHostUpdate(finishedWork, newProps, oldProps) { - try { - runWithFiberInDEV(finishedWork, commitUpdate, finishedWork.stateNode, finishedWork.type, oldProps, newProps, finishedWork); - } catch (error) { - captureCommitPhaseError(finishedWork, finishedWork.return, error); - } - } - function commitNewChildToFragmentInstances(fiber, parentFragmentInstances) { - if (5 === fiber.tag && null === fiber.alternate && null !== parentFragmentInstances) for(var i = 0; i < parentFragmentInstances.length; i++)commitNewChildToFragmentInstance(fiber.stateNode, parentFragmentInstances[i]); - } - function commitFragmentInstanceDeletionEffects(fiber) { - for(var parent = fiber.return; null !== parent;){ - if (isFragmentInstanceParent(parent)) { - var childInstance = fiber.stateNode, eventListeners = parent.stateNode._eventListeners; - if (null !== eventListeners) for(var i = 0; i < eventListeners.length; i++){ - var _eventListeners$i3 = eventListeners[i]; - childInstance.removeEventListener(_eventListeners$i3.type, _eventListeners$i3.listener, _eventListeners$i3.optionsOrUseCapture); - } - } - if (isHostParent(parent)) break; - parent = parent.return; - } - } - function isHostParent(fiber) { - return 5 === fiber.tag || 3 === fiber.tag || 26 === fiber.tag || 27 === fiber.tag && isSingletonScope(fiber.type) || 4 === fiber.tag; - } - function isFragmentInstanceParent(fiber) { - return fiber && 7 === fiber.tag && null !== fiber.stateNode; - } - function getHostSibling(fiber) { - a: for(;;){ - for(; null === fiber.sibling;){ - if (null === fiber.return || isHostParent(fiber.return)) return null; - fiber = fiber.return; - } - fiber.sibling.return = fiber.return; - for(fiber = fiber.sibling; 5 !== fiber.tag && 6 !== fiber.tag && 18 !== fiber.tag;){ - if (27 === fiber.tag && isSingletonScope(fiber.type)) continue a; - if (fiber.flags & 2) continue a; - if (null === fiber.child || 4 === fiber.tag) continue a; - else fiber.child.return = fiber, fiber = fiber.child; - } - if (!(fiber.flags & 2)) return fiber.stateNode; - } - } - function insertOrAppendPlacementNodeIntoContainer(node, before, parent, parentFragmentInstances) { - var tag = node.tag; - if (5 === tag || 6 === tag) tag = node.stateNode, before ? (warnForReactChildrenConflict(parent), (9 === parent.nodeType ? parent.body : "HTML" === parent.nodeName ? parent.ownerDocument.body : parent).insertBefore(tag, before)) : (warnForReactChildrenConflict(parent), before = 9 === parent.nodeType ? parent.body : "HTML" === parent.nodeName ? parent.ownerDocument.body : parent, before.appendChild(tag), tag = parent._reactRootContainer, null !== tag && void 0 !== tag || null !== before.onclick || (before.onclick = noop$1)), commitNewChildToFragmentInstances(node, parentFragmentInstances), viewTransitionMutationContext = !0; - else if (4 !== tag && (27 === tag && isSingletonScope(node.type) && (parent = node.stateNode, before = null), node = node.child, null !== node)) for(insertOrAppendPlacementNodeIntoContainer(node, before, parent, parentFragmentInstances), node = node.sibling; null !== node;)insertOrAppendPlacementNodeIntoContainer(node, before, parent, parentFragmentInstances), node = node.sibling; - } - function insertOrAppendPlacementNode(node, before, parent, parentFragmentInstances) { - var tag = node.tag; - if (5 === tag || 6 === tag) tag = node.stateNode, before ? parent.insertBefore(tag, before) : parent.appendChild(tag), commitNewChildToFragmentInstances(node, parentFragmentInstances), viewTransitionMutationContext = !0; - else if (4 !== tag && (27 === tag && isSingletonScope(node.type) && (parent = node.stateNode), node = node.child, null !== node)) for(insertOrAppendPlacementNode(node, before, parent, parentFragmentInstances), node = node.sibling; null !== node;)insertOrAppendPlacementNode(node, before, parent, parentFragmentInstances), node = node.sibling; - } - function commitPlacement(finishedWork) { - for(var hostParentFiber, parentFragmentInstances = null, parentFiber = finishedWork.return; null !== parentFiber;){ - if (isFragmentInstanceParent(parentFiber)) { - var fragmentInstance = parentFiber.stateNode; - null === parentFragmentInstances ? parentFragmentInstances = [ - fragmentInstance - ] : parentFragmentInstances.push(fragmentInstance); - } - if (isHostParent(parentFiber)) { - hostParentFiber = parentFiber; - break; - } - parentFiber = parentFiber.return; - } - if (null == hostParentFiber) throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue."); - switch(hostParentFiber.tag){ - case 27: - hostParentFiber = hostParentFiber.stateNode; - parentFiber = getHostSibling(finishedWork); - insertOrAppendPlacementNode(finishedWork, parentFiber, hostParentFiber, parentFragmentInstances); - break; - case 5: - parentFiber = hostParentFiber.stateNode; - hostParentFiber.flags & 32 && (resetTextContent(parentFiber), hostParentFiber.flags &= -33); - hostParentFiber = getHostSibling(finishedWork); - insertOrAppendPlacementNode(finishedWork, hostParentFiber, parentFiber, parentFragmentInstances); - break; - case 3: - case 4: - hostParentFiber = hostParentFiber.stateNode.containerInfo; - parentFiber = getHostSibling(finishedWork); - insertOrAppendPlacementNodeIntoContainer(finishedWork, parentFiber, hostParentFiber, parentFragmentInstances); - break; - default: - throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue."); - } - } - function commitHostSingletonAcquisition(finishedWork) { - var singleton = finishedWork.stateNode, props = finishedWork.memoizedProps; - try { - runWithFiberInDEV(finishedWork, acquireSingletonInstance, finishedWork.type, props, singleton, finishedWork); - } catch (error) { - captureCommitPhaseError(finishedWork, finishedWork.return, error); - } - } - function trackEnterViewTransitions(placement) { - if (30 === placement.tag || 0 !== (placement.subtreeFlags & 33554432)) shouldStartViewTransition = !0; - } - function pushViewTransitionCancelableScope() { - var prevChildren = viewTransitionCancelableChildren; - viewTransitionCancelableChildren = null; - return prevChildren; - } - function applyViewTransitionToHostInstances(fiber, name, className, collectMeasurements, stopAtNestedViewTransitions) { - viewTransitionHostInstanceIdx = 0; - (name = applyViewTransitionToHostInstancesRecursive(fiber.child, name, className, collectMeasurements, stopAtNestedViewTransitions)) && null != fiber._debugTask && null === animatingTask && (animatingTask = fiber._debugTask); - return name; - } - function applyViewTransitionToHostInstancesRecursive(child, name, className, collectMeasurements, stopAtNestedViewTransitions) { - for(var inViewport = !1; null !== child;){ - if (5 === child.tag) { - var instance = child.stateNode; - if (null !== collectMeasurements) { - var measurement = measureInstance(instance); - collectMeasurements.push(measurement); - measurement.view && (inViewport = !0); - } else inViewport || measureInstance(instance).view && (inViewport = !0); - shouldStartViewTransition = !0; - applyViewTransitionName(instance, 0 === viewTransitionHostInstanceIdx ? name : name + "_" + viewTransitionHostInstanceIdx, className); - viewTransitionHostInstanceIdx++; - } else if (22 !== child.tag || null === child.memoizedState) 30 === child.tag && stopAtNestedViewTransitions || applyViewTransitionToHostInstancesRecursive(child.child, name, className, collectMeasurements, stopAtNestedViewTransitions) && (inViewport = !0); - child = child.sibling; - } - return inViewport; - } - function restoreViewTransitionOnHostInstances(child, stopAtNestedViewTransitions) { - for(; null !== child;){ - if (5 === child.tag) restoreViewTransitionName(child.stateNode, child.memoizedProps); - else if (22 !== child.tag || null === child.memoizedState) 30 === child.tag && stopAtNestedViewTransitions || restoreViewTransitionOnHostInstances(child.child, stopAtNestedViewTransitions); - child = child.sibling; - } - } - function commitAppearingPairViewTransitions(placement) { - if (0 !== (placement.subtreeFlags & 18874368)) for(placement = placement.child; null !== placement;){ - if (22 !== placement.tag || null === placement.memoizedState) { - if (commitAppearingPairViewTransitions(placement), 30 === placement.tag && 0 !== (placement.flags & 18874368) && placement.stateNode.paired) { - var props = placement.memoizedProps; - if (null == props.name || "auto" === props.name) throw Error("Found a pair with an auto name. This is a bug in React."); - var name = props.name; - props = getViewTransitionClassName(props.default, props.share); - "none" !== props && (applyViewTransitionToHostInstances(placement, name, props, null, !1) || restoreViewTransitionOnHostInstances(placement.child, !1)); - } - } - placement = placement.sibling; - } - } - function commitEnterViewTransitions(placement, gesture) { - if (30 === placement.tag) { - var state = placement.stateNode, props = placement.memoizedProps, name = getViewTransitionName(props, state), className = getViewTransitionClassName(props.default, state.paired ? props.share : props.enter); - "none" !== className ? applyViewTransitionToHostInstances(placement, name, className, null, !1) ? (commitAppearingPairViewTransitions(placement), state.paired || gesture || scheduleViewTransitionEvent(placement, props.onEnter)) : restoreViewTransitionOnHostInstances(placement.child, !1) : commitAppearingPairViewTransitions(placement); - } else if (0 !== (placement.subtreeFlags & 33554432)) for(placement = placement.child; null !== placement;)commitEnterViewTransitions(placement, gesture), placement = placement.sibling; - else commitAppearingPairViewTransitions(placement); - } - function commitDeletedPairViewTransitions(deletion) { - if (null !== appearingViewTransitions && 0 !== appearingViewTransitions.size) { - var pairs = appearingViewTransitions; - if (0 !== (deletion.subtreeFlags & 18874368)) for(deletion = deletion.child; null !== deletion;){ - if (22 !== deletion.tag || null === deletion.memoizedState) { - if (30 === deletion.tag && 0 !== (deletion.flags & 18874368)) { - var props = deletion.memoizedProps, name = props.name; - if (null != name && "auto" !== name) { - var pair = pairs.get(name); - if (void 0 !== pair) { - var className = getViewTransitionClassName(props.default, props.share); - "none" !== className && (applyViewTransitionToHostInstances(deletion, name, className, null, !1) ? (className = deletion.stateNode, pair.paired = className, className.paired = pair, scheduleViewTransitionEvent(deletion, props.onShare)) : restoreViewTransitionOnHostInstances(deletion.child, !1)); - pairs.delete(name); - if (0 === pairs.size) break; - } - } - } - commitDeletedPairViewTransitions(deletion); - } - deletion = deletion.sibling; - } - } - } - function commitExitViewTransitions(deletion) { - if (30 === deletion.tag) { - var props = deletion.memoizedProps, name = getViewTransitionName(props, deletion.stateNode), pair = null !== appearingViewTransitions ? appearingViewTransitions.get(name) : void 0, className = getViewTransitionClassName(props.default, void 0 !== pair ? props.share : props.exit); - "none" !== className && (applyViewTransitionToHostInstances(deletion, name, className, null, !1) ? void 0 !== pair ? (className = deletion.stateNode, pair.paired = className, className.paired = pair, appearingViewTransitions.delete(name), scheduleViewTransitionEvent(deletion, props.onShare)) : scheduleViewTransitionEvent(deletion, props.onExit) : restoreViewTransitionOnHostInstances(deletion.child, !1)); - null !== appearingViewTransitions && commitDeletedPairViewTransitions(deletion); - } else if (0 !== (deletion.subtreeFlags & 33554432)) for(deletion = deletion.child; null !== deletion;)commitExitViewTransitions(deletion), deletion = deletion.sibling; - else null !== appearingViewTransitions && commitDeletedPairViewTransitions(deletion); - } - function commitNestedViewTransitions(changedParent) { - for(changedParent = changedParent.child; null !== changedParent;){ - if (30 === changedParent.tag) { - var props = changedParent.memoizedProps, name = getViewTransitionName(props, changedParent.stateNode); - props = getViewTransitionClassName(props.default, props.update); - changedParent.flags &= -5; - "none" !== props && applyViewTransitionToHostInstances(changedParent, name, props, changedParent.memoizedState = [], !1); - } else 0 !== (changedParent.subtreeFlags & 33554432) && commitNestedViewTransitions(changedParent); - changedParent = changedParent.sibling; - } - } - function restorePairedViewTransitions(parent) { - if (0 !== (parent.subtreeFlags & 18874368)) for(parent = parent.child; null !== parent;){ - if (22 !== parent.tag || null === parent.memoizedState) { - if (30 === parent.tag && 0 !== (parent.flags & 18874368)) { - var instance = parent.stateNode; - null !== instance.paired && (instance.paired = null, restoreViewTransitionOnHostInstances(parent.child, !1)); - } - restorePairedViewTransitions(parent); - } - parent = parent.sibling; - } - } - function restoreEnterOrExitViewTransitions(fiber) { - if (30 === fiber.tag) fiber.stateNode.paired = null, restoreViewTransitionOnHostInstances(fiber.child, !1), restorePairedViewTransitions(fiber); - else if (0 !== (fiber.subtreeFlags & 33554432)) for(fiber = fiber.child; null !== fiber;)restoreEnterOrExitViewTransitions(fiber), fiber = fiber.sibling; - else restorePairedViewTransitions(fiber); - } - function restoreNestedViewTransitions(changedParent) { - for(changedParent = changedParent.child; null !== changedParent;)30 === changedParent.tag ? restoreViewTransitionOnHostInstances(changedParent.child, !1) : 0 !== (changedParent.subtreeFlags & 33554432) && restoreNestedViewTransitions(changedParent), changedParent = changedParent.sibling; - } - function measureViewTransitionHostInstancesRecursive(parentViewTransition, child, newName, oldName, className, previousMeasurements, stopAtNestedViewTransitions) { - for(var inViewport = !1; null !== child;){ - if (5 === child.tag) { - var instance = child.stateNode; - if (null !== previousMeasurements && viewTransitionHostInstanceIdx < previousMeasurements.length) { - var previousMeasurement = previousMeasurements[viewTransitionHostInstanceIdx], nextMeasurement = measureInstance(instance); - if (previousMeasurement.view || nextMeasurement.view) inViewport = !0; - var JSCompiler_temp; - if (JSCompiler_temp = 0 === (parentViewTransition.flags & 4)) if (nextMeasurement.clip) JSCompiler_temp = !0; - else { - JSCompiler_temp = previousMeasurement.rect; - var newRect = nextMeasurement.rect; - JSCompiler_temp = JSCompiler_temp.y !== newRect.y || JSCompiler_temp.x !== newRect.x || JSCompiler_temp.height !== newRect.height || JSCompiler_temp.width !== newRect.width; - } - JSCompiler_temp && (parentViewTransition.flags |= 4); - nextMeasurement.abs ? nextMeasurement = !previousMeasurement.abs : (previousMeasurement = previousMeasurement.rect, nextMeasurement = nextMeasurement.rect, nextMeasurement = previousMeasurement.height !== nextMeasurement.height || previousMeasurement.width !== nextMeasurement.width); - nextMeasurement && (parentViewTransition.flags |= 32); - } else parentViewTransition.flags |= 32; - 0 !== (parentViewTransition.flags & 4) && applyViewTransitionName(instance, 0 === viewTransitionHostInstanceIdx ? newName : newName + "_" + viewTransitionHostInstanceIdx, className); - inViewport && 0 !== (parentViewTransition.flags & 4) || (null === viewTransitionCancelableChildren && (viewTransitionCancelableChildren = []), viewTransitionCancelableChildren.push(instance, oldName, child.memoizedProps)); - viewTransitionHostInstanceIdx++; - } else if (22 !== child.tag || null === child.memoizedState) 30 === child.tag && stopAtNestedViewTransitions ? parentViewTransition.flags |= child.flags & 32 : measureViewTransitionHostInstancesRecursive(parentViewTransition, child.child, newName, oldName, className, previousMeasurements, stopAtNestedViewTransitions) && (inViewport = !0); - child = child.sibling; - } - return inViewport; - } - function measureNestedViewTransitions(changedParent, gesture) { - for(changedParent = changedParent.child; null !== changedParent;){ - if (30 === changedParent.tag) { - var props = changedParent.memoizedProps, state = changedParent.stateNode, name = getViewTransitionName(props, state), className = getViewTransitionClassName(props.default, props.update); - if (gesture) { - state = state.clones; - var previousMeasurements = null === state ? null : state.map(measureClonedInstance); - } else previousMeasurements = changedParent.memoizedState, changedParent.memoizedState = null; - state = changedParent; - var child = changedParent.child, newName = name; - viewTransitionHostInstanceIdx = 0; - className = measureViewTransitionHostInstancesRecursive(state, child, newName, name, className, previousMeasurements, !1); - 0 !== (changedParent.flags & 4) && className && (gesture || scheduleViewTransitionEvent(changedParent, props.onUpdate)); - } else 0 !== (changedParent.subtreeFlags & 33554432) && measureNestedViewTransitions(changedParent, gesture); - changedParent = changedParent.sibling; - } - } - function trackNamedViewTransition(fiber) { - var name = fiber.memoizedProps.name; - if (null != name && "auto" !== name) { - var existing = mountedNamedViewTransitions.get(name); - if (void 0 !== existing) { - if (existing !== fiber && existing !== fiber.alternate && !didWarnAboutName[name]) { - didWarnAboutName[name] = !0; - var stringifiedName = JSON.stringify(name); - runWithFiberInDEV(fiber, function() { - console.error("There are two <ViewTransition name=%s> components with the same name mounted at the same time. This is not supported and will cause View Transitions to error. Try to use a more unique name e.g. by using a namespace prefix and adding the id of an item to the name.", stringifiedName); - }); - runWithFiberInDEV(existing, function() { - console.error("The existing <ViewTransition name=%s> duplicate has this stack trace.", stringifiedName); - }); - } - } else mountedNamedViewTransitions.set(name, fiber); - } - } - function untrackNamedViewTransition(fiber) { - var name = fiber.memoizedProps.name; - if (null != name && "auto" !== name) { - var existing = mountedNamedViewTransitions.get(name); - void 0 === existing || existing !== fiber && existing !== fiber.alternate || mountedNamedViewTransitions.delete(name); - } - } - function isHydratingParent(current, finishedWork) { - return 31 === finishedWork.tag ? (finishedWork = finishedWork.memoizedState, null !== current.memoizedState && null === finishedWork) : 13 === finishedWork.tag ? (current = current.memoizedState, finishedWork = finishedWork.memoizedState, null !== current && null !== current.dehydrated && (null === finishedWork || null === finishedWork.dehydrated)) : 3 === finishedWork.tag ? current.memoizedState.isDehydrated && 0 === (finishedWork.flags & 256) : !1; - } - function commitBeforeMutationEffects(root, firstChild, committedLanes) { - root = root.containerInfo; - eventsEnabled = _enabled; - root = getActiveElementDeep(root); - if (hasSelectionCapabilities(root)) { - if ("selectionStart" in root) var JSCompiler_temp = { - start: root.selectionStart, - end: root.selectionEnd - }; - else a: { - JSCompiler_temp = (JSCompiler_temp = root.ownerDocument) && JSCompiler_temp.defaultView || window; - var selection = JSCompiler_temp.getSelection && JSCompiler_temp.getSelection(); - if (selection && 0 !== selection.rangeCount) { - JSCompiler_temp = selection.anchorNode; - var anchorOffset = selection.anchorOffset, focusNode = selection.focusNode; - selection = selection.focusOffset; - try { - JSCompiler_temp.nodeType, focusNode.nodeType; - } catch (e$2) { - JSCompiler_temp = null; - break a; - } - var length = 0, start = -1, end = -1, indexWithinAnchor = 0, indexWithinFocus = 0, node = root, parentNode = null; - b: for(;;){ - for(var next;;){ - node !== JSCompiler_temp || 0 !== anchorOffset && 3 !== node.nodeType || (start = length + anchorOffset); - node !== focusNode || 0 !== selection && 3 !== node.nodeType || (end = length + selection); - 3 === node.nodeType && (length += node.nodeValue.length); - if (null === (next = node.firstChild)) break; - parentNode = node; - node = next; - } - for(;;){ - if (node === root) break b; - parentNode === JSCompiler_temp && ++indexWithinAnchor === anchorOffset && (start = length); - parentNode === focusNode && ++indexWithinFocus === selection && (end = length); - if (null !== (next = node.nextSibling)) break; - node = parentNode; - parentNode = node.parentNode; - } - node = next; - } - JSCompiler_temp = -1 === start || -1 === end ? null : { - start: start, - end: end - }; - } else JSCompiler_temp = null; - } - JSCompiler_temp = JSCompiler_temp || { - start: 0, - end: 0 - }; - } else JSCompiler_temp = null; - selectionInformation = { - focusedElem: root, - selectionRange: JSCompiler_temp - }; - _enabled = !1; - committedLanes = (committedLanes & 335544064) === committedLanes; - nextEffect = firstChild; - for(firstChild = committedLanes ? 9270 : 1028; null !== nextEffect;){ - root = nextEffect; - if (committedLanes && (JSCompiler_temp = root.deletions, null !== JSCompiler_temp)) for(anchorOffset = 0; anchorOffset < JSCompiler_temp.length; anchorOffset++)committedLanes && commitExitViewTransitions(JSCompiler_temp[anchorOffset]); - if (null === root.alternate && 0 !== (root.flags & 2)) committedLanes && trackEnterViewTransitions(root), commitBeforeMutationEffects_complete(committedLanes); - else { - if (22 === root.tag) { - if (JSCompiler_temp = root.alternate, null !== root.memoizedState) { - null !== JSCompiler_temp && null === JSCompiler_temp.memoizedState && committedLanes && commitExitViewTransitions(JSCompiler_temp); - commitBeforeMutationEffects_complete(committedLanes); - continue; - } else if (null !== JSCompiler_temp && null !== JSCompiler_temp.memoizedState) { - committedLanes && trackEnterViewTransitions(root); - commitBeforeMutationEffects_complete(committedLanes); - continue; - } - } - JSCompiler_temp = root.child; - 0 !== (root.subtreeFlags & firstChild) && null !== JSCompiler_temp ? (JSCompiler_temp.return = root, nextEffect = JSCompiler_temp) : (committedLanes && commitNestedViewTransitions(root), commitBeforeMutationEffects_complete(committedLanes)); - } - } - appearingViewTransitions = null; - } - function commitBeforeMutationEffects_complete(isViewTransitionEligible$jscomp$0) { - for(; null !== nextEffect;){ - var fiber = nextEffect, finishedWork = fiber, isViewTransitionEligible = isViewTransitionEligible$jscomp$0, current = finishedWork.alternate, flags = finishedWork.flags; - switch(finishedWork.tag){ - case 0: - case 11: - case 15: - if (0 !== (flags & 4) && (isViewTransitionEligible = finishedWork.updateQueue, isViewTransitionEligible = null !== isViewTransitionEligible ? isViewTransitionEligible.events : null, null !== isViewTransitionEligible)) for(finishedWork = 0; finishedWork < isViewTransitionEligible.length; finishedWork++)current = isViewTransitionEligible[finishedWork], current.ref.impl = current.nextImpl; - break; - case 1: - 0 !== (flags & 1024) && null !== current && commitClassSnapshot(finishedWork, current); - break; - case 3: - if (0 !== (flags & 1024)) { - if (isViewTransitionEligible = finishedWork.stateNode.containerInfo, finishedWork = isViewTransitionEligible.nodeType, 9 === finishedWork) clearContainerSparingly(isViewTransitionEligible); - else if (1 === finishedWork) switch(isViewTransitionEligible.nodeName){ - case "HEAD": - case "HTML": - case "BODY": - clearContainerSparingly(isViewTransitionEligible); - break; - default: - isViewTransitionEligible.textContent = ""; - } - } - break; - case 5: - case 26: - case 27: - case 6: - case 4: - case 17: - break; - case 30: - isViewTransitionEligible && null !== current && (isViewTransitionEligible = current, current = finishedWork, finishedWork = getViewTransitionName(isViewTransitionEligible.memoizedProps, isViewTransitionEligible.stateNode), current = current.memoizedProps, current = getViewTransitionClassName(current.default, current.update), "none" !== current && applyViewTransitionToHostInstances(isViewTransitionEligible, finishedWork, current, isViewTransitionEligible.memoizedState = [], !0)); - break; - default: - if (0 !== (flags & 1024)) throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue."); - } - isViewTransitionEligible = fiber.sibling; - if (null !== isViewTransitionEligible) { - isViewTransitionEligible.return = fiber.return; - nextEffect = isViewTransitionEligible; - break; - } - nextEffect = fiber.return; - } - } - function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { - var prevEffectStart = pushComponentEffectStart(), prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate(), flags = finishedWork.flags; - switch(finishedWork.tag){ - case 0: - case 11: - case 15: - recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); - flags & 4 && commitHookLayoutEffects(finishedWork, Layout | HasEffect); - break; - case 1: - recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); - if (flags & 4) if (finishedRoot = finishedWork.stateNode, null === current) finishedWork.type.defaultProps || "ref" in finishedWork.memoizedProps || didWarnAboutReassigningProps || (finishedRoot.props !== finishedWork.memoizedProps && console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.", getComponentNameFromFiber(finishedWork) || "instance"), finishedRoot.state !== finishedWork.memoizedState && console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.", getComponentNameFromFiber(finishedWork) || "instance")), shouldProfile(finishedWork) ? (startEffectTimer(), runWithFiberInDEV(finishedWork, callComponentDidMountInDEV, finishedWork, finishedRoot), recordEffectDuration()) : runWithFiberInDEV(finishedWork, callComponentDidMountInDEV, finishedWork, finishedRoot); - else { - var prevProps = resolveClassComponentProps(finishedWork.type, current.memoizedProps); - current = current.memoizedState; - finishedWork.type.defaultProps || "ref" in finishedWork.memoizedProps || didWarnAboutReassigningProps || (finishedRoot.props !== finishedWork.memoizedProps && console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.", getComponentNameFromFiber(finishedWork) || "instance"), finishedRoot.state !== finishedWork.memoizedState && console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.", getComponentNameFromFiber(finishedWork) || "instance")); - shouldProfile(finishedWork) ? (startEffectTimer(), runWithFiberInDEV(finishedWork, callComponentDidUpdateInDEV, finishedWork, finishedRoot, prevProps, current, finishedRoot.__reactInternalSnapshotBeforeUpdate), recordEffectDuration()) : runWithFiberInDEV(finishedWork, callComponentDidUpdateInDEV, finishedWork, finishedRoot, prevProps, current, finishedRoot.__reactInternalSnapshotBeforeUpdate); - } - flags & 64 && commitClassCallbacks(finishedWork); - flags & 512 && safelyAttachRef(finishedWork, finishedWork.return); - break; - case 3: - current = pushNestedEffectDurations(); - recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); - if (flags & 64 && (flags = finishedWork.updateQueue, null !== flags)) { - prevProps = null; - if (null !== finishedWork.child) switch(finishedWork.child.tag){ - case 27: - case 5: - prevProps = finishedWork.child.stateNode; - break; - case 1: - prevProps = finishedWork.child.stateNode; - } - try { - runWithFiberInDEV(finishedWork, commitCallbacks, flags, prevProps); - } catch (error) { - captureCommitPhaseError(finishedWork, finishedWork.return, error); - } - } - finishedRoot.effectDuration += popNestedEffectDurations(current); - break; - case 27: - null === current && flags & 4 && commitHostSingletonAcquisition(finishedWork); - case 26: - case 5: - recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); - if (null === current) { - if (flags & 4) commitHostMount(finishedWork); - else if (flags & 64) { - finishedRoot = finishedWork.type; - current = finishedWork.memoizedProps; - prevProps = finishedWork.stateNode; - try { - runWithFiberInDEV(finishedWork, commitHydratedInstance, prevProps, finishedRoot, current, finishedWork); - } catch (error) { - captureCommitPhaseError(finishedWork, finishedWork.return, error); - } - } - } - flags & 512 && safelyAttachRef(finishedWork, finishedWork.return); - break; - case 12: - if (flags & 4) { - flags = pushNestedEffectDurations(); - recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); - finishedRoot = finishedWork.stateNode; - finishedRoot.effectDuration += bubbleNestedEffectDurations(flags); - try { - runWithFiberInDEV(finishedWork, commitProfiler, finishedWork, current, commitStartTime, finishedRoot.effectDuration); - } catch (error) { - captureCommitPhaseError(finishedWork, finishedWork.return, error); - } - } else recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); - break; - case 31: - recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); - flags & 4 && commitActivityHydrationCallbacks(finishedRoot, finishedWork); - break; - case 13: - recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); - flags & 4 && commitSuspenseHydrationCallbacks(finishedRoot, finishedWork); - flags & 64 && (finishedRoot = finishedWork.memoizedState, null !== finishedRoot && (finishedRoot = finishedRoot.dehydrated, null !== finishedRoot && (flags = retryDehydratedSuspenseBoundary.bind(null, finishedWork), registerSuspenseInstanceRetry(finishedRoot, flags)))); - break; - case 22: - flags = null !== finishedWork.memoizedState || offscreenSubtreeIsHidden; - if (!flags) { - current = null !== current && null !== current.memoizedState || offscreenSubtreeWasHidden; - prevProps = offscreenSubtreeIsHidden; - var prevOffscreenSubtreeWasHidden = offscreenSubtreeWasHidden; - offscreenSubtreeIsHidden = flags; - (offscreenSubtreeWasHidden = current) && !prevOffscreenSubtreeWasHidden ? (recursivelyTraverseReappearLayoutEffects(finishedRoot, finishedWork, 0 !== (finishedWork.subtreeFlags & 8772)), (finishedWork.mode & ProfileMode) !== NoMode && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && 0.05 < componentEffectEndTime - componentEffectStartTime && logComponentReappeared(finishedWork, componentEffectStartTime, componentEffectEndTime)) : recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); - offscreenSubtreeIsHidden = prevProps; - offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden; - } - break; - case 30: - flags & 18874368 && trackNamedViewTransition(finishedWork); - recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); - flags & 512 && safelyAttachRef(finishedWork, finishedWork.return); - break; - case 7: - flags & 512 && safelyAttachRef(finishedWork, finishedWork.return); - default: - recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); - } - (finishedWork.mode & ProfileMode) !== NoMode && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && ((componentEffectSpawnedUpdate || 0.05 < componentEffectDuration) && logComponentEffect(finishedWork, componentEffectStartTime, componentEffectEndTime, componentEffectDuration, componentEffectErrors), null === finishedWork.alternate && null !== finishedWork.return && null !== finishedWork.return.alternate && 0.05 < componentEffectEndTime - componentEffectStartTime && (isHydratingParent(finishedWork.return.alternate, finishedWork.return) || logComponentTrigger(finishedWork, componentEffectStartTime, componentEffectEndTime, "Mount"))); - popComponentEffectStart(prevEffectStart); - popComponentEffectDuration(prevEffectDuration); - componentEffectErrors = prevEffectErrors; - componentEffectSpawnedUpdate = prevEffectDidSpawnUpdate; - } - function hideOrUnhideAllChildren(parentFiber, isHidden) { - for(parentFiber = parentFiber.child; null !== parentFiber;)hideOrUnhideAllChildrenOnFiber(parentFiber, isHidden), parentFiber = parentFiber.sibling; - } - function hideOrUnhideAllChildrenOnFiber(fiber, isHidden) { - switch(fiber.tag){ - case 5: - case 26: - try { - var instance = fiber.stateNode; - isHidden ? runWithFiberInDEV(fiber, hideInstance, instance) : runWithFiberInDEV(fiber, unhideInstance, fiber.stateNode, fiber.memoizedProps); - } catch (error) { - captureCommitPhaseError(fiber, fiber.return, error); - } - hideOrUnhideNearestPortals(fiber, isHidden); - break; - case 6: - try { - var instance$jscomp$0 = fiber.stateNode; - isHidden ? runWithFiberInDEV(fiber, hideTextInstance, instance$jscomp$0) : runWithFiberInDEV(fiber, unhideTextInstance, instance$jscomp$0, fiber.memoizedProps); - viewTransitionMutationContext = !0; - } catch (error) { - captureCommitPhaseError(fiber, fiber.return, error); - } - break; - case 18: - try { - var instance$jscomp$1 = fiber.stateNode; - isHidden ? runWithFiberInDEV(fiber, hideDehydratedBoundary, instance$jscomp$1) : runWithFiberInDEV(fiber, unhideDehydratedBoundary, fiber.stateNode); - } catch (error) { - captureCommitPhaseError(fiber, fiber.return, error); - } - break; - case 22: - case 23: - null === fiber.memoizedState && hideOrUnhideAllChildren(fiber, isHidden); - break; - default: - hideOrUnhideAllChildren(fiber, isHidden); - } - } - function hideOrUnhideNearestPortals(parentFiber, isHidden$jscomp$0) { - if (parentFiber.subtreeFlags & 67108864) for(parentFiber = parentFiber.child; null !== parentFiber;){ - a: { - var fiber = parentFiber, isHidden = isHidden$jscomp$0; - switch(fiber.tag){ - case 4: - hideOrUnhideAllChildrenOnFiber(fiber, isHidden); - break a; - case 22: - null === fiber.memoizedState && hideOrUnhideNearestPortals(fiber, isHidden); - break a; - default: - hideOrUnhideNearestPortals(fiber, isHidden); - } - } - parentFiber = parentFiber.sibling; - } - } - function detachFiberAfterEffects(fiber) { - var alternate = fiber.alternate; - null !== alternate && (fiber.alternate = null, detachFiberAfterEffects(alternate)); - fiber.child = null; - fiber.deletions = null; - fiber.sibling = null; - 5 === fiber.tag && (alternate = fiber.stateNode, null !== alternate && detachDeletedInstance(alternate)); - fiber.stateNode = null; - fiber._debugOwner = null; - fiber.return = null; - fiber.dependencies = null; - fiber.memoizedProps = null; - fiber.memoizedState = null; - fiber.pendingProps = null; - fiber.stateNode = null; - fiber.updateQueue = null; - } - function recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, parent) { - for(parent = parent.child; null !== parent;)commitDeletionEffectsOnFiber(finishedRoot, nearestMountedAncestor, parent), parent = parent.sibling; - } - function commitDeletionEffectsOnFiber(finishedRoot, nearestMountedAncestor, deletedFiber) { - if (injectedHook && "function" === typeof injectedHook.onCommitFiberUnmount) try { - injectedHook.onCommitFiberUnmount(rendererID, deletedFiber); - } catch (err) { - hasLoggedError || (hasLoggedError = !0, console.error("React instrumentation encountered an error: %o", err)); - } - var prevEffectStart = pushComponentEffectStart(), prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate(); - switch(deletedFiber.tag){ - case 26: - offscreenSubtreeWasHidden || safelyDetachRef(deletedFiber, nearestMountedAncestor); - recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, deletedFiber); - deletedFiber.memoizedState ? deletedFiber.memoizedState.count-- : deletedFiber.stateNode && (finishedRoot = deletedFiber.stateNode, finishedRoot.parentNode.removeChild(finishedRoot)); - break; - case 27: - offscreenSubtreeWasHidden || safelyDetachRef(deletedFiber, nearestMountedAncestor); - var prevHostParent = hostParent, prevHostParentIsContainer = hostParentIsContainer; - isSingletonScope(deletedFiber.type) && (hostParent = deletedFiber.stateNode, hostParentIsContainer = !1); - recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, deletedFiber); - runWithFiberInDEV(deletedFiber, releaseSingletonInstance, deletedFiber.stateNode); - hostParent = prevHostParent; - hostParentIsContainer = prevHostParentIsContainer; - break; - case 5: - offscreenSubtreeWasHidden || safelyDetachRef(deletedFiber, nearestMountedAncestor), 5 === deletedFiber.tag && commitFragmentInstanceDeletionEffects(deletedFiber); - case 6: - prevHostParent = hostParent; - prevHostParentIsContainer = hostParentIsContainer; - hostParent = null; - recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, deletedFiber); - hostParent = prevHostParent; - hostParentIsContainer = prevHostParentIsContainer; - if (null !== hostParent) if (hostParentIsContainer) try { - runWithFiberInDEV(deletedFiber, removeChildFromContainer, hostParent, deletedFiber.stateNode), viewTransitionMutationContext = !0; - } catch (error) { - captureCommitPhaseError(deletedFiber, nearestMountedAncestor, error); - } - else try { - runWithFiberInDEV(deletedFiber, removeChild, hostParent, deletedFiber.stateNode), viewTransitionMutationContext = !0; - } catch (error) { - captureCommitPhaseError(deletedFiber, nearestMountedAncestor, error); - } - break; - case 18: - null !== hostParent && (hostParentIsContainer ? (finishedRoot = hostParent, clearHydrationBoundary(9 === finishedRoot.nodeType ? finishedRoot.body : "HTML" === finishedRoot.nodeName ? finishedRoot.ownerDocument.body : finishedRoot, deletedFiber.stateNode), retryIfBlockedOn(finishedRoot)) : clearHydrationBoundary(hostParent, deletedFiber.stateNode)); - break; - case 4: - prevHostParent = hostParent; - prevHostParentIsContainer = hostParentIsContainer; - hostParent = deletedFiber.stateNode.containerInfo; - hostParentIsContainer = !0; - recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, deletedFiber); - hostParent = prevHostParent; - hostParentIsContainer = prevHostParentIsContainer; - break; - case 0: - case 11: - case 14: - case 15: - commitHookEffectListUnmount(Insertion, deletedFiber, nearestMountedAncestor); - offscreenSubtreeWasHidden || commitHookLayoutUnmountEffects(deletedFiber, nearestMountedAncestor, Layout); - recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, deletedFiber); - break; - case 1: - offscreenSubtreeWasHidden || (safelyDetachRef(deletedFiber, nearestMountedAncestor), prevHostParent = deletedFiber.stateNode, "function" === typeof prevHostParent.componentWillUnmount && safelyCallComponentWillUnmount(deletedFiber, nearestMountedAncestor, prevHostParent)); - recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, deletedFiber); - break; - case 21: - recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, deletedFiber); - break; - case 22: - offscreenSubtreeWasHidden = (prevHostParent = offscreenSubtreeWasHidden) || null !== deletedFiber.memoizedState; - recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, deletedFiber); - offscreenSubtreeWasHidden = prevHostParent; - break; - case 30: - deletedFiber.flags & 18874368 && untrackNamedViewTransition(deletedFiber); - safelyDetachRef(deletedFiber, nearestMountedAncestor); - recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, deletedFiber); - break; - case 7: - offscreenSubtreeWasHidden || safelyDetachRef(deletedFiber, nearestMountedAncestor); - recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, deletedFiber); - break; - default: - recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, deletedFiber); - } - (deletedFiber.mode & ProfileMode) !== NoMode && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && (componentEffectSpawnedUpdate || 0.05 < componentEffectDuration) && logComponentEffect(deletedFiber, componentEffectStartTime, componentEffectEndTime, componentEffectDuration, componentEffectErrors); - popComponentEffectStart(prevEffectStart); - popComponentEffectDuration(prevEffectDuration); - componentEffectErrors = prevEffectErrors; - componentEffectSpawnedUpdate = prevEffectDidSpawnUpdate; - } - function commitActivityHydrationCallbacks(finishedRoot, finishedWork) { - if (null === finishedWork.memoizedState && (finishedRoot = finishedWork.alternate, null !== finishedRoot && (finishedRoot = finishedRoot.memoizedState, null !== finishedRoot))) { - finishedRoot = finishedRoot.dehydrated; - try { - runWithFiberInDEV(finishedWork, commitHydratedActivityInstance, finishedRoot); - } catch (error) { - captureCommitPhaseError(finishedWork, finishedWork.return, error); - } - } - } - function commitSuspenseHydrationCallbacks(finishedRoot, finishedWork) { - if (null === finishedWork.memoizedState && (finishedRoot = finishedWork.alternate, null !== finishedRoot && (finishedRoot = finishedRoot.memoizedState, null !== finishedRoot && (finishedRoot = finishedRoot.dehydrated, null !== finishedRoot)))) try { - runWithFiberInDEV(finishedWork, commitHydratedSuspenseInstance, finishedRoot); - } catch (error) { - captureCommitPhaseError(finishedWork, finishedWork.return, error); - } - } - function getRetryCache(finishedWork) { - switch(finishedWork.tag){ - case 31: - case 13: - case 19: - var retryCache = finishedWork.stateNode; - null === retryCache && (retryCache = finishedWork.stateNode = new PossiblyWeakSet()); - return retryCache; - case 22: - return finishedWork = finishedWork.stateNode, retryCache = finishedWork._retryCache, null === retryCache && (retryCache = finishedWork._retryCache = new PossiblyWeakSet()), retryCache; - default: - throw Error("Unexpected Suspense handler tag (" + finishedWork.tag + "). This is a bug in React."); - } - } - function attachSuspenseRetryListeners(finishedWork, wakeables) { - var retryCache = getRetryCache(finishedWork); - wakeables.forEach(function(wakeable) { - if (!retryCache.has(wakeable)) { - retryCache.add(wakeable); - if (isDevToolsPresent) if (null !== inProgressLanes && null !== inProgressRoot) restorePendingUpdaters(inProgressRoot, inProgressLanes); - else throw Error("Expected finished root and lanes to be set. This is a bug in React."); - var retry = resolveRetryWakeable.bind(null, finishedWork, wakeable); - wakeable.then(retry, retry); - } - }); - } - function recursivelyTraverseMutationEffects(root$jscomp$0, parentFiber, lanes) { - var deletions = parentFiber.deletions; - if (null !== deletions) for(var i = 0; i < deletions.length; i++){ - var root = root$jscomp$0, returnFiber = parentFiber, deletedFiber = deletions[i], prevEffectStart = pushComponentEffectStart(), parent = returnFiber; - a: for(; null !== parent;){ - switch(parent.tag){ - case 27: - if (isSingletonScope(parent.type)) { - hostParent = parent.stateNode; - hostParentIsContainer = !1; - break a; - } - break; - case 5: - hostParent = parent.stateNode; - hostParentIsContainer = !1; - break a; - case 3: - case 4: - hostParent = parent.stateNode.containerInfo; - hostParentIsContainer = !0; - break a; - } - parent = parent.return; - } - if (null === hostParent) throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue."); - commitDeletionEffectsOnFiber(root, returnFiber, deletedFiber); - hostParent = null; - hostParentIsContainer = !1; - (deletedFiber.mode & ProfileMode) !== NoMode && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && 0.05 < componentEffectEndTime - componentEffectStartTime && logComponentTrigger(deletedFiber, componentEffectStartTime, componentEffectEndTime, "Unmount"); - popComponentEffectStart(prevEffectStart); - root = deletedFiber; - returnFiber = root.alternate; - null !== returnFiber && (returnFiber.return = null); - root.return = null; - } - if (parentFiber.subtreeFlags & 13886) for(parentFiber = parentFiber.child; null !== parentFiber;)commitMutationEffectsOnFiber(parentFiber, root$jscomp$0, lanes), parentFiber = parentFiber.sibling; - } - function commitMutationEffectsOnFiber(finishedWork, root, lanes) { - var prevEffectStart = pushComponentEffectStart(), prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate(), current = finishedWork.alternate, flags = finishedWork.flags; - switch(finishedWork.tag){ - case 0: - case 11: - case 14: - case 15: - recursivelyTraverseMutationEffects(root, finishedWork, lanes); - commitReconciliationEffects(finishedWork); - flags & 4 && (commitHookEffectListUnmount(Insertion | HasEffect, finishedWork, finishedWork.return), commitHookEffectListMount(Insertion | HasEffect, finishedWork), commitHookLayoutUnmountEffects(finishedWork, finishedWork.return, Layout | HasEffect)); - break; - case 1: - recursivelyTraverseMutationEffects(root, finishedWork, lanes); - commitReconciliationEffects(finishedWork); - flags & 512 && (offscreenSubtreeWasHidden || null === current || safelyDetachRef(current, current.return)); - flags & 64 && offscreenSubtreeIsHidden && (current = finishedWork.updateQueue, null !== current && (root = current.callbacks, null !== root && (lanes = current.shared.hiddenCallbacks, current.shared.hiddenCallbacks = null === lanes ? root : lanes.concat(root)))); - break; - case 26: - var hoistableRoot = currentHoistableRoot; - recursivelyTraverseMutationEffects(root, finishedWork, lanes); - commitReconciliationEffects(finishedWork); - flags & 512 && (offscreenSubtreeWasHidden || null === current || safelyDetachRef(current, current.return)); - if (flags & 4) if (lanes = null !== current ? current.memoizedState : null, root = finishedWork.memoizedState, null === current) if (null === root) if (null === finishedWork.stateNode) { - a: { - current = finishedWork.type; - root = finishedWork.memoizedProps; - lanes = hoistableRoot.ownerDocument || hoistableRoot; - b: switch(current){ - case "title": - flags = lanes.getElementsByTagName("title")[0]; - if (!flags || flags[internalHoistableMarker] || flags[internalInstanceKey] || flags.namespaceURI === SVG_NAMESPACE || flags.hasAttribute("itemprop")) flags = lanes.createElement(current), lanes.head.insertBefore(flags, lanes.querySelector("head > title")); - setInitialProperties(flags, current, root); - flags[internalInstanceKey] = finishedWork; - markNodeAsHoistable(flags); - current = flags; - break a; - case "link": - if (hoistableRoot = getHydratableHoistableCache("link", "href", lanes).get(current + (root.href || ""))) { - for(var i = 0; i < hoistableRoot.length; i++)if (flags = hoistableRoot[i], flags.getAttribute("href") === (null == root.href || "" === root.href ? null : root.href) && flags.getAttribute("rel") === (null == root.rel ? null : root.rel) && flags.getAttribute("title") === (null == root.title ? null : root.title) && flags.getAttribute("crossorigin") === (null == root.crossOrigin ? null : root.crossOrigin)) { - hoistableRoot.splice(i, 1); - break b; - } - } - flags = lanes.createElement(current); - setInitialProperties(flags, current, root); - lanes.head.appendChild(flags); - break; - case "meta": - if (hoistableRoot = getHydratableHoistableCache("meta", "content", lanes).get(current + (root.content || ""))) { - for(i = 0; i < hoistableRoot.length; i++)if (flags = hoistableRoot[i], checkAttributeStringCoercion(root.content, "content"), flags.getAttribute("content") === (null == root.content ? null : "" + root.content) && flags.getAttribute("name") === (null == root.name ? null : root.name) && flags.getAttribute("property") === (null == root.property ? null : root.property) && flags.getAttribute("http-equiv") === (null == root.httpEquiv ? null : root.httpEquiv) && flags.getAttribute("charset") === (null == root.charSet ? null : root.charSet)) { - hoistableRoot.splice(i, 1); - break b; - } - } - flags = lanes.createElement(current); - setInitialProperties(flags, current, root); - lanes.head.appendChild(flags); - break; - default: - throw Error('getNodesForType encountered a type it did not expect: "' + current + '". This is a bug in React.'); - } - flags[internalInstanceKey] = finishedWork; - markNodeAsHoistable(flags); - current = flags; - } - finishedWork.stateNode = current; - } else mountHoistable(hoistableRoot, finishedWork.type, finishedWork.stateNode); - else finishedWork.stateNode = acquireResource(hoistableRoot, root, finishedWork.memoizedProps); - else lanes !== root ? (null === lanes ? null !== current.stateNode && (current = current.stateNode, current.parentNode.removeChild(current)) : lanes.count--, null === root ? mountHoistable(hoistableRoot, finishedWork.type, finishedWork.stateNode) : acquireResource(hoistableRoot, root, finishedWork.memoizedProps)) : null === root && null !== finishedWork.stateNode && commitHostUpdate(finishedWork, finishedWork.memoizedProps, current.memoizedProps); - break; - case 27: - recursivelyTraverseMutationEffects(root, finishedWork, lanes); - commitReconciliationEffects(finishedWork); - flags & 512 && (offscreenSubtreeWasHidden || null === current || safelyDetachRef(current, current.return)); - null !== current && flags & 4 && commitHostUpdate(finishedWork, finishedWork.memoizedProps, current.memoizedProps); - break; - case 5: - hoistableRoot = offscreenDirectParentIsHidden; - offscreenDirectParentIsHidden = !1; - recursivelyTraverseMutationEffects(root, finishedWork, lanes); - offscreenDirectParentIsHidden = hoistableRoot; - commitReconciliationEffects(finishedWork); - flags & 512 && (offscreenSubtreeWasHidden || null === current || safelyDetachRef(current, current.return)); - if (finishedWork.flags & 32) { - root = finishedWork.stateNode; - try { - runWithFiberInDEV(finishedWork, resetTextContent, root), viewTransitionMutationContext = !0; - } catch (error) { - captureCommitPhaseError(finishedWork, finishedWork.return, error); - } - } - flags & 4 && null != finishedWork.stateNode && (root = finishedWork.memoizedProps, commitHostUpdate(finishedWork, root, null !== current ? current.memoizedProps : root)); - flags & 1024 && (needsFormReset = !0, "form" !== finishedWork.type && console.error("Unexpected host component type. Expected a form. This is a bug in React.")); - break; - case 6: - recursivelyTraverseMutationEffects(root, finishedWork, lanes); - commitReconciliationEffects(finishedWork); - if (flags & 4) { - if (null === finishedWork.stateNode) throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue."); - root = finishedWork.memoizedProps; - current = null !== current ? current.memoizedProps : root; - lanes = finishedWork.stateNode; - try { - runWithFiberInDEV(finishedWork, commitTextUpdate, lanes, current, root), viewTransitionMutationContext = !0; - } catch (error) { - captureCommitPhaseError(finishedWork, finishedWork.return, error); - } - } - break; - case 3: - hoistableRoot = pushNestedEffectDurations(); - viewTransitionMutationContext = !1; - tagCaches = null; - i = currentHoistableRoot; - currentHoistableRoot = getHoistableRoot(root.containerInfo); - recursivelyTraverseMutationEffects(root, finishedWork, lanes); - currentHoistableRoot = i; - commitReconciliationEffects(finishedWork); - if (flags & 4 && null !== current && current.memoizedState.isDehydrated) try { - runWithFiberInDEV(finishedWork, commitHydratedContainer, root.containerInfo); - } catch (error) { - captureCommitPhaseError(finishedWork, finishedWork.return, error); - } - needsFormReset && (needsFormReset = !1, recursivelyResetForms(finishedWork)); - root.effectDuration += popNestedEffectDurations(hoistableRoot); - viewTransitionMutationContext = !1; - break; - case 4: - current = offscreenDirectParentIsHidden; - offscreenDirectParentIsHidden = offscreenSubtreeIsHidden; - flags = pushMutationContext(); - hoistableRoot = currentHoistableRoot; - currentHoistableRoot = getHoistableRoot(finishedWork.stateNode.containerInfo); - recursivelyTraverseMutationEffects(root, finishedWork, lanes); - commitReconciliationEffects(finishedWork); - currentHoistableRoot = hoistableRoot; - viewTransitionMutationContext && inUpdateViewTransition && (rootViewTransitionAffected = !0); - viewTransitionMutationContext = flags; - offscreenDirectParentIsHidden = current; - break; - case 12: - current = pushNestedEffectDurations(); - recursivelyTraverseMutationEffects(root, finishedWork, lanes); - commitReconciliationEffects(finishedWork); - finishedWork.stateNode.effectDuration += bubbleNestedEffectDurations(current); - break; - case 31: - recursivelyTraverseMutationEffects(root, finishedWork, lanes); - commitReconciliationEffects(finishedWork); - flags & 4 && (current = finishedWork.updateQueue, null !== current && (finishedWork.updateQueue = null, attachSuspenseRetryListeners(finishedWork, current))); - break; - case 13: - recursivelyTraverseMutationEffects(root, finishedWork, lanes); - commitReconciliationEffects(finishedWork); - finishedWork.child.flags & 8192 && null !== finishedWork.memoizedState !== (null !== current && null !== current.memoizedState) && (globalMostRecentFallbackTime = now$1()); - flags & 4 && (current = finishedWork.updateQueue, null !== current && (finishedWork.updateQueue = null, attachSuspenseRetryListeners(finishedWork, current))); - break; - case 22: - hoistableRoot = null !== finishedWork.memoizedState; - i = null !== current && null !== current.memoizedState; - var prevOffscreenSubtreeIsHidden = offscreenSubtreeIsHidden, prevOffscreenSubtreeWasHidden = offscreenSubtreeWasHidden, _prevOffscreenDirectParentIsHidden2 = offscreenDirectParentIsHidden; - offscreenSubtreeIsHidden = prevOffscreenSubtreeIsHidden || hoistableRoot; - offscreenDirectParentIsHidden = _prevOffscreenDirectParentIsHidden2 || hoistableRoot; - offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden || i; - recursivelyTraverseMutationEffects(root, finishedWork, lanes); - offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden; - offscreenDirectParentIsHidden = _prevOffscreenDirectParentIsHidden2; - offscreenSubtreeIsHidden = prevOffscreenSubtreeIsHidden; - i && !hoistableRoot && !prevOffscreenSubtreeIsHidden && !prevOffscreenSubtreeWasHidden && (finishedWork.mode & ProfileMode) !== NoMode && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && 0.05 < componentEffectEndTime - componentEffectStartTime && logComponentReappeared(finishedWork, componentEffectStartTime, componentEffectEndTime); - commitReconciliationEffects(finishedWork); - flags & 8192 && (root = finishedWork.stateNode, root._visibility = hoistableRoot ? root._visibility & ~OffscreenVisible : root._visibility | OffscreenVisible, !hoistableRoot || null === current || i || offscreenSubtreeIsHidden || offscreenSubtreeWasHidden || (recursivelyTraverseDisappearLayoutEffects(finishedWork), (finishedWork.mode & ProfileMode) !== NoMode && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && 0.05 < componentEffectEndTime - componentEffectStartTime && logComponentTrigger(finishedWork, componentEffectStartTime, componentEffectEndTime, "Disconnect")), !hoistableRoot && offscreenDirectParentIsHidden || hideOrUnhideAllChildren(finishedWork, hoistableRoot)); - flags & 4 && (current = finishedWork.updateQueue, null !== current && (root = current.retryQueue, null !== root && (current.retryQueue = null, attachSuspenseRetryListeners(finishedWork, root)))); - break; - case 19: - recursivelyTraverseMutationEffects(root, finishedWork, lanes); - commitReconciliationEffects(finishedWork); - flags & 4 && (current = finishedWork.updateQueue, null !== current && (finishedWork.updateQueue = null, attachSuspenseRetryListeners(finishedWork, current))); - break; - case 30: - flags & 512 && (offscreenSubtreeWasHidden || null === current || safelyDetachRef(current, current.return)); - flags = pushMutationContext(); - hoistableRoot = inUpdateViewTransition; - i = (lanes & 335544064) === lanes; - prevOffscreenSubtreeIsHidden = finishedWork.memoizedProps; - inUpdateViewTransition = i && "none" !== getViewTransitionClassName(prevOffscreenSubtreeIsHidden.default, prevOffscreenSubtreeIsHidden.update); - recursivelyTraverseMutationEffects(root, finishedWork, lanes); - commitReconciliationEffects(finishedWork); - i && null !== current && viewTransitionMutationContext && (finishedWork.flags |= 4); - inUpdateViewTransition = hoistableRoot; - viewTransitionMutationContext = flags; - break; - case 21: - break; - case 7: - current && null !== current.stateNode && (current.stateNode._fragmentFiber = finishedWork); - default: - recursivelyTraverseMutationEffects(root, finishedWork, lanes), commitReconciliationEffects(finishedWork); - } - (finishedWork.mode & ProfileMode) !== NoMode && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && ((componentEffectSpawnedUpdate || 0.05 < componentEffectDuration) && logComponentEffect(finishedWork, componentEffectStartTime, componentEffectEndTime, componentEffectDuration, componentEffectErrors), null === finishedWork.alternate && null !== finishedWork.return && null !== finishedWork.return.alternate && 0.05 < componentEffectEndTime - componentEffectStartTime && (isHydratingParent(finishedWork.return.alternate, finishedWork.return) || logComponentTrigger(finishedWork, componentEffectStartTime, componentEffectEndTime, "Mount"))); - popComponentEffectStart(prevEffectStart); - popComponentEffectDuration(prevEffectDuration); - componentEffectErrors = prevEffectErrors; - componentEffectSpawnedUpdate = prevEffectDidSpawnUpdate; - } - function commitReconciliationEffects(finishedWork) { - var flags = finishedWork.flags; - if (flags & 2) { - try { - runWithFiberInDEV(finishedWork, commitPlacement, finishedWork); - } catch (error) { - captureCommitPhaseError(finishedWork, finishedWork.return, error); - } - finishedWork.flags &= -3; - } - flags & 4096 && (finishedWork.flags &= -4097); - } - function recursivelyResetForms(parentFiber) { - if (parentFiber.subtreeFlags & 1024) for(parentFiber = parentFiber.child; null !== parentFiber;){ - var fiber = parentFiber; - recursivelyResetForms(fiber); - 5 === fiber.tag && fiber.flags & 1024 && fiber.stateNode.reset(); - parentFiber = parentFiber.sibling; - } - } - function recursivelyTraverseAfterMutationEffects(root, parentFiber) { - if (parentFiber.subtreeFlags & 9270) for(parentFiber = parentFiber.child; null !== parentFiber;)commitAfterMutationEffectsOnFiber(parentFiber, root), parentFiber = parentFiber.sibling; - else measureNestedViewTransitions(parentFiber, !1); - } - function commitAfterMutationEffectsOnFiber(finishedWork, root) { - var current = finishedWork.alternate; - if (null === current) commitEnterViewTransitions(finishedWork, !1); - else switch(finishedWork.tag){ - case 3: - rootViewTransitionNameCanceled = viewTransitionContextChanged = !1; - pushViewTransitionCancelableScope(); - recursivelyTraverseAfterMutationEffects(root, finishedWork); - if (!viewTransitionContextChanged && !rootViewTransitionAffected) { - finishedWork = viewTransitionCancelableChildren; - if (null !== finishedWork) for(var i = 0; i < finishedWork.length; i += 3){ - current = finishedWork[i]; - var oldName = finishedWork[i + 1]; - restoreViewTransitionName(current, finishedWork[i + 2]); - current = current.ownerDocument.documentElement; - null !== current && current.animate({ - opacity: [ - 0, - 0 - ], - pointerEvents: [ - "none", - "none" - ] - }, { - duration: 0, - fill: "forwards", - pseudoElement: "::view-transition-group(" + oldName + ")" - }); - } - finishedWork = root.containerInfo; - finishedWork = 9 === finishedWork.nodeType ? finishedWork.documentElement : finishedWork.ownerDocument.documentElement; - null !== finishedWork && "" === finishedWork.style.viewTransitionName && (finishedWork.style.viewTransitionName = "none", finishedWork.animate({ - opacity: [ - 0, - 0 - ], - pointerEvents: [ - "none", - "none" - ] - }, { - duration: 0, - fill: "forwards", - pseudoElement: "::view-transition-group(root)" - }), finishedWork.animate({ - width: [ - 0, - 0 - ], - height: [ - 0, - 0 - ] - }, { - duration: 0, - fill: "forwards", - pseudoElement: "::view-transition" - })); - rootViewTransitionNameCanceled = !0; - } - viewTransitionCancelableChildren = null; - break; - case 5: - recursivelyTraverseAfterMutationEffects(root, finishedWork); - break; - case 4: - i = viewTransitionContextChanged; - viewTransitionContextChanged = !1; - recursivelyTraverseAfterMutationEffects(root, finishedWork); - viewTransitionContextChanged && (rootViewTransitionAffected = !0); - viewTransitionContextChanged = i; - break; - case 22: - null === finishedWork.memoizedState && (null !== current.memoizedState ? commitEnterViewTransitions(finishedWork, !1) : recursivelyTraverseAfterMutationEffects(root, finishedWork)); - break; - case 30: - i = viewTransitionContextChanged; - oldName = pushViewTransitionCancelableScope(); - viewTransitionContextChanged = !1; - recursivelyTraverseAfterMutationEffects(root, finishedWork); - viewTransitionContextChanged && (finishedWork.flags |= 4); - var props = finishedWork.memoizedProps, state = finishedWork.stateNode; - root = getViewTransitionName(props, state); - state = getViewTransitionName(current.memoizedProps, state); - var className = getViewTransitionClassName(props.default, props.update); - "none" === className ? root = !1 : (props = current.memoizedState, current.memoizedState = null, current = finishedWork.child, viewTransitionHostInstanceIdx = 0, root = measureViewTransitionHostInstancesRecursive(finishedWork, current, root, state, className, props, !0), viewTransitionHostInstanceIdx !== (null === props ? 0 : props.length) && (finishedWork.flags |= 32)); - 0 !== (finishedWork.flags & 4) && root ? (scheduleViewTransitionEvent(finishedWork, finishedWork.memoizedProps.onUpdate), viewTransitionCancelableChildren = oldName) : null !== oldName && (oldName.push.apply(oldName, viewTransitionCancelableChildren), viewTransitionCancelableChildren = oldName); - viewTransitionContextChanged = 0 !== (finishedWork.flags & 32) ? !0 : i; - break; - default: - recursivelyTraverseAfterMutationEffects(root, finishedWork); - } - } - function recursivelyTraverseLayoutEffects(root, parentFiber) { - if (parentFiber.subtreeFlags & 8772) for(parentFiber = parentFiber.child; null !== parentFiber;)commitLayoutEffectOnFiber(root, parentFiber.alternate, parentFiber), parentFiber = parentFiber.sibling; - } - function disappearLayoutEffects(finishedWork) { - var prevEffectStart = pushComponentEffectStart(), prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate(); - switch(finishedWork.tag){ - case 0: - case 11: - case 14: - case 15: - commitHookLayoutUnmountEffects(finishedWork, finishedWork.return, Layout); - recursivelyTraverseDisappearLayoutEffects(finishedWork); - break; - case 1: - safelyDetachRef(finishedWork, finishedWork.return); - var instance = finishedWork.stateNode; - "function" === typeof instance.componentWillUnmount && safelyCallComponentWillUnmount(finishedWork, finishedWork.return, instance); - recursivelyTraverseDisappearLayoutEffects(finishedWork); - break; - case 27: - runWithFiberInDEV(finishedWork, releaseSingletonInstance, finishedWork.stateNode); - case 26: - case 5: - safelyDetachRef(finishedWork, finishedWork.return); - 5 === finishedWork.tag && commitFragmentInstanceDeletionEffects(finishedWork); - recursivelyTraverseDisappearLayoutEffects(finishedWork); - break; - case 22: - null === finishedWork.memoizedState && recursivelyTraverseDisappearLayoutEffects(finishedWork); - break; - case 30: - finishedWork.flags & 18874368 && untrackNamedViewTransition(finishedWork); - safelyDetachRef(finishedWork, finishedWork.return); - recursivelyTraverseDisappearLayoutEffects(finishedWork); - break; - case 7: - safelyDetachRef(finishedWork, finishedWork.return); - default: - recursivelyTraverseDisappearLayoutEffects(finishedWork); - } - (finishedWork.mode & ProfileMode) !== NoMode && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && (componentEffectSpawnedUpdate || 0.05 < componentEffectDuration) && logComponentEffect(finishedWork, componentEffectStartTime, componentEffectEndTime, componentEffectDuration, componentEffectErrors); - popComponentEffectStart(prevEffectStart); - popComponentEffectDuration(prevEffectDuration); - componentEffectErrors = prevEffectErrors; - componentEffectSpawnedUpdate = prevEffectDidSpawnUpdate; - } - function recursivelyTraverseDisappearLayoutEffects(parentFiber) { - for(parentFiber = parentFiber.child; null !== parentFiber;)disappearLayoutEffects(parentFiber), parentFiber = parentFiber.sibling; - } - function reappearLayoutEffects(finishedRoot, current, finishedWork, includeWorkInProgressEffects) { - var prevEffectStart = pushComponentEffectStart(), prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate(), flags = finishedWork.flags; - switch(finishedWork.tag){ - case 0: - case 11: - case 15: - recursivelyTraverseReappearLayoutEffects(finishedRoot, finishedWork, includeWorkInProgressEffects); - commitHookLayoutEffects(finishedWork, Layout); - break; - case 1: - recursivelyTraverseReappearLayoutEffects(finishedRoot, finishedWork, includeWorkInProgressEffects); - current = finishedWork.stateNode; - "function" === typeof current.componentDidMount && runWithFiberInDEV(finishedWork, callComponentDidMountInDEV, finishedWork, current); - current = finishedWork.updateQueue; - if (null !== current) { - finishedRoot = finishedWork.stateNode; - try { - runWithFiberInDEV(finishedWork, commitHiddenCallbacks, current, finishedRoot); - } catch (error) { - captureCommitPhaseError(finishedWork, finishedWork.return, error); - } - } - includeWorkInProgressEffects && flags & 64 && commitClassCallbacks(finishedWork); - safelyAttachRef(finishedWork, finishedWork.return); - break; - case 27: - commitHostSingletonAcquisition(finishedWork); - case 26: - case 5: - if (5 === finishedWork.tag) a: for(var parent = finishedWork.return; null !== parent;){ - isFragmentInstanceParent(parent) && commitNewChildToFragmentInstance(finishedWork.stateNode, parent.stateNode); - if (isHostParent(parent)) break a; - parent = parent.return; - } - recursivelyTraverseReappearLayoutEffects(finishedRoot, finishedWork, includeWorkInProgressEffects); - includeWorkInProgressEffects && null === current && flags & 4 && commitHostMount(finishedWork); - safelyAttachRef(finishedWork, finishedWork.return); - break; - case 12: - if (includeWorkInProgressEffects && flags & 4) { - flags = pushNestedEffectDurations(); - recursivelyTraverseReappearLayoutEffects(finishedRoot, finishedWork, includeWorkInProgressEffects); - includeWorkInProgressEffects = finishedWork.stateNode; - includeWorkInProgressEffects.effectDuration += bubbleNestedEffectDurations(flags); - try { - runWithFiberInDEV(finishedWork, commitProfiler, finishedWork, current, commitStartTime, includeWorkInProgressEffects.effectDuration); - } catch (error) { - captureCommitPhaseError(finishedWork, finishedWork.return, error); - } - } else recursivelyTraverseReappearLayoutEffects(finishedRoot, finishedWork, includeWorkInProgressEffects); - break; - case 31: - recursivelyTraverseReappearLayoutEffects(finishedRoot, finishedWork, includeWorkInProgressEffects); - includeWorkInProgressEffects && flags & 4 && commitActivityHydrationCallbacks(finishedRoot, finishedWork); - break; - case 13: - recursivelyTraverseReappearLayoutEffects(finishedRoot, finishedWork, includeWorkInProgressEffects); - includeWorkInProgressEffects && flags & 4 && commitSuspenseHydrationCallbacks(finishedRoot, finishedWork); - break; - case 22: - null === finishedWork.memoizedState && recursivelyTraverseReappearLayoutEffects(finishedRoot, finishedWork, includeWorkInProgressEffects); - safelyAttachRef(finishedWork, finishedWork.return); - break; - case 30: - recursivelyTraverseReappearLayoutEffects(finishedRoot, finishedWork, includeWorkInProgressEffects); - flags & 18874368 && trackNamedViewTransition(finishedWork); - safelyAttachRef(finishedWork, finishedWork.return); - break; - case 7: - safelyAttachRef(finishedWork, finishedWork.return); - default: - recursivelyTraverseReappearLayoutEffects(finishedRoot, finishedWork, includeWorkInProgressEffects); - } - (finishedWork.mode & ProfileMode) !== NoMode && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && (componentEffectSpawnedUpdate || 0.05 < componentEffectDuration) && logComponentEffect(finishedWork, componentEffectStartTime, componentEffectEndTime, componentEffectDuration, componentEffectErrors); - popComponentEffectStart(prevEffectStart); - popComponentEffectDuration(prevEffectDuration); - componentEffectErrors = prevEffectErrors; - componentEffectSpawnedUpdate = prevEffectDidSpawnUpdate; - } - function recursivelyTraverseReappearLayoutEffects(finishedRoot, parentFiber, includeWorkInProgressEffects) { - includeWorkInProgressEffects = includeWorkInProgressEffects && 0 !== (parentFiber.subtreeFlags & 8772); - for(parentFiber = parentFiber.child; null !== parentFiber;)reappearLayoutEffects(finishedRoot, parentFiber.alternate, parentFiber, includeWorkInProgressEffects), parentFiber = parentFiber.sibling; - } - function commitOffscreenPassiveMountEffects(current, finishedWork) { - var previousCache = null; - null !== current && null !== current.memoizedState && null !== current.memoizedState.cachePool && (previousCache = current.memoizedState.cachePool.pool); - current = null; - null !== finishedWork.memoizedState && null !== finishedWork.memoizedState.cachePool && (current = finishedWork.memoizedState.cachePool.pool); - current !== previousCache && (null != current && retainCache(current), null != previousCache && releaseCache(previousCache)); - } - function commitCachePassiveMountEffect(current, finishedWork) { - current = null; - null !== finishedWork.alternate && (current = finishedWork.alternate.memoizedState.cache); - finishedWork = finishedWork.memoizedState.cache; - finishedWork !== current && (retainCache(finishedWork), null != current && releaseCache(current)); - } - function recursivelyTraversePassiveMountEffects(root, parentFiber, committedLanes, committedTransitions, endTime) { - var isViewTransitionEligible = (committedLanes & 335544064) === committedLanes; - if (parentFiber.subtreeFlags & (isViewTransitionEligible ? 10262 : 10256) || 0 !== parentFiber.actualDuration && (null === parentFiber.alternate || parentFiber.alternate.child !== parentFiber.child)) for(parentFiber = parentFiber.child; null !== parentFiber;)isViewTransitionEligible = parentFiber.sibling, commitPassiveMountOnFiber(root, parentFiber, committedLanes, committedTransitions, null !== isViewTransitionEligible ? isViewTransitionEligible.actualStartTime : endTime), parentFiber = isViewTransitionEligible; - else isViewTransitionEligible && restoreNestedViewTransitions(parentFiber); - } - function commitPassiveMountOnFiber(finishedRoot, finishedWork, committedLanes, committedTransitions, endTime) { - var prevEffectStart = pushComponentEffectStart(), prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate(), prevDeepEquality = alreadyWarnedForDeepEquality, isViewTransitionEligible = (committedLanes & 335544064) === committedLanes; - isViewTransitionEligible && null === finishedWork.alternate && null !== finishedWork.return && null !== finishedWork.return.alternate && restoreEnterOrExitViewTransitions(finishedWork); - var flags = finishedWork.flags; - switch(finishedWork.tag){ - case 0: - case 11: - case 15: - (finishedWork.mode & ProfileMode) !== NoMode && 0 < finishedWork.actualStartTime && 0 !== (finishedWork.flags & 1) && logComponentRender(finishedWork, finishedWork.actualStartTime, endTime, inHydratedSubtree, committedLanes); - recursivelyTraversePassiveMountEffects(finishedRoot, finishedWork, committedLanes, committedTransitions, endTime); - flags & 2048 && commitHookPassiveMountEffects(finishedWork, Passive | HasEffect); - break; - case 1: - (finishedWork.mode & ProfileMode) !== NoMode && 0 < finishedWork.actualStartTime && (0 !== (finishedWork.flags & 128) ? logComponentErrored(finishedWork, finishedWork.actualStartTime, endTime, []) : 0 !== (finishedWork.flags & 1) && logComponentRender(finishedWork, finishedWork.actualStartTime, endTime, inHydratedSubtree, committedLanes)); - recursivelyTraversePassiveMountEffects(finishedRoot, finishedWork, committedLanes, committedTransitions, endTime); - break; - case 3: - var prevProfilerEffectDuration = pushNestedEffectDurations(), wasInHydratedSubtree = inHydratedSubtree; - inHydratedSubtree = null !== finishedWork.alternate && finishedWork.alternate.memoizedState.isDehydrated && 0 === (finishedWork.flags & 256); - recursivelyTraversePassiveMountEffects(finishedRoot, finishedWork, committedLanes, committedTransitions, endTime); - inHydratedSubtree = wasInHydratedSubtree; - isViewTransitionEligible && rootViewTransitionNameCanceled && (committedLanes = finishedRoot.containerInfo, committedLanes = 9 === committedLanes.nodeType ? committedLanes.body : "HTML" === committedLanes.nodeName ? committedLanes.ownerDocument.body : committedLanes, "root" === committedLanes.style.viewTransitionName && (committedLanes.style.viewTransitionName = ""), committedLanes = committedLanes.ownerDocument.documentElement, null !== committedLanes && "none" === committedLanes.style.viewTransitionName && (committedLanes.style.viewTransitionName = "")); - flags & 2048 && (committedLanes = null, null !== finishedWork.alternate && (committedLanes = finishedWork.alternate.memoizedState.cache), committedTransitions = finishedWork.memoizedState.cache, committedTransitions !== committedLanes && (retainCache(committedTransitions), null != committedLanes && releaseCache(committedLanes))); - finishedRoot.passiveEffectDuration += popNestedEffectDurations(prevProfilerEffectDuration); - break; - case 12: - if (flags & 2048) { - flags = pushNestedEffectDurations(); - recursivelyTraversePassiveMountEffects(finishedRoot, finishedWork, committedLanes, committedTransitions, endTime); - finishedRoot = finishedWork.stateNode; - finishedRoot.passiveEffectDuration += bubbleNestedEffectDurations(flags); - try { - runWithFiberInDEV(finishedWork, commitProfilerPostCommitImpl, finishedWork, finishedWork.alternate, commitStartTime, finishedRoot.passiveEffectDuration); - } catch (error) { - captureCommitPhaseError(finishedWork, finishedWork.return, error); - } - } else recursivelyTraversePassiveMountEffects(finishedRoot, finishedWork, committedLanes, committedTransitions, endTime); - break; - case 31: - flags = inHydratedSubtree; - prevProfilerEffectDuration = null !== finishedWork.alternate ? finishedWork.alternate.memoizedState : null; - isViewTransitionEligible = finishedWork.memoizedState; - null !== prevProfilerEffectDuration && null === isViewTransitionEligible ? (isViewTransitionEligible = finishedWork.deletions, null !== isViewTransitionEligible && 0 < isViewTransitionEligible.length && 18 === isViewTransitionEligible[0].tag ? (inHydratedSubtree = !1, prevProfilerEffectDuration = prevProfilerEffectDuration.hydrationErrors, null !== prevProfilerEffectDuration && logComponentErrored(finishedWork, finishedWork.actualStartTime, endTime, prevProfilerEffectDuration)) : inHydratedSubtree = !0) : inHydratedSubtree = !1; - recursivelyTraversePassiveMountEffects(finishedRoot, finishedWork, committedLanes, committedTransitions, endTime); - inHydratedSubtree = flags; - break; - case 13: - flags = inHydratedSubtree; - prevProfilerEffectDuration = null !== finishedWork.alternate ? finishedWork.alternate.memoizedState : null; - isViewTransitionEligible = finishedWork.memoizedState; - null === prevProfilerEffectDuration || null === prevProfilerEffectDuration.dehydrated || null !== isViewTransitionEligible && null !== isViewTransitionEligible.dehydrated ? inHydratedSubtree = !1 : (isViewTransitionEligible = finishedWork.deletions, null !== isViewTransitionEligible && 0 < isViewTransitionEligible.length && 18 === isViewTransitionEligible[0].tag ? (inHydratedSubtree = !1, prevProfilerEffectDuration = prevProfilerEffectDuration.hydrationErrors, null !== prevProfilerEffectDuration && logComponentErrored(finishedWork, finishedWork.actualStartTime, endTime, prevProfilerEffectDuration)) : inHydratedSubtree = !0); - recursivelyTraversePassiveMountEffects(finishedRoot, finishedWork, committedLanes, committedTransitions, endTime); - inHydratedSubtree = flags; - break; - case 23: - break; - case 22: - wasInHydratedSubtree = finishedWork.stateNode; - prevProfilerEffectDuration = finishedWork.alternate; - null !== finishedWork.memoizedState ? (isViewTransitionEligible && null !== prevProfilerEffectDuration && null === prevProfilerEffectDuration.memoizedState && restoreEnterOrExitViewTransitions(prevProfilerEffectDuration), wasInHydratedSubtree._visibility & OffscreenPassiveEffectsConnected ? recursivelyTraversePassiveMountEffects(finishedRoot, finishedWork, committedLanes, committedTransitions, endTime) : recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork, committedLanes, committedTransitions, endTime)) : (isViewTransitionEligible && null !== prevProfilerEffectDuration && null !== prevProfilerEffectDuration.memoizedState && restoreEnterOrExitViewTransitions(finishedWork), wasInHydratedSubtree._visibility & OffscreenPassiveEffectsConnected ? recursivelyTraversePassiveMountEffects(finishedRoot, finishedWork, committedLanes, committedTransitions, endTime) : (wasInHydratedSubtree._visibility |= OffscreenPassiveEffectsConnected, recursivelyTraverseReconnectPassiveEffects(finishedRoot, finishedWork, committedLanes, committedTransitions, 0 !== (finishedWork.subtreeFlags & 10256) || 0 !== finishedWork.actualDuration && (null === finishedWork.alternate || finishedWork.alternate.child !== finishedWork.child), endTime), (finishedWork.mode & ProfileMode) === NoMode || inHydratedSubtree || (finishedRoot = finishedWork.actualStartTime, 0 <= finishedRoot && 0.05 < endTime - finishedRoot && logComponentReappeared(finishedWork, finishedRoot, endTime), 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && 0.05 < componentEffectEndTime - componentEffectStartTime && logComponentReappeared(finishedWork, componentEffectStartTime, componentEffectEndTime)))); - flags & 2048 && commitOffscreenPassiveMountEffects(prevProfilerEffectDuration, finishedWork); - break; - case 24: - recursivelyTraversePassiveMountEffects(finishedRoot, finishedWork, committedLanes, committedTransitions, endTime); - flags & 2048 && commitCachePassiveMountEffect(finishedWork.alternate, finishedWork); - break; - case 30: - isViewTransitionEligible && (flags = finishedWork.alternate, null !== flags && (restoreViewTransitionOnHostInstances(flags.child, !0), restoreViewTransitionOnHostInstances(finishedWork.child, !0))); - recursivelyTraversePassiveMountEffects(finishedRoot, finishedWork, committedLanes, committedTransitions, endTime); - break; - default: - recursivelyTraversePassiveMountEffects(finishedRoot, finishedWork, committedLanes, committedTransitions, endTime); - } - if ((finishedWork.mode & ProfileMode) !== NoMode) { - if (finishedRoot = !inHydratedSubtree && null === finishedWork.alternate && null !== finishedWork.return && null !== finishedWork.return.alternate) committedLanes = finishedWork.actualStartTime, 0 <= committedLanes && 0.05 < endTime - committedLanes && logComponentTrigger(finishedWork, committedLanes, endTime, "Mount"); - 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && ((componentEffectSpawnedUpdate || 0.05 < componentEffectDuration) && logComponentEffect(finishedWork, componentEffectStartTime, componentEffectEndTime, componentEffectDuration, componentEffectErrors), finishedRoot && 0.05 < componentEffectEndTime - componentEffectStartTime && logComponentTrigger(finishedWork, componentEffectStartTime, componentEffectEndTime, "Mount")); - } - popComponentEffectStart(prevEffectStart); - popComponentEffectDuration(prevEffectDuration); - componentEffectErrors = prevEffectErrors; - componentEffectSpawnedUpdate = prevEffectDidSpawnUpdate; - alreadyWarnedForDeepEquality = prevDeepEquality; - } - function recursivelyTraverseReconnectPassiveEffects(finishedRoot, parentFiber, committedLanes, committedTransitions, includeWorkInProgressEffects, endTime) { - includeWorkInProgressEffects = includeWorkInProgressEffects && (0 !== (parentFiber.subtreeFlags & 10256) || 0 !== parentFiber.actualDuration && (null === parentFiber.alternate || parentFiber.alternate.child !== parentFiber.child)); - for(parentFiber = parentFiber.child; null !== parentFiber;){ - var nextSibling = parentFiber.sibling; - reconnectPassiveEffects(finishedRoot, parentFiber, committedLanes, committedTransitions, includeWorkInProgressEffects, null !== nextSibling ? nextSibling.actualStartTime : endTime); - parentFiber = nextSibling; - } - } - function reconnectPassiveEffects(finishedRoot, finishedWork, committedLanes, committedTransitions, includeWorkInProgressEffects, endTime) { - var prevEffectStart = pushComponentEffectStart(), prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate(), prevDeepEquality = alreadyWarnedForDeepEquality; - includeWorkInProgressEffects && (finishedWork.mode & ProfileMode) !== NoMode && 0 < finishedWork.actualStartTime && 0 !== (finishedWork.flags & 1) && logComponentRender(finishedWork, finishedWork.actualStartTime, endTime, inHydratedSubtree, committedLanes); - var flags = finishedWork.flags; - switch(finishedWork.tag){ - case 0: - case 11: - case 15: - recursivelyTraverseReconnectPassiveEffects(finishedRoot, finishedWork, committedLanes, committedTransitions, includeWorkInProgressEffects, endTime); - commitHookPassiveMountEffects(finishedWork, Passive); - break; - case 23: - break; - case 22: - var _instance2 = finishedWork.stateNode; - null !== finishedWork.memoizedState ? _instance2._visibility & OffscreenPassiveEffectsConnected ? recursivelyTraverseReconnectPassiveEffects(finishedRoot, finishedWork, committedLanes, committedTransitions, includeWorkInProgressEffects, endTime) : recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork, committedLanes, committedTransitions, endTime) : (_instance2._visibility |= OffscreenPassiveEffectsConnected, recursivelyTraverseReconnectPassiveEffects(finishedRoot, finishedWork, committedLanes, committedTransitions, includeWorkInProgressEffects, endTime)); - includeWorkInProgressEffects && flags & 2048 && commitOffscreenPassiveMountEffects(finishedWork.alternate, finishedWork); - break; - case 24: - recursivelyTraverseReconnectPassiveEffects(finishedRoot, finishedWork, committedLanes, committedTransitions, includeWorkInProgressEffects, endTime); - includeWorkInProgressEffects && flags & 2048 && commitCachePassiveMountEffect(finishedWork.alternate, finishedWork); - break; - default: - recursivelyTraverseReconnectPassiveEffects(finishedRoot, finishedWork, committedLanes, committedTransitions, includeWorkInProgressEffects, endTime); - } - (finishedWork.mode & ProfileMode) !== NoMode && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && (componentEffectSpawnedUpdate || 0.05 < componentEffectDuration) && logComponentEffect(finishedWork, componentEffectStartTime, componentEffectEndTime, componentEffectDuration, componentEffectErrors); - popComponentEffectStart(prevEffectStart); - popComponentEffectDuration(prevEffectDuration); - componentEffectErrors = prevEffectErrors; - componentEffectSpawnedUpdate = prevEffectDidSpawnUpdate; - alreadyWarnedForDeepEquality = prevDeepEquality; - } - function recursivelyTraverseAtomicPassiveEffects(finishedRoot$jscomp$0, parentFiber, committedLanes$jscomp$0, committedTransitions$jscomp$0, endTime$jscomp$0) { - if (parentFiber.subtreeFlags & 10256 || 0 !== parentFiber.actualDuration && (null === parentFiber.alternate || parentFiber.alternate.child !== parentFiber.child)) for(var child = parentFiber.child; null !== child;){ - parentFiber = child.sibling; - var finishedRoot = finishedRoot$jscomp$0, committedLanes = committedLanes$jscomp$0, committedTransitions = committedTransitions$jscomp$0, endTime = null !== parentFiber ? parentFiber.actualStartTime : endTime$jscomp$0, prevDeepEquality = alreadyWarnedForDeepEquality; - (child.mode & ProfileMode) !== NoMode && 0 < child.actualStartTime && 0 !== (child.flags & 1) && logComponentRender(child, child.actualStartTime, endTime, inHydratedSubtree, committedLanes); - var flags = child.flags; - switch(child.tag){ - case 22: - recursivelyTraverseAtomicPassiveEffects(finishedRoot, child, committedLanes, committedTransitions, endTime); - flags & 2048 && commitOffscreenPassiveMountEffects(child.alternate, child); - break; - case 24: - recursivelyTraverseAtomicPassiveEffects(finishedRoot, child, committedLanes, committedTransitions, endTime); - flags & 2048 && commitCachePassiveMountEffect(child.alternate, child); - break; - default: - recursivelyTraverseAtomicPassiveEffects(finishedRoot, child, committedLanes, committedTransitions, endTime); - } - alreadyWarnedForDeepEquality = prevDeepEquality; - child = parentFiber; - } - } - function recursivelyAccumulateSuspenseyCommit(parentFiber, committedLanes, suspendedState) { - if (parentFiber.subtreeFlags & suspenseyCommitFlag) for(parentFiber = parentFiber.child; null !== parentFiber;)accumulateSuspenseyCommitOnFiber(parentFiber, committedLanes, suspendedState), parentFiber = parentFiber.sibling; - } - function accumulateSuspenseyCommitOnFiber(fiber, committedLanes, suspendedState) { - switch(fiber.tag){ - case 26: - recursivelyAccumulateSuspenseyCommit(fiber, committedLanes, suspendedState); - fiber.flags & suspenseyCommitFlag && (null !== fiber.memoizedState ? suspendResource(suspendedState, currentHoistableRoot, fiber.memoizedState, fiber.memoizedProps) : (fiber = fiber.stateNode, (committedLanes & 335544128) === committedLanes && suspendInstance(suspendedState, fiber))); - break; - case 5: - recursivelyAccumulateSuspenseyCommit(fiber, committedLanes, suspendedState); - fiber.flags & suspenseyCommitFlag && (fiber = fiber.stateNode, (committedLanes & 335544128) === committedLanes && suspendInstance(suspendedState, fiber)); - break; - case 3: - case 4: - var previousHoistableRoot = currentHoistableRoot; - currentHoistableRoot = getHoistableRoot(fiber.stateNode.containerInfo); - recursivelyAccumulateSuspenseyCommit(fiber, committedLanes, suspendedState); - currentHoistableRoot = previousHoistableRoot; - break; - case 22: - null === fiber.memoizedState && (previousHoistableRoot = fiber.alternate, null !== previousHoistableRoot && null !== previousHoistableRoot.memoizedState ? (previousHoistableRoot = suspenseyCommitFlag, suspenseyCommitFlag = 16777216, recursivelyAccumulateSuspenseyCommit(fiber, committedLanes, suspendedState), suspenseyCommitFlag = previousHoistableRoot) : recursivelyAccumulateSuspenseyCommit(fiber, committedLanes, suspendedState)); - break; - case 30: - if (0 !== (fiber.flags & suspenseyCommitFlag) && (previousHoistableRoot = fiber.memoizedProps.name, null != previousHoistableRoot && "auto" !== previousHoistableRoot)) { - var state = fiber.stateNode; - state.paired = null; - null === appearingViewTransitions && (appearingViewTransitions = new Map()); - appearingViewTransitions.set(previousHoistableRoot, state); - } - recursivelyAccumulateSuspenseyCommit(fiber, committedLanes, suspendedState); - break; - default: - recursivelyAccumulateSuspenseyCommit(fiber, committedLanes, suspendedState); - } - } - function detachAlternateSiblings(parentFiber) { - var previousFiber = parentFiber.alternate; - if (null !== previousFiber && (parentFiber = previousFiber.child, null !== parentFiber)) { - previousFiber.child = null; - do previousFiber = parentFiber.sibling, parentFiber.sibling = null, parentFiber = previousFiber; - while (null !== parentFiber) - } - } - function recursivelyTraversePassiveUnmountEffects(parentFiber) { - var deletions = parentFiber.deletions; - if (0 !== (parentFiber.flags & 16)) { - if (null !== deletions) for(var i = 0; i < deletions.length; i++){ - var childToDelete = deletions[i], prevEffectStart = pushComponentEffectStart(); - nextEffect = childToDelete; - commitPassiveUnmountEffectsInsideOfDeletedTree_begin(childToDelete, parentFiber); - (childToDelete.mode & ProfileMode) !== NoMode && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && 0.05 < componentEffectEndTime - componentEffectStartTime && logComponentTrigger(childToDelete, componentEffectStartTime, componentEffectEndTime, "Unmount"); - popComponentEffectStart(prevEffectStart); - } - detachAlternateSiblings(parentFiber); - } - if (parentFiber.subtreeFlags & 10256) for(parentFiber = parentFiber.child; null !== parentFiber;)commitPassiveUnmountOnFiber(parentFiber), parentFiber = parentFiber.sibling; - } - function commitPassiveUnmountOnFiber(finishedWork) { - var prevEffectStart = pushComponentEffectStart(), prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate(); - switch(finishedWork.tag){ - case 0: - case 11: - case 15: - recursivelyTraversePassiveUnmountEffects(finishedWork); - finishedWork.flags & 2048 && commitHookPassiveUnmountEffects(finishedWork, finishedWork.return, Passive | HasEffect); - break; - case 3: - var prevProfilerEffectDuration = pushNestedEffectDurations(); - recursivelyTraversePassiveUnmountEffects(finishedWork); - finishedWork.stateNode.passiveEffectDuration += popNestedEffectDurations(prevProfilerEffectDuration); - break; - case 12: - prevProfilerEffectDuration = pushNestedEffectDurations(); - recursivelyTraversePassiveUnmountEffects(finishedWork); - finishedWork.stateNode.passiveEffectDuration += bubbleNestedEffectDurations(prevProfilerEffectDuration); - break; - case 22: - prevProfilerEffectDuration = finishedWork.stateNode; - null !== finishedWork.memoizedState && prevProfilerEffectDuration._visibility & OffscreenPassiveEffectsConnected && (null === finishedWork.return || 13 !== finishedWork.return.tag) ? (prevProfilerEffectDuration._visibility &= ~OffscreenPassiveEffectsConnected, recursivelyTraverseDisconnectPassiveEffects(finishedWork), (finishedWork.mode & ProfileMode) !== NoMode && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && 0.05 < componentEffectEndTime - componentEffectStartTime && logComponentTrigger(finishedWork, componentEffectStartTime, componentEffectEndTime, "Disconnect")) : recursivelyTraversePassiveUnmountEffects(finishedWork); - break; - default: - recursivelyTraversePassiveUnmountEffects(finishedWork); - } - (finishedWork.mode & ProfileMode) !== NoMode && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && (componentEffectSpawnedUpdate || 0.05 < componentEffectDuration) && logComponentEffect(finishedWork, componentEffectStartTime, componentEffectEndTime, componentEffectDuration, componentEffectErrors); - popComponentEffectStart(prevEffectStart); - popComponentEffectDuration(prevEffectDuration); - componentEffectSpawnedUpdate = prevEffectDidSpawnUpdate; - componentEffectErrors = prevEffectErrors; - } - function recursivelyTraverseDisconnectPassiveEffects(parentFiber) { - var deletions = parentFiber.deletions; - if (0 !== (parentFiber.flags & 16)) { - if (null !== deletions) for(var i = 0; i < deletions.length; i++){ - var childToDelete = deletions[i], prevEffectStart = pushComponentEffectStart(); - nextEffect = childToDelete; - commitPassiveUnmountEffectsInsideOfDeletedTree_begin(childToDelete, parentFiber); - (childToDelete.mode & ProfileMode) !== NoMode && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && 0.05 < componentEffectEndTime - componentEffectStartTime && logComponentTrigger(childToDelete, componentEffectStartTime, componentEffectEndTime, "Unmount"); - popComponentEffectStart(prevEffectStart); - } - detachAlternateSiblings(parentFiber); - } - for(parentFiber = parentFiber.child; null !== parentFiber;)disconnectPassiveEffect(parentFiber), parentFiber = parentFiber.sibling; - } - function disconnectPassiveEffect(finishedWork) { - var prevEffectStart = pushComponentEffectStart(), prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate(); - switch(finishedWork.tag){ - case 0: - case 11: - case 15: - commitHookPassiveUnmountEffects(finishedWork, finishedWork.return, Passive); - recursivelyTraverseDisconnectPassiveEffects(finishedWork); - break; - case 22: - var instance = finishedWork.stateNode; - instance._visibility & OffscreenPassiveEffectsConnected && (instance._visibility &= ~OffscreenPassiveEffectsConnected, recursivelyTraverseDisconnectPassiveEffects(finishedWork)); - break; - default: - recursivelyTraverseDisconnectPassiveEffects(finishedWork); - } - (finishedWork.mode & ProfileMode) !== NoMode && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && (componentEffectSpawnedUpdate || 0.05 < componentEffectDuration) && logComponentEffect(finishedWork, componentEffectStartTime, componentEffectEndTime, componentEffectDuration, componentEffectErrors); - popComponentEffectStart(prevEffectStart); - popComponentEffectDuration(prevEffectDuration); - componentEffectSpawnedUpdate = prevEffectDidSpawnUpdate; - componentEffectErrors = prevEffectErrors; - } - function commitPassiveUnmountEffectsInsideOfDeletedTree_begin(deletedSubtreeRoot, nearestMountedAncestor$jscomp$0) { - for(; null !== nextEffect;){ - var fiber = nextEffect, current = fiber, nearestMountedAncestor = nearestMountedAncestor$jscomp$0, prevEffectStart = pushComponentEffectStart(), prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate(); - switch(current.tag){ - case 0: - case 11: - case 15: - commitHookPassiveUnmountEffects(current, nearestMountedAncestor, Passive); - break; - case 23: - case 22: - null !== current.memoizedState && null !== current.memoizedState.cachePool && (nearestMountedAncestor = current.memoizedState.cachePool.pool, null != nearestMountedAncestor && retainCache(nearestMountedAncestor)); - break; - case 24: - releaseCache(current.memoizedState.cache); - } - (current.mode & ProfileMode) !== NoMode && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && (componentEffectSpawnedUpdate || 0.05 < componentEffectDuration) && logComponentEffect(current, componentEffectStartTime, componentEffectEndTime, componentEffectDuration, componentEffectErrors); - popComponentEffectStart(prevEffectStart); - popComponentEffectDuration(prevEffectDuration); - componentEffectSpawnedUpdate = prevEffectDidSpawnUpdate; - componentEffectErrors = prevEffectErrors; - current = fiber.child; - if (null !== current) current.return = fiber, nextEffect = current; - else a: for(fiber = deletedSubtreeRoot; null !== nextEffect;){ - current = nextEffect; - prevEffectStart = current.sibling; - prevEffectDuration = current.return; - detachFiberAfterEffects(current); - if (current === fiber) { - nextEffect = null; - break a; - } - if (null !== prevEffectStart) { - prevEffectStart.return = prevEffectDuration; - nextEffect = prevEffectStart; - break a; - } - nextEffect = prevEffectDuration; - } - } - } - function onCommitRoot() { - commitHooks.forEach(function(commitHook) { - return commitHook(); - }); - } - function isConcurrentActEnvironment() { - var isReactActEnvironmentGlobal = "undefined" !== typeof IS_REACT_ACT_ENVIRONMENT ? IS_REACT_ACT_ENVIRONMENT : void 0; - isReactActEnvironmentGlobal || null === ReactSharedInternals.actQueue || console.error("The current testing environment is not configured to support act(...)"); - return isReactActEnvironmentGlobal; - } - function requestUpdateLane(fiber) { - if ((executionContext & RenderContext) !== NoContext && 0 !== workInProgressRootRenderLanes) return workInProgressRootRenderLanes & -workInProgressRootRenderLanes; - var transition = ReactSharedInternals.T; - return null !== transition ? (transition._updatedFibers || (transition._updatedFibers = new Set()), transition._updatedFibers.add(fiber), requestTransitionLane()) : resolveUpdatePriority(); - } - function requestDeferredLane() { - if (0 === workInProgressDeferredLane) if (0 === (workInProgressRootRenderLanes & 536870912) || isHydrating) { - var lane = nextTransitionDeferredLane; - nextTransitionDeferredLane <<= 1; - 0 === (nextTransitionDeferredLane & 3932160) && (nextTransitionDeferredLane = 262144); - workInProgressDeferredLane = lane; - } else workInProgressDeferredLane = 536870912; - lane = suspenseHandlerStackCursor.current; - null !== lane && (lane.flags |= 32); - return workInProgressDeferredLane; - } - function scheduleViewTransitionEvent(fiber, callback) { - if (null != callback) { - var state = fiber.stateNode, instance = state.ref; - null === instance && (instance = state.ref = createViewTransitionInstance(getViewTransitionName(fiber.memoizedProps, state))); - null === pendingViewTransitionEvents && (pendingViewTransitionEvents = []); - pendingViewTransitionEvents.push(callback.bind(null, instance)); - } - } - function scheduleUpdateOnFiber(root, fiber, lane) { - isRunningInsertionEffect && console.error("useInsertionEffect must not schedule updates."); - isFlushingPassiveEffects && (didScheduleUpdateDuringPassiveEffects = !0); - if (root === workInProgressRoot && (workInProgressSuspendedReason === SuspendedOnData || workInProgressSuspendedReason === SuspendedOnAction) || null !== root.cancelPendingCommit) prepareFreshStack(root, 0), markRootSuspended(root, workInProgressRootRenderLanes, workInProgressDeferredLane, !1); - markRootUpdated$1(root, lane); - if ((executionContext & RenderContext) !== NoContext && root === workInProgressRoot) { - if (isRendering) switch(fiber.tag){ - case 0: - case 11: - case 15: - root = workInProgress && getComponentNameFromFiber(workInProgress) || "Unknown"; - didWarnAboutUpdateInRenderForAnotherComponent.has(root) || (didWarnAboutUpdateInRenderForAnotherComponent.add(root), fiber = getComponentNameFromFiber(fiber) || "Unknown", console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render", fiber, root, root)); - break; - case 1: - didWarnAboutUpdateInRender || (console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."), didWarnAboutUpdateInRender = !0); - } - } else isDevToolsPresent && addFiberToLanesMap(root, fiber, lane), warnIfUpdatesNotWrappedWithActDEV(fiber), root === workInProgressRoot && ((executionContext & RenderContext) === NoContext && (workInProgressRootInterleavedUpdatedLanes |= lane), workInProgressRootExitStatus === RootSuspendedWithDelay && markRootSuspended(root, workInProgressRootRenderLanes, workInProgressDeferredLane, !1)), ensureRootIsScheduled(root); - } - function performWorkOnRoot(root, lanes, forceSync) { - if ((executionContext & (RenderContext | CommitContext)) !== NoContext) throw Error("Should not already be working."); - if (0 !== workInProgressRootRenderLanes && null !== workInProgress) { - var yieldedFiber = workInProgress, yieldEndTime = now$1(); - switch(yieldReason){ - case SuspendedOnImmediate: - case SuspendedOnData: - var startTime = yieldStartTime; - supportsUserTiming && ((yieldedFiber = yieldedFiber._debugTask) ? yieldedFiber.run(console.timeStamp.bind(console, "Suspended", startTime, yieldEndTime, COMPONENTS_TRACK, void 0, "primary-light")) : console.timeStamp("Suspended", startTime, yieldEndTime, COMPONENTS_TRACK, void 0, "primary-light")); - break; - case SuspendedOnAction: - startTime = yieldStartTime; - supportsUserTiming && ((yieldedFiber = yieldedFiber._debugTask) ? yieldedFiber.run(console.timeStamp.bind(console, "Action", startTime, yieldEndTime, COMPONENTS_TRACK, void 0, "primary-light")) : console.timeStamp("Action", startTime, yieldEndTime, COMPONENTS_TRACK, void 0, "primary-light")); - break; - default: - supportsUserTiming && (yieldedFiber = yieldEndTime - yieldStartTime, 3 > yieldedFiber || console.timeStamp("Blocked", yieldStartTime, yieldEndTime, COMPONENTS_TRACK, void 0, 5 > yieldedFiber ? "primary-light" : 10 > yieldedFiber ? "primary" : 100 > yieldedFiber ? "primary-dark" : "error")); - } - } - startTime = (forceSync = !forceSync && 0 === (lanes & 127) && 0 === (lanes & root.expiredLanes) || checkIfRootIsPrerendering(root, lanes)) ? renderRootConcurrent(root, lanes) : renderRootSync(root, lanes, !0); - var renderWasConcurrent = forceSync; - do { - if (startTime === RootInProgress) { - workInProgressRootIsPrerendering && !forceSync && markRootSuspended(root, lanes, 0, !1); - lanes = workInProgressSuspendedReason; - yieldStartTime = now(); - yieldReason = lanes; - break; - } else { - yieldedFiber = now$1(); - yieldEndTime = root.current.alternate; - if (renderWasConcurrent && !isRenderConsistentWithExternalStores(yieldEndTime)) { - setCurrentTrackFromLanes(lanes); - yieldEndTime = renderStartTime; - startTime = yieldedFiber; - !supportsUserTiming || startTime <= yieldEndTime || (workInProgressUpdateTask ? workInProgressUpdateTask.run(console.timeStamp.bind(console, "Teared Render", yieldEndTime, startTime, currentTrack, LANES_TRACK_GROUP, "error")) : console.timeStamp("Teared Render", yieldEndTime, startTime, currentTrack, LANES_TRACK_GROUP, "error")); - finalizeRender(lanes, yieldedFiber); - startTime = renderRootSync(root, lanes, !1); - renderWasConcurrent = !1; - continue; - } - if (startTime === RootErrored) { - renderWasConcurrent = lanes; - if (root.errorRecoveryDisabledLanes & renderWasConcurrent) var errorRetryLanes = 0; - else errorRetryLanes = root.pendingLanes & -536870913, errorRetryLanes = 0 !== errorRetryLanes ? errorRetryLanes : errorRetryLanes & 536870912 ? 536870912 : 0; - if (0 !== errorRetryLanes) { - setCurrentTrackFromLanes(lanes); - logErroredRenderPhase(renderStartTime, yieldedFiber, lanes, workInProgressUpdateTask); - finalizeRender(lanes, yieldedFiber); - lanes = errorRetryLanes; - a: { - yieldedFiber = root; - startTime = renderWasConcurrent; - renderWasConcurrent = workInProgressRootConcurrentErrors; - var wasRootDehydrated = yieldedFiber.current.memoizedState.isDehydrated; - wasRootDehydrated && (prepareFreshStack(yieldedFiber, errorRetryLanes).flags |= 256); - errorRetryLanes = renderRootSync(yieldedFiber, errorRetryLanes, !1); - if (errorRetryLanes !== RootErrored) { - if (workInProgressRootDidAttachPingListener && !wasRootDehydrated) { - yieldedFiber.errorRecoveryDisabledLanes |= startTime; - workInProgressRootInterleavedUpdatedLanes |= startTime; - startTime = RootSuspendedWithDelay; - break a; - } - yieldedFiber = workInProgressRootRecoverableErrors; - workInProgressRootRecoverableErrors = renderWasConcurrent; - null !== yieldedFiber && (null === workInProgressRootRecoverableErrors ? workInProgressRootRecoverableErrors = yieldedFiber : workInProgressRootRecoverableErrors.push.apply(workInProgressRootRecoverableErrors, yieldedFiber)); - } - startTime = errorRetryLanes; - } - renderWasConcurrent = !1; - if (startTime !== RootErrored) continue; - else yieldedFiber = now$1(); - } - } - if (startTime === RootFatalErrored) { - setCurrentTrackFromLanes(lanes); - logErroredRenderPhase(renderStartTime, yieldedFiber, lanes, workInProgressUpdateTask); - finalizeRender(lanes, yieldedFiber); - prepareFreshStack(root, 0); - markRootSuspended(root, lanes, 0, !0); - break; - } - a: { - forceSync = root; - switch(startTime){ - case RootInProgress: - case RootFatalErrored: - throw Error("Root did not complete. This is a bug in React."); - case RootSuspendedWithDelay: - if ((lanes & 4194048) !== lanes && (lanes & 62914560) !== lanes) break; - case RootSuspendedAtTheShell: - setCurrentTrackFromLanes(lanes); - logSuspendedRenderPhase(renderStartTime, yieldedFiber, lanes, workInProgressUpdateTask); - finalizeRender(lanes, yieldedFiber); - yieldEndTime = lanes; - 0 !== (yieldEndTime & 127) ? blockingSuspendedTime = yieldedFiber : 0 !== (yieldEndTime & 4194048) && (transitionSuspendedTime = yieldedFiber); - markRootSuspended(forceSync, lanes, workInProgressDeferredLane, !workInProgressRootDidSkipSuspendedSiblings); - break a; - case RootErrored: - workInProgressRootRecoverableErrors = null; - break; - case RootSuspended: - case RootCompleted: - break; - default: - throw Error("Unknown root exit status."); - } - if (null !== ReactSharedInternals.actQueue) commitRoot(forceSync, yieldEndTime, lanes, workInProgressRootRecoverableErrors, workInProgressTransitions, workInProgressRootDidIncludeRecursiveRenderUpdate, workInProgressDeferredLane, workInProgressRootInterleavedUpdatedLanes, workInProgressSuspendedRetryLanes, startTime, null, null, renderStartTime, yieldedFiber); - else { - if ((lanes & 62914560) === lanes && (renderWasConcurrent = globalMostRecentFallbackTime + FALLBACK_THROTTLE_MS - now$1(), 10 < renderWasConcurrent)) { - markRootSuspended(forceSync, lanes, workInProgressDeferredLane, !workInProgressRootDidSkipSuspendedSiblings); - if (0 !== getNextLanes(forceSync, 0, !0)) break a; - pendingEffectsLanes = lanes; - forceSync.timeoutHandle = scheduleTimeout(commitRootWhenReady.bind(null, forceSync, yieldEndTime, workInProgressRootRecoverableErrors, workInProgressTransitions, workInProgressRootDidIncludeRecursiveRenderUpdate, lanes, workInProgressDeferredLane, workInProgressRootInterleavedUpdatedLanes, workInProgressSuspendedRetryLanes, workInProgressRootDidSkipSuspendedSiblings, startTime, "Throttled", renderStartTime, yieldedFiber), renderWasConcurrent); - break a; - } - commitRootWhenReady(forceSync, yieldEndTime, workInProgressRootRecoverableErrors, workInProgressTransitions, workInProgressRootDidIncludeRecursiveRenderUpdate, lanes, workInProgressDeferredLane, workInProgressRootInterleavedUpdatedLanes, workInProgressSuspendedRetryLanes, workInProgressRootDidSkipSuspendedSiblings, startTime, null, renderStartTime, yieldedFiber); - } - } - } - break; - }while (1) - ensureRootIsScheduled(root); - } - function commitRootWhenReady(root, finishedWork, recoverableErrors, transitions, didIncludeRenderPhaseUpdate, lanes, spawnedLane, updatedLanes, suspendedRetryLanes, didSkipSuspendedSiblings, exitStatus, suspendedCommitReason, completedRenderStartTime, completedRenderEndTime) { - root.timeoutHandle = noTimeout; - var subtreeFlags = finishedWork.subtreeFlags, isViewTransitionEligible = (lanes & 335544064) === lanes, suspendedState = null; - if (isViewTransitionEligible || subtreeFlags & 8192 || 16785408 === (subtreeFlags & 16785408)) { - if (suspendedState = { - stylesheets: null, - count: 0, - imgCount: 0, - imgBytes: 0, - suspenseyImages: [], - waitingForImages: !0, - waitingForViewTransition: !1, - unsuspend: noop$1 - }, appearingViewTransitions = null, accumulateSuspenseyCommitOnFiber(finishedWork, lanes, suspendedState), isViewTransitionEligible && (subtreeFlags = suspendedState, isViewTransitionEligible = root.containerInfo, isViewTransitionEligible = (9 === isViewTransitionEligible.nodeType ? isViewTransitionEligible : isViewTransitionEligible.ownerDocument).__reactViewTransition, null != isViewTransitionEligible && (subtreeFlags.count++, subtreeFlags.waitingForViewTransition = !0, subtreeFlags = onUnsuspend.bind(subtreeFlags), isViewTransitionEligible.finished.then(subtreeFlags, subtreeFlags))), subtreeFlags = (lanes & 62914560) === lanes ? globalMostRecentFallbackTime - now$1() : (lanes & 4194048) === lanes ? globalMostRecentTransitionTime - now$1() : 0, subtreeFlags = waitForCommitToBeReady(suspendedState, subtreeFlags), null !== subtreeFlags) { - pendingEffectsLanes = lanes; - root.cancelPendingCommit = subtreeFlags(commitRoot.bind(null, root, finishedWork, lanes, recoverableErrors, transitions, didIncludeRenderPhaseUpdate, spawnedLane, updatedLanes, suspendedRetryLanes, exitStatus, suspendedState, suspendedState.waitingForViewTransition ? "Waiting for the previous Animation" : 0 < suspendedState.count ? 0 < suspendedState.imgCount ? "Suspended on CSS and Images" : "Suspended on CSS" : 1 === suspendedState.imgCount ? "Suspended on an Image" : 0 < suspendedState.imgCount ? "Suspended on Images" : null, completedRenderStartTime, completedRenderEndTime)); - markRootSuspended(root, lanes, spawnedLane, !didSkipSuspendedSiblings); - return; - } - } - commitRoot(root, finishedWork, lanes, recoverableErrors, transitions, didIncludeRenderPhaseUpdate, spawnedLane, updatedLanes, suspendedRetryLanes, exitStatus, suspendedState, suspendedCommitReason, completedRenderStartTime, completedRenderEndTime); - } - function isRenderConsistentWithExternalStores(finishedWork) { - for(var node = finishedWork;;){ - var tag = node.tag; - if ((0 === tag || 11 === tag || 15 === tag) && node.flags & 16384 && (tag = node.updateQueue, null !== tag && (tag = tag.stores, null !== tag))) for(var i = 0; i < tag.length; i++){ - var check = tag[i], getSnapshot = check.getSnapshot; - check = check.value; - try { - if (!objectIs(getSnapshot(), check)) return !1; - } catch (error) { - return !1; - } - } - tag = node.child; - if (node.subtreeFlags & 16384 && null !== tag) tag.return = node, node = tag; - else { - if (node === finishedWork) break; - for(; null === node.sibling;){ - if (null === node.return || node.return === finishedWork) return !0; - node = node.return; - } - node.sibling.return = node.return; - node = node.sibling; - } - } - return !0; - } - function markRootSuspended(root, suspendedLanes, spawnedLane, didAttemptEntireTree) { - suspendedLanes &= ~workInProgressRootPingedLanes; - suspendedLanes &= ~workInProgressRootInterleavedUpdatedLanes; - root.suspendedLanes |= suspendedLanes; - root.pingedLanes &= ~suspendedLanes; - didAttemptEntireTree && (root.warmLanes |= suspendedLanes); - didAttemptEntireTree = root.expirationTimes; - for(var lanes = suspendedLanes; 0 < lanes;){ - var index = 31 - clz32(lanes), lane = 1 << index; - didAttemptEntireTree[index] = -1; - lanes &= ~lane; - } - 0 !== spawnedLane && markSpawnedDeferredLane(root, spawnedLane, suspendedLanes); - } - function flushSyncWork$1() { - return (executionContext & (RenderContext | CommitContext)) === NoContext ? (flushSyncWorkAcrossRoots_impl(0, !1), !1) : !0; - } - function resetWorkInProgressStack() { - if (null !== workInProgress) { - if (workInProgressSuspendedReason === NotSuspended) var interruptedWork = workInProgress.return; - else interruptedWork = workInProgress, resetContextDependencies(), resetHooksOnUnwind(interruptedWork), thenableState$1 = null, thenableIndexCounter$1 = 0, interruptedWork = workInProgress; - for(; null !== interruptedWork;)unwindInterruptedWork(interruptedWork.alternate, interruptedWork), interruptedWork = interruptedWork.return; - workInProgress = null; - } - } - function finalizeRender(lanes, finalizationTime) { - 0 !== (lanes & 127) && (blockingClampTime = finalizationTime); - 0 !== (lanes & 4194048) && (transitionClampTime = finalizationTime); - 0 !== (lanes & 62914560) && (retryClampTime = finalizationTime); - 0 !== (lanes & 2080374784) && (idleClampTime = finalizationTime); - } - function prepareFreshStack(root, lanes) { - supportsUserTiming && (console.timeStamp("Blocking Track", 0.003, 0.003, "Blocking", LANES_TRACK_GROUP, "primary-light"), console.timeStamp("Transition Track", 0.003, 0.003, "Transition", LANES_TRACK_GROUP, "primary-light"), console.timeStamp("Suspense Track", 0.003, 0.003, "Suspense", LANES_TRACK_GROUP, "primary-light"), console.timeStamp("Idle Track", 0.003, 0.003, "Idle", LANES_TRACK_GROUP, "primary-light")); - var previousRenderStartTime = renderStartTime; - renderStartTime = now(); - if (0 !== workInProgressRootRenderLanes && 0 < previousRenderStartTime) { - setCurrentTrackFromLanes(workInProgressRootRenderLanes); - if (workInProgressRootExitStatus === RootSuspended || workInProgressRootExitStatus === RootSuspendedWithDelay) logSuspendedRenderPhase(previousRenderStartTime, renderStartTime, lanes, workInProgressUpdateTask); - else { - var endTime = renderStartTime, debugTask = workInProgressUpdateTask; - if (supportsUserTiming && !(endTime <= previousRenderStartTime)) { - var color = (lanes & 738197653) === lanes ? "tertiary-dark" : "primary-dark", label = (lanes & 536870912) === lanes ? "Prewarm" : (lanes & 201326741) === lanes ? "Interrupted Hydration" : "Interrupted Render"; - debugTask ? debugTask.run(console.timeStamp.bind(console, label, previousRenderStartTime, endTime, currentTrack, LANES_TRACK_GROUP, color)) : console.timeStamp(label, previousRenderStartTime, endTime, currentTrack, LANES_TRACK_GROUP, color); - } - } - finalizeRender(workInProgressRootRenderLanes, renderStartTime); - } - previousRenderStartTime = workInProgressUpdateTask; - workInProgressUpdateTask = null; - if (0 !== (lanes & 127)) { - workInProgressUpdateTask = blockingUpdateTask; - debugTask = 0 <= blockingUpdateTime && blockingUpdateTime < blockingClampTime ? blockingClampTime : blockingUpdateTime; - endTime = 0 <= blockingEventTime && blockingEventTime < blockingClampTime ? blockingClampTime : blockingEventTime; - color = 0 <= endTime ? endTime : 0 <= debugTask ? debugTask : renderStartTime; - 0 <= blockingSuspendedTime ? (setCurrentTrackFromLanes(2), logSuspendedWithDelayPhase(blockingSuspendedTime, color, lanes, previousRenderStartTime)) : 0 !== (animatingLanes & 127) && (setCurrentTrackFromLanes(2), logAnimatingPhase(blockingClampTime, color, animatingTask)); - previousRenderStartTime = debugTask; - var eventTime = endTime, eventType = blockingEventType, eventIsRepeat = 0 < blockingEventRepeatTime, isSpawnedUpdate = blockingUpdateType === SPAWNED_UPDATE, isPingedUpdate = blockingUpdateType === PINGED_UPDATE; - debugTask = renderStartTime; - endTime = blockingUpdateTask; - color = blockingUpdateMethodName; - label = blockingUpdateComponentName; - if (supportsUserTiming) { - currentTrack = "Blocking"; - 0 < previousRenderStartTime ? previousRenderStartTime > debugTask && (previousRenderStartTime = debugTask) : previousRenderStartTime = debugTask; - 0 < eventTime ? eventTime > previousRenderStartTime && (eventTime = previousRenderStartTime) : eventTime = previousRenderStartTime; - if (null !== eventType && previousRenderStartTime > eventTime) { - var color$jscomp$0 = eventIsRepeat ? "secondary-light" : "warning"; - endTime ? endTime.run(console.timeStamp.bind(console, eventIsRepeat ? "Consecutive" : "Event: " + eventType, eventTime, previousRenderStartTime, currentTrack, LANES_TRACK_GROUP, color$jscomp$0)) : console.timeStamp(eventIsRepeat ? "Consecutive" : "Event: " + eventType, eventTime, previousRenderStartTime, currentTrack, LANES_TRACK_GROUP, color$jscomp$0); - } - debugTask > previousRenderStartTime && (eventTime = isSpawnedUpdate ? "error" : (lanes & 738197653) === lanes ? "tertiary-light" : "primary-light", isSpawnedUpdate = isPingedUpdate ? "Promise Resolved" : isSpawnedUpdate ? "Cascading Update" : 5 < debugTask - previousRenderStartTime ? "Update Blocked" : "Update", isPingedUpdate = [], null != label && isPingedUpdate.push([ - "Component name", - label - ]), null != color && isPingedUpdate.push([ - "Method name", - color - ]), previousRenderStartTime = { - start: previousRenderStartTime, - end: debugTask, - detail: { - devtools: { - properties: isPingedUpdate, - track: currentTrack, - trackGroup: LANES_TRACK_GROUP, - color: eventTime - } - } - }, endTime ? endTime.run(performance.measure.bind(performance, isSpawnedUpdate, previousRenderStartTime)) : performance.measure(isSpawnedUpdate, previousRenderStartTime), performance.clearMeasures(isSpawnedUpdate)); - } - blockingUpdateTime = -1.1; - blockingUpdateType = 0; - blockingUpdateComponentName = blockingUpdateMethodName = null; - blockingSuspendedTime = -1.1; - blockingEventRepeatTime = blockingEventTime; - blockingEventTime = -1.1; - blockingClampTime = now(); - } - 0 !== (lanes & 4194048) && (workInProgressUpdateTask = transitionUpdateTask, debugTask = 0 <= transitionStartTime && transitionStartTime < transitionClampTime ? transitionClampTime : transitionStartTime, previousRenderStartTime = 0 <= transitionUpdateTime && transitionUpdateTime < transitionClampTime ? transitionClampTime : transitionUpdateTime, endTime = 0 <= transitionEventTime && transitionEventTime < transitionClampTime ? transitionClampTime : transitionEventTime, color = 0 <= endTime ? endTime : 0 <= previousRenderStartTime ? previousRenderStartTime : renderStartTime, 0 <= transitionSuspendedTime ? (setCurrentTrackFromLanes(256), logSuspendedWithDelayPhase(transitionSuspendedTime, color, lanes, workInProgressUpdateTask)) : 0 !== (animatingLanes & 4194048) && (setCurrentTrackFromLanes(256), logAnimatingPhase(transitionClampTime, color, animatingTask)), isPingedUpdate = endTime, eventTime = transitionEventType, eventType = 0 < transitionEventRepeatTime, eventIsRepeat = transitionUpdateType === PINGED_UPDATE, color = renderStartTime, endTime = transitionUpdateTask, label = transitionUpdateMethodName, isSpawnedUpdate = transitionUpdateComponentName, supportsUserTiming && (currentTrack = "Transition", 0 < previousRenderStartTime ? previousRenderStartTime > color && (previousRenderStartTime = color) : previousRenderStartTime = color, 0 < debugTask ? debugTask > previousRenderStartTime && (debugTask = previousRenderStartTime) : debugTask = previousRenderStartTime, 0 < isPingedUpdate ? isPingedUpdate > debugTask && (isPingedUpdate = debugTask) : isPingedUpdate = debugTask, debugTask > isPingedUpdate && null !== eventTime && (color$jscomp$0 = eventType ? "secondary-light" : "warning", endTime ? endTime.run(console.timeStamp.bind(console, eventType ? "Consecutive" : "Event: " + eventTime, isPingedUpdate, debugTask, currentTrack, LANES_TRACK_GROUP, color$jscomp$0)) : console.timeStamp(eventType ? "Consecutive" : "Event: " + eventTime, isPingedUpdate, debugTask, currentTrack, LANES_TRACK_GROUP, color$jscomp$0)), previousRenderStartTime > debugTask && (endTime ? endTime.run(console.timeStamp.bind(console, "Action", debugTask, previousRenderStartTime, currentTrack, LANES_TRACK_GROUP, "primary-dark")) : console.timeStamp("Action", debugTask, previousRenderStartTime, currentTrack, LANES_TRACK_GROUP, "primary-dark")), color > previousRenderStartTime && (debugTask = eventIsRepeat ? "Promise Resolved" : 5 < color - previousRenderStartTime ? "Update Blocked" : "Update", isPingedUpdate = [], null != isSpawnedUpdate && isPingedUpdate.push([ - "Component name", - isSpawnedUpdate - ]), null != label && isPingedUpdate.push([ - "Method name", - label - ]), previousRenderStartTime = { - start: previousRenderStartTime, - end: color, - detail: { - devtools: { - properties: isPingedUpdate, - track: currentTrack, - trackGroup: LANES_TRACK_GROUP, - color: "primary-light" - } - } - }, endTime ? endTime.run(performance.measure.bind(performance, debugTask, previousRenderStartTime)) : performance.measure(debugTask, previousRenderStartTime), performance.clearMeasures(debugTask))), transitionUpdateTime = transitionStartTime = -1.1, transitionUpdateType = 0, transitionSuspendedTime = -1.1, transitionEventRepeatTime = transitionEventTime, transitionEventTime = -1.1, transitionClampTime = now()); - 0 !== (lanes & 62914560) && 0 !== (animatingLanes & 62914560) && (setCurrentTrackFromLanes(4194304), logAnimatingPhase(retryClampTime, renderStartTime, animatingTask)); - 0 !== (lanes & 2080374784) && 0 !== (animatingLanes & 2080374784) && (setCurrentTrackFromLanes(268435456), logAnimatingPhase(idleClampTime, renderStartTime, animatingTask)); - previousRenderStartTime = root.timeoutHandle; - previousRenderStartTime !== noTimeout && (root.timeoutHandle = noTimeout, cancelTimeout(previousRenderStartTime)); - previousRenderStartTime = root.cancelPendingCommit; - null !== previousRenderStartTime && (root.cancelPendingCommit = null, previousRenderStartTime()); - pendingEffectsLanes = 0; - resetWorkInProgressStack(); - workInProgressRoot = root; - workInProgress = previousRenderStartTime = createWorkInProgress(root.current, null); - workInProgressRootRenderLanes = lanes; - workInProgressSuspendedReason = NotSuspended; - workInProgressThrownValue = null; - workInProgressRootDidSkipSuspendedSiblings = !1; - workInProgressRootIsPrerendering = checkIfRootIsPrerendering(root, lanes); - workInProgressRootDidAttachPingListener = !1; - workInProgressRootExitStatus = RootInProgress; - workInProgressSuspendedRetryLanes = workInProgressDeferredLane = workInProgressRootPingedLanes = workInProgressRootInterleavedUpdatedLanes = workInProgressRootSkippedLanes = 0; - workInProgressRootRecoverableErrors = workInProgressRootConcurrentErrors = null; - workInProgressRootDidIncludeRecursiveRenderUpdate = !1; - 0 !== (lanes & 8) && (lanes |= lanes & 32); - endTime = root.entangledLanes; - if (0 !== endTime) for(root = root.entanglements, endTime &= lanes; 0 < endTime;)debugTask = 31 - clz32(endTime), color = 1 << debugTask, lanes |= root[debugTask], endTime &= ~color; - entangledRenderLanes = lanes; - finishQueueingConcurrentUpdates(); - root = getCurrentTime(); - 1e3 < root - lastResetTime && (ReactSharedInternals.recentlyCreatedOwnerStacks = 0, lastResetTime = root); - ReactStrictModeWarnings.discardPendingWarnings(); - return previousRenderStartTime; - } - function handleThrow(root, thrownValue) { - currentlyRenderingFiber = null; - ReactSharedInternals.H = ContextOnlyDispatcher; - ReactSharedInternals.getCurrentStack = null; - isRendering = !1; - current = null; - thrownValue === SuspenseException || thrownValue === SuspenseActionException ? (thrownValue = getSuspendedThenable(), workInProgressSuspendedReason = SuspendedOnImmediate) : thrownValue === SuspenseyCommitException ? (thrownValue = getSuspendedThenable(), workInProgressSuspendedReason = SuspendedOnInstance) : workInProgressSuspendedReason = thrownValue === SelectiveHydrationException ? SuspendedOnHydration : null !== thrownValue && "object" === typeof thrownValue && "function" === typeof thrownValue.then ? SuspendedOnDeprecatedThrowPromise : SuspendedOnError; - workInProgressThrownValue = thrownValue; - var erroredWork = workInProgress; - null === erroredWork ? (workInProgressRootExitStatus = RootFatalErrored, logUncaughtError(root, createCapturedValueAtFiber(thrownValue, root.current))) : erroredWork.mode & ProfileMode && stopProfilerTimerIfRunningAndRecordDuration(erroredWork); - } - function shouldRemainOnPreviousScreen() { - var handler = suspenseHandlerStackCursor.current; - return null === handler ? !0 : (workInProgressRootRenderLanes & 4194048) === workInProgressRootRenderLanes ? null === shellBoundary ? !0 : !1 : (workInProgressRootRenderLanes & 62914560) === workInProgressRootRenderLanes || 0 !== (workInProgressRootRenderLanes & 536870912) ? handler === shellBoundary : !1; - } - function pushDispatcher() { - var prevDispatcher = ReactSharedInternals.H; - ReactSharedInternals.H = ContextOnlyDispatcher; - return null === prevDispatcher ? ContextOnlyDispatcher : prevDispatcher; - } - function pushAsyncDispatcher() { - var prevAsyncDispatcher = ReactSharedInternals.A; - ReactSharedInternals.A = DefaultAsyncDispatcher; - return prevAsyncDispatcher; - } - function markRenderDerivedCause(fiber) { - null === workInProgressUpdateTask && (workInProgressUpdateTask = null == fiber._debugTask ? null : fiber._debugTask); - } - function renderDidSuspendDelayIfPossible() { - workInProgressRootExitStatus = RootSuspendedWithDelay; - workInProgressRootDidSkipSuspendedSiblings || (workInProgressRootRenderLanes & 4194048) !== workInProgressRootRenderLanes && null !== suspenseHandlerStackCursor.current || (workInProgressRootIsPrerendering = !0); - 0 === (workInProgressRootSkippedLanes & 134217727) && 0 === (workInProgressRootInterleavedUpdatedLanes & 134217727) || null === workInProgressRoot || markRootSuspended(workInProgressRoot, workInProgressRootRenderLanes, workInProgressDeferredLane, !1); - } - function renderRootSync(root, lanes, shouldYieldForPrerendering) { - var prevExecutionContext = executionContext; - executionContext |= RenderContext; - var prevDispatcher = pushDispatcher(), prevAsyncDispatcher = pushAsyncDispatcher(); - if (workInProgressRoot !== root || workInProgressRootRenderLanes !== lanes) { - if (isDevToolsPresent) { - var memoizedUpdaters = root.memoizedUpdaters; - 0 < memoizedUpdaters.size && (restorePendingUpdaters(root, workInProgressRootRenderLanes), memoizedUpdaters.clear()); - movePendingFibersToMemoized(root, lanes); - } - workInProgressTransitions = null; - prepareFreshStack(root, lanes); - } - lanes = !1; - memoizedUpdaters = workInProgressRootExitStatus; - a: do try { - if (workInProgressSuspendedReason !== NotSuspended && null !== workInProgress) { - var unitOfWork = workInProgress, thrownValue = workInProgressThrownValue; - switch(workInProgressSuspendedReason){ - case SuspendedOnHydration: - resetWorkInProgressStack(); - memoizedUpdaters = RootSuspendedAtTheShell; - break a; - case SuspendedOnImmediate: - case SuspendedOnData: - case SuspendedOnAction: - case SuspendedOnDeprecatedThrowPromise: - null === suspenseHandlerStackCursor.current && (lanes = !0); - var reason = workInProgressSuspendedReason; - workInProgressSuspendedReason = NotSuspended; - workInProgressThrownValue = null; - throwAndUnwindWorkLoop(root, unitOfWork, thrownValue, reason); - if (shouldYieldForPrerendering && workInProgressRootIsPrerendering) { - memoizedUpdaters = RootInProgress; - break a; - } - break; - default: - reason = workInProgressSuspendedReason, workInProgressSuspendedReason = NotSuspended, workInProgressThrownValue = null, throwAndUnwindWorkLoop(root, unitOfWork, thrownValue, reason); - } - } - workLoopSync(); - memoizedUpdaters = workInProgressRootExitStatus; - break; - } catch (thrownValue$8) { - handleThrow(root, thrownValue$8); - } - while (1) - lanes && root.shellSuspendCounter++; - resetContextDependencies(); - executionContext = prevExecutionContext; - ReactSharedInternals.H = prevDispatcher; - ReactSharedInternals.A = prevAsyncDispatcher; - null === workInProgress && (workInProgressRoot = null, workInProgressRootRenderLanes = 0, finishQueueingConcurrentUpdates()); - return memoizedUpdaters; - } - function workLoopSync() { - for(; null !== workInProgress;)performUnitOfWork(workInProgress); - } - function renderRootConcurrent(root, lanes) { - var prevExecutionContext = executionContext; - executionContext |= RenderContext; - var prevDispatcher = pushDispatcher(), prevAsyncDispatcher = pushAsyncDispatcher(); - if (workInProgressRoot !== root || workInProgressRootRenderLanes !== lanes) { - if (isDevToolsPresent) { - var memoizedUpdaters = root.memoizedUpdaters; - 0 < memoizedUpdaters.size && (restorePendingUpdaters(root, workInProgressRootRenderLanes), memoizedUpdaters.clear()); - movePendingFibersToMemoized(root, lanes); - } - workInProgressTransitions = null; - workInProgressRootRenderTargetTime = now$1() + RENDER_TIMEOUT_MS; - prepareFreshStack(root, lanes); - } else workInProgressRootIsPrerendering = checkIfRootIsPrerendering(root, lanes); - a: do try { - if (workInProgressSuspendedReason !== NotSuspended && null !== workInProgress) b: switch(lanes = workInProgress, memoizedUpdaters = workInProgressThrownValue, workInProgressSuspendedReason){ - case SuspendedOnError: - workInProgressSuspendedReason = NotSuspended; - workInProgressThrownValue = null; - throwAndUnwindWorkLoop(root, lanes, memoizedUpdaters, SuspendedOnError); - break; - case SuspendedOnData: - case SuspendedOnAction: - if (isThenableResolved(memoizedUpdaters)) { - workInProgressSuspendedReason = NotSuspended; - workInProgressThrownValue = null; - replaySuspendedUnitOfWork(lanes); - break; - } - lanes = function() { - workInProgressSuspendedReason !== SuspendedOnData && workInProgressSuspendedReason !== SuspendedOnAction || workInProgressRoot !== root || (workInProgressSuspendedReason = SuspendedAndReadyToContinue); - ensureRootIsScheduled(root); - }; - memoizedUpdaters.then(lanes, lanes); - break a; - case SuspendedOnImmediate: - workInProgressSuspendedReason = SuspendedAndReadyToContinue; - break a; - case SuspendedOnInstance: - workInProgressSuspendedReason = SuspendedOnInstanceAndReadyToContinue; - break a; - case SuspendedAndReadyToContinue: - isThenableResolved(memoizedUpdaters) ? (workInProgressSuspendedReason = NotSuspended, workInProgressThrownValue = null, replaySuspendedUnitOfWork(lanes)) : (workInProgressSuspendedReason = NotSuspended, workInProgressThrownValue = null, throwAndUnwindWorkLoop(root, lanes, memoizedUpdaters, SuspendedAndReadyToContinue)); - break; - case SuspendedOnInstanceAndReadyToContinue: - var resource = null; - switch(workInProgress.tag){ - case 26: - resource = workInProgress.memoizedState; - case 5: - case 27: - var hostFiber = workInProgress; - if (resource ? preloadResource(resource) : hostFiber.stateNode.complete) { - workInProgressSuspendedReason = NotSuspended; - workInProgressThrownValue = null; - var sibling = hostFiber.sibling; - if (null !== sibling) workInProgress = sibling; - else { - var returnFiber = hostFiber.return; - null !== returnFiber ? (workInProgress = returnFiber, completeUnitOfWork(returnFiber)) : workInProgress = null; - } - break b; - } - break; - default: - console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React."); - } - workInProgressSuspendedReason = NotSuspended; - workInProgressThrownValue = null; - throwAndUnwindWorkLoop(root, lanes, memoizedUpdaters, SuspendedOnInstanceAndReadyToContinue); - break; - case SuspendedOnDeprecatedThrowPromise: - workInProgressSuspendedReason = NotSuspended; - workInProgressThrownValue = null; - throwAndUnwindWorkLoop(root, lanes, memoizedUpdaters, SuspendedOnDeprecatedThrowPromise); - break; - case SuspendedOnHydration: - resetWorkInProgressStack(); - workInProgressRootExitStatus = RootSuspendedAtTheShell; - break a; - default: - throw Error("Unexpected SuspendedReason. This is a bug in React."); - } - null !== ReactSharedInternals.actQueue ? workLoopSync() : workLoopConcurrentByScheduler(); - break; - } catch (thrownValue$9) { - handleThrow(root, thrownValue$9); - } - while (1) - resetContextDependencies(); - ReactSharedInternals.H = prevDispatcher; - ReactSharedInternals.A = prevAsyncDispatcher; - executionContext = prevExecutionContext; - if (null !== workInProgress) return RootInProgress; - workInProgressRoot = null; - workInProgressRootRenderLanes = 0; - finishQueueingConcurrentUpdates(); - return workInProgressRootExitStatus; - } - function workLoopConcurrentByScheduler() { - for(; null !== workInProgress && !shouldYield();)performUnitOfWork(workInProgress); - } - function performUnitOfWork(unitOfWork) { - var current = unitOfWork.alternate; - (unitOfWork.mode & ProfileMode) !== NoMode ? (startProfilerTimer(unitOfWork), current = runWithFiberInDEV(unitOfWork, beginWork, current, unitOfWork, entangledRenderLanes), stopProfilerTimerIfRunningAndRecordDuration(unitOfWork)) : current = runWithFiberInDEV(unitOfWork, beginWork, current, unitOfWork, entangledRenderLanes); - unitOfWork.memoizedProps = unitOfWork.pendingProps; - null === current ? completeUnitOfWork(unitOfWork) : workInProgress = current; - } - function replaySuspendedUnitOfWork(unitOfWork) { - var next = runWithFiberInDEV(unitOfWork, replayBeginWork, unitOfWork); - unitOfWork.memoizedProps = unitOfWork.pendingProps; - null === next ? completeUnitOfWork(unitOfWork) : workInProgress = next; - } - function replayBeginWork(unitOfWork) { - var current = unitOfWork.alternate, isProfilingMode = (unitOfWork.mode & ProfileMode) !== NoMode; - isProfilingMode && startProfilerTimer(unitOfWork); - switch(unitOfWork.tag){ - case 15: - case 0: - current = replayFunctionComponent(current, unitOfWork, unitOfWork.pendingProps, unitOfWork.type, void 0, workInProgressRootRenderLanes); - break; - case 11: - current = replayFunctionComponent(current, unitOfWork, unitOfWork.pendingProps, unitOfWork.type.render, unitOfWork.ref, workInProgressRootRenderLanes); - break; - case 5: - resetHooksOnUnwind(unitOfWork); - default: - unwindInterruptedWork(current, unitOfWork), unitOfWork = workInProgress = resetWorkInProgress(unitOfWork, entangledRenderLanes), current = beginWork(current, unitOfWork, entangledRenderLanes); - } - isProfilingMode && stopProfilerTimerIfRunningAndRecordDuration(unitOfWork); - return current; - } - function throwAndUnwindWorkLoop(root, unitOfWork, thrownValue, suspendedReason) { - resetContextDependencies(); - resetHooksOnUnwind(unitOfWork); - thenableState$1 = null; - thenableIndexCounter$1 = 0; - var returnFiber = unitOfWork.return; - try { - if (throwException(root, returnFiber, unitOfWork, thrownValue, workInProgressRootRenderLanes)) { - workInProgressRootExitStatus = RootFatalErrored; - logUncaughtError(root, createCapturedValueAtFiber(thrownValue, root.current)); - workInProgress = null; - return; - } - } catch (error) { - if (null !== returnFiber) throw workInProgress = returnFiber, error; - workInProgressRootExitStatus = RootFatalErrored; - logUncaughtError(root, createCapturedValueAtFiber(thrownValue, root.current)); - workInProgress = null; - return; - } - if (unitOfWork.flags & 32768) { - if (isHydrating || suspendedReason === SuspendedOnError) root = !0; - else if (workInProgressRootIsPrerendering || 0 !== (workInProgressRootRenderLanes & 536870912)) root = !1; - else if (workInProgressRootDidSkipSuspendedSiblings = root = !0, suspendedReason === SuspendedOnData || suspendedReason === SuspendedOnAction || suspendedReason === SuspendedOnImmediate || suspendedReason === SuspendedOnDeprecatedThrowPromise) suspendedReason = suspenseHandlerStackCursor.current, null !== suspendedReason && 13 === suspendedReason.tag && (suspendedReason.flags |= 16384); - unwindUnitOfWork(unitOfWork, root); - } else completeUnitOfWork(unitOfWork); - } - function completeUnitOfWork(unitOfWork) { - var completedWork = unitOfWork; - do { - if (0 !== (completedWork.flags & 32768)) { - unwindUnitOfWork(completedWork, workInProgressRootDidSkipSuspendedSiblings); - return; - } - var current = completedWork.alternate; - unitOfWork = completedWork.return; - startProfilerTimer(completedWork); - current = runWithFiberInDEV(completedWork, completeWork, current, completedWork, entangledRenderLanes); - (completedWork.mode & ProfileMode) !== NoMode && stopProfilerTimerIfRunningAndRecordIncompleteDuration(completedWork); - if (null !== current) { - workInProgress = current; - return; - } - completedWork = completedWork.sibling; - if (null !== completedWork) { - workInProgress = completedWork; - return; - } - workInProgress = completedWork = unitOfWork; - }while (null !== completedWork) - workInProgressRootExitStatus === RootInProgress && (workInProgressRootExitStatus = RootCompleted); - } - function unwindUnitOfWork(unitOfWork, skipSiblings) { - do { - var next = unwindWork(unitOfWork.alternate, unitOfWork); - if (null !== next) { - next.flags &= 32767; - workInProgress = next; - return; - } - if ((unitOfWork.mode & ProfileMode) !== NoMode) { - stopProfilerTimerIfRunningAndRecordIncompleteDuration(unitOfWork); - next = unitOfWork.actualDuration; - for(var child = unitOfWork.child; null !== child;)next += child.actualDuration, child = child.sibling; - unitOfWork.actualDuration = next; - } - next = unitOfWork.return; - null !== next && (next.flags |= 32768, next.subtreeFlags = 0, next.deletions = null); - if (!skipSiblings && (unitOfWork = unitOfWork.sibling, null !== unitOfWork)) { - workInProgress = unitOfWork; - return; - } - workInProgress = unitOfWork = next; - }while (null !== unitOfWork) - workInProgressRootExitStatus = RootSuspendedAtTheShell; - workInProgress = null; - } - function commitRoot(root, finishedWork, lanes, recoverableErrors, transitions, didIncludeRenderPhaseUpdate, spawnedLane, updatedLanes, suspendedRetryLanes, exitStatus, suspendedState, suspendedCommitReason, completedRenderStartTime, completedRenderEndTime) { - root.cancelPendingCommit = null; - do flushPendingEffects(); - while (pendingEffectsStatus !== NO_PENDING_EFFECTS) - ReactStrictModeWarnings.flushLegacyContextWarning(); - ReactStrictModeWarnings.flushPendingUnsafeLifecycleWarnings(); - if ((executionContext & (RenderContext | CommitContext)) !== NoContext) throw Error("Should not already be working."); - setCurrentTrackFromLanes(lanes); - exitStatus === RootErrored ? logErroredRenderPhase(completedRenderStartTime, completedRenderEndTime, lanes, workInProgressUpdateTask) : null !== recoverableErrors ? logRecoveredRenderPhase(completedRenderStartTime, completedRenderEndTime, lanes, recoverableErrors, null !== finishedWork && null !== finishedWork.alternate && finishedWork.alternate.memoizedState.isDehydrated && 0 !== (finishedWork.flags & 256), workInProgressUpdateTask) : logRenderPhase(completedRenderStartTime, completedRenderEndTime, lanes, workInProgressUpdateTask); - if (null !== finishedWork) { - 0 === lanes && console.error("finishedLanes should not be empty during a commit. This is a bug in React."); - if (finishedWork === root.current) throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue."); - didIncludeRenderPhaseUpdate = finishedWork.lanes | finishedWork.childLanes; - didIncludeRenderPhaseUpdate |= concurrentlyUpdatedLanes; - markRootFinished(root, lanes, didIncludeRenderPhaseUpdate, spawnedLane, updatedLanes, suspendedRetryLanes); - root === workInProgressRoot && (workInProgress = workInProgressRoot = null, workInProgressRootRenderLanes = 0); - pendingFinishedWork = finishedWork; - pendingEffectsRoot = root; - pendingEffectsLanes = lanes; - pendingEffectsRemainingLanes = didIncludeRenderPhaseUpdate; - pendingPassiveTransitions = transitions; - pendingRecoverableErrors = recoverableErrors; - pendingEffectsRenderEndTime = completedRenderEndTime; - pendingSuspendedCommitReason = suspendedCommitReason; - pendingDelayedCommitReason = IMMEDIATE_COMMIT; - pendingViewTransitionEvents = pendingSuspendedViewTransitionReason = null; - (lanes & 335544064) === lanes ? (pendingTransitionTypes = claimQueuedTransitionTypes(root), recoverableErrors = 10262) : (pendingTransitionTypes = null, recoverableErrors = 10256); - 0 !== finishedWork.actualDuration || 0 !== (finishedWork.subtreeFlags & recoverableErrors) || 0 !== (finishedWork.flags & recoverableErrors) ? (root.callbackNode = null, root.callbackPriority = 0, scheduleCallback$1(NormalPriority$1, function() { - schedulerEvent = window.event; - pendingDelayedCommitReason === IMMEDIATE_COMMIT && (pendingDelayedCommitReason = DELAYED_PASSIVE_COMMIT); - flushPassiveEffects(); - return null; - })) : (root.callbackNode = null, root.callbackPriority = 0); - commitErrors = null; - commitStartTime = now(); - null !== suspendedCommitReason && logSuspendedCommitPhase(completedRenderEndTime, commitStartTime, suspendedCommitReason, workInProgressUpdateTask); - shouldStartViewTransition = !1; - suspendedCommitReason = 0 !== (finishedWork.flags & 13878); - if (0 !== (finishedWork.subtreeFlags & 13878) || suspendedCommitReason) { - suspendedCommitReason = ReactSharedInternals.T; - ReactSharedInternals.T = null; - completedRenderEndTime = ReactDOMSharedInternals.p; - ReactDOMSharedInternals.p = DiscreteEventPriority; - recoverableErrors = executionContext; - executionContext |= CommitContext; - try { - commitBeforeMutationEffects(root, finishedWork, lanes); - } finally{ - executionContext = recoverableErrors, ReactDOMSharedInternals.p = completedRenderEndTime, ReactSharedInternals.T = suspendedCommitReason; - } - } - finishedWork = shouldStartViewTransition; - pendingEffectsStatus = PENDING_MUTATION_PHASE; - finishedWork ? (animatingLanes |= lanes, animatingTask = null, pendingViewTransition = startViewTransition(suspendedState, root.containerInfo, pendingTransitionTypes, flushMutationEffects, flushLayoutEffects, flushAfterMutationEffects, flushSpawnedWork, flushPassiveEffects, reportViewTransitionError, suspendedViewTransition, finishedViewTransition.bind(null, lanes))) : (flushMutationEffects(), flushLayoutEffects(), flushSpawnedWork()); - } - } - function reportViewTransitionError(error) { - if (pendingEffectsStatus !== NO_PENDING_EFFECTS) { - var onRecoverableError = pendingEffectsRoot.onRecoverableError; - onRecoverableError(error, makeErrorInfo(null)); - } - } - function suspendedViewTransition(reason) { - commitEndTime = now(); - logCommitPhase(null === pendingSuspendedCommitReason ? pendingEffectsRenderEndTime : commitStartTime, commitEndTime, commitErrors, pendingDelayedCommitReason === ABORTED_VIEW_TRANSITION_COMMIT, workInProgressUpdateTask); - pendingSuspendedCommitReason = pendingSuspendedViewTransitionReason = reason; - } - function finishedViewTransition(lanes) { - if (0 !== (animatingLanes & lanes)) { - var task = animatingTask; - animatingLanes &= ~lanes; - animatingTask = null; - 0 !== (lanes & 4194048) && 0 === (workInProgressRootRenderLanes & 4194048) && 0 === (pendingEffectsLanes & 4194048) && (setCurrentTrackFromLanes(256), logAnimatingPhase(transitionClampTime, now$1(), task)); - 0 !== (lanes & 62914560) && 0 === (workInProgressRootRenderLanes & 62914560) && 0 === (pendingEffectsLanes & 62914560) && (setCurrentTrackFromLanes(4194304), logAnimatingPhase(retryClampTime, now$1(), task)); - 0 !== (lanes & 2080374784) && 0 === (workInProgressRootRenderLanes & 2080374784) && 0 === (pendingEffectsLanes & 2080374784) && (setCurrentTrackFromLanes(268435456), logAnimatingPhase(idleClampTime, now$1(), task)); - } - } - function flushAfterMutationEffects() { - pendingEffectsStatus === PENDING_AFTER_MUTATION_PHASE && (pendingEffectsStatus = NO_PENDING_EFFECTS, commitAfterMutationEffectsOnFiber(pendingFinishedWork, pendingEffectsRoot), pendingEffectsStatus = PENDING_SPAWNED_WORK); - } - function flushMutationEffects() { - if (pendingEffectsStatus === PENDING_MUTATION_PHASE) { - pendingEffectsStatus = NO_PENDING_EFFECTS; - var root = pendingEffectsRoot, finishedWork = pendingFinishedWork, lanes = pendingEffectsLanes, rootMutationHasEffect = 0 !== (finishedWork.flags & 13878); - if (0 !== (finishedWork.subtreeFlags & 13878) || rootMutationHasEffect) { - rootMutationHasEffect = ReactSharedInternals.T; - ReactSharedInternals.T = null; - var previousPriority = ReactDOMSharedInternals.p; - ReactDOMSharedInternals.p = DiscreteEventPriority; - var prevExecutionContext = executionContext; - executionContext |= CommitContext; - try { - inProgressLanes = lanes; - inProgressRoot = root; - inUpdateViewTransition = rootViewTransitionAffected = !1; - resetComponentEffectTimers(); - commitMutationEffectsOnFiber(finishedWork, root, lanes); - inProgressRoot = inProgressLanes = null; - lanes = selectionInformation; - var curFocusedElem = getActiveElementDeep(root.containerInfo), priorFocusedElem = lanes.focusedElem, priorSelectionRange = lanes.selectionRange; - if (curFocusedElem !== priorFocusedElem && priorFocusedElem && priorFocusedElem.ownerDocument && containsNode(priorFocusedElem.ownerDocument.documentElement, priorFocusedElem)) { - if (null !== priorSelectionRange && hasSelectionCapabilities(priorFocusedElem)) { - var start = priorSelectionRange.start, end = priorSelectionRange.end; - void 0 === end && (end = start); - if ("selectionStart" in priorFocusedElem) priorFocusedElem.selectionStart = start, priorFocusedElem.selectionEnd = Math.min(end, priorFocusedElem.value.length); - else { - var doc = priorFocusedElem.ownerDocument || document, win = doc && doc.defaultView || window; - if (win.getSelection) { - var selection = win.getSelection(), length = priorFocusedElem.textContent.length, start$jscomp$0 = Math.min(priorSelectionRange.start, length), end$jscomp$0 = void 0 === priorSelectionRange.end ? start$jscomp$0 : Math.min(priorSelectionRange.end, length); - !selection.extend && start$jscomp$0 > end$jscomp$0 && (curFocusedElem = end$jscomp$0, end$jscomp$0 = start$jscomp$0, start$jscomp$0 = curFocusedElem); - var startMarker = getNodeForCharacterOffset(priorFocusedElem, start$jscomp$0), endMarker = getNodeForCharacterOffset(priorFocusedElem, end$jscomp$0); - if (startMarker && endMarker && (1 !== selection.rangeCount || selection.anchorNode !== startMarker.node || selection.anchorOffset !== startMarker.offset || selection.focusNode !== endMarker.node || selection.focusOffset !== endMarker.offset)) { - var range = doc.createRange(); - range.setStart(startMarker.node, startMarker.offset); - selection.removeAllRanges(); - start$jscomp$0 > end$jscomp$0 ? (selection.addRange(range), selection.extend(endMarker.node, endMarker.offset)) : (range.setEnd(endMarker.node, endMarker.offset), selection.addRange(range)); - } - } - } - } - doc = []; - for(selection = priorFocusedElem; selection = selection.parentNode;)1 === selection.nodeType && doc.push({ - element: selection, - left: selection.scrollLeft, - top: selection.scrollTop - }); - "function" === typeof priorFocusedElem.focus && priorFocusedElem.focus(); - for(priorFocusedElem = 0; priorFocusedElem < doc.length; priorFocusedElem++){ - var info = doc[priorFocusedElem]; - info.element.scrollLeft = info.left; - info.element.scrollTop = info.top; - } - } - _enabled = !!eventsEnabled; - selectionInformation = eventsEnabled = null; - } finally{ - executionContext = prevExecutionContext, ReactDOMSharedInternals.p = previousPriority, ReactSharedInternals.T = rootMutationHasEffect; - } - } - root.current = finishedWork; - pendingEffectsStatus = PENDING_LAYOUT_PHASE; - } - } - function flushLayoutEffects() { - if (pendingEffectsStatus === PENDING_LAYOUT_PHASE) { - pendingEffectsStatus = NO_PENDING_EFFECTS; - var suspendedViewTransitionReason = pendingSuspendedViewTransitionReason; - if (null !== suspendedViewTransitionReason) { - commitStartTime = now(); - var startTime = commitEndTime, endTime = commitStartTime; - !supportsUserTiming || endTime <= startTime || (animatingTask ? animatingTask.run(console.timeStamp.bind(console, suspendedViewTransitionReason, startTime, endTime, currentTrack, LANES_TRACK_GROUP, "secondary-light")) : console.timeStamp(suspendedViewTransitionReason, startTime, endTime, currentTrack, LANES_TRACK_GROUP, "secondary-light")); - } - suspendedViewTransitionReason = pendingEffectsRoot; - startTime = pendingFinishedWork; - endTime = pendingEffectsLanes; - var rootHasLayoutEffect = 0 !== (startTime.flags & 8772); - if (0 !== (startTime.subtreeFlags & 8772) || rootHasLayoutEffect) { - rootHasLayoutEffect = ReactSharedInternals.T; - ReactSharedInternals.T = null; - var _previousPriority = ReactDOMSharedInternals.p; - ReactDOMSharedInternals.p = DiscreteEventPriority; - var _prevExecutionContext = executionContext; - executionContext |= CommitContext; - try { - inProgressLanes = endTime, inProgressRoot = suspendedViewTransitionReason, resetComponentEffectTimers(), commitLayoutEffectOnFiber(suspendedViewTransitionReason, startTime.alternate, startTime), inProgressRoot = inProgressLanes = null; - } finally{ - executionContext = _prevExecutionContext, ReactDOMSharedInternals.p = _previousPriority, ReactSharedInternals.T = rootHasLayoutEffect; - } - } - suspendedViewTransitionReason = pendingEffectsRenderEndTime; - startTime = pendingSuspendedCommitReason; - commitEndTime = now(); - logCommitPhase(null === startTime ? suspendedViewTransitionReason : commitStartTime, commitEndTime, commitErrors, pendingDelayedCommitReason === ABORTED_VIEW_TRANSITION_COMMIT, workInProgressUpdateTask); - pendingEffectsStatus = PENDING_AFTER_MUTATION_PHASE; - } - } - function flushSpawnedWork() { - if (pendingEffectsStatus === PENDING_SPAWNED_WORK || pendingEffectsStatus === PENDING_AFTER_MUTATION_PHASE) { - if (pendingEffectsStatus === PENDING_SPAWNED_WORK) { - var startViewTransitionStartTime = commitEndTime; - commitEndTime = now(); - var endTime = commitEndTime, abortedViewTransition = pendingDelayedCommitReason === ABORTED_VIEW_TRANSITION_COMMIT; - !supportsUserTiming || endTime <= startViewTransitionStartTime || (animatingTask ? animatingTask.run(console.timeStamp.bind(console, abortedViewTransition ? "Interrupted View Transition" : "Starting Animation", startViewTransitionStartTime, endTime, currentTrack, LANES_TRACK_GROUP, abortedViewTransition ? "error" : "secondary-light")) : console.timeStamp(abortedViewTransition ? "Interrupted View Transition" : "Starting Animation", startViewTransitionStartTime, endTime, currentTrack, LANES_TRACK_GROUP, abortedViewTransition ? " error" : "secondary-light")); - pendingDelayedCommitReason !== ABORTED_VIEW_TRANSITION_COMMIT && (pendingDelayedCommitReason = ANIMATION_STARTED_COMMIT); - } - pendingEffectsStatus = NO_PENDING_EFFECTS; - pendingViewTransition = null; - requestPaint(); - startViewTransitionStartTime = pendingEffectsRoot; - var finishedWork = pendingFinishedWork; - endTime = pendingEffectsLanes; - var recoverableErrors = pendingRecoverableErrors; - abortedViewTransition = (endTime & 335544064) === endTime ? 10262 : 10256; - (abortedViewTransition = 0 !== finishedWork.actualDuration || 0 !== (finishedWork.subtreeFlags & abortedViewTransition) || 0 !== (finishedWork.flags & abortedViewTransition)) ? pendingEffectsStatus = PENDING_PASSIVE_PHASE : (pendingEffectsStatus = NO_PENDING_EFFECTS, pendingFinishedWork = pendingEffectsRoot = null, releaseRootPooledCache(startViewTransitionStartTime, startViewTransitionStartTime.pendingLanes), nestedPassiveUpdateCount = 0, rootWithPassiveNestedUpdates = null); - var remainingLanes = startViewTransitionStartTime.pendingLanes; - 0 === remainingLanes && (legacyErrorBoundariesThatAlreadyFailed = null); - abortedViewTransition || commitDoubleInvokeEffectsInDEV(startViewTransitionStartTime); - remainingLanes = lanesToEventPriority(endTime); - finishedWork = finishedWork.stateNode; - if (injectedHook && "function" === typeof injectedHook.onCommitFiberRoot) try { - var didError = 128 === (finishedWork.current.flags & 128); - switch(remainingLanes){ - case DiscreteEventPriority: - var schedulerPriority = ImmediatePriority; - break; - case ContinuousEventPriority: - schedulerPriority = UserBlockingPriority; - break; - case DefaultEventPriority: - schedulerPriority = NormalPriority$1; - break; - case IdleEventPriority: - schedulerPriority = IdlePriority; - break; - default: - schedulerPriority = NormalPriority$1; - } - injectedHook.onCommitFiberRoot(rendererID, finishedWork, schedulerPriority, didError); - } catch (err) { - hasLoggedError || (hasLoggedError = !0, console.error("React instrumentation encountered an error: %o", err)); - } - isDevToolsPresent && startViewTransitionStartTime.memoizedUpdaters.clear(); - onCommitRoot(); - if (null !== recoverableErrors) { - didError = ReactSharedInternals.T; - schedulerPriority = ReactDOMSharedInternals.p; - ReactDOMSharedInternals.p = DiscreteEventPriority; - ReactSharedInternals.T = null; - try { - var onRecoverableError = startViewTransitionStartTime.onRecoverableError; - for(finishedWork = 0; finishedWork < recoverableErrors.length; finishedWork++){ - var recoverableError = recoverableErrors[finishedWork], errorInfo = makeErrorInfo(recoverableError.stack); - runWithFiberInDEV(recoverableError.source, onRecoverableError, recoverableError.value, errorInfo); - } - } finally{ - ReactSharedInternals.T = didError, ReactDOMSharedInternals.p = schedulerPriority; - } - } - onRecoverableError = pendingViewTransitionEvents; - recoverableError = pendingTransitionTypes; - pendingTransitionTypes = null; - if (null !== onRecoverableError) for(pendingViewTransitionEvents = null, null === recoverableError && (recoverableError = []), errorInfo = 0; errorInfo < onRecoverableError.length; errorInfo++)(0, onRecoverableError[errorInfo])(recoverableError); - 0 !== (pendingEffectsLanes & 3) && flushPendingEffects(); - ensureRootIsScheduled(startViewTransitionStartTime); - remainingLanes = startViewTransitionStartTime.pendingLanes; - 0 !== (endTime & 261930) && 0 !== (remainingLanes & 42) ? (nestedUpdateScheduled = !0, startViewTransitionStartTime === rootWithNestedUpdates ? nestedUpdateCount++ : (nestedUpdateCount = 0, rootWithNestedUpdates = startViewTransitionStartTime)) : nestedUpdateCount = 0; - abortedViewTransition || finalizeRender(endTime, commitEndTime); - flushSyncWorkAcrossRoots_impl(0, !1); - } - } - function makeErrorInfo(componentStack) { - componentStack = { - componentStack: componentStack - }; - Object.defineProperty(componentStack, "digest", { - get: function() { - console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.'); - } - }); - return componentStack; - } - function releaseRootPooledCache(root, remainingLanes) { - 0 === (root.pooledCacheLanes &= remainingLanes) && (remainingLanes = root.pooledCache, null != remainingLanes && (root.pooledCache = null, releaseCache(remainingLanes))); - } - function flushPendingEffects() { - null !== pendingViewTransition && (pendingViewTransition.skipTransition(), didWarnAboutInterruptedViewTransitions || (didWarnAboutInterruptedViewTransitions = !0, console.warn("A flushSync update cancelled a View Transition because it was called while the View Transition was still preparing. To preserve the synchronous semantics, React had to skip the View Transition. If you can, try to avoid flushSync() in a scenario that's likely to interfere.")), pendingViewTransition = null, pendingDelayedCommitReason = ABORTED_VIEW_TRANSITION_COMMIT); - flushMutationEffects(); - flushLayoutEffects(); - flushSpawnedWork(); - return flushPassiveEffects(); - } - function flushPassiveEffects() { - if (pendingEffectsStatus !== PENDING_PASSIVE_PHASE) return !1; - var root = pendingEffectsRoot, remainingLanes = pendingEffectsRemainingLanes; - pendingEffectsRemainingLanes = 0; - var renderPriority = lanesToEventPriority(pendingEffectsLanes), priority = 0 === DefaultEventPriority || DefaultEventPriority > renderPriority ? DefaultEventPriority : renderPriority; - renderPriority = ReactSharedInternals.T; - var previousPriority = ReactDOMSharedInternals.p; - try { - ReactDOMSharedInternals.p = priority; - ReactSharedInternals.T = null; - var transitions = pendingPassiveTransitions; - pendingPassiveTransitions = null; - priority = pendingEffectsRoot; - var lanes = pendingEffectsLanes; - pendingEffectsStatus = NO_PENDING_EFFECTS; - pendingFinishedWork = pendingEffectsRoot = null; - pendingEffectsLanes = 0; - if ((executionContext & (RenderContext | CommitContext)) !== NoContext) throw Error("Cannot flush passive effects while already rendering."); - setCurrentTrackFromLanes(lanes); - isFlushingPassiveEffects = !0; - didScheduleUpdateDuringPassiveEffects = !1; - var passiveEffectStartTime = 0; - commitErrors = null; - passiveEffectStartTime = now$1(); - if (pendingDelayedCommitReason === ANIMATION_STARTED_COMMIT) logAnimatingPhase(commitEndTime, passiveEffectStartTime, animatingTask); - else { - var startTime = commitEndTime, endTime = passiveEffectStartTime, delayedUntilPaint = pendingDelayedCommitReason === DELAYED_PASSIVE_COMMIT; - !supportsUserTiming || endTime <= startTime || (workInProgressUpdateTask ? workInProgressUpdateTask.run(console.timeStamp.bind(console, delayedUntilPaint ? "Waiting for Paint" : "Waiting", startTime, endTime, currentTrack, LANES_TRACK_GROUP, "secondary-light")) : console.timeStamp(delayedUntilPaint ? "Waiting for Paint" : "Waiting", startTime, endTime, currentTrack, LANES_TRACK_GROUP, "secondary-light")); - } - startTime = executionContext; - executionContext |= CommitContext; - var finishedWork = priority.current; - resetComponentEffectTimers(); - commitPassiveUnmountOnFiber(finishedWork); - var finishedWork$jscomp$0 = priority.current; - finishedWork = pendingEffectsRenderEndTime; - resetComponentEffectTimers(); - commitPassiveMountOnFiber(priority, finishedWork$jscomp$0, lanes, transitions, finishedWork); - commitDoubleInvokeEffectsInDEV(priority); - executionContext = startTime; - var passiveEffectsEndTime = now$1(); - finishedWork$jscomp$0 = passiveEffectStartTime; - finishedWork = workInProgressUpdateTask; - null !== commitErrors ? logCommitErrored(finishedWork$jscomp$0, passiveEffectsEndTime, commitErrors, !0, finishedWork) : !supportsUserTiming || passiveEffectsEndTime <= finishedWork$jscomp$0 || (finishedWork ? finishedWork.run(console.timeStamp.bind(console, "Remaining Effects", finishedWork$jscomp$0, passiveEffectsEndTime, currentTrack, LANES_TRACK_GROUP, "secondary-dark")) : console.timeStamp("Remaining Effects", finishedWork$jscomp$0, passiveEffectsEndTime, currentTrack, LANES_TRACK_GROUP, "secondary-dark")); - finalizeRender(lanes, passiveEffectsEndTime); - flushSyncWorkAcrossRoots_impl(0, !1); - didScheduleUpdateDuringPassiveEffects ? priority === rootWithPassiveNestedUpdates ? nestedPassiveUpdateCount++ : (nestedPassiveUpdateCount = 0, rootWithPassiveNestedUpdates = priority) : nestedPassiveUpdateCount = 0; - didScheduleUpdateDuringPassiveEffects = isFlushingPassiveEffects = !1; - if (injectedHook && "function" === typeof injectedHook.onPostCommitFiberRoot) try { - injectedHook.onPostCommitFiberRoot(rendererID, priority); - } catch (err) { - hasLoggedError || (hasLoggedError = !0, console.error("React instrumentation encountered an error: %o", err)); - } - var stateNode = priority.current.stateNode; - stateNode.effectDuration = 0; - stateNode.passiveEffectDuration = 0; - return !0; - } finally{ - ReactDOMSharedInternals.p = previousPriority, ReactSharedInternals.T = renderPriority, releaseRootPooledCache(root, remainingLanes); - } - } - function captureCommitPhaseErrorOnRoot(rootFiber, sourceFiber, error) { - sourceFiber = createCapturedValueAtFiber(error, sourceFiber); - recordEffectError(sourceFiber); - sourceFiber = createRootErrorUpdate(rootFiber.stateNode, sourceFiber, 2); - rootFiber = enqueueUpdate(rootFiber, sourceFiber, 2); - null !== rootFiber && (markRootUpdated$1(rootFiber, 2), ensureRootIsScheduled(rootFiber)); - } - function captureCommitPhaseError(sourceFiber, nearestMountedAncestor, error) { - isRunningInsertionEffect = !1; - if (3 === sourceFiber.tag) captureCommitPhaseErrorOnRoot(sourceFiber, sourceFiber, error); - else { - for(; null !== nearestMountedAncestor;){ - if (3 === nearestMountedAncestor.tag) { - captureCommitPhaseErrorOnRoot(nearestMountedAncestor, sourceFiber, error); - return; - } - if (1 === nearestMountedAncestor.tag) { - var instance = nearestMountedAncestor.stateNode; - if ("function" === typeof nearestMountedAncestor.type.getDerivedStateFromError || "function" === typeof instance.componentDidCatch && (null === legacyErrorBoundariesThatAlreadyFailed || !legacyErrorBoundariesThatAlreadyFailed.has(instance))) { - sourceFiber = createCapturedValueAtFiber(error, sourceFiber); - recordEffectError(sourceFiber); - error = createClassErrorUpdate(2); - instance = enqueueUpdate(nearestMountedAncestor, error, 2); - null !== instance && (initializeClassErrorUpdate(error, instance, nearestMountedAncestor, sourceFiber), markRootUpdated$1(instance, 2), ensureRootIsScheduled(instance)); - return; - } - } - nearestMountedAncestor = nearestMountedAncestor.return; - } - console.error("Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.\n\nError message:\n\n%s", error); - } - } - function attachPingListener(root, wakeable, lanes) { - var pingCache = root.pingCache; - if (null === pingCache) { - pingCache = root.pingCache = new PossiblyWeakMap(); - var threadIDs = new Set(); - pingCache.set(wakeable, threadIDs); - } else threadIDs = pingCache.get(wakeable), void 0 === threadIDs && (threadIDs = new Set(), pingCache.set(wakeable, threadIDs)); - threadIDs.has(lanes) || (workInProgressRootDidAttachPingListener = !0, threadIDs.add(lanes), pingCache = pingSuspendedRoot.bind(null, root, wakeable, lanes), isDevToolsPresent && restorePendingUpdaters(root, lanes), wakeable.then(pingCache, pingCache)); - } - function pingSuspendedRoot(root, wakeable, pingedLanes) { - var pingCache = root.pingCache; - null !== pingCache && pingCache.delete(wakeable); - root.pingedLanes |= root.suspendedLanes & pingedLanes; - root.warmLanes &= ~pingedLanes; - 0 !== (pingedLanes & 127) ? 0 > blockingUpdateTime && (blockingClampTime = blockingUpdateTime = now(), blockingUpdateTask = createTask("Promise Resolved"), blockingUpdateType = PINGED_UPDATE) : 0 !== (pingedLanes & 4194048) && 0 > transitionUpdateTime && (transitionClampTime = transitionUpdateTime = now(), transitionUpdateTask = createTask("Promise Resolved"), transitionUpdateType = PINGED_UPDATE); - isConcurrentActEnvironment() && null === ReactSharedInternals.actQueue && console.error("A suspended resource finished loading inside a test, but the event was not wrapped in act(...).\n\nWhen testing, code that resolves suspended data should be wrapped into act(...):\n\nact(() => {\n /* finish loading suspended data */\n});\n/* assert on the output */\n\nThis ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act"); - workInProgressRoot === root && (workInProgressRootRenderLanes & pingedLanes) === pingedLanes && (workInProgressRootExitStatus === RootSuspendedWithDelay || workInProgressRootExitStatus === RootSuspended && (workInProgressRootRenderLanes & 62914560) === workInProgressRootRenderLanes && now$1() - globalMostRecentFallbackTime < FALLBACK_THROTTLE_MS ? (executionContext & RenderContext) === NoContext && prepareFreshStack(root, 0) : workInProgressRootPingedLanes |= pingedLanes, workInProgressSuspendedRetryLanes === workInProgressRootRenderLanes && (workInProgressSuspendedRetryLanes = 0)); - ensureRootIsScheduled(root); - } - function retryTimedOutBoundary(boundaryFiber, retryLane) { - 0 === retryLane && (retryLane = claimNextRetryLane()); - boundaryFiber = enqueueConcurrentRenderForLane(boundaryFiber, retryLane); - null !== boundaryFiber && (markRootUpdated$1(boundaryFiber, retryLane), ensureRootIsScheduled(boundaryFiber)); - } - function retryDehydratedSuspenseBoundary(boundaryFiber) { - var suspenseState = boundaryFiber.memoizedState, retryLane = 0; - null !== suspenseState && (retryLane = suspenseState.retryLane); - retryTimedOutBoundary(boundaryFiber, retryLane); - } - function resolveRetryWakeable(boundaryFiber, wakeable) { - var retryLane = 0; - switch(boundaryFiber.tag){ - case 31: - case 13: - var retryCache = boundaryFiber.stateNode; - var suspenseState = boundaryFiber.memoizedState; - null !== suspenseState && (retryLane = suspenseState.retryLane); - break; - case 19: - retryCache = boundaryFiber.stateNode; - break; - case 22: - retryCache = boundaryFiber.stateNode._retryCache; - break; - default: - throw Error("Pinged unknown suspense boundary type. This is probably a bug in React."); - } - null !== retryCache && retryCache.delete(wakeable); - retryTimedOutBoundary(boundaryFiber, retryLane); - } - function recursivelyTraverseAndDoubleInvokeEffectsInDEV(root$jscomp$0, parentFiber, isInStrictMode) { - if (0 !== (parentFiber.subtreeFlags & 134225920)) for(parentFiber = parentFiber.child; null !== parentFiber;){ - var root = root$jscomp$0, fiber = parentFiber, isStrictModeFiber = fiber.type === REACT_STRICT_MODE_TYPE; - isStrictModeFiber = isInStrictMode || isStrictModeFiber; - 22 !== fiber.tag ? fiber.flags & 134217728 ? isStrictModeFiber && runWithFiberInDEV(fiber, doubleInvokeEffectsOnFiber, root, fiber) : recursivelyTraverseAndDoubleInvokeEffectsInDEV(root, fiber, isStrictModeFiber) : null === fiber.memoizedState && (isStrictModeFiber && fiber.flags & 8192 ? runWithFiberInDEV(fiber, doubleInvokeEffectsOnFiber, root, fiber) : fiber.subtreeFlags & 134217728 && runWithFiberInDEV(fiber, recursivelyTraverseAndDoubleInvokeEffectsInDEV, root, fiber, isStrictModeFiber)); - parentFiber = parentFiber.sibling; - } - } - function doubleInvokeEffectsOnFiber(root, fiber) { - setIsStrictModeForDevtools(!0); - try { - disappearLayoutEffects(fiber), disconnectPassiveEffect(fiber), reappearLayoutEffects(root, fiber.alternate, fiber, !1), reconnectPassiveEffects(root, fiber, 0, null, !1, 0); - } finally{ - setIsStrictModeForDevtools(!1); - } - } - function commitDoubleInvokeEffectsInDEV(root) { - var doubleInvokeEffects = !0; - root.current.mode & (StrictLegacyMode | StrictEffectsMode) || (doubleInvokeEffects = !1); - recursivelyTraverseAndDoubleInvokeEffectsInDEV(root, root.current, doubleInvokeEffects); - } - function warnAboutUpdateOnNotYetMountedFiberInDEV(fiber) { - if ((executionContext & RenderContext) === NoContext) { - var tag = fiber.tag; - if (3 === tag || 1 === tag || 0 === tag || 11 === tag || 14 === tag || 15 === tag) { - tag = getComponentNameFromFiber(fiber) || "ReactComponent"; - if (null !== didWarnStateUpdateForNotYetMountedComponent) { - if (didWarnStateUpdateForNotYetMountedComponent.has(tag)) return; - didWarnStateUpdateForNotYetMountedComponent.add(tag); - } else didWarnStateUpdateForNotYetMountedComponent = new Set([ - tag - ]); - runWithFiberInDEV(fiber, function() { - console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously tries to update the component. Move this work to useEffect instead."); - }); - } - } - } - function restorePendingUpdaters(root, lanes) { - isDevToolsPresent && root.memoizedUpdaters.forEach(function(schedulingFiber) { - addFiberToLanesMap(root, schedulingFiber, lanes); - }); - } - function scheduleCallback$1(priorityLevel, callback) { - var actQueue = ReactSharedInternals.actQueue; - return null !== actQueue ? (actQueue.push(callback), fakeActCallbackNode$1) : scheduleCallback$3(priorityLevel, callback); - } - function warnIfUpdatesNotWrappedWithActDEV(fiber) { - isConcurrentActEnvironment() && null === ReactSharedInternals.actQueue && runWithFiberInDEV(fiber, function() { - console.error("An update to %s inside a test was not wrapped in act(...).\n\nWhen testing, code that causes React state updates should be wrapped into act(...):\n\nact(() => {\n /* fire events that update state */\n});\n/* assert on the output */\n\nThis ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act", getComponentNameFromFiber(fiber)); - }); - } - function ensureRootIsScheduled(root) { - root !== lastScheduledRoot && null === root.next && (null === lastScheduledRoot ? firstScheduledRoot = lastScheduledRoot = root : lastScheduledRoot = lastScheduledRoot.next = root); - mightHavePendingSyncWork = !0; - null !== ReactSharedInternals.actQueue ? didScheduleMicrotask_act || (didScheduleMicrotask_act = !0, scheduleImmediateRootScheduleTask()) : didScheduleMicrotask || (didScheduleMicrotask = !0, scheduleImmediateRootScheduleTask()); - } - function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) { - if (!isFlushingWork && mightHavePendingSyncWork) { - isFlushingWork = !0; - do { - var didPerformSomeWork = !1; - for(var root = firstScheduledRoot; null !== root;){ - if (!onlyLegacy) if (0 !== syncTransitionLanes) { - var pendingLanes = root.pendingLanes; - if (0 === pendingLanes) var nextLanes = 0; - else { - var suspendedLanes = root.suspendedLanes, pingedLanes = root.pingedLanes; - nextLanes = (1 << 31 - clz32(42 | syncTransitionLanes) + 1) - 1; - nextLanes &= pendingLanes & ~(suspendedLanes & ~pingedLanes); - nextLanes = nextLanes & 201326741 ? nextLanes & 201326741 | 1 : nextLanes ? nextLanes | 2 : 0; - } - 0 !== nextLanes && (didPerformSomeWork = !0, performSyncWorkOnRoot(root, nextLanes)); - } else nextLanes = workInProgressRootRenderLanes, nextLanes = getNextLanes(root, root === workInProgressRoot ? nextLanes : 0, null !== root.cancelPendingCommit || root.timeoutHandle !== noTimeout), 0 === (nextLanes & 3) || checkIfRootIsPrerendering(root, nextLanes) || (didPerformSomeWork = !0, performSyncWorkOnRoot(root, nextLanes)); - root = root.next; - } - }while (didPerformSomeWork) - isFlushingWork = !1; - } - } - function processRootScheduleInImmediateTask() { - schedulerEvent = window.event; - processRootScheduleInMicrotask(); - } - function processRootScheduleInMicrotask() { - mightHavePendingSyncWork = didScheduleMicrotask_act = didScheduleMicrotask = !1; - var syncTransitionLanes = 0; - 0 !== currentEventTransitionLane && shouldAttemptEagerTransition() && (syncTransitionLanes = currentEventTransitionLane); - for(var currentTime = now$1(), prev = null, root = firstScheduledRoot; null !== root;){ - var next = root.next, nextLanes = scheduleTaskForRootDuringMicrotask(root, currentTime); - if (0 === nextLanes) root.next = null, null === prev ? firstScheduledRoot = next : prev.next = next, null === next && (lastScheduledRoot = prev); - else if (prev = root, 0 !== syncTransitionLanes || 0 !== (nextLanes & 3)) mightHavePendingSyncWork = !0; - root = next; - } - pendingEffectsStatus !== NO_PENDING_EFFECTS && pendingEffectsStatus !== PENDING_PASSIVE_PHASE || flushSyncWorkAcrossRoots_impl(syncTransitionLanes, !1); - 0 !== currentEventTransitionLane && (currentEventTransitionLane = 0); - } - function scheduleTaskForRootDuringMicrotask(root, currentTime) { - for(var suspendedLanes = root.suspendedLanes, pingedLanes = root.pingedLanes, expirationTimes = root.expirationTimes, lanes = root.pendingLanes & -62914561; 0 < lanes;){ - var index = 31 - clz32(lanes), lane = 1 << index, expirationTime = expirationTimes[index]; - if (-1 === expirationTime) { - if (0 === (lane & suspendedLanes) || 0 !== (lane & pingedLanes)) expirationTimes[index] = computeExpirationTime(lane, currentTime); - } else expirationTime <= currentTime && (root.expiredLanes |= lane); - lanes &= ~lane; - } - currentTime = workInProgressRoot; - suspendedLanes = workInProgressRootRenderLanes; - suspendedLanes = getNextLanes(root, root === currentTime ? suspendedLanes : 0, null !== root.cancelPendingCommit || root.timeoutHandle !== noTimeout); - pingedLanes = root.callbackNode; - if (0 === suspendedLanes || root === currentTime && (workInProgressSuspendedReason === SuspendedOnData || workInProgressSuspendedReason === SuspendedOnAction) || null !== root.cancelPendingCommit) return null !== pingedLanes && cancelCallback(pingedLanes), root.callbackNode = null, root.callbackPriority = 0; - if (0 === (suspendedLanes & 3) || checkIfRootIsPrerendering(root, suspendedLanes)) { - currentTime = suspendedLanes & -suspendedLanes; - if (currentTime !== root.callbackPriority || null !== ReactSharedInternals.actQueue && pingedLanes !== fakeActCallbackNode) cancelCallback(pingedLanes); - else return currentTime; - switch(lanesToEventPriority(suspendedLanes)){ - case DiscreteEventPriority: - case ContinuousEventPriority: - suspendedLanes = UserBlockingPriority; - break; - case DefaultEventPriority: - suspendedLanes = NormalPriority$1; - break; - case IdleEventPriority: - suspendedLanes = IdlePriority; - break; - default: - suspendedLanes = NormalPriority$1; - } - pingedLanes = performWorkOnRootViaSchedulerTask.bind(null, root); - null !== ReactSharedInternals.actQueue ? (ReactSharedInternals.actQueue.push(pingedLanes), suspendedLanes = fakeActCallbackNode) : suspendedLanes = scheduleCallback$3(suspendedLanes, pingedLanes); - root.callbackPriority = currentTime; - root.callbackNode = suspendedLanes; - return currentTime; - } - null !== pingedLanes && cancelCallback(pingedLanes); - root.callbackPriority = 2; - root.callbackNode = null; - return 2; - } - function performWorkOnRootViaSchedulerTask(root, didTimeout) { - nestedUpdateScheduled = currentUpdateIsNested = !1; - schedulerEvent = window.event; - if (pendingEffectsStatus !== NO_PENDING_EFFECTS && pendingEffectsStatus !== PENDING_PASSIVE_PHASE) return root.callbackNode = null, root.callbackPriority = 0, null; - var originalCallbackNode = root.callbackNode; - pendingDelayedCommitReason === IMMEDIATE_COMMIT && (pendingDelayedCommitReason = DELAYED_PASSIVE_COMMIT); - if (flushPendingEffects() && root.callbackNode !== originalCallbackNode) return null; - var workInProgressRootRenderLanes$jscomp$0 = workInProgressRootRenderLanes; - workInProgressRootRenderLanes$jscomp$0 = getNextLanes(root, root === workInProgressRoot ? workInProgressRootRenderLanes$jscomp$0 : 0, null !== root.cancelPendingCommit || root.timeoutHandle !== noTimeout); - if (0 === workInProgressRootRenderLanes$jscomp$0) return null; - performWorkOnRoot(root, workInProgressRootRenderLanes$jscomp$0, didTimeout); - scheduleTaskForRootDuringMicrotask(root, now$1()); - return null != root.callbackNode && root.callbackNode === originalCallbackNode ? performWorkOnRootViaSchedulerTask.bind(null, root) : null; - } - function performSyncWorkOnRoot(root, lanes) { - if (flushPendingEffects()) return null; - currentUpdateIsNested = nestedUpdateScheduled; - nestedUpdateScheduled = !1; - performWorkOnRoot(root, lanes, !0); - } - function cancelCallback(callbackNode) { - callbackNode !== fakeActCallbackNode && null !== callbackNode && cancelCallback$1(callbackNode); - } - function scheduleImmediateRootScheduleTask() { - null !== ReactSharedInternals.actQueue && ReactSharedInternals.actQueue.push(function() { - processRootScheduleInMicrotask(); - return null; - }); - scheduleMicrotask(function() { - (executionContext & (RenderContext | CommitContext)) !== NoContext ? scheduleCallback$3(ImmediatePriority, processRootScheduleInImmediateTask) : processRootScheduleInMicrotask(); - }); - } - function requestTransitionLane() { - if (0 === currentEventTransitionLane) { - var actionScopeLane = currentEntangledLane; - 0 === actionScopeLane && (actionScopeLane = nextTransitionUpdateLane, nextTransitionUpdateLane <<= 1, 0 === (nextTransitionUpdateLane & 261888) && (nextTransitionUpdateLane = 256)); - currentEventTransitionLane = actionScopeLane; - } - return currentEventTransitionLane; - } - function coerceFormActionProp(actionProp) { - if (null == actionProp || "symbol" === typeof actionProp || "boolean" === typeof actionProp) return null; - if ("function" === typeof actionProp) return actionProp; - checkAttributeStringCoercion(actionProp, "action"); - return sanitizeURL("" + actionProp); - } - function createFormDataWithSubmitter(form, submitter) { - var temp = submitter.ownerDocument.createElement("input"); - temp.name = submitter.name; - temp.value = submitter.value; - form.id && temp.setAttribute("form", form.id); - submitter.parentNode.insertBefore(temp, submitter); - form = new FormData(form); - temp.parentNode.removeChild(temp); - return form; - } - function extractEvents$1(dispatchQueue, domEventName, maybeTargetInst, nativeEvent, nativeEventTarget) { - if ("submit" === domEventName && maybeTargetInst && maybeTargetInst.stateNode === nativeEventTarget) { - var action = coerceFormActionProp((nativeEventTarget[internalPropsKey] || null).action), submitter = nativeEvent.submitter; - submitter && (domEventName = (domEventName = submitter[internalPropsKey] || null) ? coerceFormActionProp(domEventName.formAction) : submitter.getAttribute("formAction"), null !== domEventName && (action = domEventName, submitter = null)); - var event = new SyntheticEvent("action", "action", null, nativeEvent, nativeEventTarget); - dispatchQueue.push({ - event: event, - listeners: [ - { - instance: null, - listener: function() { - if (nativeEvent.defaultPrevented) { - if (0 !== currentEventTransitionLane) { - var formData = submitter ? createFormDataWithSubmitter(nativeEventTarget, submitter) : new FormData(nativeEventTarget), pendingState = { - pending: !0, - data: formData, - method: nativeEventTarget.method, - action: action - }; - Object.freeze(pendingState); - startHostTransition(maybeTargetInst, pendingState, null, formData); - } - } else "function" === typeof action && (event.preventDefault(), formData = submitter ? createFormDataWithSubmitter(nativeEventTarget, submitter) : new FormData(nativeEventTarget), pendingState = { - pending: !0, - data: formData, - method: nativeEventTarget.method, - action: action - }, Object.freeze(pendingState), startHostTransition(maybeTargetInst, pendingState, action, formData)); - }, - currentTarget: nativeEventTarget - } - ] - }); - } - } - function executeDispatch(event, listener, currentTarget) { - event.currentTarget = currentTarget; - try { - listener(event); - } catch (error) { - reportGlobalError(error); - } - event.currentTarget = null; - } - function processDispatchQueue(dispatchQueue, eventSystemFlags) { - eventSystemFlags = 0 !== (eventSystemFlags & 4); - for(var i = 0; i < dispatchQueue.length; i++){ - var _dispatchQueue$i = dispatchQueue[i]; - a: { - var previousInstance = void 0, event = _dispatchQueue$i.event; - _dispatchQueue$i = _dispatchQueue$i.listeners; - if (eventSystemFlags) for(var i$jscomp$0 = _dispatchQueue$i.length - 1; 0 <= i$jscomp$0; i$jscomp$0--){ - var _dispatchListeners$i = _dispatchQueue$i[i$jscomp$0], instance = _dispatchListeners$i.instance, currentTarget = _dispatchListeners$i.currentTarget; - _dispatchListeners$i = _dispatchListeners$i.listener; - if (instance !== previousInstance && event.isPropagationStopped()) break a; - null !== instance ? runWithFiberInDEV(instance, executeDispatch, event, _dispatchListeners$i, currentTarget) : executeDispatch(event, _dispatchListeners$i, currentTarget); - previousInstance = instance; - } - else for(i$jscomp$0 = 0; i$jscomp$0 < _dispatchQueue$i.length; i$jscomp$0++){ - _dispatchListeners$i = _dispatchQueue$i[i$jscomp$0]; - instance = _dispatchListeners$i.instance; - currentTarget = _dispatchListeners$i.currentTarget; - _dispatchListeners$i = _dispatchListeners$i.listener; - if (instance !== previousInstance && event.isPropagationStopped()) break a; - null !== instance ? runWithFiberInDEV(instance, executeDispatch, event, _dispatchListeners$i, currentTarget) : executeDispatch(event, _dispatchListeners$i, currentTarget); - previousInstance = instance; - } - } - } - } - function listenToNonDelegatedEvent(domEventName, targetElement) { - nonDelegatedEvents.has(domEventName) || console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.', domEventName); - var listenerSet = targetElement[internalEventHandlersKey]; - void 0 === listenerSet && (listenerSet = targetElement[internalEventHandlersKey] = new Set()); - var listenerSetKey = domEventName + "__bubble"; - listenerSet.has(listenerSetKey) || (addTrappedEventListener(targetElement, domEventName, 2, !1), listenerSet.add(listenerSetKey)); - } - function listenToNativeEvent(domEventName, isCapturePhaseListener, target) { - nonDelegatedEvents.has(domEventName) && !isCapturePhaseListener && console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.', domEventName); - var eventSystemFlags = 0; - isCapturePhaseListener && (eventSystemFlags |= 4); - addTrappedEventListener(target, domEventName, eventSystemFlags, isCapturePhaseListener); - } - function listenToAllSupportedEvents(rootContainerElement) { - if (!rootContainerElement[listeningMarker]) { - rootContainerElement[listeningMarker] = !0; - allNativeEvents.forEach(function(domEventName) { - "selectionchange" !== domEventName && (nonDelegatedEvents.has(domEventName) || listenToNativeEvent(domEventName, !1, rootContainerElement), listenToNativeEvent(domEventName, !0, rootContainerElement)); - }); - var ownerDocument = 9 === rootContainerElement.nodeType ? rootContainerElement : rootContainerElement.ownerDocument; - null === ownerDocument || ownerDocument[listeningMarker] || (ownerDocument[listeningMarker] = !0, listenToNativeEvent("selectionchange", !1, ownerDocument)); - } - } - function addTrappedEventListener(targetContainer, domEventName, eventSystemFlags, isCapturePhaseListener) { - switch(getEventPriority(domEventName)){ - case DiscreteEventPriority: - var listenerWrapper = dispatchDiscreteEvent; - break; - case ContinuousEventPriority: - listenerWrapper = dispatchContinuousEvent; - break; - default: - listenerWrapper = dispatchEvent; - } - eventSystemFlags = listenerWrapper.bind(null, domEventName, eventSystemFlags, targetContainer); - listenerWrapper = void 0; - !passiveBrowserEventsSupported || "touchstart" !== domEventName && "touchmove" !== domEventName && "wheel" !== domEventName || (listenerWrapper = !0); - isCapturePhaseListener ? void 0 !== listenerWrapper ? targetContainer.addEventListener(domEventName, eventSystemFlags, { - capture: !0, - passive: listenerWrapper - }) : targetContainer.addEventListener(domEventName, eventSystemFlags, !0) : void 0 !== listenerWrapper ? targetContainer.addEventListener(domEventName, eventSystemFlags, { - passive: listenerWrapper - }) : targetContainer.addEventListener(domEventName, eventSystemFlags, !1); - } - function dispatchEventForPluginEventSystem(domEventName, eventSystemFlags, nativeEvent, targetInst$jscomp$0, targetContainer) { - var ancestorInst = targetInst$jscomp$0; - if (0 === (eventSystemFlags & 1) && 0 === (eventSystemFlags & 2) && null !== targetInst$jscomp$0) a: for(;;){ - if (null === targetInst$jscomp$0) return; - var nodeTag = targetInst$jscomp$0.tag; - if (3 === nodeTag || 4 === nodeTag) { - var container = targetInst$jscomp$0.stateNode.containerInfo; - if (container === targetContainer) break; - if (4 === nodeTag) for(nodeTag = targetInst$jscomp$0.return; null !== nodeTag;){ - var grandTag = nodeTag.tag; - if ((3 === grandTag || 4 === grandTag) && nodeTag.stateNode.containerInfo === targetContainer) return; - nodeTag = nodeTag.return; - } - for(; null !== container;){ - nodeTag = getClosestInstanceFromNode(container); - if (null === nodeTag) return; - grandTag = nodeTag.tag; - if (5 === grandTag || 6 === grandTag || 26 === grandTag || 27 === grandTag) { - targetInst$jscomp$0 = ancestorInst = nodeTag; - continue a; - } - container = container.parentNode; - } - } - targetInst$jscomp$0 = targetInst$jscomp$0.return; - } - batchedUpdates$1(function() { - var targetInst = ancestorInst, nativeEventTarget = getEventTarget(nativeEvent), dispatchQueue = []; - a: { - var reactName = topLevelEventsToReactNames.get(domEventName); - if (void 0 !== reactName) { - var SyntheticEventCtor = SyntheticEvent, reactEventType = domEventName; - switch(domEventName){ - case "keypress": - if (0 === getEventCharCode(nativeEvent)) break a; - case "keydown": - case "keyup": - SyntheticEventCtor = SyntheticKeyboardEvent; - break; - case "focusin": - reactEventType = "focus"; - SyntheticEventCtor = SyntheticFocusEvent; - break; - case "focusout": - reactEventType = "blur"; - SyntheticEventCtor = SyntheticFocusEvent; - break; - case "beforeblur": - case "afterblur": - SyntheticEventCtor = SyntheticFocusEvent; - break; - case "click": - if (2 === nativeEvent.button) break a; - case "auxclick": - case "dblclick": - case "mousedown": - case "mousemove": - case "mouseup": - case "mouseout": - case "mouseover": - case "contextmenu": - SyntheticEventCtor = SyntheticMouseEvent; - break; - case "drag": - case "dragend": - case "dragenter": - case "dragexit": - case "dragleave": - case "dragover": - case "dragstart": - case "drop": - SyntheticEventCtor = SyntheticDragEvent; - break; - case "touchcancel": - case "touchend": - case "touchmove": - case "touchstart": - SyntheticEventCtor = SyntheticTouchEvent; - break; - case ANIMATION_END: - case ANIMATION_ITERATION: - case ANIMATION_START: - SyntheticEventCtor = SyntheticAnimationEvent; - break; - case TRANSITION_END: - SyntheticEventCtor = SyntheticTransitionEvent; - break; - case "scroll": - case "scrollend": - SyntheticEventCtor = SyntheticUIEvent; - break; - case "wheel": - SyntheticEventCtor = SyntheticWheelEvent; - break; - case "copy": - case "cut": - case "paste": - SyntheticEventCtor = SyntheticClipboardEvent; - break; - case "gotpointercapture": - case "lostpointercapture": - case "pointercancel": - case "pointerdown": - case "pointermove": - case "pointerout": - case "pointerover": - case "pointerup": - SyntheticEventCtor = SyntheticPointerEvent; - break; - case "toggle": - case "beforetoggle": - SyntheticEventCtor = SyntheticToggleEvent; - } - var inCapturePhase = 0 !== (eventSystemFlags & 4), accumulateTargetOnly = !inCapturePhase && ("scroll" === domEventName || "scrollend" === domEventName), reactEventName = inCapturePhase ? null !== reactName ? reactName + "Capture" : null : reactName; - inCapturePhase = []; - for(var instance = targetInst, lastHostComponent; null !== instance;){ - var _instance2 = instance; - lastHostComponent = _instance2.stateNode; - _instance2 = _instance2.tag; - 5 !== _instance2 && 26 !== _instance2 && 27 !== _instance2 || null === lastHostComponent || null === reactEventName || (_instance2 = getListener(instance, reactEventName), null != _instance2 && inCapturePhase.push(createDispatchListener(instance, _instance2, lastHostComponent))); - if (accumulateTargetOnly) break; - instance = instance.return; - } - 0 < inCapturePhase.length && (reactName = new SyntheticEventCtor(reactName, reactEventType, null, nativeEvent, nativeEventTarget), dispatchQueue.push({ - event: reactName, - listeners: inCapturePhase - })); - } - } - if (0 === (eventSystemFlags & 7)) { - a: { - SyntheticEventCtor = "mouseover" === domEventName || "pointerover" === domEventName; - reactName = "mouseout" === domEventName || "pointerout" === domEventName; - if (SyntheticEventCtor && nativeEvent !== currentReplayingEvent && (reactEventType = nativeEvent.relatedTarget || nativeEvent.fromElement) && (getClosestInstanceFromNode(reactEventType) || reactEventType[internalContainerInstanceKey])) break a; - if (reactName || SyntheticEventCtor) { - reactEventType = nativeEventTarget.window === nativeEventTarget ? nativeEventTarget : (SyntheticEventCtor = nativeEventTarget.ownerDocument) ? SyntheticEventCtor.defaultView || SyntheticEventCtor.parentWindow : window; - if (reactName) { - if (SyntheticEventCtor = nativeEvent.relatedTarget || nativeEvent.toElement, reactName = targetInst, SyntheticEventCtor = SyntheticEventCtor ? getClosestInstanceFromNode(SyntheticEventCtor) : null, null !== SyntheticEventCtor && (accumulateTargetOnly = getNearestMountedFiber(SyntheticEventCtor), inCapturePhase = SyntheticEventCtor.tag, SyntheticEventCtor !== accumulateTargetOnly || 5 !== inCapturePhase && 27 !== inCapturePhase && 6 !== inCapturePhase)) SyntheticEventCtor = null; - } else reactName = null, SyntheticEventCtor = targetInst; - if (reactName !== SyntheticEventCtor) { - inCapturePhase = SyntheticMouseEvent; - _instance2 = "onMouseLeave"; - reactEventName = "onMouseEnter"; - instance = "mouse"; - if ("pointerout" === domEventName || "pointerover" === domEventName) inCapturePhase = SyntheticPointerEvent, _instance2 = "onPointerLeave", reactEventName = "onPointerEnter", instance = "pointer"; - accumulateTargetOnly = null == reactName ? reactEventType : getNodeFromInstance(reactName); - lastHostComponent = null == SyntheticEventCtor ? reactEventType : getNodeFromInstance(SyntheticEventCtor); - reactEventType = new inCapturePhase(_instance2, instance + "leave", reactName, nativeEvent, nativeEventTarget); - reactEventType.target = accumulateTargetOnly; - reactEventType.relatedTarget = lastHostComponent; - _instance2 = null; - getClosestInstanceFromNode(nativeEventTarget) === targetInst && (inCapturePhase = new inCapturePhase(reactEventName, instance + "enter", SyntheticEventCtor, nativeEvent, nativeEventTarget), inCapturePhase.target = lastHostComponent, inCapturePhase.relatedTarget = accumulateTargetOnly, _instance2 = inCapturePhase); - accumulateTargetOnly = _instance2; - inCapturePhase = reactName && SyntheticEventCtor ? getLowestCommonAncestor(reactName, SyntheticEventCtor, getParent) : null; - null !== reactName && accumulateEnterLeaveListenersForEvent(dispatchQueue, reactEventType, reactName, inCapturePhase, !1); - null !== SyntheticEventCtor && null !== accumulateTargetOnly && accumulateEnterLeaveListenersForEvent(dispatchQueue, accumulateTargetOnly, SyntheticEventCtor, inCapturePhase, !0); - } - } - } - a: { - reactName = targetInst ? getNodeFromInstance(targetInst) : window; - SyntheticEventCtor = reactName.nodeName && reactName.nodeName.toLowerCase(); - if ("select" === SyntheticEventCtor || "input" === SyntheticEventCtor && "file" === reactName.type) var getTargetInstFunc = getTargetInstForChangeEvent; - else if (isTextInputElement(reactName)) if (isInputEventSupported) getTargetInstFunc = getTargetInstForInputOrChangeEvent; - else { - getTargetInstFunc = getTargetInstForInputEventPolyfill; - var handleEventFunc = handleEventsForInputEventPolyfill; - } - else SyntheticEventCtor = reactName.nodeName, !SyntheticEventCtor || "input" !== SyntheticEventCtor.toLowerCase() || "checkbox" !== reactName.type && "radio" !== reactName.type ? targetInst && isCustomElement(targetInst.elementType) && (getTargetInstFunc = getTargetInstForChangeEvent) : getTargetInstFunc = getTargetInstForClickEvent; - if (getTargetInstFunc && (getTargetInstFunc = getTargetInstFunc(domEventName, targetInst))) { - createAndAccumulateChangeEvent(dispatchQueue, getTargetInstFunc, nativeEvent, nativeEventTarget); - break a; - } - handleEventFunc && handleEventFunc(domEventName, reactName, targetInst); - "focusout" === domEventName && targetInst && "number" === reactName.type && null != targetInst.memoizedProps.value && setDefaultValue(reactName, "number", reactName.value); - } - handleEventFunc = targetInst ? getNodeFromInstance(targetInst) : window; - switch(domEventName){ - case "focusin": - if (isTextInputElement(handleEventFunc) || "true" === handleEventFunc.contentEditable) activeElement = handleEventFunc, activeElementInst = targetInst, lastSelection = null; - break; - case "focusout": - lastSelection = activeElementInst = activeElement = null; - break; - case "mousedown": - mouseDown = !0; - break; - case "contextmenu": - case "mouseup": - case "dragend": - mouseDown = !1; - constructSelectEvent(dispatchQueue, nativeEvent, nativeEventTarget); - break; - case "selectionchange": - if (skipSelectionChangeEvent) break; - case "keydown": - case "keyup": - constructSelectEvent(dispatchQueue, nativeEvent, nativeEventTarget); - } - var fallbackData; - if (canUseCompositionEvent) b: { - switch(domEventName){ - case "compositionstart": - var eventType = "onCompositionStart"; - break b; - case "compositionend": - eventType = "onCompositionEnd"; - break b; - case "compositionupdate": - eventType = "onCompositionUpdate"; - break b; - } - eventType = void 0; - } - else isComposing ? isFallbackCompositionEnd(domEventName, nativeEvent) && (eventType = "onCompositionEnd") : "keydown" === domEventName && nativeEvent.keyCode === START_KEYCODE && (eventType = "onCompositionStart"); - eventType && (useFallbackCompositionData && "ko" !== nativeEvent.locale && (isComposing || "onCompositionStart" !== eventType ? "onCompositionEnd" === eventType && isComposing && (fallbackData = getData()) : (root = nativeEventTarget, startText = "value" in root ? root.value : root.textContent, isComposing = !0)), handleEventFunc = accumulateTwoPhaseListeners(targetInst, eventType), 0 < handleEventFunc.length && (eventType = new SyntheticCompositionEvent(eventType, domEventName, null, nativeEvent, nativeEventTarget), dispatchQueue.push({ - event: eventType, - listeners: handleEventFunc - }), fallbackData ? eventType.data = fallbackData : (fallbackData = getDataFromCustomEvent(nativeEvent), null !== fallbackData && (eventType.data = fallbackData)))); - if (fallbackData = canUseTextInputEvent ? getNativeBeforeInputChars(domEventName, nativeEvent) : getFallbackBeforeInputChars(domEventName, nativeEvent)) eventType = accumulateTwoPhaseListeners(targetInst, "onBeforeInput"), 0 < eventType.length && (handleEventFunc = new SyntheticInputEvent("onBeforeInput", "beforeinput", null, nativeEvent, nativeEventTarget), dispatchQueue.push({ - event: handleEventFunc, - listeners: eventType - }), handleEventFunc.data = fallbackData); - extractEvents$1(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget); - } - processDispatchQueue(dispatchQueue, eventSystemFlags); - }); - } - function createDispatchListener(instance, listener, currentTarget) { - return { - instance: instance, - listener: listener, - currentTarget: currentTarget - }; - } - function accumulateTwoPhaseListeners(targetFiber, reactName) { - for(var captureName = reactName + "Capture", listeners = []; null !== targetFiber;){ - var _instance3 = targetFiber, stateNode = _instance3.stateNode; - _instance3 = _instance3.tag; - 5 !== _instance3 && 26 !== _instance3 && 27 !== _instance3 || null === stateNode || (_instance3 = getListener(targetFiber, captureName), null != _instance3 && listeners.unshift(createDispatchListener(targetFiber, _instance3, stateNode)), _instance3 = getListener(targetFiber, reactName), null != _instance3 && listeners.push(createDispatchListener(targetFiber, _instance3, stateNode))); - if (3 === targetFiber.tag) return listeners; - targetFiber = targetFiber.return; - } - return []; - } - function getParent(inst) { - if (null === inst) return null; - do inst = inst.return; - while (inst && 5 !== inst.tag && 27 !== inst.tag) - return inst ? inst : null; - } - function accumulateEnterLeaveListenersForEvent(dispatchQueue, event, target, common, inCapturePhase) { - for(var registrationName = event._reactName, listeners = []; null !== target && target !== common;){ - var _instance4 = target, alternate = _instance4.alternate, stateNode = _instance4.stateNode; - _instance4 = _instance4.tag; - if (null !== alternate && alternate === common) break; - 5 !== _instance4 && 26 !== _instance4 && 27 !== _instance4 || null === stateNode || (alternate = stateNode, inCapturePhase ? (stateNode = getListener(target, registrationName), null != stateNode && listeners.unshift(createDispatchListener(target, stateNode, alternate))) : inCapturePhase || (stateNode = getListener(target, registrationName), null != stateNode && listeners.push(createDispatchListener(target, stateNode, alternate)))); - target = target.return; - } - 0 !== listeners.length && dispatchQueue.push({ - event: event, - listeners: listeners - }); - } - function validatePropertiesInDevelopment(type, props) { - validateProperties$2(type, props); - "input" !== type && "textarea" !== type && "select" !== type || null == props || null !== props.value || didWarnValueNull || (didWarnValueNull = !0, "select" === type && props.multiple ? console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.", type) : console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.", type)); - var eventRegistry = { - registrationNameDependencies: registrationNameDependencies, - possibleRegistrationNames: possibleRegistrationNames - }; - isCustomElement(type) || "string" === typeof props.is || warnUnknownProperties(type, props, eventRegistry); - props.contentEditable && !props.suppressContentEditableWarning && null != props.children && console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."); - } - function warnForPropDifference(propName, serverValue, clientValue, serverDifferences) { - serverValue !== clientValue && (clientValue = normalizeMarkupForTextOrAttribute(clientValue), normalizeMarkupForTextOrAttribute(serverValue) !== clientValue && (serverDifferences[propName] = serverValue)); - } - function hasViewTransition(htmlElement) { - return !!(htmlElement.getAttribute("vt-share") || htmlElement.getAttribute("vt-exit") || htmlElement.getAttribute("vt-enter") || htmlElement.getAttribute("vt-update")); - } - function isExpectedViewTransitionName(htmlElement) { - if (!hasViewTransition(htmlElement)) return !1; - var expectedVtName = htmlElement.getAttribute("vt-name"); - htmlElement = htmlElement.style["view-transition-name"]; - return expectedVtName ? expectedVtName === htmlElement : htmlElement.startsWith("_T_"); - } - function warnForExtraAttributes(domElement, attributeNames, serverDifferences) { - attributeNames.forEach(function(attributeName) { - "style" === attributeName ? "" !== domElement.getAttribute(attributeName) && (attributeName = domElement.style, (1 === attributeName.length && "view-transition-name" === attributeName[0] || 2 === attributeName.length && "view-transition-class" === attributeName[0] && "view-transition-name" === attributeName[1]) && isExpectedViewTransitionName(domElement) || (serverDifferences.style = getStylesObjectFromElement(domElement))) : serverDifferences[getPropNameFromAttributeName(attributeName)] = domElement.getAttribute(attributeName); - }); - } - function warnForInvalidEventListener(registrationName, listener) { - !1 === listener ? console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.", registrationName, registrationName, registrationName) : console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.", registrationName, typeof listener); - } - function normalizeHTML(parent, html) { - parent = parent.namespaceURI === MATH_NAMESPACE || parent.namespaceURI === SVG_NAMESPACE ? parent.ownerDocument.createElementNS(parent.namespaceURI, parent.tagName) : parent.ownerDocument.createElement(parent.tagName); - parent.innerHTML = html; - return parent.innerHTML; - } - function normalizeMarkupForTextOrAttribute(markup) { - willCoercionThrow(markup) && (console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.", typeName(markup)), testStringCoercion(markup)); - return ("string" === typeof markup ? markup : "" + markup).replace(NORMALIZE_NEWLINES_REGEX, "\n").replace(NORMALIZE_NULL_AND_REPLACEMENT_REGEX, ""); - } - function checkForUnmatchedText(serverText, clientText) { - clientText = normalizeMarkupForTextOrAttribute(clientText); - return normalizeMarkupForTextOrAttribute(serverText) === clientText ? !0 : !1; - } - function setProp(domElement, tag, key, value, props, prevValue) { - switch(key){ - case "children": - if ("string" === typeof value) validateTextNesting(value, tag, !1), "body" === tag || "textarea" === tag && "" === value || setTextContent(domElement, value); - else if ("number" === typeof value || "bigint" === typeof value) validateTextNesting("" + value, tag, !1), "body" !== tag && setTextContent(domElement, "" + value); - else return; - break; - case "className": - setValueForKnownAttribute(domElement, "class", value); - break; - case "tabIndex": - setValueForKnownAttribute(domElement, "tabindex", value); - break; - case "dir": - case "role": - case "viewBox": - case "width": - case "height": - setValueForKnownAttribute(domElement, key, value); - break; - case "style": - setValueForStyles(domElement, value, prevValue); - return; - case "data": - if ("object" !== tag) { - setValueForKnownAttribute(domElement, "data", value); - break; - } - case "src": - case "href": - if ("" === value && ("a" !== tag || "href" !== key)) { - "src" === key ? console.error('An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.', key, key) : console.error('An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.', key, key); - domElement.removeAttribute(key); - break; - } - if (null == value || "function" === typeof value || "symbol" === typeof value || "boolean" === typeof value) { - domElement.removeAttribute(key); - break; - } - checkAttributeStringCoercion(value, key); - value = sanitizeURL("" + value); - domElement.setAttribute(key, value); - break; - case "action": - case "formAction": - null != value && ("form" === tag ? "formAction" === key ? console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>.") : "function" === typeof value && (null == props.encType && null == props.method || didWarnFormActionMethod || (didWarnFormActionMethod = !0, console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")), null == props.target || didWarnFormActionTarget || (didWarnFormActionTarget = !0, console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))) : "input" === tag || "button" === tag ? "action" === key ? console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>.") : "input" !== tag || "submit" === props.type || "image" === props.type || didWarnFormActionType ? "button" !== tag || null == props.type || "submit" === props.type || didWarnFormActionType ? "function" === typeof value && (null == props.name || didWarnFormActionName || (didWarnFormActionName = !0, console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')), null == props.formEncType && null == props.formMethod || didWarnFormActionMethod || (didWarnFormActionMethod = !0, console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")), null == props.formTarget || didWarnFormActionTarget || (didWarnFormActionTarget = !0, console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."))) : (didWarnFormActionType = !0, console.error('A button can only specify a formAction along with type="submit" or no type.')) : (didWarnFormActionType = !0, console.error('An input can only specify a formAction along with type="submit" or type="image".')) : "action" === key ? console.error("You can only pass the action prop to <form>.") : console.error("You can only pass the formAction prop to <input> or <button>.")); - if ("function" === typeof value) { - domElement.setAttribute(key, "javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')"); - break; - } else "function" === typeof prevValue && ("formAction" === key ? ("input" !== tag && setProp(domElement, tag, "name", props.name, props, null), setProp(domElement, tag, "formEncType", props.formEncType, props, null), setProp(domElement, tag, "formMethod", props.formMethod, props, null), setProp(domElement, tag, "formTarget", props.formTarget, props, null)) : (setProp(domElement, tag, "encType", props.encType, props, null), setProp(domElement, tag, "method", props.method, props, null), setProp(domElement, tag, "target", props.target, props, null))); - if (null == value || "symbol" === typeof value || "boolean" === typeof value) { - domElement.removeAttribute(key); - break; - } - checkAttributeStringCoercion(value, key); - value = sanitizeURL("" + value); - domElement.setAttribute(key, value); - break; - case "onClick": - null != value && ("function" !== typeof value && warnForInvalidEventListener(key, value), domElement.onclick = noop$1); - return; - case "onScroll": - null != value && ("function" !== typeof value && warnForInvalidEventListener(key, value), listenToNonDelegatedEvent("scroll", domElement)); - return; - case "onScrollEnd": - null != value && ("function" !== typeof value && warnForInvalidEventListener(key, value), listenToNonDelegatedEvent("scrollend", domElement)); - return; - case "dangerouslySetInnerHTML": - if (null != value) { - if ("object" !== typeof value || !("__html" in value)) throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information."); - key = value.__html; - if (null != key) { - if (null != props.children) throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`."); - domElement.innerHTML = key; - } - } - break; - case "multiple": - domElement.multiple = value && "function" !== typeof value && "symbol" !== typeof value; - break; - case "muted": - domElement.muted = value && "function" !== typeof value && "symbol" !== typeof value; - break; - case "suppressContentEditableWarning": - case "suppressHydrationWarning": - case "defaultValue": - case "defaultChecked": - case "innerHTML": - case "ref": - break; - case "autoFocus": - break; - case "xlinkHref": - if (null == value || "function" === typeof value || "boolean" === typeof value || "symbol" === typeof value) { - domElement.removeAttribute("xlink:href"); - break; - } - checkAttributeStringCoercion(value, key); - key = sanitizeURL("" + value); - domElement.setAttributeNS(xlinkNamespace, "xlink:href", key); - break; - case "contentEditable": - case "spellCheck": - case "draggable": - case "value": - case "autoReverse": - case "externalResourcesRequired": - case "focusable": - case "preserveAlpha": - null != value && "function" !== typeof value && "symbol" !== typeof value ? (checkAttributeStringCoercion(value, key), domElement.setAttribute(key, "" + value)) : domElement.removeAttribute(key); - break; - case "inert": - "" !== value || didWarnForNewBooleanPropsWithEmptyValue[key] || (didWarnForNewBooleanPropsWithEmptyValue[key] = !0, console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.", key)); - case "allowFullScreen": - case "async": - case "autoPlay": - case "controls": - case "default": - case "defer": - case "disabled": - case "disablePictureInPicture": - case "disableRemotePlayback": - case "formNoValidate": - case "hidden": - case "loop": - case "noModule": - case "noValidate": - case "open": - case "playsInline": - case "readOnly": - case "required": - case "reversed": - case "scoped": - case "seamless": - case "itemScope": - value && "function" !== typeof value && "symbol" !== typeof value ? domElement.setAttribute(key, "") : domElement.removeAttribute(key); - break; - case "capture": - case "download": - !0 === value ? domElement.setAttribute(key, "") : !1 !== value && null != value && "function" !== typeof value && "symbol" !== typeof value ? (checkAttributeStringCoercion(value, key), domElement.setAttribute(key, value)) : domElement.removeAttribute(key); - break; - case "cols": - case "rows": - case "size": - case "span": - null != value && "function" !== typeof value && "symbol" !== typeof value && !isNaN(value) && 1 <= value ? (checkAttributeStringCoercion(value, key), domElement.setAttribute(key, value)) : domElement.removeAttribute(key); - break; - case "rowSpan": - case "start": - null == value || "function" === typeof value || "symbol" === typeof value || isNaN(value) ? domElement.removeAttribute(key) : (checkAttributeStringCoercion(value, key), domElement.setAttribute(key, value)); - break; - case "popover": - listenToNonDelegatedEvent("beforetoggle", domElement); - listenToNonDelegatedEvent("toggle", domElement); - setValueForAttribute(domElement, "popover", value); - break; - case "xlinkActuate": - setValueForNamespacedAttribute(domElement, xlinkNamespace, "xlink:actuate", value); - break; - case "xlinkArcrole": - setValueForNamespacedAttribute(domElement, xlinkNamespace, "xlink:arcrole", value); - break; - case "xlinkRole": - setValueForNamespacedAttribute(domElement, xlinkNamespace, "xlink:role", value); - break; - case "xlinkShow": - setValueForNamespacedAttribute(domElement, xlinkNamespace, "xlink:show", value); - break; - case "xlinkTitle": - setValueForNamespacedAttribute(domElement, xlinkNamespace, "xlink:title", value); - break; - case "xlinkType": - setValueForNamespacedAttribute(domElement, xlinkNamespace, "xlink:type", value); - break; - case "xmlBase": - setValueForNamespacedAttribute(domElement, xmlNamespace, "xml:base", value); - break; - case "xmlLang": - setValueForNamespacedAttribute(domElement, xmlNamespace, "xml:lang", value); - break; - case "xmlSpace": - setValueForNamespacedAttribute(domElement, xmlNamespace, "xml:space", value); - break; - case "is": - null != prevValue && console.error('Cannot update the "is" prop after it has been initialized.'); - setValueForAttribute(domElement, "is", value); - break; - case "innerText": - case "textContent": - return; - case "popoverTarget": - didWarnPopoverTargetObject || null == value || "object" !== typeof value || (didWarnPopoverTargetObject = !0, console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.", value)); - default: - if (!(2 < key.length) || "o" !== key[0] && "O" !== key[0] || "n" !== key[1] && "N" !== key[1]) key = getAttributeAlias(key), setValueForAttribute(domElement, key, value); - else { - registrationNameDependencies.hasOwnProperty(key) && null != value && "function" !== typeof value && warnForInvalidEventListener(key, value); - return; - } - } - viewTransitionMutationContext = !0; - } - function setPropOnCustomElement(domElement, tag, key, value, props, prevValue) { - switch(key){ - case "style": - setValueForStyles(domElement, value, prevValue); - return; - case "dangerouslySetInnerHTML": - if (null != value) { - if ("object" !== typeof value || !("__html" in value)) throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information."); - key = value.__html; - if (null != key) { - if (null != props.children) throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`."); - domElement.innerHTML = key; - } - } - break; - case "children": - if ("string" === typeof value) setTextContent(domElement, value); - else if ("number" === typeof value || "bigint" === typeof value) setTextContent(domElement, "" + value); - else return; - break; - case "onScroll": - null != value && ("function" !== typeof value && warnForInvalidEventListener(key, value), listenToNonDelegatedEvent("scroll", domElement)); - return; - case "onScrollEnd": - null != value && ("function" !== typeof value && warnForInvalidEventListener(key, value), listenToNonDelegatedEvent("scrollend", domElement)); - return; - case "onClick": - null != value && ("function" !== typeof value && warnForInvalidEventListener(key, value), domElement.onclick = noop$1); - return; - case "suppressContentEditableWarning": - case "suppressHydrationWarning": - case "innerHTML": - case "ref": - return; - case "innerText": - case "textContent": - return; - default: - if (registrationNameDependencies.hasOwnProperty(key)) null != value && "function" !== typeof value && warnForInvalidEventListener(key, value); - else a: { - if ("o" === key[0] && "n" === key[1] && (props = key.endsWith("Capture"), tag = key.slice(2, props ? key.length - 7 : void 0), prevValue = domElement[internalPropsKey] || null, prevValue = null != prevValue ? prevValue[key] : null, "function" === typeof prevValue && domElement.removeEventListener(tag, prevValue, props), "function" === typeof value)) { - "function" !== typeof prevValue && null !== prevValue && (key in domElement ? domElement[key] = null : domElement.hasAttribute(key) && domElement.removeAttribute(key)); - domElement.addEventListener(tag, value, props); - break a; - } - viewTransitionMutationContext = !0; - key in domElement ? domElement[key] = value : !0 === value ? domElement.setAttribute(key, "") : setValueForAttribute(domElement, key, value); - } - return; - } - viewTransitionMutationContext = !0; - } - function setInitialProperties(domElement, tag, props) { - validatePropertiesInDevelopment(tag, props); - switch(tag){ - case "div": - case "span": - case "svg": - case "path": - case "a": - case "g": - case "p": - case "li": - break; - case "img": - listenToNonDelegatedEvent("error", domElement); - listenToNonDelegatedEvent("load", domElement); - var hasSrc = !1, hasSrcSet = !1, propKey; - for(propKey in props)if (props.hasOwnProperty(propKey)) { - var propValue = props[propKey]; - if (null != propValue) switch(propKey){ - case "src": - hasSrc = !0; - break; - case "srcSet": - hasSrcSet = !0; - break; - case "children": - case "dangerouslySetInnerHTML": - throw Error(tag + " is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`."); - default: - setProp(domElement, tag, propKey, propValue, props, null); - } - } - hasSrcSet && setProp(domElement, tag, "srcSet", props.srcSet, props, null); - hasSrc && setProp(domElement, tag, "src", props.src, props, null); - return; - case "input": - checkControlledValueProps("input", props); - listenToNonDelegatedEvent("invalid", domElement); - var defaultValue = propKey = propValue = hasSrcSet = null, checked = null, defaultChecked = null; - for(hasSrc in props)if (props.hasOwnProperty(hasSrc)) { - var _propValue = props[hasSrc]; - if (null != _propValue) switch(hasSrc){ - case "name": - hasSrcSet = _propValue; - break; - case "type": - propValue = _propValue; - break; - case "checked": - checked = _propValue; - break; - case "defaultChecked": - defaultChecked = _propValue; - break; - case "value": - propKey = _propValue; - break; - case "defaultValue": - defaultValue = _propValue; - break; - case "children": - case "dangerouslySetInnerHTML": - if (null != _propValue) throw Error(tag + " is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`."); - break; - default: - setProp(domElement, tag, hasSrc, _propValue, props, null); - } - } - validateInputProps(domElement, props); - initInput(domElement, propKey, defaultValue, checked, defaultChecked, propValue, hasSrcSet, !1); - return; - case "select": - checkControlledValueProps("select", props); - listenToNonDelegatedEvent("invalid", domElement); - hasSrc = propValue = propKey = null; - for(hasSrcSet in props)if (props.hasOwnProperty(hasSrcSet) && (defaultValue = props[hasSrcSet], null != defaultValue)) switch(hasSrcSet){ - case "value": - propKey = defaultValue; - break; - case "defaultValue": - propValue = defaultValue; - break; - case "multiple": - hasSrc = defaultValue; - default: - setProp(domElement, tag, hasSrcSet, defaultValue, props, null); - } - validateSelectProps(domElement, props); - tag = propKey; - props = propValue; - domElement.multiple = !!hasSrc; - null != tag ? updateOptions(domElement, !!hasSrc, tag, !1) : null != props && updateOptions(domElement, !!hasSrc, props, !0); - return; - case "textarea": - checkControlledValueProps("textarea", props); - listenToNonDelegatedEvent("invalid", domElement); - propKey = hasSrcSet = hasSrc = null; - for(propValue in props)if (props.hasOwnProperty(propValue) && (defaultValue = props[propValue], null != defaultValue)) switch(propValue){ - case "value": - hasSrc = defaultValue; - break; - case "defaultValue": - hasSrcSet = defaultValue; - break; - case "children": - propKey = defaultValue; - break; - case "dangerouslySetInnerHTML": - if (null != defaultValue) throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>."); - break; - default: - setProp(domElement, tag, propValue, defaultValue, props, null); - } - validateTextareaProps(domElement, props); - initTextarea(domElement, hasSrc, hasSrcSet, propKey); - return; - case "option": - validateOptionProps(domElement, props); - for(checked in props)if (props.hasOwnProperty(checked) && (hasSrc = props[checked], null != hasSrc)) switch(checked){ - case "selected": - domElement.selected = hasSrc && "function" !== typeof hasSrc && "symbol" !== typeof hasSrc; - break; - default: - setProp(domElement, tag, checked, hasSrc, props, null); - } - return; - case "dialog": - listenToNonDelegatedEvent("beforetoggle", domElement); - listenToNonDelegatedEvent("toggle", domElement); - listenToNonDelegatedEvent("cancel", domElement); - listenToNonDelegatedEvent("close", domElement); - break; - case "iframe": - case "object": - listenToNonDelegatedEvent("load", domElement); - break; - case "video": - case "audio": - for(hasSrc = 0; hasSrc < mediaEventTypes.length; hasSrc++)listenToNonDelegatedEvent(mediaEventTypes[hasSrc], domElement); - break; - case "image": - listenToNonDelegatedEvent("error", domElement); - listenToNonDelegatedEvent("load", domElement); - break; - case "details": - listenToNonDelegatedEvent("toggle", domElement); - break; - case "embed": - case "source": - case "link": - listenToNonDelegatedEvent("error", domElement), listenToNonDelegatedEvent("load", domElement); - case "area": - case "base": - case "br": - case "col": - case "hr": - case "keygen": - case "meta": - case "param": - case "track": - case "wbr": - case "menuitem": - for(defaultChecked in props)if (props.hasOwnProperty(defaultChecked) && (hasSrc = props[defaultChecked], null != hasSrc)) switch(defaultChecked){ - case "children": - case "dangerouslySetInnerHTML": - throw Error(tag + " is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`."); - default: - setProp(domElement, tag, defaultChecked, hasSrc, props, null); - } - return; - default: - if (isCustomElement(tag)) { - for(_propValue in props)props.hasOwnProperty(_propValue) && (hasSrc = props[_propValue], void 0 !== hasSrc && setPropOnCustomElement(domElement, tag, _propValue, hasSrc, props, void 0)); - return; - } - } - for(defaultValue in props)props.hasOwnProperty(defaultValue) && (hasSrc = props[defaultValue], null != hasSrc && setProp(domElement, tag, defaultValue, hasSrc, props, null)); - } - function updateProperties(domElement, tag, lastProps, nextProps) { - validatePropertiesInDevelopment(tag, nextProps); - switch(tag){ - case "div": - case "span": - case "svg": - case "path": - case "a": - case "g": - case "p": - case "li": - break; - case "input": - var name = null, type = null, value = null, defaultValue = null, lastDefaultValue = null, checked = null, defaultChecked = null; - for(propKey in lastProps){ - var lastProp = lastProps[propKey]; - if (lastProps.hasOwnProperty(propKey) && null != lastProp) switch(propKey){ - case "checked": - break; - case "value": - break; - case "defaultValue": - lastDefaultValue = lastProp; - default: - nextProps.hasOwnProperty(propKey) || setProp(domElement, tag, propKey, null, nextProps, lastProp); - } - } - for(var _propKey8 in nextProps){ - var propKey = nextProps[_propKey8]; - lastProp = lastProps[_propKey8]; - if (nextProps.hasOwnProperty(_propKey8) && (null != propKey || null != lastProp)) switch(_propKey8){ - case "type": - propKey !== lastProp && (viewTransitionMutationContext = !0); - type = propKey; - break; - case "name": - propKey !== lastProp && (viewTransitionMutationContext = !0); - name = propKey; - break; - case "checked": - propKey !== lastProp && (viewTransitionMutationContext = !0); - checked = propKey; - break; - case "defaultChecked": - propKey !== lastProp && (viewTransitionMutationContext = !0); - defaultChecked = propKey; - break; - case "value": - propKey !== lastProp && (viewTransitionMutationContext = !0); - value = propKey; - break; - case "defaultValue": - propKey !== lastProp && (viewTransitionMutationContext = !0); - defaultValue = propKey; - break; - case "children": - case "dangerouslySetInnerHTML": - if (null != propKey) throw Error(tag + " is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`."); - break; - default: - propKey !== lastProp && setProp(domElement, tag, _propKey8, propKey, nextProps, lastProp); - } - } - tag = "checkbox" === lastProps.type || "radio" === lastProps.type ? null != lastProps.checked : null != lastProps.value; - nextProps = "checkbox" === nextProps.type || "radio" === nextProps.type ? null != nextProps.checked : null != nextProps.value; - tag || !nextProps || didWarnUncontrolledToControlled || (console.error("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"), didWarnUncontrolledToControlled = !0); - !tag || nextProps || didWarnControlledToUncontrolled || (console.error("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"), didWarnControlledToUncontrolled = !0); - updateInput(domElement, value, defaultValue, lastDefaultValue, checked, defaultChecked, type, name); - return; - case "select": - propKey = value = defaultValue = _propKey8 = null; - for(type in lastProps)if (lastDefaultValue = lastProps[type], lastProps.hasOwnProperty(type) && null != lastDefaultValue) switch(type){ - case "value": - break; - case "multiple": - propKey = lastDefaultValue; - default: - nextProps.hasOwnProperty(type) || setProp(domElement, tag, type, null, nextProps, lastDefaultValue); - } - for(name in nextProps)if (type = nextProps[name], lastDefaultValue = lastProps[name], nextProps.hasOwnProperty(name) && (null != type || null != lastDefaultValue)) switch(name){ - case "value": - type !== lastDefaultValue && (viewTransitionMutationContext = !0); - _propKey8 = type; - break; - case "defaultValue": - type !== lastDefaultValue && (viewTransitionMutationContext = !0); - defaultValue = type; - break; - case "multiple": - type !== lastDefaultValue && (viewTransitionMutationContext = !0), value = type; - default: - type !== lastDefaultValue && setProp(domElement, tag, name, type, nextProps, lastDefaultValue); - } - nextProps = defaultValue; - tag = value; - lastProps = propKey; - null != _propKey8 ? updateOptions(domElement, !!tag, _propKey8, !1) : !!lastProps !== !!tag && (null != nextProps ? updateOptions(domElement, !!tag, nextProps, !0) : updateOptions(domElement, !!tag, tag ? [] : "", !1)); - return; - case "textarea": - propKey = _propKey8 = null; - for(defaultValue in lastProps)if (name = lastProps[defaultValue], lastProps.hasOwnProperty(defaultValue) && null != name && !nextProps.hasOwnProperty(defaultValue)) switch(defaultValue){ - case "value": - break; - case "children": - break; - default: - setProp(domElement, tag, defaultValue, null, nextProps, name); - } - for(value in nextProps)if (name = nextProps[value], type = lastProps[value], nextProps.hasOwnProperty(value) && (null != name || null != type)) switch(value){ - case "value": - name !== type && (viewTransitionMutationContext = !0); - _propKey8 = name; - break; - case "defaultValue": - name !== type && (viewTransitionMutationContext = !0); - propKey = name; - break; - case "children": - break; - case "dangerouslySetInnerHTML": - if (null != name) throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>."); - break; - default: - name !== type && setProp(domElement, tag, value, name, nextProps, type); - } - updateTextarea(domElement, _propKey8, propKey); - return; - case "option": - for(var _propKey13 in lastProps)if (_propKey8 = lastProps[_propKey13], lastProps.hasOwnProperty(_propKey13) && null != _propKey8 && !nextProps.hasOwnProperty(_propKey13)) switch(_propKey13){ - case "selected": - domElement.selected = !1; - break; - default: - setProp(domElement, tag, _propKey13, null, nextProps, _propKey8); - } - for(lastDefaultValue in nextProps)if (_propKey8 = nextProps[lastDefaultValue], propKey = lastProps[lastDefaultValue], nextProps.hasOwnProperty(lastDefaultValue) && _propKey8 !== propKey && (null != _propKey8 || null != propKey)) switch(lastDefaultValue){ - case "selected": - _propKey8 !== propKey && (viewTransitionMutationContext = !0); - domElement.selected = _propKey8 && "function" !== typeof _propKey8 && "symbol" !== typeof _propKey8; - break; - default: - setProp(domElement, tag, lastDefaultValue, _propKey8, nextProps, propKey); - } - return; - case "img": - case "link": - case "area": - case "base": - case "br": - case "col": - case "embed": - case "hr": - case "keygen": - case "meta": - case "param": - case "source": - case "track": - case "wbr": - case "menuitem": - for(var _propKey15 in lastProps)_propKey8 = lastProps[_propKey15], lastProps.hasOwnProperty(_propKey15) && null != _propKey8 && !nextProps.hasOwnProperty(_propKey15) && setProp(domElement, tag, _propKey15, null, nextProps, _propKey8); - for(checked in nextProps)if (_propKey8 = nextProps[checked], propKey = lastProps[checked], nextProps.hasOwnProperty(checked) && _propKey8 !== propKey && (null != _propKey8 || null != propKey)) switch(checked){ - case "children": - case "dangerouslySetInnerHTML": - if (null != _propKey8) throw Error(tag + " is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`."); - break; - default: - setProp(domElement, tag, checked, _propKey8, nextProps, propKey); - } - return; - default: - if (isCustomElement(tag)) { - for(var _propKey17 in lastProps)_propKey8 = lastProps[_propKey17], lastProps.hasOwnProperty(_propKey17) && void 0 !== _propKey8 && !nextProps.hasOwnProperty(_propKey17) && setPropOnCustomElement(domElement, tag, _propKey17, void 0, nextProps, _propKey8); - for(defaultChecked in nextProps)_propKey8 = nextProps[defaultChecked], propKey = lastProps[defaultChecked], !nextProps.hasOwnProperty(defaultChecked) || _propKey8 === propKey || void 0 === _propKey8 && void 0 === propKey || setPropOnCustomElement(domElement, tag, defaultChecked, _propKey8, nextProps, propKey); - return; - } - } - for(var _propKey19 in lastProps)_propKey8 = lastProps[_propKey19], lastProps.hasOwnProperty(_propKey19) && null != _propKey8 && !nextProps.hasOwnProperty(_propKey19) && setProp(domElement, tag, _propKey19, null, nextProps, _propKey8); - for(lastProp in nextProps)_propKey8 = nextProps[lastProp], propKey = lastProps[lastProp], !nextProps.hasOwnProperty(lastProp) || _propKey8 === propKey || null == _propKey8 && null == propKey || setProp(domElement, tag, lastProp, _propKey8, nextProps, propKey); - } - function getPropNameFromAttributeName(attrName) { - switch(attrName){ - case "class": - return "className"; - case "for": - return "htmlFor"; - default: - return attrName; - } - } - function getStylesObjectFromElement(domElement) { - for(var serverValueInObjectForm = {}, style = domElement.style, i = 0; i < style.length; i++){ - var styleName = style[i]; - "view-transition-name" === styleName && isExpectedViewTransitionName(domElement) || (serverValueInObjectForm[styleName] = style.getPropertyValue(styleName)); - } - return serverValueInObjectForm; - } - function diffHydratedStyles(domElement, value$jscomp$0, serverDifferences) { - if (null != value$jscomp$0 && "object" !== typeof value$jscomp$0) console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX."); - else { - var clientValue; - var delimiter = clientValue = "", styleName; - for(styleName in value$jscomp$0)if (value$jscomp$0.hasOwnProperty(styleName)) { - var value = value$jscomp$0[styleName]; - null != value && "boolean" !== typeof value && "" !== value && (0 === styleName.indexOf("--") ? (checkCSSPropertyStringCoercion(value, styleName), clientValue += delimiter + styleName + ":" + ("" + value).trim()) : "number" !== typeof value || 0 === value || unitlessNumbers.has(styleName) ? (checkCSSPropertyStringCoercion(value, styleName), clientValue += delimiter + styleName.replace(uppercasePattern, "-$1").toLowerCase().replace(msPattern$1, "-ms-") + ":" + ("" + value).trim()) : clientValue += delimiter + styleName.replace(uppercasePattern, "-$1").toLowerCase().replace(msPattern$1, "-ms-") + ":" + value + "px", delimiter = ";"); - } - clientValue = clientValue || null; - value$jscomp$0 = domElement.getAttribute("style"); - value$jscomp$0 !== clientValue && (clientValue = normalizeMarkupForTextOrAttribute(clientValue), value$jscomp$0 = normalizeMarkupForTextOrAttribute(value$jscomp$0), value$jscomp$0 === clientValue || ";" === value$jscomp$0[value$jscomp$0.length - 1] && hasViewTransition(domElement) || (serverDifferences.style = getStylesObjectFromElement(domElement))); - } - } - function hydrateAttribute(domElement, propKey, attributeName, value, extraAttributes, serverDifferences) { - extraAttributes.delete(attributeName); - domElement = domElement.getAttribute(attributeName); - if (null === domElement) switch(typeof value){ - case "undefined": - case "function": - case "symbol": - case "boolean": - return; - } - else if (null != value) switch(typeof value){ - case "function": - case "symbol": - case "boolean": - break; - default: - if (checkAttributeStringCoercion(value, propKey), domElement === "" + value) return; - } - warnForPropDifference(propKey, domElement, value, serverDifferences); - } - function hydrateBooleanAttribute(domElement, propKey, attributeName, value, extraAttributes, serverDifferences) { - extraAttributes.delete(attributeName); - domElement = domElement.getAttribute(attributeName); - if (null === domElement) { - switch(typeof value){ - case "function": - case "symbol": - return; - } - if (!value) return; - } else switch(typeof value){ - case "function": - case "symbol": - break; - default: - if (value) return; - } - warnForPropDifference(propKey, domElement, value, serverDifferences); - } - function hydrateBooleanishAttribute(domElement, propKey, attributeName, value, extraAttributes, serverDifferences) { - extraAttributes.delete(attributeName); - domElement = domElement.getAttribute(attributeName); - if (null === domElement) switch(typeof value){ - case "undefined": - case "function": - case "symbol": - return; - } - else if (null != value) switch(typeof value){ - case "function": - case "symbol": - break; - default: - if (checkAttributeStringCoercion(value, attributeName), domElement === "" + value) return; - } - warnForPropDifference(propKey, domElement, value, serverDifferences); - } - function hydrateNumericAttribute(domElement, propKey, attributeName, value, extraAttributes, serverDifferences) { - extraAttributes.delete(attributeName); - domElement = domElement.getAttribute(attributeName); - if (null === domElement) switch(typeof value){ - case "undefined": - case "function": - case "symbol": - case "boolean": - return; - default: - if (isNaN(value)) return; - } - else if (null != value) switch(typeof value){ - case "function": - case "symbol": - case "boolean": - break; - default: - if (!isNaN(value) && (checkAttributeStringCoercion(value, propKey), domElement === "" + value)) return; - } - warnForPropDifference(propKey, domElement, value, serverDifferences); - } - function hydrateSanitizedAttribute(domElement, propKey, attributeName, value, extraAttributes, serverDifferences) { - extraAttributes.delete(attributeName); - domElement = domElement.getAttribute(attributeName); - if (null === domElement) switch(typeof value){ - case "undefined": - case "function": - case "symbol": - case "boolean": - return; - } - else if (null != value) switch(typeof value){ - case "function": - case "symbol": - case "boolean": - break; - default: - if (checkAttributeStringCoercion(value, propKey), attributeName = sanitizeURL("" + value), domElement === attributeName) return; - } - warnForPropDifference(propKey, domElement, value, serverDifferences); - } - function diffHydratedProperties(domElement, tag, props, hostContext) { - for(var serverDifferences = {}, extraAttributes = new Set(), attributes = domElement.attributes, i = 0; i < attributes.length; i++)switch(attributes[i].name.toLowerCase()){ - case "value": - break; - case "checked": - break; - case "selected": - break; - case "vt-name": - case "vt-update": - case "vt-enter": - case "vt-exit": - case "vt-share": - break; - default: - extraAttributes.add(attributes[i].name); - } - if (isCustomElement(tag)) for(var propKey in props){ - if (props.hasOwnProperty(propKey)) { - var value = props[propKey]; - if (null != value) { - if (registrationNameDependencies.hasOwnProperty(propKey)) "function" !== typeof value && warnForInvalidEventListener(propKey, value); - else if (!0 !== props.suppressHydrationWarning) switch(propKey){ - case "children": - "string" !== typeof value && "number" !== typeof value || warnForPropDifference("children", domElement.textContent, value, serverDifferences); - continue; - case "suppressContentEditableWarning": - case "suppressHydrationWarning": - case "defaultValue": - case "defaultChecked": - case "innerHTML": - case "ref": - continue; - case "dangerouslySetInnerHTML": - attributes = domElement.innerHTML; - value = value ? value.__html : void 0; - null != value && (value = normalizeHTML(domElement, value), warnForPropDifference(propKey, attributes, value, serverDifferences)); - continue; - case "style": - extraAttributes.delete(propKey); - diffHydratedStyles(domElement, value, serverDifferences); - continue; - case "offsetParent": - case "offsetTop": - case "offsetLeft": - case "offsetWidth": - case "offsetHeight": - case "isContentEditable": - case "outerText": - case "outerHTML": - extraAttributes.delete(propKey.toLowerCase()); - console.error("Assignment to read-only property will result in a no-op: `%s`", propKey); - continue; - case "className": - extraAttributes.delete("class"); - attributes = getValueForAttributeOnCustomComponent(domElement, "class", value); - warnForPropDifference("className", attributes, value, serverDifferences); - continue; - default: - hostContext.context === HostContextNamespaceNone && "svg" !== tag && "math" !== tag ? extraAttributes.delete(propKey.toLowerCase()) : extraAttributes.delete(propKey), attributes = getValueForAttributeOnCustomComponent(domElement, propKey, value), warnForPropDifference(propKey, attributes, value, serverDifferences); - } - } - } - } - else for(value in props)if (props.hasOwnProperty(value) && (propKey = props[value], null != propKey)) { - if (registrationNameDependencies.hasOwnProperty(value)) "function" !== typeof propKey && warnForInvalidEventListener(value, propKey); - else if (!0 !== props.suppressHydrationWarning) switch(value){ - case "children": - "string" !== typeof propKey && "number" !== typeof propKey || warnForPropDifference("children", domElement.textContent, propKey, serverDifferences); - continue; - case "suppressContentEditableWarning": - case "suppressHydrationWarning": - case "value": - case "checked": - case "selected": - case "defaultValue": - case "defaultChecked": - case "innerHTML": - case "ref": - continue; - case "dangerouslySetInnerHTML": - attributes = domElement.innerHTML; - propKey = propKey ? propKey.__html : void 0; - null != propKey && (propKey = normalizeHTML(domElement, propKey), attributes !== propKey && (serverDifferences[value] = { - __html: attributes - })); - continue; - case "className": - hydrateAttribute(domElement, value, "class", propKey, extraAttributes, serverDifferences); - continue; - case "tabIndex": - hydrateAttribute(domElement, value, "tabindex", propKey, extraAttributes, serverDifferences); - continue; - case "style": - extraAttributes.delete(value); - diffHydratedStyles(domElement, propKey, serverDifferences); - continue; - case "multiple": - extraAttributes.delete(value); - warnForPropDifference(value, domElement.multiple, propKey, serverDifferences); - continue; - case "muted": - extraAttributes.delete(value); - warnForPropDifference(value, domElement.muted, propKey, serverDifferences); - continue; - case "autoFocus": - extraAttributes.delete("autofocus"); - warnForPropDifference(value, domElement.autofocus, propKey, serverDifferences); - continue; - case "data": - if ("object" !== tag) { - extraAttributes.delete(value); - attributes = domElement.getAttribute("data"); - warnForPropDifference(value, attributes, propKey, serverDifferences); - continue; - } - case "src": - case "href": - if (!("" !== propKey || "a" === tag && "href" === value || "object" === tag && "data" === value)) { - "src" === value ? console.error('An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.', value, value) : console.error('An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.', value, value); - continue; - } - hydrateSanitizedAttribute(domElement, value, value, propKey, extraAttributes, serverDifferences); - continue; - case "action": - case "formAction": - attributes = domElement.getAttribute(value); - if ("function" === typeof propKey) { - extraAttributes.delete(value.toLowerCase()); - "formAction" === value ? (extraAttributes.delete("name"), extraAttributes.delete("formenctype"), extraAttributes.delete("formmethod"), extraAttributes.delete("formtarget")) : (extraAttributes.delete("enctype"), extraAttributes.delete("method"), extraAttributes.delete("target")); - continue; - } else if (attributes === EXPECTED_FORM_ACTION_URL) { - extraAttributes.delete(value.toLowerCase()); - warnForPropDifference(value, "function", propKey, serverDifferences); - continue; - } - hydrateSanitizedAttribute(domElement, value, value.toLowerCase(), propKey, extraAttributes, serverDifferences); - continue; - case "xlinkHref": - hydrateSanitizedAttribute(domElement, value, "xlink:href", propKey, extraAttributes, serverDifferences); - continue; - case "contentEditable": - hydrateBooleanishAttribute(domElement, value, "contenteditable", propKey, extraAttributes, serverDifferences); - continue; - case "spellCheck": - hydrateBooleanishAttribute(domElement, value, "spellcheck", propKey, extraAttributes, serverDifferences); - continue; - case "draggable": - case "autoReverse": - case "externalResourcesRequired": - case "focusable": - case "preserveAlpha": - hydrateBooleanishAttribute(domElement, value, value, propKey, extraAttributes, serverDifferences); - continue; - case "allowFullScreen": - case "async": - case "autoPlay": - case "controls": - case "default": - case "defer": - case "disabled": - case "disablePictureInPicture": - case "disableRemotePlayback": - case "formNoValidate": - case "hidden": - case "loop": - case "noModule": - case "noValidate": - case "open": - case "playsInline": - case "readOnly": - case "required": - case "reversed": - case "scoped": - case "seamless": - case "itemScope": - hydrateBooleanAttribute(domElement, value, value.toLowerCase(), propKey, extraAttributes, serverDifferences); - continue; - case "capture": - case "download": - a: { - i = domElement; - var attributeName = attributes = value, serverDifferences$jscomp$0 = serverDifferences; - extraAttributes.delete(attributeName); - i = i.getAttribute(attributeName); - if (null === i) switch(typeof propKey){ - case "undefined": - case "function": - case "symbol": - break a; - default: - if (!1 === propKey) break a; - } - else if (null != propKey) switch(typeof propKey){ - case "function": - case "symbol": - break; - case "boolean": - if (!0 === propKey && "" === i) break a; - break; - default: - if (checkAttributeStringCoercion(propKey, attributes), i === "" + propKey) break a; - } - warnForPropDifference(attributes, i, propKey, serverDifferences$jscomp$0); - } - continue; - case "cols": - case "rows": - case "size": - case "span": - a: { - i = domElement; - attributeName = attributes = value; - serverDifferences$jscomp$0 = serverDifferences; - extraAttributes.delete(attributeName); - i = i.getAttribute(attributeName); - if (null === i) switch(typeof propKey){ - case "undefined": - case "function": - case "symbol": - case "boolean": - break a; - default: - if (isNaN(propKey) || 1 > propKey) break a; - } - else if (null != propKey) switch(typeof propKey){ - case "function": - case "symbol": - case "boolean": - break; - default: - if (!(isNaN(propKey) || 1 > propKey) && (checkAttributeStringCoercion(propKey, attributes), i === "" + propKey)) break a; - } - warnForPropDifference(attributes, i, propKey, serverDifferences$jscomp$0); - } - continue; - case "rowSpan": - hydrateNumericAttribute(domElement, value, "rowspan", propKey, extraAttributes, serverDifferences); - continue; - case "start": - hydrateNumericAttribute(domElement, value, value, propKey, extraAttributes, serverDifferences); - continue; - case "xHeight": - hydrateAttribute(domElement, value, "x-height", propKey, extraAttributes, serverDifferences); - continue; - case "xlinkActuate": - hydrateAttribute(domElement, value, "xlink:actuate", propKey, extraAttributes, serverDifferences); - continue; - case "xlinkArcrole": - hydrateAttribute(domElement, value, "xlink:arcrole", propKey, extraAttributes, serverDifferences); - continue; - case "xlinkRole": - hydrateAttribute(domElement, value, "xlink:role", propKey, extraAttributes, serverDifferences); - continue; - case "xlinkShow": - hydrateAttribute(domElement, value, "xlink:show", propKey, extraAttributes, serverDifferences); - continue; - case "xlinkTitle": - hydrateAttribute(domElement, value, "xlink:title", propKey, extraAttributes, serverDifferences); - continue; - case "xlinkType": - hydrateAttribute(domElement, value, "xlink:type", propKey, extraAttributes, serverDifferences); - continue; - case "xmlBase": - hydrateAttribute(domElement, value, "xml:base", propKey, extraAttributes, serverDifferences); - continue; - case "xmlLang": - hydrateAttribute(domElement, value, "xml:lang", propKey, extraAttributes, serverDifferences); - continue; - case "xmlSpace": - hydrateAttribute(domElement, value, "xml:space", propKey, extraAttributes, serverDifferences); - continue; - case "inert": - "" !== propKey || didWarnForNewBooleanPropsWithEmptyValue[value] || (didWarnForNewBooleanPropsWithEmptyValue[value] = !0, console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.", value)); - hydrateBooleanAttribute(domElement, value, value, propKey, extraAttributes, serverDifferences); - continue; - default: - if (!(2 < value.length) || "o" !== value[0] && "O" !== value[0] || "n" !== value[1] && "N" !== value[1]) { - i = getAttributeAlias(value); - attributes = !1; - hostContext.context === HostContextNamespaceNone && "svg" !== tag && "math" !== tag ? extraAttributes.delete(i.toLowerCase()) : (attributeName = value.toLowerCase(), attributeName = possibleStandardNames.hasOwnProperty(attributeName) ? possibleStandardNames[attributeName] || null : null, null !== attributeName && attributeName !== value && (attributes = !0, extraAttributes.delete(attributeName)), extraAttributes.delete(i)); - a: if (attributeName = domElement, serverDifferences$jscomp$0 = i, i = propKey, isAttributeNameSafe(serverDifferences$jscomp$0)) if (attributeName.hasAttribute(serverDifferences$jscomp$0)) attributeName = attributeName.getAttribute(serverDifferences$jscomp$0), checkAttributeStringCoercion(i, serverDifferences$jscomp$0), i = attributeName === "" + i ? i : attributeName; - else { - switch(typeof i){ - case "function": - case "symbol": - break a; - case "boolean": - if (attributeName = serverDifferences$jscomp$0.toLowerCase().slice(0, 5), "data-" !== attributeName && "aria-" !== attributeName) break a; - } - i = void 0 === i ? void 0 : null; - } - else i = void 0; - attributes || warnForPropDifference(value, i, propKey, serverDifferences); - } - } - } - 0 < extraAttributes.size && !0 !== props.suppressHydrationWarning && warnForExtraAttributes(domElement, extraAttributes, serverDifferences); - return 0 === Object.keys(serverDifferences).length ? null : serverDifferences; - } - function propNamesListJoin(list, combinator) { - switch(list.length){ - case 0: - return ""; - case 1: - return list[0]; - case 2: - return list[0] + " " + combinator + " " + list[1]; - default: - return list.slice(0, -1).join(", ") + ", " + combinator + " " + list[list.length - 1]; - } - } - function isLikelyStaticResource(initiatorType) { - switch(initiatorType){ - case "css": - case "script": - case "font": - case "img": - case "image": - case "input": - case "link": - return !0; - default: - return !1; - } - } - function estimateBandwidth() { - if ("function" === typeof performance.getEntriesByType) { - for(var count = 0, bits = 0, resourceEntries = performance.getEntriesByType("resource"), i = 0; i < resourceEntries.length; i++){ - var entry = resourceEntries[i], transferSize = entry.transferSize, initiatorType = entry.initiatorType, duration = entry.duration; - if (transferSize && duration && isLikelyStaticResource(initiatorType)) { - initiatorType = 0; - duration = entry.responseEnd; - for(i += 1; i < resourceEntries.length; i++){ - var overlapEntry = resourceEntries[i], overlapStartTime = overlapEntry.startTime; - if (overlapStartTime > duration) break; - var overlapTransferSize = overlapEntry.transferSize, overlapInitiatorType = overlapEntry.initiatorType; - overlapTransferSize && isLikelyStaticResource(overlapInitiatorType) && (overlapEntry = overlapEntry.responseEnd, initiatorType += overlapTransferSize * (overlapEntry < duration ? 1 : (duration - overlapStartTime) / (overlapEntry - overlapStartTime))); - } - --i; - bits += 8 * (transferSize + initiatorType) / (entry.duration / 1e3); - count++; - if (10 < count) break; - } - } - if (0 < count) return bits / count / 1e6; - } - return navigator.connection && (count = navigator.connection.downlink, "number" === typeof count) ? count : 5; - } - function getOwnerDocumentFromRootContainer(rootContainerElement) { - return 9 === rootContainerElement.nodeType ? rootContainerElement : rootContainerElement.ownerDocument; - } - function getOwnHostContext(namespaceURI) { - switch(namespaceURI){ - case SVG_NAMESPACE: - return HostContextNamespaceSvg; - case MATH_NAMESPACE: - return HostContextNamespaceMath; - default: - return HostContextNamespaceNone; - } - } - function getChildHostContextProd(parentNamespace, type) { - if (parentNamespace === HostContextNamespaceNone) switch(type){ - case "svg": - return HostContextNamespaceSvg; - case "math": - return HostContextNamespaceMath; - default: - return HostContextNamespaceNone; - } - return parentNamespace === HostContextNamespaceSvg && "foreignObject" === type ? HostContextNamespaceNone : parentNamespace; - } - function shouldSetTextContent(type, props) { - return "textarea" === type || "noscript" === type || "string" === typeof props.children || "number" === typeof props.children || "bigint" === typeof props.children || "object" === typeof props.dangerouslySetInnerHTML && null !== props.dangerouslySetInnerHTML && null != props.dangerouslySetInnerHTML.__html; - } - function shouldAttemptEagerTransition() { - var event = window.event; - if (event && "popstate" === event.type) { - if (event === currentPopstateTransitionEvent) return !1; - currentPopstateTransitionEvent = event; - return !0; - } - currentPopstateTransitionEvent = null; - return !1; - } - function resolveEventType() { - var event = window.event; - return event && event !== schedulerEvent ? event.type : null; - } - function resolveEventTimeStamp() { - var event = window.event; - return event && event !== schedulerEvent ? event.timeStamp : -1.1; - } - function handleErrorInNextTick(error) { - setTimeout(function() { - throw error; - }); - } - function commitMount(domElement, type, newProps) { - switch(type){ - case "button": - case "input": - case "select": - case "textarea": - newProps.autoFocus && domElement.focus(); - break; - case "img": - newProps.src ? domElement.src = newProps.src : newProps.srcSet && (domElement.srcset = newProps.srcSet); - } - } - function commitHydratedInstance() {} - function commitUpdate(domElement, type, oldProps, newProps) { - updateProperties(domElement, type, oldProps, newProps); - domElement[internalPropsKey] = newProps; - } - function resetTextContent(domElement) { - setTextContent(domElement, ""); - } - function commitTextUpdate(textInstance, oldText, newText) { - textInstance.nodeValue = newText; - } - function warnForReactChildrenConflict(container) { - if (!container.__reactWarnedAboutChildrenConflict) { - var props = container[internalPropsKey] || null; - if (null !== props) { - var fiber = getInstanceFromNode(container); - null !== fiber && ("string" === typeof props.children || "number" === typeof props.children ? (container.__reactWarnedAboutChildrenConflict = !0, runWithFiberInDEV(fiber, function() { - console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "children" text content using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.'); - })) : null != props.dangerouslySetInnerHTML && (container.__reactWarnedAboutChildrenConflict = !0, runWithFiberInDEV(fiber, function() { - console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "dangerouslySetInnerHTML" using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.'); - }))); - } - } - } - function isSingletonScope(type) { - return "head" === type; - } - function removeChild(parentInstance, child) { - parentInstance.removeChild(child); - } - function removeChildFromContainer(container, child) { - (9 === container.nodeType ? container.body : "HTML" === container.nodeName ? container.ownerDocument.body : container).removeChild(child); - } - function clearHydrationBoundary(parentInstance, hydrationInstance) { - var node = hydrationInstance, depth = 0; - do { - var nextNode = node.nextSibling; - parentInstance.removeChild(node); - if (nextNode && 8 === nextNode.nodeType) if (node = nextNode.data, node === SUSPENSE_END_DATA || node === ACTIVITY_END_DATA) { - if (0 === depth) { - parentInstance.removeChild(nextNode); - retryIfBlockedOn(hydrationInstance); - return; - } - depth--; - } else if (node === SUSPENSE_START_DATA || node === SUSPENSE_PENDING_START_DATA || node === SUSPENSE_QUEUED_START_DATA || node === SUSPENSE_FALLBACK_START_DATA || node === ACTIVITY_START_DATA) depth++; - else if (node === PREAMBLE_CONTRIBUTION_HTML) releaseSingletonInstance(parentInstance.ownerDocument.documentElement); - else if (node === PREAMBLE_CONTRIBUTION_HEAD) { - node = parentInstance.ownerDocument.head; - releaseSingletonInstance(node); - for(var node$jscomp$0 = node.firstChild; node$jscomp$0;){ - var nextNode$jscomp$0 = node$jscomp$0.nextSibling, nodeName = node$jscomp$0.nodeName; - node$jscomp$0[internalHoistableMarker] || "SCRIPT" === nodeName || "STYLE" === nodeName || "LINK" === nodeName && "stylesheet" === node$jscomp$0.rel.toLowerCase() || node.removeChild(node$jscomp$0); - node$jscomp$0 = nextNode$jscomp$0; - } - } else node === PREAMBLE_CONTRIBUTION_BODY && releaseSingletonInstance(parentInstance.ownerDocument.body); - node = nextNode; - }while (node) - retryIfBlockedOn(hydrationInstance); - } - function hideOrUnhideDehydratedBoundary(suspenseInstance, isHidden) { - var node = suspenseInstance; - suspenseInstance = 0; - do { - var nextNode = node.nextSibling; - 1 === node.nodeType ? isHidden ? (node._stashedDisplay = node.style.display, node.style.display = "none") : (node.style.display = node._stashedDisplay || "", "" === node.getAttribute("style") && node.removeAttribute("style")) : 3 === node.nodeType && (isHidden ? (node._stashedText = node.nodeValue, node.nodeValue = "") : node.nodeValue = node._stashedText || ""); - if (nextNode && 8 === nextNode.nodeType) if (node = nextNode.data, node === SUSPENSE_END_DATA) if (0 === suspenseInstance) break; - else suspenseInstance--; - else node !== SUSPENSE_START_DATA && node !== SUSPENSE_PENDING_START_DATA && node !== SUSPENSE_QUEUED_START_DATA && node !== SUSPENSE_FALLBACK_START_DATA || suspenseInstance++; - node = nextNode; - }while (node) - } - function hideDehydratedBoundary(suspenseInstance) { - hideOrUnhideDehydratedBoundary(suspenseInstance, !0); - } - function hideInstance(instance) { - instance = instance.style; - "function" === typeof instance.setProperty ? instance.setProperty("display", "none", "important") : instance.display = "none"; - } - function hideTextInstance(textInstance) { - textInstance.nodeValue = ""; - } - function unhideDehydratedBoundary(dehydratedInstance) { - hideOrUnhideDehydratedBoundary(dehydratedInstance, !1); - } - function unhideInstance(instance, props) { - props = props[STYLE]; - props = void 0 !== props && null !== props && props.hasOwnProperty("display") ? props.display : null; - instance.style.display = null == props || "boolean" === typeof props ? "" : ("" + props).trim(); - } - function unhideTextInstance(textInstance, text) { - textInstance.nodeValue = text; - } - function warnForBlockInsideInline(instance) { - for(var nextNode = instance.firstChild; null != nextNode;){ - if (1 === nextNode.nodeType && "block" === getComputedStyle(nextNode).display) { - var fiber = getInstanceFromNode(nextNode) || getInstanceFromNode(instance); - runWithFiberInDEV(fiber, function(parentTag, childTag) { - console.error("You're about to start a <ViewTransition> around a display: inline element <%s>, which itself has a display: block element <%s> inside it. This might trigger a bug in Safari which causes the View Transition to be skipped with a duplicate name error.\nhttps://bugs.webkit.org/show_bug.cgi?id=290923", parentTag.toLocaleLowerCase(), childTag.toLocaleLowerCase()); - }, instance.tagName, nextNode.tagName); - break; - } - if (null != nextNode.firstChild) nextNode = nextNode.firstChild; - else { - if (nextNode === instance) break; - for(; null == nextNode.nextSibling && null != nextNode.parentNode && nextNode.parentNode !== instance;)nextNode = nextNode.parentNode; - nextNode = nextNode.nextSibling; - } - } - } - function applyViewTransitionName(instance, name, className) { - name = CSS.escape(name) !== name ? "r-" + btoa(name).replace(/=/g, "") : name; - instance.style.viewTransitionName = name; - null != className && (instance.style.viewTransitionClass = className); - className = getComputedStyle(instance); - if ("inline" === className.display) { - name = instance.getClientRects(); - if (1 === name.length) var JSCompiler_inline_result = 1; - else for(var i = JSCompiler_inline_result = 0; i < name.length; i++){ - var rect = name[i]; - 0 < rect.width && 0 < rect.height && JSCompiler_inline_result++; - } - 1 === JSCompiler_inline_result ? (instance = instance.style, instance.display = 1 === name.length ? "inline-block" : "block", instance.marginTop = "-" + className.paddingTop, instance.marginBottom = "-" + className.paddingBottom) : warnForBlockInsideInline(instance); - } - } - function restoreViewTransitionName(instance, props) { - instance = instance.style; - props = props[STYLE]; - var viewTransitionName = null != props ? props.hasOwnProperty("viewTransitionName") ? props.viewTransitionName : props.hasOwnProperty("view-transition-name") ? props["view-transition-name"] : null : null; - instance.viewTransitionName = null == viewTransitionName || "boolean" === typeof viewTransitionName ? "" : ("" + viewTransitionName).trim(); - viewTransitionName = null != props ? props.hasOwnProperty("viewTransitionClass") ? props.viewTransitionClass : props.hasOwnProperty("view-transition-class") ? props["view-transition-class"] : null : null; - instance.viewTransitionClass = null == viewTransitionName || "boolean" === typeof viewTransitionName ? "" : ("" + viewTransitionName).trim(); - "inline-block" === instance.display && (null == props ? instance.display = instance.margin = "" : (viewTransitionName = props.display, instance.display = null == viewTransitionName || "boolean" === typeof viewTransitionName ? "" : viewTransitionName, viewTransitionName = props.margin, null != viewTransitionName ? instance.margin = viewTransitionName : (viewTransitionName = props.hasOwnProperty("marginTop") ? props.marginTop : props["margin-top"], instance.marginTop = null == viewTransitionName || "boolean" === typeof viewTransitionName ? "" : viewTransitionName, props = props.hasOwnProperty("marginBottom") ? props.marginBottom : props["margin-bottom"], instance.marginBottom = null == props || "boolean" === typeof props ? "" : props))); - } - function createMeasurement(rect, computedStyle, element) { - element = element.ownerDocument.defaultView; - return { - rect: rect, - abs: "absolute" === computedStyle.position || "fixed" === computedStyle.position, - clip: "none" !== computedStyle.clipPath || "visible" !== computedStyle.overflow || "none" !== computedStyle.filter || "none" !== computedStyle.mask || "none" !== computedStyle.mask || "0px" !== computedStyle.borderRadius, - view: 0 <= rect.bottom && 0 <= rect.right && rect.top <= element.innerHeight && rect.left <= element.innerWidth - }; - } - function measureInstance(instance) { - var rect = instance.getBoundingClientRect(), computedStyle = getComputedStyle(instance); - return createMeasurement(rect, computedStyle, instance); - } - function measureClonedInstance(instance) { - var measuredRect = instance.getBoundingClientRect(); - measuredRect = new DOMRect(measuredRect.x + 2e4, measuredRect.y + 2e4, measuredRect.width, measuredRect.height); - var computedStyle = getComputedStyle(instance); - return createMeasurement(measuredRect, computedStyle, instance); - } - function customizeViewTransitionError(error, ignoreAbort) { - if ("object" === typeof error && null !== error) switch(error.name){ - case "TimeoutError": - return Error("A ViewTransition timed out because a Navigation stalled. This can happen if a Navigation is blocked on React itself. Such as if it's resolved inside useEffect. This can be solved by moving the resolution to useLayoutEffect.", { - cause: error - }); - case "AbortError": - return ignoreAbort ? null : Error("A ViewTransition was aborted early. This might be because you have other View Transition libraries on the page and only one can run at a time. To avoid this, use only React's built-in <ViewTransition> to coordinate.", { - cause: error - }); - case "InvalidStateError": - if ("View transition was skipped because document visibility state is hidden." === error.message || "Skipping view transition because document visibility state has become hidden." === error.message || "Skipping view transition because viewport size changed." === error.message || "Transition was aborted because of invalid state" === error.message) return null; - } - return error; - } - function forceLayout(ownerDocument) { - return ownerDocument.documentElement.clientHeight; - } - function waitForImageToLoad(resolve) { - this.addEventListener("load", resolve); - this.addEventListener("error", resolve); - } - function startViewTransition(suspendedState, rootContainer, transitionTypes, mutationCallback, layoutCallback, afterMutationCallback, spawnedWorkCallback, passiveCallback, errorCallback, blockedCallback, finishedAnimation) { - var ownerDocument = 9 === rootContainer.nodeType ? rootContainer : rootContainer.ownerDocument; - try { - var transition = ownerDocument.startViewTransition({ - update: function() { - var ownerWindow = ownerDocument.defaultView, pendingNavigation = ownerWindow.navigation && ownerWindow.navigation.transition, previousFontLoadingStatus = ownerDocument.fonts.status; - mutationCallback(); - var blockingPromises = []; - "loaded" === previousFontLoadingStatus && (forceLayout(ownerDocument), "loading" === ownerDocument.fonts.status && blockingPromises.push(ownerDocument.fonts.ready)); - previousFontLoadingStatus = blockingPromises.length; - if (null !== suspendedState) for(var suspenseyImages = suspendedState.suspenseyImages, imgBytes = 0, i = 0; i < suspenseyImages.length; i++){ - var suspenseyImage = suspenseyImages[i]; - if (!suspenseyImage.complete) { - var rect = suspenseyImage.getBoundingClientRect(); - if (0 < rect.bottom && 0 < rect.right && rect.top < ownerWindow.innerHeight && rect.left < ownerWindow.innerWidth) { - imgBytes += estimateImageBytes(suspenseyImage); - if (imgBytes > estimatedBytesWithinLimit) { - blockingPromises.length = previousFontLoadingStatus; - break; - } - suspenseyImage = new Promise(waitForImageToLoad.bind(suspenseyImage)); - blockingPromises.push(suspenseyImage); - } - } - } - if (0 < blockingPromises.length) return blockedCallback(0 < previousFontLoadingStatus ? blockingPromises.length > previousFontLoadingStatus ? "Waiting on Fonts and Images" : "Waiting on Fonts" : "Waiting on Images"), ownerWindow = Promise.race([ - Promise.all(blockingPromises), - new Promise(function(resolve) { - return setTimeout(resolve, SUSPENSEY_FONT_AND_IMAGE_TIMEOUT); - }) - ]).then(layoutCallback, layoutCallback), (pendingNavigation ? Promise.allSettled([ - pendingNavigation.finished, - ownerWindow - ]) : ownerWindow).then(afterMutationCallback, afterMutationCallback); - layoutCallback(); - if (pendingNavigation) return pendingNavigation.finished.then(afterMutationCallback, afterMutationCallback); - afterMutationCallback(); - }, - types: transitionTypes - }); - ownerDocument.__reactViewTransition = transition; - var viewTransitionAnimations = []; - transition.ready.then(function() { - for(var animations = ownerDocument.documentElement.getAnimations({ - subtree: !0 - }), i = 0; i < animations.length; i++){ - var animation = animations[i], effect = animation.effect, pseudoElement = effect.pseudoElement; - if (null != pseudoElement && pseudoElement.startsWith("::view-transition")) { - viewTransitionAnimations.push(animation); - animation = effect.getKeyframes(); - for(var height = pseudoElement = void 0, unchangedDimensions = !0, j = 0; j < animation.length; j++){ - var keyframe = animation[j], w = keyframe.width; - if (void 0 === pseudoElement) pseudoElement = w; - else if (pseudoElement !== w) { - unchangedDimensions = !1; - break; - } - w = keyframe.height; - if (void 0 === height) height = w; - else if (height !== w) { - unchangedDimensions = !1; - break; - } - delete keyframe.width; - delete keyframe.height; - "none" === keyframe.transform && delete keyframe.transform; - } - unchangedDimensions && void 0 !== pseudoElement && void 0 !== height && (effect.setKeyframes(animation), unchangedDimensions = getComputedStyle(effect.target, effect.pseudoElement), unchangedDimensions.width !== pseudoElement || unchangedDimensions.height !== height) && (unchangedDimensions = animation[0], unchangedDimensions.width = pseudoElement, unchangedDimensions.height = height, unchangedDimensions = animation[animation.length - 1], unchangedDimensions.width = pseudoElement, unchangedDimensions.height = height, effect.setKeyframes(animation)); - } - } - spawnedWorkCallback(); - }, function(error) { - ownerDocument.__reactViewTransition === transition && (ownerDocument.__reactViewTransition = null); - try { - error = customizeViewTransitionError(error, !1), null !== error && errorCallback(error); - } finally{ - mutationCallback(), layoutCallback(), spawnedWorkCallback(), finishedAnimation(); - } - }); - transition.finished.finally(function() { - for(var i = 0; i < viewTransitionAnimations.length; i++)viewTransitionAnimations[i].cancel(); - ownerDocument.__reactViewTransition === transition && (ownerDocument.__reactViewTransition = null); - finishedAnimation(); - passiveCallback(); - }); - return transition; - } catch (x) { - return mutationCallback(), layoutCallback(), finishedAnimation(), spawnedWorkCallback(), null; - } - } - function ViewTransitionPseudoElement(pseudo, name) { - this._scope = document.documentElement; - this._selector = "::view-transition-" + pseudo + "(" + name + ")"; - } - function createViewTransitionInstance(name) { - return { - name: name, - group: new ViewTransitionPseudoElement("group", name), - imagePair: new ViewTransitionPseudoElement("image-pair", name), - old: new ViewTransitionPseudoElement("old", name), - new: new ViewTransitionPseudoElement("new", name) - }; - } - function FragmentInstance(fragmentFiber) { - this._fragmentFiber = fragmentFiber; - this._observers = this._eventListeners = null; - } - function addEventListenerToChild(child, type, listener, optionsOrUseCapture) { - getInstanceFromHostFiber(child).addEventListener(type, listener, optionsOrUseCapture); - return !1; - } - function removeEventListenerFromChild(child, type, listener, optionsOrUseCapture) { - getInstanceFromHostFiber(child).removeEventListener(type, listener, optionsOrUseCapture); - return !1; - } - function normalizeListenerOptions(opts) { - return null == opts ? "0" : "boolean" === typeof opts ? "c=" + (opts ? "1" : "0") : "c=" + (opts.capture ? "1" : "0") + "&o=" + (opts.once ? "1" : "0") + "&p=" + (opts.passive ? "1" : "0"); - } - function indexOfEventListener(eventListeners, type, listener, optionsOrUseCapture) { - for(var i = 0; i < eventListeners.length; i++){ - var item = eventListeners[i]; - if (item.type === type && item.listener === listener && normalizeListenerOptions(item.optionsOrUseCapture) === normalizeListenerOptions(optionsOrUseCapture)) return i; - } - return -1; - } - function setFocusOnFiberIfFocusable(fiber, focusOptions) { - fiber = getInstanceFromHostFiber(fiber); - return setFocusIfFocusable(fiber, focusOptions); - } - function collectChildren(child, collection) { - collection.push(child); - return !1; - } - function blurActiveElementWithinFragment(child) { - child = getInstanceFromHostFiber(child); - return child === child.ownerDocument.activeElement ? (child.blur(), !0) : !1; - } - function observeChild(child, observer) { - child = getInstanceFromHostFiber(child); - observer.observe(child); - return !1; - } - function unobserveChild(child, observer) { - child = getInstanceFromHostFiber(child); - observer.unobserve(child); - return !1; - } - function collectClientRects(child, rects) { - child = getInstanceFromHostFiber(child); - rects.push.apply(rects, child.getClientRects()); - return !1; - } - function validateDocumentPositionWithFiberTree(documentPosition, fragmentFiber, precedingBoundaryFiber, followingBoundaryFiber, otherNode) { - var otherFiber = getClosestInstanceFromNode(otherNode); - if (documentPosition & Node.DOCUMENT_POSITION_CONTAINED_BY) { - if (precedingBoundaryFiber = !!otherFiber) a: { - for(; null !== otherFiber;){ - if (7 === otherFiber.tag && (otherFiber === fragmentFiber || otherFiber.alternate === fragmentFiber)) { - precedingBoundaryFiber = !0; - break a; - } - otherFiber = otherFiber.return; - } - precedingBoundaryFiber = !1; - } - return precedingBoundaryFiber; - } - if (documentPosition & Node.DOCUMENT_POSITION_CONTAINS) { - if (null === otherFiber) return otherFiber = otherNode.ownerDocument, otherNode === otherFiber || otherNode === otherFiber.body; - a: { - otherFiber = fragmentFiber; - for(fragmentFiber = getFragmentParentHostFiber(fragmentFiber); null !== otherFiber;){ - if (!(5 !== otherFiber.tag && 3 !== otherFiber.tag || otherFiber !== fragmentFiber && otherFiber.alternate !== fragmentFiber)) { - otherFiber = !0; - break a; - } - otherFiber = otherFiber.return; - } - otherFiber = !1; - } - return otherFiber; - } - return documentPosition & Node.DOCUMENT_POSITION_PRECEDING ? ((fragmentFiber = !!otherFiber) && !(fragmentFiber = otherFiber === precedingBoundaryFiber) && (fragmentFiber = getLowestCommonAncestor(precedingBoundaryFiber, otherFiber, getParentForFragmentAncestors), null === fragmentFiber ? fragmentFiber = !1 : (traverseVisibleHostChildren(fragmentFiber, !0, isFiberPrecedingCheck, otherFiber, precedingBoundaryFiber), otherFiber = searchTarget, searchTarget = null, fragmentFiber = null !== otherFiber)), fragmentFiber) : documentPosition & Node.DOCUMENT_POSITION_FOLLOWING ? ((fragmentFiber = !!otherFiber) && !(fragmentFiber = otherFiber === followingBoundaryFiber) && (fragmentFiber = getLowestCommonAncestor(followingBoundaryFiber, otherFiber, getParentForFragmentAncestors), null === fragmentFiber ? fragmentFiber = !1 : (traverseVisibleHostChildren(fragmentFiber, !0, isFiberFollowingCheck, otherFiber, followingBoundaryFiber), otherFiber = searchTarget, searchBoundary = searchTarget = null, fragmentFiber = null !== otherFiber)), fragmentFiber) : !1; - } - function commitNewChildToFragmentInstance(childInstance, fragmentInstance) { - var eventListeners = fragmentInstance._eventListeners; - if (null !== eventListeners) for(var i = 0; i < eventListeners.length; i++){ - var _eventListeners$i2 = eventListeners[i]; - childInstance.addEventListener(_eventListeners$i2.type, _eventListeners$i2.listener, _eventListeners$i2.optionsOrUseCapture); - } - null !== fragmentInstance._observers && fragmentInstance._observers.forEach(function(observer) { - observer.observe(childInstance); - }); - } - function clearContainerSparingly(container) { - var nextNode = container.firstChild; - nextNode && 10 === nextNode.nodeType && (nextNode = nextNode.nextSibling); - for(; nextNode;){ - var node = nextNode; - nextNode = nextNode.nextSibling; - switch(node.nodeName){ - case "HTML": - case "HEAD": - case "BODY": - clearContainerSparingly(node); - detachDeletedInstance(node); - continue; - case "SCRIPT": - case "STYLE": - continue; - case "LINK": - if ("stylesheet" === node.rel.toLowerCase()) continue; - } - container.removeChild(node); - } - } - function canHydrateInstance(instance, type, props, inRootOrSingleton) { - for(; 1 === instance.nodeType;){ - var anyProps = props; - if (instance.nodeName.toLowerCase() !== type.toLowerCase()) { - if (!inRootOrSingleton && ("INPUT" !== instance.nodeName || "hidden" !== instance.type)) break; - } else if (!inRootOrSingleton) if ("input" === type && "hidden" === instance.type) { - checkAttributeStringCoercion(anyProps.name, "name"); - var name = null == anyProps.name ? null : "" + anyProps.name; - if ("hidden" === anyProps.type && instance.getAttribute("name") === name) return instance; - } else return instance; - else if (!instance[internalHoistableMarker]) switch(type){ - case "meta": - if (!instance.hasAttribute("itemprop")) break; - return instance; - case "link": - name = instance.getAttribute("rel"); - if ("stylesheet" === name && instance.hasAttribute("data-precedence")) break; - else if (name !== anyProps.rel || instance.getAttribute("href") !== (null == anyProps.href || "" === anyProps.href ? null : anyProps.href) || instance.getAttribute("crossorigin") !== (null == anyProps.crossOrigin ? null : anyProps.crossOrigin) || instance.getAttribute("title") !== (null == anyProps.title ? null : anyProps.title)) break; - return instance; - case "style": - if (instance.hasAttribute("data-precedence")) break; - return instance; - case "script": - name = instance.getAttribute("src"); - if ((name !== (null == anyProps.src ? null : anyProps.src) || instance.getAttribute("type") !== (null == anyProps.type ? null : anyProps.type) || instance.getAttribute("crossorigin") !== (null == anyProps.crossOrigin ? null : anyProps.crossOrigin)) && name && instance.hasAttribute("async") && !instance.hasAttribute("itemprop")) break; - return instance; - default: - return instance; - } - instance = getNextHydratable(instance.nextSibling); - if (null === instance) break; - } - return null; - } - function canHydrateTextInstance(instance, text, inRootOrSingleton) { - if ("" === text) return null; - for(; 3 !== instance.nodeType;){ - if ((1 !== instance.nodeType || "INPUT" !== instance.nodeName || "hidden" !== instance.type) && !inRootOrSingleton) return null; - instance = getNextHydratable(instance.nextSibling); - if (null === instance) return null; - } - return instance; - } - function canHydrateHydrationBoundary(instance, inRootOrSingleton) { - for(; 8 !== instance.nodeType;){ - if ((1 !== instance.nodeType || "INPUT" !== instance.nodeName || "hidden" !== instance.type) && !inRootOrSingleton) return null; - instance = getNextHydratable(instance.nextSibling); - if (null === instance) return null; - } - return instance; - } - function isSuspenseInstancePending(instance) { - return instance.data === SUSPENSE_PENDING_START_DATA || instance.data === SUSPENSE_QUEUED_START_DATA; - } - function isSuspenseInstanceFallback(instance) { - return instance.data === SUSPENSE_FALLBACK_START_DATA || instance.data === SUSPENSE_PENDING_START_DATA && instance.ownerDocument.readyState !== DOCUMENT_READY_STATE_LOADING; - } - function registerSuspenseInstanceRetry(instance, callback) { - var ownerDocument = instance.ownerDocument; - if (instance.data === SUSPENSE_QUEUED_START_DATA) instance._reactRetry = callback; - else if (instance.data !== SUSPENSE_PENDING_START_DATA || ownerDocument.readyState !== DOCUMENT_READY_STATE_LOADING) callback(); - else { - var listener = function() { - callback(); - ownerDocument.removeEventListener("DOMContentLoaded", listener); - }; - ownerDocument.addEventListener("DOMContentLoaded", listener); - instance._reactRetry = listener; - } - } - function getNextHydratable(node) { - for(; null != node; node = node.nextSibling){ - var nodeType = node.nodeType; - if (1 === nodeType || 3 === nodeType) break; - if (8 === nodeType) { - nodeType = node.data; - if (nodeType === SUSPENSE_START_DATA || nodeType === SUSPENSE_FALLBACK_START_DATA || nodeType === SUSPENSE_PENDING_START_DATA || nodeType === SUSPENSE_QUEUED_START_DATA || nodeType === ACTIVITY_START_DATA || nodeType === FORM_STATE_IS_MATCHING || nodeType === FORM_STATE_IS_NOT_MATCHING) break; - if (nodeType === SUSPENSE_END_DATA || nodeType === ACTIVITY_END_DATA) return null; - } - } - return node; - } - function describeHydratableInstanceForDevWarnings(instance) { - if (1 === instance.nodeType) { - for(var JSCompiler_temp_const = instance.nodeName.toLowerCase(), serverDifferences = {}, attributes = instance.attributes, i = 0; i < attributes.length; i++){ - var attr = attributes[i]; - serverDifferences[getPropNameFromAttributeName(attr.name)] = "style" === attr.name.toLowerCase() ? getStylesObjectFromElement(instance) : attr.value; - } - return { - type: JSCompiler_temp_const, - props: serverDifferences - }; - } - return 8 === instance.nodeType ? instance.data === ACTIVITY_START_DATA ? { - type: "Activity", - props: {} - } : { - type: "Suspense", - props: {} - } : instance.nodeValue; - } - function diffHydratedTextForDevWarnings(textInstance, text, parentProps) { - return null === parentProps || !0 !== parentProps[SUPPRESS_HYDRATION_WARNING] ? (textInstance.nodeValue === text ? textInstance = null : (text = normalizeMarkupForTextOrAttribute(text), textInstance = normalizeMarkupForTextOrAttribute(textInstance.nodeValue) === text ? null : textInstance.nodeValue), textInstance) : null; - } - function getNextHydratableInstanceAfterHydrationBoundary(hydrationInstance) { - hydrationInstance = hydrationInstance.nextSibling; - for(var depth = 0; hydrationInstance;){ - if (8 === hydrationInstance.nodeType) { - var data = hydrationInstance.data; - if (data === SUSPENSE_END_DATA || data === ACTIVITY_END_DATA) { - if (0 === depth) return getNextHydratable(hydrationInstance.nextSibling); - depth--; - } else data !== SUSPENSE_START_DATA && data !== SUSPENSE_FALLBACK_START_DATA && data !== SUSPENSE_PENDING_START_DATA && data !== SUSPENSE_QUEUED_START_DATA && data !== ACTIVITY_START_DATA || depth++; - } - hydrationInstance = hydrationInstance.nextSibling; - } - return null; - } - function getParentHydrationBoundary(targetInstance) { - targetInstance = targetInstance.previousSibling; - for(var depth = 0; targetInstance;){ - if (8 === targetInstance.nodeType) { - var data = targetInstance.data; - if (data === SUSPENSE_START_DATA || data === SUSPENSE_FALLBACK_START_DATA || data === SUSPENSE_PENDING_START_DATA || data === SUSPENSE_QUEUED_START_DATA || data === ACTIVITY_START_DATA) { - if (0 === depth) return targetInstance; - depth--; - } else data !== SUSPENSE_END_DATA && data !== ACTIVITY_END_DATA || depth++; - } - targetInstance = targetInstance.previousSibling; - } - return null; - } - function commitHydratedContainer(container) { - retryIfBlockedOn(container); - } - function commitHydratedActivityInstance(activityInstance) { - retryIfBlockedOn(activityInstance); - } - function commitHydratedSuspenseInstance(suspenseInstance) { - retryIfBlockedOn(suspenseInstance); - } - function setFocusIfFocusable(node, focusOptions) { - function handleFocus() { - didFocus = !0; - } - var didFocus = !1; - try { - node.addEventListener("focus", handleFocus), (node.focus || HTMLElement.prototype.focus).call(node, focusOptions); - } finally{ - node.removeEventListener("focus", handleFocus); - } - return didFocus; - } - function resolveSingletonInstance(type, props, rootContainerInstance, hostContext, validateDOMNestingDev) { - validateDOMNestingDev && validateDOMNesting(type, hostContext.ancestorInfo); - props = getOwnerDocumentFromRootContainer(rootContainerInstance); - switch(type){ - case "html": - type = props.documentElement; - if (!type) throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page."); - return type; - case "head": - type = props.head; - if (!type) throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page."); - return type; - case "body": - type = props.body; - if (!type) throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page."); - return type; - default: - throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React."); - } - } - function acquireSingletonInstance(type, props, instance, internalInstanceHandle) { - if (!instance[internalContainerInstanceKey] && getInstanceFromNode(instance)) { - var tagName = instance.tagName.toLowerCase(); - console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.", tagName, tagName, tagName); - } - switch(type){ - case "html": - case "head": - case "body": - break; - default: - console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React."); - } - for(tagName = instance.attributes; tagName.length;)instance.removeAttributeNode(tagName[0]); - setInitialProperties(instance, type, props); - instance[internalInstanceKey] = internalInstanceHandle; - instance[internalPropsKey] = props; - } - function releaseSingletonInstance(instance) { - for(var attributes = instance.attributes; attributes.length;)instance.removeAttributeNode(attributes[0]); - detachDeletedInstance(instance); - } - function getHoistableRoot(container) { - return "function" === typeof container.getRootNode ? container.getRootNode() : 9 === container.nodeType ? container : container.ownerDocument; - } - function preconnectAs(rel, href, crossOrigin) { - var ownerDocument = globalDocument; - if (ownerDocument && "string" === typeof href && href) { - var limitedEscapedHref = escapeSelectorAttributeValueInsideDoubleQuotes(href); - limitedEscapedHref = 'link[rel="' + rel + '"][href="' + limitedEscapedHref + '"]'; - "string" === typeof crossOrigin && (limitedEscapedHref += '[crossorigin="' + crossOrigin + '"]'); - preconnectsSet.has(limitedEscapedHref) || (preconnectsSet.add(limitedEscapedHref), rel = { - rel: rel, - crossOrigin: crossOrigin, - href: href - }, null === ownerDocument.querySelector(limitedEscapedHref) && (href = ownerDocument.createElement("link"), setInitialProperties(href, "link", rel), markNodeAsHoistable(href), ownerDocument.head.appendChild(href))); - } - } - function getResource(type, currentProps, pendingProps, currentResource) { - var resourceRoot = (resourceRoot = rootInstanceStackCursor.current) ? getHoistableRoot(resourceRoot) : null; - if (!resourceRoot) throw Error('"resourceRoot" was expected to exist. This is a bug in React.'); - switch(type){ - case "meta": - case "title": - return null; - case "style": - return "string" === typeof pendingProps.precedence && "string" === typeof pendingProps.href ? (pendingProps = getStyleKey(pendingProps.href), currentProps = getResourcesFromRoot(resourceRoot).hoistableStyles, currentResource = currentProps.get(pendingProps), currentResource || (currentResource = { - type: "style", - instance: null, - count: 0, - state: null - }, currentProps.set(pendingProps, currentResource)), currentResource) : { - type: "void", - instance: null, - count: 0, - state: null - }; - case "link": - if ("stylesheet" === pendingProps.rel && "string" === typeof pendingProps.href && "string" === typeof pendingProps.precedence) { - type = getStyleKey(pendingProps.href); - var _styles = getResourcesFromRoot(resourceRoot).hoistableStyles, _resource = _styles.get(type); - if (!_resource && (resourceRoot = resourceRoot.ownerDocument || resourceRoot, _resource = { - type: "stylesheet", - instance: null, - count: 0, - state: { - loading: NotLoaded, - preload: null - } - }, _styles.set(type, _resource), (_styles = resourceRoot.querySelector(getStylesheetSelectorFromKey(type))) && !_styles._p && (_resource.instance = _styles, _resource.state.loading = Loaded | Inserted), !preloadPropsMap.has(type))) { - var preloadProps = { - rel: "preload", - as: "style", - href: pendingProps.href, - crossOrigin: pendingProps.crossOrigin, - integrity: pendingProps.integrity, - media: pendingProps.media, - hrefLang: pendingProps.hrefLang, - referrerPolicy: pendingProps.referrerPolicy - }; - preloadPropsMap.set(type, preloadProps); - _styles || preloadStylesheet(resourceRoot, type, preloadProps, _resource.state); - } - if (currentProps && null === currentResource) throw pendingProps = "\n\n - " + describeLinkForResourceErrorDEV(currentProps) + "\n + " + describeLinkForResourceErrorDEV(pendingProps), Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key." + pendingProps); - return _resource; - } - if (currentProps && null !== currentResource) throw pendingProps = "\n\n - " + describeLinkForResourceErrorDEV(currentProps) + "\n + " + describeLinkForResourceErrorDEV(pendingProps), Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key." + pendingProps); - return null; - case "script": - return currentProps = pendingProps.async, pendingProps = pendingProps.src, "string" === typeof pendingProps && currentProps && "function" !== typeof currentProps && "symbol" !== typeof currentProps ? (pendingProps = getScriptKey(pendingProps), currentProps = getResourcesFromRoot(resourceRoot).hoistableScripts, currentResource = currentProps.get(pendingProps), currentResource || (currentResource = { - type: "script", - instance: null, - count: 0, - state: null - }, currentProps.set(pendingProps, currentResource)), currentResource) : { - type: "void", - instance: null, - count: 0, - state: null - }; - default: - throw Error('getResource encountered a type it did not expect: "' + type + '". this is a bug in React.'); - } - } - function describeLinkForResourceErrorDEV(props) { - var describedProps = 0, description = "<link"; - "string" === typeof props.rel ? (describedProps++, description += ' rel="' + props.rel + '"') : hasOwnProperty.call(props, "rel") && (describedProps++, description += ' rel="' + (null === props.rel ? "null" : "invalid type " + typeof props.rel) + '"'); - "string" === typeof props.href ? (describedProps++, description += ' href="' + props.href + '"') : hasOwnProperty.call(props, "href") && (describedProps++, description += ' href="' + (null === props.href ? "null" : "invalid type " + typeof props.href) + '"'); - "string" === typeof props.precedence ? (describedProps++, description += ' precedence="' + props.precedence + '"') : hasOwnProperty.call(props, "precedence") && (describedProps++, description += " precedence={" + (null === props.precedence ? "null" : "invalid type " + typeof props.precedence) + "}"); - Object.getOwnPropertyNames(props).length > describedProps && (description += " ..."); - return description + " />"; - } - function getStyleKey(href) { - return 'href="' + escapeSelectorAttributeValueInsideDoubleQuotes(href) + '"'; - } - function getStylesheetSelectorFromKey(key) { - return 'link[rel="stylesheet"][' + key + "]"; - } - function stylesheetPropsFromRawProps(rawProps) { - return assign({}, rawProps, { - "data-precedence": rawProps.precedence, - precedence: null - }); - } - function preloadStylesheet(ownerDocument, key, preloadProps, state) { - ownerDocument.querySelector('link[rel="preload"][as="style"][' + key + "]") ? state.loading = Loaded : (key = ownerDocument.createElement("link"), state.preload = key, key.addEventListener("load", function() { - return state.loading |= Loaded; - }), key.addEventListener("error", function() { - return state.loading |= Errored; - }), setInitialProperties(key, "link", preloadProps), markNodeAsHoistable(key), ownerDocument.head.appendChild(key)); - } - function getScriptKey(src) { - return '[src="' + escapeSelectorAttributeValueInsideDoubleQuotes(src) + '"]'; - } - function getScriptSelectorFromKey(key) { - return "script[async]" + key; - } - function acquireResource(hoistableRoot, resource, props) { - resource.count++; - if (null === resource.instance) switch(resource.type){ - case "style": - var instance = hoistableRoot.querySelector('style[data-href~="' + escapeSelectorAttributeValueInsideDoubleQuotes(props.href) + '"]'); - if (instance) return resource.instance = instance, markNodeAsHoistable(instance), instance; - var styleProps = assign({}, props, { - "data-href": props.href, - "data-precedence": props.precedence, - href: null, - precedence: null - }); - instance = (hoistableRoot.ownerDocument || hoistableRoot).createElement("style"); - markNodeAsHoistable(instance); - setInitialProperties(instance, "style", styleProps); - insertStylesheet(instance, props.precedence, hoistableRoot); - return resource.instance = instance; - case "stylesheet": - styleProps = getStyleKey(props.href); - var _instance = hoistableRoot.querySelector(getStylesheetSelectorFromKey(styleProps)); - if (_instance) return resource.state.loading |= Inserted, resource.instance = _instance, markNodeAsHoistable(_instance), _instance; - instance = stylesheetPropsFromRawProps(props); - (styleProps = preloadPropsMap.get(styleProps)) && adoptPreloadPropsForStylesheet(instance, styleProps); - _instance = (hoistableRoot.ownerDocument || hoistableRoot).createElement("link"); - markNodeAsHoistable(_instance); - var linkInstance = _instance; - linkInstance._p = new Promise(function(resolve, reject) { - linkInstance.onload = resolve; - linkInstance.onerror = reject; - }); - setInitialProperties(_instance, "link", instance); - resource.state.loading |= Inserted; - insertStylesheet(_instance, props.precedence, hoistableRoot); - return resource.instance = _instance; - case "script": - _instance = getScriptKey(props.src); - if (styleProps = hoistableRoot.querySelector(getScriptSelectorFromKey(_instance))) return resource.instance = styleProps, markNodeAsHoistable(styleProps), styleProps; - instance = props; - if (styleProps = preloadPropsMap.get(_instance)) instance = assign({}, props), adoptPreloadPropsForScript(instance, styleProps); - hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot; - styleProps = hoistableRoot.createElement("script"); - markNodeAsHoistable(styleProps); - setInitialProperties(styleProps, "link", instance); - hoistableRoot.head.appendChild(styleProps); - return resource.instance = styleProps; - case "void": - return null; - default: - throw Error('acquireResource encountered a resource type it did not expect: "' + resource.type + '". this is a bug in React.'); - } - else "stylesheet" === resource.type && (resource.state.loading & Inserted) === NotLoaded && (instance = resource.instance, resource.state.loading |= Inserted, insertStylesheet(instance, props.precedence, hoistableRoot)); - return resource.instance; - } - function insertStylesheet(instance, precedence, root) { - for(var nodes = root.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'), last = nodes.length ? nodes[nodes.length - 1] : null, prior = last, i = 0; i < nodes.length; i++){ - var node = nodes[i]; - if (node.dataset.precedence === precedence) prior = node; - else if (prior !== last) break; - } - prior ? prior.parentNode.insertBefore(instance, prior.nextSibling) : (precedence = 9 === root.nodeType ? root.head : root, precedence.insertBefore(instance, precedence.firstChild)); - } - function adoptPreloadPropsForStylesheet(stylesheetProps, preloadProps) { - null == stylesheetProps.crossOrigin && (stylesheetProps.crossOrigin = preloadProps.crossOrigin); - null == stylesheetProps.referrerPolicy && (stylesheetProps.referrerPolicy = preloadProps.referrerPolicy); - null == stylesheetProps.title && (stylesheetProps.title = preloadProps.title); - } - function adoptPreloadPropsForScript(scriptProps, preloadProps) { - null == scriptProps.crossOrigin && (scriptProps.crossOrigin = preloadProps.crossOrigin); - null == scriptProps.referrerPolicy && (scriptProps.referrerPolicy = preloadProps.referrerPolicy); - null == scriptProps.integrity && (scriptProps.integrity = preloadProps.integrity); - } - function getHydratableHoistableCache(type, keyAttribute, ownerDocument) { - if (null === tagCaches) { - var cache = new Map(); - var caches = tagCaches = new Map(); - caches.set(ownerDocument, cache); - } else caches = tagCaches, cache = caches.get(ownerDocument), cache || (cache = new Map(), caches.set(ownerDocument, cache)); - if (cache.has(type)) return cache; - cache.set(type, null); - ownerDocument = ownerDocument.getElementsByTagName(type); - for(caches = 0; caches < ownerDocument.length; caches++){ - var node = ownerDocument[caches]; - if (!(node[internalHoistableMarker] || node[internalInstanceKey] || "link" === type && "stylesheet" === node.getAttribute("rel")) && node.namespaceURI !== SVG_NAMESPACE) { - var nodeKey = node.getAttribute(keyAttribute) || ""; - nodeKey = type + nodeKey; - var existing = cache.get(nodeKey); - existing ? existing.push(node) : cache.set(nodeKey, [ - node - ]); - } - } - return cache; - } - function mountHoistable(hoistableRoot, type, instance) { - hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot; - hoistableRoot.head.insertBefore(instance, "title" === type ? hoistableRoot.querySelector("head > title") : null); - } - function isHostHoistableType(type, props, hostContext) { - var outsideHostContainerContext = !hostContext.ancestorInfo.containerTagInScope; - if (hostContext.context === HostContextNamespaceSvg || null != props.itemProp) return !outsideHostContainerContext || null == props.itemProp || "meta" !== type && "title" !== type && "style" !== type && "link" !== type && "script" !== type || console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.", type, type), !1; - switch(type){ - case "meta": - case "title": - return !0; - case "style": - if ("string" !== typeof props.precedence || "string" !== typeof props.href || "" === props.href) { - outsideHostContainerContext && console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.'); - break; - } - return !0; - case "link": - if ("string" !== typeof props.rel || "string" !== typeof props.href || "" === props.href || props.onLoad || props.onError) { - if ("stylesheet" === props.rel && "string" === typeof props.precedence) { - type = props.href; - var onError = props.onError, disabled = props.disabled; - hostContext = []; - props.onLoad && hostContext.push("`onLoad`"); - onError && hostContext.push("`onError`"); - null != disabled && hostContext.push("`disabled`"); - onError = propNamesListJoin(hostContext, "and"); - onError += 1 === hostContext.length ? " prop" : " props"; - disabled = 1 === hostContext.length ? "an " + onError : "the " + onError; - hostContext.length && console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.', type, disabled, onError); - } - outsideHostContainerContext && ("string" !== typeof props.rel || "string" !== typeof props.href || "" === props.href ? console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag") : (props.onError || props.onLoad) && console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>.")); - break; - } - switch(props.rel){ - case "stylesheet": - return type = props.precedence, props = props.disabled, "string" !== typeof type && outsideHostContainerContext && console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'), "string" === typeof type && null == props; - default: - return !0; - } - case "script": - type = props.async && "function" !== typeof props.async && "symbol" !== typeof props.async; - if (!type || props.onLoad || props.onError || !props.src || "string" !== typeof props.src) { - outsideHostContainerContext && (type ? props.onLoad || props.onError ? console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>.") : console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>.") : console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.')); - break; - } - return !0; - case "noscript": - case "template": - outsideHostContainerContext && console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.", type); - } - return !1; - } - function maySuspendCommit(type, props) { - return "img" === type && null != props.src && "" !== props.src && null == props.onLoad && "lazy" !== props.loading; - } - function preloadResource(resource) { - return "stylesheet" === resource.type && (resource.state.loading & Settled) === NotLoaded ? !1 : !0; - } - function estimateImageBytes(instance) { - return (instance.width || 100) * (instance.height || 100) * ("number" === typeof devicePixelRatio ? devicePixelRatio : 1) * 0.25; - } - function suspendInstance(state, instance) { - "function" === typeof instance.decode && (state.imgCount++, instance.complete || (state.imgBytes += estimateImageBytes(instance), state.suspenseyImages.push(instance)), state = onUnsuspendImg.bind(state), instance.decode().then(state, state)); - } - function suspendResource(state, hoistableRoot, resource, props) { - if ("stylesheet" === resource.type && ("string" !== typeof props.media || !1 !== matchMedia(props.media).matches) && (resource.state.loading & Inserted) === NotLoaded) { - if (null === resource.instance) { - var key = getStyleKey(props.href), instance = hoistableRoot.querySelector(getStylesheetSelectorFromKey(key)); - if (instance) { - hoistableRoot = instance._p; - null !== hoistableRoot && "object" === typeof hoistableRoot && "function" === typeof hoistableRoot.then && (state.count++, state = onUnsuspend.bind(state), hoistableRoot.then(state, state)); - resource.state.loading |= Inserted; - resource.instance = instance; - markNodeAsHoistable(instance); - return; - } - instance = hoistableRoot.ownerDocument || hoistableRoot; - props = stylesheetPropsFromRawProps(props); - (key = preloadPropsMap.get(key)) && adoptPreloadPropsForStylesheet(props, key); - instance = instance.createElement("link"); - markNodeAsHoistable(instance); - var linkInstance = instance; - linkInstance._p = new Promise(function(resolve, reject) { - linkInstance.onload = resolve; - linkInstance.onerror = reject; - }); - setInitialProperties(instance, "link", props); - resource.instance = instance; - } - null === state.stylesheets && (state.stylesheets = new Map()); - state.stylesheets.set(resource, hoistableRoot); - (hoistableRoot = resource.state.preload) && (resource.state.loading & Settled) === NotLoaded && (state.count++, resource = onUnsuspend.bind(state), hoistableRoot.addEventListener("load", resource), hoistableRoot.addEventListener("error", resource)); - } - } - function waitForCommitToBeReady(state, timeoutOffset) { - state.stylesheets && 0 === state.count && insertSuspendedStylesheets(state, state.stylesheets); - return 0 < state.count || 0 < state.imgCount ? function(commit) { - var stylesheetTimer = setTimeout(function() { - state.stylesheets && insertSuspendedStylesheets(state, state.stylesheets); - if (state.unsuspend) { - var unsuspend = state.unsuspend; - state.unsuspend = null; - unsuspend(); - } - }, SUSPENSEY_STYLESHEET_TIMEOUT + timeoutOffset); - 0 < state.imgBytes && 0 === estimatedBytesWithinLimit && (estimatedBytesWithinLimit = 125 * estimateBandwidth() * SUSPENSEY_IMAGE_TIME_ESTIMATE); - var imgTimer = setTimeout(function() { - state.waitingForImages = !1; - if (0 === state.count && (state.stylesheets && insertSuspendedStylesheets(state, state.stylesheets), state.unsuspend)) { - var unsuspend = state.unsuspend; - state.unsuspend = null; - unsuspend(); - } - }, (state.imgBytes > estimatedBytesWithinLimit ? 50 : SUSPENSEY_IMAGE_TIMEOUT) + timeoutOffset); - state.unsuspend = commit; - return function() { - state.unsuspend = null; - clearTimeout(stylesheetTimer); - clearTimeout(imgTimer); - }; - } : null; - } - function checkIfFullyUnsuspended(state) { - if (0 === state.count && (0 === state.imgCount || !state.waitingForImages)) { - if (state.stylesheets) insertSuspendedStylesheets(state, state.stylesheets); - else if (state.unsuspend) { - var unsuspend = state.unsuspend; - state.unsuspend = null; - unsuspend(); - } - } - } - function onUnsuspend() { - this.count--; - checkIfFullyUnsuspended(this); - } - function onUnsuspendImg() { - this.imgCount--; - checkIfFullyUnsuspended(this); - } - function insertSuspendedStylesheets(state, resources) { - state.stylesheets = null; - null !== state.unsuspend && (state.count++, precedencesByRoot = new Map(), resources.forEach(insertStylesheetIntoRoot, state), precedencesByRoot = null, onUnsuspend.call(state)); - } - function insertStylesheetIntoRoot(root, resource) { - if (!(resource.state.loading & Inserted)) { - var precedences = precedencesByRoot.get(root); - if (precedences) var last = precedences.get(LAST_PRECEDENCE); - else { - precedences = new Map(); - precedencesByRoot.set(root, precedences); - for(var nodes = root.querySelectorAll("link[data-precedence],style[data-precedence]"), i = 0; i < nodes.length; i++){ - var node = nodes[i]; - if ("LINK" === node.nodeName || "not all" !== node.getAttribute("media")) precedences.set(node.dataset.precedence, node), last = node; - } - last && precedences.set(LAST_PRECEDENCE, last); - } - nodes = resource.instance; - node = nodes.getAttribute("data-precedence"); - i = precedences.get(node) || last; - i === last && precedences.set(LAST_PRECEDENCE, nodes); - precedences.set(node, nodes); - this.count++; - last = onUnsuspend.bind(this); - nodes.addEventListener("load", last); - nodes.addEventListener("error", last); - i ? i.parentNode.insertBefore(nodes, i.nextSibling) : (root = 9 === root.nodeType ? root.head : root, root.insertBefore(nodes, root.firstChild)); - resource.state.loading |= Inserted; - } - } - function FiberRootNode(containerInfo, tag, hydrate, identifierPrefix, onUncaughtError, onCaughtError, onRecoverableError, onDefaultTransitionIndicator, formState) { - this.tag = 1; - this.containerInfo = containerInfo; - this.pingCache = this.current = this.pendingChildren = null; - this.timeoutHandle = noTimeout; - this.callbackNode = this.next = this.pendingContext = this.context = this.cancelPendingCommit = null; - this.callbackPriority = 0; - this.expirationTimes = createLaneMap(-1); - this.entangledLanes = this.shellSuspendCounter = this.errorRecoveryDisabledLanes = this.expiredLanes = this.warmLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0; - this.entanglements = createLaneMap(0); - this.hiddenUpdates = createLaneMap(null); - this.identifierPrefix = identifierPrefix; - this.onUncaughtError = onUncaughtError; - this.onCaughtError = onCaughtError; - this.onRecoverableError = onRecoverableError; - this.pooledCache = null; - this.pooledCacheLanes = 0; - this.formState = formState; - this.transitionTypes = null; - this.incompleteTransitions = new Map(); - this.passiveEffectDuration = this.effectDuration = -0; - this.memoizedUpdaters = new Set(); - containerInfo = this.pendingUpdatersLaneMap = []; - for(tag = 0; 31 > tag; tag++)containerInfo.push(new Set()); - this._debugRootType = hydrate ? "hydrateRoot()" : "createRoot()"; - } - function createFiberRoot(containerInfo, tag, hydrate, initialChildren, hydrationCallbacks, isStrictMode, identifierPrefix, formState, onUncaughtError, onCaughtError, onRecoverableError, onDefaultTransitionIndicator) { - containerInfo = new FiberRootNode(containerInfo, tag, hydrate, identifierPrefix, onUncaughtError, onCaughtError, onRecoverableError, onDefaultTransitionIndicator, formState); - tag = ConcurrentMode; - !0 === isStrictMode && (tag |= StrictLegacyMode | StrictEffectsMode); - tag |= ProfileMode; - isStrictMode = createFiber(3, null, null, tag); - containerInfo.current = isStrictMode; - isStrictMode.stateNode = containerInfo; - tag = createCache(); - retainCache(tag); - containerInfo.pooledCache = tag; - retainCache(tag); - isStrictMode.memoizedState = { - element: initialChildren, - isDehydrated: hydrate, - cache: tag - }; - initializeUpdateQueue(isStrictMode); - return containerInfo; - } - function getContextForSubtree(parentComponent) { - if (!parentComponent) return emptyContextObject; - parentComponent = emptyContextObject; - return parentComponent; - } - function updateContainerImpl(rootFiber, lane, element, container, parentComponent, callback) { - if (injectedHook && "function" === typeof injectedHook.onScheduleFiberRoot) try { - injectedHook.onScheduleFiberRoot(rendererID, container, element); - } catch (err) { - hasLoggedError || (hasLoggedError = !0, console.error("React instrumentation encountered an error: %o", err)); - } - parentComponent = getContextForSubtree(parentComponent); - null === container.context ? container.context = parentComponent : container.pendingContext = parentComponent; - isRendering && null !== current && !didWarnAboutNestedUpdates && (didWarnAboutNestedUpdates = !0, console.error("Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.\n\nCheck the render method of %s.", getComponentNameFromFiber(current) || "Unknown")); - container = createUpdate(lane); - container.payload = { - element: element - }; - callback = void 0 === callback ? null : callback; - null !== callback && ("function" !== typeof callback && console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.", callback), container.callback = callback); - element = enqueueUpdate(rootFiber, container, lane); - null !== element && (startUpdateTimerByLane(lane, "root.render()", null), scheduleUpdateOnFiber(element, rootFiber, lane), entangleTransitions(element, rootFiber, lane)); - } - function markRetryLaneImpl(fiber, retryLane) { - fiber = fiber.memoizedState; - if (null !== fiber && null !== fiber.dehydrated) { - var a = fiber.retryLane; - fiber.retryLane = 0 !== a && a < retryLane ? a : retryLane; - } - } - function markRetryLaneIfNotHydrated(fiber, retryLane) { - markRetryLaneImpl(fiber, retryLane); - (fiber = fiber.alternate) && markRetryLaneImpl(fiber, retryLane); - } - function attemptContinuousHydration(fiber) { - if (13 === fiber.tag || 31 === fiber.tag) { - var root = enqueueConcurrentRenderForLane(fiber, 67108864); - null !== root && scheduleUpdateOnFiber(root, fiber, 67108864); - markRetryLaneIfNotHydrated(fiber, 67108864); - } - } - function attemptHydrationAtCurrentPriority(fiber) { - if (13 === fiber.tag || 31 === fiber.tag) { - var lane = requestUpdateLane(fiber); - lane = getBumpedLaneForHydrationByLane(lane); - var root = enqueueConcurrentRenderForLane(fiber, lane); - null !== root && scheduleUpdateOnFiber(root, fiber, lane); - markRetryLaneIfNotHydrated(fiber, lane); - } - } - function getCurrentFiberForDevTools() { - return current; - } - function dispatchDiscreteEvent(domEventName, eventSystemFlags, container, nativeEvent) { - var prevTransition = ReactSharedInternals.T; - ReactSharedInternals.T = null; - var previousPriority = ReactDOMSharedInternals.p; - try { - ReactDOMSharedInternals.p = DiscreteEventPriority, dispatchEvent(domEventName, eventSystemFlags, container, nativeEvent); - } finally{ - ReactDOMSharedInternals.p = previousPriority, ReactSharedInternals.T = prevTransition; - } - } - function dispatchContinuousEvent(domEventName, eventSystemFlags, container, nativeEvent) { - var prevTransition = ReactSharedInternals.T; - ReactSharedInternals.T = null; - var previousPriority = ReactDOMSharedInternals.p; - try { - ReactDOMSharedInternals.p = ContinuousEventPriority, dispatchEvent(domEventName, eventSystemFlags, container, nativeEvent); - } finally{ - ReactDOMSharedInternals.p = previousPriority, ReactSharedInternals.T = prevTransition; - } - } - function dispatchEvent(domEventName, eventSystemFlags, targetContainer, nativeEvent) { - if (_enabled) { - var blockedOn = findInstanceBlockingEvent(nativeEvent); - if (null === blockedOn) dispatchEventForPluginEventSystem(domEventName, eventSystemFlags, nativeEvent, return_targetInst, targetContainer), clearIfContinuousEvent(domEventName, nativeEvent); - else if (queueIfContinuousEvent(blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent)) nativeEvent.stopPropagation(); - else if (clearIfContinuousEvent(domEventName, nativeEvent), eventSystemFlags & 4 && -1 < discreteReplayableEvents.indexOf(domEventName)) { - for(; null !== blockedOn;){ - var fiber = getInstanceFromNode(blockedOn); - if (null !== fiber) switch(fiber.tag){ - case 3: - fiber = fiber.stateNode; - if (fiber.current.memoizedState.isDehydrated) { - var lanes = getHighestPriorityLanes(fiber.pendingLanes); - if (0 !== lanes) { - var root = fiber; - root.pendingLanes |= 2; - for(root.entangledLanes |= 2; lanes;){ - var lane = 1 << 31 - clz32(lanes); - root.entanglements[1] |= lane; - lanes &= ~lane; - } - ensureRootIsScheduled(fiber); - (executionContext & (RenderContext | CommitContext)) === NoContext && (workInProgressRootRenderTargetTime = now$1() + RENDER_TIMEOUT_MS, flushSyncWorkAcrossRoots_impl(0, !1)); - } - } - break; - case 31: - case 13: - root = enqueueConcurrentRenderForLane(fiber, 2), null !== root && scheduleUpdateOnFiber(root, fiber, 2), flushSyncWork$1(), markRetryLaneIfNotHydrated(fiber, 2); - } - fiber = findInstanceBlockingEvent(nativeEvent); - null === fiber && dispatchEventForPluginEventSystem(domEventName, eventSystemFlags, nativeEvent, return_targetInst, targetContainer); - if (fiber === blockedOn) break; - blockedOn = fiber; - } - null !== blockedOn && nativeEvent.stopPropagation(); - } else dispatchEventForPluginEventSystem(domEventName, eventSystemFlags, nativeEvent, null, targetContainer); - } - } - function findInstanceBlockingEvent(nativeEvent) { - nativeEvent = getEventTarget(nativeEvent); - return findInstanceBlockingTarget(nativeEvent); - } - function findInstanceBlockingTarget(targetNode) { - return_targetInst = null; - targetNode = getClosestInstanceFromNode(targetNode); - if (null !== targetNode) { - var nearestMounted = getNearestMountedFiber(targetNode); - if (null === nearestMounted) targetNode = null; - else { - var tag = nearestMounted.tag; - if (13 === tag) { - targetNode = getSuspenseInstanceFromFiber(nearestMounted); - if (null !== targetNode) return targetNode; - targetNode = null; - } else if (31 === tag) { - targetNode = getActivityInstanceFromFiber(nearestMounted); - if (null !== targetNode) return targetNode; - targetNode = null; - } else if (3 === tag) { - if (nearestMounted.stateNode.current.memoizedState.isDehydrated) return 3 === nearestMounted.tag ? nearestMounted.stateNode.containerInfo : null; - targetNode = null; - } else nearestMounted !== targetNode && (targetNode = null); - } - } - return_targetInst = targetNode; - return null; - } - function getEventPriority(domEventName) { - switch(domEventName){ - case "beforetoggle": - case "cancel": - case "click": - case "close": - case "contextmenu": - case "copy": - case "cut": - case "auxclick": - case "dblclick": - case "dragend": - case "dragstart": - case "drop": - case "focusin": - case "focusout": - case "input": - case "invalid": - case "keydown": - case "keypress": - case "keyup": - case "mousedown": - case "mouseup": - case "paste": - case "pause": - case "play": - case "pointercancel": - case "pointerdown": - case "pointerup": - case "ratechange": - case "reset": - case "seeked": - case "submit": - case "toggle": - case "touchcancel": - case "touchend": - case "touchstart": - case "volumechange": - case "change": - case "selectionchange": - case "textInput": - case "compositionstart": - case "compositionend": - case "compositionupdate": - case "beforeblur": - case "afterblur": - case "beforeinput": - case "blur": - case "fullscreenchange": - case "focus": - case "hashchange": - case "popstate": - case "select": - case "selectstart": - return DiscreteEventPriority; - case "drag": - case "dragenter": - case "dragexit": - case "dragleave": - case "dragover": - case "mousemove": - case "mouseout": - case "mouseover": - case "pointermove": - case "pointerout": - case "pointerover": - case "resize": - case "scroll": - case "touchmove": - case "wheel": - case "mouseenter": - case "mouseleave": - case "pointerenter": - case "pointerleave": - return ContinuousEventPriority; - case "message": - switch(getCurrentPriorityLevel()){ - case ImmediatePriority: - return DiscreteEventPriority; - case UserBlockingPriority: - return ContinuousEventPriority; - case NormalPriority$1: - case LowPriority: - return DefaultEventPriority; - case IdlePriority: - return IdleEventPriority; - default: - return DefaultEventPriority; - } - default: - return DefaultEventPriority; - } - } - function clearIfContinuousEvent(domEventName, nativeEvent) { - switch(domEventName){ - case "focusin": - case "focusout": - queuedFocus = null; - break; - case "dragenter": - case "dragleave": - queuedDrag = null; - break; - case "mouseover": - case "mouseout": - queuedMouse = null; - break; - case "pointerover": - case "pointerout": - queuedPointers.delete(nativeEvent.pointerId); - break; - case "gotpointercapture": - case "lostpointercapture": - queuedPointerCaptures.delete(nativeEvent.pointerId); - } - } - function accumulateOrCreateContinuousQueuedReplayableEvent(existingQueuedEvent, blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent) { - if (null === existingQueuedEvent || existingQueuedEvent.nativeEvent !== nativeEvent) return existingQueuedEvent = { - blockedOn: blockedOn, - domEventName: domEventName, - eventSystemFlags: eventSystemFlags, - nativeEvent: nativeEvent, - targetContainers: [ - targetContainer - ] - }, null !== blockedOn && (blockedOn = getInstanceFromNode(blockedOn), null !== blockedOn && attemptContinuousHydration(blockedOn)), existingQueuedEvent; - existingQueuedEvent.eventSystemFlags |= eventSystemFlags; - blockedOn = existingQueuedEvent.targetContainers; - null !== targetContainer && -1 === blockedOn.indexOf(targetContainer) && blockedOn.push(targetContainer); - return existingQueuedEvent; - } - function queueIfContinuousEvent(blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent) { - switch(domEventName){ - case "focusin": - return queuedFocus = accumulateOrCreateContinuousQueuedReplayableEvent(queuedFocus, blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent), !0; - case "dragenter": - return queuedDrag = accumulateOrCreateContinuousQueuedReplayableEvent(queuedDrag, blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent), !0; - case "mouseover": - return queuedMouse = accumulateOrCreateContinuousQueuedReplayableEvent(queuedMouse, blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent), !0; - case "pointerover": - var pointerId = nativeEvent.pointerId; - queuedPointers.set(pointerId, accumulateOrCreateContinuousQueuedReplayableEvent(queuedPointers.get(pointerId) || null, blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent)); - return !0; - case "gotpointercapture": - return pointerId = nativeEvent.pointerId, queuedPointerCaptures.set(pointerId, accumulateOrCreateContinuousQueuedReplayableEvent(queuedPointerCaptures.get(pointerId) || null, blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent)), !0; - } - return !1; - } - function attemptExplicitHydrationTarget(queuedTarget) { - var targetInst = getClosestInstanceFromNode(queuedTarget.target); - if (null !== targetInst) { - var nearestMounted = getNearestMountedFiber(targetInst); - if (null !== nearestMounted) { - if (targetInst = nearestMounted.tag, 13 === targetInst) { - if (targetInst = getSuspenseInstanceFromFiber(nearestMounted), null !== targetInst) { - queuedTarget.blockedOn = targetInst; - runWithPriority(queuedTarget.priority, function() { - attemptHydrationAtCurrentPriority(nearestMounted); - }); - return; - } - } else if (31 === targetInst) { - if (targetInst = getActivityInstanceFromFiber(nearestMounted), null !== targetInst) { - queuedTarget.blockedOn = targetInst; - runWithPriority(queuedTarget.priority, function() { - attemptHydrationAtCurrentPriority(nearestMounted); - }); - return; - } - } else if (3 === targetInst && nearestMounted.stateNode.current.memoizedState.isDehydrated) { - queuedTarget.blockedOn = 3 === nearestMounted.tag ? nearestMounted.stateNode.containerInfo : null; - return; - } - } - } - queuedTarget.blockedOn = null; - } - function attemptReplayContinuousQueuedEvent(queuedEvent) { - if (null !== queuedEvent.blockedOn) return !1; - for(var targetContainers = queuedEvent.targetContainers; 0 < targetContainers.length;){ - var nextBlockedOn = findInstanceBlockingEvent(queuedEvent.nativeEvent); - if (null === nextBlockedOn) { - nextBlockedOn = queuedEvent.nativeEvent; - var nativeEventClone = new nextBlockedOn.constructor(nextBlockedOn.type, nextBlockedOn), event = nativeEventClone; - null !== currentReplayingEvent && console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."); - currentReplayingEvent = event; - nextBlockedOn.target.dispatchEvent(nativeEventClone); - null === currentReplayingEvent && console.error("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."); - currentReplayingEvent = null; - } else return targetContainers = getInstanceFromNode(nextBlockedOn), null !== targetContainers && attemptContinuousHydration(targetContainers), queuedEvent.blockedOn = nextBlockedOn, !1; - targetContainers.shift(); - } - return !0; - } - function attemptReplayContinuousQueuedEventInMap(queuedEvent, key, map) { - attemptReplayContinuousQueuedEvent(queuedEvent) && map.delete(key); - } - function replayUnblockedEvents() { - hasScheduledReplayAttempt = !1; - null !== queuedFocus && attemptReplayContinuousQueuedEvent(queuedFocus) && (queuedFocus = null); - null !== queuedDrag && attemptReplayContinuousQueuedEvent(queuedDrag) && (queuedDrag = null); - null !== queuedMouse && attemptReplayContinuousQueuedEvent(queuedMouse) && (queuedMouse = null); - queuedPointers.forEach(attemptReplayContinuousQueuedEventInMap); - queuedPointerCaptures.forEach(attemptReplayContinuousQueuedEventInMap); - } - function scheduleCallbackIfUnblocked(queuedEvent, unblocked) { - queuedEvent.blockedOn === unblocked && (queuedEvent.blockedOn = null, hasScheduledReplayAttempt || (hasScheduledReplayAttempt = !0, Scheduler.unstable_scheduleCallback(Scheduler.unstable_NormalPriority, replayUnblockedEvents))); - } - function scheduleReplayQueueIfNeeded(formReplayingQueue) { - lastScheduledReplayQueue !== formReplayingQueue && (lastScheduledReplayQueue = formReplayingQueue, Scheduler.unstable_scheduleCallback(Scheduler.unstable_NormalPriority, function() { - lastScheduledReplayQueue === formReplayingQueue && (lastScheduledReplayQueue = null); - for(var i = 0; i < formReplayingQueue.length; i += 3){ - var form = formReplayingQueue[i], submitterOrAction = formReplayingQueue[i + 1], formData = formReplayingQueue[i + 2]; - if ("function" !== typeof submitterOrAction) if (null === findInstanceBlockingTarget(submitterOrAction || form)) continue; - else break; - var formInst = getInstanceFromNode(form); - null !== formInst && (formReplayingQueue.splice(i, 3), i -= 3, form = { - pending: !0, - data: formData, - method: form.method, - action: submitterOrAction - }, Object.freeze(form), startHostTransition(formInst, form, submitterOrAction, formData)); - } - })); - } - function retryIfBlockedOn(unblocked) { - function unblock(queuedEvent) { - return scheduleCallbackIfUnblocked(queuedEvent, unblocked); - } - null !== queuedFocus && scheduleCallbackIfUnblocked(queuedFocus, unblocked); - null !== queuedDrag && scheduleCallbackIfUnblocked(queuedDrag, unblocked); - null !== queuedMouse && scheduleCallbackIfUnblocked(queuedMouse, unblocked); - queuedPointers.forEach(unblock); - queuedPointerCaptures.forEach(unblock); - for(var i = 0; i < queuedExplicitHydrationTargets.length; i++){ - var queuedTarget = queuedExplicitHydrationTargets[i]; - queuedTarget.blockedOn === unblocked && (queuedTarget.blockedOn = null); - } - for(; 0 < queuedExplicitHydrationTargets.length && (i = queuedExplicitHydrationTargets[0], null === i.blockedOn);)attemptExplicitHydrationTarget(i), null === i.blockedOn && queuedExplicitHydrationTargets.shift(); - i = (unblocked.ownerDocument || unblocked).$$reactFormReplay; - if (null != i) for(queuedTarget = 0; queuedTarget < i.length; queuedTarget += 3){ - var form = i[queuedTarget], submitterOrAction = i[queuedTarget + 1], formProps = form[internalPropsKey] || null; - if ("function" === typeof submitterOrAction) formProps || scheduleReplayQueueIfNeeded(i); - else if (formProps) { - var action = null; - if (submitterOrAction && submitterOrAction.hasAttribute("formAction")) if (form = submitterOrAction, formProps = submitterOrAction[internalPropsKey] || null) action = formProps.formAction; - else { - if (null !== findInstanceBlockingTarget(form)) continue; - } - else action = formProps.action; - "function" === typeof action ? i[queuedTarget + 1] = action : (i.splice(queuedTarget, 3), queuedTarget -= 3); - scheduleReplayQueueIfNeeded(i); - } - } - } - function defaultOnDefaultTransitionIndicator() { - function handleNavigate(event) { - event.canIntercept && "react-transition" === event.info && event.intercept({ - handler: function() { - return new Promise(function(resolve) { - return pendingResolve = resolve; - }); - }, - focusReset: "manual", - scroll: "manual" - }); - } - function handleNavigateComplete() { - null !== pendingResolve && (pendingResolve(), pendingResolve = null); - isCancelled || setTimeout(startFakeNavigation, 20); - } - function startFakeNavigation() { - if (!isCancelled && !navigation.transition) { - var currentEntry = navigation.currentEntry; - currentEntry && null != currentEntry.url && navigation.navigate(currentEntry.url, { - state: currentEntry.getState(), - info: "react-transition", - history: "replace" - }); - } - } - if ("object" === typeof navigation) { - var isCancelled = !1, pendingResolve = null; - navigation.addEventListener("navigate", handleNavigate); - navigation.addEventListener("navigatesuccess", handleNavigateComplete); - navigation.addEventListener("navigateerror", handleNavigateComplete); - setTimeout(startFakeNavigation, 100); - return function() { - isCancelled = !0; - navigation.removeEventListener("navigate", handleNavigate); - navigation.removeEventListener("navigatesuccess", handleNavigateComplete); - navigation.removeEventListener("navigateerror", handleNavigateComplete); - null !== pendingResolve && (pendingResolve(), pendingResolve = null); - }; - } - } - function ReactDOMRoot(internalRoot) { - this._internalRoot = internalRoot; - } - function ReactDOMHydrationRoot(internalRoot) { - this._internalRoot = internalRoot; - } - function warnIfReactDOMContainerInDEV(container) { - container[internalContainerInstanceKey] && (container._reactRootContainer ? console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported.") : console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it.")); - } - "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()); - var Scheduler = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/scheduler/index.js [app-client] (ecmascript)"), React = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"), ReactDOM = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react-dom/index.js [app-client] (ecmascript)"), searchTarget = null, searchBoundary = null, assign = Object.assign, REACT_LEGACY_ELEMENT_TYPE = Symbol.for("react.element"), REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"); - Symbol.for("react.scope"); - var REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"); - Symbol.for("react.tracing_marker"); - var REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"), REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator, REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), isArrayImpl = Array.isArray, ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, ReactDOMSharedInternals = ReactDOM.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, NotPending = Object.freeze({ - pending: !1, - data: null, - method: null, - action: null - }), valueStack = []; - var fiberStack = []; - var index$jscomp$0 = -1, contextStackCursor = createCursor(null), contextFiberStackCursor = createCursor(null), rootInstanceStackCursor = createCursor(null), hostTransitionProviderCursor = createCursor(null), disabledDepth = 0, prevLog, prevInfo, prevWarn, prevError, prevGroup, prevGroupCollapsed, prevGroupEnd; - disabledLog.__reactDisabledLog = !0; - var prefix, suffix, reentry = !1; - var componentFrameCache = new ("function" === typeof WeakMap ? WeakMap : Map)(); - var current = null, isRendering = !1, hasOwnProperty = Object.prototype.hasOwnProperty, scheduleCallback$3 = Scheduler.unstable_scheduleCallback, cancelCallback$1 = Scheduler.unstable_cancelCallback, shouldYield = Scheduler.unstable_shouldYield, requestPaint = Scheduler.unstable_requestPaint, now$1 = Scheduler.unstable_now, getCurrentPriorityLevel = Scheduler.unstable_getCurrentPriorityLevel, ImmediatePriority = Scheduler.unstable_ImmediatePriority, UserBlockingPriority = Scheduler.unstable_UserBlockingPriority, NormalPriority$1 = Scheduler.unstable_NormalPriority, LowPriority = Scheduler.unstable_LowPriority, IdlePriority = Scheduler.unstable_IdlePriority, log$1 = Scheduler.log, unstable_setDisableYieldValue = Scheduler.unstable_setDisableYieldValue, rendererID = null, injectedHook = null, hasLoggedError = !1, isDevToolsPresent = "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__, clz32 = Math.clz32 ? Math.clz32 : clz32Fallback, log = Math.log, LN2 = Math.LN2, nextTransitionUpdateLane = 256, nextTransitionDeferredLane = 262144, nextRetryLane = 4194304, DiscreteEventPriority = 2, ContinuousEventPriority = 8, DefaultEventPriority = 32, IdleEventPriority = 268435456, randomKey = Math.random().toString(36).slice(2), internalInstanceKey = "__reactFiber$" + randomKey, internalPropsKey = "__reactProps$" + randomKey, internalContainerInstanceKey = "__reactContainer$" + randomKey, internalEventHandlersKey = "__reactEvents$" + randomKey, internalEventHandlerListenersKey = "__reactListeners$" + randomKey, internalEventHandlesSetKey = "__reactHandles$" + randomKey, internalRootNodeResourcesKey = "__reactResources$" + randomKey, internalHoistableMarker = "__reactMarker$" + randomKey, allNativeEvents = new Set(), registrationNameDependencies = {}, possibleRegistrationNames = {}, hasReadOnlyValue = { - button: !0, - checkbox: !0, - image: !0, - hidden: !0, - radio: !0, - reset: !0, - submit: !0 - }, VALID_ATTRIBUTE_NAME_REGEX = RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"), illegalAttributeNameCache = {}, validatedAttributeNameCache = {}, viewTransitionMutationContext = !1, escapeSelectorAttributeValueInsideDoubleQuotesRegex = /[\n"\\]/g, didWarnValueDefaultValue$1 = !1, didWarnCheckedDefaultChecked = !1, didWarnSelectedSetOnOption = !1, didWarnInvalidChild = !1, didWarnInvalidInnerHTML = !1; - var didWarnValueDefaultValue = !1; - var valuePropNames = [ - "value", - "defaultValue" - ], didWarnValDefaultVal = !1, needsEscaping = /["'&<>\n\t]|^\s|\s$/, specialTags = "address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp".split(" "), inScopeTags = "applet caption html table td th marquee object template foreignObject desc title".split(" "), buttonScopeTags = inScopeTags.concat([ - "button" - ]), impliedEndTags = "dd dt li option optgroup p rp rt".split(" "), emptyAncestorInfoDev = { - current: null, - formTag: null, - aTagInScope: null, - buttonTagInScope: null, - nobrTagInScope: null, - pTagInButtonScope: null, - listItemTagAutoclosing: null, - dlItemTagAutoclosing: null, - containerTagInScope: null, - implicitRootScope: !1 - }, didWarn = {}, shorthandToLonghand = { - animation: "animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(" "), - background: "backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(" "), - backgroundPosition: [ - "backgroundPositionX", - "backgroundPositionY" - ], - border: "borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(" "), - borderBlockEnd: [ - "borderBlockEndColor", - "borderBlockEndStyle", - "borderBlockEndWidth" - ], - borderBlockStart: [ - "borderBlockStartColor", - "borderBlockStartStyle", - "borderBlockStartWidth" - ], - borderBottom: [ - "borderBottomColor", - "borderBottomStyle", - "borderBottomWidth" - ], - borderColor: [ - "borderBottomColor", - "borderLeftColor", - "borderRightColor", - "borderTopColor" - ], - borderImage: [ - "borderImageOutset", - "borderImageRepeat", - "borderImageSlice", - "borderImageSource", - "borderImageWidth" - ], - borderInlineEnd: [ - "borderInlineEndColor", - "borderInlineEndStyle", - "borderInlineEndWidth" - ], - borderInlineStart: [ - "borderInlineStartColor", - "borderInlineStartStyle", - "borderInlineStartWidth" - ], - borderLeft: [ - "borderLeftColor", - "borderLeftStyle", - "borderLeftWidth" - ], - borderRadius: [ - "borderBottomLeftRadius", - "borderBottomRightRadius", - "borderTopLeftRadius", - "borderTopRightRadius" - ], - borderRight: [ - "borderRightColor", - "borderRightStyle", - "borderRightWidth" - ], - borderStyle: [ - "borderBottomStyle", - "borderLeftStyle", - "borderRightStyle", - "borderTopStyle" - ], - borderTop: [ - "borderTopColor", - "borderTopStyle", - "borderTopWidth" - ], - borderWidth: [ - "borderBottomWidth", - "borderLeftWidth", - "borderRightWidth", - "borderTopWidth" - ], - columnRule: [ - "columnRuleColor", - "columnRuleStyle", - "columnRuleWidth" - ], - columns: [ - "columnCount", - "columnWidth" - ], - flex: [ - "flexBasis", - "flexGrow", - "flexShrink" - ], - flexFlow: [ - "flexDirection", - "flexWrap" - ], - font: "fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight".split(" "), - fontVariant: "fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(" "), - gap: [ - "columnGap", - "rowGap" - ], - grid: "gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(" "), - gridArea: [ - "gridColumnEnd", - "gridColumnStart", - "gridRowEnd", - "gridRowStart" - ], - gridColumn: [ - "gridColumnEnd", - "gridColumnStart" - ], - gridColumnGap: [ - "columnGap" - ], - gridGap: [ - "columnGap", - "rowGap" - ], - gridRow: [ - "gridRowEnd", - "gridRowStart" - ], - gridRowGap: [ - "rowGap" - ], - gridTemplate: [ - "gridTemplateAreas", - "gridTemplateColumns", - "gridTemplateRows" - ], - listStyle: [ - "listStyleImage", - "listStylePosition", - "listStyleType" - ], - margin: [ - "marginBottom", - "marginLeft", - "marginRight", - "marginTop" - ], - marker: [ - "markerEnd", - "markerMid", - "markerStart" - ], - mask: "maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize".split(" "), - maskPosition: [ - "maskPositionX", - "maskPositionY" - ], - outline: [ - "outlineColor", - "outlineStyle", - "outlineWidth" - ], - overflow: [ - "overflowX", - "overflowY" - ], - padding: [ - "paddingBottom", - "paddingLeft", - "paddingRight", - "paddingTop" - ], - placeContent: [ - "alignContent", - "justifyContent" - ], - placeItems: [ - "alignItems", - "justifyItems" - ], - placeSelf: [ - "alignSelf", - "justifySelf" - ], - textDecoration: [ - "textDecorationColor", - "textDecorationLine", - "textDecorationStyle" - ], - textEmphasis: [ - "textEmphasisColor", - "textEmphasisStyle" - ], - transition: [ - "transitionDelay", - "transitionDuration", - "transitionProperty", - "transitionTimingFunction" - ], - wordWrap: [ - "overflowWrap" - ] - }, uppercasePattern = /([A-Z])/g, msPattern$1 = /^ms-/, badVendoredStyleNamePattern = /^(?:webkit|moz|o)[A-Z]/, msPattern = /^-ms-/, hyphenPattern = /-(.)/g, badStyleValueWithSemicolonPattern = /;\s*$/, warnedStyleNames = {}, warnedStyleValues = {}, warnedForNaNValue = !1, warnedForInfinityValue = !1, unitlessNumbers = new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")), MATH_NAMESPACE = "http://www.w3.org/1998/Math/MathML", SVG_NAMESPACE = "http://www.w3.org/2000/svg", aliases = new Map([ - [ - "acceptCharset", - "accept-charset" - ], - [ - "htmlFor", - "for" - ], - [ - "httpEquiv", - "http-equiv" - ], - [ - "crossOrigin", - "crossorigin" - ], - [ - "accentHeight", - "accent-height" - ], - [ - "alignmentBaseline", - "alignment-baseline" - ], - [ - "arabicForm", - "arabic-form" - ], - [ - "baselineShift", - "baseline-shift" - ], - [ - "capHeight", - "cap-height" - ], - [ - "clipPath", - "clip-path" - ], - [ - "clipRule", - "clip-rule" - ], - [ - "colorInterpolation", - "color-interpolation" - ], - [ - "colorInterpolationFilters", - "color-interpolation-filters" - ], - [ - "colorProfile", - "color-profile" - ], - [ - "colorRendering", - "color-rendering" - ], - [ - "dominantBaseline", - "dominant-baseline" - ], - [ - "enableBackground", - "enable-background" - ], - [ - "fillOpacity", - "fill-opacity" - ], - [ - "fillRule", - "fill-rule" - ], - [ - "floodColor", - "flood-color" - ], - [ - "floodOpacity", - "flood-opacity" - ], - [ - "fontFamily", - "font-family" - ], - [ - "fontSize", - "font-size" - ], - [ - "fontSizeAdjust", - "font-size-adjust" - ], - [ - "fontStretch", - "font-stretch" - ], - [ - "fontStyle", - "font-style" - ], - [ - "fontVariant", - "font-variant" - ], - [ - "fontWeight", - "font-weight" - ], - [ - "glyphName", - "glyph-name" - ], - [ - "glyphOrientationHorizontal", - "glyph-orientation-horizontal" - ], - [ - "glyphOrientationVertical", - "glyph-orientation-vertical" - ], - [ - "horizAdvX", - "horiz-adv-x" - ], - [ - "horizOriginX", - "horiz-origin-x" - ], - [ - "imageRendering", - "image-rendering" - ], - [ - "letterSpacing", - "letter-spacing" - ], - [ - "lightingColor", - "lighting-color" - ], - [ - "markerEnd", - "marker-end" - ], - [ - "markerMid", - "marker-mid" - ], - [ - "markerStart", - "marker-start" - ], - [ - "overlinePosition", - "overline-position" - ], - [ - "overlineThickness", - "overline-thickness" - ], - [ - "paintOrder", - "paint-order" - ], - [ - "panose-1", - "panose-1" - ], - [ - "pointerEvents", - "pointer-events" - ], - [ - "renderingIntent", - "rendering-intent" - ], - [ - "shapeRendering", - "shape-rendering" - ], - [ - "stopColor", - "stop-color" - ], - [ - "stopOpacity", - "stop-opacity" - ], - [ - "strikethroughPosition", - "strikethrough-position" - ], - [ - "strikethroughThickness", - "strikethrough-thickness" - ], - [ - "strokeDasharray", - "stroke-dasharray" - ], - [ - "strokeDashoffset", - "stroke-dashoffset" - ], - [ - "strokeLinecap", - "stroke-linecap" - ], - [ - "strokeLinejoin", - "stroke-linejoin" - ], - [ - "strokeMiterlimit", - "stroke-miterlimit" - ], - [ - "strokeOpacity", - "stroke-opacity" - ], - [ - "strokeWidth", - "stroke-width" - ], - [ - "textAnchor", - "text-anchor" - ], - [ - "textDecoration", - "text-decoration" - ], - [ - "textRendering", - "text-rendering" - ], - [ - "transformOrigin", - "transform-origin" - ], - [ - "underlinePosition", - "underline-position" - ], - [ - "underlineThickness", - "underline-thickness" - ], - [ - "unicodeBidi", - "unicode-bidi" - ], - [ - "unicodeRange", - "unicode-range" - ], - [ - "unitsPerEm", - "units-per-em" - ], - [ - "vAlphabetic", - "v-alphabetic" - ], - [ - "vHanging", - "v-hanging" - ], - [ - "vIdeographic", - "v-ideographic" - ], - [ - "vMathematical", - "v-mathematical" - ], - [ - "vectorEffect", - "vector-effect" - ], - [ - "vertAdvY", - "vert-adv-y" - ], - [ - "vertOriginX", - "vert-origin-x" - ], - [ - "vertOriginY", - "vert-origin-y" - ], - [ - "wordSpacing", - "word-spacing" - ], - [ - "writingMode", - "writing-mode" - ], - [ - "xmlnsXlink", - "xmlns:xlink" - ], - [ - "xHeight", - "x-height" - ] - ]), possibleStandardNames = { - accept: "accept", - acceptcharset: "acceptCharset", - "accept-charset": "acceptCharset", - accesskey: "accessKey", - action: "action", - allowfullscreen: "allowFullScreen", - alt: "alt", - as: "as", - async: "async", - autocapitalize: "autoCapitalize", - autocomplete: "autoComplete", - autocorrect: "autoCorrect", - autofocus: "autoFocus", - autoplay: "autoPlay", - autosave: "autoSave", - capture: "capture", - cellpadding: "cellPadding", - cellspacing: "cellSpacing", - challenge: "challenge", - charset: "charSet", - checked: "checked", - children: "children", - cite: "cite", - class: "className", - classid: "classID", - classname: "className", - cols: "cols", - colspan: "colSpan", - content: "content", - contenteditable: "contentEditable", - contextmenu: "contextMenu", - controls: "controls", - controlslist: "controlsList", - coords: "coords", - crossorigin: "crossOrigin", - dangerouslysetinnerhtml: "dangerouslySetInnerHTML", - data: "data", - datetime: "dateTime", - default: "default", - defaultchecked: "defaultChecked", - defaultvalue: "defaultValue", - defer: "defer", - dir: "dir", - disabled: "disabled", - disablepictureinpicture: "disablePictureInPicture", - disableremoteplayback: "disableRemotePlayback", - download: "download", - draggable: "draggable", - enctype: "encType", - enterkeyhint: "enterKeyHint", - fetchpriority: "fetchPriority", - for: "htmlFor", - form: "form", - formmethod: "formMethod", - formaction: "formAction", - formenctype: "formEncType", - formnovalidate: "formNoValidate", - formtarget: "formTarget", - frameborder: "frameBorder", - headers: "headers", - height: "height", - hidden: "hidden", - high: "high", - href: "href", - hreflang: "hrefLang", - htmlfor: "htmlFor", - httpequiv: "httpEquiv", - "http-equiv": "httpEquiv", - icon: "icon", - id: "id", - imagesizes: "imageSizes", - imagesrcset: "imageSrcSet", - inert: "inert", - innerhtml: "innerHTML", - inputmode: "inputMode", - integrity: "integrity", - is: "is", - itemid: "itemID", - itemprop: "itemProp", - itemref: "itemRef", - itemscope: "itemScope", - itemtype: "itemType", - keyparams: "keyParams", - keytype: "keyType", - kind: "kind", - label: "label", - lang: "lang", - list: "list", - loop: "loop", - low: "low", - manifest: "manifest", - marginwidth: "marginWidth", - marginheight: "marginHeight", - max: "max", - maxlength: "maxLength", - media: "media", - mediagroup: "mediaGroup", - method: "method", - min: "min", - minlength: "minLength", - multiple: "multiple", - muted: "muted", - name: "name", - nomodule: "noModule", - nonce: "nonce", - novalidate: "noValidate", - open: "open", - optimum: "optimum", - pattern: "pattern", - placeholder: "placeholder", - playsinline: "playsInline", - poster: "poster", - preload: "preload", - profile: "profile", - radiogroup: "radioGroup", - readonly: "readOnly", - referrerpolicy: "referrerPolicy", - rel: "rel", - required: "required", - reversed: "reversed", - role: "role", - rows: "rows", - rowspan: "rowSpan", - sandbox: "sandbox", - scope: "scope", - scoped: "scoped", - scrolling: "scrolling", - seamless: "seamless", - selected: "selected", - shape: "shape", - size: "size", - sizes: "sizes", - span: "span", - spellcheck: "spellCheck", - src: "src", - srcdoc: "srcDoc", - srclang: "srcLang", - srcset: "srcSet", - start: "start", - step: "step", - style: "style", - summary: "summary", - tabindex: "tabIndex", - target: "target", - title: "title", - type: "type", - usemap: "useMap", - value: "value", - width: "width", - wmode: "wmode", - wrap: "wrap", - about: "about", - accentheight: "accentHeight", - "accent-height": "accentHeight", - accumulate: "accumulate", - additive: "additive", - alignmentbaseline: "alignmentBaseline", - "alignment-baseline": "alignmentBaseline", - allowreorder: "allowReorder", - alphabetic: "alphabetic", - amplitude: "amplitude", - arabicform: "arabicForm", - "arabic-form": "arabicForm", - ascent: "ascent", - attributename: "attributeName", - attributetype: "attributeType", - autoreverse: "autoReverse", - azimuth: "azimuth", - basefrequency: "baseFrequency", - baselineshift: "baselineShift", - "baseline-shift": "baselineShift", - baseprofile: "baseProfile", - bbox: "bbox", - begin: "begin", - bias: "bias", - by: "by", - calcmode: "calcMode", - capheight: "capHeight", - "cap-height": "capHeight", - clip: "clip", - clippath: "clipPath", - "clip-path": "clipPath", - clippathunits: "clipPathUnits", - cliprule: "clipRule", - "clip-rule": "clipRule", - color: "color", - colorinterpolation: "colorInterpolation", - "color-interpolation": "colorInterpolation", - colorinterpolationfilters: "colorInterpolationFilters", - "color-interpolation-filters": "colorInterpolationFilters", - colorprofile: "colorProfile", - "color-profile": "colorProfile", - colorrendering: "colorRendering", - "color-rendering": "colorRendering", - contentscripttype: "contentScriptType", - contentstyletype: "contentStyleType", - cursor: "cursor", - cx: "cx", - cy: "cy", - d: "d", - datatype: "datatype", - decelerate: "decelerate", - descent: "descent", - diffuseconstant: "diffuseConstant", - direction: "direction", - display: "display", - divisor: "divisor", - dominantbaseline: "dominantBaseline", - "dominant-baseline": "dominantBaseline", - dur: "dur", - dx: "dx", - dy: "dy", - edgemode: "edgeMode", - elevation: "elevation", - enablebackground: "enableBackground", - "enable-background": "enableBackground", - end: "end", - exponent: "exponent", - externalresourcesrequired: "externalResourcesRequired", - fill: "fill", - fillopacity: "fillOpacity", - "fill-opacity": "fillOpacity", - fillrule: "fillRule", - "fill-rule": "fillRule", - filter: "filter", - filterres: "filterRes", - filterunits: "filterUnits", - floodopacity: "floodOpacity", - "flood-opacity": "floodOpacity", - floodcolor: "floodColor", - "flood-color": "floodColor", - focusable: "focusable", - fontfamily: "fontFamily", - "font-family": "fontFamily", - fontsize: "fontSize", - "font-size": "fontSize", - fontsizeadjust: "fontSizeAdjust", - "font-size-adjust": "fontSizeAdjust", - fontstretch: "fontStretch", - "font-stretch": "fontStretch", - fontstyle: "fontStyle", - "font-style": "fontStyle", - fontvariant: "fontVariant", - "font-variant": "fontVariant", - fontweight: "fontWeight", - "font-weight": "fontWeight", - format: "format", - from: "from", - fx: "fx", - fy: "fy", - g1: "g1", - g2: "g2", - glyphname: "glyphName", - "glyph-name": "glyphName", - glyphorientationhorizontal: "glyphOrientationHorizontal", - "glyph-orientation-horizontal": "glyphOrientationHorizontal", - glyphorientationvertical: "glyphOrientationVertical", - "glyph-orientation-vertical": "glyphOrientationVertical", - glyphref: "glyphRef", - gradienttransform: "gradientTransform", - gradientunits: "gradientUnits", - hanging: "hanging", - horizadvx: "horizAdvX", - "horiz-adv-x": "horizAdvX", - horizoriginx: "horizOriginX", - "horiz-origin-x": "horizOriginX", - ideographic: "ideographic", - imagerendering: "imageRendering", - "image-rendering": "imageRendering", - in2: "in2", - in: "in", - inlist: "inlist", - intercept: "intercept", - k1: "k1", - k2: "k2", - k3: "k3", - k4: "k4", - k: "k", - kernelmatrix: "kernelMatrix", - kernelunitlength: "kernelUnitLength", - kerning: "kerning", - keypoints: "keyPoints", - keysplines: "keySplines", - keytimes: "keyTimes", - lengthadjust: "lengthAdjust", - letterspacing: "letterSpacing", - "letter-spacing": "letterSpacing", - lightingcolor: "lightingColor", - "lighting-color": "lightingColor", - limitingconeangle: "limitingConeAngle", - local: "local", - markerend: "markerEnd", - "marker-end": "markerEnd", - markerheight: "markerHeight", - markermid: "markerMid", - "marker-mid": "markerMid", - markerstart: "markerStart", - "marker-start": "markerStart", - markerunits: "markerUnits", - markerwidth: "markerWidth", - mask: "mask", - maskcontentunits: "maskContentUnits", - maskunits: "maskUnits", - mathematical: "mathematical", - mode: "mode", - numoctaves: "numOctaves", - offset: "offset", - opacity: "opacity", - operator: "operator", - order: "order", - orient: "orient", - orientation: "orientation", - origin: "origin", - overflow: "overflow", - overlineposition: "overlinePosition", - "overline-position": "overlinePosition", - overlinethickness: "overlineThickness", - "overline-thickness": "overlineThickness", - paintorder: "paintOrder", - "paint-order": "paintOrder", - panose1: "panose1", - "panose-1": "panose1", - pathlength: "pathLength", - patterncontentunits: "patternContentUnits", - patterntransform: "patternTransform", - patternunits: "patternUnits", - pointerevents: "pointerEvents", - "pointer-events": "pointerEvents", - points: "points", - pointsatx: "pointsAtX", - pointsaty: "pointsAtY", - pointsatz: "pointsAtZ", - popover: "popover", - popovertarget: "popoverTarget", - popovertargetaction: "popoverTargetAction", - prefix: "prefix", - preservealpha: "preserveAlpha", - preserveaspectratio: "preserveAspectRatio", - primitiveunits: "primitiveUnits", - property: "property", - r: "r", - radius: "radius", - refx: "refX", - refy: "refY", - renderingintent: "renderingIntent", - "rendering-intent": "renderingIntent", - repeatcount: "repeatCount", - repeatdur: "repeatDur", - requiredextensions: "requiredExtensions", - requiredfeatures: "requiredFeatures", - resource: "resource", - restart: "restart", - result: "result", - results: "results", - rotate: "rotate", - rx: "rx", - ry: "ry", - scale: "scale", - security: "security", - seed: "seed", - shaperendering: "shapeRendering", - "shape-rendering": "shapeRendering", - slope: "slope", - spacing: "spacing", - specularconstant: "specularConstant", - specularexponent: "specularExponent", - speed: "speed", - spreadmethod: "spreadMethod", - startoffset: "startOffset", - stddeviation: "stdDeviation", - stemh: "stemh", - stemv: "stemv", - stitchtiles: "stitchTiles", - stopcolor: "stopColor", - "stop-color": "stopColor", - stopopacity: "stopOpacity", - "stop-opacity": "stopOpacity", - strikethroughposition: "strikethroughPosition", - "strikethrough-position": "strikethroughPosition", - strikethroughthickness: "strikethroughThickness", - "strikethrough-thickness": "strikethroughThickness", - string: "string", - stroke: "stroke", - strokedasharray: "strokeDasharray", - "stroke-dasharray": "strokeDasharray", - strokedashoffset: "strokeDashoffset", - "stroke-dashoffset": "strokeDashoffset", - strokelinecap: "strokeLinecap", - "stroke-linecap": "strokeLinecap", - strokelinejoin: "strokeLinejoin", - "stroke-linejoin": "strokeLinejoin", - strokemiterlimit: "strokeMiterlimit", - "stroke-miterlimit": "strokeMiterlimit", - strokewidth: "strokeWidth", - "stroke-width": "strokeWidth", - strokeopacity: "strokeOpacity", - "stroke-opacity": "strokeOpacity", - suppresscontenteditablewarning: "suppressContentEditableWarning", - suppresshydrationwarning: "suppressHydrationWarning", - surfacescale: "surfaceScale", - systemlanguage: "systemLanguage", - tablevalues: "tableValues", - targetx: "targetX", - targety: "targetY", - textanchor: "textAnchor", - "text-anchor": "textAnchor", - textdecoration: "textDecoration", - "text-decoration": "textDecoration", - textlength: "textLength", - textrendering: "textRendering", - "text-rendering": "textRendering", - to: "to", - transform: "transform", - transformorigin: "transformOrigin", - "transform-origin": "transformOrigin", - typeof: "typeof", - u1: "u1", - u2: "u2", - underlineposition: "underlinePosition", - "underline-position": "underlinePosition", - underlinethickness: "underlineThickness", - "underline-thickness": "underlineThickness", - unicode: "unicode", - unicodebidi: "unicodeBidi", - "unicode-bidi": "unicodeBidi", - unicoderange: "unicodeRange", - "unicode-range": "unicodeRange", - unitsperem: "unitsPerEm", - "units-per-em": "unitsPerEm", - unselectable: "unselectable", - valphabetic: "vAlphabetic", - "v-alphabetic": "vAlphabetic", - values: "values", - vectoreffect: "vectorEffect", - "vector-effect": "vectorEffect", - version: "version", - vertadvy: "vertAdvY", - "vert-adv-y": "vertAdvY", - vertoriginx: "vertOriginX", - "vert-origin-x": "vertOriginX", - vertoriginy: "vertOriginY", - "vert-origin-y": "vertOriginY", - vhanging: "vHanging", - "v-hanging": "vHanging", - videographic: "vIdeographic", - "v-ideographic": "vIdeographic", - viewbox: "viewBox", - viewtarget: "viewTarget", - visibility: "visibility", - vmathematical: "vMathematical", - "v-mathematical": "vMathematical", - vocab: "vocab", - widths: "widths", - wordspacing: "wordSpacing", - "word-spacing": "wordSpacing", - writingmode: "writingMode", - "writing-mode": "writingMode", - x1: "x1", - x2: "x2", - x: "x", - xchannelselector: "xChannelSelector", - xheight: "xHeight", - "x-height": "xHeight", - xlinkactuate: "xlinkActuate", - "xlink:actuate": "xlinkActuate", - xlinkarcrole: "xlinkArcrole", - "xlink:arcrole": "xlinkArcrole", - xlinkhref: "xlinkHref", - "xlink:href": "xlinkHref", - xlinkrole: "xlinkRole", - "xlink:role": "xlinkRole", - xlinkshow: "xlinkShow", - "xlink:show": "xlinkShow", - xlinktitle: "xlinkTitle", - "xlink:title": "xlinkTitle", - xlinktype: "xlinkType", - "xlink:type": "xlinkType", - xmlbase: "xmlBase", - "xml:base": "xmlBase", - xmllang: "xmlLang", - "xml:lang": "xmlLang", - xmlns: "xmlns", - "xml:space": "xmlSpace", - xmlnsxlink: "xmlnsXlink", - "xmlns:xlink": "xmlnsXlink", - xmlspace: "xmlSpace", - y1: "y1", - y2: "y2", - y: "y", - ychannelselector: "yChannelSelector", - z: "z", - zoomandpan: "zoomAndPan" - }, ariaProperties = { - "aria-current": 0, - "aria-description": 0, - "aria-details": 0, - "aria-disabled": 0, - "aria-hidden": 0, - "aria-invalid": 0, - "aria-keyshortcuts": 0, - "aria-label": 0, - "aria-roledescription": 0, - "aria-autocomplete": 0, - "aria-checked": 0, - "aria-expanded": 0, - "aria-haspopup": 0, - "aria-level": 0, - "aria-modal": 0, - "aria-multiline": 0, - "aria-multiselectable": 0, - "aria-orientation": 0, - "aria-placeholder": 0, - "aria-pressed": 0, - "aria-readonly": 0, - "aria-required": 0, - "aria-selected": 0, - "aria-sort": 0, - "aria-valuemax": 0, - "aria-valuemin": 0, - "aria-valuenow": 0, - "aria-valuetext": 0, - "aria-atomic": 0, - "aria-busy": 0, - "aria-live": 0, - "aria-relevant": 0, - "aria-dropeffect": 0, - "aria-grabbed": 0, - "aria-activedescendant": 0, - "aria-colcount": 0, - "aria-colindex": 0, - "aria-colspan": 0, - "aria-controls": 0, - "aria-describedby": 0, - "aria-errormessage": 0, - "aria-flowto": 0, - "aria-labelledby": 0, - "aria-owns": 0, - "aria-posinset": 0, - "aria-rowcount": 0, - "aria-rowindex": 0, - "aria-rowspan": 0, - "aria-setsize": 0, - "aria-braillelabel": 0, - "aria-brailleroledescription": 0, - "aria-colindextext": 0, - "aria-rowindextext": 0 - }, warnedProperties$1 = {}, rARIA$1 = RegExp("^(aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"), rARIACamel$1 = RegExp("^(aria)[A-Z][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"), didWarnValueNull = !1, warnedProperties = {}, EVENT_NAME_REGEX = /^on./, INVALID_EVENT_NAME_REGEX = /^on[^A-Z]/, rARIA = RegExp("^(aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"), rARIACamel = RegExp("^(aria)[A-Z][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"), isJavaScriptProtocol = /^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i, currentReplayingEvent = null, restoreTarget = null, restoreQueue = null, isInsideEventHandler = !1, canUseDOM = !("undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement), passiveBrowserEventsSupported = !1; - if (canUseDOM) try { - var options$jscomp$0 = {}; - Object.defineProperty(options$jscomp$0, "passive", { - get: function() { - passiveBrowserEventsSupported = !0; - } - }); - window.addEventListener("test", options$jscomp$0, options$jscomp$0); - window.removeEventListener("test", options$jscomp$0, options$jscomp$0); - } catch (e) { - passiveBrowserEventsSupported = !1; - } - var root = null, startText = null, fallbackText = null, EventInterface = { - eventPhase: 0, - bubbles: 0, - cancelable: 0, - timeStamp: function(event) { - return event.timeStamp || Date.now(); - }, - defaultPrevented: 0, - isTrusted: 0 - }, SyntheticEvent = createSyntheticEvent(EventInterface), UIEventInterface = assign({}, EventInterface, { - view: 0, - detail: 0 - }), SyntheticUIEvent = createSyntheticEvent(UIEventInterface), lastMovementX, lastMovementY, lastMouseEvent, MouseEventInterface = assign({}, UIEventInterface, { - screenX: 0, - screenY: 0, - clientX: 0, - clientY: 0, - pageX: 0, - pageY: 0, - ctrlKey: 0, - shiftKey: 0, - altKey: 0, - metaKey: 0, - getModifierState: getEventModifierState, - button: 0, - buttons: 0, - relatedTarget: function(event) { - return void 0 === event.relatedTarget ? event.fromElement === event.srcElement ? event.toElement : event.fromElement : event.relatedTarget; - }, - movementX: function(event) { - if ("movementX" in event) return event.movementX; - event !== lastMouseEvent && (lastMouseEvent && "mousemove" === event.type ? (lastMovementX = event.screenX - lastMouseEvent.screenX, lastMovementY = event.screenY - lastMouseEvent.screenY) : lastMovementY = lastMovementX = 0, lastMouseEvent = event); - return lastMovementX; - }, - movementY: function(event) { - return "movementY" in event ? event.movementY : lastMovementY; - } - }), SyntheticMouseEvent = createSyntheticEvent(MouseEventInterface), DragEventInterface = assign({}, MouseEventInterface, { - dataTransfer: 0 - }), SyntheticDragEvent = createSyntheticEvent(DragEventInterface), FocusEventInterface = assign({}, UIEventInterface, { - relatedTarget: 0 - }), SyntheticFocusEvent = createSyntheticEvent(FocusEventInterface), AnimationEventInterface = assign({}, EventInterface, { - animationName: 0, - elapsedTime: 0, - pseudoElement: 0 - }), SyntheticAnimationEvent = createSyntheticEvent(AnimationEventInterface), ClipboardEventInterface = assign({}, EventInterface, { - clipboardData: function(event) { - return "clipboardData" in event ? event.clipboardData : window.clipboardData; - } - }), SyntheticClipboardEvent = createSyntheticEvent(ClipboardEventInterface), CompositionEventInterface = assign({}, EventInterface, { - data: 0 - }), SyntheticCompositionEvent = createSyntheticEvent(CompositionEventInterface), SyntheticInputEvent = SyntheticCompositionEvent, normalizeKey = { - Esc: "Escape", - Spacebar: " ", - Left: "ArrowLeft", - Up: "ArrowUp", - Right: "ArrowRight", - Down: "ArrowDown", - Del: "Delete", - Win: "OS", - Menu: "ContextMenu", - Apps: "ContextMenu", - Scroll: "ScrollLock", - MozPrintableKey: "Unidentified" - }, translateToKey = { - 8: "Backspace", - 9: "Tab", - 12: "Clear", - 13: "Enter", - 16: "Shift", - 17: "Control", - 18: "Alt", - 19: "Pause", - 20: "CapsLock", - 27: "Escape", - 32: " ", - 33: "PageUp", - 34: "PageDown", - 35: "End", - 36: "Home", - 37: "ArrowLeft", - 38: "ArrowUp", - 39: "ArrowRight", - 40: "ArrowDown", - 45: "Insert", - 46: "Delete", - 112: "F1", - 113: "F2", - 114: "F3", - 115: "F4", - 116: "F5", - 117: "F6", - 118: "F7", - 119: "F8", - 120: "F9", - 121: "F10", - 122: "F11", - 123: "F12", - 144: "NumLock", - 145: "ScrollLock", - 224: "Meta" - }, modifierKeyToProp = { - Alt: "altKey", - Control: "ctrlKey", - Meta: "metaKey", - Shift: "shiftKey" - }, KeyboardEventInterface = assign({}, UIEventInterface, { - key: function(nativeEvent) { - if (nativeEvent.key) { - var key = normalizeKey[nativeEvent.key] || nativeEvent.key; - if ("Unidentified" !== key) return key; - } - return "keypress" === nativeEvent.type ? (nativeEvent = getEventCharCode(nativeEvent), 13 === nativeEvent ? "Enter" : String.fromCharCode(nativeEvent)) : "keydown" === nativeEvent.type || "keyup" === nativeEvent.type ? translateToKey[nativeEvent.keyCode] || "Unidentified" : ""; - }, - code: 0, - location: 0, - ctrlKey: 0, - shiftKey: 0, - altKey: 0, - metaKey: 0, - repeat: 0, - locale: 0, - getModifierState: getEventModifierState, - charCode: function(event) { - return "keypress" === event.type ? getEventCharCode(event) : 0; - }, - keyCode: function(event) { - return "keydown" === event.type || "keyup" === event.type ? event.keyCode : 0; - }, - which: function(event) { - return "keypress" === event.type ? getEventCharCode(event) : "keydown" === event.type || "keyup" === event.type ? event.keyCode : 0; - } - }), SyntheticKeyboardEvent = createSyntheticEvent(KeyboardEventInterface), PointerEventInterface = assign({}, MouseEventInterface, { - pointerId: 0, - width: 0, - height: 0, - pressure: 0, - tangentialPressure: 0, - tiltX: 0, - tiltY: 0, - twist: 0, - pointerType: 0, - isPrimary: 0 - }), SyntheticPointerEvent = createSyntheticEvent(PointerEventInterface), TouchEventInterface = assign({}, UIEventInterface, { - touches: 0, - targetTouches: 0, - changedTouches: 0, - altKey: 0, - metaKey: 0, - ctrlKey: 0, - shiftKey: 0, - getModifierState: getEventModifierState - }), SyntheticTouchEvent = createSyntheticEvent(TouchEventInterface), TransitionEventInterface = assign({}, EventInterface, { - propertyName: 0, - elapsedTime: 0, - pseudoElement: 0 - }), SyntheticTransitionEvent = createSyntheticEvent(TransitionEventInterface), WheelEventInterface = assign({}, MouseEventInterface, { - deltaX: function(event) { - return "deltaX" in event ? event.deltaX : "wheelDeltaX" in event ? -event.wheelDeltaX : 0; - }, - deltaY: function(event) { - return "deltaY" in event ? event.deltaY : "wheelDeltaY" in event ? -event.wheelDeltaY : "wheelDelta" in event ? -event.wheelDelta : 0; - }, - deltaZ: 0, - deltaMode: 0 - }), SyntheticWheelEvent = createSyntheticEvent(WheelEventInterface), ToggleEventInterface = assign({}, EventInterface, { - newState: 0, - oldState: 0 - }), SyntheticToggleEvent = createSyntheticEvent(ToggleEventInterface), END_KEYCODES = [ - 9, - 13, - 27, - 32 - ], START_KEYCODE = 229, canUseCompositionEvent = canUseDOM && "CompositionEvent" in window, documentMode = null; - canUseDOM && "documentMode" in document && (documentMode = document.documentMode); - var canUseTextInputEvent = canUseDOM && "TextEvent" in window && !documentMode, useFallbackCompositionData = canUseDOM && (!canUseCompositionEvent || documentMode && 8 < documentMode && 11 >= documentMode), SPACEBAR_CODE = 32, SPACEBAR_CHAR = String.fromCharCode(SPACEBAR_CODE), hasSpaceKeypress = !1, isComposing = !1, supportedInputTypes = { - color: !0, - date: !0, - datetime: !0, - "datetime-local": !0, - email: !0, - month: !0, - number: !0, - password: !0, - range: !0, - search: !0, - tel: !0, - text: !0, - time: !0, - url: !0, - week: !0 - }, activeElement$1 = null, activeElementInst$1 = null, isInputEventSupported = !1; - canUseDOM && (isInputEventSupported = isEventSupported("input") && (!document.documentMode || 9 < document.documentMode)); - var objectIs = "function" === typeof Object.is ? Object.is : is, skipSelectionChangeEvent = canUseDOM && "documentMode" in document && 11 >= document.documentMode, activeElement = null, activeElementInst = null, lastSelection = null, mouseDown = !1, vendorPrefixes = { - animationend: makePrefixMap("Animation", "AnimationEnd"), - animationiteration: makePrefixMap("Animation", "AnimationIteration"), - animationstart: makePrefixMap("Animation", "AnimationStart"), - transitionrun: makePrefixMap("Transition", "TransitionRun"), - transitionstart: makePrefixMap("Transition", "TransitionStart"), - transitioncancel: makePrefixMap("Transition", "TransitionCancel"), - transitionend: makePrefixMap("Transition", "TransitionEnd") - }, prefixedEventNames = {}, style = {}; - canUseDOM && (style = document.createElement("div").style, "AnimationEvent" in window || (delete vendorPrefixes.animationend.animation, delete vendorPrefixes.animationiteration.animation, delete vendorPrefixes.animationstart.animation), "TransitionEvent" in window || delete vendorPrefixes.transitionend.transition); - var ANIMATION_END = getVendorPrefixedEventName("animationend"), ANIMATION_ITERATION = getVendorPrefixedEventName("animationiteration"), ANIMATION_START = getVendorPrefixedEventName("animationstart"), TRANSITION_RUN = getVendorPrefixedEventName("transitionrun"), TRANSITION_START = getVendorPrefixedEventName("transitionstart"), TRANSITION_CANCEL = getVendorPrefixedEventName("transitioncancel"), TRANSITION_END = getVendorPrefixedEventName("transitionend"), topLevelEventsToReactNames = new Map(), simpleEventPluginEvents = "abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" "); - simpleEventPluginEvents.push("scrollEnd"); - var globalClientIdCounter$1 = 0, lastResetTime = 0; - if ("object" === typeof performance && "function" === typeof performance.now) { - var localPerformance = performance; - var getCurrentTime = function() { - return localPerformance.now(); - }; - } else { - var localDate = Date; - getCurrentTime = function() { - return localDate.now(); - }; - } - var reportGlobalError = "function" === typeof reportError ? reportError : function(error) { - if ("object" === typeof window && "function" === typeof window.ErrorEvent) { - var event = new window.ErrorEvent("error", { - bubbles: !0, - cancelable: !0, - message: "object" === typeof error && null !== error && "string" === typeof error.message ? String(error.message) : String(error), - error: error - }); - if (!window.dispatchEvent(event)) return; - } else if ("object" === typeof __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"] && "function" === typeof __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"].emit) { - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"].emit("uncaughtException", error); - return; - } - console.error(error); - }, OMITTED_PROP_ERROR = "This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.", EMPTY_ARRAY = 0, COMPLEX_ARRAY = 1, PRIMITIVE_ARRAY = 2, ENTRIES_ARRAY = 3, OBJECT_WIDTH_LIMIT = 100, REMOVED = "\u2013\u00a0", ADDED = "+\u00a0", UNCHANGED = "\u2007\u00a0", supportsUserTiming = "undefined" !== typeof console && "function" === typeof console.timeStamp && "undefined" !== typeof performance && "function" === typeof performance.measure, COMPONENTS_TRACK = "Components \u269b", LANES_TRACK_GROUP = "Scheduler \u269b", currentTrack = "Blocking", alreadyWarnedForDeepEquality = !1, reusableComponentDevToolDetails = { - color: "primary", - properties: null, - tooltipText: "", - track: COMPONENTS_TRACK - }, reusableComponentOptions = { - start: -0, - end: -0, - detail: { - devtools: reusableComponentDevToolDetails - } - }, reusableChangedPropsEntry = [ - "Changed Props", - "" - ], DEEP_EQUALITY_WARNING = "This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.", reusableDeeplyEqualPropsEntry = [ - "Changed Props", - DEEP_EQUALITY_WARNING - ], OffscreenVisible = 1, OffscreenPassiveEffectsConnected = 2, concurrentQueues = [], concurrentQueuesIndex = 0, concurrentlyUpdatedLanes = 0, emptyContextObject = {}; - Object.freeze(emptyContextObject); - var resolveFamily = null, failedBoundaries = null, NoMode = 0, ConcurrentMode = 1, ProfileMode = 2, StrictLegacyMode = 8, StrictEffectsMode = 16, SuspenseyImagesMode = 32; - var hasBadMapPolyfill = !1; - try { - var nonExtensibleObject = Object.preventExtensions({}); - new Map([ - [ - nonExtensibleObject, - null - ] - ]); - new Set([ - nonExtensibleObject - ]); - } catch (e$3) { - hasBadMapPolyfill = !0; - } - var CapturedStacks = new WeakMap(), forkStack = [], forkStackIndex = 0, treeForkProvider = null, treeForkCount = 0, idStack = [], idStackIndex = 0, treeContextProvider = null, treeContextId = 1, treeContextOverflow = "", hydrationParentFiber = null, nextHydratableInstance = null, isHydrating = !1, didSuspendOrErrorDEV = !1, hydrationDiffRootDEV = null, hydrationErrors = null, rootOrSingletonContext = !1, HydrationMismatchException = Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."), valueCursor = createCursor(null); - var rendererCursorDEV = createCursor(null); - var rendererSigil = {}; - var currentlyRenderingFiber$1 = null, lastContextDependency = null, isDisallowedContextReadInDEV = !1, AbortControllerLocal = "undefined" !== typeof AbortController ? AbortController : function() { - var listeners = [], signal = this.signal = { - aborted: !1, - addEventListener: function(type, listener) { - listeners.push(listener); - } - }; - this.abort = function() { - signal.aborted = !0; - listeners.forEach(function(listener) { - return listener(); - }); - }; - }, scheduleCallback$2 = Scheduler.unstable_scheduleCallback, NormalPriority = Scheduler.unstable_NormalPriority, CacheContext = { - $$typeof: REACT_CONTEXT_TYPE, - Consumer: null, - Provider: null, - _currentValue: null, - _currentValue2: null, - _threadCount: 0, - _currentRenderer: null, - _currentRenderer2: null - }, entangledTransitionTypes = null, now = Scheduler.unstable_now, createTask = console.createTask ? console.createTask : function() { - return null; - }, SPAWNED_UPDATE = 1, PINGED_UPDATE = 2, renderStartTime = -0, commitStartTime = -0, commitEndTime = -0, commitErrors = null, profilerStartTime = -1.1, profilerEffectDuration = -0, componentEffectDuration = -0, componentEffectStartTime = -1.1, componentEffectEndTime = -1.1, componentEffectErrors = null, componentEffectSpawnedUpdate = !1, blockingClampTime = -0, blockingUpdateTime = -1.1, blockingUpdateTask = null, blockingUpdateType = 0, blockingUpdateMethodName = null, blockingUpdateComponentName = null, blockingEventTime = -1.1, blockingEventType = null, blockingEventRepeatTime = -1.1, blockingSuspendedTime = -1.1, transitionClampTime = -0, transitionStartTime = -1.1, transitionUpdateTime = -1.1, transitionUpdateType = 0, transitionUpdateTask = null, transitionUpdateMethodName = null, transitionUpdateComponentName = null, transitionEventTime = -1.1, transitionEventType = null, transitionEventRepeatTime = -1.1, transitionSuspendedTime = -1.1, retryClampTime = -0, idleClampTime = -0, animatingLanes = 0, animatingTask = null, yieldReason = 0, yieldStartTime = -1.1, currentUpdateIsNested = !1, nestedUpdateScheduled = !1, currentEntangledListeners = null, currentEntangledPendingCount = 0, currentEntangledLane = 0, currentEntangledActionThenable = null, prevOnStartTransitionFinish = ReactSharedInternals.S; - ReactSharedInternals.S = function(transition, returnValue) { - globalMostRecentTransitionTime = now$1(); - if ("object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then) { - if (0 > transitionStartTime && 0 > transitionUpdateTime) { - transitionStartTime = now(); - var newEventTime = resolveEventTimeStamp(), newEventType = resolveEventType(); - if (newEventTime !== transitionEventRepeatTime || newEventType !== transitionEventType) transitionEventRepeatTime = -1.1; - transitionEventTime = newEventTime; - transitionEventType = newEventType; - } - entangleAsyncAction(transition, returnValue); - } - if (null !== entangledTransitionTypes) for(newEventTime = firstScheduledRoot; null !== newEventTime;)queueTransitionTypes(newEventTime, entangledTransitionTypes), newEventTime = newEventTime.next; - newEventTime = transition.types; - if (null !== newEventTime) { - for(newEventType = firstScheduledRoot; null !== newEventType;)queueTransitionTypes(newEventType, newEventTime), newEventType = newEventType.next; - if (0 !== currentEntangledLane) { - newEventType = entangledTransitionTypes; - null === newEventType && (newEventType = entangledTransitionTypes = []); - for(var i = 0; i < newEventTime.length; i++){ - var transitionType = newEventTime[i]; - -1 === newEventType.indexOf(transitionType) && newEventType.push(transitionType); - } - } - } - null !== prevOnStartTransitionFinish && prevOnStartTransitionFinish(transition, returnValue); - }; - var resumedCache = createCursor(null), ReactStrictModeWarnings = { - recordUnsafeLifecycleWarnings: function() {}, - flushPendingUnsafeLifecycleWarnings: function() {}, - recordLegacyContextWarning: function() {}, - flushLegacyContextWarning: function() {}, - discardPendingWarnings: function() {} - }, pendingComponentWillMountWarnings = [], pendingUNSAFE_ComponentWillMountWarnings = [], pendingComponentWillReceivePropsWarnings = [], pendingUNSAFE_ComponentWillReceivePropsWarnings = [], pendingComponentWillUpdateWarnings = [], pendingUNSAFE_ComponentWillUpdateWarnings = [], didWarnAboutUnsafeLifecycles = new Set(); - ReactStrictModeWarnings.recordUnsafeLifecycleWarnings = function(fiber, instance) { - didWarnAboutUnsafeLifecycles.has(fiber.type) || ("function" === typeof instance.componentWillMount && !0 !== instance.componentWillMount.__suppressDeprecationWarning && pendingComponentWillMountWarnings.push(fiber), fiber.mode & StrictLegacyMode && "function" === typeof instance.UNSAFE_componentWillMount && pendingUNSAFE_ComponentWillMountWarnings.push(fiber), "function" === typeof instance.componentWillReceiveProps && !0 !== instance.componentWillReceiveProps.__suppressDeprecationWarning && pendingComponentWillReceivePropsWarnings.push(fiber), fiber.mode & StrictLegacyMode && "function" === typeof instance.UNSAFE_componentWillReceiveProps && pendingUNSAFE_ComponentWillReceivePropsWarnings.push(fiber), "function" === typeof instance.componentWillUpdate && !0 !== instance.componentWillUpdate.__suppressDeprecationWarning && pendingComponentWillUpdateWarnings.push(fiber), fiber.mode & StrictLegacyMode && "function" === typeof instance.UNSAFE_componentWillUpdate && pendingUNSAFE_ComponentWillUpdateWarnings.push(fiber)); - }; - ReactStrictModeWarnings.flushPendingUnsafeLifecycleWarnings = function() { - var componentWillMountUniqueNames = new Set(); - 0 < pendingComponentWillMountWarnings.length && (pendingComponentWillMountWarnings.forEach(function(fiber) { - componentWillMountUniqueNames.add(getComponentNameFromFiber(fiber) || "Component"); - didWarnAboutUnsafeLifecycles.add(fiber.type); - }), pendingComponentWillMountWarnings = []); - var UNSAFE_componentWillMountUniqueNames = new Set(); - 0 < pendingUNSAFE_ComponentWillMountWarnings.length && (pendingUNSAFE_ComponentWillMountWarnings.forEach(function(fiber) { - UNSAFE_componentWillMountUniqueNames.add(getComponentNameFromFiber(fiber) || "Component"); - didWarnAboutUnsafeLifecycles.add(fiber.type); - }), pendingUNSAFE_ComponentWillMountWarnings = []); - var componentWillReceivePropsUniqueNames = new Set(); - 0 < pendingComponentWillReceivePropsWarnings.length && (pendingComponentWillReceivePropsWarnings.forEach(function(fiber) { - componentWillReceivePropsUniqueNames.add(getComponentNameFromFiber(fiber) || "Component"); - didWarnAboutUnsafeLifecycles.add(fiber.type); - }), pendingComponentWillReceivePropsWarnings = []); - var UNSAFE_componentWillReceivePropsUniqueNames = new Set(); - 0 < pendingUNSAFE_ComponentWillReceivePropsWarnings.length && (pendingUNSAFE_ComponentWillReceivePropsWarnings.forEach(function(fiber) { - UNSAFE_componentWillReceivePropsUniqueNames.add(getComponentNameFromFiber(fiber) || "Component"); - didWarnAboutUnsafeLifecycles.add(fiber.type); - }), pendingUNSAFE_ComponentWillReceivePropsWarnings = []); - var componentWillUpdateUniqueNames = new Set(); - 0 < pendingComponentWillUpdateWarnings.length && (pendingComponentWillUpdateWarnings.forEach(function(fiber) { - componentWillUpdateUniqueNames.add(getComponentNameFromFiber(fiber) || "Component"); - didWarnAboutUnsafeLifecycles.add(fiber.type); - }), pendingComponentWillUpdateWarnings = []); - var UNSAFE_componentWillUpdateUniqueNames = new Set(); - 0 < pendingUNSAFE_ComponentWillUpdateWarnings.length && (pendingUNSAFE_ComponentWillUpdateWarnings.forEach(function(fiber) { - UNSAFE_componentWillUpdateUniqueNames.add(getComponentNameFromFiber(fiber) || "Component"); - didWarnAboutUnsafeLifecycles.add(fiber.type); - }), pendingUNSAFE_ComponentWillUpdateWarnings = []); - if (0 < UNSAFE_componentWillMountUniqueNames.size) { - var sortedNames = setToSortedString(UNSAFE_componentWillMountUniqueNames); - console.error("Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.\n\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\n\nPlease update the following components: %s", sortedNames); - } - 0 < UNSAFE_componentWillReceivePropsUniqueNames.size && (sortedNames = setToSortedString(UNSAFE_componentWillReceivePropsUniqueNames), console.error("Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state\n\nPlease update the following components: %s", sortedNames)); - 0 < UNSAFE_componentWillUpdateUniqueNames.size && (sortedNames = setToSortedString(UNSAFE_componentWillUpdateUniqueNames), console.error("Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n\nPlease update the following components: %s", sortedNames)); - 0 < componentWillMountUniqueNames.size && (sortedNames = setToSortedString(componentWillMountUniqueNames), console.warn("componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.\n\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\n* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s", sortedNames)); - 0 < componentWillReceivePropsUniqueNames.size && (sortedNames = setToSortedString(componentWillReceivePropsUniqueNames), console.warn("componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state\n* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s", sortedNames)); - 0 < componentWillUpdateUniqueNames.size && (sortedNames = setToSortedString(componentWillUpdateUniqueNames), console.warn("componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s", sortedNames)); - }; - var pendingLegacyContextWarning = new Map(), didWarnAboutLegacyContext = new Set(); - ReactStrictModeWarnings.recordLegacyContextWarning = function(fiber, instance) { - var strictRoot = null; - for(var node = fiber; null !== node;)node.mode & StrictLegacyMode && (strictRoot = node), node = node.return; - null === strictRoot ? console.error("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.") : !didWarnAboutLegacyContext.has(fiber.type) && (node = pendingLegacyContextWarning.get(strictRoot), null != fiber.type.contextTypes || null != fiber.type.childContextTypes || null !== instance && "function" === typeof instance.getChildContext) && (void 0 === node && (node = [], pendingLegacyContextWarning.set(strictRoot, node)), node.push(fiber)); - }; - ReactStrictModeWarnings.flushLegacyContextWarning = function() { - pendingLegacyContextWarning.forEach(function(fiberArray) { - if (0 !== fiberArray.length) { - var firstFiber = fiberArray[0], uniqueNames = new Set(); - fiberArray.forEach(function(fiber) { - uniqueNames.add(getComponentNameFromFiber(fiber) || "Component"); - didWarnAboutLegacyContext.add(fiber.type); - }); - var sortedNames = setToSortedString(uniqueNames); - runWithFiberInDEV(firstFiber, function() { - console.error("Legacy context API has been detected within a strict-mode tree.\n\nThe old API will be supported in all 16.x releases, but applications using it should migrate to the new version.\n\nPlease update the following components: %s\n\nLearn more about this warning here: https://react.dev/link/legacy-context", sortedNames); - }); - } - }); - }; - ReactStrictModeWarnings.discardPendingWarnings = function() { - pendingComponentWillMountWarnings = []; - pendingUNSAFE_ComponentWillMountWarnings = []; - pendingComponentWillReceivePropsWarnings = []; - pendingUNSAFE_ComponentWillReceivePropsWarnings = []; - pendingComponentWillUpdateWarnings = []; - pendingUNSAFE_ComponentWillUpdateWarnings = []; - pendingLegacyContextWarning = new Map(); - }; - var callComponent = { - react_stack_bottom_frame: function(Component, props, secondArg) { - var wasRendering = isRendering; - isRendering = !0; - try { - return Component(props, secondArg); - } finally{ - isRendering = wasRendering; - } - } - }, callComponentInDEV = callComponent.react_stack_bottom_frame.bind(callComponent), callRender = { - react_stack_bottom_frame: function(instance) { - var wasRendering = isRendering; - isRendering = !0; - try { - return instance.render(); - } finally{ - isRendering = wasRendering; - } - } - }, callRenderInDEV = callRender.react_stack_bottom_frame.bind(callRender), callComponentDidMount = { - react_stack_bottom_frame: function(finishedWork, instance) { - try { - instance.componentDidMount(); - } catch (error) { - captureCommitPhaseError(finishedWork, finishedWork.return, error); - } - } - }, callComponentDidMountInDEV = callComponentDidMount.react_stack_bottom_frame.bind(callComponentDidMount), callComponentDidUpdate = { - react_stack_bottom_frame: function(finishedWork, instance, prevProps, prevState, snapshot) { - try { - instance.componentDidUpdate(prevProps, prevState, snapshot); - } catch (error) { - captureCommitPhaseError(finishedWork, finishedWork.return, error); - } - } - }, callComponentDidUpdateInDEV = callComponentDidUpdate.react_stack_bottom_frame.bind(callComponentDidUpdate), callComponentDidCatch = { - react_stack_bottom_frame: function(instance, errorInfo) { - var stack = errorInfo.stack; - instance.componentDidCatch(errorInfo.value, { - componentStack: null !== stack ? stack : "" - }); - } - }, callComponentDidCatchInDEV = callComponentDidCatch.react_stack_bottom_frame.bind(callComponentDidCatch), callComponentWillUnmount = { - react_stack_bottom_frame: function(current, nearestMountedAncestor, instance) { - try { - instance.componentWillUnmount(); - } catch (error) { - captureCommitPhaseError(current, nearestMountedAncestor, error); - } - } - }, callComponentWillUnmountInDEV = callComponentWillUnmount.react_stack_bottom_frame.bind(callComponentWillUnmount), callCreate = { - react_stack_bottom_frame: function(effect) { - var create = effect.create; - effect = effect.inst; - create = create(); - return effect.destroy = create; - } - }, callCreateInDEV = callCreate.react_stack_bottom_frame.bind(callCreate), callDestroy = { - react_stack_bottom_frame: function(current, nearestMountedAncestor, destroy) { - try { - destroy(); - } catch (error) { - captureCommitPhaseError(current, nearestMountedAncestor, error); - } - } - }, callDestroyInDEV = callDestroy.react_stack_bottom_frame.bind(callDestroy), callLazyInit = { - react_stack_bottom_frame: function(lazy) { - var init = lazy._init; - return init(lazy._payload); - } - }, callLazyInitInDEV = callLazyInit.react_stack_bottom_frame.bind(callLazyInit), SuspenseException = Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."), SuspenseyCommitException = Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."), SuspenseActionException = Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."), noopSuspenseyCommitThenable = { - then: function() { - console.error('Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.'); - } - }, suspendedThenable = null, needsToResetSuspendedThenableDEV = !1, thenableState$1 = null, thenableIndexCounter$1 = 0, currentDebugInfo = null, didWarnAboutMaps; - var didWarnAboutGenerators = didWarnAboutMaps = !1; - var ownerHasKeyUseWarning = {}; - var ownerHasFunctionTypeWarning = {}; - var ownerHasSymbolTypeWarning = {}; - warnForMissingKey = function(returnFiber, workInProgress, child) { - if (null !== child && "object" === typeof child && child._store && (!child._store.validated && null == child.key || 2 === child._store.validated)) { - if ("object" !== typeof child._store) throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue."); - child._store.validated = 1; - var componentName = getComponentNameFromFiber(returnFiber), componentKey = componentName || "null"; - if (!ownerHasKeyUseWarning[componentKey]) { - ownerHasKeyUseWarning[componentKey] = !0; - child = child._owner; - returnFiber = returnFiber._debugOwner; - var currentComponentErrorInfo = ""; - returnFiber && "number" === typeof returnFiber.tag && (componentKey = getComponentNameFromFiber(returnFiber)) && (currentComponentErrorInfo = "\n\nCheck the render method of `" + componentKey + "`."); - currentComponentErrorInfo || componentName && (currentComponentErrorInfo = "\n\nCheck the top-level render call using <" + componentName + ">."); - var childOwnerAppendix = ""; - null != child && returnFiber !== child && (componentName = null, "number" === typeof child.tag ? componentName = getComponentNameFromFiber(child) : "string" === typeof child.name && (componentName = child.name), componentName && (childOwnerAppendix = " It was passed a child from " + componentName + ".")); - runWithFiberInDEV(workInProgress, function() { - console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.', currentComponentErrorInfo, childOwnerAppendix); - }); - } - } - }; - var reconcileChildFibers = createChildReconciler(!0), mountChildFibers = createChildReconciler(!1), UpdateState = 0, ReplaceState = 1, ForceUpdate = 2, CaptureUpdate = 3, hasForceUpdate = !1; - var didWarnUpdateInsideUpdate = !1; - var currentlyProcessingQueue = null; - var didReadFromEntangledAsyncAction = !1, currentTreeHiddenStackCursor = createCursor(null), prevEntangledRenderLanesCursor = createCursor(0), suspenseHandlerStackCursor = createCursor(null), shellBoundary = null, SubtreeSuspenseContextMask = 1, ForceSuspenseFallback = 2, suspenseStackCursor = createCursor(0), NoFlags = 0, HasEffect = 1, Insertion = 2, Layout = 4, Passive = 8, didWarnUncachedGetSnapshot; - var didWarnAboutMismatchedHooksForComponent = new Set(); - var didWarnAboutUseWrappedInTryCatch = new Set(); - var didWarnAboutAsyncClientComponent = new Set(); - var didWarnAboutUseFormState = new Set(); - var renderLanes = 0, currentlyRenderingFiber = null, currentHook = null, workInProgressHook = null, didScheduleRenderPhaseUpdate = !1, didScheduleRenderPhaseUpdateDuringThisPass = !1, shouldDoubleInvokeUserFnsInHooksDEV = !1, localIdCounter = 0, thenableIndexCounter = 0, thenableState = null, globalClientIdCounter = 0, RE_RENDER_LIMIT = 25, currentHookNameInDev = null, hookTypesDev = null, hookTypesUpdateIndexDev = -1, ignorePreviousDependencies = !1, ContextOnlyDispatcher = { - readContext: readContext, - use: use, - useCallback: throwInvalidHookError, - useContext: throwInvalidHookError, - useEffect: throwInvalidHookError, - useImperativeHandle: throwInvalidHookError, - useLayoutEffect: throwInvalidHookError, - useInsertionEffect: throwInvalidHookError, - useMemo: throwInvalidHookError, - useReducer: throwInvalidHookError, - useRef: throwInvalidHookError, - useState: throwInvalidHookError, - useDebugValue: throwInvalidHookError, - useDeferredValue: throwInvalidHookError, - useTransition: throwInvalidHookError, - useSyncExternalStore: throwInvalidHookError, - useId: throwInvalidHookError, - useHostTransitionStatus: throwInvalidHookError, - useFormState: throwInvalidHookError, - useActionState: throwInvalidHookError, - useOptimistic: throwInvalidHookError, - useMemoCache: throwInvalidHookError, - useCacheRefresh: throwInvalidHookError - }; - ContextOnlyDispatcher.useEffectEvent = throwInvalidHookError; - var HooksDispatcherOnMountInDEV = null, HooksDispatcherOnMountWithHookTypesInDEV = null, HooksDispatcherOnUpdateInDEV = null, HooksDispatcherOnRerenderInDEV = null, InvalidNestedHooksDispatcherOnMountInDEV = null, InvalidNestedHooksDispatcherOnUpdateInDEV = null, InvalidNestedHooksDispatcherOnRerenderInDEV = null; - HooksDispatcherOnMountInDEV = { - readContext: function(context) { - return readContext(context); - }, - use: use, - useCallback: function(callback, deps) { - currentHookNameInDev = "useCallback"; - mountHookTypesDev(); - checkDepsAreArrayDev(deps); - return mountCallback(callback, deps); - }, - useContext: function(context) { - currentHookNameInDev = "useContext"; - mountHookTypesDev(); - return readContext(context); - }, - useEffect: function(create, deps) { - currentHookNameInDev = "useEffect"; - mountHookTypesDev(); - checkDepsAreArrayDev(deps); - return mountEffect(create, deps); - }, - useImperativeHandle: function(ref, create, deps) { - currentHookNameInDev = "useImperativeHandle"; - mountHookTypesDev(); - checkDepsAreArrayDev(deps); - return mountImperativeHandle(ref, create, deps); - }, - useInsertionEffect: function(create, deps) { - currentHookNameInDev = "useInsertionEffect"; - mountHookTypesDev(); - checkDepsAreArrayDev(deps); - mountEffectImpl(4, Insertion, create, deps); - }, - useLayoutEffect: function(create, deps) { - currentHookNameInDev = "useLayoutEffect"; - mountHookTypesDev(); - checkDepsAreArrayDev(deps); - return mountLayoutEffect(create, deps); - }, - useMemo: function(create, deps) { - currentHookNameInDev = "useMemo"; - mountHookTypesDev(); - checkDepsAreArrayDev(deps); - var prevDispatcher = ReactSharedInternals.H; - ReactSharedInternals.H = InvalidNestedHooksDispatcherOnMountInDEV; - try { - return mountMemo(create, deps); - } finally{ - ReactSharedInternals.H = prevDispatcher; - } - }, - useReducer: function(reducer, initialArg, init) { - currentHookNameInDev = "useReducer"; - mountHookTypesDev(); - var prevDispatcher = ReactSharedInternals.H; - ReactSharedInternals.H = InvalidNestedHooksDispatcherOnMountInDEV; - try { - return mountReducer(reducer, initialArg, init); - } finally{ - ReactSharedInternals.H = prevDispatcher; - } - }, - useRef: function(initialValue) { - currentHookNameInDev = "useRef"; - mountHookTypesDev(); - return mountRef(initialValue); - }, - useState: function(initialState) { - currentHookNameInDev = "useState"; - mountHookTypesDev(); - var prevDispatcher = ReactSharedInternals.H; - ReactSharedInternals.H = InvalidNestedHooksDispatcherOnMountInDEV; - try { - return mountState(initialState); - } finally{ - ReactSharedInternals.H = prevDispatcher; - } - }, - useDebugValue: function() { - currentHookNameInDev = "useDebugValue"; - mountHookTypesDev(); - }, - useDeferredValue: function(value, initialValue) { - currentHookNameInDev = "useDeferredValue"; - mountHookTypesDev(); - return mountDeferredValue(value, initialValue); - }, - useTransition: function() { - currentHookNameInDev = "useTransition"; - mountHookTypesDev(); - return mountTransition(); - }, - useSyncExternalStore: function(subscribe, getSnapshot, getServerSnapshot) { - currentHookNameInDev = "useSyncExternalStore"; - mountHookTypesDev(); - return mountSyncExternalStore(subscribe, getSnapshot, getServerSnapshot); - }, - useId: function() { - currentHookNameInDev = "useId"; - mountHookTypesDev(); - return mountId(); - }, - useFormState: function(action, initialState) { - currentHookNameInDev = "useFormState"; - mountHookTypesDev(); - warnOnUseFormStateInDev(); - return mountActionState(action, initialState); - }, - useActionState: function(action, initialState) { - currentHookNameInDev = "useActionState"; - mountHookTypesDev(); - return mountActionState(action, initialState); - }, - useOptimistic: function(passthrough) { - currentHookNameInDev = "useOptimistic"; - mountHookTypesDev(); - return mountOptimistic(passthrough); - }, - useHostTransitionStatus: useHostTransitionStatus, - useMemoCache: useMemoCache, - useCacheRefresh: function() { - currentHookNameInDev = "useCacheRefresh"; - mountHookTypesDev(); - return mountRefresh(); - }, - useEffectEvent: function(callback) { - currentHookNameInDev = "useEffectEvent"; - mountHookTypesDev(); - return mountEvent(callback); - } - }; - HooksDispatcherOnMountWithHookTypesInDEV = { - readContext: function(context) { - return readContext(context); - }, - use: use, - useCallback: function(callback, deps) { - currentHookNameInDev = "useCallback"; - updateHookTypesDev(); - return mountCallback(callback, deps); - }, - useContext: function(context) { - currentHookNameInDev = "useContext"; - updateHookTypesDev(); - return readContext(context); - }, - useEffect: function(create, deps) { - currentHookNameInDev = "useEffect"; - updateHookTypesDev(); - return mountEffect(create, deps); - }, - useImperativeHandle: function(ref, create, deps) { - currentHookNameInDev = "useImperativeHandle"; - updateHookTypesDev(); - return mountImperativeHandle(ref, create, deps); - }, - useInsertionEffect: function(create, deps) { - currentHookNameInDev = "useInsertionEffect"; - updateHookTypesDev(); - mountEffectImpl(4, Insertion, create, deps); - }, - useLayoutEffect: function(create, deps) { - currentHookNameInDev = "useLayoutEffect"; - updateHookTypesDev(); - return mountLayoutEffect(create, deps); - }, - useMemo: function(create, deps) { - currentHookNameInDev = "useMemo"; - updateHookTypesDev(); - var prevDispatcher = ReactSharedInternals.H; - ReactSharedInternals.H = InvalidNestedHooksDispatcherOnMountInDEV; - try { - return mountMemo(create, deps); - } finally{ - ReactSharedInternals.H = prevDispatcher; - } - }, - useReducer: function(reducer, initialArg, init) { - currentHookNameInDev = "useReducer"; - updateHookTypesDev(); - var prevDispatcher = ReactSharedInternals.H; - ReactSharedInternals.H = InvalidNestedHooksDispatcherOnMountInDEV; - try { - return mountReducer(reducer, initialArg, init); - } finally{ - ReactSharedInternals.H = prevDispatcher; - } - }, - useRef: function(initialValue) { - currentHookNameInDev = "useRef"; - updateHookTypesDev(); - return mountRef(initialValue); - }, - useState: function(initialState) { - currentHookNameInDev = "useState"; - updateHookTypesDev(); - var prevDispatcher = ReactSharedInternals.H; - ReactSharedInternals.H = InvalidNestedHooksDispatcherOnMountInDEV; - try { - return mountState(initialState); - } finally{ - ReactSharedInternals.H = prevDispatcher; - } - }, - useDebugValue: function() { - currentHookNameInDev = "useDebugValue"; - updateHookTypesDev(); - }, - useDeferredValue: function(value, initialValue) { - currentHookNameInDev = "useDeferredValue"; - updateHookTypesDev(); - return mountDeferredValue(value, initialValue); - }, - useTransition: function() { - currentHookNameInDev = "useTransition"; - updateHookTypesDev(); - return mountTransition(); - }, - useSyncExternalStore: function(subscribe, getSnapshot, getServerSnapshot) { - currentHookNameInDev = "useSyncExternalStore"; - updateHookTypesDev(); - return mountSyncExternalStore(subscribe, getSnapshot, getServerSnapshot); - }, - useId: function() { - currentHookNameInDev = "useId"; - updateHookTypesDev(); - return mountId(); - }, - useActionState: function(action, initialState) { - currentHookNameInDev = "useActionState"; - updateHookTypesDev(); - return mountActionState(action, initialState); - }, - useFormState: function(action, initialState) { - currentHookNameInDev = "useFormState"; - updateHookTypesDev(); - warnOnUseFormStateInDev(); - return mountActionState(action, initialState); - }, - useOptimistic: function(passthrough) { - currentHookNameInDev = "useOptimistic"; - updateHookTypesDev(); - return mountOptimistic(passthrough); - }, - useHostTransitionStatus: useHostTransitionStatus, - useMemoCache: useMemoCache, - useCacheRefresh: function() { - currentHookNameInDev = "useCacheRefresh"; - updateHookTypesDev(); - return mountRefresh(); - }, - useEffectEvent: function(callback) { - currentHookNameInDev = "useEffectEvent"; - updateHookTypesDev(); - return mountEvent(callback); - } - }; - HooksDispatcherOnUpdateInDEV = { - readContext: function(context) { - return readContext(context); - }, - use: use, - useCallback: function(callback, deps) { - currentHookNameInDev = "useCallback"; - updateHookTypesDev(); - return updateCallback(callback, deps); - }, - useContext: function(context) { - currentHookNameInDev = "useContext"; - updateHookTypesDev(); - return readContext(context); - }, - useEffect: function(create, deps) { - currentHookNameInDev = "useEffect"; - updateHookTypesDev(); - updateEffectImpl(2048, Passive, create, deps); - }, - useImperativeHandle: function(ref, create, deps) { - currentHookNameInDev = "useImperativeHandle"; - updateHookTypesDev(); - return updateImperativeHandle(ref, create, deps); - }, - useInsertionEffect: function(create, deps) { - currentHookNameInDev = "useInsertionEffect"; - updateHookTypesDev(); - return updateEffectImpl(4, Insertion, create, deps); - }, - useLayoutEffect: function(create, deps) { - currentHookNameInDev = "useLayoutEffect"; - updateHookTypesDev(); - return updateEffectImpl(4, Layout, create, deps); - }, - useMemo: function(create, deps) { - currentHookNameInDev = "useMemo"; - updateHookTypesDev(); - var prevDispatcher = ReactSharedInternals.H; - ReactSharedInternals.H = InvalidNestedHooksDispatcherOnUpdateInDEV; - try { - return updateMemo(create, deps); - } finally{ - ReactSharedInternals.H = prevDispatcher; - } - }, - useReducer: function(reducer, initialArg, init) { - currentHookNameInDev = "useReducer"; - updateHookTypesDev(); - var prevDispatcher = ReactSharedInternals.H; - ReactSharedInternals.H = InvalidNestedHooksDispatcherOnUpdateInDEV; - try { - return updateReducer(reducer, initialArg, init); - } finally{ - ReactSharedInternals.H = prevDispatcher; - } - }, - useRef: function() { - currentHookNameInDev = "useRef"; - updateHookTypesDev(); - return updateWorkInProgressHook().memoizedState; - }, - useState: function() { - currentHookNameInDev = "useState"; - updateHookTypesDev(); - var prevDispatcher = ReactSharedInternals.H; - ReactSharedInternals.H = InvalidNestedHooksDispatcherOnUpdateInDEV; - try { - return updateReducer(basicStateReducer); - } finally{ - ReactSharedInternals.H = prevDispatcher; - } - }, - useDebugValue: function() { - currentHookNameInDev = "useDebugValue"; - updateHookTypesDev(); - }, - useDeferredValue: function(value, initialValue) { - currentHookNameInDev = "useDeferredValue"; - updateHookTypesDev(); - return updateDeferredValue(value, initialValue); - }, - useTransition: function() { - currentHookNameInDev = "useTransition"; - updateHookTypesDev(); - return updateTransition(); - }, - useSyncExternalStore: function(subscribe, getSnapshot, getServerSnapshot) { - currentHookNameInDev = "useSyncExternalStore"; - updateHookTypesDev(); - return updateSyncExternalStore(subscribe, getSnapshot, getServerSnapshot); - }, - useId: function() { - currentHookNameInDev = "useId"; - updateHookTypesDev(); - return updateWorkInProgressHook().memoizedState; - }, - useFormState: function(action) { - currentHookNameInDev = "useFormState"; - updateHookTypesDev(); - warnOnUseFormStateInDev(); - return updateActionState(action); - }, - useActionState: function(action) { - currentHookNameInDev = "useActionState"; - updateHookTypesDev(); - return updateActionState(action); - }, - useOptimistic: function(passthrough, reducer) { - currentHookNameInDev = "useOptimistic"; - updateHookTypesDev(); - return updateOptimistic(passthrough, reducer); - }, - useHostTransitionStatus: useHostTransitionStatus, - useMemoCache: useMemoCache, - useCacheRefresh: function() { - currentHookNameInDev = "useCacheRefresh"; - updateHookTypesDev(); - return updateWorkInProgressHook().memoizedState; - }, - useEffectEvent: function(callback) { - currentHookNameInDev = "useEffectEvent"; - updateHookTypesDev(); - return updateEvent(callback); - } - }; - HooksDispatcherOnRerenderInDEV = { - readContext: function(context) { - return readContext(context); - }, - use: use, - useCallback: function(callback, deps) { - currentHookNameInDev = "useCallback"; - updateHookTypesDev(); - return updateCallback(callback, deps); - }, - useContext: function(context) { - currentHookNameInDev = "useContext"; - updateHookTypesDev(); - return readContext(context); - }, - useEffect: function(create, deps) { - currentHookNameInDev = "useEffect"; - updateHookTypesDev(); - updateEffectImpl(2048, Passive, create, deps); - }, - useImperativeHandle: function(ref, create, deps) { - currentHookNameInDev = "useImperativeHandle"; - updateHookTypesDev(); - return updateImperativeHandle(ref, create, deps); - }, - useInsertionEffect: function(create, deps) { - currentHookNameInDev = "useInsertionEffect"; - updateHookTypesDev(); - return updateEffectImpl(4, Insertion, create, deps); - }, - useLayoutEffect: function(create, deps) { - currentHookNameInDev = "useLayoutEffect"; - updateHookTypesDev(); - return updateEffectImpl(4, Layout, create, deps); - }, - useMemo: function(create, deps) { - currentHookNameInDev = "useMemo"; - updateHookTypesDev(); - var prevDispatcher = ReactSharedInternals.H; - ReactSharedInternals.H = InvalidNestedHooksDispatcherOnRerenderInDEV; - try { - return updateMemo(create, deps); - } finally{ - ReactSharedInternals.H = prevDispatcher; - } - }, - useReducer: function(reducer, initialArg, init) { - currentHookNameInDev = "useReducer"; - updateHookTypesDev(); - var prevDispatcher = ReactSharedInternals.H; - ReactSharedInternals.H = InvalidNestedHooksDispatcherOnRerenderInDEV; - try { - return rerenderReducer(reducer, initialArg, init); - } finally{ - ReactSharedInternals.H = prevDispatcher; - } - }, - useRef: function() { - currentHookNameInDev = "useRef"; - updateHookTypesDev(); - return updateWorkInProgressHook().memoizedState; - }, - useState: function() { - currentHookNameInDev = "useState"; - updateHookTypesDev(); - var prevDispatcher = ReactSharedInternals.H; - ReactSharedInternals.H = InvalidNestedHooksDispatcherOnRerenderInDEV; - try { - return rerenderReducer(basicStateReducer); - } finally{ - ReactSharedInternals.H = prevDispatcher; - } - }, - useDebugValue: function() { - currentHookNameInDev = "useDebugValue"; - updateHookTypesDev(); - }, - useDeferredValue: function(value, initialValue) { - currentHookNameInDev = "useDeferredValue"; - updateHookTypesDev(); - return rerenderDeferredValue(value, initialValue); - }, - useTransition: function() { - currentHookNameInDev = "useTransition"; - updateHookTypesDev(); - return rerenderTransition(); - }, - useSyncExternalStore: function(subscribe, getSnapshot, getServerSnapshot) { - currentHookNameInDev = "useSyncExternalStore"; - updateHookTypesDev(); - return updateSyncExternalStore(subscribe, getSnapshot, getServerSnapshot); - }, - useId: function() { - currentHookNameInDev = "useId"; - updateHookTypesDev(); - return updateWorkInProgressHook().memoizedState; - }, - useFormState: function(action) { - currentHookNameInDev = "useFormState"; - updateHookTypesDev(); - warnOnUseFormStateInDev(); - return rerenderActionState(action); - }, - useActionState: function(action) { - currentHookNameInDev = "useActionState"; - updateHookTypesDev(); - return rerenderActionState(action); - }, - useOptimistic: function(passthrough, reducer) { - currentHookNameInDev = "useOptimistic"; - updateHookTypesDev(); - return rerenderOptimistic(passthrough, reducer); - }, - useHostTransitionStatus: useHostTransitionStatus, - useMemoCache: useMemoCache, - useCacheRefresh: function() { - currentHookNameInDev = "useCacheRefresh"; - updateHookTypesDev(); - return updateWorkInProgressHook().memoizedState; - }, - useEffectEvent: function(callback) { - currentHookNameInDev = "useEffectEvent"; - updateHookTypesDev(); - return updateEvent(callback); - } - }; - InvalidNestedHooksDispatcherOnMountInDEV = { - readContext: function(context) { - warnInvalidContextAccess(); - return readContext(context); - }, - use: function(usable) { - warnInvalidHookAccess(); - return use(usable); - }, - useCallback: function(callback, deps) { - currentHookNameInDev = "useCallback"; - warnInvalidHookAccess(); - mountHookTypesDev(); - return mountCallback(callback, deps); - }, - useContext: function(context) { - currentHookNameInDev = "useContext"; - warnInvalidHookAccess(); - mountHookTypesDev(); - return readContext(context); - }, - useEffect: function(create, deps) { - currentHookNameInDev = "useEffect"; - warnInvalidHookAccess(); - mountHookTypesDev(); - return mountEffect(create, deps); - }, - useImperativeHandle: function(ref, create, deps) { - currentHookNameInDev = "useImperativeHandle"; - warnInvalidHookAccess(); - mountHookTypesDev(); - return mountImperativeHandle(ref, create, deps); - }, - useInsertionEffect: function(create, deps) { - currentHookNameInDev = "useInsertionEffect"; - warnInvalidHookAccess(); - mountHookTypesDev(); - mountEffectImpl(4, Insertion, create, deps); - }, - useLayoutEffect: function(create, deps) { - currentHookNameInDev = "useLayoutEffect"; - warnInvalidHookAccess(); - mountHookTypesDev(); - return mountLayoutEffect(create, deps); - }, - useMemo: function(create, deps) { - currentHookNameInDev = "useMemo"; - warnInvalidHookAccess(); - mountHookTypesDev(); - var prevDispatcher = ReactSharedInternals.H; - ReactSharedInternals.H = InvalidNestedHooksDispatcherOnMountInDEV; - try { - return mountMemo(create, deps); - } finally{ - ReactSharedInternals.H = prevDispatcher; - } - }, - useReducer: function(reducer, initialArg, init) { - currentHookNameInDev = "useReducer"; - warnInvalidHookAccess(); - mountHookTypesDev(); - var prevDispatcher = ReactSharedInternals.H; - ReactSharedInternals.H = InvalidNestedHooksDispatcherOnMountInDEV; - try { - return mountReducer(reducer, initialArg, init); - } finally{ - ReactSharedInternals.H = prevDispatcher; - } - }, - useRef: function(initialValue) { - currentHookNameInDev = "useRef"; - warnInvalidHookAccess(); - mountHookTypesDev(); - return mountRef(initialValue); - }, - useState: function(initialState) { - currentHookNameInDev = "useState"; - warnInvalidHookAccess(); - mountHookTypesDev(); - var prevDispatcher = ReactSharedInternals.H; - ReactSharedInternals.H = InvalidNestedHooksDispatcherOnMountInDEV; - try { - return mountState(initialState); - } finally{ - ReactSharedInternals.H = prevDispatcher; - } - }, - useDebugValue: function() { - currentHookNameInDev = "useDebugValue"; - warnInvalidHookAccess(); - mountHookTypesDev(); - }, - useDeferredValue: function(value, initialValue) { - currentHookNameInDev = "useDeferredValue"; - warnInvalidHookAccess(); - mountHookTypesDev(); - return mountDeferredValue(value, initialValue); - }, - useTransition: function() { - currentHookNameInDev = "useTransition"; - warnInvalidHookAccess(); - mountHookTypesDev(); - return mountTransition(); - }, - useSyncExternalStore: function(subscribe, getSnapshot, getServerSnapshot) { - currentHookNameInDev = "useSyncExternalStore"; - warnInvalidHookAccess(); - mountHookTypesDev(); - return mountSyncExternalStore(subscribe, getSnapshot, getServerSnapshot); - }, - useId: function() { - currentHookNameInDev = "useId"; - warnInvalidHookAccess(); - mountHookTypesDev(); - return mountId(); - }, - useFormState: function(action, initialState) { - currentHookNameInDev = "useFormState"; - warnInvalidHookAccess(); - mountHookTypesDev(); - return mountActionState(action, initialState); - }, - useActionState: function(action, initialState) { - currentHookNameInDev = "useActionState"; - warnInvalidHookAccess(); - mountHookTypesDev(); - return mountActionState(action, initialState); - }, - useOptimistic: function(passthrough) { - currentHookNameInDev = "useOptimistic"; - warnInvalidHookAccess(); - mountHookTypesDev(); - return mountOptimistic(passthrough); - }, - useMemoCache: function(size) { - warnInvalidHookAccess(); - return useMemoCache(size); - }, - useHostTransitionStatus: useHostTransitionStatus, - useCacheRefresh: function() { - currentHookNameInDev = "useCacheRefresh"; - mountHookTypesDev(); - return mountRefresh(); - }, - useEffectEvent: function(callback) { - currentHookNameInDev = "useEffectEvent"; - warnInvalidHookAccess(); - mountHookTypesDev(); - return mountEvent(callback); - } - }; - InvalidNestedHooksDispatcherOnUpdateInDEV = { - readContext: function(context) { - warnInvalidContextAccess(); - return readContext(context); - }, - use: function(usable) { - warnInvalidHookAccess(); - return use(usable); - }, - useCallback: function(callback, deps) { - currentHookNameInDev = "useCallback"; - warnInvalidHookAccess(); - updateHookTypesDev(); - return updateCallback(callback, deps); - }, - useContext: function(context) { - currentHookNameInDev = "useContext"; - warnInvalidHookAccess(); - updateHookTypesDev(); - return readContext(context); - }, - useEffect: function(create, deps) { - currentHookNameInDev = "useEffect"; - warnInvalidHookAccess(); - updateHookTypesDev(); - updateEffectImpl(2048, Passive, create, deps); - }, - useImperativeHandle: function(ref, create, deps) { - currentHookNameInDev = "useImperativeHandle"; - warnInvalidHookAccess(); - updateHookTypesDev(); - return updateImperativeHandle(ref, create, deps); - }, - useInsertionEffect: function(create, deps) { - currentHookNameInDev = "useInsertionEffect"; - warnInvalidHookAccess(); - updateHookTypesDev(); - return updateEffectImpl(4, Insertion, create, deps); - }, - useLayoutEffect: function(create, deps) { - currentHookNameInDev = "useLayoutEffect"; - warnInvalidHookAccess(); - updateHookTypesDev(); - return updateEffectImpl(4, Layout, create, deps); - }, - useMemo: function(create, deps) { - currentHookNameInDev = "useMemo"; - warnInvalidHookAccess(); - updateHookTypesDev(); - var prevDispatcher = ReactSharedInternals.H; - ReactSharedInternals.H = InvalidNestedHooksDispatcherOnUpdateInDEV; - try { - return updateMemo(create, deps); - } finally{ - ReactSharedInternals.H = prevDispatcher; - } - }, - useReducer: function(reducer, initialArg, init) { - currentHookNameInDev = "useReducer"; - warnInvalidHookAccess(); - updateHookTypesDev(); - var prevDispatcher = ReactSharedInternals.H; - ReactSharedInternals.H = InvalidNestedHooksDispatcherOnUpdateInDEV; - try { - return updateReducer(reducer, initialArg, init); - } finally{ - ReactSharedInternals.H = prevDispatcher; - } - }, - useRef: function() { - currentHookNameInDev = "useRef"; - warnInvalidHookAccess(); - updateHookTypesDev(); - return updateWorkInProgressHook().memoizedState; - }, - useState: function() { - currentHookNameInDev = "useState"; - warnInvalidHookAccess(); - updateHookTypesDev(); - var prevDispatcher = ReactSharedInternals.H; - ReactSharedInternals.H = InvalidNestedHooksDispatcherOnUpdateInDEV; - try { - return updateReducer(basicStateReducer); - } finally{ - ReactSharedInternals.H = prevDispatcher; - } - }, - useDebugValue: function() { - currentHookNameInDev = "useDebugValue"; - warnInvalidHookAccess(); - updateHookTypesDev(); - }, - useDeferredValue: function(value, initialValue) { - currentHookNameInDev = "useDeferredValue"; - warnInvalidHookAccess(); - updateHookTypesDev(); - return updateDeferredValue(value, initialValue); - }, - useTransition: function() { - currentHookNameInDev = "useTransition"; - warnInvalidHookAccess(); - updateHookTypesDev(); - return updateTransition(); - }, - useSyncExternalStore: function(subscribe, getSnapshot, getServerSnapshot) { - currentHookNameInDev = "useSyncExternalStore"; - warnInvalidHookAccess(); - updateHookTypesDev(); - return updateSyncExternalStore(subscribe, getSnapshot, getServerSnapshot); - }, - useId: function() { - currentHookNameInDev = "useId"; - warnInvalidHookAccess(); - updateHookTypesDev(); - return updateWorkInProgressHook().memoizedState; - }, - useFormState: function(action) { - currentHookNameInDev = "useFormState"; - warnInvalidHookAccess(); - updateHookTypesDev(); - return updateActionState(action); - }, - useActionState: function(action) { - currentHookNameInDev = "useActionState"; - warnInvalidHookAccess(); - updateHookTypesDev(); - return updateActionState(action); - }, - useOptimistic: function(passthrough, reducer) { - currentHookNameInDev = "useOptimistic"; - warnInvalidHookAccess(); - updateHookTypesDev(); - return updateOptimistic(passthrough, reducer); - }, - useMemoCache: function(size) { - warnInvalidHookAccess(); - return useMemoCache(size); - }, - useHostTransitionStatus: useHostTransitionStatus, - useCacheRefresh: function() { - currentHookNameInDev = "useCacheRefresh"; - updateHookTypesDev(); - return updateWorkInProgressHook().memoizedState; - }, - useEffectEvent: function(callback) { - currentHookNameInDev = "useEffectEvent"; - warnInvalidHookAccess(); - updateHookTypesDev(); - return updateEvent(callback); - } - }; - InvalidNestedHooksDispatcherOnRerenderInDEV = { - readContext: function(context) { - warnInvalidContextAccess(); - return readContext(context); - }, - use: function(usable) { - warnInvalidHookAccess(); - return use(usable); - }, - useCallback: function(callback, deps) { - currentHookNameInDev = "useCallback"; - warnInvalidHookAccess(); - updateHookTypesDev(); - return updateCallback(callback, deps); - }, - useContext: function(context) { - currentHookNameInDev = "useContext"; - warnInvalidHookAccess(); - updateHookTypesDev(); - return readContext(context); - }, - useEffect: function(create, deps) { - currentHookNameInDev = "useEffect"; - warnInvalidHookAccess(); - updateHookTypesDev(); - updateEffectImpl(2048, Passive, create, deps); - }, - useImperativeHandle: function(ref, create, deps) { - currentHookNameInDev = "useImperativeHandle"; - warnInvalidHookAccess(); - updateHookTypesDev(); - return updateImperativeHandle(ref, create, deps); - }, - useInsertionEffect: function(create, deps) { - currentHookNameInDev = "useInsertionEffect"; - warnInvalidHookAccess(); - updateHookTypesDev(); - return updateEffectImpl(4, Insertion, create, deps); - }, - useLayoutEffect: function(create, deps) { - currentHookNameInDev = "useLayoutEffect"; - warnInvalidHookAccess(); - updateHookTypesDev(); - return updateEffectImpl(4, Layout, create, deps); - }, - useMemo: function(create, deps) { - currentHookNameInDev = "useMemo"; - warnInvalidHookAccess(); - updateHookTypesDev(); - var prevDispatcher = ReactSharedInternals.H; - ReactSharedInternals.H = InvalidNestedHooksDispatcherOnUpdateInDEV; - try { - return updateMemo(create, deps); - } finally{ - ReactSharedInternals.H = prevDispatcher; - } - }, - useReducer: function(reducer, initialArg, init) { - currentHookNameInDev = "useReducer"; - warnInvalidHookAccess(); - updateHookTypesDev(); - var prevDispatcher = ReactSharedInternals.H; - ReactSharedInternals.H = InvalidNestedHooksDispatcherOnUpdateInDEV; - try { - return rerenderReducer(reducer, initialArg, init); - } finally{ - ReactSharedInternals.H = prevDispatcher; - } - }, - useRef: function() { - currentHookNameInDev = "useRef"; - warnInvalidHookAccess(); - updateHookTypesDev(); - return updateWorkInProgressHook().memoizedState; - }, - useState: function() { - currentHookNameInDev = "useState"; - warnInvalidHookAccess(); - updateHookTypesDev(); - var prevDispatcher = ReactSharedInternals.H; - ReactSharedInternals.H = InvalidNestedHooksDispatcherOnUpdateInDEV; - try { - return rerenderReducer(basicStateReducer); - } finally{ - ReactSharedInternals.H = prevDispatcher; - } - }, - useDebugValue: function() { - currentHookNameInDev = "useDebugValue"; - warnInvalidHookAccess(); - updateHookTypesDev(); - }, - useDeferredValue: function(value, initialValue) { - currentHookNameInDev = "useDeferredValue"; - warnInvalidHookAccess(); - updateHookTypesDev(); - return rerenderDeferredValue(value, initialValue); - }, - useTransition: function() { - currentHookNameInDev = "useTransition"; - warnInvalidHookAccess(); - updateHookTypesDev(); - return rerenderTransition(); - }, - useSyncExternalStore: function(subscribe, getSnapshot, getServerSnapshot) { - currentHookNameInDev = "useSyncExternalStore"; - warnInvalidHookAccess(); - updateHookTypesDev(); - return updateSyncExternalStore(subscribe, getSnapshot, getServerSnapshot); - }, - useId: function() { - currentHookNameInDev = "useId"; - warnInvalidHookAccess(); - updateHookTypesDev(); - return updateWorkInProgressHook().memoizedState; - }, - useFormState: function(action) { - currentHookNameInDev = "useFormState"; - warnInvalidHookAccess(); - updateHookTypesDev(); - return rerenderActionState(action); - }, - useActionState: function(action) { - currentHookNameInDev = "useActionState"; - warnInvalidHookAccess(); - updateHookTypesDev(); - return rerenderActionState(action); - }, - useOptimistic: function(passthrough, reducer) { - currentHookNameInDev = "useOptimistic"; - warnInvalidHookAccess(); - updateHookTypesDev(); - return rerenderOptimistic(passthrough, reducer); - }, - useMemoCache: function(size) { - warnInvalidHookAccess(); - return useMemoCache(size); - }, - useHostTransitionStatus: useHostTransitionStatus, - useCacheRefresh: function() { - currentHookNameInDev = "useCacheRefresh"; - updateHookTypesDev(); - return updateWorkInProgressHook().memoizedState; - }, - useEffectEvent: function(callback) { - currentHookNameInDev = "useEffectEvent"; - warnInvalidHookAccess(); - updateHookTypesDev(); - return updateEvent(callback); - } - }; - var fakeInternalInstance = {}; - var didWarnAboutStateAssignmentForComponent = new Set(); - var didWarnAboutUninitializedState = new Set(); - var didWarnAboutGetSnapshotBeforeUpdateWithoutDidUpdate = new Set(); - var didWarnAboutLegacyLifecyclesAndDerivedState = new Set(); - var didWarnAboutDirectlyAssigningPropsToState = new Set(); - var didWarnAboutUndefinedDerivedState = new Set(); - var didWarnAboutContextTypes$1 = new Set(); - var didWarnAboutChildContextTypes = new Set(); - var didWarnAboutInvalidateContextType = new Set(); - var didWarnOnInvalidCallback = new Set(); - Object.freeze(fakeInternalInstance); - var classComponentUpdater = { - enqueueSetState: function(inst, payload, callback) { - inst = inst._reactInternals; - var lane = requestUpdateLane(inst), update = createUpdate(lane); - update.payload = payload; - void 0 !== callback && null !== callback && (warnOnInvalidCallback(callback), update.callback = callback); - payload = enqueueUpdate(inst, update, lane); - null !== payload && (startUpdateTimerByLane(lane, "this.setState()", inst), scheduleUpdateOnFiber(payload, inst, lane), entangleTransitions(payload, inst, lane)); - }, - enqueueReplaceState: function(inst, payload, callback) { - inst = inst._reactInternals; - var lane = requestUpdateLane(inst), update = createUpdate(lane); - update.tag = ReplaceState; - update.payload = payload; - void 0 !== callback && null !== callback && (warnOnInvalidCallback(callback), update.callback = callback); - payload = enqueueUpdate(inst, update, lane); - null !== payload && (startUpdateTimerByLane(lane, "this.replaceState()", inst), scheduleUpdateOnFiber(payload, inst, lane), entangleTransitions(payload, inst, lane)); - }, - enqueueForceUpdate: function(inst, callback) { - inst = inst._reactInternals; - var lane = requestUpdateLane(inst), update = createUpdate(lane); - update.tag = ForceUpdate; - void 0 !== callback && null !== callback && (warnOnInvalidCallback(callback), update.callback = callback); - callback = enqueueUpdate(inst, update, lane); - null !== callback && (startUpdateTimerByLane(lane, "this.forceUpdate()", inst), scheduleUpdateOnFiber(callback, inst, lane), entangleTransitions(callback, inst, lane)); - } - }, componentName = null, errorBoundaryName = null, SelectiveHydrationException = Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."), didReceiveUpdate = !1; - var didWarnAboutBadClass = {}; - var didWarnAboutContextTypeOnFunctionComponent = {}; - var didWarnAboutContextTypes = {}; - var didWarnAboutGetDerivedStateOnFunctionComponent = {}; - var didWarnAboutReassigningProps = !1; - var didWarnAboutRevealOrder = {}; - var didWarnAboutTailOptions = {}; - var didWarnAboutClassNameOnViewTransition = {}; - var SUSPENDED_MARKER = { - dehydrated: null, - treeContext: null, - retryLane: 0, - hydrationErrors: null - }, hasWarnedAboutUsingNoValuePropOnContextProvider = !1, didWarnAboutUndefinedSnapshotBeforeUpdate = null; - didWarnAboutUndefinedSnapshotBeforeUpdate = new Set(); - var shouldStartViewTransition = !1, appearingViewTransitions = null, viewTransitionCancelableChildren = null, viewTransitionHostInstanceIdx = 0, mountedNamedViewTransitions = new Map(), didWarnAboutName = {}, offscreenSubtreeIsHidden = !1, offscreenSubtreeWasHidden = !1, offscreenDirectParentIsHidden = !1, needsFormReset = !1, PossiblyWeakSet = "function" === typeof WeakSet ? WeakSet : Set, nextEffect = null, inProgressLanes = null, inProgressRoot = null, viewTransitionContextChanged = !1, inUpdateViewTransition = !1, rootViewTransitionAffected = !1, rootViewTransitionNameCanceled = !1, hostParent = null, hostParentIsContainer = !1, currentHoistableRoot = null, inHydratedSubtree = !1, suspenseyCommitFlag = 8192, DefaultAsyncDispatcher = { - getCacheForType: function(resourceType) { - var cache = readContext(CacheContext), cacheForType = cache.data.get(resourceType); - void 0 === cacheForType && (cacheForType = resourceType(), cache.data.set(resourceType, cacheForType)); - return cacheForType; - }, - cacheSignal: function() { - return readContext(CacheContext).controller.signal; - }, - getOwner: function() { - return current; - } - }; - if ("function" === typeof Symbol && Symbol.for) { - var symbolFor = Symbol.for; - symbolFor("selector.component"); - symbolFor("selector.has_pseudo_class"); - symbolFor("selector.role"); - symbolFor("selector.test_id"); - symbolFor("selector.text"); - } - var commitHooks = [], PossiblyWeakMap = "function" === typeof WeakMap ? WeakMap : Map, NoContext = 0, RenderContext = 2, CommitContext = 4, RootInProgress = 0, RootFatalErrored = 1, RootErrored = 2, RootSuspended = 3, RootSuspendedWithDelay = 4, RootSuspendedAtTheShell = 6, RootCompleted = 5, executionContext = NoContext, workInProgressRoot = null, workInProgress = null, workInProgressRootRenderLanes = 0, NotSuspended = 0, SuspendedOnError = 1, SuspendedOnData = 2, SuspendedOnImmediate = 3, SuspendedOnInstance = 4, SuspendedOnInstanceAndReadyToContinue = 5, SuspendedOnDeprecatedThrowPromise = 6, SuspendedAndReadyToContinue = 7, SuspendedOnHydration = 8, SuspendedOnAction = 9, workInProgressSuspendedReason = NotSuspended, workInProgressThrownValue = null, workInProgressRootDidSkipSuspendedSiblings = !1, workInProgressRootIsPrerendering = !1, workInProgressRootDidAttachPingListener = !1, entangledRenderLanes = 0, workInProgressRootExitStatus = RootInProgress, workInProgressRootSkippedLanes = 0, workInProgressRootInterleavedUpdatedLanes = 0, workInProgressRootPingedLanes = 0, workInProgressDeferredLane = 0, workInProgressSuspendedRetryLanes = 0, workInProgressRootConcurrentErrors = null, workInProgressRootRecoverableErrors = null, workInProgressRootDidIncludeRecursiveRenderUpdate = !1, globalMostRecentFallbackTime = 0, globalMostRecentTransitionTime = 0, FALLBACK_THROTTLE_MS = 300, workInProgressRootRenderTargetTime = Infinity, RENDER_TIMEOUT_MS = 500, workInProgressTransitions = null, workInProgressUpdateTask = null, legacyErrorBoundariesThatAlreadyFailed = null, IMMEDIATE_COMMIT = 0, ABORTED_VIEW_TRANSITION_COMMIT = 1, DELAYED_PASSIVE_COMMIT = 2, ANIMATION_STARTED_COMMIT = 3, NO_PENDING_EFFECTS = 0, PENDING_MUTATION_PHASE = 1, PENDING_LAYOUT_PHASE = 2, PENDING_AFTER_MUTATION_PHASE = 3, PENDING_SPAWNED_WORK = 4, PENDING_PASSIVE_PHASE = 5, pendingEffectsStatus = 0, pendingEffectsRoot = null, pendingFinishedWork = null, pendingEffectsLanes = 0, pendingEffectsRemainingLanes = 0, pendingEffectsRenderEndTime = -0, pendingPassiveTransitions = null, pendingRecoverableErrors = null, pendingViewTransition = null, pendingViewTransitionEvents = null, pendingTransitionTypes = null, pendingSuspendedCommitReason = null, pendingDelayedCommitReason = IMMEDIATE_COMMIT, pendingSuspendedViewTransitionReason = null, NESTED_UPDATE_LIMIT = 50, nestedUpdateCount = 0, rootWithNestedUpdates = null, isFlushingPassiveEffects = !1, didScheduleUpdateDuringPassiveEffects = !1, NESTED_PASSIVE_UPDATE_LIMIT = 50, nestedPassiveUpdateCount = 0, rootWithPassiveNestedUpdates = null, isRunningInsertionEffect = !1, didWarnAboutInterruptedViewTransitions = !1, didWarnStateUpdateForNotYetMountedComponent = null, didWarnAboutUpdateInRender = !1; - var didWarnAboutUpdateInRenderForAnotherComponent = new Set(); - var fakeActCallbackNode$1 = {}, firstScheduledRoot = null, lastScheduledRoot = null, didScheduleMicrotask = !1, didScheduleMicrotask_act = !1, mightHavePendingSyncWork = !1, isFlushingWork = !1, currentEventTransitionLane = 0, fakeActCallbackNode = {}; - (function() { - for(var i = 0; i < simpleEventPluginEvents.length; i++){ - var eventName = simpleEventPluginEvents[i], domEventName = eventName.toLowerCase(); - eventName = eventName[0].toUpperCase() + eventName.slice(1); - registerSimpleEvent(domEventName, "on" + eventName); - } - registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); - registerSimpleEvent(ANIMATION_ITERATION, "onAnimationIteration"); - registerSimpleEvent(ANIMATION_START, "onAnimationStart"); - registerSimpleEvent("dblclick", "onDoubleClick"); - registerSimpleEvent("focusin", "onFocus"); - registerSimpleEvent("focusout", "onBlur"); - registerSimpleEvent(TRANSITION_RUN, "onTransitionRun"); - registerSimpleEvent(TRANSITION_START, "onTransitionStart"); - registerSimpleEvent(TRANSITION_CANCEL, "onTransitionCancel"); - registerSimpleEvent(TRANSITION_END, "onTransitionEnd"); - })(); - registerDirectEvent("onMouseEnter", [ - "mouseout", - "mouseover" - ]); - registerDirectEvent("onMouseLeave", [ - "mouseout", - "mouseover" - ]); - registerDirectEvent("onPointerEnter", [ - "pointerout", - "pointerover" - ]); - registerDirectEvent("onPointerLeave", [ - "pointerout", - "pointerover" - ]); - registerTwoPhaseEvent("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")); - registerTwoPhaseEvent("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")); - registerTwoPhaseEvent("onBeforeInput", [ - "compositionend", - "keypress", - "textInput", - "paste" - ]); - registerTwoPhaseEvent("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")); - registerTwoPhaseEvent("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")); - registerTwoPhaseEvent("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" ")); - var mediaEventTypes = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "), nonDelegatedEvents = new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(mediaEventTypes)), listeningMarker = "_reactListening" + Math.random().toString(36).slice(2), didWarnControlledToUncontrolled = !1, didWarnUncontrolledToControlled = !1, didWarnFormActionType = !1, didWarnFormActionName = !1, didWarnFormActionTarget = !1, didWarnFormActionMethod = !1, didWarnPopoverTargetObject = !1; - var didWarnForNewBooleanPropsWithEmptyValue = {}; - var NORMALIZE_NEWLINES_REGEX = /\r\n?/g, NORMALIZE_NULL_AND_REPLACEMENT_REGEX = /\u0000|\uFFFD/g, xlinkNamespace = "http://www.w3.org/1999/xlink", xmlNamespace = "http://www.w3.org/XML/1998/namespace", EXPECTED_FORM_ACTION_URL = "javascript:throw new Error('React form unexpectedly submitted.')", SUPPRESS_HYDRATION_WARNING = "suppressHydrationWarning", ACTIVITY_START_DATA = "&", ACTIVITY_END_DATA = "/&", SUSPENSE_START_DATA = "$", SUSPENSE_END_DATA = "/$", SUSPENSE_PENDING_START_DATA = "$?", SUSPENSE_QUEUED_START_DATA = "$~", SUSPENSE_FALLBACK_START_DATA = "$!", PREAMBLE_CONTRIBUTION_HTML = "html", PREAMBLE_CONTRIBUTION_BODY = "body", PREAMBLE_CONTRIBUTION_HEAD = "head", FORM_STATE_IS_MATCHING = "F!", FORM_STATE_IS_NOT_MATCHING = "F", DOCUMENT_READY_STATE_LOADING = "loading", STYLE = "style", HostContextNamespaceNone = 0, HostContextNamespaceSvg = 1, HostContextNamespaceMath = 2, eventsEnabled = null, selectionInformation = null, warnedUnknownTags = { - dialog: !0, - webview: !0 - }, currentPopstateTransitionEvent = null, schedulerEvent = void 0, scheduleTimeout = "function" === typeof setTimeout ? setTimeout : void 0, cancelTimeout = "function" === typeof clearTimeout ? clearTimeout : void 0, noTimeout = -1, localPromise = "function" === typeof Promise ? Promise : void 0, scheduleMicrotask = "function" === typeof queueMicrotask ? queueMicrotask : "undefined" !== typeof localPromise ? function(callback) { - return localPromise.resolve(null).then(callback).catch(handleErrorInNextTick); - } : scheduleTimeout, SUSPENSEY_FONT_AND_IMAGE_TIMEOUT = 500; - ViewTransitionPseudoElement.prototype.animate = function(keyframes, options) { - options = "number" === typeof options ? { - duration: options - } : assign({}, options); - options.pseudoElement = this._selector; - return this._scope.animate(keyframes, options); - }; - ViewTransitionPseudoElement.prototype.getAnimations = function() { - for(var scope = this._scope, selector = this._selector, animations = scope.getAnimations({ - subtree: !0 - }), result = [], i = 0; i < animations.length; i++){ - var effect = animations[i].effect; - null !== effect && effect.target === scope && effect.pseudoElement === selector && result.push(animations[i]); - } - return result; - }; - ViewTransitionPseudoElement.prototype.getComputedStyle = function() { - return getComputedStyle(this._scope, this._selector); - }; - FragmentInstance.prototype.addEventListener = function(type, listener, optionsOrUseCapture) { - null === this._eventListeners && (this._eventListeners = []); - var listeners = this._eventListeners; - -1 === indexOfEventListener(listeners, type, listener, optionsOrUseCapture) && (listeners.push({ - type: type, - listener: listener, - optionsOrUseCapture: optionsOrUseCapture - }), traverseVisibleHostChildren(this._fragmentFiber.child, !1, addEventListenerToChild, type, listener, optionsOrUseCapture)); - this._eventListeners = listeners; - }; - FragmentInstance.prototype.removeEventListener = function(type, listener, optionsOrUseCapture) { - var listeners = this._eventListeners; - null !== listeners && "undefined" !== typeof listeners && 0 < listeners.length && (traverseVisibleHostChildren(this._fragmentFiber.child, !1, removeEventListenerFromChild, type, listener, optionsOrUseCapture), type = indexOfEventListener(listeners, type, listener, optionsOrUseCapture), null !== this._eventListeners && this._eventListeners.splice(type, 1)); - }; - FragmentInstance.prototype.dispatchEvent = function(event) { - var parentHostFiber = getFragmentParentHostFiber(this._fragmentFiber); - if (null === parentHostFiber) return !0; - parentHostFiber = getInstanceFromHostFiber(parentHostFiber); - var eventListeners = this._eventListeners; - if (null !== eventListeners && 0 < eventListeners.length || !event.bubbles) { - var temp = document.createTextNode(""); - if (eventListeners) for(var i = 0; i < eventListeners.length; i++){ - var _eventListeners$i = eventListeners[i]; - temp.addEventListener(_eventListeners$i.type, _eventListeners$i.listener, _eventListeners$i.optionsOrUseCapture); - } - parentHostFiber.appendChild(temp); - event = temp.dispatchEvent(event); - if (eventListeners) for(i = 0; i < eventListeners.length; i++)_eventListeners$i = eventListeners[i], temp.removeEventListener(_eventListeners$i.type, _eventListeners$i.listener, _eventListeners$i.optionsOrUseCapture); - parentHostFiber.removeChild(temp); - return event; - } - return parentHostFiber.dispatchEvent(event); - }; - FragmentInstance.prototype.focus = function(focusOptions) { - traverseVisibleHostChildren(this._fragmentFiber.child, !0, setFocusOnFiberIfFocusable, focusOptions, void 0, void 0); - }; - FragmentInstance.prototype.focusLast = function(focusOptions) { - var children = []; - traverseVisibleHostChildren(this._fragmentFiber.child, !0, collectChildren, children, void 0, void 0); - for(var i = children.length - 1; 0 <= i && !setFocusOnFiberIfFocusable(children[i], focusOptions); i--); - }; - FragmentInstance.prototype.blur = function() { - traverseVisibleHostChildren(this._fragmentFiber.child, !1, blurActiveElementWithinFragment, void 0, void 0, void 0); - }; - FragmentInstance.prototype.observeUsing = function(observer) { - null === this._observers && (this._observers = new Set()); - this._observers.add(observer); - traverseVisibleHostChildren(this._fragmentFiber.child, !1, observeChild, observer, void 0, void 0); - }; - FragmentInstance.prototype.unobserveUsing = function(observer) { - var observers = this._observers; - null !== observers && observers.has(observer) ? (observers.delete(observer), traverseVisibleHostChildren(this._fragmentFiber.child, !1, unobserveChild, observer, void 0, void 0)) : console.error("You are calling unobserveUsing() with an observer that is not being observed with this fragment instance. First attach the observer with observeUsing()"); - }; - FragmentInstance.prototype.getClientRects = function() { - var rects = []; - traverseVisibleHostChildren(this._fragmentFiber.child, !1, collectClientRects, rects, void 0, void 0); - return rects; - }; - FragmentInstance.prototype.getRootNode = function(getRootNodeOptions) { - var parentHostFiber = getFragmentParentHostFiber(this._fragmentFiber); - return null === parentHostFiber ? this : getInstanceFromHostFiber(parentHostFiber).getRootNode(getRootNodeOptions); - }; - FragmentInstance.prototype.compareDocumentPosition = function(otherNode) { - var parentHostFiber = getFragmentParentHostFiber(this._fragmentFiber); - if (null === parentHostFiber) return Node.DOCUMENT_POSITION_DISCONNECTED; - var children = []; - traverseVisibleHostChildren(this._fragmentFiber.child, !1, collectChildren, children, void 0, void 0); - var parentHostInstance = getInstanceFromHostFiber(parentHostFiber); - if (0 === children.length) { - children = this._fragmentFiber; - var parentResult = parentHostInstance.compareDocumentPosition(otherNode); - parentHostFiber = parentResult; - parentHostInstance === otherNode ? parentHostFiber = Node.DOCUMENT_POSITION_CONTAINS : parentResult & Node.DOCUMENT_POSITION_CONTAINED_BY && (traverseVisibleHostChildren(children.sibling, !1, findNextSibling), children = searchTarget, searchTarget = null, null === children ? parentHostFiber = Node.DOCUMENT_POSITION_PRECEDING : (otherNode = getInstanceFromHostFiber(children).compareDocumentPosition(otherNode), parentHostFiber = 0 === otherNode || otherNode & Node.DOCUMENT_POSITION_FOLLOWING ? Node.DOCUMENT_POSITION_FOLLOWING : Node.DOCUMENT_POSITION_PRECEDING)); - return parentHostFiber |= Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC; - } - parentHostFiber = getInstanceFromHostFiber(children[0]); - parentResult = getInstanceFromHostFiber(children[children.length - 1]); - for(var firstInstance = getInstanceFromHostFiber(children[0]), foundPortalParent = !1, parent = this._fragmentFiber.return; null !== parent;){ - 4 === parent.tag && (foundPortalParent = !0); - if (3 === parent.tag || 5 === parent.tag) break; - parent = parent.return; - } - firstInstance = foundPortalParent ? firstInstance.parentElement : parentHostInstance; - if (null == firstInstance) return Node.DOCUMENT_POSITION_DISCONNECTED; - parentHostInstance = firstInstance.compareDocumentPosition(parentHostFiber) & Node.DOCUMENT_POSITION_CONTAINED_BY; - firstInstance = firstInstance.compareDocumentPosition(parentResult) & Node.DOCUMENT_POSITION_CONTAINED_BY; - foundPortalParent = parentHostFiber.compareDocumentPosition(otherNode); - var lastResult = parentResult.compareDocumentPosition(otherNode); - parent = foundPortalParent & Node.DOCUMENT_POSITION_CONTAINED_BY || lastResult & Node.DOCUMENT_POSITION_CONTAINED_BY; - lastResult = parentHostInstance && firstInstance && foundPortalParent & Node.DOCUMENT_POSITION_FOLLOWING && lastResult & Node.DOCUMENT_POSITION_PRECEDING; - parentHostFiber = parentHostInstance && parentHostFiber === otherNode || firstInstance && parentResult === otherNode || parent || lastResult ? Node.DOCUMENT_POSITION_CONTAINED_BY : !parentHostInstance && parentHostFiber === otherNode || !firstInstance && parentResult === otherNode ? Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC : foundPortalParent; - return parentHostFiber & Node.DOCUMENT_POSITION_DISCONNECTED || parentHostFiber & Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC || validateDocumentPositionWithFiberTree(parentHostFiber, this._fragmentFiber, children[0], children[children.length - 1], otherNode) ? parentHostFiber : Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC; - }; - FragmentInstance.prototype.scrollIntoView = function(alignToTop) { - if ("object" === typeof alignToTop) throw Error("FragmentInstance.scrollIntoView() does not support scrollIntoViewOptions. Use the alignToTop boolean instead."); - var children = []; - traverseVisibleHostChildren(this._fragmentFiber.child, !1, collectChildren, children, void 0, void 0); - var resolvedAlignToTop = !1 !== alignToTop; - if (0 === children.length) { - children = this._fragmentFiber; - var result = [ - null, - null - ], parentHostFiber = getFragmentParentHostFiber(children); - null !== parentHostFiber && findFragmentInstanceSiblings(result, children, parentHostFiber.child); - resolvedAlignToTop = resolvedAlignToTop ? result[1] || result[0] || getFragmentParentHostFiber(this._fragmentFiber) : result[0] || result[1]; - null === resolvedAlignToTop ? console.warn("You are attempting to scroll a FragmentInstance that has no children, siblings, or parent. No scroll was performed.") : getInstanceFromHostFiber(resolvedAlignToTop).scrollIntoView(alignToTop); - } else for(result = resolvedAlignToTop ? children.length - 1 : 0; result !== (resolvedAlignToTop ? -1 : children.length);)getInstanceFromHostFiber(children[result]).scrollIntoView(alignToTop), result += resolvedAlignToTop ? -1 : 1; - }; - var previousHydratableOnEnteringScopedSingleton = null, NotLoaded = 0, Loaded = 1, Errored = 2, Settled = 3, Inserted = 4, preloadPropsMap = new Map(), preconnectsSet = new Set(), previousDispatcher = ReactDOMSharedInternals.d; - ReactDOMSharedInternals.d = { - f: function() { - var previousWasRendering = previousDispatcher.f(), wasRendering = flushSyncWork$1(); - return previousWasRendering || wasRendering; - }, - r: function(form) { - var formInst = getInstanceFromNode(form); - null !== formInst && 5 === formInst.tag && "form" === formInst.type ? requestFormReset$1(formInst) : previousDispatcher.r(form); - }, - D: function(href) { - previousDispatcher.D(href); - preconnectAs("dns-prefetch", href, null); - }, - C: function(href, crossOrigin) { - previousDispatcher.C(href, crossOrigin); - preconnectAs("preconnect", href, crossOrigin); - }, - L: function(href, as, options) { - previousDispatcher.L(href, as, options); - var ownerDocument = globalDocument; - if (ownerDocument && href && as) { - var preloadSelector = 'link[rel="preload"][as="' + escapeSelectorAttributeValueInsideDoubleQuotes(as) + '"]'; - "image" === as ? options && options.imageSrcSet ? (preloadSelector += '[imagesrcset="' + escapeSelectorAttributeValueInsideDoubleQuotes(options.imageSrcSet) + '"]', "string" === typeof options.imageSizes && (preloadSelector += '[imagesizes="' + escapeSelectorAttributeValueInsideDoubleQuotes(options.imageSizes) + '"]')) : preloadSelector += '[href="' + escapeSelectorAttributeValueInsideDoubleQuotes(href) + '"]' : preloadSelector += '[href="' + escapeSelectorAttributeValueInsideDoubleQuotes(href) + '"]'; - var key = preloadSelector; - switch(as){ - case "style": - key = getStyleKey(href); - break; - case "script": - key = getScriptKey(href); - } - preloadPropsMap.has(key) || (href = assign({ - rel: "preload", - href: "image" === as && options && options.imageSrcSet ? void 0 : href, - as: as - }, options), preloadPropsMap.set(key, href), null !== ownerDocument.querySelector(preloadSelector) || "style" === as && ownerDocument.querySelector(getStylesheetSelectorFromKey(key)) || "script" === as && ownerDocument.querySelector(getScriptSelectorFromKey(key)) || (as = ownerDocument.createElement("link"), setInitialProperties(as, "link", href), markNodeAsHoistable(as), ownerDocument.head.appendChild(as))); - } - }, - m: function(href, options) { - previousDispatcher.m(href, options); - var ownerDocument = globalDocument; - if (ownerDocument && href) { - var as = options && "string" === typeof options.as ? options.as : "script", preloadSelector = 'link[rel="modulepreload"][as="' + escapeSelectorAttributeValueInsideDoubleQuotes(as) + '"][href="' + escapeSelectorAttributeValueInsideDoubleQuotes(href) + '"]', key = preloadSelector; - switch(as){ - case "audioworklet": - case "paintworklet": - case "serviceworker": - case "sharedworker": - case "worker": - case "script": - key = getScriptKey(href); - } - if (!preloadPropsMap.has(key) && (href = assign({ - rel: "modulepreload", - href: href - }, options), preloadPropsMap.set(key, href), null === ownerDocument.querySelector(preloadSelector))) { - switch(as){ - case "audioworklet": - case "paintworklet": - case "serviceworker": - case "sharedworker": - case "worker": - case "script": - if (ownerDocument.querySelector(getScriptSelectorFromKey(key))) return; - } - as = ownerDocument.createElement("link"); - setInitialProperties(as, "link", href); - markNodeAsHoistable(as); - ownerDocument.head.appendChild(as); - } - } - }, - X: function(src, options) { - previousDispatcher.X(src, options); - var ownerDocument = globalDocument; - if (ownerDocument && src) { - var scripts = getResourcesFromRoot(ownerDocument).hoistableScripts, key = getScriptKey(src), resource = scripts.get(key); - resource || (resource = ownerDocument.querySelector(getScriptSelectorFromKey(key)), resource || (src = assign({ - src: src, - async: !0 - }, options), (options = preloadPropsMap.get(key)) && adoptPreloadPropsForScript(src, options), resource = ownerDocument.createElement("script"), markNodeAsHoistable(resource), setInitialProperties(resource, "link", src), ownerDocument.head.appendChild(resource)), resource = { - type: "script", - instance: resource, - count: 1, - state: null - }, scripts.set(key, resource)); - } - }, - S: function(href, precedence, options) { - previousDispatcher.S(href, precedence, options); - var ownerDocument = globalDocument; - if (ownerDocument && href) { - var styles = getResourcesFromRoot(ownerDocument).hoistableStyles, key = getStyleKey(href); - precedence = precedence || "default"; - var resource = styles.get(key); - if (!resource) { - var state = { - loading: NotLoaded, - preload: null - }; - if (resource = ownerDocument.querySelector(getStylesheetSelectorFromKey(key))) state.loading = Loaded | Inserted; - else { - href = assign({ - rel: "stylesheet", - href: href, - "data-precedence": precedence - }, options); - (options = preloadPropsMap.get(key)) && adoptPreloadPropsForStylesheet(href, options); - var link = resource = ownerDocument.createElement("link"); - markNodeAsHoistable(link); - setInitialProperties(link, "link", href); - link._p = new Promise(function(resolve, reject) { - link.onload = resolve; - link.onerror = reject; - }); - link.addEventListener("load", function() { - state.loading |= Loaded; - }); - link.addEventListener("error", function() { - state.loading |= Errored; - }); - state.loading |= Inserted; - insertStylesheet(resource, precedence, ownerDocument); - } - resource = { - type: "stylesheet", - instance: resource, - count: 1, - state: state - }; - styles.set(key, resource); - } - } - }, - M: function(src, options) { - previousDispatcher.M(src, options); - var ownerDocument = globalDocument; - if (ownerDocument && src) { - var scripts = getResourcesFromRoot(ownerDocument).hoistableScripts, key = getScriptKey(src), resource = scripts.get(key); - resource || (resource = ownerDocument.querySelector(getScriptSelectorFromKey(key)), resource || (src = assign({ - src: src, - async: !0, - type: "module" - }, options), (options = preloadPropsMap.get(key)) && adoptPreloadPropsForScript(src, options), resource = ownerDocument.createElement("script"), markNodeAsHoistable(resource), setInitialProperties(resource, "link", src), ownerDocument.head.appendChild(resource)), resource = { - type: "script", - instance: resource, - count: 1, - state: null - }, scripts.set(key, resource)); - } - } - }; - var globalDocument = "undefined" === typeof document ? null : document, tagCaches = null, SUSPENSEY_STYLESHEET_TIMEOUT = 6e4, SUSPENSEY_IMAGE_TIMEOUT = 800, SUSPENSEY_IMAGE_TIME_ESTIMATE = 500, estimatedBytesWithinLimit = 0, LAST_PRECEDENCE = null, precedencesByRoot = null, NotPendingTransition = NotPending, HostTransitionContext = { - $$typeof: REACT_CONTEXT_TYPE, - Provider: null, - Consumer: null, - _currentValue: NotPendingTransition, - _currentValue2: NotPendingTransition, - _threadCount: 0 - }, badgeFormat = "%c%s%c", badgeStyle = "background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px", resetStyle = "", pad = " ", bind = Function.prototype.bind; - var didWarnAboutNestedUpdates = !1; - var overrideHookState = null, overrideHookStateDeletePath = null, overrideHookStateRenamePath = null, overrideProps = null, overridePropsDeletePath = null, overridePropsRenamePath = null, scheduleUpdate = null, scheduleRetry = null, setErrorHandler = null, setSuspenseHandler = null; - overrideHookState = function(fiber, id, path, value) { - id = findHook(fiber, id); - null !== id && (path = copyWithSetImpl(id.memoizedState, path, 0, value), id.memoizedState = path, id.baseState = path, fiber.memoizedProps = assign({}, fiber.memoizedProps), path = enqueueConcurrentRenderForLane(fiber, 2), null !== path && scheduleUpdateOnFiber(path, fiber, 2)); - }; - overrideHookStateDeletePath = function(fiber, id, path) { - id = findHook(fiber, id); - null !== id && (path = copyWithDeleteImpl(id.memoizedState, path, 0), id.memoizedState = path, id.baseState = path, fiber.memoizedProps = assign({}, fiber.memoizedProps), path = enqueueConcurrentRenderForLane(fiber, 2), null !== path && scheduleUpdateOnFiber(path, fiber, 2)); - }; - overrideHookStateRenamePath = function(fiber, id, oldPath, newPath) { - id = findHook(fiber, id); - null !== id && (oldPath = copyWithRename(id.memoizedState, oldPath, newPath), id.memoizedState = oldPath, id.baseState = oldPath, fiber.memoizedProps = assign({}, fiber.memoizedProps), oldPath = enqueueConcurrentRenderForLane(fiber, 2), null !== oldPath && scheduleUpdateOnFiber(oldPath, fiber, 2)); - }; - overrideProps = function(fiber, path, value) { - fiber.pendingProps = copyWithSetImpl(fiber.memoizedProps, path, 0, value); - fiber.alternate && (fiber.alternate.pendingProps = fiber.pendingProps); - path = enqueueConcurrentRenderForLane(fiber, 2); - null !== path && scheduleUpdateOnFiber(path, fiber, 2); - }; - overridePropsDeletePath = function(fiber, path) { - fiber.pendingProps = copyWithDeleteImpl(fiber.memoizedProps, path, 0); - fiber.alternate && (fiber.alternate.pendingProps = fiber.pendingProps); - path = enqueueConcurrentRenderForLane(fiber, 2); - null !== path && scheduleUpdateOnFiber(path, fiber, 2); - }; - overridePropsRenamePath = function(fiber, oldPath, newPath) { - fiber.pendingProps = copyWithRename(fiber.memoizedProps, oldPath, newPath); - fiber.alternate && (fiber.alternate.pendingProps = fiber.pendingProps); - oldPath = enqueueConcurrentRenderForLane(fiber, 2); - null !== oldPath && scheduleUpdateOnFiber(oldPath, fiber, 2); - }; - scheduleUpdate = function(fiber) { - var root = enqueueConcurrentRenderForLane(fiber, 2); - null !== root && scheduleUpdateOnFiber(root, fiber, 2); - }; - scheduleRetry = function(fiber) { - var lane = claimNextRetryLane(), root = enqueueConcurrentRenderForLane(fiber, lane); - null !== root && scheduleUpdateOnFiber(root, fiber, lane); - }; - setErrorHandler = function(newShouldErrorImpl) { - shouldErrorImpl = newShouldErrorImpl; - }; - setSuspenseHandler = function(newShouldSuspendImpl) { - shouldSuspendImpl = newShouldSuspendImpl; - }; - var _enabled = !0, return_targetInst = null, hasScheduledReplayAttempt = !1, queuedFocus = null, queuedDrag = null, queuedMouse = null, queuedPointers = new Map(), queuedPointerCaptures = new Map(), queuedExplicitHydrationTargets = [], discreteReplayableEvents = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" "), lastScheduledReplayQueue = null; - ReactDOMHydrationRoot.prototype.render = ReactDOMRoot.prototype.render = function(children) { - var root = this._internalRoot; - if (null === root) throw Error("Cannot update an unmounted root."); - var args = arguments; - "function" === typeof args[1] ? console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().") : isValidContainer(args[1]) ? console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root.") : "undefined" !== typeof args[1] && console.error("You passed a second argument to root.render(...) but it only accepts one argument."); - args = children; - var current = root.current, lane = requestUpdateLane(current); - updateContainerImpl(current, lane, args, root, null, null); - }; - ReactDOMHydrationRoot.prototype.unmount = ReactDOMRoot.prototype.unmount = function() { - var args = arguments; - "function" === typeof args[0] && console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."); - args = this._internalRoot; - if (null !== args) { - this._internalRoot = null; - var container = args.containerInfo; - (executionContext & (RenderContext | CommitContext)) !== NoContext && console.error("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."); - updateContainerImpl(args.current, 2, null, args, null, null); - flushSyncWork$1(); - container[internalContainerInstanceKey] = null; - } - }; - ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function(target) { - if (target) { - var updatePriority = resolveUpdatePriority(); - target = { - blockedOn: null, - target: target, - priority: updatePriority - }; - for(var i = 0; i < queuedExplicitHydrationTargets.length && 0 !== updatePriority && updatePriority < queuedExplicitHydrationTargets[i].priority; i++); - queuedExplicitHydrationTargets.splice(i, 0, target); - 0 === i && attemptExplicitHydrationTarget(target); - } - }; - (function() { - var isomorphicReactPackageVersion = React.version; - if ("19.3.0-canary-f93b9fd4-20251217" !== isomorphicReactPackageVersion) throw Error('Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + "\n - react-dom: 19.3.0-canary-f93b9fd4-20251217\nLearn more: https://react.dev/warnings/version-mismatch")); - })(); - "function" === typeof Map && null != Map.prototype && "function" === typeof Map.prototype.forEach && "function" === typeof Set && null != Set.prototype && "function" === typeof Set.prototype.clear && "function" === typeof Set.prototype.forEach || console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills"); - ReactDOMSharedInternals.findDOMNode = function(componentOrElement) { - var fiber = componentOrElement._reactInternals; - if (void 0 === fiber) { - if ("function" === typeof componentOrElement.render) throw Error("Unable to find node on an unmounted component."); - componentOrElement = Object.keys(componentOrElement).join(","); - throw Error("Argument appears to not be a ReactComponent. Keys: " + componentOrElement); - } - componentOrElement = findCurrentFiberUsingSlowPath(fiber); - componentOrElement = null !== componentOrElement ? findCurrentHostFiberImpl(componentOrElement) : null; - componentOrElement = null === componentOrElement ? null : componentOrElement.stateNode; - return componentOrElement; - }; - if (!function() { - var internals = { - bundleType: 1, - version: "19.3.0-canary-f93b9fd4-20251217", - rendererPackageName: "react-dom", - currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.3.0-canary-f93b9fd4-20251217" - }; - internals.overrideHookState = overrideHookState; - internals.overrideHookStateDeletePath = overrideHookStateDeletePath; - internals.overrideHookStateRenamePath = overrideHookStateRenamePath; - internals.overrideProps = overrideProps; - internals.overridePropsDeletePath = overridePropsDeletePath; - internals.overridePropsRenamePath = overridePropsRenamePath; - internals.scheduleUpdate = scheduleUpdate; - internals.scheduleRetry = scheduleRetry; - internals.setErrorHandler = setErrorHandler; - internals.setSuspenseHandler = setSuspenseHandler; - internals.scheduleRefresh = scheduleRefresh; - internals.scheduleRoot = scheduleRoot; - internals.setRefreshHandler = setRefreshHandler; - internals.getCurrentFiber = getCurrentFiberForDevTools; - return injectInternals(internals); - }() && canUseDOM && window.top === window.self && (-1 < navigator.userAgent.indexOf("Chrome") && -1 === navigator.userAgent.indexOf("Edge") || -1 < navigator.userAgent.indexOf("Firefox"))) { - var protocol = window.location.protocol; - /^(https?|file):$/.test(protocol) && console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools" + ("file:" === protocol ? "\nYou might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq" : ""), "font-weight:bold"); - } - exports.createRoot = function(container, options) { - if (!isValidContainer(container)) throw Error("Target container is not a DOM element."); - warnIfReactDOMContainerInDEV(container); - var isStrictMode = !1, identifierPrefix = "", onUncaughtError = defaultOnUncaughtError, onCaughtError = defaultOnCaughtError, onRecoverableError = defaultOnRecoverableError; - null !== options && void 0 !== options && (options.hydrate ? console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead.") : "object" === typeof options && null !== options && options.$$typeof === REACT_ELEMENT_TYPE && console.error("You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:\n\n let root = createRoot(domContainer);\n root.render(<App />);"), !0 === options.unstable_strictMode && (isStrictMode = !0), void 0 !== options.identifierPrefix && (identifierPrefix = options.identifierPrefix), void 0 !== options.onUncaughtError && (onUncaughtError = options.onUncaughtError), void 0 !== options.onCaughtError && (onCaughtError = options.onCaughtError), void 0 !== options.onRecoverableError && (onRecoverableError = options.onRecoverableError)); - options = createFiberRoot(container, 1, !1, null, null, isStrictMode, identifierPrefix, null, onUncaughtError, onCaughtError, onRecoverableError, defaultOnDefaultTransitionIndicator); - container[internalContainerInstanceKey] = options.current; - listenToAllSupportedEvents(container); - return new ReactDOMRoot(options); - }; - exports.hydrateRoot = function(container, initialChildren, options) { - if (!isValidContainer(container)) throw Error("Target container is not a DOM element."); - warnIfReactDOMContainerInDEV(container); - void 0 === initialChildren && console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)"); - var isStrictMode = !1, identifierPrefix = "", onUncaughtError = defaultOnUncaughtError, onCaughtError = defaultOnCaughtError, onRecoverableError = defaultOnRecoverableError, formState = null; - null !== options && void 0 !== options && (!0 === options.unstable_strictMode && (isStrictMode = !0), void 0 !== options.identifierPrefix && (identifierPrefix = options.identifierPrefix), void 0 !== options.onUncaughtError && (onUncaughtError = options.onUncaughtError), void 0 !== options.onCaughtError && (onCaughtError = options.onCaughtError), void 0 !== options.onRecoverableError && (onRecoverableError = options.onRecoverableError), void 0 !== options.formState && (formState = options.formState)); - initialChildren = createFiberRoot(container, 1, !0, initialChildren, null != options ? options : null, isStrictMode, identifierPrefix, formState, onUncaughtError, onCaughtError, onRecoverableError, defaultOnDefaultTransitionIndicator); - initialChildren.context = getContextForSubtree(null); - options = initialChildren.current; - isStrictMode = requestUpdateLane(options); - isStrictMode = getBumpedLaneForHydrationByLane(isStrictMode); - identifierPrefix = createUpdate(isStrictMode); - identifierPrefix.callback = null; - enqueueUpdate(options, identifierPrefix, isStrictMode); - startUpdateTimerByLane(isStrictMode, "hydrateRoot()", null); - options = isStrictMode; - initialChildren.current.lanes = options; - markRootUpdated$1(initialChildren, options); - ensureRootIsScheduled(initialChildren); - container[internalContainerInstanceKey] = initialChildren.current; - listenToAllSupportedEvents(container); - return new ReactDOMHydrationRoot(initialChildren); - }; - exports.version = "19.3.0-canary-f93b9fd4-20251217"; - "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error()); -}(); -}), -"[project]/node_modules/next/dist/compiled/react-dom/client.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -'use strict'; -function checkDCE() { - /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */ if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined' || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== 'function') { - return; - } - if ("TURBOPACK compile-time truthy", 1) { - // This branch is unreachable because this function is only called - // in production, but the condition is true only in development. - // Therefore if the branch is still here, dead code elimination wasn't - // properly applied. - // Don't change the message. React DevTools relies on it. Also make sure - // this message doesn't occur elsewhere in this function, or it will cause - // a false positive. - throw new Error('^_^'); - } - try { - // Verify that the code above has been dead code eliminated (DCE'd). - __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE); - } catch (err) { - // DevTools shouldn't crash React, no matter what. - // We should still report in case we break this code. - console.error(err); - } -} -if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable -; -else { - module.exports = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react-dom/cjs/react-dom-client.development.js [app-client] (ecmascript)"); -} -}), -]); - -//# sourceMappingURL=node_modules_next_dist_compiled_react-dom_1e674e59._.js.map \ No newline at end of file diff --git a/.next/dev/static/chunks/node_modules_next_dist_compiled_react-dom_1e674e59._.js.map b/.next/dev/static/chunks/node_modules_next_dist_compiled_react-dom_1e674e59._.js.map deleted file mode 100644 index 3174e5b..0000000 --- a/.next/dev/static/chunks/node_modules_next_dist_compiled_react-dom_1e674e59._.js.map +++ /dev/null @@ -1,9 +0,0 @@ -{ - "version": 3, - "sources": [], - "sections": [ - {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js"],"sourcesContent":["/**\n * @license React\n * react-dom.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and 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\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function noop() {}\n function testStringCoercion(value) {\n return \"\" + value;\n }\n function createPortal$1(children, containerInfo, implementation) {\n var key =\n 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;\n if (null == key) key = null;\n else if (key === REACT_OPTIMISTIC_KEY) key = REACT_OPTIMISTIC_KEY;\n else {\n try {\n testStringCoercion(key);\n var JSCompiler_inline_result = !1;\n } catch (e) {\n JSCompiler_inline_result = !0;\n }\n JSCompiler_inline_result &&\n (console.error(\n \"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",\n (\"function\" === typeof Symbol &&\n Symbol.toStringTag &&\n key[Symbol.toStringTag]) ||\n key.constructor.name ||\n \"Object\"\n ),\n testStringCoercion(key));\n key = \"\" + key;\n }\n return {\n $$typeof: REACT_PORTAL_TYPE,\n key: key,\n children: children,\n containerInfo: containerInfo,\n implementation: implementation\n };\n }\n function getCrossOriginStringAs(as, input) {\n if (\"font\" === as) return \"\";\n if (\"string\" === typeof input)\n return \"use-credentials\" === input ? input : \"\";\n }\n function getValueDescriptorExpectingObjectForWarning(thing) {\n return null === thing\n ? \"`null`\"\n : void 0 === thing\n ? \"`undefined`\"\n : \"\" === thing\n ? \"an empty string\"\n : 'something with type \"' + typeof thing + '\"';\n }\n function getValueDescriptorExpectingEnumForWarning(thing) {\n return null === thing\n ? \"`null`\"\n : void 0 === thing\n ? \"`undefined`\"\n : \"\" === thing\n ? \"an empty string\"\n : \"string\" === typeof thing\n ? JSON.stringify(thing)\n : \"number\" === typeof thing\n ? \"`\" + thing + \"`\"\n : 'something with type \"' + typeof thing + '\"';\n }\n function resolveDispatcher() {\n var dispatcher = ReactSharedInternals.H;\n null === dispatcher &&\n console.error(\n \"Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\\n1. You might have mismatching versions of React and the renderer (such as React DOM)\\n2. You might be breaking the Rules of Hooks\\n3. You might have more than one copy of React in the same app\\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.\"\n );\n return dispatcher;\n }\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());\n var React = require(\"next/dist/compiled/react\"),\n Internals = {\n d: {\n f: noop,\n r: function () {\n throw Error(\n \"Invalid form element. requestFormReset must be passed a form that was rendered by React.\"\n );\n },\n D: noop,\n C: noop,\n L: noop,\n m: noop,\n X: noop,\n S: noop,\n M: noop\n },\n p: 0,\n findDOMNode: null\n },\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_OPTIMISTIC_KEY = Symbol.for(\"react.optimistic_key\"),\n ReactSharedInternals =\n React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;\n (\"function\" === typeof Map &&\n null != Map.prototype &&\n \"function\" === typeof Map.prototype.forEach &&\n \"function\" === typeof Set &&\n null != Set.prototype &&\n \"function\" === typeof Set.prototype.clear &&\n \"function\" === typeof Set.prototype.forEach) ||\n console.error(\n \"React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills\"\n );\n exports.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =\n Internals;\n exports.createPortal = function (children, container) {\n var key =\n 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null;\n if (\n !container ||\n (1 !== container.nodeType &&\n 9 !== container.nodeType &&\n 11 !== container.nodeType)\n )\n throw Error(\"Target container is not a DOM element.\");\n return createPortal$1(children, container, null, key);\n };\n exports.flushSync = function (fn) {\n var previousTransition = ReactSharedInternals.T,\n previousUpdatePriority = Internals.p;\n try {\n if (((ReactSharedInternals.T = null), (Internals.p = 2), fn))\n return fn();\n } finally {\n (ReactSharedInternals.T = previousTransition),\n (Internals.p = previousUpdatePriority),\n Internals.d.f() &&\n console.error(\n \"flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.\"\n );\n }\n };\n exports.preconnect = function (href, options) {\n \"string\" === typeof href && href\n ? null != options && \"object\" !== typeof options\n ? console.error(\n \"ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.\",\n getValueDescriptorExpectingEnumForWarning(options)\n )\n : null != options &&\n \"string\" !== typeof options.crossOrigin &&\n console.error(\n \"ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.\",\n getValueDescriptorExpectingObjectForWarning(options.crossOrigin)\n )\n : console.error(\n \"ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.\",\n getValueDescriptorExpectingObjectForWarning(href)\n );\n \"string\" === typeof href &&\n (options\n ? ((options = options.crossOrigin),\n (options =\n \"string\" === typeof options\n ? \"use-credentials\" === options\n ? options\n : \"\"\n : void 0))\n : (options = null),\n Internals.d.C(href, options));\n };\n exports.prefetchDNS = function (href) {\n if (\"string\" !== typeof href || !href)\n console.error(\n \"ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.\",\n getValueDescriptorExpectingObjectForWarning(href)\n );\n else if (1 < arguments.length) {\n var options = arguments[1];\n \"object\" === typeof options && options.hasOwnProperty(\"crossOrigin\")\n ? console.error(\n \"ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.\",\n getValueDescriptorExpectingEnumForWarning(options)\n )\n : console.error(\n \"ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.\",\n getValueDescriptorExpectingEnumForWarning(options)\n );\n }\n \"string\" === typeof href && Internals.d.D(href);\n };\n exports.preinit = function (href, options) {\n \"string\" === typeof href && href\n ? null == options || \"object\" !== typeof options\n ? console.error(\n \"ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.\",\n getValueDescriptorExpectingEnumForWarning(options)\n )\n : \"style\" !== options.as &&\n \"script\" !== options.as &&\n console.error(\n 'ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are \"style\" and \"script\".',\n getValueDescriptorExpectingEnumForWarning(options.as)\n )\n : console.error(\n \"ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.\",\n getValueDescriptorExpectingObjectForWarning(href)\n );\n if (\n \"string\" === typeof href &&\n options &&\n \"string\" === typeof options.as\n ) {\n var as = options.as,\n crossOrigin = getCrossOriginStringAs(as, options.crossOrigin),\n integrity =\n \"string\" === typeof options.integrity ? options.integrity : void 0,\n fetchPriority =\n \"string\" === typeof options.fetchPriority\n ? options.fetchPriority\n : void 0;\n \"style\" === as\n ? Internals.d.S(\n href,\n \"string\" === typeof options.precedence\n ? options.precedence\n : void 0,\n {\n crossOrigin: crossOrigin,\n integrity: integrity,\n fetchPriority: fetchPriority\n }\n )\n : \"script\" === as &&\n Internals.d.X(href, {\n crossOrigin: crossOrigin,\n integrity: integrity,\n fetchPriority: fetchPriority,\n nonce: \"string\" === typeof options.nonce ? options.nonce : void 0\n });\n }\n };\n exports.preinitModule = function (href, options) {\n var encountered = \"\";\n (\"string\" === typeof href && href) ||\n (encountered +=\n \" The `href` argument encountered was \" +\n getValueDescriptorExpectingObjectForWarning(href) +\n \".\");\n void 0 !== options && \"object\" !== typeof options\n ? (encountered +=\n \" The `options` argument encountered was \" +\n getValueDescriptorExpectingObjectForWarning(options) +\n \".\")\n : options &&\n \"as\" in options &&\n \"script\" !== options.as &&\n (encountered +=\n \" The `as` option encountered was \" +\n getValueDescriptorExpectingEnumForWarning(options.as) +\n \".\");\n if (encountered)\n console.error(\n \"ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s\",\n encountered\n );\n else\n switch (\n ((encountered =\n options && \"string\" === typeof options.as ? options.as : \"script\"),\n encountered)\n ) {\n case \"script\":\n break;\n default:\n (encountered =\n getValueDescriptorExpectingEnumForWarning(encountered)),\n console.error(\n 'ReactDOM.preinitModule(): Currently the only supported \"as\" type for this function is \"script\" but received \"%s\" instead. This warning was generated for `href` \"%s\". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',\n encountered,\n href\n );\n }\n if (\"string\" === typeof href)\n if (\"object\" === typeof options && null !== options) {\n if (null == options.as || \"script\" === options.as)\n (encountered = getCrossOriginStringAs(\n options.as,\n options.crossOrigin\n )),\n Internals.d.M(href, {\n crossOrigin: encountered,\n integrity:\n \"string\" === typeof options.integrity\n ? options.integrity\n : void 0,\n nonce:\n \"string\" === typeof options.nonce ? options.nonce : void 0\n });\n } else null == options && Internals.d.M(href);\n };\n exports.preload = function (href, options) {\n var encountered = \"\";\n (\"string\" === typeof href && href) ||\n (encountered +=\n \" The `href` argument encountered was \" +\n getValueDescriptorExpectingObjectForWarning(href) +\n \".\");\n null == options || \"object\" !== typeof options\n ? (encountered +=\n \" The `options` argument encountered was \" +\n getValueDescriptorExpectingObjectForWarning(options) +\n \".\")\n : (\"string\" === typeof options.as && options.as) ||\n (encountered +=\n \" The `as` option encountered was \" +\n getValueDescriptorExpectingObjectForWarning(options.as) +\n \".\");\n encountered &&\n console.error(\n 'ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel=\"preload\" as=\"...\" />` tag.%s',\n encountered\n );\n if (\n \"string\" === typeof href &&\n \"object\" === typeof options &&\n null !== options &&\n \"string\" === typeof options.as\n ) {\n encountered = options.as;\n var crossOrigin = getCrossOriginStringAs(\n encountered,\n options.crossOrigin\n );\n Internals.d.L(href, encountered, {\n crossOrigin: crossOrigin,\n integrity:\n \"string\" === typeof options.integrity ? options.integrity : void 0,\n nonce: \"string\" === typeof options.nonce ? options.nonce : void 0,\n type: \"string\" === typeof options.type ? options.type : void 0,\n fetchPriority:\n \"string\" === typeof options.fetchPriority\n ? options.fetchPriority\n : void 0,\n referrerPolicy:\n \"string\" === typeof options.referrerPolicy\n ? options.referrerPolicy\n : void 0,\n imageSrcSet:\n \"string\" === typeof options.imageSrcSet\n ? options.imageSrcSet\n : void 0,\n imageSizes:\n \"string\" === typeof options.imageSizes\n ? options.imageSizes\n : void 0,\n media: \"string\" === typeof options.media ? options.media : void 0\n });\n }\n };\n exports.preloadModule = function (href, options) {\n var encountered = \"\";\n (\"string\" === typeof href && href) ||\n (encountered +=\n \" The `href` argument encountered was \" +\n getValueDescriptorExpectingObjectForWarning(href) +\n \".\");\n void 0 !== options && \"object\" !== typeof options\n ? (encountered +=\n \" The `options` argument encountered was \" +\n getValueDescriptorExpectingObjectForWarning(options) +\n \".\")\n : options &&\n \"as\" in options &&\n \"string\" !== typeof options.as &&\n (encountered +=\n \" The `as` option encountered was \" +\n getValueDescriptorExpectingObjectForWarning(options.as) +\n \".\");\n encountered &&\n console.error(\n 'ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel=\"modulepreload\" as=\"...\" />` tag.%s',\n encountered\n );\n \"string\" === typeof href &&\n (options\n ? ((encountered = getCrossOriginStringAs(\n options.as,\n options.crossOrigin\n )),\n Internals.d.m(href, {\n as:\n \"string\" === typeof options.as && \"script\" !== options.as\n ? options.as\n : void 0,\n crossOrigin: encountered,\n integrity:\n \"string\" === typeof options.integrity\n ? options.integrity\n : void 0\n }))\n : Internals.d.m(href));\n };\n exports.requestFormReset = function (form) {\n Internals.d.r(form);\n };\n exports.unstable_batchedUpdates = function (fn, a) {\n return fn(a);\n };\n exports.useFormState = function (action, initialState, permalink) {\n return resolveDispatcher().useFormState(action, initialState, permalink);\n };\n exports.useFormStatus = function () {\n return resolveDispatcher().useHostTransitionStatus();\n };\n exports.version = \"19.3.0-canary-f93b9fd4-20251217\";\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());\n })();\n"],"names":[],"mappings":"AAWiB;AAXjB;;;;;;;;CAQC,GAED;AACA,oEACE,A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AO,+BAA+B,0BAA0B,IAClE,+BAA+B,0BAA0B,CAAC;AAC9D","ignoreList":[0]}}, - {"offset": {"line": 187, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/dist/compiled/react-dom/index.js"],"sourcesContent":["'use strict';\n\nfunction checkDCE() {\n /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */\n if (\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined' ||\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== 'function'\n ) {\n return;\n }\n if (process.env.NODE_ENV !== 'production') {\n // This branch is unreachable because this function is only called\n // in production, but the condition is true only in development.\n // Therefore if the branch is still here, dead code elimination wasn't\n // properly applied.\n // Don't change the message. React DevTools relies on it. Also make sure\n // this message doesn't occur elsewhere in this function, or it will cause\n // a false positive.\n throw new Error('^_^');\n }\n try {\n // Verify that the code above has been dead code eliminated (DCE'd).\n __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);\n } catch (err) {\n // DevTools shouldn't crash React, no matter what.\n // We should still report in case we break this code.\n console.error(err);\n }\n}\n\nif (process.env.NODE_ENV === 'production') {\n // DCE check should happen before ReactDOM bundle executes so that\n // DevTools can report bad minification during injection.\n checkDCE();\n module.exports = require('./cjs/react-dom.production.js');\n} else {\n module.exports = require('./cjs/react-dom.development.js');\n}\n"],"names":[],"mappings":"AA8BI;AA9BJ;AAEA,SAAS;IACP,yCAAyC,GACzC,IACE,OAAO,mCAAmC,eAC1C,OAAO,+BAA+B,QAAQ,KAAK,YACnD;QACA;IACF;IACA,wCAA2C;QACzC,kEAAkE;QAClE,gEAAgE;QAChE,sEAAsE;QACtE,oBAAoB;QACpB,wEAAwE;QACxE,0EAA0E;QAC1E,oBAAoB;QACpB,MAAM,IAAI,MAAM;IAClB;IACA,IAAI;QACF,oEAAoE;QACpE,+BAA+B,QAAQ,CAAC;IAC1C,EAAE,OAAO,KAAK;QACZ,kDAAkD;QAClD,qDAAqD;QACrD,QAAQ,KAAK,CAAC;IAChB;AACF;AAEA;;KAKO;IACL,OAAO,OAAO;AAChB","ignoreList":[0]}}, - {"offset": {"line": 221, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/dist/compiled/react-dom/cjs/react-dom-client.development.js"],"sourcesContent":["/**\n * @license React\n * react-dom-client.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and 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\n/*\n Modernizr 3.0.0pre (Custom Build) | MIT\n*/\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function findHook(fiber, id) {\n for (fiber = fiber.memoizedState; null !== fiber && 0 < id; )\n (fiber = fiber.next), id--;\n return fiber;\n }\n function copyWithSetImpl(obj, path, index, value) {\n if (index >= path.length) return value;\n var key = path[index],\n updated = isArrayImpl(obj) ? obj.slice() : assign({}, obj);\n updated[key] = copyWithSetImpl(obj[key], path, index + 1, value);\n return updated;\n }\n function copyWithRename(obj, oldPath, newPath) {\n if (oldPath.length !== newPath.length)\n console.warn(\"copyWithRename() expects paths of the same length\");\n else {\n for (var i = 0; i < newPath.length - 1; i++)\n if (oldPath[i] !== newPath[i]) {\n console.warn(\n \"copyWithRename() expects paths to be the same except for the deepest key\"\n );\n return;\n }\n return copyWithRenameImpl(obj, oldPath, newPath, 0);\n }\n }\n function copyWithRenameImpl(obj, oldPath, newPath, index) {\n var oldKey = oldPath[index],\n updated = isArrayImpl(obj) ? obj.slice() : assign({}, obj);\n index + 1 === oldPath.length\n ? ((updated[newPath[index]] = updated[oldKey]),\n isArrayImpl(updated)\n ? updated.splice(oldKey, 1)\n : delete updated[oldKey])\n : (updated[oldKey] = copyWithRenameImpl(\n obj[oldKey],\n oldPath,\n newPath,\n index + 1\n ));\n return updated;\n }\n function copyWithDeleteImpl(obj, path, index) {\n var key = path[index],\n updated = isArrayImpl(obj) ? obj.slice() : assign({}, obj);\n if (index + 1 === path.length)\n return (\n isArrayImpl(updated) ? updated.splice(key, 1) : delete updated[key],\n updated\n );\n updated[key] = copyWithDeleteImpl(obj[key], path, index + 1);\n return updated;\n }\n function shouldSuspendImpl() {\n return !1;\n }\n function shouldErrorImpl() {\n return null;\n }\n function warnInvalidHookAccess() {\n console.error(\n \"Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks\"\n );\n }\n function warnInvalidContextAccess() {\n console.error(\n \"Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().\"\n );\n }\n function noop() {}\n function warnForMissingKey() {}\n function setToSortedString(set) {\n var array = [];\n set.forEach(function (value) {\n array.push(value);\n });\n return array.sort().join(\", \");\n }\n function createFiber(tag, pendingProps, key, mode) {\n return new FiberNode(tag, pendingProps, key, mode);\n }\n function scheduleRoot(root, element) {\n root.context === emptyContextObject &&\n (updateContainerImpl(root.current, 2, element, root, null, null),\n flushSyncWork$1());\n }\n function scheduleRefresh(root, update) {\n if (null !== resolveFamily) {\n var staleFamilies = update.staleFamilies;\n update = update.updatedFamilies;\n flushPendingEffects();\n scheduleFibersWithFamiliesRecursively(\n root.current,\n update,\n staleFamilies\n );\n flushSyncWork$1();\n }\n }\n function setRefreshHandler(handler) {\n resolveFamily = handler;\n }\n function isValidContainer(node) {\n return !(\n !node ||\n (1 !== node.nodeType && 9 !== node.nodeType && 11 !== node.nodeType)\n );\n }\n function getNearestMountedFiber(fiber) {\n var node = fiber,\n nearestMounted = fiber;\n if (fiber.alternate) for (; node.return; ) node = node.return;\n else {\n fiber = node;\n do\n (node = fiber),\n 0 !== (node.flags & 4098) && (nearestMounted = node.return),\n (fiber = node.return);\n while (fiber);\n }\n return 3 === node.tag ? nearestMounted : null;\n }\n function getSuspenseInstanceFromFiber(fiber) {\n if (13 === fiber.tag) {\n var suspenseState = fiber.memoizedState;\n null === suspenseState &&\n ((fiber = fiber.alternate),\n null !== fiber && (suspenseState = fiber.memoizedState));\n if (null !== suspenseState) return suspenseState.dehydrated;\n }\n return null;\n }\n function getActivityInstanceFromFiber(fiber) {\n if (31 === fiber.tag) {\n var activityState = fiber.memoizedState;\n null === activityState &&\n ((fiber = fiber.alternate),\n null !== fiber && (activityState = fiber.memoizedState));\n if (null !== activityState) return activityState.dehydrated;\n }\n return null;\n }\n function assertIsMounted(fiber) {\n if (getNearestMountedFiber(fiber) !== fiber)\n throw Error(\"Unable to find node on an unmounted component.\");\n }\n function findCurrentFiberUsingSlowPath(fiber) {\n var alternate = fiber.alternate;\n if (!alternate) {\n alternate = getNearestMountedFiber(fiber);\n if (null === alternate)\n throw Error(\"Unable to find node on an unmounted component.\");\n return alternate !== fiber ? null : fiber;\n }\n for (var a = fiber, b = alternate; ; ) {\n var parentA = a.return;\n if (null === parentA) break;\n var parentB = parentA.alternate;\n if (null === parentB) {\n b = parentA.return;\n if (null !== b) {\n a = b;\n continue;\n }\n break;\n }\n if (parentA.child === parentB.child) {\n for (parentB = parentA.child; parentB; ) {\n if (parentB === a) return assertIsMounted(parentA), fiber;\n if (parentB === b) return assertIsMounted(parentA), alternate;\n parentB = parentB.sibling;\n }\n throw Error(\"Unable to find node on an unmounted component.\");\n }\n if (a.return !== b.return) (a = parentA), (b = parentB);\n else {\n for (var didFindChild = !1, _child = parentA.child; _child; ) {\n if (_child === a) {\n didFindChild = !0;\n a = parentA;\n b = parentB;\n break;\n }\n if (_child === b) {\n didFindChild = !0;\n b = parentA;\n a = parentB;\n break;\n }\n _child = _child.sibling;\n }\n if (!didFindChild) {\n for (_child = parentB.child; _child; ) {\n if (_child === a) {\n didFindChild = !0;\n a = parentB;\n b = parentA;\n break;\n }\n if (_child === b) {\n didFindChild = !0;\n b = parentB;\n a = parentA;\n break;\n }\n _child = _child.sibling;\n }\n if (!didFindChild)\n throw Error(\n \"Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.\"\n );\n }\n }\n if (a.alternate !== b)\n throw Error(\n \"Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.\"\n );\n }\n if (3 !== a.tag)\n throw Error(\"Unable to find node on an unmounted component.\");\n return a.stateNode.current === a ? fiber : alternate;\n }\n function findCurrentHostFiberImpl(node) {\n var tag = node.tag;\n if (5 === tag || 26 === tag || 27 === tag || 6 === tag) return node;\n for (node = node.child; null !== node; ) {\n tag = findCurrentHostFiberImpl(node);\n if (null !== tag) return tag;\n node = node.sibling;\n }\n return null;\n }\n function traverseVisibleHostChildren(\n child,\n searchWithinHosts,\n fn,\n a,\n b,\n c\n ) {\n for (; null !== child; ) {\n if (\n (5 === child.tag && fn(child, a, b, c)) ||\n ((22 !== child.tag || null === child.memoizedState) &&\n (searchWithinHosts || 5 !== child.tag) &&\n traverseVisibleHostChildren(\n child.child,\n searchWithinHosts,\n fn,\n a,\n b,\n c\n ))\n )\n return !0;\n child = child.sibling;\n }\n return !1;\n }\n function getFragmentParentHostFiber(fiber) {\n for (fiber = fiber.return; null !== fiber; ) {\n if (3 === fiber.tag || 5 === fiber.tag) return fiber;\n fiber = fiber.return;\n }\n return null;\n }\n function findFragmentInstanceSiblings(result, self, child) {\n for (\n var foundSelf =\n 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : !1;\n null !== child;\n\n ) {\n if (child === self)\n if (((foundSelf = !0), child.sibling)) child = child.sibling;\n else return !0;\n if (5 === child.tag) {\n if (foundSelf) return (result[1] = child), !0;\n result[0] = child;\n } else if (\n (22 !== child.tag || null === child.memoizedState) &&\n findFragmentInstanceSiblings(result, self, child.child, foundSelf)\n )\n return !0;\n child = child.sibling;\n }\n return !1;\n }\n function getInstanceFromHostFiber(fiber) {\n switch (fiber.tag) {\n case 5:\n return fiber.stateNode;\n case 3:\n return fiber.stateNode.containerInfo;\n default:\n throw Error(\"Expected to find a host node. This is a bug in React.\");\n }\n }\n function findNextSibling(child) {\n searchTarget = child;\n return !0;\n }\n function isFiberPrecedingCheck(child, target, boundary) {\n return child === boundary\n ? !0\n : child === target\n ? ((searchTarget = child), !0)\n : !1;\n }\n function isFiberFollowingCheck(child, target, boundary) {\n return child === boundary\n ? ((searchBoundary = child), !1)\n : child === target\n ? (null !== searchBoundary && (searchTarget = child), !0)\n : !1;\n }\n function getParentForFragmentAncestors(inst) {\n if (null === inst) return null;\n do inst = null === inst ? null : inst.return;\n while (inst && 5 !== inst.tag && 27 !== inst.tag && 3 !== inst.tag);\n return inst ? inst : null;\n }\n function getLowestCommonAncestor(instA, instB, getParent) {\n for (var depthA = 0, tempA = instA; tempA; tempA = getParent(tempA))\n depthA++;\n tempA = 0;\n for (var tempB = instB; tempB; tempB = getParent(tempB)) tempA++;\n for (; 0 < depthA - tempA; ) (instA = getParent(instA)), depthA--;\n for (; 0 < tempA - depthA; ) (instB = getParent(instB)), tempA--;\n for (; depthA--; ) {\n if (instA === instB || (null !== instB && instA === instB.alternate))\n return instA;\n instA = getParent(instA);\n instB = getParent(instB);\n }\n return null;\n }\n function getIteratorFn(maybeIterable) {\n if (null === maybeIterable || \"object\" !== typeof maybeIterable)\n return null;\n maybeIterable =\n (MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) ||\n maybeIterable[\"@@iterator\"];\n return \"function\" === typeof maybeIterable ? maybeIterable : null;\n }\n function getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type)\n return type.$$typeof === REACT_CLIENT_REFERENCE\n ? null\n : type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n case REACT_ACTIVITY_TYPE:\n return \"Activity\";\n case REACT_VIEW_TRANSITION_TYPE:\n return \"ViewTransition\";\n }\n if (\"object\" === typeof type)\n switch (\n (\"number\" === typeof type.tag &&\n console.error(\n \"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"\n ),\n type.$$typeof)\n ) {\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_CONTEXT_TYPE:\n return type.displayName || \"Context\";\n case REACT_CONSUMER_TYPE:\n return (type._context.displayName || \"Context\") + \".Consumer\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n }\n function getComponentNameFromOwner(owner) {\n return \"number\" === typeof owner.tag\n ? getComponentNameFromFiber(owner)\n : \"string\" === typeof owner.name\n ? owner.name\n : null;\n }\n function getComponentNameFromFiber(fiber) {\n var type = fiber.type;\n switch (fiber.tag) {\n case 31:\n return \"Activity\";\n case 24:\n return \"Cache\";\n case 9:\n return (type._context.displayName || \"Context\") + \".Consumer\";\n case 10:\n return type.displayName || \"Context\";\n case 18:\n return \"DehydratedFragment\";\n case 11:\n return (\n (fiber = type.render),\n (fiber = fiber.displayName || fiber.name || \"\"),\n type.displayName ||\n (\"\" !== fiber ? \"ForwardRef(\" + fiber + \")\" : \"ForwardRef\")\n );\n case 7:\n return \"Fragment\";\n case 26:\n case 27:\n case 5:\n return type;\n case 4:\n return \"Portal\";\n case 3:\n return \"Root\";\n case 6:\n return \"Text\";\n case 16:\n return getComponentNameFromType(type);\n case 8:\n return type === REACT_STRICT_MODE_TYPE ? \"StrictMode\" : \"Mode\";\n case 22:\n return \"Offscreen\";\n case 12:\n return \"Profiler\";\n case 21:\n return \"Scope\";\n case 13:\n return \"Suspense\";\n case 19:\n return \"SuspenseList\";\n case 25:\n return \"TracingMarker\";\n case 30:\n return \"ViewTransition\";\n case 1:\n case 0:\n case 14:\n case 15:\n if (\"function\" === typeof type)\n return type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n break;\n case 29:\n type = fiber._debugInfo;\n if (null != type)\n for (var i = type.length - 1; 0 <= i; i--)\n if (\"string\" === typeof type[i].name) return type[i].name;\n if (null !== fiber.return)\n return getComponentNameFromFiber(fiber.return);\n }\n return null;\n }\n function createCursor(defaultValue) {\n return { current: defaultValue };\n }\n function pop(cursor, fiber) {\n 0 > index$jscomp$0\n ? console.error(\"Unexpected pop.\")\n : (fiber !== fiberStack[index$jscomp$0] &&\n console.error(\"Unexpected Fiber popped.\"),\n (cursor.current = valueStack[index$jscomp$0]),\n (valueStack[index$jscomp$0] = null),\n (fiberStack[index$jscomp$0] = null),\n index$jscomp$0--);\n }\n function push(cursor, value, fiber) {\n index$jscomp$0++;\n valueStack[index$jscomp$0] = cursor.current;\n fiberStack[index$jscomp$0] = fiber;\n cursor.current = value;\n }\n function requiredContext(c) {\n null === c &&\n console.error(\n \"Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.\"\n );\n return c;\n }\n function pushHostContainer(fiber, nextRootInstance) {\n push(rootInstanceStackCursor, nextRootInstance, fiber);\n push(contextFiberStackCursor, fiber, fiber);\n push(contextStackCursor, null, fiber);\n var nextRootContext = nextRootInstance.nodeType;\n switch (nextRootContext) {\n case 9:\n case 11:\n nextRootContext = 9 === nextRootContext ? \"#document\" : \"#fragment\";\n nextRootInstance = (nextRootInstance =\n nextRootInstance.documentElement)\n ? (nextRootInstance = nextRootInstance.namespaceURI)\n ? getOwnHostContext(nextRootInstance)\n : HostContextNamespaceNone\n : HostContextNamespaceNone;\n break;\n default:\n if (\n ((nextRootContext = nextRootInstance.tagName),\n (nextRootInstance = nextRootInstance.namespaceURI))\n )\n (nextRootInstance = getOwnHostContext(nextRootInstance)),\n (nextRootInstance = getChildHostContextProd(\n nextRootInstance,\n nextRootContext\n ));\n else\n switch (nextRootContext) {\n case \"svg\":\n nextRootInstance = HostContextNamespaceSvg;\n break;\n case \"math\":\n nextRootInstance = HostContextNamespaceMath;\n break;\n default:\n nextRootInstance = HostContextNamespaceNone;\n }\n }\n nextRootContext = nextRootContext.toLowerCase();\n nextRootContext = updatedAncestorInfoDev(null, nextRootContext);\n nextRootContext = {\n context: nextRootInstance,\n ancestorInfo: nextRootContext\n };\n pop(contextStackCursor, fiber);\n push(contextStackCursor, nextRootContext, fiber);\n }\n function popHostContainer(fiber) {\n pop(contextStackCursor, fiber);\n pop(contextFiberStackCursor, fiber);\n pop(rootInstanceStackCursor, fiber);\n }\n function getHostContext() {\n return requiredContext(contextStackCursor.current);\n }\n function pushHostContext(fiber) {\n var stateHook = fiber.memoizedState;\n null !== stateHook &&\n ((HostTransitionContext._currentValue = stateHook.memoizedState),\n push(hostTransitionProviderCursor, fiber, fiber));\n stateHook = requiredContext(contextStackCursor.current);\n var type = fiber.type;\n var nextContext = getChildHostContextProd(stateHook.context, type);\n type = updatedAncestorInfoDev(stateHook.ancestorInfo, type);\n nextContext = { context: nextContext, ancestorInfo: type };\n stateHook !== nextContext &&\n (push(contextFiberStackCursor, fiber, fiber),\n push(contextStackCursor, nextContext, fiber));\n }\n function popHostContext(fiber) {\n contextFiberStackCursor.current === fiber &&\n (pop(contextStackCursor, fiber), pop(contextFiberStackCursor, fiber));\n hostTransitionProviderCursor.current === fiber &&\n (pop(hostTransitionProviderCursor, fiber),\n (HostTransitionContext._currentValue = NotPendingTransition));\n }\n function disabledLog() {}\n function disableLogs() {\n if (0 === disabledDepth) {\n prevLog = console.log;\n prevInfo = console.info;\n prevWarn = console.warn;\n prevError = console.error;\n prevGroup = console.group;\n prevGroupCollapsed = console.groupCollapsed;\n prevGroupEnd = console.groupEnd;\n var props = {\n configurable: !0,\n enumerable: !0,\n value: disabledLog,\n writable: !0\n };\n Object.defineProperties(console, {\n info: props,\n log: props,\n warn: props,\n error: props,\n group: props,\n groupCollapsed: props,\n groupEnd: props\n });\n }\n disabledDepth++;\n }\n function reenableLogs() {\n disabledDepth--;\n if (0 === disabledDepth) {\n var props = { configurable: !0, enumerable: !0, writable: !0 };\n Object.defineProperties(console, {\n log: assign({}, props, { value: prevLog }),\n info: assign({}, props, { value: prevInfo }),\n warn: assign({}, props, { value: prevWarn }),\n error: assign({}, props, { value: prevError }),\n group: assign({}, props, { value: prevGroup }),\n groupCollapsed: assign({}, props, { value: prevGroupCollapsed }),\n groupEnd: assign({}, props, { value: prevGroupEnd })\n });\n }\n 0 > disabledDepth &&\n console.error(\n \"disabledDepth fell below zero. This is a bug in React. Please file an issue.\"\n );\n }\n function formatOwnerStack(error) {\n var prevPrepareStackTrace = Error.prepareStackTrace;\n Error.prepareStackTrace = void 0;\n error = error.stack;\n Error.prepareStackTrace = prevPrepareStackTrace;\n error.startsWith(\"Error: react-stack-top-frame\\n\") &&\n (error = error.slice(29));\n prevPrepareStackTrace = error.indexOf(\"\\n\");\n -1 !== prevPrepareStackTrace &&\n (error = error.slice(prevPrepareStackTrace + 1));\n prevPrepareStackTrace = error.indexOf(\"react_stack_bottom_frame\");\n -1 !== prevPrepareStackTrace &&\n (prevPrepareStackTrace = error.lastIndexOf(\n \"\\n\",\n prevPrepareStackTrace\n ));\n if (-1 !== prevPrepareStackTrace)\n error = error.slice(0, prevPrepareStackTrace);\n else return \"\";\n return error;\n }\n function describeBuiltInComponentFrame(name) {\n if (void 0 === prefix)\n try {\n throw Error();\n } catch (x) {\n var match = x.stack.trim().match(/\\n( *(at )?)/);\n prefix = (match && match[1]) || \"\";\n suffix =\n -1 < x.stack.indexOf(\"\\n at\")\n ? \" (<anonymous>)\"\n : -1 < x.stack.indexOf(\"@\")\n ? \"@unknown:0:0\"\n : \"\";\n }\n return \"\\n\" + prefix + name + suffix;\n }\n function describeNativeComponentFrame(fn, construct) {\n if (!fn || reentry) return \"\";\n var frame = componentFrameCache.get(fn);\n if (void 0 !== frame) return frame;\n reentry = !0;\n frame = Error.prepareStackTrace;\n Error.prepareStackTrace = void 0;\n var previousDispatcher = null;\n previousDispatcher = ReactSharedInternals.H;\n ReactSharedInternals.H = null;\n disableLogs();\n try {\n var RunInRootFrame = {\n DetermineComponentFrameRoot: function () {\n try {\n if (construct) {\n var Fake = function () {\n throw Error();\n };\n Object.defineProperty(Fake.prototype, \"props\", {\n set: function () {\n throw Error();\n }\n });\n if (\"object\" === typeof Reflect && Reflect.construct) {\n try {\n Reflect.construct(Fake, []);\n } catch (x) {\n var control = x;\n }\n Reflect.construct(fn, [], Fake);\n } else {\n try {\n Fake.call();\n } catch (x$0) {\n control = x$0;\n }\n fn.call(Fake.prototype);\n }\n } else {\n try {\n throw Error();\n } catch (x$1) {\n control = x$1;\n }\n (Fake = fn()) &&\n \"function\" === typeof Fake.catch &&\n Fake.catch(function () {});\n }\n } catch (sample) {\n if (sample && control && \"string\" === typeof sample.stack)\n return [sample.stack, control.stack];\n }\n return [null, null];\n }\n };\n RunInRootFrame.DetermineComponentFrameRoot.displayName =\n \"DetermineComponentFrameRoot\";\n var namePropDescriptor = Object.getOwnPropertyDescriptor(\n RunInRootFrame.DetermineComponentFrameRoot,\n \"name\"\n );\n namePropDescriptor &&\n namePropDescriptor.configurable &&\n Object.defineProperty(\n RunInRootFrame.DetermineComponentFrameRoot,\n \"name\",\n { value: \"DetermineComponentFrameRoot\" }\n );\n var _RunInRootFrame$Deter =\n RunInRootFrame.DetermineComponentFrameRoot(),\n sampleStack = _RunInRootFrame$Deter[0],\n controlStack = _RunInRootFrame$Deter[1];\n if (sampleStack && controlStack) {\n var sampleLines = sampleStack.split(\"\\n\"),\n controlLines = controlStack.split(\"\\n\");\n for (\n _RunInRootFrame$Deter = namePropDescriptor = 0;\n namePropDescriptor < sampleLines.length &&\n !sampleLines[namePropDescriptor].includes(\n \"DetermineComponentFrameRoot\"\n );\n\n )\n namePropDescriptor++;\n for (\n ;\n _RunInRootFrame$Deter < controlLines.length &&\n !controlLines[_RunInRootFrame$Deter].includes(\n \"DetermineComponentFrameRoot\"\n );\n\n )\n _RunInRootFrame$Deter++;\n if (\n namePropDescriptor === sampleLines.length ||\n _RunInRootFrame$Deter === controlLines.length\n )\n for (\n namePropDescriptor = sampleLines.length - 1,\n _RunInRootFrame$Deter = controlLines.length - 1;\n 1 <= namePropDescriptor &&\n 0 <= _RunInRootFrame$Deter &&\n sampleLines[namePropDescriptor] !==\n controlLines[_RunInRootFrame$Deter];\n\n )\n _RunInRootFrame$Deter--;\n for (\n ;\n 1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter;\n namePropDescriptor--, _RunInRootFrame$Deter--\n )\n if (\n sampleLines[namePropDescriptor] !==\n controlLines[_RunInRootFrame$Deter]\n ) {\n if (1 !== namePropDescriptor || 1 !== _RunInRootFrame$Deter) {\n do\n if (\n (namePropDescriptor--,\n _RunInRootFrame$Deter--,\n 0 > _RunInRootFrame$Deter ||\n sampleLines[namePropDescriptor] !==\n controlLines[_RunInRootFrame$Deter])\n ) {\n var _frame =\n \"\\n\" +\n sampleLines[namePropDescriptor].replace(\n \" at new \",\n \" at \"\n );\n fn.displayName &&\n _frame.includes(\"<anonymous>\") &&\n (_frame = _frame.replace(\"<anonymous>\", fn.displayName));\n \"function\" === typeof fn &&\n componentFrameCache.set(fn, _frame);\n return _frame;\n }\n while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter);\n }\n break;\n }\n }\n } finally {\n (reentry = !1),\n (ReactSharedInternals.H = previousDispatcher),\n reenableLogs(),\n (Error.prepareStackTrace = frame);\n }\n sampleLines = (sampleLines = fn ? fn.displayName || fn.name : \"\")\n ? describeBuiltInComponentFrame(sampleLines)\n : \"\";\n \"function\" === typeof fn && componentFrameCache.set(fn, sampleLines);\n return sampleLines;\n }\n function describeFiber(fiber, childFiber) {\n switch (fiber.tag) {\n case 26:\n case 27:\n case 5:\n return describeBuiltInComponentFrame(fiber.type);\n case 16:\n return describeBuiltInComponentFrame(\"Lazy\");\n case 13:\n return fiber.child !== childFiber && null !== childFiber\n ? describeBuiltInComponentFrame(\"Suspense Fallback\")\n : describeBuiltInComponentFrame(\"Suspense\");\n case 19:\n return describeBuiltInComponentFrame(\"SuspenseList\");\n case 0:\n case 15:\n return describeNativeComponentFrame(fiber.type, !1);\n case 11:\n return describeNativeComponentFrame(fiber.type.render, !1);\n case 1:\n return describeNativeComponentFrame(fiber.type, !0);\n case 31:\n return describeBuiltInComponentFrame(\"Activity\");\n case 30:\n return describeBuiltInComponentFrame(\"ViewTransition\");\n default:\n return \"\";\n }\n }\n function getStackByFiberInDevAndProd(workInProgress) {\n try {\n var info = \"\",\n previous = null;\n do {\n info += describeFiber(workInProgress, previous);\n var debugInfo = workInProgress._debugInfo;\n if (debugInfo)\n for (var i = debugInfo.length - 1; 0 <= i; i--) {\n var entry = debugInfo[i];\n if (\"string\" === typeof entry.name) {\n var JSCompiler_temp_const = info;\n a: {\n var name = entry.name,\n env = entry.env,\n location = entry.debugLocation;\n if (null != location) {\n var childStack = formatOwnerStack(location),\n idx = childStack.lastIndexOf(\"\\n\"),\n lastLine =\n -1 === idx ? childStack : childStack.slice(idx + 1);\n if (-1 !== lastLine.indexOf(name)) {\n var JSCompiler_inline_result = \"\\n\" + lastLine;\n break a;\n }\n }\n JSCompiler_inline_result = describeBuiltInComponentFrame(\n name + (env ? \" [\" + env + \"]\" : \"\")\n );\n }\n info = JSCompiler_temp_const + JSCompiler_inline_result;\n }\n }\n previous = workInProgress;\n workInProgress = workInProgress.return;\n } while (workInProgress);\n return info;\n } catch (x) {\n return \"\\nError generating stack: \" + x.message + \"\\n\" + x.stack;\n }\n }\n function describeFunctionComponentFrameWithoutLineNumber(fn) {\n return (fn = fn ? fn.displayName || fn.name : \"\")\n ? describeBuiltInComponentFrame(fn)\n : \"\";\n }\n function getCurrentFiberOwnerNameInDevOrNull() {\n if (null === current) return null;\n var owner = current._debugOwner;\n return null != owner ? getComponentNameFromOwner(owner) : null;\n }\n function getCurrentFiberStackInDev() {\n if (null === current) return \"\";\n var workInProgress = current;\n try {\n var info = \"\";\n 6 === workInProgress.tag && (workInProgress = workInProgress.return);\n switch (workInProgress.tag) {\n case 26:\n case 27:\n case 5:\n info += describeBuiltInComponentFrame(workInProgress.type);\n break;\n case 13:\n info += describeBuiltInComponentFrame(\"Suspense\");\n break;\n case 19:\n info += describeBuiltInComponentFrame(\"SuspenseList\");\n break;\n case 31:\n info += describeBuiltInComponentFrame(\"Activity\");\n break;\n case 30:\n info += describeBuiltInComponentFrame(\"ViewTransition\");\n break;\n case 0:\n case 15:\n case 1:\n workInProgress._debugOwner ||\n \"\" !== info ||\n (info += describeFunctionComponentFrameWithoutLineNumber(\n workInProgress.type\n ));\n break;\n case 11:\n workInProgress._debugOwner ||\n \"\" !== info ||\n (info += describeFunctionComponentFrameWithoutLineNumber(\n workInProgress.type.render\n ));\n }\n for (; workInProgress; )\n if (\"number\" === typeof workInProgress.tag) {\n var fiber = workInProgress;\n workInProgress = fiber._debugOwner;\n var debugStack = fiber._debugStack;\n if (workInProgress && debugStack) {\n var formattedStack = formatOwnerStack(debugStack);\n \"\" !== formattedStack && (info += \"\\n\" + formattedStack);\n }\n } else if (null != workInProgress.debugStack) {\n var ownerStack = workInProgress.debugStack;\n (workInProgress = workInProgress.owner) &&\n ownerStack &&\n (info += \"\\n\" + formatOwnerStack(ownerStack));\n } else break;\n var JSCompiler_inline_result = info;\n } catch (x) {\n JSCompiler_inline_result =\n \"\\nError generating stack: \" + x.message + \"\\n\" + x.stack;\n }\n return JSCompiler_inline_result;\n }\n function runWithFiberInDEV(fiber, callback, arg0, arg1, arg2, arg3, arg4) {\n var previousFiber = current;\n setCurrentFiber(fiber);\n try {\n return null !== fiber && fiber._debugTask\n ? fiber._debugTask.run(\n callback.bind(null, arg0, arg1, arg2, arg3, arg4)\n )\n : callback(arg0, arg1, arg2, arg3, arg4);\n } finally {\n setCurrentFiber(previousFiber);\n }\n throw Error(\n \"runWithFiberInDEV should never be called in production. This is a bug in React.\"\n );\n }\n function setCurrentFiber(fiber) {\n ReactSharedInternals.getCurrentStack =\n null === fiber ? null : getCurrentFiberStackInDev;\n isRendering = !1;\n current = fiber;\n }\n function typeName(value) {\n return (\n (\"function\" === typeof Symbol &&\n Symbol.toStringTag &&\n value[Symbol.toStringTag]) ||\n value.constructor.name ||\n \"Object\"\n );\n }\n function willCoercionThrow(value) {\n try {\n return testStringCoercion(value), !1;\n } catch (e) {\n return !0;\n }\n }\n function testStringCoercion(value) {\n return \"\" + value;\n }\n function checkAttributeStringCoercion(value, attributeName) {\n if (willCoercionThrow(value))\n return (\n console.error(\n \"The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.\",\n attributeName,\n typeName(value)\n ),\n testStringCoercion(value)\n );\n }\n function checkCSSPropertyStringCoercion(value, propName) {\n if (willCoercionThrow(value))\n return (\n console.error(\n \"The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.\",\n propName,\n typeName(value)\n ),\n testStringCoercion(value)\n );\n }\n function checkFormFieldValueStringCoercion(value) {\n if (willCoercionThrow(value))\n return (\n console.error(\n \"Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.\",\n typeName(value)\n ),\n testStringCoercion(value)\n );\n }\n function injectInternals(internals) {\n if (\"undefined\" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) return !1;\n var hook = __REACT_DEVTOOLS_GLOBAL_HOOK__;\n if (hook.isDisabled) return !0;\n if (!hook.supportsFiber)\n return (\n console.error(\n \"The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools\"\n ),\n !0\n );\n try {\n (rendererID = hook.inject(internals)), (injectedHook = hook);\n } catch (err) {\n console.error(\"React instrumentation encountered an error: %o.\", err);\n }\n return hook.checkDCE ? !0 : !1;\n }\n function setIsStrictModeForDevtools(newIsStrictMode) {\n \"function\" === typeof log$1 &&\n unstable_setDisableYieldValue(newIsStrictMode);\n if (injectedHook && \"function\" === typeof injectedHook.setStrictMode)\n try {\n injectedHook.setStrictMode(rendererID, newIsStrictMode);\n } catch (err) {\n hasLoggedError ||\n ((hasLoggedError = !0),\n console.error(\n \"React instrumentation encountered an error: %o\",\n err\n ));\n }\n }\n function clz32Fallback(x) {\n x >>>= 0;\n return 0 === x ? 32 : (31 - ((log(x) / LN2) | 0)) | 0;\n }\n function getHighestPriorityLanes(lanes) {\n var pendingSyncLanes = lanes & 42;\n if (0 !== pendingSyncLanes) return pendingSyncLanes;\n switch (lanes & -lanes) {\n case 1:\n return 1;\n case 2:\n return 2;\n case 4:\n return 4;\n case 8:\n return 8;\n case 16:\n return 16;\n case 32:\n return 32;\n case 64:\n return 64;\n case 128:\n return 128;\n case 256:\n case 512:\n case 1024:\n case 2048:\n case 4096:\n case 8192:\n case 16384:\n case 32768:\n case 65536:\n case 131072:\n return lanes & 261888;\n case 262144:\n case 524288:\n case 1048576:\n case 2097152:\n return lanes & 3932160;\n case 4194304:\n case 8388608:\n case 16777216:\n case 33554432:\n return lanes & 62914560;\n case 67108864:\n return 67108864;\n case 134217728:\n return 134217728;\n case 268435456:\n return 268435456;\n case 536870912:\n return 536870912;\n case 1073741824:\n return 0;\n default:\n return (\n console.error(\n \"Should have found matching lanes. This is a bug in React.\"\n ),\n lanes\n );\n }\n }\n function getNextLanes(root, wipLanes, rootHasPendingCommit) {\n var pendingLanes = root.pendingLanes;\n if (0 === pendingLanes) return 0;\n var nextLanes = 0,\n suspendedLanes = root.suspendedLanes,\n pingedLanes = root.pingedLanes;\n root = root.warmLanes;\n var nonIdlePendingLanes = pendingLanes & 134217727;\n 0 !== nonIdlePendingLanes\n ? ((pendingLanes = nonIdlePendingLanes & ~suspendedLanes),\n 0 !== pendingLanes\n ? (nextLanes = getHighestPriorityLanes(pendingLanes))\n : ((pingedLanes &= nonIdlePendingLanes),\n 0 !== pingedLanes\n ? (nextLanes = getHighestPriorityLanes(pingedLanes))\n : rootHasPendingCommit ||\n ((rootHasPendingCommit = nonIdlePendingLanes & ~root),\n 0 !== rootHasPendingCommit &&\n (nextLanes =\n getHighestPriorityLanes(rootHasPendingCommit)))))\n : ((nonIdlePendingLanes = pendingLanes & ~suspendedLanes),\n 0 !== nonIdlePendingLanes\n ? (nextLanes = getHighestPriorityLanes(nonIdlePendingLanes))\n : 0 !== pingedLanes\n ? (nextLanes = getHighestPriorityLanes(pingedLanes))\n : rootHasPendingCommit ||\n ((rootHasPendingCommit = pendingLanes & ~root),\n 0 !== rootHasPendingCommit &&\n (nextLanes = getHighestPriorityLanes(rootHasPendingCommit))));\n return 0 === nextLanes\n ? 0\n : 0 !== wipLanes &&\n wipLanes !== nextLanes &&\n 0 === (wipLanes & suspendedLanes) &&\n ((suspendedLanes = nextLanes & -nextLanes),\n (rootHasPendingCommit = wipLanes & -wipLanes),\n suspendedLanes >= rootHasPendingCommit ||\n (32 === suspendedLanes && 0 !== (rootHasPendingCommit & 4194048)))\n ? wipLanes\n : nextLanes;\n }\n function checkIfRootIsPrerendering(root, renderLanes) {\n return (\n 0 ===\n (root.pendingLanes &\n ~(root.suspendedLanes & ~root.pingedLanes) &\n renderLanes)\n );\n }\n function computeExpirationTime(lane, currentTime) {\n switch (lane) {\n case 1:\n case 2:\n case 4:\n case 8:\n case 64:\n return currentTime + 250;\n case 16:\n case 32:\n case 128:\n case 256:\n case 512:\n case 1024:\n case 2048:\n case 4096:\n case 8192:\n case 16384:\n case 32768:\n case 65536:\n case 131072:\n case 262144:\n case 524288:\n case 1048576:\n case 2097152:\n return currentTime + 5e3;\n case 4194304:\n case 8388608:\n case 16777216:\n case 33554432:\n return -1;\n case 67108864:\n case 134217728:\n case 268435456:\n case 536870912:\n case 1073741824:\n return -1;\n default:\n return (\n console.error(\n \"Should have found matching lanes. This is a bug in React.\"\n ),\n -1\n );\n }\n }\n function claimNextRetryLane() {\n var lane = nextRetryLane;\n nextRetryLane <<= 1;\n 0 === (nextRetryLane & 62914560) && (nextRetryLane = 4194304);\n return lane;\n }\n function createLaneMap(initial) {\n for (var laneMap = [], i = 0; 31 > i; i++) laneMap.push(initial);\n return laneMap;\n }\n function markRootUpdated$1(root, updateLane) {\n root.pendingLanes |= updateLane;\n 268435456 !== updateLane &&\n ((root.suspendedLanes = 0),\n (root.pingedLanes = 0),\n (root.warmLanes = 0));\n }\n function markRootFinished(\n root,\n finishedLanes,\n remainingLanes,\n spawnedLane,\n updatedLanes,\n suspendedRetryLanes\n ) {\n var previouslyPendingLanes = root.pendingLanes;\n root.pendingLanes = remainingLanes;\n root.suspendedLanes = 0;\n root.pingedLanes = 0;\n root.warmLanes = 0;\n root.expiredLanes &= remainingLanes;\n root.entangledLanes &= remainingLanes;\n root.errorRecoveryDisabledLanes &= remainingLanes;\n root.shellSuspendCounter = 0;\n var entanglements = root.entanglements,\n expirationTimes = root.expirationTimes,\n hiddenUpdates = root.hiddenUpdates;\n for (\n remainingLanes = previouslyPendingLanes & ~remainingLanes;\n 0 < remainingLanes;\n\n ) {\n var index = 31 - clz32(remainingLanes),\n lane = 1 << index;\n entanglements[index] = 0;\n expirationTimes[index] = -1;\n var hiddenUpdatesForLane = hiddenUpdates[index];\n if (null !== hiddenUpdatesForLane)\n for (\n hiddenUpdates[index] = null, index = 0;\n index < hiddenUpdatesForLane.length;\n index++\n ) {\n var update = hiddenUpdatesForLane[index];\n null !== update && (update.lane &= -536870913);\n }\n remainingLanes &= ~lane;\n }\n 0 !== spawnedLane && markSpawnedDeferredLane(root, spawnedLane, 0);\n 0 !== suspendedRetryLanes &&\n 0 === updatedLanes &&\n 0 !== root.tag &&\n (root.suspendedLanes |=\n suspendedRetryLanes & ~(previouslyPendingLanes & ~finishedLanes));\n }\n function markSpawnedDeferredLane(root, spawnedLane, entangledLanes) {\n root.pendingLanes |= spawnedLane;\n root.suspendedLanes &= ~spawnedLane;\n var spawnedLaneIndex = 31 - clz32(spawnedLane);\n root.entangledLanes |= spawnedLane;\n root.entanglements[spawnedLaneIndex] =\n root.entanglements[spawnedLaneIndex] |\n 1073741824 |\n (entangledLanes & 261930);\n }\n function markRootEntangled(root, entangledLanes) {\n var rootEntangledLanes = (root.entangledLanes |= entangledLanes);\n for (root = root.entanglements; rootEntangledLanes; ) {\n var index = 31 - clz32(rootEntangledLanes),\n lane = 1 << index;\n (lane & entangledLanes) | (root[index] & entangledLanes) &&\n (root[index] |= entangledLanes);\n rootEntangledLanes &= ~lane;\n }\n }\n function getBumpedLaneForHydration(root, renderLanes) {\n var renderLane = renderLanes & -renderLanes;\n renderLane =\n 0 !== (renderLane & 42)\n ? 1\n : getBumpedLaneForHydrationByLane(renderLane);\n return 0 !== (renderLane & (root.suspendedLanes | renderLanes))\n ? 0\n : renderLane;\n }\n function getBumpedLaneForHydrationByLane(lane) {\n switch (lane) {\n case 2:\n lane = 1;\n break;\n case 8:\n lane = 4;\n break;\n case 32:\n lane = 16;\n break;\n case 256:\n case 512:\n case 1024:\n case 2048:\n case 4096:\n case 8192:\n case 16384:\n case 32768:\n case 65536:\n case 131072:\n case 262144:\n case 524288:\n case 1048576:\n case 2097152:\n case 4194304:\n case 8388608:\n case 16777216:\n case 33554432:\n lane = 128;\n break;\n case 268435456:\n lane = 134217728;\n break;\n default:\n lane = 0;\n }\n return lane;\n }\n function addFiberToLanesMap(root, fiber, lanes) {\n if (isDevToolsPresent)\n for (root = root.pendingUpdatersLaneMap; 0 < lanes; ) {\n var index = 31 - clz32(lanes),\n lane = 1 << index;\n root[index].add(fiber);\n lanes &= ~lane;\n }\n }\n function movePendingFibersToMemoized(root, lanes) {\n if (isDevToolsPresent)\n for (\n var pendingUpdatersLaneMap = root.pendingUpdatersLaneMap,\n memoizedUpdaters = root.memoizedUpdaters;\n 0 < lanes;\n\n ) {\n var index = 31 - clz32(lanes);\n root = 1 << index;\n index = pendingUpdatersLaneMap[index];\n 0 < index.size &&\n (index.forEach(function (fiber) {\n var alternate = fiber.alternate;\n (null !== alternate && memoizedUpdaters.has(alternate)) ||\n memoizedUpdaters.add(fiber);\n }),\n index.clear());\n lanes &= ~root;\n }\n }\n function lanesToEventPriority(lanes) {\n lanes &= -lanes;\n return 0 !== DiscreteEventPriority && DiscreteEventPriority < lanes\n ? 0 !== ContinuousEventPriority && ContinuousEventPriority < lanes\n ? 0 !== (lanes & 134217727)\n ? DefaultEventPriority\n : IdleEventPriority\n : ContinuousEventPriority\n : DiscreteEventPriority;\n }\n function resolveUpdatePriority() {\n var updatePriority = ReactDOMSharedInternals.p;\n if (0 !== updatePriority) return updatePriority;\n updatePriority = window.event;\n return void 0 === updatePriority\n ? DefaultEventPriority\n : getEventPriority(updatePriority.type);\n }\n function runWithPriority(priority, fn) {\n var previousPriority = ReactDOMSharedInternals.p;\n try {\n return (ReactDOMSharedInternals.p = priority), fn();\n } finally {\n ReactDOMSharedInternals.p = previousPriority;\n }\n }\n function detachDeletedInstance(node) {\n delete node[internalInstanceKey];\n delete node[internalPropsKey];\n delete node[internalEventHandlersKey];\n delete node[internalEventHandlerListenersKey];\n delete node[internalEventHandlesSetKey];\n }\n function getClosestInstanceFromNode(targetNode) {\n var targetInst;\n if ((targetInst = targetNode[internalInstanceKey])) return targetInst;\n for (var parentNode = targetNode.parentNode; parentNode; ) {\n if (\n (targetInst =\n parentNode[internalContainerInstanceKey] ||\n parentNode[internalInstanceKey])\n ) {\n parentNode = targetInst.alternate;\n if (\n null !== targetInst.child ||\n (null !== parentNode && null !== parentNode.child)\n )\n for (\n targetNode = getParentHydrationBoundary(targetNode);\n null !== targetNode;\n\n ) {\n if ((parentNode = targetNode[internalInstanceKey]))\n return parentNode;\n targetNode = getParentHydrationBoundary(targetNode);\n }\n return targetInst;\n }\n targetNode = parentNode;\n parentNode = targetNode.parentNode;\n }\n return null;\n }\n function getInstanceFromNode(node) {\n if (\n (node = node[internalInstanceKey] || node[internalContainerInstanceKey])\n ) {\n var tag = node.tag;\n if (\n 5 === tag ||\n 6 === tag ||\n 13 === tag ||\n 31 === tag ||\n 26 === tag ||\n 27 === tag ||\n 3 === tag\n )\n return node;\n }\n return null;\n }\n function getNodeFromInstance(inst) {\n var tag = inst.tag;\n if (5 === tag || 26 === tag || 27 === tag || 6 === tag)\n return inst.stateNode;\n throw Error(\"getNodeFromInstance: Invalid argument.\");\n }\n function getResourcesFromRoot(root) {\n var resources = root[internalRootNodeResourcesKey];\n resources ||\n (resources = root[internalRootNodeResourcesKey] =\n { hoistableStyles: new Map(), hoistableScripts: new Map() });\n return resources;\n }\n function markNodeAsHoistable(node) {\n node[internalHoistableMarker] = !0;\n }\n function registerTwoPhaseEvent(registrationName, dependencies) {\n registerDirectEvent(registrationName, dependencies);\n registerDirectEvent(registrationName + \"Capture\", dependencies);\n }\n function registerDirectEvent(registrationName, dependencies) {\n registrationNameDependencies[registrationName] &&\n console.error(\n \"EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.\",\n registrationName\n );\n registrationNameDependencies[registrationName] = dependencies;\n var lowerCasedName = registrationName.toLowerCase();\n possibleRegistrationNames[lowerCasedName] = registrationName;\n \"onDoubleClick\" === registrationName &&\n (possibleRegistrationNames.ondblclick = registrationName);\n for (\n registrationName = 0;\n registrationName < dependencies.length;\n registrationName++\n )\n allNativeEvents.add(dependencies[registrationName]);\n }\n function checkControlledValueProps(tagName, props) {\n hasReadOnlyValue[props.type] ||\n props.onChange ||\n props.onInput ||\n props.readOnly ||\n props.disabled ||\n null == props.value ||\n (\"select\" === tagName\n ? console.error(\n \"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`.\"\n )\n : console.error(\n \"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.\"\n ));\n props.onChange ||\n props.readOnly ||\n props.disabled ||\n null == props.checked ||\n console.error(\n \"You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.\"\n );\n }\n function isAttributeNameSafe(attributeName) {\n if (hasOwnProperty.call(validatedAttributeNameCache, attributeName))\n return !0;\n if (hasOwnProperty.call(illegalAttributeNameCache, attributeName))\n return !1;\n if (VALID_ATTRIBUTE_NAME_REGEX.test(attributeName))\n return (validatedAttributeNameCache[attributeName] = !0);\n illegalAttributeNameCache[attributeName] = !0;\n console.error(\"Invalid attribute name: `%s`\", attributeName);\n return !1;\n }\n function pushMutationContext() {\n var prev = viewTransitionMutationContext;\n viewTransitionMutationContext = !1;\n return prev;\n }\n function getValueForAttributeOnCustomComponent(node, name, expected) {\n if (isAttributeNameSafe(name)) {\n if (!node.hasAttribute(name)) {\n switch (typeof expected) {\n case \"symbol\":\n case \"object\":\n return expected;\n case \"function\":\n return expected;\n case \"boolean\":\n if (!1 === expected) return expected;\n }\n return void 0 === expected ? void 0 : null;\n }\n node = node.getAttribute(name);\n if (\"\" === node && !0 === expected) return !0;\n checkAttributeStringCoercion(expected, name);\n return node === \"\" + expected ? expected : node;\n }\n }\n function setValueForAttribute(node, name, value) {\n if (isAttributeNameSafe(name))\n if (null === value) node.removeAttribute(name);\n else {\n switch (typeof value) {\n case \"undefined\":\n case \"function\":\n case \"symbol\":\n node.removeAttribute(name);\n return;\n case \"boolean\":\n var prefix = name.toLowerCase().slice(0, 5);\n if (\"data-\" !== prefix && \"aria-\" !== prefix) {\n node.removeAttribute(name);\n return;\n }\n }\n checkAttributeStringCoercion(value, name);\n node.setAttribute(name, \"\" + value);\n }\n }\n function setValueForKnownAttribute(node, name, value) {\n if (null === value) node.removeAttribute(name);\n else {\n switch (typeof value) {\n case \"undefined\":\n case \"function\":\n case \"symbol\":\n case \"boolean\":\n node.removeAttribute(name);\n return;\n }\n checkAttributeStringCoercion(value, name);\n node.setAttribute(name, \"\" + value);\n }\n }\n function setValueForNamespacedAttribute(node, namespace, name, value) {\n if (null === value) node.removeAttribute(name);\n else {\n switch (typeof value) {\n case \"undefined\":\n case \"function\":\n case \"symbol\":\n case \"boolean\":\n node.removeAttribute(name);\n return;\n }\n checkAttributeStringCoercion(value, name);\n node.setAttributeNS(namespace, name, \"\" + value);\n }\n }\n function getToStringValue(value) {\n switch (typeof value) {\n case \"bigint\":\n case \"boolean\":\n case \"number\":\n case \"string\":\n case \"undefined\":\n return value;\n case \"object\":\n return checkFormFieldValueStringCoercion(value), value;\n default:\n return \"\";\n }\n }\n function isCheckable(elem) {\n var type = elem.type;\n return (\n (elem = elem.nodeName) &&\n \"input\" === elem.toLowerCase() &&\n (\"checkbox\" === type || \"radio\" === type)\n );\n }\n function trackValueOnNode(node, valueField, currentValue) {\n var descriptor = Object.getOwnPropertyDescriptor(\n node.constructor.prototype,\n valueField\n );\n if (\n !node.hasOwnProperty(valueField) &&\n \"undefined\" !== typeof descriptor &&\n \"function\" === typeof descriptor.get &&\n \"function\" === typeof descriptor.set\n ) {\n var get = descriptor.get,\n set = descriptor.set;\n Object.defineProperty(node, valueField, {\n configurable: !0,\n get: function () {\n return get.call(this);\n },\n set: function (value) {\n checkFormFieldValueStringCoercion(value);\n currentValue = \"\" + value;\n set.call(this, value);\n }\n });\n Object.defineProperty(node, valueField, {\n enumerable: descriptor.enumerable\n });\n return {\n getValue: function () {\n return currentValue;\n },\n setValue: function (value) {\n checkFormFieldValueStringCoercion(value);\n currentValue = \"\" + value;\n },\n stopTracking: function () {\n node._valueTracker = null;\n delete node[valueField];\n }\n };\n }\n }\n function track(node) {\n if (!node._valueTracker) {\n var valueField = isCheckable(node) ? \"checked\" : \"value\";\n node._valueTracker = trackValueOnNode(\n node,\n valueField,\n \"\" + node[valueField]\n );\n }\n }\n function updateValueIfChanged(node) {\n if (!node) return !1;\n var tracker = node._valueTracker;\n if (!tracker) return !0;\n var lastValue = tracker.getValue();\n var value = \"\";\n node &&\n (value = isCheckable(node)\n ? node.checked\n ? \"true\"\n : \"false\"\n : node.value);\n node = value;\n return node !== lastValue ? (tracker.setValue(node), !0) : !1;\n }\n function getActiveElement(doc) {\n doc = doc || (\"undefined\" !== typeof document ? document : void 0);\n if (\"undefined\" === typeof doc) return null;\n try {\n return doc.activeElement || doc.body;\n } catch (e) {\n return doc.body;\n }\n }\n function escapeSelectorAttributeValueInsideDoubleQuotes(value) {\n return value.replace(\n escapeSelectorAttributeValueInsideDoubleQuotesRegex,\n function (ch) {\n return \"\\\\\" + ch.charCodeAt(0).toString(16) + \" \";\n }\n );\n }\n function validateInputProps(element, props) {\n void 0 === props.checked ||\n void 0 === props.defaultChecked ||\n didWarnCheckedDefaultChecked ||\n (console.error(\n \"%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components\",\n getCurrentFiberOwnerNameInDevOrNull() || \"A component\",\n props.type\n ),\n (didWarnCheckedDefaultChecked = !0));\n void 0 === props.value ||\n void 0 === props.defaultValue ||\n didWarnValueDefaultValue$1 ||\n (console.error(\n \"%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components\",\n getCurrentFiberOwnerNameInDevOrNull() || \"A component\",\n props.type\n ),\n (didWarnValueDefaultValue$1 = !0));\n }\n function updateInput(\n element,\n value,\n defaultValue,\n lastDefaultValue,\n checked,\n defaultChecked,\n type,\n name\n ) {\n element.name = \"\";\n null != type &&\n \"function\" !== typeof type &&\n \"symbol\" !== typeof type &&\n \"boolean\" !== typeof type\n ? (checkAttributeStringCoercion(type, \"type\"), (element.type = type))\n : element.removeAttribute(\"type\");\n if (null != value)\n if (\"number\" === type) {\n if ((0 === value && \"\" === element.value) || element.value != value)\n element.value = \"\" + getToStringValue(value);\n } else\n element.value !== \"\" + getToStringValue(value) &&\n (element.value = \"\" + getToStringValue(value));\n else\n (\"submit\" !== type && \"reset\" !== type) ||\n element.removeAttribute(\"value\");\n null != value\n ? setDefaultValue(element, type, getToStringValue(value))\n : null != defaultValue\n ? setDefaultValue(element, type, getToStringValue(defaultValue))\n : null != lastDefaultValue && element.removeAttribute(\"value\");\n null == checked &&\n null != defaultChecked &&\n (element.defaultChecked = !!defaultChecked);\n null != checked &&\n (element.checked =\n checked &&\n \"function\" !== typeof checked &&\n \"symbol\" !== typeof checked);\n null != name &&\n \"function\" !== typeof name &&\n \"symbol\" !== typeof name &&\n \"boolean\" !== typeof name\n ? (checkAttributeStringCoercion(name, \"name\"),\n (element.name = \"\" + getToStringValue(name)))\n : element.removeAttribute(\"name\");\n }\n function initInput(\n element,\n value,\n defaultValue,\n checked,\n defaultChecked,\n type,\n name,\n isHydrating\n ) {\n null != type &&\n \"function\" !== typeof type &&\n \"symbol\" !== typeof type &&\n \"boolean\" !== typeof type &&\n (checkAttributeStringCoercion(type, \"type\"), (element.type = type));\n if (null != value || null != defaultValue) {\n if (\n !(\n (\"submit\" !== type && \"reset\" !== type) ||\n (void 0 !== value && null !== value)\n )\n ) {\n track(element);\n return;\n }\n defaultValue =\n null != defaultValue ? \"\" + getToStringValue(defaultValue) : \"\";\n value = null != value ? \"\" + getToStringValue(value) : defaultValue;\n isHydrating || value === element.value || (element.value = value);\n element.defaultValue = value;\n }\n checked = null != checked ? checked : defaultChecked;\n checked =\n \"function\" !== typeof checked &&\n \"symbol\" !== typeof checked &&\n !!checked;\n element.checked = isHydrating ? element.checked : !!checked;\n element.defaultChecked = !!checked;\n null != name &&\n \"function\" !== typeof name &&\n \"symbol\" !== typeof name &&\n \"boolean\" !== typeof name &&\n (checkAttributeStringCoercion(name, \"name\"), (element.name = name));\n track(element);\n }\n function setDefaultValue(node, type, value) {\n (\"number\" === type && getActiveElement(node.ownerDocument) === node) ||\n node.defaultValue === \"\" + value ||\n (node.defaultValue = \"\" + value);\n }\n function validateOptionProps(element, props) {\n null == props.value &&\n (\"object\" === typeof props.children && null !== props.children\n ? React.Children.forEach(props.children, function (child) {\n null == child ||\n \"string\" === typeof child ||\n \"number\" === typeof child ||\n \"bigint\" === typeof child ||\n didWarnInvalidChild ||\n ((didWarnInvalidChild = !0),\n console.error(\n \"Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.\"\n ));\n })\n : null == props.dangerouslySetInnerHTML ||\n didWarnInvalidInnerHTML ||\n ((didWarnInvalidInnerHTML = !0),\n console.error(\n \"Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.\"\n )));\n null == props.selected ||\n didWarnSelectedSetOnOption ||\n (console.error(\n \"Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>.\"\n ),\n (didWarnSelectedSetOnOption = !0));\n }\n function getDeclarationErrorAddendum() {\n var ownerName = getCurrentFiberOwnerNameInDevOrNull();\n return ownerName\n ? \"\\n\\nCheck the render method of `\" + ownerName + \"`.\"\n : \"\";\n }\n function updateOptions(node, multiple, propValue, setDefaultSelected) {\n node = node.options;\n if (multiple) {\n multiple = {};\n for (var i = 0; i < propValue.length; i++)\n multiple[\"$\" + propValue[i]] = !0;\n for (propValue = 0; propValue < node.length; propValue++)\n (i = multiple.hasOwnProperty(\"$\" + node[propValue].value)),\n node[propValue].selected !== i && (node[propValue].selected = i),\n i && setDefaultSelected && (node[propValue].defaultSelected = !0);\n } else {\n propValue = \"\" + getToStringValue(propValue);\n multiple = null;\n for (i = 0; i < node.length; i++) {\n if (node[i].value === propValue) {\n node[i].selected = !0;\n setDefaultSelected && (node[i].defaultSelected = !0);\n return;\n }\n null !== multiple || node[i].disabled || (multiple = node[i]);\n }\n null !== multiple && (multiple.selected = !0);\n }\n }\n function validateSelectProps(element, props) {\n for (element = 0; element < valuePropNames.length; element++) {\n var propName = valuePropNames[element];\n if (null != props[propName]) {\n var propNameIsArray = isArrayImpl(props[propName]);\n props.multiple && !propNameIsArray\n ? console.error(\n \"The `%s` prop supplied to <select> must be an array if `multiple` is true.%s\",\n propName,\n getDeclarationErrorAddendum()\n )\n : !props.multiple &&\n propNameIsArray &&\n console.error(\n \"The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s\",\n propName,\n getDeclarationErrorAddendum()\n );\n }\n }\n void 0 === props.value ||\n void 0 === props.defaultValue ||\n didWarnValueDefaultValue ||\n (console.error(\n \"Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://react.dev/link/controlled-components\"\n ),\n (didWarnValueDefaultValue = !0));\n }\n function validateTextareaProps(element, props) {\n void 0 === props.value ||\n void 0 === props.defaultValue ||\n didWarnValDefaultVal ||\n (console.error(\n \"%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components\",\n getCurrentFiberOwnerNameInDevOrNull() || \"A component\"\n ),\n (didWarnValDefaultVal = !0));\n null != props.children &&\n null == props.value &&\n console.error(\n \"Use the `defaultValue` or `value` props instead of setting children on <textarea>.\"\n );\n }\n function updateTextarea(element, value, defaultValue) {\n if (\n null != value &&\n ((value = \"\" + getToStringValue(value)),\n value !== element.value && (element.value = value),\n null == defaultValue)\n ) {\n element.defaultValue !== value && (element.defaultValue = value);\n return;\n }\n element.defaultValue =\n null != defaultValue ? \"\" + getToStringValue(defaultValue) : \"\";\n }\n function initTextarea(element, value, defaultValue, children) {\n if (null == value) {\n if (null != children) {\n if (null != defaultValue)\n throw Error(\n \"If you supply `defaultValue` on a <textarea>, do not pass children.\"\n );\n if (isArrayImpl(children)) {\n if (1 < children.length)\n throw Error(\"<textarea> can only have at most one child.\");\n children = children[0];\n }\n defaultValue = children;\n }\n null == defaultValue && (defaultValue = \"\");\n value = defaultValue;\n }\n defaultValue = getToStringValue(value);\n element.defaultValue = defaultValue;\n children = element.textContent;\n children === defaultValue &&\n \"\" !== children &&\n null !== children &&\n (element.value = children);\n track(element);\n }\n function findNotableNode(node, indent) {\n return void 0 === node.serverProps &&\n 0 === node.serverTail.length &&\n 1 === node.children.length &&\n 3 < node.distanceFromLeaf &&\n node.distanceFromLeaf > 15 - indent\n ? findNotableNode(node.children[0], indent)\n : node;\n }\n function indentation(indent) {\n return \" \" + \" \".repeat(indent);\n }\n function added(indent) {\n return \"+ \" + \" \".repeat(indent);\n }\n function removed(indent) {\n return \"- \" + \" \".repeat(indent);\n }\n function describeFiberType(fiber) {\n switch (fiber.tag) {\n case 26:\n case 27:\n case 5:\n return fiber.type;\n case 16:\n return \"Lazy\";\n case 31:\n return \"Activity\";\n case 13:\n return \"Suspense\";\n case 19:\n return \"SuspenseList\";\n case 0:\n case 15:\n return (fiber = fiber.type), fiber.displayName || fiber.name || null;\n case 11:\n return (\n (fiber = fiber.type.render), fiber.displayName || fiber.name || null\n );\n case 1:\n return (fiber = fiber.type), fiber.displayName || fiber.name || null;\n default:\n return null;\n }\n }\n function describeTextNode(content, maxLength) {\n return needsEscaping.test(content)\n ? ((content = JSON.stringify(content)),\n content.length > maxLength - 2\n ? 8 > maxLength\n ? '{\"...\"}'\n : \"{\" + content.slice(0, maxLength - 7) + '...\"}'\n : \"{\" + content + \"}\")\n : content.length > maxLength\n ? 5 > maxLength\n ? '{\"...\"}'\n : content.slice(0, maxLength - 3) + \"...\"\n : content;\n }\n function describeTextDiff(clientText, serverProps, indent) {\n var maxLength = 120 - 2 * indent;\n if (null === serverProps)\n return added(indent) + describeTextNode(clientText, maxLength) + \"\\n\";\n if (\"string\" === typeof serverProps) {\n for (\n var firstDiff = 0;\n firstDiff < serverProps.length &&\n firstDiff < clientText.length &&\n serverProps.charCodeAt(firstDiff) ===\n clientText.charCodeAt(firstDiff);\n firstDiff++\n );\n firstDiff > maxLength - 8 &&\n 10 < firstDiff &&\n ((clientText = \"...\" + clientText.slice(firstDiff - 8)),\n (serverProps = \"...\" + serverProps.slice(firstDiff - 8)));\n return (\n added(indent) +\n describeTextNode(clientText, maxLength) +\n \"\\n\" +\n removed(indent) +\n describeTextNode(serverProps, maxLength) +\n \"\\n\"\n );\n }\n return (\n indentation(indent) + describeTextNode(clientText, maxLength) + \"\\n\"\n );\n }\n function objectName(object) {\n return Object.prototype.toString\n .call(object)\n .replace(/^\\[object (.*)\\]$/, function (m, p0) {\n return p0;\n });\n }\n function describeValue(value, maxLength) {\n switch (typeof value) {\n case \"string\":\n return (\n (value = JSON.stringify(value)),\n value.length > maxLength\n ? 5 > maxLength\n ? '\"...\"'\n : value.slice(0, maxLength - 4) + '...\"'\n : value\n );\n case \"object\":\n if (null === value) return \"null\";\n if (isArrayImpl(value)) return \"[...]\";\n if (value.$$typeof === REACT_ELEMENT_TYPE)\n return (maxLength = getComponentNameFromType(value.type))\n ? \"<\" + maxLength + \">\"\n : \"<...>\";\n var name = objectName(value);\n if (\"Object\" === name) {\n name = \"\";\n maxLength -= 2;\n for (var propName in value)\n if (value.hasOwnProperty(propName)) {\n var jsonPropName = JSON.stringify(propName);\n jsonPropName !== '\"' + propName + '\"' &&\n (propName = jsonPropName);\n maxLength -= propName.length - 2;\n jsonPropName = describeValue(\n value[propName],\n 15 > maxLength ? maxLength : 15\n );\n maxLength -= jsonPropName.length;\n if (0 > maxLength) {\n name += \"\" === name ? \"...\" : \", ...\";\n break;\n }\n name +=\n (\"\" === name ? \"\" : \",\") + propName + \":\" + jsonPropName;\n }\n return \"{\" + name + \"}\";\n }\n return name;\n case \"function\":\n return (maxLength = value.displayName || value.name)\n ? \"function \" + maxLength\n : \"function\";\n default:\n return String(value);\n }\n }\n function describePropValue(value, maxLength) {\n return \"string\" !== typeof value || needsEscaping.test(value)\n ? \"{\" + describeValue(value, maxLength - 2) + \"}\"\n : value.length > maxLength - 2\n ? 5 > maxLength\n ? '\"...\"'\n : '\"' + value.slice(0, maxLength - 5) + '...\"'\n : '\"' + value + '\"';\n }\n function describeExpandedElement(type, props, rowPrefix) {\n var remainingRowLength = 120 - rowPrefix.length - type.length,\n properties = [],\n propName;\n for (propName in props)\n if (props.hasOwnProperty(propName) && \"children\" !== propName) {\n var propValue = describePropValue(\n props[propName],\n 120 - rowPrefix.length - propName.length - 1\n );\n remainingRowLength -= propName.length + propValue.length + 2;\n properties.push(propName + \"=\" + propValue);\n }\n return 0 === properties.length\n ? rowPrefix + \"<\" + type + \">\\n\"\n : 0 < remainingRowLength\n ? rowPrefix + \"<\" + type + \" \" + properties.join(\" \") + \">\\n\"\n : rowPrefix +\n \"<\" +\n type +\n \"\\n\" +\n rowPrefix +\n \" \" +\n properties.join(\"\\n\" + rowPrefix + \" \") +\n \"\\n\" +\n rowPrefix +\n \">\\n\";\n }\n function describePropertiesDiff(clientObject, serverObject, indent) {\n var properties = \"\",\n remainingServerProperties = assign({}, serverObject),\n propName;\n for (propName in clientObject)\n if (clientObject.hasOwnProperty(propName)) {\n delete remainingServerProperties[propName];\n var maxLength = 120 - 2 * indent - propName.length - 2,\n clientPropValue = describeValue(clientObject[propName], maxLength);\n serverObject.hasOwnProperty(propName)\n ? ((maxLength = describeValue(serverObject[propName], maxLength)),\n (properties +=\n added(indent) + propName + \": \" + clientPropValue + \"\\n\"),\n (properties +=\n removed(indent) + propName + \": \" + maxLength + \"\\n\"))\n : (properties +=\n added(indent) + propName + \": \" + clientPropValue + \"\\n\");\n }\n for (var _propName in remainingServerProperties)\n remainingServerProperties.hasOwnProperty(_propName) &&\n ((clientObject = describeValue(\n remainingServerProperties[_propName],\n 120 - 2 * indent - _propName.length - 2\n )),\n (properties +=\n removed(indent) + _propName + \": \" + clientObject + \"\\n\"));\n return properties;\n }\n function describeElementDiff(type, clientProps, serverProps, indent) {\n var content = \"\",\n serverPropNames = new Map();\n for (propName$jscomp$0 in serverProps)\n serverProps.hasOwnProperty(propName$jscomp$0) &&\n serverPropNames.set(\n propName$jscomp$0.toLowerCase(),\n propName$jscomp$0\n );\n if (1 === serverPropNames.size && serverPropNames.has(\"children\"))\n content += describeExpandedElement(\n type,\n clientProps,\n indentation(indent)\n );\n else {\n for (var _propName2 in clientProps)\n if (\n clientProps.hasOwnProperty(_propName2) &&\n \"children\" !== _propName2\n ) {\n var maxLength$jscomp$0 =\n 120 - 2 * (indent + 1) - _propName2.length - 1,\n serverPropName = serverPropNames.get(_propName2.toLowerCase());\n if (void 0 !== serverPropName) {\n serverPropNames.delete(_propName2.toLowerCase());\n var propName$jscomp$0 = clientProps[_propName2];\n serverPropName = serverProps[serverPropName];\n var clientPropValue = describePropValue(\n propName$jscomp$0,\n maxLength$jscomp$0\n );\n maxLength$jscomp$0 = describePropValue(\n serverPropName,\n maxLength$jscomp$0\n );\n \"object\" === typeof propName$jscomp$0 &&\n null !== propName$jscomp$0 &&\n \"object\" === typeof serverPropName &&\n null !== serverPropName &&\n \"Object\" === objectName(propName$jscomp$0) &&\n \"Object\" === objectName(serverPropName) &&\n (2 < Object.keys(propName$jscomp$0).length ||\n 2 < Object.keys(serverPropName).length ||\n -1 < clientPropValue.indexOf(\"...\") ||\n -1 < maxLength$jscomp$0.indexOf(\"...\"))\n ? (content +=\n indentation(indent + 1) +\n _propName2 +\n \"={{\\n\" +\n describePropertiesDiff(\n propName$jscomp$0,\n serverPropName,\n indent + 2\n ) +\n indentation(indent + 1) +\n \"}}\\n\")\n : ((content +=\n added(indent + 1) +\n _propName2 +\n \"=\" +\n clientPropValue +\n \"\\n\"),\n (content +=\n removed(indent + 1) +\n _propName2 +\n \"=\" +\n maxLength$jscomp$0 +\n \"\\n\"));\n } else\n content +=\n indentation(indent + 1) +\n _propName2 +\n \"=\" +\n describePropValue(clientProps[_propName2], maxLength$jscomp$0) +\n \"\\n\";\n }\n serverPropNames.forEach(function (propName) {\n if (\"children\" !== propName) {\n var maxLength = 120 - 2 * (indent + 1) - propName.length - 1;\n content +=\n removed(indent + 1) +\n propName +\n \"=\" +\n describePropValue(serverProps[propName], maxLength) +\n \"\\n\";\n }\n });\n content =\n \"\" === content\n ? indentation(indent) + \"<\" + type + \">\\n\"\n : indentation(indent) +\n \"<\" +\n type +\n \"\\n\" +\n content +\n indentation(indent) +\n \">\\n\";\n }\n type = serverProps.children;\n clientProps = clientProps.children;\n if (\n \"string\" === typeof type ||\n \"number\" === typeof type ||\n \"bigint\" === typeof type\n ) {\n serverPropNames = \"\";\n if (\n \"string\" === typeof clientProps ||\n \"number\" === typeof clientProps ||\n \"bigint\" === typeof clientProps\n )\n serverPropNames = \"\" + clientProps;\n content += describeTextDiff(serverPropNames, \"\" + type, indent + 1);\n } else if (\n \"string\" === typeof clientProps ||\n \"number\" === typeof clientProps ||\n \"bigint\" === typeof clientProps\n )\n content =\n null == type\n ? content + describeTextDiff(\"\" + clientProps, null, indent + 1)\n : content + describeTextDiff(\"\" + clientProps, void 0, indent + 1);\n return content;\n }\n function describeSiblingFiber(fiber, indent) {\n var type = describeFiberType(fiber);\n if (null === type) {\n type = \"\";\n for (fiber = fiber.child; fiber; )\n (type += describeSiblingFiber(fiber, indent)),\n (fiber = fiber.sibling);\n return type;\n }\n return indentation(indent) + \"<\" + type + \">\\n\";\n }\n function describeNode(node, indent) {\n var skipToNode = findNotableNode(node, indent);\n if (\n skipToNode !== node &&\n (1 !== node.children.length || node.children[0] !== skipToNode)\n )\n return (\n indentation(indent) + \"...\\n\" + describeNode(skipToNode, indent + 1)\n );\n skipToNode = \"\";\n var debugInfo = node.fiber._debugInfo;\n if (debugInfo)\n for (var i = 0; i < debugInfo.length; i++) {\n var serverComponentName = debugInfo[i].name;\n \"string\" === typeof serverComponentName &&\n ((skipToNode +=\n indentation(indent) + \"<\" + serverComponentName + \">\\n\"),\n indent++);\n }\n debugInfo = \"\";\n i = node.fiber.pendingProps;\n if (6 === node.fiber.tag)\n (debugInfo = describeTextDiff(i, node.serverProps, indent)), indent++;\n else if (\n ((serverComponentName = describeFiberType(node.fiber)),\n null !== serverComponentName)\n )\n if (void 0 === node.serverProps) {\n debugInfo = indent;\n var maxLength = 120 - 2 * debugInfo - serverComponentName.length - 2,\n content = \"\";\n for (propName in i)\n if (i.hasOwnProperty(propName) && \"children\" !== propName) {\n var propValue = describePropValue(i[propName], 15);\n maxLength -= propName.length + propValue.length + 2;\n if (0 > maxLength) {\n content += \" ...\";\n break;\n }\n content += \" \" + propName + \"=\" + propValue;\n }\n debugInfo =\n indentation(debugInfo) +\n \"<\" +\n serverComponentName +\n content +\n \">\\n\";\n indent++;\n } else\n null === node.serverProps\n ? ((debugInfo = describeExpandedElement(\n serverComponentName,\n i,\n added(indent)\n )),\n indent++)\n : \"string\" === typeof node.serverProps\n ? console.error(\n \"Should not have matched a non HostText fiber to a Text node. This is a bug in React.\"\n )\n : ((debugInfo = describeElementDiff(\n serverComponentName,\n i,\n node.serverProps,\n indent\n )),\n indent++);\n var propName = \"\";\n i = node.fiber.child;\n for (\n serverComponentName = 0;\n i && serverComponentName < node.children.length;\n\n )\n (maxLength = node.children[serverComponentName]),\n maxLength.fiber === i\n ? ((propName += describeNode(maxLength, indent)),\n serverComponentName++)\n : (propName += describeSiblingFiber(i, indent)),\n (i = i.sibling);\n i &&\n 0 < node.children.length &&\n (propName += indentation(indent) + \"...\\n\");\n i = node.serverTail;\n null === node.serverProps && indent--;\n for (node = 0; node < i.length; node++)\n (serverComponentName = i[node]),\n (propName =\n \"string\" === typeof serverComponentName\n ? propName +\n (removed(indent) +\n describeTextNode(serverComponentName, 120 - 2 * indent) +\n \"\\n\")\n : propName +\n describeExpandedElement(\n serverComponentName.type,\n serverComponentName.props,\n removed(indent)\n ));\n return skipToNode + debugInfo + propName;\n }\n function describeDiff(rootNode) {\n try {\n return \"\\n\\n\" + describeNode(rootNode, 0);\n } catch (x) {\n return \"\";\n }\n }\n function describeAncestors(ancestor, child, props) {\n for (var fiber = child, node = null, distanceFromLeaf = 0; fiber; )\n fiber === ancestor && (distanceFromLeaf = 0),\n (node = {\n fiber: fiber,\n children: null !== node ? [node] : [],\n serverProps:\n fiber === child ? props : fiber === ancestor ? null : void 0,\n serverTail: [],\n distanceFromLeaf: distanceFromLeaf\n }),\n distanceFromLeaf++,\n (fiber = fiber.return);\n return null !== node ? describeDiff(node).replaceAll(/^[+-]/gm, \">\") : \"\";\n }\n function updatedAncestorInfoDev(oldInfo, tag) {\n var ancestorInfo = assign({}, oldInfo || emptyAncestorInfoDev),\n info = { tag: tag };\n -1 !== inScopeTags.indexOf(tag) &&\n ((ancestorInfo.aTagInScope = null),\n (ancestorInfo.buttonTagInScope = null),\n (ancestorInfo.nobrTagInScope = null));\n -1 !== buttonScopeTags.indexOf(tag) &&\n (ancestorInfo.pTagInButtonScope = null);\n -1 !== specialTags.indexOf(tag) &&\n \"address\" !== tag &&\n \"div\" !== tag &&\n \"p\" !== tag &&\n ((ancestorInfo.listItemTagAutoclosing = null),\n (ancestorInfo.dlItemTagAutoclosing = null));\n ancestorInfo.current = info;\n \"form\" === tag && (ancestorInfo.formTag = info);\n \"a\" === tag && (ancestorInfo.aTagInScope = info);\n \"button\" === tag && (ancestorInfo.buttonTagInScope = info);\n \"nobr\" === tag && (ancestorInfo.nobrTagInScope = info);\n \"p\" === tag && (ancestorInfo.pTagInButtonScope = info);\n \"li\" === tag && (ancestorInfo.listItemTagAutoclosing = info);\n if (\"dd\" === tag || \"dt\" === tag)\n ancestorInfo.dlItemTagAutoclosing = info;\n \"#document\" === tag || \"html\" === tag\n ? (ancestorInfo.containerTagInScope = null)\n : ancestorInfo.containerTagInScope ||\n (ancestorInfo.containerTagInScope = info);\n null !== oldInfo ||\n (\"#document\" !== tag && \"html\" !== tag && \"body\" !== tag)\n ? !0 === ancestorInfo.implicitRootScope &&\n (ancestorInfo.implicitRootScope = !1)\n : (ancestorInfo.implicitRootScope = !0);\n return ancestorInfo;\n }\n function isTagValidWithParent(tag, parentTag, implicitRootScope) {\n switch (parentTag) {\n case \"select\":\n return (\n \"hr\" === tag ||\n \"option\" === tag ||\n \"optgroup\" === tag ||\n \"script\" === tag ||\n \"template\" === tag ||\n \"#text\" === tag\n );\n case \"optgroup\":\n return \"option\" === tag || \"#text\" === tag;\n case \"option\":\n return \"#text\" === tag;\n case \"tr\":\n return (\n \"th\" === tag ||\n \"td\" === tag ||\n \"style\" === tag ||\n \"script\" === tag ||\n \"template\" === tag\n );\n case \"tbody\":\n case \"thead\":\n case \"tfoot\":\n return (\n \"tr\" === tag ||\n \"style\" === tag ||\n \"script\" === tag ||\n \"template\" === tag\n );\n case \"colgroup\":\n return \"col\" === tag || \"template\" === tag;\n case \"table\":\n return (\n \"caption\" === tag ||\n \"colgroup\" === tag ||\n \"tbody\" === tag ||\n \"tfoot\" === tag ||\n \"thead\" === tag ||\n \"style\" === tag ||\n \"script\" === tag ||\n \"template\" === tag\n );\n case \"head\":\n return (\n \"base\" === tag ||\n \"basefont\" === tag ||\n \"bgsound\" === tag ||\n \"link\" === tag ||\n \"meta\" === tag ||\n \"title\" === tag ||\n \"noscript\" === tag ||\n \"noframes\" === tag ||\n \"style\" === tag ||\n \"script\" === tag ||\n \"template\" === tag\n );\n case \"html\":\n if (implicitRootScope) break;\n return \"head\" === tag || \"body\" === tag || \"frameset\" === tag;\n case \"frameset\":\n return \"frame\" === tag;\n case \"#document\":\n if (!implicitRootScope) return \"html\" === tag;\n }\n switch (tag) {\n case \"h1\":\n case \"h2\":\n case \"h3\":\n case \"h4\":\n case \"h5\":\n case \"h6\":\n return (\n \"h1\" !== parentTag &&\n \"h2\" !== parentTag &&\n \"h3\" !== parentTag &&\n \"h4\" !== parentTag &&\n \"h5\" !== parentTag &&\n \"h6\" !== parentTag\n );\n case \"rp\":\n case \"rt\":\n return -1 === impliedEndTags.indexOf(parentTag);\n case \"caption\":\n case \"col\":\n case \"colgroup\":\n case \"frameset\":\n case \"frame\":\n case \"tbody\":\n case \"td\":\n case \"tfoot\":\n case \"th\":\n case \"thead\":\n case \"tr\":\n return null == parentTag;\n case \"head\":\n return implicitRootScope || null === parentTag;\n case \"html\":\n return (\n (implicitRootScope && \"#document\" === parentTag) ||\n null === parentTag\n );\n case \"body\":\n return (\n (implicitRootScope &&\n (\"#document\" === parentTag || \"html\" === parentTag)) ||\n null === parentTag\n );\n }\n return !0;\n }\n function findInvalidAncestorForTag(tag, ancestorInfo) {\n switch (tag) {\n case \"address\":\n case \"article\":\n case \"aside\":\n case \"blockquote\":\n case \"center\":\n case \"details\":\n case \"dialog\":\n case \"dir\":\n case \"div\":\n case \"dl\":\n case \"fieldset\":\n case \"figcaption\":\n case \"figure\":\n case \"footer\":\n case \"header\":\n case \"hgroup\":\n case \"main\":\n case \"menu\":\n case \"nav\":\n case \"ol\":\n case \"p\":\n case \"section\":\n case \"summary\":\n case \"ul\":\n case \"pre\":\n case \"listing\":\n case \"table\":\n case \"hr\":\n case \"xmp\":\n case \"h1\":\n case \"h2\":\n case \"h3\":\n case \"h4\":\n case \"h5\":\n case \"h6\":\n return ancestorInfo.pTagInButtonScope;\n case \"form\":\n return ancestorInfo.formTag || ancestorInfo.pTagInButtonScope;\n case \"li\":\n return ancestorInfo.listItemTagAutoclosing;\n case \"dd\":\n case \"dt\":\n return ancestorInfo.dlItemTagAutoclosing;\n case \"button\":\n return ancestorInfo.buttonTagInScope;\n case \"a\":\n return ancestorInfo.aTagInScope;\n case \"nobr\":\n return ancestorInfo.nobrTagInScope;\n }\n return null;\n }\n function findAncestor(parent, tagName) {\n for (; parent; ) {\n switch (parent.tag) {\n case 5:\n case 26:\n case 27:\n if (parent.type === tagName) return parent;\n }\n parent = parent.return;\n }\n return null;\n }\n function validateDOMNesting(childTag, ancestorInfo) {\n ancestorInfo = ancestorInfo || emptyAncestorInfoDev;\n var parentInfo = ancestorInfo.current;\n ancestorInfo = (parentInfo = isTagValidWithParent(\n childTag,\n parentInfo && parentInfo.tag,\n ancestorInfo.implicitRootScope\n )\n ? null\n : parentInfo)\n ? null\n : findInvalidAncestorForTag(childTag, ancestorInfo);\n ancestorInfo = parentInfo || ancestorInfo;\n if (!ancestorInfo) return !0;\n var ancestorTag = ancestorInfo.tag;\n ancestorInfo = String(!!parentInfo) + \"|\" + childTag + \"|\" + ancestorTag;\n if (didWarn[ancestorInfo]) return !1;\n didWarn[ancestorInfo] = !0;\n var ancestor = (ancestorInfo = current)\n ? findAncestor(ancestorInfo.return, ancestorTag)\n : null,\n ancestorDescription =\n null !== ancestorInfo && null !== ancestor\n ? describeAncestors(ancestor, ancestorInfo, null)\n : \"\",\n tagDisplayName = \"<\" + childTag + \">\";\n parentInfo\n ? ((parentInfo = \"\"),\n \"table\" === ancestorTag &&\n \"tr\" === childTag &&\n (parentInfo +=\n \" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser.\"),\n console.error(\n \"In HTML, %s cannot be a child of <%s>.%s\\nThis will cause a hydration error.%s\",\n tagDisplayName,\n ancestorTag,\n parentInfo,\n ancestorDescription\n ))\n : console.error(\n \"In HTML, %s cannot be a descendant of <%s>.\\nThis will cause a hydration error.%s\",\n tagDisplayName,\n ancestorTag,\n ancestorDescription\n );\n ancestorInfo &&\n ((childTag = ancestorInfo.return),\n null === ancestor ||\n null === childTag ||\n (ancestor === childTag &&\n childTag._debugOwner === ancestorInfo._debugOwner) ||\n runWithFiberInDEV(ancestor, function () {\n console.error(\n \"<%s> cannot contain a nested %s.\\nSee this log for the ancestor stack trace.\",\n ancestorTag,\n tagDisplayName\n );\n }));\n return !1;\n }\n function validateTextNesting(childText, parentTag, implicitRootScope) {\n if (implicitRootScope || isTagValidWithParent(\"#text\", parentTag, !1))\n return !0;\n implicitRootScope = \"#text|\" + parentTag;\n if (didWarn[implicitRootScope]) return !1;\n didWarn[implicitRootScope] = !0;\n var ancestor = (implicitRootScope = current)\n ? findAncestor(implicitRootScope, parentTag)\n : null;\n implicitRootScope =\n null !== implicitRootScope && null !== ancestor\n ? describeAncestors(\n ancestor,\n implicitRootScope,\n 6 !== implicitRootScope.tag ? { children: null } : null\n )\n : \"\";\n /\\S/.test(childText)\n ? console.error(\n \"In HTML, text nodes cannot be a child of <%s>.\\nThis will cause a hydration error.%s\",\n parentTag,\n implicitRootScope\n )\n : console.error(\n \"In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.\\nThis will cause a hydration error.%s\",\n parentTag,\n implicitRootScope\n );\n return !1;\n }\n function setTextContent(node, text) {\n if (text) {\n var firstChild = node.firstChild;\n if (\n firstChild &&\n firstChild === node.lastChild &&\n 3 === firstChild.nodeType\n ) {\n firstChild.nodeValue = text;\n return;\n }\n }\n node.textContent = text;\n }\n function camelize(string) {\n return string.replace(hyphenPattern, function (_, character) {\n return character.toUpperCase();\n });\n }\n function setValueForStyle(style, styleName, value) {\n var isCustomProperty = 0 === styleName.indexOf(\"--\");\n isCustomProperty ||\n (-1 < styleName.indexOf(\"-\")\n ? (warnedStyleNames.hasOwnProperty(styleName) &&\n warnedStyleNames[styleName]) ||\n ((warnedStyleNames[styleName] = !0),\n console.error(\n \"Unsupported style property %s. Did you mean %s?\",\n styleName,\n camelize(styleName.replace(msPattern, \"ms-\"))\n ))\n : badVendoredStyleNamePattern.test(styleName)\n ? (warnedStyleNames.hasOwnProperty(styleName) &&\n warnedStyleNames[styleName]) ||\n ((warnedStyleNames[styleName] = !0),\n console.error(\n \"Unsupported vendor-prefixed style property %s. Did you mean %s?\",\n styleName,\n styleName.charAt(0).toUpperCase() + styleName.slice(1)\n ))\n : !badStyleValueWithSemicolonPattern.test(value) ||\n (warnedStyleValues.hasOwnProperty(value) &&\n warnedStyleValues[value]) ||\n ((warnedStyleValues[value] = !0),\n console.error(\n 'Style property values shouldn\\'t contain a semicolon. Try \"%s: %s\" instead.',\n styleName,\n value.replace(badStyleValueWithSemicolonPattern, \"\")\n )),\n \"number\" === typeof value &&\n (isNaN(value)\n ? warnedForNaNValue ||\n ((warnedForNaNValue = !0),\n console.error(\n \"`NaN` is an invalid value for the `%s` css style property.\",\n styleName\n ))\n : isFinite(value) ||\n warnedForInfinityValue ||\n ((warnedForInfinityValue = !0),\n console.error(\n \"`Infinity` is an invalid value for the `%s` css style property.\",\n styleName\n ))));\n null == value || \"boolean\" === typeof value || \"\" === value\n ? isCustomProperty\n ? style.setProperty(styleName, \"\")\n : \"float\" === styleName\n ? (style.cssFloat = \"\")\n : (style[styleName] = \"\")\n : isCustomProperty\n ? style.setProperty(styleName, value)\n : \"number\" !== typeof value ||\n 0 === value ||\n unitlessNumbers.has(styleName)\n ? \"float\" === styleName\n ? (style.cssFloat = value)\n : (checkCSSPropertyStringCoercion(value, styleName),\n (style[styleName] = (\"\" + value).trim()))\n : (style[styleName] = value + \"px\");\n }\n function setValueForStyles(node, styles, prevStyles) {\n if (null != styles && \"object\" !== typeof styles)\n throw Error(\n \"The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.\"\n );\n styles && Object.freeze(styles);\n node = node.style;\n if (null != prevStyles) {\n if (styles) {\n var expandedUpdates = {};\n if (prevStyles)\n for (var key in prevStyles)\n if (prevStyles.hasOwnProperty(key) && !styles.hasOwnProperty(key))\n for (\n var longhands = shorthandToLonghand[key] || [key], i = 0;\n i < longhands.length;\n i++\n )\n expandedUpdates[longhands[i]] = key;\n for (var _key in styles)\n if (\n styles.hasOwnProperty(_key) &&\n (!prevStyles || prevStyles[_key] !== styles[_key])\n )\n for (\n key = shorthandToLonghand[_key] || [_key], longhands = 0;\n longhands < key.length;\n longhands++\n )\n expandedUpdates[key[longhands]] = _key;\n _key = {};\n for (var key$jscomp$0 in styles)\n for (\n key = shorthandToLonghand[key$jscomp$0] || [key$jscomp$0],\n longhands = 0;\n longhands < key.length;\n longhands++\n )\n _key[key[longhands]] = key$jscomp$0;\n key$jscomp$0 = {};\n for (var _key2 in expandedUpdates)\n if (\n ((key = expandedUpdates[_key2]),\n (longhands = _key[_key2]) &&\n key !== longhands &&\n ((i = key + \",\" + longhands), !key$jscomp$0[i]))\n ) {\n key$jscomp$0[i] = !0;\n i = console;\n var value = styles[key];\n i.error.call(\n i,\n \"%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.\",\n null == value || \"boolean\" === typeof value || \"\" === value\n ? \"Removing\"\n : \"Updating\",\n key,\n longhands\n );\n }\n }\n for (var styleName in prevStyles)\n !prevStyles.hasOwnProperty(styleName) ||\n (null != styles && styles.hasOwnProperty(styleName)) ||\n (0 === styleName.indexOf(\"--\")\n ? node.setProperty(styleName, \"\")\n : \"float\" === styleName\n ? (node.cssFloat = \"\")\n : (node[styleName] = \"\"),\n (viewTransitionMutationContext = !0));\n for (var _styleName in styles)\n (_key2 = styles[_styleName]),\n styles.hasOwnProperty(_styleName) &&\n prevStyles[_styleName] !== _key2 &&\n (setValueForStyle(node, _styleName, _key2),\n (viewTransitionMutationContext = !0));\n } else\n for (expandedUpdates in styles)\n styles.hasOwnProperty(expandedUpdates) &&\n setValueForStyle(node, expandedUpdates, styles[expandedUpdates]);\n }\n function isCustomElement(tagName) {\n if (-1 === tagName.indexOf(\"-\")) return !1;\n switch (tagName) {\n case \"annotation-xml\":\n case \"color-profile\":\n case \"font-face\":\n case \"font-face-src\":\n case \"font-face-uri\":\n case \"font-face-format\":\n case \"font-face-name\":\n case \"missing-glyph\":\n return !1;\n default:\n return !0;\n }\n }\n function getAttributeAlias(name) {\n return aliases.get(name) || name;\n }\n function validateProperty$1(tagName, name) {\n if (\n hasOwnProperty.call(warnedProperties$1, name) &&\n warnedProperties$1[name]\n )\n return !0;\n if (rARIACamel$1.test(name)) {\n tagName = \"aria-\" + name.slice(4).toLowerCase();\n tagName = ariaProperties.hasOwnProperty(tagName) ? tagName : null;\n if (null == tagName)\n return (\n console.error(\n \"Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.\",\n name\n ),\n (warnedProperties$1[name] = !0)\n );\n if (name !== tagName)\n return (\n console.error(\n \"Invalid ARIA attribute `%s`. Did you mean `%s`?\",\n name,\n tagName\n ),\n (warnedProperties$1[name] = !0)\n );\n }\n if (rARIA$1.test(name)) {\n tagName = name.toLowerCase();\n tagName = ariaProperties.hasOwnProperty(tagName) ? tagName : null;\n if (null == tagName) return (warnedProperties$1[name] = !0), !1;\n name !== tagName &&\n (console.error(\n \"Unknown ARIA attribute `%s`. Did you mean `%s`?\",\n name,\n tagName\n ),\n (warnedProperties$1[name] = !0));\n }\n return !0;\n }\n function validateProperties$2(type, props) {\n var invalidProps = [],\n key;\n for (key in props)\n validateProperty$1(type, key) || invalidProps.push(key);\n props = invalidProps\n .map(function (prop) {\n return \"`\" + prop + \"`\";\n })\n .join(\", \");\n 1 === invalidProps.length\n ? console.error(\n \"Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props\",\n props,\n type\n )\n : 1 < invalidProps.length &&\n console.error(\n \"Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props\",\n props,\n type\n );\n }\n function validateProperty(tagName, name, value, eventRegistry) {\n if (hasOwnProperty.call(warnedProperties, name) && warnedProperties[name])\n return !0;\n var lowerCasedName = name.toLowerCase();\n if (\"onfocusin\" === lowerCasedName || \"onfocusout\" === lowerCasedName)\n return (\n console.error(\n \"React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React.\"\n ),\n (warnedProperties[name] = !0)\n );\n if (\n \"function\" === typeof value &&\n ((\"form\" === tagName && \"action\" === name) ||\n (\"input\" === tagName && \"formAction\" === name) ||\n (\"button\" === tagName && \"formAction\" === name))\n )\n return !0;\n if (null != eventRegistry) {\n tagName = eventRegistry.possibleRegistrationNames;\n if (eventRegistry.registrationNameDependencies.hasOwnProperty(name))\n return !0;\n eventRegistry = tagName.hasOwnProperty(lowerCasedName)\n ? tagName[lowerCasedName]\n : null;\n if (null != eventRegistry)\n return (\n console.error(\n \"Invalid event handler property `%s`. Did you mean `%s`?\",\n name,\n eventRegistry\n ),\n (warnedProperties[name] = !0)\n );\n if (EVENT_NAME_REGEX.test(name))\n return (\n console.error(\n \"Unknown event handler property `%s`. It will be ignored.\",\n name\n ),\n (warnedProperties[name] = !0)\n );\n } else if (EVENT_NAME_REGEX.test(name))\n return (\n INVALID_EVENT_NAME_REGEX.test(name) &&\n console.error(\n \"Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.\",\n name\n ),\n (warnedProperties[name] = !0)\n );\n if (rARIA.test(name) || rARIACamel.test(name)) return !0;\n if (\"innerhtml\" === lowerCasedName)\n return (\n console.error(\n \"Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`.\"\n ),\n (warnedProperties[name] = !0)\n );\n if (\"aria\" === lowerCasedName)\n return (\n console.error(\n \"The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead.\"\n ),\n (warnedProperties[name] = !0)\n );\n if (\n \"is\" === lowerCasedName &&\n null !== value &&\n void 0 !== value &&\n \"string\" !== typeof value\n )\n return (\n console.error(\n \"Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.\",\n typeof value\n ),\n (warnedProperties[name] = !0)\n );\n if (\"number\" === typeof value && isNaN(value))\n return (\n console.error(\n \"Received NaN for the `%s` attribute. If this is expected, cast the value to a string.\",\n name\n ),\n (warnedProperties[name] = !0)\n );\n if (possibleStandardNames.hasOwnProperty(lowerCasedName)) {\n if (\n ((lowerCasedName = possibleStandardNames[lowerCasedName]),\n lowerCasedName !== name)\n )\n return (\n console.error(\n \"Invalid DOM property `%s`. Did you mean `%s`?\",\n name,\n lowerCasedName\n ),\n (warnedProperties[name] = !0)\n );\n } else if (name !== lowerCasedName)\n return (\n console.error(\n \"React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.\",\n name,\n lowerCasedName\n ),\n (warnedProperties[name] = !0)\n );\n switch (name) {\n case \"dangerouslySetInnerHTML\":\n case \"children\":\n case \"style\":\n case \"suppressContentEditableWarning\":\n case \"suppressHydrationWarning\":\n case \"defaultValue\":\n case \"defaultChecked\":\n case \"innerHTML\":\n case \"ref\":\n return !0;\n case \"innerText\":\n case \"textContent\":\n return !0;\n }\n switch (typeof value) {\n case \"boolean\":\n switch (name) {\n case \"autoFocus\":\n case \"checked\":\n case \"multiple\":\n case \"muted\":\n case \"selected\":\n case \"contentEditable\":\n case \"spellCheck\":\n case \"draggable\":\n case \"value\":\n case \"autoReverse\":\n case \"externalResourcesRequired\":\n case \"focusable\":\n case \"preserveAlpha\":\n case \"allowFullScreen\":\n case \"async\":\n case \"autoPlay\":\n case \"controls\":\n case \"default\":\n case \"defer\":\n case \"disabled\":\n case \"disablePictureInPicture\":\n case \"disableRemotePlayback\":\n case \"formNoValidate\":\n case \"hidden\":\n case \"loop\":\n case \"noModule\":\n case \"noValidate\":\n case \"open\":\n case \"playsInline\":\n case \"readOnly\":\n case \"required\":\n case \"reversed\":\n case \"scoped\":\n case \"seamless\":\n case \"itemScope\":\n case \"capture\":\n case \"download\":\n case \"inert\":\n return !0;\n default:\n lowerCasedName = name.toLowerCase().slice(0, 5);\n if (\"data-\" === lowerCasedName || \"aria-\" === lowerCasedName)\n return !0;\n value\n ? console.error(\n 'Received `%s` for a non-boolean attribute `%s`.\\n\\nIf you want to write it to the DOM, pass a string instead: %s=\"%s\" or %s={value.toString()}.',\n value,\n name,\n name,\n value,\n name\n )\n : console.error(\n 'Received `%s` for a non-boolean attribute `%s`.\\n\\nIf you want to write it to the DOM, pass a string instead: %s=\"%s\" or %s={value.toString()}.\\n\\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',\n value,\n name,\n name,\n value,\n name,\n name,\n name\n );\n return (warnedProperties[name] = !0);\n }\n case \"function\":\n case \"symbol\":\n return (warnedProperties[name] = !0), !1;\n case \"string\":\n if (\"false\" === value || \"true\" === value) {\n switch (name) {\n case \"checked\":\n case \"selected\":\n case \"multiple\":\n case \"muted\":\n case \"allowFullScreen\":\n case \"async\":\n case \"autoPlay\":\n case \"controls\":\n case \"default\":\n case \"defer\":\n case \"disabled\":\n case \"disablePictureInPicture\":\n case \"disableRemotePlayback\":\n case \"formNoValidate\":\n case \"hidden\":\n case \"loop\":\n case \"noModule\":\n case \"noValidate\":\n case \"open\":\n case \"playsInline\":\n case \"readOnly\":\n case \"required\":\n case \"reversed\":\n case \"scoped\":\n case \"seamless\":\n case \"itemScope\":\n case \"inert\":\n break;\n default:\n return !0;\n }\n console.error(\n \"Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?\",\n value,\n name,\n \"false\" === value\n ? \"The browser will interpret it as a truthy value.\"\n : 'Although this works, it will not work as expected if you pass the string \"false\".',\n name,\n value\n );\n warnedProperties[name] = !0;\n }\n }\n return !0;\n }\n function warnUnknownProperties(type, props, eventRegistry) {\n var unknownProps = [],\n key;\n for (key in props)\n validateProperty(type, key, props[key], eventRegistry) ||\n unknownProps.push(key);\n props = unknownProps\n .map(function (prop) {\n return \"`\" + prop + \"`\";\n })\n .join(\", \");\n 1 === unknownProps.length\n ? console.error(\n \"Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior \",\n props,\n type\n )\n : 1 < unknownProps.length &&\n console.error(\n \"Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior \",\n props,\n type\n );\n }\n function sanitizeURL(url) {\n return isJavaScriptProtocol.test(\"\" + url)\n ? \"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')\"\n : url;\n }\n function noop$1() {}\n function getEventTarget(nativeEvent) {\n nativeEvent = nativeEvent.target || nativeEvent.srcElement || window;\n nativeEvent.correspondingUseElement &&\n (nativeEvent = nativeEvent.correspondingUseElement);\n return 3 === nativeEvent.nodeType ? nativeEvent.parentNode : nativeEvent;\n }\n function restoreStateOfTarget(target) {\n var internalInstance = getInstanceFromNode(target);\n if (internalInstance && (target = internalInstance.stateNode)) {\n var props = target[internalPropsKey] || null;\n a: switch (\n ((target = internalInstance.stateNode), internalInstance.type)\n ) {\n case \"input\":\n updateInput(\n target,\n props.value,\n props.defaultValue,\n props.defaultValue,\n props.checked,\n props.defaultChecked,\n props.type,\n props.name\n );\n internalInstance = props.name;\n if (\"radio\" === props.type && null != internalInstance) {\n for (props = target; props.parentNode; ) props = props.parentNode;\n checkAttributeStringCoercion(internalInstance, \"name\");\n props = props.querySelectorAll(\n 'input[name=\"' +\n escapeSelectorAttributeValueInsideDoubleQuotes(\n \"\" + internalInstance\n ) +\n '\"][type=\"radio\"]'\n );\n for (\n internalInstance = 0;\n internalInstance < props.length;\n internalInstance++\n ) {\n var otherNode = props[internalInstance];\n if (otherNode !== target && otherNode.form === target.form) {\n var otherProps = otherNode[internalPropsKey] || null;\n if (!otherProps)\n throw Error(\n \"ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.\"\n );\n updateInput(\n otherNode,\n otherProps.value,\n otherProps.defaultValue,\n otherProps.defaultValue,\n otherProps.checked,\n otherProps.defaultChecked,\n otherProps.type,\n otherProps.name\n );\n }\n }\n for (\n internalInstance = 0;\n internalInstance < props.length;\n internalInstance++\n )\n (otherNode = props[internalInstance]),\n otherNode.form === target.form &&\n updateValueIfChanged(otherNode);\n }\n break a;\n case \"textarea\":\n updateTextarea(target, props.value, props.defaultValue);\n break a;\n case \"select\":\n (internalInstance = props.value),\n null != internalInstance &&\n updateOptions(target, !!props.multiple, internalInstance, !1);\n }\n }\n }\n function batchedUpdates$1(fn, a, b) {\n if (isInsideEventHandler) return fn(a, b);\n isInsideEventHandler = !0;\n try {\n var JSCompiler_inline_result = fn(a);\n return JSCompiler_inline_result;\n } finally {\n if (\n ((isInsideEventHandler = !1),\n null !== restoreTarget || null !== restoreQueue)\n )\n if (\n (flushSyncWork$1(),\n restoreTarget &&\n ((a = restoreTarget),\n (fn = restoreQueue),\n (restoreQueue = restoreTarget = null),\n restoreStateOfTarget(a),\n fn))\n )\n for (a = 0; a < fn.length; a++) restoreStateOfTarget(fn[a]);\n }\n }\n function getListener(inst, registrationName) {\n var stateNode = inst.stateNode;\n if (null === stateNode) return null;\n var props = stateNode[internalPropsKey] || null;\n if (null === props) return null;\n stateNode = props[registrationName];\n a: switch (registrationName) {\n case \"onClick\":\n case \"onClickCapture\":\n case \"onDoubleClick\":\n case \"onDoubleClickCapture\":\n case \"onMouseDown\":\n case \"onMouseDownCapture\":\n case \"onMouseMove\":\n case \"onMouseMoveCapture\":\n case \"onMouseUp\":\n case \"onMouseUpCapture\":\n case \"onMouseEnter\":\n (props = !props.disabled) ||\n ((inst = inst.type),\n (props = !(\n \"button\" === inst ||\n \"input\" === inst ||\n \"select\" === inst ||\n \"textarea\" === inst\n )));\n inst = !props;\n break a;\n default:\n inst = !1;\n }\n if (inst) return null;\n if (stateNode && \"function\" !== typeof stateNode)\n throw Error(\n \"Expected `\" +\n registrationName +\n \"` listener to be a function, instead got a value of `\" +\n typeof stateNode +\n \"` type.\"\n );\n return stateNode;\n }\n function getData() {\n if (fallbackText) return fallbackText;\n var start,\n startValue = startText,\n startLength = startValue.length,\n end,\n endValue = \"value\" in root ? root.value : root.textContent,\n endLength = endValue.length;\n for (\n start = 0;\n start < startLength && startValue[start] === endValue[start];\n start++\n );\n var minEnd = startLength - start;\n for (\n end = 1;\n end <= minEnd &&\n startValue[startLength - end] === endValue[endLength - end];\n end++\n );\n return (fallbackText = endValue.slice(start, 1 < end ? 1 - end : void 0));\n }\n function getEventCharCode(nativeEvent) {\n var keyCode = nativeEvent.keyCode;\n \"charCode\" in nativeEvent\n ? ((nativeEvent = nativeEvent.charCode),\n 0 === nativeEvent && 13 === keyCode && (nativeEvent = 13))\n : (nativeEvent = keyCode);\n 10 === nativeEvent && (nativeEvent = 13);\n return 32 <= nativeEvent || 13 === nativeEvent ? nativeEvent : 0;\n }\n function functionThatReturnsTrue() {\n return !0;\n }\n function functionThatReturnsFalse() {\n return !1;\n }\n function createSyntheticEvent(Interface) {\n function SyntheticBaseEvent(\n reactName,\n reactEventType,\n targetInst,\n nativeEvent,\n nativeEventTarget\n ) {\n this._reactName = reactName;\n this._targetInst = targetInst;\n this.type = reactEventType;\n this.nativeEvent = nativeEvent;\n this.target = nativeEventTarget;\n this.currentTarget = null;\n for (var propName in Interface)\n Interface.hasOwnProperty(propName) &&\n ((reactName = Interface[propName]),\n (this[propName] = reactName\n ? reactName(nativeEvent)\n : nativeEvent[propName]));\n this.isDefaultPrevented = (\n null != nativeEvent.defaultPrevented\n ? nativeEvent.defaultPrevented\n : !1 === nativeEvent.returnValue\n )\n ? functionThatReturnsTrue\n : functionThatReturnsFalse;\n this.isPropagationStopped = functionThatReturnsFalse;\n return this;\n }\n assign(SyntheticBaseEvent.prototype, {\n preventDefault: function () {\n this.defaultPrevented = !0;\n var event = this.nativeEvent;\n event &&\n (event.preventDefault\n ? event.preventDefault()\n : \"unknown\" !== typeof event.returnValue &&\n (event.returnValue = !1),\n (this.isDefaultPrevented = functionThatReturnsTrue));\n },\n stopPropagation: function () {\n var event = this.nativeEvent;\n event &&\n (event.stopPropagation\n ? event.stopPropagation()\n : \"unknown\" !== typeof event.cancelBubble &&\n (event.cancelBubble = !0),\n (this.isPropagationStopped = functionThatReturnsTrue));\n },\n persist: function () {},\n isPersistent: functionThatReturnsTrue\n });\n return SyntheticBaseEvent;\n }\n function modifierStateGetter(keyArg) {\n var nativeEvent = this.nativeEvent;\n return nativeEvent.getModifierState\n ? nativeEvent.getModifierState(keyArg)\n : (keyArg = modifierKeyToProp[keyArg])\n ? !!nativeEvent[keyArg]\n : !1;\n }\n function getEventModifierState() {\n return modifierStateGetter;\n }\n function isFallbackCompositionEnd(domEventName, nativeEvent) {\n switch (domEventName) {\n case \"keyup\":\n return -1 !== END_KEYCODES.indexOf(nativeEvent.keyCode);\n case \"keydown\":\n return nativeEvent.keyCode !== START_KEYCODE;\n case \"keypress\":\n case \"mousedown\":\n case \"focusout\":\n return !0;\n default:\n return !1;\n }\n }\n function getDataFromCustomEvent(nativeEvent) {\n nativeEvent = nativeEvent.detail;\n return \"object\" === typeof nativeEvent && \"data\" in nativeEvent\n ? nativeEvent.data\n : null;\n }\n function getNativeBeforeInputChars(domEventName, nativeEvent) {\n switch (domEventName) {\n case \"compositionend\":\n return getDataFromCustomEvent(nativeEvent);\n case \"keypress\":\n if (nativeEvent.which !== SPACEBAR_CODE) return null;\n hasSpaceKeypress = !0;\n return SPACEBAR_CHAR;\n case \"textInput\":\n return (\n (domEventName = nativeEvent.data),\n domEventName === SPACEBAR_CHAR && hasSpaceKeypress\n ? null\n : domEventName\n );\n default:\n return null;\n }\n }\n function getFallbackBeforeInputChars(domEventName, nativeEvent) {\n if (isComposing)\n return \"compositionend\" === domEventName ||\n (!canUseCompositionEvent &&\n isFallbackCompositionEnd(domEventName, nativeEvent))\n ? ((domEventName = getData()),\n (fallbackText = startText = root = null),\n (isComposing = !1),\n domEventName)\n : null;\n switch (domEventName) {\n case \"paste\":\n return null;\n case \"keypress\":\n if (\n !(\n nativeEvent.ctrlKey ||\n nativeEvent.altKey ||\n nativeEvent.metaKey\n ) ||\n (nativeEvent.ctrlKey && nativeEvent.altKey)\n ) {\n if (nativeEvent.char && 1 < nativeEvent.char.length)\n return nativeEvent.char;\n if (nativeEvent.which)\n return String.fromCharCode(nativeEvent.which);\n }\n return null;\n case \"compositionend\":\n return useFallbackCompositionData && \"ko\" !== nativeEvent.locale\n ? null\n : nativeEvent.data;\n default:\n return null;\n }\n }\n function isTextInputElement(elem) {\n var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();\n return \"input\" === nodeName\n ? !!supportedInputTypes[elem.type]\n : \"textarea\" === nodeName\n ? !0\n : !1;\n }\n function isEventSupported(eventNameSuffix) {\n if (!canUseDOM) return !1;\n eventNameSuffix = \"on\" + eventNameSuffix;\n var isSupported = eventNameSuffix in document;\n isSupported ||\n ((isSupported = document.createElement(\"div\")),\n isSupported.setAttribute(eventNameSuffix, \"return;\"),\n (isSupported = \"function\" === typeof isSupported[eventNameSuffix]));\n return isSupported;\n }\n function createAndAccumulateChangeEvent(\n dispatchQueue,\n inst,\n nativeEvent,\n target\n ) {\n restoreTarget\n ? restoreQueue\n ? restoreQueue.push(target)\n : (restoreQueue = [target])\n : (restoreTarget = target);\n inst = accumulateTwoPhaseListeners(inst, \"onChange\");\n 0 < inst.length &&\n ((nativeEvent = new SyntheticEvent(\n \"onChange\",\n \"change\",\n null,\n nativeEvent,\n target\n )),\n dispatchQueue.push({ event: nativeEvent, listeners: inst }));\n }\n function runEventInBatch(dispatchQueue) {\n processDispatchQueue(dispatchQueue, 0);\n }\n function getInstIfValueChanged(targetInst) {\n var targetNode = getNodeFromInstance(targetInst);\n if (updateValueIfChanged(targetNode)) return targetInst;\n }\n function getTargetInstForChangeEvent(domEventName, targetInst) {\n if (\"change\" === domEventName) return targetInst;\n }\n function stopWatchingForValueChange() {\n activeElement$1 &&\n (activeElement$1.detachEvent(\"onpropertychange\", handlePropertyChange),\n (activeElementInst$1 = activeElement$1 = null));\n }\n function handlePropertyChange(nativeEvent) {\n if (\n \"value\" === nativeEvent.propertyName &&\n getInstIfValueChanged(activeElementInst$1)\n ) {\n var dispatchQueue = [];\n createAndAccumulateChangeEvent(\n dispatchQueue,\n activeElementInst$1,\n nativeEvent,\n getEventTarget(nativeEvent)\n );\n batchedUpdates$1(runEventInBatch, dispatchQueue);\n }\n }\n function handleEventsForInputEventPolyfill(\n domEventName,\n target,\n targetInst\n ) {\n \"focusin\" === domEventName\n ? (stopWatchingForValueChange(),\n (activeElement$1 = target),\n (activeElementInst$1 = targetInst),\n activeElement$1.attachEvent(\"onpropertychange\", handlePropertyChange))\n : \"focusout\" === domEventName && stopWatchingForValueChange();\n }\n function getTargetInstForInputEventPolyfill(domEventName) {\n if (\n \"selectionchange\" === domEventName ||\n \"keyup\" === domEventName ||\n \"keydown\" === domEventName\n )\n return getInstIfValueChanged(activeElementInst$1);\n }\n function getTargetInstForClickEvent(domEventName, targetInst) {\n if (\"click\" === domEventName) return getInstIfValueChanged(targetInst);\n }\n function getTargetInstForInputOrChangeEvent(domEventName, targetInst) {\n if (\"input\" === domEventName || \"change\" === domEventName)\n return getInstIfValueChanged(targetInst);\n }\n function is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n }\n function shallowEqual(objA, objB) {\n if (objectIs(objA, objB)) return !0;\n if (\n \"object\" !== typeof objA ||\n null === objA ||\n \"object\" !== typeof objB ||\n null === objB\n )\n return !1;\n var keysA = Object.keys(objA),\n keysB = Object.keys(objB);\n if (keysA.length !== keysB.length) return !1;\n for (keysB = 0; keysB < keysA.length; keysB++) {\n var currentKey = keysA[keysB];\n if (\n !hasOwnProperty.call(objB, currentKey) ||\n !objectIs(objA[currentKey], objB[currentKey])\n )\n return !1;\n }\n return !0;\n }\n function getLeafNode(node) {\n for (; node && node.firstChild; ) node = node.firstChild;\n return node;\n }\n function getNodeForCharacterOffset(root, offset) {\n var node = getLeafNode(root);\n root = 0;\n for (var nodeEnd; node; ) {\n if (3 === node.nodeType) {\n nodeEnd = root + node.textContent.length;\n if (root <= offset && nodeEnd >= offset)\n return { node: node, offset: offset - root };\n root = nodeEnd;\n }\n a: {\n for (; node; ) {\n if (node.nextSibling) {\n node = node.nextSibling;\n break a;\n }\n node = node.parentNode;\n }\n node = void 0;\n }\n node = getLeafNode(node);\n }\n }\n function containsNode(outerNode, innerNode) {\n return outerNode && innerNode\n ? outerNode === innerNode\n ? !0\n : outerNode && 3 === outerNode.nodeType\n ? !1\n : innerNode && 3 === innerNode.nodeType\n ? containsNode(outerNode, innerNode.parentNode)\n : \"contains\" in outerNode\n ? outerNode.contains(innerNode)\n : outerNode.compareDocumentPosition\n ? !!(outerNode.compareDocumentPosition(innerNode) & 16)\n : !1\n : !1;\n }\n function getActiveElementDeep(containerInfo) {\n containerInfo =\n null != containerInfo &&\n null != containerInfo.ownerDocument &&\n null != containerInfo.ownerDocument.defaultView\n ? containerInfo.ownerDocument.defaultView\n : window;\n for (\n var element = getActiveElement(containerInfo.document);\n element instanceof containerInfo.HTMLIFrameElement;\n\n ) {\n try {\n var JSCompiler_inline_result =\n \"string\" === typeof element.contentWindow.location.href;\n } catch (err) {\n JSCompiler_inline_result = !1;\n }\n if (JSCompiler_inline_result) containerInfo = element.contentWindow;\n else break;\n element = getActiveElement(containerInfo.document);\n }\n return element;\n }\n function hasSelectionCapabilities(elem) {\n var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();\n return (\n nodeName &&\n ((\"input\" === nodeName &&\n (\"text\" === elem.type ||\n \"search\" === elem.type ||\n \"tel\" === elem.type ||\n \"url\" === elem.type ||\n \"password\" === elem.type)) ||\n \"textarea\" === nodeName ||\n \"true\" === elem.contentEditable)\n );\n }\n function constructSelectEvent(\n dispatchQueue,\n nativeEvent,\n nativeEventTarget\n ) {\n var doc =\n nativeEventTarget.window === nativeEventTarget\n ? nativeEventTarget.document\n : 9 === nativeEventTarget.nodeType\n ? nativeEventTarget\n : nativeEventTarget.ownerDocument;\n mouseDown ||\n null == activeElement ||\n activeElement !== getActiveElement(doc) ||\n ((doc = activeElement),\n \"selectionStart\" in doc && hasSelectionCapabilities(doc)\n ? (doc = { start: doc.selectionStart, end: doc.selectionEnd })\n : ((doc = (\n (doc.ownerDocument && doc.ownerDocument.defaultView) ||\n window\n ).getSelection()),\n (doc = {\n anchorNode: doc.anchorNode,\n anchorOffset: doc.anchorOffset,\n focusNode: doc.focusNode,\n focusOffset: doc.focusOffset\n })),\n (lastSelection && shallowEqual(lastSelection, doc)) ||\n ((lastSelection = doc),\n (doc = accumulateTwoPhaseListeners(activeElementInst, \"onSelect\")),\n 0 < doc.length &&\n ((nativeEvent = new SyntheticEvent(\n \"onSelect\",\n \"select\",\n null,\n nativeEvent,\n nativeEventTarget\n )),\n dispatchQueue.push({ event: nativeEvent, listeners: doc }),\n (nativeEvent.target = activeElement))));\n }\n function makePrefixMap(styleProp, eventName) {\n var prefixes = {};\n prefixes[styleProp.toLowerCase()] = eventName.toLowerCase();\n prefixes[\"Webkit\" + styleProp] = \"webkit\" + eventName;\n prefixes[\"Moz\" + styleProp] = \"moz\" + eventName;\n return prefixes;\n }\n function getVendorPrefixedEventName(eventName) {\n if (prefixedEventNames[eventName]) return prefixedEventNames[eventName];\n if (!vendorPrefixes[eventName]) return eventName;\n var prefixMap = vendorPrefixes[eventName],\n styleProp;\n for (styleProp in prefixMap)\n if (prefixMap.hasOwnProperty(styleProp) && styleProp in style)\n return (prefixedEventNames[eventName] = prefixMap[styleProp]);\n return eventName;\n }\n function registerSimpleEvent(domEventName, reactName) {\n topLevelEventsToReactNames.set(domEventName, reactName);\n registerTwoPhaseEvent(reactName, [domEventName]);\n }\n function getViewTransitionName(props, instance) {\n if (null != props.name && \"auto\" !== props.name) return props.name;\n if (null !== instance.autoName) return instance.autoName;\n props = pendingEffectsRoot.identifierPrefix;\n var globalClientId = globalClientIdCounter$1++;\n props = \"_\" + props + \"t_\" + globalClientId.toString(32) + \"_\";\n return (instance.autoName = props);\n }\n function getClassNameByType(classByType) {\n if (null == classByType || \"string\" === typeof classByType)\n return classByType;\n var className = null,\n activeTypes = pendingTransitionTypes;\n if (null !== activeTypes)\n for (var i = 0; i < activeTypes.length; i++) {\n var match = classByType[activeTypes[i]];\n if (null != match) {\n if (\"none\" === match) return \"none\";\n className = null == className ? match : className + (\" \" + match);\n }\n }\n return null == className ? classByType.default : className;\n }\n function getViewTransitionClassName(defaultClass, eventClass) {\n defaultClass = getClassNameByType(defaultClass);\n eventClass = getClassNameByType(eventClass);\n return null == eventClass\n ? \"auto\" === defaultClass\n ? null\n : defaultClass\n : \"auto\" === eventClass\n ? null\n : eventClass;\n }\n function getArrayKind(array) {\n for (\n var kind = EMPTY_ARRAY, i = 0;\n i < array.length && i < OBJECT_WIDTH_LIMIT;\n i++\n ) {\n var value = array[i];\n if (\"object\" === typeof value && null !== value)\n if (\n isArrayImpl(value) &&\n 2 === value.length &&\n \"string\" === typeof value[0]\n ) {\n if (kind !== EMPTY_ARRAY && kind !== ENTRIES_ARRAY)\n return COMPLEX_ARRAY;\n kind = ENTRIES_ARRAY;\n } else return COMPLEX_ARRAY;\n else {\n if (\n \"function\" === typeof value ||\n (\"string\" === typeof value && 50 < value.length) ||\n (kind !== EMPTY_ARRAY && kind !== PRIMITIVE_ARRAY)\n )\n return COMPLEX_ARRAY;\n kind = PRIMITIVE_ARRAY;\n }\n }\n return kind;\n }\n function addObjectToProperties(object, properties, indent, prefix) {\n var addedProperties = 0,\n key;\n for (key in object)\n if (\n hasOwnProperty.call(object, key) &&\n \"_\" !== key[0] &&\n (addedProperties++,\n addValueToProperties(key, object[key], properties, indent, prefix),\n addedProperties >= OBJECT_WIDTH_LIMIT)\n ) {\n properties.push([\n prefix +\n \"\\u00a0\\u00a0\".repeat(indent) +\n \"Only \" +\n OBJECT_WIDTH_LIMIT +\n \" properties are shown. React will not log more properties of this object.\",\n \"\"\n ]);\n break;\n }\n }\n function addValueToProperties(\n propertyName,\n value,\n properties,\n indent,\n prefix\n ) {\n switch (typeof value) {\n case \"object\":\n if (null === value) {\n value = \"null\";\n break;\n } else {\n if (value.$$typeof === REACT_ELEMENT_TYPE) {\n var typeName = getComponentNameFromType(value.type) || \"\\u2026\",\n key = value.key;\n value = value.props;\n var propsKeys = Object.keys(value),\n propsLength = propsKeys.length;\n if (null == key && 0 === propsLength) {\n value = \"<\" + typeName + \" />\";\n break;\n }\n if (\n 3 > indent ||\n (1 === propsLength &&\n \"children\" === propsKeys[0] &&\n null == key)\n ) {\n value = \"<\" + typeName + \" \\u2026 />\";\n break;\n }\n properties.push([\n prefix + \"\\u00a0\\u00a0\".repeat(indent) + propertyName,\n \"<\" + typeName\n ]);\n null !== key &&\n addValueToProperties(\n \"key\",\n key,\n properties,\n indent + 1,\n prefix\n );\n propertyName = !1;\n key = 0;\n for (var propKey in value)\n if (\n (key++,\n \"children\" === propKey\n ? null != value.children &&\n (!isArrayImpl(value.children) ||\n 0 < value.children.length) &&\n (propertyName = !0)\n : hasOwnProperty.call(value, propKey) &&\n \"_\" !== propKey[0] &&\n addValueToProperties(\n propKey,\n value[propKey],\n properties,\n indent + 1,\n prefix\n ),\n key >= OBJECT_WIDTH_LIMIT)\n )\n break;\n properties.push([\n \"\",\n propertyName ? \">\\u2026</\" + typeName + \">\" : \"/>\"\n ]);\n return;\n }\n typeName = Object.prototype.toString.call(value);\n propKey = typeName.slice(8, typeName.length - 1);\n if (\"Array\" === propKey)\n if (\n ((typeName = value.length > OBJECT_WIDTH_LIMIT),\n (key = getArrayKind(value)),\n key === PRIMITIVE_ARRAY || key === EMPTY_ARRAY)\n ) {\n value = JSON.stringify(\n typeName\n ? value.slice(0, OBJECT_WIDTH_LIMIT).concat(\"\\u2026\")\n : value\n );\n break;\n } else if (key === ENTRIES_ARRAY) {\n properties.push([\n prefix + \"\\u00a0\\u00a0\".repeat(indent) + propertyName,\n \"\"\n ]);\n for (\n propertyName = 0;\n propertyName < value.length &&\n propertyName < OBJECT_WIDTH_LIMIT;\n propertyName++\n )\n (propKey = value[propertyName]),\n addValueToProperties(\n propKey[0],\n propKey[1],\n properties,\n indent + 1,\n prefix\n );\n typeName &&\n addValueToProperties(\n OBJECT_WIDTH_LIMIT.toString(),\n \"\\u2026\",\n properties,\n indent + 1,\n prefix\n );\n return;\n }\n if (\"Promise\" === propKey) {\n if (\"fulfilled\" === value.status) {\n if (\n ((typeName = properties.length),\n addValueToProperties(\n propertyName,\n value.value,\n properties,\n indent,\n prefix\n ),\n properties.length > typeName)\n ) {\n properties = properties[typeName];\n properties[1] =\n \"Promise<\" + (properties[1] || \"Object\") + \">\";\n return;\n }\n } else if (\n \"rejected\" === value.status &&\n ((typeName = properties.length),\n addValueToProperties(\n propertyName,\n value.reason,\n properties,\n indent,\n prefix\n ),\n properties.length > typeName)\n ) {\n properties = properties[typeName];\n properties[1] = \"Rejected Promise<\" + properties[1] + \">\";\n return;\n }\n properties.push([\n \"\\u00a0\\u00a0\".repeat(indent) + propertyName,\n \"Promise\"\n ]);\n return;\n }\n \"Object\" === propKey &&\n (typeName = Object.getPrototypeOf(value)) &&\n \"function\" === typeof typeName.constructor &&\n (propKey = typeName.constructor.name);\n properties.push([\n prefix + \"\\u00a0\\u00a0\".repeat(indent) + propertyName,\n \"Object\" === propKey ? (3 > indent ? \"\" : \"\\u2026\") : propKey\n ]);\n 3 > indent &&\n addObjectToProperties(value, properties, indent + 1, prefix);\n return;\n }\n case \"function\":\n value = \"\" === value.name ? \"() => {}\" : value.name + \"() {}\";\n break;\n case \"string\":\n value =\n value === OMITTED_PROP_ERROR ? \"\\u2026\" : JSON.stringify(value);\n break;\n case \"undefined\":\n value = \"undefined\";\n break;\n case \"boolean\":\n value = value ? \"true\" : \"false\";\n break;\n default:\n value = String(value);\n }\n properties.push([\n prefix + \"\\u00a0\\u00a0\".repeat(indent) + propertyName,\n value\n ]);\n }\n function addObjectDiffToProperties(prev, next, properties, indent) {\n var isDeeplyEqual = !0,\n prevPropertiesChecked = 0;\n for (key in prev) {\n if (prevPropertiesChecked > OBJECT_WIDTH_LIMIT) {\n properties.push([\n \"Previous object has more than \" +\n OBJECT_WIDTH_LIMIT +\n \" properties. React will not attempt to diff objects with too many properties.\",\n \"\"\n ]);\n isDeeplyEqual = !1;\n break;\n }\n key in next ||\n (properties.push([\n REMOVED + \"\\u00a0\\u00a0\".repeat(indent) + key,\n \"\\u2026\"\n ]),\n (isDeeplyEqual = !1));\n prevPropertiesChecked++;\n }\n prevPropertiesChecked = 0;\n for (var _key in next) {\n if (prevPropertiesChecked > OBJECT_WIDTH_LIMIT) {\n properties.push([\n \"Next object has more than \" +\n OBJECT_WIDTH_LIMIT +\n \" properties. React will not attempt to diff objects with too many properties.\",\n \"\"\n ]);\n isDeeplyEqual = !1;\n break;\n }\n if (_key in prev) {\n var key = prev[_key];\n var nextValue = next[_key];\n if (key !== nextValue) {\n if (0 === indent && \"children\" === _key) {\n isDeeplyEqual = \"\\u00a0\\u00a0\".repeat(indent) + _key;\n properties.push(\n [REMOVED + isDeeplyEqual, \"\\u2026\"],\n [ADDED + isDeeplyEqual, \"\\u2026\"]\n );\n isDeeplyEqual = !1;\n continue;\n }\n if (!(3 <= indent))\n if (\n \"object\" === typeof key &&\n \"object\" === typeof nextValue &&\n null !== key &&\n null !== nextValue &&\n key.$$typeof === nextValue.$$typeof\n )\n if (nextValue.$$typeof === REACT_ELEMENT_TYPE) {\n if (\n key.type === nextValue.type &&\n key.key === nextValue.key\n ) {\n key = getComponentNameFromType(nextValue.type) || \"\\u2026\";\n isDeeplyEqual = \"\\u00a0\\u00a0\".repeat(indent) + _key;\n key = \"<\" + key + \" \\u2026 />\";\n properties.push(\n [REMOVED + isDeeplyEqual, key],\n [ADDED + isDeeplyEqual, key]\n );\n isDeeplyEqual = !1;\n continue;\n }\n } else {\n var prevKind = Object.prototype.toString.call(key),\n nextKind = Object.prototype.toString.call(nextValue);\n if (\n prevKind === nextKind &&\n (\"[object Object]\" === nextKind ||\n \"[object Array]\" === nextKind)\n ) {\n prevKind = [\n UNCHANGED + \"\\u00a0\\u00a0\".repeat(indent) + _key,\n \"[object Array]\" === nextKind ? \"Array\" : \"\"\n ];\n properties.push(prevKind);\n nextKind = properties.length;\n addObjectDiffToProperties(\n key,\n nextValue,\n properties,\n indent + 1\n )\n ? nextKind === properties.length &&\n (prevKind[1] =\n \"Referentially unequal but deeply equal objects. Consider memoization.\")\n : (isDeeplyEqual = !1);\n continue;\n }\n }\n else if (\n \"function\" === typeof key &&\n \"function\" === typeof nextValue &&\n key.name === nextValue.name &&\n key.length === nextValue.length &&\n ((prevKind = Function.prototype.toString.call(key)),\n (nextKind = Function.prototype.toString.call(nextValue)),\n prevKind === nextKind)\n ) {\n key =\n \"\" === nextValue.name ? \"() => {}\" : nextValue.name + \"() {}\";\n properties.push([\n UNCHANGED + \"\\u00a0\\u00a0\".repeat(indent) + _key,\n key +\n \" Referentially unequal function closure. Consider memoization.\"\n ]);\n continue;\n }\n addValueToProperties(_key, key, properties, indent, REMOVED);\n addValueToProperties(_key, nextValue, properties, indent, ADDED);\n isDeeplyEqual = !1;\n }\n } else\n properties.push([\n ADDED + \"\\u00a0\\u00a0\".repeat(indent) + _key,\n \"\\u2026\"\n ]),\n (isDeeplyEqual = !1);\n prevPropertiesChecked++;\n }\n return isDeeplyEqual;\n }\n function setCurrentTrackFromLanes(lanes) {\n currentTrack =\n lanes & 63\n ? \"Blocking\"\n : lanes & 64\n ? \"Gesture\"\n : lanes & 4194176\n ? \"Transition\"\n : lanes & 62914560\n ? \"Suspense\"\n : lanes & 2080374784\n ? \"Idle\"\n : \"Other\";\n }\n function logComponentTrigger(fiber, startTime, endTime, trigger) {\n supportsUserTiming &&\n ((reusableComponentOptions.start = startTime),\n (reusableComponentOptions.end = endTime),\n (reusableComponentDevToolDetails.color = \"warning\"),\n (reusableComponentDevToolDetails.tooltipText = trigger),\n (reusableComponentDevToolDetails.properties = null),\n (fiber = fiber._debugTask)\n ? fiber.run(\n performance.measure.bind(\n performance,\n trigger,\n reusableComponentOptions\n )\n )\n : performance.measure(trigger, reusableComponentOptions),\n performance.clearMeasures(trigger));\n }\n function logComponentReappeared(fiber, startTime, endTime) {\n logComponentTrigger(fiber, startTime, endTime, \"Reconnect\");\n }\n function logComponentRender(\n fiber,\n startTime,\n endTime,\n wasHydrated,\n committedLanes\n ) {\n var name = getComponentNameFromFiber(fiber);\n if (null !== name && supportsUserTiming) {\n var alternate = fiber.alternate,\n selfTime = fiber.actualDuration;\n if (null === alternate || alternate.child !== fiber.child)\n for (var child = fiber.child; null !== child; child = child.sibling)\n selfTime -= child.actualDuration;\n selfTime =\n 0.5 > selfTime\n ? wasHydrated\n ? \"tertiary-light\"\n : \"primary-light\"\n : 10 > selfTime\n ? wasHydrated\n ? \"tertiary\"\n : \"primary\"\n : 100 > selfTime\n ? wasHydrated\n ? \"tertiary-dark\"\n : \"primary-dark\"\n : \"error\";\n var props = fiber.memoizedProps;\n wasHydrated = fiber._debugTask;\n null !== props &&\n null !== alternate &&\n alternate.memoizedProps !== props\n ? ((child = [reusableChangedPropsEntry]),\n (props = addObjectDiffToProperties(\n alternate.memoizedProps,\n props,\n child,\n 0\n )),\n 1 < child.length\n ? (props &&\n !alreadyWarnedForDeepEquality &&\n 0 === (alternate.lanes & committedLanes) &&\n 100 < fiber.actualDuration\n ? ((alreadyWarnedForDeepEquality = !0),\n (child[0] = reusableDeeplyEqualPropsEntry),\n (reusableComponentDevToolDetails.color = \"warning\"),\n (reusableComponentDevToolDetails.tooltipText =\n DEEP_EQUALITY_WARNING))\n : ((reusableComponentDevToolDetails.color = selfTime),\n (reusableComponentDevToolDetails.tooltipText = name)),\n (reusableComponentDevToolDetails.properties = child),\n (reusableComponentOptions.start = startTime),\n (reusableComponentOptions.end = endTime),\n (fiber = \"\\u200b\" + name),\n null != wasHydrated\n ? wasHydrated.run(\n performance.measure.bind(\n performance,\n fiber,\n reusableComponentOptions\n )\n )\n : performance.measure(fiber, reusableComponentOptions),\n performance.clearMeasures(fiber))\n : null != wasHydrated\n ? wasHydrated.run(\n console.timeStamp.bind(\n console,\n name,\n startTime,\n endTime,\n COMPONENTS_TRACK,\n void 0,\n selfTime\n )\n )\n : console.timeStamp(\n name,\n startTime,\n endTime,\n COMPONENTS_TRACK,\n void 0,\n selfTime\n ))\n : null != wasHydrated\n ? wasHydrated.run(\n console.timeStamp.bind(\n console,\n name,\n startTime,\n endTime,\n COMPONENTS_TRACK,\n void 0,\n selfTime\n )\n )\n : console.timeStamp(\n name,\n startTime,\n endTime,\n COMPONENTS_TRACK,\n void 0,\n selfTime\n );\n }\n }\n function logComponentErrored(fiber, startTime, endTime, errors) {\n if (supportsUserTiming) {\n var name = getComponentNameFromFiber(fiber);\n if (null !== name) {\n for (\n var debugTask = null, properties = [], i = 0;\n i < errors.length;\n i++\n ) {\n var capturedValue = errors[i];\n null == debugTask &&\n null !== capturedValue.source &&\n (debugTask = capturedValue.source._debugTask);\n capturedValue = capturedValue.value;\n properties.push([\n \"Error\",\n \"object\" === typeof capturedValue &&\n null !== capturedValue &&\n \"string\" === typeof capturedValue.message\n ? String(capturedValue.message)\n : String(capturedValue)\n ]);\n }\n null !== fiber.key &&\n addValueToProperties(\"key\", fiber.key, properties, 0, \"\");\n null !== fiber.memoizedProps &&\n addObjectToProperties(fiber.memoizedProps, properties, 0, \"\");\n null == debugTask && (debugTask = fiber._debugTask);\n fiber = {\n start: startTime,\n end: endTime,\n detail: {\n devtools: {\n color: \"error\",\n track: COMPONENTS_TRACK,\n tooltipText:\n 13 === fiber.tag\n ? \"Hydration failed\"\n : \"Error boundary caught an error\",\n properties: properties\n }\n }\n };\n name = \"\\u200b\" + name;\n debugTask\n ? debugTask.run(performance.measure.bind(performance, name, fiber))\n : performance.measure(name, fiber);\n performance.clearMeasures(name);\n }\n }\n }\n function logComponentEffect(fiber, startTime, endTime, selfTime, errors) {\n if (null !== errors) {\n if (supportsUserTiming) {\n var name = getComponentNameFromFiber(fiber);\n if (null !== name) {\n selfTime = [];\n for (var i = 0; i < errors.length; i++) {\n var error = errors[i].value;\n selfTime.push([\n \"Error\",\n \"object\" === typeof error &&\n null !== error &&\n \"string\" === typeof error.message\n ? String(error.message)\n : String(error)\n ]);\n }\n null !== fiber.key &&\n addValueToProperties(\"key\", fiber.key, selfTime, 0, \"\");\n null !== fiber.memoizedProps &&\n addObjectToProperties(fiber.memoizedProps, selfTime, 0, \"\");\n startTime = {\n start: startTime,\n end: endTime,\n detail: {\n devtools: {\n color: \"error\",\n track: COMPONENTS_TRACK,\n tooltipText: \"A lifecycle or effect errored\",\n properties: selfTime\n }\n }\n };\n fiber = fiber._debugTask;\n endTime = \"\\u200b\" + name;\n fiber\n ? fiber.run(\n performance.measure.bind(performance, endTime, startTime)\n )\n : performance.measure(endTime, startTime);\n performance.clearMeasures(endTime);\n }\n }\n } else\n (name = getComponentNameFromFiber(fiber)),\n null !== name &&\n supportsUserTiming &&\n ((errors =\n 1 > selfTime\n ? \"secondary-light\"\n : 100 > selfTime\n ? \"secondary\"\n : 500 > selfTime\n ? \"secondary-dark\"\n : \"error\"),\n (fiber = fiber._debugTask)\n ? fiber.run(\n console.timeStamp.bind(\n console,\n name,\n startTime,\n endTime,\n COMPONENTS_TRACK,\n void 0,\n errors\n )\n )\n : console.timeStamp(\n name,\n startTime,\n endTime,\n COMPONENTS_TRACK,\n void 0,\n errors\n ));\n }\n function logRenderPhase(startTime, endTime, lanes, debugTask) {\n if (supportsUserTiming && !(endTime <= startTime)) {\n var color =\n (lanes & 738197653) === lanes ? \"tertiary-dark\" : \"primary-dark\";\n lanes =\n (lanes & 536870912) === lanes\n ? \"Prepared\"\n : (lanes & 201326741) === lanes\n ? \"Hydrated\"\n : \"Render\";\n debugTask\n ? debugTask.run(\n console.timeStamp.bind(\n console,\n lanes,\n startTime,\n endTime,\n currentTrack,\n LANES_TRACK_GROUP,\n color\n )\n )\n : console.timeStamp(\n lanes,\n startTime,\n endTime,\n currentTrack,\n LANES_TRACK_GROUP,\n color\n );\n }\n }\n function logSuspendedRenderPhase(startTime, endTime, lanes, debugTask) {\n !supportsUserTiming ||\n endTime <= startTime ||\n ((lanes =\n (lanes & 738197653) === lanes ? \"tertiary-dark\" : \"primary-dark\"),\n debugTask\n ? debugTask.run(\n console.timeStamp.bind(\n console,\n \"Prewarm\",\n startTime,\n endTime,\n currentTrack,\n LANES_TRACK_GROUP,\n lanes\n )\n )\n : console.timeStamp(\n \"Prewarm\",\n startTime,\n endTime,\n currentTrack,\n LANES_TRACK_GROUP,\n lanes\n ));\n }\n function logSuspendedWithDelayPhase(startTime, endTime, lanes, debugTask) {\n !supportsUserTiming ||\n endTime <= startTime ||\n ((lanes =\n (lanes & 738197653) === lanes ? \"tertiary-dark\" : \"primary-dark\"),\n debugTask\n ? debugTask.run(\n console.timeStamp.bind(\n console,\n \"Suspended\",\n startTime,\n endTime,\n currentTrack,\n LANES_TRACK_GROUP,\n lanes\n )\n )\n : console.timeStamp(\n \"Suspended\",\n startTime,\n endTime,\n currentTrack,\n LANES_TRACK_GROUP,\n lanes\n ));\n }\n function logRecoveredRenderPhase(\n startTime,\n endTime,\n lanes,\n recoverableErrors,\n hydrationFailed,\n debugTask\n ) {\n if (supportsUserTiming && !(endTime <= startTime)) {\n lanes = [];\n for (var i = 0; i < recoverableErrors.length; i++) {\n var error = recoverableErrors[i].value;\n lanes.push([\n \"Recoverable Error\",\n \"object\" === typeof error &&\n null !== error &&\n \"string\" === typeof error.message\n ? String(error.message)\n : String(error)\n ]);\n }\n startTime = {\n start: startTime,\n end: endTime,\n detail: {\n devtools: {\n color: \"primary-dark\",\n track: currentTrack,\n trackGroup: LANES_TRACK_GROUP,\n tooltipText: hydrationFailed\n ? \"Hydration Failed\"\n : \"Recovered after Error\",\n properties: lanes\n }\n }\n };\n debugTask\n ? debugTask.run(\n performance.measure.bind(performance, \"Recovered\", startTime)\n )\n : performance.measure(\"Recovered\", startTime);\n performance.clearMeasures(\"Recovered\");\n }\n }\n function logErroredRenderPhase(startTime, endTime, lanes, debugTask) {\n !supportsUserTiming ||\n endTime <= startTime ||\n (debugTask\n ? debugTask.run(\n console.timeStamp.bind(\n console,\n \"Errored\",\n startTime,\n endTime,\n currentTrack,\n LANES_TRACK_GROUP,\n \"error\"\n )\n )\n : console.timeStamp(\n \"Errored\",\n startTime,\n endTime,\n currentTrack,\n LANES_TRACK_GROUP,\n \"error\"\n ));\n }\n function logSuspendedCommitPhase(startTime, endTime, reason, debugTask) {\n !supportsUserTiming ||\n endTime <= startTime ||\n (debugTask\n ? debugTask.run(\n console.timeStamp.bind(\n console,\n reason,\n startTime,\n endTime,\n currentTrack,\n LANES_TRACK_GROUP,\n \"secondary-light\"\n )\n )\n : console.timeStamp(\n reason,\n startTime,\n endTime,\n currentTrack,\n LANES_TRACK_GROUP,\n \"secondary-light\"\n ));\n }\n function logCommitErrored(startTime, endTime, errors, passive, debugTask) {\n if (supportsUserTiming && !(endTime <= startTime)) {\n for (var properties = [], i = 0; i < errors.length; i++) {\n var error = errors[i].value;\n properties.push([\n \"Error\",\n \"object\" === typeof error &&\n null !== error &&\n \"string\" === typeof error.message\n ? String(error.message)\n : String(error)\n ]);\n }\n startTime = {\n start: startTime,\n end: endTime,\n detail: {\n devtools: {\n color: \"error\",\n track: currentTrack,\n trackGroup: LANES_TRACK_GROUP,\n tooltipText: passive\n ? \"Remaining Effects Errored\"\n : \"Commit Errored\",\n properties: properties\n }\n }\n };\n debugTask\n ? debugTask.run(\n performance.measure.bind(performance, \"Errored\", startTime)\n )\n : performance.measure(\"Errored\", startTime);\n performance.clearMeasures(\"Errored\");\n }\n }\n function logCommitPhase(\n startTime,\n endTime,\n errors,\n abortedViewTransition,\n debugTask\n ) {\n null !== errors\n ? logCommitErrored(startTime, endTime, errors, !1, debugTask)\n : !supportsUserTiming ||\n endTime <= startTime ||\n (debugTask\n ? debugTask.run(\n console.timeStamp.bind(\n console,\n abortedViewTransition\n ? \"Commit Interrupted View Transition\"\n : \"Commit\",\n startTime,\n endTime,\n currentTrack,\n LANES_TRACK_GROUP,\n abortedViewTransition ? \"error\" : \"secondary-dark\"\n )\n )\n : console.timeStamp(\n abortedViewTransition\n ? \"Commit Interrupted View Transition\"\n : \"Commit\",\n startTime,\n endTime,\n currentTrack,\n LANES_TRACK_GROUP,\n abortedViewTransition ? \"error\" : \"secondary-dark\"\n ));\n }\n function logAnimatingPhase(startTime, endTime, debugTask) {\n !supportsUserTiming ||\n endTime <= startTime ||\n (debugTask\n ? debugTask.run(\n console.timeStamp.bind(\n console,\n \"Animating\",\n startTime,\n endTime,\n currentTrack,\n LANES_TRACK_GROUP,\n \"secondary-dark\"\n )\n )\n : console.timeStamp(\n \"Animating\",\n startTime,\n endTime,\n currentTrack,\n LANES_TRACK_GROUP,\n \"secondary-dark\"\n ));\n }\n function finishQueueingConcurrentUpdates() {\n for (\n var endIndex = concurrentQueuesIndex,\n i = (concurrentlyUpdatedLanes = concurrentQueuesIndex = 0);\n i < endIndex;\n\n ) {\n var fiber = concurrentQueues[i];\n concurrentQueues[i++] = null;\n var queue = concurrentQueues[i];\n concurrentQueues[i++] = null;\n var update = concurrentQueues[i];\n concurrentQueues[i++] = null;\n var lane = concurrentQueues[i];\n concurrentQueues[i++] = null;\n if (null !== queue && null !== update) {\n var pending = queue.pending;\n null === pending\n ? (update.next = update)\n : ((update.next = pending.next), (pending.next = update));\n queue.pending = update;\n }\n 0 !== lane && markUpdateLaneFromFiberToRoot(fiber, update, lane);\n }\n }\n function enqueueUpdate$1(fiber, queue, update, lane) {\n concurrentQueues[concurrentQueuesIndex++] = fiber;\n concurrentQueues[concurrentQueuesIndex++] = queue;\n concurrentQueues[concurrentQueuesIndex++] = update;\n concurrentQueues[concurrentQueuesIndex++] = lane;\n concurrentlyUpdatedLanes |= lane;\n fiber.lanes |= lane;\n fiber = fiber.alternate;\n null !== fiber && (fiber.lanes |= lane);\n }\n function enqueueConcurrentHookUpdate(fiber, queue, update, lane) {\n enqueueUpdate$1(fiber, queue, update, lane);\n return getRootForUpdatedFiber(fiber);\n }\n function enqueueConcurrentRenderForLane(fiber, lane) {\n enqueueUpdate$1(fiber, null, null, lane);\n return getRootForUpdatedFiber(fiber);\n }\n function markUpdateLaneFromFiberToRoot(sourceFiber, update, lane) {\n sourceFiber.lanes |= lane;\n var alternate = sourceFiber.alternate;\n null !== alternate && (alternate.lanes |= lane);\n for (var isHidden = !1, parent = sourceFiber.return; null !== parent; )\n (parent.childLanes |= lane),\n (alternate = parent.alternate),\n null !== alternate && (alternate.childLanes |= lane),\n 22 === parent.tag &&\n ((sourceFiber = parent.stateNode),\n null === sourceFiber ||\n sourceFiber._visibility & OffscreenVisible ||\n (isHidden = !0)),\n (sourceFiber = parent),\n (parent = parent.return);\n return 3 === sourceFiber.tag\n ? ((parent = sourceFiber.stateNode),\n isHidden &&\n null !== update &&\n ((isHidden = 31 - clz32(lane)),\n (sourceFiber = parent.hiddenUpdates),\n (alternate = sourceFiber[isHidden]),\n null === alternate\n ? (sourceFiber[isHidden] = [update])\n : alternate.push(update),\n (update.lane = lane | 536870912)),\n parent)\n : null;\n }\n function getRootForUpdatedFiber(sourceFiber) {\n if (nestedUpdateCount > NESTED_UPDATE_LIMIT)\n throw (\n ((nestedPassiveUpdateCount = nestedUpdateCount = 0),\n (rootWithPassiveNestedUpdates = rootWithNestedUpdates = null),\n Error(\n \"Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.\"\n ))\n );\n nestedPassiveUpdateCount > NESTED_PASSIVE_UPDATE_LIMIT &&\n ((nestedPassiveUpdateCount = 0),\n (rootWithPassiveNestedUpdates = null),\n console.error(\n \"Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.\"\n ));\n null === sourceFiber.alternate &&\n 0 !== (sourceFiber.flags & 4098) &&\n warnAboutUpdateOnNotYetMountedFiberInDEV(sourceFiber);\n for (var node = sourceFiber, parent = node.return; null !== parent; )\n null === node.alternate &&\n 0 !== (node.flags & 4098) &&\n warnAboutUpdateOnNotYetMountedFiberInDEV(sourceFiber),\n (node = parent),\n (parent = node.return);\n return 3 === node.tag ? node.stateNode : null;\n }\n function resolveFunctionForHotReloading(type) {\n if (null === resolveFamily) return type;\n var family = resolveFamily(type);\n return void 0 === family ? type : family.current;\n }\n function resolveForwardRefForHotReloading(type) {\n if (null === resolveFamily) return type;\n var family = resolveFamily(type);\n return void 0 === family\n ? null !== type &&\n void 0 !== type &&\n \"function\" === typeof type.render &&\n ((family = resolveFunctionForHotReloading(type.render)),\n type.render !== family)\n ? ((family = { $$typeof: REACT_FORWARD_REF_TYPE, render: family }),\n void 0 !== type.displayName &&\n (family.displayName = type.displayName),\n family)\n : type\n : family.current;\n }\n function isCompatibleFamilyForHotReloading(fiber, element) {\n if (null === resolveFamily) return !1;\n var prevType = fiber.elementType;\n element = element.type;\n var needsCompareFamilies = !1,\n $$typeofNextType =\n \"object\" === typeof element && null !== element\n ? element.$$typeof\n : null;\n switch (fiber.tag) {\n case 1:\n \"function\" === typeof element && (needsCompareFamilies = !0);\n break;\n case 0:\n \"function\" === typeof element\n ? (needsCompareFamilies = !0)\n : $$typeofNextType === REACT_LAZY_TYPE &&\n (needsCompareFamilies = !0);\n break;\n case 11:\n $$typeofNextType === REACT_FORWARD_REF_TYPE\n ? (needsCompareFamilies = !0)\n : $$typeofNextType === REACT_LAZY_TYPE &&\n (needsCompareFamilies = !0);\n break;\n case 14:\n case 15:\n $$typeofNextType === REACT_MEMO_TYPE\n ? (needsCompareFamilies = !0)\n : $$typeofNextType === REACT_LAZY_TYPE &&\n (needsCompareFamilies = !0);\n break;\n default:\n return !1;\n }\n return needsCompareFamilies &&\n ((fiber = resolveFamily(prevType)),\n void 0 !== fiber && fiber === resolveFamily(element))\n ? !0\n : !1;\n }\n function markFailedErrorBoundaryForHotReloading(fiber) {\n null !== resolveFamily &&\n \"function\" === typeof WeakSet &&\n (null === failedBoundaries && (failedBoundaries = new WeakSet()),\n failedBoundaries.add(fiber));\n }\n function scheduleFibersWithFamiliesRecursively(\n fiber,\n updatedFamilies,\n staleFamilies\n ) {\n do {\n var _fiber = fiber,\n alternate = _fiber.alternate,\n child = _fiber.child,\n sibling = _fiber.sibling,\n tag = _fiber.tag;\n _fiber = _fiber.type;\n var candidateType = null;\n switch (tag) {\n case 0:\n case 15:\n case 1:\n candidateType = _fiber;\n break;\n case 11:\n candidateType = _fiber.render;\n }\n if (null === resolveFamily)\n throw Error(\"Expected resolveFamily to be set during hot reload.\");\n var needsRender = !1;\n _fiber = !1;\n null !== candidateType &&\n ((candidateType = resolveFamily(candidateType)),\n void 0 !== candidateType &&\n (staleFamilies.has(candidateType)\n ? (_fiber = !0)\n : updatedFamilies.has(candidateType) &&\n (1 === tag ? (_fiber = !0) : (needsRender = !0))));\n null !== failedBoundaries &&\n (failedBoundaries.has(fiber) ||\n (null !== alternate && failedBoundaries.has(alternate))) &&\n (_fiber = !0);\n _fiber && (fiber._debugNeedsRemount = !0);\n if (_fiber || needsRender)\n (alternate = enqueueConcurrentRenderForLane(fiber, 2)),\n null !== alternate && scheduleUpdateOnFiber(alternate, fiber, 2);\n null === child ||\n _fiber ||\n scheduleFibersWithFamiliesRecursively(\n child,\n updatedFamilies,\n staleFamilies\n );\n if (null === sibling) break;\n fiber = sibling;\n } while (1);\n }\n function FiberNode(tag, pendingProps, key, mode) {\n this.tag = tag;\n this.key = key;\n this.sibling =\n this.child =\n this.return =\n this.stateNode =\n this.type =\n this.elementType =\n null;\n this.index = 0;\n this.refCleanup = this.ref = null;\n this.pendingProps = pendingProps;\n this.dependencies =\n this.memoizedState =\n this.updateQueue =\n this.memoizedProps =\n null;\n this.mode = mode;\n this.subtreeFlags = this.flags = 0;\n this.deletions = null;\n this.childLanes = this.lanes = 0;\n this.alternate = null;\n this.actualDuration = -0;\n this.actualStartTime = -1.1;\n this.treeBaseDuration = this.selfBaseDuration = -0;\n this._debugTask =\n this._debugStack =\n this._debugOwner =\n this._debugInfo =\n null;\n this._debugNeedsRemount = !1;\n this._debugHookTypes = null;\n hasBadMapPolyfill ||\n \"function\" !== typeof Object.preventExtensions ||\n Object.preventExtensions(this);\n }\n function shouldConstruct(Component) {\n Component = Component.prototype;\n return !(!Component || !Component.isReactComponent);\n }\n function createWorkInProgress(current, pendingProps) {\n var workInProgress = current.alternate;\n null === workInProgress\n ? ((workInProgress = createFiber(\n current.tag,\n pendingProps,\n current.key,\n current.mode\n )),\n (workInProgress.elementType = current.elementType),\n (workInProgress.type = current.type),\n (workInProgress.stateNode = current.stateNode),\n (workInProgress._debugOwner = current._debugOwner),\n (workInProgress._debugStack = current._debugStack),\n (workInProgress._debugTask = current._debugTask),\n (workInProgress._debugHookTypes = current._debugHookTypes),\n (workInProgress.alternate = current),\n (current.alternate = workInProgress))\n : ((workInProgress.pendingProps = pendingProps),\n (workInProgress.type = current.type),\n (workInProgress.flags = 0),\n (workInProgress.subtreeFlags = 0),\n (workInProgress.deletions = null),\n (workInProgress.actualDuration = -0),\n (workInProgress.actualStartTime = -1.1));\n workInProgress.flags = current.flags & 132120576;\n workInProgress.childLanes = current.childLanes;\n workInProgress.lanes = current.lanes;\n workInProgress.child = current.child;\n workInProgress.memoizedProps = current.memoizedProps;\n workInProgress.memoizedState = current.memoizedState;\n workInProgress.updateQueue = current.updateQueue;\n pendingProps = current.dependencies;\n workInProgress.dependencies =\n null === pendingProps\n ? null\n : {\n lanes: pendingProps.lanes,\n firstContext: pendingProps.firstContext,\n _debugThenableState: pendingProps._debugThenableState\n };\n workInProgress.sibling = current.sibling;\n workInProgress.index = current.index;\n workInProgress.ref = current.ref;\n workInProgress.refCleanup = current.refCleanup;\n workInProgress.selfBaseDuration = current.selfBaseDuration;\n workInProgress.treeBaseDuration = current.treeBaseDuration;\n workInProgress._debugInfo = current._debugInfo;\n workInProgress._debugNeedsRemount = current._debugNeedsRemount;\n switch (workInProgress.tag) {\n case 0:\n case 15:\n workInProgress.type = resolveFunctionForHotReloading(current.type);\n break;\n case 1:\n workInProgress.type = resolveFunctionForHotReloading(current.type);\n break;\n case 11:\n workInProgress.type = resolveForwardRefForHotReloading(current.type);\n }\n return workInProgress;\n }\n function resetWorkInProgress(workInProgress, renderLanes) {\n workInProgress.flags &= 132120578;\n var current = workInProgress.alternate;\n null === current\n ? ((workInProgress.childLanes = 0),\n (workInProgress.lanes = renderLanes),\n (workInProgress.child = null),\n (workInProgress.subtreeFlags = 0),\n (workInProgress.memoizedProps = null),\n (workInProgress.memoizedState = null),\n (workInProgress.updateQueue = null),\n (workInProgress.dependencies = null),\n (workInProgress.stateNode = null),\n (workInProgress.selfBaseDuration = 0),\n (workInProgress.treeBaseDuration = 0))\n : ((workInProgress.childLanes = current.childLanes),\n (workInProgress.lanes = current.lanes),\n (workInProgress.child = current.child),\n (workInProgress.subtreeFlags = 0),\n (workInProgress.deletions = null),\n (workInProgress.memoizedProps = current.memoizedProps),\n (workInProgress.memoizedState = current.memoizedState),\n (workInProgress.updateQueue = current.updateQueue),\n (workInProgress.type = current.type),\n (renderLanes = current.dependencies),\n (workInProgress.dependencies =\n null === renderLanes\n ? null\n : {\n lanes: renderLanes.lanes,\n firstContext: renderLanes.firstContext,\n _debugThenableState: renderLanes._debugThenableState\n }),\n (workInProgress.selfBaseDuration = current.selfBaseDuration),\n (workInProgress.treeBaseDuration = current.treeBaseDuration));\n return workInProgress;\n }\n function createFiberFromTypeAndProps(\n type,\n key,\n pendingProps,\n owner,\n mode,\n lanes\n ) {\n var fiberTag = 0,\n resolvedType = type;\n if (\"function\" === typeof type)\n shouldConstruct(type) && (fiberTag = 1),\n (resolvedType = resolveFunctionForHotReloading(resolvedType));\n else if (\"string\" === typeof type)\n (fiberTag = getHostContext()),\n (fiberTag = isHostHoistableType(type, pendingProps, fiberTag)\n ? 26\n : \"html\" === type || \"head\" === type || \"body\" === type\n ? 27\n : 5);\n else\n a: switch (type) {\n case REACT_ACTIVITY_TYPE:\n return (\n (key = createFiber(31, pendingProps, key, mode)),\n (key.elementType = REACT_ACTIVITY_TYPE),\n (key.lanes = lanes),\n key\n );\n case REACT_FRAGMENT_TYPE:\n return createFiberFromFragment(\n pendingProps.children,\n mode,\n lanes,\n key\n );\n case REACT_STRICT_MODE_TYPE:\n fiberTag = 8;\n mode |= StrictLegacyMode;\n mode |= StrictEffectsMode;\n break;\n case REACT_PROFILER_TYPE:\n return (\n (type = pendingProps),\n (owner = mode),\n \"string\" !== typeof type.id &&\n console.error(\n 'Profiler must specify an \"id\" of type `string` as a prop. Received the type `%s` instead.',\n typeof type.id\n ),\n (key = createFiber(12, type, key, owner | ProfileMode)),\n (key.elementType = REACT_PROFILER_TYPE),\n (key.lanes = lanes),\n (key.stateNode = { effectDuration: 0, passiveEffectDuration: 0 }),\n key\n );\n case REACT_SUSPENSE_TYPE:\n return (\n (key = createFiber(13, pendingProps, key, mode)),\n (key.elementType = REACT_SUSPENSE_TYPE),\n (key.lanes = lanes),\n key\n );\n case REACT_SUSPENSE_LIST_TYPE:\n return (\n (key = createFiber(19, pendingProps, key, mode)),\n (key.elementType = REACT_SUSPENSE_LIST_TYPE),\n (key.lanes = lanes),\n key\n );\n case REACT_LEGACY_HIDDEN_TYPE:\n case REACT_VIEW_TRANSITION_TYPE:\n return (\n (type = mode | SuspenseyImagesMode),\n (key = createFiber(30, pendingProps, key, type)),\n (key.elementType = REACT_VIEW_TRANSITION_TYPE),\n (key.lanes = lanes),\n (key.stateNode = {\n autoName: null,\n paired: null,\n clones: null,\n ref: null\n }),\n key\n );\n default:\n if (\"object\" === typeof type && null !== type)\n switch (type.$$typeof) {\n case REACT_CONTEXT_TYPE:\n fiberTag = 10;\n break a;\n case REACT_CONSUMER_TYPE:\n fiberTag = 9;\n break a;\n case REACT_FORWARD_REF_TYPE:\n fiberTag = 11;\n resolvedType = resolveForwardRefForHotReloading(resolvedType);\n break a;\n case REACT_MEMO_TYPE:\n fiberTag = 14;\n break a;\n case REACT_LAZY_TYPE:\n fiberTag = 16;\n resolvedType = null;\n break a;\n }\n pendingProps = \"\";\n if (\n void 0 === type ||\n (\"object\" === typeof type &&\n null !== type &&\n 0 === Object.keys(type).length)\n )\n pendingProps +=\n \" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.\";\n null === type\n ? (resolvedType = \"null\")\n : isArrayImpl(type)\n ? (resolvedType = \"array\")\n : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE\n ? ((resolvedType =\n \"<\" +\n (getComponentNameFromType(type.type) || \"Unknown\") +\n \" />\"),\n (pendingProps =\n \" Did you accidentally export a JSX literal instead of a component?\"))\n : (resolvedType = typeof type);\n (fiberTag = owner ? getComponentNameFromOwner(owner) : null) &&\n (pendingProps +=\n \"\\n\\nCheck the render method of `\" + fiberTag + \"`.\");\n fiberTag = 29;\n pendingProps = Error(\n \"Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: \" +\n (resolvedType + \".\" + pendingProps)\n );\n resolvedType = null;\n }\n key = createFiber(fiberTag, pendingProps, key, mode);\n key.elementType = type;\n key.type = resolvedType;\n key.lanes = lanes;\n key._debugOwner = owner;\n return key;\n }\n function createFiberFromElement(element, mode, lanes) {\n mode = createFiberFromTypeAndProps(\n element.type,\n element.key,\n element.props,\n element._owner,\n mode,\n lanes\n );\n mode._debugOwner = element._owner;\n mode._debugStack = element._debugStack;\n mode._debugTask = element._debugTask;\n return mode;\n }\n function createFiberFromFragment(elements, mode, lanes, key) {\n elements = createFiber(7, elements, key, mode);\n elements.lanes = lanes;\n return elements;\n }\n function createFiberFromText(content, mode, lanes) {\n content = createFiber(6, content, null, mode);\n content.lanes = lanes;\n return content;\n }\n function createFiberFromDehydratedFragment(dehydratedNode) {\n var fiber = createFiber(18, null, null, NoMode);\n fiber.stateNode = dehydratedNode;\n return fiber;\n }\n function createFiberFromPortal(portal, mode, lanes) {\n mode = createFiber(\n 4,\n null !== portal.children ? portal.children : [],\n portal.key,\n mode\n );\n mode.lanes = lanes;\n mode.stateNode = {\n containerInfo: portal.containerInfo,\n pendingChildren: null,\n implementation: portal.implementation\n };\n return mode;\n }\n function createCapturedValueAtFiber(value, source) {\n if (\"object\" === typeof value && null !== value) {\n var existing = CapturedStacks.get(value);\n if (void 0 !== existing) return existing;\n source = {\n value: value,\n source: source,\n stack: getStackByFiberInDevAndProd(source)\n };\n CapturedStacks.set(value, source);\n return source;\n }\n return {\n value: value,\n source: source,\n stack: getStackByFiberInDevAndProd(source)\n };\n }\n function pushTreeFork(workInProgress, totalChildren) {\n warnIfNotHydrating();\n forkStack[forkStackIndex++] = treeForkCount;\n forkStack[forkStackIndex++] = treeForkProvider;\n treeForkProvider = workInProgress;\n treeForkCount = totalChildren;\n }\n function pushTreeId(workInProgress, totalChildren, index) {\n warnIfNotHydrating();\n idStack[idStackIndex++] = treeContextId;\n idStack[idStackIndex++] = treeContextOverflow;\n idStack[idStackIndex++] = treeContextProvider;\n treeContextProvider = workInProgress;\n var baseIdWithLeadingBit = treeContextId;\n workInProgress = treeContextOverflow;\n var baseLength = 32 - clz32(baseIdWithLeadingBit) - 1;\n baseIdWithLeadingBit &= ~(1 << baseLength);\n index += 1;\n var length = 32 - clz32(totalChildren) + baseLength;\n if (30 < length) {\n var numberOfOverflowBits = baseLength - (baseLength % 5);\n length = (\n baseIdWithLeadingBit &\n ((1 << numberOfOverflowBits) - 1)\n ).toString(32);\n baseIdWithLeadingBit >>= numberOfOverflowBits;\n baseLength -= numberOfOverflowBits;\n treeContextId =\n (1 << (32 - clz32(totalChildren) + baseLength)) |\n (index << baseLength) |\n baseIdWithLeadingBit;\n treeContextOverflow = length + workInProgress;\n } else\n (treeContextId =\n (1 << length) | (index << baseLength) | baseIdWithLeadingBit),\n (treeContextOverflow = workInProgress);\n }\n function pushMaterializedTreeId(workInProgress) {\n warnIfNotHydrating();\n null !== workInProgress.return &&\n (pushTreeFork(workInProgress, 1), pushTreeId(workInProgress, 1, 0));\n }\n function popTreeContext(workInProgress) {\n for (; workInProgress === treeForkProvider; )\n (treeForkProvider = forkStack[--forkStackIndex]),\n (forkStack[forkStackIndex] = null),\n (treeForkCount = forkStack[--forkStackIndex]),\n (forkStack[forkStackIndex] = null);\n for (; workInProgress === treeContextProvider; )\n (treeContextProvider = idStack[--idStackIndex]),\n (idStack[idStackIndex] = null),\n (treeContextOverflow = idStack[--idStackIndex]),\n (idStack[idStackIndex] = null),\n (treeContextId = idStack[--idStackIndex]),\n (idStack[idStackIndex] = null);\n }\n function getSuspendedTreeContext() {\n warnIfNotHydrating();\n return null !== treeContextProvider\n ? { id: treeContextId, overflow: treeContextOverflow }\n : null;\n }\n function restoreSuspendedTreeContext(workInProgress, suspendedContext) {\n warnIfNotHydrating();\n idStack[idStackIndex++] = treeContextId;\n idStack[idStackIndex++] = treeContextOverflow;\n idStack[idStackIndex++] = treeContextProvider;\n treeContextId = suspendedContext.id;\n treeContextOverflow = suspendedContext.overflow;\n treeContextProvider = workInProgress;\n }\n function warnIfNotHydrating() {\n isHydrating ||\n console.error(\n \"Expected to be hydrating. This is a bug in React. Please file an issue.\"\n );\n }\n function buildHydrationDiffNode(fiber, distanceFromLeaf) {\n if (null === fiber.return) {\n if (null === hydrationDiffRootDEV)\n hydrationDiffRootDEV = {\n fiber: fiber,\n children: [],\n serverProps: void 0,\n serverTail: [],\n distanceFromLeaf: distanceFromLeaf\n };\n else {\n if (hydrationDiffRootDEV.fiber !== fiber)\n throw Error(\n \"Saw multiple hydration diff roots in a pass. This is a bug in React.\"\n );\n hydrationDiffRootDEV.distanceFromLeaf > distanceFromLeaf &&\n (hydrationDiffRootDEV.distanceFromLeaf = distanceFromLeaf);\n }\n return hydrationDiffRootDEV;\n }\n var siblings = buildHydrationDiffNode(\n fiber.return,\n distanceFromLeaf + 1\n ).children;\n if (0 < siblings.length && siblings[siblings.length - 1].fiber === fiber)\n return (\n (siblings = siblings[siblings.length - 1]),\n siblings.distanceFromLeaf > distanceFromLeaf &&\n (siblings.distanceFromLeaf = distanceFromLeaf),\n siblings\n );\n distanceFromLeaf = {\n fiber: fiber,\n children: [],\n serverProps: void 0,\n serverTail: [],\n distanceFromLeaf: distanceFromLeaf\n };\n siblings.push(distanceFromLeaf);\n return distanceFromLeaf;\n }\n function warnIfHydrating() {\n isHydrating &&\n console.error(\n \"We should not be hydrating here. This is a bug in React. Please file a bug.\"\n );\n }\n function warnNonHydratedInstance(fiber, rejectedCandidate) {\n didSuspendOrErrorDEV ||\n ((fiber = buildHydrationDiffNode(fiber, 0)),\n (fiber.serverProps = null),\n null !== rejectedCandidate &&\n ((rejectedCandidate =\n describeHydratableInstanceForDevWarnings(rejectedCandidate)),\n fiber.serverTail.push(rejectedCandidate)));\n }\n function throwOnHydrationMismatch(fiber) {\n var fromText =\n 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : !1,\n diff = \"\",\n diffRoot = hydrationDiffRootDEV;\n null !== diffRoot &&\n ((hydrationDiffRootDEV = null), (diff = describeDiff(diffRoot)));\n queueHydrationError(\n createCapturedValueAtFiber(\n Error(\n \"Hydration failed because the server rendered \" +\n (fromText ? \"text\" : \"HTML\") +\n \" didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:\\n\\n- A server/client branch `if (typeof window !== 'undefined')`.\\n- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.\\n- Date formatting in a user's locale which doesn't match the server.\\n- External changing data without sending a snapshot of it along with the HTML.\\n- Invalid HTML tag nesting.\\n\\nIt can also happen if the client has a browser extension installed which messes with the HTML before React loaded.\\n\\nhttps://react.dev/link/hydration-mismatch\" +\n diff\n ),\n fiber\n )\n );\n throw HydrationMismatchException;\n }\n function prepareToHydrateHostInstance(fiber) {\n var didHydrate = fiber.stateNode;\n var type = fiber.type,\n props = fiber.memoizedProps;\n didHydrate[internalInstanceKey] = fiber;\n didHydrate[internalPropsKey] = props;\n validatePropertiesInDevelopment(type, props);\n switch (type) {\n case \"dialog\":\n listenToNonDelegatedEvent(\"cancel\", didHydrate);\n listenToNonDelegatedEvent(\"close\", didHydrate);\n break;\n case \"iframe\":\n case \"object\":\n case \"embed\":\n listenToNonDelegatedEvent(\"load\", didHydrate);\n break;\n case \"video\":\n case \"audio\":\n for (type = 0; type < mediaEventTypes.length; type++)\n listenToNonDelegatedEvent(mediaEventTypes[type], didHydrate);\n break;\n case \"source\":\n listenToNonDelegatedEvent(\"error\", didHydrate);\n break;\n case \"img\":\n case \"image\":\n case \"link\":\n listenToNonDelegatedEvent(\"error\", didHydrate);\n listenToNonDelegatedEvent(\"load\", didHydrate);\n break;\n case \"details\":\n listenToNonDelegatedEvent(\"toggle\", didHydrate);\n break;\n case \"input\":\n checkControlledValueProps(\"input\", props);\n listenToNonDelegatedEvent(\"invalid\", didHydrate);\n validateInputProps(didHydrate, props);\n initInput(\n didHydrate,\n props.value,\n props.defaultValue,\n props.checked,\n props.defaultChecked,\n props.type,\n props.name,\n !0\n );\n break;\n case \"option\":\n validateOptionProps(didHydrate, props);\n break;\n case \"select\":\n checkControlledValueProps(\"select\", props);\n listenToNonDelegatedEvent(\"invalid\", didHydrate);\n validateSelectProps(didHydrate, props);\n break;\n case \"textarea\":\n checkControlledValueProps(\"textarea\", props),\n listenToNonDelegatedEvent(\"invalid\", didHydrate),\n validateTextareaProps(didHydrate, props),\n initTextarea(\n didHydrate,\n props.value,\n props.defaultValue,\n props.children\n );\n }\n type = props.children;\n (\"string\" !== typeof type &&\n \"number\" !== typeof type &&\n \"bigint\" !== typeof type) ||\n didHydrate.textContent === \"\" + type ||\n !0 === props.suppressHydrationWarning ||\n checkForUnmatchedText(didHydrate.textContent, type)\n ? (null != props.popover &&\n (listenToNonDelegatedEvent(\"beforetoggle\", didHydrate),\n listenToNonDelegatedEvent(\"toggle\", didHydrate)),\n null != props.onScroll &&\n listenToNonDelegatedEvent(\"scroll\", didHydrate),\n null != props.onScrollEnd &&\n listenToNonDelegatedEvent(\"scrollend\", didHydrate),\n null != props.onClick && (didHydrate.onclick = noop$1),\n (didHydrate = !0))\n : (didHydrate = !1);\n didHydrate || throwOnHydrationMismatch(fiber, !0);\n }\n function popToNextHostParent(fiber) {\n for (hydrationParentFiber = fiber.return; hydrationParentFiber; )\n switch (hydrationParentFiber.tag) {\n case 5:\n case 31:\n case 13:\n rootOrSingletonContext = !1;\n return;\n case 27:\n case 3:\n rootOrSingletonContext = !0;\n return;\n default:\n hydrationParentFiber = hydrationParentFiber.return;\n }\n }\n function popHydrationState(fiber) {\n if (fiber !== hydrationParentFiber) return !1;\n if (!isHydrating)\n return popToNextHostParent(fiber), (isHydrating = !0), !1;\n var tag = fiber.tag,\n JSCompiler_temp;\n if ((JSCompiler_temp = 3 !== tag && 27 !== tag)) {\n if ((JSCompiler_temp = 5 === tag))\n (JSCompiler_temp = fiber.type),\n (JSCompiler_temp =\n !(\"form\" !== JSCompiler_temp && \"button\" !== JSCompiler_temp) ||\n shouldSetTextContent(fiber.type, fiber.memoizedProps));\n JSCompiler_temp = !JSCompiler_temp;\n }\n if (JSCompiler_temp && nextHydratableInstance) {\n for (JSCompiler_temp = nextHydratableInstance; JSCompiler_temp; ) {\n var diffNode = buildHydrationDiffNode(fiber, 0),\n description =\n describeHydratableInstanceForDevWarnings(JSCompiler_temp);\n diffNode.serverTail.push(description);\n JSCompiler_temp =\n \"Suspense\" === description.type\n ? getNextHydratableInstanceAfterHydrationBoundary(JSCompiler_temp)\n : getNextHydratable(JSCompiler_temp.nextSibling);\n }\n throwOnHydrationMismatch(fiber);\n }\n popToNextHostParent(fiber);\n if (13 === tag) {\n fiber = fiber.memoizedState;\n fiber = null !== fiber ? fiber.dehydrated : null;\n if (!fiber)\n throw Error(\n \"Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.\"\n );\n nextHydratableInstance =\n getNextHydratableInstanceAfterHydrationBoundary(fiber);\n } else if (31 === tag) {\n fiber = fiber.memoizedState;\n fiber = null !== fiber ? fiber.dehydrated : null;\n if (!fiber)\n throw Error(\n \"Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.\"\n );\n nextHydratableInstance =\n getNextHydratableInstanceAfterHydrationBoundary(fiber);\n } else\n 27 === tag\n ? ((tag = nextHydratableInstance),\n isSingletonScope(fiber.type)\n ? ((fiber = previousHydratableOnEnteringScopedSingleton),\n (previousHydratableOnEnteringScopedSingleton = null),\n (nextHydratableInstance = fiber))\n : (nextHydratableInstance = tag))\n : (nextHydratableInstance = hydrationParentFiber\n ? getNextHydratable(fiber.stateNode.nextSibling)\n : null);\n return !0;\n }\n function resetHydrationState() {\n nextHydratableInstance = hydrationParentFiber = null;\n didSuspendOrErrorDEV = isHydrating = !1;\n }\n function upgradeHydrationErrorsToRecoverable() {\n var queuedErrors = hydrationErrors;\n null !== queuedErrors &&\n (null === workInProgressRootRecoverableErrors\n ? (workInProgressRootRecoverableErrors = queuedErrors)\n : workInProgressRootRecoverableErrors.push.apply(\n workInProgressRootRecoverableErrors,\n queuedErrors\n ),\n (hydrationErrors = null));\n return queuedErrors;\n }\n function queueHydrationError(error) {\n null === hydrationErrors\n ? (hydrationErrors = [error])\n : hydrationErrors.push(error);\n }\n function emitPendingHydrationWarnings() {\n var diffRoot = hydrationDiffRootDEV;\n if (null !== diffRoot) {\n hydrationDiffRootDEV = null;\n for (var diff = describeDiff(diffRoot); 0 < diffRoot.children.length; )\n diffRoot = diffRoot.children[0];\n runWithFiberInDEV(diffRoot.fiber, function () {\n console.error(\n \"A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:\\n\\n- A server/client branch `if (typeof window !== 'undefined')`.\\n- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.\\n- Date formatting in a user's locale which doesn't match the server.\\n- External changing data without sending a snapshot of it along with the HTML.\\n- Invalid HTML tag nesting.\\n\\nIt can also happen if the client has a browser extension installed which messes with the HTML before React loaded.\\n\\n%s%s\",\n \"https://react.dev/link/hydration-mismatch\",\n diff\n );\n });\n }\n }\n function resetContextDependencies() {\n lastContextDependency = currentlyRenderingFiber$1 = null;\n isDisallowedContextReadInDEV = !1;\n }\n function pushProvider(providerFiber, context, nextValue) {\n push(valueCursor, context._currentValue, providerFiber);\n context._currentValue = nextValue;\n push(rendererCursorDEV, context._currentRenderer, providerFiber);\n void 0 !== context._currentRenderer &&\n null !== context._currentRenderer &&\n context._currentRenderer !== rendererSigil &&\n console.error(\n \"Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported.\"\n );\n context._currentRenderer = rendererSigil;\n }\n function popProvider(context, providerFiber) {\n context._currentValue = valueCursor.current;\n var currentRenderer = rendererCursorDEV.current;\n pop(rendererCursorDEV, providerFiber);\n context._currentRenderer = currentRenderer;\n pop(valueCursor, providerFiber);\n }\n function scheduleContextWorkOnParentPath(\n parent,\n renderLanes,\n propagationRoot\n ) {\n for (; null !== parent; ) {\n var alternate = parent.alternate;\n (parent.childLanes & renderLanes) !== renderLanes\n ? ((parent.childLanes |= renderLanes),\n null !== alternate && (alternate.childLanes |= renderLanes))\n : null !== alternate &&\n (alternate.childLanes & renderLanes) !== renderLanes &&\n (alternate.childLanes |= renderLanes);\n if (parent === propagationRoot) break;\n parent = parent.return;\n }\n parent !== propagationRoot &&\n console.error(\n \"Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.\"\n );\n }\n function propagateContextChanges(\n workInProgress,\n contexts,\n renderLanes,\n forcePropagateEntireTree\n ) {\n var fiber = workInProgress.child;\n null !== fiber && (fiber.return = workInProgress);\n for (; null !== fiber; ) {\n var list = fiber.dependencies;\n if (null !== list) {\n var nextFiber = fiber.child;\n list = list.firstContext;\n a: for (; null !== list; ) {\n var dependency = list;\n list = fiber;\n for (var i = 0; i < contexts.length; i++)\n if (dependency.context === contexts[i]) {\n list.lanes |= renderLanes;\n dependency = list.alternate;\n null !== dependency && (dependency.lanes |= renderLanes);\n scheduleContextWorkOnParentPath(\n list.return,\n renderLanes,\n workInProgress\n );\n forcePropagateEntireTree || (nextFiber = null);\n break a;\n }\n list = dependency.next;\n }\n } else if (18 === fiber.tag) {\n nextFiber = fiber.return;\n if (null === nextFiber)\n throw Error(\n \"We just came from a parent so we must have had a parent. This is a bug in React.\"\n );\n nextFiber.lanes |= renderLanes;\n list = nextFiber.alternate;\n null !== list && (list.lanes |= renderLanes);\n scheduleContextWorkOnParentPath(\n nextFiber,\n renderLanes,\n workInProgress\n );\n nextFiber = null;\n } else nextFiber = fiber.child;\n if (null !== nextFiber) nextFiber.return = fiber;\n else\n for (nextFiber = fiber; null !== nextFiber; ) {\n if (nextFiber === workInProgress) {\n nextFiber = null;\n break;\n }\n fiber = nextFiber.sibling;\n if (null !== fiber) {\n fiber.return = nextFiber.return;\n nextFiber = fiber;\n break;\n }\n nextFiber = nextFiber.return;\n }\n fiber = nextFiber;\n }\n }\n function propagateParentContextChanges(\n current,\n workInProgress,\n renderLanes,\n forcePropagateEntireTree\n ) {\n current = null;\n for (\n var parent = workInProgress, isInsidePropagationBailout = !1;\n null !== parent;\n\n ) {\n if (!isInsidePropagationBailout)\n if (0 !== (parent.flags & 524288)) isInsidePropagationBailout = !0;\n else if (0 !== (parent.flags & 262144)) break;\n if (10 === parent.tag) {\n var currentParent = parent.alternate;\n if (null === currentParent)\n throw Error(\"Should have a current fiber. This is a bug in React.\");\n currentParent = currentParent.memoizedProps;\n if (null !== currentParent) {\n var context = parent.type;\n objectIs(parent.pendingProps.value, currentParent.value) ||\n (null !== current\n ? current.push(context)\n : (current = [context]));\n }\n } else if (parent === hostTransitionProviderCursor.current) {\n currentParent = parent.alternate;\n if (null === currentParent)\n throw Error(\"Should have a current fiber. This is a bug in React.\");\n currentParent.memoizedState.memoizedState !==\n parent.memoizedState.memoizedState &&\n (null !== current\n ? current.push(HostTransitionContext)\n : (current = [HostTransitionContext]));\n }\n parent = parent.return;\n }\n null !== current &&\n propagateContextChanges(\n workInProgress,\n current,\n renderLanes,\n forcePropagateEntireTree\n );\n workInProgress.flags |= 262144;\n }\n function checkIfContextChanged(currentDependencies) {\n for (\n currentDependencies = currentDependencies.firstContext;\n null !== currentDependencies;\n\n ) {\n if (\n !objectIs(\n currentDependencies.context._currentValue,\n currentDependencies.memoizedValue\n )\n )\n return !0;\n currentDependencies = currentDependencies.next;\n }\n return !1;\n }\n function prepareToReadContext(workInProgress) {\n currentlyRenderingFiber$1 = workInProgress;\n lastContextDependency = null;\n workInProgress = workInProgress.dependencies;\n null !== workInProgress && (workInProgress.firstContext = null);\n }\n function readContext(context) {\n isDisallowedContextReadInDEV &&\n console.error(\n \"Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().\"\n );\n return readContextForConsumer(currentlyRenderingFiber$1, context);\n }\n function readContextDuringReconciliation(consumer, context) {\n null === currentlyRenderingFiber$1 && prepareToReadContext(consumer);\n return readContextForConsumer(consumer, context);\n }\n function readContextForConsumer(consumer, context) {\n var value = context._currentValue;\n context = { context: context, memoizedValue: value, next: null };\n if (null === lastContextDependency) {\n if (null === consumer)\n throw Error(\n \"Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().\"\n );\n lastContextDependency = context;\n consumer.dependencies = {\n lanes: 0,\n firstContext: context,\n _debugThenableState: null\n };\n consumer.flags |= 524288;\n } else lastContextDependency = lastContextDependency.next = context;\n return value;\n }\n function createCache() {\n return {\n controller: new AbortControllerLocal(),\n data: new Map(),\n refCount: 0\n };\n }\n function retainCache(cache) {\n cache.controller.signal.aborted &&\n console.warn(\n \"A cache instance was retained after it was already freed. This likely indicates a bug in React.\"\n );\n cache.refCount++;\n }\n function releaseCache(cache) {\n cache.refCount--;\n 0 > cache.refCount &&\n console.warn(\n \"A cache instance was released after it was already freed. This likely indicates a bug in React.\"\n );\n 0 === cache.refCount &&\n scheduleCallback$2(NormalPriority, function () {\n cache.controller.abort();\n });\n }\n function queueTransitionTypes(root, transitionTypes) {\n if (0 !== (root.pendingLanes & 4194048)) {\n var queued = root.transitionTypes;\n null === queued && (queued = root.transitionTypes = []);\n for (root = 0; root < transitionTypes.length; root++) {\n var transitionType = transitionTypes[root];\n -1 === queued.indexOf(transitionType) && queued.push(transitionType);\n }\n }\n }\n function claimQueuedTransitionTypes(root) {\n var claimed = root.transitionTypes;\n root.transitionTypes = null;\n return claimed;\n }\n function startUpdateTimerByLane(lane, method, fiber) {\n if (0 !== (lane & 127))\n 0 > blockingUpdateTime &&\n ((blockingUpdateTime = now()),\n (blockingUpdateTask = createTask(method)),\n (blockingUpdateMethodName = method),\n null != fiber &&\n (blockingUpdateComponentName = getComponentNameFromFiber(fiber)),\n (executionContext & (RenderContext | CommitContext)) !== NoContext &&\n ((componentEffectSpawnedUpdate = !0),\n (blockingUpdateType = SPAWNED_UPDATE)),\n (lane = resolveEventTimeStamp()),\n (method = resolveEventType()),\n lane !== blockingEventRepeatTime || method !== blockingEventType\n ? (blockingEventRepeatTime = -1.1)\n : null !== method && (blockingUpdateType = SPAWNED_UPDATE),\n (blockingEventTime = lane),\n (blockingEventType = method));\n else if (\n 0 !== (lane & 4194048) &&\n 0 > transitionUpdateTime &&\n ((transitionUpdateTime = now()),\n (transitionUpdateTask = createTask(method)),\n (transitionUpdateMethodName = method),\n null != fiber &&\n (transitionUpdateComponentName = getComponentNameFromFiber(fiber)),\n 0 > transitionStartTime)\n ) {\n lane = resolveEventTimeStamp();\n method = resolveEventType();\n if (\n lane !== transitionEventRepeatTime ||\n method !== transitionEventType\n )\n transitionEventRepeatTime = -1.1;\n transitionEventTime = lane;\n transitionEventType = method;\n }\n }\n function startHostActionTimer(fiber) {\n if (0 > blockingUpdateTime) {\n blockingUpdateTime = now();\n blockingUpdateTask = null != fiber._debugTask ? fiber._debugTask : null;\n (executionContext & (RenderContext | CommitContext)) !== NoContext &&\n (blockingUpdateType = SPAWNED_UPDATE);\n var newEventTime = resolveEventTimeStamp(),\n newEventType = resolveEventType();\n newEventTime !== blockingEventRepeatTime ||\n newEventType !== blockingEventType\n ? (blockingEventRepeatTime = -1.1)\n : null !== newEventType && (blockingUpdateType = SPAWNED_UPDATE);\n blockingEventTime = newEventTime;\n blockingEventType = newEventType;\n }\n if (\n 0 > transitionUpdateTime &&\n ((transitionUpdateTime = now()),\n (transitionUpdateTask =\n null != fiber._debugTask ? fiber._debugTask : null),\n 0 > transitionStartTime)\n ) {\n fiber = resolveEventTimeStamp();\n newEventTime = resolveEventType();\n if (\n fiber !== transitionEventRepeatTime ||\n newEventTime !== transitionEventType\n )\n transitionEventRepeatTime = -1.1;\n transitionEventTime = fiber;\n transitionEventType = newEventTime;\n }\n }\n function pushNestedEffectDurations() {\n var prevEffectDuration = profilerEffectDuration;\n profilerEffectDuration = 0;\n return prevEffectDuration;\n }\n function popNestedEffectDurations(prevEffectDuration) {\n var elapsedTime = profilerEffectDuration;\n profilerEffectDuration = prevEffectDuration;\n return elapsedTime;\n }\n function bubbleNestedEffectDurations(prevEffectDuration) {\n var elapsedTime = profilerEffectDuration;\n profilerEffectDuration += prevEffectDuration;\n return elapsedTime;\n }\n function resetComponentEffectTimers() {\n componentEffectEndTime = componentEffectStartTime = -1.1;\n }\n function pushComponentEffectStart() {\n var prevEffectStart = componentEffectStartTime;\n componentEffectStartTime = -1.1;\n return prevEffectStart;\n }\n function popComponentEffectStart(prevEffectStart) {\n 0 <= prevEffectStart && (componentEffectStartTime = prevEffectStart);\n }\n function pushComponentEffectDuration() {\n var prevEffectDuration = componentEffectDuration;\n componentEffectDuration = -0;\n return prevEffectDuration;\n }\n function popComponentEffectDuration(prevEffectDuration) {\n 0 <= prevEffectDuration && (componentEffectDuration = prevEffectDuration);\n }\n function pushComponentEffectErrors() {\n var prevErrors = componentEffectErrors;\n componentEffectErrors = null;\n return prevErrors;\n }\n function pushComponentEffectDidSpawnUpdate() {\n var prev = componentEffectSpawnedUpdate;\n componentEffectSpawnedUpdate = !1;\n return prev;\n }\n function startProfilerTimer(fiber) {\n profilerStartTime = now();\n 0 > fiber.actualStartTime && (fiber.actualStartTime = profilerStartTime);\n }\n function stopProfilerTimerIfRunningAndRecordDuration(fiber) {\n if (0 <= profilerStartTime) {\n var elapsedTime = now() - profilerStartTime;\n fiber.actualDuration += elapsedTime;\n fiber.selfBaseDuration = elapsedTime;\n profilerStartTime = -1;\n }\n }\n function stopProfilerTimerIfRunningAndRecordIncompleteDuration(fiber) {\n if (0 <= profilerStartTime) {\n var elapsedTime = now() - profilerStartTime;\n fiber.actualDuration += elapsedTime;\n profilerStartTime = -1;\n }\n }\n function recordEffectDuration() {\n if (0 <= profilerStartTime) {\n var endTime = now(),\n elapsedTime = endTime - profilerStartTime;\n profilerStartTime = -1;\n profilerEffectDuration += elapsedTime;\n componentEffectDuration += elapsedTime;\n componentEffectEndTime = endTime;\n }\n }\n function recordEffectError(errorInfo) {\n null === componentEffectErrors && (componentEffectErrors = []);\n componentEffectErrors.push(errorInfo);\n null === commitErrors && (commitErrors = []);\n commitErrors.push(errorInfo);\n }\n function startEffectTimer() {\n profilerStartTime = now();\n 0 > componentEffectStartTime &&\n (componentEffectStartTime = profilerStartTime);\n }\n function transferActualDuration(fiber) {\n for (var child = fiber.child; child; )\n (fiber.actualDuration += child.actualDuration), (child = child.sibling);\n }\n function entangleAsyncAction(transition, thenable) {\n if (null === currentEntangledListeners) {\n var entangledListeners = (currentEntangledListeners = []);\n currentEntangledPendingCount = 0;\n currentEntangledLane = requestTransitionLane();\n currentEntangledActionThenable = {\n status: \"pending\",\n value: void 0,\n then: function (resolve) {\n entangledListeners.push(resolve);\n }\n };\n }\n currentEntangledPendingCount++;\n thenable.then(pingEngtangledActionScope, pingEngtangledActionScope);\n return thenable;\n }\n function pingEngtangledActionScope() {\n if (\n 0 === --currentEntangledPendingCount &&\n (-1 < transitionUpdateTime || (transitionStartTime = -1.1),\n (entangledTransitionTypes = null),\n null !== currentEntangledListeners)\n ) {\n null !== currentEntangledActionThenable &&\n (currentEntangledActionThenable.status = \"fulfilled\");\n var listeners = currentEntangledListeners;\n currentEntangledListeners = null;\n currentEntangledLane = 0;\n currentEntangledActionThenable = null;\n for (var i = 0; i < listeners.length; i++) (0, listeners[i])();\n }\n }\n function chainThenableValue(thenable, result) {\n var listeners = [],\n thenableWithOverride = {\n status: \"pending\",\n value: null,\n reason: null,\n then: function (resolve) {\n listeners.push(resolve);\n }\n };\n thenable.then(\n function () {\n thenableWithOverride.status = \"fulfilled\";\n thenableWithOverride.value = result;\n for (var i = 0; i < listeners.length; i++) (0, listeners[i])(result);\n },\n function (error) {\n thenableWithOverride.status = \"rejected\";\n thenableWithOverride.reason = error;\n for (error = 0; error < listeners.length; error++)\n (0, listeners[error])(void 0);\n }\n );\n return thenableWithOverride;\n }\n function peekCacheFromPool() {\n var cacheResumedFromPreviousRender = resumedCache.current;\n return null !== cacheResumedFromPreviousRender\n ? cacheResumedFromPreviousRender\n : workInProgressRoot.pooledCache;\n }\n function pushTransition(offscreenWorkInProgress, prevCachePool) {\n null === prevCachePool\n ? push(resumedCache, resumedCache.current, offscreenWorkInProgress)\n : push(resumedCache, prevCachePool.pool, offscreenWorkInProgress);\n }\n function getSuspendedCache() {\n var cacheFromPool = peekCacheFromPool();\n return null === cacheFromPool\n ? null\n : { parent: CacheContext._currentValue, pool: cacheFromPool };\n }\n function createThenableState() {\n return { didWarnAboutUncachedPromise: !1, thenables: [] };\n }\n function isThenableResolved(thenable) {\n thenable = thenable.status;\n return \"fulfilled\" === thenable || \"rejected\" === thenable;\n }\n function trackUsedThenable(thenableState, thenable, index) {\n null !== ReactSharedInternals.actQueue &&\n (ReactSharedInternals.didUsePromise = !0);\n var trackedThenables = thenableState.thenables;\n index = trackedThenables[index];\n void 0 === index\n ? trackedThenables.push(thenable)\n : index !== thenable &&\n (thenableState.didWarnAboutUncachedPromise ||\n ((thenableState.didWarnAboutUncachedPromise = !0),\n console.error(\n \"A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.\"\n )),\n thenable.then(noop$1, noop$1),\n (thenable = index));\n if (void 0 === thenable._debugInfo) {\n thenableState = performance.now();\n trackedThenables = thenable.displayName;\n var ioInfo = {\n name:\n \"string\" === typeof trackedThenables ? trackedThenables : \"Promise\",\n start: thenableState,\n end: thenableState,\n value: thenable\n };\n thenable._debugInfo = [{ awaited: ioInfo }];\n \"fulfilled\" !== thenable.status &&\n \"rejected\" !== thenable.status &&\n ((thenableState = function () {\n ioInfo.end = performance.now();\n }),\n thenable.then(thenableState, thenableState));\n }\n switch (thenable.status) {\n case \"fulfilled\":\n return thenable.value;\n case \"rejected\":\n throw (\n ((thenableState = thenable.reason),\n checkIfUseWrappedInAsyncCatch(thenableState),\n thenableState)\n );\n default:\n if (\"string\" === typeof thenable.status)\n thenable.then(noop$1, noop$1);\n else {\n thenableState = workInProgressRoot;\n if (\n null !== thenableState &&\n 100 < thenableState.shellSuspendCounter\n )\n throw Error(\n \"An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.\"\n );\n thenableState = thenable;\n thenableState.status = \"pending\";\n thenableState.then(\n function (fulfilledValue) {\n if (\"pending\" === thenable.status) {\n var fulfilledThenable = thenable;\n fulfilledThenable.status = \"fulfilled\";\n fulfilledThenable.value = fulfilledValue;\n }\n },\n function (error) {\n if (\"pending\" === thenable.status) {\n var rejectedThenable = thenable;\n rejectedThenable.status = \"rejected\";\n rejectedThenable.reason = error;\n }\n }\n );\n }\n switch (thenable.status) {\n case \"fulfilled\":\n return thenable.value;\n case \"rejected\":\n throw (\n ((thenableState = thenable.reason),\n checkIfUseWrappedInAsyncCatch(thenableState),\n thenableState)\n );\n }\n suspendedThenable = thenable;\n needsToResetSuspendedThenableDEV = !0;\n throw SuspenseException;\n }\n }\n function resolveLazy(lazyType) {\n try {\n return callLazyInitInDEV(lazyType);\n } catch (x) {\n if (null !== x && \"object\" === typeof x && \"function\" === typeof x.then)\n throw (\n ((suspendedThenable = x),\n (needsToResetSuspendedThenableDEV = !0),\n SuspenseException)\n );\n throw x;\n }\n }\n function getSuspendedThenable() {\n if (null === suspendedThenable)\n throw Error(\n \"Expected a suspended thenable. This is a bug in React. Please file an issue.\"\n );\n var thenable = suspendedThenable;\n suspendedThenable = null;\n needsToResetSuspendedThenableDEV = !1;\n return thenable;\n }\n function checkIfUseWrappedInAsyncCatch(rejectedReason) {\n if (\n rejectedReason === SuspenseException ||\n rejectedReason === SuspenseActionException\n )\n throw Error(\n \"Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.\"\n );\n }\n function pushDebugInfo(debugInfo) {\n var previousDebugInfo = currentDebugInfo;\n null != debugInfo &&\n (currentDebugInfo =\n null === previousDebugInfo\n ? debugInfo\n : previousDebugInfo.concat(debugInfo));\n return previousDebugInfo;\n }\n function getCurrentDebugTask() {\n var debugInfo = currentDebugInfo;\n if (null != debugInfo)\n for (var i = debugInfo.length - 1; 0 <= i; i--)\n if (null != debugInfo[i].name) {\n var debugTask = debugInfo[i].debugTask;\n if (null != debugTask) return debugTask;\n }\n return null;\n }\n function validateFragmentProps(element, fiber, returnFiber) {\n for (var keys = Object.keys(element.props), i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (\"children\" !== key && \"key\" !== key && \"ref\" !== key) {\n null === fiber &&\n ((fiber = createFiberFromElement(element, returnFiber.mode, 0)),\n (fiber._debugInfo = currentDebugInfo),\n (fiber.return = returnFiber));\n runWithFiberInDEV(\n fiber,\n function (erroredKey) {\n console.error(\n \"Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key`, `ref`, and `children` props.\",\n erroredKey\n );\n },\n key\n );\n break;\n }\n }\n }\n function unwrapThenable(thenable) {\n var index = thenableIndexCounter$1;\n thenableIndexCounter$1 += 1;\n null === thenableState$1 && (thenableState$1 = createThenableState());\n return trackUsedThenable(thenableState$1, thenable, index);\n }\n function coerceRef(workInProgress, element) {\n element = element.props.ref;\n workInProgress.ref = void 0 !== element ? element : null;\n }\n function throwOnInvalidObjectTypeImpl(returnFiber, newChild) {\n if (newChild.$$typeof === REACT_LEGACY_ELEMENT_TYPE)\n throw Error(\n 'A React Element from an older version of React was rendered. This is not supported. It can happen if:\\n- Multiple copies of the \"react\" package is used.\\n- A library pre-bundled an old copy of \"react\" or \"react/jsx-runtime\".\\n- A compiler tries to \"inline\" JSX instead of using the runtime.'\n );\n returnFiber = Object.prototype.toString.call(newChild);\n throw Error(\n \"Objects are not valid as a React child (found: \" +\n (\"[object Object]\" === returnFiber\n ? \"object with keys {\" + Object.keys(newChild).join(\", \") + \"}\"\n : returnFiber) +\n \"). If you meant to render a collection of children, use an array instead.\"\n );\n }\n function throwOnInvalidObjectType(returnFiber, newChild) {\n var debugTask = getCurrentDebugTask();\n null !== debugTask\n ? debugTask.run(\n throwOnInvalidObjectTypeImpl.bind(null, returnFiber, newChild)\n )\n : throwOnInvalidObjectTypeImpl(returnFiber, newChild);\n }\n function warnOnFunctionTypeImpl(returnFiber, invalidChild) {\n var parentName = getComponentNameFromFiber(returnFiber) || \"Component\";\n ownerHasFunctionTypeWarning[parentName] ||\n ((ownerHasFunctionTypeWarning[parentName] = !0),\n (invalidChild =\n invalidChild.displayName || invalidChild.name || \"Component\"),\n 3 === returnFiber.tag\n ? console.error(\n \"Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.\\n root.render(%s)\",\n invalidChild,\n invalidChild,\n invalidChild\n )\n : console.error(\n \"Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.\\n <%s>{%s}</%s>\",\n invalidChild,\n invalidChild,\n parentName,\n invalidChild,\n parentName\n ));\n }\n function warnOnFunctionType(returnFiber, invalidChild) {\n var debugTask = getCurrentDebugTask();\n null !== debugTask\n ? debugTask.run(\n warnOnFunctionTypeImpl.bind(null, returnFiber, invalidChild)\n )\n : warnOnFunctionTypeImpl(returnFiber, invalidChild);\n }\n function warnOnSymbolTypeImpl(returnFiber, invalidChild) {\n var parentName = getComponentNameFromFiber(returnFiber) || \"Component\";\n ownerHasSymbolTypeWarning[parentName] ||\n ((ownerHasSymbolTypeWarning[parentName] = !0),\n (invalidChild = String(invalidChild)),\n 3 === returnFiber.tag\n ? console.error(\n \"Symbols are not valid as a React child.\\n root.render(%s)\",\n invalidChild\n )\n : console.error(\n \"Symbols are not valid as a React child.\\n <%s>%s</%s>\",\n parentName,\n invalidChild,\n parentName\n ));\n }\n function warnOnSymbolType(returnFiber, invalidChild) {\n var debugTask = getCurrentDebugTask();\n null !== debugTask\n ? debugTask.run(\n warnOnSymbolTypeImpl.bind(null, returnFiber, invalidChild)\n )\n : warnOnSymbolTypeImpl(returnFiber, invalidChild);\n }\n function createChildReconciler(shouldTrackSideEffects) {\n function deleteChild(returnFiber, childToDelete) {\n if (shouldTrackSideEffects) {\n var deletions = returnFiber.deletions;\n null === deletions\n ? ((returnFiber.deletions = [childToDelete]),\n (returnFiber.flags |= 16))\n : deletions.push(childToDelete);\n }\n }\n function deleteRemainingChildren(returnFiber, currentFirstChild) {\n if (!shouldTrackSideEffects) return null;\n for (; null !== currentFirstChild; )\n deleteChild(returnFiber, currentFirstChild),\n (currentFirstChild = currentFirstChild.sibling);\n return null;\n }\n function mapRemainingChildren(currentFirstChild) {\n for (var existingChildren = new Map(); null !== currentFirstChild; )\n null === currentFirstChild.key\n ? existingChildren.set(currentFirstChild.index, currentFirstChild)\n : existingChildren.set(currentFirstChild.key, currentFirstChild),\n (currentFirstChild = currentFirstChild.sibling);\n return existingChildren;\n }\n function useFiber(fiber, pendingProps) {\n fiber = createWorkInProgress(fiber, pendingProps);\n fiber.index = 0;\n fiber.sibling = null;\n return fiber;\n }\n function placeChild(newFiber, lastPlacedIndex, newIndex) {\n newFiber.index = newIndex;\n if (!shouldTrackSideEffects)\n return (newFiber.flags |= 1048576), lastPlacedIndex;\n newIndex = newFiber.alternate;\n if (null !== newIndex)\n return (\n (newIndex = newIndex.index),\n newIndex < lastPlacedIndex\n ? ((newFiber.flags |= 134217730), lastPlacedIndex)\n : newIndex\n );\n newFiber.flags |= 134217730;\n return lastPlacedIndex;\n }\n function placeSingleChild(newFiber) {\n shouldTrackSideEffects &&\n null === newFiber.alternate &&\n (newFiber.flags |= 134217730);\n return newFiber;\n }\n function updateTextNode(returnFiber, current, textContent, lanes) {\n if (null === current || 6 !== current.tag)\n return (\n (current = createFiberFromText(\n textContent,\n returnFiber.mode,\n lanes\n )),\n (current.return = returnFiber),\n (current._debugOwner = returnFiber),\n (current._debugTask = returnFiber._debugTask),\n (current._debugInfo = currentDebugInfo),\n current\n );\n current = useFiber(current, textContent);\n current.return = returnFiber;\n current._debugInfo = currentDebugInfo;\n return current;\n }\n function updateElement(returnFiber, current, element, lanes) {\n var elementType = element.type;\n if (elementType === REACT_FRAGMENT_TYPE)\n return (\n (current = updateFragment(\n returnFiber,\n current,\n element.props.children,\n lanes,\n element.key\n )),\n coerceRef(current, element),\n validateFragmentProps(element, current, returnFiber),\n current\n );\n if (\n null !== current &&\n (current.elementType === elementType ||\n isCompatibleFamilyForHotReloading(current, element) ||\n (\"object\" === typeof elementType &&\n null !== elementType &&\n elementType.$$typeof === REACT_LAZY_TYPE &&\n resolveLazy(elementType) === current.type))\n )\n return (\n (current = useFiber(current, element.props)),\n coerceRef(current, element),\n (current.return = returnFiber),\n (current._debugOwner = element._owner),\n (current._debugInfo = currentDebugInfo),\n current\n );\n current = createFiberFromElement(element, returnFiber.mode, lanes);\n coerceRef(current, element);\n current.return = returnFiber;\n current._debugInfo = currentDebugInfo;\n return current;\n }\n function updatePortal(returnFiber, current, portal, lanes) {\n if (\n null === current ||\n 4 !== current.tag ||\n current.stateNode.containerInfo !== portal.containerInfo ||\n current.stateNode.implementation !== portal.implementation\n )\n return (\n (current = createFiberFromPortal(portal, returnFiber.mode, lanes)),\n (current.return = returnFiber),\n (current._debugInfo = currentDebugInfo),\n current\n );\n current = useFiber(current, portal.children || []);\n current.return = returnFiber;\n current._debugInfo = currentDebugInfo;\n return current;\n }\n function updateFragment(returnFiber, current, fragment, lanes, key) {\n if (null === current || 7 !== current.tag)\n return (\n (current = createFiberFromFragment(\n fragment,\n returnFiber.mode,\n lanes,\n key\n )),\n (current.return = returnFiber),\n (current._debugOwner = returnFiber),\n (current._debugTask = returnFiber._debugTask),\n (current._debugInfo = currentDebugInfo),\n current\n );\n current = useFiber(current, fragment);\n current.return = returnFiber;\n current._debugInfo = currentDebugInfo;\n return current;\n }\n function createChild(returnFiber, newChild, lanes) {\n if (\n (\"string\" === typeof newChild && \"\" !== newChild) ||\n \"number\" === typeof newChild ||\n \"bigint\" === typeof newChild\n )\n return (\n (newChild = createFiberFromText(\n \"\" + newChild,\n returnFiber.mode,\n lanes\n )),\n (newChild.return = returnFiber),\n (newChild._debugOwner = returnFiber),\n (newChild._debugTask = returnFiber._debugTask),\n (newChild._debugInfo = currentDebugInfo),\n newChild\n );\n if (\"object\" === typeof newChild && null !== newChild) {\n switch (newChild.$$typeof) {\n case REACT_ELEMENT_TYPE:\n return (\n (lanes = createFiberFromElement(\n newChild,\n returnFiber.mode,\n lanes\n )),\n coerceRef(lanes, newChild),\n (lanes.return = returnFiber),\n (returnFiber = pushDebugInfo(newChild._debugInfo)),\n (lanes._debugInfo = currentDebugInfo),\n (currentDebugInfo = returnFiber),\n lanes\n );\n case REACT_PORTAL_TYPE:\n return (\n (newChild = createFiberFromPortal(\n newChild,\n returnFiber.mode,\n lanes\n )),\n (newChild.return = returnFiber),\n (newChild._debugInfo = currentDebugInfo),\n newChild\n );\n case REACT_LAZY_TYPE:\n var _prevDebugInfo = pushDebugInfo(newChild._debugInfo);\n newChild = resolveLazy(newChild);\n returnFiber = createChild(returnFiber, newChild, lanes);\n currentDebugInfo = _prevDebugInfo;\n return returnFiber;\n }\n if (isArrayImpl(newChild) || getIteratorFn(newChild))\n return (\n (lanes = createFiberFromFragment(\n newChild,\n returnFiber.mode,\n lanes,\n null\n )),\n (lanes.return = returnFiber),\n (lanes._debugOwner = returnFiber),\n (lanes._debugTask = returnFiber._debugTask),\n (returnFiber = pushDebugInfo(newChild._debugInfo)),\n (lanes._debugInfo = currentDebugInfo),\n (currentDebugInfo = returnFiber),\n lanes\n );\n if (\"function\" === typeof newChild.then)\n return (\n (_prevDebugInfo = pushDebugInfo(newChild._debugInfo)),\n (returnFiber = createChild(\n returnFiber,\n unwrapThenable(newChild),\n lanes\n )),\n (currentDebugInfo = _prevDebugInfo),\n returnFiber\n );\n if (newChild.$$typeof === REACT_CONTEXT_TYPE)\n return createChild(\n returnFiber,\n readContextDuringReconciliation(returnFiber, newChild),\n lanes\n );\n throwOnInvalidObjectType(returnFiber, newChild);\n }\n \"function\" === typeof newChild &&\n warnOnFunctionType(returnFiber, newChild);\n \"symbol\" === typeof newChild && warnOnSymbolType(returnFiber, newChild);\n return null;\n }\n function updateSlot(returnFiber, oldFiber, newChild, lanes) {\n var key = null !== oldFiber ? oldFiber.key : null;\n if (\n (\"string\" === typeof newChild && \"\" !== newChild) ||\n \"number\" === typeof newChild ||\n \"bigint\" === typeof newChild\n )\n return null !== key\n ? null\n : updateTextNode(returnFiber, oldFiber, \"\" + newChild, lanes);\n if (\"object\" === typeof newChild && null !== newChild) {\n switch (newChild.$$typeof) {\n case REACT_ELEMENT_TYPE:\n return newChild.key === key\n ? ((key = pushDebugInfo(newChild._debugInfo)),\n (returnFiber = updateElement(\n returnFiber,\n oldFiber,\n newChild,\n lanes\n )),\n (currentDebugInfo = key),\n returnFiber)\n : null;\n case REACT_PORTAL_TYPE:\n return newChild.key === key\n ? updatePortal(returnFiber, oldFiber, newChild, lanes)\n : null;\n case REACT_LAZY_TYPE:\n return (\n (key = pushDebugInfo(newChild._debugInfo)),\n (newChild = resolveLazy(newChild)),\n (returnFiber = updateSlot(\n returnFiber,\n oldFiber,\n newChild,\n lanes\n )),\n (currentDebugInfo = key),\n returnFiber\n );\n }\n if (isArrayImpl(newChild) || getIteratorFn(newChild)) {\n if (null !== key) return null;\n key = pushDebugInfo(newChild._debugInfo);\n returnFiber = updateFragment(\n returnFiber,\n oldFiber,\n newChild,\n lanes,\n null\n );\n currentDebugInfo = key;\n return returnFiber;\n }\n if (\"function\" === typeof newChild.then)\n return (\n (key = pushDebugInfo(newChild._debugInfo)),\n (returnFiber = updateSlot(\n returnFiber,\n oldFiber,\n unwrapThenable(newChild),\n lanes\n )),\n (currentDebugInfo = key),\n returnFiber\n );\n if (newChild.$$typeof === REACT_CONTEXT_TYPE)\n return updateSlot(\n returnFiber,\n oldFiber,\n readContextDuringReconciliation(returnFiber, newChild),\n lanes\n );\n throwOnInvalidObjectType(returnFiber, newChild);\n }\n \"function\" === typeof newChild &&\n warnOnFunctionType(returnFiber, newChild);\n \"symbol\" === typeof newChild && warnOnSymbolType(returnFiber, newChild);\n return null;\n }\n function updateFromMap(\n existingChildren,\n returnFiber,\n newIdx,\n newChild,\n lanes\n ) {\n if (\n (\"string\" === typeof newChild && \"\" !== newChild) ||\n \"number\" === typeof newChild ||\n \"bigint\" === typeof newChild\n )\n return (\n (existingChildren = existingChildren.get(newIdx) || null),\n updateTextNode(returnFiber, existingChildren, \"\" + newChild, lanes)\n );\n if (\"object\" === typeof newChild && null !== newChild) {\n switch (newChild.$$typeof) {\n case REACT_ELEMENT_TYPE:\n return (\n (newIdx =\n existingChildren.get(\n null === newChild.key ? newIdx : newChild.key\n ) || null),\n (existingChildren = pushDebugInfo(newChild._debugInfo)),\n (returnFiber = updateElement(\n returnFiber,\n newIdx,\n newChild,\n lanes\n )),\n (currentDebugInfo = existingChildren),\n returnFiber\n );\n case REACT_PORTAL_TYPE:\n return (\n (existingChildren =\n existingChildren.get(\n null === newChild.key ? newIdx : newChild.key\n ) || null),\n updatePortal(returnFiber, existingChildren, newChild, lanes)\n );\n case REACT_LAZY_TYPE:\n var _prevDebugInfo7 = pushDebugInfo(newChild._debugInfo);\n newChild = resolveLazy(newChild);\n returnFiber = updateFromMap(\n existingChildren,\n returnFiber,\n newIdx,\n newChild,\n lanes\n );\n currentDebugInfo = _prevDebugInfo7;\n return returnFiber;\n }\n if (isArrayImpl(newChild) || getIteratorFn(newChild))\n return (\n (newIdx = existingChildren.get(newIdx) || null),\n (existingChildren = pushDebugInfo(newChild._debugInfo)),\n (returnFiber = updateFragment(\n returnFiber,\n newIdx,\n newChild,\n lanes,\n null\n )),\n (currentDebugInfo = existingChildren),\n returnFiber\n );\n if (\"function\" === typeof newChild.then)\n return (\n (_prevDebugInfo7 = pushDebugInfo(newChild._debugInfo)),\n (returnFiber = updateFromMap(\n existingChildren,\n returnFiber,\n newIdx,\n unwrapThenable(newChild),\n lanes\n )),\n (currentDebugInfo = _prevDebugInfo7),\n returnFiber\n );\n if (newChild.$$typeof === REACT_CONTEXT_TYPE)\n return updateFromMap(\n existingChildren,\n returnFiber,\n newIdx,\n readContextDuringReconciliation(returnFiber, newChild),\n lanes\n );\n throwOnInvalidObjectType(returnFiber, newChild);\n }\n \"function\" === typeof newChild &&\n warnOnFunctionType(returnFiber, newChild);\n \"symbol\" === typeof newChild && warnOnSymbolType(returnFiber, newChild);\n return null;\n }\n function warnOnInvalidKey(returnFiber, workInProgress, child, knownKeys) {\n if (\"object\" !== typeof child || null === child) return knownKeys;\n switch (child.$$typeof) {\n case REACT_ELEMENT_TYPE:\n case REACT_PORTAL_TYPE:\n warnForMissingKey(returnFiber, workInProgress, child);\n var key = child.key;\n if (\"string\" !== typeof key) break;\n if (null === knownKeys) {\n knownKeys = new Set();\n knownKeys.add(key);\n break;\n }\n if (!knownKeys.has(key)) {\n knownKeys.add(key);\n break;\n }\n runWithFiberInDEV(workInProgress, function () {\n console.error(\n \"Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted \\u2014 the behavior is unsupported and could change in a future version.\",\n key\n );\n });\n break;\n case REACT_LAZY_TYPE:\n (child = resolveLazy(child)),\n warnOnInvalidKey(returnFiber, workInProgress, child, knownKeys);\n }\n return knownKeys;\n }\n function reconcileChildrenArray(\n returnFiber,\n currentFirstChild,\n newChildren,\n lanes\n ) {\n for (\n var knownKeys = null,\n resultingFirstChild = null,\n previousNewFiber = null,\n oldFiber = currentFirstChild,\n newIdx = (currentFirstChild = 0),\n nextOldFiber = null;\n null !== oldFiber && newIdx < newChildren.length;\n newIdx++\n ) {\n oldFiber.index > newIdx\n ? ((nextOldFiber = oldFiber), (oldFiber = null))\n : (nextOldFiber = oldFiber.sibling);\n var newFiber = updateSlot(\n returnFiber,\n oldFiber,\n newChildren[newIdx],\n lanes\n );\n if (null === newFiber) {\n null === oldFiber && (oldFiber = nextOldFiber);\n break;\n }\n knownKeys = warnOnInvalidKey(\n returnFiber,\n newFiber,\n newChildren[newIdx],\n knownKeys\n );\n shouldTrackSideEffects &&\n oldFiber &&\n null === newFiber.alternate &&\n deleteChild(returnFiber, oldFiber);\n currentFirstChild = placeChild(newFiber, currentFirstChild, newIdx);\n null === previousNewFiber\n ? (resultingFirstChild = newFiber)\n : (previousNewFiber.sibling = newFiber);\n previousNewFiber = newFiber;\n oldFiber = nextOldFiber;\n }\n if (newIdx === newChildren.length)\n return (\n deleteRemainingChildren(returnFiber, oldFiber),\n isHydrating && pushTreeFork(returnFiber, newIdx),\n resultingFirstChild\n );\n if (null === oldFiber) {\n for (; newIdx < newChildren.length; newIdx++)\n (oldFiber = createChild(returnFiber, newChildren[newIdx], lanes)),\n null !== oldFiber &&\n ((knownKeys = warnOnInvalidKey(\n returnFiber,\n oldFiber,\n newChildren[newIdx],\n knownKeys\n )),\n (currentFirstChild = placeChild(\n oldFiber,\n currentFirstChild,\n newIdx\n )),\n null === previousNewFiber\n ? (resultingFirstChild = oldFiber)\n : (previousNewFiber.sibling = oldFiber),\n (previousNewFiber = oldFiber));\n isHydrating && pushTreeFork(returnFiber, newIdx);\n return resultingFirstChild;\n }\n for (\n oldFiber = mapRemainingChildren(oldFiber);\n newIdx < newChildren.length;\n newIdx++\n )\n (nextOldFiber = updateFromMap(\n oldFiber,\n returnFiber,\n newIdx,\n newChildren[newIdx],\n lanes\n )),\n null !== nextOldFiber &&\n ((knownKeys = warnOnInvalidKey(\n returnFiber,\n nextOldFiber,\n newChildren[newIdx],\n knownKeys\n )),\n shouldTrackSideEffects &&\n ((newFiber = nextOldFiber.alternate),\n null !== newFiber &&\n oldFiber.delete(\n null === newFiber.key ? newIdx : newFiber.key\n )),\n (currentFirstChild = placeChild(\n nextOldFiber,\n currentFirstChild,\n newIdx\n )),\n null === previousNewFiber\n ? (resultingFirstChild = nextOldFiber)\n : (previousNewFiber.sibling = nextOldFiber),\n (previousNewFiber = nextOldFiber));\n shouldTrackSideEffects &&\n oldFiber.forEach(function (child) {\n return deleteChild(returnFiber, child);\n });\n isHydrating && pushTreeFork(returnFiber, newIdx);\n return resultingFirstChild;\n }\n function reconcileChildrenIterator(\n returnFiber,\n currentFirstChild,\n newChildren,\n lanes\n ) {\n if (null == newChildren)\n throw Error(\"An iterable object provided no iterator.\");\n for (\n var resultingFirstChild = null,\n previousNewFiber = null,\n oldFiber = currentFirstChild,\n newIdx = (currentFirstChild = 0),\n nextOldFiber = null,\n knownKeys = null,\n step = newChildren.next();\n null !== oldFiber && !step.done;\n newIdx++, step = newChildren.next()\n ) {\n oldFiber.index > newIdx\n ? ((nextOldFiber = oldFiber), (oldFiber = null))\n : (nextOldFiber = oldFiber.sibling);\n var newFiber = updateSlot(returnFiber, oldFiber, step.value, lanes);\n if (null === newFiber) {\n null === oldFiber && (oldFiber = nextOldFiber);\n break;\n }\n knownKeys = warnOnInvalidKey(\n returnFiber,\n newFiber,\n step.value,\n knownKeys\n );\n shouldTrackSideEffects &&\n oldFiber &&\n null === newFiber.alternate &&\n deleteChild(returnFiber, oldFiber);\n currentFirstChild = placeChild(newFiber, currentFirstChild, newIdx);\n null === previousNewFiber\n ? (resultingFirstChild = newFiber)\n : (previousNewFiber.sibling = newFiber);\n previousNewFiber = newFiber;\n oldFiber = nextOldFiber;\n }\n if (step.done)\n return (\n deleteRemainingChildren(returnFiber, oldFiber),\n isHydrating && pushTreeFork(returnFiber, newIdx),\n resultingFirstChild\n );\n if (null === oldFiber) {\n for (; !step.done; newIdx++, step = newChildren.next())\n (oldFiber = createChild(returnFiber, step.value, lanes)),\n null !== oldFiber &&\n ((knownKeys = warnOnInvalidKey(\n returnFiber,\n oldFiber,\n step.value,\n knownKeys\n )),\n (currentFirstChild = placeChild(\n oldFiber,\n currentFirstChild,\n newIdx\n )),\n null === previousNewFiber\n ? (resultingFirstChild = oldFiber)\n : (previousNewFiber.sibling = oldFiber),\n (previousNewFiber = oldFiber));\n isHydrating && pushTreeFork(returnFiber, newIdx);\n return resultingFirstChild;\n }\n for (\n oldFiber = mapRemainingChildren(oldFiber);\n !step.done;\n newIdx++, step = newChildren.next()\n )\n (nextOldFiber = updateFromMap(\n oldFiber,\n returnFiber,\n newIdx,\n step.value,\n lanes\n )),\n null !== nextOldFiber &&\n ((knownKeys = warnOnInvalidKey(\n returnFiber,\n nextOldFiber,\n step.value,\n knownKeys\n )),\n shouldTrackSideEffects &&\n ((step = nextOldFiber.alternate),\n null !== step &&\n oldFiber.delete(null === step.key ? newIdx : step.key)),\n (currentFirstChild = placeChild(\n nextOldFiber,\n currentFirstChild,\n newIdx\n )),\n null === previousNewFiber\n ? (resultingFirstChild = nextOldFiber)\n : (previousNewFiber.sibling = nextOldFiber),\n (previousNewFiber = nextOldFiber));\n shouldTrackSideEffects &&\n oldFiber.forEach(function (child) {\n return deleteChild(returnFiber, child);\n });\n isHydrating && pushTreeFork(returnFiber, newIdx);\n return resultingFirstChild;\n }\n function reconcileChildFibersImpl(\n returnFiber,\n currentFirstChild,\n newChild,\n lanes\n ) {\n \"object\" === typeof newChild &&\n null !== newChild &&\n newChild.type === REACT_FRAGMENT_TYPE &&\n null === newChild.key &&\n void 0 === newChild.props.ref &&\n (validateFragmentProps(newChild, null, returnFiber),\n (newChild = newChild.props.children));\n if (\"object\" === typeof newChild && null !== newChild) {\n switch (newChild.$$typeof) {\n case REACT_ELEMENT_TYPE:\n var prevDebugInfo = pushDebugInfo(newChild._debugInfo);\n a: {\n for (var key = newChild.key; null !== currentFirstChild; ) {\n if (currentFirstChild.key === key) {\n key = newChild.type;\n if (key === REACT_FRAGMENT_TYPE) {\n if (7 === currentFirstChild.tag) {\n deleteRemainingChildren(\n returnFiber,\n currentFirstChild.sibling\n );\n lanes = useFiber(\n currentFirstChild,\n newChild.props.children\n );\n coerceRef(lanes, newChild);\n lanes.return = returnFiber;\n lanes._debugOwner = newChild._owner;\n lanes._debugInfo = currentDebugInfo;\n validateFragmentProps(newChild, lanes, returnFiber);\n returnFiber = lanes;\n break a;\n }\n } else if (\n currentFirstChild.elementType === key ||\n isCompatibleFamilyForHotReloading(\n currentFirstChild,\n newChild\n ) ||\n (\"object\" === typeof key &&\n null !== key &&\n key.$$typeof === REACT_LAZY_TYPE &&\n resolveLazy(key) === currentFirstChild.type)\n ) {\n deleteRemainingChildren(\n returnFiber,\n currentFirstChild.sibling\n );\n lanes = useFiber(currentFirstChild, newChild.props);\n coerceRef(lanes, newChild);\n lanes.return = returnFiber;\n lanes._debugOwner = newChild._owner;\n lanes._debugInfo = currentDebugInfo;\n returnFiber = lanes;\n break a;\n }\n deleteRemainingChildren(returnFiber, currentFirstChild);\n break;\n } else deleteChild(returnFiber, currentFirstChild);\n currentFirstChild = currentFirstChild.sibling;\n }\n newChild.type === REACT_FRAGMENT_TYPE\n ? ((lanes = createFiberFromFragment(\n newChild.props.children,\n returnFiber.mode,\n lanes,\n newChild.key\n )),\n coerceRef(lanes, newChild),\n (lanes.return = returnFiber),\n (lanes._debugOwner = returnFiber),\n (lanes._debugTask = returnFiber._debugTask),\n (lanes._debugInfo = currentDebugInfo),\n validateFragmentProps(newChild, lanes, returnFiber),\n (returnFiber = lanes))\n : ((lanes = createFiberFromElement(\n newChild,\n returnFiber.mode,\n lanes\n )),\n coerceRef(lanes, newChild),\n (lanes.return = returnFiber),\n (lanes._debugInfo = currentDebugInfo),\n (returnFiber = lanes));\n }\n returnFiber = placeSingleChild(returnFiber);\n currentDebugInfo = prevDebugInfo;\n return returnFiber;\n case REACT_PORTAL_TYPE:\n a: {\n prevDebugInfo = newChild;\n for (\n newChild = prevDebugInfo.key;\n null !== currentFirstChild;\n\n ) {\n if (currentFirstChild.key === newChild)\n if (\n 4 === currentFirstChild.tag &&\n currentFirstChild.stateNode.containerInfo ===\n prevDebugInfo.containerInfo &&\n currentFirstChild.stateNode.implementation ===\n prevDebugInfo.implementation\n ) {\n deleteRemainingChildren(\n returnFiber,\n currentFirstChild.sibling\n );\n lanes = useFiber(\n currentFirstChild,\n prevDebugInfo.children || []\n );\n lanes.return = returnFiber;\n returnFiber = lanes;\n break a;\n } else {\n deleteRemainingChildren(returnFiber, currentFirstChild);\n break;\n }\n else deleteChild(returnFiber, currentFirstChild);\n currentFirstChild = currentFirstChild.sibling;\n }\n lanes = createFiberFromPortal(\n prevDebugInfo,\n returnFiber.mode,\n lanes\n );\n lanes.return = returnFiber;\n returnFiber = lanes;\n }\n return placeSingleChild(returnFiber);\n case REACT_LAZY_TYPE:\n return (\n (prevDebugInfo = pushDebugInfo(newChild._debugInfo)),\n (newChild = resolveLazy(newChild)),\n (returnFiber = reconcileChildFibersImpl(\n returnFiber,\n currentFirstChild,\n newChild,\n lanes\n )),\n (currentDebugInfo = prevDebugInfo),\n returnFiber\n );\n }\n if (isArrayImpl(newChild))\n return (\n (prevDebugInfo = pushDebugInfo(newChild._debugInfo)),\n (returnFiber = reconcileChildrenArray(\n returnFiber,\n currentFirstChild,\n newChild,\n lanes\n )),\n (currentDebugInfo = prevDebugInfo),\n returnFiber\n );\n if (getIteratorFn(newChild)) {\n prevDebugInfo = pushDebugInfo(newChild._debugInfo);\n key = getIteratorFn(newChild);\n if (\"function\" !== typeof key)\n throw Error(\n \"An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.\"\n );\n var newChildren = key.call(newChild);\n if (newChildren === newChild) {\n if (\n 0 !== returnFiber.tag ||\n \"[object GeneratorFunction]\" !==\n Object.prototype.toString.call(returnFiber.type) ||\n \"[object Generator]\" !==\n Object.prototype.toString.call(newChildren)\n )\n didWarnAboutGenerators ||\n console.error(\n \"Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items.\"\n ),\n (didWarnAboutGenerators = !0);\n } else\n newChild.entries !== key ||\n didWarnAboutMaps ||\n (console.error(\n \"Using Maps as children is not supported. Use an array of keyed ReactElements instead.\"\n ),\n (didWarnAboutMaps = !0));\n returnFiber = reconcileChildrenIterator(\n returnFiber,\n currentFirstChild,\n newChildren,\n lanes\n );\n currentDebugInfo = prevDebugInfo;\n return returnFiber;\n }\n if (\"function\" === typeof newChild.then)\n return (\n (prevDebugInfo = pushDebugInfo(newChild._debugInfo)),\n (returnFiber = reconcileChildFibersImpl(\n returnFiber,\n currentFirstChild,\n unwrapThenable(newChild),\n lanes\n )),\n (currentDebugInfo = prevDebugInfo),\n returnFiber\n );\n if (newChild.$$typeof === REACT_CONTEXT_TYPE)\n return reconcileChildFibersImpl(\n returnFiber,\n currentFirstChild,\n readContextDuringReconciliation(returnFiber, newChild),\n lanes\n );\n throwOnInvalidObjectType(returnFiber, newChild);\n }\n if (\n (\"string\" === typeof newChild && \"\" !== newChild) ||\n \"number\" === typeof newChild ||\n \"bigint\" === typeof newChild\n )\n return (\n (prevDebugInfo = \"\" + newChild),\n null !== currentFirstChild && 6 === currentFirstChild.tag\n ? (deleteRemainingChildren(\n returnFiber,\n currentFirstChild.sibling\n ),\n (lanes = useFiber(currentFirstChild, prevDebugInfo)),\n (lanes.return = returnFiber),\n (returnFiber = lanes))\n : (deleteRemainingChildren(returnFiber, currentFirstChild),\n (lanes = createFiberFromText(\n prevDebugInfo,\n returnFiber.mode,\n lanes\n )),\n (lanes.return = returnFiber),\n (lanes._debugOwner = returnFiber),\n (lanes._debugTask = returnFiber._debugTask),\n (lanes._debugInfo = currentDebugInfo),\n (returnFiber = lanes)),\n placeSingleChild(returnFiber)\n );\n \"function\" === typeof newChild &&\n warnOnFunctionType(returnFiber, newChild);\n \"symbol\" === typeof newChild && warnOnSymbolType(returnFiber, newChild);\n return deleteRemainingChildren(returnFiber, currentFirstChild);\n }\n return function (returnFiber, currentFirstChild, newChild, lanes) {\n var prevDebugInfo = currentDebugInfo;\n currentDebugInfo = null;\n try {\n thenableIndexCounter$1 = 0;\n var firstChildFiber = reconcileChildFibersImpl(\n returnFiber,\n currentFirstChild,\n newChild,\n lanes\n );\n thenableState$1 = null;\n return firstChildFiber;\n } catch (x) {\n if (x === SuspenseException || x === SuspenseActionException) throw x;\n var fiber = createFiber(29, x, null, returnFiber.mode);\n fiber.lanes = lanes;\n fiber.return = returnFiber;\n var debugInfo = (fiber._debugInfo = currentDebugInfo);\n fiber._debugOwner = returnFiber._debugOwner;\n fiber._debugTask = returnFiber._debugTask;\n if (null != debugInfo)\n for (var i = debugInfo.length - 1; 0 <= i; i--)\n if (\"string\" === typeof debugInfo[i].stack) {\n fiber._debugOwner = debugInfo[i];\n fiber._debugTask = debugInfo[i].debugTask;\n break;\n }\n return fiber;\n } finally {\n currentDebugInfo = prevDebugInfo;\n }\n };\n }\n function validateSuspenseListNestedChild(childSlot, index) {\n var isAnArray = isArrayImpl(childSlot);\n childSlot = !isAnArray && \"function\" === typeof getIteratorFn(childSlot);\n return isAnArray || childSlot\n ? ((isAnArray = isAnArray ? \"array\" : \"iterable\"),\n console.error(\n \"A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>\",\n isAnArray,\n index,\n isAnArray\n ),\n !1)\n : !0;\n }\n function initializeUpdateQueue(fiber) {\n fiber.updateQueue = {\n baseState: fiber.memoizedState,\n firstBaseUpdate: null,\n lastBaseUpdate: null,\n shared: { pending: null, lanes: 0, hiddenCallbacks: null },\n callbacks: null\n };\n }\n function cloneUpdateQueue(current, workInProgress) {\n current = current.updateQueue;\n workInProgress.updateQueue === current &&\n (workInProgress.updateQueue = {\n baseState: current.baseState,\n firstBaseUpdate: current.firstBaseUpdate,\n lastBaseUpdate: current.lastBaseUpdate,\n shared: current.shared,\n callbacks: null\n });\n }\n function createUpdate(lane) {\n return {\n lane: lane,\n tag: UpdateState,\n payload: null,\n callback: null,\n next: null\n };\n }\n function enqueueUpdate(fiber, update, lane) {\n var updateQueue = fiber.updateQueue;\n if (null === updateQueue) return null;\n updateQueue = updateQueue.shared;\n if (\n currentlyProcessingQueue === updateQueue &&\n !didWarnUpdateInsideUpdate\n ) {\n var componentName = getComponentNameFromFiber(fiber);\n console.error(\n \"An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.\\n\\nPlease update the following component: %s\",\n componentName\n );\n didWarnUpdateInsideUpdate = !0;\n }\n if ((executionContext & RenderContext) !== NoContext)\n return (\n (componentName = updateQueue.pending),\n null === componentName\n ? (update.next = update)\n : ((update.next = componentName.next),\n (componentName.next = update)),\n (updateQueue.pending = update),\n (update = getRootForUpdatedFiber(fiber)),\n markUpdateLaneFromFiberToRoot(fiber, null, lane),\n update\n );\n enqueueUpdate$1(fiber, updateQueue, update, lane);\n return getRootForUpdatedFiber(fiber);\n }\n function entangleTransitions(root, fiber, lane) {\n fiber = fiber.updateQueue;\n if (null !== fiber && ((fiber = fiber.shared), 0 !== (lane & 4194048))) {\n var queueLanes = fiber.lanes;\n queueLanes &= root.pendingLanes;\n lane |= queueLanes;\n fiber.lanes = lane;\n markRootEntangled(root, lane);\n }\n }\n function enqueueCapturedUpdate(workInProgress, capturedUpdate) {\n var queue = workInProgress.updateQueue,\n current = workInProgress.alternate;\n if (\n null !== current &&\n ((current = current.updateQueue), queue === current)\n ) {\n var newFirst = null,\n newLast = null;\n queue = queue.firstBaseUpdate;\n if (null !== queue) {\n do {\n var clone = {\n lane: queue.lane,\n tag: queue.tag,\n payload: queue.payload,\n callback: null,\n next: null\n };\n null === newLast\n ? (newFirst = newLast = clone)\n : (newLast = newLast.next = clone);\n queue = queue.next;\n } while (null !== queue);\n null === newLast\n ? (newFirst = newLast = capturedUpdate)\n : (newLast = newLast.next = capturedUpdate);\n } else newFirst = newLast = capturedUpdate;\n queue = {\n baseState: current.baseState,\n firstBaseUpdate: newFirst,\n lastBaseUpdate: newLast,\n shared: current.shared,\n callbacks: current.callbacks\n };\n workInProgress.updateQueue = queue;\n return;\n }\n workInProgress = queue.lastBaseUpdate;\n null === workInProgress\n ? (queue.firstBaseUpdate = capturedUpdate)\n : (workInProgress.next = capturedUpdate);\n queue.lastBaseUpdate = capturedUpdate;\n }\n function suspendIfUpdateReadFromEntangledAsyncAction() {\n if (didReadFromEntangledAsyncAction) {\n var entangledActionThenable = currentEntangledActionThenable;\n if (null !== entangledActionThenable) throw entangledActionThenable;\n }\n }\n function processUpdateQueue(\n workInProgress,\n props,\n instance$jscomp$0,\n renderLanes\n ) {\n didReadFromEntangledAsyncAction = !1;\n var queue = workInProgress.updateQueue;\n hasForceUpdate = !1;\n currentlyProcessingQueue = queue.shared;\n var firstBaseUpdate = queue.firstBaseUpdate,\n lastBaseUpdate = queue.lastBaseUpdate,\n pendingQueue = queue.shared.pending;\n if (null !== pendingQueue) {\n queue.shared.pending = null;\n var lastPendingUpdate = pendingQueue,\n firstPendingUpdate = lastPendingUpdate.next;\n lastPendingUpdate.next = null;\n null === lastBaseUpdate\n ? (firstBaseUpdate = firstPendingUpdate)\n : (lastBaseUpdate.next = firstPendingUpdate);\n lastBaseUpdate = lastPendingUpdate;\n var current = workInProgress.alternate;\n null !== current &&\n ((current = current.updateQueue),\n (pendingQueue = current.lastBaseUpdate),\n pendingQueue !== lastBaseUpdate &&\n (null === pendingQueue\n ? (current.firstBaseUpdate = firstPendingUpdate)\n : (pendingQueue.next = firstPendingUpdate),\n (current.lastBaseUpdate = lastPendingUpdate)));\n }\n if (null !== firstBaseUpdate) {\n var newState = queue.baseState;\n lastBaseUpdate = 0;\n current = firstPendingUpdate = lastPendingUpdate = null;\n pendingQueue = firstBaseUpdate;\n do {\n var updateLane = pendingQueue.lane & -536870913,\n isHiddenUpdate = updateLane !== pendingQueue.lane;\n if (\n isHiddenUpdate\n ? (workInProgressRootRenderLanes & updateLane) === updateLane\n : (renderLanes & updateLane) === updateLane\n ) {\n 0 !== updateLane &&\n updateLane === currentEntangledLane &&\n (didReadFromEntangledAsyncAction = !0);\n null !== current &&\n (current = current.next =\n {\n lane: 0,\n tag: pendingQueue.tag,\n payload: pendingQueue.payload,\n callback: null,\n next: null\n });\n a: {\n updateLane = workInProgress;\n var partialState = pendingQueue;\n var nextProps = props,\n instance = instance$jscomp$0;\n switch (partialState.tag) {\n case ReplaceState:\n partialState = partialState.payload;\n if (\"function\" === typeof partialState) {\n isDisallowedContextReadInDEV = !0;\n var nextState = partialState.call(\n instance,\n newState,\n nextProps\n );\n if (updateLane.mode & StrictLegacyMode) {\n setIsStrictModeForDevtools(!0);\n try {\n partialState.call(instance, newState, nextProps);\n } finally {\n setIsStrictModeForDevtools(!1);\n }\n }\n isDisallowedContextReadInDEV = !1;\n newState = nextState;\n break a;\n }\n newState = partialState;\n break a;\n case CaptureUpdate:\n updateLane.flags = (updateLane.flags & -65537) | 128;\n case UpdateState:\n nextState = partialState.payload;\n if (\"function\" === typeof nextState) {\n isDisallowedContextReadInDEV = !0;\n partialState = nextState.call(\n instance,\n newState,\n nextProps\n );\n if (updateLane.mode & StrictLegacyMode) {\n setIsStrictModeForDevtools(!0);\n try {\n nextState.call(instance, newState, nextProps);\n } finally {\n setIsStrictModeForDevtools(!1);\n }\n }\n isDisallowedContextReadInDEV = !1;\n } else partialState = nextState;\n if (null === partialState || void 0 === partialState) break a;\n newState = assign({}, newState, partialState);\n break a;\n case ForceUpdate:\n hasForceUpdate = !0;\n }\n }\n updateLane = pendingQueue.callback;\n null !== updateLane &&\n ((workInProgress.flags |= 64),\n isHiddenUpdate && (workInProgress.flags |= 8192),\n (isHiddenUpdate = queue.callbacks),\n null === isHiddenUpdate\n ? (queue.callbacks = [updateLane])\n : isHiddenUpdate.push(updateLane));\n } else\n (isHiddenUpdate = {\n lane: updateLane,\n tag: pendingQueue.tag,\n payload: pendingQueue.payload,\n callback: pendingQueue.callback,\n next: null\n }),\n null === current\n ? ((firstPendingUpdate = current = isHiddenUpdate),\n (lastPendingUpdate = newState))\n : (current = current.next = isHiddenUpdate),\n (lastBaseUpdate |= updateLane);\n pendingQueue = pendingQueue.next;\n if (null === pendingQueue)\n if (((pendingQueue = queue.shared.pending), null === pendingQueue))\n break;\n else\n (isHiddenUpdate = pendingQueue),\n (pendingQueue = isHiddenUpdate.next),\n (isHiddenUpdate.next = null),\n (queue.lastBaseUpdate = isHiddenUpdate),\n (queue.shared.pending = null);\n } while (1);\n null === current && (lastPendingUpdate = newState);\n queue.baseState = lastPendingUpdate;\n queue.firstBaseUpdate = firstPendingUpdate;\n queue.lastBaseUpdate = current;\n null === firstBaseUpdate && (queue.shared.lanes = 0);\n workInProgressRootSkippedLanes |= lastBaseUpdate;\n workInProgress.lanes = lastBaseUpdate;\n workInProgress.memoizedState = newState;\n }\n currentlyProcessingQueue = null;\n }\n function callCallback(callback, context) {\n if (\"function\" !== typeof callback)\n throw Error(\n \"Invalid argument passed as callback. Expected a function. Instead received: \" +\n callback\n );\n callback.call(context);\n }\n function commitHiddenCallbacks(updateQueue, context) {\n var hiddenCallbacks = updateQueue.shared.hiddenCallbacks;\n if (null !== hiddenCallbacks)\n for (\n updateQueue.shared.hiddenCallbacks = null, updateQueue = 0;\n updateQueue < hiddenCallbacks.length;\n updateQueue++\n )\n callCallback(hiddenCallbacks[updateQueue], context);\n }\n function commitCallbacks(updateQueue, context) {\n var callbacks = updateQueue.callbacks;\n if (null !== callbacks)\n for (\n updateQueue.callbacks = null, updateQueue = 0;\n updateQueue < callbacks.length;\n updateQueue++\n )\n callCallback(callbacks[updateQueue], context);\n }\n function pushHiddenContext(fiber, context) {\n var prevEntangledRenderLanes = entangledRenderLanes;\n push(prevEntangledRenderLanesCursor, prevEntangledRenderLanes, fiber);\n push(currentTreeHiddenStackCursor, context, fiber);\n entangledRenderLanes = prevEntangledRenderLanes | context.baseLanes;\n }\n function reuseHiddenContextOnStack(fiber) {\n push(prevEntangledRenderLanesCursor, entangledRenderLanes, fiber);\n push(\n currentTreeHiddenStackCursor,\n currentTreeHiddenStackCursor.current,\n fiber\n );\n }\n function popHiddenContext(fiber) {\n entangledRenderLanes = prevEntangledRenderLanesCursor.current;\n pop(currentTreeHiddenStackCursor, fiber);\n pop(prevEntangledRenderLanesCursor, fiber);\n }\n function pushPrimaryTreeSuspenseHandler(handler) {\n var current = handler.alternate;\n push(\n suspenseStackCursor,\n suspenseStackCursor.current & SubtreeSuspenseContextMask,\n handler\n );\n push(suspenseHandlerStackCursor, handler, handler);\n null === shellBoundary &&\n (null === current || null !== currentTreeHiddenStackCursor.current\n ? (shellBoundary = handler)\n : null !== current.memoizedState && (shellBoundary = handler));\n }\n function pushDehydratedActivitySuspenseHandler(fiber) {\n push(suspenseStackCursor, suspenseStackCursor.current, fiber);\n push(suspenseHandlerStackCursor, fiber, fiber);\n null === shellBoundary && (shellBoundary = fiber);\n }\n function pushOffscreenSuspenseHandler(fiber) {\n 22 === fiber.tag\n ? (push(suspenseStackCursor, suspenseStackCursor.current, fiber),\n push(suspenseHandlerStackCursor, fiber, fiber),\n null === shellBoundary && (shellBoundary = fiber))\n : reuseSuspenseHandlerOnStack(fiber);\n }\n function reuseSuspenseHandlerOnStack(fiber) {\n push(suspenseStackCursor, suspenseStackCursor.current, fiber);\n push(\n suspenseHandlerStackCursor,\n suspenseHandlerStackCursor.current,\n fiber\n );\n }\n function popSuspenseHandler(fiber) {\n pop(suspenseHandlerStackCursor, fiber);\n shellBoundary === fiber && (shellBoundary = null);\n pop(suspenseStackCursor, fiber);\n }\n function pushSuspenseListContext(fiber, newContext) {\n push(\n suspenseHandlerStackCursor,\n suspenseHandlerStackCursor.current,\n fiber\n );\n push(suspenseStackCursor, newContext, fiber);\n }\n function popSuspenseListContext(fiber) {\n pop(suspenseStackCursor, fiber);\n pop(suspenseHandlerStackCursor, fiber);\n shellBoundary === fiber && (shellBoundary = null);\n }\n function findFirstSuspended(row) {\n for (var node = row; null !== node; ) {\n if (13 === node.tag) {\n var state = node.memoizedState;\n if (\n null !== state &&\n ((state = state.dehydrated),\n null === state ||\n isSuspenseInstancePending(state) ||\n isSuspenseInstanceFallback(state))\n )\n return node;\n } else if (\n 19 === node.tag &&\n \"independent\" !== node.memoizedProps.revealOrder\n ) {\n if (0 !== (node.flags & 128)) return node;\n } else if (null !== node.child) {\n node.child.return = node;\n node = node.child;\n continue;\n }\n if (node === row) break;\n for (; null === node.sibling; ) {\n if (null === node.return || node.return === row) return null;\n node = node.return;\n }\n node.sibling.return = node.return;\n node = node.sibling;\n }\n return null;\n }\n function mountHookTypesDev() {\n var hookName = currentHookNameInDev;\n null === hookTypesDev\n ? (hookTypesDev = [hookName])\n : hookTypesDev.push(hookName);\n }\n function updateHookTypesDev() {\n var hookName = currentHookNameInDev;\n if (\n null !== hookTypesDev &&\n (hookTypesUpdateIndexDev++,\n hookTypesDev[hookTypesUpdateIndexDev] !== hookName)\n ) {\n var componentName = getComponentNameFromFiber(currentlyRenderingFiber);\n if (\n !didWarnAboutMismatchedHooksForComponent.has(componentName) &&\n (didWarnAboutMismatchedHooksForComponent.add(componentName),\n null !== hookTypesDev)\n ) {\n for (var table = \"\", i = 0; i <= hookTypesUpdateIndexDev; i++) {\n var oldHookName = hookTypesDev[i],\n newHookName =\n i === hookTypesUpdateIndexDev ? hookName : oldHookName;\n for (\n oldHookName = i + 1 + \". \" + oldHookName;\n 30 > oldHookName.length;\n\n )\n oldHookName += \" \";\n oldHookName += newHookName + \"\\n\";\n table += oldHookName;\n }\n console.error(\n \"React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks\\n\\n Previous render Next render\\n ------------------------------------------------------\\n%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n\",\n componentName,\n table\n );\n }\n }\n }\n function checkDepsAreArrayDev(deps) {\n void 0 === deps ||\n null === deps ||\n isArrayImpl(deps) ||\n console.error(\n \"%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.\",\n currentHookNameInDev,\n typeof deps\n );\n }\n function warnOnUseFormStateInDev() {\n var componentName = getComponentNameFromFiber(currentlyRenderingFiber);\n didWarnAboutUseFormState.has(componentName) ||\n (didWarnAboutUseFormState.add(componentName),\n console.error(\n \"ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.\",\n componentName\n ));\n }\n function throwInvalidHookError() {\n throw Error(\n \"Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\\n1. You might have mismatching versions of React and the renderer (such as React DOM)\\n2. You might be breaking the Rules of Hooks\\n3. You might have more than one copy of React in the same app\\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.\"\n );\n }\n function areHookInputsEqual(nextDeps, prevDeps) {\n if (ignorePreviousDependencies) return !1;\n if (null === prevDeps)\n return (\n console.error(\n \"%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.\",\n currentHookNameInDev\n ),\n !1\n );\n nextDeps.length !== prevDeps.length &&\n console.error(\n \"The final argument passed to %s changed size between renders. The order and size of this array must remain constant.\\n\\nPrevious: %s\\nIncoming: %s\",\n currentHookNameInDev,\n \"[\" + prevDeps.join(\", \") + \"]\",\n \"[\" + nextDeps.join(\", \") + \"]\"\n );\n for (var i = 0; i < prevDeps.length && i < nextDeps.length; i++)\n if (!objectIs(nextDeps[i], prevDeps[i])) return !1;\n return !0;\n }\n function renderWithHooks(\n current,\n workInProgress,\n Component,\n props,\n secondArg,\n nextRenderLanes\n ) {\n renderLanes = nextRenderLanes;\n currentlyRenderingFiber = workInProgress;\n hookTypesDev = null !== current ? current._debugHookTypes : null;\n hookTypesUpdateIndexDev = -1;\n ignorePreviousDependencies =\n null !== current && current.type !== workInProgress.type;\n if (\n \"[object AsyncFunction]\" ===\n Object.prototype.toString.call(Component) ||\n \"[object AsyncGeneratorFunction]\" ===\n Object.prototype.toString.call(Component)\n )\n (nextRenderLanes = getComponentNameFromFiber(currentlyRenderingFiber)),\n didWarnAboutAsyncClientComponent.has(nextRenderLanes) ||\n (didWarnAboutAsyncClientComponent.add(nextRenderLanes),\n console.error(\n \"%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.\",\n null === nextRenderLanes\n ? \"An unknown Component\"\n : \"<\" + nextRenderLanes + \">\"\n ));\n workInProgress.memoizedState = null;\n workInProgress.updateQueue = null;\n workInProgress.lanes = 0;\n ReactSharedInternals.H =\n null !== current && null !== current.memoizedState\n ? HooksDispatcherOnUpdateInDEV\n : null !== hookTypesDev\n ? HooksDispatcherOnMountWithHookTypesInDEV\n : HooksDispatcherOnMountInDEV;\n shouldDoubleInvokeUserFnsInHooksDEV = nextRenderLanes =\n (workInProgress.mode & StrictLegacyMode) !== NoMode;\n var children = callComponentInDEV(Component, props, secondArg);\n shouldDoubleInvokeUserFnsInHooksDEV = !1;\n didScheduleRenderPhaseUpdateDuringThisPass &&\n (children = renderWithHooksAgain(\n workInProgress,\n Component,\n props,\n secondArg\n ));\n if (nextRenderLanes) {\n setIsStrictModeForDevtools(!0);\n try {\n children = renderWithHooksAgain(\n workInProgress,\n Component,\n props,\n secondArg\n );\n } finally {\n setIsStrictModeForDevtools(!1);\n }\n }\n finishRenderingHooks(current, workInProgress);\n return children;\n }\n function finishRenderingHooks(current, workInProgress) {\n workInProgress._debugHookTypes = hookTypesDev;\n null === workInProgress.dependencies\n ? null !== thenableState &&\n (workInProgress.dependencies = {\n lanes: 0,\n firstContext: null,\n _debugThenableState: thenableState\n })\n : (workInProgress.dependencies._debugThenableState = thenableState);\n ReactSharedInternals.H = ContextOnlyDispatcher;\n var didRenderTooFewHooks =\n null !== currentHook && null !== currentHook.next;\n renderLanes = 0;\n hookTypesDev =\n currentHookNameInDev =\n workInProgressHook =\n currentHook =\n currentlyRenderingFiber =\n null;\n hookTypesUpdateIndexDev = -1;\n null !== current &&\n (current.flags & 132120576) !== (workInProgress.flags & 132120576) &&\n console.error(\n \"Internal React error: Expected static flag was missing. Please notify the React team.\"\n );\n didScheduleRenderPhaseUpdate = !1;\n thenableIndexCounter = 0;\n thenableState = null;\n if (didRenderTooFewHooks)\n throw Error(\n \"Rendered fewer hooks than expected. This may be caused by an accidental early return statement.\"\n );\n null === current ||\n didReceiveUpdate ||\n ((current = current.dependencies),\n null !== current &&\n checkIfContextChanged(current) &&\n (didReceiveUpdate = !0));\n needsToResetSuspendedThenableDEV\n ? ((needsToResetSuspendedThenableDEV = !1), (current = !0))\n : (current = !1);\n current &&\n ((workInProgress =\n getComponentNameFromFiber(workInProgress) || \"Unknown\"),\n didWarnAboutUseWrappedInTryCatch.has(workInProgress) ||\n didWarnAboutAsyncClientComponent.has(workInProgress) ||\n (didWarnAboutUseWrappedInTryCatch.add(workInProgress),\n console.error(\n \"`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.\"\n )));\n }\n function renderWithHooksAgain(workInProgress, Component, props, secondArg) {\n currentlyRenderingFiber = workInProgress;\n var numberOfReRenders = 0;\n do {\n didScheduleRenderPhaseUpdateDuringThisPass && (thenableState = null);\n thenableIndexCounter = 0;\n didScheduleRenderPhaseUpdateDuringThisPass = !1;\n if (numberOfReRenders >= RE_RENDER_LIMIT)\n throw Error(\n \"Too many re-renders. React limits the number of renders to prevent an infinite loop.\"\n );\n numberOfReRenders += 1;\n ignorePreviousDependencies = !1;\n workInProgressHook = currentHook = null;\n if (null != workInProgress.updateQueue) {\n var children = workInProgress.updateQueue;\n children.lastEffect = null;\n children.events = null;\n children.stores = null;\n null != children.memoCache && (children.memoCache.index = 0);\n }\n hookTypesUpdateIndexDev = -1;\n ReactSharedInternals.H = HooksDispatcherOnRerenderInDEV;\n children = callComponentInDEV(Component, props, secondArg);\n } while (didScheduleRenderPhaseUpdateDuringThisPass);\n return children;\n }\n function TransitionAwareHostComponent() {\n var dispatcher = ReactSharedInternals.H,\n maybeThenable = dispatcher.useState()[0];\n maybeThenable =\n \"function\" === typeof maybeThenable.then\n ? useThenable(maybeThenable)\n : maybeThenable;\n dispatcher = dispatcher.useState()[0];\n (null !== currentHook ? currentHook.memoizedState : null) !==\n dispatcher && (currentlyRenderingFiber.flags |= 1024);\n return maybeThenable;\n }\n function checkDidRenderIdHook() {\n var didRenderIdHook = 0 !== localIdCounter;\n localIdCounter = 0;\n return didRenderIdHook;\n }\n function bailoutHooks(current, workInProgress, lanes) {\n workInProgress.updateQueue = current.updateQueue;\n workInProgress.flags =\n (workInProgress.mode & StrictEffectsMode) !== NoMode\n ? workInProgress.flags & -805308421\n : workInProgress.flags & -2053;\n current.lanes &= ~lanes;\n }\n function resetHooksOnUnwind(workInProgress) {\n if (didScheduleRenderPhaseUpdate) {\n for (\n workInProgress = workInProgress.memoizedState;\n null !== workInProgress;\n\n ) {\n var queue = workInProgress.queue;\n null !== queue && (queue.pending = null);\n workInProgress = workInProgress.next;\n }\n didScheduleRenderPhaseUpdate = !1;\n }\n renderLanes = 0;\n hookTypesDev =\n workInProgressHook =\n currentHook =\n currentlyRenderingFiber =\n null;\n hookTypesUpdateIndexDev = -1;\n currentHookNameInDev = null;\n didScheduleRenderPhaseUpdateDuringThisPass = !1;\n thenableIndexCounter = localIdCounter = 0;\n thenableState = null;\n }\n function mountWorkInProgressHook() {\n var hook = {\n memoizedState: null,\n baseState: null,\n baseQueue: null,\n queue: null,\n next: null\n };\n null === workInProgressHook\n ? (currentlyRenderingFiber.memoizedState = workInProgressHook = hook)\n : (workInProgressHook = workInProgressHook.next = hook);\n return workInProgressHook;\n }\n function updateWorkInProgressHook() {\n if (null === currentHook) {\n var nextCurrentHook = currentlyRenderingFiber.alternate;\n nextCurrentHook =\n null !== nextCurrentHook ? nextCurrentHook.memoizedState : null;\n } else nextCurrentHook = currentHook.next;\n var nextWorkInProgressHook =\n null === workInProgressHook\n ? currentlyRenderingFiber.memoizedState\n : workInProgressHook.next;\n if (null !== nextWorkInProgressHook)\n (workInProgressHook = nextWorkInProgressHook),\n (currentHook = nextCurrentHook);\n else {\n if (null === nextCurrentHook) {\n if (null === currentlyRenderingFiber.alternate)\n throw Error(\n \"Update hook called on initial render. This is likely a bug in React. Please file an issue.\"\n );\n throw Error(\"Rendered more hooks than during the previous render.\");\n }\n currentHook = nextCurrentHook;\n nextCurrentHook = {\n memoizedState: currentHook.memoizedState,\n baseState: currentHook.baseState,\n baseQueue: currentHook.baseQueue,\n queue: currentHook.queue,\n next: null\n };\n null === workInProgressHook\n ? (currentlyRenderingFiber.memoizedState = workInProgressHook =\n nextCurrentHook)\n : (workInProgressHook = workInProgressHook.next = nextCurrentHook);\n }\n return workInProgressHook;\n }\n function createFunctionComponentUpdateQueue() {\n return { lastEffect: null, events: null, stores: null, memoCache: null };\n }\n function useThenable(thenable) {\n var index = thenableIndexCounter;\n thenableIndexCounter += 1;\n null === thenableState && (thenableState = createThenableState());\n thenable = trackUsedThenable(thenableState, thenable, index);\n index = currentlyRenderingFiber;\n null ===\n (null === workInProgressHook\n ? index.memoizedState\n : workInProgressHook.next) &&\n ((index = index.alternate),\n (ReactSharedInternals.H =\n null !== index && null !== index.memoizedState\n ? HooksDispatcherOnUpdateInDEV\n : HooksDispatcherOnMountInDEV));\n return thenable;\n }\n function use(usable) {\n if (null !== usable && \"object\" === typeof usable) {\n if (\"function\" === typeof usable.then) return useThenable(usable);\n if (usable.$$typeof === REACT_CONTEXT_TYPE) return readContext(usable);\n }\n throw Error(\"An unsupported type was passed to use(): \" + String(usable));\n }\n function useMemoCache(size) {\n var memoCache = null,\n updateQueue = currentlyRenderingFiber.updateQueue;\n null !== updateQueue && (memoCache = updateQueue.memoCache);\n if (null == memoCache) {\n var current = currentlyRenderingFiber.alternate;\n null !== current &&\n ((current = current.updateQueue),\n null !== current &&\n ((current = current.memoCache),\n null != current &&\n (memoCache = {\n data: current.data.map(function (array) {\n return array.slice();\n }),\n index: 0\n })));\n }\n null == memoCache && (memoCache = { data: [], index: 0 });\n null === updateQueue &&\n ((updateQueue = createFunctionComponentUpdateQueue()),\n (currentlyRenderingFiber.updateQueue = updateQueue));\n updateQueue.memoCache = memoCache;\n updateQueue = memoCache.data[memoCache.index];\n if (void 0 === updateQueue || ignorePreviousDependencies)\n for (\n updateQueue = memoCache.data[memoCache.index] = Array(size),\n current = 0;\n current < size;\n current++\n )\n updateQueue[current] = REACT_MEMO_CACHE_SENTINEL;\n else\n updateQueue.length !== size &&\n console.error(\n \"Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.\",\n updateQueue.length,\n size\n );\n memoCache.index++;\n return updateQueue;\n }\n function basicStateReducer(state, action) {\n return \"function\" === typeof action ? action(state) : action;\n }\n function mountReducer(reducer, initialArg, init) {\n var hook = mountWorkInProgressHook();\n if (void 0 !== init) {\n var initialState = init(initialArg);\n if (shouldDoubleInvokeUserFnsInHooksDEV) {\n setIsStrictModeForDevtools(!0);\n try {\n init(initialArg);\n } finally {\n setIsStrictModeForDevtools(!1);\n }\n }\n } else initialState = initialArg;\n hook.memoizedState = hook.baseState = initialState;\n reducer = {\n pending: null,\n lanes: 0,\n dispatch: null,\n lastRenderedReducer: reducer,\n lastRenderedState: initialState\n };\n hook.queue = reducer;\n reducer = reducer.dispatch = dispatchReducerAction.bind(\n null,\n currentlyRenderingFiber,\n reducer\n );\n return [hook.memoizedState, reducer];\n }\n function updateReducer(reducer) {\n var hook = updateWorkInProgressHook();\n return updateReducerImpl(hook, currentHook, reducer);\n }\n function updateReducerImpl(hook, current, reducer) {\n var queue = hook.queue;\n if (null === queue)\n throw Error(\n \"Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)\"\n );\n queue.lastRenderedReducer = reducer;\n var baseQueue = hook.baseQueue,\n pendingQueue = queue.pending;\n if (null !== pendingQueue) {\n if (null !== baseQueue) {\n var baseFirst = baseQueue.next;\n baseQueue.next = pendingQueue.next;\n pendingQueue.next = baseFirst;\n }\n current.baseQueue !== baseQueue &&\n console.error(\n \"Internal error: Expected work-in-progress queue to be a clone. This is a bug in React.\"\n );\n current.baseQueue = baseQueue = pendingQueue;\n queue.pending = null;\n }\n pendingQueue = hook.baseState;\n if (null === baseQueue) hook.memoizedState = pendingQueue;\n else {\n current = baseQueue.next;\n var newBaseQueueFirst = (baseFirst = null),\n newBaseQueueLast = null,\n update = current,\n didReadFromEntangledAsyncAction = !1;\n do {\n var updateLane = update.lane & -536870913;\n if (\n updateLane !== update.lane\n ? (workInProgressRootRenderLanes & updateLane) === updateLane\n : (renderLanes & updateLane) === updateLane\n ) {\n var revertLane = update.revertLane;\n if (0 === revertLane)\n null !== newBaseQueueLast &&\n (newBaseQueueLast = newBaseQueueLast.next =\n {\n lane: 0,\n revertLane: 0,\n gesture: null,\n action: update.action,\n hasEagerState: update.hasEagerState,\n eagerState: update.eagerState,\n next: null\n }),\n updateLane === currentEntangledLane &&\n (didReadFromEntangledAsyncAction = !0);\n else if ((renderLanes & revertLane) === revertLane) {\n update = update.next;\n revertLane === currentEntangledLane &&\n (didReadFromEntangledAsyncAction = !0);\n continue;\n } else\n (updateLane = {\n lane: 0,\n revertLane: update.revertLane,\n gesture: null,\n action: update.action,\n hasEagerState: update.hasEagerState,\n eagerState: update.eagerState,\n next: null\n }),\n null === newBaseQueueLast\n ? ((newBaseQueueFirst = newBaseQueueLast = updateLane),\n (baseFirst = pendingQueue))\n : (newBaseQueueLast = newBaseQueueLast.next = updateLane),\n (currentlyRenderingFiber.lanes |= revertLane),\n (workInProgressRootSkippedLanes |= revertLane);\n updateLane = update.action;\n shouldDoubleInvokeUserFnsInHooksDEV &&\n reducer(pendingQueue, updateLane);\n pendingQueue = update.hasEagerState\n ? update.eagerState\n : reducer(pendingQueue, updateLane);\n } else\n (revertLane = {\n lane: updateLane,\n revertLane: update.revertLane,\n gesture: update.gesture,\n action: update.action,\n hasEagerState: update.hasEagerState,\n eagerState: update.eagerState,\n next: null\n }),\n null === newBaseQueueLast\n ? ((newBaseQueueFirst = newBaseQueueLast = revertLane),\n (baseFirst = pendingQueue))\n : (newBaseQueueLast = newBaseQueueLast.next = revertLane),\n (currentlyRenderingFiber.lanes |= updateLane),\n (workInProgressRootSkippedLanes |= updateLane);\n update = update.next;\n } while (null !== update && update !== current);\n null === newBaseQueueLast\n ? (baseFirst = pendingQueue)\n : (newBaseQueueLast.next = newBaseQueueFirst);\n if (\n !objectIs(pendingQueue, hook.memoizedState) &&\n ((didReceiveUpdate = !0),\n didReadFromEntangledAsyncAction &&\n ((reducer = currentEntangledActionThenable), null !== reducer))\n )\n throw reducer;\n hook.memoizedState = pendingQueue;\n hook.baseState = baseFirst;\n hook.baseQueue = newBaseQueueLast;\n queue.lastRenderedState = pendingQueue;\n }\n null === baseQueue && (queue.lanes = 0);\n return [hook.memoizedState, queue.dispatch];\n }\n function rerenderReducer(reducer) {\n var hook = updateWorkInProgressHook(),\n queue = hook.queue;\n if (null === queue)\n throw Error(\n \"Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)\"\n );\n queue.lastRenderedReducer = reducer;\n var dispatch = queue.dispatch,\n lastRenderPhaseUpdate = queue.pending,\n newState = hook.memoizedState;\n if (null !== lastRenderPhaseUpdate) {\n queue.pending = null;\n var update = (lastRenderPhaseUpdate = lastRenderPhaseUpdate.next);\n do\n (newState = reducer(newState, update.action)), (update = update.next);\n while (update !== lastRenderPhaseUpdate);\n objectIs(newState, hook.memoizedState) || (didReceiveUpdate = !0);\n hook.memoizedState = newState;\n null === hook.baseQueue && (hook.baseState = newState);\n queue.lastRenderedState = newState;\n }\n return [newState, dispatch];\n }\n function mountSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) {\n var fiber = currentlyRenderingFiber,\n hook = mountWorkInProgressHook();\n if (isHydrating) {\n if (void 0 === getServerSnapshot)\n throw Error(\n \"Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.\"\n );\n var nextSnapshot = getServerSnapshot();\n didWarnUncachedGetSnapshot ||\n nextSnapshot === getServerSnapshot() ||\n (console.error(\n \"The result of getServerSnapshot should be cached to avoid an infinite loop\"\n ),\n (didWarnUncachedGetSnapshot = !0));\n } else {\n nextSnapshot = getSnapshot();\n didWarnUncachedGetSnapshot ||\n ((getServerSnapshot = getSnapshot()),\n objectIs(nextSnapshot, getServerSnapshot) ||\n (console.error(\n \"The result of getSnapshot should be cached to avoid an infinite loop\"\n ),\n (didWarnUncachedGetSnapshot = !0)));\n if (null === workInProgressRoot)\n throw Error(\n \"Expected a work-in-progress root. This is a bug in React. Please file an issue.\"\n );\n 0 !== (workInProgressRootRenderLanes & 127) ||\n pushStoreConsistencyCheck(fiber, getSnapshot, nextSnapshot);\n }\n hook.memoizedState = nextSnapshot;\n getServerSnapshot = { value: nextSnapshot, getSnapshot: getSnapshot };\n hook.queue = getServerSnapshot;\n mountEffect(\n subscribeToStore.bind(null, fiber, getServerSnapshot, subscribe),\n [subscribe]\n );\n fiber.flags |= 2048;\n pushSimpleEffect(\n HasEffect | Passive,\n { destroy: void 0 },\n updateStoreInstance.bind(\n null,\n fiber,\n getServerSnapshot,\n nextSnapshot,\n getSnapshot\n ),\n null\n );\n return nextSnapshot;\n }\n function updateSyncExternalStore(\n subscribe,\n getSnapshot,\n getServerSnapshot\n ) {\n var fiber = currentlyRenderingFiber,\n hook = updateWorkInProgressHook(),\n isHydrating$jscomp$0 = isHydrating;\n if (isHydrating$jscomp$0) {\n if (void 0 === getServerSnapshot)\n throw Error(\n \"Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.\"\n );\n getServerSnapshot = getServerSnapshot();\n } else if (\n ((getServerSnapshot = getSnapshot()), !didWarnUncachedGetSnapshot)\n ) {\n var cachedSnapshot = getSnapshot();\n objectIs(getServerSnapshot, cachedSnapshot) ||\n (console.error(\n \"The result of getSnapshot should be cached to avoid an infinite loop\"\n ),\n (didWarnUncachedGetSnapshot = !0));\n }\n if (\n (cachedSnapshot = !objectIs(\n (currentHook || hook).memoizedState,\n getServerSnapshot\n ))\n )\n (hook.memoizedState = getServerSnapshot), (didReceiveUpdate = !0);\n hook = hook.queue;\n var create = subscribeToStore.bind(null, fiber, hook, subscribe);\n updateEffectImpl(2048, Passive, create, [subscribe]);\n if (\n hook.getSnapshot !== getSnapshot ||\n cachedSnapshot ||\n (null !== workInProgressHook &&\n workInProgressHook.memoizedState.tag & HasEffect)\n ) {\n fiber.flags |= 2048;\n pushSimpleEffect(\n HasEffect | Passive,\n { destroy: void 0 },\n updateStoreInstance.bind(\n null,\n fiber,\n hook,\n getServerSnapshot,\n getSnapshot\n ),\n null\n );\n if (null === workInProgressRoot)\n throw Error(\n \"Expected a work-in-progress root. This is a bug in React. Please file an issue.\"\n );\n isHydrating$jscomp$0 ||\n 0 !== (renderLanes & 127) ||\n pushStoreConsistencyCheck(fiber, getSnapshot, getServerSnapshot);\n }\n return getServerSnapshot;\n }\n function pushStoreConsistencyCheck(fiber, getSnapshot, renderedSnapshot) {\n fiber.flags |= 16384;\n fiber = { getSnapshot: getSnapshot, value: renderedSnapshot };\n getSnapshot = currentlyRenderingFiber.updateQueue;\n null === getSnapshot\n ? ((getSnapshot = createFunctionComponentUpdateQueue()),\n (currentlyRenderingFiber.updateQueue = getSnapshot),\n (getSnapshot.stores = [fiber]))\n : ((renderedSnapshot = getSnapshot.stores),\n null === renderedSnapshot\n ? (getSnapshot.stores = [fiber])\n : renderedSnapshot.push(fiber));\n }\n function updateStoreInstance(fiber, inst, nextSnapshot, getSnapshot) {\n inst.value = nextSnapshot;\n inst.getSnapshot = getSnapshot;\n checkIfSnapshotChanged(inst) && forceStoreRerender(fiber);\n }\n function subscribeToStore(fiber, inst, subscribe) {\n return subscribe(function () {\n checkIfSnapshotChanged(inst) &&\n (startUpdateTimerByLane(2, \"updateSyncExternalStore()\", fiber),\n forceStoreRerender(fiber));\n });\n }\n function checkIfSnapshotChanged(inst) {\n var latestGetSnapshot = inst.getSnapshot;\n inst = inst.value;\n try {\n var nextValue = latestGetSnapshot();\n return !objectIs(inst, nextValue);\n } catch (error) {\n return !0;\n }\n }\n function forceStoreRerender(fiber) {\n var root = enqueueConcurrentRenderForLane(fiber, 2);\n null !== root && scheduleUpdateOnFiber(root, fiber, 2);\n }\n function mountStateImpl(initialState) {\n var hook = mountWorkInProgressHook();\n if (\"function\" === typeof initialState) {\n var initialStateInitializer = initialState;\n initialState = initialStateInitializer();\n if (shouldDoubleInvokeUserFnsInHooksDEV) {\n setIsStrictModeForDevtools(!0);\n try {\n initialStateInitializer();\n } finally {\n setIsStrictModeForDevtools(!1);\n }\n }\n }\n hook.memoizedState = hook.baseState = initialState;\n hook.queue = {\n pending: null,\n lanes: 0,\n dispatch: null,\n lastRenderedReducer: basicStateReducer,\n lastRenderedState: initialState\n };\n return hook;\n }\n function mountState(initialState) {\n initialState = mountStateImpl(initialState);\n var queue = initialState.queue,\n dispatch = dispatchSetState.bind(null, currentlyRenderingFiber, queue);\n queue.dispatch = dispatch;\n return [initialState.memoizedState, dispatch];\n }\n function mountOptimistic(passthrough) {\n var hook = mountWorkInProgressHook();\n hook.memoizedState = hook.baseState = passthrough;\n var queue = {\n pending: null,\n lanes: 0,\n dispatch: null,\n lastRenderedReducer: null,\n lastRenderedState: null\n };\n hook.queue = queue;\n hook = dispatchOptimisticSetState.bind(\n null,\n currentlyRenderingFiber,\n !0,\n queue\n );\n queue.dispatch = hook;\n return [passthrough, hook];\n }\n function updateOptimistic(passthrough, reducer) {\n var hook = updateWorkInProgressHook();\n return updateOptimisticImpl(hook, currentHook, passthrough, reducer);\n }\n function updateOptimisticImpl(hook, current, passthrough, reducer) {\n hook.baseState = passthrough;\n return updateReducerImpl(\n hook,\n currentHook,\n \"function\" === typeof reducer ? reducer : basicStateReducer\n );\n }\n function rerenderOptimistic(passthrough, reducer) {\n var hook = updateWorkInProgressHook();\n if (null !== currentHook)\n return updateOptimisticImpl(hook, currentHook, passthrough, reducer);\n hook.baseState = passthrough;\n return [passthrough, hook.queue.dispatch];\n }\n function dispatchActionState(\n fiber,\n actionQueue,\n setPendingState,\n setState,\n payload\n ) {\n if (isRenderPhaseUpdate(fiber))\n throw Error(\"Cannot update form state while rendering.\");\n fiber = actionQueue.action;\n if (null !== fiber) {\n var actionNode = {\n payload: payload,\n action: fiber,\n next: null,\n isTransition: !0,\n status: \"pending\",\n value: null,\n reason: null,\n listeners: [],\n then: function (listener) {\n actionNode.listeners.push(listener);\n }\n };\n null !== ReactSharedInternals.T\n ? setPendingState(!0)\n : (actionNode.isTransition = !1);\n setState(actionNode);\n setPendingState = actionQueue.pending;\n null === setPendingState\n ? ((actionNode.next = actionQueue.pending = actionNode),\n runActionStateAction(actionQueue, actionNode))\n : ((actionNode.next = setPendingState.next),\n (actionQueue.pending = setPendingState.next = actionNode));\n }\n }\n function runActionStateAction(actionQueue, node) {\n var action = node.action,\n payload = node.payload,\n prevState = actionQueue.state;\n if (node.isTransition) {\n var prevTransition = ReactSharedInternals.T,\n currentTransition = {};\n currentTransition.types =\n null !== prevTransition ? prevTransition.types : null;\n currentTransition._updatedFibers = new Set();\n ReactSharedInternals.T = currentTransition;\n try {\n var returnValue = action(prevState, payload),\n onStartTransitionFinish = ReactSharedInternals.S;\n null !== onStartTransitionFinish &&\n onStartTransitionFinish(currentTransition, returnValue);\n handleActionReturnValue(actionQueue, node, returnValue);\n } catch (error) {\n onActionError(actionQueue, node, error);\n } finally {\n null !== prevTransition &&\n null !== currentTransition.types &&\n (null !== prevTransition.types &&\n prevTransition.types !== currentTransition.types &&\n console.error(\n \"We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React.\"\n ),\n (prevTransition.types = currentTransition.types)),\n (ReactSharedInternals.T = prevTransition),\n null === prevTransition &&\n currentTransition._updatedFibers &&\n ((actionQueue = currentTransition._updatedFibers.size),\n currentTransition._updatedFibers.clear(),\n 10 < actionQueue &&\n console.warn(\n \"Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.\"\n ));\n }\n } else\n try {\n (currentTransition = action(prevState, payload)),\n handleActionReturnValue(actionQueue, node, currentTransition);\n } catch (error$4) {\n onActionError(actionQueue, node, error$4);\n }\n }\n function handleActionReturnValue(actionQueue, node, returnValue) {\n null !== returnValue &&\n \"object\" === typeof returnValue &&\n \"function\" === typeof returnValue.then\n ? (ReactSharedInternals.asyncTransitions++,\n returnValue.then(releaseAsyncTransition, releaseAsyncTransition),\n returnValue.then(\n function (nextState) {\n onActionSuccess(actionQueue, node, nextState);\n },\n function (error) {\n return onActionError(actionQueue, node, error);\n }\n ),\n node.isTransition ||\n console.error(\n \"An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.\"\n ))\n : onActionSuccess(actionQueue, node, returnValue);\n }\n function onActionSuccess(actionQueue, actionNode, nextState) {\n actionNode.status = \"fulfilled\";\n actionNode.value = nextState;\n notifyActionListeners(actionNode);\n actionQueue.state = nextState;\n actionNode = actionQueue.pending;\n null !== actionNode &&\n ((nextState = actionNode.next),\n nextState === actionNode\n ? (actionQueue.pending = null)\n : ((nextState = nextState.next),\n (actionNode.next = nextState),\n runActionStateAction(actionQueue, nextState)));\n }\n function onActionError(actionQueue, actionNode, error) {\n var last = actionQueue.pending;\n actionQueue.pending = null;\n if (null !== last) {\n last = last.next;\n do\n (actionNode.status = \"rejected\"),\n (actionNode.reason = error),\n notifyActionListeners(actionNode),\n (actionNode = actionNode.next);\n while (actionNode !== last);\n }\n actionQueue.action = null;\n }\n function notifyActionListeners(actionNode) {\n actionNode = actionNode.listeners;\n for (var i = 0; i < actionNode.length; i++) (0, actionNode[i])();\n }\n function actionStateReducer(oldState, newState) {\n return newState;\n }\n function mountActionState(action, initialStateProp) {\n if (isHydrating) {\n var ssrFormState = workInProgressRoot.formState;\n if (null !== ssrFormState) {\n a: {\n var isMatching = currentlyRenderingFiber;\n if (isHydrating) {\n if (nextHydratableInstance) {\n b: {\n var markerInstance = nextHydratableInstance;\n for (\n var inRootOrSingleton = rootOrSingletonContext;\n 8 !== markerInstance.nodeType;\n\n ) {\n if (!inRootOrSingleton) {\n markerInstance = null;\n break b;\n }\n markerInstance = getNextHydratable(\n markerInstance.nextSibling\n );\n if (null === markerInstance) {\n markerInstance = null;\n break b;\n }\n }\n inRootOrSingleton = markerInstance.data;\n markerInstance =\n inRootOrSingleton === FORM_STATE_IS_MATCHING ||\n inRootOrSingleton === FORM_STATE_IS_NOT_MATCHING\n ? markerInstance\n : null;\n }\n if (markerInstance) {\n nextHydratableInstance = getNextHydratable(\n markerInstance.nextSibling\n );\n isMatching = markerInstance.data === FORM_STATE_IS_MATCHING;\n break a;\n }\n }\n throwOnHydrationMismatch(isMatching);\n }\n isMatching = !1;\n }\n isMatching && (initialStateProp = ssrFormState[0]);\n }\n }\n ssrFormState = mountWorkInProgressHook();\n ssrFormState.memoizedState = ssrFormState.baseState = initialStateProp;\n isMatching = {\n pending: null,\n lanes: 0,\n dispatch: null,\n lastRenderedReducer: actionStateReducer,\n lastRenderedState: initialStateProp\n };\n ssrFormState.queue = isMatching;\n ssrFormState = dispatchSetState.bind(\n null,\n currentlyRenderingFiber,\n isMatching\n );\n isMatching.dispatch = ssrFormState;\n isMatching = mountStateImpl(!1);\n inRootOrSingleton = dispatchOptimisticSetState.bind(\n null,\n currentlyRenderingFiber,\n !1,\n isMatching.queue\n );\n isMatching = mountWorkInProgressHook();\n markerInstance = {\n state: initialStateProp,\n dispatch: null,\n action: action,\n pending: null\n };\n isMatching.queue = markerInstance;\n ssrFormState = dispatchActionState.bind(\n null,\n currentlyRenderingFiber,\n markerInstance,\n inRootOrSingleton,\n ssrFormState\n );\n markerInstance.dispatch = ssrFormState;\n isMatching.memoizedState = action;\n return [initialStateProp, ssrFormState, !1];\n }\n function updateActionState(action) {\n var stateHook = updateWorkInProgressHook();\n return updateActionStateImpl(stateHook, currentHook, action);\n }\n function updateActionStateImpl(stateHook, currentStateHook, action) {\n currentStateHook = updateReducerImpl(\n stateHook,\n currentStateHook,\n actionStateReducer\n )[0];\n stateHook = updateReducer(basicStateReducer)[0];\n if (\n \"object\" === typeof currentStateHook &&\n null !== currentStateHook &&\n \"function\" === typeof currentStateHook.then\n )\n try {\n var state = useThenable(currentStateHook);\n } catch (x) {\n if (x === SuspenseException) throw SuspenseActionException;\n throw x;\n }\n else state = currentStateHook;\n currentStateHook = updateWorkInProgressHook();\n var actionQueue = currentStateHook.queue,\n dispatch = actionQueue.dispatch;\n action !== currentStateHook.memoizedState &&\n ((currentlyRenderingFiber.flags |= 2048),\n pushSimpleEffect(\n HasEffect | Passive,\n { destroy: void 0 },\n actionStateActionEffect.bind(null, actionQueue, action),\n null\n ));\n return [state, dispatch, stateHook];\n }\n function actionStateActionEffect(actionQueue, action) {\n actionQueue.action = action;\n }\n function rerenderActionState(action) {\n var stateHook = updateWorkInProgressHook(),\n currentStateHook = currentHook;\n if (null !== currentStateHook)\n return updateActionStateImpl(stateHook, currentStateHook, action);\n updateWorkInProgressHook();\n stateHook = stateHook.memoizedState;\n currentStateHook = updateWorkInProgressHook();\n var dispatch = currentStateHook.queue.dispatch;\n currentStateHook.memoizedState = action;\n return [stateHook, dispatch, !1];\n }\n function pushSimpleEffect(tag, inst, create, deps) {\n tag = { tag: tag, create: create, deps: deps, inst: inst, next: null };\n inst = currentlyRenderingFiber.updateQueue;\n null === inst &&\n ((inst = createFunctionComponentUpdateQueue()),\n (currentlyRenderingFiber.updateQueue = inst));\n create = inst.lastEffect;\n null === create\n ? (inst.lastEffect = tag.next = tag)\n : ((deps = create.next),\n (create.next = tag),\n (tag.next = deps),\n (inst.lastEffect = tag));\n return tag;\n }\n function mountRef(initialValue) {\n var hook = mountWorkInProgressHook();\n initialValue = { current: initialValue };\n return (hook.memoizedState = initialValue);\n }\n function mountEffectImpl(fiberFlags, hookFlags, create, deps) {\n var hook = mountWorkInProgressHook();\n currentlyRenderingFiber.flags |= fiberFlags;\n hook.memoizedState = pushSimpleEffect(\n HasEffect | hookFlags,\n { destroy: void 0 },\n create,\n void 0 === deps ? null : deps\n );\n }\n function updateEffectImpl(fiberFlags, hookFlags, create, deps) {\n var hook = updateWorkInProgressHook();\n deps = void 0 === deps ? null : deps;\n var inst = hook.memoizedState.inst;\n null !== currentHook &&\n null !== deps &&\n areHookInputsEqual(deps, currentHook.memoizedState.deps)\n ? (hook.memoizedState = pushSimpleEffect(hookFlags, inst, create, deps))\n : ((currentlyRenderingFiber.flags |= fiberFlags),\n (hook.memoizedState = pushSimpleEffect(\n HasEffect | hookFlags,\n inst,\n create,\n deps\n )));\n }\n function mountEffect(create, deps) {\n (currentlyRenderingFiber.mode & StrictEffectsMode) !== NoMode\n ? mountEffectImpl(545261568, Passive, create, deps)\n : mountEffectImpl(8390656, Passive, create, deps);\n }\n function useEffectEventImpl(payload) {\n currentlyRenderingFiber.flags |= 4;\n var componentUpdateQueue = currentlyRenderingFiber.updateQueue;\n if (null === componentUpdateQueue)\n (componentUpdateQueue = createFunctionComponentUpdateQueue()),\n (currentlyRenderingFiber.updateQueue = componentUpdateQueue),\n (componentUpdateQueue.events = [payload]);\n else {\n var events = componentUpdateQueue.events;\n null === events\n ? (componentUpdateQueue.events = [payload])\n : events.push(payload);\n }\n }\n function mountEvent(callback) {\n var hook = mountWorkInProgressHook(),\n ref = { impl: callback };\n hook.memoizedState = ref;\n return function () {\n if ((executionContext & RenderContext) !== NoContext)\n throw Error(\n \"A function wrapped in useEffectEvent can't be called during rendering.\"\n );\n return ref.impl.apply(void 0, arguments);\n };\n }\n function updateEvent(callback) {\n var ref = updateWorkInProgressHook().memoizedState;\n useEffectEventImpl({ ref: ref, nextImpl: callback });\n return function () {\n if ((executionContext & RenderContext) !== NoContext)\n throw Error(\n \"A function wrapped in useEffectEvent can't be called during rendering.\"\n );\n return ref.impl.apply(void 0, arguments);\n };\n }\n function mountLayoutEffect(create, deps) {\n var fiberFlags = 4194308;\n (currentlyRenderingFiber.mode & StrictEffectsMode) !== NoMode &&\n (fiberFlags |= 268435456);\n return mountEffectImpl(fiberFlags, Layout, create, deps);\n }\n function imperativeHandleEffect(create, ref) {\n if (\"function\" === typeof ref) {\n create = create();\n var refCleanup = ref(create);\n return function () {\n \"function\" === typeof refCleanup ? refCleanup() : ref(null);\n };\n }\n if (null !== ref && void 0 !== ref)\n return (\n ref.hasOwnProperty(\"current\") ||\n console.error(\n \"Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.\",\n \"an object with keys {\" + Object.keys(ref).join(\", \") + \"}\"\n ),\n (create = create()),\n (ref.current = create),\n function () {\n ref.current = null;\n }\n );\n }\n function mountImperativeHandle(ref, create, deps) {\n \"function\" !== typeof create &&\n console.error(\n \"Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.\",\n null !== create ? typeof create : \"null\"\n );\n deps = null !== deps && void 0 !== deps ? deps.concat([ref]) : null;\n var fiberFlags = 4194308;\n (currentlyRenderingFiber.mode & StrictEffectsMode) !== NoMode &&\n (fiberFlags |= 268435456);\n mountEffectImpl(\n fiberFlags,\n Layout,\n imperativeHandleEffect.bind(null, create, ref),\n deps\n );\n }\n function updateImperativeHandle(ref, create, deps) {\n \"function\" !== typeof create &&\n console.error(\n \"Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.\",\n null !== create ? typeof create : \"null\"\n );\n deps = null !== deps && void 0 !== deps ? deps.concat([ref]) : null;\n updateEffectImpl(\n 4,\n Layout,\n imperativeHandleEffect.bind(null, create, ref),\n deps\n );\n }\n function mountCallback(callback, deps) {\n mountWorkInProgressHook().memoizedState = [\n callback,\n void 0 === deps ? null : deps\n ];\n return callback;\n }\n function updateCallback(callback, deps) {\n var hook = updateWorkInProgressHook();\n deps = void 0 === deps ? null : deps;\n var prevState = hook.memoizedState;\n if (null !== deps && areHookInputsEqual(deps, prevState[1]))\n return prevState[0];\n hook.memoizedState = [callback, deps];\n return callback;\n }\n function mountMemo(nextCreate, deps) {\n var hook = mountWorkInProgressHook();\n deps = void 0 === deps ? null : deps;\n var nextValue = nextCreate();\n if (shouldDoubleInvokeUserFnsInHooksDEV) {\n setIsStrictModeForDevtools(!0);\n try {\n nextCreate();\n } finally {\n setIsStrictModeForDevtools(!1);\n }\n }\n hook.memoizedState = [nextValue, deps];\n return nextValue;\n }\n function updateMemo(nextCreate, deps) {\n var hook = updateWorkInProgressHook();\n deps = void 0 === deps ? null : deps;\n var prevState = hook.memoizedState;\n if (null !== deps && areHookInputsEqual(deps, prevState[1]))\n return prevState[0];\n prevState = nextCreate();\n if (shouldDoubleInvokeUserFnsInHooksDEV) {\n setIsStrictModeForDevtools(!0);\n try {\n nextCreate();\n } finally {\n setIsStrictModeForDevtools(!1);\n }\n }\n hook.memoizedState = [prevState, deps];\n return prevState;\n }\n function mountDeferredValue(value, initialValue) {\n var hook = mountWorkInProgressHook();\n return mountDeferredValueImpl(hook, value, initialValue);\n }\n function updateDeferredValue(value, initialValue) {\n var hook = updateWorkInProgressHook();\n return updateDeferredValueImpl(\n hook,\n currentHook.memoizedState,\n value,\n initialValue\n );\n }\n function rerenderDeferredValue(value, initialValue) {\n var hook = updateWorkInProgressHook();\n return null === currentHook\n ? mountDeferredValueImpl(hook, value, initialValue)\n : updateDeferredValueImpl(\n hook,\n currentHook.memoizedState,\n value,\n initialValue\n );\n }\n function mountDeferredValueImpl(hook, value, initialValue) {\n if (\n void 0 === initialValue ||\n (0 !== (renderLanes & 1073741824) &&\n 0 === (workInProgressRootRenderLanes & 261930))\n )\n return (hook.memoizedState = value);\n hook.memoizedState = initialValue;\n hook = requestDeferredLane();\n currentlyRenderingFiber.lanes |= hook;\n workInProgressRootSkippedLanes |= hook;\n return initialValue;\n }\n function updateDeferredValueImpl(hook, prevValue, value, initialValue) {\n if (objectIs(value, prevValue)) return value;\n if (null !== currentTreeHiddenStackCursor.current)\n return (\n (hook = mountDeferredValueImpl(hook, value, initialValue)),\n objectIs(hook, prevValue) || (didReceiveUpdate = !0),\n hook\n );\n if (\n 0 === (renderLanes & 42) ||\n (0 !== (renderLanes & 1073741824) &&\n 0 === (workInProgressRootRenderLanes & 261930))\n )\n return (didReceiveUpdate = !0), (hook.memoizedState = value);\n hook = requestDeferredLane();\n currentlyRenderingFiber.lanes |= hook;\n workInProgressRootSkippedLanes |= hook;\n return prevValue;\n }\n function releaseAsyncTransition() {\n ReactSharedInternals.asyncTransitions--;\n }\n function startTransition(\n fiber,\n queue,\n pendingState,\n finishedState,\n callback\n ) {\n var previousPriority = ReactDOMSharedInternals.p;\n ReactDOMSharedInternals.p =\n 0 !== previousPriority && previousPriority < ContinuousEventPriority\n ? previousPriority\n : ContinuousEventPriority;\n var prevTransition = ReactSharedInternals.T,\n currentTransition = {};\n currentTransition.types =\n null !== prevTransition ? prevTransition.types : null;\n currentTransition._updatedFibers = new Set();\n ReactSharedInternals.T = currentTransition;\n dispatchOptimisticSetState(fiber, !1, queue, pendingState);\n try {\n var returnValue = callback(),\n onStartTransitionFinish = ReactSharedInternals.S;\n null !== onStartTransitionFinish &&\n onStartTransitionFinish(currentTransition, returnValue);\n if (\n null !== returnValue &&\n \"object\" === typeof returnValue &&\n \"function\" === typeof returnValue.then\n ) {\n ReactSharedInternals.asyncTransitions++;\n returnValue.then(releaseAsyncTransition, releaseAsyncTransition);\n var thenableForFinishedState = chainThenableValue(\n returnValue,\n finishedState\n );\n dispatchSetStateInternal(\n fiber,\n queue,\n thenableForFinishedState,\n requestUpdateLane(fiber)\n );\n } else\n dispatchSetStateInternal(\n fiber,\n queue,\n finishedState,\n requestUpdateLane(fiber)\n );\n } catch (error) {\n dispatchSetStateInternal(\n fiber,\n queue,\n { then: function () {}, status: \"rejected\", reason: error },\n requestUpdateLane(fiber)\n );\n } finally {\n (ReactDOMSharedInternals.p = previousPriority),\n null !== prevTransition &&\n null !== currentTransition.types &&\n (null !== prevTransition.types &&\n prevTransition.types !== currentTransition.types &&\n console.error(\n \"We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React.\"\n ),\n (prevTransition.types = currentTransition.types)),\n (ReactSharedInternals.T = prevTransition),\n null === prevTransition &&\n currentTransition._updatedFibers &&\n ((fiber = currentTransition._updatedFibers.size),\n currentTransition._updatedFibers.clear(),\n 10 < fiber &&\n console.warn(\n \"Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.\"\n ));\n }\n }\n function startHostTransition(formFiber, pendingState, action, formData) {\n if (5 !== formFiber.tag)\n throw Error(\n \"Expected the form instance to be a HostComponent. This is a bug in React.\"\n );\n var queue = ensureFormComponentIsStateful(formFiber).queue;\n startHostActionTimer(formFiber);\n startTransition(\n formFiber,\n queue,\n pendingState,\n NotPendingTransition,\n null === action\n ? noop\n : function () {\n requestFormReset$1(formFiber);\n return action(formData);\n }\n );\n }\n function ensureFormComponentIsStateful(formFiber) {\n var existingStateHook = formFiber.memoizedState;\n if (null !== existingStateHook) return existingStateHook;\n existingStateHook = {\n memoizedState: NotPendingTransition,\n baseState: NotPendingTransition,\n baseQueue: null,\n queue: {\n pending: null,\n lanes: 0,\n dispatch: null,\n lastRenderedReducer: basicStateReducer,\n lastRenderedState: NotPendingTransition\n },\n next: null\n };\n var initialResetState = {};\n existingStateHook.next = {\n memoizedState: initialResetState,\n baseState: initialResetState,\n baseQueue: null,\n queue: {\n pending: null,\n lanes: 0,\n dispatch: null,\n lastRenderedReducer: basicStateReducer,\n lastRenderedState: initialResetState\n },\n next: null\n };\n formFiber.memoizedState = existingStateHook;\n formFiber = formFiber.alternate;\n null !== formFiber && (formFiber.memoizedState = existingStateHook);\n return existingStateHook;\n }\n function requestFormReset$1(formFiber) {\n null === ReactSharedInternals.T &&\n console.error(\n \"requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.\"\n );\n var stateHook = ensureFormComponentIsStateful(formFiber);\n null === stateHook.next &&\n (stateHook = formFiber.alternate.memoizedState);\n dispatchSetStateInternal(\n formFiber,\n stateHook.next.queue,\n {},\n requestUpdateLane(formFiber)\n );\n }\n function mountTransition() {\n var stateHook = mountStateImpl(!1);\n stateHook = startTransition.bind(\n null,\n currentlyRenderingFiber,\n stateHook.queue,\n !0,\n !1\n );\n mountWorkInProgressHook().memoizedState = stateHook;\n return [!1, stateHook];\n }\n function updateTransition() {\n var booleanOrThenable = updateReducer(basicStateReducer)[0],\n start = updateWorkInProgressHook().memoizedState;\n return [\n \"boolean\" === typeof booleanOrThenable\n ? booleanOrThenable\n : useThenable(booleanOrThenable),\n start\n ];\n }\n function rerenderTransition() {\n var booleanOrThenable = rerenderReducer(basicStateReducer)[0],\n start = updateWorkInProgressHook().memoizedState;\n return [\n \"boolean\" === typeof booleanOrThenable\n ? booleanOrThenable\n : useThenable(booleanOrThenable),\n start\n ];\n }\n function useHostTransitionStatus() {\n return readContext(HostTransitionContext);\n }\n function mountId() {\n var hook = mountWorkInProgressHook(),\n identifierPrefix = workInProgressRoot.identifierPrefix;\n if (isHydrating) {\n var treeId = treeContextOverflow;\n var idWithLeadingBit = treeContextId;\n treeId =\n (\n idWithLeadingBit & ~(1 << (32 - clz32(idWithLeadingBit) - 1))\n ).toString(32) + treeId;\n identifierPrefix = \"_\" + identifierPrefix + \"R_\" + treeId;\n treeId = localIdCounter++;\n 0 < treeId && (identifierPrefix += \"H\" + treeId.toString(32));\n identifierPrefix += \"_\";\n } else\n (treeId = globalClientIdCounter++),\n (identifierPrefix =\n \"_\" + identifierPrefix + \"r_\" + treeId.toString(32) + \"_\");\n return (hook.memoizedState = identifierPrefix);\n }\n function mountRefresh() {\n return (mountWorkInProgressHook().memoizedState = refreshCache.bind(\n null,\n currentlyRenderingFiber\n ));\n }\n function refreshCache(fiber, seedKey) {\n for (var provider = fiber.return; null !== provider; ) {\n switch (provider.tag) {\n case 24:\n case 3:\n var lane = requestUpdateLane(provider),\n refreshUpdate = createUpdate(lane),\n root = enqueueUpdate(provider, refreshUpdate, lane);\n null !== root &&\n (startUpdateTimerByLane(lane, \"refresh()\", fiber),\n scheduleUpdateOnFiber(root, provider, lane),\n entangleTransitions(root, provider, lane));\n fiber = createCache();\n null !== seedKey &&\n void 0 !== seedKey &&\n null !== root &&\n console.error(\n \"The seed argument is not enabled outside experimental channels.\"\n );\n refreshUpdate.payload = { cache: fiber };\n return;\n }\n provider = provider.return;\n }\n }\n function dispatchReducerAction(fiber, queue, action) {\n var args = arguments;\n \"function\" === typeof args[3] &&\n console.error(\n \"State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().\"\n );\n args = requestUpdateLane(fiber);\n var update = {\n lane: args,\n revertLane: 0,\n gesture: null,\n action: action,\n hasEagerState: !1,\n eagerState: null,\n next: null\n };\n isRenderPhaseUpdate(fiber)\n ? enqueueRenderPhaseUpdate(queue, update)\n : ((update = enqueueConcurrentHookUpdate(fiber, queue, update, args)),\n null !== update &&\n (startUpdateTimerByLane(args, \"dispatch()\", fiber),\n scheduleUpdateOnFiber(update, fiber, args),\n entangleTransitionUpdate(update, queue, args)));\n }\n function dispatchSetState(fiber, queue, action) {\n var args = arguments;\n \"function\" === typeof args[3] &&\n console.error(\n \"State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().\"\n );\n args = requestUpdateLane(fiber);\n dispatchSetStateInternal(fiber, queue, action, args) &&\n startUpdateTimerByLane(args, \"setState()\", fiber);\n }\n function dispatchSetStateInternal(fiber, queue, action, lane) {\n var update = {\n lane: lane,\n revertLane: 0,\n gesture: null,\n action: action,\n hasEagerState: !1,\n eagerState: null,\n next: null\n };\n if (isRenderPhaseUpdate(fiber)) enqueueRenderPhaseUpdate(queue, update);\n else {\n var alternate = fiber.alternate;\n if (\n 0 === fiber.lanes &&\n (null === alternate || 0 === alternate.lanes) &&\n ((alternate = queue.lastRenderedReducer), null !== alternate)\n ) {\n var prevDispatcher = ReactSharedInternals.H;\n ReactSharedInternals.H = InvalidNestedHooksDispatcherOnUpdateInDEV;\n try {\n var currentState = queue.lastRenderedState,\n eagerState = alternate(currentState, action);\n update.hasEagerState = !0;\n update.eagerState = eagerState;\n if (objectIs(eagerState, currentState))\n return (\n enqueueUpdate$1(fiber, queue, update, 0),\n null === workInProgressRoot &&\n finishQueueingConcurrentUpdates(),\n !1\n );\n } catch (error) {\n } finally {\n ReactSharedInternals.H = prevDispatcher;\n }\n }\n action = enqueueConcurrentHookUpdate(fiber, queue, update, lane);\n if (null !== action)\n return (\n scheduleUpdateOnFiber(action, fiber, lane),\n entangleTransitionUpdate(action, queue, lane),\n !0\n );\n }\n return !1;\n }\n function dispatchOptimisticSetState(\n fiber,\n throwIfDuringRender,\n queue,\n action\n ) {\n null === ReactSharedInternals.T &&\n 0 === currentEntangledLane &&\n console.error(\n \"An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition.\"\n );\n action = {\n lane: 2,\n revertLane: requestTransitionLane(),\n gesture: null,\n action: action,\n hasEagerState: !1,\n eagerState: null,\n next: null\n };\n if (isRenderPhaseUpdate(fiber)) {\n if (throwIfDuringRender)\n throw Error(\"Cannot update optimistic state while rendering.\");\n console.error(\"Cannot call startTransition while rendering.\");\n } else\n (throwIfDuringRender = enqueueConcurrentHookUpdate(\n fiber,\n queue,\n action,\n 2\n )),\n null !== throwIfDuringRender &&\n (startUpdateTimerByLane(2, \"setOptimistic()\", fiber),\n scheduleUpdateOnFiber(throwIfDuringRender, fiber, 2));\n }\n function isRenderPhaseUpdate(fiber) {\n var alternate = fiber.alternate;\n return (\n fiber === currentlyRenderingFiber ||\n (null !== alternate && alternate === currentlyRenderingFiber)\n );\n }\n function enqueueRenderPhaseUpdate(queue, update) {\n didScheduleRenderPhaseUpdateDuringThisPass =\n didScheduleRenderPhaseUpdate = !0;\n var pending = queue.pending;\n null === pending\n ? (update.next = update)\n : ((update.next = pending.next), (pending.next = update));\n queue.pending = update;\n }\n function entangleTransitionUpdate(root, queue, lane) {\n if (0 !== (lane & 4194048)) {\n var queueLanes = queue.lanes;\n queueLanes &= root.pendingLanes;\n lane |= queueLanes;\n queue.lanes = lane;\n markRootEntangled(root, lane);\n }\n }\n function warnOnInvalidCallback(callback) {\n if (null !== callback && \"function\" !== typeof callback) {\n var key = String(callback);\n didWarnOnInvalidCallback.has(key) ||\n (didWarnOnInvalidCallback.add(key),\n console.error(\n \"Expected the last optional `callback` argument to be a function. Instead received: %s.\",\n callback\n ));\n }\n }\n function applyDerivedStateFromProps(\n workInProgress,\n ctor,\n getDerivedStateFromProps,\n nextProps\n ) {\n var prevState = workInProgress.memoizedState,\n partialState = getDerivedStateFromProps(nextProps, prevState);\n if (workInProgress.mode & StrictLegacyMode) {\n setIsStrictModeForDevtools(!0);\n try {\n partialState = getDerivedStateFromProps(nextProps, prevState);\n } finally {\n setIsStrictModeForDevtools(!1);\n }\n }\n void 0 === partialState &&\n ((ctor = getComponentNameFromType(ctor) || \"Component\"),\n didWarnAboutUndefinedDerivedState.has(ctor) ||\n (didWarnAboutUndefinedDerivedState.add(ctor),\n console.error(\n \"%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.\",\n ctor\n )));\n prevState =\n null === partialState || void 0 === partialState\n ? prevState\n : assign({}, prevState, partialState);\n workInProgress.memoizedState = prevState;\n 0 === workInProgress.lanes &&\n (workInProgress.updateQueue.baseState = prevState);\n }\n function checkShouldComponentUpdate(\n workInProgress,\n ctor,\n oldProps,\n newProps,\n oldState,\n newState,\n nextContext\n ) {\n var instance = workInProgress.stateNode;\n if (\"function\" === typeof instance.shouldComponentUpdate) {\n oldProps = instance.shouldComponentUpdate(\n newProps,\n newState,\n nextContext\n );\n if (workInProgress.mode & StrictLegacyMode) {\n setIsStrictModeForDevtools(!0);\n try {\n oldProps = instance.shouldComponentUpdate(\n newProps,\n newState,\n nextContext\n );\n } finally {\n setIsStrictModeForDevtools(!1);\n }\n }\n void 0 === oldProps &&\n console.error(\n \"%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.\",\n getComponentNameFromType(ctor) || \"Component\"\n );\n return oldProps;\n }\n return ctor.prototype && ctor.prototype.isPureReactComponent\n ? !shallowEqual(oldProps, newProps) || !shallowEqual(oldState, newState)\n : !0;\n }\n function callComponentWillReceiveProps(\n workInProgress,\n instance,\n newProps,\n nextContext\n ) {\n var oldState = instance.state;\n \"function\" === typeof instance.componentWillReceiveProps &&\n instance.componentWillReceiveProps(newProps, nextContext);\n \"function\" === typeof instance.UNSAFE_componentWillReceiveProps &&\n instance.UNSAFE_componentWillReceiveProps(newProps, nextContext);\n instance.state !== oldState &&\n ((workInProgress =\n getComponentNameFromFiber(workInProgress) || \"Component\"),\n didWarnAboutStateAssignmentForComponent.has(workInProgress) ||\n (didWarnAboutStateAssignmentForComponent.add(workInProgress),\n console.error(\n \"%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.\",\n workInProgress\n )),\n classComponentUpdater.enqueueReplaceState(\n instance,\n instance.state,\n null\n ));\n }\n function resolveClassComponentProps(Component, baseProps) {\n var newProps = baseProps;\n if (\"ref\" in baseProps) {\n newProps = {};\n for (var propName in baseProps)\n \"ref\" !== propName && (newProps[propName] = baseProps[propName]);\n }\n if ((Component = Component.defaultProps)) {\n newProps === baseProps && (newProps = assign({}, newProps));\n for (var _propName in Component)\n void 0 === newProps[_propName] &&\n (newProps[_propName] = Component[_propName]);\n }\n return newProps;\n }\n function defaultOnUncaughtError(error) {\n reportGlobalError(error);\n console.warn(\n \"%s\\n\\n%s\\n\",\n componentName\n ? \"An error occurred in the <\" + componentName + \"> component.\"\n : \"An error occurred in one of your React components.\",\n \"Consider adding an error boundary to your tree to customize error handling behavior.\\nVisit https://react.dev/link/error-boundaries to learn more about error boundaries.\"\n );\n }\n function defaultOnCaughtError(error) {\n var componentNameMessage = componentName\n ? \"The above error occurred in the <\" + componentName + \"> component.\"\n : \"The above error occurred in one of your React components.\",\n recreateMessage =\n \"React will try to recreate this component tree from scratch using the error boundary you provided, \" +\n ((errorBoundaryName || \"Anonymous\") + \".\");\n if (\n \"object\" === typeof error &&\n null !== error &&\n \"string\" === typeof error.environmentName\n ) {\n var JSCompiler_inline_result = error.environmentName;\n error = [\n \"%o\\n\\n%s\\n\\n%s\\n\",\n error,\n componentNameMessage,\n recreateMessage\n ].slice(0);\n \"string\" === typeof error[0]\n ? error.splice(\n 0,\n 1,\n badgeFormat + \" \" + error[0],\n badgeStyle,\n pad + JSCompiler_inline_result + pad,\n resetStyle\n )\n : error.splice(\n 0,\n 0,\n badgeFormat,\n badgeStyle,\n pad + JSCompiler_inline_result + pad,\n resetStyle\n );\n error.unshift(console);\n JSCompiler_inline_result = bind.apply(console.error, error);\n JSCompiler_inline_result();\n } else\n console.error(\n \"%o\\n\\n%s\\n\\n%s\\n\",\n error,\n componentNameMessage,\n recreateMessage\n );\n }\n function defaultOnRecoverableError(error) {\n reportGlobalError(error);\n }\n function logUncaughtError(root, errorInfo) {\n try {\n componentName = errorInfo.source\n ? getComponentNameFromFiber(errorInfo.source)\n : null;\n errorBoundaryName = null;\n var error = errorInfo.value;\n if (null !== ReactSharedInternals.actQueue)\n ReactSharedInternals.thrownErrors.push(error);\n else {\n var onUncaughtError = root.onUncaughtError;\n onUncaughtError(error, { componentStack: errorInfo.stack });\n }\n } catch (e$5) {\n setTimeout(function () {\n throw e$5;\n });\n }\n }\n function logCaughtError(root, boundary, errorInfo) {\n try {\n componentName = errorInfo.source\n ? getComponentNameFromFiber(errorInfo.source)\n : null;\n errorBoundaryName = getComponentNameFromFiber(boundary);\n var onCaughtError = root.onCaughtError;\n onCaughtError(errorInfo.value, {\n componentStack: errorInfo.stack,\n errorBoundary: 1 === boundary.tag ? boundary.stateNode : null\n });\n } catch (e$6) {\n setTimeout(function () {\n throw e$6;\n });\n }\n }\n function createRootErrorUpdate(root, errorInfo, lane) {\n lane = createUpdate(lane);\n lane.tag = CaptureUpdate;\n lane.payload = { element: null };\n lane.callback = function () {\n runWithFiberInDEV(errorInfo.source, logUncaughtError, root, errorInfo);\n };\n return lane;\n }\n function createClassErrorUpdate(lane) {\n lane = createUpdate(lane);\n lane.tag = CaptureUpdate;\n return lane;\n }\n function initializeClassErrorUpdate(update, root, fiber, errorInfo) {\n var getDerivedStateFromError = fiber.type.getDerivedStateFromError;\n if (\"function\" === typeof getDerivedStateFromError) {\n var error = errorInfo.value;\n update.payload = function () {\n return getDerivedStateFromError(error);\n };\n update.callback = function () {\n markFailedErrorBoundaryForHotReloading(fiber);\n runWithFiberInDEV(\n errorInfo.source,\n logCaughtError,\n root,\n fiber,\n errorInfo\n );\n };\n }\n var inst = fiber.stateNode;\n null !== inst &&\n \"function\" === typeof inst.componentDidCatch &&\n (update.callback = function () {\n markFailedErrorBoundaryForHotReloading(fiber);\n runWithFiberInDEV(\n errorInfo.source,\n logCaughtError,\n root,\n fiber,\n errorInfo\n );\n \"function\" !== typeof getDerivedStateFromError &&\n (null === legacyErrorBoundariesThatAlreadyFailed\n ? (legacyErrorBoundariesThatAlreadyFailed = new Set([this]))\n : legacyErrorBoundariesThatAlreadyFailed.add(this));\n callComponentDidCatchInDEV(this, errorInfo);\n \"function\" === typeof getDerivedStateFromError ||\n (0 === (fiber.lanes & 2) &&\n console.error(\n \"%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.\",\n getComponentNameFromFiber(fiber) || \"Unknown\"\n ));\n });\n }\n function throwException(\n root,\n returnFiber,\n sourceFiber,\n value,\n rootRenderLanes\n ) {\n sourceFiber.flags |= 32768;\n isDevToolsPresent && restorePendingUpdaters(root, rootRenderLanes);\n if (\n null !== value &&\n \"object\" === typeof value &&\n \"function\" === typeof value.then\n ) {\n returnFiber = sourceFiber.alternate;\n null !== returnFiber &&\n propagateParentContextChanges(\n returnFiber,\n sourceFiber,\n rootRenderLanes,\n !0\n );\n isHydrating && (didSuspendOrErrorDEV = !0);\n sourceFiber = suspenseHandlerStackCursor.current;\n if (null !== sourceFiber) {\n switch (sourceFiber.tag) {\n case 31:\n case 13:\n case 19:\n return (\n null === shellBoundary\n ? renderDidSuspendDelayIfPossible()\n : null === sourceFiber.alternate &&\n workInProgressRootExitStatus === RootInProgress &&\n (workInProgressRootExitStatus = RootSuspended),\n (sourceFiber.flags &= -257),\n (sourceFiber.flags |= 65536),\n (sourceFiber.lanes = rootRenderLanes),\n value === noopSuspenseyCommitThenable\n ? (sourceFiber.flags |= 16384)\n : ((returnFiber = sourceFiber.updateQueue),\n null === returnFiber\n ? (sourceFiber.updateQueue = new Set([value]))\n : returnFiber.add(value),\n attachPingListener(root, value, rootRenderLanes)),\n !1\n );\n case 22:\n return (\n (sourceFiber.flags |= 65536),\n value === noopSuspenseyCommitThenable\n ? (sourceFiber.flags |= 16384)\n : ((returnFiber = sourceFiber.updateQueue),\n null === returnFiber\n ? ((returnFiber = {\n transitions: null,\n markerInstances: null,\n retryQueue: new Set([value])\n }),\n (sourceFiber.updateQueue = returnFiber))\n : ((sourceFiber = returnFiber.retryQueue),\n null === sourceFiber\n ? (returnFiber.retryQueue = new Set([value]))\n : sourceFiber.add(value)),\n attachPingListener(root, value, rootRenderLanes)),\n !1\n );\n }\n throw Error(\n \"Unexpected Suspense handler tag (\" +\n sourceFiber.tag +\n \"). This is a bug in React.\"\n );\n }\n attachPingListener(root, value, rootRenderLanes);\n renderDidSuspendDelayIfPossible();\n return !1;\n }\n if (isHydrating)\n return (\n (didSuspendOrErrorDEV = !0),\n (returnFiber = suspenseHandlerStackCursor.current),\n null !== returnFiber\n ? (19 === returnFiber.tag &&\n console.error(\n \"SuspenseList should never catch while hydrating. This is a bug in React.\"\n ),\n 0 === (returnFiber.flags & 65536) && (returnFiber.flags |= 256),\n (returnFiber.flags |= 65536),\n (returnFiber.lanes = rootRenderLanes),\n value !== HydrationMismatchException &&\n queueHydrationError(\n createCapturedValueAtFiber(\n Error(\n \"There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.\",\n { cause: value }\n ),\n sourceFiber\n )\n ))\n : (value !== HydrationMismatchException &&\n queueHydrationError(\n createCapturedValueAtFiber(\n Error(\n \"There was an error while hydrating but React was able to recover by instead client rendering the entire root.\",\n { cause: value }\n ),\n sourceFiber\n )\n ),\n (root = root.current.alternate),\n (root.flags |= 65536),\n (rootRenderLanes &= -rootRenderLanes),\n (root.lanes |= rootRenderLanes),\n (value = createCapturedValueAtFiber(value, sourceFiber)),\n (rootRenderLanes = createRootErrorUpdate(\n root.stateNode,\n value,\n rootRenderLanes\n )),\n enqueueCapturedUpdate(root, rootRenderLanes),\n workInProgressRootExitStatus !== RootSuspendedWithDelay &&\n (workInProgressRootExitStatus = RootErrored)),\n !1\n );\n var error = createCapturedValueAtFiber(\n Error(\n \"There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.\",\n { cause: value }\n ),\n sourceFiber\n );\n null === workInProgressRootConcurrentErrors\n ? (workInProgressRootConcurrentErrors = [error])\n : workInProgressRootConcurrentErrors.push(error);\n workInProgressRootExitStatus !== RootSuspendedWithDelay &&\n (workInProgressRootExitStatus = RootErrored);\n if (null === returnFiber) return !0;\n value = createCapturedValueAtFiber(value, sourceFiber);\n sourceFiber = returnFiber;\n do {\n switch (sourceFiber.tag) {\n case 3:\n return (\n (sourceFiber.flags |= 65536),\n (root = rootRenderLanes & -rootRenderLanes),\n (sourceFiber.lanes |= root),\n (root = createRootErrorUpdate(\n sourceFiber.stateNode,\n value,\n root\n )),\n enqueueCapturedUpdate(sourceFiber, root),\n !1\n );\n case 1:\n returnFiber = sourceFiber.type;\n error = sourceFiber.stateNode;\n if (\n 0 === (sourceFiber.flags & 128) &&\n (\"function\" === typeof returnFiber.getDerivedStateFromError ||\n (null !== error &&\n \"function\" === typeof error.componentDidCatch &&\n (null === legacyErrorBoundariesThatAlreadyFailed ||\n !legacyErrorBoundariesThatAlreadyFailed.has(error))))\n )\n return (\n (sourceFiber.flags |= 65536),\n (rootRenderLanes &= -rootRenderLanes),\n (sourceFiber.lanes |= rootRenderLanes),\n (rootRenderLanes = createClassErrorUpdate(rootRenderLanes)),\n initializeClassErrorUpdate(\n rootRenderLanes,\n root,\n sourceFiber,\n value\n ),\n enqueueCapturedUpdate(sourceFiber, rootRenderLanes),\n !1\n );\n break;\n case 22:\n if (null !== sourceFiber.memoizedState)\n return (sourceFiber.flags |= 65536), !1;\n }\n sourceFiber = sourceFiber.return;\n } while (null !== sourceFiber);\n return !1;\n }\n function reconcileChildren(\n current,\n workInProgress,\n nextChildren,\n renderLanes\n ) {\n workInProgress.child =\n null === current\n ? mountChildFibers(workInProgress, null, nextChildren, renderLanes)\n : reconcileChildFibers(\n workInProgress,\n current.child,\n nextChildren,\n renderLanes\n );\n }\n function updateForwardRef(\n current,\n workInProgress,\n Component,\n nextProps,\n renderLanes\n ) {\n Component = Component.render;\n var ref = workInProgress.ref;\n if (\"ref\" in nextProps) {\n var propsWithoutRef = {};\n for (var key in nextProps)\n \"ref\" !== key && (propsWithoutRef[key] = nextProps[key]);\n } else propsWithoutRef = nextProps;\n prepareToReadContext(workInProgress);\n nextProps = renderWithHooks(\n current,\n workInProgress,\n Component,\n propsWithoutRef,\n ref,\n renderLanes\n );\n key = checkDidRenderIdHook();\n if (null !== current && !didReceiveUpdate)\n return (\n bailoutHooks(current, workInProgress, renderLanes),\n bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes)\n );\n isHydrating && key && pushMaterializedTreeId(workInProgress);\n workInProgress.flags |= 1;\n reconcileChildren(current, workInProgress, nextProps, renderLanes);\n return workInProgress.child;\n }\n function updateMemoComponent(\n current,\n workInProgress,\n Component,\n nextProps,\n renderLanes\n ) {\n if (null === current) {\n var type = Component.type;\n if (\n \"function\" === typeof type &&\n !shouldConstruct(type) &&\n void 0 === type.defaultProps &&\n null === Component.compare\n )\n return (\n (Component = resolveFunctionForHotReloading(type)),\n (workInProgress.tag = 15),\n (workInProgress.type = Component),\n validateFunctionComponentInDev(workInProgress, type),\n updateSimpleMemoComponent(\n current,\n workInProgress,\n Component,\n nextProps,\n renderLanes\n )\n );\n current = createFiberFromTypeAndProps(\n Component.type,\n null,\n nextProps,\n workInProgress,\n workInProgress.mode,\n renderLanes\n );\n current.ref = workInProgress.ref;\n current.return = workInProgress;\n return (workInProgress.child = current);\n }\n type = current.child;\n if (!checkScheduledUpdateOrContext(current, renderLanes)) {\n var prevProps = type.memoizedProps;\n Component = Component.compare;\n Component = null !== Component ? Component : shallowEqual;\n if (\n Component(prevProps, nextProps) &&\n current.ref === workInProgress.ref\n )\n return bailoutOnAlreadyFinishedWork(\n current,\n workInProgress,\n renderLanes\n );\n }\n workInProgress.flags |= 1;\n current = createWorkInProgress(type, nextProps);\n current.ref = workInProgress.ref;\n current.return = workInProgress;\n return (workInProgress.child = current);\n }\n function updateSimpleMemoComponent(\n current,\n workInProgress,\n Component,\n nextProps,\n renderLanes\n ) {\n if (null !== current) {\n var prevProps = current.memoizedProps;\n if (\n shallowEqual(prevProps, nextProps) &&\n current.ref === workInProgress.ref &&\n workInProgress.type === current.type\n )\n if (\n ((didReceiveUpdate = !1),\n (workInProgress.pendingProps = nextProps = prevProps),\n checkScheduledUpdateOrContext(current, renderLanes))\n )\n 0 !== (current.flags & 131072) && (didReceiveUpdate = !0);\n else\n return (\n (workInProgress.lanes = current.lanes),\n bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes)\n );\n }\n return updateFunctionComponent(\n current,\n workInProgress,\n Component,\n nextProps,\n renderLanes\n );\n }\n function updateOffscreenComponent(\n current,\n workInProgress,\n renderLanes,\n nextProps\n ) {\n var nextChildren = nextProps.children,\n prevState = null !== current ? current.memoizedState : null;\n null === current &&\n null === workInProgress.stateNode &&\n (workInProgress.stateNode = {\n _visibility: OffscreenVisible,\n _pendingMarkers: null,\n _retryCache: null,\n _transitions: null\n });\n if (\"hidden\" === nextProps.mode) {\n if (0 !== (workInProgress.flags & 128)) {\n prevState =\n null !== prevState\n ? prevState.baseLanes | renderLanes\n : renderLanes;\n if (null !== current) {\n nextProps = workInProgress.child = current.child;\n for (nextChildren = 0; null !== nextProps; )\n (nextChildren =\n nextChildren | nextProps.lanes | nextProps.childLanes),\n (nextProps = nextProps.sibling);\n nextProps = nextChildren & ~prevState;\n } else (nextProps = 0), (workInProgress.child = null);\n return deferHiddenOffscreenComponent(\n current,\n workInProgress,\n prevState,\n renderLanes,\n nextProps\n );\n }\n if (0 !== (renderLanes & 536870912))\n (workInProgress.memoizedState = { baseLanes: 0, cachePool: null }),\n null !== current &&\n pushTransition(\n workInProgress,\n null !== prevState ? prevState.cachePool : null\n ),\n null !== prevState\n ? pushHiddenContext(workInProgress, prevState)\n : reuseHiddenContextOnStack(workInProgress),\n pushOffscreenSuspenseHandler(workInProgress);\n else\n return (\n (nextProps = workInProgress.lanes = 536870912),\n deferHiddenOffscreenComponent(\n current,\n workInProgress,\n null !== prevState\n ? prevState.baseLanes | renderLanes\n : renderLanes,\n renderLanes,\n nextProps\n )\n );\n } else\n null !== prevState\n ? (pushTransition(workInProgress, prevState.cachePool),\n pushHiddenContext(workInProgress, prevState),\n reuseSuspenseHandlerOnStack(workInProgress),\n (workInProgress.memoizedState = null))\n : (null !== current && pushTransition(workInProgress, null),\n reuseHiddenContextOnStack(workInProgress),\n reuseSuspenseHandlerOnStack(workInProgress));\n reconcileChildren(current, workInProgress, nextChildren, renderLanes);\n return workInProgress.child;\n }\n function bailoutOffscreenComponent(current, workInProgress) {\n (null !== current && 22 === current.tag) ||\n null !== workInProgress.stateNode ||\n (workInProgress.stateNode = {\n _visibility: OffscreenVisible,\n _pendingMarkers: null,\n _retryCache: null,\n _transitions: null\n });\n return workInProgress.sibling;\n }\n function deferHiddenOffscreenComponent(\n current,\n workInProgress,\n nextBaseLanes,\n renderLanes,\n remainingChildLanes\n ) {\n var JSCompiler_inline_result = peekCacheFromPool();\n JSCompiler_inline_result =\n null === JSCompiler_inline_result\n ? null\n : {\n parent: CacheContext._currentValue,\n pool: JSCompiler_inline_result\n };\n workInProgress.memoizedState = {\n baseLanes: nextBaseLanes,\n cachePool: JSCompiler_inline_result\n };\n null !== current && pushTransition(workInProgress, null);\n reuseHiddenContextOnStack(workInProgress);\n pushOffscreenSuspenseHandler(workInProgress);\n null !== current &&\n propagateParentContextChanges(current, workInProgress, renderLanes, !0);\n workInProgress.childLanes = remainingChildLanes;\n return null;\n }\n function mountActivityChildren(workInProgress, nextProps) {\n var hiddenProp = nextProps.hidden;\n void 0 !== hiddenProp &&\n console.error(\n '<Activity> doesn\\'t accept a hidden prop. Use mode=\"hidden\" instead.\\n- <Activity %s>\\n+ <Activity %s>',\n !0 === hiddenProp\n ? \"hidden\"\n : !1 === hiddenProp\n ? \"hidden={false}\"\n : \"hidden={...}\",\n hiddenProp ? 'mode=\"hidden\"' : 'mode=\"visible\"'\n );\n nextProps = mountWorkInProgressOffscreenFiber(\n { mode: nextProps.mode, children: nextProps.children },\n workInProgress.mode\n );\n nextProps.ref = workInProgress.ref;\n workInProgress.child = nextProps;\n nextProps.return = workInProgress;\n return nextProps;\n }\n function retryActivityComponentWithoutHydrating(\n current,\n workInProgress,\n renderLanes\n ) {\n reconcileChildFibers(workInProgress, current.child, null, renderLanes);\n current = mountActivityChildren(\n workInProgress,\n workInProgress.pendingProps\n );\n current.flags |= 2;\n popSuspenseHandler(workInProgress);\n workInProgress.memoizedState = null;\n return current;\n }\n function updateActivityComponent(current, workInProgress, renderLanes) {\n var nextProps = workInProgress.pendingProps,\n didSuspend = 0 !== (workInProgress.flags & 128);\n workInProgress.flags &= -129;\n if (null === current) {\n if (isHydrating) {\n if (\"hidden\" === nextProps.mode)\n return (\n (current = mountActivityChildren(workInProgress, nextProps)),\n (workInProgress.lanes = 536870912),\n bailoutOffscreenComponent(null, current)\n );\n pushDehydratedActivitySuspenseHandler(workInProgress);\n (current = nextHydratableInstance)\n ? ((renderLanes = canHydrateHydrationBoundary(\n current,\n rootOrSingletonContext\n )),\n (renderLanes =\n null !== renderLanes && renderLanes.data === ACTIVITY_START_DATA\n ? renderLanes\n : null),\n null !== renderLanes &&\n ((nextProps = {\n dehydrated: renderLanes,\n treeContext: getSuspendedTreeContext(),\n retryLane: 536870912,\n hydrationErrors: null\n }),\n (workInProgress.memoizedState = nextProps),\n (nextProps = createFiberFromDehydratedFragment(renderLanes)),\n (nextProps.return = workInProgress),\n (workInProgress.child = nextProps),\n (hydrationParentFiber = workInProgress),\n (nextHydratableInstance = null)))\n : (renderLanes = null);\n if (null === renderLanes)\n throw (\n (warnNonHydratedInstance(workInProgress, current),\n throwOnHydrationMismatch(workInProgress))\n );\n workInProgress.lanes = 536870912;\n return null;\n }\n return mountActivityChildren(workInProgress, nextProps);\n }\n var prevState = current.memoizedState;\n if (null !== prevState) {\n var activityInstance = prevState.dehydrated;\n pushDehydratedActivitySuspenseHandler(workInProgress);\n if (didSuspend)\n if (workInProgress.flags & 256)\n (workInProgress.flags &= -257),\n (workInProgress = retryActivityComponentWithoutHydrating(\n current,\n workInProgress,\n renderLanes\n ));\n else if (null !== workInProgress.memoizedState)\n (workInProgress.child = current.child),\n (workInProgress.flags |= 128),\n (workInProgress = null);\n else\n throw Error(\n \"Client rendering an Activity suspended it again. This is a bug in React.\"\n );\n else if (\n (warnIfHydrating(),\n 0 !== (renderLanes & 536870912) &&\n markRenderDerivedCause(workInProgress),\n didReceiveUpdate ||\n propagateParentContextChanges(\n current,\n workInProgress,\n renderLanes,\n !1\n ),\n (didSuspend = 0 !== (renderLanes & current.childLanes)),\n didReceiveUpdate || didSuspend)\n ) {\n nextProps = workInProgressRoot;\n if (\n null !== nextProps &&\n ((activityInstance = getBumpedLaneForHydration(\n nextProps,\n renderLanes\n )),\n 0 !== activityInstance && activityInstance !== prevState.retryLane)\n )\n throw (\n ((prevState.retryLane = activityInstance),\n enqueueConcurrentRenderForLane(current, activityInstance),\n scheduleUpdateOnFiber(nextProps, current, activityInstance),\n SelectiveHydrationException)\n );\n renderDidSuspendDelayIfPossible();\n workInProgress = retryActivityComponentWithoutHydrating(\n current,\n workInProgress,\n renderLanes\n );\n } else\n (current = prevState.treeContext),\n (nextHydratableInstance = getNextHydratable(\n activityInstance.nextSibling\n )),\n (hydrationParentFiber = workInProgress),\n (isHydrating = !0),\n (hydrationErrors = null),\n (didSuspendOrErrorDEV = !1),\n (hydrationDiffRootDEV = null),\n (rootOrSingletonContext = !1),\n null !== current &&\n restoreSuspendedTreeContext(workInProgress, current),\n (workInProgress = mountActivityChildren(workInProgress, nextProps)),\n (workInProgress.flags |= 4096);\n return workInProgress;\n }\n prevState = current.child;\n nextProps = { mode: nextProps.mode, children: nextProps.children };\n 0 !== (renderLanes & 536870912) &&\n 0 !== (renderLanes & current.lanes) &&\n markRenderDerivedCause(workInProgress);\n current = createWorkInProgress(prevState, nextProps);\n current.ref = workInProgress.ref;\n workInProgress.child = current;\n current.return = workInProgress;\n return current;\n }\n function markRef(current, workInProgress) {\n var ref = workInProgress.ref;\n if (null === ref)\n null !== current &&\n null !== current.ref &&\n (workInProgress.flags |= 4194816);\n else {\n if (\"function\" !== typeof ref && \"object\" !== typeof ref)\n throw Error(\n \"Expected ref to be a function, an object returned by React.createRef(), or undefined/null.\"\n );\n if (null === current || current.ref !== ref)\n workInProgress.flags |= 4194816;\n }\n }\n function updateFunctionComponent(\n current,\n workInProgress,\n Component,\n nextProps,\n renderLanes\n ) {\n if (\n Component.prototype &&\n \"function\" === typeof Component.prototype.render\n ) {\n var componentName = getComponentNameFromType(Component) || \"Unknown\";\n didWarnAboutBadClass[componentName] ||\n (console.error(\n \"The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.\",\n componentName,\n componentName\n ),\n (didWarnAboutBadClass[componentName] = !0));\n }\n workInProgress.mode & StrictLegacyMode &&\n ReactStrictModeWarnings.recordLegacyContextWarning(\n workInProgress,\n null\n );\n null === current &&\n (validateFunctionComponentInDev(workInProgress, workInProgress.type),\n Component.contextTypes &&\n ((componentName = getComponentNameFromType(Component) || \"Unknown\"),\n didWarnAboutContextTypes[componentName] ||\n ((didWarnAboutContextTypes[componentName] = !0),\n console.error(\n \"%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)\",\n componentName\n ))));\n prepareToReadContext(workInProgress);\n Component = renderWithHooks(\n current,\n workInProgress,\n Component,\n nextProps,\n void 0,\n renderLanes\n );\n nextProps = checkDidRenderIdHook();\n if (null !== current && !didReceiveUpdate)\n return (\n bailoutHooks(current, workInProgress, renderLanes),\n bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes)\n );\n isHydrating && nextProps && pushMaterializedTreeId(workInProgress);\n workInProgress.flags |= 1;\n reconcileChildren(current, workInProgress, Component, renderLanes);\n return workInProgress.child;\n }\n function replayFunctionComponent(\n current,\n workInProgress,\n nextProps,\n Component,\n secondArg,\n renderLanes\n ) {\n prepareToReadContext(workInProgress);\n hookTypesUpdateIndexDev = -1;\n ignorePreviousDependencies =\n null !== current && current.type !== workInProgress.type;\n workInProgress.updateQueue = null;\n nextProps = renderWithHooksAgain(\n workInProgress,\n Component,\n nextProps,\n secondArg\n );\n finishRenderingHooks(current, workInProgress);\n Component = checkDidRenderIdHook();\n if (null !== current && !didReceiveUpdate)\n return (\n bailoutHooks(current, workInProgress, renderLanes),\n bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes)\n );\n isHydrating && Component && pushMaterializedTreeId(workInProgress);\n workInProgress.flags |= 1;\n reconcileChildren(current, workInProgress, nextProps, renderLanes);\n return workInProgress.child;\n }\n function updateClassComponent(\n current,\n workInProgress,\n Component,\n nextProps,\n renderLanes\n ) {\n switch (shouldErrorImpl(workInProgress)) {\n case !1:\n var _instance = workInProgress.stateNode,\n state = new workInProgress.type(\n workInProgress.memoizedProps,\n _instance.context\n ).state;\n _instance.updater.enqueueSetState(_instance, state, null);\n break;\n case !0:\n workInProgress.flags |= 128;\n workInProgress.flags |= 65536;\n _instance = Error(\"Simulated error coming from DevTools\");\n var lane = renderLanes & -renderLanes;\n workInProgress.lanes |= lane;\n state = workInProgressRoot;\n if (null === state)\n throw Error(\n \"Expected a work-in-progress root. This is a bug in React. Please file an issue.\"\n );\n lane = createClassErrorUpdate(lane);\n initializeClassErrorUpdate(\n lane,\n state,\n workInProgress,\n createCapturedValueAtFiber(_instance, workInProgress)\n );\n enqueueCapturedUpdate(workInProgress, lane);\n }\n prepareToReadContext(workInProgress);\n if (null === workInProgress.stateNode) {\n state = emptyContextObject;\n _instance = Component.contextType;\n \"contextType\" in Component &&\n null !== _instance &&\n (void 0 === _instance || _instance.$$typeof !== REACT_CONTEXT_TYPE) &&\n !didWarnAboutInvalidateContextType.has(Component) &&\n (didWarnAboutInvalidateContextType.add(Component),\n (lane =\n void 0 === _instance\n ? \" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.\"\n : \"object\" !== typeof _instance\n ? \" However, it is set to a \" + typeof _instance + \".\"\n : _instance.$$typeof === REACT_CONSUMER_TYPE\n ? \" Did you accidentally pass the Context.Consumer instead?\"\n : \" However, it is set to an object with keys {\" +\n Object.keys(_instance).join(\", \") +\n \"}.\"),\n console.error(\n \"%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s\",\n getComponentNameFromType(Component) || \"Component\",\n lane\n ));\n \"object\" === typeof _instance &&\n null !== _instance &&\n (state = readContext(_instance));\n _instance = new Component(nextProps, state);\n if (workInProgress.mode & StrictLegacyMode) {\n setIsStrictModeForDevtools(!0);\n try {\n _instance = new Component(nextProps, state);\n } finally {\n setIsStrictModeForDevtools(!1);\n }\n }\n state = workInProgress.memoizedState =\n null !== _instance.state && void 0 !== _instance.state\n ? _instance.state\n : null;\n _instance.updater = classComponentUpdater;\n workInProgress.stateNode = _instance;\n _instance._reactInternals = workInProgress;\n _instance._reactInternalInstance = fakeInternalInstance;\n \"function\" === typeof Component.getDerivedStateFromProps &&\n null === state &&\n ((state = getComponentNameFromType(Component) || \"Component\"),\n didWarnAboutUninitializedState.has(state) ||\n (didWarnAboutUninitializedState.add(state),\n console.error(\n \"`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.\",\n state,\n null === _instance.state ? \"null\" : \"undefined\",\n state\n )));\n if (\n \"function\" === typeof Component.getDerivedStateFromProps ||\n \"function\" === typeof _instance.getSnapshotBeforeUpdate\n ) {\n var foundWillUpdateName = (lane = state = null);\n \"function\" === typeof _instance.componentWillMount &&\n !0 !== _instance.componentWillMount.__suppressDeprecationWarning\n ? (state = \"componentWillMount\")\n : \"function\" === typeof _instance.UNSAFE_componentWillMount &&\n (state = \"UNSAFE_componentWillMount\");\n \"function\" === typeof _instance.componentWillReceiveProps &&\n !0 !==\n _instance.componentWillReceiveProps.__suppressDeprecationWarning\n ? (lane = \"componentWillReceiveProps\")\n : \"function\" ===\n typeof _instance.UNSAFE_componentWillReceiveProps &&\n (lane = \"UNSAFE_componentWillReceiveProps\");\n \"function\" === typeof _instance.componentWillUpdate &&\n !0 !== _instance.componentWillUpdate.__suppressDeprecationWarning\n ? (foundWillUpdateName = \"componentWillUpdate\")\n : \"function\" === typeof _instance.UNSAFE_componentWillUpdate &&\n (foundWillUpdateName = \"UNSAFE_componentWillUpdate\");\n if (null !== state || null !== lane || null !== foundWillUpdateName) {\n _instance = getComponentNameFromType(Component) || \"Component\";\n var newApiName =\n \"function\" === typeof Component.getDerivedStateFromProps\n ? \"getDerivedStateFromProps()\"\n : \"getSnapshotBeforeUpdate()\";\n didWarnAboutLegacyLifecyclesAndDerivedState.has(_instance) ||\n (didWarnAboutLegacyLifecyclesAndDerivedState.add(_instance),\n console.error(\n \"Unsafe legacy lifecycles will not be called for components using new component APIs.\\n\\n%s uses %s but also contains the following legacy lifecycles:%s%s%s\\n\\nThe above lifecycles should be removed. Learn more about this warning here:\\nhttps://react.dev/link/unsafe-component-lifecycles\",\n _instance,\n newApiName,\n null !== state ? \"\\n \" + state : \"\",\n null !== lane ? \"\\n \" + lane : \"\",\n null !== foundWillUpdateName ? \"\\n \" + foundWillUpdateName : \"\"\n ));\n }\n }\n _instance = workInProgress.stateNode;\n state = getComponentNameFromType(Component) || \"Component\";\n _instance.render ||\n (Component.prototype &&\n \"function\" === typeof Component.prototype.render\n ? console.error(\n \"No `render` method found on the %s instance: did you accidentally return an object from the constructor?\",\n state\n )\n : console.error(\n \"No `render` method found on the %s instance: you may have forgotten to define `render`.\",\n state\n ));\n !_instance.getInitialState ||\n _instance.getInitialState.isReactClassApproved ||\n _instance.state ||\n console.error(\n \"getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?\",\n state\n );\n _instance.getDefaultProps &&\n !_instance.getDefaultProps.isReactClassApproved &&\n console.error(\n \"getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.\",\n state\n );\n _instance.contextType &&\n console.error(\n \"contextType was defined as an instance property on %s. Use a static property to define contextType instead.\",\n state\n );\n Component.childContextTypes &&\n !didWarnAboutChildContextTypes.has(Component) &&\n (didWarnAboutChildContextTypes.add(Component),\n console.error(\n \"%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)\",\n state\n ));\n Component.contextTypes &&\n !didWarnAboutContextTypes$1.has(Component) &&\n (didWarnAboutContextTypes$1.add(Component),\n console.error(\n \"%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)\",\n state\n ));\n \"function\" === typeof _instance.componentShouldUpdate &&\n console.error(\n \"%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.\",\n state\n );\n Component.prototype &&\n Component.prototype.isPureReactComponent &&\n \"undefined\" !== typeof _instance.shouldComponentUpdate &&\n console.error(\n \"%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.\",\n getComponentNameFromType(Component) || \"A pure component\"\n );\n \"function\" === typeof _instance.componentDidUnmount &&\n console.error(\n \"%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?\",\n state\n );\n \"function\" === typeof _instance.componentDidReceiveProps &&\n console.error(\n \"%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().\",\n state\n );\n \"function\" === typeof _instance.componentWillRecieveProps &&\n console.error(\n \"%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?\",\n state\n );\n \"function\" === typeof _instance.UNSAFE_componentWillRecieveProps &&\n console.error(\n \"%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?\",\n state\n );\n lane = _instance.props !== nextProps;\n void 0 !== _instance.props &&\n lane &&\n console.error(\n \"When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.\",\n state\n );\n _instance.defaultProps &&\n console.error(\n \"Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.\",\n state,\n state\n );\n \"function\" !== typeof _instance.getSnapshotBeforeUpdate ||\n \"function\" === typeof _instance.componentDidUpdate ||\n didWarnAboutGetSnapshotBeforeUpdateWithoutDidUpdate.has(Component) ||\n (didWarnAboutGetSnapshotBeforeUpdateWithoutDidUpdate.add(Component),\n console.error(\n \"%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.\",\n getComponentNameFromType(Component)\n ));\n \"function\" === typeof _instance.getDerivedStateFromProps &&\n console.error(\n \"%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.\",\n state\n );\n \"function\" === typeof _instance.getDerivedStateFromError &&\n console.error(\n \"%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.\",\n state\n );\n \"function\" === typeof Component.getSnapshotBeforeUpdate &&\n console.error(\n \"%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.\",\n state\n );\n (lane = _instance.state) &&\n (\"object\" !== typeof lane || isArrayImpl(lane)) &&\n console.error(\"%s.state: must be set to an object or null\", state);\n \"function\" === typeof _instance.getChildContext &&\n \"object\" !== typeof Component.childContextTypes &&\n console.error(\n \"%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().\",\n state\n );\n _instance = workInProgress.stateNode;\n _instance.props = nextProps;\n _instance.state = workInProgress.memoizedState;\n _instance.refs = {};\n initializeUpdateQueue(workInProgress);\n state = Component.contextType;\n _instance.context =\n \"object\" === typeof state && null !== state\n ? readContext(state)\n : emptyContextObject;\n _instance.state === nextProps &&\n ((state = getComponentNameFromType(Component) || \"Component\"),\n didWarnAboutDirectlyAssigningPropsToState.has(state) ||\n (didWarnAboutDirectlyAssigningPropsToState.add(state),\n console.error(\n \"%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.\",\n state\n )));\n workInProgress.mode & StrictLegacyMode &&\n ReactStrictModeWarnings.recordLegacyContextWarning(\n workInProgress,\n _instance\n );\n ReactStrictModeWarnings.recordUnsafeLifecycleWarnings(\n workInProgress,\n _instance\n );\n _instance.state = workInProgress.memoizedState;\n state = Component.getDerivedStateFromProps;\n \"function\" === typeof state &&\n (applyDerivedStateFromProps(\n workInProgress,\n Component,\n state,\n nextProps\n ),\n (_instance.state = workInProgress.memoizedState));\n \"function\" === typeof Component.getDerivedStateFromProps ||\n \"function\" === typeof _instance.getSnapshotBeforeUpdate ||\n (\"function\" !== typeof _instance.UNSAFE_componentWillMount &&\n \"function\" !== typeof _instance.componentWillMount) ||\n ((state = _instance.state),\n \"function\" === typeof _instance.componentWillMount &&\n _instance.componentWillMount(),\n \"function\" === typeof _instance.UNSAFE_componentWillMount &&\n _instance.UNSAFE_componentWillMount(),\n state !== _instance.state &&\n (console.error(\n \"%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.\",\n getComponentNameFromFiber(workInProgress) || \"Component\"\n ),\n classComponentUpdater.enqueueReplaceState(\n _instance,\n _instance.state,\n null\n )),\n processUpdateQueue(workInProgress, nextProps, _instance, renderLanes),\n suspendIfUpdateReadFromEntangledAsyncAction(),\n (_instance.state = workInProgress.memoizedState));\n \"function\" === typeof _instance.componentDidMount &&\n (workInProgress.flags |= 4194308);\n (workInProgress.mode & StrictEffectsMode) !== NoMode &&\n (workInProgress.flags |= 268435456);\n _instance = !0;\n } else if (null === current) {\n _instance = workInProgress.stateNode;\n var unresolvedOldProps = workInProgress.memoizedProps;\n lane = resolveClassComponentProps(Component, unresolvedOldProps);\n _instance.props = lane;\n var oldContext = _instance.context;\n foundWillUpdateName = Component.contextType;\n state = emptyContextObject;\n \"object\" === typeof foundWillUpdateName &&\n null !== foundWillUpdateName &&\n (state = readContext(foundWillUpdateName));\n newApiName = Component.getDerivedStateFromProps;\n foundWillUpdateName =\n \"function\" === typeof newApiName ||\n \"function\" === typeof _instance.getSnapshotBeforeUpdate;\n unresolvedOldProps = workInProgress.pendingProps !== unresolvedOldProps;\n foundWillUpdateName ||\n (\"function\" !== typeof _instance.UNSAFE_componentWillReceiveProps &&\n \"function\" !== typeof _instance.componentWillReceiveProps) ||\n ((unresolvedOldProps || oldContext !== state) &&\n callComponentWillReceiveProps(\n workInProgress,\n _instance,\n nextProps,\n state\n ));\n hasForceUpdate = !1;\n var oldState = workInProgress.memoizedState;\n _instance.state = oldState;\n processUpdateQueue(workInProgress, nextProps, _instance, renderLanes);\n suspendIfUpdateReadFromEntangledAsyncAction();\n oldContext = workInProgress.memoizedState;\n unresolvedOldProps || oldState !== oldContext || hasForceUpdate\n ? (\"function\" === typeof newApiName &&\n (applyDerivedStateFromProps(\n workInProgress,\n Component,\n newApiName,\n nextProps\n ),\n (oldContext = workInProgress.memoizedState)),\n (lane =\n hasForceUpdate ||\n checkShouldComponentUpdate(\n workInProgress,\n Component,\n lane,\n nextProps,\n oldState,\n oldContext,\n state\n ))\n ? (foundWillUpdateName ||\n (\"function\" !== typeof _instance.UNSAFE_componentWillMount &&\n \"function\" !== typeof _instance.componentWillMount) ||\n (\"function\" === typeof _instance.componentWillMount &&\n _instance.componentWillMount(),\n \"function\" === typeof _instance.UNSAFE_componentWillMount &&\n _instance.UNSAFE_componentWillMount()),\n \"function\" === typeof _instance.componentDidMount &&\n (workInProgress.flags |= 4194308),\n (workInProgress.mode & StrictEffectsMode) !== NoMode &&\n (workInProgress.flags |= 268435456))\n : (\"function\" === typeof _instance.componentDidMount &&\n (workInProgress.flags |= 4194308),\n (workInProgress.mode & StrictEffectsMode) !== NoMode &&\n (workInProgress.flags |= 268435456),\n (workInProgress.memoizedProps = nextProps),\n (workInProgress.memoizedState = oldContext)),\n (_instance.props = nextProps),\n (_instance.state = oldContext),\n (_instance.context = state),\n (_instance = lane))\n : (\"function\" === typeof _instance.componentDidMount &&\n (workInProgress.flags |= 4194308),\n (workInProgress.mode & StrictEffectsMode) !== NoMode &&\n (workInProgress.flags |= 268435456),\n (_instance = !1));\n } else {\n _instance = workInProgress.stateNode;\n cloneUpdateQueue(current, workInProgress);\n state = workInProgress.memoizedProps;\n foundWillUpdateName = resolveClassComponentProps(Component, state);\n _instance.props = foundWillUpdateName;\n newApiName = workInProgress.pendingProps;\n oldState = _instance.context;\n oldContext = Component.contextType;\n lane = emptyContextObject;\n \"object\" === typeof oldContext &&\n null !== oldContext &&\n (lane = readContext(oldContext));\n unresolvedOldProps = Component.getDerivedStateFromProps;\n (oldContext =\n \"function\" === typeof unresolvedOldProps ||\n \"function\" === typeof _instance.getSnapshotBeforeUpdate) ||\n (\"function\" !== typeof _instance.UNSAFE_componentWillReceiveProps &&\n \"function\" !== typeof _instance.componentWillReceiveProps) ||\n ((state !== newApiName || oldState !== lane) &&\n callComponentWillReceiveProps(\n workInProgress,\n _instance,\n nextProps,\n lane\n ));\n hasForceUpdate = !1;\n oldState = workInProgress.memoizedState;\n _instance.state = oldState;\n processUpdateQueue(workInProgress, nextProps, _instance, renderLanes);\n suspendIfUpdateReadFromEntangledAsyncAction();\n var newState = workInProgress.memoizedState;\n state !== newApiName ||\n oldState !== newState ||\n hasForceUpdate ||\n (null !== current &&\n null !== current.dependencies &&\n checkIfContextChanged(current.dependencies))\n ? (\"function\" === typeof unresolvedOldProps &&\n (applyDerivedStateFromProps(\n workInProgress,\n Component,\n unresolvedOldProps,\n nextProps\n ),\n (newState = workInProgress.memoizedState)),\n (foundWillUpdateName =\n hasForceUpdate ||\n checkShouldComponentUpdate(\n workInProgress,\n Component,\n foundWillUpdateName,\n nextProps,\n oldState,\n newState,\n lane\n ) ||\n (null !== current &&\n null !== current.dependencies &&\n checkIfContextChanged(current.dependencies)))\n ? (oldContext ||\n (\"function\" !== typeof _instance.UNSAFE_componentWillUpdate &&\n \"function\" !== typeof _instance.componentWillUpdate) ||\n (\"function\" === typeof _instance.componentWillUpdate &&\n _instance.componentWillUpdate(nextProps, newState, lane),\n \"function\" === typeof _instance.UNSAFE_componentWillUpdate &&\n _instance.UNSAFE_componentWillUpdate(\n nextProps,\n newState,\n lane\n )),\n \"function\" === typeof _instance.componentDidUpdate &&\n (workInProgress.flags |= 4),\n \"function\" === typeof _instance.getSnapshotBeforeUpdate &&\n (workInProgress.flags |= 1024))\n : (\"function\" !== typeof _instance.componentDidUpdate ||\n (state === current.memoizedProps &&\n oldState === current.memoizedState) ||\n (workInProgress.flags |= 4),\n \"function\" !== typeof _instance.getSnapshotBeforeUpdate ||\n (state === current.memoizedProps &&\n oldState === current.memoizedState) ||\n (workInProgress.flags |= 1024),\n (workInProgress.memoizedProps = nextProps),\n (workInProgress.memoizedState = newState)),\n (_instance.props = nextProps),\n (_instance.state = newState),\n (_instance.context = lane),\n (_instance = foundWillUpdateName))\n : (\"function\" !== typeof _instance.componentDidUpdate ||\n (state === current.memoizedProps &&\n oldState === current.memoizedState) ||\n (workInProgress.flags |= 4),\n \"function\" !== typeof _instance.getSnapshotBeforeUpdate ||\n (state === current.memoizedProps &&\n oldState === current.memoizedState) ||\n (workInProgress.flags |= 1024),\n (_instance = !1));\n }\n lane = _instance;\n markRef(current, workInProgress);\n state = 0 !== (workInProgress.flags & 128);\n if (lane || state) {\n lane = workInProgress.stateNode;\n setCurrentFiber(workInProgress);\n if (state && \"function\" !== typeof Component.getDerivedStateFromError)\n (Component = null), (profilerStartTime = -1);\n else if (\n ((Component = callRenderInDEV(lane)),\n workInProgress.mode & StrictLegacyMode)\n ) {\n setIsStrictModeForDevtools(!0);\n try {\n callRenderInDEV(lane);\n } finally {\n setIsStrictModeForDevtools(!1);\n }\n }\n workInProgress.flags |= 1;\n null !== current && state\n ? ((workInProgress.child = reconcileChildFibers(\n workInProgress,\n current.child,\n null,\n renderLanes\n )),\n (workInProgress.child = reconcileChildFibers(\n workInProgress,\n null,\n Component,\n renderLanes\n )))\n : reconcileChildren(current, workInProgress, Component, renderLanes);\n workInProgress.memoizedState = lane.state;\n current = workInProgress.child;\n } else\n current = bailoutOnAlreadyFinishedWork(\n current,\n workInProgress,\n renderLanes\n );\n renderLanes = workInProgress.stateNode;\n _instance &&\n renderLanes.props !== nextProps &&\n (didWarnAboutReassigningProps ||\n console.error(\n \"It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.\",\n getComponentNameFromFiber(workInProgress) || \"a component\"\n ),\n (didWarnAboutReassigningProps = !0));\n return current;\n }\n function mountHostRootWithoutHydrating(\n current,\n workInProgress,\n nextChildren,\n renderLanes\n ) {\n resetHydrationState();\n workInProgress.flags |= 256;\n reconcileChildren(current, workInProgress, nextChildren, renderLanes);\n return workInProgress.child;\n }\n function validateFunctionComponentInDev(workInProgress, Component) {\n Component &&\n Component.childContextTypes &&\n console.error(\n \"childContextTypes cannot be defined on a function component.\\n %s.childContextTypes = ...\",\n Component.displayName || Component.name || \"Component\"\n );\n \"function\" === typeof Component.getDerivedStateFromProps &&\n ((workInProgress = getComponentNameFromType(Component) || \"Unknown\"),\n didWarnAboutGetDerivedStateOnFunctionComponent[workInProgress] ||\n (console.error(\n \"%s: Function components do not support getDerivedStateFromProps.\",\n workInProgress\n ),\n (didWarnAboutGetDerivedStateOnFunctionComponent[workInProgress] =\n !0)));\n \"object\" === typeof Component.contextType &&\n null !== Component.contextType &&\n ((Component = getComponentNameFromType(Component) || \"Unknown\"),\n didWarnAboutContextTypeOnFunctionComponent[Component] ||\n (console.error(\n \"%s: Function components do not support contextType.\",\n Component\n ),\n (didWarnAboutContextTypeOnFunctionComponent[Component] = !0)));\n }\n function mountSuspenseOffscreenState(renderLanes) {\n return { baseLanes: renderLanes, cachePool: getSuspendedCache() };\n }\n function getRemainingWorkInPrimaryTree(\n current,\n primaryTreeDidDefer,\n renderLanes\n ) {\n current = null !== current ? current.childLanes & ~renderLanes : 0;\n primaryTreeDidDefer && (current |= workInProgressDeferredLane);\n return current;\n }\n function updateSuspenseComponent(current, workInProgress, renderLanes) {\n var JSCompiler_object_inline_digest_2939;\n var JSCompiler_object_inline_stack_2940 = workInProgress.pendingProps;\n shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);\n var JSCompiler_object_inline_message_2938 = !1;\n var didSuspend = 0 !== (workInProgress.flags & 128);\n (JSCompiler_object_inline_digest_2939 = didSuspend) ||\n (JSCompiler_object_inline_digest_2939 =\n null !== current && null === current.memoizedState\n ? !1\n : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));\n JSCompiler_object_inline_digest_2939 &&\n ((JSCompiler_object_inline_message_2938 = !0),\n (workInProgress.flags &= -129));\n JSCompiler_object_inline_digest_2939 = 0 !== (workInProgress.flags & 32);\n workInProgress.flags &= -33;\n if (null === current) {\n if (isHydrating) {\n JSCompiler_object_inline_message_2938\n ? pushPrimaryTreeSuspenseHandler(workInProgress)\n : reuseSuspenseHandlerOnStack(workInProgress);\n (current = nextHydratableInstance)\n ? ((renderLanes = canHydrateHydrationBoundary(\n current,\n rootOrSingletonContext\n )),\n (renderLanes =\n null !== renderLanes && renderLanes.data !== ACTIVITY_START_DATA\n ? renderLanes\n : null),\n null !== renderLanes &&\n ((JSCompiler_object_inline_digest_2939 = {\n dehydrated: renderLanes,\n treeContext: getSuspendedTreeContext(),\n retryLane: 536870912,\n hydrationErrors: null\n }),\n (workInProgress.memoizedState =\n JSCompiler_object_inline_digest_2939),\n (JSCompiler_object_inline_digest_2939 =\n createFiberFromDehydratedFragment(renderLanes)),\n (JSCompiler_object_inline_digest_2939.return = workInProgress),\n (workInProgress.child = JSCompiler_object_inline_digest_2939),\n (hydrationParentFiber = workInProgress),\n (nextHydratableInstance = null)))\n : (renderLanes = null);\n if (null === renderLanes)\n throw (\n (warnNonHydratedInstance(workInProgress, current),\n throwOnHydrationMismatch(workInProgress))\n );\n isSuspenseInstanceFallback(renderLanes)\n ? (workInProgress.lanes = 32)\n : (workInProgress.lanes = 536870912);\n return null;\n }\n var nextPrimaryChildren = JSCompiler_object_inline_stack_2940.children;\n JSCompiler_object_inline_stack_2940 =\n JSCompiler_object_inline_stack_2940.fallback;\n if (JSCompiler_object_inline_message_2938) {\n reuseSuspenseHandlerOnStack(workInProgress);\n var mode = workInProgress.mode;\n nextPrimaryChildren = mountWorkInProgressOffscreenFiber(\n { mode: \"hidden\", children: nextPrimaryChildren },\n mode\n );\n JSCompiler_object_inline_stack_2940 = createFiberFromFragment(\n JSCompiler_object_inline_stack_2940,\n mode,\n renderLanes,\n null\n );\n nextPrimaryChildren.return = workInProgress;\n JSCompiler_object_inline_stack_2940.return = workInProgress;\n nextPrimaryChildren.sibling = JSCompiler_object_inline_stack_2940;\n workInProgress.child = nextPrimaryChildren;\n JSCompiler_object_inline_stack_2940 = workInProgress.child;\n JSCompiler_object_inline_stack_2940.memoizedState =\n mountSuspenseOffscreenState(renderLanes);\n JSCompiler_object_inline_stack_2940.childLanes =\n getRemainingWorkInPrimaryTree(\n current,\n JSCompiler_object_inline_digest_2939,\n renderLanes\n );\n workInProgress.memoizedState = SUSPENDED_MARKER;\n return bailoutOffscreenComponent(\n null,\n JSCompiler_object_inline_stack_2940\n );\n }\n pushPrimaryTreeSuspenseHandler(workInProgress);\n return mountSuspensePrimaryChildren(\n workInProgress,\n nextPrimaryChildren\n );\n }\n var prevState = current.memoizedState;\n if (null !== prevState) {\n var JSCompiler_object_inline_componentStack_2941 = prevState.dehydrated;\n if (null !== JSCompiler_object_inline_componentStack_2941) {\n if (didSuspend)\n workInProgress.flags & 256\n ? (pushPrimaryTreeSuspenseHandler(workInProgress),\n (workInProgress.flags &= -257),\n (workInProgress = retrySuspenseComponentWithoutHydrating(\n current,\n workInProgress,\n renderLanes\n )))\n : null !== workInProgress.memoizedState\n ? (reuseSuspenseHandlerOnStack(workInProgress),\n (workInProgress.child = current.child),\n (workInProgress.flags |= 128),\n (workInProgress = null))\n : (reuseSuspenseHandlerOnStack(workInProgress),\n (nextPrimaryChildren =\n JSCompiler_object_inline_stack_2940.fallback),\n (mode = workInProgress.mode),\n (JSCompiler_object_inline_stack_2940 =\n mountWorkInProgressOffscreenFiber(\n {\n mode: \"visible\",\n children: JSCompiler_object_inline_stack_2940.children\n },\n mode\n )),\n (nextPrimaryChildren = createFiberFromFragment(\n nextPrimaryChildren,\n mode,\n renderLanes,\n null\n )),\n (nextPrimaryChildren.flags |= 2),\n (JSCompiler_object_inline_stack_2940.return = workInProgress),\n (nextPrimaryChildren.return = workInProgress),\n (JSCompiler_object_inline_stack_2940.sibling =\n nextPrimaryChildren),\n (workInProgress.child = JSCompiler_object_inline_stack_2940),\n reconcileChildFibers(\n workInProgress,\n current.child,\n null,\n renderLanes\n ),\n (JSCompiler_object_inline_stack_2940 = workInProgress.child),\n (JSCompiler_object_inline_stack_2940.memoizedState =\n mountSuspenseOffscreenState(renderLanes)),\n (JSCompiler_object_inline_stack_2940.childLanes =\n getRemainingWorkInPrimaryTree(\n current,\n JSCompiler_object_inline_digest_2939,\n renderLanes\n )),\n (workInProgress.memoizedState = SUSPENDED_MARKER),\n (workInProgress = bailoutOffscreenComponent(\n null,\n JSCompiler_object_inline_stack_2940\n )));\n else if (\n (pushPrimaryTreeSuspenseHandler(workInProgress),\n warnIfHydrating(),\n 0 !== (renderLanes & 536870912) &&\n markRenderDerivedCause(workInProgress),\n isSuspenseInstanceFallback(\n JSCompiler_object_inline_componentStack_2941\n ))\n ) {\n JSCompiler_object_inline_digest_2939 =\n JSCompiler_object_inline_componentStack_2941.nextSibling &&\n JSCompiler_object_inline_componentStack_2941.nextSibling.dataset;\n if (JSCompiler_object_inline_digest_2939) {\n nextPrimaryChildren = JSCompiler_object_inline_digest_2939.dgst;\n var message = JSCompiler_object_inline_digest_2939.msg;\n mode = JSCompiler_object_inline_digest_2939.stck;\n var componentStack = JSCompiler_object_inline_digest_2939.cstck;\n }\n JSCompiler_object_inline_message_2938 = message;\n JSCompiler_object_inline_digest_2939 = nextPrimaryChildren;\n JSCompiler_object_inline_stack_2940 = mode;\n JSCompiler_object_inline_componentStack_2941 = componentStack;\n nextPrimaryChildren = JSCompiler_object_inline_message_2938;\n mode = JSCompiler_object_inline_componentStack_2941;\n nextPrimaryChildren = nextPrimaryChildren\n ? Error(nextPrimaryChildren)\n : Error(\n \"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.\"\n );\n nextPrimaryChildren.stack =\n JSCompiler_object_inline_stack_2940 || \"\";\n nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2939;\n JSCompiler_object_inline_digest_2939 =\n void 0 === mode ? null : mode;\n JSCompiler_object_inline_stack_2940 = {\n value: nextPrimaryChildren,\n source: null,\n stack: JSCompiler_object_inline_digest_2939\n };\n \"string\" === typeof JSCompiler_object_inline_digest_2939 &&\n CapturedStacks.set(\n nextPrimaryChildren,\n JSCompiler_object_inline_stack_2940\n );\n queueHydrationError(JSCompiler_object_inline_stack_2940);\n workInProgress = retrySuspenseComponentWithoutHydrating(\n current,\n workInProgress,\n renderLanes\n );\n } else if (\n (didReceiveUpdate ||\n propagateParentContextChanges(\n current,\n workInProgress,\n renderLanes,\n !1\n ),\n (JSCompiler_object_inline_digest_2939 =\n 0 !== (renderLanes & current.childLanes)),\n didReceiveUpdate || JSCompiler_object_inline_digest_2939)\n ) {\n JSCompiler_object_inline_digest_2939 = workInProgressRoot;\n if (\n null !== JSCompiler_object_inline_digest_2939 &&\n ((JSCompiler_object_inline_stack_2940 = getBumpedLaneForHydration(\n JSCompiler_object_inline_digest_2939,\n renderLanes\n )),\n 0 !== JSCompiler_object_inline_stack_2940 &&\n JSCompiler_object_inline_stack_2940 !== prevState.retryLane)\n )\n throw (\n ((prevState.retryLane = JSCompiler_object_inline_stack_2940),\n enqueueConcurrentRenderForLane(\n current,\n JSCompiler_object_inline_stack_2940\n ),\n scheduleUpdateOnFiber(\n JSCompiler_object_inline_digest_2939,\n current,\n JSCompiler_object_inline_stack_2940\n ),\n SelectiveHydrationException)\n );\n isSuspenseInstancePending(\n JSCompiler_object_inline_componentStack_2941\n ) || renderDidSuspendDelayIfPossible();\n workInProgress = retrySuspenseComponentWithoutHydrating(\n current,\n workInProgress,\n renderLanes\n );\n } else\n isSuspenseInstancePending(\n JSCompiler_object_inline_componentStack_2941\n )\n ? ((workInProgress.flags |= 192),\n (workInProgress.child = current.child),\n (workInProgress = null))\n : ((current = prevState.treeContext),\n (nextHydratableInstance = getNextHydratable(\n JSCompiler_object_inline_componentStack_2941.nextSibling\n )),\n (hydrationParentFiber = workInProgress),\n (isHydrating = !0),\n (hydrationErrors = null),\n (didSuspendOrErrorDEV = !1),\n (hydrationDiffRootDEV = null),\n (rootOrSingletonContext = !1),\n null !== current &&\n restoreSuspendedTreeContext(workInProgress, current),\n (workInProgress = mountSuspensePrimaryChildren(\n workInProgress,\n JSCompiler_object_inline_stack_2940.children\n )),\n (workInProgress.flags |= 4096));\n return workInProgress;\n }\n }\n if (JSCompiler_object_inline_message_2938)\n return (\n reuseSuspenseHandlerOnStack(workInProgress),\n (nextPrimaryChildren = JSCompiler_object_inline_stack_2940.fallback),\n (mode = workInProgress.mode),\n (componentStack = current.child),\n (JSCompiler_object_inline_componentStack_2941 =\n componentStack.sibling),\n (JSCompiler_object_inline_stack_2940 = createWorkInProgress(\n componentStack,\n {\n mode: \"hidden\",\n children: JSCompiler_object_inline_stack_2940.children\n }\n )),\n (JSCompiler_object_inline_stack_2940.subtreeFlags =\n componentStack.subtreeFlags & 132120576),\n null !== JSCompiler_object_inline_componentStack_2941\n ? (nextPrimaryChildren = createWorkInProgress(\n JSCompiler_object_inline_componentStack_2941,\n nextPrimaryChildren\n ))\n : ((nextPrimaryChildren = createFiberFromFragment(\n nextPrimaryChildren,\n mode,\n renderLanes,\n null\n )),\n (nextPrimaryChildren.flags |= 2)),\n (nextPrimaryChildren.return = workInProgress),\n (JSCompiler_object_inline_stack_2940.return = workInProgress),\n (JSCompiler_object_inline_stack_2940.sibling = nextPrimaryChildren),\n (workInProgress.child = JSCompiler_object_inline_stack_2940),\n bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2940),\n (JSCompiler_object_inline_stack_2940 = workInProgress.child),\n (nextPrimaryChildren = current.child.memoizedState),\n null === nextPrimaryChildren\n ? (nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes))\n : ((mode = nextPrimaryChildren.cachePool),\n null !== mode\n ? ((componentStack = CacheContext._currentValue),\n (mode =\n mode.parent !== componentStack\n ? { parent: componentStack, pool: componentStack }\n : mode))\n : (mode = getSuspendedCache()),\n (nextPrimaryChildren = {\n baseLanes: nextPrimaryChildren.baseLanes | renderLanes,\n cachePool: mode\n })),\n (JSCompiler_object_inline_stack_2940.memoizedState =\n nextPrimaryChildren),\n (JSCompiler_object_inline_stack_2940.childLanes =\n getRemainingWorkInPrimaryTree(\n current,\n JSCompiler_object_inline_digest_2939,\n renderLanes\n )),\n (workInProgress.memoizedState = SUSPENDED_MARKER),\n bailoutOffscreenComponent(\n current.child,\n JSCompiler_object_inline_stack_2940\n )\n );\n null !== prevState &&\n (renderLanes & 62914560) === renderLanes &&\n 0 !== (renderLanes & current.lanes) &&\n markRenderDerivedCause(workInProgress);\n pushPrimaryTreeSuspenseHandler(workInProgress);\n renderLanes = current.child;\n current = renderLanes.sibling;\n renderLanes = createWorkInProgress(renderLanes, {\n mode: \"visible\",\n children: JSCompiler_object_inline_stack_2940.children\n });\n renderLanes.return = workInProgress;\n renderLanes.sibling = null;\n null !== current &&\n ((JSCompiler_object_inline_digest_2939 = workInProgress.deletions),\n null === JSCompiler_object_inline_digest_2939\n ? ((workInProgress.deletions = [current]),\n (workInProgress.flags |= 16))\n : JSCompiler_object_inline_digest_2939.push(current));\n workInProgress.child = renderLanes;\n workInProgress.memoizedState = null;\n return renderLanes;\n }\n function mountSuspensePrimaryChildren(workInProgress, primaryChildren) {\n primaryChildren = mountWorkInProgressOffscreenFiber(\n { mode: \"visible\", children: primaryChildren },\n workInProgress.mode\n );\n primaryChildren.return = workInProgress;\n return (workInProgress.child = primaryChildren);\n }\n function mountWorkInProgressOffscreenFiber(offscreenProps, mode) {\n offscreenProps = createFiber(22, offscreenProps, null, mode);\n offscreenProps.lanes = 0;\n return offscreenProps;\n }\n function retrySuspenseComponentWithoutHydrating(\n current,\n workInProgress,\n renderLanes\n ) {\n reconcileChildFibers(workInProgress, current.child, null, renderLanes);\n current = mountSuspensePrimaryChildren(\n workInProgress,\n workInProgress.pendingProps.children\n );\n current.flags |= 2;\n workInProgress.memoizedState = null;\n return current;\n }\n function scheduleSuspenseWorkOnFiber(fiber, renderLanes, propagationRoot) {\n fiber.lanes |= renderLanes;\n var alternate = fiber.alternate;\n null !== alternate && (alternate.lanes |= renderLanes);\n scheduleContextWorkOnParentPath(\n fiber.return,\n renderLanes,\n propagationRoot\n );\n }\n function findLastContentRow(firstChild) {\n for (var lastContentRow = null; null !== firstChild; ) {\n var currentRow = firstChild.alternate;\n null !== currentRow &&\n null === findFirstSuspended(currentRow) &&\n (lastContentRow = firstChild);\n firstChild = firstChild.sibling;\n }\n return lastContentRow;\n }\n function initSuspenseListRenderState(\n workInProgress,\n isBackwards,\n tail,\n lastContentRow,\n tailMode,\n treeForkCount\n ) {\n var renderState = workInProgress.memoizedState;\n null === renderState\n ? (workInProgress.memoizedState = {\n isBackwards: isBackwards,\n rendering: null,\n renderingStartTime: 0,\n last: lastContentRow,\n tail: tail,\n tailMode: tailMode,\n treeForkCount: treeForkCount\n })\n : ((renderState.isBackwards = isBackwards),\n (renderState.rendering = null),\n (renderState.renderingStartTime = 0),\n (renderState.last = lastContentRow),\n (renderState.tail = tail),\n (renderState.tailMode = tailMode),\n (renderState.treeForkCount = treeForkCount));\n }\n function reverseChildren(fiber) {\n var row = fiber.child;\n for (fiber.child = null; null !== row; ) {\n var nextRow = row.sibling;\n row.sibling = fiber.child;\n fiber.child = row;\n row = nextRow;\n }\n }\n function updateSuspenseListComponent(current, workInProgress, renderLanes) {\n var nextProps = workInProgress.pendingProps,\n revealOrder = nextProps.revealOrder,\n tailMode = nextProps.tail,\n newChildren = nextProps.children,\n suspenseContext = suspenseStackCursor.current;\n if (workInProgress.flags & 128)\n return pushSuspenseListContext(workInProgress, suspenseContext), null;\n (nextProps = 0 !== (suspenseContext & ForceSuspenseFallback))\n ? ((suspenseContext =\n (suspenseContext & SubtreeSuspenseContextMask) |\n ForceSuspenseFallback),\n (workInProgress.flags |= 128))\n : (suspenseContext &= SubtreeSuspenseContextMask);\n pushSuspenseListContext(workInProgress, suspenseContext);\n suspenseContext = null == revealOrder ? \"null\" : revealOrder;\n if (\n null != revealOrder &&\n \"forwards\" !== revealOrder &&\n \"backwards\" !== revealOrder &&\n \"unstable_legacy-backwards\" !== revealOrder &&\n \"together\" !== revealOrder &&\n \"independent\" !== revealOrder &&\n !didWarnAboutRevealOrder[suspenseContext]\n )\n if (\n ((didWarnAboutRevealOrder[suspenseContext] = !0),\n \"string\" === typeof revealOrder)\n )\n switch (revealOrder.toLowerCase()) {\n case \"together\":\n case \"forwards\":\n case \"backwards\":\n case \"independent\":\n console.error(\n '\"%s\" is not a valid value for revealOrder on <SuspenseList />. Use lowercase \"%s\" instead.',\n revealOrder,\n revealOrder.toLowerCase()\n );\n break;\n case \"forward\":\n case \"backward\":\n console.error(\n '\"%s\" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use \"%ss\" instead.',\n revealOrder,\n revealOrder.toLowerCase()\n );\n break;\n default:\n console.error(\n '\"%s\" is not a supported revealOrder on <SuspenseList />. Did you mean \"independent\", \"together\", \"forwards\" or \"backwards\"?',\n revealOrder\n );\n }\n else\n console.error(\n '%s is not a supported value for revealOrder on <SuspenseList />. Did you mean \"independent\", \"together\", \"forwards\" or \"backwards\"?',\n revealOrder\n );\n suspenseContext = null == tailMode ? \"null\" : tailMode;\n didWarnAboutTailOptions[suspenseContext] ||\n null == tailMode ||\n (\"visible\" !== tailMode &&\n \"collapsed\" !== tailMode &&\n \"hidden\" !== tailMode\n ? ((didWarnAboutTailOptions[suspenseContext] = !0),\n console.error(\n '\"%s\" is not a supported value for tail on <SuspenseList />. Did you mean \"visible\", \"collapsed\" or \"hidden\"?',\n tailMode\n ))\n : null != revealOrder &&\n \"forwards\" !== revealOrder &&\n \"backwards\" !== revealOrder &&\n \"unstable_legacy-backwards\" !== revealOrder &&\n ((didWarnAboutTailOptions[suspenseContext] = !0),\n console.error(\n '<SuspenseList tail=\"%s\" /> is only valid if revealOrder is \"forwards\" (default) or \"backwards\". Did you mean to specify revealOrder=\"forwards\"?',\n tailMode\n )));\n a: if (\n (null == revealOrder ||\n \"forwards\" === revealOrder ||\n \"backwards\" === revealOrder ||\n \"unstable_legacy-backwards\" === revealOrder) &&\n void 0 !== newChildren &&\n null !== newChildren &&\n !1 !== newChildren\n )\n if (isArrayImpl(newChildren))\n for (\n suspenseContext = 0;\n suspenseContext < newChildren.length;\n suspenseContext++\n ) {\n if (\n !validateSuspenseListNestedChild(\n newChildren[suspenseContext],\n suspenseContext\n )\n )\n break a;\n }\n else if (\n ((suspenseContext = getIteratorFn(newChildren)),\n \"function\" === typeof suspenseContext)\n ) {\n if ((suspenseContext = suspenseContext.call(newChildren)))\n for (\n var step = suspenseContext.next(), _i = 0;\n !step.done;\n step = suspenseContext.next()\n ) {\n if (!validateSuspenseListNestedChild(step.value, _i)) break a;\n _i++;\n }\n } else\n console.error(\n 'A single row was passed to a <SuspenseList revealOrder=\"%s\" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',\n revealOrder\n );\n \"backwards\" === revealOrder && null !== current\n ? (reverseChildren(current),\n reconcileChildren(current, workInProgress, newChildren, renderLanes),\n reverseChildren(current))\n : reconcileChildren(current, workInProgress, newChildren, renderLanes);\n isHydrating\n ? (warnIfNotHydrating(), (newChildren = treeForkCount))\n : (newChildren = 0);\n if (!nextProps && null !== current && 0 !== (current.flags & 128))\n a: for (current = workInProgress.child; null !== current; ) {\n if (13 === current.tag)\n null !== current.memoizedState &&\n scheduleSuspenseWorkOnFiber(current, renderLanes, workInProgress);\n else if (19 === current.tag)\n scheduleSuspenseWorkOnFiber(current, renderLanes, workInProgress);\n else if (null !== current.child) {\n current.child.return = current;\n current = current.child;\n continue;\n }\n if (current === workInProgress) break a;\n for (; null === current.sibling; ) {\n if (null === current.return || current.return === workInProgress)\n break a;\n current = current.return;\n }\n current.sibling.return = current.return;\n current = current.sibling;\n }\n switch (revealOrder) {\n case \"backwards\":\n renderLanes = findLastContentRow(workInProgress.child);\n null === renderLanes\n ? ((revealOrder = workInProgress.child),\n (workInProgress.child = null))\n : ((revealOrder = renderLanes.sibling),\n (renderLanes.sibling = null),\n reverseChildren(workInProgress));\n initSuspenseListRenderState(\n workInProgress,\n !0,\n revealOrder,\n null,\n tailMode,\n newChildren\n );\n break;\n case \"unstable_legacy-backwards\":\n renderLanes = null;\n revealOrder = workInProgress.child;\n for (workInProgress.child = null; null !== revealOrder; ) {\n current = revealOrder.alternate;\n if (null !== current && null === findFirstSuspended(current)) {\n workInProgress.child = revealOrder;\n break;\n }\n current = revealOrder.sibling;\n revealOrder.sibling = renderLanes;\n renderLanes = revealOrder;\n revealOrder = current;\n }\n initSuspenseListRenderState(\n workInProgress,\n !0,\n renderLanes,\n null,\n tailMode,\n newChildren\n );\n break;\n case \"together\":\n initSuspenseListRenderState(\n workInProgress,\n !1,\n null,\n null,\n void 0,\n newChildren\n );\n break;\n case \"independent\":\n workInProgress.memoizedState = null;\n break;\n default:\n (renderLanes = findLastContentRow(workInProgress.child)),\n null === renderLanes\n ? ((revealOrder = workInProgress.child),\n (workInProgress.child = null))\n : ((revealOrder = renderLanes.sibling),\n (renderLanes.sibling = null)),\n initSuspenseListRenderState(\n workInProgress,\n !1,\n revealOrder,\n renderLanes,\n tailMode,\n newChildren\n );\n }\n return workInProgress.child;\n }\n function bailoutOnAlreadyFinishedWork(\n current,\n workInProgress,\n renderLanes\n ) {\n null !== current && (workInProgress.dependencies = current.dependencies);\n profilerStartTime = -1;\n workInProgressRootSkippedLanes |= workInProgress.lanes;\n if (0 === (renderLanes & workInProgress.childLanes))\n if (null !== current) {\n if (\n (propagateParentContextChanges(\n current,\n workInProgress,\n renderLanes,\n !1\n ),\n 0 === (renderLanes & workInProgress.childLanes))\n )\n return null;\n } else return null;\n if (null !== current && workInProgress.child !== current.child)\n throw Error(\"Resuming work not yet implemented.\");\n if (null !== workInProgress.child) {\n current = workInProgress.child;\n renderLanes = createWorkInProgress(current, current.pendingProps);\n workInProgress.child = renderLanes;\n for (renderLanes.return = workInProgress; null !== current.sibling; )\n (current = current.sibling),\n (renderLanes = renderLanes.sibling =\n createWorkInProgress(current, current.pendingProps)),\n (renderLanes.return = workInProgress);\n renderLanes.sibling = null;\n }\n return workInProgress.child;\n }\n function checkScheduledUpdateOrContext(current, renderLanes) {\n if (0 !== (current.lanes & renderLanes)) return !0;\n current = current.dependencies;\n return null !== current && checkIfContextChanged(current) ? !0 : !1;\n }\n function attemptEarlyBailoutIfNoScheduledUpdate(\n current,\n workInProgress,\n renderLanes\n ) {\n switch (workInProgress.tag) {\n case 3:\n pushHostContainer(\n workInProgress,\n workInProgress.stateNode.containerInfo\n );\n pushProvider(\n workInProgress,\n CacheContext,\n current.memoizedState.cache\n );\n resetHydrationState();\n break;\n case 27:\n case 5:\n pushHostContext(workInProgress);\n break;\n case 4:\n pushHostContainer(\n workInProgress,\n workInProgress.stateNode.containerInfo\n );\n break;\n case 10:\n pushProvider(\n workInProgress,\n workInProgress.type,\n workInProgress.memoizedProps.value\n );\n break;\n case 12:\n 0 !== (renderLanes & workInProgress.childLanes) &&\n (workInProgress.flags |= 4);\n workInProgress.flags |= 2048;\n var stateNode = workInProgress.stateNode;\n stateNode.effectDuration = -0;\n stateNode.passiveEffectDuration = -0;\n break;\n case 31:\n if (null !== workInProgress.memoizedState)\n return (\n (workInProgress.flags |= 128),\n pushDehydratedActivitySuspenseHandler(workInProgress),\n null\n );\n break;\n case 13:\n stateNode = workInProgress.memoizedState;\n if (null !== stateNode) {\n if (null !== stateNode.dehydrated)\n return (\n pushPrimaryTreeSuspenseHandler(workInProgress),\n (workInProgress.flags |= 128),\n null\n );\n if (0 !== (renderLanes & workInProgress.child.childLanes))\n return updateSuspenseComponent(\n current,\n workInProgress,\n renderLanes\n );\n pushPrimaryTreeSuspenseHandler(workInProgress);\n current = bailoutOnAlreadyFinishedWork(\n current,\n workInProgress,\n renderLanes\n );\n return null !== current ? current.sibling : null;\n }\n pushPrimaryTreeSuspenseHandler(workInProgress);\n break;\n case 19:\n if (workInProgress.flags & 128)\n return updateSuspenseListComponent(\n current,\n workInProgress,\n renderLanes\n );\n var didSuspendBefore = 0 !== (current.flags & 128);\n stateNode = 0 !== (renderLanes & workInProgress.childLanes);\n stateNode ||\n (propagateParentContextChanges(\n current,\n workInProgress,\n renderLanes,\n !1\n ),\n (stateNode = 0 !== (renderLanes & workInProgress.childLanes)));\n if (didSuspendBefore) {\n if (stateNode)\n return updateSuspenseListComponent(\n current,\n workInProgress,\n renderLanes\n );\n workInProgress.flags |= 128;\n }\n didSuspendBefore = workInProgress.memoizedState;\n null !== didSuspendBefore &&\n ((didSuspendBefore.rendering = null),\n (didSuspendBefore.tail = null),\n (didSuspendBefore.lastEffect = null));\n pushSuspenseListContext(workInProgress, suspenseStackCursor.current);\n if (stateNode) break;\n else return null;\n case 22:\n return (\n (workInProgress.lanes = 0),\n updateOffscreenComponent(\n current,\n workInProgress,\n renderLanes,\n workInProgress.pendingProps\n )\n );\n case 24:\n pushProvider(\n workInProgress,\n CacheContext,\n current.memoizedState.cache\n );\n }\n return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes);\n }\n function beginWork(current, workInProgress, renderLanes) {\n if (workInProgress._debugNeedsRemount && null !== current) {\n renderLanes = createFiberFromTypeAndProps(\n workInProgress.type,\n workInProgress.key,\n workInProgress.pendingProps,\n workInProgress._debugOwner || null,\n workInProgress.mode,\n workInProgress.lanes\n );\n renderLanes._debugStack = workInProgress._debugStack;\n renderLanes._debugTask = workInProgress._debugTask;\n var returnFiber = workInProgress.return;\n if (null === returnFiber) throw Error(\"Cannot swap the root fiber.\");\n current.alternate = null;\n workInProgress.alternate = null;\n renderLanes.index = workInProgress.index;\n renderLanes.sibling = workInProgress.sibling;\n renderLanes.return = workInProgress.return;\n renderLanes.ref = workInProgress.ref;\n renderLanes._debugInfo = workInProgress._debugInfo;\n if (workInProgress === returnFiber.child)\n returnFiber.child = renderLanes;\n else {\n var prevSibling = returnFiber.child;\n if (null === prevSibling)\n throw Error(\"Expected parent to have a child.\");\n for (; prevSibling.sibling !== workInProgress; )\n if (((prevSibling = prevSibling.sibling), null === prevSibling))\n throw Error(\"Expected to find the previous sibling.\");\n prevSibling.sibling = renderLanes;\n }\n workInProgress = returnFiber.deletions;\n null === workInProgress\n ? ((returnFiber.deletions = [current]), (returnFiber.flags |= 16))\n : workInProgress.push(current);\n renderLanes.flags |= 2;\n return renderLanes;\n }\n if (null !== current)\n if (\n current.memoizedProps !== workInProgress.pendingProps ||\n workInProgress.type !== current.type\n )\n didReceiveUpdate = !0;\n else {\n if (\n !checkScheduledUpdateOrContext(current, renderLanes) &&\n 0 === (workInProgress.flags & 128)\n )\n return (\n (didReceiveUpdate = !1),\n attemptEarlyBailoutIfNoScheduledUpdate(\n current,\n workInProgress,\n renderLanes\n )\n );\n didReceiveUpdate = 0 !== (current.flags & 131072) ? !0 : !1;\n }\n else {\n didReceiveUpdate = !1;\n if ((returnFiber = isHydrating))\n warnIfNotHydrating(),\n (returnFiber = 0 !== (workInProgress.flags & 1048576));\n returnFiber &&\n ((returnFiber = workInProgress.index),\n warnIfNotHydrating(),\n pushTreeId(workInProgress, treeForkCount, returnFiber));\n }\n workInProgress.lanes = 0;\n switch (workInProgress.tag) {\n case 16:\n a: if (\n ((returnFiber = workInProgress.pendingProps),\n (current = resolveLazy(workInProgress.elementType)),\n (workInProgress.type = current),\n \"function\" === typeof current)\n )\n shouldConstruct(current)\n ? ((returnFiber = resolveClassComponentProps(\n current,\n returnFiber\n )),\n (workInProgress.tag = 1),\n (workInProgress.type = current =\n resolveFunctionForHotReloading(current)),\n (workInProgress = updateClassComponent(\n null,\n workInProgress,\n current,\n returnFiber,\n renderLanes\n )))\n : ((workInProgress.tag = 0),\n validateFunctionComponentInDev(workInProgress, current),\n (workInProgress.type = current =\n resolveFunctionForHotReloading(current)),\n (workInProgress = updateFunctionComponent(\n null,\n workInProgress,\n current,\n returnFiber,\n renderLanes\n )));\n else {\n if (void 0 !== current && null !== current)\n if (\n ((prevSibling = current.$$typeof),\n prevSibling === REACT_FORWARD_REF_TYPE)\n ) {\n workInProgress.tag = 11;\n workInProgress.type = current =\n resolveForwardRefForHotReloading(current);\n workInProgress = updateForwardRef(\n null,\n workInProgress,\n current,\n returnFiber,\n renderLanes\n );\n break a;\n } else if (prevSibling === REACT_MEMO_TYPE) {\n workInProgress.tag = 14;\n workInProgress = updateMemoComponent(\n null,\n workInProgress,\n current,\n returnFiber,\n renderLanes\n );\n break a;\n }\n workInProgress = \"\";\n null !== current &&\n \"object\" === typeof current &&\n current.$$typeof === REACT_LAZY_TYPE &&\n (workInProgress =\n \" Did you wrap a component in React.lazy() more than once?\");\n renderLanes = getComponentNameFromType(current) || current;\n throw Error(\n \"Element type is invalid. Received a promise that resolves to: \" +\n renderLanes +\n \". Lazy element type must resolve to a class or function.\" +\n workInProgress\n );\n }\n return workInProgress;\n case 0:\n return updateFunctionComponent(\n current,\n workInProgress,\n workInProgress.type,\n workInProgress.pendingProps,\n renderLanes\n );\n case 1:\n return (\n (returnFiber = workInProgress.type),\n (prevSibling = resolveClassComponentProps(\n returnFiber,\n workInProgress.pendingProps\n )),\n updateClassComponent(\n current,\n workInProgress,\n returnFiber,\n prevSibling,\n renderLanes\n )\n );\n case 3:\n a: {\n pushHostContainer(\n workInProgress,\n workInProgress.stateNode.containerInfo\n );\n if (null === current)\n throw Error(\n \"Should have a current fiber. This is a bug in React.\"\n );\n returnFiber = workInProgress.pendingProps;\n var prevState = workInProgress.memoizedState;\n prevSibling = prevState.element;\n cloneUpdateQueue(current, workInProgress);\n processUpdateQueue(workInProgress, returnFiber, null, renderLanes);\n var nextState = workInProgress.memoizedState;\n returnFiber = nextState.cache;\n pushProvider(workInProgress, CacheContext, returnFiber);\n returnFiber !== prevState.cache &&\n propagateContextChanges(\n workInProgress,\n [CacheContext],\n renderLanes,\n !0\n );\n suspendIfUpdateReadFromEntangledAsyncAction();\n returnFiber = nextState.element;\n if (prevState.isDehydrated)\n if (\n ((prevState = {\n element: returnFiber,\n isDehydrated: !1,\n cache: nextState.cache\n }),\n (workInProgress.updateQueue.baseState = prevState),\n (workInProgress.memoizedState = prevState),\n workInProgress.flags & 256)\n ) {\n workInProgress = mountHostRootWithoutHydrating(\n current,\n workInProgress,\n returnFiber,\n renderLanes\n );\n break a;\n } else if (returnFiber !== prevSibling) {\n prevSibling = createCapturedValueAtFiber(\n Error(\n \"This root received an early update, before anything was able hydrate. Switched the entire root to client rendering.\"\n ),\n workInProgress\n );\n queueHydrationError(prevSibling);\n workInProgress = mountHostRootWithoutHydrating(\n current,\n workInProgress,\n returnFiber,\n renderLanes\n );\n break a;\n } else {\n current = workInProgress.stateNode.containerInfo;\n switch (current.nodeType) {\n case 9:\n current = current.body;\n break;\n default:\n current =\n \"HTML\" === current.nodeName\n ? current.ownerDocument.body\n : current;\n }\n nextHydratableInstance = getNextHydratable(current.firstChild);\n hydrationParentFiber = workInProgress;\n isHydrating = !0;\n hydrationErrors = null;\n didSuspendOrErrorDEV = !1;\n hydrationDiffRootDEV = null;\n rootOrSingletonContext = !0;\n renderLanes = mountChildFibers(\n workInProgress,\n null,\n returnFiber,\n renderLanes\n );\n for (workInProgress.child = renderLanes; renderLanes; )\n (renderLanes.flags = (renderLanes.flags & -3) | 4096),\n (renderLanes = renderLanes.sibling);\n }\n else {\n resetHydrationState();\n if (returnFiber === prevSibling) {\n workInProgress = bailoutOnAlreadyFinishedWork(\n current,\n workInProgress,\n renderLanes\n );\n break a;\n }\n reconcileChildren(\n current,\n workInProgress,\n returnFiber,\n renderLanes\n );\n }\n workInProgress = workInProgress.child;\n }\n return workInProgress;\n case 26:\n return (\n markRef(current, workInProgress),\n null === current\n ? (renderLanes = getResource(\n workInProgress.type,\n null,\n workInProgress.pendingProps,\n null\n ))\n ? (workInProgress.memoizedState = renderLanes)\n : isHydrating ||\n ((renderLanes = workInProgress.type),\n (current = workInProgress.pendingProps),\n (returnFiber = requiredContext(\n rootInstanceStackCursor.current\n )),\n (returnFiber =\n getOwnerDocumentFromRootContainer(\n returnFiber\n ).createElement(renderLanes)),\n (returnFiber[internalInstanceKey] = workInProgress),\n (returnFiber[internalPropsKey] = current),\n setInitialProperties(returnFiber, renderLanes, current),\n markNodeAsHoistable(returnFiber),\n (workInProgress.stateNode = returnFiber))\n : (workInProgress.memoizedState = getResource(\n workInProgress.type,\n current.memoizedProps,\n workInProgress.pendingProps,\n current.memoizedState\n )),\n null\n );\n case 27:\n return (\n pushHostContext(workInProgress),\n null === current &&\n isHydrating &&\n ((returnFiber = requiredContext(rootInstanceStackCursor.current)),\n (prevSibling = getHostContext()),\n (returnFiber = workInProgress.stateNode =\n resolveSingletonInstance(\n workInProgress.type,\n workInProgress.pendingProps,\n returnFiber,\n prevSibling,\n !1\n )),\n didSuspendOrErrorDEV ||\n ((prevSibling = diffHydratedProperties(\n returnFiber,\n workInProgress.type,\n workInProgress.pendingProps,\n prevSibling\n )),\n null !== prevSibling &&\n (buildHydrationDiffNode(workInProgress, 0).serverProps =\n prevSibling)),\n (hydrationParentFiber = workInProgress),\n (rootOrSingletonContext = !0),\n (prevSibling = nextHydratableInstance),\n isSingletonScope(workInProgress.type)\n ? ((previousHydratableOnEnteringScopedSingleton = prevSibling),\n (nextHydratableInstance = getNextHydratable(\n returnFiber.firstChild\n )))\n : (nextHydratableInstance = prevSibling)),\n reconcileChildren(\n current,\n workInProgress,\n workInProgress.pendingProps.children,\n renderLanes\n ),\n markRef(current, workInProgress),\n null === current && (workInProgress.flags |= 4194304),\n workInProgress.child\n );\n case 5:\n return (\n null === current &&\n isHydrating &&\n ((prevState = getHostContext()),\n (returnFiber = validateDOMNesting(\n workInProgress.type,\n prevState.ancestorInfo\n )),\n (prevSibling = nextHydratableInstance),\n (nextState = !prevSibling) ||\n ((nextState = canHydrateInstance(\n prevSibling,\n workInProgress.type,\n workInProgress.pendingProps,\n rootOrSingletonContext\n )),\n null !== nextState\n ? ((workInProgress.stateNode = nextState),\n didSuspendOrErrorDEV ||\n ((prevState = diffHydratedProperties(\n nextState,\n workInProgress.type,\n workInProgress.pendingProps,\n prevState\n )),\n null !== prevState &&\n (buildHydrationDiffNode(workInProgress, 0).serverProps =\n prevState)),\n (hydrationParentFiber = workInProgress),\n (nextHydratableInstance = getNextHydratable(\n nextState.firstChild\n )),\n (rootOrSingletonContext = !1),\n (prevState = !0))\n : (prevState = !1),\n (nextState = !prevState)),\n nextState &&\n (returnFiber &&\n warnNonHydratedInstance(workInProgress, prevSibling),\n throwOnHydrationMismatch(workInProgress))),\n pushHostContext(workInProgress),\n (prevSibling = workInProgress.type),\n (prevState = workInProgress.pendingProps),\n (nextState = null !== current ? current.memoizedProps : null),\n (returnFiber = prevState.children),\n shouldSetTextContent(prevSibling, prevState)\n ? (returnFiber = null)\n : null !== nextState &&\n shouldSetTextContent(prevSibling, nextState) &&\n (workInProgress.flags |= 32),\n null !== workInProgress.memoizedState &&\n ((prevSibling = renderWithHooks(\n current,\n workInProgress,\n TransitionAwareHostComponent,\n null,\n null,\n renderLanes\n )),\n (HostTransitionContext._currentValue = prevSibling)),\n markRef(current, workInProgress),\n reconcileChildren(\n current,\n workInProgress,\n returnFiber,\n renderLanes\n ),\n workInProgress.child\n );\n case 6:\n return (\n null === current &&\n isHydrating &&\n ((renderLanes = workInProgress.pendingProps),\n (current = getHostContext()),\n (returnFiber = current.ancestorInfo.current),\n (renderLanes =\n null != returnFiber\n ? validateTextNesting(\n renderLanes,\n returnFiber.tag,\n current.ancestorInfo.implicitRootScope\n )\n : !0),\n (current = nextHydratableInstance),\n (returnFiber = !current) ||\n ((returnFiber = canHydrateTextInstance(\n current,\n workInProgress.pendingProps,\n rootOrSingletonContext\n )),\n null !== returnFiber\n ? ((workInProgress.stateNode = returnFiber),\n (hydrationParentFiber = workInProgress),\n (nextHydratableInstance = null),\n (returnFiber = !0))\n : (returnFiber = !1),\n (returnFiber = !returnFiber)),\n returnFiber &&\n (renderLanes &&\n warnNonHydratedInstance(workInProgress, current),\n throwOnHydrationMismatch(workInProgress))),\n null\n );\n case 13:\n return updateSuspenseComponent(current, workInProgress, renderLanes);\n case 4:\n return (\n pushHostContainer(\n workInProgress,\n workInProgress.stateNode.containerInfo\n ),\n (returnFiber = workInProgress.pendingProps),\n null === current\n ? (workInProgress.child = reconcileChildFibers(\n workInProgress,\n null,\n returnFiber,\n renderLanes\n ))\n : reconcileChildren(\n current,\n workInProgress,\n returnFiber,\n renderLanes\n ),\n workInProgress.child\n );\n case 11:\n return updateForwardRef(\n current,\n workInProgress,\n workInProgress.type,\n workInProgress.pendingProps,\n renderLanes\n );\n case 7:\n return (\n (returnFiber = workInProgress.pendingProps),\n markRef(current, workInProgress),\n reconcileChildren(\n current,\n workInProgress,\n returnFiber,\n renderLanes\n ),\n workInProgress.child\n );\n case 8:\n return (\n reconcileChildren(\n current,\n workInProgress,\n workInProgress.pendingProps.children,\n renderLanes\n ),\n workInProgress.child\n );\n case 12:\n return (\n (workInProgress.flags |= 4),\n (workInProgress.flags |= 2048),\n (returnFiber = workInProgress.stateNode),\n (returnFiber.effectDuration = -0),\n (returnFiber.passiveEffectDuration = -0),\n reconcileChildren(\n current,\n workInProgress,\n workInProgress.pendingProps.children,\n renderLanes\n ),\n workInProgress.child\n );\n case 10:\n return (\n (returnFiber = workInProgress.type),\n (prevSibling = workInProgress.pendingProps),\n (prevState = prevSibling.value),\n \"value\" in prevSibling ||\n hasWarnedAboutUsingNoValuePropOnContextProvider ||\n ((hasWarnedAboutUsingNoValuePropOnContextProvider = !0),\n console.error(\n \"The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?\"\n )),\n pushProvider(workInProgress, returnFiber, prevState),\n reconcileChildren(\n current,\n workInProgress,\n prevSibling.children,\n renderLanes\n ),\n workInProgress.child\n );\n case 9:\n return (\n (prevSibling = workInProgress.type._context),\n (returnFiber = workInProgress.pendingProps.children),\n \"function\" !== typeof returnFiber &&\n console.error(\n \"A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.\"\n ),\n prepareToReadContext(workInProgress),\n (prevSibling = readContext(prevSibling)),\n (returnFiber = callComponentInDEV(\n returnFiber,\n prevSibling,\n void 0\n )),\n (workInProgress.flags |= 1),\n reconcileChildren(\n current,\n workInProgress,\n returnFiber,\n renderLanes\n ),\n workInProgress.child\n );\n case 14:\n return updateMemoComponent(\n current,\n workInProgress,\n workInProgress.type,\n workInProgress.pendingProps,\n renderLanes\n );\n case 15:\n return updateSimpleMemoComponent(\n current,\n workInProgress,\n workInProgress.type,\n workInProgress.pendingProps,\n renderLanes\n );\n case 19:\n return updateSuspenseListComponent(\n current,\n workInProgress,\n renderLanes\n );\n case 31:\n return updateActivityComponent(current, workInProgress, renderLanes);\n case 22:\n return updateOffscreenComponent(\n current,\n workInProgress,\n renderLanes,\n workInProgress.pendingProps\n );\n case 24:\n return (\n prepareToReadContext(workInProgress),\n (returnFiber = readContext(CacheContext)),\n null === current\n ? ((prevSibling = peekCacheFromPool()),\n null === prevSibling &&\n ((prevSibling = workInProgressRoot),\n (prevState = createCache()),\n (prevSibling.pooledCache = prevState),\n retainCache(prevState),\n null !== prevState &&\n (prevSibling.pooledCacheLanes |= renderLanes),\n (prevSibling = prevState)),\n (workInProgress.memoizedState = {\n parent: returnFiber,\n cache: prevSibling\n }),\n initializeUpdateQueue(workInProgress),\n pushProvider(workInProgress, CacheContext, prevSibling))\n : (0 !== (current.lanes & renderLanes) &&\n (cloneUpdateQueue(current, workInProgress),\n processUpdateQueue(workInProgress, null, null, renderLanes),\n suspendIfUpdateReadFromEntangledAsyncAction()),\n (prevSibling = current.memoizedState),\n (prevState = workInProgress.memoizedState),\n prevSibling.parent !== returnFiber\n ? ((prevSibling = {\n parent: returnFiber,\n cache: returnFiber\n }),\n (workInProgress.memoizedState = prevSibling),\n 0 === workInProgress.lanes &&\n (workInProgress.memoizedState =\n workInProgress.updateQueue.baseState =\n prevSibling),\n pushProvider(workInProgress, CacheContext, returnFiber))\n : ((returnFiber = prevState.cache),\n pushProvider(workInProgress, CacheContext, returnFiber),\n returnFiber !== prevSibling.cache &&\n propagateContextChanges(\n workInProgress,\n [CacheContext],\n renderLanes,\n !0\n ))),\n reconcileChildren(\n current,\n workInProgress,\n workInProgress.pendingProps.children,\n renderLanes\n ),\n workInProgress.child\n );\n case 30:\n return (\n (returnFiber = workInProgress.pendingProps),\n null != returnFiber.name && \"auto\" !== returnFiber.name\n ? (workInProgress.flags |= null === current ? 18882560 : 18874368)\n : isHydrating && pushMaterializedTreeId(workInProgress),\n void 0 !== returnFiber.className &&\n ((prevSibling =\n \"string\" === typeof returnFiber.className\n ? JSON.stringify(returnFiber.className)\n : \"{...}\"),\n didWarnAboutClassNameOnViewTransition[prevSibling] ||\n ((didWarnAboutClassNameOnViewTransition[prevSibling] = !0),\n console.error(\n '<ViewTransition> doesn\\'t accept a \"className\" prop. It has been renamed to \"default\".\\n- <ViewTransition className=%s>\\n+ <ViewTransition default=%s>',\n prevSibling,\n prevSibling\n ))),\n null !== current && current.memoizedProps.name !== returnFiber.name\n ? (workInProgress.flags |= 4194816)\n : markRef(current, workInProgress),\n reconcileChildren(\n current,\n workInProgress,\n returnFiber.children,\n renderLanes\n ),\n workInProgress.child\n );\n case 29:\n throw workInProgress.pendingProps;\n }\n throw Error(\n \"Unknown unit of work tag (\" +\n workInProgress.tag +\n \"). This error is likely caused by a bug in React. Please file an issue.\"\n );\n }\n function markUpdate(workInProgress) {\n workInProgress.flags |= 4;\n }\n function preloadInstanceAndSuspendIfNeeded(\n workInProgress,\n type,\n oldProps,\n newProps,\n renderLanes\n ) {\n var JSCompiler_temp;\n if (\n (JSCompiler_temp =\n (workInProgress.mode & SuspenseyImagesMode) !== NoMode)\n )\n JSCompiler_temp =\n null === oldProps\n ? maySuspendCommit(type, newProps)\n : maySuspendCommit(type, newProps) &&\n (newProps.src !== oldProps.src ||\n newProps.srcSet !== oldProps.srcSet);\n if (JSCompiler_temp) {\n if (\n ((workInProgress.flags |= 16777216),\n (renderLanes & 335544128) === renderLanes)\n )\n if (workInProgress.stateNode.complete) workInProgress.flags |= 8192;\n else if (shouldRemainOnPreviousScreen()) workInProgress.flags |= 8192;\n else\n throw (\n ((suspendedThenable = noopSuspenseyCommitThenable),\n SuspenseyCommitException)\n );\n } else workInProgress.flags &= -16777217;\n }\n function preloadResourceAndSuspendIfNeeded(workInProgress, resource) {\n if (\n \"stylesheet\" !== resource.type ||\n (resource.state.loading & Inserted) !== NotLoaded\n )\n workInProgress.flags &= -16777217;\n else if (((workInProgress.flags |= 16777216), !preloadResource(resource)))\n if (shouldRemainOnPreviousScreen()) workInProgress.flags |= 8192;\n else\n throw (\n ((suspendedThenable = noopSuspenseyCommitThenable),\n SuspenseyCommitException)\n );\n }\n function scheduleRetryEffect(workInProgress, retryQueue) {\n null !== retryQueue && (workInProgress.flags |= 4);\n workInProgress.flags & 16384 &&\n ((retryQueue =\n 22 !== workInProgress.tag ? claimNextRetryLane() : 536870912),\n (workInProgress.lanes |= retryQueue),\n (workInProgressSuspendedRetryLanes |= retryQueue));\n }\n function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {\n if (!isHydrating)\n switch (renderState.tailMode) {\n case \"visible\":\n break;\n case \"collapsed\":\n for (\n var tailNode = renderState.tail, lastTailNode = null;\n null !== tailNode;\n\n )\n null !== tailNode.alternate && (lastTailNode = tailNode),\n (tailNode = tailNode.sibling);\n null === lastTailNode\n ? hasRenderedATailFallback || null === renderState.tail\n ? (renderState.tail = null)\n : (renderState.tail.sibling = null)\n : (lastTailNode.sibling = null);\n break;\n default:\n hasRenderedATailFallback = renderState.tail;\n for (tailNode = null; null !== hasRenderedATailFallback; )\n null !== hasRenderedATailFallback.alternate &&\n (tailNode = hasRenderedATailFallback),\n (hasRenderedATailFallback = hasRenderedATailFallback.sibling);\n null === tailNode\n ? (renderState.tail = null)\n : (tailNode.sibling = null);\n }\n }\n function bubbleProperties(completedWork) {\n var didBailout =\n null !== completedWork.alternate &&\n completedWork.alternate.child === completedWork.child,\n newChildLanes = 0,\n subtreeFlags = 0;\n if (didBailout)\n if ((completedWork.mode & ProfileMode) !== NoMode) {\n for (\n var _treeBaseDuration = completedWork.selfBaseDuration,\n _child2 = completedWork.child;\n null !== _child2;\n\n )\n (newChildLanes |= _child2.lanes | _child2.childLanes),\n (subtreeFlags |= _child2.subtreeFlags & 132120576),\n (subtreeFlags |= _child2.flags & 132120576),\n (_treeBaseDuration += _child2.treeBaseDuration),\n (_child2 = _child2.sibling);\n completedWork.treeBaseDuration = _treeBaseDuration;\n } else\n for (\n _treeBaseDuration = completedWork.child;\n null !== _treeBaseDuration;\n\n )\n (newChildLanes |=\n _treeBaseDuration.lanes | _treeBaseDuration.childLanes),\n (subtreeFlags |= _treeBaseDuration.subtreeFlags & 132120576),\n (subtreeFlags |= _treeBaseDuration.flags & 132120576),\n (_treeBaseDuration.return = completedWork),\n (_treeBaseDuration = _treeBaseDuration.sibling);\n else if ((completedWork.mode & ProfileMode) !== NoMode) {\n _treeBaseDuration = completedWork.actualDuration;\n _child2 = completedWork.selfBaseDuration;\n for (var child = completedWork.child; null !== child; )\n (newChildLanes |= child.lanes | child.childLanes),\n (subtreeFlags |= child.subtreeFlags),\n (subtreeFlags |= child.flags),\n (_treeBaseDuration += child.actualDuration),\n (_child2 += child.treeBaseDuration),\n (child = child.sibling);\n completedWork.actualDuration = _treeBaseDuration;\n completedWork.treeBaseDuration = _child2;\n } else\n for (\n _treeBaseDuration = completedWork.child;\n null !== _treeBaseDuration;\n\n )\n (newChildLanes |=\n _treeBaseDuration.lanes | _treeBaseDuration.childLanes),\n (subtreeFlags |= _treeBaseDuration.subtreeFlags),\n (subtreeFlags |= _treeBaseDuration.flags),\n (_treeBaseDuration.return = completedWork),\n (_treeBaseDuration = _treeBaseDuration.sibling);\n completedWork.subtreeFlags |= subtreeFlags;\n completedWork.childLanes = newChildLanes;\n return didBailout;\n }\n function completeWork(current, workInProgress, renderLanes) {\n var newProps = workInProgress.pendingProps;\n popTreeContext(workInProgress);\n switch (workInProgress.tag) {\n case 16:\n case 15:\n case 0:\n case 11:\n case 7:\n case 8:\n case 12:\n case 9:\n case 14:\n return bubbleProperties(workInProgress), null;\n case 1:\n return bubbleProperties(workInProgress), null;\n case 3:\n renderLanes = workInProgress.stateNode;\n newProps = null;\n null !== current && (newProps = current.memoizedState.cache);\n workInProgress.memoizedState.cache !== newProps &&\n (workInProgress.flags |= 2048);\n popProvider(CacheContext, workInProgress);\n popHostContainer(workInProgress);\n renderLanes.pendingContext &&\n ((renderLanes.context = renderLanes.pendingContext),\n (renderLanes.pendingContext = null));\n if (null === current || null === current.child)\n popHydrationState(workInProgress)\n ? (emitPendingHydrationWarnings(), markUpdate(workInProgress))\n : null === current ||\n (current.memoizedState.isDehydrated &&\n 0 === (workInProgress.flags & 256)) ||\n ((workInProgress.flags |= 1024),\n upgradeHydrationErrorsToRecoverable());\n bubbleProperties(workInProgress);\n return null;\n case 26:\n var type = workInProgress.type,\n nextResource = workInProgress.memoizedState;\n null === current\n ? (markUpdate(workInProgress),\n null !== nextResource\n ? (bubbleProperties(workInProgress),\n preloadResourceAndSuspendIfNeeded(\n workInProgress,\n nextResource\n ))\n : (bubbleProperties(workInProgress),\n preloadInstanceAndSuspendIfNeeded(\n workInProgress,\n type,\n null,\n newProps,\n renderLanes\n )))\n : nextResource\n ? nextResource !== current.memoizedState\n ? (markUpdate(workInProgress),\n bubbleProperties(workInProgress),\n preloadResourceAndSuspendIfNeeded(\n workInProgress,\n nextResource\n ))\n : (bubbleProperties(workInProgress),\n (workInProgress.flags &= -16777217))\n : ((current = current.memoizedProps),\n current !== newProps && markUpdate(workInProgress),\n bubbleProperties(workInProgress),\n preloadInstanceAndSuspendIfNeeded(\n workInProgress,\n type,\n current,\n newProps,\n renderLanes\n ));\n return null;\n case 27:\n popHostContext(workInProgress);\n renderLanes = requiredContext(rootInstanceStackCursor.current);\n type = workInProgress.type;\n if (null !== current && null != workInProgress.stateNode)\n current.memoizedProps !== newProps && markUpdate(workInProgress);\n else {\n if (!newProps) {\n if (null === workInProgress.stateNode)\n throw Error(\n \"We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.\"\n );\n bubbleProperties(workInProgress);\n workInProgress.subtreeFlags &= -33554433;\n return null;\n }\n current = getHostContext();\n popHydrationState(workInProgress)\n ? prepareToHydrateHostInstance(workInProgress, current)\n : ((current = resolveSingletonInstance(\n type,\n newProps,\n renderLanes,\n current,\n !0\n )),\n (workInProgress.stateNode = current),\n markUpdate(workInProgress));\n }\n bubbleProperties(workInProgress);\n workInProgress.subtreeFlags &= -33554433;\n return null;\n case 5:\n popHostContext(workInProgress);\n type = workInProgress.type;\n if (null !== current && null != workInProgress.stateNode)\n current.memoizedProps !== newProps && markUpdate(workInProgress);\n else {\n if (!newProps) {\n if (null === workInProgress.stateNode)\n throw Error(\n \"We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.\"\n );\n bubbleProperties(workInProgress);\n workInProgress.subtreeFlags &= -33554433;\n return null;\n }\n var _currentHostContext = getHostContext();\n if (popHydrationState(workInProgress))\n prepareToHydrateHostInstance(workInProgress, _currentHostContext);\n else {\n nextResource = requiredContext(rootInstanceStackCursor.current);\n validateDOMNesting(type, _currentHostContext.ancestorInfo);\n _currentHostContext = _currentHostContext.context;\n nextResource = getOwnerDocumentFromRootContainer(nextResource);\n switch (_currentHostContext) {\n case HostContextNamespaceSvg:\n nextResource = nextResource.createElementNS(\n SVG_NAMESPACE,\n type\n );\n break;\n case HostContextNamespaceMath:\n nextResource = nextResource.createElementNS(\n MATH_NAMESPACE,\n type\n );\n break;\n default:\n switch (type) {\n case \"svg\":\n nextResource = nextResource.createElementNS(\n SVG_NAMESPACE,\n type\n );\n break;\n case \"math\":\n nextResource = nextResource.createElementNS(\n MATH_NAMESPACE,\n type\n );\n break;\n case \"script\":\n nextResource = nextResource.createElement(\"div\");\n nextResource.innerHTML = \"<script>\\x3c/script>\";\n nextResource = nextResource.removeChild(\n nextResource.firstChild\n );\n break;\n case \"select\":\n nextResource =\n \"string\" === typeof newProps.is\n ? nextResource.createElement(\"select\", {\n is: newProps.is\n })\n : nextResource.createElement(\"select\");\n newProps.multiple\n ? (nextResource.multiple = !0)\n : newProps.size && (nextResource.size = newProps.size);\n break;\n default:\n (nextResource =\n \"string\" === typeof newProps.is\n ? nextResource.createElement(type, {\n is: newProps.is\n })\n : nextResource.createElement(type)),\n -1 === type.indexOf(\"-\") &&\n (type !== type.toLowerCase() &&\n console.error(\n \"<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.\",\n type\n ),\n \"[object HTMLUnknownElement]\" !==\n Object.prototype.toString.call(nextResource) ||\n hasOwnProperty.call(warnedUnknownTags, type) ||\n ((warnedUnknownTags[type] = !0),\n console.error(\n \"The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.\",\n type\n )));\n }\n }\n nextResource[internalInstanceKey] = workInProgress;\n nextResource[internalPropsKey] = newProps;\n a: for (\n _currentHostContext = workInProgress.child;\n null !== _currentHostContext;\n\n ) {\n if (\n 5 === _currentHostContext.tag ||\n 6 === _currentHostContext.tag\n )\n nextResource.appendChild(_currentHostContext.stateNode);\n else if (\n 4 !== _currentHostContext.tag &&\n 27 !== _currentHostContext.tag &&\n null !== _currentHostContext.child\n ) {\n _currentHostContext.child.return = _currentHostContext;\n _currentHostContext = _currentHostContext.child;\n continue;\n }\n if (_currentHostContext === workInProgress) break a;\n for (; null === _currentHostContext.sibling; ) {\n if (\n null === _currentHostContext.return ||\n _currentHostContext.return === workInProgress\n )\n break a;\n _currentHostContext = _currentHostContext.return;\n }\n _currentHostContext.sibling.return = _currentHostContext.return;\n _currentHostContext = _currentHostContext.sibling;\n }\n workInProgress.stateNode = nextResource;\n a: switch (\n (setInitialProperties(nextResource, type, newProps), type)\n ) {\n case \"button\":\n case \"input\":\n case \"select\":\n case \"textarea\":\n newProps = !!newProps.autoFocus;\n break a;\n case \"img\":\n newProps = !0;\n break a;\n default:\n newProps = !1;\n }\n newProps && markUpdate(workInProgress);\n }\n }\n bubbleProperties(workInProgress);\n workInProgress.subtreeFlags &= -33554433;\n preloadInstanceAndSuspendIfNeeded(\n workInProgress,\n workInProgress.type,\n null === current ? null : current.memoizedProps,\n workInProgress.pendingProps,\n renderLanes\n );\n return null;\n case 6:\n if (current && null != workInProgress.stateNode)\n current.memoizedProps !== newProps && markUpdate(workInProgress);\n else {\n if (\n \"string\" !== typeof newProps &&\n null === workInProgress.stateNode\n )\n throw Error(\n \"We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.\"\n );\n current = requiredContext(rootInstanceStackCursor.current);\n renderLanes = getHostContext();\n if (popHydrationState(workInProgress)) {\n current = workInProgress.stateNode;\n renderLanes = workInProgress.memoizedProps;\n type = !didSuspendOrErrorDEV;\n newProps = null;\n nextResource = hydrationParentFiber;\n if (null !== nextResource)\n switch (nextResource.tag) {\n case 3:\n type &&\n ((type = diffHydratedTextForDevWarnings(\n current,\n renderLanes,\n newProps\n )),\n null !== type &&\n (buildHydrationDiffNode(workInProgress, 0).serverProps =\n type));\n break;\n case 27:\n case 5:\n (newProps = nextResource.memoizedProps),\n type &&\n ((type = diffHydratedTextForDevWarnings(\n current,\n renderLanes,\n newProps\n )),\n null !== type &&\n (buildHydrationDiffNode(\n workInProgress,\n 0\n ).serverProps = type));\n }\n current[internalInstanceKey] = workInProgress;\n current =\n current.nodeValue === renderLanes ||\n (null !== newProps &&\n !0 === newProps.suppressHydrationWarning) ||\n checkForUnmatchedText(current.nodeValue, renderLanes)\n ? !0\n : !1;\n current || throwOnHydrationMismatch(workInProgress, !0);\n } else\n (type = renderLanes.ancestorInfo.current),\n null != type &&\n validateTextNesting(\n newProps,\n type.tag,\n renderLanes.ancestorInfo.implicitRootScope\n ),\n (current =\n getOwnerDocumentFromRootContainer(current).createTextNode(\n newProps\n )),\n (current[internalInstanceKey] = workInProgress),\n (workInProgress.stateNode = current);\n }\n bubbleProperties(workInProgress);\n return null;\n case 31:\n renderLanes = workInProgress.memoizedState;\n if (null === current || null !== current.memoizedState) {\n newProps = popHydrationState(workInProgress);\n if (null !== renderLanes) {\n if (null === current) {\n if (!newProps)\n throw Error(\n \"A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.\"\n );\n current = workInProgress.memoizedState;\n current = null !== current ? current.dehydrated : null;\n if (!current)\n throw Error(\n \"Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.\"\n );\n current[internalInstanceKey] = workInProgress;\n bubbleProperties(workInProgress);\n (workInProgress.mode & ProfileMode) !== NoMode &&\n null !== renderLanes &&\n ((current = workInProgress.child),\n null !== current &&\n (workInProgress.treeBaseDuration -=\n current.treeBaseDuration));\n } else\n emitPendingHydrationWarnings(),\n resetHydrationState(),\n 0 === (workInProgress.flags & 128) &&\n (renderLanes = workInProgress.memoizedState = null),\n (workInProgress.flags |= 4),\n bubbleProperties(workInProgress),\n (workInProgress.mode & ProfileMode) !== NoMode &&\n null !== renderLanes &&\n ((current = workInProgress.child),\n null !== current &&\n (workInProgress.treeBaseDuration -=\n current.treeBaseDuration));\n current = !1;\n } else\n (renderLanes = upgradeHydrationErrorsToRecoverable()),\n null !== current &&\n null !== current.memoizedState &&\n (current.memoizedState.hydrationErrors = renderLanes),\n (current = !0);\n if (!current) {\n if (workInProgress.flags & 256)\n return popSuspenseHandler(workInProgress), workInProgress;\n popSuspenseHandler(workInProgress);\n return null;\n }\n if (0 !== (workInProgress.flags & 128))\n throw Error(\n \"Client rendering an Activity suspended it again. This is a bug in React.\"\n );\n }\n bubbleProperties(workInProgress);\n return null;\n case 13:\n newProps = workInProgress.memoizedState;\n if (\n null === current ||\n (null !== current.memoizedState &&\n null !== current.memoizedState.dehydrated)\n ) {\n type = newProps;\n nextResource = popHydrationState(workInProgress);\n if (null !== type && null !== type.dehydrated) {\n if (null === current) {\n if (!nextResource)\n throw Error(\n \"A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.\"\n );\n nextResource = workInProgress.memoizedState;\n nextResource =\n null !== nextResource ? nextResource.dehydrated : null;\n if (!nextResource)\n throw Error(\n \"Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.\"\n );\n nextResource[internalInstanceKey] = workInProgress;\n bubbleProperties(workInProgress);\n (workInProgress.mode & ProfileMode) !== NoMode &&\n null !== type &&\n ((type = workInProgress.child),\n null !== type &&\n (workInProgress.treeBaseDuration -= type.treeBaseDuration));\n } else\n emitPendingHydrationWarnings(),\n resetHydrationState(),\n 0 === (workInProgress.flags & 128) &&\n (type = workInProgress.memoizedState = null),\n (workInProgress.flags |= 4),\n bubbleProperties(workInProgress),\n (workInProgress.mode & ProfileMode) !== NoMode &&\n null !== type &&\n ((type = workInProgress.child),\n null !== type &&\n (workInProgress.treeBaseDuration -=\n type.treeBaseDuration));\n type = !1;\n } else\n (type = upgradeHydrationErrorsToRecoverable()),\n null !== current &&\n null !== current.memoizedState &&\n (current.memoizedState.hydrationErrors = type),\n (type = !0);\n if (!type) {\n if (workInProgress.flags & 256)\n return popSuspenseHandler(workInProgress), workInProgress;\n popSuspenseHandler(workInProgress);\n return null;\n }\n }\n popSuspenseHandler(workInProgress);\n if (0 !== (workInProgress.flags & 128))\n return (\n (workInProgress.lanes = renderLanes),\n (workInProgress.mode & ProfileMode) !== NoMode &&\n transferActualDuration(workInProgress),\n workInProgress\n );\n renderLanes = null !== newProps;\n current = null !== current && null !== current.memoizedState;\n renderLanes &&\n ((newProps = workInProgress.child),\n (type = null),\n null !== newProps.alternate &&\n null !== newProps.alternate.memoizedState &&\n null !== newProps.alternate.memoizedState.cachePool &&\n (type = newProps.alternate.memoizedState.cachePool.pool),\n (nextResource = null),\n null !== newProps.memoizedState &&\n null !== newProps.memoizedState.cachePool &&\n (nextResource = newProps.memoizedState.cachePool.pool),\n nextResource !== type && (newProps.flags |= 2048));\n renderLanes !== current &&\n renderLanes &&\n (workInProgress.child.flags |= 8192);\n scheduleRetryEffect(workInProgress, workInProgress.updateQueue);\n bubbleProperties(workInProgress);\n (workInProgress.mode & ProfileMode) !== NoMode &&\n renderLanes &&\n ((current = workInProgress.child),\n null !== current &&\n (workInProgress.treeBaseDuration -= current.treeBaseDuration));\n return null;\n case 4:\n return (\n popHostContainer(workInProgress),\n null === current &&\n listenToAllSupportedEvents(\n workInProgress.stateNode.containerInfo\n ),\n (workInProgress.flags |= 67108864),\n bubbleProperties(workInProgress),\n null\n );\n case 10:\n return (\n popProvider(workInProgress.type, workInProgress),\n bubbleProperties(workInProgress),\n null\n );\n case 19:\n popSuspenseListContext(workInProgress);\n newProps = workInProgress.memoizedState;\n if (null === newProps) return bubbleProperties(workInProgress), null;\n type = 0 !== (workInProgress.flags & 128);\n nextResource = newProps.rendering;\n if (null === nextResource)\n if (type) cutOffTailIfNeeded(newProps, !1);\n else {\n if (\n workInProgressRootExitStatus !== RootInProgress ||\n (null !== current && 0 !== (current.flags & 128))\n )\n for (current = workInProgress.child; null !== current; ) {\n nextResource = findFirstSuspended(current);\n if (null !== nextResource) {\n workInProgress.flags |= 128;\n cutOffTailIfNeeded(newProps, !1);\n current = nextResource.updateQueue;\n workInProgress.updateQueue = current;\n scheduleRetryEffect(workInProgress, current);\n workInProgress.subtreeFlags = 0;\n current = renderLanes;\n for (\n renderLanes = workInProgress.child;\n null !== renderLanes;\n\n )\n resetWorkInProgress(renderLanes, current),\n (renderLanes = renderLanes.sibling);\n pushSuspenseListContext(\n workInProgress,\n (suspenseStackCursor.current &\n SubtreeSuspenseContextMask) |\n ForceSuspenseFallback\n );\n isHydrating &&\n pushTreeFork(workInProgress, newProps.treeForkCount);\n return workInProgress.child;\n }\n current = current.sibling;\n }\n null !== newProps.tail &&\n now$1() > workInProgressRootRenderTargetTime &&\n ((workInProgress.flags |= 128),\n (type = !0),\n cutOffTailIfNeeded(newProps, !1),\n (workInProgress.lanes = 4194304));\n }\n else {\n if (!type)\n if (\n ((current = findFirstSuspended(nextResource)), null !== current)\n ) {\n if (\n ((workInProgress.flags |= 128),\n (type = !0),\n (current = current.updateQueue),\n (workInProgress.updateQueue = current),\n scheduleRetryEffect(workInProgress, current),\n cutOffTailIfNeeded(newProps, !0),\n null === newProps.tail &&\n \"collapsed\" !== newProps.tailMode &&\n \"visible\" !== newProps.tailMode &&\n !nextResource.alternate &&\n !isHydrating)\n )\n return bubbleProperties(workInProgress), null;\n } else\n 2 * now$1() - newProps.renderingStartTime >\n workInProgressRootRenderTargetTime &&\n 536870912 !== renderLanes &&\n ((workInProgress.flags |= 128),\n (type = !0),\n cutOffTailIfNeeded(newProps, !1),\n (workInProgress.lanes = 4194304));\n newProps.isBackwards\n ? ((nextResource.sibling = workInProgress.child),\n (workInProgress.child = nextResource))\n : ((current = newProps.last),\n null !== current\n ? (current.sibling = nextResource)\n : (workInProgress.child = nextResource),\n (newProps.last = nextResource));\n }\n if (null !== newProps.tail) {\n current = newProps.tail;\n a: {\n for (renderLanes = current; null !== renderLanes; ) {\n if (null !== renderLanes.alternate) {\n renderLanes = !1;\n break a;\n }\n renderLanes = renderLanes.sibling;\n }\n renderLanes = !0;\n }\n newProps.rendering = current;\n newProps.tail = current.sibling;\n newProps.renderingStartTime = now$1();\n current.sibling = null;\n nextResource = suspenseStackCursor.current;\n nextResource = type\n ? (nextResource & SubtreeSuspenseContextMask) |\n ForceSuspenseFallback\n : nextResource & SubtreeSuspenseContextMask;\n \"visible\" === newProps.tailMode ||\n \"collapsed\" === newProps.tailMode ||\n !renderLanes ||\n isHydrating\n ? pushSuspenseListContext(workInProgress, nextResource)\n : ((renderLanes = nextResource),\n push(\n suspenseHandlerStackCursor,\n workInProgress,\n workInProgress\n ),\n push(suspenseStackCursor, renderLanes, workInProgress),\n null === shellBoundary && (shellBoundary = workInProgress));\n isHydrating && pushTreeFork(workInProgress, newProps.treeForkCount);\n return current;\n }\n bubbleProperties(workInProgress);\n return null;\n case 22:\n case 23:\n return (\n popSuspenseHandler(workInProgress),\n popHiddenContext(workInProgress),\n (newProps = null !== workInProgress.memoizedState),\n null !== current\n ? (null !== current.memoizedState) !== newProps &&\n (workInProgress.flags |= 8192)\n : newProps && (workInProgress.flags |= 8192),\n newProps\n ? 0 !== (renderLanes & 536870912) &&\n 0 === (workInProgress.flags & 128) &&\n (bubbleProperties(workInProgress),\n workInProgress.subtreeFlags & 6 &&\n (workInProgress.flags |= 8192))\n : bubbleProperties(workInProgress),\n (renderLanes = workInProgress.updateQueue),\n null !== renderLanes &&\n scheduleRetryEffect(workInProgress, renderLanes.retryQueue),\n (renderLanes = null),\n null !== current &&\n null !== current.memoizedState &&\n null !== current.memoizedState.cachePool &&\n (renderLanes = current.memoizedState.cachePool.pool),\n (newProps = null),\n null !== workInProgress.memoizedState &&\n null !== workInProgress.memoizedState.cachePool &&\n (newProps = workInProgress.memoizedState.cachePool.pool),\n newProps !== renderLanes && (workInProgress.flags |= 2048),\n null !== current && pop(resumedCache, workInProgress),\n null\n );\n case 24:\n return (\n (renderLanes = null),\n null !== current && (renderLanes = current.memoizedState.cache),\n workInProgress.memoizedState.cache !== renderLanes &&\n (workInProgress.flags |= 2048),\n popProvider(CacheContext, workInProgress),\n bubbleProperties(workInProgress),\n null\n );\n case 25:\n return null;\n case 30:\n return (\n (workInProgress.flags |= 33554432),\n bubbleProperties(workInProgress),\n null\n );\n }\n throw Error(\n \"Unknown unit of work tag (\" +\n workInProgress.tag +\n \"). This error is likely caused by a bug in React. Please file an issue.\"\n );\n }\n function unwindWork(current, workInProgress) {\n popTreeContext(workInProgress);\n switch (workInProgress.tag) {\n case 1:\n return (\n (current = workInProgress.flags),\n current & 65536\n ? ((workInProgress.flags = (current & -65537) | 128),\n (workInProgress.mode & ProfileMode) !== NoMode &&\n transferActualDuration(workInProgress),\n workInProgress)\n : null\n );\n case 3:\n return (\n popProvider(CacheContext, workInProgress),\n popHostContainer(workInProgress),\n (current = workInProgress.flags),\n 0 !== (current & 65536) && 0 === (current & 128)\n ? ((workInProgress.flags = (current & -65537) | 128),\n workInProgress)\n : null\n );\n case 26:\n case 27:\n case 5:\n return popHostContext(workInProgress), null;\n case 31:\n if (null !== workInProgress.memoizedState) {\n popSuspenseHandler(workInProgress);\n if (null === workInProgress.alternate)\n throw Error(\n \"Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.\"\n );\n resetHydrationState();\n }\n current = workInProgress.flags;\n return current & 65536\n ? ((workInProgress.flags = (current & -65537) | 128),\n (workInProgress.mode & ProfileMode) !== NoMode &&\n transferActualDuration(workInProgress),\n workInProgress)\n : null;\n case 13:\n popSuspenseHandler(workInProgress);\n current = workInProgress.memoizedState;\n if (null !== current && null !== current.dehydrated) {\n if (null === workInProgress.alternate)\n throw Error(\n \"Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.\"\n );\n resetHydrationState();\n }\n current = workInProgress.flags;\n return current & 65536\n ? ((workInProgress.flags = (current & -65537) | 128),\n (workInProgress.mode & ProfileMode) !== NoMode &&\n transferActualDuration(workInProgress),\n workInProgress)\n : null;\n case 19:\n return (\n popSuspenseListContext(workInProgress),\n (current = workInProgress.flags),\n current & 65536\n ? ((workInProgress.flags = (current & -65537) | 128),\n (current = workInProgress.memoizedState),\n null !== current &&\n ((current.rendering = null), (current.tail = null)),\n (workInProgress.flags |= 4),\n workInProgress)\n : null\n );\n case 4:\n return popHostContainer(workInProgress), null;\n case 10:\n return popProvider(workInProgress.type, workInProgress), null;\n case 22:\n case 23:\n return (\n popSuspenseHandler(workInProgress),\n popHiddenContext(workInProgress),\n null !== current && pop(resumedCache, workInProgress),\n (current = workInProgress.flags),\n current & 65536\n ? ((workInProgress.flags = (current & -65537) | 128),\n (workInProgress.mode & ProfileMode) !== NoMode &&\n transferActualDuration(workInProgress),\n workInProgress)\n : null\n );\n case 24:\n return popProvider(CacheContext, workInProgress), null;\n case 25:\n return null;\n default:\n return null;\n }\n }\n function unwindInterruptedWork(current, interruptedWork) {\n popTreeContext(interruptedWork);\n switch (interruptedWork.tag) {\n case 3:\n popProvider(CacheContext, interruptedWork);\n popHostContainer(interruptedWork);\n break;\n case 26:\n case 27:\n case 5:\n popHostContext(interruptedWork);\n break;\n case 4:\n popHostContainer(interruptedWork);\n break;\n case 31:\n null !== interruptedWork.memoizedState &&\n popSuspenseHandler(interruptedWork);\n break;\n case 13:\n popSuspenseHandler(interruptedWork);\n break;\n case 19:\n popSuspenseListContext(interruptedWork);\n break;\n case 10:\n popProvider(interruptedWork.type, interruptedWork);\n break;\n case 22:\n case 23:\n popSuspenseHandler(interruptedWork);\n popHiddenContext(interruptedWork);\n null !== current && pop(resumedCache, interruptedWork);\n break;\n case 24:\n popProvider(CacheContext, interruptedWork);\n }\n }\n function shouldProfile(current) {\n return (current.mode & ProfileMode) !== NoMode;\n }\n function commitHookLayoutEffects(finishedWork, hookFlags) {\n shouldProfile(finishedWork)\n ? (startEffectTimer(),\n commitHookEffectListMount(hookFlags, finishedWork),\n recordEffectDuration())\n : commitHookEffectListMount(hookFlags, finishedWork);\n }\n function commitHookLayoutUnmountEffects(\n finishedWork,\n nearestMountedAncestor,\n hookFlags\n ) {\n shouldProfile(finishedWork)\n ? (startEffectTimer(),\n commitHookEffectListUnmount(\n hookFlags,\n finishedWork,\n nearestMountedAncestor\n ),\n recordEffectDuration())\n : commitHookEffectListUnmount(\n hookFlags,\n finishedWork,\n nearestMountedAncestor\n );\n }\n function commitHookEffectListMount(flags, finishedWork) {\n try {\n var updateQueue = finishedWork.updateQueue,\n lastEffect = null !== updateQueue ? updateQueue.lastEffect : null;\n if (null !== lastEffect) {\n var firstEffect = lastEffect.next;\n updateQueue = firstEffect;\n do {\n if (\n (updateQueue.tag & flags) === flags &&\n ((lastEffect = void 0),\n (flags & Insertion) !== NoFlags &&\n (isRunningInsertionEffect = !0),\n (lastEffect = runWithFiberInDEV(\n finishedWork,\n callCreateInDEV,\n updateQueue\n )),\n (flags & Insertion) !== NoFlags &&\n (isRunningInsertionEffect = !1),\n void 0 !== lastEffect && \"function\" !== typeof lastEffect)\n ) {\n var hookName = void 0;\n hookName =\n 0 !== (updateQueue.tag & Layout)\n ? \"useLayoutEffect\"\n : 0 !== (updateQueue.tag & Insertion)\n ? \"useInsertionEffect\"\n : \"useEffect\";\n var addendum = void 0;\n addendum =\n null === lastEffect\n ? \" You returned null. If your effect does not require clean up, return undefined (or nothing).\"\n : \"function\" === typeof lastEffect.then\n ? \"\\n\\nIt looks like you wrote \" +\n hookName +\n \"(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:\\n\\n\" +\n hookName +\n \"(() => {\\n async function fetchData() {\\n // You can await here\\n const response = await MyAPI.getData(someId);\\n // ...\\n }\\n fetchData();\\n}, [someId]); // Or [] if effect doesn't need props or state\\n\\nLearn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching\"\n : \" You returned: \" + lastEffect;\n runWithFiberInDEV(\n finishedWork,\n function (n, a) {\n console.error(\n \"%s must not return anything besides a function, which is used for clean-up.%s\",\n n,\n a\n );\n },\n hookName,\n addendum\n );\n }\n updateQueue = updateQueue.next;\n } while (updateQueue !== firstEffect);\n }\n } catch (error) {\n captureCommitPhaseError(finishedWork, finishedWork.return, error);\n }\n }\n function commitHookEffectListUnmount(\n flags,\n finishedWork,\n nearestMountedAncestor\n ) {\n try {\n var updateQueue = finishedWork.updateQueue,\n lastEffect = null !== updateQueue ? updateQueue.lastEffect : null;\n if (null !== lastEffect) {\n var firstEffect = lastEffect.next;\n updateQueue = firstEffect;\n do {\n if ((updateQueue.tag & flags) === flags) {\n var inst = updateQueue.inst,\n destroy = inst.destroy;\n void 0 !== destroy &&\n ((inst.destroy = void 0),\n (flags & Insertion) !== NoFlags &&\n (isRunningInsertionEffect = !0),\n (lastEffect = finishedWork),\n runWithFiberInDEV(\n lastEffect,\n callDestroyInDEV,\n lastEffect,\n nearestMountedAncestor,\n destroy\n ),\n (flags & Insertion) !== NoFlags &&\n (isRunningInsertionEffect = !1));\n }\n updateQueue = updateQueue.next;\n } while (updateQueue !== firstEffect);\n }\n } catch (error) {\n captureCommitPhaseError(finishedWork, finishedWork.return, error);\n }\n }\n function commitHookPassiveMountEffects(finishedWork, hookFlags) {\n shouldProfile(finishedWork)\n ? (startEffectTimer(),\n commitHookEffectListMount(hookFlags, finishedWork),\n recordEffectDuration())\n : commitHookEffectListMount(hookFlags, finishedWork);\n }\n function commitHookPassiveUnmountEffects(\n finishedWork,\n nearestMountedAncestor,\n hookFlags\n ) {\n shouldProfile(finishedWork)\n ? (startEffectTimer(),\n commitHookEffectListUnmount(\n hookFlags,\n finishedWork,\n nearestMountedAncestor\n ),\n recordEffectDuration())\n : commitHookEffectListUnmount(\n hookFlags,\n finishedWork,\n nearestMountedAncestor\n );\n }\n function commitClassCallbacks(finishedWork) {\n var updateQueue = finishedWork.updateQueue;\n if (null !== updateQueue) {\n var instance = finishedWork.stateNode;\n finishedWork.type.defaultProps ||\n \"ref\" in finishedWork.memoizedProps ||\n didWarnAboutReassigningProps ||\n (instance.props !== finishedWork.memoizedProps &&\n console.error(\n \"Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.\",\n getComponentNameFromFiber(finishedWork) || \"instance\"\n ),\n instance.state !== finishedWork.memoizedState &&\n console.error(\n \"Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.\",\n getComponentNameFromFiber(finishedWork) || \"instance\"\n ));\n try {\n runWithFiberInDEV(\n finishedWork,\n commitCallbacks,\n updateQueue,\n instance\n );\n } catch (error) {\n captureCommitPhaseError(finishedWork, finishedWork.return, error);\n }\n }\n }\n function callGetSnapshotBeforeUpdates(instance, prevProps, prevState) {\n return instance.getSnapshotBeforeUpdate(prevProps, prevState);\n }\n function commitClassSnapshot(finishedWork, current) {\n var prevProps = current.memoizedProps,\n prevState = current.memoizedState;\n current = finishedWork.stateNode;\n finishedWork.type.defaultProps ||\n \"ref\" in finishedWork.memoizedProps ||\n didWarnAboutReassigningProps ||\n (current.props !== finishedWork.memoizedProps &&\n console.error(\n \"Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.\",\n getComponentNameFromFiber(finishedWork) || \"instance\"\n ),\n current.state !== finishedWork.memoizedState &&\n console.error(\n \"Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.\",\n getComponentNameFromFiber(finishedWork) || \"instance\"\n ));\n try {\n var resolvedPrevProps = resolveClassComponentProps(\n finishedWork.type,\n prevProps\n );\n var snapshot = runWithFiberInDEV(\n finishedWork,\n callGetSnapshotBeforeUpdates,\n current,\n resolvedPrevProps,\n prevState\n );\n prevProps = didWarnAboutUndefinedSnapshotBeforeUpdate;\n void 0 !== snapshot ||\n prevProps.has(finishedWork.type) ||\n (prevProps.add(finishedWork.type),\n runWithFiberInDEV(finishedWork, function () {\n console.error(\n \"%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.\",\n getComponentNameFromFiber(finishedWork)\n );\n }));\n current.__reactInternalSnapshotBeforeUpdate = snapshot;\n } catch (error) {\n captureCommitPhaseError(finishedWork, finishedWork.return, error);\n }\n }\n function safelyCallComponentWillUnmount(\n current,\n nearestMountedAncestor,\n instance\n ) {\n instance.props = resolveClassComponentProps(\n current.type,\n current.memoizedProps\n );\n instance.state = current.memoizedState;\n shouldProfile(current)\n ? (startEffectTimer(),\n runWithFiberInDEV(\n current,\n callComponentWillUnmountInDEV,\n current,\n nearestMountedAncestor,\n instance\n ),\n recordEffectDuration())\n : runWithFiberInDEV(\n current,\n callComponentWillUnmountInDEV,\n current,\n nearestMountedAncestor,\n instance\n );\n }\n function commitAttachRef(finishedWork) {\n var ref = finishedWork.ref;\n if (null !== ref) {\n switch (finishedWork.tag) {\n case 26:\n case 27:\n case 5:\n var instanceToUse = finishedWork.stateNode;\n break;\n case 30:\n instanceToUse = finishedWork.stateNode;\n var name = getViewTransitionName(\n finishedWork.memoizedProps,\n instanceToUse\n );\n if (null === instanceToUse.ref || instanceToUse.ref.name !== name)\n instanceToUse.ref = createViewTransitionInstance(name);\n instanceToUse = instanceToUse.ref;\n break;\n case 7:\n null === finishedWork.stateNode &&\n ((instanceToUse = new FragmentInstance(finishedWork)),\n (finishedWork.stateNode = instanceToUse));\n instanceToUse = finishedWork.stateNode;\n break;\n default:\n instanceToUse = finishedWork.stateNode;\n }\n if (\"function\" === typeof ref)\n if (shouldProfile(finishedWork))\n try {\n startEffectTimer(),\n (finishedWork.refCleanup = ref(instanceToUse));\n } finally {\n recordEffectDuration();\n }\n else finishedWork.refCleanup = ref(instanceToUse);\n else\n \"string\" === typeof ref\n ? console.error(\"String refs are no longer supported.\")\n : ref.hasOwnProperty(\"current\") ||\n console.error(\n \"Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().\",\n getComponentNameFromFiber(finishedWork)\n ),\n (ref.current = instanceToUse);\n }\n }\n function safelyAttachRef(current, nearestMountedAncestor) {\n try {\n runWithFiberInDEV(current, commitAttachRef, current);\n } catch (error) {\n captureCommitPhaseError(current, nearestMountedAncestor, error);\n }\n }\n function safelyDetachRef(current, nearestMountedAncestor) {\n var ref = current.ref,\n refCleanup = current.refCleanup;\n if (null !== ref)\n if (\"function\" === typeof refCleanup)\n try {\n if (shouldProfile(current))\n try {\n startEffectTimer(), runWithFiberInDEV(current, refCleanup);\n } finally {\n recordEffectDuration(current);\n }\n else runWithFiberInDEV(current, refCleanup);\n } catch (error) {\n captureCommitPhaseError(current, nearestMountedAncestor, error);\n } finally {\n (current.refCleanup = null),\n (current = current.alternate),\n null != current && (current.refCleanup = null);\n }\n else if (\"function\" === typeof ref)\n try {\n if (shouldProfile(current))\n try {\n startEffectTimer(), runWithFiberInDEV(current, ref, null);\n } finally {\n recordEffectDuration(current);\n }\n else runWithFiberInDEV(current, ref, null);\n } catch (error$7) {\n captureCommitPhaseError(current, nearestMountedAncestor, error$7);\n }\n else ref.current = null;\n }\n function commitProfiler(\n finishedWork,\n current,\n commitStartTime,\n effectDuration\n ) {\n var _finishedWork$memoize = finishedWork.memoizedProps,\n id = _finishedWork$memoize.id,\n onCommit = _finishedWork$memoize.onCommit;\n _finishedWork$memoize = _finishedWork$memoize.onRender;\n current = null === current ? \"mount\" : \"update\";\n currentUpdateIsNested && (current = \"nested-update\");\n \"function\" === typeof _finishedWork$memoize &&\n _finishedWork$memoize(\n id,\n current,\n finishedWork.actualDuration,\n finishedWork.treeBaseDuration,\n finishedWork.actualStartTime,\n commitStartTime\n );\n \"function\" === typeof onCommit &&\n onCommit(id, current, effectDuration, commitStartTime);\n }\n function commitProfilerPostCommitImpl(\n finishedWork,\n current,\n commitStartTime,\n passiveEffectDuration\n ) {\n var _finishedWork$memoize2 = finishedWork.memoizedProps;\n finishedWork = _finishedWork$memoize2.id;\n _finishedWork$memoize2 = _finishedWork$memoize2.onPostCommit;\n current = null === current ? \"mount\" : \"update\";\n currentUpdateIsNested && (current = \"nested-update\");\n \"function\" === typeof _finishedWork$memoize2 &&\n _finishedWork$memoize2(\n finishedWork,\n current,\n passiveEffectDuration,\n commitStartTime\n );\n }\n function commitHostMount(finishedWork) {\n var type = finishedWork.type,\n props = finishedWork.memoizedProps,\n instance = finishedWork.stateNode;\n try {\n runWithFiberInDEV(\n finishedWork,\n commitMount,\n instance,\n type,\n props,\n finishedWork\n );\n } catch (error) {\n captureCommitPhaseError(finishedWork, finishedWork.return, error);\n }\n }\n function commitHostUpdate(finishedWork, newProps, oldProps) {\n try {\n runWithFiberInDEV(\n finishedWork,\n commitUpdate,\n finishedWork.stateNode,\n finishedWork.type,\n oldProps,\n newProps,\n finishedWork\n );\n } catch (error) {\n captureCommitPhaseError(finishedWork, finishedWork.return, error);\n }\n }\n function commitNewChildToFragmentInstances(fiber, parentFragmentInstances) {\n if (\n 5 === fiber.tag &&\n null === fiber.alternate &&\n null !== parentFragmentInstances\n )\n for (var i = 0; i < parentFragmentInstances.length; i++)\n commitNewChildToFragmentInstance(\n fiber.stateNode,\n parentFragmentInstances[i]\n );\n }\n function commitFragmentInstanceDeletionEffects(fiber) {\n for (var parent = fiber.return; null !== parent; ) {\n if (isFragmentInstanceParent(parent)) {\n var childInstance = fiber.stateNode,\n eventListeners = parent.stateNode._eventListeners;\n if (null !== eventListeners)\n for (var i = 0; i < eventListeners.length; i++) {\n var _eventListeners$i3 = eventListeners[i];\n childInstance.removeEventListener(\n _eventListeners$i3.type,\n _eventListeners$i3.listener,\n _eventListeners$i3.optionsOrUseCapture\n );\n }\n }\n if (isHostParent(parent)) break;\n parent = parent.return;\n }\n }\n function isHostParent(fiber) {\n return (\n 5 === fiber.tag ||\n 3 === fiber.tag ||\n 26 === fiber.tag ||\n (27 === fiber.tag && isSingletonScope(fiber.type)) ||\n 4 === fiber.tag\n );\n }\n function isFragmentInstanceParent(fiber) {\n return fiber && 7 === fiber.tag && null !== fiber.stateNode;\n }\n function getHostSibling(fiber) {\n a: for (;;) {\n for (; null === fiber.sibling; ) {\n if (null === fiber.return || isHostParent(fiber.return)) return null;\n fiber = fiber.return;\n }\n fiber.sibling.return = fiber.return;\n for (\n fiber = fiber.sibling;\n 5 !== fiber.tag && 6 !== fiber.tag && 18 !== fiber.tag;\n\n ) {\n if (27 === fiber.tag && isSingletonScope(fiber.type)) continue a;\n if (fiber.flags & 2) continue a;\n if (null === fiber.child || 4 === fiber.tag) continue a;\n else (fiber.child.return = fiber), (fiber = fiber.child);\n }\n if (!(fiber.flags & 2)) return fiber.stateNode;\n }\n }\n function insertOrAppendPlacementNodeIntoContainer(\n node,\n before,\n parent,\n parentFragmentInstances\n ) {\n var tag = node.tag;\n if (5 === tag || 6 === tag)\n (tag = node.stateNode),\n before\n ? (warnForReactChildrenConflict(parent),\n (9 === parent.nodeType\n ? parent.body\n : \"HTML\" === parent.nodeName\n ? parent.ownerDocument.body\n : parent\n ).insertBefore(tag, before))\n : (warnForReactChildrenConflict(parent),\n (before =\n 9 === parent.nodeType\n ? parent.body\n : \"HTML\" === parent.nodeName\n ? parent.ownerDocument.body\n : parent),\n before.appendChild(tag),\n (tag = parent._reactRootContainer),\n (null !== tag && void 0 !== tag) ||\n null !== before.onclick ||\n (before.onclick = noop$1)),\n commitNewChildToFragmentInstances(node, parentFragmentInstances),\n (viewTransitionMutationContext = !0);\n else if (\n 4 !== tag &&\n (27 === tag &&\n isSingletonScope(node.type) &&\n ((parent = node.stateNode), (before = null)),\n (node = node.child),\n null !== node)\n )\n for (\n insertOrAppendPlacementNodeIntoContainer(\n node,\n before,\n parent,\n parentFragmentInstances\n ),\n node = node.sibling;\n null !== node;\n\n )\n insertOrAppendPlacementNodeIntoContainer(\n node,\n before,\n parent,\n parentFragmentInstances\n ),\n (node = node.sibling);\n }\n function insertOrAppendPlacementNode(\n node,\n before,\n parent,\n parentFragmentInstances\n ) {\n var tag = node.tag;\n if (5 === tag || 6 === tag)\n (tag = node.stateNode),\n before ? parent.insertBefore(tag, before) : parent.appendChild(tag),\n commitNewChildToFragmentInstances(node, parentFragmentInstances),\n (viewTransitionMutationContext = !0);\n else if (\n 4 !== tag &&\n (27 === tag && isSingletonScope(node.type) && (parent = node.stateNode),\n (node = node.child),\n null !== node)\n )\n for (\n insertOrAppendPlacementNode(\n node,\n before,\n parent,\n parentFragmentInstances\n ),\n node = node.sibling;\n null !== node;\n\n )\n insertOrAppendPlacementNode(\n node,\n before,\n parent,\n parentFragmentInstances\n ),\n (node = node.sibling);\n }\n function commitPlacement(finishedWork) {\n for (\n var hostParentFiber,\n parentFragmentInstances = null,\n parentFiber = finishedWork.return;\n null !== parentFiber;\n\n ) {\n if (isFragmentInstanceParent(parentFiber)) {\n var fragmentInstance = parentFiber.stateNode;\n null === parentFragmentInstances\n ? (parentFragmentInstances = [fragmentInstance])\n : parentFragmentInstances.push(fragmentInstance);\n }\n if (isHostParent(parentFiber)) {\n hostParentFiber = parentFiber;\n break;\n }\n parentFiber = parentFiber.return;\n }\n if (null == hostParentFiber)\n throw Error(\n \"Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.\"\n );\n switch (hostParentFiber.tag) {\n case 27:\n hostParentFiber = hostParentFiber.stateNode;\n parentFiber = getHostSibling(finishedWork);\n insertOrAppendPlacementNode(\n finishedWork,\n parentFiber,\n hostParentFiber,\n parentFragmentInstances\n );\n break;\n case 5:\n parentFiber = hostParentFiber.stateNode;\n hostParentFiber.flags & 32 &&\n (resetTextContent(parentFiber), (hostParentFiber.flags &= -33));\n hostParentFiber = getHostSibling(finishedWork);\n insertOrAppendPlacementNode(\n finishedWork,\n hostParentFiber,\n parentFiber,\n parentFragmentInstances\n );\n break;\n case 3:\n case 4:\n hostParentFiber = hostParentFiber.stateNode.containerInfo;\n parentFiber = getHostSibling(finishedWork);\n insertOrAppendPlacementNodeIntoContainer(\n finishedWork,\n parentFiber,\n hostParentFiber,\n parentFragmentInstances\n );\n break;\n default:\n throw Error(\n \"Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.\"\n );\n }\n }\n function commitHostSingletonAcquisition(finishedWork) {\n var singleton = finishedWork.stateNode,\n props = finishedWork.memoizedProps;\n try {\n runWithFiberInDEV(\n finishedWork,\n acquireSingletonInstance,\n finishedWork.type,\n props,\n singleton,\n finishedWork\n );\n } catch (error) {\n captureCommitPhaseError(finishedWork, finishedWork.return, error);\n }\n }\n function trackEnterViewTransitions(placement) {\n if (30 === placement.tag || 0 !== (placement.subtreeFlags & 33554432))\n shouldStartViewTransition = !0;\n }\n function pushViewTransitionCancelableScope() {\n var prevChildren = viewTransitionCancelableChildren;\n viewTransitionCancelableChildren = null;\n return prevChildren;\n }\n function applyViewTransitionToHostInstances(\n fiber,\n name,\n className,\n collectMeasurements,\n stopAtNestedViewTransitions\n ) {\n viewTransitionHostInstanceIdx = 0;\n (name = applyViewTransitionToHostInstancesRecursive(\n fiber.child,\n name,\n className,\n collectMeasurements,\n stopAtNestedViewTransitions\n )) &&\n null != fiber._debugTask &&\n null === animatingTask &&\n (animatingTask = fiber._debugTask);\n return name;\n }\n function applyViewTransitionToHostInstancesRecursive(\n child,\n name,\n className,\n collectMeasurements,\n stopAtNestedViewTransitions\n ) {\n for (var inViewport = !1; null !== child; ) {\n if (5 === child.tag) {\n var instance = child.stateNode;\n if (null !== collectMeasurements) {\n var measurement = measureInstance(instance);\n collectMeasurements.push(measurement);\n measurement.view && (inViewport = !0);\n } else\n inViewport || (measureInstance(instance).view && (inViewport = !0));\n shouldStartViewTransition = !0;\n applyViewTransitionName(\n instance,\n 0 === viewTransitionHostInstanceIdx\n ? name\n : name + \"_\" + viewTransitionHostInstanceIdx,\n className\n );\n viewTransitionHostInstanceIdx++;\n } else if (22 !== child.tag || null === child.memoizedState)\n (30 === child.tag && stopAtNestedViewTransitions) ||\n (applyViewTransitionToHostInstancesRecursive(\n child.child,\n name,\n className,\n collectMeasurements,\n stopAtNestedViewTransitions\n ) &&\n (inViewport = !0));\n child = child.sibling;\n }\n return inViewport;\n }\n function restoreViewTransitionOnHostInstances(\n child,\n stopAtNestedViewTransitions\n ) {\n for (; null !== child; ) {\n if (5 === child.tag)\n restoreViewTransitionName(child.stateNode, child.memoizedProps);\n else if (22 !== child.tag || null === child.memoizedState)\n (30 === child.tag && stopAtNestedViewTransitions) ||\n restoreViewTransitionOnHostInstances(\n child.child,\n stopAtNestedViewTransitions\n );\n child = child.sibling;\n }\n }\n function commitAppearingPairViewTransitions(placement) {\n if (0 !== (placement.subtreeFlags & 18874368))\n for (placement = placement.child; null !== placement; ) {\n if (22 !== placement.tag || null === placement.memoizedState)\n if (\n (commitAppearingPairViewTransitions(placement),\n 30 === placement.tag &&\n 0 !== (placement.flags & 18874368) &&\n placement.stateNode.paired)\n ) {\n var props = placement.memoizedProps;\n if (null == props.name || \"auto\" === props.name)\n throw Error(\n \"Found a pair with an auto name. This is a bug in React.\"\n );\n var name = props.name;\n props = getViewTransitionClassName(props.default, props.share);\n \"none\" !== props &&\n (applyViewTransitionToHostInstances(\n placement,\n name,\n props,\n null,\n !1\n ) ||\n restoreViewTransitionOnHostInstances(placement.child, !1));\n }\n placement = placement.sibling;\n }\n }\n function commitEnterViewTransitions(placement, gesture) {\n if (30 === placement.tag) {\n var state = placement.stateNode,\n props = placement.memoizedProps,\n name = getViewTransitionName(props, state),\n className = getViewTransitionClassName(\n props.default,\n state.paired ? props.share : props.enter\n );\n \"none\" !== className\n ? applyViewTransitionToHostInstances(\n placement,\n name,\n className,\n null,\n !1\n )\n ? (commitAppearingPairViewTransitions(placement),\n state.paired ||\n gesture ||\n scheduleViewTransitionEvent(placement, props.onEnter))\n : restoreViewTransitionOnHostInstances(placement.child, !1)\n : commitAppearingPairViewTransitions(placement);\n } else if (0 !== (placement.subtreeFlags & 33554432))\n for (placement = placement.child; null !== placement; )\n commitEnterViewTransitions(placement, gesture),\n (placement = placement.sibling);\n else commitAppearingPairViewTransitions(placement);\n }\n function commitDeletedPairViewTransitions(deletion) {\n if (\n null !== appearingViewTransitions &&\n 0 !== appearingViewTransitions.size\n ) {\n var pairs = appearingViewTransitions;\n if (0 !== (deletion.subtreeFlags & 18874368))\n for (deletion = deletion.child; null !== deletion; ) {\n if (22 !== deletion.tag || null === deletion.memoizedState) {\n if (30 === deletion.tag && 0 !== (deletion.flags & 18874368)) {\n var props = deletion.memoizedProps,\n name = props.name;\n if (null != name && \"auto\" !== name) {\n var pair = pairs.get(name);\n if (void 0 !== pair) {\n var className = getViewTransitionClassName(\n props.default,\n props.share\n );\n \"none\" !== className &&\n (applyViewTransitionToHostInstances(\n deletion,\n name,\n className,\n null,\n !1\n )\n ? ((className = deletion.stateNode),\n (pair.paired = className),\n (className.paired = pair),\n scheduleViewTransitionEvent(deletion, props.onShare))\n : restoreViewTransitionOnHostInstances(\n deletion.child,\n !1\n ));\n pairs.delete(name);\n if (0 === pairs.size) break;\n }\n }\n }\n commitDeletedPairViewTransitions(deletion);\n }\n deletion = deletion.sibling;\n }\n }\n }\n function commitExitViewTransitions(deletion) {\n if (30 === deletion.tag) {\n var props = deletion.memoizedProps,\n name = getViewTransitionName(props, deletion.stateNode),\n pair =\n null !== appearingViewTransitions\n ? appearingViewTransitions.get(name)\n : void 0,\n className = getViewTransitionClassName(\n props.default,\n void 0 !== pair ? props.share : props.exit\n );\n \"none\" !== className &&\n (applyViewTransitionToHostInstances(\n deletion,\n name,\n className,\n null,\n !1\n )\n ? void 0 !== pair\n ? ((className = deletion.stateNode),\n (pair.paired = className),\n (className.paired = pair),\n appearingViewTransitions.delete(name),\n scheduleViewTransitionEvent(deletion, props.onShare))\n : scheduleViewTransitionEvent(deletion, props.onExit)\n : restoreViewTransitionOnHostInstances(deletion.child, !1));\n null !== appearingViewTransitions &&\n commitDeletedPairViewTransitions(deletion);\n } else if (0 !== (deletion.subtreeFlags & 33554432))\n for (deletion = deletion.child; null !== deletion; )\n commitExitViewTransitions(deletion), (deletion = deletion.sibling);\n else\n null !== appearingViewTransitions &&\n commitDeletedPairViewTransitions(deletion);\n }\n function commitNestedViewTransitions(changedParent) {\n for (changedParent = changedParent.child; null !== changedParent; ) {\n if (30 === changedParent.tag) {\n var props = changedParent.memoizedProps,\n name = getViewTransitionName(props, changedParent.stateNode);\n props = getViewTransitionClassName(props.default, props.update);\n changedParent.flags &= -5;\n \"none\" !== props &&\n applyViewTransitionToHostInstances(\n changedParent,\n name,\n props,\n (changedParent.memoizedState = []),\n !1\n );\n } else\n 0 !== (changedParent.subtreeFlags & 33554432) &&\n commitNestedViewTransitions(changedParent);\n changedParent = changedParent.sibling;\n }\n }\n function restorePairedViewTransitions(parent) {\n if (0 !== (parent.subtreeFlags & 18874368))\n for (parent = parent.child; null !== parent; ) {\n if (22 !== parent.tag || null === parent.memoizedState) {\n if (30 === parent.tag && 0 !== (parent.flags & 18874368)) {\n var instance = parent.stateNode;\n null !== instance.paired &&\n ((instance.paired = null),\n restoreViewTransitionOnHostInstances(parent.child, !1));\n }\n restorePairedViewTransitions(parent);\n }\n parent = parent.sibling;\n }\n }\n function restoreEnterOrExitViewTransitions(fiber) {\n if (30 === fiber.tag)\n (fiber.stateNode.paired = null),\n restoreViewTransitionOnHostInstances(fiber.child, !1),\n restorePairedViewTransitions(fiber);\n else if (0 !== (fiber.subtreeFlags & 33554432))\n for (fiber = fiber.child; null !== fiber; )\n restoreEnterOrExitViewTransitions(fiber), (fiber = fiber.sibling);\n else restorePairedViewTransitions(fiber);\n }\n function restoreNestedViewTransitions(changedParent) {\n for (changedParent = changedParent.child; null !== changedParent; )\n 30 === changedParent.tag\n ? restoreViewTransitionOnHostInstances(changedParent.child, !1)\n : 0 !== (changedParent.subtreeFlags & 33554432) &&\n restoreNestedViewTransitions(changedParent),\n (changedParent = changedParent.sibling);\n }\n function measureViewTransitionHostInstancesRecursive(\n parentViewTransition,\n child,\n newName,\n oldName,\n className,\n previousMeasurements,\n stopAtNestedViewTransitions\n ) {\n for (var inViewport = !1; null !== child; ) {\n if (5 === child.tag) {\n var instance = child.stateNode;\n if (\n null !== previousMeasurements &&\n viewTransitionHostInstanceIdx < previousMeasurements.length\n ) {\n var previousMeasurement =\n previousMeasurements[viewTransitionHostInstanceIdx],\n nextMeasurement = measureInstance(instance);\n if (previousMeasurement.view || nextMeasurement.view)\n inViewport = !0;\n var JSCompiler_temp;\n if ((JSCompiler_temp = 0 === (parentViewTransition.flags & 4)))\n if (nextMeasurement.clip) JSCompiler_temp = !0;\n else {\n JSCompiler_temp = previousMeasurement.rect;\n var newRect = nextMeasurement.rect;\n JSCompiler_temp =\n JSCompiler_temp.y !== newRect.y ||\n JSCompiler_temp.x !== newRect.x ||\n JSCompiler_temp.height !== newRect.height ||\n JSCompiler_temp.width !== newRect.width;\n }\n JSCompiler_temp && (parentViewTransition.flags |= 4);\n nextMeasurement.abs\n ? (nextMeasurement = !previousMeasurement.abs)\n : ((previousMeasurement = previousMeasurement.rect),\n (nextMeasurement = nextMeasurement.rect),\n (nextMeasurement =\n previousMeasurement.height !== nextMeasurement.height ||\n previousMeasurement.width !== nextMeasurement.width));\n nextMeasurement && (parentViewTransition.flags |= 32);\n } else parentViewTransition.flags |= 32;\n 0 !== (parentViewTransition.flags & 4) &&\n applyViewTransitionName(\n instance,\n 0 === viewTransitionHostInstanceIdx\n ? newName\n : newName + \"_\" + viewTransitionHostInstanceIdx,\n className\n );\n (inViewport && 0 !== (parentViewTransition.flags & 4)) ||\n (null === viewTransitionCancelableChildren &&\n (viewTransitionCancelableChildren = []),\n viewTransitionCancelableChildren.push(\n instance,\n oldName,\n child.memoizedProps\n ));\n viewTransitionHostInstanceIdx++;\n } else if (22 !== child.tag || null === child.memoizedState)\n 30 === child.tag && stopAtNestedViewTransitions\n ? (parentViewTransition.flags |= child.flags & 32)\n : measureViewTransitionHostInstancesRecursive(\n parentViewTransition,\n child.child,\n newName,\n oldName,\n className,\n previousMeasurements,\n stopAtNestedViewTransitions\n ) && (inViewport = !0);\n child = child.sibling;\n }\n return inViewport;\n }\n function measureNestedViewTransitions(changedParent, gesture) {\n for (changedParent = changedParent.child; null !== changedParent; ) {\n if (30 === changedParent.tag) {\n var props = changedParent.memoizedProps,\n state = changedParent.stateNode,\n name = getViewTransitionName(props, state),\n className = getViewTransitionClassName(props.default, props.update);\n if (gesture) {\n state = state.clones;\n var previousMeasurements =\n null === state ? null : state.map(measureClonedInstance);\n } else\n (previousMeasurements = changedParent.memoizedState),\n (changedParent.memoizedState = null);\n state = changedParent;\n var child = changedParent.child,\n newName = name;\n viewTransitionHostInstanceIdx = 0;\n className = measureViewTransitionHostInstancesRecursive(\n state,\n child,\n newName,\n name,\n className,\n previousMeasurements,\n !1\n );\n 0 !== (changedParent.flags & 4) &&\n className &&\n (gesture ||\n scheduleViewTransitionEvent(changedParent, props.onUpdate));\n } else\n 0 !== (changedParent.subtreeFlags & 33554432) &&\n measureNestedViewTransitions(changedParent, gesture);\n changedParent = changedParent.sibling;\n }\n }\n function trackNamedViewTransition(fiber) {\n var name = fiber.memoizedProps.name;\n if (null != name && \"auto\" !== name) {\n var existing = mountedNamedViewTransitions.get(name);\n if (void 0 !== existing) {\n if (\n existing !== fiber &&\n existing !== fiber.alternate &&\n !didWarnAboutName[name]\n ) {\n didWarnAboutName[name] = !0;\n var stringifiedName = JSON.stringify(name);\n runWithFiberInDEV(fiber, function () {\n console.error(\n \"There are two <ViewTransition name=%s> components with the same name mounted at the same time. This is not supported and will cause View Transitions to error. Try to use a more unique name e.g. by using a namespace prefix and adding the id of an item to the name.\",\n stringifiedName\n );\n });\n runWithFiberInDEV(existing, function () {\n console.error(\n \"The existing <ViewTransition name=%s> duplicate has this stack trace.\",\n stringifiedName\n );\n });\n }\n } else mountedNamedViewTransitions.set(name, fiber);\n }\n }\n function untrackNamedViewTransition(fiber) {\n var name = fiber.memoizedProps.name;\n if (null != name && \"auto\" !== name) {\n var existing = mountedNamedViewTransitions.get(name);\n void 0 === existing ||\n (existing !== fiber && existing !== fiber.alternate) ||\n mountedNamedViewTransitions.delete(name);\n }\n }\n function isHydratingParent(current, finishedWork) {\n return 31 === finishedWork.tag\n ? ((finishedWork = finishedWork.memoizedState),\n null !== current.memoizedState && null === finishedWork)\n : 13 === finishedWork.tag\n ? ((current = current.memoizedState),\n (finishedWork = finishedWork.memoizedState),\n null !== current &&\n null !== current.dehydrated &&\n (null === finishedWork || null === finishedWork.dehydrated))\n : 3 === finishedWork.tag\n ? current.memoizedState.isDehydrated &&\n 0 === (finishedWork.flags & 256)\n : !1;\n }\n function commitBeforeMutationEffects(root, firstChild, committedLanes) {\n root = root.containerInfo;\n eventsEnabled = _enabled;\n root = getActiveElementDeep(root);\n if (hasSelectionCapabilities(root)) {\n if (\"selectionStart\" in root)\n var JSCompiler_temp = {\n start: root.selectionStart,\n end: root.selectionEnd\n };\n else\n a: {\n JSCompiler_temp =\n ((JSCompiler_temp = root.ownerDocument) &&\n JSCompiler_temp.defaultView) ||\n window;\n var selection =\n JSCompiler_temp.getSelection && JSCompiler_temp.getSelection();\n if (selection && 0 !== selection.rangeCount) {\n JSCompiler_temp = selection.anchorNode;\n var anchorOffset = selection.anchorOffset,\n focusNode = selection.focusNode;\n selection = selection.focusOffset;\n try {\n JSCompiler_temp.nodeType, focusNode.nodeType;\n } catch (e$2) {\n JSCompiler_temp = null;\n break a;\n }\n var length = 0,\n start = -1,\n end = -1,\n indexWithinAnchor = 0,\n indexWithinFocus = 0,\n node = root,\n parentNode = null;\n b: for (;;) {\n for (var next; ; ) {\n node !== JSCompiler_temp ||\n (0 !== anchorOffset && 3 !== node.nodeType) ||\n (start = length + anchorOffset);\n node !== focusNode ||\n (0 !== selection && 3 !== node.nodeType) ||\n (end = length + selection);\n 3 === node.nodeType && (length += node.nodeValue.length);\n if (null === (next = node.firstChild)) break;\n parentNode = node;\n node = next;\n }\n for (;;) {\n if (node === root) break b;\n parentNode === JSCompiler_temp &&\n ++indexWithinAnchor === anchorOffset &&\n (start = length);\n parentNode === focusNode &&\n ++indexWithinFocus === selection &&\n (end = length);\n if (null !== (next = node.nextSibling)) break;\n node = parentNode;\n parentNode = node.parentNode;\n }\n node = next;\n }\n JSCompiler_temp =\n -1 === start || -1 === end ? null : { start: start, end: end };\n } else JSCompiler_temp = null;\n }\n JSCompiler_temp = JSCompiler_temp || { start: 0, end: 0 };\n } else JSCompiler_temp = null;\n selectionInformation = {\n focusedElem: root,\n selectionRange: JSCompiler_temp\n };\n _enabled = !1;\n committedLanes = (committedLanes & 335544064) === committedLanes;\n nextEffect = firstChild;\n for (firstChild = committedLanes ? 9270 : 1028; null !== nextEffect; ) {\n root = nextEffect;\n if (\n committedLanes &&\n ((JSCompiler_temp = root.deletions), null !== JSCompiler_temp)\n )\n for (\n anchorOffset = 0;\n anchorOffset < JSCompiler_temp.length;\n anchorOffset++\n )\n committedLanes &&\n commitExitViewTransitions(JSCompiler_temp[anchorOffset]);\n if (null === root.alternate && 0 !== (root.flags & 2))\n committedLanes && trackEnterViewTransitions(root),\n commitBeforeMutationEffects_complete(committedLanes);\n else {\n if (22 === root.tag)\n if (\n ((JSCompiler_temp = root.alternate), null !== root.memoizedState)\n ) {\n null !== JSCompiler_temp &&\n null === JSCompiler_temp.memoizedState &&\n committedLanes &&\n commitExitViewTransitions(JSCompiler_temp);\n commitBeforeMutationEffects_complete(committedLanes);\n continue;\n } else if (\n null !== JSCompiler_temp &&\n null !== JSCompiler_temp.memoizedState\n ) {\n committedLanes && trackEnterViewTransitions(root);\n commitBeforeMutationEffects_complete(committedLanes);\n continue;\n }\n JSCompiler_temp = root.child;\n 0 !== (root.subtreeFlags & firstChild) && null !== JSCompiler_temp\n ? ((JSCompiler_temp.return = root), (nextEffect = JSCompiler_temp))\n : (committedLanes && commitNestedViewTransitions(root),\n commitBeforeMutationEffects_complete(committedLanes));\n }\n }\n appearingViewTransitions = null;\n }\n function commitBeforeMutationEffects_complete(\n isViewTransitionEligible$jscomp$0\n ) {\n for (; null !== nextEffect; ) {\n var fiber = nextEffect,\n finishedWork = fiber,\n isViewTransitionEligible = isViewTransitionEligible$jscomp$0,\n current = finishedWork.alternate,\n flags = finishedWork.flags;\n switch (finishedWork.tag) {\n case 0:\n case 11:\n case 15:\n if (\n 0 !== (flags & 4) &&\n ((isViewTransitionEligible = finishedWork.updateQueue),\n (isViewTransitionEligible =\n null !== isViewTransitionEligible\n ? isViewTransitionEligible.events\n : null),\n null !== isViewTransitionEligible)\n )\n for (\n finishedWork = 0;\n finishedWork < isViewTransitionEligible.length;\n finishedWork++\n )\n (current = isViewTransitionEligible[finishedWork]),\n (current.ref.impl = current.nextImpl);\n break;\n case 1:\n 0 !== (flags & 1024) &&\n null !== current &&\n commitClassSnapshot(finishedWork, current);\n break;\n case 3:\n if (0 !== (flags & 1024))\n if (\n ((isViewTransitionEligible =\n finishedWork.stateNode.containerInfo),\n (finishedWork = isViewTransitionEligible.nodeType),\n 9 === finishedWork)\n )\n clearContainerSparingly(isViewTransitionEligible);\n else if (1 === finishedWork)\n switch (isViewTransitionEligible.nodeName) {\n case \"HEAD\":\n case \"HTML\":\n case \"BODY\":\n clearContainerSparingly(isViewTransitionEligible);\n break;\n default:\n isViewTransitionEligible.textContent = \"\";\n }\n break;\n case 5:\n case 26:\n case 27:\n case 6:\n case 4:\n case 17:\n break;\n case 30:\n isViewTransitionEligible &&\n null !== current &&\n ((isViewTransitionEligible = current),\n (current = finishedWork),\n (finishedWork = getViewTransitionName(\n isViewTransitionEligible.memoizedProps,\n isViewTransitionEligible.stateNode\n )),\n (current = current.memoizedProps),\n (current = getViewTransitionClassName(\n current.default,\n current.update\n )),\n \"none\" !== current &&\n applyViewTransitionToHostInstances(\n isViewTransitionEligible,\n finishedWork,\n current,\n (isViewTransitionEligible.memoizedState = []),\n !0\n ));\n break;\n default:\n if (0 !== (flags & 1024))\n throw Error(\n \"This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.\"\n );\n }\n isViewTransitionEligible = fiber.sibling;\n if (null !== isViewTransitionEligible) {\n isViewTransitionEligible.return = fiber.return;\n nextEffect = isViewTransitionEligible;\n break;\n }\n nextEffect = fiber.return;\n }\n }\n function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {\n var prevEffectStart = pushComponentEffectStart(),\n prevEffectDuration = pushComponentEffectDuration(),\n prevEffectErrors = pushComponentEffectErrors(),\n prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate(),\n flags = finishedWork.flags;\n switch (finishedWork.tag) {\n case 0:\n case 11:\n case 15:\n recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);\n flags & 4 &&\n commitHookLayoutEffects(finishedWork, Layout | HasEffect);\n break;\n case 1:\n recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);\n if (flags & 4)\n if (((finishedRoot = finishedWork.stateNode), null === current))\n finishedWork.type.defaultProps ||\n \"ref\" in finishedWork.memoizedProps ||\n didWarnAboutReassigningProps ||\n (finishedRoot.props !== finishedWork.memoizedProps &&\n console.error(\n \"Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.\",\n getComponentNameFromFiber(finishedWork) || \"instance\"\n ),\n finishedRoot.state !== finishedWork.memoizedState &&\n console.error(\n \"Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.\",\n getComponentNameFromFiber(finishedWork) || \"instance\"\n )),\n shouldProfile(finishedWork)\n ? (startEffectTimer(),\n runWithFiberInDEV(\n finishedWork,\n callComponentDidMountInDEV,\n finishedWork,\n finishedRoot\n ),\n recordEffectDuration())\n : runWithFiberInDEV(\n finishedWork,\n callComponentDidMountInDEV,\n finishedWork,\n finishedRoot\n );\n else {\n var prevProps = resolveClassComponentProps(\n finishedWork.type,\n current.memoizedProps\n );\n current = current.memoizedState;\n finishedWork.type.defaultProps ||\n \"ref\" in finishedWork.memoizedProps ||\n didWarnAboutReassigningProps ||\n (finishedRoot.props !== finishedWork.memoizedProps &&\n console.error(\n \"Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.\",\n getComponentNameFromFiber(finishedWork) || \"instance\"\n ),\n finishedRoot.state !== finishedWork.memoizedState &&\n console.error(\n \"Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.\",\n getComponentNameFromFiber(finishedWork) || \"instance\"\n ));\n shouldProfile(finishedWork)\n ? (startEffectTimer(),\n runWithFiberInDEV(\n finishedWork,\n callComponentDidUpdateInDEV,\n finishedWork,\n finishedRoot,\n prevProps,\n current,\n finishedRoot.__reactInternalSnapshotBeforeUpdate\n ),\n recordEffectDuration())\n : runWithFiberInDEV(\n finishedWork,\n callComponentDidUpdateInDEV,\n finishedWork,\n finishedRoot,\n prevProps,\n current,\n finishedRoot.__reactInternalSnapshotBeforeUpdate\n );\n }\n flags & 64 && commitClassCallbacks(finishedWork);\n flags & 512 && safelyAttachRef(finishedWork, finishedWork.return);\n break;\n case 3:\n current = pushNestedEffectDurations();\n recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);\n if (\n flags & 64 &&\n ((flags = finishedWork.updateQueue), null !== flags)\n ) {\n prevProps = null;\n if (null !== finishedWork.child)\n switch (finishedWork.child.tag) {\n case 27:\n case 5:\n prevProps = finishedWork.child.stateNode;\n break;\n case 1:\n prevProps = finishedWork.child.stateNode;\n }\n try {\n runWithFiberInDEV(\n finishedWork,\n commitCallbacks,\n flags,\n prevProps\n );\n } catch (error) {\n captureCommitPhaseError(finishedWork, finishedWork.return, error);\n }\n }\n finishedRoot.effectDuration += popNestedEffectDurations(current);\n break;\n case 27:\n null === current &&\n flags & 4 &&\n commitHostSingletonAcquisition(finishedWork);\n case 26:\n case 5:\n recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);\n if (null === current)\n if (flags & 4) commitHostMount(finishedWork);\n else if (flags & 64) {\n finishedRoot = finishedWork.type;\n current = finishedWork.memoizedProps;\n prevProps = finishedWork.stateNode;\n try {\n runWithFiberInDEV(\n finishedWork,\n commitHydratedInstance,\n prevProps,\n finishedRoot,\n current,\n finishedWork\n );\n } catch (error) {\n captureCommitPhaseError(\n finishedWork,\n finishedWork.return,\n error\n );\n }\n }\n flags & 512 && safelyAttachRef(finishedWork, finishedWork.return);\n break;\n case 12:\n if (flags & 4) {\n flags = pushNestedEffectDurations();\n recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);\n finishedRoot = finishedWork.stateNode;\n finishedRoot.effectDuration += bubbleNestedEffectDurations(flags);\n try {\n runWithFiberInDEV(\n finishedWork,\n commitProfiler,\n finishedWork,\n current,\n commitStartTime,\n finishedRoot.effectDuration\n );\n } catch (error) {\n captureCommitPhaseError(finishedWork, finishedWork.return, error);\n }\n } else recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);\n break;\n case 31:\n recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);\n flags & 4 &&\n commitActivityHydrationCallbacks(finishedRoot, finishedWork);\n break;\n case 13:\n recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);\n flags & 4 &&\n commitSuspenseHydrationCallbacks(finishedRoot, finishedWork);\n flags & 64 &&\n ((finishedRoot = finishedWork.memoizedState),\n null !== finishedRoot &&\n ((finishedRoot = finishedRoot.dehydrated),\n null !== finishedRoot &&\n ((flags = retryDehydratedSuspenseBoundary.bind(\n null,\n finishedWork\n )),\n registerSuspenseInstanceRetry(finishedRoot, flags))));\n break;\n case 22:\n flags =\n null !== finishedWork.memoizedState || offscreenSubtreeIsHidden;\n if (!flags) {\n current =\n (null !== current && null !== current.memoizedState) ||\n offscreenSubtreeWasHidden;\n prevProps = offscreenSubtreeIsHidden;\n var prevOffscreenSubtreeWasHidden = offscreenSubtreeWasHidden;\n offscreenSubtreeIsHidden = flags;\n (offscreenSubtreeWasHidden = current) &&\n !prevOffscreenSubtreeWasHidden\n ? (recursivelyTraverseReappearLayoutEffects(\n finishedRoot,\n finishedWork,\n 0 !== (finishedWork.subtreeFlags & 8772)\n ),\n (finishedWork.mode & ProfileMode) !== NoMode &&\n 0 <= componentEffectStartTime &&\n 0 <= componentEffectEndTime &&\n 0.05 < componentEffectEndTime - componentEffectStartTime &&\n logComponentReappeared(\n finishedWork,\n componentEffectStartTime,\n componentEffectEndTime\n ))\n : recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);\n offscreenSubtreeIsHidden = prevProps;\n offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden;\n }\n break;\n case 30:\n flags & 18874368 && trackNamedViewTransition(finishedWork);\n recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);\n flags & 512 && safelyAttachRef(finishedWork, finishedWork.return);\n break;\n case 7:\n flags & 512 && safelyAttachRef(finishedWork, finishedWork.return);\n default:\n recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);\n }\n (finishedWork.mode & ProfileMode) !== NoMode &&\n 0 <= componentEffectStartTime &&\n 0 <= componentEffectEndTime &&\n ((componentEffectSpawnedUpdate || 0.05 < componentEffectDuration) &&\n logComponentEffect(\n finishedWork,\n componentEffectStartTime,\n componentEffectEndTime,\n componentEffectDuration,\n componentEffectErrors\n ),\n null === finishedWork.alternate &&\n null !== finishedWork.return &&\n null !== finishedWork.return.alternate &&\n 0.05 < componentEffectEndTime - componentEffectStartTime &&\n (isHydratingParent(\n finishedWork.return.alternate,\n finishedWork.return\n ) ||\n logComponentTrigger(\n finishedWork,\n componentEffectStartTime,\n componentEffectEndTime,\n \"Mount\"\n )));\n popComponentEffectStart(prevEffectStart);\n popComponentEffectDuration(prevEffectDuration);\n componentEffectErrors = prevEffectErrors;\n componentEffectSpawnedUpdate = prevEffectDidSpawnUpdate;\n }\n function hideOrUnhideAllChildren(parentFiber, isHidden) {\n for (parentFiber = parentFiber.child; null !== parentFiber; )\n hideOrUnhideAllChildrenOnFiber(parentFiber, isHidden),\n (parentFiber = parentFiber.sibling);\n }\n function hideOrUnhideAllChildrenOnFiber(fiber, isHidden) {\n switch (fiber.tag) {\n case 5:\n case 26:\n try {\n var instance = fiber.stateNode;\n isHidden\n ? runWithFiberInDEV(fiber, hideInstance, instance)\n : runWithFiberInDEV(\n fiber,\n unhideInstance,\n fiber.stateNode,\n fiber.memoizedProps\n );\n } catch (error) {\n captureCommitPhaseError(fiber, fiber.return, error);\n }\n hideOrUnhideNearestPortals(fiber, isHidden);\n break;\n case 6:\n try {\n var instance$jscomp$0 = fiber.stateNode;\n isHidden\n ? runWithFiberInDEV(fiber, hideTextInstance, instance$jscomp$0)\n : runWithFiberInDEV(\n fiber,\n unhideTextInstance,\n instance$jscomp$0,\n fiber.memoizedProps\n );\n viewTransitionMutationContext = !0;\n } catch (error) {\n captureCommitPhaseError(fiber, fiber.return, error);\n }\n break;\n case 18:\n try {\n var instance$jscomp$1 = fiber.stateNode;\n isHidden\n ? runWithFiberInDEV(\n fiber,\n hideDehydratedBoundary,\n instance$jscomp$1\n )\n : runWithFiberInDEV(\n fiber,\n unhideDehydratedBoundary,\n fiber.stateNode\n );\n } catch (error) {\n captureCommitPhaseError(fiber, fiber.return, error);\n }\n break;\n case 22:\n case 23:\n null === fiber.memoizedState &&\n hideOrUnhideAllChildren(fiber, isHidden);\n break;\n default:\n hideOrUnhideAllChildren(fiber, isHidden);\n }\n }\n function hideOrUnhideNearestPortals(parentFiber, isHidden$jscomp$0) {\n if (parentFiber.subtreeFlags & 67108864)\n for (parentFiber = parentFiber.child; null !== parentFiber; ) {\n a: {\n var fiber = parentFiber,\n isHidden = isHidden$jscomp$0;\n switch (fiber.tag) {\n case 4:\n hideOrUnhideAllChildrenOnFiber(fiber, isHidden);\n break a;\n case 22:\n null === fiber.memoizedState &&\n hideOrUnhideNearestPortals(fiber, isHidden);\n break a;\n default:\n hideOrUnhideNearestPortals(fiber, isHidden);\n }\n }\n parentFiber = parentFiber.sibling;\n }\n }\n function detachFiberAfterEffects(fiber) {\n var alternate = fiber.alternate;\n null !== alternate &&\n ((fiber.alternate = null), detachFiberAfterEffects(alternate));\n fiber.child = null;\n fiber.deletions = null;\n fiber.sibling = null;\n 5 === fiber.tag &&\n ((alternate = fiber.stateNode),\n null !== alternate && detachDeletedInstance(alternate));\n fiber.stateNode = null;\n fiber._debugOwner = null;\n fiber.return = null;\n fiber.dependencies = null;\n fiber.memoizedProps = null;\n fiber.memoizedState = null;\n fiber.pendingProps = null;\n fiber.stateNode = null;\n fiber.updateQueue = null;\n }\n function recursivelyTraverseDeletionEffects(\n finishedRoot,\n nearestMountedAncestor,\n parent\n ) {\n for (parent = parent.child; null !== parent; )\n commitDeletionEffectsOnFiber(\n finishedRoot,\n nearestMountedAncestor,\n parent\n ),\n (parent = parent.sibling);\n }\n function commitDeletionEffectsOnFiber(\n finishedRoot,\n nearestMountedAncestor,\n deletedFiber\n ) {\n if (\n injectedHook &&\n \"function\" === typeof injectedHook.onCommitFiberUnmount\n )\n try {\n injectedHook.onCommitFiberUnmount(rendererID, deletedFiber);\n } catch (err) {\n hasLoggedError ||\n ((hasLoggedError = !0),\n console.error(\n \"React instrumentation encountered an error: %o\",\n err\n ));\n }\n var prevEffectStart = pushComponentEffectStart(),\n prevEffectDuration = pushComponentEffectDuration(),\n prevEffectErrors = pushComponentEffectErrors(),\n prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate();\n switch (deletedFiber.tag) {\n case 26:\n offscreenSubtreeWasHidden ||\n safelyDetachRef(deletedFiber, nearestMountedAncestor);\n recursivelyTraverseDeletionEffects(\n finishedRoot,\n nearestMountedAncestor,\n deletedFiber\n );\n deletedFiber.memoizedState\n ? deletedFiber.memoizedState.count--\n : deletedFiber.stateNode &&\n ((finishedRoot = deletedFiber.stateNode),\n finishedRoot.parentNode.removeChild(finishedRoot));\n break;\n case 27:\n offscreenSubtreeWasHidden ||\n safelyDetachRef(deletedFiber, nearestMountedAncestor);\n var prevHostParent = hostParent,\n prevHostParentIsContainer = hostParentIsContainer;\n isSingletonScope(deletedFiber.type) &&\n ((hostParent = deletedFiber.stateNode),\n (hostParentIsContainer = !1));\n recursivelyTraverseDeletionEffects(\n finishedRoot,\n nearestMountedAncestor,\n deletedFiber\n );\n runWithFiberInDEV(\n deletedFiber,\n releaseSingletonInstance,\n deletedFiber.stateNode\n );\n hostParent = prevHostParent;\n hostParentIsContainer = prevHostParentIsContainer;\n break;\n case 5:\n offscreenSubtreeWasHidden ||\n safelyDetachRef(deletedFiber, nearestMountedAncestor),\n 5 === deletedFiber.tag &&\n commitFragmentInstanceDeletionEffects(deletedFiber);\n case 6:\n prevHostParent = hostParent;\n prevHostParentIsContainer = hostParentIsContainer;\n hostParent = null;\n recursivelyTraverseDeletionEffects(\n finishedRoot,\n nearestMountedAncestor,\n deletedFiber\n );\n hostParent = prevHostParent;\n hostParentIsContainer = prevHostParentIsContainer;\n if (null !== hostParent)\n if (hostParentIsContainer)\n try {\n runWithFiberInDEV(\n deletedFiber,\n removeChildFromContainer,\n hostParent,\n deletedFiber.stateNode\n ),\n (viewTransitionMutationContext = !0);\n } catch (error) {\n captureCommitPhaseError(\n deletedFiber,\n nearestMountedAncestor,\n error\n );\n }\n else\n try {\n runWithFiberInDEV(\n deletedFiber,\n removeChild,\n hostParent,\n deletedFiber.stateNode\n ),\n (viewTransitionMutationContext = !0);\n } catch (error) {\n captureCommitPhaseError(\n deletedFiber,\n nearestMountedAncestor,\n error\n );\n }\n break;\n case 18:\n null !== hostParent &&\n (hostParentIsContainer\n ? ((finishedRoot = hostParent),\n clearHydrationBoundary(\n 9 === finishedRoot.nodeType\n ? finishedRoot.body\n : \"HTML\" === finishedRoot.nodeName\n ? finishedRoot.ownerDocument.body\n : finishedRoot,\n deletedFiber.stateNode\n ),\n retryIfBlockedOn(finishedRoot))\n : clearHydrationBoundary(hostParent, deletedFiber.stateNode));\n break;\n case 4:\n prevHostParent = hostParent;\n prevHostParentIsContainer = hostParentIsContainer;\n hostParent = deletedFiber.stateNode.containerInfo;\n hostParentIsContainer = !0;\n recursivelyTraverseDeletionEffects(\n finishedRoot,\n nearestMountedAncestor,\n deletedFiber\n );\n hostParent = prevHostParent;\n hostParentIsContainer = prevHostParentIsContainer;\n break;\n case 0:\n case 11:\n case 14:\n case 15:\n commitHookEffectListUnmount(\n Insertion,\n deletedFiber,\n nearestMountedAncestor\n );\n offscreenSubtreeWasHidden ||\n commitHookLayoutUnmountEffects(\n deletedFiber,\n nearestMountedAncestor,\n Layout\n );\n recursivelyTraverseDeletionEffects(\n finishedRoot,\n nearestMountedAncestor,\n deletedFiber\n );\n break;\n case 1:\n offscreenSubtreeWasHidden ||\n (safelyDetachRef(deletedFiber, nearestMountedAncestor),\n (prevHostParent = deletedFiber.stateNode),\n \"function\" === typeof prevHostParent.componentWillUnmount &&\n safelyCallComponentWillUnmount(\n deletedFiber,\n nearestMountedAncestor,\n prevHostParent\n ));\n recursivelyTraverseDeletionEffects(\n finishedRoot,\n nearestMountedAncestor,\n deletedFiber\n );\n break;\n case 21:\n recursivelyTraverseDeletionEffects(\n finishedRoot,\n nearestMountedAncestor,\n deletedFiber\n );\n break;\n case 22:\n offscreenSubtreeWasHidden =\n (prevHostParent = offscreenSubtreeWasHidden) ||\n null !== deletedFiber.memoizedState;\n recursivelyTraverseDeletionEffects(\n finishedRoot,\n nearestMountedAncestor,\n deletedFiber\n );\n offscreenSubtreeWasHidden = prevHostParent;\n break;\n case 30:\n deletedFiber.flags & 18874368 &&\n untrackNamedViewTransition(deletedFiber);\n safelyDetachRef(deletedFiber, nearestMountedAncestor);\n recursivelyTraverseDeletionEffects(\n finishedRoot,\n nearestMountedAncestor,\n deletedFiber\n );\n break;\n case 7:\n offscreenSubtreeWasHidden ||\n safelyDetachRef(deletedFiber, nearestMountedAncestor);\n recursivelyTraverseDeletionEffects(\n finishedRoot,\n nearestMountedAncestor,\n deletedFiber\n );\n break;\n default:\n recursivelyTraverseDeletionEffects(\n finishedRoot,\n nearestMountedAncestor,\n deletedFiber\n );\n }\n (deletedFiber.mode & ProfileMode) !== NoMode &&\n 0 <= componentEffectStartTime &&\n 0 <= componentEffectEndTime &&\n (componentEffectSpawnedUpdate || 0.05 < componentEffectDuration) &&\n logComponentEffect(\n deletedFiber,\n componentEffectStartTime,\n componentEffectEndTime,\n componentEffectDuration,\n componentEffectErrors\n );\n popComponentEffectStart(prevEffectStart);\n popComponentEffectDuration(prevEffectDuration);\n componentEffectErrors = prevEffectErrors;\n componentEffectSpawnedUpdate = prevEffectDidSpawnUpdate;\n }\n function commitActivityHydrationCallbacks(finishedRoot, finishedWork) {\n if (\n null === finishedWork.memoizedState &&\n ((finishedRoot = finishedWork.alternate),\n null !== finishedRoot &&\n ((finishedRoot = finishedRoot.memoizedState), null !== finishedRoot))\n ) {\n finishedRoot = finishedRoot.dehydrated;\n try {\n runWithFiberInDEV(\n finishedWork,\n commitHydratedActivityInstance,\n finishedRoot\n );\n } catch (error) {\n captureCommitPhaseError(finishedWork, finishedWork.return, error);\n }\n }\n }\n function commitSuspenseHydrationCallbacks(finishedRoot, finishedWork) {\n if (\n null === finishedWork.memoizedState &&\n ((finishedRoot = finishedWork.alternate),\n null !== finishedRoot &&\n ((finishedRoot = finishedRoot.memoizedState),\n null !== finishedRoot &&\n ((finishedRoot = finishedRoot.dehydrated), null !== finishedRoot)))\n )\n try {\n runWithFiberInDEV(\n finishedWork,\n commitHydratedSuspenseInstance,\n finishedRoot\n );\n } catch (error) {\n captureCommitPhaseError(finishedWork, finishedWork.return, error);\n }\n }\n function getRetryCache(finishedWork) {\n switch (finishedWork.tag) {\n case 31:\n case 13:\n case 19:\n var retryCache = finishedWork.stateNode;\n null === retryCache &&\n (retryCache = finishedWork.stateNode = new PossiblyWeakSet());\n return retryCache;\n case 22:\n return (\n (finishedWork = finishedWork.stateNode),\n (retryCache = finishedWork._retryCache),\n null === retryCache &&\n (retryCache = finishedWork._retryCache = new PossiblyWeakSet()),\n retryCache\n );\n default:\n throw Error(\n \"Unexpected Suspense handler tag (\" +\n finishedWork.tag +\n \"). This is a bug in React.\"\n );\n }\n }\n function attachSuspenseRetryListeners(finishedWork, wakeables) {\n var retryCache = getRetryCache(finishedWork);\n wakeables.forEach(function (wakeable) {\n if (!retryCache.has(wakeable)) {\n retryCache.add(wakeable);\n if (isDevToolsPresent)\n if (null !== inProgressLanes && null !== inProgressRoot)\n restorePendingUpdaters(inProgressRoot, inProgressLanes);\n else\n throw Error(\n \"Expected finished root and lanes to be set. This is a bug in React.\"\n );\n var retry = resolveRetryWakeable.bind(null, finishedWork, wakeable);\n wakeable.then(retry, retry);\n }\n });\n }\n function recursivelyTraverseMutationEffects(\n root$jscomp$0,\n parentFiber,\n lanes\n ) {\n var deletions = parentFiber.deletions;\n if (null !== deletions)\n for (var i = 0; i < deletions.length; i++) {\n var root = root$jscomp$0,\n returnFiber = parentFiber,\n deletedFiber = deletions[i],\n prevEffectStart = pushComponentEffectStart(),\n parent = returnFiber;\n a: for (; null !== parent; ) {\n switch (parent.tag) {\n case 27:\n if (isSingletonScope(parent.type)) {\n hostParent = parent.stateNode;\n hostParentIsContainer = !1;\n break a;\n }\n break;\n case 5:\n hostParent = parent.stateNode;\n hostParentIsContainer = !1;\n break a;\n case 3:\n case 4:\n hostParent = parent.stateNode.containerInfo;\n hostParentIsContainer = !0;\n break a;\n }\n parent = parent.return;\n }\n if (null === hostParent)\n throw Error(\n \"Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.\"\n );\n commitDeletionEffectsOnFiber(root, returnFiber, deletedFiber);\n hostParent = null;\n hostParentIsContainer = !1;\n (deletedFiber.mode & ProfileMode) !== NoMode &&\n 0 <= componentEffectStartTime &&\n 0 <= componentEffectEndTime &&\n 0.05 < componentEffectEndTime - componentEffectStartTime &&\n logComponentTrigger(\n deletedFiber,\n componentEffectStartTime,\n componentEffectEndTime,\n \"Unmount\"\n );\n popComponentEffectStart(prevEffectStart);\n root = deletedFiber;\n returnFiber = root.alternate;\n null !== returnFiber && (returnFiber.return = null);\n root.return = null;\n }\n if (parentFiber.subtreeFlags & 13886)\n for (parentFiber = parentFiber.child; null !== parentFiber; )\n commitMutationEffectsOnFiber(parentFiber, root$jscomp$0, lanes),\n (parentFiber = parentFiber.sibling);\n }\n function commitMutationEffectsOnFiber(finishedWork, root, lanes) {\n var prevEffectStart = pushComponentEffectStart(),\n prevEffectDuration = pushComponentEffectDuration(),\n prevEffectErrors = pushComponentEffectErrors(),\n prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate(),\n current = finishedWork.alternate,\n flags = finishedWork.flags;\n switch (finishedWork.tag) {\n case 0:\n case 11:\n case 14:\n case 15:\n recursivelyTraverseMutationEffects(root, finishedWork, lanes);\n commitReconciliationEffects(finishedWork);\n flags & 4 &&\n (commitHookEffectListUnmount(\n Insertion | HasEffect,\n finishedWork,\n finishedWork.return\n ),\n commitHookEffectListMount(Insertion | HasEffect, finishedWork),\n commitHookLayoutUnmountEffects(\n finishedWork,\n finishedWork.return,\n Layout | HasEffect\n ));\n break;\n case 1:\n recursivelyTraverseMutationEffects(root, finishedWork, lanes);\n commitReconciliationEffects(finishedWork);\n flags & 512 &&\n (offscreenSubtreeWasHidden ||\n null === current ||\n safelyDetachRef(current, current.return));\n flags & 64 &&\n offscreenSubtreeIsHidden &&\n ((current = finishedWork.updateQueue),\n null !== current &&\n ((root = current.callbacks),\n null !== root &&\n ((lanes = current.shared.hiddenCallbacks),\n (current.shared.hiddenCallbacks =\n null === lanes ? root : lanes.concat(root)))));\n break;\n case 26:\n var hoistableRoot = currentHoistableRoot;\n recursivelyTraverseMutationEffects(root, finishedWork, lanes);\n commitReconciliationEffects(finishedWork);\n flags & 512 &&\n (offscreenSubtreeWasHidden ||\n null === current ||\n safelyDetachRef(current, current.return));\n if (flags & 4)\n if (\n ((lanes = null !== current ? current.memoizedState : null),\n (root = finishedWork.memoizedState),\n null === current)\n )\n if (null === root)\n if (null === finishedWork.stateNode) {\n a: {\n current = finishedWork.type;\n root = finishedWork.memoizedProps;\n lanes = hoistableRoot.ownerDocument || hoistableRoot;\n b: switch (current) {\n case \"title\":\n flags = lanes.getElementsByTagName(\"title\")[0];\n if (\n !flags ||\n flags[internalHoistableMarker] ||\n flags[internalInstanceKey] ||\n flags.namespaceURI === SVG_NAMESPACE ||\n flags.hasAttribute(\"itemprop\")\n )\n (flags = lanes.createElement(current)),\n lanes.head.insertBefore(\n flags,\n lanes.querySelector(\"head > title\")\n );\n setInitialProperties(flags, current, root);\n flags[internalInstanceKey] = finishedWork;\n markNodeAsHoistable(flags);\n current = flags;\n break a;\n case \"link\":\n if (\n (hoistableRoot = getHydratableHoistableCache(\n \"link\",\n \"href\",\n lanes\n ).get(current + (root.href || \"\")))\n )\n for (var i = 0; i < hoistableRoot.length; i++)\n if (\n ((flags = hoistableRoot[i]),\n flags.getAttribute(\"href\") ===\n (null == root.href || \"\" === root.href\n ? null\n : root.href) &&\n flags.getAttribute(\"rel\") ===\n (null == root.rel ? null : root.rel) &&\n flags.getAttribute(\"title\") ===\n (null == root.title ? null : root.title) &&\n flags.getAttribute(\"crossorigin\") ===\n (null == root.crossOrigin\n ? null\n : root.crossOrigin))\n ) {\n hoistableRoot.splice(i, 1);\n break b;\n }\n flags = lanes.createElement(current);\n setInitialProperties(flags, current, root);\n lanes.head.appendChild(flags);\n break;\n case \"meta\":\n if (\n (hoistableRoot = getHydratableHoistableCache(\n \"meta\",\n \"content\",\n lanes\n ).get(current + (root.content || \"\")))\n )\n for (i = 0; i < hoistableRoot.length; i++)\n if (\n ((flags = hoistableRoot[i]),\n checkAttributeStringCoercion(\n root.content,\n \"content\"\n ),\n flags.getAttribute(\"content\") ===\n (null == root.content\n ? null\n : \"\" + root.content) &&\n flags.getAttribute(\"name\") ===\n (null == root.name ? null : root.name) &&\n flags.getAttribute(\"property\") ===\n (null == root.property\n ? null\n : root.property) &&\n flags.getAttribute(\"http-equiv\") ===\n (null == root.httpEquiv\n ? null\n : root.httpEquiv) &&\n flags.getAttribute(\"charset\") ===\n (null == root.charSet ? null : root.charSet))\n ) {\n hoistableRoot.splice(i, 1);\n break b;\n }\n flags = lanes.createElement(current);\n setInitialProperties(flags, current, root);\n lanes.head.appendChild(flags);\n break;\n default:\n throw Error(\n 'getNodesForType encountered a type it did not expect: \"' +\n current +\n '\". This is a bug in React.'\n );\n }\n flags[internalInstanceKey] = finishedWork;\n markNodeAsHoistable(flags);\n current = flags;\n }\n finishedWork.stateNode = current;\n } else\n mountHoistable(\n hoistableRoot,\n finishedWork.type,\n finishedWork.stateNode\n );\n else\n finishedWork.stateNode = acquireResource(\n hoistableRoot,\n root,\n finishedWork.memoizedProps\n );\n else\n lanes !== root\n ? (null === lanes\n ? null !== current.stateNode &&\n ((current = current.stateNode),\n current.parentNode.removeChild(current))\n : lanes.count--,\n null === root\n ? mountHoistable(\n hoistableRoot,\n finishedWork.type,\n finishedWork.stateNode\n )\n : acquireResource(\n hoistableRoot,\n root,\n finishedWork.memoizedProps\n ))\n : null === root &&\n null !== finishedWork.stateNode &&\n commitHostUpdate(\n finishedWork,\n finishedWork.memoizedProps,\n current.memoizedProps\n );\n break;\n case 27:\n recursivelyTraverseMutationEffects(root, finishedWork, lanes);\n commitReconciliationEffects(finishedWork);\n flags & 512 &&\n (offscreenSubtreeWasHidden ||\n null === current ||\n safelyDetachRef(current, current.return));\n null !== current &&\n flags & 4 &&\n commitHostUpdate(\n finishedWork,\n finishedWork.memoizedProps,\n current.memoizedProps\n );\n break;\n case 5:\n hoistableRoot = offscreenDirectParentIsHidden;\n offscreenDirectParentIsHidden = !1;\n recursivelyTraverseMutationEffects(root, finishedWork, lanes);\n offscreenDirectParentIsHidden = hoistableRoot;\n commitReconciliationEffects(finishedWork);\n flags & 512 &&\n (offscreenSubtreeWasHidden ||\n null === current ||\n safelyDetachRef(current, current.return));\n if (finishedWork.flags & 32) {\n root = finishedWork.stateNode;\n try {\n runWithFiberInDEV(finishedWork, resetTextContent, root),\n (viewTransitionMutationContext = !0);\n } catch (error) {\n captureCommitPhaseError(finishedWork, finishedWork.return, error);\n }\n }\n flags & 4 &&\n null != finishedWork.stateNode &&\n ((root = finishedWork.memoizedProps),\n commitHostUpdate(\n finishedWork,\n root,\n null !== current ? current.memoizedProps : root\n ));\n flags & 1024 &&\n ((needsFormReset = !0),\n \"form\" !== finishedWork.type &&\n console.error(\n \"Unexpected host component type. Expected a form. This is a bug in React.\"\n ));\n break;\n case 6:\n recursivelyTraverseMutationEffects(root, finishedWork, lanes);\n commitReconciliationEffects(finishedWork);\n if (flags & 4) {\n if (null === finishedWork.stateNode)\n throw Error(\n \"This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.\"\n );\n root = finishedWork.memoizedProps;\n current = null !== current ? current.memoizedProps : root;\n lanes = finishedWork.stateNode;\n try {\n runWithFiberInDEV(\n finishedWork,\n commitTextUpdate,\n lanes,\n current,\n root\n ),\n (viewTransitionMutationContext = !0);\n } catch (error) {\n captureCommitPhaseError(finishedWork, finishedWork.return, error);\n }\n }\n break;\n case 3:\n hoistableRoot = pushNestedEffectDurations();\n viewTransitionMutationContext = !1;\n tagCaches = null;\n i = currentHoistableRoot;\n currentHoistableRoot = getHoistableRoot(root.containerInfo);\n recursivelyTraverseMutationEffects(root, finishedWork, lanes);\n currentHoistableRoot = i;\n commitReconciliationEffects(finishedWork);\n if (\n flags & 4 &&\n null !== current &&\n current.memoizedState.isDehydrated\n )\n try {\n runWithFiberInDEV(\n finishedWork,\n commitHydratedContainer,\n root.containerInfo\n );\n } catch (error) {\n captureCommitPhaseError(finishedWork, finishedWork.return, error);\n }\n needsFormReset &&\n ((needsFormReset = !1), recursivelyResetForms(finishedWork));\n root.effectDuration += popNestedEffectDurations(hoistableRoot);\n viewTransitionMutationContext = !1;\n break;\n case 4:\n current = offscreenDirectParentIsHidden;\n offscreenDirectParentIsHidden = offscreenSubtreeIsHidden;\n flags = pushMutationContext();\n hoistableRoot = currentHoistableRoot;\n currentHoistableRoot = getHoistableRoot(\n finishedWork.stateNode.containerInfo\n );\n recursivelyTraverseMutationEffects(root, finishedWork, lanes);\n commitReconciliationEffects(finishedWork);\n currentHoistableRoot = hoistableRoot;\n viewTransitionMutationContext &&\n inUpdateViewTransition &&\n (rootViewTransitionAffected = !0);\n viewTransitionMutationContext = flags;\n offscreenDirectParentIsHidden = current;\n break;\n case 12:\n current = pushNestedEffectDurations();\n recursivelyTraverseMutationEffects(root, finishedWork, lanes);\n commitReconciliationEffects(finishedWork);\n finishedWork.stateNode.effectDuration +=\n bubbleNestedEffectDurations(current);\n break;\n case 31:\n recursivelyTraverseMutationEffects(root, finishedWork, lanes);\n commitReconciliationEffects(finishedWork);\n flags & 4 &&\n ((current = finishedWork.updateQueue),\n null !== current &&\n ((finishedWork.updateQueue = null),\n attachSuspenseRetryListeners(finishedWork, current)));\n break;\n case 13:\n recursivelyTraverseMutationEffects(root, finishedWork, lanes);\n commitReconciliationEffects(finishedWork);\n finishedWork.child.flags & 8192 &&\n (null !== finishedWork.memoizedState) !==\n (null !== current && null !== current.memoizedState) &&\n (globalMostRecentFallbackTime = now$1());\n flags & 4 &&\n ((current = finishedWork.updateQueue),\n null !== current &&\n ((finishedWork.updateQueue = null),\n attachSuspenseRetryListeners(finishedWork, current)));\n break;\n case 22:\n hoistableRoot = null !== finishedWork.memoizedState;\n i = null !== current && null !== current.memoizedState;\n var prevOffscreenSubtreeIsHidden = offscreenSubtreeIsHidden,\n prevOffscreenSubtreeWasHidden = offscreenSubtreeWasHidden,\n _prevOffscreenDirectParentIsHidden2 = offscreenDirectParentIsHidden;\n offscreenSubtreeIsHidden =\n prevOffscreenSubtreeIsHidden || hoistableRoot;\n offscreenDirectParentIsHidden =\n _prevOffscreenDirectParentIsHidden2 || hoistableRoot;\n offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden || i;\n recursivelyTraverseMutationEffects(root, finishedWork, lanes);\n offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden;\n offscreenDirectParentIsHidden = _prevOffscreenDirectParentIsHidden2;\n offscreenSubtreeIsHidden = prevOffscreenSubtreeIsHidden;\n i &&\n !hoistableRoot &&\n !prevOffscreenSubtreeIsHidden &&\n !prevOffscreenSubtreeWasHidden &&\n (finishedWork.mode & ProfileMode) !== NoMode &&\n 0 <= componentEffectStartTime &&\n 0 <= componentEffectEndTime &&\n 0.05 < componentEffectEndTime - componentEffectStartTime &&\n logComponentReappeared(\n finishedWork,\n componentEffectStartTime,\n componentEffectEndTime\n );\n commitReconciliationEffects(finishedWork);\n flags & 8192 &&\n ((root = finishedWork.stateNode),\n (root._visibility = hoistableRoot\n ? root._visibility & ~OffscreenVisible\n : root._visibility | OffscreenVisible),\n !hoistableRoot ||\n null === current ||\n i ||\n offscreenSubtreeIsHidden ||\n offscreenSubtreeWasHidden ||\n (recursivelyTraverseDisappearLayoutEffects(finishedWork),\n (finishedWork.mode & ProfileMode) !== NoMode &&\n 0 <= componentEffectStartTime &&\n 0 <= componentEffectEndTime &&\n 0.05 < componentEffectEndTime - componentEffectStartTime &&\n logComponentTrigger(\n finishedWork,\n componentEffectStartTime,\n componentEffectEndTime,\n \"Disconnect\"\n )),\n (!hoistableRoot && offscreenDirectParentIsHidden) ||\n hideOrUnhideAllChildren(finishedWork, hoistableRoot));\n flags & 4 &&\n ((current = finishedWork.updateQueue),\n null !== current &&\n ((root = current.retryQueue),\n null !== root &&\n ((current.retryQueue = null),\n attachSuspenseRetryListeners(finishedWork, root))));\n break;\n case 19:\n recursivelyTraverseMutationEffects(root, finishedWork, lanes);\n commitReconciliationEffects(finishedWork);\n flags & 4 &&\n ((current = finishedWork.updateQueue),\n null !== current &&\n ((finishedWork.updateQueue = null),\n attachSuspenseRetryListeners(finishedWork, current)));\n break;\n case 30:\n flags & 512 &&\n (offscreenSubtreeWasHidden ||\n null === current ||\n safelyDetachRef(current, current.return));\n flags = pushMutationContext();\n hoistableRoot = inUpdateViewTransition;\n i = (lanes & 335544064) === lanes;\n prevOffscreenSubtreeIsHidden = finishedWork.memoizedProps;\n inUpdateViewTransition =\n i &&\n \"none\" !==\n getViewTransitionClassName(\n prevOffscreenSubtreeIsHidden.default,\n prevOffscreenSubtreeIsHidden.update\n );\n recursivelyTraverseMutationEffects(root, finishedWork, lanes);\n commitReconciliationEffects(finishedWork);\n i &&\n null !== current &&\n viewTransitionMutationContext &&\n (finishedWork.flags |= 4);\n inUpdateViewTransition = hoistableRoot;\n viewTransitionMutationContext = flags;\n break;\n case 21:\n break;\n case 7:\n current &&\n null !== current.stateNode &&\n (current.stateNode._fragmentFiber = finishedWork);\n default:\n recursivelyTraverseMutationEffects(root, finishedWork, lanes),\n commitReconciliationEffects(finishedWork);\n }\n (finishedWork.mode & ProfileMode) !== NoMode &&\n 0 <= componentEffectStartTime &&\n 0 <= componentEffectEndTime &&\n ((componentEffectSpawnedUpdate || 0.05 < componentEffectDuration) &&\n logComponentEffect(\n finishedWork,\n componentEffectStartTime,\n componentEffectEndTime,\n componentEffectDuration,\n componentEffectErrors\n ),\n null === finishedWork.alternate &&\n null !== finishedWork.return &&\n null !== finishedWork.return.alternate &&\n 0.05 < componentEffectEndTime - componentEffectStartTime &&\n (isHydratingParent(\n finishedWork.return.alternate,\n finishedWork.return\n ) ||\n logComponentTrigger(\n finishedWork,\n componentEffectStartTime,\n componentEffectEndTime,\n \"Mount\"\n )));\n popComponentEffectStart(prevEffectStart);\n popComponentEffectDuration(prevEffectDuration);\n componentEffectErrors = prevEffectErrors;\n componentEffectSpawnedUpdate = prevEffectDidSpawnUpdate;\n }\n function commitReconciliationEffects(finishedWork) {\n var flags = finishedWork.flags;\n if (flags & 2) {\n try {\n runWithFiberInDEV(finishedWork, commitPlacement, finishedWork);\n } catch (error) {\n captureCommitPhaseError(finishedWork, finishedWork.return, error);\n }\n finishedWork.flags &= -3;\n }\n flags & 4096 && (finishedWork.flags &= -4097);\n }\n function recursivelyResetForms(parentFiber) {\n if (parentFiber.subtreeFlags & 1024)\n for (parentFiber = parentFiber.child; null !== parentFiber; ) {\n var fiber = parentFiber;\n recursivelyResetForms(fiber);\n 5 === fiber.tag && fiber.flags & 1024 && fiber.stateNode.reset();\n parentFiber = parentFiber.sibling;\n }\n }\n function recursivelyTraverseAfterMutationEffects(root, parentFiber) {\n if (parentFiber.subtreeFlags & 9270)\n for (parentFiber = parentFiber.child; null !== parentFiber; )\n commitAfterMutationEffectsOnFiber(parentFiber, root),\n (parentFiber = parentFiber.sibling);\n else measureNestedViewTransitions(parentFiber, !1);\n }\n function commitAfterMutationEffectsOnFiber(finishedWork, root) {\n var current = finishedWork.alternate;\n if (null === current) commitEnterViewTransitions(finishedWork, !1);\n else\n switch (finishedWork.tag) {\n case 3:\n rootViewTransitionNameCanceled = viewTransitionContextChanged = !1;\n pushViewTransitionCancelableScope();\n recursivelyTraverseAfterMutationEffects(root, finishedWork);\n if (!viewTransitionContextChanged && !rootViewTransitionAffected) {\n finishedWork = viewTransitionCancelableChildren;\n if (null !== finishedWork)\n for (var i = 0; i < finishedWork.length; i += 3) {\n current = finishedWork[i];\n var oldName = finishedWork[i + 1];\n restoreViewTransitionName(current, finishedWork[i + 2]);\n current = current.ownerDocument.documentElement;\n null !== current &&\n current.animate(\n { opacity: [0, 0], pointerEvents: [\"none\", \"none\"] },\n {\n duration: 0,\n fill: \"forwards\",\n pseudoElement:\n \"::view-transition-group(\" + oldName + \")\"\n }\n );\n }\n finishedWork = root.containerInfo;\n finishedWork =\n 9 === finishedWork.nodeType\n ? finishedWork.documentElement\n : finishedWork.ownerDocument.documentElement;\n null !== finishedWork &&\n \"\" === finishedWork.style.viewTransitionName &&\n ((finishedWork.style.viewTransitionName = \"none\"),\n finishedWork.animate(\n { opacity: [0, 0], pointerEvents: [\"none\", \"none\"] },\n {\n duration: 0,\n fill: \"forwards\",\n pseudoElement: \"::view-transition-group(root)\"\n }\n ),\n finishedWork.animate(\n { width: [0, 0], height: [0, 0] },\n {\n duration: 0,\n fill: \"forwards\",\n pseudoElement: \"::view-transition\"\n }\n ));\n rootViewTransitionNameCanceled = !0;\n }\n viewTransitionCancelableChildren = null;\n break;\n case 5:\n recursivelyTraverseAfterMutationEffects(root, finishedWork);\n break;\n case 4:\n i = viewTransitionContextChanged;\n viewTransitionContextChanged = !1;\n recursivelyTraverseAfterMutationEffects(root, finishedWork);\n viewTransitionContextChanged && (rootViewTransitionAffected = !0);\n viewTransitionContextChanged = i;\n break;\n case 22:\n null === finishedWork.memoizedState &&\n (null !== current.memoizedState\n ? commitEnterViewTransitions(finishedWork, !1)\n : recursivelyTraverseAfterMutationEffects(root, finishedWork));\n break;\n case 30:\n i = viewTransitionContextChanged;\n oldName = pushViewTransitionCancelableScope();\n viewTransitionContextChanged = !1;\n recursivelyTraverseAfterMutationEffects(root, finishedWork);\n viewTransitionContextChanged && (finishedWork.flags |= 4);\n var props = finishedWork.memoizedProps,\n state = finishedWork.stateNode;\n root = getViewTransitionName(props, state);\n state = getViewTransitionName(current.memoizedProps, state);\n var className = getViewTransitionClassName(\n props.default,\n props.update\n );\n \"none\" === className\n ? (root = !1)\n : ((props = current.memoizedState),\n (current.memoizedState = null),\n (current = finishedWork.child),\n (viewTransitionHostInstanceIdx = 0),\n (root = measureViewTransitionHostInstancesRecursive(\n finishedWork,\n current,\n root,\n state,\n className,\n props,\n !0\n )),\n viewTransitionHostInstanceIdx !==\n (null === props ? 0 : props.length) &&\n (finishedWork.flags |= 32));\n 0 !== (finishedWork.flags & 4) && root\n ? (scheduleViewTransitionEvent(\n finishedWork,\n finishedWork.memoizedProps.onUpdate\n ),\n (viewTransitionCancelableChildren = oldName))\n : null !== oldName &&\n (oldName.push.apply(oldName, viewTransitionCancelableChildren),\n (viewTransitionCancelableChildren = oldName));\n viewTransitionContextChanged =\n 0 !== (finishedWork.flags & 32) ? !0 : i;\n break;\n default:\n recursivelyTraverseAfterMutationEffects(root, finishedWork);\n }\n }\n function recursivelyTraverseLayoutEffects(root, parentFiber) {\n if (parentFiber.subtreeFlags & 8772)\n for (parentFiber = parentFiber.child; null !== parentFiber; )\n commitLayoutEffectOnFiber(root, parentFiber.alternate, parentFiber),\n (parentFiber = parentFiber.sibling);\n }\n function disappearLayoutEffects(finishedWork) {\n var prevEffectStart = pushComponentEffectStart(),\n prevEffectDuration = pushComponentEffectDuration(),\n prevEffectErrors = pushComponentEffectErrors(),\n prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate();\n switch (finishedWork.tag) {\n case 0:\n case 11:\n case 14:\n case 15:\n commitHookLayoutUnmountEffects(\n finishedWork,\n finishedWork.return,\n Layout\n );\n recursivelyTraverseDisappearLayoutEffects(finishedWork);\n break;\n case 1:\n safelyDetachRef(finishedWork, finishedWork.return);\n var instance = finishedWork.stateNode;\n \"function\" === typeof instance.componentWillUnmount &&\n safelyCallComponentWillUnmount(\n finishedWork,\n finishedWork.return,\n instance\n );\n recursivelyTraverseDisappearLayoutEffects(finishedWork);\n break;\n case 27:\n runWithFiberInDEV(\n finishedWork,\n releaseSingletonInstance,\n finishedWork.stateNode\n );\n case 26:\n case 5:\n safelyDetachRef(finishedWork, finishedWork.return);\n 5 === finishedWork.tag &&\n commitFragmentInstanceDeletionEffects(finishedWork);\n recursivelyTraverseDisappearLayoutEffects(finishedWork);\n break;\n case 22:\n null === finishedWork.memoizedState &&\n recursivelyTraverseDisappearLayoutEffects(finishedWork);\n break;\n case 30:\n finishedWork.flags & 18874368 &&\n untrackNamedViewTransition(finishedWork);\n safelyDetachRef(finishedWork, finishedWork.return);\n recursivelyTraverseDisappearLayoutEffects(finishedWork);\n break;\n case 7:\n safelyDetachRef(finishedWork, finishedWork.return);\n default:\n recursivelyTraverseDisappearLayoutEffects(finishedWork);\n }\n (finishedWork.mode & ProfileMode) !== NoMode &&\n 0 <= componentEffectStartTime &&\n 0 <= componentEffectEndTime &&\n (componentEffectSpawnedUpdate || 0.05 < componentEffectDuration) &&\n logComponentEffect(\n finishedWork,\n componentEffectStartTime,\n componentEffectEndTime,\n componentEffectDuration,\n componentEffectErrors\n );\n popComponentEffectStart(prevEffectStart);\n popComponentEffectDuration(prevEffectDuration);\n componentEffectErrors = prevEffectErrors;\n componentEffectSpawnedUpdate = prevEffectDidSpawnUpdate;\n }\n function recursivelyTraverseDisappearLayoutEffects(parentFiber) {\n for (parentFiber = parentFiber.child; null !== parentFiber; )\n disappearLayoutEffects(parentFiber),\n (parentFiber = parentFiber.sibling);\n }\n function reappearLayoutEffects(\n finishedRoot,\n current,\n finishedWork,\n includeWorkInProgressEffects\n ) {\n var prevEffectStart = pushComponentEffectStart(),\n prevEffectDuration = pushComponentEffectDuration(),\n prevEffectErrors = pushComponentEffectErrors(),\n prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate(),\n flags = finishedWork.flags;\n switch (finishedWork.tag) {\n case 0:\n case 11:\n case 15:\n recursivelyTraverseReappearLayoutEffects(\n finishedRoot,\n finishedWork,\n includeWorkInProgressEffects\n );\n commitHookLayoutEffects(finishedWork, Layout);\n break;\n case 1:\n recursivelyTraverseReappearLayoutEffects(\n finishedRoot,\n finishedWork,\n includeWorkInProgressEffects\n );\n current = finishedWork.stateNode;\n \"function\" === typeof current.componentDidMount &&\n runWithFiberInDEV(\n finishedWork,\n callComponentDidMountInDEV,\n finishedWork,\n current\n );\n current = finishedWork.updateQueue;\n if (null !== current) {\n finishedRoot = finishedWork.stateNode;\n try {\n runWithFiberInDEV(\n finishedWork,\n commitHiddenCallbacks,\n current,\n finishedRoot\n );\n } catch (error) {\n captureCommitPhaseError(finishedWork, finishedWork.return, error);\n }\n }\n includeWorkInProgressEffects &&\n flags & 64 &&\n commitClassCallbacks(finishedWork);\n safelyAttachRef(finishedWork, finishedWork.return);\n break;\n case 27:\n commitHostSingletonAcquisition(finishedWork);\n case 26:\n case 5:\n if (5 === finishedWork.tag)\n a: for (var parent = finishedWork.return; null !== parent; ) {\n isFragmentInstanceParent(parent) &&\n commitNewChildToFragmentInstance(\n finishedWork.stateNode,\n parent.stateNode\n );\n if (isHostParent(parent)) break a;\n parent = parent.return;\n }\n recursivelyTraverseReappearLayoutEffects(\n finishedRoot,\n finishedWork,\n includeWorkInProgressEffects\n );\n includeWorkInProgressEffects &&\n null === current &&\n flags & 4 &&\n commitHostMount(finishedWork);\n safelyAttachRef(finishedWork, finishedWork.return);\n break;\n case 12:\n if (includeWorkInProgressEffects && flags & 4) {\n flags = pushNestedEffectDurations();\n recursivelyTraverseReappearLayoutEffects(\n finishedRoot,\n finishedWork,\n includeWorkInProgressEffects\n );\n includeWorkInProgressEffects = finishedWork.stateNode;\n includeWorkInProgressEffects.effectDuration +=\n bubbleNestedEffectDurations(flags);\n try {\n runWithFiberInDEV(\n finishedWork,\n commitProfiler,\n finishedWork,\n current,\n commitStartTime,\n includeWorkInProgressEffects.effectDuration\n );\n } catch (error) {\n captureCommitPhaseError(finishedWork, finishedWork.return, error);\n }\n } else\n recursivelyTraverseReappearLayoutEffects(\n finishedRoot,\n finishedWork,\n includeWorkInProgressEffects\n );\n break;\n case 31:\n recursivelyTraverseReappearLayoutEffects(\n finishedRoot,\n finishedWork,\n includeWorkInProgressEffects\n );\n includeWorkInProgressEffects &&\n flags & 4 &&\n commitActivityHydrationCallbacks(finishedRoot, finishedWork);\n break;\n case 13:\n recursivelyTraverseReappearLayoutEffects(\n finishedRoot,\n finishedWork,\n includeWorkInProgressEffects\n );\n includeWorkInProgressEffects &&\n flags & 4 &&\n commitSuspenseHydrationCallbacks(finishedRoot, finishedWork);\n break;\n case 22:\n null === finishedWork.memoizedState &&\n recursivelyTraverseReappearLayoutEffects(\n finishedRoot,\n finishedWork,\n includeWorkInProgressEffects\n );\n safelyAttachRef(finishedWork, finishedWork.return);\n break;\n case 30:\n recursivelyTraverseReappearLayoutEffects(\n finishedRoot,\n finishedWork,\n includeWorkInProgressEffects\n );\n flags & 18874368 && trackNamedViewTransition(finishedWork);\n safelyAttachRef(finishedWork, finishedWork.return);\n break;\n case 7:\n safelyAttachRef(finishedWork, finishedWork.return);\n default:\n recursivelyTraverseReappearLayoutEffects(\n finishedRoot,\n finishedWork,\n includeWorkInProgressEffects\n );\n }\n (finishedWork.mode & ProfileMode) !== NoMode &&\n 0 <= componentEffectStartTime &&\n 0 <= componentEffectEndTime &&\n (componentEffectSpawnedUpdate || 0.05 < componentEffectDuration) &&\n logComponentEffect(\n finishedWork,\n componentEffectStartTime,\n componentEffectEndTime,\n componentEffectDuration,\n componentEffectErrors\n );\n popComponentEffectStart(prevEffectStart);\n popComponentEffectDuration(prevEffectDuration);\n componentEffectErrors = prevEffectErrors;\n componentEffectSpawnedUpdate = prevEffectDidSpawnUpdate;\n }\n function recursivelyTraverseReappearLayoutEffects(\n finishedRoot,\n parentFiber,\n includeWorkInProgressEffects\n ) {\n includeWorkInProgressEffects =\n includeWorkInProgressEffects && 0 !== (parentFiber.subtreeFlags & 8772);\n for (parentFiber = parentFiber.child; null !== parentFiber; )\n reappearLayoutEffects(\n finishedRoot,\n parentFiber.alternate,\n parentFiber,\n includeWorkInProgressEffects\n ),\n (parentFiber = parentFiber.sibling);\n }\n function commitOffscreenPassiveMountEffects(current, finishedWork) {\n var previousCache = null;\n null !== current &&\n null !== current.memoizedState &&\n null !== current.memoizedState.cachePool &&\n (previousCache = current.memoizedState.cachePool.pool);\n current = null;\n null !== finishedWork.memoizedState &&\n null !== finishedWork.memoizedState.cachePool &&\n (current = finishedWork.memoizedState.cachePool.pool);\n current !== previousCache &&\n (null != current && retainCache(current),\n null != previousCache && releaseCache(previousCache));\n }\n function commitCachePassiveMountEffect(current, finishedWork) {\n current = null;\n null !== finishedWork.alternate &&\n (current = finishedWork.alternate.memoizedState.cache);\n finishedWork = finishedWork.memoizedState.cache;\n finishedWork !== current &&\n (retainCache(finishedWork), null != current && releaseCache(current));\n }\n function recursivelyTraversePassiveMountEffects(\n root,\n parentFiber,\n committedLanes,\n committedTransitions,\n endTime\n ) {\n var isViewTransitionEligible =\n (committedLanes & 335544064) === committedLanes;\n if (\n parentFiber.subtreeFlags & (isViewTransitionEligible ? 10262 : 10256) ||\n (0 !== parentFiber.actualDuration &&\n (null === parentFiber.alternate ||\n parentFiber.alternate.child !== parentFiber.child))\n )\n for (parentFiber = parentFiber.child; null !== parentFiber; )\n (isViewTransitionEligible = parentFiber.sibling),\n commitPassiveMountOnFiber(\n root,\n parentFiber,\n committedLanes,\n committedTransitions,\n null !== isViewTransitionEligible\n ? isViewTransitionEligible.actualStartTime\n : endTime\n ),\n (parentFiber = isViewTransitionEligible);\n else\n isViewTransitionEligible && restoreNestedViewTransitions(parentFiber);\n }\n function commitPassiveMountOnFiber(\n finishedRoot,\n finishedWork,\n committedLanes,\n committedTransitions,\n endTime\n ) {\n var prevEffectStart = pushComponentEffectStart(),\n prevEffectDuration = pushComponentEffectDuration(),\n prevEffectErrors = pushComponentEffectErrors(),\n prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate(),\n prevDeepEquality = alreadyWarnedForDeepEquality,\n isViewTransitionEligible =\n (committedLanes & 335544064) === committedLanes;\n isViewTransitionEligible &&\n null === finishedWork.alternate &&\n null !== finishedWork.return &&\n null !== finishedWork.return.alternate &&\n restoreEnterOrExitViewTransitions(finishedWork);\n var flags = finishedWork.flags;\n switch (finishedWork.tag) {\n case 0:\n case 11:\n case 15:\n (finishedWork.mode & ProfileMode) !== NoMode &&\n 0 < finishedWork.actualStartTime &&\n 0 !== (finishedWork.flags & 1) &&\n logComponentRender(\n finishedWork,\n finishedWork.actualStartTime,\n endTime,\n inHydratedSubtree,\n committedLanes\n );\n recursivelyTraversePassiveMountEffects(\n finishedRoot,\n finishedWork,\n committedLanes,\n committedTransitions,\n endTime\n );\n flags & 2048 &&\n commitHookPassiveMountEffects(finishedWork, Passive | HasEffect);\n break;\n case 1:\n (finishedWork.mode & ProfileMode) !== NoMode &&\n 0 < finishedWork.actualStartTime &&\n (0 !== (finishedWork.flags & 128)\n ? logComponentErrored(\n finishedWork,\n finishedWork.actualStartTime,\n endTime,\n []\n )\n : 0 !== (finishedWork.flags & 1) &&\n logComponentRender(\n finishedWork,\n finishedWork.actualStartTime,\n endTime,\n inHydratedSubtree,\n committedLanes\n ));\n recursivelyTraversePassiveMountEffects(\n finishedRoot,\n finishedWork,\n committedLanes,\n committedTransitions,\n endTime\n );\n break;\n case 3:\n var prevProfilerEffectDuration = pushNestedEffectDurations(),\n wasInHydratedSubtree = inHydratedSubtree;\n inHydratedSubtree =\n null !== finishedWork.alternate &&\n finishedWork.alternate.memoizedState.isDehydrated &&\n 0 === (finishedWork.flags & 256);\n recursivelyTraversePassiveMountEffects(\n finishedRoot,\n finishedWork,\n committedLanes,\n committedTransitions,\n endTime\n );\n inHydratedSubtree = wasInHydratedSubtree;\n isViewTransitionEligible &&\n rootViewTransitionNameCanceled &&\n ((committedLanes = finishedRoot.containerInfo),\n (committedLanes =\n 9 === committedLanes.nodeType\n ? committedLanes.body\n : \"HTML\" === committedLanes.nodeName\n ? committedLanes.ownerDocument.body\n : committedLanes),\n \"root\" === committedLanes.style.viewTransitionName &&\n (committedLanes.style.viewTransitionName = \"\"),\n (committedLanes = committedLanes.ownerDocument.documentElement),\n null !== committedLanes &&\n \"none\" === committedLanes.style.viewTransitionName &&\n (committedLanes.style.viewTransitionName = \"\"));\n flags & 2048 &&\n ((committedLanes = null),\n null !== finishedWork.alternate &&\n (committedLanes = finishedWork.alternate.memoizedState.cache),\n (committedTransitions = finishedWork.memoizedState.cache),\n committedTransitions !== committedLanes &&\n (retainCache(committedTransitions),\n null != committedLanes && releaseCache(committedLanes)));\n finishedRoot.passiveEffectDuration += popNestedEffectDurations(\n prevProfilerEffectDuration\n );\n break;\n case 12:\n if (flags & 2048) {\n flags = pushNestedEffectDurations();\n recursivelyTraversePassiveMountEffects(\n finishedRoot,\n finishedWork,\n committedLanes,\n committedTransitions,\n endTime\n );\n finishedRoot = finishedWork.stateNode;\n finishedRoot.passiveEffectDuration +=\n bubbleNestedEffectDurations(flags);\n try {\n runWithFiberInDEV(\n finishedWork,\n commitProfilerPostCommitImpl,\n finishedWork,\n finishedWork.alternate,\n commitStartTime,\n finishedRoot.passiveEffectDuration\n );\n } catch (error) {\n captureCommitPhaseError(finishedWork, finishedWork.return, error);\n }\n } else\n recursivelyTraversePassiveMountEffects(\n finishedRoot,\n finishedWork,\n committedLanes,\n committedTransitions,\n endTime\n );\n break;\n case 31:\n flags = inHydratedSubtree;\n prevProfilerEffectDuration =\n null !== finishedWork.alternate\n ? finishedWork.alternate.memoizedState\n : null;\n isViewTransitionEligible = finishedWork.memoizedState;\n null !== prevProfilerEffectDuration &&\n null === isViewTransitionEligible\n ? ((isViewTransitionEligible = finishedWork.deletions),\n null !== isViewTransitionEligible &&\n 0 < isViewTransitionEligible.length &&\n 18 === isViewTransitionEligible[0].tag\n ? ((inHydratedSubtree = !1),\n (prevProfilerEffectDuration =\n prevProfilerEffectDuration.hydrationErrors),\n null !== prevProfilerEffectDuration &&\n logComponentErrored(\n finishedWork,\n finishedWork.actualStartTime,\n endTime,\n prevProfilerEffectDuration\n ))\n : (inHydratedSubtree = !0))\n : (inHydratedSubtree = !1);\n recursivelyTraversePassiveMountEffects(\n finishedRoot,\n finishedWork,\n committedLanes,\n committedTransitions,\n endTime\n );\n inHydratedSubtree = flags;\n break;\n case 13:\n flags = inHydratedSubtree;\n prevProfilerEffectDuration =\n null !== finishedWork.alternate\n ? finishedWork.alternate.memoizedState\n : null;\n isViewTransitionEligible = finishedWork.memoizedState;\n null === prevProfilerEffectDuration ||\n null === prevProfilerEffectDuration.dehydrated ||\n (null !== isViewTransitionEligible &&\n null !== isViewTransitionEligible.dehydrated)\n ? (inHydratedSubtree = !1)\n : ((isViewTransitionEligible = finishedWork.deletions),\n null !== isViewTransitionEligible &&\n 0 < isViewTransitionEligible.length &&\n 18 === isViewTransitionEligible[0].tag\n ? ((inHydratedSubtree = !1),\n (prevProfilerEffectDuration =\n prevProfilerEffectDuration.hydrationErrors),\n null !== prevProfilerEffectDuration &&\n logComponentErrored(\n finishedWork,\n finishedWork.actualStartTime,\n endTime,\n prevProfilerEffectDuration\n ))\n : (inHydratedSubtree = !0));\n recursivelyTraversePassiveMountEffects(\n finishedRoot,\n finishedWork,\n committedLanes,\n committedTransitions,\n endTime\n );\n inHydratedSubtree = flags;\n break;\n case 23:\n break;\n case 22:\n wasInHydratedSubtree = finishedWork.stateNode;\n prevProfilerEffectDuration = finishedWork.alternate;\n null !== finishedWork.memoizedState\n ? (isViewTransitionEligible &&\n null !== prevProfilerEffectDuration &&\n null === prevProfilerEffectDuration.memoizedState &&\n restoreEnterOrExitViewTransitions(prevProfilerEffectDuration),\n wasInHydratedSubtree._visibility &\n OffscreenPassiveEffectsConnected\n ? recursivelyTraversePassiveMountEffects(\n finishedRoot,\n finishedWork,\n committedLanes,\n committedTransitions,\n endTime\n )\n : recursivelyTraverseAtomicPassiveEffects(\n finishedRoot,\n finishedWork,\n committedLanes,\n committedTransitions,\n endTime\n ))\n : (isViewTransitionEligible &&\n null !== prevProfilerEffectDuration &&\n null !== prevProfilerEffectDuration.memoizedState &&\n restoreEnterOrExitViewTransitions(finishedWork),\n wasInHydratedSubtree._visibility &\n OffscreenPassiveEffectsConnected\n ? recursivelyTraversePassiveMountEffects(\n finishedRoot,\n finishedWork,\n committedLanes,\n committedTransitions,\n endTime\n )\n : ((wasInHydratedSubtree._visibility |=\n OffscreenPassiveEffectsConnected),\n recursivelyTraverseReconnectPassiveEffects(\n finishedRoot,\n finishedWork,\n committedLanes,\n committedTransitions,\n 0 !== (finishedWork.subtreeFlags & 10256) ||\n (0 !== finishedWork.actualDuration &&\n (null === finishedWork.alternate ||\n finishedWork.alternate.child !== finishedWork.child)),\n endTime\n ),\n (finishedWork.mode & ProfileMode) === NoMode ||\n inHydratedSubtree ||\n ((finishedRoot = finishedWork.actualStartTime),\n 0 <= finishedRoot &&\n 0.05 < endTime - finishedRoot &&\n logComponentReappeared(\n finishedWork,\n finishedRoot,\n endTime\n ),\n 0 <= componentEffectStartTime &&\n 0 <= componentEffectEndTime &&\n 0.05 <\n componentEffectEndTime - componentEffectStartTime &&\n logComponentReappeared(\n finishedWork,\n componentEffectStartTime,\n componentEffectEndTime\n ))));\n flags & 2048 &&\n commitOffscreenPassiveMountEffects(\n prevProfilerEffectDuration,\n finishedWork\n );\n break;\n case 24:\n recursivelyTraversePassiveMountEffects(\n finishedRoot,\n finishedWork,\n committedLanes,\n committedTransitions,\n endTime\n );\n flags & 2048 &&\n commitCachePassiveMountEffect(finishedWork.alternate, finishedWork);\n break;\n case 30:\n isViewTransitionEligible &&\n ((flags = finishedWork.alternate),\n null !== flags &&\n (restoreViewTransitionOnHostInstances(flags.child, !0),\n restoreViewTransitionOnHostInstances(finishedWork.child, !0)));\n recursivelyTraversePassiveMountEffects(\n finishedRoot,\n finishedWork,\n committedLanes,\n committedTransitions,\n endTime\n );\n break;\n default:\n recursivelyTraversePassiveMountEffects(\n finishedRoot,\n finishedWork,\n committedLanes,\n committedTransitions,\n endTime\n );\n }\n if ((finishedWork.mode & ProfileMode) !== NoMode) {\n if (\n (finishedRoot =\n !inHydratedSubtree &&\n null === finishedWork.alternate &&\n null !== finishedWork.return &&\n null !== finishedWork.return.alternate)\n )\n (committedLanes = finishedWork.actualStartTime),\n 0 <= committedLanes &&\n 0.05 < endTime - committedLanes &&\n logComponentTrigger(\n finishedWork,\n committedLanes,\n endTime,\n \"Mount\"\n );\n 0 <= componentEffectStartTime &&\n 0 <= componentEffectEndTime &&\n ((componentEffectSpawnedUpdate || 0.05 < componentEffectDuration) &&\n logComponentEffect(\n finishedWork,\n componentEffectStartTime,\n componentEffectEndTime,\n componentEffectDuration,\n componentEffectErrors\n ),\n finishedRoot &&\n 0.05 < componentEffectEndTime - componentEffectStartTime &&\n logComponentTrigger(\n finishedWork,\n componentEffectStartTime,\n componentEffectEndTime,\n \"Mount\"\n ));\n }\n popComponentEffectStart(prevEffectStart);\n popComponentEffectDuration(prevEffectDuration);\n componentEffectErrors = prevEffectErrors;\n componentEffectSpawnedUpdate = prevEffectDidSpawnUpdate;\n alreadyWarnedForDeepEquality = prevDeepEquality;\n }\n function recursivelyTraverseReconnectPassiveEffects(\n finishedRoot,\n parentFiber,\n committedLanes,\n committedTransitions,\n includeWorkInProgressEffects,\n endTime\n ) {\n includeWorkInProgressEffects =\n includeWorkInProgressEffects &&\n (0 !== (parentFiber.subtreeFlags & 10256) ||\n (0 !== parentFiber.actualDuration &&\n (null === parentFiber.alternate ||\n parentFiber.alternate.child !== parentFiber.child)));\n for (parentFiber = parentFiber.child; null !== parentFiber; ) {\n var nextSibling = parentFiber.sibling;\n reconnectPassiveEffects(\n finishedRoot,\n parentFiber,\n committedLanes,\n committedTransitions,\n includeWorkInProgressEffects,\n null !== nextSibling ? nextSibling.actualStartTime : endTime\n );\n parentFiber = nextSibling;\n }\n }\n function reconnectPassiveEffects(\n finishedRoot,\n finishedWork,\n committedLanes,\n committedTransitions,\n includeWorkInProgressEffects,\n endTime\n ) {\n var prevEffectStart = pushComponentEffectStart(),\n prevEffectDuration = pushComponentEffectDuration(),\n prevEffectErrors = pushComponentEffectErrors(),\n prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate(),\n prevDeepEquality = alreadyWarnedForDeepEquality;\n includeWorkInProgressEffects &&\n (finishedWork.mode & ProfileMode) !== NoMode &&\n 0 < finishedWork.actualStartTime &&\n 0 !== (finishedWork.flags & 1) &&\n logComponentRender(\n finishedWork,\n finishedWork.actualStartTime,\n endTime,\n inHydratedSubtree,\n committedLanes\n );\n var flags = finishedWork.flags;\n switch (finishedWork.tag) {\n case 0:\n case 11:\n case 15:\n recursivelyTraverseReconnectPassiveEffects(\n finishedRoot,\n finishedWork,\n committedLanes,\n committedTransitions,\n includeWorkInProgressEffects,\n endTime\n );\n commitHookPassiveMountEffects(finishedWork, Passive);\n break;\n case 23:\n break;\n case 22:\n var _instance2 = finishedWork.stateNode;\n null !== finishedWork.memoizedState\n ? _instance2._visibility & OffscreenPassiveEffectsConnected\n ? recursivelyTraverseReconnectPassiveEffects(\n finishedRoot,\n finishedWork,\n committedLanes,\n committedTransitions,\n includeWorkInProgressEffects,\n endTime\n )\n : recursivelyTraverseAtomicPassiveEffects(\n finishedRoot,\n finishedWork,\n committedLanes,\n committedTransitions,\n endTime\n )\n : ((_instance2._visibility |= OffscreenPassiveEffectsConnected),\n recursivelyTraverseReconnectPassiveEffects(\n finishedRoot,\n finishedWork,\n committedLanes,\n committedTransitions,\n includeWorkInProgressEffects,\n endTime\n ));\n includeWorkInProgressEffects &&\n flags & 2048 &&\n commitOffscreenPassiveMountEffects(\n finishedWork.alternate,\n finishedWork\n );\n break;\n case 24:\n recursivelyTraverseReconnectPassiveEffects(\n finishedRoot,\n finishedWork,\n committedLanes,\n committedTransitions,\n includeWorkInProgressEffects,\n endTime\n );\n includeWorkInProgressEffects &&\n flags & 2048 &&\n commitCachePassiveMountEffect(finishedWork.alternate, finishedWork);\n break;\n default:\n recursivelyTraverseReconnectPassiveEffects(\n finishedRoot,\n finishedWork,\n committedLanes,\n committedTransitions,\n includeWorkInProgressEffects,\n endTime\n );\n }\n (finishedWork.mode & ProfileMode) !== NoMode &&\n 0 <= componentEffectStartTime &&\n 0 <= componentEffectEndTime &&\n (componentEffectSpawnedUpdate || 0.05 < componentEffectDuration) &&\n logComponentEffect(\n finishedWork,\n componentEffectStartTime,\n componentEffectEndTime,\n componentEffectDuration,\n componentEffectErrors\n );\n popComponentEffectStart(prevEffectStart);\n popComponentEffectDuration(prevEffectDuration);\n componentEffectErrors = prevEffectErrors;\n componentEffectSpawnedUpdate = prevEffectDidSpawnUpdate;\n alreadyWarnedForDeepEquality = prevDeepEquality;\n }\n function recursivelyTraverseAtomicPassiveEffects(\n finishedRoot$jscomp$0,\n parentFiber,\n committedLanes$jscomp$0,\n committedTransitions$jscomp$0,\n endTime$jscomp$0\n ) {\n if (\n parentFiber.subtreeFlags & 10256 ||\n (0 !== parentFiber.actualDuration &&\n (null === parentFiber.alternate ||\n parentFiber.alternate.child !== parentFiber.child))\n )\n for (var child = parentFiber.child; null !== child; ) {\n parentFiber = child.sibling;\n var finishedRoot = finishedRoot$jscomp$0,\n committedLanes = committedLanes$jscomp$0,\n committedTransitions = committedTransitions$jscomp$0,\n endTime =\n null !== parentFiber\n ? parentFiber.actualStartTime\n : endTime$jscomp$0,\n prevDeepEquality = alreadyWarnedForDeepEquality;\n (child.mode & ProfileMode) !== NoMode &&\n 0 < child.actualStartTime &&\n 0 !== (child.flags & 1) &&\n logComponentRender(\n child,\n child.actualStartTime,\n endTime,\n inHydratedSubtree,\n committedLanes\n );\n var flags = child.flags;\n switch (child.tag) {\n case 22:\n recursivelyTraverseAtomicPassiveEffects(\n finishedRoot,\n child,\n committedLanes,\n committedTransitions,\n endTime\n );\n flags & 2048 &&\n commitOffscreenPassiveMountEffects(child.alternate, child);\n break;\n case 24:\n recursivelyTraverseAtomicPassiveEffects(\n finishedRoot,\n child,\n committedLanes,\n committedTransitions,\n endTime\n );\n flags & 2048 &&\n commitCachePassiveMountEffect(child.alternate, child);\n break;\n default:\n recursivelyTraverseAtomicPassiveEffects(\n finishedRoot,\n child,\n committedLanes,\n committedTransitions,\n endTime\n );\n }\n alreadyWarnedForDeepEquality = prevDeepEquality;\n child = parentFiber;\n }\n }\n function recursivelyAccumulateSuspenseyCommit(\n parentFiber,\n committedLanes,\n suspendedState\n ) {\n if (parentFiber.subtreeFlags & suspenseyCommitFlag)\n for (parentFiber = parentFiber.child; null !== parentFiber; )\n accumulateSuspenseyCommitOnFiber(\n parentFiber,\n committedLanes,\n suspendedState\n ),\n (parentFiber = parentFiber.sibling);\n }\n function accumulateSuspenseyCommitOnFiber(\n fiber,\n committedLanes,\n suspendedState\n ) {\n switch (fiber.tag) {\n case 26:\n recursivelyAccumulateSuspenseyCommit(\n fiber,\n committedLanes,\n suspendedState\n );\n fiber.flags & suspenseyCommitFlag &&\n (null !== fiber.memoizedState\n ? suspendResource(\n suspendedState,\n currentHoistableRoot,\n fiber.memoizedState,\n fiber.memoizedProps\n )\n : ((fiber = fiber.stateNode),\n (committedLanes & 335544128) === committedLanes &&\n suspendInstance(suspendedState, fiber)));\n break;\n case 5:\n recursivelyAccumulateSuspenseyCommit(\n fiber,\n committedLanes,\n suspendedState\n );\n fiber.flags & suspenseyCommitFlag &&\n ((fiber = fiber.stateNode),\n (committedLanes & 335544128) === committedLanes &&\n suspendInstance(suspendedState, fiber));\n break;\n case 3:\n case 4:\n var previousHoistableRoot = currentHoistableRoot;\n currentHoistableRoot = getHoistableRoot(\n fiber.stateNode.containerInfo\n );\n recursivelyAccumulateSuspenseyCommit(\n fiber,\n committedLanes,\n suspendedState\n );\n currentHoistableRoot = previousHoistableRoot;\n break;\n case 22:\n null === fiber.memoizedState &&\n ((previousHoistableRoot = fiber.alternate),\n null !== previousHoistableRoot &&\n null !== previousHoistableRoot.memoizedState\n ? ((previousHoistableRoot = suspenseyCommitFlag),\n (suspenseyCommitFlag = 16777216),\n recursivelyAccumulateSuspenseyCommit(\n fiber,\n committedLanes,\n suspendedState\n ),\n (suspenseyCommitFlag = previousHoistableRoot))\n : recursivelyAccumulateSuspenseyCommit(\n fiber,\n committedLanes,\n suspendedState\n ));\n break;\n case 30:\n if (\n 0 !== (fiber.flags & suspenseyCommitFlag) &&\n ((previousHoistableRoot = fiber.memoizedProps.name),\n null != previousHoistableRoot && \"auto\" !== previousHoistableRoot)\n ) {\n var state = fiber.stateNode;\n state.paired = null;\n null === appearingViewTransitions &&\n (appearingViewTransitions = new Map());\n appearingViewTransitions.set(previousHoistableRoot, state);\n }\n recursivelyAccumulateSuspenseyCommit(\n fiber,\n committedLanes,\n suspendedState\n );\n break;\n default:\n recursivelyAccumulateSuspenseyCommit(\n fiber,\n committedLanes,\n suspendedState\n );\n }\n }\n function detachAlternateSiblings(parentFiber) {\n var previousFiber = parentFiber.alternate;\n if (\n null !== previousFiber &&\n ((parentFiber = previousFiber.child), null !== parentFiber)\n ) {\n previousFiber.child = null;\n do\n (previousFiber = parentFiber.sibling),\n (parentFiber.sibling = null),\n (parentFiber = previousFiber);\n while (null !== parentFiber);\n }\n }\n function recursivelyTraversePassiveUnmountEffects(parentFiber) {\n var deletions = parentFiber.deletions;\n if (0 !== (parentFiber.flags & 16)) {\n if (null !== deletions)\n for (var i = 0; i < deletions.length; i++) {\n var childToDelete = deletions[i],\n prevEffectStart = pushComponentEffectStart();\n nextEffect = childToDelete;\n commitPassiveUnmountEffectsInsideOfDeletedTree_begin(\n childToDelete,\n parentFiber\n );\n (childToDelete.mode & ProfileMode) !== NoMode &&\n 0 <= componentEffectStartTime &&\n 0 <= componentEffectEndTime &&\n 0.05 < componentEffectEndTime - componentEffectStartTime &&\n logComponentTrigger(\n childToDelete,\n componentEffectStartTime,\n componentEffectEndTime,\n \"Unmount\"\n );\n popComponentEffectStart(prevEffectStart);\n }\n detachAlternateSiblings(parentFiber);\n }\n if (parentFiber.subtreeFlags & 10256)\n for (parentFiber = parentFiber.child; null !== parentFiber; )\n commitPassiveUnmountOnFiber(parentFiber),\n (parentFiber = parentFiber.sibling);\n }\n function commitPassiveUnmountOnFiber(finishedWork) {\n var prevEffectStart = pushComponentEffectStart(),\n prevEffectDuration = pushComponentEffectDuration(),\n prevEffectErrors = pushComponentEffectErrors(),\n prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate();\n switch (finishedWork.tag) {\n case 0:\n case 11:\n case 15:\n recursivelyTraversePassiveUnmountEffects(finishedWork);\n finishedWork.flags & 2048 &&\n commitHookPassiveUnmountEffects(\n finishedWork,\n finishedWork.return,\n Passive | HasEffect\n );\n break;\n case 3:\n var prevProfilerEffectDuration = pushNestedEffectDurations();\n recursivelyTraversePassiveUnmountEffects(finishedWork);\n finishedWork.stateNode.passiveEffectDuration +=\n popNestedEffectDurations(prevProfilerEffectDuration);\n break;\n case 12:\n prevProfilerEffectDuration = pushNestedEffectDurations();\n recursivelyTraversePassiveUnmountEffects(finishedWork);\n finishedWork.stateNode.passiveEffectDuration +=\n bubbleNestedEffectDurations(prevProfilerEffectDuration);\n break;\n case 22:\n prevProfilerEffectDuration = finishedWork.stateNode;\n null !== finishedWork.memoizedState &&\n prevProfilerEffectDuration._visibility &\n OffscreenPassiveEffectsConnected &&\n (null === finishedWork.return || 13 !== finishedWork.return.tag)\n ? ((prevProfilerEffectDuration._visibility &=\n ~OffscreenPassiveEffectsConnected),\n recursivelyTraverseDisconnectPassiveEffects(finishedWork),\n (finishedWork.mode & ProfileMode) !== NoMode &&\n 0 <= componentEffectStartTime &&\n 0 <= componentEffectEndTime &&\n 0.05 < componentEffectEndTime - componentEffectStartTime &&\n logComponentTrigger(\n finishedWork,\n componentEffectStartTime,\n componentEffectEndTime,\n \"Disconnect\"\n ))\n : recursivelyTraversePassiveUnmountEffects(finishedWork);\n break;\n default:\n recursivelyTraversePassiveUnmountEffects(finishedWork);\n }\n (finishedWork.mode & ProfileMode) !== NoMode &&\n 0 <= componentEffectStartTime &&\n 0 <= componentEffectEndTime &&\n (componentEffectSpawnedUpdate || 0.05 < componentEffectDuration) &&\n logComponentEffect(\n finishedWork,\n componentEffectStartTime,\n componentEffectEndTime,\n componentEffectDuration,\n componentEffectErrors\n );\n popComponentEffectStart(prevEffectStart);\n popComponentEffectDuration(prevEffectDuration);\n componentEffectSpawnedUpdate = prevEffectDidSpawnUpdate;\n componentEffectErrors = prevEffectErrors;\n }\n function recursivelyTraverseDisconnectPassiveEffects(parentFiber) {\n var deletions = parentFiber.deletions;\n if (0 !== (parentFiber.flags & 16)) {\n if (null !== deletions)\n for (var i = 0; i < deletions.length; i++) {\n var childToDelete = deletions[i],\n prevEffectStart = pushComponentEffectStart();\n nextEffect = childToDelete;\n commitPassiveUnmountEffectsInsideOfDeletedTree_begin(\n childToDelete,\n parentFiber\n );\n (childToDelete.mode & ProfileMode) !== NoMode &&\n 0 <= componentEffectStartTime &&\n 0 <= componentEffectEndTime &&\n 0.05 < componentEffectEndTime - componentEffectStartTime &&\n logComponentTrigger(\n childToDelete,\n componentEffectStartTime,\n componentEffectEndTime,\n \"Unmount\"\n );\n popComponentEffectStart(prevEffectStart);\n }\n detachAlternateSiblings(parentFiber);\n }\n for (parentFiber = parentFiber.child; null !== parentFiber; )\n disconnectPassiveEffect(parentFiber),\n (parentFiber = parentFiber.sibling);\n }\n function disconnectPassiveEffect(finishedWork) {\n var prevEffectStart = pushComponentEffectStart(),\n prevEffectDuration = pushComponentEffectDuration(),\n prevEffectErrors = pushComponentEffectErrors(),\n prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate();\n switch (finishedWork.tag) {\n case 0:\n case 11:\n case 15:\n commitHookPassiveUnmountEffects(\n finishedWork,\n finishedWork.return,\n Passive\n );\n recursivelyTraverseDisconnectPassiveEffects(finishedWork);\n break;\n case 22:\n var instance = finishedWork.stateNode;\n instance._visibility & OffscreenPassiveEffectsConnected &&\n ((instance._visibility &= ~OffscreenPassiveEffectsConnected),\n recursivelyTraverseDisconnectPassiveEffects(finishedWork));\n break;\n default:\n recursivelyTraverseDisconnectPassiveEffects(finishedWork);\n }\n (finishedWork.mode & ProfileMode) !== NoMode &&\n 0 <= componentEffectStartTime &&\n 0 <= componentEffectEndTime &&\n (componentEffectSpawnedUpdate || 0.05 < componentEffectDuration) &&\n logComponentEffect(\n finishedWork,\n componentEffectStartTime,\n componentEffectEndTime,\n componentEffectDuration,\n componentEffectErrors\n );\n popComponentEffectStart(prevEffectStart);\n popComponentEffectDuration(prevEffectDuration);\n componentEffectSpawnedUpdate = prevEffectDidSpawnUpdate;\n componentEffectErrors = prevEffectErrors;\n }\n function commitPassiveUnmountEffectsInsideOfDeletedTree_begin(\n deletedSubtreeRoot,\n nearestMountedAncestor$jscomp$0\n ) {\n for (; null !== nextEffect; ) {\n var fiber = nextEffect,\n current = fiber,\n nearestMountedAncestor = nearestMountedAncestor$jscomp$0,\n prevEffectStart = pushComponentEffectStart(),\n prevEffectDuration = pushComponentEffectDuration(),\n prevEffectErrors = pushComponentEffectErrors(),\n prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate();\n switch (current.tag) {\n case 0:\n case 11:\n case 15:\n commitHookPassiveUnmountEffects(\n current,\n nearestMountedAncestor,\n Passive\n );\n break;\n case 23:\n case 22:\n null !== current.memoizedState &&\n null !== current.memoizedState.cachePool &&\n ((nearestMountedAncestor = current.memoizedState.cachePool.pool),\n null != nearestMountedAncestor &&\n retainCache(nearestMountedAncestor));\n break;\n case 24:\n releaseCache(current.memoizedState.cache);\n }\n (current.mode & ProfileMode) !== NoMode &&\n 0 <= componentEffectStartTime &&\n 0 <= componentEffectEndTime &&\n (componentEffectSpawnedUpdate || 0.05 < componentEffectDuration) &&\n logComponentEffect(\n current,\n componentEffectStartTime,\n componentEffectEndTime,\n componentEffectDuration,\n componentEffectErrors\n );\n popComponentEffectStart(prevEffectStart);\n popComponentEffectDuration(prevEffectDuration);\n componentEffectSpawnedUpdate = prevEffectDidSpawnUpdate;\n componentEffectErrors = prevEffectErrors;\n current = fiber.child;\n if (null !== current) (current.return = fiber), (nextEffect = current);\n else\n a: for (fiber = deletedSubtreeRoot; null !== nextEffect; ) {\n current = nextEffect;\n prevEffectStart = current.sibling;\n prevEffectDuration = current.return;\n detachFiberAfterEffects(current);\n if (current === fiber) {\n nextEffect = null;\n break a;\n }\n if (null !== prevEffectStart) {\n prevEffectStart.return = prevEffectDuration;\n nextEffect = prevEffectStart;\n break a;\n }\n nextEffect = prevEffectDuration;\n }\n }\n }\n function onCommitRoot() {\n commitHooks.forEach(function (commitHook) {\n return commitHook();\n });\n }\n function isConcurrentActEnvironment() {\n var isReactActEnvironmentGlobal =\n \"undefined\" !== typeof IS_REACT_ACT_ENVIRONMENT\n ? IS_REACT_ACT_ENVIRONMENT\n : void 0;\n isReactActEnvironmentGlobal ||\n null === ReactSharedInternals.actQueue ||\n console.error(\n \"The current testing environment is not configured to support act(...)\"\n );\n return isReactActEnvironmentGlobal;\n }\n function requestUpdateLane(fiber) {\n if (\n (executionContext & RenderContext) !== NoContext &&\n 0 !== workInProgressRootRenderLanes\n )\n return workInProgressRootRenderLanes & -workInProgressRootRenderLanes;\n var transition = ReactSharedInternals.T;\n return null !== transition\n ? (transition._updatedFibers || (transition._updatedFibers = new Set()),\n transition._updatedFibers.add(fiber),\n requestTransitionLane())\n : resolveUpdatePriority();\n }\n function requestDeferredLane() {\n if (0 === workInProgressDeferredLane)\n if (0 === (workInProgressRootRenderLanes & 536870912) || isHydrating) {\n var lane = nextTransitionDeferredLane;\n nextTransitionDeferredLane <<= 1;\n 0 === (nextTransitionDeferredLane & 3932160) &&\n (nextTransitionDeferredLane = 262144);\n workInProgressDeferredLane = lane;\n } else workInProgressDeferredLane = 536870912;\n lane = suspenseHandlerStackCursor.current;\n null !== lane && (lane.flags |= 32);\n return workInProgressDeferredLane;\n }\n function scheduleViewTransitionEvent(fiber, callback) {\n if (null != callback) {\n var state = fiber.stateNode,\n instance = state.ref;\n null === instance &&\n (instance = state.ref =\n createViewTransitionInstance(\n getViewTransitionName(fiber.memoizedProps, state)\n ));\n null === pendingViewTransitionEvents &&\n (pendingViewTransitionEvents = []);\n pendingViewTransitionEvents.push(callback.bind(null, instance));\n }\n }\n function scheduleUpdateOnFiber(root, fiber, lane) {\n isRunningInsertionEffect &&\n console.error(\"useInsertionEffect must not schedule updates.\");\n isFlushingPassiveEffects && (didScheduleUpdateDuringPassiveEffects = !0);\n if (\n (root === workInProgressRoot &&\n (workInProgressSuspendedReason === SuspendedOnData ||\n workInProgressSuspendedReason === SuspendedOnAction)) ||\n null !== root.cancelPendingCommit\n )\n prepareFreshStack(root, 0),\n markRootSuspended(\n root,\n workInProgressRootRenderLanes,\n workInProgressDeferredLane,\n !1\n );\n markRootUpdated$1(root, lane);\n if (\n (executionContext & RenderContext) !== NoContext &&\n root === workInProgressRoot\n ) {\n if (isRendering)\n switch (fiber.tag) {\n case 0:\n case 11:\n case 15:\n root =\n (workInProgress && getComponentNameFromFiber(workInProgress)) ||\n \"Unknown\";\n didWarnAboutUpdateInRenderForAnotherComponent.has(root) ||\n (didWarnAboutUpdateInRenderForAnotherComponent.add(root),\n (fiber = getComponentNameFromFiber(fiber) || \"Unknown\"),\n console.error(\n \"Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render\",\n fiber,\n root,\n root\n ));\n break;\n case 1:\n didWarnAboutUpdateInRender ||\n (console.error(\n \"Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state.\"\n ),\n (didWarnAboutUpdateInRender = !0));\n }\n } else\n isDevToolsPresent && addFiberToLanesMap(root, fiber, lane),\n warnIfUpdatesNotWrappedWithActDEV(fiber),\n root === workInProgressRoot &&\n ((executionContext & RenderContext) === NoContext &&\n (workInProgressRootInterleavedUpdatedLanes |= lane),\n workInProgressRootExitStatus === RootSuspendedWithDelay &&\n markRootSuspended(\n root,\n workInProgressRootRenderLanes,\n workInProgressDeferredLane,\n !1\n )),\n ensureRootIsScheduled(root);\n }\n function performWorkOnRoot(root, lanes, forceSync) {\n if ((executionContext & (RenderContext | CommitContext)) !== NoContext)\n throw Error(\"Should not already be working.\");\n if (0 !== workInProgressRootRenderLanes && null !== workInProgress) {\n var yieldedFiber = workInProgress,\n yieldEndTime = now$1();\n switch (yieldReason) {\n case SuspendedOnImmediate:\n case SuspendedOnData:\n var startTime = yieldStartTime;\n supportsUserTiming &&\n ((yieldedFiber = yieldedFiber._debugTask)\n ? yieldedFiber.run(\n console.timeStamp.bind(\n console,\n \"Suspended\",\n startTime,\n yieldEndTime,\n COMPONENTS_TRACK,\n void 0,\n \"primary-light\"\n )\n )\n : console.timeStamp(\n \"Suspended\",\n startTime,\n yieldEndTime,\n COMPONENTS_TRACK,\n void 0,\n \"primary-light\"\n ));\n break;\n case SuspendedOnAction:\n startTime = yieldStartTime;\n supportsUserTiming &&\n ((yieldedFiber = yieldedFiber._debugTask)\n ? yieldedFiber.run(\n console.timeStamp.bind(\n console,\n \"Action\",\n startTime,\n yieldEndTime,\n COMPONENTS_TRACK,\n void 0,\n \"primary-light\"\n )\n )\n : console.timeStamp(\n \"Action\",\n startTime,\n yieldEndTime,\n COMPONENTS_TRACK,\n void 0,\n \"primary-light\"\n ));\n break;\n default:\n supportsUserTiming &&\n ((yieldedFiber = yieldEndTime - yieldStartTime),\n 3 > yieldedFiber ||\n console.timeStamp(\n \"Blocked\",\n yieldStartTime,\n yieldEndTime,\n COMPONENTS_TRACK,\n void 0,\n 5 > yieldedFiber\n ? \"primary-light\"\n : 10 > yieldedFiber\n ? \"primary\"\n : 100 > yieldedFiber\n ? \"primary-dark\"\n : \"error\"\n ));\n }\n }\n startTime = (forceSync =\n (!forceSync &&\n 0 === (lanes & 127) &&\n 0 === (lanes & root.expiredLanes)) ||\n checkIfRootIsPrerendering(root, lanes))\n ? renderRootConcurrent(root, lanes)\n : renderRootSync(root, lanes, !0);\n var renderWasConcurrent = forceSync;\n do {\n if (startTime === RootInProgress) {\n workInProgressRootIsPrerendering &&\n !forceSync &&\n markRootSuspended(root, lanes, 0, !1);\n lanes = workInProgressSuspendedReason;\n yieldStartTime = now();\n yieldReason = lanes;\n break;\n } else {\n yieldedFiber = now$1();\n yieldEndTime = root.current.alternate;\n if (\n renderWasConcurrent &&\n !isRenderConsistentWithExternalStores(yieldEndTime)\n ) {\n setCurrentTrackFromLanes(lanes);\n yieldEndTime = renderStartTime;\n startTime = yieldedFiber;\n !supportsUserTiming ||\n startTime <= yieldEndTime ||\n (workInProgressUpdateTask\n ? workInProgressUpdateTask.run(\n console.timeStamp.bind(\n console,\n \"Teared Render\",\n yieldEndTime,\n startTime,\n currentTrack,\n LANES_TRACK_GROUP,\n \"error\"\n )\n )\n : console.timeStamp(\n \"Teared Render\",\n yieldEndTime,\n startTime,\n currentTrack,\n LANES_TRACK_GROUP,\n \"error\"\n ));\n finalizeRender(lanes, yieldedFiber);\n startTime = renderRootSync(root, lanes, !1);\n renderWasConcurrent = !1;\n continue;\n }\n if (startTime === RootErrored) {\n renderWasConcurrent = lanes;\n if (root.errorRecoveryDisabledLanes & renderWasConcurrent)\n var errorRetryLanes = 0;\n else\n (errorRetryLanes = root.pendingLanes & -536870913),\n (errorRetryLanes =\n 0 !== errorRetryLanes\n ? errorRetryLanes\n : errorRetryLanes & 536870912\n ? 536870912\n : 0);\n if (0 !== errorRetryLanes) {\n setCurrentTrackFromLanes(lanes);\n logErroredRenderPhase(\n renderStartTime,\n yieldedFiber,\n lanes,\n workInProgressUpdateTask\n );\n finalizeRender(lanes, yieldedFiber);\n lanes = errorRetryLanes;\n a: {\n yieldedFiber = root;\n startTime = renderWasConcurrent;\n renderWasConcurrent = workInProgressRootConcurrentErrors;\n var wasRootDehydrated =\n yieldedFiber.current.memoizedState.isDehydrated;\n wasRootDehydrated &&\n (prepareFreshStack(yieldedFiber, errorRetryLanes).flags |=\n 256);\n errorRetryLanes = renderRootSync(\n yieldedFiber,\n errorRetryLanes,\n !1\n );\n if (errorRetryLanes !== RootErrored) {\n if (\n workInProgressRootDidAttachPingListener &&\n !wasRootDehydrated\n ) {\n yieldedFiber.errorRecoveryDisabledLanes |= startTime;\n workInProgressRootInterleavedUpdatedLanes |= startTime;\n startTime = RootSuspendedWithDelay;\n break a;\n }\n yieldedFiber = workInProgressRootRecoverableErrors;\n workInProgressRootRecoverableErrors = renderWasConcurrent;\n null !== yieldedFiber &&\n (null === workInProgressRootRecoverableErrors\n ? (workInProgressRootRecoverableErrors = yieldedFiber)\n : workInProgressRootRecoverableErrors.push.apply(\n workInProgressRootRecoverableErrors,\n yieldedFiber\n ));\n }\n startTime = errorRetryLanes;\n }\n renderWasConcurrent = !1;\n if (startTime !== RootErrored) continue;\n else yieldedFiber = now$1();\n }\n }\n if (startTime === RootFatalErrored) {\n setCurrentTrackFromLanes(lanes);\n logErroredRenderPhase(\n renderStartTime,\n yieldedFiber,\n lanes,\n workInProgressUpdateTask\n );\n finalizeRender(lanes, yieldedFiber);\n prepareFreshStack(root, 0);\n markRootSuspended(root, lanes, 0, !0);\n break;\n }\n a: {\n forceSync = root;\n switch (startTime) {\n case RootInProgress:\n case RootFatalErrored:\n throw Error(\"Root did not complete. This is a bug in React.\");\n case RootSuspendedWithDelay:\n if ((lanes & 4194048) !== lanes && (lanes & 62914560) !== lanes)\n break;\n case RootSuspendedAtTheShell:\n setCurrentTrackFromLanes(lanes);\n logSuspendedRenderPhase(\n renderStartTime,\n yieldedFiber,\n lanes,\n workInProgressUpdateTask\n );\n finalizeRender(lanes, yieldedFiber);\n yieldEndTime = lanes;\n 0 !== (yieldEndTime & 127)\n ? (blockingSuspendedTime = yieldedFiber)\n : 0 !== (yieldEndTime & 4194048) &&\n (transitionSuspendedTime = yieldedFiber);\n markRootSuspended(\n forceSync,\n lanes,\n workInProgressDeferredLane,\n !workInProgressRootDidSkipSuspendedSiblings\n );\n break a;\n case RootErrored:\n workInProgressRootRecoverableErrors = null;\n break;\n case RootSuspended:\n case RootCompleted:\n break;\n default:\n throw Error(\"Unknown root exit status.\");\n }\n if (null !== ReactSharedInternals.actQueue)\n commitRoot(\n forceSync,\n yieldEndTime,\n lanes,\n workInProgressRootRecoverableErrors,\n workInProgressTransitions,\n workInProgressRootDidIncludeRecursiveRenderUpdate,\n workInProgressDeferredLane,\n workInProgressRootInterleavedUpdatedLanes,\n workInProgressSuspendedRetryLanes,\n startTime,\n null,\n null,\n renderStartTime,\n yieldedFiber\n );\n else {\n if (\n (lanes & 62914560) === lanes &&\n ((renderWasConcurrent =\n globalMostRecentFallbackTime +\n FALLBACK_THROTTLE_MS -\n now$1()),\n 10 < renderWasConcurrent)\n ) {\n markRootSuspended(\n forceSync,\n lanes,\n workInProgressDeferredLane,\n !workInProgressRootDidSkipSuspendedSiblings\n );\n if (0 !== getNextLanes(forceSync, 0, !0)) break a;\n pendingEffectsLanes = lanes;\n forceSync.timeoutHandle = scheduleTimeout(\n commitRootWhenReady.bind(\n null,\n forceSync,\n yieldEndTime,\n workInProgressRootRecoverableErrors,\n workInProgressTransitions,\n workInProgressRootDidIncludeRecursiveRenderUpdate,\n lanes,\n workInProgressDeferredLane,\n workInProgressRootInterleavedUpdatedLanes,\n workInProgressSuspendedRetryLanes,\n workInProgressRootDidSkipSuspendedSiblings,\n startTime,\n \"Throttled\",\n renderStartTime,\n yieldedFiber\n ),\n renderWasConcurrent\n );\n break a;\n }\n commitRootWhenReady(\n forceSync,\n yieldEndTime,\n workInProgressRootRecoverableErrors,\n workInProgressTransitions,\n workInProgressRootDidIncludeRecursiveRenderUpdate,\n lanes,\n workInProgressDeferredLane,\n workInProgressRootInterleavedUpdatedLanes,\n workInProgressSuspendedRetryLanes,\n workInProgressRootDidSkipSuspendedSiblings,\n startTime,\n null,\n renderStartTime,\n yieldedFiber\n );\n }\n }\n }\n break;\n } while (1);\n ensureRootIsScheduled(root);\n }\n function commitRootWhenReady(\n root,\n finishedWork,\n recoverableErrors,\n transitions,\n didIncludeRenderPhaseUpdate,\n lanes,\n spawnedLane,\n updatedLanes,\n suspendedRetryLanes,\n didSkipSuspendedSiblings,\n exitStatus,\n suspendedCommitReason,\n completedRenderStartTime,\n completedRenderEndTime\n ) {\n root.timeoutHandle = noTimeout;\n var subtreeFlags = finishedWork.subtreeFlags,\n isViewTransitionEligible = (lanes & 335544064) === lanes,\n suspendedState = null;\n if (\n isViewTransitionEligible ||\n subtreeFlags & 8192 ||\n 16785408 === (subtreeFlags & 16785408)\n )\n if (\n ((suspendedState = {\n stylesheets: null,\n count: 0,\n imgCount: 0,\n imgBytes: 0,\n suspenseyImages: [],\n waitingForImages: !0,\n waitingForViewTransition: !1,\n unsuspend: noop$1\n }),\n (appearingViewTransitions = null),\n accumulateSuspenseyCommitOnFiber(finishedWork, lanes, suspendedState),\n isViewTransitionEligible &&\n ((subtreeFlags = suspendedState),\n (isViewTransitionEligible = root.containerInfo),\n (isViewTransitionEligible = (\n 9 === isViewTransitionEligible.nodeType\n ? isViewTransitionEligible\n : isViewTransitionEligible.ownerDocument\n ).__reactViewTransition),\n null != isViewTransitionEligible &&\n (subtreeFlags.count++,\n (subtreeFlags.waitingForViewTransition = !0),\n (subtreeFlags = onUnsuspend.bind(subtreeFlags)),\n isViewTransitionEligible.finished.then(\n subtreeFlags,\n subtreeFlags\n ))),\n (subtreeFlags =\n (lanes & 62914560) === lanes\n ? globalMostRecentFallbackTime - now$1()\n : (lanes & 4194048) === lanes\n ? globalMostRecentTransitionTime - now$1()\n : 0),\n (subtreeFlags = waitForCommitToBeReady(suspendedState, subtreeFlags)),\n null !== subtreeFlags)\n ) {\n pendingEffectsLanes = lanes;\n root.cancelPendingCommit = subtreeFlags(\n commitRoot.bind(\n null,\n root,\n finishedWork,\n lanes,\n recoverableErrors,\n transitions,\n didIncludeRenderPhaseUpdate,\n spawnedLane,\n updatedLanes,\n suspendedRetryLanes,\n exitStatus,\n suspendedState,\n suspendedState.waitingForViewTransition\n ? \"Waiting for the previous Animation\"\n : 0 < suspendedState.count\n ? 0 < suspendedState.imgCount\n ? \"Suspended on CSS and Images\"\n : \"Suspended on CSS\"\n : 1 === suspendedState.imgCount\n ? \"Suspended on an Image\"\n : 0 < suspendedState.imgCount\n ? \"Suspended on Images\"\n : null,\n completedRenderStartTime,\n completedRenderEndTime\n )\n );\n markRootSuspended(\n root,\n lanes,\n spawnedLane,\n !didSkipSuspendedSiblings\n );\n return;\n }\n commitRoot(\n root,\n finishedWork,\n lanes,\n recoverableErrors,\n transitions,\n didIncludeRenderPhaseUpdate,\n spawnedLane,\n updatedLanes,\n suspendedRetryLanes,\n exitStatus,\n suspendedState,\n suspendedCommitReason,\n completedRenderStartTime,\n completedRenderEndTime\n );\n }\n function isRenderConsistentWithExternalStores(finishedWork) {\n for (var node = finishedWork; ; ) {\n var tag = node.tag;\n if (\n (0 === tag || 11 === tag || 15 === tag) &&\n node.flags & 16384 &&\n ((tag = node.updateQueue),\n null !== tag && ((tag = tag.stores), null !== tag))\n )\n for (var i = 0; i < tag.length; i++) {\n var check = tag[i],\n getSnapshot = check.getSnapshot;\n check = check.value;\n try {\n if (!objectIs(getSnapshot(), check)) return !1;\n } catch (error) {\n return !1;\n }\n }\n tag = node.child;\n if (node.subtreeFlags & 16384 && null !== tag)\n (tag.return = node), (node = tag);\n else {\n if (node === finishedWork) break;\n for (; null === node.sibling; ) {\n if (null === node.return || node.return === finishedWork) return !0;\n node = node.return;\n }\n node.sibling.return = node.return;\n node = node.sibling;\n }\n }\n return !0;\n }\n function markRootSuspended(\n root,\n suspendedLanes,\n spawnedLane,\n didAttemptEntireTree\n ) {\n suspendedLanes &= ~workInProgressRootPingedLanes;\n suspendedLanes &= ~workInProgressRootInterleavedUpdatedLanes;\n root.suspendedLanes |= suspendedLanes;\n root.pingedLanes &= ~suspendedLanes;\n didAttemptEntireTree && (root.warmLanes |= suspendedLanes);\n didAttemptEntireTree = root.expirationTimes;\n for (var lanes = suspendedLanes; 0 < lanes; ) {\n var index = 31 - clz32(lanes),\n lane = 1 << index;\n didAttemptEntireTree[index] = -1;\n lanes &= ~lane;\n }\n 0 !== spawnedLane &&\n markSpawnedDeferredLane(root, spawnedLane, suspendedLanes);\n }\n function flushSyncWork$1() {\n return (executionContext & (RenderContext | CommitContext)) === NoContext\n ? (flushSyncWorkAcrossRoots_impl(0, !1), !1)\n : !0;\n }\n function resetWorkInProgressStack() {\n if (null !== workInProgress) {\n if (workInProgressSuspendedReason === NotSuspended)\n var interruptedWork = workInProgress.return;\n else\n (interruptedWork = workInProgress),\n resetContextDependencies(),\n resetHooksOnUnwind(interruptedWork),\n (thenableState$1 = null),\n (thenableIndexCounter$1 = 0),\n (interruptedWork = workInProgress);\n for (; null !== interruptedWork; )\n unwindInterruptedWork(interruptedWork.alternate, interruptedWork),\n (interruptedWork = interruptedWork.return);\n workInProgress = null;\n }\n }\n function finalizeRender(lanes, finalizationTime) {\n 0 !== (lanes & 127) && (blockingClampTime = finalizationTime);\n 0 !== (lanes & 4194048) && (transitionClampTime = finalizationTime);\n 0 !== (lanes & 62914560) && (retryClampTime = finalizationTime);\n 0 !== (lanes & 2080374784) && (idleClampTime = finalizationTime);\n }\n function prepareFreshStack(root, lanes) {\n supportsUserTiming &&\n (console.timeStamp(\n \"Blocking Track\",\n 0.003,\n 0.003,\n \"Blocking\",\n LANES_TRACK_GROUP,\n \"primary-light\"\n ),\n console.timeStamp(\n \"Transition Track\",\n 0.003,\n 0.003,\n \"Transition\",\n LANES_TRACK_GROUP,\n \"primary-light\"\n ),\n console.timeStamp(\n \"Suspense Track\",\n 0.003,\n 0.003,\n \"Suspense\",\n LANES_TRACK_GROUP,\n \"primary-light\"\n ),\n console.timeStamp(\n \"Idle Track\",\n 0.003,\n 0.003,\n \"Idle\",\n LANES_TRACK_GROUP,\n \"primary-light\"\n ));\n var previousRenderStartTime = renderStartTime;\n renderStartTime = now();\n if (0 !== workInProgressRootRenderLanes && 0 < previousRenderStartTime) {\n setCurrentTrackFromLanes(workInProgressRootRenderLanes);\n if (\n workInProgressRootExitStatus === RootSuspended ||\n workInProgressRootExitStatus === RootSuspendedWithDelay\n )\n logSuspendedRenderPhase(\n previousRenderStartTime,\n renderStartTime,\n lanes,\n workInProgressUpdateTask\n );\n else {\n var endTime = renderStartTime,\n debugTask = workInProgressUpdateTask;\n if (supportsUserTiming && !(endTime <= previousRenderStartTime)) {\n var color =\n (lanes & 738197653) === lanes\n ? \"tertiary-dark\"\n : \"primary-dark\",\n label =\n (lanes & 536870912) === lanes\n ? \"Prewarm\"\n : (lanes & 201326741) === lanes\n ? \"Interrupted Hydration\"\n : \"Interrupted Render\";\n debugTask\n ? debugTask.run(\n console.timeStamp.bind(\n console,\n label,\n previousRenderStartTime,\n endTime,\n currentTrack,\n LANES_TRACK_GROUP,\n color\n )\n )\n : console.timeStamp(\n label,\n previousRenderStartTime,\n endTime,\n currentTrack,\n LANES_TRACK_GROUP,\n color\n );\n }\n }\n finalizeRender(workInProgressRootRenderLanes, renderStartTime);\n }\n previousRenderStartTime = workInProgressUpdateTask;\n workInProgressUpdateTask = null;\n if (0 !== (lanes & 127)) {\n workInProgressUpdateTask = blockingUpdateTask;\n debugTask =\n 0 <= blockingUpdateTime && blockingUpdateTime < blockingClampTime\n ? blockingClampTime\n : blockingUpdateTime;\n endTime =\n 0 <= blockingEventTime && blockingEventTime < blockingClampTime\n ? blockingClampTime\n : blockingEventTime;\n color =\n 0 <= endTime ? endTime : 0 <= debugTask ? debugTask : renderStartTime;\n 0 <= blockingSuspendedTime\n ? (setCurrentTrackFromLanes(2),\n logSuspendedWithDelayPhase(\n blockingSuspendedTime,\n color,\n lanes,\n previousRenderStartTime\n ))\n : 0 !== (animatingLanes & 127) &&\n (setCurrentTrackFromLanes(2),\n logAnimatingPhase(blockingClampTime, color, animatingTask));\n previousRenderStartTime = debugTask;\n var eventTime = endTime,\n eventType = blockingEventType,\n eventIsRepeat = 0 < blockingEventRepeatTime,\n isSpawnedUpdate = blockingUpdateType === SPAWNED_UPDATE,\n isPingedUpdate = blockingUpdateType === PINGED_UPDATE;\n debugTask = renderStartTime;\n endTime = blockingUpdateTask;\n color = blockingUpdateMethodName;\n label = blockingUpdateComponentName;\n if (supportsUserTiming) {\n currentTrack = \"Blocking\";\n 0 < previousRenderStartTime\n ? previousRenderStartTime > debugTask &&\n (previousRenderStartTime = debugTask)\n : (previousRenderStartTime = debugTask);\n 0 < eventTime\n ? eventTime > previousRenderStartTime &&\n (eventTime = previousRenderStartTime)\n : (eventTime = previousRenderStartTime);\n if (null !== eventType && previousRenderStartTime > eventTime) {\n var color$jscomp$0 = eventIsRepeat ? \"secondary-light\" : \"warning\";\n endTime\n ? endTime.run(\n console.timeStamp.bind(\n console,\n eventIsRepeat ? \"Consecutive\" : \"Event: \" + eventType,\n eventTime,\n previousRenderStartTime,\n currentTrack,\n LANES_TRACK_GROUP,\n color$jscomp$0\n )\n )\n : console.timeStamp(\n eventIsRepeat ? \"Consecutive\" : \"Event: \" + eventType,\n eventTime,\n previousRenderStartTime,\n currentTrack,\n LANES_TRACK_GROUP,\n color$jscomp$0\n );\n }\n debugTask > previousRenderStartTime &&\n ((eventTime = isSpawnedUpdate\n ? \"error\"\n : (lanes & 738197653) === lanes\n ? \"tertiary-light\"\n : \"primary-light\"),\n (isSpawnedUpdate = isPingedUpdate\n ? \"Promise Resolved\"\n : isSpawnedUpdate\n ? \"Cascading Update\"\n : 5 < debugTask - previousRenderStartTime\n ? \"Update Blocked\"\n : \"Update\"),\n (isPingedUpdate = []),\n null != label && isPingedUpdate.push([\"Component name\", label]),\n null != color && isPingedUpdate.push([\"Method name\", color]),\n (previousRenderStartTime = {\n start: previousRenderStartTime,\n end: debugTask,\n detail: {\n devtools: {\n properties: isPingedUpdate,\n track: currentTrack,\n trackGroup: LANES_TRACK_GROUP,\n color: eventTime\n }\n }\n }),\n endTime\n ? endTime.run(\n performance.measure.bind(\n performance,\n isSpawnedUpdate,\n previousRenderStartTime\n )\n )\n : performance.measure(isSpawnedUpdate, previousRenderStartTime),\n performance.clearMeasures(isSpawnedUpdate));\n }\n blockingUpdateTime = -1.1;\n blockingUpdateType = 0;\n blockingUpdateComponentName = blockingUpdateMethodName = null;\n blockingSuspendedTime = -1.1;\n blockingEventRepeatTime = blockingEventTime;\n blockingEventTime = -1.1;\n blockingClampTime = now();\n }\n 0 !== (lanes & 4194048) &&\n ((workInProgressUpdateTask = transitionUpdateTask),\n (debugTask =\n 0 <= transitionStartTime && transitionStartTime < transitionClampTime\n ? transitionClampTime\n : transitionStartTime),\n (previousRenderStartTime =\n 0 <= transitionUpdateTime &&\n transitionUpdateTime < transitionClampTime\n ? transitionClampTime\n : transitionUpdateTime),\n (endTime =\n 0 <= transitionEventTime && transitionEventTime < transitionClampTime\n ? transitionClampTime\n : transitionEventTime),\n (color =\n 0 <= endTime\n ? endTime\n : 0 <= previousRenderStartTime\n ? previousRenderStartTime\n : renderStartTime),\n 0 <= transitionSuspendedTime\n ? (setCurrentTrackFromLanes(256),\n logSuspendedWithDelayPhase(\n transitionSuspendedTime,\n color,\n lanes,\n workInProgressUpdateTask\n ))\n : 0 !== (animatingLanes & 4194048) &&\n (setCurrentTrackFromLanes(256),\n logAnimatingPhase(transitionClampTime, color, animatingTask)),\n (isPingedUpdate = endTime),\n (eventTime = transitionEventType),\n (eventType = 0 < transitionEventRepeatTime),\n (eventIsRepeat = transitionUpdateType === PINGED_UPDATE),\n (color = renderStartTime),\n (endTime = transitionUpdateTask),\n (label = transitionUpdateMethodName),\n (isSpawnedUpdate = transitionUpdateComponentName),\n supportsUserTiming &&\n ((currentTrack = \"Transition\"),\n 0 < previousRenderStartTime\n ? previousRenderStartTime > color &&\n (previousRenderStartTime = color)\n : (previousRenderStartTime = color),\n 0 < debugTask\n ? debugTask > previousRenderStartTime &&\n (debugTask = previousRenderStartTime)\n : (debugTask = previousRenderStartTime),\n 0 < isPingedUpdate\n ? isPingedUpdate > debugTask && (isPingedUpdate = debugTask)\n : (isPingedUpdate = debugTask),\n debugTask > isPingedUpdate &&\n null !== eventTime &&\n ((color$jscomp$0 = eventType ? \"secondary-light\" : \"warning\"),\n endTime\n ? endTime.run(\n console.timeStamp.bind(\n console,\n eventType ? \"Consecutive\" : \"Event: \" + eventTime,\n isPingedUpdate,\n debugTask,\n currentTrack,\n LANES_TRACK_GROUP,\n color$jscomp$0\n )\n )\n : console.timeStamp(\n eventType ? \"Consecutive\" : \"Event: \" + eventTime,\n isPingedUpdate,\n debugTask,\n currentTrack,\n LANES_TRACK_GROUP,\n color$jscomp$0\n )),\n previousRenderStartTime > debugTask &&\n (endTime\n ? endTime.run(\n console.timeStamp.bind(\n console,\n \"Action\",\n debugTask,\n previousRenderStartTime,\n currentTrack,\n LANES_TRACK_GROUP,\n \"primary-dark\"\n )\n )\n : console.timeStamp(\n \"Action\",\n debugTask,\n previousRenderStartTime,\n currentTrack,\n LANES_TRACK_GROUP,\n \"primary-dark\"\n )),\n color > previousRenderStartTime &&\n ((debugTask = eventIsRepeat\n ? \"Promise Resolved\"\n : 5 < color - previousRenderStartTime\n ? \"Update Blocked\"\n : \"Update\"),\n (isPingedUpdate = []),\n null != isSpawnedUpdate &&\n isPingedUpdate.push([\"Component name\", isSpawnedUpdate]),\n null != label && isPingedUpdate.push([\"Method name\", label]),\n (previousRenderStartTime = {\n start: previousRenderStartTime,\n end: color,\n detail: {\n devtools: {\n properties: isPingedUpdate,\n track: currentTrack,\n trackGroup: LANES_TRACK_GROUP,\n color: \"primary-light\"\n }\n }\n }),\n endTime\n ? endTime.run(\n performance.measure.bind(\n performance,\n debugTask,\n previousRenderStartTime\n )\n )\n : performance.measure(debugTask, previousRenderStartTime),\n performance.clearMeasures(debugTask))),\n (transitionUpdateTime = transitionStartTime = -1.1),\n (transitionUpdateType = 0),\n (transitionSuspendedTime = -1.1),\n (transitionEventRepeatTime = transitionEventTime),\n (transitionEventTime = -1.1),\n (transitionClampTime = now()));\n 0 !== (lanes & 62914560) &&\n 0 !== (animatingLanes & 62914560) &&\n (setCurrentTrackFromLanes(4194304),\n logAnimatingPhase(retryClampTime, renderStartTime, animatingTask));\n 0 !== (lanes & 2080374784) &&\n 0 !== (animatingLanes & 2080374784) &&\n (setCurrentTrackFromLanes(268435456),\n logAnimatingPhase(idleClampTime, renderStartTime, animatingTask));\n previousRenderStartTime = root.timeoutHandle;\n previousRenderStartTime !== noTimeout &&\n ((root.timeoutHandle = noTimeout),\n cancelTimeout(previousRenderStartTime));\n previousRenderStartTime = root.cancelPendingCommit;\n null !== previousRenderStartTime &&\n ((root.cancelPendingCommit = null), previousRenderStartTime());\n pendingEffectsLanes = 0;\n resetWorkInProgressStack();\n workInProgressRoot = root;\n workInProgress = previousRenderStartTime = createWorkInProgress(\n root.current,\n null\n );\n workInProgressRootRenderLanes = lanes;\n workInProgressSuspendedReason = NotSuspended;\n workInProgressThrownValue = null;\n workInProgressRootDidSkipSuspendedSiblings = !1;\n workInProgressRootIsPrerendering = checkIfRootIsPrerendering(root, lanes);\n workInProgressRootDidAttachPingListener = !1;\n workInProgressRootExitStatus = RootInProgress;\n workInProgressSuspendedRetryLanes =\n workInProgressDeferredLane =\n workInProgressRootPingedLanes =\n workInProgressRootInterleavedUpdatedLanes =\n workInProgressRootSkippedLanes =\n 0;\n workInProgressRootRecoverableErrors = workInProgressRootConcurrentErrors =\n null;\n workInProgressRootDidIncludeRecursiveRenderUpdate = !1;\n 0 !== (lanes & 8) && (lanes |= lanes & 32);\n endTime = root.entangledLanes;\n if (0 !== endTime)\n for (root = root.entanglements, endTime &= lanes; 0 < endTime; )\n (debugTask = 31 - clz32(endTime)),\n (color = 1 << debugTask),\n (lanes |= root[debugTask]),\n (endTime &= ~color);\n entangledRenderLanes = lanes;\n finishQueueingConcurrentUpdates();\n root = getCurrentTime();\n 1e3 < root - lastResetTime &&\n ((ReactSharedInternals.recentlyCreatedOwnerStacks = 0),\n (lastResetTime = root));\n ReactStrictModeWarnings.discardPendingWarnings();\n return previousRenderStartTime;\n }\n function handleThrow(root, thrownValue) {\n currentlyRenderingFiber = null;\n ReactSharedInternals.H = ContextOnlyDispatcher;\n ReactSharedInternals.getCurrentStack = null;\n isRendering = !1;\n current = null;\n thrownValue === SuspenseException ||\n thrownValue === SuspenseActionException\n ? ((thrownValue = getSuspendedThenable()),\n (workInProgressSuspendedReason = SuspendedOnImmediate))\n : thrownValue === SuspenseyCommitException\n ? ((thrownValue = getSuspendedThenable()),\n (workInProgressSuspendedReason = SuspendedOnInstance))\n : (workInProgressSuspendedReason =\n thrownValue === SelectiveHydrationException\n ? SuspendedOnHydration\n : null !== thrownValue &&\n \"object\" === typeof thrownValue &&\n \"function\" === typeof thrownValue.then\n ? SuspendedOnDeprecatedThrowPromise\n : SuspendedOnError);\n workInProgressThrownValue = thrownValue;\n var erroredWork = workInProgress;\n null === erroredWork\n ? ((workInProgressRootExitStatus = RootFatalErrored),\n logUncaughtError(\n root,\n createCapturedValueAtFiber(thrownValue, root.current)\n ))\n : erroredWork.mode & ProfileMode &&\n stopProfilerTimerIfRunningAndRecordDuration(erroredWork);\n }\n function shouldRemainOnPreviousScreen() {\n var handler = suspenseHandlerStackCursor.current;\n return null === handler\n ? !0\n : (workInProgressRootRenderLanes & 4194048) ===\n workInProgressRootRenderLanes\n ? null === shellBoundary\n ? !0\n : !1\n : (workInProgressRootRenderLanes & 62914560) ===\n workInProgressRootRenderLanes ||\n 0 !== (workInProgressRootRenderLanes & 536870912)\n ? handler === shellBoundary\n : !1;\n }\n function pushDispatcher() {\n var prevDispatcher = ReactSharedInternals.H;\n ReactSharedInternals.H = ContextOnlyDispatcher;\n return null === prevDispatcher ? ContextOnlyDispatcher : prevDispatcher;\n }\n function pushAsyncDispatcher() {\n var prevAsyncDispatcher = ReactSharedInternals.A;\n ReactSharedInternals.A = DefaultAsyncDispatcher;\n return prevAsyncDispatcher;\n }\n function markRenderDerivedCause(fiber) {\n null === workInProgressUpdateTask &&\n (workInProgressUpdateTask =\n null == fiber._debugTask ? null : fiber._debugTask);\n }\n function renderDidSuspendDelayIfPossible() {\n workInProgressRootExitStatus = RootSuspendedWithDelay;\n workInProgressRootDidSkipSuspendedSiblings ||\n ((workInProgressRootRenderLanes & 4194048) !==\n workInProgressRootRenderLanes &&\n null !== suspenseHandlerStackCursor.current) ||\n (workInProgressRootIsPrerendering = !0);\n (0 === (workInProgressRootSkippedLanes & 134217727) &&\n 0 === (workInProgressRootInterleavedUpdatedLanes & 134217727)) ||\n null === workInProgressRoot ||\n markRootSuspended(\n workInProgressRoot,\n workInProgressRootRenderLanes,\n workInProgressDeferredLane,\n !1\n );\n }\n function renderRootSync(root, lanes, shouldYieldForPrerendering) {\n var prevExecutionContext = executionContext;\n executionContext |= RenderContext;\n var prevDispatcher = pushDispatcher(),\n prevAsyncDispatcher = pushAsyncDispatcher();\n if (\n workInProgressRoot !== root ||\n workInProgressRootRenderLanes !== lanes\n ) {\n if (isDevToolsPresent) {\n var memoizedUpdaters = root.memoizedUpdaters;\n 0 < memoizedUpdaters.size &&\n (restorePendingUpdaters(root, workInProgressRootRenderLanes),\n memoizedUpdaters.clear());\n movePendingFibersToMemoized(root, lanes);\n }\n workInProgressTransitions = null;\n prepareFreshStack(root, lanes);\n }\n lanes = !1;\n memoizedUpdaters = workInProgressRootExitStatus;\n a: do\n try {\n if (\n workInProgressSuspendedReason !== NotSuspended &&\n null !== workInProgress\n ) {\n var unitOfWork = workInProgress,\n thrownValue = workInProgressThrownValue;\n switch (workInProgressSuspendedReason) {\n case SuspendedOnHydration:\n resetWorkInProgressStack();\n memoizedUpdaters = RootSuspendedAtTheShell;\n break a;\n case SuspendedOnImmediate:\n case SuspendedOnData:\n case SuspendedOnAction:\n case SuspendedOnDeprecatedThrowPromise:\n null === suspenseHandlerStackCursor.current && (lanes = !0);\n var reason = workInProgressSuspendedReason;\n workInProgressSuspendedReason = NotSuspended;\n workInProgressThrownValue = null;\n throwAndUnwindWorkLoop(root, unitOfWork, thrownValue, reason);\n if (\n shouldYieldForPrerendering &&\n workInProgressRootIsPrerendering\n ) {\n memoizedUpdaters = RootInProgress;\n break a;\n }\n break;\n default:\n (reason = workInProgressSuspendedReason),\n (workInProgressSuspendedReason = NotSuspended),\n (workInProgressThrownValue = null),\n throwAndUnwindWorkLoop(root, unitOfWork, thrownValue, reason);\n }\n }\n workLoopSync();\n memoizedUpdaters = workInProgressRootExitStatus;\n break;\n } catch (thrownValue$8) {\n handleThrow(root, thrownValue$8);\n }\n while (1);\n lanes && root.shellSuspendCounter++;\n resetContextDependencies();\n executionContext = prevExecutionContext;\n ReactSharedInternals.H = prevDispatcher;\n ReactSharedInternals.A = prevAsyncDispatcher;\n null === workInProgress &&\n ((workInProgressRoot = null),\n (workInProgressRootRenderLanes = 0),\n finishQueueingConcurrentUpdates());\n return memoizedUpdaters;\n }\n function workLoopSync() {\n for (; null !== workInProgress; ) performUnitOfWork(workInProgress);\n }\n function renderRootConcurrent(root, lanes) {\n var prevExecutionContext = executionContext;\n executionContext |= RenderContext;\n var prevDispatcher = pushDispatcher(),\n prevAsyncDispatcher = pushAsyncDispatcher();\n if (\n workInProgressRoot !== root ||\n workInProgressRootRenderLanes !== lanes\n ) {\n if (isDevToolsPresent) {\n var memoizedUpdaters = root.memoizedUpdaters;\n 0 < memoizedUpdaters.size &&\n (restorePendingUpdaters(root, workInProgressRootRenderLanes),\n memoizedUpdaters.clear());\n movePendingFibersToMemoized(root, lanes);\n }\n workInProgressTransitions = null;\n workInProgressRootRenderTargetTime = now$1() + RENDER_TIMEOUT_MS;\n prepareFreshStack(root, lanes);\n } else\n workInProgressRootIsPrerendering = checkIfRootIsPrerendering(\n root,\n lanes\n );\n a: do\n try {\n if (\n workInProgressSuspendedReason !== NotSuspended &&\n null !== workInProgress\n )\n b: switch (\n ((lanes = workInProgress),\n (memoizedUpdaters = workInProgressThrownValue),\n workInProgressSuspendedReason)\n ) {\n case SuspendedOnError:\n workInProgressSuspendedReason = NotSuspended;\n workInProgressThrownValue = null;\n throwAndUnwindWorkLoop(\n root,\n lanes,\n memoizedUpdaters,\n SuspendedOnError\n );\n break;\n case SuspendedOnData:\n case SuspendedOnAction:\n if (isThenableResolved(memoizedUpdaters)) {\n workInProgressSuspendedReason = NotSuspended;\n workInProgressThrownValue = null;\n replaySuspendedUnitOfWork(lanes);\n break;\n }\n lanes = function () {\n (workInProgressSuspendedReason !== SuspendedOnData &&\n workInProgressSuspendedReason !== SuspendedOnAction) ||\n workInProgressRoot !== root ||\n (workInProgressSuspendedReason =\n SuspendedAndReadyToContinue);\n ensureRootIsScheduled(root);\n };\n memoizedUpdaters.then(lanes, lanes);\n break a;\n case SuspendedOnImmediate:\n workInProgressSuspendedReason = SuspendedAndReadyToContinue;\n break a;\n case SuspendedOnInstance:\n workInProgressSuspendedReason =\n SuspendedOnInstanceAndReadyToContinue;\n break a;\n case SuspendedAndReadyToContinue:\n isThenableResolved(memoizedUpdaters)\n ? ((workInProgressSuspendedReason = NotSuspended),\n (workInProgressThrownValue = null),\n replaySuspendedUnitOfWork(lanes))\n : ((workInProgressSuspendedReason = NotSuspended),\n (workInProgressThrownValue = null),\n throwAndUnwindWorkLoop(\n root,\n lanes,\n memoizedUpdaters,\n SuspendedAndReadyToContinue\n ));\n break;\n case SuspendedOnInstanceAndReadyToContinue:\n var resource = null;\n switch (workInProgress.tag) {\n case 26:\n resource = workInProgress.memoizedState;\n case 5:\n case 27:\n var hostFiber = workInProgress;\n if (\n resource\n ? preloadResource(resource)\n : hostFiber.stateNode.complete\n ) {\n workInProgressSuspendedReason = NotSuspended;\n workInProgressThrownValue = null;\n var sibling = hostFiber.sibling;\n if (null !== sibling) workInProgress = sibling;\n else {\n var returnFiber = hostFiber.return;\n null !== returnFiber\n ? ((workInProgress = returnFiber),\n completeUnitOfWork(returnFiber))\n : (workInProgress = null);\n }\n break b;\n }\n break;\n default:\n console.error(\n \"Unexpected type of fiber triggered a suspensey commit. This is a bug in React.\"\n );\n }\n workInProgressSuspendedReason = NotSuspended;\n workInProgressThrownValue = null;\n throwAndUnwindWorkLoop(\n root,\n lanes,\n memoizedUpdaters,\n SuspendedOnInstanceAndReadyToContinue\n );\n break;\n case SuspendedOnDeprecatedThrowPromise:\n workInProgressSuspendedReason = NotSuspended;\n workInProgressThrownValue = null;\n throwAndUnwindWorkLoop(\n root,\n lanes,\n memoizedUpdaters,\n SuspendedOnDeprecatedThrowPromise\n );\n break;\n case SuspendedOnHydration:\n resetWorkInProgressStack();\n workInProgressRootExitStatus = RootSuspendedAtTheShell;\n break a;\n default:\n throw Error(\n \"Unexpected SuspendedReason. This is a bug in React.\"\n );\n }\n null !== ReactSharedInternals.actQueue\n ? workLoopSync()\n : workLoopConcurrentByScheduler();\n break;\n } catch (thrownValue$9) {\n handleThrow(root, thrownValue$9);\n }\n while (1);\n resetContextDependencies();\n ReactSharedInternals.H = prevDispatcher;\n ReactSharedInternals.A = prevAsyncDispatcher;\n executionContext = prevExecutionContext;\n if (null !== workInProgress) return RootInProgress;\n workInProgressRoot = null;\n workInProgressRootRenderLanes = 0;\n finishQueueingConcurrentUpdates();\n return workInProgressRootExitStatus;\n }\n function workLoopConcurrentByScheduler() {\n for (; null !== workInProgress && !shouldYield(); )\n performUnitOfWork(workInProgress);\n }\n function performUnitOfWork(unitOfWork) {\n var current = unitOfWork.alternate;\n (unitOfWork.mode & ProfileMode) !== NoMode\n ? (startProfilerTimer(unitOfWork),\n (current = runWithFiberInDEV(\n unitOfWork,\n beginWork,\n current,\n unitOfWork,\n entangledRenderLanes\n )),\n stopProfilerTimerIfRunningAndRecordDuration(unitOfWork))\n : (current = runWithFiberInDEV(\n unitOfWork,\n beginWork,\n current,\n unitOfWork,\n entangledRenderLanes\n ));\n unitOfWork.memoizedProps = unitOfWork.pendingProps;\n null === current\n ? completeUnitOfWork(unitOfWork)\n : (workInProgress = current);\n }\n function replaySuspendedUnitOfWork(unitOfWork) {\n var next = runWithFiberInDEV(unitOfWork, replayBeginWork, unitOfWork);\n unitOfWork.memoizedProps = unitOfWork.pendingProps;\n null === next ? completeUnitOfWork(unitOfWork) : (workInProgress = next);\n }\n function replayBeginWork(unitOfWork) {\n var current = unitOfWork.alternate,\n isProfilingMode = (unitOfWork.mode & ProfileMode) !== NoMode;\n isProfilingMode && startProfilerTimer(unitOfWork);\n switch (unitOfWork.tag) {\n case 15:\n case 0:\n current = replayFunctionComponent(\n current,\n unitOfWork,\n unitOfWork.pendingProps,\n unitOfWork.type,\n void 0,\n workInProgressRootRenderLanes\n );\n break;\n case 11:\n current = replayFunctionComponent(\n current,\n unitOfWork,\n unitOfWork.pendingProps,\n unitOfWork.type.render,\n unitOfWork.ref,\n workInProgressRootRenderLanes\n );\n break;\n case 5:\n resetHooksOnUnwind(unitOfWork);\n default:\n unwindInterruptedWork(current, unitOfWork),\n (unitOfWork = workInProgress =\n resetWorkInProgress(unitOfWork, entangledRenderLanes)),\n (current = beginWork(current, unitOfWork, entangledRenderLanes));\n }\n isProfilingMode &&\n stopProfilerTimerIfRunningAndRecordDuration(unitOfWork);\n return current;\n }\n function throwAndUnwindWorkLoop(\n root,\n unitOfWork,\n thrownValue,\n suspendedReason\n ) {\n resetContextDependencies();\n resetHooksOnUnwind(unitOfWork);\n thenableState$1 = null;\n thenableIndexCounter$1 = 0;\n var returnFiber = unitOfWork.return;\n try {\n if (\n throwException(\n root,\n returnFiber,\n unitOfWork,\n thrownValue,\n workInProgressRootRenderLanes\n )\n ) {\n workInProgressRootExitStatus = RootFatalErrored;\n logUncaughtError(\n root,\n createCapturedValueAtFiber(thrownValue, root.current)\n );\n workInProgress = null;\n return;\n }\n } catch (error) {\n if (null !== returnFiber) throw ((workInProgress = returnFiber), error);\n workInProgressRootExitStatus = RootFatalErrored;\n logUncaughtError(\n root,\n createCapturedValueAtFiber(thrownValue, root.current)\n );\n workInProgress = null;\n return;\n }\n if (unitOfWork.flags & 32768) {\n if (isHydrating || suspendedReason === SuspendedOnError) root = !0;\n else if (\n workInProgressRootIsPrerendering ||\n 0 !== (workInProgressRootRenderLanes & 536870912)\n )\n root = !1;\n else if (\n ((workInProgressRootDidSkipSuspendedSiblings = root = !0),\n suspendedReason === SuspendedOnData ||\n suspendedReason === SuspendedOnAction ||\n suspendedReason === SuspendedOnImmediate ||\n suspendedReason === SuspendedOnDeprecatedThrowPromise)\n )\n (suspendedReason = suspenseHandlerStackCursor.current),\n null !== suspendedReason &&\n 13 === suspendedReason.tag &&\n (suspendedReason.flags |= 16384);\n unwindUnitOfWork(unitOfWork, root);\n } else completeUnitOfWork(unitOfWork);\n }\n function completeUnitOfWork(unitOfWork) {\n var completedWork = unitOfWork;\n do {\n if (0 !== (completedWork.flags & 32768)) {\n unwindUnitOfWork(\n completedWork,\n workInProgressRootDidSkipSuspendedSiblings\n );\n return;\n }\n var current = completedWork.alternate;\n unitOfWork = completedWork.return;\n startProfilerTimer(completedWork);\n current = runWithFiberInDEV(\n completedWork,\n completeWork,\n current,\n completedWork,\n entangledRenderLanes\n );\n (completedWork.mode & ProfileMode) !== NoMode &&\n stopProfilerTimerIfRunningAndRecordIncompleteDuration(completedWork);\n if (null !== current) {\n workInProgress = current;\n return;\n }\n completedWork = completedWork.sibling;\n if (null !== completedWork) {\n workInProgress = completedWork;\n return;\n }\n workInProgress = completedWork = unitOfWork;\n } while (null !== completedWork);\n workInProgressRootExitStatus === RootInProgress &&\n (workInProgressRootExitStatus = RootCompleted);\n }\n function unwindUnitOfWork(unitOfWork, skipSiblings) {\n do {\n var next = unwindWork(unitOfWork.alternate, unitOfWork);\n if (null !== next) {\n next.flags &= 32767;\n workInProgress = next;\n return;\n }\n if ((unitOfWork.mode & ProfileMode) !== NoMode) {\n stopProfilerTimerIfRunningAndRecordIncompleteDuration(unitOfWork);\n next = unitOfWork.actualDuration;\n for (var child = unitOfWork.child; null !== child; )\n (next += child.actualDuration), (child = child.sibling);\n unitOfWork.actualDuration = next;\n }\n next = unitOfWork.return;\n null !== next &&\n ((next.flags |= 32768),\n (next.subtreeFlags = 0),\n (next.deletions = null));\n if (\n !skipSiblings &&\n ((unitOfWork = unitOfWork.sibling), null !== unitOfWork)\n ) {\n workInProgress = unitOfWork;\n return;\n }\n workInProgress = unitOfWork = next;\n } while (null !== unitOfWork);\n workInProgressRootExitStatus = RootSuspendedAtTheShell;\n workInProgress = null;\n }\n function commitRoot(\n root,\n finishedWork,\n lanes,\n recoverableErrors,\n transitions,\n didIncludeRenderPhaseUpdate,\n spawnedLane,\n updatedLanes,\n suspendedRetryLanes,\n exitStatus,\n suspendedState,\n suspendedCommitReason,\n completedRenderStartTime,\n completedRenderEndTime\n ) {\n root.cancelPendingCommit = null;\n do flushPendingEffects();\n while (pendingEffectsStatus !== NO_PENDING_EFFECTS);\n ReactStrictModeWarnings.flushLegacyContextWarning();\n ReactStrictModeWarnings.flushPendingUnsafeLifecycleWarnings();\n if ((executionContext & (RenderContext | CommitContext)) !== NoContext)\n throw Error(\"Should not already be working.\");\n setCurrentTrackFromLanes(lanes);\n exitStatus === RootErrored\n ? logErroredRenderPhase(\n completedRenderStartTime,\n completedRenderEndTime,\n lanes,\n workInProgressUpdateTask\n )\n : null !== recoverableErrors\n ? logRecoveredRenderPhase(\n completedRenderStartTime,\n completedRenderEndTime,\n lanes,\n recoverableErrors,\n null !== finishedWork &&\n null !== finishedWork.alternate &&\n finishedWork.alternate.memoizedState.isDehydrated &&\n 0 !== (finishedWork.flags & 256),\n workInProgressUpdateTask\n )\n : logRenderPhase(\n completedRenderStartTime,\n completedRenderEndTime,\n lanes,\n workInProgressUpdateTask\n );\n if (null !== finishedWork) {\n 0 === lanes &&\n console.error(\n \"finishedLanes should not be empty during a commit. This is a bug in React.\"\n );\n if (finishedWork === root.current)\n throw Error(\n \"Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.\"\n );\n didIncludeRenderPhaseUpdate =\n finishedWork.lanes | finishedWork.childLanes;\n didIncludeRenderPhaseUpdate |= concurrentlyUpdatedLanes;\n markRootFinished(\n root,\n lanes,\n didIncludeRenderPhaseUpdate,\n spawnedLane,\n updatedLanes,\n suspendedRetryLanes\n );\n root === workInProgressRoot &&\n ((workInProgress = workInProgressRoot = null),\n (workInProgressRootRenderLanes = 0));\n pendingFinishedWork = finishedWork;\n pendingEffectsRoot = root;\n pendingEffectsLanes = lanes;\n pendingEffectsRemainingLanes = didIncludeRenderPhaseUpdate;\n pendingPassiveTransitions = transitions;\n pendingRecoverableErrors = recoverableErrors;\n pendingEffectsRenderEndTime = completedRenderEndTime;\n pendingSuspendedCommitReason = suspendedCommitReason;\n pendingDelayedCommitReason = IMMEDIATE_COMMIT;\n pendingViewTransitionEvents = pendingSuspendedViewTransitionReason =\n null;\n (lanes & 335544064) === lanes\n ? ((pendingTransitionTypes = claimQueuedTransitionTypes(root)),\n (recoverableErrors = 10262))\n : ((pendingTransitionTypes = null), (recoverableErrors = 10256));\n 0 !== finishedWork.actualDuration ||\n 0 !== (finishedWork.subtreeFlags & recoverableErrors) ||\n 0 !== (finishedWork.flags & recoverableErrors)\n ? ((root.callbackNode = null),\n (root.callbackPriority = 0),\n scheduleCallback$1(NormalPriority$1, function () {\n schedulerEvent = window.event;\n pendingDelayedCommitReason === IMMEDIATE_COMMIT &&\n (pendingDelayedCommitReason = DELAYED_PASSIVE_COMMIT);\n flushPassiveEffects();\n return null;\n }))\n : ((root.callbackNode = null), (root.callbackPriority = 0));\n commitErrors = null;\n commitStartTime = now();\n null !== suspendedCommitReason &&\n logSuspendedCommitPhase(\n completedRenderEndTime,\n commitStartTime,\n suspendedCommitReason,\n workInProgressUpdateTask\n );\n shouldStartViewTransition = !1;\n suspendedCommitReason = 0 !== (finishedWork.flags & 13878);\n if (\n 0 !== (finishedWork.subtreeFlags & 13878) ||\n suspendedCommitReason\n ) {\n suspendedCommitReason = ReactSharedInternals.T;\n ReactSharedInternals.T = null;\n completedRenderEndTime = ReactDOMSharedInternals.p;\n ReactDOMSharedInternals.p = DiscreteEventPriority;\n recoverableErrors = executionContext;\n executionContext |= CommitContext;\n try {\n commitBeforeMutationEffects(root, finishedWork, lanes);\n } finally {\n (executionContext = recoverableErrors),\n (ReactDOMSharedInternals.p = completedRenderEndTime),\n (ReactSharedInternals.T = suspendedCommitReason);\n }\n }\n finishedWork = shouldStartViewTransition;\n pendingEffectsStatus = PENDING_MUTATION_PHASE;\n finishedWork\n ? ((animatingLanes |= lanes),\n (animatingTask = null),\n (pendingViewTransition = startViewTransition(\n suspendedState,\n root.containerInfo,\n pendingTransitionTypes,\n flushMutationEffects,\n flushLayoutEffects,\n flushAfterMutationEffects,\n flushSpawnedWork,\n flushPassiveEffects,\n reportViewTransitionError,\n suspendedViewTransition,\n finishedViewTransition.bind(null, lanes)\n )))\n : (flushMutationEffects(), flushLayoutEffects(), flushSpawnedWork());\n }\n }\n function reportViewTransitionError(error) {\n if (pendingEffectsStatus !== NO_PENDING_EFFECTS) {\n var onRecoverableError = pendingEffectsRoot.onRecoverableError;\n onRecoverableError(error, makeErrorInfo(null));\n }\n }\n function suspendedViewTransition(reason) {\n commitEndTime = now();\n logCommitPhase(\n null === pendingSuspendedCommitReason\n ? pendingEffectsRenderEndTime\n : commitStartTime,\n commitEndTime,\n commitErrors,\n pendingDelayedCommitReason === ABORTED_VIEW_TRANSITION_COMMIT,\n workInProgressUpdateTask\n );\n pendingSuspendedCommitReason = pendingSuspendedViewTransitionReason =\n reason;\n }\n function finishedViewTransition(lanes) {\n if (0 !== (animatingLanes & lanes)) {\n var task = animatingTask;\n animatingLanes &= ~lanes;\n animatingTask = null;\n 0 !== (lanes & 4194048) &&\n 0 === (workInProgressRootRenderLanes & 4194048) &&\n 0 === (pendingEffectsLanes & 4194048) &&\n (setCurrentTrackFromLanes(256),\n logAnimatingPhase(transitionClampTime, now$1(), task));\n 0 !== (lanes & 62914560) &&\n 0 === (workInProgressRootRenderLanes & 62914560) &&\n 0 === (pendingEffectsLanes & 62914560) &&\n (setCurrentTrackFromLanes(4194304),\n logAnimatingPhase(retryClampTime, now$1(), task));\n 0 !== (lanes & 2080374784) &&\n 0 === (workInProgressRootRenderLanes & 2080374784) &&\n 0 === (pendingEffectsLanes & 2080374784) &&\n (setCurrentTrackFromLanes(268435456),\n logAnimatingPhase(idleClampTime, now$1(), task));\n }\n }\n function flushAfterMutationEffects() {\n pendingEffectsStatus === PENDING_AFTER_MUTATION_PHASE &&\n ((pendingEffectsStatus = NO_PENDING_EFFECTS),\n commitAfterMutationEffectsOnFiber(\n pendingFinishedWork,\n pendingEffectsRoot\n ),\n (pendingEffectsStatus = PENDING_SPAWNED_WORK));\n }\n function flushMutationEffects() {\n if (pendingEffectsStatus === PENDING_MUTATION_PHASE) {\n pendingEffectsStatus = NO_PENDING_EFFECTS;\n var root = pendingEffectsRoot,\n finishedWork = pendingFinishedWork,\n lanes = pendingEffectsLanes,\n rootMutationHasEffect = 0 !== (finishedWork.flags & 13878);\n if (\n 0 !== (finishedWork.subtreeFlags & 13878) ||\n rootMutationHasEffect\n ) {\n rootMutationHasEffect = ReactSharedInternals.T;\n ReactSharedInternals.T = null;\n var previousPriority = ReactDOMSharedInternals.p;\n ReactDOMSharedInternals.p = DiscreteEventPriority;\n var prevExecutionContext = executionContext;\n executionContext |= CommitContext;\n try {\n inProgressLanes = lanes;\n inProgressRoot = root;\n inUpdateViewTransition = rootViewTransitionAffected = !1;\n resetComponentEffectTimers();\n commitMutationEffectsOnFiber(finishedWork, root, lanes);\n inProgressRoot = inProgressLanes = null;\n lanes = selectionInformation;\n var curFocusedElem = getActiveElementDeep(root.containerInfo),\n priorFocusedElem = lanes.focusedElem,\n priorSelectionRange = lanes.selectionRange;\n if (\n curFocusedElem !== priorFocusedElem &&\n priorFocusedElem &&\n priorFocusedElem.ownerDocument &&\n containsNode(\n priorFocusedElem.ownerDocument.documentElement,\n priorFocusedElem\n )\n ) {\n if (\n null !== priorSelectionRange &&\n hasSelectionCapabilities(priorFocusedElem)\n ) {\n var start = priorSelectionRange.start,\n end = priorSelectionRange.end;\n void 0 === end && (end = start);\n if (\"selectionStart\" in priorFocusedElem)\n (priorFocusedElem.selectionStart = start),\n (priorFocusedElem.selectionEnd = Math.min(\n end,\n priorFocusedElem.value.length\n ));\n else {\n var doc = priorFocusedElem.ownerDocument || document,\n win = (doc && doc.defaultView) || window;\n if (win.getSelection) {\n var selection = win.getSelection(),\n length = priorFocusedElem.textContent.length,\n start$jscomp$0 = Math.min(\n priorSelectionRange.start,\n length\n ),\n end$jscomp$0 =\n void 0 === priorSelectionRange.end\n ? start$jscomp$0\n : Math.min(priorSelectionRange.end, length);\n !selection.extend &&\n start$jscomp$0 > end$jscomp$0 &&\n ((curFocusedElem = end$jscomp$0),\n (end$jscomp$0 = start$jscomp$0),\n (start$jscomp$0 = curFocusedElem));\n var startMarker = getNodeForCharacterOffset(\n priorFocusedElem,\n start$jscomp$0\n ),\n endMarker = getNodeForCharacterOffset(\n priorFocusedElem,\n end$jscomp$0\n );\n if (\n startMarker &&\n endMarker &&\n (1 !== selection.rangeCount ||\n selection.anchorNode !== startMarker.node ||\n selection.anchorOffset !== startMarker.offset ||\n selection.focusNode !== endMarker.node ||\n selection.focusOffset !== endMarker.offset)\n ) {\n var range = doc.createRange();\n range.setStart(startMarker.node, startMarker.offset);\n selection.removeAllRanges();\n start$jscomp$0 > end$jscomp$0\n ? (selection.addRange(range),\n selection.extend(endMarker.node, endMarker.offset))\n : (range.setEnd(endMarker.node, endMarker.offset),\n selection.addRange(range));\n }\n }\n }\n }\n doc = [];\n for (\n selection = priorFocusedElem;\n (selection = selection.parentNode);\n\n )\n 1 === selection.nodeType &&\n doc.push({\n element: selection,\n left: selection.scrollLeft,\n top: selection.scrollTop\n });\n \"function\" === typeof priorFocusedElem.focus &&\n priorFocusedElem.focus();\n for (\n priorFocusedElem = 0;\n priorFocusedElem < doc.length;\n priorFocusedElem++\n ) {\n var info = doc[priorFocusedElem];\n info.element.scrollLeft = info.left;\n info.element.scrollTop = info.top;\n }\n }\n _enabled = !!eventsEnabled;\n selectionInformation = eventsEnabled = null;\n } finally {\n (executionContext = prevExecutionContext),\n (ReactDOMSharedInternals.p = previousPriority),\n (ReactSharedInternals.T = rootMutationHasEffect);\n }\n }\n root.current = finishedWork;\n pendingEffectsStatus = PENDING_LAYOUT_PHASE;\n }\n }\n function flushLayoutEffects() {\n if (pendingEffectsStatus === PENDING_LAYOUT_PHASE) {\n pendingEffectsStatus = NO_PENDING_EFFECTS;\n var suspendedViewTransitionReason =\n pendingSuspendedViewTransitionReason;\n if (null !== suspendedViewTransitionReason) {\n commitStartTime = now();\n var startTime = commitEndTime,\n endTime = commitStartTime;\n !supportsUserTiming ||\n endTime <= startTime ||\n (animatingTask\n ? animatingTask.run(\n console.timeStamp.bind(\n console,\n suspendedViewTransitionReason,\n startTime,\n endTime,\n currentTrack,\n LANES_TRACK_GROUP,\n \"secondary-light\"\n )\n )\n : console.timeStamp(\n suspendedViewTransitionReason,\n startTime,\n endTime,\n currentTrack,\n LANES_TRACK_GROUP,\n \"secondary-light\"\n ));\n }\n suspendedViewTransitionReason = pendingEffectsRoot;\n startTime = pendingFinishedWork;\n endTime = pendingEffectsLanes;\n var rootHasLayoutEffect = 0 !== (startTime.flags & 8772);\n if (0 !== (startTime.subtreeFlags & 8772) || rootHasLayoutEffect) {\n rootHasLayoutEffect = ReactSharedInternals.T;\n ReactSharedInternals.T = null;\n var _previousPriority = ReactDOMSharedInternals.p;\n ReactDOMSharedInternals.p = DiscreteEventPriority;\n var _prevExecutionContext = executionContext;\n executionContext |= CommitContext;\n try {\n (inProgressLanes = endTime),\n (inProgressRoot = suspendedViewTransitionReason),\n resetComponentEffectTimers(),\n commitLayoutEffectOnFiber(\n suspendedViewTransitionReason,\n startTime.alternate,\n startTime\n ),\n (inProgressRoot = inProgressLanes = null);\n } finally {\n (executionContext = _prevExecutionContext),\n (ReactDOMSharedInternals.p = _previousPriority),\n (ReactSharedInternals.T = rootHasLayoutEffect);\n }\n }\n suspendedViewTransitionReason = pendingEffectsRenderEndTime;\n startTime = pendingSuspendedCommitReason;\n commitEndTime = now();\n logCommitPhase(\n null === startTime ? suspendedViewTransitionReason : commitStartTime,\n commitEndTime,\n commitErrors,\n pendingDelayedCommitReason === ABORTED_VIEW_TRANSITION_COMMIT,\n workInProgressUpdateTask\n );\n pendingEffectsStatus = PENDING_AFTER_MUTATION_PHASE;\n }\n }\n function flushSpawnedWork() {\n if (\n pendingEffectsStatus === PENDING_SPAWNED_WORK ||\n pendingEffectsStatus === PENDING_AFTER_MUTATION_PHASE\n ) {\n if (pendingEffectsStatus === PENDING_SPAWNED_WORK) {\n var startViewTransitionStartTime = commitEndTime;\n commitEndTime = now();\n var endTime = commitEndTime,\n abortedViewTransition =\n pendingDelayedCommitReason === ABORTED_VIEW_TRANSITION_COMMIT;\n !supportsUserTiming ||\n endTime <= startViewTransitionStartTime ||\n (animatingTask\n ? animatingTask.run(\n console.timeStamp.bind(\n console,\n abortedViewTransition\n ? \"Interrupted View Transition\"\n : \"Starting Animation\",\n startViewTransitionStartTime,\n endTime,\n currentTrack,\n LANES_TRACK_GROUP,\n abortedViewTransition ? \"error\" : \"secondary-light\"\n )\n )\n : console.timeStamp(\n abortedViewTransition\n ? \"Interrupted View Transition\"\n : \"Starting Animation\",\n startViewTransitionStartTime,\n endTime,\n currentTrack,\n LANES_TRACK_GROUP,\n abortedViewTransition ? \" error\" : \"secondary-light\"\n ));\n pendingDelayedCommitReason !== ABORTED_VIEW_TRANSITION_COMMIT &&\n (pendingDelayedCommitReason = ANIMATION_STARTED_COMMIT);\n }\n pendingEffectsStatus = NO_PENDING_EFFECTS;\n pendingViewTransition = null;\n requestPaint();\n startViewTransitionStartTime = pendingEffectsRoot;\n var finishedWork = pendingFinishedWork;\n endTime = pendingEffectsLanes;\n var recoverableErrors = pendingRecoverableErrors;\n abortedViewTransition =\n (endTime & 335544064) === endTime ? 10262 : 10256;\n (abortedViewTransition =\n 0 !== finishedWork.actualDuration ||\n 0 !== (finishedWork.subtreeFlags & abortedViewTransition) ||\n 0 !== (finishedWork.flags & abortedViewTransition))\n ? (pendingEffectsStatus = PENDING_PASSIVE_PHASE)\n : ((pendingEffectsStatus = NO_PENDING_EFFECTS),\n (pendingFinishedWork = pendingEffectsRoot = null),\n releaseRootPooledCache(\n startViewTransitionStartTime,\n startViewTransitionStartTime.pendingLanes\n ),\n (nestedPassiveUpdateCount = 0),\n (rootWithPassiveNestedUpdates = null));\n var remainingLanes = startViewTransitionStartTime.pendingLanes;\n 0 === remainingLanes && (legacyErrorBoundariesThatAlreadyFailed = null);\n abortedViewTransition ||\n commitDoubleInvokeEffectsInDEV(startViewTransitionStartTime);\n remainingLanes = lanesToEventPriority(endTime);\n finishedWork = finishedWork.stateNode;\n if (\n injectedHook &&\n \"function\" === typeof injectedHook.onCommitFiberRoot\n )\n try {\n var didError = 128 === (finishedWork.current.flags & 128);\n switch (remainingLanes) {\n case DiscreteEventPriority:\n var schedulerPriority = ImmediatePriority;\n break;\n case ContinuousEventPriority:\n schedulerPriority = UserBlockingPriority;\n break;\n case DefaultEventPriority:\n schedulerPriority = NormalPriority$1;\n break;\n case IdleEventPriority:\n schedulerPriority = IdlePriority;\n break;\n default:\n schedulerPriority = NormalPriority$1;\n }\n injectedHook.onCommitFiberRoot(\n rendererID,\n finishedWork,\n schedulerPriority,\n didError\n );\n } catch (err) {\n hasLoggedError ||\n ((hasLoggedError = !0),\n console.error(\n \"React instrumentation encountered an error: %o\",\n err\n ));\n }\n isDevToolsPresent &&\n startViewTransitionStartTime.memoizedUpdaters.clear();\n onCommitRoot();\n if (null !== recoverableErrors) {\n didError = ReactSharedInternals.T;\n schedulerPriority = ReactDOMSharedInternals.p;\n ReactDOMSharedInternals.p = DiscreteEventPriority;\n ReactSharedInternals.T = null;\n try {\n var onRecoverableError =\n startViewTransitionStartTime.onRecoverableError;\n for (\n finishedWork = 0;\n finishedWork < recoverableErrors.length;\n finishedWork++\n ) {\n var recoverableError = recoverableErrors[finishedWork],\n errorInfo = makeErrorInfo(recoverableError.stack);\n runWithFiberInDEV(\n recoverableError.source,\n onRecoverableError,\n recoverableError.value,\n errorInfo\n );\n }\n } finally {\n (ReactSharedInternals.T = didError),\n (ReactDOMSharedInternals.p = schedulerPriority);\n }\n }\n onRecoverableError = pendingViewTransitionEvents;\n recoverableError = pendingTransitionTypes;\n pendingTransitionTypes = null;\n if (null !== onRecoverableError)\n for (\n pendingViewTransitionEvents = null,\n null === recoverableError && (recoverableError = []),\n errorInfo = 0;\n errorInfo < onRecoverableError.length;\n errorInfo++\n )\n (0, onRecoverableError[errorInfo])(recoverableError);\n 0 !== (pendingEffectsLanes & 3) && flushPendingEffects();\n ensureRootIsScheduled(startViewTransitionStartTime);\n remainingLanes = startViewTransitionStartTime.pendingLanes;\n 0 !== (endTime & 261930) && 0 !== (remainingLanes & 42)\n ? ((nestedUpdateScheduled = !0),\n startViewTransitionStartTime === rootWithNestedUpdates\n ? nestedUpdateCount++\n : ((nestedUpdateCount = 0),\n (rootWithNestedUpdates = startViewTransitionStartTime)))\n : (nestedUpdateCount = 0);\n abortedViewTransition || finalizeRender(endTime, commitEndTime);\n flushSyncWorkAcrossRoots_impl(0, !1);\n }\n }\n function makeErrorInfo(componentStack) {\n componentStack = { componentStack: componentStack };\n Object.defineProperty(componentStack, \"digest\", {\n get: function () {\n console.error(\n 'You are accessing \"digest\" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.'\n );\n }\n });\n return componentStack;\n }\n function releaseRootPooledCache(root, remainingLanes) {\n 0 === (root.pooledCacheLanes &= remainingLanes) &&\n ((remainingLanes = root.pooledCache),\n null != remainingLanes &&\n ((root.pooledCache = null), releaseCache(remainingLanes)));\n }\n function flushPendingEffects() {\n null !== pendingViewTransition &&\n (pendingViewTransition.skipTransition(),\n didWarnAboutInterruptedViewTransitions ||\n ((didWarnAboutInterruptedViewTransitions = !0),\n console.warn(\n \"A flushSync update cancelled a View Transition because it was called while the View Transition was still preparing. To preserve the synchronous semantics, React had to skip the View Transition. If you can, try to avoid flushSync() in a scenario that's likely to interfere.\"\n )),\n (pendingViewTransition = null),\n (pendingDelayedCommitReason = ABORTED_VIEW_TRANSITION_COMMIT));\n flushMutationEffects();\n flushLayoutEffects();\n flushSpawnedWork();\n return flushPassiveEffects();\n }\n function flushPassiveEffects() {\n if (pendingEffectsStatus !== PENDING_PASSIVE_PHASE) return !1;\n var root = pendingEffectsRoot,\n remainingLanes = pendingEffectsRemainingLanes;\n pendingEffectsRemainingLanes = 0;\n var renderPriority = lanesToEventPriority(pendingEffectsLanes),\n priority =\n 0 === DefaultEventPriority || DefaultEventPriority > renderPriority\n ? DefaultEventPriority\n : renderPriority;\n renderPriority = ReactSharedInternals.T;\n var previousPriority = ReactDOMSharedInternals.p;\n try {\n ReactDOMSharedInternals.p = priority;\n ReactSharedInternals.T = null;\n var transitions = pendingPassiveTransitions;\n pendingPassiveTransitions = null;\n priority = pendingEffectsRoot;\n var lanes = pendingEffectsLanes;\n pendingEffectsStatus = NO_PENDING_EFFECTS;\n pendingFinishedWork = pendingEffectsRoot = null;\n pendingEffectsLanes = 0;\n if ((executionContext & (RenderContext | CommitContext)) !== NoContext)\n throw Error(\"Cannot flush passive effects while already rendering.\");\n setCurrentTrackFromLanes(lanes);\n isFlushingPassiveEffects = !0;\n didScheduleUpdateDuringPassiveEffects = !1;\n var passiveEffectStartTime = 0;\n commitErrors = null;\n passiveEffectStartTime = now$1();\n if (pendingDelayedCommitReason === ANIMATION_STARTED_COMMIT)\n logAnimatingPhase(\n commitEndTime,\n passiveEffectStartTime,\n animatingTask\n );\n else {\n var startTime = commitEndTime,\n endTime = passiveEffectStartTime,\n delayedUntilPaint =\n pendingDelayedCommitReason === DELAYED_PASSIVE_COMMIT;\n !supportsUserTiming ||\n endTime <= startTime ||\n (workInProgressUpdateTask\n ? workInProgressUpdateTask.run(\n console.timeStamp.bind(\n console,\n delayedUntilPaint ? \"Waiting for Paint\" : \"Waiting\",\n startTime,\n endTime,\n currentTrack,\n LANES_TRACK_GROUP,\n \"secondary-light\"\n )\n )\n : console.timeStamp(\n delayedUntilPaint ? \"Waiting for Paint\" : \"Waiting\",\n startTime,\n endTime,\n currentTrack,\n LANES_TRACK_GROUP,\n \"secondary-light\"\n ));\n }\n startTime = executionContext;\n executionContext |= CommitContext;\n var finishedWork = priority.current;\n resetComponentEffectTimers();\n commitPassiveUnmountOnFiber(finishedWork);\n var finishedWork$jscomp$0 = priority.current;\n finishedWork = pendingEffectsRenderEndTime;\n resetComponentEffectTimers();\n commitPassiveMountOnFiber(\n priority,\n finishedWork$jscomp$0,\n lanes,\n transitions,\n finishedWork\n );\n commitDoubleInvokeEffectsInDEV(priority);\n executionContext = startTime;\n var passiveEffectsEndTime = now$1();\n finishedWork$jscomp$0 = passiveEffectStartTime;\n finishedWork = workInProgressUpdateTask;\n null !== commitErrors\n ? logCommitErrored(\n finishedWork$jscomp$0,\n passiveEffectsEndTime,\n commitErrors,\n !0,\n finishedWork\n )\n : !supportsUserTiming ||\n passiveEffectsEndTime <= finishedWork$jscomp$0 ||\n (finishedWork\n ? finishedWork.run(\n console.timeStamp.bind(\n console,\n \"Remaining Effects\",\n finishedWork$jscomp$0,\n passiveEffectsEndTime,\n currentTrack,\n LANES_TRACK_GROUP,\n \"secondary-dark\"\n )\n )\n : console.timeStamp(\n \"Remaining Effects\",\n finishedWork$jscomp$0,\n passiveEffectsEndTime,\n currentTrack,\n LANES_TRACK_GROUP,\n \"secondary-dark\"\n ));\n finalizeRender(lanes, passiveEffectsEndTime);\n flushSyncWorkAcrossRoots_impl(0, !1);\n didScheduleUpdateDuringPassiveEffects\n ? priority === rootWithPassiveNestedUpdates\n ? nestedPassiveUpdateCount++\n : ((nestedPassiveUpdateCount = 0),\n (rootWithPassiveNestedUpdates = priority))\n : (nestedPassiveUpdateCount = 0);\n didScheduleUpdateDuringPassiveEffects = isFlushingPassiveEffects = !1;\n if (\n injectedHook &&\n \"function\" === typeof injectedHook.onPostCommitFiberRoot\n )\n try {\n injectedHook.onPostCommitFiberRoot(rendererID, priority);\n } catch (err) {\n hasLoggedError ||\n ((hasLoggedError = !0),\n console.error(\n \"React instrumentation encountered an error: %o\",\n err\n ));\n }\n var stateNode = priority.current.stateNode;\n stateNode.effectDuration = 0;\n stateNode.passiveEffectDuration = 0;\n return !0;\n } finally {\n (ReactDOMSharedInternals.p = previousPriority),\n (ReactSharedInternals.T = renderPriority),\n releaseRootPooledCache(root, remainingLanes);\n }\n }\n function captureCommitPhaseErrorOnRoot(rootFiber, sourceFiber, error) {\n sourceFiber = createCapturedValueAtFiber(error, sourceFiber);\n recordEffectError(sourceFiber);\n sourceFiber = createRootErrorUpdate(rootFiber.stateNode, sourceFiber, 2);\n rootFiber = enqueueUpdate(rootFiber, sourceFiber, 2);\n null !== rootFiber &&\n (markRootUpdated$1(rootFiber, 2), ensureRootIsScheduled(rootFiber));\n }\n function captureCommitPhaseError(\n sourceFiber,\n nearestMountedAncestor,\n error\n ) {\n isRunningInsertionEffect = !1;\n if (3 === sourceFiber.tag)\n captureCommitPhaseErrorOnRoot(sourceFiber, sourceFiber, error);\n else {\n for (; null !== nearestMountedAncestor; ) {\n if (3 === nearestMountedAncestor.tag) {\n captureCommitPhaseErrorOnRoot(\n nearestMountedAncestor,\n sourceFiber,\n error\n );\n return;\n }\n if (1 === nearestMountedAncestor.tag) {\n var instance = nearestMountedAncestor.stateNode;\n if (\n \"function\" ===\n typeof nearestMountedAncestor.type.getDerivedStateFromError ||\n (\"function\" === typeof instance.componentDidCatch &&\n (null === legacyErrorBoundariesThatAlreadyFailed ||\n !legacyErrorBoundariesThatAlreadyFailed.has(instance)))\n ) {\n sourceFiber = createCapturedValueAtFiber(error, sourceFiber);\n recordEffectError(sourceFiber);\n error = createClassErrorUpdate(2);\n instance = enqueueUpdate(nearestMountedAncestor, error, 2);\n null !== instance &&\n (initializeClassErrorUpdate(\n error,\n instance,\n nearestMountedAncestor,\n sourceFiber\n ),\n markRootUpdated$1(instance, 2),\n ensureRootIsScheduled(instance));\n return;\n }\n }\n nearestMountedAncestor = nearestMountedAncestor.return;\n }\n console.error(\n \"Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.\\n\\nError message:\\n\\n%s\",\n error\n );\n }\n }\n function attachPingListener(root, wakeable, lanes) {\n var pingCache = root.pingCache;\n if (null === pingCache) {\n pingCache = root.pingCache = new PossiblyWeakMap();\n var threadIDs = new Set();\n pingCache.set(wakeable, threadIDs);\n } else\n (threadIDs = pingCache.get(wakeable)),\n void 0 === threadIDs &&\n ((threadIDs = new Set()), pingCache.set(wakeable, threadIDs));\n threadIDs.has(lanes) ||\n ((workInProgressRootDidAttachPingListener = !0),\n threadIDs.add(lanes),\n (pingCache = pingSuspendedRoot.bind(null, root, wakeable, lanes)),\n isDevToolsPresent && restorePendingUpdaters(root, lanes),\n wakeable.then(pingCache, pingCache));\n }\n function pingSuspendedRoot(root, wakeable, pingedLanes) {\n var pingCache = root.pingCache;\n null !== pingCache && pingCache.delete(wakeable);\n root.pingedLanes |= root.suspendedLanes & pingedLanes;\n root.warmLanes &= ~pingedLanes;\n 0 !== (pingedLanes & 127)\n ? 0 > blockingUpdateTime &&\n ((blockingClampTime = blockingUpdateTime = now()),\n (blockingUpdateTask = createTask(\"Promise Resolved\")),\n (blockingUpdateType = PINGED_UPDATE))\n : 0 !== (pingedLanes & 4194048) &&\n 0 > transitionUpdateTime &&\n ((transitionClampTime = transitionUpdateTime = now()),\n (transitionUpdateTask = createTask(\"Promise Resolved\")),\n (transitionUpdateType = PINGED_UPDATE));\n isConcurrentActEnvironment() &&\n null === ReactSharedInternals.actQueue &&\n console.error(\n \"A suspended resource finished loading inside a test, but the event was not wrapped in act(...).\\n\\nWhen testing, code that resolves suspended data should be wrapped into act(...):\\n\\nact(() => {\\n /* finish loading suspended data */\\n});\\n/* assert on the output */\\n\\nThis ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act\"\n );\n workInProgressRoot === root &&\n (workInProgressRootRenderLanes & pingedLanes) === pingedLanes &&\n (workInProgressRootExitStatus === RootSuspendedWithDelay ||\n (workInProgressRootExitStatus === RootSuspended &&\n (workInProgressRootRenderLanes & 62914560) ===\n workInProgressRootRenderLanes &&\n now$1() - globalMostRecentFallbackTime < FALLBACK_THROTTLE_MS)\n ? (executionContext & RenderContext) === NoContext &&\n prepareFreshStack(root, 0)\n : (workInProgressRootPingedLanes |= pingedLanes),\n workInProgressSuspendedRetryLanes === workInProgressRootRenderLanes &&\n (workInProgressSuspendedRetryLanes = 0));\n ensureRootIsScheduled(root);\n }\n function retryTimedOutBoundary(boundaryFiber, retryLane) {\n 0 === retryLane && (retryLane = claimNextRetryLane());\n boundaryFiber = enqueueConcurrentRenderForLane(boundaryFiber, retryLane);\n null !== boundaryFiber &&\n (markRootUpdated$1(boundaryFiber, retryLane),\n ensureRootIsScheduled(boundaryFiber));\n }\n function retryDehydratedSuspenseBoundary(boundaryFiber) {\n var suspenseState = boundaryFiber.memoizedState,\n retryLane = 0;\n null !== suspenseState && (retryLane = suspenseState.retryLane);\n retryTimedOutBoundary(boundaryFiber, retryLane);\n }\n function resolveRetryWakeable(boundaryFiber, wakeable) {\n var retryLane = 0;\n switch (boundaryFiber.tag) {\n case 31:\n case 13:\n var retryCache = boundaryFiber.stateNode;\n var suspenseState = boundaryFiber.memoizedState;\n null !== suspenseState && (retryLane = suspenseState.retryLane);\n break;\n case 19:\n retryCache = boundaryFiber.stateNode;\n break;\n case 22:\n retryCache = boundaryFiber.stateNode._retryCache;\n break;\n default:\n throw Error(\n \"Pinged unknown suspense boundary type. This is probably a bug in React.\"\n );\n }\n null !== retryCache && retryCache.delete(wakeable);\n retryTimedOutBoundary(boundaryFiber, retryLane);\n }\n function recursivelyTraverseAndDoubleInvokeEffectsInDEV(\n root$jscomp$0,\n parentFiber,\n isInStrictMode\n ) {\n if (0 !== (parentFiber.subtreeFlags & 134225920))\n for (parentFiber = parentFiber.child; null !== parentFiber; ) {\n var root = root$jscomp$0,\n fiber = parentFiber,\n isStrictModeFiber = fiber.type === REACT_STRICT_MODE_TYPE;\n isStrictModeFiber = isInStrictMode || isStrictModeFiber;\n 22 !== fiber.tag\n ? fiber.flags & 134217728\n ? isStrictModeFiber &&\n runWithFiberInDEV(\n fiber,\n doubleInvokeEffectsOnFiber,\n root,\n fiber\n )\n : recursivelyTraverseAndDoubleInvokeEffectsInDEV(\n root,\n fiber,\n isStrictModeFiber\n )\n : null === fiber.memoizedState &&\n (isStrictModeFiber && fiber.flags & 8192\n ? runWithFiberInDEV(\n fiber,\n doubleInvokeEffectsOnFiber,\n root,\n fiber\n )\n : fiber.subtreeFlags & 134217728 &&\n runWithFiberInDEV(\n fiber,\n recursivelyTraverseAndDoubleInvokeEffectsInDEV,\n root,\n fiber,\n isStrictModeFiber\n ));\n parentFiber = parentFiber.sibling;\n }\n }\n function doubleInvokeEffectsOnFiber(root, fiber) {\n setIsStrictModeForDevtools(!0);\n try {\n disappearLayoutEffects(fiber),\n disconnectPassiveEffect(fiber),\n reappearLayoutEffects(root, fiber.alternate, fiber, !1),\n reconnectPassiveEffects(root, fiber, 0, null, !1, 0);\n } finally {\n setIsStrictModeForDevtools(!1);\n }\n }\n function commitDoubleInvokeEffectsInDEV(root) {\n var doubleInvokeEffects = !0;\n root.current.mode & (StrictLegacyMode | StrictEffectsMode) ||\n (doubleInvokeEffects = !1);\n recursivelyTraverseAndDoubleInvokeEffectsInDEV(\n root,\n root.current,\n doubleInvokeEffects\n );\n }\n function warnAboutUpdateOnNotYetMountedFiberInDEV(fiber) {\n if ((executionContext & RenderContext) === NoContext) {\n var tag = fiber.tag;\n if (\n 3 === tag ||\n 1 === tag ||\n 0 === tag ||\n 11 === tag ||\n 14 === tag ||\n 15 === tag\n ) {\n tag = getComponentNameFromFiber(fiber) || \"ReactComponent\";\n if (null !== didWarnStateUpdateForNotYetMountedComponent) {\n if (didWarnStateUpdateForNotYetMountedComponent.has(tag)) return;\n didWarnStateUpdateForNotYetMountedComponent.add(tag);\n } else didWarnStateUpdateForNotYetMountedComponent = new Set([tag]);\n runWithFiberInDEV(fiber, function () {\n console.error(\n \"Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously tries to update the component. Move this work to useEffect instead.\"\n );\n });\n }\n }\n }\n function restorePendingUpdaters(root, lanes) {\n isDevToolsPresent &&\n root.memoizedUpdaters.forEach(function (schedulingFiber) {\n addFiberToLanesMap(root, schedulingFiber, lanes);\n });\n }\n function scheduleCallback$1(priorityLevel, callback) {\n var actQueue = ReactSharedInternals.actQueue;\n return null !== actQueue\n ? (actQueue.push(callback), fakeActCallbackNode$1)\n : scheduleCallback$3(priorityLevel, callback);\n }\n function warnIfUpdatesNotWrappedWithActDEV(fiber) {\n isConcurrentActEnvironment() &&\n null === ReactSharedInternals.actQueue &&\n runWithFiberInDEV(fiber, function () {\n console.error(\n \"An update to %s inside a test was not wrapped in act(...).\\n\\nWhen testing, code that causes React state updates should be wrapped into act(...):\\n\\nact(() => {\\n /* fire events that update state */\\n});\\n/* assert on the output */\\n\\nThis ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act\",\n getComponentNameFromFiber(fiber)\n );\n });\n }\n function ensureRootIsScheduled(root) {\n root !== lastScheduledRoot &&\n null === root.next &&\n (null === lastScheduledRoot\n ? (firstScheduledRoot = lastScheduledRoot = root)\n : (lastScheduledRoot = lastScheduledRoot.next = root));\n mightHavePendingSyncWork = !0;\n null !== ReactSharedInternals.actQueue\n ? didScheduleMicrotask_act ||\n ((didScheduleMicrotask_act = !0), scheduleImmediateRootScheduleTask())\n : didScheduleMicrotask ||\n ((didScheduleMicrotask = !0), scheduleImmediateRootScheduleTask());\n }\n function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {\n if (!isFlushingWork && mightHavePendingSyncWork) {\n isFlushingWork = !0;\n do {\n var didPerformSomeWork = !1;\n for (var root = firstScheduledRoot; null !== root; ) {\n if (!onlyLegacy)\n if (0 !== syncTransitionLanes) {\n var pendingLanes = root.pendingLanes;\n if (0 === pendingLanes) var nextLanes = 0;\n else {\n var suspendedLanes = root.suspendedLanes,\n pingedLanes = root.pingedLanes;\n nextLanes =\n (1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1;\n nextLanes &= pendingLanes & ~(suspendedLanes & ~pingedLanes);\n nextLanes =\n nextLanes & 201326741\n ? (nextLanes & 201326741) | 1\n : nextLanes\n ? nextLanes | 2\n : 0;\n }\n 0 !== nextLanes &&\n ((didPerformSomeWork = !0),\n performSyncWorkOnRoot(root, nextLanes));\n } else\n (nextLanes = workInProgressRootRenderLanes),\n (nextLanes = getNextLanes(\n root,\n root === workInProgressRoot ? nextLanes : 0,\n null !== root.cancelPendingCommit ||\n root.timeoutHandle !== noTimeout\n )),\n 0 === (nextLanes & 3) ||\n checkIfRootIsPrerendering(root, nextLanes) ||\n ((didPerformSomeWork = !0),\n performSyncWorkOnRoot(root, nextLanes));\n root = root.next;\n }\n } while (didPerformSomeWork);\n isFlushingWork = !1;\n }\n }\n function processRootScheduleInImmediateTask() {\n schedulerEvent = window.event;\n processRootScheduleInMicrotask();\n }\n function processRootScheduleInMicrotask() {\n mightHavePendingSyncWork =\n didScheduleMicrotask_act =\n didScheduleMicrotask =\n !1;\n var syncTransitionLanes = 0;\n 0 !== currentEventTransitionLane &&\n shouldAttemptEagerTransition() &&\n (syncTransitionLanes = currentEventTransitionLane);\n for (\n var currentTime = now$1(), prev = null, root = firstScheduledRoot;\n null !== root;\n\n ) {\n var next = root.next,\n nextLanes = scheduleTaskForRootDuringMicrotask(root, currentTime);\n if (0 === nextLanes)\n (root.next = null),\n null === prev ? (firstScheduledRoot = next) : (prev.next = next),\n null === next && (lastScheduledRoot = prev);\n else if (\n ((prev = root), 0 !== syncTransitionLanes || 0 !== (nextLanes & 3))\n )\n mightHavePendingSyncWork = !0;\n root = next;\n }\n (pendingEffectsStatus !== NO_PENDING_EFFECTS &&\n pendingEffectsStatus !== PENDING_PASSIVE_PHASE) ||\n flushSyncWorkAcrossRoots_impl(syncTransitionLanes, !1);\n 0 !== currentEventTransitionLane && (currentEventTransitionLane = 0);\n }\n function scheduleTaskForRootDuringMicrotask(root, currentTime) {\n for (\n var suspendedLanes = root.suspendedLanes,\n pingedLanes = root.pingedLanes,\n expirationTimes = root.expirationTimes,\n lanes = root.pendingLanes & -62914561;\n 0 < lanes;\n\n ) {\n var index = 31 - clz32(lanes),\n lane = 1 << index,\n expirationTime = expirationTimes[index];\n if (-1 === expirationTime) {\n if (0 === (lane & suspendedLanes) || 0 !== (lane & pingedLanes))\n expirationTimes[index] = computeExpirationTime(lane, currentTime);\n } else expirationTime <= currentTime && (root.expiredLanes |= lane);\n lanes &= ~lane;\n }\n currentTime = workInProgressRoot;\n suspendedLanes = workInProgressRootRenderLanes;\n suspendedLanes = getNextLanes(\n root,\n root === currentTime ? suspendedLanes : 0,\n null !== root.cancelPendingCommit || root.timeoutHandle !== noTimeout\n );\n pingedLanes = root.callbackNode;\n if (\n 0 === suspendedLanes ||\n (root === currentTime &&\n (workInProgressSuspendedReason === SuspendedOnData ||\n workInProgressSuspendedReason === SuspendedOnAction)) ||\n null !== root.cancelPendingCommit\n )\n return (\n null !== pingedLanes && cancelCallback(pingedLanes),\n (root.callbackNode = null),\n (root.callbackPriority = 0)\n );\n if (\n 0 === (suspendedLanes & 3) ||\n checkIfRootIsPrerendering(root, suspendedLanes)\n ) {\n currentTime = suspendedLanes & -suspendedLanes;\n if (\n currentTime !== root.callbackPriority ||\n (null !== ReactSharedInternals.actQueue &&\n pingedLanes !== fakeActCallbackNode)\n )\n cancelCallback(pingedLanes);\n else return currentTime;\n switch (lanesToEventPriority(suspendedLanes)) {\n case DiscreteEventPriority:\n case ContinuousEventPriority:\n suspendedLanes = UserBlockingPriority;\n break;\n case DefaultEventPriority:\n suspendedLanes = NormalPriority$1;\n break;\n case IdleEventPriority:\n suspendedLanes = IdlePriority;\n break;\n default:\n suspendedLanes = NormalPriority$1;\n }\n pingedLanes = performWorkOnRootViaSchedulerTask.bind(null, root);\n null !== ReactSharedInternals.actQueue\n ? (ReactSharedInternals.actQueue.push(pingedLanes),\n (suspendedLanes = fakeActCallbackNode))\n : (suspendedLanes = scheduleCallback$3(suspendedLanes, pingedLanes));\n root.callbackPriority = currentTime;\n root.callbackNode = suspendedLanes;\n return currentTime;\n }\n null !== pingedLanes && cancelCallback(pingedLanes);\n root.callbackPriority = 2;\n root.callbackNode = null;\n return 2;\n }\n function performWorkOnRootViaSchedulerTask(root, didTimeout) {\n nestedUpdateScheduled = currentUpdateIsNested = !1;\n schedulerEvent = window.event;\n if (\n pendingEffectsStatus !== NO_PENDING_EFFECTS &&\n pendingEffectsStatus !== PENDING_PASSIVE_PHASE\n )\n return (root.callbackNode = null), (root.callbackPriority = 0), null;\n var originalCallbackNode = root.callbackNode;\n pendingDelayedCommitReason === IMMEDIATE_COMMIT &&\n (pendingDelayedCommitReason = DELAYED_PASSIVE_COMMIT);\n if (flushPendingEffects() && root.callbackNode !== originalCallbackNode)\n return null;\n var workInProgressRootRenderLanes$jscomp$0 =\n workInProgressRootRenderLanes;\n workInProgressRootRenderLanes$jscomp$0 = getNextLanes(\n root,\n root === workInProgressRoot\n ? workInProgressRootRenderLanes$jscomp$0\n : 0,\n null !== root.cancelPendingCommit || root.timeoutHandle !== noTimeout\n );\n if (0 === workInProgressRootRenderLanes$jscomp$0) return null;\n performWorkOnRoot(\n root,\n workInProgressRootRenderLanes$jscomp$0,\n didTimeout\n );\n scheduleTaskForRootDuringMicrotask(root, now$1());\n return null != root.callbackNode &&\n root.callbackNode === originalCallbackNode\n ? performWorkOnRootViaSchedulerTask.bind(null, root)\n : null;\n }\n function performSyncWorkOnRoot(root, lanes) {\n if (flushPendingEffects()) return null;\n currentUpdateIsNested = nestedUpdateScheduled;\n nestedUpdateScheduled = !1;\n performWorkOnRoot(root, lanes, !0);\n }\n function cancelCallback(callbackNode) {\n callbackNode !== fakeActCallbackNode &&\n null !== callbackNode &&\n cancelCallback$1(callbackNode);\n }\n function scheduleImmediateRootScheduleTask() {\n null !== ReactSharedInternals.actQueue &&\n ReactSharedInternals.actQueue.push(function () {\n processRootScheduleInMicrotask();\n return null;\n });\n scheduleMicrotask(function () {\n (executionContext & (RenderContext | CommitContext)) !== NoContext\n ? scheduleCallback$3(\n ImmediatePriority,\n processRootScheduleInImmediateTask\n )\n : processRootScheduleInMicrotask();\n });\n }\n function requestTransitionLane() {\n if (0 === currentEventTransitionLane) {\n var actionScopeLane = currentEntangledLane;\n 0 === actionScopeLane &&\n ((actionScopeLane = nextTransitionUpdateLane),\n (nextTransitionUpdateLane <<= 1),\n 0 === (nextTransitionUpdateLane & 261888) &&\n (nextTransitionUpdateLane = 256));\n currentEventTransitionLane = actionScopeLane;\n }\n return currentEventTransitionLane;\n }\n function coerceFormActionProp(actionProp) {\n if (\n null == actionProp ||\n \"symbol\" === typeof actionProp ||\n \"boolean\" === typeof actionProp\n )\n return null;\n if (\"function\" === typeof actionProp) return actionProp;\n checkAttributeStringCoercion(actionProp, \"action\");\n return sanitizeURL(\"\" + actionProp);\n }\n function createFormDataWithSubmitter(form, submitter) {\n var temp = submitter.ownerDocument.createElement(\"input\");\n temp.name = submitter.name;\n temp.value = submitter.value;\n form.id && temp.setAttribute(\"form\", form.id);\n submitter.parentNode.insertBefore(temp, submitter);\n form = new FormData(form);\n temp.parentNode.removeChild(temp);\n return form;\n }\n function extractEvents$1(\n dispatchQueue,\n domEventName,\n maybeTargetInst,\n nativeEvent,\n nativeEventTarget\n ) {\n if (\n \"submit\" === domEventName &&\n maybeTargetInst &&\n maybeTargetInst.stateNode === nativeEventTarget\n ) {\n var action = coerceFormActionProp(\n (nativeEventTarget[internalPropsKey] || null).action\n ),\n submitter = nativeEvent.submitter;\n submitter &&\n ((domEventName = (domEventName = submitter[internalPropsKey] || null)\n ? coerceFormActionProp(domEventName.formAction)\n : submitter.getAttribute(\"formAction\")),\n null !== domEventName &&\n ((action = domEventName), (submitter = null)));\n var event = new SyntheticEvent(\n \"action\",\n \"action\",\n null,\n nativeEvent,\n nativeEventTarget\n );\n dispatchQueue.push({\n event: event,\n listeners: [\n {\n instance: null,\n listener: function () {\n if (nativeEvent.defaultPrevented) {\n if (0 !== currentEventTransitionLane) {\n var formData = submitter\n ? createFormDataWithSubmitter(\n nativeEventTarget,\n submitter\n )\n : new FormData(nativeEventTarget),\n pendingState = {\n pending: !0,\n data: formData,\n method: nativeEventTarget.method,\n action: action\n };\n Object.freeze(pendingState);\n startHostTransition(\n maybeTargetInst,\n pendingState,\n null,\n formData\n );\n }\n } else\n \"function\" === typeof action &&\n (event.preventDefault(),\n (formData = submitter\n ? createFormDataWithSubmitter(\n nativeEventTarget,\n submitter\n )\n : new FormData(nativeEventTarget)),\n (pendingState = {\n pending: !0,\n data: formData,\n method: nativeEventTarget.method,\n action: action\n }),\n Object.freeze(pendingState),\n startHostTransition(\n maybeTargetInst,\n pendingState,\n action,\n formData\n ));\n },\n currentTarget: nativeEventTarget\n }\n ]\n });\n }\n }\n function executeDispatch(event, listener, currentTarget) {\n event.currentTarget = currentTarget;\n try {\n listener(event);\n } catch (error) {\n reportGlobalError(error);\n }\n event.currentTarget = null;\n }\n function processDispatchQueue(dispatchQueue, eventSystemFlags) {\n eventSystemFlags = 0 !== (eventSystemFlags & 4);\n for (var i = 0; i < dispatchQueue.length; i++) {\n var _dispatchQueue$i = dispatchQueue[i];\n a: {\n var previousInstance = void 0,\n event = _dispatchQueue$i.event;\n _dispatchQueue$i = _dispatchQueue$i.listeners;\n if (eventSystemFlags)\n for (\n var i$jscomp$0 = _dispatchQueue$i.length - 1;\n 0 <= i$jscomp$0;\n i$jscomp$0--\n ) {\n var _dispatchListeners$i = _dispatchQueue$i[i$jscomp$0],\n instance = _dispatchListeners$i.instance,\n currentTarget = _dispatchListeners$i.currentTarget;\n _dispatchListeners$i = _dispatchListeners$i.listener;\n if (instance !== previousInstance && event.isPropagationStopped())\n break a;\n null !== instance\n ? runWithFiberInDEV(\n instance,\n executeDispatch,\n event,\n _dispatchListeners$i,\n currentTarget\n )\n : executeDispatch(event, _dispatchListeners$i, currentTarget);\n previousInstance = instance;\n }\n else\n for (\n i$jscomp$0 = 0;\n i$jscomp$0 < _dispatchQueue$i.length;\n i$jscomp$0++\n ) {\n _dispatchListeners$i = _dispatchQueue$i[i$jscomp$0];\n instance = _dispatchListeners$i.instance;\n currentTarget = _dispatchListeners$i.currentTarget;\n _dispatchListeners$i = _dispatchListeners$i.listener;\n if (instance !== previousInstance && event.isPropagationStopped())\n break a;\n null !== instance\n ? runWithFiberInDEV(\n instance,\n executeDispatch,\n event,\n _dispatchListeners$i,\n currentTarget\n )\n : executeDispatch(event, _dispatchListeners$i, currentTarget);\n previousInstance = instance;\n }\n }\n }\n }\n function listenToNonDelegatedEvent(domEventName, targetElement) {\n nonDelegatedEvents.has(domEventName) ||\n console.error(\n 'Did not expect a listenToNonDelegatedEvent() call for \"%s\". This is a bug in React. Please file an issue.',\n domEventName\n );\n var listenerSet = targetElement[internalEventHandlersKey];\n void 0 === listenerSet &&\n (listenerSet = targetElement[internalEventHandlersKey] = new Set());\n var listenerSetKey = domEventName + \"__bubble\";\n listenerSet.has(listenerSetKey) ||\n (addTrappedEventListener(targetElement, domEventName, 2, !1),\n listenerSet.add(listenerSetKey));\n }\n function listenToNativeEvent(domEventName, isCapturePhaseListener, target) {\n nonDelegatedEvents.has(domEventName) &&\n !isCapturePhaseListener &&\n console.error(\n 'Did not expect a listenToNativeEvent() call for \"%s\" in the bubble phase. This is a bug in React. Please file an issue.',\n domEventName\n );\n var eventSystemFlags = 0;\n isCapturePhaseListener && (eventSystemFlags |= 4);\n addTrappedEventListener(\n target,\n domEventName,\n eventSystemFlags,\n isCapturePhaseListener\n );\n }\n function listenToAllSupportedEvents(rootContainerElement) {\n if (!rootContainerElement[listeningMarker]) {\n rootContainerElement[listeningMarker] = !0;\n allNativeEvents.forEach(function (domEventName) {\n \"selectionchange\" !== domEventName &&\n (nonDelegatedEvents.has(domEventName) ||\n listenToNativeEvent(domEventName, !1, rootContainerElement),\n listenToNativeEvent(domEventName, !0, rootContainerElement));\n });\n var ownerDocument =\n 9 === rootContainerElement.nodeType\n ? rootContainerElement\n : rootContainerElement.ownerDocument;\n null === ownerDocument ||\n ownerDocument[listeningMarker] ||\n ((ownerDocument[listeningMarker] = !0),\n listenToNativeEvent(\"selectionchange\", !1, ownerDocument));\n }\n }\n function addTrappedEventListener(\n targetContainer,\n domEventName,\n eventSystemFlags,\n isCapturePhaseListener\n ) {\n switch (getEventPriority(domEventName)) {\n case DiscreteEventPriority:\n var listenerWrapper = dispatchDiscreteEvent;\n break;\n case ContinuousEventPriority:\n listenerWrapper = dispatchContinuousEvent;\n break;\n default:\n listenerWrapper = dispatchEvent;\n }\n eventSystemFlags = listenerWrapper.bind(\n null,\n domEventName,\n eventSystemFlags,\n targetContainer\n );\n listenerWrapper = void 0;\n !passiveBrowserEventsSupported ||\n (\"touchstart\" !== domEventName &&\n \"touchmove\" !== domEventName &&\n \"wheel\" !== domEventName) ||\n (listenerWrapper = !0);\n isCapturePhaseListener\n ? void 0 !== listenerWrapper\n ? targetContainer.addEventListener(domEventName, eventSystemFlags, {\n capture: !0,\n passive: listenerWrapper\n })\n : targetContainer.addEventListener(domEventName, eventSystemFlags, !0)\n : void 0 !== listenerWrapper\n ? targetContainer.addEventListener(domEventName, eventSystemFlags, {\n passive: listenerWrapper\n })\n : targetContainer.addEventListener(\n domEventName,\n eventSystemFlags,\n !1\n );\n }\n function dispatchEventForPluginEventSystem(\n domEventName,\n eventSystemFlags,\n nativeEvent,\n targetInst$jscomp$0,\n targetContainer\n ) {\n var ancestorInst = targetInst$jscomp$0;\n if (\n 0 === (eventSystemFlags & 1) &&\n 0 === (eventSystemFlags & 2) &&\n null !== targetInst$jscomp$0\n )\n a: for (;;) {\n if (null === targetInst$jscomp$0) return;\n var nodeTag = targetInst$jscomp$0.tag;\n if (3 === nodeTag || 4 === nodeTag) {\n var container = targetInst$jscomp$0.stateNode.containerInfo;\n if (container === targetContainer) break;\n if (4 === nodeTag)\n for (nodeTag = targetInst$jscomp$0.return; null !== nodeTag; ) {\n var grandTag = nodeTag.tag;\n if (\n (3 === grandTag || 4 === grandTag) &&\n nodeTag.stateNode.containerInfo === targetContainer\n )\n return;\n nodeTag = nodeTag.return;\n }\n for (; null !== container; ) {\n nodeTag = getClosestInstanceFromNode(container);\n if (null === nodeTag) return;\n grandTag = nodeTag.tag;\n if (\n 5 === grandTag ||\n 6 === grandTag ||\n 26 === grandTag ||\n 27 === grandTag\n ) {\n targetInst$jscomp$0 = ancestorInst = nodeTag;\n continue a;\n }\n container = container.parentNode;\n }\n }\n targetInst$jscomp$0 = targetInst$jscomp$0.return;\n }\n batchedUpdates$1(function () {\n var targetInst = ancestorInst,\n nativeEventTarget = getEventTarget(nativeEvent),\n dispatchQueue = [];\n a: {\n var reactName = topLevelEventsToReactNames.get(domEventName);\n if (void 0 !== reactName) {\n var SyntheticEventCtor = SyntheticEvent,\n reactEventType = domEventName;\n switch (domEventName) {\n case \"keypress\":\n if (0 === getEventCharCode(nativeEvent)) break a;\n case \"keydown\":\n case \"keyup\":\n SyntheticEventCtor = SyntheticKeyboardEvent;\n break;\n case \"focusin\":\n reactEventType = \"focus\";\n SyntheticEventCtor = SyntheticFocusEvent;\n break;\n case \"focusout\":\n reactEventType = \"blur\";\n SyntheticEventCtor = SyntheticFocusEvent;\n break;\n case \"beforeblur\":\n case \"afterblur\":\n SyntheticEventCtor = SyntheticFocusEvent;\n break;\n case \"click\":\n if (2 === nativeEvent.button) break a;\n case \"auxclick\":\n case \"dblclick\":\n case \"mousedown\":\n case \"mousemove\":\n case \"mouseup\":\n case \"mouseout\":\n case \"mouseover\":\n case \"contextmenu\":\n SyntheticEventCtor = SyntheticMouseEvent;\n break;\n case \"drag\":\n case \"dragend\":\n case \"dragenter\":\n case \"dragexit\":\n case \"dragleave\":\n case \"dragover\":\n case \"dragstart\":\n case \"drop\":\n SyntheticEventCtor = SyntheticDragEvent;\n break;\n case \"touchcancel\":\n case \"touchend\":\n case \"touchmove\":\n case \"touchstart\":\n SyntheticEventCtor = SyntheticTouchEvent;\n break;\n case ANIMATION_END:\n case ANIMATION_ITERATION:\n case ANIMATION_START:\n SyntheticEventCtor = SyntheticAnimationEvent;\n break;\n case TRANSITION_END:\n SyntheticEventCtor = SyntheticTransitionEvent;\n break;\n case \"scroll\":\n case \"scrollend\":\n SyntheticEventCtor = SyntheticUIEvent;\n break;\n case \"wheel\":\n SyntheticEventCtor = SyntheticWheelEvent;\n break;\n case \"copy\":\n case \"cut\":\n case \"paste\":\n SyntheticEventCtor = SyntheticClipboardEvent;\n break;\n case \"gotpointercapture\":\n case \"lostpointercapture\":\n case \"pointercancel\":\n case \"pointerdown\":\n case \"pointermove\":\n case \"pointerout\":\n case \"pointerover\":\n case \"pointerup\":\n SyntheticEventCtor = SyntheticPointerEvent;\n break;\n case \"toggle\":\n case \"beforetoggle\":\n SyntheticEventCtor = SyntheticToggleEvent;\n }\n var inCapturePhase = 0 !== (eventSystemFlags & 4),\n accumulateTargetOnly =\n !inCapturePhase &&\n (\"scroll\" === domEventName || \"scrollend\" === domEventName),\n reactEventName = inCapturePhase\n ? null !== reactName\n ? reactName + \"Capture\"\n : null\n : reactName;\n inCapturePhase = [];\n for (\n var instance = targetInst, lastHostComponent;\n null !== instance;\n\n ) {\n var _instance2 = instance;\n lastHostComponent = _instance2.stateNode;\n _instance2 = _instance2.tag;\n (5 !== _instance2 && 26 !== _instance2 && 27 !== _instance2) ||\n null === lastHostComponent ||\n null === reactEventName ||\n ((_instance2 = getListener(instance, reactEventName)),\n null != _instance2 &&\n inCapturePhase.push(\n createDispatchListener(\n instance,\n _instance2,\n lastHostComponent\n )\n ));\n if (accumulateTargetOnly) break;\n instance = instance.return;\n }\n 0 < inCapturePhase.length &&\n ((reactName = new SyntheticEventCtor(\n reactName,\n reactEventType,\n null,\n nativeEvent,\n nativeEventTarget\n )),\n dispatchQueue.push({\n event: reactName,\n listeners: inCapturePhase\n }));\n }\n }\n if (0 === (eventSystemFlags & 7)) {\n a: {\n SyntheticEventCtor =\n \"mouseover\" === domEventName || \"pointerover\" === domEventName;\n reactName =\n \"mouseout\" === domEventName || \"pointerout\" === domEventName;\n if (\n SyntheticEventCtor &&\n nativeEvent !== currentReplayingEvent &&\n (reactEventType =\n nativeEvent.relatedTarget || nativeEvent.fromElement) &&\n (getClosestInstanceFromNode(reactEventType) ||\n reactEventType[internalContainerInstanceKey])\n )\n break a;\n if (reactName || SyntheticEventCtor) {\n reactEventType =\n nativeEventTarget.window === nativeEventTarget\n ? nativeEventTarget\n : (SyntheticEventCtor = nativeEventTarget.ownerDocument)\n ? SyntheticEventCtor.defaultView ||\n SyntheticEventCtor.parentWindow\n : window;\n if (reactName) {\n if (\n ((SyntheticEventCtor =\n nativeEvent.relatedTarget || nativeEvent.toElement),\n (reactName = targetInst),\n (SyntheticEventCtor = SyntheticEventCtor\n ? getClosestInstanceFromNode(SyntheticEventCtor)\n : null),\n null !== SyntheticEventCtor &&\n ((accumulateTargetOnly =\n getNearestMountedFiber(SyntheticEventCtor)),\n (inCapturePhase = SyntheticEventCtor.tag),\n SyntheticEventCtor !== accumulateTargetOnly ||\n (5 !== inCapturePhase &&\n 27 !== inCapturePhase &&\n 6 !== inCapturePhase)))\n )\n SyntheticEventCtor = null;\n } else (reactName = null), (SyntheticEventCtor = targetInst);\n if (reactName !== SyntheticEventCtor) {\n inCapturePhase = SyntheticMouseEvent;\n _instance2 = \"onMouseLeave\";\n reactEventName = \"onMouseEnter\";\n instance = \"mouse\";\n if (\n \"pointerout\" === domEventName ||\n \"pointerover\" === domEventName\n )\n (inCapturePhase = SyntheticPointerEvent),\n (_instance2 = \"onPointerLeave\"),\n (reactEventName = \"onPointerEnter\"),\n (instance = \"pointer\");\n accumulateTargetOnly =\n null == reactName\n ? reactEventType\n : getNodeFromInstance(reactName);\n lastHostComponent =\n null == SyntheticEventCtor\n ? reactEventType\n : getNodeFromInstance(SyntheticEventCtor);\n reactEventType = new inCapturePhase(\n _instance2,\n instance + \"leave\",\n reactName,\n nativeEvent,\n nativeEventTarget\n );\n reactEventType.target = accumulateTargetOnly;\n reactEventType.relatedTarget = lastHostComponent;\n _instance2 = null;\n getClosestInstanceFromNode(nativeEventTarget) === targetInst &&\n ((inCapturePhase = new inCapturePhase(\n reactEventName,\n instance + \"enter\",\n SyntheticEventCtor,\n nativeEvent,\n nativeEventTarget\n )),\n (inCapturePhase.target = lastHostComponent),\n (inCapturePhase.relatedTarget = accumulateTargetOnly),\n (_instance2 = inCapturePhase));\n accumulateTargetOnly = _instance2;\n inCapturePhase =\n reactName && SyntheticEventCtor\n ? getLowestCommonAncestor(\n reactName,\n SyntheticEventCtor,\n getParent\n )\n : null;\n null !== reactName &&\n accumulateEnterLeaveListenersForEvent(\n dispatchQueue,\n reactEventType,\n reactName,\n inCapturePhase,\n !1\n );\n null !== SyntheticEventCtor &&\n null !== accumulateTargetOnly &&\n accumulateEnterLeaveListenersForEvent(\n dispatchQueue,\n accumulateTargetOnly,\n SyntheticEventCtor,\n inCapturePhase,\n !0\n );\n }\n }\n }\n a: {\n reactName = targetInst ? getNodeFromInstance(targetInst) : window;\n SyntheticEventCtor =\n reactName.nodeName && reactName.nodeName.toLowerCase();\n if (\n \"select\" === SyntheticEventCtor ||\n (\"input\" === SyntheticEventCtor && \"file\" === reactName.type)\n )\n var getTargetInstFunc = getTargetInstForChangeEvent;\n else if (isTextInputElement(reactName))\n if (isInputEventSupported)\n getTargetInstFunc = getTargetInstForInputOrChangeEvent;\n else {\n getTargetInstFunc = getTargetInstForInputEventPolyfill;\n var handleEventFunc = handleEventsForInputEventPolyfill;\n }\n else\n (SyntheticEventCtor = reactName.nodeName),\n !SyntheticEventCtor ||\n \"input\" !== SyntheticEventCtor.toLowerCase() ||\n (\"checkbox\" !== reactName.type && \"radio\" !== reactName.type)\n ? targetInst &&\n isCustomElement(targetInst.elementType) &&\n (getTargetInstFunc = getTargetInstForChangeEvent)\n : (getTargetInstFunc = getTargetInstForClickEvent);\n if (\n getTargetInstFunc &&\n (getTargetInstFunc = getTargetInstFunc(domEventName, targetInst))\n ) {\n createAndAccumulateChangeEvent(\n dispatchQueue,\n getTargetInstFunc,\n nativeEvent,\n nativeEventTarget\n );\n break a;\n }\n handleEventFunc &&\n handleEventFunc(domEventName, reactName, targetInst);\n \"focusout\" === domEventName &&\n targetInst &&\n \"number\" === reactName.type &&\n null != targetInst.memoizedProps.value &&\n setDefaultValue(reactName, \"number\", reactName.value);\n }\n handleEventFunc = targetInst\n ? getNodeFromInstance(targetInst)\n : window;\n switch (domEventName) {\n case \"focusin\":\n if (\n isTextInputElement(handleEventFunc) ||\n \"true\" === handleEventFunc.contentEditable\n )\n (activeElement = handleEventFunc),\n (activeElementInst = targetInst),\n (lastSelection = null);\n break;\n case \"focusout\":\n lastSelection = activeElementInst = activeElement = null;\n break;\n case \"mousedown\":\n mouseDown = !0;\n break;\n case \"contextmenu\":\n case \"mouseup\":\n case \"dragend\":\n mouseDown = !1;\n constructSelectEvent(\n dispatchQueue,\n nativeEvent,\n nativeEventTarget\n );\n break;\n case \"selectionchange\":\n if (skipSelectionChangeEvent) break;\n case \"keydown\":\n case \"keyup\":\n constructSelectEvent(\n dispatchQueue,\n nativeEvent,\n nativeEventTarget\n );\n }\n var fallbackData;\n if (canUseCompositionEvent)\n b: {\n switch (domEventName) {\n case \"compositionstart\":\n var eventType = \"onCompositionStart\";\n break b;\n case \"compositionend\":\n eventType = \"onCompositionEnd\";\n break b;\n case \"compositionupdate\":\n eventType = \"onCompositionUpdate\";\n break b;\n }\n eventType = void 0;\n }\n else\n isComposing\n ? isFallbackCompositionEnd(domEventName, nativeEvent) &&\n (eventType = \"onCompositionEnd\")\n : \"keydown\" === domEventName &&\n nativeEvent.keyCode === START_KEYCODE &&\n (eventType = \"onCompositionStart\");\n eventType &&\n (useFallbackCompositionData &&\n \"ko\" !== nativeEvent.locale &&\n (isComposing || \"onCompositionStart\" !== eventType\n ? \"onCompositionEnd\" === eventType &&\n isComposing &&\n (fallbackData = getData())\n : ((root = nativeEventTarget),\n (startText = \"value\" in root ? root.value : root.textContent),\n (isComposing = !0))),\n (handleEventFunc = accumulateTwoPhaseListeners(\n targetInst,\n eventType\n )),\n 0 < handleEventFunc.length &&\n ((eventType = new SyntheticCompositionEvent(\n eventType,\n domEventName,\n null,\n nativeEvent,\n nativeEventTarget\n )),\n dispatchQueue.push({\n event: eventType,\n listeners: handleEventFunc\n }),\n fallbackData\n ? (eventType.data = fallbackData)\n : ((fallbackData = getDataFromCustomEvent(nativeEvent)),\n null !== fallbackData && (eventType.data = fallbackData))));\n if (\n (fallbackData = canUseTextInputEvent\n ? getNativeBeforeInputChars(domEventName, nativeEvent)\n : getFallbackBeforeInputChars(domEventName, nativeEvent))\n )\n (eventType = accumulateTwoPhaseListeners(\n targetInst,\n \"onBeforeInput\"\n )),\n 0 < eventType.length &&\n ((handleEventFunc = new SyntheticInputEvent(\n \"onBeforeInput\",\n \"beforeinput\",\n null,\n nativeEvent,\n nativeEventTarget\n )),\n dispatchQueue.push({\n event: handleEventFunc,\n listeners: eventType\n }),\n (handleEventFunc.data = fallbackData));\n extractEvents$1(\n dispatchQueue,\n domEventName,\n targetInst,\n nativeEvent,\n nativeEventTarget\n );\n }\n processDispatchQueue(dispatchQueue, eventSystemFlags);\n });\n }\n function createDispatchListener(instance, listener, currentTarget) {\n return {\n instance: instance,\n listener: listener,\n currentTarget: currentTarget\n };\n }\n function accumulateTwoPhaseListeners(targetFiber, reactName) {\n for (\n var captureName = reactName + \"Capture\", listeners = [];\n null !== targetFiber;\n\n ) {\n var _instance3 = targetFiber,\n stateNode = _instance3.stateNode;\n _instance3 = _instance3.tag;\n (5 !== _instance3 && 26 !== _instance3 && 27 !== _instance3) ||\n null === stateNode ||\n ((_instance3 = getListener(targetFiber, captureName)),\n null != _instance3 &&\n listeners.unshift(\n createDispatchListener(targetFiber, _instance3, stateNode)\n ),\n (_instance3 = getListener(targetFiber, reactName)),\n null != _instance3 &&\n listeners.push(\n createDispatchListener(targetFiber, _instance3, stateNode)\n ));\n if (3 === targetFiber.tag) return listeners;\n targetFiber = targetFiber.return;\n }\n return [];\n }\n function getParent(inst) {\n if (null === inst) return null;\n do inst = inst.return;\n while (inst && 5 !== inst.tag && 27 !== inst.tag);\n return inst ? inst : null;\n }\n function accumulateEnterLeaveListenersForEvent(\n dispatchQueue,\n event,\n target,\n common,\n inCapturePhase\n ) {\n for (\n var registrationName = event._reactName, listeners = [];\n null !== target && target !== common;\n\n ) {\n var _instance4 = target,\n alternate = _instance4.alternate,\n stateNode = _instance4.stateNode;\n _instance4 = _instance4.tag;\n if (null !== alternate && alternate === common) break;\n (5 !== _instance4 && 26 !== _instance4 && 27 !== _instance4) ||\n null === stateNode ||\n ((alternate = stateNode),\n inCapturePhase\n ? ((stateNode = getListener(target, registrationName)),\n null != stateNode &&\n listeners.unshift(\n createDispatchListener(target, stateNode, alternate)\n ))\n : inCapturePhase ||\n ((stateNode = getListener(target, registrationName)),\n null != stateNode &&\n listeners.push(\n createDispatchListener(target, stateNode, alternate)\n )));\n target = target.return;\n }\n 0 !== listeners.length &&\n dispatchQueue.push({ event: event, listeners: listeners });\n }\n function validatePropertiesInDevelopment(type, props) {\n validateProperties$2(type, props);\n (\"input\" !== type && \"textarea\" !== type && \"select\" !== type) ||\n null == props ||\n null !== props.value ||\n didWarnValueNull ||\n ((didWarnValueNull = !0),\n \"select\" === type && props.multiple\n ? console.error(\n \"`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.\",\n type\n )\n : console.error(\n \"`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.\",\n type\n ));\n var eventRegistry = {\n registrationNameDependencies: registrationNameDependencies,\n possibleRegistrationNames: possibleRegistrationNames\n };\n isCustomElement(type) ||\n \"string\" === typeof props.is ||\n warnUnknownProperties(type, props, eventRegistry);\n props.contentEditable &&\n !props.suppressContentEditableWarning &&\n null != props.children &&\n console.error(\n \"A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.\"\n );\n }\n function warnForPropDifference(\n propName,\n serverValue,\n clientValue,\n serverDifferences\n ) {\n serverValue !== clientValue &&\n ((clientValue = normalizeMarkupForTextOrAttribute(clientValue)),\n normalizeMarkupForTextOrAttribute(serverValue) !== clientValue &&\n (serverDifferences[propName] = serverValue));\n }\n function hasViewTransition(htmlElement) {\n return !!(\n htmlElement.getAttribute(\"vt-share\") ||\n htmlElement.getAttribute(\"vt-exit\") ||\n htmlElement.getAttribute(\"vt-enter\") ||\n htmlElement.getAttribute(\"vt-update\")\n );\n }\n function isExpectedViewTransitionName(htmlElement) {\n if (!hasViewTransition(htmlElement)) return !1;\n var expectedVtName = htmlElement.getAttribute(\"vt-name\");\n htmlElement = htmlElement.style[\"view-transition-name\"];\n return expectedVtName\n ? expectedVtName === htmlElement\n : htmlElement.startsWith(\"_T_\");\n }\n function warnForExtraAttributes(\n domElement,\n attributeNames,\n serverDifferences\n ) {\n attributeNames.forEach(function (attributeName) {\n \"style\" === attributeName\n ? \"\" !== domElement.getAttribute(attributeName) &&\n ((attributeName = domElement.style),\n (((1 === attributeName.length &&\n \"view-transition-name\" === attributeName[0]) ||\n (2 === attributeName.length &&\n \"view-transition-class\" === attributeName[0] &&\n \"view-transition-name\" === attributeName[1])) &&\n isExpectedViewTransitionName(domElement)) ||\n (serverDifferences.style =\n getStylesObjectFromElement(domElement)))\n : (serverDifferences[getPropNameFromAttributeName(attributeName)] =\n domElement.getAttribute(attributeName));\n });\n }\n function warnForInvalidEventListener(registrationName, listener) {\n !1 === listener\n ? console.error(\n \"Expected `%s` listener to be a function, instead got `false`.\\n\\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.\",\n registrationName,\n registrationName,\n registrationName\n )\n : console.error(\n \"Expected `%s` listener to be a function, instead got a value of `%s` type.\",\n registrationName,\n typeof listener\n );\n }\n function normalizeHTML(parent, html) {\n parent =\n parent.namespaceURI === MATH_NAMESPACE ||\n parent.namespaceURI === SVG_NAMESPACE\n ? parent.ownerDocument.createElementNS(\n parent.namespaceURI,\n parent.tagName\n )\n : parent.ownerDocument.createElement(parent.tagName);\n parent.innerHTML = html;\n return parent.innerHTML;\n }\n function normalizeMarkupForTextOrAttribute(markup) {\n willCoercionThrow(markup) &&\n (console.error(\n \"The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.\",\n typeName(markup)\n ),\n testStringCoercion(markup));\n return (\"string\" === typeof markup ? markup : \"\" + markup)\n .replace(NORMALIZE_NEWLINES_REGEX, \"\\n\")\n .replace(NORMALIZE_NULL_AND_REPLACEMENT_REGEX, \"\");\n }\n function checkForUnmatchedText(serverText, clientText) {\n clientText = normalizeMarkupForTextOrAttribute(clientText);\n return normalizeMarkupForTextOrAttribute(serverText) === clientText\n ? !0\n : !1;\n }\n function setProp(domElement, tag, key, value, props, prevValue) {\n switch (key) {\n case \"children\":\n if (\"string\" === typeof value)\n validateTextNesting(value, tag, !1),\n \"body\" === tag ||\n (\"textarea\" === tag && \"\" === value) ||\n setTextContent(domElement, value);\n else if (\"number\" === typeof value || \"bigint\" === typeof value)\n validateTextNesting(\"\" + value, tag, !1),\n \"body\" !== tag && setTextContent(domElement, \"\" + value);\n else return;\n break;\n case \"className\":\n setValueForKnownAttribute(domElement, \"class\", value);\n break;\n case \"tabIndex\":\n setValueForKnownAttribute(domElement, \"tabindex\", value);\n break;\n case \"dir\":\n case \"role\":\n case \"viewBox\":\n case \"width\":\n case \"height\":\n setValueForKnownAttribute(domElement, key, value);\n break;\n case \"style\":\n setValueForStyles(domElement, value, prevValue);\n return;\n case \"data\":\n if (\"object\" !== tag) {\n setValueForKnownAttribute(domElement, \"data\", value);\n break;\n }\n case \"src\":\n case \"href\":\n if (\"\" === value && (\"a\" !== tag || \"href\" !== key)) {\n \"src\" === key\n ? console.error(\n 'An empty string (\"\") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',\n key,\n key\n )\n : console.error(\n 'An empty string (\"\") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',\n key,\n key\n );\n domElement.removeAttribute(key);\n break;\n }\n if (\n null == value ||\n \"function\" === typeof value ||\n \"symbol\" === typeof value ||\n \"boolean\" === typeof value\n ) {\n domElement.removeAttribute(key);\n break;\n }\n checkAttributeStringCoercion(value, key);\n value = sanitizeURL(\"\" + value);\n domElement.setAttribute(key, value);\n break;\n case \"action\":\n case \"formAction\":\n null != value &&\n (\"form\" === tag\n ? \"formAction\" === key\n ? console.error(\n \"You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>.\"\n )\n : \"function\" === typeof value &&\n ((null == props.encType && null == props.method) ||\n didWarnFormActionMethod ||\n ((didWarnFormActionMethod = !0),\n console.error(\n \"Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.\"\n )),\n null == props.target ||\n didWarnFormActionTarget ||\n ((didWarnFormActionTarget = !0),\n console.error(\n \"Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window.\"\n )))\n : \"input\" === tag || \"button\" === tag\n ? \"action\" === key\n ? console.error(\n \"You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>.\"\n )\n : \"input\" !== tag ||\n \"submit\" === props.type ||\n \"image\" === props.type ||\n didWarnFormActionType\n ? \"button\" !== tag ||\n null == props.type ||\n \"submit\" === props.type ||\n didWarnFormActionType\n ? \"function\" === typeof value &&\n (null == props.name ||\n didWarnFormActionName ||\n ((didWarnFormActionName = !0),\n console.error(\n 'Cannot specify a \"name\" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.'\n )),\n (null == props.formEncType &&\n null == props.formMethod) ||\n didWarnFormActionMethod ||\n ((didWarnFormActionMethod = !0),\n console.error(\n \"Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.\"\n )),\n null == props.formTarget ||\n didWarnFormActionTarget ||\n ((didWarnFormActionTarget = !0),\n console.error(\n \"Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window.\"\n )))\n : ((didWarnFormActionType = !0),\n console.error(\n 'A button can only specify a formAction along with type=\"submit\" or no type.'\n ))\n : ((didWarnFormActionType = !0),\n console.error(\n 'An input can only specify a formAction along with type=\"submit\" or type=\"image\".'\n ))\n : \"action\" === key\n ? console.error(\n \"You can only pass the action prop to <form>.\"\n )\n : console.error(\n \"You can only pass the formAction prop to <input> or <button>.\"\n ));\n if (\"function\" === typeof value) {\n domElement.setAttribute(\n key,\n \"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')\"\n );\n break;\n } else\n \"function\" === typeof prevValue &&\n (\"formAction\" === key\n ? (\"input\" !== tag &&\n setProp(domElement, tag, \"name\", props.name, props, null),\n setProp(\n domElement,\n tag,\n \"formEncType\",\n props.formEncType,\n props,\n null\n ),\n setProp(\n domElement,\n tag,\n \"formMethod\",\n props.formMethod,\n props,\n null\n ),\n setProp(\n domElement,\n tag,\n \"formTarget\",\n props.formTarget,\n props,\n null\n ))\n : (setProp(\n domElement,\n tag,\n \"encType\",\n props.encType,\n props,\n null\n ),\n setProp(domElement, tag, \"method\", props.method, props, null),\n setProp(\n domElement,\n tag,\n \"target\",\n props.target,\n props,\n null\n )));\n if (\n null == value ||\n \"symbol\" === typeof value ||\n \"boolean\" === typeof value\n ) {\n domElement.removeAttribute(key);\n break;\n }\n checkAttributeStringCoercion(value, key);\n value = sanitizeURL(\"\" + value);\n domElement.setAttribute(key, value);\n break;\n case \"onClick\":\n null != value &&\n (\"function\" !== typeof value &&\n warnForInvalidEventListener(key, value),\n (domElement.onclick = noop$1));\n return;\n case \"onScroll\":\n null != value &&\n (\"function\" !== typeof value &&\n warnForInvalidEventListener(key, value),\n listenToNonDelegatedEvent(\"scroll\", domElement));\n return;\n case \"onScrollEnd\":\n null != value &&\n (\"function\" !== typeof value &&\n warnForInvalidEventListener(key, value),\n listenToNonDelegatedEvent(\"scrollend\", domElement));\n return;\n case \"dangerouslySetInnerHTML\":\n if (null != value) {\n if (\"object\" !== typeof value || !(\"__html\" in value))\n throw Error(\n \"`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.\"\n );\n key = value.__html;\n if (null != key) {\n if (null != props.children)\n throw Error(\n \"Can only set one of `children` or `props.dangerouslySetInnerHTML`.\"\n );\n domElement.innerHTML = key;\n }\n }\n break;\n case \"multiple\":\n domElement.multiple =\n value && \"function\" !== typeof value && \"symbol\" !== typeof value;\n break;\n case \"muted\":\n domElement.muted =\n value && \"function\" !== typeof value && \"symbol\" !== typeof value;\n break;\n case \"suppressContentEditableWarning\":\n case \"suppressHydrationWarning\":\n case \"defaultValue\":\n case \"defaultChecked\":\n case \"innerHTML\":\n case \"ref\":\n break;\n case \"autoFocus\":\n break;\n case \"xlinkHref\":\n if (\n null == value ||\n \"function\" === typeof value ||\n \"boolean\" === typeof value ||\n \"symbol\" === typeof value\n ) {\n domElement.removeAttribute(\"xlink:href\");\n break;\n }\n checkAttributeStringCoercion(value, key);\n key = sanitizeURL(\"\" + value);\n domElement.setAttributeNS(xlinkNamespace, \"xlink:href\", key);\n break;\n case \"contentEditable\":\n case \"spellCheck\":\n case \"draggable\":\n case \"value\":\n case \"autoReverse\":\n case \"externalResourcesRequired\":\n case \"focusable\":\n case \"preserveAlpha\":\n null != value &&\n \"function\" !== typeof value &&\n \"symbol\" !== typeof value\n ? (checkAttributeStringCoercion(value, key),\n domElement.setAttribute(key, \"\" + value))\n : domElement.removeAttribute(key);\n break;\n case \"inert\":\n \"\" !== value ||\n didWarnForNewBooleanPropsWithEmptyValue[key] ||\n ((didWarnForNewBooleanPropsWithEmptyValue[key] = !0),\n console.error(\n \"Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.\",\n key\n ));\n case \"allowFullScreen\":\n case \"async\":\n case \"autoPlay\":\n case \"controls\":\n case \"default\":\n case \"defer\":\n case \"disabled\":\n case \"disablePictureInPicture\":\n case \"disableRemotePlayback\":\n case \"formNoValidate\":\n case \"hidden\":\n case \"loop\":\n case \"noModule\":\n case \"noValidate\":\n case \"open\":\n case \"playsInline\":\n case \"readOnly\":\n case \"required\":\n case \"reversed\":\n case \"scoped\":\n case \"seamless\":\n case \"itemScope\":\n value && \"function\" !== typeof value && \"symbol\" !== typeof value\n ? domElement.setAttribute(key, \"\")\n : domElement.removeAttribute(key);\n break;\n case \"capture\":\n case \"download\":\n !0 === value\n ? domElement.setAttribute(key, \"\")\n : !1 !== value &&\n null != value &&\n \"function\" !== typeof value &&\n \"symbol\" !== typeof value\n ? (checkAttributeStringCoercion(value, key),\n domElement.setAttribute(key, value))\n : domElement.removeAttribute(key);\n break;\n case \"cols\":\n case \"rows\":\n case \"size\":\n case \"span\":\n null != value &&\n \"function\" !== typeof value &&\n \"symbol\" !== typeof value &&\n !isNaN(value) &&\n 1 <= value\n ? (checkAttributeStringCoercion(value, key),\n domElement.setAttribute(key, value))\n : domElement.removeAttribute(key);\n break;\n case \"rowSpan\":\n case \"start\":\n null == value ||\n \"function\" === typeof value ||\n \"symbol\" === typeof value ||\n isNaN(value)\n ? domElement.removeAttribute(key)\n : (checkAttributeStringCoercion(value, key),\n domElement.setAttribute(key, value));\n break;\n case \"popover\":\n listenToNonDelegatedEvent(\"beforetoggle\", domElement);\n listenToNonDelegatedEvent(\"toggle\", domElement);\n setValueForAttribute(domElement, \"popover\", value);\n break;\n case \"xlinkActuate\":\n setValueForNamespacedAttribute(\n domElement,\n xlinkNamespace,\n \"xlink:actuate\",\n value\n );\n break;\n case \"xlinkArcrole\":\n setValueForNamespacedAttribute(\n domElement,\n xlinkNamespace,\n \"xlink:arcrole\",\n value\n );\n break;\n case \"xlinkRole\":\n setValueForNamespacedAttribute(\n domElement,\n xlinkNamespace,\n \"xlink:role\",\n value\n );\n break;\n case \"xlinkShow\":\n setValueForNamespacedAttribute(\n domElement,\n xlinkNamespace,\n \"xlink:show\",\n value\n );\n break;\n case \"xlinkTitle\":\n setValueForNamespacedAttribute(\n domElement,\n xlinkNamespace,\n \"xlink:title\",\n value\n );\n break;\n case \"xlinkType\":\n setValueForNamespacedAttribute(\n domElement,\n xlinkNamespace,\n \"xlink:type\",\n value\n );\n break;\n case \"xmlBase\":\n setValueForNamespacedAttribute(\n domElement,\n xmlNamespace,\n \"xml:base\",\n value\n );\n break;\n case \"xmlLang\":\n setValueForNamespacedAttribute(\n domElement,\n xmlNamespace,\n \"xml:lang\",\n value\n );\n break;\n case \"xmlSpace\":\n setValueForNamespacedAttribute(\n domElement,\n xmlNamespace,\n \"xml:space\",\n value\n );\n break;\n case \"is\":\n null != prevValue &&\n console.error(\n 'Cannot update the \"is\" prop after it has been initialized.'\n );\n setValueForAttribute(domElement, \"is\", value);\n break;\n case \"innerText\":\n case \"textContent\":\n return;\n case \"popoverTarget\":\n didWarnPopoverTargetObject ||\n null == value ||\n \"object\" !== typeof value ||\n ((didWarnPopoverTargetObject = !0),\n console.error(\n \"The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.\",\n value\n ));\n default:\n if (\n !(2 < key.length) ||\n (\"o\" !== key[0] && \"O\" !== key[0]) ||\n (\"n\" !== key[1] && \"N\" !== key[1])\n )\n (key = getAttributeAlias(key)),\n setValueForAttribute(domElement, key, value);\n else {\n registrationNameDependencies.hasOwnProperty(key) &&\n null != value &&\n \"function\" !== typeof value &&\n warnForInvalidEventListener(key, value);\n return;\n }\n }\n viewTransitionMutationContext = !0;\n }\n function setPropOnCustomElement(\n domElement,\n tag,\n key,\n value,\n props,\n prevValue\n ) {\n switch (key) {\n case \"style\":\n setValueForStyles(domElement, value, prevValue);\n return;\n case \"dangerouslySetInnerHTML\":\n if (null != value) {\n if (\"object\" !== typeof value || !(\"__html\" in value))\n throw Error(\n \"`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.\"\n );\n key = value.__html;\n if (null != key) {\n if (null != props.children)\n throw Error(\n \"Can only set one of `children` or `props.dangerouslySetInnerHTML`.\"\n );\n domElement.innerHTML = key;\n }\n }\n break;\n case \"children\":\n if (\"string\" === typeof value) setTextContent(domElement, value);\n else if (\"number\" === typeof value || \"bigint\" === typeof value)\n setTextContent(domElement, \"\" + value);\n else return;\n break;\n case \"onScroll\":\n null != value &&\n (\"function\" !== typeof value &&\n warnForInvalidEventListener(key, value),\n listenToNonDelegatedEvent(\"scroll\", domElement));\n return;\n case \"onScrollEnd\":\n null != value &&\n (\"function\" !== typeof value &&\n warnForInvalidEventListener(key, value),\n listenToNonDelegatedEvent(\"scrollend\", domElement));\n return;\n case \"onClick\":\n null != value &&\n (\"function\" !== typeof value &&\n warnForInvalidEventListener(key, value),\n (domElement.onclick = noop$1));\n return;\n case \"suppressContentEditableWarning\":\n case \"suppressHydrationWarning\":\n case \"innerHTML\":\n case \"ref\":\n return;\n case \"innerText\":\n case \"textContent\":\n return;\n default:\n if (registrationNameDependencies.hasOwnProperty(key))\n null != value &&\n \"function\" !== typeof value &&\n warnForInvalidEventListener(key, value);\n else\n a: {\n if (\n \"o\" === key[0] &&\n \"n\" === key[1] &&\n ((props = key.endsWith(\"Capture\")),\n (tag = key.slice(2, props ? key.length - 7 : void 0)),\n (prevValue = domElement[internalPropsKey] || null),\n (prevValue = null != prevValue ? prevValue[key] : null),\n \"function\" === typeof prevValue &&\n domElement.removeEventListener(tag, prevValue, props),\n \"function\" === typeof value)\n ) {\n \"function\" !== typeof prevValue &&\n null !== prevValue &&\n (key in domElement\n ? (domElement[key] = null)\n : domElement.hasAttribute(key) &&\n domElement.removeAttribute(key));\n domElement.addEventListener(tag, value, props);\n break a;\n }\n viewTransitionMutationContext = !0;\n key in domElement\n ? (domElement[key] = value)\n : !0 === value\n ? domElement.setAttribute(key, \"\")\n : setValueForAttribute(domElement, key, value);\n }\n return;\n }\n viewTransitionMutationContext = !0;\n }\n function setInitialProperties(domElement, tag, props) {\n validatePropertiesInDevelopment(tag, props);\n switch (tag) {\n case \"div\":\n case \"span\":\n case \"svg\":\n case \"path\":\n case \"a\":\n case \"g\":\n case \"p\":\n case \"li\":\n break;\n case \"img\":\n listenToNonDelegatedEvent(\"error\", domElement);\n listenToNonDelegatedEvent(\"load\", domElement);\n var hasSrc = !1,\n hasSrcSet = !1,\n propKey;\n for (propKey in props)\n if (props.hasOwnProperty(propKey)) {\n var propValue = props[propKey];\n if (null != propValue)\n switch (propKey) {\n case \"src\":\n hasSrc = !0;\n break;\n case \"srcSet\":\n hasSrcSet = !0;\n break;\n case \"children\":\n case \"dangerouslySetInnerHTML\":\n throw Error(\n tag +\n \" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.\"\n );\n default:\n setProp(domElement, tag, propKey, propValue, props, null);\n }\n }\n hasSrcSet &&\n setProp(domElement, tag, \"srcSet\", props.srcSet, props, null);\n hasSrc && setProp(domElement, tag, \"src\", props.src, props, null);\n return;\n case \"input\":\n checkControlledValueProps(\"input\", props);\n listenToNonDelegatedEvent(\"invalid\", domElement);\n var defaultValue = (propKey = propValue = hasSrcSet = null),\n checked = null,\n defaultChecked = null;\n for (hasSrc in props)\n if (props.hasOwnProperty(hasSrc)) {\n var _propValue = props[hasSrc];\n if (null != _propValue)\n switch (hasSrc) {\n case \"name\":\n hasSrcSet = _propValue;\n break;\n case \"type\":\n propValue = _propValue;\n break;\n case \"checked\":\n checked = _propValue;\n break;\n case \"defaultChecked\":\n defaultChecked = _propValue;\n break;\n case \"value\":\n propKey = _propValue;\n break;\n case \"defaultValue\":\n defaultValue = _propValue;\n break;\n case \"children\":\n case \"dangerouslySetInnerHTML\":\n if (null != _propValue)\n throw Error(\n tag +\n \" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.\"\n );\n break;\n default:\n setProp(domElement, tag, hasSrc, _propValue, props, null);\n }\n }\n validateInputProps(domElement, props);\n initInput(\n domElement,\n propKey,\n defaultValue,\n checked,\n defaultChecked,\n propValue,\n hasSrcSet,\n !1\n );\n return;\n case \"select\":\n checkControlledValueProps(\"select\", props);\n listenToNonDelegatedEvent(\"invalid\", domElement);\n hasSrc = propValue = propKey = null;\n for (hasSrcSet in props)\n if (\n props.hasOwnProperty(hasSrcSet) &&\n ((defaultValue = props[hasSrcSet]), null != defaultValue)\n )\n switch (hasSrcSet) {\n case \"value\":\n propKey = defaultValue;\n break;\n case \"defaultValue\":\n propValue = defaultValue;\n break;\n case \"multiple\":\n hasSrc = defaultValue;\n default:\n setProp(\n domElement,\n tag,\n hasSrcSet,\n defaultValue,\n props,\n null\n );\n }\n validateSelectProps(domElement, props);\n tag = propKey;\n props = propValue;\n domElement.multiple = !!hasSrc;\n null != tag\n ? updateOptions(domElement, !!hasSrc, tag, !1)\n : null != props && updateOptions(domElement, !!hasSrc, props, !0);\n return;\n case \"textarea\":\n checkControlledValueProps(\"textarea\", props);\n listenToNonDelegatedEvent(\"invalid\", domElement);\n propKey = hasSrcSet = hasSrc = null;\n for (propValue in props)\n if (\n props.hasOwnProperty(propValue) &&\n ((defaultValue = props[propValue]), null != defaultValue)\n )\n switch (propValue) {\n case \"value\":\n hasSrc = defaultValue;\n break;\n case \"defaultValue\":\n hasSrcSet = defaultValue;\n break;\n case \"children\":\n propKey = defaultValue;\n break;\n case \"dangerouslySetInnerHTML\":\n if (null != defaultValue)\n throw Error(\n \"`dangerouslySetInnerHTML` does not make sense on <textarea>.\"\n );\n break;\n default:\n setProp(\n domElement,\n tag,\n propValue,\n defaultValue,\n props,\n null\n );\n }\n validateTextareaProps(domElement, props);\n initTextarea(domElement, hasSrc, hasSrcSet, propKey);\n return;\n case \"option\":\n validateOptionProps(domElement, props);\n for (checked in props)\n if (\n props.hasOwnProperty(checked) &&\n ((hasSrc = props[checked]), null != hasSrc)\n )\n switch (checked) {\n case \"selected\":\n domElement.selected =\n hasSrc &&\n \"function\" !== typeof hasSrc &&\n \"symbol\" !== typeof hasSrc;\n break;\n default:\n setProp(domElement, tag, checked, hasSrc, props, null);\n }\n return;\n case \"dialog\":\n listenToNonDelegatedEvent(\"beforetoggle\", domElement);\n listenToNonDelegatedEvent(\"toggle\", domElement);\n listenToNonDelegatedEvent(\"cancel\", domElement);\n listenToNonDelegatedEvent(\"close\", domElement);\n break;\n case \"iframe\":\n case \"object\":\n listenToNonDelegatedEvent(\"load\", domElement);\n break;\n case \"video\":\n case \"audio\":\n for (hasSrc = 0; hasSrc < mediaEventTypes.length; hasSrc++)\n listenToNonDelegatedEvent(mediaEventTypes[hasSrc], domElement);\n break;\n case \"image\":\n listenToNonDelegatedEvent(\"error\", domElement);\n listenToNonDelegatedEvent(\"load\", domElement);\n break;\n case \"details\":\n listenToNonDelegatedEvent(\"toggle\", domElement);\n break;\n case \"embed\":\n case \"source\":\n case \"link\":\n listenToNonDelegatedEvent(\"error\", domElement),\n listenToNonDelegatedEvent(\"load\", domElement);\n case \"area\":\n case \"base\":\n case \"br\":\n case \"col\":\n case \"hr\":\n case \"keygen\":\n case \"meta\":\n case \"param\":\n case \"track\":\n case \"wbr\":\n case \"menuitem\":\n for (defaultChecked in props)\n if (\n props.hasOwnProperty(defaultChecked) &&\n ((hasSrc = props[defaultChecked]), null != hasSrc)\n )\n switch (defaultChecked) {\n case \"children\":\n case \"dangerouslySetInnerHTML\":\n throw Error(\n tag +\n \" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.\"\n );\n default:\n setProp(domElement, tag, defaultChecked, hasSrc, props, null);\n }\n return;\n default:\n if (isCustomElement(tag)) {\n for (_propValue in props)\n props.hasOwnProperty(_propValue) &&\n ((hasSrc = props[_propValue]),\n void 0 !== hasSrc &&\n setPropOnCustomElement(\n domElement,\n tag,\n _propValue,\n hasSrc,\n props,\n void 0\n ));\n return;\n }\n }\n for (defaultValue in props)\n props.hasOwnProperty(defaultValue) &&\n ((hasSrc = props[defaultValue]),\n null != hasSrc &&\n setProp(domElement, tag, defaultValue, hasSrc, props, null));\n }\n function updateProperties(domElement, tag, lastProps, nextProps) {\n validatePropertiesInDevelopment(tag, nextProps);\n switch (tag) {\n case \"div\":\n case \"span\":\n case \"svg\":\n case \"path\":\n case \"a\":\n case \"g\":\n case \"p\":\n case \"li\":\n break;\n case \"input\":\n var name = null,\n type = null,\n value = null,\n defaultValue = null,\n lastDefaultValue = null,\n checked = null,\n defaultChecked = null;\n for (propKey in lastProps) {\n var lastProp = lastProps[propKey];\n if (lastProps.hasOwnProperty(propKey) && null != lastProp)\n switch (propKey) {\n case \"checked\":\n break;\n case \"value\":\n break;\n case \"defaultValue\":\n lastDefaultValue = lastProp;\n default:\n nextProps.hasOwnProperty(propKey) ||\n setProp(\n domElement,\n tag,\n propKey,\n null,\n nextProps,\n lastProp\n );\n }\n }\n for (var _propKey8 in nextProps) {\n var propKey = nextProps[_propKey8];\n lastProp = lastProps[_propKey8];\n if (\n nextProps.hasOwnProperty(_propKey8) &&\n (null != propKey || null != lastProp)\n )\n switch (_propKey8) {\n case \"type\":\n propKey !== lastProp && (viewTransitionMutationContext = !0);\n type = propKey;\n break;\n case \"name\":\n propKey !== lastProp && (viewTransitionMutationContext = !0);\n name = propKey;\n break;\n case \"checked\":\n propKey !== lastProp && (viewTransitionMutationContext = !0);\n checked = propKey;\n break;\n case \"defaultChecked\":\n propKey !== lastProp && (viewTransitionMutationContext = !0);\n defaultChecked = propKey;\n break;\n case \"value\":\n propKey !== lastProp && (viewTransitionMutationContext = !0);\n value = propKey;\n break;\n case \"defaultValue\":\n propKey !== lastProp && (viewTransitionMutationContext = !0);\n defaultValue = propKey;\n break;\n case \"children\":\n case \"dangerouslySetInnerHTML\":\n if (null != propKey)\n throw Error(\n tag +\n \" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.\"\n );\n break;\n default:\n propKey !== lastProp &&\n setProp(\n domElement,\n tag,\n _propKey8,\n propKey,\n nextProps,\n lastProp\n );\n }\n }\n tag =\n \"checkbox\" === lastProps.type || \"radio\" === lastProps.type\n ? null != lastProps.checked\n : null != lastProps.value;\n nextProps =\n \"checkbox\" === nextProps.type || \"radio\" === nextProps.type\n ? null != nextProps.checked\n : null != nextProps.value;\n tag ||\n !nextProps ||\n didWarnUncontrolledToControlled ||\n (console.error(\n \"A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components\"\n ),\n (didWarnUncontrolledToControlled = !0));\n !tag ||\n nextProps ||\n didWarnControlledToUncontrolled ||\n (console.error(\n \"A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components\"\n ),\n (didWarnControlledToUncontrolled = !0));\n updateInput(\n domElement,\n value,\n defaultValue,\n lastDefaultValue,\n checked,\n defaultChecked,\n type,\n name\n );\n return;\n case \"select\":\n propKey = value = defaultValue = _propKey8 = null;\n for (type in lastProps)\n if (\n ((lastDefaultValue = lastProps[type]),\n lastProps.hasOwnProperty(type) && null != lastDefaultValue)\n )\n switch (type) {\n case \"value\":\n break;\n case \"multiple\":\n propKey = lastDefaultValue;\n default:\n nextProps.hasOwnProperty(type) ||\n setProp(\n domElement,\n tag,\n type,\n null,\n nextProps,\n lastDefaultValue\n );\n }\n for (name in nextProps)\n if (\n ((type = nextProps[name]),\n (lastDefaultValue = lastProps[name]),\n nextProps.hasOwnProperty(name) &&\n (null != type || null != lastDefaultValue))\n )\n switch (name) {\n case \"value\":\n type !== lastDefaultValue &&\n (viewTransitionMutationContext = !0);\n _propKey8 = type;\n break;\n case \"defaultValue\":\n type !== lastDefaultValue &&\n (viewTransitionMutationContext = !0);\n defaultValue = type;\n break;\n case \"multiple\":\n type !== lastDefaultValue &&\n (viewTransitionMutationContext = !0),\n (value = type);\n default:\n type !== lastDefaultValue &&\n setProp(\n domElement,\n tag,\n name,\n type,\n nextProps,\n lastDefaultValue\n );\n }\n nextProps = defaultValue;\n tag = value;\n lastProps = propKey;\n null != _propKey8\n ? updateOptions(domElement, !!tag, _propKey8, !1)\n : !!lastProps !== !!tag &&\n (null != nextProps\n ? updateOptions(domElement, !!tag, nextProps, !0)\n : updateOptions(domElement, !!tag, tag ? [] : \"\", !1));\n return;\n case \"textarea\":\n propKey = _propKey8 = null;\n for (defaultValue in lastProps)\n if (\n ((name = lastProps[defaultValue]),\n lastProps.hasOwnProperty(defaultValue) &&\n null != name &&\n !nextProps.hasOwnProperty(defaultValue))\n )\n switch (defaultValue) {\n case \"value\":\n break;\n case \"children\":\n break;\n default:\n setProp(domElement, tag, defaultValue, null, nextProps, name);\n }\n for (value in nextProps)\n if (\n ((name = nextProps[value]),\n (type = lastProps[value]),\n nextProps.hasOwnProperty(value) && (null != name || null != type))\n )\n switch (value) {\n case \"value\":\n name !== type && (viewTransitionMutationContext = !0);\n _propKey8 = name;\n break;\n case \"defaultValue\":\n name !== type && (viewTransitionMutationContext = !0);\n propKey = name;\n break;\n case \"children\":\n break;\n case \"dangerouslySetInnerHTML\":\n if (null != name)\n throw Error(\n \"`dangerouslySetInnerHTML` does not make sense on <textarea>.\"\n );\n break;\n default:\n name !== type &&\n setProp(domElement, tag, value, name, nextProps, type);\n }\n updateTextarea(domElement, _propKey8, propKey);\n return;\n case \"option\":\n for (var _propKey13 in lastProps)\n if (\n ((_propKey8 = lastProps[_propKey13]),\n lastProps.hasOwnProperty(_propKey13) &&\n null != _propKey8 &&\n !nextProps.hasOwnProperty(_propKey13))\n )\n switch (_propKey13) {\n case \"selected\":\n domElement.selected = !1;\n break;\n default:\n setProp(\n domElement,\n tag,\n _propKey13,\n null,\n nextProps,\n _propKey8\n );\n }\n for (lastDefaultValue in nextProps)\n if (\n ((_propKey8 = nextProps[lastDefaultValue]),\n (propKey = lastProps[lastDefaultValue]),\n nextProps.hasOwnProperty(lastDefaultValue) &&\n _propKey8 !== propKey &&\n (null != _propKey8 || null != propKey))\n )\n switch (lastDefaultValue) {\n case \"selected\":\n _propKey8 !== propKey && (viewTransitionMutationContext = !0);\n domElement.selected =\n _propKey8 &&\n \"function\" !== typeof _propKey8 &&\n \"symbol\" !== typeof _propKey8;\n break;\n default:\n setProp(\n domElement,\n tag,\n lastDefaultValue,\n _propKey8,\n nextProps,\n propKey\n );\n }\n return;\n case \"img\":\n case \"link\":\n case \"area\":\n case \"base\":\n case \"br\":\n case \"col\":\n case \"embed\":\n case \"hr\":\n case \"keygen\":\n case \"meta\":\n case \"param\":\n case \"source\":\n case \"track\":\n case \"wbr\":\n case \"menuitem\":\n for (var _propKey15 in lastProps)\n (_propKey8 = lastProps[_propKey15]),\n lastProps.hasOwnProperty(_propKey15) &&\n null != _propKey8 &&\n !nextProps.hasOwnProperty(_propKey15) &&\n setProp(\n domElement,\n tag,\n _propKey15,\n null,\n nextProps,\n _propKey8\n );\n for (checked in nextProps)\n if (\n ((_propKey8 = nextProps[checked]),\n (propKey = lastProps[checked]),\n nextProps.hasOwnProperty(checked) &&\n _propKey8 !== propKey &&\n (null != _propKey8 || null != propKey))\n )\n switch (checked) {\n case \"children\":\n case \"dangerouslySetInnerHTML\":\n if (null != _propKey8)\n throw Error(\n tag +\n \" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.\"\n );\n break;\n default:\n setProp(\n domElement,\n tag,\n checked,\n _propKey8,\n nextProps,\n propKey\n );\n }\n return;\n default:\n if (isCustomElement(tag)) {\n for (var _propKey17 in lastProps)\n (_propKey8 = lastProps[_propKey17]),\n lastProps.hasOwnProperty(_propKey17) &&\n void 0 !== _propKey8 &&\n !nextProps.hasOwnProperty(_propKey17) &&\n setPropOnCustomElement(\n domElement,\n tag,\n _propKey17,\n void 0,\n nextProps,\n _propKey8\n );\n for (defaultChecked in nextProps)\n (_propKey8 = nextProps[defaultChecked]),\n (propKey = lastProps[defaultChecked]),\n !nextProps.hasOwnProperty(defaultChecked) ||\n _propKey8 === propKey ||\n (void 0 === _propKey8 && void 0 === propKey) ||\n setPropOnCustomElement(\n domElement,\n tag,\n defaultChecked,\n _propKey8,\n nextProps,\n propKey\n );\n return;\n }\n }\n for (var _propKey19 in lastProps)\n (_propKey8 = lastProps[_propKey19]),\n lastProps.hasOwnProperty(_propKey19) &&\n null != _propKey8 &&\n !nextProps.hasOwnProperty(_propKey19) &&\n setProp(domElement, tag, _propKey19, null, nextProps, _propKey8);\n for (lastProp in nextProps)\n (_propKey8 = nextProps[lastProp]),\n (propKey = lastProps[lastProp]),\n !nextProps.hasOwnProperty(lastProp) ||\n _propKey8 === propKey ||\n (null == _propKey8 && null == propKey) ||\n setProp(domElement, tag, lastProp, _propKey8, nextProps, propKey);\n }\n function getPropNameFromAttributeName(attrName) {\n switch (attrName) {\n case \"class\":\n return \"className\";\n case \"for\":\n return \"htmlFor\";\n default:\n return attrName;\n }\n }\n function getStylesObjectFromElement(domElement) {\n for (\n var serverValueInObjectForm = {}, style = domElement.style, i = 0;\n i < style.length;\n i++\n ) {\n var styleName = style[i];\n (\"view-transition-name\" === styleName &&\n isExpectedViewTransitionName(domElement)) ||\n (serverValueInObjectForm[styleName] =\n style.getPropertyValue(styleName));\n }\n return serverValueInObjectForm;\n }\n function diffHydratedStyles(domElement, value$jscomp$0, serverDifferences) {\n if (null != value$jscomp$0 && \"object\" !== typeof value$jscomp$0)\n console.error(\n \"The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.\"\n );\n else {\n var clientValue;\n var delimiter = (clientValue = \"\"),\n styleName;\n for (styleName in value$jscomp$0)\n if (value$jscomp$0.hasOwnProperty(styleName)) {\n var value = value$jscomp$0[styleName];\n null != value &&\n \"boolean\" !== typeof value &&\n \"\" !== value &&\n (0 === styleName.indexOf(\"--\")\n ? (checkCSSPropertyStringCoercion(value, styleName),\n (clientValue +=\n delimiter + styleName + \":\" + (\"\" + value).trim()))\n : \"number\" !== typeof value ||\n 0 === value ||\n unitlessNumbers.has(styleName)\n ? (checkCSSPropertyStringCoercion(value, styleName),\n (clientValue +=\n delimiter +\n styleName\n .replace(uppercasePattern, \"-$1\")\n .toLowerCase()\n .replace(msPattern$1, \"-ms-\") +\n \":\" +\n (\"\" + value).trim()))\n : (clientValue +=\n delimiter +\n styleName\n .replace(uppercasePattern, \"-$1\")\n .toLowerCase()\n .replace(msPattern$1, \"-ms-\") +\n \":\" +\n value +\n \"px\"),\n (delimiter = \";\"));\n }\n clientValue = clientValue || null;\n value$jscomp$0 = domElement.getAttribute(\"style\");\n value$jscomp$0 !== clientValue &&\n ((clientValue = normalizeMarkupForTextOrAttribute(clientValue)),\n (value$jscomp$0 = normalizeMarkupForTextOrAttribute(value$jscomp$0)),\n value$jscomp$0 === clientValue ||\n (\";\" === value$jscomp$0[value$jscomp$0.length - 1] &&\n hasViewTransition(domElement)) ||\n (serverDifferences.style = getStylesObjectFromElement(domElement)));\n }\n }\n function hydrateAttribute(\n domElement,\n propKey,\n attributeName,\n value,\n extraAttributes,\n serverDifferences\n ) {\n extraAttributes.delete(attributeName);\n domElement = domElement.getAttribute(attributeName);\n if (null === domElement)\n switch (typeof value) {\n case \"undefined\":\n case \"function\":\n case \"symbol\":\n case \"boolean\":\n return;\n }\n else if (null != value)\n switch (typeof value) {\n case \"function\":\n case \"symbol\":\n case \"boolean\":\n break;\n default:\n if (\n (checkAttributeStringCoercion(value, propKey),\n domElement === \"\" + value)\n )\n return;\n }\n warnForPropDifference(propKey, domElement, value, serverDifferences);\n }\n function hydrateBooleanAttribute(\n domElement,\n propKey,\n attributeName,\n value,\n extraAttributes,\n serverDifferences\n ) {\n extraAttributes.delete(attributeName);\n domElement = domElement.getAttribute(attributeName);\n if (null === domElement) {\n switch (typeof value) {\n case \"function\":\n case \"symbol\":\n return;\n }\n if (!value) return;\n } else\n switch (typeof value) {\n case \"function\":\n case \"symbol\":\n break;\n default:\n if (value) return;\n }\n warnForPropDifference(propKey, domElement, value, serverDifferences);\n }\n function hydrateBooleanishAttribute(\n domElement,\n propKey,\n attributeName,\n value,\n extraAttributes,\n serverDifferences\n ) {\n extraAttributes.delete(attributeName);\n domElement = domElement.getAttribute(attributeName);\n if (null === domElement)\n switch (typeof value) {\n case \"undefined\":\n case \"function\":\n case \"symbol\":\n return;\n }\n else if (null != value)\n switch (typeof value) {\n case \"function\":\n case \"symbol\":\n break;\n default:\n if (\n (checkAttributeStringCoercion(value, attributeName),\n domElement === \"\" + value)\n )\n return;\n }\n warnForPropDifference(propKey, domElement, value, serverDifferences);\n }\n function hydrateNumericAttribute(\n domElement,\n propKey,\n attributeName,\n value,\n extraAttributes,\n serverDifferences\n ) {\n extraAttributes.delete(attributeName);\n domElement = domElement.getAttribute(attributeName);\n if (null === domElement)\n switch (typeof value) {\n case \"undefined\":\n case \"function\":\n case \"symbol\":\n case \"boolean\":\n return;\n default:\n if (isNaN(value)) return;\n }\n else if (null != value)\n switch (typeof value) {\n case \"function\":\n case \"symbol\":\n case \"boolean\":\n break;\n default:\n if (\n !isNaN(value) &&\n (checkAttributeStringCoercion(value, propKey),\n domElement === \"\" + value)\n )\n return;\n }\n warnForPropDifference(propKey, domElement, value, serverDifferences);\n }\n function hydrateSanitizedAttribute(\n domElement,\n propKey,\n attributeName,\n value,\n extraAttributes,\n serverDifferences\n ) {\n extraAttributes.delete(attributeName);\n domElement = domElement.getAttribute(attributeName);\n if (null === domElement)\n switch (typeof value) {\n case \"undefined\":\n case \"function\":\n case \"symbol\":\n case \"boolean\":\n return;\n }\n else if (null != value)\n switch (typeof value) {\n case \"function\":\n case \"symbol\":\n case \"boolean\":\n break;\n default:\n if (\n (checkAttributeStringCoercion(value, propKey),\n (attributeName = sanitizeURL(\"\" + value)),\n domElement === attributeName)\n )\n return;\n }\n warnForPropDifference(propKey, domElement, value, serverDifferences);\n }\n function diffHydratedProperties(domElement, tag, props, hostContext) {\n for (\n var serverDifferences = {},\n extraAttributes = new Set(),\n attributes = domElement.attributes,\n i = 0;\n i < attributes.length;\n i++\n )\n switch (attributes[i].name.toLowerCase()) {\n case \"value\":\n break;\n case \"checked\":\n break;\n case \"selected\":\n break;\n case \"vt-name\":\n case \"vt-update\":\n case \"vt-enter\":\n case \"vt-exit\":\n case \"vt-share\":\n break;\n default:\n extraAttributes.add(attributes[i].name);\n }\n if (isCustomElement(tag))\n for (var propKey in props) {\n if (props.hasOwnProperty(propKey)) {\n var value = props[propKey];\n if (null != value)\n if (registrationNameDependencies.hasOwnProperty(propKey))\n \"function\" !== typeof value &&\n warnForInvalidEventListener(propKey, value);\n else if (!0 !== props.suppressHydrationWarning)\n switch (propKey) {\n case \"children\":\n (\"string\" !== typeof value && \"number\" !== typeof value) ||\n warnForPropDifference(\n \"children\",\n domElement.textContent,\n value,\n serverDifferences\n );\n continue;\n case \"suppressContentEditableWarning\":\n case \"suppressHydrationWarning\":\n case \"defaultValue\":\n case \"defaultChecked\":\n case \"innerHTML\":\n case \"ref\":\n continue;\n case \"dangerouslySetInnerHTML\":\n attributes = domElement.innerHTML;\n value = value ? value.__html : void 0;\n null != value &&\n ((value = normalizeHTML(domElement, value)),\n warnForPropDifference(\n propKey,\n attributes,\n value,\n serverDifferences\n ));\n continue;\n case \"style\":\n extraAttributes.delete(propKey);\n diffHydratedStyles(domElement, value, serverDifferences);\n continue;\n case \"offsetParent\":\n case \"offsetTop\":\n case \"offsetLeft\":\n case \"offsetWidth\":\n case \"offsetHeight\":\n case \"isContentEditable\":\n case \"outerText\":\n case \"outerHTML\":\n extraAttributes.delete(propKey.toLowerCase());\n console.error(\n \"Assignment to read-only property will result in a no-op: `%s`\",\n propKey\n );\n continue;\n case \"className\":\n extraAttributes.delete(\"class\");\n attributes = getValueForAttributeOnCustomComponent(\n domElement,\n \"class\",\n value\n );\n warnForPropDifference(\n \"className\",\n attributes,\n value,\n serverDifferences\n );\n continue;\n default:\n hostContext.context === HostContextNamespaceNone &&\n \"svg\" !== tag &&\n \"math\" !== tag\n ? extraAttributes.delete(propKey.toLowerCase())\n : extraAttributes.delete(propKey),\n (attributes = getValueForAttributeOnCustomComponent(\n domElement,\n propKey,\n value\n )),\n warnForPropDifference(\n propKey,\n attributes,\n value,\n serverDifferences\n );\n }\n }\n }\n else\n for (value in props)\n if (\n props.hasOwnProperty(value) &&\n ((propKey = props[value]), null != propKey)\n )\n if (registrationNameDependencies.hasOwnProperty(value))\n \"function\" !== typeof propKey &&\n warnForInvalidEventListener(value, propKey);\n else if (!0 !== props.suppressHydrationWarning)\n switch (value) {\n case \"children\":\n (\"string\" !== typeof propKey &&\n \"number\" !== typeof propKey) ||\n warnForPropDifference(\n \"children\",\n domElement.textContent,\n propKey,\n serverDifferences\n );\n continue;\n case \"suppressContentEditableWarning\":\n case \"suppressHydrationWarning\":\n case \"value\":\n case \"checked\":\n case \"selected\":\n case \"defaultValue\":\n case \"defaultChecked\":\n case \"innerHTML\":\n case \"ref\":\n continue;\n case \"dangerouslySetInnerHTML\":\n attributes = domElement.innerHTML;\n propKey = propKey ? propKey.__html : void 0;\n null != propKey &&\n ((propKey = normalizeHTML(domElement, propKey)),\n attributes !== propKey &&\n (serverDifferences[value] = { __html: attributes }));\n continue;\n case \"className\":\n hydrateAttribute(\n domElement,\n value,\n \"class\",\n propKey,\n extraAttributes,\n serverDifferences\n );\n continue;\n case \"tabIndex\":\n hydrateAttribute(\n domElement,\n value,\n \"tabindex\",\n propKey,\n extraAttributes,\n serverDifferences\n );\n continue;\n case \"style\":\n extraAttributes.delete(value);\n diffHydratedStyles(domElement, propKey, serverDifferences);\n continue;\n case \"multiple\":\n extraAttributes.delete(value);\n warnForPropDifference(\n value,\n domElement.multiple,\n propKey,\n serverDifferences\n );\n continue;\n case \"muted\":\n extraAttributes.delete(value);\n warnForPropDifference(\n value,\n domElement.muted,\n propKey,\n serverDifferences\n );\n continue;\n case \"autoFocus\":\n extraAttributes.delete(\"autofocus\");\n warnForPropDifference(\n value,\n domElement.autofocus,\n propKey,\n serverDifferences\n );\n continue;\n case \"data\":\n if (\"object\" !== tag) {\n extraAttributes.delete(value);\n attributes = domElement.getAttribute(\"data\");\n warnForPropDifference(\n value,\n attributes,\n propKey,\n serverDifferences\n );\n continue;\n }\n case \"src\":\n case \"href\":\n if (\n !(\n \"\" !== propKey ||\n (\"a\" === tag && \"href\" === value) ||\n (\"object\" === tag && \"data\" === value)\n )\n ) {\n \"src\" === value\n ? console.error(\n 'An empty string (\"\") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',\n value,\n value\n )\n : console.error(\n 'An empty string (\"\") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',\n value,\n value\n );\n continue;\n }\n hydrateSanitizedAttribute(\n domElement,\n value,\n value,\n propKey,\n extraAttributes,\n serverDifferences\n );\n continue;\n case \"action\":\n case \"formAction\":\n attributes = domElement.getAttribute(value);\n if (\"function\" === typeof propKey) {\n extraAttributes.delete(value.toLowerCase());\n \"formAction\" === value\n ? (extraAttributes.delete(\"name\"),\n extraAttributes.delete(\"formenctype\"),\n extraAttributes.delete(\"formmethod\"),\n extraAttributes.delete(\"formtarget\"))\n : (extraAttributes.delete(\"enctype\"),\n extraAttributes.delete(\"method\"),\n extraAttributes.delete(\"target\"));\n continue;\n } else if (attributes === EXPECTED_FORM_ACTION_URL) {\n extraAttributes.delete(value.toLowerCase());\n warnForPropDifference(\n value,\n \"function\",\n propKey,\n serverDifferences\n );\n continue;\n }\n hydrateSanitizedAttribute(\n domElement,\n value,\n value.toLowerCase(),\n propKey,\n extraAttributes,\n serverDifferences\n );\n continue;\n case \"xlinkHref\":\n hydrateSanitizedAttribute(\n domElement,\n value,\n \"xlink:href\",\n propKey,\n extraAttributes,\n serverDifferences\n );\n continue;\n case \"contentEditable\":\n hydrateBooleanishAttribute(\n domElement,\n value,\n \"contenteditable\",\n propKey,\n extraAttributes,\n serverDifferences\n );\n continue;\n case \"spellCheck\":\n hydrateBooleanishAttribute(\n domElement,\n value,\n \"spellcheck\",\n propKey,\n extraAttributes,\n serverDifferences\n );\n continue;\n case \"draggable\":\n case \"autoReverse\":\n case \"externalResourcesRequired\":\n case \"focusable\":\n case \"preserveAlpha\":\n hydrateBooleanishAttribute(\n domElement,\n value,\n value,\n propKey,\n extraAttributes,\n serverDifferences\n );\n continue;\n case \"allowFullScreen\":\n case \"async\":\n case \"autoPlay\":\n case \"controls\":\n case \"default\":\n case \"defer\":\n case \"disabled\":\n case \"disablePictureInPicture\":\n case \"disableRemotePlayback\":\n case \"formNoValidate\":\n case \"hidden\":\n case \"loop\":\n case \"noModule\":\n case \"noValidate\":\n case \"open\":\n case \"playsInline\":\n case \"readOnly\":\n case \"required\":\n case \"reversed\":\n case \"scoped\":\n case \"seamless\":\n case \"itemScope\":\n hydrateBooleanAttribute(\n domElement,\n value,\n value.toLowerCase(),\n propKey,\n extraAttributes,\n serverDifferences\n );\n continue;\n case \"capture\":\n case \"download\":\n a: {\n i = domElement;\n var attributeName = (attributes = value),\n serverDifferences$jscomp$0 = serverDifferences;\n extraAttributes.delete(attributeName);\n i = i.getAttribute(attributeName);\n if (null === i)\n switch (typeof propKey) {\n case \"undefined\":\n case \"function\":\n case \"symbol\":\n break a;\n default:\n if (!1 === propKey) break a;\n }\n else if (null != propKey)\n switch (typeof propKey) {\n case \"function\":\n case \"symbol\":\n break;\n case \"boolean\":\n if (!0 === propKey && \"\" === i) break a;\n break;\n default:\n if (\n (checkAttributeStringCoercion(propKey, attributes),\n i === \"\" + propKey)\n )\n break a;\n }\n warnForPropDifference(\n attributes,\n i,\n propKey,\n serverDifferences$jscomp$0\n );\n }\n continue;\n case \"cols\":\n case \"rows\":\n case \"size\":\n case \"span\":\n a: {\n i = domElement;\n attributeName = attributes = value;\n serverDifferences$jscomp$0 = serverDifferences;\n extraAttributes.delete(attributeName);\n i = i.getAttribute(attributeName);\n if (null === i)\n switch (typeof propKey) {\n case \"undefined\":\n case \"function\":\n case \"symbol\":\n case \"boolean\":\n break a;\n default:\n if (isNaN(propKey) || 1 > propKey) break a;\n }\n else if (null != propKey)\n switch (typeof propKey) {\n case \"function\":\n case \"symbol\":\n case \"boolean\":\n break;\n default:\n if (\n !(isNaN(propKey) || 1 > propKey) &&\n (checkAttributeStringCoercion(propKey, attributes),\n i === \"\" + propKey)\n )\n break a;\n }\n warnForPropDifference(\n attributes,\n i,\n propKey,\n serverDifferences$jscomp$0\n );\n }\n continue;\n case \"rowSpan\":\n hydrateNumericAttribute(\n domElement,\n value,\n \"rowspan\",\n propKey,\n extraAttributes,\n serverDifferences\n );\n continue;\n case \"start\":\n hydrateNumericAttribute(\n domElement,\n value,\n value,\n propKey,\n extraAttributes,\n serverDifferences\n );\n continue;\n case \"xHeight\":\n hydrateAttribute(\n domElement,\n value,\n \"x-height\",\n propKey,\n extraAttributes,\n serverDifferences\n );\n continue;\n case \"xlinkActuate\":\n hydrateAttribute(\n domElement,\n value,\n \"xlink:actuate\",\n propKey,\n extraAttributes,\n serverDifferences\n );\n continue;\n case \"xlinkArcrole\":\n hydrateAttribute(\n domElement,\n value,\n \"xlink:arcrole\",\n propKey,\n extraAttributes,\n serverDifferences\n );\n continue;\n case \"xlinkRole\":\n hydrateAttribute(\n domElement,\n value,\n \"xlink:role\",\n propKey,\n extraAttributes,\n serverDifferences\n );\n continue;\n case \"xlinkShow\":\n hydrateAttribute(\n domElement,\n value,\n \"xlink:show\",\n propKey,\n extraAttributes,\n serverDifferences\n );\n continue;\n case \"xlinkTitle\":\n hydrateAttribute(\n domElement,\n value,\n \"xlink:title\",\n propKey,\n extraAttributes,\n serverDifferences\n );\n continue;\n case \"xlinkType\":\n hydrateAttribute(\n domElement,\n value,\n \"xlink:type\",\n propKey,\n extraAttributes,\n serverDifferences\n );\n continue;\n case \"xmlBase\":\n hydrateAttribute(\n domElement,\n value,\n \"xml:base\",\n propKey,\n extraAttributes,\n serverDifferences\n );\n continue;\n case \"xmlLang\":\n hydrateAttribute(\n domElement,\n value,\n \"xml:lang\",\n propKey,\n extraAttributes,\n serverDifferences\n );\n continue;\n case \"xmlSpace\":\n hydrateAttribute(\n domElement,\n value,\n \"xml:space\",\n propKey,\n extraAttributes,\n serverDifferences\n );\n continue;\n case \"inert\":\n \"\" !== propKey ||\n didWarnForNewBooleanPropsWithEmptyValue[value] ||\n ((didWarnForNewBooleanPropsWithEmptyValue[value] = !0),\n console.error(\n \"Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.\",\n value\n ));\n hydrateBooleanAttribute(\n domElement,\n value,\n value,\n propKey,\n extraAttributes,\n serverDifferences\n );\n continue;\n default:\n if (\n !(2 < value.length) ||\n (\"o\" !== value[0] && \"O\" !== value[0]) ||\n (\"n\" !== value[1] && \"N\" !== value[1])\n ) {\n i = getAttributeAlias(value);\n attributes = !1;\n hostContext.context === HostContextNamespaceNone &&\n \"svg\" !== tag &&\n \"math\" !== tag\n ? extraAttributes.delete(i.toLowerCase())\n : ((attributeName = value.toLowerCase()),\n (attributeName = possibleStandardNames.hasOwnProperty(\n attributeName\n )\n ? possibleStandardNames[attributeName] || null\n : null),\n null !== attributeName &&\n attributeName !== value &&\n ((attributes = !0),\n extraAttributes.delete(attributeName)),\n extraAttributes.delete(i));\n a: if (\n ((attributeName = domElement),\n (serverDifferences$jscomp$0 = i),\n (i = propKey),\n isAttributeNameSafe(serverDifferences$jscomp$0))\n )\n if (\n attributeName.hasAttribute(serverDifferences$jscomp$0)\n )\n (attributeName = attributeName.getAttribute(\n serverDifferences$jscomp$0\n )),\n checkAttributeStringCoercion(\n i,\n serverDifferences$jscomp$0\n ),\n (i = attributeName === \"\" + i ? i : attributeName);\n else {\n switch (typeof i) {\n case \"function\":\n case \"symbol\":\n break a;\n case \"boolean\":\n if (\n ((attributeName = serverDifferences$jscomp$0\n .toLowerCase()\n .slice(0, 5)),\n \"data-\" !== attributeName &&\n \"aria-\" !== attributeName)\n )\n break a;\n }\n i = void 0 === i ? void 0 : null;\n }\n else i = void 0;\n attributes ||\n warnForPropDifference(\n value,\n i,\n propKey,\n serverDifferences\n );\n }\n }\n 0 < extraAttributes.size &&\n !0 !== props.suppressHydrationWarning &&\n warnForExtraAttributes(domElement, extraAttributes, serverDifferences);\n return 0 === Object.keys(serverDifferences).length\n ? null\n : serverDifferences;\n }\n function propNamesListJoin(list, combinator) {\n switch (list.length) {\n case 0:\n return \"\";\n case 1:\n return list[0];\n case 2:\n return list[0] + \" \" + combinator + \" \" + list[1];\n default:\n return (\n list.slice(0, -1).join(\", \") +\n \", \" +\n combinator +\n \" \" +\n list[list.length - 1]\n );\n }\n }\n function isLikelyStaticResource(initiatorType) {\n switch (initiatorType) {\n case \"css\":\n case \"script\":\n case \"font\":\n case \"img\":\n case \"image\":\n case \"input\":\n case \"link\":\n return !0;\n default:\n return !1;\n }\n }\n function estimateBandwidth() {\n if (\"function\" === typeof performance.getEntriesByType) {\n for (\n var count = 0,\n bits = 0,\n resourceEntries = performance.getEntriesByType(\"resource\"),\n i = 0;\n i < resourceEntries.length;\n i++\n ) {\n var entry = resourceEntries[i],\n transferSize = entry.transferSize,\n initiatorType = entry.initiatorType,\n duration = entry.duration;\n if (\n transferSize &&\n duration &&\n isLikelyStaticResource(initiatorType)\n ) {\n initiatorType = 0;\n duration = entry.responseEnd;\n for (i += 1; i < resourceEntries.length; i++) {\n var overlapEntry = resourceEntries[i],\n overlapStartTime = overlapEntry.startTime;\n if (overlapStartTime > duration) break;\n var overlapTransferSize = overlapEntry.transferSize,\n overlapInitiatorType = overlapEntry.initiatorType;\n overlapTransferSize &&\n isLikelyStaticResource(overlapInitiatorType) &&\n ((overlapEntry = overlapEntry.responseEnd),\n (initiatorType +=\n overlapTransferSize *\n (overlapEntry < duration\n ? 1\n : (duration - overlapStartTime) /\n (overlapEntry - overlapStartTime))));\n }\n --i;\n bits +=\n (8 * (transferSize + initiatorType)) / (entry.duration / 1e3);\n count++;\n if (10 < count) break;\n }\n }\n if (0 < count) return bits / count / 1e6;\n }\n return navigator.connection &&\n ((count = navigator.connection.downlink), \"number\" === typeof count)\n ? count\n : 5;\n }\n function getOwnerDocumentFromRootContainer(rootContainerElement) {\n return 9 === rootContainerElement.nodeType\n ? rootContainerElement\n : rootContainerElement.ownerDocument;\n }\n function getOwnHostContext(namespaceURI) {\n switch (namespaceURI) {\n case SVG_NAMESPACE:\n return HostContextNamespaceSvg;\n case MATH_NAMESPACE:\n return HostContextNamespaceMath;\n default:\n return HostContextNamespaceNone;\n }\n }\n function getChildHostContextProd(parentNamespace, type) {\n if (parentNamespace === HostContextNamespaceNone)\n switch (type) {\n case \"svg\":\n return HostContextNamespaceSvg;\n case \"math\":\n return HostContextNamespaceMath;\n default:\n return HostContextNamespaceNone;\n }\n return parentNamespace === HostContextNamespaceSvg &&\n \"foreignObject\" === type\n ? HostContextNamespaceNone\n : parentNamespace;\n }\n function shouldSetTextContent(type, props) {\n return (\n \"textarea\" === type ||\n \"noscript\" === type ||\n \"string\" === typeof props.children ||\n \"number\" === typeof props.children ||\n \"bigint\" === typeof props.children ||\n (\"object\" === typeof props.dangerouslySetInnerHTML &&\n null !== props.dangerouslySetInnerHTML &&\n null != props.dangerouslySetInnerHTML.__html)\n );\n }\n function shouldAttemptEagerTransition() {\n var event = window.event;\n if (event && \"popstate\" === event.type) {\n if (event === currentPopstateTransitionEvent) return !1;\n currentPopstateTransitionEvent = event;\n return !0;\n }\n currentPopstateTransitionEvent = null;\n return !1;\n }\n function resolveEventType() {\n var event = window.event;\n return event && event !== schedulerEvent ? event.type : null;\n }\n function resolveEventTimeStamp() {\n var event = window.event;\n return event && event !== schedulerEvent ? event.timeStamp : -1.1;\n }\n function handleErrorInNextTick(error) {\n setTimeout(function () {\n throw error;\n });\n }\n function commitMount(domElement, type, newProps) {\n switch (type) {\n case \"button\":\n case \"input\":\n case \"select\":\n case \"textarea\":\n newProps.autoFocus && domElement.focus();\n break;\n case \"img\":\n newProps.src\n ? (domElement.src = newProps.src)\n : newProps.srcSet && (domElement.srcset = newProps.srcSet);\n }\n }\n function commitHydratedInstance() {}\n function commitUpdate(domElement, type, oldProps, newProps) {\n updateProperties(domElement, type, oldProps, newProps);\n domElement[internalPropsKey] = newProps;\n }\n function resetTextContent(domElement) {\n setTextContent(domElement, \"\");\n }\n function commitTextUpdate(textInstance, oldText, newText) {\n textInstance.nodeValue = newText;\n }\n function warnForReactChildrenConflict(container) {\n if (!container.__reactWarnedAboutChildrenConflict) {\n var props = container[internalPropsKey] || null;\n if (null !== props) {\n var fiber = getInstanceFromNode(container);\n null !== fiber &&\n (\"string\" === typeof props.children ||\n \"number\" === typeof props.children\n ? ((container.__reactWarnedAboutChildrenConflict = !0),\n runWithFiberInDEV(fiber, function () {\n console.error(\n 'Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets \"children\" text content using React. It should be a leaf with no children. Otherwise it\\'s ambiguous which children should be used.'\n );\n }))\n : null != props.dangerouslySetInnerHTML &&\n ((container.__reactWarnedAboutChildrenConflict = !0),\n runWithFiberInDEV(fiber, function () {\n console.error(\n 'Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets \"dangerouslySetInnerHTML\" using React. It should be a leaf with no children. Otherwise it\\'s ambiguous which children should be used.'\n );\n })));\n }\n }\n }\n function isSingletonScope(type) {\n return \"head\" === type;\n }\n function removeChild(parentInstance, child) {\n parentInstance.removeChild(child);\n }\n function removeChildFromContainer(container, child) {\n (9 === container.nodeType\n ? container.body\n : \"HTML\" === container.nodeName\n ? container.ownerDocument.body\n : container\n ).removeChild(child);\n }\n function clearHydrationBoundary(parentInstance, hydrationInstance) {\n var node = hydrationInstance,\n depth = 0;\n do {\n var nextNode = node.nextSibling;\n parentInstance.removeChild(node);\n if (nextNode && 8 === nextNode.nodeType)\n if (\n ((node = nextNode.data),\n node === SUSPENSE_END_DATA || node === ACTIVITY_END_DATA)\n ) {\n if (0 === depth) {\n parentInstance.removeChild(nextNode);\n retryIfBlockedOn(hydrationInstance);\n return;\n }\n depth--;\n } else if (\n node === SUSPENSE_START_DATA ||\n node === SUSPENSE_PENDING_START_DATA ||\n node === SUSPENSE_QUEUED_START_DATA ||\n node === SUSPENSE_FALLBACK_START_DATA ||\n node === ACTIVITY_START_DATA\n )\n depth++;\n else if (node === PREAMBLE_CONTRIBUTION_HTML)\n releaseSingletonInstance(\n parentInstance.ownerDocument.documentElement\n );\n else if (node === PREAMBLE_CONTRIBUTION_HEAD) {\n node = parentInstance.ownerDocument.head;\n releaseSingletonInstance(node);\n for (var node$jscomp$0 = node.firstChild; node$jscomp$0; ) {\n var nextNode$jscomp$0 = node$jscomp$0.nextSibling,\n nodeName = node$jscomp$0.nodeName;\n node$jscomp$0[internalHoistableMarker] ||\n \"SCRIPT\" === nodeName ||\n \"STYLE\" === nodeName ||\n (\"LINK\" === nodeName &&\n \"stylesheet\" === node$jscomp$0.rel.toLowerCase()) ||\n node.removeChild(node$jscomp$0);\n node$jscomp$0 = nextNode$jscomp$0;\n }\n } else\n node === PREAMBLE_CONTRIBUTION_BODY &&\n releaseSingletonInstance(parentInstance.ownerDocument.body);\n node = nextNode;\n } while (node);\n retryIfBlockedOn(hydrationInstance);\n }\n function hideOrUnhideDehydratedBoundary(suspenseInstance, isHidden) {\n var node = suspenseInstance;\n suspenseInstance = 0;\n do {\n var nextNode = node.nextSibling;\n 1 === node.nodeType\n ? isHidden\n ? ((node._stashedDisplay = node.style.display),\n (node.style.display = \"none\"))\n : ((node.style.display = node._stashedDisplay || \"\"),\n \"\" === node.getAttribute(\"style\") &&\n node.removeAttribute(\"style\"))\n : 3 === node.nodeType &&\n (isHidden\n ? ((node._stashedText = node.nodeValue), (node.nodeValue = \"\"))\n : (node.nodeValue = node._stashedText || \"\"));\n if (nextNode && 8 === nextNode.nodeType)\n if (((node = nextNode.data), node === SUSPENSE_END_DATA))\n if (0 === suspenseInstance) break;\n else suspenseInstance--;\n else\n (node !== SUSPENSE_START_DATA &&\n node !== SUSPENSE_PENDING_START_DATA &&\n node !== SUSPENSE_QUEUED_START_DATA &&\n node !== SUSPENSE_FALLBACK_START_DATA) ||\n suspenseInstance++;\n node = nextNode;\n } while (node);\n }\n function hideDehydratedBoundary(suspenseInstance) {\n hideOrUnhideDehydratedBoundary(suspenseInstance, !0);\n }\n function hideInstance(instance) {\n instance = instance.style;\n \"function\" === typeof instance.setProperty\n ? instance.setProperty(\"display\", \"none\", \"important\")\n : (instance.display = \"none\");\n }\n function hideTextInstance(textInstance) {\n textInstance.nodeValue = \"\";\n }\n function unhideDehydratedBoundary(dehydratedInstance) {\n hideOrUnhideDehydratedBoundary(dehydratedInstance, !1);\n }\n function unhideInstance(instance, props) {\n props = props[STYLE];\n props =\n void 0 !== props && null !== props && props.hasOwnProperty(\"display\")\n ? props.display\n : null;\n instance.style.display =\n null == props || \"boolean\" === typeof props ? \"\" : (\"\" + props).trim();\n }\n function unhideTextInstance(textInstance, text) {\n textInstance.nodeValue = text;\n }\n function warnForBlockInsideInline(instance) {\n for (var nextNode = instance.firstChild; null != nextNode; ) {\n if (\n 1 === nextNode.nodeType &&\n \"block\" === getComputedStyle(nextNode).display\n ) {\n var fiber =\n getInstanceFromNode(nextNode) || getInstanceFromNode(instance);\n runWithFiberInDEV(\n fiber,\n function (parentTag, childTag) {\n console.error(\n \"You're about to start a <ViewTransition> around a display: inline element <%s>, which itself has a display: block element <%s> inside it. This might trigger a bug in Safari which causes the View Transition to be skipped with a duplicate name error.\\nhttps://bugs.webkit.org/show_bug.cgi?id=290923\",\n parentTag.toLocaleLowerCase(),\n childTag.toLocaleLowerCase()\n );\n },\n instance.tagName,\n nextNode.tagName\n );\n break;\n }\n if (null != nextNode.firstChild) nextNode = nextNode.firstChild;\n else {\n if (nextNode === instance) break;\n for (\n ;\n null == nextNode.nextSibling &&\n null != nextNode.parentNode &&\n nextNode.parentNode !== instance;\n\n )\n nextNode = nextNode.parentNode;\n nextNode = nextNode.nextSibling;\n }\n }\n }\n function applyViewTransitionName(instance, name, className) {\n name =\n CSS.escape(name) !== name ? \"r-\" + btoa(name).replace(/=/g, \"\") : name;\n instance.style.viewTransitionName = name;\n null != className && (instance.style.viewTransitionClass = className);\n className = getComputedStyle(instance);\n if (\"inline\" === className.display) {\n name = instance.getClientRects();\n if (1 === name.length) var JSCompiler_inline_result = 1;\n else\n for (var i = (JSCompiler_inline_result = 0); i < name.length; i++) {\n var rect = name[i];\n 0 < rect.width && 0 < rect.height && JSCompiler_inline_result++;\n }\n 1 === JSCompiler_inline_result\n ? ((instance = instance.style),\n (instance.display = 1 === name.length ? \"inline-block\" : \"block\"),\n (instance.marginTop = \"-\" + className.paddingTop),\n (instance.marginBottom = \"-\" + className.paddingBottom))\n : warnForBlockInsideInline(instance);\n }\n }\n function restoreViewTransitionName(instance, props) {\n instance = instance.style;\n props = props[STYLE];\n var viewTransitionName =\n null != props\n ? props.hasOwnProperty(\"viewTransitionName\")\n ? props.viewTransitionName\n : props.hasOwnProperty(\"view-transition-name\")\n ? props[\"view-transition-name\"]\n : null\n : null;\n instance.viewTransitionName =\n null == viewTransitionName || \"boolean\" === typeof viewTransitionName\n ? \"\"\n : (\"\" + viewTransitionName).trim();\n viewTransitionName =\n null != props\n ? props.hasOwnProperty(\"viewTransitionClass\")\n ? props.viewTransitionClass\n : props.hasOwnProperty(\"view-transition-class\")\n ? props[\"view-transition-class\"]\n : null\n : null;\n instance.viewTransitionClass =\n null == viewTransitionName || \"boolean\" === typeof viewTransitionName\n ? \"\"\n : (\"\" + viewTransitionName).trim();\n \"inline-block\" === instance.display &&\n (null == props\n ? (instance.display = instance.margin = \"\")\n : ((viewTransitionName = props.display),\n (instance.display =\n null == viewTransitionName ||\n \"boolean\" === typeof viewTransitionName\n ? \"\"\n : viewTransitionName),\n (viewTransitionName = props.margin),\n null != viewTransitionName\n ? (instance.margin = viewTransitionName)\n : ((viewTransitionName = props.hasOwnProperty(\"marginTop\")\n ? props.marginTop\n : props[\"margin-top\"]),\n (instance.marginTop =\n null == viewTransitionName ||\n \"boolean\" === typeof viewTransitionName\n ? \"\"\n : viewTransitionName),\n (props = props.hasOwnProperty(\"marginBottom\")\n ? props.marginBottom\n : props[\"margin-bottom\"]),\n (instance.marginBottom =\n null == props || \"boolean\" === typeof props ? \"\" : props))));\n }\n function createMeasurement(rect, computedStyle, element) {\n element = element.ownerDocument.defaultView;\n return {\n rect: rect,\n abs:\n \"absolute\" === computedStyle.position ||\n \"fixed\" === computedStyle.position,\n clip:\n \"none\" !== computedStyle.clipPath ||\n \"visible\" !== computedStyle.overflow ||\n \"none\" !== computedStyle.filter ||\n \"none\" !== computedStyle.mask ||\n \"none\" !== computedStyle.mask ||\n \"0px\" !== computedStyle.borderRadius,\n view:\n 0 <= rect.bottom &&\n 0 <= rect.right &&\n rect.top <= element.innerHeight &&\n rect.left <= element.innerWidth\n };\n }\n function measureInstance(instance) {\n var rect = instance.getBoundingClientRect(),\n computedStyle = getComputedStyle(instance);\n return createMeasurement(rect, computedStyle, instance);\n }\n function measureClonedInstance(instance) {\n var measuredRect = instance.getBoundingClientRect();\n measuredRect = new DOMRect(\n measuredRect.x + 2e4,\n measuredRect.y + 2e4,\n measuredRect.width,\n measuredRect.height\n );\n var computedStyle = getComputedStyle(instance);\n return createMeasurement(measuredRect, computedStyle, instance);\n }\n function customizeViewTransitionError(error, ignoreAbort) {\n if (\"object\" === typeof error && null !== error)\n switch (error.name) {\n case \"TimeoutError\":\n return Error(\n \"A ViewTransition timed out because a Navigation stalled. This can happen if a Navigation is blocked on React itself. Such as if it's resolved inside useEffect. This can be solved by moving the resolution to useLayoutEffect.\",\n { cause: error }\n );\n case \"AbortError\":\n return ignoreAbort\n ? null\n : Error(\n \"A ViewTransition was aborted early. This might be because you have other View Transition libraries on the page and only one can run at a time. To avoid this, use only React's built-in <ViewTransition> to coordinate.\",\n { cause: error }\n );\n case \"InvalidStateError\":\n if (\n \"View transition was skipped because document visibility state is hidden.\" ===\n error.message ||\n \"Skipping view transition because document visibility state has become hidden.\" ===\n error.message ||\n \"Skipping view transition because viewport size changed.\" ===\n error.message ||\n \"Transition was aborted because of invalid state\" ===\n error.message\n )\n return null;\n }\n return error;\n }\n function forceLayout(ownerDocument) {\n return ownerDocument.documentElement.clientHeight;\n }\n function waitForImageToLoad(resolve) {\n this.addEventListener(\"load\", resolve);\n this.addEventListener(\"error\", resolve);\n }\n function startViewTransition(\n suspendedState,\n rootContainer,\n transitionTypes,\n mutationCallback,\n layoutCallback,\n afterMutationCallback,\n spawnedWorkCallback,\n passiveCallback,\n errorCallback,\n blockedCallback,\n finishedAnimation\n ) {\n var ownerDocument =\n 9 === rootContainer.nodeType\n ? rootContainer\n : rootContainer.ownerDocument;\n try {\n var transition = ownerDocument.startViewTransition({\n update: function () {\n var ownerWindow = ownerDocument.defaultView,\n pendingNavigation =\n ownerWindow.navigation && ownerWindow.navigation.transition,\n previousFontLoadingStatus = ownerDocument.fonts.status;\n mutationCallback();\n var blockingPromises = [];\n \"loaded\" === previousFontLoadingStatus &&\n (forceLayout(ownerDocument),\n \"loading\" === ownerDocument.fonts.status &&\n blockingPromises.push(ownerDocument.fonts.ready));\n previousFontLoadingStatus = blockingPromises.length;\n if (null !== suspendedState)\n for (\n var suspenseyImages = suspendedState.suspenseyImages,\n imgBytes = 0,\n i = 0;\n i < suspenseyImages.length;\n i++\n ) {\n var suspenseyImage = suspenseyImages[i];\n if (!suspenseyImage.complete) {\n var rect = suspenseyImage.getBoundingClientRect();\n if (\n 0 < rect.bottom &&\n 0 < rect.right &&\n rect.top < ownerWindow.innerHeight &&\n rect.left < ownerWindow.innerWidth\n ) {\n imgBytes += estimateImageBytes(suspenseyImage);\n if (imgBytes > estimatedBytesWithinLimit) {\n blockingPromises.length = previousFontLoadingStatus;\n break;\n }\n suspenseyImage = new Promise(\n waitForImageToLoad.bind(suspenseyImage)\n );\n blockingPromises.push(suspenseyImage);\n }\n }\n }\n if (0 < blockingPromises.length)\n return (\n blockedCallback(\n 0 < previousFontLoadingStatus\n ? blockingPromises.length > previousFontLoadingStatus\n ? \"Waiting on Fonts and Images\"\n : \"Waiting on Fonts\"\n : \"Waiting on Images\"\n ),\n (ownerWindow = Promise.race([\n Promise.all(blockingPromises),\n new Promise(function (resolve) {\n return setTimeout(\n resolve,\n SUSPENSEY_FONT_AND_IMAGE_TIMEOUT\n );\n })\n ]).then(layoutCallback, layoutCallback)),\n (pendingNavigation\n ? Promise.allSettled([\n pendingNavigation.finished,\n ownerWindow\n ])\n : ownerWindow\n ).then(afterMutationCallback, afterMutationCallback)\n );\n layoutCallback();\n if (pendingNavigation)\n return pendingNavigation.finished.then(\n afterMutationCallback,\n afterMutationCallback\n );\n afterMutationCallback();\n },\n types: transitionTypes\n });\n ownerDocument.__reactViewTransition = transition;\n var viewTransitionAnimations = [];\n transition.ready.then(\n function () {\n for (\n var animations = ownerDocument.documentElement.getAnimations({\n subtree: !0\n }),\n i = 0;\n i < animations.length;\n i++\n ) {\n var animation = animations[i],\n effect = animation.effect,\n pseudoElement = effect.pseudoElement;\n if (\n null != pseudoElement &&\n pseudoElement.startsWith(\"::view-transition\")\n ) {\n viewTransitionAnimations.push(animation);\n animation = effect.getKeyframes();\n for (\n var height = (pseudoElement = void 0),\n unchangedDimensions = !0,\n j = 0;\n j < animation.length;\n j++\n ) {\n var keyframe = animation[j],\n w = keyframe.width;\n if (void 0 === pseudoElement) pseudoElement = w;\n else if (pseudoElement !== w) {\n unchangedDimensions = !1;\n break;\n }\n w = keyframe.height;\n if (void 0 === height) height = w;\n else if (height !== w) {\n unchangedDimensions = !1;\n break;\n }\n delete keyframe.width;\n delete keyframe.height;\n \"none\" === keyframe.transform && delete keyframe.transform;\n }\n unchangedDimensions &&\n void 0 !== pseudoElement &&\n void 0 !== height &&\n (effect.setKeyframes(animation),\n (unchangedDimensions = getComputedStyle(\n effect.target,\n effect.pseudoElement\n )),\n unchangedDimensions.width !== pseudoElement ||\n unchangedDimensions.height !== height) &&\n ((unchangedDimensions = animation[0]),\n (unchangedDimensions.width = pseudoElement),\n (unchangedDimensions.height = height),\n (unchangedDimensions = animation[animation.length - 1]),\n (unchangedDimensions.width = pseudoElement),\n (unchangedDimensions.height = height),\n effect.setKeyframes(animation));\n }\n }\n spawnedWorkCallback();\n },\n function (error) {\n ownerDocument.__reactViewTransition === transition &&\n (ownerDocument.__reactViewTransition = null);\n try {\n (error = customizeViewTransitionError(error, !1)),\n null !== error && errorCallback(error);\n } finally {\n mutationCallback(),\n layoutCallback(),\n spawnedWorkCallback(),\n finishedAnimation();\n }\n }\n );\n transition.finished.finally(function () {\n for (var i = 0; i < viewTransitionAnimations.length; i++)\n viewTransitionAnimations[i].cancel();\n ownerDocument.__reactViewTransition === transition &&\n (ownerDocument.__reactViewTransition = null);\n finishedAnimation();\n passiveCallback();\n });\n return transition;\n } catch (x) {\n return (\n mutationCallback(),\n layoutCallback(),\n finishedAnimation(),\n spawnedWorkCallback(),\n null\n );\n }\n }\n function ViewTransitionPseudoElement(pseudo, name) {\n this._scope = document.documentElement;\n this._selector = \"::view-transition-\" + pseudo + \"(\" + name + \")\";\n }\n function createViewTransitionInstance(name) {\n return {\n name: name,\n group: new ViewTransitionPseudoElement(\"group\", name),\n imagePair: new ViewTransitionPseudoElement(\"image-pair\", name),\n old: new ViewTransitionPseudoElement(\"old\", name),\n new: new ViewTransitionPseudoElement(\"new\", name)\n };\n }\n function FragmentInstance(fragmentFiber) {\n this._fragmentFiber = fragmentFiber;\n this._observers = this._eventListeners = null;\n }\n function addEventListenerToChild(\n child,\n type,\n listener,\n optionsOrUseCapture\n ) {\n getInstanceFromHostFiber(child).addEventListener(\n type,\n listener,\n optionsOrUseCapture\n );\n return !1;\n }\n function removeEventListenerFromChild(\n child,\n type,\n listener,\n optionsOrUseCapture\n ) {\n getInstanceFromHostFiber(child).removeEventListener(\n type,\n listener,\n optionsOrUseCapture\n );\n return !1;\n }\n function normalizeListenerOptions(opts) {\n return null == opts\n ? \"0\"\n : \"boolean\" === typeof opts\n ? \"c=\" + (opts ? \"1\" : \"0\")\n : \"c=\" +\n (opts.capture ? \"1\" : \"0\") +\n \"&o=\" +\n (opts.once ? \"1\" : \"0\") +\n \"&p=\" +\n (opts.passive ? \"1\" : \"0\");\n }\n function indexOfEventListener(\n eventListeners,\n type,\n listener,\n optionsOrUseCapture\n ) {\n for (var i = 0; i < eventListeners.length; i++) {\n var item = eventListeners[i];\n if (\n item.type === type &&\n item.listener === listener &&\n normalizeListenerOptions(item.optionsOrUseCapture) ===\n normalizeListenerOptions(optionsOrUseCapture)\n )\n return i;\n }\n return -1;\n }\n function setFocusOnFiberIfFocusable(fiber, focusOptions) {\n fiber = getInstanceFromHostFiber(fiber);\n return setFocusIfFocusable(fiber, focusOptions);\n }\n function collectChildren(child, collection) {\n collection.push(child);\n return !1;\n }\n function blurActiveElementWithinFragment(child) {\n child = getInstanceFromHostFiber(child);\n return child === child.ownerDocument.activeElement\n ? (child.blur(), !0)\n : !1;\n }\n function observeChild(child, observer) {\n child = getInstanceFromHostFiber(child);\n observer.observe(child);\n return !1;\n }\n function unobserveChild(child, observer) {\n child = getInstanceFromHostFiber(child);\n observer.unobserve(child);\n return !1;\n }\n function collectClientRects(child, rects) {\n child = getInstanceFromHostFiber(child);\n rects.push.apply(rects, child.getClientRects());\n return !1;\n }\n function validateDocumentPositionWithFiberTree(\n documentPosition,\n fragmentFiber,\n precedingBoundaryFiber,\n followingBoundaryFiber,\n otherNode\n ) {\n var otherFiber = getClosestInstanceFromNode(otherNode);\n if (documentPosition & Node.DOCUMENT_POSITION_CONTAINED_BY) {\n if ((precedingBoundaryFiber = !!otherFiber))\n a: {\n for (; null !== otherFiber; ) {\n if (\n 7 === otherFiber.tag &&\n (otherFiber === fragmentFiber ||\n otherFiber.alternate === fragmentFiber)\n ) {\n precedingBoundaryFiber = !0;\n break a;\n }\n otherFiber = otherFiber.return;\n }\n precedingBoundaryFiber = !1;\n }\n return precedingBoundaryFiber;\n }\n if (documentPosition & Node.DOCUMENT_POSITION_CONTAINS) {\n if (null === otherFiber)\n return (\n (otherFiber = otherNode.ownerDocument),\n otherNode === otherFiber || otherNode === otherFiber.body\n );\n a: {\n otherFiber = fragmentFiber;\n for (\n fragmentFiber = getFragmentParentHostFiber(fragmentFiber);\n null !== otherFiber;\n\n ) {\n if (\n !(\n (5 !== otherFiber.tag && 3 !== otherFiber.tag) ||\n (otherFiber !== fragmentFiber &&\n otherFiber.alternate !== fragmentFiber)\n )\n ) {\n otherFiber = !0;\n break a;\n }\n otherFiber = otherFiber.return;\n }\n otherFiber = !1;\n }\n return otherFiber;\n }\n return documentPosition & Node.DOCUMENT_POSITION_PRECEDING\n ? ((fragmentFiber = !!otherFiber) &&\n !(fragmentFiber = otherFiber === precedingBoundaryFiber) &&\n ((fragmentFiber = getLowestCommonAncestor(\n precedingBoundaryFiber,\n otherFiber,\n getParentForFragmentAncestors\n )),\n null === fragmentFiber\n ? (fragmentFiber = !1)\n : (traverseVisibleHostChildren(\n fragmentFiber,\n !0,\n isFiberPrecedingCheck,\n otherFiber,\n precedingBoundaryFiber\n ),\n (otherFiber = searchTarget),\n (searchTarget = null),\n (fragmentFiber = null !== otherFiber))),\n fragmentFiber)\n : documentPosition & Node.DOCUMENT_POSITION_FOLLOWING\n ? ((fragmentFiber = !!otherFiber) &&\n !(fragmentFiber = otherFiber === followingBoundaryFiber) &&\n ((fragmentFiber = getLowestCommonAncestor(\n followingBoundaryFiber,\n otherFiber,\n getParentForFragmentAncestors\n )),\n null === fragmentFiber\n ? (fragmentFiber = !1)\n : (traverseVisibleHostChildren(\n fragmentFiber,\n !0,\n isFiberFollowingCheck,\n otherFiber,\n followingBoundaryFiber\n ),\n (otherFiber = searchTarget),\n (searchBoundary = searchTarget = null),\n (fragmentFiber = null !== otherFiber))),\n fragmentFiber)\n : !1;\n }\n function commitNewChildToFragmentInstance(childInstance, fragmentInstance) {\n var eventListeners = fragmentInstance._eventListeners;\n if (null !== eventListeners)\n for (var i = 0; i < eventListeners.length; i++) {\n var _eventListeners$i2 = eventListeners[i];\n childInstance.addEventListener(\n _eventListeners$i2.type,\n _eventListeners$i2.listener,\n _eventListeners$i2.optionsOrUseCapture\n );\n }\n null !== fragmentInstance._observers &&\n fragmentInstance._observers.forEach(function (observer) {\n observer.observe(childInstance);\n });\n }\n function clearContainerSparingly(container) {\n var nextNode = container.firstChild;\n nextNode && 10 === nextNode.nodeType && (nextNode = nextNode.nextSibling);\n for (; nextNode; ) {\n var node = nextNode;\n nextNode = nextNode.nextSibling;\n switch (node.nodeName) {\n case \"HTML\":\n case \"HEAD\":\n case \"BODY\":\n clearContainerSparingly(node);\n detachDeletedInstance(node);\n continue;\n case \"SCRIPT\":\n case \"STYLE\":\n continue;\n case \"LINK\":\n if (\"stylesheet\" === node.rel.toLowerCase()) continue;\n }\n container.removeChild(node);\n }\n }\n function canHydrateInstance(instance, type, props, inRootOrSingleton) {\n for (; 1 === instance.nodeType; ) {\n var anyProps = props;\n if (instance.nodeName.toLowerCase() !== type.toLowerCase()) {\n if (\n !inRootOrSingleton &&\n (\"INPUT\" !== instance.nodeName || \"hidden\" !== instance.type)\n )\n break;\n } else if (!inRootOrSingleton)\n if (\"input\" === type && \"hidden\" === instance.type) {\n checkAttributeStringCoercion(anyProps.name, \"name\");\n var name = null == anyProps.name ? null : \"\" + anyProps.name;\n if (\n \"hidden\" === anyProps.type &&\n instance.getAttribute(\"name\") === name\n )\n return instance;\n } else return instance;\n else if (!instance[internalHoistableMarker])\n switch (type) {\n case \"meta\":\n if (!instance.hasAttribute(\"itemprop\")) break;\n return instance;\n case \"link\":\n name = instance.getAttribute(\"rel\");\n if (\n \"stylesheet\" === name &&\n instance.hasAttribute(\"data-precedence\")\n )\n break;\n else if (\n name !== anyProps.rel ||\n instance.getAttribute(\"href\") !==\n (null == anyProps.href || \"\" === anyProps.href\n ? null\n : anyProps.href) ||\n instance.getAttribute(\"crossorigin\") !==\n (null == anyProps.crossOrigin\n ? null\n : anyProps.crossOrigin) ||\n instance.getAttribute(\"title\") !==\n (null == anyProps.title ? null : anyProps.title)\n )\n break;\n return instance;\n case \"style\":\n if (instance.hasAttribute(\"data-precedence\")) break;\n return instance;\n case \"script\":\n name = instance.getAttribute(\"src\");\n if (\n (name !== (null == anyProps.src ? null : anyProps.src) ||\n instance.getAttribute(\"type\") !==\n (null == anyProps.type ? null : anyProps.type) ||\n instance.getAttribute(\"crossorigin\") !==\n (null == anyProps.crossOrigin\n ? null\n : anyProps.crossOrigin)) &&\n name &&\n instance.hasAttribute(\"async\") &&\n !instance.hasAttribute(\"itemprop\")\n )\n break;\n return instance;\n default:\n return instance;\n }\n instance = getNextHydratable(instance.nextSibling);\n if (null === instance) break;\n }\n return null;\n }\n function canHydrateTextInstance(instance, text, inRootOrSingleton) {\n if (\"\" === text) return null;\n for (; 3 !== instance.nodeType; ) {\n if (\n (1 !== instance.nodeType ||\n \"INPUT\" !== instance.nodeName ||\n \"hidden\" !== instance.type) &&\n !inRootOrSingleton\n )\n return null;\n instance = getNextHydratable(instance.nextSibling);\n if (null === instance) return null;\n }\n return instance;\n }\n function canHydrateHydrationBoundary(instance, inRootOrSingleton) {\n for (; 8 !== instance.nodeType; ) {\n if (\n (1 !== instance.nodeType ||\n \"INPUT\" !== instance.nodeName ||\n \"hidden\" !== instance.type) &&\n !inRootOrSingleton\n )\n return null;\n instance = getNextHydratable(instance.nextSibling);\n if (null === instance) return null;\n }\n return instance;\n }\n function isSuspenseInstancePending(instance) {\n return (\n instance.data === SUSPENSE_PENDING_START_DATA ||\n instance.data === SUSPENSE_QUEUED_START_DATA\n );\n }\n function isSuspenseInstanceFallback(instance) {\n return (\n instance.data === SUSPENSE_FALLBACK_START_DATA ||\n (instance.data === SUSPENSE_PENDING_START_DATA &&\n instance.ownerDocument.readyState !== DOCUMENT_READY_STATE_LOADING)\n );\n }\n function registerSuspenseInstanceRetry(instance, callback) {\n var ownerDocument = instance.ownerDocument;\n if (instance.data === SUSPENSE_QUEUED_START_DATA)\n instance._reactRetry = callback;\n else if (\n instance.data !== SUSPENSE_PENDING_START_DATA ||\n ownerDocument.readyState !== DOCUMENT_READY_STATE_LOADING\n )\n callback();\n else {\n var listener = function () {\n callback();\n ownerDocument.removeEventListener(\"DOMContentLoaded\", listener);\n };\n ownerDocument.addEventListener(\"DOMContentLoaded\", listener);\n instance._reactRetry = listener;\n }\n }\n function getNextHydratable(node) {\n for (; null != node; node = node.nextSibling) {\n var nodeType = node.nodeType;\n if (1 === nodeType || 3 === nodeType) break;\n if (8 === nodeType) {\n nodeType = node.data;\n if (\n nodeType === SUSPENSE_START_DATA ||\n nodeType === SUSPENSE_FALLBACK_START_DATA ||\n nodeType === SUSPENSE_PENDING_START_DATA ||\n nodeType === SUSPENSE_QUEUED_START_DATA ||\n nodeType === ACTIVITY_START_DATA ||\n nodeType === FORM_STATE_IS_MATCHING ||\n nodeType === FORM_STATE_IS_NOT_MATCHING\n )\n break;\n if (nodeType === SUSPENSE_END_DATA || nodeType === ACTIVITY_END_DATA)\n return null;\n }\n }\n return node;\n }\n function describeHydratableInstanceForDevWarnings(instance) {\n if (1 === instance.nodeType) {\n for (\n var JSCompiler_temp_const = instance.nodeName.toLowerCase(),\n serverDifferences = {},\n attributes = instance.attributes,\n i = 0;\n i < attributes.length;\n i++\n ) {\n var attr = attributes[i];\n serverDifferences[getPropNameFromAttributeName(attr.name)] =\n \"style\" === attr.name.toLowerCase()\n ? getStylesObjectFromElement(instance)\n : attr.value;\n }\n return { type: JSCompiler_temp_const, props: serverDifferences };\n }\n return 8 === instance.nodeType\n ? instance.data === ACTIVITY_START_DATA\n ? { type: \"Activity\", props: {} }\n : { type: \"Suspense\", props: {} }\n : instance.nodeValue;\n }\n function diffHydratedTextForDevWarnings(textInstance, text, parentProps) {\n return null === parentProps ||\n !0 !== parentProps[SUPPRESS_HYDRATION_WARNING]\n ? (textInstance.nodeValue === text\n ? (textInstance = null)\n : ((text = normalizeMarkupForTextOrAttribute(text)),\n (textInstance =\n normalizeMarkupForTextOrAttribute(textInstance.nodeValue) ===\n text\n ? null\n : textInstance.nodeValue)),\n textInstance)\n : null;\n }\n function getNextHydratableInstanceAfterHydrationBoundary(\n hydrationInstance\n ) {\n hydrationInstance = hydrationInstance.nextSibling;\n for (var depth = 0; hydrationInstance; ) {\n if (8 === hydrationInstance.nodeType) {\n var data = hydrationInstance.data;\n if (data === SUSPENSE_END_DATA || data === ACTIVITY_END_DATA) {\n if (0 === depth)\n return getNextHydratable(hydrationInstance.nextSibling);\n depth--;\n } else\n (data !== SUSPENSE_START_DATA &&\n data !== SUSPENSE_FALLBACK_START_DATA &&\n data !== SUSPENSE_PENDING_START_DATA &&\n data !== SUSPENSE_QUEUED_START_DATA &&\n data !== ACTIVITY_START_DATA) ||\n depth++;\n }\n hydrationInstance = hydrationInstance.nextSibling;\n }\n return null;\n }\n function getParentHydrationBoundary(targetInstance) {\n targetInstance = targetInstance.previousSibling;\n for (var depth = 0; targetInstance; ) {\n if (8 === targetInstance.nodeType) {\n var data = targetInstance.data;\n if (\n data === SUSPENSE_START_DATA ||\n data === SUSPENSE_FALLBACK_START_DATA ||\n data === SUSPENSE_PENDING_START_DATA ||\n data === SUSPENSE_QUEUED_START_DATA ||\n data === ACTIVITY_START_DATA\n ) {\n if (0 === depth) return targetInstance;\n depth--;\n } else\n (data !== SUSPENSE_END_DATA && data !== ACTIVITY_END_DATA) ||\n depth++;\n }\n targetInstance = targetInstance.previousSibling;\n }\n return null;\n }\n function commitHydratedContainer(container) {\n retryIfBlockedOn(container);\n }\n function commitHydratedActivityInstance(activityInstance) {\n retryIfBlockedOn(activityInstance);\n }\n function commitHydratedSuspenseInstance(suspenseInstance) {\n retryIfBlockedOn(suspenseInstance);\n }\n function setFocusIfFocusable(node, focusOptions) {\n function handleFocus() {\n didFocus = !0;\n }\n var didFocus = !1;\n try {\n node.addEventListener(\"focus\", handleFocus),\n (node.focus || HTMLElement.prototype.focus).call(node, focusOptions);\n } finally {\n node.removeEventListener(\"focus\", handleFocus);\n }\n return didFocus;\n }\n function resolveSingletonInstance(\n type,\n props,\n rootContainerInstance,\n hostContext,\n validateDOMNestingDev\n ) {\n validateDOMNestingDev &&\n validateDOMNesting(type, hostContext.ancestorInfo);\n props = getOwnerDocumentFromRootContainer(rootContainerInstance);\n switch (type) {\n case \"html\":\n type = props.documentElement;\n if (!type)\n throw Error(\n \"React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.\"\n );\n return type;\n case \"head\":\n type = props.head;\n if (!type)\n throw Error(\n \"React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.\"\n );\n return type;\n case \"body\":\n type = props.body;\n if (!type)\n throw Error(\n \"React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.\"\n );\n return type;\n default:\n throw Error(\n \"resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.\"\n );\n }\n }\n function acquireSingletonInstance(\n type,\n props,\n instance,\n internalInstanceHandle\n ) {\n if (\n !instance[internalContainerInstanceKey] &&\n getInstanceFromNode(instance)\n ) {\n var tagName = instance.tagName.toLowerCase();\n console.error(\n \"You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.\",\n tagName,\n tagName,\n tagName\n );\n }\n switch (type) {\n case \"html\":\n case \"head\":\n case \"body\":\n break;\n default:\n console.error(\n \"acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.\"\n );\n }\n for (tagName = instance.attributes; tagName.length; )\n instance.removeAttributeNode(tagName[0]);\n setInitialProperties(instance, type, props);\n instance[internalInstanceKey] = internalInstanceHandle;\n instance[internalPropsKey] = props;\n }\n function releaseSingletonInstance(instance) {\n for (var attributes = instance.attributes; attributes.length; )\n instance.removeAttributeNode(attributes[0]);\n detachDeletedInstance(instance);\n }\n function getHoistableRoot(container) {\n return \"function\" === typeof container.getRootNode\n ? container.getRootNode()\n : 9 === container.nodeType\n ? container\n : container.ownerDocument;\n }\n function preconnectAs(rel, href, crossOrigin) {\n var ownerDocument = globalDocument;\n if (ownerDocument && \"string\" === typeof href && href) {\n var limitedEscapedHref =\n escapeSelectorAttributeValueInsideDoubleQuotes(href);\n limitedEscapedHref =\n 'link[rel=\"' + rel + '\"][href=\"' + limitedEscapedHref + '\"]';\n \"string\" === typeof crossOrigin &&\n (limitedEscapedHref += '[crossorigin=\"' + crossOrigin + '\"]');\n preconnectsSet.has(limitedEscapedHref) ||\n (preconnectsSet.add(limitedEscapedHref),\n (rel = { rel: rel, crossOrigin: crossOrigin, href: href }),\n null === ownerDocument.querySelector(limitedEscapedHref) &&\n ((href = ownerDocument.createElement(\"link\")),\n setInitialProperties(href, \"link\", rel),\n markNodeAsHoistable(href),\n ownerDocument.head.appendChild(href)));\n }\n }\n function getResource(type, currentProps, pendingProps, currentResource) {\n var resourceRoot = (resourceRoot = rootInstanceStackCursor.current)\n ? getHoistableRoot(resourceRoot)\n : null;\n if (!resourceRoot)\n throw Error(\n '\"resourceRoot\" was expected to exist. This is a bug in React.'\n );\n switch (type) {\n case \"meta\":\n case \"title\":\n return null;\n case \"style\":\n return \"string\" === typeof pendingProps.precedence &&\n \"string\" === typeof pendingProps.href\n ? ((pendingProps = getStyleKey(pendingProps.href)),\n (currentProps =\n getResourcesFromRoot(resourceRoot).hoistableStyles),\n (currentResource = currentProps.get(pendingProps)),\n currentResource ||\n ((currentResource = {\n type: \"style\",\n instance: null,\n count: 0,\n state: null\n }),\n currentProps.set(pendingProps, currentResource)),\n currentResource)\n : { type: \"void\", instance: null, count: 0, state: null };\n case \"link\":\n if (\n \"stylesheet\" === pendingProps.rel &&\n \"string\" === typeof pendingProps.href &&\n \"string\" === typeof pendingProps.precedence\n ) {\n type = getStyleKey(pendingProps.href);\n var _styles = getResourcesFromRoot(resourceRoot).hoistableStyles,\n _resource = _styles.get(type);\n if (\n !_resource &&\n ((resourceRoot = resourceRoot.ownerDocument || resourceRoot),\n (_resource = {\n type: \"stylesheet\",\n instance: null,\n count: 0,\n state: { loading: NotLoaded, preload: null }\n }),\n _styles.set(type, _resource),\n (_styles = resourceRoot.querySelector(\n getStylesheetSelectorFromKey(type)\n )) &&\n !_styles._p &&\n ((_resource.instance = _styles),\n (_resource.state.loading = Loaded | Inserted)),\n !preloadPropsMap.has(type))\n ) {\n var preloadProps = {\n rel: \"preload\",\n as: \"style\",\n href: pendingProps.href,\n crossOrigin: pendingProps.crossOrigin,\n integrity: pendingProps.integrity,\n media: pendingProps.media,\n hrefLang: pendingProps.hrefLang,\n referrerPolicy: pendingProps.referrerPolicy\n };\n preloadPropsMap.set(type, preloadProps);\n _styles ||\n preloadStylesheet(\n resourceRoot,\n type,\n preloadProps,\n _resource.state\n );\n }\n if (currentProps && null === currentResource)\n throw (\n ((pendingProps =\n \"\\n\\n - \" +\n describeLinkForResourceErrorDEV(currentProps) +\n \"\\n + \" +\n describeLinkForResourceErrorDEV(pendingProps)),\n Error(\n \"Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key.\" +\n pendingProps\n ))\n );\n return _resource;\n }\n if (currentProps && null !== currentResource)\n throw (\n ((pendingProps =\n \"\\n\\n - \" +\n describeLinkForResourceErrorDEV(currentProps) +\n \"\\n + \" +\n describeLinkForResourceErrorDEV(pendingProps)),\n Error(\n \"Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key.\" +\n pendingProps\n ))\n );\n return null;\n case \"script\":\n return (\n (currentProps = pendingProps.async),\n (pendingProps = pendingProps.src),\n \"string\" === typeof pendingProps &&\n currentProps &&\n \"function\" !== typeof currentProps &&\n \"symbol\" !== typeof currentProps\n ? ((pendingProps = getScriptKey(pendingProps)),\n (currentProps =\n getResourcesFromRoot(resourceRoot).hoistableScripts),\n (currentResource = currentProps.get(pendingProps)),\n currentResource ||\n ((currentResource = {\n type: \"script\",\n instance: null,\n count: 0,\n state: null\n }),\n currentProps.set(pendingProps, currentResource)),\n currentResource)\n : { type: \"void\", instance: null, count: 0, state: null }\n );\n default:\n throw Error(\n 'getResource encountered a type it did not expect: \"' +\n type +\n '\". this is a bug in React.'\n );\n }\n }\n function describeLinkForResourceErrorDEV(props) {\n var describedProps = 0,\n description = \"<link\";\n \"string\" === typeof props.rel\n ? (describedProps++, (description += ' rel=\"' + props.rel + '\"'))\n : hasOwnProperty.call(props, \"rel\") &&\n (describedProps++,\n (description +=\n ' rel=\"' +\n (null === props.rel ? \"null\" : \"invalid type \" + typeof props.rel) +\n '\"'));\n \"string\" === typeof props.href\n ? (describedProps++, (description += ' href=\"' + props.href + '\"'))\n : hasOwnProperty.call(props, \"href\") &&\n (describedProps++,\n (description +=\n ' href=\"' +\n (null === props.href\n ? \"null\"\n : \"invalid type \" + typeof props.href) +\n '\"'));\n \"string\" === typeof props.precedence\n ? (describedProps++,\n (description += ' precedence=\"' + props.precedence + '\"'))\n : hasOwnProperty.call(props, \"precedence\") &&\n (describedProps++,\n (description +=\n \" precedence={\" +\n (null === props.precedence\n ? \"null\"\n : \"invalid type \" + typeof props.precedence) +\n \"}\"));\n Object.getOwnPropertyNames(props).length > describedProps &&\n (description += \" ...\");\n return description + \" />\";\n }\n function getStyleKey(href) {\n return (\n 'href=\"' + escapeSelectorAttributeValueInsideDoubleQuotes(href) + '\"'\n );\n }\n function getStylesheetSelectorFromKey(key) {\n return 'link[rel=\"stylesheet\"][' + key + \"]\";\n }\n function stylesheetPropsFromRawProps(rawProps) {\n return assign({}, rawProps, {\n \"data-precedence\": rawProps.precedence,\n precedence: null\n });\n }\n function preloadStylesheet(ownerDocument, key, preloadProps, state) {\n ownerDocument.querySelector(\n 'link[rel=\"preload\"][as=\"style\"][' + key + \"]\"\n )\n ? (state.loading = Loaded)\n : ((key = ownerDocument.createElement(\"link\")),\n (state.preload = key),\n key.addEventListener(\"load\", function () {\n return (state.loading |= Loaded);\n }),\n key.addEventListener(\"error\", function () {\n return (state.loading |= Errored);\n }),\n setInitialProperties(key, \"link\", preloadProps),\n markNodeAsHoistable(key),\n ownerDocument.head.appendChild(key));\n }\n function getScriptKey(src) {\n return (\n '[src=\"' + escapeSelectorAttributeValueInsideDoubleQuotes(src) + '\"]'\n );\n }\n function getScriptSelectorFromKey(key) {\n return \"script[async]\" + key;\n }\n function acquireResource(hoistableRoot, resource, props) {\n resource.count++;\n if (null === resource.instance)\n switch (resource.type) {\n case \"style\":\n var instance = hoistableRoot.querySelector(\n 'style[data-href~=\"' +\n escapeSelectorAttributeValueInsideDoubleQuotes(props.href) +\n '\"]'\n );\n if (instance)\n return (\n (resource.instance = instance),\n markNodeAsHoistable(instance),\n instance\n );\n var styleProps = assign({}, props, {\n \"data-href\": props.href,\n \"data-precedence\": props.precedence,\n href: null,\n precedence: null\n });\n instance = (\n hoistableRoot.ownerDocument || hoistableRoot\n ).createElement(\"style\");\n markNodeAsHoistable(instance);\n setInitialProperties(instance, \"style\", styleProps);\n insertStylesheet(instance, props.precedence, hoistableRoot);\n return (resource.instance = instance);\n case \"stylesheet\":\n styleProps = getStyleKey(props.href);\n var _instance = hoistableRoot.querySelector(\n getStylesheetSelectorFromKey(styleProps)\n );\n if (_instance)\n return (\n (resource.state.loading |= Inserted),\n (resource.instance = _instance),\n markNodeAsHoistable(_instance),\n _instance\n );\n instance = stylesheetPropsFromRawProps(props);\n (styleProps = preloadPropsMap.get(styleProps)) &&\n adoptPreloadPropsForStylesheet(instance, styleProps);\n _instance = (\n hoistableRoot.ownerDocument || hoistableRoot\n ).createElement(\"link\");\n markNodeAsHoistable(_instance);\n var linkInstance = _instance;\n linkInstance._p = new Promise(function (resolve, reject) {\n linkInstance.onload = resolve;\n linkInstance.onerror = reject;\n });\n setInitialProperties(_instance, \"link\", instance);\n resource.state.loading |= Inserted;\n insertStylesheet(_instance, props.precedence, hoistableRoot);\n return (resource.instance = _instance);\n case \"script\":\n _instance = getScriptKey(props.src);\n if (\n (styleProps = hoistableRoot.querySelector(\n getScriptSelectorFromKey(_instance)\n ))\n )\n return (\n (resource.instance = styleProps),\n markNodeAsHoistable(styleProps),\n styleProps\n );\n instance = props;\n if ((styleProps = preloadPropsMap.get(_instance)))\n (instance = assign({}, props)),\n adoptPreloadPropsForScript(instance, styleProps);\n hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot;\n styleProps = hoistableRoot.createElement(\"script\");\n markNodeAsHoistable(styleProps);\n setInitialProperties(styleProps, \"link\", instance);\n hoistableRoot.head.appendChild(styleProps);\n return (resource.instance = styleProps);\n case \"void\":\n return null;\n default:\n throw Error(\n 'acquireResource encountered a resource type it did not expect: \"' +\n resource.type +\n '\". this is a bug in React.'\n );\n }\n else\n \"stylesheet\" === resource.type &&\n (resource.state.loading & Inserted) === NotLoaded &&\n ((instance = resource.instance),\n (resource.state.loading |= Inserted),\n insertStylesheet(instance, props.precedence, hoistableRoot));\n return resource.instance;\n }\n function insertStylesheet(instance, precedence, root) {\n for (\n var nodes = root.querySelectorAll(\n 'link[rel=\"stylesheet\"][data-precedence],style[data-precedence]'\n ),\n last = nodes.length ? nodes[nodes.length - 1] : null,\n prior = last,\n i = 0;\n i < nodes.length;\n i++\n ) {\n var node = nodes[i];\n if (node.dataset.precedence === precedence) prior = node;\n else if (prior !== last) break;\n }\n prior\n ? prior.parentNode.insertBefore(instance, prior.nextSibling)\n : ((precedence = 9 === root.nodeType ? root.head : root),\n precedence.insertBefore(instance, precedence.firstChild));\n }\n function adoptPreloadPropsForStylesheet(stylesheetProps, preloadProps) {\n null == stylesheetProps.crossOrigin &&\n (stylesheetProps.crossOrigin = preloadProps.crossOrigin);\n null == stylesheetProps.referrerPolicy &&\n (stylesheetProps.referrerPolicy = preloadProps.referrerPolicy);\n null == stylesheetProps.title &&\n (stylesheetProps.title = preloadProps.title);\n }\n function adoptPreloadPropsForScript(scriptProps, preloadProps) {\n null == scriptProps.crossOrigin &&\n (scriptProps.crossOrigin = preloadProps.crossOrigin);\n null == scriptProps.referrerPolicy &&\n (scriptProps.referrerPolicy = preloadProps.referrerPolicy);\n null == scriptProps.integrity &&\n (scriptProps.integrity = preloadProps.integrity);\n }\n function getHydratableHoistableCache(type, keyAttribute, ownerDocument) {\n if (null === tagCaches) {\n var cache = new Map();\n var caches = (tagCaches = new Map());\n caches.set(ownerDocument, cache);\n } else\n (caches = tagCaches),\n (cache = caches.get(ownerDocument)),\n cache || ((cache = new Map()), caches.set(ownerDocument, cache));\n if (cache.has(type)) return cache;\n cache.set(type, null);\n ownerDocument = ownerDocument.getElementsByTagName(type);\n for (caches = 0; caches < ownerDocument.length; caches++) {\n var node = ownerDocument[caches];\n if (\n !(\n node[internalHoistableMarker] ||\n node[internalInstanceKey] ||\n (\"link\" === type && \"stylesheet\" === node.getAttribute(\"rel\"))\n ) &&\n node.namespaceURI !== SVG_NAMESPACE\n ) {\n var nodeKey = node.getAttribute(keyAttribute) || \"\";\n nodeKey = type + nodeKey;\n var existing = cache.get(nodeKey);\n existing ? existing.push(node) : cache.set(nodeKey, [node]);\n }\n }\n return cache;\n }\n function mountHoistable(hoistableRoot, type, instance) {\n hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot;\n hoistableRoot.head.insertBefore(\n instance,\n \"title\" === type ? hoistableRoot.querySelector(\"head > title\") : null\n );\n }\n function isHostHoistableType(type, props, hostContext) {\n var outsideHostContainerContext =\n !hostContext.ancestorInfo.containerTagInScope;\n if (\n hostContext.context === HostContextNamespaceSvg ||\n null != props.itemProp\n )\n return (\n !outsideHostContainerContext ||\n null == props.itemProp ||\n (\"meta\" !== type &&\n \"title\" !== type &&\n \"style\" !== type &&\n \"link\" !== type &&\n \"script\" !== type) ||\n console.error(\n \"Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.\",\n type,\n type\n ),\n !1\n );\n switch (type) {\n case \"meta\":\n case \"title\":\n return !0;\n case \"style\":\n if (\n \"string\" !== typeof props.precedence ||\n \"string\" !== typeof props.href ||\n \"\" === props.href\n ) {\n outsideHostContainerContext &&\n console.error(\n 'Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel=\"stylesheet\" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence=\"default\"` and `href=\"some unique resource identifier\"`.'\n );\n break;\n }\n return !0;\n case \"link\":\n if (\n \"string\" !== typeof props.rel ||\n \"string\" !== typeof props.href ||\n \"\" === props.href ||\n props.onLoad ||\n props.onError\n ) {\n if (\n \"stylesheet\" === props.rel &&\n \"string\" === typeof props.precedence\n ) {\n type = props.href;\n var onError = props.onError,\n disabled = props.disabled;\n hostContext = [];\n props.onLoad && hostContext.push(\"`onLoad`\");\n onError && hostContext.push(\"`onError`\");\n null != disabled && hostContext.push(\"`disabled`\");\n onError = propNamesListJoin(hostContext, \"and\");\n onError += 1 === hostContext.length ? \" prop\" : \" props\";\n disabled =\n 1 === hostContext.length ? \"an \" + onError : \"the \" + onError;\n hostContext.length &&\n console.error(\n 'React encountered a <link rel=\"stylesheet\" href=\"%s\" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',\n type,\n disabled,\n onError\n );\n }\n outsideHostContainerContext &&\n (\"string\" !== typeof props.rel ||\n \"string\" !== typeof props.href ||\n \"\" === props.href\n ? console.error(\n \"Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag\"\n )\n : (props.onError || props.onLoad) &&\n console.error(\n \"Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>.\"\n ));\n break;\n }\n switch (props.rel) {\n case \"stylesheet\":\n return (\n (type = props.precedence),\n (props = props.disabled),\n \"string\" !== typeof type &&\n outsideHostContainerContext &&\n console.error(\n 'Cannot render a <link rel=\"stylesheet\" /> outside the main document without knowing its precedence. Consider adding precedence=\"default\" or moving it into the root <head> tag.'\n ),\n \"string\" === typeof type && null == props\n );\n default:\n return !0;\n }\n case \"script\":\n type =\n props.async &&\n \"function\" !== typeof props.async &&\n \"symbol\" !== typeof props.async;\n if (\n !type ||\n props.onLoad ||\n props.onError ||\n !props.src ||\n \"string\" !== typeof props.src\n ) {\n outsideHostContainerContext &&\n (type\n ? props.onLoad || props.onError\n ? console.error(\n \"Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>.\"\n )\n : console.error(\n \"Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>.\"\n )\n : console.error(\n 'Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async=\"\" or moving it into the root <head> tag.'\n ));\n break;\n }\n return !0;\n case \"noscript\":\n case \"template\":\n outsideHostContainerContext &&\n console.error(\n \"Cannot render <%s> outside the main document. Try moving it into the root <head> tag.\",\n type\n );\n }\n return !1;\n }\n function maySuspendCommit(type, props) {\n return (\n \"img\" === type &&\n null != props.src &&\n \"\" !== props.src &&\n null == props.onLoad &&\n \"lazy\" !== props.loading\n );\n }\n function preloadResource(resource) {\n return \"stylesheet\" === resource.type &&\n (resource.state.loading & Settled) === NotLoaded\n ? !1\n : !0;\n }\n function estimateImageBytes(instance) {\n return (\n (instance.width || 100) *\n (instance.height || 100) *\n (\"number\" === typeof devicePixelRatio ? devicePixelRatio : 1) *\n 0.25\n );\n }\n function suspendInstance(state, instance) {\n \"function\" === typeof instance.decode &&\n (state.imgCount++,\n instance.complete ||\n ((state.imgBytes += estimateImageBytes(instance)),\n state.suspenseyImages.push(instance)),\n (state = onUnsuspendImg.bind(state)),\n instance.decode().then(state, state));\n }\n function suspendResource(state, hoistableRoot, resource, props) {\n if (\n \"stylesheet\" === resource.type &&\n (\"string\" !== typeof props.media ||\n !1 !== matchMedia(props.media).matches) &&\n (resource.state.loading & Inserted) === NotLoaded\n ) {\n if (null === resource.instance) {\n var key = getStyleKey(props.href),\n instance = hoistableRoot.querySelector(\n getStylesheetSelectorFromKey(key)\n );\n if (instance) {\n hoistableRoot = instance._p;\n null !== hoistableRoot &&\n \"object\" === typeof hoistableRoot &&\n \"function\" === typeof hoistableRoot.then &&\n (state.count++,\n (state = onUnsuspend.bind(state)),\n hoistableRoot.then(state, state));\n resource.state.loading |= Inserted;\n resource.instance = instance;\n markNodeAsHoistable(instance);\n return;\n }\n instance = hoistableRoot.ownerDocument || hoistableRoot;\n props = stylesheetPropsFromRawProps(props);\n (key = preloadPropsMap.get(key)) &&\n adoptPreloadPropsForStylesheet(props, key);\n instance = instance.createElement(\"link\");\n markNodeAsHoistable(instance);\n var linkInstance = instance;\n linkInstance._p = new Promise(function (resolve, reject) {\n linkInstance.onload = resolve;\n linkInstance.onerror = reject;\n });\n setInitialProperties(instance, \"link\", props);\n resource.instance = instance;\n }\n null === state.stylesheets && (state.stylesheets = new Map());\n state.stylesheets.set(resource, hoistableRoot);\n (hoistableRoot = resource.state.preload) &&\n (resource.state.loading & Settled) === NotLoaded &&\n (state.count++,\n (resource = onUnsuspend.bind(state)),\n hoistableRoot.addEventListener(\"load\", resource),\n hoistableRoot.addEventListener(\"error\", resource));\n }\n }\n function waitForCommitToBeReady(state, timeoutOffset) {\n state.stylesheets &&\n 0 === state.count &&\n insertSuspendedStylesheets(state, state.stylesheets);\n return 0 < state.count || 0 < state.imgCount\n ? function (commit) {\n var stylesheetTimer = setTimeout(function () {\n state.stylesheets &&\n insertSuspendedStylesheets(state, state.stylesheets);\n if (state.unsuspend) {\n var unsuspend = state.unsuspend;\n state.unsuspend = null;\n unsuspend();\n }\n }, SUSPENSEY_STYLESHEET_TIMEOUT + timeoutOffset);\n 0 < state.imgBytes &&\n 0 === estimatedBytesWithinLimit &&\n (estimatedBytesWithinLimit =\n 125 * estimateBandwidth() * SUSPENSEY_IMAGE_TIME_ESTIMATE);\n var imgTimer = setTimeout(\n function () {\n state.waitingForImages = !1;\n if (\n 0 === state.count &&\n (state.stylesheets &&\n insertSuspendedStylesheets(state, state.stylesheets),\n state.unsuspend)\n ) {\n var unsuspend = state.unsuspend;\n state.unsuspend = null;\n unsuspend();\n }\n },\n (state.imgBytes > estimatedBytesWithinLimit\n ? 50\n : SUSPENSEY_IMAGE_TIMEOUT) + timeoutOffset\n );\n state.unsuspend = commit;\n return function () {\n state.unsuspend = null;\n clearTimeout(stylesheetTimer);\n clearTimeout(imgTimer);\n };\n }\n : null;\n }\n function checkIfFullyUnsuspended(state) {\n if (\n 0 === state.count &&\n (0 === state.imgCount || !state.waitingForImages)\n )\n if (state.stylesheets)\n insertSuspendedStylesheets(state, state.stylesheets);\n else if (state.unsuspend) {\n var unsuspend = state.unsuspend;\n state.unsuspend = null;\n unsuspend();\n }\n }\n function onUnsuspend() {\n this.count--;\n checkIfFullyUnsuspended(this);\n }\n function onUnsuspendImg() {\n this.imgCount--;\n checkIfFullyUnsuspended(this);\n }\n function insertSuspendedStylesheets(state, resources) {\n state.stylesheets = null;\n null !== state.unsuspend &&\n (state.count++,\n (precedencesByRoot = new Map()),\n resources.forEach(insertStylesheetIntoRoot, state),\n (precedencesByRoot = null),\n onUnsuspend.call(state));\n }\n function insertStylesheetIntoRoot(root, resource) {\n if (!(resource.state.loading & Inserted)) {\n var precedences = precedencesByRoot.get(root);\n if (precedences) var last = precedences.get(LAST_PRECEDENCE);\n else {\n precedences = new Map();\n precedencesByRoot.set(root, precedences);\n for (\n var nodes = root.querySelectorAll(\n \"link[data-precedence],style[data-precedence]\"\n ),\n i = 0;\n i < nodes.length;\n i++\n ) {\n var node = nodes[i];\n if (\n \"LINK\" === node.nodeName ||\n \"not all\" !== node.getAttribute(\"media\")\n )\n precedences.set(node.dataset.precedence, node), (last = node);\n }\n last && precedences.set(LAST_PRECEDENCE, last);\n }\n nodes = resource.instance;\n node = nodes.getAttribute(\"data-precedence\");\n i = precedences.get(node) || last;\n i === last && precedences.set(LAST_PRECEDENCE, nodes);\n precedences.set(node, nodes);\n this.count++;\n last = onUnsuspend.bind(this);\n nodes.addEventListener(\"load\", last);\n nodes.addEventListener(\"error\", last);\n i\n ? i.parentNode.insertBefore(nodes, i.nextSibling)\n : ((root = 9 === root.nodeType ? root.head : root),\n root.insertBefore(nodes, root.firstChild));\n resource.state.loading |= Inserted;\n }\n }\n function FiberRootNode(\n containerInfo,\n tag,\n hydrate,\n identifierPrefix,\n onUncaughtError,\n onCaughtError,\n onRecoverableError,\n onDefaultTransitionIndicator,\n formState\n ) {\n this.tag = 1;\n this.containerInfo = containerInfo;\n this.pingCache = this.current = this.pendingChildren = null;\n this.timeoutHandle = noTimeout;\n this.callbackNode =\n this.next =\n this.pendingContext =\n this.context =\n this.cancelPendingCommit =\n null;\n this.callbackPriority = 0;\n this.expirationTimes = createLaneMap(-1);\n this.entangledLanes =\n this.shellSuspendCounter =\n this.errorRecoveryDisabledLanes =\n this.expiredLanes =\n this.warmLanes =\n this.pingedLanes =\n this.suspendedLanes =\n this.pendingLanes =\n 0;\n this.entanglements = createLaneMap(0);\n this.hiddenUpdates = createLaneMap(null);\n this.identifierPrefix = identifierPrefix;\n this.onUncaughtError = onUncaughtError;\n this.onCaughtError = onCaughtError;\n this.onRecoverableError = onRecoverableError;\n this.pooledCache = null;\n this.pooledCacheLanes = 0;\n this.formState = formState;\n this.transitionTypes = null;\n this.incompleteTransitions = new Map();\n this.passiveEffectDuration = this.effectDuration = -0;\n this.memoizedUpdaters = new Set();\n containerInfo = this.pendingUpdatersLaneMap = [];\n for (tag = 0; 31 > tag; tag++) containerInfo.push(new Set());\n this._debugRootType = hydrate ? \"hydrateRoot()\" : \"createRoot()\";\n }\n function createFiberRoot(\n containerInfo,\n tag,\n hydrate,\n initialChildren,\n hydrationCallbacks,\n isStrictMode,\n identifierPrefix,\n formState,\n onUncaughtError,\n onCaughtError,\n onRecoverableError,\n onDefaultTransitionIndicator\n ) {\n containerInfo = new FiberRootNode(\n containerInfo,\n tag,\n hydrate,\n identifierPrefix,\n onUncaughtError,\n onCaughtError,\n onRecoverableError,\n onDefaultTransitionIndicator,\n formState\n );\n tag = ConcurrentMode;\n !0 === isStrictMode && (tag |= StrictLegacyMode | StrictEffectsMode);\n tag |= ProfileMode;\n isStrictMode = createFiber(3, null, null, tag);\n containerInfo.current = isStrictMode;\n isStrictMode.stateNode = containerInfo;\n tag = createCache();\n retainCache(tag);\n containerInfo.pooledCache = tag;\n retainCache(tag);\n isStrictMode.memoizedState = {\n element: initialChildren,\n isDehydrated: hydrate,\n cache: tag\n };\n initializeUpdateQueue(isStrictMode);\n return containerInfo;\n }\n function getContextForSubtree(parentComponent) {\n if (!parentComponent) return emptyContextObject;\n parentComponent = emptyContextObject;\n return parentComponent;\n }\n function updateContainerImpl(\n rootFiber,\n lane,\n element,\n container,\n parentComponent,\n callback\n ) {\n if (\n injectedHook &&\n \"function\" === typeof injectedHook.onScheduleFiberRoot\n )\n try {\n injectedHook.onScheduleFiberRoot(rendererID, container, element);\n } catch (err) {\n hasLoggedError ||\n ((hasLoggedError = !0),\n console.error(\n \"React instrumentation encountered an error: %o\",\n err\n ));\n }\n parentComponent = getContextForSubtree(parentComponent);\n null === container.context\n ? (container.context = parentComponent)\n : (container.pendingContext = parentComponent);\n isRendering &&\n null !== current &&\n !didWarnAboutNestedUpdates &&\n ((didWarnAboutNestedUpdates = !0),\n console.error(\n \"Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.\\n\\nCheck the render method of %s.\",\n getComponentNameFromFiber(current) || \"Unknown\"\n ));\n container = createUpdate(lane);\n container.payload = { element: element };\n callback = void 0 === callback ? null : callback;\n null !== callback &&\n (\"function\" !== typeof callback &&\n console.error(\n \"Expected the last optional `callback` argument to be a function. Instead received: %s.\",\n callback\n ),\n (container.callback = callback));\n element = enqueueUpdate(rootFiber, container, lane);\n null !== element &&\n (startUpdateTimerByLane(lane, \"root.render()\", null),\n scheduleUpdateOnFiber(element, rootFiber, lane),\n entangleTransitions(element, rootFiber, lane));\n }\n function markRetryLaneImpl(fiber, retryLane) {\n fiber = fiber.memoizedState;\n if (null !== fiber && null !== fiber.dehydrated) {\n var a = fiber.retryLane;\n fiber.retryLane = 0 !== a && a < retryLane ? a : retryLane;\n }\n }\n function markRetryLaneIfNotHydrated(fiber, retryLane) {\n markRetryLaneImpl(fiber, retryLane);\n (fiber = fiber.alternate) && markRetryLaneImpl(fiber, retryLane);\n }\n function attemptContinuousHydration(fiber) {\n if (13 === fiber.tag || 31 === fiber.tag) {\n var root = enqueueConcurrentRenderForLane(fiber, 67108864);\n null !== root && scheduleUpdateOnFiber(root, fiber, 67108864);\n markRetryLaneIfNotHydrated(fiber, 67108864);\n }\n }\n function attemptHydrationAtCurrentPriority(fiber) {\n if (13 === fiber.tag || 31 === fiber.tag) {\n var lane = requestUpdateLane(fiber);\n lane = getBumpedLaneForHydrationByLane(lane);\n var root = enqueueConcurrentRenderForLane(fiber, lane);\n null !== root && scheduleUpdateOnFiber(root, fiber, lane);\n markRetryLaneIfNotHydrated(fiber, lane);\n }\n }\n function getCurrentFiberForDevTools() {\n return current;\n }\n function dispatchDiscreteEvent(\n domEventName,\n eventSystemFlags,\n container,\n nativeEvent\n ) {\n var prevTransition = ReactSharedInternals.T;\n ReactSharedInternals.T = null;\n var previousPriority = ReactDOMSharedInternals.p;\n try {\n (ReactDOMSharedInternals.p = DiscreteEventPriority),\n dispatchEvent(domEventName, eventSystemFlags, container, nativeEvent);\n } finally {\n (ReactDOMSharedInternals.p = previousPriority),\n (ReactSharedInternals.T = prevTransition);\n }\n }\n function dispatchContinuousEvent(\n domEventName,\n eventSystemFlags,\n container,\n nativeEvent\n ) {\n var prevTransition = ReactSharedInternals.T;\n ReactSharedInternals.T = null;\n var previousPriority = ReactDOMSharedInternals.p;\n try {\n (ReactDOMSharedInternals.p = ContinuousEventPriority),\n dispatchEvent(domEventName, eventSystemFlags, container, nativeEvent);\n } finally {\n (ReactDOMSharedInternals.p = previousPriority),\n (ReactSharedInternals.T = prevTransition);\n }\n }\n function dispatchEvent(\n domEventName,\n eventSystemFlags,\n targetContainer,\n nativeEvent\n ) {\n if (_enabled) {\n var blockedOn = findInstanceBlockingEvent(nativeEvent);\n if (null === blockedOn)\n dispatchEventForPluginEventSystem(\n domEventName,\n eventSystemFlags,\n nativeEvent,\n return_targetInst,\n targetContainer\n ),\n clearIfContinuousEvent(domEventName, nativeEvent);\n else if (\n queueIfContinuousEvent(\n blockedOn,\n domEventName,\n eventSystemFlags,\n targetContainer,\n nativeEvent\n )\n )\n nativeEvent.stopPropagation();\n else if (\n (clearIfContinuousEvent(domEventName, nativeEvent),\n eventSystemFlags & 4 &&\n -1 < discreteReplayableEvents.indexOf(domEventName))\n ) {\n for (; null !== blockedOn; ) {\n var fiber = getInstanceFromNode(blockedOn);\n if (null !== fiber)\n switch (fiber.tag) {\n case 3:\n fiber = fiber.stateNode;\n if (fiber.current.memoizedState.isDehydrated) {\n var lanes = getHighestPriorityLanes(fiber.pendingLanes);\n if (0 !== lanes) {\n var root = fiber;\n root.pendingLanes |= 2;\n for (root.entangledLanes |= 2; lanes; ) {\n var lane = 1 << (31 - clz32(lanes));\n root.entanglements[1] |= lane;\n lanes &= ~lane;\n }\n ensureRootIsScheduled(fiber);\n (executionContext & (RenderContext | CommitContext)) ===\n NoContext &&\n ((workInProgressRootRenderTargetTime =\n now$1() + RENDER_TIMEOUT_MS),\n flushSyncWorkAcrossRoots_impl(0, !1));\n }\n }\n break;\n case 31:\n case 13:\n (root = enqueueConcurrentRenderForLane(fiber, 2)),\n null !== root && scheduleUpdateOnFiber(root, fiber, 2),\n flushSyncWork$1(),\n markRetryLaneIfNotHydrated(fiber, 2);\n }\n fiber = findInstanceBlockingEvent(nativeEvent);\n null === fiber &&\n dispatchEventForPluginEventSystem(\n domEventName,\n eventSystemFlags,\n nativeEvent,\n return_targetInst,\n targetContainer\n );\n if (fiber === blockedOn) break;\n blockedOn = fiber;\n }\n null !== blockedOn && nativeEvent.stopPropagation();\n } else\n dispatchEventForPluginEventSystem(\n domEventName,\n eventSystemFlags,\n nativeEvent,\n null,\n targetContainer\n );\n }\n }\n function findInstanceBlockingEvent(nativeEvent) {\n nativeEvent = getEventTarget(nativeEvent);\n return findInstanceBlockingTarget(nativeEvent);\n }\n function findInstanceBlockingTarget(targetNode) {\n return_targetInst = null;\n targetNode = getClosestInstanceFromNode(targetNode);\n if (null !== targetNode) {\n var nearestMounted = getNearestMountedFiber(targetNode);\n if (null === nearestMounted) targetNode = null;\n else {\n var tag = nearestMounted.tag;\n if (13 === tag) {\n targetNode = getSuspenseInstanceFromFiber(nearestMounted);\n if (null !== targetNode) return targetNode;\n targetNode = null;\n } else if (31 === tag) {\n targetNode = getActivityInstanceFromFiber(nearestMounted);\n if (null !== targetNode) return targetNode;\n targetNode = null;\n } else if (3 === tag) {\n if (nearestMounted.stateNode.current.memoizedState.isDehydrated)\n return 3 === nearestMounted.tag\n ? nearestMounted.stateNode.containerInfo\n : null;\n targetNode = null;\n } else nearestMounted !== targetNode && (targetNode = null);\n }\n }\n return_targetInst = targetNode;\n return null;\n }\n function getEventPriority(domEventName) {\n switch (domEventName) {\n case \"beforetoggle\":\n case \"cancel\":\n case \"click\":\n case \"close\":\n case \"contextmenu\":\n case \"copy\":\n case \"cut\":\n case \"auxclick\":\n case \"dblclick\":\n case \"dragend\":\n case \"dragstart\":\n case \"drop\":\n case \"focusin\":\n case \"focusout\":\n case \"input\":\n case \"invalid\":\n case \"keydown\":\n case \"keypress\":\n case \"keyup\":\n case \"mousedown\":\n case \"mouseup\":\n case \"paste\":\n case \"pause\":\n case \"play\":\n case \"pointercancel\":\n case \"pointerdown\":\n case \"pointerup\":\n case \"ratechange\":\n case \"reset\":\n case \"seeked\":\n case \"submit\":\n case \"toggle\":\n case \"touchcancel\":\n case \"touchend\":\n case \"touchstart\":\n case \"volumechange\":\n case \"change\":\n case \"selectionchange\":\n case \"textInput\":\n case \"compositionstart\":\n case \"compositionend\":\n case \"compositionupdate\":\n case \"beforeblur\":\n case \"afterblur\":\n case \"beforeinput\":\n case \"blur\":\n case \"fullscreenchange\":\n case \"focus\":\n case \"hashchange\":\n case \"popstate\":\n case \"select\":\n case \"selectstart\":\n return DiscreteEventPriority;\n case \"drag\":\n case \"dragenter\":\n case \"dragexit\":\n case \"dragleave\":\n case \"dragover\":\n case \"mousemove\":\n case \"mouseout\":\n case \"mouseover\":\n case \"pointermove\":\n case \"pointerout\":\n case \"pointerover\":\n case \"resize\":\n case \"scroll\":\n case \"touchmove\":\n case \"wheel\":\n case \"mouseenter\":\n case \"mouseleave\":\n case \"pointerenter\":\n case \"pointerleave\":\n return ContinuousEventPriority;\n case \"message\":\n switch (getCurrentPriorityLevel()) {\n case ImmediatePriority:\n return DiscreteEventPriority;\n case UserBlockingPriority:\n return ContinuousEventPriority;\n case NormalPriority$1:\n case LowPriority:\n return DefaultEventPriority;\n case IdlePriority:\n return IdleEventPriority;\n default:\n return DefaultEventPriority;\n }\n default:\n return DefaultEventPriority;\n }\n }\n function clearIfContinuousEvent(domEventName, nativeEvent) {\n switch (domEventName) {\n case \"focusin\":\n case \"focusout\":\n queuedFocus = null;\n break;\n case \"dragenter\":\n case \"dragleave\":\n queuedDrag = null;\n break;\n case \"mouseover\":\n case \"mouseout\":\n queuedMouse = null;\n break;\n case \"pointerover\":\n case \"pointerout\":\n queuedPointers.delete(nativeEvent.pointerId);\n break;\n case \"gotpointercapture\":\n case \"lostpointercapture\":\n queuedPointerCaptures.delete(nativeEvent.pointerId);\n }\n }\n function accumulateOrCreateContinuousQueuedReplayableEvent(\n existingQueuedEvent,\n blockedOn,\n domEventName,\n eventSystemFlags,\n targetContainer,\n nativeEvent\n ) {\n if (\n null === existingQueuedEvent ||\n existingQueuedEvent.nativeEvent !== nativeEvent\n )\n return (\n (existingQueuedEvent = {\n blockedOn: blockedOn,\n domEventName: domEventName,\n eventSystemFlags: eventSystemFlags,\n nativeEvent: nativeEvent,\n targetContainers: [targetContainer]\n }),\n null !== blockedOn &&\n ((blockedOn = getInstanceFromNode(blockedOn)),\n null !== blockedOn && attemptContinuousHydration(blockedOn)),\n existingQueuedEvent\n );\n existingQueuedEvent.eventSystemFlags |= eventSystemFlags;\n blockedOn = existingQueuedEvent.targetContainers;\n null !== targetContainer &&\n -1 === blockedOn.indexOf(targetContainer) &&\n blockedOn.push(targetContainer);\n return existingQueuedEvent;\n }\n function queueIfContinuousEvent(\n blockedOn,\n domEventName,\n eventSystemFlags,\n targetContainer,\n nativeEvent\n ) {\n switch (domEventName) {\n case \"focusin\":\n return (\n (queuedFocus = accumulateOrCreateContinuousQueuedReplayableEvent(\n queuedFocus,\n blockedOn,\n domEventName,\n eventSystemFlags,\n targetContainer,\n nativeEvent\n )),\n !0\n );\n case \"dragenter\":\n return (\n (queuedDrag = accumulateOrCreateContinuousQueuedReplayableEvent(\n queuedDrag,\n blockedOn,\n domEventName,\n eventSystemFlags,\n targetContainer,\n nativeEvent\n )),\n !0\n );\n case \"mouseover\":\n return (\n (queuedMouse = accumulateOrCreateContinuousQueuedReplayableEvent(\n queuedMouse,\n blockedOn,\n domEventName,\n eventSystemFlags,\n targetContainer,\n nativeEvent\n )),\n !0\n );\n case \"pointerover\":\n var pointerId = nativeEvent.pointerId;\n queuedPointers.set(\n pointerId,\n accumulateOrCreateContinuousQueuedReplayableEvent(\n queuedPointers.get(pointerId) || null,\n blockedOn,\n domEventName,\n eventSystemFlags,\n targetContainer,\n nativeEvent\n )\n );\n return !0;\n case \"gotpointercapture\":\n return (\n (pointerId = nativeEvent.pointerId),\n queuedPointerCaptures.set(\n pointerId,\n accumulateOrCreateContinuousQueuedReplayableEvent(\n queuedPointerCaptures.get(pointerId) || null,\n blockedOn,\n domEventName,\n eventSystemFlags,\n targetContainer,\n nativeEvent\n )\n ),\n !0\n );\n }\n return !1;\n }\n function attemptExplicitHydrationTarget(queuedTarget) {\n var targetInst = getClosestInstanceFromNode(queuedTarget.target);\n if (null !== targetInst) {\n var nearestMounted = getNearestMountedFiber(targetInst);\n if (null !== nearestMounted)\n if (((targetInst = nearestMounted.tag), 13 === targetInst)) {\n if (\n ((targetInst = getSuspenseInstanceFromFiber(nearestMounted)),\n null !== targetInst)\n ) {\n queuedTarget.blockedOn = targetInst;\n runWithPriority(queuedTarget.priority, function () {\n attemptHydrationAtCurrentPriority(nearestMounted);\n });\n return;\n }\n } else if (31 === targetInst) {\n if (\n ((targetInst = getActivityInstanceFromFiber(nearestMounted)),\n null !== targetInst)\n ) {\n queuedTarget.blockedOn = targetInst;\n runWithPriority(queuedTarget.priority, function () {\n attemptHydrationAtCurrentPriority(nearestMounted);\n });\n return;\n }\n } else if (\n 3 === targetInst &&\n nearestMounted.stateNode.current.memoizedState.isDehydrated\n ) {\n queuedTarget.blockedOn =\n 3 === nearestMounted.tag\n ? nearestMounted.stateNode.containerInfo\n : null;\n return;\n }\n }\n queuedTarget.blockedOn = null;\n }\n function attemptReplayContinuousQueuedEvent(queuedEvent) {\n if (null !== queuedEvent.blockedOn) return !1;\n for (\n var targetContainers = queuedEvent.targetContainers;\n 0 < targetContainers.length;\n\n ) {\n var nextBlockedOn = findInstanceBlockingEvent(queuedEvent.nativeEvent);\n if (null === nextBlockedOn) {\n nextBlockedOn = queuedEvent.nativeEvent;\n var nativeEventClone = new nextBlockedOn.constructor(\n nextBlockedOn.type,\n nextBlockedOn\n ),\n event = nativeEventClone;\n null !== currentReplayingEvent &&\n console.error(\n \"Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue.\"\n );\n currentReplayingEvent = event;\n nextBlockedOn.target.dispatchEvent(nativeEventClone);\n null === currentReplayingEvent &&\n console.error(\n \"Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue.\"\n );\n currentReplayingEvent = null;\n } else\n return (\n (targetContainers = getInstanceFromNode(nextBlockedOn)),\n null !== targetContainers &&\n attemptContinuousHydration(targetContainers),\n (queuedEvent.blockedOn = nextBlockedOn),\n !1\n );\n targetContainers.shift();\n }\n return !0;\n }\n function attemptReplayContinuousQueuedEventInMap(queuedEvent, key, map) {\n attemptReplayContinuousQueuedEvent(queuedEvent) && map.delete(key);\n }\n function replayUnblockedEvents() {\n hasScheduledReplayAttempt = !1;\n null !== queuedFocus &&\n attemptReplayContinuousQueuedEvent(queuedFocus) &&\n (queuedFocus = null);\n null !== queuedDrag &&\n attemptReplayContinuousQueuedEvent(queuedDrag) &&\n (queuedDrag = null);\n null !== queuedMouse &&\n attemptReplayContinuousQueuedEvent(queuedMouse) &&\n (queuedMouse = null);\n queuedPointers.forEach(attemptReplayContinuousQueuedEventInMap);\n queuedPointerCaptures.forEach(attemptReplayContinuousQueuedEventInMap);\n }\n function scheduleCallbackIfUnblocked(queuedEvent, unblocked) {\n queuedEvent.blockedOn === unblocked &&\n ((queuedEvent.blockedOn = null),\n hasScheduledReplayAttempt ||\n ((hasScheduledReplayAttempt = !0),\n Scheduler.unstable_scheduleCallback(\n Scheduler.unstable_NormalPriority,\n replayUnblockedEvents\n )));\n }\n function scheduleReplayQueueIfNeeded(formReplayingQueue) {\n lastScheduledReplayQueue !== formReplayingQueue &&\n ((lastScheduledReplayQueue = formReplayingQueue),\n Scheduler.unstable_scheduleCallback(\n Scheduler.unstable_NormalPriority,\n function () {\n lastScheduledReplayQueue === formReplayingQueue &&\n (lastScheduledReplayQueue = null);\n for (var i = 0; i < formReplayingQueue.length; i += 3) {\n var form = formReplayingQueue[i],\n submitterOrAction = formReplayingQueue[i + 1],\n formData = formReplayingQueue[i + 2];\n if (\"function\" !== typeof submitterOrAction)\n if (\n null === findInstanceBlockingTarget(submitterOrAction || form)\n )\n continue;\n else break;\n var formInst = getInstanceFromNode(form);\n null !== formInst &&\n (formReplayingQueue.splice(i, 3),\n (i -= 3),\n (form = {\n pending: !0,\n data: formData,\n method: form.method,\n action: submitterOrAction\n }),\n Object.freeze(form),\n startHostTransition(\n formInst,\n form,\n submitterOrAction,\n formData\n ));\n }\n }\n ));\n }\n function retryIfBlockedOn(unblocked) {\n function unblock(queuedEvent) {\n return scheduleCallbackIfUnblocked(queuedEvent, unblocked);\n }\n null !== queuedFocus &&\n scheduleCallbackIfUnblocked(queuedFocus, unblocked);\n null !== queuedDrag && scheduleCallbackIfUnblocked(queuedDrag, unblocked);\n null !== queuedMouse &&\n scheduleCallbackIfUnblocked(queuedMouse, unblocked);\n queuedPointers.forEach(unblock);\n queuedPointerCaptures.forEach(unblock);\n for (var i = 0; i < queuedExplicitHydrationTargets.length; i++) {\n var queuedTarget = queuedExplicitHydrationTargets[i];\n queuedTarget.blockedOn === unblocked && (queuedTarget.blockedOn = null);\n }\n for (\n ;\n 0 < queuedExplicitHydrationTargets.length &&\n ((i = queuedExplicitHydrationTargets[0]), null === i.blockedOn);\n\n )\n attemptExplicitHydrationTarget(i),\n null === i.blockedOn && queuedExplicitHydrationTargets.shift();\n i = (unblocked.ownerDocument || unblocked).$$reactFormReplay;\n if (null != i)\n for (queuedTarget = 0; queuedTarget < i.length; queuedTarget += 3) {\n var form = i[queuedTarget],\n submitterOrAction = i[queuedTarget + 1],\n formProps = form[internalPropsKey] || null;\n if (\"function\" === typeof submitterOrAction)\n formProps || scheduleReplayQueueIfNeeded(i);\n else if (formProps) {\n var action = null;\n if (\n submitterOrAction &&\n submitterOrAction.hasAttribute(\"formAction\")\n )\n if (\n ((form = submitterOrAction),\n (formProps = submitterOrAction[internalPropsKey] || null))\n )\n action = formProps.formAction;\n else {\n if (null !== findInstanceBlockingTarget(form)) continue;\n }\n else action = formProps.action;\n \"function\" === typeof action\n ? (i[queuedTarget + 1] = action)\n : (i.splice(queuedTarget, 3), (queuedTarget -= 3));\n scheduleReplayQueueIfNeeded(i);\n }\n }\n }\n function defaultOnDefaultTransitionIndicator() {\n function handleNavigate(event) {\n event.canIntercept &&\n \"react-transition\" === event.info &&\n event.intercept({\n handler: function () {\n return new Promise(function (resolve) {\n return (pendingResolve = resolve);\n });\n },\n focusReset: \"manual\",\n scroll: \"manual\"\n });\n }\n function handleNavigateComplete() {\n null !== pendingResolve && (pendingResolve(), (pendingResolve = null));\n isCancelled || setTimeout(startFakeNavigation, 20);\n }\n function startFakeNavigation() {\n if (!isCancelled && !navigation.transition) {\n var currentEntry = navigation.currentEntry;\n currentEntry &&\n null != currentEntry.url &&\n navigation.navigate(currentEntry.url, {\n state: currentEntry.getState(),\n info: \"react-transition\",\n history: \"replace\"\n });\n }\n }\n if (\"object\" === typeof navigation) {\n var isCancelled = !1,\n pendingResolve = null;\n navigation.addEventListener(\"navigate\", handleNavigate);\n navigation.addEventListener(\"navigatesuccess\", handleNavigateComplete);\n navigation.addEventListener(\"navigateerror\", handleNavigateComplete);\n setTimeout(startFakeNavigation, 100);\n return function () {\n isCancelled = !0;\n navigation.removeEventListener(\"navigate\", handleNavigate);\n navigation.removeEventListener(\n \"navigatesuccess\",\n handleNavigateComplete\n );\n navigation.removeEventListener(\n \"navigateerror\",\n handleNavigateComplete\n );\n null !== pendingResolve &&\n (pendingResolve(), (pendingResolve = null));\n };\n }\n }\n function ReactDOMRoot(internalRoot) {\n this._internalRoot = internalRoot;\n }\n function ReactDOMHydrationRoot(internalRoot) {\n this._internalRoot = internalRoot;\n }\n function warnIfReactDOMContainerInDEV(container) {\n container[internalContainerInstanceKey] &&\n (container._reactRootContainer\n ? console.error(\n \"You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported.\"\n )\n : console.error(\n \"You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it.\"\n ));\n }\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());\n var Scheduler = require(\"next/dist/compiled/scheduler\"),\n React = require(\"next/dist/compiled/react\"),\n ReactDOM = require(\"next/dist/compiled/react-dom\"),\n searchTarget = null,\n searchBoundary = null,\n assign = Object.assign,\n REACT_LEGACY_ELEMENT_TYPE = Symbol.for(\"react.element\"),\n REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\"),\n REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\");\n Symbol.for(\"react.scope\");\n var REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n REACT_LEGACY_HIDDEN_TYPE = Symbol.for(\"react.legacy_hidden\");\n Symbol.for(\"react.tracing_marker\");\n var REACT_MEMO_CACHE_SENTINEL = Symbol.for(\"react.memo_cache_sentinel\"),\n REACT_VIEW_TRANSITION_TYPE = Symbol.for(\"react.view_transition\"),\n MAYBE_ITERATOR_SYMBOL = Symbol.iterator,\n REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\"),\n isArrayImpl = Array.isArray,\n ReactSharedInternals =\n React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n ReactDOMSharedInternals =\n ReactDOM.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n NotPending = Object.freeze({\n pending: !1,\n data: null,\n method: null,\n action: null\n }),\n valueStack = [];\n var fiberStack = [];\n var index$jscomp$0 = -1,\n contextStackCursor = createCursor(null),\n contextFiberStackCursor = createCursor(null),\n rootInstanceStackCursor = createCursor(null),\n hostTransitionProviderCursor = createCursor(null),\n disabledDepth = 0,\n prevLog,\n prevInfo,\n prevWarn,\n prevError,\n prevGroup,\n prevGroupCollapsed,\n prevGroupEnd;\n disabledLog.__reactDisabledLog = !0;\n var prefix,\n suffix,\n reentry = !1;\n var componentFrameCache = new (\n \"function\" === typeof WeakMap ? WeakMap : Map\n )();\n var current = null,\n isRendering = !1,\n hasOwnProperty = Object.prototype.hasOwnProperty,\n scheduleCallback$3 = Scheduler.unstable_scheduleCallback,\n cancelCallback$1 = Scheduler.unstable_cancelCallback,\n shouldYield = Scheduler.unstable_shouldYield,\n requestPaint = Scheduler.unstable_requestPaint,\n now$1 = Scheduler.unstable_now,\n getCurrentPriorityLevel = Scheduler.unstable_getCurrentPriorityLevel,\n ImmediatePriority = Scheduler.unstable_ImmediatePriority,\n UserBlockingPriority = Scheduler.unstable_UserBlockingPriority,\n NormalPriority$1 = Scheduler.unstable_NormalPriority,\n LowPriority = Scheduler.unstable_LowPriority,\n IdlePriority = Scheduler.unstable_IdlePriority,\n log$1 = Scheduler.log,\n unstable_setDisableYieldValue = Scheduler.unstable_setDisableYieldValue,\n rendererID = null,\n injectedHook = null,\n hasLoggedError = !1,\n isDevToolsPresent = \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__,\n clz32 = Math.clz32 ? Math.clz32 : clz32Fallback,\n log = Math.log,\n LN2 = Math.LN2,\n nextTransitionUpdateLane = 256,\n nextTransitionDeferredLane = 262144,\n nextRetryLane = 4194304,\n DiscreteEventPriority = 2,\n ContinuousEventPriority = 8,\n DefaultEventPriority = 32,\n IdleEventPriority = 268435456,\n randomKey = Math.random().toString(36).slice(2),\n internalInstanceKey = \"__reactFiber$\" + randomKey,\n internalPropsKey = \"__reactProps$\" + randomKey,\n internalContainerInstanceKey = \"__reactContainer$\" + randomKey,\n internalEventHandlersKey = \"__reactEvents$\" + randomKey,\n internalEventHandlerListenersKey = \"__reactListeners$\" + randomKey,\n internalEventHandlesSetKey = \"__reactHandles$\" + randomKey,\n internalRootNodeResourcesKey = \"__reactResources$\" + randomKey,\n internalHoistableMarker = \"__reactMarker$\" + randomKey,\n allNativeEvents = new Set(),\n registrationNameDependencies = {},\n possibleRegistrationNames = {},\n hasReadOnlyValue = {\n button: !0,\n checkbox: !0,\n image: !0,\n hidden: !0,\n radio: !0,\n reset: !0,\n submit: !0\n },\n VALID_ATTRIBUTE_NAME_REGEX = RegExp(\n \"^[:A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD][:A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD\\\\-.0-9\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040]*$\"\n ),\n illegalAttributeNameCache = {},\n validatedAttributeNameCache = {},\n viewTransitionMutationContext = !1,\n escapeSelectorAttributeValueInsideDoubleQuotesRegex = /[\\n\"\\\\]/g,\n didWarnValueDefaultValue$1 = !1,\n didWarnCheckedDefaultChecked = !1,\n didWarnSelectedSetOnOption = !1,\n didWarnInvalidChild = !1,\n didWarnInvalidInnerHTML = !1;\n var didWarnValueDefaultValue = !1;\n var valuePropNames = [\"value\", \"defaultValue\"],\n didWarnValDefaultVal = !1,\n needsEscaping = /[\"'&<>\\n\\t]|^\\s|\\s$/,\n specialTags =\n \"address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp\".split(\n \" \"\n ),\n inScopeTags =\n \"applet caption html table td th marquee object template foreignObject desc title\".split(\n \" \"\n ),\n buttonScopeTags = inScopeTags.concat([\"button\"]),\n impliedEndTags = \"dd dt li option optgroup p rp rt\".split(\" \"),\n emptyAncestorInfoDev = {\n current: null,\n formTag: null,\n aTagInScope: null,\n buttonTagInScope: null,\n nobrTagInScope: null,\n pTagInButtonScope: null,\n listItemTagAutoclosing: null,\n dlItemTagAutoclosing: null,\n containerTagInScope: null,\n implicitRootScope: !1\n },\n didWarn = {},\n shorthandToLonghand = {\n animation:\n \"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction\".split(\n \" \"\n ),\n background:\n \"backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize\".split(\n \" \"\n ),\n backgroundPosition: [\"backgroundPositionX\", \"backgroundPositionY\"],\n border:\n \"borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth\".split(\n \" \"\n ),\n borderBlockEnd: [\n \"borderBlockEndColor\",\n \"borderBlockEndStyle\",\n \"borderBlockEndWidth\"\n ],\n borderBlockStart: [\n \"borderBlockStartColor\",\n \"borderBlockStartStyle\",\n \"borderBlockStartWidth\"\n ],\n borderBottom: [\n \"borderBottomColor\",\n \"borderBottomStyle\",\n \"borderBottomWidth\"\n ],\n borderColor: [\n \"borderBottomColor\",\n \"borderLeftColor\",\n \"borderRightColor\",\n \"borderTopColor\"\n ],\n borderImage: [\n \"borderImageOutset\",\n \"borderImageRepeat\",\n \"borderImageSlice\",\n \"borderImageSource\",\n \"borderImageWidth\"\n ],\n borderInlineEnd: [\n \"borderInlineEndColor\",\n \"borderInlineEndStyle\",\n \"borderInlineEndWidth\"\n ],\n borderInlineStart: [\n \"borderInlineStartColor\",\n \"borderInlineStartStyle\",\n \"borderInlineStartWidth\"\n ],\n borderLeft: [\"borderLeftColor\", \"borderLeftStyle\", \"borderLeftWidth\"],\n borderRadius: [\n \"borderBottomLeftRadius\",\n \"borderBottomRightRadius\",\n \"borderTopLeftRadius\",\n \"borderTopRightRadius\"\n ],\n borderRight: [\n \"borderRightColor\",\n \"borderRightStyle\",\n \"borderRightWidth\"\n ],\n borderStyle: [\n \"borderBottomStyle\",\n \"borderLeftStyle\",\n \"borderRightStyle\",\n \"borderTopStyle\"\n ],\n borderTop: [\"borderTopColor\", \"borderTopStyle\", \"borderTopWidth\"],\n borderWidth: [\n \"borderBottomWidth\",\n \"borderLeftWidth\",\n \"borderRightWidth\",\n \"borderTopWidth\"\n ],\n columnRule: [\"columnRuleColor\", \"columnRuleStyle\", \"columnRuleWidth\"],\n columns: [\"columnCount\", \"columnWidth\"],\n flex: [\"flexBasis\", \"flexGrow\", \"flexShrink\"],\n flexFlow: [\"flexDirection\", \"flexWrap\"],\n font: \"fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight\".split(\n \" \"\n ),\n fontVariant:\n \"fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition\".split(\n \" \"\n ),\n gap: [\"columnGap\", \"rowGap\"],\n grid: \"gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows\".split(\n \" \"\n ),\n gridArea: [\n \"gridColumnEnd\",\n \"gridColumnStart\",\n \"gridRowEnd\",\n \"gridRowStart\"\n ],\n gridColumn: [\"gridColumnEnd\", \"gridColumnStart\"],\n gridColumnGap: [\"columnGap\"],\n gridGap: [\"columnGap\", \"rowGap\"],\n gridRow: [\"gridRowEnd\", \"gridRowStart\"],\n gridRowGap: [\"rowGap\"],\n gridTemplate: [\n \"gridTemplateAreas\",\n \"gridTemplateColumns\",\n \"gridTemplateRows\"\n ],\n listStyle: [\"listStyleImage\", \"listStylePosition\", \"listStyleType\"],\n margin: [\"marginBottom\", \"marginLeft\", \"marginRight\", \"marginTop\"],\n marker: [\"markerEnd\", \"markerMid\", \"markerStart\"],\n mask: \"maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize\".split(\n \" \"\n ),\n maskPosition: [\"maskPositionX\", \"maskPositionY\"],\n outline: [\"outlineColor\", \"outlineStyle\", \"outlineWidth\"],\n overflow: [\"overflowX\", \"overflowY\"],\n padding: [\"paddingBottom\", \"paddingLeft\", \"paddingRight\", \"paddingTop\"],\n placeContent: [\"alignContent\", \"justifyContent\"],\n placeItems: [\"alignItems\", \"justifyItems\"],\n placeSelf: [\"alignSelf\", \"justifySelf\"],\n textDecoration: [\n \"textDecorationColor\",\n \"textDecorationLine\",\n \"textDecorationStyle\"\n ],\n textEmphasis: [\"textEmphasisColor\", \"textEmphasisStyle\"],\n transition: [\n \"transitionDelay\",\n \"transitionDuration\",\n \"transitionProperty\",\n \"transitionTimingFunction\"\n ],\n wordWrap: [\"overflowWrap\"]\n },\n uppercasePattern = /([A-Z])/g,\n msPattern$1 = /^ms-/,\n badVendoredStyleNamePattern = /^(?:webkit|moz|o)[A-Z]/,\n msPattern = /^-ms-/,\n hyphenPattern = /-(.)/g,\n badStyleValueWithSemicolonPattern = /;\\s*$/,\n warnedStyleNames = {},\n warnedStyleValues = {},\n warnedForNaNValue = !1,\n warnedForInfinityValue = !1,\n unitlessNumbers = new Set(\n \"animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp\".split(\n \" \"\n )\n ),\n MATH_NAMESPACE = \"http://www.w3.org/1998/Math/MathML\",\n SVG_NAMESPACE = \"http://www.w3.org/2000/svg\",\n aliases = new Map([\n [\"acceptCharset\", \"accept-charset\"],\n [\"htmlFor\", \"for\"],\n [\"httpEquiv\", \"http-equiv\"],\n [\"crossOrigin\", \"crossorigin\"],\n [\"accentHeight\", \"accent-height\"],\n [\"alignmentBaseline\", \"alignment-baseline\"],\n [\"arabicForm\", \"arabic-form\"],\n [\"baselineShift\", \"baseline-shift\"],\n [\"capHeight\", \"cap-height\"],\n [\"clipPath\", \"clip-path\"],\n [\"clipRule\", \"clip-rule\"],\n [\"colorInterpolation\", \"color-interpolation\"],\n [\"colorInterpolationFilters\", \"color-interpolation-filters\"],\n [\"colorProfile\", \"color-profile\"],\n [\"colorRendering\", \"color-rendering\"],\n [\"dominantBaseline\", \"dominant-baseline\"],\n [\"enableBackground\", \"enable-background\"],\n [\"fillOpacity\", \"fill-opacity\"],\n [\"fillRule\", \"fill-rule\"],\n [\"floodColor\", \"flood-color\"],\n [\"floodOpacity\", \"flood-opacity\"],\n [\"fontFamily\", \"font-family\"],\n [\"fontSize\", \"font-size\"],\n [\"fontSizeAdjust\", \"font-size-adjust\"],\n [\"fontStretch\", \"font-stretch\"],\n [\"fontStyle\", \"font-style\"],\n [\"fontVariant\", \"font-variant\"],\n [\"fontWeight\", \"font-weight\"],\n [\"glyphName\", \"glyph-name\"],\n [\"glyphOrientationHorizontal\", \"glyph-orientation-horizontal\"],\n [\"glyphOrientationVertical\", \"glyph-orientation-vertical\"],\n [\"horizAdvX\", \"horiz-adv-x\"],\n [\"horizOriginX\", \"horiz-origin-x\"],\n [\"imageRendering\", \"image-rendering\"],\n [\"letterSpacing\", \"letter-spacing\"],\n [\"lightingColor\", \"lighting-color\"],\n [\"markerEnd\", \"marker-end\"],\n [\"markerMid\", \"marker-mid\"],\n [\"markerStart\", \"marker-start\"],\n [\"overlinePosition\", \"overline-position\"],\n [\"overlineThickness\", \"overline-thickness\"],\n [\"paintOrder\", \"paint-order\"],\n [\"panose-1\", \"panose-1\"],\n [\"pointerEvents\", \"pointer-events\"],\n [\"renderingIntent\", \"rendering-intent\"],\n [\"shapeRendering\", \"shape-rendering\"],\n [\"stopColor\", \"stop-color\"],\n [\"stopOpacity\", \"stop-opacity\"],\n [\"strikethroughPosition\", \"strikethrough-position\"],\n [\"strikethroughThickness\", \"strikethrough-thickness\"],\n [\"strokeDasharray\", \"stroke-dasharray\"],\n [\"strokeDashoffset\", \"stroke-dashoffset\"],\n [\"strokeLinecap\", \"stroke-linecap\"],\n [\"strokeLinejoin\", \"stroke-linejoin\"],\n [\"strokeMiterlimit\", \"stroke-miterlimit\"],\n [\"strokeOpacity\", \"stroke-opacity\"],\n [\"strokeWidth\", \"stroke-width\"],\n [\"textAnchor\", \"text-anchor\"],\n [\"textDecoration\", \"text-decoration\"],\n [\"textRendering\", \"text-rendering\"],\n [\"transformOrigin\", \"transform-origin\"],\n [\"underlinePosition\", \"underline-position\"],\n [\"underlineThickness\", \"underline-thickness\"],\n [\"unicodeBidi\", \"unicode-bidi\"],\n [\"unicodeRange\", \"unicode-range\"],\n [\"unitsPerEm\", \"units-per-em\"],\n [\"vAlphabetic\", \"v-alphabetic\"],\n [\"vHanging\", \"v-hanging\"],\n [\"vIdeographic\", \"v-ideographic\"],\n [\"vMathematical\", \"v-mathematical\"],\n [\"vectorEffect\", \"vector-effect\"],\n [\"vertAdvY\", \"vert-adv-y\"],\n [\"vertOriginX\", \"vert-origin-x\"],\n [\"vertOriginY\", \"vert-origin-y\"],\n [\"wordSpacing\", \"word-spacing\"],\n [\"writingMode\", \"writing-mode\"],\n [\"xmlnsXlink\", \"xmlns:xlink\"],\n [\"xHeight\", \"x-height\"]\n ]),\n possibleStandardNames = {\n accept: \"accept\",\n acceptcharset: \"acceptCharset\",\n \"accept-charset\": \"acceptCharset\",\n accesskey: \"accessKey\",\n action: \"action\",\n allowfullscreen: \"allowFullScreen\",\n alt: \"alt\",\n as: \"as\",\n async: \"async\",\n autocapitalize: \"autoCapitalize\",\n autocomplete: \"autoComplete\",\n autocorrect: \"autoCorrect\",\n autofocus: \"autoFocus\",\n autoplay: \"autoPlay\",\n autosave: \"autoSave\",\n capture: \"capture\",\n cellpadding: \"cellPadding\",\n cellspacing: \"cellSpacing\",\n challenge: \"challenge\",\n charset: \"charSet\",\n checked: \"checked\",\n children: \"children\",\n cite: \"cite\",\n class: \"className\",\n classid: \"classID\",\n classname: \"className\",\n cols: \"cols\",\n colspan: \"colSpan\",\n content: \"content\",\n contenteditable: \"contentEditable\",\n contextmenu: \"contextMenu\",\n controls: \"controls\",\n controlslist: \"controlsList\",\n coords: \"coords\",\n crossorigin: \"crossOrigin\",\n dangerouslysetinnerhtml: \"dangerouslySetInnerHTML\",\n data: \"data\",\n datetime: \"dateTime\",\n default: \"default\",\n defaultchecked: \"defaultChecked\",\n defaultvalue: \"defaultValue\",\n defer: \"defer\",\n dir: \"dir\",\n disabled: \"disabled\",\n disablepictureinpicture: \"disablePictureInPicture\",\n disableremoteplayback: \"disableRemotePlayback\",\n download: \"download\",\n draggable: \"draggable\",\n enctype: \"encType\",\n enterkeyhint: \"enterKeyHint\",\n fetchpriority: \"fetchPriority\",\n for: \"htmlFor\",\n form: \"form\",\n formmethod: \"formMethod\",\n formaction: \"formAction\",\n formenctype: \"formEncType\",\n formnovalidate: \"formNoValidate\",\n formtarget: \"formTarget\",\n frameborder: \"frameBorder\",\n headers: \"headers\",\n height: \"height\",\n hidden: \"hidden\",\n high: \"high\",\n href: \"href\",\n hreflang: \"hrefLang\",\n htmlfor: \"htmlFor\",\n httpequiv: \"httpEquiv\",\n \"http-equiv\": \"httpEquiv\",\n icon: \"icon\",\n id: \"id\",\n imagesizes: \"imageSizes\",\n imagesrcset: \"imageSrcSet\",\n inert: \"inert\",\n innerhtml: \"innerHTML\",\n inputmode: \"inputMode\",\n integrity: \"integrity\",\n is: \"is\",\n itemid: \"itemID\",\n itemprop: \"itemProp\",\n itemref: \"itemRef\",\n itemscope: \"itemScope\",\n itemtype: \"itemType\",\n keyparams: \"keyParams\",\n keytype: \"keyType\",\n kind: \"kind\",\n label: \"label\",\n lang: \"lang\",\n list: \"list\",\n loop: \"loop\",\n low: \"low\",\n manifest: \"manifest\",\n marginwidth: \"marginWidth\",\n marginheight: \"marginHeight\",\n max: \"max\",\n maxlength: \"maxLength\",\n media: \"media\",\n mediagroup: \"mediaGroup\",\n method: \"method\",\n min: \"min\",\n minlength: \"minLength\",\n multiple: \"multiple\",\n muted: \"muted\",\n name: \"name\",\n nomodule: \"noModule\",\n nonce: \"nonce\",\n novalidate: \"noValidate\",\n open: \"open\",\n optimum: \"optimum\",\n pattern: \"pattern\",\n placeholder: \"placeholder\",\n playsinline: \"playsInline\",\n poster: \"poster\",\n preload: \"preload\",\n profile: \"profile\",\n radiogroup: \"radioGroup\",\n readonly: \"readOnly\",\n referrerpolicy: \"referrerPolicy\",\n rel: \"rel\",\n required: \"required\",\n reversed: \"reversed\",\n role: \"role\",\n rows: \"rows\",\n rowspan: \"rowSpan\",\n sandbox: \"sandbox\",\n scope: \"scope\",\n scoped: \"scoped\",\n scrolling: \"scrolling\",\n seamless: \"seamless\",\n selected: \"selected\",\n shape: \"shape\",\n size: \"size\",\n sizes: \"sizes\",\n span: \"span\",\n spellcheck: \"spellCheck\",\n src: \"src\",\n srcdoc: \"srcDoc\",\n srclang: \"srcLang\",\n srcset: \"srcSet\",\n start: \"start\",\n step: \"step\",\n style: \"style\",\n summary: \"summary\",\n tabindex: \"tabIndex\",\n target: \"target\",\n title: \"title\",\n type: \"type\",\n usemap: \"useMap\",\n value: \"value\",\n width: \"width\",\n wmode: \"wmode\",\n wrap: \"wrap\",\n about: \"about\",\n accentheight: \"accentHeight\",\n \"accent-height\": \"accentHeight\",\n accumulate: \"accumulate\",\n additive: \"additive\",\n alignmentbaseline: \"alignmentBaseline\",\n \"alignment-baseline\": \"alignmentBaseline\",\n allowreorder: \"allowReorder\",\n alphabetic: \"alphabetic\",\n amplitude: \"amplitude\",\n arabicform: \"arabicForm\",\n \"arabic-form\": \"arabicForm\",\n ascent: \"ascent\",\n attributename: \"attributeName\",\n attributetype: \"attributeType\",\n autoreverse: \"autoReverse\",\n azimuth: \"azimuth\",\n basefrequency: \"baseFrequency\",\n baselineshift: \"baselineShift\",\n \"baseline-shift\": \"baselineShift\",\n baseprofile: \"baseProfile\",\n bbox: \"bbox\",\n begin: \"begin\",\n bias: \"bias\",\n by: \"by\",\n calcmode: \"calcMode\",\n capheight: \"capHeight\",\n \"cap-height\": \"capHeight\",\n clip: \"clip\",\n clippath: \"clipPath\",\n \"clip-path\": \"clipPath\",\n clippathunits: \"clipPathUnits\",\n cliprule: \"clipRule\",\n \"clip-rule\": \"clipRule\",\n color: \"color\",\n colorinterpolation: \"colorInterpolation\",\n \"color-interpolation\": \"colorInterpolation\",\n colorinterpolationfilters: \"colorInterpolationFilters\",\n \"color-interpolation-filters\": \"colorInterpolationFilters\",\n colorprofile: \"colorProfile\",\n \"color-profile\": \"colorProfile\",\n colorrendering: \"colorRendering\",\n \"color-rendering\": \"colorRendering\",\n contentscripttype: \"contentScriptType\",\n contentstyletype: \"contentStyleType\",\n cursor: \"cursor\",\n cx: \"cx\",\n cy: \"cy\",\n d: \"d\",\n datatype: \"datatype\",\n decelerate: \"decelerate\",\n descent: \"descent\",\n diffuseconstant: \"diffuseConstant\",\n direction: \"direction\",\n display: \"display\",\n divisor: \"divisor\",\n dominantbaseline: \"dominantBaseline\",\n \"dominant-baseline\": \"dominantBaseline\",\n dur: \"dur\",\n dx: \"dx\",\n dy: \"dy\",\n edgemode: \"edgeMode\",\n elevation: \"elevation\",\n enablebackground: \"enableBackground\",\n \"enable-background\": \"enableBackground\",\n end: \"end\",\n exponent: \"exponent\",\n externalresourcesrequired: \"externalResourcesRequired\",\n fill: \"fill\",\n fillopacity: \"fillOpacity\",\n \"fill-opacity\": \"fillOpacity\",\n fillrule: \"fillRule\",\n \"fill-rule\": \"fillRule\",\n filter: \"filter\",\n filterres: \"filterRes\",\n filterunits: \"filterUnits\",\n floodopacity: \"floodOpacity\",\n \"flood-opacity\": \"floodOpacity\",\n floodcolor: \"floodColor\",\n \"flood-color\": \"floodColor\",\n focusable: \"focusable\",\n fontfamily: \"fontFamily\",\n \"font-family\": \"fontFamily\",\n fontsize: \"fontSize\",\n \"font-size\": \"fontSize\",\n fontsizeadjust: \"fontSizeAdjust\",\n \"font-size-adjust\": \"fontSizeAdjust\",\n fontstretch: \"fontStretch\",\n \"font-stretch\": \"fontStretch\",\n fontstyle: \"fontStyle\",\n \"font-style\": \"fontStyle\",\n fontvariant: \"fontVariant\",\n \"font-variant\": \"fontVariant\",\n fontweight: \"fontWeight\",\n \"font-weight\": \"fontWeight\",\n format: \"format\",\n from: \"from\",\n fx: \"fx\",\n fy: \"fy\",\n g1: \"g1\",\n g2: \"g2\",\n glyphname: \"glyphName\",\n \"glyph-name\": \"glyphName\",\n glyphorientationhorizontal: \"glyphOrientationHorizontal\",\n \"glyph-orientation-horizontal\": \"glyphOrientationHorizontal\",\n glyphorientationvertical: \"glyphOrientationVertical\",\n \"glyph-orientation-vertical\": \"glyphOrientationVertical\",\n glyphref: \"glyphRef\",\n gradienttransform: \"gradientTransform\",\n gradientunits: \"gradientUnits\",\n hanging: \"hanging\",\n horizadvx: \"horizAdvX\",\n \"horiz-adv-x\": \"horizAdvX\",\n horizoriginx: \"horizOriginX\",\n \"horiz-origin-x\": \"horizOriginX\",\n ideographic: \"ideographic\",\n imagerendering: \"imageRendering\",\n \"image-rendering\": \"imageRendering\",\n in2: \"in2\",\n in: \"in\",\n inlist: \"inlist\",\n intercept: \"intercept\",\n k1: \"k1\",\n k2: \"k2\",\n k3: \"k3\",\n k4: \"k4\",\n k: \"k\",\n kernelmatrix: \"kernelMatrix\",\n kernelunitlength: \"kernelUnitLength\",\n kerning: \"kerning\",\n keypoints: \"keyPoints\",\n keysplines: \"keySplines\",\n keytimes: \"keyTimes\",\n lengthadjust: \"lengthAdjust\",\n letterspacing: \"letterSpacing\",\n \"letter-spacing\": \"letterSpacing\",\n lightingcolor: \"lightingColor\",\n \"lighting-color\": \"lightingColor\",\n limitingconeangle: \"limitingConeAngle\",\n local: \"local\",\n markerend: \"markerEnd\",\n \"marker-end\": \"markerEnd\",\n markerheight: \"markerHeight\",\n markermid: \"markerMid\",\n \"marker-mid\": \"markerMid\",\n markerstart: \"markerStart\",\n \"marker-start\": \"markerStart\",\n markerunits: \"markerUnits\",\n markerwidth: \"markerWidth\",\n mask: \"mask\",\n maskcontentunits: \"maskContentUnits\",\n maskunits: \"maskUnits\",\n mathematical: \"mathematical\",\n mode: \"mode\",\n numoctaves: \"numOctaves\",\n offset: \"offset\",\n opacity: \"opacity\",\n operator: \"operator\",\n order: \"order\",\n orient: \"orient\",\n orientation: \"orientation\",\n origin: \"origin\",\n overflow: \"overflow\",\n overlineposition: \"overlinePosition\",\n \"overline-position\": \"overlinePosition\",\n overlinethickness: \"overlineThickness\",\n \"overline-thickness\": \"overlineThickness\",\n paintorder: \"paintOrder\",\n \"paint-order\": \"paintOrder\",\n panose1: \"panose1\",\n \"panose-1\": \"panose1\",\n pathlength: \"pathLength\",\n patterncontentunits: \"patternContentUnits\",\n patterntransform: \"patternTransform\",\n patternunits: \"patternUnits\",\n pointerevents: \"pointerEvents\",\n \"pointer-events\": \"pointerEvents\",\n points: \"points\",\n pointsatx: \"pointsAtX\",\n pointsaty: \"pointsAtY\",\n pointsatz: \"pointsAtZ\",\n popover: \"popover\",\n popovertarget: \"popoverTarget\",\n popovertargetaction: \"popoverTargetAction\",\n prefix: \"prefix\",\n preservealpha: \"preserveAlpha\",\n preserveaspectratio: \"preserveAspectRatio\",\n primitiveunits: \"primitiveUnits\",\n property: \"property\",\n r: \"r\",\n radius: \"radius\",\n refx: \"refX\",\n refy: \"refY\",\n renderingintent: \"renderingIntent\",\n \"rendering-intent\": \"renderingIntent\",\n repeatcount: \"repeatCount\",\n repeatdur: \"repeatDur\",\n requiredextensions: \"requiredExtensions\",\n requiredfeatures: \"requiredFeatures\",\n resource: \"resource\",\n restart: \"restart\",\n result: \"result\",\n results: \"results\",\n rotate: \"rotate\",\n rx: \"rx\",\n ry: \"ry\",\n scale: \"scale\",\n security: \"security\",\n seed: \"seed\",\n shaperendering: \"shapeRendering\",\n \"shape-rendering\": \"shapeRendering\",\n slope: \"slope\",\n spacing: \"spacing\",\n specularconstant: \"specularConstant\",\n specularexponent: \"specularExponent\",\n speed: \"speed\",\n spreadmethod: \"spreadMethod\",\n startoffset: \"startOffset\",\n stddeviation: \"stdDeviation\",\n stemh: \"stemh\",\n stemv: \"stemv\",\n stitchtiles: \"stitchTiles\",\n stopcolor: \"stopColor\",\n \"stop-color\": \"stopColor\",\n stopopacity: \"stopOpacity\",\n \"stop-opacity\": \"stopOpacity\",\n strikethroughposition: \"strikethroughPosition\",\n \"strikethrough-position\": \"strikethroughPosition\",\n strikethroughthickness: \"strikethroughThickness\",\n \"strikethrough-thickness\": \"strikethroughThickness\",\n string: \"string\",\n stroke: \"stroke\",\n strokedasharray: \"strokeDasharray\",\n \"stroke-dasharray\": \"strokeDasharray\",\n strokedashoffset: \"strokeDashoffset\",\n \"stroke-dashoffset\": \"strokeDashoffset\",\n strokelinecap: \"strokeLinecap\",\n \"stroke-linecap\": \"strokeLinecap\",\n strokelinejoin: \"strokeLinejoin\",\n \"stroke-linejoin\": \"strokeLinejoin\",\n strokemiterlimit: \"strokeMiterlimit\",\n \"stroke-miterlimit\": \"strokeMiterlimit\",\n strokewidth: \"strokeWidth\",\n \"stroke-width\": \"strokeWidth\",\n strokeopacity: \"strokeOpacity\",\n \"stroke-opacity\": \"strokeOpacity\",\n suppresscontenteditablewarning: \"suppressContentEditableWarning\",\n suppresshydrationwarning: \"suppressHydrationWarning\",\n surfacescale: \"surfaceScale\",\n systemlanguage: \"systemLanguage\",\n tablevalues: \"tableValues\",\n targetx: \"targetX\",\n targety: \"targetY\",\n textanchor: \"textAnchor\",\n \"text-anchor\": \"textAnchor\",\n textdecoration: \"textDecoration\",\n \"text-decoration\": \"textDecoration\",\n textlength: \"textLength\",\n textrendering: \"textRendering\",\n \"text-rendering\": \"textRendering\",\n to: \"to\",\n transform: \"transform\",\n transformorigin: \"transformOrigin\",\n \"transform-origin\": \"transformOrigin\",\n typeof: \"typeof\",\n u1: \"u1\",\n u2: \"u2\",\n underlineposition: \"underlinePosition\",\n \"underline-position\": \"underlinePosition\",\n underlinethickness: \"underlineThickness\",\n \"underline-thickness\": \"underlineThickness\",\n unicode: \"unicode\",\n unicodebidi: \"unicodeBidi\",\n \"unicode-bidi\": \"unicodeBidi\",\n unicoderange: \"unicodeRange\",\n \"unicode-range\": \"unicodeRange\",\n unitsperem: \"unitsPerEm\",\n \"units-per-em\": \"unitsPerEm\",\n unselectable: \"unselectable\",\n valphabetic: \"vAlphabetic\",\n \"v-alphabetic\": \"vAlphabetic\",\n values: \"values\",\n vectoreffect: \"vectorEffect\",\n \"vector-effect\": \"vectorEffect\",\n version: \"version\",\n vertadvy: \"vertAdvY\",\n \"vert-adv-y\": \"vertAdvY\",\n vertoriginx: \"vertOriginX\",\n \"vert-origin-x\": \"vertOriginX\",\n vertoriginy: \"vertOriginY\",\n \"vert-origin-y\": \"vertOriginY\",\n vhanging: \"vHanging\",\n \"v-hanging\": \"vHanging\",\n videographic: \"vIdeographic\",\n \"v-ideographic\": \"vIdeographic\",\n viewbox: \"viewBox\",\n viewtarget: \"viewTarget\",\n visibility: \"visibility\",\n vmathematical: \"vMathematical\",\n \"v-mathematical\": \"vMathematical\",\n vocab: \"vocab\",\n widths: \"widths\",\n wordspacing: \"wordSpacing\",\n \"word-spacing\": \"wordSpacing\",\n writingmode: \"writingMode\",\n \"writing-mode\": \"writingMode\",\n x1: \"x1\",\n x2: \"x2\",\n x: \"x\",\n xchannelselector: \"xChannelSelector\",\n xheight: \"xHeight\",\n \"x-height\": \"xHeight\",\n xlinkactuate: \"xlinkActuate\",\n \"xlink:actuate\": \"xlinkActuate\",\n xlinkarcrole: \"xlinkArcrole\",\n \"xlink:arcrole\": \"xlinkArcrole\",\n xlinkhref: \"xlinkHref\",\n \"xlink:href\": \"xlinkHref\",\n xlinkrole: \"xlinkRole\",\n \"xlink:role\": \"xlinkRole\",\n xlinkshow: \"xlinkShow\",\n \"xlink:show\": \"xlinkShow\",\n xlinktitle: \"xlinkTitle\",\n \"xlink:title\": \"xlinkTitle\",\n xlinktype: \"xlinkType\",\n \"xlink:type\": \"xlinkType\",\n xmlbase: \"xmlBase\",\n \"xml:base\": \"xmlBase\",\n xmllang: \"xmlLang\",\n \"xml:lang\": \"xmlLang\",\n xmlns: \"xmlns\",\n \"xml:space\": \"xmlSpace\",\n xmlnsxlink: \"xmlnsXlink\",\n \"xmlns:xlink\": \"xmlnsXlink\",\n xmlspace: \"xmlSpace\",\n y1: \"y1\",\n y2: \"y2\",\n y: \"y\",\n ychannelselector: \"yChannelSelector\",\n z: \"z\",\n zoomandpan: \"zoomAndPan\"\n },\n ariaProperties = {\n \"aria-current\": 0,\n \"aria-description\": 0,\n \"aria-details\": 0,\n \"aria-disabled\": 0,\n \"aria-hidden\": 0,\n \"aria-invalid\": 0,\n \"aria-keyshortcuts\": 0,\n \"aria-label\": 0,\n \"aria-roledescription\": 0,\n \"aria-autocomplete\": 0,\n \"aria-checked\": 0,\n \"aria-expanded\": 0,\n \"aria-haspopup\": 0,\n \"aria-level\": 0,\n \"aria-modal\": 0,\n \"aria-multiline\": 0,\n \"aria-multiselectable\": 0,\n \"aria-orientation\": 0,\n \"aria-placeholder\": 0,\n \"aria-pressed\": 0,\n \"aria-readonly\": 0,\n \"aria-required\": 0,\n \"aria-selected\": 0,\n \"aria-sort\": 0,\n \"aria-valuemax\": 0,\n \"aria-valuemin\": 0,\n \"aria-valuenow\": 0,\n \"aria-valuetext\": 0,\n \"aria-atomic\": 0,\n \"aria-busy\": 0,\n \"aria-live\": 0,\n \"aria-relevant\": 0,\n \"aria-dropeffect\": 0,\n \"aria-grabbed\": 0,\n \"aria-activedescendant\": 0,\n \"aria-colcount\": 0,\n \"aria-colindex\": 0,\n \"aria-colspan\": 0,\n \"aria-controls\": 0,\n \"aria-describedby\": 0,\n \"aria-errormessage\": 0,\n \"aria-flowto\": 0,\n \"aria-labelledby\": 0,\n \"aria-owns\": 0,\n \"aria-posinset\": 0,\n \"aria-rowcount\": 0,\n \"aria-rowindex\": 0,\n \"aria-rowspan\": 0,\n \"aria-setsize\": 0,\n \"aria-braillelabel\": 0,\n \"aria-brailleroledescription\": 0,\n \"aria-colindextext\": 0,\n \"aria-rowindextext\": 0\n },\n warnedProperties$1 = {},\n rARIA$1 = RegExp(\n \"^(aria)-[:A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD\\\\-.0-9\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040]*$\"\n ),\n rARIACamel$1 = RegExp(\n \"^(aria)[A-Z][:A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD\\\\-.0-9\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040]*$\"\n ),\n didWarnValueNull = !1,\n warnedProperties = {},\n EVENT_NAME_REGEX = /^on./,\n INVALID_EVENT_NAME_REGEX = /^on[^A-Z]/,\n rARIA = RegExp(\n \"^(aria)-[:A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD\\\\-.0-9\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040]*$\"\n ),\n rARIACamel = RegExp(\n \"^(aria)[A-Z][:A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD\\\\-.0-9\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040]*$\"\n ),\n isJavaScriptProtocol =\n /^[\\u0000-\\u001F ]*j[\\r\\n\\t]*a[\\r\\n\\t]*v[\\r\\n\\t]*a[\\r\\n\\t]*s[\\r\\n\\t]*c[\\r\\n\\t]*r[\\r\\n\\t]*i[\\r\\n\\t]*p[\\r\\n\\t]*t[\\r\\n\\t]*:/i,\n currentReplayingEvent = null,\n restoreTarget = null,\n restoreQueue = null,\n isInsideEventHandler = !1,\n canUseDOM = !(\n \"undefined\" === typeof window ||\n \"undefined\" === typeof window.document ||\n \"undefined\" === typeof window.document.createElement\n ),\n passiveBrowserEventsSupported = !1;\n if (canUseDOM)\n try {\n var options$jscomp$0 = {};\n Object.defineProperty(options$jscomp$0, \"passive\", {\n get: function () {\n passiveBrowserEventsSupported = !0;\n }\n });\n window.addEventListener(\"test\", options$jscomp$0, options$jscomp$0);\n window.removeEventListener(\"test\", options$jscomp$0, options$jscomp$0);\n } catch (e) {\n passiveBrowserEventsSupported = !1;\n }\n var root = null,\n startText = null,\n fallbackText = null,\n EventInterface = {\n eventPhase: 0,\n bubbles: 0,\n cancelable: 0,\n timeStamp: function (event) {\n return event.timeStamp || Date.now();\n },\n defaultPrevented: 0,\n isTrusted: 0\n },\n SyntheticEvent = createSyntheticEvent(EventInterface),\n UIEventInterface = assign({}, EventInterface, { view: 0, detail: 0 }),\n SyntheticUIEvent = createSyntheticEvent(UIEventInterface),\n lastMovementX,\n lastMovementY,\n lastMouseEvent,\n MouseEventInterface = assign({}, UIEventInterface, {\n screenX: 0,\n screenY: 0,\n clientX: 0,\n clientY: 0,\n pageX: 0,\n pageY: 0,\n ctrlKey: 0,\n shiftKey: 0,\n altKey: 0,\n metaKey: 0,\n getModifierState: getEventModifierState,\n button: 0,\n buttons: 0,\n relatedTarget: function (event) {\n return void 0 === event.relatedTarget\n ? event.fromElement === event.srcElement\n ? event.toElement\n : event.fromElement\n : event.relatedTarget;\n },\n movementX: function (event) {\n if (\"movementX\" in event) return event.movementX;\n event !== lastMouseEvent &&\n (lastMouseEvent && \"mousemove\" === event.type\n ? ((lastMovementX = event.screenX - lastMouseEvent.screenX),\n (lastMovementY = event.screenY - lastMouseEvent.screenY))\n : (lastMovementY = lastMovementX = 0),\n (lastMouseEvent = event));\n return lastMovementX;\n },\n movementY: function (event) {\n return \"movementY\" in event ? event.movementY : lastMovementY;\n }\n }),\n SyntheticMouseEvent = createSyntheticEvent(MouseEventInterface),\n DragEventInterface = assign({}, MouseEventInterface, { dataTransfer: 0 }),\n SyntheticDragEvent = createSyntheticEvent(DragEventInterface),\n FocusEventInterface = assign({}, UIEventInterface, { relatedTarget: 0 }),\n SyntheticFocusEvent = createSyntheticEvent(FocusEventInterface),\n AnimationEventInterface = assign({}, EventInterface, {\n animationName: 0,\n elapsedTime: 0,\n pseudoElement: 0\n }),\n SyntheticAnimationEvent = createSyntheticEvent(AnimationEventInterface),\n ClipboardEventInterface = assign({}, EventInterface, {\n clipboardData: function (event) {\n return \"clipboardData\" in event\n ? event.clipboardData\n : window.clipboardData;\n }\n }),\n SyntheticClipboardEvent = createSyntheticEvent(ClipboardEventInterface),\n CompositionEventInterface = assign({}, EventInterface, { data: 0 }),\n SyntheticCompositionEvent = createSyntheticEvent(\n CompositionEventInterface\n ),\n SyntheticInputEvent = SyntheticCompositionEvent,\n normalizeKey = {\n Esc: \"Escape\",\n Spacebar: \" \",\n Left: \"ArrowLeft\",\n Up: \"ArrowUp\",\n Right: \"ArrowRight\",\n Down: \"ArrowDown\",\n Del: \"Delete\",\n Win: \"OS\",\n Menu: \"ContextMenu\",\n Apps: \"ContextMenu\",\n Scroll: \"ScrollLock\",\n MozPrintableKey: \"Unidentified\"\n },\n translateToKey = {\n 8: \"Backspace\",\n 9: \"Tab\",\n 12: \"Clear\",\n 13: \"Enter\",\n 16: \"Shift\",\n 17: \"Control\",\n 18: \"Alt\",\n 19: \"Pause\",\n 20: \"CapsLock\",\n 27: \"Escape\",\n 32: \" \",\n 33: \"PageUp\",\n 34: \"PageDown\",\n 35: \"End\",\n 36: \"Home\",\n 37: \"ArrowLeft\",\n 38: \"ArrowUp\",\n 39: \"ArrowRight\",\n 40: \"ArrowDown\",\n 45: \"Insert\",\n 46: \"Delete\",\n 112: \"F1\",\n 113: \"F2\",\n 114: \"F3\",\n 115: \"F4\",\n 116: \"F5\",\n 117: \"F6\",\n 118: \"F7\",\n 119: \"F8\",\n 120: \"F9\",\n 121: \"F10\",\n 122: \"F11\",\n 123: \"F12\",\n 144: \"NumLock\",\n 145: \"ScrollLock\",\n 224: \"Meta\"\n },\n modifierKeyToProp = {\n Alt: \"altKey\",\n Control: \"ctrlKey\",\n Meta: \"metaKey\",\n Shift: \"shiftKey\"\n },\n KeyboardEventInterface = assign({}, UIEventInterface, {\n key: function (nativeEvent) {\n if (nativeEvent.key) {\n var key = normalizeKey[nativeEvent.key] || nativeEvent.key;\n if (\"Unidentified\" !== key) return key;\n }\n return \"keypress\" === nativeEvent.type\n ? ((nativeEvent = getEventCharCode(nativeEvent)),\n 13 === nativeEvent ? \"Enter\" : String.fromCharCode(nativeEvent))\n : \"keydown\" === nativeEvent.type || \"keyup\" === nativeEvent.type\n ? translateToKey[nativeEvent.keyCode] || \"Unidentified\"\n : \"\";\n },\n code: 0,\n location: 0,\n ctrlKey: 0,\n shiftKey: 0,\n altKey: 0,\n metaKey: 0,\n repeat: 0,\n locale: 0,\n getModifierState: getEventModifierState,\n charCode: function (event) {\n return \"keypress\" === event.type ? getEventCharCode(event) : 0;\n },\n keyCode: function (event) {\n return \"keydown\" === event.type || \"keyup\" === event.type\n ? event.keyCode\n : 0;\n },\n which: function (event) {\n return \"keypress\" === event.type\n ? getEventCharCode(event)\n : \"keydown\" === event.type || \"keyup\" === event.type\n ? event.keyCode\n : 0;\n }\n }),\n SyntheticKeyboardEvent = createSyntheticEvent(KeyboardEventInterface),\n PointerEventInterface = assign({}, MouseEventInterface, {\n pointerId: 0,\n width: 0,\n height: 0,\n pressure: 0,\n tangentialPressure: 0,\n tiltX: 0,\n tiltY: 0,\n twist: 0,\n pointerType: 0,\n isPrimary: 0\n }),\n SyntheticPointerEvent = createSyntheticEvent(PointerEventInterface),\n TouchEventInterface = assign({}, UIEventInterface, {\n touches: 0,\n targetTouches: 0,\n changedTouches: 0,\n altKey: 0,\n metaKey: 0,\n ctrlKey: 0,\n shiftKey: 0,\n getModifierState: getEventModifierState\n }),\n SyntheticTouchEvent = createSyntheticEvent(TouchEventInterface),\n TransitionEventInterface = assign({}, EventInterface, {\n propertyName: 0,\n elapsedTime: 0,\n pseudoElement: 0\n }),\n SyntheticTransitionEvent = createSyntheticEvent(TransitionEventInterface),\n WheelEventInterface = assign({}, MouseEventInterface, {\n deltaX: function (event) {\n return \"deltaX\" in event\n ? event.deltaX\n : \"wheelDeltaX\" in event\n ? -event.wheelDeltaX\n : 0;\n },\n deltaY: function (event) {\n return \"deltaY\" in event\n ? event.deltaY\n : \"wheelDeltaY\" in event\n ? -event.wheelDeltaY\n : \"wheelDelta\" in event\n ? -event.wheelDelta\n : 0;\n },\n deltaZ: 0,\n deltaMode: 0\n }),\n SyntheticWheelEvent = createSyntheticEvent(WheelEventInterface),\n ToggleEventInterface = assign({}, EventInterface, {\n newState: 0,\n oldState: 0\n }),\n SyntheticToggleEvent = createSyntheticEvent(ToggleEventInterface),\n END_KEYCODES = [9, 13, 27, 32],\n START_KEYCODE = 229,\n canUseCompositionEvent = canUseDOM && \"CompositionEvent\" in window,\n documentMode = null;\n canUseDOM &&\n \"documentMode\" in document &&\n (documentMode = document.documentMode);\n var canUseTextInputEvent =\n canUseDOM && \"TextEvent\" in window && !documentMode,\n useFallbackCompositionData =\n canUseDOM &&\n (!canUseCompositionEvent ||\n (documentMode && 8 < documentMode && 11 >= documentMode)),\n SPACEBAR_CODE = 32,\n SPACEBAR_CHAR = String.fromCharCode(SPACEBAR_CODE),\n hasSpaceKeypress = !1,\n isComposing = !1,\n supportedInputTypes = {\n color: !0,\n date: !0,\n datetime: !0,\n \"datetime-local\": !0,\n email: !0,\n month: !0,\n number: !0,\n password: !0,\n range: !0,\n search: !0,\n tel: !0,\n text: !0,\n time: !0,\n url: !0,\n week: !0\n },\n activeElement$1 = null,\n activeElementInst$1 = null,\n isInputEventSupported = !1;\n canUseDOM &&\n (isInputEventSupported =\n isEventSupported(\"input\") &&\n (!document.documentMode || 9 < document.documentMode));\n var objectIs = \"function\" === typeof Object.is ? Object.is : is,\n skipSelectionChangeEvent =\n canUseDOM && \"documentMode\" in document && 11 >= document.documentMode,\n activeElement = null,\n activeElementInst = null,\n lastSelection = null,\n mouseDown = !1,\n vendorPrefixes = {\n animationend: makePrefixMap(\"Animation\", \"AnimationEnd\"),\n animationiteration: makePrefixMap(\"Animation\", \"AnimationIteration\"),\n animationstart: makePrefixMap(\"Animation\", \"AnimationStart\"),\n transitionrun: makePrefixMap(\"Transition\", \"TransitionRun\"),\n transitionstart: makePrefixMap(\"Transition\", \"TransitionStart\"),\n transitioncancel: makePrefixMap(\"Transition\", \"TransitionCancel\"),\n transitionend: makePrefixMap(\"Transition\", \"TransitionEnd\")\n },\n prefixedEventNames = {},\n style = {};\n canUseDOM &&\n ((style = document.createElement(\"div\").style),\n \"AnimationEvent\" in window ||\n (delete vendorPrefixes.animationend.animation,\n delete vendorPrefixes.animationiteration.animation,\n delete vendorPrefixes.animationstart.animation),\n \"TransitionEvent\" in window ||\n delete vendorPrefixes.transitionend.transition);\n var ANIMATION_END = getVendorPrefixedEventName(\"animationend\"),\n ANIMATION_ITERATION = getVendorPrefixedEventName(\"animationiteration\"),\n ANIMATION_START = getVendorPrefixedEventName(\"animationstart\"),\n TRANSITION_RUN = getVendorPrefixedEventName(\"transitionrun\"),\n TRANSITION_START = getVendorPrefixedEventName(\"transitionstart\"),\n TRANSITION_CANCEL = getVendorPrefixedEventName(\"transitioncancel\"),\n TRANSITION_END = getVendorPrefixedEventName(\"transitionend\"),\n topLevelEventsToReactNames = new Map(),\n simpleEventPluginEvents =\n \"abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel\".split(\n \" \"\n );\n simpleEventPluginEvents.push(\"scrollEnd\");\n var globalClientIdCounter$1 = 0,\n lastResetTime = 0;\n if (\n \"object\" === typeof performance &&\n \"function\" === typeof performance.now\n ) {\n var localPerformance = performance;\n var getCurrentTime = function () {\n return localPerformance.now();\n };\n } else {\n var localDate = Date;\n getCurrentTime = function () {\n return localDate.now();\n };\n }\n var reportGlobalError =\n \"function\" === typeof reportError\n ? reportError\n : function (error) {\n if (\n \"object\" === typeof window &&\n \"function\" === typeof window.ErrorEvent\n ) {\n var event = new window.ErrorEvent(\"error\", {\n bubbles: !0,\n cancelable: !0,\n message:\n \"object\" === typeof error &&\n null !== error &&\n \"string\" === typeof error.message\n ? String(error.message)\n : String(error),\n error: error\n });\n if (!window.dispatchEvent(event)) return;\n } else if (\n \"object\" === typeof process &&\n \"function\" === typeof process.emit\n ) {\n process.emit(\"uncaughtException\", error);\n return;\n }\n console.error(error);\n },\n OMITTED_PROP_ERROR =\n \"This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.\",\n EMPTY_ARRAY = 0,\n COMPLEX_ARRAY = 1,\n PRIMITIVE_ARRAY = 2,\n ENTRIES_ARRAY = 3,\n OBJECT_WIDTH_LIMIT = 100,\n REMOVED = \"\\u2013\\u00a0\",\n ADDED = \"+\\u00a0\",\n UNCHANGED = \"\\u2007\\u00a0\",\n supportsUserTiming =\n \"undefined\" !== typeof console &&\n \"function\" === typeof console.timeStamp &&\n \"undefined\" !== typeof performance &&\n \"function\" === typeof performance.measure,\n COMPONENTS_TRACK = \"Components \\u269b\",\n LANES_TRACK_GROUP = \"Scheduler \\u269b\",\n currentTrack = \"Blocking\",\n alreadyWarnedForDeepEquality = !1,\n reusableComponentDevToolDetails = {\n color: \"primary\",\n properties: null,\n tooltipText: \"\",\n track: COMPONENTS_TRACK\n },\n reusableComponentOptions = {\n start: -0,\n end: -0,\n detail: { devtools: reusableComponentDevToolDetails }\n },\n reusableChangedPropsEntry = [\"Changed Props\", \"\"],\n DEEP_EQUALITY_WARNING =\n \"This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.\",\n reusableDeeplyEqualPropsEntry = [\"Changed Props\", DEEP_EQUALITY_WARNING],\n OffscreenVisible = 1,\n OffscreenPassiveEffectsConnected = 2,\n concurrentQueues = [],\n concurrentQueuesIndex = 0,\n concurrentlyUpdatedLanes = 0,\n emptyContextObject = {};\n Object.freeze(emptyContextObject);\n var resolveFamily = null,\n failedBoundaries = null,\n NoMode = 0,\n ConcurrentMode = 1,\n ProfileMode = 2,\n StrictLegacyMode = 8,\n StrictEffectsMode = 16,\n SuspenseyImagesMode = 32;\n var hasBadMapPolyfill = !1;\n try {\n var nonExtensibleObject = Object.preventExtensions({});\n new Map([[nonExtensibleObject, null]]);\n new Set([nonExtensibleObject]);\n } catch (e$3) {\n hasBadMapPolyfill = !0;\n }\n var CapturedStacks = new WeakMap(),\n forkStack = [],\n forkStackIndex = 0,\n treeForkProvider = null,\n treeForkCount = 0,\n idStack = [],\n idStackIndex = 0,\n treeContextProvider = null,\n treeContextId = 1,\n treeContextOverflow = \"\",\n hydrationParentFiber = null,\n nextHydratableInstance = null,\n isHydrating = !1,\n didSuspendOrErrorDEV = !1,\n hydrationDiffRootDEV = null,\n hydrationErrors = null,\n rootOrSingletonContext = !1,\n HydrationMismatchException = Error(\n \"Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React.\"\n ),\n valueCursor = createCursor(null);\n var rendererCursorDEV = createCursor(null);\n var rendererSigil = {};\n var currentlyRenderingFiber$1 = null,\n lastContextDependency = null,\n isDisallowedContextReadInDEV = !1,\n AbortControllerLocal =\n \"undefined\" !== typeof AbortController\n ? AbortController\n : function () {\n var listeners = [],\n signal = (this.signal = {\n aborted: !1,\n addEventListener: function (type, listener) {\n listeners.push(listener);\n }\n });\n this.abort = function () {\n signal.aborted = !0;\n listeners.forEach(function (listener) {\n return listener();\n });\n };\n },\n scheduleCallback$2 = Scheduler.unstable_scheduleCallback,\n NormalPriority = Scheduler.unstable_NormalPriority,\n CacheContext = {\n $$typeof: REACT_CONTEXT_TYPE,\n Consumer: null,\n Provider: null,\n _currentValue: null,\n _currentValue2: null,\n _threadCount: 0,\n _currentRenderer: null,\n _currentRenderer2: null\n },\n entangledTransitionTypes = null,\n now = Scheduler.unstable_now,\n createTask = console.createTask\n ? console.createTask\n : function () {\n return null;\n },\n SPAWNED_UPDATE = 1,\n PINGED_UPDATE = 2,\n renderStartTime = -0,\n commitStartTime = -0,\n commitEndTime = -0,\n commitErrors = null,\n profilerStartTime = -1.1,\n profilerEffectDuration = -0,\n componentEffectDuration = -0,\n componentEffectStartTime = -1.1,\n componentEffectEndTime = -1.1,\n componentEffectErrors = null,\n componentEffectSpawnedUpdate = !1,\n blockingClampTime = -0,\n blockingUpdateTime = -1.1,\n blockingUpdateTask = null,\n blockingUpdateType = 0,\n blockingUpdateMethodName = null,\n blockingUpdateComponentName = null,\n blockingEventTime = -1.1,\n blockingEventType = null,\n blockingEventRepeatTime = -1.1,\n blockingSuspendedTime = -1.1,\n transitionClampTime = -0,\n transitionStartTime = -1.1,\n transitionUpdateTime = -1.1,\n transitionUpdateType = 0,\n transitionUpdateTask = null,\n transitionUpdateMethodName = null,\n transitionUpdateComponentName = null,\n transitionEventTime = -1.1,\n transitionEventType = null,\n transitionEventRepeatTime = -1.1,\n transitionSuspendedTime = -1.1,\n retryClampTime = -0,\n idleClampTime = -0,\n animatingLanes = 0,\n animatingTask = null,\n yieldReason = 0,\n yieldStartTime = -1.1,\n currentUpdateIsNested = !1,\n nestedUpdateScheduled = !1,\n currentEntangledListeners = null,\n currentEntangledPendingCount = 0,\n currentEntangledLane = 0,\n currentEntangledActionThenable = null,\n prevOnStartTransitionFinish = ReactSharedInternals.S;\n ReactSharedInternals.S = function (transition, returnValue) {\n globalMostRecentTransitionTime = now$1();\n if (\n \"object\" === typeof returnValue &&\n null !== returnValue &&\n \"function\" === typeof returnValue.then\n ) {\n if (0 > transitionStartTime && 0 > transitionUpdateTime) {\n transitionStartTime = now();\n var newEventTime = resolveEventTimeStamp(),\n newEventType = resolveEventType();\n if (\n newEventTime !== transitionEventRepeatTime ||\n newEventType !== transitionEventType\n )\n transitionEventRepeatTime = -1.1;\n transitionEventTime = newEventTime;\n transitionEventType = newEventType;\n }\n entangleAsyncAction(transition, returnValue);\n }\n if (null !== entangledTransitionTypes)\n for (newEventTime = firstScheduledRoot; null !== newEventTime; )\n queueTransitionTypes(newEventTime, entangledTransitionTypes),\n (newEventTime = newEventTime.next);\n newEventTime = transition.types;\n if (null !== newEventTime) {\n for (newEventType = firstScheduledRoot; null !== newEventType; )\n queueTransitionTypes(newEventType, newEventTime),\n (newEventType = newEventType.next);\n if (0 !== currentEntangledLane) {\n newEventType = entangledTransitionTypes;\n null === newEventType &&\n (newEventType = entangledTransitionTypes = []);\n for (var i = 0; i < newEventTime.length; i++) {\n var transitionType = newEventTime[i];\n -1 === newEventType.indexOf(transitionType) &&\n newEventType.push(transitionType);\n }\n }\n }\n null !== prevOnStartTransitionFinish &&\n prevOnStartTransitionFinish(transition, returnValue);\n };\n var resumedCache = createCursor(null),\n ReactStrictModeWarnings = {\n recordUnsafeLifecycleWarnings: function () {},\n flushPendingUnsafeLifecycleWarnings: function () {},\n recordLegacyContextWarning: function () {},\n flushLegacyContextWarning: function () {},\n discardPendingWarnings: function () {}\n },\n pendingComponentWillMountWarnings = [],\n pendingUNSAFE_ComponentWillMountWarnings = [],\n pendingComponentWillReceivePropsWarnings = [],\n pendingUNSAFE_ComponentWillReceivePropsWarnings = [],\n pendingComponentWillUpdateWarnings = [],\n pendingUNSAFE_ComponentWillUpdateWarnings = [],\n didWarnAboutUnsafeLifecycles = new Set();\n ReactStrictModeWarnings.recordUnsafeLifecycleWarnings = function (\n fiber,\n instance\n ) {\n didWarnAboutUnsafeLifecycles.has(fiber.type) ||\n (\"function\" === typeof instance.componentWillMount &&\n !0 !== instance.componentWillMount.__suppressDeprecationWarning &&\n pendingComponentWillMountWarnings.push(fiber),\n fiber.mode & StrictLegacyMode &&\n \"function\" === typeof instance.UNSAFE_componentWillMount &&\n pendingUNSAFE_ComponentWillMountWarnings.push(fiber),\n \"function\" === typeof instance.componentWillReceiveProps &&\n !0 !==\n instance.componentWillReceiveProps.__suppressDeprecationWarning &&\n pendingComponentWillReceivePropsWarnings.push(fiber),\n fiber.mode & StrictLegacyMode &&\n \"function\" === typeof instance.UNSAFE_componentWillReceiveProps &&\n pendingUNSAFE_ComponentWillReceivePropsWarnings.push(fiber),\n \"function\" === typeof instance.componentWillUpdate &&\n !0 !== instance.componentWillUpdate.__suppressDeprecationWarning &&\n pendingComponentWillUpdateWarnings.push(fiber),\n fiber.mode & StrictLegacyMode &&\n \"function\" === typeof instance.UNSAFE_componentWillUpdate &&\n pendingUNSAFE_ComponentWillUpdateWarnings.push(fiber));\n };\n ReactStrictModeWarnings.flushPendingUnsafeLifecycleWarnings = function () {\n var componentWillMountUniqueNames = new Set();\n 0 < pendingComponentWillMountWarnings.length &&\n (pendingComponentWillMountWarnings.forEach(function (fiber) {\n componentWillMountUniqueNames.add(\n getComponentNameFromFiber(fiber) || \"Component\"\n );\n didWarnAboutUnsafeLifecycles.add(fiber.type);\n }),\n (pendingComponentWillMountWarnings = []));\n var UNSAFE_componentWillMountUniqueNames = new Set();\n 0 < pendingUNSAFE_ComponentWillMountWarnings.length &&\n (pendingUNSAFE_ComponentWillMountWarnings.forEach(function (fiber) {\n UNSAFE_componentWillMountUniqueNames.add(\n getComponentNameFromFiber(fiber) || \"Component\"\n );\n didWarnAboutUnsafeLifecycles.add(fiber.type);\n }),\n (pendingUNSAFE_ComponentWillMountWarnings = []));\n var componentWillReceivePropsUniqueNames = new Set();\n 0 < pendingComponentWillReceivePropsWarnings.length &&\n (pendingComponentWillReceivePropsWarnings.forEach(function (fiber) {\n componentWillReceivePropsUniqueNames.add(\n getComponentNameFromFiber(fiber) || \"Component\"\n );\n didWarnAboutUnsafeLifecycles.add(fiber.type);\n }),\n (pendingComponentWillReceivePropsWarnings = []));\n var UNSAFE_componentWillReceivePropsUniqueNames = new Set();\n 0 < pendingUNSAFE_ComponentWillReceivePropsWarnings.length &&\n (pendingUNSAFE_ComponentWillReceivePropsWarnings.forEach(\n function (fiber) {\n UNSAFE_componentWillReceivePropsUniqueNames.add(\n getComponentNameFromFiber(fiber) || \"Component\"\n );\n didWarnAboutUnsafeLifecycles.add(fiber.type);\n }\n ),\n (pendingUNSAFE_ComponentWillReceivePropsWarnings = []));\n var componentWillUpdateUniqueNames = new Set();\n 0 < pendingComponentWillUpdateWarnings.length &&\n (pendingComponentWillUpdateWarnings.forEach(function (fiber) {\n componentWillUpdateUniqueNames.add(\n getComponentNameFromFiber(fiber) || \"Component\"\n );\n didWarnAboutUnsafeLifecycles.add(fiber.type);\n }),\n (pendingComponentWillUpdateWarnings = []));\n var UNSAFE_componentWillUpdateUniqueNames = new Set();\n 0 < pendingUNSAFE_ComponentWillUpdateWarnings.length &&\n (pendingUNSAFE_ComponentWillUpdateWarnings.forEach(function (fiber) {\n UNSAFE_componentWillUpdateUniqueNames.add(\n getComponentNameFromFiber(fiber) || \"Component\"\n );\n didWarnAboutUnsafeLifecycles.add(fiber.type);\n }),\n (pendingUNSAFE_ComponentWillUpdateWarnings = []));\n if (0 < UNSAFE_componentWillMountUniqueNames.size) {\n var sortedNames = setToSortedString(\n UNSAFE_componentWillMountUniqueNames\n );\n console.error(\n \"Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.\\n\\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\\n\\nPlease update the following components: %s\",\n sortedNames\n );\n }\n 0 < UNSAFE_componentWillReceivePropsUniqueNames.size &&\n ((sortedNames = setToSortedString(\n UNSAFE_componentWillReceivePropsUniqueNames\n )),\n console.error(\n \"Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.\\n\\n* Move data fetching code or side effects to componentDidUpdate.\\n* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state\\n\\nPlease update the following components: %s\",\n sortedNames\n ));\n 0 < UNSAFE_componentWillUpdateUniqueNames.size &&\n ((sortedNames = setToSortedString(\n UNSAFE_componentWillUpdateUniqueNames\n )),\n console.error(\n \"Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.\\n\\n* Move data fetching code or side effects to componentDidUpdate.\\n\\nPlease update the following components: %s\",\n sortedNames\n ));\n 0 < componentWillMountUniqueNames.size &&\n ((sortedNames = setToSortedString(componentWillMountUniqueNames)),\n console.warn(\n \"componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.\\n\\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\\n* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\\n\\nPlease update the following components: %s\",\n sortedNames\n ));\n 0 < componentWillReceivePropsUniqueNames.size &&\n ((sortedNames = setToSortedString(\n componentWillReceivePropsUniqueNames\n )),\n console.warn(\n \"componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.\\n\\n* Move data fetching code or side effects to componentDidUpdate.\\n* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state\\n* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\\n\\nPlease update the following components: %s\",\n sortedNames\n ));\n 0 < componentWillUpdateUniqueNames.size &&\n ((sortedNames = setToSortedString(componentWillUpdateUniqueNames)),\n console.warn(\n \"componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.\\n\\n* Move data fetching code or side effects to componentDidUpdate.\\n* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\\n\\nPlease update the following components: %s\",\n sortedNames\n ));\n };\n var pendingLegacyContextWarning = new Map(),\n didWarnAboutLegacyContext = new Set();\n ReactStrictModeWarnings.recordLegacyContextWarning = function (\n fiber,\n instance\n ) {\n var strictRoot = null;\n for (var node = fiber; null !== node; )\n node.mode & StrictLegacyMode && (strictRoot = node),\n (node = node.return);\n null === strictRoot\n ? console.error(\n \"Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.\"\n )\n : !didWarnAboutLegacyContext.has(fiber.type) &&\n ((node = pendingLegacyContextWarning.get(strictRoot)),\n null != fiber.type.contextTypes ||\n null != fiber.type.childContextTypes ||\n (null !== instance &&\n \"function\" === typeof instance.getChildContext)) &&\n (void 0 === node &&\n ((node = []), pendingLegacyContextWarning.set(strictRoot, node)),\n node.push(fiber));\n };\n ReactStrictModeWarnings.flushLegacyContextWarning = function () {\n pendingLegacyContextWarning.forEach(function (fiberArray) {\n if (0 !== fiberArray.length) {\n var firstFiber = fiberArray[0],\n uniqueNames = new Set();\n fiberArray.forEach(function (fiber) {\n uniqueNames.add(getComponentNameFromFiber(fiber) || \"Component\");\n didWarnAboutLegacyContext.add(fiber.type);\n });\n var sortedNames = setToSortedString(uniqueNames);\n runWithFiberInDEV(firstFiber, function () {\n console.error(\n \"Legacy context API has been detected within a strict-mode tree.\\n\\nThe old API will be supported in all 16.x releases, but applications using it should migrate to the new version.\\n\\nPlease update the following components: %s\\n\\nLearn more about this warning here: https://react.dev/link/legacy-context\",\n sortedNames\n );\n });\n }\n });\n };\n ReactStrictModeWarnings.discardPendingWarnings = function () {\n pendingComponentWillMountWarnings = [];\n pendingUNSAFE_ComponentWillMountWarnings = [];\n pendingComponentWillReceivePropsWarnings = [];\n pendingUNSAFE_ComponentWillReceivePropsWarnings = [];\n pendingComponentWillUpdateWarnings = [];\n pendingUNSAFE_ComponentWillUpdateWarnings = [];\n pendingLegacyContextWarning = new Map();\n };\n var callComponent = {\n react_stack_bottom_frame: function (Component, props, secondArg) {\n var wasRendering = isRendering;\n isRendering = !0;\n try {\n return Component(props, secondArg);\n } finally {\n isRendering = wasRendering;\n }\n }\n },\n callComponentInDEV =\n callComponent.react_stack_bottom_frame.bind(callComponent),\n callRender = {\n react_stack_bottom_frame: function (instance) {\n var wasRendering = isRendering;\n isRendering = !0;\n try {\n return instance.render();\n } finally {\n isRendering = wasRendering;\n }\n }\n },\n callRenderInDEV = callRender.react_stack_bottom_frame.bind(callRender),\n callComponentDidMount = {\n react_stack_bottom_frame: function (finishedWork, instance) {\n try {\n instance.componentDidMount();\n } catch (error) {\n captureCommitPhaseError(finishedWork, finishedWork.return, error);\n }\n }\n },\n callComponentDidMountInDEV =\n callComponentDidMount.react_stack_bottom_frame.bind(\n callComponentDidMount\n ),\n callComponentDidUpdate = {\n react_stack_bottom_frame: function (\n finishedWork,\n instance,\n prevProps,\n prevState,\n snapshot\n ) {\n try {\n instance.componentDidUpdate(prevProps, prevState, snapshot);\n } catch (error) {\n captureCommitPhaseError(finishedWork, finishedWork.return, error);\n }\n }\n },\n callComponentDidUpdateInDEV =\n callComponentDidUpdate.react_stack_bottom_frame.bind(\n callComponentDidUpdate\n ),\n callComponentDidCatch = {\n react_stack_bottom_frame: function (instance, errorInfo) {\n var stack = errorInfo.stack;\n instance.componentDidCatch(errorInfo.value, {\n componentStack: null !== stack ? stack : \"\"\n });\n }\n },\n callComponentDidCatchInDEV =\n callComponentDidCatch.react_stack_bottom_frame.bind(\n callComponentDidCatch\n ),\n callComponentWillUnmount = {\n react_stack_bottom_frame: function (\n current,\n nearestMountedAncestor,\n instance\n ) {\n try {\n instance.componentWillUnmount();\n } catch (error) {\n captureCommitPhaseError(current, nearestMountedAncestor, error);\n }\n }\n },\n callComponentWillUnmountInDEV =\n callComponentWillUnmount.react_stack_bottom_frame.bind(\n callComponentWillUnmount\n ),\n callCreate = {\n react_stack_bottom_frame: function (effect) {\n var create = effect.create;\n effect = effect.inst;\n create = create();\n return (effect.destroy = create);\n }\n },\n callCreateInDEV = callCreate.react_stack_bottom_frame.bind(callCreate),\n callDestroy = {\n react_stack_bottom_frame: function (\n current,\n nearestMountedAncestor,\n destroy\n ) {\n try {\n destroy();\n } catch (error) {\n captureCommitPhaseError(current, nearestMountedAncestor, error);\n }\n }\n },\n callDestroyInDEV = callDestroy.react_stack_bottom_frame.bind(callDestroy),\n callLazyInit = {\n react_stack_bottom_frame: function (lazy) {\n var init = lazy._init;\n return init(lazy._payload);\n }\n },\n callLazyInitInDEV =\n callLazyInit.react_stack_bottom_frame.bind(callLazyInit),\n SuspenseException = Error(\n \"Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\\n\\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`.\"\n ),\n SuspenseyCommitException = Error(\n \"Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React.\"\n ),\n SuspenseActionException = Error(\n \"Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\\n\\nTo handle async errors, wrap your component in an error boundary.\"\n ),\n noopSuspenseyCommitThenable = {\n then: function () {\n console.error(\n 'Internal React error: A listener was unexpectedly attached to a \"noop\" thenable. This is a bug in React. Please file an issue.'\n );\n }\n },\n suspendedThenable = null,\n needsToResetSuspendedThenableDEV = !1,\n thenableState$1 = null,\n thenableIndexCounter$1 = 0,\n currentDebugInfo = null,\n didWarnAboutMaps;\n var didWarnAboutGenerators = (didWarnAboutMaps = !1);\n var ownerHasKeyUseWarning = {};\n var ownerHasFunctionTypeWarning = {};\n var ownerHasSymbolTypeWarning = {};\n warnForMissingKey = function (returnFiber, workInProgress, child) {\n if (\n null !== child &&\n \"object\" === typeof child &&\n child._store &&\n ((!child._store.validated && null == child.key) ||\n 2 === child._store.validated)\n ) {\n if (\"object\" !== typeof child._store)\n throw Error(\n \"React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.\"\n );\n child._store.validated = 1;\n var componentName = getComponentNameFromFiber(returnFiber),\n componentKey = componentName || \"null\";\n if (!ownerHasKeyUseWarning[componentKey]) {\n ownerHasKeyUseWarning[componentKey] = !0;\n child = child._owner;\n returnFiber = returnFiber._debugOwner;\n var currentComponentErrorInfo = \"\";\n returnFiber &&\n \"number\" === typeof returnFiber.tag &&\n (componentKey = getComponentNameFromFiber(returnFiber)) &&\n (currentComponentErrorInfo =\n \"\\n\\nCheck the render method of `\" + componentKey + \"`.\");\n currentComponentErrorInfo ||\n (componentName &&\n (currentComponentErrorInfo =\n \"\\n\\nCheck the top-level render call using <\" +\n componentName +\n \">.\"));\n var childOwnerAppendix = \"\";\n null != child &&\n returnFiber !== child &&\n ((componentName = null),\n \"number\" === typeof child.tag\n ? (componentName = getComponentNameFromFiber(child))\n : \"string\" === typeof child.name && (componentName = child.name),\n componentName &&\n (childOwnerAppendix =\n \" It was passed a child from \" + componentName + \".\"));\n runWithFiberInDEV(workInProgress, function () {\n console.error(\n 'Each child in a list should have a unique \"key\" prop.%s%s See https://react.dev/link/warning-keys for more information.',\n currentComponentErrorInfo,\n childOwnerAppendix\n );\n });\n }\n }\n };\n var reconcileChildFibers = createChildReconciler(!0),\n mountChildFibers = createChildReconciler(!1),\n UpdateState = 0,\n ReplaceState = 1,\n ForceUpdate = 2,\n CaptureUpdate = 3,\n hasForceUpdate = !1;\n var didWarnUpdateInsideUpdate = !1;\n var currentlyProcessingQueue = null;\n var didReadFromEntangledAsyncAction = !1,\n currentTreeHiddenStackCursor = createCursor(null),\n prevEntangledRenderLanesCursor = createCursor(0),\n suspenseHandlerStackCursor = createCursor(null),\n shellBoundary = null,\n SubtreeSuspenseContextMask = 1,\n ForceSuspenseFallback = 2,\n suspenseStackCursor = createCursor(0),\n NoFlags = 0,\n HasEffect = 1,\n Insertion = 2,\n Layout = 4,\n Passive = 8,\n didWarnUncachedGetSnapshot;\n var didWarnAboutMismatchedHooksForComponent = new Set();\n var didWarnAboutUseWrappedInTryCatch = new Set();\n var didWarnAboutAsyncClientComponent = new Set();\n var didWarnAboutUseFormState = new Set();\n var renderLanes = 0,\n currentlyRenderingFiber = null,\n currentHook = null,\n workInProgressHook = null,\n didScheduleRenderPhaseUpdate = !1,\n didScheduleRenderPhaseUpdateDuringThisPass = !1,\n shouldDoubleInvokeUserFnsInHooksDEV = !1,\n localIdCounter = 0,\n thenableIndexCounter = 0,\n thenableState = null,\n globalClientIdCounter = 0,\n RE_RENDER_LIMIT = 25,\n currentHookNameInDev = null,\n hookTypesDev = null,\n hookTypesUpdateIndexDev = -1,\n ignorePreviousDependencies = !1,\n ContextOnlyDispatcher = {\n readContext: readContext,\n use: use,\n useCallback: throwInvalidHookError,\n useContext: throwInvalidHookError,\n useEffect: throwInvalidHookError,\n useImperativeHandle: throwInvalidHookError,\n useLayoutEffect: throwInvalidHookError,\n useInsertionEffect: throwInvalidHookError,\n useMemo: throwInvalidHookError,\n useReducer: throwInvalidHookError,\n useRef: throwInvalidHookError,\n useState: throwInvalidHookError,\n useDebugValue: throwInvalidHookError,\n useDeferredValue: throwInvalidHookError,\n useTransition: throwInvalidHookError,\n useSyncExternalStore: throwInvalidHookError,\n useId: throwInvalidHookError,\n useHostTransitionStatus: throwInvalidHookError,\n useFormState: throwInvalidHookError,\n useActionState: throwInvalidHookError,\n useOptimistic: throwInvalidHookError,\n useMemoCache: throwInvalidHookError,\n useCacheRefresh: throwInvalidHookError\n };\n ContextOnlyDispatcher.useEffectEvent = throwInvalidHookError;\n var HooksDispatcherOnMountInDEV = null,\n HooksDispatcherOnMountWithHookTypesInDEV = null,\n HooksDispatcherOnUpdateInDEV = null,\n HooksDispatcherOnRerenderInDEV = null,\n InvalidNestedHooksDispatcherOnMountInDEV = null,\n InvalidNestedHooksDispatcherOnUpdateInDEV = null,\n InvalidNestedHooksDispatcherOnRerenderInDEV = null;\n HooksDispatcherOnMountInDEV = {\n readContext: function (context) {\n return readContext(context);\n },\n use: use,\n useCallback: function (callback, deps) {\n currentHookNameInDev = \"useCallback\";\n mountHookTypesDev();\n checkDepsAreArrayDev(deps);\n return mountCallback(callback, deps);\n },\n useContext: function (context) {\n currentHookNameInDev = \"useContext\";\n mountHookTypesDev();\n return readContext(context);\n },\n useEffect: function (create, deps) {\n currentHookNameInDev = \"useEffect\";\n mountHookTypesDev();\n checkDepsAreArrayDev(deps);\n return mountEffect(create, deps);\n },\n useImperativeHandle: function (ref, create, deps) {\n currentHookNameInDev = \"useImperativeHandle\";\n mountHookTypesDev();\n checkDepsAreArrayDev(deps);\n return mountImperativeHandle(ref, create, deps);\n },\n useInsertionEffect: function (create, deps) {\n currentHookNameInDev = \"useInsertionEffect\";\n mountHookTypesDev();\n checkDepsAreArrayDev(deps);\n mountEffectImpl(4, Insertion, create, deps);\n },\n useLayoutEffect: function (create, deps) {\n currentHookNameInDev = \"useLayoutEffect\";\n mountHookTypesDev();\n checkDepsAreArrayDev(deps);\n return mountLayoutEffect(create, deps);\n },\n useMemo: function (create, deps) {\n currentHookNameInDev = \"useMemo\";\n mountHookTypesDev();\n checkDepsAreArrayDev(deps);\n var prevDispatcher = ReactSharedInternals.H;\n ReactSharedInternals.H = InvalidNestedHooksDispatcherOnMountInDEV;\n try {\n return mountMemo(create, deps);\n } finally {\n ReactSharedInternals.H = prevDispatcher;\n }\n },\n useReducer: function (reducer, initialArg, init) {\n currentHookNameInDev = \"useReducer\";\n mountHookTypesDev();\n var prevDispatcher = ReactSharedInternals.H;\n ReactSharedInternals.H = InvalidNestedHooksDispatcherOnMountInDEV;\n try {\n return mountReducer(reducer, initialArg, init);\n } finally {\n ReactSharedInternals.H = prevDispatcher;\n }\n },\n useRef: function (initialValue) {\n currentHookNameInDev = \"useRef\";\n mountHookTypesDev();\n return mountRef(initialValue);\n },\n useState: function (initialState) {\n currentHookNameInDev = \"useState\";\n mountHookTypesDev();\n var prevDispatcher = ReactSharedInternals.H;\n ReactSharedInternals.H = InvalidNestedHooksDispatcherOnMountInDEV;\n try {\n return mountState(initialState);\n } finally {\n ReactSharedInternals.H = prevDispatcher;\n }\n },\n useDebugValue: function () {\n currentHookNameInDev = \"useDebugValue\";\n mountHookTypesDev();\n },\n useDeferredValue: function (value, initialValue) {\n currentHookNameInDev = \"useDeferredValue\";\n mountHookTypesDev();\n return mountDeferredValue(value, initialValue);\n },\n useTransition: function () {\n currentHookNameInDev = \"useTransition\";\n mountHookTypesDev();\n return mountTransition();\n },\n useSyncExternalStore: function (\n subscribe,\n getSnapshot,\n getServerSnapshot\n ) {\n currentHookNameInDev = \"useSyncExternalStore\";\n mountHookTypesDev();\n return mountSyncExternalStore(\n subscribe,\n getSnapshot,\n getServerSnapshot\n );\n },\n useId: function () {\n currentHookNameInDev = \"useId\";\n mountHookTypesDev();\n return mountId();\n },\n useFormState: function (action, initialState) {\n currentHookNameInDev = \"useFormState\";\n mountHookTypesDev();\n warnOnUseFormStateInDev();\n return mountActionState(action, initialState);\n },\n useActionState: function (action, initialState) {\n currentHookNameInDev = \"useActionState\";\n mountHookTypesDev();\n return mountActionState(action, initialState);\n },\n useOptimistic: function (passthrough) {\n currentHookNameInDev = \"useOptimistic\";\n mountHookTypesDev();\n return mountOptimistic(passthrough);\n },\n useHostTransitionStatus: useHostTransitionStatus,\n useMemoCache: useMemoCache,\n useCacheRefresh: function () {\n currentHookNameInDev = \"useCacheRefresh\";\n mountHookTypesDev();\n return mountRefresh();\n },\n useEffectEvent: function (callback) {\n currentHookNameInDev = \"useEffectEvent\";\n mountHookTypesDev();\n return mountEvent(callback);\n }\n };\n HooksDispatcherOnMountWithHookTypesInDEV = {\n readContext: function (context) {\n return readContext(context);\n },\n use: use,\n useCallback: function (callback, deps) {\n currentHookNameInDev = \"useCallback\";\n updateHookTypesDev();\n return mountCallback(callback, deps);\n },\n useContext: function (context) {\n currentHookNameInDev = \"useContext\";\n updateHookTypesDev();\n return readContext(context);\n },\n useEffect: function (create, deps) {\n currentHookNameInDev = \"useEffect\";\n updateHookTypesDev();\n return mountEffect(create, deps);\n },\n useImperativeHandle: function (ref, create, deps) {\n currentHookNameInDev = \"useImperativeHandle\";\n updateHookTypesDev();\n return mountImperativeHandle(ref, create, deps);\n },\n useInsertionEffect: function (create, deps) {\n currentHookNameInDev = \"useInsertionEffect\";\n updateHookTypesDev();\n mountEffectImpl(4, Insertion, create, deps);\n },\n useLayoutEffect: function (create, deps) {\n currentHookNameInDev = \"useLayoutEffect\";\n updateHookTypesDev();\n return mountLayoutEffect(create, deps);\n },\n useMemo: function (create, deps) {\n currentHookNameInDev = \"useMemo\";\n updateHookTypesDev();\n var prevDispatcher = ReactSharedInternals.H;\n ReactSharedInternals.H = InvalidNestedHooksDispatcherOnMountInDEV;\n try {\n return mountMemo(create, deps);\n } finally {\n ReactSharedInternals.H = prevDispatcher;\n }\n },\n useReducer: function (reducer, initialArg, init) {\n currentHookNameInDev = \"useReducer\";\n updateHookTypesDev();\n var prevDispatcher = ReactSharedInternals.H;\n ReactSharedInternals.H = InvalidNestedHooksDispatcherOnMountInDEV;\n try {\n return mountReducer(reducer, initialArg, init);\n } finally {\n ReactSharedInternals.H = prevDispatcher;\n }\n },\n useRef: function (initialValue) {\n currentHookNameInDev = \"useRef\";\n updateHookTypesDev();\n return mountRef(initialValue);\n },\n useState: function (initialState) {\n currentHookNameInDev = \"useState\";\n updateHookTypesDev();\n var prevDispatcher = ReactSharedInternals.H;\n ReactSharedInternals.H = InvalidNestedHooksDispatcherOnMountInDEV;\n try {\n return mountState(initialState);\n } finally {\n ReactSharedInternals.H = prevDispatcher;\n }\n },\n useDebugValue: function () {\n currentHookNameInDev = \"useDebugValue\";\n updateHookTypesDev();\n },\n useDeferredValue: function (value, initialValue) {\n currentHookNameInDev = \"useDeferredValue\";\n updateHookTypesDev();\n return mountDeferredValue(value, initialValue);\n },\n useTransition: function () {\n currentHookNameInDev = \"useTransition\";\n updateHookTypesDev();\n return mountTransition();\n },\n useSyncExternalStore: function (\n subscribe,\n getSnapshot,\n getServerSnapshot\n ) {\n currentHookNameInDev = \"useSyncExternalStore\";\n updateHookTypesDev();\n return mountSyncExternalStore(\n subscribe,\n getSnapshot,\n getServerSnapshot\n );\n },\n useId: function () {\n currentHookNameInDev = \"useId\";\n updateHookTypesDev();\n return mountId();\n },\n useActionState: function (action, initialState) {\n currentHookNameInDev = \"useActionState\";\n updateHookTypesDev();\n return mountActionState(action, initialState);\n },\n useFormState: function (action, initialState) {\n currentHookNameInDev = \"useFormState\";\n updateHookTypesDev();\n warnOnUseFormStateInDev();\n return mountActionState(action, initialState);\n },\n useOptimistic: function (passthrough) {\n currentHookNameInDev = \"useOptimistic\";\n updateHookTypesDev();\n return mountOptimistic(passthrough);\n },\n useHostTransitionStatus: useHostTransitionStatus,\n useMemoCache: useMemoCache,\n useCacheRefresh: function () {\n currentHookNameInDev = \"useCacheRefresh\";\n updateHookTypesDev();\n return mountRefresh();\n },\n useEffectEvent: function (callback) {\n currentHookNameInDev = \"useEffectEvent\";\n updateHookTypesDev();\n return mountEvent(callback);\n }\n };\n HooksDispatcherOnUpdateInDEV = {\n readContext: function (context) {\n return readContext(context);\n },\n use: use,\n useCallback: function (callback, deps) {\n currentHookNameInDev = \"useCallback\";\n updateHookTypesDev();\n return updateCallback(callback, deps);\n },\n useContext: function (context) {\n currentHookNameInDev = \"useContext\";\n updateHookTypesDev();\n return readContext(context);\n },\n useEffect: function (create, deps) {\n currentHookNameInDev = \"useEffect\";\n updateHookTypesDev();\n updateEffectImpl(2048, Passive, create, deps);\n },\n useImperativeHandle: function (ref, create, deps) {\n currentHookNameInDev = \"useImperativeHandle\";\n updateHookTypesDev();\n return updateImperativeHandle(ref, create, deps);\n },\n useInsertionEffect: function (create, deps) {\n currentHookNameInDev = \"useInsertionEffect\";\n updateHookTypesDev();\n return updateEffectImpl(4, Insertion, create, deps);\n },\n useLayoutEffect: function (create, deps) {\n currentHookNameInDev = \"useLayoutEffect\";\n updateHookTypesDev();\n return updateEffectImpl(4, Layout, create, deps);\n },\n useMemo: function (create, deps) {\n currentHookNameInDev = \"useMemo\";\n updateHookTypesDev();\n var prevDispatcher = ReactSharedInternals.H;\n ReactSharedInternals.H = InvalidNestedHooksDispatcherOnUpdateInDEV;\n try {\n return updateMemo(create, deps);\n } finally {\n ReactSharedInternals.H = prevDispatcher;\n }\n },\n useReducer: function (reducer, initialArg, init) {\n currentHookNameInDev = \"useReducer\";\n updateHookTypesDev();\n var prevDispatcher = ReactSharedInternals.H;\n ReactSharedInternals.H = InvalidNestedHooksDispatcherOnUpdateInDEV;\n try {\n return updateReducer(reducer, initialArg, init);\n } finally {\n ReactSharedInternals.H = prevDispatcher;\n }\n },\n useRef: function () {\n currentHookNameInDev = \"useRef\";\n updateHookTypesDev();\n return updateWorkInProgressHook().memoizedState;\n },\n useState: function () {\n currentHookNameInDev = \"useState\";\n updateHookTypesDev();\n var prevDispatcher = ReactSharedInternals.H;\n ReactSharedInternals.H = InvalidNestedHooksDispatcherOnUpdateInDEV;\n try {\n return updateReducer(basicStateReducer);\n } finally {\n ReactSharedInternals.H = prevDispatcher;\n }\n },\n useDebugValue: function () {\n currentHookNameInDev = \"useDebugValue\";\n updateHookTypesDev();\n },\n useDeferredValue: function (value, initialValue) {\n currentHookNameInDev = \"useDeferredValue\";\n updateHookTypesDev();\n return updateDeferredValue(value, initialValue);\n },\n useTransition: function () {\n currentHookNameInDev = \"useTransition\";\n updateHookTypesDev();\n return updateTransition();\n },\n useSyncExternalStore: function (\n subscribe,\n getSnapshot,\n getServerSnapshot\n ) {\n currentHookNameInDev = \"useSyncExternalStore\";\n updateHookTypesDev();\n return updateSyncExternalStore(\n subscribe,\n getSnapshot,\n getServerSnapshot\n );\n },\n useId: function () {\n currentHookNameInDev = \"useId\";\n updateHookTypesDev();\n return updateWorkInProgressHook().memoizedState;\n },\n useFormState: function (action) {\n currentHookNameInDev = \"useFormState\";\n updateHookTypesDev();\n warnOnUseFormStateInDev();\n return updateActionState(action);\n },\n useActionState: function (action) {\n currentHookNameInDev = \"useActionState\";\n updateHookTypesDev();\n return updateActionState(action);\n },\n useOptimistic: function (passthrough, reducer) {\n currentHookNameInDev = \"useOptimistic\";\n updateHookTypesDev();\n return updateOptimistic(passthrough, reducer);\n },\n useHostTransitionStatus: useHostTransitionStatus,\n useMemoCache: useMemoCache,\n useCacheRefresh: function () {\n currentHookNameInDev = \"useCacheRefresh\";\n updateHookTypesDev();\n return updateWorkInProgressHook().memoizedState;\n },\n useEffectEvent: function (callback) {\n currentHookNameInDev = \"useEffectEvent\";\n updateHookTypesDev();\n return updateEvent(callback);\n }\n };\n HooksDispatcherOnRerenderInDEV = {\n readContext: function (context) {\n return readContext(context);\n },\n use: use,\n useCallback: function (callback, deps) {\n currentHookNameInDev = \"useCallback\";\n updateHookTypesDev();\n return updateCallback(callback, deps);\n },\n useContext: function (context) {\n currentHookNameInDev = \"useContext\";\n updateHookTypesDev();\n return readContext(context);\n },\n useEffect: function (create, deps) {\n currentHookNameInDev = \"useEffect\";\n updateHookTypesDev();\n updateEffectImpl(2048, Passive, create, deps);\n },\n useImperativeHandle: function (ref, create, deps) {\n currentHookNameInDev = \"useImperativeHandle\";\n updateHookTypesDev();\n return updateImperativeHandle(ref, create, deps);\n },\n useInsertionEffect: function (create, deps) {\n currentHookNameInDev = \"useInsertionEffect\";\n updateHookTypesDev();\n return updateEffectImpl(4, Insertion, create, deps);\n },\n useLayoutEffect: function (create, deps) {\n currentHookNameInDev = \"useLayoutEffect\";\n updateHookTypesDev();\n return updateEffectImpl(4, Layout, create, deps);\n },\n useMemo: function (create, deps) {\n currentHookNameInDev = \"useMemo\";\n updateHookTypesDev();\n var prevDispatcher = ReactSharedInternals.H;\n ReactSharedInternals.H = InvalidNestedHooksDispatcherOnRerenderInDEV;\n try {\n return updateMemo(create, deps);\n } finally {\n ReactSharedInternals.H = prevDispatcher;\n }\n },\n useReducer: function (reducer, initialArg, init) {\n currentHookNameInDev = \"useReducer\";\n updateHookTypesDev();\n var prevDispatcher = ReactSharedInternals.H;\n ReactSharedInternals.H = InvalidNestedHooksDispatcherOnRerenderInDEV;\n try {\n return rerenderReducer(reducer, initialArg, init);\n } finally {\n ReactSharedInternals.H = prevDispatcher;\n }\n },\n useRef: function () {\n currentHookNameInDev = \"useRef\";\n updateHookTypesDev();\n return updateWorkInProgressHook().memoizedState;\n },\n useState: function () {\n currentHookNameInDev = \"useState\";\n updateHookTypesDev();\n var prevDispatcher = ReactSharedInternals.H;\n ReactSharedInternals.H = InvalidNestedHooksDispatcherOnRerenderInDEV;\n try {\n return rerenderReducer(basicStateReducer);\n } finally {\n ReactSharedInternals.H = prevDispatcher;\n }\n },\n useDebugValue: function () {\n currentHookNameInDev = \"useDebugValue\";\n updateHookTypesDev();\n },\n useDeferredValue: function (value, initialValue) {\n currentHookNameInDev = \"useDeferredValue\";\n updateHookTypesDev();\n return rerenderDeferredValue(value, initialValue);\n },\n useTransition: function () {\n currentHookNameInDev = \"useTransition\";\n updateHookTypesDev();\n return rerenderTransition();\n },\n useSyncExternalStore: function (\n subscribe,\n getSnapshot,\n getServerSnapshot\n ) {\n currentHookNameInDev = \"useSyncExternalStore\";\n updateHookTypesDev();\n return updateSyncExternalStore(\n subscribe,\n getSnapshot,\n getServerSnapshot\n );\n },\n useId: function () {\n currentHookNameInDev = \"useId\";\n updateHookTypesDev();\n return updateWorkInProgressHook().memoizedState;\n },\n useFormState: function (action) {\n currentHookNameInDev = \"useFormState\";\n updateHookTypesDev();\n warnOnUseFormStateInDev();\n return rerenderActionState(action);\n },\n useActionState: function (action) {\n currentHookNameInDev = \"useActionState\";\n updateHookTypesDev();\n return rerenderActionState(action);\n },\n useOptimistic: function (passthrough, reducer) {\n currentHookNameInDev = \"useOptimistic\";\n updateHookTypesDev();\n return rerenderOptimistic(passthrough, reducer);\n },\n useHostTransitionStatus: useHostTransitionStatus,\n useMemoCache: useMemoCache,\n useCacheRefresh: function () {\n currentHookNameInDev = \"useCacheRefresh\";\n updateHookTypesDev();\n return updateWorkInProgressHook().memoizedState;\n },\n useEffectEvent: function (callback) {\n currentHookNameInDev = \"useEffectEvent\";\n updateHookTypesDev();\n return updateEvent(callback);\n }\n };\n InvalidNestedHooksDispatcherOnMountInDEV = {\n readContext: function (context) {\n warnInvalidContextAccess();\n return readContext(context);\n },\n use: function (usable) {\n warnInvalidHookAccess();\n return use(usable);\n },\n useCallback: function (callback, deps) {\n currentHookNameInDev = \"useCallback\";\n warnInvalidHookAccess();\n mountHookTypesDev();\n return mountCallback(callback, deps);\n },\n useContext: function (context) {\n currentHookNameInDev = \"useContext\";\n warnInvalidHookAccess();\n mountHookTypesDev();\n return readContext(context);\n },\n useEffect: function (create, deps) {\n currentHookNameInDev = \"useEffect\";\n warnInvalidHookAccess();\n mountHookTypesDev();\n return mountEffect(create, deps);\n },\n useImperativeHandle: function (ref, create, deps) {\n currentHookNameInDev = \"useImperativeHandle\";\n warnInvalidHookAccess();\n mountHookTypesDev();\n return mountImperativeHandle(ref, create, deps);\n },\n useInsertionEffect: function (create, deps) {\n currentHookNameInDev = \"useInsertionEffect\";\n warnInvalidHookAccess();\n mountHookTypesDev();\n mountEffectImpl(4, Insertion, create, deps);\n },\n useLayoutEffect: function (create, deps) {\n currentHookNameInDev = \"useLayoutEffect\";\n warnInvalidHookAccess();\n mountHookTypesDev();\n return mountLayoutEffect(create, deps);\n },\n useMemo: function (create, deps) {\n currentHookNameInDev = \"useMemo\";\n warnInvalidHookAccess();\n mountHookTypesDev();\n var prevDispatcher = ReactSharedInternals.H;\n ReactSharedInternals.H = InvalidNestedHooksDispatcherOnMountInDEV;\n try {\n return mountMemo(create, deps);\n } finally {\n ReactSharedInternals.H = prevDispatcher;\n }\n },\n useReducer: function (reducer, initialArg, init) {\n currentHookNameInDev = \"useReducer\";\n warnInvalidHookAccess();\n mountHookTypesDev();\n var prevDispatcher = ReactSharedInternals.H;\n ReactSharedInternals.H = InvalidNestedHooksDispatcherOnMountInDEV;\n try {\n return mountReducer(reducer, initialArg, init);\n } finally {\n ReactSharedInternals.H = prevDispatcher;\n }\n },\n useRef: function (initialValue) {\n currentHookNameInDev = \"useRef\";\n warnInvalidHookAccess();\n mountHookTypesDev();\n return mountRef(initialValue);\n },\n useState: function (initialState) {\n currentHookNameInDev = \"useState\";\n warnInvalidHookAccess();\n mountHookTypesDev();\n var prevDispatcher = ReactSharedInternals.H;\n ReactSharedInternals.H = InvalidNestedHooksDispatcherOnMountInDEV;\n try {\n return mountState(initialState);\n } finally {\n ReactSharedInternals.H = prevDispatcher;\n }\n },\n useDebugValue: function () {\n currentHookNameInDev = \"useDebugValue\";\n warnInvalidHookAccess();\n mountHookTypesDev();\n },\n useDeferredValue: function (value, initialValue) {\n currentHookNameInDev = \"useDeferredValue\";\n warnInvalidHookAccess();\n mountHookTypesDev();\n return mountDeferredValue(value, initialValue);\n },\n useTransition: function () {\n currentHookNameInDev = \"useTransition\";\n warnInvalidHookAccess();\n mountHookTypesDev();\n return mountTransition();\n },\n useSyncExternalStore: function (\n subscribe,\n getSnapshot,\n getServerSnapshot\n ) {\n currentHookNameInDev = \"useSyncExternalStore\";\n warnInvalidHookAccess();\n mountHookTypesDev();\n return mountSyncExternalStore(\n subscribe,\n getSnapshot,\n getServerSnapshot\n );\n },\n useId: function () {\n currentHookNameInDev = \"useId\";\n warnInvalidHookAccess();\n mountHookTypesDev();\n return mountId();\n },\n useFormState: function (action, initialState) {\n currentHookNameInDev = \"useFormState\";\n warnInvalidHookAccess();\n mountHookTypesDev();\n return mountActionState(action, initialState);\n },\n useActionState: function (action, initialState) {\n currentHookNameInDev = \"useActionState\";\n warnInvalidHookAccess();\n mountHookTypesDev();\n return mountActionState(action, initialState);\n },\n useOptimistic: function (passthrough) {\n currentHookNameInDev = \"useOptimistic\";\n warnInvalidHookAccess();\n mountHookTypesDev();\n return mountOptimistic(passthrough);\n },\n useMemoCache: function (size) {\n warnInvalidHookAccess();\n return useMemoCache(size);\n },\n useHostTransitionStatus: useHostTransitionStatus,\n useCacheRefresh: function () {\n currentHookNameInDev = \"useCacheRefresh\";\n mountHookTypesDev();\n return mountRefresh();\n },\n useEffectEvent: function (callback) {\n currentHookNameInDev = \"useEffectEvent\";\n warnInvalidHookAccess();\n mountHookTypesDev();\n return mountEvent(callback);\n }\n };\n InvalidNestedHooksDispatcherOnUpdateInDEV = {\n readContext: function (context) {\n warnInvalidContextAccess();\n return readContext(context);\n },\n use: function (usable) {\n warnInvalidHookAccess();\n return use(usable);\n },\n useCallback: function (callback, deps) {\n currentHookNameInDev = \"useCallback\";\n warnInvalidHookAccess();\n updateHookTypesDev();\n return updateCallback(callback, deps);\n },\n useContext: function (context) {\n currentHookNameInDev = \"useContext\";\n warnInvalidHookAccess();\n updateHookTypesDev();\n return readContext(context);\n },\n useEffect: function (create, deps) {\n currentHookNameInDev = \"useEffect\";\n warnInvalidHookAccess();\n updateHookTypesDev();\n updateEffectImpl(2048, Passive, create, deps);\n },\n useImperativeHandle: function (ref, create, deps) {\n currentHookNameInDev = \"useImperativeHandle\";\n warnInvalidHookAccess();\n updateHookTypesDev();\n return updateImperativeHandle(ref, create, deps);\n },\n useInsertionEffect: function (create, deps) {\n currentHookNameInDev = \"useInsertionEffect\";\n warnInvalidHookAccess();\n updateHookTypesDev();\n return updateEffectImpl(4, Insertion, create, deps);\n },\n useLayoutEffect: function (create, deps) {\n currentHookNameInDev = \"useLayoutEffect\";\n warnInvalidHookAccess();\n updateHookTypesDev();\n return updateEffectImpl(4, Layout, create, deps);\n },\n useMemo: function (create, deps) {\n currentHookNameInDev = \"useMemo\";\n warnInvalidHookAccess();\n updateHookTypesDev();\n var prevDispatcher = ReactSharedInternals.H;\n ReactSharedInternals.H = InvalidNestedHooksDispatcherOnUpdateInDEV;\n try {\n return updateMemo(create, deps);\n } finally {\n ReactSharedInternals.H = prevDispatcher;\n }\n },\n useReducer: function (reducer, initialArg, init) {\n currentHookNameInDev = \"useReducer\";\n warnInvalidHookAccess();\n updateHookTypesDev();\n var prevDispatcher = ReactSharedInternals.H;\n ReactSharedInternals.H = InvalidNestedHooksDispatcherOnUpdateInDEV;\n try {\n return updateReducer(reducer, initialArg, init);\n } finally {\n ReactSharedInternals.H = prevDispatcher;\n }\n },\n useRef: function () {\n currentHookNameInDev = \"useRef\";\n warnInvalidHookAccess();\n updateHookTypesDev();\n return updateWorkInProgressHook().memoizedState;\n },\n useState: function () {\n currentHookNameInDev = \"useState\";\n warnInvalidHookAccess();\n updateHookTypesDev();\n var prevDispatcher = ReactSharedInternals.H;\n ReactSharedInternals.H = InvalidNestedHooksDispatcherOnUpdateInDEV;\n try {\n return updateReducer(basicStateReducer);\n } finally {\n ReactSharedInternals.H = prevDispatcher;\n }\n },\n useDebugValue: function () {\n currentHookNameInDev = \"useDebugValue\";\n warnInvalidHookAccess();\n updateHookTypesDev();\n },\n useDeferredValue: function (value, initialValue) {\n currentHookNameInDev = \"useDeferredValue\";\n warnInvalidHookAccess();\n updateHookTypesDev();\n return updateDeferredValue(value, initialValue);\n },\n useTransition: function () {\n currentHookNameInDev = \"useTransition\";\n warnInvalidHookAccess();\n updateHookTypesDev();\n return updateTransition();\n },\n useSyncExternalStore: function (\n subscribe,\n getSnapshot,\n getServerSnapshot\n ) {\n currentHookNameInDev = \"useSyncExternalStore\";\n warnInvalidHookAccess();\n updateHookTypesDev();\n return updateSyncExternalStore(\n subscribe,\n getSnapshot,\n getServerSnapshot\n );\n },\n useId: function () {\n currentHookNameInDev = \"useId\";\n warnInvalidHookAccess();\n updateHookTypesDev();\n return updateWorkInProgressHook().memoizedState;\n },\n useFormState: function (action) {\n currentHookNameInDev = \"useFormState\";\n warnInvalidHookAccess();\n updateHookTypesDev();\n return updateActionState(action);\n },\n useActionState: function (action) {\n currentHookNameInDev = \"useActionState\";\n warnInvalidHookAccess();\n updateHookTypesDev();\n return updateActionState(action);\n },\n useOptimistic: function (passthrough, reducer) {\n currentHookNameInDev = \"useOptimistic\";\n warnInvalidHookAccess();\n updateHookTypesDev();\n return updateOptimistic(passthrough, reducer);\n },\n useMemoCache: function (size) {\n warnInvalidHookAccess();\n return useMemoCache(size);\n },\n useHostTransitionStatus: useHostTransitionStatus,\n useCacheRefresh: function () {\n currentHookNameInDev = \"useCacheRefresh\";\n updateHookTypesDev();\n return updateWorkInProgressHook().memoizedState;\n },\n useEffectEvent: function (callback) {\n currentHookNameInDev = \"useEffectEvent\";\n warnInvalidHookAccess();\n updateHookTypesDev();\n return updateEvent(callback);\n }\n };\n InvalidNestedHooksDispatcherOnRerenderInDEV = {\n readContext: function (context) {\n warnInvalidContextAccess();\n return readContext(context);\n },\n use: function (usable) {\n warnInvalidHookAccess();\n return use(usable);\n },\n useCallback: function (callback, deps) {\n currentHookNameInDev = \"useCallback\";\n warnInvalidHookAccess();\n updateHookTypesDev();\n return updateCallback(callback, deps);\n },\n useContext: function (context) {\n currentHookNameInDev = \"useContext\";\n warnInvalidHookAccess();\n updateHookTypesDev();\n return readContext(context);\n },\n useEffect: function (create, deps) {\n currentHookNameInDev = \"useEffect\";\n warnInvalidHookAccess();\n updateHookTypesDev();\n updateEffectImpl(2048, Passive, create, deps);\n },\n useImperativeHandle: function (ref, create, deps) {\n currentHookNameInDev = \"useImperativeHandle\";\n warnInvalidHookAccess();\n updateHookTypesDev();\n return updateImperativeHandle(ref, create, deps);\n },\n useInsertionEffect: function (create, deps) {\n currentHookNameInDev = \"useInsertionEffect\";\n warnInvalidHookAccess();\n updateHookTypesDev();\n return updateEffectImpl(4, Insertion, create, deps);\n },\n useLayoutEffect: function (create, deps) {\n currentHookNameInDev = \"useLayoutEffect\";\n warnInvalidHookAccess();\n updateHookTypesDev();\n return updateEffectImpl(4, Layout, create, deps);\n },\n useMemo: function (create, deps) {\n currentHookNameInDev = \"useMemo\";\n warnInvalidHookAccess();\n updateHookTypesDev();\n var prevDispatcher = ReactSharedInternals.H;\n ReactSharedInternals.H = InvalidNestedHooksDispatcherOnUpdateInDEV;\n try {\n return updateMemo(create, deps);\n } finally {\n ReactSharedInternals.H = prevDispatcher;\n }\n },\n useReducer: function (reducer, initialArg, init) {\n currentHookNameInDev = \"useReducer\";\n warnInvalidHookAccess();\n updateHookTypesDev();\n var prevDispatcher = ReactSharedInternals.H;\n ReactSharedInternals.H = InvalidNestedHooksDispatcherOnUpdateInDEV;\n try {\n return rerenderReducer(reducer, initialArg, init);\n } finally {\n ReactSharedInternals.H = prevDispatcher;\n }\n },\n useRef: function () {\n currentHookNameInDev = \"useRef\";\n warnInvalidHookAccess();\n updateHookTypesDev();\n return updateWorkInProgressHook().memoizedState;\n },\n useState: function () {\n currentHookNameInDev = \"useState\";\n warnInvalidHookAccess();\n updateHookTypesDev();\n var prevDispatcher = ReactSharedInternals.H;\n ReactSharedInternals.H = InvalidNestedHooksDispatcherOnUpdateInDEV;\n try {\n return rerenderReducer(basicStateReducer);\n } finally {\n ReactSharedInternals.H = prevDispatcher;\n }\n },\n useDebugValue: function () {\n currentHookNameInDev = \"useDebugValue\";\n warnInvalidHookAccess();\n updateHookTypesDev();\n },\n useDeferredValue: function (value, initialValue) {\n currentHookNameInDev = \"useDeferredValue\";\n warnInvalidHookAccess();\n updateHookTypesDev();\n return rerenderDeferredValue(value, initialValue);\n },\n useTransition: function () {\n currentHookNameInDev = \"useTransition\";\n warnInvalidHookAccess();\n updateHookTypesDev();\n return rerenderTransition();\n },\n useSyncExternalStore: function (\n subscribe,\n getSnapshot,\n getServerSnapshot\n ) {\n currentHookNameInDev = \"useSyncExternalStore\";\n warnInvalidHookAccess();\n updateHookTypesDev();\n return updateSyncExternalStore(\n subscribe,\n getSnapshot,\n getServerSnapshot\n );\n },\n useId: function () {\n currentHookNameInDev = \"useId\";\n warnInvalidHookAccess();\n updateHookTypesDev();\n return updateWorkInProgressHook().memoizedState;\n },\n useFormState: function (action) {\n currentHookNameInDev = \"useFormState\";\n warnInvalidHookAccess();\n updateHookTypesDev();\n return rerenderActionState(action);\n },\n useActionState: function (action) {\n currentHookNameInDev = \"useActionState\";\n warnInvalidHookAccess();\n updateHookTypesDev();\n return rerenderActionState(action);\n },\n useOptimistic: function (passthrough, reducer) {\n currentHookNameInDev = \"useOptimistic\";\n warnInvalidHookAccess();\n updateHookTypesDev();\n return rerenderOptimistic(passthrough, reducer);\n },\n useMemoCache: function (size) {\n warnInvalidHookAccess();\n return useMemoCache(size);\n },\n useHostTransitionStatus: useHostTransitionStatus,\n useCacheRefresh: function () {\n currentHookNameInDev = \"useCacheRefresh\";\n updateHookTypesDev();\n return updateWorkInProgressHook().memoizedState;\n },\n useEffectEvent: function (callback) {\n currentHookNameInDev = \"useEffectEvent\";\n warnInvalidHookAccess();\n updateHookTypesDev();\n return updateEvent(callback);\n }\n };\n var fakeInternalInstance = {};\n var didWarnAboutStateAssignmentForComponent = new Set();\n var didWarnAboutUninitializedState = new Set();\n var didWarnAboutGetSnapshotBeforeUpdateWithoutDidUpdate = new Set();\n var didWarnAboutLegacyLifecyclesAndDerivedState = new Set();\n var didWarnAboutDirectlyAssigningPropsToState = new Set();\n var didWarnAboutUndefinedDerivedState = new Set();\n var didWarnAboutContextTypes$1 = new Set();\n var didWarnAboutChildContextTypes = new Set();\n var didWarnAboutInvalidateContextType = new Set();\n var didWarnOnInvalidCallback = new Set();\n Object.freeze(fakeInternalInstance);\n var classComponentUpdater = {\n enqueueSetState: function (inst, payload, callback) {\n inst = inst._reactInternals;\n var lane = requestUpdateLane(inst),\n update = createUpdate(lane);\n update.payload = payload;\n void 0 !== callback &&\n null !== callback &&\n (warnOnInvalidCallback(callback), (update.callback = callback));\n payload = enqueueUpdate(inst, update, lane);\n null !== payload &&\n (startUpdateTimerByLane(lane, \"this.setState()\", inst),\n scheduleUpdateOnFiber(payload, inst, lane),\n entangleTransitions(payload, inst, lane));\n },\n enqueueReplaceState: function (inst, payload, callback) {\n inst = inst._reactInternals;\n var lane = requestUpdateLane(inst),\n update = createUpdate(lane);\n update.tag = ReplaceState;\n update.payload = payload;\n void 0 !== callback &&\n null !== callback &&\n (warnOnInvalidCallback(callback), (update.callback = callback));\n payload = enqueueUpdate(inst, update, lane);\n null !== payload &&\n (startUpdateTimerByLane(lane, \"this.replaceState()\", inst),\n scheduleUpdateOnFiber(payload, inst, lane),\n entangleTransitions(payload, inst, lane));\n },\n enqueueForceUpdate: function (inst, callback) {\n inst = inst._reactInternals;\n var lane = requestUpdateLane(inst),\n update = createUpdate(lane);\n update.tag = ForceUpdate;\n void 0 !== callback &&\n null !== callback &&\n (warnOnInvalidCallback(callback), (update.callback = callback));\n callback = enqueueUpdate(inst, update, lane);\n null !== callback &&\n (startUpdateTimerByLane(lane, \"this.forceUpdate()\", inst),\n scheduleUpdateOnFiber(callback, inst, lane),\n entangleTransitions(callback, inst, lane));\n }\n },\n componentName = null,\n errorBoundaryName = null,\n SelectiveHydrationException = Error(\n \"This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue.\"\n ),\n didReceiveUpdate = !1;\n var didWarnAboutBadClass = {};\n var didWarnAboutContextTypeOnFunctionComponent = {};\n var didWarnAboutContextTypes = {};\n var didWarnAboutGetDerivedStateOnFunctionComponent = {};\n var didWarnAboutReassigningProps = !1;\n var didWarnAboutRevealOrder = {};\n var didWarnAboutTailOptions = {};\n var didWarnAboutClassNameOnViewTransition = {};\n var SUSPENDED_MARKER = {\n dehydrated: null,\n treeContext: null,\n retryLane: 0,\n hydrationErrors: null\n },\n hasWarnedAboutUsingNoValuePropOnContextProvider = !1,\n didWarnAboutUndefinedSnapshotBeforeUpdate = null;\n didWarnAboutUndefinedSnapshotBeforeUpdate = new Set();\n var shouldStartViewTransition = !1,\n appearingViewTransitions = null,\n viewTransitionCancelableChildren = null,\n viewTransitionHostInstanceIdx = 0,\n mountedNamedViewTransitions = new Map(),\n didWarnAboutName = {},\n offscreenSubtreeIsHidden = !1,\n offscreenSubtreeWasHidden = !1,\n offscreenDirectParentIsHidden = !1,\n needsFormReset = !1,\n PossiblyWeakSet = \"function\" === typeof WeakSet ? WeakSet : Set,\n nextEffect = null,\n inProgressLanes = null,\n inProgressRoot = null,\n viewTransitionContextChanged = !1,\n inUpdateViewTransition = !1,\n rootViewTransitionAffected = !1,\n rootViewTransitionNameCanceled = !1,\n hostParent = null,\n hostParentIsContainer = !1,\n currentHoistableRoot = null,\n inHydratedSubtree = !1,\n suspenseyCommitFlag = 8192,\n DefaultAsyncDispatcher = {\n getCacheForType: function (resourceType) {\n var cache = readContext(CacheContext),\n cacheForType = cache.data.get(resourceType);\n void 0 === cacheForType &&\n ((cacheForType = resourceType()),\n cache.data.set(resourceType, cacheForType));\n return cacheForType;\n },\n cacheSignal: function () {\n return readContext(CacheContext).controller.signal;\n },\n getOwner: function () {\n return current;\n }\n };\n if (\"function\" === typeof Symbol && Symbol.for) {\n var symbolFor = Symbol.for;\n symbolFor(\"selector.component\");\n symbolFor(\"selector.has_pseudo_class\");\n symbolFor(\"selector.role\");\n symbolFor(\"selector.test_id\");\n symbolFor(\"selector.text\");\n }\n var commitHooks = [],\n PossiblyWeakMap = \"function\" === typeof WeakMap ? WeakMap : Map,\n NoContext = 0,\n RenderContext = 2,\n CommitContext = 4,\n RootInProgress = 0,\n RootFatalErrored = 1,\n RootErrored = 2,\n RootSuspended = 3,\n RootSuspendedWithDelay = 4,\n RootSuspendedAtTheShell = 6,\n RootCompleted = 5,\n executionContext = NoContext,\n workInProgressRoot = null,\n workInProgress = null,\n workInProgressRootRenderLanes = 0,\n NotSuspended = 0,\n SuspendedOnError = 1,\n SuspendedOnData = 2,\n SuspendedOnImmediate = 3,\n SuspendedOnInstance = 4,\n SuspendedOnInstanceAndReadyToContinue = 5,\n SuspendedOnDeprecatedThrowPromise = 6,\n SuspendedAndReadyToContinue = 7,\n SuspendedOnHydration = 8,\n SuspendedOnAction = 9,\n workInProgressSuspendedReason = NotSuspended,\n workInProgressThrownValue = null,\n workInProgressRootDidSkipSuspendedSiblings = !1,\n workInProgressRootIsPrerendering = !1,\n workInProgressRootDidAttachPingListener = !1,\n entangledRenderLanes = 0,\n workInProgressRootExitStatus = RootInProgress,\n workInProgressRootSkippedLanes = 0,\n workInProgressRootInterleavedUpdatedLanes = 0,\n workInProgressRootPingedLanes = 0,\n workInProgressDeferredLane = 0,\n workInProgressSuspendedRetryLanes = 0,\n workInProgressRootConcurrentErrors = null,\n workInProgressRootRecoverableErrors = null,\n workInProgressRootDidIncludeRecursiveRenderUpdate = !1,\n globalMostRecentFallbackTime = 0,\n globalMostRecentTransitionTime = 0,\n FALLBACK_THROTTLE_MS = 300,\n workInProgressRootRenderTargetTime = Infinity,\n RENDER_TIMEOUT_MS = 500,\n workInProgressTransitions = null,\n workInProgressUpdateTask = null,\n legacyErrorBoundariesThatAlreadyFailed = null,\n IMMEDIATE_COMMIT = 0,\n ABORTED_VIEW_TRANSITION_COMMIT = 1,\n DELAYED_PASSIVE_COMMIT = 2,\n ANIMATION_STARTED_COMMIT = 3,\n NO_PENDING_EFFECTS = 0,\n PENDING_MUTATION_PHASE = 1,\n PENDING_LAYOUT_PHASE = 2,\n PENDING_AFTER_MUTATION_PHASE = 3,\n PENDING_SPAWNED_WORK = 4,\n PENDING_PASSIVE_PHASE = 5,\n pendingEffectsStatus = 0,\n pendingEffectsRoot = null,\n pendingFinishedWork = null,\n pendingEffectsLanes = 0,\n pendingEffectsRemainingLanes = 0,\n pendingEffectsRenderEndTime = -0,\n pendingPassiveTransitions = null,\n pendingRecoverableErrors = null,\n pendingViewTransition = null,\n pendingViewTransitionEvents = null,\n pendingTransitionTypes = null,\n pendingSuspendedCommitReason = null,\n pendingDelayedCommitReason = IMMEDIATE_COMMIT,\n pendingSuspendedViewTransitionReason = null,\n NESTED_UPDATE_LIMIT = 50,\n nestedUpdateCount = 0,\n rootWithNestedUpdates = null,\n isFlushingPassiveEffects = !1,\n didScheduleUpdateDuringPassiveEffects = !1,\n NESTED_PASSIVE_UPDATE_LIMIT = 50,\n nestedPassiveUpdateCount = 0,\n rootWithPassiveNestedUpdates = null,\n isRunningInsertionEffect = !1,\n didWarnAboutInterruptedViewTransitions = !1,\n didWarnStateUpdateForNotYetMountedComponent = null,\n didWarnAboutUpdateInRender = !1;\n var didWarnAboutUpdateInRenderForAnotherComponent = new Set();\n var fakeActCallbackNode$1 = {},\n firstScheduledRoot = null,\n lastScheduledRoot = null,\n didScheduleMicrotask = !1,\n didScheduleMicrotask_act = !1,\n mightHavePendingSyncWork = !1,\n isFlushingWork = !1,\n currentEventTransitionLane = 0,\n fakeActCallbackNode = {};\n (function () {\n for (var i = 0; i < simpleEventPluginEvents.length; i++) {\n var eventName = simpleEventPluginEvents[i],\n domEventName = eventName.toLowerCase();\n eventName = eventName[0].toUpperCase() + eventName.slice(1);\n registerSimpleEvent(domEventName, \"on\" + eventName);\n }\n registerSimpleEvent(ANIMATION_END, \"onAnimationEnd\");\n registerSimpleEvent(ANIMATION_ITERATION, \"onAnimationIteration\");\n registerSimpleEvent(ANIMATION_START, \"onAnimationStart\");\n registerSimpleEvent(\"dblclick\", \"onDoubleClick\");\n registerSimpleEvent(\"focusin\", \"onFocus\");\n registerSimpleEvent(\"focusout\", \"onBlur\");\n registerSimpleEvent(TRANSITION_RUN, \"onTransitionRun\");\n registerSimpleEvent(TRANSITION_START, \"onTransitionStart\");\n registerSimpleEvent(TRANSITION_CANCEL, \"onTransitionCancel\");\n registerSimpleEvent(TRANSITION_END, \"onTransitionEnd\");\n })();\n registerDirectEvent(\"onMouseEnter\", [\"mouseout\", \"mouseover\"]);\n registerDirectEvent(\"onMouseLeave\", [\"mouseout\", \"mouseover\"]);\n registerDirectEvent(\"onPointerEnter\", [\"pointerout\", \"pointerover\"]);\n registerDirectEvent(\"onPointerLeave\", [\"pointerout\", \"pointerover\"]);\n registerTwoPhaseEvent(\n \"onChange\",\n \"change click focusin focusout input keydown keyup selectionchange\".split(\n \" \"\n )\n );\n registerTwoPhaseEvent(\n \"onSelect\",\n \"focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange\".split(\n \" \"\n )\n );\n registerTwoPhaseEvent(\"onBeforeInput\", [\n \"compositionend\",\n \"keypress\",\n \"textInput\",\n \"paste\"\n ]);\n registerTwoPhaseEvent(\n \"onCompositionEnd\",\n \"compositionend focusout keydown keypress keyup mousedown\".split(\" \")\n );\n registerTwoPhaseEvent(\n \"onCompositionStart\",\n \"compositionstart focusout keydown keypress keyup mousedown\".split(\" \")\n );\n registerTwoPhaseEvent(\n \"onCompositionUpdate\",\n \"compositionupdate focusout keydown keypress keyup mousedown\".split(\" \")\n );\n var mediaEventTypes =\n \"abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting\".split(\n \" \"\n ),\n nonDelegatedEvents = new Set(\n \"beforetoggle cancel close invalid load scroll scrollend toggle\"\n .split(\" \")\n .concat(mediaEventTypes)\n ),\n listeningMarker = \"_reactListening\" + Math.random().toString(36).slice(2),\n didWarnControlledToUncontrolled = !1,\n didWarnUncontrolledToControlled = !1,\n didWarnFormActionType = !1,\n didWarnFormActionName = !1,\n didWarnFormActionTarget = !1,\n didWarnFormActionMethod = !1,\n didWarnPopoverTargetObject = !1;\n var didWarnForNewBooleanPropsWithEmptyValue = {};\n var NORMALIZE_NEWLINES_REGEX = /\\r\\n?/g,\n NORMALIZE_NULL_AND_REPLACEMENT_REGEX = /\\u0000|\\uFFFD/g,\n xlinkNamespace = \"http://www.w3.org/1999/xlink\",\n xmlNamespace = \"http://www.w3.org/XML/1998/namespace\",\n EXPECTED_FORM_ACTION_URL =\n \"javascript:throw new Error('React form unexpectedly submitted.')\",\n SUPPRESS_HYDRATION_WARNING = \"suppressHydrationWarning\",\n ACTIVITY_START_DATA = \"&\",\n ACTIVITY_END_DATA = \"/&\",\n SUSPENSE_START_DATA = \"$\",\n SUSPENSE_END_DATA = \"/$\",\n SUSPENSE_PENDING_START_DATA = \"$?\",\n SUSPENSE_QUEUED_START_DATA = \"$~\",\n SUSPENSE_FALLBACK_START_DATA = \"$!\",\n PREAMBLE_CONTRIBUTION_HTML = \"html\",\n PREAMBLE_CONTRIBUTION_BODY = \"body\",\n PREAMBLE_CONTRIBUTION_HEAD = \"head\",\n FORM_STATE_IS_MATCHING = \"F!\",\n FORM_STATE_IS_NOT_MATCHING = \"F\",\n DOCUMENT_READY_STATE_LOADING = \"loading\",\n STYLE = \"style\",\n HostContextNamespaceNone = 0,\n HostContextNamespaceSvg = 1,\n HostContextNamespaceMath = 2,\n eventsEnabled = null,\n selectionInformation = null,\n warnedUnknownTags = { dialog: !0, webview: !0 },\n currentPopstateTransitionEvent = null,\n schedulerEvent = void 0,\n scheduleTimeout = \"function\" === typeof setTimeout ? setTimeout : void 0,\n cancelTimeout =\n \"function\" === typeof clearTimeout ? clearTimeout : void 0,\n noTimeout = -1,\n localPromise = \"function\" === typeof Promise ? Promise : void 0,\n scheduleMicrotask =\n \"function\" === typeof queueMicrotask\n ? queueMicrotask\n : \"undefined\" !== typeof localPromise\n ? function (callback) {\n return localPromise\n .resolve(null)\n .then(callback)\n .catch(handleErrorInNextTick);\n }\n : scheduleTimeout,\n SUSPENSEY_FONT_AND_IMAGE_TIMEOUT = 500;\n ViewTransitionPseudoElement.prototype.animate = function (\n keyframes,\n options\n ) {\n options =\n \"number\" === typeof options\n ? { duration: options }\n : assign({}, options);\n options.pseudoElement = this._selector;\n return this._scope.animate(keyframes, options);\n };\n ViewTransitionPseudoElement.prototype.getAnimations = function () {\n for (\n var scope = this._scope,\n selector = this._selector,\n animations = scope.getAnimations({ subtree: !0 }),\n result = [],\n i = 0;\n i < animations.length;\n i++\n ) {\n var effect = animations[i].effect;\n null !== effect &&\n effect.target === scope &&\n effect.pseudoElement === selector &&\n result.push(animations[i]);\n }\n return result;\n };\n ViewTransitionPseudoElement.prototype.getComputedStyle = function () {\n return getComputedStyle(this._scope, this._selector);\n };\n FragmentInstance.prototype.addEventListener = function (\n type,\n listener,\n optionsOrUseCapture\n ) {\n null === this._eventListeners && (this._eventListeners = []);\n var listeners = this._eventListeners;\n -1 ===\n indexOfEventListener(listeners, type, listener, optionsOrUseCapture) &&\n (listeners.push({\n type: type,\n listener: listener,\n optionsOrUseCapture: optionsOrUseCapture\n }),\n traverseVisibleHostChildren(\n this._fragmentFiber.child,\n !1,\n addEventListenerToChild,\n type,\n listener,\n optionsOrUseCapture\n ));\n this._eventListeners = listeners;\n };\n FragmentInstance.prototype.removeEventListener = function (\n type,\n listener,\n optionsOrUseCapture\n ) {\n var listeners = this._eventListeners;\n null !== listeners &&\n \"undefined\" !== typeof listeners &&\n 0 < listeners.length &&\n (traverseVisibleHostChildren(\n this._fragmentFiber.child,\n !1,\n removeEventListenerFromChild,\n type,\n listener,\n optionsOrUseCapture\n ),\n (type = indexOfEventListener(\n listeners,\n type,\n listener,\n optionsOrUseCapture\n )),\n null !== this._eventListeners && this._eventListeners.splice(type, 1));\n };\n FragmentInstance.prototype.dispatchEvent = function (event) {\n var parentHostFiber = getFragmentParentHostFiber(this._fragmentFiber);\n if (null === parentHostFiber) return !0;\n parentHostFiber = getInstanceFromHostFiber(parentHostFiber);\n var eventListeners = this._eventListeners;\n if (\n (null !== eventListeners && 0 < eventListeners.length) ||\n !event.bubbles\n ) {\n var temp = document.createTextNode(\"\");\n if (eventListeners)\n for (var i = 0; i < eventListeners.length; i++) {\n var _eventListeners$i = eventListeners[i];\n temp.addEventListener(\n _eventListeners$i.type,\n _eventListeners$i.listener,\n _eventListeners$i.optionsOrUseCapture\n );\n }\n parentHostFiber.appendChild(temp);\n event = temp.dispatchEvent(event);\n if (eventListeners)\n for (i = 0; i < eventListeners.length; i++)\n (_eventListeners$i = eventListeners[i]),\n temp.removeEventListener(\n _eventListeners$i.type,\n _eventListeners$i.listener,\n _eventListeners$i.optionsOrUseCapture\n );\n parentHostFiber.removeChild(temp);\n return event;\n }\n return parentHostFiber.dispatchEvent(event);\n };\n FragmentInstance.prototype.focus = function (focusOptions) {\n traverseVisibleHostChildren(\n this._fragmentFiber.child,\n !0,\n setFocusOnFiberIfFocusable,\n focusOptions,\n void 0,\n void 0\n );\n };\n FragmentInstance.prototype.focusLast = function (focusOptions) {\n var children = [];\n traverseVisibleHostChildren(\n this._fragmentFiber.child,\n !0,\n collectChildren,\n children,\n void 0,\n void 0\n );\n for (\n var i = children.length - 1;\n 0 <= i && !setFocusOnFiberIfFocusable(children[i], focusOptions);\n i--\n );\n };\n FragmentInstance.prototype.blur = function () {\n traverseVisibleHostChildren(\n this._fragmentFiber.child,\n !1,\n blurActiveElementWithinFragment,\n void 0,\n void 0,\n void 0\n );\n };\n FragmentInstance.prototype.observeUsing = function (observer) {\n null === this._observers && (this._observers = new Set());\n this._observers.add(observer);\n traverseVisibleHostChildren(\n this._fragmentFiber.child,\n !1,\n observeChild,\n observer,\n void 0,\n void 0\n );\n };\n FragmentInstance.prototype.unobserveUsing = function (observer) {\n var observers = this._observers;\n null !== observers && observers.has(observer)\n ? (observers.delete(observer),\n traverseVisibleHostChildren(\n this._fragmentFiber.child,\n !1,\n unobserveChild,\n observer,\n void 0,\n void 0\n ))\n : console.error(\n \"You are calling unobserveUsing() with an observer that is not being observed with this fragment instance. First attach the observer with observeUsing()\"\n );\n };\n FragmentInstance.prototype.getClientRects = function () {\n var rects = [];\n traverseVisibleHostChildren(\n this._fragmentFiber.child,\n !1,\n collectClientRects,\n rects,\n void 0,\n void 0\n );\n return rects;\n };\n FragmentInstance.prototype.getRootNode = function (getRootNodeOptions) {\n var parentHostFiber = getFragmentParentHostFiber(this._fragmentFiber);\n return null === parentHostFiber\n ? this\n : getInstanceFromHostFiber(parentHostFiber).getRootNode(\n getRootNodeOptions\n );\n };\n FragmentInstance.prototype.compareDocumentPosition = function (otherNode) {\n var parentHostFiber = getFragmentParentHostFiber(this._fragmentFiber);\n if (null === parentHostFiber) return Node.DOCUMENT_POSITION_DISCONNECTED;\n var children = [];\n traverseVisibleHostChildren(\n this._fragmentFiber.child,\n !1,\n collectChildren,\n children,\n void 0,\n void 0\n );\n var parentHostInstance = getInstanceFromHostFiber(parentHostFiber);\n if (0 === children.length) {\n children = this._fragmentFiber;\n var parentResult =\n parentHostInstance.compareDocumentPosition(otherNode);\n parentHostFiber = parentResult;\n parentHostInstance === otherNode\n ? (parentHostFiber = Node.DOCUMENT_POSITION_CONTAINS)\n : parentResult & Node.DOCUMENT_POSITION_CONTAINED_BY &&\n (traverseVisibleHostChildren(children.sibling, !1, findNextSibling),\n (children = searchTarget),\n (searchTarget = null),\n null === children\n ? (parentHostFiber = Node.DOCUMENT_POSITION_PRECEDING)\n : ((otherNode =\n getInstanceFromHostFiber(children).compareDocumentPosition(\n otherNode\n )),\n (parentHostFiber =\n 0 === otherNode ||\n otherNode & Node.DOCUMENT_POSITION_FOLLOWING\n ? Node.DOCUMENT_POSITION_FOLLOWING\n : Node.DOCUMENT_POSITION_PRECEDING)));\n return (parentHostFiber |=\n Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC);\n }\n parentHostFiber = getInstanceFromHostFiber(children[0]);\n parentResult = getInstanceFromHostFiber(children[children.length - 1]);\n for (\n var firstInstance = getInstanceFromHostFiber(children[0]),\n foundPortalParent = !1,\n parent = this._fragmentFiber.return;\n null !== parent;\n\n ) {\n 4 === parent.tag && (foundPortalParent = !0);\n if (3 === parent.tag || 5 === parent.tag) break;\n parent = parent.return;\n }\n firstInstance = foundPortalParent\n ? firstInstance.parentElement\n : parentHostInstance;\n if (null == firstInstance) return Node.DOCUMENT_POSITION_DISCONNECTED;\n parentHostInstance =\n firstInstance.compareDocumentPosition(parentHostFiber) &\n Node.DOCUMENT_POSITION_CONTAINED_BY;\n firstInstance =\n firstInstance.compareDocumentPosition(parentResult) &\n Node.DOCUMENT_POSITION_CONTAINED_BY;\n foundPortalParent = parentHostFiber.compareDocumentPosition(otherNode);\n var lastResult = parentResult.compareDocumentPosition(otherNode);\n parent =\n foundPortalParent & Node.DOCUMENT_POSITION_CONTAINED_BY ||\n lastResult & Node.DOCUMENT_POSITION_CONTAINED_BY;\n lastResult =\n parentHostInstance &&\n firstInstance &&\n foundPortalParent & Node.DOCUMENT_POSITION_FOLLOWING &&\n lastResult & Node.DOCUMENT_POSITION_PRECEDING;\n parentHostFiber =\n (parentHostInstance && parentHostFiber === otherNode) ||\n (firstInstance && parentResult === otherNode) ||\n parent ||\n lastResult\n ? Node.DOCUMENT_POSITION_CONTAINED_BY\n : (!parentHostInstance && parentHostFiber === otherNode) ||\n (!firstInstance && parentResult === otherNode)\n ? Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC\n : foundPortalParent;\n return parentHostFiber & Node.DOCUMENT_POSITION_DISCONNECTED ||\n parentHostFiber & Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC ||\n validateDocumentPositionWithFiberTree(\n parentHostFiber,\n this._fragmentFiber,\n children[0],\n children[children.length - 1],\n otherNode\n )\n ? parentHostFiber\n : Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC;\n };\n FragmentInstance.prototype.scrollIntoView = function (alignToTop) {\n if (\"object\" === typeof alignToTop)\n throw Error(\n \"FragmentInstance.scrollIntoView() does not support scrollIntoViewOptions. Use the alignToTop boolean instead.\"\n );\n var children = [];\n traverseVisibleHostChildren(\n this._fragmentFiber.child,\n !1,\n collectChildren,\n children,\n void 0,\n void 0\n );\n var resolvedAlignToTop = !1 !== alignToTop;\n if (0 === children.length) {\n children = this._fragmentFiber;\n var result = [null, null],\n parentHostFiber = getFragmentParentHostFiber(children);\n null !== parentHostFiber &&\n findFragmentInstanceSiblings(result, children, parentHostFiber.child);\n resolvedAlignToTop = resolvedAlignToTop\n ? result[1] ||\n result[0] ||\n getFragmentParentHostFiber(this._fragmentFiber)\n : result[0] || result[1];\n null === resolvedAlignToTop\n ? console.warn(\n \"You are attempting to scroll a FragmentInstance that has no children, siblings, or parent. No scroll was performed.\"\n )\n : getInstanceFromHostFiber(resolvedAlignToTop).scrollIntoView(\n alignToTop\n );\n } else\n for (\n result = resolvedAlignToTop ? children.length - 1 : 0;\n result !== (resolvedAlignToTop ? -1 : children.length);\n\n )\n getInstanceFromHostFiber(children[result]).scrollIntoView(alignToTop),\n (result += resolvedAlignToTop ? -1 : 1);\n };\n var previousHydratableOnEnteringScopedSingleton = null,\n NotLoaded = 0,\n Loaded = 1,\n Errored = 2,\n Settled = 3,\n Inserted = 4,\n preloadPropsMap = new Map(),\n preconnectsSet = new Set(),\n previousDispatcher = ReactDOMSharedInternals.d;\n ReactDOMSharedInternals.d = {\n f: function () {\n var previousWasRendering = previousDispatcher.f(),\n wasRendering = flushSyncWork$1();\n return previousWasRendering || wasRendering;\n },\n r: function (form) {\n var formInst = getInstanceFromNode(form);\n null !== formInst && 5 === formInst.tag && \"form\" === formInst.type\n ? requestFormReset$1(formInst)\n : previousDispatcher.r(form);\n },\n D: function (href) {\n previousDispatcher.D(href);\n preconnectAs(\"dns-prefetch\", href, null);\n },\n C: function (href, crossOrigin) {\n previousDispatcher.C(href, crossOrigin);\n preconnectAs(\"preconnect\", href, crossOrigin);\n },\n L: function (href, as, options) {\n previousDispatcher.L(href, as, options);\n var ownerDocument = globalDocument;\n if (ownerDocument && href && as) {\n var preloadSelector =\n 'link[rel=\"preload\"][as=\"' +\n escapeSelectorAttributeValueInsideDoubleQuotes(as) +\n '\"]';\n \"image\" === as\n ? options && options.imageSrcSet\n ? ((preloadSelector +=\n '[imagesrcset=\"' +\n escapeSelectorAttributeValueInsideDoubleQuotes(\n options.imageSrcSet\n ) +\n '\"]'),\n \"string\" === typeof options.imageSizes &&\n (preloadSelector +=\n '[imagesizes=\"' +\n escapeSelectorAttributeValueInsideDoubleQuotes(\n options.imageSizes\n ) +\n '\"]'))\n : (preloadSelector +=\n '[href=\"' +\n escapeSelectorAttributeValueInsideDoubleQuotes(href) +\n '\"]')\n : (preloadSelector +=\n '[href=\"' +\n escapeSelectorAttributeValueInsideDoubleQuotes(href) +\n '\"]');\n var key = preloadSelector;\n switch (as) {\n case \"style\":\n key = getStyleKey(href);\n break;\n case \"script\":\n key = getScriptKey(href);\n }\n preloadPropsMap.has(key) ||\n ((href = assign(\n {\n rel: \"preload\",\n href:\n \"image\" === as && options && options.imageSrcSet\n ? void 0\n : href,\n as: as\n },\n options\n )),\n preloadPropsMap.set(key, href),\n null !== ownerDocument.querySelector(preloadSelector) ||\n (\"style\" === as &&\n ownerDocument.querySelector(\n getStylesheetSelectorFromKey(key)\n )) ||\n (\"script\" === as &&\n ownerDocument.querySelector(getScriptSelectorFromKey(key))) ||\n ((as = ownerDocument.createElement(\"link\")),\n setInitialProperties(as, \"link\", href),\n markNodeAsHoistable(as),\n ownerDocument.head.appendChild(as)));\n }\n },\n m: function (href, options) {\n previousDispatcher.m(href, options);\n var ownerDocument = globalDocument;\n if (ownerDocument && href) {\n var as =\n options && \"string\" === typeof options.as ? options.as : \"script\",\n preloadSelector =\n 'link[rel=\"modulepreload\"][as=\"' +\n escapeSelectorAttributeValueInsideDoubleQuotes(as) +\n '\"][href=\"' +\n escapeSelectorAttributeValueInsideDoubleQuotes(href) +\n '\"]',\n key = preloadSelector;\n switch (as) {\n case \"audioworklet\":\n case \"paintworklet\":\n case \"serviceworker\":\n case \"sharedworker\":\n case \"worker\":\n case \"script\":\n key = getScriptKey(href);\n }\n if (\n !preloadPropsMap.has(key) &&\n ((href = assign({ rel: \"modulepreload\", href: href }, options)),\n preloadPropsMap.set(key, href),\n null === ownerDocument.querySelector(preloadSelector))\n ) {\n switch (as) {\n case \"audioworklet\":\n case \"paintworklet\":\n case \"serviceworker\":\n case \"sharedworker\":\n case \"worker\":\n case \"script\":\n if (ownerDocument.querySelector(getScriptSelectorFromKey(key)))\n return;\n }\n as = ownerDocument.createElement(\"link\");\n setInitialProperties(as, \"link\", href);\n markNodeAsHoistable(as);\n ownerDocument.head.appendChild(as);\n }\n }\n },\n X: function (src, options) {\n previousDispatcher.X(src, options);\n var ownerDocument = globalDocument;\n if (ownerDocument && src) {\n var scripts = getResourcesFromRoot(ownerDocument).hoistableScripts,\n key = getScriptKey(src),\n resource = scripts.get(key);\n resource ||\n ((resource = ownerDocument.querySelector(\n getScriptSelectorFromKey(key)\n )),\n resource ||\n ((src = assign({ src: src, async: !0 }, options)),\n (options = preloadPropsMap.get(key)) &&\n adoptPreloadPropsForScript(src, options),\n (resource = ownerDocument.createElement(\"script\")),\n markNodeAsHoistable(resource),\n setInitialProperties(resource, \"link\", src),\n ownerDocument.head.appendChild(resource)),\n (resource = {\n type: \"script\",\n instance: resource,\n count: 1,\n state: null\n }),\n scripts.set(key, resource));\n }\n },\n S: function (href, precedence, options) {\n previousDispatcher.S(href, precedence, options);\n var ownerDocument = globalDocument;\n if (ownerDocument && href) {\n var styles = getResourcesFromRoot(ownerDocument).hoistableStyles,\n key = getStyleKey(href);\n precedence = precedence || \"default\";\n var resource = styles.get(key);\n if (!resource) {\n var state = { loading: NotLoaded, preload: null };\n if (\n (resource = ownerDocument.querySelector(\n getStylesheetSelectorFromKey(key)\n ))\n )\n state.loading = Loaded | Inserted;\n else {\n href = assign(\n {\n rel: \"stylesheet\",\n href: href,\n \"data-precedence\": precedence\n },\n options\n );\n (options = preloadPropsMap.get(key)) &&\n adoptPreloadPropsForStylesheet(href, options);\n var link = (resource = ownerDocument.createElement(\"link\"));\n markNodeAsHoistable(link);\n setInitialProperties(link, \"link\", href);\n link._p = new Promise(function (resolve, reject) {\n link.onload = resolve;\n link.onerror = reject;\n });\n link.addEventListener(\"load\", function () {\n state.loading |= Loaded;\n });\n link.addEventListener(\"error\", function () {\n state.loading |= Errored;\n });\n state.loading |= Inserted;\n insertStylesheet(resource, precedence, ownerDocument);\n }\n resource = {\n type: \"stylesheet\",\n instance: resource,\n count: 1,\n state: state\n };\n styles.set(key, resource);\n }\n }\n },\n M: function (src, options) {\n previousDispatcher.M(src, options);\n var ownerDocument = globalDocument;\n if (ownerDocument && src) {\n var scripts = getResourcesFromRoot(ownerDocument).hoistableScripts,\n key = getScriptKey(src),\n resource = scripts.get(key);\n resource ||\n ((resource = ownerDocument.querySelector(\n getScriptSelectorFromKey(key)\n )),\n resource ||\n ((src = assign({ src: src, async: !0, type: \"module\" }, options)),\n (options = preloadPropsMap.get(key)) &&\n adoptPreloadPropsForScript(src, options),\n (resource = ownerDocument.createElement(\"script\")),\n markNodeAsHoistable(resource),\n setInitialProperties(resource, \"link\", src),\n ownerDocument.head.appendChild(resource)),\n (resource = {\n type: \"script\",\n instance: resource,\n count: 1,\n state: null\n }),\n scripts.set(key, resource));\n }\n }\n };\n var globalDocument = \"undefined\" === typeof document ? null : document,\n tagCaches = null,\n SUSPENSEY_STYLESHEET_TIMEOUT = 6e4,\n SUSPENSEY_IMAGE_TIMEOUT = 800,\n SUSPENSEY_IMAGE_TIME_ESTIMATE = 500,\n estimatedBytesWithinLimit = 0,\n LAST_PRECEDENCE = null,\n precedencesByRoot = null,\n NotPendingTransition = NotPending,\n HostTransitionContext = {\n $$typeof: REACT_CONTEXT_TYPE,\n Provider: null,\n Consumer: null,\n _currentValue: NotPendingTransition,\n _currentValue2: NotPendingTransition,\n _threadCount: 0\n },\n badgeFormat = \"%c%s%c\",\n badgeStyle =\n \"background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px\",\n resetStyle = \"\",\n pad = \" \",\n bind = Function.prototype.bind;\n var didWarnAboutNestedUpdates = !1;\n var overrideHookState = null,\n overrideHookStateDeletePath = null,\n overrideHookStateRenamePath = null,\n overrideProps = null,\n overridePropsDeletePath = null,\n overridePropsRenamePath = null,\n scheduleUpdate = null,\n scheduleRetry = null,\n setErrorHandler = null,\n setSuspenseHandler = null;\n overrideHookState = function (fiber, id, path, value) {\n id = findHook(fiber, id);\n null !== id &&\n ((path = copyWithSetImpl(id.memoizedState, path, 0, value)),\n (id.memoizedState = path),\n (id.baseState = path),\n (fiber.memoizedProps = assign({}, fiber.memoizedProps)),\n (path = enqueueConcurrentRenderForLane(fiber, 2)),\n null !== path && scheduleUpdateOnFiber(path, fiber, 2));\n };\n overrideHookStateDeletePath = function (fiber, id, path) {\n id = findHook(fiber, id);\n null !== id &&\n ((path = copyWithDeleteImpl(id.memoizedState, path, 0)),\n (id.memoizedState = path),\n (id.baseState = path),\n (fiber.memoizedProps = assign({}, fiber.memoizedProps)),\n (path = enqueueConcurrentRenderForLane(fiber, 2)),\n null !== path && scheduleUpdateOnFiber(path, fiber, 2));\n };\n overrideHookStateRenamePath = function (fiber, id, oldPath, newPath) {\n id = findHook(fiber, id);\n null !== id &&\n ((oldPath = copyWithRename(id.memoizedState, oldPath, newPath)),\n (id.memoizedState = oldPath),\n (id.baseState = oldPath),\n (fiber.memoizedProps = assign({}, fiber.memoizedProps)),\n (oldPath = enqueueConcurrentRenderForLane(fiber, 2)),\n null !== oldPath && scheduleUpdateOnFiber(oldPath, fiber, 2));\n };\n overrideProps = function (fiber, path, value) {\n fiber.pendingProps = copyWithSetImpl(fiber.memoizedProps, path, 0, value);\n fiber.alternate && (fiber.alternate.pendingProps = fiber.pendingProps);\n path = enqueueConcurrentRenderForLane(fiber, 2);\n null !== path && scheduleUpdateOnFiber(path, fiber, 2);\n };\n overridePropsDeletePath = function (fiber, path) {\n fiber.pendingProps = copyWithDeleteImpl(fiber.memoizedProps, path, 0);\n fiber.alternate && (fiber.alternate.pendingProps = fiber.pendingProps);\n path = enqueueConcurrentRenderForLane(fiber, 2);\n null !== path && scheduleUpdateOnFiber(path, fiber, 2);\n };\n overridePropsRenamePath = function (fiber, oldPath, newPath) {\n fiber.pendingProps = copyWithRename(\n fiber.memoizedProps,\n oldPath,\n newPath\n );\n fiber.alternate && (fiber.alternate.pendingProps = fiber.pendingProps);\n oldPath = enqueueConcurrentRenderForLane(fiber, 2);\n null !== oldPath && scheduleUpdateOnFiber(oldPath, fiber, 2);\n };\n scheduleUpdate = function (fiber) {\n var root = enqueueConcurrentRenderForLane(fiber, 2);\n null !== root && scheduleUpdateOnFiber(root, fiber, 2);\n };\n scheduleRetry = function (fiber) {\n var lane = claimNextRetryLane(),\n root = enqueueConcurrentRenderForLane(fiber, lane);\n null !== root && scheduleUpdateOnFiber(root, fiber, lane);\n };\n setErrorHandler = function (newShouldErrorImpl) {\n shouldErrorImpl = newShouldErrorImpl;\n };\n setSuspenseHandler = function (newShouldSuspendImpl) {\n shouldSuspendImpl = newShouldSuspendImpl;\n };\n var _enabled = !0,\n return_targetInst = null,\n hasScheduledReplayAttempt = !1,\n queuedFocus = null,\n queuedDrag = null,\n queuedMouse = null,\n queuedPointers = new Map(),\n queuedPointerCaptures = new Map(),\n queuedExplicitHydrationTargets = [],\n discreteReplayableEvents =\n \"mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset\".split(\n \" \"\n ),\n lastScheduledReplayQueue = null;\n ReactDOMHydrationRoot.prototype.render = ReactDOMRoot.prototype.render =\n function (children) {\n var root = this._internalRoot;\n if (null === root) throw Error(\"Cannot update an unmounted root.\");\n var args = arguments;\n \"function\" === typeof args[1]\n ? console.error(\n \"does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().\"\n )\n : isValidContainer(args[1])\n ? console.error(\n \"You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root.\"\n )\n : \"undefined\" !== typeof args[1] &&\n console.error(\n \"You passed a second argument to root.render(...) but it only accepts one argument.\"\n );\n args = children;\n var current = root.current,\n lane = requestUpdateLane(current);\n updateContainerImpl(current, lane, args, root, null, null);\n };\n ReactDOMHydrationRoot.prototype.unmount = ReactDOMRoot.prototype.unmount =\n function () {\n var args = arguments;\n \"function\" === typeof args[0] &&\n console.error(\n \"does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().\"\n );\n args = this._internalRoot;\n if (null !== args) {\n this._internalRoot = null;\n var container = args.containerInfo;\n (executionContext & (RenderContext | CommitContext)) !== NoContext &&\n console.error(\n \"Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition.\"\n );\n updateContainerImpl(args.current, 2, null, args, null, null);\n flushSyncWork$1();\n container[internalContainerInstanceKey] = null;\n }\n };\n ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (\n target\n ) {\n if (target) {\n var updatePriority = resolveUpdatePriority();\n target = { blockedOn: null, target: target, priority: updatePriority };\n for (\n var i = 0;\n i < queuedExplicitHydrationTargets.length &&\n 0 !== updatePriority &&\n updatePriority < queuedExplicitHydrationTargets[i].priority;\n i++\n );\n queuedExplicitHydrationTargets.splice(i, 0, target);\n 0 === i && attemptExplicitHydrationTarget(target);\n }\n };\n (function () {\n var isomorphicReactPackageVersion = React.version;\n if (\"19.3.0-canary-f93b9fd4-20251217\" !== isomorphicReactPackageVersion)\n throw Error(\n 'Incompatible React versions: The \"react\" and \"react-dom\" packages must have the exact same version. Instead got:\\n - react: ' +\n (isomorphicReactPackageVersion +\n \"\\n - react-dom: 19.3.0-canary-f93b9fd4-20251217\\nLearn more: https://react.dev/warnings/version-mismatch\")\n );\n })();\n (\"function\" === typeof Map &&\n null != Map.prototype &&\n \"function\" === typeof Map.prototype.forEach &&\n \"function\" === typeof Set &&\n null != Set.prototype &&\n \"function\" === typeof Set.prototype.clear &&\n \"function\" === typeof Set.prototype.forEach) ||\n console.error(\n \"React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills\"\n );\n ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {\n var fiber = componentOrElement._reactInternals;\n if (void 0 === fiber) {\n if (\"function\" === typeof componentOrElement.render)\n throw Error(\"Unable to find node on an unmounted component.\");\n componentOrElement = Object.keys(componentOrElement).join(\",\");\n throw Error(\n \"Argument appears to not be a ReactComponent. Keys: \" +\n componentOrElement\n );\n }\n componentOrElement = findCurrentFiberUsingSlowPath(fiber);\n componentOrElement =\n null !== componentOrElement\n ? findCurrentHostFiberImpl(componentOrElement)\n : null;\n componentOrElement =\n null === componentOrElement ? null : componentOrElement.stateNode;\n return componentOrElement;\n };\n if (\n !(function () {\n var internals = {\n bundleType: 1,\n version: \"19.3.0-canary-f93b9fd4-20251217\",\n rendererPackageName: \"react-dom\",\n currentDispatcherRef: ReactSharedInternals,\n reconcilerVersion: \"19.3.0-canary-f93b9fd4-20251217\"\n };\n internals.overrideHookState = overrideHookState;\n internals.overrideHookStateDeletePath = overrideHookStateDeletePath;\n internals.overrideHookStateRenamePath = overrideHookStateRenamePath;\n internals.overrideProps = overrideProps;\n internals.overridePropsDeletePath = overridePropsDeletePath;\n internals.overridePropsRenamePath = overridePropsRenamePath;\n internals.scheduleUpdate = scheduleUpdate;\n internals.scheduleRetry = scheduleRetry;\n internals.setErrorHandler = setErrorHandler;\n internals.setSuspenseHandler = setSuspenseHandler;\n internals.scheduleRefresh = scheduleRefresh;\n internals.scheduleRoot = scheduleRoot;\n internals.setRefreshHandler = setRefreshHandler;\n internals.getCurrentFiber = getCurrentFiberForDevTools;\n return injectInternals(internals);\n })() &&\n canUseDOM &&\n window.top === window.self &&\n ((-1 < navigator.userAgent.indexOf(\"Chrome\") &&\n -1 === navigator.userAgent.indexOf(\"Edge\")) ||\n -1 < navigator.userAgent.indexOf(\"Firefox\"))\n ) {\n var protocol = window.location.protocol;\n /^(https?|file):$/.test(protocol) &&\n console.info(\n \"%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools\" +\n (\"file:\" === protocol\n ? \"\\nYou might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq\"\n : \"\"),\n \"font-weight:bold\"\n );\n }\n exports.createRoot = function (container, options) {\n if (!isValidContainer(container))\n throw Error(\"Target container is not a DOM element.\");\n warnIfReactDOMContainerInDEV(container);\n var isStrictMode = !1,\n identifierPrefix = \"\",\n onUncaughtError = defaultOnUncaughtError,\n onCaughtError = defaultOnCaughtError,\n onRecoverableError = defaultOnRecoverableError;\n null !== options &&\n void 0 !== options &&\n (options.hydrate\n ? console.warn(\n \"hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead.\"\n )\n : \"object\" === typeof options &&\n null !== options &&\n options.$$typeof === REACT_ELEMENT_TYPE &&\n console.error(\n \"You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:\\n\\n let root = createRoot(domContainer);\\n root.render(<App />);\"\n ),\n !0 === options.unstable_strictMode && (isStrictMode = !0),\n void 0 !== options.identifierPrefix &&\n (identifierPrefix = options.identifierPrefix),\n void 0 !== options.onUncaughtError &&\n (onUncaughtError = options.onUncaughtError),\n void 0 !== options.onCaughtError &&\n (onCaughtError = options.onCaughtError),\n void 0 !== options.onRecoverableError &&\n (onRecoverableError = options.onRecoverableError));\n options = createFiberRoot(\n container,\n 1,\n !1,\n null,\n null,\n isStrictMode,\n identifierPrefix,\n null,\n onUncaughtError,\n onCaughtError,\n onRecoverableError,\n defaultOnDefaultTransitionIndicator\n );\n container[internalContainerInstanceKey] = options.current;\n listenToAllSupportedEvents(container);\n return new ReactDOMRoot(options);\n };\n exports.hydrateRoot = function (container, initialChildren, options) {\n if (!isValidContainer(container))\n throw Error(\"Target container is not a DOM element.\");\n warnIfReactDOMContainerInDEV(container);\n void 0 === initialChildren &&\n console.error(\n \"Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)\"\n );\n var isStrictMode = !1,\n identifierPrefix = \"\",\n onUncaughtError = defaultOnUncaughtError,\n onCaughtError = defaultOnCaughtError,\n onRecoverableError = defaultOnRecoverableError,\n formState = null;\n null !== options &&\n void 0 !== options &&\n (!0 === options.unstable_strictMode && (isStrictMode = !0),\n void 0 !== options.identifierPrefix &&\n (identifierPrefix = options.identifierPrefix),\n void 0 !== options.onUncaughtError &&\n (onUncaughtError = options.onUncaughtError),\n void 0 !== options.onCaughtError &&\n (onCaughtError = options.onCaughtError),\n void 0 !== options.onRecoverableError &&\n (onRecoverableError = options.onRecoverableError),\n void 0 !== options.formState && (formState = options.formState));\n initialChildren = createFiberRoot(\n container,\n 1,\n !0,\n initialChildren,\n null != options ? options : null,\n isStrictMode,\n identifierPrefix,\n formState,\n onUncaughtError,\n onCaughtError,\n onRecoverableError,\n defaultOnDefaultTransitionIndicator\n );\n initialChildren.context = getContextForSubtree(null);\n options = initialChildren.current;\n isStrictMode = requestUpdateLane(options);\n isStrictMode = getBumpedLaneForHydrationByLane(isStrictMode);\n identifierPrefix = createUpdate(isStrictMode);\n identifierPrefix.callback = null;\n enqueueUpdate(options, identifierPrefix, isStrictMode);\n startUpdateTimerByLane(isStrictMode, \"hydrateRoot()\", null);\n options = isStrictMode;\n initialChildren.current.lanes = options;\n markRootUpdated$1(initialChildren, options);\n ensureRootIsScheduled(initialChildren);\n container[internalContainerInstanceKey] = initialChildren.current;\n listenToAllSupportedEvents(container);\n return new ReactDOMHydrationRoot(initialChildren);\n };\n exports.version = \"19.3.0-canary-f93b9fd4-20251217\";\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());\n })();\n"],"names":[],"mappings":"AAciB;AAdjB;;;;;;;;CAQC,GAED;;AAEA,GACA;AACA,oEACE,AAAC;IACC,SAAS,SAAS,KAAK,EAAE,EAAE;QACzB,IAAK,QAAQ,MAAM,aAAa,EAAE,SAAS,SAAS,IAAI,IACtD,AAAC,QAAQ,MAAM,IAAI,EAAG;QACxB,OAAO;IACT;IACA,SAAS,gBAAgB,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK;QAC9C,IAAI,SAAS,KAAK,MAAM,EAAE,OAAO;QACjC,IAAI,MAAM,IAAI,CAAC,MAAM,EACnB,UAAU,YAAY,OAAO,IAAI,KAAK,KAAK,OAAO,CAAC,GAAG;QACxD,OAAO,CAAC,IAAI,GAAG,gBAAgB,GAAG,CAAC,IAAI,EAAE,MAAM,QAAQ,GAAG;QAC1D,OAAO;IACT;IACA,SAAS,eAAe,GAAG,EAAE,OAAO,EAAE,OAAO;QAC3C,IAAI,QAAQ,MAAM,KAAK,QAAQ,MAAM,EACnC,QAAQ,IAAI,CAAC;aACV;YACH,IAAK,IAAI,IAAI,GAAG,IAAI,QAAQ,MAAM,GAAG,GAAG,IACtC,IAAI,OAAO,CAAC,EAAE,KAAK,OAAO,CAAC,EAAE,EAAE;gBAC7B,QAAQ,IAAI,CACV;gBAEF;YACF;YACF,OAAO,mBAAmB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C,MAAM,WAAW;wBACxC,sBACE,OACA,YACA,SACA;wBAEF;oBACF;oBACA,0BACE,YACA,OACA,MAAM,WAAW,IACjB,SACA,iBACA;oBAEF;gBACF,KAAK;oBACH,0BACE,YACA,OACA,cACA,SACA,iBACA;oBAEF;gBACF,KAAK;oBACH,2BACE,YACA,OACA,mBACA,SACA,iBACA;oBAEF;gBACF,KAAK;oBACH,2BACE,YACA,OACA,cACA,SACA,iBACA;oBAEF;gBACF,KAAK;gBACL,KAAK;gBACL,KAAK;gBACL,KAAK;gBACL,KAAK;oBACH,2BACE,YACA,OACA,OACA,SACA,iBACA;oBAEF;gBACF,KAAK;gBACL,KAAK;gBACL,KAAK;gBACL,KAAK;gBACL,KAAK;gBACL,KAAK;gBACL,KAAK;gBACL,KAAK;gBACL,KAAK;gBACL,KAAK;gBACL,KAAK;gBACL,KAAK;gBACL,KAAK;gBACL,KAAK;gBACL,KAAK;gBACL,KAAK;gBACL,KAAK;gBACL,KAAK;gBACL,KAAK;gBACL,KAAK;gBACL,KAAK;gBACL,KAAK;oBACH,wBACE,YACA,OACA,MAAM,WAAW,IACjB,SACA,iBACA;oBAEF;gBACF,KAAK;gBACL,KAAK;oBACH,GAAG;wBACD,IAAI;wBACJ,IAAI,gBAAiB,aAAa,OAChC,6BAA6B;wBAC/B,gBAAgB,MAAM,CAAC;wBACvB,IAAI,EAAE,YAAY,CAAC;wBACnB,IAAI,SAAS,GACX,OAAQ,OAAO;4BACb,KAAK;4BACL,KAAK;4BACL,KAAK;gCACH,MAAM;4BACR;gCACE,IAAI,CAAC,MAAM,SAAS,MAAM;wBAC9B;6BACG,IAAI,QAAQ,SACf,OAAQ,OAAO;4BACb,KAAK;4BACL,KAAK;gCACH;4BACF,KAAK;gCACH,IAAI,CAAC,MAAM,WAAW,OAAO,GAAG,MAAM;gCACtC;4BACF;gCACE,IACG,6BAA6B,SAAS,aACvC,MAAM,KAAK,SAEX,MAAM;wBACZ;wBACF,sBACE,YACA,GACA,SACA;oBAEJ;oBACA;gBACF,KAAK;gBACL,KAAK;gBACL,KAAK;gBACL,KAAK;oBACH,GAAG;wBACD,IAAI;wBACJ,gBAAgB,aAAa;wBAC7B,6BAA6B;wBAC7B,gBAAgB,MAAM,CAAC;wBACvB,IAAI,EAAE,YAAY,CAAC;wBACnB,IAAI,SAAS,GACX,OAAQ,OAAO;4BACb,KAAK;4BACL,KAAK;4BACL,KAAK;4BACL,KAAK;gCACH,MAAM;4BACR;gCACE,IAAI,MAAM,YAAY,IAAI,SAAS,MAAM;wBAC7C;6BACG,IAAI,QAAQ,SACf,OAAQ,OAAO;4BACb,KAAK;4BACL,KAAK;4BACL,KAAK;gCACH;4BACF;gCACE,IACE,CAAC,CAAC,MAAM,YAAY,IAAI,OAAO,KAC/B,CAAC,6BAA6B,SAAS,aACvC,MAAM,KAAK,OAAO,GAElB,MAAM;wBACZ;wBACF,sBACE,YACA,GACA,SACA;oBAEJ;oBACA;gBACF,KAAK;oBACH,wBACE,YACA,OACA,WACA,SACA,iBACA;oBAEF;gBACF,KAAK;oBACH,wBACE,YACA,OACA,OACA,SACA,iBACA;oBAEF;gBACF,KAAK;oBACH,iBACE,YACA,OACA,YACA,SACA,iBACA;oBAEF;gBACF,KAAK;oBACH,iBACE,YACA,OACA,iBACA,SACA,iBACA;oBAEF;gBACF,KAAK;oBACH,iBACE,YACA,OACA,iBACA,SACA,iBACA;oBAEF;gBACF,KAAK;oBACH,iBACE,YACA,OACA,cACA,SACA,iBACA;oBAEF;gBACF,KAAK;oBACH,iBACE,YACA,OACA,cACA,SACA,iBACA;oBAEF;gBACF,KAAK;oBACH,iBACE,YACA,OACA,eACA,SACA,iBACA;oBAEF;gBACF,KAAK;oBACH,iBACE,YACA,OACA,cACA,SACA,iBACA;oBAEF;gBACF,KAAK;oBACH,iBACE,YACA,OACA,YACA,SACA,iBACA;oBAEF;gBACF,KAAK;oBACH,iBACE,YACA,OACA,YACA,SACA,iBACA;oBAEF;gBACF,KAAK;oBACH,iBACE,YACA,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AAS,iBAAiB,YAAY;QACpC,OAAQ;YACN,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;gBACH,OAAO;YACT,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;gBACH,OAAO;YACT,KAAK;gBACH,OAAQ;oBACN,KAAK;wBACH,OAAO;oBACT,KAAK;wBACH,OAAO;oBACT,KAAK;oBACL,KAAK;wBACH,OAAO;oBACT,KAAK;wBACH,OAAO;oBACT;wBACE,OAAO;gBACX;YACF;gBACE,OAAO;QACX;IACF;IACA,SAAS,uBAAuB,YAAY,EAAE,WAAW;QACvD,OAAQ;YACN,KAAK;YACL,KAAK;gBACH,cAAc;gBACd;YACF,KAAK;YACL,KAAK;gBACH,aAAa;gBACb;YACF,KAAK;YACL,KAAK;gBACH,cAAc;gBACd;YACF,KAAK;YACL,KAAK;gBACH,eAAe,MAAM,CAAC,YAAY,SA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S,CAAC;QACjE,kBAAkB,gBAChB,WACA,GACA,CAAC,GACD,iBACA,QAAQ,UAAU,UAAU,MAC5B,cACA,kBACA,WACA,iBACA,eACA,oBACA;QAEF,gBAAgB,OAAO,GAAG,qBAAqB;QAC/C,UAAU,gBAAgB,OAAO;QACjC,eAAe,kBAAkB;QACjC,eAAe,gCAAgC;QAC/C,mBAAmB,aAAa;QAChC,iBAAiB,QAAQ,GAAG;QAC5B,cAAc,SAAS,kBAAkB;QACzC,uBAAuB,cAAc,iBAAiB;QACtD,UAAU;QACV,gBAAgB,OAAO,CAAC,KAAK,GAAG;QAChC,kBAAkB,iBAAiB;QACnC,sBAAsB;QACtB,SAAS,CAAC,6BAA6B,GAAG,gBAAgB,OAAO;QACjE,2BAA2B;QAC3B,OAAO,IAAI,sBAAsB;IACnC;IACA,QAAQ,OAAO,GAAG;IAClB,gBAAgB,OAAO,kCACrB,eACE,OAAO,+BAA+B,0BAA0B,IAClE,+BAA+B,0BAA0B,CAAC;AAC9D","ignoreList":[0]}}, - {"offset": {"line": 16503, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/dist/compiled/react-dom/client.js"],"sourcesContent":["'use strict';\n\nfunction checkDCE() {\n /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */\n if (\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined' ||\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== 'function'\n ) {\n return;\n }\n if (process.env.NODE_ENV !== 'production') {\n // This branch is unreachable because this function is only called\n // in production, but the condition is true only in development.\n // Therefore if the branch is still here, dead code elimination wasn't\n // properly applied.\n // Don't change the message. React DevTools relies on it. Also make sure\n // this message doesn't occur elsewhere in this function, or it will cause\n // a false positive.\n throw new Error('^_^');\n }\n try {\n // Verify that the code above has been dead code eliminated (DCE'd).\n __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);\n } catch (err) {\n // DevTools shouldn't crash React, no matter what.\n // We should still report in case we break this code.\n console.error(err);\n }\n}\n\nif (process.env.NODE_ENV === 'production') {\n // DCE check should happen before ReactDOM bundle executes so that\n // DevTools can report bad minification during injection.\n checkDCE();\n module.exports = require('./cjs/react-dom-client.production.js');\n} else {\n module.exports = require('./cjs/react-dom-client.development.js');\n}\n"],"names":[],"mappings":"AA8BI;AA9BJ;AAEA,SAAS;IACP,yCAAyC,GACzC,IACE,OAAO,mCAAmC,eAC1C,OAAO,+BAA+B,QAAQ,KAAK,YACnD;QACA;IACF;IACA,wCAA2C;QACzC,kEAAkE;QAClE,gEAAgE;QAChE,sEAAsE;QACtE,oBAAoB;QACpB,wEAAwE;QACxE,0EAA0E;QAC1E,oBAAoB;QACpB,MAAM,IAAI,MAAM;IAClB;IACA,IAAI;QACF,oEAAoE;QACpE,+BAA+B,QAAQ,CAAC;IAC1C,EAAE,OAAO,KAAK;QACZ,kDAAkD;QAClD,qDAAqD;QACrD,QAAQ,KAAK,CAAC;IAChB;AACF;AAEA;;KAKO;IACL,OAAO,OAAO;AAChB","ignoreList":[0]}}] -} \ No newline at end of file diff --git a/.next/dev/static/chunks/node_modules_next_dist_compiled_react-server-dom-turbopack_9212ccad._.js b/.next/dev/static/chunks/node_modules_next_dist_compiled_react-server-dom-turbopack_9212ccad._.js deleted file mode 100644 index df351be..0000000 --- a/.next/dev/static/chunks/node_modules_next_dist_compiled_react-server-dom-turbopack_9212ccad._.js +++ /dev/null @@ -1,2827 +0,0 @@ -(globalThis.TURBOPACK || (globalThis.TURBOPACK = [])).push([typeof document === "object" ? document.currentScript : undefined, -"[project]/node_modules/next/dist/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.browser.development.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -/** - * @license React - * react-server-dom-turbopack-client.browser.development.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ "use strict"; -"production" !== ("TURBOPACK compile-time value", "development") && function() { - function resolveClientReference(bundlerConfig, metadata) { - if (bundlerConfig) { - var moduleExports = bundlerConfig[metadata[0]]; - if (bundlerConfig = moduleExports && moduleExports[metadata[2]]) moduleExports = bundlerConfig.name; - else { - bundlerConfig = moduleExports && moduleExports["*"]; - if (!bundlerConfig) throw Error('Could not find the module "' + metadata[0] + '" in the React Server Consumer Manifest. This is probably a bug in the React Server Components bundler.'); - moduleExports = metadata[2]; - } - return 4 === metadata.length ? [ - bundlerConfig.id, - bundlerConfig.chunks, - moduleExports, - 1 - ] : [ - bundlerConfig.id, - bundlerConfig.chunks, - moduleExports - ]; - } - return metadata; - } - function resolveServerReference(bundlerConfig, id) { - var name = "", resolvedModuleData = bundlerConfig[id]; - if (resolvedModuleData) name = resolvedModuleData.name; - else { - var idx = id.lastIndexOf("#"); - -1 !== idx && (name = id.slice(idx + 1), resolvedModuleData = bundlerConfig[id.slice(0, idx)]); - if (!resolvedModuleData) throw Error('Could not find the module "' + id + '" in the React Server Manifest. This is probably a bug in the React Server Components bundler.'); - } - return resolvedModuleData.async ? [ - resolvedModuleData.id, - resolvedModuleData.chunks, - name, - 1 - ] : [ - resolvedModuleData.id, - resolvedModuleData.chunks, - name - ]; - } - function requireAsyncModule(id) { - var promise = /*TURBOPACK member replacement*/ __turbopack_context__.r(id); - if ("function" !== typeof promise.then || "fulfilled" === promise.status) return null; - promise.then(function(value) { - promise.status = "fulfilled"; - promise.value = value; - }, function(reason) { - promise.status = "rejected"; - promise.reason = reason; - }); - return promise; - } - function ignoreReject() {} - function preloadModule(metadata) { - for(var chunks = metadata[1], promises = [], i = 0; i < chunks.length; i++){ - var thenable = /*TURBOPACK member replacement*/ __turbopack_context__.L(chunks[i]); - loadedChunks.has(thenable) || promises.push(thenable); - if (!instrumentedChunks.has(thenable)) { - var resolve = loadedChunks.add.bind(loadedChunks, thenable); - thenable.then(resolve, ignoreReject); - instrumentedChunks.add(thenable); - } - } - return 4 === metadata.length ? 0 === promises.length ? requireAsyncModule(metadata[0]) : Promise.all(promises).then(function() { - return requireAsyncModule(metadata[0]); - }) : 0 < promises.length ? Promise.all(promises) : null; - } - function requireModule(metadata) { - var moduleExports = /*TURBOPACK member replacement*/ __turbopack_context__.r(metadata[0]); - if (4 === metadata.length && "function" === typeof moduleExports.then) if ("fulfilled" === moduleExports.status) moduleExports = moduleExports.value; - else throw moduleExports.reason; - if ("*" === metadata[2]) return moduleExports; - if ("" === metadata[2]) return moduleExports.__esModule ? moduleExports.default : moduleExports; - if (hasOwnProperty.call(moduleExports, metadata[2])) return moduleExports[metadata[2]]; - } - function getIteratorFn(maybeIterable) { - if (null === maybeIterable || "object" !== typeof maybeIterable) return null; - maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable["@@iterator"]; - return "function" === typeof maybeIterable ? maybeIterable : null; - } - function isObjectPrototype(object) { - if (!object) return !1; - var ObjectPrototype = Object.prototype; - if (object === ObjectPrototype) return !0; - if (getPrototypeOf(object)) return !1; - object = Object.getOwnPropertyNames(object); - for(var i = 0; i < object.length; i++)if (!(object[i] in ObjectPrototype)) return !1; - return !0; - } - function isSimpleObject(object) { - if (!isObjectPrototype(getPrototypeOf(object))) return !1; - for(var names = Object.getOwnPropertyNames(object), i = 0; i < names.length; i++){ - var descriptor = Object.getOwnPropertyDescriptor(object, names[i]); - if (!descriptor || !descriptor.enumerable && ("key" !== names[i] && "ref" !== names[i] || "function" !== typeof descriptor.get)) return !1; - } - return !0; - } - function objectName(object) { - object = Object.prototype.toString.call(object); - return object.slice(8, object.length - 1); - } - function describeKeyForErrorMessage(key) { - var encodedKey = JSON.stringify(key); - return '"' + key + '"' === encodedKey ? key : encodedKey; - } - function describeValueForErrorMessage(value) { - switch(typeof value){ - case "string": - return JSON.stringify(10 >= value.length ? value : value.slice(0, 10) + "..."); - case "object": - if (isArrayImpl(value)) return "[...]"; - if (null !== value && value.$$typeof === CLIENT_REFERENCE_TAG) return "client"; - value = objectName(value); - return "Object" === value ? "{...}" : value; - case "function": - return value.$$typeof === CLIENT_REFERENCE_TAG ? "client" : (value = value.displayName || value.name) ? "function " + value : "function"; - default: - return String(value); - } - } - function describeElementType(type) { - if ("string" === typeof type) return type; - switch(type){ - case REACT_SUSPENSE_TYPE: - return "Suspense"; - case REACT_SUSPENSE_LIST_TYPE: - return "SuspenseList"; - case REACT_VIEW_TRANSITION_TYPE: - return "ViewTransition"; - } - if ("object" === typeof type) switch(type.$$typeof){ - case REACT_FORWARD_REF_TYPE: - return describeElementType(type.render); - case REACT_MEMO_TYPE: - return describeElementType(type.type); - case REACT_LAZY_TYPE: - var payload = type._payload; - type = type._init; - try { - return describeElementType(type(payload)); - } catch (x) {} - } - return ""; - } - function describeObjectForErrorMessage(objectOrArray, expandedName) { - var objKind = objectName(objectOrArray); - if ("Object" !== objKind && "Array" !== objKind) return objKind; - var start = -1, length = 0; - if (isArrayImpl(objectOrArray)) if (jsxChildrenParents.has(objectOrArray)) { - var type = jsxChildrenParents.get(objectOrArray); - objKind = "<" + describeElementType(type) + ">"; - for(var i = 0; i < objectOrArray.length; i++){ - var value = objectOrArray[i]; - value = "string" === typeof value ? value : "object" === typeof value && null !== value ? "{" + describeObjectForErrorMessage(value) + "}" : "{" + describeValueForErrorMessage(value) + "}"; - "" + i === expandedName ? (start = objKind.length, length = value.length, objKind += value) : objKind = 15 > value.length && 40 > objKind.length + value.length ? objKind + value : objKind + "{...}"; - } - objKind += "</" + describeElementType(type) + ">"; - } else { - objKind = "["; - for(type = 0; type < objectOrArray.length; type++)0 < type && (objKind += ", "), i = objectOrArray[type], i = "object" === typeof i && null !== i ? describeObjectForErrorMessage(i) : describeValueForErrorMessage(i), "" + type === expandedName ? (start = objKind.length, length = i.length, objKind += i) : objKind = 10 > i.length && 40 > objKind.length + i.length ? objKind + i : objKind + "..."; - objKind += "]"; - } - else if (objectOrArray.$$typeof === REACT_ELEMENT_TYPE) objKind = "<" + describeElementType(objectOrArray.type) + "/>"; - else { - if (objectOrArray.$$typeof === CLIENT_REFERENCE_TAG) return "client"; - if (jsxPropsParents.has(objectOrArray)) { - objKind = jsxPropsParents.get(objectOrArray); - objKind = "<" + (describeElementType(objKind) || "..."); - type = Object.keys(objectOrArray); - for(i = 0; i < type.length; i++){ - objKind += " "; - value = type[i]; - objKind += describeKeyForErrorMessage(value) + "="; - var _value2 = objectOrArray[value]; - var _substr2 = value === expandedName && "object" === typeof _value2 && null !== _value2 ? describeObjectForErrorMessage(_value2) : describeValueForErrorMessage(_value2); - "string" !== typeof _value2 && (_substr2 = "{" + _substr2 + "}"); - value === expandedName ? (start = objKind.length, length = _substr2.length, objKind += _substr2) : objKind = 10 > _substr2.length && 40 > objKind.length + _substr2.length ? objKind + _substr2 : objKind + "..."; - } - objKind += ">"; - } else { - objKind = "{"; - type = Object.keys(objectOrArray); - for(i = 0; i < type.length; i++)0 < i && (objKind += ", "), value = type[i], objKind += describeKeyForErrorMessage(value) + ": ", _value2 = objectOrArray[value], _value2 = "object" === typeof _value2 && null !== _value2 ? describeObjectForErrorMessage(_value2) : describeValueForErrorMessage(_value2), value === expandedName ? (start = objKind.length, length = _value2.length, objKind += _value2) : objKind = 10 > _value2.length && 40 > objKind.length + _value2.length ? objKind + _value2 : objKind + "..."; - objKind += "}"; - } - } - return void 0 === expandedName ? objKind : -1 < start && 0 < length ? (objectOrArray = " ".repeat(start) + "^".repeat(length), "\n " + objKind + "\n " + objectOrArray) : "\n " + objKind; - } - function serializeNumber(number) { - return Number.isFinite(number) ? 0 === number && -Infinity === 1 / number ? "$-0" : number : Infinity === number ? "$Infinity" : -Infinity === number ? "$-Infinity" : "$NaN"; - } - function processReply(root, formFieldPrefix, temporaryReferences, resolve, reject) { - function serializeTypedArray(tag, typedArray) { - typedArray = new Blob([ - new Uint8Array(typedArray.buffer, typedArray.byteOffset, typedArray.byteLength) - ]); - var blobId = nextPartId++; - null === formData && (formData = new FormData()); - formData.append(formFieldPrefix + blobId, typedArray); - return "$" + tag + blobId.toString(16); - } - function serializeBinaryReader(reader) { - function progress(entry) { - entry.done ? (entry = nextPartId++, data.append(formFieldPrefix + entry, new Blob(buffer)), data.append(formFieldPrefix + streamId, '"$o' + entry.toString(16) + '"'), data.append(formFieldPrefix + streamId, "C"), pendingParts--, 0 === pendingParts && resolve(data)) : (buffer.push(entry.value), reader.read(new Uint8Array(1024)).then(progress, reject)); - } - null === formData && (formData = new FormData()); - var data = formData; - pendingParts++; - var streamId = nextPartId++, buffer = []; - reader.read(new Uint8Array(1024)).then(progress, reject); - return "$r" + streamId.toString(16); - } - function serializeReader(reader) { - function progress(entry) { - if (entry.done) data.append(formFieldPrefix + streamId, "C"), pendingParts--, 0 === pendingParts && resolve(data); - else try { - var partJSON = JSON.stringify(entry.value, resolveToJSON); - data.append(formFieldPrefix + streamId, partJSON); - reader.read().then(progress, reject); - } catch (x) { - reject(x); - } - } - null === formData && (formData = new FormData()); - var data = formData; - pendingParts++; - var streamId = nextPartId++; - reader.read().then(progress, reject); - return "$R" + streamId.toString(16); - } - function serializeReadableStream(stream) { - try { - var binaryReader = stream.getReader({ - mode: "byob" - }); - } catch (x) { - return serializeReader(stream.getReader()); - } - return serializeBinaryReader(binaryReader); - } - function serializeAsyncIterable(iterable, iterator) { - function progress(entry) { - if (entry.done) { - if (void 0 === entry.value) data.append(formFieldPrefix + streamId, "C"); - else try { - var partJSON = JSON.stringify(entry.value, resolveToJSON); - data.append(formFieldPrefix + streamId, "C" + partJSON); - } catch (x) { - reject(x); - return; - } - pendingParts--; - 0 === pendingParts && resolve(data); - } else try { - var _partJSON = JSON.stringify(entry.value, resolveToJSON); - data.append(formFieldPrefix + streamId, _partJSON); - iterator.next().then(progress, reject); - } catch (x$0) { - reject(x$0); - } - } - null === formData && (formData = new FormData()); - var data = formData; - pendingParts++; - var streamId = nextPartId++; - iterable = iterable === iterator; - iterator.next().then(progress, reject); - return "$" + (iterable ? "x" : "X") + streamId.toString(16); - } - function resolveToJSON(key, value) { - var originalValue = this[key]; - "object" !== typeof originalValue || originalValue === value || originalValue instanceof Date || ("Object" !== objectName(originalValue) ? console.error("Only plain objects can be passed to Server Functions from the Client. %s objects are not supported.%s", objectName(originalValue), describeObjectForErrorMessage(this, key)) : console.error("Only plain objects can be passed to Server Functions from the Client. Objects with toJSON methods are not supported. Convert it manually to a simple value before passing it to props.%s", describeObjectForErrorMessage(this, key))); - if (null === value) return null; - if ("object" === typeof value) { - switch(value.$$typeof){ - case REACT_ELEMENT_TYPE: - if (void 0 !== temporaryReferences && -1 === key.indexOf(":")) { - var parentReference = writtenObjects.get(this); - if (void 0 !== parentReference) return temporaryReferences.set(parentReference + ":" + key, value), "$T"; - } - throw Error("React Element cannot be passed to Server Functions from the Client without a temporary reference set. Pass a TemporaryReferenceSet to the options." + describeObjectForErrorMessage(this, key)); - case REACT_LAZY_TYPE: - originalValue = value._payload; - var init = value._init; - null === formData && (formData = new FormData()); - pendingParts++; - try { - parentReference = init(originalValue); - var lazyId = nextPartId++, partJSON = serializeModel(parentReference, lazyId); - formData.append(formFieldPrefix + lazyId, partJSON); - return "$" + lazyId.toString(16); - } catch (x) { - if ("object" === typeof x && null !== x && "function" === typeof x.then) { - pendingParts++; - var _lazyId = nextPartId++; - parentReference = function() { - try { - var _partJSON2 = serializeModel(value, _lazyId), _data = formData; - _data.append(formFieldPrefix + _lazyId, _partJSON2); - pendingParts--; - 0 === pendingParts && resolve(_data); - } catch (reason) { - reject(reason); - } - }; - x.then(parentReference, parentReference); - return "$" + _lazyId.toString(16); - } - reject(x); - return null; - } finally{ - pendingParts--; - } - } - parentReference = writtenObjects.get(value); - if ("function" === typeof value.then) { - if (void 0 !== parentReference) if (modelRoot === value) modelRoot = null; - else return parentReference; - null === formData && (formData = new FormData()); - pendingParts++; - var promiseId = nextPartId++; - key = "$@" + promiseId.toString(16); - writtenObjects.set(value, key); - value.then(function(partValue) { - try { - var previousReference = writtenObjects.get(partValue); - var _partJSON3 = void 0 !== previousReference ? JSON.stringify(previousReference) : serializeModel(partValue, promiseId); - partValue = formData; - partValue.append(formFieldPrefix + promiseId, _partJSON3); - pendingParts--; - 0 === pendingParts && resolve(partValue); - } catch (reason) { - reject(reason); - } - }, reject); - return key; - } - if (void 0 !== parentReference) if (modelRoot === value) modelRoot = null; - else return parentReference; - else -1 === key.indexOf(":") && (parentReference = writtenObjects.get(this), void 0 !== parentReference && (parentReference = parentReference + ":" + key, writtenObjects.set(value, parentReference), void 0 !== temporaryReferences && temporaryReferences.set(parentReference, value))); - if (isArrayImpl(value)) return value; - if (value instanceof FormData) { - null === formData && (formData = new FormData()); - var _data3 = formData; - key = nextPartId++; - var prefix = formFieldPrefix + key + "_"; - value.forEach(function(originalValue, originalKey) { - _data3.append(prefix + originalKey, originalValue); - }); - return "$K" + key.toString(16); - } - if (value instanceof Map) return key = nextPartId++, parentReference = serializeModel(Array.from(value), key), null === formData && (formData = new FormData()), formData.append(formFieldPrefix + key, parentReference), "$Q" + key.toString(16); - if (value instanceof Set) return key = nextPartId++, parentReference = serializeModel(Array.from(value), key), null === formData && (formData = new FormData()), formData.append(formFieldPrefix + key, parentReference), "$W" + key.toString(16); - if (value instanceof ArrayBuffer) return key = new Blob([ - value - ]), parentReference = nextPartId++, null === formData && (formData = new FormData()), formData.append(formFieldPrefix + parentReference, key), "$A" + parentReference.toString(16); - if (value instanceof Int8Array) return serializeTypedArray("O", value); - if (value instanceof Uint8Array) return serializeTypedArray("o", value); - if (value instanceof Uint8ClampedArray) return serializeTypedArray("U", value); - if (value instanceof Int16Array) return serializeTypedArray("S", value); - if (value instanceof Uint16Array) return serializeTypedArray("s", value); - if (value instanceof Int32Array) return serializeTypedArray("L", value); - if (value instanceof Uint32Array) return serializeTypedArray("l", value); - if (value instanceof Float32Array) return serializeTypedArray("G", value); - if (value instanceof Float64Array) return serializeTypedArray("g", value); - if (value instanceof BigInt64Array) return serializeTypedArray("M", value); - if (value instanceof BigUint64Array) return serializeTypedArray("m", value); - if (value instanceof DataView) return serializeTypedArray("V", value); - if ("function" === typeof Blob && value instanceof Blob) return null === formData && (formData = new FormData()), key = nextPartId++, formData.append(formFieldPrefix + key, value), "$B" + key.toString(16); - if (parentReference = getIteratorFn(value)) return parentReference = parentReference.call(value), parentReference === value ? (key = nextPartId++, parentReference = serializeModel(Array.from(parentReference), key), null === formData && (formData = new FormData()), formData.append(formFieldPrefix + key, parentReference), "$i" + key.toString(16)) : Array.from(parentReference); - if ("function" === typeof ReadableStream && value instanceof ReadableStream) return serializeReadableStream(value); - parentReference = value[ASYNC_ITERATOR]; - if ("function" === typeof parentReference) return serializeAsyncIterable(value, parentReference.call(value)); - parentReference = getPrototypeOf(value); - if (parentReference !== ObjectPrototype && (null === parentReference || null !== getPrototypeOf(parentReference))) { - if (void 0 === temporaryReferences) throw Error("Only plain objects, and a few built-ins, can be passed to Server Functions. Classes or null prototypes are not supported." + describeObjectForErrorMessage(this, key)); - return "$T"; - } - value.$$typeof === REACT_CONTEXT_TYPE ? console.error("React Context Providers cannot be passed to Server Functions from the Client.%s", describeObjectForErrorMessage(this, key)) : "Object" !== objectName(value) ? console.error("Only plain objects can be passed to Server Functions from the Client. %s objects are not supported.%s", objectName(value), describeObjectForErrorMessage(this, key)) : isSimpleObject(value) ? Object.getOwnPropertySymbols && (parentReference = Object.getOwnPropertySymbols(value), 0 < parentReference.length && console.error("Only plain objects can be passed to Server Functions from the Client. Objects with symbol properties like %s are not supported.%s", parentReference[0].description, describeObjectForErrorMessage(this, key))) : console.error("Only plain objects can be passed to Server Functions from the Client. Classes or other objects with methods are not supported.%s", describeObjectForErrorMessage(this, key)); - return value; - } - if ("string" === typeof value) { - if ("Z" === value[value.length - 1] && this[key] instanceof Date) return "$D" + value; - key = "$" === value[0] ? "$" + value : value; - return key; - } - if ("boolean" === typeof value) return value; - if ("number" === typeof value) return serializeNumber(value); - if ("undefined" === typeof value) return "$undefined"; - if ("function" === typeof value) { - parentReference = knownServerReferences.get(value); - if (void 0 !== parentReference) return key = JSON.stringify({ - id: parentReference.id, - bound: parentReference.bound - }, resolveToJSON), null === formData && (formData = new FormData()), parentReference = nextPartId++, formData.set(formFieldPrefix + parentReference, key), "$h" + parentReference.toString(16); - if (void 0 !== temporaryReferences && -1 === key.indexOf(":") && (parentReference = writtenObjects.get(this), void 0 !== parentReference)) return temporaryReferences.set(parentReference + ":" + key, value), "$T"; - throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again."); - } - if ("symbol" === typeof value) { - if (void 0 !== temporaryReferences && -1 === key.indexOf(":") && (parentReference = writtenObjects.get(this), void 0 !== parentReference)) return temporaryReferences.set(parentReference + ":" + key, value), "$T"; - throw Error("Symbols cannot be passed to a Server Function without a temporary reference set. Pass a TemporaryReferenceSet to the options." + describeObjectForErrorMessage(this, key)); - } - if ("bigint" === typeof value) return "$n" + value.toString(10); - throw Error("Type " + typeof value + " is not supported as an argument to a Server Function."); - } - function serializeModel(model, id) { - "object" === typeof model && null !== model && (id = "$" + id.toString(16), writtenObjects.set(model, id), void 0 !== temporaryReferences && temporaryReferences.set(id, model)); - modelRoot = model; - return JSON.stringify(model, resolveToJSON); - } - var nextPartId = 1, pendingParts = 0, formData = null, writtenObjects = new WeakMap(), modelRoot = root, json = serializeModel(root, 0); - null === formData ? resolve(json) : (formData.set(formFieldPrefix + "0", json), 0 === pendingParts && resolve(formData)); - return function() { - 0 < pendingParts && (pendingParts = 0, null === formData ? resolve(json) : resolve(formData)); - }; - } - function createFakeServerFunction(name, filename, sourceMap, line, col, environmentName, innerFunction) { - name || (name = "<anonymous>"); - var encodedName = JSON.stringify(name); - 1 >= line ? (line = encodedName.length + 7, col = "s=>({" + encodedName + " ".repeat(col < line ? 0 : col - line) + ":(...args) => s(...args)})\n/* This module is a proxy to a Server Action. Turn on Source Maps to see the server source. */") : col = "/* This module is a proxy to a Server Action. Turn on Source Maps to see the server source. */" + "\n".repeat(line - 2) + "server=>({" + encodedName + ":\n" + " ".repeat(1 > col ? 0 : col - 1) + "(...args) => server(...args)})"; - filename.startsWith("/") && (filename = "file://" + filename); - sourceMap ? (col += "\n//# sourceURL=about://React/" + encodeURIComponent(environmentName) + "/" + encodeURI(filename) + "?s" + fakeServerFunctionIdx++, col += "\n//# sourceMappingURL=" + sourceMap) : filename && (col += "\n//# sourceURL=" + filename); - try { - return (0, eval)(col)(innerFunction)[name]; - } catch (x) { - return innerFunction; - } - } - function registerBoundServerReference(reference, id, bound) { - knownServerReferences.has(reference) || knownServerReferences.set(reference, { - id: id, - originalBind: reference.bind, - bound: bound - }); - } - function createBoundServerReference(metaData, callServer, encodeFormAction, findSourceMapURL) { - function action() { - var args = Array.prototype.slice.call(arguments); - return bound ? "fulfilled" === bound.status ? callServer(id, bound.value.concat(args)) : Promise.resolve(bound).then(function(boundArgs) { - return callServer(id, boundArgs.concat(args)); - }) : callServer(id, args); - } - var id = metaData.id, bound = metaData.bound, location = metaData.location; - if (location) { - encodeFormAction = metaData.name || ""; - var filename = location[1], line = location[2]; - location = location[3]; - metaData = metaData.env || "Server"; - findSourceMapURL = null == findSourceMapURL ? null : findSourceMapURL(filename, metaData); - action = createFakeServerFunction(encodeFormAction, filename, findSourceMapURL, line, location, metaData, action); - } - registerBoundServerReference(action, id, bound); - return action; - } - function parseStackLocation(error) { - error = error.stack; - error.startsWith("Error: react-stack-top-frame\n") && (error = error.slice(29)); - var endOfFirst = error.indexOf("\n"); - if (-1 !== endOfFirst) { - var endOfSecond = error.indexOf("\n", endOfFirst + 1); - endOfFirst = -1 === endOfSecond ? error.slice(endOfFirst + 1) : error.slice(endOfFirst + 1, endOfSecond); - } else endOfFirst = error; - error = v8FrameRegExp.exec(endOfFirst); - if (!error && (error = jscSpiderMonkeyFrameRegExp.exec(endOfFirst), !error)) return null; - endOfFirst = error[1] || ""; - "<anonymous>" === endOfFirst && (endOfFirst = ""); - endOfSecond = error[2] || error[5] || ""; - "<anonymous>" === endOfSecond && (endOfSecond = ""); - return [ - endOfFirst, - endOfSecond, - +(error[3] || error[6]), - +(error[4] || error[7]) - ]; - } - function getComponentNameFromType(type) { - if (null == type) return null; - if ("function" === typeof type) return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null; - if ("string" === typeof type) return type; - switch(type){ - case REACT_FRAGMENT_TYPE: - return "Fragment"; - case REACT_PROFILER_TYPE: - return "Profiler"; - case REACT_STRICT_MODE_TYPE: - return "StrictMode"; - case REACT_SUSPENSE_TYPE: - return "Suspense"; - case REACT_SUSPENSE_LIST_TYPE: - return "SuspenseList"; - case REACT_ACTIVITY_TYPE: - return "Activity"; - case REACT_VIEW_TRANSITION_TYPE: - return "ViewTransition"; - } - if ("object" === typeof type) switch("number" === typeof type.tag && console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), type.$$typeof){ - case REACT_PORTAL_TYPE: - return "Portal"; - case REACT_CONTEXT_TYPE: - return type.displayName || "Context"; - case REACT_CONSUMER_TYPE: - return (type._context.displayName || "Context") + ".Consumer"; - case REACT_FORWARD_REF_TYPE: - var innerType = type.render; - type = type.displayName; - type || (type = innerType.displayName || innerType.name || "", type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef"); - return type; - case REACT_MEMO_TYPE: - return innerType = type.displayName || null, null !== innerType ? innerType : getComponentNameFromType(type.type) || "Memo"; - case REACT_LAZY_TYPE: - innerType = type._payload; - type = type._init; - try { - return getComponentNameFromType(type(innerType)); - } catch (x) {} - } - return null; - } - function getArrayKind(array) { - for(var kind = 0, i = 0; i < array.length && 100 > i; i++){ - var value = array[i]; - if ("object" === typeof value && null !== value) if (isArrayImpl(value) && 2 === value.length && "string" === typeof value[0]) { - if (0 !== kind && 3 !== kind) return 1; - kind = 3; - } else return 1; - else { - if ("function" === typeof value || "string" === typeof value && 50 < value.length || 0 !== kind && 2 !== kind) return 1; - kind = 2; - } - } - return kind; - } - function addObjectToProperties(object, properties, indent, prefix) { - var addedProperties = 0, key; - for(key in object)if (hasOwnProperty.call(object, key) && "_" !== key[0] && (addedProperties++, addValueToProperties(key, object[key], properties, indent, prefix), 100 <= addedProperties)) { - properties.push([ - prefix + "\u00a0\u00a0".repeat(indent) + "Only 100 properties are shown. React will not log more properties of this object.", - "" - ]); - break; - } - } - function addValueToProperties(propertyName, value, properties, indent, prefix) { - switch(typeof value){ - case "object": - if (null === value) { - value = "null"; - break; - } else { - if (value.$$typeof === REACT_ELEMENT_TYPE) { - var typeName = getComponentNameFromType(value.type) || "\u2026", key = value.key; - value = value.props; - var propsKeys = Object.keys(value), propsLength = propsKeys.length; - if (null == key && 0 === propsLength) { - value = "<" + typeName + " />"; - break; - } - if (3 > indent || 1 === propsLength && "children" === propsKeys[0] && null == key) { - value = "<" + typeName + " \u2026 />"; - break; - } - properties.push([ - prefix + "\u00a0\u00a0".repeat(indent) + propertyName, - "<" + typeName - ]); - null !== key && addValueToProperties("key", key, properties, indent + 1, prefix); - propertyName = !1; - key = 0; - for(var propKey in value)if (key++, "children" === propKey ? null != value.children && (!isArrayImpl(value.children) || 0 < value.children.length) && (propertyName = !0) : hasOwnProperty.call(value, propKey) && "_" !== propKey[0] && addValueToProperties(propKey, value[propKey], properties, indent + 1, prefix), 100 <= key) break; - properties.push([ - "", - propertyName ? ">\u2026</" + typeName + ">" : "/>" - ]); - return; - } - typeName = Object.prototype.toString.call(value); - propKey = typeName.slice(8, typeName.length - 1); - if ("Array" === propKey) { - if (typeName = 100 < value.length, key = getArrayKind(value), 2 === key || 0 === key) { - value = JSON.stringify(typeName ? value.slice(0, 100).concat("\u2026") : value); - break; - } else if (3 === key) { - properties.push([ - prefix + "\u00a0\u00a0".repeat(indent) + propertyName, - "" - ]); - for(propertyName = 0; propertyName < value.length && 100 > propertyName; propertyName++)propKey = value[propertyName], addValueToProperties(propKey[0], propKey[1], properties, indent + 1, prefix); - typeName && addValueToProperties(100..toString(), "\u2026", properties, indent + 1, prefix); - return; - } - } - if ("Promise" === propKey) { - if ("fulfilled" === value.status) { - if (typeName = properties.length, addValueToProperties(propertyName, value.value, properties, indent, prefix), properties.length > typeName) { - properties = properties[typeName]; - properties[1] = "Promise<" + (properties[1] || "Object") + ">"; - return; - } - } else if ("rejected" === value.status && (typeName = properties.length, addValueToProperties(propertyName, value.reason, properties, indent, prefix), properties.length > typeName)) { - properties = properties[typeName]; - properties[1] = "Rejected Promise<" + properties[1] + ">"; - return; - } - properties.push([ - "\u00a0\u00a0".repeat(indent) + propertyName, - "Promise" - ]); - return; - } - "Object" === propKey && (typeName = Object.getPrototypeOf(value)) && "function" === typeof typeName.constructor && (propKey = typeName.constructor.name); - properties.push([ - prefix + "\u00a0\u00a0".repeat(indent) + propertyName, - "Object" === propKey ? 3 > indent ? "" : "\u2026" : propKey - ]); - 3 > indent && addObjectToProperties(value, properties, indent + 1, prefix); - return; - } - case "function": - value = "" === value.name ? "() => {}" : value.name + "() {}"; - break; - case "string": - value = "This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects." === value ? "\u2026" : JSON.stringify(value); - break; - case "undefined": - value = "undefined"; - break; - case "boolean": - value = value ? "true" : "false"; - break; - default: - value = String(value); - } - properties.push([ - prefix + "\u00a0\u00a0".repeat(indent) + propertyName, - value - ]); - } - function getIODescription(value) { - try { - switch(typeof value){ - case "function": - return value.name || ""; - case "object": - if (null === value) return ""; - if (value instanceof Error) return String(value.message); - if ("string" === typeof value.url) return value.url; - if ("string" === typeof value.href) return value.href; - if ("string" === typeof value.src) return value.src; - if ("string" === typeof value.currentSrc) return value.currentSrc; - if ("string" === typeof value.command) return value.command; - if ("object" === typeof value.request && null !== value.request && "string" === typeof value.request.url) return value.request.url; - if ("object" === typeof value.response && null !== value.response && "string" === typeof value.response.url) return value.response.url; - if ("string" === typeof value.id || "number" === typeof value.id || "bigint" === typeof value.id) return String(value.id); - if ("string" === typeof value.name) return value.name; - var str = value.toString(); - return str.startsWith("[object ") || 5 > str.length || 500 < str.length ? "" : str; - case "string": - return 5 > value.length || 500 < value.length ? "" : value; - case "number": - case "bigint": - return String(value); - default: - return ""; - } - } catch (x) { - return ""; - } - } - function markAllTracksInOrder() { - supportsUserTiming && (console.timeStamp("Server Requests Track", 0.001, 0.001, "Server Requests \u269b", void 0, "primary-light"), console.timeStamp("Server Components Track", 0.001, 0.001, "Primary", "Server Components \u269b", "primary-light")); - } - function getIOColor(functionName) { - switch(functionName.charCodeAt(0) % 3){ - case 0: - return "tertiary-light"; - case 1: - return "tertiary"; - default: - return "tertiary-dark"; - } - } - function getIOLongName(ioInfo, description, env, rootEnv) { - ioInfo = ioInfo.name; - description = "" === description ? ioInfo : ioInfo + " (" + description + ")"; - return env === rootEnv || void 0 === env ? description : description + " [" + env + "]"; - } - function getIOShortName(ioInfo, description, env, rootEnv) { - ioInfo = ioInfo.name; - env = env === rootEnv || void 0 === env ? "" : " [" + env + "]"; - var desc = ""; - rootEnv = 30 - ioInfo.length - env.length; - if (1 < rootEnv) { - var l = description.length; - if (0 < l && l <= rootEnv) desc = " (" + description + ")"; - else if (description.startsWith("http://") || description.startsWith("https://") || description.startsWith("/")) { - var queryIdx = description.indexOf("?"); - -1 === queryIdx && (queryIdx = description.length); - 47 === description.charCodeAt(queryIdx - 1) && queryIdx--; - desc = description.lastIndexOf("/", queryIdx - 1); - queryIdx - desc < rootEnv ? desc = " (\u2026" + description.slice(desc, queryIdx) + ")" : (l = description.slice(desc, desc + rootEnv / 2), description = description.slice(queryIdx - rootEnv / 2, queryIdx), desc = " (" + (0 < desc ? "\u2026" : "") + l + "\u2026" + description + ")"); - } - } - return ioInfo + desc + env; - } - function logComponentAwait(asyncInfo, trackIdx, startTime, endTime, rootEnv, value) { - if (supportsUserTiming && 0 < endTime) { - var description = getIODescription(value), name = getIOShortName(asyncInfo.awaited, description, asyncInfo.env, rootEnv), entryName = "await " + name; - name = getIOColor(name); - var debugTask = asyncInfo.debugTask || asyncInfo.awaited.debugTask; - if (debugTask) { - var properties = []; - "object" === typeof value && null !== value ? addObjectToProperties(value, properties, 0, "") : void 0 !== value && addValueToProperties("awaited value", value, properties, 0, ""); - asyncInfo = getIOLongName(asyncInfo.awaited, description, asyncInfo.env, rootEnv); - debugTask.run(performance.measure.bind(performance, entryName, { - start: 0 > startTime ? 0 : startTime, - end: endTime, - detail: { - devtools: { - color: name, - track: trackNames[trackIdx], - trackGroup: "Server Components \u269b", - properties: properties, - tooltipText: asyncInfo - } - } - })); - performance.clearMeasures(entryName); - } else console.timeStamp(entryName, 0 > startTime ? 0 : startTime, endTime, trackNames[trackIdx], "Server Components \u269b", name); - } - } - function logIOInfoErrored(ioInfo, rootEnv, error) { - var startTime = ioInfo.start, endTime = ioInfo.end; - if (supportsUserTiming && 0 <= endTime) { - var description = getIODescription(error), entryName = getIOShortName(ioInfo, description, ioInfo.env, rootEnv), debugTask = ioInfo.debugTask; - entryName = "\u200b" + entryName; - debugTask ? (error = [ - [ - "rejected with", - "object" === typeof error && null !== error && "string" === typeof error.message ? String(error.message) : String(error) - ] - ], ioInfo = getIOLongName(ioInfo, description, ioInfo.env, rootEnv) + " Rejected", debugTask.run(performance.measure.bind(performance, entryName, { - start: 0 > startTime ? 0 : startTime, - end: endTime, - detail: { - devtools: { - color: "error", - track: "Server Requests \u269b", - properties: error, - tooltipText: ioInfo - } - } - })), performance.clearMeasures(entryName)) : console.timeStamp(entryName, 0 > startTime ? 0 : startTime, endTime, "Server Requests \u269b", void 0, "error"); - } - } - function logIOInfo(ioInfo, rootEnv, value) { - var startTime = ioInfo.start, endTime = ioInfo.end; - if (supportsUserTiming && 0 <= endTime) { - var description = getIODescription(value), entryName = getIOShortName(ioInfo, description, ioInfo.env, rootEnv), color = getIOColor(entryName), debugTask = ioInfo.debugTask; - entryName = "\u200b" + entryName; - if (debugTask) { - var properties = []; - "object" === typeof value && null !== value ? addObjectToProperties(value, properties, 0, "") : void 0 !== value && addValueToProperties("Resolved", value, properties, 0, ""); - ioInfo = getIOLongName(ioInfo, description, ioInfo.env, rootEnv); - debugTask.run(performance.measure.bind(performance, entryName, { - start: 0 > startTime ? 0 : startTime, - end: endTime, - detail: { - devtools: { - color: color, - track: "Server Requests \u269b", - properties: properties, - tooltipText: ioInfo - } - } - })); - performance.clearMeasures(entryName); - } else console.timeStamp(entryName, 0 > startTime ? 0 : startTime, endTime, "Server Requests \u269b", void 0, color); - } - } - function ReactPromise(status, value, reason) { - this.status = status; - this.value = value; - this.reason = reason; - this._children = []; - this._debugChunk = null; - this._debugInfo = []; - } - function unwrapWeakResponse(weakResponse) { - weakResponse = weakResponse.weak.deref(); - if (void 0 === weakResponse) throw Error("We did not expect to receive new data after GC:ing the response."); - return weakResponse; - } - function closeDebugChannel(debugChannel) { - debugChannel.callback && debugChannel.callback(""); - } - function readChunk(chunk) { - switch(chunk.status){ - case "resolved_model": - initializeModelChunk(chunk); - break; - case "resolved_module": - initializeModuleChunk(chunk); - } - switch(chunk.status){ - case "fulfilled": - return chunk.value; - case "pending": - case "blocked": - case "halted": - throw chunk; - default: - throw chunk.reason; - } - } - function getRoot(weakResponse) { - weakResponse = unwrapWeakResponse(weakResponse); - return getChunk(weakResponse, 0); - } - function createPendingChunk(response) { - 0 === response._pendingChunks++ && (response._weakResponse.response = response, null !== response._pendingInitialRender && (clearTimeout(response._pendingInitialRender), response._pendingInitialRender = null)); - return new ReactPromise("pending", null, null); - } - function releasePendingChunk(response, chunk) { - "pending" === chunk.status && 0 === --response._pendingChunks && (response._weakResponse.response = null, response._pendingInitialRender = setTimeout(flushInitialRenderPerformance.bind(null, response), 100)); - } - function filterDebugInfo(response, value) { - if (null !== response._debugEndTime) { - response = response._debugEndTime - performance.timeOrigin; - for(var debugInfo = [], i = 0; i < value._debugInfo.length; i++){ - var info = value._debugInfo[i]; - if ("number" === typeof info.time && info.time > response) break; - debugInfo.push(info); - } - value._debugInfo = debugInfo; - } - } - function moveDebugInfoFromChunkToInnerValue(chunk, value) { - value = resolveLazy(value); - "object" !== typeof value || null === value || !isArrayImpl(value) && "function" !== typeof value[ASYNC_ITERATOR] && value.$$typeof !== REACT_ELEMENT_TYPE && value.$$typeof !== REACT_LAZY_TYPE || (chunk = chunk._debugInfo.splice(0), isArrayImpl(value._debugInfo) ? value._debugInfo.unshift.apply(value._debugInfo, chunk) : Object.defineProperty(value, "_debugInfo", { - configurable: !1, - enumerable: !1, - writable: !0, - value: chunk - })); - } - function wakeChunk(response, listeners, value, chunk) { - for(var i = 0; i < listeners.length; i++){ - var listener = listeners[i]; - "function" === typeof listener ? listener(value) : fulfillReference(response, listener, value, chunk); - } - filterDebugInfo(response, chunk); - moveDebugInfoFromChunkToInnerValue(chunk, value); - } - function rejectChunk(response, listeners, error) { - for(var i = 0; i < listeners.length; i++){ - var listener = listeners[i]; - "function" === typeof listener ? listener(error) : rejectReference(response, listener.handler, error); - } - } - function resolveBlockedCycle(resolvedChunk, reference) { - var referencedChunk = reference.handler.chunk; - if (null === referencedChunk) return null; - if (referencedChunk === resolvedChunk) return reference.handler; - reference = referencedChunk.value; - if (null !== reference) for(referencedChunk = 0; referencedChunk < reference.length; referencedChunk++){ - var listener = reference[referencedChunk]; - if ("function" !== typeof listener && (listener = resolveBlockedCycle(resolvedChunk, listener), null !== listener)) return listener; - } - return null; - } - function wakeChunkIfInitialized(response, chunk, resolveListeners, rejectListeners) { - switch(chunk.status){ - case "fulfilled": - wakeChunk(response, resolveListeners, chunk.value, chunk); - break; - case "blocked": - for(var i = 0; i < resolveListeners.length; i++){ - var listener = resolveListeners[i]; - if ("function" !== typeof listener) { - var cyclicHandler = resolveBlockedCycle(chunk, listener); - if (null !== cyclicHandler) switch(fulfillReference(response, listener, cyclicHandler.value, chunk), resolveListeners.splice(i, 1), i--, null !== rejectListeners && (listener = rejectListeners.indexOf(listener), -1 !== listener && rejectListeners.splice(listener, 1)), chunk.status){ - case "fulfilled": - wakeChunk(response, resolveListeners, chunk.value, chunk); - return; - case "rejected": - null !== rejectListeners && rejectChunk(response, rejectListeners, chunk.reason); - return; - } - } - } - case "pending": - if (chunk.value) for(response = 0; response < resolveListeners.length; response++)chunk.value.push(resolveListeners[response]); - else chunk.value = resolveListeners; - if (chunk.reason) { - if (rejectListeners) for(resolveListeners = 0; resolveListeners < rejectListeners.length; resolveListeners++)chunk.reason.push(rejectListeners[resolveListeners]); - } else chunk.reason = rejectListeners; - break; - case "rejected": - rejectListeners && rejectChunk(response, rejectListeners, chunk.reason); - } - } - function triggerErrorOnChunk(response, chunk, error) { - if ("pending" !== chunk.status && "blocked" !== chunk.status) chunk.reason.error(error); - else { - releasePendingChunk(response, chunk); - var listeners = chunk.reason; - if ("pending" === chunk.status && null != chunk._debugChunk) { - var prevHandler = initializingHandler, prevChunk = initializingChunk; - initializingHandler = null; - chunk.status = "blocked"; - chunk.value = null; - chunk.reason = null; - initializingChunk = chunk; - try { - initializeDebugChunk(response, chunk); - } finally{ - initializingHandler = prevHandler, initializingChunk = prevChunk; - } - } - chunk.status = "rejected"; - chunk.reason = error; - null !== listeners && rejectChunk(response, listeners, error); - } - } - function createResolvedModelChunk(response, value) { - return new ReactPromise("resolved_model", value, response); - } - function createResolvedIteratorResultChunk(response, value, done) { - return new ReactPromise("resolved_model", (done ? '{"done":true,"value":' : '{"done":false,"value":') + value + "}", response); - } - function resolveIteratorResultChunk(response, chunk, value, done) { - resolveModelChunk(response, chunk, (done ? '{"done":true,"value":' : '{"done":false,"value":') + value + "}"); - } - function resolveModelChunk(response, chunk, value) { - if ("pending" !== chunk.status) chunk.reason.enqueueModel(value); - else { - releasePendingChunk(response, chunk); - var resolveListeners = chunk.value, rejectListeners = chunk.reason; - chunk.status = "resolved_model"; - chunk.value = value; - chunk.reason = response; - null !== resolveListeners && (initializeModelChunk(chunk), wakeChunkIfInitialized(response, chunk, resolveListeners, rejectListeners)); - } - } - function resolveModuleChunk(response, chunk, value) { - if ("pending" === chunk.status || "blocked" === chunk.status) { - releasePendingChunk(response, chunk); - var resolveListeners = chunk.value, rejectListeners = chunk.reason; - chunk.status = "resolved_module"; - chunk.value = value; - chunk.reason = null; - value = value[1]; - for(var debugInfo = [], i = 0; i < value.length;){ - var chunkFilename = value[i++], href = void 0, target = debugInfo, ioInfo = chunkIOInfoCache.get(chunkFilename); - if (void 0 === ioInfo) { - try { - href = new URL(chunkFilename, document.baseURI).href; - } catch (_) { - href = chunkFilename; - } - var end = ioInfo = -1, byteSize = 0; - if ("function" === typeof performance.getEntriesByType) for(var resourceEntries = performance.getEntriesByType("resource"), i$jscomp$0 = 0; i$jscomp$0 < resourceEntries.length; i$jscomp$0++){ - var resourceEntry = resourceEntries[i$jscomp$0]; - resourceEntry.name === href && (ioInfo = resourceEntry.startTime, end = ioInfo + resourceEntry.duration, byteSize = resourceEntry.transferSize || 0); - } - resourceEntries = Promise.resolve(href); - resourceEntries.status = "fulfilled"; - resourceEntries.value = href; - i$jscomp$0 = Error("react-stack-top-frame"); - i$jscomp$0.stack.startsWith("Error: react-stack-top-frame") ? i$jscomp$0.stack = "Error: react-stack-top-frame\n at Client Component Bundle (" + href + ":1:1)\n at Client Component Bundle (" + href + ":1:1)" : i$jscomp$0.stack = "Client Component Bundle@" + href + ":1:1\nClient Component Bundle@" + href + ":1:1"; - ioInfo = { - name: "script", - start: ioInfo, - end: end, - value: resourceEntries, - debugStack: i$jscomp$0 - }; - 0 < byteSize && (ioInfo.byteSize = byteSize); - chunkIOInfoCache.set(chunkFilename, ioInfo); - } - target.push({ - awaited: ioInfo - }); - } - null !== debugInfo && chunk._debugInfo.push.apply(chunk._debugInfo, debugInfo); - null !== resolveListeners && (initializeModuleChunk(chunk), wakeChunkIfInitialized(response, chunk, resolveListeners, rejectListeners)); - } - } - function initializeDebugChunk(response, chunk) { - var debugChunk = chunk._debugChunk; - if (null !== debugChunk) { - var debugInfo = chunk._debugInfo; - try { - if ("resolved_model" === debugChunk.status) { - for(var idx = debugInfo.length, c = debugChunk._debugChunk; null !== c;)"fulfilled" !== c.status && idx++, c = c._debugChunk; - initializeModelChunk(debugChunk); - switch(debugChunk.status){ - case "fulfilled": - debugInfo[idx] = initializeDebugInfo(response, debugChunk.value); - break; - case "blocked": - case "pending": - waitForReference(debugChunk, debugInfo, "" + idx, response, initializeDebugInfo, [ - "" - ], !0); - break; - default: - throw debugChunk.reason; - } - } else switch(debugChunk.status){ - case "fulfilled": - break; - case "blocked": - case "pending": - waitForReference(debugChunk, {}, "debug", response, initializeDebugInfo, [ - "" - ], !0); - break; - default: - throw debugChunk.reason; - } - } catch (error) { - triggerErrorOnChunk(response, chunk, error); - } - } - } - function initializeModelChunk(chunk) { - var prevHandler = initializingHandler, prevChunk = initializingChunk; - initializingHandler = null; - var resolvedModel = chunk.value, response = chunk.reason; - chunk.status = "blocked"; - chunk.value = null; - chunk.reason = null; - initializingChunk = chunk; - initializeDebugChunk(response, chunk); - try { - var value = JSON.parse(resolvedModel, response._fromJSON), resolveListeners = chunk.value; - if (null !== resolveListeners) for(chunk.value = null, chunk.reason = null, resolvedModel = 0; resolvedModel < resolveListeners.length; resolvedModel++){ - var listener = resolveListeners[resolvedModel]; - "function" === typeof listener ? listener(value) : fulfillReference(response, listener, value, chunk); - } - if (null !== initializingHandler) { - if (initializingHandler.errored) throw initializingHandler.reason; - if (0 < initializingHandler.deps) { - initializingHandler.value = value; - initializingHandler.chunk = chunk; - return; - } - } - chunk.status = "fulfilled"; - chunk.value = value; - filterDebugInfo(response, chunk); - moveDebugInfoFromChunkToInnerValue(chunk, value); - } catch (error) { - chunk.status = "rejected", chunk.reason = error; - } finally{ - initializingHandler = prevHandler, initializingChunk = prevChunk; - } - } - function initializeModuleChunk(chunk) { - try { - var value = requireModule(chunk.value); - chunk.status = "fulfilled"; - chunk.value = value; - } catch (error) { - chunk.status = "rejected", chunk.reason = error; - } - } - function reportGlobalError(weakResponse, error) { - if (void 0 !== weakResponse.weak.deref()) { - var response = unwrapWeakResponse(weakResponse); - response._closed = !0; - response._closedReason = error; - response._chunks.forEach(function(chunk) { - "pending" === chunk.status ? triggerErrorOnChunk(response, chunk, error) : "fulfilled" === chunk.status && null !== chunk.reason && chunk.reason.error(error); - }); - weakResponse = response._debugChannel; - void 0 !== weakResponse && (closeDebugChannel(weakResponse), response._debugChannel = void 0, null !== debugChannelRegistry && debugChannelRegistry.unregister(response)); - } - } - function nullRefGetter() { - return null; - } - function getTaskName(type) { - if (type === REACT_FRAGMENT_TYPE) return "<>"; - if ("function" === typeof type) return '"use client"'; - if ("object" === typeof type && null !== type && type.$$typeof === REACT_LAZY_TYPE) return type._init === readChunk ? '"use client"' : "<...>"; - try { - var name = getComponentNameFromType(type); - return name ? "<" + name + ">" : "<...>"; - } catch (x) { - return "<...>"; - } - } - function initializeElement(response, element, lazyNode) { - var stack = element._debugStack, owner = element._owner; - null === owner && (element._owner = response._debugRootOwner); - var env = response._rootEnvironmentName; - null !== owner && null != owner.env && (env = owner.env); - var normalizedStackTrace = null; - null === owner && null != response._debugRootStack ? normalizedStackTrace = response._debugRootStack : null !== stack && (normalizedStackTrace = createFakeJSXCallStackInDEV(response, stack, env)); - element._debugStack = normalizedStackTrace; - normalizedStackTrace = null; - supportsCreateTask && null !== stack && (normalizedStackTrace = console.createTask.bind(console, getTaskName(element.type)), stack = buildFakeCallStack(response, stack, env, !1, normalizedStackTrace), env = null === owner ? null : initializeFakeTask(response, owner), null === env ? (env = response._debugRootTask, normalizedStackTrace = null != env ? env.run(stack) : stack()) : normalizedStackTrace = env.run(stack)); - element._debugTask = normalizedStackTrace; - null !== owner && initializeFakeStack(response, owner); - null !== lazyNode && (lazyNode._store && lazyNode._store.validated && !element._store.validated && (element._store.validated = lazyNode._store.validated), "fulfilled" === lazyNode._payload.status && lazyNode._debugInfo && (response = lazyNode._debugInfo.splice(0), element._debugInfo ? element._debugInfo.unshift.apply(element._debugInfo, response) : Object.defineProperty(element, "_debugInfo", { - configurable: !1, - enumerable: !1, - writable: !0, - value: response - }))); - Object.freeze(element.props); - } - function createLazyChunkWrapper(chunk, validated) { - var lazyType = { - $$typeof: REACT_LAZY_TYPE, - _payload: chunk, - _init: readChunk - }; - lazyType._debugInfo = chunk._debugInfo; - lazyType._store = { - validated: validated - }; - return lazyType; - } - function getChunk(response, id) { - var chunks = response._chunks, chunk = chunks.get(id); - chunk || (chunk = response._closed ? new ReactPromise("rejected", null, response._closedReason) : createPendingChunk(response), chunks.set(id, chunk)); - return chunk; - } - function fulfillReference(response, reference, value, fulfilledChunk) { - var handler = reference.handler, parentObject = reference.parentObject, key = reference.key, map = reference.map, path = reference.path; - try { - for(var i = 1; i < path.length; i++){ - for(; "object" === typeof value && null !== value && value.$$typeof === REACT_LAZY_TYPE;){ - var referencedChunk = value._payload; - if (referencedChunk === handler.chunk) value = handler.value; - else { - switch(referencedChunk.status){ - case "resolved_model": - initializeModelChunk(referencedChunk); - break; - case "resolved_module": - initializeModuleChunk(referencedChunk); - } - switch(referencedChunk.status){ - case "fulfilled": - value = referencedChunk.value; - continue; - case "blocked": - var cyclicHandler = resolveBlockedCycle(referencedChunk, reference); - if (null !== cyclicHandler) { - value = cyclicHandler.value; - continue; - } - case "pending": - path.splice(0, i - 1); - null === referencedChunk.value ? referencedChunk.value = [ - reference - ] : referencedChunk.value.push(reference); - null === referencedChunk.reason ? referencedChunk.reason = [ - reference - ] : referencedChunk.reason.push(reference); - return; - case "halted": - return; - default: - rejectReference(response, reference.handler, referencedChunk.reason); - return; - } - } - } - value = value[path[i]]; - } - for(; "object" === typeof value && null !== value && value.$$typeof === REACT_LAZY_TYPE;){ - var _referencedChunk = value._payload; - if (_referencedChunk === handler.chunk) value = handler.value; - else { - switch(_referencedChunk.status){ - case "resolved_model": - initializeModelChunk(_referencedChunk); - break; - case "resolved_module": - initializeModuleChunk(_referencedChunk); - } - switch(_referencedChunk.status){ - case "fulfilled": - value = _referencedChunk.value; - continue; - } - break; - } - } - var mappedValue = map(response, value, parentObject, key); - parentObject[key] = mappedValue; - "" === key && null === handler.value && (handler.value = mappedValue); - if (parentObject[0] === REACT_ELEMENT_TYPE && "object" === typeof handler.value && null !== handler.value && handler.value.$$typeof === REACT_ELEMENT_TYPE) { - var element = handler.value; - switch(key){ - case "3": - transferReferencedDebugInfo(handler.chunk, fulfilledChunk); - element.props = mappedValue; - break; - case "4": - element._owner = mappedValue; - break; - case "5": - element._debugStack = mappedValue; - break; - default: - transferReferencedDebugInfo(handler.chunk, fulfilledChunk); - } - } else reference.isDebug || transferReferencedDebugInfo(handler.chunk, fulfilledChunk); - } catch (error) { - rejectReference(response, reference.handler, error); - return; - } - handler.deps--; - 0 === handler.deps && (reference = handler.chunk, null !== reference && "blocked" === reference.status && (value = reference.value, reference.status = "fulfilled", reference.value = handler.value, reference.reason = handler.reason, null !== value ? wakeChunk(response, value, handler.value, reference) : (handler = handler.value, filterDebugInfo(response, reference), moveDebugInfoFromChunkToInnerValue(reference, handler)))); - } - function rejectReference(response, handler, error) { - if (!handler.errored) { - var blockedValue = handler.value; - handler.errored = !0; - handler.value = null; - handler.reason = error; - handler = handler.chunk; - if (null !== handler && "blocked" === handler.status) { - if ("object" === typeof blockedValue && null !== blockedValue && blockedValue.$$typeof === REACT_ELEMENT_TYPE) { - var erroredComponent = { - name: getComponentNameFromType(blockedValue.type) || "", - owner: blockedValue._owner - }; - erroredComponent.debugStack = blockedValue._debugStack; - supportsCreateTask && (erroredComponent.debugTask = blockedValue._debugTask); - handler._debugInfo.push(erroredComponent); - } - triggerErrorOnChunk(response, handler, error); - } - } - } - function waitForReference(referencedChunk, parentObject, key, response, map, path, isAwaitingDebugInfo) { - if (!(void 0 !== response._debugChannel && response._debugChannel.hasReadable || "pending" !== referencedChunk.status || parentObject[0] !== REACT_ELEMENT_TYPE || "4" !== key && "5" !== key)) return null; - initializingHandler ? (response = initializingHandler, response.deps++) : response = initializingHandler = { - parent: null, - chunk: null, - value: null, - reason: null, - deps: 1, - errored: !1 - }; - parentObject = { - handler: response, - parentObject: parentObject, - key: key, - map: map, - path: path - }; - parentObject.isDebug = isAwaitingDebugInfo; - null === referencedChunk.value ? referencedChunk.value = [ - parentObject - ] : referencedChunk.value.push(parentObject); - null === referencedChunk.reason ? referencedChunk.reason = [ - parentObject - ] : referencedChunk.reason.push(parentObject); - return null; - } - function loadServerReference(response, metaData, parentObject, key) { - if (!response._serverReferenceConfig) return createBoundServerReference(metaData, response._callServer, response._encodeFormAction, response._debugFindSourceMapURL); - var serverReference = resolveServerReference(response._serverReferenceConfig, metaData.id), promise = preloadModule(serverReference); - if (promise) metaData.bound && (promise = Promise.all([ - promise, - metaData.bound - ])); - else if (metaData.bound) promise = Promise.resolve(metaData.bound); - else return promise = requireModule(serverReference), registerBoundServerReference(promise, metaData.id, metaData.bound), promise; - if (initializingHandler) { - var handler = initializingHandler; - handler.deps++; - } else handler = initializingHandler = { - parent: null, - chunk: null, - value: null, - reason: null, - deps: 1, - errored: !1 - }; - promise.then(function() { - var resolvedValue = requireModule(serverReference); - if (metaData.bound) { - var boundArgs = metaData.bound.value.slice(0); - boundArgs.unshift(null); - resolvedValue = resolvedValue.bind.apply(resolvedValue, boundArgs); - } - registerBoundServerReference(resolvedValue, metaData.id, metaData.bound); - parentObject[key] = resolvedValue; - "" === key && null === handler.value && (handler.value = resolvedValue); - if (parentObject[0] === REACT_ELEMENT_TYPE && "object" === typeof handler.value && null !== handler.value && handler.value.$$typeof === REACT_ELEMENT_TYPE) switch(boundArgs = handler.value, key){ - case "3": - boundArgs.props = resolvedValue; - break; - case "4": - boundArgs._owner = resolvedValue; - } - handler.deps--; - 0 === handler.deps && (resolvedValue = handler.chunk, null !== resolvedValue && "blocked" === resolvedValue.status && (boundArgs = resolvedValue.value, resolvedValue.status = "fulfilled", resolvedValue.value = handler.value, resolvedValue.reason = null, null !== boundArgs ? wakeChunk(response, boundArgs, handler.value, resolvedValue) : (boundArgs = handler.value, filterDebugInfo(response, resolvedValue), moveDebugInfoFromChunkToInnerValue(resolvedValue, boundArgs)))); - }, function(error) { - if (!handler.errored) { - var blockedValue = handler.value; - handler.errored = !0; - handler.value = null; - handler.reason = error; - var chunk = handler.chunk; - if (null !== chunk && "blocked" === chunk.status) { - if ("object" === typeof blockedValue && null !== blockedValue && blockedValue.$$typeof === REACT_ELEMENT_TYPE) { - var erroredComponent = { - name: getComponentNameFromType(blockedValue.type) || "", - owner: blockedValue._owner - }; - erroredComponent.debugStack = blockedValue._debugStack; - supportsCreateTask && (erroredComponent.debugTask = blockedValue._debugTask); - chunk._debugInfo.push(erroredComponent); - } - triggerErrorOnChunk(response, chunk, error); - } - } - }); - return null; - } - function resolveLazy(value) { - for(; "object" === typeof value && null !== value && value.$$typeof === REACT_LAZY_TYPE;){ - var payload = value._payload; - if ("fulfilled" === payload.status) value = payload.value; - else break; - } - return value; - } - function transferReferencedDebugInfo(parentChunk, referencedChunk) { - if (null !== parentChunk) { - referencedChunk = referencedChunk._debugInfo; - parentChunk = parentChunk._debugInfo; - for(var i = 0; i < referencedChunk.length; ++i){ - var debugInfoEntry = referencedChunk[i]; - null == debugInfoEntry.name && parentChunk.push(debugInfoEntry); - } - } - } - function getOutlinedModel(response, reference, parentObject, key, map) { - var path = reference.split(":"); - reference = parseInt(path[0], 16); - reference = getChunk(response, reference); - null !== initializingChunk && isArrayImpl(initializingChunk._children) && initializingChunk._children.push(reference); - switch(reference.status){ - case "resolved_model": - initializeModelChunk(reference); - break; - case "resolved_module": - initializeModuleChunk(reference); - } - switch(reference.status){ - case "fulfilled": - for(var value = reference.value, i = 1; i < path.length; i++){ - for(; "object" === typeof value && null !== value && value.$$typeof === REACT_LAZY_TYPE;){ - value = value._payload; - switch(value.status){ - case "resolved_model": - initializeModelChunk(value); - break; - case "resolved_module": - initializeModuleChunk(value); - } - switch(value.status){ - case "fulfilled": - value = value.value; - break; - case "blocked": - case "pending": - return waitForReference(value, parentObject, key, response, map, path.slice(i - 1), !1); - case "halted": - return initializingHandler ? (parentObject = initializingHandler, parentObject.deps++) : initializingHandler = { - parent: null, - chunk: null, - value: null, - reason: null, - deps: 1, - errored: !1 - }, null; - default: - return initializingHandler ? (initializingHandler.errored = !0, initializingHandler.value = null, initializingHandler.reason = value.reason) : initializingHandler = { - parent: null, - chunk: null, - value: null, - reason: value.reason, - deps: 0, - errored: !0 - }, null; - } - } - value = value[path[i]]; - } - for(; "object" === typeof value && null !== value && value.$$typeof === REACT_LAZY_TYPE;){ - path = value._payload; - switch(path.status){ - case "resolved_model": - initializeModelChunk(path); - break; - case "resolved_module": - initializeModuleChunk(path); - } - switch(path.status){ - case "fulfilled": - value = path.value; - continue; - } - break; - } - response = map(response, value, parentObject, key); - (parentObject[0] !== REACT_ELEMENT_TYPE || "4" !== key && "5" !== key) && transferReferencedDebugInfo(initializingChunk, reference); - return response; - case "pending": - case "blocked": - return waitForReference(reference, parentObject, key, response, map, path, !1); - case "halted": - return initializingHandler ? (parentObject = initializingHandler, parentObject.deps++) : initializingHandler = { - parent: null, - chunk: null, - value: null, - reason: null, - deps: 1, - errored: !1 - }, null; - default: - return initializingHandler ? (initializingHandler.errored = !0, initializingHandler.value = null, initializingHandler.reason = reference.reason) : initializingHandler = { - parent: null, - chunk: null, - value: null, - reason: reference.reason, - deps: 0, - errored: !0 - }, null; - } - } - function createMap(response, model) { - return new Map(model); - } - function createSet(response, model) { - return new Set(model); - } - function createBlob(response, model) { - return new Blob(model.slice(1), { - type: model[0] - }); - } - function createFormData(response, model) { - response = new FormData(); - for(var i = 0; i < model.length; i++)response.append(model[i][0], model[i][1]); - return response; - } - function applyConstructor(response, model, parentObject) { - Object.setPrototypeOf(parentObject, model.prototype); - } - function defineLazyGetter(response, chunk, parentObject, key) { - Object.defineProperty(parentObject, key, { - get: function() { - "resolved_model" === chunk.status && initializeModelChunk(chunk); - switch(chunk.status){ - case "fulfilled": - return chunk.value; - case "rejected": - throw chunk.reason; - } - return "This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects."; - }, - enumerable: !0, - configurable: !1 - }); - return null; - } - function extractIterator(response, model) { - return model[Symbol.iterator](); - } - function createModel(response, model) { - return model; - } - function getInferredFunctionApproximate(code) { - code = code.startsWith("Object.defineProperty(") ? code.slice(22) : code.startsWith("(") ? code.slice(1) : code; - if (code.startsWith("async function")) { - var idx = code.indexOf("(", 14); - if (-1 !== idx) return code = code.slice(14, idx).trim(), (0, eval)("({" + JSON.stringify(code) + ":async function(){}})")[code]; - } else if (code.startsWith("function")) { - if (idx = code.indexOf("(", 8), -1 !== idx) return code = code.slice(8, idx).trim(), (0, eval)("({" + JSON.stringify(code) + ":function(){}})")[code]; - } else if (code.startsWith("class") && (idx = code.indexOf("{", 5), -1 !== idx)) return code = code.slice(5, idx).trim(), (0, eval)("({" + JSON.stringify(code) + ":class{}})")[code]; - return function() {}; - } - function parseModelString(response, parentObject, key, value) { - if ("$" === value[0]) { - if ("$" === value) return null !== initializingHandler && "0" === key && (initializingHandler = { - parent: initializingHandler, - chunk: null, - value: null, - reason: null, - deps: 0, - errored: !1 - }), REACT_ELEMENT_TYPE; - switch(value[1]){ - case "$": - return value.slice(1); - case "L": - return parentObject = parseInt(value.slice(2), 16), response = getChunk(response, parentObject), null !== initializingChunk && isArrayImpl(initializingChunk._children) && initializingChunk._children.push(response), createLazyChunkWrapper(response, 0); - case "@": - return parentObject = parseInt(value.slice(2), 16), response = getChunk(response, parentObject), null !== initializingChunk && isArrayImpl(initializingChunk._children) && initializingChunk._children.push(response), response; - case "S": - return Symbol.for(value.slice(2)); - case "h": - var ref = value.slice(2); - return getOutlinedModel(response, ref, parentObject, key, loadServerReference); - case "T": - parentObject = "$" + value.slice(2); - response = response._tempRefs; - if (null == response) throw Error("Missing a temporary reference set but the RSC response returned a temporary reference. Pass a temporaryReference option with the set that was used with the reply."); - return response.get(parentObject); - case "Q": - return ref = value.slice(2), getOutlinedModel(response, ref, parentObject, key, createMap); - case "W": - return ref = value.slice(2), getOutlinedModel(response, ref, parentObject, key, createSet); - case "B": - return ref = value.slice(2), getOutlinedModel(response, ref, parentObject, key, createBlob); - case "K": - return ref = value.slice(2), getOutlinedModel(response, ref, parentObject, key, createFormData); - case "Z": - return ref = value.slice(2), getOutlinedModel(response, ref, parentObject, key, resolveErrorDev); - case "i": - return ref = value.slice(2), getOutlinedModel(response, ref, parentObject, key, extractIterator); - case "I": - return Infinity; - case "-": - return "$-0" === value ? -0 : -Infinity; - case "N": - return NaN; - case "u": - return; - case "D": - return new Date(Date.parse(value.slice(2))); - case "n": - return BigInt(value.slice(2)); - case "P": - return ref = value.slice(2), getOutlinedModel(response, ref, parentObject, key, applyConstructor); - case "E": - response = value.slice(2); - try { - if (!mightHaveStaticConstructor.test(response)) return (0, eval)(response); - } catch (x) {} - try { - if (ref = getInferredFunctionApproximate(response), response.startsWith("Object.defineProperty(")) { - var idx = response.lastIndexOf(',"name",{value:"'); - if (-1 !== idx) { - var name = JSON.parse(response.slice(idx + 16 - 1, response.length - 2)); - Object.defineProperty(ref, "name", { - value: name - }); - } - } - } catch (_) { - ref = function() {}; - } - return ref; - case "Y": - if (2 < value.length && (ref = response._debugChannel && response._debugChannel.callback)) { - if ("@" === value[2]) return parentObject = value.slice(3), key = parseInt(parentObject, 16), response._chunks.has(key) || ref("P:" + parentObject), getChunk(response, key); - value = value.slice(2); - idx = parseInt(value, 16); - response._chunks.has(idx) || ref("Q:" + value); - ref = getChunk(response, idx); - return "fulfilled" === ref.status ? ref.value : defineLazyGetter(response, ref, parentObject, key); - } - Object.defineProperty(parentObject, key, { - get: function() { - return "This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects."; - }, - enumerable: !0, - configurable: !1 - }); - return null; - default: - return ref = value.slice(1), getOutlinedModel(response, ref, parentObject, key, createModel); - } - } - return value; - } - function missingCall() { - throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.'); - } - function markIOStarted() { - this._debugIOStarted = !0; - } - function ResponseInstance(bundlerConfig, serverReferenceConfig, moduleLoading, callServer, encodeFormAction, nonce, temporaryReferences, findSourceMapURL, replayConsole, environmentName, debugStartTime, debugEndTime, debugChannel) { - var chunks = new Map(); - this._bundlerConfig = bundlerConfig; - this._serverReferenceConfig = serverReferenceConfig; - this._moduleLoading = moduleLoading; - this._callServer = void 0 !== callServer ? callServer : missingCall; - this._encodeFormAction = encodeFormAction; - this._nonce = nonce; - this._chunks = chunks; - this._stringDecoder = new TextDecoder(); - this._fromJSON = null; - this._closed = !1; - this._closedReason = null; - this._tempRefs = temporaryReferences; - this._timeOrigin = 0; - this._pendingInitialRender = null; - this._pendingChunks = 0; - this._weakResponse = { - weak: new WeakRef(this), - response: this - }; - this._debugRootOwner = bundlerConfig = void 0 === ReactSharedInteralsServer || null === ReactSharedInteralsServer.A ? null : ReactSharedInteralsServer.A.getOwner(); - this._debugRootStack = null !== bundlerConfig ? Error("react-stack-top-frame") : null; - environmentName = void 0 === environmentName ? "Server" : environmentName; - supportsCreateTask && (this._debugRootTask = console.createTask('"use ' + environmentName.toLowerCase() + '"')); - this._debugStartTime = null == debugStartTime ? performance.now() : debugStartTime; - this._debugIOStarted = !1; - setTimeout(markIOStarted.bind(this), 0); - this._debugEndTime = null == debugEndTime ? null : debugEndTime; - this._debugFindSourceMapURL = findSourceMapURL; - this._debugChannel = debugChannel; - this._blockedConsole = null; - this._replayConsole = replayConsole; - this._rootEnvironmentName = environmentName; - debugChannel && (null === debugChannelRegistry ? (closeDebugChannel(debugChannel), this._debugChannel = void 0) : debugChannelRegistry.register(this, debugChannel, this)); - replayConsole && markAllTracksInOrder(); - this._fromJSON = createFromJSONCallback(this); - } - function createStreamState(weakResponse, streamDebugValue) { - var streamState = { - _rowState: 0, - _rowID: 0, - _rowTag: 0, - _rowLength: 0, - _buffer: [] - }; - weakResponse = unwrapWeakResponse(weakResponse); - var debugValuePromise = Promise.resolve(streamDebugValue); - debugValuePromise.status = "fulfilled"; - debugValuePromise.value = streamDebugValue; - streamState._debugInfo = { - name: "rsc stream", - start: weakResponse._debugStartTime, - end: weakResponse._debugStartTime, - byteSize: 0, - value: debugValuePromise, - owner: weakResponse._debugRootOwner, - debugStack: weakResponse._debugRootStack, - debugTask: weakResponse._debugRootTask - }; - streamState._debugTargetChunkSize = MIN_CHUNK_SIZE; - return streamState; - } - function incrementChunkDebugInfo(streamState, chunkLength) { - var debugInfo = streamState._debugInfo, endTime = performance.now(), previousEndTime = debugInfo.end; - chunkLength = debugInfo.byteSize + chunkLength; - chunkLength > streamState._debugTargetChunkSize || endTime > previousEndTime + 10 ? (streamState._debugInfo = { - name: debugInfo.name, - start: debugInfo.start, - end: endTime, - byteSize: chunkLength, - value: debugInfo.value, - owner: debugInfo.owner, - debugStack: debugInfo.debugStack, - debugTask: debugInfo.debugTask - }, streamState._debugTargetChunkSize = chunkLength + MIN_CHUNK_SIZE) : (debugInfo.end = endTime, debugInfo.byteSize = chunkLength); - } - function addAsyncInfo(chunk, asyncInfo) { - var value = resolveLazy(chunk.value); - "object" !== typeof value || null === value || !isArrayImpl(value) && "function" !== typeof value[ASYNC_ITERATOR] && value.$$typeof !== REACT_ELEMENT_TYPE && value.$$typeof !== REACT_LAZY_TYPE ? chunk._debugInfo.push(asyncInfo) : isArrayImpl(value._debugInfo) ? value._debugInfo.push(asyncInfo) : Object.defineProperty(value, "_debugInfo", { - configurable: !1, - enumerable: !1, - writable: !0, - value: [ - asyncInfo - ] - }); - } - function resolveChunkDebugInfo(response, streamState, chunk) { - response._debugIOStarted && (response = { - awaited: streamState._debugInfo - }, "pending" === chunk.status || "blocked" === chunk.status ? (response = addAsyncInfo.bind(null, chunk, response), chunk.then(response, response)) : addAsyncInfo(chunk, response)); - } - function resolveBuffer(response, id, buffer, streamState) { - var chunks = response._chunks, chunk = chunks.get(id); - chunk && "pending" !== chunk.status ? chunk.reason.enqueueValue(buffer) : (chunk && releasePendingChunk(response, chunk), buffer = new ReactPromise("fulfilled", buffer, null), resolveChunkDebugInfo(response, streamState, buffer), chunks.set(id, buffer)); - } - function resolveModule(response, id, model, streamState) { - var chunks = response._chunks, chunk = chunks.get(id); - model = JSON.parse(model, response._fromJSON); - var clientReference = resolveClientReference(response._bundlerConfig, model); - if (model = preloadModule(clientReference)) { - if (chunk) { - releasePendingChunk(response, chunk); - var blockedChunk = chunk; - blockedChunk.status = "blocked"; - } else blockedChunk = new ReactPromise("blocked", null, null), chunks.set(id, blockedChunk); - resolveChunkDebugInfo(response, streamState, blockedChunk); - model.then(function() { - return resolveModuleChunk(response, blockedChunk, clientReference); - }, function(error) { - return triggerErrorOnChunk(response, blockedChunk, error); - }); - } else chunk ? (resolveChunkDebugInfo(response, streamState, chunk), resolveModuleChunk(response, chunk, clientReference)) : (chunk = new ReactPromise("resolved_module", clientReference, null), resolveChunkDebugInfo(response, streamState, chunk), chunks.set(id, chunk)); - } - function resolveStream(response, id, stream, controller, streamState) { - var chunks = response._chunks, chunk = chunks.get(id); - if (chunk) { - if (resolveChunkDebugInfo(response, streamState, chunk), "pending" === chunk.status) { - id = chunk.value; - if (null != chunk._debugChunk) { - streamState = initializingHandler; - chunks = initializingChunk; - initializingHandler = null; - chunk.status = "blocked"; - chunk.value = null; - chunk.reason = null; - initializingChunk = chunk; - try { - if (initializeDebugChunk(response, chunk), null !== initializingHandler && !initializingHandler.errored && 0 < initializingHandler.deps) { - initializingHandler.value = stream; - initializingHandler.reason = controller; - initializingHandler.chunk = chunk; - return; - } - } finally{ - initializingHandler = streamState, initializingChunk = chunks; - } - } - chunk.status = "fulfilled"; - chunk.value = stream; - chunk.reason = controller; - null !== id ? wakeChunk(response, id, chunk.value, chunk) : (filterDebugInfo(response, chunk), moveDebugInfoFromChunkToInnerValue(chunk, stream)); - } - } else 0 === response._pendingChunks++ && (response._weakResponse.response = response), stream = new ReactPromise("fulfilled", stream, controller), resolveChunkDebugInfo(response, streamState, stream), chunks.set(id, stream); - } - function startReadableStream(response, id, type, streamState) { - var controller = null, closed = !1; - type = new ReadableStream({ - type: type, - start: function(c) { - controller = c; - } - }); - var previousBlockedChunk = null; - resolveStream(response, id, type, { - enqueueValue: function(value) { - null === previousBlockedChunk ? controller.enqueue(value) : previousBlockedChunk.then(function() { - controller.enqueue(value); - }); - }, - enqueueModel: function(json) { - if (null === previousBlockedChunk) { - var chunk = createResolvedModelChunk(response, json); - initializeModelChunk(chunk); - "fulfilled" === chunk.status ? controller.enqueue(chunk.value) : (chunk.then(function(v) { - return controller.enqueue(v); - }, function(e) { - return controller.error(e); - }), previousBlockedChunk = chunk); - } else { - chunk = previousBlockedChunk; - var _chunk3 = createPendingChunk(response); - _chunk3.then(function(v) { - return controller.enqueue(v); - }, function(e) { - return controller.error(e); - }); - previousBlockedChunk = _chunk3; - chunk.then(function() { - previousBlockedChunk === _chunk3 && (previousBlockedChunk = null); - resolveModelChunk(response, _chunk3, json); - }); - } - }, - close: function() { - if (!closed) if (closed = !0, null === previousBlockedChunk) controller.close(); - else { - var blockedChunk = previousBlockedChunk; - previousBlockedChunk = null; - blockedChunk.then(function() { - return controller.close(); - }); - } - }, - error: function(error) { - if (!closed) if (closed = !0, null === previousBlockedChunk) controller.error(error); - else { - var blockedChunk = previousBlockedChunk; - previousBlockedChunk = null; - blockedChunk.then(function() { - return controller.error(error); - }); - } - } - }, streamState); - } - function asyncIterator() { - return this; - } - function createIterator(next) { - next = { - next: next - }; - next[ASYNC_ITERATOR] = asyncIterator; - return next; - } - function startAsyncIterable(response, id, iterator, streamState) { - var buffer = [], closed = !1, nextWriteIndex = 0, iterable = {}; - iterable[ASYNC_ITERATOR] = function() { - var nextReadIndex = 0; - return createIterator(function(arg) { - if (void 0 !== arg) throw Error("Values cannot be passed to next() of AsyncIterables passed to Client Components."); - if (nextReadIndex === buffer.length) { - if (closed) return new ReactPromise("fulfilled", { - done: !0, - value: void 0 - }, null); - buffer[nextReadIndex] = createPendingChunk(response); - } - return buffer[nextReadIndex++]; - }); - }; - resolveStream(response, id, iterator ? iterable[ASYNC_ITERATOR]() : iterable, { - enqueueValue: function(value) { - if (nextWriteIndex === buffer.length) buffer[nextWriteIndex] = new ReactPromise("fulfilled", { - done: !1, - value: value - }, null); - else { - var chunk = buffer[nextWriteIndex], resolveListeners = chunk.value, rejectListeners = chunk.reason; - chunk.status = "fulfilled"; - chunk.value = { - done: !1, - value: value - }; - chunk.reason = null; - null !== resolveListeners && wakeChunkIfInitialized(response, chunk, resolveListeners, rejectListeners); - } - nextWriteIndex++; - }, - enqueueModel: function(value) { - nextWriteIndex === buffer.length ? buffer[nextWriteIndex] = createResolvedIteratorResultChunk(response, value, !1) : resolveIteratorResultChunk(response, buffer[nextWriteIndex], value, !1); - nextWriteIndex++; - }, - close: function(value) { - if (!closed) for(closed = !0, nextWriteIndex === buffer.length ? buffer[nextWriteIndex] = createResolvedIteratorResultChunk(response, value, !0) : resolveIteratorResultChunk(response, buffer[nextWriteIndex], value, !0), nextWriteIndex++; nextWriteIndex < buffer.length;)resolveIteratorResultChunk(response, buffer[nextWriteIndex++], '"$undefined"', !0); - }, - error: function(error) { - if (!closed) for(closed = !0, nextWriteIndex === buffer.length && (buffer[nextWriteIndex] = createPendingChunk(response)); nextWriteIndex < buffer.length;)triggerErrorOnChunk(response, buffer[nextWriteIndex++], error); - } - }, streamState); - } - function resolveErrorDev(response, errorInfo) { - var name = errorInfo.name, env = errorInfo.env; - var error = buildFakeCallStack(response, errorInfo.stack, env, !1, Error.bind(null, errorInfo.message || "An error occurred in the Server Components render but no message was provided")); - var ownerTask = null; - null != errorInfo.owner && (errorInfo = errorInfo.owner.slice(1), errorInfo = getOutlinedModel(response, errorInfo, {}, "", createModel), null !== errorInfo && (ownerTask = initializeFakeTask(response, errorInfo))); - null === ownerTask ? (response = getRootTask(response, env), error = null != response ? response.run(error) : error()) : error = ownerTask.run(error); - error.name = name; - error.environmentName = env; - return error; - } - function createFakeFunction(name, filename, sourceMap, line, col, enclosingLine, enclosingCol, environmentName) { - name || (name = "<anonymous>"); - var encodedName = JSON.stringify(name); - 1 > enclosingLine ? enclosingLine = 0 : enclosingLine--; - 1 > enclosingCol ? enclosingCol = 0 : enclosingCol--; - 1 > line ? line = 0 : line--; - 1 > col ? col = 0 : col--; - if (line < enclosingLine || line === enclosingLine && col < enclosingCol) enclosingCol = enclosingLine = 0; - 1 > line ? (line = encodedName.length + 3, enclosingCol -= line, 0 > enclosingCol && (enclosingCol = 0), col = col - enclosingCol - line - 3, 0 > col && (col = 0), encodedName = "({" + encodedName + ":" + " ".repeat(enclosingCol) + "_=>" + " ".repeat(col) + "_()})") : 1 > enclosingLine ? (enclosingCol -= encodedName.length + 3, 0 > enclosingCol && (enclosingCol = 0), encodedName = "({" + encodedName + ":" + " ".repeat(enclosingCol) + "_=>" + "\n".repeat(line - enclosingLine) + " ".repeat(col) + "_()})") : enclosingLine === line ? (col = col - enclosingCol - 3, 0 > col && (col = 0), encodedName = "\n".repeat(enclosingLine - 1) + "({" + encodedName + ":\n" + " ".repeat(enclosingCol) + "_=>" + " ".repeat(col) + "_()})") : encodedName = "\n".repeat(enclosingLine - 1) + "({" + encodedName + ":\n" + " ".repeat(enclosingCol) + "_=>" + "\n".repeat(line - enclosingLine) + " ".repeat(col) + "_()})"; - encodedName = 1 > enclosingLine ? encodedName + "\n/* This module was rendered by a Server Component. Turn on Source Maps to see the server source. */" : "/* This module was rendered by a Server Component. Turn on Source Maps to see the server source. */" + encodedName; - filename.startsWith("/") && (filename = "file://" + filename); - sourceMap ? (encodedName += "\n//# sourceURL=about://React/" + encodeURIComponent(environmentName) + "/" + encodeURI(filename) + "?" + fakeFunctionIdx++, encodedName += "\n//# sourceMappingURL=" + sourceMap) : encodedName = filename ? encodedName + ("\n//# sourceURL=" + encodeURI(filename)) : encodedName + "\n//# sourceURL=<anonymous>"; - try { - var fn = (0, eval)(encodedName)[name]; - } catch (x) { - fn = function(_) { - return _(); - }; - } - return fn; - } - function buildFakeCallStack(response, stack, environmentName, useEnclosingLine, innerCall) { - for(var i = 0; i < stack.length; i++){ - var frame = stack[i], frameKey = frame.join("-") + "-" + environmentName + (useEnclosingLine ? "-e" : "-n"), fn = fakeFunctionCache.get(frameKey); - if (void 0 === fn) { - fn = frame[0]; - var filename = frame[1], line = frame[2], col = frame[3], enclosingLine = frame[4]; - frame = frame[5]; - var findSourceMapURL = response._debugFindSourceMapURL; - findSourceMapURL = findSourceMapURL ? findSourceMapURL(filename, environmentName) : null; - fn = createFakeFunction(fn, filename, findSourceMapURL, line, col, useEnclosingLine ? line : enclosingLine, useEnclosingLine ? col : frame, environmentName); - fakeFunctionCache.set(frameKey, fn); - } - innerCall = fn.bind(null, innerCall); - } - return innerCall; - } - function getRootTask(response, childEnvironmentName) { - var rootTask = response._debugRootTask; - return rootTask ? response._rootEnvironmentName !== childEnvironmentName ? (response = console.createTask.bind(console, '"use ' + childEnvironmentName.toLowerCase() + '"'), rootTask.run(response)) : rootTask : null; - } - function initializeFakeTask(response, debugInfo) { - if (!supportsCreateTask || null == debugInfo.stack) return null; - var cachedEntry = debugInfo.debugTask; - if (void 0 !== cachedEntry) return cachedEntry; - var useEnclosingLine = void 0 === debugInfo.key, stack = debugInfo.stack, env = null == debugInfo.env ? response._rootEnvironmentName : debugInfo.env; - cachedEntry = null == debugInfo.owner || null == debugInfo.owner.env ? response._rootEnvironmentName : debugInfo.owner.env; - var ownerTask = null == debugInfo.owner ? null : initializeFakeTask(response, debugInfo.owner); - env = env !== cachedEntry ? '"use ' + env.toLowerCase() + '"' : void 0 !== debugInfo.key ? "<" + (debugInfo.name || "...") + ">" : void 0 !== debugInfo.name ? debugInfo.name || "unknown" : "await " + (debugInfo.awaited.name || "unknown"); - env = console.createTask.bind(console, env); - useEnclosingLine = buildFakeCallStack(response, stack, cachedEntry, useEnclosingLine, env); - null === ownerTask ? (response = getRootTask(response, cachedEntry), response = null != response ? response.run(useEnclosingLine) : useEnclosingLine()) : response = ownerTask.run(useEnclosingLine); - return debugInfo.debugTask = response; - } - function fakeJSXCallSite() { - return Error("react-stack-top-frame"); - } - function initializeFakeStack(response, debugInfo) { - if (void 0 === debugInfo.debugStack) { - null != debugInfo.stack && (debugInfo.debugStack = createFakeJSXCallStackInDEV(response, debugInfo.stack, null == debugInfo.env ? "" : debugInfo.env)); - var owner = debugInfo.owner; - null != owner && (initializeFakeStack(response, owner), void 0 === owner.debugLocation && null != debugInfo.debugStack && (owner.debugLocation = debugInfo.debugStack)); - } - } - function initializeDebugInfo(response, debugInfo) { - void 0 !== debugInfo.stack && initializeFakeTask(response, debugInfo); - if (null == debugInfo.owner && null != response._debugRootOwner) { - var _componentInfoOrAsyncInfo = debugInfo; - _componentInfoOrAsyncInfo.owner = response._debugRootOwner; - _componentInfoOrAsyncInfo.stack = null; - _componentInfoOrAsyncInfo.debugStack = response._debugRootStack; - _componentInfoOrAsyncInfo.debugTask = response._debugRootTask; - } else void 0 !== debugInfo.stack && initializeFakeStack(response, debugInfo); - "number" === typeof debugInfo.time && (debugInfo = { - time: debugInfo.time + response._timeOrigin - }); - return debugInfo; - } - function getCurrentStackInDEV() { - var owner = currentOwnerInDEV; - if (null === owner) return ""; - try { - var info = ""; - if (owner.owner || "string" !== typeof owner.name) { - for(; owner;){ - var ownerStack = owner.debugStack; - if (null != ownerStack) { - if (owner = owner.owner) { - var JSCompiler_temp_const = info; - var error = ownerStack, prevPrepareStackTrace = Error.prepareStackTrace; - Error.prepareStackTrace = void 0; - var stack = error.stack; - Error.prepareStackTrace = prevPrepareStackTrace; - stack.startsWith("Error: react-stack-top-frame\n") && (stack = stack.slice(29)); - var idx = stack.indexOf("\n"); - -1 !== idx && (stack = stack.slice(idx + 1)); - idx = stack.indexOf("react_stack_bottom_frame"); - -1 !== idx && (idx = stack.lastIndexOf("\n", idx)); - var JSCompiler_inline_result = -1 !== idx ? stack = stack.slice(0, idx) : ""; - info = JSCompiler_temp_const + ("\n" + JSCompiler_inline_result); - } - } else break; - } - var JSCompiler_inline_result$jscomp$0 = info; - } else { - JSCompiler_temp_const = owner.name; - if (void 0 === prefix) try { - throw Error(); - } catch (x) { - prefix = (error = x.stack.trim().match(/\n( *(at )?)/)) && error[1] || "", suffix = -1 < x.stack.indexOf("\n at") ? " (<anonymous>)" : -1 < x.stack.indexOf("@") ? "@unknown:0:0" : ""; - } - JSCompiler_inline_result$jscomp$0 = "\n" + prefix + JSCompiler_temp_const + suffix; - } - } catch (x) { - JSCompiler_inline_result$jscomp$0 = "\nError generating stack: " + x.message + "\n" + x.stack; - } - return JSCompiler_inline_result$jscomp$0; - } - function resolveConsoleEntry(response, json) { - if (response._replayConsole) { - var blockedChunk = response._blockedConsole; - if (null == blockedChunk) blockedChunk = createResolvedModelChunk(response, json), initializeModelChunk(blockedChunk), "fulfilled" === blockedChunk.status ? replayConsoleWithCallStackInDEV(response, blockedChunk.value) : (blockedChunk.then(function(v) { - return replayConsoleWithCallStackInDEV(response, v); - }, function() {}), response._blockedConsole = blockedChunk); - else { - var _chunk4 = createPendingChunk(response); - _chunk4.then(function(v) { - return replayConsoleWithCallStackInDEV(response, v); - }, function() {}); - response._blockedConsole = _chunk4; - var unblock = function() { - response._blockedConsole === _chunk4 && (response._blockedConsole = null); - resolveModelChunk(response, _chunk4, json); - }; - blockedChunk.then(unblock, unblock); - } - } - } - function initializeIOInfo(response, ioInfo) { - void 0 !== ioInfo.stack && (initializeFakeTask(response, ioInfo), initializeFakeStack(response, ioInfo)); - ioInfo.start += response._timeOrigin; - ioInfo.end += response._timeOrigin; - if (response._replayConsole) { - response = response._rootEnvironmentName; - var promise = ioInfo.value; - if (promise) switch(promise.status){ - case "fulfilled": - logIOInfo(ioInfo, response, promise.value); - break; - case "rejected": - logIOInfoErrored(ioInfo, response, promise.reason); - break; - default: - promise.then(logIOInfo.bind(null, ioInfo, response), logIOInfoErrored.bind(null, ioInfo, response)); - } - else logIOInfo(ioInfo, response, void 0); - } - } - function resolveIOInfo(response, id, model) { - var chunks = response._chunks, chunk = chunks.get(id); - chunk ? (resolveModelChunk(response, chunk, model), "resolved_model" === chunk.status && initializeModelChunk(chunk)) : (chunk = createResolvedModelChunk(response, model), chunks.set(id, chunk), initializeModelChunk(chunk)); - "fulfilled" === chunk.status ? initializeIOInfo(response, chunk.value) : chunk.then(function(v) { - initializeIOInfo(response, v); - }, function() {}); - } - function mergeBuffer(buffer, lastChunk) { - for(var l = buffer.length, byteLength = lastChunk.length, i = 0; i < l; i++)byteLength += buffer[i].byteLength; - byteLength = new Uint8Array(byteLength); - for(var _i3 = i = 0; _i3 < l; _i3++){ - var chunk = buffer[_i3]; - byteLength.set(chunk, i); - i += chunk.byteLength; - } - byteLength.set(lastChunk, i); - return byteLength; - } - function resolveTypedArray(response, id, buffer, lastChunk, constructor, bytesPerElement, streamState) { - buffer = 0 === buffer.length && 0 === lastChunk.byteOffset % bytesPerElement ? lastChunk : mergeBuffer(buffer, lastChunk); - constructor = new constructor(buffer.buffer, buffer.byteOffset, buffer.byteLength / bytesPerElement); - resolveBuffer(response, id, constructor, streamState); - } - function flushComponentPerformance(response$jscomp$0, root, trackIdx$jscomp$6, trackTime, parentEndTime) { - if (!isArrayImpl(root._children)) { - var previousResult = root._children, previousEndTime = previousResult.endTime; - if (-Infinity < parentEndTime && parentEndTime < previousEndTime && null !== previousResult.component) { - var componentInfo = previousResult.component, trackIdx = trackIdx$jscomp$6, startTime = parentEndTime; - if (supportsUserTiming && 0 <= previousEndTime && 10 > trackIdx) { - var color = componentInfo.env === response$jscomp$0._rootEnvironmentName ? "primary-light" : "secondary-light", entryName = componentInfo.name + " [deduped]", debugTask = componentInfo.debugTask; - debugTask ? debugTask.run(console.timeStamp.bind(console, entryName, 0 > startTime ? 0 : startTime, previousEndTime, trackNames[trackIdx], "Server Components \u269b", color)) : console.timeStamp(entryName, 0 > startTime ? 0 : startTime, previousEndTime, trackNames[trackIdx], "Server Components \u269b", color); - } - } - previousResult.track = trackIdx$jscomp$6; - return previousResult; - } - var children = root._children; - var debugInfo = root._debugInfo; - if (0 === debugInfo.length && "fulfilled" === root.status) { - var resolvedValue = resolveLazy(root.value); - "object" === typeof resolvedValue && null !== resolvedValue && (isArrayImpl(resolvedValue) || "function" === typeof resolvedValue[ASYNC_ITERATOR] || resolvedValue.$$typeof === REACT_ELEMENT_TYPE || resolvedValue.$$typeof === REACT_LAZY_TYPE) && isArrayImpl(resolvedValue._debugInfo) && (debugInfo = resolvedValue._debugInfo); - } - if (debugInfo) { - for(var startTime$jscomp$0 = 0, i = 0; i < debugInfo.length; i++){ - var info = debugInfo[i]; - "number" === typeof info.time && (startTime$jscomp$0 = info.time); - if ("string" === typeof info.name) { - startTime$jscomp$0 < trackTime && trackIdx$jscomp$6++; - trackTime = startTime$jscomp$0; - break; - } - } - for(var _i4 = debugInfo.length - 1; 0 <= _i4; _i4--){ - var _info = debugInfo[_i4]; - if ("number" === typeof _info.time && _info.time > parentEndTime) { - parentEndTime = _info.time; - break; - } - } - } - var result = { - track: trackIdx$jscomp$6, - endTime: -Infinity, - component: null - }; - root._children = result; - for(var childrenEndTime = -Infinity, childTrackIdx = trackIdx$jscomp$6, childTrackTime = trackTime, _i5 = 0; _i5 < children.length; _i5++){ - var childResult = flushComponentPerformance(response$jscomp$0, children[_i5], childTrackIdx, childTrackTime, parentEndTime); - null !== childResult.component && (result.component = childResult.component); - childTrackIdx = childResult.track; - var childEndTime = childResult.endTime; - childEndTime > childTrackTime && (childTrackTime = childEndTime); - childEndTime > childrenEndTime && (childrenEndTime = childEndTime); - } - if (debugInfo) for(var componentEndTime = 0, isLastComponent = !0, endTime = -1, endTimeIdx = -1, _i6 = debugInfo.length - 1; 0 <= _i6; _i6--){ - var _info2 = debugInfo[_i6]; - if ("number" === typeof _info2.time) { - 0 === componentEndTime && (componentEndTime = _info2.time); - var time = _info2.time; - if (-1 < endTimeIdx) for(var j = endTimeIdx - 1; j > _i6; j--){ - var candidateInfo = debugInfo[j]; - if ("string" === typeof candidateInfo.name) { - componentEndTime > childrenEndTime && (childrenEndTime = componentEndTime); - var componentInfo$jscomp$0 = candidateInfo, response = response$jscomp$0, componentInfo$jscomp$1 = componentInfo$jscomp$0, trackIdx$jscomp$0 = trackIdx$jscomp$6, startTime$jscomp$1 = time, componentEndTime$jscomp$0 = componentEndTime, childrenEndTime$jscomp$0 = childrenEndTime; - if (isLastComponent && "rejected" === root.status && root.reason !== response._closedReason) { - var componentInfo$jscomp$2 = componentInfo$jscomp$1, trackIdx$jscomp$1 = trackIdx$jscomp$0, startTime$jscomp$2 = startTime$jscomp$1, childrenEndTime$jscomp$1 = childrenEndTime$jscomp$0, error = root.reason; - if (supportsUserTiming) { - var env = componentInfo$jscomp$2.env, name = componentInfo$jscomp$2.name, entryName$jscomp$0 = env === response._rootEnvironmentName || void 0 === env ? name : name + " [" + env + "]", measureName = "\u200b" + entryName$jscomp$0, properties = [ - [ - "Error", - "object" === typeof error && null !== error && "string" === typeof error.message ? String(error.message) : String(error) - ] - ]; - null != componentInfo$jscomp$2.key && addValueToProperties("key", componentInfo$jscomp$2.key, properties, 0, ""); - null != componentInfo$jscomp$2.props && addObjectToProperties(componentInfo$jscomp$2.props, properties, 0, ""); - performance.measure(measureName, { - start: 0 > startTime$jscomp$2 ? 0 : startTime$jscomp$2, - end: childrenEndTime$jscomp$1, - detail: { - devtools: { - color: "error", - track: trackNames[trackIdx$jscomp$1], - trackGroup: "Server Components \u269b", - tooltipText: entryName$jscomp$0 + " Errored", - properties: properties - } - } - }); - performance.clearMeasures(measureName); - } - } else { - var componentInfo$jscomp$3 = componentInfo$jscomp$1, trackIdx$jscomp$2 = trackIdx$jscomp$0, startTime$jscomp$3 = startTime$jscomp$1, childrenEndTime$jscomp$2 = childrenEndTime$jscomp$0; - if (supportsUserTiming && 0 <= childrenEndTime$jscomp$2 && 10 > trackIdx$jscomp$2) { - var env$jscomp$0 = componentInfo$jscomp$3.env, name$jscomp$0 = componentInfo$jscomp$3.name, isPrimaryEnv = env$jscomp$0 === response._rootEnvironmentName, selfTime = componentEndTime$jscomp$0 - startTime$jscomp$3, color$jscomp$0 = 0.5 > selfTime ? isPrimaryEnv ? "primary-light" : "secondary-light" : 50 > selfTime ? isPrimaryEnv ? "primary" : "secondary" : 500 > selfTime ? isPrimaryEnv ? "primary-dark" : "secondary-dark" : "error", debugTask$jscomp$0 = componentInfo$jscomp$3.debugTask, measureName$jscomp$0 = "\u200b" + (isPrimaryEnv || void 0 === env$jscomp$0 ? name$jscomp$0 : name$jscomp$0 + " [" + env$jscomp$0 + "]"); - if (debugTask$jscomp$0) { - var properties$jscomp$0 = []; - null != componentInfo$jscomp$3.key && addValueToProperties("key", componentInfo$jscomp$3.key, properties$jscomp$0, 0, ""); - null != componentInfo$jscomp$3.props && addObjectToProperties(componentInfo$jscomp$3.props, properties$jscomp$0, 0, ""); - debugTask$jscomp$0.run(performance.measure.bind(performance, measureName$jscomp$0, { - start: 0 > startTime$jscomp$3 ? 0 : startTime$jscomp$3, - end: childrenEndTime$jscomp$2, - detail: { - devtools: { - color: color$jscomp$0, - track: trackNames[trackIdx$jscomp$2], - trackGroup: "Server Components \u269b", - properties: properties$jscomp$0 - } - } - })); - performance.clearMeasures(measureName$jscomp$0); - } else console.timeStamp(measureName$jscomp$0, 0 > startTime$jscomp$3 ? 0 : startTime$jscomp$3, childrenEndTime$jscomp$2, trackNames[trackIdx$jscomp$2], "Server Components \u269b", color$jscomp$0); - } - } - componentEndTime = time; - result.component = componentInfo$jscomp$0; - isLastComponent = !1; - } else if (candidateInfo.awaited && null != candidateInfo.awaited.env) { - endTime > childrenEndTime && (childrenEndTime = endTime); - var asyncInfo = candidateInfo, env$jscomp$1 = response$jscomp$0._rootEnvironmentName, promise = asyncInfo.awaited.value; - if (promise) { - var thenable = promise; - switch(thenable.status){ - case "fulfilled": - logComponentAwait(asyncInfo, trackIdx$jscomp$6, time, endTime, env$jscomp$1, thenable.value); - break; - case "rejected": - var asyncInfo$jscomp$0 = asyncInfo, trackIdx$jscomp$3 = trackIdx$jscomp$6, startTime$jscomp$4 = time, endTime$jscomp$0 = endTime, rootEnv = env$jscomp$1, error$jscomp$0 = thenable.reason; - if (supportsUserTiming && 0 < endTime$jscomp$0) { - var description = getIODescription(error$jscomp$0), entryName$jscomp$1 = "await " + getIOShortName(asyncInfo$jscomp$0.awaited, description, asyncInfo$jscomp$0.env, rootEnv), debugTask$jscomp$1 = asyncInfo$jscomp$0.debugTask || asyncInfo$jscomp$0.awaited.debugTask; - if (debugTask$jscomp$1) { - var properties$jscomp$1 = [ - [ - "Rejected", - "object" === typeof error$jscomp$0 && null !== error$jscomp$0 && "string" === typeof error$jscomp$0.message ? String(error$jscomp$0.message) : String(error$jscomp$0) - ] - ], tooltipText = getIOLongName(asyncInfo$jscomp$0.awaited, description, asyncInfo$jscomp$0.env, rootEnv) + " Rejected"; - debugTask$jscomp$1.run(performance.measure.bind(performance, entryName$jscomp$1, { - start: 0 > startTime$jscomp$4 ? 0 : startTime$jscomp$4, - end: endTime$jscomp$0, - detail: { - devtools: { - color: "error", - track: trackNames[trackIdx$jscomp$3], - trackGroup: "Server Components \u269b", - properties: properties$jscomp$1, - tooltipText: tooltipText - } - } - })); - performance.clearMeasures(entryName$jscomp$1); - } else console.timeStamp(entryName$jscomp$1, 0 > startTime$jscomp$4 ? 0 : startTime$jscomp$4, endTime$jscomp$0, trackNames[trackIdx$jscomp$3], "Server Components \u269b", "error"); - } - break; - default: - logComponentAwait(asyncInfo, trackIdx$jscomp$6, time, endTime, env$jscomp$1, void 0); - } - } else logComponentAwait(asyncInfo, trackIdx$jscomp$6, time, endTime, env$jscomp$1, void 0); - } - } - else { - endTime = time; - for(var _j = debugInfo.length - 1; _j > _i6; _j--){ - var _candidateInfo = debugInfo[_j]; - if ("string" === typeof _candidateInfo.name) { - componentEndTime > childrenEndTime && (childrenEndTime = componentEndTime); - var _componentInfo = _candidateInfo, _env = response$jscomp$0._rootEnvironmentName, componentInfo$jscomp$4 = _componentInfo, trackIdx$jscomp$4 = trackIdx$jscomp$6, startTime$jscomp$5 = time, childrenEndTime$jscomp$3 = childrenEndTime; - if (supportsUserTiming) { - var env$jscomp$2 = componentInfo$jscomp$4.env, name$jscomp$1 = componentInfo$jscomp$4.name, entryName$jscomp$2 = env$jscomp$2 === _env || void 0 === env$jscomp$2 ? name$jscomp$1 : name$jscomp$1 + " [" + env$jscomp$2 + "]", measureName$jscomp$1 = "\u200b" + entryName$jscomp$2, properties$jscomp$2 = [ - [ - "Aborted", - "The stream was aborted before this Component finished rendering." - ] - ]; - null != componentInfo$jscomp$4.key && addValueToProperties("key", componentInfo$jscomp$4.key, properties$jscomp$2, 0, ""); - null != componentInfo$jscomp$4.props && addObjectToProperties(componentInfo$jscomp$4.props, properties$jscomp$2, 0, ""); - performance.measure(measureName$jscomp$1, { - start: 0 > startTime$jscomp$5 ? 0 : startTime$jscomp$5, - end: childrenEndTime$jscomp$3, - detail: { - devtools: { - color: "warning", - track: trackNames[trackIdx$jscomp$4], - trackGroup: "Server Components \u269b", - tooltipText: entryName$jscomp$2 + " Aborted", - properties: properties$jscomp$2 - } - } - }); - performance.clearMeasures(measureName$jscomp$1); - } - componentEndTime = time; - result.component = _componentInfo; - isLastComponent = !1; - } else if (_candidateInfo.awaited && null != _candidateInfo.awaited.env) { - var _asyncInfo = _candidateInfo, _env2 = response$jscomp$0._rootEnvironmentName; - _asyncInfo.awaited.end > endTime && (endTime = _asyncInfo.awaited.end); - endTime > childrenEndTime && (childrenEndTime = endTime); - var asyncInfo$jscomp$1 = _asyncInfo, trackIdx$jscomp$5 = trackIdx$jscomp$6, startTime$jscomp$6 = time, endTime$jscomp$1 = endTime, rootEnv$jscomp$0 = _env2; - if (supportsUserTiming && 0 < endTime$jscomp$1) { - var entryName$jscomp$3 = "await " + getIOShortName(asyncInfo$jscomp$1.awaited, "", asyncInfo$jscomp$1.env, rootEnv$jscomp$0), debugTask$jscomp$2 = asyncInfo$jscomp$1.debugTask || asyncInfo$jscomp$1.awaited.debugTask; - if (debugTask$jscomp$2) { - var tooltipText$jscomp$0 = getIOLongName(asyncInfo$jscomp$1.awaited, "", asyncInfo$jscomp$1.env, rootEnv$jscomp$0) + " Aborted"; - debugTask$jscomp$2.run(performance.measure.bind(performance, entryName$jscomp$3, { - start: 0 > startTime$jscomp$6 ? 0 : startTime$jscomp$6, - end: endTime$jscomp$1, - detail: { - devtools: { - color: "warning", - track: trackNames[trackIdx$jscomp$5], - trackGroup: "Server Components \u269b", - properties: [ - [ - "Aborted", - "The stream was aborted before this Promise resolved." - ] - ], - tooltipText: tooltipText$jscomp$0 - } - } - })); - performance.clearMeasures(entryName$jscomp$3); - } else console.timeStamp(entryName$jscomp$3, 0 > startTime$jscomp$6 ? 0 : startTime$jscomp$6, endTime$jscomp$1, trackNames[trackIdx$jscomp$5], "Server Components \u269b", "warning"); - } - } - } - } - endTime = time; - endTimeIdx = _i6; - } - } - result.endTime = childrenEndTime; - return result; - } - function flushInitialRenderPerformance(response) { - if (response._replayConsole) { - var rootChunk = getChunk(response, 0); - isArrayImpl(rootChunk._children) && (markAllTracksInOrder(), flushComponentPerformance(response, rootChunk, 0, -Infinity, -Infinity)); - } - } - function processFullBinaryRow(response, streamState, id, tag, buffer, chunk) { - switch(tag){ - case 65: - resolveBuffer(response, id, mergeBuffer(buffer, chunk).buffer, streamState); - return; - case 79: - resolveTypedArray(response, id, buffer, chunk, Int8Array, 1, streamState); - return; - case 111: - resolveBuffer(response, id, 0 === buffer.length ? chunk : mergeBuffer(buffer, chunk), streamState); - return; - case 85: - resolveTypedArray(response, id, buffer, chunk, Uint8ClampedArray, 1, streamState); - return; - case 83: - resolveTypedArray(response, id, buffer, chunk, Int16Array, 2, streamState); - return; - case 115: - resolveTypedArray(response, id, buffer, chunk, Uint16Array, 2, streamState); - return; - case 76: - resolveTypedArray(response, id, buffer, chunk, Int32Array, 4, streamState); - return; - case 108: - resolveTypedArray(response, id, buffer, chunk, Uint32Array, 4, streamState); - return; - case 71: - resolveTypedArray(response, id, buffer, chunk, Float32Array, 4, streamState); - return; - case 103: - resolveTypedArray(response, id, buffer, chunk, Float64Array, 8, streamState); - return; - case 77: - resolveTypedArray(response, id, buffer, chunk, BigInt64Array, 8, streamState); - return; - case 109: - resolveTypedArray(response, id, buffer, chunk, BigUint64Array, 8, streamState); - return; - case 86: - resolveTypedArray(response, id, buffer, chunk, DataView, 1, streamState); - return; - } - for(var stringDecoder = response._stringDecoder, row = "", i = 0; i < buffer.length; i++)row += stringDecoder.decode(buffer[i], decoderOptions); - row += stringDecoder.decode(chunk); - processFullStringRow(response, streamState, id, tag, row); - } - function processFullStringRow(response, streamState, id, tag, row) { - switch(tag){ - case 73: - resolveModule(response, id, row, streamState); - break; - case 72: - id = row[0]; - streamState = row.slice(1); - response = JSON.parse(streamState, response._fromJSON); - streamState = ReactDOMSharedInternals.d; - switch(id){ - case "D": - streamState.D(response); - break; - case "C": - "string" === typeof response ? streamState.C(response) : streamState.C(response[0], response[1]); - break; - case "L": - id = response[0]; - row = response[1]; - 3 === response.length ? streamState.L(id, row, response[2]) : streamState.L(id, row); - break; - case "m": - "string" === typeof response ? streamState.m(response) : streamState.m(response[0], response[1]); - break; - case "X": - "string" === typeof response ? streamState.X(response) : streamState.X(response[0], response[1]); - break; - case "S": - "string" === typeof response ? streamState.S(response) : streamState.S(response[0], 0 === response[1] ? void 0 : response[1], 3 === response.length ? response[2] : void 0); - break; - case "M": - "string" === typeof response ? streamState.M(response) : streamState.M(response[0], response[1]); - } - break; - case 69: - tag = response._chunks; - var chunk = tag.get(id); - row = JSON.parse(row); - var error = resolveErrorDev(response, row); - error.digest = row.digest; - chunk ? (resolveChunkDebugInfo(response, streamState, chunk), triggerErrorOnChunk(response, chunk, error)) : (row = new ReactPromise("rejected", null, error), resolveChunkDebugInfo(response, streamState, row), tag.set(id, row)); - break; - case 84: - tag = response._chunks; - (chunk = tag.get(id)) && "pending" !== chunk.status ? chunk.reason.enqueueValue(row) : (chunk && releasePendingChunk(response, chunk), row = new ReactPromise("fulfilled", row, null), resolveChunkDebugInfo(response, streamState, row), tag.set(id, row)); - break; - case 78: - response._timeOrigin = +row - performance.timeOrigin; - break; - case 68: - id = getChunk(response, id); - "fulfilled" !== id.status && "rejected" !== id.status && "halted" !== id.status && "blocked" !== id.status && "resolved_module" !== id.status && (streamState = id._debugChunk, tag = createResolvedModelChunk(response, row), tag._debugChunk = streamState, id._debugChunk = tag, initializeDebugChunk(response, id), "blocked" !== tag.status || void 0 !== response._debugChannel && response._debugChannel.hasReadable || '"' !== row[0] || "$" !== row[1] || (streamState = row.slice(2, row.length - 1).split(":"), streamState = parseInt(streamState[0], 16), "pending" === getChunk(response, streamState).status && (id._debugChunk = null))); - break; - case 74: - resolveIOInfo(response, id, row); - break; - case 87: - resolveConsoleEntry(response, row); - break; - case 82: - startReadableStream(response, id, void 0, streamState); - break; - case 114: - startReadableStream(response, id, "bytes", streamState); - break; - case 88: - startAsyncIterable(response, id, !1, streamState); - break; - case 120: - startAsyncIterable(response, id, !0, streamState); - break; - case 67: - (id = response._chunks.get(id)) && "fulfilled" === id.status && (0 === --response._pendingChunks && (response._weakResponse.response = null), id.reason.close("" === row ? '"$undefined"' : row)); - break; - default: - if ("" === row) { - if (streamState = response._chunks, (row = streamState.get(id)) || streamState.set(id, row = createPendingChunk(response)), "pending" === row.status || "blocked" === row.status) releasePendingChunk(response, row), response = row, response.status = "halted", response.value = null, response.reason = null; - } else tag = response._chunks, (chunk = tag.get(id)) ? (resolveChunkDebugInfo(response, streamState, chunk), resolveModelChunk(response, chunk, row)) : (row = createResolvedModelChunk(response, row), resolveChunkDebugInfo(response, streamState, row), tag.set(id, row)); - } - } - function processBinaryChunk(weakResponse, streamState, chunk) { - if (void 0 !== weakResponse.weak.deref()) { - weakResponse = unwrapWeakResponse(weakResponse); - var i = 0, rowState = streamState._rowState, rowID = streamState._rowID, rowTag = streamState._rowTag, rowLength = streamState._rowLength, buffer = streamState._buffer, chunkLength = chunk.length; - for(incrementChunkDebugInfo(streamState, chunkLength); i < chunkLength;){ - var lastIdx = -1; - switch(rowState){ - case 0: - lastIdx = chunk[i++]; - 58 === lastIdx ? rowState = 1 : rowID = rowID << 4 | (96 < lastIdx ? lastIdx - 87 : lastIdx - 48); - continue; - case 1: - rowState = chunk[i]; - 84 === rowState || 65 === rowState || 79 === rowState || 111 === rowState || 98 === rowState || 85 === rowState || 83 === rowState || 115 === rowState || 76 === rowState || 108 === rowState || 71 === rowState || 103 === rowState || 77 === rowState || 109 === rowState || 86 === rowState ? (rowTag = rowState, rowState = 2, i++) : 64 < rowState && 91 > rowState || 35 === rowState || 114 === rowState || 120 === rowState ? (rowTag = rowState, rowState = 3, i++) : (rowTag = 0, rowState = 3); - continue; - case 2: - lastIdx = chunk[i++]; - 44 === lastIdx ? rowState = 4 : rowLength = rowLength << 4 | (96 < lastIdx ? lastIdx - 87 : lastIdx - 48); - continue; - case 3: - lastIdx = chunk.indexOf(10, i); - break; - case 4: - lastIdx = i + rowLength, lastIdx > chunk.length && (lastIdx = -1); - } - var offset = chunk.byteOffset + i; - if (-1 < lastIdx) rowLength = new Uint8Array(chunk.buffer, offset, lastIdx - i), 98 === rowTag ? resolveBuffer(weakResponse, rowID, lastIdx === chunkLength ? rowLength : rowLength.slice(), streamState) : processFullBinaryRow(weakResponse, streamState, rowID, rowTag, buffer, rowLength), i = lastIdx, 3 === rowState && i++, rowLength = rowID = rowTag = rowState = 0, buffer.length = 0; - else { - chunk = new Uint8Array(chunk.buffer, offset, chunk.byteLength - i); - 98 === rowTag ? (rowLength -= chunk.byteLength, resolveBuffer(weakResponse, rowID, chunk, streamState)) : (buffer.push(chunk), rowLength -= chunk.byteLength); - break; - } - } - streamState._rowState = rowState; - streamState._rowID = rowID; - streamState._rowTag = rowTag; - streamState._rowLength = rowLength; - } - } - function createFromJSONCallback(response) { - return function(key, value) { - if ("string" === typeof value) return parseModelString(response, this, key, value); - if ("object" === typeof value && null !== value) { - if (value[0] === REACT_ELEMENT_TYPE) b: { - var owner = value[4], stack = value[5]; - key = value[6]; - value = { - $$typeof: REACT_ELEMENT_TYPE, - type: value[1], - key: value[2], - props: value[3], - _owner: void 0 === owner ? null : owner - }; - Object.defineProperty(value, "ref", { - enumerable: !1, - get: nullRefGetter - }); - value._store = {}; - Object.defineProperty(value._store, "validated", { - configurable: !1, - enumerable: !1, - writable: !0, - value: key - }); - Object.defineProperty(value, "_debugInfo", { - configurable: !1, - enumerable: !1, - writable: !0, - value: null - }); - Object.defineProperty(value, "_debugStack", { - configurable: !1, - enumerable: !1, - writable: !0, - value: void 0 === stack ? null : stack - }); - Object.defineProperty(value, "_debugTask", { - configurable: !1, - enumerable: !1, - writable: !0, - value: null - }); - if (null !== initializingHandler) { - owner = initializingHandler; - initializingHandler = owner.parent; - if (owner.errored) { - stack = new ReactPromise("rejected", null, owner.reason); - initializeElement(response, value, null); - owner = { - name: getComponentNameFromType(value.type) || "", - owner: value._owner - }; - owner.debugStack = value._debugStack; - supportsCreateTask && (owner.debugTask = value._debugTask); - stack._debugInfo = [ - owner - ]; - key = createLazyChunkWrapper(stack, key); - break b; - } - if (0 < owner.deps) { - stack = new ReactPromise("blocked", null, null); - owner.value = value; - owner.chunk = stack; - key = createLazyChunkWrapper(stack, key); - value = initializeElement.bind(null, response, value, key); - stack.then(value, value); - break b; - } - } - initializeElement(response, value, null); - key = value; - } - else key = value; - return key; - } - return value; - }; - } - function close(weakResponse) { - reportGlobalError(weakResponse, Error("Connection closed.")); - } - function createDebugCallbackFromWritableStream(debugWritable) { - var textEncoder = new TextEncoder(), writer = debugWritable.getWriter(); - return function(message) { - "" === message ? writer.close() : writer.write(textEncoder.encode(message + "\n")).catch(console.error); - }; - } - function createResponseFromOptions(options) { - var debugChannel = options && void 0 !== options.debugChannel ? { - hasReadable: void 0 !== options.debugChannel.readable, - callback: void 0 !== options.debugChannel.writable ? createDebugCallbackFromWritableStream(options.debugChannel.writable) : null - } : void 0; - return new ResponseInstance(null, null, null, options && options.callServer ? options.callServer : void 0, void 0, void 0, options && options.temporaryReferences ? options.temporaryReferences : void 0, options && options.findSourceMapURL ? options.findSourceMapURL : void 0, options ? !1 !== options.replayConsoleLogs : !0, options && options.environmentName ? options.environmentName : void 0, options && null != options.startTime ? options.startTime : void 0, options && null != options.endTime ? options.endTime : void 0, debugChannel)._weakResponse; - } - function startReadingFromUniversalStream(response$jscomp$0, stream, onDone) { - function progress(_ref) { - var value = _ref.value; - if (_ref.done) return onDone(); - if (value instanceof ArrayBuffer) processBinaryChunk(response$jscomp$0, streamState, new Uint8Array(value)); - else if ("string" === typeof value) { - if (_ref = streamState, void 0 !== response$jscomp$0.weak.deref()) { - var response = unwrapWeakResponse(response$jscomp$0), i = 0, rowState = _ref._rowState, rowID = _ref._rowID, rowTag = _ref._rowTag, rowLength = _ref._rowLength, buffer = _ref._buffer, chunkLength = value.length; - for(incrementChunkDebugInfo(_ref, chunkLength); i < chunkLength;){ - var lastIdx = -1; - switch(rowState){ - case 0: - lastIdx = value.charCodeAt(i++); - 58 === lastIdx ? rowState = 1 : rowID = rowID << 4 | (96 < lastIdx ? lastIdx - 87 : lastIdx - 48); - continue; - case 1: - rowState = value.charCodeAt(i); - 84 === rowState || 65 === rowState || 79 === rowState || 111 === rowState || 85 === rowState || 83 === rowState || 115 === rowState || 76 === rowState || 108 === rowState || 71 === rowState || 103 === rowState || 77 === rowState || 109 === rowState || 86 === rowState ? (rowTag = rowState, rowState = 2, i++) : 64 < rowState && 91 > rowState || 114 === rowState || 120 === rowState ? (rowTag = rowState, rowState = 3, i++) : (rowTag = 0, rowState = 3); - continue; - case 2: - lastIdx = value.charCodeAt(i++); - 44 === lastIdx ? rowState = 4 : rowLength = rowLength << 4 | (96 < lastIdx ? lastIdx - 87 : lastIdx - 48); - continue; - case 3: - lastIdx = value.indexOf("\n", i); - break; - case 4: - if (84 !== rowTag) throw Error("Binary RSC chunks cannot be encoded as strings. This is a bug in the wiring of the React streams."); - if (rowLength < value.length || value.length > 3 * rowLength) throw Error("String chunks need to be passed in their original shape. Not split into smaller string chunks. This is a bug in the wiring of the React streams."); - lastIdx = value.length; - } - if (-1 < lastIdx) { - if (0 < buffer.length) throw Error("String chunks need to be passed in their original shape. Not split into smaller string chunks. This is a bug in the wiring of the React streams."); - i = value.slice(i, lastIdx); - processFullStringRow(response, _ref, rowID, rowTag, i); - i = lastIdx; - 3 === rowState && i++; - rowLength = rowID = rowTag = rowState = 0; - buffer.length = 0; - } else if (value.length !== i) throw Error("String chunks need to be passed in their original shape. Not split into smaller string chunks. This is a bug in the wiring of the React streams."); - } - _ref._rowState = rowState; - _ref._rowID = rowID; - _ref._rowTag = rowTag; - _ref._rowLength = rowLength; - } - } else processBinaryChunk(response$jscomp$0, streamState, value); - return reader.read().then(progress).catch(error); - } - function error(e) { - reportGlobalError(response$jscomp$0, e); - } - var streamState = createStreamState(response$jscomp$0, stream), reader = stream.getReader(); - reader.read().then(progress).catch(error); - } - function startReadingFromStream(response, stream, onDone, debugValue) { - function progress(_ref2) { - var value = _ref2.value; - if (_ref2.done) return onDone(); - processBinaryChunk(response, streamState, value); - return reader.read().then(progress).catch(error); - } - function error(e) { - reportGlobalError(response, e); - } - var streamState = createStreamState(response, debugValue), reader = stream.getReader(); - reader.read().then(progress).catch(error); - } - var React = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"), ReactDOM = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react-dom/index.js [app-client] (ecmascript)"), decoderOptions = { - stream: !0 - }, bind = Function.prototype.bind, hasOwnProperty = Object.prototype.hasOwnProperty, instrumentedChunks = new WeakSet(), loadedChunks = new WeakSet(), chunkIOInfoCache = new Map(), ReactDOMSharedInternals = ReactDOM.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator, ASYNC_ITERATOR = Symbol.asyncIterator, isArrayImpl = Array.isArray, getPrototypeOf = Object.getPrototypeOf, jsxPropsParents = new WeakMap(), jsxChildrenParents = new WeakMap(), CLIENT_REFERENCE_TAG = Symbol.for("react.client.reference"), ObjectPrototype = Object.prototype, knownServerReferences = new WeakMap(), fakeServerFunctionIdx = 0, v8FrameRegExp = /^ {3} at (?:(.+) \((.+):(\d+):(\d+)\)|(?:async )?(.+):(\d+):(\d+))$/, jscSpiderMonkeyFrameRegExp = /(?:(.*)@)?(.*):(\d+):(\d+)/, REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), supportsUserTiming = "undefined" !== typeof console && "function" === typeof console.timeStamp && "undefined" !== typeof performance && "function" === typeof performance.measure, trackNames = "Primary Parallel Parallel\u200b Parallel\u200b\u200b Parallel\u200b\u200b\u200b Parallel\u200b\u200b\u200b\u200b Parallel\u200b\u200b\u200b\u200b\u200b Parallel\u200b\u200b\u200b\u200b\u200b\u200b Parallel\u200b\u200b\u200b\u200b\u200b\u200b\u200b Parallel\u200b\u200b\u200b\u200b\u200b\u200b\u200b\u200b".split(" "), prefix, suffix; - new ("function" === typeof WeakMap ? WeakMap : Map)(); - var ReactSharedInteralsServer = React.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE || ReactSharedInteralsServer; - ReactPromise.prototype = Object.create(Promise.prototype); - ReactPromise.prototype.then = function(resolve, reject) { - var _this = this; - switch(this.status){ - case "resolved_model": - initializeModelChunk(this); - break; - case "resolved_module": - initializeModuleChunk(this); - } - var resolveCallback = resolve, rejectCallback = reject, wrapperPromise = new Promise(function(res, rej) { - resolve = function(value) { - wrapperPromise._debugInfo = _this._debugInfo; - res(value); - }; - reject = function(reason) { - wrapperPromise._debugInfo = _this._debugInfo; - rej(reason); - }; - }); - wrapperPromise.then(resolveCallback, rejectCallback); - switch(this.status){ - case "fulfilled": - "function" === typeof resolve && resolve(this.value); - break; - case "pending": - case "blocked": - "function" === typeof resolve && (null === this.value && (this.value = []), this.value.push(resolve)); - "function" === typeof reject && (null === this.reason && (this.reason = []), this.reason.push(reject)); - break; - case "halted": - break; - default: - "function" === typeof reject && reject(this.reason); - } - }; - var debugChannelRegistry = "function" === typeof FinalizationRegistry ? new FinalizationRegistry(closeDebugChannel) : null, initializingHandler = null, initializingChunk = null, mightHaveStaticConstructor = /\bclass\b.*\bstatic\b/, MIN_CHUNK_SIZE = 65536, supportsCreateTask = !!console.createTask, fakeFunctionCache = new Map(), fakeFunctionIdx = 0, createFakeJSXCallStack = { - react_stack_bottom_frame: function(response, stack, environmentName) { - return buildFakeCallStack(response, stack, environmentName, !1, fakeJSXCallSite)(); - } - }, createFakeJSXCallStackInDEV = createFakeJSXCallStack.react_stack_bottom_frame.bind(createFakeJSXCallStack), currentOwnerInDEV = null, replayConsoleWithCallStack = { - react_stack_bottom_frame: function(response, payload) { - var methodName = payload[0], stackTrace = payload[1], owner = payload[2], env = payload[3]; - payload = payload.slice(4); - var prevStack = ReactSharedInternals.getCurrentStack; - ReactSharedInternals.getCurrentStack = getCurrentStackInDEV; - currentOwnerInDEV = null === owner ? response._debugRootOwner : owner; - try { - a: { - var offset = 0; - switch(methodName){ - case "dir": - case "dirxml": - case "groupEnd": - case "table": - var JSCompiler_inline_result = bind.apply(console[methodName], [ - console - ].concat(payload)); - break a; - case "assert": - offset = 1; - } - var newArgs = payload.slice(0); - "string" === typeof newArgs[offset] ? newArgs.splice(offset, 1, "%c%s%c " + newArgs[offset], "background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px", " " + env + " ", "") : newArgs.splice(offset, 0, "%c%s%c", "background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px", " " + env + " ", ""); - newArgs.unshift(console); - JSCompiler_inline_result = bind.apply(console[methodName], newArgs); - } - var callStack = buildFakeCallStack(response, stackTrace, env, !1, JSCompiler_inline_result); - if (null != owner) { - var task = initializeFakeTask(response, owner); - initializeFakeStack(response, owner); - if (null !== task) { - task.run(callStack); - return; - } - } - var rootTask = getRootTask(response, env); - null != rootTask ? rootTask.run(callStack) : callStack(); - } finally{ - currentOwnerInDEV = null, ReactSharedInternals.getCurrentStack = prevStack; - } - } - }, replayConsoleWithCallStackInDEV = replayConsoleWithCallStack.react_stack_bottom_frame.bind(replayConsoleWithCallStack); - (function(internals) { - if ("undefined" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) return !1; - var hook = __REACT_DEVTOOLS_GLOBAL_HOOK__; - if (hook.isDisabled || !hook.supportsFlight) return !0; - try { - hook.inject(internals); - } catch (err) { - console.error("React instrumentation encountered an error: %o.", err); - } - return hook.checkDCE ? !0 : !1; - })({ - bundleType: 1, - version: "19.3.0-canary-f93b9fd4-20251217", - rendererPackageName: "react-server-dom-turbopack", - currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.3.0-canary-f93b9fd4-20251217", - getCurrentComponentInfo: function() { - return currentOwnerInDEV; - } - }); - exports.createFromFetch = function(promiseForResponse, options) { - var response = createResponseFromOptions(options); - promiseForResponse.then(function(r) { - if (options && options.debugChannel && options.debugChannel.readable) { - var streamDoneCount = 0, handleDone = function() { - 2 === ++streamDoneCount && close(response); - }; - startReadingFromUniversalStream(response, options.debugChannel.readable, handleDone); - startReadingFromStream(response, r.body, handleDone, r); - } else startReadingFromStream(response, r.body, close.bind(null, response), r); - }, function(e) { - reportGlobalError(response, e); - }); - return getRoot(response); - }; - exports.createFromReadableStream = function(stream, options) { - var response = createResponseFromOptions(options); - if (options && options.debugChannel && options.debugChannel.readable) { - var streamDoneCount = 0, handleDone = function() { - 2 === ++streamDoneCount && close(response); - }; - startReadingFromUniversalStream(response, options.debugChannel.readable, handleDone); - startReadingFromStream(response, stream, handleDone, stream); - } else startReadingFromStream(response, stream, close.bind(null, response), stream); - return getRoot(response); - }; - exports.createServerReference = function(id, callServer, encodeFormAction, findSourceMapURL, functionName) { - function action() { - var args = Array.prototype.slice.call(arguments); - return callServer(id, args); - } - var location = parseStackLocation(Error("react-stack-top-frame")); - if (null !== location) { - encodeFormAction = location[1]; - var line = location[2]; - location = location[3]; - findSourceMapURL = null == findSourceMapURL ? null : findSourceMapURL(encodeFormAction, "Client"); - action = createFakeServerFunction(functionName || "", encodeFormAction, findSourceMapURL, line, location, "Client", action); - } - registerBoundServerReference(action, id, null); - return action; - }; - exports.createTemporaryReferenceSet = function() { - return new Map(); - }; - exports.encodeReply = function(value, options) { - return new Promise(function(resolve, reject) { - var abort = processReply(value, "", options && options.temporaryReferences ? options.temporaryReferences : void 0, resolve, reject); - if (options && options.signal) { - var signal = options.signal; - if (signal.aborted) abort(signal.reason); - else { - var listener = function() { - abort(signal.reason); - signal.removeEventListener("abort", listener); - }; - signal.addEventListener("abort", listener); - } - } - }); - }; - exports.registerServerReference = function(reference, id) { - registerBoundServerReference(reference, id, null); - return reference; - }; -}(); -}), -"[project]/node_modules/next/dist/compiled/react-server-dom-turbopack/client.browser.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -'use strict'; -if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable -; -else { - module.exports = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.browser.development.js [app-client] (ecmascript)"); -} -}), -"[project]/node_modules/next/dist/compiled/react-server-dom-turbopack/client.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -module.exports = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react-server-dom-turbopack/client.browser.js [app-client] (ecmascript)"); -}), -]); - -//# sourceMappingURL=node_modules_next_dist_compiled_react-server-dom-turbopack_9212ccad._.js.map \ No newline at end of file diff --git a/.next/dev/static/chunks/node_modules_next_dist_compiled_react-server-dom-turbopack_9212ccad._.js.map b/.next/dev/static/chunks/node_modules_next_dist_compiled_react-server-dom-turbopack_9212ccad._.js.map deleted file mode 100644 index ba1e582..0000000 --- a/.next/dev/static/chunks/node_modules_next_dist_compiled_react-server-dom-turbopack_9212ccad._.js.map +++ /dev/null @@ -1,8 +0,0 @@ -{ - "version": 3, - "sources": [], - "sections": [ - {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/dist/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.browser.development.js"],"sourcesContent":["/**\n * @license React\n * react-server-dom-turbopack-client.browser.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and 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\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function resolveClientReference(bundlerConfig, metadata) {\n if (bundlerConfig) {\n var moduleExports = bundlerConfig[metadata[0]];\n if ((bundlerConfig = moduleExports && moduleExports[metadata[2]]))\n moduleExports = bundlerConfig.name;\n else {\n bundlerConfig = moduleExports && moduleExports[\"*\"];\n if (!bundlerConfig)\n throw Error(\n 'Could not find the module \"' +\n metadata[0] +\n '\" in the React Server Consumer Manifest. This is probably a bug in the React Server Components bundler.'\n );\n moduleExports = metadata[2];\n }\n return 4 === metadata.length\n ? [bundlerConfig.id, bundlerConfig.chunks, moduleExports, 1]\n : [bundlerConfig.id, bundlerConfig.chunks, moduleExports];\n }\n return metadata;\n }\n function resolveServerReference(bundlerConfig, id) {\n var name = \"\",\n resolvedModuleData = bundlerConfig[id];\n if (resolvedModuleData) name = resolvedModuleData.name;\n else {\n var idx = id.lastIndexOf(\"#\");\n -1 !== idx &&\n ((name = id.slice(idx + 1)),\n (resolvedModuleData = bundlerConfig[id.slice(0, idx)]));\n if (!resolvedModuleData)\n throw Error(\n 'Could not find the module \"' +\n id +\n '\" in the React Server Manifest. This is probably a bug in the React Server Components bundler.'\n );\n }\n return resolvedModuleData.async\n ? [resolvedModuleData.id, resolvedModuleData.chunks, name, 1]\n : [resolvedModuleData.id, resolvedModuleData.chunks, name];\n }\n function requireAsyncModule(id) {\n var promise = __turbopack_require__(id);\n if (\"function\" !== typeof promise.then || \"fulfilled\" === promise.status)\n return null;\n promise.then(\n function (value) {\n promise.status = \"fulfilled\";\n promise.value = value;\n },\n function (reason) {\n promise.status = \"rejected\";\n promise.reason = reason;\n }\n );\n return promise;\n }\n function ignoreReject() {}\n function preloadModule(metadata) {\n for (\n var chunks = metadata[1], promises = [], i = 0;\n i < chunks.length;\n i++\n ) {\n var thenable = __turbopack_load_by_url__(chunks[i]);\n loadedChunks.has(thenable) || promises.push(thenable);\n if (!instrumentedChunks.has(thenable)) {\n var resolve = loadedChunks.add.bind(loadedChunks, thenable);\n thenable.then(resolve, ignoreReject);\n instrumentedChunks.add(thenable);\n }\n }\n return 4 === metadata.length\n ? 0 === promises.length\n ? requireAsyncModule(metadata[0])\n : Promise.all(promises).then(function () {\n return requireAsyncModule(metadata[0]);\n })\n : 0 < promises.length\n ? Promise.all(promises)\n : null;\n }\n function requireModule(metadata) {\n var moduleExports = __turbopack_require__(metadata[0]);\n if (4 === metadata.length && \"function\" === typeof moduleExports.then)\n if (\"fulfilled\" === moduleExports.status)\n moduleExports = moduleExports.value;\n else throw moduleExports.reason;\n if (\"*\" === metadata[2]) return moduleExports;\n if (\"\" === metadata[2])\n return moduleExports.__esModule ? moduleExports.default : moduleExports;\n if (hasOwnProperty.call(moduleExports, metadata[2]))\n return moduleExports[metadata[2]];\n }\n function getIteratorFn(maybeIterable) {\n if (null === maybeIterable || \"object\" !== typeof maybeIterable)\n return null;\n maybeIterable =\n (MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) ||\n maybeIterable[\"@@iterator\"];\n return \"function\" === typeof maybeIterable ? maybeIterable : null;\n }\n function isObjectPrototype(object) {\n if (!object) return !1;\n var ObjectPrototype = Object.prototype;\n if (object === ObjectPrototype) return !0;\n if (getPrototypeOf(object)) return !1;\n object = Object.getOwnPropertyNames(object);\n for (var i = 0; i < object.length; i++)\n if (!(object[i] in ObjectPrototype)) return !1;\n return !0;\n }\n function isSimpleObject(object) {\n if (!isObjectPrototype(getPrototypeOf(object))) return !1;\n for (\n var names = Object.getOwnPropertyNames(object), i = 0;\n i < names.length;\n i++\n ) {\n var descriptor = Object.getOwnPropertyDescriptor(object, names[i]);\n if (\n !descriptor ||\n (!descriptor.enumerable &&\n ((\"key\" !== names[i] && \"ref\" !== names[i]) ||\n \"function\" !== typeof descriptor.get))\n )\n return !1;\n }\n return !0;\n }\n function objectName(object) {\n object = Object.prototype.toString.call(object);\n return object.slice(8, object.length - 1);\n }\n function describeKeyForErrorMessage(key) {\n var encodedKey = JSON.stringify(key);\n return '\"' + key + '\"' === encodedKey ? key : encodedKey;\n }\n function describeValueForErrorMessage(value) {\n switch (typeof value) {\n case \"string\":\n return JSON.stringify(\n 10 >= value.length ? value : value.slice(0, 10) + \"...\"\n );\n case \"object\":\n if (isArrayImpl(value)) return \"[...]\";\n if (null !== value && value.$$typeof === CLIENT_REFERENCE_TAG)\n return \"client\";\n value = objectName(value);\n return \"Object\" === value ? \"{...}\" : value;\n case \"function\":\n return value.$$typeof === CLIENT_REFERENCE_TAG\n ? \"client\"\n : (value = value.displayName || value.name)\n ? \"function \" + value\n : \"function\";\n default:\n return String(value);\n }\n }\n function describeElementType(type) {\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n case REACT_VIEW_TRANSITION_TYPE:\n return \"ViewTransition\";\n }\n if (\"object\" === typeof type)\n switch (type.$$typeof) {\n case REACT_FORWARD_REF_TYPE:\n return describeElementType(type.render);\n case REACT_MEMO_TYPE:\n return describeElementType(type.type);\n case REACT_LAZY_TYPE:\n var payload = type._payload;\n type = type._init;\n try {\n return describeElementType(type(payload));\n } catch (x) {}\n }\n return \"\";\n }\n function describeObjectForErrorMessage(objectOrArray, expandedName) {\n var objKind = objectName(objectOrArray);\n if (\"Object\" !== objKind && \"Array\" !== objKind) return objKind;\n var start = -1,\n length = 0;\n if (isArrayImpl(objectOrArray))\n if (jsxChildrenParents.has(objectOrArray)) {\n var type = jsxChildrenParents.get(objectOrArray);\n objKind = \"<\" + describeElementType(type) + \">\";\n for (var i = 0; i < objectOrArray.length; i++) {\n var value = objectOrArray[i];\n value =\n \"string\" === typeof value\n ? value\n : \"object\" === typeof value && null !== value\n ? \"{\" + describeObjectForErrorMessage(value) + \"}\"\n : \"{\" + describeValueForErrorMessage(value) + \"}\";\n \"\" + i === expandedName\n ? ((start = objKind.length),\n (length = value.length),\n (objKind += value))\n : (objKind =\n 15 > value.length && 40 > objKind.length + value.length\n ? objKind + value\n : objKind + \"{...}\");\n }\n objKind += \"</\" + describeElementType(type) + \">\";\n } else {\n objKind = \"[\";\n for (type = 0; type < objectOrArray.length; type++)\n 0 < type && (objKind += \", \"),\n (i = objectOrArray[type]),\n (i =\n \"object\" === typeof i && null !== i\n ? describeObjectForErrorMessage(i)\n : describeValueForErrorMessage(i)),\n \"\" + type === expandedName\n ? ((start = objKind.length),\n (length = i.length),\n (objKind += i))\n : (objKind =\n 10 > i.length && 40 > objKind.length + i.length\n ? objKind + i\n : objKind + \"...\");\n objKind += \"]\";\n }\n else if (objectOrArray.$$typeof === REACT_ELEMENT_TYPE)\n objKind = \"<\" + describeElementType(objectOrArray.type) + \"/>\";\n else {\n if (objectOrArray.$$typeof === CLIENT_REFERENCE_TAG) return \"client\";\n if (jsxPropsParents.has(objectOrArray)) {\n objKind = jsxPropsParents.get(objectOrArray);\n objKind = \"<\" + (describeElementType(objKind) || \"...\");\n type = Object.keys(objectOrArray);\n for (i = 0; i < type.length; i++) {\n objKind += \" \";\n value = type[i];\n objKind += describeKeyForErrorMessage(value) + \"=\";\n var _value2 = objectOrArray[value];\n var _substr2 =\n value === expandedName &&\n \"object\" === typeof _value2 &&\n null !== _value2\n ? describeObjectForErrorMessage(_value2)\n : describeValueForErrorMessage(_value2);\n \"string\" !== typeof _value2 && (_substr2 = \"{\" + _substr2 + \"}\");\n value === expandedName\n ? ((start = objKind.length),\n (length = _substr2.length),\n (objKind += _substr2))\n : (objKind =\n 10 > _substr2.length && 40 > objKind.length + _substr2.length\n ? objKind + _substr2\n : objKind + \"...\");\n }\n objKind += \">\";\n } else {\n objKind = \"{\";\n type = Object.keys(objectOrArray);\n for (i = 0; i < type.length; i++)\n 0 < i && (objKind += \", \"),\n (value = type[i]),\n (objKind += describeKeyForErrorMessage(value) + \": \"),\n (_value2 = objectOrArray[value]),\n (_value2 =\n \"object\" === typeof _value2 && null !== _value2\n ? describeObjectForErrorMessage(_value2)\n : describeValueForErrorMessage(_value2)),\n value === expandedName\n ? ((start = objKind.length),\n (length = _value2.length),\n (objKind += _value2))\n : (objKind =\n 10 > _value2.length && 40 > objKind.length + _value2.length\n ? objKind + _value2\n : objKind + \"...\");\n objKind += \"}\";\n }\n }\n return void 0 === expandedName\n ? objKind\n : -1 < start && 0 < length\n ? ((objectOrArray = \" \".repeat(start) + \"^\".repeat(length)),\n \"\\n \" + objKind + \"\\n \" + objectOrArray)\n : \"\\n \" + objKind;\n }\n function serializeNumber(number) {\n return Number.isFinite(number)\n ? 0 === number && -Infinity === 1 / number\n ? \"$-0\"\n : number\n : Infinity === number\n ? \"$Infinity\"\n : -Infinity === number\n ? \"$-Infinity\"\n : \"$NaN\";\n }\n function processReply(\n root,\n formFieldPrefix,\n temporaryReferences,\n resolve,\n reject\n ) {\n function serializeTypedArray(tag, typedArray) {\n typedArray = new Blob([\n new Uint8Array(\n typedArray.buffer,\n typedArray.byteOffset,\n typedArray.byteLength\n )\n ]);\n var blobId = nextPartId++;\n null === formData && (formData = new FormData());\n formData.append(formFieldPrefix + blobId, typedArray);\n return \"$\" + tag + blobId.toString(16);\n }\n function serializeBinaryReader(reader) {\n function progress(entry) {\n entry.done\n ? ((entry = nextPartId++),\n data.append(formFieldPrefix + entry, new Blob(buffer)),\n data.append(\n formFieldPrefix + streamId,\n '\"$o' + entry.toString(16) + '\"'\n ),\n data.append(formFieldPrefix + streamId, \"C\"),\n pendingParts--,\n 0 === pendingParts && resolve(data))\n : (buffer.push(entry.value),\n reader.read(new Uint8Array(1024)).then(progress, reject));\n }\n null === formData && (formData = new FormData());\n var data = formData;\n pendingParts++;\n var streamId = nextPartId++,\n buffer = [];\n reader.read(new Uint8Array(1024)).then(progress, reject);\n return \"$r\" + streamId.toString(16);\n }\n function serializeReader(reader) {\n function progress(entry) {\n if (entry.done)\n data.append(formFieldPrefix + streamId, \"C\"),\n pendingParts--,\n 0 === pendingParts && resolve(data);\n else\n try {\n var partJSON = JSON.stringify(entry.value, resolveToJSON);\n data.append(formFieldPrefix + streamId, partJSON);\n reader.read().then(progress, reject);\n } catch (x) {\n reject(x);\n }\n }\n null === formData && (formData = new FormData());\n var data = formData;\n pendingParts++;\n var streamId = nextPartId++;\n reader.read().then(progress, reject);\n return \"$R\" + streamId.toString(16);\n }\n function serializeReadableStream(stream) {\n try {\n var binaryReader = stream.getReader({ mode: \"byob\" });\n } catch (x) {\n return serializeReader(stream.getReader());\n }\n return serializeBinaryReader(binaryReader);\n }\n function serializeAsyncIterable(iterable, iterator) {\n function progress(entry) {\n if (entry.done) {\n if (void 0 === entry.value)\n data.append(formFieldPrefix + streamId, \"C\");\n else\n try {\n var partJSON = JSON.stringify(entry.value, resolveToJSON);\n data.append(formFieldPrefix + streamId, \"C\" + partJSON);\n } catch (x) {\n reject(x);\n return;\n }\n pendingParts--;\n 0 === pendingParts && resolve(data);\n } else\n try {\n var _partJSON = JSON.stringify(entry.value, resolveToJSON);\n data.append(formFieldPrefix + streamId, _partJSON);\n iterator.next().then(progress, reject);\n } catch (x$0) {\n reject(x$0);\n }\n }\n null === formData && (formData = new FormData());\n var data = formData;\n pendingParts++;\n var streamId = nextPartId++;\n iterable = iterable === iterator;\n iterator.next().then(progress, reject);\n return \"$\" + (iterable ? \"x\" : \"X\") + streamId.toString(16);\n }\n function resolveToJSON(key, value) {\n var originalValue = this[key];\n \"object\" !== typeof originalValue ||\n originalValue === value ||\n originalValue instanceof Date ||\n (\"Object\" !== objectName(originalValue)\n ? console.error(\n \"Only plain objects can be passed to Server Functions from the Client. %s objects are not supported.%s\",\n objectName(originalValue),\n describeObjectForErrorMessage(this, key)\n )\n : console.error(\n \"Only plain objects can be passed to Server Functions from the Client. Objects with toJSON methods are not supported. Convert it manually to a simple value before passing it to props.%s\",\n describeObjectForErrorMessage(this, key)\n ));\n if (null === value) return null;\n if (\"object\" === typeof value) {\n switch (value.$$typeof) {\n case REACT_ELEMENT_TYPE:\n if (void 0 !== temporaryReferences && -1 === key.indexOf(\":\")) {\n var parentReference = writtenObjects.get(this);\n if (void 0 !== parentReference)\n return (\n temporaryReferences.set(parentReference + \":\" + key, value),\n \"$T\"\n );\n }\n throw Error(\n \"React Element cannot be passed to Server Functions from the Client without a temporary reference set. Pass a TemporaryReferenceSet to the options.\" +\n describeObjectForErrorMessage(this, key)\n );\n case REACT_LAZY_TYPE:\n originalValue = value._payload;\n var init = value._init;\n null === formData && (formData = new FormData());\n pendingParts++;\n try {\n parentReference = init(originalValue);\n var lazyId = nextPartId++,\n partJSON = serializeModel(parentReference, lazyId);\n formData.append(formFieldPrefix + lazyId, partJSON);\n return \"$\" + lazyId.toString(16);\n } catch (x) {\n if (\n \"object\" === typeof x &&\n null !== x &&\n \"function\" === typeof x.then\n ) {\n pendingParts++;\n var _lazyId = nextPartId++;\n parentReference = function () {\n try {\n var _partJSON2 = serializeModel(value, _lazyId),\n _data = formData;\n _data.append(formFieldPrefix + _lazyId, _partJSON2);\n pendingParts--;\n 0 === pendingParts && resolve(_data);\n } catch (reason) {\n reject(reason);\n }\n };\n x.then(parentReference, parentReference);\n return \"$\" + _lazyId.toString(16);\n }\n reject(x);\n return null;\n } finally {\n pendingParts--;\n }\n }\n parentReference = writtenObjects.get(value);\n if (\"function\" === typeof value.then) {\n if (void 0 !== parentReference)\n if (modelRoot === value) modelRoot = null;\n else return parentReference;\n null === formData && (formData = new FormData());\n pendingParts++;\n var promiseId = nextPartId++;\n key = \"$@\" + promiseId.toString(16);\n writtenObjects.set(value, key);\n value.then(function (partValue) {\n try {\n var previousReference = writtenObjects.get(partValue);\n var _partJSON3 =\n void 0 !== previousReference\n ? JSON.stringify(previousReference)\n : serializeModel(partValue, promiseId);\n partValue = formData;\n partValue.append(formFieldPrefix + promiseId, _partJSON3);\n pendingParts--;\n 0 === pendingParts && resolve(partValue);\n } catch (reason) {\n reject(reason);\n }\n }, reject);\n return key;\n }\n if (void 0 !== parentReference)\n if (modelRoot === value) modelRoot = null;\n else return parentReference;\n else\n -1 === key.indexOf(\":\") &&\n ((parentReference = writtenObjects.get(this)),\n void 0 !== parentReference &&\n ((parentReference = parentReference + \":\" + key),\n writtenObjects.set(value, parentReference),\n void 0 !== temporaryReferences &&\n temporaryReferences.set(parentReference, value)));\n if (isArrayImpl(value)) return value;\n if (value instanceof FormData) {\n null === formData && (formData = new FormData());\n var _data3 = formData;\n key = nextPartId++;\n var prefix = formFieldPrefix + key + \"_\";\n value.forEach(function (originalValue, originalKey) {\n _data3.append(prefix + originalKey, originalValue);\n });\n return \"$K\" + key.toString(16);\n }\n if (value instanceof Map)\n return (\n (key = nextPartId++),\n (parentReference = serializeModel(Array.from(value), key)),\n null === formData && (formData = new FormData()),\n formData.append(formFieldPrefix + key, parentReference),\n \"$Q\" + key.toString(16)\n );\n if (value instanceof Set)\n return (\n (key = nextPartId++),\n (parentReference = serializeModel(Array.from(value), key)),\n null === formData && (formData = new FormData()),\n formData.append(formFieldPrefix + key, parentReference),\n \"$W\" + key.toString(16)\n );\n if (value instanceof ArrayBuffer)\n return (\n (key = new Blob([value])),\n (parentReference = nextPartId++),\n null === formData && (formData = new FormData()),\n formData.append(formFieldPrefix + parentReference, key),\n \"$A\" + parentReference.toString(16)\n );\n if (value instanceof Int8Array)\n return serializeTypedArray(\"O\", value);\n if (value instanceof Uint8Array)\n return serializeTypedArray(\"o\", value);\n if (value instanceof Uint8ClampedArray)\n return serializeTypedArray(\"U\", value);\n if (value instanceof Int16Array)\n return serializeTypedArray(\"S\", value);\n if (value instanceof Uint16Array)\n return serializeTypedArray(\"s\", value);\n if (value instanceof Int32Array)\n return serializeTypedArray(\"L\", value);\n if (value instanceof Uint32Array)\n return serializeTypedArray(\"l\", value);\n if (value instanceof Float32Array)\n return serializeTypedArray(\"G\", value);\n if (value instanceof Float64Array)\n return serializeTypedArray(\"g\", value);\n if (value instanceof BigInt64Array)\n return serializeTypedArray(\"M\", value);\n if (value instanceof BigUint64Array)\n return serializeTypedArray(\"m\", value);\n if (value instanceof DataView) return serializeTypedArray(\"V\", value);\n if (\"function\" === typeof Blob && value instanceof Blob)\n return (\n null === formData && (formData = new FormData()),\n (key = nextPartId++),\n formData.append(formFieldPrefix + key, value),\n \"$B\" + key.toString(16)\n );\n if ((parentReference = getIteratorFn(value)))\n return (\n (parentReference = parentReference.call(value)),\n parentReference === value\n ? ((key = nextPartId++),\n (parentReference = serializeModel(\n Array.from(parentReference),\n key\n )),\n null === formData && (formData = new FormData()),\n formData.append(formFieldPrefix + key, parentReference),\n \"$i\" + key.toString(16))\n : Array.from(parentReference)\n );\n if (\n \"function\" === typeof ReadableStream &&\n value instanceof ReadableStream\n )\n return serializeReadableStream(value);\n parentReference = value[ASYNC_ITERATOR];\n if (\"function\" === typeof parentReference)\n return serializeAsyncIterable(value, parentReference.call(value));\n parentReference = getPrototypeOf(value);\n if (\n parentReference !== ObjectPrototype &&\n (null === parentReference ||\n null !== getPrototypeOf(parentReference))\n ) {\n if (void 0 === temporaryReferences)\n throw Error(\n \"Only plain objects, and a few built-ins, can be passed to Server Functions. Classes or null prototypes are not supported.\" +\n describeObjectForErrorMessage(this, key)\n );\n return \"$T\";\n }\n value.$$typeof === REACT_CONTEXT_TYPE\n ? console.error(\n \"React Context Providers cannot be passed to Server Functions from the Client.%s\",\n describeObjectForErrorMessage(this, key)\n )\n : \"Object\" !== objectName(value)\n ? console.error(\n \"Only plain objects can be passed to Server Functions from the Client. %s objects are not supported.%s\",\n objectName(value),\n describeObjectForErrorMessage(this, key)\n )\n : isSimpleObject(value)\n ? Object.getOwnPropertySymbols &&\n ((parentReference = Object.getOwnPropertySymbols(value)),\n 0 < parentReference.length &&\n console.error(\n \"Only plain objects can be passed to Server Functions from the Client. Objects with symbol properties like %s are not supported.%s\",\n parentReference[0].description,\n describeObjectForErrorMessage(this, key)\n ))\n : console.error(\n \"Only plain objects can be passed to Server Functions from the Client. Classes or other objects with methods are not supported.%s\",\n describeObjectForErrorMessage(this, key)\n );\n return value;\n }\n if (\"string\" === typeof value) {\n if (\"Z\" === value[value.length - 1] && this[key] instanceof Date)\n return \"$D\" + value;\n key = \"$\" === value[0] ? \"$\" + value : value;\n return key;\n }\n if (\"boolean\" === typeof value) return value;\n if (\"number\" === typeof value) return serializeNumber(value);\n if (\"undefined\" === typeof value) return \"$undefined\";\n if (\"function\" === typeof value) {\n parentReference = knownServerReferences.get(value);\n if (void 0 !== parentReference)\n return (\n (key = JSON.stringify(\n { id: parentReference.id, bound: parentReference.bound },\n resolveToJSON\n )),\n null === formData && (formData = new FormData()),\n (parentReference = nextPartId++),\n formData.set(formFieldPrefix + parentReference, key),\n \"$h\" + parentReference.toString(16)\n );\n if (\n void 0 !== temporaryReferences &&\n -1 === key.indexOf(\":\") &&\n ((parentReference = writtenObjects.get(this)),\n void 0 !== parentReference)\n )\n return (\n temporaryReferences.set(parentReference + \":\" + key, value), \"$T\"\n );\n throw Error(\n \"Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.\"\n );\n }\n if (\"symbol\" === typeof value) {\n if (\n void 0 !== temporaryReferences &&\n -1 === key.indexOf(\":\") &&\n ((parentReference = writtenObjects.get(this)),\n void 0 !== parentReference)\n )\n return (\n temporaryReferences.set(parentReference + \":\" + key, value), \"$T\"\n );\n throw Error(\n \"Symbols cannot be passed to a Server Function without a temporary reference set. Pass a TemporaryReferenceSet to the options.\" +\n describeObjectForErrorMessage(this, key)\n );\n }\n if (\"bigint\" === typeof value) return \"$n\" + value.toString(10);\n throw Error(\n \"Type \" +\n typeof value +\n \" is not supported as an argument to a Server Function.\"\n );\n }\n function serializeModel(model, id) {\n \"object\" === typeof model &&\n null !== model &&\n ((id = \"$\" + id.toString(16)),\n writtenObjects.set(model, id),\n void 0 !== temporaryReferences && temporaryReferences.set(id, model));\n modelRoot = model;\n return JSON.stringify(model, resolveToJSON);\n }\n var nextPartId = 1,\n pendingParts = 0,\n formData = null,\n writtenObjects = new WeakMap(),\n modelRoot = root,\n json = serializeModel(root, 0);\n null === formData\n ? resolve(json)\n : (formData.set(formFieldPrefix + \"0\", json),\n 0 === pendingParts && resolve(formData));\n return function () {\n 0 < pendingParts &&\n ((pendingParts = 0),\n null === formData ? resolve(json) : resolve(formData));\n };\n }\n function createFakeServerFunction(\n name,\n filename,\n sourceMap,\n line,\n col,\n environmentName,\n innerFunction\n ) {\n name || (name = \"<anonymous>\");\n var encodedName = JSON.stringify(name);\n 1 >= line\n ? ((line = encodedName.length + 7),\n (col =\n \"s=>({\" +\n encodedName +\n \" \".repeat(col < line ? 0 : col - line) +\n \":(...args) => s(...args)})\\n/* This module is a proxy to a Server Action. Turn on Source Maps to see the server source. */\"))\n : (col =\n \"/* This module is a proxy to a Server Action. Turn on Source Maps to see the server source. */\" +\n \"\\n\".repeat(line - 2) +\n \"server=>({\" +\n encodedName +\n \":\\n\" +\n \" \".repeat(1 > col ? 0 : col - 1) +\n \"(...args) => server(...args)})\");\n filename.startsWith(\"/\") && (filename = \"file://\" + filename);\n sourceMap\n ? ((col +=\n \"\\n//# sourceURL=about://React/\" +\n encodeURIComponent(environmentName) +\n \"/\" +\n encodeURI(filename) +\n \"?s\" +\n fakeServerFunctionIdx++),\n (col += \"\\n//# sourceMappingURL=\" + sourceMap))\n : filename && (col += \"\\n//# sourceURL=\" + filename);\n try {\n return (0, eval)(col)(innerFunction)[name];\n } catch (x) {\n return innerFunction;\n }\n }\n function registerBoundServerReference(reference, id, bound) {\n knownServerReferences.has(reference) ||\n knownServerReferences.set(reference, {\n id: id,\n originalBind: reference.bind,\n bound: bound\n });\n }\n function createBoundServerReference(\n metaData,\n callServer,\n encodeFormAction,\n findSourceMapURL\n ) {\n function action() {\n var args = Array.prototype.slice.call(arguments);\n return bound\n ? \"fulfilled\" === bound.status\n ? callServer(id, bound.value.concat(args))\n : Promise.resolve(bound).then(function (boundArgs) {\n return callServer(id, boundArgs.concat(args));\n })\n : callServer(id, args);\n }\n var id = metaData.id,\n bound = metaData.bound,\n location = metaData.location;\n if (location) {\n encodeFormAction = metaData.name || \"\";\n var filename = location[1],\n line = location[2];\n location = location[3];\n metaData = metaData.env || \"Server\";\n findSourceMapURL =\n null == findSourceMapURL\n ? null\n : findSourceMapURL(filename, metaData);\n action = createFakeServerFunction(\n encodeFormAction,\n filename,\n findSourceMapURL,\n line,\n location,\n metaData,\n action\n );\n }\n registerBoundServerReference(action, id, bound);\n return action;\n }\n function parseStackLocation(error) {\n error = error.stack;\n error.startsWith(\"Error: react-stack-top-frame\\n\") &&\n (error = error.slice(29));\n var endOfFirst = error.indexOf(\"\\n\");\n if (-1 !== endOfFirst) {\n var endOfSecond = error.indexOf(\"\\n\", endOfFirst + 1);\n endOfFirst =\n -1 === endOfSecond\n ? error.slice(endOfFirst + 1)\n : error.slice(endOfFirst + 1, endOfSecond);\n } else endOfFirst = error;\n error = v8FrameRegExp.exec(endOfFirst);\n if (\n !error &&\n ((error = jscSpiderMonkeyFrameRegExp.exec(endOfFirst)), !error)\n )\n return null;\n endOfFirst = error[1] || \"\";\n \"<anonymous>\" === endOfFirst && (endOfFirst = \"\");\n endOfSecond = error[2] || error[5] || \"\";\n \"<anonymous>\" === endOfSecond && (endOfSecond = \"\");\n return [\n endOfFirst,\n endOfSecond,\n +(error[3] || error[6]),\n +(error[4] || error[7])\n ];\n }\n function getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type)\n return type.$$typeof === REACT_CLIENT_REFERENCE\n ? null\n : type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n case REACT_ACTIVITY_TYPE:\n return \"Activity\";\n case REACT_VIEW_TRANSITION_TYPE:\n return \"ViewTransition\";\n }\n if (\"object\" === typeof type)\n switch (\n (\"number\" === typeof type.tag &&\n console.error(\n \"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"\n ),\n type.$$typeof)\n ) {\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_CONTEXT_TYPE:\n return type.displayName || \"Context\";\n case REACT_CONSUMER_TYPE:\n return (type._context.displayName || \"Context\") + \".Consumer\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n }\n function getArrayKind(array) {\n for (var kind = 0, i = 0; i < array.length && 100 > i; i++) {\n var value = array[i];\n if (\"object\" === typeof value && null !== value)\n if (\n isArrayImpl(value) &&\n 2 === value.length &&\n \"string\" === typeof value[0]\n ) {\n if (0 !== kind && 3 !== kind) return 1;\n kind = 3;\n } else return 1;\n else {\n if (\n \"function\" === typeof value ||\n (\"string\" === typeof value && 50 < value.length) ||\n (0 !== kind && 2 !== kind)\n )\n return 1;\n kind = 2;\n }\n }\n return kind;\n }\n function addObjectToProperties(object, properties, indent, prefix) {\n var addedProperties = 0,\n key;\n for (key in object)\n if (\n hasOwnProperty.call(object, key) &&\n \"_\" !== key[0] &&\n (addedProperties++,\n addValueToProperties(key, object[key], properties, indent, prefix),\n 100 <= addedProperties)\n ) {\n properties.push([\n prefix +\n \"\\u00a0\\u00a0\".repeat(indent) +\n \"Only 100 properties are shown. React will not log more properties of this object.\",\n \"\"\n ]);\n break;\n }\n }\n function addValueToProperties(\n propertyName,\n value,\n properties,\n indent,\n prefix\n ) {\n switch (typeof value) {\n case \"object\":\n if (null === value) {\n value = \"null\";\n break;\n } else {\n if (value.$$typeof === REACT_ELEMENT_TYPE) {\n var typeName = getComponentNameFromType(value.type) || \"\\u2026\",\n key = value.key;\n value = value.props;\n var propsKeys = Object.keys(value),\n propsLength = propsKeys.length;\n if (null == key && 0 === propsLength) {\n value = \"<\" + typeName + \" />\";\n break;\n }\n if (\n 3 > indent ||\n (1 === propsLength &&\n \"children\" === propsKeys[0] &&\n null == key)\n ) {\n value = \"<\" + typeName + \" \\u2026 />\";\n break;\n }\n properties.push([\n prefix + \"\\u00a0\\u00a0\".repeat(indent) + propertyName,\n \"<\" + typeName\n ]);\n null !== key &&\n addValueToProperties(\n \"key\",\n key,\n properties,\n indent + 1,\n prefix\n );\n propertyName = !1;\n key = 0;\n for (var propKey in value)\n if (\n (key++,\n \"children\" === propKey\n ? null != value.children &&\n (!isArrayImpl(value.children) ||\n 0 < value.children.length) &&\n (propertyName = !0)\n : hasOwnProperty.call(value, propKey) &&\n \"_\" !== propKey[0] &&\n addValueToProperties(\n propKey,\n value[propKey],\n properties,\n indent + 1,\n prefix\n ),\n 100 <= key)\n )\n break;\n properties.push([\n \"\",\n propertyName ? \">\\u2026</\" + typeName + \">\" : \"/>\"\n ]);\n return;\n }\n typeName = Object.prototype.toString.call(value);\n propKey = typeName.slice(8, typeName.length - 1);\n if (\"Array\" === propKey)\n if (\n ((typeName = 100 < value.length),\n (key = getArrayKind(value)),\n 2 === key || 0 === key)\n ) {\n value = JSON.stringify(\n typeName ? value.slice(0, 100).concat(\"\\u2026\") : value\n );\n break;\n } else if (3 === key) {\n properties.push([\n prefix + \"\\u00a0\\u00a0\".repeat(indent) + propertyName,\n \"\"\n ]);\n for (\n propertyName = 0;\n propertyName < value.length && 100 > propertyName;\n propertyName++\n )\n (propKey = value[propertyName]),\n addValueToProperties(\n propKey[0],\n propKey[1],\n properties,\n indent + 1,\n prefix\n );\n typeName &&\n addValueToProperties(\n (100).toString(),\n \"\\u2026\",\n properties,\n indent + 1,\n prefix\n );\n return;\n }\n if (\"Promise\" === propKey) {\n if (\"fulfilled\" === value.status) {\n if (\n ((typeName = properties.length),\n addValueToProperties(\n propertyName,\n value.value,\n properties,\n indent,\n prefix\n ),\n properties.length > typeName)\n ) {\n properties = properties[typeName];\n properties[1] =\n \"Promise<\" + (properties[1] || \"Object\") + \">\";\n return;\n }\n } else if (\n \"rejected\" === value.status &&\n ((typeName = properties.length),\n addValueToProperties(\n propertyName,\n value.reason,\n properties,\n indent,\n prefix\n ),\n properties.length > typeName)\n ) {\n properties = properties[typeName];\n properties[1] = \"Rejected Promise<\" + properties[1] + \">\";\n return;\n }\n properties.push([\n \"\\u00a0\\u00a0\".repeat(indent) + propertyName,\n \"Promise\"\n ]);\n return;\n }\n \"Object\" === propKey &&\n (typeName = Object.getPrototypeOf(value)) &&\n \"function\" === typeof typeName.constructor &&\n (propKey = typeName.constructor.name);\n properties.push([\n prefix + \"\\u00a0\\u00a0\".repeat(indent) + propertyName,\n \"Object\" === propKey ? (3 > indent ? \"\" : \"\\u2026\") : propKey\n ]);\n 3 > indent &&\n addObjectToProperties(value, properties, indent + 1, prefix);\n return;\n }\n case \"function\":\n value = \"\" === value.name ? \"() => {}\" : value.name + \"() {}\";\n break;\n case \"string\":\n value =\n \"This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.\" ===\n value\n ? \"\\u2026\"\n : JSON.stringify(value);\n break;\n case \"undefined\":\n value = \"undefined\";\n break;\n case \"boolean\":\n value = value ? \"true\" : \"false\";\n break;\n default:\n value = String(value);\n }\n properties.push([\n prefix + \"\\u00a0\\u00a0\".repeat(indent) + propertyName,\n value\n ]);\n }\n function getIODescription(value) {\n try {\n switch (typeof value) {\n case \"function\":\n return value.name || \"\";\n case \"object\":\n if (null === value) return \"\";\n if (value instanceof Error) return String(value.message);\n if (\"string\" === typeof value.url) return value.url;\n if (\"string\" === typeof value.href) return value.href;\n if (\"string\" === typeof value.src) return value.src;\n if (\"string\" === typeof value.currentSrc) return value.currentSrc;\n if (\"string\" === typeof value.command) return value.command;\n if (\n \"object\" === typeof value.request &&\n null !== value.request &&\n \"string\" === typeof value.request.url\n )\n return value.request.url;\n if (\n \"object\" === typeof value.response &&\n null !== value.response &&\n \"string\" === typeof value.response.url\n )\n return value.response.url;\n if (\n \"string\" === typeof value.id ||\n \"number\" === typeof value.id ||\n \"bigint\" === typeof value.id\n )\n return String(value.id);\n if (\"string\" === typeof value.name) return value.name;\n var str = value.toString();\n return str.startsWith(\"[object \") ||\n 5 > str.length ||\n 500 < str.length\n ? \"\"\n : str;\n case \"string\":\n return 5 > value.length || 500 < value.length ? \"\" : value;\n case \"number\":\n case \"bigint\":\n return String(value);\n default:\n return \"\";\n }\n } catch (x) {\n return \"\";\n }\n }\n function markAllTracksInOrder() {\n supportsUserTiming &&\n (console.timeStamp(\n \"Server Requests Track\",\n 0.001,\n 0.001,\n \"Server Requests \\u269b\",\n void 0,\n \"primary-light\"\n ),\n console.timeStamp(\n \"Server Components Track\",\n 0.001,\n 0.001,\n \"Primary\",\n \"Server Components \\u269b\",\n \"primary-light\"\n ));\n }\n function getIOColor(functionName) {\n switch (functionName.charCodeAt(0) % 3) {\n case 0:\n return \"tertiary-light\";\n case 1:\n return \"tertiary\";\n default:\n return \"tertiary-dark\";\n }\n }\n function getIOLongName(ioInfo, description, env, rootEnv) {\n ioInfo = ioInfo.name;\n description =\n \"\" === description ? ioInfo : ioInfo + \" (\" + description + \")\";\n return env === rootEnv || void 0 === env\n ? description\n : description + \" [\" + env + \"]\";\n }\n function getIOShortName(ioInfo, description, env, rootEnv) {\n ioInfo = ioInfo.name;\n env = env === rootEnv || void 0 === env ? \"\" : \" [\" + env + \"]\";\n var desc = \"\";\n rootEnv = 30 - ioInfo.length - env.length;\n if (1 < rootEnv) {\n var l = description.length;\n if (0 < l && l <= rootEnv) desc = \" (\" + description + \")\";\n else if (\n description.startsWith(\"http://\") ||\n description.startsWith(\"https://\") ||\n description.startsWith(\"/\")\n ) {\n var queryIdx = description.indexOf(\"?\");\n -1 === queryIdx && (queryIdx = description.length);\n 47 === description.charCodeAt(queryIdx - 1) && queryIdx--;\n desc = description.lastIndexOf(\"/\", queryIdx - 1);\n queryIdx - desc < rootEnv\n ? (desc = \" (\\u2026\" + description.slice(desc, queryIdx) + \")\")\n : ((l = description.slice(desc, desc + rootEnv / 2)),\n (description = description.slice(\n queryIdx - rootEnv / 2,\n queryIdx\n )),\n (desc =\n \" (\" +\n (0 < desc ? \"\\u2026\" : \"\") +\n l +\n \"\\u2026\" +\n description +\n \")\"));\n }\n }\n return ioInfo + desc + env;\n }\n function logComponentAwait(\n asyncInfo,\n trackIdx,\n startTime,\n endTime,\n rootEnv,\n value\n ) {\n if (supportsUserTiming && 0 < endTime) {\n var description = getIODescription(value),\n name = getIOShortName(\n asyncInfo.awaited,\n description,\n asyncInfo.env,\n rootEnv\n ),\n entryName = \"await \" + name;\n name = getIOColor(name);\n var debugTask = asyncInfo.debugTask || asyncInfo.awaited.debugTask;\n if (debugTask) {\n var properties = [];\n \"object\" === typeof value && null !== value\n ? addObjectToProperties(value, properties, 0, \"\")\n : void 0 !== value &&\n addValueToProperties(\"awaited value\", value, properties, 0, \"\");\n asyncInfo = getIOLongName(\n asyncInfo.awaited,\n description,\n asyncInfo.env,\n rootEnv\n );\n debugTask.run(\n performance.measure.bind(performance, entryName, {\n start: 0 > startTime ? 0 : startTime,\n end: endTime,\n detail: {\n devtools: {\n color: name,\n track: trackNames[trackIdx],\n trackGroup: \"Server Components \\u269b\",\n properties: properties,\n tooltipText: asyncInfo\n }\n }\n })\n );\n performance.clearMeasures(entryName);\n } else\n console.timeStamp(\n entryName,\n 0 > startTime ? 0 : startTime,\n endTime,\n trackNames[trackIdx],\n \"Server Components \\u269b\",\n name\n );\n }\n }\n function logIOInfoErrored(ioInfo, rootEnv, error) {\n var startTime = ioInfo.start,\n endTime = ioInfo.end;\n if (supportsUserTiming && 0 <= endTime) {\n var description = getIODescription(error),\n entryName = getIOShortName(ioInfo, description, ioInfo.env, rootEnv),\n debugTask = ioInfo.debugTask;\n entryName = \"\\u200b\" + entryName;\n debugTask\n ? ((error = [\n [\n \"rejected with\",\n \"object\" === typeof error &&\n null !== error &&\n \"string\" === typeof error.message\n ? String(error.message)\n : String(error)\n ]\n ]),\n (ioInfo =\n getIOLongName(ioInfo, description, ioInfo.env, rootEnv) +\n \" Rejected\"),\n debugTask.run(\n performance.measure.bind(performance, entryName, {\n start: 0 > startTime ? 0 : startTime,\n end: endTime,\n detail: {\n devtools: {\n color: \"error\",\n track: \"Server Requests \\u269b\",\n properties: error,\n tooltipText: ioInfo\n }\n }\n })\n ),\n performance.clearMeasures(entryName))\n : console.timeStamp(\n entryName,\n 0 > startTime ? 0 : startTime,\n endTime,\n \"Server Requests \\u269b\",\n void 0,\n \"error\"\n );\n }\n }\n function logIOInfo(ioInfo, rootEnv, value) {\n var startTime = ioInfo.start,\n endTime = ioInfo.end;\n if (supportsUserTiming && 0 <= endTime) {\n var description = getIODescription(value),\n entryName = getIOShortName(ioInfo, description, ioInfo.env, rootEnv),\n color = getIOColor(entryName),\n debugTask = ioInfo.debugTask;\n entryName = \"\\u200b\" + entryName;\n if (debugTask) {\n var properties = [];\n \"object\" === typeof value && null !== value\n ? addObjectToProperties(value, properties, 0, \"\")\n : void 0 !== value &&\n addValueToProperties(\"Resolved\", value, properties, 0, \"\");\n ioInfo = getIOLongName(ioInfo, description, ioInfo.env, rootEnv);\n debugTask.run(\n performance.measure.bind(performance, entryName, {\n start: 0 > startTime ? 0 : startTime,\n end: endTime,\n detail: {\n devtools: {\n color: color,\n track: \"Server Requests \\u269b\",\n properties: properties,\n tooltipText: ioInfo\n }\n }\n })\n );\n performance.clearMeasures(entryName);\n } else\n console.timeStamp(\n entryName,\n 0 > startTime ? 0 : startTime,\n endTime,\n \"Server Requests \\u269b\",\n void 0,\n color\n );\n }\n }\n function ReactPromise(status, value, reason) {\n this.status = status;\n this.value = value;\n this.reason = reason;\n this._children = [];\n this._debugChunk = null;\n this._debugInfo = [];\n }\n function unwrapWeakResponse(weakResponse) {\n weakResponse = weakResponse.weak.deref();\n if (void 0 === weakResponse)\n throw Error(\n \"We did not expect to receive new data after GC:ing the response.\"\n );\n return weakResponse;\n }\n function closeDebugChannel(debugChannel) {\n debugChannel.callback && debugChannel.callback(\"\");\n }\n function readChunk(chunk) {\n switch (chunk.status) {\n case \"resolved_model\":\n initializeModelChunk(chunk);\n break;\n case \"resolved_module\":\n initializeModuleChunk(chunk);\n }\n switch (chunk.status) {\n case \"fulfilled\":\n return chunk.value;\n case \"pending\":\n case \"blocked\":\n case \"halted\":\n throw chunk;\n default:\n throw chunk.reason;\n }\n }\n function getRoot(weakResponse) {\n weakResponse = unwrapWeakResponse(weakResponse);\n return getChunk(weakResponse, 0);\n }\n function createPendingChunk(response) {\n 0 === response._pendingChunks++ &&\n ((response._weakResponse.response = response),\n null !== response._pendingInitialRender &&\n (clearTimeout(response._pendingInitialRender),\n (response._pendingInitialRender = null)));\n return new ReactPromise(\"pending\", null, null);\n }\n function releasePendingChunk(response, chunk) {\n \"pending\" === chunk.status &&\n 0 === --response._pendingChunks &&\n ((response._weakResponse.response = null),\n (response._pendingInitialRender = setTimeout(\n flushInitialRenderPerformance.bind(null, response),\n 100\n )));\n }\n function filterDebugInfo(response, value) {\n if (null !== response._debugEndTime) {\n response = response._debugEndTime - performance.timeOrigin;\n for (var debugInfo = [], i = 0; i < value._debugInfo.length; i++) {\n var info = value._debugInfo[i];\n if (\"number\" === typeof info.time && info.time > response) break;\n debugInfo.push(info);\n }\n value._debugInfo = debugInfo;\n }\n }\n function moveDebugInfoFromChunkToInnerValue(chunk, value) {\n value = resolveLazy(value);\n \"object\" !== typeof value ||\n null === value ||\n (!isArrayImpl(value) &&\n \"function\" !== typeof value[ASYNC_ITERATOR] &&\n value.$$typeof !== REACT_ELEMENT_TYPE &&\n value.$$typeof !== REACT_LAZY_TYPE) ||\n ((chunk = chunk._debugInfo.splice(0)),\n isArrayImpl(value._debugInfo)\n ? value._debugInfo.unshift.apply(value._debugInfo, chunk)\n : Object.defineProperty(value, \"_debugInfo\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: chunk\n }));\n }\n function wakeChunk(response, listeners, value, chunk) {\n for (var i = 0; i < listeners.length; i++) {\n var listener = listeners[i];\n \"function\" === typeof listener\n ? listener(value)\n : fulfillReference(response, listener, value, chunk);\n }\n filterDebugInfo(response, chunk);\n moveDebugInfoFromChunkToInnerValue(chunk, value);\n }\n function rejectChunk(response, listeners, error) {\n for (var i = 0; i < listeners.length; i++) {\n var listener = listeners[i];\n \"function\" === typeof listener\n ? listener(error)\n : rejectReference(response, listener.handler, error);\n }\n }\n function resolveBlockedCycle(resolvedChunk, reference) {\n var referencedChunk = reference.handler.chunk;\n if (null === referencedChunk) return null;\n if (referencedChunk === resolvedChunk) return reference.handler;\n reference = referencedChunk.value;\n if (null !== reference)\n for (\n referencedChunk = 0;\n referencedChunk < reference.length;\n referencedChunk++\n ) {\n var listener = reference[referencedChunk];\n if (\n \"function\" !== typeof listener &&\n ((listener = resolveBlockedCycle(resolvedChunk, listener)),\n null !== listener)\n )\n return listener;\n }\n return null;\n }\n function wakeChunkIfInitialized(\n response,\n chunk,\n resolveListeners,\n rejectListeners\n ) {\n switch (chunk.status) {\n case \"fulfilled\":\n wakeChunk(response, resolveListeners, chunk.value, chunk);\n break;\n case \"blocked\":\n for (var i = 0; i < resolveListeners.length; i++) {\n var listener = resolveListeners[i];\n if (\"function\" !== typeof listener) {\n var cyclicHandler = resolveBlockedCycle(chunk, listener);\n if (null !== cyclicHandler)\n switch (\n (fulfillReference(\n response,\n listener,\n cyclicHandler.value,\n chunk\n ),\n resolveListeners.splice(i, 1),\n i--,\n null !== rejectListeners &&\n ((listener = rejectListeners.indexOf(listener)),\n -1 !== listener && rejectListeners.splice(listener, 1)),\n chunk.status)\n ) {\n case \"fulfilled\":\n wakeChunk(response, resolveListeners, chunk.value, chunk);\n return;\n case \"rejected\":\n null !== rejectListeners &&\n rejectChunk(response, rejectListeners, chunk.reason);\n return;\n }\n }\n }\n case \"pending\":\n if (chunk.value)\n for (response = 0; response < resolveListeners.length; response++)\n chunk.value.push(resolveListeners[response]);\n else chunk.value = resolveListeners;\n if (chunk.reason) {\n if (rejectListeners)\n for (\n resolveListeners = 0;\n resolveListeners < rejectListeners.length;\n resolveListeners++\n )\n chunk.reason.push(rejectListeners[resolveListeners]);\n } else chunk.reason = rejectListeners;\n break;\n case \"rejected\":\n rejectListeners &&\n rejectChunk(response, rejectListeners, chunk.reason);\n }\n }\n function triggerErrorOnChunk(response, chunk, error) {\n if (\"pending\" !== chunk.status && \"blocked\" !== chunk.status)\n chunk.reason.error(error);\n else {\n releasePendingChunk(response, chunk);\n var listeners = chunk.reason;\n if (\"pending\" === chunk.status && null != chunk._debugChunk) {\n var prevHandler = initializingHandler,\n prevChunk = initializingChunk;\n initializingHandler = null;\n chunk.status = \"blocked\";\n chunk.value = null;\n chunk.reason = null;\n initializingChunk = chunk;\n try {\n initializeDebugChunk(response, chunk);\n } finally {\n (initializingHandler = prevHandler),\n (initializingChunk = prevChunk);\n }\n }\n chunk.status = \"rejected\";\n chunk.reason = error;\n null !== listeners && rejectChunk(response, listeners, error);\n }\n }\n function createResolvedModelChunk(response, value) {\n return new ReactPromise(\"resolved_model\", value, response);\n }\n function createResolvedIteratorResultChunk(response, value, done) {\n return new ReactPromise(\n \"resolved_model\",\n (done ? '{\"done\":true,\"value\":' : '{\"done\":false,\"value\":') +\n value +\n \"}\",\n response\n );\n }\n function resolveIteratorResultChunk(response, chunk, value, done) {\n resolveModelChunk(\n response,\n chunk,\n (done ? '{\"done\":true,\"value\":' : '{\"done\":false,\"value\":') +\n value +\n \"}\"\n );\n }\n function resolveModelChunk(response, chunk, value) {\n if (\"pending\" !== chunk.status) chunk.reason.enqueueModel(value);\n else {\n releasePendingChunk(response, chunk);\n var resolveListeners = chunk.value,\n rejectListeners = chunk.reason;\n chunk.status = \"resolved_model\";\n chunk.value = value;\n chunk.reason = response;\n null !== resolveListeners &&\n (initializeModelChunk(chunk),\n wakeChunkIfInitialized(\n response,\n chunk,\n resolveListeners,\n rejectListeners\n ));\n }\n }\n function resolveModuleChunk(response, chunk, value) {\n if (\"pending\" === chunk.status || \"blocked\" === chunk.status) {\n releasePendingChunk(response, chunk);\n var resolveListeners = chunk.value,\n rejectListeners = chunk.reason;\n chunk.status = \"resolved_module\";\n chunk.value = value;\n chunk.reason = null;\n value = value[1];\n for (var debugInfo = [], i = 0; i < value.length; ) {\n var chunkFilename = value[i++],\n href = void 0,\n target = debugInfo,\n ioInfo = chunkIOInfoCache.get(chunkFilename);\n if (void 0 === ioInfo) {\n try {\n href = new URL(chunkFilename, document.baseURI).href;\n } catch (_) {\n href = chunkFilename;\n }\n var end = (ioInfo = -1),\n byteSize = 0;\n if (\"function\" === typeof performance.getEntriesByType)\n for (\n var resourceEntries = performance.getEntriesByType(\"resource\"),\n i$jscomp$0 = 0;\n i$jscomp$0 < resourceEntries.length;\n i$jscomp$0++\n ) {\n var resourceEntry = resourceEntries[i$jscomp$0];\n resourceEntry.name === href &&\n ((ioInfo = resourceEntry.startTime),\n (end = ioInfo + resourceEntry.duration),\n (byteSize = resourceEntry.transferSize || 0));\n }\n resourceEntries = Promise.resolve(href);\n resourceEntries.status = \"fulfilled\";\n resourceEntries.value = href;\n i$jscomp$0 = Error(\"react-stack-top-frame\");\n i$jscomp$0.stack.startsWith(\"Error: react-stack-top-frame\")\n ? (i$jscomp$0.stack =\n \"Error: react-stack-top-frame\\n at Client Component Bundle (\" +\n href +\n \":1:1)\\n at Client Component Bundle (\" +\n href +\n \":1:1)\")\n : (i$jscomp$0.stack =\n \"Client Component Bundle@\" +\n href +\n \":1:1\\nClient Component Bundle@\" +\n href +\n \":1:1\");\n ioInfo = {\n name: \"script\",\n start: ioInfo,\n end: end,\n value: resourceEntries,\n debugStack: i$jscomp$0\n };\n 0 < byteSize && (ioInfo.byteSize = byteSize);\n chunkIOInfoCache.set(chunkFilename, ioInfo);\n }\n target.push({ awaited: ioInfo });\n }\n null !== debugInfo &&\n chunk._debugInfo.push.apply(chunk._debugInfo, debugInfo);\n null !== resolveListeners &&\n (initializeModuleChunk(chunk),\n wakeChunkIfInitialized(\n response,\n chunk,\n resolveListeners,\n rejectListeners\n ));\n }\n }\n function initializeDebugChunk(response, chunk) {\n var debugChunk = chunk._debugChunk;\n if (null !== debugChunk) {\n var debugInfo = chunk._debugInfo;\n try {\n if (\"resolved_model\" === debugChunk.status) {\n for (\n var idx = debugInfo.length, c = debugChunk._debugChunk;\n null !== c;\n\n )\n \"fulfilled\" !== c.status && idx++, (c = c._debugChunk);\n initializeModelChunk(debugChunk);\n switch (debugChunk.status) {\n case \"fulfilled\":\n debugInfo[idx] = initializeDebugInfo(\n response,\n debugChunk.value\n );\n break;\n case \"blocked\":\n case \"pending\":\n waitForReference(\n debugChunk,\n debugInfo,\n \"\" + idx,\n response,\n initializeDebugInfo,\n [\"\"],\n !0\n );\n break;\n default:\n throw debugChunk.reason;\n }\n } else\n switch (debugChunk.status) {\n case \"fulfilled\":\n break;\n case \"blocked\":\n case \"pending\":\n waitForReference(\n debugChunk,\n {},\n \"debug\",\n response,\n initializeDebugInfo,\n [\"\"],\n !0\n );\n break;\n default:\n throw debugChunk.reason;\n }\n } catch (error) {\n triggerErrorOnChunk(response, chunk, error);\n }\n }\n }\n function initializeModelChunk(chunk) {\n var prevHandler = initializingHandler,\n prevChunk = initializingChunk;\n initializingHandler = null;\n var resolvedModel = chunk.value,\n response = chunk.reason;\n chunk.status = \"blocked\";\n chunk.value = null;\n chunk.reason = null;\n initializingChunk = chunk;\n initializeDebugChunk(response, chunk);\n try {\n var value = JSON.parse(resolvedModel, response._fromJSON),\n resolveListeners = chunk.value;\n if (null !== resolveListeners)\n for (\n chunk.value = null, chunk.reason = null, resolvedModel = 0;\n resolvedModel < resolveListeners.length;\n resolvedModel++\n ) {\n var listener = resolveListeners[resolvedModel];\n \"function\" === typeof listener\n ? listener(value)\n : fulfillReference(response, listener, value, chunk);\n }\n if (null !== initializingHandler) {\n if (initializingHandler.errored) throw initializingHandler.reason;\n if (0 < initializingHandler.deps) {\n initializingHandler.value = value;\n initializingHandler.chunk = chunk;\n return;\n }\n }\n chunk.status = \"fulfilled\";\n chunk.value = value;\n filterDebugInfo(response, chunk);\n moveDebugInfoFromChunkToInnerValue(chunk, value);\n } catch (error) {\n (chunk.status = \"rejected\"), (chunk.reason = error);\n } finally {\n (initializingHandler = prevHandler), (initializingChunk = prevChunk);\n }\n }\n function initializeModuleChunk(chunk) {\n try {\n var value = requireModule(chunk.value);\n chunk.status = \"fulfilled\";\n chunk.value = value;\n } catch (error) {\n (chunk.status = \"rejected\"), (chunk.reason = error);\n }\n }\n function reportGlobalError(weakResponse, error) {\n if (void 0 !== weakResponse.weak.deref()) {\n var response = unwrapWeakResponse(weakResponse);\n response._closed = !0;\n response._closedReason = error;\n response._chunks.forEach(function (chunk) {\n \"pending\" === chunk.status\n ? triggerErrorOnChunk(response, chunk, error)\n : \"fulfilled\" === chunk.status &&\n null !== chunk.reason &&\n chunk.reason.error(error);\n });\n weakResponse = response._debugChannel;\n void 0 !== weakResponse &&\n (closeDebugChannel(weakResponse),\n (response._debugChannel = void 0),\n null !== debugChannelRegistry &&\n debugChannelRegistry.unregister(response));\n }\n }\n function nullRefGetter() {\n return null;\n }\n function getTaskName(type) {\n if (type === REACT_FRAGMENT_TYPE) return \"<>\";\n if (\"function\" === typeof type) return '\"use client\"';\n if (\n \"object\" === typeof type &&\n null !== type &&\n type.$$typeof === REACT_LAZY_TYPE\n )\n return type._init === readChunk ? '\"use client\"' : \"<...>\";\n try {\n var name = getComponentNameFromType(type);\n return name ? \"<\" + name + \">\" : \"<...>\";\n } catch (x) {\n return \"<...>\";\n }\n }\n function initializeElement(response, element, lazyNode) {\n var stack = element._debugStack,\n owner = element._owner;\n null === owner && (element._owner = response._debugRootOwner);\n var env = response._rootEnvironmentName;\n null !== owner && null != owner.env && (env = owner.env);\n var normalizedStackTrace = null;\n null === owner && null != response._debugRootStack\n ? (normalizedStackTrace = response._debugRootStack)\n : null !== stack &&\n (normalizedStackTrace = createFakeJSXCallStackInDEV(\n response,\n stack,\n env\n ));\n element._debugStack = normalizedStackTrace;\n normalizedStackTrace = null;\n supportsCreateTask &&\n null !== stack &&\n ((normalizedStackTrace = console.createTask.bind(\n console,\n getTaskName(element.type)\n )),\n (stack = buildFakeCallStack(\n response,\n stack,\n env,\n !1,\n normalizedStackTrace\n )),\n (env = null === owner ? null : initializeFakeTask(response, owner)),\n null === env\n ? ((env = response._debugRootTask),\n (normalizedStackTrace = null != env ? env.run(stack) : stack()))\n : (normalizedStackTrace = env.run(stack)));\n element._debugTask = normalizedStackTrace;\n null !== owner && initializeFakeStack(response, owner);\n null !== lazyNode &&\n (lazyNode._store &&\n lazyNode._store.validated &&\n !element._store.validated &&\n (element._store.validated = lazyNode._store.validated),\n \"fulfilled\" === lazyNode._payload.status &&\n lazyNode._debugInfo &&\n ((response = lazyNode._debugInfo.splice(0)),\n element._debugInfo\n ? element._debugInfo.unshift.apply(element._debugInfo, response)\n : Object.defineProperty(element, \"_debugInfo\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: response\n })));\n Object.freeze(element.props);\n }\n function createLazyChunkWrapper(chunk, validated) {\n var lazyType = {\n $$typeof: REACT_LAZY_TYPE,\n _payload: chunk,\n _init: readChunk\n };\n lazyType._debugInfo = chunk._debugInfo;\n lazyType._store = { validated: validated };\n return lazyType;\n }\n function getChunk(response, id) {\n var chunks = response._chunks,\n chunk = chunks.get(id);\n chunk ||\n ((chunk = response._closed\n ? new ReactPromise(\"rejected\", null, response._closedReason)\n : createPendingChunk(response)),\n chunks.set(id, chunk));\n return chunk;\n }\n function fulfillReference(response, reference, value, fulfilledChunk) {\n var handler = reference.handler,\n parentObject = reference.parentObject,\n key = reference.key,\n map = reference.map,\n path = reference.path;\n try {\n for (var i = 1; i < path.length; i++) {\n for (\n ;\n \"object\" === typeof value &&\n null !== value &&\n value.$$typeof === REACT_LAZY_TYPE;\n\n ) {\n var referencedChunk = value._payload;\n if (referencedChunk === handler.chunk) value = handler.value;\n else {\n switch (referencedChunk.status) {\n case \"resolved_model\":\n initializeModelChunk(referencedChunk);\n break;\n case \"resolved_module\":\n initializeModuleChunk(referencedChunk);\n }\n switch (referencedChunk.status) {\n case \"fulfilled\":\n value = referencedChunk.value;\n continue;\n case \"blocked\":\n var cyclicHandler = resolveBlockedCycle(\n referencedChunk,\n reference\n );\n if (null !== cyclicHandler) {\n value = cyclicHandler.value;\n continue;\n }\n case \"pending\":\n path.splice(0, i - 1);\n null === referencedChunk.value\n ? (referencedChunk.value = [reference])\n : referencedChunk.value.push(reference);\n null === referencedChunk.reason\n ? (referencedChunk.reason = [reference])\n : referencedChunk.reason.push(reference);\n return;\n case \"halted\":\n return;\n default:\n rejectReference(\n response,\n reference.handler,\n referencedChunk.reason\n );\n return;\n }\n }\n }\n value = value[path[i]];\n }\n for (\n ;\n \"object\" === typeof value &&\n null !== value &&\n value.$$typeof === REACT_LAZY_TYPE;\n\n ) {\n var _referencedChunk = value._payload;\n if (_referencedChunk === handler.chunk) value = handler.value;\n else {\n switch (_referencedChunk.status) {\n case \"resolved_model\":\n initializeModelChunk(_referencedChunk);\n break;\n case \"resolved_module\":\n initializeModuleChunk(_referencedChunk);\n }\n switch (_referencedChunk.status) {\n case \"fulfilled\":\n value = _referencedChunk.value;\n continue;\n }\n break;\n }\n }\n var mappedValue = map(response, value, parentObject, key);\n parentObject[key] = mappedValue;\n \"\" === key && null === handler.value && (handler.value = mappedValue);\n if (\n parentObject[0] === REACT_ELEMENT_TYPE &&\n \"object\" === typeof handler.value &&\n null !== handler.value &&\n handler.value.$$typeof === REACT_ELEMENT_TYPE\n ) {\n var element = handler.value;\n switch (key) {\n case \"3\":\n transferReferencedDebugInfo(handler.chunk, fulfilledChunk);\n element.props = mappedValue;\n break;\n case \"4\":\n element._owner = mappedValue;\n break;\n case \"5\":\n element._debugStack = mappedValue;\n break;\n default:\n transferReferencedDebugInfo(handler.chunk, fulfilledChunk);\n }\n } else\n reference.isDebug ||\n transferReferencedDebugInfo(handler.chunk, fulfilledChunk);\n } catch (error) {\n rejectReference(response, reference.handler, error);\n return;\n }\n handler.deps--;\n 0 === handler.deps &&\n ((reference = handler.chunk),\n null !== reference &&\n \"blocked\" === reference.status &&\n ((value = reference.value),\n (reference.status = \"fulfilled\"),\n (reference.value = handler.value),\n (reference.reason = handler.reason),\n null !== value\n ? wakeChunk(response, value, handler.value, reference)\n : ((handler = handler.value),\n filterDebugInfo(response, reference),\n moveDebugInfoFromChunkToInnerValue(reference, handler))));\n }\n function rejectReference(response, handler, error) {\n if (!handler.errored) {\n var blockedValue = handler.value;\n handler.errored = !0;\n handler.value = null;\n handler.reason = error;\n handler = handler.chunk;\n if (null !== handler && \"blocked\" === handler.status) {\n if (\n \"object\" === typeof blockedValue &&\n null !== blockedValue &&\n blockedValue.$$typeof === REACT_ELEMENT_TYPE\n ) {\n var erroredComponent = {\n name: getComponentNameFromType(blockedValue.type) || \"\",\n owner: blockedValue._owner\n };\n erroredComponent.debugStack = blockedValue._debugStack;\n supportsCreateTask &&\n (erroredComponent.debugTask = blockedValue._debugTask);\n handler._debugInfo.push(erroredComponent);\n }\n triggerErrorOnChunk(response, handler, error);\n }\n }\n }\n function waitForReference(\n referencedChunk,\n parentObject,\n key,\n response,\n map,\n path,\n isAwaitingDebugInfo\n ) {\n if (\n !(\n (void 0 !== response._debugChannel &&\n response._debugChannel.hasReadable) ||\n \"pending\" !== referencedChunk.status ||\n parentObject[0] !== REACT_ELEMENT_TYPE ||\n (\"4\" !== key && \"5\" !== key)\n )\n )\n return null;\n initializingHandler\n ? ((response = initializingHandler), response.deps++)\n : (response = initializingHandler =\n {\n parent: null,\n chunk: null,\n value: null,\n reason: null,\n deps: 1,\n errored: !1\n });\n parentObject = {\n handler: response,\n parentObject: parentObject,\n key: key,\n map: map,\n path: path\n };\n parentObject.isDebug = isAwaitingDebugInfo;\n null === referencedChunk.value\n ? (referencedChunk.value = [parentObject])\n : referencedChunk.value.push(parentObject);\n null === referencedChunk.reason\n ? (referencedChunk.reason = [parentObject])\n : referencedChunk.reason.push(parentObject);\n return null;\n }\n function loadServerReference(response, metaData, parentObject, key) {\n if (!response._serverReferenceConfig)\n return createBoundServerReference(\n metaData,\n response._callServer,\n response._encodeFormAction,\n response._debugFindSourceMapURL\n );\n var serverReference = resolveServerReference(\n response._serverReferenceConfig,\n metaData.id\n ),\n promise = preloadModule(serverReference);\n if (promise)\n metaData.bound && (promise = Promise.all([promise, metaData.bound]));\n else if (metaData.bound) promise = Promise.resolve(metaData.bound);\n else\n return (\n (promise = requireModule(serverReference)),\n registerBoundServerReference(promise, metaData.id, metaData.bound),\n promise\n );\n if (initializingHandler) {\n var handler = initializingHandler;\n handler.deps++;\n } else\n handler = initializingHandler = {\n parent: null,\n chunk: null,\n value: null,\n reason: null,\n deps: 1,\n errored: !1\n };\n promise.then(\n function () {\n var resolvedValue = requireModule(serverReference);\n if (metaData.bound) {\n var boundArgs = metaData.bound.value.slice(0);\n boundArgs.unshift(null);\n resolvedValue = resolvedValue.bind.apply(resolvedValue, boundArgs);\n }\n registerBoundServerReference(\n resolvedValue,\n metaData.id,\n metaData.bound\n );\n parentObject[key] = resolvedValue;\n \"\" === key &&\n null === handler.value &&\n (handler.value = resolvedValue);\n if (\n parentObject[0] === REACT_ELEMENT_TYPE &&\n \"object\" === typeof handler.value &&\n null !== handler.value &&\n handler.value.$$typeof === REACT_ELEMENT_TYPE\n )\n switch (((boundArgs = handler.value), key)) {\n case \"3\":\n boundArgs.props = resolvedValue;\n break;\n case \"4\":\n boundArgs._owner = resolvedValue;\n }\n handler.deps--;\n 0 === handler.deps &&\n ((resolvedValue = handler.chunk),\n null !== resolvedValue &&\n \"blocked\" === resolvedValue.status &&\n ((boundArgs = resolvedValue.value),\n (resolvedValue.status = \"fulfilled\"),\n (resolvedValue.value = handler.value),\n (resolvedValue.reason = null),\n null !== boundArgs\n ? wakeChunk(response, boundArgs, handler.value, resolvedValue)\n : ((boundArgs = handler.value),\n filterDebugInfo(response, resolvedValue),\n moveDebugInfoFromChunkToInnerValue(\n resolvedValue,\n boundArgs\n ))));\n },\n function (error) {\n if (!handler.errored) {\n var blockedValue = handler.value;\n handler.errored = !0;\n handler.value = null;\n handler.reason = error;\n var chunk = handler.chunk;\n if (null !== chunk && \"blocked\" === chunk.status) {\n if (\n \"object\" === typeof blockedValue &&\n null !== blockedValue &&\n blockedValue.$$typeof === REACT_ELEMENT_TYPE\n ) {\n var erroredComponent = {\n name: getComponentNameFromType(blockedValue.type) || \"\",\n owner: blockedValue._owner\n };\n erroredComponent.debugStack = blockedValue._debugStack;\n supportsCreateTask &&\n (erroredComponent.debugTask = blockedValue._debugTask);\n chunk._debugInfo.push(erroredComponent);\n }\n triggerErrorOnChunk(response, chunk, error);\n }\n }\n }\n );\n return null;\n }\n function resolveLazy(value) {\n for (\n ;\n \"object\" === typeof value &&\n null !== value &&\n value.$$typeof === REACT_LAZY_TYPE;\n\n ) {\n var payload = value._payload;\n if (\"fulfilled\" === payload.status) value = payload.value;\n else break;\n }\n return value;\n }\n function transferReferencedDebugInfo(parentChunk, referencedChunk) {\n if (null !== parentChunk) {\n referencedChunk = referencedChunk._debugInfo;\n parentChunk = parentChunk._debugInfo;\n for (var i = 0; i < referencedChunk.length; ++i) {\n var debugInfoEntry = referencedChunk[i];\n null == debugInfoEntry.name && parentChunk.push(debugInfoEntry);\n }\n }\n }\n function getOutlinedModel(response, reference, parentObject, key, map) {\n var path = reference.split(\":\");\n reference = parseInt(path[0], 16);\n reference = getChunk(response, reference);\n null !== initializingChunk &&\n isArrayImpl(initializingChunk._children) &&\n initializingChunk._children.push(reference);\n switch (reference.status) {\n case \"resolved_model\":\n initializeModelChunk(reference);\n break;\n case \"resolved_module\":\n initializeModuleChunk(reference);\n }\n switch (reference.status) {\n case \"fulfilled\":\n for (var value = reference.value, i = 1; i < path.length; i++) {\n for (\n ;\n \"object\" === typeof value &&\n null !== value &&\n value.$$typeof === REACT_LAZY_TYPE;\n\n ) {\n value = value._payload;\n switch (value.status) {\n case \"resolved_model\":\n initializeModelChunk(value);\n break;\n case \"resolved_module\":\n initializeModuleChunk(value);\n }\n switch (value.status) {\n case \"fulfilled\":\n value = value.value;\n break;\n case \"blocked\":\n case \"pending\":\n return waitForReference(\n value,\n parentObject,\n key,\n response,\n map,\n path.slice(i - 1),\n !1\n );\n case \"halted\":\n return (\n initializingHandler\n ? ((parentObject = initializingHandler),\n parentObject.deps++)\n : (initializingHandler = {\n parent: null,\n chunk: null,\n value: null,\n reason: null,\n deps: 1,\n errored: !1\n }),\n null\n );\n default:\n return (\n initializingHandler\n ? ((initializingHandler.errored = !0),\n (initializingHandler.value = null),\n (initializingHandler.reason = value.reason))\n : (initializingHandler = {\n parent: null,\n chunk: null,\n value: null,\n reason: value.reason,\n deps: 0,\n errored: !0\n }),\n null\n );\n }\n }\n value = value[path[i]];\n }\n for (\n ;\n \"object\" === typeof value &&\n null !== value &&\n value.$$typeof === REACT_LAZY_TYPE;\n\n ) {\n path = value._payload;\n switch (path.status) {\n case \"resolved_model\":\n initializeModelChunk(path);\n break;\n case \"resolved_module\":\n initializeModuleChunk(path);\n }\n switch (path.status) {\n case \"fulfilled\":\n value = path.value;\n continue;\n }\n break;\n }\n response = map(response, value, parentObject, key);\n (parentObject[0] !== REACT_ELEMENT_TYPE ||\n (\"4\" !== key && \"5\" !== key)) &&\n transferReferencedDebugInfo(initializingChunk, reference);\n return response;\n case \"pending\":\n case \"blocked\":\n return waitForReference(\n reference,\n parentObject,\n key,\n response,\n map,\n path,\n !1\n );\n case \"halted\":\n return (\n initializingHandler\n ? ((parentObject = initializingHandler), parentObject.deps++)\n : (initializingHandler = {\n parent: null,\n chunk: null,\n value: null,\n reason: null,\n deps: 1,\n errored: !1\n }),\n null\n );\n default:\n return (\n initializingHandler\n ? ((initializingHandler.errored = !0),\n (initializingHandler.value = null),\n (initializingHandler.reason = reference.reason))\n : (initializingHandler = {\n parent: null,\n chunk: null,\n value: null,\n reason: reference.reason,\n deps: 0,\n errored: !0\n }),\n null\n );\n }\n }\n function createMap(response, model) {\n return new Map(model);\n }\n function createSet(response, model) {\n return new Set(model);\n }\n function createBlob(response, model) {\n return new Blob(model.slice(1), { type: model[0] });\n }\n function createFormData(response, model) {\n response = new FormData();\n for (var i = 0; i < model.length; i++)\n response.append(model[i][0], model[i][1]);\n return response;\n }\n function applyConstructor(response, model, parentObject) {\n Object.setPrototypeOf(parentObject, model.prototype);\n }\n function defineLazyGetter(response, chunk, parentObject, key) {\n Object.defineProperty(parentObject, key, {\n get: function () {\n \"resolved_model\" === chunk.status && initializeModelChunk(chunk);\n switch (chunk.status) {\n case \"fulfilled\":\n return chunk.value;\n case \"rejected\":\n throw chunk.reason;\n }\n return \"This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.\";\n },\n enumerable: !0,\n configurable: !1\n });\n return null;\n }\n function extractIterator(response, model) {\n return model[Symbol.iterator]();\n }\n function createModel(response, model) {\n return model;\n }\n function getInferredFunctionApproximate(code) {\n code = code.startsWith(\"Object.defineProperty(\")\n ? code.slice(22)\n : code.startsWith(\"(\")\n ? code.slice(1)\n : code;\n if (code.startsWith(\"async function\")) {\n var idx = code.indexOf(\"(\", 14);\n if (-1 !== idx)\n return (\n (code = code.slice(14, idx).trim()),\n (0, eval)(\"({\" + JSON.stringify(code) + \":async function(){}})\")[\n code\n ]\n );\n } else if (code.startsWith(\"function\")) {\n if (((idx = code.indexOf(\"(\", 8)), -1 !== idx))\n return (\n (code = code.slice(8, idx).trim()),\n (0, eval)(\"({\" + JSON.stringify(code) + \":function(){}})\")[code]\n );\n } else if (\n code.startsWith(\"class\") &&\n ((idx = code.indexOf(\"{\", 5)), -1 !== idx)\n )\n return (\n (code = code.slice(5, idx).trim()),\n (0, eval)(\"({\" + JSON.stringify(code) + \":class{}})\")[code]\n );\n return function () {};\n }\n function parseModelString(response, parentObject, key, value) {\n if (\"$\" === value[0]) {\n if (\"$\" === value)\n return (\n null !== initializingHandler &&\n \"0\" === key &&\n (initializingHandler = {\n parent: initializingHandler,\n chunk: null,\n value: null,\n reason: null,\n deps: 0,\n errored: !1\n }),\n REACT_ELEMENT_TYPE\n );\n switch (value[1]) {\n case \"$\":\n return value.slice(1);\n case \"L\":\n return (\n (parentObject = parseInt(value.slice(2), 16)),\n (response = getChunk(response, parentObject)),\n null !== initializingChunk &&\n isArrayImpl(initializingChunk._children) &&\n initializingChunk._children.push(response),\n createLazyChunkWrapper(response, 0)\n );\n case \"@\":\n return (\n (parentObject = parseInt(value.slice(2), 16)),\n (response = getChunk(response, parentObject)),\n null !== initializingChunk &&\n isArrayImpl(initializingChunk._children) &&\n initializingChunk._children.push(response),\n response\n );\n case \"S\":\n return Symbol.for(value.slice(2));\n case \"h\":\n var ref = value.slice(2);\n return getOutlinedModel(\n response,\n ref,\n parentObject,\n key,\n loadServerReference\n );\n case \"T\":\n parentObject = \"$\" + value.slice(2);\n response = response._tempRefs;\n if (null == response)\n throw Error(\n \"Missing a temporary reference set but the RSC response returned a temporary reference. Pass a temporaryReference option with the set that was used with the reply.\"\n );\n return response.get(parentObject);\n case \"Q\":\n return (\n (ref = value.slice(2)),\n getOutlinedModel(response, ref, parentObject, key, createMap)\n );\n case \"W\":\n return (\n (ref = value.slice(2)),\n getOutlinedModel(response, ref, parentObject, key, createSet)\n );\n case \"B\":\n return (\n (ref = value.slice(2)),\n getOutlinedModel(response, ref, parentObject, key, createBlob)\n );\n case \"K\":\n return (\n (ref = value.slice(2)),\n getOutlinedModel(response, ref, parentObject, key, createFormData)\n );\n case \"Z\":\n return (\n (ref = value.slice(2)),\n getOutlinedModel(\n response,\n ref,\n parentObject,\n key,\n resolveErrorDev\n )\n );\n case \"i\":\n return (\n (ref = value.slice(2)),\n getOutlinedModel(\n response,\n ref,\n parentObject,\n key,\n extractIterator\n )\n );\n case \"I\":\n return Infinity;\n case \"-\":\n return \"$-0\" === value ? -0 : -Infinity;\n case \"N\":\n return NaN;\n case \"u\":\n return;\n case \"D\":\n return new Date(Date.parse(value.slice(2)));\n case \"n\":\n return BigInt(value.slice(2));\n case \"P\":\n return (\n (ref = value.slice(2)),\n getOutlinedModel(\n response,\n ref,\n parentObject,\n key,\n applyConstructor\n )\n );\n case \"E\":\n response = value.slice(2);\n try {\n if (!mightHaveStaticConstructor.test(response))\n return (0, eval)(response);\n } catch (x) {}\n try {\n if (\n ((ref = getInferredFunctionApproximate(response)),\n response.startsWith(\"Object.defineProperty(\"))\n ) {\n var idx = response.lastIndexOf(',\"name\",{value:\"');\n if (-1 !== idx) {\n var name = JSON.parse(\n response.slice(idx + 16 - 1, response.length - 2)\n );\n Object.defineProperty(ref, \"name\", { value: name });\n }\n }\n } catch (_) {\n ref = function () {};\n }\n return ref;\n case \"Y\":\n if (\n 2 < value.length &&\n (ref = response._debugChannel && response._debugChannel.callback)\n ) {\n if (\"@\" === value[2])\n return (\n (parentObject = value.slice(3)),\n (key = parseInt(parentObject, 16)),\n response._chunks.has(key) || ref(\"P:\" + parentObject),\n getChunk(response, key)\n );\n value = value.slice(2);\n idx = parseInt(value, 16);\n response._chunks.has(idx) || ref(\"Q:\" + value);\n ref = getChunk(response, idx);\n return \"fulfilled\" === ref.status\n ? ref.value\n : defineLazyGetter(response, ref, parentObject, key);\n }\n Object.defineProperty(parentObject, key, {\n get: function () {\n return \"This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.\";\n },\n enumerable: !0,\n configurable: !1\n });\n return null;\n default:\n return (\n (ref = value.slice(1)),\n getOutlinedModel(response, ref, parentObject, key, createModel)\n );\n }\n }\n return value;\n }\n function missingCall() {\n throw Error(\n 'Trying to call a function from \"use server\" but the callServer option was not implemented in your router runtime.'\n );\n }\n function markIOStarted() {\n this._debugIOStarted = !0;\n }\n function ResponseInstance(\n bundlerConfig,\n serverReferenceConfig,\n moduleLoading,\n callServer,\n encodeFormAction,\n nonce,\n temporaryReferences,\n findSourceMapURL,\n replayConsole,\n environmentName,\n debugStartTime,\n debugEndTime,\n debugChannel\n ) {\n var chunks = new Map();\n this._bundlerConfig = bundlerConfig;\n this._serverReferenceConfig = serverReferenceConfig;\n this._moduleLoading = moduleLoading;\n this._callServer = void 0 !== callServer ? callServer : missingCall;\n this._encodeFormAction = encodeFormAction;\n this._nonce = nonce;\n this._chunks = chunks;\n this._stringDecoder = new TextDecoder();\n this._fromJSON = null;\n this._closed = !1;\n this._closedReason = null;\n this._tempRefs = temporaryReferences;\n this._timeOrigin = 0;\n this._pendingInitialRender = null;\n this._pendingChunks = 0;\n this._weakResponse = { weak: new WeakRef(this), response: this };\n this._debugRootOwner = bundlerConfig =\n void 0 === ReactSharedInteralsServer ||\n null === ReactSharedInteralsServer.A\n ? null\n : ReactSharedInteralsServer.A.getOwner();\n this._debugRootStack =\n null !== bundlerConfig ? Error(\"react-stack-top-frame\") : null;\n environmentName = void 0 === environmentName ? \"Server\" : environmentName;\n supportsCreateTask &&\n (this._debugRootTask = console.createTask(\n '\"use ' + environmentName.toLowerCase() + '\"'\n ));\n this._debugStartTime =\n null == debugStartTime ? performance.now() : debugStartTime;\n this._debugIOStarted = !1;\n setTimeout(markIOStarted.bind(this), 0);\n this._debugEndTime = null == debugEndTime ? null : debugEndTime;\n this._debugFindSourceMapURL = findSourceMapURL;\n this._debugChannel = debugChannel;\n this._blockedConsole = null;\n this._replayConsole = replayConsole;\n this._rootEnvironmentName = environmentName;\n debugChannel &&\n (null === debugChannelRegistry\n ? (closeDebugChannel(debugChannel), (this._debugChannel = void 0))\n : debugChannelRegistry.register(this, debugChannel, this));\n replayConsole && markAllTracksInOrder();\n this._fromJSON = createFromJSONCallback(this);\n }\n function createStreamState(weakResponse, streamDebugValue) {\n var streamState = {\n _rowState: 0,\n _rowID: 0,\n _rowTag: 0,\n _rowLength: 0,\n _buffer: []\n };\n weakResponse = unwrapWeakResponse(weakResponse);\n var debugValuePromise = Promise.resolve(streamDebugValue);\n debugValuePromise.status = \"fulfilled\";\n debugValuePromise.value = streamDebugValue;\n streamState._debugInfo = {\n name: \"rsc stream\",\n start: weakResponse._debugStartTime,\n end: weakResponse._debugStartTime,\n byteSize: 0,\n value: debugValuePromise,\n owner: weakResponse._debugRootOwner,\n debugStack: weakResponse._debugRootStack,\n debugTask: weakResponse._debugRootTask\n };\n streamState._debugTargetChunkSize = MIN_CHUNK_SIZE;\n return streamState;\n }\n function incrementChunkDebugInfo(streamState, chunkLength) {\n var debugInfo = streamState._debugInfo,\n endTime = performance.now(),\n previousEndTime = debugInfo.end;\n chunkLength = debugInfo.byteSize + chunkLength;\n chunkLength > streamState._debugTargetChunkSize ||\n endTime > previousEndTime + 10\n ? ((streamState._debugInfo = {\n name: debugInfo.name,\n start: debugInfo.start,\n end: endTime,\n byteSize: chunkLength,\n value: debugInfo.value,\n owner: debugInfo.owner,\n debugStack: debugInfo.debugStack,\n debugTask: debugInfo.debugTask\n }),\n (streamState._debugTargetChunkSize = chunkLength + MIN_CHUNK_SIZE))\n : ((debugInfo.end = endTime), (debugInfo.byteSize = chunkLength));\n }\n function addAsyncInfo(chunk, asyncInfo) {\n var value = resolveLazy(chunk.value);\n \"object\" !== typeof value ||\n null === value ||\n (!isArrayImpl(value) &&\n \"function\" !== typeof value[ASYNC_ITERATOR] &&\n value.$$typeof !== REACT_ELEMENT_TYPE &&\n value.$$typeof !== REACT_LAZY_TYPE)\n ? chunk._debugInfo.push(asyncInfo)\n : isArrayImpl(value._debugInfo)\n ? value._debugInfo.push(asyncInfo)\n : Object.defineProperty(value, \"_debugInfo\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: [asyncInfo]\n });\n }\n function resolveChunkDebugInfo(response, streamState, chunk) {\n response._debugIOStarted &&\n ((response = { awaited: streamState._debugInfo }),\n \"pending\" === chunk.status || \"blocked\" === chunk.status\n ? ((response = addAsyncInfo.bind(null, chunk, response)),\n chunk.then(response, response))\n : addAsyncInfo(chunk, response));\n }\n function resolveBuffer(response, id, buffer, streamState) {\n var chunks = response._chunks,\n chunk = chunks.get(id);\n chunk && \"pending\" !== chunk.status\n ? chunk.reason.enqueueValue(buffer)\n : (chunk && releasePendingChunk(response, chunk),\n (buffer = new ReactPromise(\"fulfilled\", buffer, null)),\n resolveChunkDebugInfo(response, streamState, buffer),\n chunks.set(id, buffer));\n }\n function resolveModule(response, id, model, streamState) {\n var chunks = response._chunks,\n chunk = chunks.get(id);\n model = JSON.parse(model, response._fromJSON);\n var clientReference = resolveClientReference(\n response._bundlerConfig,\n model\n );\n if ((model = preloadModule(clientReference))) {\n if (chunk) {\n releasePendingChunk(response, chunk);\n var blockedChunk = chunk;\n blockedChunk.status = \"blocked\";\n } else\n (blockedChunk = new ReactPromise(\"blocked\", null, null)),\n chunks.set(id, blockedChunk);\n resolveChunkDebugInfo(response, streamState, blockedChunk);\n model.then(\n function () {\n return resolveModuleChunk(response, blockedChunk, clientReference);\n },\n function (error) {\n return triggerErrorOnChunk(response, blockedChunk, error);\n }\n );\n } else\n chunk\n ? (resolveChunkDebugInfo(response, streamState, chunk),\n resolveModuleChunk(response, chunk, clientReference))\n : ((chunk = new ReactPromise(\n \"resolved_module\",\n clientReference,\n null\n )),\n resolveChunkDebugInfo(response, streamState, chunk),\n chunks.set(id, chunk));\n }\n function resolveStream(response, id, stream, controller, streamState) {\n var chunks = response._chunks,\n chunk = chunks.get(id);\n if (chunk) {\n if (\n (resolveChunkDebugInfo(response, streamState, chunk),\n \"pending\" === chunk.status)\n ) {\n id = chunk.value;\n if (null != chunk._debugChunk) {\n streamState = initializingHandler;\n chunks = initializingChunk;\n initializingHandler = null;\n chunk.status = \"blocked\";\n chunk.value = null;\n chunk.reason = null;\n initializingChunk = chunk;\n try {\n if (\n (initializeDebugChunk(response, chunk),\n null !== initializingHandler &&\n !initializingHandler.errored &&\n 0 < initializingHandler.deps)\n ) {\n initializingHandler.value = stream;\n initializingHandler.reason = controller;\n initializingHandler.chunk = chunk;\n return;\n }\n } finally {\n (initializingHandler = streamState), (initializingChunk = chunks);\n }\n }\n chunk.status = \"fulfilled\";\n chunk.value = stream;\n chunk.reason = controller;\n null !== id\n ? wakeChunk(response, id, chunk.value, chunk)\n : (filterDebugInfo(response, chunk),\n moveDebugInfoFromChunkToInnerValue(chunk, stream));\n }\n } else\n 0 === response._pendingChunks++ &&\n (response._weakResponse.response = response),\n (stream = new ReactPromise(\"fulfilled\", stream, controller)),\n resolveChunkDebugInfo(response, streamState, stream),\n chunks.set(id, stream);\n }\n function startReadableStream(response, id, type, streamState) {\n var controller = null,\n closed = !1;\n type = new ReadableStream({\n type: type,\n start: function (c) {\n controller = c;\n }\n });\n var previousBlockedChunk = null;\n resolveStream(\n response,\n id,\n type,\n {\n enqueueValue: function (value) {\n null === previousBlockedChunk\n ? controller.enqueue(value)\n : previousBlockedChunk.then(function () {\n controller.enqueue(value);\n });\n },\n enqueueModel: function (json) {\n if (null === previousBlockedChunk) {\n var chunk = createResolvedModelChunk(response, json);\n initializeModelChunk(chunk);\n \"fulfilled\" === chunk.status\n ? controller.enqueue(chunk.value)\n : (chunk.then(\n function (v) {\n return controller.enqueue(v);\n },\n function (e) {\n return controller.error(e);\n }\n ),\n (previousBlockedChunk = chunk));\n } else {\n chunk = previousBlockedChunk;\n var _chunk3 = createPendingChunk(response);\n _chunk3.then(\n function (v) {\n return controller.enqueue(v);\n },\n function (e) {\n return controller.error(e);\n }\n );\n previousBlockedChunk = _chunk3;\n chunk.then(function () {\n previousBlockedChunk === _chunk3 &&\n (previousBlockedChunk = null);\n resolveModelChunk(response, _chunk3, json);\n });\n }\n },\n close: function () {\n if (!closed)\n if (((closed = !0), null === previousBlockedChunk))\n controller.close();\n else {\n var blockedChunk = previousBlockedChunk;\n previousBlockedChunk = null;\n blockedChunk.then(function () {\n return controller.close();\n });\n }\n },\n error: function (error) {\n if (!closed)\n if (((closed = !0), null === previousBlockedChunk))\n controller.error(error);\n else {\n var blockedChunk = previousBlockedChunk;\n previousBlockedChunk = null;\n blockedChunk.then(function () {\n return controller.error(error);\n });\n }\n }\n },\n streamState\n );\n }\n function asyncIterator() {\n return this;\n }\n function createIterator(next) {\n next = { next: next };\n next[ASYNC_ITERATOR] = asyncIterator;\n return next;\n }\n function startAsyncIterable(response, id, iterator, streamState) {\n var buffer = [],\n closed = !1,\n nextWriteIndex = 0,\n iterable = {};\n iterable[ASYNC_ITERATOR] = function () {\n var nextReadIndex = 0;\n return createIterator(function (arg) {\n if (void 0 !== arg)\n throw Error(\n \"Values cannot be passed to next() of AsyncIterables passed to Client Components.\"\n );\n if (nextReadIndex === buffer.length) {\n if (closed)\n return new ReactPromise(\n \"fulfilled\",\n { done: !0, value: void 0 },\n null\n );\n buffer[nextReadIndex] = createPendingChunk(response);\n }\n return buffer[nextReadIndex++];\n });\n };\n resolveStream(\n response,\n id,\n iterator ? iterable[ASYNC_ITERATOR]() : iterable,\n {\n enqueueValue: function (value) {\n if (nextWriteIndex === buffer.length)\n buffer[nextWriteIndex] = new ReactPromise(\n \"fulfilled\",\n { done: !1, value: value },\n null\n );\n else {\n var chunk = buffer[nextWriteIndex],\n resolveListeners = chunk.value,\n rejectListeners = chunk.reason;\n chunk.status = \"fulfilled\";\n chunk.value = { done: !1, value: value };\n chunk.reason = null;\n null !== resolveListeners &&\n wakeChunkIfInitialized(\n response,\n chunk,\n resolveListeners,\n rejectListeners\n );\n }\n nextWriteIndex++;\n },\n enqueueModel: function (value) {\n nextWriteIndex === buffer.length\n ? (buffer[nextWriteIndex] = createResolvedIteratorResultChunk(\n response,\n value,\n !1\n ))\n : resolveIteratorResultChunk(\n response,\n buffer[nextWriteIndex],\n value,\n !1\n );\n nextWriteIndex++;\n },\n close: function (value) {\n if (!closed)\n for (\n closed = !0,\n nextWriteIndex === buffer.length\n ? (buffer[nextWriteIndex] =\n createResolvedIteratorResultChunk(response, value, !0))\n : resolveIteratorResultChunk(\n response,\n buffer[nextWriteIndex],\n value,\n !0\n ),\n nextWriteIndex++;\n nextWriteIndex < buffer.length;\n\n )\n resolveIteratorResultChunk(\n response,\n buffer[nextWriteIndex++],\n '\"$undefined\"',\n !0\n );\n },\n error: function (error) {\n if (!closed)\n for (\n closed = !0,\n nextWriteIndex === buffer.length &&\n (buffer[nextWriteIndex] = createPendingChunk(response));\n nextWriteIndex < buffer.length;\n\n )\n triggerErrorOnChunk(response, buffer[nextWriteIndex++], error);\n }\n },\n streamState\n );\n }\n function resolveErrorDev(response, errorInfo) {\n var name = errorInfo.name,\n env = errorInfo.env;\n var error = buildFakeCallStack(\n response,\n errorInfo.stack,\n env,\n !1,\n Error.bind(\n null,\n errorInfo.message ||\n \"An error occurred in the Server Components render but no message was provided\"\n )\n );\n var ownerTask = null;\n null != errorInfo.owner &&\n ((errorInfo = errorInfo.owner.slice(1)),\n (errorInfo = getOutlinedModel(\n response,\n errorInfo,\n {},\n \"\",\n createModel\n )),\n null !== errorInfo &&\n (ownerTask = initializeFakeTask(response, errorInfo)));\n null === ownerTask\n ? ((response = getRootTask(response, env)),\n (error = null != response ? response.run(error) : error()))\n : (error = ownerTask.run(error));\n error.name = name;\n error.environmentName = env;\n return error;\n }\n function createFakeFunction(\n name,\n filename,\n sourceMap,\n line,\n col,\n enclosingLine,\n enclosingCol,\n environmentName\n ) {\n name || (name = \"<anonymous>\");\n var encodedName = JSON.stringify(name);\n 1 > enclosingLine ? (enclosingLine = 0) : enclosingLine--;\n 1 > enclosingCol ? (enclosingCol = 0) : enclosingCol--;\n 1 > line ? (line = 0) : line--;\n 1 > col ? (col = 0) : col--;\n if (\n line < enclosingLine ||\n (line === enclosingLine && col < enclosingCol)\n )\n enclosingCol = enclosingLine = 0;\n 1 > line\n ? ((line = encodedName.length + 3),\n (enclosingCol -= line),\n 0 > enclosingCol && (enclosingCol = 0),\n (col = col - enclosingCol - line - 3),\n 0 > col && (col = 0),\n (encodedName =\n \"({\" +\n encodedName +\n \":\" +\n \" \".repeat(enclosingCol) +\n \"_=>\" +\n \" \".repeat(col) +\n \"_()})\"))\n : 1 > enclosingLine\n ? ((enclosingCol -= encodedName.length + 3),\n 0 > enclosingCol && (enclosingCol = 0),\n (encodedName =\n \"({\" +\n encodedName +\n \":\" +\n \" \".repeat(enclosingCol) +\n \"_=>\" +\n \"\\n\".repeat(line - enclosingLine) +\n \" \".repeat(col) +\n \"_()})\"))\n : enclosingLine === line\n ? ((col = col - enclosingCol - 3),\n 0 > col && (col = 0),\n (encodedName =\n \"\\n\".repeat(enclosingLine - 1) +\n \"({\" +\n encodedName +\n \":\\n\" +\n \" \".repeat(enclosingCol) +\n \"_=>\" +\n \" \".repeat(col) +\n \"_()})\"))\n : (encodedName =\n \"\\n\".repeat(enclosingLine - 1) +\n \"({\" +\n encodedName +\n \":\\n\" +\n \" \".repeat(enclosingCol) +\n \"_=>\" +\n \"\\n\".repeat(line - enclosingLine) +\n \" \".repeat(col) +\n \"_()})\");\n encodedName =\n 1 > enclosingLine\n ? encodedName +\n \"\\n/* This module was rendered by a Server Component. Turn on Source Maps to see the server source. */\"\n : \"/* This module was rendered by a Server Component. Turn on Source Maps to see the server source. */\" +\n encodedName;\n filename.startsWith(\"/\") && (filename = \"file://\" + filename);\n sourceMap\n ? ((encodedName +=\n \"\\n//# sourceURL=about://React/\" +\n encodeURIComponent(environmentName) +\n \"/\" +\n encodeURI(filename) +\n \"?\" +\n fakeFunctionIdx++),\n (encodedName += \"\\n//# sourceMappingURL=\" + sourceMap))\n : (encodedName = filename\n ? encodedName + (\"\\n//# sourceURL=\" + encodeURI(filename))\n : encodedName + \"\\n//# sourceURL=<anonymous>\");\n try {\n var fn = (0, eval)(encodedName)[name];\n } catch (x) {\n fn = function (_) {\n return _();\n };\n }\n return fn;\n }\n function buildFakeCallStack(\n response,\n stack,\n environmentName,\n useEnclosingLine,\n innerCall\n ) {\n for (var i = 0; i < stack.length; i++) {\n var frame = stack[i],\n frameKey =\n frame.join(\"-\") +\n \"-\" +\n environmentName +\n (useEnclosingLine ? \"-e\" : \"-n\"),\n fn = fakeFunctionCache.get(frameKey);\n if (void 0 === fn) {\n fn = frame[0];\n var filename = frame[1],\n line = frame[2],\n col = frame[3],\n enclosingLine = frame[4];\n frame = frame[5];\n var findSourceMapURL = response._debugFindSourceMapURL;\n findSourceMapURL = findSourceMapURL\n ? findSourceMapURL(filename, environmentName)\n : null;\n fn = createFakeFunction(\n fn,\n filename,\n findSourceMapURL,\n line,\n col,\n useEnclosingLine ? line : enclosingLine,\n useEnclosingLine ? col : frame,\n environmentName\n );\n fakeFunctionCache.set(frameKey, fn);\n }\n innerCall = fn.bind(null, innerCall);\n }\n return innerCall;\n }\n function getRootTask(response, childEnvironmentName) {\n var rootTask = response._debugRootTask;\n return rootTask\n ? response._rootEnvironmentName !== childEnvironmentName\n ? ((response = console.createTask.bind(\n console,\n '\"use ' + childEnvironmentName.toLowerCase() + '\"'\n )),\n rootTask.run(response))\n : rootTask\n : null;\n }\n function initializeFakeTask(response, debugInfo) {\n if (!supportsCreateTask || null == debugInfo.stack) return null;\n var cachedEntry = debugInfo.debugTask;\n if (void 0 !== cachedEntry) return cachedEntry;\n var useEnclosingLine = void 0 === debugInfo.key,\n stack = debugInfo.stack,\n env =\n null == debugInfo.env ? response._rootEnvironmentName : debugInfo.env;\n cachedEntry =\n null == debugInfo.owner || null == debugInfo.owner.env\n ? response._rootEnvironmentName\n : debugInfo.owner.env;\n var ownerTask =\n null == debugInfo.owner\n ? null\n : initializeFakeTask(response, debugInfo.owner);\n env =\n env !== cachedEntry\n ? '\"use ' + env.toLowerCase() + '\"'\n : void 0 !== debugInfo.key\n ? \"<\" + (debugInfo.name || \"...\") + \">\"\n : void 0 !== debugInfo.name\n ? debugInfo.name || \"unknown\"\n : \"await \" + (debugInfo.awaited.name || \"unknown\");\n env = console.createTask.bind(console, env);\n useEnclosingLine = buildFakeCallStack(\n response,\n stack,\n cachedEntry,\n useEnclosingLine,\n env\n );\n null === ownerTask\n ? ((response = getRootTask(response, cachedEntry)),\n (response =\n null != response\n ? response.run(useEnclosingLine)\n : useEnclosingLine()))\n : (response = ownerTask.run(useEnclosingLine));\n return (debugInfo.debugTask = response);\n }\n function fakeJSXCallSite() {\n return Error(\"react-stack-top-frame\");\n }\n function initializeFakeStack(response, debugInfo) {\n if (void 0 === debugInfo.debugStack) {\n null != debugInfo.stack &&\n (debugInfo.debugStack = createFakeJSXCallStackInDEV(\n response,\n debugInfo.stack,\n null == debugInfo.env ? \"\" : debugInfo.env\n ));\n var owner = debugInfo.owner;\n null != owner &&\n (initializeFakeStack(response, owner),\n void 0 === owner.debugLocation &&\n null != debugInfo.debugStack &&\n (owner.debugLocation = debugInfo.debugStack));\n }\n }\n function initializeDebugInfo(response, debugInfo) {\n void 0 !== debugInfo.stack && initializeFakeTask(response, debugInfo);\n if (null == debugInfo.owner && null != response._debugRootOwner) {\n var _componentInfoOrAsyncInfo = debugInfo;\n _componentInfoOrAsyncInfo.owner = response._debugRootOwner;\n _componentInfoOrAsyncInfo.stack = null;\n _componentInfoOrAsyncInfo.debugStack = response._debugRootStack;\n _componentInfoOrAsyncInfo.debugTask = response._debugRootTask;\n } else\n void 0 !== debugInfo.stack && initializeFakeStack(response, debugInfo);\n \"number\" === typeof debugInfo.time &&\n (debugInfo = { time: debugInfo.time + response._timeOrigin });\n return debugInfo;\n }\n function getCurrentStackInDEV() {\n var owner = currentOwnerInDEV;\n if (null === owner) return \"\";\n try {\n var info = \"\";\n if (owner.owner || \"string\" !== typeof owner.name) {\n for (; owner; ) {\n var ownerStack = owner.debugStack;\n if (null != ownerStack) {\n if ((owner = owner.owner)) {\n var JSCompiler_temp_const = info;\n var error = ownerStack,\n prevPrepareStackTrace = Error.prepareStackTrace;\n Error.prepareStackTrace = void 0;\n var stack = error.stack;\n Error.prepareStackTrace = prevPrepareStackTrace;\n stack.startsWith(\"Error: react-stack-top-frame\\n\") &&\n (stack = stack.slice(29));\n var idx = stack.indexOf(\"\\n\");\n -1 !== idx && (stack = stack.slice(idx + 1));\n idx = stack.indexOf(\"react_stack_bottom_frame\");\n -1 !== idx && (idx = stack.lastIndexOf(\"\\n\", idx));\n var JSCompiler_inline_result =\n -1 !== idx ? (stack = stack.slice(0, idx)) : \"\";\n info =\n JSCompiler_temp_const + (\"\\n\" + JSCompiler_inline_result);\n }\n } else break;\n }\n var JSCompiler_inline_result$jscomp$0 = info;\n } else {\n JSCompiler_temp_const = owner.name;\n if (void 0 === prefix)\n try {\n throw Error();\n } catch (x) {\n (prefix =\n ((error = x.stack.trim().match(/\\n( *(at )?)/)) && error[1]) ||\n \"\"),\n (suffix =\n -1 < x.stack.indexOf(\"\\n at\")\n ? \" (<anonymous>)\"\n : -1 < x.stack.indexOf(\"@\")\n ? \"@unknown:0:0\"\n : \"\");\n }\n JSCompiler_inline_result$jscomp$0 =\n \"\\n\" + prefix + JSCompiler_temp_const + suffix;\n }\n } catch (x) {\n JSCompiler_inline_result$jscomp$0 =\n \"\\nError generating stack: \" + x.message + \"\\n\" + x.stack;\n }\n return JSCompiler_inline_result$jscomp$0;\n }\n function resolveConsoleEntry(response, json) {\n if (response._replayConsole) {\n var blockedChunk = response._blockedConsole;\n if (null == blockedChunk)\n (blockedChunk = createResolvedModelChunk(response, json)),\n initializeModelChunk(blockedChunk),\n \"fulfilled\" === blockedChunk.status\n ? replayConsoleWithCallStackInDEV(response, blockedChunk.value)\n : (blockedChunk.then(\n function (v) {\n return replayConsoleWithCallStackInDEV(response, v);\n },\n function () {}\n ),\n (response._blockedConsole = blockedChunk));\n else {\n var _chunk4 = createPendingChunk(response);\n _chunk4.then(\n function (v) {\n return replayConsoleWithCallStackInDEV(response, v);\n },\n function () {}\n );\n response._blockedConsole = _chunk4;\n var unblock = function () {\n response._blockedConsole === _chunk4 &&\n (response._blockedConsole = null);\n resolveModelChunk(response, _chunk4, json);\n };\n blockedChunk.then(unblock, unblock);\n }\n }\n }\n function initializeIOInfo(response, ioInfo) {\n void 0 !== ioInfo.stack &&\n (initializeFakeTask(response, ioInfo),\n initializeFakeStack(response, ioInfo));\n ioInfo.start += response._timeOrigin;\n ioInfo.end += response._timeOrigin;\n if (response._replayConsole) {\n response = response._rootEnvironmentName;\n var promise = ioInfo.value;\n if (promise)\n switch (promise.status) {\n case \"fulfilled\":\n logIOInfo(ioInfo, response, promise.value);\n break;\n case \"rejected\":\n logIOInfoErrored(ioInfo, response, promise.reason);\n break;\n default:\n promise.then(\n logIOInfo.bind(null, ioInfo, response),\n logIOInfoErrored.bind(null, ioInfo, response)\n );\n }\n else logIOInfo(ioInfo, response, void 0);\n }\n }\n function resolveIOInfo(response, id, model) {\n var chunks = response._chunks,\n chunk = chunks.get(id);\n chunk\n ? (resolveModelChunk(response, chunk, model),\n \"resolved_model\" === chunk.status && initializeModelChunk(chunk))\n : ((chunk = createResolvedModelChunk(response, model)),\n chunks.set(id, chunk),\n initializeModelChunk(chunk));\n \"fulfilled\" === chunk.status\n ? initializeIOInfo(response, chunk.value)\n : chunk.then(\n function (v) {\n initializeIOInfo(response, v);\n },\n function () {}\n );\n }\n function mergeBuffer(buffer, lastChunk) {\n for (\n var l = buffer.length, byteLength = lastChunk.length, i = 0;\n i < l;\n i++\n )\n byteLength += buffer[i].byteLength;\n byteLength = new Uint8Array(byteLength);\n for (var _i3 = (i = 0); _i3 < l; _i3++) {\n var chunk = buffer[_i3];\n byteLength.set(chunk, i);\n i += chunk.byteLength;\n }\n byteLength.set(lastChunk, i);\n return byteLength;\n }\n function resolveTypedArray(\n response,\n id,\n buffer,\n lastChunk,\n constructor,\n bytesPerElement,\n streamState\n ) {\n buffer =\n 0 === buffer.length && 0 === lastChunk.byteOffset % bytesPerElement\n ? lastChunk\n : mergeBuffer(buffer, lastChunk);\n constructor = new constructor(\n buffer.buffer,\n buffer.byteOffset,\n buffer.byteLength / bytesPerElement\n );\n resolveBuffer(response, id, constructor, streamState);\n }\n function flushComponentPerformance(\n response$jscomp$0,\n root,\n trackIdx$jscomp$6,\n trackTime,\n parentEndTime\n ) {\n if (!isArrayImpl(root._children)) {\n var previousResult = root._children,\n previousEndTime = previousResult.endTime;\n if (\n -Infinity < parentEndTime &&\n parentEndTime < previousEndTime &&\n null !== previousResult.component\n ) {\n var componentInfo = previousResult.component,\n trackIdx = trackIdx$jscomp$6,\n startTime = parentEndTime;\n if (supportsUserTiming && 0 <= previousEndTime && 10 > trackIdx) {\n var color =\n componentInfo.env === response$jscomp$0._rootEnvironmentName\n ? \"primary-light\"\n : \"secondary-light\",\n entryName = componentInfo.name + \" [deduped]\",\n debugTask = componentInfo.debugTask;\n debugTask\n ? debugTask.run(\n console.timeStamp.bind(\n console,\n entryName,\n 0 > startTime ? 0 : startTime,\n previousEndTime,\n trackNames[trackIdx],\n \"Server Components \\u269b\",\n color\n )\n )\n : console.timeStamp(\n entryName,\n 0 > startTime ? 0 : startTime,\n previousEndTime,\n trackNames[trackIdx],\n \"Server Components \\u269b\",\n color\n );\n }\n }\n previousResult.track = trackIdx$jscomp$6;\n return previousResult;\n }\n var children = root._children;\n var debugInfo = root._debugInfo;\n if (0 === debugInfo.length && \"fulfilled\" === root.status) {\n var resolvedValue = resolveLazy(root.value);\n \"object\" === typeof resolvedValue &&\n null !== resolvedValue &&\n (isArrayImpl(resolvedValue) ||\n \"function\" === typeof resolvedValue[ASYNC_ITERATOR] ||\n resolvedValue.$$typeof === REACT_ELEMENT_TYPE ||\n resolvedValue.$$typeof === REACT_LAZY_TYPE) &&\n isArrayImpl(resolvedValue._debugInfo) &&\n (debugInfo = resolvedValue._debugInfo);\n }\n if (debugInfo) {\n for (var startTime$jscomp$0 = 0, i = 0; i < debugInfo.length; i++) {\n var info = debugInfo[i];\n \"number\" === typeof info.time && (startTime$jscomp$0 = info.time);\n if (\"string\" === typeof info.name) {\n startTime$jscomp$0 < trackTime && trackIdx$jscomp$6++;\n trackTime = startTime$jscomp$0;\n break;\n }\n }\n for (var _i4 = debugInfo.length - 1; 0 <= _i4; _i4--) {\n var _info = debugInfo[_i4];\n if (\"number\" === typeof _info.time && _info.time > parentEndTime) {\n parentEndTime = _info.time;\n break;\n }\n }\n }\n var result = {\n track: trackIdx$jscomp$6,\n endTime: -Infinity,\n component: null\n };\n root._children = result;\n for (\n var childrenEndTime = -Infinity,\n childTrackIdx = trackIdx$jscomp$6,\n childTrackTime = trackTime,\n _i5 = 0;\n _i5 < children.length;\n _i5++\n ) {\n var childResult = flushComponentPerformance(\n response$jscomp$0,\n children[_i5],\n childTrackIdx,\n childTrackTime,\n parentEndTime\n );\n null !== childResult.component &&\n (result.component = childResult.component);\n childTrackIdx = childResult.track;\n var childEndTime = childResult.endTime;\n childEndTime > childTrackTime && (childTrackTime = childEndTime);\n childEndTime > childrenEndTime && (childrenEndTime = childEndTime);\n }\n if (debugInfo)\n for (\n var componentEndTime = 0,\n isLastComponent = !0,\n endTime = -1,\n endTimeIdx = -1,\n _i6 = debugInfo.length - 1;\n 0 <= _i6;\n _i6--\n ) {\n var _info2 = debugInfo[_i6];\n if (\"number\" === typeof _info2.time) {\n 0 === componentEndTime && (componentEndTime = _info2.time);\n var time = _info2.time;\n if (-1 < endTimeIdx)\n for (var j = endTimeIdx - 1; j > _i6; j--) {\n var candidateInfo = debugInfo[j];\n if (\"string\" === typeof candidateInfo.name) {\n componentEndTime > childrenEndTime &&\n (childrenEndTime = componentEndTime);\n var componentInfo$jscomp$0 = candidateInfo,\n response = response$jscomp$0,\n componentInfo$jscomp$1 = componentInfo$jscomp$0,\n trackIdx$jscomp$0 = trackIdx$jscomp$6,\n startTime$jscomp$1 = time,\n componentEndTime$jscomp$0 = componentEndTime,\n childrenEndTime$jscomp$0 = childrenEndTime;\n if (\n isLastComponent &&\n \"rejected\" === root.status &&\n root.reason !== response._closedReason\n ) {\n var componentInfo$jscomp$2 = componentInfo$jscomp$1,\n trackIdx$jscomp$1 = trackIdx$jscomp$0,\n startTime$jscomp$2 = startTime$jscomp$1,\n childrenEndTime$jscomp$1 = childrenEndTime$jscomp$0,\n error = root.reason;\n if (supportsUserTiming) {\n var env = componentInfo$jscomp$2.env,\n name = componentInfo$jscomp$2.name,\n entryName$jscomp$0 =\n env === response._rootEnvironmentName ||\n void 0 === env\n ? name\n : name + \" [\" + env + \"]\",\n measureName = \"\\u200b\" + entryName$jscomp$0,\n properties = [\n [\n \"Error\",\n \"object\" === typeof error &&\n null !== error &&\n \"string\" === typeof error.message\n ? String(error.message)\n : String(error)\n ]\n ];\n null != componentInfo$jscomp$2.key &&\n addValueToProperties(\n \"key\",\n componentInfo$jscomp$2.key,\n properties,\n 0,\n \"\"\n );\n null != componentInfo$jscomp$2.props &&\n addObjectToProperties(\n componentInfo$jscomp$2.props,\n properties,\n 0,\n \"\"\n );\n performance.measure(measureName, {\n start: 0 > startTime$jscomp$2 ? 0 : startTime$jscomp$2,\n end: childrenEndTime$jscomp$1,\n detail: {\n devtools: {\n color: \"error\",\n track: trackNames[trackIdx$jscomp$1],\n trackGroup: \"Server Components \\u269b\",\n tooltipText: entryName$jscomp$0 + \" Errored\",\n properties: properties\n }\n }\n });\n performance.clearMeasures(measureName);\n }\n } else {\n var componentInfo$jscomp$3 = componentInfo$jscomp$1,\n trackIdx$jscomp$2 = trackIdx$jscomp$0,\n startTime$jscomp$3 = startTime$jscomp$1,\n childrenEndTime$jscomp$2 = childrenEndTime$jscomp$0;\n if (\n supportsUserTiming &&\n 0 <= childrenEndTime$jscomp$2 &&\n 10 > trackIdx$jscomp$2\n ) {\n var env$jscomp$0 = componentInfo$jscomp$3.env,\n name$jscomp$0 = componentInfo$jscomp$3.name,\n isPrimaryEnv =\n env$jscomp$0 === response._rootEnvironmentName,\n selfTime =\n componentEndTime$jscomp$0 - startTime$jscomp$3,\n color$jscomp$0 =\n 0.5 > selfTime\n ? isPrimaryEnv\n ? \"primary-light\"\n : \"secondary-light\"\n : 50 > selfTime\n ? isPrimaryEnv\n ? \"primary\"\n : \"secondary\"\n : 500 > selfTime\n ? isPrimaryEnv\n ? \"primary-dark\"\n : \"secondary-dark\"\n : \"error\",\n debugTask$jscomp$0 = componentInfo$jscomp$3.debugTask,\n measureName$jscomp$0 =\n \"\\u200b\" +\n (isPrimaryEnv || void 0 === env$jscomp$0\n ? name$jscomp$0\n : name$jscomp$0 + \" [\" + env$jscomp$0 + \"]\");\n if (debugTask$jscomp$0) {\n var properties$jscomp$0 = [];\n null != componentInfo$jscomp$3.key &&\n addValueToProperties(\n \"key\",\n componentInfo$jscomp$3.key,\n properties$jscomp$0,\n 0,\n \"\"\n );\n null != componentInfo$jscomp$3.props &&\n addObjectToProperties(\n componentInfo$jscomp$3.props,\n properties$jscomp$0,\n 0,\n \"\"\n );\n debugTask$jscomp$0.run(\n performance.measure.bind(\n performance,\n measureName$jscomp$0,\n {\n start:\n 0 > startTime$jscomp$3 ? 0 : startTime$jscomp$3,\n end: childrenEndTime$jscomp$2,\n detail: {\n devtools: {\n color: color$jscomp$0,\n track: trackNames[trackIdx$jscomp$2],\n trackGroup: \"Server Components \\u269b\",\n properties: properties$jscomp$0\n }\n }\n }\n )\n );\n performance.clearMeasures(measureName$jscomp$0);\n } else\n console.timeStamp(\n measureName$jscomp$0,\n 0 > startTime$jscomp$3 ? 0 : startTime$jscomp$3,\n childrenEndTime$jscomp$2,\n trackNames[trackIdx$jscomp$2],\n \"Server Components \\u269b\",\n color$jscomp$0\n );\n }\n }\n componentEndTime = time;\n result.component = componentInfo$jscomp$0;\n isLastComponent = !1;\n } else if (\n candidateInfo.awaited &&\n null != candidateInfo.awaited.env\n ) {\n endTime > childrenEndTime && (childrenEndTime = endTime);\n var asyncInfo = candidateInfo,\n env$jscomp$1 = response$jscomp$0._rootEnvironmentName,\n promise = asyncInfo.awaited.value;\n if (promise) {\n var thenable = promise;\n switch (thenable.status) {\n case \"fulfilled\":\n logComponentAwait(\n asyncInfo,\n trackIdx$jscomp$6,\n time,\n endTime,\n env$jscomp$1,\n thenable.value\n );\n break;\n case \"rejected\":\n var asyncInfo$jscomp$0 = asyncInfo,\n trackIdx$jscomp$3 = trackIdx$jscomp$6,\n startTime$jscomp$4 = time,\n endTime$jscomp$0 = endTime,\n rootEnv = env$jscomp$1,\n error$jscomp$0 = thenable.reason;\n if (supportsUserTiming && 0 < endTime$jscomp$0) {\n var description = getIODescription(error$jscomp$0),\n entryName$jscomp$1 =\n \"await \" +\n getIOShortName(\n asyncInfo$jscomp$0.awaited,\n description,\n asyncInfo$jscomp$0.env,\n rootEnv\n ),\n debugTask$jscomp$1 =\n asyncInfo$jscomp$0.debugTask ||\n asyncInfo$jscomp$0.awaited.debugTask;\n if (debugTask$jscomp$1) {\n var properties$jscomp$1 = [\n [\n \"Rejected\",\n \"object\" === typeof error$jscomp$0 &&\n null !== error$jscomp$0 &&\n \"string\" === typeof error$jscomp$0.message\n ? String(error$jscomp$0.message)\n : String(error$jscomp$0)\n ]\n ],\n tooltipText =\n getIOLongName(\n asyncInfo$jscomp$0.awaited,\n description,\n asyncInfo$jscomp$0.env,\n rootEnv\n ) + \" Rejected\";\n debugTask$jscomp$1.run(\n performance.measure.bind(\n performance,\n entryName$jscomp$1,\n {\n start:\n 0 > startTime$jscomp$4\n ? 0\n : startTime$jscomp$4,\n end: endTime$jscomp$0,\n detail: {\n devtools: {\n color: \"error\",\n track: trackNames[trackIdx$jscomp$3],\n trackGroup: \"Server Components \\u269b\",\n properties: properties$jscomp$1,\n tooltipText: tooltipText\n }\n }\n }\n )\n );\n performance.clearMeasures(entryName$jscomp$1);\n } else\n console.timeStamp(\n entryName$jscomp$1,\n 0 > startTime$jscomp$4 ? 0 : startTime$jscomp$4,\n endTime$jscomp$0,\n trackNames[trackIdx$jscomp$3],\n \"Server Components \\u269b\",\n \"error\"\n );\n }\n break;\n default:\n logComponentAwait(\n asyncInfo,\n trackIdx$jscomp$6,\n time,\n endTime,\n env$jscomp$1,\n void 0\n );\n }\n } else\n logComponentAwait(\n asyncInfo,\n trackIdx$jscomp$6,\n time,\n endTime,\n env$jscomp$1,\n void 0\n );\n }\n }\n else {\n endTime = time;\n for (var _j = debugInfo.length - 1; _j > _i6; _j--) {\n var _candidateInfo = debugInfo[_j];\n if (\"string\" === typeof _candidateInfo.name) {\n componentEndTime > childrenEndTime &&\n (childrenEndTime = componentEndTime);\n var _componentInfo = _candidateInfo,\n _env = response$jscomp$0._rootEnvironmentName,\n componentInfo$jscomp$4 = _componentInfo,\n trackIdx$jscomp$4 = trackIdx$jscomp$6,\n startTime$jscomp$5 = time,\n childrenEndTime$jscomp$3 = childrenEndTime;\n if (supportsUserTiming) {\n var env$jscomp$2 = componentInfo$jscomp$4.env,\n name$jscomp$1 = componentInfo$jscomp$4.name,\n entryName$jscomp$2 =\n env$jscomp$2 === _env || void 0 === env$jscomp$2\n ? name$jscomp$1\n : name$jscomp$1 + \" [\" + env$jscomp$2 + \"]\",\n measureName$jscomp$1 = \"\\u200b\" + entryName$jscomp$2,\n properties$jscomp$2 = [\n [\n \"Aborted\",\n \"The stream was aborted before this Component finished rendering.\"\n ]\n ];\n null != componentInfo$jscomp$4.key &&\n addValueToProperties(\n \"key\",\n componentInfo$jscomp$4.key,\n properties$jscomp$2,\n 0,\n \"\"\n );\n null != componentInfo$jscomp$4.props &&\n addObjectToProperties(\n componentInfo$jscomp$4.props,\n properties$jscomp$2,\n 0,\n \"\"\n );\n performance.measure(measureName$jscomp$1, {\n start: 0 > startTime$jscomp$5 ? 0 : startTime$jscomp$5,\n end: childrenEndTime$jscomp$3,\n detail: {\n devtools: {\n color: \"warning\",\n track: trackNames[trackIdx$jscomp$4],\n trackGroup: \"Server Components \\u269b\",\n tooltipText: entryName$jscomp$2 + \" Aborted\",\n properties: properties$jscomp$2\n }\n }\n });\n performance.clearMeasures(measureName$jscomp$1);\n }\n componentEndTime = time;\n result.component = _componentInfo;\n isLastComponent = !1;\n } else if (\n _candidateInfo.awaited &&\n null != _candidateInfo.awaited.env\n ) {\n var _asyncInfo = _candidateInfo,\n _env2 = response$jscomp$0._rootEnvironmentName;\n _asyncInfo.awaited.end > endTime &&\n (endTime = _asyncInfo.awaited.end);\n endTime > childrenEndTime && (childrenEndTime = endTime);\n var asyncInfo$jscomp$1 = _asyncInfo,\n trackIdx$jscomp$5 = trackIdx$jscomp$6,\n startTime$jscomp$6 = time,\n endTime$jscomp$1 = endTime,\n rootEnv$jscomp$0 = _env2;\n if (supportsUserTiming && 0 < endTime$jscomp$1) {\n var entryName$jscomp$3 =\n \"await \" +\n getIOShortName(\n asyncInfo$jscomp$1.awaited,\n \"\",\n asyncInfo$jscomp$1.env,\n rootEnv$jscomp$0\n ),\n debugTask$jscomp$2 =\n asyncInfo$jscomp$1.debugTask ||\n asyncInfo$jscomp$1.awaited.debugTask;\n if (debugTask$jscomp$2) {\n var tooltipText$jscomp$0 =\n getIOLongName(\n asyncInfo$jscomp$1.awaited,\n \"\",\n asyncInfo$jscomp$1.env,\n rootEnv$jscomp$0\n ) + \" Aborted\";\n debugTask$jscomp$2.run(\n performance.measure.bind(\n performance,\n entryName$jscomp$3,\n {\n start:\n 0 > startTime$jscomp$6 ? 0 : startTime$jscomp$6,\n end: endTime$jscomp$1,\n detail: {\n devtools: {\n color: \"warning\",\n track: trackNames[trackIdx$jscomp$5],\n trackGroup: \"Server Components \\u269b\",\n properties: [\n [\n \"Aborted\",\n \"The stream was aborted before this Promise resolved.\"\n ]\n ],\n tooltipText: tooltipText$jscomp$0\n }\n }\n }\n )\n );\n performance.clearMeasures(entryName$jscomp$3);\n } else\n console.timeStamp(\n entryName$jscomp$3,\n 0 > startTime$jscomp$6 ? 0 : startTime$jscomp$6,\n endTime$jscomp$1,\n trackNames[trackIdx$jscomp$5],\n \"Server Components \\u269b\",\n \"warning\"\n );\n }\n }\n }\n }\n endTime = time;\n endTimeIdx = _i6;\n }\n }\n result.endTime = childrenEndTime;\n return result;\n }\n function flushInitialRenderPerformance(response) {\n if (response._replayConsole) {\n var rootChunk = getChunk(response, 0);\n isArrayImpl(rootChunk._children) &&\n (markAllTracksInOrder(),\n flushComponentPerformance(\n response,\n rootChunk,\n 0,\n -Infinity,\n -Infinity\n ));\n }\n }\n function processFullBinaryRow(\n response,\n streamState,\n id,\n tag,\n buffer,\n chunk\n ) {\n switch (tag) {\n case 65:\n resolveBuffer(\n response,\n id,\n mergeBuffer(buffer, chunk).buffer,\n streamState\n );\n return;\n case 79:\n resolveTypedArray(\n response,\n id,\n buffer,\n chunk,\n Int8Array,\n 1,\n streamState\n );\n return;\n case 111:\n resolveBuffer(\n response,\n id,\n 0 === buffer.length ? chunk : mergeBuffer(buffer, chunk),\n streamState\n );\n return;\n case 85:\n resolveTypedArray(\n response,\n id,\n buffer,\n chunk,\n Uint8ClampedArray,\n 1,\n streamState\n );\n return;\n case 83:\n resolveTypedArray(\n response,\n id,\n buffer,\n chunk,\n Int16Array,\n 2,\n streamState\n );\n return;\n case 115:\n resolveTypedArray(\n response,\n id,\n buffer,\n chunk,\n Uint16Array,\n 2,\n streamState\n );\n return;\n case 76:\n resolveTypedArray(\n response,\n id,\n buffer,\n chunk,\n Int32Array,\n 4,\n streamState\n );\n return;\n case 108:\n resolveTypedArray(\n response,\n id,\n buffer,\n chunk,\n Uint32Array,\n 4,\n streamState\n );\n return;\n case 71:\n resolveTypedArray(\n response,\n id,\n buffer,\n chunk,\n Float32Array,\n 4,\n streamState\n );\n return;\n case 103:\n resolveTypedArray(\n response,\n id,\n buffer,\n chunk,\n Float64Array,\n 8,\n streamState\n );\n return;\n case 77:\n resolveTypedArray(\n response,\n id,\n buffer,\n chunk,\n BigInt64Array,\n 8,\n streamState\n );\n return;\n case 109:\n resolveTypedArray(\n response,\n id,\n buffer,\n chunk,\n BigUint64Array,\n 8,\n streamState\n );\n return;\n case 86:\n resolveTypedArray(\n response,\n id,\n buffer,\n chunk,\n DataView,\n 1,\n streamState\n );\n return;\n }\n for (\n var stringDecoder = response._stringDecoder, row = \"\", i = 0;\n i < buffer.length;\n i++\n )\n row += stringDecoder.decode(buffer[i], decoderOptions);\n row += stringDecoder.decode(chunk);\n processFullStringRow(response, streamState, id, tag, row);\n }\n function processFullStringRow(response, streamState, id, tag, row) {\n switch (tag) {\n case 73:\n resolveModule(response, id, row, streamState);\n break;\n case 72:\n id = row[0];\n streamState = row.slice(1);\n response = JSON.parse(streamState, response._fromJSON);\n streamState = ReactDOMSharedInternals.d;\n switch (id) {\n case \"D\":\n streamState.D(response);\n break;\n case \"C\":\n \"string\" === typeof response\n ? streamState.C(response)\n : streamState.C(response[0], response[1]);\n break;\n case \"L\":\n id = response[0];\n row = response[1];\n 3 === response.length\n ? streamState.L(id, row, response[2])\n : streamState.L(id, row);\n break;\n case \"m\":\n \"string\" === typeof response\n ? streamState.m(response)\n : streamState.m(response[0], response[1]);\n break;\n case \"X\":\n \"string\" === typeof response\n ? streamState.X(response)\n : streamState.X(response[0], response[1]);\n break;\n case \"S\":\n \"string\" === typeof response\n ? streamState.S(response)\n : streamState.S(\n response[0],\n 0 === response[1] ? void 0 : response[1],\n 3 === response.length ? response[2] : void 0\n );\n break;\n case \"M\":\n \"string\" === typeof response\n ? streamState.M(response)\n : streamState.M(response[0], response[1]);\n }\n break;\n case 69:\n tag = response._chunks;\n var chunk = tag.get(id);\n row = JSON.parse(row);\n var error = resolveErrorDev(response, row);\n error.digest = row.digest;\n chunk\n ? (resolveChunkDebugInfo(response, streamState, chunk),\n triggerErrorOnChunk(response, chunk, error))\n : ((row = new ReactPromise(\"rejected\", null, error)),\n resolveChunkDebugInfo(response, streamState, row),\n tag.set(id, row));\n break;\n case 84:\n tag = response._chunks;\n (chunk = tag.get(id)) && \"pending\" !== chunk.status\n ? chunk.reason.enqueueValue(row)\n : (chunk && releasePendingChunk(response, chunk),\n (row = new ReactPromise(\"fulfilled\", row, null)),\n resolveChunkDebugInfo(response, streamState, row),\n tag.set(id, row));\n break;\n case 78:\n response._timeOrigin = +row - performance.timeOrigin;\n break;\n case 68:\n id = getChunk(response, id);\n \"fulfilled\" !== id.status &&\n \"rejected\" !== id.status &&\n \"halted\" !== id.status &&\n \"blocked\" !== id.status &&\n \"resolved_module\" !== id.status &&\n ((streamState = id._debugChunk),\n (tag = createResolvedModelChunk(response, row)),\n (tag._debugChunk = streamState),\n (id._debugChunk = tag),\n initializeDebugChunk(response, id),\n \"blocked\" !== tag.status ||\n (void 0 !== response._debugChannel &&\n response._debugChannel.hasReadable) ||\n '\"' !== row[0] ||\n \"$\" !== row[1] ||\n ((streamState = row.slice(2, row.length - 1).split(\":\")),\n (streamState = parseInt(streamState[0], 16)),\n \"pending\" === getChunk(response, streamState).status &&\n (id._debugChunk = null)));\n break;\n case 74:\n resolveIOInfo(response, id, row);\n break;\n case 87:\n resolveConsoleEntry(response, row);\n break;\n case 82:\n startReadableStream(response, id, void 0, streamState);\n break;\n case 114:\n startReadableStream(response, id, \"bytes\", streamState);\n break;\n case 88:\n startAsyncIterable(response, id, !1, streamState);\n break;\n case 120:\n startAsyncIterable(response, id, !0, streamState);\n break;\n case 67:\n (id = response._chunks.get(id)) &&\n \"fulfilled\" === id.status &&\n (0 === --response._pendingChunks &&\n (response._weakResponse.response = null),\n id.reason.close(\"\" === row ? '\"$undefined\"' : row));\n break;\n default:\n if (\"\" === row) {\n if (\n ((streamState = response._chunks),\n (row = streamState.get(id)) ||\n streamState.set(id, (row = createPendingChunk(response))),\n \"pending\" === row.status || \"blocked\" === row.status)\n )\n releasePendingChunk(response, row),\n (response = row),\n (response.status = \"halted\"),\n (response.value = null),\n (response.reason = null);\n } else\n (tag = response._chunks),\n (chunk = tag.get(id))\n ? (resolveChunkDebugInfo(response, streamState, chunk),\n resolveModelChunk(response, chunk, row))\n : ((row = createResolvedModelChunk(response, row)),\n resolveChunkDebugInfo(response, streamState, row),\n tag.set(id, row));\n }\n }\n function processBinaryChunk(weakResponse, streamState, chunk) {\n if (void 0 !== weakResponse.weak.deref()) {\n weakResponse = unwrapWeakResponse(weakResponse);\n var i = 0,\n rowState = streamState._rowState,\n rowID = streamState._rowID,\n rowTag = streamState._rowTag,\n rowLength = streamState._rowLength,\n buffer = streamState._buffer,\n chunkLength = chunk.length;\n for (\n incrementChunkDebugInfo(streamState, chunkLength);\n i < chunkLength;\n\n ) {\n var lastIdx = -1;\n switch (rowState) {\n case 0:\n lastIdx = chunk[i++];\n 58 === lastIdx\n ? (rowState = 1)\n : (rowID =\n (rowID << 4) |\n (96 < lastIdx ? lastIdx - 87 : lastIdx - 48));\n continue;\n case 1:\n rowState = chunk[i];\n 84 === rowState ||\n 65 === rowState ||\n 79 === rowState ||\n 111 === rowState ||\n 98 === rowState ||\n 85 === rowState ||\n 83 === rowState ||\n 115 === rowState ||\n 76 === rowState ||\n 108 === rowState ||\n 71 === rowState ||\n 103 === rowState ||\n 77 === rowState ||\n 109 === rowState ||\n 86 === rowState\n ? ((rowTag = rowState), (rowState = 2), i++)\n : (64 < rowState && 91 > rowState) ||\n 35 === rowState ||\n 114 === rowState ||\n 120 === rowState\n ? ((rowTag = rowState), (rowState = 3), i++)\n : ((rowTag = 0), (rowState = 3));\n continue;\n case 2:\n lastIdx = chunk[i++];\n 44 === lastIdx\n ? (rowState = 4)\n : (rowLength =\n (rowLength << 4) |\n (96 < lastIdx ? lastIdx - 87 : lastIdx - 48));\n continue;\n case 3:\n lastIdx = chunk.indexOf(10, i);\n break;\n case 4:\n (lastIdx = i + rowLength),\n lastIdx > chunk.length && (lastIdx = -1);\n }\n var offset = chunk.byteOffset + i;\n if (-1 < lastIdx)\n (rowLength = new Uint8Array(chunk.buffer, offset, lastIdx - i)),\n 98 === rowTag\n ? resolveBuffer(\n weakResponse,\n rowID,\n lastIdx === chunkLength ? rowLength : rowLength.slice(),\n streamState\n )\n : processFullBinaryRow(\n weakResponse,\n streamState,\n rowID,\n rowTag,\n buffer,\n rowLength\n ),\n (i = lastIdx),\n 3 === rowState && i++,\n (rowLength = rowID = rowTag = rowState = 0),\n (buffer.length = 0);\n else {\n chunk = new Uint8Array(chunk.buffer, offset, chunk.byteLength - i);\n 98 === rowTag\n ? ((rowLength -= chunk.byteLength),\n resolveBuffer(weakResponse, rowID, chunk, streamState))\n : (buffer.push(chunk), (rowLength -= chunk.byteLength));\n break;\n }\n }\n streamState._rowState = rowState;\n streamState._rowID = rowID;\n streamState._rowTag = rowTag;\n streamState._rowLength = rowLength;\n }\n }\n function createFromJSONCallback(response) {\n return function (key, value) {\n if (\"string\" === typeof value)\n return parseModelString(response, this, key, value);\n if (\"object\" === typeof value && null !== value) {\n if (value[0] === REACT_ELEMENT_TYPE)\n b: {\n var owner = value[4],\n stack = value[5];\n key = value[6];\n value = {\n $$typeof: REACT_ELEMENT_TYPE,\n type: value[1],\n key: value[2],\n props: value[3],\n _owner: void 0 === owner ? null : owner\n };\n Object.defineProperty(value, \"ref\", {\n enumerable: !1,\n get: nullRefGetter\n });\n value._store = {};\n Object.defineProperty(value._store, \"validated\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: key\n });\n Object.defineProperty(value, \"_debugInfo\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: null\n });\n Object.defineProperty(value, \"_debugStack\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: void 0 === stack ? null : stack\n });\n Object.defineProperty(value, \"_debugTask\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: null\n });\n if (null !== initializingHandler) {\n owner = initializingHandler;\n initializingHandler = owner.parent;\n if (owner.errored) {\n stack = new ReactPromise(\"rejected\", null, owner.reason);\n initializeElement(response, value, null);\n owner = {\n name: getComponentNameFromType(value.type) || \"\",\n owner: value._owner\n };\n owner.debugStack = value._debugStack;\n supportsCreateTask && (owner.debugTask = value._debugTask);\n stack._debugInfo = [owner];\n key = createLazyChunkWrapper(stack, key);\n break b;\n }\n if (0 < owner.deps) {\n stack = new ReactPromise(\"blocked\", null, null);\n owner.value = value;\n owner.chunk = stack;\n key = createLazyChunkWrapper(stack, key);\n value = initializeElement.bind(null, response, value, key);\n stack.then(value, value);\n break b;\n }\n }\n initializeElement(response, value, null);\n key = value;\n }\n else key = value;\n return key;\n }\n return value;\n };\n }\n function close(weakResponse) {\n reportGlobalError(weakResponse, Error(\"Connection closed.\"));\n }\n function createDebugCallbackFromWritableStream(debugWritable) {\n var textEncoder = new TextEncoder(),\n writer = debugWritable.getWriter();\n return function (message) {\n \"\" === message\n ? writer.close()\n : writer\n .write(textEncoder.encode(message + \"\\n\"))\n .catch(console.error);\n };\n }\n function createResponseFromOptions(options) {\n var debugChannel =\n options && void 0 !== options.debugChannel\n ? {\n hasReadable: void 0 !== options.debugChannel.readable,\n callback:\n void 0 !== options.debugChannel.writable\n ? createDebugCallbackFromWritableStream(\n options.debugChannel.writable\n )\n : null\n }\n : void 0;\n return new ResponseInstance(\n null,\n null,\n null,\n options && options.callServer ? options.callServer : void 0,\n void 0,\n void 0,\n options && options.temporaryReferences\n ? options.temporaryReferences\n : void 0,\n options && options.findSourceMapURL ? options.findSourceMapURL : void 0,\n options ? !1 !== options.replayConsoleLogs : !0,\n options && options.environmentName ? options.environmentName : void 0,\n options && null != options.startTime ? options.startTime : void 0,\n options && null != options.endTime ? options.endTime : void 0,\n debugChannel\n )._weakResponse;\n }\n function startReadingFromUniversalStream(\n response$jscomp$0,\n stream,\n onDone\n ) {\n function progress(_ref) {\n var value = _ref.value;\n if (_ref.done) return onDone();\n if (value instanceof ArrayBuffer)\n processBinaryChunk(\n response$jscomp$0,\n streamState,\n new Uint8Array(value)\n );\n else if (\"string\" === typeof value) {\n if (\n ((_ref = streamState), void 0 !== response$jscomp$0.weak.deref())\n ) {\n var response = unwrapWeakResponse(response$jscomp$0),\n i = 0,\n rowState = _ref._rowState,\n rowID = _ref._rowID,\n rowTag = _ref._rowTag,\n rowLength = _ref._rowLength,\n buffer = _ref._buffer,\n chunkLength = value.length;\n for (\n incrementChunkDebugInfo(_ref, chunkLength);\n i < chunkLength;\n\n ) {\n var lastIdx = -1;\n switch (rowState) {\n case 0:\n lastIdx = value.charCodeAt(i++);\n 58 === lastIdx\n ? (rowState = 1)\n : (rowID =\n (rowID << 4) |\n (96 < lastIdx ? lastIdx - 87 : lastIdx - 48));\n continue;\n case 1:\n rowState = value.charCodeAt(i);\n 84 === rowState ||\n 65 === rowState ||\n 79 === rowState ||\n 111 === rowState ||\n 85 === rowState ||\n 83 === rowState ||\n 115 === rowState ||\n 76 === rowState ||\n 108 === rowState ||\n 71 === rowState ||\n 103 === rowState ||\n 77 === rowState ||\n 109 === rowState ||\n 86 === rowState\n ? ((rowTag = rowState), (rowState = 2), i++)\n : (64 < rowState && 91 > rowState) ||\n 114 === rowState ||\n 120 === rowState\n ? ((rowTag = rowState), (rowState = 3), i++)\n : ((rowTag = 0), (rowState = 3));\n continue;\n case 2:\n lastIdx = value.charCodeAt(i++);\n 44 === lastIdx\n ? (rowState = 4)\n : (rowLength =\n (rowLength << 4) |\n (96 < lastIdx ? lastIdx - 87 : lastIdx - 48));\n continue;\n case 3:\n lastIdx = value.indexOf(\"\\n\", i);\n break;\n case 4:\n if (84 !== rowTag)\n throw Error(\n \"Binary RSC chunks cannot be encoded as strings. This is a bug in the wiring of the React streams.\"\n );\n if (rowLength < value.length || value.length > 3 * rowLength)\n throw Error(\n \"String chunks need to be passed in their original shape. Not split into smaller string chunks. This is a bug in the wiring of the React streams.\"\n );\n lastIdx = value.length;\n }\n if (-1 < lastIdx) {\n if (0 < buffer.length)\n throw Error(\n \"String chunks need to be passed in their original shape. Not split into smaller string chunks. This is a bug in the wiring of the React streams.\"\n );\n i = value.slice(i, lastIdx);\n processFullStringRow(response, _ref, rowID, rowTag, i);\n i = lastIdx;\n 3 === rowState && i++;\n rowLength = rowID = rowTag = rowState = 0;\n buffer.length = 0;\n } else if (value.length !== i)\n throw Error(\n \"String chunks need to be passed in their original shape. Not split into smaller string chunks. This is a bug in the wiring of the React streams.\"\n );\n }\n _ref._rowState = rowState;\n _ref._rowID = rowID;\n _ref._rowTag = rowTag;\n _ref._rowLength = rowLength;\n }\n } else processBinaryChunk(response$jscomp$0, streamState, value);\n return reader.read().then(progress).catch(error);\n }\n function error(e) {\n reportGlobalError(response$jscomp$0, e);\n }\n var streamState = createStreamState(response$jscomp$0, stream),\n reader = stream.getReader();\n reader.read().then(progress).catch(error);\n }\n function startReadingFromStream(response, stream, onDone, debugValue) {\n function progress(_ref2) {\n var value = _ref2.value;\n if (_ref2.done) return onDone();\n processBinaryChunk(response, streamState, value);\n return reader.read().then(progress).catch(error);\n }\n function error(e) {\n reportGlobalError(response, e);\n }\n var streamState = createStreamState(response, debugValue),\n reader = stream.getReader();\n reader.read().then(progress).catch(error);\n }\n var React = require(\"react\"),\n ReactDOM = require(\"react-dom\"),\n decoderOptions = { stream: !0 },\n bind = Function.prototype.bind,\n hasOwnProperty = Object.prototype.hasOwnProperty,\n instrumentedChunks = new WeakSet(),\n loadedChunks = new WeakSet(),\n chunkIOInfoCache = new Map(),\n ReactDOMSharedInternals =\n ReactDOM.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\"),\n REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n REACT_VIEW_TRANSITION_TYPE = Symbol.for(\"react.view_transition\"),\n MAYBE_ITERATOR_SYMBOL = Symbol.iterator,\n ASYNC_ITERATOR = Symbol.asyncIterator,\n isArrayImpl = Array.isArray,\n getPrototypeOf = Object.getPrototypeOf,\n jsxPropsParents = new WeakMap(),\n jsxChildrenParents = new WeakMap(),\n CLIENT_REFERENCE_TAG = Symbol.for(\"react.client.reference\"),\n ObjectPrototype = Object.prototype,\n knownServerReferences = new WeakMap(),\n fakeServerFunctionIdx = 0,\n v8FrameRegExp =\n /^ {3} at (?:(.+) \\((.+):(\\d+):(\\d+)\\)|(?:async )?(.+):(\\d+):(\\d+))$/,\n jscSpiderMonkeyFrameRegExp = /(?:(.*)@)?(.*):(\\d+):(\\d+)/,\n REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\"),\n supportsUserTiming =\n \"undefined\" !== typeof console &&\n \"function\" === typeof console.timeStamp &&\n \"undefined\" !== typeof performance &&\n \"function\" === typeof performance.measure,\n trackNames =\n \"Primary Parallel Parallel\\u200b Parallel\\u200b\\u200b Parallel\\u200b\\u200b\\u200b Parallel\\u200b\\u200b\\u200b\\u200b Parallel\\u200b\\u200b\\u200b\\u200b\\u200b Parallel\\u200b\\u200b\\u200b\\u200b\\u200b\\u200b Parallel\\u200b\\u200b\\u200b\\u200b\\u200b\\u200b\\u200b Parallel\\u200b\\u200b\\u200b\\u200b\\u200b\\u200b\\u200b\\u200b\".split(\n \" \"\n ),\n prefix,\n suffix;\n new (\"function\" === typeof WeakMap ? WeakMap : Map)();\n var ReactSharedInteralsServer =\n React.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n ReactSharedInternals =\n React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE ||\n ReactSharedInteralsServer;\n ReactPromise.prototype = Object.create(Promise.prototype);\n ReactPromise.prototype.then = function (resolve, reject) {\n var _this = this;\n switch (this.status) {\n case \"resolved_model\":\n initializeModelChunk(this);\n break;\n case \"resolved_module\":\n initializeModuleChunk(this);\n }\n var resolveCallback = resolve,\n rejectCallback = reject,\n wrapperPromise = new Promise(function (res, rej) {\n resolve = function (value) {\n wrapperPromise._debugInfo = _this._debugInfo;\n res(value);\n };\n reject = function (reason) {\n wrapperPromise._debugInfo = _this._debugInfo;\n rej(reason);\n };\n });\n wrapperPromise.then(resolveCallback, rejectCallback);\n switch (this.status) {\n case \"fulfilled\":\n \"function\" === typeof resolve && resolve(this.value);\n break;\n case \"pending\":\n case \"blocked\":\n \"function\" === typeof resolve &&\n (null === this.value && (this.value = []),\n this.value.push(resolve));\n \"function\" === typeof reject &&\n (null === this.reason && (this.reason = []),\n this.reason.push(reject));\n break;\n case \"halted\":\n break;\n default:\n \"function\" === typeof reject && reject(this.reason);\n }\n };\n var debugChannelRegistry =\n \"function\" === typeof FinalizationRegistry\n ? new FinalizationRegistry(closeDebugChannel)\n : null,\n initializingHandler = null,\n initializingChunk = null,\n mightHaveStaticConstructor = /\\bclass\\b.*\\bstatic\\b/,\n MIN_CHUNK_SIZE = 65536,\n supportsCreateTask = !!console.createTask,\n fakeFunctionCache = new Map(),\n fakeFunctionIdx = 0,\n createFakeJSXCallStack = {\n react_stack_bottom_frame: function (response, stack, environmentName) {\n return buildFakeCallStack(\n response,\n stack,\n environmentName,\n !1,\n fakeJSXCallSite\n )();\n }\n },\n createFakeJSXCallStackInDEV =\n createFakeJSXCallStack.react_stack_bottom_frame.bind(\n createFakeJSXCallStack\n ),\n currentOwnerInDEV = null,\n replayConsoleWithCallStack = {\n react_stack_bottom_frame: function (response, payload) {\n var methodName = payload[0],\n stackTrace = payload[1],\n owner = payload[2],\n env = payload[3];\n payload = payload.slice(4);\n var prevStack = ReactSharedInternals.getCurrentStack;\n ReactSharedInternals.getCurrentStack = getCurrentStackInDEV;\n currentOwnerInDEV = null === owner ? response._debugRootOwner : owner;\n try {\n a: {\n var offset = 0;\n switch (methodName) {\n case \"dir\":\n case \"dirxml\":\n case \"groupEnd\":\n case \"table\":\n var JSCompiler_inline_result = bind.apply(\n console[methodName],\n [console].concat(payload)\n );\n break a;\n case \"assert\":\n offset = 1;\n }\n var newArgs = payload.slice(0);\n \"string\" === typeof newArgs[offset]\n ? newArgs.splice(\n offset,\n 1,\n \"%c%s%c \" + newArgs[offset],\n \"background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px\",\n \" \" + env + \" \",\n \"\"\n )\n : newArgs.splice(\n offset,\n 0,\n \"%c%s%c\",\n \"background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px\",\n \" \" + env + \" \",\n \"\"\n );\n newArgs.unshift(console);\n JSCompiler_inline_result = bind.apply(\n console[methodName],\n newArgs\n );\n }\n var callStack = buildFakeCallStack(\n response,\n stackTrace,\n env,\n !1,\n JSCompiler_inline_result\n );\n if (null != owner) {\n var task = initializeFakeTask(response, owner);\n initializeFakeStack(response, owner);\n if (null !== task) {\n task.run(callStack);\n return;\n }\n }\n var rootTask = getRootTask(response, env);\n null != rootTask ? rootTask.run(callStack) : callStack();\n } finally {\n (currentOwnerInDEV = null),\n (ReactSharedInternals.getCurrentStack = prevStack);\n }\n }\n },\n replayConsoleWithCallStackInDEV =\n replayConsoleWithCallStack.react_stack_bottom_frame.bind(\n replayConsoleWithCallStack\n );\n (function (internals) {\n if (\"undefined\" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) return !1;\n var hook = __REACT_DEVTOOLS_GLOBAL_HOOK__;\n if (hook.isDisabled || !hook.supportsFlight) return !0;\n try {\n hook.inject(internals);\n } catch (err) {\n console.error(\"React instrumentation encountered an error: %o.\", err);\n }\n return hook.checkDCE ? !0 : !1;\n })({\n bundleType: 1,\n version: \"19.3.0-canary-f93b9fd4-20251217\",\n rendererPackageName: \"react-server-dom-turbopack\",\n currentDispatcherRef: ReactSharedInternals,\n reconcilerVersion: \"19.3.0-canary-f93b9fd4-20251217\",\n getCurrentComponentInfo: function () {\n return currentOwnerInDEV;\n }\n });\n exports.createFromFetch = function (promiseForResponse, options) {\n var response = createResponseFromOptions(options);\n promiseForResponse.then(\n function (r) {\n if (\n options &&\n options.debugChannel &&\n options.debugChannel.readable\n ) {\n var streamDoneCount = 0,\n handleDone = function () {\n 2 === ++streamDoneCount && close(response);\n };\n startReadingFromUniversalStream(\n response,\n options.debugChannel.readable,\n handleDone\n );\n startReadingFromStream(response, r.body, handleDone, r);\n } else\n startReadingFromStream(\n response,\n r.body,\n close.bind(null, response),\n r\n );\n },\n function (e) {\n reportGlobalError(response, e);\n }\n );\n return getRoot(response);\n };\n exports.createFromReadableStream = function (stream, options) {\n var response = createResponseFromOptions(options);\n if (options && options.debugChannel && options.debugChannel.readable) {\n var streamDoneCount = 0,\n handleDone = function () {\n 2 === ++streamDoneCount && close(response);\n };\n startReadingFromUniversalStream(\n response,\n options.debugChannel.readable,\n handleDone\n );\n startReadingFromStream(response, stream, handleDone, stream);\n } else\n startReadingFromStream(\n response,\n stream,\n close.bind(null, response),\n stream\n );\n return getRoot(response);\n };\n exports.createServerReference = function (\n id,\n callServer,\n encodeFormAction,\n findSourceMapURL,\n functionName\n ) {\n function action() {\n var args = Array.prototype.slice.call(arguments);\n return callServer(id, args);\n }\n var location = parseStackLocation(Error(\"react-stack-top-frame\"));\n if (null !== location) {\n encodeFormAction = location[1];\n var line = location[2];\n location = location[3];\n findSourceMapURL =\n null == findSourceMapURL\n ? null\n : findSourceMapURL(encodeFormAction, \"Client\");\n action = createFakeServerFunction(\n functionName || \"\",\n encodeFormAction,\n findSourceMapURL,\n line,\n location,\n \"Client\",\n action\n );\n }\n registerBoundServerReference(action, id, null);\n return action;\n };\n exports.createTemporaryReferenceSet = function () {\n return new Map();\n };\n exports.encodeReply = function (value, options) {\n return new Promise(function (resolve, reject) {\n var abort = processReply(\n value,\n \"\",\n options && options.temporaryReferences\n ? options.temporaryReferences\n : void 0,\n resolve,\n reject\n );\n if (options && options.signal) {\n var signal = options.signal;\n if (signal.aborted) abort(signal.reason);\n else {\n var listener = function () {\n abort(signal.reason);\n signal.removeEventListener(\"abort\", listener);\n };\n signal.addEventListener(\"abort\", listener);\n }\n }\n });\n };\n exports.registerServerReference = function (reference, id) {\n registerBoundServerReference(reference, id, null);\n return reference;\n };\n })();\n"],"names":[],"mappings":"AAWiB;AAXjB;;;;;;;;CAQC,GAED;AACA,oEACE,AAAC;IACC,SAAS,uBAAuB,aAAa,EAAE,QAAQ;QACrD,IAAI,eAAe;YACjB,IAAI,gBAAgB,aAAa,CAAC,QAAQ,CAAC,EAAE,CAAC;YAC9C,IAAK,gBAAgB,iBAAiB,aAAa,CAAC,QAAQ,CAAC,EAAE,CAAC,EAC9D,gBAAgB,cAAc,IAAI;iBAC/B;gBACH,gBAAgB,iBAAiB,aAAa,CAAC,IAAI;gBACnD,IAAI,CAAC,eACH,MAAM,MACJ,gCACE,QAAQ,CAAC,EAAE,GACX;gBAEN,gBAAgB,QAAQ,CAAC,EAAE;YAC7B;YACA,OAAO,MAAM,SAAS,MAAM,GACxB;gBAAC,cAAc,EAAE;gBAAE,cAAc,MAAM;gBAAE;gBAAe;aAAE,GAC1D;gBAAC,cAAc,EAAE;gBAAE,cAAc,MAAM;gBAAE;aAAc;QAC7D;QACA,OAAO;IACT;IACA,SAAS,uBAAuB,aAAa,EAAE,EAAE;QAC/C,IAAI,OAAO,IACT,qBAAqB,aAAa,CAAC,GAAG;QACxC,IAAI,oBAAoB,OAAO,mBAAmB,IAAI;aACjD;YACH,IAAI,MAAM,GAAG,WAAW,CAAC;YACzB,CAAC,MAAM,OACL,CAAC,AAAC,OAAO,GAAG,KAAK,CAAC,MAAM,IACvB,qBAAqB,aAAa,CAAC,GAAG,KAAK,CAAC,GAAG,KAAK,AAAC;YACxD,IAAI,CAAC,oBACH,MAAM,MACJ,gCACE,KACA;QAER;QACA,OAAO,mBAAmB,KAAK,GAC3B;YAAC,mBAAmB,EAAE;YAAE,mBAAmB,MAAM;YAAE;YAAM;SAAE,GAC3D;YAAC,mBAAmB,EAAE;YAAE,mB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AAQ;YACN,KAAK;gBACH,cACE,UACA,IACA,YAAY,QAAQ,OAAO,MAAM,EACjC;gBAEF;YACF,KAAK;gBACH,kBACE,UACA,IACA,QACA,OACA,WACA,GACA;gBAEF;YACF,KAAK;gBACH,cACE,UACA,IACA,MAAM,OAAO,MAAM,GAAG,QAAQ,YAAY,QAAQ,QAClD;gBAEF;YACF,KAAK;gBACH,kBACE,UACA,IACA,QACA,OACA,mBACA,GACA;gBAEF;YACF,KAAK;gBACH,kBACE,UACA,IACA,QACA,OACA,YACA,GACA;gBAEF;YACF,KAAK;gBACH,kBACE,UACA,IACA,QACA,OACA,aACA,GACA;gBAEF;YACF,KAAK;gBACH,kBACE,UACA,IACA,QACA,OACA,YACA,GACA;gBAEF;YACF,KAAK;gBACH,kBACE,UACA,IACA,QACA,OACA,aACA,GACA;gBAEF;YACF,KAAK;gBACH,kBACE,UACA,IACA,QACA,OACA,cACA,GACA;gBAEF;YACF,KAAK;gBACH,kBACE,UACA,IACA,QACA,OACA,cACA,GACA;gBAEF;YACF,KAAK;gBACH,kBACE,UACA,IACA,QACA,OACA,eACA,GACA;gBAEF;YACF,KAAK;gBACH,kBACE,UACA,IACA,QACA,OACA,gBACA,GACA;gBAEF;YACF,KAAK;gBACH,kBACE,UACA,IACA,QACA,OACA,UACA,GACA;gBAEF;QACJ;QACA,IACE,IAAI,gBAAgB,SAAS,cAAc,EAAE,MAAM,IAAI,IAAI,GAC3D,IAAI,OAAO,MAAM,EACjB,IAEA,OAAO,cAAc,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE;QACzC,OAAO,cAAc,MAAM,CAAC;QAC5B,qBAAqB,UAAU,aAAa,IAAI,KAAK;IACvD;IACA,SAAS,qBAAqB,QAAQ,EAAE,WAAW,EAAE,EAAE,EAAE,GAAG,EAAE,GAAG;QAC/D,OAAQ;YACN,KAAK;gBACH,cAAc,UAAU,IAAI,KAAK;gBACjC;YACF,KAAK;gBACH,KAAK,GAAG,CAAC,EAAE;gBACX,cAAc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AAG,SAAU,SAAS,EAAE,EAAE;QACvD,6BAA6B,WAAW,IAAI;QAC5C,OAAO;IACT;AACF","ignoreList":[0]}}, - {"offset": {"line": 2811, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/dist/compiled/react-server-dom-turbopack/client.browser.js"],"sourcesContent":["'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-server-dom-turbopack-client.browser.production.js');\n} else {\n module.exports = require('./cjs/react-server-dom-turbopack-client.browser.development.js');\n}\n"],"names":[],"mappings":"AAEI;AAFJ;AAEA;;KAEO;IACL,OAAO,OAAO;AAChB","ignoreList":[0]}}, - {"offset": {"line": 2822, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/dist/compiled/react-server-dom-turbopack/client.js"],"sourcesContent":["'use strict';\n\nmodule.exports = require('./client.browser');\n"],"names":[],"mappings":"AAEA,OAAO,OAAO","ignoreList":[0]}}] -} \ No newline at end of file diff --git a/.next/dev/static/chunks/node_modules_next_dist_f3530cac._.js b/.next/dev/static/chunks/node_modules_next_dist_f3530cac._.js deleted file mode 100644 index ef658b0..0000000 --- a/.next/dev/static/chunks/node_modules_next_dist_f3530cac._.js +++ /dev/null @@ -1,4976 +0,0 @@ -(globalThis.TURBOPACK || (globalThis.TURBOPACK = [])).push([typeof document === "object" ? document.currentScript : undefined, -"[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var _global_process, _global_process1; -module.exports = ((_global_process = /*TURBOPACK member replacement*/ __turbopack_context__.g.process) == null ? void 0 : _global_process.env) && typeof ((_global_process1 = /*TURBOPACK member replacement*/ __turbopack_context__.g.process) == null ? void 0 : _global_process1.env) === 'object' ? /*TURBOPACK member replacement*/ __turbopack_context__.g.process : __turbopack_context__.r("[project]/node_modules/next/dist/compiled/process/browser.js [app-client] (ecmascript)"); //# sourceMappingURL=process.js.map -}), -"[project]/node_modules/next/dist/build/polyfills/polyfill-module.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { - -"trimStart" in String.prototype || (String.prototype.trimStart = String.prototype.trimLeft), "trimEnd" in String.prototype || (String.prototype.trimEnd = String.prototype.trimRight), "description" in Symbol.prototype || Object.defineProperty(Symbol.prototype, "description", { - configurable: !0, - get: function() { - var t = /\((.*)\)/.exec(this.toString()); - return t ? t[1] : void 0; - } -}), Array.prototype.flat || (Array.prototype.flat = function(t, r) { - return r = this.concat.apply([], this), t > 1 && r.some(Array.isArray) ? r.flat(t - 1) : r; -}, Array.prototype.flatMap = function(t, r) { - return this.map(t, r).flat(); -}), Promise.prototype.finally || (Promise.prototype.finally = function(t) { - if ("function" != typeof t) return this.then(t, t); - var r = this.constructor || Promise; - return this.then(function(n) { - return r.resolve(t()).then(function() { - return n; - }); - }, function(n) { - return r.resolve(t()).then(function() { - throw n; - }); - }); -}), Object.fromEntries || (Object.fromEntries = function(t) { - return Array.from(t).reduce(function(t, r) { - return t[r[0]] = r[1], t; - }, {}); -}), Array.prototype.at || (Array.prototype.at = function(t) { - var r = Math.trunc(t) || 0; - if (r < 0 && (r += this.length), !(r < 0 || r >= this.length)) return this[r]; -}), Object.hasOwn || (Object.hasOwn = function(t, r) { - if (null == t) throw new TypeError("Cannot convert undefined or null to object"); - return Object.prototype.hasOwnProperty.call(Object(t), r); -}), "canParse" in URL || (URL.canParse = function(t, r) { - try { - return !!new URL(t, r); - } catch (t) { - return !1; - } -}); -}), -"[project]/node_modules/next/dist/shared/lib/invariant-error.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "InvariantError", { - enumerable: true, - get: function() { - return InvariantError; - } -}); -class InvariantError extends Error { - constructor(message, options){ - super(`Invariant: ${message.endsWith('.') ? message : message + '.'} This is a bug in Next.js.`, options); - this.name = 'InvariantError'; - } -} //# sourceMappingURL=invariant-error.js.map -}), -"[project]/node_modules/next/dist/shared/lib/is-plain-object.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - getObjectClassLabel: null, - isPlainObject: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - getObjectClassLabel: function() { - return getObjectClassLabel; - }, - isPlainObject: function() { - return isPlainObject; - } -}); -function getObjectClassLabel(value) { - return Object.prototype.toString.call(value); -} -function isPlainObject(value) { - if (getObjectClassLabel(value) !== '[object Object]') { - return false; - } - const prototype = Object.getPrototypeOf(value); - /** - * this used to be previously: - * - * `return prototype === null || prototype === Object.prototype` - * - * but Edge Runtime expose Object from vm, being that kind of type-checking wrongly fail. - * - * It was changed to the current implementation since it's resilient to serialization. - */ return prototype === null || prototype.hasOwnProperty('isPrototypeOf'); -} //# sourceMappingURL=is-plain-object.js.map -}), -"[project]/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -// This has to be a shared module which is shared between client component error boundary and dynamic component -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - BailoutToCSRError: null, - isBailoutToCSRError: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - BailoutToCSRError: function() { - return BailoutToCSRError; - }, - isBailoutToCSRError: function() { - return isBailoutToCSRError; - } -}); -const BAILOUT_TO_CSR = 'BAILOUT_TO_CLIENT_SIDE_RENDERING'; -class BailoutToCSRError extends Error { - constructor(reason){ - super(`Bail out to client-side rendering: ${reason}`), this.reason = reason, this.digest = BAILOUT_TO_CSR; - } -} -function isBailoutToCSRError(err) { - if (typeof err !== 'object' || err === null || !('digest' in err)) { - return false; - } - return err.digest === BAILOUT_TO_CSR; -} //# sourceMappingURL=bailout-to-csr.js.map -}), -"[project]/node_modules/next/dist/shared/lib/error-source.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - decorateServerError: null, - getErrorSource: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - decorateServerError: function() { - return decorateServerError; - }, - getErrorSource: function() { - return getErrorSource; - } -}); -const symbolError = Symbol.for('NextjsError'); -function getErrorSource(error) { - return error[symbolError] || null; -} -function decorateServerError(error, type) { - Object.defineProperty(error, symbolError, { - writable: false, - enumerable: false, - configurable: false, - value: type - }); -} //# sourceMappingURL=error-source.js.map -}), -"[project]/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "HeadManagerContext", { - enumerable: true, - get: function() { - return HeadManagerContext; - } -}); -const _interop_require_default = __turbopack_context__.r("[project]/node_modules/@swc/helpers/cjs/_interop_require_default.cjs [app-client] (ecmascript)"); -const _react = /*#__PURE__*/ _interop_require_default._(__turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)")); -const HeadManagerContext = _react.default.createContext({}); -if ("TURBOPACK compile-time truthy", 1) { - HeadManagerContext.displayName = 'HeadManagerContext'; -} //# sourceMappingURL=head-manager-context.shared-runtime.js.map -}), -"[project]/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -'use client'; -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - NavigationPromisesContext: null, - PathParamsContext: null, - PathnameContext: null, - ReadonlyURLSearchParams: null, - SearchParamsContext: null, - createDevToolsInstrumentedPromise: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - NavigationPromisesContext: function() { - return NavigationPromisesContext; - }, - PathParamsContext: function() { - return PathParamsContext; - }, - PathnameContext: function() { - return PathnameContext; - }, - ReadonlyURLSearchParams: function() { - return _readonlyurlsearchparams.ReadonlyURLSearchParams; - }, - SearchParamsContext: function() { - return SearchParamsContext; - }, - createDevToolsInstrumentedPromise: function() { - return createDevToolsInstrumentedPromise; - } -}); -const _react = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -const _readonlyurlsearchparams = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/readonly-url-search-params.js [app-client] (ecmascript)"); -const SearchParamsContext = (0, _react.createContext)(null); -const PathnameContext = (0, _react.createContext)(null); -const PathParamsContext = (0, _react.createContext)(null); -const NavigationPromisesContext = (0, _react.createContext)(null); -function createDevToolsInstrumentedPromise(displayName, value) { - const promise = Promise.resolve(value); - promise.status = 'fulfilled'; - promise.value = value; - promise.displayName = `${displayName} (SSR)`; - return promise; -} -if ("TURBOPACK compile-time truthy", 1) { - SearchParamsContext.displayName = 'SearchParamsContext'; - PathnameContext.displayName = 'PathnameContext'; - PathParamsContext.displayName = 'PathParamsContext'; - NavigationPromisesContext.displayName = 'NavigationPromisesContext'; -} //# sourceMappingURL=hooks-client-context.shared-runtime.js.map -}), -"[project]/node_modules/next/dist/shared/lib/router/utils/html-bots.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -// This regex contains the bots that we need to do a blocking render for and can't safely stream the response -// due to how they parse the DOM. For example, they might explicitly check for metadata in the `head` tag, so we can't stream metadata tags after the `head` was sent. -// Note: The pattern [\w-]+-Google captures all Google crawlers with "-Google" suffix (e.g., Mediapartners-Google, AdsBot-Google, Storebot-Google) -// as well as crawlers starting with "Google-" (e.g., Google-PageRenderer, Google-InspectionTool) -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "HTML_LIMITED_BOT_UA_RE", { - enumerable: true, - get: function() { - return HTML_LIMITED_BOT_UA_RE; - } -}); -const HTML_LIMITED_BOT_UA_RE = /[\w-]+-Google|Google-[\w-]+|Chrome-Lighthouse|Slurp|DuckDuckBot|baiduspider|yandex|sogou|bitlybot|tumblr|vkShare|quora link preview|redditbot|ia_archiver|Bingbot|BingPreview|applebot|facebookexternalhit|facebookcatalog|Twitterbot|LinkedInBot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|Yeti|googleweblight/i; //# sourceMappingURL=html-bots.js.map -}), -"[project]/node_modules/next/dist/shared/lib/router/utils/is-bot.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - HTML_LIMITED_BOT_UA_RE: null, - HTML_LIMITED_BOT_UA_RE_STRING: null, - getBotType: null, - isBot: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - HTML_LIMITED_BOT_UA_RE: function() { - return _htmlbots.HTML_LIMITED_BOT_UA_RE; - }, - HTML_LIMITED_BOT_UA_RE_STRING: function() { - return HTML_LIMITED_BOT_UA_RE_STRING; - }, - getBotType: function() { - return getBotType; - }, - isBot: function() { - return isBot; - } -}); -const _htmlbots = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/router/utils/html-bots.js [app-client] (ecmascript)"); -// Bot crawler that will spin up a headless browser and execute JS. -// Only the main Googlebot search crawler executes JavaScript, not other Google crawlers. -// x-ref: https://developers.google.com/search/docs/crawling-indexing/google-common-crawlers -// This regex specifically matches "Googlebot" but NOT "Mediapartners-Google", "AdsBot-Google", etc. -const HEADLESS_BROWSER_BOT_UA_RE = /Googlebot(?!-)|Googlebot$/i; -const HTML_LIMITED_BOT_UA_RE_STRING = _htmlbots.HTML_LIMITED_BOT_UA_RE.source; -function isDomBotUA(userAgent) { - return HEADLESS_BROWSER_BOT_UA_RE.test(userAgent); -} -function isHtmlLimitedBotUA(userAgent) { - return _htmlbots.HTML_LIMITED_BOT_UA_RE.test(userAgent); -} -function isBot(userAgent) { - return isDomBotUA(userAgent) || isHtmlLimitedBotUA(userAgent); -} -function getBotType(userAgent) { - if (isDomBotUA(userAgent)) { - return 'dom'; - } - if (isHtmlLimitedBotUA(userAgent)) { - return 'html'; - } - return undefined; -} //# sourceMappingURL=is-bot.js.map -}), -"[project]/node_modules/next/dist/shared/lib/is-thenable.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -/** - * Check to see if a value is Thenable. - * - * @param promise the maybe-thenable value - * @returns true if the value is thenable - */ Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "isThenable", { - enumerable: true, - get: function() { - return isThenable; - } -}); -function isThenable(promise) { - return promise !== null && typeof promise === 'object' && 'then' in promise && typeof promise.then === 'function'; -} //# sourceMappingURL=is-thenable.js.map -}), -"[project]/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -/** - * For a given page path, this function ensures that there is a leading slash. - * If there is not a leading slash, one is added, otherwise it is noop. - */ Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "ensureLeadingSlash", { - enumerable: true, - get: function() { - return ensureLeadingSlash; - } -}); -function ensureLeadingSlash(path) { - return path.startsWith('/') ? path : `/${path}`; -} //# sourceMappingURL=ensure-leading-slash.js.map -}), -"[project]/node_modules/next/dist/shared/lib/segment.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - DEFAULT_SEGMENT_KEY: null, - NOT_FOUND_SEGMENT_KEY: null, - PAGE_SEGMENT_KEY: null, - addSearchParamsIfPageSegment: null, - computeSelectedLayoutSegment: null, - getSegmentValue: null, - getSelectedLayoutSegmentPath: null, - isGroupSegment: null, - isParallelRouteSegment: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - DEFAULT_SEGMENT_KEY: function() { - return DEFAULT_SEGMENT_KEY; - }, - NOT_FOUND_SEGMENT_KEY: function() { - return NOT_FOUND_SEGMENT_KEY; - }, - PAGE_SEGMENT_KEY: function() { - return PAGE_SEGMENT_KEY; - }, - addSearchParamsIfPageSegment: function() { - return addSearchParamsIfPageSegment; - }, - computeSelectedLayoutSegment: function() { - return computeSelectedLayoutSegment; - }, - getSegmentValue: function() { - return getSegmentValue; - }, - getSelectedLayoutSegmentPath: function() { - return getSelectedLayoutSegmentPath; - }, - isGroupSegment: function() { - return isGroupSegment; - }, - isParallelRouteSegment: function() { - return isParallelRouteSegment; - } -}); -function getSegmentValue(segment) { - return Array.isArray(segment) ? segment[1] : segment; -} -function isGroupSegment(segment) { - // Use array[0] for performant purpose - return segment[0] === '(' && segment.endsWith(')'); -} -function isParallelRouteSegment(segment) { - return segment.startsWith('@') && segment !== '@children'; -} -function addSearchParamsIfPageSegment(segment, searchParams) { - const isPageSegment = segment.includes(PAGE_SEGMENT_KEY); - if (isPageSegment) { - const stringifiedQuery = JSON.stringify(searchParams); - return stringifiedQuery !== '{}' ? PAGE_SEGMENT_KEY + '?' + stringifiedQuery : PAGE_SEGMENT_KEY; - } - return segment; -} -function computeSelectedLayoutSegment(segments, parallelRouteKey) { - if (!segments || segments.length === 0) { - return null; - } - // For 'children', use first segment; for other parallel routes, use last segment - const rawSegment = parallelRouteKey === 'children' ? segments[0] : segments[segments.length - 1]; - // If the default slot is showing, return null since it's not technically "selected" (it's a fallback) - // Returning an internal value like `__DEFAULT__` would be confusing - return rawSegment === DEFAULT_SEGMENT_KEY ? null : rawSegment; -} -function getSelectedLayoutSegmentPath(tree, parallelRouteKey, first = true, segmentPath = []) { - let node; - if (first) { - // Use the provided parallel route key on the first parallel route - node = tree[1][parallelRouteKey]; - } else { - // After first parallel route prefer children, if there's no children pick the first parallel route. - const parallelRoutes = tree[1]; - node = parallelRoutes.children ?? Object.values(parallelRoutes)[0]; - } - if (!node) return segmentPath; - const segment = node[0]; - let segmentValue = getSegmentValue(segment); - if (!segmentValue || segmentValue.startsWith(PAGE_SEGMENT_KEY)) { - return segmentPath; - } - segmentPath.push(segmentValue); - return getSelectedLayoutSegmentPath(node, parallelRouteKey, false, segmentPath); -} -const PAGE_SEGMENT_KEY = '__PAGE__'; -const DEFAULT_SEGMENT_KEY = '__DEFAULT__'; -const NOT_FOUND_SEGMENT_KEY = '/_not-found'; //# sourceMappingURL=segment.js.map -}), -"[project]/node_modules/next/dist/shared/lib/router/utils/app-paths.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - normalizeAppPath: null, - normalizeRscURL: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - normalizeAppPath: function() { - return normalizeAppPath; - }, - normalizeRscURL: function() { - return normalizeRscURL; - } -}); -const _ensureleadingslash = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js [app-client] (ecmascript)"); -const _segment = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/segment.js [app-client] (ecmascript)"); -function normalizeAppPath(route) { - return (0, _ensureleadingslash.ensureLeadingSlash)(route.split('/').reduce((pathname, segment, index, segments)=>{ - // Empty segments are ignored. - if (!segment) { - return pathname; - } - // Groups are ignored. - if ((0, _segment.isGroupSegment)(segment)) { - return pathname; - } - // Parallel segments are ignored. - if (segment[0] === '@') { - return pathname; - } - // The last segment (if it's a leaf) should be ignored. - if ((segment === 'page' || segment === 'route') && index === segments.length - 1) { - return pathname; - } - return `${pathname}/${segment}`; - }, '')); -} -function normalizeRscURL(url) { - return url.replace(/\.rsc($|\?)/, '$1'); -} //# sourceMappingURL=app-paths.js.map -}), -"[project]/node_modules/next/dist/shared/lib/router/utils/interception-routes.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - INTERCEPTION_ROUTE_MARKERS: null, - extractInterceptionRouteInformation: null, - isInterceptionRouteAppPath: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - INTERCEPTION_ROUTE_MARKERS: function() { - return INTERCEPTION_ROUTE_MARKERS; - }, - extractInterceptionRouteInformation: function() { - return extractInterceptionRouteInformation; - }, - isInterceptionRouteAppPath: function() { - return isInterceptionRouteAppPath; - } -}); -const _apppaths = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/router/utils/app-paths.js [app-client] (ecmascript)"); -const INTERCEPTION_ROUTE_MARKERS = [ - '(..)(..)', - '(.)', - '(..)', - '(...)' -]; -function isInterceptionRouteAppPath(path) { - // TODO-APP: add more serious validation - return path.split('/').find((segment)=>INTERCEPTION_ROUTE_MARKERS.find((m)=>segment.startsWith(m))) !== undefined; -} -function extractInterceptionRouteInformation(path) { - let interceptingRoute; - let marker; - let interceptedRoute; - for (const segment of path.split('/')){ - marker = INTERCEPTION_ROUTE_MARKERS.find((m)=>segment.startsWith(m)); - if (marker) { - ; - [interceptingRoute, interceptedRoute] = path.split(marker, 2); - break; - } - } - if (!interceptingRoute || !marker || !interceptedRoute) { - throw Object.defineProperty(new Error(`Invalid interception route: ${path}. Must be in the format /<intercepting route>/(..|...|..)(..)/<intercepted route>`), "__NEXT_ERROR_CODE", { - value: "E269", - enumerable: false, - configurable: true - }); - } - interceptingRoute = (0, _apppaths.normalizeAppPath)(interceptingRoute) // normalize the path, e.g. /(blog)/feed -> /feed - ; - switch(marker){ - case '(.)': - // (.) indicates that we should match with sibling routes, so we just need to append the intercepted route to the intercepting route - if (interceptingRoute === '/') { - interceptedRoute = `/${interceptedRoute}`; - } else { - interceptedRoute = interceptingRoute + '/' + interceptedRoute; - } - break; - case '(..)': - // (..) indicates that we should match at one level up, so we need to remove the last segment of the intercepting route - if (interceptingRoute === '/') { - throw Object.defineProperty(new Error(`Invalid interception route: ${path}. Cannot use (..) marker at the root level, use (.) instead.`), "__NEXT_ERROR_CODE", { - value: "E207", - enumerable: false, - configurable: true - }); - } - interceptedRoute = interceptingRoute.split('/').slice(0, -1).concat(interceptedRoute).join('/'); - break; - case '(...)': - // (...) will match the route segment in the root directory, so we need to use the root directory to prepend the intercepted route - interceptedRoute = '/' + interceptedRoute; - break; - case '(..)(..)': - // (..)(..) indicates that we should match at two levels up, so we need to remove the last two segments of the intercepting route - const splitInterceptingRoute = interceptingRoute.split('/'); - if (splitInterceptingRoute.length <= 2) { - throw Object.defineProperty(new Error(`Invalid interception route: ${path}. Cannot use (..)(..) marker at the root level or one level up.`), "__NEXT_ERROR_CODE", { - value: "E486", - enumerable: false, - configurable: true - }); - } - interceptedRoute = splitInterceptingRoute.slice(0, -2).concat(interceptedRoute).join('/'); - break; - default: - throw Object.defineProperty(new Error('Invariant: unexpected marker'), "__NEXT_ERROR_CODE", { - value: "E112", - enumerable: false, - configurable: true - }); - } - return { - interceptingRoute, - interceptedRoute - }; -} //# sourceMappingURL=interception-routes.js.map -}), -"[project]/node_modules/next/dist/shared/lib/segment-cache/segment-value-encoding.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - HEAD_REQUEST_KEY: null, - ROOT_SEGMENT_REQUEST_KEY: null, - appendSegmentRequestKeyPart: null, - convertSegmentPathToStaticExportFilename: null, - createSegmentRequestKeyPart: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - HEAD_REQUEST_KEY: function() { - return HEAD_REQUEST_KEY; - }, - ROOT_SEGMENT_REQUEST_KEY: function() { - return ROOT_SEGMENT_REQUEST_KEY; - }, - appendSegmentRequestKeyPart: function() { - return appendSegmentRequestKeyPart; - }, - convertSegmentPathToStaticExportFilename: function() { - return convertSegmentPathToStaticExportFilename; - }, - createSegmentRequestKeyPart: function() { - return createSegmentRequestKeyPart; - } -}); -const _segment = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/segment.js [app-client] (ecmascript)"); -const ROOT_SEGMENT_REQUEST_KEY = ''; -const HEAD_REQUEST_KEY = '/_head'; -function createSegmentRequestKeyPart(segment) { - if (typeof segment === 'string') { - if (segment.startsWith(_segment.PAGE_SEGMENT_KEY)) { - // The Flight Router State type sometimes includes the search params in - // the page segment. However, the Segment Cache tracks this as a separate - // key. So, we strip the search params here, and then add them back when - // the cache entry is turned back into a FlightRouterState. This is an - // unfortunate consequence of the FlightRouteState being used both as a - // transport type and as a cache key; we'll address this once more of the - // Segment Cache implementation has settled. - // TODO: We should hoist the search params out of the FlightRouterState - // type entirely, This is our plan for dynamic route params, too. - return _segment.PAGE_SEGMENT_KEY; - } - const safeName = // But params typically don't include the leading slash. We should use - // a different encoding to avoid this special case. - segment === '/_not-found' ? '_not-found' : encodeToFilesystemAndURLSafeString(segment); - // Since this is not a dynamic segment, it's fully encoded. It does not - // need to be "hydrated" with a param value. - return safeName; - } - const name = segment[0]; - const paramType = segment[2]; - const safeName = encodeToFilesystemAndURLSafeString(name); - const encodedName = '$' + paramType + '$' + safeName; - return encodedName; -} -function appendSegmentRequestKeyPart(parentRequestKey, parallelRouteKey, childRequestKeyPart) { - // Aside from being filesystem safe, segment keys are also designed so that - // each segment and parallel route creates its own subdirectory. Roughly in - // the same shape as the source app directory. This is mostly just for easier - // debugging (you can open up the build folder and navigate the output); if - // we wanted to do we could just use a flat structure. - // Omit the parallel route key for children, since this is the most - // common case. Saves some bytes (and it's what the app directory does). - const slotKey = parallelRouteKey === 'children' ? childRequestKeyPart : `@${encodeToFilesystemAndURLSafeString(parallelRouteKey)}/${childRequestKeyPart}`; - return parentRequestKey + '/' + slotKey; -} -// Define a regex pattern to match the most common characters found in a route -// param. It excludes anything that might not be cross-platform filesystem -// compatible, like |. It does not need to be precise because the fallback is to -// just base64url-encode the whole parameter, which is fine; we just don't do it -// by default for compactness, and for easier debugging. -const simpleParamValueRegex = /^[a-zA-Z0-9\-_@]+$/; -function encodeToFilesystemAndURLSafeString(value) { - if (simpleParamValueRegex.test(value)) { - return value; - } - // If there are any unsafe characters, base64url-encode the entire value. - // We also add a ! prefix so it doesn't collide with the simple case. - const base64url = btoa(value).replace(/\+/g, '-') // Replace '+' with '-' - .replace(/\//g, '_') // Replace '/' with '_' - .replace(/=+$/, '') // Remove trailing '=' - ; - return '!' + base64url; -} -function convertSegmentPathToStaticExportFilename(segmentPath) { - return `__next${segmentPath.replace(/\//g, '.')}.txt`; -} //# sourceMappingURL=segment-value-encoding.js.map -}), -"[project]/node_modules/next/dist/shared/lib/hash.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -// http://www.cse.yorku.ca/~oz/hash.html -// More specifically, 32-bit hash via djbxor -// (ref: https://gist.github.com/eplawless/52813b1d8ad9af510d85?permalink_comment_id=3367765#gistcomment-3367765) -// This is due to number type differences between rust for turbopack to js number types, -// where rust does not have easy way to repreesnt js's 53-bit float number type for the matching -// overflow behavior. This is more `correct` in terms of having canonical hash across different runtime / implementation -// as can gaurantee determinstic output from 32bit hash. -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - djb2Hash: null, - hexHash: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - djb2Hash: function() { - return djb2Hash; - }, - hexHash: function() { - return hexHash; - } -}); -function djb2Hash(str) { - let hash = 5381; - for(let i = 0; i < str.length; i++){ - const char = str.charCodeAt(i); - hash = (hash << 5) + hash + char & 0xffffffff; - } - return hash >>> 0; -} -function hexHash(str) { - return djb2Hash(str).toString(36).slice(0, 5); -} //# sourceMappingURL=hash.js.map -}), -"[project]/node_modules/next/dist/shared/lib/router/utils/cache-busting-search-param.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "computeCacheBustingSearchParam", { - enumerable: true, - get: function() { - return computeCacheBustingSearchParam; - } -}); -const _hash = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/hash.js [app-client] (ecmascript)"); -function computeCacheBustingSearchParam(prefetchHeader, segmentPrefetchHeader, stateTreeHeader, nextUrlHeader) { - if ((prefetchHeader === undefined || prefetchHeader === '0') && segmentPrefetchHeader === undefined && stateTreeHeader === undefined && nextUrlHeader === undefined) { - return ''; - } - return (0, _hash.hexHash)([ - prefetchHeader || '0', - segmentPrefetchHeader || '0', - stateTreeHeader || '0', - nextUrlHeader || '0' - ].join(',')); -} //# sourceMappingURL=cache-busting-search-param.js.map -}), -"[project]/node_modules/next/dist/shared/lib/deployment-id.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -// This could also be a variable instead of a function, but some unit tests want to change the ID at -// runtime. Even though that would never happen in a real deployment. -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - getDeploymentId: null, - getDeploymentIdQueryOrEmptyString: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - getDeploymentId: function() { - return getDeploymentId; - }, - getDeploymentIdQueryOrEmptyString: function() { - return getDeploymentIdQueryOrEmptyString; - } -}); -function getDeploymentId() { - return "TURBOPACK compile-time value", false; -} -function getDeploymentIdQueryOrEmptyString() { - let deploymentId = getDeploymentId(); - if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable - ; - return ''; -} //# sourceMappingURL=deployment-id.js.map -}), -"[project]/node_modules/next/dist/shared/lib/app-router-types.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -/** - * App Router types - Client-safe types for the Next.js App Router - * - * This file contains type definitions that can be safely imported - * by both client-side and server-side code without circular dependencies. - */ Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "HasLoadingBoundary", { - enumerable: true, - get: function() { - return HasLoadingBoundary; - } -}); -var HasLoadingBoundary = /*#__PURE__*/ function(HasLoadingBoundary) { - // There is a loading boundary in this particular segment - HasLoadingBoundary[HasLoadingBoundary["SegmentHasLoadingBoundary"] = 1] = "SegmentHasLoadingBoundary"; - // There is a loading boundary somewhere in the subtree (but not in - // this segment) - HasLoadingBoundary[HasLoadingBoundary["SubtreeHasLoadingBoundary"] = 2] = "SubtreeHasLoadingBoundary"; - // There is no loading boundary in this segment or any of its descendants - HasLoadingBoundary[HasLoadingBoundary["SubtreeHasNoLoadingBoundary"] = 3] = "SubtreeHasNoLoadingBoundary"; - return HasLoadingBoundary; -}({}); //# sourceMappingURL=app-router-types.js.map -}), -"[project]/node_modules/next/dist/shared/lib/router/utils/parse-path.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -/** - * Given a path this function will find the pathname, query and hash and return - * them. This is useful to parse full paths on the client side. - * @param path A path to parse e.g. /foo/bar?id=1#hash - */ Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "parsePath", { - enumerable: true, - get: function() { - return parsePath; - } -}); -function parsePath(path) { - const hashIndex = path.indexOf('#'); - const queryIndex = path.indexOf('?'); - const hasQuery = queryIndex > -1 && (hashIndex < 0 || queryIndex < hashIndex); - if (hasQuery || hashIndex > -1) { - return { - pathname: path.substring(0, hasQuery ? queryIndex : hashIndex), - query: hasQuery ? path.substring(queryIndex, hashIndex > -1 ? hashIndex : undefined) : '', - hash: hashIndex > -1 ? path.slice(hashIndex) : '' - }; - } - return { - pathname: path, - query: '', - hash: '' - }; -} //# sourceMappingURL=parse-path.js.map -}), -"[project]/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "addPathPrefix", { - enumerable: true, - get: function() { - return addPathPrefix; - } -}); -const _parsepath = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/router/utils/parse-path.js [app-client] (ecmascript)"); -function addPathPrefix(path, prefix) { - if (!path.startsWith('/') || !prefix) { - return path; - } - const { pathname, query, hash } = (0, _parsepath.parsePath)(path); - return `${prefix}${pathname}${query}${hash}`; -} //# sourceMappingURL=add-path-prefix.js.map -}), -"[project]/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -/** - * Removes the trailing slash for a given route or page path. Preserves the - * root page. Examples: - * - `/foo/bar/` -> `/foo/bar` - * - `/foo/bar` -> `/foo/bar` - * - `/` -> `/` - */ Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "removeTrailingSlash", { - enumerable: true, - get: function() { - return removeTrailingSlash; - } -}); -function removeTrailingSlash(route) { - return route.replace(/\/$/, '') || '/'; -} //# sourceMappingURL=remove-trailing-slash.js.map -}), -"[project]/node_modules/next/dist/shared/lib/promise-with-resolvers.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "createPromiseWithResolvers", { - enumerable: true, - get: function() { - return createPromiseWithResolvers; - } -}); -function createPromiseWithResolvers() { - // Shim of Stage 4 Promise.withResolvers proposal - let resolve; - let reject; - const promise = new Promise((res, rej)=>{ - resolve = res; - reject = rej; - }); - return { - resolve: resolve, - reject: reject, - promise - }; -} //# sourceMappingURL=promise-with-resolvers.js.map -}), -"[project]/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "pathHasPrefix", { - enumerable: true, - get: function() { - return pathHasPrefix; - } -}); -const _parsepath = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/router/utils/parse-path.js [app-client] (ecmascript)"); -function pathHasPrefix(path, prefix) { - if (typeof path !== 'string') { - return false; - } - const { pathname } = (0, _parsepath.parsePath)(path); - return pathname === prefix || pathname.startsWith(prefix + '/'); -} //# sourceMappingURL=path-has-prefix.js.map -}), -"[project]/node_modules/next/dist/shared/lib/server-reference-info.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - extractInfoFromServerReferenceId: null, - omitUnusedArgs: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - extractInfoFromServerReferenceId: function() { - return extractInfoFromServerReferenceId; - }, - omitUnusedArgs: function() { - return omitUnusedArgs; - } -}); -function extractInfoFromServerReferenceId(id) { - const infoByte = parseInt(id.slice(0, 2), 16); - const typeBit = infoByte >> 7 & 0x1; - const argMask = infoByte >> 1 & 0x3f; - const restArgs = infoByte & 0x1; - const usedArgs = Array(6); - for(let index = 0; index < 6; index++){ - const bitPosition = 5 - index; - const bit = argMask >> bitPosition & 0x1; - usedArgs[index] = bit === 1; - } - return { - type: typeBit === 1 ? 'use-cache' : 'server-action', - usedArgs: usedArgs, - hasRestArgs: restArgs === 1 - }; -} -function omitUnusedArgs(args, info) { - const filteredArgs = new Array(args.length); - for(let index = 0; index < args.length; index++){ - if (index < 6 && info.usedArgs[index] || // This assumes that the server reference info byte has the restArgs bit - // set to 1 if there are more than 6 args. - index >= 6 && info.hasRestArgs) { - filteredArgs[index] = args[index]; - } - } - return filteredArgs; -} //# sourceMappingURL=server-reference-info.js.map -}), -"[project]/node_modules/next/dist/shared/lib/action-revalidation-kind.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - ActionDidNotRevalidate: null, - ActionDidRevalidateDynamicOnly: null, - ActionDidRevalidateStaticAndDynamic: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - ActionDidNotRevalidate: function() { - return ActionDidNotRevalidate; - }, - ActionDidRevalidateDynamicOnly: function() { - return ActionDidRevalidateDynamicOnly; - }, - ActionDidRevalidateStaticAndDynamic: function() { - return ActionDidRevalidateStaticAndDynamic; - } -}); -const ActionDidNotRevalidate = 0; -const ActionDidRevalidateStaticAndDynamic = 1; -const ActionDidRevalidateDynamicOnly = 2; //# sourceMappingURL=action-revalidation-kind.js.map -}), -"[project]/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -'use client'; -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - AppRouterContext: null, - GlobalLayoutRouterContext: null, - LayoutRouterContext: null, - MissingSlotContext: null, - TemplateContext: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - AppRouterContext: function() { - return AppRouterContext; - }, - GlobalLayoutRouterContext: function() { - return GlobalLayoutRouterContext; - }, - LayoutRouterContext: function() { - return LayoutRouterContext; - }, - MissingSlotContext: function() { - return MissingSlotContext; - }, - TemplateContext: function() { - return TemplateContext; - } -}); -const _interop_require_default = __turbopack_context__.r("[project]/node_modules/@swc/helpers/cjs/_interop_require_default.cjs [app-client] (ecmascript)"); -const _react = /*#__PURE__*/ _interop_require_default._(__turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)")); -const AppRouterContext = _react.default.createContext(null); -const LayoutRouterContext = _react.default.createContext(null); -const GlobalLayoutRouterContext = _react.default.createContext(null); -const TemplateContext = _react.default.createContext(null); -if ("TURBOPACK compile-time truthy", 1) { - AppRouterContext.displayName = 'AppRouterContext'; - LayoutRouterContext.displayName = 'LayoutRouterContext'; - GlobalLayoutRouterContext.displayName = 'GlobalLayoutRouterContext'; - TemplateContext.displayName = 'TemplateContext'; -} -const MissingSlotContext = _react.default.createContext(new Set()); //# sourceMappingURL=app-router-context.shared-runtime.js.map -}), -"[project]/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - ServerInsertedHTMLContext: null, - useServerInsertedHTML: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - ServerInsertedHTMLContext: function() { - return ServerInsertedHTMLContext; - }, - useServerInsertedHTML: function() { - return useServerInsertedHTML; - } -}); -const _interop_require_wildcard = __turbopack_context__.r("[project]/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs [app-client] (ecmascript)"); -const _react = /*#__PURE__*/ _interop_require_wildcard._(__turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)")); -const ServerInsertedHTMLContext = /*#__PURE__*/ _react.default.createContext(null); -function useServerInsertedHTML(callback) { - const addInsertedServerHTMLCallback = (0, _react.useContext)(ServerInsertedHTMLContext); - // Should have no effects on client where there's no flush effects provider - if (addInsertedServerHTMLCallback) { - addInsertedServerHTMLCallback(callback); - } -} //# sourceMappingURL=server-inserted-html.shared-runtime.js.map -}), -"[project]/node_modules/next/dist/shared/lib/utils/warn-once.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "warnOnce", { - enumerable: true, - get: function() { - return warnOnce; - } -}); -let warnOnce = (_)=>{}; -if ("TURBOPACK compile-time truthy", 1) { - const warnings = new Set(); - warnOnce = (msg)=>{ - if (!warnings.has(msg)) { - console.warn(msg); - } - warnings.add(msg); - }; -} //# sourceMappingURL=warn-once.js.map -}), -"[project]/node_modules/next/dist/shared/lib/format-webpack-messages.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -/** -MIT License - -Copyright (c) 2015-present, Facebook, Inc. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. -*/ "use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "default", { - enumerable: true, - get: function() { - return formatWebpackMessages; - } -}); -const _interop_require_default = __turbopack_context__.r("[project]/node_modules/@swc/helpers/cjs/_interop_require_default.cjs [app-client] (ecmascript)"); -const _stripansi = /*#__PURE__*/ _interop_require_default._(__turbopack_context__.r("[project]/node_modules/next/dist/compiled/strip-ansi/index.js [app-client] (ecmascript)")); -// This file is based on https://github.com/facebook/create-react-app/blob/7b1a32be6ec9f99a6c9a3c66813f3ac09c4736b9/packages/react-dev-utils/formatWebpackMessages.js -// It's been edited to remove chalk and CRA-specific logic -const friendlySyntaxErrorLabel = 'Syntax error:'; -const WEBPACK_BREAKING_CHANGE_POLYFILLS = '\n\nBREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.'; -function isLikelyASyntaxError(message) { - return (0, _stripansi.default)(message).includes(friendlySyntaxErrorLabel); -} -let hadMissingSassError = false; -// Cleans up webpack error messages. -function formatMessage(message, verbose, importTraceNote) { - // TODO: Replace this once webpack 5 is stable - if (typeof message === 'object' && message.message) { - const filteredModuleTrace = message.moduleTrace && message.moduleTrace.filter((trace)=>!/next-(middleware|client-pages|route|edge-function)-loader\.js/.test(trace.originName)); - let body = message.message; - const breakingChangeIndex = body.indexOf(WEBPACK_BREAKING_CHANGE_POLYFILLS); - if (breakingChangeIndex >= 0) { - body = body.slice(0, breakingChangeIndex); - } - // TODO: Rspack currently doesn't populate moduleName correctly in some cases, - // fall back to moduleIdentifier as a workaround - if (__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"].env.NEXT_RSPACK && !message.moduleName && !message.file && message.moduleIdentifier) { - const parts = message.moduleIdentifier.split('!'); - message.moduleName = parts[parts.length - 1]; - } - message = (message.moduleName ? (0, _stripansi.default)(message.moduleName) + '\n' : '') + (message.file ? (0, _stripansi.default)(message.file) + '\n' : '') + body + (message.details && verbose ? '\n' + message.details : '') + (filteredModuleTrace && filteredModuleTrace.length ? (importTraceNote || '\n\nImport trace for requested module:') + filteredModuleTrace.map((trace)=>`\n${trace.moduleName}`).join('') : '') + (message.stack && verbose ? '\n' + message.stack : ''); - } - let lines = message.split('\n'); - // Strip Webpack-added headers off errors/warnings - // https://github.com/webpack/webpack/blob/master/lib/ModuleError.js - lines = lines.filter((line)=>!/Module [A-z ]+\(from/.test(line)); - // Transform parsing error into syntax error - // TODO: move this to our ESLint formatter? - lines = lines.map((line)=>{ - const parsingError = /Line (\d+):(?:(\d+):)?\s*Parsing error: (.+)$/.exec(line); - if (!parsingError) { - return line; - } - const [, errorLine, errorColumn, errorMessage] = parsingError; - return `${friendlySyntaxErrorLabel} ${errorMessage} (${errorLine}:${errorColumn})`; - }); - message = lines.join('\n'); - // Smoosh syntax errors (commonly found in CSS) - message = message.replace(/SyntaxError\s+\((\d+):(\d+)\)\s*(.+?)\n/g, `${friendlySyntaxErrorLabel} $3 ($1:$2)\n`); - // Clean up export errors - message = message.replace(/^.*export '(.+?)' was not found in '(.+?)'.*$/gm, `Attempted import error: '$1' is not exported from '$2'.`); - message = message.replace(/^.*export 'default' \(imported as '(.+?)'\) was not found in '(.+?)'.*$/gm, `Attempted import error: '$2' does not contain a default export (imported as '$1').`); - message = message.replace(/^.*export '(.+?)' \(imported as '(.+?)'\) was not found in '(.+?)'.*$/gm, `Attempted import error: '$1' is not exported from '$3' (imported as '$2').`); - lines = message.split('\n'); - // Remove leading newline - if (lines.length > 2 && lines[1].trim() === '') { - lines.splice(1, 1); - } - // Cleans up verbose "module not found" messages for files and packages. - if (lines[1] && lines[1].startsWith('Module not found: ')) { - lines = [ - lines[0], - lines[1].replace('Error: ', '').replace('Module not found: Cannot find file:', 'Cannot find file:'), - ...lines.slice(2) - ]; - } - // Add helpful message for users trying to use Sass for the first time - if (lines[1] && lines[1].match(/Cannot find module.+sass/)) { - // ./file.module.scss (<<loader info>>) => ./file.module.scss - const firstLine = lines[0].split('!'); - lines[0] = firstLine[firstLine.length - 1]; - lines[1] = "To use Next.js' built-in Sass support, you first need to install `sass`.\n"; - lines[1] += 'Run `npm i sass` or `yarn add sass` inside your workspace.\n'; - lines[1] += '\nLearn more: https://nextjs.org/docs/messages/install-sass'; - // dispose of unhelpful stack trace - lines = lines.slice(0, 2); - hadMissingSassError = true; - } else if (hadMissingSassError && message.match(/(sass-loader|resolve-url-loader: CSS error)/)) { - // dispose of unhelpful stack trace following missing sass module - lines = []; - } - if (!verbose) { - message = lines.join('\n'); - // Internal stacks are generally useless so we strip them... with the - // exception of stacks containing `webpack:` because they're normally - // from user code generated by Webpack. For more information see - // https://github.com/facebook/create-react-app/pull/1050 - message = message.replace(/^\s*at\s((?!webpack:).)*:\d+:\d+[\s)]*(\n|$)/gm, '') // at ... ...:x:y - ; - message = message.replace(/^\s*at\s<anonymous>(\n|$)/gm, '') // at <anonymous> - ; - message = message.replace(/File was processed with these loaders:\n(.+[\\/](next[\\/]dist[\\/].+|@next[\\/]react-refresh-utils[\\/]loader)\.js\n)*You may need an additional loader to handle the result of these loaders.\n/g, ''); - lines = message.split('\n'); - } - // Remove duplicated newlines - lines = lines.filter((line, index, arr)=>index === 0 || line.trim() !== '' || line.trim() !== arr[index - 1].trim()); - // Reassemble the message - message = lines.join('\n'); - return message.trim(); -} -function formatWebpackMessages(json, verbose) { - const formattedErrors = json.errors.map((message)=>{ - const isUnknownNextFontError = message.message.includes('An error occurred in `next/font`.'); - return formatMessage(message, isUnknownNextFontError || verbose); - }); - const formattedWarnings = json.warnings.map((message)=>{ - return formatMessage(message, verbose); - }); - // Reorder errors to put the most relevant ones first. - let reactServerComponentsError = -1; - for(let i = 0; i < formattedErrors.length; i++){ - const error = formattedErrors[i]; - if (error.includes('ReactServerComponentsError')) { - reactServerComponentsError = i; - break; - } - } - // Move the reactServerComponentsError to the top if it exists - if (reactServerComponentsError !== -1) { - const error = formattedErrors.splice(reactServerComponentsError, 1); - formattedErrors.unshift(error[0]); - } - const result = { - ...json, - errors: formattedErrors, - warnings: formattedWarnings - }; - if (!verbose && result.errors.some(isLikelyASyntaxError)) { - // If there are any syntax errors, show just them. - result.errors = result.errors.filter(isLikelyASyntaxError); - result.warnings = []; - } - return result; -} //# sourceMappingURL=format-webpack-messages.js.map -}), -"[project]/node_modules/next/dist/shared/lib/errors/constants.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "MISSING_ROOT_TAGS_ERROR", { - enumerable: true, - get: function() { - return MISSING_ROOT_TAGS_ERROR; - } -}); -const MISSING_ROOT_TAGS_ERROR = 'NEXT_MISSING_ROOT_TAGS'; -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=constants.js.map -}), -"[project]/node_modules/next/dist/shared/lib/normalized-asset-prefix.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "normalizedAssetPrefix", { - enumerable: true, - get: function() { - return normalizedAssetPrefix; - } -}); -function normalizedAssetPrefix(assetPrefix) { - // remove all leading slashes and trailing slashes - const escapedAssetPrefix = assetPrefix?.replace(/^\/+|\/+$/g, '') || false; - // if an assetPrefix was '/', we return empty string - // because it could be an unnecessary trailing slash - if (!escapedAssetPrefix) { - return ''; - } - if (URL.canParse(escapedAssetPrefix)) { - const url = new URL(escapedAssetPrefix).toString(); - return url.endsWith('/') ? url.slice(0, -1) : url; - } - // assuming assetPrefix here is a pathname-style, - // restore the leading slash - return `/${escapedAssetPrefix}`; -} //# sourceMappingURL=normalized-asset-prefix.js.map -}), -"[project]/node_modules/next/dist/lib/is-error.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - default: null, - getProperError: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - /** - * Checks whether the given value is a NextError. - * This can be used to print a more detailed error message with properties like `code` & `digest`. - */ default: function() { - return isError; - }, - getProperError: function() { - return getProperError; - } -}); -const _isplainobject = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/is-plain-object.js [app-client] (ecmascript)"); -/** - * This is a safe stringify function that handles circular references. - * We're using a simpler version here to avoid introducing - * the dependency `safe-stable-stringify` into production bundle. - * - * This helper is used both in development and production. - */ function safeStringifyLite(obj) { - const seen = new WeakSet(); - return JSON.stringify(obj, (_key, value)=>{ - // If value is an object and already seen, replace with "[Circular]" - if (typeof value === 'object' && value !== null) { - if (seen.has(value)) { - return '[Circular]'; - } - seen.add(value); - } - return value; - }); -} -function isError(err) { - return typeof err === 'object' && err !== null && 'name' in err && 'message' in err; -} -function getProperError(err) { - if (isError(err)) { - return err; - } - if ("TURBOPACK compile-time truthy", 1) { - // provide better error for case where `throw undefined` - // is called in development - if (typeof err === 'undefined') { - return Object.defineProperty(new Error('An undefined error was thrown, ' + 'see here for more info: https://nextjs.org/docs/messages/threw-undefined'), "__NEXT_ERROR_CODE", { - value: "E98", - enumerable: false, - configurable: true - }); - } - if (err === null) { - return Object.defineProperty(new Error('A null error was thrown, ' + 'see here for more info: https://nextjs.org/docs/messages/threw-undefined'), "__NEXT_ERROR_CODE", { - value: "E336", - enumerable: false, - configurable: true - }); - } - } - return Object.defineProperty(new Error((0, _isplainobject.isPlainObject)(err) ? safeStringifyLite(err) : err + ''), "__NEXT_ERROR_CODE", { - value: "E394", - enumerable: false, - configurable: true - }); -} //# sourceMappingURL=is-error.js.map -}), -"[project]/node_modules/next/dist/lib/require-instrumentation-client.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -/** - * This module imports the client instrumentation hook from the project root. - * - * The `private-next-instrumentation-client` module is automatically aliased to - * the `instrumentation-client.ts` file in the project root by webpack or turbopack. - */ "use strict"; -if ("TURBOPACK compile-time truthy", 1) { - const measureName = 'Client Instrumentation Hook'; - const startTime = performance.now(); - // eslint-disable-next-line @next/internal/typechecked-require -- Not a module. - module.exports = {}; - const endTime = performance.now(); - const duration = endTime - startTime; - // Using 16ms threshold as it represents one frame (1000ms/60fps) - // This helps identify if the instrumentation hook initialization - // could potentially cause frame drops during development. - const THRESHOLD = 16; - if (duration > THRESHOLD) { - console.log(`[${measureName}] Slow execution detected: ${duration.toFixed(0)}ms (Note: Code download overhead is not included in this measurement)`); - } -} else //TURBOPACK unreachable -; - //# sourceMappingURL=require-instrumentation-client.js.map -}), -"[project]/node_modules/next/dist/lib/framework/boundary-constants.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - METADATA_BOUNDARY_NAME: null, - OUTLET_BOUNDARY_NAME: null, - ROOT_LAYOUT_BOUNDARY_NAME: null, - VIEWPORT_BOUNDARY_NAME: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - METADATA_BOUNDARY_NAME: function() { - return METADATA_BOUNDARY_NAME; - }, - OUTLET_BOUNDARY_NAME: function() { - return OUTLET_BOUNDARY_NAME; - }, - ROOT_LAYOUT_BOUNDARY_NAME: function() { - return ROOT_LAYOUT_BOUNDARY_NAME; - }, - VIEWPORT_BOUNDARY_NAME: function() { - return VIEWPORT_BOUNDARY_NAME; - } -}); -const METADATA_BOUNDARY_NAME = '__next_metadata_boundary__'; -const VIEWPORT_BOUNDARY_NAME = '__next_viewport_boundary__'; -const OUTLET_BOUNDARY_NAME = '__next_outlet_boundary__'; -const ROOT_LAYOUT_BOUNDARY_NAME = '__next_root_layout_boundary__'; //# sourceMappingURL=boundary-constants.js.map -}), -"[project]/node_modules/next/dist/lib/scheduler.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - atLeastOneTask: null, - scheduleImmediate: null, - scheduleOnNextTick: null, - waitAtLeastOneReactRenderTask: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - atLeastOneTask: function() { - return atLeastOneTask; - }, - scheduleImmediate: function() { - return scheduleImmediate; - }, - scheduleOnNextTick: function() { - return scheduleOnNextTick; - }, - waitAtLeastOneReactRenderTask: function() { - return waitAtLeastOneReactRenderTask; - } -}); -const scheduleOnNextTick = (cb)=>{ - // We use Promise.resolve().then() here so that the operation is scheduled at - // the end of the promise job queue, we then add it to the next process tick - // to ensure it's evaluated afterwards. - // - // This was inspired by the implementation of the DataLoader interface: https://github.com/graphql/dataloader/blob/d336bd15282664e0be4b4a657cb796f09bafbc6b/src/index.js#L213-L255 - // - Promise.resolve().then(()=>{ - if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable - ; - else { - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"].nextTick(cb); - } - }); -}; -const scheduleImmediate = (cb)=>{ - if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable - ; - else { - setImmediate(cb); - } -}; -function atLeastOneTask() { - return new Promise((resolve)=>scheduleImmediate(resolve)); -} -function waitAtLeastOneReactRenderTask() { - if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable - ; - else { - return new Promise((r)=>setImmediate(r)); - } -} //# sourceMappingURL=scheduler.js.map -}), -"[project]/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - MetadataBoundary: null, - OutletBoundary: null, - RootLayoutBoundary: null, - ViewportBoundary: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - MetadataBoundary: function() { - return MetadataBoundary; - }, - OutletBoundary: function() { - return OutletBoundary; - }, - RootLayoutBoundary: function() { - return RootLayoutBoundary; - }, - ViewportBoundary: function() { - return ViewportBoundary; - } -}); -const _boundaryconstants = __turbopack_context__.r("[project]/node_modules/next/dist/lib/framework/boundary-constants.js [app-client] (ecmascript)"); -// We use a namespace object to allow us to recover the name of the function -// at runtime even when production bundling/minification is used. -const NameSpace = { - [_boundaryconstants.METADATA_BOUNDARY_NAME]: function({ children }) { - return children; - }, - [_boundaryconstants.VIEWPORT_BOUNDARY_NAME]: function({ children }) { - return children; - }, - [_boundaryconstants.OUTLET_BOUNDARY_NAME]: function({ children }) { - return children; - }, - [_boundaryconstants.ROOT_LAYOUT_BOUNDARY_NAME]: function({ children }) { - return children; - } -}; -const MetadataBoundary = // so it retains the name inferred from the namespace object -NameSpace[_boundaryconstants.METADATA_BOUNDARY_NAME.slice(0)]; -const ViewportBoundary = // so it retains the name inferred from the namespace object -NameSpace[_boundaryconstants.VIEWPORT_BOUNDARY_NAME.slice(0)]; -const OutletBoundary = // so it retains the name inferred from the namespace object -NameSpace[_boundaryconstants.OUTLET_BOUNDARY_NAME.slice(0)]; -const RootLayoutBoundary = // so it retains the name inferred from the namespace object -NameSpace[_boundaryconstants.ROOT_LAYOUT_BOUNDARY_NAME.slice(0)]; //# sourceMappingURL=boundary-components.js.map -}), -"[project]/node_modules/next/dist/lib/constants.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - ACTION_SUFFIX: null, - APP_DIR_ALIAS: null, - CACHE_ONE_YEAR: null, - DOT_NEXT_ALIAS: null, - ESLINT_DEFAULT_DIRS: null, - GSP_NO_RETURNED_VALUE: null, - GSSP_COMPONENT_MEMBER_ERROR: null, - GSSP_NO_RETURNED_VALUE: null, - HTML_CONTENT_TYPE_HEADER: null, - INFINITE_CACHE: null, - INSTRUMENTATION_HOOK_FILENAME: null, - JSON_CONTENT_TYPE_HEADER: null, - MATCHED_PATH_HEADER: null, - MIDDLEWARE_FILENAME: null, - MIDDLEWARE_LOCATION_REGEXP: null, - NEXT_BODY_SUFFIX: null, - NEXT_CACHE_IMPLICIT_TAG_ID: null, - NEXT_CACHE_REVALIDATED_TAGS_HEADER: null, - NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER: null, - NEXT_CACHE_SOFT_TAG_MAX_LENGTH: null, - NEXT_CACHE_TAGS_HEADER: null, - NEXT_CACHE_TAG_MAX_ITEMS: null, - NEXT_CACHE_TAG_MAX_LENGTH: null, - NEXT_DATA_SUFFIX: null, - NEXT_INTERCEPTION_MARKER_PREFIX: null, - NEXT_META_SUFFIX: null, - NEXT_QUERY_PARAM_PREFIX: null, - NEXT_RESUME_HEADER: null, - NON_STANDARD_NODE_ENV: null, - PAGES_DIR_ALIAS: null, - PRERENDER_REVALIDATE_HEADER: null, - PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER: null, - PROXY_FILENAME: null, - PROXY_LOCATION_REGEXP: null, - PUBLIC_DIR_MIDDLEWARE_CONFLICT: null, - ROOT_DIR_ALIAS: null, - RSC_ACTION_CLIENT_WRAPPER_ALIAS: null, - RSC_ACTION_ENCRYPTION_ALIAS: null, - RSC_ACTION_PROXY_ALIAS: null, - RSC_ACTION_VALIDATE_ALIAS: null, - RSC_CACHE_WRAPPER_ALIAS: null, - RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS: null, - RSC_MOD_REF_PROXY_ALIAS: null, - RSC_SEGMENTS_DIR_SUFFIX: null, - RSC_SEGMENT_SUFFIX: null, - RSC_SUFFIX: null, - SERVER_PROPS_EXPORT_ERROR: null, - SERVER_PROPS_GET_INIT_PROPS_CONFLICT: null, - SERVER_PROPS_SSG_CONFLICT: null, - SERVER_RUNTIME: null, - SSG_FALLBACK_EXPORT_ERROR: null, - SSG_GET_INITIAL_PROPS_CONFLICT: null, - STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR: null, - TEXT_PLAIN_CONTENT_TYPE_HEADER: null, - UNSTABLE_REVALIDATE_RENAME_ERROR: null, - WEBPACK_LAYERS: null, - WEBPACK_RESOURCE_QUERIES: null, - WEB_SOCKET_MAX_RECONNECTIONS: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - ACTION_SUFFIX: function() { - return ACTION_SUFFIX; - }, - APP_DIR_ALIAS: function() { - return APP_DIR_ALIAS; - }, - CACHE_ONE_YEAR: function() { - return CACHE_ONE_YEAR; - }, - DOT_NEXT_ALIAS: function() { - return DOT_NEXT_ALIAS; - }, - ESLINT_DEFAULT_DIRS: function() { - return ESLINT_DEFAULT_DIRS; - }, - GSP_NO_RETURNED_VALUE: function() { - return GSP_NO_RETURNED_VALUE; - }, - GSSP_COMPONENT_MEMBER_ERROR: function() { - return GSSP_COMPONENT_MEMBER_ERROR; - }, - GSSP_NO_RETURNED_VALUE: function() { - return GSSP_NO_RETURNED_VALUE; - }, - HTML_CONTENT_TYPE_HEADER: function() { - return HTML_CONTENT_TYPE_HEADER; - }, - INFINITE_CACHE: function() { - return INFINITE_CACHE; - }, - INSTRUMENTATION_HOOK_FILENAME: function() { - return INSTRUMENTATION_HOOK_FILENAME; - }, - JSON_CONTENT_TYPE_HEADER: function() { - return JSON_CONTENT_TYPE_HEADER; - }, - MATCHED_PATH_HEADER: function() { - return MATCHED_PATH_HEADER; - }, - MIDDLEWARE_FILENAME: function() { - return MIDDLEWARE_FILENAME; - }, - MIDDLEWARE_LOCATION_REGEXP: function() { - return MIDDLEWARE_LOCATION_REGEXP; - }, - NEXT_BODY_SUFFIX: function() { - return NEXT_BODY_SUFFIX; - }, - NEXT_CACHE_IMPLICIT_TAG_ID: function() { - return NEXT_CACHE_IMPLICIT_TAG_ID; - }, - NEXT_CACHE_REVALIDATED_TAGS_HEADER: function() { - return NEXT_CACHE_REVALIDATED_TAGS_HEADER; - }, - NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER: function() { - return NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER; - }, - NEXT_CACHE_SOFT_TAG_MAX_LENGTH: function() { - return NEXT_CACHE_SOFT_TAG_MAX_LENGTH; - }, - NEXT_CACHE_TAGS_HEADER: function() { - return NEXT_CACHE_TAGS_HEADER; - }, - NEXT_CACHE_TAG_MAX_ITEMS: function() { - return NEXT_CACHE_TAG_MAX_ITEMS; - }, - NEXT_CACHE_TAG_MAX_LENGTH: function() { - return NEXT_CACHE_TAG_MAX_LENGTH; - }, - NEXT_DATA_SUFFIX: function() { - return NEXT_DATA_SUFFIX; - }, - NEXT_INTERCEPTION_MARKER_PREFIX: function() { - return NEXT_INTERCEPTION_MARKER_PREFIX; - }, - NEXT_META_SUFFIX: function() { - return NEXT_META_SUFFIX; - }, - NEXT_QUERY_PARAM_PREFIX: function() { - return NEXT_QUERY_PARAM_PREFIX; - }, - NEXT_RESUME_HEADER: function() { - return NEXT_RESUME_HEADER; - }, - NON_STANDARD_NODE_ENV: function() { - return NON_STANDARD_NODE_ENV; - }, - PAGES_DIR_ALIAS: function() { - return PAGES_DIR_ALIAS; - }, - PRERENDER_REVALIDATE_HEADER: function() { - return PRERENDER_REVALIDATE_HEADER; - }, - PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER: function() { - return PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER; - }, - PROXY_FILENAME: function() { - return PROXY_FILENAME; - }, - PROXY_LOCATION_REGEXP: function() { - return PROXY_LOCATION_REGEXP; - }, - PUBLIC_DIR_MIDDLEWARE_CONFLICT: function() { - return PUBLIC_DIR_MIDDLEWARE_CONFLICT; - }, - ROOT_DIR_ALIAS: function() { - return ROOT_DIR_ALIAS; - }, - RSC_ACTION_CLIENT_WRAPPER_ALIAS: function() { - return RSC_ACTION_CLIENT_WRAPPER_ALIAS; - }, - RSC_ACTION_ENCRYPTION_ALIAS: function() { - return RSC_ACTION_ENCRYPTION_ALIAS; - }, - RSC_ACTION_PROXY_ALIAS: function() { - return RSC_ACTION_PROXY_ALIAS; - }, - RSC_ACTION_VALIDATE_ALIAS: function() { - return RSC_ACTION_VALIDATE_ALIAS; - }, - RSC_CACHE_WRAPPER_ALIAS: function() { - return RSC_CACHE_WRAPPER_ALIAS; - }, - RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS: function() { - return RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS; - }, - RSC_MOD_REF_PROXY_ALIAS: function() { - return RSC_MOD_REF_PROXY_ALIAS; - }, - RSC_SEGMENTS_DIR_SUFFIX: function() { - return RSC_SEGMENTS_DIR_SUFFIX; - }, - RSC_SEGMENT_SUFFIX: function() { - return RSC_SEGMENT_SUFFIX; - }, - RSC_SUFFIX: function() { - return RSC_SUFFIX; - }, - SERVER_PROPS_EXPORT_ERROR: function() { - return SERVER_PROPS_EXPORT_ERROR; - }, - SERVER_PROPS_GET_INIT_PROPS_CONFLICT: function() { - return SERVER_PROPS_GET_INIT_PROPS_CONFLICT; - }, - SERVER_PROPS_SSG_CONFLICT: function() { - return SERVER_PROPS_SSG_CONFLICT; - }, - SERVER_RUNTIME: function() { - return SERVER_RUNTIME; - }, - SSG_FALLBACK_EXPORT_ERROR: function() { - return SSG_FALLBACK_EXPORT_ERROR; - }, - SSG_GET_INITIAL_PROPS_CONFLICT: function() { - return SSG_GET_INITIAL_PROPS_CONFLICT; - }, - STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR: function() { - return STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR; - }, - TEXT_PLAIN_CONTENT_TYPE_HEADER: function() { - return TEXT_PLAIN_CONTENT_TYPE_HEADER; - }, - UNSTABLE_REVALIDATE_RENAME_ERROR: function() { - return UNSTABLE_REVALIDATE_RENAME_ERROR; - }, - WEBPACK_LAYERS: function() { - return WEBPACK_LAYERS; - }, - WEBPACK_RESOURCE_QUERIES: function() { - return WEBPACK_RESOURCE_QUERIES; - }, - WEB_SOCKET_MAX_RECONNECTIONS: function() { - return WEB_SOCKET_MAX_RECONNECTIONS; - } -}); -const TEXT_PLAIN_CONTENT_TYPE_HEADER = 'text/plain'; -const HTML_CONTENT_TYPE_HEADER = 'text/html; charset=utf-8'; -const JSON_CONTENT_TYPE_HEADER = 'application/json; charset=utf-8'; -const NEXT_QUERY_PARAM_PREFIX = 'nxtP'; -const NEXT_INTERCEPTION_MARKER_PREFIX = 'nxtI'; -const MATCHED_PATH_HEADER = 'x-matched-path'; -const PRERENDER_REVALIDATE_HEADER = 'x-prerender-revalidate'; -const PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER = 'x-prerender-revalidate-if-generated'; -const RSC_SEGMENTS_DIR_SUFFIX = '.segments'; -const RSC_SEGMENT_SUFFIX = '.segment.rsc'; -const RSC_SUFFIX = '.rsc'; -const ACTION_SUFFIX = '.action'; -const NEXT_DATA_SUFFIX = '.json'; -const NEXT_META_SUFFIX = '.meta'; -const NEXT_BODY_SUFFIX = '.body'; -const NEXT_CACHE_TAGS_HEADER = 'x-next-cache-tags'; -const NEXT_CACHE_REVALIDATED_TAGS_HEADER = 'x-next-revalidated-tags'; -const NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER = 'x-next-revalidate-tag-token'; -const NEXT_RESUME_HEADER = 'next-resume'; -const NEXT_CACHE_TAG_MAX_ITEMS = 128; -const NEXT_CACHE_TAG_MAX_LENGTH = 256; -const NEXT_CACHE_SOFT_TAG_MAX_LENGTH = 1024; -const NEXT_CACHE_IMPLICIT_TAG_ID = '_N_T_'; -const CACHE_ONE_YEAR = 31536000; -const INFINITE_CACHE = 0xfffffffe; -const MIDDLEWARE_FILENAME = 'middleware'; -const MIDDLEWARE_LOCATION_REGEXP = `(?:src/)?${MIDDLEWARE_FILENAME}`; -const PROXY_FILENAME = 'proxy'; -const PROXY_LOCATION_REGEXP = `(?:src/)?${PROXY_FILENAME}`; -const INSTRUMENTATION_HOOK_FILENAME = 'instrumentation'; -const PAGES_DIR_ALIAS = 'private-next-pages'; -const DOT_NEXT_ALIAS = 'private-dot-next'; -const ROOT_DIR_ALIAS = 'private-next-root-dir'; -const APP_DIR_ALIAS = 'private-next-app-dir'; -const RSC_MOD_REF_PROXY_ALIAS = 'private-next-rsc-mod-ref-proxy'; -const RSC_ACTION_VALIDATE_ALIAS = 'private-next-rsc-action-validate'; -const RSC_ACTION_PROXY_ALIAS = 'private-next-rsc-server-reference'; -const RSC_CACHE_WRAPPER_ALIAS = 'private-next-rsc-cache-wrapper'; -const RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS = 'private-next-rsc-track-dynamic-import'; -const RSC_ACTION_ENCRYPTION_ALIAS = 'private-next-rsc-action-encryption'; -const RSC_ACTION_CLIENT_WRAPPER_ALIAS = 'private-next-rsc-action-client-wrapper'; -const PUBLIC_DIR_MIDDLEWARE_CONFLICT = `You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict`; -const SSG_GET_INITIAL_PROPS_CONFLICT = `You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps`; -const SERVER_PROPS_GET_INIT_PROPS_CONFLICT = `You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.`; -const SERVER_PROPS_SSG_CONFLICT = `You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps`; -const STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR = `can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props`; -const SERVER_PROPS_EXPORT_ERROR = `pages with \`getServerSideProps\` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export`; -const GSP_NO_RETURNED_VALUE = 'Your `getStaticProps` function did not return an object. Did you forget to add a `return`?'; -const GSSP_NO_RETURNED_VALUE = 'Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?'; -const UNSTABLE_REVALIDATE_RENAME_ERROR = 'The `unstable_revalidate` property is available for general use.\n' + 'Please use `revalidate` instead.'; -const GSSP_COMPONENT_MEMBER_ERROR = `can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member`; -const NON_STANDARD_NODE_ENV = `You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env`; -const SSG_FALLBACK_EXPORT_ERROR = `Pages with \`fallback\` enabled in \`getStaticPaths\` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export`; -const ESLINT_DEFAULT_DIRS = [ - 'app', - 'pages', - 'components', - 'lib', - 'src' -]; -const SERVER_RUNTIME = { - edge: 'edge', - experimentalEdge: 'experimental-edge', - nodejs: 'nodejs' -}; -const WEB_SOCKET_MAX_RECONNECTIONS = 12; -/** - * The names of the webpack layers. These layers are the primitives for the - * webpack chunks. - */ const WEBPACK_LAYERS_NAMES = { - /** - * The layer for the shared code between the client and server bundles. - */ shared: 'shared', - /** - * The layer for server-only runtime and picking up `react-server` export conditions. - * Including app router RSC pages and app router custom routes and metadata routes. - */ reactServerComponents: 'rsc', - /** - * Server Side Rendering layer for app (ssr). - */ serverSideRendering: 'ssr', - /** - * The browser client bundle layer for actions. - */ actionBrowser: 'action-browser', - /** - * The Node.js bundle layer for the API routes. - */ apiNode: 'api-node', - /** - * The Edge Lite bundle layer for the API routes. - */ apiEdge: 'api-edge', - /** - * The layer for the middleware code. - */ middleware: 'middleware', - /** - * The layer for the instrumentation hooks. - */ instrument: 'instrument', - /** - * The layer for assets on the edge. - */ edgeAsset: 'edge-asset', - /** - * The browser client bundle layer for App directory. - */ appPagesBrowser: 'app-pages-browser', - /** - * The browser client bundle layer for Pages directory. - */ pagesDirBrowser: 'pages-dir-browser', - /** - * The Edge Lite bundle layer for Pages directory. - */ pagesDirEdge: 'pages-dir-edge', - /** - * The Node.js bundle layer for Pages directory. - */ pagesDirNode: 'pages-dir-node' -}; -const WEBPACK_LAYERS = { - ...WEBPACK_LAYERS_NAMES, - GROUP: { - builtinReact: [ - WEBPACK_LAYERS_NAMES.reactServerComponents, - WEBPACK_LAYERS_NAMES.actionBrowser - ], - serverOnly: [ - WEBPACK_LAYERS_NAMES.reactServerComponents, - WEBPACK_LAYERS_NAMES.actionBrowser, - WEBPACK_LAYERS_NAMES.instrument, - WEBPACK_LAYERS_NAMES.middleware - ], - neutralTarget: [ - // pages api - WEBPACK_LAYERS_NAMES.apiNode, - WEBPACK_LAYERS_NAMES.apiEdge - ], - clientOnly: [ - WEBPACK_LAYERS_NAMES.serverSideRendering, - WEBPACK_LAYERS_NAMES.appPagesBrowser - ], - bundled: [ - WEBPACK_LAYERS_NAMES.reactServerComponents, - WEBPACK_LAYERS_NAMES.actionBrowser, - WEBPACK_LAYERS_NAMES.serverSideRendering, - WEBPACK_LAYERS_NAMES.appPagesBrowser, - WEBPACK_LAYERS_NAMES.shared, - WEBPACK_LAYERS_NAMES.instrument, - WEBPACK_LAYERS_NAMES.middleware - ], - appPages: [ - // app router pages and layouts - WEBPACK_LAYERS_NAMES.reactServerComponents, - WEBPACK_LAYERS_NAMES.serverSideRendering, - WEBPACK_LAYERS_NAMES.appPagesBrowser, - WEBPACK_LAYERS_NAMES.actionBrowser - ] - } -}; -const WEBPACK_RESOURCE_QUERIES = { - edgeSSREntry: '__next_edge_ssr_entry__', - metadata: '__next_metadata__', - metadataRoute: '__next_metadata_route__', - metadataImageMeta: '__next_metadata_image_meta__' -}; //# sourceMappingURL=constants.js.map -}), -"[project]/node_modules/next/dist/next-devtools/userspace/app/errors/stitched-error.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - coerceError: null, - decorateDevError: null, - getOwnerStack: null, - setOwnerStack: null, - setOwnerStackIfAvailable: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - coerceError: function() { - return coerceError; - }, - decorateDevError: function() { - return decorateDevError; - }, - getOwnerStack: function() { - return getOwnerStack; - }, - setOwnerStack: function() { - return setOwnerStack; - }, - setOwnerStackIfAvailable: function() { - return setOwnerStackIfAvailable; - } -}); -const _interop_require_default = __turbopack_context__.r("[project]/node_modules/@swc/helpers/cjs/_interop_require_default.cjs [app-client] (ecmascript)"); -const _react = /*#__PURE__*/ _interop_require_default._(__turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)")); -const _iserror = /*#__PURE__*/ _interop_require_default._(__turbopack_context__.r("[project]/node_modules/next/dist/lib/is-error.js [app-client] (ecmascript)")); -const ownerStacks = new WeakMap(); -function getOwnerStack(error) { - return ownerStacks.get(error); -} -function setOwnerStack(error, stack) { - ownerStacks.set(error, stack); -} -function coerceError(value) { - return (0, _iserror.default)(value) ? value : Object.defineProperty(new Error('' + value), "__NEXT_ERROR_CODE", { - value: "E394", - enumerable: false, - configurable: true - }); -} -function setOwnerStackIfAvailable(error) { - // React 18 and prod does not have `captureOwnerStack` - if ('captureOwnerStack' in _react.default) { - setOwnerStack(error, _react.default.captureOwnerStack()); - } -} -function decorateDevError(thrownValue) { - const error = coerceError(thrownValue); - setOwnerStackIfAvailable(error); - return error; -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=stitched-error.js.map -}), -"[project]/node_modules/next/dist/next-devtools/shared/console-error.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -// To distinguish from React error.digest, we use a different symbol here to determine if the error is from console.error or unhandled promise rejection. -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - createConsoleError: null, - isConsoleError: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - createConsoleError: function() { - return createConsoleError; - }, - isConsoleError: function() { - return isConsoleError; - } -}); -const digestSym = Symbol.for('next.console.error.digest'); -function createConsoleError(message, environmentName) { - const error = typeof message === 'string' ? Object.defineProperty(new Error(message), "__NEXT_ERROR_CODE", { - value: "E394", - enumerable: false, - configurable: true - }) : message; - error[digestSym] = 'NEXT_CONSOLE_ERROR'; - if (environmentName && !error.environmentName) { - error.environmentName = environmentName; - } - return error; -} -const isConsoleError = (error)=>{ - return error && error[digestSym] === 'NEXT_CONSOLE_ERROR'; -}; -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=console-error.js.map -}), -"[project]/node_modules/next/dist/next-devtools/userspace/app/terminal-logging-config.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - getIsTerminalLoggingEnabled: null, - getTerminalLoggingConfig: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - getIsTerminalLoggingEnabled: function() { - return getIsTerminalLoggingEnabled; - }, - getTerminalLoggingConfig: function() { - return getTerminalLoggingConfig; - } -}); -function getTerminalLoggingConfig() { - try { - return JSON.parse(("TURBOPACK compile-time value", "false") || 'false'); - } catch { - return false; - } -} -function getIsTerminalLoggingEnabled() { - const config = getTerminalLoggingConfig(); - return Boolean(config); -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=terminal-logging-config.js.map -}), -"[project]/node_modules/next/dist/next-devtools/shared/forward-logs-shared.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - UNDEFINED_MARKER: null, - patchConsoleMethod: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - UNDEFINED_MARKER: function() { - return UNDEFINED_MARKER; - }, - patchConsoleMethod: function() { - return patchConsoleMethod; - } -}); -const UNDEFINED_MARKER = '__next_tagged_undefined'; -function patchConsoleMethod(methodName, wrapper) { - const descriptor = Object.getOwnPropertyDescriptor(console, methodName); - if (descriptor && (descriptor.configurable || descriptor.writable) && typeof descriptor.value === 'function') { - const originalMethod = descriptor.value; - const originalName = Object.getOwnPropertyDescriptor(originalMethod, 'name'); - const wrapperMethod = function(...args) { - wrapper(methodName, ...args); - originalMethod.apply(this, args); - }; - if (originalName) { - Object.defineProperty(wrapperMethod, 'name', originalName); - } - Object.defineProperty(console, methodName, { - value: wrapperMethod - }); - return ()=>{ - Object.defineProperty(console, methodName, { - value: originalMethod, - writable: descriptor.writable, - configurable: descriptor.configurable - }); - }; - } - return ()=>{}; -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=forward-logs-shared.js.map -}), -"[project]/node_modules/next/dist/next-devtools/userspace/app/forward-logs-utils.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - logStringify: null, - preLogSerializationClone: null, - safeStringifyWithDepth: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - logStringify: function() { - return logStringify; - }, - preLogSerializationClone: function() { - return preLogSerializationClone; - }, - safeStringifyWithDepth: function() { - return safeStringifyWithDepth; - } -}); -const _safestablestringify = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/safe-stable-stringify/index.js [app-client] (ecmascript)"); -const _terminalloggingconfig = __turbopack_context__.r("[project]/node_modules/next/dist/next-devtools/userspace/app/terminal-logging-config.js [app-client] (ecmascript)"); -const _forwardlogsshared = __turbopack_context__.r("[project]/node_modules/next/dist/next-devtools/shared/forward-logs-shared.js [app-client] (ecmascript)"); -const terminalLoggingConfig = (0, _terminalloggingconfig.getTerminalLoggingConfig)(); -const PROMISE_MARKER = 'Promise {}'; -const UNAVAILABLE_MARKER = '[Unable to view]'; -const maximumDepth = typeof terminalLoggingConfig === 'object' && terminalLoggingConfig.depthLimit ? terminalLoggingConfig.depthLimit : 5; -const maximumBreadth = typeof terminalLoggingConfig === 'object' && terminalLoggingConfig.edgeLimit ? terminalLoggingConfig.edgeLimit : 100; -const safeStringifyWithDepth = (0, _safestablestringify.configure)({ - maximumDepth, - maximumBreadth -}); -function preLogSerializationClone(value, seen = new WeakMap()) { - if (value === undefined) return _forwardlogsshared.UNDEFINED_MARKER; - if (value === null || typeof value !== 'object') return value; - if (seen.has(value)) return seen.get(value); - try { - Object.keys(value); - } catch { - return UNAVAILABLE_MARKER; - } - try { - if (typeof value.then === 'function') return PROMISE_MARKER; - } catch { - return UNAVAILABLE_MARKER; - } - if (Array.isArray(value)) { - const out = []; - seen.set(value, out); - for (const item of value){ - try { - out.push(preLogSerializationClone(item, seen)); - } catch { - out.push(UNAVAILABLE_MARKER); - } - } - return out; - } - const proto = Object.getPrototypeOf(value); - if (proto === Object.prototype || proto === null) { - const out = {}; - seen.set(value, out); - for (const key of Object.keys(value)){ - try { - out[key] = preLogSerializationClone(value[key], seen); - } catch { - out[key] = UNAVAILABLE_MARKER; - } - } - return out; - } - return Object.prototype.toString.call(value); -} -const logStringify = (data)=>{ - try { - const result = safeStringifyWithDepth(data); - return result ?? `"${UNAVAILABLE_MARKER}"`; - } catch { - return `"${UNAVAILABLE_MARKER}"`; - } -}; -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=forward-logs-utils.js.map -}), -"[project]/node_modules/next/dist/next-devtools/userspace/app/forward-logs.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - forwardErrorLog: null, - forwardUnhandledError: null, - initializeDebugLogForwarding: null, - logQueue: null, - logUnhandledRejection: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - forwardErrorLog: function() { - return forwardErrorLog; - }, - forwardUnhandledError: function() { - return forwardUnhandledError; - }, - initializeDebugLogForwarding: function() { - return initializeDebugLogForwarding; - }, - logQueue: function() { - return logQueue; - }, - logUnhandledRejection: function() { - return logUnhandledRejection; - } -}); -const _stitchederror = __turbopack_context__.r("[project]/node_modules/next/dist/next-devtools/userspace/app/errors/stitched-error.js [app-client] (ecmascript)"); -const _errorsource = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/error-source.js [app-client] (ecmascript)"); -const _terminalloggingconfig = __turbopack_context__.r("[project]/node_modules/next/dist/next-devtools/userspace/app/terminal-logging-config.js [app-client] (ecmascript)"); -const _forwardlogsshared = __turbopack_context__.r("[project]/node_modules/next/dist/next-devtools/shared/forward-logs-shared.js [app-client] (ecmascript)"); -const _forwardlogsutils = __turbopack_context__.r("[project]/node_modules/next/dist/next-devtools/userspace/app/forward-logs-utils.js [app-client] (ecmascript)"); -// Client-side file logger for browser logs -class ClientFileLogger { - formatTimestamp() { - const now = new Date(); - const hours = now.getHours().toString().padStart(2, '0'); - const minutes = now.getMinutes().toString().padStart(2, '0'); - const seconds = now.getSeconds().toString().padStart(2, '0'); - const milliseconds = now.getMilliseconds().toString().padStart(3, '0'); - return `${hours}:${minutes}:${seconds}.${milliseconds}`; - } - log(level, args) { - if (isReactServerReplayedLog(args)) { - return; - } - // Format the args into a message string - const message = args.map((arg)=>{ - if (typeof arg === 'string') return arg; - if (typeof arg === 'number' || typeof arg === 'boolean') return String(arg); - if (arg === null) return 'null'; - if (arg === undefined) return 'undefined'; - // Handle DOM nodes - only log the tag name to avoid React proxied elements - if (arg instanceof Element) { - return `<${arg.tagName.toLowerCase()}>`; - } - return (0, _forwardlogsutils.safeStringifyWithDepth)(arg); - }).join(' '); - const logEntry = { - timestamp: this.formatTimestamp(), - level: level.toUpperCase(), - message - }; - this.logEntries.push(logEntry); - // Schedule flush when new log is added - scheduleLogFlush(); - } - getLogs() { - return [ - ...this.logEntries - ]; - } - clear() { - this.logEntries = []; - } - constructor(){ - this.logEntries = []; - } -} -const clientFileLogger = new ClientFileLogger(); -// Set up flush-based sending of client file logs -let logFlushTimeout = null; -let heartbeatInterval = null; -const scheduleLogFlush = ()=>{ - if (logFlushTimeout) { - clearTimeout(logFlushTimeout); - } - logFlushTimeout = setTimeout(()=>{ - sendClientFileLogs(); - logFlushTimeout = null; - }, 100) // Send after 100ms (much faster with debouncing) - ; -}; -const cancelLogFlush = ()=>{ - if (logFlushTimeout) { - clearTimeout(logFlushTimeout); - logFlushTimeout = null; - } -}; -const startHeartbeat = ()=>{ - if (heartbeatInterval) return; - heartbeatInterval = setInterval(()=>{ - if (logQueue.socket && logQueue.socket.readyState === WebSocket.OPEN) { - try { - // Send a ping to keep the connection alive - logQueue.socket.send(JSON.stringify({ - event: 'ping' - })); - } catch (error) { - // Connection might be closed, stop heartbeat - stopHeartbeat(); - } - } else { - stopHeartbeat(); - } - }, 5000) // Send ping every 5 seconds - ; -}; -const stopHeartbeat = ()=>{ - if (heartbeatInterval) { - clearInterval(heartbeatInterval); - heartbeatInterval = null; - } -}; -const isTerminalLoggingEnabled = (0, _terminalloggingconfig.getIsTerminalLoggingEnabled)(); -const methods = [ - 'log', - 'info', - 'warn', - 'debug', - 'table', - 'assert', - 'dir', - 'dirxml', - 'group', - 'groupCollapsed', - 'groupEnd', - 'trace' -]; -const afterThisFrame = (cb)=>{ - let timeout; - const rafId = requestAnimationFrame(()=>{ - timeout = setTimeout(()=>{ - cb(); - }); - }); - return ()=>{ - cancelAnimationFrame(rafId); - clearTimeout(timeout); - }; -}; -let isPatched = false; -const serializeEntries = (entries)=>entries.map((clientEntry)=>{ - switch(clientEntry.kind){ - case 'any-logged-error': - case 'console': - { - return { - ...clientEntry, - args: clientEntry.args.map(stringifyUserArg) - }; - } - case 'formatted-error': - { - return clientEntry; - } - default: - { - return null; - } - } - }); -// Function to send client file logs to server -const sendClientFileLogs = ()=>{ - if (!logQueue.socket || logQueue.socket.readyState !== WebSocket.OPEN) { - return; - } - const logs = clientFileLogger.getLogs(); - if (logs.length === 0) { - return; - } - try { - const payload = JSON.stringify({ - event: 'client-file-logs', - logs: logs - }); - logQueue.socket.send(payload); - } catch (error) { - console.error(error); - } finally{ - // Clear logs regardless of send success to prevent memory leaks - clientFileLogger.clear(); - } -}; -const logQueue = { - entries: [], - flushScheduled: false, - cancelFlush: null, - socket: null, - sourceType: undefined, - router: null, - scheduleLogSend: (entry)=>{ - logQueue.entries.push(entry); - if (logQueue.flushScheduled) { - return; - } - // safe to deref and use in setTimeout closure since we cancel on new socket - const socket = logQueue.socket; - if (!socket) { - return; - } - // we probably dont need this - logQueue.flushScheduled = true; - // non blocking log flush, runs at most once per frame - logQueue.cancelFlush = afterThisFrame(()=>{ - logQueue.flushScheduled = false; - // just incase - try { - const payload = JSON.stringify({ - event: 'browser-logs', - entries: serializeEntries(logQueue.entries), - router: logQueue.router, - // needed for source mapping, we just assign the sourceType from the last error for the whole batch - sourceType: logQueue.sourceType - }); - socket.send(payload); - logQueue.entries = []; - logQueue.sourceType = undefined; - // Also send client file logs - sendClientFileLogs(); - } catch { - // error (make sure u don't infinite loop) - /* noop */ } - }); - }, - onSocketReady: (socket)=>{ - // When MCP or terminal logging is enabled, we enable the socket connection, - // otherwise it will not proceed. - if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable - ; - if (socket.readyState !== WebSocket.OPEN) { - // invariant - return; - } - // incase an existing timeout was going to run with a stale socket - logQueue.cancelFlush?.(); - logQueue.socket = socket; - // Add socket event listeners to track connection state - socket.addEventListener('close', ()=>{ - cancelLogFlush(); - stopHeartbeat(); - }); - // Only send terminal logs if enabled - if (isTerminalLoggingEnabled) { - try { - const payload = JSON.stringify({ - event: 'browser-logs', - entries: serializeEntries(logQueue.entries), - router: logQueue.router, - sourceType: logQueue.sourceType - }); - socket.send(payload); - logQueue.entries = []; - logQueue.sourceType = undefined; - } catch { - /** noop just incase */ } - } - // Always send client file logs when socket is ready - sendClientFileLogs(); - // Start heartbeat to keep connection alive - startHeartbeat(); - } -}; -const stringifyUserArg = (arg)=>{ - if (arg.kind !== 'arg') { - return arg; - } - return { - ...arg, - data: (0, _forwardlogsutils.logStringify)(arg.data) - }; -}; -const createErrorArg = (error)=>{ - const stack = stackWithOwners(error); - return { - kind: 'formatted-error-arg', - prefix: error.message ? `${error.name}: ${error.message}` : `${error.name}`, - stack - }; -}; -const createLogEntry = (level, args)=>{ - // Always log to client file logger with args (formatting done inside log method) - clientFileLogger.log(level, args); - // Only forward to terminal if enabled - if (!isTerminalLoggingEnabled) { - return; - } - // do not abstract this, it implicitly relies on which functions call it. forcing the inlined implementation makes you think about callers - // error capture stack trace maybe - const stack = stackWithOwners(new Error()); - const stackLines = stack?.split('\n'); - const cleanStack = stackLines?.slice(3).join('\n') // this is probably ignored anyways - ; - const entry = { - kind: 'console', - consoleMethodStack: cleanStack ?? null, - method: level, - args: args.map((arg)=>{ - if (arg instanceof Error) { - return createErrorArg(arg); - } - return { - kind: 'arg', - data: (0, _forwardlogsutils.preLogSerializationClone)(arg) - }; - }) - }; - logQueue.scheduleLogSend(entry); -}; -const forwardErrorLog = (args)=>{ - // Always log to client file logger with args (formatting done inside log method) - clientFileLogger.log('error', args); - // Only forward to terminal if enabled - if (!isTerminalLoggingEnabled) { - return; - } - const errorObjects = args.filter((arg)=>arg instanceof Error); - const first = errorObjects.at(0); - if (first) { - const source = (0, _errorsource.getErrorSource)(first); - if (source) { - logQueue.sourceType = source; - } - } - /** - * browser shows stack regardless of type of data passed to console.error, so we should do the same - * - * do not abstract this, it implicitly relies on which functions call it. forcing the inlined implementation makes you think about callers - */ const stack = stackWithOwners(new Error()); - const stackLines = stack?.split('\n'); - const cleanStack = stackLines?.slice(3).join('\n'); - const entry = { - kind: 'any-logged-error', - method: 'error', - consoleErrorStack: cleanStack ?? '', - args: args.map((arg)=>{ - if (arg instanceof Error) { - return createErrorArg(arg); - } - return { - kind: 'arg', - data: (0, _forwardlogsutils.preLogSerializationClone)(arg) - }; - }) - }; - logQueue.scheduleLogSend(entry); -}; -const createUncaughtErrorEntry = (errorName, errorMessage, fullStack)=>{ - const entry = { - kind: 'formatted-error', - prefix: `Uncaught ${errorName}: ${errorMessage}`, - stack: fullStack, - method: 'error' - }; - logQueue.scheduleLogSend(entry); -}; -const stackWithOwners = (error)=>{ - let ownerStack = ''; - (0, _stitchederror.setOwnerStackIfAvailable)(error); - ownerStack = (0, _stitchederror.getOwnerStack)(error) || ''; - const stack = (error.stack || '') + ownerStack; - return stack; -}; -function logUnhandledRejection(reason) { - // Always log to client file logger - const message = reason instanceof Error ? `${reason.name}: ${reason.message}` : JSON.stringify(reason); - clientFileLogger.log('error', [ - `unhandledRejection: ${message}` - ]); - // Only forward to terminal if enabled - if (!isTerminalLoggingEnabled) { - return; - } - if (reason instanceof Error) { - createUnhandledRejectionErrorEntry(reason, stackWithOwners(reason)); - return; - } - createUnhandledRejectionNonErrorEntry(reason); -} -const createUnhandledRejectionErrorEntry = (error, fullStack)=>{ - const source = (0, _errorsource.getErrorSource)(error); - if (source) { - logQueue.sourceType = source; - } - const entry = { - kind: 'formatted-error', - prefix: `⨯ unhandledRejection: ${error.name}: ${error.message}`, - stack: fullStack, - method: 'error' - }; - logQueue.scheduleLogSend(entry); -}; -const createUnhandledRejectionNonErrorEntry = (reason)=>{ - const entry = { - kind: 'any-logged-error', - // we can't access the stack since the event is dispatched async and creating an inline error would be meaningless - consoleErrorStack: '', - method: 'error', - args: [ - { - kind: 'arg', - data: `⨯ unhandledRejection:`, - isRejectionMessage: true - }, - { - kind: 'arg', - data: (0, _forwardlogsutils.preLogSerializationClone)(reason) - } - ] - }; - logQueue.scheduleLogSend(entry); -}; -const isHMR = (args)=>{ - const firstArg = args[0]; - if (typeof firstArg !== 'string') { - return false; - } - if (firstArg.startsWith('[Fast Refresh]')) { - return true; - } - if (firstArg.startsWith('[HMR]')) { - return true; - } - return false; -}; -/** - * Matches the format of logs arguments React replayed from the RSC. - */ const isReactServerReplayedLog = (args)=>{ - if (args.length < 3) { - return false; - } - const [format, styles, label] = args; - if (typeof format !== 'string' || typeof styles !== 'string' || typeof label !== 'string') { - return false; - } - return format.startsWith('%c%s%c') && styles.includes('background:'); -}; -function forwardUnhandledError(error) { - // Always log to client file logger - clientFileLogger.log('error', [ - `uncaughtError: ${error.name}: ${error.message}` - ]); - // Only forward to terminal if enabled - if (!isTerminalLoggingEnabled) { - return; - } - createUncaughtErrorEntry(error.name, error.message, stackWithOwners(error)); -} -const initializeDebugLogForwarding = (router)=>{ - // probably don't need this - if (isPatched) { - return; - } - // TODO(rob): why does this break rendering on server, important to know incase the same bug appears in browser - if (typeof window === 'undefined') { - return; - } - // better to be safe than sorry - try { - methods.forEach((method)=>(0, _forwardlogsshared.patchConsoleMethod)(method, (_, ...args)=>{ - if (isHMR(args)) { - return; - } - if (isReactServerReplayedLog(args)) { - return; - } - createLogEntry(method, args); - })); - } catch {} - logQueue.router = router; - isPatched = true; - // Cleanup on page unload - window.addEventListener('beforeunload', ()=>{ - cancelLogFlush(); - stopHeartbeat(); - // Send any remaining logs before page unloads - sendClientFileLogs(); - }); -}; -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=forward-logs.js.map -}), -"[project]/node_modules/next/dist/next-devtools/userspace/app/errors/use-error-handler.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - handleClientError: null, - handleConsoleError: null, - handleGlobalErrors: null, - useErrorHandler: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - handleClientError: function() { - return handleClientError; - }, - handleConsoleError: function() { - return handleConsoleError; - }, - handleGlobalErrors: function() { - return handleGlobalErrors; - }, - useErrorHandler: function() { - return useErrorHandler; - } -}); -const _interop_require_default = __turbopack_context__.r("[project]/node_modules/@swc/helpers/cjs/_interop_require_default.cjs [app-client] (ecmascript)"); -const _react = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -const _isnextroutererror = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/is-next-router-error.js [app-client] (ecmascript)"); -const _console = __turbopack_context__.r("[project]/node_modules/next/dist/client/lib/console.js [app-client] (ecmascript)"); -const _iserror = /*#__PURE__*/ _interop_require_default._(__turbopack_context__.r("[project]/node_modules/next/dist/lib/is-error.js [app-client] (ecmascript)")); -const _consoleerror = __turbopack_context__.r("[project]/node_modules/next/dist/next-devtools/shared/console-error.js [app-client] (ecmascript)"); -const _stitchederror = __turbopack_context__.r("[project]/node_modules/next/dist/next-devtools/userspace/app/errors/stitched-error.js [app-client] (ecmascript)"); -const _forwardlogs = __turbopack_context__.r("[project]/node_modules/next/dist/next-devtools/userspace/app/forward-logs.js [app-client] (ecmascript)"); -const queueMicroTask = globalThis.queueMicrotask || ((cb)=>Promise.resolve().then(cb)); -const errorQueue = []; -const errorHandlers = []; -const rejectionQueue = []; -const rejectionHandlers = []; -function handleConsoleError(originError, consoleErrorArgs) { - let error; - const { environmentName } = (0, _console.parseConsoleArgs)(consoleErrorArgs); - if ((0, _iserror.default)(originError)) { - error = (0, _consoleerror.createConsoleError)(originError, environmentName); - } else { - error = (0, _consoleerror.createConsoleError)((0, _console.formatConsoleArgs)(consoleErrorArgs), environmentName); - } - (0, _stitchederror.setOwnerStackIfAvailable)(error); - errorQueue.push(error); - for (const handler of errorHandlers){ - // Delayed the error being passed to React Dev Overlay, - // avoid the state being synchronously updated in the component. - queueMicroTask(()=>{ - handler(error); - }); - } -} -function handleClientError(error) { - errorQueue.push(error); - for (const handler of errorHandlers){ - // Delayed the error being passed to React Dev Overlay, - // avoid the state being synchronously updated in the component. - queueMicroTask(()=>{ - handler(error); - }); - } -} -function useErrorHandler(handleOnUnhandledError, handleOnUnhandledRejection) { - (0, _react.useEffect)(()=>{ - // Handle queued errors. - errorQueue.forEach(handleOnUnhandledError); - rejectionQueue.forEach(handleOnUnhandledRejection); - // Listen to new errors. - errorHandlers.push(handleOnUnhandledError); - rejectionHandlers.push(handleOnUnhandledRejection); - return ()=>{ - // Remove listeners. - errorHandlers.splice(errorHandlers.indexOf(handleOnUnhandledError), 1); - rejectionHandlers.splice(rejectionHandlers.indexOf(handleOnUnhandledRejection), 1); - // Reset error queues. - errorQueue.splice(0, errorQueue.length); - rejectionQueue.splice(0, rejectionQueue.length); - }; - }, [ - handleOnUnhandledError, - handleOnUnhandledRejection - ]); -} -function onUnhandledError(event) { - const thrownValue = event.error; - if ((0, _isnextroutererror.isNextRouterError)(thrownValue)) { - event.preventDefault(); - return false; - } - // When there's an error property present, we log the error to error overlay. - // Otherwise we don't do anything as it's not logging in the console either. - if (thrownValue) { - const error = (0, _stitchederror.coerceError)(thrownValue); - (0, _stitchederror.setOwnerStackIfAvailable)(error); - handleClientError(error); - (0, _forwardlogs.forwardUnhandledError)(error); - } -} -function onUnhandledRejection(ev) { - const reason = ev?.reason; - if ((0, _isnextroutererror.isNextRouterError)(reason)) { - ev.preventDefault(); - return; - } - const error = (0, _stitchederror.coerceError)(reason); - (0, _stitchederror.setOwnerStackIfAvailable)(error); - rejectionQueue.push(error); - for (const handler of rejectionHandlers){ - handler(error); - } - (0, _forwardlogs.logUnhandledRejection)(reason); -} -function handleGlobalErrors() { - if (typeof window !== 'undefined') { - try { - // Increase the number of stack frames on the client - Error.stackTraceLimit = 50; - } catch {} - window.addEventListener('error', onUnhandledError); - window.addEventListener('unhandledrejection', onUnhandledRejection); - } -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=use-error-handler.js.map -}), -"[project]/node_modules/next/dist/next-devtools/userspace/app/errors/intercept-console-error.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - originConsoleError: null, - patchConsoleError: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - originConsoleError: function() { - return originConsoleError; - }, - patchConsoleError: function() { - return patchConsoleError; - } -}); -const _interop_require_default = __turbopack_context__.r("[project]/node_modules/@swc/helpers/cjs/_interop_require_default.cjs [app-client] (ecmascript)"); -const _iserror = /*#__PURE__*/ _interop_require_default._(__turbopack_context__.r("[project]/node_modules/next/dist/lib/is-error.js [app-client] (ecmascript)")); -const _isnextroutererror = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/is-next-router-error.js [app-client] (ecmascript)"); -const _useerrorhandler = __turbopack_context__.r("[project]/node_modules/next/dist/next-devtools/userspace/app/errors/use-error-handler.js [app-client] (ecmascript)"); -const _console = __turbopack_context__.r("[project]/node_modules/next/dist/client/lib/console.js [app-client] (ecmascript)"); -const _forwardlogs = __turbopack_context__.r("[project]/node_modules/next/dist/next-devtools/userspace/app/forward-logs.js [app-client] (ecmascript)"); -const originConsoleError = globalThis.console.error; -function patchConsoleError() { - // Ensure it's only patched once - if (typeof window === 'undefined') { - return; - } - window.console.error = function error(...args) { - let maybeError; - if ("TURBOPACK compile-time truthy", 1) { - const { error: replayedError } = (0, _console.parseConsoleArgs)(args); - if (replayedError) { - maybeError = replayedError; - } else if ((0, _iserror.default)(args[0])) { - maybeError = args[0]; - } else { - // See https://github.com/facebook/react/blob/d50323eb845c5fde0d720cae888bf35dedd05506/packages/react-reconciler/src/ReactFiberErrorLogger.js#L78 - maybeError = args[1]; - } - } else //TURBOPACK unreachable - ; - if (!(0, _isnextroutererror.isNextRouterError)(maybeError)) { - if ("TURBOPACK compile-time truthy", 1) { - (0, _useerrorhandler.handleConsoleError)(// but if we pass the error directly, `handleClientError` will ignore it - maybeError, args); - } - (0, _forwardlogs.forwardErrorLog)(args); - originConsoleError.apply(window.console, args); - } - }; -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=intercept-console-error.js.map -}), -"[project]/node_modules/next/dist/next-devtools/userspace/app/app-dev-overlay-setup.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -const _interceptconsoleerror = __turbopack_context__.r("[project]/node_modules/next/dist/next-devtools/userspace/app/errors/intercept-console-error.js [app-client] (ecmascript)"); -const _useerrorhandler = __turbopack_context__.r("[project]/node_modules/next/dist/next-devtools/userspace/app/errors/use-error-handler.js [app-client] (ecmascript)"); -const _forwardlogs = __turbopack_context__.r("[project]/node_modules/next/dist/next-devtools/userspace/app/forward-logs.js [app-client] (ecmascript)"); -(0, _useerrorhandler.handleGlobalErrors)(); -(0, _interceptconsoleerror.patchConsoleError)(); -(0, _forwardlogs.initializeDebugLogForwarding)('app'); -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=app-dev-overlay-setup.js.map -}), -"[project]/node_modules/next/dist/next-devtools/userspace/app/errors/index.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - decorateDevError: null, - handleClientError: null, - originConsoleError: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - decorateDevError: function() { - return _stitchederror.decorateDevError; - }, - handleClientError: function() { - return _useerrorhandler.handleClientError; - }, - originConsoleError: function() { - return _interceptconsoleerror.originConsoleError; - } -}); -const _interceptconsoleerror = __turbopack_context__.r("[project]/node_modules/next/dist/next-devtools/userspace/app/errors/intercept-console-error.js [app-client] (ecmascript)"); -const _useerrorhandler = __turbopack_context__.r("[project]/node_modules/next/dist/next-devtools/userspace/app/errors/use-error-handler.js [app-client] (ecmascript)"); -const _stitchederror = __turbopack_context__.r("[project]/node_modules/next/dist/next-devtools/userspace/app/errors/stitched-error.js [app-client] (ecmascript)"); -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=index.js.map -}), -"[project]/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - SEGMENT_EXPLORER_SIMULATED_ERROR_MESSAGE: null, - SegmentBoundaryTriggerNode: null, - SegmentStateProvider: null, - SegmentViewNode: null, - SegmentViewStateNode: null, - useSegmentState: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - SEGMENT_EXPLORER_SIMULATED_ERROR_MESSAGE: function() { - return SEGMENT_EXPLORER_SIMULATED_ERROR_MESSAGE; - }, - SegmentBoundaryTriggerNode: function() { - return SegmentBoundaryTriggerNode; - }, - SegmentStateProvider: function() { - return SegmentStateProvider; - }, - SegmentViewNode: function() { - return SegmentViewNode; - }, - SegmentViewStateNode: function() { - return SegmentViewStateNode; - }, - useSegmentState: function() { - return useSegmentState; - } -}); -const _jsxruntime = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/jsx-runtime.js [app-client] (ecmascript)"); -const _react = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -const _nextdevtools = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/next-devtools/index.js (raw)"); -const _notfound = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/not-found.js [app-client] (ecmascript)"); -const SEGMENT_EXPLORER_SIMULATED_ERROR_MESSAGE = 'NEXT_DEVTOOLS_SIMULATED_ERROR'; -function SegmentTrieNode({ type, pagePath }) { - const { boundaryType, setBoundaryType } = useSegmentState(); - const nodeState = (0, _react.useMemo)(()=>{ - return { - type, - pagePath, - boundaryType, - setBoundaryType - }; - }, [ - type, - pagePath, - boundaryType, - setBoundaryType - ]); - // Use `useLayoutEffect` to ensure the state is updated during suspense. - // `useEffect` won't work as the state is preserved during suspense. - (0, _react.useLayoutEffect)(()=>{ - _nextdevtools.dispatcher.segmentExplorerNodeAdd(nodeState); - return ()=>{ - _nextdevtools.dispatcher.segmentExplorerNodeRemove(nodeState); - }; - }, [ - nodeState - ]); - return null; -} -function NotFoundSegmentNode() { - (0, _notfound.notFound)(); -} -function ErrorSegmentNode() { - throw Object.defineProperty(new Error(SEGMENT_EXPLORER_SIMULATED_ERROR_MESSAGE), "__NEXT_ERROR_CODE", { - value: "E394", - enumerable: false, - configurable: true - }); -} -const forever = new Promise(()=>{}); -function LoadingSegmentNode() { - (0, _react.use)(forever); - return null; -} -function SegmentViewStateNode({ page }) { - (0, _react.useLayoutEffect)(()=>{ - _nextdevtools.dispatcher.segmentExplorerUpdateRouteState(page); - return ()=>{ - _nextdevtools.dispatcher.segmentExplorerUpdateRouteState(''); - }; - }, [ - page - ]); - return null; -} -function SegmentBoundaryTriggerNode() { - const { boundaryType } = useSegmentState(); - let segmentNode = null; - if (boundaryType === 'loading') { - segmentNode = /*#__PURE__*/ (0, _jsxruntime.jsx)(LoadingSegmentNode, {}); - } else if (boundaryType === 'not-found') { - segmentNode = /*#__PURE__*/ (0, _jsxruntime.jsx)(NotFoundSegmentNode, {}); - } else if (boundaryType === 'error') { - segmentNode = /*#__PURE__*/ (0, _jsxruntime.jsx)(ErrorSegmentNode, {}); - } - return segmentNode; -} -function SegmentViewNode({ type, pagePath, children }) { - const segmentNode = /*#__PURE__*/ (0, _jsxruntime.jsx)(SegmentTrieNode, { - type: type, - pagePath: pagePath - }, type); - return /*#__PURE__*/ (0, _jsxruntime.jsxs)(_jsxruntime.Fragment, { - children: [ - segmentNode, - children - ] - }); -} -const SegmentStateContext = /*#__PURE__*/ (0, _react.createContext)({ - boundaryType: null, - setBoundaryType: ()=>{} -}); -function SegmentStateProvider({ children }) { - const [boundaryType, setBoundaryType] = (0, _react.useState)(null); - const [errorBoundaryKey, setErrorBoundaryKey] = (0, _react.useState)(0); - const reloadBoundary = (0, _react.useCallback)(()=>setErrorBoundaryKey((prev)=>prev + 1), []); - const setBoundaryTypeAndReload = (0, _react.useCallback)((type)=>{ - if (type === null) { - reloadBoundary(); - } - setBoundaryType(type); - }, [ - reloadBoundary - ]); - return /*#__PURE__*/ (0, _jsxruntime.jsx)(SegmentStateContext.Provider, { - value: { - boundaryType, - setBoundaryType: setBoundaryTypeAndReload - }, - children: children - }, errorBoundaryKey); -} -function useSegmentState() { - return (0, _react.useContext)(SegmentStateContext); -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=segment-explorer-node.js.map -}), -"[project]/node_modules/next/dist/next-devtools/userspace/app/app-dev-overlay-error-boundary.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "AppDevOverlayErrorBoundary", { - enumerable: true, - get: function() { - return AppDevOverlayErrorBoundary; - } -}); -const _interop_require_default = __turbopack_context__.r("[project]/node_modules/@swc/helpers/cjs/_interop_require_default.cjs [app-client] (ecmascript)"); -const _jsxruntime = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/jsx-runtime.js [app-client] (ecmascript)"); -const _react = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -const _nextdevtools = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/next-devtools/index.js (raw)"); -const _runtimeerrorhandler = __turbopack_context__.r("[project]/node_modules/next/dist/client/dev/runtime-error-handler.js [app-client] (ecmascript)"); -const _errorboundary = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/error-boundary.js [app-client] (ecmascript)"); -const _globalerror = /*#__PURE__*/ _interop_require_default._(__turbopack_context__.r("[project]/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)")); -const _segmentexplorernode = __turbopack_context__.r("[project]/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)"); -function ErroredHtml({ globalError: [GlobalError, globalErrorStyles], error }) { - if (!error) { - return /*#__PURE__*/ (0, _jsxruntime.jsxs)("html", { - children: [ - /*#__PURE__*/ (0, _jsxruntime.jsx)("head", {}), - /*#__PURE__*/ (0, _jsxruntime.jsx)("body", {}) - ] - }); - } - return /*#__PURE__*/ (0, _jsxruntime.jsxs)(_errorboundary.ErrorBoundary, { - errorComponent: _globalerror.default, - children: [ - globalErrorStyles, - /*#__PURE__*/ (0, _jsxruntime.jsx)(GlobalError, { - error: error - }) - ] - }); -} -class AppDevOverlayErrorBoundary extends _react.PureComponent { - static getDerivedStateFromError(error) { - _runtimeerrorhandler.RuntimeErrorHandler.hadRuntimeError = true; - return { - reactError: error - }; - } - componentDidCatch(err) { - if (("TURBOPACK compile-time value", "development") === 'development' && err.message === _segmentexplorernode.SEGMENT_EXPLORER_SIMULATED_ERROR_MESSAGE) { - return; - } - _nextdevtools.dispatcher.openErrorOverlay(); - } - render() { - const { children, globalError } = this.props; - const { reactError } = this.state; - const fallback = /*#__PURE__*/ (0, _jsxruntime.jsx)(ErroredHtml, { - globalError: globalError, - error: reactError - }); - return reactError !== null ? fallback : children; - } - constructor(...args){ - super(...args), this.state = { - reactError: null - }; - } -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=app-dev-overlay-error-boundary.js.map -}), -"[project]/node_modules/next/dist/next-devtools/userspace/use-app-dev-rendering-indicator.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "useAppDevRenderingIndicator", { - enumerable: true, - get: function() { - return useAppDevRenderingIndicator; - } -}); -const _react = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -const _nextdevtools = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/next-devtools/index.js (raw)"); -const useAppDevRenderingIndicator = ()=>{ - const [isPending, startTransition] = (0, _react.useTransition)(); - (0, _react.useEffect)(()=>{ - if (isPending) { - _nextdevtools.dispatcher.renderingIndicatorShow(); - } else { - _nextdevtools.dispatcher.renderingIndicatorHide(); - } - }, [ - isPending - ]); - return startTransition; -}; -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=use-app-dev-rendering-indicator.js.map -}), -"[project]/node_modules/next/dist/next-devtools/userspace/app/errors/replay-ssr-only-errors.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -"use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "ReplaySsrOnlyErrors", { - enumerable: true, - get: function() { - return ReplaySsrOnlyErrors; - } -}); -const _react = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); -const _useerrorhandler = __turbopack_context__.r("[project]/node_modules/next/dist/next-devtools/userspace/app/errors/use-error-handler.js [app-client] (ecmascript)"); -const _isnextroutererror = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/is-next-router-error.js [app-client] (ecmascript)"); -const _constants = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/errors/constants.js [app-client] (ecmascript)"); -function readSsrError() { - if (typeof document === 'undefined') { - return null; - } - const ssrErrorTemplateTag = document.querySelector('template[data-next-error-message]'); - if (ssrErrorTemplateTag) { - const message = ssrErrorTemplateTag.getAttribute('data-next-error-message'); - const stack = ssrErrorTemplateTag.getAttribute('data-next-error-stack'); - const digest = ssrErrorTemplateTag.getAttribute('data-next-error-digest'); - const error = Object.defineProperty(new Error(message), "__NEXT_ERROR_CODE", { - value: "E394", - enumerable: false, - configurable: true - }); - if (digest) { - ; - error.digest = digest; - } - // Skip Next.js SSR'd internal errors that which will be handled by the error boundaries. - if ((0, _isnextroutererror.isNextRouterError)(error)) { - return null; - } - error.stack = stack || ''; - return error; - } - return null; -} -function ReplaySsrOnlyErrors({ onBlockingError }) { - if ("TURBOPACK compile-time truthy", 1) { - // Need to read during render. The attributes will be gone after commit. - const ssrError = readSsrError(); - // eslint-disable-next-line react-hooks/rules-of-hooks - (0, _react.useEffect)(()=>{ - if (ssrError !== null) { - // TODO(veil): Include original Owner Stack (NDX-905) - // TODO(veil): Mark as recoverable error - // TODO(veil): console.error - (0, _useerrorhandler.handleClientError)(ssrError); - // If it's missing root tags, we can't recover, make it blocking. - if (ssrError.digest === _constants.MISSING_ROOT_TAGS_ERROR) { - onBlockingError(); - } - } - }, [ - ssrError, - onBlockingError - ]); - } - return null; -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=replay-ssr-only-errors.js.map -}), -"[project]/node_modules/next/dist/next-devtools/userspace/app/client-entry.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "RootLevelDevOverlayElement", { - enumerable: true, - get: function() { - return RootLevelDevOverlayElement; - } -}); -const _interop_require_default = __turbopack_context__.r("[project]/node_modules/@swc/helpers/cjs/_interop_require_default.cjs [app-client] (ecmascript)"); -const _jsxruntime = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/jsx-runtime.js [app-client] (ecmascript)"); -const _react = /*#__PURE__*/ _interop_require_default._(__turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)")); -const _globalerror = /*#__PURE__*/ _interop_require_default._(__turbopack_context__.r("[project]/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)")); -const _appdevoverlayerrorboundary = __turbopack_context__.r("[project]/node_modules/next/dist/next-devtools/userspace/app/app-dev-overlay-error-boundary.js [app-client] (ecmascript)"); -function RootLevelDevOverlayElement({ children }) { - return /*#__PURE__*/ (0, _jsxruntime.jsx)(_appdevoverlayerrorboundary.AppDevOverlayErrorBoundary, { - globalError: [ - _globalerror.default, - null - ], - children: children - }); -} -if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') { - Object.defineProperty(exports.default, '__esModule', { - value: true - }); - Object.assign(exports.default, exports); - module.exports = exports.default; -} //# sourceMappingURL=client-entry.js.map -}), -"[project]/node_modules/next/dist/server/app-render/async-local-storage.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - bindSnapshot: null, - createAsyncLocalStorage: null, - createSnapshot: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - bindSnapshot: function() { - return bindSnapshot; - }, - createAsyncLocalStorage: function() { - return createAsyncLocalStorage; - }, - createSnapshot: function() { - return createSnapshot; - } -}); -const sharedAsyncLocalStorageNotAvailableError = Object.defineProperty(new Error('Invariant: AsyncLocalStorage accessed in runtime where it is not available'), "__NEXT_ERROR_CODE", { - value: "E504", - enumerable: false, - configurable: true -}); -class FakeAsyncLocalStorage { - disable() { - throw sharedAsyncLocalStorageNotAvailableError; - } - getStore() { - // This fake implementation of AsyncLocalStorage always returns `undefined`. - return undefined; - } - run() { - throw sharedAsyncLocalStorageNotAvailableError; - } - exit() { - throw sharedAsyncLocalStorageNotAvailableError; - } - enterWith() { - throw sharedAsyncLocalStorageNotAvailableError; - } - static bind(fn) { - return fn; - } -} -const maybeGlobalAsyncLocalStorage = typeof globalThis !== 'undefined' && globalThis.AsyncLocalStorage; -function createAsyncLocalStorage() { - if (maybeGlobalAsyncLocalStorage) { - return new maybeGlobalAsyncLocalStorage(); - } - return new FakeAsyncLocalStorage(); -} -function bindSnapshot(fn) { - if (maybeGlobalAsyncLocalStorage) { - return maybeGlobalAsyncLocalStorage.bind(fn); - } - return FakeAsyncLocalStorage.bind(fn); -} -function createSnapshot() { - if (maybeGlobalAsyncLocalStorage) { - return maybeGlobalAsyncLocalStorage.snapshot(); - } - return function(fn, ...args) { - return fn(...args); - }; -} //# sourceMappingURL=async-local-storage.js.map -}), -"[project]/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "workUnitAsyncStorageInstance", { - enumerable: true, - get: function() { - return workUnitAsyncStorageInstance; - } -}); -const _asynclocalstorage = __turbopack_context__.r("[project]/node_modules/next/dist/server/app-render/async-local-storage.js [app-client] (ecmascript)"); -const workUnitAsyncStorageInstance = (0, _asynclocalstorage.createAsyncLocalStorage)(); //# sourceMappingURL=work-unit-async-storage-instance.js.map -}), -"[project]/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - getCacheSignal: null, - getDraftModeProviderForCacheScope: null, - getHmrRefreshHash: null, - getPrerenderResumeDataCache: null, - getRenderResumeDataCache: null, - getRuntimeStagePromise: null, - getServerComponentsHmrCache: null, - isHmrRefresh: null, - throwForMissingRequestStore: null, - throwInvariantForMissingStore: null, - workUnitAsyncStorage: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - getCacheSignal: function() { - return getCacheSignal; - }, - getDraftModeProviderForCacheScope: function() { - return getDraftModeProviderForCacheScope; - }, - getHmrRefreshHash: function() { - return getHmrRefreshHash; - }, - getPrerenderResumeDataCache: function() { - return getPrerenderResumeDataCache; - }, - getRenderResumeDataCache: function() { - return getRenderResumeDataCache; - }, - getRuntimeStagePromise: function() { - return getRuntimeStagePromise; - }, - getServerComponentsHmrCache: function() { - return getServerComponentsHmrCache; - }, - isHmrRefresh: function() { - return isHmrRefresh; - }, - throwForMissingRequestStore: function() { - return throwForMissingRequestStore; - }, - throwInvariantForMissingStore: function() { - return throwInvariantForMissingStore; - }, - workUnitAsyncStorage: function() { - return _workunitasyncstorageinstance.workUnitAsyncStorageInstance; - } -}); -const _workunitasyncstorageinstance = __turbopack_context__.r("[project]/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js [app-client] (ecmascript)"); -const _approuterheaders = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/app-router-headers.js [app-client] (ecmascript)"); -const _invarianterror = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/invariant-error.js [app-client] (ecmascript)"); -function throwForMissingRequestStore(callingExpression) { - throw Object.defineProperty(new Error(`\`${callingExpression}\` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context`), "__NEXT_ERROR_CODE", { - value: "E251", - enumerable: false, - configurable: true - }); -} -function throwInvariantForMissingStore() { - throw Object.defineProperty(new _invarianterror.InvariantError('Expected workUnitAsyncStorage to have a store.'), "__NEXT_ERROR_CODE", { - value: "E696", - enumerable: false, - configurable: true - }); -} -function getPrerenderResumeDataCache(workUnitStore) { - switch(workUnitStore.type){ - case 'prerender': - case 'prerender-runtime': - case 'prerender-ppr': - return workUnitStore.prerenderResumeDataCache; - case 'prerender-client': - // TODO eliminate fetch caching in client scope and stop exposing this data - // cache during SSR. - return workUnitStore.prerenderResumeDataCache; - case 'request': - { - // In dev, we might fill caches even during a dynamic request. - if (workUnitStore.prerenderResumeDataCache) { - return workUnitStore.prerenderResumeDataCache; - } - // fallthrough - } - case 'prerender-legacy': - case 'cache': - case 'private-cache': - case 'unstable-cache': - return null; - default: - return workUnitStore; - } -} -function getRenderResumeDataCache(workUnitStore) { - switch(workUnitStore.type){ - case 'request': - case 'prerender': - case 'prerender-runtime': - case 'prerender-client': - if (workUnitStore.renderResumeDataCache) { - // If we are in a prerender, we might have a render resume data cache - // that is used to read from prefilled caches. - return workUnitStore.renderResumeDataCache; - } - // fallthrough - case 'prerender-ppr': - // Otherwise we return the mutable resume data cache here as an immutable - // version of the cache as it can also be used for reading. - return workUnitStore.prerenderResumeDataCache ?? null; - case 'cache': - case 'private-cache': - case 'unstable-cache': - case 'prerender-legacy': - return null; - default: - return workUnitStore; - } -} -function getHmrRefreshHash(workStore, workUnitStore) { - if (workStore.dev) { - switch(workUnitStore.type){ - case 'cache': - case 'private-cache': - case 'prerender': - case 'prerender-runtime': - return workUnitStore.hmrRefreshHash; - case 'request': - var _workUnitStore_cookies_get; - return (_workUnitStore_cookies_get = workUnitStore.cookies.get(_approuterheaders.NEXT_HMR_REFRESH_HASH_COOKIE)) == null ? void 0 : _workUnitStore_cookies_get.value; - case 'prerender-client': - case 'prerender-ppr': - case 'prerender-legacy': - case 'unstable-cache': - break; - default: - workUnitStore; - } - } - return undefined; -} -function isHmrRefresh(workStore, workUnitStore) { - if (workStore.dev) { - switch(workUnitStore.type){ - case 'cache': - case 'private-cache': - case 'request': - return workUnitStore.isHmrRefresh ?? false; - case 'prerender': - case 'prerender-client': - case 'prerender-runtime': - case 'prerender-ppr': - case 'prerender-legacy': - case 'unstable-cache': - break; - default: - workUnitStore; - } - } - return false; -} -function getServerComponentsHmrCache(workStore, workUnitStore) { - if (workStore.dev) { - switch(workUnitStore.type){ - case 'cache': - case 'private-cache': - case 'request': - return workUnitStore.serverComponentsHmrCache; - case 'prerender': - case 'prerender-client': - case 'prerender-runtime': - case 'prerender-ppr': - case 'prerender-legacy': - case 'unstable-cache': - break; - default: - workUnitStore; - } - } - return undefined; -} -function getDraftModeProviderForCacheScope(workStore, workUnitStore) { - if (workStore.isDraftMode) { - switch(workUnitStore.type){ - case 'cache': - case 'private-cache': - case 'unstable-cache': - case 'prerender-runtime': - case 'request': - return workUnitStore.draftMode; - case 'prerender': - case 'prerender-client': - case 'prerender-ppr': - case 'prerender-legacy': - break; - default: - workUnitStore; - } - } - return undefined; -} -function getCacheSignal(workUnitStore) { - switch(workUnitStore.type){ - case 'prerender': - case 'prerender-client': - case 'prerender-runtime': - return workUnitStore.cacheSignal; - case 'request': - { - // In dev, we might fill caches even during a dynamic request. - if (workUnitStore.cacheSignal) { - return workUnitStore.cacheSignal; - } - // fallthrough - } - case 'prerender-ppr': - case 'prerender-legacy': - case 'cache': - case 'private-cache': - case 'unstable-cache': - return null; - default: - return workUnitStore; - } -} -function getRuntimeStagePromise(workUnitStore) { - switch(workUnitStore.type){ - case 'prerender-runtime': - case 'private-cache': - return workUnitStore.runtimeStagePromise; - case 'prerender': - case 'prerender-client': - case 'prerender-ppr': - case 'prerender-legacy': - case 'request': - case 'cache': - case 'unstable-cache': - return null; - default: - return workUnitStore; - } -} //# sourceMappingURL=work-unit-async-storage.external.js.map -}), -"[project]/node_modules/next/dist/server/app-render/work-async-storage-instance.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "workAsyncStorageInstance", { - enumerable: true, - get: function() { - return workAsyncStorageInstance; - } -}); -const _asynclocalstorage = __turbopack_context__.r("[project]/node_modules/next/dist/server/app-render/async-local-storage.js [app-client] (ecmascript)"); -const workAsyncStorageInstance = (0, _asynclocalstorage.createAsyncLocalStorage)(); //# sourceMappingURL=work-async-storage-instance.js.map -}), -"[project]/node_modules/next/dist/server/app-render/work-async-storage.external.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "workAsyncStorage", { - enumerable: true, - get: function() { - return _workasyncstorageinstance.workAsyncStorageInstance; - } -}); -const _workasyncstorageinstance = __turbopack_context__.r("[project]/node_modules/next/dist/server/app-render/work-async-storage-instance.js [app-client] (ecmascript)"); //# sourceMappingURL=work-async-storage.external.js.map -}), -"[project]/node_modules/next/dist/server/app-render/action-async-storage-instance.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "actionAsyncStorageInstance", { - enumerable: true, - get: function() { - return actionAsyncStorageInstance; - } -}); -const _asynclocalstorage = __turbopack_context__.r("[project]/node_modules/next/dist/server/app-render/async-local-storage.js [app-client] (ecmascript)"); -const actionAsyncStorageInstance = (0, _asynclocalstorage.createAsyncLocalStorage)(); //# sourceMappingURL=action-async-storage-instance.js.map -}), -"[project]/node_modules/next/dist/server/app-render/action-async-storage.external.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "actionAsyncStorage", { - enumerable: true, - get: function() { - return _actionasyncstorageinstance.actionAsyncStorageInstance; - } -}); -const _actionasyncstorageinstance = __turbopack_context__.r("[project]/node_modules/next/dist/server/app-render/action-async-storage-instance.js [app-client] (ecmascript)"); //# sourceMappingURL=action-async-storage.external.js.map -}), -"[project]/node_modules/next/dist/server/dynamic-rendering-utils.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - isHangingPromiseRejectionError: null, - makeDevtoolsIOAwarePromise: null, - makeHangingPromise: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - isHangingPromiseRejectionError: function() { - return isHangingPromiseRejectionError; - }, - makeDevtoolsIOAwarePromise: function() { - return makeDevtoolsIOAwarePromise; - }, - makeHangingPromise: function() { - return makeHangingPromise; - } -}); -function isHangingPromiseRejectionError(err) { - if (typeof err !== 'object' || err === null || !('digest' in err)) { - return false; - } - return err.digest === HANGING_PROMISE_REJECTION; -} -const HANGING_PROMISE_REJECTION = 'HANGING_PROMISE_REJECTION'; -class HangingPromiseRejectionError extends Error { - constructor(route, expression){ - super(`During prerendering, ${expression} rejects when the prerender is complete. Typically these errors are handled by React but if you move ${expression} to a different context by using \`setTimeout\`, \`after\`, or similar functions you may observe this error and you should handle it in that context. This occurred at route "${route}".`), this.route = route, this.expression = expression, this.digest = HANGING_PROMISE_REJECTION; - } -} -const abortListenersBySignal = new WeakMap(); -function makeHangingPromise(signal, route, expression) { - if (signal.aborted) { - return Promise.reject(new HangingPromiseRejectionError(route, expression)); - } else { - const hangingPromise = new Promise((_, reject)=>{ - const boundRejection = reject.bind(null, new HangingPromiseRejectionError(route, expression)); - let currentListeners = abortListenersBySignal.get(signal); - if (currentListeners) { - currentListeners.push(boundRejection); - } else { - const listeners = [ - boundRejection - ]; - abortListenersBySignal.set(signal, listeners); - signal.addEventListener('abort', ()=>{ - for(let i = 0; i < listeners.length; i++){ - listeners[i](); - } - }, { - once: true - }); - } - }); - // We are fine if no one actually awaits this promise. We shouldn't consider this an unhandled rejection so - // we attach a noop catch handler here to suppress this warning. If you actually await somewhere or construct - // your own promise out of it you'll need to ensure you handle the error when it rejects. - hangingPromise.catch(ignoreReject); - return hangingPromise; - } -} -function ignoreReject() {} -function makeDevtoolsIOAwarePromise(underlying, requestStore, stage) { - if (requestStore.stagedRendering) { - // We resolve each stage in a timeout, so React DevTools will pick this up as IO. - return requestStore.stagedRendering.delayUntilStage(stage, undefined, underlying); - } - // in React DevTools if we resolve in a setTimeout we will observe - // the promise resolution as something that can suspend a boundary or root. - return new Promise((resolve)=>{ - // Must use setTimeout to be considered IO React DevTools. setImmediate will not work. - setTimeout(()=>{ - resolve(underlying); - }, 0); - }); -} //# sourceMappingURL=dynamic-rendering-utils.js.map -}), -"[project]/node_modules/next/dist/server/lib/router-utils/is-postpone.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "isPostpone", { - enumerable: true, - get: function() { - return isPostpone; - } -}); -const REACT_POSTPONE_TYPE = Symbol.for('react.postpone'); -function isPostpone(error) { - return typeof error === 'object' && error !== null && error.$$typeof === REACT_POSTPONE_TYPE; -} //# sourceMappingURL=is-postpone.js.map -}), -"[project]/node_modules/next/dist/server/app-render/dynamic-rendering.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)"); -/** - * The functions provided by this module are used to communicate certain properties - * about the currently running code so that Next.js can make decisions on how to handle - * the current execution in different rendering modes such as pre-rendering, resuming, and SSR. - * - * Today Next.js treats all code as potentially static. Certain APIs may only make sense when dynamically rendering. - * Traditionally this meant deopting the entire render to dynamic however with PPR we can now deopt parts - * of a React tree as dynamic while still keeping other parts static. There are really two different kinds of - * Dynamic indications. - * - * The first is simply an intention to be dynamic. unstable_noStore is an example of this where - * the currently executing code simply declares that the current scope is dynamic but if you use it - * inside unstable_cache it can still be cached. This type of indication can be removed if we ever - * make the default dynamic to begin with because the only way you would ever be static is inside - * a cache scope which this indication does not affect. - * - * The second is an indication that a dynamic data source was read. This is a stronger form of dynamic - * because it means that it is inappropriate to cache this at all. using a dynamic data source inside - * unstable_cache should error. If you want to use some dynamic data inside unstable_cache you should - * read that data outside the cache and pass it in as an argument to the cached function. - */ "use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - Postpone: null, - PreludeState: null, - abortAndThrowOnSynchronousRequestDataAccess: null, - abortOnSynchronousPlatformIOAccess: null, - accessedDynamicData: null, - annotateDynamicAccess: null, - consumeDynamicAccess: null, - createDynamicTrackingState: null, - createDynamicValidationState: null, - createHangingInputAbortSignal: null, - createRenderInBrowserAbortSignal: null, - delayUntilRuntimeStage: null, - formatDynamicAPIAccesses: null, - getFirstDynamicReason: null, - getStaticShellDisallowedDynamicReasons: null, - isDynamicPostpone: null, - isPrerenderInterruptedError: null, - logDisallowedDynamicError: null, - markCurrentScopeAsDynamic: null, - postponeWithTracking: null, - throwIfDisallowedDynamic: null, - throwToInterruptStaticGeneration: null, - trackAllowedDynamicAccess: null, - trackDynamicDataInDynamicRender: null, - trackDynamicHoleInRuntimeShell: null, - trackDynamicHoleInStaticShell: null, - useDynamicRouteParams: null, - useDynamicSearchParams: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - Postpone: function() { - return Postpone; - }, - PreludeState: function() { - return PreludeState; - }, - abortAndThrowOnSynchronousRequestDataAccess: function() { - return abortAndThrowOnSynchronousRequestDataAccess; - }, - abortOnSynchronousPlatformIOAccess: function() { - return abortOnSynchronousPlatformIOAccess; - }, - accessedDynamicData: function() { - return accessedDynamicData; - }, - annotateDynamicAccess: function() { - return annotateDynamicAccess; - }, - consumeDynamicAccess: function() { - return consumeDynamicAccess; - }, - createDynamicTrackingState: function() { - return createDynamicTrackingState; - }, - createDynamicValidationState: function() { - return createDynamicValidationState; - }, - createHangingInputAbortSignal: function() { - return createHangingInputAbortSignal; - }, - createRenderInBrowserAbortSignal: function() { - return createRenderInBrowserAbortSignal; - }, - delayUntilRuntimeStage: function() { - return delayUntilRuntimeStage; - }, - formatDynamicAPIAccesses: function() { - return formatDynamicAPIAccesses; - }, - getFirstDynamicReason: function() { - return getFirstDynamicReason; - }, - getStaticShellDisallowedDynamicReasons: function() { - return getStaticShellDisallowedDynamicReasons; - }, - isDynamicPostpone: function() { - return isDynamicPostpone; - }, - isPrerenderInterruptedError: function() { - return isPrerenderInterruptedError; - }, - logDisallowedDynamicError: function() { - return logDisallowedDynamicError; - }, - markCurrentScopeAsDynamic: function() { - return markCurrentScopeAsDynamic; - }, - postponeWithTracking: function() { - return postponeWithTracking; - }, - throwIfDisallowedDynamic: function() { - return throwIfDisallowedDynamic; - }, - throwToInterruptStaticGeneration: function() { - return throwToInterruptStaticGeneration; - }, - trackAllowedDynamicAccess: function() { - return trackAllowedDynamicAccess; - }, - trackDynamicDataInDynamicRender: function() { - return trackDynamicDataInDynamicRender; - }, - trackDynamicHoleInRuntimeShell: function() { - return trackDynamicHoleInRuntimeShell; - }, - trackDynamicHoleInStaticShell: function() { - return trackDynamicHoleInStaticShell; - }, - useDynamicRouteParams: function() { - return useDynamicRouteParams; - }, - useDynamicSearchParams: function() { - return useDynamicSearchParams; - } -}); -const _react = /*#__PURE__*/ _interop_require_default(__turbopack_context__.r("[project]/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)")); -const _hooksservercontext = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/hooks-server-context.js [app-client] (ecmascript)"); -const _staticgenerationbailout = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/static-generation-bailout.js [app-client] (ecmascript)"); -const _workunitasyncstorageexternal = __turbopack_context__.r("[project]/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js [app-client] (ecmascript)"); -const _workasyncstorageexternal = __turbopack_context__.r("[project]/node_modules/next/dist/server/app-render/work-async-storage.external.js [app-client] (ecmascript)"); -const _dynamicrenderingutils = __turbopack_context__.r("[project]/node_modules/next/dist/server/dynamic-rendering-utils.js [app-client] (ecmascript)"); -const _boundaryconstants = __turbopack_context__.r("[project]/node_modules/next/dist/lib/framework/boundary-constants.js [app-client] (ecmascript)"); -const _scheduler = __turbopack_context__.r("[project]/node_modules/next/dist/lib/scheduler.js [app-client] (ecmascript)"); -const _bailouttocsr = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js [app-client] (ecmascript)"); -const _invarianterror = __turbopack_context__.r("[project]/node_modules/next/dist/shared/lib/invariant-error.js [app-client] (ecmascript)"); -function _interop_require_default(obj) { - return obj && obj.__esModule ? obj : { - default: obj - }; -} -const hasPostpone = typeof _react.default.unstable_postpone === 'function'; -function createDynamicTrackingState(isDebugDynamicAccesses) { - return { - isDebugDynamicAccesses, - dynamicAccesses: [], - syncDynamicErrorWithStack: null - }; -} -function createDynamicValidationState() { - return { - hasSuspenseAboveBody: false, - hasDynamicMetadata: false, - dynamicMetadata: null, - hasDynamicViewport: false, - hasAllowedDynamic: false, - dynamicErrors: [] - }; -} -function getFirstDynamicReason(trackingState) { - var _trackingState_dynamicAccesses_; - return (_trackingState_dynamicAccesses_ = trackingState.dynamicAccesses[0]) == null ? void 0 : _trackingState_dynamicAccesses_.expression; -} -function markCurrentScopeAsDynamic(store, workUnitStore, expression) { - if (workUnitStore) { - switch(workUnitStore.type){ - case 'cache': - case 'unstable-cache': - // Inside cache scopes, marking a scope as dynamic has no effect, - // because the outer cache scope creates a cache boundary. This is - // subtly different from reading a dynamic data source, which is - // forbidden inside a cache scope. - return; - case 'private-cache': - // A private cache scope is already dynamic by definition. - return; - case 'prerender-legacy': - case 'prerender-ppr': - case 'request': - break; - default: - workUnitStore; - } - } - // If we're forcing dynamic rendering or we're forcing static rendering, we - // don't need to do anything here because the entire page is already dynamic - // or it's static and it should not throw or postpone here. - if (store.forceDynamic || store.forceStatic) return; - if (store.dynamicShouldError) { - throw Object.defineProperty(new _staticgenerationbailout.StaticGenBailoutError(`Route ${store.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`${expression}\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`), "__NEXT_ERROR_CODE", { - value: "E553", - enumerable: false, - configurable: true - }); - } - if (workUnitStore) { - switch(workUnitStore.type){ - case 'prerender-ppr': - return postponeWithTracking(store.route, expression, workUnitStore.dynamicTracking); - case 'prerender-legacy': - workUnitStore.revalidate = 0; - // We aren't prerendering, but we are generating a static page. We need - // to bail out of static generation. - const err = Object.defineProperty(new _hooksservercontext.DynamicServerError(`Route ${store.route} couldn't be rendered statically because it used ${expression}. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`), "__NEXT_ERROR_CODE", { - value: "E550", - enumerable: false, - configurable: true - }); - store.dynamicUsageDescription = expression; - store.dynamicUsageStack = err.stack; - throw err; - case 'request': - if ("TURBOPACK compile-time truthy", 1) { - workUnitStore.usedDynamic = true; - } - break; - default: - workUnitStore; - } - } -} -function throwToInterruptStaticGeneration(expression, store, prerenderStore) { - // We aren't prerendering but we are generating a static page. We need to bail out of static generation - const err = Object.defineProperty(new _hooksservercontext.DynamicServerError(`Route ${store.route} couldn't be rendered statically because it used \`${expression}\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`), "__NEXT_ERROR_CODE", { - value: "E558", - enumerable: false, - configurable: true - }); - prerenderStore.revalidate = 0; - store.dynamicUsageDescription = expression; - store.dynamicUsageStack = err.stack; - throw err; -} -function trackDynamicDataInDynamicRender(workUnitStore) { - switch(workUnitStore.type){ - case 'cache': - case 'unstable-cache': - // Inside cache scopes, marking a scope as dynamic has no effect, - // because the outer cache scope creates a cache boundary. This is - // subtly different from reading a dynamic data source, which is - // forbidden inside a cache scope. - return; - case 'private-cache': - // A private cache scope is already dynamic by definition. - return; - case 'prerender': - case 'prerender-runtime': - case 'prerender-legacy': - case 'prerender-ppr': - case 'prerender-client': - break; - case 'request': - if ("TURBOPACK compile-time truthy", 1) { - workUnitStore.usedDynamic = true; - } - break; - default: - workUnitStore; - } -} -function abortOnSynchronousDynamicDataAccess(route, expression, prerenderStore) { - const reason = `Route ${route} needs to bail out of prerendering at this point because it used ${expression}.`; - const error = createPrerenderInterruptedError(reason); - prerenderStore.controller.abort(error); - const dynamicTracking = prerenderStore.dynamicTracking; - if (dynamicTracking) { - dynamicTracking.dynamicAccesses.push({ - // When we aren't debugging, we don't need to create another error for the - // stack trace. - stack: dynamicTracking.isDebugDynamicAccesses ? new Error().stack : undefined, - expression - }); - } -} -function abortOnSynchronousPlatformIOAccess(route, expression, errorWithStack, prerenderStore) { - const dynamicTracking = prerenderStore.dynamicTracking; - abortOnSynchronousDynamicDataAccess(route, expression, prerenderStore); - // It is important that we set this tracking value after aborting. Aborts are executed - // synchronously except for the case where you abort during render itself. By setting this - // value late we can use it to determine if any of the aborted tasks are the task that - // called the sync IO expression in the first place. - if (dynamicTracking) { - if (dynamicTracking.syncDynamicErrorWithStack === null) { - dynamicTracking.syncDynamicErrorWithStack = errorWithStack; - } - } -} -function abortAndThrowOnSynchronousRequestDataAccess(route, expression, errorWithStack, prerenderStore) { - const prerenderSignal = prerenderStore.controller.signal; - if (prerenderSignal.aborted === false) { - // TODO it would be better to move this aborted check into the callsite so we can avoid making - // the error object when it isn't relevant to the aborting of the prerender however - // since we need the throw semantics regardless of whether we abort it is easier to land - // this way. See how this was handled with `abortOnSynchronousPlatformIOAccess` for a closer - // to ideal implementation - abortOnSynchronousDynamicDataAccess(route, expression, prerenderStore); - // It is important that we set this tracking value after aborting. Aborts are executed - // synchronously except for the case where you abort during render itself. By setting this - // value late we can use it to determine if any of the aborted tasks are the task that - // called the sync IO expression in the first place. - const dynamicTracking = prerenderStore.dynamicTracking; - if (dynamicTracking) { - if (dynamicTracking.syncDynamicErrorWithStack === null) { - dynamicTracking.syncDynamicErrorWithStack = errorWithStack; - } - } - } - throw createPrerenderInterruptedError(`Route ${route} needs to bail out of prerendering at this point because it used ${expression}.`); -} -function Postpone({ reason, route }) { - const prerenderStore = _workunitasyncstorageexternal.workUnitAsyncStorage.getStore(); - const dynamicTracking = prerenderStore && prerenderStore.type === 'prerender-ppr' ? prerenderStore.dynamicTracking : null; - postponeWithTracking(route, reason, dynamicTracking); -} -function postponeWithTracking(route, expression, dynamicTracking) { - assertPostpone(); - if (dynamicTracking) { - dynamicTracking.dynamicAccesses.push({ - // When we aren't debugging, we don't need to create another error for the - // stack trace. - stack: dynamicTracking.isDebugDynamicAccesses ? new Error().stack : undefined, - expression - }); - } - _react.default.unstable_postpone(createPostponeReason(route, expression)); -} -function createPostponeReason(route, expression) { - return `Route ${route} needs to bail out of prerendering at this point because it used ${expression}. ` + `React throws this special object to indicate where. It should not be caught by ` + `your own try/catch. Learn more: https://nextjs.org/docs/messages/ppr-caught-error`; -} -function isDynamicPostpone(err) { - if (typeof err === 'object' && err !== null && typeof err.message === 'string') { - return isDynamicPostponeReason(err.message); - } - return false; -} -function isDynamicPostponeReason(reason) { - return reason.includes('needs to bail out of prerendering at this point because it used') && reason.includes('Learn more: https://nextjs.org/docs/messages/ppr-caught-error'); -} -if (isDynamicPostponeReason(createPostponeReason('%%%', '^^^')) === false) { - throw Object.defineProperty(new Error('Invariant: isDynamicPostpone misidentified a postpone reason. This is a bug in Next.js'), "__NEXT_ERROR_CODE", { - value: "E296", - enumerable: false, - configurable: true - }); -} -const NEXT_PRERENDER_INTERRUPTED = 'NEXT_PRERENDER_INTERRUPTED'; -function createPrerenderInterruptedError(message) { - const error = Object.defineProperty(new Error(message), "__NEXT_ERROR_CODE", { - value: "E394", - enumerable: false, - configurable: true - }); - error.digest = NEXT_PRERENDER_INTERRUPTED; - return error; -} -function isPrerenderInterruptedError(error) { - return typeof error === 'object' && error !== null && error.digest === NEXT_PRERENDER_INTERRUPTED && 'name' in error && 'message' in error && error instanceof Error; -} -function accessedDynamicData(dynamicAccesses) { - return dynamicAccesses.length > 0; -} -function consumeDynamicAccess(serverDynamic, clientDynamic) { - // We mutate because we only call this once we are no longer writing - // to the dynamicTrackingState and it's more efficient than creating a new - // array. - serverDynamic.dynamicAccesses.push(...clientDynamic.dynamicAccesses); - return serverDynamic.dynamicAccesses; -} -function formatDynamicAPIAccesses(dynamicAccesses) { - return dynamicAccesses.filter((access)=>typeof access.stack === 'string' && access.stack.length > 0).map(({ expression, stack })=>{ - stack = stack.split('\n') // Remove the "Error: " prefix from the first line of the stack trace as - // well as the first 4 lines of the stack trace which is the distance - // from the user code and the `new Error().stack` call. - .slice(4).filter((line)=>{ - // Exclude Next.js internals from the stack trace. - if (line.includes('node_modules/next/')) { - return false; - } - // Exclude anonymous functions from the stack trace. - if (line.includes(' (<anonymous>)')) { - return false; - } - // Exclude Node.js internals from the stack trace. - if (line.includes(' (node:')) { - return false; - } - return true; - }).join('\n'); - return `Dynamic API Usage Debug - ${expression}:\n${stack}`; - }); -} -function assertPostpone() { - if (!hasPostpone) { - throw Object.defineProperty(new Error(`Invariant: React.unstable_postpone is not defined. This suggests the wrong version of React was loaded. This is a bug in Next.js`), "__NEXT_ERROR_CODE", { - value: "E224", - enumerable: false, - configurable: true - }); - } -} -function createRenderInBrowserAbortSignal() { - const controller = new AbortController(); - controller.abort(Object.defineProperty(new _bailouttocsr.BailoutToCSRError('Render in Browser'), "__NEXT_ERROR_CODE", { - value: "E721", - enumerable: false, - configurable: true - })); - return controller.signal; -} -function createHangingInputAbortSignal(workUnitStore) { - switch(workUnitStore.type){ - case 'prerender': - case 'prerender-runtime': - const controller = new AbortController(); - if (workUnitStore.cacheSignal) { - // If we have a cacheSignal it means we're in a prospective render. If - // the input we're waiting on is coming from another cache, we do want - // to wait for it so that we can resolve this cache entry too. - workUnitStore.cacheSignal.inputReady().then(()=>{ - controller.abort(); - }); - } else { - // Otherwise we're in the final render and we should already have all - // our caches filled. - // If the prerender uses stages, we have wait until the runtime stage, - // at which point all runtime inputs will be resolved. - // (otherwise, a runtime prerender might consider `cookies()` hanging - // even though they'd resolve in the next task.) - // - // We might still be waiting on some microtasks so we - // wait one tick before giving up. When we give up, we still want to - // render the content of this cache as deeply as we can so that we can - // suspend as deeply as possible in the tree or not at all if we don't - // end up waiting for the input. - const runtimeStagePromise = (0, _workunitasyncstorageexternal.getRuntimeStagePromise)(workUnitStore); - if (runtimeStagePromise) { - runtimeStagePromise.then(()=>(0, _scheduler.scheduleOnNextTick)(()=>controller.abort())); - } else { - (0, _scheduler.scheduleOnNextTick)(()=>controller.abort()); - } - } - return controller.signal; - case 'prerender-client': - case 'prerender-ppr': - case 'prerender-legacy': - case 'request': - case 'cache': - case 'private-cache': - case 'unstable-cache': - return undefined; - default: - workUnitStore; - } -} -function annotateDynamicAccess(expression, prerenderStore) { - const dynamicTracking = prerenderStore.dynamicTracking; - if (dynamicTracking) { - dynamicTracking.dynamicAccesses.push({ - stack: dynamicTracking.isDebugDynamicAccesses ? new Error().stack : undefined, - expression - }); - } -} -function useDynamicRouteParams(expression) { - const workStore = _workasyncstorageexternal.workAsyncStorage.getStore(); - const workUnitStore = _workunitasyncstorageexternal.workUnitAsyncStorage.getStore(); - if (workStore && workUnitStore) { - switch(workUnitStore.type){ - case 'prerender-client': - case 'prerender': - { - const fallbackParams = workUnitStore.fallbackRouteParams; - if (fallbackParams && fallbackParams.size > 0) { - // We are in a prerender with cacheComponents semantics. We are going to - // hang here and never resolve. This will cause the currently - // rendering component to effectively be a dynamic hole. - _react.default.use((0, _dynamicrenderingutils.makeHangingPromise)(workUnitStore.renderSignal, workStore.route, expression)); - } - break; - } - case 'prerender-ppr': - { - const fallbackParams = workUnitStore.fallbackRouteParams; - if (fallbackParams && fallbackParams.size > 0) { - return postponeWithTracking(workStore.route, expression, workUnitStore.dynamicTracking); - } - break; - } - case 'prerender-runtime': - throw Object.defineProperty(new _invarianterror.InvariantError(`\`${expression}\` was called during a runtime prerender. Next.js should be preventing ${expression} from being included in server components statically, but did not in this case.`), "__NEXT_ERROR_CODE", { - value: "E771", - enumerable: false, - configurable: true - }); - case 'cache': - case 'private-cache': - throw Object.defineProperty(new _invarianterror.InvariantError(`\`${expression}\` was called inside a cache scope. Next.js should be preventing ${expression} from being included in server components statically, but did not in this case.`), "__NEXT_ERROR_CODE", { - value: "E745", - enumerable: false, - configurable: true - }); - case 'prerender-legacy': - case 'request': - case 'unstable-cache': - break; - default: - workUnitStore; - } - } -} -function useDynamicSearchParams(expression) { - const workStore = _workasyncstorageexternal.workAsyncStorage.getStore(); - const workUnitStore = _workunitasyncstorageexternal.workUnitAsyncStorage.getStore(); - if (!workStore) { - // We assume pages router context and just return - return; - } - if (!workUnitStore) { - (0, _workunitasyncstorageexternal.throwForMissingRequestStore)(expression); - } - switch(workUnitStore.type){ - case 'prerender-client': - { - _react.default.use((0, _dynamicrenderingutils.makeHangingPromise)(workUnitStore.renderSignal, workStore.route, expression)); - break; - } - case 'prerender-legacy': - case 'prerender-ppr': - { - if (workStore.forceStatic) { - return; - } - throw Object.defineProperty(new _bailouttocsr.BailoutToCSRError(expression), "__NEXT_ERROR_CODE", { - value: "E394", - enumerable: false, - configurable: true - }); - } - case 'prerender': - case 'prerender-runtime': - throw Object.defineProperty(new _invarianterror.InvariantError(`\`${expression}\` was called from a Server Component. Next.js should be preventing ${expression} from being included in server components statically, but did not in this case.`), "__NEXT_ERROR_CODE", { - value: "E795", - enumerable: false, - configurable: true - }); - case 'cache': - case 'unstable-cache': - case 'private-cache': - throw Object.defineProperty(new _invarianterror.InvariantError(`\`${expression}\` was called inside a cache scope. Next.js should be preventing ${expression} from being included in server components statically, but did not in this case.`), "__NEXT_ERROR_CODE", { - value: "E745", - enumerable: false, - configurable: true - }); - case 'request': - return; - default: - workUnitStore; - } -} -const hasSuspenseRegex = /\n\s+at Suspense \(<anonymous>\)/; -// Common implicit body tags that React will treat as body when placed directly in html -const bodyAndImplicitTags = 'body|div|main|section|article|aside|header|footer|nav|form|p|span|h1|h2|h3|h4|h5|h6'; -// Detects when RootLayoutBoundary (our framework marker component) appears -// after Suspense in the component stack, indicating the root layout is wrapped -// within a Suspense boundary. Ensures no body/html/implicit-body components are in between. -// -// Example matches: -// at Suspense (<anonymous>) -// at __next_root_layout_boundary__ (<anonymous>) -// -// Or with other components in between (but not body/html/implicit-body): -// at Suspense (<anonymous>) -// at SomeComponent (<anonymous>) -// at __next_root_layout_boundary__ (<anonymous>) -const hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex = new RegExp(`\\n\\s+at Suspense \\(<anonymous>\\)(?:(?!\\n\\s+at (?:${bodyAndImplicitTags}) \\(<anonymous>\\))[\\s\\S])*?\\n\\s+at ${_boundaryconstants.ROOT_LAYOUT_BOUNDARY_NAME} \\([^\\n]*\\)`); -const hasMetadataRegex = new RegExp(`\\n\\s+at ${_boundaryconstants.METADATA_BOUNDARY_NAME}[\\n\\s]`); -const hasViewportRegex = new RegExp(`\\n\\s+at ${_boundaryconstants.VIEWPORT_BOUNDARY_NAME}[\\n\\s]`); -const hasOutletRegex = new RegExp(`\\n\\s+at ${_boundaryconstants.OUTLET_BOUNDARY_NAME}[\\n\\s]`); -function trackAllowedDynamicAccess(workStore, componentStack, dynamicValidation, clientDynamic) { - if (hasOutletRegex.test(componentStack)) { - // We don't need to track that this is dynamic. It is only so when something else is also dynamic. - return; - } else if (hasMetadataRegex.test(componentStack)) { - dynamicValidation.hasDynamicMetadata = true; - return; - } else if (hasViewportRegex.test(componentStack)) { - dynamicValidation.hasDynamicViewport = true; - return; - } else if (hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex.test(componentStack)) { - // For Suspense within body, the prelude wouldn't be empty so it wouldn't violate the empty static shells rule. - // But if you have Suspense above body, the prelude is empty but we allow that because having Suspense - // is an explicit signal from the user that they acknowledge the empty shell and want dynamic rendering. - dynamicValidation.hasAllowedDynamic = true; - dynamicValidation.hasSuspenseAboveBody = true; - return; - } else if (hasSuspenseRegex.test(componentStack)) { - // this error had a Suspense boundary above it so we don't need to report it as a source - // of disallowed - dynamicValidation.hasAllowedDynamic = true; - return; - } else if (clientDynamic.syncDynamicErrorWithStack) { - // This task was the task that called the sync error. - dynamicValidation.dynamicErrors.push(clientDynamic.syncDynamicErrorWithStack); - return; - } else { - const message = `Route "${workStore.route}": Uncached data was accessed outside of ` + '<Suspense>. This delays the entire page from rendering, resulting in a ' + 'slow user experience. Learn more: ' + 'https://nextjs.org/docs/messages/blocking-route'; - const error = createErrorWithComponentOrOwnerStack(message, componentStack); - dynamicValidation.dynamicErrors.push(error); - return; - } -} -function trackDynamicHoleInRuntimeShell(workStore, componentStack, dynamicValidation, clientDynamic) { - if (hasOutletRegex.test(componentStack)) { - // We don't need to track that this is dynamic. It is only so when something else is also dynamic. - return; - } else if (hasMetadataRegex.test(componentStack)) { - const message = `Route "${workStore.route}": Uncached data or \`connection()\` was accessed inside \`generateMetadata\`. Except for this instance, the page would have been entirely prerenderable which may have been the intended behavior. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`; - const error = createErrorWithComponentOrOwnerStack(message, componentStack); - dynamicValidation.dynamicMetadata = error; - return; - } else if (hasViewportRegex.test(componentStack)) { - const message = `Route "${workStore.route}": Uncached data or \`connection()\` was accessed inside \`generateViewport\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`; - const error = createErrorWithComponentOrOwnerStack(message, componentStack); - dynamicValidation.dynamicErrors.push(error); - return; - } else if (hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex.test(componentStack)) { - // For Suspense within body, the prelude wouldn't be empty so it wouldn't violate the empty static shells rule. - // But if you have Suspense above body, the prelude is empty but we allow that because having Suspense - // is an explicit signal from the user that they acknowledge the empty shell and want dynamic rendering. - dynamicValidation.hasAllowedDynamic = true; - dynamicValidation.hasSuspenseAboveBody = true; - return; - } else if (hasSuspenseRegex.test(componentStack)) { - // this error had a Suspense boundary above it so we don't need to report it as a source - // of disallowed - dynamicValidation.hasAllowedDynamic = true; - return; - } else if (clientDynamic.syncDynamicErrorWithStack) { - // This task was the task that called the sync error. - dynamicValidation.dynamicErrors.push(clientDynamic.syncDynamicErrorWithStack); - return; - } else { - const message = `Route "${workStore.route}": Uncached data or \`connection()\` was accessed outside of \`<Suspense>\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`; - const error = createErrorWithComponentOrOwnerStack(message, componentStack); - dynamicValidation.dynamicErrors.push(error); - return; - } -} -function trackDynamicHoleInStaticShell(workStore, componentStack, dynamicValidation, clientDynamic) { - if (hasOutletRegex.test(componentStack)) { - // We don't need to track that this is dynamic. It is only so when something else is also dynamic. - return; - } else if (hasMetadataRegex.test(componentStack)) { - const message = `Route "${workStore.route}": Runtime data such as \`cookies()\`, \`headers()\`, \`params\`, or \`searchParams\` was accessed inside \`generateMetadata\` or you have file-based metadata such as icons that depend on dynamic params segments. Except for this instance, the page would have been entirely prerenderable which may have been the intended behavior. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`; - const error = createErrorWithComponentOrOwnerStack(message, componentStack); - dynamicValidation.dynamicMetadata = error; - return; - } else if (hasViewportRegex.test(componentStack)) { - const message = `Route "${workStore.route}": Runtime data such as \`cookies()\`, \`headers()\`, \`params\`, or \`searchParams\` was accessed inside \`generateViewport\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`; - const error = createErrorWithComponentOrOwnerStack(message, componentStack); - dynamicValidation.dynamicErrors.push(error); - return; - } else if (hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex.test(componentStack)) { - // For Suspense within body, the prelude wouldn't be empty so it wouldn't violate the empty static shells rule. - // But if you have Suspense above body, the prelude is empty but we allow that because having Suspense - // is an explicit signal from the user that they acknowledge the empty shell and want dynamic rendering. - dynamicValidation.hasAllowedDynamic = true; - dynamicValidation.hasSuspenseAboveBody = true; - return; - } else if (hasSuspenseRegex.test(componentStack)) { - // this error had a Suspense boundary above it so we don't need to report it as a source - // of disallowed - dynamicValidation.hasAllowedDynamic = true; - return; - } else if (clientDynamic.syncDynamicErrorWithStack) { - // This task was the task that called the sync error. - dynamicValidation.dynamicErrors.push(clientDynamic.syncDynamicErrorWithStack); - return; - } else { - const message = `Route "${workStore.route}": Runtime data such as \`cookies()\`, \`headers()\`, \`params\`, or \`searchParams\` was accessed outside of \`<Suspense>\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`; - const error = createErrorWithComponentOrOwnerStack(message, componentStack); - dynamicValidation.dynamicErrors.push(error); - return; - } -} -/** - * In dev mode, we prefer using the owner stack, otherwise the provided - * component stack is used. - */ function createErrorWithComponentOrOwnerStack(message, componentStack) { - const ownerStack = ("TURBOPACK compile-time value", "development") !== 'production' && _react.default.captureOwnerStack ? _react.default.captureOwnerStack() : null; - const error = Object.defineProperty(new Error(message), "__NEXT_ERROR_CODE", { - value: "E394", - enumerable: false, - configurable: true - }); - // TODO go back to owner stack here if available. This is temporarily using componentStack to get the right - // - error.stack = error.name + ': ' + message + (ownerStack || componentStack); - return error; -} -var PreludeState = /*#__PURE__*/ function(PreludeState) { - PreludeState[PreludeState["Full"] = 0] = "Full"; - PreludeState[PreludeState["Empty"] = 1] = "Empty"; - PreludeState[PreludeState["Errored"] = 2] = "Errored"; - return PreludeState; -}({}); -function logDisallowedDynamicError(workStore, error) { - console.error(error); - if (!workStore.dev) { - if (workStore.hasReadableErrorStacks) { - console.error(`To get a more detailed stack trace and pinpoint the issue, start the app in development mode by running \`next dev\`, then open "${workStore.route}" in your browser to investigate the error.`); - } else { - console.error(`To get a more detailed stack trace and pinpoint the issue, try one of the following: - - Start the app in development mode by running \`next dev\`, then open "${workStore.route}" in your browser to investigate the error. - - Rerun the production build with \`next build --debug-prerender\` to generate better stack traces.`); - } - } -} -function throwIfDisallowedDynamic(workStore, prelude, dynamicValidation, serverDynamic) { - if (serverDynamic.syncDynamicErrorWithStack) { - logDisallowedDynamicError(workStore, serverDynamic.syncDynamicErrorWithStack); - throw new _staticgenerationbailout.StaticGenBailoutError(); - } - if (prelude !== 0) { - if (dynamicValidation.hasSuspenseAboveBody) { - // This route has opted into allowing fully dynamic rendering - // by including a Suspense boundary above the body. In this case - // a lack of a shell is not considered disallowed so we simply return - return; - } - // We didn't have any sync bailouts but there may be user code which - // blocked the root. We would have captured these during the prerender - // and can log them here and then terminate the build/validating render - const dynamicErrors = dynamicValidation.dynamicErrors; - if (dynamicErrors.length > 0) { - for(let i = 0; i < dynamicErrors.length; i++){ - logDisallowedDynamicError(workStore, dynamicErrors[i]); - } - throw new _staticgenerationbailout.StaticGenBailoutError(); - } - // If we got this far then the only other thing that could be blocking - // the root is dynamic Viewport. If this is dynamic then - // you need to opt into that by adding a Suspense boundary above the body - // to indicate your are ok with fully dynamic rendering. - if (dynamicValidation.hasDynamicViewport) { - console.error(`Route "${workStore.route}" has a \`generateViewport\` that depends on Request data (\`cookies()\`, etc...) or uncached external data (\`fetch(...)\`, etc...) without explicitly allowing fully dynamic rendering. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`); - throw new _staticgenerationbailout.StaticGenBailoutError(); - } - if (prelude === 1) { - // If we ever get this far then we messed up the tracking of invalid dynamic. - // We still adhere to the constraint that you must produce a shell but invite the - // user to report this as a bug in Next.js. - console.error(`Route "${workStore.route}" did not produce a static shell and Next.js was unable to determine a reason. This is a bug in Next.js.`); - throw new _staticgenerationbailout.StaticGenBailoutError(); - } - } else { - if (dynamicValidation.hasAllowedDynamic === false && dynamicValidation.hasDynamicMetadata) { - console.error(`Route "${workStore.route}" has a \`generateMetadata\` that depends on Request data (\`cookies()\`, etc...) or uncached external data (\`fetch(...)\`, etc...) when the rest of the route does not. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`); - throw new _staticgenerationbailout.StaticGenBailoutError(); - } - } -} -function getStaticShellDisallowedDynamicReasons(workStore, prelude, dynamicValidation) { - if (dynamicValidation.hasSuspenseAboveBody) { - // This route has opted into allowing fully dynamic rendering - // by including a Suspense boundary above the body. In this case - // a lack of a shell is not considered disallowed so we simply return - return []; - } - if (prelude !== 0) { - // We didn't have any sync bailouts but there may be user code which - // blocked the root. We would have captured these during the prerender - // and can log them here and then terminate the build/validating render - const dynamicErrors = dynamicValidation.dynamicErrors; - if (dynamicErrors.length > 0) { - return dynamicErrors; - } - if (prelude === 1) { - // If we ever get this far then we messed up the tracking of invalid dynamic. - // We still adhere to the constraint that you must produce a shell but invite the - // user to report this as a bug in Next.js. - return [ - Object.defineProperty(new _invarianterror.InvariantError(`Route "${workStore.route}" did not produce a static shell and Next.js was unable to determine a reason.`), "__NEXT_ERROR_CODE", { - value: "E936", - enumerable: false, - configurable: true - }) - ]; - } - } else { - // We have a prelude but we might still have dynamic metadata without any other dynamic access - if (dynamicValidation.hasAllowedDynamic === false && dynamicValidation.dynamicErrors.length === 0 && dynamicValidation.dynamicMetadata) { - return [ - dynamicValidation.dynamicMetadata - ]; - } - } - // We had a non-empty prelude and there are no dynamic holes - return []; -} -function delayUntilRuntimeStage(prerenderStore, result) { - if (prerenderStore.runtimeStagePromise) { - return prerenderStore.runtimeStagePromise.then(()=>result); - } - return result; -} //# sourceMappingURL=dynamic-rendering.js.map -}), -"[project]/node_modules/next/dist/server/dev/hot-reloader-types.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -0 && (module.exports = { - HMR_MESSAGE_SENT_TO_BROWSER: null, - HMR_MESSAGE_SENT_TO_SERVER: null -}); -function _export(target, all) { - for(var name in all)Object.defineProperty(target, name, { - enumerable: true, - get: all[name] - }); -} -_export(exports, { - HMR_MESSAGE_SENT_TO_BROWSER: function() { - return HMR_MESSAGE_SENT_TO_BROWSER; - }, - HMR_MESSAGE_SENT_TO_SERVER: function() { - return HMR_MESSAGE_SENT_TO_SERVER; - } -}); -var HMR_MESSAGE_SENT_TO_BROWSER = /*#__PURE__*/ function(HMR_MESSAGE_SENT_TO_BROWSER) { - // JSON messages: - HMR_MESSAGE_SENT_TO_BROWSER["ADDED_PAGE"] = "addedPage"; - HMR_MESSAGE_SENT_TO_BROWSER["REMOVED_PAGE"] = "removedPage"; - HMR_MESSAGE_SENT_TO_BROWSER["RELOAD_PAGE"] = "reloadPage"; - HMR_MESSAGE_SENT_TO_BROWSER["SERVER_COMPONENT_CHANGES"] = "serverComponentChanges"; - HMR_MESSAGE_SENT_TO_BROWSER["MIDDLEWARE_CHANGES"] = "middlewareChanges"; - HMR_MESSAGE_SENT_TO_BROWSER["CLIENT_CHANGES"] = "clientChanges"; - HMR_MESSAGE_SENT_TO_BROWSER["SERVER_ONLY_CHANGES"] = "serverOnlyChanges"; - HMR_MESSAGE_SENT_TO_BROWSER["SYNC"] = "sync"; - HMR_MESSAGE_SENT_TO_BROWSER["BUILT"] = "built"; - HMR_MESSAGE_SENT_TO_BROWSER["BUILDING"] = "building"; - HMR_MESSAGE_SENT_TO_BROWSER["DEV_PAGES_MANIFEST_UPDATE"] = "devPagesManifestUpdate"; - HMR_MESSAGE_SENT_TO_BROWSER["TURBOPACK_MESSAGE"] = "turbopack-message"; - HMR_MESSAGE_SENT_TO_BROWSER["SERVER_ERROR"] = "serverError"; - HMR_MESSAGE_SENT_TO_BROWSER["TURBOPACK_CONNECTED"] = "turbopack-connected"; - HMR_MESSAGE_SENT_TO_BROWSER["ISR_MANIFEST"] = "isrManifest"; - HMR_MESSAGE_SENT_TO_BROWSER["CACHE_INDICATOR"] = "cacheIndicator"; - HMR_MESSAGE_SENT_TO_BROWSER["DEV_INDICATOR"] = "devIndicator"; - HMR_MESSAGE_SENT_TO_BROWSER["DEVTOOLS_CONFIG"] = "devtoolsConfig"; - HMR_MESSAGE_SENT_TO_BROWSER["REQUEST_CURRENT_ERROR_STATE"] = "requestCurrentErrorState"; - HMR_MESSAGE_SENT_TO_BROWSER["REQUEST_PAGE_METADATA"] = "requestPageMetadata"; - // Binary messages: - HMR_MESSAGE_SENT_TO_BROWSER[HMR_MESSAGE_SENT_TO_BROWSER["REACT_DEBUG_CHUNK"] = 0] = "REACT_DEBUG_CHUNK"; - HMR_MESSAGE_SENT_TO_BROWSER[HMR_MESSAGE_SENT_TO_BROWSER["ERRORS_TO_SHOW_IN_BROWSER"] = 1] = "ERRORS_TO_SHOW_IN_BROWSER"; - return HMR_MESSAGE_SENT_TO_BROWSER; -}({}); -var HMR_MESSAGE_SENT_TO_SERVER = /*#__PURE__*/ function(HMR_MESSAGE_SENT_TO_SERVER) { - // JSON messages: - HMR_MESSAGE_SENT_TO_SERVER["MCP_ERROR_STATE_RESPONSE"] = "mcp-error-state-response"; - HMR_MESSAGE_SENT_TO_SERVER["MCP_PAGE_METADATA_RESPONSE"] = "mcp-page-metadata-response"; - HMR_MESSAGE_SENT_TO_SERVER["PING"] = "ping"; - return HMR_MESSAGE_SENT_TO_SERVER; -}({}); //# sourceMappingURL=hot-reloader-types.js.map -}), -]); - -//# sourceMappingURL=node_modules_next_dist_f3530cac._.js.map \ No newline at end of file diff --git a/.next/dev/static/chunks/node_modules_next_dist_f3530cac._.js.map b/.next/dev/static/chunks/node_modules_next_dist_f3530cac._.js.map deleted file mode 100644 index b0e4232..0000000 --- a/.next/dev/static/chunks/node_modules_next_dist_f3530cac._.js.map +++ /dev/null @@ -1,70 +0,0 @@ -{ - "version": 3, - "sources": [], - "sections": [ - {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/build/polyfills/process.ts"],"sourcesContent":["module.exports =\n global.process?.env && typeof global.process?.env === 'object'\n ? global.process\n : (require('next/dist/compiled/process') as typeof import('next/dist/compiled/process'))\n"],"names":["global","module","exports","process","env","require"],"mappings":"IACEA,iBAA8BA;AADhCC,OAAOC,OAAO,GACZF,CAAAA,CAAAA,kBAAAA,yDAAOG,OAAO,KAAA,OAAA,KAAA,IAAdH,gBAAgBI,GAAG,KAAI,OAAA,CAAA,CAAOJ,mBAAAA,yDAAOG,OAAO,KAAA,OAAA,KAAA,IAAdH,iBAAgBI,GAAG,MAAK,WAClDJ,yDAAOG,OAAO,GACbE,QAAQ","ignoreList":[0]}}, - {"offset": {"line": 9, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/dist/build/polyfills/polyfill-module.js"],"sourcesContent":["\"trimStart\"in String.prototype||(String.prototype.trimStart=String.prototype.trimLeft),\"trimEnd\"in String.prototype||(String.prototype.trimEnd=String.prototype.trimRight),\"description\"in Symbol.prototype||Object.defineProperty(Symbol.prototype,\"description\",{configurable:!0,get:function(){var t=/\\((.*)\\)/.exec(this.toString());return t?t[1]:void 0}}),Array.prototype.flat||(Array.prototype.flat=function(t,r){return r=this.concat.apply([],this),t>1&&r.some(Array.isArray)?r.flat(t-1):r},Array.prototype.flatMap=function(t,r){return this.map(t,r).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(t){if(\"function\"!=typeof t)return this.then(t,t);var r=this.constructor||Promise;return this.then(function(n){return r.resolve(t()).then(function(){return n})},function(n){return r.resolve(t()).then(function(){throw n})})}),Object.fromEntries||(Object.fromEntries=function(t){return Array.from(t).reduce(function(t,r){return t[r[0]]=r[1],t},{})}),Array.prototype.at||(Array.prototype.at=function(t){var r=Math.trunc(t)||0;if(r<0&&(r+=this.length),!(r<0||r>=this.length))return this[r]}),Object.hasOwn||(Object.hasOwn=function(t,r){if(null==t)throw new TypeError(\"Cannot convert undefined or null to object\");return Object.prototype.hasOwnProperty.call(Object(t),r)}),\"canParse\"in URL||(URL.canParse=function(t,r){try{return!!new URL(t,r)}catch(t){return!1}});\n"],"names":[],"mappings":"AAAA,eAAc,OAAO,SAAS,IAAE,CAAC,OAAO,SAAS,CAAC,SAAS,GAAC,OAAO,SAAS,CAAC,QAAQ,GAAE,aAAY,OAAO,SAAS,IAAE,CAAC,OAAO,SAAS,CAAC,OAAO,GAAC,OAAO,SAAS,CAAC,SAAS,GAAE,iBAAgB,OAAO,SAAS,IAAE,O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AAE,MAAM,SAAS,CAAC,EAAE,IAAE,CAAC,MAAM,SAAS,CAAC,EAAE,GAAC,SAAS,CAAC;IAAE,IAAI,IAAE,KAAK,KAAK,CAAC,MAAI;IAAE,IAAG,IAAE,KAAG,CAAC,KAAG,IAAI,CAAC,MAAM,GAAE,CAAC,CAAC,IAAE,KAAG,KAAG,IAAI,CAAC,MAAM,GAAE,OAAO,IAAI,CAAC,EAAE;AAAA,CAAC,GAAE,OAAO,MAAM,IAAE,CAAC,OAAO,MAAM,GAAC,SAAS,CAAC,EAAC,CAAC;IAAE,IAAG,QAAM,GAAE,MAAM,IAAI,UAAU;IAA8C,OAAO,OAAO,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,OAAO,IAAG;AAAE,CAAC,GAAE,cAAa,OAAK,CAAC,IAAI,QAAQ,GAAC,SAAS,CAAC,EAAC,CAAC;IAAE,IAAG;QAAC,OAAM,CAAC,CAAC,IAAI,IAAI,GAAE;IAAE,EAAC,OAAM,GAAE;QAAC,OAAM,CAAC;IAAC;AAAC,CAAC","ignoreList":[0]}}, - {"offset": {"line": 52, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/shared/lib/invariant-error.ts"],"sourcesContent":["export class InvariantError extends Error {\n constructor(message: string, options?: ErrorOptions) {\n super(\n `Invariant: ${message.endsWith('.') ? message : message + '.'} This is a bug in Next.js.`,\n options\n )\n this.name = 'InvariantError'\n }\n}\n"],"names":["InvariantError","Error","constructor","message","options","endsWith","name"],"mappings":";;;+BAAaA,kBAAAA;;;eAAAA;;;AAAN,MAAMA,uBAAuBC;IAClCC,YAAYC,OAAe,EAAEC,OAAsB,CAAE;QACnD,KAAK,CACH,CAAC,WAAW,EAAED,QAAQE,QAAQ,CAAC,OAAOF,UAAUA,UAAU,IAAI,0BAA0B,CAAC,EACzFC;QAEF,IAAI,CAACE,IAAI,GAAG;IACd;AACF","ignoreList":[0]}}, - {"offset": {"line": 71, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/shared/lib/is-plain-object.ts"],"sourcesContent":["export function getObjectClassLabel(value: any): string {\n return Object.prototype.toString.call(value)\n}\n\nexport function isPlainObject(value: any): boolean {\n if (getObjectClassLabel(value) !== '[object Object]') {\n return false\n }\n\n const prototype = Object.getPrototypeOf(value)\n\n /**\n * this used to be previously:\n *\n * `return prototype === null || prototype === Object.prototype`\n *\n * but Edge Runtime expose Object from vm, being that kind of type-checking wrongly fail.\n *\n * It was changed to the current implementation since it's resilient to serialization.\n */\n return prototype === null || prototype.hasOwnProperty('isPrototypeOf')\n}\n"],"names":["getObjectClassLabel","isPlainObject","value","Object","prototype","toString","call","getPrototypeOf","hasOwnProperty"],"mappings":";;;;;;;;;;;;;;IAAgBA,mBAAmB,EAAA;eAAnBA;;IAIAC,aAAa,EAAA;eAAbA;;;AAJT,SAASD,oBAAoBE,KAAU;IAC5C,OAAOC,OAAOC,SAAS,CAACC,QAAQ,CAACC,IAAI,CAACJ;AACxC;AAEO,SAASD,cAAcC,KAAU;IACtC,IAAIF,oBAAoBE,WAAW,mBAAmB;QACpD,OAAO;IACT;IAEA,MAAME,YAAYD,OAAOI,cAAc,CAACL;IAExC;;;;;;;;GAQC,GACD,OAAOE,cAAc,QAAQA,UAAUI,cAAc,CAAC;AACxD","ignoreList":[0]}}, - {"offset": {"line": 114, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/shared/lib/lazy-dynamic/bailout-to-csr.ts"],"sourcesContent":["// This has to be a shared module which is shared between client component error boundary and dynamic component\nconst BAILOUT_TO_CSR = 'BAILOUT_TO_CLIENT_SIDE_RENDERING'\n\n/** An error that should be thrown when we want to bail out to client-side rendering. */\nexport class BailoutToCSRError extends Error {\n public readonly digest = BAILOUT_TO_CSR\n\n constructor(public readonly reason: string) {\n super(`Bail out to client-side rendering: ${reason}`)\n }\n}\n\n/** Checks if a passed argument is an error that is thrown if we want to bail out to client-side rendering. */\nexport function isBailoutToCSRError(err: unknown): err is BailoutToCSRError {\n if (typeof err !== 'object' || err === null || !('digest' in err)) {\n return false\n }\n\n return err.digest === BAILOUT_TO_CSR\n}\n"],"names":["BailoutToCSRError","isBailoutToCSRError","BAILOUT_TO_CSR","Error","constructor","reason","digest","err"],"mappings":"AAAA,+GAA+G;;;;;;;;;;;;;;;IAIlGA,iBAAiB,EAAA;eAAjBA;;IASGC,mBAAmB,EAAA;eAAnBA;;;AAZhB,MAAMC,iBAAiB;AAGhB,MAAMF,0BAA0BG;IAGrCC,YAA4BC,MAAc,CAAE;QAC1C,KAAK,CAAC,CAAC,mCAAmC,EAAEA,QAAQ,GAAA,IAAA,CAD1BA,MAAAA,GAAAA,QAAAA,IAAAA,CAFZC,MAAAA,GAASJ;IAIzB;AACF;AAGO,SAASD,oBAAoBM,GAAY;IAC9C,IAAI,OAAOA,QAAQ,YAAYA,QAAQ,QAAQ,CAAE,CAAA,YAAYA,GAAE,GAAI;QACjE,OAAO;IACT;IAEA,OAAOA,IAAID,MAAM,KAAKJ;AACxB","ignoreList":[0]}}, - {"offset": {"line": 152, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/shared/lib/error-source.ts"],"sourcesContent":["const symbolError = Symbol.for('NextjsError')\n\nexport function getErrorSource(error: Error): 'server' | 'edge-server' | null {\n return (error as any)[symbolError] || null\n}\n\nexport type ErrorSourceType = 'edge-server' | 'server'\n\nexport function decorateServerError(error: Error, type: ErrorSourceType) {\n Object.defineProperty(error, symbolError, {\n writable: false,\n enumerable: false,\n configurable: false,\n value: type,\n })\n}\n"],"names":["decorateServerError","getErrorSource","symbolError","Symbol","for","error","type","Object","defineProperty","writable","enumerable","configurable","value"],"mappings":";;;;;;;;;;;;;;IAQgBA,mBAAmB,EAAA;eAAnBA;;IANAC,cAAc,EAAA;eAAdA;;;AAFhB,MAAMC,cAAcC,OAAOC,GAAG,CAAC;AAExB,SAASH,eAAeI,KAAY;IACzC,OAAQA,KAAa,CAACH,YAAY,IAAI;AACxC;AAIO,SAASF,oBAAoBK,KAAY,EAAEC,IAAqB;IACrEC,OAAOC,cAAc,CAACH,OAAOH,aAAa;QACxCO,UAAU;QACVC,YAAY;QACZC,cAAc;QACdC,OAAON;IACT;AACF","ignoreList":[0]}}, - {"offset": {"line": 189, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/shared/lib/head-manager-context.shared-runtime.ts"],"sourcesContent":["import React from 'react'\n\nexport const HeadManagerContext: React.Context<{\n updateHead?: (state: any) => void\n mountedInstances?: any\n updateScripts?: (state: any) => void\n scripts?: any\n getIsSsr?: () => boolean\n\n // Used in app directory, to render script tags as server components.\n appDir?: boolean\n nonce?: string\n}> = React.createContext({})\n\nif (process.env.NODE_ENV !== 'production') {\n HeadManagerContext.displayName = 'HeadManagerContext'\n}\n"],"names":["HeadManagerContext","React","createContext","process","env","NODE_ENV","displayName"],"mappings":"AAcIG,QAAQC,GAAG,CAACC,QAAQ,KAAK;;;;;+BAZhBL,sBAAAA;;;eAAAA;;;;gEAFK;AAEX,MAAMA,qBAURC,OAAAA,OAAK,CAACC,aAAa,CAAC,CAAC;AAE1B,wCAA2C;IACzCF,mBAAmBM,WAAW,GAAG;AACnC","ignoreList":[0]}}, - {"offset": {"line": 210, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/shared/lib/hooks-client-context.shared-runtime.ts"],"sourcesContent":["'use client'\n\nimport { createContext } from 'react'\nimport type { Params } from '../../server/request/params'\nimport { ReadonlyURLSearchParams } from '../../client/components/readonly-url-search-params'\n\nexport const SearchParamsContext = createContext<URLSearchParams | null>(null)\nexport const PathnameContext = createContext<string | null>(null)\nexport const PathParamsContext = createContext<Params | null>(null)\n\n// Dev-only context for Suspense DevTools instrumentation\n// These promises are used to track navigation hook usage in React DevTools\nexport type InstrumentedPromise<T> = Promise<T> & {\n status: 'fulfilled'\n value: T\n displayName: string\n}\n\nexport type NavigationPromises = {\n pathname: InstrumentedPromise<string>\n searchParams: InstrumentedPromise<ReadonlyURLSearchParams>\n params: InstrumentedPromise<Params>\n // Layout segment hooks (updated at each layout boundary)\n selectedLayoutSegmentPromises?: Map<\n string,\n InstrumentedPromise<string | null>\n >\n selectedLayoutSegmentsPromises?: Map<string, InstrumentedPromise<string[]>>\n}\n\nexport const NavigationPromisesContext =\n createContext<NavigationPromises | null>(null)\n\n// Creates an instrumented promise for Suspense DevTools\n// These promises are always fulfilled and exist purely for\n// tracking in React's Suspense DevTools.\nexport function createDevToolsInstrumentedPromise<T>(\n displayName: string,\n value: T\n): InstrumentedPromise<T> {\n const promise = Promise.resolve(value) as InstrumentedPromise<T>\n promise.status = 'fulfilled'\n promise.value = value\n promise.displayName = `${displayName} (SSR)`\n return promise\n}\n\nexport { ReadonlyURLSearchParams }\n\nif (process.env.NODE_ENV !== 'production') {\n SearchParamsContext.displayName = 'SearchParamsContext'\n PathnameContext.displayName = 'PathnameContext'\n PathParamsContext.displayName = 'PathParamsContext'\n NavigationPromisesContext.displayName = 'NavigationPromisesContext'\n}\n"],"names":["NavigationPromisesContext","PathParamsContext","PathnameContext","ReadonlyURLSearchParams","SearchParamsContext","createDevToolsInstrumentedPromise","createContext","displayName","value","promise","Promise","resolve","status","process","env","NODE_ENV"],"mappings":"AAiDIa,QAAQC,GAAG,CAACC,QAAQ,KAAK;AAjD7B;;;;;;;;;;;;;;;;;;;;IA8Baf,yBAAyB,EAAA;eAAzBA;;IAtBAC,iBAAiB,EAAA;eAAjBA;;IADAC,eAAe,EAAA;eAAfA;;IAwCJC,uBAAuB,EAAA;eAAvBA,yBAAAA,uBAAuB;;IAzCnBC,mBAAmB,EAAA;eAAnBA;;IA8BGC,iCAAiC,EAAA;eAAjCA;;;uBAlCc;yCAEU;AAEjC,MAAMD,sBAAsBE,CAAAA,GAAAA,OAAAA,aAAa,EAAyB;AAClE,MAAMJ,kBAAkBI,CAAAA,GAAAA,OAAAA,aAAa,EAAgB;AACrD,MAAML,oBAAoBK,CAAAA,GAAAA,OAAAA,aAAa,EAAgB;AAsBvD,MAAMN,4BACXM,CAAAA,GAAAA,OAAAA,aAAa,EAA4B;AAKpC,SAASD,kCACdE,WAAmB,EACnBC,KAAQ;IAER,MAAMC,UAAUC,QAAQC,OAAO,CAACH;IAChCC,QAAQG,MAAM,GAAG;IACjBH,QAAQD,KAAK,GAAGA;IAChBC,QAAQF,WAAW,GAAG,GAAGA,YAAY,MAAM,CAAC;IAC5C,OAAOE;AACT;AAIA,wCAA2C;IACzCL,oBAAoBG,WAAW,GAAG;IAClCL,gBAAgBK,WAAW,GAAG;IAC9BN,kBAAkBM,WAAW,GAAG;IAChCP,0BAA0BO,WAAW,GAAG;AAC1C","ignoreList":[0]}}, - {"offset": {"line": 273, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/shared/lib/router/utils/html-bots.ts"],"sourcesContent":["// This regex contains the bots that we need to do a blocking render for and can't safely stream the response\n// due to how they parse the DOM. For example, they might explicitly check for metadata in the `head` tag, so we can't stream metadata tags after the `head` was sent.\n// Note: The pattern [\\w-]+-Google captures all Google crawlers with \"-Google\" suffix (e.g., Mediapartners-Google, AdsBot-Google, Storebot-Google)\n// as well as crawlers starting with \"Google-\" (e.g., Google-PageRenderer, Google-InspectionTool)\nexport const HTML_LIMITED_BOT_UA_RE =\n /[\\w-]+-Google|Google-[\\w-]+|Chrome-Lighthouse|Slurp|DuckDuckBot|baiduspider|yandex|sogou|bitlybot|tumblr|vkShare|quora link preview|redditbot|ia_archiver|Bingbot|BingPreview|applebot|facebookexternalhit|facebookcatalog|Twitterbot|LinkedInBot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|Yeti|googleweblight/i\n"],"names":["HTML_LIMITED_BOT_UA_RE"],"mappings":"AAAA,6GAA6G;AAC7G,sKAAsK;AACtK,kJAAkJ;AAClJ,iGAAiG;;;;+BACpFA,0BAAAA;;;eAAAA;;;AAAN,MAAMA,yBACX","ignoreList":[0]}}, - {"offset": {"line": 291, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/shared/lib/router/utils/is-bot.ts"],"sourcesContent":["import { HTML_LIMITED_BOT_UA_RE } from './html-bots'\n\n// Bot crawler that will spin up a headless browser and execute JS.\n// Only the main Googlebot search crawler executes JavaScript, not other Google crawlers.\n// x-ref: https://developers.google.com/search/docs/crawling-indexing/google-common-crawlers\n// This regex specifically matches \"Googlebot\" but NOT \"Mediapartners-Google\", \"AdsBot-Google\", etc.\nconst HEADLESS_BROWSER_BOT_UA_RE = /Googlebot(?!-)|Googlebot$/i\n\nexport const HTML_LIMITED_BOT_UA_RE_STRING = HTML_LIMITED_BOT_UA_RE.source\n\nexport { HTML_LIMITED_BOT_UA_RE }\n\nfunction isDomBotUA(userAgent: string) {\n return HEADLESS_BROWSER_BOT_UA_RE.test(userAgent)\n}\n\nfunction isHtmlLimitedBotUA(userAgent: string) {\n return HTML_LIMITED_BOT_UA_RE.test(userAgent)\n}\n\nexport function isBot(userAgent: string): boolean {\n return isDomBotUA(userAgent) || isHtmlLimitedBotUA(userAgent)\n}\n\nexport function getBotType(userAgent: string): 'dom' | 'html' | undefined {\n if (isDomBotUA(userAgent)) {\n return 'dom'\n }\n if (isHtmlLimitedBotUA(userAgent)) {\n return 'html'\n }\n return undefined\n}\n"],"names":["HTML_LIMITED_BOT_UA_RE","HTML_LIMITED_BOT_UA_RE_STRING","getBotType","isBot","HEADLESS_BROWSER_BOT_UA_RE","source","isDomBotUA","userAgent","test","isHtmlLimitedBotUA","undefined"],"mappings":";;;;;;;;;;;;;;;;IAUSA,sBAAsB,EAAA;eAAtBA,UAAAA,sBAAsB;;IAFlBC,6BAA6B,EAAA;eAA7BA;;IAgBGC,UAAU,EAAA;eAAVA;;IAJAC,KAAK,EAAA;eAALA;;;0BApBuB;AAEvC,mEAAmE;AACnE,yFAAyF;AACzF,4FAA4F;AAC5F,oGAAoG;AACpG,MAAMC,6BAA6B;AAE5B,MAAMH,gCAAgCD,UAAAA,sBAAsB,CAACK,MAAM;AAI1E,SAASC,WAAWC,SAAiB;IACnC,OAAOH,2BAA2BI,IAAI,CAACD;AACzC;AAEA,SAASE,mBAAmBF,SAAiB;IAC3C,OAAOP,UAAAA,sBAAsB,CAACQ,IAAI,CAACD;AACrC;AAEO,SAASJ,MAAMI,SAAiB;IACrC,OAAOD,WAAWC,cAAcE,mBAAmBF;AACrD;AAEO,SAASL,WAAWK,SAAiB;IAC1C,IAAID,WAAWC,YAAY;QACzB,OAAO;IACT;IACA,IAAIE,mBAAmBF,YAAY;QACjC,OAAO;IACT;IACA,OAAOG;AACT","ignoreList":[0]}}, - {"offset": {"line": 349, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/shared/lib/is-thenable.ts"],"sourcesContent":["/**\n * Check to see if a value is Thenable.\n *\n * @param promise the maybe-thenable value\n * @returns true if the value is thenable\n */\nexport function isThenable<T = unknown>(\n promise: Promise<T> | T\n): promise is Promise<T> {\n return (\n promise !== null &&\n typeof promise === 'object' &&\n 'then' in promise &&\n typeof promise.then === 'function'\n )\n}\n"],"names":["isThenable","promise","then"],"mappings":"AAAA;;;;;CAKC;;;+BACeA,cAAAA;;;eAAAA;;;AAAT,SAASA,WACdC,OAAuB;IAEvB,OACEA,YAAY,QACZ,OAAOA,YAAY,YACnB,UAAUA,WACV,OAAOA,QAAQC,IAAI,KAAK;AAE5B","ignoreList":[0]}}, - {"offset": {"line": 370, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/shared/lib/page-path/ensure-leading-slash.ts"],"sourcesContent":["/**\n * For a given page path, this function ensures that there is a leading slash.\n * If there is not a leading slash, one is added, otherwise it is noop.\n */\nexport function ensureLeadingSlash(path: string) {\n return path.startsWith('/') ? path : `/${path}`\n}\n"],"names":["ensureLeadingSlash","path","startsWith"],"mappings":"AAAA;;;CAGC;;;+BACeA,sBAAAA;;;eAAAA;;;AAAT,SAASA,mBAAmBC,IAAY;IAC7C,OAAOA,KAAKC,UAAU,CAAC,OAAOD,OAAO,CAAC,CAAC,EAAEA,MAAM;AACjD","ignoreList":[0]}}, - {"offset": {"line": 389, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/shared/lib/segment.ts"],"sourcesContent":["import type { FlightRouterState, Segment } from './app-router-types'\n\nexport function getSegmentValue(segment: Segment) {\n return Array.isArray(segment) ? segment[1] : segment\n}\n\nexport function isGroupSegment(segment: string) {\n // Use array[0] for performant purpose\n return segment[0] === '(' && segment.endsWith(')')\n}\n\nexport function isParallelRouteSegment(segment: string) {\n return segment.startsWith('@') && segment !== '@children'\n}\n\nexport function addSearchParamsIfPageSegment(\n segment: Segment,\n searchParams: Record<string, string | string[] | undefined>\n) {\n const isPageSegment = segment.includes(PAGE_SEGMENT_KEY)\n\n if (isPageSegment) {\n const stringifiedQuery = JSON.stringify(searchParams)\n return stringifiedQuery !== '{}'\n ? PAGE_SEGMENT_KEY + '?' + stringifiedQuery\n : PAGE_SEGMENT_KEY\n }\n\n return segment\n}\n\nexport function computeSelectedLayoutSegment(\n segments: string[] | null,\n parallelRouteKey: string\n): string | null {\n if (!segments || segments.length === 0) {\n return null\n }\n\n // For 'children', use first segment; for other parallel routes, use last segment\n const rawSegment =\n parallelRouteKey === 'children'\n ? segments[0]\n : segments[segments.length - 1]\n\n // If the default slot is showing, return null since it's not technically \"selected\" (it's a fallback)\n // Returning an internal value like `__DEFAULT__` would be confusing\n return rawSegment === DEFAULT_SEGMENT_KEY ? null : rawSegment\n}\n\n/** Get the canonical parameters from the current level to the leaf node. */\nexport function getSelectedLayoutSegmentPath(\n tree: FlightRouterState,\n parallelRouteKey: string,\n first = true,\n segmentPath: string[] = []\n): string[] {\n let node: FlightRouterState\n if (first) {\n // Use the provided parallel route key on the first parallel route\n node = tree[1][parallelRouteKey]\n } else {\n // After first parallel route prefer children, if there's no children pick the first parallel route.\n const parallelRoutes = tree[1]\n node = parallelRoutes.children ?? Object.values(parallelRoutes)[0]\n }\n\n if (!node) return segmentPath\n const segment = node[0]\n\n let segmentValue = getSegmentValue(segment)\n\n if (!segmentValue || segmentValue.startsWith(PAGE_SEGMENT_KEY)) {\n return segmentPath\n }\n\n segmentPath.push(segmentValue)\n\n return getSelectedLayoutSegmentPath(\n node,\n parallelRouteKey,\n false,\n segmentPath\n )\n}\n\nexport const PAGE_SEGMENT_KEY = '__PAGE__'\nexport const DEFAULT_SEGMENT_KEY = '__DEFAULT__'\nexport const NOT_FOUND_SEGMENT_KEY = '/_not-found'\n"],"names":["DEFAULT_SEGMENT_KEY","NOT_FOUND_SEGMENT_KEY","PAGE_SEGMENT_KEY","addSearchParamsIfPageSegment","computeSelectedLayoutSegment","getSegmentValue","getSelectedLayoutSegmentPath","isGroupSegment","isParallelRouteSegment","segment","Array","isArray","endsWith","startsWith","searchParams","isPageSegment","includes","stringifiedQuery","JSON","stringify","segments","parallelRouteKey","length","rawSegment","tree","first","segmentPath","node","parallelRoutes","children","Object","values","segmentValue","push"],"mappings":";;;;;;;;;;;;;;;;;;;;;IAuFaA,mBAAmB,EAAA;eAAnBA;;IACAC,qBAAqB,EAAA;eAArBA;;IAFAC,gBAAgB,EAAA;eAAhBA;;IAvEGC,4BAA4B,EAAA;eAA5BA;;IAgBAC,4BAA4B,EAAA;eAA5BA;;IA7BAC,eAAe,EAAA;eAAfA;;IAiDAC,4BAA4B,EAAA;eAA5BA;;IA7CAC,cAAc,EAAA;eAAdA;;IAKAC,sBAAsB,EAAA;eAAtBA;;;AATT,SAASH,gBAAgBI,OAAgB;IAC9C,OAAOC,MAAMC,OAAO,CAACF,WAAWA,OAAO,CAAC,EAAE,GAAGA;AAC/C;AAEO,SAASF,eAAeE,OAAe;IAC5C,sCAAsC;IACtC,OAAOA,OAAO,CAAC,EAAE,KAAK,OAAOA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B;AACzB,MAAMF,sBAAsB;AAC5B,MAAMC,wBAAwB","ignoreList":[0]}}, - {"offset": {"line": 492, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/shared/lib/router/utils/app-paths.ts"],"sourcesContent":["import { ensureLeadingSlash } from '../../page-path/ensure-leading-slash'\nimport { isGroupSegment } from '../../segment'\n\n/**\n * Normalizes an app route so it represents the actual request path. Essentially\n * performing the following transformations:\n *\n * - `/(dashboard)/user/[id]/page` to `/user/[id]`\n * - `/(dashboard)/account/page` to `/account`\n * - `/user/[id]/page` to `/user/[id]`\n * - `/account/page` to `/account`\n * - `/page` to `/`\n * - `/(dashboard)/user/[id]/route` to `/user/[id]`\n * - `/(dashboard)/account/route` to `/account`\n * - `/user/[id]/route` to `/user/[id]`\n * - `/account/route` to `/account`\n * - `/route` to `/`\n * - `/` to `/`\n *\n * @param route the app route to normalize\n * @returns the normalized pathname\n */\nexport function normalizeAppPath(route: string) {\n return ensureLeadingSlash(\n route.split('/').reduce((pathname, segment, index, segments) => {\n // Empty segments are ignored.\n if (!segment) {\n return pathname\n }\n\n // Groups are ignored.\n if (isGroupSegment(segment)) {\n return pathname\n }\n\n // Parallel segments are ignored.\n if (segment[0] === '@') {\n return pathname\n }\n\n // The last segment (if it's a leaf) should be ignored.\n if (\n (segment === 'page' || segment === 'route') &&\n index === segments.length - 1\n ) {\n return pathname\n }\n\n return `${pathname}/${segment}`\n }, '')\n )\n}\n\n/**\n * Strips the `.rsc` extension if it's in the pathname.\n * Since this function is used on full urls it checks `?` for searchParams handling.\n */\nexport function normalizeRscURL(url: string) {\n return url.replace(\n /\\.rsc($|\\?)/,\n // $1 ensures `?` is preserved\n '$1'\n )\n}\n"],"names":["normalizeAppPath","normalizeRscURL","route","ensureLeadingSlash","split","reduce","pathname","segment","index","segments","isGroupSegment","length","url","replace"],"mappings":";;;;;;;;;;;;;;IAsBgBA,gBAAgB,EAAA;eAAhBA;;IAmCAC,eAAe,EAAA;eAAfA;;;oCAzDmB;yBACJ;AAqBxB,SAASD,iBAAiBE,KAAa;IAC5C,OAAOC,CAAAA,GAAAA,oBAAAA,kBAAkB,EACvBD,MAAME,KAAK,CAAC,KAAKC,MAAM,CAAC,CAACC,UAAUC,SAASC,OAAOC;QACjD,8BAA8B;QAC9B,IAAI,CAACF,SAAS;YACZ,OAAOD;QACT;QAEA,sBAAsB;QACtB,IAAII,CAAAA,GAAAA,SAAAA,cAAc,EAACH,UAAU;YAC3B,OAAOD;QACT;QAEA,iCAAiC;QACjC,IAAIC,OAAO,CAAC,EAAE,KAAK,KAAK;YACtB,OAAOD;QACT;QAEA,uDAAuD;QACvD,IACGC,CAAAA,YAAY,UAAUA,YAAY,OAAM,KACzCC,UAAUC,SAASE,MAAM,GAAG,GAC5B;YACA,OAAOL;QACT;QAEA,OAAO,GAAGA,SAAS,CAAC,EAAEC,SAAS;IACjC,GAAG;AAEP;AAMO,SAASN,gBAAgBW,GAAW;IACzC,OAAOA,IAAIC,OAAO,CAChB,eACA,AACA,8BAD8B;AAGlC","ignoreList":[0]}}, - {"offset": {"line": 543, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/shared/lib/router/utils/interception-routes.ts"],"sourcesContent":["import { normalizeAppPath } from './app-paths'\n\n// order matters here, the first match will be used\nexport const INTERCEPTION_ROUTE_MARKERS = [\n '(..)(..)',\n '(.)',\n '(..)',\n '(...)',\n] as const\n\nexport type InterceptionMarker = (typeof INTERCEPTION_ROUTE_MARKERS)[number]\n\nexport function isInterceptionRouteAppPath(path: string): boolean {\n // TODO-APP: add more serious validation\n return (\n path\n .split('/')\n .find((segment) =>\n INTERCEPTION_ROUTE_MARKERS.find((m) => segment.startsWith(m))\n ) !== undefined\n )\n}\n\ntype InterceptionRouteInformation = {\n /**\n * The intercepting route. This is the route that is being intercepted or the\n * route that the user was coming from. This is matched by the Next-Url\n * header.\n */\n interceptingRoute: string\n\n /**\n * The intercepted route. This is the route that is being intercepted or the\n * route that the user is going to. This is matched by the request pathname.\n */\n interceptedRoute: string\n}\n\nexport function extractInterceptionRouteInformation(\n path: string\n): InterceptionRouteInformation {\n let interceptingRoute: string | undefined\n let marker: (typeof INTERCEPTION_ROUTE_MARKERS)[number] | undefined\n let interceptedRoute: string | undefined\n\n for (const segment of path.split('/')) {\n marker = INTERCEPTION_ROUTE_MARKERS.find((m) => segment.startsWith(m))\n if (marker) {\n ;[interceptingRoute, interceptedRoute] = path.split(marker, 2)\n break\n }\n }\n\n if (!interceptingRoute || !marker || !interceptedRoute) {\n throw new Error(\n `Invalid interception route: ${path}. Must be in the format /<intercepting route>/(..|...|..)(..)/<intercepted route>`\n )\n }\n\n interceptingRoute = normalizeAppPath(interceptingRoute) // normalize the path, e.g. /(blog)/feed -> /feed\n\n switch (marker) {\n case '(.)':\n // (.) indicates that we should match with sibling routes, so we just need to append the intercepted route to the intercepting route\n if (interceptingRoute === '/') {\n interceptedRoute = `/${interceptedRoute}`\n } else {\n interceptedRoute = interceptingRoute + '/' + interceptedRoute\n }\n break\n case '(..)':\n // (..) indicates that we should match at one level up, so we need to remove the last segment of the intercepting route\n if (interceptingRoute === '/') {\n throw new Error(\n `Invalid interception route: ${path}. Cannot use (..) marker at the root level, use (.) instead.`\n )\n }\n interceptedRoute = interceptingRoute\n .split('/')\n .slice(0, -1)\n .concat(interceptedRoute)\n .join('/')\n break\n case '(...)':\n // (...) will match the route segment in the root directory, so we need to use the root directory to prepend the intercepted route\n interceptedRoute = '/' + interceptedRoute\n break\n case '(..)(..)':\n // (..)(..) indicates that we should match at two levels up, so we need to remove the last two segments of the intercepting route\n\n const splitInterceptingRoute = interceptingRoute.split('/')\n if (splitInterceptingRoute.length <= 2) {\n throw new Error(\n `Invalid interception route: ${path}. Cannot use (..)(..) marker at the root level or one level up.`\n )\n }\n\n interceptedRoute = splitInterceptingRoute\n .slice(0, -2)\n .concat(interceptedRoute)\n .join('/')\n break\n default:\n throw new Error('Invariant: unexpected marker')\n }\n\n return { interceptingRoute, interceptedRoute }\n}\n"],"names":["INTERCEPTION_ROUTE_MARKERS","extractInterceptionRouteInformation","isInterceptionRouteAppPath","path","split","find","segment","m","startsWith","undefined","interceptingRoute","marker","interceptedRoute","Error","normalizeAppPath","slice","concat","join","splitInterceptingRoute","length"],"mappings":";;;;;;;;;;;;;;;IAGaA,0BAA0B,EAAA;eAA1BA;;IAmCGC,mCAAmC,EAAA;eAAnCA;;IA1BAC,0BAA0B,EAAA;eAA1BA;;;0BAZiB;AAG1B,MAAMF,6BAA6B;IACxC;IACA;IACA;IACA;CACD;AAIM,SAASE,2BAA2BC,IAAY;IACrD,wCAAwC;IACxC,OACEA,KACGC,KAAK,CAAC,KACNC,IAAI,CAAC,CAACC,UACLN,2BAA2BK,IAAI,CAAC,CAACE,IAAMD,QAAQE,UAAU,CAACD,SACtDE;AAEZ;AAiBO,SAASR,oCACdE,IAAY;IAEZ,IAAIO;IACJ,IAAIC;IACJ,IAAIC;IAEJ,KAAK,MAAMN,WAAWH,KAAKC,KAAK,CAAC,KAAM;QACrCO,SAASX,2BAA2BK,IAAI,CAAC,CAACE,IAAMD,QAAQE,UAAU,CAACD;QACnE,IAAII,QAAQ;;YACT,CAACD,mBAAmBE,iBAAiB,GAAGT,KAAKC,KAAK,CAACO,QAAQ;YAC5D;QACF;IACF;IAEA,IAAI,CAACD,qBAAqB,CAACC,UAAU,CAACC,kBAAkB;QACtD,MAAM,OAAA,cAEL,CAFK,IAAIC,MACR,CAAC,4BAA4B,EAAEV,KAAK,iFAAiF,CAAC,GADlH,qBAAA;mBAAA;wBAAA;0BAAA;QAEN;IACF;IAEAO,oBAAoBI,CAAAA,GAAAA,UAAAA,gBAAgB,EAACJ,mBAAmB,iDAAiD;;IAEzG,OAAQC;QACN,KAAK;YACH,oIAAoI;YACpI,IAAID,sBAAsB,KAAK;gBAC7BE,mBAAmB,CAAC,CAAC,EAAEA,kBAAkB;YAC3C,OAAO;gBACLA,mBAAmBF,oBAAoB,MAAME;YAC/C;YACA;QACF,KAAK;YACH,uHAAuH;YACvH,IAAIF,sBAAsB,KAAK;gBAC7B,MAAM,OAAA,cAEL,CAFK,IAAIG,MACR,CAAC,4BAA4B,EAAEV,KAAK,4DAA4D,CAAC,GAD7F,qBAAA;2BAAA;gCAAA;kCAAA;gBAEN;YACF;YACAS,mBAAmBF,kBAChBN,KAAK,CAAC,KACNW,KAAK,CAAC,GAAG,CAAC,GACVC,MAAM,CAACJ,kBACPK,IAAI,CAAC;YACR;QACF,KAAK;YACH,kIAAkI;YAClIL,mBAAmB,MAAMA;YACzB;QACF,KAAK;YACH,iIAAiI;YAEjI,MAAMM,yBAAyBR,kBAAkBN,KAAK,CAAC;YACvD,IAAIc,uBAAuBC,MAAM,IAAI,GAAG;gBACtC,MAAM,OAAA,cAEL,CAFK,IAAIN,MACR,CAAC,4BAA4B,EAAEV,KAAK,+DAA+D,CAAC,GADhG,qBAAA;2BAAA;gCAAA;kCAAA;gBAEN;YACF;YAEAS,mBAAmBM,uBAChBH,KAAK,CAAC,GAAG,CAAC,GACVC,MAAM,CAACJ,kBACPK,IAAI,CAAC;YACR;QACF;YACE,MAAM,OAAA,cAAyC,CAAzC,IAAIJ,MAAM,iCAAV,qBAAA;uBAAA;4BAAA;8BAAA;YAAwC;IAClD;IAEA,OAAO;QAAEH;QAAmBE;IAAiB;AAC/C","ignoreList":[0]}}, - {"offset": {"line": 652, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/shared/lib/segment-cache/segment-value-encoding.ts"],"sourcesContent":["import { PAGE_SEGMENT_KEY } from '../segment'\nimport type { Segment as FlightRouterStateSegment } from '../app-router-types'\n\n// TypeScript trick to simulate opaque types, like in Flow.\ntype Opaque<K, T> = T & { __brand: K }\n\nexport type SegmentRequestKeyPart = Opaque<'SegmentRequestKeyPart', string>\nexport type SegmentRequestKey = Opaque<'SegmentRequestKey', string>\n\nexport const ROOT_SEGMENT_REQUEST_KEY = '' as SegmentRequestKey\n\nexport const HEAD_REQUEST_KEY = '/_head' as SegmentRequestKey\n\nexport function createSegmentRequestKeyPart(\n segment: FlightRouterStateSegment\n): SegmentRequestKeyPart {\n if (typeof segment === 'string') {\n if (segment.startsWith(PAGE_SEGMENT_KEY)) {\n // The Flight Router State type sometimes includes the search params in\n // the page segment. However, the Segment Cache tracks this as a separate\n // key. So, we strip the search params here, and then add them back when\n // the cache entry is turned back into a FlightRouterState. This is an\n // unfortunate consequence of the FlightRouteState being used both as a\n // transport type and as a cache key; we'll address this once more of the\n // Segment Cache implementation has settled.\n // TODO: We should hoist the search params out of the FlightRouterState\n // type entirely, This is our plan for dynamic route params, too.\n return PAGE_SEGMENT_KEY as SegmentRequestKeyPart\n }\n const safeName =\n // TODO: FlightRouterState encodes Not Found routes as \"/_not-found\".\n // But params typically don't include the leading slash. We should use\n // a different encoding to avoid this special case.\n segment === '/_not-found'\n ? '_not-found'\n : encodeToFilesystemAndURLSafeString(segment)\n // Since this is not a dynamic segment, it's fully encoded. It does not\n // need to be \"hydrated\" with a param value.\n return safeName as SegmentRequestKeyPart\n }\n\n const name = segment[0]\n const paramType = segment[2]\n const safeName = encodeToFilesystemAndURLSafeString(name)\n\n const encodedName = '$' + paramType + '$' + safeName\n return encodedName as SegmentRequestKeyPart\n}\n\nexport function appendSegmentRequestKeyPart(\n parentRequestKey: SegmentRequestKey,\n parallelRouteKey: string,\n childRequestKeyPart: SegmentRequestKeyPart\n): SegmentRequestKey {\n // Aside from being filesystem safe, segment keys are also designed so that\n // each segment and parallel route creates its own subdirectory. Roughly in\n // the same shape as the source app directory. This is mostly just for easier\n // debugging (you can open up the build folder and navigate the output); if\n // we wanted to do we could just use a flat structure.\n\n // Omit the parallel route key for children, since this is the most\n // common case. Saves some bytes (and it's what the app directory does).\n const slotKey =\n parallelRouteKey === 'children'\n ? childRequestKeyPart\n : `@${encodeToFilesystemAndURLSafeString(parallelRouteKey)}/${childRequestKeyPart}`\n return (parentRequestKey + '/' + slotKey) as SegmentRequestKey\n}\n\n// Define a regex pattern to match the most common characters found in a route\n// param. It excludes anything that might not be cross-platform filesystem\n// compatible, like |. It does not need to be precise because the fallback is to\n// just base64url-encode the whole parameter, which is fine; we just don't do it\n// by default for compactness, and for easier debugging.\nconst simpleParamValueRegex = /^[a-zA-Z0-9\\-_@]+$/\n\nfunction encodeToFilesystemAndURLSafeString(value: string) {\n if (simpleParamValueRegex.test(value)) {\n return value\n }\n // If there are any unsafe characters, base64url-encode the entire value.\n // We also add a ! prefix so it doesn't collide with the simple case.\n const base64url = btoa(value)\n .replace(/\\+/g, '-') // Replace '+' with '-'\n .replace(/\\//g, '_') // Replace '/' with '_'\n .replace(/=+$/, '') // Remove trailing '='\n return '!' + base64url\n}\n\nexport function convertSegmentPathToStaticExportFilename(\n segmentPath: string\n): string {\n return `__next${segmentPath.replace(/\\//g, '.')}.txt`\n}\n"],"names":["HEAD_REQUEST_KEY","ROOT_SEGMENT_REQUEST_KEY","appendSegmentRequestKeyPart","convertSegmentPathToStaticExportFilename","createSegmentRequestKeyPart","segment","startsWith","PAGE_SEGMENT_KEY","safeName","encodeToFilesystemAndURLSafeString","name","paramType","encodedName","parentRequestKey","parallelRouteKey","childRequestKeyPart","slotKey","simpleParamValueRegex","value","test","base64url","btoa","replace","segmentPath"],"mappings":";;;;;;;;;;;;;;;;;IAWaA,gBAAgB,EAAA;eAAhBA;;IAFAC,wBAAwB,EAAA;eAAxBA;;IAwCGC,2BAA2B,EAAA;eAA3BA;;IAwCAC,wCAAwC,EAAA;eAAxCA;;IA5EAC,2BAA2B,EAAA;eAA3BA;;;yBAbiB;AAS1B,MAAMH,2BAA2B;AAEjC,MAAMD,mBAAmB;AAEzB,SAASI,4BACdC,OAAiC;IAEjC,IAAI,OAAOA,YAAY,UAAU;QAC/B,IAAIA,QAAQC,UAAU,CAACC,SAAAA,gBAAgB,GAAG;YACxC,uEAAuE;YACvE,yEAAyE;YACzE,wEAAwE;YACxE,sEAAsE;YACtE,u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": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/shared/lib/hash.ts"],"sourcesContent":["// http://www.cse.yorku.ca/~oz/hash.html\n// More specifically, 32-bit hash via djbxor\n// (ref: https://gist.github.com/eplawless/52813b1d8ad9af510d85?permalink_comment_id=3367765#gistcomment-3367765)\n// This is due to number type differences between rust for turbopack to js number types,\n// where rust does not have easy way to repreesnt js's 53-bit float number type for the matching\n// overflow behavior. This is more `correct` in terms of having canonical hash across different runtime / implementation\n// as can gaurantee determinstic output from 32bit hash.\nexport function djb2Hash(str: string) {\n let hash = 5381\n for (let i = 0; i < str.length; i++) {\n const char = str.charCodeAt(i)\n hash = ((hash << 5) + hash + char) & 0xffffffff\n }\n return hash >>> 0\n}\n\nexport function hexHash(str: string) {\n return djb2Hash(str).toString(36).slice(0, 5)\n}\n"],"names":["djb2Hash","hexHash","str","hash","i","length","char","charCodeAt","toString","slice"],"mappings":"AAAA,wCAAwC;AACxC,4CAA4C;AAC5C,iHAAiH;AACjH,wFAAwF;AACxF,gGAAgG;AAChG,wHAAwH;AACxH,wDAAwD;;;;;;;;;;;;;;;IACxCA,QAAQ,EAAA;eAARA;;IASAC,OAAO,EAAA;eAAPA;;;AATT,SAASD,SAASE,GAAW;IAClC,IAAIC,OAAO;IACX,IAAK,IAAIC,IAAI,GAAGA,IAAIF,IAAIG,MAAM,EAAED,IAAK;QACnC,MAAME,OAAOJ,IAAIK,UAAU,CAACH;QAC5BD,OAASA,CAAAA,QAAQ,CAAA,IAAKA,OAAOG,OAAQ;IACvC;IACA,OAAOH,SAAS;AAClB;AAEO,SAASF,QAAQC,GAAW;IACjC,OAAOF,SAASE,KAAKM,QAAQ,CAAC,IAAIC,KAAK,CAAC,GAAG;AAC7C","ignoreList":[0]}}, - {"offset": {"line": 794, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/shared/lib/router/utils/cache-busting-search-param.ts"],"sourcesContent":["import { hexHash } from '../../hash'\n\nexport function computeCacheBustingSearchParam(\n prefetchHeader: '1' | '2' | '0' | undefined,\n segmentPrefetchHeader: string | string[] | undefined,\n stateTreeHeader: string | string[] | undefined,\n nextUrlHeader: string | string[] | undefined\n): string {\n if (\n (prefetchHeader === undefined || prefetchHeader === '0') &&\n segmentPrefetchHeader === undefined &&\n stateTreeHeader === undefined &&\n nextUrlHeader === undefined\n ) {\n return ''\n }\n return hexHash(\n [\n prefetchHeader || '0',\n segmentPrefetchHeader || '0',\n stateTreeHeader || '0',\n nextUrlHeader || '0',\n ].join(',')\n )\n}\n"],"names":["computeCacheBustingSearchParam","prefetchHeader","segmentPrefetchHeader","stateTreeHeader","nextUrlHeader","undefined","hexHash","join"],"mappings":";;;+BAEgBA,kCAAAA;;;eAAAA;;;sBAFQ;AAEjB,SAASA,+BACdC,cAA2C,EAC3CC,qBAAoD,EACpDC,eAA8C,EAC9CC,aAA4C;IAE5C,IACGH,CAAAA,mBAAmBI,aAAaJ,mBAAmB,GAAE,KACtDC,0BAA0BG,aAC1BF,oBAAoBE,aACpBD,kBAAkBC,WAClB;QACA,OAAO;IACT;IACA,OAAOC,CAAAA,GAAAA,MAAAA,OAAO,EACZ;QACEL,kBAAkB;QAClBC,yBAAyB;QACzBC,mBAAmB;QACnBC,iBAAiB;KAClB,CAACG,IAAI,CAAC;AAEX","ignoreList":[0]}}, - {"offset": {"line": 819, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/shared/lib/deployment-id.ts"],"sourcesContent":["// This could also be a variable instead of a function, but some unit tests want to change the ID at\n// runtime. Even though that would never happen in a real deployment.\nexport function getDeploymentId(): string | undefined {\n return process.env.NEXT_DEPLOYMENT_ID\n}\n\nexport function getDeploymentIdQueryOrEmptyString(): string {\n let deploymentId = getDeploymentId()\n if (deploymentId) {\n return `?dpl=${deploymentId}`\n }\n return ''\n}\n"],"names":["getDeploymentId","getDeploymentIdQueryOrEmptyString","process","env","NEXT_DEPLOYMENT_ID","deploymentId"],"mappings":"AAGSE,QAAQC,GAAG,CAACC,kBAAkB;AAHvC,oGAAoG;AACpG,qEAAqE;;;;;;;;;;;;;;;;IACrDJ,eAAe,EAAA;eAAfA;;IAIAC,iCAAiC,EAAA;eAAjCA;;;AAJT,SAASD;IACd;AACF;AAEO,SAASC;IACd,IAAII,eAAeL;IACnB,IAAIK,cAAc;;IAGlB,OAAO;AACT","ignoreList":[0]}}, - {"offset": {"line": 857, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/shared/lib/app-router-types.ts"],"sourcesContent":["/**\n * App Router types - Client-safe types for the Next.js App Router\n *\n * This file contains type definitions that can be safely imported\n * by both client-side and server-side code without circular dependencies.\n */\n\nimport type React from 'react'\n\nexport type LoadingModuleData =\n | [React.JSX.Element, React.ReactNode, React.ReactNode]\n | null\n\n/** viewport metadata node */\nexport type HeadData = React.ReactNode\n\nexport type ChildSegmentMap = Map<string, CacheNode>\n\n/**\n * Cache node used in app-router / layout-router.\n */\n\nexport type CacheNode = {\n /**\n * When rsc is not null, it represents the RSC data for the\n * corresponding segment.\n *\n * `null` is a valid React Node but because segment data is always a\n * <LayoutRouter> component, we can use `null` to represent empty. When it is\n * null, it represents missing data, and rendering should suspend.\n */\n rsc: React.ReactNode\n\n /**\n * Represents a static version of the segment that can be shown immediately,\n * and may or may not contain dynamic holes. It's prefetched before a\n * navigation occurs.\n *\n * During rendering, we will choose whether to render `rsc` or `prefetchRsc`\n * with `useDeferredValue`. As with the `rsc` field, a value of `null` means\n * no value was provided. In this case, the LayoutRouter will go straight to\n * rendering the `rsc` value; if that one is also missing, it will suspend and\n * trigger a lazy fetch.\n */\n prefetchRsc: React.ReactNode\n\n prefetchHead: HeadData | null\n\n head: HeadData\n\n loading: LoadingModuleData | Promise<LoadingModuleData>\n\n parallelRoutes: Map<string, ChildSegmentMap>\n\n /**\n * The timestamp of the navigation that last updated the CacheNode's data. If\n * a CacheNode is reused from a previous navigation, this value is not\n * updated. Used to track the staleness of the data.\n */\n navigatedAt: number\n}\n\nexport type DynamicParamTypes =\n | 'catchall'\n | 'catchall-intercepted-(..)(..)'\n | 'catchall-intercepted-(.)'\n | 'catchall-intercepted-(..)'\n | 'catchall-intercepted-(...)'\n | 'optional-catchall'\n | 'dynamic'\n | 'dynamic-intercepted-(..)(..)'\n | 'dynamic-intercepted-(.)'\n | 'dynamic-intercepted-(..)'\n | 'dynamic-intercepted-(...)'\n\nexport type DynamicParamTypesShort =\n | 'c'\n | 'ci(..)(..)'\n | 'ci(.)'\n | 'ci(..)'\n | 'ci(...)'\n | 'oc'\n | 'd'\n | 'di(..)(..)'\n | 'di(.)'\n | 'di(..)'\n | 'di(...)'\n\nexport type Segment =\n | string\n | [\n // Param name\n paramName: string,\n // Param cache key (almost the same as the value, but arrays are\n // concatenated into strings)\n // TODO: We should change this to just be the value. Currently we convert\n // it back to a value when passing to useParams. It only needs to be\n // a string when converted to a a cache key, but that doesn't mean we\n // need to store it as that representation.\n paramCacheKey: string,\n // Dynamic param type\n dynamicParamType: DynamicParamTypesShort,\n ]\n\n/**\n * Router state\n */\nexport type FlightRouterState = [\n segment: Segment,\n parallelRoutes: { [parallelRouterKey: string]: FlightRouterState },\n url?: string | null,\n /**\n * \"refresh\" and \"refetch\", despite being similarly named, have different\n * semantics:\n * - \"refetch\" is used during a request to inform the server where rendering\n * should start from.\n *\n * - \"refresh\" is used by the client to mark that a segment should re-fetch the\n * data from the server for the current segment. It uses the \"url\" property\n * above to determine where to fetch from.\n *\n * - \"inside-shared-layout\" is used during a prefetch request to inform the\n * server that even if the segment matches, it should be treated as if it's\n * within the \"new\" part of a navigation — inside the shared layout. If\n * the segment doesn't match, then it has no effect, since it would be\n * treated as new regardless. If it does match, though, the server does not\n * need to render it, because the client already has it.\n *\n * - \"metadata-only\" instructs the server to skip rendering the segments and\n * only send the head data.\n *\n * A bit confusing, but that's because it has only one extremely narrow use\n * case — during a non-PPR prefetch, the server uses it to find the first\n * loading boundary beneath a shared layout.\n *\n * TODO: We should rethink the protocol for dynamic requests. It might not\n * make sense for the client to send a FlightRouterState, since this type is\n * overloaded with concerns.\n */\n refresh?:\n | 'refetch'\n | 'refresh'\n | 'inside-shared-layout'\n | 'metadata-only'\n | null,\n isRootLayout?: boolean,\n /**\n * Only present when responding to a tree prefetch request. Indicates whether\n * there is a loading boundary somewhere in the tree. The client cache uses\n * this to determine if it can skip the data prefetch request.\n */\n hasLoadingBoundary?: HasLoadingBoundary,\n]\n\nexport const enum HasLoadingBoundary {\n // There is a loading boundary in this particular segment\n SegmentHasLoadingBoundary = 1,\n // There is a loading boundary somewhere in the subtree (but not in\n // this segment)\n SubtreeHasLoadingBoundary = 2,\n // There is no loading boundary in this segment or any of its descendants\n SubtreeHasNoLoadingBoundary = 3,\n}\n\n/**\n * Individual Flight response path\n */\nexport type FlightSegmentPath =\n // Uses `any` as repeating pattern can't be typed.\n | any[]\n // Looks somewhat like this\n | [\n segment: Segment,\n parallelRouterKey: string,\n segment: Segment,\n parallelRouterKey: string,\n segment: Segment,\n parallelRouterKey: string,\n ]\n\n/**\n * Represents a tree of segments and the Flight data (i.e. React nodes) that\n * correspond to each one. The tree is isomorphic to the FlightRouterState;\n * however in the future we want to be able to fetch arbitrary partial segments\n * without having to fetch all its children. So this response format will\n * likely change.\n */\nexport type CacheNodeSeedData = [\n node: React.ReactNode | null,\n parallelRoutes: {\n [parallelRouterKey: string]: CacheNodeSeedData | null\n },\n loading: LoadingModuleData | Promise<LoadingModuleData>,\n isPartial: boolean,\n /** TODO: this doesn't feel like it belongs here, because it's only used during build, in `collectSegmentData` */\n hasRuntimePrefetch: boolean,\n]\n\nexport type FlightDataSegment = [\n /* segment of the rendered slice: */ Segment,\n /* treePatch */ FlightRouterState,\n /* cacheNodeSeedData */ CacheNodeSeedData | null, // Can be null during prefetch if there's no loading component\n /* head: viewport */ HeadData,\n /* isHeadPartial */ boolean,\n]\n\nexport type FlightDataPath =\n // Uses `any` as repeating pattern can't be typed.\n | any[]\n // Looks somewhat like this\n | [\n // Holds full path to the segment.\n ...FlightSegmentPath[],\n ...FlightDataSegment,\n ]\n\n/**\n * The Flight response data\n */\nexport type FlightData = Array<FlightDataPath> | string\n\nexport type ActionResult = Promise<any>\n\nexport type InitialRSCPayload = {\n /** buildId */\n b: string\n /** initialCanonicalUrlParts */\n c: string[]\n /** initialRenderedSearch */\n q: string\n /** couldBeIntercepted */\n i: boolean\n /** initialFlightData */\n f: FlightDataPath[]\n /** missingSlots */\n m: Set<string> | undefined\n /** GlobalError */\n G: [React.ComponentType<any>, React.ReactNode | undefined]\n /** prerendered */\n S: boolean\n}\n\n// Response from `createFromFetch` for normal rendering\nexport type NavigationFlightResponse = {\n /** buildId */\n b: string\n /** flightData */\n f: FlightData\n /** prerendered */\n S: boolean\n /** renderedSearch */\n q: string\n /** couldBeIntercepted */\n i: boolean\n /** runtimePrefetch - [isPartial, staleTime]. Only present in runtime prefetch responses. */\n rp?: [boolean, number]\n}\n\n// Response from `createFromFetch` for server actions. Action's flight data can be null\nexport type ActionFlightResponse = {\n /** actionResult */\n a: ActionResult\n /** buildId */\n b: string\n /** flightData */\n f: FlightData\n /** renderedSearch */\n q: string\n /** couldBeIntercepted */\n i: boolean\n}\n\nexport type RSCPayload =\n | InitialRSCPayload\n | NavigationFlightResponse\n | ActionFlightResponse\n"],"names":["HasLoadingBoundary"],"mappings":"AAAA;;;;;CAKC;;;+BAqJiBA,sBAAAA;;;eAAAA;;;AAAX,IAAWA,qBAAAA,WAAAA,GAAAA,SAAAA,kBAAAA;IAChB,yDAAyD;;IAEzD,mEAAmE;IACnE,gBAAgB;;IAEhB,yEAAyE;;WANzDA","ignoreList":[0]}}, - {"offset": {"line": 885, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/shared/lib/router/utils/parse-path.ts"],"sourcesContent":["/**\n * Given a path this function will find the pathname, query and hash and return\n * them. This is useful to parse full paths on the client side.\n * @param path A path to parse e.g. /foo/bar?id=1#hash\n */\nexport function parsePath(path: string) {\n const hashIndex = path.indexOf('#')\n const queryIndex = path.indexOf('?')\n const hasQuery = queryIndex > -1 && (hashIndex < 0 || queryIndex < hashIndex)\n\n if (hasQuery || hashIndex > -1) {\n return {\n pathname: path.substring(0, hasQuery ? queryIndex : hashIndex),\n query: hasQuery\n ? path.substring(queryIndex, hashIndex > -1 ? hashIndex : undefined)\n : '',\n hash: hashIndex > -1 ? path.slice(hashIndex) : '',\n }\n }\n\n return { pathname: path, query: '', hash: '' }\n}\n"],"names":["parsePath","path","hashIndex","indexOf","queryIndex","hasQuery","pathname","substring","query","undefined","hash","slice"],"mappings":"AAAA;;;;CAIC;;;+BACeA,aAAAA;;;eAAAA;;;AAAT,SAASA,UAAUC,IAAY;IACpC,MAAMC,YAAYD,KAAKE,OAAO,CAAC;IAC/B,MAAMC,aAAaH,KAAKE,OAAO,CAAC;IAChC,MAAME,WAAWD,aAAa,CAAC,KAAMF,CAAAA,YAAY,KAAKE,aAAaF,SAAQ;IAE3E,IAAIG,YAAYH,YAAY,CAAC,GAAG;QAC9B,OAAO;YACLI,UAAUL,KAAKM,SAAS,CAAC,GAAGF,WAAWD,aAAaF;YACpDM,OAAOH,WACHJ,KAAKM,SAAS,CAACH,YAAYF,YAAY,CAAC,IAAIA,YAAYO,aACxD;YACJC,MAAMR,YAAY,CAAC,IAAID,KAAKU,KAAK,CAACT,aAAa;QACjD;IACF;IAEA,OAAO;QAAEI,UAAUL;QAAMO,OAAO;QAAIE,MAAM;IAAG;AAC/C","ignoreList":[0]}}, - {"offset": {"line": 919, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/shared/lib/router/utils/add-path-prefix.ts"],"sourcesContent":["import { parsePath } from './parse-path'\n\n/**\n * Adds the provided prefix to the given path. It first ensures that the path\n * is indeed starting with a slash.\n */\nexport function addPathPrefix(path: string, prefix?: string) {\n if (!path.startsWith('/') || !prefix) {\n return path\n }\n\n const { pathname, query, hash } = parsePath(path)\n return `${prefix}${pathname}${query}${hash}`\n}\n"],"names":["addPathPrefix","path","prefix","startsWith","pathname","query","hash","parsePath"],"mappings":";;;+BAMgBA,iBAAAA;;;eAAAA;;;2BANU;AAMnB,SAASA,cAAcC,IAAY,EAAEC,MAAe;IACzD,IAAI,CAACD,KAAKE,UAAU,CAAC,QAAQ,CAACD,QAAQ;QACpC,OAAOD;IACT;IAEA,MAAM,EAAEG,QAAQ,EAAEC,KAAK,EAAEC,IAAI,EAAE,GAAGC,CAAAA,GAAAA,WAAAA,SAAS,EAACN;IAC5C,OAAO,GAAGC,SAASE,WAAWC,QAAQC,MAAM;AAC9C","ignoreList":[0]}}, - {"offset": {"line": 940, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/shared/lib/router/utils/remove-trailing-slash.ts"],"sourcesContent":["/**\n * Removes the trailing slash for a given route or page path. Preserves the\n * root page. Examples:\n * - `/foo/bar/` -> `/foo/bar`\n * - `/foo/bar` -> `/foo/bar`\n * - `/` -> `/`\n */\nexport function removeTrailingSlash(route: string) {\n return route.replace(/\\/$/, '') || '/'\n}\n"],"names":["removeTrailingSlash","route","replace"],"mappings":"AAAA;;;;;;CAMC;;;+BACeA,uBAAAA;;;eAAAA;;;AAAT,SAASA,oBAAoBC,KAAa;IAC/C,OAAOA,MAAMC,OAAO,CAAC,OAAO,OAAO;AACrC","ignoreList":[0]}}, - {"offset": {"line": 962, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/shared/lib/promise-with-resolvers.ts"],"sourcesContent":["export function createPromiseWithResolvers<T>(): PromiseWithResolvers<T> {\n // Shim of Stage 4 Promise.withResolvers proposal\n let resolve: (value: T | PromiseLike<T>) => void\n let reject: (reason: any) => void\n const promise = new Promise<T>((res, rej) => {\n resolve = res\n reject = rej\n })\n return { resolve: resolve!, reject: reject!, promise }\n}\n"],"names":["createPromiseWithResolvers","resolve","reject","promise","Promise","res","rej"],"mappings":";;;+BAAgBA,8BAAAA;;;eAAAA;;;AAAT,SAASA;IACd,iDAAiD;IACjD,IAAIC;IACJ,IAAIC;IACJ,MAAMC,UAAU,IAAIC,QAAW,CAACC,KAAKC;QACnCL,UAAUI;QACVH,SAASI;IACX;IACA,OAAO;QAAEL,SAASA;QAAUC,QAAQA;QAASC;IAAQ;AACvD","ignoreList":[0]}}, - {"offset": {"line": 989, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/shared/lib/router/utils/path-has-prefix.ts"],"sourcesContent":["import { parsePath } from './parse-path'\n\n/**\n * Checks if a given path starts with a given prefix. It ensures it matches\n * exactly without containing extra chars. e.g. prefix /docs should replace\n * for /docs, /docs/, /docs/a but not /docsss\n * @param path The path to check.\n * @param prefix The prefix to check against.\n */\nexport function pathHasPrefix(path: string, prefix: string) {\n if (typeof path !== 'string') {\n return false\n }\n\n const { pathname } = parsePath(path)\n return pathname === prefix || pathname.startsWith(prefix + '/')\n}\n"],"names":["pathHasPrefix","path","prefix","pathname","parsePath","startsWith"],"mappings":";;;+BASgBA,iBAAAA;;;eAAAA;;;2BATU;AASnB,SAASA,cAAcC,IAAY,EAAEC,MAAc;IACxD,IAAI,OAAOD,SAAS,UAAU;QAC5B,OAAO;IACT;IAEA,MAAM,EAAEE,QAAQ,EAAE,GAAGC,CAAAA,GAAAA,WAAAA,SAAS,EAACH;IAC/B,OAAOE,aAAaD,UAAUC,SAASE,UAAU,CAACH,SAAS;AAC7D","ignoreList":[0]}}, - {"offset": {"line": 1010, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/shared/lib/server-reference-info.ts"],"sourcesContent":["export interface ServerReferenceInfo {\n type: 'server-action' | 'use-cache'\n usedArgs: [boolean, boolean, boolean, boolean, boolean, boolean]\n hasRestArgs: boolean\n}\n\n/**\n * Extracts info about the server reference for the given server reference ID by\n * parsing the first byte of the hex-encoded ID.\n *\n * ```\n * Bit positions: [7] [6] [5] [4] [3] [2] [1] [0]\n * Bits: typeBit argMask restArgs\n * ```\n *\n * If the `typeBit` is `1` the server reference represents a `\"use cache\"`\n * function, otherwise a server action.\n *\n * The `argMask` encodes whether the function uses the argument at the\n * respective position.\n *\n * The `restArgs` bit indicates whether the function uses a rest parameter. It's\n * also set to 1 if the function has more than 6 args.\n *\n * @param id hex-encoded server reference ID\n */\nexport function extractInfoFromServerReferenceId(\n id: string\n): ServerReferenceInfo {\n const infoByte = parseInt(id.slice(0, 2), 16)\n const typeBit = (infoByte >> 7) & 0x1\n const argMask = (infoByte >> 1) & 0x3f\n const restArgs = infoByte & 0x1\n const usedArgs = Array(6)\n\n for (let index = 0; index < 6; index++) {\n const bitPosition = 5 - index\n const bit = (argMask >> bitPosition) & 0x1\n usedArgs[index] = bit === 1\n }\n\n return {\n type: typeBit === 1 ? 'use-cache' : 'server-action',\n usedArgs: usedArgs as [\n boolean,\n boolean,\n boolean,\n boolean,\n boolean,\n boolean,\n ],\n hasRestArgs: restArgs === 1,\n }\n}\n\n/**\n * Creates a sparse array containing only the used arguments based on the\n * provided action info.\n */\nexport function omitUnusedArgs(\n args: unknown[],\n info: ServerReferenceInfo\n): unknown[] {\n const filteredArgs = new Array(args.length)\n\n for (let index = 0; index < args.length; index++) {\n if (\n (index < 6 && info.usedArgs[index]) ||\n // This assumes that the server reference info byte has the restArgs bit\n // set to 1 if there are more than 6 args.\n (index >= 6 && info.hasRestArgs)\n ) {\n filteredArgs[index] = args[index]\n }\n }\n\n return filteredArgs\n}\n"],"names":["extractInfoFromServerReferenceId","omitUnusedArgs","id","infoByte","parseInt","slice","typeBit","argMask","restArgs","usedArgs","Array","index","bitPosition","bit","type","hasRestArgs","args","info","filteredArgs","length"],"mappings":";;;;;;;;;;;;;;IA0BgBA,gCAAgC,EAAA;eAAhCA;;IAiCAC,cAAc,EAAA;eAAdA;;;AAjCT,SAASD,iCACdE,EAAU;IAEV,MAAMC,WAAWC,SAASF,GAAGG,KAAK,CAAC,GAAG,IAAI;IAC1C,MAAMC,UAAWH,YAAY,IAAK;IAClC,MAAMI,UAAWJ,YAAY,IAAK;IAClC,MAAMK,WAAWL,WAAW;IAC5B,MAAMM,WAAWC,MAAM;IAEvB,IAAK,IAAIC,QAAQ,GAAGA,QAAQ,GAAGA,QAAS;QACtC,MAAMC,cAAc,IAAID;QACxB,MAAME,MAAON,WAAWK,cAAe;QACvCH,QAAQ,CAACE,MAAM,GAAGE,QAAQ;IAC5B;IAEA,OAAO;QACLC,MAAMR,YAAY,IAAI,cAAc;QACpCG,UAAUA;QAQVM,aAAaP,aAAa;IAC5B;AACF;AAMO,SAASP,eACde,IAAe,EACfC,IAAyB;IAEzB,MAAMC,eAAe,IAAIR,MAAMM,KAAKG,MAAM;IAE1C,IAAK,IAAIR,QAAQ,GAAGA,QAAQK,KAAKG,MAAM,EAAER,QAAS;QAChD,IACGA,QAAQ,KAAKM,KAAKR,QAAQ,CAACE,MAAM,IAClC,wEAAwE;QACxE,0CAA0C;QACzCA,SAAS,KAAKM,KAAKF,WAAW,EAC/B;YACAG,YAAY,CAACP,MAAM,GAAGK,IAAI,CAACL,MAAM;QACnC;IACF;IAEA,OAAOO;AACT","ignoreList":[0]}}, - {"offset": {"line": 1063, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/shared/lib/action-revalidation-kind.ts"],"sourcesContent":["export type ActionRevalidationKind = 0 | 1 | 2\n\nexport const ActionDidNotRevalidate = 0\nexport const ActionDidRevalidateStaticAndDynamic = 1\nexport const ActionDidRevalidateDynamicOnly = 2\n"],"names":["ActionDidNotRevalidate","ActionDidRevalidateDynamicOnly","ActionDidRevalidateStaticAndDynamic"],"mappings":";;;;;;;;;;;;;;;IAEaA,sBAAsB,EAAA;eAAtBA;;IAEAC,8BAA8B,EAAA;eAA9BA;;IADAC,mCAAmC,EAAA;eAAnCA;;;AADN,MAAMF,yBAAyB;AAC/B,MAAME,sCAAsC;AAC5C,MAAMD,iCAAiC","ignoreList":[0]}}, - {"offset": {"line": 1095, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/shared/lib/app-router-context.shared-runtime.ts"],"sourcesContent":["'use client'\n\nimport type {\n FocusAndScrollRef,\n PrefetchKind,\n} from '../../client/components/router-reducer/router-reducer-types'\nimport type { Params } from '../../server/request/params'\nimport type {\n FlightRouterState,\n FlightSegmentPath,\n CacheNode,\n} from './app-router-types'\nimport React from 'react'\n\nexport interface NavigateOptions {\n scroll?: boolean\n}\n\nexport interface PrefetchOptions {\n kind: PrefetchKind\n onInvalidate?: () => void\n}\n\nexport interface AppRouterInstance {\n /**\n * Navigate to the previous history entry.\n */\n back(): void\n /**\n * Navigate to the next history entry.\n */\n forward(): void\n /**\n * Refresh the current page.\n */\n refresh(): void\n /**\n * Refresh the current page. Use in development only.\n * @internal\n */\n hmrRefresh(): void\n /**\n * Navigate to the provided href.\n * Pushes a new history entry.\n */\n push(href: string, options?: NavigateOptions): void\n /**\n * Navigate to the provided href.\n * Replaces the current history entry.\n */\n replace(href: string, options?: NavigateOptions): void\n /**\n * Prefetch the provided href.\n */\n prefetch(href: string, options?: PrefetchOptions): void\n}\n\nexport const AppRouterContext = React.createContext<AppRouterInstance | null>(\n null\n)\nexport const LayoutRouterContext = React.createContext<{\n parentTree: FlightRouterState\n parentCacheNode: CacheNode\n parentSegmentPath: FlightSegmentPath | null\n parentParams: Params\n debugNameContext: string\n url: string\n isActive: boolean\n} | null>(null)\n\nexport const GlobalLayoutRouterContext = React.createContext<{\n tree: FlightRouterState\n focusAndScrollRef: FocusAndScrollRef\n nextUrl: string | null\n previousNextUrl: string | null\n}>(null as any)\n\nexport const TemplateContext = React.createContext<React.ReactNode>(null as any)\n\nif (process.env.NODE_ENV !== 'production') {\n AppRouterContext.displayName = 'AppRouterContext'\n LayoutRouterContext.displayName = 'LayoutRouterContext'\n GlobalLayoutRouterContext.displayName = 'GlobalLayoutRouterContext'\n TemplateContext.displayName = 'TemplateContext'\n}\n\nexport const MissingSlotContext = React.createContext<Set<string>>(new Set())\n"],"names":["AppRouterContext","GlobalLayoutRouterContext","LayoutRouterContext","MissingSlotContext","TemplateContext","React","createContext","process","env","NODE_ENV","displayName","Set"],"mappings":"AA+EIO,QAAQC,GAAG,CAACC,QAAQ,KAAK;AA/E7B;;;;;;;;;;;;;;;;;;;IAyDaT,gBAAgB,EAAA;eAAhBA;;IAaAC,yBAAyB,EAAA;eAAzBA;;IAVAC,mBAAmB,EAAA;eAAnBA;;IA0BAC,kBAAkB,EAAA;eAAlBA;;IATAC,eAAe,EAAA;eAAfA;;;;gEAjEK;AA6CX,MAAMJ,mBAAmBK,OAAAA,OAAK,CAACC,aAAa,CACjD;AAEK,MAAMJ,sBAAsBG,OAAAA,OAAK,CAACC,aAAa,CAQ5C;AAEH,MAAML,4BAA4BI,OAAAA,OAAK,CAACC,aAAa,CAKzD;AAEI,MAAMF,kBAAkBC,OAAAA,OAAK,CAACC,aAAa,CAAkB;AAEpE,wCAA2C;IACzCN,iBAAiBU,WAAW,GAAG;IAC/BR,oBAAoBQ,WAAW,GAAG;IAClCT,0BAA0BS,WAAW,GAAG;IACxCN,gBAAgBM,WAAW,GAAG;AAChC;AAEO,MAAMP,qBAAqBE,OAAAA,OAAK,CAACC,aAAa,CAAc,IAAIK","ignoreList":[0]}}, - {"offset": {"line": 1148, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/shared/lib/server-inserted-html.shared-runtime.tsx"],"sourcesContent":["'use client'\n\nimport React, { useContext } from 'react'\n\nexport type ServerInsertedHTMLHook = (callbacks: () => React.ReactNode) => void\n\n// Use `React.createContext` to avoid errors from the RSC checks because\n// it can't be imported directly in Server Components:\n//\n// import { createContext } from 'react'\n//\n// More info: https://github.com/vercel/next.js/pull/40686\nexport const ServerInsertedHTMLContext =\n React.createContext<ServerInsertedHTMLHook | null>(null as any)\n\nexport function useServerInsertedHTML(callback: () => React.ReactNode): void {\n const addInsertedServerHTMLCallback = useContext(ServerInsertedHTMLContext)\n // Should have no effects on client where there's no flush effects provider\n if (addInsertedServerHTMLCallback) {\n addInsertedServerHTMLCallback(callback)\n }\n}\n"],"names":["ServerInsertedHTMLContext","useServerInsertedHTML","React","createContext","callback","addInsertedServerHTMLCallback","useContext"],"mappings":";;;;;;;;;;;;;;IAYaA,yBAAyB,EAAA;eAAzBA;;IAGGC,qBAAqB,EAAA;eAArBA;;;;iEAbkB;AAU3B,MAAMD,4BAAAA,WAAAA,GACXE,OAAAA,OAAK,CAACC,aAAa,CAAgC;AAE9C,SAASF,sBAAsBG,QAA+B;IACnE,MAAMC,gCAAgCC,CAAAA,GAAAA,OAAAA,UAAU,EAACN;IACjD,2EAA2E;IAC3E,IAAIK,+BAA+B;QACjCA,8BAA8BD;IAChC;AACF","ignoreList":[0]}}, - {"offset": {"line": 1183, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/shared/lib/utils/warn-once.ts"],"sourcesContent":["let warnOnce = (_: string) => {}\nif (process.env.NODE_ENV !== 'production') {\n const warnings = new Set<string>()\n warnOnce = (msg: string) => {\n if (!warnings.has(msg)) {\n console.warn(msg)\n }\n warnings.add(msg)\n }\n}\n\nexport { warnOnce }\n"],"names":["warnOnce","_","process","env","NODE_ENV","warnings","Set","msg","has","console","warn","add"],"mappings":"AACIE,QAAQC,GAAG,CAACC,QAAQ,KAAK;;;;;+BAUpBJ,YAAAA;;;eAAAA;;;AAXT,IAAIA,WAAW,CAACC,KAAe;AAC/B,wCAA2C;IACzC,MAAMI,WAAW,IAAIC;IACrBN,WAAW,CAACO;QACV,IAAI,CAACF,SAASG,GAAG,CAACD,MAAM;YACtBE,QAAQC,IAAI,CAACH;QACf;QACAF,SAASM,GAAG,CAACJ;IACf;AACF","ignoreList":[0]}}, - {"offset": {"line": 1208, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/shared/lib/format-webpack-messages.ts"],"sourcesContent":["/**\nMIT License\n\nCopyright (c) 2015-present, Facebook, Inc.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n*/\nimport stripAnsi from 'next/dist/compiled/strip-ansi'\n// This file is based on https://github.com/facebook/create-react-app/blob/7b1a32be6ec9f99a6c9a3c66813f3ac09c4736b9/packages/react-dev-utils/formatWebpackMessages.js\n// It's been edited to remove chalk and CRA-specific logic\n\nconst friendlySyntaxErrorLabel = 'Syntax error:'\n\nconst WEBPACK_BREAKING_CHANGE_POLYFILLS =\n '\\n\\nBREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.'\n\nfunction isLikelyASyntaxError(message: string) {\n return stripAnsi(message).includes(friendlySyntaxErrorLabel)\n}\n\nlet hadMissingSassError = false\n\n// Cleans up webpack error messages.\nfunction formatMessage(\n message: any,\n verbose?: boolean,\n importTraceNote?: boolean\n) {\n // TODO: Replace this once webpack 5 is stable\n if (typeof message === 'object' && message.message) {\n const filteredModuleTrace =\n message.moduleTrace &&\n message.moduleTrace.filter(\n (trace: any) =>\n !/next-(middleware|client-pages|route|edge-function)-loader\\.js/.test(\n trace.originName\n )\n )\n\n let body = message.message\n const breakingChangeIndex = body.indexOf(WEBPACK_BREAKING_CHANGE_POLYFILLS)\n if (breakingChangeIndex >= 0) {\n body = body.slice(0, breakingChangeIndex)\n }\n\n // TODO: Rspack currently doesn't populate moduleName correctly in some cases,\n // fall back to moduleIdentifier as a workaround\n if (\n process.env.NEXT_RSPACK &&\n !message.moduleName &&\n !message.file &&\n message.moduleIdentifier\n ) {\n const parts = message.moduleIdentifier.split('!')\n message.moduleName = parts[parts.length - 1]\n }\n\n message =\n (message.moduleName ? stripAnsi(message.moduleName) + '\\n' : '') +\n (message.file ? stripAnsi(message.file) + '\\n' : '') +\n body +\n (message.details && verbose ? '\\n' + message.details : '') +\n (filteredModuleTrace && filteredModuleTrace.length\n ? (importTraceNote || '\\n\\nImport trace for requested module:') +\n filteredModuleTrace\n .map((trace: any) => `\\n${trace.moduleName}`)\n .join('')\n : '') +\n (message.stack && verbose ? '\\n' + message.stack : '')\n }\n let lines = message.split('\\n')\n\n // Strip Webpack-added headers off errors/warnings\n // https://github.com/webpack/webpack/blob/master/lib/ModuleError.js\n lines = lines.filter((line: string) => !/Module [A-z ]+\\(from/.test(line))\n\n // Transform parsing error into syntax error\n // TODO: move this to our ESLint formatter?\n lines = lines.map((line: string) => {\n const parsingError = /Line (\\d+):(?:(\\d+):)?\\s*Parsing error: (.+)$/.exec(\n line\n )\n if (!parsingError) {\n return line\n }\n const [, errorLine, errorColumn, errorMessage] = parsingError\n return `${friendlySyntaxErrorLabel} ${errorMessage} (${errorLine}:${errorColumn})`\n })\n\n message = lines.join('\\n')\n // Smoosh syntax errors (commonly found in CSS)\n message = message.replace(\n /SyntaxError\\s+\\((\\d+):(\\d+)\\)\\s*(.+?)\\n/g,\n `${friendlySyntaxErrorLabel} $3 ($1:$2)\\n`\n )\n // Clean up export errors\n message = message.replace(\n /^.*export '(.+?)' was not found in '(.+?)'.*$/gm,\n `Attempted import error: '$1' is not exported from '$2'.`\n )\n message = message.replace(\n /^.*export 'default' \\(imported as '(.+?)'\\) was not found in '(.+?)'.*$/gm,\n `Attempted import error: '$2' does not contain a default export (imported as '$1').`\n )\n message = message.replace(\n /^.*export '(.+?)' \\(imported as '(.+?)'\\) was not found in '(.+?)'.*$/gm,\n `Attempted import error: '$1' is not exported from '$3' (imported as '$2').`\n )\n lines = message.split('\\n')\n\n // Remove leading newline\n if (lines.length > 2 && lines[1].trim() === '') {\n lines.splice(1, 1)\n }\n\n // Cleans up verbose \"module not found\" messages for files and packages.\n if (lines[1] && lines[1].startsWith('Module not found: ')) {\n lines = [\n lines[0],\n lines[1]\n .replace('Error: ', '')\n .replace('Module not found: Cannot find file:', 'Cannot find file:'),\n ...lines.slice(2),\n ]\n }\n\n // Add helpful message for users trying to use Sass for the first time\n if (lines[1] && lines[1].match(/Cannot find module.+sass/)) {\n // ./file.module.scss (<<loader info>>) => ./file.module.scss\n const firstLine = lines[0].split('!')\n lines[0] = firstLine[firstLine.length - 1]\n\n lines[1] =\n \"To use Next.js' built-in Sass support, you first need to install `sass`.\\n\"\n lines[1] += 'Run `npm i sass` or `yarn add sass` inside your workspace.\\n'\n lines[1] += '\\nLearn more: https://nextjs.org/docs/messages/install-sass'\n\n // dispose of unhelpful stack trace\n lines = lines.slice(0, 2)\n hadMissingSassError = true\n } else if (\n hadMissingSassError &&\n message.match(/(sass-loader|resolve-url-loader: CSS error)/)\n ) {\n // dispose of unhelpful stack trace following missing sass module\n lines = []\n }\n\n if (!verbose) {\n message = lines.join('\\n')\n // Internal stacks are generally useless so we strip them... with the\n // exception of stacks containing `webpack:` because they're normally\n // from user code generated by Webpack. For more information see\n // https://github.com/facebook/create-react-app/pull/1050\n message = message.replace(\n /^\\s*at\\s((?!webpack:).)*:\\d+:\\d+[\\s)]*(\\n|$)/gm,\n ''\n ) // at ... ...:x:y\n message = message.replace(/^\\s*at\\s<anonymous>(\\n|$)/gm, '') // at <anonymous>\n\n message = message.replace(\n /File was processed with these loaders:\\n(.+[\\\\/](next[\\\\/]dist[\\\\/].+|@next[\\\\/]react-refresh-utils[\\\\/]loader)\\.js\\n)*You may need an additional loader to handle the result of these loaders.\\n/g,\n ''\n )\n\n lines = message.split('\\n')\n }\n\n // Remove duplicated newlines\n lines = (lines as string[]).filter(\n (line, index, arr) =>\n index === 0 || line.trim() !== '' || line.trim() !== arr[index - 1].trim()\n )\n\n // Reassemble the message\n message = lines.join('\\n')\n return message.trim()\n}\n\nexport default function formatWebpackMessages(json: any, verbose?: boolean) {\n const formattedErrors = json.errors.map((message: any) => {\n const isUnknownNextFontError = message.message.includes(\n 'An error occurred in `next/font`.'\n )\n return formatMessage(message, isUnknownNextFontError || verbose)\n })\n const formattedWarnings = json.warnings.map((message: any) => {\n return formatMessage(message, verbose)\n })\n\n // Reorder errors to put the most relevant ones first.\n let reactServerComponentsError = -1\n\n for (let i = 0; i < formattedErrors.length; i++) {\n const error = formattedErrors[i]\n if (error.includes('ReactServerComponentsError')) {\n reactServerComponentsError = i\n break\n }\n }\n\n // Move the reactServerComponentsError to the top if it exists\n if (reactServerComponentsError !== -1) {\n const error = formattedErrors.splice(reactServerComponentsError, 1)\n formattedErrors.unshift(error[0])\n }\n\n const result = {\n ...json,\n errors: formattedErrors,\n warnings: formattedWarnings,\n }\n if (!verbose && result.errors.some(isLikelyASyntaxError)) {\n // If there are any syntax errors, show just them.\n result.errors = result.errors.filter(isLikelyASyntaxError)\n result.warnings = []\n }\n return result\n}\n"],"names":["formatWebpackMessages","friendlySyntaxErrorLabel","WEBPACK_BREAKING_CHANGE_POLYFILLS","isLikelyASyntaxError","message","stripAnsi","includes","hadMissingSassError","formatMessage","verbose","importTraceNote","filteredModuleTrace","moduleTrace","filter","trace","test","originName","body","breakingChangeIndex","indexOf","slice","process","env","NEXT_RSPACK","moduleName","file","moduleIdentifier","parts","split","length","details","map","join","stack","lines","line","parsingError","exec","errorLine","errorColumn","errorMessage","replace","trim","splice","startsWith","match","firstLine","index","arr","json","formattedErrors","errors","isUnknownNextFontError","formattedWarnings","warnings","reactServerComponentsError","i","error","unshift","result","some"],"mappings":"AAgEMqB;AAhEN;;;;;;;;;;;;;;;;;;;;;;AAsBA,GAAA;;;;+BA6KA,WAAA;;;eAAwBrB;;;;oEA5KF;AACtB,qKAAqK;AACrK,0DAA0D;AAE1D,MAAMC,2BAA2B;AAEjC,MAAMC,oCACJ;AAEF,SAASC,qBAAqBC,OAAe;IAC3C,OAAOC,CAAAA,GAAAA,WAAAA,OAAS,EAACD,SAASE,QAAQ,CAACL;AACrC;AAEA,IAAIM,sBAAsB;AAE1B,oCAAoC;AACpC,SAASC,cACPJ,OAAY,EACZK,OAAiB,EACjBC,eAAyB;IAEzB,8CAA8C;IAC9C,IAAI,OAAON,YAAY,YAAYA,QAAQA,OAAO,EAAE;QAClD,MAAMO,sBACJP,QAAQQ,WAAW,IACnBR,QAAQQ,WAAW,CAACC,MAAM,CACxB,CAACC,QACC,CAAC,gEAAgEC,IAAI,CACnED,MAAME,UAAU;QAIxB,IAAIC,OAAOb,QAAQA,OAAO;QAC1B,MAAMc,sBAAsBD,KAAKE,OAAO,CAACjB;QACzC,IAAIgB,uBAAuB,GAAG;YAC5BD,OAAOA,KAAKG,KAAK,CAAC,GAAGF;QACvB;QAEA,8EAA8E;QAC9E,gDAAgD;QAChD,+KACEG,CAAQC,GAAG,CAACC,WAAW,IACvB,CAACnB,QAAQoB,UAAU,IACnB,CAACpB,QAAQqB,IAAI,IACbrB,QAAQsB,gBAAgB,EACxB;YACA,MAAMC,QAAQvB,QAAQsB,gBAAgB,CAACE,KAAK,CAAC;YAC7CxB,QAAQoB,UAAU,GAAGG,KAAK,CAACA,MAAME,MAAM,GAAG,EAAE;QAC9C;QAEAzB,UACGA,CAAAA,QAAQoB,UAAU,GAAGnB,CAAAA,GAAAA,WAAAA,OAAS,EAACD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,MAAM,CAACV;QACrCwD,OAAOL,QAAQ,GAAG,EAAE;IACtB;IACA,OAAOK;AACT","ignoreList":[0]}}, - {"offset": {"line": 1375, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/shared/lib/errors/constants.ts"],"sourcesContent":["export const MISSING_ROOT_TAGS_ERROR = 'NEXT_MISSING_ROOT_TAGS'\n"],"names":["MISSING_ROOT_TAGS_ERROR"],"mappings":";;;+BAAaA,2BAAAA;;;eAAAA;;;AAAN,MAAMA,0BAA0B","ignoreList":[0]}}, - {"offset": {"line": 1396, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/shared/lib/normalized-asset-prefix.ts"],"sourcesContent":["export function normalizedAssetPrefix(assetPrefix: string | undefined): string {\n // remove all leading slashes and trailing slashes\n const escapedAssetPrefix = assetPrefix?.replace(/^\\/+|\\/+$/g, '') || false\n\n // if an assetPrefix was '/', we return empty string\n // because it could be an unnecessary trailing slash\n if (!escapedAssetPrefix) {\n return ''\n }\n\n if (URL.canParse(escapedAssetPrefix)) {\n const url = new URL(escapedAssetPrefix).toString()\n return url.endsWith('/') ? url.slice(0, -1) : url\n }\n\n // assuming assetPrefix here is a pathname-style,\n // restore the leading slash\n return `/${escapedAssetPrefix}`\n}\n"],"names":["normalizedAssetPrefix","assetPrefix","escapedAssetPrefix","replace","URL","canParse","url","toString","endsWith","slice"],"mappings":";;;+BAAgBA,yBAAAA;;;eAAAA;;;AAAT,SAASA,sBAAsBC,WAA+B;IACnE,kDAAkD;IAClD,MAAMC,qBAAqBD,aAAaE,QAAQ,cAAc,OAAO;IAErE,oDAAoD;IACpD,oDAAoD;IACpD,IAAI,CAACD,oBAAoB;QACvB,OAAO;IACT;IAEA,IAAIE,IAAIC,QAAQ,CAACH,qBAAqB;QACpC,MAAMI,MAAM,IAAIF,IAAIF,oBAAoBK,QAAQ;QAChD,OAAOD,IAAIE,QAAQ,CAAC,OAAOF,IAAIG,KAAK,CAAC,GAAG,CAAC,KAAKH;IAChD;IAEA,iDAAiD;IACjD,4BAA4B;IAC5B,OAAO,CAAC,CAAC,EAAEJ,oBAAoB;AACjC","ignoreList":[0]}}, - {"offset": {"line": 1425, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/lib/is-error.ts"],"sourcesContent":["import { isPlainObject } from '../shared/lib/is-plain-object'\n\n// We allow some additional attached properties for Next.js errors\nexport interface NextError extends Error {\n type?: string\n page?: string\n code?: string | number\n cancelled?: boolean\n digest?: number\n}\n\n/**\n * This is a safe stringify function that handles circular references.\n * We're using a simpler version here to avoid introducing\n * the dependency `safe-stable-stringify` into production bundle.\n *\n * This helper is used both in development and production.\n */\nfunction safeStringifyLite(obj: any) {\n const seen = new WeakSet()\n\n return JSON.stringify(obj, (_key, value) => {\n // If value is an object and already seen, replace with \"[Circular]\"\n if (typeof value === 'object' && value !== null) {\n if (seen.has(value)) {\n return '[Circular]'\n }\n seen.add(value)\n }\n return value\n })\n}\n\n/**\n * Checks whether the given value is a NextError.\n * This can be used to print a more detailed error message with properties like `code` & `digest`.\n */\nexport default function isError(err: unknown): err is NextError {\n return (\n typeof err === 'object' && err !== null && 'name' in err && 'message' in err\n )\n}\n\nexport function getProperError(err: unknown): Error {\n if (isError(err)) {\n return err\n }\n\n if (process.env.NODE_ENV === 'development') {\n // provide better error for case where `throw undefined`\n // is called in development\n if (typeof err === 'undefined') {\n return new Error(\n 'An undefined error was thrown, ' +\n 'see here for more info: https://nextjs.org/docs/messages/threw-undefined'\n )\n }\n\n if (err === null) {\n return new Error(\n 'A null error was thrown, ' +\n 'see here for more info: https://nextjs.org/docs/messages/threw-undefined'\n )\n }\n }\n\n return new Error(isPlainObject(err) ? safeStringifyLite(err) : err + '')\n}\n"],"names":["isError","getProperError","safeStringifyLite","obj","seen","WeakSet","JSON","stringify","_key","value","has","add","err","process","env","NODE_ENV","Error","isPlainObject"],"mappings":"AAgDMa,QAAQC,GAAG,CAACC,QAAQ,KAAK;;;;;;;;;;;;;;;;IAf/B;;;CAGC,GACD,OAIC,EAAA;eAJuBf;;IAMRC,cAAc,EAAA;eAAdA;;;+BA3Cc;AAW9B;;;;;;CAMC,GACD,SAASC,kBAAkBC,GAAQ;IACjC,MAAMC,OAAO,IAAIC;IAEjB,OAAOC,KAAKC,SAAS,CAACJ,KAAK,CAACK,MAAMC;QAChC,oEAAoE;QACpE,IAAI,OAAOA,UAAU,YAAYA,UAAU,MAAM;YAC/C,IAAIL,KAAKM,GAAG,CAACD,QAAQ;gBACnB,OAAO;YACT;YACAL,KAAKO,GAAG,CAACF;QACX;QACA,OAAOA;IACT;AACF;AAMe,SAAST,QAAQY,GAAY;IAC1C,OACE,OAAOA,QAAQ,YAAYA,QAAQ,QAAQ,UAAUA,OAAO,aAAaA;AAE7E;AAEO,SAASX,eAAeW,GAAY;IACzC,IAAIZ,QAAQY,MAAM;QAChB,OAAOA;IACT;IAEA,wCAA4C;QAC1C,wDAAwD;QACxD,2BAA2B;QAC3B,IAAI,OAAOA,QAAQ,aAAa;YAC9B,OAAO,OAAA,cAGN,CAHM,IAAII,MACT,oCACE,6EAFG,qBAAA;uBAAA;4BAAA;8BAAA;YAGP;QACF;QAEA,IAAIJ,QAAQ,MAAM;YAChB,OAAO,OAAA,cAGN,CAHM,IAAII,MACT,8BACE,6EAFG,qBAAA;uBAAA;4BAAA;8BAAA;YAGP;QACF;IACF;IAEA,OAAO,OAAA,cAAiE,CAAjE,IAAIA,MAAMC,CAAAA,GAAAA,eAAAA,aAAa,EAACL,OAAOV,kBAAkBU,OAAOA,MAAM,KAA9D,qBAAA;eAAA;oBAAA;sBAAA;IAAgE;AACzE","ignoreList":[0]}}, - {"offset": {"line": 1506, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/lib/require-instrumentation-client.ts"],"sourcesContent":["/**\n * This module imports the client instrumentation hook from the project root.\n *\n * The `private-next-instrumentation-client` module is automatically aliased to\n * the `instrumentation-client.ts` file in the project root by webpack or turbopack.\n */\nif (process.env.NODE_ENV === 'development') {\n const measureName = 'Client Instrumentation Hook'\n const startTime = performance.now()\n // eslint-disable-next-line @next/internal/typechecked-require -- Not a module.\n module.exports = require('private-next-instrumentation-client')\n const endTime = performance.now()\n const duration = endTime - startTime\n\n // Using 16ms threshold as it represents one frame (1000ms/60fps)\n // This helps identify if the instrumentation hook initialization\n // could potentially cause frame drops during development.\n const THRESHOLD = 16\n if (duration > THRESHOLD) {\n console.log(\n `[${measureName}] Slow execution detected: ${duration.toFixed(0)}ms (Note: Code download overhead is not included in this measurement)`\n )\n }\n} else {\n // eslint-disable-next-line @next/internal/typechecked-require -- Not a module.\n module.exports = require('private-next-instrumentation-client')\n}\n"],"names":["process","env","NODE_ENV","measureName","startTime","performance","now","module","exports","require","endTime","duration","THRESHOLD","console","log","toFixed"],"mappings":"AAMIA,QAAQC,GAAG,CAACC,QAAQ,KAAK;AAN7B;;;;;CAKC,GAAA;AACD,wCAA4C;IAC1C,MAAMC,cAAc;IACpB,MAAMC,YAAYC,YAAYC,GAAG;IACjC,+EAA+E;IAC/EC,OAAOC,OAAO,GAAGC,QAAQ;IACzB,MAAMC,UAAUL,YAAYC,GAAG;IAC/B,MAAMK,WAAWD,UAAUN;IAE3B,iEAAiE;IACjE,iEAAiE;IACjE,0DAA0D;IAC1D,MAAMQ,YAAY;IAClB,IAAID,WAAWC,WAAW;QACxBC,QAAQC,GAAG,CACT,CAAC,CAAC,EAAEX,YAAY,2BAA2B,EAAEQ,SAASI,OAAO,CAAC,GAAG,qEAAqE,CAAC;IAE3I;AACF,OAAO","ignoreList":[0]}}, - {"offset": {"line": 1534, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/lib/framework/boundary-constants.tsx"],"sourcesContent":["export const METADATA_BOUNDARY_NAME = '__next_metadata_boundary__'\nexport const VIEWPORT_BOUNDARY_NAME = '__next_viewport_boundary__'\nexport const OUTLET_BOUNDARY_NAME = '__next_outlet_boundary__'\nexport const ROOT_LAYOUT_BOUNDARY_NAME = '__next_root_layout_boundary__'\n"],"names":["METADATA_BOUNDARY_NAME","OUTLET_BOUNDARY_NAME","ROOT_LAYOUT_BOUNDARY_NAME","VIEWPORT_BOUNDARY_NAME"],"mappings":";;;;;;;;;;;;;;;;IAAaA,sBAAsB,EAAA;eAAtBA;;IAEAC,oBAAoB,EAAA;eAApBA;;IACAC,yBAAyB,EAAA;eAAzBA;;IAFAC,sBAAsB,EAAA;eAAtBA;;;AADN,MAAMH,yBAAyB;AAC/B,MAAMG,yBAAyB;AAC/B,MAAMF,uBAAuB;AAC7B,MAAMC,4BAA4B","ignoreList":[0]}}, - {"offset": {"line": 1571, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/lib/scheduler.ts"],"sourcesContent":["export type ScheduledFn<T = void> = () => T | PromiseLike<T>\nexport type SchedulerFn<T = void> = (cb: ScheduledFn<T>) => void\n\n/**\n * Schedules a function to be called on the next tick after the other promises\n * have been resolved.\n *\n * @param cb the function to schedule\n */\nexport const scheduleOnNextTick = (cb: ScheduledFn<void>) => {\n // We use Promise.resolve().then() here so that the operation is scheduled at\n // the end of the promise job queue, we then add it to the next process tick\n // to ensure it's evaluated afterwards.\n //\n // This was inspired by the implementation of the DataLoader interface: https://github.com/graphql/dataloader/blob/d336bd15282664e0be4b4a657cb796f09bafbc6b/src/index.js#L213-L255\n //\n Promise.resolve().then(() => {\n if (process.env.NEXT_RUNTIME === 'edge') {\n setTimeout(cb, 0)\n } else {\n process.nextTick(cb)\n }\n })\n}\n\n/**\n * Schedules a function to be called using `setImmediate` or `setTimeout` if\n * `setImmediate` is not available (like in the Edge runtime).\n *\n * @param cb the function to schedule\n */\nexport const scheduleImmediate = (cb: ScheduledFn<void>): void => {\n if (process.env.NEXT_RUNTIME === 'edge') {\n setTimeout(cb, 0)\n } else {\n setImmediate(cb)\n }\n}\n\n/**\n * returns a promise than resolves in a future task. There is no guarantee that the task it resolves in\n * will be the next task but if you await it you can at least be sure that the current task is over and\n * most usefully that the entire microtask queue of the current task has been emptied.\n */\nexport function atLeastOneTask() {\n return new Promise<void>((resolve) => scheduleImmediate(resolve))\n}\n\n/**\n * This utility function is extracted to make it easier to find places where we are doing\n * specific timing tricks to try to schedule work after React has rendered. This is especially\n * important at the moment because Next.js uses the edge builds of React which use setTimeout to\n * schedule work when you might expect that something like setImmediate would do the trick.\n *\n * Long term we should switch to the node versions of React rendering when possible and then\n * update this to use setImmediate rather than setTimeout\n */\nexport function waitAtLeastOneReactRenderTask(): Promise<void> {\n if (process.env.NEXT_RUNTIME === 'edge') {\n return new Promise((r) => setTimeout(r, 0))\n } else {\n return new Promise((r) => setImmediate(r))\n }\n}\n"],"names":["atLeastOneTask","scheduleImmediate","scheduleOnNextTick","waitAtLeastOneReactRenderTask","cb","Promise","resolve","then","process","env","NEXT_RUNTIME","setTimeout","nextTick","setImmediate","r"],"mappings":"AAiBQQ,QAAQC,GAAG,CAACC,YAAY,KAAK,QAAQ;;;;;;;;;;;;;;;;;;IA2B7BV,cAAc,EAAA;eAAdA;;IAbHC,iBAAiB,EAAA;eAAjBA;;IAtBAC,kBAAkB,EAAA;eAAlBA;;IAgDGC,6BAA6B,EAAA;eAA7BA;;;AAhDT,MAAMD,qBAAqB,CAACE;IACjC,6EAA6E;IAC7E,4EAA4E;IAC5E,uCAAuC;IACvC,EAAE;IACF,kLAAkL;IAClL,EAAE;IACFC,QAAQC,OAAO,GAAGC,IAAI,CAAC;QACrB;;aAEO;YACLC,2KAAAA,CAAQI,QAAQ,CAACR;QACnB;IACF;AACF;AAQO,MAAMH,oBAAoB,CAACG;IAChC,IAAII,QAAQC,GAAG,CAACC,YAAY,KAAK,QAAQ;;SAElC;QACLG,aAAaT;IACf;AACF;AAOO,SAASJ;IACd,OAAO,IAAIK,QAAc,CAACC,UAAYL,kBAAkBK;AAC1D;AAWO,SAASH;IACd,IAAIK,QAAQC,GAAG,CAACC,YAAY,KAAK,QAAQ;;SAElC;QACL,OAAO,IAAIL,QAAQ,CAACS,IAAMD,aAAaC;IACzC;AACF","ignoreList":[0]}}, - {"offset": {"line": 1638, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/lib/framework/boundary-components.tsx"],"sourcesContent":["'use client'\n\nimport type { ReactNode } from 'react'\nimport {\n METADATA_BOUNDARY_NAME,\n VIEWPORT_BOUNDARY_NAME,\n OUTLET_BOUNDARY_NAME,\n ROOT_LAYOUT_BOUNDARY_NAME,\n} from './boundary-constants'\n\n// We use a namespace object to allow us to recover the name of the function\n// at runtime even when production bundling/minification is used.\nconst NameSpace = {\n [METADATA_BOUNDARY_NAME]: function ({ children }: { children: ReactNode }) {\n return children\n },\n [VIEWPORT_BOUNDARY_NAME]: function ({ children }: { children: ReactNode }) {\n return children\n },\n [OUTLET_BOUNDARY_NAME]: function ({ children }: { children: ReactNode }) {\n return children\n },\n [ROOT_LAYOUT_BOUNDARY_NAME]: function ({\n children,\n }: {\n children: ReactNode\n }) {\n return children\n },\n}\n\nexport const MetadataBoundary =\n // We use slice(0) to trick the bundler into not inlining/minifying the function\n // so it retains the name inferred from the namespace object\n NameSpace[METADATA_BOUNDARY_NAME.slice(0) as typeof METADATA_BOUNDARY_NAME]\n\nexport const ViewportBoundary =\n // We use slice(0) to trick the bundler into not inlining/minifying the function\n // so it retains the name inferred from the namespace object\n NameSpace[VIEWPORT_BOUNDARY_NAME.slice(0) as typeof VIEWPORT_BOUNDARY_NAME]\n\nexport const OutletBoundary =\n // We use slice(0) to trick the bundler into not inlining/minifying the function\n // so it retains the name inferred from the namespace object\n NameSpace[OUTLET_BOUNDARY_NAME.slice(0) as typeof OUTLET_BOUNDARY_NAME]\n\nexport const RootLayoutBoundary =\n // We use slice(0) to trick the bundler into not inlining/minifying the function\n // so it retains the name inferred from the namespace object\n NameSpace[\n ROOT_LAYOUT_BOUNDARY_NAME.slice(0) as typeof ROOT_LAYOUT_BOUNDARY_NAME\n ]\n"],"names":["MetadataBoundary","OutletBoundary","RootLayoutBoundary","ViewportBoundary","NameSpace","METADATA_BOUNDARY_NAME","children","VIEWPORT_BOUNDARY_NAME","OUTLET_BOUNDARY_NAME","ROOT_LAYOUT_BOUNDARY_NAME","slice"],"mappings":";;;;;;;;;;;;;;;;IA+BaA,gBAAgB,EAAA;eAAhBA;;IAUAC,cAAc,EAAA;eAAdA;;IAKAC,kBAAkB,EAAA;eAAlBA;;IAVAC,gBAAgB,EAAA;eAAhBA;;;mCA5BN;AAEP,4EAA4E;AAC5E,iEAAiE;AACjE,MAAMC,YAAY;IAChB,CAACC,mBAAAA,sBAAsB,CAAC,EAAE,SAAU,EAAEC,QAAQ,EAA2B;QACvE,OAAOA;IACT;IACA,CAACC,mBAAAA,sBAAsB,CAAC,EAAE,SAAU,EAAED,QAAQ,EAA2B;QACvE,OAAOA;IACT;IACA,CAACE,mBAAAA,oBAAoB,CAAC,EAAE,SAAU,EAAEF,QAAQ,EAA2B;QACrE,OAAOA;IACT;IACA,CAACG,mBAAAA,yBAAyB,CAAC,EAAE,SAAU,EACrCH,QAAQ,EAGT;QACC,OAAOA;IACT;AACF;AAEO,MAAMN,mBACX,AACA,4DAA4D,oBADoB;AAEhFI,SAAS,CAACC,mBAAAA,sBAAsB,CAACK,KAAK,CAAC,GAAoC;AAEtE,MAAMP,mBACX,AACA,4DAA4D,oBADoB;AAEhFC,SAAS,CAACG,mBAAAA,sBAAsB,CAACG,KAAK,CAAC,GAAoC;AAEtE,MAAMT,iBACX,AACA,4DAA4D,oBADoB;AAEhFG,SAAS,CAACI,mBAAAA,oBAAoB,CAACE,KAAK,CAAC,GAAkC;AAElE,MAAMR,qBACX,AACA,4DAA4D,oBADoB;AAEhFE,SAAS,CACPK,mBAAAA,yBAAyB,CAACC,KAAK,CAAC,GACjC","ignoreList":[0]}}, - {"offset": {"line": 1696, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/lib/constants.ts"],"sourcesContent":["import type { ServerRuntime } from '../types'\n\nexport const TEXT_PLAIN_CONTENT_TYPE_HEADER = 'text/plain'\nexport const HTML_CONTENT_TYPE_HEADER = 'text/html; charset=utf-8'\nexport const JSON_CONTENT_TYPE_HEADER = 'application/json; charset=utf-8'\nexport const NEXT_QUERY_PARAM_PREFIX = 'nxtP'\nexport const NEXT_INTERCEPTION_MARKER_PREFIX = 'nxtI'\n\nexport const MATCHED_PATH_HEADER = 'x-matched-path'\nexport const PRERENDER_REVALIDATE_HEADER = 'x-prerender-revalidate'\nexport const PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER =\n 'x-prerender-revalidate-if-generated'\n\nexport const RSC_SEGMENTS_DIR_SUFFIX = '.segments'\nexport const RSC_SEGMENT_SUFFIX = '.segment.rsc'\nexport const RSC_SUFFIX = '.rsc'\nexport const ACTION_SUFFIX = '.action'\nexport const NEXT_DATA_SUFFIX = '.json'\nexport const NEXT_META_SUFFIX = '.meta'\nexport const NEXT_BODY_SUFFIX = '.body'\n\nexport const NEXT_CACHE_TAGS_HEADER = 'x-next-cache-tags'\nexport const NEXT_CACHE_REVALIDATED_TAGS_HEADER = 'x-next-revalidated-tags'\nexport const NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER =\n 'x-next-revalidate-tag-token'\n\nexport const NEXT_RESUME_HEADER = 'next-resume'\n\n// if these change make sure we update the related\n// documentation as well\nexport const NEXT_CACHE_TAG_MAX_ITEMS = 128\nexport const NEXT_CACHE_TAG_MAX_LENGTH = 256\nexport const NEXT_CACHE_SOFT_TAG_MAX_LENGTH = 1024\nexport const NEXT_CACHE_IMPLICIT_TAG_ID = '_N_T_'\n\n// in seconds\nexport const CACHE_ONE_YEAR = 31536000\n\n// in seconds, represents revalidate=false. I.e. never revaliate.\n// We use this value since it can be represented as a V8 SMI for optimal performance.\n// It can also be serialized as JSON if it ever leaks accidentally as an actual value.\nexport const INFINITE_CACHE = 0xfffffffe\n\n// Patterns to detect middleware files\nexport const MIDDLEWARE_FILENAME = 'middleware'\nexport const MIDDLEWARE_LOCATION_REGEXP = `(?:src/)?${MIDDLEWARE_FILENAME}`\n\n// Patterns to detect proxy files (replacement for middleware)\nexport const PROXY_FILENAME = 'proxy'\nexport const PROXY_LOCATION_REGEXP = `(?:src/)?${PROXY_FILENAME}`\n\n// Pattern to detect instrumentation hooks file\nexport const INSTRUMENTATION_HOOK_FILENAME = 'instrumentation'\n\n// Because on Windows absolute paths in the generated code can break because of numbers, eg 1 in the path,\n// we have to use a private alias\nexport const PAGES_DIR_ALIAS = 'private-next-pages'\nexport const DOT_NEXT_ALIAS = 'private-dot-next'\nexport const ROOT_DIR_ALIAS = 'private-next-root-dir'\nexport const APP_DIR_ALIAS = 'private-next-app-dir'\nexport const RSC_MOD_REF_PROXY_ALIAS = 'private-next-rsc-mod-ref-proxy'\nexport const RSC_ACTION_VALIDATE_ALIAS = 'private-next-rsc-action-validate'\nexport const RSC_ACTION_PROXY_ALIAS = 'private-next-rsc-server-reference'\nexport const RSC_CACHE_WRAPPER_ALIAS = 'private-next-rsc-cache-wrapper'\nexport const RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS =\n 'private-next-rsc-track-dynamic-import'\nexport const RSC_ACTION_ENCRYPTION_ALIAS = 'private-next-rsc-action-encryption'\nexport const RSC_ACTION_CLIENT_WRAPPER_ALIAS =\n 'private-next-rsc-action-client-wrapper'\n\nexport const PUBLIC_DIR_MIDDLEWARE_CONFLICT = `You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict`\n\nexport const SSG_GET_INITIAL_PROPS_CONFLICT = `You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps`\n\nexport const SERVER_PROPS_GET_INIT_PROPS_CONFLICT = `You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.`\n\nexport const SERVER_PROPS_SSG_CONFLICT = `You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps`\n\nexport const STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR = `can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props`\n\nexport const SERVER_PROPS_EXPORT_ERROR = `pages with \\`getServerSideProps\\` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export`\n\nexport const GSP_NO_RETURNED_VALUE =\n 'Your `getStaticProps` function did not return an object. Did you forget to add a `return`?'\nexport const GSSP_NO_RETURNED_VALUE =\n 'Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?'\n\nexport const UNSTABLE_REVALIDATE_RENAME_ERROR =\n 'The `unstable_revalidate` property is available for general use.\\n' +\n 'Please use `revalidate` instead.'\n\nexport const GSSP_COMPONENT_MEMBER_ERROR = `can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member`\n\nexport const NON_STANDARD_NODE_ENV = `You are using a non-standard \"NODE_ENV\" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env`\n\nexport const SSG_FALLBACK_EXPORT_ERROR = `Pages with \\`fallback\\` enabled in \\`getStaticPaths\\` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export`\n\nexport const ESLINT_DEFAULT_DIRS = ['app', 'pages', 'components', 'lib', 'src']\n\nexport const SERVER_RUNTIME: Record<string, ServerRuntime> = {\n edge: 'edge',\n experimentalEdge: 'experimental-edge',\n nodejs: 'nodejs',\n}\n\nexport const WEB_SOCKET_MAX_RECONNECTIONS = 12\n\n/**\n * The names of the webpack layers. These layers are the primitives for the\n * webpack chunks.\n */\nconst WEBPACK_LAYERS_NAMES = {\n /**\n * The layer for the shared code between the client and server bundles.\n */\n shared: 'shared',\n /**\n * The layer for server-only runtime and picking up `react-server` export conditions.\n * Including app router RSC pages and app router custom routes and metadata routes.\n */\n reactServerComponents: 'rsc',\n /**\n * Server Side Rendering layer for app (ssr).\n */\n serverSideRendering: 'ssr',\n /**\n * The browser client bundle layer for actions.\n */\n actionBrowser: 'action-browser',\n /**\n * The Node.js bundle layer for the API routes.\n */\n apiNode: 'api-node',\n /**\n * The Edge Lite bundle layer for the API routes.\n */\n apiEdge: 'api-edge',\n /**\n * The layer for the middleware code.\n */\n middleware: 'middleware',\n /**\n * The layer for the instrumentation hooks.\n */\n instrument: 'instrument',\n /**\n * The layer for assets on the edge.\n */\n edgeAsset: 'edge-asset',\n /**\n * The browser client bundle layer for App directory.\n */\n appPagesBrowser: 'app-pages-browser',\n /**\n * The browser client bundle layer for Pages directory.\n */\n pagesDirBrowser: 'pages-dir-browser',\n /**\n * The Edge Lite bundle layer for Pages directory.\n */\n pagesDirEdge: 'pages-dir-edge',\n /**\n * The Node.js bundle layer for Pages directory.\n */\n pagesDirNode: 'pages-dir-node',\n} as const\n\nexport type WebpackLayerName =\n (typeof WEBPACK_LAYERS_NAMES)[keyof typeof WEBPACK_LAYERS_NAMES]\n\nconst WEBPACK_LAYERS = {\n ...WEBPACK_LAYERS_NAMES,\n GROUP: {\n builtinReact: [\n WEBPACK_LAYERS_NAMES.reactServerComponents,\n WEBPACK_LAYERS_NAMES.actionBrowser,\n ],\n serverOnly: [\n WEBPACK_LAYERS_NAMES.reactServerComponents,\n WEBPACK_LAYERS_NAMES.actionBrowser,\n WEBPACK_LAYERS_NAMES.instrument,\n WEBPACK_LAYERS_NAMES.middleware,\n ],\n neutralTarget: [\n // pages api\n WEBPACK_LAYERS_NAMES.apiNode,\n WEBPACK_LAYERS_NAMES.apiEdge,\n ],\n clientOnly: [\n WEBPACK_LAYERS_NAMES.serverSideRendering,\n WEBPACK_LAYERS_NAMES.appPagesBrowser,\n ],\n bundled: [\n WEBPACK_LAYERS_NAMES.reactServerComponents,\n WEBPACK_LAYERS_NAMES.actionBrowser,\n WEBPACK_LAYERS_NAMES.serverSideRendering,\n WEBPACK_LAYERS_NAMES.appPagesBrowser,\n WEBPACK_LAYERS_NAMES.shared,\n WEBPACK_LAYERS_NAMES.instrument,\n WEBPACK_LAYERS_NAMES.middleware,\n ],\n appPages: [\n // app router pages and layouts\n WEBPACK_LAYERS_NAMES.reactServerComponents,\n WEBPACK_LAYERS_NAMES.serverSideRendering,\n WEBPACK_LAYERS_NAMES.appPagesBrowser,\n WEBPACK_LAYERS_NAMES.actionBrowser,\n ],\n },\n}\n\nconst WEBPACK_RESOURCE_QUERIES = {\n edgeSSREntry: '__next_edge_ssr_entry__',\n metadata: '__next_metadata__',\n metadataRoute: '__next_metadata_route__',\n metadataImageMeta: '__next_metadata_image_meta__',\n}\n\nexport { WEBPACK_LAYERS, WEBPACK_RESOURCE_QUERIES }\n"],"names":["ACTION_SUFFIX","APP_DIR_ALIAS","CACHE_ONE_YEAR","DOT_NEXT_ALIAS","ESLINT_DEFAULT_DIRS","GSP_NO_RETURNED_VALUE","GSSP_COMPONENT_MEMBER_ERROR","GSSP_NO_RETURNED_VALUE","HTML_CONTENT_TYPE_HEADER","INFINITE_CACHE","INSTRUMENTATION_HOOK_FILENAME","JSON_CONTENT_TYPE_HEADER","MATCHED_PATH_HEADER","MIDDLEWARE_FILENAME","MIDDLEWARE_LOCATION_REGEXP","NEXT_BODY_SUFFIX","NEXT_CACHE_IMPLICIT_TAG_ID","NEXT_CACHE_REVALIDATED_TAGS_HEADER","NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER","NEXT_CACHE_SOFT_TAG_MAX_LENGTH","NEXT_CACHE_TAGS_HEADER","NEXT_CACHE_TAG_MAX_ITEMS","NEXT_CACHE_TAG_MAX_LENGTH","NEXT_DATA_SUFFIX","NEXT_INTERCEPTION_MARKER_PREFIX","NEXT_META_SUFFIX","NEXT_QUERY_PARAM_PREFIX","NEXT_RESUME_HEADER","NON_STANDARD_NODE_ENV","PAGES_DIR_ALIAS","PRERENDER_REVALIDATE_HEADER","PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER","PROXY_FILENAME","PROXY_LOCATION_REGEXP","PUBLIC_DIR_MIDDLEWARE_CONFLICT","ROOT_DIR_ALIAS","RSC_ACTION_CLIENT_WRAPPER_ALIAS","RSC_ACTION_ENCRYPTION_ALIAS","RSC_ACTION_PROXY_ALIAS","RSC_ACTION_VALIDATE_ALIAS","RSC_CACHE_WRAPPER_ALIAS","RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS","RSC_MOD_REF_PROXY_ALIAS","RSC_SEGMENTS_DIR_SUFFIX","RSC_SEGMENT_SUFFIX","RSC_SUFFIX","SERVER_PROPS_EXPORT_ERROR","SERVER_PROPS_GET_INIT_PROPS_CONFLICT","SERVER_PROPS_SSG_CONFLICT","SERVER_RUNTIME","SSG_FALLBACK_EXPORT_ERROR","SSG_GET_INITIAL_PROPS_CONFLICT","STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR","TEXT_PLAIN_CONTENT_TYPE_HEADER","UNSTABLE_REVALIDATE_RENAME_ERROR","WEBPACK_LAYERS","WEBPACK_RESOURCE_QUERIES","WEB_SOCKET_MAX_RECONNECTIONS","edge","experimentalEdge","nodejs","WEBPACK_LAYERS_NAMES","shared","reactServerComponents","serverSideRendering","actionBrowser","apiNode","apiEdge","middleware","instrument","edgeAsset","appPagesBrowser","pagesDirBrowser","pagesDirEdge","pagesDirNode","GROUP","builtinReact","serverOnly","neutralTarget","clientOnly","bundled","appPages","edgeSSREntry","metadata","metadataRoute","metadataImageMeta"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAgBaA,aAAa,EAAA;eAAbA;;IA2CAC,aAAa,EAAA;eAAbA;;IAvBAC,cAAc,EAAA;eAAdA;;IAqBAC,cAAc,EAAA;eAAdA;;IAwCAC,mBAAmB,EAAA;eAAnBA;;IAfAC,qBAAqB,EAAA;eAArBA;;IASAC,2BAA2B,EAAA;eAA3BA;;IAPAC,sBAAsB,EAAA;eAAtBA;;IAjFAC,wBAAwB,EAAA;e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UAAU;SAChC;QACDU,eAAe;YACb,YAAY;YACZjB,qBAAqBK,OAAO;YAC5BL,qBAAqBM,OAAO;SAC7B;QACDY,YAAY;YACVlB,qBAAqBG,mBAAmB;YACxCH,qBAAqBU,eAAe;SACrC;QACDS,SAAS;YACPnB,qBAAqBE,qBAAqB;YAC1CF,qBAAqBI,aAAa;YAClCJ,qBAAqBG,mBAAmB;YACxCH,qBAAqBU,eAAe;YACpCV,qBAAqBC,MAAM;YAC3BD,qBAAqBQ,UAAU;YAC/BR,qBAAqBO,UAAU;SAChC;QACDa,UAAU;YACR,+BAA+B;YAC/BpB,qBAAqBE,qBAAqB;YAC1CF,qBAAqBG,mBAAmB;YACxCH,qBAAqBU,eAAe;YACpCV,qBAAqBI,aAAa;SACnC;IACH;AACF;AAEA,MAAMT,2BAA2B;IAC/B0B,cAAc;IACdC,UAAU;IACVC,eAAe;IACfC,mBAAmB;AACrB","ignoreList":[0]}}, - {"offset": {"line": 2102, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/next-devtools/userspace/app/errors/stitched-error.ts"],"sourcesContent":["import React from 'react'\nimport isError from '../../../../lib/is-error'\n\nconst ownerStacks = new WeakMap<Error, string | null>()\n\nexport function getOwnerStack(error: Error): string | null | undefined {\n return ownerStacks.get(error)\n}\nexport function setOwnerStack(error: Error, stack: string | null) {\n ownerStacks.set(error, stack)\n}\n\nexport function coerceError(value: unknown): Error {\n return isError(value) ? value : new Error('' + value)\n}\n\nexport function setOwnerStackIfAvailable(error: Error): void {\n // React 18 and prod does not have `captureOwnerStack`\n if ('captureOwnerStack' in React) {\n setOwnerStack(error, React.captureOwnerStack())\n }\n}\n\nexport function decorateDevError(thrownValue: unknown) {\n const error = coerceError(thrownValue)\n setOwnerStackIfAvailable(error)\n return error\n}\n"],"names":["coerceError","decorateDevError","getOwnerStack","setOwnerStack","setOwnerStackIfAvailable","ownerStacks","WeakMap","error","get","stack","set","value","isError","Error","React","captureOwnerStack","thrownValue"],"mappings":";;;;;;;;;;;;;;;;;IAYgBA,WAAW,EAAA;eAAXA;;IAWAC,gBAAgB,EAAA;eAAhBA;;IAlBAC,aAAa,EAAA;eAAbA;;IAGAC,aAAa,EAAA;eAAbA;;IAQAC,wBAAwB,EAAA;eAAxBA;;;;gEAhBE;kEACE;AAEpB,MAAMC,cAAc,IAAIC;AAEjB,SAASJ,cAAcK,KAAY;IACxC,OAAOF,YAAYG,GAAG,CAACD;AACzB;AACO,SAASJ,cAAcI,KAAY,EAAEE,KAAoB;IAC9DJ,YAAYK,GAAG,CAACH,OAAOE;AACzB;AAEO,SAAST,YAAYW,KAAc;IACxC,OAAOC,CAAAA,GAAAA,SAAAA,OAAO,EAACD,SAASA,QAAQ,OAAA,cAAqB,CAArB,IAAIE,MAAM,KAAKF,QAAf,qBAAA;eAAA;oBAAA;sBAAA;IAAoB;AACtD;AAEO,SAASP,yBAAyBG,KAAY;IACnD,sDAAsD;IACtD,IAAI,uBAAuBO,OAAAA,OAAK,EAAE;QAChCX,cAAcI,OAAOO,OAAAA,OAAK,CAACC,iBAAiB;IAC9C;AACF;AAEO,SAASd,iBAAiBe,WAAoB;IACnD,MAAMT,QAAQP,YAAYgB;IAC1BZ,yBAAyBG;IACzB,OAAOA;AACT","ignoreList":[0]}}, - {"offset": {"line": 2174, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/next-devtools/shared/console-error.ts"],"sourcesContent":["// To distinguish from React error.digest, we use a different symbol here to determine if the error is from console.error or unhandled promise rejection.\nconst digestSym = Symbol.for('next.console.error.digest')\n\n// Represent non Error shape unhandled promise rejections or console.error errors.\n// Those errors will be captured and displayed in Error Overlay.\ntype ConsoleError = Error & {\n [digestSym]: 'NEXT_CONSOLE_ERROR'\n environmentName: string\n}\n\nexport function createConsoleError(\n message: string | Error,\n environmentName?: string | null\n): ConsoleError {\n const error = (\n typeof message === 'string' ? new Error(message) : message\n ) as ConsoleError\n error[digestSym] = 'NEXT_CONSOLE_ERROR'\n\n if (environmentName && !error.environmentName) {\n error.environmentName = environmentName\n }\n\n return error\n}\n\nexport const isConsoleError = (error: any): error is ConsoleError => {\n return error && error[digestSym] === 'NEXT_CONSOLE_ERROR'\n}\n"],"names":["createConsoleError","isConsoleError","digestSym","Symbol","for","message","environmentName","error","Error"],"mappings":"AAAA,yJAAyJ;;;;;;;;;;;;;;;IAUzIA,kBAAkB,EAAA;eAAlBA;;IAgBHC,cAAc,EAAA;eAAdA;;;AAzBb,MAAMC,YAAYC,OAAOC,GAAG,CAAC;AAStB,SAASJ,mBACdK,OAAuB,EACvBC,eAA+B;IAE/B,MAAMC,QACJ,OAAOF,YAAY,WAAW,OAAA,cAAkB,CAAlB,IAAIG,MAAMH,UAAV,qBAAA;eAAA;oBAAA;sBAAA;IAAiB,KAAIA;IAErDE,KAAK,CAACL,UAAU,GAAG;IAEnB,IAAII,mBAAmB,CAACC,MAAMD,eAAe,EAAE;QAC7CC,MAAMD,eAAe,GAAGA;IAC1B;IAEA,OAAOC;AACT;AAEO,MAAMN,iBAAiB,CAACM;IAC7B,OAAOA,SAASA,KAAK,CAACL,UAAU,KAAK;AACvC","ignoreList":[0]}}, - {"offset": {"line": 2223, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/next-devtools/userspace/app/terminal-logging-config.ts"],"sourcesContent":["export function getTerminalLoggingConfig():\n | false\n | boolean\n | {\n depthLimit?: number\n edgeLimit?: number\n showSourceLocation?: boolean\n } {\n try {\n return JSON.parse(\n process.env.__NEXT_BROWSER_DEBUG_INFO_IN_TERMINAL || 'false'\n )\n } catch {\n return false\n }\n}\n\nexport function getIsTerminalLoggingEnabled(): boolean {\n const config = getTerminalLoggingConfig()\n return Boolean(config)\n}\n"],"names":["getIsTerminalLoggingEnabled","getTerminalLoggingConfig","JSON","parse","process","env","__NEXT_BROWSER_DEBUG_INFO_IN_TERMINAL","config","Boolean"],"mappings":"AAUMI,QAAQC,GAAG,CAACC,qCAAqC;;;;;;;;;;;;;;;;IAOvCN,2BAA2B,EAAA;eAA3BA;;IAjBAC,wBAAwB,EAAA;eAAxBA;;;AAAT,SAASA;IAQd,IAAI;QACF,OAAOC,KAAKC,KAAK,8CACsC;IAEzD,EAAE,OAAM;QACN,OAAO;IACT;AACF;AAEO,SAASH;IACd,MAAMO,SAASN;IACf,OAAOO,QAAQD;AACjB","ignoreList":[0]}}, - {"offset": {"line": 2268, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/next-devtools/shared/forward-logs-shared.ts"],"sourcesContent":["export type LogMethod =\n | 'log'\n | 'info'\n | 'debug'\n | 'table'\n | 'error'\n | 'assert'\n | 'dir'\n | 'dirxml'\n | 'group'\n | 'groupCollapsed'\n | 'groupEnd'\n | 'trace'\n | 'warn'\n\nexport type ConsoleEntry<T> = {\n kind: 'console'\n method: LogMethod\n consoleMethodStack: string | null\n args: Array<\n | {\n kind: 'arg'\n data: T\n }\n | {\n kind: 'formatted-error-arg'\n prefix: string\n stack: string\n }\n >\n}\n\nexport type ConsoleErrorEntry<T> = {\n kind: 'any-logged-error'\n method: 'error'\n consoleErrorStack: string\n args: Array<\n | {\n kind: 'arg'\n data: T\n isRejectionMessage?: boolean\n }\n | {\n kind: 'formatted-error-arg'\n prefix: string\n stack: string | null\n }\n >\n}\n\nexport type FormattedErrorEntry = {\n kind: 'formatted-error'\n prefix: string\n stack: string\n method: 'error'\n}\n\nexport type ClientLogEntry =\n | ConsoleEntry<unknown>\n | ConsoleErrorEntry<unknown>\n | FormattedErrorEntry\nexport type ServerLogEntry =\n | ConsoleEntry<string>\n | ConsoleErrorEntry<string>\n | FormattedErrorEntry\n\nexport const UNDEFINED_MARKER = '__next_tagged_undefined'\n\n// Based on https://github.com/facebook/react/blob/28dc0776be2e1370fe217549d32aee2519f0cf05/packages/react-server/src/ReactFlightServer.js#L248\nexport function patchConsoleMethod<T extends keyof Console>(\n methodName: T,\n wrapper: (\n methodName: T,\n ...args: Console[T] extends (...args: infer P) => any ? P : never[]\n ) => void\n): () => void {\n const descriptor = Object.getOwnPropertyDescriptor(console, methodName)\n if (\n descriptor &&\n (descriptor.configurable || descriptor.writable) &&\n typeof descriptor.value === 'function'\n ) {\n const originalMethod = descriptor.value as Console[T] extends (\n ...args: any[]\n ) => any\n ? Console[T]\n : never\n const originalName = Object.getOwnPropertyDescriptor(originalMethod, 'name')\n const wrapperMethod = function (\n this: typeof console,\n ...args: Console[T] extends (...args: infer P) => any ? P : never[]\n ) {\n wrapper(methodName, ...args)\n\n originalMethod.apply(this, args)\n }\n if (originalName) {\n Object.defineProperty(wrapperMethod, 'name', originalName)\n }\n Object.defineProperty(console, methodName, {\n value: wrapperMethod,\n })\n\n return () => {\n Object.defineProperty(console, methodName, {\n value: originalMethod,\n writable: descriptor.writable,\n configurable: descriptor.configurable,\n })\n }\n }\n\n return () => {}\n}\n"],"names":["UNDEFINED_MARKER","patchConsoleMethod","methodName","wrapper","descriptor","Object","getOwnPropertyDescriptor","console","configurable","writable","value","originalMethod","originalName","wrapperMethod","args","apply","defineProperty"],"mappings":";;;;;;;;;;;;;;IAkEaA,gBAAgB,EAAA;eAAhBA;;IAGGC,kBAAkB,EAAA;eAAlBA;;;AAHT,MAAMD,mBAAmB;AAGzB,SAASC,mBACdC,UAAa,EACbC,OAGS;IAET,MAAMC,aAAaC,OAAOC,wBAAwB,CAACC,SAASL;IAC5D,IACEE,cACCA,CAAAA,WAAWI,YAAY,IAAIJ,WAAWK,QAAO,KAC9C,OAAOL,WAAWM,KAAK,KAAK,YAC5B;QACA,MAAMC,iBAAiBP,WAAWM,KAAK;QAKvC,MAAME,eAAeP,OAAOC,wBAAwB,CAACK,gBAAgB;QACrE,MAAME,gBAAgB,SAEpB,GAAGC,IAAgE;YAEnEX,QAAQD,eAAeY;YAEvBH,eAAeI,KAAK,CAAC,IAAI,EAAED;QAC7B;QACA,IAAIF,cAAc;YAChBP,OAAOW,cAAc,CAACH,eAAe,QAAQD;QAC/C;QACAP,OAAOW,cAAc,CAACT,SAASL,YAAY;YACzCQ,OAAOG;QACT;QAEA,OAAO;YACLR,OAAOW,cAAc,CAACT,SAASL,YAAY;gBACzCQ,OAAOC;gBACPF,UAAUL,WAAWK,QAAQ;gBAC7BD,cAAcJ,WAAWI,YAAY;YACvC;QACF;IACF;IAEA,OAAO,KAAO;AAChB","ignoreList":[0]}}, - {"offset": {"line": 2326, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/next-devtools/userspace/app/forward-logs-utils.ts"],"sourcesContent":["import { configure } from 'next/dist/compiled/safe-stable-stringify'\nimport { getTerminalLoggingConfig } from './terminal-logging-config'\nimport { UNDEFINED_MARKER } from '../../shared/forward-logs-shared'\n\nconst terminalLoggingConfig = getTerminalLoggingConfig()\n\nconst PROMISE_MARKER = 'Promise {}'\nconst UNAVAILABLE_MARKER = '[Unable to view]'\n\nconst maximumDepth =\n typeof terminalLoggingConfig === 'object' && terminalLoggingConfig.depthLimit\n ? terminalLoggingConfig.depthLimit\n : 5\nconst maximumBreadth =\n typeof terminalLoggingConfig === 'object' && terminalLoggingConfig.edgeLimit\n ? terminalLoggingConfig.edgeLimit\n : 100\n\nexport const safeStringifyWithDepth = configure({\n maximumDepth,\n maximumBreadth,\n})\n\n/**\n * allows us to:\n * - revive the undefined log in the server as it would look in the browser\n * - not read/attempt to serialize promises (next will console error if you do that, and will cause this program to infinitely recurse)\n * - if we read a proxy that throws (no way to detect if something is a proxy), explain to the user we can't read this data\n */\nexport function preLogSerializationClone<T>(\n value: T,\n seen = new WeakMap()\n): any {\n if (value === undefined) return UNDEFINED_MARKER\n if (value === null || typeof value !== 'object') return value\n if (seen.has(value as object)) return seen.get(value as object)\n\n try {\n Object.keys(value as object)\n } catch {\n return UNAVAILABLE_MARKER\n }\n\n try {\n if (typeof (value as any).then === 'function') return PROMISE_MARKER\n } catch {\n return UNAVAILABLE_MARKER\n }\n\n if (Array.isArray(value)) {\n const out: any[] = []\n seen.set(value, out)\n for (const item of value) {\n try {\n out.push(preLogSerializationClone(item, seen))\n } catch {\n out.push(UNAVAILABLE_MARKER)\n }\n }\n return out\n }\n\n const proto = Object.getPrototypeOf(value)\n if (proto === Object.prototype || proto === null) {\n const out: Record<string, unknown> = {}\n seen.set(value as object, out)\n for (const key of Object.keys(value as object)) {\n try {\n out[key] = preLogSerializationClone((value as any)[key], seen)\n } catch {\n out[key] = UNAVAILABLE_MARKER\n }\n }\n return out\n }\n\n return Object.prototype.toString.call(value)\n}\n\n// only safe if passed safeClone data\nexport const logStringify = (data: unknown): string => {\n try {\n const result = safeStringifyWithDepth(data)\n return result ?? `\"${UNAVAILABLE_MARKER}\"`\n } catch {\n return `\"${UNAVAILABLE_MARKER}\"`\n }\n}\n"],"names":["logStringify","preLogSerializationClone","safeStringifyWithDepth","terminalLoggingConfig","getTerminalLoggingConfig","PROMISE_MARKER","UNAVAILABLE_MARKER","maximumDepth","depthLimit","maximumBreadth","edgeLimit","configure","value","seen","WeakMap","undefined","UNDEFINED_MARKER","has","get","Object","keys","then","Array","isArray","out","set","item","push","proto","getPrototypeOf","prototype","key","toString","call","data","result"],"mappings":";;;;;;;;;;;;;;;IAgFaA,YAAY,EAAA;eAAZA;;IAnDGC,wBAAwB,EAAA;eAAxBA;;IAXHC,sBAAsB,EAAA;eAAtBA;;;qCAlBa;uCACe;mCACR;AAEjC,MAAMC,wBAAwBC,CAAAA,GAAAA,uBAAAA,wBAAwB;AAEtD,MAAMC,iBAAiB;AACvB,MAAMC,qBAAqB;AAE3B,MAAMC,eACJ,OAAOJ,0BAA0B,YAAYA,sBAAsBK,UAAU,GACzEL,sBAAsBK,UAAU,GAChC;AACN,MAAMC,iBACJ,OAAON,0BAA0B,YAAYA,sBAAsBO,SAAS,GACxEP,sBAAsBO,SAAS,GAC/B;AAEC,MAAMR,yBAAyBS,CAAAA,GAAAA,qBAAAA,SAAS,EAAC;IAC9CJ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AC,CAAC;IAC5C,EAAE,OAAM;QACN,OAAO,CAAC,CAAC,EAAEA,mBAAmB,CAAC,CAAC;IAClC;AACF","ignoreList":[0]}}, - {"offset": {"line": 2423, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/next-devtools/userspace/app/forward-logs.ts"],"sourcesContent":["import {\n getOwnerStack,\n setOwnerStackIfAvailable,\n} from './errors/stitched-error'\nimport { getErrorSource } from '../../../shared/lib/error-source'\nimport { getIsTerminalLoggingEnabled } from './terminal-logging-config'\nimport {\n type ConsoleEntry,\n type ConsoleErrorEntry,\n type FormattedErrorEntry,\n type ClientLogEntry,\n type LogMethod,\n patchConsoleMethod,\n} from '../../shared/forward-logs-shared'\nimport {\n preLogSerializationClone,\n logStringify,\n safeStringifyWithDepth,\n} from './forward-logs-utils'\n\n// Client-side file logger for browser logs\nclass ClientFileLogger {\n private logEntries: Array<{\n timestamp: string\n level: string // log level\n message: string // log message\n }> = []\n\n private formatTimestamp(): string {\n const now = new Date()\n const hours = now.getHours().toString().padStart(2, '0')\n const minutes = now.getMinutes().toString().padStart(2, '0')\n const seconds = now.getSeconds().toString().padStart(2, '0')\n const milliseconds = now.getMilliseconds().toString().padStart(3, '0')\n\n return `${hours}:${minutes}:${seconds}.${milliseconds}`\n }\n\n log(level: string, args: any[]): void {\n if (isReactServerReplayedLog(args)) {\n return\n }\n\n // Format the args into a message string\n const message = args\n .map((arg) => {\n if (typeof arg === 'string') return arg\n if (typeof arg === 'number' || typeof arg === 'boolean')\n return String(arg)\n if (arg === null) return 'null'\n if (arg === undefined) return 'undefined'\n // Handle DOM nodes - only log the tag name to avoid React proxied elements\n if (arg instanceof Element) {\n return `<${arg.tagName.toLowerCase()}>`\n }\n return safeStringifyWithDepth(arg)\n })\n .join(' ')\n\n const logEntry = {\n timestamp: this.formatTimestamp(),\n level: level.toUpperCase(),\n message,\n }\n this.logEntries.push(logEntry)\n\n // Schedule flush when new log is added\n scheduleLogFlush()\n }\n getLogs(): Array<{ timestamp: string; level: string; message: string }> {\n return [...this.logEntries]\n }\n\n clear(): void {\n this.logEntries = []\n }\n}\n\nconst clientFileLogger = new ClientFileLogger()\n\n// Set up flush-based sending of client file logs\nlet logFlushTimeout: NodeJS.Timeout | null = null\nlet heartbeatInterval: NodeJS.Timeout | null = null\n\nconst scheduleLogFlush = () => {\n if (logFlushTimeout) {\n clearTimeout(logFlushTimeout)\n }\n\n logFlushTimeout = setTimeout(() => {\n sendClientFileLogs()\n logFlushTimeout = null\n }, 100) // Send after 100ms (much faster with debouncing)\n}\n\nconst cancelLogFlush = () => {\n if (logFlushTimeout) {\n clearTimeout(logFlushTimeout)\n logFlushTimeout = null\n }\n}\n\nconst startHeartbeat = () => {\n if (heartbeatInterval) return\n\n heartbeatInterval = setInterval(() => {\n if (logQueue.socket && logQueue.socket.readyState === WebSocket.OPEN) {\n try {\n // Send a ping to keep the connection alive\n logQueue.socket.send(JSON.stringify({ event: 'ping' }))\n } catch (error) {\n // Connection might be closed, stop heartbeat\n stopHeartbeat()\n }\n } else {\n stopHeartbeat()\n }\n }, 5000) // Send ping every 5 seconds\n}\n\nconst stopHeartbeat = () => {\n if (heartbeatInterval) {\n clearInterval(heartbeatInterval)\n heartbeatInterval = null\n }\n}\n\nconst isTerminalLoggingEnabled = getIsTerminalLoggingEnabled()\n\nconst methods: Array<LogMethod> = [\n 'log',\n 'info',\n 'warn',\n 'debug',\n 'table',\n 'assert',\n 'dir',\n 'dirxml',\n 'group',\n 'groupCollapsed',\n 'groupEnd',\n 'trace',\n]\n\nconst afterThisFrame = (cb: () => void) => {\n let timeout: ReturnType<typeof setTimeout> | undefined\n\n const rafId = requestAnimationFrame(() => {\n timeout = setTimeout(() => {\n cb()\n })\n })\n\n return () => {\n cancelAnimationFrame(rafId)\n clearTimeout(timeout)\n }\n}\n\nlet isPatched = false\n\nconst serializeEntries = (entries: Array<ClientLogEntry>) =>\n entries.map((clientEntry) => {\n switch (clientEntry.kind) {\n case 'any-logged-error':\n case 'console': {\n return {\n ...clientEntry,\n args: clientEntry.args.map(stringifyUserArg),\n }\n }\n case 'formatted-error': {\n return clientEntry\n }\n default: {\n return null!\n }\n }\n })\n\n// Function to send client file logs to server\nconst sendClientFileLogs = () => {\n if (!logQueue.socket || logQueue.socket.readyState !== WebSocket.OPEN) {\n return\n }\n\n const logs = clientFileLogger.getLogs()\n if (logs.length === 0) {\n return\n }\n\n try {\n const payload = JSON.stringify({\n event: 'client-file-logs',\n logs: logs,\n })\n\n logQueue.socket.send(payload)\n } catch (error) {\n console.error(error)\n } finally {\n // Clear logs regardless of send success to prevent memory leaks\n clientFileLogger.clear()\n }\n}\n\n// Combined state and public API\nexport const logQueue: {\n entries: Array<ClientLogEntry>\n onSocketReady: (socket: WebSocket) => void\n flushScheduled: boolean\n socket: WebSocket | null\n cancelFlush: (() => void) | null\n sourceType?: 'server' | 'edge-server'\n router: 'app' | 'pages' | null\n scheduleLogSend: (entry: ClientLogEntry) => void\n} = {\n entries: [],\n flushScheduled: false,\n cancelFlush: null,\n socket: null,\n sourceType: undefined,\n router: null,\n scheduleLogSend: (entry: ClientLogEntry) => {\n logQueue.entries.push(entry)\n if (logQueue.flushScheduled) {\n return\n }\n // safe to deref and use in setTimeout closure since we cancel on new socket\n const socket = logQueue.socket\n if (!socket) {\n return\n }\n\n // we probably dont need this\n logQueue.flushScheduled = true\n\n // non blocking log flush, runs at most once per frame\n logQueue.cancelFlush = afterThisFrame(() => {\n logQueue.flushScheduled = false\n\n // just incase\n try {\n const payload = JSON.stringify({\n event: 'browser-logs',\n entries: serializeEntries(logQueue.entries),\n router: logQueue.router,\n // needed for source mapping, we just assign the sourceType from the last error for the whole batch\n sourceType: logQueue.sourceType,\n })\n\n socket.send(payload)\n logQueue.entries = []\n logQueue.sourceType = undefined\n\n // Also send client file logs\n sendClientFileLogs()\n } catch {\n // error (make sure u don't infinite loop)\n /* noop */\n }\n })\n },\n onSocketReady: (socket: WebSocket) => {\n // When MCP or terminal logging is enabled, we enable the socket connection,\n // otherwise it will not proceed.\n if (!isTerminalLoggingEnabled && !process.env.__NEXT_MCP_SERVER) {\n return\n }\n if (socket.readyState !== WebSocket.OPEN) {\n // invariant\n return\n }\n\n // incase an existing timeout was going to run with a stale socket\n logQueue.cancelFlush?.()\n logQueue.socket = socket\n\n // Add socket event listeners to track connection state\n socket.addEventListener('close', () => {\n cancelLogFlush()\n stopHeartbeat()\n })\n\n // Only send terminal logs if enabled\n if (isTerminalLoggingEnabled) {\n try {\n const payload = JSON.stringify({\n event: 'browser-logs',\n entries: serializeEntries(logQueue.entries),\n router: logQueue.router,\n sourceType: logQueue.sourceType,\n })\n\n socket.send(payload)\n logQueue.entries = []\n logQueue.sourceType = undefined\n } catch {\n /** noop just incase */\n }\n }\n\n // Always send client file logs when socket is ready\n sendClientFileLogs()\n\n // Start heartbeat to keep connection alive\n startHeartbeat()\n },\n}\n\nconst stringifyUserArg = (\n arg:\n | {\n kind: 'arg'\n data: unknown\n }\n | {\n kind: 'formatted-error-arg'\n }\n) => {\n if (arg.kind !== 'arg') {\n return arg\n }\n return {\n ...arg,\n data: logStringify(arg.data),\n }\n}\n\nconst createErrorArg = (error: Error) => {\n const stack = stackWithOwners(error)\n return {\n kind: 'formatted-error-arg' as const,\n prefix: error.message ? `${error.name}: ${error.message}` : `${error.name}`,\n stack,\n }\n}\n\nconst createLogEntry = (level: LogMethod, args: any[]) => {\n // Always log to client file logger with args (formatting done inside log method)\n clientFileLogger.log(level, args)\n\n // Only forward to terminal if enabled\n if (!isTerminalLoggingEnabled) {\n return\n }\n\n // do not abstract this, it implicitly relies on which functions call it. forcing the inlined implementation makes you think about callers\n // error capture stack trace maybe\n const stack = stackWithOwners(new Error())\n const stackLines = stack?.split('\\n')\n const cleanStack = stackLines?.slice(3).join('\\n') // this is probably ignored anyways\n const entry: ConsoleEntry<unknown> = {\n kind: 'console',\n consoleMethodStack: cleanStack ?? null, // depending on browser we might not have stack\n method: level,\n args: args.map((arg) => {\n if (arg instanceof Error) {\n return createErrorArg(arg)\n }\n return {\n kind: 'arg',\n data: preLogSerializationClone(arg),\n }\n }),\n }\n\n logQueue.scheduleLogSend(entry)\n}\n\nexport const forwardErrorLog = (args: any[]) => {\n // Always log to client file logger with args (formatting done inside log method)\n clientFileLogger.log('error', args)\n // Only forward to terminal if enabled\n if (!isTerminalLoggingEnabled) {\n return\n }\n\n const errorObjects = args.filter((arg) => arg instanceof Error)\n const first = errorObjects.at(0)\n if (first) {\n const source = getErrorSource(first)\n if (source) {\n logQueue.sourceType = source\n }\n }\n /**\n * browser shows stack regardless of type of data passed to console.error, so we should do the same\n *\n * do not abstract this, it implicitly relies on which functions call it. forcing the inlined implementation makes you think about callers\n */\n const stack = stackWithOwners(new Error())\n const stackLines = stack?.split('\\n')\n const cleanStack = stackLines?.slice(3).join('\\n')\n\n const entry: ConsoleErrorEntry<unknown> = {\n kind: 'any-logged-error',\n method: 'error',\n consoleErrorStack: cleanStack ?? '',\n args: args.map((arg) => {\n if (arg instanceof Error) {\n return createErrorArg(arg)\n }\n return {\n kind: 'arg',\n data: preLogSerializationClone(arg),\n }\n }),\n }\n\n logQueue.scheduleLogSend(entry)\n}\n\nconst createUncaughtErrorEntry = (\n errorName: string,\n errorMessage: string,\n fullStack: string\n) => {\n const entry: FormattedErrorEntry = {\n kind: 'formatted-error',\n prefix: `Uncaught ${errorName}: ${errorMessage}`,\n stack: fullStack,\n method: 'error',\n }\n\n logQueue.scheduleLogSend(entry)\n}\n\nconst stackWithOwners = (error: Error) => {\n let ownerStack = ''\n setOwnerStackIfAvailable(error)\n ownerStack = getOwnerStack(error) || ''\n const stack = (error.stack || '') + ownerStack\n return stack\n}\n\nexport function logUnhandledRejection(reason: unknown) {\n // Always log to client file logger\n const message =\n reason instanceof Error\n ? `${reason.name}: ${reason.message}`\n : JSON.stringify(reason)\n clientFileLogger.log('error', [`unhandledRejection: ${message}`])\n\n // Only forward to terminal if enabled\n if (!isTerminalLoggingEnabled) {\n return\n }\n\n if (reason instanceof Error) {\n createUnhandledRejectionErrorEntry(reason, stackWithOwners(reason))\n return\n }\n createUnhandledRejectionNonErrorEntry(reason)\n}\n\nconst createUnhandledRejectionErrorEntry = (\n error: Error,\n fullStack: string\n) => {\n const source = getErrorSource(error)\n if (source) {\n logQueue.sourceType = source\n }\n\n const entry: ClientLogEntry = {\n kind: 'formatted-error',\n prefix: `⨯ unhandledRejection: ${error.name}: ${error.message}`,\n stack: fullStack,\n method: 'error',\n }\n\n logQueue.scheduleLogSend(entry)\n}\n\nconst createUnhandledRejectionNonErrorEntry = (reason: unknown) => {\n const entry: ClientLogEntry = {\n kind: 'any-logged-error',\n // we can't access the stack since the event is dispatched async and creating an inline error would be meaningless\n consoleErrorStack: '',\n method: 'error',\n args: [\n {\n kind: 'arg',\n data: `⨯ unhandledRejection:`,\n isRejectionMessage: true,\n },\n {\n kind: 'arg',\n data: preLogSerializationClone(reason),\n },\n ],\n }\n\n logQueue.scheduleLogSend(entry)\n}\n\nconst isHMR = (args: any[]) => {\n const firstArg = args[0]\n if (typeof firstArg !== 'string') {\n return false\n }\n if (firstArg.startsWith('[Fast Refresh]')) {\n return true\n }\n\n if (firstArg.startsWith('[HMR]')) {\n return true\n }\n\n return false\n}\n\n/**\n * Matches the format of logs arguments React replayed from the RSC.\n */\nconst isReactServerReplayedLog = (args: any[]) => {\n if (args.length < 3) {\n return false\n }\n\n const [format, styles, label] = args\n\n if (\n typeof format !== 'string' ||\n typeof styles !== 'string' ||\n typeof label !== 'string'\n ) {\n return false\n }\n\n return format.startsWith('%c%s%c') && styles.includes('background:')\n}\n\nexport function forwardUnhandledError(error: Error) {\n // Always log to client file logger\n clientFileLogger.log('error', [\n `uncaughtError: ${error.name}: ${error.message}`,\n ])\n\n // Only forward to terminal if enabled\n if (!isTerminalLoggingEnabled) {\n return\n }\n\n createUncaughtErrorEntry(error.name, error.message, stackWithOwners(error))\n}\n\n// TODO: this router check is brittle, we need to update based on the current router the user is using\nexport const initializeDebugLogForwarding = (router: 'app' | 'pages'): void => {\n // probably don't need this\n if (isPatched) {\n return\n }\n // TODO(rob): why does this break rendering on server, important to know incase the same bug appears in browser\n if (typeof window === 'undefined') {\n return\n }\n\n // better to be safe than sorry\n try {\n methods.forEach((method) =>\n patchConsoleMethod(method, (_, ...args) => {\n if (isHMR(args)) {\n return\n }\n if (isReactServerReplayedLog(args)) {\n return\n }\n createLogEntry(method, args)\n })\n )\n } catch {}\n logQueue.router = router\n isPatched = true\n\n // Cleanup on page unload\n window.addEventListener('beforeunload', () => {\n cancelLogFlush()\n stopHeartbeat()\n // Send any remaining logs before page unloads\n sendClientFileLogs()\n })\n}\n"],"names":["forwardErrorLog","forwardUnhandledError","initializeDebugLogForwarding","logQueue","logUnhandledRejection","ClientFileLogger","formatTimestamp","now","Date","hours","getHours","toString","padStart","minutes","getMinutes","seconds","getSeconds","milliseconds","getMilliseconds","log","level","args","isReactServerReplayedLog","message","map","arg","String","undefined","Element","tagName","toLowerCase","safeStringifyWithDepth","join","logEntry","timestamp","toUpperCase","logEntries","push","scheduleLogFlush","getLogs","clear","clientFileLogger","logFlushTimeout","heartbeatInterval","clearTimeout","setTimeout","sendClientFileLogs","cancelLogFlush","startHeartbeat","setInterval","socket","readyState","WebSocket","OPEN","send","JSON","stringify","event","error","stopHeartbeat","clearInterval","isTerminalLoggingEnabled","getIsTerminalLoggingEnabled","methods","afterThisFrame","cb","timeout","rafId","requestAnimationFrame","cancelAnimationFrame","isPatched","serializeEntries","entries","clientEntry","kind","stringifyUserArg","logs","length","payload","console","flushScheduled","cancelFlush","sourceType","router","scheduleLogSend","entry","onSocketReady","process","env","__NEXT_MCP_SERVER","addEventListener","data","logStringify","createErrorArg","stack","stackWithOwners","prefix","name","createLogEntry","Error","stackLines","split","cleanStack","slice","consoleMethodStack","method","preLogSerializationClone","errorObjects","filter","first","at","source","getErrorSource","consoleErrorStack","createUncaughtErrorEntry","errorName","errorMessage","fullStack","ownerStack","setOwnerStackIfAvailable","getOwnerStack","reason","createUnhandledRejectionErrorEntry","createUnhandledRejectionNonErrorEntry","isRejectionMessage","isHMR","firstArg","startsWith","format","styles","label","includes","window","forEach","patchConsoleMethod","_"],"mappings":"AA0QsCuF,QAAQC,GAAG,CAACC,iBAAiB,EAAE;;;;;;;;;;;;;;;;;;;IAwGxDzF,eAAe,EAAA;eAAfA;;IAoKGC,qBAAqB,EAAA;eAArBA;;IAeHC,4BAA4B,EAAA;eAA5BA;;IAtVAC,QAAQ,EAAA;eAARA;;IAqOGC,qBAAqB,EAAA;eAArBA;;;+BAjbT;6BACwB;uCACa;mCAQrC;kCAKA;AAEP,2CAA2C;AAC3C,MAAMC;IAOIC,kBAA0B;QAChC,MAAMC,MAAM,IAAIC;QAChB,MAAMC,QAAQF,IAAIG,QAAQ,GAAGC,QAAQ,GAAGC,QAAQ,CAAC,GAAG;QACpD,MAAMC,UAAUN,IAAIO,UAAU,GAAGH,QAAQ,GAAGC,QAAQ,CAAC,GAAG;QACxD,MAAMG,UAAUR,IAAIS,UAAU,GAAGL,QAAQ,GAAGC,QAAQ,CAAC,GAAG;QACxD,MAAMK,eAAeV,IAAIW,eAAe,GAAGP,QAAQ,GAAGC,QAAQ,CAAC,GAAG;QAElE,OAAO,GAAGH,MAAM,CAAC,EAAEI,QAAQ,CAAC,EAAEE,QAAQ,CAAC,EAAEE,cAAc;IACzD;IAEAE,IAAIC,KAAa,EAAEC,IAAW,EAAQ;QACpC,IAAIC,yBAAyBD,OAAO;YAClC;QACF;QAEA,wCAAwC;QACxC,MAAME,UAAUF,KACbG,GAAG,CAAC,CAACC;YACJ,IAAI,OAAOA,QAAQ,UAAU,OAAOA;YACpC,IAAI,OAAOA,QAAQ,YAAY,OAAOA,QAAQ,WAC5C,OAAOC,OAAOD;YAChB,IAAIA,QAAQ,MAAM,OAAO;YACzB,IAAIA,QAAQE,WAAW,OAAO;YAC9B,2EAA2E;YAC3E,IAAIF,eAAeG,SAAS;gBAC1B,OAAO,CAAC,CAAC,EAAEH,IAAII,OA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{"offset": {"line": 2931, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/next-devtools/userspace/app/errors/use-error-handler.ts"],"sourcesContent":["import { useEffect } from 'react'\nimport { isNextRouterError } from '../../../../client/components/is-next-router-error'\nimport {\n formatConsoleArgs,\n parseConsoleArgs,\n} from '../../../../client/lib/console'\nimport isError from '../../../../lib/is-error'\nimport { createConsoleError } from '../../../shared/console-error'\nimport { coerceError, setOwnerStackIfAvailable } from './stitched-error'\nimport { forwardUnhandledError, logUnhandledRejection } from '../forward-logs'\n\nconst queueMicroTask =\n globalThis.queueMicrotask || ((cb: () => void) => Promise.resolve().then(cb))\n\ntype ErrorHandler = (error: Error) => void\n\nconst errorQueue: Array<Error> = []\nconst errorHandlers: Array<ErrorHandler> = []\nconst rejectionQueue: Array<Error> = []\nconst rejectionHandlers: Array<ErrorHandler> = []\n\nexport function handleConsoleError(\n originError: unknown,\n consoleErrorArgs: any[]\n) {\n let error: Error\n const { environmentName } = parseConsoleArgs(consoleErrorArgs)\n if (isError(originError)) {\n error = createConsoleError(originError, environmentName)\n } else {\n error = createConsoleError(\n formatConsoleArgs(consoleErrorArgs),\n environmentName\n )\n }\n setOwnerStackIfAvailable(error)\n\n errorQueue.push(error)\n for (const handler of errorHandlers) {\n // Delayed the error being passed to React Dev Overlay,\n // avoid the state being synchronously updated in the component.\n queueMicroTask(() => {\n handler(error)\n })\n }\n}\n\nexport function handleClientError(error: Error) {\n errorQueue.push(error)\n for (const handler of errorHandlers) {\n // Delayed the error being passed to React Dev Overlay,\n // avoid the state being synchronously updated in the component.\n queueMicroTask(() => {\n handler(error)\n })\n }\n}\n\nexport function useErrorHandler(\n handleOnUnhandledError: ErrorHandler,\n handleOnUnhandledRejection: ErrorHandler\n) {\n useEffect(() => {\n // Handle queued errors.\n errorQueue.forEach(handleOnUnhandledError)\n rejectionQueue.forEach(handleOnUnhandledRejection)\n\n // Listen to new errors.\n errorHandlers.push(handleOnUnhandledError)\n rejectionHandlers.push(handleOnUnhandledRejection)\n\n return () => {\n // Remove listeners.\n errorHandlers.splice(errorHandlers.indexOf(handleOnUnhandledError), 1)\n rejectionHandlers.splice(\n rejectionHandlers.indexOf(handleOnUnhandledRejection),\n 1\n )\n\n // Reset error queues.\n errorQueue.splice(0, errorQueue.length)\n rejectionQueue.splice(0, rejectionQueue.length)\n }\n }, [handleOnUnhandledError, handleOnUnhandledRejection])\n}\n\nfunction onUnhandledError(event: WindowEventMap['error']): void | boolean {\n const thrownValue: unknown = event.error\n if (isNextRouterError(thrownValue)) {\n event.preventDefault()\n return false\n }\n // When there's an error property present, we log the error to error overlay.\n // Otherwise we don't do anything as it's not logging in the console either.\n if (thrownValue) {\n const error = coerceError(thrownValue)\n setOwnerStackIfAvailable(error)\n handleClientError(error)\n forwardUnhandledError(error)\n }\n}\n\nfunction onUnhandledRejection(ev: WindowEventMap['unhandledrejection']): void {\n const reason: unknown = ev?.reason\n if (isNextRouterError(reason)) {\n ev.preventDefault()\n return\n }\n\n const error = coerceError(reason)\n setOwnerStackIfAvailable(error)\n\n rejectionQueue.push(error)\n for (const handler of rejectionHandlers) {\n handler(error)\n }\n\n logUnhandledRejection(reason)\n}\n\nexport function handleGlobalErrors() {\n if (typeof window !== 'undefined') {\n try {\n // Increase the number of stack frames on the client\n Error.stackTraceLimit = 50\n } catch {}\n\n window.addEventListener('error', onUnhandledError)\n window.addEventListener('unhandledrejection', onUnhandledRejection)\n }\n}\n"],"names":["handleClientError","handleConsoleError","handleGlobalErrors","useErrorHandler","queueMicroTask","globalThis","queueMicrotask","cb","Promise","resolve","then","errorQueue","errorHandlers","rejectionQueue","rejectionHandlers","originError","consoleErrorArgs","error","environmentName","parseConsoleArgs","isError","createConsoleError","formatConsoleArgs","setOwnerStackIfAvailable","push","handler","handleOnUnhandledError","handleOnUnhandledRejection","useEffect","forEach","splice","indexOf","length","onUnhandledError","event","thrownValue","isNextRouterError","preventDefault","coerceError","forwardUnhandledError","onUnhandledRejection","ev","reason","logUnhandledRejection","window","Error","stackTraceLimit","addEventListener"],"mappings":";;;;;;;;;;;;;;;;IA+CgBA,iBAAiB,EAAA;eAAjBA;;IA1BAC,kBAAkB,EAAA;eAAlBA;;IAmGAC,kBAAkB,EAAA;eAAlBA;;IA9DAC,eAAe,EAAA;eAAfA;;;;uBA1DU;mCACQ;yBAI3B;kEACa;8BACe;+BACmB;6BACO;AAE7D,MAAMC,iBACJC,WAAWC,cAAc,IAAK,CAAA,CAACC,KAAmBC,QAAQC,OAAO,GAAGC,IAAI,CAACH,GAAE;AAI7E,MAAMI,aAA2B,EAAE;AACnC,MAAMC,gBAAqC,EAAE;AAC7C,MAAMC,iBAA+B,EAAE;AACvC,MAAMC,oBAAyC,EAAE;AAE1C,SAASb,mBACdc,WAAoB,EACpBC,gBAAuB;IAEvB,IAAIC;IACJ,MAAM,EAAEC,eAAe,EAAE,GAAGC,CAAAA,GAAAA,SAAAA,gBAAgB,EAACH;IAC7C,IAAII,CAAAA,GAAAA,SAAAA,OAAO,EAACL,cAAc;QACxBE,QAAQI,CAAAA,GAAAA,cAAAA,kBAAkB,EAACN,aAAaG;IAC1C,OAAO;QACLD,QAAQI,CAAAA,GAAAA,cAAAA,kBAAkB,EACxBC,CAAAA,GAAAA,SAAAA,iBAAiB,EAACN,mBAClBE;IAEJ;IACAK,CAAAA,GAAAA,eAAAA,wBAAwB,EAACN;IAEzBN,WAAWa,IAAI,CAACP;IAChB,KAAK,MAAMQ,WAAWb,cAAe;QACnC,uDAAuD;QACvD,gEAAgE;QAChER,eAAe;YACbqB,QAAQR;QACV;IACF;AACF;AAEO,SAASjB,kBAAkBiB,KAAY;IAC5CN,WAAWa,IAAI,CAACP;IAChB,KAAK,MAAMQ,WAAWb,cAAe;QACnC,uDAAuD;QACvD,gEAAgE;QAChER,eAAe;YACbqB,QAAQR;QACV;IACF;AACF;AAEO,SAASd,gBACduB,sBAAoC,EACpCC,0BAAwC;IAExCC,CAAAA,GAAAA,OAAAA,SAA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AAEO,SAASxC;IACd,IAAI,OAAO0C,WAAW,aAAa;QACjC,IAAI;YACF,oDAAoD;YACpDC,MAAMC,eAAe,GAAG;QAC1B,EAAE,OAAM,CAAC;QAETF,OAAOG,gBAAgB,CAAC,SAASd;QACjCW,OAAOG,gBAAgB,CAAC,sBAAsBP;IAChD;AACF","ignoreList":[0]}}, - {"offset": {"line": 3072, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/next-devtools/userspace/app/errors/intercept-console-error.ts"],"sourcesContent":["import isError from '../../../../lib/is-error'\nimport { isNextRouterError } from '../../../../client/components/is-next-router-error'\nimport { handleConsoleError } from './use-error-handler'\nimport { parseConsoleArgs } from '../../../../client/lib/console'\nimport { forwardErrorLog } from '../forward-logs'\n\nexport const originConsoleError = globalThis.console.error\n\n// Patch console.error to collect information about hydration errors\nexport function patchConsoleError() {\n // Ensure it's only patched once\n if (typeof window === 'undefined') {\n return\n }\n window.console.error = function error(...args: any[]) {\n let maybeError: unknown\n if (process.env.NODE_ENV !== 'production') {\n const { error: replayedError } = parseConsoleArgs(args)\n if (replayedError) {\n maybeError = replayedError\n } else if (isError(args[0])) {\n maybeError = args[0]\n } else {\n // See https://github.com/facebook/react/blob/d50323eb845c5fde0d720cae888bf35dedd05506/packages/react-reconciler/src/ReactFiberErrorLogger.js#L78\n maybeError = args[1]\n }\n } else {\n maybeError = args[0]\n }\n\n if (!isNextRouterError(maybeError)) {\n if (process.env.NODE_ENV !== 'production') {\n handleConsoleError(\n // replayed errors have their own complex format string that should be used,\n // but if we pass the error directly, `handleClientError` will ignore it\n maybeError,\n args\n )\n }\n forwardErrorLog(args)\n\n originConsoleError.apply(window.console, args)\n }\n }\n}\n"],"names":["originConsoleError","patchConsoleError","globalThis","console","error","window","args","maybeError","process","env","NODE_ENV","replayedError","parseConsoleArgs","isError","isNextRouterError","handleConsoleError","forwardErrorLog","apply"],"mappings":"AAgBQQ,QAAQC,GAAG,CAACC,QAAQ,KAAK;;;;;;;;;;;;;;;;IAVpBV,kBAAkB,EAAA;eAAlBA;;IAGGC,iBAAiB,EAAA;eAAjBA;;;;kEATI;mCACc;iCACC;yBACF;6BACD;AAEzB,MAAMD,qBAAqBE,WAAWC,OAAO,CAACC,KAAK;AAGnD,SAASH;IACd,gCAAgC;IAChC,IAAI,OAAOI,WAAW,aAAa;QACjC;IACF;IACAA,OAAOF,OAAO,CAACC,KAAK,GAAG,SAASA,MAAM,GAAGE,IAAW;QAClD,IAAIC;QACJ,wCAA2C;YACzC,MAAM,EAAEH,OAAOO,aAAa,EAAE,GAAGC,CAAAA,GAAAA,SAAAA,gBAAgB,EAACN;YAClD,IAAIK,eAAe;gBACjBJ,aAAaI;YACf,OAAO,IAAIE,CAAAA,GAAAA,SAAAA,OAAO,EAACP,IAAI,CAAC,EAAE,GAAG;gBAC3BC,aAAaD,IAAI,CAAC,EAAE;YACtB,OAAO;gBACL,iJAAiJ;gBACjJC,aAAaD,IAAI,CAAC,EAAE;YACtB;QACF,OAAO;;QAIP,IAAI,CAACQ,CAAAA,GAAAA,mBAAAA,iBAAiB,EAACP,aAAa;YAClC,IAAIC,QAAQC,GAAG,CAACC,QAAQ,KAAK,WAAc;gBACzCK,CAAAA,GAAAA,iBAAAA,kBAAkB,EAChB,AACA,wEAAwE,IADI;gBAE5ER,YACAD;YAEJ;YACAU,CAAAA,GAAAA,aAAAA,eAAe,EAACV;YAEhBN,mBAAmBiB,KAAK,CAACZ,OAAOF,OAAO,EAAEG;QAC3C;IACF;AACF","ignoreList":[0]}}, - {"offset": {"line": 3142, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/next-devtools/userspace/app/app-dev-overlay-setup.ts"],"sourcesContent":["import { patchConsoleError } from './errors/intercept-console-error'\nimport { handleGlobalErrors } from './errors/use-error-handler'\nimport { initializeDebugLogForwarding } from './forward-logs'\n\nhandleGlobalErrors()\npatchConsoleError()\n\ninitializeDebugLogForwarding('app')\n"],"names":["handleGlobalErrors","patchConsoleError","initializeDebugLogForwarding"],"mappings":";;;uCAAkC;iCACC;6BACU;AAE7CA,CAAAA,GAAAA,iBAAAA,kBAAkB;AAClBC,CAAAA,GAAAA,uBAAAA,iBAAiB;AAEjBC,CAAAA,GAAAA,aAAAA,4BAA4B,EAAC","ignoreList":[0]}}, - {"offset": {"line": 3162, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/next-devtools/userspace/app/errors/index.ts"],"sourcesContent":["export { originConsoleError } from './intercept-console-error'\nexport { handleClientError } from './use-error-handler'\nexport { decorateDevError } from './stitched-error'\n"],"names":["decorateDevError","handleClientError","originConsoleError"],"mappings":";;;;;;;;;;;;;;;IAESA,gBAAgB,EAAA;eAAhBA,eAAAA,gBAAgB;;IADhBC,iBAAiB,EAAA;eAAjBA,iBAAAA,iBAAiB;;IADjBC,kBAAkB,EAAA;eAAlBA,uBAAAA,kBAAkB;;;uCAAQ;iCACD;+BACD","ignoreList":[0]}}, - {"offset": {"line": 3201, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/next-devtools/userspace/app/segment-explorer-node.tsx"],"sourcesContent":["'use client'\n\nimport type { ReactNode } from 'react'\nimport {\n useState,\n createContext,\n useContext,\n use,\n useMemo,\n useCallback,\n} from 'react'\nimport { useLayoutEffect } from 'react'\nimport { dispatcher } from 'next/dist/compiled/next-devtools'\nimport { notFound } from '../../../client/components/not-found'\n\nexport type SegmentBoundaryType =\n | 'not-found'\n | 'error'\n | 'loading'\n | 'global-error'\n\nexport const SEGMENT_EXPLORER_SIMULATED_ERROR_MESSAGE =\n 'NEXT_DEVTOOLS_SIMULATED_ERROR'\n\nexport type SegmentNodeState = {\n type: string\n pagePath: string\n boundaryType: string | null\n setBoundaryType: (type: SegmentBoundaryType | null) => void\n}\n\nfunction SegmentTrieNode({\n type,\n pagePath,\n}: {\n type: string\n pagePath: string\n}): React.ReactNode {\n const { boundaryType, setBoundaryType } = useSegmentState()\n const nodeState: SegmentNodeState = useMemo(() => {\n return {\n type,\n pagePath,\n boundaryType,\n setBoundaryType,\n }\n }, [type, pagePath, boundaryType, setBoundaryType])\n\n // Use `useLayoutEffect` to ensure the state is updated during suspense.\n // `useEffect` won't work as the state is preserved during suspense.\n useLayoutEffect(() => {\n dispatcher.segmentExplorerNodeAdd(nodeState)\n return () => {\n dispatcher.segmentExplorerNodeRemove(nodeState)\n }\n }, [nodeState])\n\n return null\n}\n\nfunction NotFoundSegmentNode(): React.ReactNode {\n notFound()\n}\n\nfunction ErrorSegmentNode(): React.ReactNode {\n throw new Error(SEGMENT_EXPLORER_SIMULATED_ERROR_MESSAGE)\n}\n\nconst forever = new Promise(() => {})\nfunction LoadingSegmentNode(): React.ReactNode {\n use(forever)\n return null\n}\n\nexport function SegmentViewStateNode({ page }: { page: string }) {\n useLayoutEffect(() => {\n dispatcher.segmentExplorerUpdateRouteState(page)\n return () => {\n dispatcher.segmentExplorerUpdateRouteState('')\n }\n }, [page])\n return null\n}\n\nexport function SegmentBoundaryTriggerNode() {\n const { boundaryType } = useSegmentState()\n let segmentNode: React.ReactNode = null\n if (boundaryType === 'loading') {\n segmentNode = <LoadingSegmentNode />\n } else if (boundaryType === 'not-found') {\n segmentNode = <NotFoundSegmentNode />\n } else if (boundaryType === 'error') {\n segmentNode = <ErrorSegmentNode />\n }\n return segmentNode\n}\n\nexport function SegmentViewNode({\n type,\n pagePath,\n children,\n}: {\n type: string\n pagePath: string\n children?: ReactNode\n}): React.ReactNode {\n const segmentNode = (\n <SegmentTrieNode key={type} type={type} pagePath={pagePath} />\n )\n\n return (\n <>\n {segmentNode}\n {children}\n </>\n )\n}\n\nconst SegmentStateContext = createContext<{\n boundaryType: SegmentBoundaryType | null\n setBoundaryType: (type: SegmentBoundaryType | null) => void\n}>({\n boundaryType: null,\n setBoundaryType: () => {},\n})\n\nexport function SegmentStateProvider({ children }: { children: ReactNode }) {\n const [boundaryType, setBoundaryType] = useState<SegmentBoundaryType | null>(\n null\n )\n\n const [errorBoundaryKey, setErrorBoundaryKey] = useState(0)\n const reloadBoundary = useCallback(\n () => setErrorBoundaryKey((prev) => prev + 1),\n []\n )\n\n const setBoundaryTypeAndReload = useCallback(\n (type: SegmentBoundaryType | null) => {\n if (type === null) {\n reloadBoundary()\n }\n setBoundaryType(type)\n },\n [reloadBoundary]\n )\n\n return (\n <SegmentStateContext.Provider\n key={errorBoundaryKey}\n value={{\n boundaryType,\n setBoundaryType: setBoundaryTypeAndReload,\n }}\n >\n {children}\n </SegmentStateContext.Provider>\n )\n}\n\nexport function useSegmentState() {\n return useContext(SegmentStateContext)\n}\n"],"names":["SEGMENT_EXPLORER_SIMULATED_ERROR_MESSAGE","SegmentBoundaryTriggerNode","SegmentStateProvider","SegmentViewNode","SegmentViewStateNode","useSegmentState","SegmentTrieNode","type","pagePath","boundaryType","setBoundaryType","nodeState","useMemo","useLayoutEffect","dispatcher","segmentExplorerNodeAdd","segmentExplorerNodeRemove","NotFoundSegmentNode","notFound","ErrorSegmentNode","Error","forever","Promise","LoadingSegmentNode","use","page","segmentExplorerUpdateRouteState","segmentNode","children","SegmentStateContext","createContext","useState","errorBoundaryKey","setErrorBoundaryKey","reloadBoundary","useCallback","prev","setBoundaryTypeAndReload","Provider","value","useContext"],"mappings":";;;;;;;;;;;;;;;;;;IAqBaA,wCAAwC,EAAA;eAAxCA;;IA+DGC,0BAA0B,EAAA;eAA1BA;;IA0CAC,oBAAoB,EAAA;eAApBA;;IA7BAC,eAAe,EAAA;eAAfA;;IAvBAC,oBAAoB,EAAA;eAApBA;;IAsFAC,eAAe,EAAA;eAAfA;;;;uBAtJT;8BAEoB;0BACF;AAQlB,MAAML,2CACX;AASF,SAASM,gBAAgB,EACvBC,IAAI,EACJC,QAAQ,EAIT;IACC,MAAM,EAAEC,YAAY,EAAEC,eAAe,EAAE,GAAGL;IAC1C,MAAMM,YAA8BC,CAAAA,GAAAA,OAAAA,OAAO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BAAgB,EAC9BI,IAAI,EACJC,QAAQ,EACRoB,QAAQ,EAKT;IACC,MAAMD,cAAAA,WAAAA,GACJ,CAAA,GAAA,YAAA,GAAA,EAACrB,iBAAAA;QAA2BC,MAAMA;QAAMC,UAAUA;OAA5BD;IAGxB,OAAA,WAAA,GACE,CAAA,GAAA,YAAA,IAAA,EAAA,YAAA,QAAA,EAAA;;YACGoB;YACAC;;;AAGP;AAEA,MAAMC,sBAAAA,WAAAA,GAAsBC,CAAAA,GAAAA,OAAAA,aAAa,EAGtC;IACDrB,cAAc;IACdC,iBAAiB,KAAO;AAC1B;AAEO,SAASR,qBAAqB,EAAE0B,QAAQ,EAA2B;IACxE,MAAM,CAACnB,cAAcC,gBAAgB,GAAGqB,CAAAA,GAAAA,OAAAA,QAAQ,EAC9C;IAGF,MAAM,CAACC,kBAAkBC,oBAAoB,GAAGF,CAAAA,GAAAA,OAAAA,QAAQ,EAAC;IACzD,MAAMG,iBAAiBC,CAAAA,GAAAA,OAAAA,WAAW,EAChC,IAAMF,oBAAoB,CAACG,OAASA,OAAO,IAC3C,EAAE;IAGJ,MAAMC,2BAA2BF,CAAAA,GAAAA,OAAAA,WAAW,EAC1C,CAAC5B;QACC,IAAIA,SAAS,MAAM;YACjB2B;QACF;QACAxB,gBAAgBH;IAClB,GACA;QAAC2B;KAAe;IAGlB,OAAA,WAAA,GACE,CAAA,GAAA,YAAA,GAAA,EAACL,oBAAoBS,QAAQ,EAAA;QAE3BC,OAAO;YACL9B;YACAC,iBAAiB2B;QACnB;kBAECT;OANII;AASX;AAEO,SAAS3B;IACd,OAAOmC,CAAAA,GAAAA,OAAAA,UAAU,EAACX;AACpB","ignoreList":[0]}}, - {"offset": {"line": 3358, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/next-devtools/userspace/app/app-dev-overlay-error-boundary.tsx"],"sourcesContent":["import { PureComponent } from 'react'\nimport { dispatcher } from 'next/dist/compiled/next-devtools'\nimport { RuntimeErrorHandler } from '../../../client/dev/runtime-error-handler'\nimport { ErrorBoundary } from '../../../client/components/error-boundary'\nimport DefaultGlobalError from '../../../client/components/builtin/global-error'\nimport type { GlobalErrorState } from '../../../client/components/app-router-instance'\nimport { SEGMENT_EXPLORER_SIMULATED_ERROR_MESSAGE } from './segment-explorer-node'\n\ntype AppDevOverlayErrorBoundaryProps = {\n children: React.ReactNode\n globalError: GlobalErrorState\n}\n\ntype AppDevOverlayErrorBoundaryState = {\n reactError: unknown\n}\n\nfunction ErroredHtml({\n globalError: [GlobalError, globalErrorStyles],\n error,\n}: {\n globalError: GlobalErrorState\n error: unknown\n}) {\n if (!error) {\n return (\n <html>\n <head />\n <body />\n </html>\n )\n }\n return (\n <ErrorBoundary errorComponent={DefaultGlobalError}>\n {globalErrorStyles}\n <GlobalError error={error} />\n </ErrorBoundary>\n )\n}\n\nexport class AppDevOverlayErrorBoundary extends PureComponent<\n AppDevOverlayErrorBoundaryProps,\n AppDevOverlayErrorBoundaryState\n> {\n state = { reactError: null }\n\n static getDerivedStateFromError(error: Error) {\n RuntimeErrorHandler.hadRuntimeError = true\n\n return {\n reactError: error,\n }\n }\n\n componentDidCatch(err: Error) {\n if (\n process.env.NODE_ENV === 'development' &&\n err.message === SEGMENT_EXPLORER_SIMULATED_ERROR_MESSAGE\n ) {\n return\n }\n dispatcher.openErrorOverlay()\n }\n\n render() {\n const { children, globalError } = this.props\n const { reactError } = this.state\n\n const fallback = (\n <ErroredHtml globalError={globalError} error={reactError} />\n )\n\n return reactError !== null ? fallback : children\n }\n}\n"],"names":["AppDevOverlayErrorBoundary","ErroredHtml","globalError","GlobalError","globalErrorStyles","error","html","head","body","ErrorBoundary","errorComponent","DefaultGlobalError","PureComponent","getDerivedStateFromError","RuntimeErrorHandler","hadRuntimeError","reactError","componentDidCatch","err","process","env","NODE_ENV","message","SEGMENT_EXPLORER_SIMULATED_ERROR_MESSAGE","dispatcher","openErrorOverlay","render","children","props","state","fallback"],"mappings":"AAwD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List":[0]}}, - {"offset": {"line": 3435, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/next-devtools/userspace/use-app-dev-rendering-indicator.tsx"],"sourcesContent":["'use client'\n\nimport { useEffect, useTransition } from 'react'\nimport { dispatcher } from 'next/dist/compiled/next-devtools'\n\nexport const useAppDevRenderingIndicator = () => {\n const [isPending, startTransition] = useTransition()\n\n useEffect(() => {\n if (isPending) {\n dispatcher.renderingIndicatorShow()\n } else {\n dispatcher.renderingIndicatorHide()\n }\n }, [isPending])\n\n return startTransition\n}\n"],"names":["useAppDevRenderingIndicator","isPending","startTransition","useTransition","useEffect","dispatcher","renderingIndicatorShow","renderingIndicatorHide"],"mappings":";;;+BAKaA,+BAAAA;;;eAAAA;;;uBAH4B;8BACd;AAEpB,MAAMA,8BAA8B;IACzC,MAAM,CAACC,WAAWC,gBAAgB,GAAGC,CAAAA,GAAAA,OAAAA,aAAa;IAElDC,CAAAA,GAAAA,OAAAA,SAAS,EAAC;QACR,IAAIH,WAAW;YACbI,cAAAA,UAAU,CAACC,sBAAsB;QACnC,OAAO;YACLD,cAAAA,UAAU,CAACE,sBAAsB;QACnC;IACF,GAAG;QAACN;KAAU;IAEd,OAAOC;AACT","ignoreList":[0]}}, - {"offset": {"line": 3470, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/next-devtools/userspace/app/errors/replay-ssr-only-errors.tsx"],"sourcesContent":["import { useEffect } from 'react'\nimport { handleClientError } from './use-error-handler'\nimport { isNextRouterError } from '../../../../client/components/is-next-router-error'\nimport { MISSING_ROOT_TAGS_ERROR } from '../../../../shared/lib/errors/constants'\n\nfunction readSsrError(): (Error & { digest?: string }) | null {\n if (typeof document === 'undefined') {\n return null\n }\n\n const ssrErrorTemplateTag = document.querySelector(\n 'template[data-next-error-message]'\n )\n if (ssrErrorTemplateTag) {\n const message: string = ssrErrorTemplateTag.getAttribute(\n 'data-next-error-message'\n )!\n const stack = ssrErrorTemplateTag.getAttribute('data-next-error-stack')\n const digest = ssrErrorTemplateTag.getAttribute('data-next-error-digest')\n const error = new Error(message)\n if (digest) {\n ;(error as any).digest = digest\n }\n // Skip Next.js SSR'd internal errors that which will be handled by the error boundaries.\n if (isNextRouterError(error)) {\n return null\n }\n error.stack = stack || ''\n return error\n }\n\n return null\n}\n\n/**\n * Needs to be in the same error boundary as the shell.\n * If it commits, we know we recovered from an SSR error.\n * If it doesn't commit, we errored again and React will take care of error reporting.\n */\nexport function ReplaySsrOnlyErrors({\n onBlockingError,\n}: {\n onBlockingError: () => void\n}) {\n if (process.env.NODE_ENV !== 'production') {\n // Need to read during render. The attributes will be gone after commit.\n const ssrError = readSsrError()\n // eslint-disable-next-line react-hooks/rules-of-hooks\n useEffect(() => {\n if (ssrError !== null) {\n // TODO(veil): Include original Owner Stack (NDX-905)\n // TODO(veil): Mark as recoverable error\n // TODO(veil): console.error\n handleClientError(ssrError)\n\n // If it's missing root tags, we can't recover, make it blocking.\n if (ssrError.digest === MISSING_ROOT_TAGS_ERROR) {\n onBlockingError()\n }\n }\n }, [ssrError, onBlockingError])\n }\n\n return null\n}\n"],"names":["ReplaySsrOnlyErrors","readSsrError","document","ssrErrorTemplateTag","querySelector","message","getAttribute","stack","digest","error","Error","isNextRouterError","onBlockingError","process","env","NODE_ENV","ssrError","useEffect","handleClientError","MISSING_ROOT_TAGS_ERROR"],"mappings":"AA4CMa,QAAQC,GAAG,CAACC,QAAQ,KAAK;;;;;+BALff,uBAAAA;;;eAAAA;;;uBAvCU;iCACQ;mCACA;2BACM;AAExC,SAASC;IACP,IAAI,OAAOC,aAAa,aAAa;QACnC,OAAO;IACT;IAEA,MAAMC,sBAAsBD,SAASE,aAAa,CAChD;IAEF,IAAID,qBAAqB;QACvB,MAAME,UAAkBF,oBAAoBG,YAAY,CACtD;QAEF,MAAMC,QAAQJ,oBAAoBG,YAAY,CAAC;QAC/C,MAAME,SAASL,oBAAoBG,YAAY,CAAC;QAChD,MAAMG,QAAQ,OAAA,cAAkB,CAAlB,IAAIC,MAAML,UAAV,qBAAA;mBAAA;wBAAA;0BAAA;QAAiB;QAC/B,IAAIG,QAAQ;;YACRC,MAAcD,MAAM,GAAGA;QAC3B;QACA,yFAAyF;QACzF,IAAIG,CAAAA,GAAAA,mBAAAA,iBAAiB,EAACF,QAAQ;YAC5B,OAAO;QACT;QACAA,MAAMF,KAAK,GAAGA,SAAS;QACvB,OAAOE;IACT;IAEA,OAAO;AACT;AAOO,SAAST,oBAAoB,EAClCY,eAAe,EAGhB;IACC,wCAA2C;QACzC,wEAAwE;QACxE,MAAMI,WAAWf;QACjB,sDAAsD;QACtDgB,CAAAA,GAAAA,OAAAA,SAAS,EAAC;YACR,IAAID,aAAa,MAAM;gBACrB,qDAAqD;gBACrD,wCAAwC;gBACxC,4BAA4B;gBAC5BE,CAAAA,GAAAA,iBAAAA,iBAAiB,EAACF;gBAElB,iEAAiE;gBACjE,IAAIA,SAASR,MAAM,KAAKW,WAAAA,uBAAuB,EAAE;oBAC/CP;gBACF;YACF;QACF,GAAG;YAACI;YAAUJ;SAAgB;IAChC;IAEA,OAAO;AACT","ignoreList":[0]}}, - {"offset": {"line": 3546, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/next-devtools/userspace/app/client-entry.tsx"],"sourcesContent":["import React from 'react'\nimport DefaultGlobalError from '../../../client/components/builtin/global-error'\nimport { AppDevOverlayErrorBoundary } from './app-dev-overlay-error-boundary'\n\n// If an error is thrown while rendering an RSC stream, this will catch it in\n// dev and show the error overlay.\nexport function RootLevelDevOverlayElement({\n children,\n}: {\n children: React.ReactNode\n}) {\n return (\n <AppDevOverlayErrorBoundary globalError={[DefaultGlobalError, null]}>\n {children}\n </AppDevOverlayErrorBoundary>\n )\n}\n"],"names":["RootLevelDevOverlayElement","children","AppDevOverlayErrorBoundary","globalError","DefaultGlobalError"],"mappings":";;;+BAMgBA,8BAAAA;;;eAAAA;;;;;gEANE;sEACa;4CACY;AAIpC,SAASA,2BAA2B,EACzCC,QAAQ,EAGT;IACC,OAAA,WAAA,GACE,CAAA,GAAA,YAAA,GAAA,EAACC,4BAAAA,0BAA0B,EAAA;QAACC,aAAa;YAACC,aAAAA,OAAkB;YAAE;SAAK;kBAChEH;;AAGP","ignoreList":[0]}}, - {"offset": {"line": 3580, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/server/app-render/async-local-storage.ts"],"sourcesContent":["import type { AsyncLocalStorage } from 'async_hooks'\n\nconst sharedAsyncLocalStorageNotAvailableError = new Error(\n 'Invariant: AsyncLocalStorage accessed in runtime where it is not available'\n)\n\nclass FakeAsyncLocalStorage<Store extends {}>\n implements AsyncLocalStorage<Store>\n{\n disable(): void {\n throw sharedAsyncLocalStorageNotAvailableError\n }\n\n getStore(): Store | undefined {\n // This fake implementation of AsyncLocalStorage always returns `undefined`.\n return undefined\n }\n\n run<R>(): R {\n throw sharedAsyncLocalStorageNotAvailableError\n }\n\n exit<R>(): R {\n throw sharedAsyncLocalStorageNotAvailableError\n }\n\n enterWith(): void {\n throw sharedAsyncLocalStorageNotAvailableError\n }\n\n static bind<T>(fn: T): T {\n return fn\n }\n}\n\nconst maybeGlobalAsyncLocalStorage =\n typeof globalThis !== 'undefined' && (globalThis as any).AsyncLocalStorage\n\nexport function createAsyncLocalStorage<\n Store extends {},\n>(): AsyncLocalStorage<Store> {\n if (maybeGlobalAsyncLocalStorage) {\n return new maybeGlobalAsyncLocalStorage()\n }\n return new FakeAsyncLocalStorage()\n}\n\nexport function bindSnapshot<T>(\n // WARNING: Don't pass a named function to this argument! See: https://github.com/facebook/react/pull/34911\n fn: T\n): T {\n if (maybeGlobalAsyncLocalStorage) {\n return maybeGlobalAsyncLocalStorage.bind(fn)\n }\n return FakeAsyncLocalStorage.bind(fn)\n}\n\nexport function createSnapshot(): <R, TArgs extends any[]>(\n fn: (...args: TArgs) => R,\n ...args: TArgs\n) => R {\n if (maybeGlobalAsyncLocalStorage) {\n return maybeGlobalAsyncLocalStorage.snapshot()\n }\n return function (fn: any, ...args: any[]) {\n return fn(...args)\n }\n}\n"],"names":["bindSnapshot","createAsyncLocalStorage","createSnapshot","sharedAsyncLocalStorageNotAvailableError","Error","FakeAsyncLocalStorage","disable","getStore","undefined","run","exit","enterWith","bind","fn","maybeGlobalAsyncLocalStorage","globalThis","AsyncLocalStorage","snapshot","args"],"mappings":";;;;;;;;;;;;;;;IA+CgBA,YAAY,EAAA;eAAZA;;IATAC,uBAAuB,EAAA;eAAvBA;;IAmBAC,cAAc,EAAA;eAAdA;;;AAvDhB,MAAMC,2CAA2C,OAAA,cAEhD,CAFgD,IAAIC,MACnD,+EAD+C,qBAAA;WAAA;gBAAA;kBAAA;AAEjD;AAEA,MAAMC;IAGJC,UAAgB;QACd,MAAMH;IACR;IAEAI,WAA8B;QAC5B,4EAA4E;QAC5E,OAAOC;IACT;IAEAC,MAAY;QACV,MAAMN;IACR;IAEAO,OAAa;QACX,MAAMP;IACR;IAEAQ,YAAkB;QAChB,MAAMR;IACR;IAEA,OAAOS,KAAQC,EAAK,EAAK;QACvB,OAAOA;IACT;AACF;AAEA,MAAMC,+BACJ,OAAOC,eAAe,eAAgBA,WAAmBC,iBAAiB;AAErE,SAASf;IAGd,IAAIa,8BAA8B;QAChC,OAAO,IAAIA;IACb;IACA,OAAO,IAAIT;AACb;AAEO,SAASL,aACd,AACAa,EAAK,yGADsG;IAG3G,IAAIC,8BAA8B;QAChC,OAAOA,6BAA6BF,IAAI,CAACC;IAC3C;IACA,OAAOR,sBAAsBO,IAAI,CAACC;AACpC;AAEO,SAASX;IAId,IAAIY,8BAA8B;QAChC,OAAOA,6BAA6BG,QAAQ;IAC9C;IACA,OAAO,SAAUJ,EAAO,EAAE,GAAGK,IAAW;QACtC,OAAOL,MAAMK;IACf;AACF","ignoreList":[0]}}, - {"offset": {"line": 3656, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/server/app-render/work-unit-async-storage-instance.ts"],"sourcesContent":["import { createAsyncLocalStorage } from './async-local-storage'\nimport type { WorkUnitAsyncStorage } from './work-unit-async-storage.external'\n\nexport const workUnitAsyncStorageInstance: WorkUnitAsyncStorage =\n createAsyncLocalStorage()\n"],"names":["workUnitAsyncStorageInstance","createAsyncLocalStorage"],"mappings":";;;+BAGaA,gCAAAA;;;eAAAA;;;mCAH2B;AAGjC,MAAMA,+BACXC,CAAAA,GAAAA,mBAAAA,uBAAuB","ignoreList":[0]}}, - {"offset": {"line": 3671, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/server/app-render/work-unit-async-storage.external.ts"],"sourcesContent":["import type { AsyncLocalStorage } from 'async_hooks'\nimport type { DraftModeProvider } from '../async-storage/draft-mode-provider'\nimport type { ResponseCookies } from '../web/spec-extension/cookies'\nimport type { ReadonlyHeaders } from '../web/spec-extension/adapters/headers'\nimport type { ReadonlyRequestCookies } from '../web/spec-extension/adapters/request-cookies'\nimport type { CacheSignal } from './cache-signal'\nimport type { DynamicTrackingState } from './dynamic-rendering'\nimport type { OpaqueFallbackRouteParams } from '../request/fallback-params'\n\n// Share the instance module in the next-shared layer\nimport { workUnitAsyncStorageInstance } from './work-unit-async-storage-instance' with { 'turbopack-transition': 'next-shared' }\nimport type { ServerComponentsHmrCache } from '../response-cache'\nimport type {\n RenderResumeDataCache,\n PrerenderResumeDataCache,\n} from '../resume-data-cache/resume-data-cache'\nimport type { Params } from '../request/params'\nimport type { ImplicitTags } from '../lib/implicit-tags'\nimport type { WorkStore } from './work-async-storage.external'\nimport { NEXT_HMR_REFRESH_HASH_COOKIE } from '../../client/components/app-router-headers'\nimport { InvariantError } from '../../shared/lib/invariant-error'\nimport type { StagedRenderingController } from './staged-rendering'\n\nexport type WorkUnitPhase = 'action' | 'render' | 'after'\n\nexport interface CommonWorkUnitStore {\n /** NOTE: Will be mutated as phases change */\n phase: WorkUnitPhase\n readonly implicitTags: ImplicitTags\n}\n\nexport interface RequestStore extends CommonWorkUnitStore {\n readonly type: 'request'\n\n /**\n * The URL of the request. This only specifies the pathname and the search\n * part of the URL.\n */\n readonly url: {\n /**\n * The pathname of the requested URL.\n */\n readonly pathname: string\n\n /**\n * The search part of the requested URL. If the request did not provide a\n * search part, this will be an empty string.\n */\n readonly search: string\n }\n\n readonly headers: ReadonlyHeaders\n // This is mutable because we need to reassign it when transitioning from the action phase to the render phase.\n // The cookie object itself is deliberately read only and thus can't be updated.\n cookies: ReadonlyRequestCookies\n readonly mutableCookies: ResponseCookies\n readonly userspaceMutableCookies: ResponseCookies\n readonly draftMode: DraftModeProvider\n readonly isHmrRefresh?: boolean\n readonly serverComponentsHmrCache?: ServerComponentsHmrCache\n\n readonly rootParams: Params\n\n /**\n * The resume data cache for this request. This will be a immutable cache.\n */\n renderResumeDataCache: RenderResumeDataCache | null\n\n // DEV-only\n usedDynamic?: boolean\n devFallbackParams?: OpaqueFallbackRouteParams | null\n stagedRendering?: StagedRenderingController | null\n asyncApiPromises?: DevAsyncApiPromises\n cacheSignal?: CacheSignal | null\n prerenderResumeDataCache?: PrerenderResumeDataCache | null\n}\n\ntype DevAsyncApiPromises = {\n cookies: Promise<ReadonlyRequestCookies>\n mutableCookies: Promise<ReadonlyRequestCookies>\n headers: Promise<ReadonlyHeaders>\n\n sharedParamsParent: Promise<string>\n sharedSearchParamsParent: Promise<string>\n\n connection: Promise<undefined>\n}\n\n/**\n * The Prerender store is for tracking information related to prerenders.\n *\n * It can be used for both RSC and SSR prerendering and should be scoped as close\n * to the individual `renderTo...` API call as possible. To keep the type simple\n * we don't distinguish between RSC and SSR prerendering explicitly but instead\n * use conditional object properties to infer which mode we are in. For instance cache tracking\n * only needs to happen during the RSC prerender when we are prospectively prerendering\n * to fill all caches.\n */\nexport type PrerenderStoreModern =\n | PrerenderStoreModernClient\n | PrerenderStoreModernServer\n | PrerenderStoreModernRuntime\n\n/** Like `PrerenderStoreModern`, but only including static prerenders (i.e. not runtime prerenders) */\nexport type StaticPrerenderStoreModern = Exclude<\n PrerenderStoreModern,\n PrerenderStoreModernRuntime\n>\n\nexport interface PrerenderStoreModernClient\n extends PrerenderStoreModernCommon,\n StaticPrerenderStoreCommon {\n readonly type: 'prerender-client'\n}\n\nexport interface PrerenderStoreModernServer\n extends PrerenderStoreModernCommon,\n StaticPrerenderStoreCommon {\n readonly type: 'prerender'\n}\n\nexport interface PrerenderStoreModernRuntime\n extends PrerenderStoreModernCommon {\n readonly type: 'prerender-runtime'\n\n /**\n * A runtime prerender resolves APIs in two tasks:\n *\n * 1. Static data (available in a static prerender)\n * 2. Runtime data (available in a runtime prerender)\n *\n * This separation is achieved by awaiting this promise in \"runtime\" APIs.\n * In the final prerender, the promise will be resolved during the second task,\n * and the render will be aborted in the task that follows it.\n */\n readonly runtimeStagePromise: Promise<void> | null\n\n readonly headers: RequestStore['headers']\n readonly cookies: RequestStore['cookies']\n readonly draftMode: RequestStore['draftMode']\n}\n\nexport interface RevalidateStore {\n // Collected revalidate times and tags for this document during the prerender.\n revalidate: number // in seconds. 0 means dynamic. INFINITE_CACHE and higher means never revalidate.\n expire: number // server expiration time\n stale: number // client expiration time\n tags: null | string[]\n}\n\ninterface PrerenderStoreModernCommon\n extends CommonWorkUnitStore,\n RevalidateStore {\n /**\n * The render signal is aborted after React's `prerender` function is aborted\n * (using a separate signal), which happens in two cases:\n *\n * 1. When all caches are filled during the prospective prerender.\n * 2. When the final prerender is aborted immediately after the prerender was\n * started.\n *\n * It can be used to reject any pending I/O, including hanging promises. This\n * allows React to properly track the async I/O in dev mode, which yields\n * better owner stacks for dynamic validation errors.\n */\n readonly renderSignal: AbortSignal\n\n /**\n * This is the AbortController which represents the boundary between Prerender\n * and dynamic. In some renders it is the same as the controller for React,\n * but in others it is a separate controller. It should be aborted whenever we\n * are no longer in the prerender phase of rendering. Typically this is after\n * one task, or when you call a sync API which requires the prerender to end\n * immediately.\n */\n readonly controller: AbortController\n\n /**\n * When not null, this signal is used to track cache reads during prerendering\n * and to await all cache reads completing, before aborting the prerender.\n */\n readonly cacheSignal: null | CacheSignal\n\n /**\n * During some prerenders we want to track dynamic access.\n */\n readonly dynamicTracking: null | DynamicTrackingState\n\n readonly rootParams: Params\n\n /**\n * A mutable resume data cache for this prerender.\n */\n prerenderResumeDataCache: PrerenderResumeDataCache | null\n\n /**\n * An immutable resume data cache for this prerender. This may be provided\n * instead of the `prerenderResumeDataCache` if the prerender is not supposed\n * to fill caches, and only read from prefilled caches, e.g. when prerendering\n * an optional fallback shell.\n */\n renderResumeDataCache: RenderResumeDataCache | null\n\n /**\n * The HMR refresh hash is only provided in dev mode. It is needed for the dev\n * warmup render to ensure that the cache keys will be identical for the\n * subsequent dynamic render.\n */\n readonly hmrRefreshHash: string | undefined\n}\n\ninterface StaticPrerenderStoreCommon {\n /**\n * The set of unknown route parameters. Accessing these will be tracked as\n * a dynamic access.\n */\n readonly fallbackRouteParams: OpaqueFallbackRouteParams | null\n\n /**\n * When true, the page is prerendered as a fallback shell, while allowing any\n * dynamic accesses to result in an empty shell. This is the case when there\n * are also routes prerendered with a more complete set of params.\n * Prerendering those routes would catch any invalid dynamic accesses.\n */\n readonly allowEmptyStaticShell: boolean\n}\n\nexport interface PrerenderStorePPR\n extends CommonWorkUnitStore,\n RevalidateStore {\n readonly type: 'prerender-ppr'\n readonly rootParams: Params\n readonly dynamicTracking: null | DynamicTrackingState\n\n /**\n * The set of unknown route parameters. Accessing these will be tracked as\n * a dynamic access.\n */\n readonly fallbackRouteParams: OpaqueFallbackRouteParams | null\n\n /**\n * The resume data cache for this prerender.\n */\n prerenderResumeDataCache: PrerenderResumeDataCache\n}\n\nexport interface PrerenderStoreLegacy\n extends CommonWorkUnitStore,\n RevalidateStore {\n readonly type: 'prerender-legacy'\n readonly rootParams: Params\n}\n\nexport type PrerenderStore =\n | PrerenderStoreLegacy\n | PrerenderStorePPR\n | PrerenderStoreModern\n\n// /** Like `PrerenderStoreModern`, but only including static prerenders (i.e. not runtime prerenders) */\nexport type StaticPrerenderStore = Exclude<\n PrerenderStore,\n PrerenderStoreModernRuntime\n>\n\nexport interface CommonCacheStore\n extends Omit<CommonWorkUnitStore, 'implicitTags'> {\n /**\n * A cache work unit store might not always have an outer work unit store,\n * from which implicit tags could be inherited.\n */\n readonly implicitTags: ImplicitTags | undefined\n /**\n * Draft mode is only available if the outer work unit store is a request\n * store and draft mode is enabled.\n */\n readonly draftMode: DraftModeProvider | undefined\n}\n\nexport interface CommonUseCacheStore extends CommonCacheStore, RevalidateStore {\n explicitRevalidate: undefined | number // explicit revalidate time from cacheLife() calls\n explicitExpire: undefined | number // server expiration time\n explicitStale: undefined | number // client expiration time\n readonly hmrRefreshHash: string | undefined\n readonly isHmrRefresh: boolean\n readonly serverComponentsHmrCache: ServerComponentsHmrCache | undefined\n readonly forceRevalidate: boolean\n}\n\nexport interface PublicUseCacheStore extends CommonUseCacheStore {\n readonly type: 'cache'\n}\n\nexport interface PrivateUseCacheStore extends CommonUseCacheStore {\n readonly type: 'private-cache'\n\n /**\n * A runtime prerender resolves APIs in two tasks:\n *\n * 1. Static data (available in a static prerender)\n * 2. Runtime data (available in a runtime prerender)\n *\n * This separation is achieved by awaiting this promise in \"runtime\" APIs.\n * In the final prerender, the promise will be resolved during the second task,\n * and the render will be aborted in the task that follows it.\n */\n readonly runtimeStagePromise: Promise<void> | null\n\n readonly headers: ReadonlyHeaders\n readonly cookies: ReadonlyRequestCookies\n\n /**\n * Private caches don't currently need to track root params in the cache key\n * because they're not persisted anywhere, so we can allow root params access\n * (unlike public caches)\n */\n readonly rootParams: Params\n}\n\nexport type UseCacheStore = PublicUseCacheStore | PrivateUseCacheStore\n\nexport interface UnstableCacheStore extends CommonCacheStore {\n readonly type: 'unstable-cache'\n}\n\n/**\n * The Cache store is for tracking information inside a \"use cache\" or\n * unstable_cache context. A cache store shadows an outer request store (if\n * present) as a work unit, so that we never accidentally expose any request or\n * page specific information to cache functions, unless it's explicitly desired.\n * For those exceptions, the data is copied over from the request store to the\n * cache store, instead of generally making the request store available to cache\n * functions.\n */\nexport type CacheStore = UseCacheStore | UnstableCacheStore\n\nexport type WorkUnitStore = RequestStore | CacheStore | PrerenderStore\n\nexport type WorkUnitAsyncStorage = AsyncLocalStorage<WorkUnitStore>\n\nexport { workUnitAsyncStorageInstance as workUnitAsyncStorage }\n\nexport function throwForMissingRequestStore(callingExpression: string): never {\n throw new Error(\n `\\`${callingExpression}\\` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context`\n )\n}\n\nexport function throwInvariantForMissingStore(): never {\n throw new InvariantError('Expected workUnitAsyncStorage to have a store.')\n}\n\nexport function getPrerenderResumeDataCache(\n workUnitStore: WorkUnitStore\n): PrerenderResumeDataCache | null {\n switch (workUnitStore.type) {\n case 'prerender':\n case 'prerender-runtime':\n case 'prerender-ppr':\n return workUnitStore.prerenderResumeDataCache\n case 'prerender-client':\n // TODO eliminate fetch caching in client scope and stop exposing this data\n // cache during SSR.\n return workUnitStore.prerenderResumeDataCache\n case 'request': {\n // In dev, we might fill caches even during a dynamic request.\n if (workUnitStore.prerenderResumeDataCache) {\n return workUnitStore.prerenderResumeDataCache\n }\n // fallthrough\n }\n case 'prerender-legacy':\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n return null\n default:\n return workUnitStore satisfies never\n }\n}\n\nexport function getRenderResumeDataCache(\n workUnitStore: WorkUnitStore\n): RenderResumeDataCache | null {\n switch (workUnitStore.type) {\n case 'request':\n case 'prerender':\n case 'prerender-runtime':\n case 'prerender-client':\n if (workUnitStore.renderResumeDataCache) {\n // If we are in a prerender, we might have a render resume data cache\n // that is used to read from prefilled caches.\n return workUnitStore.renderResumeDataCache\n }\n // fallthrough\n case 'prerender-ppr':\n // Otherwise we return the mutable resume data cache here as an immutable\n // version of the cache as it can also be used for reading.\n return workUnitStore.prerenderResumeDataCache ?? null\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n case 'prerender-legacy':\n return null\n default:\n return workUnitStore satisfies never\n }\n}\n\nexport function getHmrRefreshHash(\n workStore: WorkStore,\n workUnitStore: WorkUnitStore\n): string | undefined {\n if (workStore.dev) {\n switch (workUnitStore.type) {\n case 'cache':\n case 'private-cache':\n case 'prerender':\n case 'prerender-runtime':\n return workUnitStore.hmrRefreshHash\n case 'request':\n return workUnitStore.cookies.get(NEXT_HMR_REFRESH_HASH_COOKIE)?.value\n case 'prerender-client':\n case 'prerender-ppr':\n case 'prerender-legacy':\n case 'unstable-cache':\n break\n default:\n workUnitStore satisfies never\n }\n }\n\n return undefined\n}\n\nexport function isHmrRefresh(\n workStore: WorkStore,\n workUnitStore: WorkUnitStore\n): boolean {\n if (workStore.dev) {\n switch (workUnitStore.type) {\n case 'cache':\n case 'private-cache':\n case 'request':\n return workUnitStore.isHmrRefresh ?? false\n case 'prerender':\n case 'prerender-client':\n case 'prerender-runtime':\n case 'prerender-ppr':\n case 'prerender-legacy':\n case 'unstable-cache':\n break\n default:\n workUnitStore satisfies never\n }\n }\n\n return false\n}\n\nexport function getServerComponentsHmrCache(\n workStore: WorkStore,\n workUnitStore: WorkUnitStore\n): ServerComponentsHmrCache | undefined {\n if (workStore.dev) {\n switch (workUnitStore.type) {\n case 'cache':\n case 'private-cache':\n case 'request':\n return workUnitStore.serverComponentsHmrCache\n case 'prerender':\n case 'prerender-client':\n case 'prerender-runtime':\n case 'prerender-ppr':\n case 'prerender-legacy':\n case 'unstable-cache':\n break\n default:\n workUnitStore satisfies never\n }\n }\n\n return undefined\n}\n\n/**\n * Returns a draft mode provider only if draft mode is enabled.\n */\nexport function getDraftModeProviderForCacheScope(\n workStore: WorkStore,\n workUnitStore: WorkUnitStore\n): DraftModeProvider | undefined {\n if (workStore.isDraftMode) {\n switch (workUnitStore.type) {\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n case 'prerender-runtime':\n case 'request':\n return workUnitStore.draftMode\n case 'prerender':\n case 'prerender-client':\n case 'prerender-ppr':\n case 'prerender-legacy':\n break\n default:\n workUnitStore satisfies never\n }\n }\n\n return undefined\n}\n\nexport function getCacheSignal(\n workUnitStore: WorkUnitStore\n): CacheSignal | null {\n switch (workUnitStore.type) {\n case 'prerender':\n case 'prerender-client':\n case 'prerender-runtime':\n return workUnitStore.cacheSignal\n case 'request': {\n // In dev, we might fill caches even during a dynamic request.\n if (workUnitStore.cacheSignal) {\n return workUnitStore.cacheSignal\n }\n // fallthrough\n }\n case 'prerender-ppr':\n case 'prerender-legacy':\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n return null\n default:\n return workUnitStore satisfies never\n }\n}\n\nexport function getRuntimeStagePromise(\n workUnitStore: WorkUnitStore\n): Promise<void> | null {\n switch (workUnitStore.type) {\n case 'prerender-runtime':\n case 'private-cache':\n return workUnitStore.runtimeStagePromise\n case 'prerender':\n case 'prerender-client':\n case 'prerender-ppr':\n case 'prerender-legacy':\n case 'request':\n case 'cache':\n case 'unstable-cache':\n return null\n default:\n return workUnitStore satisfies never\n }\n}\n"],"names":["getCacheSignal","getDraftModeProviderForCacheScope","getHmrRefreshHash","getPrerenderResumeDataCache","getRenderResumeDataCache","getRuntimeStagePromise","getServerComponentsHmrCache","isHmrRefresh","throwForMissingRequestStore","throwInvariantForMissingStore","workUnitAsyncStorage","workUnitAsyncStorageInstance","callingExpression","Error","InvariantError","workUnitStore","type","prerenderResumeDataCache","renderResumeDataCache","workStore","dev","hmrRefreshHash","cookies","get","NEXT_HMR_REFRESH_HASH_COOKIE","value","undefined","serverComponentsHmrCache","isDraftMode","draftMode","cacheSignal","runtimeStagePromise"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;IAggBgBA,cAAc,EAAA;eAAdA;;IAzBAC,iCAAiC,EAAA;eAAjCA;;IA/EAC,iBAAiB,EAAA;eAAjBA;;IAzDAC,2BAA2B,EAAA;eAA3BA;;IA6BAC,wBAAwB,EAAA;eAAxBA;;IA8JAC,sBAAsB,EAAA;eAAtBA;;IA/EAC,2BAA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AACT;AAEO,SAAS1B,eACde,aAA4B;IAE5B,OAAQA,cAAcC,IAAI;QACxB,KAAK;QACL,KAAK;QACL,KAAK;YACH,OAAOD,cAAce,WAAW;QAClC,KAAK;YAAW;gBACd,8DAA8D;gBAC9D,IAAIf,cAAce,WAAW,EAAE;oBAC7B,OAAOf,cAAce,WAAW;gBAClC;YACA,cAAc;YAChB;QACA,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;YACH,OAAO;QACT;YACE,OAAOf;IACX;AACF;AAEO,SAASV,uBACdU,aAA4B;IAE5B,OAAQA,cAAcC,IAAI;QACxB,KAAK;QACL,KAAK;YACH,OAAOD,cAAcgB,mBAAmB;QAC1C,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;YACH,OAAO;QACT;YACE,OAAOhB;IACX;AACF","ignoreList":[0]}}, - {"offset": {"line": 3924, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/server/app-render/work-async-storage-instance.ts"],"sourcesContent":["import type { WorkAsyncStorage } from './work-async-storage.external'\nimport { createAsyncLocalStorage } from './async-local-storage'\n\nexport const workAsyncStorageInstance: WorkAsyncStorage =\n createAsyncLocalStorage()\n"],"names":["workAsyncStorageInstance","createAsyncLocalStorage"],"mappings":";;;+BAGaA,4BAAAA;;;eAAAA;;;mCAF2B;AAEjC,MAAMA,2BACXC,CAAAA,GAAAA,mBAAAA,uBAAuB","ignoreList":[0]}}, - {"offset": {"line": 3939, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/server/app-render/work-async-storage.external.ts"],"sourcesContent":["import type { AsyncLocalStorage } from 'async_hooks'\nimport type { IncrementalCache } from '../lib/incremental-cache'\nimport type { FetchMetrics } from '../base-http'\nimport type { DeepReadonly } from '../../shared/lib/deep-readonly'\nimport type { AppSegmentConfig } from '../../build/segment-config/app/app-segment-config'\nimport type { AfterContext } from '../after/after-context'\nimport type { CacheLife } from '../use-cache/cache-life'\n\n// Share the instance module in the next-shared layer\nimport { workAsyncStorageInstance } from './work-async-storage-instance' with { 'turbopack-transition': 'next-shared' }\nimport type { LazyResult } from '../lib/lazy-result'\nimport type { DigestedError } from './create-error-handler'\nimport type { ActionRevalidationKind } from '../../shared/lib/action-revalidation-kind'\n\nexport interface WorkStore {\n readonly isStaticGeneration: boolean\n\n /**\n * The page that is being rendered. This relates to the path to the page file.\n */\n readonly page: string\n\n /**\n * The route that is being rendered. This is the page property without the\n * trailing `/page` or `/route` suffix.\n */\n readonly route: string\n\n readonly incrementalCache?: IncrementalCache\n readonly cacheLifeProfiles?: { [profile: string]: CacheLife }\n\n readonly isOnDemandRevalidate?: boolean\n readonly isBuildTimePrerendering?: boolean\n\n /**\n * This is true when:\n * - source maps are generated\n * - source maps are applied\n * - minification is disabled\n */\n readonly hasReadableErrorStacks?: boolean\n\n forceDynamic?: boolean\n fetchCache?: AppSegmentConfig['fetchCache']\n\n forceStatic?: boolean\n dynamicShouldError?: boolean\n pendingRevalidates?: Record<string, Promise<any>>\n pendingRevalidateWrites?: Array<Promise<void>> // This is like pendingRevalidates but isn't used for deduping.\n readonly afterContext: AfterContext\n\n dynamicUsageDescription?: string\n dynamicUsageStack?: string\n\n /**\n * Invalid dynamic usage errors might be caught in userland. We attach them to\n * the work store to ensure we can still fail the build, or show en error in\n * dev mode.\n */\n // TODO: Collect an array of errors, and throw as AggregateError when\n // `serializeError` and the Dev Overlay support it.\n invalidDynamicUsageError?: Error\n\n nextFetchId?: number\n pathWasRevalidated?: ActionRevalidationKind\n\n /**\n * Tags that were revalidated during the current request. They need to be sent\n * to cache handlers to propagate their revalidation.\n */\n pendingRevalidatedTags?: Array<{\n tag: string\n profile?: string | { stale?: number; revalidate?: number; expire?: number }\n }>\n\n /**\n * Tags that were previously revalidated (e.g. by a redirecting server action)\n * and have already been sent to cache handlers. Retrieved cache entries that\n * include any of these tags must be discarded.\n */\n readonly previouslyRevalidatedTags: readonly string[]\n\n /**\n * This map contains lazy results so that we can evaluate them when the first\n * cache entry is read. It allows us to skip refreshing tags if no caches are\n * read at all.\n */\n readonly refreshTagsByCacheKind: Map<string, LazyResult<void>>\n\n fetchMetrics?: FetchMetrics\n shouldTrackFetchMetrics: boolean\n\n isDraftMode?: boolean\n isUnstableNoStore?: boolean\n isPrefetchRequest?: boolean\n\n buildId: string\n\n readonly reactLoadableManifest?: DeepReadonly<\n Record<string, { files: string[] }>\n >\n readonly assetPrefix?: string\n readonly nonce?: string\n\n cacheComponentsEnabled: boolean\n dev: boolean\n\n /**\n * Run the given function inside a clean AsyncLocalStorage snapshot. This is\n * useful when generating cache entries, to ensure that the cache generation\n * cannot read anything from the context we're currently executing in, which\n * might include request-specific things like `cookies()` inside a\n * `React.cache()`.\n */\n runInCleanSnapshot: <R, TArgs extends any[]>(\n fn: (...args: TArgs) => R,\n ...args: TArgs\n ) => R\n\n reactServerErrorsByDigest: Map<string, DigestedError>\n}\n\nexport type WorkAsyncStorage = AsyncLocalStorage<WorkStore>\n\nexport { workAsyncStorageInstance as workAsyncStorage }\n"],"names":["workAsyncStorage","workAsyncStorageInstance"],"mappings":";;;+BA4HqCA,oBAAAA;;;eAA5BC,0BAAAA,wBAAwB;;;0CAnHQ","ignoreList":[0]}}, - {"offset": {"line": 3953, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/server/app-render/action-async-storage-instance.ts"],"sourcesContent":["import type { ActionAsyncStorage } from './action-async-storage.external'\nimport { createAsyncLocalStorage } from './async-local-storage'\n\nexport const actionAsyncStorageInstance: ActionAsyncStorage =\n createAsyncLocalStorage()\n"],"names":["actionAsyncStorageInstance","createAsyncLocalStorage"],"mappings":";;;+BAGaA,8BAAAA;;;eAAAA;;;mCAF2B;AAEjC,MAAMA,6BACXC,CAAAA,GAAAA,mBAAAA,uBAAuB","ignoreList":[0]}}, - {"offset": {"line": 3968, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/server/app-render/action-async-storage.external.ts"],"sourcesContent":["import type { AsyncLocalStorage } from 'async_hooks'\n\n// Share the instance module in the next-shared layer\nimport { actionAsyncStorageInstance } from './action-async-storage-instance' with { 'turbopack-transition': 'next-shared' }\nexport interface ActionStore {\n readonly isAction?: boolean\n readonly isAppRoute?: boolean\n}\n\nexport type ActionAsyncStorage = AsyncLocalStorage<ActionStore>\n\nexport { actionAsyncStorageInstance as actionAsyncStorage }\n"],"names":["actionAsyncStorage","actionAsyncStorageInstance"],"mappings":";;;+BAWuCA,sBAAAA;;;eAA9BC,4BAAAA,0BAA0B;;;4CARQ","ignoreList":[0]}}, - {"offset": {"line": 3982, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/server/dynamic-rendering-utils.ts"],"sourcesContent":["import type { NonStaticRenderStage } from './app-render/staged-rendering'\nimport type { RequestStore } from './app-render/work-unit-async-storage.external'\n\nexport function isHangingPromiseRejectionError(\n err: unknown\n): err is HangingPromiseRejectionError {\n if (typeof err !== 'object' || err === null || !('digest' in err)) {\n return false\n }\n\n return err.digest === HANGING_PROMISE_REJECTION\n}\n\nconst HANGING_PROMISE_REJECTION = 'HANGING_PROMISE_REJECTION'\n\nclass HangingPromiseRejectionError extends Error {\n public readonly digest = HANGING_PROMISE_REJECTION\n\n constructor(\n public readonly route: string,\n public readonly expression: string\n ) {\n super(\n `During prerendering, ${expression} rejects when the prerender is complete. Typically these errors are handled by React but if you move ${expression} to a different context by using \\`setTimeout\\`, \\`after\\`, or similar functions you may observe this error and you should handle it in that context. This occurred at route \"${route}\".`\n )\n }\n}\n\ntype AbortListeners = Array<(err: unknown) => void>\nconst abortListenersBySignal = new WeakMap<AbortSignal, AbortListeners>()\n\n/**\n * This function constructs a promise that will never resolve. This is primarily\n * useful for cacheComponents where we use promise resolution timing to determine which\n * parts of a render can be included in a prerender.\n *\n * @internal\n */\nexport function makeHangingPromise<T>(\n signal: AbortSignal,\n route: string,\n expression: string\n): Promise<T> {\n if (signal.aborted) {\n return Promise.reject(new HangingPromiseRejectionError(route, expression))\n } else {\n const hangingPromise = new Promise<T>((_, reject) => {\n const boundRejection = reject.bind(\n null,\n new HangingPromiseRejectionError(route, expression)\n )\n let currentListeners = abortListenersBySignal.get(signal)\n if (currentListeners) {\n currentListeners.push(boundRejection)\n } else {\n const listeners = [boundRejection]\n abortListenersBySignal.set(signal, listeners)\n signal.addEventListener(\n 'abort',\n () => {\n for (let i = 0; i < listeners.length; i++) {\n listeners[i]()\n }\n },\n { once: true }\n )\n }\n })\n // We are fine if no one actually awaits this promise. We shouldn't consider this an unhandled rejection so\n // we attach a noop catch handler here to suppress this warning. If you actually await somewhere or construct\n // your own promise out of it you'll need to ensure you handle the error when it rejects.\n hangingPromise.catch(ignoreReject)\n return hangingPromise\n }\n}\n\nfunction ignoreReject() {}\n\nexport function makeDevtoolsIOAwarePromise<T>(\n underlying: T,\n requestStore: RequestStore,\n stage: NonStaticRenderStage\n): Promise<T> {\n if (requestStore.stagedRendering) {\n // We resolve each stage in a timeout, so React DevTools will pick this up as IO.\n return requestStore.stagedRendering.delayUntilStage(\n stage,\n undefined,\n underlying\n )\n }\n // in React DevTools if we resolve in a setTimeout we will observe\n // the promise resolution as something that can suspend a boundary or root.\n return new Promise<T>((resolve) => {\n // Must use setTimeout to be considered IO React DevTools. setImmediate will not work.\n setTimeout(() => {\n resolve(underlying)\n }, 0)\n })\n}\n"],"names":["isHangingPromiseRejectionError","makeDevtoolsIOAwarePromise","makeHangingPromise","err","digest","HANGING_PROMISE_REJECTION","HangingPromiseRejectionError","Error","constructor","route","expression","abortListenersBySignal","WeakMap","signal","aborted","Promise","reject","hangingPromise","_","boundRejection","bind","currentListeners","get","push","listeners","set","addEventListener","i","length","once","catch","ignoreReject","underlying","requestStore","stage","stagedRendering","delayUntilStage","undefined","resolve","setTimeout"],"mappings":";;;;;;;;;;;;;;;IAG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;QAC3G,6GAA6G;QAC7G,yFAAyF;QACzFZ,eAAea,KAAK,CAACC;QACrB,OAAOd;IACT;AACF;AAEA,SAASc,gBAAgB;AAElB,SAAS9B,2BACd+B,UAAa,EACbC,YAA0B,EAC1BC,KAA2B;IAE3B,IAAID,aAAaE,eAAe,EAAE;QAChC,iFAAiF;QACjF,OAAOF,aAAaE,eAAe,CAACC,eAAe,CACjDF,OACAG,WACAL;IAEJ;IACA,kEAAkE;IAClE,2EAA2E;IAC3E,OAAO,IAAIjB,QAAW,CAACuB;QACrB,sFAAsF;QACtFC,WAAW;YACTD,QAAQN;QACV,GAAG;IACL;AACF","ignoreList":[0]}}, - {"offset": {"line": 4069, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/server/lib/router-utils/is-postpone.ts"],"sourcesContent":["const REACT_POSTPONE_TYPE: symbol = Symbol.for('react.postpone')\n\nexport function isPostpone(error: any): boolean {\n return (\n typeof error === 'object' &&\n error !== null &&\n error.$$typeof === REACT_POSTPONE_TYPE\n )\n}\n"],"names":["isPostpone","REACT_POSTPONE_TYPE","Symbol","for","error","$$typeof"],"mappings":";;;+BAEgBA,cAAAA;;;eAAAA;;;AAFhB,MAAMC,sBAA8BC,OAAOC,GAAG,CAAC;AAExC,SAASH,WAAWI,KAAU;IACnC,OACE,OAAOA,UAAU,YACjBA,UAAU,QACVA,MAAMC,QAAQ,KAAKJ;AAEvB","ignoreList":[0]}}, - {"offset": {"line": 4086, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/server/app-render/dynamic-rendering.ts"],"sourcesContent":["/**\n * The functions provided by this module are used to communicate certain properties\n * about the currently running code so that Next.js can make decisions on how to handle\n * the current execution in different rendering modes such as pre-rendering, resuming, and SSR.\n *\n * Today Next.js treats all code as potentially static. Certain APIs may only make sense when dynamically rendering.\n * Traditionally this meant deopting the entire render to dynamic however with PPR we can now deopt parts\n * of a React tree as dynamic while still keeping other parts static. There are really two different kinds of\n * Dynamic indications.\n *\n * The first is simply an intention to be dynamic. unstable_noStore is an example of this where\n * the currently executing code simply declares that the current scope is dynamic but if you use it\n * inside unstable_cache it can still be cached. This type of indication can be removed if we ever\n * make the default dynamic to begin with because the only way you would ever be static is inside\n * a cache scope which this indication does not affect.\n *\n * The second is an indication that a dynamic data source was read. This is a stronger form of dynamic\n * because it means that it is inappropriate to cache this at all. using a dynamic data source inside\n * unstable_cache should error. If you want to use some dynamic data inside unstable_cache you should\n * read that data outside the cache and pass it in as an argument to the cached function.\n */\n\nimport type { WorkStore } from '../app-render/work-async-storage.external'\nimport type {\n WorkUnitStore,\n PrerenderStoreLegacy,\n PrerenderStoreModern,\n PrerenderStoreModernRuntime,\n} from '../app-render/work-unit-async-storage.external'\n\n// Once postpone is in stable we should switch to importing the postpone export directly\nimport React from 'react'\n\nimport { DynamicServerError } from '../../client/components/hooks-server-context'\nimport { StaticGenBailoutError } from '../../client/components/static-generation-bailout'\nimport {\n getRuntimeStagePromise,\n throwForMissingRequestStore,\n workUnitAsyncStorage,\n} from './work-unit-async-storage.external'\nimport { workAsyncStorage } from '../app-render/work-async-storage.external'\nimport { makeHangingPromise } from '../dynamic-rendering-utils'\nimport {\n METADATA_BOUNDARY_NAME,\n VIEWPORT_BOUNDARY_NAME,\n OUTLET_BOUNDARY_NAME,\n ROOT_LAYOUT_BOUNDARY_NAME,\n} from '../../lib/framework/boundary-constants'\nimport { scheduleOnNextTick } from '../../lib/scheduler'\nimport { BailoutToCSRError } from '../../shared/lib/lazy-dynamic/bailout-to-csr'\nimport { InvariantError } from '../../shared/lib/invariant-error'\n\nconst hasPostpone = typeof React.unstable_postpone === 'function'\n\nexport type DynamicAccess = {\n /**\n * If debugging, this will contain the stack trace of where the dynamic access\n * occurred. This is used to provide more information to the user about why\n * their page is being rendered dynamically.\n */\n stack?: string\n\n /**\n * The expression that was accessed dynamically.\n */\n expression: string\n}\n\n// Stores dynamic reasons used during an RSC render.\nexport type DynamicTrackingState = {\n /**\n * When true, stack information will also be tracked during dynamic access.\n */\n readonly isDebugDynamicAccesses: boolean | undefined\n\n /**\n * The dynamic accesses that occurred during the render.\n */\n readonly dynamicAccesses: Array<DynamicAccess>\n\n syncDynamicErrorWithStack: null | Error\n}\n\n// Stores dynamic reasons used during an SSR render.\nexport type DynamicValidationState = {\n hasSuspenseAboveBody: boolean\n hasDynamicMetadata: boolean\n dynamicMetadata: null | Error\n hasDynamicViewport: boolean\n hasAllowedDynamic: boolean\n dynamicErrors: Array<Error>\n}\n\nexport function createDynamicTrackingState(\n isDebugDynamicAccesses: boolean | undefined\n): DynamicTrackingState {\n return {\n isDebugDynamicAccesses,\n dynamicAccesses: [],\n syncDynamicErrorWithStack: null,\n }\n}\n\nexport function createDynamicValidationState(): DynamicValidationState {\n return {\n hasSuspenseAboveBody: false,\n hasDynamicMetadata: false,\n dynamicMetadata: null,\n hasDynamicViewport: false,\n hasAllowedDynamic: false,\n dynamicErrors: [],\n }\n}\n\nexport function getFirstDynamicReason(\n trackingState: DynamicTrackingState\n): undefined | string {\n return trackingState.dynamicAccesses[0]?.expression\n}\n\n/**\n * This function communicates that the current scope should be treated as dynamic.\n *\n * In most cases this function is a no-op but if called during\n * a PPR prerender it will postpone the current sub-tree and calling\n * it during a normal prerender will cause the entire prerender to abort\n */\nexport function markCurrentScopeAsDynamic(\n store: WorkStore,\n workUnitStore: undefined | Exclude<WorkUnitStore, PrerenderStoreModern>,\n expression: string\n): void {\n if (workUnitStore) {\n switch (workUnitStore.type) {\n case 'cache':\n case 'unstable-cache':\n // Inside cache scopes, marking a scope as dynamic has no effect,\n // because the outer cache scope creates a cache boundary. This is\n // subtly different from reading a dynamic data source, which is\n // forbidden inside a cache scope.\n return\n case 'private-cache':\n // A private cache scope is already dynamic by definition.\n return\n case 'prerender-legacy':\n case 'prerender-ppr':\n case 'request':\n break\n default:\n workUnitStore satisfies never\n }\n }\n\n // If we're forcing dynamic rendering or we're forcing static rendering, we\n // don't need to do anything here because the entire page is already dynamic\n // or it's static and it should not throw or postpone here.\n if (store.forceDynamic || store.forceStatic) return\n\n if (store.dynamicShouldError) {\n throw new StaticGenBailoutError(\n `Route ${store.route} with \\`dynamic = \"error\"\\` couldn't be rendered statically because it used \\`${expression}\\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`\n )\n }\n\n if (workUnitStore) {\n switch (workUnitStore.type) {\n case 'prerender-ppr':\n return postponeWithTracking(\n store.route,\n expression,\n workUnitStore.dynamicTracking\n )\n case 'prerender-legacy':\n workUnitStore.revalidate = 0\n\n // We aren't prerendering, but we are generating a static page. We need\n // to bail out of static generation.\n const err = new DynamicServerError(\n `Route ${store.route} couldn't be rendered statically because it used ${expression}. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`\n )\n store.dynamicUsageDescription = expression\n store.dynamicUsageStack = err.stack\n\n throw err\n case 'request':\n if (process.env.NODE_ENV !== 'production') {\n workUnitStore.usedDynamic = true\n }\n break\n default:\n workUnitStore satisfies never\n }\n }\n}\n\n/**\n * This function is meant to be used when prerendering without cacheComponents or PPR.\n * When called during a build it will cause Next.js to consider the route as dynamic.\n *\n * @internal\n */\nexport function throwToInterruptStaticGeneration(\n expression: string,\n store: WorkStore,\n prerenderStore: PrerenderStoreLegacy\n): never {\n // We aren't prerendering but we are generating a static page. We need to bail out of static generation\n const err = new DynamicServerError(\n `Route ${store.route} couldn't be rendered statically because it used \\`${expression}\\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`\n )\n\n prerenderStore.revalidate = 0\n\n store.dynamicUsageDescription = expression\n store.dynamicUsageStack = err.stack\n\n throw err\n}\n\n/**\n * This function should be used to track whether something dynamic happened even when\n * we are in a dynamic render. This is useful for Dev where all renders are dynamic but\n * we still track whether dynamic APIs were accessed for helpful messaging\n *\n * @internal\n */\nexport function trackDynamicDataInDynamicRender(workUnitStore: WorkUnitStore) {\n switch (workUnitStore.type) {\n case 'cache':\n case 'unstable-cache':\n // Inside cache scopes, marking a scope as dynamic has no effect,\n // because the outer cache scope creates a cache boundary. This is\n // subtly different from reading a dynamic data source, which is\n // forbidden inside a cache scope.\n return\n case 'private-cache':\n // A private cache scope is already dynamic by definition.\n return\n case 'prerender':\n case 'prerender-runtime':\n case 'prerender-legacy':\n case 'prerender-ppr':\n case 'prerender-client':\n break\n case 'request':\n if (process.env.NODE_ENV !== 'production') {\n workUnitStore.usedDynamic = true\n }\n break\n default:\n workUnitStore satisfies never\n }\n}\n\nfunction abortOnSynchronousDynamicDataAccess(\n route: string,\n expression: string,\n prerenderStore: PrerenderStoreModern\n): void {\n const reason = `Route ${route} needs to bail out of prerendering at this point because it used ${expression}.`\n\n const error = createPrerenderInterruptedError(reason)\n\n prerenderStore.controller.abort(error)\n\n const dynamicTracking = prerenderStore.dynamicTracking\n if (dynamicTracking) {\n dynamicTracking.dynamicAccesses.push({\n // When we aren't debugging, we don't need to create another error for the\n // stack trace.\n stack: dynamicTracking.isDebugDynamicAccesses\n ? new Error().stack\n : undefined,\n expression,\n })\n }\n}\n\nexport function abortOnSynchronousPlatformIOAccess(\n route: string,\n expression: string,\n errorWithStack: Error,\n prerenderStore: PrerenderStoreModern\n): void {\n const dynamicTracking = prerenderStore.dynamicTracking\n abortOnSynchronousDynamicDataAccess(route, expression, prerenderStore)\n // It is important that we set this tracking value after aborting. Aborts are executed\n // synchronously except for the case where you abort during render itself. By setting this\n // value late we can use it to determine if any of the aborted tasks are the task that\n // called the sync IO expression in the first place.\n if (dynamicTracking) {\n if (dynamicTracking.syncDynamicErrorWithStack === null) {\n dynamicTracking.syncDynamicErrorWithStack = errorWithStack\n }\n }\n}\n\n/**\n * use this function when prerendering with cacheComponents. If we are doing a\n * prospective prerender we don't actually abort because we want to discover\n * all caches for the shell. If this is the actual prerender we do abort.\n *\n * This function accepts a prerenderStore but the caller should ensure we're\n * actually running in cacheComponents mode.\n *\n * @internal\n */\nexport function abortAndThrowOnSynchronousRequestDataAccess(\n route: string,\n expression: string,\n errorWithStack: Error,\n prerenderStore: PrerenderStoreModern\n): never {\n const prerenderSignal = prerenderStore.controller.signal\n if (prerenderSignal.aborted === false) {\n // TODO it would be better to move this aborted check into the callsite so we can avoid making\n // the error object when it isn't relevant to the aborting of the prerender however\n // since we need the throw semantics regardless of whether we abort it is easier to land\n // this way. See how this was handled with `abortOnSynchronousPlatformIOAccess` for a closer\n // to ideal implementation\n abortOnSynchronousDynamicDataAccess(route, expression, prerenderStore)\n // It is important that we set this tracking value after aborting. Aborts are executed\n // synchronously except for the case where you abort during render itself. By setting this\n // value late we can use it to determine if any of the aborted tasks are the task that\n // called the sync IO expression in the first place.\n const dynamicTracking = prerenderStore.dynamicTracking\n if (dynamicTracking) {\n if (dynamicTracking.syncDynamicErrorWithStack === null) {\n dynamicTracking.syncDynamicErrorWithStack = errorWithStack\n }\n }\n }\n throw createPrerenderInterruptedError(\n `Route ${route} needs to bail out of prerendering at this point because it used ${expression}.`\n )\n}\n\n/**\n * This component will call `React.postpone` that throws the postponed error.\n */\ntype PostponeProps = {\n reason: string\n route: string\n}\nexport function Postpone({ reason, route }: PostponeProps): never {\n const prerenderStore = workUnitAsyncStorage.getStore()\n const dynamicTracking =\n prerenderStore && prerenderStore.type === 'prerender-ppr'\n ? prerenderStore.dynamicTracking\n : null\n postponeWithTracking(route, reason, dynamicTracking)\n}\n\nexport function postponeWithTracking(\n route: string,\n expression: string,\n dynamicTracking: null | DynamicTrackingState\n): never {\n assertPostpone()\n if (dynamicTracking) {\n dynamicTracking.dynamicAccesses.push({\n // When we aren't debugging, we don't need to create another error for the\n // stack trace.\n stack: dynamicTracking.isDebugDynamicAccesses\n ? new Error().stack\n : undefined,\n expression,\n })\n }\n\n React.unstable_postpone(createPostponeReason(route, expression))\n}\n\nfunction createPostponeReason(route: string, expression: string) {\n return (\n `Route ${route} needs to bail out of prerendering at this point because it used ${expression}. ` +\n `React throws this special object to indicate where. It should not be caught by ` +\n `your own try/catch. Learn more: https://nextjs.org/docs/messages/ppr-caught-error`\n )\n}\n\nexport function isDynamicPostpone(err: unknown) {\n if (\n typeof err === 'object' &&\n err !== null &&\n typeof (err as any).message === 'string'\n ) {\n return isDynamicPostponeReason((err as any).message)\n }\n return false\n}\n\nfunction isDynamicPostponeReason(reason: string) {\n return (\n reason.includes(\n 'needs to bail out of prerendering at this point because it used'\n ) &&\n reason.includes(\n 'Learn more: https://nextjs.org/docs/messages/ppr-caught-error'\n )\n )\n}\n\nif (isDynamicPostponeReason(createPostponeReason('%%%', '^^^')) === false) {\n throw new Error(\n 'Invariant: isDynamicPostpone misidentified a postpone reason. This is a bug in Next.js'\n )\n}\n\nconst NEXT_PRERENDER_INTERRUPTED = 'NEXT_PRERENDER_INTERRUPTED'\n\nfunction createPrerenderInterruptedError(message: string): Error {\n const error = new Error(message)\n ;(error as any).digest = NEXT_PRERENDER_INTERRUPTED\n return error\n}\n\ntype DigestError = Error & {\n digest: string\n}\n\nexport function isPrerenderInterruptedError(\n error: unknown\n): error is DigestError {\n return (\n typeof error === 'object' &&\n error !== null &&\n (error as any).digest === NEXT_PRERENDER_INTERRUPTED &&\n 'name' in error &&\n 'message' in error &&\n error instanceof Error\n )\n}\n\nexport function accessedDynamicData(\n dynamicAccesses: Array<DynamicAccess>\n): boolean {\n return dynamicAccesses.length > 0\n}\n\nexport function consumeDynamicAccess(\n serverDynamic: DynamicTrackingState,\n clientDynamic: DynamicTrackingState\n): DynamicTrackingState['dynamicAccesses'] {\n // We mutate because we only call this once we are no longer writing\n // to the dynamicTrackingState and it's more efficient than creating a new\n // array.\n serverDynamic.dynamicAccesses.push(...clientDynamic.dynamicAccesses)\n return serverDynamic.dynamicAccesses\n}\n\nexport function formatDynamicAPIAccesses(\n dynamicAccesses: Array<DynamicAccess>\n): string[] {\n return dynamicAccesses\n .filter(\n (access): access is Required<DynamicAccess> =>\n typeof access.stack === 'string' && access.stack.length > 0\n )\n .map(({ expression, stack }) => {\n stack = stack\n .split('\\n')\n // Remove the \"Error: \" prefix from the first line of the stack trace as\n // well as the first 4 lines of the stack trace which is the distance\n // from the user code and the `new Error().stack` call.\n .slice(4)\n .filter((line) => {\n // Exclude Next.js internals from the stack trace.\n if (line.includes('node_modules/next/')) {\n return false\n }\n\n // Exclude anonymous functions from the stack trace.\n if (line.includes(' (<anonymous>)')) {\n return false\n }\n\n // Exclude Node.js internals from the stack trace.\n if (line.includes(' (node:')) {\n return false\n }\n\n return true\n })\n .join('\\n')\n return `Dynamic API Usage Debug - ${expression}:\\n${stack}`\n })\n}\n\nfunction assertPostpone() {\n if (!hasPostpone) {\n throw new Error(\n `Invariant: React.unstable_postpone is not defined. This suggests the wrong version of React was loaded. This is a bug in Next.js`\n )\n }\n}\n\n/**\n * This is a bit of a hack to allow us to abort a render using a Postpone instance instead of an Error which changes React's\n * abort semantics slightly.\n */\nexport function createRenderInBrowserAbortSignal(): AbortSignal {\n const controller = new AbortController()\n controller.abort(new BailoutToCSRError('Render in Browser'))\n return controller.signal\n}\n\n/**\n * In a prerender, we may end up with hanging Promises as inputs due them\n * stalling on connection() or because they're loading dynamic data. In that\n * case we need to abort the encoding of arguments since they'll never complete.\n */\nexport function createHangingInputAbortSignal(\n workUnitStore: WorkUnitStore\n): AbortSignal | undefined {\n switch (workUnitStore.type) {\n case 'prerender':\n case 'prerender-runtime':\n const controller = new AbortController()\n\n if (workUnitStore.cacheSignal) {\n // If we have a cacheSignal it means we're in a prospective render. If\n // the input we're waiting on is coming from another cache, we do want\n // to wait for it so that we can resolve this cache entry too.\n workUnitStore.cacheSignal.inputReady().then(() => {\n controller.abort()\n })\n } else {\n // Otherwise we're in the final render and we should already have all\n // our caches filled.\n // If the prerender uses stages, we have wait until the runtime stage,\n // at which point all runtime inputs will be resolved.\n // (otherwise, a runtime prerender might consider `cookies()` hanging\n // even though they'd resolve in the next task.)\n //\n // We might still be waiting on some microtasks so we\n // wait one tick before giving up. When we give up, we still want to\n // render the content of this cache as deeply as we can so that we can\n // suspend as deeply as possible in the tree or not at all if we don't\n // end up waiting for the input.\n const runtimeStagePromise = getRuntimeStagePromise(workUnitStore)\n if (runtimeStagePromise) {\n runtimeStagePromise.then(() =>\n scheduleOnNextTick(() => controller.abort())\n )\n } else {\n scheduleOnNextTick(() => controller.abort())\n }\n }\n\n return controller.signal\n case 'prerender-client':\n case 'prerender-ppr':\n case 'prerender-legacy':\n case 'request':\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n return undefined\n default:\n workUnitStore satisfies never\n }\n}\n\nexport function annotateDynamicAccess(\n expression: string,\n prerenderStore: PrerenderStoreModern\n) {\n const dynamicTracking = prerenderStore.dynamicTracking\n if (dynamicTracking) {\n dynamicTracking.dynamicAccesses.push({\n stack: dynamicTracking.isDebugDynamicAccesses\n ? new Error().stack\n : undefined,\n expression,\n })\n }\n}\n\nexport function useDynamicRouteParams(expression: string) {\n const workStore = workAsyncStorage.getStore()\n const workUnitStore = workUnitAsyncStorage.getStore()\n if (workStore && workUnitStore) {\n switch (workUnitStore.type) {\n case 'prerender-client':\n case 'prerender': {\n const fallbackParams = workUnitStore.fallbackRouteParams\n\n if (fallbackParams && fallbackParams.size > 0) {\n // We are in a prerender with cacheComponents semantics. We are going to\n // hang here and never resolve. This will cause the currently\n // rendering component to effectively be a dynamic hole.\n React.use(\n makeHangingPromise(\n workUnitStore.renderSignal,\n workStore.route,\n expression\n )\n )\n }\n break\n }\n case 'prerender-ppr': {\n const fallbackParams = workUnitStore.fallbackRouteParams\n if (fallbackParams && fallbackParams.size > 0) {\n return postponeWithTracking(\n workStore.route,\n expression,\n workUnitStore.dynamicTracking\n )\n }\n break\n }\n case 'prerender-runtime':\n throw new InvariantError(\n `\\`${expression}\\` was called during a runtime prerender. Next.js should be preventing ${expression} from being included in server components statically, but did not in this case.`\n )\n case 'cache':\n case 'private-cache':\n throw new InvariantError(\n `\\`${expression}\\` was called inside a cache scope. Next.js should be preventing ${expression} from being included in server components statically, but did not in this case.`\n )\n case 'prerender-legacy':\n case 'request':\n case 'unstable-cache':\n break\n default:\n workUnitStore satisfies never\n }\n }\n}\n\nexport function useDynamicSearchParams(expression: string) {\n const workStore = workAsyncStorage.getStore()\n const workUnitStore = workUnitAsyncStorage.getStore()\n\n if (!workStore) {\n // We assume pages router context and just return\n return\n }\n\n if (!workUnitStore) {\n throwForMissingRequestStore(expression)\n }\n\n switch (workUnitStore.type) {\n case 'prerender-client': {\n React.use(\n makeHangingPromise(\n workUnitStore.renderSignal,\n workStore.route,\n expression\n )\n )\n break\n }\n case 'prerender-legacy':\n case 'prerender-ppr': {\n if (workStore.forceStatic) {\n return\n }\n throw new BailoutToCSRError(expression)\n }\n case 'prerender':\n case 'prerender-runtime':\n throw new InvariantError(\n `\\`${expression}\\` was called from a Server Component. Next.js should be preventing ${expression} from being included in server components statically, but did not in this case.`\n )\n case 'cache':\n case 'unstable-cache':\n case 'private-cache':\n throw new InvariantError(\n `\\`${expression}\\` was called inside a cache scope. Next.js should be preventing ${expression} from being included in server components statically, but did not in this case.`\n )\n case 'request':\n return\n default:\n workUnitStore satisfies never\n }\n}\n\nconst hasSuspenseRegex = /\\n\\s+at Suspense \\(<anonymous>\\)/\n\n// Common implicit body tags that React will treat as body when placed directly in html\nconst bodyAndImplicitTags =\n 'body|div|main|section|article|aside|header|footer|nav|form|p|span|h1|h2|h3|h4|h5|h6'\n\n// Detects when RootLayoutBoundary (our framework marker component) appears\n// after Suspense in the component stack, indicating the root layout is wrapped\n// within a Suspense boundary. Ensures no body/html/implicit-body components are in between.\n//\n// Example matches:\n// at Suspense (<anonymous>)\n// at __next_root_layout_boundary__ (<anonymous>)\n//\n// Or with other components in between (but not body/html/implicit-body):\n// at Suspense (<anonymous>)\n// at SomeComponent (<anonymous>)\n// at __next_root_layout_boundary__ (<anonymous>)\nconst hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex = new RegExp(\n `\\\\n\\\\s+at Suspense \\\\(<anonymous>\\\\)(?:(?!\\\\n\\\\s+at (?:${bodyAndImplicitTags}) \\\\(<anonymous>\\\\))[\\\\s\\\\S])*?\\\\n\\\\s+at ${ROOT_LAYOUT_BOUNDARY_NAME} \\\\([^\\\\n]*\\\\)`\n)\n\nconst hasMetadataRegex = new RegExp(\n `\\\\n\\\\s+at ${METADATA_BOUNDARY_NAME}[\\\\n\\\\s]`\n)\nconst hasViewportRegex = new RegExp(\n `\\\\n\\\\s+at ${VIEWPORT_BOUNDARY_NAME}[\\\\n\\\\s]`\n)\nconst hasOutletRegex = new RegExp(`\\\\n\\\\s+at ${OUTLET_BOUNDARY_NAME}[\\\\n\\\\s]`)\n\nexport function trackAllowedDynamicAccess(\n workStore: WorkStore,\n componentStack: string,\n dynamicValidation: DynamicValidationState,\n clientDynamic: DynamicTrackingState\n) {\n if (hasOutletRegex.test(componentStack)) {\n // We don't need to track that this is dynamic. It is only so when something else is also dynamic.\n return\n } else if (hasMetadataRegex.test(componentStack)) {\n dynamicValidation.hasDynamicMetadata = true\n return\n } else if (hasViewportRegex.test(componentStack)) {\n dynamicValidation.hasDynamicViewport = true\n return\n } else if (\n hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex.test(\n componentStack\n )\n ) {\n // For Suspense within body, the prelude wouldn't be empty so it wouldn't violate the empty static shells rule.\n // But if you have Suspense above body, the prelude is empty but we allow that because having Suspense\n // is an explicit signal from the user that they acknowledge the empty shell and want dynamic rendering.\n dynamicValidation.hasAllowedDynamic = true\n dynamicValidation.hasSuspenseAboveBody = true\n return\n } else if (hasSuspenseRegex.test(componentStack)) {\n // this error had a Suspense boundary above it so we don't need to report it as a source\n // of disallowed\n dynamicValidation.hasAllowedDynamic = true\n return\n } else if (clientDynamic.syncDynamicErrorWithStack) {\n // This task was the task that called the sync error.\n dynamicValidation.dynamicErrors.push(\n clientDynamic.syncDynamicErrorWithStack\n )\n return\n } else {\n const message =\n `Route \"${workStore.route}\": Uncached data was accessed outside of ` +\n '<Suspense>. This delays the entire page from rendering, resulting in a ' +\n 'slow user experience. Learn more: ' +\n 'https://nextjs.org/docs/messages/blocking-route'\n const error = createErrorWithComponentOrOwnerStack(message, componentStack)\n dynamicValidation.dynamicErrors.push(error)\n return\n }\n}\n\nexport function trackDynamicHoleInRuntimeShell(\n workStore: WorkStore,\n componentStack: string,\n dynamicValidation: DynamicValidationState,\n clientDynamic: DynamicTrackingState\n) {\n if (hasOutletRegex.test(componentStack)) {\n // We don't need to track that this is dynamic. It is only so when something else is also dynamic.\n return\n } else if (hasMetadataRegex.test(componentStack)) {\n const message = `Route \"${workStore.route}\": Uncached data or \\`connection()\\` was accessed inside \\`generateMetadata\\`. Except for this instance, the page would have been entirely prerenderable which may have been the intended behavior. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`\n const error = createErrorWithComponentOrOwnerStack(message, componentStack)\n dynamicValidation.dynamicMetadata = error\n return\n } else if (hasViewportRegex.test(componentStack)) {\n const message = `Route \"${workStore.route}\": Uncached data or \\`connection()\\` was accessed inside \\`generateViewport\\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`\n const error = createErrorWithComponentOrOwnerStack(message, componentStack)\n dynamicValidation.dynamicErrors.push(error)\n return\n } else if (\n hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex.test(\n componentStack\n )\n ) {\n // For Suspense within body, the prelude wouldn't be empty so it wouldn't violate the empty static shells rule.\n // But if you have Suspense above body, the prelude is empty but we allow that because having Suspense\n // is an explicit signal from the user that they acknowledge the empty shell and want dynamic rendering.\n dynamicValidation.hasAllowedDynamic = true\n dynamicValidation.hasSuspenseAboveBody = true\n return\n } else if (hasSuspenseRegex.test(componentStack)) {\n // this error had a Suspense boundary above it so we don't need to report it as a source\n // of disallowed\n dynamicValidation.hasAllowedDynamic = true\n return\n } else if (clientDynamic.syncDynamicErrorWithStack) {\n // This task was the task that called the sync error.\n dynamicValidation.dynamicErrors.push(\n clientDynamic.syncDynamicErrorWithStack\n )\n return\n } else {\n const message = `Route \"${workStore.route}\": Uncached data or \\`connection()\\` was accessed outside of \\`<Suspense>\\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`\n const error = createErrorWithComponentOrOwnerStack(message, componentStack)\n dynamicValidation.dynamicErrors.push(error)\n return\n }\n}\n\nexport function trackDynamicHoleInStaticShell(\n workStore: WorkStore,\n componentStack: string,\n dynamicValidation: DynamicValidationState,\n clientDynamic: DynamicTrackingState\n) {\n if (hasOutletRegex.test(componentStack)) {\n // We don't need to track that this is dynamic. It is only so when something else is also dynamic.\n return\n } else if (hasMetadataRegex.test(componentStack)) {\n const message = `Route \"${workStore.route}\": Runtime data such as \\`cookies()\\`, \\`headers()\\`, \\`params\\`, or \\`searchParams\\` was accessed inside \\`generateMetadata\\` or you have file-based metadata such as icons that depend on dynamic params segments. Except for this instance, the page would have been entirely prerenderable which may have been the intended behavior. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`\n const error = createErrorWithComponentOrOwnerStack(message, componentStack)\n dynamicValidation.dynamicMetadata = error\n return\n } else if (hasViewportRegex.test(componentStack)) {\n const message = `Route \"${workStore.route}\": Runtime data such as \\`cookies()\\`, \\`headers()\\`, \\`params\\`, or \\`searchParams\\` was accessed inside \\`generateViewport\\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`\n const error = createErrorWithComponentOrOwnerStack(message, componentStack)\n dynamicValidation.dynamicErrors.push(error)\n return\n } else if (\n hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex.test(\n componentStack\n )\n ) {\n // For Suspense within body, the prelude wouldn't be empty so it wouldn't violate the empty static shells rule.\n // But if you have Suspense above body, the prelude is empty but we allow that because having Suspense\n // is an explicit signal from the user that they acknowledge the empty shell and want dynamic rendering.\n dynamicValidation.hasAllowedDynamic = true\n dynamicValidation.hasSuspenseAboveBody = true\n return\n } else if (hasSuspenseRegex.test(componentStack)) {\n // this error had a Suspense boundary above it so we don't need to report it as a source\n // of disallowed\n dynamicValidation.hasAllowedDynamic = true\n return\n } else if (clientDynamic.syncDynamicErrorWithStack) {\n // This task was the task that called the sync error.\n dynamicValidation.dynamicErrors.push(\n clientDynamic.syncDynamicErrorWithStack\n )\n return\n } else {\n const message = `Route \"${workStore.route}\": Runtime data such as \\`cookies()\\`, \\`headers()\\`, \\`params\\`, or \\`searchParams\\` was accessed outside of \\`<Suspense>\\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`\n const error = createErrorWithComponentOrOwnerStack(message, componentStack)\n dynamicValidation.dynamicErrors.push(error)\n return\n }\n}\n\n/**\n * In dev mode, we prefer using the owner stack, otherwise the provided\n * component stack is used.\n */\nfunction createErrorWithComponentOrOwnerStack(\n message: string,\n componentStack: string\n) {\n const ownerStack =\n process.env.NODE_ENV !== 'production' && React.captureOwnerStack\n ? React.captureOwnerStack()\n : null\n\n const error = new Error(message)\n // TODO go back to owner stack here if available. This is temporarily using componentStack to get the right\n //\n error.stack = error.name + ': ' + message + (ownerStack || componentStack)\n return error\n}\n\nexport enum PreludeState {\n Full = 0,\n Empty = 1,\n Errored = 2,\n}\n\nexport function logDisallowedDynamicError(\n workStore: WorkStore,\n error: Error\n): void {\n console.error(error)\n\n if (!workStore.dev) {\n if (workStore.hasReadableErrorStacks) {\n console.error(\n `To get a more detailed stack trace and pinpoint the issue, start the app in development mode by running \\`next dev\\`, then open \"${workStore.route}\" in your browser to investigate the error.`\n )\n } else {\n console.error(`To get a more detailed stack trace and pinpoint the issue, try one of the following:\n - Start the app in development mode by running \\`next dev\\`, then open \"${workStore.route}\" in your browser to investigate the error.\n - Rerun the production build with \\`next build --debug-prerender\\` to generate better stack traces.`)\n }\n }\n}\n\nexport function throwIfDisallowedDynamic(\n workStore: WorkStore,\n prelude: PreludeState,\n dynamicValidation: DynamicValidationState,\n serverDynamic: DynamicTrackingState\n): void {\n if (serverDynamic.syncDynamicErrorWithStack) {\n logDisallowedDynamicError(\n workStore,\n serverDynamic.syncDynamicErrorWithStack\n )\n throw new StaticGenBailoutError()\n }\n\n if (prelude !== PreludeState.Full) {\n if (dynamicValidation.hasSuspenseAboveBody) {\n // This route has opted into allowing fully dynamic rendering\n // by including a Suspense boundary above the body. In this case\n // a lack of a shell is not considered disallowed so we simply return\n return\n }\n\n // We didn't have any sync bailouts but there may be user code which\n // blocked the root. We would have captured these during the prerender\n // and can log them here and then terminate the build/validating render\n const dynamicErrors = dynamicValidation.dynamicErrors\n if (dynamicErrors.length > 0) {\n for (let i = 0; i < dynamicErrors.length; i++) {\n logDisallowedDynamicError(workStore, dynamicErrors[i])\n }\n\n throw new StaticGenBailoutError()\n }\n\n // If we got this far then the only other thing that could be blocking\n // the root is dynamic Viewport. If this is dynamic then\n // you need to opt into that by adding a Suspense boundary above the body\n // to indicate your are ok with fully dynamic rendering.\n if (dynamicValidation.hasDynamicViewport) {\n console.error(\n `Route \"${workStore.route}\" has a \\`generateViewport\\` that depends on Request data (\\`cookies()\\`, etc...) or uncached external data (\\`fetch(...)\\`, etc...) without explicitly allowing fully dynamic rendering. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`\n )\n throw new StaticGenBailoutError()\n }\n\n if (prelude === PreludeState.Empty) {\n // If we ever get this far then we messed up the tracking of invalid dynamic.\n // We still adhere to the constraint that you must produce a shell but invite the\n // user to report this as a bug in Next.js.\n console.error(\n `Route \"${workStore.route}\" did not produce a static shell and Next.js was unable to determine a reason. This is a bug in Next.js.`\n )\n throw new StaticGenBailoutError()\n }\n } else {\n if (\n dynamicValidation.hasAllowedDynamic === false &&\n dynamicValidation.hasDynamicMetadata\n ) {\n console.error(\n `Route \"${workStore.route}\" has a \\`generateMetadata\\` that depends on Request data (\\`cookies()\\`, etc...) or uncached external data (\\`fetch(...)\\`, etc...) when the rest of the route does not. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`\n )\n throw new StaticGenBailoutError()\n }\n }\n}\n\nexport function getStaticShellDisallowedDynamicReasons(\n workStore: WorkStore,\n prelude: PreludeState,\n dynamicValidation: DynamicValidationState\n): Array<Error> {\n if (dynamicValidation.hasSuspenseAboveBody) {\n // This route has opted into allowing fully dynamic rendering\n // by including a Suspense boundary above the body. In this case\n // a lack of a shell is not considered disallowed so we simply return\n return []\n }\n\n if (prelude !== PreludeState.Full) {\n // We didn't have any sync bailouts but there may be user code which\n // blocked the root. We would have captured these during the prerender\n // and can log them here and then terminate the build/validating render\n const dynamicErrors = dynamicValidation.dynamicErrors\n if (dynamicErrors.length > 0) {\n return dynamicErrors\n }\n\n if (prelude === PreludeState.Empty) {\n // If we ever get this far then we messed up the tracking of invalid dynamic.\n // We still adhere to the constraint that you must produce a shell but invite the\n // user to report this as a bug in Next.js.\n return [\n new InvariantError(\n `Route \"${workStore.route}\" did not produce a static shell and Next.js was unable to determine a reason.`\n ),\n ]\n }\n } else {\n // We have a prelude but we might still have dynamic metadata without any other dynamic access\n if (\n dynamicValidation.hasAllowedDynamic === false &&\n dynamicValidation.dynamicErrors.length === 0 &&\n dynamicValidation.dynamicMetadata\n ) {\n return [dynamicValidation.dynamicMetadata]\n }\n }\n // We had a non-empty prelude and there are no dynamic holes\n return []\n}\n\nexport function delayUntilRuntimeStage<T>(\n prerenderStore: PrerenderStoreModernRuntime,\n result: Promise<T>\n): Promise<T> {\n if (prerenderStore.runtimeStagePromise) {\n return prerenderStore.runtimeStagePromise.then(() => result)\n }\n return result\n}\n"],"names":["Postpone","PreludeState","abortAndThrowOnSynchronousRequestDataAccess","abortOnSynchronousPlatformIOAccess","accessedDynamicData","annotateDynamicAccess","consumeDynamicAccess","createDynamicTrackingState","createDynamicValidationState","createHangingInputAbortSignal","createRenderInBrowserAbortSignal","delayUntilRuntimeStage","formatDynamicAPIAccesses","getFirstDynamicReason","getStaticShellDisallowedDynamicReasons","isDynamicPostpone","isPrerenderInterruptedError","logDisallowedDynamicError","markCurrentScopeAsDynamic","postponeWithTracking","throwIfDisallowedDynamic","throwToInterruptStaticGeneration","trackAllowedDynamicAccess","trackDynamicDataInDynamicRender","trackDynamicHoleInRuntimeShell","trackDynamicHoleInStaticShell","useDynamicRouteParams","useDynamicSearchParams","hasPostpone","React","unstable_postpone","isDebugDynamicAccesses","dynamicAccesses","syncDynamicErrorWithStack","hasSuspenseAboveBody","hasDynamicMetadata","dynamicMetadata","hasDynamicViewport","hasAllowedDynamic","dynamicErrors","trackingState","expression","store","workUnitStore","type","forceDynamic","forceStatic","dynamicShouldError","StaticGenBailoutError","route","dynamicTracking","revalidate","err","DynamicServerError","dynamicUsageDescription","dynamicUsageStack","stack","process","env","NODE_ENV","usedDynamic","prerenderStore","abortOnSynchronousDynamicDataAccess","reason","error","createPrerenderInterruptedError","controller","abort","push","Error","undefined","errorWithStack","prerenderSignal","signal","aborted","workUnitAsyncStorage","getStore","assertPostpone","createPostponeReason","message","isDynamicPostponeReason","includes","NEXT_PRERENDER_INTERRUPTED","digest","length","serverDynamic","clientDynamic","filter","access","map","split","slice","line","join","AbortController","BailoutToCSRError","cacheSignal","inputReady","then","runtimeStagePromise","getRuntimeStagePromise","scheduleOnNextTick","workStore","workAsyncStorage","fallbackParams","fallbackRouteParams","size","use","makeHangingPromise","renderSignal","InvariantError","throwForMissingRequestStore","hasSuspenseRegex","bodyAndImplicitTags","hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex","RegExp","ROOT_LAYOUT_BOUNDARY_NAME","hasMetadataRegex","METADATA_BOUNDARY_NAME","hasViewportRegex","VIEWPORT_BOUNDARY_NAME","hasOutletRegex","OUTLET_BOUNDARY_NAME","componentStack","dynamicValidation","test","createErrorWithComponentOrOwnerStack","ownerStack","captureOwnerStack","name","console","dev","hasReadableErrorStacks","prelude","i","result"],"mappings":"AAyLYyD,QAAQC,GAAG,CAACC,QAAQ,KAAK;AAzLrC;;;;;;;;;;;;;;;;;;;;CAoBC,GAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAoUe3D,QAAQ,EAAA;eAARA;;IA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BtF,iBAAiB,KAAK,SACxCsF,kBAAkBrF,aAAa,CAAC6C,MAAM,KAAK,KAC3CwC,kBAAkBxF,eAAe,EACjC;YACA,OAAO;gBAACwF,kBAAkBxF,eAAe;aAAC;QAC5C;IACF;IACA,4DAA4D;IAC5D,OAAO,EAAE;AACX;AAEO,SAASzB,uBACdkD,cAA2C,EAC3C0E,MAAkB;IAElB,IAAI1E,eAAesC,mBAAmB,EAAE;QACtC,OAAOtC,eAAesC,mBAAmB,CAACD,IAAI,CAAC,IAAMqC;IACvD;IACA,OAAOA;AACT","ignoreList":[0]}}, - {"offset": {"line": 4917, "column": 0}, "map": {"version":3,"sources":["file:///D:/sol-ui.com/sol-ui/docs/node_modules/next/src/server/dev/hot-reloader-types.ts"],"sourcesContent":["import type { IncomingMessage, ServerResponse } from 'http'\nimport type { UrlObject } from 'url'\nimport type { Duplex } from 'stream'\nimport type { webpack } from 'next/dist/compiled/webpack/webpack'\nimport type getBaseWebpackConfig from '../../build/webpack-config'\nimport type { RouteDefinition } from '../route-definitions/route-definition'\nimport type { Project, Update as TurbopackUpdate } from '../../build/swc/types'\nimport type { VersionInfo } from './parse-version-info'\nimport type { DebugInfo } from '../../next-devtools/shared/types'\nimport type { DevIndicatorServerState } from './dev-indicator-server-state'\nimport type {\n CacheIndicatorState,\n ServerCacheStatus,\n} from '../../next-devtools/dev-overlay/cache-indicator'\nimport type { DevToolsConfig } from '../../next-devtools/dev-overlay/shared'\nimport type { ReactDebugChannelForBrowser } from './debug-channel'\n\nexport const enum HMR_MESSAGE_SENT_TO_BROWSER {\n // JSON messages:\n ADDED_PAGE = 'addedPage',\n REMOVED_PAGE = 'removedPage',\n RELOAD_PAGE = 'reloadPage',\n SERVER_COMPONENT_CHANGES = 'serverComponentChanges',\n MIDDLEWARE_CHANGES = 'middlewareChanges',\n CLIENT_CHANGES = 'clientChanges',\n SERVER_ONLY_CHANGES = 'serverOnlyChanges',\n SYNC = 'sync',\n BUILT = 'built',\n BUILDING = 'building',\n DEV_PAGES_MANIFEST_UPDATE = 'devPagesManifestUpdate',\n TURBOPACK_MESSAGE = 'turbopack-message',\n SERVER_ERROR = 'serverError',\n TURBOPACK_CONNECTED = 'turbopack-connected',\n ISR_MANIFEST = 'isrManifest',\n CACHE_INDICATOR = 'cacheIndicator',\n DEV_INDICATOR = 'devIndicator',\n DEVTOOLS_CONFIG = 'devtoolsConfig',\n REQUEST_CURRENT_ERROR_STATE = 'requestCurrentErrorState',\n REQUEST_PAGE_METADATA = 'requestPageMetadata',\n\n // Binary messages:\n REACT_DEBUG_CHUNK = 0,\n ERRORS_TO_SHOW_IN_BROWSER = 1,\n}\n\nexport const enum HMR_MESSAGE_SENT_TO_SERVER {\n // JSON messages:\n MCP_ERROR_STATE_RESPONSE = 'mcp-error-state-response',\n MCP_PAGE_METADATA_RESPONSE = 'mcp-page-metadata-response',\n PING = 'ping',\n}\n\nexport interface ServerErrorMessage {\n type: HMR_MESSAGE_SENT_TO_BROWSER.SERVER_ERROR\n errorJSON: string\n}\n\nexport interface TurbopackMessage {\n type: HMR_MESSAGE_SENT_TO_BROWSER.TURBOPACK_MESSAGE\n data: TurbopackUpdate | TurbopackUpdate[]\n}\n\nexport interface BuildingMessage {\n type: HMR_MESSAGE_SENT_TO_BROWSER.BUILDING\n}\n\nexport interface CompilationError {\n moduleName?: string\n message: string\n details?: string\n moduleTrace?: Array<{ moduleName?: string }>\n stack?: string\n}\n\nexport interface SyncMessage {\n type: HMR_MESSAGE_SENT_TO_BROWSER.SYNC\n hash: string\n errors: ReadonlyArray<CompilationError>\n warnings: ReadonlyArray<CompilationError>\n versionInfo: VersionInfo\n updatedModules?: ReadonlyArray<string>\n debug?: DebugInfo\n devIndicator: DevIndicatorServerState\n devToolsConfig?: DevToolsConfig\n}\n\nexport interface BuiltMessage {\n type: HMR_MESSAGE_SENT_TO_BROWSER.BUILT\n hash: string\n errors: ReadonlyArray<CompilationError>\n warnings: ReadonlyArray<CompilationError>\n updatedModules?: ReadonlyArray<string>\n}\n\nexport interface AddedPageMessage {\n type: HMR_MESSAGE_SENT_TO_BROWSER.ADDED_PAGE\n data: [page: string | null]\n}\n\nexport interface RemovedPageMessage {\n type: HMR_MESSAGE_SENT_TO_BROWSER.REMOVED_PAGE\n data: [page: string | null]\n}\n\nexport interface ReloadPageMessage {\n type: HMR_MESSAGE_SENT_TO_BROWSER.RELOAD_PAGE\n data: string\n}\n\nexport interface ServerComponentChangesMessage {\n type: HMR_MESSAGE_SENT_TO_BROWSER.SERVER_COMPONENT_CHANGES\n hash: string\n}\n\nexport interface MiddlewareChangesMessage {\n type: HMR_MESSAGE_SENT_TO_BROWSER.MIDDLEWARE_CHANGES\n}\n\nexport interface ClientChangesMessage {\n type: HMR_MESSAGE_SENT_TO_BROWSER.CLIENT_CHANGES\n}\n\nexport interface ServerOnlyChangesMessage {\n type: HMR_MESSAGE_SENT_TO_BROWSER.SERVER_ONLY_CHANGES\n pages: ReadonlyArray<string>\n}\n\nexport interface DevPagesManifestUpdateMessage {\n type: HMR_MESSAGE_SENT_TO_BROWSER.DEV_PAGES_MANIFEST_UPDATE\n data: [\n {\n devPagesManifest: true\n },\n ]\n}\n\nexport interface TurbopackConnectedMessage {\n type: HMR_MESSAGE_SENT_TO_BROWSER.TURBOPACK_CONNECTED\n data: { sessionId: number }\n}\n\nexport interface AppIsrManifestMessage {\n type: HMR_MESSAGE_SENT_TO_BROWSER.ISR_MANIFEST\n data: Record<string, boolean>\n}\n\nexport interface DevToolsConfigMessage {\n type: HMR_MESSAGE_SENT_TO_BROWSER.DEVTOOLS_CONFIG\n data: DevToolsConfig\n}\n\nexport interface ReactDebugChunkMessage {\n type: HMR_MESSAGE_SENT_TO_BROWSER.REACT_DEBUG_CHUNK\n requestId: string\n /**\n * A null chunk signals to the browser that no more chunks will be sent.\n */\n chunk: Uint8Array | null\n}\n\nexport interface ErrorsToShowInBrowserMessage {\n type: HMR_MESSAGE_SENT_TO_BROWSER.ERRORS_TO_SHOW_IN_BROWSER\n serializedErrors: Uint8Array\n}\n\nexport interface RequestCurrentErrorStateMessage {\n type: HMR_MESSAGE_SENT_TO_BROWSER.REQUEST_CURRENT_ERROR_STATE\n requestId: string\n}\n\nexport interface RequestPageMetadataMessage {\n type: HMR_MESSAGE_SENT_TO_BROWSER.REQUEST_PAGE_METADATA\n requestId: string\n}\n\nexport interface CacheIndicatorMessage {\n type: HMR_MESSAGE_SENT_TO_BROWSER.CACHE_INDICATOR\n state: CacheIndicatorState\n}\n\nexport type HmrMessageSentToBrowser =\n | TurbopackMessage\n | TurbopackConnectedMessage\n | BuildingMessage\n | SyncMessage\n | BuiltMessage\n | AddedPageMessage\n | RemovedPageMessage\n | ReloadPageMessage\n | ServerComponentChangesMessage\n | ClientChangesMessage\n | MiddlewareChangesMessage\n | ServerOnlyChangesMessage\n | DevPagesManifestUpdateMessage\n | ServerErrorMessage\n | AppIsrManifestMessage\n | DevToolsConfigMessage\n | ErrorsToShowInBrowserMessage\n | ReactDebugChunkMessage\n | RequestCurrentErrorStateMessage\n | RequestPageMetadataMessage\n | CacheIndicatorMessage\n\nexport type BinaryHmrMessageSentToBrowser = Extract<\n HmrMessageSentToBrowser,\n { type: number }\n>\n\nexport type TurbopackMessageSentToBrowser =\n | {\n type: HMR_MESSAGE_SENT_TO_BROWSER.TURBOPACK_MESSAGE\n data: any\n }\n | {\n type: HMR_MESSAGE_SENT_TO_BROWSER.TURBOPACK_CONNECTED\n data: { sessionId: number }\n }\n\nexport interface NextJsHotReloaderInterface {\n turbopackProject?: Project\n activeWebpackConfigs?: Array<Awaited<ReturnType<typeof getBaseWebpackConfig>>>\n serverStats: webpack.Stats | null\n edgeServerStats: webpack.Stats | null\n run(\n req: IncomingMessage,\n res: ServerResponse,\n parsedUrl: UrlObject\n ): Promise<{ finished?: true }>\n\n setHmrServerError(error: Error | null): void\n clearHmrServerError(): void\n start(): Promise<void>\n send(action: HmrMessageSentToBrowser): void\n /**\n * Send the given action only to legacy clients, i.e. Pages Router clients,\n * and App Router clients that don't have Cache Components enabled.\n */\n sendToLegacyClients(action: HmrMessageSentToBrowser): void\n setCacheStatus(status: ServerCacheStatus, htmlRequestId: string): void\n setReactDebugChannel(\n debugChannel: ReactDebugChannelForBrowser,\n htmlRequestId: string,\n requestId: string\n ): void\n sendErrorsToBrowser(\n errorsRscStream: ReadableStream<Uint8Array>,\n htmlRequestId: string\n ): void\n getCompilationErrors(page: string): Promise<any[]>\n onHMR(\n req: IncomingMessage,\n _socket: Duplex,\n head: Buffer,\n onUpgrade: (\n client: { send(data: string): void },\n context: { isLegacyClient: boolean }\n ) => void\n ): void\n invalidate({\n reloadAfterInvalidation,\n }: {\n reloadAfterInvalidation: boolean\n }): Promise<void> | void\n buildFallbackError(): Promise<void>\n ensurePage({\n page,\n clientOnly,\n appPaths,\n definition,\n isApp,\n url,\n }: {\n page: string\n clientOnly: boolean\n appPaths?: ReadonlyArray<string> | null\n isApp?: boolean\n definition: RouteDefinition | undefined\n url?: string\n }): Promise<void>\n close(): void\n}\n"],"names":["HMR_MESSAGE_SENT_TO_BROWSER","HMR_MESSAGE_SENT_TO_SERVER"],"mappings":";;;;;;;;;;;;;;IAiBkBA,2BAA2B,EAAA;eAA3BA;;IA4BAC,0BAA0B,EAAA;eAA1BA;;;AA5BX,IAAWD,8BAAAA,WAAAA,GAAAA,SAAAA,2BAAAA;IAChB,iBAAiB;;;;;;;;;;;;;;;;;;;;;IAsBjB,mBAAmB;;;WAvBHA;;AA4BX,IAAWC,6BAAAA,WAAAA,GAAAA,SAAAA,0BAAAA;IAChB,iBAAiB;;;;WADDA","ignoreList":[0]}}] -} \ No newline at end of file diff --git a/.next/dev/static/chunks/turbopack-_23a915ee._.js b/.next/dev/static/chunks/turbopack-_23a915ee._.js deleted file mode 100644 index bfe8e65..0000000 --- a/.next/dev/static/chunks/turbopack-_23a915ee._.js +++ /dev/null @@ -1,1860 +0,0 @@ -(globalThis.TURBOPACK || (globalThis.TURBOPACK = [])).push([ - typeof document === "object" ? document.currentScript : undefined, - {"otherChunks":["static/chunks/[turbopack]_browser_dev_hmr-client_hmr-client_ts_956a0d3a._.js","static/chunks/node_modules_next_dist_compiled_react-dom_1e674e59._.js","static/chunks/node_modules_next_dist_compiled_react-server-dom-turbopack_9212ccad._.js","static/chunks/node_modules_next_dist_compiled_next-devtools_index_1dd7fb59.js","static/chunks/node_modules_next_dist_compiled_a0e4c7b4._.js","static/chunks/node_modules_next_dist_client_17643121._.js","static/chunks/node_modules_next_dist_f3530cac._.js","static/chunks/node_modules_@swc_helpers_cjs_d80fb378._.js"],"runtimeModuleIds":["[project]/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js [app-client] (ecmascript)","[project]/node_modules/next/dist/client/app-next-turbopack.js [app-client] (ecmascript)"]} -]); -(() => { -if (!Array.isArray(globalThis.TURBOPACK)) { - return; -} - -const CHUNK_BASE_PATH = "/_next/"; -const RELATIVE_ROOT_PATH = "/ROOT"; -const RUNTIME_PUBLIC_PATH = "/_next/"; -const CHUNK_SUFFIX = (self.TURBOPACK_CHUNK_SUFFIX ?? document?.currentScript?.getAttribute?.('src')?.replace(/^(.*(?=\?)|^.*$)/, "")) || ""; -/** - * This file contains runtime types and functions that are shared between all - * TurboPack ECMAScript runtimes. - * - * It will be prepended to the runtime code of each runtime. - */ /* eslint-disable @typescript-eslint/no-unused-vars */ /// <reference path="./runtime-types.d.ts" /> -const REEXPORTED_OBJECTS = new WeakMap(); -/** - * Constructs the `__turbopack_context__` object for a module. - */ function Context(module, exports) { - this.m = module; - // We need to store this here instead of accessing it from the module object to: - // 1. Make it available to factories directly, since we rewrite `this` to - // `__turbopack_context__.e` in CJS modules. - // 2. Support async modules which rewrite `module.exports` to a promise, so we - // can still access the original exports object from functions like - // `esmExport` - // Ideally we could find a new approach for async modules and drop this property altogether. - this.e = exports; -} -const contextPrototype = Context.prototype; -const hasOwnProperty = Object.prototype.hasOwnProperty; -const toStringTag = typeof Symbol !== 'undefined' && Symbol.toStringTag; -function defineProp(obj, name, options) { - if (!hasOwnProperty.call(obj, name)) Object.defineProperty(obj, name, options); -} -function getOverwrittenModule(moduleCache, id) { - let module = moduleCache[id]; - if (!module) { - // This is invoked when a module is merged into another module, thus it wasn't invoked via - // instantiateModule and the cache entry wasn't created yet. - module = createModuleObject(id); - moduleCache[id] = module; - } - return module; -} -/** - * Creates the module object. Only done here to ensure all module objects have the same shape. - */ function createModuleObject(id) { - return { - exports: {}, - error: undefined, - id, - namespaceObject: undefined - }; -} -const BindingTag_Value = 0; -/** - * Adds the getters to the exports object. - */ function esm(exports, bindings) { - defineProp(exports, '__esModule', { - value: true - }); - if (toStringTag) defineProp(exports, toStringTag, { - value: 'Module' - }); - let i = 0; - while(i < bindings.length){ - const propName = bindings[i++]; - const tagOrFunction = bindings[i++]; - if (typeof tagOrFunction === 'number') { - if (tagOrFunction === BindingTag_Value) { - defineProp(exports, propName, { - value: bindings[i++], - enumerable: true, - writable: false - }); - } else { - throw new Error(`unexpected tag: ${tagOrFunction}`); - } - } else { - const getterFn = tagOrFunction; - if (typeof bindings[i] === 'function') { - const setterFn = bindings[i++]; - defineProp(exports, propName, { - get: getterFn, - set: setterFn, - enumerable: true - }); - } else { - defineProp(exports, propName, { - get: getterFn, - enumerable: true - }); - } - } - } - Object.seal(exports); -} -/** - * Makes the module an ESM with exports - */ function esmExport(bindings, id) { - let module; - let exports; - if (id != null) { - module = getOverwrittenModule(this.c, id); - exports = module.exports; - } else { - module = this.m; - exports = this.e; - } - module.namespaceObject = exports; - esm(exports, bindings); -} -contextPrototype.s = esmExport; -function ensureDynamicExports(module, exports) { - let reexportedObjects = REEXPORTED_OBJECTS.get(module); - if (!reexportedObjects) { - REEXPORTED_OBJECTS.set(module, reexportedObjects = []); - module.exports = module.namespaceObject = new Proxy(exports, { - get (target, prop) { - if (hasOwnProperty.call(target, prop) || prop === 'default' || prop === '__esModule') { - return Reflect.get(target, prop); - } - for (const obj of reexportedObjects){ - const value = Reflect.get(obj, prop); - if (value !== undefined) return value; - } - return undefined; - }, - ownKeys (target) { - const keys = Reflect.ownKeys(target); - for (const obj of reexportedObjects){ - for (const key of Reflect.ownKeys(obj)){ - if (key !== 'default' && !keys.includes(key)) keys.push(key); - } - } - return keys; - } - }); - } - return reexportedObjects; -} -/** - * Dynamically exports properties from an object - */ function dynamicExport(object, id) { - let module; - let exports; - if (id != null) { - module = getOverwrittenModule(this.c, id); - exports = module.exports; - } else { - module = this.m; - exports = this.e; - } - const reexportedObjects = ensureDynamicExports(module, exports); - if (typeof object === 'object' && object !== null) { - reexportedObjects.push(object); - } -} -contextPrototype.j = dynamicExport; -function exportValue(value, id) { - let module; - if (id != null) { - module = getOverwrittenModule(this.c, id); - } else { - module = this.m; - } - module.exports = value; -} -contextPrototype.v = exportValue; -function exportNamespace(namespace, id) { - let module; - if (id != null) { - module = getOverwrittenModule(this.c, id); - } else { - module = this.m; - } - module.exports = module.namespaceObject = namespace; -} -contextPrototype.n = exportNamespace; -function createGetter(obj, key) { - return ()=>obj[key]; -} -/** - * @returns prototype of the object - */ const getProto = Object.getPrototypeOf ? (obj)=>Object.getPrototypeOf(obj) : (obj)=>obj.__proto__; -/** Prototypes that are not expanded for exports */ const LEAF_PROTOTYPES = [ - null, - getProto({}), - getProto([]), - getProto(getProto) -]; -/** - * @param raw - * @param ns - * @param allowExportDefault - * * `false`: will have the raw module as default export - * * `true`: will have the default property as default export - */ function interopEsm(raw, ns, allowExportDefault) { - const bindings = []; - let defaultLocation = -1; - for(let current = raw; (typeof current === 'object' || typeof current === 'function') && !LEAF_PROTOTYPES.includes(current); current = getProto(current)){ - for (const key of Object.getOwnPropertyNames(current)){ - bindings.push(key, createGetter(raw, key)); - if (defaultLocation === -1 && key === 'default') { - defaultLocation = bindings.length - 1; - } - } - } - // this is not really correct - // we should set the `default` getter if the imported module is a `.cjs file` - if (!(allowExportDefault && defaultLocation >= 0)) { - // Replace the binding with one for the namespace itself in order to preserve iteration order. - if (defaultLocation >= 0) { - // Replace the getter with the value - bindings.splice(defaultLocation, 1, BindingTag_Value, raw); - } else { - bindings.push('default', BindingTag_Value, raw); - } - } - esm(ns, bindings); - return ns; -} -function createNS(raw) { - if (typeof raw === 'function') { - return function(...args) { - return raw.apply(this, args); - }; - } else { - return Object.create(null); - } -} -function esmImport(id) { - const module = getOrInstantiateModuleFromParent(id, this.m); - // any ES module has to have `module.namespaceObject` defined. - if (module.namespaceObject) return module.namespaceObject; - // only ESM can be an async module, so we don't need to worry about exports being a promise here. - const raw = module.exports; - return module.namespaceObject = interopEsm(raw, createNS(raw), raw && raw.__esModule); -} -contextPrototype.i = esmImport; -function asyncLoader(moduleId) { - const loader = this.r(moduleId); - return loader(esmImport.bind(this)); -} -contextPrototype.A = asyncLoader; -// Add a simple runtime require so that environments without one can still pass -// `typeof require` CommonJS checks so that exports are correctly registered. -const runtimeRequire = // @ts-ignore -typeof require === 'function' ? require : function require1() { - throw new Error('Unexpected use of runtime require'); -}; -contextPrototype.t = runtimeRequire; -function commonJsRequire(id) { - return getOrInstantiateModuleFromParent(id, this.m).exports; -} -contextPrototype.r = commonJsRequire; -/** - * Remove fragments and query parameters since they are never part of the context map keys - * - * This matches how we parse patterns at resolving time. Arguably we should only do this for - * strings passed to `import` but the resolve does it for `import` and `require` and so we do - * here as well. - */ function parseRequest(request) { - // Per the URI spec fragments can contain `?` characters, so we should trim it off first - // https://datatracker.ietf.org/doc/html/rfc3986#section-3.5 - const hashIndex = request.indexOf('#'); - if (hashIndex !== -1) { - request = request.substring(0, hashIndex); - } - const queryIndex = request.indexOf('?'); - if (queryIndex !== -1) { - request = request.substring(0, queryIndex); - } - return request; -} -/** - * `require.context` and require/import expression runtime. - */ function moduleContext(map) { - function moduleContext(id) { - id = parseRequest(id); - if (hasOwnProperty.call(map, id)) { - return map[id].module(); - } - const e = new Error(`Cannot find module '${id}'`); - e.code = 'MODULE_NOT_FOUND'; - throw e; - } - moduleContext.keys = ()=>{ - return Object.keys(map); - }; - moduleContext.resolve = (id)=>{ - id = parseRequest(id); - if (hasOwnProperty.call(map, id)) { - return map[id].id(); - } - const e = new Error(`Cannot find module '${id}'`); - e.code = 'MODULE_NOT_FOUND'; - throw e; - }; - moduleContext.import = async (id)=>{ - return await moduleContext(id); - }; - return moduleContext; -} -contextPrototype.f = moduleContext; -/** - * Returns the path of a chunk defined by its data. - */ function getChunkPath(chunkData) { - return typeof chunkData === 'string' ? chunkData : chunkData.path; -} -function isPromise(maybePromise) { - return maybePromise != null && typeof maybePromise === 'object' && 'then' in maybePromise && typeof maybePromise.then === 'function'; -} -function isAsyncModuleExt(obj) { - return turbopackQueues in obj; -} -function createPromise() { - let resolve; - let reject; - const promise = new Promise((res, rej)=>{ - reject = rej; - resolve = res; - }); - return { - promise, - resolve: resolve, - reject: reject - }; -} -// Load the CompressedmoduleFactories of a chunk into the `moduleFactories` Map. -// The CompressedModuleFactories format is -// - 1 or more module ids -// - a module factory function -// So walking this is a little complex but the flat structure is also fast to -// traverse, we can use `typeof` operators to distinguish the two cases. -function installCompressedModuleFactories(chunkModules, offset, moduleFactories, newModuleId) { - let i = offset; - while(i < chunkModules.length){ - let moduleId = chunkModules[i]; - let end = i + 1; - // Find our factory function - while(end < chunkModules.length && typeof chunkModules[end] !== 'function'){ - end++; - } - if (end === chunkModules.length) { - throw new Error('malformed chunk format, expected a factory function'); - } - // Each chunk item has a 'primary id' and optional additional ids. If the primary id is already - // present we know all the additional ids are also present, so we don't need to check. - if (!moduleFactories.has(moduleId)) { - const moduleFactoryFn = chunkModules[end]; - applyModuleFactoryName(moduleFactoryFn); - newModuleId?.(moduleId); - for(; i < end; i++){ - moduleId = chunkModules[i]; - moduleFactories.set(moduleId, moduleFactoryFn); - } - } - i = end + 1; // end is pointing at the last factory advance to the next id or the end of the array. - } -} -// everything below is adapted from webpack -// https://github.com/webpack/webpack/blob/6be4065ade1e252c1d8dcba4af0f43e32af1bdc1/lib/runtime/AsyncModuleRuntimeModule.js#L13 -const turbopackQueues = Symbol('turbopack queues'); -const turbopackExports = Symbol('turbopack exports'); -const turbopackError = Symbol('turbopack error'); -function resolveQueue(queue) { - if (queue && queue.status !== 1) { - queue.status = 1; - queue.forEach((fn)=>fn.queueCount--); - queue.forEach((fn)=>fn.queueCount-- ? fn.queueCount++ : fn()); - } -} -function wrapDeps(deps) { - return deps.map((dep)=>{ - if (dep !== null && typeof dep === 'object') { - if (isAsyncModuleExt(dep)) return dep; - if (isPromise(dep)) { - const queue = Object.assign([], { - status: 0 - }); - const obj = { - [turbopackExports]: {}, - [turbopackQueues]: (fn)=>fn(queue) - }; - dep.then((res)=>{ - obj[turbopackExports] = res; - resolveQueue(queue); - }, (err)=>{ - obj[turbopackError] = err; - resolveQueue(queue); - }); - return obj; - } - } - return { - [turbopackExports]: dep, - [turbopackQueues]: ()=>{} - }; - }); -} -function asyncModule(body, hasAwait) { - const module = this.m; - const queue = hasAwait ? Object.assign([], { - status: -1 - }) : undefined; - const depQueues = new Set(); - const { resolve, reject, promise: rawPromise } = createPromise(); - const promise = Object.assign(rawPromise, { - [turbopackExports]: module.exports, - [turbopackQueues]: (fn)=>{ - queue && fn(queue); - depQueues.forEach(fn); - promise['catch'](()=>{}); - } - }); - const attributes = { - get () { - return promise; - }, - set (v) { - // Calling `esmExport` leads to this. - if (v !== promise) { - promise[turbopackExports] = v; - } - } - }; - Object.defineProperty(module, 'exports', attributes); - Object.defineProperty(module, 'namespaceObject', attributes); - function handleAsyncDependencies(deps) { - const currentDeps = wrapDeps(deps); - const getResult = ()=>currentDeps.map((d)=>{ - if (d[turbopackError]) throw d[turbopackError]; - return d[turbopackExports]; - }); - const { promise, resolve } = createPromise(); - const fn = Object.assign(()=>resolve(getResult), { - queueCount: 0 - }); - function fnQueue(q) { - if (q !== queue && !depQueues.has(q)) { - depQueues.add(q); - if (q && q.status === 0) { - fn.queueCount++; - q.push(fn); - } - } - } - currentDeps.map((dep)=>dep[turbopackQueues](fnQueue)); - return fn.queueCount ? promise : getResult(); - } - function asyncResult(err) { - if (err) { - reject(promise[turbopackError] = err); - } else { - resolve(promise[turbopackExports]); - } - resolveQueue(queue); - } - body(handleAsyncDependencies, asyncResult); - if (queue && queue.status === -1) { - queue.status = 0; - } -} -contextPrototype.a = asyncModule; -/** - * A pseudo "fake" URL object to resolve to its relative path. - * - * When UrlRewriteBehavior is set to relative, calls to the `new URL()` will construct url without base using this - * runtime function to generate context-agnostic urls between different rendering context, i.e ssr / client to avoid - * hydration mismatch. - * - * This is based on webpack's existing implementation: - * https://github.com/webpack/webpack/blob/87660921808566ef3b8796f8df61bd79fc026108/lib/runtime/RelativeUrlRuntimeModule.js - */ const relativeURL = function relativeURL(inputUrl) { - const realUrl = new URL(inputUrl, 'x:/'); - const values = {}; - for(const key in realUrl)values[key] = realUrl[key]; - values.href = inputUrl; - values.pathname = inputUrl.replace(/[?#].*/, ''); - values.origin = values.protocol = ''; - values.toString = values.toJSON = (..._args)=>inputUrl; - for(const key in values)Object.defineProperty(this, key, { - enumerable: true, - configurable: true, - value: values[key] - }); -}; -relativeURL.prototype = URL.prototype; -contextPrototype.U = relativeURL; -/** - * Utility function to ensure all variants of an enum are handled. - */ function invariant(never, computeMessage) { - throw new Error(`Invariant: ${computeMessage(never)}`); -} -/** - * A stub function to make `require` available but non-functional in ESM. - */ function requireStub(_moduleId) { - throw new Error('dynamic usage of require is not supported'); -} -contextPrototype.z = requireStub; -// Make `globalThis` available to the module in a way that cannot be shadowed by a local variable. -contextPrototype.g = globalThis; -function applyModuleFactoryName(factory) { - // Give the module factory a nice name to improve stack traces. - Object.defineProperty(factory, 'name', { - value: 'module evaluation' - }); -} -/** - * This file contains runtime types and functions that are shared between all - * Turbopack *development* ECMAScript runtimes. - * - * It will be appended to the runtime code of each runtime right after the - * shared runtime utils. - */ /* eslint-disable @typescript-eslint/no-unused-vars */ /// <reference path="../base/globals.d.ts" /> -/// <reference path="../../../shared/runtime-utils.ts" /> -// Used in WebWorkers to tell the runtime about the chunk base path -const browserContextPrototype = Context.prototype; -var SourceType = /*#__PURE__*/ function(SourceType) { - /** - * The module was instantiated because it was included in an evaluated chunk's - * runtime. - * SourceData is a ChunkPath. - */ SourceType[SourceType["Runtime"] = 0] = "Runtime"; - /** - * The module was instantiated because a parent module imported it. - * SourceData is a ModuleId. - */ SourceType[SourceType["Parent"] = 1] = "Parent"; - /** - * The module was instantiated because it was included in a chunk's hot module - * update. - * SourceData is an array of ModuleIds or undefined. - */ SourceType[SourceType["Update"] = 2] = "Update"; - return SourceType; -}(SourceType || {}); -const moduleFactories = new Map(); -contextPrototype.M = moduleFactories; -const availableModules = new Map(); -const availableModuleChunks = new Map(); -function factoryNotAvailableMessage(moduleId, sourceType, sourceData) { - let instantiationReason; - switch(sourceType){ - case 0: - instantiationReason = `as a runtime entry of chunk ${sourceData}`; - break; - case 1: - instantiationReason = `because it was required from module ${sourceData}`; - break; - case 2: - instantiationReason = 'because of an HMR update'; - break; - default: - invariant(sourceType, (sourceType)=>`Unknown source type: ${sourceType}`); - } - return `Module ${moduleId} was instantiated ${instantiationReason}, but the module factory is not available.`; -} -function loadChunk(chunkData) { - return loadChunkInternal(1, this.m.id, chunkData); -} -browserContextPrototype.l = loadChunk; -function loadInitialChunk(chunkPath, chunkData) { - return loadChunkInternal(0, chunkPath, chunkData); -} -async function loadChunkInternal(sourceType, sourceData, chunkData) { - if (typeof chunkData === 'string') { - return loadChunkPath(sourceType, sourceData, chunkData); - } - const includedList = chunkData.included || []; - const modulesPromises = includedList.map((included)=>{ - if (moduleFactories.has(included)) return true; - return availableModules.get(included); - }); - if (modulesPromises.length > 0 && modulesPromises.every((p)=>p)) { - // When all included items are already loaded or loading, we can skip loading ourselves - await Promise.all(modulesPromises); - return; - } - const includedModuleChunksList = chunkData.moduleChunks || []; - const moduleChunksPromises = includedModuleChunksList.map((included)=>{ - // TODO(alexkirsz) Do we need this check? - // if (moduleFactories[included]) return true; - return availableModuleChunks.get(included); - }).filter((p)=>p); - let promise; - if (moduleChunksPromises.length > 0) { - // Some module chunks are already loaded or loading. - if (moduleChunksPromises.length === includedModuleChunksList.length) { - // When all included module chunks are already loaded or loading, we can skip loading ourselves - await Promise.all(moduleChunksPromises); - return; - } - const moduleChunksToLoad = new Set(); - for (const moduleChunk of includedModuleChunksList){ - if (!availableModuleChunks.has(moduleChunk)) { - moduleChunksToLoad.add(moduleChunk); - } - } - for (const moduleChunkToLoad of moduleChunksToLoad){ - const promise = loadChunkPath(sourceType, sourceData, moduleChunkToLoad); - availableModuleChunks.set(moduleChunkToLoad, promise); - moduleChunksPromises.push(promise); - } - promise = Promise.all(moduleChunksPromises); - } else { - promise = loadChunkPath(sourceType, sourceData, chunkData.path); - // Mark all included module chunks as loading if they are not already loaded or loading. - for (const includedModuleChunk of includedModuleChunksList){ - if (!availableModuleChunks.has(includedModuleChunk)) { - availableModuleChunks.set(includedModuleChunk, promise); - } - } - } - for (const included of includedList){ - if (!availableModules.has(included)) { - // It might be better to race old and new promises, but it's rare that the new promise will be faster than a request started earlier. - // In production it's even more rare, because the chunk optimization tries to deduplicate modules anyway. - availableModules.set(included, promise); - } - } - await promise; -} -const loadedChunk = Promise.resolve(undefined); -const instrumentedBackendLoadChunks = new WeakMap(); -// Do not make this async. React relies on referential equality of the returned Promise. -function loadChunkByUrl(chunkUrl) { - return loadChunkByUrlInternal(1, this.m.id, chunkUrl); -} -browserContextPrototype.L = loadChunkByUrl; -// Do not make this async. React relies on referential equality of the returned Promise. -function loadChunkByUrlInternal(sourceType, sourceData, chunkUrl) { - const thenable = BACKEND.loadChunkCached(sourceType, chunkUrl); - let entry = instrumentedBackendLoadChunks.get(thenable); - if (entry === undefined) { - const resolve = instrumentedBackendLoadChunks.set.bind(instrumentedBackendLoadChunks, thenable, loadedChunk); - entry = thenable.then(resolve).catch((cause)=>{ - let loadReason; - switch(sourceType){ - case 0: - loadReason = `as a runtime dependency of chunk ${sourceData}`; - break; - case 1: - loadReason = `from module ${sourceData}`; - break; - case 2: - loadReason = 'from an HMR update'; - break; - default: - invariant(sourceType, (sourceType)=>`Unknown source type: ${sourceType}`); - } - let error = new Error(`Failed to load chunk ${chunkUrl} ${loadReason}${cause ? `: ${cause}` : ''}`, cause ? { - cause - } : undefined); - error.name = 'ChunkLoadError'; - throw error; - }); - instrumentedBackendLoadChunks.set(thenable, entry); - } - return entry; -} -// Do not make this async. React relies on referential equality of the returned Promise. -function loadChunkPath(sourceType, sourceData, chunkPath) { - const url = getChunkRelativeUrl(chunkPath); - return loadChunkByUrlInternal(sourceType, sourceData, url); -} -/** - * Returns an absolute url to an asset. - */ function resolvePathFromModule(moduleId) { - const exported = this.r(moduleId); - return exported?.default ?? exported; -} -browserContextPrototype.R = resolvePathFromModule; -/** - * no-op for browser - * @param modulePath - */ function resolveAbsolutePath(modulePath) { - return `/ROOT/${modulePath ?? ''}`; -} -browserContextPrototype.P = resolveAbsolutePath; -/** - * Returns a blob URL for the worker. - * @param chunks list of chunks to load - */ function getWorkerBlobURL(chunks) { - // It is important to reverse the array so when bootstrapping we can infer what chunk is being - // evaluated by poping urls off of this array. See `getPathFromScript` - let bootstrap = `self.TURBOPACK_WORKER_LOCATION = ${JSON.stringify(location.origin)}; -self.TURBOPACK_CHUNK_SUFFIX = ${JSON.stringify(CHUNK_SUFFIX)}; -self.TURBOPACK_NEXT_CHUNK_URLS = ${JSON.stringify(chunks.reverse().map(getChunkRelativeUrl), null, 2)}; -importScripts(...self.TURBOPACK_NEXT_CHUNK_URLS.map(c => self.TURBOPACK_WORKER_LOCATION + c).reverse());`; - let blob = new Blob([ - bootstrap - ], { - type: 'text/javascript' - }); - return URL.createObjectURL(blob); -} -browserContextPrototype.b = getWorkerBlobURL; -/** - * Instantiates a runtime module. - */ function instantiateRuntimeModule(moduleId, chunkPath) { - return instantiateModule(moduleId, 0, chunkPath); -} -/** - * Returns the URL relative to the origin where a chunk can be fetched from. - */ function getChunkRelativeUrl(chunkPath) { - return `${CHUNK_BASE_PATH}${chunkPath.split('/').map((p)=>encodeURIComponent(p)).join('/')}${CHUNK_SUFFIX}`; -} -function getPathFromScript(chunkScript) { - if (typeof chunkScript === 'string') { - return chunkScript; - } - const chunkUrl = typeof TURBOPACK_NEXT_CHUNK_URLS !== 'undefined' ? TURBOPACK_NEXT_CHUNK_URLS.pop() : chunkScript.getAttribute('src'); - const src = decodeURIComponent(chunkUrl.replace(/[?#].*$/, '')); - const path = src.startsWith(CHUNK_BASE_PATH) ? src.slice(CHUNK_BASE_PATH.length) : src; - return path; -} -const regexJsUrl = /\.js(?:\?[^#]*)?(?:#.*)?$/; -/** - * Checks if a given path/URL ends with .js, optionally followed by ?query or #fragment. - */ function isJs(chunkUrlOrPath) { - return regexJsUrl.test(chunkUrlOrPath); -} -const regexCssUrl = /\.css(?:\?[^#]*)?(?:#.*)?$/; -/** - * Checks if a given path/URL ends with .css, optionally followed by ?query or #fragment. - */ function isCss(chunkUrl) { - return regexCssUrl.test(chunkUrl); -} -function loadWebAssembly(chunkPath, edgeModule, importsObj) { - return BACKEND.loadWebAssembly(1, this.m.id, chunkPath, edgeModule, importsObj); -} -contextPrototype.w = loadWebAssembly; -function loadWebAssemblyModule(chunkPath, edgeModule) { - return BACKEND.loadWebAssemblyModule(1, this.m.id, chunkPath, edgeModule); -} -contextPrototype.u = loadWebAssemblyModule; -/// <reference path="./dev-globals.d.ts" /> -/// <reference path="./dev-protocol.d.ts" /> -/// <reference path="./dev-extensions.ts" /> -const devContextPrototype = Context.prototype; -/** - * This file contains runtime types and functions that are shared between all - * Turbopack *development* ECMAScript runtimes. - * - * It will be appended to the runtime code of each runtime right after the - * shared runtime utils. - */ /* eslint-disable @typescript-eslint/no-unused-vars */ const devModuleCache = Object.create(null); -devContextPrototype.c = devModuleCache; -class UpdateApplyError extends Error { - name = 'UpdateApplyError'; - dependencyChain; - constructor(message, dependencyChain){ - super(message); - this.dependencyChain = dependencyChain; - } -} -/** - * Module IDs that are instantiated as part of the runtime of a chunk. - */ const runtimeModules = new Set(); -/** - * Map from module ID to the chunks that contain this module. - * - * In HMR, we need to keep track of which modules are contained in which so - * chunks. This is so we don't eagerly dispose of a module when it is removed - * from chunk A, but still exists in chunk B. - */ const moduleChunksMap = new Map(); -/** - * Map from a chunk path to all modules it contains. - */ const chunkModulesMap = new Map(); -/** - * Chunk lists that contain a runtime. When these chunk lists receive an update - * that can't be reconciled with the current state of the page, we need to - * reload the runtime entirely. - */ const runtimeChunkLists = new Set(); -/** - * Map from a chunk list to the chunk paths it contains. - */ const chunkListChunksMap = new Map(); -/** - * Map from a chunk path to the chunk lists it belongs to. - */ const chunkChunkListsMap = new Map(); -/** - * Maps module IDs to persisted data between executions of their hot module - * implementation (`hot.data`). - */ const moduleHotData = new Map(); -/** - * Maps module instances to their hot module state. - */ const moduleHotState = new Map(); -/** - * Modules that call `module.hot.invalidate()` (while being updated). - */ const queuedInvalidatedModules = new Set(); -/** - * Gets or instantiates a runtime module. - */ // @ts-ignore -function getOrInstantiateRuntimeModule(chunkPath, moduleId) { - const module = devModuleCache[moduleId]; - if (module) { - if (module.error) { - throw module.error; - } - return module; - } - // @ts-ignore - return instantiateModule(moduleId, SourceType.Runtime, chunkPath); -} -/** - * Retrieves a module from the cache, or instantiate it if it is not cached. - */ // @ts-ignore Defined in `runtime-utils.ts` -const getOrInstantiateModuleFromParent = (id, sourceModule)=>{ - if (!sourceModule.hot.active) { - console.warn(`Unexpected import of module ${id} from module ${sourceModule.id}, which was deleted by an HMR update`); - } - const module = devModuleCache[id]; - if (sourceModule.children.indexOf(id) === -1) { - sourceModule.children.push(id); - } - if (module) { - if (module.error) { - throw module.error; - } - if (module.parents.indexOf(sourceModule.id) === -1) { - module.parents.push(sourceModule.id); - } - return module; - } - return instantiateModule(id, SourceType.Parent, sourceModule.id); -}; -function DevContext(module, exports, refresh) { - Context.call(this, module, exports); - this.k = refresh; -} -DevContext.prototype = Context.prototype; -function instantiateModule(moduleId, sourceType, sourceData) { - // We are in development, this is always a string. - let id = moduleId; - const moduleFactory = moduleFactories.get(id); - if (typeof moduleFactory !== 'function') { - // This can happen if modules incorrectly handle HMR disposes/updates, - // e.g. when they keep a `setTimeout` around which still executes old code - // and contains e.g. a `require("something")` call. - throw new Error(factoryNotAvailableMessage(id, sourceType, sourceData) + ' It might have been deleted in an HMR update.'); - } - const hotData = moduleHotData.get(id); - const { hot, hotState } = createModuleHot(id, hotData); - let parents; - switch(sourceType){ - case SourceType.Runtime: - runtimeModules.add(id); - parents = []; - break; - case SourceType.Parent: - // No need to add this module as a child of the parent module here, this - // has already been taken care of in `getOrInstantiateModuleFromParent`. - parents = [ - sourceData - ]; - break; - case SourceType.Update: - parents = sourceData || []; - break; - default: - invariant(sourceType, (sourceType)=>`Unknown source type: ${sourceType}`); - } - const module = createModuleObject(id); - const exports = module.exports; - module.parents = parents; - module.children = []; - module.hot = hot; - devModuleCache[id] = module; - moduleHotState.set(module, hotState); - // NOTE(alexkirsz) This can fail when the module encounters a runtime error. - try { - runModuleExecutionHooks(module, (refresh)=>{ - const context = new DevContext(module, exports, refresh); - moduleFactory(context, module, exports); - }); - } catch (error) { - module.error = error; - throw error; - } - if (module.namespaceObject && module.exports !== module.namespaceObject) { - // in case of a circular dependency: cjs1 -> esm2 -> cjs1 - interopEsm(module.exports, module.namespaceObject); - } - return module; -} -const DUMMY_REFRESH_CONTEXT = { - register: (_type, _id)=>{}, - signature: ()=>(_type)=>{}, - registerExports: (_module, _helpers)=>{} -}; -/** - * NOTE(alexkirsz) Webpack has a "module execution" interception hook that - * Next.js' React Refresh runtime hooks into to add module context to the - * refresh registry. - */ function runModuleExecutionHooks(module, executeModule) { - if (typeof globalThis.$RefreshInterceptModuleExecution$ === 'function') { - const cleanupReactRefreshIntercept = globalThis.$RefreshInterceptModuleExecution$(module.id); - try { - executeModule({ - register: globalThis.$RefreshReg$, - signature: globalThis.$RefreshSig$, - registerExports: registerExportsAndSetupBoundaryForReactRefresh - }); - } finally{ - // Always cleanup the intercept, even if module execution failed. - cleanupReactRefreshIntercept(); - } - } else { - // If the react refresh hooks are not installed we need to bind dummy functions. - // This is expected when running in a Web Worker. It is also common in some of - // our test environments. - executeModule(DUMMY_REFRESH_CONTEXT); - } -} -/** - * This is adapted from https://github.com/vercel/next.js/blob/3466862d9dc9c8bb3131712134d38757b918d1c0/packages/react-refresh-utils/internal/ReactRefreshModule.runtime.ts - */ function registerExportsAndSetupBoundaryForReactRefresh(module, helpers) { - const currentExports = module.exports; - const prevExports = module.hot.data.prevExports ?? null; - helpers.registerExportsForReactRefresh(currentExports, module.id); - // A module can be accepted automatically based on its exports, e.g. when - // it is a Refresh Boundary. - if (helpers.isReactRefreshBoundary(currentExports)) { - // Save the previous exports on update, so we can compare the boundary - // signatures. - module.hot.dispose((data)=>{ - data.prevExports = currentExports; - }); - // Unconditionally accept an update to this module, we'll check if it's - // still a Refresh Boundary later. - module.hot.accept(); - // This field is set when the previous version of this module was a - // Refresh Boundary, letting us know we need to check for invalidation or - // enqueue an update. - if (prevExports !== null) { - // A boundary can become ineligible if its exports are incompatible - // with the previous exports. - // - // For example, if you add/remove/change exports, we'll want to - // re-execute the importing modules, and force those components to - // re-render. Similarly, if you convert a class component to a - // function, we want to invalidate the boundary. - if (helpers.shouldInvalidateReactRefreshBoundary(helpers.getRefreshBoundarySignature(prevExports), helpers.getRefreshBoundarySignature(currentExports))) { - module.hot.invalidate(); - } else { - helpers.scheduleUpdate(); - } - } - } else { - // Since we just executed the code for the module, it's possible that the - // new exports made it ineligible for being a boundary. - // We only care about the case when we were _previously_ a boundary, - // because we already accepted this update (accidental side effect). - const isNoLongerABoundary = prevExports !== null; - if (isNoLongerABoundary) { - module.hot.invalidate(); - } - } -} -function formatDependencyChain(dependencyChain) { - return `Dependency chain: ${dependencyChain.join(' -> ')}`; -} -function computeOutdatedModules(added, modified) { - const newModuleFactories = new Map(); - for (const [moduleId, entry] of added){ - if (entry != null) { - newModuleFactories.set(moduleId, _eval(entry)); - } - } - const outdatedModules = computedInvalidatedModules(modified.keys()); - for (const [moduleId, entry] of modified){ - newModuleFactories.set(moduleId, _eval(entry)); - } - return { - outdatedModules, - newModuleFactories - }; -} -function computedInvalidatedModules(invalidated) { - const outdatedModules = new Set(); - for (const moduleId of invalidated){ - const effect = getAffectedModuleEffects(moduleId); - switch(effect.type){ - case 'unaccepted': - throw new UpdateApplyError(`cannot apply update: unaccepted module. ${formatDependencyChain(effect.dependencyChain)}.`, effect.dependencyChain); - case 'self-declined': - throw new UpdateApplyError(`cannot apply update: self-declined module. ${formatDependencyChain(effect.dependencyChain)}.`, effect.dependencyChain); - case 'accepted': - for (const outdatedModuleId of effect.outdatedModules){ - outdatedModules.add(outdatedModuleId); - } - break; - // TODO(alexkirsz) Dependencies: handle dependencies effects. - default: - invariant(effect, (effect)=>`Unknown effect type: ${effect?.type}`); - } - } - return outdatedModules; -} -function computeOutdatedSelfAcceptedModules(outdatedModules) { - const outdatedSelfAcceptedModules = []; - for (const moduleId of outdatedModules){ - const module = devModuleCache[moduleId]; - const hotState = moduleHotState.get(module); - if (module && hotState.selfAccepted && !hotState.selfInvalidated) { - outdatedSelfAcceptedModules.push({ - moduleId, - errorHandler: hotState.selfAccepted - }); - } - } - return outdatedSelfAcceptedModules; -} -/** - * Adds, deletes, and moves modules between chunks. This must happen before the - * dispose phase as it needs to know which modules were removed from all chunks, - * which we can only compute *after* taking care of added and moved modules. - */ function updateChunksPhase(chunksAddedModules, chunksDeletedModules) { - for (const [chunkPath, addedModuleIds] of chunksAddedModules){ - for (const moduleId of addedModuleIds){ - addModuleToChunk(moduleId, chunkPath); - } - } - const disposedModules = new Set(); - for (const [chunkPath, addedModuleIds] of chunksDeletedModules){ - for (const moduleId of addedModuleIds){ - if (removeModuleFromChunk(moduleId, chunkPath)) { - disposedModules.add(moduleId); - } - } - } - return { - disposedModules - }; -} -function disposePhase(outdatedModules, disposedModules) { - for (const moduleId of outdatedModules){ - disposeModule(moduleId, 'replace'); - } - for (const moduleId of disposedModules){ - disposeModule(moduleId, 'clear'); - } - // Removing modules from the module cache is a separate step. - // We also want to keep track of previous parents of the outdated modules. - const outdatedModuleParents = new Map(); - for (const moduleId of outdatedModules){ - const oldModule = devModuleCache[moduleId]; - outdatedModuleParents.set(moduleId, oldModule?.parents); - delete devModuleCache[moduleId]; - } - // TODO(alexkirsz) Dependencies: remove outdated dependency from module - // children. - return { - outdatedModuleParents - }; -} -/** - * Disposes of an instance of a module. - * - * Returns the persistent hot data that should be kept for the next module - * instance. - * - * NOTE: mode = "replace" will not remove modules from the devModuleCache - * This must be done in a separate step afterwards. - * This is important because all modules need to be disposed to update the - * parent/child relationships before they are actually removed from the devModuleCache. - * If this was done in this method, the following disposeModule calls won't find - * the module from the module id in the cache. - */ function disposeModule(moduleId, mode) { - const module = devModuleCache[moduleId]; - if (!module) { - return; - } - const hotState = moduleHotState.get(module); - const data = {}; - // Run the `hot.dispose` handler, if any, passing in the persistent - // `hot.data` object. - for (const disposeHandler of hotState.disposeHandlers){ - disposeHandler(data); - } - // This used to warn in `getOrInstantiateModuleFromParent` when a disposed - // module is still importing other modules. - module.hot.active = false; - moduleHotState.delete(module); - // TODO(alexkirsz) Dependencies: delete the module from outdated deps. - // Remove the disposed module from its children's parent list. - // It will be added back once the module re-instantiates and imports its - // children again. - for (const childId of module.children){ - const child = devModuleCache[childId]; - if (!child) { - continue; - } - const idx = child.parents.indexOf(module.id); - if (idx >= 0) { - child.parents.splice(idx, 1); - } - } - switch(mode){ - case 'clear': - delete devModuleCache[module.id]; - moduleHotData.delete(module.id); - break; - case 'replace': - moduleHotData.set(module.id, data); - break; - default: - invariant(mode, (mode)=>`invalid mode: ${mode}`); - } -} -function applyPhase(outdatedSelfAcceptedModules, newModuleFactories, outdatedModuleParents, reportError) { - // Update module factories. - for (const [moduleId, factory] of newModuleFactories.entries()){ - applyModuleFactoryName(factory); - moduleFactories.set(moduleId, factory); - } - // TODO(alexkirsz) Run new runtime entries here. - // TODO(alexkirsz) Dependencies: call accept handlers for outdated deps. - // Re-instantiate all outdated self-accepted modules. - for (const { moduleId, errorHandler } of outdatedSelfAcceptedModules){ - try { - instantiateModule(moduleId, SourceType.Update, outdatedModuleParents.get(moduleId)); - } catch (err) { - if (typeof errorHandler === 'function') { - try { - errorHandler(err, { - moduleId, - module: devModuleCache[moduleId] - }); - } catch (err2) { - reportError(err2); - reportError(err); - } - } else { - reportError(err); - } - } - } -} -function applyUpdate(update) { - switch(update.type){ - case 'ChunkListUpdate': - applyChunkListUpdate(update); - break; - default: - invariant(update, (update)=>`Unknown update type: ${update.type}`); - } -} -function applyChunkListUpdate(update) { - if (update.merged != null) { - for (const merged of update.merged){ - switch(merged.type){ - case 'EcmascriptMergedUpdate': - applyEcmascriptMergedUpdate(merged); - break; - default: - invariant(merged, (merged)=>`Unknown merged type: ${merged.type}`); - } - } - } - if (update.chunks != null) { - for (const [chunkPath, chunkUpdate] of Object.entries(update.chunks)){ - const chunkUrl = getChunkRelativeUrl(chunkPath); - switch(chunkUpdate.type){ - case 'added': - BACKEND.loadChunkCached(SourceType.Update, chunkUrl); - break; - case 'total': - DEV_BACKEND.reloadChunk?.(chunkUrl); - break; - case 'deleted': - DEV_BACKEND.unloadChunk?.(chunkUrl); - break; - case 'partial': - invariant(chunkUpdate.instruction, (instruction)=>`Unknown partial instruction: ${JSON.stringify(instruction)}.`); - break; - default: - invariant(chunkUpdate, (chunkUpdate)=>`Unknown chunk update type: ${chunkUpdate.type}`); - } - } - } -} -function applyEcmascriptMergedUpdate(update) { - const { entries = {}, chunks = {} } = update; - const { added, modified, chunksAdded, chunksDeleted } = computeChangedModules(entries, chunks); - const { outdatedModules, newModuleFactories } = computeOutdatedModules(added, modified); - const { disposedModules } = updateChunksPhase(chunksAdded, chunksDeleted); - applyInternal(outdatedModules, disposedModules, newModuleFactories); -} -function applyInvalidatedModules(outdatedModules) { - if (queuedInvalidatedModules.size > 0) { - computedInvalidatedModules(queuedInvalidatedModules).forEach((moduleId)=>{ - outdatedModules.add(moduleId); - }); - queuedInvalidatedModules.clear(); - } - return outdatedModules; -} -function applyInternal(outdatedModules, disposedModules, newModuleFactories) { - outdatedModules = applyInvalidatedModules(outdatedModules); - const outdatedSelfAcceptedModules = computeOutdatedSelfAcceptedModules(outdatedModules); - const { outdatedModuleParents } = disposePhase(outdatedModules, disposedModules); - // we want to continue on error and only throw the error after we tried applying all updates - let error; - function reportError(err) { - if (!error) error = err; - } - applyPhase(outdatedSelfAcceptedModules, newModuleFactories, outdatedModuleParents, reportError); - if (error) { - throw error; - } - if (queuedInvalidatedModules.size > 0) { - applyInternal(new Set(), [], new Map()); - } -} -function computeChangedModules(entries, updates) { - const chunksAdded = new Map(); - const chunksDeleted = new Map(); - const added = new Map(); - const modified = new Map(); - const deleted = new Set(); - for (const [chunkPath, mergedChunkUpdate] of Object.entries(updates)){ - switch(mergedChunkUpdate.type){ - case 'added': - { - const updateAdded = new Set(mergedChunkUpdate.modules); - for (const moduleId of updateAdded){ - added.set(moduleId, entries[moduleId]); - } - chunksAdded.set(chunkPath, updateAdded); - break; - } - case 'deleted': - { - // We could also use `mergedChunkUpdate.modules` here. - const updateDeleted = new Set(chunkModulesMap.get(chunkPath)); - for (const moduleId of updateDeleted){ - deleted.add(moduleId); - } - chunksDeleted.set(chunkPath, updateDeleted); - break; - } - case 'partial': - { - const updateAdded = new Set(mergedChunkUpdate.added); - const updateDeleted = new Set(mergedChunkUpdate.deleted); - for (const moduleId of updateAdded){ - added.set(moduleId, entries[moduleId]); - } - for (const moduleId of updateDeleted){ - deleted.add(moduleId); - } - chunksAdded.set(chunkPath, updateAdded); - chunksDeleted.set(chunkPath, updateDeleted); - break; - } - default: - invariant(mergedChunkUpdate, (mergedChunkUpdate)=>`Unknown merged chunk update type: ${mergedChunkUpdate.type}`); - } - } - // If a module was added from one chunk and deleted from another in the same update, - // consider it to be modified, as it means the module was moved from one chunk to another - // AND has new code in a single update. - for (const moduleId of added.keys()){ - if (deleted.has(moduleId)) { - added.delete(moduleId); - deleted.delete(moduleId); - } - } - for (const [moduleId, entry] of Object.entries(entries)){ - // Modules that haven't been added to any chunk but have new code are considered - // to be modified. - // This needs to be under the previous loop, as we need it to get rid of modules - // that were added and deleted in the same update. - if (!added.has(moduleId)) { - modified.set(moduleId, entry); - } - } - return { - added, - deleted, - modified, - chunksAdded, - chunksDeleted - }; -} -function getAffectedModuleEffects(moduleId) { - const outdatedModules = new Set(); - const queue = [ - { - moduleId, - dependencyChain: [] - } - ]; - let nextItem; - while(nextItem = queue.shift()){ - const { moduleId, dependencyChain } = nextItem; - if (moduleId != null) { - if (outdatedModules.has(moduleId)) { - continue; - } - outdatedModules.add(moduleId); - } - // We've arrived at the runtime of the chunk, which means that nothing - // else above can accept this update. - if (moduleId === undefined) { - return { - type: 'unaccepted', - dependencyChain - }; - } - const module = devModuleCache[moduleId]; - const hotState = moduleHotState.get(module); - if (// The module is not in the cache. Since this is a "modified" update, - // it means that the module was never instantiated before. - !module || hotState.selfAccepted && !hotState.selfInvalidated) { - continue; - } - if (hotState.selfDeclined) { - return { - type: 'self-declined', - dependencyChain, - moduleId - }; - } - if (runtimeModules.has(moduleId)) { - queue.push({ - moduleId: undefined, - dependencyChain: [ - ...dependencyChain, - moduleId - ] - }); - continue; - } - for (const parentId of module.parents){ - const parent = devModuleCache[parentId]; - if (!parent) { - continue; - } - // TODO(alexkirsz) Dependencies: check accepted and declined - // dependencies here. - queue.push({ - moduleId: parentId, - dependencyChain: [ - ...dependencyChain, - moduleId - ] - }); - } - } - return { - type: 'accepted', - moduleId, - outdatedModules - }; -} -function handleApply(chunkListPath, update) { - switch(update.type){ - case 'partial': - { - // This indicates that the update is can be applied to the current state of the application. - applyUpdate(update.instruction); - break; - } - case 'restart': - { - // This indicates that there is no way to apply the update to the - // current state of the application, and that the application must be - // restarted. - DEV_BACKEND.restart(); - break; - } - case 'notFound': - { - // This indicates that the chunk list no longer exists: either the dynamic import which created it was removed, - // or the page itself was deleted. - // If it is a dynamic import, we simply discard all modules that the chunk has exclusive access to. - // If it is a runtime chunk list, we restart the application. - if (runtimeChunkLists.has(chunkListPath)) { - DEV_BACKEND.restart(); - } else { - disposeChunkList(chunkListPath); - } - break; - } - default: - throw new Error(`Unknown update type: ${update.type}`); - } -} -function createModuleHot(moduleId, hotData) { - const hotState = { - selfAccepted: false, - selfDeclined: false, - selfInvalidated: false, - disposeHandlers: [] - }; - const hot = { - // TODO(alexkirsz) This is not defined in the HMR API. It was used to - // decide whether to warn whenever an HMR-disposed module required other - // modules. We might want to remove it. - active: true, - data: hotData ?? {}, - // TODO(alexkirsz) Support full (dep, callback, errorHandler) form. - accept: (modules, _callback, _errorHandler)=>{ - if (modules === undefined) { - hotState.selfAccepted = true; - } else if (typeof modules === 'function') { - hotState.selfAccepted = modules; - } else { - throw new Error('unsupported `accept` signature'); - } - }, - decline: (dep)=>{ - if (dep === undefined) { - hotState.selfDeclined = true; - } else { - throw new Error('unsupported `decline` signature'); - } - }, - dispose: (callback)=>{ - hotState.disposeHandlers.push(callback); - }, - addDisposeHandler: (callback)=>{ - hotState.disposeHandlers.push(callback); - }, - removeDisposeHandler: (callback)=>{ - const idx = hotState.disposeHandlers.indexOf(callback); - if (idx >= 0) { - hotState.disposeHandlers.splice(idx, 1); - } - }, - invalidate: ()=>{ - hotState.selfInvalidated = true; - queuedInvalidatedModules.add(moduleId); - }, - // NOTE(alexkirsz) This is part of the management API, which we don't - // implement, but the Next.js React Refresh runtime uses this to decide - // whether to schedule an update. - status: ()=>'idle', - // NOTE(alexkirsz) Since we always return "idle" for now, these are no-ops. - addStatusHandler: (_handler)=>{}, - removeStatusHandler: (_handler)=>{}, - // NOTE(jridgewell) Check returns the list of updated modules, but we don't - // want the webpack code paths to ever update (the turbopack paths handle - // this already). - check: ()=>Promise.resolve(null) - }; - return { - hot, - hotState - }; -} -/** - * Removes a module from a chunk. - * Returns `true` if there are no remaining chunks including this module. - */ function removeModuleFromChunk(moduleId, chunkPath) { - const moduleChunks = moduleChunksMap.get(moduleId); - moduleChunks.delete(chunkPath); - const chunkModules = chunkModulesMap.get(chunkPath); - chunkModules.delete(moduleId); - const noRemainingModules = chunkModules.size === 0; - if (noRemainingModules) { - chunkModulesMap.delete(chunkPath); - } - const noRemainingChunks = moduleChunks.size === 0; - if (noRemainingChunks) { - moduleChunksMap.delete(moduleId); - } - return noRemainingChunks; -} -/** - * Disposes of a chunk list and its corresponding exclusive chunks. - */ function disposeChunkList(chunkListPath) { - const chunkPaths = chunkListChunksMap.get(chunkListPath); - if (chunkPaths == null) { - return false; - } - chunkListChunksMap.delete(chunkListPath); - for (const chunkPath of chunkPaths){ - const chunkChunkLists = chunkChunkListsMap.get(chunkPath); - chunkChunkLists.delete(chunkListPath); - if (chunkChunkLists.size === 0) { - chunkChunkListsMap.delete(chunkPath); - disposeChunk(chunkPath); - } - } - // We must also dispose of the chunk list's chunk itself to ensure it may - // be reloaded properly in the future. - const chunkListUrl = getChunkRelativeUrl(chunkListPath); - DEV_BACKEND.unloadChunk?.(chunkListUrl); - return true; -} -/** - * Disposes of a chunk and its corresponding exclusive modules. - * - * @returns Whether the chunk was disposed of. - */ function disposeChunk(chunkPath) { - const chunkUrl = getChunkRelativeUrl(chunkPath); - // This should happen whether the chunk has any modules in it or not. - // For instance, CSS chunks have no modules in them, but they still need to be unloaded. - DEV_BACKEND.unloadChunk?.(chunkUrl); - const chunkModules = chunkModulesMap.get(chunkPath); - if (chunkModules == null) { - return false; - } - chunkModules.delete(chunkPath); - for (const moduleId of chunkModules){ - const moduleChunks = moduleChunksMap.get(moduleId); - moduleChunks.delete(chunkPath); - const noRemainingChunks = moduleChunks.size === 0; - if (noRemainingChunks) { - moduleChunksMap.delete(moduleId); - disposeModule(moduleId, 'clear'); - availableModules.delete(moduleId); - } - } - return true; -} -/** - * Adds a module to a chunk. - */ function addModuleToChunk(moduleId, chunkPath) { - let moduleChunks = moduleChunksMap.get(moduleId); - if (!moduleChunks) { - moduleChunks = new Set([ - chunkPath - ]); - moduleChunksMap.set(moduleId, moduleChunks); - } else { - moduleChunks.add(chunkPath); - } - let chunkModules = chunkModulesMap.get(chunkPath); - if (!chunkModules) { - chunkModules = new Set([ - moduleId - ]); - chunkModulesMap.set(chunkPath, chunkModules); - } else { - chunkModules.add(moduleId); - } -} -/** - * Marks a chunk list as a runtime chunk list. There can be more than one - * runtime chunk list. For instance, integration tests can have multiple chunk - * groups loaded at runtime, each with its own chunk list. - */ function markChunkListAsRuntime(chunkListPath) { - runtimeChunkLists.add(chunkListPath); -} -function registerChunk(registration) { - const chunkPath = getPathFromScript(registration[0]); - let runtimeParams; - // When bootstrapping we are passed a single runtimeParams object so we can distinguish purely based on length - if (registration.length === 2) { - runtimeParams = registration[1]; - } else { - runtimeParams = undefined; - installCompressedModuleFactories(registration, /* offset= */ 1, moduleFactories, (id)=>addModuleToChunk(id, chunkPath)); - } - return BACKEND.registerChunk(chunkPath, runtimeParams); -} -/** - * Subscribes to chunk list updates from the update server and applies them. - */ function registerChunkList(chunkList) { - const chunkListScript = chunkList.script; - const chunkListPath = getPathFromScript(chunkListScript); - // The "chunk" is also registered to finish the loading in the backend - BACKEND.registerChunk(chunkListPath); - globalThis.TURBOPACK_CHUNK_UPDATE_LISTENERS.push([ - chunkListPath, - handleApply.bind(null, chunkListPath) - ]); - // Adding chunks to chunk lists and vice versa. - const chunkPaths = new Set(chunkList.chunks.map(getChunkPath)); - chunkListChunksMap.set(chunkListPath, chunkPaths); - for (const chunkPath of chunkPaths){ - let chunkChunkLists = chunkChunkListsMap.get(chunkPath); - if (!chunkChunkLists) { - chunkChunkLists = new Set([ - chunkListPath - ]); - chunkChunkListsMap.set(chunkPath, chunkChunkLists); - } else { - chunkChunkLists.add(chunkListPath); - } - } - if (chunkList.source === 'entry') { - markChunkListAsRuntime(chunkListPath); - } -} -globalThis.TURBOPACK_CHUNK_UPDATE_LISTENERS ??= []; -/** - * This file contains the runtime code specific to the Turbopack development - * ECMAScript DOM runtime. - * - * It will be appended to the base development runtime code. - */ /* eslint-disable @typescript-eslint/no-unused-vars */ /// <reference path="../../../browser/runtime/base/runtime-base.ts" /> -/// <reference path="../../../shared/runtime-types.d.ts" /> -let BACKEND; -/** - * Maps chunk paths to the corresponding resolver. - */ const chunkResolvers = new Map(); -(()=>{ - BACKEND = { - async registerChunk (chunkPath, params) { - const chunkUrl = getChunkRelativeUrl(chunkPath); - const resolver = getOrCreateResolver(chunkUrl); - resolver.resolve(); - if (params == null) { - return; - } - for (const otherChunkData of params.otherChunks){ - const otherChunkPath = getChunkPath(otherChunkData); - const otherChunkUrl = getChunkRelativeUrl(otherChunkPath); - // Chunk might have started loading, so we want to avoid triggering another load. - getOrCreateResolver(otherChunkUrl); - } - // This waits for chunks to be loaded, but also marks included items as available. - await Promise.all(params.otherChunks.map((otherChunkData)=>loadInitialChunk(chunkPath, otherChunkData))); - if (params.runtimeModuleIds.length > 0) { - for (const moduleId of params.runtimeModuleIds){ - getOrInstantiateRuntimeModule(chunkPath, moduleId); - } - } - }, - /** - * Loads the given chunk, and returns a promise that resolves once the chunk - * has been loaded. - */ loadChunkCached (sourceType, chunkUrl) { - return doLoadChunk(sourceType, chunkUrl); - }, - async loadWebAssembly (_sourceType, _sourceData, wasmChunkPath, _edgeModule, importsObj) { - const req = fetchWebAssembly(wasmChunkPath); - const { instance } = await WebAssembly.instantiateStreaming(req, importsObj); - return instance.exports; - }, - async loadWebAssemblyModule (_sourceType, _sourceData, wasmChunkPath, _edgeModule) { - const req = fetchWebAssembly(wasmChunkPath); - return await WebAssembly.compileStreaming(req); - } - }; - function getOrCreateResolver(chunkUrl) { - let resolver = chunkResolvers.get(chunkUrl); - if (!resolver) { - let resolve; - let reject; - const promise = new Promise((innerResolve, innerReject)=>{ - resolve = innerResolve; - reject = innerReject; - }); - resolver = { - resolved: false, - loadingStarted: false, - promise, - resolve: ()=>{ - resolver.resolved = true; - resolve(); - }, - reject: reject - }; - chunkResolvers.set(chunkUrl, resolver); - } - return resolver; - } - /** - * Loads the given chunk, and returns a promise that resolves once the chunk - * has been loaded. - */ function doLoadChunk(sourceType, chunkUrl) { - const resolver = getOrCreateResolver(chunkUrl); - if (resolver.loadingStarted) { - return resolver.promise; - } - if (sourceType === SourceType.Runtime) { - // We don't need to load chunks references from runtime code, as they're already - // present in the DOM. - resolver.loadingStarted = true; - if (isCss(chunkUrl)) { - // CSS chunks do not register themselves, and as such must be marked as - // loaded instantly. - resolver.resolve(); - } - // We need to wait for JS chunks to register themselves within `registerChunk` - // before we can start instantiating runtime modules, hence the absence of - // `resolver.resolve()` in this branch. - return resolver.promise; - } - if (typeof importScripts === 'function') { - // We're in a web worker - if (isCss(chunkUrl)) { - // ignore - } else if (isJs(chunkUrl)) { - self.TURBOPACK_NEXT_CHUNK_URLS.push(chunkUrl); - importScripts(TURBOPACK_WORKER_LOCATION + chunkUrl); - } else { - throw new Error(`can't infer type of chunk from URL ${chunkUrl} in worker`); - } - } else { - // TODO(PACK-2140): remove this once all filenames are guaranteed to be escaped. - const decodedChunkUrl = decodeURI(chunkUrl); - if (isCss(chunkUrl)) { - const previousLinks = document.querySelectorAll(`link[rel=stylesheet][href="${chunkUrl}"],link[rel=stylesheet][href^="${chunkUrl}?"],link[rel=stylesheet][href="${decodedChunkUrl}"],link[rel=stylesheet][href^="${decodedChunkUrl}?"]`); - if (previousLinks.length > 0) { - // CSS chunks do not register themselves, and as such must be marked as - // loaded instantly. - resolver.resolve(); - } else { - const link = document.createElement('link'); - link.rel = 'stylesheet'; - link.href = chunkUrl; - link.onerror = ()=>{ - resolver.reject(); - }; - link.onload = ()=>{ - // CSS chunks do not register themselves, and as such must be marked as - // loaded instantly. - resolver.resolve(); - }; - // Append to the `head` for webpack compatibility. - document.head.appendChild(link); - } - } else if (isJs(chunkUrl)) { - const previousScripts = document.querySelectorAll(`script[src="${chunkUrl}"],script[src^="${chunkUrl}?"],script[src="${decodedChunkUrl}"],script[src^="${decodedChunkUrl}?"]`); - if (previousScripts.length > 0) { - // There is this edge where the script already failed loading, but we - // can't detect that. The Promise will never resolve in this case. - for (const script of Array.from(previousScripts)){ - script.addEventListener('error', ()=>{ - resolver.reject(); - }); - } - } else { - const script = document.createElement('script'); - script.src = chunkUrl; - // We'll only mark the chunk as loaded once the script has been executed, - // which happens in `registerChunk`. Hence the absence of `resolve()` in - // this branch. - script.onerror = ()=>{ - resolver.reject(); - }; - // Append to the `head` for webpack compatibility. - document.head.appendChild(script); - } - } else { - throw new Error(`can't infer type of chunk from URL ${chunkUrl}`); - } - } - resolver.loadingStarted = true; - return resolver.promise; - } - function fetchWebAssembly(wasmChunkPath) { - return fetch(getChunkRelativeUrl(wasmChunkPath)); - } -})(); -/** - * This file contains the runtime code specific to the Turbopack development - * ECMAScript DOM runtime. - * - * It will be appended to the base development runtime code. - */ /* eslint-disable @typescript-eslint/no-unused-vars */ /// <reference path="../base/runtime-base.ts" /> -/// <reference path="../base/dev-base.ts" /> -/// <reference path="./runtime-backend-dom.ts" /> -/// <reference path="../../../shared/require-type.d.ts" /> -let DEV_BACKEND; -(()=>{ - DEV_BACKEND = { - unloadChunk (chunkUrl) { - deleteResolver(chunkUrl); - // TODO(PACK-2140): remove this once all filenames are guaranteed to be escaped. - const decodedChunkUrl = decodeURI(chunkUrl); - if (isCss(chunkUrl)) { - const links = document.querySelectorAll(`link[href="${chunkUrl}"],link[href^="${chunkUrl}?"],link[href="${decodedChunkUrl}"],link[href^="${decodedChunkUrl}?"]`); - for (const link of Array.from(links)){ - link.remove(); - } - } else if (isJs(chunkUrl)) { - // Unloading a JS chunk would have no effect, as it lives in the JS - // runtime once evaluated. - // However, we still want to remove the script tag from the DOM to keep - // the HTML somewhat consistent from the user's perspective. - const scripts = document.querySelectorAll(`script[src="${chunkUrl}"],script[src^="${chunkUrl}?"],script[src="${decodedChunkUrl}"],script[src^="${decodedChunkUrl}?"]`); - for (const script of Array.from(scripts)){ - script.remove(); - } - } else { - throw new Error(`can't infer type of chunk from URL ${chunkUrl}`); - } - }, - reloadChunk (chunkUrl) { - return new Promise((resolve, reject)=>{ - if (!isCss(chunkUrl)) { - reject(new Error('The DOM backend can only reload CSS chunks')); - return; - } - const decodedChunkUrl = decodeURI(chunkUrl); - const previousLinks = document.querySelectorAll(`link[rel=stylesheet][href="${chunkUrl}"],link[rel=stylesheet][href^="${chunkUrl}?"],link[rel=stylesheet][href="${decodedChunkUrl}"],link[rel=stylesheet][href^="${decodedChunkUrl}?"]`); - if (previousLinks.length === 0) { - reject(new Error(`No link element found for chunk ${chunkUrl}`)); - return; - } - const link = document.createElement('link'); - link.rel = 'stylesheet'; - if (navigator.userAgent.includes('Firefox')) { - // Firefox won't reload CSS files that were previously loaded on the current page, - // we need to add a query param to make sure CSS is actually reloaded from the server. - // - // I believe this is this issue: https://bugzilla.mozilla.org/show_bug.cgi?id=1037506 - // - // Safari has a similar issue, but only if you have a `<link rel=preload ... />` tag - // pointing to the same URL as the stylesheet: https://bugs.webkit.org/show_bug.cgi?id=187726 - link.href = `${chunkUrl}?ts=${Date.now()}`; - } else { - link.href = chunkUrl; - } - link.onerror = ()=>{ - reject(); - }; - link.onload = ()=>{ - // First load the new CSS, then remove the old ones. This prevents visible - // flickering that would happen in-between removing the previous CSS and - // loading the new one. - for (const previousLink of Array.from(previousLinks))previousLink.remove(); - // CSS chunks do not register themselves, and as such must be marked as - // loaded instantly. - resolve(); - }; - // Make sure to insert the new CSS right after the previous one, so that - // its precedence is higher. - previousLinks[0].parentElement.insertBefore(link, previousLinks[0].nextSibling); - }); - }, - restart: ()=>self.location.reload() - }; - function deleteResolver(chunkUrl) { - chunkResolvers.delete(chunkUrl); - } -})(); -function _eval({ code, url, map }) { - code += `\n\n//# sourceURL=${encodeURI(location.origin + CHUNK_BASE_PATH + url + CHUNK_SUFFIX)}`; - if (map) { - code += `\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,${btoa(// btoa doesn't handle nonlatin characters, so escape them as \x sequences - // See https://stackoverflow.com/a/26603875 - unescape(encodeURIComponent(map)))}`; - } - // eslint-disable-next-line no-eval - return eval(code); -} -const chunksToRegister = globalThis.TURBOPACK; -globalThis.TURBOPACK = { push: registerChunk }; -chunksToRegister.forEach(registerChunk); -const chunkListsToRegister = globalThis.TURBOPACK_CHUNK_LISTS || []; -globalThis.TURBOPACK_CHUNK_LISTS = { push: registerChunkList }; -chunkListsToRegister.forEach(registerChunkList); -})(); - - -//# sourceMappingURL=_23a915ee._.js.map \ No newline at end of file diff --git a/docs/.gitignore b/apps/docs/.gitignore similarity index 100% rename from docs/.gitignore rename to apps/docs/.gitignore diff --git a/docs/CONTRIBUTING.md b/apps/docs/CONTRIBUTING.md similarity index 100% rename from docs/CONTRIBUTING.md rename to apps/docs/CONTRIBUTING.md diff --git a/docs/README.md b/apps/docs/README.md similarity index 100% rename from docs/README.md rename to apps/docs/README.md diff --git a/docs/app/_meta.tsx b/apps/docs/app/_meta.tsx similarity index 100% rename from docs/app/_meta.tsx rename to apps/docs/app/_meta.tsx diff --git a/docs/app/api/search/route.ts b/apps/docs/app/api/search/route.ts similarity index 100% rename from docs/app/api/search/route.ts rename to apps/docs/app/api/search/route.ts diff --git a/docs/app/docs/[[...slug]]/page.tsx b/apps/docs/app/docs/[[...slug]]/page.tsx similarity index 100% rename from docs/app/docs/[[...slug]]/page.tsx rename to apps/docs/app/docs/[[...slug]]/page.tsx diff --git a/docs/app/docs/layout.tsx b/apps/docs/app/docs/layout.tsx similarity index 100% rename from docs/app/docs/layout.tsx rename to apps/docs/app/docs/layout.tsx diff --git a/docs/app/globals.css b/apps/docs/app/globals.css similarity index 100% rename from docs/app/globals.css rename to apps/docs/app/globals.css diff --git a/docs/app/layout.tsx b/apps/docs/app/layout.tsx similarity index 100% rename from docs/app/layout.tsx rename to apps/docs/app/layout.tsx diff --git a/docs/app/page.tsx b/apps/docs/app/page.tsx similarity index 100% rename from docs/app/page.tsx rename to apps/docs/app/page.tsx diff --git a/docs/content/docs/Installation.mdx b/apps/docs/content/docs/Installation.mdx similarity index 100% rename from docs/content/docs/Installation.mdx rename to apps/docs/content/docs/Installation.mdx diff --git a/docs/content/docs/_meta.json b/apps/docs/content/docs/_meta.json similarity index 100% rename from docs/content/docs/_meta.json rename to apps/docs/content/docs/_meta.json diff --git a/docs/content/docs/components/badge.mdx b/apps/docs/content/docs/components/badge.mdx similarity index 100% rename from docs/content/docs/components/badge.mdx rename to apps/docs/content/docs/components/badge.mdx diff --git a/docs/content/docs/components/card.mdx b/apps/docs/content/docs/components/card.mdx similarity index 100% rename from docs/content/docs/components/card.mdx rename to apps/docs/content/docs/components/card.mdx diff --git a/docs/content/docs/components/discrete-tabs.mdx b/apps/docs/content/docs/components/discrete-tabs.mdx similarity index 100% rename from docs/content/docs/components/discrete-tabs.mdx rename to apps/docs/content/docs/components/discrete-tabs.mdx diff --git a/docs/content/docs/components/filter.mdx b/apps/docs/content/docs/components/filter.mdx similarity index 100% rename from docs/content/docs/components/filter.mdx rename to apps/docs/content/docs/components/filter.mdx diff --git a/docs/content/docs/components/money-checkout.mdx b/apps/docs/content/docs/components/money-checkout.mdx similarity index 100% rename from docs/content/docs/components/money-checkout.mdx rename to apps/docs/content/docs/components/money-checkout.mdx diff --git a/docs/content/docs/components/pin-input.mdx b/apps/docs/content/docs/components/pin-input.mdx similarity index 100% rename from docs/content/docs/components/pin-input.mdx rename to apps/docs/content/docs/components/pin-input.mdx diff --git a/docs/content/docs/components/pop-card.mdx b/apps/docs/content/docs/components/pop-card.mdx similarity index 100% rename from docs/content/docs/components/pop-card.mdx rename to apps/docs/content/docs/components/pop-card.mdx diff --git a/docs/content/docs/components/profile-card.mdx b/apps/docs/content/docs/components/profile-card.mdx similarity index 100% rename from docs/content/docs/components/profile-card.mdx rename to apps/docs/content/docs/components/profile-card.mdx diff --git a/docs/content/docs/introduction.mdx b/apps/docs/content/docs/introduction.mdx similarity index 100% rename from docs/content/docs/introduction.mdx rename to apps/docs/content/docs/introduction.mdx diff --git a/docs/eslint.config.mjs b/apps/docs/eslint.config.mjs similarity index 100% rename from docs/eslint.config.mjs rename to apps/docs/eslint.config.mjs diff --git a/docs/lib/layout.shared.tsx b/apps/docs/lib/layout.shared.tsx similarity index 100% rename from docs/lib/layout.shared.tsx rename to apps/docs/lib/layout.shared.tsx diff --git a/docs/lib/source.ts b/apps/docs/lib/source.ts similarity index 100% rename from docs/lib/source.ts rename to apps/docs/lib/source.ts diff --git a/docs/lib/utils/cn.ts b/apps/docs/lib/utils/cn.ts similarity index 100% rename from docs/lib/utils/cn.ts rename to apps/docs/lib/utils/cn.ts diff --git a/docs/mdx-components.tsx b/apps/docs/mdx-components.tsx similarity index 100% rename from docs/mdx-components.tsx rename to apps/docs/mdx-components.tsx diff --git a/docs/next.config.mjs b/apps/docs/next.config.mjs similarity index 100% rename from docs/next.config.mjs rename to apps/docs/next.config.mjs diff --git a/docs/package.json b/apps/docs/package.json similarity index 95% rename from docs/package.json rename to apps/docs/package.json index 30a2d5f..27a4226 100644 --- a/docs/package.json +++ b/apps/docs/package.json @@ -1,9 +1,9 @@ { - "name": "docs", + "name": "@sol-ui/docs", "version": "0.1.0", "private": true, "scripts": { - "dev": "next dev ", + "dev": "next dev", "build": "next build", "start": "next start", "build:docs": "fumadocs-mdx", diff --git a/docs/postcss.config.mjs b/apps/docs/postcss.config.mjs similarity index 100% rename from docs/postcss.config.mjs rename to apps/docs/postcss.config.mjs diff --git a/docs/public/image10.jpg b/apps/docs/public/image10.jpg similarity index 100% rename from docs/public/image10.jpg rename to apps/docs/public/image10.jpg diff --git a/docs/public/image11.jpg b/apps/docs/public/image11.jpg similarity index 100% rename from docs/public/image11.jpg rename to apps/docs/public/image11.jpg diff --git a/docs/public/image12.jpg b/apps/docs/public/image12.jpg similarity index 100% rename from docs/public/image12.jpg rename to apps/docs/public/image12.jpg diff --git a/docs/public/image2.jpg b/apps/docs/public/image2.jpg similarity index 100% rename from docs/public/image2.jpg rename to apps/docs/public/image2.jpg diff --git a/docs/public/image3.jpg b/apps/docs/public/image3.jpg similarity index 100% rename from docs/public/image3.jpg rename to apps/docs/public/image3.jpg diff --git a/docs/public/image4.jpg b/apps/docs/public/image4.jpg similarity index 100% rename from docs/public/image4.jpg rename to apps/docs/public/image4.jpg diff --git a/docs/public/image5.jpg b/apps/docs/public/image5.jpg similarity index 100% rename from docs/public/image5.jpg rename to apps/docs/public/image5.jpg diff --git a/docs/public/image6.jpg b/apps/docs/public/image6.jpg similarity index 100% rename from docs/public/image6.jpg rename to apps/docs/public/image6.jpg diff --git a/docs/public/image8.jpg b/apps/docs/public/image8.jpg similarity index 100% rename from docs/public/image8.jpg rename to apps/docs/public/image8.jpg diff --git a/docs/public/image9.jpg b/apps/docs/public/image9.jpg similarity index 100% rename from docs/public/image9.jpg rename to apps/docs/public/image9.jpg diff --git a/docs/public/imagr7.jpg b/apps/docs/public/imagr7.jpg similarity index 100% rename from docs/public/imagr7.jpg rename to apps/docs/public/imagr7.jpg diff --git a/docs/public/screen-3.jpg b/apps/docs/public/screen-3.jpg similarity index 100% rename from docs/public/screen-3.jpg rename to apps/docs/public/screen-3.jpg diff --git a/docs/public/screen-4.jpg b/apps/docs/public/screen-4.jpg similarity index 100% rename from docs/public/screen-4.jpg rename to apps/docs/public/screen-4.jpg diff --git a/docs/public/screen-5.jpg b/apps/docs/public/screen-5.jpg similarity index 100% rename from docs/public/screen-5.jpg rename to apps/docs/public/screen-5.jpg diff --git a/docs/public/screen1.jpg b/apps/docs/public/screen1.jpg similarity index 100% rename from docs/public/screen1.jpg rename to apps/docs/public/screen1.jpg diff --git a/docs/public/screen2.jpg b/apps/docs/public/screen2.jpg similarity index 100% rename from docs/public/screen2.jpg rename to apps/docs/public/screen2.jpg diff --git a/docs/source.config.ts b/apps/docs/source.config.ts similarity index 100% rename from docs/source.config.ts rename to apps/docs/source.config.ts diff --git a/docs/src/components/docs/component-container.tsx b/apps/docs/src/components/docs/component-container.tsx similarity index 100% rename from docs/src/components/docs/component-container.tsx rename to apps/docs/src/components/docs/component-container.tsx diff --git a/docs/src/components/docs/component-installation.tsx b/apps/docs/src/components/docs/component-installation.tsx similarity index 100% rename from docs/src/components/docs/component-installation.tsx rename to apps/docs/src/components/docs/component-installation.tsx diff --git a/docs/src/components/docs/component-preview.tsx b/apps/docs/src/components/docs/component-preview.tsx similarity index 100% rename from docs/src/components/docs/component-preview.tsx rename to apps/docs/src/components/docs/component-preview.tsx diff --git a/docs/src/components/ui/card-animate.tsx b/apps/docs/src/components/ui/card-animate.tsx similarity index 100% rename from docs/src/components/ui/card-animate.tsx rename to apps/docs/src/components/ui/card-animate.tsx diff --git a/docs/src/components/ui/component-preview.tsx b/apps/docs/src/components/ui/component-preview.tsx similarity index 100% rename from docs/src/components/ui/component-preview.tsx rename to apps/docs/src/components/ui/component-preview.tsx diff --git a/docs/src/components/ui/footer.tsx b/apps/docs/src/components/ui/footer.tsx similarity index 100% rename from docs/src/components/ui/footer.tsx rename to apps/docs/src/components/ui/footer.tsx diff --git a/docs/src/components/ui/navbar.tsx b/apps/docs/src/components/ui/navbar.tsx similarity index 100% rename from docs/src/components/ui/navbar.tsx rename to apps/docs/src/components/ui/navbar.tsx diff --git a/docs/src/components/ui/source-code.tsx b/apps/docs/src/components/ui/source-code.tsx similarity index 100% rename from docs/src/components/ui/source-code.tsx rename to apps/docs/src/components/ui/source-code.tsx diff --git a/docs/src/sections/animation-theme-component.tsx b/apps/docs/src/sections/animation-theme-component.tsx similarity index 100% rename from docs/src/sections/animation-theme-component.tsx rename to apps/docs/src/sections/animation-theme-component.tsx diff --git a/docs/src/sections/hero.tsx b/apps/docs/src/sections/hero.tsx similarity index 100% rename from docs/src/sections/hero.tsx rename to apps/docs/src/sections/hero.tsx diff --git a/docs/tsconfig.json b/apps/docs/tsconfig.json similarity index 100% rename from docs/tsconfig.json rename to apps/docs/tsconfig.json diff --git a/expo/.gitignore b/apps/expo/.gitignore similarity index 100% rename from expo/.gitignore rename to apps/expo/.gitignore diff --git a/expo/android/.gitignore b/apps/expo/android/.gitignore similarity index 100% rename from expo/android/.gitignore rename to apps/expo/android/.gitignore diff --git a/expo/android/app/build.gradle b/apps/expo/android/app/build.gradle similarity index 100% rename from expo/android/app/build.gradle rename to apps/expo/android/app/build.gradle diff --git a/expo/android/app/debug.keystore b/apps/expo/android/app/debug.keystore similarity index 100% rename from expo/android/app/debug.keystore rename to apps/expo/android/app/debug.keystore diff --git a/expo/android/app/proguard-rules.pro b/apps/expo/android/app/proguard-rules.pro similarity index 100% rename from expo/android/app/proguard-rules.pro rename to apps/expo/android/app/proguard-rules.pro diff --git a/expo/android/app/src/debug/AndroidManifest.xml b/apps/expo/android/app/src/debug/AndroidManifest.xml similarity index 100% rename from expo/android/app/src/debug/AndroidManifest.xml rename to apps/expo/android/app/src/debug/AndroidManifest.xml diff --git a/expo/android/app/src/main/AndroidManifest.xml b/apps/expo/android/app/src/main/AndroidManifest.xml similarity index 100% rename from expo/android/app/src/main/AndroidManifest.xml rename to apps/expo/android/app/src/main/AndroidManifest.xml diff --git a/expo/android/app/src/main/java/com/anonymous/MagmaApplication/MainActivity.kt b/apps/expo/android/app/src/main/java/com/anonymous/MagmaApplication/MainActivity.kt similarity index 100% rename from expo/android/app/src/main/java/com/anonymous/MagmaApplication/MainActivity.kt rename to apps/expo/android/app/src/main/java/com/anonymous/MagmaApplication/MainActivity.kt diff --git a/expo/android/app/src/main/java/com/anonymous/MagmaApplication/MainApplication.kt b/apps/expo/android/app/src/main/java/com/anonymous/MagmaApplication/MainApplication.kt similarity index 100% rename from expo/android/app/src/main/java/com/anonymous/MagmaApplication/MainApplication.kt rename to apps/expo/android/app/src/main/java/com/anonymous/MagmaApplication/MainApplication.kt diff --git a/expo/android/app/src/main/res/drawable-hdpi/splashscreen_logo.png b/apps/expo/android/app/src/main/res/drawable-hdpi/splashscreen_logo.png similarity index 100% rename from expo/android/app/src/main/res/drawable-hdpi/splashscreen_logo.png rename to apps/expo/android/app/src/main/res/drawable-hdpi/splashscreen_logo.png diff --git a/expo/android/app/src/main/res/drawable-mdpi/splashscreen_logo.png b/apps/expo/android/app/src/main/res/drawable-mdpi/splashscreen_logo.png similarity index 100% rename from expo/android/app/src/main/res/drawable-mdpi/splashscreen_logo.png rename to apps/expo/android/app/src/main/res/drawable-mdpi/splashscreen_logo.png diff --git a/expo/android/app/src/main/res/drawable-xhdpi/splashscreen_logo.png b/apps/expo/android/app/src/main/res/drawable-xhdpi/splashscreen_logo.png similarity index 100% rename from expo/android/app/src/main/res/drawable-xhdpi/splashscreen_logo.png rename to apps/expo/android/app/src/main/res/drawable-xhdpi/splashscreen_logo.png diff --git a/expo/android/app/src/main/res/drawable-xxhdpi/splashscreen_logo.png b/apps/expo/android/app/src/main/res/drawable-xxhdpi/splashscreen_logo.png similarity index 100% rename from expo/android/app/src/main/res/drawable-xxhdpi/splashscreen_logo.png rename to apps/expo/android/app/src/main/res/drawable-xxhdpi/splashscreen_logo.png diff --git a/expo/android/app/src/main/res/drawable-xxxhdpi/splashscreen_logo.png b/apps/expo/android/app/src/main/res/drawable-xxxhdpi/splashscreen_logo.png similarity index 100% rename from expo/android/app/src/main/res/drawable-xxxhdpi/splashscreen_logo.png rename to apps/expo/android/app/src/main/res/drawable-xxxhdpi/splashscreen_logo.png diff --git a/expo/android/app/src/main/res/drawable/ic_launcher_background.xml b/apps/expo/android/app/src/main/res/drawable/ic_launcher_background.xml similarity index 100% rename from expo/android/app/src/main/res/drawable/ic_launcher_background.xml rename to apps/expo/android/app/src/main/res/drawable/ic_launcher_background.xml diff --git a/expo/android/app/src/main/res/drawable/rn_edit_text_material.xml b/apps/expo/android/app/src/main/res/drawable/rn_edit_text_material.xml similarity index 100% rename from expo/android/app/src/main/res/drawable/rn_edit_text_material.xml rename to apps/expo/android/app/src/main/res/drawable/rn_edit_text_material.xml diff --git a/expo/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/apps/expo/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml similarity index 100% rename from expo/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml rename to apps/expo/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml diff --git a/expo/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/apps/expo/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml similarity index 100% rename from expo/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml rename to apps/expo/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml diff --git a/expo/android/app/src/main/res/mipmap-hdpi/ic_launcher.webp b/apps/expo/android/app/src/main/res/mipmap-hdpi/ic_launcher.webp similarity index 100% rename from expo/android/app/src/main/res/mipmap-hdpi/ic_launcher.webp rename to apps/expo/android/app/src/main/res/mipmap-hdpi/ic_launcher.webp diff --git a/expo/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.webp b/apps/expo/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.webp similarity index 100% rename from expo/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.webp rename to apps/expo/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.webp diff --git a/expo/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp b/apps/expo/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp similarity index 100% rename from expo/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp rename to apps/expo/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp diff --git a/expo/android/app/src/main/res/mipmap-mdpi/ic_launcher.webp b/apps/expo/android/app/src/main/res/mipmap-mdpi/ic_launcher.webp similarity index 100% rename from expo/android/app/src/main/res/mipmap-mdpi/ic_launcher.webp rename to apps/expo/android/app/src/main/res/mipmap-mdpi/ic_launcher.webp diff --git a/expo/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.webp b/apps/expo/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.webp similarity index 100% rename from expo/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.webp rename to apps/expo/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.webp diff --git a/expo/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp b/apps/expo/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp similarity index 100% rename from expo/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp rename to apps/expo/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp diff --git a/expo/android/app/src/main/res/mipmap-xhdpi/ic_launcher.webp b/apps/expo/android/app/src/main/res/mipmap-xhdpi/ic_launcher.webp similarity index 100% rename from expo/android/app/src/main/res/mipmap-xhdpi/ic_launcher.webp rename to apps/expo/android/app/src/main/res/mipmap-xhdpi/ic_launcher.webp diff --git a/expo/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.webp b/apps/expo/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.webp similarity index 100% rename from expo/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.webp rename to apps/expo/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.webp diff --git a/expo/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp b/apps/expo/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp similarity index 100% rename from expo/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp rename to apps/expo/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp diff --git a/expo/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp b/apps/expo/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp similarity index 100% rename from expo/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp rename to apps/expo/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp diff --git a/expo/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.webp b/apps/expo/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.webp similarity index 100% rename from expo/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.webp rename to apps/expo/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.webp diff --git a/expo/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp b/apps/expo/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp similarity index 100% rename from expo/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp rename to apps/expo/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp diff --git a/expo/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp b/apps/expo/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp similarity index 100% rename from expo/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp rename to apps/expo/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp diff --git a/expo/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.webp b/apps/expo/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.webp similarity index 100% rename from expo/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.webp rename to apps/expo/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.webp diff --git a/expo/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp b/apps/expo/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp similarity index 100% rename from expo/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp rename to apps/expo/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp diff --git a/expo/android/app/src/main/res/values-night/colors.xml b/apps/expo/android/app/src/main/res/values-night/colors.xml similarity index 100% rename from expo/android/app/src/main/res/values-night/colors.xml rename to apps/expo/android/app/src/main/res/values-night/colors.xml diff --git a/expo/android/app/src/main/res/values/colors.xml b/apps/expo/android/app/src/main/res/values/colors.xml similarity index 100% rename from expo/android/app/src/main/res/values/colors.xml rename to apps/expo/android/app/src/main/res/values/colors.xml diff --git a/expo/android/app/src/main/res/values/strings.xml b/apps/expo/android/app/src/main/res/values/strings.xml similarity index 100% rename from expo/android/app/src/main/res/values/strings.xml rename to apps/expo/android/app/src/main/res/values/strings.xml diff --git a/expo/android/app/src/main/res/values/styles.xml b/apps/expo/android/app/src/main/res/values/styles.xml similarity index 100% rename from expo/android/app/src/main/res/values/styles.xml rename to apps/expo/android/app/src/main/res/values/styles.xml diff --git a/expo/android/build.gradle b/apps/expo/android/build.gradle similarity index 100% rename from expo/android/build.gradle rename to apps/expo/android/build.gradle diff --git a/expo/android/gradle.properties b/apps/expo/android/gradle.properties similarity index 100% rename from expo/android/gradle.properties rename to apps/expo/android/gradle.properties diff --git a/expo/android/gradle/wrapper/gradle-wrapper.jar b/apps/expo/android/gradle/wrapper/gradle-wrapper.jar similarity index 100% rename from expo/android/gradle/wrapper/gradle-wrapper.jar rename to apps/expo/android/gradle/wrapper/gradle-wrapper.jar diff --git a/expo/android/gradle/wrapper/gradle-wrapper.properties b/apps/expo/android/gradle/wrapper/gradle-wrapper.properties similarity index 100% rename from expo/android/gradle/wrapper/gradle-wrapper.properties rename to apps/expo/android/gradle/wrapper/gradle-wrapper.properties diff --git a/expo/android/gradlew b/apps/expo/android/gradlew similarity index 100% rename from expo/android/gradlew rename to apps/expo/android/gradlew diff --git a/expo/android/gradlew.bat b/apps/expo/android/gradlew.bat similarity index 100% rename from expo/android/gradlew.bat rename to apps/expo/android/gradlew.bat diff --git a/expo/android/settings.gradle b/apps/expo/android/settings.gradle similarity index 100% rename from expo/android/settings.gradle rename to apps/expo/android/settings.gradle diff --git a/expo/app.json b/apps/expo/app.json similarity index 100% rename from expo/app.json rename to apps/expo/app.json diff --git a/expo/app/(screens)/HomeScreen.tsx b/apps/expo/app/(screens)/HomeScreen.tsx similarity index 100% rename from expo/app/(screens)/HomeScreen.tsx rename to apps/expo/app/(screens)/HomeScreen.tsx diff --git a/expo/app/_layout.tsx b/apps/expo/app/_layout.tsx similarity index 100% rename from expo/app/_layout.tsx rename to apps/expo/app/_layout.tsx diff --git a/expo/app/components/BottomToolbar.tsx b/apps/expo/app/components/BottomToolbar.tsx similarity index 100% rename from expo/app/components/BottomToolbar.tsx rename to apps/expo/app/components/BottomToolbar.tsx diff --git a/expo/app/components/Header.tsx b/apps/expo/app/components/Header.tsx similarity index 100% rename from expo/app/components/Header.tsx rename to apps/expo/app/components/Header.tsx diff --git a/expo/app/components/ReferAndEarn.tsx b/apps/expo/app/components/ReferAndEarn.tsx similarity index 100% rename from expo/app/components/ReferAndEarn.tsx rename to apps/expo/app/components/ReferAndEarn.tsx diff --git a/expo/app/components/index.ts b/apps/expo/app/components/index.ts similarity index 100% rename from expo/app/components/index.ts rename to apps/expo/app/components/index.ts diff --git a/expo/app/components/ui/badge.tsx b/apps/expo/app/components/ui/badge.tsx similarity index 100% rename from expo/app/components/ui/badge.tsx rename to apps/expo/app/components/ui/badge.tsx diff --git a/expo/app/components/ui/button.tsx b/apps/expo/app/components/ui/button.tsx similarity index 100% rename from expo/app/components/ui/button.tsx rename to apps/expo/app/components/ui/button.tsx diff --git a/expo/app/components/ui/card.tsx b/apps/expo/app/components/ui/card.tsx similarity index 100% rename from expo/app/components/ui/card.tsx rename to apps/expo/app/components/ui/card.tsx diff --git a/expo/app/components/ui/discrete-Tabs.tsx b/apps/expo/app/components/ui/discrete-Tabs.tsx similarity index 100% rename from expo/app/components/ui/discrete-Tabs.tsx rename to apps/expo/app/components/ui/discrete-Tabs.tsx diff --git a/expo/app/components/ui/filter.tsx b/apps/expo/app/components/ui/filter.tsx similarity index 100% rename from expo/app/components/ui/filter.tsx rename to apps/expo/app/components/ui/filter.tsx diff --git a/expo/app/components/ui/login.tsx b/apps/expo/app/components/ui/login.tsx similarity index 100% rename from expo/app/components/ui/login.tsx rename to apps/expo/app/components/ui/login.tsx diff --git a/expo/app/components/ui/menu.tsx b/apps/expo/app/components/ui/menu.tsx similarity index 100% rename from expo/app/components/ui/menu.tsx rename to apps/expo/app/components/ui/menu.tsx diff --git a/expo/app/components/ui/money-checkout.tsx b/apps/expo/app/components/ui/money-checkout.tsx similarity index 100% rename from expo/app/components/ui/money-checkout.tsx rename to apps/expo/app/components/ui/money-checkout.tsx diff --git a/expo/app/components/ui/pin-input.tsx b/apps/expo/app/components/ui/pin-input.tsx similarity index 100% rename from expo/app/components/ui/pin-input.tsx rename to apps/expo/app/components/ui/pin-input.tsx diff --git a/expo/app/components/ui/pop-card.tsx b/apps/expo/app/components/ui/pop-card.tsx similarity index 100% rename from expo/app/components/ui/pop-card.tsx rename to apps/expo/app/components/ui/pop-card.tsx diff --git a/expo/app/components/ui/profile-card.tsx b/apps/expo/app/components/ui/profile-card.tsx similarity index 100% rename from expo/app/components/ui/profile-card.tsx rename to apps/expo/app/components/ui/profile-card.tsx diff --git a/expo/app/components/ui/scroll-card.tsx b/apps/expo/app/components/ui/scroll-card.tsx similarity index 100% rename from expo/app/components/ui/scroll-card.tsx rename to apps/expo/app/components/ui/scroll-card.tsx diff --git a/expo/app/components/ui/upload-file.tsx b/apps/expo/app/components/ui/upload-file.tsx similarity index 100% rename from expo/app/components/ui/upload-file.tsx rename to apps/expo/app/components/ui/upload-file.tsx diff --git a/expo/app/demo/ButtonDemo.tsx b/apps/expo/app/demo/ButtonDemo.tsx similarity index 100% rename from expo/app/demo/ButtonDemo.tsx rename to apps/expo/app/demo/ButtonDemo.tsx diff --git a/expo/app/demo/CardDemo.tsx b/apps/expo/app/demo/CardDemo.tsx similarity index 100% rename from expo/app/demo/CardDemo.tsx rename to apps/expo/app/demo/CardDemo.tsx diff --git a/expo/app/demo/DiscreteTabsDemo.tsx b/apps/expo/app/demo/DiscreteTabsDemo.tsx similarity index 100% rename from expo/app/demo/DiscreteTabsDemo.tsx rename to apps/expo/app/demo/DiscreteTabsDemo.tsx diff --git a/expo/app/demo/FilterDemo.tsx b/apps/expo/app/demo/FilterDemo.tsx similarity index 100% rename from expo/app/demo/FilterDemo.tsx rename to apps/expo/app/demo/FilterDemo.tsx diff --git a/expo/app/demo/InfoBadgeDemo.tsx b/apps/expo/app/demo/InfoBadgeDemo.tsx similarity index 100% rename from expo/app/demo/InfoBadgeDemo.tsx rename to apps/expo/app/demo/InfoBadgeDemo.tsx diff --git a/expo/app/demo/MoneyCheckoutDemo.tsx b/apps/expo/app/demo/MoneyCheckoutDemo.tsx similarity index 100% rename from expo/app/demo/MoneyCheckoutDemo.tsx rename to apps/expo/app/demo/MoneyCheckoutDemo.tsx diff --git a/expo/app/demo/PinInputDemo.tsx b/apps/expo/app/demo/PinInputDemo.tsx similarity index 100% rename from expo/app/demo/PinInputDemo.tsx rename to apps/expo/app/demo/PinInputDemo.tsx diff --git a/expo/app/demo/PopCardDemo.tsx b/apps/expo/app/demo/PopCardDemo.tsx similarity index 100% rename from expo/app/demo/PopCardDemo.tsx rename to apps/expo/app/demo/PopCardDemo.tsx diff --git a/expo/app/demo/ProfileCardDemo.tsx b/apps/expo/app/demo/ProfileCardDemo.tsx similarity index 100% rename from expo/app/demo/ProfileCardDemo.tsx rename to apps/expo/app/demo/ProfileCardDemo.tsx diff --git a/expo/app/demo/ScrollCardDemo.tsx b/apps/expo/app/demo/ScrollCardDemo.tsx similarity index 100% rename from expo/app/demo/ScrollCardDemo.tsx rename to apps/expo/app/demo/ScrollCardDemo.tsx diff --git a/expo/app/tabs/_layout.tsx b/apps/expo/app/tabs/_layout.tsx similarity index 100% rename from expo/app/tabs/_layout.tsx rename to apps/expo/app/tabs/_layout.tsx diff --git a/expo/app/tabs/index.tsx b/apps/expo/app/tabs/index.tsx similarity index 100% rename from expo/app/tabs/index.tsx rename to apps/expo/app/tabs/index.tsx diff --git a/expo/babel.config.js b/apps/expo/babel.config.js similarity index 100% rename from expo/babel.config.js rename to apps/expo/babel.config.js diff --git a/expo/global.css b/apps/expo/global.css similarity index 100% rename from expo/global.css rename to apps/expo/global.css diff --git a/expo/index.ts b/apps/expo/index.ts similarity index 100% rename from expo/index.ts rename to apps/expo/index.ts diff --git a/expo/lib/utils/cn.ts b/apps/expo/lib/utils/cn.ts similarity index 100% rename from expo/lib/utils/cn.ts rename to apps/expo/lib/utils/cn.ts diff --git a/expo/metro.config.js b/apps/expo/metro.config.js similarity index 100% rename from expo/metro.config.js rename to apps/expo/metro.config.js diff --git a/expo/nativewind-env.d.ts b/apps/expo/nativewind-env.d.ts similarity index 100% rename from expo/nativewind-env.d.ts rename to apps/expo/nativewind-env.d.ts diff --git a/expo/package.json b/apps/expo/package.json similarity index 93% rename from expo/package.json rename to apps/expo/package.json index f68e79f..2d06961 100644 --- a/expo/package.json +++ b/apps/expo/package.json @@ -1,8 +1,10 @@ { - "name": "magma-application", + "name": "@sol-ui/expo", "version": "1.0.0", + "private": true, "main": "expo-router/entry", "scripts": { + "dev": "expo start", "start": "expo start", "android": "expo run:android", "ios": "expo run:ios", @@ -35,6 +37,5 @@ "@types/react-native": "^0.72.8", "@types/react-native-vector-icons": "^6.4.18", "typescript": "~5.8.3" - }, - "private": true + } } diff --git a/expo/registry/components/badge.tsx b/apps/expo/registry/components/badge.tsx similarity index 100% rename from expo/registry/components/badge.tsx rename to apps/expo/registry/components/badge.tsx diff --git a/expo/registry/components/button.tsx b/apps/expo/registry/components/button.tsx similarity index 100% rename from expo/registry/components/button.tsx rename to apps/expo/registry/components/button.tsx diff --git a/expo/registry/components/card.tsx b/apps/expo/registry/components/card.tsx similarity index 100% rename from expo/registry/components/card.tsx rename to apps/expo/registry/components/card.tsx diff --git a/expo/registry/components/discrete-Tabs.tsx b/apps/expo/registry/components/discrete-Tabs.tsx similarity index 100% rename from expo/registry/components/discrete-Tabs.tsx rename to apps/expo/registry/components/discrete-Tabs.tsx diff --git a/expo/registry/components/filter.tsx b/apps/expo/registry/components/filter.tsx similarity index 100% rename from expo/registry/components/filter.tsx rename to apps/expo/registry/components/filter.tsx diff --git a/expo/registry/components/login.tsx b/apps/expo/registry/components/login.tsx similarity index 100% rename from expo/registry/components/login.tsx rename to apps/expo/registry/components/login.tsx diff --git a/expo/registry/components/menu.tsx b/apps/expo/registry/components/menu.tsx similarity index 100% rename from expo/registry/components/menu.tsx rename to apps/expo/registry/components/menu.tsx diff --git a/expo/registry/components/money-checkout.tsx b/apps/expo/registry/components/money-checkout.tsx similarity index 100% rename from expo/registry/components/money-checkout.tsx rename to apps/expo/registry/components/money-checkout.tsx diff --git a/expo/registry/components/pop-card.tsx b/apps/expo/registry/components/pop-card.tsx similarity index 100% rename from expo/registry/components/pop-card.tsx rename to apps/expo/registry/components/pop-card.tsx diff --git a/expo/registry/components/profile-card.tsx b/apps/expo/registry/components/profile-card.tsx similarity index 100% rename from expo/registry/components/profile-card.tsx rename to apps/expo/registry/components/profile-card.tsx diff --git a/expo/registry/registry.json b/apps/expo/registry/registry.json similarity index 100% rename from expo/registry/registry.json rename to apps/expo/registry/registry.json diff --git a/expo/src/assets/2d-bike-game.jpg b/apps/expo/src/assets/2d-bike-game.jpg similarity index 100% rename from expo/src/assets/2d-bike-game.jpg rename to apps/expo/src/assets/2d-bike-game.jpg diff --git a/expo/src/assets/Roukhood.jpg b/apps/expo/src/assets/Roukhood.jpg similarity index 100% rename from expo/src/assets/Roukhood.jpg rename to apps/expo/src/assets/Roukhood.jpg diff --git a/expo/src/assets/adaptive-icon.png b/apps/expo/src/assets/adaptive-icon.png similarity index 100% rename from expo/src/assets/adaptive-icon.png rename to apps/expo/src/assets/adaptive-icon.png diff --git a/expo/src/assets/favicon.png b/apps/expo/src/assets/favicon.png similarity index 100% rename from expo/src/assets/favicon.png rename to apps/expo/src/assets/favicon.png diff --git a/expo/src/assets/icon.png b/apps/expo/src/assets/icon.png similarity index 100% rename from expo/src/assets/icon.png rename to apps/expo/src/assets/icon.png diff --git a/expo/src/assets/image2.jpg b/apps/expo/src/assets/image2.jpg similarity index 100% rename from expo/src/assets/image2.jpg rename to apps/expo/src/assets/image2.jpg diff --git a/expo/src/assets/image3.jpg b/apps/expo/src/assets/image3.jpg similarity index 100% rename from expo/src/assets/image3.jpg rename to apps/expo/src/assets/image3.jpg diff --git a/expo/src/assets/image4.jpg b/apps/expo/src/assets/image4.jpg similarity index 100% rename from expo/src/assets/image4.jpg rename to apps/expo/src/assets/image4.jpg diff --git a/expo/src/assets/image5.jpg b/apps/expo/src/assets/image5.jpg similarity index 100% rename from expo/src/assets/image5.jpg rename to apps/expo/src/assets/image5.jpg diff --git a/expo/src/assets/image6.jpg b/apps/expo/src/assets/image6.jpg similarity index 100% rename from expo/src/assets/image6.jpg rename to apps/expo/src/assets/image6.jpg diff --git a/expo/src/assets/image8.jpg b/apps/expo/src/assets/image8.jpg similarity index 100% rename from expo/src/assets/image8.jpg rename to apps/expo/src/assets/image8.jpg diff --git a/expo/src/assets/imagr7.jpg b/apps/expo/src/assets/imagr7.jpg similarity index 100% rename from expo/src/assets/imagr7.jpg rename to apps/expo/src/assets/imagr7.jpg diff --git a/expo/src/assets/splash-icon.png b/apps/expo/src/assets/splash-icon.png similarity index 100% rename from expo/src/assets/splash-icon.png rename to apps/expo/src/assets/splash-icon.png diff --git a/expo/src/fonts/robo.ttf b/apps/expo/src/fonts/robo.ttf similarity index 100% rename from expo/src/fonts/robo.ttf rename to apps/expo/src/fonts/robo.ttf diff --git a/expo/t.txt b/apps/expo/t.txt similarity index 100% rename from expo/t.txt rename to apps/expo/t.txt diff --git a/expo/tailwind.config.js b/apps/expo/tailwind.config.js similarity index 100% rename from expo/tailwind.config.js rename to apps/expo/tailwind.config.js diff --git a/expo/tsconfig.json b/apps/expo/tsconfig.json similarity index 100% rename from expo/tsconfig.json rename to apps/expo/tsconfig.json diff --git a/expo/types/nativewind.d.ts b/apps/expo/types/nativewind.d.ts similarity index 100% rename from expo/types/nativewind.d.ts rename to apps/expo/types/nativewind.d.ts diff --git a/expo/vercel.json b/apps/expo/vercel.json similarity index 100% rename from expo/vercel.json rename to apps/expo/vercel.json diff --git a/docs/.source/browser.ts b/docs/.source/browser.ts deleted file mode 100644 index a5bd44e..0000000 --- a/docs/.source/browser.ts +++ /dev/null @@ -1,12 +0,0 @@ -// @ts-nocheck -import { browser } from 'fumadocs-mdx/runtime/browser'; -import type * as Config from '../source.config'; - -const create = browser<typeof Config, import("fumadocs-mdx/runtime/types").InternalTypeConfig & { - DocData: { - } -}>(); -const browserCollections = { - docs: create.doc("docs", {"Installation.mdx": () => import("../content/docs/Installation.mdx?collection=docs"), "introduction.mdx": () => import("../content/docs/introduction.mdx?collection=docs"), "components/badge.mdx": () => import("../content/docs/components/badge.mdx?collection=docs"), "components/card.mdx": () => import("../content/docs/components/card.mdx?collection=docs"), "components/discrete-tabs.mdx": () => import("../content/docs/components/discrete-tabs.mdx?collection=docs"), "components/filter.mdx": () => import("../content/docs/components/filter.mdx?collection=docs"), "components/money-checkout.mdx": () => import("../content/docs/components/money-checkout.mdx?collection=docs"), "components/pin-input.mdx": () => import("../content/docs/components/pin-input.mdx?collection=docs"), "components/pop-card.mdx": () => import("../content/docs/components/pop-card.mdx?collection=docs"), "components/profile-card.mdx": () => import("../content/docs/components/profile-card.mdx?collection=docs"), }), -}; -export default browserCollections; \ No newline at end of file diff --git a/docs/.source/dynamic.ts b/docs/.source/dynamic.ts deleted file mode 100644 index 7dd9c10..0000000 --- a/docs/.source/dynamic.ts +++ /dev/null @@ -1,8 +0,0 @@ -// @ts-nocheck -import { dynamic } from 'fumadocs-mdx/runtime/dynamic'; -import * as Config from '../source.config'; - -const create = await dynamic<typeof Config, import("fumadocs-mdx/runtime/types").InternalTypeConfig & { - DocData: { - } -}>(Config, {"configPath":"source.config.ts","environment":"next","outDir":".source"}, {"doc":{"passthroughs":["extractedReferences"]}}); \ No newline at end of file diff --git a/docs/.source/server.ts b/docs/.source/server.ts deleted file mode 100644 index 08921d5..0000000 --- a/docs/.source/server.ts +++ /dev/null @@ -1,21 +0,0 @@ -// @ts-nocheck -import * as __fd_glob_10 from "../content/docs/components/profile-card.mdx?collection=docs" -import * as __fd_glob_9 from "../content/docs/components/pop-card.mdx?collection=docs" -import * as __fd_glob_8 from "../content/docs/components/pin-input.mdx?collection=docs" -import * as __fd_glob_7 from "../content/docs/components/money-checkout.mdx?collection=docs" -import * as __fd_glob_6 from "../content/docs/components/filter.mdx?collection=docs" -import * as __fd_glob_5 from "../content/docs/components/discrete-tabs.mdx?collection=docs" -import * as __fd_glob_4 from "../content/docs/components/card.mdx?collection=docs" -import * as __fd_glob_3 from "../content/docs/components/badge.mdx?collection=docs" -import * as __fd_glob_2 from "../content/docs/introduction.mdx?collection=docs" -import * as __fd_glob_1 from "../content/docs/Installation.mdx?collection=docs" -import { default as __fd_glob_0 } from "../content/docs/_meta.json?collection=docs" -import { server } from 'fumadocs-mdx/runtime/server'; -import type * as Config from '../source.config'; - -const create = server<typeof Config, import("fumadocs-mdx/runtime/types").InternalTypeConfig & { - DocData: { - } -}>({"doc":{"passthroughs":["extractedReferences"]}}); - -export const docs = await create.docs("docs", "content/docs", {"_meta.json": __fd_glob_0, }, {"Installation.mdx": __fd_glob_1, "introduction.mdx": __fd_glob_2, "components/badge.mdx": __fd_glob_3, "components/card.mdx": __fd_glob_4, "components/discrete-tabs.mdx": __fd_glob_5, "components/filter.mdx": __fd_glob_6, "components/money-checkout.mdx": __fd_glob_7, "components/pin-input.mdx": __fd_glob_8, "components/pop-card.mdx": __fd_glob_9, "components/profile-card.mdx": __fd_glob_10, }); \ No newline at end of file diff --git a/docs/.source/source.config.mjs b/docs/.source/source.config.mjs deleted file mode 100644 index 82da84f..0000000 --- a/docs/.source/source.config.mjs +++ /dev/null @@ -1,10 +0,0 @@ -// source.config.ts -import { defineDocs, defineConfig } from "fumadocs-mdx/config"; -var docs = defineDocs({ - dir: "content/docs" -}); -var source_config_default = defineConfig(); -export { - source_config_default as default, - docs -}; diff --git a/expo/package-lock.json b/expo/package-lock.json deleted file mode 100644 index b272d6e..0000000 --- a/expo/package-lock.json +++ /dev/null @@ -1,11005 +0,0 @@ -{ - "name": "magma-application", - "version": "1.0.0", - "lockfileVersion": 3, - "requires": true, - "packages": { - "": { - "name": "magma-application", - "version": "1.0.0", - "dependencies": { - "@react-navigation/bottom-tabs": "^7.4.1", - "@react-navigation/native": "^7.1.14", - "@react-navigation/native-stack": "^7.3.20", - "@shopify/react-native-skia": "v2.0.0-next.4", - "babel-preset-expo": "^13.2.1", - "expo": "^54.0.30", - "expo-router": "~5.1.0", - "expo-status-bar": "~2.2.3", - "nativewind": "^4.1.23", - "react": "19.1.0", - "react-dom": "19.1.0", - "react-native": "0.81.5", - "react-native-gesture-handler": "2.28.0", - "react-native-reanimated": "~3.17.4", - "react-native-safe-area-context": "^5.4.0", - "react-native-screens": "~4.11.1", - "react-native-vector-icons": "^10.3.0", - "react-native-web": "^0.21.0", - "tailwindcss": "^3.4.17" - }, - "devDependencies": { - "@babel/core": "^7.25.2", - "@types/react": "~19.1.0", - "@types/react-native": "^0.72.8", - "@types/react-native-vector-icons": "^6.4.18", - "typescript": "~5.8.3" - } - }, - "node_modules/@0no-co/graphql.web": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@0no-co/graphql.web/-/graphql.web-1.2.0.tgz", - "integrity": "sha512-/1iHy9TTr63gE1YcR5idjx8UREz1s0kFhydf3bBLCXyqjhkIc6igAzTOx3zPifCwFR87tsh/4Pa9cNts6d2otw==", - "license": "MIT", - "peerDependencies": { - "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0" - }, - "peerDependenciesMeta": { - "graphql": { - "optional": true - } - } - }, - "node_modules/@alloc/quick-lru": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.2.0.tgz", - "integrity": "sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==", - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@ampproject/remapping": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.3.0.tgz", - "integrity": "sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==", - "license": "Apache-2.0", - "dependencies": { - "@jridgewell/gen-mapping": "^0.3.5", - "@jridgewell/trace-mapping": "^0.3.24" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@babel/code-frame": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.27.1.tgz", - "integrity": "sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==", - "license": "MIT", - "dependencies": { - "@babel/helper-validator-identifier": "^7.27.1", - "js-tokens": "^4.0.0", - "picocolors": "^1.1.1" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/compat-data": { - "version": "7.27.5", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.27.5.tgz", - "integrity": "sha512-KiRAp/VoJaWkkte84TvUd9qjdbZAdiqyvMxrGl1N6vzFogKmaLgoM3L1kgtLicp2HP5fBJS8JrZKLVIZGVJAVg==", - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/core": { - "version": "7.27.4", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.27.4.tgz", - "integrity": "sha512-bXYxrXFubeYdvB0NhD/NBB3Qi6aZeV20GOWVI47t2dkecCEoneR4NPVcb7abpXDEvejgrUfFtG6vG/zxAKmg+g==", - "license": "MIT", - "dependencies": { - "@ampproject/remapping": "^2.2.0", - "@babel/code-frame": "^7.27.1", - "@babel/generator": "^7.27.3", - "@babel/helper-compilation-targets": "^7.27.2", - "@babel/helper-module-transforms": "^7.27.3", - "@babel/helpers": "^7.27.4", - "@babel/parser": "^7.27.4", - "@babel/template": "^7.27.2", - "@babel/traverse": "^7.27.4", - "@babel/types": "^7.27.3", - "convert-source-map": "^2.0.0", - "debug": "^4.1.0", - "gensync": "^1.0.0-beta.2", - "json5": "^2.2.3", - "semver": "^6.3.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/babel" - } - }, - "node_modules/@babel/generator": { - "version": "7.28.5", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.28.5.tgz", - "integrity": "sha512-3EwLFhZ38J4VyIP6WNtt2kUdW9dokXA9Cr4IVIFHuCpZ3H8/YFOl5JjZHisrn1fATPBmKKqXzDFvh9fUwHz6CQ==", - "license": "MIT", - "dependencies": { - "@babel/parser": "^7.28.5", - "@babel/types": "^7.28.5", - "@jridgewell/gen-mapping": "^0.3.12", - "@jridgewell/trace-mapping": "^0.3.28", - "jsesc": "^3.0.2" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-annotate-as-pure": { - "version": "7.27.3", - "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.27.3.tgz", - "integrity": "sha512-fXSwMQqitTGeHLBC08Eq5yXz2m37E4pJX1qAU1+2cNedz/ifv/bVXft90VeSav5nFO61EcNgwr0aJxbyPaWBPg==", - "license": "MIT", - "dependencies": { - "@babel/types": "^7.27.3" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-compilation-targets": { - "version": "7.27.2", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.27.2.tgz", - "integrity": "sha512-2+1thGUUWWjLTYTHZWK1n8Yga0ijBz1XAhUXcKy81rd5g6yh7hGqMp45v7cadSbEHc9G3OTv45SyneRN3ps4DQ==", - "license": "MIT", - "dependencies": { - "@babel/compat-data": "^7.27.2", - "@babel/helper-validator-option": "^7.27.1", - "browserslist": "^4.24.0", - "lru-cache": "^5.1.1", - "semver": "^6.3.1" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-create-class-features-plugin": { - "version": "7.28.5", - "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.28.5.tgz", - "integrity": "sha512-q3WC4JfdODypvxArsJQROfupPBq9+lMwjKq7C33GhbFYJsufD0yd/ziwD+hJucLeWsnFPWZjsU2DNFqBPE7jwQ==", - "license": "MIT", - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.27.3", - "@babel/helper-member-expression-to-functions": "^7.28.5", - "@babel/helper-optimise-call-expression": "^7.27.1", - "@babel/helper-replace-supers": "^7.27.1", - "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1", - "@babel/traverse": "^7.28.5", - "semver": "^6.3.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@babel/helper-create-regexp-features-plugin": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.27.1.tgz", - "integrity": "sha512-uVDC72XVf8UbrH5qQTc18Agb8emwjTiZrQE11Nv3CuBEZmVvTwwE9CBUEvHku06gQCAyYf8Nv6ja1IN+6LMbxQ==", - "license": "MIT", - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.27.1", - "regexpu-core": "^6.2.0", - "semver": "^6.3.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@babel/helper-define-polyfill-provider": { - "version": "0.6.4", - "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.6.4.tgz", - "integrity": "sha512-jljfR1rGnXXNWnmQg2K3+bvhkxB51Rl32QRaOTuwwjviGrHzIbSc8+x9CpraDtbT7mfyjXObULP4w/adunNwAw==", - "license": "MIT", - "dependencies": { - "@babel/helper-compilation-targets": "^7.22.6", - "@babel/helper-plugin-utils": "^7.22.5", - "debug": "^4.1.1", - "lodash.debounce": "^4.0.8", - "resolve": "^1.14.2" - }, - "peerDependencies": { - "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" - } - }, - "node_modules/@babel/helper-globals": { - "version": "7.28.0", - "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-7.28.0.tgz", - "integrity": "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw==", - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-member-expression-to-functions": { - "version": "7.28.5", - "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.28.5.tgz", - "integrity": "sha512-cwM7SBRZcPCLgl8a7cY0soT1SptSzAlMH39vwiRpOQkJlh53r5hdHwLSCZpQdVLT39sZt+CRpNwYG4Y2v77atg==", - "license": "MIT", - "dependencies": { - "@babel/traverse": "^7.28.5", - "@babel/types": "^7.28.5" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-module-imports": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.27.1.tgz", - "integrity": "sha512-0gSFWUPNXNopqtIPQvlD5WgXYI5GY2kP2cCvoT8kczjbfcfuIljTbcWrulD1CIPIX2gt1wghbDy08yE1p+/r3w==", - "license": "MIT", - "dependencies": { - "@babel/traverse": "^7.27.1", - "@babel/types": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-module-transforms": { - "version": "7.27.3", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.27.3.tgz", - "integrity": "sha512-dSOvYwvyLsWBeIRyOeHXp5vPj5l1I011r52FM1+r1jCERv+aFXYk4whgQccYEGYxK2H3ZAIA8nuPkQ0HaUo3qg==", - "license": "MIT", - "dependencies": { - "@babel/helper-module-imports": "^7.27.1", - "@babel/helper-validator-identifier": "^7.27.1", - "@babel/traverse": "^7.27.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@babel/helper-optimise-call-expression": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.27.1.tgz", - "integrity": "sha512-URMGH08NzYFhubNSGJrpUEphGKQwMQYBySzat5cAByY1/YgIRkULnIy3tAMeszlL/so2HbeilYloUmSpd7GdVw==", - "license": "MIT", - "dependencies": { - "@babel/types": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-plugin-utils": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.27.1.tgz", - "integrity": "sha512-1gn1Up5YXka3YYAHGKpbideQ5Yjf1tDa9qYcgysz+cNCXukyLl6DjPXhD3VRwSb8c0J9tA4b2+rHEZtc6R0tlw==", - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-remap-async-to-generator": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.27.1.tgz", - "integrity": "sha512-7fiA521aVw8lSPeI4ZOD3vRFkoqkJcS+z4hFo82bFSH/2tNd6eJ5qCVMS5OzDmZh/kaHQeBaeyxK6wljcPtveA==", - "license": "MIT", - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.27.1", - "@babel/helper-wrap-function": "^7.27.1", - "@babel/traverse": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@babel/helper-replace-supers": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.27.1.tgz", - "integrity": "sha512-7EHz6qDZc8RYS5ElPoShMheWvEgERonFCs7IAonWLLUTXW59DP14bCZt89/GKyreYn8g3S83m21FelHKbeDCKA==", - "license": "MIT", - "dependencies": { - "@babel/helper-member-expression-to-functions": "^7.27.1", - "@babel/helper-optimise-call-expression": "^7.27.1", - "@babel/traverse": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@babel/helper-skip-transparent-expression-wrappers": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.27.1.tgz", - "integrity": "sha512-Tub4ZKEXqbPjXgWLl2+3JpQAYBJ8+ikpQ2Ocj/q/r0LwE3UhENh7EUabyHjz2kCEsrRY83ew2DQdHluuiDQFzg==", - "license": "MIT", - "dependencies": { - "@babel/traverse": "^7.27.1", - "@babel/types": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-string-parser": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz", - "integrity": "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==", - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-validator-identifier": { - "version": "7.28.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.28.5.tgz", - "integrity": "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==", - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-validator-option": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.27.1.tgz", - "integrity": "sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg==", - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-wrap-function": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.27.1.tgz", - "integrity": "sha512-NFJK2sHUvrjo8wAU/nQTWU890/zB2jj0qBcCbZbbf+005cAsv6tMjXz31fBign6M5ov1o0Bllu+9nbqkfsjjJQ==", - "license": "MIT", - "dependencies": { - "@babel/template": "^7.27.1", - "@babel/traverse": "^7.27.1", - "@babel/types": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helpers": { - "version": "7.27.6", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.27.6.tgz", - "integrity": "sha512-muE8Tt8M22638HU31A3CgfSUciwz1fhATfoVai05aPXGor//CdWDCbnlY1yvBPo07njuVOCNGCSp/GTt12lIug==", - "license": "MIT", - "dependencies": { - "@babel/template": "^7.27.2", - "@babel/types": "^7.27.6" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/highlight": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.25.9.tgz", - "integrity": "sha512-llL88JShoCsth8fF8R4SJnIn+WLvR6ccFxu1H3FlMhDontdcmZWf2HgIZ7AIqV3Xcck1idlohrN4EUBQz6klbw==", - "license": "MIT", - "dependencies": { - "@babel/helper-validator-identifier": "^7.25.9", - "chalk": "^2.4.2", - "js-tokens": "^4.0.0", - "picocolors": "^1.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/highlight/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "license": "MIT", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/highlight/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "license": "MIT", - "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/highlight/node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "license": "MIT", - "dependencies": { - "color-name": "1.1.3" - } - }, - "node_modules/@babel/highlight/node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", - "license": "MIT" - }, - "node_modules/@babel/highlight/node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", - "license": "MIT", - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/@babel/highlight/node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/highlight/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "license": "MIT", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/parser": { - "version": "7.28.5", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.28.5.tgz", - "integrity": "sha512-KKBU1VGYR7ORr3At5HAtUQ+TV3SzRCXmA/8OdDZiLDBIZxVyzXuztPjfLd3BV1PRAQGCMWWSHYhL0F8d5uHBDQ==", - "license": "MIT", - "dependencies": { - "@babel/types": "^7.28.5" - }, - "bin": { - "parser": "bin/babel-parser.js" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@babel/plugin-proposal-decorators": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-decorators/-/plugin-proposal-decorators-7.27.1.tgz", - "integrity": "sha512-DTxe4LBPrtFdsWzgpmbBKevg3e9PBy+dXRt19kSbucbZvL2uqtdqwwpluL1jfxYE0wIDTFp1nTy/q6gNLsxXrg==", - "license": "MIT", - "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.27.1", - "@babel/helper-plugin-utils": "^7.27.1", - "@babel/plugin-syntax-decorators": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-export-default-from": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-export-default-from/-/plugin-proposal-export-default-from-7.27.1.tgz", - "integrity": "sha512-hjlsMBl1aJc5lp8MoCDEZCiYzlgdRAShOjAfRw6X+GlpLpUPU7c3XNLsKFZbQk/1cRzBlJ7CXg3xJAJMrFa1Uw==", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-async-generators": { - "version": "7.8.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz", - "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-bigint": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz", - "integrity": "sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-class-properties": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz", - "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.12.13" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-class-static-block": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz", - "integrity": "sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-decorators": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-decorators/-/plugin-syntax-decorators-7.27.1.tgz", - "integrity": "sha512-YMq8Z87Lhl8EGkmb0MwYkt36QnxC+fzCgrl66ereamPlYToRpIk5nUjKUY3QKLWq8mwUB1BgbeXcTJhZOCDg5A==", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-dynamic-import": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz", - "integrity": "sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-export-default-from": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-export-default-from/-/plugin-syntax-export-default-from-7.27.1.tgz", - "integrity": "sha512-eBC/3KSekshx19+N40MzjWqJd7KTEdOoLesAfa4IDFI8eRz5a47i5Oszus6zG/cwIXN63YhgLOMSSNJx49sENg==", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-flow": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-flow/-/plugin-syntax-flow-7.27.1.tgz", - "integrity": "sha512-p9OkPbZ5G7UT1MofwYFigGebnrzGJacoBSQM0/6bi/PUMVE+qlWDD/OalvQKbwgQzU6dl0xAv6r4X7Jme0RYxA==", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-import-attributes": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.27.1.tgz", - "integrity": "sha512-oFT0FrKHgF53f4vOsZGi2Hh3I35PfSmVs4IBFLFj4dnafP+hIWDLg3VyKmUHfLoLHlyxY4C7DGtmHuJgn+IGww==", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-import-meta": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz", - "integrity": "sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.10.4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-json-strings": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", - "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-jsx": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.27.1.tgz", - "integrity": "sha512-y8YTNIeKoyhGd9O0Jiyzyyqk8gdjnumGTQPsz0xOZOQ2RmkVJeZ1vmmfIvFEKqucBG6axJGBZDE/7iI5suUI/w==", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-logical-assignment-operators": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz", - "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.10.4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-nullish-coalescing-operator": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz", - "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-numeric-separator": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz", - "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.10.4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-object-rest-spread": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", - "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-optional-catch-binding": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz", - "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-optional-chaining": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz", - "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-private-property-in-object": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz", - "integrity": "sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-top-level-await": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz", - "integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-typescript": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.27.1.tgz", - "integrity": "sha512-xfYCBMxveHrRMnAWl1ZlPXOZjzkN82THFvLhQhFXFt81Z5HnN+EtUkZhv/zcKpmT3fzmWZB0ywiBrbC3vogbwQ==", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-arrow-functions": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.27.1.tgz", - "integrity": "sha512-8Z4TGic6xW70FKThA5HYEKKyBpOOsucTOD1DjU3fZxDg+K3zBJcXMFnt/4yQiZnf5+MiOMSXQ9PaEK/Ilh1DeA==", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-async-generator-functions": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.27.1.tgz", - "integrity": "sha512-eST9RrwlpaoJBDHShc+DS2SG4ATTi2MYNb4OxYkf3n+7eb49LWpnS+HSpVfW4x927qQwgk8A2hGNVaajAEw0EA==", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1", - "@babel/helper-remap-async-to-generator": "^7.27.1", - "@babel/traverse": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-async-to-generator": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.27.1.tgz", - "integrity": "sha512-NREkZsZVJS4xmTr8qzE5y8AfIPqsdQfRuUiLRTEzb7Qii8iFWCyDKaUV2c0rCuh4ljDZ98ALHP/PetiBV2nddA==", - "license": "MIT", - "dependencies": { - "@babel/helper-module-imports": "^7.27.1", - "@babel/helper-plugin-utils": "^7.27.1", - "@babel/helper-remap-async-to-generator": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-block-scoping": { - "version": "7.27.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.27.5.tgz", - "integrity": "sha512-JF6uE2s67f0y2RZcm2kpAUEbD50vH62TyWVebxwHAlbSdM49VqPz8t4a1uIjp4NIOIZ4xzLfjY5emt/RCyC7TQ==", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-class-properties": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-properties/-/plugin-transform-class-properties-7.27.1.tgz", - "integrity": "sha512-D0VcalChDMtuRvJIu3U/fwWjf8ZMykz5iZsg77Nuj821vCKI3zCyRLwRdWbsuJ/uRwZhZ002QtCqIkwC/ZkvbA==", - "license": "MIT", - "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.27.1", - "@babel/helper-plugin-utils": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-class-static-block": { - "version": "7.28.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.28.3.tgz", - "integrity": "sha512-LtPXlBbRoc4Njl/oh1CeD/3jC+atytbnf/UqLoqTDcEYGUPj022+rvfkbDYieUrSj3CaV4yHDByPE+T2HwfsJg==", - "license": "MIT", - "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.28.3", - "@babel/helper-plugin-utils": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.12.0" - } - }, - "node_modules/@babel/plugin-transform-classes": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.27.1.tgz", - "integrity": "sha512-7iLhfFAubmpeJe/Wo2TVuDrykh/zlWXLzPNdL0Jqn/Xu8R3QQ8h9ff8FQoISZOsw74/HFqFI7NX63HN7QFIHKA==", - "license": "MIT", - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.27.1", - "@babel/helper-compilation-targets": "^7.27.1", - "@babel/helper-plugin-utils": "^7.27.1", - "@babel/helper-replace-supers": "^7.27.1", - "@babel/traverse": "^7.27.1", - "globals": "^11.1.0" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-computed-properties": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.27.1.tgz", - "integrity": "sha512-lj9PGWvMTVksbWiDT2tW68zGS/cyo4AkZ/QTp0sQT0mjPopCmrSkzxeXkznjqBxzDI6TclZhOJbBmbBLjuOZUw==", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1", - "@babel/template": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-destructuring": { - "version": "7.27.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.27.3.tgz", - "integrity": "sha512-s4Jrok82JpiaIprtY2nHsYmrThKvvwgHwjgd7UMiYhZaN0asdXNLr0y+NjTfkA7SyQE5i2Fb7eawUOZmLvyqOA==", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-export-namespace-from": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-export-namespace-from/-/plugin-transform-export-namespace-from-7.27.1.tgz", - "integrity": "sha512-tQvHWSZ3/jH2xuq/vZDy0jNn+ZdXJeM8gHvX4lnJmsc3+50yPlWdZXIc5ay+umX+2/tJIqHqiEqcJvxlmIvRvQ==", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-flow-strip-types": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.27.1.tgz", - "integrity": "sha512-G5eDKsu50udECw7DL2AcsysXiQyB7Nfg521t2OAJ4tbfTJ27doHLeF/vlI1NZGlLdbb/v+ibvtL1YBQqYOwJGg==", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1", - "@babel/plugin-syntax-flow": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-for-of": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.27.1.tgz", - "integrity": "sha512-BfbWFFEJFQzLCQ5N8VocnCtA8J1CLkNTe2Ms2wocj75dd6VpiqS5Z5quTYcUoo4Yq+DN0rtikODccuv7RU81sw==", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1", - "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-function-name": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.27.1.tgz", - "integrity": "sha512-1bQeydJF9Nr1eBCMMbC+hdwmRlsv5XYOMu03YSWFwNs0HsAmtSxxF1fyuYPqemVldVyFmlCU7w8UE14LupUSZQ==", - "license": "MIT", - "dependencies": { - "@babel/helper-compilation-targets": "^7.27.1", - "@babel/helper-plugin-utils": "^7.27.1", - "@babel/traverse": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-literals": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.27.1.tgz", - "integrity": "sha512-0HCFSepIpLTkLcsi86GG3mTUzxV5jpmbv97hTETW3yzrAij8aqlD36toB1D0daVFJM8NK6GvKO0gslVQmm+zZA==", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-logical-assignment-operators": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-logical-assignment-operators/-/plugin-transform-logical-assignment-operators-7.27.1.tgz", - "integrity": "sha512-SJvDs5dXxiae4FbSL1aBJlG4wvl594N6YEVVn9e3JGulwioy6z3oPjx/sQBO3Y4NwUu5HNix6KJ3wBZoewcdbw==", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-modules-commonjs": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.27.1.tgz", - "integrity": "sha512-OJguuwlTYlN0gBZFRPqwOGNWssZjfIUdS7HMYtN8c1KmwpwHFBwTeFZrg9XZa+DFTitWOW5iTAG7tyCUPsCCyw==", - "license": "MIT", - "dependencies": { - "@babel/helper-module-transforms": "^7.27.1", - "@babel/helper-plugin-utils": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-named-capturing-groups-regex": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.27.1.tgz", - "integrity": "sha512-SstR5JYy8ddZvD6MhV0tM/j16Qds4mIpJTOd1Yu9J9pJjH93bxHECF7pgtc28XvkzTD6Pxcm/0Z73Hvk7kb3Ng==", - "license": "MIT", - "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.27.1", - "@babel/helper-plugin-utils": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@babel/plugin-transform-nullish-coalescing-operator": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-nullish-coalescing-operator/-/plugin-transform-nullish-coalescing-operator-7.27.1.tgz", - "integrity": "sha512-aGZh6xMo6q9vq1JGcw58lZ1Z0+i0xB2x0XaauNIUXd6O1xXc3RwoWEBlsTQrY4KQ9Jf0s5rgD6SiNkaUdJegTA==", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-numeric-separator": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-numeric-separator/-/plugin-transform-numeric-separator-7.27.1.tgz", - "integrity": "sha512-fdPKAcujuvEChxDBJ5c+0BTaS6revLV7CJL08e4m3de8qJfNIuCc2nc7XJYOjBoTMJeqSmwXJ0ypE14RCjLwaw==", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-object-rest-spread": { - "version": "7.27.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-rest-spread/-/plugin-transform-object-rest-spread-7.27.3.tgz", - "integrity": "sha512-7ZZtznF9g4l2JCImCo5LNKFHB5eXnN39lLtLY5Tg+VkR0jwOt7TBciMckuiQIOIW7L5tkQOCh3bVGYeXgMx52Q==", - "license": "MIT", - "dependencies": { - "@babel/helper-compilation-targets": "^7.27.2", - "@babel/helper-plugin-utils": "^7.27.1", - "@babel/plugin-transform-destructuring": "^7.27.3", - "@babel/plugin-transform-parameters": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-optional-catch-binding": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-catch-binding/-/plugin-transform-optional-catch-binding-7.27.1.tgz", - "integrity": "sha512-txEAEKzYrHEX4xSZN4kJ+OfKXFVSWKB2ZxM9dpcE3wT7smwkNmXo5ORRlVzMVdJbD+Q8ILTgSD7959uj+3Dm3Q==", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-optional-chaining": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.27.1.tgz", - "integrity": "sha512-BQmKPPIuc8EkZgNKsv0X4bPmOoayeu4F1YCwx2/CfmDSXDbp7GnzlUH+/ul5VGfRg1AoFPsrIThlEBj2xb4CAg==", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1", - "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-parameters": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.27.1.tgz", - "integrity": "sha512-018KRk76HWKeZ5l4oTj2zPpSh+NbGdt0st5S6x0pga6HgrjBOJb24mMDHorFopOOd6YHkLgOZ+zaCjZGPO4aKg==", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-private-methods": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-methods/-/plugin-transform-private-methods-7.27.1.tgz", - "integrity": "sha512-10FVt+X55AjRAYI9BrdISN9/AQWHqldOeZDUoLyif1Kn05a56xVBXb8ZouL8pZ9jem8QpXaOt8TS7RHUIS+GPA==", - "license": "MIT", - "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.27.1", - "@babel/helper-plugin-utils": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-private-property-in-object": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-property-in-object/-/plugin-transform-private-property-in-object-7.27.1.tgz", - "integrity": "sha512-5J+IhqTi1XPa0DXF83jYOaARrX+41gOewWbkPyjMNRDqgOCqdffGh8L3f/Ek5utaEBZExjSAzcyjmV9SSAWObQ==", - "license": "MIT", - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.27.1", - "@babel/helper-create-class-features-plugin": "^7.27.1", - "@babel/helper-plugin-utils": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-react-display-name": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.27.1.tgz", - "integrity": "sha512-p9+Vl3yuHPmkirRrg021XiP+EETmPMQTLr6Ayjj85RLNEbb3Eya/4VI0vAdzQG9SEAl2Lnt7fy5lZyMzjYoZQQ==", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-react-jsx": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.27.1.tgz", - "integrity": "sha512-2KH4LWGSrJIkVf5tSiBFYuXDAoWRq2MMwgivCf+93dd0GQi8RXLjKA/0EvRnVV5G0hrHczsquXuD01L8s6dmBw==", - "license": "MIT", - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.27.1", - "@babel/helper-module-imports": "^7.27.1", - "@babel/helper-plugin-utils": "^7.27.1", - "@babel/plugin-syntax-jsx": "^7.27.1", - "@babel/types": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-react-jsx-development": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-development/-/plugin-transform-react-jsx-development-7.27.1.tgz", - "integrity": "sha512-ykDdF5yI4f1WrAolLqeF3hmYU12j9ntLQl/AOG1HAS21jxyg1Q0/J/tpREuYLfatGdGmXp/3yS0ZA76kOlVq9Q==", - "license": "MIT", - "dependencies": { - "@babel/plugin-transform-react-jsx": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-react-jsx-self": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.27.1.tgz", - "integrity": "sha512-6UzkCs+ejGdZ5mFFC/OCUrv028ab2fp1znZmCZjAOBKiBK2jXD1O+BPSfX8X2qjJ75fZBMSnQn3Rq2mrBJK2mw==", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-react-jsx-source": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.27.1.tgz", - "integrity": "sha512-zbwoTsBruTeKB9hSq73ha66iFeJHuaFkUbwvqElnygoNbj/jHRsSeokowZFN3CZ64IvEqcmmkVe89OPXc7ldAw==", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-react-pure-annotations": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-pure-annotations/-/plugin-transform-react-pure-annotations-7.27.1.tgz", - "integrity": "sha512-JfuinvDOsD9FVMTHpzA/pBLisxpv1aSf+OIV8lgH3MuWrks19R27e6a6DipIg4aX1Zm9Wpb04p8wljfKrVSnPA==", - "license": "MIT", - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.27.1", - "@babel/helper-plugin-utils": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-regenerator": { - "version": "7.27.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.27.5.tgz", - "integrity": "sha512-uhB8yHerfe3MWnuLAhEbeQ4afVoqv8BQsPqrTv7e/jZ9y00kJL6l9a/f4OWaKxotmjzewfEyXE1vgDJenkQ2/Q==", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-runtime": { - "version": "7.27.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.27.4.tgz", - "integrity": "sha512-D68nR5zxU64EUzV8i7T3R5XP0Xhrou/amNnddsRQssx6GrTLdZl1rLxyjtVZBd+v/NVX4AbTPOB5aU8thAZV1A==", - "license": "MIT", - "dependencies": { - "@babel/helper-module-imports": "^7.27.1", - "@babel/helper-plugin-utils": "^7.27.1", - "babel-plugin-polyfill-corejs2": "^0.4.10", - "babel-plugin-polyfill-corejs3": "^0.11.0", - "babel-plugin-polyfill-regenerator": "^0.6.1", - "semver": "^6.3.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-shorthand-properties": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.27.1.tgz", - "integrity": "sha512-N/wH1vcn4oYawbJ13Y/FxcQrWk63jhfNa7jef0ih7PHSIHX2LB7GWE1rkPrOnka9kwMxb6hMl19p7lidA+EHmQ==", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-spread": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.27.1.tgz", - "integrity": "sha512-kpb3HUqaILBJcRFVhFUs6Trdd4mkrzcGXss+6/mxUd273PfbWqSDHRzMT2234gIg2QYfAjvXLSquP1xECSg09Q==", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1", - "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-sticky-regex": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.27.1.tgz", - "integrity": "sha512-lhInBO5bi/Kowe2/aLdBAawijx+q1pQzicSgnkB6dUPc1+RC8QmJHKf2OjvU+NZWitguJHEaEmbV6VWEouT58g==", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-template-literals": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.27.1.tgz", - "integrity": "sha512-fBJKiV7F2DxZUkg5EtHKXQdbsbURW3DZKQUWphDum0uRP6eHGGa/He9mc0mypL680pb+e/lDIthRohlv8NCHkg==", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-typescript": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.27.1.tgz", - "integrity": "sha512-Q5sT5+O4QUebHdbwKedFBEwRLb02zJ7r4A5Gg2hUoLuU3FjdMcyqcywqUrLCaDsFCxzokf7u9kuy7qz51YUuAg==", - "license": "MIT", - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.27.1", - "@babel/helper-create-class-features-plugin": "^7.27.1", - "@babel/helper-plugin-utils": "^7.27.1", - "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1", - "@babel/plugin-syntax-typescript": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-unicode-regex": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.27.1.tgz", - "integrity": "sha512-xvINq24TRojDuyt6JGtHmkVkrfVV3FPT16uytxImLeBZqW3/H52yN+kM1MGuyPkIQxrzKwPHs5U/MP3qKyzkGw==", - "license": "MIT", - "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.27.1", - "@babel/helper-plugin-utils": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/preset-react": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/preset-react/-/preset-react-7.27.1.tgz", - "integrity": "sha512-oJHWh2gLhU9dW9HHr42q0cI0/iHHXTLGe39qvpAZZzagHy0MzYLCnCVV0symeRvzmjHyVU7mw2K06E6u/JwbhA==", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1", - "@babel/helper-validator-option": "^7.27.1", - "@babel/plugin-transform-react-display-name": "^7.27.1", - "@babel/plugin-transform-react-jsx": "^7.27.1", - "@babel/plugin-transform-react-jsx-development": "^7.27.1", - "@babel/plugin-transform-react-pure-annotations": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/preset-typescript": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.27.1.tgz", - "integrity": "sha512-l7WfQfX0WK4M0v2RudjuQK4u99BS6yLHYEmdtVPP7lKV013zr9DygFuWNlnbvQ9LR+LS0Egz/XAvGx5U9MX0fQ==", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1", - "@babel/helper-validator-option": "^7.27.1", - "@babel/plugin-syntax-jsx": "^7.27.1", - "@babel/plugin-transform-modules-commonjs": "^7.27.1", - "@babel/plugin-transform-typescript": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/runtime": { - "version": "7.27.6", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.27.6.tgz", - "integrity": "sha512-vbavdySgbTTrmFE+EsiqUTzlOr5bzlnJtUv9PynGCAKvfQqjIXbvFdumPM/GxMDfyuGMJaJAU6TO4zc1Jf1i8Q==", - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/template": { - "version": "7.27.2", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.27.2.tgz", - "integrity": "sha512-LPDZ85aEJyYSd18/DkjNh4/y1ntkE5KwUHWTiqgRxruuZL2F1yuHligVHLvcHY2vMHXttKFpJn6LwfI7cw7ODw==", - "license": "MIT", - "dependencies": { - "@babel/code-frame": "^7.27.1", - "@babel/parser": "^7.27.2", - "@babel/types": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/traverse": { - "version": "7.28.5", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.28.5.tgz", - "integrity": "sha512-TCCj4t55U90khlYkVV/0TfkJkAkUg3jZFA3Neb7unZT8CPok7iiRfaX0F+WnqWqt7OxhOn0uBKXCw4lbL8W0aQ==", - "license": "MIT", - "dependencies": { - "@babel/code-frame": "^7.27.1", - "@babel/generator": "^7.28.5", - "@babel/helper-globals": "^7.28.0", - "@babel/parser": "^7.28.5", - "@babel/template": "^7.27.2", - "@babel/types": "^7.28.5", - "debug": "^4.3.1" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/traverse--for-generate-function-map": { - "name": "@babel/traverse", - "version": "7.27.4", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.27.4.tgz", - "integrity": "sha512-oNcu2QbHqts9BtOWJosOVJapWjBDSxGCpFvikNR5TGDYDQf3JwpIoMzIKrvfoti93cLfPJEG4tH9SPVeyCGgdA==", - "license": "MIT", - "dependencies": { - "@babel/code-frame": "^7.27.1", - "@babel/generator": "^7.27.3", - "@babel/parser": "^7.27.4", - "@babel/template": "^7.27.2", - "@babel/types": "^7.27.3", - "debug": "^4.3.1", - "globals": "^11.1.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/types": { - "version": "7.28.5", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.28.5.tgz", - "integrity": "sha512-qQ5m48eI/MFLQ5PxQj4PFaprjyCTLI37ElWMmNs0K8Lk3dVeOdNpB3ks8jc7yM5CDmVC73eMVk/trk3fgmrUpA==", - "license": "MIT", - "dependencies": { - "@babel/helper-string-parser": "^7.27.1", - "@babel/helper-validator-identifier": "^7.28.5" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@egjs/hammerjs": { - "version": "2.0.17", - "resolved": "https://registry.npmjs.org/@egjs/hammerjs/-/hammerjs-2.0.17.tgz", - "integrity": "sha512-XQsZgjm2EcVUiZQf11UBJQfmZeEmOW8DpI1gsFeln6w0ae0ii4dMQEQ0kjl6DspdWX1aGY1/loyXnP0JS06e/A==", - "license": "MIT", - "dependencies": { - "@types/hammerjs": "^2.0.36" - }, - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/@expo/code-signing-certificates": { - "version": "0.0.5", - "resolved": "https://registry.npmjs.org/@expo/code-signing-certificates/-/code-signing-certificates-0.0.5.tgz", - "integrity": "sha512-BNhXkY1bblxKZpltzAx98G2Egj9g1Q+JRcvR7E99DOj862FTCX+ZPsAUtPTr7aHxwtrL7+fL3r0JSmM9kBm+Bw==", - "license": "MIT", - "dependencies": { - "node-forge": "^1.2.1", - "nullthrows": "^1.1.1" - } - }, - "node_modules/@expo/config": { - "version": "11.0.10", - "resolved": "https://registry.npmjs.org/@expo/config/-/config-11.0.10.tgz", - "integrity": "sha512-8S8Krr/c5lnl0eF03tA2UGY9rGBhZcbWKz2UWw5dpL/+zstwUmog8oyuuC8aRcn7GiTQLlbBkxcMeT8sOGlhbA==", - "license": "MIT", - "peer": true, - "dependencies": { - "@babel/code-frame": "~7.10.4", - "@expo/config-plugins": "~10.0.2", - "@expo/config-types": "^53.0.4", - "@expo/json-file": "^9.1.4", - "deepmerge": "^4.3.1", - "getenv": "^1.0.0", - "glob": "^10.4.2", - "require-from-string": "^2.0.2", - "resolve-from": "^5.0.0", - "resolve-workspace-root": "^2.0.0", - "semver": "^7.6.0", - "slugify": "^1.3.4", - "sucrase": "3.35.0" - } - }, - "node_modules/@expo/config-plugins": { - "version": "10.0.3", - "resolved": "https://registry.npmjs.org/@expo/config-plugins/-/config-plugins-10.0.3.tgz", - "integrity": "sha512-fjCckkde67pSDf48x7wRuPsgQVIqlDwN7NlOk9/DFgQ1hCH0L5pGqoSmikA1vtAyiA83MOTpkGl3F3wyATyUog==", - "license": "MIT", - "peer": true, - "dependencies": { - "@expo/config-types": "^53.0.4", - "@expo/json-file": "~9.1.4", - "@expo/plist": "^0.3.4", - "@expo/sdk-runtime-versions": "^1.0.0", - "chalk": "^4.1.2", - "debug": "^4.3.5", - "getenv": "^2.0.0", - "glob": "^10.4.2", - "resolve-from": "^5.0.0", - "semver": "^7.5.4", - "slash": "^3.0.0", - "slugify": "^1.6.6", - "xcode": "^3.0.1", - "xml2js": "0.6.0" - } - }, - "node_modules/@expo/config-plugins/node_modules/semver": { - "version": "7.7.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", - "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", - "license": "ISC", - "peer": true, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@expo/config-types": { - "version": "53.0.4", - "resolved": "https://registry.npmjs.org/@expo/config-types/-/config-types-53.0.4.tgz", - "integrity": "sha512-0s+9vFx83WIToEr0Iwy4CcmiUXa5BgwBmEjylBB2eojX5XAMm9mJvw9KpjAb8m7zq2G0Q6bRbeufkzgbipuNQg==", - "license": "MIT", - "peer": true - }, - "node_modules/@expo/config/node_modules/@babel/code-frame": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz", - "integrity": "sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg==", - "license": "MIT", - "peer": true, - "dependencies": { - "@babel/highlight": "^7.10.4" - } - }, - "node_modules/@expo/config/node_modules/getenv": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/getenv/-/getenv-1.0.0.tgz", - "integrity": "sha512-7yetJWqbS9sbn0vIfliPsFgoXMKn/YMF+Wuiog97x+urnSRRRZ7xB+uVkwGKzRgq9CDFfMQnE9ruL5DHv9c6Xg==", - "license": "MIT", - "peer": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/@expo/config/node_modules/semver": { - "version": "7.7.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", - "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", - "license": "ISC", - "peer": true, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@expo/devcert": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@expo/devcert/-/devcert-1.2.1.tgz", - "integrity": "sha512-qC4eaxmKMTmJC2ahwyui6ud8f3W60Ss7pMkpBq40Hu3zyiAaugPXnZ24145U7K36qO9UHdZUVxsCvIpz2RYYCA==", - "license": "MIT", - "dependencies": { - "@expo/sudo-prompt": "^9.3.1", - "debug": "^3.1.0" - } - }, - "node_modules/@expo/devcert/node_modules/debug": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", - "license": "MIT", - "dependencies": { - "ms": "^2.1.1" - } - }, - "node_modules/@expo/devtools": { - "version": "0.1.8", - "resolved": "https://registry.npmjs.org/@expo/devtools/-/devtools-0.1.8.tgz", - "integrity": "sha512-SVLxbuanDjJPgc0sy3EfXUMLb/tXzp6XIHkhtPVmTWJAp+FOr6+5SeiCfJrCzZFet0Ifyke2vX3sFcKwEvCXwQ==", - "license": "MIT", - "dependencies": { - "chalk": "^4.1.2" - }, - "peerDependencies": { - "react": "*", - "react-native": "*" - }, - "peerDependenciesMeta": { - "react": { - "optional": true - }, - "react-native": { - "optional": true - } - } - }, - "node_modules/@expo/env": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/@expo/env/-/env-1.0.5.tgz", - "integrity": "sha512-dtEZ4CAMaVrFu2+tezhU3FoGWtbzQl50xV+rNJE5lYVRjUflWiZkVHlHkWUlPAwDPifLy4TuissVfScGGPWR5g==", - "license": "MIT", - "peer": true, - "dependencies": { - "chalk": "^4.0.0", - "debug": "^4.3.4", - "dotenv": "~16.4.5", - "dotenv-expand": "~11.0.6", - "getenv": "^1.0.0" - } - }, - "node_modules/@expo/env/node_modules/getenv": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/getenv/-/getenv-1.0.0.tgz", - "integrity": "sha512-7yetJWqbS9sbn0vIfliPsFgoXMKn/YMF+Wuiog97x+urnSRRRZ7xB+uVkwGKzRgq9CDFfMQnE9ruL5DHv9c6Xg==", - "license": "MIT", - "peer": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/@expo/fingerprint": { - "version": "0.15.4", - "resolved": "https://registry.npmjs.org/@expo/fingerprint/-/fingerprint-0.15.4.tgz", - "integrity": "sha512-eYlxcrGdR2/j2M6pEDXo9zU9KXXF1vhP+V+Tl+lyY+bU8lnzrN6c637mz6Ye3em2ANy8hhUR03Raf8VsT9Ogng==", - "license": "MIT", - "dependencies": { - "@expo/spawn-async": "^1.7.2", - "arg": "^5.0.2", - "chalk": "^4.1.2", - "debug": "^4.3.4", - "getenv": "^2.0.0", - "glob": "^13.0.0", - "ignore": "^5.3.1", - "minimatch": "^9.0.0", - "p-limit": "^3.1.0", - "resolve-from": "^5.0.0", - "semver": "^7.6.0" - }, - "bin": { - "fingerprint": "bin/cli.js" - } - }, - "node_modules/@expo/fingerprint/node_modules/glob": { - "version": "13.0.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-13.0.0.tgz", - "integrity": "sha512-tvZgpqk6fz4BaNZ66ZsRaZnbHvP/jG3uKJvAZOwEVUL4RTA5nJeeLYfyN9/VA8NX/V3IBG+hkeuGpKjvELkVhA==", - "license": "BlueOak-1.0.0", - "dependencies": { - "minimatch": "^10.1.1", - "minipass": "^7.1.2", - "path-scurry": "^2.0.0" - }, - "engines": { - "node": "20 || >=22" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/@expo/fingerprint/node_modules/glob/node_modules/minimatch": { - "version": "10.1.1", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.1.1.tgz", - "integrity": "sha512-enIvLvRAFZYXJzkCYG5RKmPfrFArdLv+R+lbQ53BmIMLIry74bjKzX6iHAm8WYamJkhSSEabrWN5D97XnKObjQ==", - "license": "BlueOak-1.0.0", - "dependencies": { - "@isaacs/brace-expansion": "^5.0.0" - }, - "engines": { - "node": "20 || >=22" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/@expo/fingerprint/node_modules/lru-cache": { - "version": "11.2.4", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.2.4.tgz", - "integrity": "sha512-B5Y16Jr9LB9dHVkh6ZevG+vAbOsNOYCX+sXvFWFu7B3Iz5mijW3zdbMyhsh8ANd2mSWBYdJgnqi+mL7/LrOPYg==", - "license": "BlueOak-1.0.0", - "engines": { - "node": "20 || >=22" - } - }, - "node_modules/@expo/fingerprint/node_modules/path-scurry": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.1.tgz", - "integrity": "sha512-oWyT4gICAu+kaA7QWk/jvCHWarMKNs6pXOGWKDTr7cw4IGcUbW+PeTfbaQiLGheFRpjo6O9J0PmyMfQPjH71oA==", - "license": "BlueOak-1.0.0", - "dependencies": { - "lru-cache": "^11.0.0", - "minipass": "^7.1.2" - }, - "engines": { - "node": "20 || >=22" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/@expo/fingerprint/node_modules/semver": { - "version": "7.7.3", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz", - "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==", - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@expo/image-utils": { - "version": "0.8.8", - "resolved": "https://registry.npmjs.org/@expo/image-utils/-/image-utils-0.8.8.tgz", - "integrity": "sha512-HHHaG4J4nKjTtVa1GG9PCh763xlETScfEyNxxOvfTRr8IKPJckjTyqSLEtdJoFNJ1vqiABEjW7tqGhqGibZLeA==", - "license": "MIT", - "dependencies": { - "@expo/spawn-async": "^1.7.2", - "chalk": "^4.0.0", - "getenv": "^2.0.0", - "jimp-compact": "0.16.1", - "parse-png": "^2.1.0", - "resolve-from": "^5.0.0", - "resolve-global": "^1.0.0", - "semver": "^7.6.0", - "temp-dir": "~2.0.0", - "unique-string": "~2.0.0" - } - }, - "node_modules/@expo/image-utils/node_modules/semver": { - "version": "7.7.3", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz", - "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==", - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@expo/json-file": { - "version": "9.1.4", - "resolved": "https://registry.npmjs.org/@expo/json-file/-/json-file-9.1.4.tgz", - "integrity": "sha512-7Bv86X27fPERGhw8aJEZvRcH9sk+9BenDnEmrI3ZpywKodYSBgc8lX9Y32faNVQ/p0YbDK9zdJ0BfAKNAOyi0A==", - "license": "MIT", - "peer": true, - "dependencies": { - "@babel/code-frame": "~7.10.4", - "json5": "^2.2.3" - } - }, - "node_modules/@expo/json-file/node_modules/@babel/code-frame": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz", - "integrity": "sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg==", - "license": "MIT", - "peer": true, - "dependencies": { - "@babel/highlight": "^7.10.4" - } - }, - "node_modules/@expo/metro": { - "version": "54.2.0", - "resolved": "https://registry.npmjs.org/@expo/metro/-/metro-54.2.0.tgz", - "integrity": "sha512-h68TNZPGsk6swMmLm9nRSnE2UXm48rWwgcbtAHVMikXvbxdS41NDHHeqg1rcQ9AbznDRp6SQVC2MVpDnsRKU1w==", - "license": "MIT", - "dependencies": { - "metro": "0.83.3", - "metro-babel-transformer": "0.83.3", - "metro-cache": "0.83.3", - "metro-cache-key": "0.83.3", - "metro-config": "0.83.3", - "metro-core": "0.83.3", - "metro-file-map": "0.83.3", - "metro-minify-terser": "0.83.3", - "metro-resolver": "0.83.3", - "metro-runtime": "0.83.3", - "metro-source-map": "0.83.3", - "metro-symbolicate": "0.83.3", - "metro-transform-plugins": "0.83.3", - "metro-transform-worker": "0.83.3" - } - }, - "node_modules/@expo/metro-config": { - "version": "54.0.12", - "resolved": "https://registry.npmjs.org/@expo/metro-config/-/metro-config-54.0.12.tgz", - "integrity": "sha512-Xhv1z/ak/cuJWeLxlnWr2u22q2AM/klASbjpP5eE34y91lGWa2NUwrFWoS830MhJ6kuAqtGdoQhwyPa3TES7sA==", - "license": "MIT", - "dependencies": { - "@babel/code-frame": "^7.20.0", - "@babel/core": "^7.20.0", - "@babel/generator": "^7.20.5", - "@expo/config": "~12.0.13", - "@expo/env": "~2.0.8", - "@expo/json-file": "~10.0.8", - "@expo/metro": "~54.2.0", - "@expo/spawn-async": "^1.7.2", - "browserslist": "^4.25.0", - "chalk": "^4.1.0", - "debug": "^4.3.2", - "dotenv": "~16.4.5", - "dotenv-expand": "~11.0.6", - "getenv": "^2.0.0", - "glob": "^13.0.0", - "hermes-parser": "^0.29.1", - "jsc-safe-url": "^0.2.4", - "lightningcss": "^1.30.1", - "minimatch": "^9.0.0", - "postcss": "~8.4.32", - "resolve-from": "^5.0.0" - }, - "peerDependencies": { - "expo": "*" - }, - "peerDependenciesMeta": { - "expo": { - "optional": true - } - } - }, - "node_modules/@expo/metro-config/node_modules/@expo/config": { - "version": "12.0.13", - "resolved": "https://registry.npmjs.org/@expo/config/-/config-12.0.13.tgz", - "integrity": "sha512-Cu52arBa4vSaupIWsF0h7F/Cg//N374nYb7HAxV0I4KceKA7x2UXpYaHOL7EEYYvp7tZdThBjvGpVmr8ScIvaQ==", - "license": "MIT", - "dependencies": { - "@babel/code-frame": "~7.10.4", - "@expo/config-plugins": "~54.0.4", - "@expo/config-types": "^54.0.10", - "@expo/json-file": "^10.0.8", - "deepmerge": "^4.3.1", - "getenv": "^2.0.0", - "glob": "^13.0.0", - "require-from-string": "^2.0.2", - "resolve-from": "^5.0.0", - "resolve-workspace-root": "^2.0.0", - "semver": "^7.6.0", - "slugify": "^1.3.4", - "sucrase": "~3.35.1" - } - }, - "node_modules/@expo/metro-config/node_modules/@expo/config-plugins": { - "version": "54.0.4", - "resolved": "https://registry.npmjs.org/@expo/config-plugins/-/config-plugins-54.0.4.tgz", - "integrity": "sha512-g2yXGICdoOw5i3LkQSDxl2Q5AlQCrG7oniu0pCPPO+UxGb7He4AFqSvPSy8HpRUj55io17hT62FTjYRD+d6j3Q==", - "license": "MIT", - "dependencies": { - "@expo/config-types": "^54.0.10", - "@expo/json-file": "~10.0.8", - "@expo/plist": "^0.4.8", - "@expo/sdk-runtime-versions": "^1.0.0", - "chalk": "^4.1.2", - "debug": "^4.3.5", - "getenv": "^2.0.0", - "glob": "^13.0.0", - "resolve-from": "^5.0.0", - "semver": "^7.5.4", - "slash": "^3.0.0", - "slugify": "^1.6.6", - "xcode": "^3.0.1", - "xml2js": "0.6.0" - } - }, - "node_modules/@expo/metro-config/node_modules/@expo/config-types": { - "version": "54.0.10", - "resolved": "https://registry.npmjs.org/@expo/config-types/-/config-types-54.0.10.tgz", - "integrity": "sha512-/J16SC2an1LdtCZ67xhSkGXpALYUVUNyZws7v+PVsFZxClYehDSoKLqyRaGkpHlYrCc08bS0RF5E0JV6g50psA==", - "license": "MIT" - }, - "node_modules/@expo/metro-config/node_modules/@expo/config/node_modules/@babel/code-frame": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz", - "integrity": "sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg==", - "license": "MIT", - "dependencies": { - "@babel/highlight": "^7.10.4" - } - }, - "node_modules/@expo/metro-config/node_modules/@expo/env": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/@expo/env/-/env-2.0.8.tgz", - "integrity": "sha512-5VQD6GT8HIMRaSaB5JFtOXuvfDVU80YtZIuUT/GDhUF782usIXY13Tn3IdDz1Tm/lqA9qnRZQ1BF4t7LlvdJPA==", - "license": "MIT", - "dependencies": { - "chalk": "^4.0.0", - "debug": "^4.3.4", - "dotenv": "~16.4.5", - "dotenv-expand": "~11.0.6", - "getenv": "^2.0.0" - } - }, - "node_modules/@expo/metro-config/node_modules/@expo/json-file": { - "version": "10.0.8", - "resolved": "https://registry.npmjs.org/@expo/json-file/-/json-file-10.0.8.tgz", - "integrity": "sha512-9LOTh1PgKizD1VXfGQ88LtDH0lRwq9lsTb4aichWTWSWqy3Ugfkhfm3BhzBIkJJfQQ5iJu3m/BoRlEIjoCGcnQ==", - "license": "MIT", - "dependencies": { - "@babel/code-frame": "~7.10.4", - "json5": "^2.2.3" - } - }, - "node_modules/@expo/metro-config/node_modules/@expo/json-file/node_modules/@babel/code-frame": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz", - "integrity": "sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg==", - "license": "MIT", - "dependencies": { - "@babel/highlight": "^7.10.4" - } - }, - "node_modules/@expo/metro-config/node_modules/@expo/plist": { - "version": "0.4.8", - "resolved": "https://registry.npmjs.org/@expo/plist/-/plist-0.4.8.tgz", - "integrity": "sha512-pfNtErGGzzRwHP+5+RqswzPDKkZrx+Cli0mzjQaus1ZWFsog5ibL+nVT3NcporW51o8ggnt7x813vtRbPiyOrQ==", - "license": "MIT", - "dependencies": { - "@xmldom/xmldom": "^0.8.8", - "base64-js": "^1.2.3", - "xmlbuilder": "^15.1.1" - } - }, - "node_modules/@expo/metro-config/node_modules/commander": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", - "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", - "license": "MIT", - "engines": { - "node": ">= 6" - } - }, - "node_modules/@expo/metro-config/node_modules/glob": { - "version": "13.0.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-13.0.0.tgz", - "integrity": "sha512-tvZgpqk6fz4BaNZ66ZsRaZnbHvP/jG3uKJvAZOwEVUL4RTA5nJeeLYfyN9/VA8NX/V3IBG+hkeuGpKjvELkVhA==", - "license": "BlueOak-1.0.0", - "dependencies": { - "minimatch": "^10.1.1", - "minipass": "^7.1.2", - "path-scurry": "^2.0.0" - }, - "engines": { - "node": "20 || >=22" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/@expo/metro-config/node_modules/glob/node_modules/minimatch": { - "version": "10.1.1", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.1.1.tgz", - "integrity": "sha512-enIvLvRAFZYXJzkCYG5RKmPfrFArdLv+R+lbQ53BmIMLIry74bjKzX6iHAm8WYamJkhSSEabrWN5D97XnKObjQ==", - "license": "BlueOak-1.0.0", - "dependencies": { - "@isaacs/brace-expansion": "^5.0.0" - }, - "engines": { - "node": "20 || >=22" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/@expo/metro-config/node_modules/hermes-estree": { - "version": "0.29.1", - "resolved": "https://registry.npmjs.org/hermes-estree/-/hermes-estree-0.29.1.tgz", - "integrity": "sha512-jl+x31n4/w+wEqm0I2r4CMimukLbLQEYpisys5oCre611CI5fc9TxhqkBBCJ1edDG4Kza0f7CgNz8xVMLZQOmQ==", - "license": "MIT" - }, - "node_modules/@expo/metro-config/node_modules/hermes-parser": { - "version": "0.29.1", - "resolved": "https://registry.npmjs.org/hermes-parser/-/hermes-parser-0.29.1.tgz", - "integrity": "sha512-xBHWmUtRC5e/UL0tI7Ivt2riA/YBq9+SiYFU7C1oBa/j2jYGlIF9043oak1F47ihuDIxQ5nbsKueYJDRY02UgA==", - "license": "MIT", - "dependencies": { - "hermes-estree": "0.29.1" - } - }, - "node_modules/@expo/metro-config/node_modules/lru-cache": { - "version": "11.2.4", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.2.4.tgz", - "integrity": "sha512-B5Y16Jr9LB9dHVkh6ZevG+vAbOsNOYCX+sXvFWFu7B3Iz5mijW3zdbMyhsh8ANd2mSWBYdJgnqi+mL7/LrOPYg==", - "license": "BlueOak-1.0.0", - "engines": { - "node": "20 || >=22" - } - }, - "node_modules/@expo/metro-config/node_modules/path-scurry": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.1.tgz", - "integrity": "sha512-oWyT4gICAu+kaA7QWk/jvCHWarMKNs6pXOGWKDTr7cw4IGcUbW+PeTfbaQiLGheFRpjo6O9J0PmyMfQPjH71oA==", - "license": "BlueOak-1.0.0", - "dependencies": { - "lru-cache": "^11.0.0", - "minipass": "^7.1.2" - }, - "engines": { - "node": "20 || >=22" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/@expo/metro-config/node_modules/semver": { - "version": "7.7.3", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz", - "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==", - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@expo/metro-config/node_modules/sucrase": { - "version": "3.35.1", - "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.35.1.tgz", - "integrity": "sha512-DhuTmvZWux4H1UOnWMB3sk0sbaCVOoQZjv8u1rDoTV0HTdGem9hkAZtl4JZy8P2z4Bg0nT+YMeOFyVr4zcG5Tw==", - "license": "MIT", - "dependencies": { - "@jridgewell/gen-mapping": "^0.3.2", - "commander": "^4.0.0", - "lines-and-columns": "^1.1.6", - "mz": "^2.7.0", - "pirates": "^4.0.1", - "tinyglobby": "^0.2.11", - "ts-interface-checker": "^0.1.9" - }, - "bin": { - "sucrase": "bin/sucrase", - "sucrase-node": "bin/sucrase-node" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - } - }, - "node_modules/@expo/metro-runtime": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/@expo/metro-runtime/-/metro-runtime-5.0.4.tgz", - "integrity": "sha512-r694MeO+7Vi8IwOsDIDzH/Q5RPMt1kUDYbiTJwnO15nIqiDwlE8HU55UlRhffKZy6s5FmxQsZ8HA+T8DqUW8cQ==", - "license": "MIT", - "peerDependencies": { - "react-native": "*" - } - }, - "node_modules/@expo/osascript": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/@expo/osascript/-/osascript-2.3.8.tgz", - "integrity": "sha512-/TuOZvSG7Nn0I8c+FcEaoHeBO07yu6vwDgk7rZVvAXoeAK5rkA09jRyjYsZo+0tMEFaToBeywA6pj50Mb3ny9w==", - "license": "MIT", - "dependencies": { - "@expo/spawn-async": "^1.7.2", - "exec-async": "^2.2.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/@expo/package-manager": { - "version": "1.9.9", - "resolved": "https://registry.npmjs.org/@expo/package-manager/-/package-manager-1.9.9.tgz", - "integrity": "sha512-Nv5THOwXzPprMJwbnXU01iXSrCp3vJqly9M4EJ2GkKko9Ifer2ucpg7x6OUsE09/lw+npaoUnHMXwkw7gcKxlg==", - "license": "MIT", - "dependencies": { - "@expo/json-file": "^10.0.8", - "@expo/spawn-async": "^1.7.2", - "chalk": "^4.0.0", - "npm-package-arg": "^11.0.0", - "ora": "^3.4.0", - "resolve-workspace-root": "^2.0.0" - } - }, - "node_modules/@expo/package-manager/node_modules/@babel/code-frame": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz", - "integrity": "sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg==", - "license": "MIT", - "dependencies": { - "@babel/highlight": "^7.10.4" - } - }, - "node_modules/@expo/package-manager/node_modules/@expo/json-file": { - "version": "10.0.8", - "resolved": "https://registry.npmjs.org/@expo/json-file/-/json-file-10.0.8.tgz", - "integrity": "sha512-9LOTh1PgKizD1VXfGQ88LtDH0lRwq9lsTb4aichWTWSWqy3Ugfkhfm3BhzBIkJJfQQ5iJu3m/BoRlEIjoCGcnQ==", - "license": "MIT", - "dependencies": { - "@babel/code-frame": "~7.10.4", - "json5": "^2.2.3" - } - }, - "node_modules/@expo/plist": { - "version": "0.3.4", - "resolved": "https://registry.npmjs.org/@expo/plist/-/plist-0.3.4.tgz", - "integrity": "sha512-MhBLaUJNe9FQDDU2xhSNS4SAolr6K2wuyi4+A79vYuXLkAoICsbTwcGEQJN5jPY6D9izO/jsXh5k0h+mIWQMdw==", - "license": "MIT", - "peer": true, - "dependencies": { - "@xmldom/xmldom": "^0.8.8", - "base64-js": "^1.2.3", - "xmlbuilder": "^15.1.1" - } - }, - "node_modules/@expo/prebuild-config": { - "version": "54.0.8", - "resolved": "https://registry.npmjs.org/@expo/prebuild-config/-/prebuild-config-54.0.8.tgz", - "integrity": "sha512-EA7N4dloty2t5Rde+HP0IEE+nkAQiu4A/+QGZGT9mFnZ5KKjPPkqSyYcRvP5bhQE10D+tvz6X0ngZpulbMdbsg==", - "license": "MIT", - "dependencies": { - "@expo/config": "~12.0.13", - "@expo/config-plugins": "~54.0.4", - "@expo/config-types": "^54.0.10", - "@expo/image-utils": "^0.8.8", - "@expo/json-file": "^10.0.8", - "@react-native/normalize-colors": "0.81.5", - "debug": "^4.3.1", - "resolve-from": "^5.0.0", - "semver": "^7.6.0", - "xml2js": "0.6.0" - }, - "peerDependencies": { - "expo": "*" - } - }, - "node_modules/@expo/prebuild-config/node_modules/@babel/code-frame": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz", - "integrity": "sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg==", - "license": "MIT", - "dependencies": { - "@babel/highlight": "^7.10.4" - } - }, - "node_modules/@expo/prebuild-config/node_modules/@expo/config": { - "version": "12.0.13", - "resolved": "https://registry.npmjs.org/@expo/config/-/config-12.0.13.tgz", - "integrity": "sha512-Cu52arBa4vSaupIWsF0h7F/Cg//N374nYb7HAxV0I4KceKA7x2UXpYaHOL7EEYYvp7tZdThBjvGpVmr8ScIvaQ==", - "license": "MIT", - "dependencies": { - "@babel/code-frame": "~7.10.4", - "@expo/config-plugins": "~54.0.4", - "@expo/config-types": "^54.0.10", - "@expo/json-file": "^10.0.8", - "deepmerge": "^4.3.1", - "getenv": "^2.0.0", - "glob": "^13.0.0", - "require-from-string": "^2.0.2", - "resolve-from": "^5.0.0", - "resolve-workspace-root": "^2.0.0", - "semver": "^7.6.0", - "slugify": "^1.3.4", - "sucrase": "~3.35.1" - } - }, - "node_modules/@expo/prebuild-config/node_modules/@expo/config-plugins": { - "version": "54.0.4", - "resolved": "https://registry.npmjs.org/@expo/config-plugins/-/config-plugins-54.0.4.tgz", - "integrity": "sha512-g2yXGICdoOw5i3LkQSDxl2Q5AlQCrG7oniu0pCPPO+UxGb7He4AFqSvPSy8HpRUj55io17hT62FTjYRD+d6j3Q==", - "license": "MIT", - "dependencies": { - "@expo/config-types": "^54.0.10", - "@expo/json-file": "~10.0.8", - "@expo/plist": "^0.4.8", - "@expo/sdk-runtime-versions": "^1.0.0", - "chalk": "^4.1.2", - "debug": "^4.3.5", - "getenv": "^2.0.0", - "glob": "^13.0.0", - "resolve-from": "^5.0.0", - "semver": "^7.5.4", - "slash": "^3.0.0", - "slugify": "^1.6.6", - "xcode": "^3.0.1", - "xml2js": "0.6.0" - } - }, - "node_modules/@expo/prebuild-config/node_modules/@expo/config-types": { - "version": "54.0.10", - "resolved": "https://registry.npmjs.org/@expo/config-types/-/config-types-54.0.10.tgz", - "integrity": "sha512-/J16SC2an1LdtCZ67xhSkGXpALYUVUNyZws7v+PVsFZxClYehDSoKLqyRaGkpHlYrCc08bS0RF5E0JV6g50psA==", - "license": "MIT" - }, - "node_modules/@expo/prebuild-config/node_modules/@expo/json-file": { - "version": "10.0.8", - "resolved": "https://registry.npmjs.org/@expo/json-file/-/json-file-10.0.8.tgz", - "integrity": "sha512-9LOTh1PgKizD1VXfGQ88LtDH0lRwq9lsTb4aichWTWSWqy3Ugfkhfm3BhzBIkJJfQQ5iJu3m/BoRlEIjoCGcnQ==", - "license": "MIT", - "dependencies": { - "@babel/code-frame": "~7.10.4", - "json5": "^2.2.3" - } - }, - "node_modules/@expo/prebuild-config/node_modules/@expo/plist": { - "version": "0.4.8", - "resolved": "https://registry.npmjs.org/@expo/plist/-/plist-0.4.8.tgz", - "integrity": "sha512-pfNtErGGzzRwHP+5+RqswzPDKkZrx+Cli0mzjQaus1ZWFsog5ibL+nVT3NcporW51o8ggnt7x813vtRbPiyOrQ==", - "license": "MIT", - "dependencies": { - "@xmldom/xmldom": "^0.8.8", - "base64-js": "^1.2.3", - "xmlbuilder": "^15.1.1" - } - }, - "node_modules/@expo/prebuild-config/node_modules/commander": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", - "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", - "license": "MIT", - "engines": { - "node": ">= 6" - } - }, - "node_modules/@expo/prebuild-config/node_modules/glob": { - "version": "13.0.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-13.0.0.tgz", - "integrity": "sha512-tvZgpqk6fz4BaNZ66ZsRaZnbHvP/jG3uKJvAZOwEVUL4RTA5nJeeLYfyN9/VA8NX/V3IBG+hkeuGpKjvELkVhA==", - "license": "BlueOak-1.0.0", - "dependencies": { - "minimatch": "^10.1.1", - "minipass": "^7.1.2", - "path-scurry": "^2.0.0" - }, - "engines": { - "node": "20 || >=22" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/@expo/prebuild-config/node_modules/lru-cache": { - "version": "11.2.4", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.2.4.tgz", - "integrity": "sha512-B5Y16Jr9LB9dHVkh6ZevG+vAbOsNOYCX+sXvFWFu7B3Iz5mijW3zdbMyhsh8ANd2mSWBYdJgnqi+mL7/LrOPYg==", - "license": "BlueOak-1.0.0", - "engines": { - "node": "20 || >=22" - } - }, - "node_modules/@expo/prebuild-config/node_modules/minimatch": { - "version": "10.1.1", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.1.1.tgz", - "integrity": "sha512-enIvLvRAFZYXJzkCYG5RKmPfrFArdLv+R+lbQ53BmIMLIry74bjKzX6iHAm8WYamJkhSSEabrWN5D97XnKObjQ==", - "license": "BlueOak-1.0.0", - "dependencies": { - "@isaacs/brace-expansion": "^5.0.0" - }, - "engines": { - "node": "20 || >=22" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/@expo/prebuild-config/node_modules/path-scurry": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.1.tgz", - "integrity": "sha512-oWyT4gICAu+kaA7QWk/jvCHWarMKNs6pXOGWKDTr7cw4IGcUbW+PeTfbaQiLGheFRpjo6O9J0PmyMfQPjH71oA==", - "license": "BlueOak-1.0.0", - "dependencies": { - "lru-cache": "^11.0.0", - "minipass": "^7.1.2" - }, - "engines": { - "node": "20 || >=22" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/@expo/prebuild-config/node_modules/semver": { - "version": "7.7.3", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz", - "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==", - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@expo/prebuild-config/node_modules/sucrase": { - "version": "3.35.1", - "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.35.1.tgz", - "integrity": "sha512-DhuTmvZWux4H1UOnWMB3sk0sbaCVOoQZjv8u1rDoTV0HTdGem9hkAZtl4JZy8P2z4Bg0nT+YMeOFyVr4zcG5Tw==", - "license": "MIT", - "dependencies": { - "@jridgewell/gen-mapping": "^0.3.2", - "commander": "^4.0.0", - "lines-and-columns": "^1.1.6", - "mz": "^2.7.0", - "pirates": "^4.0.1", - "tinyglobby": "^0.2.11", - "ts-interface-checker": "^0.1.9" - }, - "bin": { - "sucrase": "bin/sucrase", - "sucrase-node": "bin/sucrase-node" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - } - }, - "node_modules/@expo/schema-utils": { - "version": "0.1.8", - "resolved": "https://registry.npmjs.org/@expo/schema-utils/-/schema-utils-0.1.8.tgz", - "integrity": "sha512-9I6ZqvnAvKKDiO+ZF8BpQQFYWXOJvTAL5L/227RUbWG1OVZDInFifzCBiqAZ3b67NRfeAgpgvbA7rejsqhY62A==", - "license": "MIT" - }, - "node_modules/@expo/sdk-runtime-versions": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@expo/sdk-runtime-versions/-/sdk-runtime-versions-1.0.0.tgz", - "integrity": "sha512-Doz2bfiPndXYFPMRwPyGa1k5QaKDVpY806UJj570epIiMzWaYyCtobasyfC++qfIXVb5Ocy7r3tP9d62hAQ7IQ==", - "license": "MIT" - }, - "node_modules/@expo/server": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/@expo/server/-/server-0.6.3.tgz", - "integrity": "sha512-Ea7NJn9Xk1fe4YeJ86rObHSv/bm3u/6WiQPXEqXJ2GrfYpVab2Swoh9/PnSM3KjR64JAgKjArDn1HiPjITCfHA==", - "license": "MIT", - "dependencies": { - "abort-controller": "^3.0.0", - "debug": "^4.3.4", - "source-map-support": "~0.5.21", - "undici": "^6.18.2 || ^7.0.0" - } - }, - "node_modules/@expo/spawn-async": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/@expo/spawn-async/-/spawn-async-1.7.2.tgz", - "integrity": "sha512-QdWi16+CHB9JYP7gma19OVVg0BFkvU8zNj9GjWorYI8Iv8FUxjOCcYRuAmX4s/h91e4e7BPsskc8cSrZYho9Ew==", - "license": "MIT", - "dependencies": { - "cross-spawn": "^7.0.3" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/@expo/sudo-prompt": { - "version": "9.3.2", - "resolved": "https://registry.npmjs.org/@expo/sudo-prompt/-/sudo-prompt-9.3.2.tgz", - "integrity": "sha512-HHQigo3rQWKMDzYDLkubN5WQOYXJJE2eNqIQC2axC2iO3mHdwnIR7FgZVvHWtBwAdzBgAP0ECp8KqS8TiMKvgw==", - "license": "MIT" - }, - "node_modules/@expo/vector-icons": { - "version": "15.0.3", - "resolved": "https://registry.npmjs.org/@expo/vector-icons/-/vector-icons-15.0.3.tgz", - "integrity": "sha512-SBUyYKphmlfUBqxSfDdJ3jAdEVSALS2VUPOUyqn48oZmb2TL/O7t7/PQm5v4NQujYEPLPMTLn9KVw6H7twwbTA==", - "license": "MIT", - "peerDependencies": { - "expo-font": ">=14.0.4", - "react": "*", - "react-native": "*" - } - }, - "node_modules/@expo/ws-tunnel": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/@expo/ws-tunnel/-/ws-tunnel-1.0.6.tgz", - "integrity": "sha512-nDRbLmSrJar7abvUjp3smDwH8HcbZcoOEa5jVPUv9/9CajgmWw20JNRwTuBRzWIWIkEJDkz20GoNA+tSwUqk0Q==", - "license": "MIT" - }, - "node_modules/@expo/xcpretty": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/@expo/xcpretty/-/xcpretty-4.3.2.tgz", - "integrity": "sha512-ReZxZ8pdnoI3tP/dNnJdnmAk7uLT4FjsKDGW7YeDdvdOMz2XCQSmSCM9IWlrXuWtMF9zeSB6WJtEhCQ41gQOfw==", - "license": "BSD-3-Clause", - "dependencies": { - "@babel/code-frame": "7.10.4", - "chalk": "^4.1.0", - "find-up": "^5.0.0", - "js-yaml": "^4.1.0" - }, - "bin": { - "excpretty": "build/cli.js" - } - }, - "node_modules/@expo/xcpretty/node_modules/@babel/code-frame": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz", - "integrity": "sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg==", - "license": "MIT", - "dependencies": { - "@babel/highlight": "^7.10.4" - } - }, - "node_modules/@isaacs/balanced-match": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@isaacs/balanced-match/-/balanced-match-4.0.1.tgz", - "integrity": "sha512-yzMTt9lEb8Gv7zRioUilSglI0c0smZ9k5D65677DLWLtWJaXIS3CqcGyUFByYKlnUj6TkjLVs54fBl6+TiGQDQ==", - "license": "MIT", - "engines": { - "node": "20 || >=22" - } - }, - "node_modules/@isaacs/brace-expansion": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@isaacs/brace-expansion/-/brace-expansion-5.0.0.tgz", - "integrity": "sha512-ZT55BDLV0yv0RBm2czMiZ+SqCGO7AvmOM3G/w2xhVPH+te0aKgFjmBvGlL1dH+ql2tgGO3MVrbb3jCKyvpgnxA==", - "license": "MIT", - "dependencies": { - "@isaacs/balanced-match": "^4.0.1" - }, - "engines": { - "node": "20 || >=22" - } - }, - "node_modules/@isaacs/cliui": { - "version": "8.0.2", - "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", - "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", - "license": "ISC", - "dependencies": { - "string-width": "^5.1.2", - "string-width-cjs": "npm:string-width@^4.2.0", - "strip-ansi": "^7.0.1", - "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", - "wrap-ansi": "^8.1.0", - "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/@isaacs/cliui/node_modules/ansi-styles": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", - "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/@isaacs/cliui/node_modules/wrap-ansi": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", - "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", - "license": "MIT", - "dependencies": { - "ansi-styles": "^6.1.0", - "string-width": "^5.0.1", - "strip-ansi": "^7.0.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, - "node_modules/@isaacs/fs-minipass": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@isaacs/fs-minipass/-/fs-minipass-4.0.1.tgz", - "integrity": "sha512-wgm9Ehl2jpeqP3zw/7mo3kRHFp5MEDhqAdwy1fTGkHAwnkGOVsgpvQhL8B5n1qlb01jV3n/bI0ZfZp5lWA1k4w==", - "license": "ISC", - "dependencies": { - "minipass": "^7.0.4" - }, - "engines": { - "node": ">=18.0.0" - } - }, - "node_modules/@isaacs/ttlcache": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@isaacs/ttlcache/-/ttlcache-1.4.1.tgz", - "integrity": "sha512-RQgQ4uQ+pLbqXfOmieB91ejmLwvSgv9nLx6sT6sD83s7umBypgg+OIBOBbEUiJXrfpnp9j0mRhYYdzp9uqq3lA==", - "license": "ISC", - "engines": { - "node": ">=12" - } - }, - "node_modules/@istanbuljs/load-nyc-config": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz", - "integrity": "sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==", - "license": "ISC", - "dependencies": { - "camelcase": "^5.3.1", - "find-up": "^4.1.0", - "get-package-type": "^0.1.0", - "js-yaml": "^3.13.1", - "resolve-from": "^5.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@istanbuljs/load-nyc-config/node_modules/argparse": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", - "license": "MIT", - "dependencies": { - "sprintf-js": "~1.0.2" - } - }, - "node_modules/@istanbuljs/load-nyc-config/node_modules/find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "license": "MIT", - "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml": { - "version": "3.14.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", - "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", - "license": "MIT", - "dependencies": { - "argparse": "^1.0.7", - "esprima": "^4.0.0" - }, - "bin": { - "js-yaml": "bin/js-yaml.js" - } - }, - "node_modules/@istanbuljs/load-nyc-config/node_modules/locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "license": "MIT", - "dependencies": { - "p-locate": "^4.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@istanbuljs/load-nyc-config/node_modules/p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "license": "MIT", - "dependencies": { - "p-try": "^2.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@istanbuljs/load-nyc-config/node_modules/p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "license": "MIT", - "dependencies": { - "p-limit": "^2.2.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@istanbuljs/schema": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz", - "integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/@jest/create-cache-key-function": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/create-cache-key-function/-/create-cache-key-function-29.7.0.tgz", - "integrity": "sha512-4QqS3LY5PBmTRHj9sAg1HLoPzqAI0uOX6wI/TRqHIcOxlFidy6YEmCQJk6FSZjNLGCeubDMfmkWL+qaLKhSGQA==", - "license": "MIT", - "dependencies": { - "@jest/types": "^29.6.3" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/environment": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-29.7.0.tgz", - "integrity": "sha512-aQIfHDq33ExsN4jP1NWGXhxgQ/wixs60gDiKO+XVMd8Mn0NWPWgc34ZQDTb2jKaUWQ7MuwoitXAsN2XVXNMpAw==", - "license": "MIT", - "dependencies": { - "@jest/fake-timers": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "jest-mock": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/fake-timers": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-29.7.0.tgz", - "integrity": "sha512-q4DH1Ha4TTFPdxLsqDXK1d3+ioSL7yL5oCMJZgDYm6i+6CygW5E5xVr/D1HdsGxjt1ZWSfUAs9OxSB/BNelWrQ==", - "license": "MIT", - "dependencies": { - "@jest/types": "^29.6.3", - "@sinonjs/fake-timers": "^10.0.2", - "@types/node": "*", - "jest-message-util": "^29.7.0", - "jest-mock": "^29.7.0", - "jest-util": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/schemas": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-29.6.3.tgz", - "integrity": "sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==", - "license": "MIT", - "dependencies": { - "@sinclair/typebox": "^0.27.8" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/transform": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-29.7.0.tgz", - "integrity": "sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw==", - "license": "MIT", - "dependencies": { - "@babel/core": "^7.11.6", - "@jest/types": "^29.6.3", - "@jridgewell/trace-mapping": "^0.3.18", - "babel-plugin-istanbul": "^6.1.1", - "chalk": "^4.0.0", - "convert-source-map": "^2.0.0", - "fast-json-stable-stringify": "^2.1.0", - "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.7.0", - "jest-regex-util": "^29.6.3", - "jest-util": "^29.7.0", - "micromatch": "^4.0.4", - "pirates": "^4.0.4", - "slash": "^3.0.0", - "write-file-atomic": "^4.0.2" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/types": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.6.3.tgz", - "integrity": "sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw==", - "license": "MIT", - "dependencies": { - "@jest/schemas": "^29.6.3", - "@types/istanbul-lib-coverage": "^2.0.0", - "@types/istanbul-reports": "^3.0.0", - "@types/node": "*", - "@types/yargs": "^17.0.8", - "chalk": "^4.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jridgewell/gen-mapping": { - "version": "0.3.13", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz", - "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==", - "license": "MIT", - "dependencies": { - "@jridgewell/sourcemap-codec": "^1.5.0", - "@jridgewell/trace-mapping": "^0.3.24" - } - }, - "node_modules/@jridgewell/resolve-uri": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", - "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", - "license": "MIT", - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@jridgewell/source-map": { - "version": "0.3.6", - "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.6.tgz", - "integrity": "sha512-1ZJTZebgqllO79ue2bm3rIGud/bOe0pP5BjSRCRxxYkEZS8STV7zN84UBbiYu7jy+eCKSnVIUgoWWE/tt+shMQ==", - "license": "MIT", - "dependencies": { - "@jridgewell/gen-mapping": "^0.3.5", - "@jridgewell/trace-mapping": "^0.3.25" - } - }, - "node_modules/@jridgewell/sourcemap-codec": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz", - "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==", - "license": "MIT" - }, - "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.31", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz", - "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==", - "license": "MIT", - "dependencies": { - "@jridgewell/resolve-uri": "^3.1.0", - "@jridgewell/sourcemap-codec": "^1.4.14" - } - }, - "node_modules/@nodelib/fs.scandir": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", - "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", - "license": "MIT", - "dependencies": { - "@nodelib/fs.stat": "2.0.5", - "run-parallel": "^1.1.9" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/@nodelib/fs.stat": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", - "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", - "license": "MIT", - "engines": { - "node": ">= 8" - } - }, - "node_modules/@nodelib/fs.walk": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", - "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", - "license": "MIT", - "dependencies": { - "@nodelib/fs.scandir": "2.1.5", - "fastq": "^1.6.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/@pkgjs/parseargs": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", - "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", - "license": "MIT", - "optional": true, - "engines": { - "node": ">=14" - } - }, - "node_modules/@radix-ui/react-compose-refs": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.2.tgz", - "integrity": "sha512-z4eqJvfiNnFMHIIvXP3CY57y2WJs5g2v3X0zm9mEJkrkNv4rDxu+sg9Jh8EkXyeqBkB7SOcboo9dMVqhyrACIg==", - "license": "MIT", - "peerDependencies": { - "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, - "node_modules/@radix-ui/react-slot": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.0.tgz", - "integrity": "sha512-ujc+V6r0HNDviYqIK3rW4ffgYiZ8g5DEHrGJVk4x7kTlLXRDILnKX9vAUYeIsLOoDpDJ0ujpqMkjH4w2ofuo6w==", - "license": "MIT", - "dependencies": { - "@radix-ui/react-compose-refs": "1.1.2" - }, - "peerDependencies": { - "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, - "node_modules/@react-native/assets-registry": { - "version": "0.81.5", - "resolved": "https://registry.npmjs.org/@react-native/assets-registry/-/assets-registry-0.81.5.tgz", - "integrity": "sha512-705B6x/5Kxm1RKRvSv0ADYWm5JOnoiQ1ufW7h8uu2E6G9Of/eE6hP/Ivw3U5jI16ERqZxiKQwk34VJbB0niX9w==", - "license": "MIT", - "engines": { - "node": ">= 20.19.4" - } - }, - "node_modules/@react-native/babel-plugin-codegen": { - "version": "0.79.4", - "resolved": "https://registry.npmjs.org/@react-native/babel-plugin-codegen/-/babel-plugin-codegen-0.79.4.tgz", - "integrity": "sha512-quhytIlDedR3ircRwifa22CaWVUVnkxccrrgztroCZaemSJM+HLurKJrjKWm0J5jV9ed+d+9Qyb1YB0syTHDjg==", - "license": "MIT", - "dependencies": { - "@babel/traverse": "^7.25.3", - "@react-native/codegen": "0.79.4" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/@react-native/babel-preset": { - "version": "0.79.4", - "resolved": "https://registry.npmjs.org/@react-native/babel-preset/-/babel-preset-0.79.4.tgz", - "integrity": "sha512-El9JvYKiNfnkQ3qR7zJvvRdP3DX2i4BGYlIricWQishI3gWAfm88FQYFC2CcGoMQWJQEPN4jnDMpoISAJDEN4g==", - "license": "MIT", - "dependencies": { - "@babel/core": "^7.25.2", - "@babel/plugin-proposal-export-default-from": "^7.24.7", - "@babel/plugin-syntax-dynamic-import": "^7.8.3", - "@babel/plugin-syntax-export-default-from": "^7.24.7", - "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", - "@babel/plugin-syntax-optional-chaining": "^7.8.3", - "@babel/plugin-transform-arrow-functions": "^7.24.7", - "@babel/plugin-transform-async-generator-functions": "^7.25.4", - "@babel/plugin-transform-async-to-generator": "^7.24.7", - "@babel/plugin-transform-block-scoping": "^7.25.0", - "@babel/plugin-transform-class-properties": "^7.25.4", - "@babel/plugin-transform-classes": "^7.25.4", - "@babel/plugin-transform-computed-properties": "^7.24.7", - "@babel/plugin-transform-destructuring": "^7.24.8", - "@babel/plugin-transform-flow-strip-types": "^7.25.2", - "@babel/plugin-transform-for-of": "^7.24.7", - "@babel/plugin-transform-function-name": "^7.25.1", - "@babel/plugin-transform-literals": "^7.25.2", - "@babel/plugin-transform-logical-assignment-operators": "^7.24.7", - "@babel/plugin-transform-modules-commonjs": "^7.24.8", - "@babel/plugin-transform-named-capturing-groups-regex": "^7.24.7", - "@babel/plugin-transform-nullish-coalescing-operator": "^7.24.7", - "@babel/plugin-transform-numeric-separator": "^7.24.7", - "@babel/plugin-transform-object-rest-spread": "^7.24.7", - "@babel/plugin-transform-optional-catch-binding": "^7.24.7", - "@babel/plugin-transform-optional-chaining": "^7.24.8", - "@babel/plugin-transform-parameters": "^7.24.7", - "@babel/plugin-transform-private-methods": "^7.24.7", - "@babel/plugin-transform-private-property-in-object": "^7.24.7", - "@babel/plugin-transform-react-display-name": "^7.24.7", - "@babel/plugin-transform-react-jsx": "^7.25.2", - "@babel/plugin-transform-react-jsx-self": "^7.24.7", - "@babel/plugin-transform-react-jsx-source": "^7.24.7", - "@babel/plugin-transform-regenerator": "^7.24.7", - "@babel/plugin-transform-runtime": "^7.24.7", - "@babel/plugin-transform-shorthand-properties": "^7.24.7", - "@babel/plugin-transform-spread": "^7.24.7", - "@babel/plugin-transform-sticky-regex": "^7.24.7", - "@babel/plugin-transform-typescript": "^7.25.2", - "@babel/plugin-transform-unicode-regex": "^7.24.7", - "@babel/template": "^7.25.0", - "@react-native/babel-plugin-codegen": "0.79.4", - "babel-plugin-syntax-hermes-parser": "0.25.1", - "babel-plugin-transform-flow-enums": "^0.0.2", - "react-refresh": "^0.14.0" - }, - "engines": { - "node": ">=18" - }, - "peerDependencies": { - "@babel/core": "*" - } - }, - "node_modules/@react-native/codegen": { - "version": "0.79.4", - "resolved": "https://registry.npmjs.org/@react-native/codegen/-/codegen-0.79.4.tgz", - "integrity": "sha512-K0moZDTJtqZqSs+u9tnDPSxNsdxi5irq8Nu4mzzOYlJTVNGy5H9BiIDg/NeKGfjAdo43yTDoaPSbUCvVV8cgIw==", - "license": "MIT", - "dependencies": { - "glob": "^7.1.1", - "hermes-parser": "0.25.1", - "invariant": "^2.2.4", - "nullthrows": "^1.1.1", - "yargs": "^17.6.2" - }, - "engines": { - "node": ">=18" - }, - "peerDependencies": { - "@babel/core": "*" - } - }, - "node_modules/@react-native/codegen/node_modules/brace-expansion": { - "version": "1.1.12", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", - "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", - "license": "MIT", - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/@react-native/codegen/node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "deprecated": "Glob versions prior to v9 are no longer supported", - "license": "ISC", - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/@react-native/codegen/node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "license": "ISC", - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/@react-native/community-cli-plugin": { - "version": "0.81.5", - "resolved": "https://registry.npmjs.org/@react-native/community-cli-plugin/-/community-cli-plugin-0.81.5.tgz", - "integrity": "sha512-yWRlmEOtcyvSZ4+OvqPabt+NS36vg0K/WADTQLhrYrm9qdZSuXmq8PmdJWz/68wAqKQ+4KTILiq2kjRQwnyhQw==", - "license": "MIT", - "dependencies": { - "@react-native/dev-middleware": "0.81.5", - "debug": "^4.4.0", - "invariant": "^2.2.4", - "metro": "^0.83.1", - "metro-config": "^0.83.1", - "metro-core": "^0.83.1", - "semver": "^7.1.3" - }, - "engines": { - "node": ">= 20.19.4" - }, - "peerDependencies": { - "@react-native-community/cli": "*", - "@react-native/metro-config": "*" - }, - "peerDependenciesMeta": { - "@react-native-community/cli": { - "optional": true - }, - "@react-native/metro-config": { - "optional": true - } - } - }, - "node_modules/@react-native/community-cli-plugin/node_modules/semver": { - "version": "7.7.3", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz", - "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==", - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@react-native/debugger-frontend": { - "version": "0.81.5", - "resolved": "https://registry.npmjs.org/@react-native/debugger-frontend/-/debugger-frontend-0.81.5.tgz", - "integrity": "sha512-bnd9FSdWKx2ncklOetCgrlwqSGhMHP2zOxObJbOWXoj7GHEmih4MKarBo5/a8gX8EfA1EwRATdfNBQ81DY+h+w==", - "license": "BSD-3-Clause", - "engines": { - "node": ">= 20.19.4" - } - }, - "node_modules/@react-native/dev-middleware": { - "version": "0.81.5", - "resolved": "https://registry.npmjs.org/@react-native/dev-middleware/-/dev-middleware-0.81.5.tgz", - "integrity": "sha512-WfPfZzboYgo/TUtysuD5xyANzzfka8Ebni6RIb2wDxhb56ERi7qDrE4xGhtPsjCL4pQBXSVxyIlCy0d8I6EgGA==", - "license": "MIT", - "dependencies": { - "@isaacs/ttlcache": "^1.4.1", - "@react-native/debugger-frontend": "0.81.5", - "chrome-launcher": "^0.15.2", - "chromium-edge-launcher": "^0.2.0", - "connect": "^3.6.5", - "debug": "^4.4.0", - "invariant": "^2.2.4", - "nullthrows": "^1.1.1", - "open": "^7.0.3", - "serve-static": "^1.16.2", - "ws": "^6.2.3" - }, - "engines": { - "node": ">= 20.19.4" - } - }, - "node_modules/@react-native/dev-middleware/node_modules/ws": { - "version": "6.2.3", - "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.3.tgz", - "integrity": "sha512-jmTjYU0j60B+vHey6TfR3Z7RD61z/hmxBS3VMSGIrroOWXQEneK1zNuotOUrGyBHQj0yrpsLHPWtigEFd13ndA==", - "license": "MIT", - "dependencies": { - "async-limiter": "~1.0.0" - } - }, - "node_modules/@react-native/gradle-plugin": { - "version": "0.81.5", - "resolved": "https://registry.npmjs.org/@react-native/gradle-plugin/-/gradle-plugin-0.81.5.tgz", - "integrity": "sha512-hORRlNBj+ReNMLo9jme3yQ6JQf4GZpVEBLxmTXGGlIL78MAezDZr5/uq9dwElSbcGmLEgeiax6e174Fie6qPLg==", - "license": "MIT", - "engines": { - "node": ">= 20.19.4" - } - }, - "node_modules/@react-native/js-polyfills": { - "version": "0.81.5", - "resolved": "https://registry.npmjs.org/@react-native/js-polyfills/-/js-polyfills-0.81.5.tgz", - "integrity": "sha512-fB7M1CMOCIUudTRuj7kzxIBTVw2KXnsgbQ6+4cbqSxo8NmRRhA0Ul4ZUzZj3rFd3VznTL4Brmocv1oiN0bWZ8w==", - "license": "MIT", - "engines": { - "node": ">= 20.19.4" - } - }, - "node_modules/@react-native/normalize-colors": { - "version": "0.81.5", - "resolved": "https://registry.npmjs.org/@react-native/normalize-colors/-/normalize-colors-0.81.5.tgz", - "integrity": "sha512-0HuJ8YtqlTVRXGZuGeBejLE04wSQsibpTI+RGOyVqxZvgtlLLC/Ssw0UmbHhT4lYMp2fhdtvKZSs5emWB1zR/g==", - "license": "MIT" - }, - "node_modules/@react-native/virtualized-lists": { - "version": "0.72.8", - "resolved": "https://registry.npmjs.org/@react-native/virtualized-lists/-/virtualized-lists-0.72.8.tgz", - "integrity": "sha512-J3Q4Bkuo99k7mu+jPS9gSUSgq+lLRSI/+ahXNwV92XgJ/8UgOTxu2LPwhJnBk/sQKxq7E8WkZBnBiozukQMqrw==", - "dev": true, - "license": "MIT", - "dependencies": { - "invariant": "^2.2.4", - "nullthrows": "^1.1.1" - }, - "peerDependencies": { - "react-native": "*" - } - }, - "node_modules/@react-navigation/bottom-tabs": { - "version": "7.4.1", - "resolved": "https://registry.npmjs.org/@react-navigation/bottom-tabs/-/bottom-tabs-7.4.1.tgz", - "integrity": "sha512-PVLlFTktelOwtWcL5pXXxtpY2Lvd+A4cKghQvO5GOEDWuFabwuXN0TPIJ2l/G7+wW+Lz5Yd4v7sBfZbOJx7jdg==", - "license": "MIT", - "dependencies": { - "@react-navigation/elements": "^2.5.1", - "color": "^4.2.3" - }, - "peerDependencies": { - "@react-navigation/native": "^7.1.14", - "react": ">= 18.2.0", - "react-native": "*", - "react-native-safe-area-context": ">= 4.0.0", - "react-native-screens": ">= 4.0.0" - } - }, - "node_modules/@react-navigation/core": { - "version": "7.12.1", - "resolved": "https://registry.npmjs.org/@react-navigation/core/-/core-7.12.1.tgz", - "integrity": "sha512-ir6s25CDkReufi0vQhSIAe+AAHHJN9zTgGlS6iDS1yqbwgl2MiBAZzpaOL1T5llYujie2jF/bODeLz2j4k80zw==", - "license": "MIT", - "dependencies": { - "@react-navigation/routers": "^7.4.1", - "escape-string-regexp": "^4.0.0", - "nanoid": "^3.3.11", - "query-string": "^7.1.3", - "react-is": "^19.1.0", - "use-latest-callback": "^0.2.4", - "use-sync-external-store": "^1.5.0" - }, - "peerDependencies": { - "react": ">= 18.2.0" - } - }, - "node_modules/@react-navigation/core/node_modules/react-is": { - "version": "19.1.0", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-19.1.0.tgz", - "integrity": "sha512-Oe56aUPnkHyyDxxkvqtd7KkdQP5uIUfHxd5XTb3wE9d/kRnZLmKbDB0GWk919tdQ+mxxPtG6EAs6RMT6i1qtHg==", - "license": "MIT" - }, - "node_modules/@react-navigation/elements": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/@react-navigation/elements/-/elements-2.5.1.tgz", - "integrity": "sha512-0hNo+yaBNteK6lNKaSvo1dl/7TD+95vw2BIYBz1PYA2LhLL1B7SIARaVfccChhk4sa46szrTc8gbX0LSln2fcQ==", - "license": "MIT", - "dependencies": { - "color": "^4.2.3", - "use-latest-callback": "^0.2.4", - "use-sync-external-store": "^1.5.0" - }, - "peerDependencies": { - "@react-native-masked-view/masked-view": ">= 0.2.0", - "@react-navigation/native": "^7.1.14", - "react": ">= 18.2.0", - "react-native": "*", - "react-native-safe-area-context": ">= 4.0.0" - }, - "peerDependenciesMeta": { - "@react-native-masked-view/masked-view": { - "optional": true - } - } - }, - "node_modules/@react-navigation/native": { - "version": "7.1.14", - "resolved": "https://registry.npmjs.org/@react-navigation/native/-/native-7.1.14.tgz", - "integrity": "sha512-X233/CNx41FpshlWe4uEAUN8CNem3ju4t5pnVKcdhDR0cTQT1rK6P0ZwjSylD9zXdnHvJttFjBhKTot6TcvSqA==", - "license": "MIT", - "dependencies": { - "@react-navigation/core": "^7.12.1", - "escape-string-regexp": "^4.0.0", - "fast-deep-equal": "^3.1.3", - "nanoid": "^3.3.11", - "use-latest-callback": "^0.2.4" - }, - "peerDependencies": { - "react": ">= 18.2.0", - "react-native": "*" - } - }, - "node_modules/@react-navigation/native-stack": { - "version": "7.3.20", - "resolved": "https://registry.npmjs.org/@react-navigation/native-stack/-/native-stack-7.3.20.tgz", - "integrity": "sha512-igG1bxVJ/GR9IeNeHCSC/Ax0efZUVIWjW4ZkJvXC8D+Rjgwfr8jmWfk9nGCyaTaj5lvrb8Gwv0bnObalGqr2Yw==", - "license": "MIT", - "dependencies": { - "@react-navigation/elements": "^2.5.1", - "warn-once": "^0.1.1" - }, - "peerDependencies": { - "@react-navigation/native": "^7.1.14", - "react": ">= 18.2.0", - "react-native": "*", - "react-native-safe-area-context": ">= 4.0.0", - "react-native-screens": ">= 4.0.0" - } - }, - "node_modules/@react-navigation/routers": { - "version": "7.4.1", - "resolved": "https://registry.npmjs.org/@react-navigation/routers/-/routers-7.4.1.tgz", - "integrity": "sha512-42mZrMzQ0LfKxUb5OHIurYrPYyRsXFLolucILrvm21f0O40Sw0Ufh1bnn/jRqnxZZu7wvpUGIGYM8nS9zVE1Aw==", - "license": "MIT", - "dependencies": { - "nanoid": "^3.3.11" - } - }, - "node_modules/@shopify/react-native-skia": { - "version": "2.0.0-next.4", - "resolved": "https://registry.npmjs.org/@shopify/react-native-skia/-/react-native-skia-2.0.0-next.4.tgz", - "integrity": "sha512-NzvdgryRz6tkKMHgCChCKa3wXfN9TZhlV0/LrfIU/wKLC1uKgGXkoZgNz7Is0wwdhtao1JJJJ81fqHCGHgzk9g==", - "license": "MIT", - "dependencies": { - "canvaskit-wasm": "0.40.0", - "react-reconciler": "0.31.0" - }, - "bin": { - "setup-skia-web": "scripts/setup-canvaskit.js" - }, - "peerDependencies": { - "react": ">=19.0", - "react-native": ">=0.78", - "react-native-reanimated": "^3.0" - }, - "peerDependenciesMeta": { - "react-native": { - "optional": true - }, - "react-native-reanimated": { - "optional": true - } - } - }, - "node_modules/@sinclair/typebox": { - "version": "0.27.8", - "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.8.tgz", - "integrity": "sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==", - "license": "MIT" - }, - "node_modules/@sinonjs/commons": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.1.tgz", - "integrity": "sha512-K3mCHKQ9sVh8o1C9cxkwxaOmXoAMlDxC1mYyHrjqOWEcBjYr76t96zL2zlj5dUGZ3HSw240X1qgH3Mjf1yJWpQ==", - "license": "BSD-3-Clause", - "dependencies": { - "type-detect": "4.0.8" - } - }, - "node_modules/@sinonjs/fake-timers": { - "version": "10.3.0", - "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-10.3.0.tgz", - "integrity": "sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==", - "license": "BSD-3-Clause", - "dependencies": { - "@sinonjs/commons": "^3.0.0" - } - }, - "node_modules/@types/babel__core": { - "version": "7.20.5", - "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz", - "integrity": "sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==", - "license": "MIT", - "dependencies": { - "@babel/parser": "^7.20.7", - "@babel/types": "^7.20.7", - "@types/babel__generator": "*", - "@types/babel__template": "*", - "@types/babel__traverse": "*" - } - }, - "node_modules/@types/babel__generator": { - "version": "7.27.0", - "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.27.0.tgz", - "integrity": "sha512-ufFd2Xi92OAVPYsy+P4n7/U7e68fex0+Ee8gSG9KX7eo084CWiQ4sdxktvdl0bOPupXtVJPY19zk6EwWqUQ8lg==", - "license": "MIT", - "dependencies": { - "@babel/types": "^7.0.0" - } - }, - "node_modules/@types/babel__template": { - "version": "7.4.4", - "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.4.tgz", - "integrity": "sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==", - "license": "MIT", - "dependencies": { - "@babel/parser": "^7.1.0", - "@babel/types": "^7.0.0" - } - }, - "node_modules/@types/babel__traverse": { - "version": "7.20.7", - "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.20.7.tgz", - "integrity": "sha512-dkO5fhS7+/oos4ciWxyEyjWe48zmG6wbCheo/G2ZnHx4fs3EU6YC6UM8rk56gAjNJ9P3MTH2jo5jb92/K6wbng==", - "license": "MIT", - "dependencies": { - "@babel/types": "^7.20.7" - } - }, - "node_modules/@types/graceful-fs": { - "version": "4.1.9", - "resolved": "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.9.tgz", - "integrity": "sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==", - "license": "MIT", - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@types/hammerjs": { - "version": "2.0.46", - "resolved": "https://registry.npmjs.org/@types/hammerjs/-/hammerjs-2.0.46.tgz", - "integrity": "sha512-ynRvcq6wvqexJ9brDMS4BnBLzmr0e14d6ZJTEShTBWKymQiHwlAyGu0ZPEFI2Fh1U53F7tN9ufClWM5KvqkKOw==", - "license": "MIT" - }, - "node_modules/@types/istanbul-lib-coverage": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.6.tgz", - "integrity": "sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w==", - "license": "MIT" - }, - "node_modules/@types/istanbul-lib-report": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.3.tgz", - "integrity": "sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA==", - "license": "MIT", - "dependencies": { - "@types/istanbul-lib-coverage": "*" - } - }, - "node_modules/@types/istanbul-reports": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-3.0.4.tgz", - "integrity": "sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ==", - "license": "MIT", - "dependencies": { - "@types/istanbul-lib-report": "*" - } - }, - "node_modules/@types/json-schema": { - "version": "7.0.15", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", - "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", - "license": "MIT" - }, - "node_modules/@types/node": { - "version": "24.0.3", - "resolved": "https://registry.npmjs.org/@types/node/-/node-24.0.3.tgz", - "integrity": "sha512-R4I/kzCYAdRLzfiCabn9hxWfbuHS573x+r0dJMkkzThEa7pbrcDWK+9zu3e7aBOouf+rQAciqPFMnxwr0aWgKg==", - "license": "MIT", - "dependencies": { - "undici-types": "~7.8.0" - } - }, - "node_modules/@types/react": { - "version": "19.1.17", - "resolved": "https://registry.npmjs.org/@types/react/-/react-19.1.17.tgz", - "integrity": "sha512-Qec1E3mhALmaspIrhWt9jkQMNdw6bReVu64mjvhbhq2NFPftLPVr+l1SZgmw/66WwBNpDh7ao5AT6gF5v41PFA==", - "devOptional": true, - "license": "MIT", - "dependencies": { - "csstype": "^3.0.2" - } - }, - "node_modules/@types/react-native": { - "version": "0.72.8", - "resolved": "https://registry.npmjs.org/@types/react-native/-/react-native-0.72.8.tgz", - "integrity": "sha512-St6xA7+EoHN5mEYfdWnfYt0e8u6k2FR0P9s2arYgakQGFgU1f9FlPrIEcj0X24pLCF5c5i3WVuLCUdiCYHmOoA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@react-native/virtualized-lists": "^0.72.4", - "@types/react": "*" - } - }, - "node_modules/@types/react-native-vector-icons": { - "version": "6.4.18", - "resolved": "https://registry.npmjs.org/@types/react-native-vector-icons/-/react-native-vector-icons-6.4.18.tgz", - "integrity": "sha512-YGlNWb+k5laTBHd7+uZowB9DpIK3SXUneZqAiKQaj1jnJCZM0x71GDim5JCTMi4IFkhc9m8H/Gm28T5BjyivUw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/react": "*", - "@types/react-native": "^0.70" - } - }, - "node_modules/@types/react-native-vector-icons/node_modules/@types/react-native": { - "version": "0.70.19", - "resolved": "https://registry.npmjs.org/@types/react-native/-/react-native-0.70.19.tgz", - "integrity": "sha512-c6WbyCgWTBgKKMESj/8b4w+zWcZSsCforson7UdXtXMecG3MxCinYi6ihhrHVPyUrVzORsvEzK8zg32z4pK6Sg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/react": "*" - } - }, - "node_modules/@types/stack-utils": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.3.tgz", - "integrity": "sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==", - "license": "MIT" - }, - "node_modules/@types/yargs": { - "version": "17.0.33", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.33.tgz", - "integrity": "sha512-WpxBCKWPLr4xSsHgz511rFJAM+wS28w2zEO1QDNY5zM/S8ok70NNfztH0xwhqKyaK0OHCbN98LDAZuy1ctxDkA==", - "license": "MIT", - "dependencies": { - "@types/yargs-parser": "*" - } - }, - "node_modules/@types/yargs-parser": { - "version": "21.0.3", - "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.3.tgz", - "integrity": "sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==", - "license": "MIT" - }, - "node_modules/@ungap/structured-clone": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.3.0.tgz", - "integrity": "sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==", - "license": "ISC" - }, - "node_modules/@urql/core": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/@urql/core/-/core-5.2.0.tgz", - "integrity": "sha512-/n0ieD0mvvDnVAXEQgX/7qJiVcvYvNkOHeBvkwtylfjydar123caCXcl58PXFY11oU1oquJocVXHxLAbtv4x1A==", - "license": "MIT", - "dependencies": { - "@0no-co/graphql.web": "^1.0.13", - "wonka": "^6.3.2" - } - }, - "node_modules/@urql/exchange-retry": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/@urql/exchange-retry/-/exchange-retry-1.3.2.tgz", - "integrity": "sha512-TQMCz2pFJMfpNxmSfX1VSfTjwUIFx/mL+p1bnfM1xjjdla7Z+KnGMW/EhFbpckp3LyWAH4PgOsMwOMnIN+MBFg==", - "license": "MIT", - "dependencies": { - "@urql/core": "^5.1.2", - "wonka": "^6.3.2" - }, - "peerDependencies": { - "@urql/core": "^5.0.0" - } - }, - "node_modules/@webgpu/types": { - "version": "0.1.21", - "resolved": "https://registry.npmjs.org/@webgpu/types/-/types-0.1.21.tgz", - "integrity": "sha512-pUrWq3V5PiSGFLeLxoGqReTZmiiXwY3jRkIG5sLLKjyqNxrwm/04b4nw7LSmGWJcKk59XOM/YRTUwOzo4MMlow==", - "license": "BSD-3-Clause" - }, - "node_modules/@xmldom/xmldom": { - "version": "0.8.10", - "resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.8.10.tgz", - "integrity": "sha512-2WALfTl4xo2SkGCYRt6rDTFfk9R1czmBvUQy12gK2KuRKIpWEhcbbzy8EZXtz/jkRqHX8bFEc6FC1HjX4TUWYw==", - "license": "MIT", - "engines": { - "node": ">=10.0.0" - } - }, - "node_modules/abort-controller": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", - "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", - "license": "MIT", - "dependencies": { - "event-target-shim": "^5.0.0" - }, - "engines": { - "node": ">=6.5" - } - }, - "node_modules/accepts": { - "version": "1.3.8", - "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", - "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", - "license": "MIT", - "dependencies": { - "mime-types": "~2.1.34", - "negotiator": "0.6.3" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/acorn": { - "version": "8.15.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.15.0.tgz", - "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==", - "license": "MIT", - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/agent-base": { - "version": "7.1.3", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.3.tgz", - "integrity": "sha512-jRR5wdylq8CkOe6hei19GGZnxM6rBGwFl3Bg0YItGDimvjGtAvdZk4Pu6Cl4u4Igsws4a1fd1Vq3ezrhn4KmFw==", - "license": "MIT", - "engines": { - "node": ">= 14" - } - }, - "node_modules/ajv": { - "version": "8.17.1", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", - "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", - "license": "MIT", - "dependencies": { - "fast-deep-equal": "^3.1.3", - "fast-uri": "^3.0.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/ajv-formats": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-2.1.1.tgz", - "integrity": "sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==", - "license": "MIT", - "dependencies": { - "ajv": "^8.0.0" - }, - "peerDependencies": { - "ajv": "^8.0.0" - }, - "peerDependenciesMeta": { - "ajv": { - "optional": true - } - } - }, - "node_modules/ajv-keywords": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz", - "integrity": "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==", - "license": "MIT", - "dependencies": { - "fast-deep-equal": "^3.1.3" - }, - "peerDependencies": { - "ajv": "^8.8.2" - } - }, - "node_modules/anser": { - "version": "1.4.10", - "resolved": "https://registry.npmjs.org/anser/-/anser-1.4.10.tgz", - "integrity": "sha512-hCv9AqTQ8ycjpSd3upOJd7vFwW1JaoYQ7tpham03GJ1ca8/65rqn0RpaWpItOAd6ylW9wAw6luXYPJIyPFVOww==", - "license": "MIT" - }, - "node_modules/ansi-escapes": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", - "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", - "license": "MIT", - "dependencies": { - "type-fest": "^0.21.3" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/ansi-escapes/node_modules/type-fest": { - "version": "0.21.3", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", - "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", - "license": "(MIT OR CC0-1.0)", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "license": "MIT", - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/any-promise": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz", - "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==", - "license": "MIT" - }, - "node_modules/anymatch": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", - "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", - "license": "ISC", - "dependencies": { - "normalize-path": "^3.0.0", - "picomatch": "^2.0.4" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/anymatch/node_modules/picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", - "license": "MIT", - "engines": { - "node": ">=8.6" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, - "node_modules/arg": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/arg/-/arg-5.0.2.tgz", - "integrity": "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==", - "license": "MIT" - }, - "node_modules/argparse": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", - "license": "Python-2.0" - }, - "node_modules/array-timsort": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/array-timsort/-/array-timsort-1.0.3.tgz", - "integrity": "sha512-/+3GRL7dDAGEfM6TseQk/U+mi18TU2Ms9I3UlLdUMhz2hbvGNTKdj9xniwXfUqgYhHxRx0+8UnKkvlNwVU+cWQ==", - "license": "MIT" - }, - "node_modules/asap": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", - "integrity": "sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==", - "license": "MIT" - }, - "node_modules/async-limiter": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz", - "integrity": "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==", - "license": "MIT" - }, - "node_modules/babel-jest": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-29.7.0.tgz", - "integrity": "sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg==", - "license": "MIT", - "dependencies": { - "@jest/transform": "^29.7.0", - "@types/babel__core": "^7.1.14", - "babel-plugin-istanbul": "^6.1.1", - "babel-preset-jest": "^29.6.3", - "chalk": "^4.0.0", - "graceful-fs": "^4.2.9", - "slash": "^3.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "peerDependencies": { - "@babel/core": "^7.8.0" - } - }, - "node_modules/babel-plugin-istanbul": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz", - "integrity": "sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==", - "license": "BSD-3-Clause", - "dependencies": { - "@babel/helper-plugin-utils": "^7.0.0", - "@istanbuljs/load-nyc-config": "^1.0.0", - "@istanbuljs/schema": "^0.1.2", - "istanbul-lib-instrument": "^5.0.4", - "test-exclude": "^6.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/babel-plugin-jest-hoist": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-29.6.3.tgz", - "integrity": "sha512-ESAc/RJvGTFEzRwOTT4+lNDk/GNHMkKbNzsvT0qKRfDyyYTskxB5rnU2njIDYVxXCBHHEI1c0YwHob3WaYujOg==", - "license": "MIT", - "dependencies": { - "@babel/template": "^7.3.3", - "@babel/types": "^7.3.3", - "@types/babel__core": "^7.1.14", - "@types/babel__traverse": "^7.0.6" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/babel-plugin-polyfill-corejs2": { - "version": "0.4.13", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.13.tgz", - "integrity": "sha512-3sX/eOms8kd3q2KZ6DAhKPc0dgm525Gqq5NtWKZ7QYYZEv57OQ54KtblzJzH1lQF/eQxO8KjWGIK9IPUJNus5g==", - "license": "MIT", - "dependencies": { - "@babel/compat-data": "^7.22.6", - "@babel/helper-define-polyfill-provider": "^0.6.4", - "semver": "^6.3.1" - }, - "peerDependencies": { - "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" - } - }, - "node_modules/babel-plugin-polyfill-corejs3": { - "version": "0.11.1", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.11.1.tgz", - "integrity": "sha512-yGCqvBT4rwMczo28xkH/noxJ6MZ4nJfkVYdoDaC/utLtWrXxv27HVrzAeSbqR8SxDsp46n0YF47EbHoixy6rXQ==", - "license": "MIT", - "dependencies": { - "@babel/helper-define-polyfill-provider": "^0.6.3", - "core-js-compat": "^3.40.0" - }, - "peerDependencies": { - "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" - } - }, - "node_modules/babel-plugin-polyfill-regenerator": { - "version": "0.6.4", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.6.4.tgz", - "integrity": "sha512-7gD3pRadPrbjhjLyxebmx/WrFYcuSjZ0XbdUujQMZ/fcE9oeewk2U/7PCvez84UeuK3oSjmPZ0Ch0dlupQvGzw==", - "license": "MIT", - "dependencies": { - "@babel/helper-define-polyfill-provider": "^0.6.4" - }, - "peerDependencies": { - "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" - } - }, - "node_modules/babel-plugin-react-compiler": { - "version": "19.0.0-beta-ebf51a3-20250411", - "resolved": "https://registry.npmjs.org/babel-plugin-react-compiler/-/babel-plugin-react-compiler-19.0.0-beta-ebf51a3-20250411.tgz", - "integrity": "sha512-q84bNR9JG1crykAlJUt5Ud0/5BUyMFuQww/mrwIQDFBaxsikqBDj3f/FNDsVd2iR26A1HvXKWPEIfgJDv8/V2g==", - "license": "MIT", - "optional": true, - "peer": true, - "dependencies": { - "@babel/types": "^7.26.0" - } - }, - "node_modules/babel-plugin-react-native-web": { - "version": "0.19.13", - "resolved": "https://registry.npmjs.org/babel-plugin-react-native-web/-/babel-plugin-react-native-web-0.19.13.tgz", - "integrity": "sha512-4hHoto6xaN23LCyZgL9LJZc3olmAxd7b6jDzlZnKXAh4rRAbZRKNBJoOOdp46OBqgy+K0t0guTj5/mhA8inymQ==", - "license": "MIT" - }, - "node_modules/babel-plugin-syntax-hermes-parser": { - "version": "0.25.1", - "resolved": "https://registry.npmjs.org/babel-plugin-syntax-hermes-parser/-/babel-plugin-syntax-hermes-parser-0.25.1.tgz", - "integrity": "sha512-IVNpGzboFLfXZUAwkLFcI/bnqVbwky0jP3eBno4HKtqvQJAHBLdgxiG6lQ4to0+Q/YCN3PO0od5NZwIKyY4REQ==", - "license": "MIT", - "dependencies": { - "hermes-parser": "0.25.1" - } - }, - "node_modules/babel-plugin-transform-flow-enums": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-flow-enums/-/babel-plugin-transform-flow-enums-0.0.2.tgz", - "integrity": "sha512-g4aaCrDDOsWjbm0PUUeVnkcVd6AKJsVc/MbnPhEotEpkeJQP6b8nzewohQi7+QS8UyPehOhGWn0nOwjvWpmMvQ==", - "license": "MIT", - "dependencies": { - "@babel/plugin-syntax-flow": "^7.12.1" - } - }, - "node_modules/babel-preset-current-node-syntax": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.1.0.tgz", - "integrity": "sha512-ldYss8SbBlWva1bs28q78Ju5Zq1F+8BrqBZZ0VFhLBvhh6lCpC2o3gDJi/5DRLs9FgYZCnmPYIVFU4lRXCkyUw==", - "license": "MIT", - "dependencies": { - "@babel/plugin-syntax-async-generators": "^7.8.4", - "@babel/plugin-syntax-bigint": "^7.8.3", - "@babel/plugin-syntax-class-properties": "^7.12.13", - "@babel/plugin-syntax-class-static-block": "^7.14.5", - "@babel/plugin-syntax-import-attributes": "^7.24.7", - "@babel/plugin-syntax-import-meta": "^7.10.4", - "@babel/plugin-syntax-json-strings": "^7.8.3", - "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4", - "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", - "@babel/plugin-syntax-numeric-separator": "^7.10.4", - "@babel/plugin-syntax-object-rest-spread": "^7.8.3", - "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", - "@babel/plugin-syntax-optional-chaining": "^7.8.3", - "@babel/plugin-syntax-private-property-in-object": "^7.14.5", - "@babel/plugin-syntax-top-level-await": "^7.14.5" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/babel-preset-expo": { - "version": "13.2.1", - "resolved": "https://registry.npmjs.org/babel-preset-expo/-/babel-preset-expo-13.2.1.tgz", - "integrity": "sha512-Ol3w0uLJNQ5tDfCf4L+IDTDMgJkVMQHhvYqMxs18Ib0DcaBQIfE8mneSSk7FcuI6FS0phw/rZhoEquQh1/Q3wA==", - "license": "MIT", - "dependencies": { - "@babel/helper-module-imports": "^7.25.9", - "@babel/plugin-proposal-decorators": "^7.12.9", - "@babel/plugin-proposal-export-default-from": "^7.24.7", - "@babel/plugin-syntax-export-default-from": "^7.24.7", - "@babel/plugin-transform-export-namespace-from": "^7.25.9", - "@babel/plugin-transform-flow-strip-types": "^7.25.2", - "@babel/plugin-transform-modules-commonjs": "^7.24.8", - "@babel/plugin-transform-object-rest-spread": "^7.24.7", - "@babel/plugin-transform-parameters": "^7.24.7", - "@babel/plugin-transform-private-methods": "^7.24.7", - "@babel/plugin-transform-private-property-in-object": "^7.24.7", - "@babel/plugin-transform-runtime": "^7.24.7", - "@babel/preset-react": "^7.22.15", - "@babel/preset-typescript": "^7.23.0", - "@react-native/babel-preset": "0.79.4", - "babel-plugin-react-native-web": "~0.19.13", - "babel-plugin-syntax-hermes-parser": "^0.25.1", - "babel-plugin-transform-flow-enums": "^0.0.2", - "debug": "^4.3.4", - "react-refresh": "^0.14.2", - "resolve-from": "^5.0.0" - }, - "peerDependencies": { - "babel-plugin-react-compiler": "^19.0.0-beta-e993439-20250405" - }, - "peerDependenciesMeta": { - "babel-plugin-react-compiler": { - "optional": true - } - } - }, - "node_modules/babel-preset-jest": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-29.6.3.tgz", - "integrity": "sha512-0B3bhxR6snWXJZtR/RliHTDPRgn1sNHOR0yVtq/IiQFyuOVjFS+wuio/R4gSNkyYmKmJB4wGZv2NZanmKmTnNA==", - "license": "MIT", - "dependencies": { - "babel-plugin-jest-hoist": "^29.6.3", - "babel-preset-current-node-syntax": "^1.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", - "license": "MIT" - }, - "node_modules/base64-js": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT" - }, - "node_modules/better-opn": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/better-opn/-/better-opn-3.0.2.tgz", - "integrity": "sha512-aVNobHnJqLiUelTaHat9DZ1qM2w0C0Eym4LPI/3JxOnSokGVdsl1T1kN7TFvsEAD8G47A6VKQ0TVHqbBnYMJlQ==", - "license": "MIT", - "dependencies": { - "open": "^8.0.4" - }, - "engines": { - "node": ">=12.0.0" - } - }, - "node_modules/better-opn/node_modules/open": { - "version": "8.4.2", - "resolved": "https://registry.npmjs.org/open/-/open-8.4.2.tgz", - "integrity": "sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ==", - "license": "MIT", - "dependencies": { - "define-lazy-prop": "^2.0.0", - "is-docker": "^2.1.1", - "is-wsl": "^2.2.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/big-integer": { - "version": "1.6.52", - "resolved": "https://registry.npmjs.org/big-integer/-/big-integer-1.6.52.tgz", - "integrity": "sha512-QxD8cf2eVqJOOz63z6JIN9BzvVs/dlySa5HGSBH5xtR8dPteIRQnBxxKqkNTiT6jbDTF6jAfrd4oMcND9RGbQg==", - "license": "Unlicense", - "engines": { - "node": ">=0.6" - } - }, - "node_modules/binary-extensions": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz", - "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==", - "license": "MIT", - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/bplist-creator": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/bplist-creator/-/bplist-creator-0.1.0.tgz", - "integrity": "sha512-sXaHZicyEEmY86WyueLTQesbeoH/mquvarJaQNbjuOQO+7gbFcDEWqKmcWA4cOTLzFlfgvkiVxolk1k5bBIpmg==", - "license": "MIT", - "dependencies": { - "stream-buffers": "2.2.x" - } - }, - "node_modules/bplist-parser": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/bplist-parser/-/bplist-parser-0.3.2.tgz", - "integrity": "sha512-apC2+fspHGI3mMKj+dGevkGo/tCqVB8jMb6i+OX+E29p0Iposz07fABkRIfVUPNd5A5VbuOz1bZbnmkKLYF+wQ==", - "license": "MIT", - "dependencies": { - "big-integer": "1.6.x" - }, - "engines": { - "node": ">= 5.10.0" - } - }, - "node_modules/brace-expansion": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", - "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", - "license": "MIT", - "dependencies": { - "balanced-match": "^1.0.0" - } - }, - "node_modules/braces": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", - "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", - "license": "MIT", - "dependencies": { - "fill-range": "^7.1.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/browserslist": { - "version": "4.25.0", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.25.0.tgz", - "integrity": "sha512-PJ8gYKeS5e/whHBh8xrwYK+dAvEj7JXtz6uTucnMRB8OiGTsKccFekoRrjajPBHV8oOY+2tI4uxeceSimKwMFA==", - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/browserslist" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "license": "MIT", - "dependencies": { - "caniuse-lite": "^1.0.30001718", - "electron-to-chromium": "^1.5.160", - "node-releases": "^2.0.19", - "update-browserslist-db": "^1.1.3" - }, - "bin": { - "browserslist": "cli.js" - }, - "engines": { - "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" - } - }, - "node_modules/bser": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz", - "integrity": "sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==", - "license": "Apache-2.0", - "dependencies": { - "node-int64": "^0.4.0" - } - }, - "node_modules/buffer": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", - "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT", - "dependencies": { - "base64-js": "^1.3.1", - "ieee754": "^1.1.13" - } - }, - "node_modules/buffer-from": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", - "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", - "license": "MIT" - }, - "node_modules/bytes": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", - "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/camelcase-css": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz", - "integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==", - "license": "MIT", - "engines": { - "node": ">= 6" - } - }, - "node_modules/caniuse-lite": { - "version": "1.0.30001724", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001724.tgz", - "integrity": "sha512-WqJo7p0TbHDOythNTqYujmaJTvtYRZrjpP8TCvH6Vb9CYJerJNKamKzIWOM4BkQatWj9H2lYulpdAQNBe7QhNA==", - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/caniuse-lite" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "license": "CC-BY-4.0" - }, - "node_modules/canvaskit-wasm": { - "version": "0.40.0", - "resolved": "https://registry.npmjs.org/canvaskit-wasm/-/canvaskit-wasm-0.40.0.tgz", - "integrity": "sha512-Od2o+ZmoEw9PBdN/yCGvzfu0WVqlufBPEWNG452wY7E9aT8RBE+ChpZF526doOlg7zumO4iCS+RAeht4P0Gbpw==", - "license": "BSD-3-Clause", - "dependencies": { - "@webgpu/types": "0.1.21" - } - }, - "node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "license": "MIT", - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/chokidar": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", - "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", - "license": "MIT", - "dependencies": { - "anymatch": "~3.1.2", - "braces": "~3.0.2", - "glob-parent": "~5.1.2", - "is-binary-path": "~2.1.0", - "is-glob": "~4.0.1", - "normalize-path": "~3.0.0", - "readdirp": "~3.6.0" - }, - "engines": { - "node": ">= 8.10.0" - }, - "funding": { - "url": "https://paulmillr.com/funding/" - }, - "optionalDependencies": { - "fsevents": "~2.3.2" - } - }, - "node_modules/chokidar/node_modules/glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "license": "ISC", - "dependencies": { - "is-glob": "^4.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/chownr": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/chownr/-/chownr-3.0.0.tgz", - "integrity": "sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g==", - "license": "BlueOak-1.0.0", - "engines": { - "node": ">=18" - } - }, - "node_modules/chrome-launcher": { - "version": "0.15.2", - "resolved": "https://registry.npmjs.org/chrome-launcher/-/chrome-launcher-0.15.2.tgz", - "integrity": "sha512-zdLEwNo3aUVzIhKhTtXfxhdvZhUghrnmkvcAq2NoDd+LeOHKf03H5jwZ8T/STsAlzyALkBVK552iaG1fGf1xVQ==", - "license": "Apache-2.0", - "dependencies": { - "@types/node": "*", - "escape-string-regexp": "^4.0.0", - "is-wsl": "^2.2.0", - "lighthouse-logger": "^1.0.0" - }, - "bin": { - "print-chrome-path": "bin/print-chrome-path.js" - }, - "engines": { - "node": ">=12.13.0" - } - }, - "node_modules/chromium-edge-launcher": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/chromium-edge-launcher/-/chromium-edge-launcher-0.2.0.tgz", - "integrity": "sha512-JfJjUnq25y9yg4FABRRVPmBGWPZZi+AQXT4mxupb67766/0UlhG8PAZCz6xzEMXTbW3CsSoE8PcCWA49n35mKg==", - "license": "Apache-2.0", - "dependencies": { - "@types/node": "*", - "escape-string-regexp": "^4.0.0", - "is-wsl": "^2.2.0", - "lighthouse-logger": "^1.0.0", - "mkdirp": "^1.0.4", - "rimraf": "^3.0.2" - } - }, - "node_modules/ci-info": { - "version": "3.9.0", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.9.0.tgz", - "integrity": "sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/sibiraj-s" - } - ], - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/cli-cursor": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz", - "integrity": "sha512-8lgKz8LmCRYZZQDpRyT2m5rKJ08TnU4tR9FFFW2rxpxR1FzWi4PQ/NfyODchAatHaUgnSPVcx/R5w6NuTBzFiw==", - "license": "MIT", - "dependencies": { - "restore-cursor": "^2.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/cli-spinners": { - "version": "2.9.2", - "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.9.2.tgz", - "integrity": "sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==", - "license": "MIT", - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/client-only": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/client-only/-/client-only-0.0.1.tgz", - "integrity": "sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==", - "license": "MIT" - }, - "node_modules/cliui": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", - "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", - "license": "ISC", - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^7.0.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/cliui/node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "license": "MIT" - }, - "node_modules/cliui/node_modules/string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "license": "MIT", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/cliui/node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "license": "MIT", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/clone": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", - "integrity": "sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==", - "license": "MIT", - "engines": { - "node": ">=0.8" - } - }, - "node_modules/color": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/color/-/color-4.2.3.tgz", - "integrity": "sha512-1rXeuUUiGGrykh+CeBdu5Ie7OJwinCgQY0bc7GCRxy5xVHy+moaqkpL/jqQq0MtQOeYcrqEz4abc5f0KtU7W4A==", - "license": "MIT", - "dependencies": { - "color-convert": "^2.0.1", - "color-string": "^1.9.0" - }, - "engines": { - "node": ">=12.5.0" - } - }, - "node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "license": "MIT", - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "license": "MIT" - }, - "node_modules/color-string": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.9.1.tgz", - "integrity": "sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==", - "license": "MIT", - "dependencies": { - "color-name": "^1.0.0", - "simple-swizzle": "^0.2.2" - } - }, - "node_modules/commander": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz", - "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==", - "license": "MIT", - "engines": { - "node": ">= 10" - } - }, - "node_modules/comment-json": { - "version": "4.2.5", - "resolved": "https://registry.npmjs.org/comment-json/-/comment-json-4.2.5.tgz", - "integrity": "sha512-bKw/r35jR3HGt5PEPm1ljsQQGyCrR8sFGNiN5L+ykDHdpO8Smxkrkla9Yi6NkQyUrb8V54PGhfMs6NrIwtxtdw==", - "license": "MIT", - "dependencies": { - "array-timsort": "^1.0.3", - "core-util-is": "^1.0.3", - "esprima": "^4.0.1", - "has-own-prop": "^2.0.0", - "repeat-string": "^1.6.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/compressible": { - "version": "2.0.18", - "resolved": "https://registry.npmjs.org/compressible/-/compressible-2.0.18.tgz", - "integrity": "sha512-AF3r7P5dWxL8MxyITRMlORQNaOA2IkAFaTr4k7BUumjPtRpGDTZpl0Pb1XCO6JeDCBdp126Cgs9sMxqSjgYyRg==", - "license": "MIT", - "dependencies": { - "mime-db": ">= 1.43.0 < 2" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/compression": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/compression/-/compression-1.8.1.tgz", - "integrity": "sha512-9mAqGPHLakhCLeNyxPkK4xVo746zQ/czLH1Ky+vkitMnWfWZps8r0qXuwhwizagCRttsL4lfG4pIOvaWLpAP0w==", - "license": "MIT", - "dependencies": { - "bytes": "3.1.2", - "compressible": "~2.0.18", - "debug": "2.6.9", - "negotiator": "~0.6.4", - "on-headers": "~1.1.0", - "safe-buffer": "5.2.1", - "vary": "~1.1.2" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/compression/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "license": "MIT", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/compression/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", - "license": "MIT" - }, - "node_modules/compression/node_modules/negotiator": { - "version": "0.6.4", - "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.4.tgz", - "integrity": "sha512-myRT3DiWPHqho5PrJaIRyaMv2kgYf0mUVgBNOYMuCH5Ki1yEiQaf/ZJuQ62nvpc44wL5WDbTX7yGJi1Neevw8w==", - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", - "license": "MIT" - }, - "node_modules/connect": { - "version": "3.7.0", - "resolved": "https://registry.npmjs.org/connect/-/connect-3.7.0.tgz", - "integrity": "sha512-ZqRXc+tZukToSNmh5C2iWMSoV3X1YUcPbqEM4DkEG5tNQXrQUZCNVGGv3IuicnkMtPfGf3Xtp8WCXs295iQ1pQ==", - "license": "MIT", - "dependencies": { - "debug": "2.6.9", - "finalhandler": "1.1.2", - "parseurl": "~1.3.3", - "utils-merge": "1.0.1" - }, - "engines": { - "node": ">= 0.10.0" - } - }, - "node_modules/connect/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "license": "MIT", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/connect/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", - "license": "MIT" - }, - "node_modules/convert-source-map": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", - "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", - "license": "MIT" - }, - "node_modules/core-js-compat": { - "version": "3.43.0", - "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.43.0.tgz", - "integrity": "sha512-2GML2ZsCc5LR7hZYz4AXmjQw8zuy2T//2QntwdnpuYI7jteT6GVYJL7F6C2C57R7gSYrcqVW3lAALefdbhBLDA==", - "license": "MIT", - "dependencies": { - "browserslist": "^4.25.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/core-js" - } - }, - "node_modules/core-util-is": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", - "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==", - "license": "MIT" - }, - "node_modules/cross-fetch": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.2.0.tgz", - "integrity": "sha512-Q+xVJLoGOeIMXZmbUK4HYk+69cQH6LudR0Vu/pRm2YlU/hDV9CiS0gKUMaWY5f2NeUH9C1nV3bsTlCo0FsTV1Q==", - "license": "MIT", - "dependencies": { - "node-fetch": "^2.7.0" - } - }, - "node_modules/cross-spawn": { - "version": "7.0.6", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", - "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", - "license": "MIT", - "dependencies": { - "path-key": "^3.1.0", - "shebang-command": "^2.0.0", - "which": "^2.0.1" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/crypto-random-string": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-2.0.0.tgz", - "integrity": "sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA==", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/css-in-js-utils": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/css-in-js-utils/-/css-in-js-utils-3.1.0.tgz", - "integrity": "sha512-fJAcud6B3rRu+KHYk+Bwf+WFL2MDCJJ1XG9x137tJQ0xYxor7XziQtuGFbWNdqrvF4Tk26O3H73nfVqXt/fW1A==", - "license": "MIT", - "dependencies": { - "hyphenate-style-name": "^1.0.3" - } - }, - "node_modules/cssesc": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", - "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", - "license": "MIT", - "bin": { - "cssesc": "bin/cssesc" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/csstype": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz", - "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==", - "devOptional": true, - "license": "MIT" - }, - "node_modules/debug": { - "version": "4.4.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.1.tgz", - "integrity": "sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==", - "license": "MIT", - "dependencies": { - "ms": "^2.1.3" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/decode-uri-component": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.2.tgz", - "integrity": "sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ==", - "license": "MIT", - "engines": { - "node": ">=0.10" - } - }, - "node_modules/deep-extend": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", - "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", - "license": "MIT", - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/deepmerge": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz", - "integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==", - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/defaults": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.4.tgz", - "integrity": "sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==", - "license": "MIT", - "dependencies": { - "clone": "^1.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/define-lazy-prop": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz", - "integrity": "sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/depd": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", - "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/destroy": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", - "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==", - "license": "MIT", - "engines": { - "node": ">= 0.8", - "npm": "1.2.8000 || >= 1.4.16" - } - }, - "node_modules/detect-libc": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz", - "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==", - "license": "Apache-2.0", - "engines": { - "node": ">=8" - } - }, - "node_modules/didyoumean": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/didyoumean/-/didyoumean-1.2.2.tgz", - "integrity": "sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==", - "license": "Apache-2.0" - }, - "node_modules/dlv": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz", - "integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==", - "license": "MIT" - }, - "node_modules/dotenv": { - "version": "16.4.7", - "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.7.tgz", - "integrity": "sha512-47qPchRCykZC03FhkYAhrvwU4xDBFIj1QPqaarj6mdM/hgUzfPHcpkHJOn3mJAufFeeAxAzeGsr5X0M4k6fLZQ==", - "license": "BSD-2-Clause", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://dotenvx.com" - } - }, - "node_modules/dotenv-expand": { - "version": "11.0.7", - "resolved": "https://registry.npmjs.org/dotenv-expand/-/dotenv-expand-11.0.7.tgz", - "integrity": "sha512-zIHwmZPRshsCdpMDyVsqGmgyP0yT8GAgXUnkdAoJisxvf33k7yO6OuoKmcTGuXPWSsm8Oh88nZicRLA9Y0rUeA==", - "license": "BSD-2-Clause", - "dependencies": { - "dotenv": "^16.4.5" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://dotenvx.com" - } - }, - "node_modules/eastasianwidth": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", - "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", - "license": "MIT" - }, - "node_modules/ee-first": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", - "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==", - "license": "MIT" - }, - "node_modules/electron-to-chromium": { - "version": "1.5.172", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.172.tgz", - "integrity": "sha512-fnKW9dGgmBfsebbYognQSv0CGGLFH1a5iV9EDYTBwmAQn+whbzHbLFlC+3XbHc8xaNtpO0etm8LOcRXs1qMRkQ==", - "license": "ISC" - }, - "node_modules/emoji-regex": { - "version": "9.2.2", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", - "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", - "license": "MIT" - }, - "node_modules/encodeurl": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", - "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/env-editor": { - "version": "0.4.2", - "resolved": "https://registry.npmjs.org/env-editor/-/env-editor-0.4.2.tgz", - "integrity": "sha512-ObFo8v4rQJAE59M69QzwloxPZtd33TpYEIjtKD1rrFDcM1Gd7IkDxEBU+HriziN6HSHQnBJi8Dmy+JWkav5HKA==", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/error-stack-parser": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/error-stack-parser/-/error-stack-parser-2.1.4.tgz", - "integrity": "sha512-Sk5V6wVazPhq5MhpO+AUxJn5x7XSXGl1R93Vn7i+zS15KDVxQijejNCrz8340/2bgLBjR9GtEG8ZVKONDjcqGQ==", - "license": "MIT", - "dependencies": { - "stackframe": "^1.3.4" - } - }, - "node_modules/escalade": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", - "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/escape-html": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", - "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==", - "license": "MIT" - }, - "node_modules/escape-string-regexp": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", - "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/esprima": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", - "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", - "license": "BSD-2-Clause", - "bin": { - "esparse": "bin/esparse.js", - "esvalidate": "bin/esvalidate.js" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/etag": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", - "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/event-target-shim": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", - "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==", - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/exec-async": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/exec-async/-/exec-async-2.2.0.tgz", - "integrity": "sha512-87OpwcEiMia/DeiKFzaQNBNFeN3XkkpYIh9FyOqq5mS2oKv3CBE67PXoEKcr6nodWdXNogTiQ0jE2NGuoffXPw==", - "license": "MIT" - }, - "node_modules/expo": { - "version": "54.0.30", - "resolved": "https://registry.npmjs.org/expo/-/expo-54.0.30.tgz", - "integrity": "sha512-6q+aFfKL0SpT8prfdpR3V8HcN51ov0mCGuwQTzyuk6eeO9rg7a7LWbgPv9rEVXGZEuyULstL8LGNwHqusand7Q==", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.20.0", - "@expo/cli": "54.0.20", - "@expo/config": "~12.0.13", - "@expo/config-plugins": "~54.0.4", - "@expo/devtools": "0.1.8", - "@expo/fingerprint": "0.15.4", - "@expo/metro": "~54.2.0", - "@expo/metro-config": "54.0.12", - "@expo/vector-icons": "^15.0.3", - "@ungap/structured-clone": "^1.3.0", - "babel-preset-expo": "~54.0.9", - "expo-asset": "~12.0.12", - "expo-constants": "~18.0.12", - "expo-file-system": "~19.0.21", - "expo-font": "~14.0.10", - "expo-keep-awake": "~15.0.8", - "expo-modules-autolinking": "3.0.23", - "expo-modules-core": "3.0.29", - "pretty-format": "^29.7.0", - "react-refresh": "^0.14.2", - "whatwg-url-without-unicode": "8.0.0-3" - }, - "bin": { - "expo": "bin/cli", - "expo-modules-autolinking": "bin/autolinking", - "fingerprint": "bin/fingerprint" - }, - "peerDependencies": { - "@expo/dom-webview": "*", - "@expo/metro-runtime": "*", - "react": "*", - "react-native": "*", - "react-native-webview": "*" - }, - "peerDependenciesMeta": { - "@expo/dom-webview": { - "optional": true - }, - "@expo/metro-runtime": { - "optional": true - }, - "react-native-webview": { - "optional": true - } - } - }, - "node_modules/expo-asset": { - "version": "12.0.12", - "resolved": "https://registry.npmjs.org/expo-asset/-/expo-asset-12.0.12.tgz", - "integrity": "sha512-CsXFCQbx2fElSMn0lyTdRIyKlSXOal6ilLJd+yeZ6xaC7I9AICQgscY5nj0QcwgA+KYYCCEQEBndMsmj7drOWQ==", - "license": "MIT", - "dependencies": { - "@expo/image-utils": "^0.8.8", - "expo-constants": "~18.0.12" - }, - "peerDependencies": { - "expo": "*", - "react": "*", - "react-native": "*" - } - }, - "node_modules/expo-asset/node_modules/@babel/code-frame": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz", - "integrity": "sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg==", - "license": "MIT", - "dependencies": { - "@babel/highlight": "^7.10.4" - } - }, - "node_modules/expo-asset/node_modules/@expo/config": { - "version": "12.0.13", - "resolved": "https://registry.npmjs.org/@expo/config/-/config-12.0.13.tgz", - "integrity": "sha512-Cu52arBa4vSaupIWsF0h7F/Cg//N374nYb7HAxV0I4KceKA7x2UXpYaHOL7EEYYvp7tZdThBjvGpVmr8ScIvaQ==", - "license": "MIT", - "dependencies": { - "@babel/code-frame": "~7.10.4", - "@expo/config-plugins": "~54.0.4", - "@expo/config-types": "^54.0.10", - "@expo/json-file": "^10.0.8", - "deepmerge": "^4.3.1", - "getenv": "^2.0.0", - "glob": "^13.0.0", - "require-from-string": "^2.0.2", - "resolve-from": "^5.0.0", - "resolve-workspace-root": "^2.0.0", - "semver": "^7.6.0", - "slugify": "^1.3.4", - "sucrase": "~3.35.1" - } - }, - "node_modules/expo-asset/node_modules/@expo/config-plugins": { - "version": "54.0.4", - "resolved": "https://registry.npmjs.org/@expo/config-plugins/-/config-plugins-54.0.4.tgz", - "integrity": "sha512-g2yXGICdoOw5i3LkQSDxl2Q5AlQCrG7oniu0pCPPO+UxGb7He4AFqSvPSy8HpRUj55io17hT62FTjYRD+d6j3Q==", - "license": "MIT", - "dependencies": { - "@expo/config-types": "^54.0.10", - "@expo/json-file": "~10.0.8", - "@expo/plist": "^0.4.8", - "@expo/sdk-runtime-versions": "^1.0.0", - "chalk": "^4.1.2", - "debug": "^4.3.5", - "getenv": "^2.0.0", - "glob": "^13.0.0", - "resolve-from": "^5.0.0", - "semver": "^7.5.4", - "slash": "^3.0.0", - "slugify": "^1.6.6", - "xcode": "^3.0.1", - "xml2js": "0.6.0" - } - }, - "node_modules/expo-asset/node_modules/@expo/config-types": { - "version": "54.0.10", - "resolved": "https://registry.npmjs.org/@expo/config-types/-/config-types-54.0.10.tgz", - "integrity": "sha512-/J16SC2an1LdtCZ67xhSkGXpALYUVUNyZws7v+PVsFZxClYehDSoKLqyRaGkpHlYrCc08bS0RF5E0JV6g50psA==", - "license": "MIT" - }, - "node_modules/expo-asset/node_modules/@expo/env": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/@expo/env/-/env-2.0.8.tgz", - "integrity": "sha512-5VQD6GT8HIMRaSaB5JFtOXuvfDVU80YtZIuUT/GDhUF782usIXY13Tn3IdDz1Tm/lqA9qnRZQ1BF4t7LlvdJPA==", - "license": "MIT", - "dependencies": { - "chalk": "^4.0.0", - "debug": "^4.3.4", - "dotenv": "~16.4.5", - "dotenv-expand": "~11.0.6", - "getenv": "^2.0.0" - } - }, - "node_modules/expo-asset/node_modules/@expo/json-file": { - "version": "10.0.8", - "resolved": "https://registry.npmjs.org/@expo/json-file/-/json-file-10.0.8.tgz", - "integrity": "sha512-9LOTh1PgKizD1VXfGQ88LtDH0lRwq9lsTb4aichWTWSWqy3Ugfkhfm3BhzBIkJJfQQ5iJu3m/BoRlEIjoCGcnQ==", - "license": "MIT", - "dependencies": { - "@babel/code-frame": "~7.10.4", - "json5": "^2.2.3" - } - }, - "node_modules/expo-asset/node_modules/@expo/plist": { - "version": "0.4.8", - "resolved": "https://registry.npmjs.org/@expo/plist/-/plist-0.4.8.tgz", - "integrity": "sha512-pfNtErGGzzRwHP+5+RqswzPDKkZrx+Cli0mzjQaus1ZWFsog5ibL+nVT3NcporW51o8ggnt7x813vtRbPiyOrQ==", - "license": "MIT", - "dependencies": { - "@xmldom/xmldom": "^0.8.8", - "base64-js": "^1.2.3", - "xmlbuilder": "^15.1.1" - } - }, - "node_modules/expo-asset/node_modules/commander": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", - "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", - "license": "MIT", - "engines": { - "node": ">= 6" - } - }, - "node_modules/expo-asset/node_modules/expo-constants": { - "version": "18.0.12", - "resolved": "https://registry.npmjs.org/expo-constants/-/expo-constants-18.0.12.tgz", - "integrity": "sha512-WzcKYMVNRRu4NcSzfIVRD5aUQFnSpTZgXFrlWmm19xJoDa4S3/PQNi6PNTBRc49xz9h8FT7HMxRKaC8lr0gflA==", - "license": "MIT", - "dependencies": { - "@expo/config": "~12.0.12", - "@expo/env": "~2.0.8" - }, - "peerDependencies": { - "expo": "*", - "react-native": "*" - } - }, - "node_modules/expo-asset/node_modules/glob": { - "version": "13.0.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-13.0.0.tgz", - "integrity": "sha512-tvZgpqk6fz4BaNZ66ZsRaZnbHvP/jG3uKJvAZOwEVUL4RTA5nJeeLYfyN9/VA8NX/V3IBG+hkeuGpKjvELkVhA==", - "license": "BlueOak-1.0.0", - "dependencies": { - "minimatch": "^10.1.1", - "minipass": "^7.1.2", - "path-scurry": "^2.0.0" - }, - "engines": { - "node": "20 || >=22" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/expo-asset/node_modules/lru-cache": { - "version": "11.2.4", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.2.4.tgz", - "integrity": "sha512-B5Y16Jr9LB9dHVkh6ZevG+vAbOsNOYCX+sXvFWFu7B3Iz5mijW3zdbMyhsh8ANd2mSWBYdJgnqi+mL7/LrOPYg==", - "license": "BlueOak-1.0.0", - "engines": { - "node": "20 || >=22" - } - }, - "node_modules/expo-asset/node_modules/minimatch": { - "version": "10.1.1", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.1.1.tgz", - "integrity": "sha512-enIvLvRAFZYXJzkCYG5RKmPfrFArdLv+R+lbQ53BmIMLIry74bjKzX6iHAm8WYamJkhSSEabrWN5D97XnKObjQ==", - "license": "BlueOak-1.0.0", - "dependencies": { - "@isaacs/brace-expansion": "^5.0.0" - }, - "engines": { - "node": "20 || >=22" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/expo-asset/node_modules/path-scurry": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.1.tgz", - "integrity": "sha512-oWyT4gICAu+kaA7QWk/jvCHWarMKNs6pXOGWKDTr7cw4IGcUbW+PeTfbaQiLGheFRpjo6O9J0PmyMfQPjH71oA==", - "license": "BlueOak-1.0.0", - "dependencies": { - "lru-cache": "^11.0.0", - "minipass": "^7.1.2" - }, - "engines": { - "node": "20 || >=22" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/expo-asset/node_modules/semver": { - "version": "7.7.3", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz", - "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==", - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/expo-asset/node_modules/sucrase": { - "version": "3.35.1", - "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.35.1.tgz", - "integrity": "sha512-DhuTmvZWux4H1UOnWMB3sk0sbaCVOoQZjv8u1rDoTV0HTdGem9hkAZtl4JZy8P2z4Bg0nT+YMeOFyVr4zcG5Tw==", - "license": "MIT", - "dependencies": { - "@jridgewell/gen-mapping": "^0.3.2", - "commander": "^4.0.0", - "lines-and-columns": "^1.1.6", - "mz": "^2.7.0", - "pirates": "^4.0.1", - "tinyglobby": "^0.2.11", - "ts-interface-checker": "^0.1.9" - }, - "bin": { - "sucrase": "bin/sucrase", - "sucrase-node": "bin/sucrase-node" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - } - }, - "node_modules/expo-constants": { - "version": "17.1.6", - "resolved": "https://registry.npmjs.org/expo-constants/-/expo-constants-17.1.6.tgz", - "integrity": "sha512-q5mLvJiLtPcaZ7t2diSOlQ2AyxIO8YMVEJsEfI/ExkGj15JrflNQ7CALEW6IF/uNae/76qI/XcjEuuAyjdaCNw==", - "license": "MIT", - "peer": true, - "dependencies": { - "@expo/config": "~11.0.9", - "@expo/env": "~1.0.5" - }, - "peerDependencies": { - "expo": "*", - "react-native": "*" - } - }, - "node_modules/expo-file-system": { - "version": "19.0.21", - "resolved": "https://registry.npmjs.org/expo-file-system/-/expo-file-system-19.0.21.tgz", - "integrity": "sha512-s3DlrDdiscBHtab/6W1osrjGL+C2bvoInPJD7sOwmxfJ5Woynv2oc+Fz1/xVXaE/V7HE/+xrHC/H45tu6lZzzg==", - "license": "MIT", - "peerDependencies": { - "expo": "*", - "react-native": "*" - } - }, - "node_modules/expo-font": { - "version": "14.0.10", - "resolved": "https://registry.npmjs.org/expo-font/-/expo-font-14.0.10.tgz", - "integrity": "sha512-UqyNaaLKRpj4pKAP4HZSLnuDQqueaO5tB1c/NWu5vh1/LF9ulItyyg2kF/IpeOp0DeOLk0GY0HrIXaKUMrwB+Q==", - "license": "MIT", - "dependencies": { - "fontfaceobserver": "^2.1.0" - }, - "peerDependencies": { - "expo": "*", - "react": "*", - "react-native": "*" - } - }, - "node_modules/expo-keep-awake": { - "version": "15.0.8", - "resolved": "https://registry.npmjs.org/expo-keep-awake/-/expo-keep-awake-15.0.8.tgz", - "integrity": "sha512-YK9M1VrnoH1vLJiQzChZgzDvVimVoriibiDIFLbQMpjYBnvyfUeHJcin/Gx1a+XgupNXy92EQJLgI/9ZuXajYQ==", - "license": "MIT", - "peerDependencies": { - "expo": "*", - "react": "*" - } - }, - "node_modules/expo-linking": { - "version": "7.1.5", - "resolved": "https://registry.npmjs.org/expo-linking/-/expo-linking-7.1.5.tgz", - "integrity": "sha512-8g20zOpROW78bF+bLI4a3ZWj4ntLgM0rCewKycPL0jk9WGvBrBtFtwwADJgOiV1EurNp3lcquerXGlWS+SOQyA==", - "license": "MIT", - "peer": true, - "dependencies": { - "expo-constants": "~17.1.6", - "invariant": "^2.2.4" - }, - "peerDependencies": { - "react": "*", - "react-native": "*" - } - }, - "node_modules/expo-modules-autolinking": { - "version": "3.0.23", - "resolved": "https://registry.npmjs.org/expo-modules-autolinking/-/expo-modules-autolinking-3.0.23.tgz", - "integrity": "sha512-YZnaE0G+52xftjH5nsIRaWsoVBY38SQCECclpdgLisdbRY/6Mzo7ndokjauOv3mpFmzMZACHyJNu1YSAffQwTg==", - "license": "MIT", - "dependencies": { - "@expo/spawn-async": "^1.7.2", - "chalk": "^4.1.0", - "commander": "^7.2.0", - "require-from-string": "^2.0.2", - "resolve-from": "^5.0.0" - }, - "bin": { - "expo-modules-autolinking": "bin/expo-modules-autolinking.js" - } - }, - "node_modules/expo-modules-core": { - "version": "3.0.29", - "resolved": "https://registry.npmjs.org/expo-modules-core/-/expo-modules-core-3.0.29.tgz", - "integrity": "sha512-LzipcjGqk8gvkrOUf7O2mejNWugPkf3lmd9GkqL9WuNyeN2fRwU0Dn77e3ZUKI3k6sI+DNwjkq4Nu9fNN9WS7Q==", - "license": "MIT", - "dependencies": { - "invariant": "^2.2.4" - }, - "peerDependencies": { - "react": "*", - "react-native": "*" - } - }, - "node_modules/expo-router": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/expo-router/-/expo-router-5.1.0.tgz", - "integrity": "sha512-mnKpw35W6kKPpZm+ZxQei6HGUx2JO3znzqJZInzqrTZMgfAcHGgvP9AQFjg/Qi/Qy1CxunB9aQnqE9JPbSwbpw==", - "license": "MIT", - "dependencies": { - "@expo/metro-runtime": "5.0.4", - "@expo/server": "^0.6.2", - "@radix-ui/react-slot": "1.2.0", - "@react-navigation/bottom-tabs": "^7.3.10", - "@react-navigation/native": "^7.1.6", - "@react-navigation/native-stack": "^7.3.10", - "client-only": "^0.0.1", - "invariant": "^2.2.4", - "react-fast-compare": "^3.2.2", - "react-native-is-edge-to-edge": "^1.1.6", - "schema-utils": "^4.0.1", - "semver": "~7.6.3", - "server-only": "^0.0.1", - "shallowequal": "^1.1.0" - }, - "peerDependencies": { - "@react-navigation/drawer": "^7.3.9", - "expo": "*", - "expo-constants": "*", - "expo-linking": "*", - "react-native-reanimated": "*", - "react-native-safe-area-context": "*", - "react-native-screens": "*" - }, - "peerDependenciesMeta": { - "@react-navigation/drawer": { - "optional": true - }, - "@testing-library/jest-native": { - "optional": true - }, - "react-native-reanimated": { - "optional": true - } - } - }, - "node_modules/expo-router/node_modules/semver": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", - "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/expo-server": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/expo-server/-/expo-server-1.0.5.tgz", - "integrity": "sha512-IGR++flYH70rhLyeXF0Phle56/k4cee87WeQ4mamS+MkVAVP+dDlOHf2nN06Z9Y2KhU0Gp1k+y61KkghF7HdhA==", - "license": "MIT", - "engines": { - "node": ">=20.16.0" - } - }, - "node_modules/expo-status-bar": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/expo-status-bar/-/expo-status-bar-2.2.3.tgz", - "integrity": "sha512-+c8R3AESBoduunxTJ8353SqKAKpxL6DvcD8VKBuh81zzJyUUbfB4CVjr1GufSJEKsMzNPXZU+HJwXx7Xh7lx8Q==", - "license": "MIT", - "dependencies": { - "react-native-edge-to-edge": "1.6.0", - "react-native-is-edge-to-edge": "^1.1.6" - }, - "peerDependencies": { - "react": "*", - "react-native": "*" - } - }, - "node_modules/expo/node_modules/@babel/code-frame": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz", - "integrity": "sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg==", - "license": "MIT", - "dependencies": { - "@babel/highlight": "^7.10.4" - } - }, - "node_modules/expo/node_modules/@expo/cli": { - "version": "54.0.20", - "resolved": "https://registry.npmjs.org/@expo/cli/-/cli-54.0.20.tgz", - "integrity": "sha512-cwsXmhftvS0p9NNYOhXGnicBAZl9puWwRt19Qq5eQ6njLnaj8WvcR+kDZyADtgZxBsZiyVlrKXvnjt43HXywQA==", - "license": "MIT", - "dependencies": { - "@0no-co/graphql.web": "^1.0.8", - "@expo/code-signing-certificates": "^0.0.5", - "@expo/config": "~12.0.13", - "@expo/config-plugins": "~54.0.4", - "@expo/devcert": "^1.2.1", - "@expo/env": "~2.0.8", - "@expo/image-utils": "^0.8.8", - "@expo/json-file": "^10.0.8", - "@expo/metro": "~54.2.0", - "@expo/metro-config": "~54.0.12", - "@expo/osascript": "^2.3.8", - "@expo/package-manager": "^1.9.9", - "@expo/plist": "^0.4.8", - "@expo/prebuild-config": "^54.0.8", - "@expo/schema-utils": "^0.1.8", - "@expo/spawn-async": "^1.7.2", - "@expo/ws-tunnel": "^1.0.1", - "@expo/xcpretty": "^4.3.0", - "@react-native/dev-middleware": "0.81.5", - "@urql/core": "^5.0.6", - "@urql/exchange-retry": "^1.3.0", - "accepts": "^1.3.8", - "arg": "^5.0.2", - "better-opn": "~3.0.2", - "bplist-creator": "0.1.0", - "bplist-parser": "^0.3.1", - "chalk": "^4.0.0", - "ci-info": "^3.3.0", - "compression": "^1.7.4", - "connect": "^3.7.0", - "debug": "^4.3.4", - "env-editor": "^0.4.1", - "expo-server": "^1.0.5", - "freeport-async": "^2.0.0", - "getenv": "^2.0.0", - "glob": "^13.0.0", - "lan-network": "^0.1.6", - "minimatch": "^9.0.0", - "node-forge": "^1.3.1", - "npm-package-arg": "^11.0.0", - "ora": "^3.4.0", - "picomatch": "^3.0.1", - "pretty-bytes": "^5.6.0", - "pretty-format": "^29.7.0", - "progress": "^2.0.3", - "prompts": "^2.3.2", - "qrcode-terminal": "0.11.0", - "require-from-string": "^2.0.2", - "requireg": "^0.2.2", - "resolve": "^1.22.2", - "resolve-from": "^5.0.0", - "resolve.exports": "^2.0.3", - "semver": "^7.6.0", - "send": "^0.19.0", - "slugify": "^1.3.4", - "source-map-support": "~0.5.21", - "stacktrace-parser": "^0.1.10", - "structured-headers": "^0.4.1", - "tar": "^7.5.2", - "terminal-link": "^2.1.1", - "undici": "^6.18.2", - "wrap-ansi": "^7.0.0", - "ws": "^8.12.1" - }, - "bin": { - "expo-internal": "build/bin/cli" - }, - "peerDependencies": { - "expo": "*", - "expo-router": "*", - "react-native": "*" - }, - "peerDependenciesMeta": { - "expo-router": { - "optional": true - }, - "react-native": { - "optional": true - } - } - }, - "node_modules/expo/node_modules/@expo/config": { - "version": "12.0.13", - "resolved": "https://registry.npmjs.org/@expo/config/-/config-12.0.13.tgz", - "integrity": "sha512-Cu52arBa4vSaupIWsF0h7F/Cg//N374nYb7HAxV0I4KceKA7x2UXpYaHOL7EEYYvp7tZdThBjvGpVmr8ScIvaQ==", - "license": "MIT", - "dependencies": { - "@babel/code-frame": "~7.10.4", - "@expo/config-plugins": "~54.0.4", - "@expo/config-types": "^54.0.10", - "@expo/json-file": "^10.0.8", - "deepmerge": "^4.3.1", - "getenv": "^2.0.0", - "glob": "^13.0.0", - "require-from-string": "^2.0.2", - "resolve-from": "^5.0.0", - "resolve-workspace-root": "^2.0.0", - "semver": "^7.6.0", - "slugify": "^1.3.4", - "sucrase": "~3.35.1" - } - }, - "node_modules/expo/node_modules/@expo/config-plugins": { - "version": "54.0.4", - "resolved": "https://registry.npmjs.org/@expo/config-plugins/-/config-plugins-54.0.4.tgz", - "integrity": "sha512-g2yXGICdoOw5i3LkQSDxl2Q5AlQCrG7oniu0pCPPO+UxGb7He4AFqSvPSy8HpRUj55io17hT62FTjYRD+d6j3Q==", - "license": "MIT", - "dependencies": { - "@expo/config-types": "^54.0.10", - "@expo/json-file": "~10.0.8", - "@expo/plist": "^0.4.8", - "@expo/sdk-runtime-versions": "^1.0.0", - "chalk": "^4.1.2", - "debug": "^4.3.5", - "getenv": "^2.0.0", - "glob": "^13.0.0", - "resolve-from": "^5.0.0", - "semver": "^7.5.4", - "slash": "^3.0.0", - "slugify": "^1.6.6", - "xcode": "^3.0.1", - "xml2js": "0.6.0" - } - }, - "node_modules/expo/node_modules/@expo/config-types": { - "version": "54.0.10", - "resolved": "https://registry.npmjs.org/@expo/config-types/-/config-types-54.0.10.tgz", - "integrity": "sha512-/J16SC2an1LdtCZ67xhSkGXpALYUVUNyZws7v+PVsFZxClYehDSoKLqyRaGkpHlYrCc08bS0RF5E0JV6g50psA==", - "license": "MIT" - }, - "node_modules/expo/node_modules/@expo/env": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/@expo/env/-/env-2.0.8.tgz", - "integrity": "sha512-5VQD6GT8HIMRaSaB5JFtOXuvfDVU80YtZIuUT/GDhUF782usIXY13Tn3IdDz1Tm/lqA9qnRZQ1BF4t7LlvdJPA==", - "license": "MIT", - "dependencies": { - "chalk": "^4.0.0", - "debug": "^4.3.4", - "dotenv": "~16.4.5", - "dotenv-expand": "~11.0.6", - "getenv": "^2.0.0" - } - }, - "node_modules/expo/node_modules/@expo/json-file": { - "version": "10.0.8", - "resolved": "https://registry.npmjs.org/@expo/json-file/-/json-file-10.0.8.tgz", - "integrity": "sha512-9LOTh1PgKizD1VXfGQ88LtDH0lRwq9lsTb4aichWTWSWqy3Ugfkhfm3BhzBIkJJfQQ5iJu3m/BoRlEIjoCGcnQ==", - "license": "MIT", - "dependencies": { - "@babel/code-frame": "~7.10.4", - "json5": "^2.2.3" - } - }, - "node_modules/expo/node_modules/@expo/plist": { - "version": "0.4.8", - "resolved": "https://registry.npmjs.org/@expo/plist/-/plist-0.4.8.tgz", - "integrity": "sha512-pfNtErGGzzRwHP+5+RqswzPDKkZrx+Cli0mzjQaus1ZWFsog5ibL+nVT3NcporW51o8ggnt7x813vtRbPiyOrQ==", - "license": "MIT", - "dependencies": { - "@xmldom/xmldom": "^0.8.8", - "base64-js": "^1.2.3", - "xmlbuilder": "^15.1.1" - } - }, - "node_modules/expo/node_modules/@react-native/babel-plugin-codegen": { - "version": "0.81.5", - "resolved": "https://registry.npmjs.org/@react-native/babel-plugin-codegen/-/babel-plugin-codegen-0.81.5.tgz", - "integrity": "sha512-oF71cIH6je3fSLi6VPjjC3Sgyyn57JLHXs+mHWc9MoCiJJcM4nqsS5J38zv1XQ8d3zOW2JtHro+LF0tagj2bfQ==", - "license": "MIT", - "dependencies": { - "@babel/traverse": "^7.25.3", - "@react-native/codegen": "0.81.5" - }, - "engines": { - "node": ">= 20.19.4" - } - }, - "node_modules/expo/node_modules/@react-native/babel-preset": { - "version": "0.81.5", - "resolved": "https://registry.npmjs.org/@react-native/babel-preset/-/babel-preset-0.81.5.tgz", - "integrity": "sha512-UoI/x/5tCmi+pZ3c1+Ypr1DaRMDLI3y+Q70pVLLVgrnC3DHsHRIbHcCHIeG/IJvoeFqFM2sTdhSOLJrf8lOPrA==", - "license": "MIT", - "dependencies": { - "@babel/core": "^7.25.2", - "@babel/plugin-proposal-export-default-from": "^7.24.7", - "@babel/plugin-syntax-dynamic-import": "^7.8.3", - "@babel/plugin-syntax-export-default-from": "^7.24.7", - "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", - "@babel/plugin-syntax-optional-chaining": "^7.8.3", - "@babel/plugin-transform-arrow-functions": "^7.24.7", - "@babel/plugin-transform-async-generator-functions": "^7.25.4", - "@babel/plugin-transform-async-to-generator": "^7.24.7", - "@babel/plugin-transform-block-scoping": "^7.25.0", - "@babel/plugin-transform-class-properties": "^7.25.4", - "@babel/plugin-transform-classes": "^7.25.4", - "@babel/plugin-transform-computed-properties": "^7.24.7", - "@babel/plugin-transform-destructuring": "^7.24.8", - "@babel/plugin-transform-flow-strip-types": "^7.25.2", - "@babel/plugin-transform-for-of": "^7.24.7", - "@babel/plugin-transform-function-name": "^7.25.1", - "@babel/plugin-transform-literals": "^7.25.2", - "@babel/plugin-transform-logical-assignment-operators": "^7.24.7", - "@babel/plugin-transform-modules-commonjs": "^7.24.8", - "@babel/plugin-transform-named-capturing-groups-regex": "^7.24.7", - "@babel/plugin-transform-nullish-coalescing-operator": "^7.24.7", - "@babel/plugin-transform-numeric-separator": "^7.24.7", - "@babel/plugin-transform-object-rest-spread": "^7.24.7", - "@babel/plugin-transform-optional-catch-binding": "^7.24.7", - "@babel/plugin-transform-optional-chaining": "^7.24.8", - "@babel/plugin-transform-parameters": "^7.24.7", - "@babel/plugin-transform-private-methods": "^7.24.7", - "@babel/plugin-transform-private-property-in-object": "^7.24.7", - "@babel/plugin-transform-react-display-name": "^7.24.7", - "@babel/plugin-transform-react-jsx": "^7.25.2", - "@babel/plugin-transform-react-jsx-self": "^7.24.7", - "@babel/plugin-transform-react-jsx-source": "^7.24.7", - "@babel/plugin-transform-regenerator": "^7.24.7", - "@babel/plugin-transform-runtime": "^7.24.7", - "@babel/plugin-transform-shorthand-properties": "^7.24.7", - "@babel/plugin-transform-spread": "^7.24.7", - "@babel/plugin-transform-sticky-regex": "^7.24.7", - "@babel/plugin-transform-typescript": "^7.25.2", - "@babel/plugin-transform-unicode-regex": "^7.24.7", - "@babel/template": "^7.25.0", - "@react-native/babel-plugin-codegen": "0.81.5", - "babel-plugin-syntax-hermes-parser": "0.29.1", - "babel-plugin-transform-flow-enums": "^0.0.2", - "react-refresh": "^0.14.0" - }, - "engines": { - "node": ">= 20.19.4" - }, - "peerDependencies": { - "@babel/core": "*" - } - }, - "node_modules/expo/node_modules/@react-native/codegen": { - "version": "0.81.5", - "resolved": "https://registry.npmjs.org/@react-native/codegen/-/codegen-0.81.5.tgz", - "integrity": "sha512-a2TDA03Up8lpSa9sh5VRGCQDXgCTOyDOFH+aqyinxp1HChG8uk89/G+nkJ9FPd0rqgi25eCTR16TWdS3b+fA6g==", - "license": "MIT", - "dependencies": { - "@babel/core": "^7.25.2", - "@babel/parser": "^7.25.3", - "glob": "^7.1.1", - "hermes-parser": "0.29.1", - "invariant": "^2.2.4", - "nullthrows": "^1.1.1", - "yargs": "^17.6.2" - }, - "engines": { - "node": ">= 20.19.4" - }, - "peerDependencies": { - "@babel/core": "*" - } - }, - "node_modules/expo/node_modules/@react-native/codegen/node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "deprecated": "Glob versions prior to v9 are no longer supported", - "license": "ISC", - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/expo/node_modules/@react-native/codegen/node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "license": "ISC", - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/expo/node_modules/babel-plugin-react-compiler": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/babel-plugin-react-compiler/-/babel-plugin-react-compiler-1.0.0.tgz", - "integrity": "sha512-Ixm8tFfoKKIPYdCCKYTsqv+Fd4IJ0DQqMyEimo+pxUOMUR9cVPlwTrFt9Avu+3cb6Zp3mAzl+t1MrG2fxxKsxw==", - "license": "MIT", - "dependencies": { - "@babel/types": "^7.26.0" - } - }, - "node_modules/expo/node_modules/babel-plugin-react-native-web": { - "version": "0.21.2", - "resolved": "https://registry.npmjs.org/babel-plugin-react-native-web/-/babel-plugin-react-native-web-0.21.2.tgz", - "integrity": "sha512-SPD0J6qjJn8231i0HZhlAGH6NORe+QvRSQM2mwQEzJ2Fb3E4ruWTiiicPlHjmeWShDXLcvoorOCXjeR7k/lyWA==", - "license": "MIT" - }, - "node_modules/expo/node_modules/babel-plugin-syntax-hermes-parser": { - "version": "0.29.1", - "resolved": "https://registry.npmjs.org/babel-plugin-syntax-hermes-parser/-/babel-plugin-syntax-hermes-parser-0.29.1.tgz", - "integrity": "sha512-2WFYnoWGdmih1I1J5eIqxATOeycOqRwYxAQBu3cUu/rhwInwHUg7k60AFNbuGjSDL8tje5GDrAnxzRLcu2pYcA==", - "license": "MIT", - "dependencies": { - "hermes-parser": "0.29.1" - } - }, - "node_modules/expo/node_modules/babel-preset-expo": { - "version": "54.0.9", - "resolved": "https://registry.npmjs.org/babel-preset-expo/-/babel-preset-expo-54.0.9.tgz", - "integrity": "sha512-8J6hRdgEC2eJobjoft6mKJ294cLxmi3khCUy2JJQp4htOYYkllSLUq6vudWJkTJiIuGdVR4bR6xuz2EvJLWHNg==", - "license": "MIT", - "dependencies": { - "@babel/helper-module-imports": "^7.25.9", - "@babel/plugin-proposal-decorators": "^7.12.9", - "@babel/plugin-proposal-export-default-from": "^7.24.7", - "@babel/plugin-syntax-export-default-from": "^7.24.7", - "@babel/plugin-transform-class-static-block": "^7.27.1", - "@babel/plugin-transform-export-namespace-from": "^7.25.9", - "@babel/plugin-transform-flow-strip-types": "^7.25.2", - "@babel/plugin-transform-modules-commonjs": "^7.24.8", - "@babel/plugin-transform-object-rest-spread": "^7.24.7", - "@babel/plugin-transform-parameters": "^7.24.7", - "@babel/plugin-transform-private-methods": "^7.24.7", - "@babel/plugin-transform-private-property-in-object": "^7.24.7", - "@babel/plugin-transform-runtime": "^7.24.7", - "@babel/preset-react": "^7.22.15", - "@babel/preset-typescript": "^7.23.0", - "@react-native/babel-preset": "0.81.5", - "babel-plugin-react-compiler": "^1.0.0", - "babel-plugin-react-native-web": "~0.21.0", - "babel-plugin-syntax-hermes-parser": "^0.29.1", - "babel-plugin-transform-flow-enums": "^0.0.2", - "debug": "^4.3.4", - "resolve-from": "^5.0.0" - }, - "peerDependencies": { - "@babel/runtime": "^7.20.0", - "expo": "*", - "react-refresh": ">=0.14.0 <1.0.0" - }, - "peerDependenciesMeta": { - "@babel/runtime": { - "optional": true - }, - "expo": { - "optional": true - } - } - }, - "node_modules/expo/node_modules/brace-expansion": { - "version": "1.1.12", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", - "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", - "license": "MIT", - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/expo/node_modules/commander": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", - "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", - "license": "MIT", - "engines": { - "node": ">= 6" - } - }, - "node_modules/expo/node_modules/expo-constants": { - "version": "18.0.12", - "resolved": "https://registry.npmjs.org/expo-constants/-/expo-constants-18.0.12.tgz", - "integrity": "sha512-WzcKYMVNRRu4NcSzfIVRD5aUQFnSpTZgXFrlWmm19xJoDa4S3/PQNi6PNTBRc49xz9h8FT7HMxRKaC8lr0gflA==", - "license": "MIT", - "dependencies": { - "@expo/config": "~12.0.12", - "@expo/env": "~2.0.8" - }, - "peerDependencies": { - "expo": "*", - "react-native": "*" - } - }, - "node_modules/expo/node_modules/glob": { - "version": "13.0.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-13.0.0.tgz", - "integrity": "sha512-tvZgpqk6fz4BaNZ66ZsRaZnbHvP/jG3uKJvAZOwEVUL4RTA5nJeeLYfyN9/VA8NX/V3IBG+hkeuGpKjvELkVhA==", - "license": "BlueOak-1.0.0", - "dependencies": { - "minimatch": "^10.1.1", - "minipass": "^7.1.2", - "path-scurry": "^2.0.0" - }, - "engines": { - "node": "20 || >=22" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/expo/node_modules/glob/node_modules/minimatch": { - "version": "10.1.1", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.1.1.tgz", - "integrity": "sha512-enIvLvRAFZYXJzkCYG5RKmPfrFArdLv+R+lbQ53BmIMLIry74bjKzX6iHAm8WYamJkhSSEabrWN5D97XnKObjQ==", - "license": "BlueOak-1.0.0", - "dependencies": { - "@isaacs/brace-expansion": "^5.0.0" - }, - "engines": { - "node": "20 || >=22" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/expo/node_modules/hermes-estree": { - "version": "0.29.1", - "resolved": "https://registry.npmjs.org/hermes-estree/-/hermes-estree-0.29.1.tgz", - "integrity": "sha512-jl+x31n4/w+wEqm0I2r4CMimukLbLQEYpisys5oCre611CI5fc9TxhqkBBCJ1edDG4Kza0f7CgNz8xVMLZQOmQ==", - "license": "MIT" - }, - "node_modules/expo/node_modules/hermes-parser": { - "version": "0.29.1", - "resolved": "https://registry.npmjs.org/hermes-parser/-/hermes-parser-0.29.1.tgz", - "integrity": "sha512-xBHWmUtRC5e/UL0tI7Ivt2riA/YBq9+SiYFU7C1oBa/j2jYGlIF9043oak1F47ihuDIxQ5nbsKueYJDRY02UgA==", - "license": "MIT", - "dependencies": { - "hermes-estree": "0.29.1" - } - }, - "node_modules/expo/node_modules/lru-cache": { - "version": "11.2.4", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.2.4.tgz", - "integrity": "sha512-B5Y16Jr9LB9dHVkh6ZevG+vAbOsNOYCX+sXvFWFu7B3Iz5mijW3zdbMyhsh8ANd2mSWBYdJgnqi+mL7/LrOPYg==", - "license": "BlueOak-1.0.0", - "engines": { - "node": "20 || >=22" - } - }, - "node_modules/expo/node_modules/path-scurry": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.1.tgz", - "integrity": "sha512-oWyT4gICAu+kaA7QWk/jvCHWarMKNs6pXOGWKDTr7cw4IGcUbW+PeTfbaQiLGheFRpjo6O9J0PmyMfQPjH71oA==", - "license": "BlueOak-1.0.0", - "dependencies": { - "lru-cache": "^11.0.0", - "minipass": "^7.1.2" - }, - "engines": { - "node": "20 || >=22" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/expo/node_modules/picomatch": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-3.0.1.tgz", - "integrity": "sha512-I3EurrIQMlRc9IaAZnqRR044Phh2DXY+55o7uJ0V+hYZAcQYSuFWsc9q5PvyDHUSCe1Qxn/iBz+78s86zWnGag==", - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, - "node_modules/expo/node_modules/semver": { - "version": "7.7.3", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz", - "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==", - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/expo/node_modules/sucrase": { - "version": "3.35.1", - "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.35.1.tgz", - "integrity": "sha512-DhuTmvZWux4H1UOnWMB3sk0sbaCVOoQZjv8u1rDoTV0HTdGem9hkAZtl4JZy8P2z4Bg0nT+YMeOFyVr4zcG5Tw==", - "license": "MIT", - "dependencies": { - "@jridgewell/gen-mapping": "^0.3.2", - "commander": "^4.0.0", - "lines-and-columns": "^1.1.6", - "mz": "^2.7.0", - "pirates": "^4.0.1", - "tinyglobby": "^0.2.11", - "ts-interface-checker": "^0.1.9" - }, - "bin": { - "sucrase": "bin/sucrase", - "sucrase-node": "bin/sucrase-node" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - } - }, - "node_modules/expo/node_modules/ws": { - "version": "8.18.3", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.3.tgz", - "integrity": "sha512-PEIGCY5tSlUt50cqyMXfCzX+oOPqN0vuGqWzbcJ2xvnkzkq46oOpz7dQaTDBdfICb4N14+GARUDw2XV2N4tvzg==", - "license": "MIT", - "engines": { - "node": ">=10.0.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": ">=5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } - }, - "node_modules/exponential-backoff": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/exponential-backoff/-/exponential-backoff-3.1.2.tgz", - "integrity": "sha512-8QxYTVXUkuy7fIIoitQkPwGonB8F3Zj8eEO8Sqg9Zv/bkI7RJAzowee4gr81Hak/dUTpA2Z7VfQgoijjPNlUZA==", - "license": "Apache-2.0" - }, - "node_modules/fast-deep-equal": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", - "license": "MIT" - }, - "node_modules/fast-glob": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz", - "integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==", - "license": "MIT", - "dependencies": { - "@nodelib/fs.stat": "^2.0.2", - "@nodelib/fs.walk": "^1.2.3", - "glob-parent": "^5.1.2", - "merge2": "^1.3.0", - "micromatch": "^4.0.8" - }, - "engines": { - "node": ">=8.6.0" - } - }, - "node_modules/fast-glob/node_modules/glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "license": "ISC", - "dependencies": { - "is-glob": "^4.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/fast-json-stable-stringify": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", - "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", - "license": "MIT" - }, - "node_modules/fast-uri": { - "version": "3.0.6", - "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.0.6.tgz", - "integrity": "sha512-Atfo14OibSv5wAp4VWNsFYE1AchQRTv9cBGWET4pZWHzYshFSS9NQI6I57rdKn9croWVMbYFbLhJ+yJvmZIIHw==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/fastify" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/fastify" - } - ], - "license": "BSD-3-Clause" - }, - "node_modules/fastq": { - "version": "1.19.1", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.19.1.tgz", - "integrity": "sha512-GwLTyxkCXjXbxqIhTsMI2Nui8huMPtnxg7krajPJAjnEG/iiOS7i+zCtWGZR9G0NBKbXKh6X9m9UIsYX/N6vvQ==", - "license": "ISC", - "dependencies": { - "reusify": "^1.0.4" - } - }, - "node_modules/fb-watchman": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.2.tgz", - "integrity": "sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==", - "license": "Apache-2.0", - "dependencies": { - "bser": "2.1.1" - } - }, - "node_modules/fbjs": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/fbjs/-/fbjs-3.0.5.tgz", - "integrity": "sha512-ztsSx77JBtkuMrEypfhgc3cI0+0h+svqeie7xHbh1k/IKdcydnvadp/mUaGgjAOXQmQSxsqgaRhS3q9fy+1kxg==", - "license": "MIT", - "dependencies": { - "cross-fetch": "^3.1.5", - "fbjs-css-vars": "^1.0.0", - "loose-envify": "^1.0.0", - "object-assign": "^4.1.0", - "promise": "^7.1.1", - "setimmediate": "^1.0.5", - "ua-parser-js": "^1.0.35" - } - }, - "node_modules/fbjs-css-vars": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/fbjs-css-vars/-/fbjs-css-vars-1.0.2.tgz", - "integrity": "sha512-b2XGFAFdWZWg0phtAWLHCk836A1Xann+I+Dgd3Gk64MHKZO44FfoD1KxyvbSh0qZsIoXQGGlVztIY+oitJPpRQ==", - "license": "MIT" - }, - "node_modules/fbjs/node_modules/promise": { - "version": "7.3.1", - "resolved": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz", - "integrity": "sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==", - "license": "MIT", - "dependencies": { - "asap": "~2.0.3" - } - }, - "node_modules/fdir": { - "version": "6.5.0", - "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", - "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", - "license": "MIT", - "engines": { - "node": ">=12.0.0" - }, - "peerDependencies": { - "picomatch": "^3 || ^4" - }, - "peerDependenciesMeta": { - "picomatch": { - "optional": true - } - } - }, - "node_modules/fill-range": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", - "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", - "license": "MIT", - "dependencies": { - "to-regex-range": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/filter-obj": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/filter-obj/-/filter-obj-1.1.0.tgz", - "integrity": "sha512-8rXg1ZnX7xzy2NGDVkBVaAy+lSlPNwad13BtgSlLuxfIslyt5Vg64U7tFcCt4WS1R0hvtnQybT/IyCkGZ3DpXQ==", - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/finalhandler": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz", - "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==", - "license": "MIT", - "dependencies": { - "debug": "2.6.9", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "on-finished": "~2.3.0", - "parseurl": "~1.3.3", - "statuses": "~1.5.0", - "unpipe": "~1.0.0" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/finalhandler/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "license": "MIT", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/finalhandler/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", - "license": "MIT" - }, - "node_modules/find-up": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", - "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", - "license": "MIT", - "dependencies": { - "locate-path": "^6.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/flow-enums-runtime": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/flow-enums-runtime/-/flow-enums-runtime-0.0.6.tgz", - "integrity": "sha512-3PYnM29RFXwvAN6Pc/scUfkI7RwhQ/xqyLUyPNlXUp9S40zI8nup9tUSrTLSVnWGBN38FNiGWbwZOB6uR4OGdw==", - "license": "MIT" - }, - "node_modules/fontfaceobserver": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/fontfaceobserver/-/fontfaceobserver-2.3.0.tgz", - "integrity": "sha512-6FPvD/IVyT4ZlNe7Wcn5Fb/4ChigpucKYSvD6a+0iMoLn2inpo711eyIcKjmDtE5XNcgAkSH9uN/nfAeZzHEfg==", - "license": "BSD-2-Clause" - }, - "node_modules/foreground-child": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.1.tgz", - "integrity": "sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==", - "license": "ISC", - "dependencies": { - "cross-spawn": "^7.0.6", - "signal-exit": "^4.0.1" - }, - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/freeport-async": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/freeport-async/-/freeport-async-2.0.0.tgz", - "integrity": "sha512-K7od3Uw45AJg00XUmy15+Hae2hOcgKcmN3/EF6Y7i01O0gaqiRx8sUSpsb9+BRNL8RPBrhzPsVfy8q9ADlJuWQ==", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/fresh": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", - "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==", - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", - "license": "ISC" - }, - "node_modules/fsevents": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", - "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", - "hasInstallScript": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" - } - }, - "node_modules/function-bind": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", - "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/gensync": { - "version": "1.0.0-beta.2", - "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", - "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/get-caller-file": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", - "license": "ISC", - "engines": { - "node": "6.* || 8.* || >= 10.*" - } - }, - "node_modules/get-package-type": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz", - "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==", - "license": "MIT", - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/getenv": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/getenv/-/getenv-2.0.0.tgz", - "integrity": "sha512-VilgtJj/ALgGY77fiLam5iD336eSWi96Q15JSAG1zi8NRBysm3LXKdGnHb4m5cuyxvOLQQKWpBZAT6ni4FI2iQ==", - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/glob": { - "version": "10.4.5", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", - "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", - "license": "ISC", - "dependencies": { - "foreground-child": "^3.1.0", - "jackspeak": "^3.1.2", - "minimatch": "^9.0.4", - "minipass": "^7.1.2", - "package-json-from-dist": "^1.0.0", - "path-scurry": "^1.11.1" - }, - "bin": { - "glob": "dist/esm/bin.mjs" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/glob-parent": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", - "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", - "license": "ISC", - "dependencies": { - "is-glob": "^4.0.3" - }, - "engines": { - "node": ">=10.13.0" - } - }, - "node_modules/global-dirs": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-0.1.1.tgz", - "integrity": "sha512-NknMLn7F2J7aflwFOlGdNIuCDpN3VGoSoB+aap3KABFWbHVn1TCgFC+np23J8W2BiZbjfEw3BFBycSMv1AFblg==", - "license": "MIT", - "dependencies": { - "ini": "^1.3.4" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/globals": { - "version": "11.12.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", - "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/graceful-fs": { - "version": "4.2.11", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", - "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", - "license": "ISC" - }, - "node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/has-own-prop": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/has-own-prop/-/has-own-prop-2.0.0.tgz", - "integrity": "sha512-Pq0h+hvsVm6dDEa8x82GnLSYHOzNDt7f0ddFa3FqcQlgzEiptPqL+XrOJNavjOzSYiYWIrgeVYYgGlLmnxwilQ==", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/hasown": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", - "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", - "license": "MIT", - "dependencies": { - "function-bind": "^1.1.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/hermes-estree": { - "version": "0.25.1", - "resolved": "https://registry.npmjs.org/hermes-estree/-/hermes-estree-0.25.1.tgz", - "integrity": "sha512-0wUoCcLp+5Ev5pDW2OriHC2MJCbwLwuRx+gAqMTOkGKJJiBCLjtrvy4PWUGn6MIVefecRpzoOZ/UV6iGdOr+Cw==", - "license": "MIT" - }, - "node_modules/hermes-parser": { - "version": "0.25.1", - "resolved": "https://registry.npmjs.org/hermes-parser/-/hermes-parser-0.25.1.tgz", - "integrity": "sha512-6pEjquH3rqaI6cYAXYPcz9MS4rY6R4ngRgrgfDshRptUZIc3lw0MCIJIGDj9++mfySOuPTHB4nrSW99BCvOPIA==", - "license": "MIT", - "dependencies": { - "hermes-estree": "0.25.1" - } - }, - "node_modules/hoist-non-react-statics": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz", - "integrity": "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==", - "license": "BSD-3-Clause", - "dependencies": { - "react-is": "^16.7.0" - } - }, - "node_modules/hoist-non-react-statics/node_modules/react-is": { - "version": "16.13.1", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", - "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", - "license": "MIT" - }, - "node_modules/hosted-git-info": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-7.0.2.tgz", - "integrity": "sha512-puUZAUKT5m8Zzvs72XWy3HtvVbTWljRE66cP60bxJzAqf2DgICo7lYTY2IHUmLnNpjYvw5bvmoHvPc0QO2a62w==", - "license": "ISC", - "dependencies": { - "lru-cache": "^10.0.1" - }, - "engines": { - "node": "^16.14.0 || >=18.0.0" - } - }, - "node_modules/hosted-git-info/node_modules/lru-cache": { - "version": "10.4.3", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", - "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", - "license": "ISC" - }, - "node_modules/http-errors": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", - "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", - "license": "MIT", - "dependencies": { - "depd": "2.0.0", - "inherits": "2.0.4", - "setprototypeof": "1.2.0", - "statuses": "2.0.1", - "toidentifier": "1.0.1" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/http-errors/node_modules/statuses": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", - "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/https-proxy-agent": { - "version": "7.0.6", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz", - "integrity": "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==", - "license": "MIT", - "dependencies": { - "agent-base": "^7.1.2", - "debug": "4" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/hyphenate-style-name": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/hyphenate-style-name/-/hyphenate-style-name-1.1.0.tgz", - "integrity": "sha512-WDC/ui2VVRrz3jOVi+XtjqkDjiVjTtFaAGiW37k6b+ohyQ5wYDOGkvCZa8+H0nx3gyvv0+BST9xuOgIyGQ00gw==", - "license": "BSD-3-Clause" - }, - "node_modules/ieee754": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "BSD-3-Clause" - }, - "node_modules/ignore": { - "version": "5.3.2", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", - "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", - "license": "MIT", - "engines": { - "node": ">= 4" - } - }, - "node_modules/image-size": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/image-size/-/image-size-1.2.1.tgz", - "integrity": "sha512-rH+46sQJ2dlwfjfhCyNx5thzrv+dtmBIhPHk0zgRUukHzZ/kRueTJXoYYsclBaKcSMBWuGbOFXtioLpzTb5euw==", - "license": "MIT", - "dependencies": { - "queue": "6.0.2" - }, - "bin": { - "image-size": "bin/image-size.js" - }, - "engines": { - "node": ">=16.x" - } - }, - "node_modules/imurmurhash": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", - "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", - "license": "MIT", - "engines": { - "node": ">=0.8.19" - } - }, - "node_modules/inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", - "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.", - "license": "ISC", - "dependencies": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "node_modules/inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "license": "ISC" - }, - "node_modules/ini": { - "version": "1.3.8", - "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", - "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", - "license": "ISC" - }, - "node_modules/inline-style-prefixer": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/inline-style-prefixer/-/inline-style-prefixer-7.0.1.tgz", - "integrity": "sha512-lhYo5qNTQp3EvSSp3sRvXMbVQTLrvGV6DycRMJ5dm2BLMiJ30wpXKdDdgX+GmJZ5uQMucwRKHamXSst3Sj/Giw==", - "license": "MIT", - "dependencies": { - "css-in-js-utils": "^3.1.0" - } - }, - "node_modules/invariant": { - "version": "2.2.4", - "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz", - "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==", - "license": "MIT", - "dependencies": { - "loose-envify": "^1.0.0" - } - }, - "node_modules/is-binary-path": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", - "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", - "license": "MIT", - "dependencies": { - "binary-extensions": "^2.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/is-core-module": { - "version": "2.16.1", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.1.tgz", - "integrity": "sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==", - "license": "MIT", - "dependencies": { - "hasown": "^2.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-docker": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", - "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", - "license": "MIT", - "bin": { - "is-docker": "cli.js" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/is-glob": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", - "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", - "license": "MIT", - "dependencies": { - "is-extglob": "^2.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "license": "MIT", - "engines": { - "node": ">=0.12.0" - } - }, - "node_modules/is-wsl": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", - "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", - "license": "MIT", - "dependencies": { - "is-docker": "^2.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/isexe": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", - "license": "ISC" - }, - "node_modules/istanbul-lib-coverage": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz", - "integrity": "sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==", - "license": "BSD-3-Clause", - "engines": { - "node": ">=8" - } - }, - "node_modules/istanbul-lib-instrument": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.1.tgz", - "integrity": "sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==", - "license": "BSD-3-Clause", - "dependencies": { - "@babel/core": "^7.12.3", - "@babel/parser": "^7.14.7", - "@istanbuljs/schema": "^0.1.2", - "istanbul-lib-coverage": "^3.2.0", - "semver": "^6.3.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/jackspeak": { - "version": "3.4.3", - "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz", - "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==", - "license": "BlueOak-1.0.0", - "dependencies": { - "@isaacs/cliui": "^8.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - }, - "optionalDependencies": { - "@pkgjs/parseargs": "^0.11.0" - } - }, - "node_modules/jest-environment-node": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-29.7.0.tgz", - "integrity": "sha512-DOSwCRqXirTOyheM+4d5YZOrWcdu0LNZ87ewUoywbcb2XR4wKgqiG8vNeYwhjFMbEkfju7wx2GYH0P2gevGvFw==", - "license": "MIT", - "dependencies": { - "@jest/environment": "^29.7.0", - "@jest/fake-timers": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "jest-mock": "^29.7.0", - "jest-util": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-get-type": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.6.3.tgz", - "integrity": "sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw==", - "license": "MIT", - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-haste-map": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-29.7.0.tgz", - "integrity": "sha512-fP8u2pyfqx0K1rGn1R9pyE0/KTn+G7PxktWidOBTqFPLYX0b9ksaMFkhK5vrS3DVun09pckLdlx90QthlW7AmA==", - "license": "MIT", - "dependencies": { - "@jest/types": "^29.6.3", - "@types/graceful-fs": "^4.1.3", - "@types/node": "*", - "anymatch": "^3.0.3", - "fb-watchman": "^2.0.0", - "graceful-fs": "^4.2.9", - "jest-regex-util": "^29.6.3", - "jest-util": "^29.7.0", - "jest-worker": "^29.7.0", - "micromatch": "^4.0.4", - "walker": "^1.0.8" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "optionalDependencies": { - "fsevents": "^2.3.2" - } - }, - "node_modules/jest-message-util": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-29.7.0.tgz", - "integrity": "sha512-GBEV4GRADeP+qtB2+6u61stea8mGcOT4mCtrYISZwfu9/ISHFJ/5zOMXYbpBE9RsS5+Gb63DW4FgmnKJ79Kf6w==", - "license": "MIT", - "dependencies": { - "@babel/code-frame": "^7.12.13", - "@jest/types": "^29.6.3", - "@types/stack-utils": "^2.0.0", - "chalk": "^4.0.0", - "graceful-fs": "^4.2.9", - "micromatch": "^4.0.4", - "pretty-format": "^29.7.0", - "slash": "^3.0.0", - "stack-utils": "^2.0.3" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-mock": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-29.7.0.tgz", - "integrity": "sha512-ITOMZn+UkYS4ZFh83xYAOzWStloNzJFO2s8DWrE4lhtGD+AorgnbkiKERe4wQVBydIGPx059g6riW5Btp6Llnw==", - "license": "MIT", - "dependencies": { - "@jest/types": "^29.6.3", - "@types/node": "*", - "jest-util": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-regex-util": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-29.6.3.tgz", - "integrity": "sha512-KJJBsRCyyLNWCNBOvZyRDnAIfUiRJ8v+hOBQYGn8gDyF3UegwiP4gwRR3/SDa42g1YbVycTidUF3rKjyLFDWbg==", - "license": "MIT", - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-util": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.7.0.tgz", - "integrity": "sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA==", - "license": "MIT", - "dependencies": { - "@jest/types": "^29.6.3", - "@types/node": "*", - "chalk": "^4.0.0", - "ci-info": "^3.2.0", - "graceful-fs": "^4.2.9", - "picomatch": "^2.2.3" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-util/node_modules/picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", - "license": "MIT", - "engines": { - "node": ">=8.6" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, - "node_modules/jest-validate": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-29.7.0.tgz", - "integrity": "sha512-ZB7wHqaRGVw/9hST/OuFUReG7M8vKeq0/J2egIGLdvjHCmYqGARhzXmtgi+gVeZ5uXFF219aOc3Ls2yLg27tkw==", - "license": "MIT", - "dependencies": { - "@jest/types": "^29.6.3", - "camelcase": "^6.2.0", - "chalk": "^4.0.0", - "jest-get-type": "^29.6.3", - "leven": "^3.1.0", - "pretty-format": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-validate/node_modules/camelcase": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", - "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/jest-worker": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-29.7.0.tgz", - "integrity": "sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==", - "license": "MIT", - "dependencies": { - "@types/node": "*", - "jest-util": "^29.7.0", - "merge-stream": "^2.0.0", - "supports-color": "^8.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-worker/node_modules/supports-color": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", - "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", - "license": "MIT", - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/supports-color?sponsor=1" - } - }, - "node_modules/jimp-compact": { - "version": "0.16.1", - "resolved": "https://registry.npmjs.org/jimp-compact/-/jimp-compact-0.16.1.tgz", - "integrity": "sha512-dZ6Ra7u1G8c4Letq/B5EzAxj4tLFHL+cGtdpR+PVm4yzPDj+lCk+AbivWt1eOM+ikzkowtyV7qSqX6qr3t71Ww==", - "license": "MIT" - }, - "node_modules/jiti": { - "version": "1.21.7", - "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.7.tgz", - "integrity": "sha512-/imKNG4EbWNrVjoNC/1H5/9GFy+tqjGBHCaSsN+P2RnPqjsLmv6UD3Ej+Kj8nBWaRAwyk7kK5ZUc+OEatnTR3A==", - "license": "MIT", - "bin": { - "jiti": "bin/jiti.js" - } - }, - "node_modules/js-tokens": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", - "license": "MIT" - }, - "node_modules/js-yaml": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.1.tgz", - "integrity": "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==", - "license": "MIT", - "dependencies": { - "argparse": "^2.0.1" - }, - "bin": { - "js-yaml": "bin/js-yaml.js" - } - }, - "node_modules/jsc-safe-url": { - "version": "0.2.4", - "resolved": "https://registry.npmjs.org/jsc-safe-url/-/jsc-safe-url-0.2.4.tgz", - "integrity": "sha512-0wM3YBWtYePOjfyXQH5MWQ8H7sdk5EXSwZvmSLKk2RboVQ2Bu239jycHDz5J/8Blf3K0Qnoy2b6xD+z10MFB+Q==", - "license": "0BSD" - }, - "node_modules/jsesc": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz", - "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==", - "license": "MIT", - "bin": { - "jsesc": "bin/jsesc" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", - "license": "MIT" - }, - "node_modules/json5": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", - "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", - "license": "MIT", - "bin": { - "json5": "lib/cli.js" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/kleur": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", - "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==", - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/lan-network": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/lan-network/-/lan-network-0.1.7.tgz", - "integrity": "sha512-mnIlAEMu4OyEvUNdzco9xpuB9YVcPkQec+QsgycBCtPZvEqWPCDPfbAE4OJMdBBWpZWtpCn1xw9jJYlwjWI5zQ==", - "license": "MIT", - "bin": { - "lan-network": "dist/lan-network-cli.js" - } - }, - "node_modules/leven": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", - "integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==", - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/lighthouse-logger": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/lighthouse-logger/-/lighthouse-logger-1.4.2.tgz", - "integrity": "sha512-gPWxznF6TKmUHrOQjlVo2UbaL2EJ71mb2CCeRs/2qBpi4L/g4LUVc9+3lKQ6DTUZwJswfM7ainGrLO1+fOqa2g==", - "license": "Apache-2.0", - "dependencies": { - "debug": "^2.6.9", - "marky": "^1.2.2" - } - }, - "node_modules/lighthouse-logger/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "license": "MIT", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/lighthouse-logger/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", - "license": "MIT" - }, - "node_modules/lightningcss": { - "version": "1.30.2", - "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.30.2.tgz", - "integrity": "sha512-utfs7Pr5uJyyvDETitgsaqSyjCb2qNRAtuqUeWIAKztsOYdcACf2KtARYXg2pSvhkt+9NfoaNY7fxjl6nuMjIQ==", - "license": "MPL-2.0", - "dependencies": { - "detect-libc": "^2.0.3" - }, - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - }, - "optionalDependencies": { - "lightningcss-android-arm64": "1.30.2", - "lightningcss-darwin-arm64": "1.30.2", - "lightningcss-darwin-x64": "1.30.2", - "lightningcss-freebsd-x64": "1.30.2", - "lightningcss-linux-arm-gnueabihf": "1.30.2", - "lightningcss-linux-arm64-gnu": "1.30.2", - "lightningcss-linux-arm64-musl": "1.30.2", - "lightningcss-linux-x64-gnu": "1.30.2", - "lightningcss-linux-x64-musl": "1.30.2", - "lightningcss-win32-arm64-msvc": "1.30.2", - "lightningcss-win32-x64-msvc": "1.30.2" - } - }, - "node_modules/lightningcss-android-arm64": { - "version": "1.30.2", - "resolved": "https://registry.npmjs.org/lightningcss-android-arm64/-/lightningcss-android-arm64-1.30.2.tgz", - "integrity": "sha512-BH9sEdOCahSgmkVhBLeU7Hc9DWeZ1Eb6wNS6Da8igvUwAe0sqROHddIlvU06q3WyXVEOYDZ6ykBZQnjTbmo4+A==", - "cpu": [ - "arm64" - ], - "license": "MPL-2.0", - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/lightningcss-darwin-arm64": { - "version": "1.30.2", - "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.30.2.tgz", - "integrity": "sha512-ylTcDJBN3Hp21TdhRT5zBOIi73P6/W0qwvlFEk22fkdXchtNTOU4Qc37SkzV+EKYxLouZ6M4LG9NfZ1qkhhBWA==", - "cpu": [ - "arm64" - ], - "license": "MPL-2.0", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/lightningcss-darwin-x64": { - "version": "1.30.2", - "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.30.2.tgz", - "integrity": "sha512-oBZgKchomuDYxr7ilwLcyms6BCyLn0z8J0+ZZmfpjwg9fRVZIR5/GMXd7r9RH94iDhld3UmSjBM6nXWM2TfZTQ==", - "cpu": [ - "x64" - ], - "license": "MPL-2.0", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/lightningcss-freebsd-x64": { - "version": "1.30.2", - "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.30.2.tgz", - "integrity": "sha512-c2bH6xTrf4BDpK8MoGG4Bd6zAMZDAXS569UxCAGcA7IKbHNMlhGQ89eRmvpIUGfKWNVdbhSbkQaWhEoMGmGslA==", - "cpu": [ - "x64" - ], - "license": "MPL-2.0", - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/lightningcss-linux-arm-gnueabihf": { - "version": "1.30.2", - "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.30.2.tgz", - "integrity": "sha512-eVdpxh4wYcm0PofJIZVuYuLiqBIakQ9uFZmipf6LF/HRj5Bgm0eb3qL/mr1smyXIS1twwOxNWndd8z0E374hiA==", - "cpu": [ - "arm" - ], - "license": "MPL-2.0", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/lightningcss-linux-arm64-gnu": { - "version": "1.30.2", - "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.30.2.tgz", - "integrity": "sha512-UK65WJAbwIJbiBFXpxrbTNArtfuznvxAJw4Q2ZGlU8kPeDIWEX1dg3rn2veBVUylA2Ezg89ktszWbaQnxD/e3A==", - "cpu": [ - "arm64" - ], - "license": "MPL-2.0", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/lightningcss-linux-arm64-musl": { - "version": "1.30.2", - "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.30.2.tgz", - "integrity": "sha512-5Vh9dGeblpTxWHpOx8iauV02popZDsCYMPIgiuw97OJ5uaDsL86cnqSFs5LZkG3ghHoX5isLgWzMs+eD1YzrnA==", - "cpu": [ - "arm64" - ], - "license": "MPL-2.0", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/lightningcss-linux-x64-gnu": { - "version": "1.30.2", - "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.30.2.tgz", - "integrity": "sha512-Cfd46gdmj1vQ+lR6VRTTadNHu6ALuw2pKR9lYq4FnhvgBc4zWY1EtZcAc6EffShbb1MFrIPfLDXD6Xprbnni4w==", - "cpu": [ - "x64" - ], - "license": "MPL-2.0", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/lightningcss-linux-x64-musl": { - "version": "1.30.2", - "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.30.2.tgz", - "integrity": "sha512-XJaLUUFXb6/QG2lGIW6aIk6jKdtjtcffUT0NKvIqhSBY3hh9Ch+1LCeH80dR9q9LBjG3ewbDjnumefsLsP6aiA==", - "cpu": [ - "x64" - ], - "license": "MPL-2.0", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/lightningcss-win32-arm64-msvc": { - "version": "1.30.2", - "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.30.2.tgz", - "integrity": "sha512-FZn+vaj7zLv//D/192WFFVA0RgHawIcHqLX9xuWiQt7P0PtdFEVaxgF9rjM/IRYHQXNnk61/H/gb2Ei+kUQ4xQ==", - "cpu": [ - "arm64" - ], - "license": "MPL-2.0", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/lightningcss-win32-x64-msvc": { - "version": "1.30.2", - "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.30.2.tgz", - "integrity": "sha512-5g1yc73p+iAkid5phb4oVFMB45417DkRevRbt/El/gKXJk4jid+vPFF/AXbxn05Aky8PapwzZrdJShv5C0avjw==", - "cpu": [ - "x64" - ], - "license": "MPL-2.0", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/lilconfig": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.3.tgz", - "integrity": "sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==", - "license": "MIT", - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/antonk52" - } - }, - "node_modules/lines-and-columns": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", - "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", - "license": "MIT" - }, - "node_modules/locate-path": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", - "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", - "license": "MIT", - "dependencies": { - "p-locate": "^5.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/lodash.debounce": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", - "integrity": "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==", - "license": "MIT" - }, - "node_modules/lodash.throttle": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/lodash.throttle/-/lodash.throttle-4.1.1.tgz", - "integrity": "sha512-wIkUCfVKpVsWo3JSZlc+8MB5it+2AN5W8J7YVMST30UrvcQNZ1Okbj+rbVniijTWE6FGYy4XJq/rHkas8qJMLQ==", - "license": "MIT" - }, - "node_modules/log-symbols": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-2.2.0.tgz", - "integrity": "sha512-VeIAFslyIerEJLXHziedo2basKbMKtTw3vfn5IzG0XTjhAVEJyNHnL2p7vc+wBDSdQuUpNw3M2u6xb9QsAY5Eg==", - "license": "MIT", - "dependencies": { - "chalk": "^2.0.1" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/log-symbols/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "license": "MIT", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/log-symbols/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "license": "MIT", - "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/log-symbols/node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "license": "MIT", - "dependencies": { - "color-name": "1.1.3" - } - }, - "node_modules/log-symbols/node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", - "license": "MIT" - }, - "node_modules/log-symbols/node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", - "license": "MIT", - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/log-symbols/node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/log-symbols/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "license": "MIT", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/loose-envify": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", - "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", - "license": "MIT", - "dependencies": { - "js-tokens": "^3.0.0 || ^4.0.0" - }, - "bin": { - "loose-envify": "cli.js" - } - }, - "node_modules/lru-cache": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", - "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", - "license": "ISC", - "dependencies": { - "yallist": "^3.0.2" - } - }, - "node_modules/makeerror": { - "version": "1.0.12", - "resolved": "https://registry.npmjs.org/makeerror/-/makeerror-1.0.12.tgz", - "integrity": "sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==", - "license": "BSD-3-Clause", - "dependencies": { - "tmpl": "1.0.5" - } - }, - "node_modules/marky": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/marky/-/marky-1.3.0.tgz", - "integrity": "sha512-ocnPZQLNpvbedwTy9kNrQEsknEfgvcLMvOtz3sFeWApDq1MXH1TqkCIx58xlpESsfwQOnuBO9beyQuNGzVvuhQ==", - "license": "Apache-2.0" - }, - "node_modules/memoize-one": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/memoize-one/-/memoize-one-5.2.1.tgz", - "integrity": "sha512-zYiwtZUcYyXKo/np96AGZAckk+FWWsUdJ3cHGGmld7+AhvcWmQyGCYUh1hc4Q/pkOhb65dQR/pqCyK0cOaHz4Q==", - "license": "MIT" - }, - "node_modules/merge-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", - "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", - "license": "MIT" - }, - "node_modules/merge2": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", - "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", - "license": "MIT", - "engines": { - "node": ">= 8" - } - }, - "node_modules/metro": { - "version": "0.83.3", - "resolved": "https://registry.npmjs.org/metro/-/metro-0.83.3.tgz", - "integrity": "sha512-+rP+/GieOzkt97hSJ0MrPOuAH/jpaS21ZDvL9DJ35QYRDlQcwzcvUlGUf79AnQxq/2NPiS/AULhhM4TKutIt8Q==", - "license": "MIT", - "dependencies": { - "@babel/code-frame": "^7.24.7", - "@babel/core": "^7.25.2", - "@babel/generator": "^7.25.0", - "@babel/parser": "^7.25.3", - "@babel/template": "^7.25.0", - "@babel/traverse": "^7.25.3", - "@babel/types": "^7.25.2", - "accepts": "^1.3.7", - "chalk": "^4.0.0", - "ci-info": "^2.0.0", - "connect": "^3.6.5", - "debug": "^4.4.0", - "error-stack-parser": "^2.0.6", - "flow-enums-runtime": "^0.0.6", - "graceful-fs": "^4.2.4", - "hermes-parser": "0.32.0", - "image-size": "^1.0.2", - "invariant": "^2.2.4", - "jest-worker": "^29.7.0", - "jsc-safe-url": "^0.2.2", - "lodash.throttle": "^4.1.1", - "metro-babel-transformer": "0.83.3", - "metro-cache": "0.83.3", - "metro-cache-key": "0.83.3", - "metro-config": "0.83.3", - "metro-core": "0.83.3", - "metro-file-map": "0.83.3", - "metro-resolver": "0.83.3", - "metro-runtime": "0.83.3", - "metro-source-map": "0.83.3", - "metro-symbolicate": "0.83.3", - "metro-transform-plugins": "0.83.3", - "metro-transform-worker": "0.83.3", - "mime-types": "^2.1.27", - "nullthrows": "^1.1.1", - "serialize-error": "^2.1.0", - "source-map": "^0.5.6", - "throat": "^5.0.0", - "ws": "^7.5.10", - "yargs": "^17.6.2" - }, - "bin": { - "metro": "src/cli.js" - }, - "engines": { - "node": ">=20.19.4" - } - }, - "node_modules/metro-babel-transformer": { - "version": "0.83.3", - "resolved": "https://registry.npmjs.org/metro-babel-transformer/-/metro-babel-transformer-0.83.3.tgz", - "integrity": "sha512-1vxlvj2yY24ES1O5RsSIvg4a4WeL7PFXgKOHvXTXiW0deLvQr28ExXj6LjwCCDZ4YZLhq6HddLpZnX4dEdSq5g==", - "license": "MIT", - "dependencies": { - "@babel/core": "^7.25.2", - "flow-enums-runtime": "^0.0.6", - "hermes-parser": "0.32.0", - "nullthrows": "^1.1.1" - }, - "engines": { - "node": ">=20.19.4" - } - }, - "node_modules/metro-babel-transformer/node_modules/hermes-estree": { - "version": "0.32.0", - "resolved": "https://registry.npmjs.org/hermes-estree/-/hermes-estree-0.32.0.tgz", - "integrity": "sha512-KWn3BqnlDOl97Xe1Yviur6NbgIZ+IP+UVSpshlZWkq+EtoHg6/cwiDj/osP9PCEgFE15KBm1O55JRwbMEm5ejQ==", - "license": "MIT" - }, - "node_modules/metro-babel-transformer/node_modules/hermes-parser": { - "version": "0.32.0", - "resolved": "https://registry.npmjs.org/hermes-parser/-/hermes-parser-0.32.0.tgz", - "integrity": "sha512-g4nBOWFpuiTqjR3LZdRxKUkij9iyveWeuks7INEsMX741f3r9xxrOe8TeQfUxtda0eXmiIFiMQzoeSQEno33Hw==", - "license": "MIT", - "dependencies": { - "hermes-estree": "0.32.0" - } - }, - "node_modules/metro-cache": { - "version": "0.83.3", - "resolved": "https://registry.npmjs.org/metro-cache/-/metro-cache-0.83.3.tgz", - "integrity": "sha512-3jo65X515mQJvKqK3vWRblxDEcgY55Sk3w4xa6LlfEXgQ9g1WgMh9m4qVZVwgcHoLy0a2HENTPCCX4Pk6s8c8Q==", - "license": "MIT", - "dependencies": { - "exponential-backoff": "^3.1.1", - "flow-enums-runtime": "^0.0.6", - "https-proxy-agent": "^7.0.5", - "metro-core": "0.83.3" - }, - "engines": { - "node": ">=20.19.4" - } - }, - "node_modules/metro-cache-key": { - "version": "0.83.3", - "resolved": "https://registry.npmjs.org/metro-cache-key/-/metro-cache-key-0.83.3.tgz", - "integrity": "sha512-59ZO049jKzSmvBmG/B5bZ6/dztP0ilp0o988nc6dpaDsU05Cl1c/lRf+yx8m9WW/JVgbmfO5MziBU559XjI5Zw==", - "license": "MIT", - "dependencies": { - "flow-enums-runtime": "^0.0.6" - }, - "engines": { - "node": ">=20.19.4" - } - }, - "node_modules/metro-config": { - "version": "0.83.3", - "resolved": "https://registry.npmjs.org/metro-config/-/metro-config-0.83.3.tgz", - "integrity": "sha512-mTel7ipT0yNjKILIan04bkJkuCzUUkm2SeEaTads8VfEecCh+ltXchdq6DovXJqzQAXuR2P9cxZB47Lg4klriA==", - "license": "MIT", - "dependencies": { - "connect": "^3.6.5", - "flow-enums-runtime": "^0.0.6", - "jest-validate": "^29.7.0", - "metro": "0.83.3", - "metro-cache": "0.83.3", - "metro-core": "0.83.3", - "metro-runtime": "0.83.3", - "yaml": "^2.6.1" - }, - "engines": { - "node": ">=20.19.4" - } - }, - "node_modules/metro-core": { - "version": "0.83.3", - "resolved": "https://registry.npmjs.org/metro-core/-/metro-core-0.83.3.tgz", - "integrity": "sha512-M+X59lm7oBmJZamc96usuF1kusd5YimqG/q97g4Ac7slnJ3YiGglW5CsOlicTR5EWf8MQFxxjDoB6ytTqRe8Hw==", - "license": "MIT", - "dependencies": { - "flow-enums-runtime": "^0.0.6", - "lodash.throttle": "^4.1.1", - "metro-resolver": "0.83.3" - }, - "engines": { - "node": ">=20.19.4" - } - }, - "node_modules/metro-file-map": { - "version": "0.83.3", - "resolved": "https://registry.npmjs.org/metro-file-map/-/metro-file-map-0.83.3.tgz", - "integrity": "sha512-jg5AcyE0Q9Xbbu/4NAwwZkmQn7doJCKGW0SLeSJmzNB9Z24jBe0AL2PHNMy4eu0JiKtNWHz9IiONGZWq7hjVTA==", - "license": "MIT", - "dependencies": { - "debug": "^4.4.0", - "fb-watchman": "^2.0.0", - "flow-enums-runtime": "^0.0.6", - "graceful-fs": "^4.2.4", - "invariant": "^2.2.4", - "jest-worker": "^29.7.0", - "micromatch": "^4.0.4", - "nullthrows": "^1.1.1", - "walker": "^1.0.7" - }, - "engines": { - "node": ">=20.19.4" - } - }, - "node_modules/metro-minify-terser": { - "version": "0.83.3", - "resolved": "https://registry.npmjs.org/metro-minify-terser/-/metro-minify-terser-0.83.3.tgz", - "integrity": "sha512-O2BmfWj6FSfzBLrNCXt/rr2VYZdX5i6444QJU0fFoc7Ljg+Q+iqebwE3K0eTvkI6TRjELsXk1cjU+fXwAR4OjQ==", - "license": "MIT", - "dependencies": { - "flow-enums-runtime": "^0.0.6", - "terser": "^5.15.0" - }, - "engines": { - "node": ">=20.19.4" - } - }, - "node_modules/metro-resolver": { - "version": "0.83.3", - "resolved": "https://registry.npmjs.org/metro-resolver/-/metro-resolver-0.83.3.tgz", - "integrity": "sha512-0js+zwI5flFxb1ktmR///bxHYg7OLpRpWZlBBruYG8OKYxeMP7SV0xQ/o/hUelrEMdK4LJzqVtHAhBm25LVfAQ==", - "license": "MIT", - "dependencies": { - "flow-enums-runtime": "^0.0.6" - }, - "engines": { - "node": ">=20.19.4" - } - }, - "node_modules/metro-runtime": { - "version": "0.83.3", - "resolved": "https://registry.npmjs.org/metro-runtime/-/metro-runtime-0.83.3.tgz", - "integrity": "sha512-JHCJb9ebr9rfJ+LcssFYA2x1qPYuSD/bbePupIGhpMrsla7RCwC/VL3yJ9cSU+nUhU4c9Ixxy8tBta+JbDeZWw==", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.25.0", - "flow-enums-runtime": "^0.0.6" - }, - "engines": { - "node": ">=20.19.4" - } - }, - "node_modules/metro-source-map": { - "version": "0.83.3", - "resolved": "https://registry.npmjs.org/metro-source-map/-/metro-source-map-0.83.3.tgz", - "integrity": "sha512-xkC3qwUBh2psVZgVavo8+r2C9Igkk3DibiOXSAht1aYRRcztEZNFtAMtfSB7sdO2iFMx2Mlyu++cBxz/fhdzQg==", - "license": "MIT", - "dependencies": { - "@babel/traverse": "^7.25.3", - "@babel/traverse--for-generate-function-map": "npm:@babel/traverse@^7.25.3", - "@babel/types": "^7.25.2", - "flow-enums-runtime": "^0.0.6", - "invariant": "^2.2.4", - "metro-symbolicate": "0.83.3", - "nullthrows": "^1.1.1", - "ob1": "0.83.3", - "source-map": "^0.5.6", - "vlq": "^1.0.0" - }, - "engines": { - "node": ">=20.19.4" - } - }, - "node_modules/metro-symbolicate": { - "version": "0.83.3", - "resolved": "https://registry.npmjs.org/metro-symbolicate/-/metro-symbolicate-0.83.3.tgz", - "integrity": "sha512-F/YChgKd6KbFK3eUR5HdUsfBqVsanf5lNTwFd4Ca7uuxnHgBC3kR/Hba/RGkenR3pZaGNp5Bu9ZqqP52Wyhomw==", - "license": "MIT", - "dependencies": { - "flow-enums-runtime": "^0.0.6", - "invariant": "^2.2.4", - "metro-source-map": "0.83.3", - "nullthrows": "^1.1.1", - "source-map": "^0.5.6", - "vlq": "^1.0.0" - }, - "bin": { - "metro-symbolicate": "src/index.js" - }, - "engines": { - "node": ">=20.19.4" - } - }, - "node_modules/metro-transform-plugins": { - "version": "0.83.3", - "resolved": "https://registry.npmjs.org/metro-transform-plugins/-/metro-transform-plugins-0.83.3.tgz", - "integrity": "sha512-eRGoKJU6jmqOakBMH5kUB7VitEWiNrDzBHpYbkBXW7C5fUGeOd2CyqrosEzbMK5VMiZYyOcNFEphvxk3OXey2A==", - "license": "MIT", - "dependencies": { - "@babel/core": "^7.25.2", - "@babel/generator": "^7.25.0", - "@babel/template": "^7.25.0", - "@babel/traverse": "^7.25.3", - "flow-enums-runtime": "^0.0.6", - "nullthrows": "^1.1.1" - }, - "engines": { - "node": ">=20.19.4" - } - }, - "node_modules/metro-transform-worker": { - "version": "0.83.3", - "resolved": "https://registry.npmjs.org/metro-transform-worker/-/metro-transform-worker-0.83.3.tgz", - "integrity": "sha512-Ztekew9t/gOIMZX1tvJOgX7KlSLL5kWykl0Iwu2cL2vKMKVALRl1hysyhUw0vjpAvLFx+Kfq9VLjnHIkW32fPA==", - "license": "MIT", - "dependencies": { - "@babel/core": "^7.25.2", - "@babel/generator": "^7.25.0", - "@babel/parser": "^7.25.3", - "@babel/types": "^7.25.2", - "flow-enums-runtime": "^0.0.6", - "metro": "0.83.3", - "metro-babel-transformer": "0.83.3", - "metro-cache": "0.83.3", - "metro-cache-key": "0.83.3", - "metro-minify-terser": "0.83.3", - "metro-source-map": "0.83.3", - "metro-transform-plugins": "0.83.3", - "nullthrows": "^1.1.1" - }, - "engines": { - "node": ">=20.19.4" - } - }, - "node_modules/metro/node_modules/ci-info": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", - "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==", - "license": "MIT" - }, - "node_modules/metro/node_modules/hermes-estree": { - "version": "0.32.0", - "resolved": "https://registry.npmjs.org/hermes-estree/-/hermes-estree-0.32.0.tgz", - "integrity": "sha512-KWn3BqnlDOl97Xe1Yviur6NbgIZ+IP+UVSpshlZWkq+EtoHg6/cwiDj/osP9PCEgFE15KBm1O55JRwbMEm5ejQ==", - "license": "MIT" - }, - "node_modules/metro/node_modules/hermes-parser": { - "version": "0.32.0", - "resolved": "https://registry.npmjs.org/hermes-parser/-/hermes-parser-0.32.0.tgz", - "integrity": "sha512-g4nBOWFpuiTqjR3LZdRxKUkij9iyveWeuks7INEsMX741f3r9xxrOe8TeQfUxtda0eXmiIFiMQzoeSQEno33Hw==", - "license": "MIT", - "dependencies": { - "hermes-estree": "0.32.0" - } - }, - "node_modules/micromatch": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", - "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", - "license": "MIT", - "dependencies": { - "braces": "^3.0.3", - "picomatch": "^2.3.1" - }, - "engines": { - "node": ">=8.6" - } - }, - "node_modules/micromatch/node_modules/picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", - "license": "MIT", - "engines": { - "node": ">=8.6" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, - "node_modules/mime": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", - "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", - "license": "MIT", - "bin": { - "mime": "cli.js" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/mime-db": { - "version": "1.54.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz", - "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==", - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mime-types": { - "version": "2.1.35", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", - "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", - "license": "MIT", - "dependencies": { - "mime-db": "1.52.0" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mime-types/node_modules/mime-db": { - "version": "1.52.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", - "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mimic-fn": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz", - "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==", - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/minimatch": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", - "license": "ISC", - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/minimist": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", - "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/minipass": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", - "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", - "license": "ISC", - "engines": { - "node": ">=16 || 14 >=14.17" - } - }, - "node_modules/minizlib": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-3.1.0.tgz", - "integrity": "sha512-KZxYo1BUkWD2TVFLr0MQoM8vUUigWD3LlD83a/75BqC+4qE0Hb1Vo5v1FgcfaNXvfXzr+5EhQ6ing/CaBijTlw==", - "license": "MIT", - "dependencies": { - "minipass": "^7.1.2" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", - "license": "MIT", - "bin": { - "mkdirp": "bin/cmd.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "license": "MIT" - }, - "node_modules/mz": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz", - "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==", - "license": "MIT", - "dependencies": { - "any-promise": "^1.0.0", - "object-assign": "^4.0.1", - "thenify-all": "^1.0.0" - } - }, - "node_modules/nanoid": { - "version": "3.3.11", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz", - "integrity": "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "license": "MIT", - "bin": { - "nanoid": "bin/nanoid.cjs" - }, - "engines": { - "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" - } - }, - "node_modules/nativewind": { - "version": "4.1.23", - "resolved": "https://registry.npmjs.org/nativewind/-/nativewind-4.1.23.tgz", - "integrity": "sha512-oLX3suGI6ojQqWxdQezOSM5GmJ4KvMnMtmaSMN9Ggb5j7ysFt4nHxb1xs8RDjZR7BWc+bsetNJU8IQdQMHqRpg==", - "license": "MIT", - "dependencies": { - "comment-json": "^4.2.5", - "debug": "^4.3.7", - "react-native-css-interop": "0.1.22" - }, - "engines": { - "node": ">=16" - }, - "peerDependencies": { - "tailwindcss": ">3.3.0" - } - }, - "node_modules/negotiator": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", - "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/nested-error-stacks": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/nested-error-stacks/-/nested-error-stacks-2.0.1.tgz", - "integrity": "sha512-SrQrok4CATudVzBS7coSz26QRSmlK9TzzoFbeKfcPBUFPjcQM9Rqvr/DlJkOrwI/0KcgvMub1n1g5Jt9EgRn4A==", - "license": "MIT" - }, - "node_modules/node-fetch": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", - "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", - "license": "MIT", - "dependencies": { - "whatwg-url": "^5.0.0" - }, - "engines": { - "node": "4.x || >=6.0.0" - }, - "peerDependencies": { - "encoding": "^0.1.0" - }, - "peerDependenciesMeta": { - "encoding": { - "optional": true - } - } - }, - "node_modules/node-forge": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.3.3.tgz", - "integrity": "sha512-rLvcdSyRCyouf6jcOIPe/BgwG/d7hKjzMKOas33/pHEr6gbq18IK9zV7DiPvzsz0oBJPme6qr6H6kGZuI9/DZg==", - "license": "(BSD-3-Clause OR GPL-2.0)", - "engines": { - "node": ">= 6.13.0" - } - }, - "node_modules/node-int64": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz", - "integrity": "sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==", - "license": "MIT" - }, - "node_modules/node-releases": { - "version": "2.0.19", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.19.tgz", - "integrity": "sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==", - "license": "MIT" - }, - "node_modules/normalize-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", - "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/npm-package-arg": { - "version": "11.0.3", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-11.0.3.tgz", - "integrity": "sha512-sHGJy8sOC1YraBywpzQlIKBE4pBbGbiF95U6Auspzyem956E0+FtDtsx1ZxlOJkQCZ1AFXAY/yuvtFYrOxF+Bw==", - "license": "ISC", - "dependencies": { - "hosted-git-info": "^7.0.0", - "proc-log": "^4.0.0", - "semver": "^7.3.5", - "validate-npm-package-name": "^5.0.0" - }, - "engines": { - "node": "^16.14.0 || >=18.0.0" - } - }, - "node_modules/npm-package-arg/node_modules/semver": { - "version": "7.7.3", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz", - "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==", - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/nullthrows": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/nullthrows/-/nullthrows-1.1.1.tgz", - "integrity": "sha512-2vPPEi+Z7WqML2jZYddDIfy5Dqb0r2fze2zTxNNknZaFpVHU3mFB3R+DWeJWGVx0ecvttSGlJTI+WG+8Z4cDWw==", - "license": "MIT" - }, - "node_modules/ob1": { - "version": "0.83.3", - "resolved": "https://registry.npmjs.org/ob1/-/ob1-0.83.3.tgz", - "integrity": "sha512-egUxXCDwoWG06NGCS5s5AdcpnumHKJlfd3HH06P3m9TEMwwScfcY35wpQxbm9oHof+dM/lVH9Rfyu1elTVelSA==", - "license": "MIT", - "dependencies": { - "flow-enums-runtime": "^0.0.6" - }, - "engines": { - "node": ">=20.19.4" - } - }, - "node_modules/object-assign": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-hash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz", - "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==", - "license": "MIT", - "engines": { - "node": ">= 6" - } - }, - "node_modules/on-finished": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", - "integrity": "sha512-ikqdkGAAyf/X/gPhXGvfgAytDZtDbr+bkNUJ0N9h5MI/dmdgCs3l6hoHrcUv41sRKew3jIwrp4qQDXiK99Utww==", - "license": "MIT", - "dependencies": { - "ee-first": "1.1.1" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/on-headers": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.1.0.tgz", - "integrity": "sha512-737ZY3yNnXy37FHkQxPzt4UZ2UWPWiCZWLvFZ4fu5cueciegX0zGPnrlY6bwRg4FdQOe9YU8MkmJwGhoMybl8A==", - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", - "license": "ISC", - "dependencies": { - "wrappy": "1" - } - }, - "node_modules/onetime": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz", - "integrity": "sha512-oyyPpiMaKARvvcgip+JV+7zci5L8D1W9RZIz2l1o08AM3pfspitVWnPt3mzHcBPp12oYMTy0pqrFs/C+m3EwsQ==", - "license": "MIT", - "dependencies": { - "mimic-fn": "^1.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/open": { - "version": "7.4.2", - "resolved": "https://registry.npmjs.org/open/-/open-7.4.2.tgz", - "integrity": "sha512-MVHddDVweXZF3awtlAS+6pgKLlm/JgxZ90+/NBurBoQctVOOB/zDdVjcyPzQ+0laDGbsWgrRkflI65sQeOgT9Q==", - "license": "MIT", - "dependencies": { - "is-docker": "^2.0.0", - "is-wsl": "^2.1.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/ora": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/ora/-/ora-3.4.0.tgz", - "integrity": "sha512-eNwHudNbO1folBP3JsZ19v9azXWtQZjICdr3Q0TDPIaeBQ3mXLrh54wM+er0+hSp+dWKf+Z8KM58CYzEyIYxYg==", - "license": "MIT", - "dependencies": { - "chalk": "^2.4.2", - "cli-cursor": "^2.1.0", - "cli-spinners": "^2.0.0", - "log-symbols": "^2.2.0", - "strip-ansi": "^5.2.0", - "wcwidth": "^1.0.1" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/ora/node_modules/ansi-regex": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.1.tgz", - "integrity": "sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==", - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/ora/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "license": "MIT", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/ora/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "license": "MIT", - "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/ora/node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "license": "MIT", - "dependencies": { - "color-name": "1.1.3" - } - }, - "node_modules/ora/node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", - "license": "MIT" - }, - "node_modules/ora/node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", - "license": "MIT", - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/ora/node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/ora/node_modules/strip-ansi": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", - "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", - "license": "MIT", - "dependencies": { - "ansi-regex": "^4.1.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/ora/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "license": "MIT", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/p-limit": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", - "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", - "license": "MIT", - "dependencies": { - "yocto-queue": "^0.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-locate": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", - "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", - "license": "MIT", - "dependencies": { - "p-limit": "^3.0.2" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-try": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/package-json-from-dist": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz", - "integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==", - "license": "BlueOak-1.0.0" - }, - "node_modules/parse-png": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/parse-png/-/parse-png-2.1.0.tgz", - "integrity": "sha512-Nt/a5SfCLiTnQAjx3fHlqp8hRgTL3z7kTQZzvIMS9uCAepnCyjpdEc6M/sz69WqMBdaDBw9sF1F1UaHROYzGkQ==", - "license": "MIT", - "dependencies": { - "pngjs": "^3.3.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/parseurl": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", - "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/path-exists": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/path-key": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/path-parse": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", - "license": "MIT" - }, - "node_modules/path-scurry": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", - "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", - "license": "BlueOak-1.0.0", - "dependencies": { - "lru-cache": "^10.2.0", - "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" - }, - "engines": { - "node": ">=16 || 14 >=14.18" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/path-scurry/node_modules/lru-cache": { - "version": "10.4.3", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", - "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", - "license": "ISC" - }, - "node_modules/picocolors": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", - "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", - "license": "ISC" - }, - "node_modules/picomatch": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz", - "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, - "node_modules/pify": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==", - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/pirates": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.7.tgz", - "integrity": "sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA==", - "license": "MIT", - "engines": { - "node": ">= 6" - } - }, - "node_modules/plist": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/plist/-/plist-3.1.0.tgz", - "integrity": "sha512-uysumyrvkUX0rX/dEVqt8gC3sTBzd4zoWfLeS29nb53imdaXVvLINYXTI2GNqzaMuvacNx4uJQ8+b3zXR0pkgQ==", - "license": "MIT", - "dependencies": { - "@xmldom/xmldom": "^0.8.8", - "base64-js": "^1.5.1", - "xmlbuilder": "^15.1.1" - }, - "engines": { - "node": ">=10.4.0" - } - }, - "node_modules/pngjs": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/pngjs/-/pngjs-3.4.0.tgz", - "integrity": "sha512-NCrCHhWmnQklfH4MtJMRjZ2a8c80qXeMlQMv2uVp9ISJMTt562SbGd6n2oq0PaPgKm7Z6pL9E2UlLIhC+SHL3w==", - "license": "MIT", - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/postcss": { - "version": "8.4.49", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.49.tgz", - "integrity": "sha512-OCVPnIObs4N29kxTjzLfUryOkvZEq+pf8jTF0lg8E7uETuWHA+v7j3c/xJmiqpX450191LlmZfUKkXxkTry7nA==", - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/postcss" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "license": "MIT", - "dependencies": { - "nanoid": "^3.3.7", - "picocolors": "^1.1.1", - "source-map-js": "^1.2.1" - }, - "engines": { - "node": "^10 || ^12 || >=14" - } - }, - "node_modules/postcss-import": { - "version": "15.1.0", - "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-15.1.0.tgz", - "integrity": "sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==", - "license": "MIT", - "dependencies": { - "postcss-value-parser": "^4.0.0", - "read-cache": "^1.0.0", - "resolve": "^1.1.7" - }, - "engines": { - "node": ">=14.0.0" - }, - "peerDependencies": { - "postcss": "^8.0.0" - } - }, - "node_modules/postcss-js": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/postcss-js/-/postcss-js-4.0.1.tgz", - "integrity": "sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw==", - "license": "MIT", - "dependencies": { - "camelcase-css": "^2.0.1" - }, - "engines": { - "node": "^12 || ^14 || >= 16" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - }, - "peerDependencies": { - "postcss": "^8.4.21" - } - }, - "node_modules/postcss-load-config": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-4.0.2.tgz", - "integrity": "sha512-bSVhyJGL00wMVoPUzAVAnbEoWyqRxkjv64tUl427SKnPrENtq6hJwUojroMz2VB+Q1edmi4IfrAPpami5VVgMQ==", - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "license": "MIT", - "dependencies": { - "lilconfig": "^3.0.0", - "yaml": "^2.3.4" - }, - "engines": { - "node": ">= 14" - }, - "peerDependencies": { - "postcss": ">=8.0.9", - "ts-node": ">=9.0.0" - }, - "peerDependenciesMeta": { - "postcss": { - "optional": true - }, - "ts-node": { - "optional": true - } - } - }, - "node_modules/postcss-nested": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.2.0.tgz", - "integrity": "sha512-HQbt28KulC5AJzG+cZtj9kvKB93CFCdLvog1WFLf1D+xmMvPGlBstkpTEZfK5+AN9hfJocyBFCNiqyS48bpgzQ==", - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "license": "MIT", - "dependencies": { - "postcss-selector-parser": "^6.1.1" - }, - "engines": { - "node": ">=12.0" - }, - "peerDependencies": { - "postcss": "^8.2.14" - } - }, - "node_modules/postcss-selector-parser": { - "version": "6.1.2", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.2.tgz", - "integrity": "sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg==", - "license": "MIT", - "dependencies": { - "cssesc": "^3.0.0", - "util-deprecate": "^1.0.2" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-value-parser": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", - "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==", - "license": "MIT" - }, - "node_modules/pretty-bytes": { - "version": "5.6.0", - "resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-5.6.0.tgz", - "integrity": "sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg==", - "license": "MIT", - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/pretty-format": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.7.0.tgz", - "integrity": "sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==", - "license": "MIT", - "dependencies": { - "@jest/schemas": "^29.6.3", - "ansi-styles": "^5.0.0", - "react-is": "^18.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/pretty-format/node_modules/ansi-styles": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", - "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/proc-log": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/proc-log/-/proc-log-4.2.0.tgz", - "integrity": "sha512-g8+OnU/L2v+wyiVK+D5fA34J7EH8jZ8DDlvwhRCMxmMj7UCBvxiO1mGeN+36JXIKF4zevU4kRBd8lVgG9vLelA==", - "license": "ISC", - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/progress": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", - "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", - "license": "MIT", - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/promise": { - "version": "8.3.0", - "resolved": "https://registry.npmjs.org/promise/-/promise-8.3.0.tgz", - "integrity": "sha512-rZPNPKTOYVNEEKFaq1HqTgOwZD+4/YHS5ukLzQCypkj+OkYx7iv0mA91lJlpPPZ8vMau3IIGj5Qlwrx+8iiSmg==", - "license": "MIT", - "dependencies": { - "asap": "~2.0.6" - } - }, - "node_modules/prompts": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz", - "integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==", - "license": "MIT", - "dependencies": { - "kleur": "^3.0.3", - "sisteransi": "^1.0.5" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/prop-types": { - "version": "15.8.1", - "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", - "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==", - "license": "MIT", - "dependencies": { - "loose-envify": "^1.4.0", - "object-assign": "^4.1.1", - "react-is": "^16.13.1" - } - }, - "node_modules/prop-types/node_modules/react-is": { - "version": "16.13.1", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", - "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", - "license": "MIT" - }, - "node_modules/punycode": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", - "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/qrcode-terminal": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/qrcode-terminal/-/qrcode-terminal-0.11.0.tgz", - "integrity": "sha512-Uu7ii+FQy4Qf82G4xu7ShHhjhGahEpCWc3x8UavY3CTcWV+ufmmCtwkr7ZKsX42jdL0kr1B5FKUeqJvAn51jzQ==", - "bin": { - "qrcode-terminal": "bin/qrcode-terminal.js" - } - }, - "node_modules/query-string": { - "version": "7.1.3", - "resolved": "https://registry.npmjs.org/query-string/-/query-string-7.1.3.tgz", - "integrity": "sha512-hh2WYhq4fi8+b+/2Kg9CEge4fDPvHS534aOOvOZeQ3+Vf2mCFsaFBYj0i+iXcAq6I9Vzp5fjMFBlONvayDC1qg==", - "license": "MIT", - "dependencies": { - "decode-uri-component": "^0.2.2", - "filter-obj": "^1.1.0", - "split-on-first": "^1.0.0", - "strict-uri-encode": "^2.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/queue": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/queue/-/queue-6.0.2.tgz", - "integrity": "sha512-iHZWu+q3IdFZFX36ro/lKBkSvfkztY5Y7HMiPlOUjhupPcG2JMfst2KKEpu5XndviX/3UhFbRngUPNKtgvtZiA==", - "license": "MIT", - "dependencies": { - "inherits": "~2.0.3" - } - }, - "node_modules/queue-microtask": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", - "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT" - }, - "node_modules/range-parser": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", - "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/rc": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", - "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", - "license": "(BSD-2-Clause OR MIT OR Apache-2.0)", - "dependencies": { - "deep-extend": "^0.6.0", - "ini": "~1.3.0", - "minimist": "^1.2.0", - "strip-json-comments": "~2.0.1" - }, - "bin": { - "rc": "cli.js" - } - }, - "node_modules/react": { - "version": "19.1.0", - "resolved": "https://registry.npmjs.org/react/-/react-19.1.0.tgz", - "integrity": "sha512-FS+XFBNvn3GTAWq26joslQgWNoFu08F4kl0J4CgdNKADkdSGXQyTCnKteIAJy96Br6YbpEU1LSzV5dYtjMkMDg==", - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/react-devtools-core": { - "version": "6.1.5", - "resolved": "https://registry.npmjs.org/react-devtools-core/-/react-devtools-core-6.1.5.tgz", - "integrity": "sha512-ePrwPfxAnB+7hgnEr8vpKxL9cmnp7F322t8oqcPshbIQQhDKgFDW4tjhF2wjVbdXF9O/nyuy3sQWd9JGpiLPvA==", - "license": "MIT", - "dependencies": { - "shell-quote": "^1.6.1", - "ws": "^7" - } - }, - "node_modules/react-dom": { - "version": "19.1.0", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.1.0.tgz", - "integrity": "sha512-Xs1hdnE+DyKgeHJeJznQmYMIBG3TKIHJJT95Q58nHLSrElKlGQqDTR2HQ9fx5CN/Gk6Vh/kupBTDLU11/nDk/g==", - "license": "MIT", - "dependencies": { - "scheduler": "^0.26.0" - }, - "peerDependencies": { - "react": "^19.1.0" - } - }, - "node_modules/react-dom/node_modules/scheduler": { - "version": "0.26.0", - "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.26.0.tgz", - "integrity": "sha512-NlHwttCI/l5gCPR3D1nNXtWABUmBwvZpEQiD4IXSbIDq8BzLIK/7Ir5gTFSGZDUu37K5cMNp0hFtzO38sC7gWA==", - "license": "MIT" - }, - "node_modules/react-fast-compare": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-3.2.2.tgz", - "integrity": "sha512-nsO+KSNgo1SbJqJEYRE9ERzo7YtYbou/OqjSQKxV7jcKox7+usiUVZOAC+XnDOABXggQTno0Y1CpVnuWEc1boQ==", - "license": "MIT" - }, - "node_modules/react-freeze": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/react-freeze/-/react-freeze-1.0.4.tgz", - "integrity": "sha512-r4F0Sec0BLxWicc7HEyo2x3/2icUTrRmDjaaRyzzn+7aDyFZliszMDOgLVwSnQnYENOlL1o569Ze2HZefk8clA==", - "license": "MIT", - "engines": { - "node": ">=10" - }, - "peerDependencies": { - "react": ">=17.0.0" - } - }, - "node_modules/react-is": { - "version": "18.3.1", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz", - "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==", - "license": "MIT" - }, - "node_modules/react-native": { - "version": "0.81.5", - "resolved": "https://registry.npmjs.org/react-native/-/react-native-0.81.5.tgz", - "integrity": "sha512-1w+/oSjEXZjMqsIvmkCRsOc8UBYv163bTWKTI8+1mxztvQPhCRYGTvZ/PL1w16xXHneIj/SLGfxWg2GWN2uexw==", - "license": "MIT", - "dependencies": { - "@jest/create-cache-key-function": "^29.7.0", - "@react-native/assets-registry": "0.81.5", - "@react-native/codegen": "0.81.5", - "@react-native/community-cli-plugin": "0.81.5", - "@react-native/gradle-plugin": "0.81.5", - "@react-native/js-polyfills": "0.81.5", - "@react-native/normalize-colors": "0.81.5", - "@react-native/virtualized-lists": "0.81.5", - "abort-controller": "^3.0.0", - "anser": "^1.4.9", - "ansi-regex": "^5.0.0", - "babel-jest": "^29.7.0", - "babel-plugin-syntax-hermes-parser": "0.29.1", - "base64-js": "^1.5.1", - "commander": "^12.0.0", - "flow-enums-runtime": "^0.0.6", - "glob": "^7.1.1", - "invariant": "^2.2.4", - "jest-environment-node": "^29.7.0", - "memoize-one": "^5.0.0", - "metro-runtime": "^0.83.1", - "metro-source-map": "^0.83.1", - "nullthrows": "^1.1.1", - "pretty-format": "^29.7.0", - "promise": "^8.3.0", - "react-devtools-core": "^6.1.5", - "react-refresh": "^0.14.0", - "regenerator-runtime": "^0.13.2", - "scheduler": "0.26.0", - "semver": "^7.1.3", - "stacktrace-parser": "^0.1.10", - "whatwg-fetch": "^3.0.0", - "ws": "^6.2.3", - "yargs": "^17.6.2" - }, - "bin": { - "react-native": "cli.js" - }, - "engines": { - "node": ">= 20.19.4" - }, - "peerDependencies": { - "@types/react": "^19.1.0", - "react": "^19.1.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, - "node_modules/react-native-css-interop": { - "version": "0.1.22", - "resolved": "https://registry.npmjs.org/react-native-css-interop/-/react-native-css-interop-0.1.22.tgz", - "integrity": "sha512-Mu01e+H9G+fxSWvwtgWlF5MJBJC4VszTCBXopIpeR171lbeBInHb8aHqoqRPxmJpi3xIHryzqKFOJYAdk7PBxg==", - "license": "MIT", - "dependencies": { - "@babel/helper-module-imports": "^7.22.15", - "@babel/traverse": "^7.23.0", - "@babel/types": "^7.23.0", - "debug": "^4.3.7", - "lightningcss": "^1.27.0", - "semver": "^7.6.3" - }, - "engines": { - "node": ">=18" - }, - "peerDependencies": { - "react": ">=18", - "react-native": "*", - "react-native-reanimated": ">=3.6.2", - "tailwindcss": "~3" - }, - "peerDependenciesMeta": { - "react-native-safe-area-context": { - "optional": true - }, - "react-native-svg": { - "optional": true - } - } - }, - "node_modules/react-native-css-interop/node_modules/semver": { - "version": "7.7.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", - "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/react-native-edge-to-edge": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/react-native-edge-to-edge/-/react-native-edge-to-edge-1.6.0.tgz", - "integrity": "sha512-2WCNdE3Qd6Fwg9+4BpbATUxCLcouF6YRY7K+J36KJ4l3y+tWN6XCqAC4DuoGblAAbb2sLkhEDp4FOlbOIot2Og==", - "license": "MIT", - "peerDependencies": { - "react": "*", - "react-native": "*" - } - }, - "node_modules/react-native-gesture-handler": { - "version": "2.28.0", - "resolved": "https://registry.npmjs.org/react-native-gesture-handler/-/react-native-gesture-handler-2.28.0.tgz", - "integrity": "sha512-0msfJ1vRxXKVgTgvL+1ZOoYw3/0z1R+Ked0+udoJhyplC2jbVKIJ8Z1bzWdpQRCV3QcQ87Op0zJVE5DhKK2A0A==", - "license": "MIT", - "dependencies": { - "@egjs/hammerjs": "^2.0.17", - "hoist-non-react-statics": "^3.3.0", - "invariant": "^2.2.4" - }, - "peerDependencies": { - "react": "*", - "react-native": "*" - } - }, - "node_modules/react-native-is-edge-to-edge": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/react-native-is-edge-to-edge/-/react-native-is-edge-to-edge-1.1.7.tgz", - "integrity": "sha512-EH6i7E8epJGIcu7KpfXYXiV2JFIYITtq+rVS8uEb+92naMRBdxhTuS8Wn2Q7j9sqyO0B+Xbaaf9VdipIAmGW4w==", - "license": "MIT", - "peerDependencies": { - "react": "*", - "react-native": "*" - } - }, - "node_modules/react-native-reanimated": { - "version": "3.17.5", - "resolved": "https://registry.npmjs.org/react-native-reanimated/-/react-native-reanimated-3.17.5.tgz", - "integrity": "sha512-SxBK7wQfJ4UoWoJqQnmIC7ZjuNgVb9rcY5Xc67upXAFKftWg0rnkknTw6vgwnjRcvYThrjzUVti66XoZdDJGtw==", - "license": "MIT", - "dependencies": { - "@babel/plugin-transform-arrow-functions": "^7.0.0-0", - "@babel/plugin-transform-class-properties": "^7.0.0-0", - "@babel/plugin-transform-classes": "^7.0.0-0", - "@babel/plugin-transform-nullish-coalescing-operator": "^7.0.0-0", - "@babel/plugin-transform-optional-chaining": "^7.0.0-0", - "@babel/plugin-transform-shorthand-properties": "^7.0.0-0", - "@babel/plugin-transform-template-literals": "^7.0.0-0", - "@babel/plugin-transform-unicode-regex": "^7.0.0-0", - "@babel/preset-typescript": "^7.16.7", - "convert-source-map": "^2.0.0", - "invariant": "^2.2.4", - "react-native-is-edge-to-edge": "1.1.7" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0", - "react": "*", - "react-native": "*" - } - }, - "node_modules/react-native-safe-area-context": { - "version": "5.4.0", - "resolved": "https://registry.npmjs.org/react-native-safe-area-context/-/react-native-safe-area-context-5.4.0.tgz", - "integrity": "sha512-JaEThVyJcLhA+vU0NU8bZ0a1ih6GiF4faZ+ArZLqpYbL6j7R3caRqj+mE3lEtKCuHgwjLg3bCxLL1GPUJZVqUA==", - "license": "MIT", - "peerDependencies": { - "react": "*", - "react-native": "*" - } - }, - "node_modules/react-native-screens": { - "version": "4.11.1", - "resolved": "https://registry.npmjs.org/react-native-screens/-/react-native-screens-4.11.1.tgz", - "integrity": "sha512-F0zOzRVa3ptZfLpD0J8ROdo+y1fEPw+VBFq1MTY/iyDu08al7qFUO5hLMd+EYMda5VXGaTFCa8q7bOppUszhJw==", - "license": "MIT", - "dependencies": { - "react-freeze": "^1.0.0", - "react-native-is-edge-to-edge": "^1.1.7", - "warn-once": "^0.1.0" - }, - "peerDependencies": { - "react": "*", - "react-native": "*" - } - }, - "node_modules/react-native-vector-icons": { - "version": "10.3.0", - "resolved": "https://registry.npmjs.org/react-native-vector-icons/-/react-native-vector-icons-10.3.0.tgz", - "integrity": "sha512-IFQ0RE57819hOUdFvgK4FowM5aMXg7C7XKsuGLevqXkkIJatc3QopN0wYrb2IrzUgmdpfP+QVIbI3S6h7M0btw==", - "deprecated": "react-native-vector-icons package has moved to a new model of per-icon-family packages. See the https://github.com/oblador/react-native-vector-icons/blob/master/MIGRATION.md on how to migrate", - "license": "MIT", - "dependencies": { - "prop-types": "^15.7.2", - "yargs": "^16.1.1" - }, - "bin": { - "fa-upgrade.sh": "bin/fa-upgrade.sh", - "fa5-upgrade": "bin/fa5-upgrade.sh", - "fa6-upgrade": "bin/fa6-upgrade.sh", - "generate-icon": "bin/generate-icon.js" - } - }, - "node_modules/react-native-vector-icons/node_modules/cliui": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", - "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", - "license": "ISC", - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^7.0.0" - } - }, - "node_modules/react-native-vector-icons/node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "license": "MIT" - }, - "node_modules/react-native-vector-icons/node_modules/string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "license": "MIT", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/react-native-vector-icons/node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "license": "MIT", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/react-native-vector-icons/node_modules/yargs": { - "version": "16.2.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", - "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", - "license": "MIT", - "dependencies": { - "cliui": "^7.0.2", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.0", - "y18n": "^5.0.5", - "yargs-parser": "^20.2.2" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/react-native-vector-icons/node_modules/yargs-parser": { - "version": "20.2.9", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", - "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", - "license": "ISC", - "engines": { - "node": ">=10" - } - }, - "node_modules/react-native-web": { - "version": "0.21.2", - "resolved": "https://registry.npmjs.org/react-native-web/-/react-native-web-0.21.2.tgz", - "integrity": "sha512-SO2t9/17zM4iEnFvlu2DA9jqNbzNhoUP+AItkoCOyFmDMOhUnBBznBDCYN92fGdfAkfQlWzPoez6+zLxFNsZEg==", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.18.6", - "@react-native/normalize-colors": "^0.74.1", - "fbjs": "^3.0.4", - "inline-style-prefixer": "^7.0.1", - "memoize-one": "^6.0.0", - "nullthrows": "^1.1.1", - "postcss-value-parser": "^4.2.0", - "styleq": "^0.1.3" - }, - "peerDependencies": { - "react": "^18.0.0 || ^19.0.0", - "react-dom": "^18.0.0 || ^19.0.0" - } - }, - "node_modules/react-native-web/node_modules/@react-native/normalize-colors": { - "version": "0.74.89", - "resolved": "https://registry.npmjs.org/@react-native/normalize-colors/-/normalize-colors-0.74.89.tgz", - "integrity": "sha512-qoMMXddVKVhZ8PA1AbUCk83trpd6N+1nF2A6k1i6LsQObyS92fELuk8kU/lQs6M7BsMHwqyLCpQJ1uFgNvIQXg==", - "license": "MIT" - }, - "node_modules/react-native-web/node_modules/memoize-one": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/memoize-one/-/memoize-one-6.0.0.tgz", - "integrity": "sha512-rkpe71W0N0c0Xz6QD0eJETuWAJGnJ9afsl1srmwPrI+yBCkge5EycXXbYRyvL29zZVUWQCY7InPRCv3GDXuZNw==", - "license": "MIT" - }, - "node_modules/react-native/node_modules/@react-native/codegen": { - "version": "0.81.5", - "resolved": "https://registry.npmjs.org/@react-native/codegen/-/codegen-0.81.5.tgz", - "integrity": "sha512-a2TDA03Up8lpSa9sh5VRGCQDXgCTOyDOFH+aqyinxp1HChG8uk89/G+nkJ9FPd0rqgi25eCTR16TWdS3b+fA6g==", - "license": "MIT", - "dependencies": { - "@babel/core": "^7.25.2", - "@babel/parser": "^7.25.3", - "glob": "^7.1.1", - "hermes-parser": "0.29.1", - "invariant": "^2.2.4", - "nullthrows": "^1.1.1", - "yargs": "^17.6.2" - }, - "engines": { - "node": ">= 20.19.4" - }, - "peerDependencies": { - "@babel/core": "*" - } - }, - "node_modules/react-native/node_modules/@react-native/virtualized-lists": { - "version": "0.81.5", - "resolved": "https://registry.npmjs.org/@react-native/virtualized-lists/-/virtualized-lists-0.81.5.tgz", - "integrity": "sha512-UVXgV/db25OPIvwZySeToXD/9sKKhOdkcWmmf4Jh8iBZuyfML+/5CasaZ1E7Lqg6g3uqVQq75NqIwkYmORJMPw==", - "license": "MIT", - "dependencies": { - "invariant": "^2.2.4", - "nullthrows": "^1.1.1" - }, - "engines": { - "node": ">= 20.19.4" - }, - "peerDependencies": { - "@types/react": "^19.1.0", - "react": "*", - "react-native": "*" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, - "node_modules/react-native/node_modules/babel-plugin-syntax-hermes-parser": { - "version": "0.29.1", - "resolved": "https://registry.npmjs.org/babel-plugin-syntax-hermes-parser/-/babel-plugin-syntax-hermes-parser-0.29.1.tgz", - "integrity": "sha512-2WFYnoWGdmih1I1J5eIqxATOeycOqRwYxAQBu3cUu/rhwInwHUg7k60AFNbuGjSDL8tje5GDrAnxzRLcu2pYcA==", - "license": "MIT", - "dependencies": { - "hermes-parser": "0.29.1" - } - }, - "node_modules/react-native/node_modules/brace-expansion": { - "version": "1.1.12", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", - "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", - "license": "MIT", - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/react-native/node_modules/commander": { - "version": "12.1.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-12.1.0.tgz", - "integrity": "sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA==", - "license": "MIT", - "engines": { - "node": ">=18" - } - }, - "node_modules/react-native/node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "deprecated": "Glob versions prior to v9 are no longer supported", - "license": "ISC", - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/react-native/node_modules/hermes-estree": { - "version": "0.29.1", - "resolved": "https://registry.npmjs.org/hermes-estree/-/hermes-estree-0.29.1.tgz", - "integrity": "sha512-jl+x31n4/w+wEqm0I2r4CMimukLbLQEYpisys5oCre611CI5fc9TxhqkBBCJ1edDG4Kza0f7CgNz8xVMLZQOmQ==", - "license": "MIT" - }, - "node_modules/react-native/node_modules/hermes-parser": { - "version": "0.29.1", - "resolved": "https://registry.npmjs.org/hermes-parser/-/hermes-parser-0.29.1.tgz", - "integrity": "sha512-xBHWmUtRC5e/UL0tI7Ivt2riA/YBq9+SiYFU7C1oBa/j2jYGlIF9043oak1F47ihuDIxQ5nbsKueYJDRY02UgA==", - "license": "MIT", - "dependencies": { - "hermes-estree": "0.29.1" - } - }, - "node_modules/react-native/node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "license": "ISC", - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/react-native/node_modules/scheduler": { - "version": "0.26.0", - "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.26.0.tgz", - "integrity": "sha512-NlHwttCI/l5gCPR3D1nNXtWABUmBwvZpEQiD4IXSbIDq8BzLIK/7Ir5gTFSGZDUu37K5cMNp0hFtzO38sC7gWA==", - "license": "MIT" - }, - "node_modules/react-native/node_modules/semver": { - "version": "7.7.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", - "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/react-native/node_modules/ws": { - "version": "6.2.3", - "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.3.tgz", - "integrity": "sha512-jmTjYU0j60B+vHey6TfR3Z7RD61z/hmxBS3VMSGIrroOWXQEneK1zNuotOUrGyBHQj0yrpsLHPWtigEFd13ndA==", - "license": "MIT", - "dependencies": { - "async-limiter": "~1.0.0" - } - }, - "node_modules/react-reconciler": { - "version": "0.31.0", - "resolved": "https://registry.npmjs.org/react-reconciler/-/react-reconciler-0.31.0.tgz", - "integrity": "sha512-7Ob7Z+URmesIsIVRjnLoDGwBEG/tVitidU0nMsqX/eeJaLY89RISO/10ERe0MqmzuKUUB1rmY+h1itMbUHg9BQ==", - "license": "MIT", - "dependencies": { - "scheduler": "^0.25.0" - }, - "engines": { - "node": ">=0.10.0" - }, - "peerDependencies": { - "react": "^19.0.0" - } - }, - "node_modules/react-refresh": { - "version": "0.14.2", - "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.14.2.tgz", - "integrity": "sha512-jCvmsr+1IUSMUyzOkRcvnVbX3ZYC6g9TDrDbFuFmRDq7PD4yaGbLKNQL6k2jnArV8hjYxh7hVhAZB6s9HDGpZA==", - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/read-cache": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz", - "integrity": "sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==", - "license": "MIT", - "dependencies": { - "pify": "^2.3.0" - } - }, - "node_modules/readdirp": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", - "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", - "license": "MIT", - "dependencies": { - "picomatch": "^2.2.1" - }, - "engines": { - "node": ">=8.10.0" - } - }, - "node_modules/readdirp/node_modules/picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", - "license": "MIT", - "engines": { - "node": ">=8.6" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, - "node_modules/regenerate": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz", - "integrity": "sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==", - "license": "MIT" - }, - "node_modules/regenerate-unicode-properties": { - "version": "10.2.0", - "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-10.2.0.tgz", - "integrity": "sha512-DqHn3DwbmmPVzeKj9woBadqmXxLvQoQIwu7nopMc72ztvxVmVk2SBhSnx67zuye5TP+lJsb/TBQsjLKhnDf3MA==", - "license": "MIT", - "dependencies": { - "regenerate": "^1.4.2" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/regenerator-runtime": { - "version": "0.13.11", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz", - "integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==", - "license": "MIT" - }, - "node_modules/regexpu-core": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-6.2.0.tgz", - "integrity": "sha512-H66BPQMrv+V16t8xtmq+UC0CBpiTBA60V8ibS1QVReIp8T1z8hwFxqcGzm9K6lgsN7sB5edVH8a+ze6Fqm4weA==", - "license": "MIT", - "dependencies": { - "regenerate": "^1.4.2", - "regenerate-unicode-properties": "^10.2.0", - "regjsgen": "^0.8.0", - "regjsparser": "^0.12.0", - "unicode-match-property-ecmascript": "^2.0.0", - "unicode-match-property-value-ecmascript": "^2.1.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/regjsgen": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.8.0.tgz", - "integrity": "sha512-RvwtGe3d7LvWiDQXeQw8p5asZUmfU1G/l6WbUXeHta7Y2PEIvBTwH6E2EfmYUK8pxcxEdEmaomqyp0vZZ7C+3Q==", - "license": "MIT" - }, - "node_modules/regjsparser": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.12.0.tgz", - "integrity": "sha512-cnE+y8bz4NhMjISKbgeVJtqNbtf5QpjZP+Bslo+UqkIt9QPnX9q095eiRRASJG1/tz6dlNr6Z5NsBiWYokp6EQ==", - "license": "BSD-2-Clause", - "dependencies": { - "jsesc": "~3.0.2" - }, - "bin": { - "regjsparser": "bin/parser" - } - }, - "node_modules/regjsparser/node_modules/jsesc": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.0.2.tgz", - "integrity": "sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==", - "license": "MIT", - "bin": { - "jsesc": "bin/jsesc" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/repeat-string": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", - "integrity": "sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w==", - "license": "MIT", - "engines": { - "node": ">=0.10" - } - }, - "node_modules/require-directory": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/require-from-string": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", - "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/requireg": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/requireg/-/requireg-0.2.2.tgz", - "integrity": "sha512-nYzyjnFcPNGR3lx9lwPPPnuQxv6JWEZd2Ci0u9opN7N5zUEPIhY/GbL3vMGOr2UXwEg9WwSyV9X9Y/kLFgPsOg==", - "dependencies": { - "nested-error-stacks": "~2.0.1", - "rc": "~1.2.7", - "resolve": "~1.7.1" - }, - "engines": { - "node": ">= 4.0.0" - } - }, - "node_modules/requireg/node_modules/resolve": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.7.1.tgz", - "integrity": "sha512-c7rwLofp8g1U+h1KNyHL/jicrKg1Ek4q+Lr33AL65uZTinUZHe30D5HlyN5V9NW0JX1D5dXQ4jqW5l7Sy/kGfw==", - "license": "MIT", - "dependencies": { - "path-parse": "^1.0.5" - } - }, - "node_modules/resolve": { - "version": "1.22.10", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.10.tgz", - "integrity": "sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w==", - "license": "MIT", - "dependencies": { - "is-core-module": "^2.16.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - }, - "bin": { - "resolve": "bin/resolve" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/resolve-from": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", - "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/resolve-global": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/resolve-global/-/resolve-global-1.0.0.tgz", - "integrity": "sha512-zFa12V4OLtT5XUX/Q4VLvTfBf+Ok0SPc1FNGM/z9ctUdiU618qwKpWnd0CHs3+RqROfyEg/DhuHbMWYqcgljEw==", - "license": "MIT", - "dependencies": { - "global-dirs": "^0.1.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/resolve-workspace-root": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/resolve-workspace-root/-/resolve-workspace-root-2.0.0.tgz", - "integrity": "sha512-IsaBUZETJD5WsI11Wt8PKHwaIe45or6pwNc8yflvLJ4DWtImK9kuLoH5kUva/2Mmx/RdIyr4aONNSa2v9LTJsw==", - "license": "MIT" - }, - "node_modules/resolve.exports": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/resolve.exports/-/resolve.exports-2.0.3.tgz", - "integrity": "sha512-OcXjMsGdhL4XnbShKpAcSqPMzQoYkYyhbEaeSko47MjRP9NfEQMhZkXL1DoFlt9LWQn4YttrdnV6X2OiyzBi+A==", - "license": "MIT", - "engines": { - "node": ">=10" - } - }, - "node_modules/restore-cursor": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz", - "integrity": "sha512-6IzJLuGi4+R14vwagDHX+JrXmPVtPpn4mffDJ1UdR7/Edm87fl6yi8mMBIVvFtJaNTUvjughmW4hwLhRG7gC1Q==", - "license": "MIT", - "dependencies": { - "onetime": "^2.0.0", - "signal-exit": "^3.0.2" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/restore-cursor/node_modules/signal-exit": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", - "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", - "license": "ISC" - }, - "node_modules/reusify": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.1.0.tgz", - "integrity": "sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==", - "license": "MIT", - "engines": { - "iojs": ">=1.0.0", - "node": ">=0.10.0" - } - }, - "node_modules/rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "deprecated": "Rimraf versions prior to v4 are no longer supported", - "license": "ISC", - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/rimraf/node_modules/brace-expansion": { - "version": "1.1.12", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", - "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", - "license": "MIT", - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/rimraf/node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "deprecated": "Glob versions prior to v9 are no longer supported", - "license": "ISC", - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/rimraf/node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "license": "ISC", - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/run-parallel": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", - "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT", - "dependencies": { - "queue-microtask": "^1.2.2" - } - }, - "node_modules/safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT" - }, - "node_modules/sax": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/sax/-/sax-1.4.1.tgz", - "integrity": "sha512-+aWOz7yVScEGoKNd4PA10LZ8sk0A/z5+nXQG5giUO5rprX9jgYsTdov9qCchZiPIZezbZH+jRut8nPodFAX4Jg==", - "license": "ISC" - }, - "node_modules/scheduler": { - "version": "0.25.0", - "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.25.0.tgz", - "integrity": "sha512-xFVuu11jh+xcO7JOAGJNOXld8/TcEHK/4CituBUeUb5hqxJLj9YuemAEuvm9gQ/+pgXYfbQuqAkiYu+u7YEsNA==", - "license": "MIT" - }, - "node_modules/schema-utils": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.3.2.tgz", - "integrity": "sha512-Gn/JaSk/Mt9gYubxTtSn/QCV4em9mpAPiR1rqy/Ocu19u/G9J5WWdNoUT4SiV6mFC3y6cxyFcFwdzPM3FgxGAQ==", - "license": "MIT", - "dependencies": { - "@types/json-schema": "^7.0.9", - "ajv": "^8.9.0", - "ajv-formats": "^2.1.1", - "ajv-keywords": "^5.1.0" - }, - "engines": { - "node": ">= 10.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - } - }, - "node_modules/semver": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/send": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/send/-/send-0.19.2.tgz", - "integrity": "sha512-VMbMxbDeehAxpOtWJXlcUS5E8iXh6QmN+BkRX1GARS3wRaXEEgzCcB10gTQazO42tpNIya8xIyNx8fll1OFPrg==", - "license": "MIT", - "dependencies": { - "debug": "2.6.9", - "depd": "2.0.0", - "destroy": "1.2.0", - "encodeurl": "~2.0.0", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "fresh": "~0.5.2", - "http-errors": "~2.0.1", - "mime": "1.6.0", - "ms": "2.1.3", - "on-finished": "~2.4.1", - "range-parser": "~1.2.1", - "statuses": "~2.0.2" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/send/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "license": "MIT", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/send/node_modules/debug/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", - "license": "MIT" - }, - "node_modules/send/node_modules/encodeurl": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz", - "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==", - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/send/node_modules/http-errors": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.1.tgz", - "integrity": "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==", - "license": "MIT", - "dependencies": { - "depd": "~2.0.0", - "inherits": "~2.0.4", - "setprototypeof": "~1.2.0", - "statuses": "~2.0.2", - "toidentifier": "~1.0.1" - }, - "engines": { - "node": ">= 0.8" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/express" - } - }, - "node_modules/send/node_modules/on-finished": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", - "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", - "license": "MIT", - "dependencies": { - "ee-first": "1.1.1" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/send/node_modules/statuses": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz", - "integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==", - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/serialize-error": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/serialize-error/-/serialize-error-2.1.0.tgz", - "integrity": "sha512-ghgmKt5o4Tly5yEG/UJp8qTd0AN7Xalw4XBtDEKP655B699qMEtra1WlXeE6WIvdEG481JvRxULKsInq/iNysw==", - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/serve-static": { - "version": "1.16.2", - "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.16.2.tgz", - "integrity": "sha512-VqpjJZKadQB/PEbEwvFdO43Ax5dFBZ2UECszz8bQ7pi7wt//PWe1P6MN7eCnjsatYtBT6EuiClbjSWP2WrIoTw==", - "license": "MIT", - "dependencies": { - "encodeurl": "~2.0.0", - "escape-html": "~1.0.3", - "parseurl": "~1.3.3", - "send": "0.19.0" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/serve-static/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "license": "MIT", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/serve-static/node_modules/debug/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", - "license": "MIT" - }, - "node_modules/serve-static/node_modules/encodeurl": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz", - "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==", - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/serve-static/node_modules/on-finished": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", - "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", - "license": "MIT", - "dependencies": { - "ee-first": "1.1.1" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/serve-static/node_modules/send": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/send/-/send-0.19.0.tgz", - "integrity": "sha512-dW41u5VfLXu8SJh5bwRmyYUbAoSB3c9uQh6L8h/KtsFREPWpbX1lrljJo186Jc4nmci/sGUZ9a0a0J2zgfq2hw==", - "license": "MIT", - "dependencies": { - "debug": "2.6.9", - "depd": "2.0.0", - "destroy": "1.2.0", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "fresh": "0.5.2", - "http-errors": "2.0.0", - "mime": "1.6.0", - "ms": "2.1.3", - "on-finished": "2.4.1", - "range-parser": "~1.2.1", - "statuses": "2.0.1" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/serve-static/node_modules/send/node_modules/encodeurl": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", - "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/serve-static/node_modules/statuses": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", - "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/server-only": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/server-only/-/server-only-0.0.1.tgz", - "integrity": "sha512-qepMx2JxAa5jjfzxG79yPPq+8BuFToHd1hm7kI+Z4zAq1ftQiP7HcxMhDDItrbtwVeLg/cY2JnKnrcFkmiswNA==", - "license": "MIT" - }, - "node_modules/setimmediate": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", - "integrity": "sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==", - "license": "MIT" - }, - "node_modules/setprototypeof": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", - "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==", - "license": "ISC" - }, - "node_modules/shallowequal": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/shallowequal/-/shallowequal-1.1.0.tgz", - "integrity": "sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ==", - "license": "MIT" - }, - "node_modules/shebang-command": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", - "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", - "license": "MIT", - "dependencies": { - "shebang-regex": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/shebang-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/shell-quote": { - "version": "1.8.3", - "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.8.3.tgz", - "integrity": "sha512-ObmnIF4hXNg1BqhnHmgbDETF8dLPCggZWBjkQfhZpbszZnYur5DUljTcCHii5LC3J5E0yeO/1LIMyH+UvHQgyw==", - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/signal-exit": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", - "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", - "license": "ISC", - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/simple-plist": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/simple-plist/-/simple-plist-1.3.1.tgz", - "integrity": "sha512-iMSw5i0XseMnrhtIzRb7XpQEXepa9xhWxGUojHBL43SIpQuDQkh3Wpy67ZbDzZVr6EKxvwVChnVpdl8hEVLDiw==", - "license": "MIT", - "dependencies": { - "bplist-creator": "0.1.0", - "bplist-parser": "0.3.1", - "plist": "^3.0.5" - } - }, - "node_modules/simple-plist/node_modules/bplist-parser": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/bplist-parser/-/bplist-parser-0.3.1.tgz", - "integrity": "sha512-PyJxiNtA5T2PlLIeBot4lbp7rj4OadzjnMZD/G5zuBNt8ei/yCU7+wW0h2bag9vr8c+/WuRWmSxbqAl9hL1rBA==", - "license": "MIT", - "dependencies": { - "big-integer": "1.6.x" - }, - "engines": { - "node": ">= 5.10.0" - } - }, - "node_modules/simple-swizzle": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz", - "integrity": "sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==", - "license": "MIT", - "dependencies": { - "is-arrayish": "^0.3.1" - } - }, - "node_modules/simple-swizzle/node_modules/is-arrayish": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz", - "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==", - "license": "MIT" - }, - "node_modules/sisteransi": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz", - "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==", - "license": "MIT" - }, - "node_modules/slash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", - "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/slugify": { - "version": "1.6.6", - "resolved": "https://registry.npmjs.org/slugify/-/slugify-1.6.6.tgz", - "integrity": "sha512-h+z7HKHYXj6wJU+AnS/+IH8Uh9fdcX1Lrhg1/VMdf9PwoBQXFcXiAdsy2tSK0P6gKwJLXp02r90ahUCqHk9rrw==", - "license": "MIT", - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==", - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/source-map-js": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", - "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/source-map-support": { - "version": "0.5.21", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", - "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", - "license": "MIT", - "dependencies": { - "buffer-from": "^1.0.0", - "source-map": "^0.6.0" - } - }, - "node_modules/source-map-support/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/split-on-first": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/split-on-first/-/split-on-first-1.1.0.tgz", - "integrity": "sha512-43ZssAJaMusuKWL8sKUBQXHWOpq8d6CfN/u1p4gUzfJkM05C8rxTmYrkIPTXapZpORA6LkkzcUulJ8FqA7Uudw==", - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/sprintf-js": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", - "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", - "license": "BSD-3-Clause" - }, - "node_modules/stack-utils": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.6.tgz", - "integrity": "sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==", - "license": "MIT", - "dependencies": { - "escape-string-regexp": "^2.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/stack-utils/node_modules/escape-string-regexp": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", - "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/stackframe": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/stackframe/-/stackframe-1.3.4.tgz", - "integrity": "sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==", - "license": "MIT" - }, - "node_modules/stacktrace-parser": { - "version": "0.1.11", - "resolved": "https://registry.npmjs.org/stacktrace-parser/-/stacktrace-parser-0.1.11.tgz", - "integrity": "sha512-WjlahMgHmCJpqzU8bIBy4qtsZdU9lRlcZE3Lvyej6t4tuOuv1vk57OW3MBrj6hXBFx/nNoC9MPMTcr5YA7NQbg==", - "license": "MIT", - "dependencies": { - "type-fest": "^0.7.1" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/statuses": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", - "integrity": "sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA==", - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/stream-buffers": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/stream-buffers/-/stream-buffers-2.2.0.tgz", - "integrity": "sha512-uyQK/mx5QjHun80FLJTfaWE7JtwfRMKBLkMne6udYOmvH0CawotVa7TfgYHzAnpphn4+TweIx1QKMnRIbipmUg==", - "license": "Unlicense", - "engines": { - "node": ">= 0.10.0" - } - }, - "node_modules/strict-uri-encode": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz", - "integrity": "sha512-QwiXZgpRcKkhTj2Scnn++4PKtWsH0kpzZ62L2R6c/LUVYv7hVnZqcg2+sMuT6R7Jusu1vviK/MFsu6kNJfWlEQ==", - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/string-width": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", - "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", - "license": "MIT", - "dependencies": { - "eastasianwidth": "^0.2.0", - "emoji-regex": "^9.2.2", - "strip-ansi": "^7.0.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/string-width-cjs": { - "name": "string-width", - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "license": "MIT", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/string-width-cjs/node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "license": "MIT" - }, - "node_modules/string-width-cjs/node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "license": "MIT", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-ansi": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", - "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", - "license": "MIT", - "dependencies": { - "ansi-regex": "^6.0.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/strip-ansi?sponsor=1" - } - }, - "node_modules/strip-ansi-cjs": { - "name": "strip-ansi", - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "license": "MIT", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-ansi/node_modules/ansi-regex": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", - "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-regex?sponsor=1" - } - }, - "node_modules/strip-json-comments": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", - "integrity": "sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==", - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/structured-headers": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/structured-headers/-/structured-headers-0.4.1.tgz", - "integrity": "sha512-0MP/Cxx5SzeeZ10p/bZI0S6MpgD+yxAhi1BOQ34jgnMXsCq3j1t6tQnZu+KdlL7dvJTLT3g9xN8tl10TqgFMcg==", - "license": "MIT" - }, - "node_modules/styleq": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/styleq/-/styleq-0.1.3.tgz", - "integrity": "sha512-3ZUifmCDCQanjeej1f6kyl/BeP/Vae5EYkQ9iJfUm/QwZvlgnZzyflqAsAWYURdtea8Vkvswu2GrC57h3qffcA==", - "license": "MIT" - }, - "node_modules/sucrase": { - "version": "3.35.0", - "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.35.0.tgz", - "integrity": "sha512-8EbVDiu9iN/nESwxeSxDKe0dunta1GOlHufmSSXxMD2z2/tMZpDMpvXQGsc+ajGo8y2uYUmixaSRUc/QPoQ0GA==", - "license": "MIT", - "dependencies": { - "@jridgewell/gen-mapping": "^0.3.2", - "commander": "^4.0.0", - "glob": "^10.3.10", - "lines-and-columns": "^1.1.6", - "mz": "^2.7.0", - "pirates": "^4.0.1", - "ts-interface-checker": "^0.1.9" - }, - "bin": { - "sucrase": "bin/sucrase", - "sucrase-node": "bin/sucrase-node" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - } - }, - "node_modules/sucrase/node_modules/commander": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", - "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", - "license": "MIT", - "engines": { - "node": ">= 6" - } - }, - "node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "license": "MIT", - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/supports-hyperlinks": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-2.3.0.tgz", - "integrity": "sha512-RpsAZlpWcDwOPQA22aCH4J0t7L8JmAvsCxfOSEwm7cQs3LshN36QaTkwd70DnBOXDWGssw2eUoc8CaRWT0XunA==", - "license": "MIT", - "dependencies": { - "has-flag": "^4.0.0", - "supports-color": "^7.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/supports-preserve-symlinks-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", - "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/tailwindcss": { - "version": "3.4.17", - "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.17.tgz", - "integrity": "sha512-w33E2aCvSDP0tW9RZuNXadXlkHXqFzSkQew/aIa2i/Sj8fThxwovwlXHSPXTbAHwEIhBFXAedUhP2tueAKP8Og==", - "license": "MIT", - "dependencies": { - "@alloc/quick-lru": "^5.2.0", - "arg": "^5.0.2", - "chokidar": "^3.6.0", - "didyoumean": "^1.2.2", - "dlv": "^1.1.3", - "fast-glob": "^3.3.2", - "glob-parent": "^6.0.2", - "is-glob": "^4.0.3", - "jiti": "^1.21.6", - "lilconfig": "^3.1.3", - "micromatch": "^4.0.8", - "normalize-path": "^3.0.0", - "object-hash": "^3.0.0", - "picocolors": "^1.1.1", - "postcss": "^8.4.47", - "postcss-import": "^15.1.0", - "postcss-js": "^4.0.1", - "postcss-load-config": "^4.0.2", - "postcss-nested": "^6.2.0", - "postcss-selector-parser": "^6.1.2", - "resolve": "^1.22.8", - "sucrase": "^3.35.0" - }, - "bin": { - "tailwind": "lib/cli.js", - "tailwindcss": "lib/cli.js" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/tar": { - "version": "7.5.2", - "resolved": "https://registry.npmjs.org/tar/-/tar-7.5.2.tgz", - "integrity": "sha512-7NyxrTE4Anh8km8iEy7o0QYPs+0JKBTj5ZaqHg6B39erLg0qYXN3BijtShwbsNSvQ+LN75+KV+C4QR/f6Gwnpg==", - "license": "BlueOak-1.0.0", - "dependencies": { - "@isaacs/fs-minipass": "^4.0.0", - "chownr": "^3.0.0", - "minipass": "^7.1.2", - "minizlib": "^3.1.0", - "yallist": "^5.0.0" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/tar/node_modules/yallist": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-5.0.0.tgz", - "integrity": "sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw==", - "license": "BlueOak-1.0.0", - "engines": { - "node": ">=18" - } - }, - "node_modules/temp-dir": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/temp-dir/-/temp-dir-2.0.0.tgz", - "integrity": "sha512-aoBAniQmmwtcKp/7BzsH8Cxzv8OL736p7v1ihGb5e9DJ9kTwGWHrQrVB5+lfVDzfGrdRzXch+ig7LHaY1JTOrg==", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/terminal-link": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/terminal-link/-/terminal-link-2.1.1.tgz", - "integrity": "sha512-un0FmiRUQNr5PJqy9kP7c40F5BOfpGlYTrxonDChEZB7pzZxRNp/bt+ymiy9/npwXya9KH99nJ/GXFIiUkYGFQ==", - "license": "MIT", - "dependencies": { - "ansi-escapes": "^4.2.1", - "supports-hyperlinks": "^2.0.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/terser": { - "version": "5.43.1", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.43.1.tgz", - "integrity": "sha512-+6erLbBm0+LROX2sPXlUYx/ux5PyE9K/a92Wrt6oA+WDAoFTdpHE5tCYCI5PNzq2y8df4rA+QgHLJuR4jNymsg==", - "license": "BSD-2-Clause", - "dependencies": { - "@jridgewell/source-map": "^0.3.3", - "acorn": "^8.14.0", - "commander": "^2.20.0", - "source-map-support": "~0.5.20" - }, - "bin": { - "terser": "bin/terser" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/terser/node_modules/commander": { - "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "license": "MIT" - }, - "node_modules/test-exclude": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz", - "integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==", - "license": "ISC", - "dependencies": { - "@istanbuljs/schema": "^0.1.2", - "glob": "^7.1.4", - "minimatch": "^3.0.4" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/test-exclude/node_modules/brace-expansion": { - "version": "1.1.12", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", - "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", - "license": "MIT", - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/test-exclude/node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "deprecated": "Glob versions prior to v9 are no longer supported", - "license": "ISC", - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/test-exclude/node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "license": "ISC", - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/thenify": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz", - "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==", - "license": "MIT", - "dependencies": { - "any-promise": "^1.0.0" - } - }, - "node_modules/thenify-all": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz", - "integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==", - "license": "MIT", - "dependencies": { - "thenify": ">= 3.1.0 < 4" - }, - "engines": { - "node": ">=0.8" - } - }, - "node_modules/throat": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/throat/-/throat-5.0.0.tgz", - "integrity": "sha512-fcwX4mndzpLQKBS1DVYhGAcYaYt7vsHNIvQV+WXMvnow5cgjPphq5CaayLaGsjRdSCKZFNGt7/GYAuXaNOiYCA==", - "license": "MIT" - }, - "node_modules/tinyglobby": { - "version": "0.2.15", - "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.15.tgz", - "integrity": "sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ==", - "license": "MIT", - "dependencies": { - "fdir": "^6.5.0", - "picomatch": "^4.0.3" - }, - "engines": { - "node": ">=12.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/SuperchupuDev" - } - }, - "node_modules/tmpl": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz", - "integrity": "sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==", - "license": "BSD-3-Clause" - }, - "node_modules/to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "license": "MIT", - "dependencies": { - "is-number": "^7.0.0" - }, - "engines": { - "node": ">=8.0" - } - }, - "node_modules/toidentifier": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", - "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", - "license": "MIT", - "engines": { - "node": ">=0.6" - } - }, - "node_modules/tr46": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", - "license": "MIT" - }, - "node_modules/ts-interface-checker": { - "version": "0.1.13", - "resolved": "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz", - "integrity": "sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==", - "license": "Apache-2.0" - }, - "node_modules/type-detect": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", - "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/type-fest": { - "version": "0.7.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.7.1.tgz", - "integrity": "sha512-Ne2YiiGN8bmrmJJEuTWTLJR32nh/JdL1+PSicowtNb0WFpn59GK8/lfD61bVtzguz7b3PBt74nxpv/Pw5po5Rg==", - "license": "(MIT OR CC0-1.0)", - "engines": { - "node": ">=8" - } - }, - "node_modules/typescript": { - "version": "5.8.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.3.tgz", - "integrity": "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==", - "dev": true, - "license": "Apache-2.0", - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=14.17" - } - }, - "node_modules/ua-parser-js": { - "version": "1.0.41", - "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-1.0.41.tgz", - "integrity": "sha512-LbBDqdIC5s8iROCUjMbW1f5dJQTEFB1+KO9ogbvlb3nm9n4YHa5p4KTvFPWvh2Hs8gZMBuiB1/8+pdfe/tDPug==", - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/ua-parser-js" - }, - { - "type": "paypal", - "url": "https://paypal.me/faisalman" - }, - { - "type": "github", - "url": "https://github.com/sponsors/faisalman" - } - ], - "license": "MIT", - "bin": { - "ua-parser-js": "script/cli.js" - }, - "engines": { - "node": "*" - } - }, - "node_modules/undici": { - "version": "6.21.3", - "resolved": "https://registry.npmjs.org/undici/-/undici-6.21.3.tgz", - "integrity": "sha512-gBLkYIlEnSp8pFbT64yFgGE6UIB9tAkhukC23PmMDCe5Nd+cRqKxSjw5y54MK2AZMgZfJWMaNE4nYUHgi1XEOw==", - "license": "MIT", - "engines": { - "node": ">=18.17" - } - }, - "node_modules/undici-types": { - "version": "7.8.0", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.8.0.tgz", - "integrity": "sha512-9UJ2xGDvQ43tYyVMpuHlsgApydB8ZKfVYTsLDhXkFL/6gfkp+U8xTGdh8pMJv1SpZna0zxG1DwsKZsreLbXBxw==", - "license": "MIT" - }, - "node_modules/unicode-canonical-property-names-ecmascript": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.1.tgz", - "integrity": "sha512-dA8WbNeb2a6oQzAQ55YlT5vQAWGV9WXOsi3SskE3bcCdM0P4SDd+24zS/OCacdRq5BkdsRj9q3Pg6YyQoxIGqg==", - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/unicode-match-property-ecmascript": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz", - "integrity": "sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q==", - "license": "MIT", - "dependencies": { - "unicode-canonical-property-names-ecmascript": "^2.0.0", - "unicode-property-aliases-ecmascript": "^2.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/unicode-match-property-value-ecmascript": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.2.0.tgz", - "integrity": "sha512-4IehN3V/+kkr5YeSSDDQG8QLqO26XpL2XP3GQtqwlT/QYSECAwFztxVHjlbh0+gjJ3XmNLS0zDsbgs9jWKExLg==", - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/unicode-property-aliases-ecmascript": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.1.0.tgz", - "integrity": "sha512-6t3foTQI9qne+OZoVQB/8x8rk2k1eVy1gRXhV3oFQ5T6R1dqQ1xtin3XqSlx3+ATBkliTaR/hHyJBm+LVPNM8w==", - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/unique-string": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unique-string/-/unique-string-2.0.0.tgz", - "integrity": "sha512-uNaeirEPvpZWSgzwsPGtU2zVSTrn/8L5q/IexZmH0eH6SA73CmAA5U4GwORTxQAZs95TAXLNqeLoPPNO5gZfWg==", - "license": "MIT", - "dependencies": { - "crypto-random-string": "^2.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/unpipe": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", - "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==", - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/update-browserslist-db": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.3.tgz", - "integrity": "sha512-UxhIZQ+QInVdunkDAaiazvvT/+fXL5Osr0JZlJulepYu6Jd7qJtDZjlur0emRlT71EN3ScPoE7gvsuIKKNavKw==", - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/browserslist" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "license": "MIT", - "dependencies": { - "escalade": "^3.2.0", - "picocolors": "^1.1.1" - }, - "bin": { - "update-browserslist-db": "cli.js" - }, - "peerDependencies": { - "browserslist": ">= 4.21.0" - } - }, - "node_modules/use-latest-callback": { - "version": "0.2.4", - "resolved": "https://registry.npmjs.org/use-latest-callback/-/use-latest-callback-0.2.4.tgz", - "integrity": "sha512-LS2s2n1usUUnDq4oVh1ca6JFX9uSqUncTfAm44WMg0v6TxL7POUTk1B044NH8TeLkFbNajIsgDHcgNpNzZucdg==", - "license": "MIT", - "peerDependencies": { - "react": ">=16.8" - } - }, - "node_modules/use-sync-external-store": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.5.0.tgz", - "integrity": "sha512-Rb46I4cGGVBmjamjphe8L/UnvJD+uPPtTkNvX5mZgqdbavhI4EbgIWJiIHXJ8bc/i9EQGPRh4DwEURJ552Do0A==", - "license": "MIT", - "peerDependencies": { - "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" - } - }, - "node_modules/util-deprecate": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", - "license": "MIT" - }, - "node_modules/utils-merge": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", - "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==", - "license": "MIT", - "engines": { - "node": ">= 0.4.0" - } - }, - "node_modules/uuid": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-7.0.3.tgz", - "integrity": "sha512-DPSke0pXhTZgoF/d+WSt2QaKMCFSfx7QegxEWT+JOuHF5aWrKEn0G+ztjuJg/gG8/ItK+rbPCD/yNv8yyih6Cg==", - "license": "MIT", - "bin": { - "uuid": "dist/bin/uuid" - } - }, - "node_modules/validate-npm-package-name": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-5.0.1.tgz", - "integrity": "sha512-OljLrQ9SQdOUqTaQxqL5dEfZWrXExyyWsozYlAWFawPVNuD83igl7uJD2RTkNMbniIYgt8l81eCJGIdQF7avLQ==", - "license": "ISC", - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/vary": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", - "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/vlq": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/vlq/-/vlq-1.0.1.tgz", - "integrity": "sha512-gQpnTgkubC6hQgdIcRdYGDSDc+SaujOdyesZQMv6JlfQee/9Mp0Qhnys6WxDWvQnL5WZdT7o2Ul187aSt0Rq+w==", - "license": "MIT" - }, - "node_modules/walker": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/walker/-/walker-1.0.8.tgz", - "integrity": "sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==", - "license": "Apache-2.0", - "dependencies": { - "makeerror": "1.0.12" - } - }, - "node_modules/warn-once": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/warn-once/-/warn-once-0.1.1.tgz", - "integrity": "sha512-VkQZJbO8zVImzYFteBXvBOZEl1qL175WH8VmZcxF2fZAoudNhNDvHi+doCaAEdU2l2vtcIwa2zn0QK5+I1HQ3Q==", - "license": "MIT" - }, - "node_modules/wcwidth": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", - "integrity": "sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==", - "license": "MIT", - "dependencies": { - "defaults": "^1.0.3" - } - }, - "node_modules/webidl-conversions": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-5.0.0.tgz", - "integrity": "sha512-VlZwKPCkYKxQgeSbH5EyngOmRp7Ww7I9rQLERETtf5ofd9pGeswWiOtogpEO850jziPRarreGxn5QIiTqpb2wA==", - "license": "BSD-2-Clause", - "engines": { - "node": ">=8" - } - }, - "node_modules/whatwg-fetch": { - "version": "3.6.20", - "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.6.20.tgz", - "integrity": "sha512-EqhiFU6daOA8kpjOWTL0olhVOF3i7OrFzSYiGsEMB8GcXS+RrzauAERX65xMeNWVqxA6HXH2m69Z9LaKKdisfg==", - "license": "MIT" - }, - "node_modules/whatwg-url": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", - "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", - "license": "MIT", - "dependencies": { - "tr46": "~0.0.3", - "webidl-conversions": "^3.0.0" - } - }, - "node_modules/whatwg-url-without-unicode": { - "version": "8.0.0-3", - "resolved": "https://registry.npmjs.org/whatwg-url-without-unicode/-/whatwg-url-without-unicode-8.0.0-3.tgz", - "integrity": "sha512-HoKuzZrUlgpz35YO27XgD28uh/WJH4B0+3ttFqRo//lmq+9T/mIOJ6kqmINI9HpUpz1imRC/nR/lxKpJiv0uig==", - "license": "MIT", - "dependencies": { - "buffer": "^5.4.3", - "punycode": "^2.1.1", - "webidl-conversions": "^5.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/whatwg-url/node_modules/webidl-conversions": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", - "license": "BSD-2-Clause" - }, - "node_modules/which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "license": "ISC", - "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "node-which": "bin/node-which" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/wonka": { - "version": "6.3.5", - "resolved": "https://registry.npmjs.org/wonka/-/wonka-6.3.5.tgz", - "integrity": "sha512-SSil+ecw6B4/Dm7Pf2sAshKQ5hWFvfyGlfPbEd6A14dOH6VDjrmbY86u6nZvy9omGwwIPFR8V41+of1EezgoUw==", - "license": "MIT" - }, - "node_modules/wrap-ansi": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "license": "MIT", - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, - "node_modules/wrap-ansi-cjs": { - "name": "wrap-ansi", - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "license": "MIT", - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, - "node_modules/wrap-ansi-cjs/node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "license": "MIT" - }, - "node_modules/wrap-ansi-cjs/node_modules/string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "license": "MIT", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/wrap-ansi-cjs/node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "license": "MIT", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/wrap-ansi/node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "license": "MIT" - }, - "node_modules/wrap-ansi/node_modules/string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "license": "MIT", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/wrap-ansi/node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "license": "MIT", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", - "license": "ISC" - }, - "node_modules/write-file-atomic": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-4.0.2.tgz", - "integrity": "sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==", - "license": "ISC", - "dependencies": { - "imurmurhash": "^0.1.4", - "signal-exit": "^3.0.7" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/write-file-atomic/node_modules/signal-exit": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", - "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", - "license": "ISC" - }, - "node_modules/ws": { - "version": "7.5.10", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.10.tgz", - "integrity": "sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==", - "license": "MIT", - "engines": { - "node": ">=8.3.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } - }, - "node_modules/xcode": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/xcode/-/xcode-3.0.1.tgz", - "integrity": "sha512-kCz5k7J7XbJtjABOvkc5lJmkiDh8VhjVCGNiqdKCscmVpdVUpEAyXv1xmCLkQJ5dsHqx3IPO4XW+NTDhU/fatA==", - "license": "Apache-2.0", - "dependencies": { - "simple-plist": "^1.1.0", - "uuid": "^7.0.3" - }, - "engines": { - "node": ">=10.0.0" - } - }, - "node_modules/xml2js": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.6.0.tgz", - "integrity": "sha512-eLTh0kA8uHceqesPqSE+VvO1CDDJWMwlQfB6LuN6T8w6MaDJ8Txm8P7s5cHD0miF0V+GGTZrDQfxPZQVsur33w==", - "license": "MIT", - "dependencies": { - "sax": ">=0.6.0", - "xmlbuilder": "~11.0.0" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/xml2js/node_modules/xmlbuilder": { - "version": "11.0.1", - "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz", - "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==", - "license": "MIT", - "engines": { - "node": ">=4.0" - } - }, - "node_modules/xmlbuilder": { - "version": "15.1.1", - "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-15.1.1.tgz", - "integrity": "sha512-yMqGBqtXyeN1e3TGYvgNgDVZ3j84W4cwkOXQswghol6APgZWaff9lnbvN7MHYJOiXsvGPXtjTYJEiC9J2wv9Eg==", - "license": "MIT", - "engines": { - "node": ">=8.0" - } - }, - "node_modules/y18n": { - "version": "5.0.8", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", - "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", - "license": "ISC", - "engines": { - "node": ">=10" - } - }, - "node_modules/yallist": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", - "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", - "license": "ISC" - }, - "node_modules/yaml": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.0.tgz", - "integrity": "sha512-4lLa/EcQCB0cJkyts+FpIRx5G/llPxfP6VQU5KByHEhLxY3IJCH0f0Hy1MHI8sClTvsIb8qwRJ6R/ZdlDJ/leQ==", - "license": "ISC", - "bin": { - "yaml": "bin.mjs" - }, - "engines": { - "node": ">= 14.6" - } - }, - "node_modules/yargs": { - "version": "17.7.2", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", - "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", - "license": "MIT", - "dependencies": { - "cliui": "^8.0.1", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.3", - "y18n": "^5.0.5", - "yargs-parser": "^21.1.1" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/yargs-parser": { - "version": "21.1.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", - "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", - "license": "ISC", - "engines": { - "node": ">=12" - } - }, - "node_modules/yargs/node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "license": "MIT" - }, - "node_modules/yargs/node_modules/string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "license": "MIT", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/yargs/node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "license": "MIT", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/yocto-queue": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", - "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - } - } -} diff --git a/docs/package-lock.json b/package-lock.json similarity index 60% rename from docs/package-lock.json rename to package-lock.json index 09f5c57..3e09bf8 100644 --- a/docs/package-lock.json +++ b/package-lock.json @@ -1,11 +1,20 @@ { - "name": "docs", - "version": "0.1.0", + "name": "sol-ui", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "docs", + "name": "sol-ui", + "workspaces": [ + "apps/*", + "packages/*" + ], + "devDependencies": { + "turbo": "^2" + } + }, + "apps/docs": { + "name": "@sol-ui/docs", "version": "0.1.0", "dependencies": { "@base-ui/react": "^1.0.0", @@ -37,11 +46,139 @@ "typescript": "^5" } }, + "apps/expo": { + "name": "@sol-ui/expo", + "version": "1.0.0", + "dependencies": { + "@react-navigation/bottom-tabs": "^7.4.1", + "@react-navigation/native": "^7.1.14", + "@react-navigation/native-stack": "^7.3.20", + "@shopify/react-native-skia": "v2.0.0-next.4", + "babel-preset-expo": "^13.2.1", + "expo": "^54.0.30", + "expo-router": "~5.1.0", + "expo-status-bar": "~2.2.3", + "nativewind": "^4.1.23", + "react": "19.1.0", + "react-dom": "19.1.0", + "react-native": "0.81.5", + "react-native-gesture-handler": "2.28.0", + "react-native-reanimated": "~3.17.4", + "react-native-safe-area-context": "^5.4.0", + "react-native-screens": "~4.11.1", + "react-native-vector-icons": "^10.3.0", + "react-native-web": "^0.21.0", + "tailwindcss": "^3.4.17" + }, + "devDependencies": { + "@babel/core": "^7.25.2", + "@types/react": "~19.1.0", + "@types/react-native": "^0.72.8", + "@types/react-native-vector-icons": "^6.4.18", + "typescript": "~5.8.3" + } + }, + "apps/expo/node_modules/@types/react": { + "version": "19.1.17", + "resolved": "https://registry.npmjs.org/@types/react/-/react-19.1.17.tgz", + "integrity": "sha512-Qec1E3mhALmaspIrhWt9jkQMNdw6bReVu64mjvhbhq2NFPftLPVr+l1SZgmw/66WwBNpDh7ao5AT6gF5v41PFA==", + "dev": true, + "license": "MIT", + "dependencies": { + "csstype": "^3.0.2" + } + }, + "apps/expo/node_modules/react": { + "version": "19.1.0", + "resolved": "https://registry.npmjs.org/react/-/react-19.1.0.tgz", + "integrity": "sha512-FS+XFBNvn3GTAWq26joslQgWNoFu08F4kl0J4CgdNKADkdSGXQyTCnKteIAJy96Br6YbpEU1LSzV5dYtjMkMDg==", + "license": "MIT", + "peer": true, + "engines": { + "node": ">=0.10.0" + } + }, + "apps/expo/node_modules/react-dom": { + "version": "19.1.0", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.1.0.tgz", + "integrity": "sha512-Xs1hdnE+DyKgeHJeJznQmYMIBG3TKIHJJT95Q58nHLSrElKlGQqDTR2HQ9fx5CN/Gk6Vh/kupBTDLU11/nDk/g==", + "license": "MIT", + "dependencies": { + "scheduler": "^0.26.0" + }, + "peerDependencies": { + "react": "^19.1.0" + } + }, + "apps/expo/node_modules/tailwindcss": { + "version": "3.4.19", + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.19.tgz", + "integrity": "sha512-3ofp+LL8E+pK/JuPLPggVAIaEuhvIz4qNcf3nA1Xn2o/7fb7s/TYpHhwGDv1ZU3PkBluUVaF8PyCHcm48cKLWQ==", + "license": "MIT", + "dependencies": { + "@alloc/quick-lru": "^5.2.0", + "arg": "^5.0.2", + "chokidar": "^3.6.0", + "didyoumean": "^1.2.2", + "dlv": "^1.1.3", + "fast-glob": "^3.3.2", + "glob-parent": "^6.0.2", + "is-glob": "^4.0.3", + "jiti": "^1.21.7", + "lilconfig": "^3.1.3", + "micromatch": "^4.0.8", + "normalize-path": "^3.0.0", + "object-hash": "^3.0.0", + "picocolors": "^1.1.1", + "postcss": "^8.4.47", + "postcss-import": "^15.1.0", + "postcss-js": "^4.0.1", + "postcss-load-config": "^4.0.2 || ^5.0 || ^6.0", + "postcss-nested": "^6.2.0", + "postcss-selector-parser": "^6.1.2", + "resolve": "^1.22.8", + "sucrase": "^3.35.0" + }, + "bin": { + "tailwind": "lib/cli.js", + "tailwindcss": "lib/cli.js" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "apps/expo/node_modules/typescript": { + "version": "5.8.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.3.tgz", + "integrity": "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "node_modules/@0no-co/graphql.web": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@0no-co/graphql.web/-/graphql.web-1.2.0.tgz", + "integrity": "sha512-/1iHy9TTr63gE1YcR5idjx8UREz1s0kFhydf3bBLCXyqjhkIc6igAzTOx3zPifCwFR87tsh/4Pa9cNts6d2otw==", + "license": "MIT", + "peerDependencies": { + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0" + }, + "peerDependenciesMeta": { + "graphql": { + "optional": true + } + } + }, "node_modules/@alloc/quick-lru": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.2.0.tgz", "integrity": "sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==", - "dev": true, "license": "MIT", "engines": { "node": ">=10" @@ -64,13 +201,12 @@ } }, "node_modules/@babel/code-frame": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.27.1.tgz", - "integrity": "sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==", - "dev": true, + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.28.6.tgz", + "integrity": "sha512-JYgintcMjRiCvS8mMECzaEn+m3PfoQiyqukOMCCVQtoJGYJw8j/8LBJEiqkHLkfwCcs74E3pbAUFNg7d9VNJ+Q==", "license": "MIT", "dependencies": { - "@babel/helper-validator-identifier": "^7.27.1", + "@babel/helper-validator-identifier": "^7.28.5", "js-tokens": "^4.0.0", "picocolors": "^1.1.1" }, @@ -79,31 +215,30 @@ } }, "node_modules/@babel/compat-data": { - "version": "7.28.5", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.28.5.tgz", - "integrity": "sha512-6uFXyCayocRbqhZOB+6XcuZbkMNimwfVGFji8CTZnCzOHVGvDqzvitu1re2AU5LROliz7eQPhB8CpAMvnx9EjA==", - "dev": true, + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.28.6.tgz", + "integrity": "sha512-2lfu57JtzctfIrcGMz992hyLlByuzgIk58+hhGCxjKZ3rWI82NnVLjXcaTqkI2NvlcvOskZaiZ5kjUALo3Lpxg==", "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/core": { - "version": "7.28.5", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.28.5.tgz", - "integrity": "sha512-e7jT4DxYvIDLk1ZHmU/m/mB19rex9sv0c2ftBtjSBv+kVM/902eh0fINUzD7UwLLNR+jU585GxUJ8/EBfAM5fw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/code-frame": "^7.27.1", - "@babel/generator": "^7.28.5", - "@babel/helper-compilation-targets": "^7.27.2", - "@babel/helper-module-transforms": "^7.28.3", - "@babel/helpers": "^7.28.4", - "@babel/parser": "^7.28.5", - "@babel/template": "^7.27.2", - "@babel/traverse": "^7.28.5", - "@babel/types": "^7.28.5", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.28.6.tgz", + "integrity": "sha512-H3mcG6ZDLTlYfaSNi0iOKkigqMFvkTKlGUYlD8GW7nNOYRrevuA46iTypPyv+06V3fEmvvazfntkBU34L0azAw==", + "license": "MIT", + "peer": true, + "dependencies": { + "@babel/code-frame": "^7.28.6", + "@babel/generator": "^7.28.6", + "@babel/helper-compilation-targets": "^7.28.6", + "@babel/helper-module-transforms": "^7.28.6", + "@babel/helpers": "^7.28.6", + "@babel/parser": "^7.28.6", + "@babel/template": "^7.28.6", + "@babel/traverse": "^7.28.6", + "@babel/types": "^7.28.6", "@jridgewell/remapping": "^2.3.5", "convert-source-map": "^2.0.0", "debug": "^4.1.0", @@ -120,14 +255,13 @@ } }, "node_modules/@babel/generator": { - "version": "7.28.5", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.28.5.tgz", - "integrity": "sha512-3EwLFhZ38J4VyIP6WNtt2kUdW9dokXA9Cr4IVIFHuCpZ3H8/YFOl5JjZHisrn1fATPBmKKqXzDFvh9fUwHz6CQ==", - "dev": true, + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.28.6.tgz", + "integrity": "sha512-lOoVRwADj8hjf7al89tvQ2a1lf53Z+7tiXMgpZJL3maQPDxh0DgLMN62B2MKUOFcoodBHLMbDM6WAbKgNy5Suw==", "license": "MIT", "dependencies": { - "@babel/parser": "^7.28.5", - "@babel/types": "^7.28.5", + "@babel/parser": "^7.28.6", + "@babel/types": "^7.28.6", "@jridgewell/gen-mapping": "^0.3.12", "@jridgewell/trace-mapping": "^0.3.28", "jsesc": "^3.0.2" @@ -136,14 +270,25 @@ "node": ">=6.9.0" } }, + "node_modules/@babel/helper-annotate-as-pure": { + "version": "7.27.3", + "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.27.3.tgz", + "integrity": "sha512-fXSwMQqitTGeHLBC08Eq5yXz2m37E4pJX1qAU1+2cNedz/ifv/bVXft90VeSav5nFO61EcNgwr0aJxbyPaWBPg==", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.27.3" + }, + "engines": { + "node": ">=6.9.0" + } + }, "node_modules/@babel/helper-compilation-targets": { - "version": "7.27.2", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.27.2.tgz", - "integrity": "sha512-2+1thGUUWWjLTYTHZWK1n8Yga0ijBz1XAhUXcKy81rd5g6yh7hGqMp45v7cadSbEHc9G3OTv45SyneRN3ps4DQ==", - "dev": true, + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.28.6.tgz", + "integrity": "sha512-JYtls3hqi15fcx5GaSNL7SCTJ2MNmjrkHXg4FSpOA/grxK8KwyZ5bubHsCq8FXCkua6xhuaaBit+3b7+VZRfcA==", "license": "MIT", "dependencies": { - "@babel/compat-data": "^7.27.2", + "@babel/compat-data": "^7.28.6", "@babel/helper-validator-option": "^7.27.1", "browserslist": "^4.24.0", "lru-cache": "^5.1.1", @@ -153,40 +298,159 @@ "node": ">=6.9.0" } }, + "node_modules/@babel/helper-create-class-features-plugin": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.28.6.tgz", + "integrity": "sha512-dTOdvsjnG3xNT9Y0AUg1wAl38y+4Rl4sf9caSQZOXdNqVn+H+HbbJ4IyyHaIqNR6SW9oJpA/RuRjsjCw2IdIow==", + "license": "MIT", + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.27.3", + "@babel/helper-member-expression-to-functions": "^7.28.5", + "@babel/helper-optimise-call-expression": "^7.27.1", + "@babel/helper-replace-supers": "^7.28.6", + "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1", + "@babel/traverse": "^7.28.6", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-create-regexp-features-plugin": { + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.28.5.tgz", + "integrity": "sha512-N1EhvLtHzOvj7QQOUCCS3NrPJP8c5W6ZXCHDn7Yialuy1iu4r5EmIYkXlKNqT99Ciw+W0mDqWoR6HWMZlFP3hw==", + "license": "MIT", + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.27.3", + "regexpu-core": "^6.3.1", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-define-polyfill-provider": { + "version": "0.6.5", + "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.6.5.tgz", + "integrity": "sha512-uJnGFcPsWQK8fvjgGP5LZUZZsYGIoPeRjSF5PGwrelYgq7Q15/Ft9NGFp1zglwgIv//W0uG4BevRuSJRyylZPg==", + "license": "MIT", + "dependencies": { + "@babel/helper-compilation-targets": "^7.27.2", + "@babel/helper-plugin-utils": "^7.27.1", + "debug": "^4.4.1", + "lodash.debounce": "^4.0.8", + "resolve": "^1.22.10" + }, + "peerDependencies": { + "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" + } + }, "node_modules/@babel/helper-globals": { "version": "7.28.0", "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-7.28.0.tgz", "integrity": "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw==", - "dev": true, "license": "MIT", "engines": { "node": ">=6.9.0" } }, + "node_modules/@babel/helper-member-expression-to-functions": { + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.28.5.tgz", + "integrity": "sha512-cwM7SBRZcPCLgl8a7cY0soT1SptSzAlMH39vwiRpOQkJlh53r5hdHwLSCZpQdVLT39sZt+CRpNwYG4Y2v77atg==", + "license": "MIT", + "dependencies": { + "@babel/traverse": "^7.28.5", + "@babel/types": "^7.28.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, "node_modules/@babel/helper-module-imports": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.28.6.tgz", + "integrity": "sha512-l5XkZK7r7wa9LucGw9LwZyyCUscb4x37JWTPz7swwFE/0FMQAGpiWUZn8u9DzkSBWEcK25jmvubfpw2dnAMdbw==", + "license": "MIT", + "dependencies": { + "@babel/traverse": "^7.28.6", + "@babel/types": "^7.28.6" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-transforms": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.28.6.tgz", + "integrity": "sha512-67oXFAYr2cDLDVGLXTEABjdBJZ6drElUSI7WKp70NrpyISso3plG9SAGEF6y7zbha/wOzUByWWTJvEDVNIUGcA==", + "license": "MIT", + "dependencies": { + "@babel/helper-module-imports": "^7.28.6", + "@babel/helper-validator-identifier": "^7.28.5", + "@babel/traverse": "^7.28.6" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-optimise-call-expression": { "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.27.1.tgz", - "integrity": "sha512-0gSFWUPNXNopqtIPQvlD5WgXYI5GY2kP2cCvoT8kczjbfcfuIljTbcWrulD1CIPIX2gt1wghbDy08yE1p+/r3w==", - "dev": true, + "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.27.1.tgz", + "integrity": "sha512-URMGH08NzYFhubNSGJrpUEphGKQwMQYBySzat5cAByY1/YgIRkULnIy3tAMeszlL/so2HbeilYloUmSpd7GdVw==", "license": "MIT", "dependencies": { - "@babel/traverse": "^7.27.1", "@babel/types": "^7.27.1" }, "engines": { "node": ">=6.9.0" } }, - "node_modules/@babel/helper-module-transforms": { - "version": "7.28.3", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.28.3.tgz", - "integrity": "sha512-gytXUbs8k2sXS9PnQptz5o0QnpLL51SwASIORY6XaBKF88nsOT0Zw9szLqlSGQDP/4TljBAD5y98p2U1fqkdsw==", - "dev": true, + "node_modules/@babel/helper-plugin-utils": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.28.6.tgz", + "integrity": "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug==", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-remap-async-to-generator": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.27.1.tgz", + "integrity": "sha512-7fiA521aVw8lSPeI4ZOD3vRFkoqkJcS+z4hFo82bFSH/2tNd6eJ5qCVMS5OzDmZh/kaHQeBaeyxK6wljcPtveA==", "license": "MIT", "dependencies": { - "@babel/helper-module-imports": "^7.27.1", - "@babel/helper-validator-identifier": "^7.27.1", - "@babel/traverse": "^7.28.3" + "@babel/helper-annotate-as-pure": "^7.27.1", + "@babel/helper-wrap-function": "^7.27.1", + "@babel/traverse": "^7.27.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-replace-supers": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.28.6.tgz", + "integrity": "sha512-mq8e+laIk94/yFec3DxSjCRD2Z0TAjhVbEJY3UQrlwVo15Lmt7C2wAUbK4bjnTs4APkwsYLTahXRraQXhb1WCg==", + "license": "MIT", + "dependencies": { + "@babel/helper-member-expression-to-functions": "^7.28.5", + "@babel/helper-optimise-call-expression": "^7.27.1", + "@babel/traverse": "^7.28.6" }, "engines": { "node": ">=6.9.0" @@ -195,11 +459,23 @@ "@babel/core": "^7.0.0" } }, + "node_modules/@babel/helper-skip-transparent-expression-wrappers": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.27.1.tgz", + "integrity": "sha512-Tub4ZKEXqbPjXgWLl2+3JpQAYBJ8+ikpQ2Ocj/q/r0LwE3UhENh7EUabyHjz2kCEsrRY83ew2DQdHluuiDQFzg==", + "license": "MIT", + "dependencies": { + "@babel/traverse": "^7.27.1", + "@babel/types": "^7.27.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, "node_modules/@babel/helper-string-parser": { "version": "7.27.1", "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz", "integrity": "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==", - "dev": true, "license": "MIT", "engines": { "node": ">=6.9.0" @@ -209,7 +485,6 @@ "version": "7.28.5", "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.28.5.tgz", "integrity": "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==", - "dev": true, "license": "MIT", "engines": { "node": ">=6.9.0" @@ -219,3044 +494,5552 @@ "version": "7.27.1", "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.27.1.tgz", "integrity": "sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg==", - "dev": true, "license": "MIT", "engines": { "node": ">=6.9.0" } }, - "node_modules/@babel/helpers": { - "version": "7.28.4", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.28.4.tgz", - "integrity": "sha512-HFN59MmQXGHVyYadKLVumYsA9dBFun/ldYxipEjzA4196jpLZd8UjEEBLkbEkvfYreDqJhZxYAWFPtrfhNpj4w==", - "dev": true, + "node_modules/@babel/helper-wrap-function": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.28.6.tgz", + "integrity": "sha512-z+PwLziMNBeSQJonizz2AGnndLsP2DeGHIxDAn+wdHOGuo4Fo1x1HBPPXeE9TAOPHNNWQKCSlA2VZyYyyibDnQ==", "license": "MIT", "dependencies": { - "@babel/template": "^7.27.2", - "@babel/types": "^7.28.4" + "@babel/template": "^7.28.6", + "@babel/traverse": "^7.28.6", + "@babel/types": "^7.28.6" }, "engines": { "node": ">=6.9.0" } }, - "node_modules/@babel/parser": { - "version": "7.28.5", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.28.5.tgz", - "integrity": "sha512-KKBU1VGYR7ORr3At5HAtUQ+TV3SzRCXmA/8OdDZiLDBIZxVyzXuztPjfLd3BV1PRAQGCMWWSHYhL0F8d5uHBDQ==", - "dev": true, + "node_modules/@babel/helpers": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.28.6.tgz", + "integrity": "sha512-xOBvwq86HHdB7WUDTfKfT/Vuxh7gElQ+Sfti2Cy6yIWNW05P8iUslOVcZ4/sKbE+/jQaukQAdz/gf3724kYdqw==", "license": "MIT", "dependencies": { - "@babel/types": "^7.28.5" - }, - "bin": { - "parser": "bin/babel-parser.js" + "@babel/template": "^7.28.6", + "@babel/types": "^7.28.6" }, "engines": { - "node": ">=6.0.0" + "node": ">=6.9.0" } }, - "node_modules/@babel/runtime": { - "version": "7.28.4", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.28.4.tgz", - "integrity": "sha512-Q/N6JNWvIvPnLDvjlE1OUBLPQHH6l3CltCEsHIujp45zQUSSh8K+gHnaEX45yAT1nyngnINhvWtzN+Nb9D8RAQ==", + "node_modules/@babel/highlight": { + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.25.9.tgz", + "integrity": "sha512-llL88JShoCsth8fF8R4SJnIn+WLvR6ccFxu1H3FlMhDontdcmZWf2HgIZ7AIqV3Xcck1idlohrN4EUBQz6klbw==", "license": "MIT", + "dependencies": { + "@babel/helper-validator-identifier": "^7.25.9", + "chalk": "^2.4.2", + "js-tokens": "^4.0.0", + "picocolors": "^1.0.0" + }, "engines": { "node": ">=6.9.0" } }, - "node_modules/@babel/template": { - "version": "7.27.2", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.27.2.tgz", - "integrity": "sha512-LPDZ85aEJyYSd18/DkjNh4/y1ntkE5KwUHWTiqgRxruuZL2F1yuHligVHLvcHY2vMHXttKFpJn6LwfI7cw7ODw==", - "dev": true, + "node_modules/@babel/highlight/node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", "license": "MIT", "dependencies": { - "@babel/code-frame": "^7.27.1", - "@babel/parser": "^7.27.2", - "@babel/types": "^7.27.1" + "color-convert": "^1.9.0" }, "engines": { - "node": ">=6.9.0" + "node": ">=4" } }, - "node_modules/@babel/traverse": { - "version": "7.28.5", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.28.5.tgz", - "integrity": "sha512-TCCj4t55U90khlYkVV/0TfkJkAkUg3jZFA3Neb7unZT8CPok7iiRfaX0F+WnqWqt7OxhOn0uBKXCw4lbL8W0aQ==", - "dev": true, + "node_modules/@babel/highlight/node_modules/chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", "license": "MIT", "dependencies": { - "@babel/code-frame": "^7.27.1", - "@babel/generator": "^7.28.5", - "@babel/helper-globals": "^7.28.0", - "@babel/parser": "^7.28.5", - "@babel/template": "^7.27.2", - "@babel/types": "^7.28.5", - "debug": "^4.3.1" + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" }, "engines": { - "node": ">=6.9.0" + "node": ">=4" } }, - "node_modules/@babel/types": { - "version": "7.28.5", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.28.5.tgz", - "integrity": "sha512-qQ5m48eI/MFLQ5PxQj4PFaprjyCTLI37ElWMmNs0K8Lk3dVeOdNpB3ks8jc7yM5CDmVC73eMVk/trk3fgmrUpA==", - "dev": true, + "node_modules/@babel/highlight/node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", "license": "MIT", "dependencies": { - "@babel/helper-string-parser": "^7.27.1", - "@babel/helper-validator-identifier": "^7.28.5" - }, + "color-name": "1.1.3" + } + }, + "node_modules/@babel/highlight/node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", + "license": "MIT" + }, + "node_modules/@babel/highlight/node_modules/escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", + "license": "MIT", "engines": { - "node": ">=6.9.0" + "node": ">=0.8.0" } }, - "node_modules/@base-ui/react": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@base-ui/react/-/react-1.0.0.tgz", - "integrity": "sha512-4USBWz++DUSLTuIYpbYkSgy1F9ZmNG9S/lXvlUN6qMK0P0RlW+6eQmDUB4DgZ7HVvtXl4pvi4z5J2fv6Z3+9hg==", + "node_modules/@babel/highlight/node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/@babel/highlight/node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "license": "MIT", "dependencies": { - "@babel/runtime": "^7.28.4", - "@base-ui/utils": "0.2.3", - "@floating-ui/react-dom": "^2.1.6", - "@floating-ui/utils": "^0.2.10", - "reselect": "^5.1.1", - "tabbable": "^6.3.0", - "use-sync-external-store": "^1.6.0" + "has-flag": "^3.0.0" }, "engines": { - "node": ">=14.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/mui-org" + "node": ">=4" + } + }, + "node_modules/@babel/parser": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.28.6.tgz", + "integrity": "sha512-TeR9zWR18BvbfPmGbLampPMW+uW1NZnJlRuuHso8i87QZNq2JRF9i6RgxRqtEq+wQGsS19NNTWr2duhnE49mfQ==", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.28.6" }, - "peerDependencies": { - "@types/react": "^17 || ^18 || ^19", - "react": "^17 || ^18 || ^19", - "react-dom": "^17 || ^18 || ^19" + "bin": { + "parser": "bin/babel-parser.js" }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } + "engines": { + "node": ">=6.0.0" } }, - "node_modules/@base-ui/utils": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/@base-ui/utils/-/utils-0.2.3.tgz", - "integrity": "sha512-/CguQ2PDaOzeVOkllQR8nocJ0FFIDqsWIcURsVmm53QGo8NhFNpePjNlyPIB41luxfOqnG7PU0xicMEw3ls7XQ==", + "node_modules/@babel/plugin-proposal-decorators": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-decorators/-/plugin-proposal-decorators-7.28.6.tgz", + "integrity": "sha512-RVdFPPyY9fCRAX68haPmOk2iyKW8PKJFthmm8NeSI3paNxKWGZIn99+VbIf0FrtCpFnPgnpF/L48tadi617ULg==", "license": "MIT", "dependencies": { - "@babel/runtime": "^7.28.4", - "@floating-ui/utils": "^0.2.10", - "reselect": "^5.1.1", - "use-sync-external-store": "^1.6.0" + "@babel/helper-create-class-features-plugin": "^7.28.6", + "@babel/helper-plugin-utils": "^7.28.6", + "@babel/plugin-syntax-decorators": "^7.28.6" }, - "peerDependencies": { - "@types/react": "^17 || ^18 || ^19", - "react": "^17 || ^18 || ^19", - "react-dom": "^17 || ^18 || ^19" + "engines": { + "node": ">=6.9.0" }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@braintree/sanitize-url": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/@braintree/sanitize-url/-/sanitize-url-7.1.1.tgz", - "integrity": "sha512-i1L7noDNxtFyL5DmZafWy1wRVhGehQmzZaz1HiN5e7iylJMSZR7ekOV7NsIqa5qBldlLrsKv4HbgFUVlQrz8Mw==", - "license": "MIT" - }, - "node_modules/@chevrotain/cst-dts-gen": { - "version": "11.0.3", - "resolved": "https://registry.npmjs.org/@chevrotain/cst-dts-gen/-/cst-dts-gen-11.0.3.tgz", - "integrity": "sha512-BvIKpRLeS/8UbfxXxgC33xOumsacaeCKAjAeLyOn7Pcp95HiRbrpl14S+9vaZLolnbssPIUuiUd8IvgkRyt6NQ==", - "license": "Apache-2.0", + "node_modules/@babel/plugin-proposal-export-default-from": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-export-default-from/-/plugin-proposal-export-default-from-7.27.1.tgz", + "integrity": "sha512-hjlsMBl1aJc5lp8MoCDEZCiYzlgdRAShOjAfRw6X+GlpLpUPU7c3XNLsKFZbQk/1cRzBlJ7CXg3xJAJMrFa1Uw==", + "license": "MIT", "dependencies": { - "@chevrotain/gast": "11.0.3", - "@chevrotain/types": "11.0.3", - "lodash-es": "4.17.21" + "@babel/helper-plugin-utils": "^7.27.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@chevrotain/cst-dts-gen/node_modules/lodash-es": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz", - "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==", - "license": "MIT" - }, - "node_modules/@chevrotain/gast": { - "version": "11.0.3", - "resolved": "https://registry.npmjs.org/@chevrotain/gast/-/gast-11.0.3.tgz", - "integrity": "sha512-+qNfcoNk70PyS/uxmj3li5NiECO+2YKZZQMbmjTqRI3Qchu8Hig/Q9vgkHpI3alNjr7M+a2St5pw5w5F6NL5/Q==", - "license": "Apache-2.0", + "node_modules/@babel/plugin-syntax-async-generators": { + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz", + "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==", + "license": "MIT", "dependencies": { - "@chevrotain/types": "11.0.3", - "lodash-es": "4.17.21" + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@chevrotain/gast/node_modules/lodash-es": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz", - "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==", - "license": "MIT" - }, - "node_modules/@chevrotain/regexp-to-ast": { - "version": "11.0.3", - "resolved": "https://registry.npmjs.org/@chevrotain/regexp-to-ast/-/regexp-to-ast-11.0.3.tgz", - "integrity": "sha512-1fMHaBZxLFvWI067AVbGJav1eRY7N8DDvYCTwGBiE/ytKBgP8azTdgyrKyWZ9Mfh09eHWb5PgTSO8wi7U824RA==", - "license": "Apache-2.0" - }, - "node_modules/@chevrotain/types": { - "version": "11.0.3", - "resolved": "https://registry.npmjs.org/@chevrotain/types/-/types-11.0.3.tgz", - "integrity": "sha512-gsiM3G8b58kZC2HaWR50gu6Y1440cHiJ+i3JUvcp/35JchYejb2+5MVeJK0iKThYpAa/P2PYFV4hoi44HD+aHQ==", - "license": "Apache-2.0" - }, - "node_modules/@chevrotain/utils": { - "version": "11.0.3", - "resolved": "https://registry.npmjs.org/@chevrotain/utils/-/utils-11.0.3.tgz", - "integrity": "sha512-YslZMgtJUyuMbZ+aKvfF3x1f5liK4mWNxghFRv7jqRR9C3R3fAOGTTKvxXDa2Y1s9zSbcpuO0cAxDYsc9SrXoQ==", - "license": "Apache-2.0" - }, - "node_modules/@emnapi/core": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.8.1.tgz", - "integrity": "sha512-AvT9QFpxK0Zd8J0jopedNm+w/2fIzvtPKPjqyw9jwvBaReTTqPBk9Hixaz7KbjimP+QNz605/XnjFcDAL2pqBg==", - "dev": true, + "node_modules/@babel/plugin-syntax-bigint": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz", + "integrity": "sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==", "license": "MIT", - "optional": true, "dependencies": { - "@emnapi/wasi-threads": "1.1.0", - "tslib": "^2.4.0" + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@emnapi/runtime": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.8.1.tgz", - "integrity": "sha512-mehfKSMWjjNol8659Z8KxEMrdSJDDot5SXMq00dM8BN4o+CLNXQ0xH2V7EchNHV4RmbZLmmPdEaXZc5H2FXmDg==", + "node_modules/@babel/plugin-syntax-class-properties": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz", + "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==", "license": "MIT", - "optional": true, "dependencies": { - "tslib": "^2.4.0" + "@babel/helper-plugin-utils": "^7.12.13" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@emnapi/wasi-threads": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.1.0.tgz", - "integrity": "sha512-WI0DdZ8xFSbgMjR1sFsKABJ/C5OnRrjT06JXbZKexJGrDuPTzZdDYfFlsgcCXCyf+suG5QU2e/y1Wo2V/OapLQ==", - "dev": true, + "node_modules/@babel/plugin-syntax-class-static-block": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz", + "integrity": "sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==", "license": "MIT", - "optional": true, "dependencies": { - "tslib": "^2.4.0" + "@babel/helper-plugin-utils": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@esbuild/aix-ppc64": { - "version": "0.27.2", - "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.27.2.tgz", - "integrity": "sha512-GZMB+a0mOMZs4MpDbj8RJp4cw+w1WV5NYD6xzgvzUJ5Ek2jerwfO2eADyI6ExDSUED+1X8aMbegahsJi+8mgpw==", - "cpu": [ - "ppc64" - ], + "node_modules/@babel/plugin-syntax-decorators": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-decorators/-/plugin-syntax-decorators-7.28.6.tgz", + "integrity": "sha512-71EYI0ONURHJBL4rSFXnITXqXrrY8q4P0q006DPfN+Rk+ASM+++IBXem/ruokgBZR8YNEWZ8R6B+rCb8VcUTqA==", "license": "MIT", - "optional": true, - "os": [ - "aix" - ], + "dependencies": { + "@babel/helper-plugin-utils": "^7.28.6" + }, "engines": { - "node": ">=18" + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@esbuild/android-arm": { - "version": "0.27.2", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.27.2.tgz", - "integrity": "sha512-DVNI8jlPa7Ujbr1yjU2PfUSRtAUZPG9I1RwW4F4xFB1Imiu2on0ADiI/c3td+KmDtVKNbi+nffGDQMfcIMkwIA==", - "cpu": [ - "arm" - ], + "node_modules/@babel/plugin-syntax-dynamic-import": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz", + "integrity": "sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==", "license": "MIT", - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=18" + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@esbuild/android-arm64": { - "version": "0.27.2", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.27.2.tgz", - "integrity": "sha512-pvz8ZZ7ot/RBphf8fv60ljmaoydPU12VuXHImtAs0XhLLw+EXBi2BLe3OYSBslR4rryHvweW5gmkKFwTiFy6KA==", - "cpu": [ - "arm64" - ], + "node_modules/@babel/plugin-syntax-export-default-from": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-export-default-from/-/plugin-syntax-export-default-from-7.28.6.tgz", + "integrity": "sha512-Svlx1fjJFnNz0LZeUaybRukSxZI3KkpApUmIRzEdXC5k8ErTOz0OD0kNrICi5Vc3GlpP5ZCeRyRO+mfWTSz+iQ==", "license": "MIT", - "optional": true, - "os": [ - "android" - ], + "dependencies": { + "@babel/helper-plugin-utils": "^7.28.6" + }, "engines": { - "node": ">=18" + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@esbuild/android-x64": { - "version": "0.27.2", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.27.2.tgz", - "integrity": "sha512-z8Ank4Byh4TJJOh4wpz8g2vDy75zFL0TlZlkUkEwYXuPSgX8yzep596n6mT7905kA9uHZsf/o2OJZubl2l3M7A==", - "cpu": [ - "x64" - ], + "node_modules/@babel/plugin-syntax-flow": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-flow/-/plugin-syntax-flow-7.28.6.tgz", + "integrity": "sha512-D+OrJumc9McXNEBI/JmFnc/0uCM2/Y3PEBG3gfV3QIYkKv5pvnpzFrl1kYCrcHJP8nOeFB/SHi1IHz29pNGuew==", "license": "MIT", - "optional": true, - "os": [ - "android" - ], + "dependencies": { + "@babel/helper-plugin-utils": "^7.28.6" + }, "engines": { - "node": ">=18" + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@esbuild/darwin-arm64": { - "version": "0.27.2", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.27.2.tgz", - "integrity": "sha512-davCD2Zc80nzDVRwXTcQP/28fiJbcOwvdolL0sOiOsbwBa72kegmVU0Wrh1MYrbuCL98Omp5dVhQFWRKR2ZAlg==", - "cpu": [ - "arm64" - ], + "node_modules/@babel/plugin-syntax-import-attributes": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.28.6.tgz", + "integrity": "sha512-jiLC0ma9XkQT3TKJ9uYvlakm66Pamywo+qwL+oL8HJOvc6TWdZXVfhqJr8CCzbSGUAbDOzlGHJC1U+vRfLQDvw==", "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], + "dependencies": { + "@babel/helper-plugin-utils": "^7.28.6" + }, "engines": { - "node": ">=18" + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@esbuild/darwin-x64": { - "version": "0.27.2", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.27.2.tgz", - "integrity": "sha512-ZxtijOmlQCBWGwbVmwOF/UCzuGIbUkqB1faQRf5akQmxRJ1ujusWsb3CVfk/9iZKr2L5SMU5wPBi1UWbvL+VQA==", - "cpu": [ - "x64" - ], + "node_modules/@babel/plugin-syntax-import-meta": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz", + "integrity": "sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==", "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=18" + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@esbuild/freebsd-arm64": { - "version": "0.27.2", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.27.2.tgz", - "integrity": "sha512-lS/9CN+rgqQ9czogxlMcBMGd+l8Q3Nj1MFQwBZJyoEKI50XGxwuzznYdwcav6lpOGv5BqaZXqvBSiB/kJ5op+g==", - "cpu": [ - "arm64" - ], + "node_modules/@babel/plugin-syntax-json-strings": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", + "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==", "license": "MIT", - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=18" + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@esbuild/freebsd-x64": { - "version": "0.27.2", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.27.2.tgz", - "integrity": "sha512-tAfqtNYb4YgPnJlEFu4c212HYjQWSO/w/h/lQaBK7RbwGIkBOuNKQI9tqWzx7Wtp7bTPaGC6MJvWI608P3wXYA==", - "cpu": [ - "x64" - ], + "node_modules/@babel/plugin-syntax-jsx": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.28.6.tgz", + "integrity": "sha512-wgEmr06G6sIpqr8YDwA2dSRTE3bJ+V0IfpzfSY3Lfgd7YWOaAdlykvJi13ZKBt8cZHfgH1IXN+CL656W3uUa4w==", "license": "MIT", - "optional": true, - "os": [ - "freebsd" - ], + "dependencies": { + "@babel/helper-plugin-utils": "^7.28.6" + }, "engines": { - "node": ">=18" + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@esbuild/linux-arm": { - "version": "0.27.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.27.2.tgz", - "integrity": "sha512-vWfq4GaIMP9AIe4yj1ZUW18RDhx6EPQKjwe7n8BbIecFtCQG4CfHGaHuh7fdfq+y3LIA2vGS/o9ZBGVxIDi9hw==", - "cpu": [ - "arm" - ], + "node_modules/@babel/plugin-syntax-logical-assignment-operators": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz", + "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==", "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@esbuild/linux-arm64": { - "version": "0.27.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.27.2.tgz", - "integrity": "sha512-hYxN8pr66NsCCiRFkHUAsxylNOcAQaxSSkHMMjcpx0si13t1LHFphxJZUiGwojB1a/Hd5OiPIqDdXONia6bhTw==", - "cpu": [ - "arm64" - ], + "node_modules/@babel/plugin-syntax-nullish-coalescing-operator": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz", + "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@esbuild/linux-ia32": { - "version": "0.27.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.27.2.tgz", - "integrity": "sha512-MJt5BRRSScPDwG2hLelYhAAKh9imjHK5+NE/tvnRLbIqUWa+0E9N4WNMjmp/kXXPHZGqPLxggwVhz7QP8CTR8w==", - "cpu": [ - "ia32" - ], + "node_modules/@babel/plugin-syntax-numeric-separator": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz", + "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==", "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@esbuild/linux-loong64": { - "version": "0.27.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.27.2.tgz", - "integrity": "sha512-lugyF1atnAT463aO6KPshVCJK5NgRnU4yb3FUumyVz+cGvZbontBgzeGFO1nF+dPueHD367a2ZXe1NtUkAjOtg==", - "cpu": [ - "loong64" - ], + "node_modules/@babel/plugin-syntax-object-rest-spread": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", + "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==", "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@esbuild/linux-mips64el": { - "version": "0.27.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.27.2.tgz", - "integrity": "sha512-nlP2I6ArEBewvJ2gjrrkESEZkB5mIoaTswuqNFRv/WYd+ATtUpe9Y09RnJvgvdag7he0OWgEZWhviS1OTOKixw==", - "cpu": [ - "mips64el" - ], + "node_modules/@babel/plugin-syntax-optional-catch-binding": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz", + "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==", "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@esbuild/linux-ppc64": { - "version": "0.27.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.27.2.tgz", - "integrity": "sha512-C92gnpey7tUQONqg1n6dKVbx3vphKtTHJaNG2Ok9lGwbZil6DrfyecMsp9CrmXGQJmZ7iiVXvvZH6Ml5hL6XdQ==", - "cpu": [ - "ppc64" - ], + "node_modules/@babel/plugin-syntax-optional-chaining": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz", + "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@esbuild/linux-riscv64": { - "version": "0.27.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.27.2.tgz", - "integrity": "sha512-B5BOmojNtUyN8AXlK0QJyvjEZkWwy/FKvakkTDCziX95AowLZKR6aCDhG7LeF7uMCXEJqwa8Bejz5LTPYm8AvA==", - "cpu": [ - "riscv64" - ], + "node_modules/@babel/plugin-syntax-private-property-in-object": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz", + "integrity": "sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==", "license": "MIT", - "optional": true, - "os": [ - "linux" - ], + "dependencies": { + "@babel/helper-plugin-utils": "^7.14.5" + }, "engines": { - "node": ">=18" + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@esbuild/linux-s390x": { - "version": "0.27.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.27.2.tgz", - "integrity": "sha512-p4bm9+wsPwup5Z8f4EpfN63qNagQ47Ua2znaqGH6bqLlmJ4bx97Y9JdqxgGZ6Y8xVTixUnEkoKSHcpRlDnNr5w==", - "cpu": [ - "s390x" - ], + "node_modules/@babel/plugin-syntax-top-level-await": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz", + "integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==", "license": "MIT", - "optional": true, - "os": [ - "linux" - ], + "dependencies": { + "@babel/helper-plugin-utils": "^7.14.5" + }, "engines": { - "node": ">=18" + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@esbuild/linux-x64": { - "version": "0.27.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.27.2.tgz", - "integrity": "sha512-uwp2Tip5aPmH+NRUwTcfLb+W32WXjpFejTIOWZFw/v7/KnpCDKG66u4DLcurQpiYTiYwQ9B7KOeMJvLCu/OvbA==", - "cpu": [ - "x64" - ], + "node_modules/@babel/plugin-syntax-typescript": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.28.6.tgz", + "integrity": "sha512-+nDNmQye7nlnuuHDboPbGm00Vqg3oO8niRRL27/4LYHUsHYh0zJ1xWOz0uRwNFmM1Avzk8wZbc6rdiYhomzv/A==", "license": "MIT", - "optional": true, - "os": [ - "linux" - ], + "dependencies": { + "@babel/helper-plugin-utils": "^7.28.6" + }, "engines": { - "node": ">=18" + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@esbuild/netbsd-arm64": { - "version": "0.27.2", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.27.2.tgz", - "integrity": "sha512-Kj6DiBlwXrPsCRDeRvGAUb/LNrBASrfqAIok+xB0LxK8CHqxZ037viF13ugfsIpePH93mX7xfJp97cyDuTZ3cw==", - "cpu": [ - "arm64" - ], + "node_modules/@babel/plugin-transform-arrow-functions": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.27.1.tgz", + "integrity": "sha512-8Z4TGic6xW70FKThA5HYEKKyBpOOsucTOD1DjU3fZxDg+K3zBJcXMFnt/4yQiZnf5+MiOMSXQ9PaEK/Ilh1DeA==", "license": "MIT", - "optional": true, - "os": [ - "netbsd" - ], + "dependencies": { + "@babel/helper-plugin-utils": "^7.27.1" + }, "engines": { - "node": ">=18" + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@esbuild/netbsd-x64": { - "version": "0.27.2", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.27.2.tgz", - "integrity": "sha512-HwGDZ0VLVBY3Y+Nw0JexZy9o/nUAWq9MlV7cahpaXKW6TOzfVno3y3/M8Ga8u8Yr7GldLOov27xiCnqRZf0tCA==", - "cpu": [ - "x64" - ], + "node_modules/@babel/plugin-transform-async-generator-functions": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.28.6.tgz", + "integrity": "sha512-9knsChgsMzBV5Yh3kkhrZNxH3oCYAfMBkNNaVN4cP2RVlFPe8wYdwwcnOsAbkdDoV9UjFtOXWrWB52M8W4jNeA==", "license": "MIT", - "optional": true, - "os": [ - "netbsd" - ], + "dependencies": { + "@babel/helper-plugin-utils": "^7.28.6", + "@babel/helper-remap-async-to-generator": "^7.27.1", + "@babel/traverse": "^7.28.6" + }, "engines": { - "node": ">=18" + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@esbuild/openbsd-arm64": { - "version": "0.27.2", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.27.2.tgz", - "integrity": "sha512-DNIHH2BPQ5551A7oSHD0CKbwIA/Ox7+78/AWkbS5QoRzaqlev2uFayfSxq68EkonB+IKjiuxBFoV8ESJy8bOHA==", - "cpu": [ - "arm64" - ], + "node_modules/@babel/plugin-transform-async-to-generator": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.28.6.tgz", + "integrity": "sha512-ilTRcmbuXjsMmcZ3HASTe4caH5Tpo93PkTxF9oG2VZsSWsahydmcEHhix9Ik122RcTnZnUzPbmux4wh1swfv7g==", "license": "MIT", - "optional": true, - "os": [ - "openbsd" - ], + "dependencies": { + "@babel/helper-module-imports": "^7.28.6", + "@babel/helper-plugin-utils": "^7.28.6", + "@babel/helper-remap-async-to-generator": "^7.27.1" + }, "engines": { - "node": ">=18" + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@esbuild/openbsd-x64": { - "version": "0.27.2", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.27.2.tgz", - "integrity": "sha512-/it7w9Nb7+0KFIzjalNJVR5bOzA9Vay+yIPLVHfIQYG/j+j9VTH84aNB8ExGKPU4AzfaEvN9/V4HV+F+vo8OEg==", - "cpu": [ - "x64" - ], + "node_modules/@babel/plugin-transform-block-scoping": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.28.6.tgz", + "integrity": "sha512-tt/7wOtBmwHPNMPu7ax4pdPz6shjFrmHDghvNC+FG9Qvj7D6mJcoRQIF5dy4njmxR941l6rgtvfSB2zX3VlUIw==", "license": "MIT", - "optional": true, - "os": [ - "openbsd" - ], + "dependencies": { + "@babel/helper-plugin-utils": "^7.28.6" + }, "engines": { - "node": ">=18" + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@esbuild/openharmony-arm64": { - "version": "0.27.2", - "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.27.2.tgz", - "integrity": "sha512-LRBbCmiU51IXfeXk59csuX/aSaToeG7w48nMwA6049Y4J4+VbWALAuXcs+qcD04rHDuSCSRKdmY63sruDS5qag==", - "cpu": [ - "arm64" - ], + "node_modules/@babel/plugin-transform-class-properties": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-properties/-/plugin-transform-class-properties-7.28.6.tgz", + "integrity": "sha512-dY2wS3I2G7D697VHndN91TJr8/AAfXQNt5ynCTI/MpxMsSzHp+52uNivYT5wCPax3whc47DR8Ba7cmlQMg24bw==", "license": "MIT", - "optional": true, - "os": [ - "openharmony" - ], + "dependencies": { + "@babel/helper-create-class-features-plugin": "^7.28.6", + "@babel/helper-plugin-utils": "^7.28.6" + }, "engines": { - "node": ">=18" + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@esbuild/sunos-x64": { - "version": "0.27.2", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.27.2.tgz", - "integrity": "sha512-kMtx1yqJHTmqaqHPAzKCAkDaKsffmXkPHThSfRwZGyuqyIeBvf08KSsYXl+abf5HDAPMJIPnbBfXvP2ZC2TfHg==", - "cpu": [ - "x64" - ], + "node_modules/@babel/plugin-transform-class-static-block": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.28.6.tgz", + "integrity": "sha512-rfQ++ghVwTWTqQ7w8qyDxL1XGihjBss4CmTgGRCTAC9RIbhVpyp4fOeZtta0Lbf+dTNIVJer6ych2ibHwkZqsQ==", "license": "MIT", - "optional": true, - "os": [ - "sunos" - ], + "dependencies": { + "@babel/helper-create-class-features-plugin": "^7.28.6", + "@babel/helper-plugin-utils": "^7.28.6" + }, "engines": { - "node": ">=18" + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.12.0" } }, - "node_modules/@esbuild/win32-arm64": { - "version": "0.27.2", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.27.2.tgz", - "integrity": "sha512-Yaf78O/B3Kkh+nKABUF++bvJv5Ijoy9AN1ww904rOXZFLWVc5OLOfL56W+C8F9xn5JQZa3UX6m+IktJnIb1Jjg==", - "cpu": [ - "arm64" - ], + "node_modules/@babel/plugin-transform-classes": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.28.6.tgz", + "integrity": "sha512-EF5KONAqC5zAqT783iMGuM2ZtmEBy+mJMOKl2BCvPZ2lVrwvXnB6o+OBWCS+CoeCCpVRF2sA2RBKUxvT8tQT5Q==", "license": "MIT", - "optional": true, - "os": [ - "win32" - ], + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.27.3", + "@babel/helper-compilation-targets": "^7.28.6", + "@babel/helper-globals": "^7.28.0", + "@babel/helper-plugin-utils": "^7.28.6", + "@babel/helper-replace-supers": "^7.28.6", + "@babel/traverse": "^7.28.6" + }, "engines": { - "node": ">=18" + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@esbuild/win32-ia32": { - "version": "0.27.2", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.27.2.tgz", - "integrity": "sha512-Iuws0kxo4yusk7sw70Xa2E2imZU5HoixzxfGCdxwBdhiDgt9vX9VUCBhqcwY7/uh//78A1hMkkROMJq9l27oLQ==", - "cpu": [ - "ia32" - ], + "node_modules/@babel/plugin-transform-computed-properties": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.28.6.tgz", + "integrity": "sha512-bcc3k0ijhHbc2lEfpFHgx7eYw9KNXqOerKWfzbxEHUGKnS3sz9C4CNL9OiFN1297bDNfUiSO7DaLzbvHQQQ1BQ==", "license": "MIT", - "optional": true, - "os": [ - "win32" - ], + "dependencies": { + "@babel/helper-plugin-utils": "^7.28.6", + "@babel/template": "^7.28.6" + }, "engines": { - "node": ">=18" + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@esbuild/win32-x64": { - "version": "0.27.2", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.27.2.tgz", - "integrity": "sha512-sRdU18mcKf7F+YgheI/zGf5alZatMUTKj/jNS6l744f9u3WFu4v7twcUI9vu4mknF4Y9aDlblIie0IM+5xxaqQ==", - "cpu": [ - "x64" - ], + "node_modules/@babel/plugin-transform-destructuring": { + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.28.5.tgz", + "integrity": "sha512-Kl9Bc6D0zTUcFUvkNuQh4eGXPKKNDOJQXVyyM4ZAQPMveniJdxi8XMJwLo+xSoW3MIq81bD33lcUe9kZpl0MCw==", "license": "MIT", - "optional": true, - "os": [ - "win32" - ], + "dependencies": { + "@babel/helper-plugin-utils": "^7.27.1", + "@babel/traverse": "^7.28.5" + }, "engines": { - "node": ">=18" + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@eslint-community/eslint-utils": { - "version": "4.9.1", - "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.9.1.tgz", - "integrity": "sha512-phrYmNiYppR7znFEdqgfWHXR6NCkZEK7hwWDHZUjit/2/U0r6XvkDl0SYnoM51Hq7FhCGdLDT6zxCCOY1hexsQ==", - "dev": true, + "node_modules/@babel/plugin-transform-export-namespace-from": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-export-namespace-from/-/plugin-transform-export-namespace-from-7.27.1.tgz", + "integrity": "sha512-tQvHWSZ3/jH2xuq/vZDy0jNn+ZdXJeM8gHvX4lnJmsc3+50yPlWdZXIc5ay+umX+2/tJIqHqiEqcJvxlmIvRvQ==", "license": "MIT", "dependencies": { - "eslint-visitor-keys": "^3.4.3" + "@babel/helper-plugin-utils": "^7.27.1" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" + "node": ">=6.9.0" }, "peerDependencies": { - "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" + "@babel/core": "^7.0.0-0" } }, - "node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys": { - "version": "3.4.3", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", - "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", - "dev": true, - "license": "Apache-2.0", + "node_modules/@babel/plugin-transform-flow-strip-types": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.27.1.tgz", + "integrity": "sha512-G5eDKsu50udECw7DL2AcsysXiQyB7Nfg521t2OAJ4tbfTJ27doHLeF/vlI1NZGlLdbb/v+ibvtL1YBQqYOwJGg==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.27.1", + "@babel/plugin-syntax-flow": "^7.27.1" + }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": ">=6.9.0" }, - "funding": { - "url": "https://opencollective.com/eslint" + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@eslint-community/regexpp": { - "version": "4.12.2", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.2.tgz", - "integrity": "sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew==", - "dev": true, + "node_modules/@babel/plugin-transform-for-of": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.27.1.tgz", + "integrity": "sha512-BfbWFFEJFQzLCQ5N8VocnCtA8J1CLkNTe2Ms2wocj75dd6VpiqS5Z5quTYcUoo4Yq+DN0rtikODccuv7RU81sw==", "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.27.1", + "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1" + }, "engines": { - "node": "^12.0.0 || ^14.0.0 || >=16.0.0" + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@eslint/config-array": { - "version": "0.21.1", - "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.21.1.tgz", - "integrity": "sha512-aw1gNayWpdI/jSYVgzN5pL0cfzU02GT3NBpeT/DXbx1/1x7ZKxFPd9bwrzygx/qiwIQiJ1sw/zD8qY/kRvlGHA==", - "dev": true, - "license": "Apache-2.0", + "node_modules/@babel/plugin-transform-function-name": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.27.1.tgz", + "integrity": "sha512-1bQeydJF9Nr1eBCMMbC+hdwmRlsv5XYOMu03YSWFwNs0HsAmtSxxF1fyuYPqemVldVyFmlCU7w8UE14LupUSZQ==", + "license": "MIT", "dependencies": { - "@eslint/object-schema": "^2.1.7", - "debug": "^4.3.1", - "minimatch": "^3.1.2" + "@babel/helper-compilation-targets": "^7.27.1", + "@babel/helper-plugin-utils": "^7.27.1", + "@babel/traverse": "^7.27.1" }, "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@eslint/config-helpers": { - "version": "0.4.2", - "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.4.2.tgz", - "integrity": "sha512-gBrxN88gOIf3R7ja5K9slwNayVcZgK6SOUORm2uBzTeIEfeVaIhOpCtTox3P6R7o2jLFwLFTLnC7kU/RGcYEgw==", - "dev": true, - "license": "Apache-2.0", + "node_modules/@babel/plugin-transform-literals": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.27.1.tgz", + "integrity": "sha512-0HCFSepIpLTkLcsi86GG3mTUzxV5jpmbv97hTETW3yzrAij8aqlD36toB1D0daVFJM8NK6GvKO0gslVQmm+zZA==", + "license": "MIT", "dependencies": { - "@eslint/core": "^0.17.0" + "@babel/helper-plugin-utils": "^7.27.1" }, "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@eslint/core": { - "version": "0.17.0", - "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.17.0.tgz", - "integrity": "sha512-yL/sLrpmtDaFEiUj1osRP4TI2MDz1AddJL+jZ7KSqvBuliN4xqYY54IfdN8qD8Toa6g1iloph1fxQNkjOxrrpQ==", - "dev": true, - "license": "Apache-2.0", + "node_modules/@babel/plugin-transform-logical-assignment-operators": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-logical-assignment-operators/-/plugin-transform-logical-assignment-operators-7.28.6.tgz", + "integrity": "sha512-+anKKair6gpi8VsM/95kmomGNMD0eLz1NQ8+Pfw5sAwWH9fGYXT50E55ZpV0pHUHWf6IUTWPM+f/7AAff+wr9A==", + "license": "MIT", "dependencies": { - "@types/json-schema": "^7.0.15" + "@babel/helper-plugin-utils": "^7.28.6" }, "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@eslint/eslintrc": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.3.3.tgz", - "integrity": "sha512-Kr+LPIUVKz2qkx1HAMH8q1q6azbqBAsXJUxBl/ODDuVPX45Z9DfwB8tPjTi6nNZ8BuM3nbJxC5zCAg5elnBUTQ==", - "dev": true, + "node_modules/@babel/plugin-transform-modules-commonjs": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.28.6.tgz", + "integrity": "sha512-jppVbf8IV9iWWwWTQIxJMAJCWBuuKx71475wHwYytrRGQ2CWiDvYlADQno3tcYpS/T2UUWFQp3nVtYfK/YBQrA==", "license": "MIT", "dependencies": { - "ajv": "^6.12.4", - "debug": "^4.3.2", - "espree": "^10.0.1", - "globals": "^14.0.0", - "ignore": "^5.2.0", - "import-fresh": "^3.2.1", - "js-yaml": "^4.1.1", - "minimatch": "^3.1.2", - "strip-json-comments": "^3.1.1" + "@babel/helper-module-transforms": "^7.28.6", + "@babel/helper-plugin-utils": "^7.28.6" }, "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + "node": ">=6.9.0" }, - "funding": { - "url": "https://opencollective.com/eslint" + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@eslint/js": { - "version": "9.39.2", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.39.2.tgz", - "integrity": "sha512-q1mjIoW1VX4IvSocvM/vbTiveKC4k9eLrajNEuSsmjymSDEbpGddtpfOoN7YGAqBK3NG+uqo8ia4PDTt8buCYA==", - "dev": true, + "node_modules/@babel/plugin-transform-named-capturing-groups-regex": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.27.1.tgz", + "integrity": "sha512-SstR5JYy8ddZvD6MhV0tM/j16Qds4mIpJTOd1Yu9J9pJjH93bxHECF7pgtc28XvkzTD6Pxcm/0Z73Hvk7kb3Ng==", "license": "MIT", + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.27.1", + "@babel/helper-plugin-utils": "^7.27.1" + }, "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + "node": ">=6.9.0" }, - "funding": { - "url": "https://eslint.org/donate" + "peerDependencies": { + "@babel/core": "^7.0.0" } }, - "node_modules/@eslint/object-schema": { - "version": "2.1.7", - "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-2.1.7.tgz", - "integrity": "sha512-VtAOaymWVfZcmZbp6E2mympDIHvyjXs/12LqWYjVw6qjrfF+VK+fyG33kChz3nnK+SU5/NeHOqrTEHS8sXO3OA==", - "dev": true, - "license": "Apache-2.0", + "node_modules/@babel/plugin-transform-nullish-coalescing-operator": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-nullish-coalescing-operator/-/plugin-transform-nullish-coalescing-operator-7.28.6.tgz", + "integrity": "sha512-3wKbRgmzYbw24mDJXT7N+ADXw8BC/imU9yo9c9X9NKaLF1fW+e5H1U5QjMUBe4Qo4Ox/o++IyUkl1sVCLgevKg==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.28.6" + }, "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@eslint/plugin-kit": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.4.1.tgz", - "integrity": "sha512-43/qtrDUokr7LJqoF2c3+RInu/t4zfrpYdoSDfYyhg52rwLV6TnOvdG4fXm7IkSB3wErkcmJS9iEhjVtOSEjjA==", - "dev": true, - "license": "Apache-2.0", + "node_modules/@babel/plugin-transform-numeric-separator": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-numeric-separator/-/plugin-transform-numeric-separator-7.28.6.tgz", + "integrity": "sha512-SJR8hPynj8outz+SlStQSwvziMN4+Bq99it4tMIf5/Caq+3iOc0JtKyse8puvyXkk3eFRIA5ID/XfunGgO5i6w==", + "license": "MIT", "dependencies": { - "@eslint/core": "^0.17.0", - "levn": "^0.4.1" + "@babel/helper-plugin-utils": "^7.28.6" }, "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@floating-ui/core": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.7.3.tgz", - "integrity": "sha512-sGnvb5dmrJaKEZ+LDIpguvdX3bDlEllmv4/ClQ9awcmCZrlx5jQyyMWFM5kBI+EyNOCDDiKk8il0zeuX3Zlg/w==", + "node_modules/@babel/plugin-transform-object-rest-spread": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-rest-spread/-/plugin-transform-object-rest-spread-7.28.6.tgz", + "integrity": "sha512-5rh+JR4JBC4pGkXLAcYdLHZjXudVxWMXbB6u6+E9lRL5TrGVbHt1TjxGbZ8CkmYw9zjkB7jutzOROArsqtncEA==", "license": "MIT", "dependencies": { - "@floating-ui/utils": "^0.2.10" + "@babel/helper-compilation-targets": "^7.28.6", + "@babel/helper-plugin-utils": "^7.28.6", + "@babel/plugin-transform-destructuring": "^7.28.5", + "@babel/plugin-transform-parameters": "^7.27.7", + "@babel/traverse": "^7.28.6" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@floating-ui/dom": { - "version": "1.7.4", - "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.7.4.tgz", - "integrity": "sha512-OOchDgh4F2CchOX94cRVqhvy7b3AFb+/rQXyswmzmGakRfkMgoWVjfnLWkRirfLEfuD4ysVW16eXzwt3jHIzKA==", + "node_modules/@babel/plugin-transform-optional-catch-binding": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-catch-binding/-/plugin-transform-optional-catch-binding-7.28.6.tgz", + "integrity": "sha512-R8ja/Pyrv0OGAvAXQhSTmWyPJPml+0TMqXlO5w+AsMEiwb2fg3WkOvob7UxFSL3OIttFSGSRFKQsOhJ/X6HQdQ==", "license": "MIT", "dependencies": { - "@floating-ui/core": "^1.7.3", - "@floating-ui/utils": "^0.2.10" + "@babel/helper-plugin-utils": "^7.28.6" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@floating-ui/react": { - "version": "0.26.28", - "resolved": "https://registry.npmjs.org/@floating-ui/react/-/react-0.26.28.tgz", - "integrity": "sha512-yORQuuAtVpiRjpMhdc0wJj06b9JFjrYF4qp96j++v2NBpbi6SEGF7donUJ3TMieerQ6qVkAv1tgr7L4r5roTqw==", + "node_modules/@babel/plugin-transform-optional-chaining": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.28.6.tgz", + "integrity": "sha512-A4zobikRGJTsX9uqVFdafzGkqD30t26ck2LmOzAuLL8b2x6k3TIqRiT2xVvA9fNmFeTX484VpsdgmKNA0bS23w==", "license": "MIT", "dependencies": { - "@floating-ui/react-dom": "^2.1.2", - "@floating-ui/utils": "^0.2.8", - "tabbable": "^6.0.0" + "@babel/helper-plugin-utils": "^7.28.6", + "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1" + }, + "engines": { + "node": ">=6.9.0" }, "peerDependencies": { - "react": ">=16.8.0", - "react-dom": ">=16.8.0" + "@babel/core": "^7.0.0-0" } }, - "node_modules/@floating-ui/react-dom": { - "version": "2.1.6", - "resolved": "https://registry.npmjs.org/@floating-ui/react-dom/-/react-dom-2.1.6.tgz", - "integrity": "sha512-4JX6rEatQEvlmgU80wZyq9RT96HZJa88q8hp0pBd+LrczeDI4o6uA2M+uvxngVHo4Ihr8uibXxH6+70zhAFrVw==", + "node_modules/@babel/plugin-transform-parameters": { + "version": "7.27.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.27.7.tgz", + "integrity": "sha512-qBkYTYCb76RRxUM6CcZA5KRu8K4SM8ajzVeUgVdMVO9NN9uI/GaVmBg/WKJJGnNokV9SY8FxNOVWGXzqzUidBg==", "license": "MIT", "dependencies": { - "@floating-ui/dom": "^1.7.4" + "@babel/helper-plugin-utils": "^7.27.1" + }, + "engines": { + "node": ">=6.9.0" }, "peerDependencies": { - "react": ">=16.8.0", - "react-dom": ">=16.8.0" + "@babel/core": "^7.0.0-0" } }, - "node_modules/@floating-ui/utils": { - "version": "0.2.10", - "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.10.tgz", - "integrity": "sha512-aGTxbpbg8/b5JfU1HXSrbH3wXZuLPJcNEcZQFMxLs3oSzgtVu6nFPkbbGGUvBcUjKV2YyB9Wxxabo+HEH9tcRQ==", - "license": "MIT" - }, - "node_modules/@formatjs/fast-memoize": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/@formatjs/fast-memoize/-/fast-memoize-3.0.3.tgz", - "integrity": "sha512-CArYtQKGLAOruCMeq5/RxCg6vUXFx3OuKBdTm30Wn/+gCefehmZ8Y2xSMxMrO2iel7hRyE3HKfV56t3vAU6D4Q==", + "node_modules/@babel/plugin-transform-private-methods": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-methods/-/plugin-transform-private-methods-7.28.6.tgz", + "integrity": "sha512-piiuapX9CRv7+0st8lmuUlRSmX6mBcVeNQ1b4AYzJxfCMuBfB0vBXDiGSmm03pKJw1v6cZ8KSeM+oUnM6yAExg==", "license": "MIT", "dependencies": { - "tslib": "^2.8.0" + "@babel/helper-create-class-features-plugin": "^7.28.6", + "@babel/helper-plugin-utils": "^7.28.6" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@formatjs/intl-localematcher": { - "version": "0.6.2", - "resolved": "https://registry.npmjs.org/@formatjs/intl-localematcher/-/intl-localematcher-0.6.2.tgz", - "integrity": "sha512-XOMO2Hupl0wdd172Y06h6kLpBz6Dv+J4okPLl4LPtzbr8f66WbIoy4ev98EBuZ6ZK4h5ydTN6XneT4QVpD7cdA==", + "node_modules/@babel/plugin-transform-private-property-in-object": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-property-in-object/-/plugin-transform-private-property-in-object-7.28.6.tgz", + "integrity": "sha512-b97jvNSOb5+ehyQmBpmhOCiUC5oVK4PMnpRvO7+ymFBoqYjeDHIU9jnrNUuwHOiL9RpGDoKBpSViarV+BU+eVA==", "license": "MIT", "dependencies": { - "tslib": "^2.8.0" + "@babel/helper-annotate-as-pure": "^7.27.3", + "@babel/helper-create-class-features-plugin": "^7.28.6", + "@babel/helper-plugin-utils": "^7.28.6" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@fumadocs/ui": { - "version": "16.4.6", - "resolved": "https://registry.npmjs.org/@fumadocs/ui/-/ui-16.4.6.tgz", - "integrity": "sha512-/skIjySh9mVNMZBkc2kdGjajGQIorFUCTUp/QSSEtdMOVIdW7776YGLvV4CFxa8hf5FuRO4xrOi8vhQqnhqwVQ==", + "node_modules/@babel/plugin-transform-react-display-name": { + "version": "7.28.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.28.0.tgz", + "integrity": "sha512-D6Eujc2zMxKjfa4Zxl4GHMsmhKKZ9VpcqIchJLvwTxad9zWIYulwYItBovpDOoNLISpcZSXoDJ5gaGbQUDqViA==", "license": "MIT", "dependencies": { - "next-themes": "^0.4.6", - "postcss-selector-parser": "^7.1.1", - "tailwind-merge": "^3.4.0" + "@babel/helper-plugin-utils": "^7.27.1" + }, + "engines": { + "node": ">=6.9.0" }, "peerDependencies": { - "@types/react": "*", - "fumadocs-core": "16.4.6", - "next": "16.x.x", - "react": "^19.2.0", - "react-dom": "^19.2.0", - "tailwindcss": "^4.0.0" + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-react-jsx": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.28.6.tgz", + "integrity": "sha512-61bxqhiRfAACulXSLd/GxqmAedUSrRZIu/cbaT18T1CetkTmtDN15it7i80ru4DVqRK1WMxQhXs+Lf9kajm5Ow==", + "license": "MIT", + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.27.3", + "@babel/helper-module-imports": "^7.28.6", + "@babel/helper-plugin-utils": "^7.28.6", + "@babel/plugin-syntax-jsx": "^7.28.6", + "@babel/types": "^7.28.6" }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - }, - "next": { - "optional": true - }, - "tailwindcss": { - "optional": true - } + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@headlessui/react": { - "version": "2.2.9", - "resolved": "https://registry.npmjs.org/@headlessui/react/-/react-2.2.9.tgz", - "integrity": "sha512-Mb+Un58gwBn0/yWZfyrCh0TJyurtT+dETj7YHleylHk5od3dv2XqETPGWMyQ5/7sYN7oWdyM1u9MvC0OC8UmzQ==", + "node_modules/@babel/plugin-transform-react-jsx-development": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-development/-/plugin-transform-react-jsx-development-7.27.1.tgz", + "integrity": "sha512-ykDdF5yI4f1WrAolLqeF3hmYU12j9ntLQl/AOG1HAS21jxyg1Q0/J/tpREuYLfatGdGmXp/3yS0ZA76kOlVq9Q==", "license": "MIT", "dependencies": { - "@floating-ui/react": "^0.26.16", - "@react-aria/focus": "^3.20.2", - "@react-aria/interactions": "^3.25.0", - "@tanstack/react-virtual": "^3.13.9", - "use-sync-external-store": "^1.5.0" + "@babel/plugin-transform-react-jsx": "^7.27.1" }, "engines": { - "node": ">=10" + "node": ">=6.9.0" }, "peerDependencies": { - "react": "^18 || ^19 || ^19.0.0-rc", - "react-dom": "^18 || ^19 || ^19.0.0-rc" + "@babel/core": "^7.0.0-0" } }, - "node_modules/@humanfs/core": { - "version": "0.19.1", - "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz", - "integrity": "sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==", - "dev": true, - "license": "Apache-2.0", + "node_modules/@babel/plugin-transform-react-jsx-self": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.27.1.tgz", + "integrity": "sha512-6UzkCs+ejGdZ5mFFC/OCUrv028ab2fp1znZmCZjAOBKiBK2jXD1O+BPSfX8X2qjJ75fZBMSnQn3Rq2mrBJK2mw==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.27.1" + }, "engines": { - "node": ">=18.18.0" + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@humanfs/node": { - "version": "0.16.7", - "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.7.tgz", - "integrity": "sha512-/zUx+yOsIrG4Y43Eh2peDeKCxlRt/gET6aHfaKpuq267qXdYDFViVHfMaLyygZOnl0kGWxFIgsBy8QFuTLUXEQ==", - "dev": true, - "license": "Apache-2.0", + "node_modules/@babel/plugin-transform-react-jsx-source": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.27.1.tgz", + "integrity": "sha512-zbwoTsBruTeKB9hSq73ha66iFeJHuaFkUbwvqElnygoNbj/jHRsSeokowZFN3CZ64IvEqcmmkVe89OPXc7ldAw==", + "license": "MIT", "dependencies": { - "@humanfs/core": "^0.19.1", - "@humanwhocodes/retry": "^0.4.0" + "@babel/helper-plugin-utils": "^7.27.1" }, "engines": { - "node": ">=18.18.0" + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@humanwhocodes/module-importer": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", - "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", - "dev": true, - "license": "Apache-2.0", + "node_modules/@babel/plugin-transform-react-pure-annotations": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-pure-annotations/-/plugin-transform-react-pure-annotations-7.27.1.tgz", + "integrity": "sha512-JfuinvDOsD9FVMTHpzA/pBLisxpv1aSf+OIV8lgH3MuWrks19R27e6a6DipIg4aX1Zm9Wpb04p8wljfKrVSnPA==", + "license": "MIT", + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.27.1", + "@babel/helper-plugin-utils": "^7.27.1" + }, "engines": { - "node": ">=12.22" + "node": ">=6.9.0" }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/nzakas" + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@humanwhocodes/retry": { - "version": "0.4.3", - "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.3.tgz", - "integrity": "sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==", - "dev": true, - "license": "Apache-2.0", + "node_modules/@babel/plugin-transform-regenerator": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.28.6.tgz", + "integrity": "sha512-eZhoEZHYQLL5uc1gS5e9/oTknS0sSSAtd5TkKMUp3J+S/CaUjagc0kOUPsEbDmMeva0nC3WWl4SxVY6+OBuxfw==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.28.6" + }, "engines": { - "node": ">=18.18" + "node": ">=6.9.0" }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/nzakas" + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@iconify/types": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@iconify/types/-/types-2.0.0.tgz", - "integrity": "sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==", - "license": "MIT" + "node_modules/@babel/plugin-transform-runtime": { + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.28.5.tgz", + "integrity": "sha512-20NUVgOrinudkIBzQ2bNxP08YpKprUkRTiRSd2/Z5GOdPImJGkoN4Z7IQe1T5AdyKI1i5L6RBmluqdSzvaq9/w==", + "license": "MIT", + "dependencies": { + "@babel/helper-module-imports": "^7.27.1", + "@babel/helper-plugin-utils": "^7.27.1", + "babel-plugin-polyfill-corejs2": "^0.4.14", + "babel-plugin-polyfill-corejs3": "^0.13.0", + "babel-plugin-polyfill-regenerator": "^0.6.5", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } }, - "node_modules/@iconify/utils": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@iconify/utils/-/utils-3.1.0.tgz", - "integrity": "sha512-Zlzem1ZXhI1iHeeERabLNzBHdOa4VhQbqAcOQaMKuTuyZCpwKbC2R4Dd0Zo3g9EAc+Y4fiarO8HIHRAth7+skw==", + "node_modules/@babel/plugin-transform-shorthand-properties": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.27.1.tgz", + "integrity": "sha512-N/wH1vcn4oYawbJ13Y/FxcQrWk63jhfNa7jef0ih7PHSIHX2LB7GWE1rkPrOnka9kwMxb6hMl19p7lidA+EHmQ==", "license": "MIT", "dependencies": { - "@antfu/install-pkg": "^1.1.0", - "@iconify/types": "^2.0.0", - "mlly": "^1.8.0" + "@babel/helper-plugin-utils": "^7.27.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@img/colour": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@img/colour/-/colour-1.0.0.tgz", - "integrity": "sha512-A5P/LfWGFSl6nsckYtjw9da+19jB8hkJ6ACTGcDfEJ0aE+l2n2El7dsVM7UVHZQ9s2lmYMWlrS21YLy2IR1LUw==", + "node_modules/@babel/plugin-transform-spread": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.28.6.tgz", + "integrity": "sha512-9U4QObUC0FtJl05AsUcodau/RWDytrU6uKgkxu09mLR9HLDAtUMoPuuskm5huQsoktmsYpI+bGmq+iapDcriKA==", "license": "MIT", - "optional": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.28.6", + "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1" + }, "engines": { - "node": ">=18" + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@img/sharp-darwin-arm64": { - "version": "0.34.5", - "resolved": "https://registry.npmjs.org/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.34.5.tgz", - "integrity": "sha512-imtQ3WMJXbMY4fxb/Ndp6HBTNVtWCUI0WdobyheGf5+ad6xX8VIDO8u2xE4qc/fr08CKG/7dDseFtn6M6g/r3w==", - "cpu": [ - "arm64" - ], - "license": "Apache-2.0", - "optional": true, - "os": [ - "darwin" - ], + "node_modules/@babel/plugin-transform-sticky-regex": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.27.1.tgz", + "integrity": "sha512-lhInBO5bi/Kowe2/aLdBAawijx+q1pQzicSgnkB6dUPc1+RC8QmJHKf2OjvU+NZWitguJHEaEmbV6VWEouT58g==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.27.1" + }, "engines": { - "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + "node": ">=6.9.0" }, - "funding": { - "url": "https://opencollective.com/libvips" + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-template-literals": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.27.1.tgz", + "integrity": "sha512-fBJKiV7F2DxZUkg5EtHKXQdbsbURW3DZKQUWphDum0uRP6eHGGa/He9mc0mypL680pb+e/lDIthRohlv8NCHkg==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.27.1" }, - "optionalDependencies": { - "@img/sharp-libvips-darwin-arm64": "1.2.4" + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@img/sharp-darwin-x64": { - "version": "0.34.5", - "resolved": "https://registry.npmjs.org/@img/sharp-darwin-x64/-/sharp-darwin-x64-0.34.5.tgz", - "integrity": "sha512-YNEFAF/4KQ/PeW0N+r+aVVsoIY0/qxxikF2SWdp+NRkmMB7y9LBZAVqQ4yhGCm/H3H270OSykqmQMKLBhBJDEw==", - "cpu": [ - "x64" - ], - "license": "Apache-2.0", - "optional": true, - "os": [ - "darwin" - ], + "node_modules/@babel/plugin-transform-typescript": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.28.6.tgz", + "integrity": "sha512-0YWL2RFxOqEm9Efk5PvreamxPME8OyY0wM5wh5lHjF+VtVhdneCWGzZeSqzOfiobVqQaNCd2z0tQvnI9DaPWPw==", + "license": "MIT", + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.27.3", + "@babel/helper-create-class-features-plugin": "^7.28.6", + "@babel/helper-plugin-utils": "^7.28.6", + "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1", + "@babel/plugin-syntax-typescript": "^7.28.6" + }, "engines": { - "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + "node": ">=6.9.0" }, - "funding": { - "url": "https://opencollective.com/libvips" + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-unicode-regex": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.27.1.tgz", + "integrity": "sha512-xvINq24TRojDuyt6JGtHmkVkrfVV3FPT16uytxImLeBZqW3/H52yN+kM1MGuyPkIQxrzKwPHs5U/MP3qKyzkGw==", + "license": "MIT", + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.27.1", + "@babel/helper-plugin-utils": "^7.27.1" }, - "optionalDependencies": { - "@img/sharp-libvips-darwin-x64": "1.2.4" + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@img/sharp-libvips-darwin-arm64": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-arm64/-/sharp-libvips-darwin-arm64-1.2.4.tgz", - "integrity": "sha512-zqjjo7RatFfFoP0MkQ51jfuFZBnVE2pRiaydKJ1G/rHZvnsrHAOcQALIi9sA5co5xenQdTugCvtb1cuf78Vf4g==", - "cpu": [ - "arm64" - ], - "license": "LGPL-3.0-or-later", - "optional": true, - "os": [ - "darwin" - ], - "funding": { - "url": "https://opencollective.com/libvips" + "node_modules/@babel/preset-react": { + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/preset-react/-/preset-react-7.28.5.tgz", + "integrity": "sha512-Z3J8vhRq7CeLjdC58jLv4lnZ5RKFUJWqH5emvxmv9Hv3BD1T9R/Im713R4MTKwvFaV74ejZ3sM01LyEKk4ugNQ==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.27.1", + "@babel/helper-validator-option": "^7.27.1", + "@babel/plugin-transform-react-display-name": "^7.28.0", + "@babel/plugin-transform-react-jsx": "^7.27.1", + "@babel/plugin-transform-react-jsx-development": "^7.27.1", + "@babel/plugin-transform-react-pure-annotations": "^7.27.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@img/sharp-libvips-darwin-x64": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-x64/-/sharp-libvips-darwin-x64-1.2.4.tgz", - "integrity": "sha512-1IOd5xfVhlGwX+zXv2N93k0yMONvUlANylbJw1eTah8K/Jtpi15KC+WSiaX/nBmbm2HxRM1gZ0nSdjSsrZbGKg==", - "cpu": [ - "x64" - ], - "license": "LGPL-3.0-or-later", - "optional": true, - "os": [ - "darwin" - ], - "funding": { - "url": "https://opencollective.com/libvips" + "node_modules/@babel/preset-typescript": { + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.28.5.tgz", + "integrity": "sha512-+bQy5WOI2V6LJZpPVxY+yp66XdZ2yifu0Mc1aP5CQKgjn4QM5IN2i5fAZ4xKop47pr8rpVhiAeu+nDQa12C8+g==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.27.1", + "@babel/helper-validator-option": "^7.27.1", + "@babel/plugin-syntax-jsx": "^7.27.1", + "@babel/plugin-transform-modules-commonjs": "^7.27.1", + "@babel/plugin-transform-typescript": "^7.28.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@img/sharp-libvips-linux-arm": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm/-/sharp-libvips-linux-arm-1.2.4.tgz", - "integrity": "sha512-bFI7xcKFELdiNCVov8e44Ia4u2byA+l3XtsAj+Q8tfCwO6BQ8iDojYdvoPMqsKDkuoOo+X6HZA0s0q11ANMQ8A==", - "cpu": [ - "arm" - ], - "license": "LGPL-3.0-or-later", - "optional": true, - "os": [ - "linux" - ], - "funding": { - "url": "https://opencollective.com/libvips" + "node_modules/@babel/runtime": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.28.6.tgz", + "integrity": "sha512-05WQkdpL9COIMz4LjTxGpPNCdlpyimKppYNoJ5Di5EUObifl8t4tuLuUBBZEpoLYOmfvIWrsp9fCl0HoPRVTdA==", + "license": "MIT", + "engines": { + "node": ">=6.9.0" } }, - "node_modules/@img/sharp-libvips-linux-arm64": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm64/-/sharp-libvips-linux-arm64-1.2.4.tgz", - "integrity": "sha512-excjX8DfsIcJ10x1Kzr4RcWe1edC9PquDRRPx3YVCvQv+U5p7Yin2s32ftzikXojb1PIFc/9Mt28/y+iRklkrw==", - "cpu": [ - "arm64" - ], - "license": "LGPL-3.0-or-later", - "optional": true, - "os": [ - "linux" - ], + "node_modules/@babel/template": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.28.6.tgz", + "integrity": "sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ==", + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.28.6", + "@babel/parser": "^7.28.6", + "@babel/types": "^7.28.6" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/traverse": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.28.6.tgz", + "integrity": "sha512-fgWX62k02qtjqdSNTAGxmKYY/7FSL9WAS1o2Hu5+I5m9T0yxZzr4cnrfXQ/MX0rIifthCSs6FKTlzYbJcPtMNg==", + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.28.6", + "@babel/generator": "^7.28.6", + "@babel/helper-globals": "^7.28.0", + "@babel/parser": "^7.28.6", + "@babel/template": "^7.28.6", + "@babel/types": "^7.28.6", + "debug": "^4.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/traverse--for-generate-function-map": { + "name": "@babel/traverse", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.28.6.tgz", + "integrity": "sha512-fgWX62k02qtjqdSNTAGxmKYY/7FSL9WAS1o2Hu5+I5m9T0yxZzr4cnrfXQ/MX0rIifthCSs6FKTlzYbJcPtMNg==", + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.28.6", + "@babel/generator": "^7.28.6", + "@babel/helper-globals": "^7.28.0", + "@babel/parser": "^7.28.6", + "@babel/template": "^7.28.6", + "@babel/types": "^7.28.6", + "debug": "^4.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/types": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.28.6.tgz", + "integrity": "sha512-0ZrskXVEHSWIqZM/sQZ4EV3jZJXRkio/WCxaqKZP1g//CEWEPSfeZFcms4XeKBCHU0ZKnIkdJeU/kF+eRp5lBg==", + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.27.1", + "@babel/helper-validator-identifier": "^7.28.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@base-ui/react": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@base-ui/react/-/react-1.1.0.tgz", + "integrity": "sha512-ikcJRNj1mOiF2HZ5jQHrXoVoHcNHdBU5ejJljcBl+VTLoYXR6FidjTN86GjO6hyshi6TZFuNvv0dEOgaOFv6Lw==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.28.4", + "@base-ui/utils": "0.2.4", + "@floating-ui/react-dom": "^2.1.6", + "@floating-ui/utils": "^0.2.10", + "reselect": "^5.1.1", + "tabbable": "^6.4.0", + "use-sync-external-store": "^1.6.0" + }, + "engines": { + "node": ">=14.0.0" + }, "funding": { - "url": "https://opencollective.com/libvips" + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + }, + "peerDependencies": { + "@types/react": "^17 || ^18 || ^19", + "react": "^17 || ^18 || ^19", + "react-dom": "^17 || ^18 || ^19" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } } }, - "node_modules/@img/sharp-libvips-linux-ppc64": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-ppc64/-/sharp-libvips-linux-ppc64-1.2.4.tgz", - "integrity": "sha512-FMuvGijLDYG6lW+b/UvyilUWu5Ayu+3r2d1S8notiGCIyYU/76eig1UfMmkZ7vwgOrzKzlQbFSuQfgm7GYUPpA==", + "node_modules/@base-ui/utils": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/@base-ui/utils/-/utils-0.2.4.tgz", + "integrity": "sha512-smZwpMhjO29v+jrZusBSc5T+IJ3vBb9cjIiBjtKcvWmRj9Z4DWGVR3efr1eHR56/bqY5a4qyY9ElkOY5ljo3ng==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.28.4", + "@floating-ui/utils": "^0.2.10", + "reselect": "^5.1.1", + "use-sync-external-store": "^1.6.0" + }, + "peerDependencies": { + "@types/react": "^17 || ^18 || ^19", + "react": "^17 || ^18 || ^19", + "react-dom": "^17 || ^18 || ^19" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@braintree/sanitize-url": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/@braintree/sanitize-url/-/sanitize-url-7.1.1.tgz", + "integrity": "sha512-i1L7noDNxtFyL5DmZafWy1wRVhGehQmzZaz1HiN5e7iylJMSZR7ekOV7NsIqa5qBldlLrsKv4HbgFUVlQrz8Mw==", + "license": "MIT" + }, + "node_modules/@chevrotain/cst-dts-gen": { + "version": "11.0.3", + "resolved": "https://registry.npmjs.org/@chevrotain/cst-dts-gen/-/cst-dts-gen-11.0.3.tgz", + "integrity": "sha512-BvIKpRLeS/8UbfxXxgC33xOumsacaeCKAjAeLyOn7Pcp95HiRbrpl14S+9vaZLolnbssPIUuiUd8IvgkRyt6NQ==", + "license": "Apache-2.0", + "dependencies": { + "@chevrotain/gast": "11.0.3", + "@chevrotain/types": "11.0.3", + "lodash-es": "4.17.21" + } + }, + "node_modules/@chevrotain/cst-dts-gen/node_modules/lodash-es": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz", + "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==", + "license": "MIT" + }, + "node_modules/@chevrotain/gast": { + "version": "11.0.3", + "resolved": "https://registry.npmjs.org/@chevrotain/gast/-/gast-11.0.3.tgz", + "integrity": "sha512-+qNfcoNk70PyS/uxmj3li5NiECO+2YKZZQMbmjTqRI3Qchu8Hig/Q9vgkHpI3alNjr7M+a2St5pw5w5F6NL5/Q==", + "license": "Apache-2.0", + "dependencies": { + "@chevrotain/types": "11.0.3", + "lodash-es": "4.17.21" + } + }, + "node_modules/@chevrotain/gast/node_modules/lodash-es": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz", + "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==", + "license": "MIT" + }, + "node_modules/@chevrotain/regexp-to-ast": { + "version": "11.0.3", + "resolved": "https://registry.npmjs.org/@chevrotain/regexp-to-ast/-/regexp-to-ast-11.0.3.tgz", + "integrity": "sha512-1fMHaBZxLFvWI067AVbGJav1eRY7N8DDvYCTwGBiE/ytKBgP8azTdgyrKyWZ9Mfh09eHWb5PgTSO8wi7U824RA==", + "license": "Apache-2.0" + }, + "node_modules/@chevrotain/types": { + "version": "11.0.3", + "resolved": "https://registry.npmjs.org/@chevrotain/types/-/types-11.0.3.tgz", + "integrity": "sha512-gsiM3G8b58kZC2HaWR50gu6Y1440cHiJ+i3JUvcp/35JchYejb2+5MVeJK0iKThYpAa/P2PYFV4hoi44HD+aHQ==", + "license": "Apache-2.0" + }, + "node_modules/@chevrotain/utils": { + "version": "11.0.3", + "resolved": "https://registry.npmjs.org/@chevrotain/utils/-/utils-11.0.3.tgz", + "integrity": "sha512-YslZMgtJUyuMbZ+aKvfF3x1f5liK4mWNxghFRv7jqRR9C3R3fAOGTTKvxXDa2Y1s9zSbcpuO0cAxDYsc9SrXoQ==", + "license": "Apache-2.0" + }, + "node_modules/@egjs/hammerjs": { + "version": "2.0.17", + "resolved": "https://registry.npmjs.org/@egjs/hammerjs/-/hammerjs-2.0.17.tgz", + "integrity": "sha512-XQsZgjm2EcVUiZQf11UBJQfmZeEmOW8DpI1gsFeln6w0ae0ii4dMQEQ0kjl6DspdWX1aGY1/loyXnP0JS06e/A==", + "license": "MIT", + "dependencies": { + "@types/hammerjs": "^2.0.36" + }, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/@emnapi/core": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.8.1.tgz", + "integrity": "sha512-AvT9QFpxK0Zd8J0jopedNm+w/2fIzvtPKPjqyw9jwvBaReTTqPBk9Hixaz7KbjimP+QNz605/XnjFcDAL2pqBg==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@emnapi/wasi-threads": "1.1.0", + "tslib": "^2.4.0" + } + }, + "node_modules/@emnapi/runtime": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.8.1.tgz", + "integrity": "sha512-mehfKSMWjjNol8659Z8KxEMrdSJDDot5SXMq00dM8BN4o+CLNXQ0xH2V7EchNHV4RmbZLmmPdEaXZc5H2FXmDg==", + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, + "node_modules/@emnapi/wasi-threads": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.1.0.tgz", + "integrity": "sha512-WI0DdZ8xFSbgMjR1sFsKABJ/C5OnRrjT06JXbZKexJGrDuPTzZdDYfFlsgcCXCyf+suG5QU2e/y1Wo2V/OapLQ==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, + "node_modules/@esbuild/aix-ppc64": { + "version": "0.27.2", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.27.2.tgz", + "integrity": "sha512-GZMB+a0mOMZs4MpDbj8RJp4cw+w1WV5NYD6xzgvzUJ5Ek2jerwfO2eADyI6ExDSUED+1X8aMbegahsJi+8mgpw==", "cpu": [ "ppc64" ], - "license": "LGPL-3.0-or-later", + "license": "MIT", "optional": true, "os": [ - "linux" + "aix" ], - "funding": { - "url": "https://opencollective.com/libvips" + "engines": { + "node": ">=18" } }, - "node_modules/@img/sharp-libvips-linux-riscv64": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-riscv64/-/sharp-libvips-linux-riscv64-1.2.4.tgz", - "integrity": "sha512-oVDbcR4zUC0ce82teubSm+x6ETixtKZBh/qbREIOcI3cULzDyb18Sr/Wcyx7NRQeQzOiHTNbZFF1UwPS2scyGA==", + "node_modules/@esbuild/android-arm": { + "version": "0.27.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.27.2.tgz", + "integrity": "sha512-DVNI8jlPa7Ujbr1yjU2PfUSRtAUZPG9I1RwW4F4xFB1Imiu2on0ADiI/c3td+KmDtVKNbi+nffGDQMfcIMkwIA==", "cpu": [ - "riscv64" + "arm" ], - "license": "LGPL-3.0-or-later", + "license": "MIT", "optional": true, "os": [ - "linux" + "android" ], - "funding": { - "url": "https://opencollective.com/libvips" + "engines": { + "node": ">=18" } }, - "node_modules/@img/sharp-libvips-linux-s390x": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-s390x/-/sharp-libvips-linux-s390x-1.2.4.tgz", - "integrity": "sha512-qmp9VrzgPgMoGZyPvrQHqk02uyjA0/QrTO26Tqk6l4ZV0MPWIW6LTkqOIov+J1yEu7MbFQaDpwdwJKhbJvuRxQ==", + "node_modules/@esbuild/android-arm64": { + "version": "0.27.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.27.2.tgz", + "integrity": "sha512-pvz8ZZ7ot/RBphf8fv60ljmaoydPU12VuXHImtAs0XhLLw+EXBi2BLe3OYSBslR4rryHvweW5gmkKFwTiFy6KA==", "cpu": [ - "s390x" + "arm64" ], - "license": "LGPL-3.0-or-later", + "license": "MIT", "optional": true, "os": [ - "linux" + "android" ], - "funding": { - "url": "https://opencollective.com/libvips" + "engines": { + "node": ">=18" } }, - "node_modules/@img/sharp-libvips-linux-x64": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-x64/-/sharp-libvips-linux-x64-1.2.4.tgz", - "integrity": "sha512-tJxiiLsmHc9Ax1bz3oaOYBURTXGIRDODBqhveVHonrHJ9/+k89qbLl0bcJns+e4t4rvaNBxaEZsFtSfAdquPrw==", + "node_modules/@esbuild/android-x64": { + "version": "0.27.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.27.2.tgz", + "integrity": "sha512-z8Ank4Byh4TJJOh4wpz8g2vDy75zFL0TlZlkUkEwYXuPSgX8yzep596n6mT7905kA9uHZsf/o2OJZubl2l3M7A==", "cpu": [ "x64" ], - "license": "LGPL-3.0-or-later", + "license": "MIT", "optional": true, "os": [ - "linux" + "android" ], - "funding": { - "url": "https://opencollective.com/libvips" + "engines": { + "node": ">=18" } }, - "node_modules/@img/sharp-libvips-linuxmusl-arm64": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-arm64/-/sharp-libvips-linuxmusl-arm64-1.2.4.tgz", - "integrity": "sha512-FVQHuwx1IIuNow9QAbYUzJ+En8KcVm9Lk5+uGUQJHaZmMECZmOlix9HnH7n1TRkXMS0pGxIJokIVB9SuqZGGXw==", - "cpu": [ + "node_modules/@esbuild/darwin-arm64": { + "version": "0.27.2", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.27.2.tgz", + "integrity": "sha512-davCD2Zc80nzDVRwXTcQP/28fiJbcOwvdolL0sOiOsbwBa72kegmVU0Wrh1MYrbuCL98Omp5dVhQFWRKR2ZAlg==", + "cpu": [ "arm64" ], - "license": "LGPL-3.0-or-later", + "license": "MIT", "optional": true, "os": [ - "linux" + "darwin" ], - "funding": { - "url": "https://opencollective.com/libvips" + "engines": { + "node": ">=18" } }, - "node_modules/@img/sharp-libvips-linuxmusl-x64": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-x64/-/sharp-libvips-linuxmusl-x64-1.2.4.tgz", - "integrity": "sha512-+LpyBk7L44ZIXwz/VYfglaX/okxezESc6UxDSoyo2Ks6Jxc4Y7sGjpgU9s4PMgqgjj1gZCylTieNamqA1MF7Dg==", + "node_modules/@esbuild/darwin-x64": { + "version": "0.27.2", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.27.2.tgz", + "integrity": "sha512-ZxtijOmlQCBWGwbVmwOF/UCzuGIbUkqB1faQRf5akQmxRJ1ujusWsb3CVfk/9iZKr2L5SMU5wPBi1UWbvL+VQA==", "cpu": [ "x64" ], - "license": "LGPL-3.0-or-later", + "license": "MIT", "optional": true, "os": [ - "linux" + "darwin" ], - "funding": { - "url": "https://opencollective.com/libvips" + "engines": { + "node": ">=18" } }, - "node_modules/@img/sharp-linux-arm": { - "version": "0.34.5", - "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm/-/sharp-linux-arm-0.34.5.tgz", - "integrity": "sha512-9dLqsvwtg1uuXBGZKsxem9595+ujv0sJ6Vi8wcTANSFpwV/GONat5eCkzQo/1O6zRIkh0m/8+5BjrRr7jDUSZw==", + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.27.2", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.27.2.tgz", + "integrity": "sha512-lS/9CN+rgqQ9czogxlMcBMGd+l8Q3Nj1MFQwBZJyoEKI50XGxwuzznYdwcav6lpOGv5BqaZXqvBSiB/kJ5op+g==", "cpu": [ - "arm" + "arm64" ], - "license": "Apache-2.0", + "license": "MIT", "optional": true, "os": [ - "linux" + "freebsd" ], "engines": { - "node": "^18.17.0 || ^20.3.0 || >=21.0.0" - }, - "funding": { - "url": "https://opencollective.com/libvips" - }, - "optionalDependencies": { - "@img/sharp-libvips-linux-arm": "1.2.4" + "node": ">=18" } }, - "node_modules/@img/sharp-linux-arm64": { - "version": "0.34.5", - "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm64/-/sharp-linux-arm64-0.34.5.tgz", - "integrity": "sha512-bKQzaJRY/bkPOXyKx5EVup7qkaojECG6NLYswgktOZjaXecSAeCWiZwwiFf3/Y+O1HrauiE3FVsGxFg8c24rZg==", + "node_modules/@esbuild/freebsd-x64": { + "version": "0.27.2", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.27.2.tgz", + "integrity": "sha512-tAfqtNYb4YgPnJlEFu4c212HYjQWSO/w/h/lQaBK7RbwGIkBOuNKQI9tqWzx7Wtp7bTPaGC6MJvWI608P3wXYA==", "cpu": [ - "arm64" + "x64" ], - "license": "Apache-2.0", + "license": "MIT", "optional": true, "os": [ - "linux" + "freebsd" ], "engines": { - "node": "^18.17.0 || ^20.3.0 || >=21.0.0" - }, - "funding": { - "url": "https://opencollective.com/libvips" - }, - "optionalDependencies": { - "@img/sharp-libvips-linux-arm64": "1.2.4" + "node": ">=18" } }, - "node_modules/@img/sharp-linux-ppc64": { - "version": "0.34.5", - "resolved": "https://registry.npmjs.org/@img/sharp-linux-ppc64/-/sharp-linux-ppc64-0.34.5.tgz", - "integrity": "sha512-7zznwNaqW6YtsfrGGDA6BRkISKAAE1Jo0QdpNYXNMHu2+0dTrPflTLNkpc8l7MUP5M16ZJcUvysVWWrMefZquA==", + "node_modules/@esbuild/linux-arm": { + "version": "0.27.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.27.2.tgz", + "integrity": "sha512-vWfq4GaIMP9AIe4yj1ZUW18RDhx6EPQKjwe7n8BbIecFtCQG4CfHGaHuh7fdfq+y3LIA2vGS/o9ZBGVxIDi9hw==", "cpu": [ - "ppc64" + "arm" ], - "license": "Apache-2.0", + "license": "MIT", "optional": true, "os": [ "linux" ], "engines": { - "node": "^18.17.0 || ^20.3.0 || >=21.0.0" - }, - "funding": { - "url": "https://opencollective.com/libvips" - }, - "optionalDependencies": { - "@img/sharp-libvips-linux-ppc64": "1.2.4" + "node": ">=18" } }, - "node_modules/@img/sharp-linux-riscv64": { - "version": "0.34.5", - "resolved": "https://registry.npmjs.org/@img/sharp-linux-riscv64/-/sharp-linux-riscv64-0.34.5.tgz", - "integrity": "sha512-51gJuLPTKa7piYPaVs8GmByo7/U7/7TZOq+cnXJIHZKavIRHAP77e3N2HEl3dgiqdD/w0yUfiJnII77PuDDFdw==", + "node_modules/@esbuild/linux-arm64": { + "version": "0.27.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.27.2.tgz", + "integrity": "sha512-hYxN8pr66NsCCiRFkHUAsxylNOcAQaxSSkHMMjcpx0si13t1LHFphxJZUiGwojB1a/Hd5OiPIqDdXONia6bhTw==", "cpu": [ - "riscv64" + "arm64" ], - "license": "Apache-2.0", + "license": "MIT", "optional": true, "os": [ "linux" ], "engines": { - "node": "^18.17.0 || ^20.3.0 || >=21.0.0" - }, - "funding": { - "url": "https://opencollective.com/libvips" - }, - "optionalDependencies": { - "@img/sharp-libvips-linux-riscv64": "1.2.4" + "node": ">=18" } }, - "node_modules/@img/sharp-linux-s390x": { - "version": "0.34.5", - "resolved": "https://registry.npmjs.org/@img/sharp-linux-s390x/-/sharp-linux-s390x-0.34.5.tgz", - "integrity": "sha512-nQtCk0PdKfho3eC5MrbQoigJ2gd1CgddUMkabUj+rBevs8tZ2cULOx46E7oyX+04WGfABgIwmMC0VqieTiR4jg==", + "node_modules/@esbuild/linux-ia32": { + "version": "0.27.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.27.2.tgz", + "integrity": "sha512-MJt5BRRSScPDwG2hLelYhAAKh9imjHK5+NE/tvnRLbIqUWa+0E9N4WNMjmp/kXXPHZGqPLxggwVhz7QP8CTR8w==", "cpu": [ - "s390x" + "ia32" ], - "license": "Apache-2.0", + "license": "MIT", "optional": true, "os": [ "linux" ], "engines": { - "node": "^18.17.0 || ^20.3.0 || >=21.0.0" - }, - "funding": { - "url": "https://opencollective.com/libvips" - }, - "optionalDependencies": { - "@img/sharp-libvips-linux-s390x": "1.2.4" + "node": ">=18" } }, - "node_modules/@img/sharp-linux-x64": { - "version": "0.34.5", - "resolved": "https://registry.npmjs.org/@img/sharp-linux-x64/-/sharp-linux-x64-0.34.5.tgz", - "integrity": "sha512-MEzd8HPKxVxVenwAa+JRPwEC7QFjoPWuS5NZnBt6B3pu7EG2Ge0id1oLHZpPJdn3OQK+BQDiw9zStiHBTJQQQQ==", + "node_modules/@esbuild/linux-loong64": { + "version": "0.27.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.27.2.tgz", + "integrity": "sha512-lugyF1atnAT463aO6KPshVCJK5NgRnU4yb3FUumyVz+cGvZbontBgzeGFO1nF+dPueHD367a2ZXe1NtUkAjOtg==", "cpu": [ - "x64" + "loong64" ], - "license": "Apache-2.0", + "license": "MIT", "optional": true, "os": [ "linux" ], "engines": { - "node": "^18.17.0 || ^20.3.0 || >=21.0.0" - }, - "funding": { - "url": "https://opencollective.com/libvips" - }, - "optionalDependencies": { - "@img/sharp-libvips-linux-x64": "1.2.4" + "node": ">=18" } }, - "node_modules/@img/sharp-linuxmusl-arm64": { - "version": "0.34.5", - "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-arm64/-/sharp-linuxmusl-arm64-0.34.5.tgz", - "integrity": "sha512-fprJR6GtRsMt6Kyfq44IsChVZeGN97gTD331weR1ex1c1rypDEABN6Tm2xa1wE6lYb5DdEnk03NZPqA7Id21yg==", + "node_modules/@esbuild/linux-mips64el": { + "version": "0.27.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.27.2.tgz", + "integrity": "sha512-nlP2I6ArEBewvJ2gjrrkESEZkB5mIoaTswuqNFRv/WYd+ATtUpe9Y09RnJvgvdag7he0OWgEZWhviS1OTOKixw==", "cpu": [ - "arm64" + "mips64el" ], - "license": "Apache-2.0", + "license": "MIT", "optional": true, "os": [ "linux" ], "engines": { - "node": "^18.17.0 || ^20.3.0 || >=21.0.0" - }, - "funding": { - "url": "https://opencollective.com/libvips" - }, - "optionalDependencies": { - "@img/sharp-libvips-linuxmusl-arm64": "1.2.4" + "node": ">=18" } }, - "node_modules/@img/sharp-linuxmusl-x64": { - "version": "0.34.5", - "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-x64/-/sharp-linuxmusl-x64-0.34.5.tgz", - "integrity": "sha512-Jg8wNT1MUzIvhBFxViqrEhWDGzqymo3sV7z7ZsaWbZNDLXRJZoRGrjulp60YYtV4wfY8VIKcWidjojlLcWrd8Q==", + "node_modules/@esbuild/linux-ppc64": { + "version": "0.27.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.27.2.tgz", + "integrity": "sha512-C92gnpey7tUQONqg1n6dKVbx3vphKtTHJaNG2Ok9lGwbZil6DrfyecMsp9CrmXGQJmZ7iiVXvvZH6Ml5hL6XdQ==", "cpu": [ - "x64" + "ppc64" ], - "license": "Apache-2.0", + "license": "MIT", "optional": true, "os": [ "linux" ], "engines": { - "node": "^18.17.0 || ^20.3.0 || >=21.0.0" - }, - "funding": { - "url": "https://opencollective.com/libvips" - }, - "optionalDependencies": { - "@img/sharp-libvips-linuxmusl-x64": "1.2.4" + "node": ">=18" } }, - "node_modules/@img/sharp-wasm32": { - "version": "0.34.5", - "resolved": "https://registry.npmjs.org/@img/sharp-wasm32/-/sharp-wasm32-0.34.5.tgz", - "integrity": "sha512-OdWTEiVkY2PHwqkbBI8frFxQQFekHaSSkUIJkwzclWZe64O1X4UlUjqqqLaPbUpMOQk6FBu/HtlGXNblIs0huw==", + "node_modules/@esbuild/linux-riscv64": { + "version": "0.27.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.27.2.tgz", + "integrity": "sha512-B5BOmojNtUyN8AXlK0QJyvjEZkWwy/FKvakkTDCziX95AowLZKR6aCDhG7LeF7uMCXEJqwa8Bejz5LTPYm8AvA==", "cpu": [ - "wasm32" + "riscv64" ], - "license": "Apache-2.0 AND LGPL-3.0-or-later AND MIT", + "license": "MIT", "optional": true, - "dependencies": { - "@emnapi/runtime": "^1.7.0" - }, + "os": [ + "linux" + ], "engines": { - "node": "^18.17.0 || ^20.3.0 || >=21.0.0" - }, - "funding": { - "url": "https://opencollective.com/libvips" + "node": ">=18" } }, - "node_modules/@img/sharp-win32-arm64": { - "version": "0.34.5", - "resolved": "https://registry.npmjs.org/@img/sharp-win32-arm64/-/sharp-win32-arm64-0.34.5.tgz", - "integrity": "sha512-WQ3AgWCWYSb2yt+IG8mnC6Jdk9Whs7O0gxphblsLvdhSpSTtmu69ZG1Gkb6NuvxsNACwiPV6cNSZNzt0KPsw7g==", + "node_modules/@esbuild/linux-s390x": { + "version": "0.27.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.27.2.tgz", + "integrity": "sha512-p4bm9+wsPwup5Z8f4EpfN63qNagQ47Ua2znaqGH6bqLlmJ4bx97Y9JdqxgGZ6Y8xVTixUnEkoKSHcpRlDnNr5w==", "cpu": [ - "arm64" + "s390x" ], - "license": "Apache-2.0 AND LGPL-3.0-or-later", + "license": "MIT", "optional": true, "os": [ - "win32" + "linux" ], "engines": { - "node": "^18.17.0 || ^20.3.0 || >=21.0.0" - }, - "funding": { - "url": "https://opencollective.com/libvips" + "node": ">=18" } }, - "node_modules/@img/sharp-win32-ia32": { - "version": "0.34.5", - "resolved": "https://registry.npmjs.org/@img/sharp-win32-ia32/-/sharp-win32-ia32-0.34.5.tgz", - "integrity": "sha512-FV9m/7NmeCmSHDD5j4+4pNI8Cp3aW+JvLoXcTUo0IqyjSfAZJ8dIUmijx1qaJsIiU+Hosw6xM5KijAWRJCSgNg==", + "node_modules/@esbuild/linux-x64": { + "version": "0.27.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.27.2.tgz", + "integrity": "sha512-uwp2Tip5aPmH+NRUwTcfLb+W32WXjpFejTIOWZFw/v7/KnpCDKG66u4DLcurQpiYTiYwQ9B7KOeMJvLCu/OvbA==", "cpu": [ - "ia32" + "x64" ], - "license": "Apache-2.0 AND LGPL-3.0-or-later", + "license": "MIT", "optional": true, "os": [ - "win32" + "linux" ], "engines": { - "node": "^18.17.0 || ^20.3.0 || >=21.0.0" - }, - "funding": { - "url": "https://opencollective.com/libvips" + "node": ">=18" } }, - "node_modules/@img/sharp-win32-x64": { - "version": "0.34.5", - "resolved": "https://registry.npmjs.org/@img/sharp-win32-x64/-/sharp-win32-x64-0.34.5.tgz", - "integrity": "sha512-+29YMsqY2/9eFEiW93eqWnuLcWcufowXewwSNIT6UwZdUUCrM3oFjMWH/Z6/TMmb4hlFenmfAVbpWeup2jryCw==", + "node_modules/@esbuild/netbsd-arm64": { + "version": "0.27.2", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.27.2.tgz", + "integrity": "sha512-Kj6DiBlwXrPsCRDeRvGAUb/LNrBASrfqAIok+xB0LxK8CHqxZ037viF13ugfsIpePH93mX7xfJp97cyDuTZ3cw==", "cpu": [ - "x64" + "arm64" ], - "license": "Apache-2.0 AND LGPL-3.0-or-later", + "license": "MIT", "optional": true, "os": [ - "win32" + "netbsd" ], "engines": { - "node": "^18.17.0 || ^20.3.0 || >=21.0.0" - }, - "funding": { - "url": "https://opencollective.com/libvips" - } - }, - "node_modules/@isaacs/balanced-match": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@isaacs/balanced-match/-/balanced-match-4.0.1.tgz", - "integrity": "sha512-yzMTt9lEb8Gv7zRioUilSglI0c0smZ9k5D65677DLWLtWJaXIS3CqcGyUFByYKlnUj6TkjLVs54fBl6+TiGQDQ==", - "license": "MIT", - "engines": { - "node": "20 || >=22" - } - }, - "node_modules/@isaacs/brace-expansion": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@isaacs/brace-expansion/-/brace-expansion-5.0.0.tgz", - "integrity": "sha512-ZT55BDLV0yv0RBm2czMiZ+SqCGO7AvmOM3G/w2xhVPH+te0aKgFjmBvGlL1dH+ql2tgGO3MVrbb3jCKyvpgnxA==", - "license": "MIT", - "dependencies": { - "@isaacs/balanced-match": "^4.0.1" - }, - "engines": { - "node": "20 || >=22" - } - }, - "node_modules/@jridgewell/gen-mapping": { - "version": "0.3.13", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz", - "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@jridgewell/sourcemap-codec": "^1.5.0", - "@jridgewell/trace-mapping": "^0.3.24" - } - }, - "node_modules/@jridgewell/remapping": { - "version": "2.3.5", - "resolved": "https://registry.npmjs.org/@jridgewell/remapping/-/remapping-2.3.5.tgz", - "integrity": "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@jridgewell/gen-mapping": "^0.3.5", - "@jridgewell/trace-mapping": "^0.3.24" - } - }, - "node_modules/@jridgewell/resolve-uri": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", - "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@jridgewell/sourcemap-codec": { - "version": "1.5.5", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz", - "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==", - "dev": true, - "license": "MIT" - }, - "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.31", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz", - "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@jridgewell/resolve-uri": "^3.1.0", - "@jridgewell/sourcemap-codec": "^1.4.14" - } - }, - "node_modules/@mdx-js/mdx": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@mdx-js/mdx/-/mdx-3.1.1.tgz", - "integrity": "sha512-f6ZO2ifpwAQIpzGWaBQT2TXxPv6z3RBzQKpVftEWN78Vl/YweF1uwussDx8ECAXVtr3Rs89fKyG9YlzUs9DyGQ==", - "license": "MIT", - "dependencies": { - "@types/estree": "^1.0.0", - "@types/estree-jsx": "^1.0.0", - "@types/hast": "^3.0.0", - "@types/mdx": "^2.0.0", - "acorn": "^8.0.0", - "collapse-white-space": "^2.0.0", - "devlop": "^1.0.0", - "estree-util-is-identifier-name": "^3.0.0", - "estree-util-scope": "^1.0.0", - "estree-walker": "^3.0.0", - "hast-util-to-jsx-runtime": "^2.0.0", - "markdown-extensions": "^2.0.0", - "recma-build-jsx": "^1.0.0", - "recma-jsx": "^1.0.0", - "recma-stringify": "^1.0.0", - "rehype-recma": "^1.0.0", - "remark-mdx": "^3.0.0", - "remark-parse": "^11.0.0", - "remark-rehype": "^11.0.0", - "source-map": "^0.7.0", - "unified": "^11.0.0", - "unist-util-position-from-estree": "^2.0.0", - "unist-util-stringify-position": "^4.0.0", - "unist-util-visit": "^5.0.0", - "vfile": "^6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/@mermaid-js/parser": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/@mermaid-js/parser/-/parser-0.6.3.tgz", - "integrity": "sha512-lnjOhe7zyHjc+If7yT4zoedx2vo4sHaTmtkl1+or8BRTnCtDmcTpAjpzDSfCZrshM5bCoz0GyidzadJAH1xobA==", - "license": "MIT", - "dependencies": { - "langium": "3.3.1" - } - }, - "node_modules/@napi-rs/simple-git": { - "version": "0.1.22", - "resolved": "https://registry.npmjs.org/@napi-rs/simple-git/-/simple-git-0.1.22.tgz", - "integrity": "sha512-bMVoAKhpjTOPHkW/lprDPwv5aD4R4C3Irt8vn+SKA9wudLe9COLxOhurrKRsxmZccUbWXRF7vukNeGUAj5P8kA==", - "license": "MIT", - "engines": { - "node": ">= 10" - }, - "optionalDependencies": { - "@napi-rs/simple-git-android-arm-eabi": "0.1.22", - "@napi-rs/simple-git-android-arm64": "0.1.22", - "@napi-rs/simple-git-darwin-arm64": "0.1.22", - "@napi-rs/simple-git-darwin-x64": "0.1.22", - "@napi-rs/simple-git-freebsd-x64": "0.1.22", - "@napi-rs/simple-git-linux-arm-gnueabihf": "0.1.22", - "@napi-rs/simple-git-linux-arm64-gnu": "0.1.22", - "@napi-rs/simple-git-linux-arm64-musl": "0.1.22", - "@napi-rs/simple-git-linux-ppc64-gnu": "0.1.22", - "@napi-rs/simple-git-linux-s390x-gnu": "0.1.22", - "@napi-rs/simple-git-linux-x64-gnu": "0.1.22", - "@napi-rs/simple-git-linux-x64-musl": "0.1.22", - "@napi-rs/simple-git-win32-arm64-msvc": "0.1.22", - "@napi-rs/simple-git-win32-ia32-msvc": "0.1.22", - "@napi-rs/simple-git-win32-x64-msvc": "0.1.22" + "node": ">=18" } }, - "node_modules/@napi-rs/simple-git-android-arm-eabi": { - "version": "0.1.22", - "resolved": "https://registry.npmjs.org/@napi-rs/simple-git-android-arm-eabi/-/simple-git-android-arm-eabi-0.1.22.tgz", - "integrity": "sha512-JQZdnDNm8o43A5GOzwN/0Tz3CDBQtBUNqzVwEopm32uayjdjxev1Csp1JeaqF3v9djLDIvsSE39ecsN2LhCKKQ==", + "node_modules/@esbuild/netbsd-x64": { + "version": "0.27.2", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.27.2.tgz", + "integrity": "sha512-HwGDZ0VLVBY3Y+Nw0JexZy9o/nUAWq9MlV7cahpaXKW6TOzfVno3y3/M8Ga8u8Yr7GldLOov27xiCnqRZf0tCA==", "cpu": [ - "arm" + "x64" ], "license": "MIT", "optional": true, "os": [ - "android" + "netbsd" ], "engines": { - "node": ">= 10" + "node": ">=18" } }, - "node_modules/@napi-rs/simple-git-android-arm64": { - "version": "0.1.22", - "resolved": "https://registry.npmjs.org/@napi-rs/simple-git-android-arm64/-/simple-git-android-arm64-0.1.22.tgz", - "integrity": "sha512-46OZ0SkhnvM+fapWjzg/eqbJvClxynUpWYyYBn4jAj7GQs1/Yyc8431spzDmkA8mL0M7Xo8SmbkzTDE7WwYAfg==", + "node_modules/@esbuild/openbsd-arm64": { + "version": "0.27.2", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.27.2.tgz", + "integrity": "sha512-DNIHH2BPQ5551A7oSHD0CKbwIA/Ox7+78/AWkbS5QoRzaqlev2uFayfSxq68EkonB+IKjiuxBFoV8ESJy8bOHA==", "cpu": [ "arm64" ], "license": "MIT", "optional": true, "os": [ - "android" + "openbsd" ], "engines": { - "node": ">= 10" + "node": ">=18" } }, - "node_modules/@napi-rs/simple-git-darwin-arm64": { - "version": "0.1.22", - "resolved": "https://registry.npmjs.org/@napi-rs/simple-git-darwin-arm64/-/simple-git-darwin-arm64-0.1.22.tgz", - "integrity": "sha512-zH3h0C8Mkn9//MajPI6kHnttywjsBmZ37fhLX/Fiw5XKu84eHA6dRyVtMzoZxj6s+bjNTgaMgMUucxPn9ktxTQ==", + "node_modules/@esbuild/openbsd-x64": { + "version": "0.27.2", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.27.2.tgz", + "integrity": "sha512-/it7w9Nb7+0KFIzjalNJVR5bOzA9Vay+yIPLVHfIQYG/j+j9VTH84aNB8ExGKPU4AzfaEvN9/V4HV+F+vo8OEg==", "cpu": [ - "arm64" + "x64" ], "license": "MIT", "optional": true, "os": [ - "darwin" + "openbsd" ], "engines": { - "node": ">= 10" + "node": ">=18" } }, - "node_modules/@napi-rs/simple-git-darwin-x64": { - "version": "0.1.22", - "resolved": "https://registry.npmjs.org/@napi-rs/simple-git-darwin-x64/-/simple-git-darwin-x64-0.1.22.tgz", - "integrity": "sha512-GZN7lRAkGKB6PJxWsoyeYJhh85oOOjVNyl+/uipNX8bR+mFDCqRsCE3rRCFGV9WrZUHXkcuRL2laIRn7lLi3ag==", + "node_modules/@esbuild/openharmony-arm64": { + "version": "0.27.2", + "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.27.2.tgz", + "integrity": "sha512-LRBbCmiU51IXfeXk59csuX/aSaToeG7w48nMwA6049Y4J4+VbWALAuXcs+qcD04rHDuSCSRKdmY63sruDS5qag==", "cpu": [ - "x64" + "arm64" ], "license": "MIT", "optional": true, "os": [ - "darwin" + "openharmony" ], "engines": { - "node": ">= 10" + "node": ">=18" } }, - "node_modules/@napi-rs/simple-git-freebsd-x64": { - "version": "0.1.22", - "resolved": "https://registry.npmjs.org/@napi-rs/simple-git-freebsd-x64/-/simple-git-freebsd-x64-0.1.22.tgz", - "integrity": "sha512-xyqX1C5I0WBrUgZONxHjZH5a4LqQ9oki3SKFAVpercVYAcx3pq6BkZy1YUOP4qx78WxU1CCNfHBN7V+XO7D99A==", + "node_modules/@esbuild/sunos-x64": { + "version": "0.27.2", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.27.2.tgz", + "integrity": "sha512-kMtx1yqJHTmqaqHPAzKCAkDaKsffmXkPHThSfRwZGyuqyIeBvf08KSsYXl+abf5HDAPMJIPnbBfXvP2ZC2TfHg==", "cpu": [ "x64" ], "license": "MIT", "optional": true, "os": [ - "freebsd" + "sunos" ], "engines": { - "node": ">= 10" + "node": ">=18" } }, - "node_modules/@napi-rs/simple-git-linux-arm-gnueabihf": { - "version": "0.1.22", - "resolved": "https://registry.npmjs.org/@napi-rs/simple-git-linux-arm-gnueabihf/-/simple-git-linux-arm-gnueabihf-0.1.22.tgz", - "integrity": "sha512-4LOtbp9ll93B9fxRvXiUJd1/RM3uafMJE7dGBZGKWBMGM76+BAcCEUv2BY85EfsU/IgopXI6n09TycRfPWOjxA==", + "node_modules/@esbuild/win32-arm64": { + "version": "0.27.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.27.2.tgz", + "integrity": "sha512-Yaf78O/B3Kkh+nKABUF++bvJv5Ijoy9AN1ww904rOXZFLWVc5OLOfL56W+C8F9xn5JQZa3UX6m+IktJnIb1Jjg==", "cpu": [ - "arm" + "arm64" ], "license": "MIT", "optional": true, "os": [ - "linux" + "win32" ], "engines": { - "node": ">= 10" + "node": ">=18" } }, - "node_modules/@napi-rs/simple-git-linux-arm64-gnu": { - "version": "0.1.22", - "resolved": "https://registry.npmjs.org/@napi-rs/simple-git-linux-arm64-gnu/-/simple-git-linux-arm64-gnu-0.1.22.tgz", - "integrity": "sha512-GVOjP/JjCzbQ0kSqao7ctC/1sodVtv5VF57rW9BFpo2y6tEYPCqHnkQkTpieuwMNe+TVOhBUC1+wH0d9/knIHg==", + "node_modules/@esbuild/win32-ia32": { + "version": "0.27.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.27.2.tgz", + "integrity": "sha512-Iuws0kxo4yusk7sw70Xa2E2imZU5HoixzxfGCdxwBdhiDgt9vX9VUCBhqcwY7/uh//78A1hMkkROMJq9l27oLQ==", "cpu": [ - "arm64" + "ia32" ], "license": "MIT", "optional": true, "os": [ - "linux" + "win32" ], "engines": { - "node": ">= 10" + "node": ">=18" } }, - "node_modules/@napi-rs/simple-git-linux-arm64-musl": { - "version": "0.1.22", - "resolved": "https://registry.npmjs.org/@napi-rs/simple-git-linux-arm64-musl/-/simple-git-linux-arm64-musl-0.1.22.tgz", - "integrity": "sha512-MOs7fPyJiU/wqOpKzAOmOpxJ/TZfP4JwmvPad/cXTOWYwwyppMlXFRms3i98EU3HOazI/wMU2Ksfda3+TBluWA==", + "node_modules/@esbuild/win32-x64": { + "version": "0.27.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.27.2.tgz", + "integrity": "sha512-sRdU18mcKf7F+YgheI/zGf5alZatMUTKj/jNS6l744f9u3WFu4v7twcUI9vu4mknF4Y9aDlblIie0IM+5xxaqQ==", "cpu": [ - "arm64" + "x64" ], "license": "MIT", "optional": true, "os": [ - "linux" + "win32" ], "engines": { - "node": ">= 10" + "node": ">=18" } }, - "node_modules/@napi-rs/simple-git-linux-ppc64-gnu": { - "version": "0.1.22", - "resolved": "https://registry.npmjs.org/@napi-rs/simple-git-linux-ppc64-gnu/-/simple-git-linux-ppc64-gnu-0.1.22.tgz", - "integrity": "sha512-L59dR30VBShRUIZ5/cQHU25upNgKS0AMQ7537J6LCIUEFwwXrKORZKJ8ceR+s3Sr/4jempWVvMdjEpFDE4HYww==", - "cpu": [ - "ppc64" - ], + "node_modules/@eslint-community/eslint-utils": { + "version": "4.9.1", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.9.1.tgz", + "integrity": "sha512-phrYmNiYppR7znFEdqgfWHXR6NCkZEK7hwWDHZUjit/2/U0r6XvkDl0SYnoM51Hq7FhCGdLDT6zxCCOY1hexsQ==", + "dev": true, "license": "MIT", - "optional": true, - "os": [ - "linux" - ], + "dependencies": { + "eslint-visitor-keys": "^3.4.3" + }, "engines": { - "node": ">= 10" + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" } }, - "node_modules/@napi-rs/simple-git-linux-s390x-gnu": { - "version": "0.1.22", - "resolved": "https://registry.npmjs.org/@napi-rs/simple-git-linux-s390x-gnu/-/simple-git-linux-s390x-gnu-0.1.22.tgz", - "integrity": "sha512-4FHkPlCSIZUGC6HiADffbe6NVoTBMd65pIwcd40IDbtFKOgFMBA+pWRqKiQ21FERGH16Zed7XHJJoY3jpOqtmQ==", - "cpu": [ - "s390x" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], + "node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "dev": true, + "license": "Apache-2.0", "engines": { - "node": ">= 10" + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" } }, - "node_modules/@napi-rs/simple-git-linux-x64-gnu": { - "version": "0.1.22", - "resolved": "https://registry.npmjs.org/@napi-rs/simple-git-linux-x64-gnu/-/simple-git-linux-x64-gnu-0.1.22.tgz", - "integrity": "sha512-Ei1tM5Ho/dwknF3pOzqkNW9Iv8oFzRxE8uOhrITcdlpxRxVrBVptUF6/0WPdvd7R9747D/q61QG/AVyWsWLFKw==", - "cpu": [ - "x64" - ], + "node_modules/@eslint-community/regexpp": { + "version": "4.12.2", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.2.tgz", + "integrity": "sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew==", + "dev": true, "license": "MIT", - "optional": true, - "os": [ - "linux" - ], "engines": { - "node": ">= 10" + "node": "^12.0.0 || ^14.0.0 || >=16.0.0" } }, - "node_modules/@napi-rs/simple-git-linux-x64-musl": { - "version": "0.1.22", - "resolved": "https://registry.npmjs.org/@napi-rs/simple-git-linux-x64-musl/-/simple-git-linux-x64-musl-0.1.22.tgz", - "integrity": "sha512-zRYxg7it0p3rLyEJYoCoL2PQJNgArVLyNavHW03TFUAYkYi5bxQ/UFNVpgxMaXohr5yu7qCBqeo9j4DWeysalg==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], + "node_modules/@eslint/config-array": { + "version": "0.21.1", + "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.21.1.tgz", + "integrity": "sha512-aw1gNayWpdI/jSYVgzN5pL0cfzU02GT3NBpeT/DXbx1/1x7ZKxFPd9bwrzygx/qiwIQiJ1sw/zD8qY/kRvlGHA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@eslint/object-schema": "^2.1.7", + "debug": "^4.3.1", + "minimatch": "^3.1.2" + }, "engines": { - "node": ">= 10" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" } }, - "node_modules/@napi-rs/simple-git-win32-arm64-msvc": { - "version": "0.1.22", - "resolved": "https://registry.npmjs.org/@napi-rs/simple-git-win32-arm64-msvc/-/simple-git-win32-arm64-msvc-0.1.22.tgz", - "integrity": "sha512-XGFR1fj+Y9cWACcovV2Ey/R2xQOZKs8t+7KHPerYdJ4PtjVzGznI4c2EBHXtdOIYvkw7tL5rZ7FN1HJKdD5Quw==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], + "node_modules/@eslint/config-helpers": { + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.4.2.tgz", + "integrity": "sha512-gBrxN88gOIf3R7ja5K9slwNayVcZgK6SOUORm2uBzTeIEfeVaIhOpCtTox3P6R7o2jLFwLFTLnC7kU/RGcYEgw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@eslint/core": "^0.17.0" + }, "engines": { - "node": ">= 10" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" } }, - "node_modules/@napi-rs/simple-git-win32-ia32-msvc": { - "version": "0.1.22", - "resolved": "https://registry.npmjs.org/@napi-rs/simple-git-win32-ia32-msvc/-/simple-git-win32-ia32-msvc-0.1.22.tgz", - "integrity": "sha512-Gqr9Y0gs6hcNBA1IXBpoqTFnnIoHuZGhrYqaZzEvGMLrTrpbXrXVEtX3DAAD2RLc1b87CPcJ49a7sre3PU3Rfw==", - "cpu": [ - "ia32" - ], - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], + "node_modules/@eslint/core": { + "version": "0.17.0", + "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.17.0.tgz", + "integrity": "sha512-yL/sLrpmtDaFEiUj1osRP4TI2MDz1AddJL+jZ7KSqvBuliN4xqYY54IfdN8qD8Toa6g1iloph1fxQNkjOxrrpQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@types/json-schema": "^7.0.15" + }, "engines": { - "node": ">= 10" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" } }, - "node_modules/@napi-rs/simple-git-win32-x64-msvc": { - "version": "0.1.22", - "resolved": "https://registry.npmjs.org/@napi-rs/simple-git-win32-x64-msvc/-/simple-git-win32-x64-msvc-0.1.22.tgz", - "integrity": "sha512-hQjcreHmUcpw4UrtkOron1/TQObfe484lxiXFLLUj7aWnnnOVs1mnXq5/Bo9+3NYZldFpFRJPdPBeHCisXkKJg==", - "cpu": [ - "x64" - ], + "node_modules/@eslint/eslintrc": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.3.3.tgz", + "integrity": "sha512-Kr+LPIUVKz2qkx1HAMH8q1q6azbqBAsXJUxBl/ODDuVPX45Z9DfwB8tPjTi6nNZ8BuM3nbJxC5zCAg5elnBUTQ==", + "dev": true, "license": "MIT", - "optional": true, - "os": [ - "win32" - ], + "dependencies": { + "ajv": "^6.12.4", + "debug": "^4.3.2", + "espree": "^10.0.1", + "globals": "^14.0.0", + "ignore": "^5.2.0", + "import-fresh": "^3.2.1", + "js-yaml": "^4.1.1", + "minimatch": "^3.1.2", + "strip-json-comments": "^3.1.1" + }, "engines": { - "node": ">= 10" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" } }, - "node_modules/@napi-rs/wasm-runtime": { - "version": "0.2.12", - "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-0.2.12.tgz", - "integrity": "sha512-ZVWUcfwY4E/yPitQJl481FjFo3K22D6qF0DuFH6Y/nbnE11GY5uguDxZMGXPQ8WQ0128MXQD7TnfHyK4oWoIJQ==", + "node_modules/@eslint/js": { + "version": "9.39.2", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.39.2.tgz", + "integrity": "sha512-q1mjIoW1VX4IvSocvM/vbTiveKC4k9eLrajNEuSsmjymSDEbpGddtpfOoN7YGAqBK3NG+uqo8ia4PDTt8buCYA==", "dev": true, "license": "MIT", - "optional": true, - "dependencies": { - "@emnapi/core": "^1.4.3", - "@emnapi/runtime": "^1.4.3", - "@tybys/wasm-util": "^0.10.0" + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://eslint.org/donate" } }, - "node_modules/@next/env": { - "version": "16.1.1", - "resolved": "https://registry.npmjs.org/@next/env/-/env-16.1.1.tgz", - "integrity": "sha512-3oxyM97Sr2PqiVyMyrZUtrtM3jqqFxOQJVuKclDsgj/L728iZt/GyslkN4NwarledZATCenbk4Offjk1hQmaAA==", - "license": "MIT" - }, - "node_modules/@next/eslint-plugin-next": { - "version": "16.1.1", - "resolved": "https://registry.npmjs.org/@next/eslint-plugin-next/-/eslint-plugin-next-16.1.1.tgz", - "integrity": "sha512-Ovb/6TuLKbE1UiPcg0p39Ke3puyTCIKN9hGbNItmpQsp+WX3qrjO3WaMVSi6JHr9X1NrmthqIguVHodMJbh/dw==", + "node_modules/@eslint/object-schema": { + "version": "2.1.7", + "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-2.1.7.tgz", + "integrity": "sha512-VtAOaymWVfZcmZbp6E2mympDIHvyjXs/12LqWYjVw6qjrfF+VK+fyG33kChz3nnK+SU5/NeHOqrTEHS8sXO3OA==", "dev": true, - "license": "MIT", - "dependencies": { - "fast-glob": "3.3.1" + "license": "Apache-2.0", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" } }, - "node_modules/@next/swc-darwin-arm64": { - "version": "16.1.1", - "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-16.1.1.tgz", - "integrity": "sha512-JS3m42ifsVSJjSTzh27nW+Igfha3NdBOFScr9C80hHGrWx55pTrVL23RJbqir7k7/15SKlrLHhh/MQzqBBYrQA==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], + "node_modules/@eslint/plugin-kit": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.4.1.tgz", + "integrity": "sha512-43/qtrDUokr7LJqoF2c3+RInu/t4zfrpYdoSDfYyhg52rwLV6TnOvdG4fXm7IkSB3wErkcmJS9iEhjVtOSEjjA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@eslint/core": "^0.17.0", + "levn": "^0.4.1" + }, "engines": { - "node": ">= 10" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" } }, - "node_modules/@next/swc-darwin-x64": { - "version": "16.1.1", - "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-16.1.1.tgz", - "integrity": "sha512-hbyKtrDGUkgkyQi1m1IyD3q4I/3m9ngr+V93z4oKHrPcmxwNL5iMWORvLSGAf2YujL+6HxgVvZuCYZfLfb4bGw==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-linux-arm64-gnu": { - "version": "16.1.1", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-16.1.1.tgz", - "integrity": "sha512-/fvHet+EYckFvRLQ0jPHJCUI5/B56+2DpI1xDSvi80r/3Ez+Eaa2Yq4tJcRTaB1kqj/HrYKn8Yplm9bNoMJpwQ==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" + "node_modules/@expo/cli": { + "version": "54.0.22", + "resolved": "https://registry.npmjs.org/@expo/cli/-/cli-54.0.22.tgz", + "integrity": "sha512-BTH2FCczhJLfj1cpfcKrzhKnvRLTOztgW4bVloKDqH+G3ZSohWLRFNAIz56XtdjPxBbi2/qWhGBAkl7kBon/Jw==", + "license": "MIT", + "dependencies": { + "@0no-co/graphql.web": "^1.0.8", + "@expo/code-signing-certificates": "^0.0.6", + "@expo/config": "~12.0.13", + "@expo/config-plugins": "~54.0.4", + "@expo/devcert": "^1.2.1", + "@expo/env": "~2.0.8", + "@expo/image-utils": "^0.8.8", + "@expo/json-file": "^10.0.8", + "@expo/metro": "~54.2.0", + "@expo/metro-config": "~54.0.14", + "@expo/osascript": "^2.3.8", + "@expo/package-manager": "^1.9.10", + "@expo/plist": "^0.4.8", + "@expo/prebuild-config": "^54.0.8", + "@expo/schema-utils": "^0.1.8", + "@expo/spawn-async": "^1.7.2", + "@expo/ws-tunnel": "^1.0.1", + "@expo/xcpretty": "^4.3.0", + "@react-native/dev-middleware": "0.81.5", + "@urql/core": "^5.0.6", + "@urql/exchange-retry": "^1.3.0", + "accepts": "^1.3.8", + "arg": "^5.0.2", + "better-opn": "~3.0.2", + "bplist-creator": "0.1.0", + "bplist-parser": "^0.3.1", + "chalk": "^4.0.0", + "ci-info": "^3.3.0", + "compression": "^1.7.4", + "connect": "^3.7.0", + "debug": "^4.3.4", + "env-editor": "^0.4.1", + "expo-server": "^1.0.5", + "freeport-async": "^2.0.0", + "getenv": "^2.0.0", + "glob": "^13.0.0", + "lan-network": "^0.1.6", + "minimatch": "^9.0.0", + "node-forge": "^1.3.3", + "npm-package-arg": "^11.0.0", + "ora": "^3.4.0", + "picomatch": "^3.0.1", + "pretty-bytes": "^5.6.0", + "pretty-format": "^29.7.0", + "progress": "^2.0.3", + "prompts": "^2.3.2", + "qrcode-terminal": "0.11.0", + "require-from-string": "^2.0.2", + "requireg": "^0.2.2", + "resolve": "^1.22.2", + "resolve-from": "^5.0.0", + "resolve.exports": "^2.0.3", + "semver": "^7.6.0", + "send": "^0.19.0", + "slugify": "^1.3.4", + "source-map-support": "~0.5.21", + "stacktrace-parser": "^0.1.10", + "structured-headers": "^0.4.1", + "tar": "^7.5.2", + "terminal-link": "^2.1.1", + "undici": "^6.18.2", + "wrap-ansi": "^7.0.0", + "ws": "^8.12.1" + }, + "bin": { + "expo-internal": "build/bin/cli" + }, + "peerDependencies": { + "expo": "*", + "expo-router": "*", + "react-native": "*" + }, + "peerDependenciesMeta": { + "expo-router": { + "optional": true + }, + "react-native": { + "optional": true + } } }, - "node_modules/@next/swc-linux-arm64-musl": { - "version": "16.1.1", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-16.1.1.tgz", - "integrity": "sha512-MFHrgL4TXNQbBPzkKKur4Fb5ICEJa87HM7fczFs2+HWblM7mMLdco3dvyTI+QmLBU9xgns/EeeINSZD6Ar+oLg==", - "cpu": [ - "arm64" - ], + "node_modules/@expo/cli/node_modules/brace-expansion": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", + "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" + "dependencies": { + "balanced-match": "^1.0.0" } }, - "node_modules/@next/swc-linux-x64-gnu": { - "version": "16.1.1", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-16.1.1.tgz", - "integrity": "sha512-20bYDfgOQAPUkkKBnyP9PTuHiJGM7HzNBbuqmD0jiFVZ0aOldz+VnJhbxzjcSabYsnNjMPsE0cyzEudpYxsrUQ==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], + "node_modules/@expo/cli/node_modules/glob": { + "version": "13.0.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-13.0.0.tgz", + "integrity": "sha512-tvZgpqk6fz4BaNZ66ZsRaZnbHvP/jG3uKJvAZOwEVUL4RTA5nJeeLYfyN9/VA8NX/V3IBG+hkeuGpKjvELkVhA==", + "license": "BlueOak-1.0.0", + "dependencies": { + "minimatch": "^10.1.1", + "minipass": "^7.1.2", + "path-scurry": "^2.0.0" + }, "engines": { - "node": ">= 10" + "node": "20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/@next/swc-linux-x64-musl": { - "version": "16.1.1", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-16.1.1.tgz", - "integrity": "sha512-9pRbK3M4asAHQRkwaXwu601oPZHghuSC8IXNENgbBSyImHv/zY4K5udBusgdHkvJ/Tcr96jJwQYOll0qU8+fPA==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], + "node_modules/@expo/cli/node_modules/glob/node_modules/minimatch": { + "version": "10.1.1", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.1.1.tgz", + "integrity": "sha512-enIvLvRAFZYXJzkCYG5RKmPfrFArdLv+R+lbQ53BmIMLIry74bjKzX6iHAm8WYamJkhSSEabrWN5D97XnKObjQ==", + "license": "BlueOak-1.0.0", + "dependencies": { + "@isaacs/brace-expansion": "^5.0.0" + }, "engines": { - "node": ">= 10" + "node": "20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/@next/swc-win32-arm64-msvc": { - "version": "16.1.1", - "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-16.1.1.tgz", - "integrity": "sha512-bdfQkggaLgnmYrFkSQfsHfOhk/mCYmjnrbRCGgkMcoOBZ4n+TRRSLmT/CU5SATzlBJ9TpioUyBW/vWFXTqQRiA==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], + "node_modules/@expo/cli/node_modules/minimatch": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, "engines": { - "node": ">= 10" + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/@next/swc-win32-x64-msvc": { - "version": "16.1.1", - "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-16.1.1.tgz", - "integrity": "sha512-Ncwbw2WJ57Al5OX0k4chM68DKhEPlrXBaSXDCi2kPi5f4d8b3ejr3RRJGfKBLrn2YJL5ezNS7w2TZLHSti8CMw==", - "cpu": [ - "x64" - ], + "node_modules/@expo/cli/node_modules/picomatch": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-3.0.1.tgz", + "integrity": "sha512-I3EurrIQMlRc9IaAZnqRR044Phh2DXY+55o7uJ0V+hYZAcQYSuFWsc9q5PvyDHUSCe1Qxn/iBz+78s86zWnGag==", "license": "MIT", - "optional": true, - "os": [ - "win32" - ], "engines": { - "node": ">= 10" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" } }, - "node_modules/@nodelib/fs.scandir": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", - "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", - "license": "MIT", - "dependencies": { - "@nodelib/fs.stat": "2.0.5", - "run-parallel": "^1.1.9" + "node_modules/@expo/cli/node_modules/semver": { + "version": "7.7.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz", + "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==", + "license": "ISC", + "bin": { + "semver": "bin/semver.js" }, "engines": { - "node": ">= 8" + "node": ">=10" } }, - "node_modules/@nodelib/fs.stat": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", - "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "node_modules/@expo/code-signing-certificates": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/@expo/code-signing-certificates/-/code-signing-certificates-0.0.6.tgz", + "integrity": "sha512-iNe0puxwBNEcuua9gmTGzq+SuMDa0iATai1FlFTMHJ/vUmKvN/V//drXoLJkVb5i5H3iE/n/qIJxyoBnXouD0w==", "license": "MIT", - "engines": { - "node": ">= 8" + "dependencies": { + "node-forge": "^1.3.3" } }, - "node_modules/@nodelib/fs.walk": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", - "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "node_modules/@expo/config": { + "version": "12.0.13", + "resolved": "https://registry.npmjs.org/@expo/config/-/config-12.0.13.tgz", + "integrity": "sha512-Cu52arBa4vSaupIWsF0h7F/Cg//N374nYb7HAxV0I4KceKA7x2UXpYaHOL7EEYYvp7tZdThBjvGpVmr8ScIvaQ==", "license": "MIT", "dependencies": { - "@nodelib/fs.scandir": "2.1.5", - "fastq": "^1.6.0" + "@babel/code-frame": "~7.10.4", + "@expo/config-plugins": "~54.0.4", + "@expo/config-types": "^54.0.10", + "@expo/json-file": "^10.0.8", + "deepmerge": "^4.3.1", + "getenv": "^2.0.0", + "glob": "^13.0.0", + "require-from-string": "^2.0.2", + "resolve-from": "^5.0.0", + "resolve-workspace-root": "^2.0.0", + "semver": "^7.6.0", + "slugify": "^1.3.4", + "sucrase": "~3.35.1" + } + }, + "node_modules/@expo/config-plugins": { + "version": "54.0.4", + "resolved": "https://registry.npmjs.org/@expo/config-plugins/-/config-plugins-54.0.4.tgz", + "integrity": "sha512-g2yXGICdoOw5i3LkQSDxl2Q5AlQCrG7oniu0pCPPO+UxGb7He4AFqSvPSy8HpRUj55io17hT62FTjYRD+d6j3Q==", + "license": "MIT", + "dependencies": { + "@expo/config-types": "^54.0.10", + "@expo/json-file": "~10.0.8", + "@expo/plist": "^0.4.8", + "@expo/sdk-runtime-versions": "^1.0.0", + "chalk": "^4.1.2", + "debug": "^4.3.5", + "getenv": "^2.0.0", + "glob": "^13.0.0", + "resolve-from": "^5.0.0", + "semver": "^7.5.4", + "slash": "^3.0.0", + "slugify": "^1.6.6", + "xcode": "^3.0.1", + "xml2js": "0.6.0" + } + }, + "node_modules/@expo/config-plugins/node_modules/glob": { + "version": "13.0.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-13.0.0.tgz", + "integrity": "sha512-tvZgpqk6fz4BaNZ66ZsRaZnbHvP/jG3uKJvAZOwEVUL4RTA5nJeeLYfyN9/VA8NX/V3IBG+hkeuGpKjvELkVhA==", + "license": "BlueOak-1.0.0", + "dependencies": { + "minimatch": "^10.1.1", + "minipass": "^7.1.2", + "path-scurry": "^2.0.0" }, "engines": { - "node": ">= 8" + "node": "20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/@nolyfill/is-core-module": { - "version": "1.0.39", - "resolved": "https://registry.npmjs.org/@nolyfill/is-core-module/-/is-core-module-1.0.39.tgz", - "integrity": "sha512-nn5ozdjYQpUCZlWGuxcJY/KpxkWQs4DcbMCmKojjyrYDEAGy4Ce19NN4v5MduafTwJlbKc99UA8YhSVqq9yPZA==", - "dev": true, - "license": "MIT", + "node_modules/@expo/config-plugins/node_modules/minimatch": { + "version": "10.1.1", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.1.1.tgz", + "integrity": "sha512-enIvLvRAFZYXJzkCYG5RKmPfrFArdLv+R+lbQ53BmIMLIry74bjKzX6iHAm8WYamJkhSSEabrWN5D97XnKObjQ==", + "license": "BlueOak-1.0.0", + "dependencies": { + "@isaacs/brace-expansion": "^5.0.0" + }, "engines": { - "node": ">=12.4.0" + "node": "20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/@orama/orama": { - "version": "3.1.18", - "resolved": "https://registry.npmjs.org/@orama/orama/-/orama-3.1.18.tgz", - "integrity": "sha512-a61ljmRVVyG5MC/698C8/FfFDw5a8LOIvyOLW5fztgUXqUpc1jOfQzOitSCbge657OgXXThmY3Tk8fpiDb4UcA==", - "license": "Apache-2.0", + "node_modules/@expo/config-plugins/node_modules/semver": { + "version": "7.7.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz", + "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==", + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, "engines": { - "node": ">= 20.0.0" + "node": ">=10" } }, - "node_modules/@radix-ui/number": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@radix-ui/number/-/number-1.1.1.tgz", - "integrity": "sha512-MkKCwxlXTgz6CFoJx3pCwn07GKp36+aZyu/u2Ln2VrA5DcdyCZkASEDBTd8x5whTQQL5CiYf4prXKLcgQdv29g==", - "license": "MIT" - }, - "node_modules/@radix-ui/primitive": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-1.1.3.tgz", - "integrity": "sha512-JTF99U/6XIjCBo0wqkU5sK10glYe27MRRsfwoiq5zzOEZLHU3A3KCMa5X/azekYRCJ0HlwI0crAXS/5dEHTzDg==", + "node_modules/@expo/config-types": { + "version": "54.0.10", + "resolved": "https://registry.npmjs.org/@expo/config-types/-/config-types-54.0.10.tgz", + "integrity": "sha512-/J16SC2an1LdtCZ67xhSkGXpALYUVUNyZws7v+PVsFZxClYehDSoKLqyRaGkpHlYrCc08bS0RF5E0JV6g50psA==", "license": "MIT" }, - "node_modules/@radix-ui/react-accordion": { - "version": "1.2.12", - "resolved": "https://registry.npmjs.org/@radix-ui/react-accordion/-/react-accordion-1.2.12.tgz", - "integrity": "sha512-T4nygeh9YE9dLRPhAHSeOZi7HBXo+0kYIPJXayZfvWOWA0+n3dESrZbjfDPUABkUNym6Hd+f2IR113To8D2GPA==", + "node_modules/@expo/config/node_modules/@babel/code-frame": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz", + "integrity": "sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg==", "license": "MIT", "dependencies": { - "@radix-ui/primitive": "1.1.3", - "@radix-ui/react-collapsible": "1.1.12", - "@radix-ui/react-collection": "1.1.7", - "@radix-ui/react-compose-refs": "1.1.2", - "@radix-ui/react-context": "1.1.2", - "@radix-ui/react-direction": "1.1.1", - "@radix-ui/react-id": "1.1.1", - "@radix-ui/react-primitive": "2.1.3", - "@radix-ui/react-use-controllable-state": "1.2.2" - }, - "peerDependencies": { - "@types/react": "*", - "@types/react-dom": "*", - "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", - "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - }, - "@types/react-dom": { - "optional": true - } + "@babel/highlight": "^7.10.4" } }, - "node_modules/@radix-ui/react-arrow": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/@radix-ui/react-arrow/-/react-arrow-1.1.7.tgz", - "integrity": "sha512-F+M1tLhO+mlQaOWspE8Wstg+z6PwxwRd8oQ8IXceWz92kfAmalTRf0EjrouQeo7QssEPfCn05B4Ihs1K9WQ/7w==", - "license": "MIT", + "node_modules/@expo/config/node_modules/glob": { + "version": "13.0.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-13.0.0.tgz", + "integrity": "sha512-tvZgpqk6fz4BaNZ66ZsRaZnbHvP/jG3uKJvAZOwEVUL4RTA5nJeeLYfyN9/VA8NX/V3IBG+hkeuGpKjvELkVhA==", + "license": "BlueOak-1.0.0", "dependencies": { - "@radix-ui/react-primitive": "2.1.3" + "minimatch": "^10.1.1", + "minipass": "^7.1.2", + "path-scurry": "^2.0.0" }, - "peerDependencies": { - "@types/react": "*", - "@types/react-dom": "*", - "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", - "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + "engines": { + "node": "20 || >=22" }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - }, - "@types/react-dom": { - "optional": true - } + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/@radix-ui/react-collapsible": { - "version": "1.1.12", - "resolved": "https://registry.npmjs.org/@radix-ui/react-collapsible/-/react-collapsible-1.1.12.tgz", - "integrity": "sha512-Uu+mSh4agx2ib1uIGPP4/CKNULyajb3p92LsVXmH2EHVMTfZWpll88XJ0j4W0z3f8NK1eYl1+Mf/szHPmcHzyA==", - "license": "MIT", + "node_modules/@expo/config/node_modules/minimatch": { + "version": "10.1.1", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.1.1.tgz", + "integrity": "sha512-enIvLvRAFZYXJzkCYG5RKmPfrFArdLv+R+lbQ53BmIMLIry74bjKzX6iHAm8WYamJkhSSEabrWN5D97XnKObjQ==", + "license": "BlueOak-1.0.0", "dependencies": { - "@radix-ui/primitive": "1.1.3", - "@radix-ui/react-compose-refs": "1.1.2", - "@radix-ui/react-context": "1.1.2", - "@radix-ui/react-id": "1.1.1", - "@radix-ui/react-presence": "1.1.5", - "@radix-ui/react-primitive": "2.1.3", - "@radix-ui/react-use-controllable-state": "1.2.2", - "@radix-ui/react-use-layout-effect": "1.1.1" + "@isaacs/brace-expansion": "^5.0.0" }, - "peerDependencies": { - "@types/react": "*", - "@types/react-dom": "*", - "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", - "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + "engines": { + "node": "20 || >=22" }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - }, - "@types/react-dom": { - "optional": true - } + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/@radix-ui/react-collection": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/@radix-ui/react-collection/-/react-collection-1.1.7.tgz", - "integrity": "sha512-Fh9rGN0MoI4ZFUNyfFVNU4y9LUz93u9/0K+yLgA2bwRojxM8JU1DyvvMBabnZPBgMWREAJvU2jjVzq+LrFUglw==", - "license": "MIT", - "dependencies": { - "@radix-ui/react-compose-refs": "1.1.2", - "@radix-ui/react-context": "1.1.2", - "@radix-ui/react-primitive": "2.1.3", - "@radix-ui/react-slot": "1.2.3" - }, - "peerDependencies": { - "@types/react": "*", - "@types/react-dom": "*", - "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", - "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + "node_modules/@expo/config/node_modules/semver": { + "version": "7.7.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz", + "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==", + "license": "ISC", + "bin": { + "semver": "bin/semver.js" }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - }, - "@types/react-dom": { - "optional": true - } + "engines": { + "node": ">=10" } }, - "node_modules/@radix-ui/react-collection/node_modules/@radix-ui/react-slot": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz", - "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==", + "node_modules/@expo/devcert": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@expo/devcert/-/devcert-1.2.1.tgz", + "integrity": "sha512-qC4eaxmKMTmJC2ahwyui6ud8f3W60Ss7pMkpBq40Hu3zyiAaugPXnZ24145U7K36qO9UHdZUVxsCvIpz2RYYCA==", "license": "MIT", "dependencies": { - "@radix-ui/react-compose-refs": "1.1.2" - }, - "peerDependencies": { - "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, - "node_modules/@radix-ui/react-compose-refs": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.2.tgz", - "integrity": "sha512-z4eqJvfiNnFMHIIvXP3CY57y2WJs5g2v3X0zm9mEJkrkNv4rDxu+sg9Jh8EkXyeqBkB7SOcboo9dMVqhyrACIg==", - "license": "MIT", - "peerDependencies": { - "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } + "@expo/sudo-prompt": "^9.3.1", + "debug": "^3.1.0" } }, - "node_modules/@radix-ui/react-context": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.2.tgz", - "integrity": "sha512-jCi/QKUM2r1Ju5a3J64TH2A5SpKAgh0LpknyqdQ4m6DCV0xJ2HG1xARRwNGPQfi1SLdLWZ1OJz6F4OMBBNiGJA==", + "node_modules/@expo/devcert/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", "license": "MIT", - "peerDependencies": { - "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } + "dependencies": { + "ms": "^2.1.1" } }, - "node_modules/@radix-ui/react-dialog": { - "version": "1.1.15", - "resolved": "https://registry.npmjs.org/@radix-ui/react-dialog/-/react-dialog-1.1.15.tgz", - "integrity": "sha512-TCglVRtzlffRNxRMEyR36DGBLJpeusFcgMVD9PZEzAKnUs1lKCgX5u9BmC2Yg+LL9MgZDugFFs1Vl+Jp4t/PGw==", + "node_modules/@expo/devtools": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/@expo/devtools/-/devtools-0.1.8.tgz", + "integrity": "sha512-SVLxbuanDjJPgc0sy3EfXUMLb/tXzp6XIHkhtPVmTWJAp+FOr6+5SeiCfJrCzZFet0Ifyke2vX3sFcKwEvCXwQ==", "license": "MIT", "dependencies": { - "@radix-ui/primitive": "1.1.3", - "@radix-ui/react-compose-refs": "1.1.2", - "@radix-ui/react-context": "1.1.2", - "@radix-ui/react-dismissable-layer": "1.1.11", - "@radix-ui/react-focus-guards": "1.1.3", - "@radix-ui/react-focus-scope": "1.1.7", - "@radix-ui/react-id": "1.1.1", - "@radix-ui/react-portal": "1.1.9", - "@radix-ui/react-presence": "1.1.5", - "@radix-ui/react-primitive": "2.1.3", - "@radix-ui/react-slot": "1.2.3", - "@radix-ui/react-use-controllable-state": "1.2.2", - "aria-hidden": "^1.2.4", - "react-remove-scroll": "^2.6.3" + "chalk": "^4.1.2" }, "peerDependencies": { - "@types/react": "*", - "@types/react-dom": "*", - "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", - "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + "react": "*", + "react-native": "*" }, "peerDependenciesMeta": { - "@types/react": { + "react": { "optional": true }, - "@types/react-dom": { + "react-native": { "optional": true } } }, - "node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-slot": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz", - "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==", + "node_modules/@expo/env": { + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/@expo/env/-/env-2.0.8.tgz", + "integrity": "sha512-5VQD6GT8HIMRaSaB5JFtOXuvfDVU80YtZIuUT/GDhUF782usIXY13Tn3IdDz1Tm/lqA9qnRZQ1BF4t7LlvdJPA==", "license": "MIT", "dependencies": { - "@radix-ui/react-compose-refs": "1.1.2" - }, - "peerDependencies": { - "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } + "chalk": "^4.0.0", + "debug": "^4.3.4", + "dotenv": "~16.4.5", + "dotenv-expand": "~11.0.6", + "getenv": "^2.0.0" } }, - "node_modules/@radix-ui/react-direction": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@radix-ui/react-direction/-/react-direction-1.1.1.tgz", - "integrity": "sha512-1UEWRX6jnOA2y4H5WczZ44gOOjTEmlqv1uNW4GAJEO5+bauCBhv8snY65Iw5/VOS/ghKN9gr2KjnLKxrsvoMVw==", + "node_modules/@expo/fingerprint": { + "version": "0.15.4", + "resolved": "https://registry.npmjs.org/@expo/fingerprint/-/fingerprint-0.15.4.tgz", + "integrity": "sha512-eYlxcrGdR2/j2M6pEDXo9zU9KXXF1vhP+V+Tl+lyY+bU8lnzrN6c637mz6Ye3em2ANy8hhUR03Raf8VsT9Ogng==", "license": "MIT", - "peerDependencies": { - "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + "dependencies": { + "@expo/spawn-async": "^1.7.2", + "arg": "^5.0.2", + "chalk": "^4.1.2", + "debug": "^4.3.4", + "getenv": "^2.0.0", + "glob": "^13.0.0", + "ignore": "^5.3.1", + "minimatch": "^9.0.0", + "p-limit": "^3.1.0", + "resolve-from": "^5.0.0", + "semver": "^7.6.0" }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } + "bin": { + "fingerprint": "bin/cli.js" } }, - "node_modules/@radix-ui/react-dismissable-layer": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/@radix-ui/react-dismissable-layer/-/react-dismissable-layer-1.1.11.tgz", - "integrity": "sha512-Nqcp+t5cTB8BinFkZgXiMJniQH0PsUt2k51FUhbdfeKvc4ACcG2uQniY/8+h1Yv6Kza4Q7lD7PQV0z0oicE0Mg==", + "node_modules/@expo/fingerprint/node_modules/brace-expansion": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", + "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", "license": "MIT", "dependencies": { - "@radix-ui/primitive": "1.1.3", - "@radix-ui/react-compose-refs": "1.1.2", - "@radix-ui/react-primitive": "2.1.3", - "@radix-ui/react-use-callback-ref": "1.1.1", - "@radix-ui/react-use-escape-keydown": "1.1.1" - }, - "peerDependencies": { - "@types/react": "*", - "@types/react-dom": "*", - "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", - "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - }, - "@types/react-dom": { - "optional": true - } + "balanced-match": "^1.0.0" } }, - "node_modules/@radix-ui/react-focus-guards": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@radix-ui/react-focus-guards/-/react-focus-guards-1.1.3.tgz", - "integrity": "sha512-0rFg/Rj2Q62NCm62jZw0QX7a3sz6QCQU0LpZdNrJX8byRGaGVTqbrW9jAoIAHyMQqsNpeZ81YgSizOt5WXq0Pw==", - "license": "MIT", - "peerDependencies": { - "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + "node_modules/@expo/fingerprint/node_modules/glob": { + "version": "13.0.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-13.0.0.tgz", + "integrity": "sha512-tvZgpqk6fz4BaNZ66ZsRaZnbHvP/jG3uKJvAZOwEVUL4RTA5nJeeLYfyN9/VA8NX/V3IBG+hkeuGpKjvELkVhA==", + "license": "BlueOak-1.0.0", + "dependencies": { + "minimatch": "^10.1.1", + "minipass": "^7.1.2", + "path-scurry": "^2.0.0" }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } + "engines": { + "node": "20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/@radix-ui/react-focus-scope": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/@radix-ui/react-focus-scope/-/react-focus-scope-1.1.7.tgz", - "integrity": "sha512-t2ODlkXBQyn7jkl6TNaw/MtVEVvIGelJDCG41Okq/KwUsJBwQ4XVZsHAVUkK4mBv3ewiAS3PGuUWuY2BoK4ZUw==", - "license": "MIT", + "node_modules/@expo/fingerprint/node_modules/glob/node_modules/minimatch": { + "version": "10.1.1", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.1.1.tgz", + "integrity": "sha512-enIvLvRAFZYXJzkCYG5RKmPfrFArdLv+R+lbQ53BmIMLIry74bjKzX6iHAm8WYamJkhSSEabrWN5D97XnKObjQ==", + "license": "BlueOak-1.0.0", "dependencies": { - "@radix-ui/react-compose-refs": "1.1.2", - "@radix-ui/react-primitive": "2.1.3", - "@radix-ui/react-use-callback-ref": "1.1.1" + "@isaacs/brace-expansion": "^5.0.0" }, - "peerDependencies": { - "@types/react": "*", - "@types/react-dom": "*", - "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", - "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + "engines": { + "node": "20 || >=22" }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - }, - "@types/react-dom": { - "optional": true - } + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/@radix-ui/react-id": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@radix-ui/react-id/-/react-id-1.1.1.tgz", - "integrity": "sha512-kGkGegYIdQsOb4XjsfM97rXsiHaBwco+hFI66oO4s9LU+PLAC5oJ7khdOVFxkhsmlbpUqDAvXw11CluXP+jkHg==", - "license": "MIT", + "node_modules/@expo/fingerprint/node_modules/minimatch": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "license": "ISC", "dependencies": { - "@radix-ui/react-use-layout-effect": "1.1.1" + "brace-expansion": "^2.0.1" }, - "peerDependencies": { - "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + "engines": { + "node": ">=16 || 14 >=14.17" }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/@radix-ui/react-navigation-menu": { - "version": "1.2.14", - "resolved": "https://registry.npmjs.org/@radix-ui/react-navigation-menu/-/react-navigation-menu-1.2.14.tgz", - "integrity": "sha512-YB9mTFQvCOAQMHU+C/jVl96WmuWeltyUEpRJJky51huhds5W2FQr1J8D/16sQlf0ozxkPK8uF3niQMdUwZPv5w==", - "license": "MIT", - "dependencies": { - "@radix-ui/primitive": "1.1.3", - "@radix-ui/react-collection": "1.1.7", - "@radix-ui/react-compose-refs": "1.1.2", - "@radix-ui/react-context": "1.1.2", - "@radix-ui/react-direction": "1.1.1", - "@radix-ui/react-dismissable-layer": "1.1.11", - "@radix-ui/react-id": "1.1.1", - "@radix-ui/react-presence": "1.1.5", - "@radix-ui/react-primitive": "2.1.3", - "@radix-ui/react-use-callback-ref": "1.1.1", - "@radix-ui/react-use-controllable-state": "1.2.2", - "@radix-ui/react-use-layout-effect": "1.1.1", - "@radix-ui/react-use-previous": "1.1.1", - "@radix-ui/react-visually-hidden": "1.2.3" - }, - "peerDependencies": { - "@types/react": "*", - "@types/react-dom": "*", - "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", - "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + "node_modules/@expo/fingerprint/node_modules/semver": { + "version": "7.7.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz", + "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==", + "license": "ISC", + "bin": { + "semver": "bin/semver.js" }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - }, - "@types/react-dom": { - "optional": true - } + "engines": { + "node": ">=10" } }, - "node_modules/@radix-ui/react-popover": { - "version": "1.1.15", - "resolved": "https://registry.npmjs.org/@radix-ui/react-popover/-/react-popover-1.1.15.tgz", - "integrity": "sha512-kr0X2+6Yy/vJzLYJUPCZEc8SfQcf+1COFoAqauJm74umQhta9M7lNJHP7QQS3vkvcGLQUbWpMzwrXYwrYztHKA==", + "node_modules/@expo/image-utils": { + "version": "0.8.8", + "resolved": "https://registry.npmjs.org/@expo/image-utils/-/image-utils-0.8.8.tgz", + "integrity": "sha512-HHHaG4J4nKjTtVa1GG9PCh763xlETScfEyNxxOvfTRr8IKPJckjTyqSLEtdJoFNJ1vqiABEjW7tqGhqGibZLeA==", "license": "MIT", "dependencies": { - "@radix-ui/primitive": "1.1.3", - "@radix-ui/react-compose-refs": "1.1.2", - "@radix-ui/react-context": "1.1.2", - "@radix-ui/react-dismissable-layer": "1.1.11", - "@radix-ui/react-focus-guards": "1.1.3", - "@radix-ui/react-focus-scope": "1.1.7", - "@radix-ui/react-id": "1.1.1", - "@radix-ui/react-popper": "1.2.8", - "@radix-ui/react-portal": "1.1.9", - "@radix-ui/react-presence": "1.1.5", - "@radix-ui/react-primitive": "2.1.3", - "@radix-ui/react-slot": "1.2.3", - "@radix-ui/react-use-controllable-state": "1.2.2", - "aria-hidden": "^1.2.4", - "react-remove-scroll": "^2.6.3" - }, - "peerDependencies": { - "@types/react": "*", - "@types/react-dom": "*", - "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", - "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + "@expo/spawn-async": "^1.7.2", + "chalk": "^4.0.0", + "getenv": "^2.0.0", + "jimp-compact": "0.16.1", + "parse-png": "^2.1.0", + "resolve-from": "^5.0.0", + "resolve-global": "^1.0.0", + "semver": "^7.6.0", + "temp-dir": "~2.0.0", + "unique-string": "~2.0.0" + } + }, + "node_modules/@expo/image-utils/node_modules/semver": { + "version": "7.7.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz", + "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==", + "license": "ISC", + "bin": { + "semver": "bin/semver.js" }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - }, - "@types/react-dom": { - "optional": true - } + "engines": { + "node": ">=10" } }, - "node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-slot": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz", - "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==", + "node_modules/@expo/json-file": { + "version": "10.0.8", + "resolved": "https://registry.npmjs.org/@expo/json-file/-/json-file-10.0.8.tgz", + "integrity": "sha512-9LOTh1PgKizD1VXfGQ88LtDH0lRwq9lsTb4aichWTWSWqy3Ugfkhfm3BhzBIkJJfQQ5iJu3m/BoRlEIjoCGcnQ==", "license": "MIT", "dependencies": { - "@radix-ui/react-compose-refs": "1.1.2" - }, - "peerDependencies": { - "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } + "@babel/code-frame": "~7.10.4", + "json5": "^2.2.3" } }, - "node_modules/@radix-ui/react-popper": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/@radix-ui/react-popper/-/react-popper-1.2.8.tgz", - "integrity": "sha512-0NJQ4LFFUuWkE7Oxf0htBKS6zLkkjBH+hM1uk7Ng705ReR8m/uelduy1DBo0PyBXPKVnBA6YBlU94MBGXrSBCw==", + "node_modules/@expo/json-file/node_modules/@babel/code-frame": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz", + "integrity": "sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg==", "license": "MIT", "dependencies": { - "@floating-ui/react-dom": "^2.0.0", - "@radix-ui/react-arrow": "1.1.7", - "@radix-ui/react-compose-refs": "1.1.2", - "@radix-ui/react-context": "1.1.2", - "@radix-ui/react-primitive": "2.1.3", - "@radix-ui/react-use-callback-ref": "1.1.1", - "@radix-ui/react-use-layout-effect": "1.1.1", - "@radix-ui/react-use-rect": "1.1.1", - "@radix-ui/react-use-size": "1.1.1", - "@radix-ui/rect": "1.1.1" - }, - "peerDependencies": { - "@types/react": "*", - "@types/react-dom": "*", - "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", - "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - }, - "@types/react-dom": { - "optional": true - } + "@babel/highlight": "^7.10.4" } }, - "node_modules/@radix-ui/react-portal": { - "version": "1.1.9", - "resolved": "https://registry.npmjs.org/@radix-ui/react-portal/-/react-portal-1.1.9.tgz", - "integrity": "sha512-bpIxvq03if6UNwXZ+HTK71JLh4APvnXntDc6XOX8UVq4XQOVl7lwok0AvIl+b8zgCw3fSaVTZMpAPPagXbKmHQ==", + "node_modules/@expo/metro": { + "version": "54.2.0", + "resolved": "https://registry.npmjs.org/@expo/metro/-/metro-54.2.0.tgz", + "integrity": "sha512-h68TNZPGsk6swMmLm9nRSnE2UXm48rWwgcbtAHVMikXvbxdS41NDHHeqg1rcQ9AbznDRp6SQVC2MVpDnsRKU1w==", "license": "MIT", "dependencies": { - "@radix-ui/react-primitive": "2.1.3", - "@radix-ui/react-use-layout-effect": "1.1.1" - }, - "peerDependencies": { - "@types/react": "*", - "@types/react-dom": "*", - "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", - "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - }, - "@types/react-dom": { - "optional": true - } + "metro": "0.83.3", + "metro-babel-transformer": "0.83.3", + "metro-cache": "0.83.3", + "metro-cache-key": "0.83.3", + "metro-config": "0.83.3", + "metro-core": "0.83.3", + "metro-file-map": "0.83.3", + "metro-minify-terser": "0.83.3", + "metro-resolver": "0.83.3", + "metro-runtime": "0.83.3", + "metro-source-map": "0.83.3", + "metro-symbolicate": "0.83.3", + "metro-transform-plugins": "0.83.3", + "metro-transform-worker": "0.83.3" } }, - "node_modules/@radix-ui/react-presence": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.1.5.tgz", - "integrity": "sha512-/jfEwNDdQVBCNvjkGit4h6pMOzq8bHkopq458dPt2lMjx+eBQUohZNG9A7DtO/O5ukSbxuaNGXMjHicgwy6rQQ==", + "node_modules/@expo/metro-config": { + "version": "54.0.14", + "resolved": "https://registry.npmjs.org/@expo/metro-config/-/metro-config-54.0.14.tgz", + "integrity": "sha512-hxpLyDfOR4L23tJ9W1IbJJsG7k4lv2sotohBm/kTYyiG+pe1SYCAWsRmgk+H42o/wWf/HQjE5k45S5TomGLxNA==", "license": "MIT", "dependencies": { - "@radix-ui/react-compose-refs": "1.1.2", - "@radix-ui/react-use-layout-effect": "1.1.1" + "@babel/code-frame": "^7.20.0", + "@babel/core": "^7.20.0", + "@babel/generator": "^7.20.5", + "@expo/config": "~12.0.13", + "@expo/env": "~2.0.8", + "@expo/json-file": "~10.0.8", + "@expo/metro": "~54.2.0", + "@expo/spawn-async": "^1.7.2", + "browserslist": "^4.25.0", + "chalk": "^4.1.0", + "debug": "^4.3.2", + "dotenv": "~16.4.5", + "dotenv-expand": "~11.0.6", + "getenv": "^2.0.0", + "glob": "^13.0.0", + "hermes-parser": "^0.29.1", + "jsc-safe-url": "^0.2.4", + "lightningcss": "^1.30.1", + "minimatch": "^9.0.0", + "postcss": "~8.4.32", + "resolve-from": "^5.0.0" }, "peerDependencies": { - "@types/react": "*", - "@types/react-dom": "*", - "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", - "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + "expo": "*" }, "peerDependenciesMeta": { - "@types/react": { - "optional": true - }, - "@types/react-dom": { + "expo": { "optional": true } } }, - "node_modules/@radix-ui/react-primitive": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.3.tgz", - "integrity": "sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==", + "node_modules/@expo/metro-config/node_modules/brace-expansion": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", + "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", "license": "MIT", "dependencies": { - "@radix-ui/react-slot": "1.2.3" + "balanced-match": "^1.0.0" + } + }, + "node_modules/@expo/metro-config/node_modules/glob": { + "version": "13.0.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-13.0.0.tgz", + "integrity": "sha512-tvZgpqk6fz4BaNZ66ZsRaZnbHvP/jG3uKJvAZOwEVUL4RTA5nJeeLYfyN9/VA8NX/V3IBG+hkeuGpKjvELkVhA==", + "license": "BlueOak-1.0.0", + "dependencies": { + "minimatch": "^10.1.1", + "minipass": "^7.1.2", + "path-scurry": "^2.0.0" }, - "peerDependencies": { - "@types/react": "*", - "@types/react-dom": "*", - "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", - "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + "engines": { + "node": "20 || >=22" }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - }, - "@types/react-dom": { - "optional": true - } + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz", - "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==", - "license": "MIT", + "node_modules/@expo/metro-config/node_modules/glob/node_modules/minimatch": { + "version": "10.1.1", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.1.1.tgz", + "integrity": "sha512-enIvLvRAFZYXJzkCYG5RKmPfrFArdLv+R+lbQ53BmIMLIry74bjKzX6iHAm8WYamJkhSSEabrWN5D97XnKObjQ==", + "license": "BlueOak-1.0.0", "dependencies": { - "@radix-ui/react-compose-refs": "1.1.2" + "@isaacs/brace-expansion": "^5.0.0" }, - "peerDependencies": { - "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + "engines": { + "node": "20 || >=22" }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/@radix-ui/react-roving-focus": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/@radix-ui/react-roving-focus/-/react-roving-focus-1.1.11.tgz", - "integrity": "sha512-7A6S9jSgm/S+7MdtNDSb+IU859vQqJ/QAtcYQcfFC6W8RS4IxIZDldLR0xqCFZ6DCyrQLjLPsxtTNch5jVA4lA==", + "node_modules/@expo/metro-config/node_modules/hermes-estree": { + "version": "0.29.1", + "resolved": "https://registry.npmjs.org/hermes-estree/-/hermes-estree-0.29.1.tgz", + "integrity": "sha512-jl+x31n4/w+wEqm0I2r4CMimukLbLQEYpisys5oCre611CI5fc9TxhqkBBCJ1edDG4Kza0f7CgNz8xVMLZQOmQ==", + "license": "MIT" + }, + "node_modules/@expo/metro-config/node_modules/hermes-parser": { + "version": "0.29.1", + "resolved": "https://registry.npmjs.org/hermes-parser/-/hermes-parser-0.29.1.tgz", + "integrity": "sha512-xBHWmUtRC5e/UL0tI7Ivt2riA/YBq9+SiYFU7C1oBa/j2jYGlIF9043oak1F47ihuDIxQ5nbsKueYJDRY02UgA==", "license": "MIT", "dependencies": { - "@radix-ui/primitive": "1.1.3", - "@radix-ui/react-collection": "1.1.7", - "@radix-ui/react-compose-refs": "1.1.2", - "@radix-ui/react-context": "1.1.2", - "@radix-ui/react-direction": "1.1.1", - "@radix-ui/react-id": "1.1.1", - "@radix-ui/react-primitive": "2.1.3", - "@radix-ui/react-use-callback-ref": "1.1.1", - "@radix-ui/react-use-controllable-state": "1.2.2" + "hermes-estree": "0.29.1" + } + }, + "node_modules/@expo/metro-config/node_modules/minimatch": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" }, - "peerDependencies": { - "@types/react": "*", - "@types/react-dom": "*", - "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", - "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + "engines": { + "node": ">=16 || 14 >=14.17" }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - }, - "@types/react-dom": { - "optional": true - } + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/@radix-ui/react-scroll-area": { - "version": "1.2.10", - "resolved": "https://registry.npmjs.org/@radix-ui/react-scroll-area/-/react-scroll-area-1.2.10.tgz", - "integrity": "sha512-tAXIa1g3sM5CGpVT0uIbUx/U3Gs5N8T52IICuCtObaos1S8fzsrPXG5WObkQN3S6NVl6wKgPhAIiBGbWnvc97A==", + "node_modules/@expo/metro-config/node_modules/postcss": { + "version": "8.4.49", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.49.tgz", + "integrity": "sha512-OCVPnIObs4N29kxTjzLfUryOkvZEq+pf8jTF0lg8E7uETuWHA+v7j3c/xJmiqpX450191LlmZfUKkXxkTry7nA==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], "license": "MIT", "dependencies": { - "@radix-ui/number": "1.1.1", - "@radix-ui/primitive": "1.1.3", - "@radix-ui/react-compose-refs": "1.1.2", - "@radix-ui/react-context": "1.1.2", - "@radix-ui/react-direction": "1.1.1", - "@radix-ui/react-presence": "1.1.5", - "@radix-ui/react-primitive": "2.1.3", - "@radix-ui/react-use-callback-ref": "1.1.1", - "@radix-ui/react-use-layout-effect": "1.1.1" - }, - "peerDependencies": { - "@types/react": "*", - "@types/react-dom": "*", - "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", - "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + "nanoid": "^3.3.7", + "picocolors": "^1.1.1", + "source-map-js": "^1.2.1" }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - }, - "@types/react-dom": { - "optional": true - } + "engines": { + "node": "^10 || ^12 || >=14" } }, - "node_modules/@radix-ui/react-slot": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.4.tgz", - "integrity": "sha512-Jl+bCv8HxKnlTLVrcDE8zTMJ09R9/ukw4qBs/oZClOfoQk/cOTbDn+NceXfV7j09YPVQUryJPHurafcSg6EVKA==", + "node_modules/@expo/metro-runtime": { + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/@expo/metro-runtime/-/metro-runtime-5.0.5.tgz", + "integrity": "sha512-P8UFTi+YsmiD1BmdTdiIQITzDMcZgronsA3RTQ4QKJjHM3bas11oGzLQOnFaIZnlEV8Rrr3m1m+RHxvnpL+t/A==", "license": "MIT", - "dependencies": { - "@radix-ui/react-compose-refs": "1.1.2" - }, + "peer": true, "peerDependencies": { - "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } + "react-native": "*" } }, - "node_modules/@radix-ui/react-tabs": { - "version": "1.1.13", - "resolved": "https://registry.npmjs.org/@radix-ui/react-tabs/-/react-tabs-1.1.13.tgz", - "integrity": "sha512-7xdcatg7/U+7+Udyoj2zodtI9H/IIopqo+YOIcZOq1nJwXWBZ9p8xiu5llXlekDbZkca79a/fozEYQXIA4sW6A==", + "node_modules/@expo/osascript": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/@expo/osascript/-/osascript-2.3.8.tgz", + "integrity": "sha512-/TuOZvSG7Nn0I8c+FcEaoHeBO07yu6vwDgk7rZVvAXoeAK5rkA09jRyjYsZo+0tMEFaToBeywA6pj50Mb3ny9w==", "license": "MIT", "dependencies": { - "@radix-ui/primitive": "1.1.3", - "@radix-ui/react-context": "1.1.2", - "@radix-ui/react-direction": "1.1.1", - "@radix-ui/react-id": "1.1.1", - "@radix-ui/react-presence": "1.1.5", - "@radix-ui/react-primitive": "2.1.3", - "@radix-ui/react-roving-focus": "1.1.11", - "@radix-ui/react-use-controllable-state": "1.2.2" - }, - "peerDependencies": { - "@types/react": "*", - "@types/react-dom": "*", - "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", - "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + "@expo/spawn-async": "^1.7.2", + "exec-async": "^2.2.0" }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - }, - "@types/react-dom": { - "optional": true - } + "engines": { + "node": ">=12" } }, - "node_modules/@radix-ui/react-use-callback-ref": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.1.1.tgz", - "integrity": "sha512-FkBMwD+qbGQeMu1cOHnuGB6x4yzPjho8ap5WtbEJ26umhgqVXbhekKUQO+hZEL1vU92a3wHwdp0HAcqAUF5iDg==", + "node_modules/@expo/package-manager": { + "version": "1.9.10", + "resolved": "https://registry.npmjs.org/@expo/package-manager/-/package-manager-1.9.10.tgz", + "integrity": "sha512-axJm+NOj3jVxep49va/+L3KkF3YW/dkV+RwzqUJedZrv4LeTqOG4rhrCaCPXHTvLqCTDKu6j0Xyd28N7mnxsGA==", "license": "MIT", - "peerDependencies": { - "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } + "dependencies": { + "@expo/json-file": "^10.0.8", + "@expo/spawn-async": "^1.7.2", + "chalk": "^4.0.0", + "npm-package-arg": "^11.0.0", + "ora": "^3.4.0", + "resolve-workspace-root": "^2.0.0" } }, - "node_modules/@radix-ui/react-use-controllable-state": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/@radix-ui/react-use-controllable-state/-/react-use-controllable-state-1.2.2.tgz", - "integrity": "sha512-BjasUjixPFdS+NKkypcyyN5Pmg83Olst0+c6vGov0diwTEo6mgdqVR6hxcEgFuh4QrAs7Rc+9KuGJ9TVCj0Zzg==", + "node_modules/@expo/plist": { + "version": "0.4.8", + "resolved": "https://registry.npmjs.org/@expo/plist/-/plist-0.4.8.tgz", + "integrity": "sha512-pfNtErGGzzRwHP+5+RqswzPDKkZrx+Cli0mzjQaus1ZWFsog5ibL+nVT3NcporW51o8ggnt7x813vtRbPiyOrQ==", "license": "MIT", "dependencies": { - "@radix-ui/react-use-effect-event": "0.0.2", - "@radix-ui/react-use-layout-effect": "1.1.1" - }, - "peerDependencies": { - "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } + "@xmldom/xmldom": "^0.8.8", + "base64-js": "^1.2.3", + "xmlbuilder": "^15.1.1" } }, - "node_modules/@radix-ui/react-use-effect-event": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/@radix-ui/react-use-effect-event/-/react-use-effect-event-0.0.2.tgz", - "integrity": "sha512-Qp8WbZOBe+blgpuUT+lw2xheLP8q0oatc9UpmiemEICxGvFLYmHm9QowVZGHtJlGbS6A6yJ3iViad/2cVjnOiA==", + "node_modules/@expo/prebuild-config": { + "version": "54.0.8", + "resolved": "https://registry.npmjs.org/@expo/prebuild-config/-/prebuild-config-54.0.8.tgz", + "integrity": "sha512-EA7N4dloty2t5Rde+HP0IEE+nkAQiu4A/+QGZGT9mFnZ5KKjPPkqSyYcRvP5bhQE10D+tvz6X0ngZpulbMdbsg==", "license": "MIT", "dependencies": { - "@radix-ui/react-use-layout-effect": "1.1.1" + "@expo/config": "~12.0.13", + "@expo/config-plugins": "~54.0.4", + "@expo/config-types": "^54.0.10", + "@expo/image-utils": "^0.8.8", + "@expo/json-file": "^10.0.8", + "@react-native/normalize-colors": "0.81.5", + "debug": "^4.3.1", + "resolve-from": "^5.0.0", + "semver": "^7.6.0", + "xml2js": "0.6.0" }, "peerDependencies": { - "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + "expo": "*" + } + }, + "node_modules/@expo/prebuild-config/node_modules/semver": { + "version": "7.7.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz", + "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==", + "license": "ISC", + "bin": { + "semver": "bin/semver.js" }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } + "engines": { + "node": ">=10" } }, - "node_modules/@radix-ui/react-use-escape-keydown": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@radix-ui/react-use-escape-keydown/-/react-use-escape-keydown-1.1.1.tgz", - "integrity": "sha512-Il0+boE7w/XebUHyBjroE+DbByORGR9KKmITzbR7MyQ4akpORYP/ZmbhAr0DG7RmmBqoOnZdy2QlvajJ2QA59g==", + "node_modules/@expo/schema-utils": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/@expo/schema-utils/-/schema-utils-0.1.8.tgz", + "integrity": "sha512-9I6ZqvnAvKKDiO+ZF8BpQQFYWXOJvTAL5L/227RUbWG1OVZDInFifzCBiqAZ3b67NRfeAgpgvbA7rejsqhY62A==", + "license": "MIT" + }, + "node_modules/@expo/sdk-runtime-versions": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@expo/sdk-runtime-versions/-/sdk-runtime-versions-1.0.0.tgz", + "integrity": "sha512-Doz2bfiPndXYFPMRwPyGa1k5QaKDVpY806UJj570epIiMzWaYyCtobasyfC++qfIXVb5Ocy7r3tP9d62hAQ7IQ==", + "license": "MIT" + }, + "node_modules/@expo/server": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/@expo/server/-/server-0.6.3.tgz", + "integrity": "sha512-Ea7NJn9Xk1fe4YeJ86rObHSv/bm3u/6WiQPXEqXJ2GrfYpVab2Swoh9/PnSM3KjR64JAgKjArDn1HiPjITCfHA==", "license": "MIT", "dependencies": { - "@radix-ui/react-use-callback-ref": "1.1.1" - }, - "peerDependencies": { - "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } + "abort-controller": "^3.0.0", + "debug": "^4.3.4", + "source-map-support": "~0.5.21", + "undici": "^6.18.2 || ^7.0.0" } }, - "node_modules/@radix-ui/react-use-layout-effect": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.1.1.tgz", - "integrity": "sha512-RbJRS4UWQFkzHTTwVymMTUv8EqYhOp8dOOviLj2ugtTiXRaRQS7GLGxZTLL1jWhMeoSCf5zmcZkqTl9IiYfXcQ==", + "node_modules/@expo/spawn-async": { + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/@expo/spawn-async/-/spawn-async-1.7.2.tgz", + "integrity": "sha512-QdWi16+CHB9JYP7gma19OVVg0BFkvU8zNj9GjWorYI8Iv8FUxjOCcYRuAmX4s/h91e4e7BPsskc8cSrZYho9Ew==", "license": "MIT", - "peerDependencies": { - "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + "dependencies": { + "cross-spawn": "^7.0.3" }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } + "engines": { + "node": ">=12" } }, - "node_modules/@radix-ui/react-use-previous": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@radix-ui/react-use-previous/-/react-use-previous-1.1.1.tgz", - "integrity": "sha512-2dHfToCj/pzca2Ck724OZ5L0EVrr3eHRNsG/b3xQJLA2hZpVCS99bLAX+hm1IHXDEnzU6by5z/5MIY794/a8NQ==", + "node_modules/@expo/sudo-prompt": { + "version": "9.3.2", + "resolved": "https://registry.npmjs.org/@expo/sudo-prompt/-/sudo-prompt-9.3.2.tgz", + "integrity": "sha512-HHQigo3rQWKMDzYDLkubN5WQOYXJJE2eNqIQC2axC2iO3mHdwnIR7FgZVvHWtBwAdzBgAP0ECp8KqS8TiMKvgw==", + "license": "MIT" + }, + "node_modules/@expo/vector-icons": { + "version": "15.0.3", + "resolved": "https://registry.npmjs.org/@expo/vector-icons/-/vector-icons-15.0.3.tgz", + "integrity": "sha512-SBUyYKphmlfUBqxSfDdJ3jAdEVSALS2VUPOUyqn48oZmb2TL/O7t7/PQm5v4NQujYEPLPMTLn9KVw6H7twwbTA==", "license": "MIT", "peerDependencies": { - "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + "expo-font": ">=14.0.4", + "react": "*", + "react-native": "*" + } + }, + "node_modules/@expo/ws-tunnel": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/@expo/ws-tunnel/-/ws-tunnel-1.0.6.tgz", + "integrity": "sha512-nDRbLmSrJar7abvUjp3smDwH8HcbZcoOEa5jVPUv9/9CajgmWw20JNRwTuBRzWIWIkEJDkz20GoNA+tSwUqk0Q==", + "license": "MIT" + }, + "node_modules/@expo/xcpretty": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/@expo/xcpretty/-/xcpretty-4.3.2.tgz", + "integrity": "sha512-ReZxZ8pdnoI3tP/dNnJdnmAk7uLT4FjsKDGW7YeDdvdOMz2XCQSmSCM9IWlrXuWtMF9zeSB6WJtEhCQ41gQOfw==", + "license": "BSD-3-Clause", + "dependencies": { + "@babel/code-frame": "7.10.4", + "chalk": "^4.1.0", + "find-up": "^5.0.0", + "js-yaml": "^4.1.0" }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } + "bin": { + "excpretty": "build/cli.js" } }, - "node_modules/@radix-ui/react-use-rect": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@radix-ui/react-use-rect/-/react-use-rect-1.1.1.tgz", - "integrity": "sha512-QTYuDesS0VtuHNNvMh+CjlKJ4LJickCMUAqjlE3+j8w+RlRpwyX3apEQKGFzbZGdo7XNG1tXa+bQqIE7HIXT2w==", + "node_modules/@expo/xcpretty/node_modules/@babel/code-frame": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz", + "integrity": "sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg==", "license": "MIT", "dependencies": { - "@radix-ui/rect": "1.1.1" - }, - "peerDependencies": { - "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } + "@babel/highlight": "^7.10.4" } }, - "node_modules/@radix-ui/react-use-size": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@radix-ui/react-use-size/-/react-use-size-1.1.1.tgz", - "integrity": "sha512-ewrXRDTAqAXlkl6t/fkXWNAhFX9I+CkKlw6zjEwk86RSPKwZr3xpBRso655aqYafwtnbpHLj6toFzmd6xdVptQ==", + "node_modules/@floating-ui/core": { + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.7.3.tgz", + "integrity": "sha512-sGnvb5dmrJaKEZ+LDIpguvdX3bDlEllmv4/ClQ9awcmCZrlx5jQyyMWFM5kBI+EyNOCDDiKk8il0zeuX3Zlg/w==", "license": "MIT", "dependencies": { - "@radix-ui/react-use-layout-effect": "1.1.1" - }, - "peerDependencies": { - "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } + "@floating-ui/utils": "^0.2.10" } }, - "node_modules/@radix-ui/react-visually-hidden": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/@radix-ui/react-visually-hidden/-/react-visually-hidden-1.2.3.tgz", - "integrity": "sha512-pzJq12tEaaIhqjbzpCuv/OypJY/BPavOofm+dbab+MHLajy277+1lLm6JFcGgF5eskJ6mquGirhXY2GD/8u8Ug==", + "node_modules/@floating-ui/dom": { + "version": "1.7.4", + "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.7.4.tgz", + "integrity": "sha512-OOchDgh4F2CchOX94cRVqhvy7b3AFb+/rQXyswmzmGakRfkMgoWVjfnLWkRirfLEfuD4ysVW16eXzwt3jHIzKA==", "license": "MIT", "dependencies": { - "@radix-ui/react-primitive": "2.1.3" - }, - "peerDependencies": { - "@types/react": "*", - "@types/react-dom": "*", - "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", - "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - }, - "@types/react-dom": { - "optional": true - } + "@floating-ui/core": "^1.7.3", + "@floating-ui/utils": "^0.2.10" } }, - "node_modules/@radix-ui/rect": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@radix-ui/rect/-/rect-1.1.1.tgz", - "integrity": "sha512-HPwpGIzkl28mWyZqG52jiqDJ12waP11Pa1lGoiyUkIEuMLBP0oeK/C89esbXrxsky5we7dfd8U58nm0SgAWpVw==", - "license": "MIT" + "node_modules/@floating-ui/react": { + "version": "0.26.28", + "resolved": "https://registry.npmjs.org/@floating-ui/react/-/react-0.26.28.tgz", + "integrity": "sha512-yORQuuAtVpiRjpMhdc0wJj06b9JFjrYF4qp96j++v2NBpbi6SEGF7donUJ3TMieerQ6qVkAv1tgr7L4r5roTqw==", + "license": "MIT", + "dependencies": { + "@floating-ui/react-dom": "^2.1.2", + "@floating-ui/utils": "^0.2.8", + "tabbable": "^6.0.0" + }, + "peerDependencies": { + "react": ">=16.8.0", + "react-dom": ">=16.8.0" + } }, - "node_modules/@react-aria/focus": { - "version": "3.21.3", - "resolved": "https://registry.npmjs.org/@react-aria/focus/-/focus-3.21.3.tgz", - "integrity": "sha512-FsquWvjSCwC2/sBk4b+OqJyONETUIXQ2vM0YdPAuC+QFQh2DT6TIBo6dOZVSezlhudDla69xFBd6JvCFq1AbUw==", - "license": "Apache-2.0", + "node_modules/@floating-ui/react-dom": { + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@floating-ui/react-dom/-/react-dom-2.1.6.tgz", + "integrity": "sha512-4JX6rEatQEvlmgU80wZyq9RT96HZJa88q8hp0pBd+LrczeDI4o6uA2M+uvxngVHo4Ihr8uibXxH6+70zhAFrVw==", + "license": "MIT", "dependencies": { - "@react-aria/interactions": "^3.26.0", - "@react-aria/utils": "^3.32.0", - "@react-types/shared": "^3.32.1", - "@swc/helpers": "^0.5.0", - "clsx": "^2.0.0" + "@floating-ui/dom": "^1.7.4" }, "peerDependencies": { - "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1", - "react-dom": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1" + "react": ">=16.8.0", + "react-dom": ">=16.8.0" } }, - "node_modules/@react-aria/interactions": { - "version": "3.26.0", - "resolved": "https://registry.npmjs.org/@react-aria/interactions/-/interactions-3.26.0.tgz", - "integrity": "sha512-AAEcHiltjfbmP1i9iaVw34Mb7kbkiHpYdqieWufldh4aplWgsF11YQZOfaCJW4QoR2ML4Zzoa9nfFwLXA52R7Q==", - "license": "Apache-2.0", + "node_modules/@floating-ui/utils": { + "version": "0.2.10", + "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.10.tgz", + "integrity": "sha512-aGTxbpbg8/b5JfU1HXSrbH3wXZuLPJcNEcZQFMxLs3oSzgtVu6nFPkbbGGUvBcUjKV2YyB9Wxxabo+HEH9tcRQ==", + "license": "MIT" + }, + "node_modules/@formatjs/fast-memoize": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@formatjs/fast-memoize/-/fast-memoize-3.0.3.tgz", + "integrity": "sha512-CArYtQKGLAOruCMeq5/RxCg6vUXFx3OuKBdTm30Wn/+gCefehmZ8Y2xSMxMrO2iel7hRyE3HKfV56t3vAU6D4Q==", + "license": "MIT", "dependencies": { - "@react-aria/ssr": "^3.9.10", - "@react-aria/utils": "^3.32.0", - "@react-stately/flags": "^3.1.2", - "@react-types/shared": "^3.32.1", - "@swc/helpers": "^0.5.0" + "tslib": "^2.8.0" + } + }, + "node_modules/@formatjs/intl-localematcher": { + "version": "0.7.5", + "resolved": "https://registry.npmjs.org/@formatjs/intl-localematcher/-/intl-localematcher-0.7.5.tgz", + "integrity": "sha512-7/nd90cn5CT7SVF71/ybUKAcnvBlr9nZlJJp8O8xIZHXFgYOC4SXExZlSdgHv2l6utjw1byidL06QzChvQMHwA==", + "license": "MIT", + "dependencies": { + "@formatjs/fast-memoize": "3.0.3", + "tslib": "^2.8.0" + } + }, + "node_modules/@fumadocs/ui": { + "version": "16.4.7", + "resolved": "https://registry.npmjs.org/@fumadocs/ui/-/ui-16.4.7.tgz", + "integrity": "sha512-NnkMIN5BzBRh2OzA9rp2SgbGEkEwfCfq0sE4vq2n+GkIDIggicGYUNgSl2gtIBQsKYKP/a4/0wrkQKdq4eUJlw==", + "license": "MIT", + "dependencies": { + "next-themes": "^0.4.6", + "postcss-selector-parser": "^7.1.1", + "tailwind-merge": "^3.4.0" }, "peerDependencies": { - "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1", - "react-dom": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1" + "@types/react": "*", + "fumadocs-core": "16.4.7", + "next": "16.x.x", + "react": "^19.2.0", + "react-dom": "^19.2.0", + "tailwindcss": "^4.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "next": { + "optional": true + }, + "tailwindcss": { + "optional": true + } } }, - "node_modules/@react-aria/ssr": { - "version": "3.9.10", - "resolved": "https://registry.npmjs.org/@react-aria/ssr/-/ssr-3.9.10.tgz", - "integrity": "sha512-hvTm77Pf+pMBhuBm760Li0BVIO38jv1IBws1xFm1NoL26PU+fe+FMW5+VZWyANR6nYL65joaJKZqOdTQMkO9IQ==", - "license": "Apache-2.0", + "node_modules/@fumadocs/ui/node_modules/postcss-selector-parser": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.1.tgz", + "integrity": "sha512-orRsuYpJVw8LdAwqqLykBj9ecS5/cRHlI5+nvTo8LcCKmzDmqVORXtOIYEEQuL9D4BxtA1lm5isAqzQZCoQ6Eg==", + "license": "MIT", "dependencies": { - "@swc/helpers": "^0.5.0" + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" }, "engines": { - "node": ">= 12" - }, - "peerDependencies": { - "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1" + "node": ">=4" } }, - "node_modules/@react-aria/utils": { - "version": "3.32.0", - "resolved": "https://registry.npmjs.org/@react-aria/utils/-/utils-3.32.0.tgz", - "integrity": "sha512-/7Rud06+HVBIlTwmwmJa2W8xVtgxgzm0+kLbuFooZRzKDON6hhozS1dOMR/YLMxyJOaYOTpImcP4vRR9gL1hEg==", - "license": "Apache-2.0", + "node_modules/@headlessui/react": { + "version": "2.2.9", + "resolved": "https://registry.npmjs.org/@headlessui/react/-/react-2.2.9.tgz", + "integrity": "sha512-Mb+Un58gwBn0/yWZfyrCh0TJyurtT+dETj7YHleylHk5od3dv2XqETPGWMyQ5/7sYN7oWdyM1u9MvC0OC8UmzQ==", + "license": "MIT", "dependencies": { - "@react-aria/ssr": "^3.9.10", - "@react-stately/flags": "^3.1.2", - "@react-stately/utils": "^3.11.0", - "@react-types/shared": "^3.32.1", - "@swc/helpers": "^0.5.0", - "clsx": "^2.0.0" + "@floating-ui/react": "^0.26.16", + "@react-aria/focus": "^3.20.2", + "@react-aria/interactions": "^3.25.0", + "@tanstack/react-virtual": "^3.13.9", + "use-sync-external-store": "^1.5.0" + }, + "engines": { + "node": ">=10" }, "peerDependencies": { - "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1", - "react-dom": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1" + "react": "^18 || ^19 || ^19.0.0-rc", + "react-dom": "^18 || ^19 || ^19.0.0-rc" } }, - "node_modules/@react-native/normalize-colors": { - "version": "0.74.89", - "resolved": "https://registry.npmjs.org/@react-native/normalize-colors/-/normalize-colors-0.74.89.tgz", - "integrity": "sha512-qoMMXddVKVhZ8PA1AbUCk83trpd6N+1nF2A6k1i6LsQObyS92fELuk8kU/lQs6M7BsMHwqyLCpQJ1uFgNvIQXg==", - "license": "MIT" - }, - "node_modules/@react-stately/flags": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/@react-stately/flags/-/flags-3.1.2.tgz", - "integrity": "sha512-2HjFcZx1MyQXoPqcBGALwWWmgFVUk2TuKVIQxCbRq7fPyWXIl6VHcakCLurdtYC2Iks7zizvz0Idv48MQ38DWg==", + "node_modules/@humanfs/core": { + "version": "0.19.1", + "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz", + "integrity": "sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==", + "dev": true, "license": "Apache-2.0", - "dependencies": { - "@swc/helpers": "^0.5.0" + "engines": { + "node": ">=18.18.0" } }, - "node_modules/@react-stately/utils": { - "version": "3.11.0", - "resolved": "https://registry.npmjs.org/@react-stately/utils/-/utils-3.11.0.tgz", - "integrity": "sha512-8LZpYowJ9eZmmYLpudbo/eclIRnbhWIJZ994ncmlKlouNzKohtM8qTC6B1w1pwUbiwGdUoyzLuQbeaIor5Dvcw==", + "node_modules/@humanfs/node": { + "version": "0.16.7", + "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.7.tgz", + "integrity": "sha512-/zUx+yOsIrG4Y43Eh2peDeKCxlRt/gET6aHfaKpuq267qXdYDFViVHfMaLyygZOnl0kGWxFIgsBy8QFuTLUXEQ==", + "dev": true, "license": "Apache-2.0", "dependencies": { - "@swc/helpers": "^0.5.0" + "@humanfs/core": "^0.19.1", + "@humanwhocodes/retry": "^0.4.0" }, - "peerDependencies": { - "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1" + "engines": { + "node": ">=18.18.0" } }, - "node_modules/@react-types/shared": { - "version": "3.32.1", - "resolved": "https://registry.npmjs.org/@react-types/shared/-/shared-3.32.1.tgz", - "integrity": "sha512-famxyD5emrGGpFuUlgOP6fVW2h/ZaF405G5KDi3zPHzyjAWys/8W6NAVJtNbkCkhedmvL0xOhvt8feGXyXaw5w==", + "node_modules/@humanwhocodes/module-importer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", + "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", + "dev": true, "license": "Apache-2.0", - "peerDependencies": { - "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1" + "engines": { + "node": ">=12.22" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" } }, - "node_modules/@rtsao/scc": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@rtsao/scc/-/scc-1.1.0.tgz", - "integrity": "sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g==", + "node_modules/@humanwhocodes/retry": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.3.tgz", + "integrity": "sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==", "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=18.18" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@iconify/types": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@iconify/types/-/types-2.0.0.tgz", + "integrity": "sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==", "license": "MIT" }, - "node_modules/@shikijs/core": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@shikijs/core/-/core-3.20.0.tgz", - "integrity": "sha512-f2ED7HYV4JEk827mtMDwe/yQ25pRiXZmtHjWF8uzZKuKiEsJR7Ce1nuQ+HhV9FzDcbIo4ObBCD9GPTzNuy9S1g==", + "node_modules/@iconify/utils": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@iconify/utils/-/utils-3.1.0.tgz", + "integrity": "sha512-Zlzem1ZXhI1iHeeERabLNzBHdOa4VhQbqAcOQaMKuTuyZCpwKbC2R4Dd0Zo3g9EAc+Y4fiarO8HIHRAth7+skw==", "license": "MIT", "dependencies": { - "@shikijs/types": "3.20.0", - "@shikijs/vscode-textmate": "^10.0.2", - "@types/hast": "^3.0.4", - "hast-util-to-html": "^9.0.5" + "@antfu/install-pkg": "^1.1.0", + "@iconify/types": "^2.0.0", + "mlly": "^1.8.0" } }, - "node_modules/@shikijs/engine-javascript": { - "version": "3.21.0", - "resolved": "https://registry.npmjs.org/@shikijs/engine-javascript/-/engine-javascript-3.21.0.tgz", - "integrity": "sha512-ATwv86xlbmfD9n9gKRiwuPpWgPENAWCLwYCGz9ugTJlsO2kOzhOkvoyV/UD+tJ0uT7YRyD530x6ugNSffmvIiQ==", + "node_modules/@img/colour": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@img/colour/-/colour-1.0.0.tgz", + "integrity": "sha512-A5P/LfWGFSl6nsckYtjw9da+19jB8hkJ6ACTGcDfEJ0aE+l2n2El7dsVM7UVHZQ9s2lmYMWlrS21YLy2IR1LUw==", "license": "MIT", - "dependencies": { - "@shikijs/types": "3.21.0", - "@shikijs/vscode-textmate": "^10.0.2", - "oniguruma-to-es": "^4.3.4" + "optional": true, + "engines": { + "node": ">=18" } }, - "node_modules/@shikijs/engine-javascript/node_modules/@shikijs/types": { - "version": "3.21.0", - "resolved": "https://registry.npmjs.org/@shikijs/types/-/types-3.21.0.tgz", - "integrity": "sha512-zGrWOxZ0/+0ovPY7PvBU2gIS9tmhSUUt30jAcNV0Bq0gb2S98gwfjIs1vxlmH5zM7/4YxLamT6ChlqqAJmPPjA==", + "node_modules/@img/sharp-darwin-arm64": { + "version": "0.34.5", + "resolved": "https://registry.npmjs.org/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.34.5.tgz", + "integrity": "sha512-imtQ3WMJXbMY4fxb/Ndp6HBTNVtWCUI0WdobyheGf5+ad6xX8VIDO8u2xE4qc/fr08CKG/7dDseFtn6M6g/r3w==", + "cpu": [ + "arm64" + ], + "license": "Apache-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + }, + "optionalDependencies": { + "@img/sharp-libvips-darwin-arm64": "1.2.4" + } + }, + "node_modules/@img/sharp-darwin-x64": { + "version": "0.34.5", + "resolved": "https://registry.npmjs.org/@img/sharp-darwin-x64/-/sharp-darwin-x64-0.34.5.tgz", + "integrity": "sha512-YNEFAF/4KQ/PeW0N+r+aVVsoIY0/qxxikF2SWdp+NRkmMB7y9LBZAVqQ4yhGCm/H3H270OSykqmQMKLBhBJDEw==", + "cpu": [ + "x64" + ], + "license": "Apache-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + }, + "optionalDependencies": { + "@img/sharp-libvips-darwin-x64": "1.2.4" + } + }, + "node_modules/@img/sharp-libvips-darwin-arm64": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-arm64/-/sharp-libvips-darwin-arm64-1.2.4.tgz", + "integrity": "sha512-zqjjo7RatFfFoP0MkQ51jfuFZBnVE2pRiaydKJ1G/rHZvnsrHAOcQALIi9sA5co5xenQdTugCvtb1cuf78Vf4g==", + "cpu": [ + "arm64" + ], + "license": "LGPL-3.0-or-later", + "optional": true, + "os": [ + "darwin" + ], + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-libvips-darwin-x64": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-x64/-/sharp-libvips-darwin-x64-1.2.4.tgz", + "integrity": "sha512-1IOd5xfVhlGwX+zXv2N93k0yMONvUlANylbJw1eTah8K/Jtpi15KC+WSiaX/nBmbm2HxRM1gZ0nSdjSsrZbGKg==", + "cpu": [ + "x64" + ], + "license": "LGPL-3.0-or-later", + "optional": true, + "os": [ + "darwin" + ], + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-libvips-linux-arm": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm/-/sharp-libvips-linux-arm-1.2.4.tgz", + "integrity": "sha512-bFI7xcKFELdiNCVov8e44Ia4u2byA+l3XtsAj+Q8tfCwO6BQ8iDojYdvoPMqsKDkuoOo+X6HZA0s0q11ANMQ8A==", + "cpu": [ + "arm" + ], + "license": "LGPL-3.0-or-later", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-libvips-linux-arm64": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm64/-/sharp-libvips-linux-arm64-1.2.4.tgz", + "integrity": "sha512-excjX8DfsIcJ10x1Kzr4RcWe1edC9PquDRRPx3YVCvQv+U5p7Yin2s32ftzikXojb1PIFc/9Mt28/y+iRklkrw==", + "cpu": [ + "arm64" + ], + "license": "LGPL-3.0-or-later", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-libvips-linux-ppc64": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-ppc64/-/sharp-libvips-linux-ppc64-1.2.4.tgz", + "integrity": "sha512-FMuvGijLDYG6lW+b/UvyilUWu5Ayu+3r2d1S8notiGCIyYU/76eig1UfMmkZ7vwgOrzKzlQbFSuQfgm7GYUPpA==", + "cpu": [ + "ppc64" + ], + "license": "LGPL-3.0-or-later", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-libvips-linux-riscv64": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-riscv64/-/sharp-libvips-linux-riscv64-1.2.4.tgz", + "integrity": "sha512-oVDbcR4zUC0ce82teubSm+x6ETixtKZBh/qbREIOcI3cULzDyb18Sr/Wcyx7NRQeQzOiHTNbZFF1UwPS2scyGA==", + "cpu": [ + "riscv64" + ], + "license": "LGPL-3.0-or-later", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-libvips-linux-s390x": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-s390x/-/sharp-libvips-linux-s390x-1.2.4.tgz", + "integrity": "sha512-qmp9VrzgPgMoGZyPvrQHqk02uyjA0/QrTO26Tqk6l4ZV0MPWIW6LTkqOIov+J1yEu7MbFQaDpwdwJKhbJvuRxQ==", + "cpu": [ + "s390x" + ], + "license": "LGPL-3.0-or-later", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-libvips-linux-x64": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-x64/-/sharp-libvips-linux-x64-1.2.4.tgz", + "integrity": "sha512-tJxiiLsmHc9Ax1bz3oaOYBURTXGIRDODBqhveVHonrHJ9/+k89qbLl0bcJns+e4t4rvaNBxaEZsFtSfAdquPrw==", + "cpu": [ + "x64" + ], + "license": "LGPL-3.0-or-later", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-libvips-linuxmusl-arm64": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-arm64/-/sharp-libvips-linuxmusl-arm64-1.2.4.tgz", + "integrity": "sha512-FVQHuwx1IIuNow9QAbYUzJ+En8KcVm9Lk5+uGUQJHaZmMECZmOlix9HnH7n1TRkXMS0pGxIJokIVB9SuqZGGXw==", + "cpu": [ + "arm64" + ], + "license": "LGPL-3.0-or-later", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-libvips-linuxmusl-x64": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-x64/-/sharp-libvips-linuxmusl-x64-1.2.4.tgz", + "integrity": "sha512-+LpyBk7L44ZIXwz/VYfglaX/okxezESc6UxDSoyo2Ks6Jxc4Y7sGjpgU9s4PMgqgjj1gZCylTieNamqA1MF7Dg==", + "cpu": [ + "x64" + ], + "license": "LGPL-3.0-or-later", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-linux-arm": { + "version": "0.34.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm/-/sharp-linux-arm-0.34.5.tgz", + "integrity": "sha512-9dLqsvwtg1uuXBGZKsxem9595+ujv0sJ6Vi8wcTANSFpwV/GONat5eCkzQo/1O6zRIkh0m/8+5BjrRr7jDUSZw==", + "cpu": [ + "arm" + ], + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + }, + "optionalDependencies": { + "@img/sharp-libvips-linux-arm": "1.2.4" + } + }, + "node_modules/@img/sharp-linux-arm64": { + "version": "0.34.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm64/-/sharp-linux-arm64-0.34.5.tgz", + "integrity": "sha512-bKQzaJRY/bkPOXyKx5EVup7qkaojECG6NLYswgktOZjaXecSAeCWiZwwiFf3/Y+O1HrauiE3FVsGxFg8c24rZg==", + "cpu": [ + "arm64" + ], + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + }, + "optionalDependencies": { + "@img/sharp-libvips-linux-arm64": "1.2.4" + } + }, + "node_modules/@img/sharp-linux-ppc64": { + "version": "0.34.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linux-ppc64/-/sharp-linux-ppc64-0.34.5.tgz", + "integrity": "sha512-7zznwNaqW6YtsfrGGDA6BRkISKAAE1Jo0QdpNYXNMHu2+0dTrPflTLNkpc8l7MUP5M16ZJcUvysVWWrMefZquA==", + "cpu": [ + "ppc64" + ], + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + }, + "optionalDependencies": { + "@img/sharp-libvips-linux-ppc64": "1.2.4" + } + }, + "node_modules/@img/sharp-linux-riscv64": { + "version": "0.34.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linux-riscv64/-/sharp-linux-riscv64-0.34.5.tgz", + "integrity": "sha512-51gJuLPTKa7piYPaVs8GmByo7/U7/7TZOq+cnXJIHZKavIRHAP77e3N2HEl3dgiqdD/w0yUfiJnII77PuDDFdw==", + "cpu": [ + "riscv64" + ], + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + }, + "optionalDependencies": { + "@img/sharp-libvips-linux-riscv64": "1.2.4" + } + }, + "node_modules/@img/sharp-linux-s390x": { + "version": "0.34.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linux-s390x/-/sharp-linux-s390x-0.34.5.tgz", + "integrity": "sha512-nQtCk0PdKfho3eC5MrbQoigJ2gd1CgddUMkabUj+rBevs8tZ2cULOx46E7oyX+04WGfABgIwmMC0VqieTiR4jg==", + "cpu": [ + "s390x" + ], + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + }, + "optionalDependencies": { + "@img/sharp-libvips-linux-s390x": "1.2.4" + } + }, + "node_modules/@img/sharp-linux-x64": { + "version": "0.34.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linux-x64/-/sharp-linux-x64-0.34.5.tgz", + "integrity": "sha512-MEzd8HPKxVxVenwAa+JRPwEC7QFjoPWuS5NZnBt6B3pu7EG2Ge0id1oLHZpPJdn3OQK+BQDiw9zStiHBTJQQQQ==", + "cpu": [ + "x64" + ], + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + }, + "optionalDependencies": { + "@img/sharp-libvips-linux-x64": "1.2.4" + } + }, + "node_modules/@img/sharp-linuxmusl-arm64": { + "version": "0.34.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-arm64/-/sharp-linuxmusl-arm64-0.34.5.tgz", + "integrity": "sha512-fprJR6GtRsMt6Kyfq44IsChVZeGN97gTD331weR1ex1c1rypDEABN6Tm2xa1wE6lYb5DdEnk03NZPqA7Id21yg==", + "cpu": [ + "arm64" + ], + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + }, + "optionalDependencies": { + "@img/sharp-libvips-linuxmusl-arm64": "1.2.4" + } + }, + "node_modules/@img/sharp-linuxmusl-x64": { + "version": "0.34.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-x64/-/sharp-linuxmusl-x64-0.34.5.tgz", + "integrity": "sha512-Jg8wNT1MUzIvhBFxViqrEhWDGzqymo3sV7z7ZsaWbZNDLXRJZoRGrjulp60YYtV4wfY8VIKcWidjojlLcWrd8Q==", + "cpu": [ + "x64" + ], + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + }, + "optionalDependencies": { + "@img/sharp-libvips-linuxmusl-x64": "1.2.4" + } + }, + "node_modules/@img/sharp-wasm32": { + "version": "0.34.5", + "resolved": "https://registry.npmjs.org/@img/sharp-wasm32/-/sharp-wasm32-0.34.5.tgz", + "integrity": "sha512-OdWTEiVkY2PHwqkbBI8frFxQQFekHaSSkUIJkwzclWZe64O1X4UlUjqqqLaPbUpMOQk6FBu/HtlGXNblIs0huw==", + "cpu": [ + "wasm32" + ], + "license": "Apache-2.0 AND LGPL-3.0-or-later AND MIT", + "optional": true, + "dependencies": { + "@emnapi/runtime": "^1.7.0" + }, + "engines": { + "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-win32-arm64": { + "version": "0.34.5", + "resolved": "https://registry.npmjs.org/@img/sharp-win32-arm64/-/sharp-win32-arm64-0.34.5.tgz", + "integrity": "sha512-WQ3AgWCWYSb2yt+IG8mnC6Jdk9Whs7O0gxphblsLvdhSpSTtmu69ZG1Gkb6NuvxsNACwiPV6cNSZNzt0KPsw7g==", + "cpu": [ + "arm64" + ], + "license": "Apache-2.0 AND LGPL-3.0-or-later", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-win32-ia32": { + "version": "0.34.5", + "resolved": "https://registry.npmjs.org/@img/sharp-win32-ia32/-/sharp-win32-ia32-0.34.5.tgz", + "integrity": "sha512-FV9m/7NmeCmSHDD5j4+4pNI8Cp3aW+JvLoXcTUo0IqyjSfAZJ8dIUmijx1qaJsIiU+Hosw6xM5KijAWRJCSgNg==", + "cpu": [ + "ia32" + ], + "license": "Apache-2.0 AND LGPL-3.0-or-later", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-win32-x64": { + "version": "0.34.5", + "resolved": "https://registry.npmjs.org/@img/sharp-win32-x64/-/sharp-win32-x64-0.34.5.tgz", + "integrity": "sha512-+29YMsqY2/9eFEiW93eqWnuLcWcufowXewwSNIT6UwZdUUCrM3oFjMWH/Z6/TMmb4hlFenmfAVbpWeup2jryCw==", + "cpu": [ + "x64" + ], + "license": "Apache-2.0 AND LGPL-3.0-or-later", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@isaacs/balanced-match": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@isaacs/balanced-match/-/balanced-match-4.0.1.tgz", + "integrity": "sha512-yzMTt9lEb8Gv7zRioUilSglI0c0smZ9k5D65677DLWLtWJaXIS3CqcGyUFByYKlnUj6TkjLVs54fBl6+TiGQDQ==", + "license": "MIT", + "engines": { + "node": "20 || >=22" + } + }, + "node_modules/@isaacs/brace-expansion": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/@isaacs/brace-expansion/-/brace-expansion-5.0.0.tgz", + "integrity": "sha512-ZT55BDLV0yv0RBm2czMiZ+SqCGO7AvmOM3G/w2xhVPH+te0aKgFjmBvGlL1dH+ql2tgGO3MVrbb3jCKyvpgnxA==", + "license": "MIT", + "dependencies": { + "@isaacs/balanced-match": "^4.0.1" + }, + "engines": { + "node": "20 || >=22" + } + }, + "node_modules/@isaacs/fs-minipass": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@isaacs/fs-minipass/-/fs-minipass-4.0.1.tgz", + "integrity": "sha512-wgm9Ehl2jpeqP3zw/7mo3kRHFp5MEDhqAdwy1fTGkHAwnkGOVsgpvQhL8B5n1qlb01jV3n/bI0ZfZp5lWA1k4w==", + "license": "ISC", + "dependencies": { + "minipass": "^7.0.4" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@isaacs/ttlcache": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/@isaacs/ttlcache/-/ttlcache-1.4.1.tgz", + "integrity": "sha512-RQgQ4uQ+pLbqXfOmieB91ejmLwvSgv9nLx6sT6sD83s7umBypgg+OIBOBbEUiJXrfpnp9j0mRhYYdzp9uqq3lA==", + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/@istanbuljs/load-nyc-config": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz", + "integrity": "sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==", + "license": "ISC", + "dependencies": { + "camelcase": "^5.3.1", + "find-up": "^4.1.0", + "get-package-type": "^0.1.0", + "js-yaml": "^3.13.1", + "resolve-from": "^5.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@istanbuljs/load-nyc-config/node_modules/argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "license": "MIT", + "dependencies": { + "sprintf-js": "~1.0.2" + } + }, + "node_modules/@istanbuljs/load-nyc-config/node_modules/camelcase": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/@istanbuljs/load-nyc-config/node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "license": "MIT", + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml": { + "version": "3.14.2", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.2.tgz", + "integrity": "sha512-PMSmkqxr106Xa156c2M265Z+FTrPl+oxd/rgOQy2tijQeK5TxQ43psO1ZCwhVOSdnn+RzkzlRz/eY4BgJBYVpg==", + "license": "MIT", + "dependencies": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/@istanbuljs/load-nyc-config/node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "license": "MIT", + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@istanbuljs/load-nyc-config/node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "license": "MIT", + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@istanbuljs/load-nyc-config/node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "license": "MIT", + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@istanbuljs/schema": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz", + "integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/@jest/create-cache-key-function": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/create-cache-key-function/-/create-cache-key-function-29.7.0.tgz", + "integrity": "sha512-4QqS3LY5PBmTRHj9sAg1HLoPzqAI0uOX6wI/TRqHIcOxlFidy6YEmCQJk6FSZjNLGCeubDMfmkWL+qaLKhSGQA==", + "license": "MIT", + "dependencies": { + "@jest/types": "^29.6.3" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/environment": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-29.7.0.tgz", + "integrity": "sha512-aQIfHDq33ExsN4jP1NWGXhxgQ/wixs60gDiKO+XVMd8Mn0NWPWgc34ZQDTb2jKaUWQ7MuwoitXAsN2XVXNMpAw==", + "license": "MIT", + "dependencies": { + "@jest/fake-timers": "^29.7.0", + "@jest/types": "^29.6.3", + "@types/node": "*", + "jest-mock": "^29.7.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/fake-timers": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-29.7.0.tgz", + "integrity": "sha512-q4DH1Ha4TTFPdxLsqDXK1d3+ioSL7yL5oCMJZgDYm6i+6CygW5E5xVr/D1HdsGxjt1ZWSfUAs9OxSB/BNelWrQ==", + "license": "MIT", + "dependencies": { + "@jest/types": "^29.6.3", + "@sinonjs/fake-timers": "^10.0.2", + "@types/node": "*", + "jest-message-util": "^29.7.0", + "jest-mock": "^29.7.0", + "jest-util": "^29.7.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/schemas": { + "version": "29.6.3", + "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-29.6.3.tgz", + "integrity": "sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==", + "license": "MIT", + "dependencies": { + "@sinclair/typebox": "^0.27.8" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/transform": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-29.7.0.tgz", + "integrity": "sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw==", + "license": "MIT", + "dependencies": { + "@babel/core": "^7.11.6", + "@jest/types": "^29.6.3", + "@jridgewell/trace-mapping": "^0.3.18", + "babel-plugin-istanbul": "^6.1.1", + "chalk": "^4.0.0", + "convert-source-map": "^2.0.0", + "fast-json-stable-stringify": "^2.1.0", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^29.7.0", + "jest-regex-util": "^29.6.3", + "jest-util": "^29.7.0", + "micromatch": "^4.0.4", + "pirates": "^4.0.4", + "slash": "^3.0.0", + "write-file-atomic": "^4.0.2" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/types": { + "version": "29.6.3", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.6.3.tgz", + "integrity": "sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw==", + "license": "MIT", + "dependencies": { + "@jest/schemas": "^29.6.3", + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^3.0.0", + "@types/node": "*", + "@types/yargs": "^17.0.8", + "chalk": "^4.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.13", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz", + "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==", + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.5.0", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "node_modules/@jridgewell/remapping": { + "version": "2.3.5", + "resolved": "https://registry.npmjs.org/@jridgewell/remapping/-/remapping-2.3.5.tgz", + "integrity": "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==", + "license": "MIT", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/source-map": { + "version": "0.3.11", + "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.11.tgz", + "integrity": "sha512-ZMp1V8ZFcPG5dIWnQLr3NSI1MiCU7UETdS/A0G8V/XWHvJv3ZsFqutJn1Y5RPmAPX6F3BiE397OqveU/9NCuIA==", + "license": "MIT", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.25" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz", + "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==", + "license": "MIT" + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.31", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz", + "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==", + "license": "MIT", + "dependencies": { + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" + } + }, + "node_modules/@mdx-js/mdx": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@mdx-js/mdx/-/mdx-3.1.1.tgz", + "integrity": "sha512-f6ZO2ifpwAQIpzGWaBQT2TXxPv6z3RBzQKpVftEWN78Vl/YweF1uwussDx8ECAXVtr3Rs89fKyG9YlzUs9DyGQ==", + "license": "MIT", + "dependencies": { + "@types/estree": "^1.0.0", + "@types/estree-jsx": "^1.0.0", + "@types/hast": "^3.0.0", + "@types/mdx": "^2.0.0", + "acorn": "^8.0.0", + "collapse-white-space": "^2.0.0", + "devlop": "^1.0.0", + "estree-util-is-identifier-name": "^3.0.0", + "estree-util-scope": "^1.0.0", + "estree-walker": "^3.0.0", + "hast-util-to-jsx-runtime": "^2.0.0", + "markdown-extensions": "^2.0.0", + "recma-build-jsx": "^1.0.0", + "recma-jsx": "^1.0.0", + "recma-stringify": "^1.0.0", + "rehype-recma": "^1.0.0", + "remark-mdx": "^3.0.0", + "remark-parse": "^11.0.0", + "remark-rehype": "^11.0.0", + "source-map": "^0.7.0", + "unified": "^11.0.0", + "unist-util-position-from-estree": "^2.0.0", + "unist-util-stringify-position": "^4.0.0", + "unist-util-visit": "^5.0.0", + "vfile": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/@mermaid-js/parser": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/@mermaid-js/parser/-/parser-0.6.3.tgz", + "integrity": "sha512-lnjOhe7zyHjc+If7yT4zoedx2vo4sHaTmtkl1+or8BRTnCtDmcTpAjpzDSfCZrshM5bCoz0GyidzadJAH1xobA==", + "license": "MIT", + "dependencies": { + "langium": "3.3.1" + } + }, + "node_modules/@napi-rs/simple-git": { + "version": "0.1.22", + "resolved": "https://registry.npmjs.org/@napi-rs/simple-git/-/simple-git-0.1.22.tgz", + "integrity": "sha512-bMVoAKhpjTOPHkW/lprDPwv5aD4R4C3Irt8vn+SKA9wudLe9COLxOhurrKRsxmZccUbWXRF7vukNeGUAj5P8kA==", + "license": "MIT", + "engines": { + "node": ">= 10" + }, + "optionalDependencies": { + "@napi-rs/simple-git-android-arm-eabi": "0.1.22", + "@napi-rs/simple-git-android-arm64": "0.1.22", + "@napi-rs/simple-git-darwin-arm64": "0.1.22", + "@napi-rs/simple-git-darwin-x64": "0.1.22", + "@napi-rs/simple-git-freebsd-x64": "0.1.22", + "@napi-rs/simple-git-linux-arm-gnueabihf": "0.1.22", + "@napi-rs/simple-git-linux-arm64-gnu": "0.1.22", + "@napi-rs/simple-git-linux-arm64-musl": "0.1.22", + "@napi-rs/simple-git-linux-ppc64-gnu": "0.1.22", + "@napi-rs/simple-git-linux-s390x-gnu": "0.1.22", + "@napi-rs/simple-git-linux-x64-gnu": "0.1.22", + "@napi-rs/simple-git-linux-x64-musl": "0.1.22", + "@napi-rs/simple-git-win32-arm64-msvc": "0.1.22", + "@napi-rs/simple-git-win32-ia32-msvc": "0.1.22", + "@napi-rs/simple-git-win32-x64-msvc": "0.1.22" + } + }, + "node_modules/@napi-rs/simple-git-android-arm-eabi": { + "version": "0.1.22", + "resolved": "https://registry.npmjs.org/@napi-rs/simple-git-android-arm-eabi/-/simple-git-android-arm-eabi-0.1.22.tgz", + "integrity": "sha512-JQZdnDNm8o43A5GOzwN/0Tz3CDBQtBUNqzVwEopm32uayjdjxev1Csp1JeaqF3v9djLDIvsSE39ecsN2LhCKKQ==", + "cpu": [ + "arm" + ], + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/simple-git-android-arm64": { + "version": "0.1.22", + "resolved": "https://registry.npmjs.org/@napi-rs/simple-git-android-arm64/-/simple-git-android-arm64-0.1.22.tgz", + "integrity": "sha512-46OZ0SkhnvM+fapWjzg/eqbJvClxynUpWYyYBn4jAj7GQs1/Yyc8431spzDmkA8mL0M7Xo8SmbkzTDE7WwYAfg==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/simple-git-darwin-arm64": { + "version": "0.1.22", + "resolved": "https://registry.npmjs.org/@napi-rs/simple-git-darwin-arm64/-/simple-git-darwin-arm64-0.1.22.tgz", + "integrity": "sha512-zH3h0C8Mkn9//MajPI6kHnttywjsBmZ37fhLX/Fiw5XKu84eHA6dRyVtMzoZxj6s+bjNTgaMgMUucxPn9ktxTQ==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/simple-git-darwin-x64": { + "version": "0.1.22", + "resolved": "https://registry.npmjs.org/@napi-rs/simple-git-darwin-x64/-/simple-git-darwin-x64-0.1.22.tgz", + "integrity": "sha512-GZN7lRAkGKB6PJxWsoyeYJhh85oOOjVNyl+/uipNX8bR+mFDCqRsCE3rRCFGV9WrZUHXkcuRL2laIRn7lLi3ag==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/simple-git-freebsd-x64": { + "version": "0.1.22", + "resolved": "https://registry.npmjs.org/@napi-rs/simple-git-freebsd-x64/-/simple-git-freebsd-x64-0.1.22.tgz", + "integrity": "sha512-xyqX1C5I0WBrUgZONxHjZH5a4LqQ9oki3SKFAVpercVYAcx3pq6BkZy1YUOP4qx78WxU1CCNfHBN7V+XO7D99A==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/simple-git-linux-arm-gnueabihf": { + "version": "0.1.22", + "resolved": "https://registry.npmjs.org/@napi-rs/simple-git-linux-arm-gnueabihf/-/simple-git-linux-arm-gnueabihf-0.1.22.tgz", + "integrity": "sha512-4LOtbp9ll93B9fxRvXiUJd1/RM3uafMJE7dGBZGKWBMGM76+BAcCEUv2BY85EfsU/IgopXI6n09TycRfPWOjxA==", + "cpu": [ + "arm" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/simple-git-linux-arm64-gnu": { + "version": "0.1.22", + "resolved": "https://registry.npmjs.org/@napi-rs/simple-git-linux-arm64-gnu/-/simple-git-linux-arm64-gnu-0.1.22.tgz", + "integrity": "sha512-GVOjP/JjCzbQ0kSqao7ctC/1sodVtv5VF57rW9BFpo2y6tEYPCqHnkQkTpieuwMNe+TVOhBUC1+wH0d9/knIHg==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/simple-git-linux-arm64-musl": { + "version": "0.1.22", + "resolved": "https://registry.npmjs.org/@napi-rs/simple-git-linux-arm64-musl/-/simple-git-linux-arm64-musl-0.1.22.tgz", + "integrity": "sha512-MOs7fPyJiU/wqOpKzAOmOpxJ/TZfP4JwmvPad/cXTOWYwwyppMlXFRms3i98EU3HOazI/wMU2Ksfda3+TBluWA==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/simple-git-linux-ppc64-gnu": { + "version": "0.1.22", + "resolved": "https://registry.npmjs.org/@napi-rs/simple-git-linux-ppc64-gnu/-/simple-git-linux-ppc64-gnu-0.1.22.tgz", + "integrity": "sha512-L59dR30VBShRUIZ5/cQHU25upNgKS0AMQ7537J6LCIUEFwwXrKORZKJ8ceR+s3Sr/4jempWVvMdjEpFDE4HYww==", + "cpu": [ + "ppc64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/simple-git-linux-s390x-gnu": { + "version": "0.1.22", + "resolved": "https://registry.npmjs.org/@napi-rs/simple-git-linux-s390x-gnu/-/simple-git-linux-s390x-gnu-0.1.22.tgz", + "integrity": "sha512-4FHkPlCSIZUGC6HiADffbe6NVoTBMd65pIwcd40IDbtFKOgFMBA+pWRqKiQ21FERGH16Zed7XHJJoY3jpOqtmQ==", + "cpu": [ + "s390x" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/simple-git-linux-x64-gnu": { + "version": "0.1.22", + "resolved": "https://registry.npmjs.org/@napi-rs/simple-git-linux-x64-gnu/-/simple-git-linux-x64-gnu-0.1.22.tgz", + "integrity": "sha512-Ei1tM5Ho/dwknF3pOzqkNW9Iv8oFzRxE8uOhrITcdlpxRxVrBVptUF6/0WPdvd7R9747D/q61QG/AVyWsWLFKw==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/simple-git-linux-x64-musl": { + "version": "0.1.22", + "resolved": "https://registry.npmjs.org/@napi-rs/simple-git-linux-x64-musl/-/simple-git-linux-x64-musl-0.1.22.tgz", + "integrity": "sha512-zRYxg7it0p3rLyEJYoCoL2PQJNgArVLyNavHW03TFUAYkYi5bxQ/UFNVpgxMaXohr5yu7qCBqeo9j4DWeysalg==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/simple-git-win32-arm64-msvc": { + "version": "0.1.22", + "resolved": "https://registry.npmjs.org/@napi-rs/simple-git-win32-arm64-msvc/-/simple-git-win32-arm64-msvc-0.1.22.tgz", + "integrity": "sha512-XGFR1fj+Y9cWACcovV2Ey/R2xQOZKs8t+7KHPerYdJ4PtjVzGznI4c2EBHXtdOIYvkw7tL5rZ7FN1HJKdD5Quw==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/simple-git-win32-ia32-msvc": { + "version": "0.1.22", + "resolved": "https://registry.npmjs.org/@napi-rs/simple-git-win32-ia32-msvc/-/simple-git-win32-ia32-msvc-0.1.22.tgz", + "integrity": "sha512-Gqr9Y0gs6hcNBA1IXBpoqTFnnIoHuZGhrYqaZzEvGMLrTrpbXrXVEtX3DAAD2RLc1b87CPcJ49a7sre3PU3Rfw==", + "cpu": [ + "ia32" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/simple-git-win32-x64-msvc": { + "version": "0.1.22", + "resolved": "https://registry.npmjs.org/@napi-rs/simple-git-win32-x64-msvc/-/simple-git-win32-x64-msvc-0.1.22.tgz", + "integrity": "sha512-hQjcreHmUcpw4UrtkOron1/TQObfe484lxiXFLLUj7aWnnnOVs1mnXq5/Bo9+3NYZldFpFRJPdPBeHCisXkKJg==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/wasm-runtime": { + "version": "0.2.12", + "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-0.2.12.tgz", + "integrity": "sha512-ZVWUcfwY4E/yPitQJl481FjFo3K22D6qF0DuFH6Y/nbnE11GY5uguDxZMGXPQ8WQ0128MXQD7TnfHyK4oWoIJQ==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@emnapi/core": "^1.4.3", + "@emnapi/runtime": "^1.4.3", + "@tybys/wasm-util": "^0.10.0" + } + }, + "node_modules/@next/env": { + "version": "16.1.1", + "resolved": "https://registry.npmjs.org/@next/env/-/env-16.1.1.tgz", + "integrity": "sha512-3oxyM97Sr2PqiVyMyrZUtrtM3jqqFxOQJVuKclDsgj/L728iZt/GyslkN4NwarledZATCenbk4Offjk1hQmaAA==", + "license": "MIT" + }, + "node_modules/@next/eslint-plugin-next": { + "version": "16.1.1", + "resolved": "https://registry.npmjs.org/@next/eslint-plugin-next/-/eslint-plugin-next-16.1.1.tgz", + "integrity": "sha512-Ovb/6TuLKbE1UiPcg0p39Ke3puyTCIKN9hGbNItmpQsp+WX3qrjO3WaMVSi6JHr9X1NrmthqIguVHodMJbh/dw==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-glob": "3.3.1" + } + }, + "node_modules/@next/eslint-plugin-next/node_modules/fast-glob": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.1.tgz", + "integrity": "sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" + }, + "engines": { + "node": ">=8.6.0" + } + }, + "node_modules/@next/eslint-plugin-next/node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/@next/swc-darwin-arm64": { + "version": "16.1.1", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-16.1.1.tgz", + "integrity": "sha512-JS3m42ifsVSJjSTzh27nW+Igfha3NdBOFScr9C80hHGrWx55pTrVL23RJbqir7k7/15SKlrLHhh/MQzqBBYrQA==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-darwin-x64": { + "version": "16.1.1", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-16.1.1.tgz", + "integrity": "sha512-hbyKtrDGUkgkyQi1m1IyD3q4I/3m9ngr+V93z4oKHrPcmxwNL5iMWORvLSGAf2YujL+6HxgVvZuCYZfLfb4bGw==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-linux-arm64-gnu": { + "version": "16.1.1", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-16.1.1.tgz", + "integrity": "sha512-/fvHet+EYckFvRLQ0jPHJCUI5/B56+2DpI1xDSvi80r/3Ez+Eaa2Yq4tJcRTaB1kqj/HrYKn8Yplm9bNoMJpwQ==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-linux-arm64-musl": { + "version": "16.1.1", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-16.1.1.tgz", + "integrity": "sha512-MFHrgL4TXNQbBPzkKKur4Fb5ICEJa87HM7fczFs2+HWblM7mMLdco3dvyTI+QmLBU9xgns/EeeINSZD6Ar+oLg==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-linux-x64-gnu": { + "version": "16.1.1", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-16.1.1.tgz", + "integrity": "sha512-20bYDfgOQAPUkkKBnyP9PTuHiJGM7HzNBbuqmD0jiFVZ0aOldz+VnJhbxzjcSabYsnNjMPsE0cyzEudpYxsrUQ==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-linux-x64-musl": { + "version": "16.1.1", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-16.1.1.tgz", + "integrity": "sha512-9pRbK3M4asAHQRkwaXwu601oPZHghuSC8IXNENgbBSyImHv/zY4K5udBusgdHkvJ/Tcr96jJwQYOll0qU8+fPA==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-win32-arm64-msvc": { + "version": "16.1.1", + "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-16.1.1.tgz", + "integrity": "sha512-bdfQkggaLgnmYrFkSQfsHfOhk/mCYmjnrbRCGgkMcoOBZ4n+TRRSLmT/CU5SATzlBJ9TpioUyBW/vWFXTqQRiA==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-win32-x64-msvc": { + "version": "16.1.1", + "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-16.1.1.tgz", + "integrity": "sha512-Ncwbw2WJ57Al5OX0k4chM68DKhEPlrXBaSXDCi2kPi5f4d8b3ejr3RRJGfKBLrn2YJL5ezNS7w2TZLHSti8CMw==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@nodelib/fs.scandir": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "license": "MIT", + "dependencies": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.stat": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.walk": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "license": "MIT", + "dependencies": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nolyfill/is-core-module": { + "version": "1.0.39", + "resolved": "https://registry.npmjs.org/@nolyfill/is-core-module/-/is-core-module-1.0.39.tgz", + "integrity": "sha512-nn5ozdjYQpUCZlWGuxcJY/KpxkWQs4DcbMCmKojjyrYDEAGy4Ce19NN4v5MduafTwJlbKc99UA8YhSVqq9yPZA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12.4.0" + } + }, + "node_modules/@orama/orama": { + "version": "3.1.18", + "resolved": "https://registry.npmjs.org/@orama/orama/-/orama-3.1.18.tgz", + "integrity": "sha512-a61ljmRVVyG5MC/698C8/FfFDw5a8LOIvyOLW5fztgUXqUpc1jOfQzOitSCbge657OgXXThmY3Tk8fpiDb4UcA==", + "license": "Apache-2.0", + "engines": { + "node": ">= 20.0.0" + } + }, + "node_modules/@radix-ui/number": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@radix-ui/number/-/number-1.1.1.tgz", + "integrity": "sha512-MkKCwxlXTgz6CFoJx3pCwn07GKp36+aZyu/u2Ln2VrA5DcdyCZkASEDBTd8x5whTQQL5CiYf4prXKLcgQdv29g==", + "license": "MIT" + }, + "node_modules/@radix-ui/primitive": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-1.1.3.tgz", + "integrity": "sha512-JTF99U/6XIjCBo0wqkU5sK10glYe27MRRsfwoiq5zzOEZLHU3A3KCMa5X/azekYRCJ0HlwI0crAXS/5dEHTzDg==", + "license": "MIT" + }, + "node_modules/@radix-ui/react-accordion": { + "version": "1.2.12", + "resolved": "https://registry.npmjs.org/@radix-ui/react-accordion/-/react-accordion-1.2.12.tgz", + "integrity": "sha512-T4nygeh9YE9dLRPhAHSeOZi7HBXo+0kYIPJXayZfvWOWA0+n3dESrZbjfDPUABkUNym6Hd+f2IR113To8D2GPA==", + "license": "MIT", + "dependencies": { + "@radix-ui/primitive": "1.1.3", + "@radix-ui/react-collapsible": "1.1.12", + "@radix-ui/react-collection": "1.1.7", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-direction": "1.1.1", + "@radix-ui/react-id": "1.1.1", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-use-controllable-state": "1.2.2" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-arrow": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/@radix-ui/react-arrow/-/react-arrow-1.1.7.tgz", + "integrity": "sha512-F+M1tLhO+mlQaOWspE8Wstg+z6PwxwRd8oQ8IXceWz92kfAmalTRf0EjrouQeo7QssEPfCn05B4Ihs1K9WQ/7w==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-primitive": "2.1.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-collapsible": { + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/@radix-ui/react-collapsible/-/react-collapsible-1.1.12.tgz", + "integrity": "sha512-Uu+mSh4agx2ib1uIGPP4/CKNULyajb3p92LsVXmH2EHVMTfZWpll88XJ0j4W0z3f8NK1eYl1+Mf/szHPmcHzyA==", + "license": "MIT", + "dependencies": { + "@radix-ui/primitive": "1.1.3", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-id": "1.1.1", + "@radix-ui/react-presence": "1.1.5", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-use-controllable-state": "1.2.2", + "@radix-ui/react-use-layout-effect": "1.1.1" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-collection": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/@radix-ui/react-collection/-/react-collection-1.1.7.tgz", + "integrity": "sha512-Fh9rGN0MoI4ZFUNyfFVNU4y9LUz93u9/0K+yLgA2bwRojxM8JU1DyvvMBabnZPBgMWREAJvU2jjVzq+LrFUglw==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-slot": "1.2.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-collection/node_modules/@radix-ui/react-slot": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz", + "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.2" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-compose-refs": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.2.tgz", + "integrity": "sha512-z4eqJvfiNnFMHIIvXP3CY57y2WJs5g2v3X0zm9mEJkrkNv4rDxu+sg9Jh8EkXyeqBkB7SOcboo9dMVqhyrACIg==", + "license": "MIT", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-context": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.2.tgz", + "integrity": "sha512-jCi/QKUM2r1Ju5a3J64TH2A5SpKAgh0LpknyqdQ4m6DCV0xJ2HG1xARRwNGPQfi1SLdLWZ1OJz6F4OMBBNiGJA==", + "license": "MIT", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-dialog": { + "version": "1.1.15", + "resolved": "https://registry.npmjs.org/@radix-ui/react-dialog/-/react-dialog-1.1.15.tgz", + "integrity": "sha512-TCglVRtzlffRNxRMEyR36DGBLJpeusFcgMVD9PZEzAKnUs1lKCgX5u9BmC2Yg+LL9MgZDugFFs1Vl+Jp4t/PGw==", + "license": "MIT", + "dependencies": { + "@radix-ui/primitive": "1.1.3", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-dismissable-layer": "1.1.11", + "@radix-ui/react-focus-guards": "1.1.3", + "@radix-ui/react-focus-scope": "1.1.7", + "@radix-ui/react-id": "1.1.1", + "@radix-ui/react-portal": "1.1.9", + "@radix-ui/react-presence": "1.1.5", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-slot": "1.2.3", + "@radix-ui/react-use-controllable-state": "1.2.2", + "aria-hidden": "^1.2.4", + "react-remove-scroll": "^2.6.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-slot": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz", + "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.2" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-direction": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@radix-ui/react-direction/-/react-direction-1.1.1.tgz", + "integrity": "sha512-1UEWRX6jnOA2y4H5WczZ44gOOjTEmlqv1uNW4GAJEO5+bauCBhv8snY65Iw5/VOS/ghKN9gr2KjnLKxrsvoMVw==", + "license": "MIT", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-dismissable-layer": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/@radix-ui/react-dismissable-layer/-/react-dismissable-layer-1.1.11.tgz", + "integrity": "sha512-Nqcp+t5cTB8BinFkZgXiMJniQH0PsUt2k51FUhbdfeKvc4ACcG2uQniY/8+h1Yv6Kza4Q7lD7PQV0z0oicE0Mg==", + "license": "MIT", + "dependencies": { + "@radix-ui/primitive": "1.1.3", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-use-callback-ref": "1.1.1", + "@radix-ui/react-use-escape-keydown": "1.1.1" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-focus-guards": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-focus-guards/-/react-focus-guards-1.1.3.tgz", + "integrity": "sha512-0rFg/Rj2Q62NCm62jZw0QX7a3sz6QCQU0LpZdNrJX8byRGaGVTqbrW9jAoIAHyMQqsNpeZ81YgSizOt5WXq0Pw==", + "license": "MIT", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-focus-scope": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/@radix-ui/react-focus-scope/-/react-focus-scope-1.1.7.tgz", + "integrity": "sha512-t2ODlkXBQyn7jkl6TNaw/MtVEVvIGelJDCG41Okq/KwUsJBwQ4XVZsHAVUkK4mBv3ewiAS3PGuUWuY2BoK4ZUw==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-use-callback-ref": "1.1.1" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-id": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@radix-ui/react-id/-/react-id-1.1.1.tgz", + "integrity": "sha512-kGkGegYIdQsOb4XjsfM97rXsiHaBwco+hFI66oO4s9LU+PLAC5oJ7khdOVFxkhsmlbpUqDAvXw11CluXP+jkHg==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-use-layout-effect": "1.1.1" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-navigation-menu": { + "version": "1.2.14", + "resolved": "https://registry.npmjs.org/@radix-ui/react-navigation-menu/-/react-navigation-menu-1.2.14.tgz", + "integrity": "sha512-YB9mTFQvCOAQMHU+C/jVl96WmuWeltyUEpRJJky51huhds5W2FQr1J8D/16sQlf0ozxkPK8uF3niQMdUwZPv5w==", + "license": "MIT", + "dependencies": { + "@radix-ui/primitive": "1.1.3", + "@radix-ui/react-collection": "1.1.7", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-direction": "1.1.1", + "@radix-ui/react-dismissable-layer": "1.1.11", + "@radix-ui/react-id": "1.1.1", + "@radix-ui/react-presence": "1.1.5", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-use-callback-ref": "1.1.1", + "@radix-ui/react-use-controllable-state": "1.2.2", + "@radix-ui/react-use-layout-effect": "1.1.1", + "@radix-ui/react-use-previous": "1.1.1", + "@radix-ui/react-visually-hidden": "1.2.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-popover": { + "version": "1.1.15", + "resolved": "https://registry.npmjs.org/@radix-ui/react-popover/-/react-popover-1.1.15.tgz", + "integrity": "sha512-kr0X2+6Yy/vJzLYJUPCZEc8SfQcf+1COFoAqauJm74umQhta9M7lNJHP7QQS3vkvcGLQUbWpMzwrXYwrYztHKA==", + "license": "MIT", + "dependencies": { + "@radix-ui/primitive": "1.1.3", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-dismissable-layer": "1.1.11", + "@radix-ui/react-focus-guards": "1.1.3", + "@radix-ui/react-focus-scope": "1.1.7", + "@radix-ui/react-id": "1.1.1", + "@radix-ui/react-popper": "1.2.8", + "@radix-ui/react-portal": "1.1.9", + "@radix-ui/react-presence": "1.1.5", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-slot": "1.2.3", + "@radix-ui/react-use-controllable-state": "1.2.2", + "aria-hidden": "^1.2.4", + "react-remove-scroll": "^2.6.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-slot": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz", + "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.2" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-popper": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@radix-ui/react-popper/-/react-popper-1.2.8.tgz", + "integrity": "sha512-0NJQ4LFFUuWkE7Oxf0htBKS6zLkkjBH+hM1uk7Ng705ReR8m/uelduy1DBo0PyBXPKVnBA6YBlU94MBGXrSBCw==", + "license": "MIT", + "dependencies": { + "@floating-ui/react-dom": "^2.0.0", + "@radix-ui/react-arrow": "1.1.7", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-use-callback-ref": "1.1.1", + "@radix-ui/react-use-layout-effect": "1.1.1", + "@radix-ui/react-use-rect": "1.1.1", + "@radix-ui/react-use-size": "1.1.1", + "@radix-ui/rect": "1.1.1" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-portal": { + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/@radix-ui/react-portal/-/react-portal-1.1.9.tgz", + "integrity": "sha512-bpIxvq03if6UNwXZ+HTK71JLh4APvnXntDc6XOX8UVq4XQOVl7lwok0AvIl+b8zgCw3fSaVTZMpAPPagXbKmHQ==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-use-layout-effect": "1.1.1" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-presence": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.1.5.tgz", + "integrity": "sha512-/jfEwNDdQVBCNvjkGit4h6pMOzq8bHkopq458dPt2lMjx+eBQUohZNG9A7DtO/O5ukSbxuaNGXMjHicgwy6rQQ==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-use-layout-effect": "1.1.1" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-primitive": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.3.tgz", + "integrity": "sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-slot": "1.2.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz", + "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.2" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-roving-focus": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/@radix-ui/react-roving-focus/-/react-roving-focus-1.1.11.tgz", + "integrity": "sha512-7A6S9jSgm/S+7MdtNDSb+IU859vQqJ/QAtcYQcfFC6W8RS4IxIZDldLR0xqCFZ6DCyrQLjLPsxtTNch5jVA4lA==", + "license": "MIT", + "dependencies": { + "@radix-ui/primitive": "1.1.3", + "@radix-ui/react-collection": "1.1.7", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-direction": "1.1.1", + "@radix-ui/react-id": "1.1.1", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-use-callback-ref": "1.1.1", + "@radix-ui/react-use-controllable-state": "1.2.2" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-scroll-area": { + "version": "1.2.10", + "resolved": "https://registry.npmjs.org/@radix-ui/react-scroll-area/-/react-scroll-area-1.2.10.tgz", + "integrity": "sha512-tAXIa1g3sM5CGpVT0uIbUx/U3Gs5N8T52IICuCtObaos1S8fzsrPXG5WObkQN3S6NVl6wKgPhAIiBGbWnvc97A==", + "license": "MIT", + "dependencies": { + "@radix-ui/number": "1.1.1", + "@radix-ui/primitive": "1.1.3", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-direction": "1.1.1", + "@radix-ui/react-presence": "1.1.5", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-use-callback-ref": "1.1.1", + "@radix-ui/react-use-layout-effect": "1.1.1" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-slot": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.0.tgz", + "integrity": "sha512-ujc+V6r0HNDviYqIK3rW4ffgYiZ8g5DEHrGJVk4x7kTlLXRDILnKX9vAUYeIsLOoDpDJ0ujpqMkjH4w2ofuo6w==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.2" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-tabs": { + "version": "1.1.13", + "resolved": "https://registry.npmjs.org/@radix-ui/react-tabs/-/react-tabs-1.1.13.tgz", + "integrity": "sha512-7xdcatg7/U+7+Udyoj2zodtI9H/IIopqo+YOIcZOq1nJwXWBZ9p8xiu5llXlekDbZkca79a/fozEYQXIA4sW6A==", + "license": "MIT", + "dependencies": { + "@radix-ui/primitive": "1.1.3", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-direction": "1.1.1", + "@radix-ui/react-id": "1.1.1", + "@radix-ui/react-presence": "1.1.5", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-roving-focus": "1.1.11", + "@radix-ui/react-use-controllable-state": "1.2.2" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-use-callback-ref": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.1.1.tgz", + "integrity": "sha512-FkBMwD+qbGQeMu1cOHnuGB6x4yzPjho8ap5WtbEJ26umhgqVXbhekKUQO+hZEL1vU92a3wHwdp0HAcqAUF5iDg==", + "license": "MIT", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-use-controllable-state": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-controllable-state/-/react-use-controllable-state-1.2.2.tgz", + "integrity": "sha512-BjasUjixPFdS+NKkypcyyN5Pmg83Olst0+c6vGov0diwTEo6mgdqVR6hxcEgFuh4QrAs7Rc+9KuGJ9TVCj0Zzg==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-use-effect-event": "0.0.2", + "@radix-ui/react-use-layout-effect": "1.1.1" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-use-effect-event": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-effect-event/-/react-use-effect-event-0.0.2.tgz", + "integrity": "sha512-Qp8WbZOBe+blgpuUT+lw2xheLP8q0oatc9UpmiemEICxGvFLYmHm9QowVZGHtJlGbS6A6yJ3iViad/2cVjnOiA==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-use-layout-effect": "1.1.1" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-use-escape-keydown": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-escape-keydown/-/react-use-escape-keydown-1.1.1.tgz", + "integrity": "sha512-Il0+boE7w/XebUHyBjroE+DbByORGR9KKmITzbR7MyQ4akpORYP/ZmbhAr0DG7RmmBqoOnZdy2QlvajJ2QA59g==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-use-callback-ref": "1.1.1" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-use-layout-effect": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.1.1.tgz", + "integrity": "sha512-RbJRS4UWQFkzHTTwVymMTUv8EqYhOp8dOOviLj2ugtTiXRaRQS7GLGxZTLL1jWhMeoSCf5zmcZkqTl9IiYfXcQ==", + "license": "MIT", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-use-previous": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-previous/-/react-use-previous-1.1.1.tgz", + "integrity": "sha512-2dHfToCj/pzca2Ck724OZ5L0EVrr3eHRNsG/b3xQJLA2hZpVCS99bLAX+hm1IHXDEnzU6by5z/5MIY794/a8NQ==", + "license": "MIT", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-use-rect": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-rect/-/react-use-rect-1.1.1.tgz", + "integrity": "sha512-QTYuDesS0VtuHNNvMh+CjlKJ4LJickCMUAqjlE3+j8w+RlRpwyX3apEQKGFzbZGdo7XNG1tXa+bQqIE7HIXT2w==", + "license": "MIT", + "dependencies": { + "@radix-ui/rect": "1.1.1" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-use-size": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-size/-/react-use-size-1.1.1.tgz", + "integrity": "sha512-ewrXRDTAqAXlkl6t/fkXWNAhFX9I+CkKlw6zjEwk86RSPKwZr3xpBRso655aqYafwtnbpHLj6toFzmd6xdVptQ==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-use-layout-effect": "1.1.1" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-visually-hidden": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-visually-hidden/-/react-visually-hidden-1.2.3.tgz", + "integrity": "sha512-pzJq12tEaaIhqjbzpCuv/OypJY/BPavOofm+dbab+MHLajy277+1lLm6JFcGgF5eskJ6mquGirhXY2GD/8u8Ug==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-primitive": "2.1.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/rect": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@radix-ui/rect/-/rect-1.1.1.tgz", + "integrity": "sha512-HPwpGIzkl28mWyZqG52jiqDJ12waP11Pa1lGoiyUkIEuMLBP0oeK/C89esbXrxsky5we7dfd8U58nm0SgAWpVw==", + "license": "MIT" + }, + "node_modules/@react-aria/focus": { + "version": "3.21.3", + "resolved": "https://registry.npmjs.org/@react-aria/focus/-/focus-3.21.3.tgz", + "integrity": "sha512-FsquWvjSCwC2/sBk4b+OqJyONETUIXQ2vM0YdPAuC+QFQh2DT6TIBo6dOZVSezlhudDla69xFBd6JvCFq1AbUw==", + "license": "Apache-2.0", + "dependencies": { + "@react-aria/interactions": "^3.26.0", + "@react-aria/utils": "^3.32.0", + "@react-types/shared": "^3.32.1", + "@swc/helpers": "^0.5.0", + "clsx": "^2.0.0" + }, + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1", + "react-dom": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1" + } + }, + "node_modules/@react-aria/interactions": { + "version": "3.26.0", + "resolved": "https://registry.npmjs.org/@react-aria/interactions/-/interactions-3.26.0.tgz", + "integrity": "sha512-AAEcHiltjfbmP1i9iaVw34Mb7kbkiHpYdqieWufldh4aplWgsF11YQZOfaCJW4QoR2ML4Zzoa9nfFwLXA52R7Q==", + "license": "Apache-2.0", + "dependencies": { + "@react-aria/ssr": "^3.9.10", + "@react-aria/utils": "^3.32.0", + "@react-stately/flags": "^3.1.2", + "@react-types/shared": "^3.32.1", + "@swc/helpers": "^0.5.0" + }, + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1", + "react-dom": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1" + } + }, + "node_modules/@react-aria/ssr": { + "version": "3.9.10", + "resolved": "https://registry.npmjs.org/@react-aria/ssr/-/ssr-3.9.10.tgz", + "integrity": "sha512-hvTm77Pf+pMBhuBm760Li0BVIO38jv1IBws1xFm1NoL26PU+fe+FMW5+VZWyANR6nYL65joaJKZqOdTQMkO9IQ==", + "license": "Apache-2.0", + "dependencies": { + "@swc/helpers": "^0.5.0" + }, + "engines": { + "node": ">= 12" + }, + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1" + } + }, + "node_modules/@react-aria/utils": { + "version": "3.32.0", + "resolved": "https://registry.npmjs.org/@react-aria/utils/-/utils-3.32.0.tgz", + "integrity": "sha512-/7Rud06+HVBIlTwmwmJa2W8xVtgxgzm0+kLbuFooZRzKDON6hhozS1dOMR/YLMxyJOaYOTpImcP4vRR9gL1hEg==", + "license": "Apache-2.0", + "dependencies": { + "@react-aria/ssr": "^3.9.10", + "@react-stately/flags": "^3.1.2", + "@react-stately/utils": "^3.11.0", + "@react-types/shared": "^3.32.1", + "@swc/helpers": "^0.5.0", + "clsx": "^2.0.0" + }, + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1", + "react-dom": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1" + } + }, + "node_modules/@react-native/assets-registry": { + "version": "0.81.5", + "resolved": "https://registry.npmjs.org/@react-native/assets-registry/-/assets-registry-0.81.5.tgz", + "integrity": "sha512-705B6x/5Kxm1RKRvSv0ADYWm5JOnoiQ1ufW7h8uu2E6G9Of/eE6hP/Ivw3U5jI16ERqZxiKQwk34VJbB0niX9w==", + "license": "MIT", + "engines": { + "node": ">= 20.19.4" + } + }, + "node_modules/@react-native/babel-plugin-codegen": { + "version": "0.79.6", + "resolved": "https://registry.npmjs.org/@react-native/babel-plugin-codegen/-/babel-plugin-codegen-0.79.6.tgz", + "integrity": "sha512-CS5OrgcMPixOyUJ/Sk/HSsKsKgyKT5P7y3CojimOQzWqRZBmoQfxdST4ugj7n1H+ebM2IKqbgovApFbqXsoX0g==", + "license": "MIT", + "dependencies": { + "@babel/traverse": "^7.25.3", + "@react-native/codegen": "0.79.6" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@react-native/babel-preset": { + "version": "0.79.6", + "resolved": "https://registry.npmjs.org/@react-native/babel-preset/-/babel-preset-0.79.6.tgz", + "integrity": "sha512-H+FRO+r2Ql6b5IwfE0E7D52JhkxjeGSBSUpCXAI5zQ60zSBJ54Hwh2bBJOohXWl4J+C7gKYSAd2JHMUETu+c/A==", + "license": "MIT", + "dependencies": { + "@babel/core": "^7.25.2", + "@babel/plugin-proposal-export-default-from": "^7.24.7", + "@babel/plugin-syntax-dynamic-import": "^7.8.3", + "@babel/plugin-syntax-export-default-from": "^7.24.7", + "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", + "@babel/plugin-syntax-optional-chaining": "^7.8.3", + "@babel/plugin-transform-arrow-functions": "^7.24.7", + "@babel/plugin-transform-async-generator-functions": "^7.25.4", + "@babel/plugin-transform-async-to-generator": "^7.24.7", + "@babel/plugin-transform-block-scoping": "^7.25.0", + "@babel/plugin-transform-class-properties": "^7.25.4", + "@babel/plugin-transform-classes": "^7.25.4", + "@babel/plugin-transform-computed-properties": "^7.24.7", + "@babel/plugin-transform-destructuring": "^7.24.8", + "@babel/plugin-transform-flow-strip-types": "^7.25.2", + "@babel/plugin-transform-for-of": "^7.24.7", + "@babel/plugin-transform-function-name": "^7.25.1", + "@babel/plugin-transform-literals": "^7.25.2", + "@babel/plugin-transform-logical-assignment-operators": "^7.24.7", + "@babel/plugin-transform-modules-commonjs": "^7.24.8", + "@babel/plugin-transform-named-capturing-groups-regex": "^7.24.7", + "@babel/plugin-transform-nullish-coalescing-operator": "^7.24.7", + "@babel/plugin-transform-numeric-separator": "^7.24.7", + "@babel/plugin-transform-object-rest-spread": "^7.24.7", + "@babel/plugin-transform-optional-catch-binding": "^7.24.7", + "@babel/plugin-transform-optional-chaining": "^7.24.8", + "@babel/plugin-transform-parameters": "^7.24.7", + "@babel/plugin-transform-private-methods": "^7.24.7", + "@babel/plugin-transform-private-property-in-object": "^7.24.7", + "@babel/plugin-transform-react-display-name": "^7.24.7", + "@babel/plugin-transform-react-jsx": "^7.25.2", + "@babel/plugin-transform-react-jsx-self": "^7.24.7", + "@babel/plugin-transform-react-jsx-source": "^7.24.7", + "@babel/plugin-transform-regenerator": "^7.24.7", + "@babel/plugin-transform-runtime": "^7.24.7", + "@babel/plugin-transform-shorthand-properties": "^7.24.7", + "@babel/plugin-transform-spread": "^7.24.7", + "@babel/plugin-transform-sticky-regex": "^7.24.7", + "@babel/plugin-transform-typescript": "^7.25.2", + "@babel/plugin-transform-unicode-regex": "^7.24.7", + "@babel/template": "^7.25.0", + "@react-native/babel-plugin-codegen": "0.79.6", + "babel-plugin-syntax-hermes-parser": "0.25.1", + "babel-plugin-transform-flow-enums": "^0.0.2", + "react-refresh": "^0.14.0" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@babel/core": "*" + } + }, + "node_modules/@react-native/codegen": { + "version": "0.79.6", + "resolved": "https://registry.npmjs.org/@react-native/codegen/-/codegen-0.79.6.tgz", + "integrity": "sha512-iRBX8Lgbqypwnfba7s6opeUwVyaR23mowh9ILw7EcT2oLz3RqMmjJdrbVpWhGSMGq2qkPfqAH7bhO8C7O+xfjQ==", + "license": "MIT", + "dependencies": { + "@babel/core": "^7.25.2", + "@babel/parser": "^7.25.3", + "glob": "^7.1.1", + "hermes-parser": "0.25.1", + "invariant": "^2.2.4", + "nullthrows": "^1.1.1", + "yargs": "^17.6.2" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@babel/core": "*" + } + }, + "node_modules/@react-native/community-cli-plugin": { + "version": "0.81.5", + "resolved": "https://registry.npmjs.org/@react-native/community-cli-plugin/-/community-cli-plugin-0.81.5.tgz", + "integrity": "sha512-yWRlmEOtcyvSZ4+OvqPabt+NS36vg0K/WADTQLhrYrm9qdZSuXmq8PmdJWz/68wAqKQ+4KTILiq2kjRQwnyhQw==", + "license": "MIT", + "dependencies": { + "@react-native/dev-middleware": "0.81.5", + "debug": "^4.4.0", + "invariant": "^2.2.4", + "metro": "^0.83.1", + "metro-config": "^0.83.1", + "metro-core": "^0.83.1", + "semver": "^7.1.3" + }, + "engines": { + "node": ">= 20.19.4" + }, + "peerDependencies": { + "@react-native-community/cli": "*", + "@react-native/metro-config": "*" + }, + "peerDependenciesMeta": { + "@react-native-community/cli": { + "optional": true + }, + "@react-native/metro-config": { + "optional": true + } + } + }, + "node_modules/@react-native/community-cli-plugin/node_modules/semver": { + "version": "7.7.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz", + "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==", + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@react-native/debugger-frontend": { + "version": "0.81.5", + "resolved": "https://registry.npmjs.org/@react-native/debugger-frontend/-/debugger-frontend-0.81.5.tgz", + "integrity": "sha512-bnd9FSdWKx2ncklOetCgrlwqSGhMHP2zOxObJbOWXoj7GHEmih4MKarBo5/a8gX8EfA1EwRATdfNBQ81DY+h+w==", + "license": "BSD-3-Clause", + "engines": { + "node": ">= 20.19.4" + } + }, + "node_modules/@react-native/dev-middleware": { + "version": "0.81.5", + "resolved": "https://registry.npmjs.org/@react-native/dev-middleware/-/dev-middleware-0.81.5.tgz", + "integrity": "sha512-WfPfZzboYgo/TUtysuD5xyANzzfka8Ebni6RIb2wDxhb56ERi7qDrE4xGhtPsjCL4pQBXSVxyIlCy0d8I6EgGA==", + "license": "MIT", + "dependencies": { + "@isaacs/ttlcache": "^1.4.1", + "@react-native/debugger-frontend": "0.81.5", + "chrome-launcher": "^0.15.2", + "chromium-edge-launcher": "^0.2.0", + "connect": "^3.6.5", + "debug": "^4.4.0", + "invariant": "^2.2.4", + "nullthrows": "^1.1.1", + "open": "^7.0.3", + "serve-static": "^1.16.2", + "ws": "^6.2.3" + }, + "engines": { + "node": ">= 20.19.4" + } + }, + "node_modules/@react-native/dev-middleware/node_modules/ws": { + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.3.tgz", + "integrity": "sha512-jmTjYU0j60B+vHey6TfR3Z7RD61z/hmxBS3VMSGIrroOWXQEneK1zNuotOUrGyBHQj0yrpsLHPWtigEFd13ndA==", + "license": "MIT", + "dependencies": { + "async-limiter": "~1.0.0" + } + }, + "node_modules/@react-native/gradle-plugin": { + "version": "0.81.5", + "resolved": "https://registry.npmjs.org/@react-native/gradle-plugin/-/gradle-plugin-0.81.5.tgz", + "integrity": "sha512-hORRlNBj+ReNMLo9jme3yQ6JQf4GZpVEBLxmTXGGlIL78MAezDZr5/uq9dwElSbcGmLEgeiax6e174Fie6qPLg==", + "license": "MIT", + "engines": { + "node": ">= 20.19.4" + } + }, + "node_modules/@react-native/js-polyfills": { + "version": "0.81.5", + "resolved": "https://registry.npmjs.org/@react-native/js-polyfills/-/js-polyfills-0.81.5.tgz", + "integrity": "sha512-fB7M1CMOCIUudTRuj7kzxIBTVw2KXnsgbQ6+4cbqSxo8NmRRhA0Ul4ZUzZj3rFd3VznTL4Brmocv1oiN0bWZ8w==", + "license": "MIT", + "engines": { + "node": ">= 20.19.4" + } + }, + "node_modules/@react-native/normalize-colors": { + "version": "0.81.5", + "resolved": "https://registry.npmjs.org/@react-native/normalize-colors/-/normalize-colors-0.81.5.tgz", + "integrity": "sha512-0HuJ8YtqlTVRXGZuGeBejLE04wSQsibpTI+RGOyVqxZvgtlLLC/Ssw0UmbHhT4lYMp2fhdtvKZSs5emWB1zR/g==", + "license": "MIT" + }, + "node_modules/@react-native/virtualized-lists": { + "version": "0.72.8", + "resolved": "https://registry.npmjs.org/@react-native/virtualized-lists/-/virtualized-lists-0.72.8.tgz", + "integrity": "sha512-J3Q4Bkuo99k7mu+jPS9gSUSgq+lLRSI/+ahXNwV92XgJ/8UgOTxu2LPwhJnBk/sQKxq7E8WkZBnBiozukQMqrw==", + "dev": true, "license": "MIT", "dependencies": { - "@shikijs/vscode-textmate": "^10.0.2", - "@types/hast": "^3.0.4" + "invariant": "^2.2.4", + "nullthrows": "^1.1.1" + }, + "peerDependencies": { + "react-native": "*" } }, - "node_modules/@shikijs/engine-oniguruma": { + "node_modules/@react-navigation/bottom-tabs": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@react-navigation/bottom-tabs/-/bottom-tabs-7.10.1.tgz", + "integrity": "sha512-MirOzKEe/rRwPSE9HMrS4niIo0LyUhewlvd01TpzQ1ipuXjH2wJbzAM9gS/r62zriB6HMHz2OY6oIRduwQJtTw==", + "license": "MIT", + "dependencies": { + "@react-navigation/elements": "^2.9.5", + "color": "^4.2.3", + "sf-symbols-typescript": "^2.1.0" + }, + "peerDependencies": { + "@react-navigation/native": "^7.1.28", + "react": ">= 18.2.0", + "react-native": "*", + "react-native-safe-area-context": ">= 4.0.0", + "react-native-screens": ">= 4.0.0" + } + }, + "node_modules/@react-navigation/core": { + "version": "7.14.0", + "resolved": "https://registry.npmjs.org/@react-navigation/core/-/core-7.14.0.tgz", + "integrity": "sha512-tMpzskBzVp0E7CRNdNtJIdXjk54Kwe/TF9ViXAef+YFM1kSfGv4e/B2ozfXE+YyYgmh4WavTv8fkdJz1CNyu+g==", + "license": "MIT", + "dependencies": { + "@react-navigation/routers": "^7.5.3", + "escape-string-regexp": "^4.0.0", + "fast-deep-equal": "^3.1.3", + "nanoid": "^3.3.11", + "query-string": "^7.1.3", + "react-is": "^19.1.0", + "use-latest-callback": "^0.2.4", + "use-sync-external-store": "^1.5.0" + }, + "peerDependencies": { + "react": ">= 18.2.0" + } + }, + "node_modules/@react-navigation/elements": { + "version": "2.9.5", + "resolved": "https://registry.npmjs.org/@react-navigation/elements/-/elements-2.9.5.tgz", + "integrity": "sha512-iHZU8rRN1014Upz73AqNVXDvSMZDh5/ktQ1CMe21rdgnOY79RWtHHBp9qOS3VtqlUVYGkuX5GEw5mDt4tKdl0g==", + "license": "MIT", + "dependencies": { + "color": "^4.2.3", + "use-latest-callback": "^0.2.4", + "use-sync-external-store": "^1.5.0" + }, + "peerDependencies": { + "@react-native-masked-view/masked-view": ">= 0.2.0", + "@react-navigation/native": "^7.1.28", + "react": ">= 18.2.0", + "react-native": "*", + "react-native-safe-area-context": ">= 4.0.0" + }, + "peerDependenciesMeta": { + "@react-native-masked-view/masked-view": { + "optional": true + } + } + }, + "node_modules/@react-navigation/native": { + "version": "7.1.28", + "resolved": "https://registry.npmjs.org/@react-navigation/native/-/native-7.1.28.tgz", + "integrity": "sha512-d1QDn+KNHfHGt3UIwOZvupvdsDdiHYZBEj7+wL2yDVo3tMezamYy60H9s3EnNVE1Ae1ty0trc7F2OKqo/RmsdQ==", + "license": "MIT", + "peer": true, + "dependencies": { + "@react-navigation/core": "^7.14.0", + "escape-string-regexp": "^4.0.0", + "fast-deep-equal": "^3.1.3", + "nanoid": "^3.3.11", + "use-latest-callback": "^0.2.4" + }, + "peerDependencies": { + "react": ">= 18.2.0", + "react-native": "*" + } + }, + "node_modules/@react-navigation/native-stack": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@react-navigation/native-stack/-/native-stack-7.10.1.tgz", + "integrity": "sha512-8jt7olKysn07HuKKSjT/ahZZTV+WaZa96o9RI7gAwh7ATlUDY02rIRttwvCyjovhSjD9KCiuJ+Hd4kwLidHwJw==", + "license": "MIT", + "dependencies": { + "@react-navigation/elements": "^2.9.5", + "color": "^4.2.3", + "sf-symbols-typescript": "^2.1.0", + "warn-once": "^0.1.1" + }, + "peerDependencies": { + "@react-navigation/native": "^7.1.28", + "react": ">= 18.2.0", + "react-native": "*", + "react-native-safe-area-context": ">= 4.0.0", + "react-native-screens": ">= 4.0.0" + } + }, + "node_modules/@react-navigation/routers": { + "version": "7.5.3", + "resolved": "https://registry.npmjs.org/@react-navigation/routers/-/routers-7.5.3.tgz", + "integrity": "sha512-1tJHg4KKRJuQ1/EvJxatrMef3NZXEPzwUIUZ3n1yJ2t7Q97siwRtbynRpQG9/69ebbtiZ8W3ScOZF/OmhvM4Rg==", + "license": "MIT", + "dependencies": { + "nanoid": "^3.3.11" + } + }, + "node_modules/@react-stately/flags": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@react-stately/flags/-/flags-3.1.2.tgz", + "integrity": "sha512-2HjFcZx1MyQXoPqcBGALwWWmgFVUk2TuKVIQxCbRq7fPyWXIl6VHcakCLurdtYC2Iks7zizvz0Idv48MQ38DWg==", + "license": "Apache-2.0", + "dependencies": { + "@swc/helpers": "^0.5.0" + } + }, + "node_modules/@react-stately/utils": { + "version": "3.11.0", + "resolved": "https://registry.npmjs.org/@react-stately/utils/-/utils-3.11.0.tgz", + "integrity": "sha512-8LZpYowJ9eZmmYLpudbo/eclIRnbhWIJZ994ncmlKlouNzKohtM8qTC6B1w1pwUbiwGdUoyzLuQbeaIor5Dvcw==", + "license": "Apache-2.0", + "dependencies": { + "@swc/helpers": "^0.5.0" + }, + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1" + } + }, + "node_modules/@react-types/shared": { + "version": "3.32.1", + "resolved": "https://registry.npmjs.org/@react-types/shared/-/shared-3.32.1.tgz", + "integrity": "sha512-famxyD5emrGGpFuUlgOP6fVW2h/ZaF405G5KDi3zPHzyjAWys/8W6NAVJtNbkCkhedmvL0xOhvt8feGXyXaw5w==", + "license": "Apache-2.0", + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1" + } + }, + "node_modules/@rtsao/scc": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@rtsao/scc/-/scc-1.1.0.tgz", + "integrity": "sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g==", + "dev": true, + "license": "MIT" + }, + "node_modules/@shikijs/core": { "version": "3.21.0", - "resolved": "https://registry.npmjs.org/@shikijs/engine-oniguruma/-/engine-oniguruma-3.21.0.tgz", - "integrity": "sha512-OYknTCct6qiwpQDqDdf3iedRdzj6hFlOPv5hMvI+hkWfCKs5mlJ4TXziBG9nyabLwGulrUjHiCq3xCspSzErYQ==", + "resolved": "https://registry.npmjs.org/@shikijs/core/-/core-3.21.0.tgz", + "integrity": "sha512-AXSQu/2n1UIQekY8euBJlvFYZIw0PHY63jUzGbrOma4wPxzznJXTXkri+QcHeBNaFxiiOljKxxJkVSoB3PjbyA==", "license": "MIT", "dependencies": { "@shikijs/types": "3.21.0", - "@shikijs/vscode-textmate": "^10.0.2" + "@shikijs/vscode-textmate": "^10.0.2", + "@types/hast": "^3.0.4", + "hast-util-to-html": "^9.0.5" } }, - "node_modules/@shikijs/engine-oniguruma/node_modules/@shikijs/types": { + "node_modules/@shikijs/engine-javascript": { "version": "3.21.0", - "resolved": "https://registry.npmjs.org/@shikijs/types/-/types-3.21.0.tgz", - "integrity": "sha512-zGrWOxZ0/+0ovPY7PvBU2gIS9tmhSUUt30jAcNV0Bq0gb2S98gwfjIs1vxlmH5zM7/4YxLamT6ChlqqAJmPPjA==", + "resolved": "https://registry.npmjs.org/@shikijs/engine-javascript/-/engine-javascript-3.21.0.tgz", + "integrity": "sha512-ATwv86xlbmfD9n9gKRiwuPpWgPENAWCLwYCGz9ugTJlsO2kOzhOkvoyV/UD+tJ0uT7YRyD530x6ugNSffmvIiQ==", "license": "MIT", "dependencies": { + "@shikijs/types": "3.21.0", "@shikijs/vscode-textmate": "^10.0.2", - "@types/hast": "^3.0.4" + "oniguruma-to-es": "^4.3.4" } }, - "node_modules/@shikijs/langs": { + "node_modules/@shikijs/engine-oniguruma": { "version": "3.21.0", - "resolved": "https://registry.npmjs.org/@shikijs/langs/-/langs-3.21.0.tgz", - "integrity": "sha512-g6mn5m+Y6GBJ4wxmBYqalK9Sp0CFkUqfNzUy2pJglUginz6ZpWbaWjDB4fbQ/8SHzFjYbtU6Ddlp1pc+PPNDVA==", + "resolved": "https://registry.npmjs.org/@shikijs/engine-oniguruma/-/engine-oniguruma-3.21.0.tgz", + "integrity": "sha512-OYknTCct6qiwpQDqDdf3iedRdzj6hFlOPv5hMvI+hkWfCKs5mlJ4TXziBG9nyabLwGulrUjHiCq3xCspSzErYQ==", "license": "MIT", "dependencies": { - "@shikijs/types": "3.21.0" + "@shikijs/types": "3.21.0", + "@shikijs/vscode-textmate": "^10.0.2" } }, - "node_modules/@shikijs/langs/node_modules/@shikijs/types": { + "node_modules/@shikijs/langs": { "version": "3.21.0", - "resolved": "https://registry.npmjs.org/@shikijs/types/-/types-3.21.0.tgz", - "integrity": "sha512-zGrWOxZ0/+0ovPY7PvBU2gIS9tmhSUUt30jAcNV0Bq0gb2S98gwfjIs1vxlmH5zM7/4YxLamT6ChlqqAJmPPjA==", + "resolved": "https://registry.npmjs.org/@shikijs/langs/-/langs-3.21.0.tgz", + "integrity": "sha512-g6mn5m+Y6GBJ4wxmBYqalK9Sp0CFkUqfNzUy2pJglUginz6ZpWbaWjDB4fbQ/8SHzFjYbtU6Ddlp1pc+PPNDVA==", "license": "MIT", "dependencies": { - "@shikijs/vscode-textmate": "^10.0.2", - "@types/hast": "^3.0.4" + "@shikijs/types": "3.21.0" } }, "node_modules/@shikijs/rehype": { @@ -3273,16 +6056,6 @@ "unist-util-visit": "^5.0.0" } }, - "node_modules/@shikijs/rehype/node_modules/@shikijs/types": { - "version": "3.21.0", - "resolved": "https://registry.npmjs.org/@shikijs/types/-/types-3.21.0.tgz", - "integrity": "sha512-zGrWOxZ0/+0ovPY7PvBU2gIS9tmhSUUt30jAcNV0Bq0gb2S98gwfjIs1vxlmH5zM7/4YxLamT6ChlqqAJmPPjA==", - "license": "MIT", - "dependencies": { - "@shikijs/vscode-textmate": "^10.0.2", - "@types/hast": "^3.0.4" - } - }, "node_modules/@shikijs/themes": { "version": "3.21.0", "resolved": "https://registry.npmjs.org/@shikijs/themes/-/themes-3.21.0.tgz", @@ -3292,16 +6065,6 @@ "@shikijs/types": "3.21.0" } }, - "node_modules/@shikijs/themes/node_modules/@shikijs/types": { - "version": "3.21.0", - "resolved": "https://registry.npmjs.org/@shikijs/types/-/types-3.21.0.tgz", - "integrity": "sha512-zGrWOxZ0/+0ovPY7PvBU2gIS9tmhSUUt30jAcNV0Bq0gb2S98gwfjIs1vxlmH5zM7/4YxLamT6ChlqqAJmPPjA==", - "license": "MIT", - "dependencies": { - "@shikijs/vscode-textmate": "^10.0.2", - "@types/hast": "^3.0.4" - } - }, "node_modules/@shikijs/transformers": { "version": "3.21.0", "resolved": "https://registry.npmjs.org/@shikijs/transformers/-/transformers-3.21.0.tgz", @@ -3312,19 +6075,21 @@ "@shikijs/types": "3.21.0" } }, - "node_modules/@shikijs/transformers/node_modules/@shikijs/core": { + "node_modules/@shikijs/twoslash": { "version": "3.21.0", - "resolved": "https://registry.npmjs.org/@shikijs/core/-/core-3.21.0.tgz", - "integrity": "sha512-AXSQu/2n1UIQekY8euBJlvFYZIw0PHY63jUzGbrOma4wPxzznJXTXkri+QcHeBNaFxiiOljKxxJkVSoB3PjbyA==", + "resolved": "https://registry.npmjs.org/@shikijs/twoslash/-/twoslash-3.21.0.tgz", + "integrity": "sha512-iH360udAYON2JwfIldoCiMZr9MljuQA5QRBivKLpEuEpmVCSwrR+0WTQ0eS1ptgGBdH9weFiIsA5wJDzsEzTYg==", "license": "MIT", "dependencies": { + "@shikijs/core": "3.21.0", "@shikijs/types": "3.21.0", - "@shikijs/vscode-textmate": "^10.0.2", - "@types/hast": "^3.0.4", - "hast-util-to-html": "^9.0.5" + "twoslash": "^0.3.6" + }, + "peerDependencies": { + "typescript": ">=5.5.0" } }, - "node_modules/@shikijs/transformers/node_modules/@shikijs/types": { + "node_modules/@shikijs/types": { "version": "3.21.0", "resolved": "https://registry.npmjs.org/@shikijs/types/-/types-3.21.0.tgz", "integrity": "sha512-zGrWOxZ0/+0ovPY7PvBU2gIS9tmhSUUt30jAcNV0Bq0gb2S98gwfjIs1vxlmH5zM7/4YxLamT6ChlqqAJmPPjA==", @@ -3334,35 +6099,69 @@ "@types/hast": "^3.0.4" } }, - "node_modules/@shikijs/twoslash": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@shikijs/twoslash/-/twoslash-3.20.0.tgz", - "integrity": "sha512-fZz6vB9a0M8iuVF/ydIV4ToC09sbOh/TqxXZFWAh5J8bLiPsyQGtygKMDQ9L0Sdop3co0TIC/JsrLmsbmZwwsw==", + "node_modules/@shikijs/vscode-textmate": { + "version": "10.0.2", + "resolved": "https://registry.npmjs.org/@shikijs/vscode-textmate/-/vscode-textmate-10.0.2.tgz", + "integrity": "sha512-83yeghZ2xxin3Nj8z1NMd/NCuca+gsYXswywDy5bHvwlWL8tpTQmzGeUuHd9FC3E/SBEMvzJRwWEOz5gGes9Qg==", + "license": "MIT" + }, + "node_modules/@shopify/react-native-skia": { + "version": "2.0.0-next.4", + "resolved": "https://registry.npmjs.org/@shopify/react-native-skia/-/react-native-skia-2.0.0-next.4.tgz", + "integrity": "sha512-NzvdgryRz6tkKMHgCChCKa3wXfN9TZhlV0/LrfIU/wKLC1uKgGXkoZgNz7Is0wwdhtao1JJJJ81fqHCGHgzk9g==", "license": "MIT", "dependencies": { - "@shikijs/core": "3.20.0", - "@shikijs/types": "3.20.0", - "twoslash": "^0.3.4" + "canvaskit-wasm": "0.40.0", + "react-reconciler": "0.31.0" + }, + "bin": { + "setup-skia-web": "scripts/setup-canvaskit.js" }, "peerDependencies": { - "typescript": ">=5.5.0" + "react": ">=19.0", + "react-native": ">=0.78", + "react-native-reanimated": "^3.0" + }, + "peerDependenciesMeta": { + "react-native": { + "optional": true + }, + "react-native-reanimated": { + "optional": true + } } }, - "node_modules/@shikijs/types": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/@shikijs/types/-/types-3.20.0.tgz", - "integrity": "sha512-lhYAATn10nkZcBQ0BlzSbJA3wcmL5MXUUF8d2Zzon6saZDlToKaiRX60n2+ZaHJCmXEcZRWNzn+k9vplr8Jhsw==", - "license": "MIT", + "node_modules/@sinclair/typebox": { + "version": "0.27.8", + "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.8.tgz", + "integrity": "sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==", + "license": "MIT" + }, + "node_modules/@sinonjs/commons": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.1.tgz", + "integrity": "sha512-K3mCHKQ9sVh8o1C9cxkwxaOmXoAMlDxC1mYyHrjqOWEcBjYr76t96zL2zlj5dUGZ3HSw240X1qgH3Mjf1yJWpQ==", + "license": "BSD-3-Clause", "dependencies": { - "@shikijs/vscode-textmate": "^10.0.2", - "@types/hast": "^3.0.4" + "type-detect": "4.0.8" } }, - "node_modules/@shikijs/vscode-textmate": { - "version": "10.0.2", - "resolved": "https://registry.npmjs.org/@shikijs/vscode-textmate/-/vscode-textmate-10.0.2.tgz", - "integrity": "sha512-83yeghZ2xxin3Nj8z1NMd/NCuca+gsYXswywDy5bHvwlWL8tpTQmzGeUuHd9FC3E/SBEMvzJRwWEOz5gGes9Qg==", - "license": "MIT" + "node_modules/@sinonjs/fake-timers": { + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-10.3.0.tgz", + "integrity": "sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==", + "license": "BSD-3-Clause", + "dependencies": { + "@sinonjs/commons": "^3.0.0" + } + }, + "node_modules/@sol-ui/docs": { + "resolved": "apps/docs", + "link": true + }, + "node_modules/@sol-ui/expo": { + "resolved": "apps/expo", + "link": true }, "node_modules/@standard-schema/spec": { "version": "1.1.0", @@ -3421,6 +6220,16 @@ "tailwindcss": "4.1.18" } }, + "node_modules/@tailwindcss/node/node_modules/jiti": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/jiti/-/jiti-2.6.1.tgz", + "integrity": "sha512-ekilCSN1jwRvIbgeg/57YFh8qQDNbwDb9xT/qu2DAHbFFZUicIl4ygVaAvzveMhMVr3LnpSKTNnwt8PoOfmKhQ==", + "dev": true, + "license": "MIT", + "bin": { + "jiti": "lib/jiti-cli.mjs" + } + }, "node_modules/@tailwindcss/oxide": { "version": "4.1.18", "resolved": "https://registry.npmjs.org/@tailwindcss/oxide/-/oxide-4.1.18.tgz", @@ -3677,12 +6486,12 @@ } }, "node_modules/@tanstack/react-virtual": { - "version": "3.13.16", - "resolved": "https://registry.npmjs.org/@tanstack/react-virtual/-/react-virtual-3.13.16.tgz", - "integrity": "sha512-y4xLKvLu6UZWiGdNcgk3yYlzCznYIV0m8dSyUzr3eAC0dHLos5V74qhUHxutYddFGgGU8sWLkp6H5c2RCrsrXw==", + "version": "3.13.18", + "resolved": "https://registry.npmjs.org/@tanstack/react-virtual/-/react-virtual-3.13.18.tgz", + "integrity": "sha512-dZkhyfahpvlaV0rIKnvQiVoWPyURppl6w4m9IwMDpuIjcJ1sD9YGWrt0wISvgU7ewACXx2Ct46WPgI6qAD4v6A==", "license": "MIT", "dependencies": { - "@tanstack/virtual-core": "3.13.16" + "@tanstack/virtual-core": "3.13.18" }, "funding": { "type": "github", @@ -3694,9 +6503,9 @@ } }, "node_modules/@tanstack/virtual-core": { - "version": "3.13.16", - "resolved": "https://registry.npmjs.org/@tanstack/virtual-core/-/virtual-core-3.13.16.tgz", - "integrity": "sha512-njazUC8mDkrxWmyZmn/3eXrDcP8Msb3chSr4q6a65RmwdSbMlMCdnOphv6/8mLO7O3Fuza5s4M4DclmvAO5w0w==", + "version": "3.13.18", + "resolved": "https://registry.npmjs.org/@tanstack/virtual-core/-/virtual-core-3.13.18.tgz", + "integrity": "sha512-Mx86Hqu1k39icq2Zusq+Ey2J6dDWTjDvEv43PJtRCoEYTLyfaPnxIQ6iy7YAOK0NV/qOEmZQ/uCufrppZxTgcg==", "license": "MIT", "funding": { "type": "github", @@ -3763,6 +6572,47 @@ "tslib": "^2.4.0" } }, + "node_modules/@types/babel__core": { + "version": "7.20.5", + "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz", + "integrity": "sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==", + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.20.7", + "@babel/types": "^7.20.7", + "@types/babel__generator": "*", + "@types/babel__template": "*", + "@types/babel__traverse": "*" + } + }, + "node_modules/@types/babel__generator": { + "version": "7.27.0", + "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.27.0.tgz", + "integrity": "sha512-ufFd2Xi92OAVPYsy+P4n7/U7e68fex0+Ee8gSG9KX7eo084CWiQ4sdxktvdl0bOPupXtVJPY19zk6EwWqUQ8lg==", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.0.0" + } + }, + "node_modules/@types/babel__template": { + "version": "7.4.4", + "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.4.tgz", + "integrity": "sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==", + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.1.0", + "@babel/types": "^7.0.0" + } + }, + "node_modules/@types/babel__traverse": { + "version": "7.28.0", + "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.28.0.tgz", + "integrity": "sha512-8PvcXf70gTDZBgt9ptxJ8elBeBjcLOAcOtoO/mPJjtji1+CdGbHgm77om1GrsPxsiE+uXIpNSK64UYaIwQXd4Q==", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.28.2" + } + }, "node_modules/@types/d3": { "version": "7.4.3", "resolved": "https://registry.npmjs.org/@types/d3/-/d3-7.4.3.tgz", @@ -3971,9 +6821,9 @@ "license": "MIT" }, "node_modules/@types/d3-shape": { - "version": "3.1.7", - "resolved": "https://registry.npmjs.org/@types/d3-shape/-/d3-shape-3.1.7.tgz", - "integrity": "sha512-VLvUQ33C+3J+8p+Daf+nYSOsjB4GXp19/S/aGo60m9h1v6XaxjiT82lKVWJCfzhtuZ3yD7i/TPeC/fuKLLOSmg==", + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/@types/d3-shape/-/d3-shape-3.1.8.tgz", + "integrity": "sha512-lae0iWfcDeR7qt7rA88BNiqdvPS5pFVPpo5OfjElwNaT2yyekbM0C9vK+yqBqEmHr6lDkRnYNoTBYlAgJa7a4w==", "license": "MIT", "dependencies": { "@types/d3-path": "*" @@ -4046,6 +6896,21 @@ "integrity": "sha512-6C8nqWur3j98U6+lXDfTUWIfgvZU+EumvpHKcYjujKH7woYyLj2sUmff0tRhrqM7BohUw7Pz3ZB1jj2gW9Fvmg==", "license": "MIT" }, + "node_modules/@types/graceful-fs": { + "version": "4.1.9", + "resolved": "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.9.tgz", + "integrity": "sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/hammerjs": { + "version": "2.0.46", + "resolved": "https://registry.npmjs.org/@types/hammerjs/-/hammerjs-2.0.46.tgz", + "integrity": "sha512-ynRvcq6wvqexJ9brDMS4BnBLzmr0e14d6ZJTEShTBWKymQiHwlAyGu0ZPEFI2Fh1U53F7tN9ufClWM5KvqkKOw==", + "license": "MIT" + }, "node_modules/@types/hast": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/@types/hast/-/hast-3.0.4.tgz", @@ -4055,6 +6920,30 @@ "@types/unist": "*" } }, + "node_modules/@types/istanbul-lib-coverage": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.6.tgz", + "integrity": "sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w==", + "license": "MIT" + }, + "node_modules/@types/istanbul-lib-report": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.3.tgz", + "integrity": "sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA==", + "license": "MIT", + "dependencies": { + "@types/istanbul-lib-coverage": "*" + } + }, + "node_modules/@types/istanbul-reports": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-3.0.4.tgz", + "integrity": "sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ==", + "license": "MIT", + "dependencies": { + "@types/istanbul-lib-report": "*" + } + }, "node_modules/@types/json-schema": { "version": "7.0.15", "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", @@ -4070,9 +6959,9 @@ "license": "MIT" }, "node_modules/@types/katex": { - "version": "0.16.7", - "resolved": "https://registry.npmjs.org/@types/katex/-/katex-0.16.7.tgz", - "integrity": "sha512-HMwFiRujE5PjrgwHQ25+bsLJgowjGjm5Z8FVSf0N6PwgJrwxH0QxzHYDcKsTfV3wva0vzrpqMTJS2jXPr5BMEQ==", + "version": "0.16.8", + "resolved": "https://registry.npmjs.org/@types/katex/-/katex-0.16.8.tgz", + "integrity": "sha512-trgaNyfU+Xh2Tc+ABIb44a5AYUpicB3uwirOioeOkNPPbmgRNtcWyDeeFRzjPZENO9Vq8gvVqfhaaXWLlevVwg==", "license": "MIT" }, "node_modules/@types/mdast": { @@ -4106,21 +6995,21 @@ } }, "node_modules/@types/node": { - "version": "20.19.27", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.19.27.tgz", - "integrity": "sha512-N2clP5pJhB2YnZJ3PIHFk5RkygRX5WO/5f0WC08tp0wd+sv0rsJk3MqWn3CbNmT2J505a5336jaQj4ph1AdMug==", - "dev": true, + "version": "20.19.30", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.19.30.tgz", + "integrity": "sha512-WJtwWJu7UdlvzEAUm484QNg5eAoq5QR08KDNx7g45Usrs2NtOPiX8ugDqmKdXkyL03rBqU5dYNYVQetEpBHq2g==", "license": "MIT", "dependencies": { "undici-types": "~6.21.0" } }, "node_modules/@types/react": { - "version": "19.2.7", - "resolved": "https://registry.npmjs.org/@types/react/-/react-19.2.7.tgz", - "integrity": "sha512-MWtvHrGZLFttgeEj28VXHxpmwYbor/ATPYbBfSFZEIRK0ecCFLl2Qo55z52Hss+UV9CRN7trSeq1zbgx7YDWWg==", + "version": "19.2.9", + "resolved": "https://registry.npmjs.org/@types/react/-/react-19.2.9.tgz", + "integrity": "sha512-Lpo8kgb/igvMIPeNV2rsYKTgaORYdO1XGVZ4Qz3akwOj0ySGYMPlQWa8BaLn0G63D1aSaAQ5ldR06wCpChQCjA==", "devOptional": true, "license": "MIT", + "peer": true, "dependencies": { "csstype": "^3.2.2" } @@ -4131,10 +7020,49 @@ "integrity": "sha512-jp2L/eY6fn+KgVVQAOqYItbF0VY/YApe5Mz2F0aykSO8gx31bYCZyvSeYxCHKvzHG5eZjc+zyaS5BrBWya2+kQ==", "devOptional": true, "license": "MIT", + "peer": true, "peerDependencies": { "@types/react": "^19.2.0" } }, + "node_modules/@types/react-native": { + "version": "0.72.8", + "resolved": "https://registry.npmjs.org/@types/react-native/-/react-native-0.72.8.tgz", + "integrity": "sha512-St6xA7+EoHN5mEYfdWnfYt0e8u6k2FR0P9s2arYgakQGFgU1f9FlPrIEcj0X24pLCF5c5i3WVuLCUdiCYHmOoA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@react-native/virtualized-lists": "^0.72.4", + "@types/react": "*" + } + }, + "node_modules/@types/react-native-vector-icons": { + "version": "6.4.18", + "resolved": "https://registry.npmjs.org/@types/react-native-vector-icons/-/react-native-vector-icons-6.4.18.tgz", + "integrity": "sha512-YGlNWb+k5laTBHd7+uZowB9DpIK3SXUneZqAiKQaj1jnJCZM0x71GDim5JCTMi4IFkhc9m8H/Gm28T5BjyivUw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/react": "*", + "@types/react-native": "^0.70" + } + }, + "node_modules/@types/react-native-vector-icons/node_modules/@types/react-native": { + "version": "0.70.19", + "resolved": "https://registry.npmjs.org/@types/react-native/-/react-native-0.70.19.tgz", + "integrity": "sha512-c6WbyCgWTBgKKMESj/8b4w+zWcZSsCforson7UdXtXMecG3MxCinYi6ihhrHVPyUrVzORsvEzK8zg32z4pK6Sg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/react": "*" + } + }, + "node_modules/@types/stack-utils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.3.tgz", + "integrity": "sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==", + "license": "MIT" + }, "node_modules/@types/trusted-types": { "version": "2.0.7", "resolved": "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-2.0.7.tgz", @@ -4148,21 +7076,36 @@ "integrity": "sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==", "license": "MIT" }, + "node_modules/@types/yargs": { + "version": "17.0.35", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.35.tgz", + "integrity": "sha512-qUHkeCyQFxMXg79wQfTtfndEC+N9ZZg76HJftDJp+qH2tV7Gj4OJi7l+PiWwJ+pWtW8GwSmqsDj/oymhrTWXjg==", + "license": "MIT", + "dependencies": { + "@types/yargs-parser": "*" + } + }, + "node_modules/@types/yargs-parser": { + "version": "21.0.3", + "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.3.tgz", + "integrity": "sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==", + "license": "MIT" + }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.51.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.51.0.tgz", - "integrity": "sha512-XtssGWJvypyM2ytBnSnKtHYOGT+4ZwTnBVl36TA4nRO2f4PRNGz5/1OszHzcZCvcBMh+qb7I06uoCmLTRdR9og==", + "version": "8.53.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.53.1.tgz", + "integrity": "sha512-cFYYFZ+oQFi6hUnBTbLRXfTJiaQtYE3t4O692agbBl+2Zy+eqSKWtPjhPXJu1G7j4RLjKgeJPDdq3EqOwmX5Ag==", "dev": true, "license": "MIT", "dependencies": { - "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.51.0", - "@typescript-eslint/type-utils": "8.51.0", - "@typescript-eslint/utils": "8.51.0", - "@typescript-eslint/visitor-keys": "8.51.0", - "ignore": "^7.0.0", + "@eslint-community/regexpp": "^4.12.2", + "@typescript-eslint/scope-manager": "8.53.1", + "@typescript-eslint/type-utils": "8.53.1", + "@typescript-eslint/utils": "8.53.1", + "@typescript-eslint/visitor-keys": "8.53.1", + "ignore": "^7.0.5", "natural-compare": "^1.4.0", - "ts-api-utils": "^2.2.0" + "ts-api-utils": "^2.4.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -4172,7 +7115,7 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "@typescript-eslint/parser": "^8.51.0", + "@typescript-eslint/parser": "^8.53.1", "eslint": "^8.57.0 || ^9.0.0", "typescript": ">=4.8.4 <6.0.0" } @@ -4188,17 +7131,18 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.51.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.51.0.tgz", - "integrity": "sha512-3xP4XzzDNQOIqBMWogftkwxhg5oMKApqY0BAflmLZiFYHqyhSOxv/cd/zPQLTcCXr4AkaKb25joocY0BD1WC6A==", + "version": "8.53.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.53.1.tgz", + "integrity": "sha512-nm3cvFN9SqZGXjmw5bZ6cGmvJSyJPn0wU9gHAZZHDnZl2wF9PhHv78Xf06E0MaNk4zLVHL8hb2/c32XvyJOLQg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { - "@typescript-eslint/scope-manager": "8.51.0", - "@typescript-eslint/types": "8.51.0", - "@typescript-eslint/typescript-estree": "8.51.0", - "@typescript-eslint/visitor-keys": "8.51.0", - "debug": "^4.3.4" + "@typescript-eslint/scope-manager": "8.53.1", + "@typescript-eslint/types": "8.53.1", + "@typescript-eslint/typescript-estree": "8.53.1", + "@typescript-eslint/visitor-keys": "8.53.1", + "debug": "^4.4.3" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -4213,15 +7157,15 @@ } }, "node_modules/@typescript-eslint/project-service": { - "version": "8.51.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.51.0.tgz", - "integrity": "sha512-Luv/GafO07Z7HpiI7qeEW5NW8HUtZI/fo/kE0YbtQEFpJRUuR0ajcWfCE5bnMvL7QQFrmT/odMe8QZww8X2nfQ==", + "version": "8.53.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.53.1.tgz", + "integrity": "sha512-WYC4FB5Ra0xidsmlPb+1SsnaSKPmS3gsjIARwbEkHkoWloQmuzcfypljaJcR78uyLA1h8sHdWWPHSLDI+MtNog==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/tsconfig-utils": "^8.51.0", - "@typescript-eslint/types": "^8.51.0", - "debug": "^4.3.4" + "@typescript-eslint/tsconfig-utils": "^8.53.1", + "@typescript-eslint/types": "^8.53.1", + "debug": "^4.4.3" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -4235,14 +7179,14 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "8.51.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.51.0.tgz", - "integrity": "sha512-JhhJDVwsSx4hiOEQPeajGhCWgBMBwVkxC/Pet53EpBVs7zHHtayKefw1jtPaNRXpI9RA2uocdmpdfE7T+NrizA==", + "version": "8.53.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.53.1.tgz", + "integrity": "sha512-Lu23yw1uJMFY8cUeq7JlrizAgeQvWugNQzJp8C3x8Eo5Jw5Q2ykMdiiTB9vBVOOUBysMzmRRmUfwFrZuI2C4SQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.51.0", - "@typescript-eslint/visitor-keys": "8.51.0" + "@typescript-eslint/types": "8.53.1", + "@typescript-eslint/visitor-keys": "8.53.1" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -4253,9 +7197,9 @@ } }, "node_modules/@typescript-eslint/tsconfig-utils": { - "version": "8.51.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.51.0.tgz", - "integrity": "sha512-Qi5bSy/vuHeWyir2C8u/uqGMIlIDu8fuiYWv48ZGlZ/k+PRPHtaAu7erpc7p5bzw2WNNSniuxoMSO4Ar6V9OXw==", + "version": "8.53.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.53.1.tgz", + "integrity": "sha512-qfvLXS6F6b1y43pnf0pPbXJ+YoXIC7HKg0UGZ27uMIemKMKA6XH2DTxsEDdpdN29D+vHV07x/pnlPNVLhdhWiA==", "dev": true, "license": "MIT", "engines": { @@ -4270,17 +7214,17 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.51.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.51.0.tgz", - "integrity": "sha512-0XVtYzxnobc9K0VU7wRWg1yiUrw4oQzexCG2V2IDxxCxhqBMSMbjB+6o91A+Uc0GWtgjCa3Y8bi7hwI0Tu4n5Q==", + "version": "8.53.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.53.1.tgz", + "integrity": "sha512-MOrdtNvyhy0rHyv0ENzub1d4wQYKb2NmIqG7qEqPWFW7Mpy2jzFC3pQ2yKDvirZB7jypm5uGjF2Qqs6OIqu47w==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.51.0", - "@typescript-eslint/typescript-estree": "8.51.0", - "@typescript-eslint/utils": "8.51.0", - "debug": "^4.3.4", - "ts-api-utils": "^2.2.0" + "@typescript-eslint/types": "8.53.1", + "@typescript-eslint/typescript-estree": "8.53.1", + "@typescript-eslint/utils": "8.53.1", + "debug": "^4.4.3", + "ts-api-utils": "^2.4.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -4295,9 +7239,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "8.51.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.51.0.tgz", - "integrity": "sha512-TizAvWYFM6sSscmEakjY3sPqGwxZRSywSsPEiuZF6d5GmGD9Gvlsv0f6N8FvAAA0CD06l3rIcWNbsN1e5F/9Ag==", + "version": "8.53.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.53.1.tgz", + "integrity": "sha512-jr/swrr2aRmUAUjW5/zQHbMaui//vQlsZcJKijZf3M26bnmLj8LyZUpj8/Rd6uzaek06OWsqdofN/Thenm5O8A==", "dev": true, "license": "MIT", "engines": { @@ -4309,21 +7253,21 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.51.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.51.0.tgz", - "integrity": "sha512-1qNjGqFRmlq0VW5iVlcyHBbCjPB7y6SxpBkrbhNWMy/65ZoncXCEPJxkRZL8McrseNH6lFhaxCIaX+vBuFnRng==", + "version": "8.53.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.53.1.tgz", + "integrity": "sha512-RGlVipGhQAG4GxV1s34O91cxQ/vWiHJTDHbXRr0li2q/BGg3RR/7NM8QDWgkEgrwQYCvmJV9ichIwyoKCQ+DTg==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/project-service": "8.51.0", - "@typescript-eslint/tsconfig-utils": "8.51.0", - "@typescript-eslint/types": "8.51.0", - "@typescript-eslint/visitor-keys": "8.51.0", - "debug": "^4.3.4", - "minimatch": "^9.0.4", - "semver": "^7.6.0", + "@typescript-eslint/project-service": "8.53.1", + "@typescript-eslint/tsconfig-utils": "8.53.1", + "@typescript-eslint/types": "8.53.1", + "@typescript-eslint/visitor-keys": "8.53.1", + "debug": "^4.4.3", + "minimatch": "^9.0.5", + "semver": "^7.7.3", "tinyglobby": "^0.2.15", - "ts-api-utils": "^2.2.0" + "ts-api-utils": "^2.4.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -4376,16 +7320,16 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "8.51.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.51.0.tgz", - "integrity": "sha512-11rZYxSe0zabiKaCP2QAwRf/dnmgFgvTmeDTtZvUvXG3UuAdg/GU02NExmmIXzz3vLGgMdtrIosI84jITQOxUA==", + "version": "8.53.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.53.1.tgz", + "integrity": "sha512-c4bMvGVWW4hv6JmDUEG7fSYlWOl3II2I4ylt0NM+seinYQlZMQIaKaXIIVJWt9Ofh6whrpM+EdDQXKXjNovvrg==", "dev": true, "license": "MIT", "dependencies": { - "@eslint-community/eslint-utils": "^4.7.0", - "@typescript-eslint/scope-manager": "8.51.0", - "@typescript-eslint/types": "8.51.0", - "@typescript-eslint/typescript-estree": "8.51.0" + "@eslint-community/eslint-utils": "^4.9.1", + "@typescript-eslint/scope-manager": "8.53.1", + "@typescript-eslint/types": "8.53.1", + "@typescript-eslint/typescript-estree": "8.53.1" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -4400,13 +7344,13 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.51.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.51.0.tgz", - "integrity": "sha512-mM/JRQOzhVN1ykejrvwnBRV3+7yTKK8tVANVN3o1O0t0v7o+jqdVu9crPy5Y9dov15TJk/FTIgoUGHrTOVL3Zg==", + "version": "8.53.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.53.1.tgz", + "integrity": "sha512-oy+wV7xDKFPRyNggmXuZQSBzvoLnpmJs+GhzRhPjrxl2b/jIlyjVokzm47CZCDUdXKr2zd7ZLodPfOBpOPyPlg==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.51.0", + "@typescript-eslint/types": "8.53.1", "eslint-visitor-keys": "^4.2.1" }, "engines": { @@ -4704,13 +7648,67 @@ "win32" ] }, + "node_modules/@urql/core": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@urql/core/-/core-5.2.0.tgz", + "integrity": "sha512-/n0ieD0mvvDnVAXEQgX/7qJiVcvYvNkOHeBvkwtylfjydar123caCXcl58PXFY11oU1oquJocVXHxLAbtv4x1A==", + "license": "MIT", + "dependencies": { + "@0no-co/graphql.web": "^1.0.13", + "wonka": "^6.3.2" + } + }, + "node_modules/@urql/exchange-retry": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/@urql/exchange-retry/-/exchange-retry-1.3.2.tgz", + "integrity": "sha512-TQMCz2pFJMfpNxmSfX1VSfTjwUIFx/mL+p1bnfM1xjjdla7Z+KnGMW/EhFbpckp3LyWAH4PgOsMwOMnIN+MBFg==", + "license": "MIT", + "dependencies": { + "@urql/core": "^5.1.2", + "wonka": "^6.3.2" + }, + "peerDependencies": { + "@urql/core": "^5.0.0" + } + }, + "node_modules/@webgpu/types": { + "version": "0.1.21", + "resolved": "https://registry.npmjs.org/@webgpu/types/-/types-0.1.21.tgz", + "integrity": "sha512-pUrWq3V5PiSGFLeLxoGqReTZmiiXwY3jRkIG5sLLKjyqNxrwm/04b4nw7LSmGWJcKk59XOM/YRTUwOzo4MMlow==", + "license": "BSD-3-Clause" + }, "node_modules/@xmldom/xmldom": { - "version": "0.9.8", - "resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.9.8.tgz", - "integrity": "sha512-p96FSY54r+WJ50FIOsCOjyj/wavs8921hG5+kVMmZgKcvIKxMXHTrjNJvRgWa/zuX3B6t2lijLNFaOyuxUH+2A==", + "version": "0.8.11", + "resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.8.11.tgz", + "integrity": "sha512-cQzWCtO6C8TQiYl1ruKNn2U6Ao4o4WBBcbL61yJl84x+j5sOWWFU9X7DpND8XZG3daDppSsigMdfAIl2upQBRw==", "license": "MIT", "engines": { - "node": ">=14.6" + "node": ">=10.0.0" + } + }, + "node_modules/abort-controller": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", + "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", + "license": "MIT", + "dependencies": { + "event-target-shim": "^5.0.0" + }, + "engines": { + "node": ">=6.5" + } + }, + "node_modules/accepts": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", + "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" } }, "node_modules/acorn": { @@ -4718,6 +7716,7 @@ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.15.0.tgz", "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==", "license": "MIT", + "peer": true, "bin": { "acorn": "bin/acorn" }, @@ -4734,6 +7733,15 @@ "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" } }, + "node_modules/agent-base": { + "version": "7.1.4", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.4.tgz", + "integrity": "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==", + "license": "MIT", + "engines": { + "node": ">= 14" + } + }, "node_modules/ajv": { "version": "6.12.6", "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", @@ -4751,11 +7759,52 @@ "url": "https://github.com/sponsors/epoberezkin" } }, + "node_modules/anser": { + "version": "1.4.10", + "resolved": "https://registry.npmjs.org/anser/-/anser-1.4.10.tgz", + "integrity": "sha512-hCv9AqTQ8ycjpSd3upOJd7vFwW1JaoYQ7tpham03GJ1ca8/65rqn0RpaWpItOAd6ylW9wAw6luXYPJIyPFVOww==", + "license": "MIT" + }, + "node_modules/ansi-escapes": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", + "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", + "license": "MIT", + "dependencies": { + "type-fest": "^0.21.3" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ansi-escapes/node_modules/type-fest": { + "version": "0.21.3", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", + "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, "node_modules/ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, "license": "MIT", "dependencies": { "color-convert": "^2.0.1" @@ -4767,6 +7816,25 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, + "node_modules/any-promise": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz", + "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==", + "license": "MIT" + }, + "node_modules/anymatch": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", + "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", + "license": "ISC", + "dependencies": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + }, + "engines": { + "node": ">= 8" + } + }, "node_modules/arg": { "version": "5.0.2", "resolved": "https://registry.npmjs.org/arg/-/arg-5.0.2.tgz", @@ -4851,6 +7919,12 @@ "url": "https://github.com/sponsors/wooorm" } }, + "node_modules/array-timsort": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/array-timsort/-/array-timsort-1.0.3.tgz", + "integrity": "sha512-/+3GRL7dDAGEfM6TseQk/U+mi18TU2Ms9I3UlLdUMhz2hbvGNTKdj9xniwXfUqgYhHxRx0+8UnKkvlNwVU+cWQ==", + "license": "MIT" + }, "node_modules/array.prototype.findlast": { "version": "1.2.5", "resolved": "https://registry.npmjs.org/array.prototype.findlast/-/array.prototype.findlast-1.2.5.tgz", @@ -5003,6 +8077,12 @@ "node": ">= 0.4" } }, + "node_modules/async-limiter": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz", + "integrity": "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==", + "license": "MIT" + }, "node_modules/available-typed-arrays": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz", @@ -5020,9 +8100,9 @@ } }, "node_modules/axe-core": { - "version": "4.11.0", - "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.11.0.tgz", - "integrity": "sha512-ilYanEU8vxxBexpJd8cWM4ElSQq4QctCLKih0TSfjIfCQTeyH/6zVrmIJfLPrKTKJRbiG+cfnZbQIjAlJmF1jQ==", + "version": "4.11.1", + "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.11.1.tgz", + "integrity": "sha512-BASOg+YwO2C+346x3LZOeoovTIoTrRqEsqMa6fmfAV0P+U9mFr9NsyOEpiYvFjbc64NMrSswhV50WdXzdb/Z5A==", "dev": true, "license": "MPL-2.0", "engines": { @@ -5039,13 +8119,216 @@ "node": ">= 0.4" } }, + "node_modules/babel-jest": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-29.7.0.tgz", + "integrity": "sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg==", + "license": "MIT", + "dependencies": { + "@jest/transform": "^29.7.0", + "@types/babel__core": "^7.1.14", + "babel-plugin-istanbul": "^6.1.1", + "babel-preset-jest": "^29.6.3", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.9", + "slash": "^3.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + }, + "peerDependencies": { + "@babel/core": "^7.8.0" + } + }, + "node_modules/babel-plugin-istanbul": { + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz", + "integrity": "sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==", + "license": "BSD-3-Clause", + "dependencies": { + "@babel/helper-plugin-utils": "^7.0.0", + "@istanbuljs/load-nyc-config": "^1.0.0", + "@istanbuljs/schema": "^0.1.2", + "istanbul-lib-instrument": "^5.0.4", + "test-exclude": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/babel-plugin-jest-hoist": { + "version": "29.6.3", + "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-29.6.3.tgz", + "integrity": "sha512-ESAc/RJvGTFEzRwOTT4+lNDk/GNHMkKbNzsvT0qKRfDyyYTskxB5rnU2njIDYVxXCBHHEI1c0YwHob3WaYujOg==", + "license": "MIT", + "dependencies": { + "@babel/template": "^7.3.3", + "@babel/types": "^7.3.3", + "@types/babel__core": "^7.1.14", + "@types/babel__traverse": "^7.0.6" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/babel-plugin-polyfill-corejs2": { + "version": "0.4.14", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.14.tgz", + "integrity": "sha512-Co2Y9wX854ts6U8gAAPXfn0GmAyctHuK8n0Yhfjd6t30g7yvKjspvvOo9yG+z52PZRgFErt7Ka2pYnXCjLKEpg==", + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.27.7", + "@babel/helper-define-polyfill-provider": "^0.6.5", + "semver": "^6.3.1" + }, + "peerDependencies": { + "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" + } + }, + "node_modules/babel-plugin-polyfill-corejs3": { + "version": "0.13.0", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.13.0.tgz", + "integrity": "sha512-U+GNwMdSFgzVmfhNm8GJUX88AadB3uo9KpJqS3FaqNIPKgySuvMb+bHPsOmmuWyIcuqZj/pzt1RUIUZns4y2+A==", + "license": "MIT", + "dependencies": { + "@babel/helper-define-polyfill-provider": "^0.6.5", + "core-js-compat": "^3.43.0" + }, + "peerDependencies": { + "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" + } + }, + "node_modules/babel-plugin-polyfill-regenerator": { + "version": "0.6.5", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.6.5.tgz", + "integrity": "sha512-ISqQ2frbiNU9vIJkzg7dlPpznPZ4jOiUQ1uSmB0fEHeowtN3COYRsXr/xexn64NpU13P06jc/L5TgiJXOgrbEg==", + "license": "MIT", + "dependencies": { + "@babel/helper-define-polyfill-provider": "^0.6.5" + }, + "peerDependencies": { + "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" + } + }, + "node_modules/babel-plugin-react-compiler": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/babel-plugin-react-compiler/-/babel-plugin-react-compiler-1.0.0.tgz", + "integrity": "sha512-Ixm8tFfoKKIPYdCCKYTsqv+Fd4IJ0DQqMyEimo+pxUOMUR9cVPlwTrFt9Avu+3cb6Zp3mAzl+t1MrG2fxxKsxw==", + "license": "MIT", + "peer": true, + "dependencies": { + "@babel/types": "^7.26.0" + } + }, "node_modules/babel-plugin-react-native-web": { "version": "0.21.2", "resolved": "https://registry.npmjs.org/babel-plugin-react-native-web/-/babel-plugin-react-native-web-0.21.2.tgz", "integrity": "sha512-SPD0J6qjJn8231i0HZhlAGH6NORe+QvRSQM2mwQEzJ2Fb3E4ruWTiiicPlHjmeWShDXLcvoorOCXjeR7k/lyWA==", - "dev": true, "license": "MIT" }, + "node_modules/babel-plugin-syntax-hermes-parser": { + "version": "0.25.1", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-hermes-parser/-/babel-plugin-syntax-hermes-parser-0.25.1.tgz", + "integrity": "sha512-IVNpGzboFLfXZUAwkLFcI/bnqVbwky0jP3eBno4HKtqvQJAHBLdgxiG6lQ4to0+Q/YCN3PO0od5NZwIKyY4REQ==", + "license": "MIT", + "dependencies": { + "hermes-parser": "0.25.1" + } + }, + "node_modules/babel-plugin-transform-flow-enums": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-flow-enums/-/babel-plugin-transform-flow-enums-0.0.2.tgz", + "integrity": "sha512-g4aaCrDDOsWjbm0PUUeVnkcVd6AKJsVc/MbnPhEotEpkeJQP6b8nzewohQi7+QS8UyPehOhGWn0nOwjvWpmMvQ==", + "license": "MIT", + "dependencies": { + "@babel/plugin-syntax-flow": "^7.12.1" + } + }, + "node_modules/babel-preset-current-node-syntax": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.2.0.tgz", + "integrity": "sha512-E/VlAEzRrsLEb2+dv8yp3bo4scof3l9nR4lrld+Iy5NyVqgVYUJnDAmunkhPMisRI32Qc4iRiz425d8vM++2fg==", + "license": "MIT", + "dependencies": { + "@babel/plugin-syntax-async-generators": "^7.8.4", + "@babel/plugin-syntax-bigint": "^7.8.3", + "@babel/plugin-syntax-class-properties": "^7.12.13", + "@babel/plugin-syntax-class-static-block": "^7.14.5", + "@babel/plugin-syntax-import-attributes": "^7.24.7", + "@babel/plugin-syntax-import-meta": "^7.10.4", + "@babel/plugin-syntax-json-strings": "^7.8.3", + "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4", + "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", + "@babel/plugin-syntax-numeric-separator": "^7.10.4", + "@babel/plugin-syntax-object-rest-spread": "^7.8.3", + "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", + "@babel/plugin-syntax-optional-chaining": "^7.8.3", + "@babel/plugin-syntax-private-property-in-object": "^7.14.5", + "@babel/plugin-syntax-top-level-await": "^7.14.5" + }, + "peerDependencies": { + "@babel/core": "^7.0.0 || ^8.0.0-0" + } + }, + "node_modules/babel-preset-expo": { + "version": "13.2.4", + "resolved": "https://registry.npmjs.org/babel-preset-expo/-/babel-preset-expo-13.2.4.tgz", + "integrity": "sha512-3IKORo3KR+4qtLdCkZNDj8KeA43oBn7RRQejFGWfiZgu/NeaRUSri8YwYjZqybm7hn3nmMv9OLahlvXBX23o5Q==", + "license": "MIT", + "dependencies": { + "@babel/helper-module-imports": "^7.25.9", + "@babel/plugin-proposal-decorators": "^7.12.9", + "@babel/plugin-proposal-export-default-from": "^7.24.7", + "@babel/plugin-syntax-export-default-from": "^7.24.7", + "@babel/plugin-transform-export-namespace-from": "^7.25.9", + "@babel/plugin-transform-flow-strip-types": "^7.25.2", + "@babel/plugin-transform-modules-commonjs": "^7.24.8", + "@babel/plugin-transform-object-rest-spread": "^7.24.7", + "@babel/plugin-transform-parameters": "^7.24.7", + "@babel/plugin-transform-private-methods": "^7.24.7", + "@babel/plugin-transform-private-property-in-object": "^7.24.7", + "@babel/plugin-transform-runtime": "^7.24.7", + "@babel/preset-react": "^7.22.15", + "@babel/preset-typescript": "^7.23.0", + "@react-native/babel-preset": "0.79.6", + "babel-plugin-react-native-web": "~0.19.13", + "babel-plugin-syntax-hermes-parser": "^0.25.1", + "babel-plugin-transform-flow-enums": "^0.0.2", + "debug": "^4.3.4", + "react-refresh": "^0.14.2", + "resolve-from": "^5.0.0" + }, + "peerDependencies": { + "babel-plugin-react-compiler": "^19.0.0-beta-e993439-20250405" + }, + "peerDependenciesMeta": { + "babel-plugin-react-compiler": { + "optional": true + } + } + }, + "node_modules/babel-preset-expo/node_modules/babel-plugin-react-native-web": { + "version": "0.19.13", + "resolved": "https://registry.npmjs.org/babel-plugin-react-native-web/-/babel-plugin-react-native-web-0.19.13.tgz", + "integrity": "sha512-4hHoto6xaN23LCyZgL9LJZc3olmAxd7b6jDzlZnKXAh4rRAbZRKNBJoOOdp46OBqgy+K0t0guTj5/mhA8inymQ==", + "license": "MIT" + }, + "node_modules/babel-preset-jest": { + "version": "29.6.3", + "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-29.6.3.tgz", + "integrity": "sha512-0B3bhxR6snWXJZtR/RliHTDPRgn1sNHOR0yVtq/IiQFyuOVjFS+wuio/R4gSNkyYmKmJB4wGZv2NZanmKmTnNA==", + "license": "MIT", + "dependencies": { + "babel-plugin-jest-hoist": "^29.6.3", + "babel-preset-current-node-syntax": "^1.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, "node_modules/bail": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/bail/-/bail-2.0.2.tgz", @@ -5060,18 +8343,66 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", - "dev": true, + "license": "MIT" + }, + "node_modules/base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], "license": "MIT" }, "node_modules/baseline-browser-mapping": { - "version": "2.9.11", - "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.9.11.tgz", - "integrity": "sha512-Sg0xJUNDU1sJNGdfGWhVHX0kkZ+HWcvmVymJbj6NSgZZmW/8S9Y2HQ5euytnIgakgxN6papOAWiwDo1ctFDcoQ==", + "version": "2.9.17", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.9.17.tgz", + "integrity": "sha512-agD0MgJFUP/4nvjqzIB29zRPUuCF7Ge6mEv9s8dHrtYD7QWXRcx75rOADE/d5ah1NI+0vkDl0yorDd5U852IQQ==", "license": "Apache-2.0", "bin": { "baseline-browser-mapping": "dist/cli.js" } }, + "node_modules/better-opn": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/better-opn/-/better-opn-3.0.2.tgz", + "integrity": "sha512-aVNobHnJqLiUelTaHat9DZ1qM2w0C0Eym4LPI/3JxOnSokGVdsl1T1kN7TFvsEAD8G47A6VKQ0TVHqbBnYMJlQ==", + "license": "MIT", + "dependencies": { + "open": "^8.0.4" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/better-opn/node_modules/open": { + "version": "8.4.2", + "resolved": "https://registry.npmjs.org/open/-/open-8.4.2.tgz", + "integrity": "sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ==", + "license": "MIT", + "dependencies": { + "define-lazy-prop": "^2.0.0", + "is-docker": "^2.1.1", + "is-wsl": "^2.2.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/better-react-mathjax": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/better-react-mathjax/-/better-react-mathjax-2.3.0.tgz", @@ -5084,11 +8415,52 @@ "react": ">=16.8" } }, + "node_modules/big-integer": { + "version": "1.6.52", + "resolved": "https://registry.npmjs.org/big-integer/-/big-integer-1.6.52.tgz", + "integrity": "sha512-QxD8cf2eVqJOOz63z6JIN9BzvVs/dlySa5HGSBH5xtR8dPteIRQnBxxKqkNTiT6jbDTF6jAfrd4oMcND9RGbQg==", + "license": "Unlicense", + "engines": { + "node": ">=0.6" + } + }, + "node_modules/binary-extensions": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz", + "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==", + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/bplist-creator": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/bplist-creator/-/bplist-creator-0.1.0.tgz", + "integrity": "sha512-sXaHZicyEEmY86WyueLTQesbeoH/mquvarJaQNbjuOQO+7gbFcDEWqKmcWA4cOTLzFlfgvkiVxolk1k5bBIpmg==", + "license": "MIT", + "dependencies": { + "stream-buffers": "2.2.x" + } + }, + "node_modules/bplist-parser": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/bplist-parser/-/bplist-parser-0.3.2.tgz", + "integrity": "sha512-apC2+fspHGI3mMKj+dGevkGo/tCqVB8jMb6i+OX+E29p0Iposz07fABkRIfVUPNd5A5VbuOz1bZbnmkKLYF+wQ==", + "license": "MIT", + "dependencies": { + "big-integer": "1.6.x" + }, + "engines": { + "node": ">= 5.10.0" + } + }, "node_modules/brace-expansion": { "version": "1.1.12", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", - "dev": true, "license": "MIT", "dependencies": { "balanced-match": "^1.0.0", @@ -5111,7 +8483,6 @@ "version": "4.28.1", "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.28.1.tgz", "integrity": "sha512-ZC5Bd0LgJXgwGqUknZY/vkUQ04r8NXnJZ3yYi4vDmSiZmC/pdSN0NbNRPxZpbtO4uAfDUAFffO8IZoM3Gj8IkA==", - "dev": true, "funding": [ { "type": "opencollective", @@ -5127,6 +8498,7 @@ } ], "license": "MIT", + "peer": true, "dependencies": { "baseline-browser-mapping": "^2.9.0", "caniuse-lite": "^1.0.30001759", @@ -5138,7 +8510,55 @@ "browserslist": "cli.js" }, "engines": { - "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + } + }, + "node_modules/bser": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz", + "integrity": "sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==", + "license": "Apache-2.0", + "dependencies": { + "node-int64": "^0.4.0" + } + }, + "node_modules/buffer": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", + "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "node_modules/buffer-from": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", + "license": "MIT" + }, + "node_modules/bytes": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", + "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", + "license": "MIT", + "engines": { + "node": ">= 0.8" } }, "node_modules/call-bind": { @@ -5201,10 +8621,31 @@ "node": ">=6" } }, + "node_modules/camelcase": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", + "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/camelcase-css": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz", + "integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==", + "license": "MIT", + "engines": { + "node": ">= 6" + } + }, "node_modules/caniuse-lite": { - "version": "1.0.30001762", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001762.tgz", - "integrity": "sha512-PxZwGNvH7Ak8WX5iXzoK1KPZttBXNPuaOvI2ZYU7NrlM+d9Ov+TUvlLOBNGzVXAntMSMMlJPd+jY6ovrVjSmUw==", + "version": "1.0.30001765", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001765.tgz", + "integrity": "sha512-LWcNtSyZrakjECqmpP4qdg0MMGdN368D7X8XvvAqOcqMv0RxnlqVKZl2V6/mBR68oYMxOZPLw/gO7DuisMHUvQ==", "funding": [ { "type": "opencollective", @@ -5221,6 +8662,15 @@ ], "license": "CC-BY-4.0" }, + "node_modules/canvaskit-wasm": { + "version": "0.40.0", + "resolved": "https://registry.npmjs.org/canvaskit-wasm/-/canvaskit-wasm-0.40.0.tgz", + "integrity": "sha512-Od2o+ZmoEw9PBdN/yCGvzfu0WVqlufBPEWNG452wY7E9aT8RBE+ChpZF526doOlg7zumO4iCS+RAeht4P0Gbpw==", + "license": "BSD-3-Clause", + "dependencies": { + "@webgpu/types": "0.1.21" + } + }, "node_modules/ccount": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/ccount/-/ccount-2.0.1.tgz", @@ -5235,7 +8685,6 @@ "version": "4.1.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", @@ -5321,18 +8770,95 @@ "license": "MIT" }, "node_modules/chokidar": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-5.0.0.tgz", - "integrity": "sha512-TQMmc3w+5AxjpL8iIiwebF73dRDF4fBIieAqGn9RGCWaEVwQ6Fb2cGe31Yns0RRIzii5goJ1Y7xbMwo1TxMplw==", + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", + "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", "license": "MIT", "dependencies": { - "readdirp": "^5.0.0" + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" }, "engines": { - "node": ">= 20.19.0" + "node": ">= 8.10.0" }, "funding": { "url": "https://paulmillr.com/funding/" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/chokidar/node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/chownr": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-3.0.0.tgz", + "integrity": "sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g==", + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=18" + } + }, + "node_modules/chrome-launcher": { + "version": "0.15.2", + "resolved": "https://registry.npmjs.org/chrome-launcher/-/chrome-launcher-0.15.2.tgz", + "integrity": "sha512-zdLEwNo3aUVzIhKhTtXfxhdvZhUghrnmkvcAq2NoDd+LeOHKf03H5jwZ8T/STsAlzyALkBVK552iaG1fGf1xVQ==", + "license": "Apache-2.0", + "dependencies": { + "@types/node": "*", + "escape-string-regexp": "^4.0.0", + "is-wsl": "^2.2.0", + "lighthouse-logger": "^1.0.0" + }, + "bin": { + "print-chrome-path": "bin/print-chrome-path.js" + }, + "engines": { + "node": ">=12.13.0" + } + }, + "node_modules/chromium-edge-launcher": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/chromium-edge-launcher/-/chromium-edge-launcher-0.2.0.tgz", + "integrity": "sha512-JfJjUnq25y9yg4FABRRVPmBGWPZZi+AQXT4mxupb67766/0UlhG8PAZCz6xzEMXTbW3CsSoE8PcCWA49n35mKg==", + "license": "Apache-2.0", + "dependencies": { + "@types/node": "*", + "escape-string-regexp": "^4.0.0", + "is-wsl": "^2.2.0", + "lighthouse-logger": "^1.0.0", + "mkdirp": "^1.0.4", + "rimraf": "^3.0.2" + } + }, + "node_modules/ci-info": { + "version": "3.9.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.9.0.tgz", + "integrity": "sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/sibiraj-s" + } + ], + "license": "MIT", + "engines": { + "node": ">=8" } }, "node_modules/class-variance-authority": { @@ -5347,6 +8873,30 @@ "url": "https://polar.sh/cva" } }, + "node_modules/cli-cursor": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz", + "integrity": "sha512-8lgKz8LmCRYZZQDpRyT2m5rKJ08TnU4tR9FFFW2rxpxR1FzWi4PQ/NfyODchAatHaUgnSPVcx/R5w6NuTBzFiw==", + "license": "MIT", + "dependencies": { + "restore-cursor": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/cli-spinners": { + "version": "2.9.2", + "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.9.2.tgz", + "integrity": "sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==", + "license": "MIT", + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/client-only": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/client-only/-/client-only-0.0.1.tgz", @@ -5370,6 +8920,56 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/clipboardy/node_modules/is-wsl": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-3.1.0.tgz", + "integrity": "sha512-UcVfVfaK4Sc4m7X3dUSoHoozQGBEFeDC+zVo06t98xe8CzHSZZBekNXH+tu0NalHolcJ/QAGqS46Hef7QXBIMw==", + "license": "MIT", + "dependencies": { + "is-inside-container": "^1.0.0" + }, + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cliui": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", + "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "license": "ISC", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/cliui/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/clone": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", + "integrity": "sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==", + "license": "MIT", + "engines": { + "node": ">=0.8" + } + }, "node_modules/clsx": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz", @@ -5395,11 +8995,23 @@ "url": "https://github.com/sponsors/wooorm" } }, + "node_modules/color": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/color/-/color-4.2.3.tgz", + "integrity": "sha512-1rXeuUUiGGrykh+CeBdu5Ie7OJwinCgQY0bc7GCRxy5xVHy+moaqkpL/jqQq0MtQOeYcrqEz4abc5f0KtU7W4A==", + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1", + "color-string": "^1.9.0" + }, + "engines": { + "node": ">=12.5.0" + } + }, "node_modules/color-convert": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, "license": "MIT", "dependencies": { "color-name": "~1.1.4" @@ -5412,9 +9024,18 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true, "license": "MIT" }, + "node_modules/color-string": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.9.1.tgz", + "integrity": "sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==", + "license": "MIT", + "dependencies": { + "color-name": "^1.0.0", + "simple-swizzle": "^0.2.2" + } + }, "node_modules/comma-separated-tokens": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/comma-separated-tokens/-/comma-separated-tokens-2.0.3.tgz", @@ -5426,12 +9047,80 @@ } }, "node_modules/commander": { - "version": "8.3.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz", - "integrity": "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz", + "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==", "license": "MIT", "engines": { - "node": ">= 12" + "node": ">= 10" + } + }, + "node_modules/comment-json": { + "version": "4.5.1", + "resolved": "https://registry.npmjs.org/comment-json/-/comment-json-4.5.1.tgz", + "integrity": "sha512-taEtr3ozUmOB7it68Jll7s0Pwm+aoiHyXKrEC8SEodL4rNpdfDLqa7PfBlrgFoCNNdR8ImL+muti5IGvktJAAg==", + "license": "MIT", + "dependencies": { + "array-timsort": "^1.0.3", + "core-util-is": "^1.0.3", + "esprima": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/compressible": { + "version": "2.0.18", + "resolved": "https://registry.npmjs.org/compressible/-/compressible-2.0.18.tgz", + "integrity": "sha512-AF3r7P5dWxL8MxyITRMlORQNaOA2IkAFaTr4k7BUumjPtRpGDTZpl0Pb1XCO6JeDCBdp126Cgs9sMxqSjgYyRg==", + "license": "MIT", + "dependencies": { + "mime-db": ">= 1.43.0 < 2" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/compression": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/compression/-/compression-1.8.1.tgz", + "integrity": "sha512-9mAqGPHLakhCLeNyxPkK4xVo746zQ/czLH1Ky+vkitMnWfWZps8r0qXuwhwizagCRttsL4lfG4pIOvaWLpAP0w==", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "compressible": "~2.0.18", + "debug": "2.6.9", + "negotiator": "~0.6.4", + "on-headers": "~1.1.0", + "safe-buffer": "5.2.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/compression/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/compression/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", + "license": "MIT" + }, + "node_modules/compression/node_modules/negotiator": { + "version": "0.6.4", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.4.tgz", + "integrity": "sha512-myRT3DiWPHqho5PrJaIRyaMv2kgYf0mUVgBNOYMuCH5Ki1yEiQaf/ZJuQ62nvpc44wL5WDbTX7yGJi1Neevw8w==", + "license": "MIT", + "engines": { + "node": ">= 0.6" } }, "node_modules/compute-scroll-into-view": { @@ -5444,7 +9133,6 @@ "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", - "dev": true, "license": "MIT" }, "node_modules/confbox": { @@ -5453,11 +9141,59 @@ "integrity": "sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w==", "license": "MIT" }, + "node_modules/connect": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/connect/-/connect-3.7.0.tgz", + "integrity": "sha512-ZqRXc+tZukToSNmh5C2iWMSoV3X1YUcPbqEM4DkEG5tNQXrQUZCNVGGv3IuicnkMtPfGf3Xtp8WCXs295iQ1pQ==", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "finalhandler": "1.1.2", + "parseurl": "~1.3.3", + "utils-merge": "1.0.1" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "node_modules/connect/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/connect/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", + "license": "MIT" + }, "node_modules/convert-source-map": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", - "dev": true, + "license": "MIT" + }, + "node_modules/core-js-compat": { + "version": "3.48.0", + "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.48.0.tgz", + "integrity": "sha512-OM4cAF3D6VtH/WkLtWvyNC56EZVXsZdU3iqaMG2B4WvYrlqU831pc4UtG5yp0sE9z8Y02wVN7PjW5Zf9Gt0f1Q==", + "license": "MIT", + "dependencies": { + "browserslist": "^4.28.1" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/core-js" + } + }, + "node_modules/core-util-is": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", + "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==", "license": "MIT" }, "node_modules/cose-base": { @@ -5492,6 +9228,15 @@ "node": ">= 8" } }, + "node_modules/crypto-random-string": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-2.0.0.tgz", + "integrity": "sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, "node_modules/css-in-js-utils": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/css-in-js-utils/-/css-in-js-utils-3.1.0.tgz", @@ -5525,6 +9270,7 @@ "resolved": "https://registry.npmjs.org/cytoscape/-/cytoscape-3.33.1.tgz", "integrity": "sha512-iJc4TwyANnOGR1OmWhsS9ayRS3s+XQ185FmuHObThD+5AeJCakAAbWv8KimMTt08xCCLNgneQwFp+JRJOr9qGQ==", "license": "MIT", + "peer": true, "engines": { "node": ">=0.10" } @@ -5738,15 +9484,6 @@ "node": ">=12" } }, - "node_modules/d3-dsv/node_modules/commander": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz", - "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==", - "license": "MIT", - "engines": { - "node": ">= 10" - } - }, "node_modules/d3-ease": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/d3-ease/-/d3-ease-3.0.1.tgz", @@ -5783,9 +9520,9 @@ } }, "node_modules/d3-format": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/d3-format/-/d3-format-3.1.0.tgz", - "integrity": "sha512-YyUI6AEuY/Wpt8KWLgZHsIU86atmikuoOmCfommt0LYHiQSPjvX2AcFc38PX0CBpr2RCyZhjex+NS/LPOv6YqA==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/d3-format/-/d3-format-3.1.2.tgz", + "integrity": "sha512-AJDdYOdnyRDV5b6ArilzCPPwc1ejkHcoyFarqlPqT7zRYjhavcT3uSrqcMvsgh2CgoPbK3RCwyHaVyxYcP2Arg==", "license": "ISC", "engines": { "node": ">=12" @@ -5934,6 +9671,7 @@ "resolved": "https://registry.npmjs.org/d3-selection/-/d3-selection-3.0.0.tgz", "integrity": "sha512-fmTRWbNMmsmWq6xJV8D19U/gw/bwrHfNXxrIN+HfZgnzqTHp9jOmKMhsTUjXOJnZOdZY9Q28y4yebKzqDKlxlQ==", "license": "ISC", + "peer": true, "engines": { "node": ">=12" } @@ -6113,9 +9851,9 @@ } }, "node_modules/decode-named-character-reference": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/decode-named-character-reference/-/decode-named-character-reference-1.2.0.tgz", - "integrity": "sha512-c6fcElNV6ShtZXmsgNgFFV5tVX2PaV4g+MOAkb8eXHvn6sryJBrZa9r0zV6+dtTyoCKxtDy5tyQ5ZwQuidtd+Q==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/decode-named-character-reference/-/decode-named-character-reference-1.3.0.tgz", + "integrity": "sha512-GtpQYB283KrPp6nRw50q3U9/VfOutZOe103qlN7BPP6Ad27xYnOIWv4lPzo8HCAL+mMZofJ9KEy30fq6MfaK6Q==", "license": "MIT", "dependencies": { "character-entities": "^2.0.0" @@ -6125,6 +9863,24 @@ "url": "https://github.com/sponsors/wooorm" } }, + "node_modules/decode-uri-component": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.2.tgz", + "integrity": "sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ==", + "license": "MIT", + "engines": { + "node": ">=0.10" + } + }, + "node_modules/deep-extend": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", + "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", + "license": "MIT", + "engines": { + "node": ">=4.0.0" + } + }, "node_modules/deep-is": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", @@ -6132,6 +9888,27 @@ "dev": true, "license": "MIT" }, + "node_modules/deepmerge": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz", + "integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/defaults": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.4.tgz", + "integrity": "sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==", + "license": "MIT", + "dependencies": { + "clone": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/define-data-property": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", @@ -6150,6 +9927,15 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/define-lazy-prop": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz", + "integrity": "sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, "node_modules/define-properties": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz", @@ -6177,6 +9963,15 @@ "robust-predicates": "^3.0.2" } }, + "node_modules/depd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", + "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, "node_modules/dequal": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz", @@ -6186,11 +9981,20 @@ "node": ">=6" } }, + "node_modules/destroy": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", + "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==", + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, "node_modules/detect-libc": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz", "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==", - "devOptional": true, "license": "Apache-2.0", "engines": { "node": ">=8" @@ -6215,6 +10019,18 @@ "url": "https://github.com/sponsors/wooorm" } }, + "node_modules/didyoumean": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/didyoumean/-/didyoumean-1.2.2.tgz", + "integrity": "sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==", + "license": "Apache-2.0" + }, + "node_modules/dlv": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz", + "integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==", + "license": "MIT" + }, "node_modules/doctrine": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", @@ -6237,6 +10053,33 @@ "@types/trusted-types": "^2.0.7" } }, + "node_modules/dotenv": { + "version": "16.4.7", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.7.tgz", + "integrity": "sha512-47qPchRCykZC03FhkYAhrvwU4xDBFIj1QPqaarj6mdM/hgUzfPHcpkHJOn3mJAufFeeAxAzeGsr5X0M4k6fLZQ==", + "license": "BSD-2-Clause", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://dotenvx.com" + } + }, + "node_modules/dotenv-expand": { + "version": "11.0.7", + "resolved": "https://registry.npmjs.org/dotenv-expand/-/dotenv-expand-11.0.7.tgz", + "integrity": "sha512-zIHwmZPRshsCdpMDyVsqGmgyP0yT8GAgXUnkdAoJisxvf33k7yO6OuoKmcTGuXPWSsm8Oh88nZicRLA9Y0rUeA==", + "license": "BSD-2-Clause", + "dependencies": { + "dotenv": "^16.4.5" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://dotenvx.com" + } + }, "node_modules/dunder-proto": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", @@ -6252,11 +10095,16 @@ "node": ">= 0.4" } }, + "node_modules/ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==", + "license": "MIT" + }, "node_modules/electron-to-chromium": { - "version": "1.5.267", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.267.tgz", - "integrity": "sha512-0Drusm6MVRXSOJpGbaSVgcQsuB4hEkMpHXaVstcPmhu5LIedxs1xNK/nIxmQIU/RPC0+1/o0AVZfBTkTNJOdUw==", - "dev": true, + "version": "1.5.277", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.277.tgz", + "integrity": "sha512-wKXFZw4erWmmOz5N/grBoJ2XrNJGDFMu2+W5ACHza5rHtvsqrK4gb6rnLC7XxKB9WlJ+RmyQatuEXmtm86xbnw==", "license": "ISC" }, "node_modules/emoji-regex": { @@ -6266,6 +10114,15 @@ "dev": true, "license": "MIT" }, + "node_modules/encodeurl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, "node_modules/enhanced-resolve": { "version": "5.18.4", "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.18.4.tgz", @@ -6292,6 +10149,24 @@ "url": "https://github.com/fb55/entities?sponsor=1" } }, + "node_modules/env-editor": { + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/env-editor/-/env-editor-0.4.2.tgz", + "integrity": "sha512-ObFo8v4rQJAE59M69QzwloxPZtd33TpYEIjtKD1rrFDcM1Gd7IkDxEBU+HriziN6HSHQnBJi8Dmy+JWkav5HKA==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/error-stack-parser": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/error-stack-parser/-/error-stack-parser-2.1.4.tgz", + "integrity": "sha512-Sk5V6wVazPhq5MhpO+AUxJn5x7XSXGl1R93Vn7i+zS15KDVxQijejNCrz8340/2bgLBjR9GtEG8ZVKONDjcqGQ==", + "license": "MIT", + "dependencies": { + "stackframe": "^1.3.4" + } + }, "node_modules/es-abstract": { "version": "1.24.1", "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.24.1.tgz", @@ -6546,17 +10421,21 @@ "version": "3.2.0", "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", - "dev": true, "license": "MIT", "engines": { "node": ">=6" } }, + "node_modules/escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==", + "license": "MIT" + }, "node_modules/escape-string-regexp": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", - "dev": true, "license": "MIT", "engines": { "node": ">=10" @@ -6571,6 +10450,7 @@ "integrity": "sha512-LEyamqS7W5HB3ujJyvi0HQK/dtVINZvd5mAAp9eT5S/ujByGjiZLCzPcHVzuXbpJDJF/cxwHlfceVUDZ2lnSTw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@eslint-community/eslint-utils": "^4.8.0", "@eslint-community/regexpp": "^4.12.1", @@ -6952,6 +10832,19 @@ "url": "https://opencollective.com/eslint" } }, + "node_modules/esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "license": "BSD-2-Clause", + "bin": { + "esparse": "bin/esparse.js", + "esvalidate": "bin/esvalidate.js" + }, + "engines": { + "node": ">=4" + } + }, "node_modules/esquery": { "version": "1.7.0", "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.7.0.tgz", @@ -7051,79 +10944,552 @@ "astring": "^1.8.0", "source-map": "^0.7.0" }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/estree-util-value-to-estree": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/estree-util-value-to-estree/-/estree-util-value-to-estree-3.5.0.tgz", + "integrity": "sha512-aMV56R27Gv3QmfmF1MY12GWkGzzeAezAX+UplqHVASfjc9wNzI/X6hC0S9oxq61WT4aQesLGslWP9tKk6ghRZQ==", + "license": "MIT", + "dependencies": { + "@types/estree": "^1.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/remcohaszing" + } + }, + "node_modules/estree-util-visit": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/estree-util-visit/-/estree-util-visit-2.0.0.tgz", + "integrity": "sha512-m5KgiH85xAhhW8Wta0vShLcUvOsh3LLPI2YVwcbio1l7E09NTLL1EyMZFM1OyWowoH0skScNbhOPl4kcBgzTww==", + "license": "MIT", + "dependencies": { + "@types/estree-jsx": "^1.0.0", + "@types/unist": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/estree-walker": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz", + "integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==", + "license": "MIT", + "dependencies": { + "@types/estree": "^1.0.0" + } + }, + "node_modules/esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/event-target-shim": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", + "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/exec-async": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/exec-async/-/exec-async-2.2.0.tgz", + "integrity": "sha512-87OpwcEiMia/DeiKFzaQNBNFeN3XkkpYIh9FyOqq5mS2oKv3CBE67PXoEKcr6nodWdXNogTiQ0jE2NGuoffXPw==", + "license": "MIT" + }, + "node_modules/execa": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-8.0.1.tgz", + "integrity": "sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==", + "license": "MIT", + "dependencies": { + "cross-spawn": "^7.0.3", + "get-stream": "^8.0.1", + "human-signals": "^5.0.0", + "is-stream": "^3.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^5.1.0", + "onetime": "^6.0.0", + "signal-exit": "^4.1.0", + "strip-final-newline": "^3.0.0" + }, + "engines": { + "node": ">=16.17" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, + "node_modules/execa/node_modules/mimic-fn": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz", + "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==", + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/execa/node_modules/onetime": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-6.0.0.tgz", + "integrity": "sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==", + "license": "MIT", + "dependencies": { + "mimic-fn": "^4.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/execa/node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "license": "ISC", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/expo": { + "version": "54.0.32", + "resolved": "https://registry.npmjs.org/expo/-/expo-54.0.32.tgz", + "integrity": "sha512-yL9eTxiQ/QKKggVDAWO5CLjUl6IS0lPYgEvC3QM4q4fxd6rs7ks3DnbXSGVU3KNFoY/7cRNYihvd0LKYP+MCXA==", + "license": "MIT", + "peer": true, + "dependencies": { + "@babel/runtime": "^7.20.0", + "@expo/cli": "54.0.22", + "@expo/config": "~12.0.13", + "@expo/config-plugins": "~54.0.4", + "@expo/devtools": "0.1.8", + "@expo/fingerprint": "0.15.4", + "@expo/metro": "~54.2.0", + "@expo/metro-config": "54.0.14", + "@expo/vector-icons": "^15.0.3", + "@ungap/structured-clone": "^1.3.0", + "babel-preset-expo": "~54.0.10", + "expo-asset": "~12.0.12", + "expo-constants": "~18.0.13", + "expo-file-system": "~19.0.21", + "expo-font": "~14.0.11", + "expo-keep-awake": "~15.0.8", + "expo-modules-autolinking": "3.0.24", + "expo-modules-core": "3.0.29", + "pretty-format": "^29.7.0", + "react-refresh": "^0.14.2", + "whatwg-url-without-unicode": "8.0.0-3" + }, + "bin": { + "expo": "bin/cli", + "expo-modules-autolinking": "bin/autolinking", + "fingerprint": "bin/fingerprint" + }, + "peerDependencies": { + "@expo/dom-webview": "*", + "@expo/metro-runtime": "*", + "react": "*", + "react-native": "*", + "react-native-webview": "*" + }, + "peerDependenciesMeta": { + "@expo/dom-webview": { + "optional": true + }, + "@expo/metro-runtime": { + "optional": true + }, + "react-native-webview": { + "optional": true + } + } + }, + "node_modules/expo-asset": { + "version": "12.0.12", + "resolved": "https://registry.npmjs.org/expo-asset/-/expo-asset-12.0.12.tgz", + "integrity": "sha512-CsXFCQbx2fElSMn0lyTdRIyKlSXOal6ilLJd+yeZ6xaC7I9AICQgscY5nj0QcwgA+KYYCCEQEBndMsmj7drOWQ==", + "license": "MIT", + "dependencies": { + "@expo/image-utils": "^0.8.8", + "expo-constants": "~18.0.12" + }, + "peerDependencies": { + "expo": "*", + "react": "*", + "react-native": "*" + } + }, + "node_modules/expo-constants": { + "version": "18.0.13", + "resolved": "https://registry.npmjs.org/expo-constants/-/expo-constants-18.0.13.tgz", + "integrity": "sha512-FnZn12E1dRYKDHlAdIyNFhBurKTS3F9CrfrBDJI5m3D7U17KBHMQ6JEfYlSj7LG7t+Ulr+IKaj58L1k5gBwTcQ==", + "license": "MIT", + "peer": true, + "dependencies": { + "@expo/config": "~12.0.13", + "@expo/env": "~2.0.8" + }, + "peerDependencies": { + "expo": "*", + "react-native": "*" + } + }, + "node_modules/expo-file-system": { + "version": "19.0.21", + "resolved": "https://registry.npmjs.org/expo-file-system/-/expo-file-system-19.0.21.tgz", + "integrity": "sha512-s3DlrDdiscBHtab/6W1osrjGL+C2bvoInPJD7sOwmxfJ5Woynv2oc+Fz1/xVXaE/V7HE/+xrHC/H45tu6lZzzg==", + "license": "MIT", + "peerDependencies": { + "expo": "*", + "react-native": "*" + } + }, + "node_modules/expo-font": { + "version": "14.0.11", + "resolved": "https://registry.npmjs.org/expo-font/-/expo-font-14.0.11.tgz", + "integrity": "sha512-ga0q61ny4s/kr4k8JX9hVH69exVSIfcIc19+qZ7gt71Mqtm7xy2c6kwsPTCyhBW2Ro5yXTT8EaZOpuRi35rHbg==", + "license": "MIT", + "peer": true, + "dependencies": { + "fontfaceobserver": "^2.1.0" + }, + "peerDependencies": { + "expo": "*", + "react": "*", + "react-native": "*" + } + }, + "node_modules/expo-keep-awake": { + "version": "15.0.8", + "resolved": "https://registry.npmjs.org/expo-keep-awake/-/expo-keep-awake-15.0.8.tgz", + "integrity": "sha512-YK9M1VrnoH1vLJiQzChZgzDvVimVoriibiDIFLbQMpjYBnvyfUeHJcin/Gx1a+XgupNXy92EQJLgI/9ZuXajYQ==", + "license": "MIT", + "peerDependencies": { + "expo": "*", + "react": "*" + } + }, + "node_modules/expo-linking": { + "version": "8.0.11", + "resolved": "https://registry.npmjs.org/expo-linking/-/expo-linking-8.0.11.tgz", + "integrity": "sha512-+VSaNL5om3kOp/SSKO5qe6cFgfSIWnnQDSbA7XLs3ECkYzXRquk5unxNS3pg7eK5kNUmQ4kgLI7MhTggAEUBLA==", + "license": "MIT", + "peer": true, + "dependencies": { + "expo-constants": "~18.0.12", + "invariant": "^2.2.4" + }, + "peerDependencies": { + "react": "*", + "react-native": "*" + } + }, + "node_modules/expo-modules-autolinking": { + "version": "3.0.24", + "resolved": "https://registry.npmjs.org/expo-modules-autolinking/-/expo-modules-autolinking-3.0.24.tgz", + "integrity": "sha512-TP+6HTwhL7orDvsz2VzauyQlXJcAWyU3ANsZ7JGL4DQu8XaZv/A41ZchbtAYLfozNA2Ya1Hzmhx65hXryBMjaQ==", + "license": "MIT", + "dependencies": { + "@expo/spawn-async": "^1.7.2", + "chalk": "^4.1.0", + "commander": "^7.2.0", + "require-from-string": "^2.0.2", + "resolve-from": "^5.0.0" + }, + "bin": { + "expo-modules-autolinking": "bin/expo-modules-autolinking.js" + } + }, + "node_modules/expo-modules-core": { + "version": "3.0.29", + "resolved": "https://registry.npmjs.org/expo-modules-core/-/expo-modules-core-3.0.29.tgz", + "integrity": "sha512-LzipcjGqk8gvkrOUf7O2mejNWugPkf3lmd9GkqL9WuNyeN2fRwU0Dn77e3ZUKI3k6sI+DNwjkq4Nu9fNN9WS7Q==", + "license": "MIT", + "dependencies": { + "invariant": "^2.2.4" + }, + "peerDependencies": { + "react": "*", + "react-native": "*" + } + }, + "node_modules/expo-router": { + "version": "5.1.10", + "resolved": "https://registry.npmjs.org/expo-router/-/expo-router-5.1.10.tgz", + "integrity": "sha512-Txi2KX5iF5D+60n8vhgWFlmbxHOjaAO7y/VuQa+WdCh0nuyEJkJEmza2kt+nvH/JCi8sYIGU2ZDNNejObN6sDg==", + "license": "MIT", + "peer": true, + "dependencies": { + "@expo/metro-runtime": "5.0.5", + "@expo/schema-utils": "^0.1.0", + "@expo/server": "^0.6.3", + "@radix-ui/react-slot": "1.2.0", + "@react-navigation/bottom-tabs": "^7.3.10", + "@react-navigation/native": "^7.1.6", + "@react-navigation/native-stack": "^7.3.10", + "client-only": "^0.0.1", + "invariant": "^2.2.4", + "react-fast-compare": "^3.2.2", + "react-native-is-edge-to-edge": "^1.1.6", + "semver": "~7.6.3", + "server-only": "^0.0.1", + "shallowequal": "^1.1.0" + }, + "peerDependencies": { + "@react-navigation/drawer": "^7.3.9", + "expo": "*", + "expo-constants": "*", + "expo-linking": "*", + "react-native-reanimated": "*", + "react-native-safe-area-context": "*", + "react-native-screens": "*", + "react-server-dom-webpack": "~19.0.3 || ~19.1.4 || ~19.2.3" + }, + "peerDependenciesMeta": { + "@react-navigation/drawer": { + "optional": true + }, + "@testing-library/jest-native": { + "optional": true + }, + "react-native-reanimated": { + "optional": true + }, + "react-server-dom-webpack": { + "optional": true + } + } + }, + "node_modules/expo-router/node_modules/semver": { + "version": "7.6.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", + "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" } }, - "node_modules/estree-util-value-to-estree": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/estree-util-value-to-estree/-/estree-util-value-to-estree-3.5.0.tgz", - "integrity": "sha512-aMV56R27Gv3QmfmF1MY12GWkGzzeAezAX+UplqHVASfjc9wNzI/X6hC0S9oxq61WT4aQesLGslWP9tKk6ghRZQ==", + "node_modules/expo-server": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/expo-server/-/expo-server-1.0.5.tgz", + "integrity": "sha512-IGR++flYH70rhLyeXF0Phle56/k4cee87WeQ4mamS+MkVAVP+dDlOHf2nN06Z9Y2KhU0Gp1k+y61KkghF7HdhA==", "license": "MIT", - "dependencies": { - "@types/estree": "^1.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/remcohaszing" + "engines": { + "node": ">=20.16.0" } }, - "node_modules/estree-util-visit": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/estree-util-visit/-/estree-util-visit-2.0.0.tgz", - "integrity": "sha512-m5KgiH85xAhhW8Wta0vShLcUvOsh3LLPI2YVwcbio1l7E09NTLL1EyMZFM1OyWowoH0skScNbhOPl4kcBgzTww==", + "node_modules/expo-status-bar": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/expo-status-bar/-/expo-status-bar-2.2.3.tgz", + "integrity": "sha512-+c8R3AESBoduunxTJ8353SqKAKpxL6DvcD8VKBuh81zzJyUUbfB4CVjr1GufSJEKsMzNPXZU+HJwXx7Xh7lx8Q==", "license": "MIT", "dependencies": { - "@types/estree-jsx": "^1.0.0", - "@types/unist": "^3.0.0" + "react-native-edge-to-edge": "1.6.0", + "react-native-is-edge-to-edge": "^1.1.6" }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" + "peerDependencies": { + "react": "*", + "react-native": "*" + } + }, + "node_modules/expo/node_modules/@react-native/babel-plugin-codegen": { + "version": "0.81.5", + "resolved": "https://registry.npmjs.org/@react-native/babel-plugin-codegen/-/babel-plugin-codegen-0.81.5.tgz", + "integrity": "sha512-oF71cIH6je3fSLi6VPjjC3Sgyyn57JLHXs+mHWc9MoCiJJcM4nqsS5J38zv1XQ8d3zOW2JtHro+LF0tagj2bfQ==", + "license": "MIT", + "dependencies": { + "@babel/traverse": "^7.25.3", + "@react-native/codegen": "0.81.5" + }, + "engines": { + "node": ">= 20.19.4" + } + }, + "node_modules/expo/node_modules/@react-native/babel-preset": { + "version": "0.81.5", + "resolved": "https://registry.npmjs.org/@react-native/babel-preset/-/babel-preset-0.81.5.tgz", + "integrity": "sha512-UoI/x/5tCmi+pZ3c1+Ypr1DaRMDLI3y+Q70pVLLVgrnC3DHsHRIbHcCHIeG/IJvoeFqFM2sTdhSOLJrf8lOPrA==", + "license": "MIT", + "dependencies": { + "@babel/core": "^7.25.2", + "@babel/plugin-proposal-export-default-from": "^7.24.7", + "@babel/plugin-syntax-dynamic-import": "^7.8.3", + "@babel/plugin-syntax-export-default-from": "^7.24.7", + "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", + "@babel/plugin-syntax-optional-chaining": "^7.8.3", + "@babel/plugin-transform-arrow-functions": "^7.24.7", + "@babel/plugin-transform-async-generator-functions": "^7.25.4", + "@babel/plugin-transform-async-to-generator": "^7.24.7", + "@babel/plugin-transform-block-scoping": "^7.25.0", + "@babel/plugin-transform-class-properties": "^7.25.4", + "@babel/plugin-transform-classes": "^7.25.4", + "@babel/plugin-transform-computed-properties": "^7.24.7", + "@babel/plugin-transform-destructuring": "^7.24.8", + "@babel/plugin-transform-flow-strip-types": "^7.25.2", + "@babel/plugin-transform-for-of": "^7.24.7", + "@babel/plugin-transform-function-name": "^7.25.1", + "@babel/plugin-transform-literals": "^7.25.2", + "@babel/plugin-transform-logical-assignment-operators": "^7.24.7", + "@babel/plugin-transform-modules-commonjs": "^7.24.8", + "@babel/plugin-transform-named-capturing-groups-regex": "^7.24.7", + "@babel/plugin-transform-nullish-coalescing-operator": "^7.24.7", + "@babel/plugin-transform-numeric-separator": "^7.24.7", + "@babel/plugin-transform-object-rest-spread": "^7.24.7", + "@babel/plugin-transform-optional-catch-binding": "^7.24.7", + "@babel/plugin-transform-optional-chaining": "^7.24.8", + "@babel/plugin-transform-parameters": "^7.24.7", + "@babel/plugin-transform-private-methods": "^7.24.7", + "@babel/plugin-transform-private-property-in-object": "^7.24.7", + "@babel/plugin-transform-react-display-name": "^7.24.7", + "@babel/plugin-transform-react-jsx": "^7.25.2", + "@babel/plugin-transform-react-jsx-self": "^7.24.7", + "@babel/plugin-transform-react-jsx-source": "^7.24.7", + "@babel/plugin-transform-regenerator": "^7.24.7", + "@babel/plugin-transform-runtime": "^7.24.7", + "@babel/plugin-transform-shorthand-properties": "^7.24.7", + "@babel/plugin-transform-spread": "^7.24.7", + "@babel/plugin-transform-sticky-regex": "^7.24.7", + "@babel/plugin-transform-typescript": "^7.25.2", + "@babel/plugin-transform-unicode-regex": "^7.24.7", + "@babel/template": "^7.25.0", + "@react-native/babel-plugin-codegen": "0.81.5", + "babel-plugin-syntax-hermes-parser": "0.29.1", + "babel-plugin-transform-flow-enums": "^0.0.2", + "react-refresh": "^0.14.0" + }, + "engines": { + "node": ">= 20.19.4" + }, + "peerDependencies": { + "@babel/core": "*" } }, - "node_modules/estree-walker": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz", - "integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==", + "node_modules/expo/node_modules/@react-native/codegen": { + "version": "0.81.5", + "resolved": "https://registry.npmjs.org/@react-native/codegen/-/codegen-0.81.5.tgz", + "integrity": "sha512-a2TDA03Up8lpSa9sh5VRGCQDXgCTOyDOFH+aqyinxp1HChG8uk89/G+nkJ9FPd0rqgi25eCTR16TWdS3b+fA6g==", "license": "MIT", "dependencies": { - "@types/estree": "^1.0.0" - } - }, - "node_modules/esutils": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", - "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", - "dev": true, - "license": "BSD-2-Clause", + "@babel/core": "^7.25.2", + "@babel/parser": "^7.25.3", + "glob": "^7.1.1", + "hermes-parser": "0.29.1", + "invariant": "^2.2.4", + "nullthrows": "^1.1.1", + "yargs": "^17.6.2" + }, "engines": { - "node": ">=0.10.0" + "node": ">= 20.19.4" + }, + "peerDependencies": { + "@babel/core": "*" + } + }, + "node_modules/expo/node_modules/babel-plugin-syntax-hermes-parser": { + "version": "0.29.1", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-hermes-parser/-/babel-plugin-syntax-hermes-parser-0.29.1.tgz", + "integrity": "sha512-2WFYnoWGdmih1I1J5eIqxATOeycOqRwYxAQBu3cUu/rhwInwHUg7k60AFNbuGjSDL8tje5GDrAnxzRLcu2pYcA==", + "license": "MIT", + "dependencies": { + "hermes-parser": "0.29.1" + } + }, + "node_modules/expo/node_modules/babel-preset-expo": { + "version": "54.0.10", + "resolved": "https://registry.npmjs.org/babel-preset-expo/-/babel-preset-expo-54.0.10.tgz", + "integrity": "sha512-wTt7POavLFypLcPW/uC5v8y+mtQKDJiyGLzYCjqr9tx0Qc3vCXcDKk1iCFIj/++Iy5CWhhTflEa7VvVPNWeCfw==", + "license": "MIT", + "dependencies": { + "@babel/helper-module-imports": "^7.25.9", + "@babel/plugin-proposal-decorators": "^7.12.9", + "@babel/plugin-proposal-export-default-from": "^7.24.7", + "@babel/plugin-syntax-export-default-from": "^7.24.7", + "@babel/plugin-transform-class-static-block": "^7.27.1", + "@babel/plugin-transform-export-namespace-from": "^7.25.9", + "@babel/plugin-transform-flow-strip-types": "^7.25.2", + "@babel/plugin-transform-modules-commonjs": "^7.24.8", + "@babel/plugin-transform-object-rest-spread": "^7.24.7", + "@babel/plugin-transform-parameters": "^7.24.7", + "@babel/plugin-transform-private-methods": "^7.24.7", + "@babel/plugin-transform-private-property-in-object": "^7.24.7", + "@babel/plugin-transform-runtime": "^7.24.7", + "@babel/preset-react": "^7.22.15", + "@babel/preset-typescript": "^7.23.0", + "@react-native/babel-preset": "0.81.5", + "babel-plugin-react-compiler": "^1.0.0", + "babel-plugin-react-native-web": "~0.21.0", + "babel-plugin-syntax-hermes-parser": "^0.29.1", + "babel-plugin-transform-flow-enums": "^0.0.2", + "debug": "^4.3.4", + "resolve-from": "^5.0.0" + }, + "peerDependencies": { + "@babel/runtime": "^7.20.0", + "expo": "*", + "react-refresh": ">=0.14.0 <1.0.0" + }, + "peerDependenciesMeta": { + "@babel/runtime": { + "optional": true + }, + "expo": { + "optional": true + } } }, - "node_modules/execa": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-8.0.1.tgz", - "integrity": "sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==", + "node_modules/expo/node_modules/hermes-estree": { + "version": "0.29.1", + "resolved": "https://registry.npmjs.org/hermes-estree/-/hermes-estree-0.29.1.tgz", + "integrity": "sha512-jl+x31n4/w+wEqm0I2r4CMimukLbLQEYpisys5oCre611CI5fc9TxhqkBBCJ1edDG4Kza0f7CgNz8xVMLZQOmQ==", + "license": "MIT" + }, + "node_modules/expo/node_modules/hermes-parser": { + "version": "0.29.1", + "resolved": "https://registry.npmjs.org/hermes-parser/-/hermes-parser-0.29.1.tgz", + "integrity": "sha512-xBHWmUtRC5e/UL0tI7Ivt2riA/YBq9+SiYFU7C1oBa/j2jYGlIF9043oak1F47ihuDIxQ5nbsKueYJDRY02UgA==", "license": "MIT", "dependencies": { - "cross-spawn": "^7.0.3", - "get-stream": "^8.0.1", - "human-signals": "^5.0.0", - "is-stream": "^3.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^5.1.0", - "onetime": "^6.0.0", - "signal-exit": "^4.1.0", - "strip-final-newline": "^3.0.0" - }, - "engines": { - "node": ">=16.17" - }, - "funding": { - "url": "https://github.com/sindresorhus/execa?sponsor=1" + "hermes-estree": "0.29.1" } }, + "node_modules/exponential-backoff": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/exponential-backoff/-/exponential-backoff-3.1.3.tgz", + "integrity": "sha512-ZgEeZXj30q+I0EN+CbSSpIyPaJ5HVQD18Z1m+u1FXbAeT94mr1zw50q4q6jiiC447Nl/YTcIYSAftiGqetwXCA==", + "license": "Apache-2.0" + }, "node_modules/extend": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", @@ -7134,21 +11500,19 @@ "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", - "dev": true, "license": "MIT" }, "node_modules/fast-glob": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.1.tgz", - "integrity": "sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==", - "dev": true, + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz", + "integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==", "license": "MIT", "dependencies": { "@nodelib/fs.stat": "^2.0.2", "@nodelib/fs.walk": "^1.2.3", "glob-parent": "^5.1.2", "merge2": "^1.3.0", - "micromatch": "^4.0.4" + "micromatch": "^4.0.8" }, "engines": { "node": ">=8.6.0" @@ -7158,7 +11522,6 @@ "version": "5.1.2", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dev": true, "license": "ISC", "dependencies": { "is-glob": "^4.0.1" @@ -7171,7 +11534,6 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", - "dev": true, "license": "MIT" }, "node_modules/fast-levenshtein": { @@ -7203,6 +11565,15 @@ "url": "https://github.com/sponsors/wooorm" } }, + "node_modules/fb-watchman": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.2.tgz", + "integrity": "sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==", + "license": "Apache-2.0", + "dependencies": { + "bser": "2.1.1" + } + }, "node_modules/fbjs": { "version": "3.0.5", "resolved": "https://registry.npmjs.org/fbjs/-/fbjs-3.0.5.tgz", @@ -7224,6 +11595,15 @@ "integrity": "sha512-b2XGFAFdWZWg0phtAWLHCk836A1Xann+I+Dgd3Gk64MHKZO44FfoD1KxyvbSh0qZsIoXQGGlVztIY+oitJPpRQ==", "license": "MIT" }, + "node_modules/fbjs/node_modules/promise": { + "version": "7.3.1", + "resolved": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz", + "integrity": "sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==", + "license": "MIT", + "dependencies": { + "asap": "~2.0.3" + } + }, "node_modules/file-entry-cache": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz", @@ -7249,11 +11629,52 @@ "node": ">=8" } }, + "node_modules/filter-obj": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/filter-obj/-/filter-obj-1.1.0.tgz", + "integrity": "sha512-8rXg1ZnX7xzy2NGDVkBVaAy+lSlPNwad13BtgSlLuxfIslyt5Vg64U7tFcCt4WS1R0hvtnQybT/IyCkGZ3DpXQ==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/finalhandler": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz", + "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "~2.3.0", + "parseurl": "~1.3.3", + "statuses": "~1.5.0", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/finalhandler/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/finalhandler/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", + "license": "MIT" + }, "node_modules/find-up": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", - "dev": true, "license": "MIT", "dependencies": { "locate-path": "^6.0.0", @@ -7287,6 +11708,18 @@ "dev": true, "license": "ISC" }, + "node_modules/flow-enums-runtime": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/flow-enums-runtime/-/flow-enums-runtime-0.0.6.tgz", + "integrity": "sha512-3PYnM29RFXwvAN6Pc/scUfkI7RwhQ/xqyLUyPNlXUp9S40zI8nup9tUSrTLSVnWGBN38FNiGWbwZOB6uR4OGdw==", + "license": "MIT" + }, + "node_modules/fontfaceobserver": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/fontfaceobserver/-/fontfaceobserver-2.3.0.tgz", + "integrity": "sha512-6FPvD/IVyT4ZlNe7Wcn5Fb/4ChigpucKYSvD6a+0iMoLn2inpo711eyIcKjmDtE5XNcgAkSH9uN/nfAeZzHEfg==", + "license": "BSD-2-Clause" + }, "node_modules/for-each": { "version": "0.3.5", "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.5.tgz", @@ -7312,13 +11745,13 @@ } }, "node_modules/framer-motion": { - "version": "12.23.26", - "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-12.23.26.tgz", - "integrity": "sha512-cPcIhgR42xBn1Uj+PzOyheMtZ73H927+uWPDVhUMqxy8UHt6Okavb6xIz9J/phFUHUj0OncR6UvMfJTXoc/LKA==", + "version": "12.29.0", + "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-12.29.0.tgz", + "integrity": "sha512-1gEFGXHYV2BD42ZPTFmSU9buehppU+bCuOnHU0AD18DKh9j4DuTx47MvqY5ax+NNWRtK32qIcJf1UxKo1WwjWg==", "license": "MIT", "dependencies": { - "motion-dom": "^12.23.23", - "motion-utils": "^12.23.6", + "motion-dom": "^12.29.0", + "motion-utils": "^12.27.2", "tslib": "^2.4.0" }, "peerDependencies": { @@ -7338,11 +11771,50 @@ } } }, + "node_modules/freeport-async": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/freeport-async/-/freeport-async-2.0.0.tgz", + "integrity": "sha512-K7od3Uw45AJg00XUmy15+Hae2hOcgKcmN3/EF6Y7i01O0gaqiRx8sUSpsb9+BRNL8RPBrhzPsVfy8q9ADlJuWQ==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/fresh": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", + "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", + "license": "ISC" + }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, "node_modules/fumadocs-core": { - "version": "16.4.6", - "resolved": "https://registry.npmjs.org/fumadocs-core/-/fumadocs-core-16.4.6.tgz", - "integrity": "sha512-cPmKu7HmzzAOXk4TbAfJhVQ12C36nu0A8sDPi664X35lOAMr+vBtjY6yIYrc8szPEFrBcmkVRGLZyEkNDZWE/Q==", + "version": "16.4.7", + "resolved": "https://registry.npmjs.org/fumadocs-core/-/fumadocs-core-16.4.7.tgz", + "integrity": "sha512-oEsoha5EjyQnhRb6s5tNYEM+AiDA4BN80RyevRohsKPXGRQ2K3ddMaFAQq5kBaqA/Xxb+vqrElyRtzmdif7w2A==", "license": "MIT", + "peer": true, "dependencies": { "@formatjs/intl-localematcher": "^0.7.5", "@orama/orama": "^3.1.18", @@ -7421,20 +11893,19 @@ } } }, - "node_modules/fumadocs-core/node_modules/@formatjs/intl-localematcher": { - "version": "0.7.5", - "resolved": "https://registry.npmjs.org/@formatjs/intl-localematcher/-/intl-localematcher-0.7.5.tgz", - "integrity": "sha512-7/nd90cn5CT7SVF71/ybUKAcnvBlr9nZlJJp8O8xIZHXFgYOC4SXExZlSdgHv2l6utjw1byidL06QzChvQMHwA==", + "node_modules/fumadocs-core/node_modules/negotiator": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-1.0.0.tgz", + "integrity": "sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg==", "license": "MIT", - "dependencies": { - "@formatjs/fast-memoize": "3.0.3", - "tslib": "^2.8.0" + "engines": { + "node": ">= 0.6" } }, "node_modules/fumadocs-mdx": { - "version": "14.2.4", - "resolved": "https://registry.npmjs.org/fumadocs-mdx/-/fumadocs-mdx-14.2.4.tgz", - "integrity": "sha512-YuDgzTopMuOOQmOhvOUfmXn2RryZY5Ev+9uwAzTBEYcLIpxIBxZl0/jHaLoYdlOMBM65AO6OBngA2SucC2hkIQ==", + "version": "14.2.6", + "resolved": "https://registry.npmjs.org/fumadocs-mdx/-/fumadocs-mdx-14.2.6.tgz", + "integrity": "sha512-T8i5IllZ6OGaZ3/4Wwjl1zovvypSsr6Cco9ZACvoABLqpqTQ2TDfrW1nBt1o9YUKyfzkwDnjKdrnrq/nDexfcg==", "license": "MIT", "dependencies": { "@mdx-js/mdx": "^3.1.1", @@ -7453,7 +11924,7 @@ "unist-util-remove-position": "^5.0.0", "unist-util-visit": "^5.0.0", "vfile": "^6.0.3", - "zod": "^4.2.1" + "zod": "^4.3.5" }, "bin": { "fumadocs-mdx": "dist/bin.js" @@ -7484,6 +11955,21 @@ } } }, + "node_modules/fumadocs-mdx/node_modules/chokidar": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-5.0.0.tgz", + "integrity": "sha512-TQMmc3w+5AxjpL8iIiwebF73dRDF4fBIieAqGn9RGCWaEVwQ6Fb2cGe31Yns0RRIzii5goJ1Y7xbMwo1TxMplw==", + "license": "MIT", + "dependencies": { + "readdirp": "^5.0.0" + }, + "engines": { + "node": ">= 20.19.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, "node_modules/fumadocs-mdx/node_modules/picomatch": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz", @@ -7496,13 +11982,26 @@ "url": "https://github.com/sponsors/jonschlinkert" } }, + "node_modules/fumadocs-mdx/node_modules/readdirp": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-5.0.0.tgz", + "integrity": "sha512-9u/XQ1pvrQtYyMpZe7DXKv2p5CNvyVwzUB6uhLAnQwHMSgKMBR62lc7AHljaeteeHXn11XTAaLLUVZYVZyuRBQ==", + "license": "MIT", + "engines": { + "node": ">= 20.19.0" + }, + "funding": { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + }, "node_modules/fumadocs-ui": { - "version": "16.4.6", - "resolved": "https://registry.npmjs.org/fumadocs-ui/-/fumadocs-ui-16.4.6.tgz", - "integrity": "sha512-WQD+rj2AMd5umu8cB+Q2pMl/EnCXT1MAeSb4UoEZKuoiv6zOkUiBHFemNVliijuPD2dX+18HzJlgDEk4PMVDUQ==", + "version": "16.4.7", + "resolved": "https://registry.npmjs.org/fumadocs-ui/-/fumadocs-ui-16.4.7.tgz", + "integrity": "sha512-ShEftF54mj89EW7Wll2wwGcH6bNTmPrPtUUmO+ThakK13skJmY7GSBH3Ft51TzQNLhN3kBKEQipIlJWc7LT5NQ==", "license": "MIT", "dependencies": { - "@fumadocs/ui": "16.4.6", + "@fumadocs/ui": "16.4.7", "@radix-ui/react-accordion": "^1.2.12", "@radix-ui/react-collapsible": "^1.1.12", "@radix-ui/react-dialog": "^1.1.15", @@ -7521,7 +12020,7 @@ }, "peerDependencies": { "@types/react": "*", - "fumadocs-core": "16.4.6", + "fumadocs-core": "16.4.7", "next": "16.x.x", "react": "^19.2.0", "react-dom": "^19.2.0", @@ -7539,11 +12038,28 @@ } } }, + "node_modules/fumadocs-ui/node_modules/@radix-ui/react-slot": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.4.tgz", + "integrity": "sha512-Jl+bCv8HxKnlTLVrcDE8zTMJ09R9/ukw4qBs/oZClOfoQk/cOTbDn+NceXfV7j09YPVQUryJPHurafcSg6EVKA==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.2" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, "node_modules/function-bind": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", - "dev": true, "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" @@ -7594,12 +12110,20 @@ "version": "1.0.0-beta.2", "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", - "dev": true, "license": "MIT", "engines": { "node": ">=6.9.0" } }, + "node_modules/get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "license": "ISC", + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, "node_modules/get-intrinsic": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz", @@ -7634,6 +12158,15 @@ "node": ">=6" } }, + "node_modules/get-package-type": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz", + "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==", + "license": "MIT", + "engines": { + "node": ">=8.0.0" + } + }, "node_modules/get-proto": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz", @@ -7691,23 +12224,64 @@ "url": "https://github.com/privatenumber/get-tsconfig?sponsor=1" } }, + "node_modules/getenv": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/getenv/-/getenv-2.0.0.tgz", + "integrity": "sha512-VilgtJj/ALgGY77fiLam5iD336eSWi96Q15JSAG1zi8NRBysm3LXKdGnHb4m5cuyxvOLQQKWpBZAT6ni4FI2iQ==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, "node_modules/github-slugger": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/github-slugger/-/github-slugger-2.0.0.tgz", "integrity": "sha512-IaOQ9puYtjrkq7Y0Ygl9KDZnrf/aiUJYUpVf89y8kyaxbRG7Y1SrX/jaumrv81vc61+kiMempujsM3Yw7w5qcw==", "license": "ISC" }, + "node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "deprecated": "Glob versions prior to v9 are no longer supported", + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/glob-parent": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", - "dev": true, "license": "ISC", "dependencies": { - "is-glob": "^4.0.3" + "is-glob": "^4.0.3" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/global-dirs": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-0.1.1.tgz", + "integrity": "sha512-NknMLn7F2J7aflwFOlGdNIuCDpN3VGoSoB+aap3KABFWbHVn1TCgFC+np23J8W2BiZbjfEw3BFBycSMv1AFblg==", + "license": "MIT", + "dependencies": { + "ini": "^1.3.4" }, "engines": { - "node": ">=10.13.0" + "node": ">=4" } }, "node_modules/globals": { @@ -7757,7 +12331,6 @@ "version": "4.2.11", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", - "dev": true, "license": "ISC" }, "node_modules/hachure-fill": { @@ -7783,7 +12356,6 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -7851,7 +12423,6 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", - "dev": true, "license": "MIT", "dependencies": { "function-bind": "^1.1.2" @@ -8140,19 +12711,50 @@ "version": "0.25.1", "resolved": "https://registry.npmjs.org/hermes-estree/-/hermes-estree-0.25.1.tgz", "integrity": "sha512-0wUoCcLp+5Ev5pDW2OriHC2MJCbwLwuRx+gAqMTOkGKJJiBCLjtrvy4PWUGn6MIVefecRpzoOZ/UV6iGdOr+Cw==", - "dev": true, "license": "MIT" }, "node_modules/hermes-parser": { "version": "0.25.1", "resolved": "https://registry.npmjs.org/hermes-parser/-/hermes-parser-0.25.1.tgz", "integrity": "sha512-6pEjquH3rqaI6cYAXYPcz9MS4rY6R4ngRgrgfDshRptUZIc3lw0MCIJIGDj9++mfySOuPTHB4nrSW99BCvOPIA==", - "dev": true, "license": "MIT", "dependencies": { "hermes-estree": "0.25.1" } }, + "node_modules/hoist-non-react-statics": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz", + "integrity": "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==", + "license": "BSD-3-Clause", + "dependencies": { + "react-is": "^16.7.0" + } + }, + "node_modules/hoist-non-react-statics/node_modules/react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", + "license": "MIT" + }, + "node_modules/hosted-git-info": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-7.0.2.tgz", + "integrity": "sha512-puUZAUKT5m8Zzvs72XWy3HtvVbTWljRE66cP60bxJzAqf2DgICo7lYTY2IHUmLnNpjYvw5bvmoHvPc0QO2a62w==", + "license": "ISC", + "dependencies": { + "lru-cache": "^10.0.1" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/hosted-git-info/node_modules/lru-cache": { + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", + "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", + "license": "ISC" + }, "node_modules/html-void-elements": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/html-void-elements/-/html-void-elements-3.0.0.tgz", @@ -8163,6 +12765,48 @@ "url": "https://github.com/sponsors/wooorm" } }, + "node_modules/http-errors": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.1.tgz", + "integrity": "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==", + "license": "MIT", + "dependencies": { + "depd": "~2.0.0", + "inherits": "~2.0.4", + "setprototypeof": "~1.2.0", + "statuses": "~2.0.2", + "toidentifier": "~1.0.1" + }, + "engines": { + "node": ">= 0.8" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/http-errors/node_modules/statuses": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz", + "integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/https-proxy-agent": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz", + "integrity": "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==", + "license": "MIT", + "dependencies": { + "agent-base": "^7.1.2", + "debug": "4" + }, + "engines": { + "node": ">= 14" + } + }, "node_modules/human-signals": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-5.0.0.tgz", @@ -8190,11 +12834,30 @@ "node": ">=0.10.0" } }, + "node_modules/ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "BSD-3-Clause" + }, "node_modules/ignore": { "version": "5.3.2", "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", - "dev": true, "license": "MIT", "engines": { "node": ">= 4" @@ -8229,16 +12892,48 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/import-fresh/node_modules/resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, "node_modules/imurmurhash": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", - "dev": true, "license": "MIT", "engines": { "node": ">=0.8.19" } }, + "node_modules/inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", + "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.", + "license": "ISC", + "dependencies": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "license": "ISC" + }, + "node_modules/ini": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", + "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", + "license": "ISC" + }, "node_modules/inline-style-parser": { "version": "0.2.7", "resolved": "https://registry.npmjs.org/inline-style-parser/-/inline-style-parser-0.2.7.tgz", @@ -8278,6 +12973,15 @@ "node": ">=12" } }, + "node_modules/invariant": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz", + "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==", + "license": "MIT", + "dependencies": { + "loose-envify": "^1.0.0" + } + }, "node_modules/is-alphabetical": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/is-alphabetical/-/is-alphabetical-2.0.1.tgz", @@ -8320,6 +13024,12 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/is-arrayish": { + "version": "0.3.4", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.4.tgz", + "integrity": "sha512-m6UrgzFVUYawGBh1dUsWR5M2Clqic9RVXC/9f8ceNlv2IcO9j9J/z8UoCLPqtsPBFNzEpfR3xftohbfqDx8EQA==", + "license": "MIT" + }, "node_modules/is-async-function": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/is-async-function/-/is-async-function-2.1.1.tgz", @@ -8356,6 +13066,18 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "license": "MIT", + "dependencies": { + "binary-extensions": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/is-boolean-object": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.2.2.tgz", @@ -8413,7 +13135,6 @@ "version": "2.16.1", "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.1.tgz", "integrity": "sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==", - "dev": true, "license": "MIT", "dependencies": { "hasown": "^2.0.2" @@ -8471,15 +13192,15 @@ } }, "node_modules/is-docker": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-3.0.0.tgz", - "integrity": "sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ==", + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", + "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", "license": "MIT", "bin": { "is-docker": "cli.js" }, "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + "node": ">=8" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -8510,6 +13231,15 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, "node_modules/is-generator-function": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.1.2.tgz", @@ -8570,6 +13300,21 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/is-inside-container/node_modules/is-docker": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-3.0.0.tgz", + "integrity": "sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ==", + "license": "MIT", + "bin": { + "is-docker": "cli.js" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/is-map": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/is-map/-/is-map-2.0.3.tgz", @@ -8792,18 +13537,15 @@ } }, "node_modules/is-wsl": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-3.1.0.tgz", - "integrity": "sha512-UcVfVfaK4Sc4m7X3dUSoHoozQGBEFeDC+zVo06t98xe8CzHSZZBekNXH+tu0NalHolcJ/QAGqS46Hef7QXBIMw==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", + "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", "license": "MIT", "dependencies": { - "is-inside-container": "^1.0.0" + "is-docker": "^2.0.0" }, "engines": { - "node": ">=16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=8" } }, "node_modules/is64bit": { @@ -8834,6 +13576,31 @@ "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", "license": "ISC" }, + "node_modules/istanbul-lib-coverage": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz", + "integrity": "sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==", + "license": "BSD-3-Clause", + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-instrument": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.1.tgz", + "integrity": "sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==", + "license": "BSD-3-Clause", + "dependencies": { + "@babel/core": "^7.12.3", + "@babel/parser": "^7.14.7", + "@istanbuljs/schema": "^0.1.2", + "istanbul-lib-coverage": "^3.2.0", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/iterator.prototype": { "version": "1.1.5", "resolved": "https://registry.npmjs.org/iterator.prototype/-/iterator.prototype-1.1.5.tgz", @@ -8852,14 +13619,178 @@ "node": ">= 0.4" } }, + "node_modules/jest-environment-node": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-29.7.0.tgz", + "integrity": "sha512-DOSwCRqXirTOyheM+4d5YZOrWcdu0LNZ87ewUoywbcb2XR4wKgqiG8vNeYwhjFMbEkfju7wx2GYH0P2gevGvFw==", + "license": "MIT", + "dependencies": { + "@jest/environment": "^29.7.0", + "@jest/fake-timers": "^29.7.0", + "@jest/types": "^29.6.3", + "@types/node": "*", + "jest-mock": "^29.7.0", + "jest-util": "^29.7.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-get-type": { + "version": "29.6.3", + "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.6.3.tgz", + "integrity": "sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw==", + "license": "MIT", + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-haste-map": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-29.7.0.tgz", + "integrity": "sha512-fP8u2pyfqx0K1rGn1R9pyE0/KTn+G7PxktWidOBTqFPLYX0b9ksaMFkhK5vrS3DVun09pckLdlx90QthlW7AmA==", + "license": "MIT", + "dependencies": { + "@jest/types": "^29.6.3", + "@types/graceful-fs": "^4.1.3", + "@types/node": "*", + "anymatch": "^3.0.3", + "fb-watchman": "^2.0.0", + "graceful-fs": "^4.2.9", + "jest-regex-util": "^29.6.3", + "jest-util": "^29.7.0", + "jest-worker": "^29.7.0", + "micromatch": "^4.0.4", + "walker": "^1.0.8" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + }, + "optionalDependencies": { + "fsevents": "^2.3.2" + } + }, + "node_modules/jest-message-util": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-29.7.0.tgz", + "integrity": "sha512-GBEV4GRADeP+qtB2+6u61stea8mGcOT4mCtrYISZwfu9/ISHFJ/5zOMXYbpBE9RsS5+Gb63DW4FgmnKJ79Kf6w==", + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.12.13", + "@jest/types": "^29.6.3", + "@types/stack-utils": "^2.0.0", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.9", + "micromatch": "^4.0.4", + "pretty-format": "^29.7.0", + "slash": "^3.0.0", + "stack-utils": "^2.0.3" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-mock": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-29.7.0.tgz", + "integrity": "sha512-ITOMZn+UkYS4ZFh83xYAOzWStloNzJFO2s8DWrE4lhtGD+AorgnbkiKERe4wQVBydIGPx059g6riW5Btp6Llnw==", + "license": "MIT", + "dependencies": { + "@jest/types": "^29.6.3", + "@types/node": "*", + "jest-util": "^29.7.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-regex-util": { + "version": "29.6.3", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-29.6.3.tgz", + "integrity": "sha512-KJJBsRCyyLNWCNBOvZyRDnAIfUiRJ8v+hOBQYGn8gDyF3UegwiP4gwRR3/SDa42g1YbVycTidUF3rKjyLFDWbg==", + "license": "MIT", + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-util": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.7.0.tgz", + "integrity": "sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA==", + "license": "MIT", + "dependencies": { + "@jest/types": "^29.6.3", + "@types/node": "*", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "graceful-fs": "^4.2.9", + "picomatch": "^2.2.3" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-validate": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-29.7.0.tgz", + "integrity": "sha512-ZB7wHqaRGVw/9hST/OuFUReG7M8vKeq0/J2egIGLdvjHCmYqGARhzXmtgi+gVeZ5uXFF219aOc3Ls2yLg27tkw==", + "license": "MIT", + "dependencies": { + "@jest/types": "^29.6.3", + "camelcase": "^6.2.0", + "chalk": "^4.0.0", + "jest-get-type": "^29.6.3", + "leven": "^3.1.0", + "pretty-format": "^29.7.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-worker": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-29.7.0.tgz", + "integrity": "sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==", + "license": "MIT", + "dependencies": { + "@types/node": "*", + "jest-util": "^29.7.0", + "merge-stream": "^2.0.0", + "supports-color": "^8.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-worker/node_modules/supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, + "node_modules/jimp-compact": { + "version": "0.16.1", + "resolved": "https://registry.npmjs.org/jimp-compact/-/jimp-compact-0.16.1.tgz", + "integrity": "sha512-dZ6Ra7u1G8c4Letq/B5EzAxj4tLFHL+cGtdpR+PVm4yzPDj+lCk+AbivWt1eOM+ikzkowtyV7qSqX6qr3t71Ww==", + "license": "MIT" + }, "node_modules/jiti": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/jiti/-/jiti-2.6.1.tgz", - "integrity": "sha512-ekilCSN1jwRvIbgeg/57YFh8qQDNbwDb9xT/qu2DAHbFFZUicIl4ygVaAvzveMhMVr3LnpSKTNnwt8PoOfmKhQ==", - "dev": true, + "version": "1.21.7", + "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.7.tgz", + "integrity": "sha512-/imKNG4EbWNrVjoNC/1H5/9GFy+tqjGBHCaSsN+P2RnPqjsLmv6UD3Ej+Kj8nBWaRAwyk7kK5ZUc+OEatnTR3A==", "license": "MIT", + "peer": true, "bin": { - "jiti": "lib/jiti-cli.mjs" + "jiti": "bin/jiti.js" } }, "node_modules/js-tokens": { @@ -8880,11 +13811,16 @@ "js-yaml": "bin/js-yaml.js" } }, + "node_modules/jsc-safe-url": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/jsc-safe-url/-/jsc-safe-url-0.2.4.tgz", + "integrity": "sha512-0wM3YBWtYePOjfyXQH5MWQ8H7sdk5EXSwZvmSLKk2RboVQ2Bu239jycHDz5J/8Blf3K0Qnoy2b6xD+z10MFB+Q==", + "license": "0BSD" + }, "node_modules/jsesc": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz", "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==", - "dev": true, "license": "MIT", "bin": { "jsesc": "bin/jsesc" @@ -8918,7 +13854,6 @@ "version": "2.2.3", "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", - "dev": true, "license": "MIT", "bin": { "json5": "lib/cli.js" @@ -8959,6 +13894,15 @@ "katex": "cli.js" } }, + "node_modules/katex/node_modules/commander": { + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz", + "integrity": "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==", + "license": "MIT", + "engines": { + "node": ">= 12" + } + }, "node_modules/keyv": { "version": "4.5.4", "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", @@ -8974,6 +13918,24 @@ "resolved": "https://registry.npmjs.org/khroma/-/khroma-2.1.0.tgz", "integrity": "sha512-Ls993zuzfayK269Svk9hzpeGUKob/sIgZzyHYdjQoAdQetRKpOLj+k/QQQ/6Qi0Yz65mlROrfd+Ev+1+7dz9Kw==" }, + "node_modules/kleur": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", + "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/lan-network": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/lan-network/-/lan-network-0.1.7.tgz", + "integrity": "sha512-mnIlAEMu4OyEvUNdzco9xpuB9YVcPkQec+QsgycBCtPZvEqWPCDPfbAE4OJMdBBWpZWtpCn1xw9jJYlwjWI5zQ==", + "license": "MIT", + "bin": { + "lan-network": "dist/lan-network-cli.js" + } + }, "node_modules/langium": { "version": "3.3.1", "resolved": "https://registry.npmjs.org/langium/-/langium-3.3.1.tgz", @@ -9016,6 +13978,15 @@ "integrity": "sha512-8h2oVEZNktL4BH2JCOI90iD1yXwL6iNW7KcCKT2QZgQJR2vbqDsldCTPRU9NifTCqHZci57XvQQ15YTu+sTYPg==", "license": "MIT" }, + "node_modules/leven": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", + "integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, "node_modules/levn": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", @@ -9030,11 +14001,35 @@ "node": ">= 0.8.0" } }, + "node_modules/lighthouse-logger": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/lighthouse-logger/-/lighthouse-logger-1.4.2.tgz", + "integrity": "sha512-gPWxznF6TKmUHrOQjlVo2UbaL2EJ71mb2CCeRs/2qBpi4L/g4LUVc9+3lKQ6DTUZwJswfM7ainGrLO1+fOqa2g==", + "license": "Apache-2.0", + "dependencies": { + "debug": "^2.6.9", + "marky": "^1.2.2" + } + }, + "node_modules/lighthouse-logger/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/lighthouse-logger/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", + "license": "MIT" + }, "node_modules/lightningcss": { "version": "1.30.2", "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.30.2.tgz", "integrity": "sha512-utfs7Pr5uJyyvDETitgsaqSyjCb2qNRAtuqUeWIAKztsOYdcACf2KtARYXg2pSvhkt+9NfoaNY7fxjl6nuMjIQ==", - "dev": true, "license": "MPL-2.0", "dependencies": { "detect-libc": "^2.0.3" @@ -9067,7 +14062,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -9088,7 +14082,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -9109,7 +14102,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -9130,7 +14122,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -9151,7 +14142,6 @@ "cpu": [ "arm" ], - "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -9172,7 +14162,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -9193,7 +14182,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -9214,7 +14202,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -9235,7 +14222,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -9256,7 +14242,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -9277,7 +14262,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -9291,11 +14275,28 @@ "url": "https://opencollective.com/parcel" } }, + "node_modules/lilconfig": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.3.tgz", + "integrity": "sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==", + "license": "MIT", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/antonk52" + } + }, + "node_modules/lines-and-columns": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", + "license": "MIT" + }, "node_modules/locate-path": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", - "dev": true, "license": "MIT", "dependencies": { "p-locate": "^5.0.0" @@ -9308,9 +14309,15 @@ } }, "node_modules/lodash-es": { - "version": "4.17.22", - "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.22.tgz", - "integrity": "sha512-XEawp1t0gxSi9x01glktRZ5HDy0HXqrM0x5pXQM98EaI0NxO6jVM7omDOxsuEo5UIASAnm2bRp1Jt/e0a2XU8Q==", + "version": "4.17.23", + "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.23.tgz", + "integrity": "sha512-kVI48u3PZr38HdYz98UmfPnXl2DXrpdctLrFLCd3kOx1xUkOmpFPx7gCWWM5MPkL/fD8zb+Ph0QzjGFs4+hHWg==", + "license": "MIT" + }, + "node_modules/lodash.debounce": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", + "integrity": "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==", "license": "MIT" }, "node_modules/lodash.merge": { @@ -9320,6 +14327,95 @@ "dev": true, "license": "MIT" }, + "node_modules/lodash.throttle": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/lodash.throttle/-/lodash.throttle-4.1.1.tgz", + "integrity": "sha512-wIkUCfVKpVsWo3JSZlc+8MB5it+2AN5W8J7YVMST30UrvcQNZ1Okbj+rbVniijTWE6FGYy4XJq/rHkas8qJMLQ==", + "license": "MIT" + }, + "node_modules/log-symbols": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-2.2.0.tgz", + "integrity": "sha512-VeIAFslyIerEJLXHziedo2basKbMKtTw3vfn5IzG0XTjhAVEJyNHnL2p7vc+wBDSdQuUpNw3M2u6xb9QsAY5Eg==", + "license": "MIT", + "dependencies": { + "chalk": "^2.0.1" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/log-symbols/node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "license": "MIT", + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/log-symbols/node_modules/chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "license": "MIT", + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/log-symbols/node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "license": "MIT", + "dependencies": { + "color-name": "1.1.3" + } + }, + "node_modules/log-symbols/node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", + "license": "MIT" + }, + "node_modules/log-symbols/node_modules/escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", + "license": "MIT", + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/log-symbols/node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/log-symbols/node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "license": "MIT", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, "node_modules/longest-streak": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/longest-streak/-/longest-streak-3.1.0.tgz", @@ -9346,7 +14442,6 @@ "version": "5.1.1", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", - "dev": true, "license": "ISC", "dependencies": { "yallist": "^3.0.2" @@ -9357,6 +14452,7 @@ "resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-0.562.0.tgz", "integrity": "sha512-82hOAu7y0dbVuFfmO4bYF1XEwYk/mEbM5E+b1jgci/udUBEE/R7LF5Ip0CCEmXe8AybRM8L+04eP+LGZeDvkiw==", "license": "ISC", + "peer": true, "peerDependencies": { "react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0" } @@ -9371,6 +14467,15 @@ "@jridgewell/sourcemap-codec": "^1.5.5" } }, + "node_modules/makeerror": { + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/makeerror/-/makeerror-1.0.12.tgz", + "integrity": "sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==", + "license": "BSD-3-Clause", + "dependencies": { + "tmpl": "1.0.5" + } + }, "node_modules/markdown-extensions": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/markdown-extensions/-/markdown-extensions-2.0.0.tgz", @@ -9405,6 +14510,12 @@ "node": ">= 20" } }, + "node_modules/marky": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/marky/-/marky-1.3.0.tgz", + "integrity": "sha512-ocnPZQLNpvbedwTy9kNrQEsknEfgvcLMvOtz3sFeWApDq1MXH1TqkCIx58xlpESsfwQOnuBO9beyQuNGzVvuhQ==", + "license": "Apache-2.0" + }, "node_modules/math-intrinsics": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", @@ -9763,66 +14874,434 @@ "url": "https://opencollective.com/unified" } }, - "node_modules/mdast-util-to-string": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/mdast-util-to-string/-/mdast-util-to-string-4.0.0.tgz", - "integrity": "sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg==", + "node_modules/mdast-util-to-string": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/mdast-util-to-string/-/mdast-util-to-string-4.0.0.tgz", + "integrity": "sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg==", + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/memoize-one": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/memoize-one/-/memoize-one-5.2.1.tgz", + "integrity": "sha512-zYiwtZUcYyXKo/np96AGZAckk+FWWsUdJ3cHGGmld7+AhvcWmQyGCYUh1hc4Q/pkOhb65dQR/pqCyK0cOaHz4Q==", + "license": "MIT" + }, + "node_modules/merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "license": "MIT" + }, + "node_modules/merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "node_modules/mermaid": { + "version": "11.12.2", + "resolved": "https://registry.npmjs.org/mermaid/-/mermaid-11.12.2.tgz", + "integrity": "sha512-n34QPDPEKmaeCG4WDMGy0OT6PSyxKCfy2pJgShP+Qow2KLrvWjclwbc3yXfSIf4BanqWEhQEpngWwNp/XhZt6w==", + "license": "MIT", + "dependencies": { + "@braintree/sanitize-url": "^7.1.1", + "@iconify/utils": "^3.0.1", + "@mermaid-js/parser": "^0.6.3", + "@types/d3": "^7.4.3", + "cytoscape": "^3.29.3", + "cytoscape-cose-bilkent": "^4.1.0", + "cytoscape-fcose": "^2.2.0", + "d3": "^7.9.0", + "d3-sankey": "^0.12.3", + "dagre-d3-es": "7.0.13", + "dayjs": "^1.11.18", + "dompurify": "^3.2.5", + "katex": "^0.16.22", + "khroma": "^2.1.0", + "lodash-es": "^4.17.21", + "marked": "^16.2.1", + "roughjs": "^4.6.6", + "stylis": "^4.3.6", + "ts-dedent": "^2.2.0", + "uuid": "^11.1.0" + } + }, + "node_modules/metro": { + "version": "0.83.3", + "resolved": "https://registry.npmjs.org/metro/-/metro-0.83.3.tgz", + "integrity": "sha512-+rP+/GieOzkt97hSJ0MrPOuAH/jpaS21ZDvL9DJ35QYRDlQcwzcvUlGUf79AnQxq/2NPiS/AULhhM4TKutIt8Q==", + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.24.7", + "@babel/core": "^7.25.2", + "@babel/generator": "^7.25.0", + "@babel/parser": "^7.25.3", + "@babel/template": "^7.25.0", + "@babel/traverse": "^7.25.3", + "@babel/types": "^7.25.2", + "accepts": "^1.3.7", + "chalk": "^4.0.0", + "ci-info": "^2.0.0", + "connect": "^3.6.5", + "debug": "^4.4.0", + "error-stack-parser": "^2.0.6", + "flow-enums-runtime": "^0.0.6", + "graceful-fs": "^4.2.4", + "hermes-parser": "0.32.0", + "image-size": "^1.0.2", + "invariant": "^2.2.4", + "jest-worker": "^29.7.0", + "jsc-safe-url": "^0.2.2", + "lodash.throttle": "^4.1.1", + "metro-babel-transformer": "0.83.3", + "metro-cache": "0.83.3", + "metro-cache-key": "0.83.3", + "metro-config": "0.83.3", + "metro-core": "0.83.3", + "metro-file-map": "0.83.3", + "metro-resolver": "0.83.3", + "metro-runtime": "0.83.3", + "metro-source-map": "0.83.3", + "metro-symbolicate": "0.83.3", + "metro-transform-plugins": "0.83.3", + "metro-transform-worker": "0.83.3", + "mime-types": "^2.1.27", + "nullthrows": "^1.1.1", + "serialize-error": "^2.1.0", + "source-map": "^0.5.6", + "throat": "^5.0.0", + "ws": "^7.5.10", + "yargs": "^17.6.2" + }, + "bin": { + "metro": "src/cli.js" + }, + "engines": { + "node": ">=20.19.4" + } + }, + "node_modules/metro-babel-transformer": { + "version": "0.83.3", + "resolved": "https://registry.npmjs.org/metro-babel-transformer/-/metro-babel-transformer-0.83.3.tgz", + "integrity": "sha512-1vxlvj2yY24ES1O5RsSIvg4a4WeL7PFXgKOHvXTXiW0deLvQr28ExXj6LjwCCDZ4YZLhq6HddLpZnX4dEdSq5g==", + "license": "MIT", + "dependencies": { + "@babel/core": "^7.25.2", + "flow-enums-runtime": "^0.0.6", + "hermes-parser": "0.32.0", + "nullthrows": "^1.1.1" + }, + "engines": { + "node": ">=20.19.4" + } + }, + "node_modules/metro-babel-transformer/node_modules/hermes-estree": { + "version": "0.32.0", + "resolved": "https://registry.npmjs.org/hermes-estree/-/hermes-estree-0.32.0.tgz", + "integrity": "sha512-KWn3BqnlDOl97Xe1Yviur6NbgIZ+IP+UVSpshlZWkq+EtoHg6/cwiDj/osP9PCEgFE15KBm1O55JRwbMEm5ejQ==", + "license": "MIT" + }, + "node_modules/metro-babel-transformer/node_modules/hermes-parser": { + "version": "0.32.0", + "resolved": "https://registry.npmjs.org/hermes-parser/-/hermes-parser-0.32.0.tgz", + "integrity": "sha512-g4nBOWFpuiTqjR3LZdRxKUkij9iyveWeuks7INEsMX741f3r9xxrOe8TeQfUxtda0eXmiIFiMQzoeSQEno33Hw==", + "license": "MIT", + "dependencies": { + "hermes-estree": "0.32.0" + } + }, + "node_modules/metro-cache": { + "version": "0.83.3", + "resolved": "https://registry.npmjs.org/metro-cache/-/metro-cache-0.83.3.tgz", + "integrity": "sha512-3jo65X515mQJvKqK3vWRblxDEcgY55Sk3w4xa6LlfEXgQ9g1WgMh9m4qVZVwgcHoLy0a2HENTPCCX4Pk6s8c8Q==", + "license": "MIT", + "dependencies": { + "exponential-backoff": "^3.1.1", + "flow-enums-runtime": "^0.0.6", + "https-proxy-agent": "^7.0.5", + "metro-core": "0.83.3" + }, + "engines": { + "node": ">=20.19.4" + } + }, + "node_modules/metro-cache-key": { + "version": "0.83.3", + "resolved": "https://registry.npmjs.org/metro-cache-key/-/metro-cache-key-0.83.3.tgz", + "integrity": "sha512-59ZO049jKzSmvBmG/B5bZ6/dztP0ilp0o988nc6dpaDsU05Cl1c/lRf+yx8m9WW/JVgbmfO5MziBU559XjI5Zw==", + "license": "MIT", + "dependencies": { + "flow-enums-runtime": "^0.0.6" + }, + "engines": { + "node": ">=20.19.4" + } + }, + "node_modules/metro-config": { + "version": "0.83.3", + "resolved": "https://registry.npmjs.org/metro-config/-/metro-config-0.83.3.tgz", + "integrity": "sha512-mTel7ipT0yNjKILIan04bkJkuCzUUkm2SeEaTads8VfEecCh+ltXchdq6DovXJqzQAXuR2P9cxZB47Lg4klriA==", + "license": "MIT", + "dependencies": { + "connect": "^3.6.5", + "flow-enums-runtime": "^0.0.6", + "jest-validate": "^29.7.0", + "metro": "0.83.3", + "metro-cache": "0.83.3", + "metro-core": "0.83.3", + "metro-runtime": "0.83.3", + "yaml": "^2.6.1" + }, + "engines": { + "node": ">=20.19.4" + } + }, + "node_modules/metro-core": { + "version": "0.83.3", + "resolved": "https://registry.npmjs.org/metro-core/-/metro-core-0.83.3.tgz", + "integrity": "sha512-M+X59lm7oBmJZamc96usuF1kusd5YimqG/q97g4Ac7slnJ3YiGglW5CsOlicTR5EWf8MQFxxjDoB6ytTqRe8Hw==", + "license": "MIT", + "dependencies": { + "flow-enums-runtime": "^0.0.6", + "lodash.throttle": "^4.1.1", + "metro-resolver": "0.83.3" + }, + "engines": { + "node": ">=20.19.4" + } + }, + "node_modules/metro-file-map": { + "version": "0.83.3", + "resolved": "https://registry.npmjs.org/metro-file-map/-/metro-file-map-0.83.3.tgz", + "integrity": "sha512-jg5AcyE0Q9Xbbu/4NAwwZkmQn7doJCKGW0SLeSJmzNB9Z24jBe0AL2PHNMy4eu0JiKtNWHz9IiONGZWq7hjVTA==", + "license": "MIT", + "dependencies": { + "debug": "^4.4.0", + "fb-watchman": "^2.0.0", + "flow-enums-runtime": "^0.0.6", + "graceful-fs": "^4.2.4", + "invariant": "^2.2.4", + "jest-worker": "^29.7.0", + "micromatch": "^4.0.4", + "nullthrows": "^1.1.1", + "walker": "^1.0.7" + }, + "engines": { + "node": ">=20.19.4" + } + }, + "node_modules/metro-minify-terser": { + "version": "0.83.3", + "resolved": "https://registry.npmjs.org/metro-minify-terser/-/metro-minify-terser-0.83.3.tgz", + "integrity": "sha512-O2BmfWj6FSfzBLrNCXt/rr2VYZdX5i6444QJU0fFoc7Ljg+Q+iqebwE3K0eTvkI6TRjELsXk1cjU+fXwAR4OjQ==", + "license": "MIT", + "dependencies": { + "flow-enums-runtime": "^0.0.6", + "terser": "^5.15.0" + }, + "engines": { + "node": ">=20.19.4" + } + }, + "node_modules/metro-resolver": { + "version": "0.83.3", + "resolved": "https://registry.npmjs.org/metro-resolver/-/metro-resolver-0.83.3.tgz", + "integrity": "sha512-0js+zwI5flFxb1ktmR///bxHYg7OLpRpWZlBBruYG8OKYxeMP7SV0xQ/o/hUelrEMdK4LJzqVtHAhBm25LVfAQ==", + "license": "MIT", + "dependencies": { + "flow-enums-runtime": "^0.0.6" + }, + "engines": { + "node": ">=20.19.4" + } + }, + "node_modules/metro-runtime": { + "version": "0.83.3", + "resolved": "https://registry.npmjs.org/metro-runtime/-/metro-runtime-0.83.3.tgz", + "integrity": "sha512-JHCJb9ebr9rfJ+LcssFYA2x1qPYuSD/bbePupIGhpMrsla7RCwC/VL3yJ9cSU+nUhU4c9Ixxy8tBta+JbDeZWw==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.25.0", + "flow-enums-runtime": "^0.0.6" + }, + "engines": { + "node": ">=20.19.4" + } + }, + "node_modules/metro-source-map": { + "version": "0.83.3", + "resolved": "https://registry.npmjs.org/metro-source-map/-/metro-source-map-0.83.3.tgz", + "integrity": "sha512-xkC3qwUBh2psVZgVavo8+r2C9Igkk3DibiOXSAht1aYRRcztEZNFtAMtfSB7sdO2iFMx2Mlyu++cBxz/fhdzQg==", + "license": "MIT", + "dependencies": { + "@babel/traverse": "^7.25.3", + "@babel/traverse--for-generate-function-map": "npm:@babel/traverse@^7.25.3", + "@babel/types": "^7.25.2", + "flow-enums-runtime": "^0.0.6", + "invariant": "^2.2.4", + "metro-symbolicate": "0.83.3", + "nullthrows": "^1.1.1", + "ob1": "0.83.3", + "source-map": "^0.5.6", + "vlq": "^1.0.0" + }, + "engines": { + "node": ">=20.19.4" + } + }, + "node_modules/metro-source-map/node_modules/source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/metro-symbolicate": { + "version": "0.83.3", + "resolved": "https://registry.npmjs.org/metro-symbolicate/-/metro-symbolicate-0.83.3.tgz", + "integrity": "sha512-F/YChgKd6KbFK3eUR5HdUsfBqVsanf5lNTwFd4Ca7uuxnHgBC3kR/Hba/RGkenR3pZaGNp5Bu9ZqqP52Wyhomw==", + "license": "MIT", + "dependencies": { + "flow-enums-runtime": "^0.0.6", + "invariant": "^2.2.4", + "metro-source-map": "0.83.3", + "nullthrows": "^1.1.1", + "source-map": "^0.5.6", + "vlq": "^1.0.0" + }, + "bin": { + "metro-symbolicate": "src/index.js" + }, + "engines": { + "node": ">=20.19.4" + } + }, + "node_modules/metro-symbolicate/node_modules/source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/metro-transform-plugins": { + "version": "0.83.3", + "resolved": "https://registry.npmjs.org/metro-transform-plugins/-/metro-transform-plugins-0.83.3.tgz", + "integrity": "sha512-eRGoKJU6jmqOakBMH5kUB7VitEWiNrDzBHpYbkBXW7C5fUGeOd2CyqrosEzbMK5VMiZYyOcNFEphvxk3OXey2A==", + "license": "MIT", + "dependencies": { + "@babel/core": "^7.25.2", + "@babel/generator": "^7.25.0", + "@babel/template": "^7.25.0", + "@babel/traverse": "^7.25.3", + "flow-enums-runtime": "^0.0.6", + "nullthrows": "^1.1.1" + }, + "engines": { + "node": ">=20.19.4" + } + }, + "node_modules/metro-transform-worker": { + "version": "0.83.3", + "resolved": "https://registry.npmjs.org/metro-transform-worker/-/metro-transform-worker-0.83.3.tgz", + "integrity": "sha512-Ztekew9t/gOIMZX1tvJOgX7KlSLL5kWykl0Iwu2cL2vKMKVALRl1hysyhUw0vjpAvLFx+Kfq9VLjnHIkW32fPA==", "license": "MIT", "dependencies": { - "@types/mdast": "^4.0.0" + "@babel/core": "^7.25.2", + "@babel/generator": "^7.25.0", + "@babel/parser": "^7.25.3", + "@babel/types": "^7.25.2", + "flow-enums-runtime": "^0.0.6", + "metro": "0.83.3", + "metro-babel-transformer": "0.83.3", + "metro-cache": "0.83.3", + "metro-cache-key": "0.83.3", + "metro-minify-terser": "0.83.3", + "metro-source-map": "0.83.3", + "metro-transform-plugins": "0.83.3", + "nullthrows": "^1.1.1" }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" + "engines": { + "node": ">=20.19.4" } }, - "node_modules/memoize-one": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/memoize-one/-/memoize-one-6.0.0.tgz", - "integrity": "sha512-rkpe71W0N0c0Xz6QD0eJETuWAJGnJ9afsl1srmwPrI+yBCkge5EycXXbYRyvL29zZVUWQCY7InPRCv3GDXuZNw==", + "node_modules/metro/node_modules/ci-info": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", + "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==", "license": "MIT" }, - "node_modules/merge-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", - "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "node_modules/metro/node_modules/hermes-estree": { + "version": "0.32.0", + "resolved": "https://registry.npmjs.org/hermes-estree/-/hermes-estree-0.32.0.tgz", + "integrity": "sha512-KWn3BqnlDOl97Xe1Yviur6NbgIZ+IP+UVSpshlZWkq+EtoHg6/cwiDj/osP9PCEgFE15KBm1O55JRwbMEm5ejQ==", "license": "MIT" }, - "node_modules/merge2": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", - "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "node_modules/metro/node_modules/hermes-parser": { + "version": "0.32.0", + "resolved": "https://registry.npmjs.org/hermes-parser/-/hermes-parser-0.32.0.tgz", + "integrity": "sha512-g4nBOWFpuiTqjR3LZdRxKUkij9iyveWeuks7INEsMX741f3r9xxrOe8TeQfUxtda0eXmiIFiMQzoeSQEno33Hw==", "license": "MIT", - "engines": { - "node": ">= 8" + "dependencies": { + "hermes-estree": "0.32.0" } }, - "node_modules/mermaid": { - "version": "11.12.2", - "resolved": "https://registry.npmjs.org/mermaid/-/mermaid-11.12.2.tgz", - "integrity": "sha512-n34QPDPEKmaeCG4WDMGy0OT6PSyxKCfy2pJgShP+Qow2KLrvWjclwbc3yXfSIf4BanqWEhQEpngWwNp/XhZt6w==", + "node_modules/metro/node_modules/image-size": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/image-size/-/image-size-1.2.1.tgz", + "integrity": "sha512-rH+46sQJ2dlwfjfhCyNx5thzrv+dtmBIhPHk0zgRUukHzZ/kRueTJXoYYsclBaKcSMBWuGbOFXtioLpzTb5euw==", "license": "MIT", "dependencies": { - "@braintree/sanitize-url": "^7.1.1", - "@iconify/utils": "^3.0.1", - "@mermaid-js/parser": "^0.6.3", - "@types/d3": "^7.4.3", - "cytoscape": "^3.29.3", - "cytoscape-cose-bilkent": "^4.1.0", - "cytoscape-fcose": "^2.2.0", - "d3": "^7.9.0", - "d3-sankey": "^0.12.3", - "dagre-d3-es": "7.0.13", - "dayjs": "^1.11.18", - "dompurify": "^3.2.5", - "katex": "^0.16.22", - "khroma": "^2.1.0", - "lodash-es": "^4.17.21", - "marked": "^16.2.1", - "roughjs": "^4.6.6", - "stylis": "^4.3.6", - "ts-dedent": "^2.2.0", - "uuid": "^11.1.0" + "queue": "6.0.2" + }, + "bin": { + "image-size": "bin/image-size.js" + }, + "engines": { + "node": ">=16.x" + } + }, + "node_modules/metro/node_modules/source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/metro/node_modules/ws": { + "version": "7.5.10", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.10.tgz", + "integrity": "sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==", + "license": "MIT", + "engines": { + "node": ">=8.3.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } } }, "node_modules/mhchemparser": { @@ -10545,189 +16024,570 @@ ], "license": "MIT", "dependencies": { - "devlop": "^1.0.0", - "micromark-util-chunked": "^2.0.0", - "micromark-util-symbol": "^2.0.0", - "micromark-util-types": "^2.0.0" + "devlop": "^1.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-symbol": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-symbol/-/micromark-util-symbol-2.0.1.tgz", + "integrity": "sha512-vs5t8Apaud9N28kgCrRUdEed4UJ+wWNvicHLPxCa9ENlYuAY31M0ETy5y1vA33YoNPDFTghEbnh6efaE8h4x0Q==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT" + }, + "node_modules/micromark-util-types": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/micromark-util-types/-/micromark-util-types-2.0.2.tgz", + "integrity": "sha512-Yw0ECSpJoViF1qTU4DC6NwtC4aWGt1EkzaQB8KPPyCRR8z9TWeV0HbEFGTO+ZY1wB22zmxnJqhPyTpOVCpeHTA==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT" + }, + "node_modules/micromatch": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", + "license": "MIT", + "dependencies": { + "braces": "^3.0.3", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/mime-db": { + "version": "1.54.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz", + "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "license": "MIT", + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types/node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mimic-fn": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz", + "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/minizlib": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-3.1.0.tgz", + "integrity": "sha512-KZxYo1BUkWD2TVFLr0MQoM8vUUigWD3LlD83a/75BqC+4qE0Hb1Vo5v1FgcfaNXvfXzr+5EhQ6ing/CaBijTlw==", + "license": "MIT", + "dependencies": { + "minipass": "^7.1.2" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/mj-context-menu": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/mj-context-menu/-/mj-context-menu-0.6.1.tgz", + "integrity": "sha512-7NO5s6n10TIV96d4g2uDpG7ZDpIhMh0QNfGdJw/W47JswFcosz457wqz/b5sAKvl12sxINGFCn80NZHKwxQEXA==", + "license": "Apache-2.0" + }, + "node_modules/mkdirp": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "license": "MIT", + "bin": { + "mkdirp": "bin/cmd.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/mlly": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/mlly/-/mlly-1.8.0.tgz", + "integrity": "sha512-l8D9ODSRWLe2KHJSifWGwBqpTZXIXTeo8mlKjY+E2HAakaTeNpqAyBZ8GSqLzHgw4XmHmC8whvpjJNMbFZN7/g==", + "license": "MIT", + "dependencies": { + "acorn": "^8.15.0", + "pathe": "^2.0.3", + "pkg-types": "^1.3.1", + "ufo": "^1.6.1" + } + }, + "node_modules/motion": { + "version": "12.29.0", + "resolved": "https://registry.npmjs.org/motion/-/motion-12.29.0.tgz", + "integrity": "sha512-rjB5CP2N9S2ESAyEFnAFMgTec6X8yvfxLNcz8n12gPq3M48R7ZbBeVYkDOTj8SPMwfvGIFI801SiPSr1+HCr9g==", + "license": "MIT", + "dependencies": { + "framer-motion": "^12.29.0", + "tslib": "^2.4.0" + }, + "peerDependencies": { + "@emotion/is-prop-valid": "*", + "react": "^18.0.0 || ^19.0.0", + "react-dom": "^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "@emotion/is-prop-valid": { + "optional": true + }, + "react": { + "optional": true + }, + "react-dom": { + "optional": true + } + } + }, + "node_modules/motion-dom": { + "version": "12.29.0", + "resolved": "https://registry.npmjs.org/motion-dom/-/motion-dom-12.29.0.tgz", + "integrity": "sha512-3eiz9bb32yvY8Q6XNM4AwkSOBPgU//EIKTZwsSWgA9uzbPBhZJeScCVcBuwwYVqhfamewpv7ZNmVKTGp5qnzkA==", + "license": "MIT", + "dependencies": { + "motion-utils": "^12.27.2" + } + }, + "node_modules/motion-utils": { + "version": "12.27.2", + "resolved": "https://registry.npmjs.org/motion-utils/-/motion-utils-12.27.2.tgz", + "integrity": "sha512-B55gcoL85Mcdt2IEStY5EEAsrMSVE2sI14xQ/uAdPL+mfQxhKKFaEag9JmfxedJOR4vZpBGoPeC/Gm13I/4g5Q==", + "license": "MIT" + }, + "node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "license": "MIT" + }, + "node_modules/mz": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz", + "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==", + "license": "MIT", + "dependencies": { + "any-promise": "^1.0.0", + "object-assign": "^4.0.1", + "thenify-all": "^1.0.0" } }, - "node_modules/micromark-util-symbol": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/micromark-util-symbol/-/micromark-util-symbol-2.0.1.tgz", - "integrity": "sha512-vs5t8Apaud9N28kgCrRUdEed4UJ+wWNvicHLPxCa9ENlYuAY31M0ETy5y1vA33YoNPDFTghEbnh6efaE8h4x0Q==", + "node_modules/nanoid": { + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz", + "integrity": "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==", "funding": [ { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" + "type": "github", + "url": "https://github.com/sponsors/ai" } ], - "license": "MIT" + "license": "MIT", + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } }, - "node_modules/micromark-util-types": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/micromark-util-types/-/micromark-util-types-2.0.2.tgz", - "integrity": "sha512-Yw0ECSpJoViF1qTU4DC6NwtC4aWGt1EkzaQB8KPPyCRR8z9TWeV0HbEFGTO+ZY1wB22zmxnJqhPyTpOVCpeHTA==", - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT" + "node_modules/napi-postinstall": { + "version": "0.3.4", + "resolved": "https://registry.npmjs.org/napi-postinstall/-/napi-postinstall-0.3.4.tgz", + "integrity": "sha512-PHI5f1O0EP5xJ9gQmFGMS6IZcrVvTjpXjz7Na41gTE7eE2hK11lg04CECCYEEjdc17EV4DO+fkGEtt7TpTaTiQ==", + "dev": true, + "license": "MIT", + "bin": { + "napi-postinstall": "lib/cli.js" + }, + "engines": { + "node": "^12.20.0 || ^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/napi-postinstall" + } }, - "node_modules/micromatch": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", - "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", + "node_modules/nativewind": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/nativewind/-/nativewind-4.2.1.tgz", + "integrity": "sha512-10uUB2Dlli3MH3NDL5nMHqJHz1A3e/E6mzjTj6cl7hHECClJ7HpE6v+xZL+GXdbwQSnWE+UWMIMsNz7yOQkAJQ==", "license": "MIT", "dependencies": { - "braces": "^3.0.3", - "picomatch": "^2.3.1" + "comment-json": "^4.2.5", + "debug": "^4.3.7", + "react-native-css-interop": "0.2.1" }, "engines": { - "node": ">=8.6" + "node": ">=16" + }, + "peerDependencies": { + "tailwindcss": ">3.3.0" } }, - "node_modules/mimic-fn": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz", - "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==", - "license": "MIT", + "node_modules/nativewind/node_modules/detect-libc": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", + "integrity": "sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==", + "license": "Apache-2.0", + "bin": { + "detect-libc": "bin/detect-libc.js" + }, "engines": { - "node": ">=12" + "node": ">=0.10" + } + }, + "node_modules/nativewind/node_modules/lightningcss": { + "version": "1.27.0", + "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.27.0.tgz", + "integrity": "sha512-8f7aNmS1+etYSLHht0fQApPc2kNO8qGRutifN5rVIc6Xo6ABsEbqOr758UwI7ALVbTt4x1fllKt0PYgzD9S3yQ==", + "license": "MPL-2.0", + "dependencies": { + "detect-libc": "^1.0.3" + }, + "engines": { + "node": ">= 12.0.0" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "type": "opencollective", + "url": "https://opencollective.com/parcel" + }, + "optionalDependencies": { + "lightningcss-darwin-arm64": "1.27.0", + "lightningcss-darwin-x64": "1.27.0", + "lightningcss-freebsd-x64": "1.27.0", + "lightningcss-linux-arm-gnueabihf": "1.27.0", + "lightningcss-linux-arm64-gnu": "1.27.0", + "lightningcss-linux-arm64-musl": "1.27.0", + "lightningcss-linux-x64-gnu": "1.27.0", + "lightningcss-linux-x64-musl": "1.27.0", + "lightningcss-win32-arm64-msvc": "1.27.0", + "lightningcss-win32-x64-msvc": "1.27.0" + } + }, + "node_modules/nativewind/node_modules/lightningcss-darwin-arm64": { + "version": "1.27.0", + "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.27.0.tgz", + "integrity": "sha512-Gl/lqIXY+d+ySmMbgDf0pgaWSqrWYxVHoc88q+Vhf2YNzZ8DwoRzGt5NZDVqqIW5ScpSnmmjcgXP87Dn2ylSSQ==", + "cpu": [ + "arm64" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" } }, - "node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, - "license": "ISC", - "dependencies": { - "brace-expansion": "^1.1.7" + "node_modules/nativewind/node_modules/lightningcss-darwin-x64": { + "version": "1.27.0", + "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.27.0.tgz", + "integrity": "sha512-0+mZa54IlcNAoQS9E0+niovhyjjQWEMrwW0p2sSdLRhLDc8LMQ/b67z7+B5q4VmjYCMSfnFi3djAAQFIDuj/Tg==", + "cpu": [ + "x64" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/nativewind/node_modules/lightningcss-freebsd-x64": { + "version": "1.27.0", + "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.27.0.tgz", + "integrity": "sha512-n1sEf85fePoU2aDN2PzYjoI8gbBqnmLGEhKq7q0DKLj0UTVmOTwDC7PtLcy/zFxzASTSBlVQYJUhwIStQMIpRA==", + "cpu": [ + "x64" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">= 12.0.0" }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/nativewind/node_modules/lightningcss-linux-arm-gnueabihf": { + "version": "1.27.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.27.0.tgz", + "integrity": "sha512-MUMRmtdRkOkd5z3h986HOuNBD1c2lq2BSQA1Jg88d9I7bmPGx08bwGcnB75dvr17CwxjxD6XPi3Qh8ArmKFqCA==", + "cpu": [ + "arm" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": "*" + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" } }, - "node_modules/minimist": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", - "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", - "dev": true, - "license": "MIT", + "node_modules/nativewind/node_modules/lightningcss-linux-arm64-gnu": { + "version": "1.27.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.27.0.tgz", + "integrity": "sha512-cPsxo1QEWq2sfKkSq2Bq5feQDHdUEwgtA9KaB27J5AX22+l4l0ptgjMZZtYtUnteBofjee+0oW1wQ1guv04a7A==", + "cpu": [ + "arm64" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, "funding": { - "url": "https://github.com/sponsors/ljharb" + "type": "opencollective", + "url": "https://opencollective.com/parcel" } }, - "node_modules/mj-context-menu": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/mj-context-menu/-/mj-context-menu-0.6.1.tgz", - "integrity": "sha512-7NO5s6n10TIV96d4g2uDpG7ZDpIhMh0QNfGdJw/W47JswFcosz457wqz/b5sAKvl12sxINGFCn80NZHKwxQEXA==", - "license": "Apache-2.0" + "node_modules/nativewind/node_modules/lightningcss-linux-arm64-musl": { + "version": "1.27.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.27.0.tgz", + "integrity": "sha512-rCGBm2ax7kQ9pBSeITfCW9XSVF69VX+fm5DIpvDZQl4NnQoMQyRwhZQm9pd59m8leZ1IesRqWk2v/DntMo26lg==", + "cpu": [ + "arm64" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } }, - "node_modules/mlly": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/mlly/-/mlly-1.8.0.tgz", - "integrity": "sha512-l8D9ODSRWLe2KHJSifWGwBqpTZXIXTeo8mlKjY+E2HAakaTeNpqAyBZ8GSqLzHgw4XmHmC8whvpjJNMbFZN7/g==", - "license": "MIT", - "dependencies": { - "acorn": "^8.15.0", - "pathe": "^2.0.3", - "pkg-types": "^1.3.1", - "ufo": "^1.6.1" + "node_modules/nativewind/node_modules/lightningcss-linux-x64-gnu": { + "version": "1.27.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.27.0.tgz", + "integrity": "sha512-Dk/jovSI7qqhJDiUibvaikNKI2x6kWPN79AQiD/E/KeQWMjdGe9kw51RAgoWFDi0coP4jinaH14Nrt/J8z3U4A==", + "cpu": [ + "x64" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/nativewind/node_modules/lightningcss-linux-x64-musl": { + "version": "1.27.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.27.0.tgz", + "integrity": "sha512-QKjTxXm8A9s6v9Tg3Fk0gscCQA1t/HMoF7Woy1u68wCk5kS4fR+q3vXa1p3++REW784cRAtkYKrPy6JKibrEZA==", + "cpu": [ + "x64" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/nativewind/node_modules/lightningcss-win32-arm64-msvc": { + "version": "1.27.0", + "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.27.0.tgz", + "integrity": "sha512-/wXegPS1hnhkeG4OXQKEMQeJd48RDC3qdh+OA8pCuOPCyvnm/yEayrJdJVqzBsqpy1aJklRCVxscpFur80o6iQ==", + "cpu": [ + "arm64" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" } }, - "node_modules/motion": { - "version": "12.23.26", - "resolved": "https://registry.npmjs.org/motion/-/motion-12.23.26.tgz", - "integrity": "sha512-Ll8XhVxY8LXMVYTCfme27WH2GjBrCIzY4+ndr5QKxsK+YwCtOi2B/oBi5jcIbik5doXuWT/4KKDOVAZJkeY5VQ==", + "node_modules/nativewind/node_modules/lightningcss-win32-x64-msvc": { + "version": "1.27.0", + "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.27.0.tgz", + "integrity": "sha512-/OJLj94Zm/waZShL8nB5jsNj3CfNATLCTyFxZyouilfTmSoLDX7VlVAmhPHoZWVFp4vdmoiEbPEYC8HID3m6yw==", + "cpu": [ + "x64" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/nativewind/node_modules/react-native-css-interop": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/react-native-css-interop/-/react-native-css-interop-0.2.1.tgz", + "integrity": "sha512-B88f5rIymJXmy1sNC/MhTkb3xxBej1KkuAt7TiT9iM7oXz3RM8Bn+7GUrfR02TvSgKm4cg2XiSuLEKYfKwNsjA==", "license": "MIT", "dependencies": { - "framer-motion": "^12.23.26", - "tslib": "^2.4.0" + "@babel/helper-module-imports": "^7.22.15", + "@babel/traverse": "^7.23.0", + "@babel/types": "^7.23.0", + "debug": "^4.3.7", + "lightningcss": "~1.27.0", + "semver": "^7.6.3" + }, + "engines": { + "node": ">=18" }, "peerDependencies": { - "@emotion/is-prop-valid": "*", - "react": "^18.0.0 || ^19.0.0", - "react-dom": "^18.0.0 || ^19.0.0" + "react": ">=18", + "react-native": "*", + "react-native-reanimated": ">=3.6.2", + "tailwindcss": "~3" }, "peerDependenciesMeta": { - "@emotion/is-prop-valid": { - "optional": true - }, - "react": { + "react-native-safe-area-context": { "optional": true }, - "react-dom": { + "react-native-svg": { "optional": true } } }, - "node_modules/motion-dom": { - "version": "12.23.23", - "resolved": "https://registry.npmjs.org/motion-dom/-/motion-dom-12.23.23.tgz", - "integrity": "sha512-n5yolOs0TQQBRUFImrRfs/+6X4p3Q4n1dUEqt/H58Vx7OW6RF+foWEgmTVDhIWJIMXOuNNL0apKH2S16en9eiA==", - "license": "MIT", - "dependencies": { - "motion-utils": "^12.23.6" - } - }, - "node_modules/motion-utils": { - "version": "12.23.6", - "resolved": "https://registry.npmjs.org/motion-utils/-/motion-utils-12.23.6.tgz", - "integrity": "sha512-eAWoPgr4eFEOFfg2WjIsMoqJTW6Z8MTUCgn/GZ3VRpClWBdnbjryiA3ZSNLyxCTmCQx4RmYX6jX1iWHbenUPNQ==", - "license": "MIT" - }, - "node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "license": "MIT" - }, - "node_modules/nanoid": { - "version": "3.3.11", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz", - "integrity": "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "license": "MIT", - "bin": { - "nanoid": "bin/nanoid.cjs" - }, - "engines": { - "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" - } - }, - "node_modules/napi-postinstall": { - "version": "0.3.4", - "resolved": "https://registry.npmjs.org/napi-postinstall/-/napi-postinstall-0.3.4.tgz", - "integrity": "sha512-PHI5f1O0EP5xJ9gQmFGMS6IZcrVvTjpXjz7Na41gTE7eE2hK11lg04CECCYEEjdc17EV4DO+fkGEtt7TpTaTiQ==", - "dev": true, - "license": "MIT", + "node_modules/nativewind/node_modules/semver": { + "version": "7.7.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz", + "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==", + "license": "ISC", "bin": { - "napi-postinstall": "lib/cli.js" + "semver": "bin/semver.js" }, "engines": { - "node": "^12.20.0 || ^14.18.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/napi-postinstall" + "node": ">=10" } }, "node_modules/natural-compare": { @@ -10738,19 +16598,26 @@ "license": "MIT" }, "node_modules/negotiator": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-1.0.0.tgz", - "integrity": "sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg==", + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", + "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", "license": "MIT", "engines": { "node": ">= 0.6" } }, + "node_modules/nested-error-stacks": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/nested-error-stacks/-/nested-error-stacks-2.0.1.tgz", + "integrity": "sha512-SrQrok4CATudVzBS7coSz26QRSmlK9TzzoFbeKfcPBUFPjcQM9Rqvr/DlJkOrwI/0KcgvMub1n1g5Jt9EgRn4A==", + "license": "MIT" + }, "node_modules/next": { "version": "16.1.1", "resolved": "https://registry.npmjs.org/next/-/next-16.1.1.tgz", "integrity": "sha512-QI+T7xrxt1pF6SQ/JYFz95ro/mg/1Znk5vBebsWwbpejj1T0A23hO7GYEaVac9QUOT2BIMiuzm0L99ooq7k0/w==", "license": "MIT", + "peer": true, "dependencies": { "@next/env": "16.1.1", "@swc/helpers": "0.5.15", @@ -10913,32 +16780,34 @@ "react-dom": ">=18" } }, - "node_modules/nextra/node_modules/fast-glob": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz", - "integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==", + "node_modules/nextra/node_modules/@formatjs/intl-localematcher": { + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/@formatjs/intl-localematcher/-/intl-localematcher-0.6.2.tgz", + "integrity": "sha512-XOMO2Hupl0wdd172Y06h6kLpBz6Dv+J4okPLl4LPtzbr8f66WbIoy4ev98EBuZ6ZK4h5ydTN6XneT4QVpD7cdA==", "license": "MIT", "dependencies": { - "@nodelib/fs.stat": "^2.0.2", - "@nodelib/fs.walk": "^1.2.3", - "glob-parent": "^5.1.2", - "merge2": "^1.3.0", - "micromatch": "^4.0.8" - }, + "tslib": "^2.8.0" + } + }, + "node_modules/nextra/node_modules/negotiator": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-1.0.0.tgz", + "integrity": "sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg==", + "license": "MIT", "engines": { - "node": ">=8.6.0" + "node": ">= 0.6" } }, - "node_modules/nextra/node_modules/glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "license": "ISC", - "dependencies": { - "is-glob": "^4.0.1" - }, + "node_modules/nextra/node_modules/slash": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-5.1.0.tgz", + "integrity": "sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==", + "license": "MIT", "engines": { - "node": ">= 6" + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/nlcst-to-string": { @@ -10974,13 +16843,63 @@ } } }, + "node_modules/node-forge": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.3.3.tgz", + "integrity": "sha512-rLvcdSyRCyouf6jcOIPe/BgwG/d7hKjzMKOas33/pHEr6gbq18IK9zV7DiPvzsz0oBJPme6qr6H6kGZuI9/DZg==", + "license": "(BSD-3-Clause OR GPL-2.0)", + "engines": { + "node": ">= 6.13.0" + } + }, + "node_modules/node-int64": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz", + "integrity": "sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==", + "license": "MIT" + }, "node_modules/node-releases": { "version": "2.0.27", "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.27.tgz", "integrity": "sha512-nmh3lCkYZ3grZvqcCH+fjmQ7X+H0OeZgP40OierEaAptX4XofMh5kwNbWh7lBduUzCcV/8kZ+NDLCwm2iorIlA==", - "dev": true, "license": "MIT" }, + "node_modules/normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/npm-package-arg": { + "version": "11.0.3", + "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-11.0.3.tgz", + "integrity": "sha512-sHGJy8sOC1YraBywpzQlIKBE4pBbGbiF95U6Auspzyem956E0+FtDtsx1ZxlOJkQCZ1AFXAY/yuvtFYrOxF+Bw==", + "license": "ISC", + "dependencies": { + "hosted-git-info": "^7.0.0", + "proc-log": "^4.0.0", + "semver": "^7.3.5", + "validate-npm-package-name": "^5.0.0" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/npm-package-arg/node_modules/semver": { + "version": "7.7.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz", + "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==", + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/npm-run-path": { "version": "5.3.0", "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.3.0.tgz", @@ -11026,6 +16945,18 @@ "integrity": "sha512-2vPPEi+Z7WqML2jZYddDIfy5Dqb0r2fze2zTxNNknZaFpVHU3mFB3R+DWeJWGVx0ecvttSGlJTI+WG+8Z4cDWw==", "license": "MIT" }, + "node_modules/ob1": { + "version": "0.83.3", + "resolved": "https://registry.npmjs.org/ob1/-/ob1-0.83.3.tgz", + "integrity": "sha512-egUxXCDwoWG06NGCS5s5AdcpnumHKJlfd3HH06P3m9TEMwwScfcY35wpQxbm9oHof+dM/lVH9Rfyu1elTVelSA==", + "license": "MIT", + "dependencies": { + "flow-enums-runtime": "^0.0.6" + }, + "engines": { + "node": ">=20.19.4" + } + }, "node_modules/object-assign": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", @@ -11035,6 +16966,15 @@ "node": ">=0.10.0" } }, + "node_modules/object-hash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz", + "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==", + "license": "MIT", + "engines": { + "node": ">= 6" + } + }, "node_modules/object-inspect": { "version": "1.13.4", "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz", @@ -11148,54 +17088,185 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/on-finished": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", + "integrity": "sha512-ikqdkGAAyf/X/gPhXGvfgAytDZtDbr+bkNUJ0N9h5MI/dmdgCs3l6hoHrcUv41sRKew3jIwrp4qQDXiK99Utww==", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/on-headers": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.1.0.tgz", + "integrity": "sha512-737ZY3yNnXy37FHkQxPzt4UZ2UWPWiCZWLvFZ4fu5cueciegX0zGPnrlY6bwRg4FdQOe9YU8MkmJwGhoMybl8A==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "license": "ISC", + "dependencies": { + "wrappy": "1" + } + }, "node_modules/onetime": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-6.0.0.tgz", - "integrity": "sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz", + "integrity": "sha512-oyyPpiMaKARvvcgip+JV+7zci5L8D1W9RZIz2l1o08AM3pfspitVWnPt3mzHcBPp12oYMTy0pqrFs/C+m3EwsQ==", + "license": "MIT", + "dependencies": { + "mimic-fn": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/oniguruma-parser": { + "version": "0.12.1", + "resolved": "https://registry.npmjs.org/oniguruma-parser/-/oniguruma-parser-0.12.1.tgz", + "integrity": "sha512-8Unqkvk1RYc6yq2WBYRj4hdnsAxVze8i7iPfQr8e4uSP3tRv0rpZcbGUDvxfQQcdwHt/e9PrMvGCsa8OqG9X3w==", + "license": "MIT" + }, + "node_modules/oniguruma-to-es": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/oniguruma-to-es/-/oniguruma-to-es-4.3.4.tgz", + "integrity": "sha512-3VhUGN3w2eYxnTzHn+ikMI+fp/96KoRSVK9/kMTcFqj1NRDh2IhQCKvYxDnWePKRXY/AqH+Fuiyb7VHSzBjHfA==", + "license": "MIT", + "dependencies": { + "oniguruma-parser": "^0.12.1", + "regex": "^6.0.1", + "regex-recursion": "^6.0.2" + } + }, + "node_modules/open": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/open/-/open-7.4.2.tgz", + "integrity": "sha512-MVHddDVweXZF3awtlAS+6pgKLlm/JgxZ90+/NBurBoQctVOOB/zDdVjcyPzQ+0laDGbsWgrRkflI65sQeOgT9Q==", + "license": "MIT", + "dependencies": { + "is-docker": "^2.0.0", + "is-wsl": "^2.1.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/optionator": { + "version": "0.9.4", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz", + "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==", + "dev": true, + "license": "MIT", + "dependencies": { + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0", + "word-wrap": "^1.2.5" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/ora": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/ora/-/ora-3.4.0.tgz", + "integrity": "sha512-eNwHudNbO1folBP3JsZ19v9azXWtQZjICdr3Q0TDPIaeBQ3mXLrh54wM+er0+hSp+dWKf+Z8KM58CYzEyIYxYg==", + "license": "MIT", + "dependencies": { + "chalk": "^2.4.2", + "cli-cursor": "^2.1.0", + "cli-spinners": "^2.0.0", + "log-symbols": "^2.2.0", + "strip-ansi": "^5.2.0", + "wcwidth": "^1.0.1" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/ora/node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "license": "MIT", + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/ora/node_modules/chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", "license": "MIT", "dependencies": { - "mimic-fn": "^4.0.0" + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" }, "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=4" } }, - "node_modules/oniguruma-parser": { - "version": "0.12.1", - "resolved": "https://registry.npmjs.org/oniguruma-parser/-/oniguruma-parser-0.12.1.tgz", - "integrity": "sha512-8Unqkvk1RYc6yq2WBYRj4hdnsAxVze8i7iPfQr8e4uSP3tRv0rpZcbGUDvxfQQcdwHt/e9PrMvGCsa8OqG9X3w==", + "node_modules/ora/node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "license": "MIT", + "dependencies": { + "color-name": "1.1.3" + } + }, + "node_modules/ora/node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", "license": "MIT" }, - "node_modules/oniguruma-to-es": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/oniguruma-to-es/-/oniguruma-to-es-4.3.4.tgz", - "integrity": "sha512-3VhUGN3w2eYxnTzHn+ikMI+fp/96KoRSVK9/kMTcFqj1NRDh2IhQCKvYxDnWePKRXY/AqH+Fuiyb7VHSzBjHfA==", + "node_modules/ora/node_modules/escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", "license": "MIT", - "dependencies": { - "oniguruma-parser": "^0.12.1", - "regex": "^6.0.1", - "regex-recursion": "^6.0.2" + "engines": { + "node": ">=0.8.0" } }, - "node_modules/optionator": { - "version": "0.9.4", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz", - "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==", - "dev": true, + "node_modules/ora/node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/ora/node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "license": "MIT", "dependencies": { - "deep-is": "^0.1.3", - "fast-levenshtein": "^2.0.6", - "levn": "^0.4.1", - "prelude-ls": "^1.2.1", - "type-check": "^0.4.0", - "word-wrap": "^1.2.5" + "has-flag": "^3.0.0" }, "engines": { - "node": ">= 0.8.0" + "node": ">=4" } }, "node_modules/own-keys": { @@ -11220,7 +17291,6 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", - "dev": true, "license": "MIT", "dependencies": { "yocto-queue": "^0.1.0" @@ -11236,7 +17306,6 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", - "dev": true, "license": "MIT", "dependencies": { "p-limit": "^3.0.2" @@ -11248,6 +17317,15 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, "node_modules/package-manager-detector": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/package-manager-detector/-/package-manager-detector-1.6.0.tgz", @@ -11316,6 +17394,18 @@ "integrity": "sha512-twN+njEipszzlMJd4ONUYgSfZPDxgHhT9Ahed5uTigpQn90FggW4SA/AIPq/6a149fTbE9qBEcSwE3FAEp6wQQ==", "license": "ISC" }, + "node_modules/parse-png": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/parse-png/-/parse-png-2.1.0.tgz", + "integrity": "sha512-Nt/a5SfCLiTnQAjx3fHlqp8hRgTL3z7kTQZzvIMS9uCAepnCyjpdEc6M/sz69WqMBdaDBw9sF1F1UaHROYzGkQ==", + "license": "MIT", + "dependencies": { + "pngjs": "^3.3.0" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/parse5": { "version": "7.3.0", "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.3.0.tgz", @@ -11328,6 +17418,15 @@ "url": "https://github.com/inikulin/parse5?sponsor=1" } }, + "node_modules/parseurl": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, "node_modules/path-browserify": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-1.0.1.tgz", @@ -11344,12 +17443,20 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", - "dev": true, "license": "MIT", "engines": { "node": ">=8" } }, + "node_modules/path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/path-key": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", @@ -11363,9 +17470,33 @@ "version": "1.0.7", "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", - "dev": true, "license": "MIT" }, + "node_modules/path-scurry": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.1.tgz", + "integrity": "sha512-oWyT4gICAu+kaA7QWk/jvCHWarMKNs6pXOGWKDTr7cw4IGcUbW+PeTfbaQiLGheFRpjo6O9J0PmyMfQPjH71oA==", + "license": "BlueOak-1.0.0", + "dependencies": { + "lru-cache": "^11.0.0", + "minipass": "^7.1.2" + }, + "engines": { + "node": "20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/path-scurry/node_modules/lru-cache": { + "version": "11.2.4", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.2.4.tgz", + "integrity": "sha512-B5Y16Jr9LB9dHVkh6ZevG+vAbOsNOYCX+sXvFWFu7B3Iz5mijW3zdbMyhsh8ANd2mSWBYdJgnqi+mL7/LrOPYg==", + "license": "BlueOak-1.0.0", + "engines": { + "node": "20 || >=22" + } + }, "node_modules/path-to-regexp": { "version": "8.3.0", "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.3.0.tgz", @@ -11400,6 +17531,24 @@ "url": "https://github.com/sponsors/jonschlinkert" } }, + "node_modules/pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/pirates": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.7.tgz", + "integrity": "sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA==", + "license": "MIT", + "engines": { + "node": ">= 6" + } + }, "node_modules/pkg-types": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/pkg-types/-/pkg-types-1.3.1.tgz", @@ -11411,6 +17560,29 @@ "pathe": "^2.0.1" } }, + "node_modules/plist": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/plist/-/plist-3.1.0.tgz", + "integrity": "sha512-uysumyrvkUX0rX/dEVqt8gC3sTBzd4zoWfLeS29nb53imdaXVvLINYXTI2GNqzaMuvacNx4uJQ8+b3zXR0pkgQ==", + "license": "MIT", + "dependencies": { + "@xmldom/xmldom": "^0.8.8", + "base64-js": "^1.5.1", + "xmlbuilder": "^15.1.1" + }, + "engines": { + "node": ">=10.4.0" + } + }, + "node_modules/pngjs": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/pngjs/-/pngjs-3.4.0.tgz", + "integrity": "sha512-NCrCHhWmnQklfH4MtJMRjZ2a8c80qXeMlQMv2uVp9ISJMTt562SbGd6n2oq0PaPgKm7Z6pL9E2UlLIhC+SHL3w==", + "license": "MIT", + "engines": { + "node": ">=4.0.0" + } + }, "node_modules/points-on-curve": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/points-on-curve/-/points-on-curve-0.2.0.tgz", @@ -11441,7 +17613,6 @@ "version": "8.5.6", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.6.tgz", "integrity": "sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==", - "dev": true, "funding": [ { "type": "opencollective", @@ -11457,6 +17628,7 @@ } ], "license": "MIT", + "peer": true, "dependencies": { "nanoid": "^3.3.11", "picocolors": "^1.1.1", @@ -11466,10 +17638,119 @@ "node": "^10 || ^12 || >=14" } }, + "node_modules/postcss-import": { + "version": "15.1.0", + "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-15.1.0.tgz", + "integrity": "sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==", + "license": "MIT", + "dependencies": { + "postcss-value-parser": "^4.0.0", + "read-cache": "^1.0.0", + "resolve": "^1.1.7" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "postcss": "^8.0.0" + } + }, + "node_modules/postcss-js": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/postcss-js/-/postcss-js-4.1.0.tgz", + "integrity": "sha512-oIAOTqgIo7q2EOwbhb8UalYePMvYoIeRY2YKntdpFQXNosSu3vLrniGgmH9OKs/qAkfoj5oB3le/7mINW1LCfw==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "camelcase-css": "^2.0.1" + }, + "engines": { + "node": "^12 || ^14 || >= 16" + }, + "peerDependencies": { + "postcss": "^8.4.21" + } + }, + "node_modules/postcss-load-config": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-6.0.1.tgz", + "integrity": "sha512-oPtTM4oerL+UXmx+93ytZVN82RrlY/wPUV8IeDxFrzIjXOLF1pN+EmKPLbubvKHT2HC20xXsCAH2Z+CKV6Oz/g==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "lilconfig": "^3.1.1" + }, + "engines": { + "node": ">= 18" + }, + "peerDependencies": { + "jiti": ">=1.21.0", + "postcss": ">=8.0.9", + "tsx": "^4.8.1", + "yaml": "^2.4.2" + }, + "peerDependenciesMeta": { + "jiti": { + "optional": true + }, + "postcss": { + "optional": true + }, + "tsx": { + "optional": true + }, + "yaml": { + "optional": true + } + } + }, + "node_modules/postcss-nested": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.2.0.tgz", + "integrity": "sha512-HQbt28KulC5AJzG+cZtj9kvKB93CFCdLvog1WFLf1D+xmMvPGlBstkpTEZfK5+AN9hfJocyBFCNiqyS48bpgzQ==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "postcss-selector-parser": "^6.1.1" + }, + "engines": { + "node": ">=12.0" + }, + "peerDependencies": { + "postcss": "^8.2.14" + } + }, "node_modules/postcss-selector-parser": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.1.tgz", - "integrity": "sha512-orRsuYpJVw8LdAwqqLykBj9ecS5/cRHlI5+nvTo8LcCKmzDmqVORXtOIYEEQuL9D4BxtA1lm5isAqzQZCoQ6Eg==", + "version": "6.1.2", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.2.tgz", + "integrity": "sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg==", "license": "MIT", "dependencies": { "cssesc": "^3.0.0", @@ -11495,20 +17776,94 @@ "node": ">= 0.8.0" } }, + "node_modules/pretty-bytes": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-5.6.0.tgz", + "integrity": "sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg==", + "license": "MIT", + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/pretty-format": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.7.0.tgz", + "integrity": "sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==", + "license": "MIT", + "dependencies": { + "@jest/schemas": "^29.6.3", + "ansi-styles": "^5.0.0", + "react-is": "^18.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/pretty-format/node_modules/ansi-styles": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", + "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/pretty-format/node_modules/react-is": { + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz", + "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==", + "license": "MIT" + }, + "node_modules/proc-log": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/proc-log/-/proc-log-4.2.0.tgz", + "integrity": "sha512-g8+OnU/L2v+wyiVK+D5fA34J7EH8jZ8DDlvwhRCMxmMj7UCBvxiO1mGeN+36JXIKF4zevU4kRBd8lVgG9vLelA==", + "license": "ISC", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/progress": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", + "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", + "license": "MIT", + "engines": { + "node": ">=0.4.0" + } + }, "node_modules/promise": { - "version": "7.3.1", - "resolved": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz", - "integrity": "sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==", + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/promise/-/promise-8.3.0.tgz", + "integrity": "sha512-rZPNPKTOYVNEEKFaq1HqTgOwZD+4/YHS5ukLzQCypkj+OkYx7iv0mA91lJlpPPZ8vMau3IIGj5Qlwrx+8iiSmg==", "license": "MIT", "dependencies": { - "asap": "~2.0.3" + "asap": "~2.0.6" + } + }, + "node_modules/prompts": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz", + "integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==", + "license": "MIT", + "dependencies": { + "kleur": "^3.0.3", + "sisteransi": "^1.0.5" + }, + "engines": { + "node": ">= 6" } }, "node_modules/prop-types": { "version": "15.8.1", "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==", - "dev": true, "license": "MIT", "dependencies": { "loose-envify": "^1.4.0", @@ -11516,6 +17871,12 @@ "react-is": "^16.13.1" } }, + "node_modules/prop-types/node_modules/react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", + "license": "MIT" + }, "node_modules/property-information": { "version": "7.1.0", "resolved": "https://registry.npmjs.org/property-information/-/property-information-7.1.0.tgz", @@ -11526,14 +17887,48 @@ "url": "https://github.com/sponsors/wooorm" } }, - "node_modules/punycode": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", - "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", - "dev": true, + "node_modules/punycode": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/qrcode-terminal": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/qrcode-terminal/-/qrcode-terminal-0.11.0.tgz", + "integrity": "sha512-Uu7ii+FQy4Qf82G4xu7ShHhjhGahEpCWc3x8UavY3CTcWV+ufmmCtwkr7ZKsX42jdL0kr1B5FKUeqJvAn51jzQ==", + "bin": { + "qrcode-terminal": "bin/qrcode-terminal.js" + } + }, + "node_modules/query-string": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/query-string/-/query-string-7.1.3.tgz", + "integrity": "sha512-hh2WYhq4fi8+b+/2Kg9CEge4fDPvHS534aOOvOZeQ3+Vf2mCFsaFBYj0i+iXcAq6I9Vzp5fjMFBlONvayDC1qg==", "license": "MIT", + "dependencies": { + "decode-uri-component": "^0.2.2", + "filter-obj": "^1.1.0", + "split-on-first": "^1.0.0", + "strict-uri-encode": "^2.0.0" + }, "engines": { "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/queue": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/queue/-/queue-6.0.2.tgz", + "integrity": "sha512-iHZWu+q3IdFZFX36ro/lKBkSvfkztY5Y7HMiPlOUjhupPcG2JMfst2KKEpu5XndviX/3UhFbRngUPNKtgvtZiA==", + "license": "MIT", + "dependencies": { + "inherits": "~2.0.3" } }, "node_modules/queue-microtask": { @@ -11556,11 +17951,45 @@ ], "license": "MIT" }, + "node_modules/range-parser": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", + "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/rc": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", + "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", + "license": "(BSD-2-Clause OR MIT OR Apache-2.0)", + "dependencies": { + "deep-extend": "^0.6.0", + "ini": "~1.3.0", + "minimist": "^1.2.0", + "strip-json-comments": "~2.0.1" + }, + "bin": { + "rc": "cli.js" + } + }, + "node_modules/rc/node_modules/strip-json-comments": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", + "integrity": "sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/react": { "version": "19.2.3", "resolved": "https://registry.npmjs.org/react/-/react-19.2.3.tgz", "integrity": "sha512-Ku/hhYbVjOQnXDZFv2+RibmLFGwFdeeKHFcOTlrt7xplBnya5OGn/hIRDsqDiSUcfORsDC7MPxwork8jBwsIWA==", "license": "MIT", + "peer": true, "engines": { "node": ">=0.10.0" } @@ -11574,11 +18003,43 @@ "react": "^17.0.0 || ^18.0.0 || ^19.0.0 || ^0.0.0-experimental" } }, + "node_modules/react-devtools-core": { + "version": "6.1.5", + "resolved": "https://registry.npmjs.org/react-devtools-core/-/react-devtools-core-6.1.5.tgz", + "integrity": "sha512-ePrwPfxAnB+7hgnEr8vpKxL9cmnp7F322t8oqcPshbIQQhDKgFDW4tjhF2wjVbdXF9O/nyuy3sQWd9JGpiLPvA==", + "license": "MIT", + "dependencies": { + "shell-quote": "^1.6.1", + "ws": "^7" + } + }, + "node_modules/react-devtools-core/node_modules/ws": { + "version": "7.5.10", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.10.tgz", + "integrity": "sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==", + "license": "MIT", + "engines": { + "node": ">=8.3.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, "node_modules/react-dom": { "version": "19.2.3", "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.2.3.tgz", "integrity": "sha512-yELu4WmLPw5Mr/lmeEpox5rw3RETacE++JgHqQzd2dg+YbJuat3jH4ingc+WPZhxaoFzdv9y33G+F7Nl5O0GBg==", "license": "MIT", + "peer": true, "dependencies": { "scheduler": "^0.27.0" }, @@ -11586,11 +18047,34 @@ "react": "^19.2.3" } }, + "node_modules/react-dom/node_modules/scheduler": { + "version": "0.27.0", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.27.0.tgz", + "integrity": "sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q==", + "license": "MIT" + }, + "node_modules/react-fast-compare": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-3.2.2.tgz", + "integrity": "sha512-nsO+KSNgo1SbJqJEYRE9ERzo7YtYbou/OqjSQKxV7jcKox7+usiUVZOAC+XnDOABXggQTno0Y1CpVnuWEc1boQ==", + "license": "MIT" + }, + "node_modules/react-freeze": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/react-freeze/-/react-freeze-1.0.4.tgz", + "integrity": "sha512-r4F0Sec0BLxWicc7HEyo2x3/2icUTrRmDjaaRyzzn+7aDyFZliszMDOgLVwSnQnYENOlL1o569Ze2HZefk8clA==", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "react": ">=17.0.0" + } + }, "node_modules/react-is": { - "version": "16.13.1", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", - "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", - "dev": true, + "version": "19.2.3", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-19.2.3.tgz", + "integrity": "sha512-qJNJfu81ByyabuG7hPFEbXqNcWSU3+eVus+KJs+0ncpGfMyYdvSmxiJxbWR65lYi1I+/0HBcliO029gc4F+PnA==", "license": "MIT" }, "node_modules/react-medium-image-zoom": { @@ -11609,6 +18093,229 @@ "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" } }, + "node_modules/react-native": { + "version": "0.81.5", + "resolved": "https://registry.npmjs.org/react-native/-/react-native-0.81.5.tgz", + "integrity": "sha512-1w+/oSjEXZjMqsIvmkCRsOc8UBYv163bTWKTI8+1mxztvQPhCRYGTvZ/PL1w16xXHneIj/SLGfxWg2GWN2uexw==", + "license": "MIT", + "peer": true, + "dependencies": { + "@jest/create-cache-key-function": "^29.7.0", + "@react-native/assets-registry": "0.81.5", + "@react-native/codegen": "0.81.5", + "@react-native/community-cli-plugin": "0.81.5", + "@react-native/gradle-plugin": "0.81.5", + "@react-native/js-polyfills": "0.81.5", + "@react-native/normalize-colors": "0.81.5", + "@react-native/virtualized-lists": "0.81.5", + "abort-controller": "^3.0.0", + "anser": "^1.4.9", + "ansi-regex": "^5.0.0", + "babel-jest": "^29.7.0", + "babel-plugin-syntax-hermes-parser": "0.29.1", + "base64-js": "^1.5.1", + "commander": "^12.0.0", + "flow-enums-runtime": "^0.0.6", + "glob": "^7.1.1", + "invariant": "^2.2.4", + "jest-environment-node": "^29.7.0", + "memoize-one": "^5.0.0", + "metro-runtime": "^0.83.1", + "metro-source-map": "^0.83.1", + "nullthrows": "^1.1.1", + "pretty-format": "^29.7.0", + "promise": "^8.3.0", + "react-devtools-core": "^6.1.5", + "react-refresh": "^0.14.0", + "regenerator-runtime": "^0.13.2", + "scheduler": "0.26.0", + "semver": "^7.1.3", + "stacktrace-parser": "^0.1.10", + "whatwg-fetch": "^3.0.0", + "ws": "^6.2.3", + "yargs": "^17.6.2" + }, + "bin": { + "react-native": "cli.js" + }, + "engines": { + "node": ">= 20.19.4" + }, + "peerDependencies": { + "@types/react": "^19.1.0", + "react": "^19.1.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/react-native-edge-to-edge": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/react-native-edge-to-edge/-/react-native-edge-to-edge-1.6.0.tgz", + "integrity": "sha512-2WCNdE3Qd6Fwg9+4BpbATUxCLcouF6YRY7K+J36KJ4l3y+tWN6XCqAC4DuoGblAAbb2sLkhEDp4FOlbOIot2Og==", + "license": "MIT", + "peerDependencies": { + "react": "*", + "react-native": "*" + } + }, + "node_modules/react-native-gesture-handler": { + "version": "2.28.0", + "resolved": "https://registry.npmjs.org/react-native-gesture-handler/-/react-native-gesture-handler-2.28.0.tgz", + "integrity": "sha512-0msfJ1vRxXKVgTgvL+1ZOoYw3/0z1R+Ked0+udoJhyplC2jbVKIJ8Z1bzWdpQRCV3QcQ87Op0zJVE5DhKK2A0A==", + "license": "MIT", + "dependencies": { + "@egjs/hammerjs": "^2.0.17", + "hoist-non-react-statics": "^3.3.0", + "invariant": "^2.2.4" + }, + "peerDependencies": { + "react": "*", + "react-native": "*" + } + }, + "node_modules/react-native-is-edge-to-edge": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/react-native-is-edge-to-edge/-/react-native-is-edge-to-edge-1.2.1.tgz", + "integrity": "sha512-FLbPWl/MyYQWz+KwqOZsSyj2JmLKglHatd3xLZWskXOpRaio4LfEDEz8E/A6uD8QoTHW6Aobw1jbEwK7KMgR7Q==", + "license": "MIT", + "peerDependencies": { + "react": "*", + "react-native": "*" + } + }, + "node_modules/react-native-reanimated": { + "version": "3.17.5", + "resolved": "https://registry.npmjs.org/react-native-reanimated/-/react-native-reanimated-3.17.5.tgz", + "integrity": "sha512-SxBK7wQfJ4UoWoJqQnmIC7ZjuNgVb9rcY5Xc67upXAFKftWg0rnkknTw6vgwnjRcvYThrjzUVti66XoZdDJGtw==", + "license": "MIT", + "peer": true, + "dependencies": { + "@babel/plugin-transform-arrow-functions": "^7.0.0-0", + "@babel/plugin-transform-class-properties": "^7.0.0-0", + "@babel/plugin-transform-classes": "^7.0.0-0", + "@babel/plugin-transform-nullish-coalescing-operator": "^7.0.0-0", + "@babel/plugin-transform-optional-chaining": "^7.0.0-0", + "@babel/plugin-transform-shorthand-properties": "^7.0.0-0", + "@babel/plugin-transform-template-literals": "^7.0.0-0", + "@babel/plugin-transform-unicode-regex": "^7.0.0-0", + "@babel/preset-typescript": "^7.16.7", + "convert-source-map": "^2.0.0", + "invariant": "^2.2.4", + "react-native-is-edge-to-edge": "1.1.7" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0", + "react": "*", + "react-native": "*" + } + }, + "node_modules/react-native-reanimated/node_modules/react-native-is-edge-to-edge": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/react-native-is-edge-to-edge/-/react-native-is-edge-to-edge-1.1.7.tgz", + "integrity": "sha512-EH6i7E8epJGIcu7KpfXYXiV2JFIYITtq+rVS8uEb+92naMRBdxhTuS8Wn2Q7j9sqyO0B+Xbaaf9VdipIAmGW4w==", + "license": "MIT", + "peerDependencies": { + "react": "*", + "react-native": "*" + } + }, + "node_modules/react-native-safe-area-context": { + "version": "5.6.2", + "resolved": "https://registry.npmjs.org/react-native-safe-area-context/-/react-native-safe-area-context-5.6.2.tgz", + "integrity": "sha512-4XGqMNj5qjUTYywJqpdWZ9IG8jgkS3h06sfVjfw5yZQZfWnRFXczi0GnYyFyCc2EBps/qFmoCH8fez//WumdVg==", + "license": "MIT", + "peer": true, + "peerDependencies": { + "react": "*", + "react-native": "*" + } + }, + "node_modules/react-native-screens": { + "version": "4.11.1", + "resolved": "https://registry.npmjs.org/react-native-screens/-/react-native-screens-4.11.1.tgz", + "integrity": "sha512-F0zOzRVa3ptZfLpD0J8ROdo+y1fEPw+VBFq1MTY/iyDu08al7qFUO5hLMd+EYMda5VXGaTFCa8q7bOppUszhJw==", + "license": "MIT", + "peer": true, + "dependencies": { + "react-freeze": "^1.0.0", + "react-native-is-edge-to-edge": "^1.1.7", + "warn-once": "^0.1.0" + }, + "peerDependencies": { + "react": "*", + "react-native": "*" + } + }, + "node_modules/react-native-vector-icons": { + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/react-native-vector-icons/-/react-native-vector-icons-10.3.0.tgz", + "integrity": "sha512-IFQ0RE57819hOUdFvgK4FowM5aMXg7C7XKsuGLevqXkkIJatc3QopN0wYrb2IrzUgmdpfP+QVIbI3S6h7M0btw==", + "deprecated": "react-native-vector-icons package has moved to a new model of per-icon-family packages. See the https://github.com/oblador/react-native-vector-icons/blob/master/MIGRATION.md on how to migrate", + "license": "MIT", + "dependencies": { + "prop-types": "^15.7.2", + "yargs": "^16.1.1" + }, + "bin": { + "fa-upgrade.sh": "bin/fa-upgrade.sh", + "fa5-upgrade": "bin/fa5-upgrade.sh", + "fa6-upgrade": "bin/fa6-upgrade.sh", + "generate-icon": "bin/generate-icon.js" + } + }, + "node_modules/react-native-vector-icons/node_modules/cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "license": "ISC", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "node_modules/react-native-vector-icons/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/react-native-vector-icons/node_modules/yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "license": "MIT", + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/react-native-vector-icons/node_modules/yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "license": "ISC", + "engines": { + "node": ">=10" + } + }, "node_modules/react-native-web": { "version": "0.21.2", "resolved": "https://registry.npmjs.org/react-native-web/-/react-native-web-0.21.2.tgz", @@ -11629,6 +18336,147 @@ "react-dom": "^18.0.0 || ^19.0.0" } }, + "node_modules/react-native-web/node_modules/@react-native/normalize-colors": { + "version": "0.74.89", + "resolved": "https://registry.npmjs.org/@react-native/normalize-colors/-/normalize-colors-0.74.89.tgz", + "integrity": "sha512-qoMMXddVKVhZ8PA1AbUCk83trpd6N+1nF2A6k1i6LsQObyS92fELuk8kU/lQs6M7BsMHwqyLCpQJ1uFgNvIQXg==", + "license": "MIT" + }, + "node_modules/react-native-web/node_modules/memoize-one": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/memoize-one/-/memoize-one-6.0.0.tgz", + "integrity": "sha512-rkpe71W0N0c0Xz6QD0eJETuWAJGnJ9afsl1srmwPrI+yBCkge5EycXXbYRyvL29zZVUWQCY7InPRCv3GDXuZNw==", + "license": "MIT" + }, + "node_modules/react-native/node_modules/@react-native/codegen": { + "version": "0.81.5", + "resolved": "https://registry.npmjs.org/@react-native/codegen/-/codegen-0.81.5.tgz", + "integrity": "sha512-a2TDA03Up8lpSa9sh5VRGCQDXgCTOyDOFH+aqyinxp1HChG8uk89/G+nkJ9FPd0rqgi25eCTR16TWdS3b+fA6g==", + "license": "MIT", + "dependencies": { + "@babel/core": "^7.25.2", + "@babel/parser": "^7.25.3", + "glob": "^7.1.1", + "hermes-parser": "0.29.1", + "invariant": "^2.2.4", + "nullthrows": "^1.1.1", + "yargs": "^17.6.2" + }, + "engines": { + "node": ">= 20.19.4" + }, + "peerDependencies": { + "@babel/core": "*" + } + }, + "node_modules/react-native/node_modules/@react-native/virtualized-lists": { + "version": "0.81.5", + "resolved": "https://registry.npmjs.org/@react-native/virtualized-lists/-/virtualized-lists-0.81.5.tgz", + "integrity": "sha512-UVXgV/db25OPIvwZySeToXD/9sKKhOdkcWmmf4Jh8iBZuyfML+/5CasaZ1E7Lqg6g3uqVQq75NqIwkYmORJMPw==", + "license": "MIT", + "dependencies": { + "invariant": "^2.2.4", + "nullthrows": "^1.1.1" + }, + "engines": { + "node": ">= 20.19.4" + }, + "peerDependencies": { + "@types/react": "^19.1.0", + "react": "*", + "react-native": "*" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/react-native/node_modules/babel-plugin-syntax-hermes-parser": { + "version": "0.29.1", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-hermes-parser/-/babel-plugin-syntax-hermes-parser-0.29.1.tgz", + "integrity": "sha512-2WFYnoWGdmih1I1J5eIqxATOeycOqRwYxAQBu3cUu/rhwInwHUg7k60AFNbuGjSDL8tje5GDrAnxzRLcu2pYcA==", + "license": "MIT", + "dependencies": { + "hermes-parser": "0.29.1" + } + }, + "node_modules/react-native/node_modules/commander": { + "version": "12.1.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-12.1.0.tgz", + "integrity": "sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA==", + "license": "MIT", + "engines": { + "node": ">=18" + } + }, + "node_modules/react-native/node_modules/hermes-estree": { + "version": "0.29.1", + "resolved": "https://registry.npmjs.org/hermes-estree/-/hermes-estree-0.29.1.tgz", + "integrity": "sha512-jl+x31n4/w+wEqm0I2r4CMimukLbLQEYpisys5oCre611CI5fc9TxhqkBBCJ1edDG4Kza0f7CgNz8xVMLZQOmQ==", + "license": "MIT" + }, + "node_modules/react-native/node_modules/hermes-parser": { + "version": "0.29.1", + "resolved": "https://registry.npmjs.org/hermes-parser/-/hermes-parser-0.29.1.tgz", + "integrity": "sha512-xBHWmUtRC5e/UL0tI7Ivt2riA/YBq9+SiYFU7C1oBa/j2jYGlIF9043oak1F47ihuDIxQ5nbsKueYJDRY02UgA==", + "license": "MIT", + "dependencies": { + "hermes-estree": "0.29.1" + } + }, + "node_modules/react-native/node_modules/semver": { + "version": "7.7.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz", + "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==", + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/react-native/node_modules/ws": { + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.3.tgz", + "integrity": "sha512-jmTjYU0j60B+vHey6TfR3Z7RD61z/hmxBS3VMSGIrroOWXQEneK1zNuotOUrGyBHQj0yrpsLHPWtigEFd13ndA==", + "license": "MIT", + "dependencies": { + "async-limiter": "~1.0.0" + } + }, + "node_modules/react-reconciler": { + "version": "0.31.0", + "resolved": "https://registry.npmjs.org/react-reconciler/-/react-reconciler-0.31.0.tgz", + "integrity": "sha512-7Ob7Z+URmesIsIVRjnLoDGwBEG/tVitidU0nMsqX/eeJaLY89RISO/10ERe0MqmzuKUUB1rmY+h1itMbUHg9BQ==", + "license": "MIT", + "dependencies": { + "scheduler": "^0.25.0" + }, + "engines": { + "node": ">=0.10.0" + }, + "peerDependencies": { + "react": "^19.0.0" + } + }, + "node_modules/react-reconciler/node_modules/scheduler": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.25.0.tgz", + "integrity": "sha512-xFVuu11jh+xcO7JOAGJNOXld8/TcEHK/4CituBUeUb5hqxJLj9YuemAEuvm9gQ/+pgXYfbQuqAkiYu+u7YEsNA==", + "license": "MIT" + }, + "node_modules/react-refresh": { + "version": "0.14.2", + "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.14.2.tgz", + "integrity": "sha512-jCvmsr+1IUSMUyzOkRcvnVbX3ZYC6g9TDrDbFuFmRDq7PD4yaGbLKNQL6k2jnArV8hjYxh7hVhAZB6s9HDGpZA==", + "license": "MIT", + "peer": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/react-remove-scroll": { "version": "2.7.2", "resolved": "https://registry.npmjs.org/react-remove-scroll/-/react-remove-scroll-2.7.2.tgz", @@ -11698,17 +18546,25 @@ } } }, + "node_modules/read-cache": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz", + "integrity": "sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==", + "license": "MIT", + "dependencies": { + "pify": "^2.3.0" + } + }, "node_modules/readdirp": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-5.0.0.tgz", - "integrity": "sha512-9u/XQ1pvrQtYyMpZe7DXKv2p5CNvyVwzUB6uhLAnQwHMSgKMBR62lc7AHljaeteeHXn11XTAaLLUVZYVZyuRBQ==", + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", "license": "MIT", - "engines": { - "node": ">= 20.19.0" - }, - "funding": { - "type": "individual", - "url": "https://paulmillr.com/funding/" + "dependencies": { + "picomatch": "^2.2.1" + }, + "engines": { + "node": ">=8.10.0" } }, "node_modules/reading-time": { @@ -11807,6 +18663,30 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/regenerate": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz", + "integrity": "sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==", + "license": "MIT" + }, + "node_modules/regenerate-unicode-properties": { + "version": "10.2.2", + "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-10.2.2.tgz", + "integrity": "sha512-m03P+zhBeQd1RGnYxrGyDAPpWX/epKirLrp8e3qevZdVkKtnCrjjWczIbYc8+xd6vcTStVlqfycTx1KR4LOr0g==", + "license": "MIT", + "dependencies": { + "regenerate": "^1.4.2" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/regenerator-runtime": { + "version": "0.13.11", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz", + "integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==", + "license": "MIT" + }, "node_modules/regex": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/regex/-/regex-6.1.0.tgz", @@ -11852,6 +18732,41 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/regexpu-core": { + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-6.4.0.tgz", + "integrity": "sha512-0ghuzq67LI9bLXpOX/ISfve/Mq33a4aFRzoQYhnnok1JOFpmE/A2TBGkNVenOGEeSBCjIiWcc6MVOG5HEQv0sA==", + "license": "MIT", + "dependencies": { + "regenerate": "^1.4.2", + "regenerate-unicode-properties": "^10.2.2", + "regjsgen": "^0.8.0", + "regjsparser": "^0.13.0", + "unicode-match-property-ecmascript": "^2.0.0", + "unicode-match-property-value-ecmascript": "^2.2.1" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/regjsgen": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.8.0.tgz", + "integrity": "sha512-RvwtGe3d7LvWiDQXeQw8p5asZUmfU1G/l6WbUXeHta7Y2PEIvBTwH6E2EfmYUK8pxcxEdEmaomqyp0vZZ7C+3Q==", + "license": "MIT" + }, + "node_modules/regjsparser": { + "version": "0.13.0", + "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.13.0.tgz", + "integrity": "sha512-NZQZdC5wOE/H3UT28fVGL+ikOZcEzfMGk/c3iN9UGxzWHMa1op7274oyiUVrAG4B2EuFhus8SvkaYnhvW92p9Q==", + "license": "BSD-2-Clause", + "dependencies": { + "jsesc": "~3.1.0" + }, + "bin": { + "regjsparser": "bin/parser" + } + }, "node_modules/rehype-katex": { "version": "7.0.1", "resolved": "https://registry.npmjs.org/rehype-katex/-/rehype-katex-7.0.1.tgz", @@ -12149,6 +19064,46 @@ "url": "https://opencollective.com/unified" } }, + "node_modules/require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/require-from-string": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/requireg": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/requireg/-/requireg-0.2.2.tgz", + "integrity": "sha512-nYzyjnFcPNGR3lx9lwPPPnuQxv6JWEZd2Ci0u9opN7N5zUEPIhY/GbL3vMGOr2UXwEg9WwSyV9X9Y/kLFgPsOg==", + "dependencies": { + "nested-error-stacks": "~2.0.1", + "rc": "~1.2.7", + "resolve": "~1.7.1" + }, + "engines": { + "node": ">= 4.0.0" + } + }, + "node_modules/requireg/node_modules/resolve": { + "version": "1.7.1", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.7.1.tgz", + "integrity": "sha512-c7rwLofp8g1U+h1KNyHL/jicrKg1Ek4q+Lr33AL65uZTinUZHe30D5HlyN5V9NW0JX1D5dXQ4jqW5l7Sy/kGfw==", + "license": "MIT", + "dependencies": { + "path-parse": "^1.0.5" + } + }, "node_modules/reselect": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/reselect/-/reselect-5.1.1.tgz", @@ -12159,7 +19114,6 @@ "version": "1.22.11", "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.11.tgz", "integrity": "sha512-RfqAvLnMl313r7c9oclB1HhUEAezcpLjz95wFH4LVuhk9JF/r22qmVP9AMmOU4vMX7Q8pN8jwNg/CSpdFnMjTQ==", - "dev": true, "license": "MIT", "dependencies": { "is-core-module": "^2.16.1", @@ -12177,13 +19131,24 @@ } }, "node_modules/resolve-from": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", - "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", - "dev": true, + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", "license": "MIT", "engines": { - "node": ">=4" + "node": ">=8" + } + }, + "node_modules/resolve-global": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/resolve-global/-/resolve-global-1.0.0.tgz", + "integrity": "sha512-zFa12V4OLtT5XUX/Q4VLvTfBf+Ok0SPc1FNGM/z9ctUdiU618qwKpWnd0CHs3+RqROfyEg/DhuHbMWYqcgljEw==", + "license": "MIT", + "dependencies": { + "global-dirs": "^0.1.1" + }, + "engines": { + "node": ">=8" } }, "node_modules/resolve-pkg-maps": { @@ -12196,6 +19161,34 @@ "url": "https://github.com/privatenumber/resolve-pkg-maps?sponsor=1" } }, + "node_modules/resolve-workspace-root": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/resolve-workspace-root/-/resolve-workspace-root-2.0.1.tgz", + "integrity": "sha512-nR23LHAvaI6aHtMg6RWoaHpdR4D881Nydkzi2CixINyg9T00KgaJdJI6Vwty+Ps8WLxZHuxsS0BseWjxSA4C+w==", + "license": "MIT" + }, + "node_modules/resolve.exports": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/resolve.exports/-/resolve.exports-2.0.3.tgz", + "integrity": "sha512-OcXjMsGdhL4XnbShKpAcSqPMzQoYkYyhbEaeSko47MjRP9NfEQMhZkXL1DoFlt9LWQn4YttrdnV6X2OiyzBi+A==", + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "node_modules/restore-cursor": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz", + "integrity": "sha512-6IzJLuGi4+R14vwagDHX+JrXmPVtPpn4mffDJ1UdR7/Edm87fl6yi8mMBIVvFtJaNTUvjughmW4hwLhRG7gC1Q==", + "license": "MIT", + "dependencies": { + "onetime": "^2.0.0", + "signal-exit": "^3.0.2" + }, + "engines": { + "node": ">=4" + } + }, "node_modules/retext": { "version": "9.0.0", "resolved": "https://registry.npmjs.org/retext/-/retext-9.0.0.tgz", @@ -12267,6 +19260,22 @@ "node": ">=0.10.0" } }, + "node_modules/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "deprecated": "Rimraf versions prior to v4 are no longer supported", + "license": "ISC", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/robust-predicates": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.2.tgz", @@ -12334,6 +19343,26 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, "node_modules/safe-push-apply": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/safe-push-apply/-/safe-push-apply-1.0.0.tgz", @@ -12375,10 +19404,19 @@ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", "license": "MIT" }, + "node_modules/sax": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.4.4.tgz", + "integrity": "sha512-1n3r/tGXO6b6VXMdFT54SHzT9ytu9yr7TaELowdYpMqY/Ao7EnlQGmAQ1+RatX7Tkkdm6hONI2owqNx2aZj5Sw==", + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=11.0.0" + } + }, "node_modules/scheduler": { - "version": "0.27.0", - "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.27.0.tgz", - "integrity": "sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q==", + "version": "0.26.0", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.26.0.tgz", + "integrity": "sha512-NlHwttCI/l5gCPR3D1nNXtWABUmBwvZpEQiD4IXSbIDq8BzLIK/7Ir5gTFSGZDUu37K5cMNp0hFtzO38sC7gWA==", "license": "MIT" }, "node_modules/scroll-into-view-if-needed": { @@ -12394,12 +19432,113 @@ "version": "6.3.1", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", - "dev": true, "license": "ISC", "bin": { "semver": "bin/semver.js" } }, + "node_modules/send": { + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/send/-/send-0.19.2.tgz", + "integrity": "sha512-VMbMxbDeehAxpOtWJXlcUS5E8iXh6QmN+BkRX1GARS3wRaXEEgzCcB10gTQazO42tpNIya8xIyNx8fll1OFPrg==", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~2.0.0", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "~0.5.2", + "http-errors": "~2.0.1", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "~2.4.1", + "range-parser": "~1.2.1", + "statuses": "~2.0.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/send/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/send/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", + "license": "MIT" + }, + "node_modules/send/node_modules/encodeurl": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz", + "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/send/node_modules/on-finished": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", + "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/send/node_modules/statuses": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz", + "integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/serialize-error": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/serialize-error/-/serialize-error-2.1.0.tgz", + "integrity": "sha512-ghgmKt5o4Tly5yEG/UJp8qTd0AN7Xalw4XBtDEKP655B699qMEtra1WlXeE6WIvdEG481JvRxULKsInq/iNysw==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/serve-static": { + "version": "1.16.3", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.16.3.tgz", + "integrity": "sha512-x0RTqQel6g5SY7Lg6ZreMmsOzncHFU7nhnRWkKgWuMTu5NN0DR5oruckMqRvacAN9d5w6ARnRBXl9xhDCgfMeA==", + "license": "MIT", + "dependencies": { + "encodeurl": "~2.0.0", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "~0.19.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/serve-static/node_modules/encodeurl": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz", + "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, "node_modules/server-only": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/server-only/-/server-only-0.0.1.tgz", @@ -12461,6 +19600,27 @@ "integrity": "sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==", "license": "MIT" }, + "node_modules/setprototypeof": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==", + "license": "ISC" + }, + "node_modules/sf-symbols-typescript": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/sf-symbols-typescript/-/sf-symbols-typescript-2.2.0.tgz", + "integrity": "sha512-TPbeg0b7ylrswdGCji8FRGFAKuqbpQlLbL8SOle3j1iHSs5Ob5mhvMAxWN2UItOjgALAB5Zp3fmMfj8mbWvXKw==", + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "node_modules/shallowequal": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/shallowequal/-/shallowequal-1.1.0.tgz", + "integrity": "sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ==", + "license": "MIT" + }, "node_modules/sharp": { "version": "0.34.5", "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.34.5.tgz", @@ -12540,11 +19700,24 @@ "node": ">=8" } }, + "node_modules/shell-quote": { + "version": "1.8.3", + "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.8.3.tgz", + "integrity": "sha512-ObmnIF4hXNg1BqhnHmgbDETF8dLPCggZWBjkQfhZpbszZnYur5DUljTcCHii5LC3J5E0yeO/1LIMyH+UvHQgyw==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/shiki": { "version": "3.21.0", "resolved": "https://registry.npmjs.org/shiki/-/shiki-3.21.0.tgz", "integrity": "sha512-N65B/3bqL/TI2crrXr+4UivctrAGEjmsib5rPMMPpFp1xAx/w03v8WZ9RDDFYteXoEgY7qZ4HGgl5KBIu1153w==", "license": "MIT", + "peer": true, "dependencies": { "@shikijs/core": "3.21.0", "@shikijs/engine-javascript": "3.21.0", @@ -12556,28 +19729,6 @@ "@types/hast": "^3.0.4" } }, - "node_modules/shiki/node_modules/@shikijs/core": { - "version": "3.21.0", - "resolved": "https://registry.npmjs.org/@shikijs/core/-/core-3.21.0.tgz", - "integrity": "sha512-AXSQu/2n1UIQekY8euBJlvFYZIw0PHY63jUzGbrOma4wPxzznJXTXkri+QcHeBNaFxiiOljKxxJkVSoB3PjbyA==", - "license": "MIT", - "dependencies": { - "@shikijs/types": "3.21.0", - "@shikijs/vscode-textmate": "^10.0.2", - "@types/hast": "^3.0.4", - "hast-util-to-html": "^9.0.5" - } - }, - "node_modules/shiki/node_modules/@shikijs/types": { - "version": "3.21.0", - "resolved": "https://registry.npmjs.org/@shikijs/types/-/types-3.21.0.tgz", - "integrity": "sha512-zGrWOxZ0/+0ovPY7PvBU2gIS9tmhSUUt30jAcNV0Bq0gb2S98gwfjIs1vxlmH5zM7/4YxLamT6ChlqqAJmPPjA==", - "license": "MIT", - "dependencies": { - "@shikijs/vscode-textmate": "^10.0.2", - "@types/hast": "^3.0.4" - } - }, "node_modules/side-channel": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.0.tgz", @@ -12655,27 +19806,65 @@ } }, "node_modules/signal-exit": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", - "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", - "license": "ISC", - "engines": { - "node": ">=14" + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", + "license": "ISC" + }, + "node_modules/simple-plist": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/simple-plist/-/simple-plist-1.3.1.tgz", + "integrity": "sha512-iMSw5i0XseMnrhtIzRb7XpQEXepa9xhWxGUojHBL43SIpQuDQkh3Wpy67ZbDzZVr6EKxvwVChnVpdl8hEVLDiw==", + "license": "MIT", + "dependencies": { + "bplist-creator": "0.1.0", + "bplist-parser": "0.3.1", + "plist": "^3.0.5" + } + }, + "node_modules/simple-plist/node_modules/bplist-parser": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/bplist-parser/-/bplist-parser-0.3.1.tgz", + "integrity": "sha512-PyJxiNtA5T2PlLIeBot4lbp7rj4OadzjnMZD/G5zuBNt8ei/yCU7+wW0h2bag9vr8c+/WuRWmSxbqAl9hL1rBA==", + "license": "MIT", + "dependencies": { + "big-integer": "1.6.x" }, - "funding": { - "url": "https://github.com/sponsors/isaacs" + "engines": { + "node": ">= 5.10.0" + } + }, + "node_modules/simple-swizzle": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.4.tgz", + "integrity": "sha512-nAu1WFPQSMNr2Zn9PGSZK9AGn4t/y97lEm+MXTtUDwfP0ksAIX4nO+6ruD9Jwut4C49SB1Ws+fbXsm/yScWOHw==", + "license": "MIT", + "dependencies": { + "is-arrayish": "^0.3.1" } }, + "node_modules/sisteransi": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz", + "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==", + "license": "MIT" + }, "node_modules/slash": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-5.1.0.tgz", - "integrity": "sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", "license": "MIT", "engines": { - "node": ">=14.16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=8" + } + }, + "node_modules/slugify": { + "version": "1.6.6", + "resolved": "https://registry.npmjs.org/slugify/-/slugify-1.6.6.tgz", + "integrity": "sha512-h+z7HKHYXj6wJU+AnS/+IH8Uh9fdcX1Lrhg1/VMdf9PwoBQXFcXiAdsy2tSK0P6gKwJLXp02r90ahUCqHk9rrw==", + "license": "MIT", + "engines": { + "node": ">=8.0.0" } }, "node_modules/source-map": { @@ -12696,6 +19885,25 @@ "node": ">=0.10.0" } }, + "node_modules/source-map-support": { + "version": "0.5.21", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", + "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", + "license": "MIT", + "dependencies": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + } + }, + "node_modules/source-map-support/node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/space-separated-tokens": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/space-separated-tokens/-/space-separated-tokens-2.0.2.tgz", @@ -12720,6 +19928,15 @@ "sre": "bin/sre" } }, + "node_modules/speech-rule-engine/node_modules/@xmldom/xmldom": { + "version": "0.9.8", + "resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.9.8.tgz", + "integrity": "sha512-p96FSY54r+WJ50FIOsCOjyj/wavs8921hG5+kVMmZgKcvIKxMXHTrjNJvRgWa/zuX3B6t2lijLNFaOyuxUH+2A==", + "license": "MIT", + "engines": { + "node": ">=14.6" + } + }, "node_modules/speech-rule-engine/node_modules/commander": { "version": "13.1.0", "resolved": "https://registry.npmjs.org/commander/-/commander-13.1.0.tgz", @@ -12729,6 +19946,21 @@ "node": ">=18" } }, + "node_modules/split-on-first": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/split-on-first/-/split-on-first-1.1.0.tgz", + "integrity": "sha512-43ZssAJaMusuKWL8sKUBQXHWOpq8d6CfN/u1p4gUzfJkM05C8rxTmYrkIPTXapZpORA6LkkzcUulJ8FqA7Uudw==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/sprintf-js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", + "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", + "license": "BSD-3-Clause" + }, "node_modules/stable-hash": { "version": "0.0.5", "resolved": "https://registry.npmjs.org/stable-hash/-/stable-hash-0.0.5.tgz", @@ -12736,6 +19968,54 @@ "dev": true, "license": "MIT" }, + "node_modules/stack-utils": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.6.tgz", + "integrity": "sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==", + "license": "MIT", + "dependencies": { + "escape-string-regexp": "^2.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/stack-utils/node_modules/escape-string-regexp": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", + "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/stackframe": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/stackframe/-/stackframe-1.3.4.tgz", + "integrity": "sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==", + "license": "MIT" + }, + "node_modules/stacktrace-parser": { + "version": "0.1.11", + "resolved": "https://registry.npmjs.org/stacktrace-parser/-/stacktrace-parser-0.1.11.tgz", + "integrity": "sha512-WjlahMgHmCJpqzU8bIBy4qtsZdU9lRlcZE3Lvyej6t4tuOuv1vk57OW3MBrj6hXBFx/nNoC9MPMTcr5YA7NQbg==", + "license": "MIT", + "dependencies": { + "type-fest": "^0.7.1" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/statuses": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", + "integrity": "sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, "node_modules/stop-iteration-iterator": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/stop-iteration-iterator/-/stop-iteration-iterator-1.1.0.tgz", @@ -12750,6 +20030,56 @@ "node": ">= 0.4" } }, + "node_modules/stream-buffers": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/stream-buffers/-/stream-buffers-2.2.0.tgz", + "integrity": "sha512-uyQK/mx5QjHun80FLJTfaWE7JtwfRMKBLkMne6udYOmvH0CawotVa7TfgYHzAnpphn4+TweIx1QKMnRIbipmUg==", + "license": "Unlicense", + "engines": { + "node": ">= 0.10.0" + } + }, + "node_modules/strict-uri-encode": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz", + "integrity": "sha512-QwiXZgpRcKkhTj2Scnn++4PKtWsH0kpzZ62L2R6c/LUVYv7hVnZqcg2+sMuT6R7Jusu1vviK/MFsu6kNJfWlEQ==", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/string-width/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "license": "MIT" + }, + "node_modules/string-width/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/string.prototype.includes": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/string.prototype.includes/-/string.prototype.includes-2.0.1.tgz", @@ -12877,6 +20207,27 @@ "url": "https://github.com/sponsors/wooorm" } }, + "node_modules/strip-ansi": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", + "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", + "license": "MIT", + "dependencies": { + "ansi-regex": "^4.1.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/strip-ansi/node_modules/ansi-regex": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.1.tgz", + "integrity": "sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, "node_modules/strip-bom": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", @@ -12912,6 +20263,12 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/structured-headers": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/structured-headers/-/structured-headers-0.4.1.tgz", + "integrity": "sha512-0MP/Cxx5SzeeZ10p/bZI0S6MpgD+yxAhi1BOQ34jgnMXsCq3j1t6tQnZu+KdlL7dvJTLT3g9xN8tl10TqgFMcg==", + "license": "MIT" + }, "node_modules/style-to-js": { "version": "1.1.21", "resolved": "https://registry.npmjs.org/style-to-js/-/style-to-js-1.1.21.tgz", @@ -12965,11 +20322,41 @@ "integrity": "sha512-yQ3rwFWRfwNUY7H5vpU0wfdkNSnvnJinhF9830Swlaxl03zsOjCfmX0ugac+3LtK0lYSgwL/KXc8oYL3mG4YFQ==", "license": "MIT" }, + "node_modules/sucrase": { + "version": "3.35.1", + "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.35.1.tgz", + "integrity": "sha512-DhuTmvZWux4H1UOnWMB3sk0sbaCVOoQZjv8u1rDoTV0HTdGem9hkAZtl4JZy8P2z4Bg0nT+YMeOFyVr4zcG5Tw==", + "license": "MIT", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.2", + "commander": "^4.0.0", + "lines-and-columns": "^1.1.6", + "mz": "^2.7.0", + "pirates": "^4.0.1", + "tinyglobby": "^0.2.11", + "ts-interface-checker": "^0.1.9" + }, + "bin": { + "sucrase": "bin/sucrase", + "sucrase-node": "bin/sucrase-node" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/sucrase/node_modules/commander": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", + "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", + "license": "MIT", + "engines": { + "node": ">= 6" + } + }, "node_modules/supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, "license": "MIT", "dependencies": { "has-flag": "^4.0.0" @@ -12978,11 +20365,23 @@ "node": ">=8" } }, + "node_modules/supports-hyperlinks": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-2.3.0.tgz", + "integrity": "sha512-RpsAZlpWcDwOPQA22aCH4J0t7L8JmAvsCxfOSEwm7cQs3LshN36QaTkwd70DnBOXDWGssw2eUoc8CaRWT0XunA==", + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0", + "supports-color": "^7.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/supports-preserve-symlinks-flag": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", - "dev": true, "license": "MIT", "engines": { "node": ">= 0.4" @@ -13023,8 +20422,8 @@ "version": "4.1.18", "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.1.18.tgz", "integrity": "sha512-4+Z+0yiYyEtUVCScyfHCxOYP06L5Ne+JiHhY2IjR2KWMIWhJOYZKLSGZaP5HkZ8+bY0cxfzwDE5uOmzFXyIwxw==", - "devOptional": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/tapable": { "version": "2.3.0", @@ -13040,6 +20439,121 @@ "url": "https://opencollective.com/webpack" } }, + "node_modules/tar": { + "version": "7.5.6", + "resolved": "https://registry.npmjs.org/tar/-/tar-7.5.6.tgz", + "integrity": "sha512-xqUeu2JAIJpXyvskvU3uvQW8PAmHrtXp2KDuMJwQqW8Sqq0CaZBAQ+dKS3RBXVhU4wC5NjAdKrmh84241gO9cA==", + "license": "BlueOak-1.0.0", + "dependencies": { + "@isaacs/fs-minipass": "^4.0.0", + "chownr": "^3.0.0", + "minipass": "^7.1.2", + "minizlib": "^3.1.0", + "yallist": "^5.0.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/tar/node_modules/yallist": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-5.0.0.tgz", + "integrity": "sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw==", + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=18" + } + }, + "node_modules/temp-dir": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/temp-dir/-/temp-dir-2.0.0.tgz", + "integrity": "sha512-aoBAniQmmwtcKp/7BzsH8Cxzv8OL736p7v1ihGb5e9DJ9kTwGWHrQrVB5+lfVDzfGrdRzXch+ig7LHaY1JTOrg==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/terminal-link": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/terminal-link/-/terminal-link-2.1.1.tgz", + "integrity": "sha512-un0FmiRUQNr5PJqy9kP7c40F5BOfpGlYTrxonDChEZB7pzZxRNp/bt+ymiy9/npwXya9KH99nJ/GXFIiUkYGFQ==", + "license": "MIT", + "dependencies": { + "ansi-escapes": "^4.2.1", + "supports-hyperlinks": "^2.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/terser": { + "version": "5.46.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.46.0.tgz", + "integrity": "sha512-jTwoImyr/QbOWFFso3YoU3ik0jBBDJ6JTOQiy/J2YxVJdZCc+5u7skhNwiOR3FQIygFqVUPHl7qbbxtjW2K3Qg==", + "license": "BSD-2-Clause", + "dependencies": { + "@jridgewell/source-map": "^0.3.3", + "acorn": "^8.15.0", + "commander": "^2.20.0", + "source-map-support": "~0.5.20" + }, + "bin": { + "terser": "bin/terser" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/terser/node_modules/commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "license": "MIT" + }, + "node_modules/test-exclude": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz", + "integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==", + "license": "ISC", + "dependencies": { + "@istanbuljs/schema": "^0.1.2", + "glob": "^7.1.4", + "minimatch": "^3.0.4" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/thenify": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz", + "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==", + "license": "MIT", + "dependencies": { + "any-promise": "^1.0.0" + } + }, + "node_modules/thenify-all": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz", + "integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==", + "license": "MIT", + "dependencies": { + "thenify": ">= 3.1.0 < 4" + }, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/throat": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/throat/-/throat-5.0.0.tgz", + "integrity": "sha512-fcwX4mndzpLQKBS1DVYhGAcYaYt7vsHNIvQV+WXMvnow5cgjPphq5CaayLaGsjRdSCKZFNGt7/GYAuXaNOiYCA==", + "license": "MIT" + }, "node_modules/tinyexec": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-1.0.2.tgz", @@ -13087,6 +20601,7 @@ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz", "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", "license": "MIT", + "peer": true, "engines": { "node": ">=12" }, @@ -13120,6 +20635,12 @@ "url": "https://github.com/chalk/chalk?sponsor=1" } }, + "node_modules/tmpl": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz", + "integrity": "sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==", + "license": "BSD-3-Clause" + }, "node_modules/to-regex-range": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", @@ -13132,6 +20653,15 @@ "node": ">=8.0" } }, + "node_modules/toidentifier": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", + "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, "node_modules/tr46": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", @@ -13180,47 +20710,155 @@ "node": ">=6.10" } }, + "node_modules/ts-interface-checker": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz", + "integrity": "sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==", + "license": "Apache-2.0" + }, "node_modules/ts-morph": { "version": "27.0.2", "resolved": "https://registry.npmjs.org/ts-morph/-/ts-morph-27.0.2.tgz", "integrity": "sha512-fhUhgeljcrdZ+9DZND1De1029PrE+cMkIP7ooqkLRTrRLTqcki2AstsyJm0vRNbTbVCNJ0idGlbBrfqc7/nA8w==", "license": "MIT", - "dependencies": { - "@ts-morph/common": "~0.28.1", - "code-block-writer": "^13.0.3" - } + "dependencies": { + "@ts-morph/common": "~0.28.1", + "code-block-writer": "^13.0.3" + } + }, + "node_modules/tsconfig-paths": { + "version": "3.15.0", + "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.15.0.tgz", + "integrity": "sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/json5": "^0.0.29", + "json5": "^1.0.2", + "minimist": "^1.2.6", + "strip-bom": "^3.0.0" + } + }, + "node_modules/tsconfig-paths/node_modules/json5": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz", + "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==", + "dev": true, + "license": "MIT", + "dependencies": { + "minimist": "^1.2.0" + }, + "bin": { + "json5": "lib/cli.js" + } + }, + "node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "license": "0BSD" + }, + "node_modules/turbo": { + "version": "2.7.5", + "resolved": "https://registry.npmjs.org/turbo/-/turbo-2.7.5.tgz", + "integrity": "sha512-7Imdmg37joOloTnj+DPrab9hIaQcDdJ5RwSzcauo/wMOSAgO+A/I/8b3hsGGs6PWQz70m/jkPgdqWsfNKtwwDQ==", + "dev": true, + "license": "MIT", + "bin": { + "turbo": "bin/turbo" + }, + "optionalDependencies": { + "turbo-darwin-64": "2.7.5", + "turbo-darwin-arm64": "2.7.5", + "turbo-linux-64": "2.7.5", + "turbo-linux-arm64": "2.7.5", + "turbo-windows-64": "2.7.5", + "turbo-windows-arm64": "2.7.5" + } + }, + "node_modules/turbo-darwin-64": { + "version": "2.7.5", + "resolved": "https://registry.npmjs.org/turbo-darwin-64/-/turbo-darwin-64-2.7.5.tgz", + "integrity": "sha512-nN3wfLLj4OES/7awYyyM7fkU8U8sAFxsXau2bYJwAWi6T09jd87DgHD8N31zXaJ7LcpyppHWPRI2Ov9MuZEwnQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/turbo-darwin-arm64": { + "version": "2.7.5", + "resolved": "https://registry.npmjs.org/turbo-darwin-arm64/-/turbo-darwin-arm64-2.7.5.tgz", + "integrity": "sha512-wCoDHMiTf3FgLAbZHDDx/unNNonSGhsF5AbbYODbxnpYyoKDpEYacUEPjZD895vDhNvYCH0Nnk24YsP4n/cD6g==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/turbo-linux-64": { + "version": "2.7.5", + "resolved": "https://registry.npmjs.org/turbo-linux-64/-/turbo-linux-64-2.7.5.tgz", + "integrity": "sha512-KKPvhOmJMmzWj/yjeO4LywkQ85vOJyhru7AZk/+c4B6OUh/odQ++SiIJBSbTG2lm1CuV5gV5vXZnf/2AMlu3Zg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] }, - "node_modules/tsconfig-paths": { - "version": "3.15.0", - "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.15.0.tgz", - "integrity": "sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==", + "node_modules/turbo-linux-arm64": { + "version": "2.7.5", + "resolved": "https://registry.npmjs.org/turbo-linux-arm64/-/turbo-linux-arm64-2.7.5.tgz", + "integrity": "sha512-8PIva4L6BQhiPikUTds9lSFSHXVDAsEvV6QUlgwPsXrtXVQMVi6Sv9p+IxtlWQFvGkdYJUgX9GnK2rC030Xcmw==", + "cpu": [ + "arm64" + ], "dev": true, "license": "MIT", - "dependencies": { - "@types/json5": "^0.0.29", - "json5": "^1.0.2", - "minimist": "^1.2.6", - "strip-bom": "^3.0.0" - } + "optional": true, + "os": [ + "linux" + ] }, - "node_modules/tsconfig-paths/node_modules/json5": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz", - "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==", + "node_modules/turbo-windows-64": { + "version": "2.7.5", + "resolved": "https://registry.npmjs.org/turbo-windows-64/-/turbo-windows-64-2.7.5.tgz", + "integrity": "sha512-rupskv/mkIUgQXzX/wUiK00mKMorQcK8yzhGFha/D5lm05FEnLx8dsip6rWzMcVpvh+4GUMA56PgtnOgpel2AA==", + "cpu": [ + "x64" + ], "dev": true, "license": "MIT", - "dependencies": { - "minimist": "^1.2.0" - }, - "bin": { - "json5": "lib/cli.js" - } + "optional": true, + "os": [ + "win32" + ] }, - "node_modules/tslib": { - "version": "2.8.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", - "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", - "license": "0BSD" + "node_modules/turbo-windows-arm64": { + "version": "2.7.5", + "resolved": "https://registry.npmjs.org/turbo-windows-arm64/-/turbo-windows-arm64-2.7.5.tgz", + "integrity": "sha512-G377Gxn6P42RnCzfMyDvsqQV7j69kVHKlhz9J4RhtJOB5+DyY4yYh/w0oTIxZQ4JRMmhjwLu3w9zncMoQ6nNDw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] }, "node_modules/twoslash": { "version": "0.3.6", @@ -13254,6 +20892,24 @@ "node": ">= 0.8.0" } }, + "node_modules/type-detect": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", + "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/type-fest": { + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.7.1.tgz", + "integrity": "sha512-Ne2YiiGN8bmrmJJEuTWTLJR32nh/JdL1+PSicowtNb0WFpn59GK8/lfD61bVtzguz7b3PBt74nxpv/Pw5po5Rg==", + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=8" + } + }, "node_modules/typed-array-buffer": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.3.tgz", @@ -13337,6 +20993,7 @@ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz", "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", "license": "Apache-2.0", + "peer": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -13346,16 +21003,16 @@ } }, "node_modules/typescript-eslint": { - "version": "8.51.0", - "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.51.0.tgz", - "integrity": "sha512-jh8ZuM5oEh2PSdyQG9YAEM1TCGuWenLSuSUhf/irbVUNW9O5FhbFVONviN2TgMTBnUmyHv7E56rYnfLZK6TkiA==", + "version": "8.53.1", + "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.53.1.tgz", + "integrity": "sha512-gB+EVQfP5RDElh9ittfXlhZJdjSU4jUSTyE2+ia8CYyNvet4ElfaLlAIqDvQV9JPknKx0jQH1racTYe/4LaLSg==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/eslint-plugin": "8.51.0", - "@typescript-eslint/parser": "8.51.0", - "@typescript-eslint/typescript-estree": "8.51.0", - "@typescript-eslint/utils": "8.51.0" + "@typescript-eslint/eslint-plugin": "8.53.1", + "@typescript-eslint/parser": "8.53.1", + "@typescript-eslint/typescript-estree": "8.53.1", + "@typescript-eslint/utils": "8.53.1" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -13396,9 +21053,9 @@ } }, "node_modules/ufo": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/ufo/-/ufo-1.6.1.tgz", - "integrity": "sha512-9a4/uxlTWJ4+a5i0ooc1rU7C7YOw3wT+UGqdeNNHWnOF9qcMBgLRS+4IYUqbczewFx4mLEig6gawh7X6mFlEkA==", + "version": "1.6.3", + "resolved": "https://registry.npmjs.org/ufo/-/ufo-1.6.3.tgz", + "integrity": "sha512-yDJTmhydvl5lJzBmy/hyOAA0d+aqCBuwl818haVdYCRrWV84o7YyeVm4QlVHStqNrrJSTb6jKuFAVqAFsr+K3Q==", "license": "MIT" }, "node_modules/unbox-primitive": { @@ -13420,13 +21077,61 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/undici": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/undici/-/undici-6.23.0.tgz", + "integrity": "sha512-VfQPToRA5FZs/qJxLIinmU59u0r7LXqoJkCzinq3ckNJp3vKEh7jTWN589YQ5+aoAC/TGRLyJLCPKcLQbM8r9g==", + "license": "MIT", + "engines": { + "node": ">=18.17" + } + }, "node_modules/undici-types": { "version": "6.21.0", "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz", "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==", - "dev": true, "license": "MIT" }, + "node_modules/unicode-canonical-property-names-ecmascript": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.1.tgz", + "integrity": "sha512-dA8WbNeb2a6oQzAQ55YlT5vQAWGV9WXOsi3SskE3bcCdM0P4SDd+24zS/OCacdRq5BkdsRj9q3Pg6YyQoxIGqg==", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/unicode-match-property-ecmascript": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz", + "integrity": "sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q==", + "license": "MIT", + "dependencies": { + "unicode-canonical-property-names-ecmascript": "^2.0.0", + "unicode-property-aliases-ecmascript": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/unicode-match-property-value-ecmascript": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.2.1.tgz", + "integrity": "sha512-JQ84qTuMg4nVkx8ga4A16a1epI9H6uTXAknqxkGF/aFfRLw1xC/Bp24HNLaZhHSkWd3+84t8iXnp1J0kYcZHhg==", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/unicode-property-aliases-ecmascript": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.2.0.tgz", + "integrity": "sha512-hpbDzxUY9BFwX+UeBnxv3Sh1q7HFxj48DTmXchNgRa46lO8uj3/1iEn3MiNUYTg1g9ctIqXCCERn8gYZhHC5lQ==", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, "node_modules/unified": { "version": "11.0.5", "resolved": "https://registry.npmjs.org/unified/-/unified-11.0.5.tgz", @@ -13446,6 +21151,18 @@ "url": "https://opencollective.com/unified" } }, + "node_modules/unique-string": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unique-string/-/unique-string-2.0.0.tgz", + "integrity": "sha512-uNaeirEPvpZWSgzwsPGtU2zVSTrn/8L5q/IexZmH0eH6SA73CmAA5U4GwORTxQAZs95TAXLNqeLoPPNO5gZfWg==", + "license": "MIT", + "dependencies": { + "crypto-random-string": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/unist-util-find-after": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/unist-util-find-after/-/unist-util-find-after-5.0.0.tgz", @@ -13597,6 +21314,15 @@ "url": "https://opencollective.com/unified" } }, + "node_modules/unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, "node_modules/unrs-resolver": { "version": "1.11.1", "resolved": "https://registry.npmjs.org/unrs-resolver/-/unrs-resolver-1.11.1.tgz", @@ -13636,7 +21362,6 @@ "version": "1.2.3", "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.2.3.tgz", "integrity": "sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==", - "dev": true, "funding": [ { "type": "opencollective", @@ -13694,6 +21419,15 @@ } } }, + "node_modules/use-latest-callback": { + "version": "0.2.6", + "resolved": "https://registry.npmjs.org/use-latest-callback/-/use-latest-callback-0.2.6.tgz", + "integrity": "sha512-FvRG9i1HSo0wagmX63Vrm8SnlUU3LMM3WyZkQ76RnslpBrX694AdG4A0zQBx2B3ZifFA0yv/BaEHGBnEax5rZg==", + "license": "MIT", + "peerDependencies": { + "react": ">=16.8" + } + }, "node_modules/use-sidecar": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/use-sidecar/-/use-sidecar-1.1.3.tgz", @@ -13731,6 +21465,15 @@ "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", "license": "MIT" }, + "node_modules/utils-merge": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", + "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==", + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, "node_modules/uuid": { "version": "11.1.0", "resolved": "https://registry.npmjs.org/uuid/-/uuid-11.1.0.tgz", @@ -13744,6 +21487,24 @@ "uuid": "dist/esm/bin/uuid" } }, + "node_modules/validate-npm-package-name": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-5.0.1.tgz", + "integrity": "sha512-OljLrQ9SQdOUqTaQxqL5dEfZWrXExyyWsozYlAWFawPVNuD83igl7uJD2RTkNMbniIYgt8l81eCJGIdQF7avLQ==", + "license": "ISC", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/vary": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", + "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, "node_modules/vfile": { "version": "6.0.3", "resolved": "https://registry.npmjs.org/vfile/-/vfile-6.0.3.tgz", @@ -13786,6 +21547,12 @@ "url": "https://opencollective.com/unified" } }, + "node_modules/vlq": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/vlq/-/vlq-1.0.1.tgz", + "integrity": "sha512-gQpnTgkubC6hQgdIcRdYGDSDc+SaujOdyesZQMv6JlfQee/9Mp0Qhnys6WxDWvQnL5WZdT7o2Ul187aSt0Rq+w==", + "license": "MIT" + }, "node_modules/vscode-jsonrpc": { "version": "8.2.0", "resolved": "https://registry.npmjs.org/vscode-jsonrpc/-/vscode-jsonrpc-8.2.0.tgz", @@ -13835,6 +21602,30 @@ "integrity": "sha512-AyFQ0EVmsOZOlAnxoFOGOq1SQDWAB7C6aqMGS23svWAllfOaxbuFvcT8D1i8z3Gyn8fraVeZNNmN6e9bxxXkKw==", "license": "MIT" }, + "node_modules/walker": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/walker/-/walker-1.0.8.tgz", + "integrity": "sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==", + "license": "Apache-2.0", + "dependencies": { + "makeerror": "1.0.12" + } + }, + "node_modules/warn-once": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/warn-once/-/warn-once-0.1.1.tgz", + "integrity": "sha512-VkQZJbO8zVImzYFteBXvBOZEl1qL175WH8VmZcxF2fZAoudNhNDvHi+doCaAEdU2l2vtcIwa2zn0QK5+I1HQ3Q==", + "license": "MIT" + }, + "node_modules/wcwidth": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", + "integrity": "sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==", + "license": "MIT", + "dependencies": { + "defaults": "^1.0.3" + } + }, "node_modules/web-namespaces": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/web-namespaces/-/web-namespaces-2.0.1.tgz", @@ -13851,6 +21642,12 @@ "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", "license": "BSD-2-Clause" }, + "node_modules/whatwg-fetch": { + "version": "3.6.20", + "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.6.20.tgz", + "integrity": "sha512-EqhiFU6daOA8kpjOWTL0olhVOF3i7OrFzSYiGsEMB8GcXS+RrzauAERX65xMeNWVqxA6HXH2m69Z9LaKKdisfg==", + "license": "MIT" + }, "node_modules/whatwg-url": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", @@ -13861,6 +21658,29 @@ "webidl-conversions": "^3.0.0" } }, + "node_modules/whatwg-url-without-unicode": { + "version": "8.0.0-3", + "resolved": "https://registry.npmjs.org/whatwg-url-without-unicode/-/whatwg-url-without-unicode-8.0.0-3.tgz", + "integrity": "sha512-HoKuzZrUlgpz35YO27XgD28uh/WJH4B0+3ttFqRo//lmq+9T/mIOJ6kqmINI9HpUpz1imRC/nR/lxKpJiv0uig==", + "license": "MIT", + "dependencies": { + "buffer": "^5.4.3", + "punycode": "^2.1.1", + "webidl-conversions": "^5.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/whatwg-url-without-unicode/node_modules/webidl-conversions": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-5.0.0.tgz", + "integrity": "sha512-VlZwKPCkYKxQgeSbH5EyngOmRp7Ww7I9rQLERETtf5ofd9pGeswWiOtogpEO850jziPRarreGxn5QIiTqpb2wA==", + "license": "BSD-2-Clause", + "engines": { + "node": ">=8" + } + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -13944,9 +21764,9 @@ } }, "node_modules/which-typed-array": { - "version": "1.1.19", - "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.19.tgz", - "integrity": "sha512-rEvr90Bck4WZt9HHFC4DJMsjvu7x+r6bImz0/BrbWb7A2djJ8hnZMrWnHo9F8ssv0OMErasDhftrfROTyqSDrw==", + "version": "1.1.20", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.20.tgz", + "integrity": "sha512-LYfpUkmqwl0h9A2HL09Mms427Q1RZWuOHsukfVcKRq9q95iQxdw0ix1JQrqbcDR9PH1QDwf5Qo8OZb5lksZ8Xg==", "dev": true, "license": "MIT", "dependencies": { @@ -13971,6 +21791,12 @@ "integrity": "sha512-Gd9+TUn5nXdwj/hFsPVx5cuHHiF5Bwuc30jZ4+ronF1qHK5O7HD0sgmXWSEgwKquT3ClLoKPVbO6qGwVwLzvAw==", "license": "MIT" }, + "node_modules/wonka": { + "version": "6.3.5", + "resolved": "https://registry.npmjs.org/wonka/-/wonka-6.3.5.tgz", + "integrity": "sha512-SSil+ecw6B4/Dm7Pf2sAshKQ5hWFvfyGlfPbEd6A14dOH6VDjrmbY86u6nZvy9omGwwIPFR8V41+of1EezgoUw==", + "license": "MIT" + }, "node_modules/word-wrap": { "version": "1.2.5", "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", @@ -13981,11 +21807,141 @@ "node": ">=0.10.0" } }, + "node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", + "license": "ISC" + }, + "node_modules/write-file-atomic": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-4.0.2.tgz", + "integrity": "sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==", + "license": "ISC", + "dependencies": { + "imurmurhash": "^0.1.4", + "signal-exit": "^3.0.7" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/ws": { + "version": "8.19.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.19.0.tgz", + "integrity": "sha512-blAT2mjOEIi0ZzruJfIhb3nps74PRWTCz1IjglWEEpQl5XS/UNama6u2/rjFkDDouqr4L67ry+1aGIALViWjDg==", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": ">=5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "node_modules/xcode": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/xcode/-/xcode-3.0.1.tgz", + "integrity": "sha512-kCz5k7J7XbJtjABOvkc5lJmkiDh8VhjVCGNiqdKCscmVpdVUpEAyXv1xmCLkQJ5dsHqx3IPO4XW+NTDhU/fatA==", + "license": "Apache-2.0", + "dependencies": { + "simple-plist": "^1.1.0", + "uuid": "^7.0.3" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/xcode/node_modules/uuid": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-7.0.3.tgz", + "integrity": "sha512-DPSke0pXhTZgoF/d+WSt2QaKMCFSfx7QegxEWT+JOuHF5aWrKEn0G+ztjuJg/gG8/ItK+rbPCD/yNv8yyih6Cg==", + "license": "MIT", + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "node_modules/xml2js": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.6.0.tgz", + "integrity": "sha512-eLTh0kA8uHceqesPqSE+VvO1CDDJWMwlQfB6LuN6T8w6MaDJ8Txm8P7s5cHD0miF0V+GGTZrDQfxPZQVsur33w==", + "license": "MIT", + "dependencies": { + "sax": ">=0.6.0", + "xmlbuilder": "~11.0.0" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/xml2js/node_modules/xmlbuilder": { + "version": "11.0.1", + "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz", + "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==", + "license": "MIT", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/xmlbuilder": { + "version": "15.1.1", + "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-15.1.1.tgz", + "integrity": "sha512-yMqGBqtXyeN1e3TGYvgNgDVZ3j84W4cwkOXQswghol6APgZWaff9lnbvN7MHYJOiXsvGPXtjTYJEiC9J2wv9Eg==", + "license": "MIT", + "engines": { + "node": ">=8.0" + } + }, + "node_modules/y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "license": "ISC", + "engines": { + "node": ">=10" + } + }, "node_modules/yallist": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", - "dev": true, "license": "ISC" }, "node_modules/yaml": { @@ -14003,11 +21959,37 @@ "url": "https://github.com/sponsors/eemeli" } }, + "node_modules/yargs": { + "version": "17.7.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", + "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", + "license": "MIT", + "dependencies": { + "cliui": "^8.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.1.1" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/yargs-parser": { + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "license": "ISC", + "engines": { + "node": ">=12" + } + }, "node_modules/yocto-queue": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", - "dev": true, "license": "MIT", "engines": { "node": ">=10" @@ -14021,6 +22003,7 @@ "resolved": "https://registry.npmjs.org/zod/-/zod-4.3.5.tgz", "integrity": "sha512-k7Nwx6vuWx1IJ9Bjuf4Zt1PEllcwe7cls3VNzm4CQ1/hgtFUK2bRNG3rvnpPUhFjmqJKAKtjV576KnUkHocg/g==", "license": "MIT", + "peer": true, "funding": { "url": "https://github.com/sponsors/colinhacks" } @@ -14039,9 +22022,9 @@ } }, "node_modules/zustand": { - "version": "5.0.9", - "resolved": "https://registry.npmjs.org/zustand/-/zustand-5.0.9.tgz", - "integrity": "sha512-ALBtUj0AfjJt3uNRQoL1tL2tMvj6Gp/6e39dnfT6uzpelGru8v1tPOGBzayOWbPJvujM8JojDk3E1LxeFisBNg==", + "version": "5.0.10", + "resolved": "https://registry.npmjs.org/zustand/-/zustand-5.0.10.tgz", + "integrity": "sha512-U1AiltS1O9hSy3rul+Ub82ut2fqIAefiSuwECWt6jlMVUGejvf+5omLcRBSzqbRagSM3hQZbtzdeRc6QVScXTg==", "license": "MIT", "engines": { "node": ">=12.20.0" diff --git a/package.json b/package.json new file mode 100644 index 0000000..9c4e1db --- /dev/null +++ b/package.json @@ -0,0 +1,15 @@ +{ + "name": "sol-ui", + "private": true, + "workspaces": ["apps/*", "packages/*"], + "scripts": { + "build": "turbo run build", + "dev": "turbo run dev", + "lint": "turbo run lint", + "start": "turbo run start" + }, + "devDependencies": { + "turbo": "^2" + }, + "packageManager": "npm@10.8.2" +} diff --git a/turbo.json b/turbo.json new file mode 100644 index 0000000..93e0278 --- /dev/null +++ b/turbo.json @@ -0,0 +1,23 @@ +{ + "$schema": "https://turborepo.dev/schema.json", + "tasks": { + "build": { + "dependsOn": ["^build"], + "outputs": [".next/**", "!.next/cache/**", "dist/**"] + }, + "dev": { + "cache": false, + "persistent": true + }, + "transit": { + "dependsOn": ["^transit"] + }, + "lint": { + "dependsOn": ["transit"] + }, + "start": { + "dependsOn": ["build"], + "persistent": true + } + } +}